diff --git a/build/Gruntfile.js b/build/Gruntfile.js index f4752806eb..5e62f4c324 100644 --- a/build/Gruntfile.js +++ b/build/Gruntfile.js @@ -441,6 +441,12 @@ module.exports = function(grunt) { cwd: '../slide/themes', src: '**/**', dest: path.join(slide, 'themes') + }, + { + expand: true, + cwd: '../pdf/', + src: 'src/engine/*', + dest: path.join(deploy, 'pdf') } ] } diff --git a/common/Drawings/Externals.js b/common/Drawings/Externals.js index d94f6f97cd..f018c05fe8 100644 --- a/common/Drawings/Externals.js +++ b/common/Drawings/Externals.js @@ -492,6 +492,9 @@ function CFontFileLoader(id) var _count_decode = Math.min(32, _stream.size); for (var i = 0; i < _count_decode; ++i) _data[i] ^= guidOdttf[i % 16]; + + if (null != oThis.callback) + oThis.callback(); }; xhr.onerror = function() { @@ -594,6 +597,12 @@ CFontFileLoader.prototype.LoadFontAsync = function(basePath, _callback, isEmbed) return false; }; +CFontFileLoader.prototype["LoadFontAsync"] = CFontFileLoader.prototype.LoadFontAsync; +CFontFileLoader.prototype["GetID"] = function() { return this.Id; }; +CFontFileLoader.prototype["GetStatus"] = function() { return this.Status; }; +CFontFileLoader.prototype["GetStreamIndex"] = function() { return this.stream_index; }; + + var FONT_TYPE_ADDITIONAL = 0; var FONT_TYPE_STANDART = 1; var FONT_TYPE_EMBEDDED = 2; diff --git a/common/apiBase.js b/common/apiBase.js index d7b0ab5628..f750c585d6 100644 --- a/common/apiBase.js +++ b/common/apiBase.js @@ -203,6 +203,8 @@ this.Shortcuts = new AscCommon.CShortcuts(); this.initDefaultShortcuts(); + this.isUseNativeViewer = true; + return this; } @@ -687,6 +689,21 @@ "lcid" : locale, "nobase64" : true }; + + if (this.isUseNativeViewer) + { + switch (this.documentFormat) + { + case "pdf": + case "xps": + case "djvu": + rData["convertToOrigin"] = true; + break; + default: + break; + } + } + if (versionHistory) { rData["serverVersion"] = versionHistory.serverVersion; @@ -819,6 +836,10 @@ if (window["AscDesktopEditor"] && window["AscDesktopEditor"]["onDocumentContentReady"]) window["AscDesktopEditor"]["onDocumentContentReady"](); + + // теперь на старте нельзя удалить бинарник для подбора - он может пригодиться в nativeViewer + if (!this.disableRemoveFonts) + delete window["g_fonts_selection_bin"]; }; // Save baseEditorsApi.prototype.processSavedFile = function(url, downloadType, filetype) @@ -1298,15 +1319,18 @@ case "ok": var urls = input["data"]; AscCommon.g_oDocumentUrls.init(urls); - if (null != urls['Editor.bin']) { + var documentUrl = urls['Editor.bin']; + if (t.isUseNativeViewer && !documentUrl) + documentUrl = urls['origin.pdf'] || urls['origin.xps'] || urls['origin.djvu']; + if (null != documentUrl) { if ('ok' === input["status"] || t.getViewMode()) { - t._onOpenCommand(urls['Editor.bin']); + t._onOpenCommand(documentUrl); } else { t.sendEvent("asc_onDocumentUpdateVersion", function () { if (t.isCoAuthoringEnable) { t.asc_coAuthoringDisconnect(); } - t._onOpenCommand(urls['Editor.bin']); + t._onOpenCommand(documentUrl); }) } } else { diff --git a/common/libfont/map.js b/common/libfont/map.js index 6319f509ed..7f02c400e3 100644 --- a/common/libfont/map.js +++ b/common/libfont/map.js @@ -1691,7 +1691,7 @@ CFontSelectList.prototype = _fs.m_wsFontName = "ASCW3"; this.List.push(_fs); - delete window["g_fonts_selection_bin"]; + //delete window["g_fonts_selection_bin"]; }, isEnglishChar : function(_code) @@ -3204,4 +3204,21 @@ var g_fontApplication = new CApplicationFonts(); window['AscFonts'].LanguagesFontSelectTypes = LanguagesFontSelectTypes; window['AscFonts'].g_fontApplication = g_fontApplication; + + window['AscFonts']['pickFont'] = function(name, style) { + var info = AscFonts.g_fontApplication.GetFontInfo(name, style); + var fontId = info.GetFontID(AscCommon.g_font_loader, style); + return fontId.file; + }; + window['AscFonts']['getFontStreams'] = function() { + return AscFonts.g_fonts_streams; + }; + window['AscFonts']['getFontStream'] = function(index) { + var s = AscFonts.g_fonts_streams[index]; + return { + "data" : s.data, + "size" : s.size + }; + }; + })(window); diff --git a/configs/word.json b/configs/word.json index 88c23ae98d..2269462621 100644 --- a/configs/word.json +++ b/configs/word.json @@ -202,6 +202,9 @@ "word/Drawing/Rulers.js", "word/Drawing/HtmlPage.js", "word/Drawing/documentrenderer.js", + "pdf/src/thumbnails.js", + "pdf/src/viewer.js", + "pdf/src/file.js", "word/document/empty.js", "word/Math/mathTypes.js", "word/Math/mathText.js", diff --git a/pdf/src/engine/drawingfile.js b/pdf/src/engine/drawingfile.js index 37f18dc788..acc93d6f7a 100644 --- a/pdf/src/engine/drawingfile.js +++ b/pdf/src/engine/drawingfile.js @@ -73,13 +73,13 @@ return getBinaryPromise2(); } } - - function getMemoryPathIE(name) - { - if (self["AscViewer"] && self["AscViewer"]["baseUrl"]) - return self["AscViewer"]["baseUrl"] + name; - return name; - } + + function getMemoryPathIE(name) + { + if (self["AscViewer"] && self["AscViewer"]["baseUrl"]) + return self["AscViewer"]["baseUrl"] + name; + return name; + } //polyfill @@ -204,8 +204,12 @@ })(); - var Module=typeof Module!=="undefined"?Module:{};var moduleOverrides={};var key;for(key in Module){if(Module.hasOwnProperty(key)){moduleOverrides[key]=Module[key]}}var arguments_=[];var thisProgram="./this.program";var quit_=function(status,toThrow){throw toThrow};var ENVIRONMENT_IS_WEB=true;var ENVIRONMENT_IS_WORKER=false;var scriptDirectory="";function locateFile(path){if(Module["locateFile"]){return Module["locateFile"](path,scriptDirectory)}return scriptDirectory+path}var read_,readAsync,readBinary,setWindowTitle;if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){if(ENVIRONMENT_IS_WORKER){scriptDirectory=self.location.href}else if(typeof document!=="undefined"&&document.currentScript){scriptDirectory=document.currentScript.src}if(scriptDirectory.indexOf("blob:")!==0){scriptDirectory=scriptDirectory.substr(0,scriptDirectory.replace(/[?#].*/,"").lastIndexOf("/")+1)}else{scriptDirectory=""}{read_=function(url){var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return xhr.responseText};if(ENVIRONMENT_IS_WORKER){readBinary=function(url){var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.responseType="arraybuffer";xhr.send(null);return new Uint8Array(xhr.response)}}readAsync=function(url,onload,onerror){var xhr=new XMLHttpRequest;xhr.open("GET",url,true);xhr.responseType="arraybuffer";xhr.onload=function(){if(xhr.status==200||xhr.status==0&&xhr.response){onload(xhr.response);return}onerror()};xhr.onerror=onerror;xhr.send(null)}}setWindowTitle=function(title){document.title=title}}else{}var out=Module["print"]||console.log.bind(console);var err=Module["printErr"]||console.warn.bind(console);for(key in moduleOverrides){if(moduleOverrides.hasOwnProperty(key)){Module[key]=moduleOverrides[key]}}moduleOverrides=null;if(Module["arguments"])arguments_=Module["arguments"];if(Module["thisProgram"])thisProgram=Module["thisProgram"];if(Module["quit"])quit_=Module["quit"];var tempRet0=0;var setTempRet0=function(value){tempRet0=value};var getTempRet0=function(){return tempRet0};var wasmBinary;if(Module["wasmBinary"])wasmBinary=Module["wasmBinary"];var noExitRuntime=Module["noExitRuntime"]||true;if(typeof WebAssembly!=="object"){abort("no native wasm support detected")}var wasmMemory;var ABORT=false;var EXITSTATUS;var UTF8Decoder=typeof TextDecoder!=="undefined"?new TextDecoder("utf8"):undefined;function UTF8ArrayToString(heap,idx,maxBytesToRead){var endIdx=idx+maxBytesToRead;var endPtr=idx;while(heap[endPtr]&&!(endPtr>=endIdx))++endPtr;if(endPtr-idx>16&&heap.subarray&&UTF8Decoder){return UTF8Decoder.decode(heap.subarray(idx,endPtr))}else{var str="";while(idx>10,56320|ch&1023)}}}return str}function UTF8ToString(ptr,maxBytesToRead){return ptr?UTF8ArrayToString(HEAPU8,ptr,maxBytesToRead):""}function stringToUTF8Array(str,heap,outIdx,maxBytesToWrite){if(!(maxBytesToWrite>0))return 0;var startIdx=outIdx;var endIdx=outIdx+maxBytesToWrite-1;for(var i=0;i=55296&&u<=57343){var u1=str.charCodeAt(++i);u=65536+((u&1023)<<10)|u1&1023}if(u<=127){if(outIdx>=endIdx)break;heap[outIdx++]=u}else if(u<=2047){if(outIdx+1>=endIdx)break;heap[outIdx++]=192|u>>6;heap[outIdx++]=128|u&63}else if(u<=65535){if(outIdx+2>=endIdx)break;heap[outIdx++]=224|u>>12;heap[outIdx++]=128|u>>6&63;heap[outIdx++]=128|u&63}else{if(outIdx+3>=endIdx)break;heap[outIdx++]=240|u>>18;heap[outIdx++]=128|u>>12&63;heap[outIdx++]=128|u>>6&63;heap[outIdx++]=128|u&63}}heap[outIdx]=0;return outIdx-startIdx}function lengthBytesUTF8(str){var len=0;for(var i=0;i=55296&&u<=57343)u=65536+((u&1023)<<10)|str.charCodeAt(++i)&1023;if(u<=127)++len;else if(u<=2047)len+=2;else if(u<=65535)len+=3;else len+=4}return len}function allocateUTF8(str){var size=lengthBytesUTF8(str)+1;var ret=_malloc(size);if(ret)stringToUTF8Array(str,HEAP8,ret,size);return ret}function writeArrayToMemory(array,buffer){HEAP8.set(array,buffer)}function writeAsciiToMemory(str,buffer,dontAddNull){for(var i=0;i>0]=str.charCodeAt(i)}if(!dontAddNull)HEAP8[buffer>>0]=0}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 updateGlobalBufferAndViews(buf){buffer=buf;Module["HEAP8"]=HEAP8=new Int8Array(buf);Module["HEAP16"]=HEAP16=new Int16Array(buf);Module["HEAP32"]=HEAP32=new Int32Array(buf);Module["HEAPU8"]=HEAPU8=new Uint8Array(buf);Module["HEAPU16"]=HEAPU16=new Uint16Array(buf);Module["HEAPU32"]=HEAPU32=new Uint32Array(buf);Module["HEAPF32"]=HEAPF32=new Float32Array(buf);Module["HEAPF64"]=HEAPF64=new Float64Array(buf)}var INITIAL_MEMORY=Module["INITIAL_MEMORY"]||16777216;var wasmTable;var __ATPRERUN__=[];var __ATINIT__=[];var __ATPOSTRUN__=[function(){window["AscViewer"] && window["AscViewer"]["onLoadModule"] && window["AscViewer"]["onLoadModule"]();}];var runtimeInitialized=false;var runtimeExited=false;var runtimeKeepaliveCounter=0;function keepRuntimeAlive(){return noExitRuntime||runtimeKeepaliveCounter>0}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 initRuntime(){runtimeInitialized=true;callRuntimeCallbacks(__ATINIT__)}function exitRuntime(){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 addOnInit(cb){__ATINIT__.unshift(cb)}function addOnPostRun(cb){__ATPOSTRUN__.unshift(cb)}var runDependencies=0;var runDependencyWatcher=null;var dependenciesFulfilled=null;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"]={};function abort(what){{if(Module["onAbort"]){Module["onAbort"](what)}}what="Aborted("+what+")";err(what);ABORT=true;EXITSTATUS=1;what+=". Build with -s ASSERTIONS=1 for more info.";var e=new WebAssembly.RuntimeError(what);throw e}var dataURIPrefix="data:application/octet-stream;base64,";function isDataURI(filename){return filename.startsWith(dataURIPrefix)}var wasmBinaryFile;wasmBinaryFile="drawingfile.wasm";if(!isDataURI(wasmBinaryFile)){wasmBinaryFile=locateFile(wasmBinaryFile)}function getBinary(file){try{if(file==wasmBinaryFile&&wasmBinary){return new Uint8Array(wasmBinary)}if(readBinary){return readBinary(file)}else{throw"both async and sync fetching of the wasm failed"}}catch(err){abort(err)}}function getBinaryPromise2(){if(!wasmBinary&&(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)){if(typeof fetch==="function"){return fetch(wasmBinaryFile,{credentials:"same-origin"}).then(function(response){if(!response["ok"]){throw"failed to load wasm binary file at '"+wasmBinaryFile+"'"}return response["arrayBuffer"]()}).catch(function(){return getBinary(wasmBinaryFile)})}}return Promise.resolve().then(function(){return getBinary(wasmBinaryFile)})}function createWasm(){var info={"a":asmLibraryArg};function receiveInstance(instance,module){var exports=instance.exports;Module["asm"]=exports;wasmMemory=Module["asm"]["_"];updateGlobalBufferAndViews(wasmMemory.buffer);wasmTable=Module["asm"]["ca"];addOnInit(Module["asm"]["$"]);removeRunDependency("wasm-instantiate")}addRunDependency("wasm-instantiate");function receiveInstantiationResult(result){receiveInstance(result["instance"])}function instantiateArrayBuffer(receiver){return getBinaryPromise().then(function(binary){return WebAssembly.instantiate(binary,info)}).then(function(instance){return instance}).then(receiver,function(reason){err("failed to asynchronously prepare wasm: "+reason);abort(reason)})}function instantiateAsync(){if(!wasmBinary&&typeof WebAssembly.instantiateStreaming==="function"&&!isDataURI(wasmBinaryFile)&&typeof fetch==="function"){return fetch(wasmBinaryFile,{credentials:"same-origin"}).then(function(response){var result=WebAssembly.instantiateStreaming(response,info);return result.then(receiveInstantiationResult,function(reason){err("wasm streaming compile failed: "+reason);err("falling back to ArrayBuffer instantiation");return instantiateArrayBuffer(receiveInstantiationResult)})})}else{return instantiateArrayBuffer(receiveInstantiationResult)}}if(Module["instantiateWasm"]){try{var exports=Module["instantiateWasm"](info,receiveInstance);return exports}catch(e){err("Module.instantiateWasm callback failed with error: "+e);return false}}instantiateAsync();return{}}function callRuntimeCallbacks(callbacks){while(callbacks.length>0){var callback=callbacks.shift();if(typeof callback=="function"){callback(Module);continue}var func=callback.func;if(typeof func==="number"){if(callback.arg===undefined){wasmTable.get(func)()}else{wasmTable.get(func)(callback.arg)}}else{func(callback.arg===undefined?null:callback.arg)}}}function ___assert_fail(condition,filename,line,func){abort("Assertion failed: "+UTF8ToString(condition)+", at: "+[filename?UTF8ToString(filename):"unknown filename",line,func?UTF8ToString(func):"unknown function"])}var _emscripten_get_now;_emscripten_get_now=function(){return performance.now()};var _emscripten_get_now_is_monotonic=true;function setErrNo(value){HEAP32[___errno_location()>>2]=value;return value}function _clock_gettime(clk_id,tp){var now;if(clk_id===0){now=Date.now()}else if((clk_id===1||clk_id===4)&&_emscripten_get_now_is_monotonic){now=_emscripten_get_now()}else{setErrNo(28);return-1}HEAP32[tp>>2]=now/1e3|0;HEAP32[tp+4>>2]=now%1e3*1e3*1e3|0;return 0}function ___clock_gettime(a0,a1){return _clock_gettime(a0,a1)}function ___cxa_allocate_exception(size){return _malloc(size+16)+16}function ExceptionInfo(excPtr){this.excPtr=excPtr;this.ptr=excPtr-16;this.set_type=function(type){HEAP32[this.ptr+4>>2]=type};this.get_type=function(){return HEAP32[this.ptr+4>>2]};this.set_destructor=function(destructor){HEAP32[this.ptr+8>>2]=destructor};this.get_destructor=function(){return HEAP32[this.ptr+8>>2]};this.set_refcount=function(refcount){HEAP32[this.ptr>>2]=refcount};this.set_caught=function(caught){caught=caught?1:0;HEAP8[this.ptr+12>>0]=caught};this.get_caught=function(){return HEAP8[this.ptr+12>>0]!=0};this.set_rethrown=function(rethrown){rethrown=rethrown?1:0;HEAP8[this.ptr+13>>0]=rethrown};this.get_rethrown=function(){return HEAP8[this.ptr+13>>0]!=0};this.init=function(type,destructor){this.set_type(type);this.set_destructor(destructor);this.set_refcount(0);this.set_caught(false);this.set_rethrown(false)};this.add_ref=function(){var value=HEAP32[this.ptr>>2];HEAP32[this.ptr>>2]=value+1};this.release_ref=function(){var prev=HEAP32[this.ptr>>2];HEAP32[this.ptr>>2]=prev-1;return prev===1}}var exceptionLast=0;var uncaughtExceptionCount=0;function ___cxa_throw(ptr,type,destructor){var info=new ExceptionInfo(ptr);info.init(type,destructor);exceptionLast=ptr;uncaughtExceptionCount++;throw ptr}function _gmtime_r(time,tmPtr){var date=new Date(HEAP32[time>>2]*1e3);HEAP32[tmPtr>>2]=date.getUTCSeconds();HEAP32[tmPtr+4>>2]=date.getUTCMinutes();HEAP32[tmPtr+8>>2]=date.getUTCHours();HEAP32[tmPtr+12>>2]=date.getUTCDate();HEAP32[tmPtr+16>>2]=date.getUTCMonth();HEAP32[tmPtr+20>>2]=date.getUTCFullYear()-1900;HEAP32[tmPtr+24>>2]=date.getUTCDay();HEAP32[tmPtr+36>>2]=0;HEAP32[tmPtr+32>>2]=0;var start=Date.UTC(date.getUTCFullYear(),0,1,0,0,0,0);var yday=(date.getTime()-start)/(1e3*60*60*24)|0;HEAP32[tmPtr+28>>2]=yday;if(!_gmtime_r.GMTString)_gmtime_r.GMTString=allocateUTF8("GMT");HEAP32[tmPtr+40>>2]=_gmtime_r.GMTString;return tmPtr}function ___gmtime_r(a0,a1){return _gmtime_r(a0,a1)}var SYSCALLS={mappings:{},buffers:[null,[],[]],printChar:function(stream,curr){var buffer=SYSCALLS.buffers[stream];if(curr===0||curr===10){(stream===1?out:err)(UTF8ArrayToString(buffer,0));buffer.length=0}else{buffer.push(curr)}},varargs:undefined,get:function(){SYSCALLS.varargs+=4;var ret=HEAP32[SYSCALLS.varargs-4>>2];return ret},getStr:function(ptr){var ret=UTF8ToString(ptr);return ret},get64:function(low,high){return low}};function ___sys_chdir(path){}function ___sys_fcntl64(fd,cmd,varargs){SYSCALLS.varargs=varargs;return 0}function ___sys_fstat64(fd,buf){}function ___sys_getcwd(buf,size){}function ___sys_getdents64(fd,dirp,count){}function ___sys_getegid32(){return 0}function ___sys_getuid32(){return ___sys_getegid32()}function ___sys_ioctl(fd,op,varargs){SYSCALLS.varargs=varargs;return 0}function ___sys_lstat64(path,buf){}function ___sys_mkdir(path,mode){path=SYSCALLS.getStr(path);return SYSCALLS.doMkdir(path,mode)}function mmapAlloc(size){abort()}function syscallMmap2(addr,len,prot,flags,fd,off){off<<=12;var ptr;var allocated=false;if((flags&16)!==0&&addr%65536!==0){return-28}if((flags&32)!==0){ptr=mmapAlloc(len);if(!ptr)return-48;allocated=true}else{return-52}SYSCALLS.mappings[ptr]={malloc:ptr,len:len,allocated:allocated,fd:fd,prot:prot,flags:flags,offset:off};return ptr}function ___sys_mmap2(addr,len,prot,flags,fd,off){return syscallMmap2(addr,len,prot,flags,fd,off)}function syscallMunmap(addr,len){var info=SYSCALLS.mappings[addr];if(len===0||!info){return-28}if(len===info.len){SYSCALLS.mappings[addr]=null;if(info.allocated){_free(info.malloc)}}return 0}function ___sys_munmap(addr,len){return syscallMunmap(addr,len)}function ___sys_open(path,flags,varargs){SYSCALLS.varargs=varargs}function ___sys_readlink(path,buf,bufsize){path=SYSCALLS.getStr(path);return SYSCALLS.doReadlink(path,buf,bufsize)}function ___sys_rmdir(path){}function ___sys_stat64(path,buf){}function ___sys_unlink(path){}function __emscripten_throw_longjmp(){throw"longjmp"}function _abort(){abort("")}function _emscripten_memcpy_big(dest,src,num){HEAPU8.copyWithin(dest,src,src+num)}function emscripten_realloc_buffer(size){try{wasmMemory.grow(size-buffer.byteLength+65535>>>16);updateGlobalBufferAndViews(wasmMemory.buffer);return 1}catch(e){}}function _emscripten_resize_heap(requestedSize){var oldSize=HEAPU8.length;requestedSize=requestedSize>>>0;var maxHeapSize=2147483648;if(requestedSize>maxHeapSize){return false}for(var cutDown=1;cutDown<=4;cutDown*=2){var overGrownHeapSize=oldSize*(1+.2/cutDown);overGrownHeapSize=Math.min(overGrownHeapSize,requestedSize+100663296);var newSize=Math.min(maxHeapSize,alignUp(Math.max(requestedSize,overGrownHeapSize),65536));var replacement=emscripten_realloc_buffer(newSize);if(replacement){return true}}return false}function _emscripten_thread_sleep(msecs){var start=_emscripten_get_now();while(_emscripten_get_now()-start>2]=stdTimezoneOffset*60;HEAP32[__get_daylight()>>2]=Number(winterOffset!=summerOffset);function extractZone(date){var match=date.toTimeString().match(/\(([A-Za-z ]+)\)$/);return match?match[1]:"GMT"}var winterName=extractZone(winter);var summerName=extractZone(summer);var winterNamePtr=allocateUTF8(winterName);var summerNamePtr=allocateUTF8(summerName);if(summerOffset>2]=winterNamePtr;HEAP32[__get_tzname()+4>>2]=summerNamePtr}else{HEAP32[__get_tzname()>>2]=summerNamePtr;HEAP32[__get_tzname()+4>>2]=winterNamePtr}}function _tzset(){if(_tzset.called)return;_tzset.called=true;_tzset_impl()}function _mktime(tmPtr){_tzset();var date=new Date(HEAP32[tmPtr+20>>2]+1900,HEAP32[tmPtr+16>>2],HEAP32[tmPtr+12>>2],HEAP32[tmPtr+8>>2],HEAP32[tmPtr+4>>2],HEAP32[tmPtr>>2],0);var dst=HEAP32[tmPtr+32>>2];var guessedOffset=date.getTimezoneOffset();var start=new Date(date.getFullYear(),0,1);var summerOffset=new Date(date.getFullYear(),6,1).getTimezoneOffset();var winterOffset=start.getTimezoneOffset();var dstOffset=Math.min(winterOffset,summerOffset);if(dst<0){HEAP32[tmPtr+32>>2]=Number(summerOffset!=winterOffset&&dstOffset==guessedOffset)}else if(dst>0!=(dstOffset==guessedOffset)){var nonDstOffset=Math.max(winterOffset,summerOffset);var trueOffset=dst>0?dstOffset:nonDstOffset;date.setTime(date.getTime()+(trueOffset-guessedOffset)*6e4)}HEAP32[tmPtr+24>>2]=date.getDay();var yday=(date.getTime()-start.getTime())/(1e3*60*60*24)|0;HEAP32[tmPtr+28>>2]=yday;HEAP32[tmPtr>>2]=date.getSeconds();HEAP32[tmPtr+4>>2]=date.getMinutes();HEAP32[tmPtr+8>>2]=date.getHours();HEAP32[tmPtr+12>>2]=date.getDate();HEAP32[tmPtr+16>>2]=date.getMonth();return date.getTime()/1e3|0}function _setTempRet0(val){setTempRet0(val)}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?UTF8ToString(tm_zone):""};var pattern=UTF8ToString(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","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var rule in EXPANSION_RULES_1){pattern=pattern.replace(new RegExp(rule,"g"),EXPANSION_RULES_1[rule])}var WEEKDAYS=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];var MONTHS=["January","February","March","April","May","June","July","August","September","October","November","December"];function leadingSomething(value,digits,character){var str=typeof value==="number"?value.toString():value||"";while(str.length0?1:0}var compare;if((compare=sgn(date1.getFullYear()-date2.getFullYear()))===0){if((compare=sgn(date1.getMonth()-date2.getMonth()))===0){compare=sgn(date1.getDate()-date2.getDate())}}return compare}function getFirstWeekStartDate(janFourth){switch(janFourth.getDay()){case 0:return new Date(janFourth.getFullYear()-1,11,29);case 1:return janFourth;case 2:return new Date(janFourth.getFullYear(),0,3);case 3:return new Date(janFourth.getFullYear(),0,2);case 4:return new Date(janFourth.getFullYear(),0,1);case 5:return new Date(janFourth.getFullYear()-1,11,31);case 6:return new Date(janFourth.getFullYear()-1,11,30)}}function getWeekBasedYear(date){var thisDate=__addDays(new Date(date.tm_year+1900,0,1),date.tm_yday);var janFourthThisYear=new Date(thisDate.getFullYear(),0,4);var janFourthNextYear=new Date(thisDate.getFullYear()+1,0,4);var firstWeekStartThisYear=getFirstWeekStartDate(janFourthThisYear);var firstWeekStartNextYear=getFirstWeekStartDate(janFourthNextYear);if(compareByDay(firstWeekStartThisYear,thisDate)<=0){if(compareByDay(firstWeekStartNextYear,thisDate)<=0){return thisDate.getFullYear()+1}else{return thisDate.getFullYear()}}else{return thisDate.getFullYear()-1}}var EXPANSION_RULES_2={"%a":function(date){return WEEKDAYS[date.tm_wday].substring(0,3)},"%A":function(date){return WEEKDAYS[date.tm_wday]},"%b":function(date){return MONTHS[date.tm_mon].substring(0,3)},"%B":function(date){return MONTHS[date.tm_mon]},"%C":function(date){var year=date.tm_year+1900;return leadingNulls(year/100|0,2)},"%d":function(date){return leadingNulls(date.tm_mday,2)},"%e":function(date){return leadingSomething(date.tm_mday,2," ")},"%g":function(date){return getWeekBasedYear(date).toString().substring(2)},"%G":function(date){return getWeekBasedYear(date)},"%H":function(date){return leadingNulls(date.tm_hour,2)},"%I":function(date){var twelveHour=date.tm_hour;if(twelveHour==0)twelveHour=12;else if(twelveHour>12)twelveHour-=12;return leadingNulls(twelveHour,2)},"%j":function(date){return leadingNulls(date.tm_mday+__arraySum(__isLeapYear(date.tm_year+1900)?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR,date.tm_mon-1),3)},"%m":function(date){return leadingNulls(date.tm_mon+1,2)},"%M":function(date){return leadingNulls(date.tm_min,2)},"%n":function(){return"\n"},"%p":function(date){if(date.tm_hour>=0&&date.tm_hour<12){return"AM"}else{return"PM"}},"%S":function(date){return leadingNulls(date.tm_sec,2)},"%t":function(){return"\t"},"%u":function(date){return date.tm_wday||7},"%U":function(date){var janFirst=new Date(date.tm_year+1900,0,1);var firstSunday=janFirst.getDay()===0?janFirst:__addDays(janFirst,7-janFirst.getDay());var endDate=new Date(date.tm_year+1900,date.tm_mon,date.tm_mday);if(compareByDay(firstSunday,endDate)<0){var februaryFirstUntilEndMonth=__arraySum(__isLeapYear(endDate.getFullYear())?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR,endDate.getMonth()-1)-31;var firstSundayUntilEndJanuary=31-firstSunday.getDate();var days=firstSundayUntilEndJanuary+februaryFirstUntilEndMonth+endDate.getDate();return leadingNulls(Math.ceil(days/7),2)}return compareByDay(firstSunday,janFirst)===0?"01":"00"},"%V":function(date){var janFourthThisYear=new Date(date.tm_year+1900,0,4);var janFourthNextYear=new Date(date.tm_year+1901,0,4);var firstWeekStartThisYear=getFirstWeekStartDate(janFourthThisYear);var firstWeekStartNextYear=getFirstWeekStartDate(janFourthNextYear);var endDate=__addDays(new Date(date.tm_year+1900,0,1),date.tm_yday);if(compareByDay(endDate,firstWeekStartThisYear)<0){return"53"}if(compareByDay(firstWeekStartNextYear,endDate)<=0){return"01"}var daysDifference;if(firstWeekStartThisYear.getFullYear()=0;off=Math.abs(off)/60;off=off/60*100+off%60;return(ahead?"+":"-")+String("0000"+off).slice(-4)},"%Z":function(date){return date.tm_zone},"%%":function(){return"%"}};for(var rule in EXPANSION_RULES_2){if(pattern.includes(rule)){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}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}var asmLibraryArg={"a":___assert_fail,"Q":___clock_gettime,"A":___cxa_allocate_exception,"z":___cxa_throw,"L":___gmtime_r,"P":___sys_chdir,"t":___sys_fcntl64,"U":___sys_fstat64,"O":___sys_getcwd,"X":___sys_getdents64,"N":___sys_getuid32,"R":___sys_ioctl,"S":___sys_lstat64,"T":___sys_mkdir,"W":___sys_mmap2,"V":___sys_munmap,"s":___sys_open,"M":___sys_readlink,"v":___sys_rmdir,"w":___sys_stat64,"r":___sys_unlink,"G":__emscripten_throw_longjmp,"e":_abort,"D":_emscripten_memcpy_big,"E":_emscripten_resize_heap,"K":_emscripten_thread_sleep,"I":_environ_get,"J":_environ_sizes_get,"m":_exit,"n":_fd_close,"H":_fd_fdstat_get,"u":_fd_read,"C":_fd_seek,"q":_fd_write,"b":_getTempRet0,"x":_getpwnam,"Y":_getpwuid,"f":invoke_ii,"k":invoke_iii,"i":invoke_iiii,"h":invoke_iiiii,"p":invoke_iiiiii,"y":invoke_v,"g":invoke_vi,"d":invoke_vii,"j":invoke_viii,"B":invoke_viiii,"Z":invoke_viiiiiiiii,"l":_mktime,"c":_setTempRet0,"F":_strftime_l,"o":_time};var asm=createWasm();var ___wasm_call_ctors=Module["___wasm_call_ctors"]=function(){return(___wasm_call_ctors=Module["___wasm_call_ctors"]=Module["asm"]["$"]).apply(null,arguments)};var _malloc=Module["_malloc"]=function(){return(_malloc=Module["_malloc"]=Module["asm"]["aa"]).apply(null,arguments)};var _free=Module["_free"]=function(){return(_free=Module["_free"]=Module["asm"]["ba"]).apply(null,arguments)};var ___errno_location=Module["___errno_location"]=function(){return(___errno_location=Module["___errno_location"]=Module["asm"]["da"]).apply(null,arguments)};var _GetType=Module["_GetType"]=function(){return(_GetType=Module["_GetType"]=Module["asm"]["ea"]).apply(null,arguments)};var _Open=Module["_Open"]=function(){return(_Open=Module["_Open"]=Module["asm"]["fa"]).apply(null,arguments)};var _Close=Module["_Close"]=function(){return(_Close=Module["_Close"]=Module["asm"]["ga"]).apply(null,arguments)};var _GetInfo=Module["_GetInfo"]=function(){return(_GetInfo=Module["_GetInfo"]=Module["asm"]["ha"]).apply(null,arguments)};var _GetPixmap=Module["_GetPixmap"]=function(){return(_GetPixmap=Module["_GetPixmap"]=Module["asm"]["ia"]).apply(null,arguments)};var _GetGlyphs=Module["_GetGlyphs"]=function(){return(_GetGlyphs=Module["_GetGlyphs"]=Module["asm"]["ja"]).apply(null,arguments)};var _GetLinks=Module["_GetLinks"]=function(){return(_GetLinks=Module["_GetLinks"]=Module["asm"]["ka"]).apply(null,arguments)};var _GetStructure=Module["_GetStructure"]=function(){return(_GetStructure=Module["_GetStructure"]=Module["asm"]["la"]).apply(null,arguments)};var stackSave=Module["stackSave"]=function(){return(stackSave=Module["stackSave"]=Module["asm"]["ma"]).apply(null,arguments)};var stackRestore=Module["stackRestore"]=function(){return(stackRestore=Module["stackRestore"]=Module["asm"]["na"]).apply(null,arguments)};function invoke_ii(index,a1){var sp=stackSave();try{return wasmTable.get(index)(a1)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iii(index,a1,a2){var sp=stackSave();try{return wasmTable.get(index)(a1,a2)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiii(index,a1,a2,a3){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viii(index,a1,a2,a3){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_vi(index,a1){var sp=stackSave();try{wasmTable.get(index)(a1)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiiii(index,a1,a2,a3,a4,a5){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3,a4,a5)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_vii(index,a1,a2){var sp=stackSave();try{wasmTable.get(index)(a1,a2)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiii(index,a1,a2,a3,a4){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3,a4)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiii(index,a1,a2,a3,a4){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4,a5,a6,a7,a8,a9)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_v(index){var sp=stackSave();try{wasmTable.get(index)()}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}var calledRun;function ExitStatus(status){this.name="ExitStatus";this.message="Program terminated with exit("+status+")";this.status=status}dependenciesFulfilled=function runCaller(){if(!calledRun)run();if(!calledRun)dependenciesFulfilled=runCaller};function run(args){args=args||arguments_;if(runDependencies>0){return}preRun();if(runDependencies>0){return}function doRun(){if(calledRun)return;calledRun=true;Module["calledRun"]=true;if(ABORT)return;initRuntime();if(Module["onRuntimeInitialized"])Module["onRuntimeInitialized"]();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){EXITSTATUS=status;if(keepRuntimeAlive()){}else{exitRuntime()}procExit(status)}function procExit(code){EXITSTATUS=code;if(!keepRuntimeAlive()){if(Module["onExit"])Module["onExit"](code);ABORT=true}quit_(code,new ExitStatus(code))}if(Module["preInit"]){if(typeof Module["preInit"]=="function")Module["preInit"]=[Module["preInit"]];while(Module["preInit"].length>0){Module["preInit"].pop()()}}run(); + var Module=typeof Module!=="undefined"?Module:{};var moduleOverrides={};var key;for(key in Module){if(Module.hasOwnProperty(key)){moduleOverrides[key]=Module[key]}}var arguments_=[];var thisProgram="./this.program";var quit_=function(status,toThrow){throw toThrow};var ENVIRONMENT_IS_WEB=true;var ENVIRONMENT_IS_WORKER=false;var scriptDirectory="";function locateFile(path){if(Module["locateFile"]){return Module["locateFile"](path,scriptDirectory)}return scriptDirectory+path}var read_,readAsync,readBinary,setWindowTitle;if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){if(ENVIRONMENT_IS_WORKER){scriptDirectory=self.location.href}else if(typeof document!=="undefined"&&document.currentScript){scriptDirectory=document.currentScript.src}if(scriptDirectory.indexOf("blob:")!==0){scriptDirectory=scriptDirectory.substr(0,scriptDirectory.replace(/[?#].*/,"").lastIndexOf("/")+1)}else{scriptDirectory=""}{read_=function(url){var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return xhr.responseText};if(ENVIRONMENT_IS_WORKER){readBinary=function(url){var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.responseType="arraybuffer";xhr.send(null);return new Uint8Array(xhr.response)}}readAsync=function(url,onload,onerror){var xhr=new XMLHttpRequest;xhr.open("GET",url,true);xhr.responseType="arraybuffer";xhr.onload=function(){if(xhr.status==200||xhr.status==0&&xhr.response){onload(xhr.response);return}onerror()};xhr.onerror=onerror;xhr.send(null)}}setWindowTitle=function(title){document.title=title}}else{}var out=Module["print"]||console.log.bind(console);var err=Module["printErr"]||console.warn.bind(console);for(key in moduleOverrides){if(moduleOverrides.hasOwnProperty(key)){Module[key]=moduleOverrides[key]}}moduleOverrides=null;if(Module["arguments"])arguments_=Module["arguments"];if(Module["thisProgram"])thisProgram=Module["thisProgram"];if(Module["quit"])quit_=Module["quit"];var tempRet0=0;var setTempRet0=function(value){tempRet0=value};var getTempRet0=function(){return tempRet0};var wasmBinary;if(Module["wasmBinary"])wasmBinary=Module["wasmBinary"];var noExitRuntime=Module["noExitRuntime"]||true;if(typeof WebAssembly!=="object"){abort("no native wasm support detected")}var wasmMemory;var ABORT=false;var EXITSTATUS;var UTF8Decoder=typeof TextDecoder!=="undefined"?new TextDecoder("utf8"):undefined;function UTF8ArrayToString(heap,idx,maxBytesToRead){var endIdx=idx+maxBytesToRead;var endPtr=idx;while(heap[endPtr]&&!(endPtr>=endIdx))++endPtr;if(endPtr-idx>16&&heap.subarray&&UTF8Decoder){return UTF8Decoder.decode(heap.subarray(idx,endPtr))}else{var str="";while(idx>10,56320|ch&1023)}}}return str}function UTF8ToString(ptr,maxBytesToRead){return ptr?UTF8ArrayToString(HEAPU8,ptr,maxBytesToRead):""}function stringToUTF8Array(str,heap,outIdx,maxBytesToWrite){if(!(maxBytesToWrite>0))return 0;var startIdx=outIdx;var endIdx=outIdx+maxBytesToWrite-1;for(var i=0;i=55296&&u<=57343){var u1=str.charCodeAt(++i);u=65536+((u&1023)<<10)|u1&1023}if(u<=127){if(outIdx>=endIdx)break;heap[outIdx++]=u}else if(u<=2047){if(outIdx+1>=endIdx)break;heap[outIdx++]=192|u>>6;heap[outIdx++]=128|u&63}else if(u<=65535){if(outIdx+2>=endIdx)break;heap[outIdx++]=224|u>>12;heap[outIdx++]=128|u>>6&63;heap[outIdx++]=128|u&63}else{if(outIdx+3>=endIdx)break;heap[outIdx++]=240|u>>18;heap[outIdx++]=128|u>>12&63;heap[outIdx++]=128|u>>6&63;heap[outIdx++]=128|u&63}}heap[outIdx]=0;return outIdx-startIdx}function lengthBytesUTF8(str){var len=0;for(var i=0;i=55296&&u<=57343)u=65536+((u&1023)<<10)|str.charCodeAt(++i)&1023;if(u<=127)++len;else if(u<=2047)len+=2;else if(u<=65535)len+=3;else len+=4}return len}function allocateUTF8(str){var size=lengthBytesUTF8(str)+1;var ret=_malloc(size);if(ret)stringToUTF8Array(str,HEAP8,ret,size);return ret}function writeArrayToMemory(array,buffer){HEAP8.set(array,buffer)}function writeAsciiToMemory(str,buffer,dontAddNull){for(var i=0;i>0]=str.charCodeAt(i)}if(!dontAddNull)HEAP8[buffer>>0]=0}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 updateGlobalBufferAndViews(buf){buffer=buf;Module["HEAP8"]=HEAP8=new Int8Array(buf);Module["HEAP16"]=HEAP16=new Int16Array(buf);Module["HEAP32"]=HEAP32=new Int32Array(buf);Module["HEAPU8"]=HEAPU8=new Uint8Array(buf);Module["HEAPU16"]=HEAPU16=new Uint16Array(buf);Module["HEAPU32"]=HEAPU32=new Uint32Array(buf);Module["HEAPF32"]=HEAPF32=new Float32Array(buf);Module["HEAPF64"]=HEAPF64=new Float64Array(buf)}var INITIAL_MEMORY=Module["INITIAL_MEMORY"]||16777216;var wasmTable;var __ATPRERUN__=[];var __ATINIT__=[];var __ATPOSTRUN__=[function(){window["AscViewer"] && window["AscViewer"]["onLoadModule"] && window["AscViewer"]["onLoadModule"]();}];var runtimeInitialized=false;var runtimeExited=false;var runtimeKeepaliveCounter=0;function keepRuntimeAlive(){return noExitRuntime||runtimeKeepaliveCounter>0}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 initRuntime(){runtimeInitialized=true;callRuntimeCallbacks(__ATINIT__)}function exitRuntime(){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 addOnInit(cb){__ATINIT__.unshift(cb)}function addOnPostRun(cb){__ATPOSTRUN__.unshift(cb)}var runDependencies=0;var runDependencyWatcher=null;var dependenciesFulfilled=null;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"]={};function abort(what){{if(Module["onAbort"]){Module["onAbort"](what)}}what="Aborted("+what+")";err(what);ABORT=true;EXITSTATUS=1;what+=". Build with -s ASSERTIONS=1 for more info.";var e=new WebAssembly.RuntimeError(what);throw e}var dataURIPrefix="data:application/octet-stream;base64,";function isDataURI(filename){return filename.startsWith(dataURIPrefix)}var wasmBinaryFile;wasmBinaryFile="drawingfile.wasm";if(!isDataURI(wasmBinaryFile)){wasmBinaryFile=locateFile(wasmBinaryFile)}function getBinary(file){try{if(file==wasmBinaryFile&&wasmBinary){return new Uint8Array(wasmBinary)}if(readBinary){return readBinary(file)}else{throw"both async and sync fetching of the wasm failed"}}catch(err){abort(err)}}function getBinaryPromise2(){if(!wasmBinary&&(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)){if(typeof fetch==="function"){return fetch(wasmBinaryFile,{credentials:"same-origin"}).then(function(response){if(!response["ok"]){throw"failed to load wasm binary file at '"+wasmBinaryFile+"'"}return response["arrayBuffer"]()}).catch(function(){return getBinary(wasmBinaryFile)})}}return Promise.resolve().then(function(){return getBinary(wasmBinaryFile)})}function createWasm(){var info={"a":asmLibraryArg};function receiveInstance(instance,module){var exports=instance.exports;Module["asm"]=exports;wasmMemory=Module["asm"]["cb"];updateGlobalBufferAndViews(wasmMemory.buffer);wasmTable=Module["asm"]["gb"];addOnInit(Module["asm"]["db"]);removeRunDependency("wasm-instantiate")}addRunDependency("wasm-instantiate");function receiveInstantiationResult(result){receiveInstance(result["instance"])}function instantiateArrayBuffer(receiver){return getBinaryPromise().then(function(binary){return WebAssembly.instantiate(binary,info)}).then(function(instance){return instance}).then(receiver,function(reason){err("failed to asynchronously prepare wasm: "+reason);abort(reason)})}function instantiateAsync(){if(!wasmBinary&&typeof WebAssembly.instantiateStreaming==="function"&&!isDataURI(wasmBinaryFile)&&typeof fetch==="function"){return fetch(wasmBinaryFile,{credentials:"same-origin"}).then(function(response){var result=WebAssembly.instantiateStreaming(response,info);return result.then(receiveInstantiationResult,function(reason){err("wasm streaming compile failed: "+reason);err("falling back to ArrayBuffer instantiation");return instantiateArrayBuffer(receiveInstantiationResult)})})}else{return instantiateArrayBuffer(receiveInstantiationResult)}}if(Module["instantiateWasm"]){try{var exports=Module["instantiateWasm"](info,receiveInstance);return exports}catch(e){err("Module.instantiateWasm callback failed with error: "+e);return false}}instantiateAsync();return{}}function js_free_id(data){self.AscViewer.Free(data);return 1}function js_get_stream_id(data,status){return self.AscViewer.CheckStreamId(data,status)}function callRuntimeCallbacks(callbacks){while(callbacks.length>0){var callback=callbacks.shift();if(typeof callback=="function"){callback(Module);continue}var func=callback.func;if(typeof func==="number"){if(callback.arg===undefined){wasmTable.get(func)()}else{wasmTable.get(func)(callback.arg)}}else{func(callback.arg===undefined?null:callback.arg)}}}function ___assert_fail(condition,filename,line,func){abort("Assertion failed: "+UTF8ToString(condition)+", at: "+[filename?UTF8ToString(filename):"unknown filename",line,func?UTF8ToString(func):"unknown function"])}var _emscripten_get_now;_emscripten_get_now=function(){return performance.now()};var _emscripten_get_now_is_monotonic=true;function setErrNo(value){HEAP32[___errno_location()>>2]=value;return value}function _clock_gettime(clk_id,tp){var now;if(clk_id===0){now=Date.now()}else if((clk_id===1||clk_id===4)&&_emscripten_get_now_is_monotonic){now=_emscripten_get_now()}else{setErrNo(28);return-1}HEAP32[tp>>2]=now/1e3|0;HEAP32[tp+4>>2]=now%1e3*1e3*1e3|0;return 0}function ___clock_gettime(a0,a1){return _clock_gettime(a0,a1)}function ___cxa_allocate_exception(size){return _malloc(size+16)+16}function ExceptionInfo(excPtr){this.excPtr=excPtr;this.ptr=excPtr-16;this.set_type=function(type){HEAP32[this.ptr+4>>2]=type};this.get_type=function(){return HEAP32[this.ptr+4>>2]};this.set_destructor=function(destructor){HEAP32[this.ptr+8>>2]=destructor};this.get_destructor=function(){return HEAP32[this.ptr+8>>2]};this.set_refcount=function(refcount){HEAP32[this.ptr>>2]=refcount};this.set_caught=function(caught){caught=caught?1:0;HEAP8[this.ptr+12>>0]=caught};this.get_caught=function(){return HEAP8[this.ptr+12>>0]!=0};this.set_rethrown=function(rethrown){rethrown=rethrown?1:0;HEAP8[this.ptr+13>>0]=rethrown};this.get_rethrown=function(){return HEAP8[this.ptr+13>>0]!=0};this.init=function(type,destructor){this.set_type(type);this.set_destructor(destructor);this.set_refcount(0);this.set_caught(false);this.set_rethrown(false)};this.add_ref=function(){var value=HEAP32[this.ptr>>2];HEAP32[this.ptr>>2]=value+1};this.release_ref=function(){var prev=HEAP32[this.ptr>>2];HEAP32[this.ptr>>2]=prev-1;return prev===1}}function CatchInfo(ptr){this.free=function(){_free(this.ptr);this.ptr=0};this.set_base_ptr=function(basePtr){HEAP32[this.ptr>>2]=basePtr};this.get_base_ptr=function(){return HEAP32[this.ptr>>2]};this.set_adjusted_ptr=function(adjustedPtr){HEAP32[this.ptr+4>>2]=adjustedPtr};this.get_adjusted_ptr_addr=function(){return this.ptr+4};this.get_adjusted_ptr=function(){return HEAP32[this.ptr+4>>2]};this.get_exception_ptr=function(){var isPointer=___cxa_is_pointer_type(this.get_exception_info().get_type());if(isPointer){return HEAP32[this.get_base_ptr()>>2]}var adjusted=this.get_adjusted_ptr();if(adjusted!==0)return adjusted;return this.get_base_ptr()};this.get_exception_info=function(){return new ExceptionInfo(this.get_base_ptr())};if(ptr===undefined){this.ptr=_malloc(8);this.set_adjusted_ptr(0)}else{this.ptr=ptr}}var exceptionCaught=[];function exception_addRef(info){info.add_ref()}var uncaughtExceptionCount=0;function ___cxa_begin_catch(ptr){var catchInfo=new CatchInfo(ptr);var info=catchInfo.get_exception_info();if(!info.get_caught()){info.set_caught(true);uncaughtExceptionCount--}info.set_rethrown(false);exceptionCaught.push(catchInfo);exception_addRef(info);return catchInfo.get_exception_ptr()}function ___cxa_call_unexpected(exception){err("Unexpected exception thrown, this is not properly supported - aborting");ABORT=true;throw exception}var exceptionLast=0;function ___cxa_free_exception(ptr){return _free(new ExceptionInfo(ptr).ptr)}function exception_decRef(info){if(info.release_ref()&&!info.get_rethrown()){var destructor=info.get_destructor();if(destructor){wasmTable.get(destructor)(info.excPtr)}___cxa_free_exception(info.excPtr)}}function ___cxa_end_catch(){_setThrew(0);var catchInfo=exceptionCaught.pop();exception_decRef(catchInfo.get_exception_info());catchInfo.free();exceptionLast=0}function ___resumeException(catchInfoPtr){var catchInfo=new CatchInfo(catchInfoPtr);var ptr=catchInfo.get_base_ptr();if(!exceptionLast){exceptionLast=ptr}catchInfo.free();throw ptr}function ___cxa_find_matching_catch_2(){var thrown=exceptionLast;if(!thrown){setTempRet0(0);return 0|0}var info=new ExceptionInfo(thrown);var thrownType=info.get_type();var catchInfo=new CatchInfo;catchInfo.set_base_ptr(thrown);catchInfo.set_adjusted_ptr(thrown);if(!thrownType){setTempRet0(0);return catchInfo.ptr|0}var typeArray=Array.prototype.slice.call(arguments);for(var i=0;i>2]*1e3);HEAP32[tmPtr>>2]=date.getUTCSeconds();HEAP32[tmPtr+4>>2]=date.getUTCMinutes();HEAP32[tmPtr+8>>2]=date.getUTCHours();HEAP32[tmPtr+12>>2]=date.getUTCDate();HEAP32[tmPtr+16>>2]=date.getUTCMonth();HEAP32[tmPtr+20>>2]=date.getUTCFullYear()-1900;HEAP32[tmPtr+24>>2]=date.getUTCDay();HEAP32[tmPtr+36>>2]=0;HEAP32[tmPtr+32>>2]=0;var start=Date.UTC(date.getUTCFullYear(),0,1,0,0,0,0);var yday=(date.getTime()-start)/(1e3*60*60*24)|0;HEAP32[tmPtr+28>>2]=yday;if(!_gmtime_r.GMTString)_gmtime_r.GMTString=allocateUTF8("GMT");HEAP32[tmPtr+40>>2]=_gmtime_r.GMTString;return tmPtr}function ___gmtime_r(a0,a1){return _gmtime_r(a0,a1)}var SYSCALLS={mappings:{},buffers:[null,[],[]],printChar:function(stream,curr){var buffer=SYSCALLS.buffers[stream];if(curr===0||curr===10){(stream===1?out:err)(UTF8ArrayToString(buffer,0));buffer.length=0}else{buffer.push(curr)}},varargs:undefined,get:function(){SYSCALLS.varargs+=4;var ret=HEAP32[SYSCALLS.varargs-4>>2];return ret},getStr:function(ptr){var ret=UTF8ToString(ptr);return ret},get64:function(low,high){return low}};function ___sys_chdir(path){}function ___sys_fcntl64(fd,cmd,varargs){SYSCALLS.varargs=varargs;return 0}function ___sys_getcwd(buf,size){}function ___sys_getdents64(fd,dirp,count){}function ___sys_getegid32(){return 0}function ___sys_getuid32(){return ___sys_getegid32()}function ___sys_ioctl(fd,op,varargs){SYSCALLS.varargs=varargs;return 0}function ___sys_lstat64(path,buf){}function ___sys_mkdir(path,mode){path=SYSCALLS.getStr(path);return SYSCALLS.doMkdir(path,mode)}function mmapAlloc(size){abort()}function syscallMmap2(addr,len,prot,flags,fd,off){off<<=12;var ptr;var allocated=false;if((flags&16)!==0&&addr%65536!==0){return-28}if((flags&32)!==0){ptr=mmapAlloc(len);if(!ptr)return-48;allocated=true}else{return-52}SYSCALLS.mappings[ptr]={malloc:ptr,len:len,allocated:allocated,fd:fd,prot:prot,flags:flags,offset:off};return ptr}function ___sys_mmap2(addr,len,prot,flags,fd,off){return syscallMmap2(addr,len,prot,flags,fd,off)}function syscallMunmap(addr,len){var info=SYSCALLS.mappings[addr];if(len===0||!info){return-28}if(len===info.len){SYSCALLS.mappings[addr]=null;if(info.allocated){_free(info.malloc)}}return 0}function ___sys_munmap(addr,len){return syscallMunmap(addr,len)}function ___sys_open(path,flags,varargs){SYSCALLS.varargs=varargs}function ___sys_readlink(path,buf,bufsize){path=SYSCALLS.getStr(path);return SYSCALLS.doReadlink(path,buf,bufsize)}function ___sys_rmdir(path){}function ___sys_stat64(path,buf){}function ___sys_unlink(path){}function __emscripten_throw_longjmp(){throw"longjmp"}function _abort(){abort("")}function _emscripten_memcpy_big(dest,src,num){HEAPU8.copyWithin(dest,src,src+num)}function emscripten_realloc_buffer(size){try{wasmMemory.grow(size-buffer.byteLength+65535>>>16);updateGlobalBufferAndViews(wasmMemory.buffer);return 1}catch(e){}}function _emscripten_resize_heap(requestedSize){var oldSize=HEAPU8.length;requestedSize=requestedSize>>>0;var maxHeapSize=2147483648;if(requestedSize>maxHeapSize){return false}for(var cutDown=1;cutDown<=4;cutDown*=2){var overGrownHeapSize=oldSize*(1+.2/cutDown);overGrownHeapSize=Math.min(overGrownHeapSize,requestedSize+100663296);var newSize=Math.min(maxHeapSize,alignUp(Math.max(requestedSize,overGrownHeapSize),65536));var replacement=emscripten_realloc_buffer(newSize);if(replacement){return true}}return false}function _emscripten_thread_sleep(msecs){var start=_emscripten_get_now();while(_emscripten_get_now()-start>2]=stdTimezoneOffset*60;HEAP32[__get_daylight()>>2]=Number(winterOffset!=summerOffset);function extractZone(date){var match=date.toTimeString().match(/\(([A-Za-z ]+)\)$/);return match?match[1]:"GMT"}var winterName=extractZone(winter);var summerName=extractZone(summer);var winterNamePtr=allocateUTF8(winterName);var summerNamePtr=allocateUTF8(summerName);if(summerOffset>2]=winterNamePtr;HEAP32[__get_tzname()+4>>2]=summerNamePtr}else{HEAP32[__get_tzname()>>2]=summerNamePtr;HEAP32[__get_tzname()+4>>2]=winterNamePtr}}function _tzset(){if(_tzset.called)return;_tzset.called=true;_tzset_impl()}function _mktime(tmPtr){_tzset();var date=new Date(HEAP32[tmPtr+20>>2]+1900,HEAP32[tmPtr+16>>2],HEAP32[tmPtr+12>>2],HEAP32[tmPtr+8>>2],HEAP32[tmPtr+4>>2],HEAP32[tmPtr>>2],0);var dst=HEAP32[tmPtr+32>>2];var guessedOffset=date.getTimezoneOffset();var start=new Date(date.getFullYear(),0,1);var summerOffset=new Date(date.getFullYear(),6,1).getTimezoneOffset();var winterOffset=start.getTimezoneOffset();var dstOffset=Math.min(winterOffset,summerOffset);if(dst<0){HEAP32[tmPtr+32>>2]=Number(summerOffset!=winterOffset&&dstOffset==guessedOffset)}else if(dst>0!=(dstOffset==guessedOffset)){var nonDstOffset=Math.max(winterOffset,summerOffset);var trueOffset=dst>0?dstOffset:nonDstOffset;date.setTime(date.getTime()+(trueOffset-guessedOffset)*6e4)}HEAP32[tmPtr+24>>2]=date.getDay();var yday=(date.getTime()-start.getTime())/(1e3*60*60*24)|0;HEAP32[tmPtr+28>>2]=yday;HEAP32[tmPtr>>2]=date.getSeconds();HEAP32[tmPtr+4>>2]=date.getMinutes();HEAP32[tmPtr+8>>2]=date.getHours();HEAP32[tmPtr+12>>2]=date.getDate();HEAP32[tmPtr+16>>2]=date.getMonth();return date.getTime()/1e3|0}function _setTempRet0(val){setTempRet0(val)}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?UTF8ToString(tm_zone):""};var pattern=UTF8ToString(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","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var rule in EXPANSION_RULES_1){pattern=pattern.replace(new RegExp(rule,"g"),EXPANSION_RULES_1[rule])}var WEEKDAYS=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];var MONTHS=["January","February","March","April","May","June","July","August","September","October","November","December"];function leadingSomething(value,digits,character){var str=typeof value==="number"?value.toString():value||"";while(str.length0?1:0}var compare;if((compare=sgn(date1.getFullYear()-date2.getFullYear()))===0){if((compare=sgn(date1.getMonth()-date2.getMonth()))===0){compare=sgn(date1.getDate()-date2.getDate())}}return compare}function getFirstWeekStartDate(janFourth){switch(janFourth.getDay()){case 0:return new Date(janFourth.getFullYear()-1,11,29);case 1:return janFourth;case 2:return new Date(janFourth.getFullYear(),0,3);case 3:return new Date(janFourth.getFullYear(),0,2);case 4:return new Date(janFourth.getFullYear(),0,1);case 5:return new Date(janFourth.getFullYear()-1,11,31);case 6:return new Date(janFourth.getFullYear()-1,11,30)}}function getWeekBasedYear(date){var thisDate=__addDays(new Date(date.tm_year+1900,0,1),date.tm_yday);var janFourthThisYear=new Date(thisDate.getFullYear(),0,4);var janFourthNextYear=new Date(thisDate.getFullYear()+1,0,4);var firstWeekStartThisYear=getFirstWeekStartDate(janFourthThisYear);var firstWeekStartNextYear=getFirstWeekStartDate(janFourthNextYear);if(compareByDay(firstWeekStartThisYear,thisDate)<=0){if(compareByDay(firstWeekStartNextYear,thisDate)<=0){return thisDate.getFullYear()+1}else{return thisDate.getFullYear()}}else{return thisDate.getFullYear()-1}}var EXPANSION_RULES_2={"%a":function(date){return WEEKDAYS[date.tm_wday].substring(0,3)},"%A":function(date){return WEEKDAYS[date.tm_wday]},"%b":function(date){return MONTHS[date.tm_mon].substring(0,3)},"%B":function(date){return MONTHS[date.tm_mon]},"%C":function(date){var year=date.tm_year+1900;return leadingNulls(year/100|0,2)},"%d":function(date){return leadingNulls(date.tm_mday,2)},"%e":function(date){return leadingSomething(date.tm_mday,2," ")},"%g":function(date){return getWeekBasedYear(date).toString().substring(2)},"%G":function(date){return getWeekBasedYear(date)},"%H":function(date){return leadingNulls(date.tm_hour,2)},"%I":function(date){var twelveHour=date.tm_hour;if(twelveHour==0)twelveHour=12;else if(twelveHour>12)twelveHour-=12;return leadingNulls(twelveHour,2)},"%j":function(date){return leadingNulls(date.tm_mday+__arraySum(__isLeapYear(date.tm_year+1900)?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR,date.tm_mon-1),3)},"%m":function(date){return leadingNulls(date.tm_mon+1,2)},"%M":function(date){return leadingNulls(date.tm_min,2)},"%n":function(){return"\n"},"%p":function(date){if(date.tm_hour>=0&&date.tm_hour<12){return"AM"}else{return"PM"}},"%S":function(date){return leadingNulls(date.tm_sec,2)},"%t":function(){return"\t"},"%u":function(date){return date.tm_wday||7},"%U":function(date){var janFirst=new Date(date.tm_year+1900,0,1);var firstSunday=janFirst.getDay()===0?janFirst:__addDays(janFirst,7-janFirst.getDay());var endDate=new Date(date.tm_year+1900,date.tm_mon,date.tm_mday);if(compareByDay(firstSunday,endDate)<0){var februaryFirstUntilEndMonth=__arraySum(__isLeapYear(endDate.getFullYear())?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR,endDate.getMonth()-1)-31;var firstSundayUntilEndJanuary=31-firstSunday.getDate();var days=firstSundayUntilEndJanuary+februaryFirstUntilEndMonth+endDate.getDate();return leadingNulls(Math.ceil(days/7),2)}return compareByDay(firstSunday,janFirst)===0?"01":"00"},"%V":function(date){var janFourthThisYear=new Date(date.tm_year+1900,0,4);var janFourthNextYear=new Date(date.tm_year+1901,0,4);var firstWeekStartThisYear=getFirstWeekStartDate(janFourthThisYear);var firstWeekStartNextYear=getFirstWeekStartDate(janFourthNextYear);var endDate=__addDays(new Date(date.tm_year+1900,0,1),date.tm_yday);if(compareByDay(endDate,firstWeekStartThisYear)<0){return"53"}if(compareByDay(firstWeekStartNextYear,endDate)<=0){return"01"}var daysDifference;if(firstWeekStartThisYear.getFullYear()=0;off=Math.abs(off)/60;off=off/60*100+off%60;return(ahead?"+":"-")+String("0000"+off).slice(-4)},"%Z":function(date){return date.tm_zone},"%%":function(){return"%"}};for(var rule in EXPANSION_RULES_2){if(pattern.includes(rule)){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}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}var asmLibraryArg={"j":___assert_fail,"va":___clock_gettime,"F":___cxa_allocate_exception,"s":___cxa_begin_catch,"da":___cxa_call_unexpected,"y":___cxa_end_catch,"b":___cxa_find_matching_catch_2,"i":___cxa_find_matching_catch_3,"H":___cxa_free_exception,"M":___cxa_rethrow,"E":___cxa_throw,"bb":___cxa_uncaught_exceptions,"qa":___gmtime_r,"f":___resumeException,"ua":___sys_chdir,"W":___sys_fcntl64,"ta":___sys_getcwd,"Ca":___sys_getdents64,"sa":___sys_getuid32,"wa":___sys_ioctl,"xa":___sys_lstat64,"ya":___sys_mkdir,"Ba":___sys_mmap2,"Aa":___sys_munmap,"T":___sys_open,"ra":___sys_readlink,"X":___sys_rmdir,"za":___sys_stat64,"S":___sys_unlink,"ma":__emscripten_throw_longjmp,"w":_abort,"_a":_emscripten_memcpy_big,"$a":_emscripten_resize_heap,"pa":_emscripten_thread_sleep,"na":_environ_get,"oa":_environ_sizes_get,"D":_exit,"J":_fd_close,"V":_fd_read,"Za":_fd_seek,"R":_fd_write,"a":_getTempRet0,"aa":_getpwnam,"Oa":_getpwuid,"v":invoke_di,"_":invoke_dii,"K":invoke_diii,"Ea":invoke_fif,"la":invoke_fiii,"u":invoke_i,"e":invoke_ii,"N":invoke_iidd,"ja":invoke_iidddddd,"Na":invoke_iiddiii,"c":invoke_iii,"$":invoke_iiiddddd,"Qa":invoke_iiiddiii,"ba":invoke_iiiff,"Ra":invoke_iiiffff,"k":invoke_iiii,"l":invoke_iiiii,"Ga":invoke_iiiiid,"Wa":invoke_iiiiifi,"q":invoke_iiiiii,"Ma":invoke_iiiiiiddiiiii,"o":invoke_iiiiiii,"A":invoke_iiiiiiii,"G":invoke_iiiiiiiii,"La":invoke_iiiiiiiiii,"ea":invoke_iiiiiiiiiii,"Q":invoke_iiiiiiiiiiii,"fa":invoke_iiiiiiiiiiiiiiiiiiiiiiiiii,"Ya":invoke_jiiii,"p":invoke_v,"Ha":invoke_vdii,"d":invoke_vi,"ia":invoke_vid,"Va":invoke_vidddddddd,"O":invoke_viddi,"ka":invoke_vidi,"ga":invoke_vidii,"Sa":invoke_viffffi,"h":invoke_vii,"B":invoke_viid,"Ka":invoke_viidddd,"Ja":invoke_viiddddddi,"Fa":invoke_viif,"g":invoke_viii,"Z":invoke_viiid,"ca":invoke_viiiddiiiiii,"Ia":invoke_viiidi,"Pa":invoke_viiidiiiddddd,"n":invoke_viiii,"L":invoke_viiiid,"t":invoke_viiiii,"Y":invoke_viiiiid,"r":invoke_viiiiii,"z":invoke_viiiiiii,"U":invoke_viiiiiiii,"Xa":invoke_viiiiiiiii,"I":invoke_viiiiiiiiii,"Da":invoke_viiiiiiiiiiii,"P":invoke_viiiiiiiiiiiiiii,"Ta":js_free_id,"Ua":js_get_stream_id,"x":_llvm_eh_typeid_for,"C":_mktime,"m":_setTempRet0,"ab":_strftime_l,"ha":_time};var asm=createWasm();var ___wasm_call_ctors=Module["___wasm_call_ctors"]=function(){return(___wasm_call_ctors=Module["___wasm_call_ctors"]=Module["asm"]["db"]).apply(null,arguments)};var _malloc=Module["_malloc"]=function(){return(_malloc=Module["_malloc"]=Module["asm"]["eb"]).apply(null,arguments)};var _free=Module["_free"]=function(){return(_free=Module["_free"]=Module["asm"]["fb"]).apply(null,arguments)};var ___errno_location=Module["___errno_location"]=function(){return(___errno_location=Module["___errno_location"]=Module["asm"]["hb"]).apply(null,arguments)};var _InitializeFontsBin=Module["_InitializeFontsBin"]=function(){return(_InitializeFontsBin=Module["_InitializeFontsBin"]=Module["asm"]["ib"]).apply(null,arguments)};var _InitializeFontsBase64=Module["_InitializeFontsBase64"]=function(){return(_InitializeFontsBase64=Module["_InitializeFontsBase64"]=Module["asm"]["jb"]).apply(null,arguments)};var _SetFontBinary=Module["_SetFontBinary"]=function(){return(_SetFontBinary=Module["_SetFontBinary"]=Module["asm"]["kb"]).apply(null,arguments)};var _IsFontBinaryExist=Module["_IsFontBinaryExist"]=function(){return(_IsFontBinaryExist=Module["_IsFontBinaryExist"]=Module["asm"]["lb"]).apply(null,arguments)};var _GetType=Module["_GetType"]=function(){return(_GetType=Module["_GetType"]=Module["asm"]["mb"]).apply(null,arguments)};var _Open=Module["_Open"]=function(){return(_Open=Module["_Open"]=Module["asm"]["nb"]).apply(null,arguments)};var _Close=Module["_Close"]=function(){return(_Close=Module["_Close"]=Module["asm"]["ob"]).apply(null,arguments)};var _GetInfo=Module["_GetInfo"]=function(){return(_GetInfo=Module["_GetInfo"]=Module["asm"]["pb"]).apply(null,arguments)};var _GetPixmap=Module["_GetPixmap"]=function(){return(_GetPixmap=Module["_GetPixmap"]=Module["asm"]["qb"]).apply(null,arguments)};var _GetGlyphs=Module["_GetGlyphs"]=function(){return(_GetGlyphs=Module["_GetGlyphs"]=Module["asm"]["rb"]).apply(null,arguments)};var _GetLinks=Module["_GetLinks"]=function(){return(_GetLinks=Module["_GetLinks"]=Module["asm"]["sb"]).apply(null,arguments)};var _GetStructure=Module["_GetStructure"]=function(){return(_GetStructure=Module["_GetStructure"]=Module["asm"]["tb"]).apply(null,arguments)};var stackSave=Module["stackSave"]=function(){return(stackSave=Module["stackSave"]=Module["asm"]["ub"]).apply(null,arguments)};var stackRestore=Module["stackRestore"]=function(){return(stackRestore=Module["stackRestore"]=Module["asm"]["vb"]).apply(null,arguments)};var _setThrew=Module["_setThrew"]=function(){return(_setThrew=Module["_setThrew"]=Module["asm"]["wb"]).apply(null,arguments)};var ___cxa_can_catch=Module["___cxa_can_catch"]=function(){return(___cxa_can_catch=Module["___cxa_can_catch"]=Module["asm"]["xb"]).apply(null,arguments)};var ___cxa_is_pointer_type=Module["___cxa_is_pointer_type"]=function(){return(___cxa_is_pointer_type=Module["___cxa_is_pointer_type"]=Module["asm"]["yb"]).apply(null,arguments)};var dynCall_jiiii=Module["dynCall_jiiii"]=function(){return(dynCall_jiiii=Module["dynCall_jiiii"]=Module["asm"]["zb"]).apply(null,arguments)};function invoke_ii(index,a1){var sp=stackSave();try{return wasmTable.get(index)(a1)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iii(index,a1,a2){var sp=stackSave();try{return wasmTable.get(index)(a1,a2)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiii(index,a1,a2,a3){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viii(index,a1,a2,a3){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_vi(index,a1){var sp=stackSave();try{wasmTable.get(index)(a1)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiiii(index,a1,a2,a3,a4,a5){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3,a4,a5)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_vii(index,a1,a2){var sp=stackSave();try{wasmTable.get(index)(a1,a2)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiiii(index,a1,a2,a3,a4,a5){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4,a5)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiii(index,a1,a2,a3,a4){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3,a4)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiii(index,a1,a2,a3,a4){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiiiii(index,a1,a2,a3,a4,a5,a6){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4,a5,a6)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4,a5,a6,a7,a8,a9)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_v(index){var sp=stackSave();try{wasmTable.get(index)()}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiiiii(index,a1,a2,a3,a4,a5,a6){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3,a4,a5,a6)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiiifi(index,a1,a2,a3,a4,a5,a6){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3,a4,a5,a6)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viddi(index,a1,a2,a3,a4){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_vidi(index,a1,a2,a3){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiiiiii(index,a1,a2,a3,a4,a5,a6,a7){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3,a4,a5,a6,a7)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iidddddd(index,a1,a2,a3,a4,a5,a6,a7){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3,a4,a5,a6,a7)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_vid(index,a1,a2){var sp=stackSave();try{wasmTable.get(index)(a1,a2)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4,a5,a6,a7,a8)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiiiiii(index,a1,a2,a3,a4,a5,a6,a7){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4,a5,a6,a7)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iidd(index,a1,a2,a3){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_vidddddddd(index,a1,a2,a3,a4,a5,a6,a7,a8,a9){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4,a5,a6,a7,a8,a9)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_vidii(index,a1,a2,a3,a4){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiiiiiiiiiiiiiiiiiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_i(index){var sp=stackSave();try{return wasmTable.get(index)()}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3,a4,a5,a6,a7,a8)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiiddiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viffffi(index,a1,a2,a3,a4,a5,a6){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4,a5,a6)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiffff(index,a1,a2,a3,a4,a5,a6){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3,a4,a5,a6)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiff(index,a1,a2,a3,a4){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3,a4)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viid(index,a1,a2,a3){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiddiii(index,a1,a2,a3,a4,a5,a6,a7){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3,a4,a5,a6,a7)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiidiiiddddd(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiddiii(index,a1,a2,a3,a4,a5,a6){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3,a4,a5,a6)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiiiiddiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3,a4,a5,a6,a7,a8,a9)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiddddd(index,a1,a2,a3,a4,a5,a6,a7){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3,a4,a5,a6,a7)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_di(index,a1){var sp=stackSave();try{return wasmTable.get(index)(a1)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_dii(index,a1,a2){var sp=stackSave();try{return wasmTable.get(index)(a1,a2)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viidddd(index,a1,a2,a3,a4,a5,a6){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4,a5,a6)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiddddddi(index,a1,a2,a3,a4,a5,a6,a7,a8,a9){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4,a5,a6,a7,a8,a9)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiiid(index,a1,a2,a3,a4,a5){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4,a5)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiidi(index,a1,a2,a3,a4,a5){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4,a5)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiid(index,a1,a2,a3,a4){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_vdii(index,a1,a2,a3){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiiiid(index,a1,a2,a3,a4,a5,a6){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4,a5,a6)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiiid(index,a1,a2,a3,a4,a5){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3,a4,a5)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_diii(index,a1,a2,a3){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viif(index,a1,a2,a3){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_fif(index,a1,a2){var sp=stackSave();try{return wasmTable.get(index)(a1,a2)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiiiiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_fiii(index,a1,a2,a3){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiiiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiiiiiiiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_jiiii(index,a1,a2,a3,a4){var sp=stackSave();try{return dynCall_jiiii(index,a1,a2,a3,a4)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}var calledRun;function ExitStatus(status){this.name="ExitStatus";this.message="Program terminated with exit("+status+")";this.status=status}dependenciesFulfilled=function runCaller(){if(!calledRun)run();if(!calledRun)dependenciesFulfilled=runCaller};function run(args){args=args||arguments_;if(runDependencies>0){return}preRun();if(runDependencies>0){return}function doRun(){if(calledRun)return;calledRun=true;Module["calledRun"]=true;if(ABORT)return;initRuntime();if(Module["onRuntimeInitialized"])Module["onRuntimeInitialized"]();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){EXITSTATUS=status;if(keepRuntimeAlive()){}else{exitRuntime()}procExit(status)}function procExit(code){EXITSTATUS=code;if(!keepRuntimeAlive()){if(Module["onExit"])Module["onExit"](code);ABORT=true}quit_(code,new ExitStatus(code))}if(Module["preInit"]){if(typeof Module["preInit"]=="function")Module["preInit"]=[Module["preInit"]];while(Module["preInit"].length>0){Module["preInit"].pop()()}}run(); + + self.drawingFileCurrentPageIndex = -1; + self.fontStreams = {}; + self.drawingFile = null; function CBinaryReader(data, start, size) { @@ -251,6 +255,7 @@ this.nativeFile = Module["_Open"](_stream, data.length); this.stream = _stream; this.type = Module["_GetType"](_stream, data.length); + self.drawingFile = this; return this.getInfo(); }; CFile.prototype["getInfo"] = function() @@ -271,7 +276,8 @@ this.pages.push({ "W" : _buffer[_cur++], "H" : _buffer[_cur++], - "Dpi" : _buffer[_cur++] + "Dpi" : _buffer[_cur++], + fonts : [] }); } @@ -286,6 +292,7 @@ if (this.stream > 0) Module["_free"](this.stream); this.stream = -1; + self.drawingFile = null; }; CFile.prototype["getPages"] = function() @@ -295,7 +302,23 @@ CFile.prototype["getPagePixmap"] = function(pageIndex, width, height) { - return Module["_GetPixmap"](this.nativeFile, pageIndex, width, height); + if (this.pages[pageIndex].fonts.length > 0) + { + // ждем загрузки шрифтов для этой страницы + return null; + } + + self.drawingFileCurrentPageIndex = pageIndex; + var retValue = Module["_GetPixmap"](this.nativeFile, pageIndex, width, height); + self.drawingFileCurrentPageIndex = -1; + + if (this.pages[pageIndex].fonts.length > 0) + { + // ждем загрузки шрифтов для этой страницы + Module["_free"](retValue); + retValue = null; + } + return retValue; }; CFile.prototype["getGlyphs"] = function(pageIndex, width, height) { @@ -317,17 +340,17 @@ var prevY = -1; while (reader.isValid()) { - // xps - if (this.type == 2) - { - let _fontName = reader.readString(); - let _fontSize = reader.readDouble(); - let amount = reader.readInt(); - for (var i = 0; i < amount; i++) - { - let _X = reader.readDouble(); - let _Y = reader.readDouble(); - if (_Y != prevY) + // xps и pdf + if (this.type == 2 || this.type == 0) + { + let _fontName = reader.readString(); + let _fontSize = reader.readDouble(); + let amount = reader.readInt(); + for (var i = 0; i < amount; i++) + { + let _X = reader.readDouble(); + let _Y = reader.readDouble(); + if (_Y != prevY) { if (Line >= 0) this.pages[pageIndex].Lines[Line].Glyphs.sort(function(prev, next) { return prev.X - next.X; }); @@ -335,25 +358,25 @@ this.pages[pageIndex].Lines.push({ Glyphs : [] }); prevY = _Y; } - let _Char = reader.readInt(); - this.pages[pageIndex].Lines[Line].Glyphs.push({ + let _Char = reader.readInt(); + this.pages[pageIndex].Lines[Line].Glyphs.push({ fontName : _fontName, fontSize : _fontSize, X : _X * 1.015, Y : _Y * 1.015, UChar : String.fromCharCode(_Char) }); - } - } - // djvu - else - { + } + } + // djvu + else + { let _Word = reader.readString(); let _X = reader.readDouble(); let _Y = reader.readDouble(); let _W = reader.readDouble(); let _H = reader.readDouble(); - + Line++; this.pages[pageIndex].Lines.push({ Glyphs : [] }); for (let i = 0; i < _Word.length; i++) @@ -365,7 +388,7 @@ } this.pages[pageIndex].Lines[Line].Glyphs[0].Y = _Y + _H; this.pages[pageIndex].Lines[Line].Glyphs[0].fontSize = _H; - } + } } Module["_free"](glyphs); @@ -374,9 +397,9 @@ { var res = []; var ext = Module["_GetLinks"](this.nativeFile, pageIndex, width, height); - if (ext == 0) - return res; - + if (ext == 0) + return res; + var lenArray = new Int32Array(Module["HEAP8"].buffer, ext, 4); if (lenArray == null) return res; @@ -407,8 +430,8 @@ { var res = []; var str = Module["_GetStructure"](this.nativeFile); - if (str == 0) - return res; + if (str == 0) + return res; var lenArray = new Int32Array(Module["HEAP8"].buffer, str, 4); if (lenArray == null) return res; @@ -443,6 +466,145 @@ Module["_free"](pointer); }; - window["AscViewer"]["CDrawingFile"] = CFile; + self["AscViewer"]["CDrawingFile"] = CFile; + self["AscViewer"]["InitializeFonts"] = function() { + if (!window["g_fonts_selection_bin"]) + return; + var memoryBuffer = window["g_fonts_selection_bin"].toUtf8(); + var pointer = Module["_malloc"](memoryBuffer.length); + Module.HEAP8.set(memoryBuffer, pointer); + Module["_InitializeFontsBase64"](pointer, memoryBuffer.length); + Module["_free"](pointer); + delete window["g_fonts_selection_bin"]; + }; + self["AscViewer"]["Free"] = function(pointer) { + Module["_free"](pointer); + }; + + function addToArrayAsDictionary(arr, value) + { + var isFound = false; + for (var i = 0, len = arr.length; i < len; i++) + { + if (arr[i] == value) + { + isFound = true; + break; + } + } + if (!isFound) + arr.push(value); + return isFound; + } + + self["AscViewer"]["CheckStreamId"] = function(data, status) { + var lenArray = new Int32Array(Module["HEAP8"].buffer, data, 4); + var len = lenArray[0]; + len -= 4; + + var buffer = new Uint8Array(Module["HEAP8"].buffer, data + 4, len); + var reader = new CBinaryReader(buffer, 0, len); + + var name = reader.readString(); + var style = 0; + if (reader.readInt() != 0) + style |= 1;//AscFonts.FontStyle.FontStyleBold; + if (reader.readInt() != 0) + style |= 2;//AscFonts.FontStyle.FontStyleItalic; + + var file = AscFonts.pickFont(name, style); + var fileId = file.GetID(); + var fileStatus = file.GetStatus(); + + if (fileStatus == 0) + { + // шрифт загружен. + fontToMemory(file, true); + } + else + { + self.fontStreams[fileId] = self.fontStreams[fileId] || {}; + self.fontStreams[fileId].pages = self.fontStreams[fileId].pages || []; + addToArrayAsDictionary(self.fontStreams[fileId].pages, self.drawingFileCurrentPageIndex); + + if (self.drawingFile) + { + addToArrayAsDictionary(self.drawingFile.pages[self.drawingFileCurrentPageIndex].fonts, fileId); + } + + if (fileStatus != 2) + { + // шрифт не грузится - надо загрузить + var _t = file; + file.LoadFontAsync("../../../../fonts/", function(){ + fontToMemory(_t, true); + + var pages = self.fontStreams[fileId].pages; + delete self.fontStreams[fileId]; + var pagesRepaint = []; + for (var i = 0, len = pages.length; i < len; i++) + { + var pageObj = self.drawingFile.pages[pages[i]]; + var fonts = pageObj.fonts; + + for (var j = 0, len_fonts = fonts.length; j < len_fonts; j++) + { + if (fonts[j] == fileId) + { + fonts.splice(j, 1); + break; + } + } + if (0 == fonts.length) + pagesRepaint.push(pages[i]); + } + + if (pagesRepaint.length > 0) + { + if (self.drawingFile.onRepaintPages) + self.drawingFile.onRepaintPages(pagesRepaint); + } + }); + } + } + + var memoryBuffer = fileId.toUtf8(); + var pointer = Module["_malloc"](memoryBuffer.length); + Module.HEAP8.set(memoryBuffer, pointer); + Module["HEAP8"][status] = (fileStatus == 0) ? 1 : 0; + return pointer; + }; + + function fontToMemory(file, isCheck) + { + var idBuffer = file.GetID().toUtf8(); + var idPointer = Module["_malloc"](idBuffer.length); + Module["HEAP8"].set(idBuffer, idPointer); + + if (isCheck) + { + var nExist = Module["_IsFontBinaryExist"](idPointer); + if (nExist != 0) + { + Module["_free"](idPointer); + return; + } + } + + var stream_index = file.GetStreamIndex(); + var streams = AscFonts.getFontStreams(); + + var stream = AscFonts.getFontStream(stream_index); + var streamPointer = Module["_malloc"](stream.size); + Module["HEAP8"].set(stream.data, streamPointer); + + streams[stream_index] = null; + streams[stream_index] = streamPointer; + + Module["_SetFontBinary"](idPointer, streamPointer, stream.size); + + Module["_free"](streamPointer); + Module["_free"](idPointer); + } })(window, undefined); diff --git a/pdf/src/engine/drawingfile.js.mem b/pdf/src/engine/drawingfile.js.mem index fdea603964..27c05e78d1 100644 Binary files a/pdf/src/engine/drawingfile.js.mem and b/pdf/src/engine/drawingfile.js.mem differ diff --git a/pdf/src/engine/drawingfile.wasm b/pdf/src/engine/drawingfile.wasm index 6ce51a9b6c..012d9d19b5 100644 Binary files a/pdf/src/engine/drawingfile.wasm and b/pdf/src/engine/drawingfile.wasm differ diff --git a/pdf/src/engine/drawingfile_ie.js b/pdf/src/engine/drawingfile_ie.js index 1255214409..ac9d081cc4 100644 --- a/pdf/src/engine/drawingfile_ie.js +++ b/pdf/src/engine/drawingfile_ie.js @@ -73,13 +73,13 @@ return getBinaryPromise2(); } } - - function getMemoryPathIE(name) - { - if (self["AscViewer"] && self["AscViewer"]["baseUrl"]) - return self["AscViewer"]["baseUrl"] + name; - return name; - } + + function getMemoryPathIE(name) + { + if (self["AscViewer"] && self["AscViewer"]["baseUrl"]) + return self["AscViewer"]["baseUrl"] + name; + return name; + } var ob;function pb(h){var f=0;return function(){return f>>8;c=w[1712]|w[1713]<<8|(w[1714]<<16|w[1715]<<24);b=w[1708]|w[1709]<<8|(w[1710]<<16|w[1711]<<24);t[a+80|0]=b;t[a+81|0]=b>>>8;t[a+82|0]=b>>>16;t[a+83|0]=b>>>24;t[a+84|0]=c;t[a+85|0]=c>>>8;t[a+86|0]=c>>>16;t[a+87|0]=c>>>24;c=w[1704]|w[1705]<<8|(w[1706]<<16|w[1707]<<24);b=w[1700]|w[1701]<<8|(w[1702]<<16|w[1703]<<24);t[a+72|0]=b;t[a+73|0]=b>>>8;t[a+74|0]=b>>>16;t[a+75|0]=b>>>24;t[a+76|0]=c;t[a+77|0]=c>>>8;t[a+78|0]=c>>>16;t[a+79|0]=c>>>24;return 0}sa=Qa[v[v[b>>2]+24>>2]](b)|0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{if(c>>>0<=1){h=ab(976);ga=Ge(h,1);v[h>>2]=39340;gh(ga,a);o=Ma-112|0;Ma=o;d=0;z:{if(!b){break z}n=Qa[v[v[b>>2]+24>>2]](b)|0;A:{B:{C:{D:{E:{if(!(Qa[v[v[b>>2]+12>>2]](b,o+96|0,14,1,0,0)|0)){Sb(h+72|0,2930,255);break E}d=pj(h,x[o+98>>1]|x[o+100>>1]<<16);u[o+98>>1]=d;u[o+100>>1]=d>>>16;d=pj(h,x[o+106>>1]|x[o+108>>1]<<16);u[o+106>>1]=d;u[o+108>>1]=d>>>16;d=u[o+96>>1];if(((w[h+494|0]?d:d<<8|(d&65280)>>>8)&65535)!=19778){u[o+106>>1]=0;u[o+108>>1]=0;Qa[v[v[b>>2]+20>>2]](b,n,0)|0}g=o+56|0;F:{if(!b|!g){break F}if(!(Qa[v[v[b>>2]+12>>2]](b,g,40,1,0,0)|0)){break F}up(h,g);d=b;G:{H:{I:{J:{i=w[g|0]|w[g+1|0]<<8|(w[g+2|0]<<16|w[g+3|0]<<24);if((i|0)<=63){if((i|0)==12){break J}if((i|0)==40){break G}break I}f=24;if((i|0)==64){break H}if((i|0)!=124){break I}f=84;break H}t[g+16|0]=0;t[g+17|0]=0;t[g+18|0]=0;t[g+19|0]=0;t[g+20|0]=0;t[g+21|0]=0;t[g+22|0]=0;t[g+23|0]=0;e=w[g+8|0]|w[g+9|0]<<8|(w[g+10|0]<<16|w[g+11|0]<<24);t[g+12|0]=e;t[g+13|0]=e>>>8;t[g+14|0]=e>>>16;t[g+15|0]=e>>>24;e=w[g+6|0]|w[g+7|0]<<8;t[g+8|0]=e;t[g+9|0]=e>>>8;t[g+10|0]=e>>>16;t[g+11|0]=e>>>24;e=w[g+4|0]|w[g+5|0]<<8;t[g+4|0]=e;t[g+5|0]=e>>>8;t[g+6|0]=e>>>16;t[g+7|0]=e>>>24;t[g+24|0]=0;t[g+25|0]=0;t[g+26|0]=0;t[g+27|0]=0;t[g+28|0]=0;t[g+29|0]=0;t[g+30|0]=0;t[g+31|0]=0;t[g+32|0]=0;t[g+33|0]=0;t[g+34|0]=0;t[g+35|0]=0;t[g+36|0]=0;t[g+37|0]=0;t[g+38|0]=0;t[g+39|0]=0;f=-28;break H}if(i>>>0<41|(w[g+20|0]|w[g+21|0]<<8|(w[g+22|0]<<16|w[g+23|0]<<24))>>>0>>0|(w[g+32|0]|w[g+33|0]<<8|(w[g+34|0]<<16|w[g+35|0]<<24)|(w[g+12|0]|w[g+13|0]<<8)!=1)){break F}if(w[g+16|0]|w[g+17|0]<<8|(w[g+18|0]<<16|w[g+19|0]<<24)){break G}f=i-40|0}Qa[v[v[b>>2]+20>>2]](d,f,1)|0}if(!(w[g+20|0]|w[g+21|0]<<8|(w[g+22|0]<<16|w[g+23|0]<<24))){d=B(B(w[g+4|0]|w[g+5|0]<<8|(w[g+6|0]<<16|w[g+7|0]<<24),w[g+14|0]|w[g+15|0]<<8)+31>>>3&536870908,w[g+8|0]|w[g+9|0]<<8|(w[g+10|0]<<16|w[g+11|0]<<24));t[g+20|0]=d;t[g+21|0]=d>>>8;t[g+22|0]=d>>>16;t[g+23|0]=d>>>24}e=1;if(w[g+32|0]|w[g+33|0]<<8|(w[g+34|0]<<16|w[g+35|0]<<24)){break F}d=w[g+14|0]|w[g+15|0]<<8;d=d>>>0<9?1<>>8;t[g+34|0]=d>>>16;t[g+35|0]=d>>>24}if(!e){Sb(h+72|0,5464,255);break E}m=v[o+64>>2];e=m;if((e|0)<=-1){e=0-m|0;v[o+64>>2]=e}d=v[o+60>>2];if(v[h+332>>2]==-1){v[h+68>>2]=1;v[h+20>>2]=e;v[h+16>>2]=d;Sb(h+72|0,10331,255);break E}f=v[o+56>>2];p=v[o+72>>2];i=x[o+70>>1];if(!Cf(h,d,e,i,1)){break E}d=h;ea=H(+v[o+80>>2]*254/1e4+.5);K:{if(D(ea)<2147483648){e=~~ea;break K}e=-2147483648}bl(d,e);d=h;ea=H(+v[o+84>>2]*254/1e4+.5);L:{if(D(ea)<2147483648){e=~~ea;break L}e=-2147483648}_n(d,e);if(v[h+332>>2]){Sb(h+72|0,13635,255);break E}d=v[h+4>>2];j=d?v[h+44>>2]?d+40|0:0:0;M:{if(!j){break M}e=v[o+88>>2];d=x[o+70>>1];d=e?e:d>>>0<9?1<>2]+12>>2]](b,j,B(d,3),1,v[h+4>>2],v[h+8>>2])|0;d=v[h+44>>2];N:{if(!d){d=x[h+26>>1];if(d>>>0>8){break M}d=1<1;d=e;if(f){continue}break}break M}Qa[v[v[b>>2]+12>>2]](b,j,d<<2,1,v[h+4>>2],v[h+8>>2])|0;e=v[h+44>>2];if(!e){break M}g=e&7;d=0;if(e-1>>>0>=7){K=e&-8;while(1){e=d<<2;t[(e+j|0)+3|0]=0;t[(j+(e|4)|0)+3|0]=0;t[(j+(e|8)|0)+3|0]=0;t[(j+(e|12)|0)+3|0]=0;t[(j+(e|16)|0)+3|0]=0;t[(j+(e|20)|0)+3|0]=0;t[(j+(e|24)|0)+3|0]=0;t[(j+(e|28)|0)+3|0]=0;d=d+8|0;K=K-8|0;if(K){continue}break}}if(!g){break M}while(1){t[(j+(d<<2)|0)+3|0]=0;d=d+1|0;g=g-1|0;if(g){continue}break}}if(v[h+332>>2]){Sb(h+72|0,13635,255);break E}O:{P:{Q:{R:{switch(i-1|0){case 31:S:{if((p|0)==3){Qa[v[v[b>>2]+12>>2]](b,o+44|0,12,1,0,0)|0;break S}v[o+52>>2]=255;v[o+44>>2]=16711680;v[o+48>>2]=65280}d=x[o+106>>1]|x[o+108>>1]<<16;if(d){Qa[v[v[b>>2]+20>>2]](b,d+n|0,0)|0}T:{switch(p|0){case 0:case 3:d=B(v[h+20>>2],v[h+16>>2])<<2;j=gb(d);if(!j){break Q}Qa[v[v[b>>2]+12>>2]](b,j,d,1,0,0)|0;U:{if(p){break U}Fi(h);if(!v[h+964>>2]){break U}k=v[h+20>>2];V:{if((k|0)<1){break V}g=v[h+16>>2];if((g|0)<=0){break V}n=j+3|0;d=0;i=0;while(1){if((g|0)>=1){k=n+(B(d,g)<<2)|0;e=0;while(1){f=w[k|0];ah(h,e,d,f);k=k+4|0;i=(f|0)!=0|i;e=e+1|0;g=v[h+16>>2];if((e|0)<(g|0)){continue}break}k=v[h+20>>2]}d=d+1|0;if((k|0)>(d|0)){continue}break}if(i&1){break U}}i=v[h+964>>2];W:{if(!i){break W}d=B(v[h+16>>2],v[h+20>>2]);if((d|0)<1){break W}e=d&3;if(d-1>>>0>=3){d=d&-4;while(1){t[i|0]=w[i|0]^-1;t[i+1|0]=w[i+1|0]^-1;t[i+2|0]=w[i+2|0]^-1;t[i+3|0]=w[i+3|0]^-1;i=i+4|0;d=d-4|0;if(d){continue}break}}if(!e){break W}while(1){t[i|0]=w[i|0]^-1;i=i+1|0;e=e-1|0;if(e){continue}break}}}$Q(h,j,v[o+44>>2],v[o+48>>2],v[o+52>>2],32);$a(j);if((m|0)<0){break B}break A;default:break T}}Sb(h+72|0,18132,255);break E;case 23:d=x[o+106>>1]|x[o+108>>1]<<16;if(d){Qa[v[v[b>>2]+20>>2]](b,d+n|0,0)|0}if(!p){Qa[v[v[b>>2]+12>>2]](b,v[h+56>>2],v[h+32>>2],1,v[h+4>>2],v[h+8>>2])|0;break C}Sb(h+72|0,18132,255);break E;case 15:X:{if((p|0)==3){Qa[v[v[b>>2]+12>>2]](b,o+16|0,12,1,0,0)|0;break X}v[o+24>>2]=31;v[o+16>>2]=31744;v[o+20>>2]=992}d=x[o+106>>1]|x[o+108>>1]<<16;if(d){Qa[v[v[b>>2]+20>>2]](b,d+n|0,0)|0}Qa[v[v[b>>2]+12>>2]](b,v[h+56>>2],B(v[h+20>>2],(v[h+16>>2]+1|0)/2|0)<<2,1,v[h+4>>2],v[h+8>>2])|0;$Q(h,v[h+56>>2],v[o+16>>2],v[o+20>>2],v[o+24>>2],16);break C;case 0:case 3:case 7:break R;default:break C}}d=x[o+106>>1]|x[o+108>>1]<<16;Y:{if(!d){break Y}d=d+n|0;if(d>>>0>2]){break Y}Qa[v[v[b>>2]+20>>2]](b,d,0)|0}Z:{switch(p|0){case 1:break D;case 0:break P;case 2:break Z;default:break O}}t[o+43|0]=0;t[o+42|0]=0;v[o+36>>2]=h;d=Ud(h,0);v[o+24>>2]=0;v[o+28>>2]=0;v[o+16>>2]=0;v[o+20>>2]=0;v[o+32>>2]=d;if(!(Qa[v[v[b>>2]+12>>2]](b,o+43|0,1,1,0,0)|0)){break C}g=0;e=0;while(1){_:{$:{if(!w[o+43|0]){Qa[v[v[b>>2]+12>>2]](b,o+43|0,1,1,0,0)|0;aa:{switch(w[o+43|0]){case 0:k=k+1|0;g=0;e=0;break _;case 2:Qa[v[v[b>>2]+12>>2]](b,o+15|0,1,1,0,0)|0;Qa[v[v[b>>2]+12>>2]](b,o+14|0,1,1,0,0)|0;k=w[o+14|0]+k|0;g=(w[o+15|0]>>>1|0)+g|0;break _;case 1:break C;default:break aa}}i=0;Qa[v[v[b>>2]+12>>2]](b,o+42|0,1,1,0,0)|0;f=eC(o+16|0,k);if(!w[o+43|0]){break _}while(1){ba:{ca:{da:{j=f+g|0;if(j>>>0>=v[h+56>>2]+v[h+32>>2]>>>0){d=i&1;break da}d=i&1;n=w[o+42|0];if(e){t[j|0]=w[j|0]|(d?n&15:(n&240)>>>4|0);g=g+1|0;break da}if(d){t[j|0]=n<<4;break ca}t[j|0]=n&240;break ba}if(!d){break ba}}if((w[o+43|0]-1|0)==(i|0)){break ba}Qa[v[v[b>>2]+12>>2]](b,o+42|0,1,1,0,0)|0}e=!e;i=i+1|0;d=w[o+43|0];if(i>>>0>>0){continue}break}break $}d=eC(o+16|0,k);i=0;Qa[v[v[b>>2]+12>>2]](b,o+42|0,1,1,0,0)|0;if(!w[o+43|0]){break _}while(1){j=d+g|0;ea:{if(j>>>0>=v[h+56>>2]+v[h+32>>2]>>>0){break ea}f=i&1;n=w[o+42|0];if(e){t[j|0]=w[j|0]|(f?n&15:(n&240)>>>4|0);g=g+1|0;break ea}if(f){t[j|0]=n<<4;break ea}t[j|0]=n&240}e=!e;i=i+1|0;if(i>>>0>2]+12>>2]](b,o+42|0,1,1,0,0)|0}if(Qa[v[v[b>>2]+12>>2]](b,o+43|0,1,1,0,0)|0){continue}break}break C}Sb(h+72|0,15133,255);break E}Qa[v[v[b>>2]+12>>2]](b,v[h+56>>2],v[h+32>>2],1,v[h+4>>2],v[h+8>>2])|0;break C}Sb(h+72|0,20878,255)}d=v[h+332>>2]==-1&v[h+68>>2]==1;break z}g=0;t[o+43|0]=0;t[o+42|0]=0;v[o+36>>2]=h;d=Ud(h,0);v[o+24>>2]=0;v[o+28>>2]=0;v[o+16>>2]=0;v[o+20>>2]=0;v[o+32>>2]=d;if(!(Qa[v[v[b>>2]+12>>2]](b,o+43|0,1,1,0,0)|0)){break C}e=0;while(1){fa:{if(!w[o+43|0]){Qa[v[v[b>>2]+12>>2]](b,o+43|0,1,1,0,0)|0;ga:{switch(w[o+43|0]){case 0:g=g+1|0;e=0;break fa;case 2:Qa[v[v[b>>2]+12>>2]](b,o+15|0,1,1,0,0)|0;Qa[v[v[b>>2]+12>>2]](b,o+14|0,1,1,0,0)|0;g=w[o+14|0]+g|0;e=w[o+15|0]+e|0;break fa;case 1:break C;default:break ga}}Da=b,Ea=eC(o+16|0,g)+e|0,Fa=w[o+43|0],Ga=1,Ha=v[h+4>>2],Ia=v[h+8>>2],Ca=v[v[b>>2]+12>>2],Qa[Ca](Da|0,Ea|0,Fa|0,Ga|0,Ha|0,Ia|0)|0;d=w[o+43|0];if(d&1){Qa[v[v[b>>2]+12>>2]](b,o+42|0,1,1,0,0)|0;d=w[o+43|0]}e=(d&255)+e|0;break fa}f=eC(o+16|0,g);i=0;Qa[v[v[b>>2]+12>>2]](b,o+42|0,1,1,0,0)|0;if(!w[o+43|0]){break fa}while(1){d=e+f|0;if(d>>>0>=v[h+56>>2]+v[h+32>>2]>>>0){break fa}t[d|0]=w[o+42|0];e=e+1|0;i=i+1|0;if(i>>>0>2]+12>>2]](b,o+43|0,1,1,0,0)|0){continue}break}}if((m|0)>-1){break A}}dC(h);d=1;break z}d=1}Ma=o+112|0;if(!d){break y}break b}switch(c-3|0){case 2:break w;case 0:break x;default:break v}}od(a+72|0,ga+72|0);Qa[v[v[b>>2]+20>>2]](b,sa,0)|0;Qa[v[v[h>>2]+4>>2]](h);if(c){break c}}ga=ab(1e3);h=SM(ga);gh(h,a);F=Ma-848|0;Ma=F;k=gb(40);v[k>>2]=0;v[296803]=0;K=T(1,516)|0;d=v[296803];v[296803]=0;f=-1;m=4;ha:{ia:{ja:{if(!d){break ja}g=v[296804];if(!g){break ja}f=pb(v[d>>2],k,4);if(!f){break ia}Q(g|0)}d=P()|0;ka:{if((f|0)==1){break ka}v[296803]=0;Y(2,K|0,h+496|0)|0;d=v[296803];v[296803]=0;f=-1;la:{if(!d){break la}g=v[296804];if(!g){break la}f=pb(v[d>>2],k,4);if(!f){break ia}Q(g|0)}d=P()|0;if((f|0)==1){break ka}v[h+976>>2]=K;d=v[v[b>>2]+24>>2];v[296803]=0;K=T(d|0,b|0)|0;d=v[296803];v[296803]=0;f=-1;ma:{if(!d){break ma}g=v[296804];if(!g){break ma}f=pb(v[d>>2],k,4);if(!f){break ia}Q(g|0)}d=P()|0;if((f|0)==1){break ka}d=v[h+976>>2];v[296803]=0;W(3,d|0,b|0,1)|0;d=v[296803];v[296803]=0;f=-1;na:{if(!d){break na}g=v[296804];if(!g){break na}f=pb(v[d>>2],k,4);if(!f){break ia}Q(g|0)}d=P()|0;if((f|0)==1){break ka}d=v[v[b>>2]+20>>2];v[296803]=0;W(d|0,b|0,K|0,0)|0;d=v[296803];v[296803]=0;f=-1;oa:{if(!d){break oa}g=v[296804];if(!g){break oa}f=pb(v[d>>2],k,4);if(!f){break ia}Q(g|0)}d=P()|0;if((f|0)==1){break ka}K=w[v[v[h+976>>2]>>2]+460|0];v[296803]=0;Ud(h,0);d=v[296803];v[296803]=0;f=-1;pa:{if(!d){break pa}g=v[296804];if(!g){break pa}f=pb(v[d>>2],k,4);if(!f){break ia}Q(g|0)}aa=!K;d=P()|0;if((f|0)==1){break ka}v[296803]=0;v[F+352>>2]=h+72;K=cp(F- -64|0);d=v[296803];v[296803]=0;f=-1;qa:{if(!d){break qa}g=v[296804];if(!g){break qa}f=pb(v[d>>2],k,4);if(!f){break ia}Q(g|0)}d=P()|0;if((f|0)==1){break ka}v[F+64>>2]=6;v[F+360>>2]=K;v[F+44>>2]=7;v[F+40>>2]=8;v[F+36>>2]=9;v[F+32>>2]=10;v[F+28>>2]=11;v[296803]=0;v[F+16>>2]=12;v[F+12>>2]=13;v[F+8>>2]=14;v[F+48>>2]=b;v[F+20>>2]=0;v[F+24>>2]=0;e=T(15,4096)|0;d=v[296803];v[296803]=0;f=-1;ra:{if(!d){break ra}g=v[296804];if(!g){break ra}f=pb(v[d>>2],k,4);if(!f){break ia}Q(g|0)}d=P()|0;if((f|0)==1){break ka}v[F+52>>2]=e;K=F+52|0;da=F+196|0;k=be(da,1,k,4);m=P()|0;d=0}sa:while(1){i=d;ta:{ua:{if(d){break ua}v[296803]=0;X(16,F+360|0,80,488);d=v[296803];v[296803]=0;f=-1;va:{if(!d){break va}g=v[296804];if(!g){break va}f=pb(v[d>>2],k,m);if(!f){break ia}Q(g|0)}d=P()|0;if((f|0)==1){continue}v[296803]=0;v[F+384>>2]=F+20;Y(17,F+360|0,1)|0;d=v[296803];v[296803]=0;f=-1;wa:{if(!d){break wa}g=v[296804];if(!g){break wa}f=pb(v[d>>2],k,m);if(!f){break ia}Q(g|0)}d=P()|0;if((f|0)==1){continue}v[296803]=0;f=Tm(h,3);d=v[296803];v[296803]=0;j=-1;xa:{if(!d){break xa}g=v[296804];if(!g){break xa}j=pb(v[d>>2],k,m);if(!j){break ia}Q(g|0)}d=P()|0;if((j|0)==1){continue}if(f&128){v[F+404>>2]=1}if(f&256){v[296803]=0;v[F+444>>2]=1;fa=C(z[h+344>>2]+C(.5));ya:{if(fa=C(0)){e=~~fa>>>0;break ya}e=0}d=v[296803];v[296803]=0;j=-1;za:{if(!d){break za}g=v[296804];if(!g){break za}j=pb(v[d>>2],k,m);if(!j){break ia}Q(g|0)}d=P()|0;if((j|0)==1){continue}v[F+456>>2]=e}if(f&512){v[F+448>>2]=v[h+996>>2]}if(f&1024){v[F+452>>2]=0}if(f&2048){v[F+436>>2]=0}v[296803]=0;v[F+408>>2]=1;e=w[h+348|0];d=v[296803];v[296803]=0;f=-1;Aa:{if(!d){break Aa}g=v[296804];if(!g){break Aa}f=pb(v[d>>2],k,m);if(!f){break ia}Q(g|0)}d=P()|0;if((f|0)==1){continue}v[F+412>>2]=e;f=-1;if(v[h+332>>2]==-1){v[296803]=0;U(21,F+360|0);d=v[296803];v[296803]=0;Ba:{if(!d){break Ba}g=v[296804];if(!g){break Ba}f=pb(v[d>>2],k,m);if(!f){break ia}Q(g|0)}d=P()|0;if((f|0)==1){continue}v[h+16>>2]=v[F+472>>2];d=v[F+476>>2];v[h+68>>2]=3;v[h+20>>2]=d;break ua}v[296803]=0;T(22,F+360|0)|0;d=v[296803];v[296803]=0;Ca:{if(!d){break Ca}g=v[296804];if(!g){break Ca}f=pb(v[d>>2],k,m);if(!f){break ia}Q(g|0)}d=P()|0;if((f|0)==1){continue}v[296803]=0;ba(23,h|0,v[F+472>>2],v[F+476>>2],v[F+484>>2]<<3,3)|0;d=v[296803];v[296803]=0;f=-1;Da:{if(!d){break Da}g=v[296804];if(!g){break Da}f=pb(v[d>>2],k,m);if(!f){break ia}Q(g|0)}d=P()|0;if((f|0)==1){continue}if(!v[h+4>>2]){v[296803]=0;R(24,da|0,1);d=v[296803];v[296803]=0;Ea:{if(!d){break Ea}g=v[296804];if(!g){break Ea}if(!pb(v[d>>2],k,m)){break ia}Q(g|0)}d=P()|0;continue}Fa:{Ga:{if(!aa){ua=z[h+676>>2];Ha:{if(ua==C(0)){break Ha}fa=z[h+684>>2];if(fa==C(0)){break Ha}v[296803]=0;d=h;fa=C(ua/fa);Ia:{if(C(D(fa))>2],k,m);if(!f){break ia}Q(g|0)}d=P()|0;if((f|0)==1){continue}}ua=z[h+680>>2];if(ua==C(0)){break Fa}fa=z[h+684>>2];if(fa==C(0)){break Fa}fa=C(ua/fa);if(C(D(fa))>1]|!x[F+652>>1]){break Fa}v[296803]=0;e=v[h+364>>2];d=v[296803];v[296803]=0;f=-1;La:{if(!d){break La}g=v[296804];if(!g){break La}f=pb(v[d>>2],k,m);if(!f){break ia}Q(g|0)}d=P()|0;if((f|0)==1){continue}fa=C(C(C(x[F+654>>1])/C(x[F+652>>1]))*C(e|0));if(C(D(fa))>1]*2.54+.5);Ma:{if(D(ea)<2147483648){e=~~ea;break Ma}e=-2147483648}bl(d,e);d=v[296803];v[296803]=0;f=-1;Na:{if(!d){break Na}g=v[296804];if(!g){break Na}f=pb(v[d>>2],k,m);if(!f){break ia}Q(g|0)}d=P()|0;if((f|0)==1){continue}ea=H(+x[F+654>>1]*2.54+.5);if(D(ea)<2147483648){d=~~ea;break Ga}d=-2147483648;break Ga;default:break Ka}}v[296803]=0;bl(h,x[F+652>>1]);d=v[296803];v[296803]=0;f=-1;Oa:{if(!d){break Oa}g=v[296804];if(!g){break Oa}f=pb(v[d>>2],k,m);if(!f){break ia}Q(g|0)}d=P()|0;if((f|0)==1){continue}d=x[F+654>>1]}v[296803]=0;_n(h,d);d=v[296803];v[296803]=0;f=-1;Pa:{if(!d){break Pa}g=v[296804];if(!g){break Pa}f=pb(v[d>>2],k,m);if(!f){break ia}Q(g|0)}d=P()|0;if((f|0)==1){continue}}e=h;Qa:{if(v[F+404>>2]==1){v[296803]=0;cr(h);d=v[296803];v[296803]=0;f=-1;Ra:{if(!d){break Ra}g=v[296804];if(!g){break Ra}f=pb(v[d>>2],k,m);if(!f){break ia}Q(g|0)}d=P()|0;if((f|0)==1){continue}d=256;break Qa}d=0;if(!v[F+444>>2]){break Qa}d=v[F+496>>2];g=v[d+8>>2];f=v[d+4>>2];d=v[d>>2];v[296803]=0;UL(h,v[F+492>>2],d,f,g);d=v[296803];v[296803]=0;f=-1;Sa:{if(!d){break Sa}g=v[296804];if(!g){break Sa}f=pb(v[d>>2],k,m);if(!f){break ia}Q(g|0)}d=P()|0;if((f|0)==1){continue}d=v[F+492>>2]}v[e+44>>2]=d;d=v[v[F+364>>2]+8>>2];v[296803]=0;M=B(v[F+484>>2],v[F+472>>2]);r=V(d|0,F+360|0,1,M|0,1)|0;d=v[296803];v[296803]=0;f=-1;Ta:{if(!d){break Ta}g=v[296804];if(!g){break Ta}f=pb(v[d>>2],k,m);if(!f){break ia}Q(g|0)}d=P()|0;if((f|0)==1){continue}v[296803]=0;p=v[h+20>>2];d=v[296803];v[296803]=0;f=-1;Ua:{if(!d){break Ua}g=v[296804];if(!g){break Ua}f=pb(v[d>>2],k,m);if(!f){break ia}Q(g|0)}d=P()|0;if((f|0)==1){continue}v[296803]=0;j=Ud(h,0);d=v[296803];v[296803]=0;f=-1;Va:{if(!d){break Va}g=v[296804];if(!g){break Va}f=pb(v[d>>2],k,m);if(!f){break ia}Q(g|0)}d=P()|0;if((f|0)==1){continue}v[296803]=0;n=v[h+52>>2];d=v[296803];v[296803]=0;f=-1;Wa:{if(!d){break Wa}g=v[296804];if(!g){break Wa}f=pb(v[d>>2],k,m);if(!f){break ia}Q(g|0)}d=P()|0;if((f|0)==1){continue}v[296803]=0;e=v[h+20>>2];d=v[296803];v[296803]=0;f=-1;Xa:{if(!d){break Xa}g=v[296804];if(!g){break Xa}f=pb(v[d>>2],k,m);if(!f){break ia}Q(g|0)}d=P()|0;if((f|0)==1){continue}q=-1;Ya:{if(y[F+500>>2]>=y[F+476>>2]){break Ya}o=p-1|0;E=j+B(n,e-1|0)|0;if((M|0)<=0){while(1){if(v[h+332>>2]){break ta}v[296803]=0;W(32,F+360|0,r|0,1)|0;d=v[296803];v[296803]=0;f=-1;Za:{if(!d){break Za}g=v[296804];if(!g){break Za}f=pb(v[d>>2],k,m);if(!f){break ia}Q(g|0)}d=P()|0;if((f|0)==1){continue sa}_a:{if(v[F+444>>2]?0:v[F+396>>2]==4){break _a}e=v[r>>2];v[296803]=0;f=v[h+52>>2];d=v[296803];v[296803]=0;j=-1;$a:{if(!d){break $a}g=v[296804];if(!g){break $a}j=pb(v[d>>2],k,m);if(!j){break ia}Q(g|0)}d=P()|0;if((j|0)==1){continue sa}if(!E|!e){break _a}d=(M|0)<0?f:(f|0)<(M|0)?f:M;if((d|0)<1){break _a}cb(E,e,d)}if((o|0)>=1){v[296803]=0;e=v[h+52>>2];d=v[296803];v[296803]=0;f=-1;ab:{if(!d){break ab}g=v[296804];if(!g){break ab}f=pb(v[d>>2],k,m);if(!f){break ia}Q(g|0)}d=P()|0;if((f|0)==1){continue sa}E=E-e|0}o=o-1|0;if(y[F+500>>2]>2]){continue}break Ya}}while(1){if(v[h+332>>2]){break ta}v[296803]=0;W(32,F+360|0,r|0,1)|0;d=v[296803];v[296803]=0;f=-1;bb:{if(!d){break bb}g=v[296804];if(!g){break bb}f=pb(v[d>>2],k,m);if(!f){break ia}Q(g|0)}d=P()|0;if((f|0)==1){continue sa}j=v[r>>2];cb:{if(!(v[F+444>>2]|v[F+396>>2]!=4)){d=0;g=0;if(v[h+52>>2]<1){break cb}while(1){f=g+E|0;e=w[j+(d|3)|0];t[f|0]=(B(e,w[j+(d|2)|0])>>>0)/255;t[f+1|0]=(B(e,w[j+(d|1)|0])>>>0)/255;t[f+2|0]=(B(e,w[d+j|0])>>>0)/255;g=g+3|0;if((g|0)>=v[h+52>>2]){break cb}d=d+4|0;if((M|0)>(d|0)){continue}break}break cb}v[296803]=0;e=v[h+52>>2];d=v[296803];v[296803]=0;n=-1;db:{if(!d){break db}g=v[296804];if(!g){break db}n=pb(v[d>>2],k,m);if(!n){break ia}Q(g|0)}d=P()|0;if((n|0)==1){continue sa}if(!E|!j){break cb}d=(M|0)<0?e:(e|0)<(M|0)?e:M;if((d|0)<1){break cb}cb(E,j,d)}if((o|0)>=1){v[296803]=0;e=v[h+52>>2];d=v[296803];v[296803]=0;f=-1;eb:{if(!d){break eb}g=v[296804];if(!g){break eb}f=pb(v[d>>2],k,m);if(!f){break ia}Q(g|0)}d=P()|0;if((f|0)==1){continue sa}E=E-e|0}o=o-1|0;if(y[F+500>>2]>2]){continue}break}}v[296803]=0;T(33,F+360|0)|0;d=v[296803];v[296803]=0;fb:{if(!d){break fb}g=v[296804];if(!g){break fb}q=pb(v[d>>2],k,m);if(!q){break ia}Q(g|0)}d=P()|0;if((q|0)==1){continue}if(v[F+444>>2]|v[F+396>>2]!=3){break ua}v[296803]=0;f=Ud(h,0);d=v[296803];v[296803]=0;j=-1;gb:{if(!d){break gb}g=v[296804];if(!g){break gb}j=pb(v[d>>2],k,m);if(!j){break ia}Q(g|0)}d=P()|0;if((j|0)==1){continue}if(v[h+20>>2]<1){break ua}n=0;while(1){if(v[h+332>>2]){v[296803]=0;R(24,da|0,1);d=v[296803];v[296803]=0;hb:{if(!d){break hb}g=v[296804];if(!g){break hb}if(!pb(v[d>>2],k,m)){break ia}Q(g|0)}d=P()|0;continue sa}d=v[h+16>>2];v[296803]=0;lp(h,f,B(d,3));d=v[296803];v[296803]=0;j=-1;ib:{if(!d){break ib}g=v[296804];if(!g){break ib}j=pb(v[d>>2],k,m);if(!j){break ia}Q(g|0)}d=P()|0;if((j|0)==1){continue sa}f=v[h+52>>2]+f|0;n=n+1|0;if((n|0)>2]){continue}break}}v[296803]=0;U(35,F+360|0);d=v[296803];v[296803]=0;f=-1;jb:{if(!d){break jb}g=v[296804];if(!g){break jb}f=pb(v[d>>2],k,m);if(!f){break ia}Q(g|0)}d=P()|0;if((f|0)==1){continue}d=v[K>>2];if(d){v[296803]=0;$a(d);d=v[296803];v[296803]=0;f=-1;kb:{if(!d){break kb}g=v[296804];if(!g){break kb}f=pb(v[d>>2],k,m);if(!f){break ia}Q(g|0)}d=P()|0;if((f|0)==1){continue}}$a(k);Ma=F+848|0;d=!i;break ha}v[296803]=0;R(24,da|0,1);d=v[296803];v[296803]=0;lb:{if(!d){break lb}g=v[296804];if(!g){break lb}if(!pb(v[d>>2],k,m)){break ia}Q(g|0)}d=P()|0;continue}}$a(k);tc(d,g);L()}if(d){break a}od(a+72|0,h+72|0);Qa[v[v[b>>2]+20>>2]](b,sa,0)|0;Qa[v[v[ga>>2]+4>>2]](h);if(c){break c}}h=ab(980);ga=Ge(h,5);v[h+976>>2]=0;v[h>>2]=39384;gh(ga,a);d=0;m=0;k=0;e=0;q=Ma-1360|0;Ma=q;mb:{if(!b){break mb}g=Qa[v[v[b>>2]+24>>2]](b)|0;n=v[h+352>>2];Qa[v[v[b>>2]+12>>2]](b,q+1352|0,6,1,0,0)|0;f=u[q+1354>>1];u[q+1354>>1]=w[h+494|0]?f:f<<8|(f&65280)>>>8;f=u[q+1356>>1];i=(w[h+494|0]?f:f<<8|(f&65280)>>>8)<<16>>16;u[q+1356>>1]=i;if(x[q+1352>>1]|(x[q+1354>>1]-1&65535)>>>0>1){break mb}f=i&65535;v[h+356>>2]=f;p=gb(f<<4);if(i){while(1){f=p+(m<<4)|0;Qa[v[v[b>>2]+12>>2]](b,f,16,1,0,0)|0;d=u[f+4>>1];u[f+4>>1]=w[h+494|0]?d:d<<8|(d&65280)>>>8;d=u[f+6>>1];u[f+6>>1]=w[h+494|0]?d:d<<8|(d&65280)>>>8;Ca=f,Ia=pj(h,v[f+8>>2]),v[Ca+8>>2]=Ia;Ca=f,Ia=pj(h,v[f+12>>2]),v[Ca+12>>2]=Ia;d=x[q+1356>>1];m=m+1|0;if(d>>>0>m>>>0){continue}break}}m=0;nb:{ob:{pb:{qb:{if(!((n|0)<0|(d|0)<=(n|0))){if(v[h+332>>2]==-1){f=p+(n<<4)|0;e=w[f|0];v[h+16>>2]=e;d=w[f+1|0];v[h+20>>2]=d;if(!(e|d)){Qa[v[v[b>>2]+20>>2]](b,g+v[f+12>>2]|0,0)|0;d=Ge(q+288|0,0);v[d+332>>2]=-1;if(EB(d,b,4)){tk(h,d,1);v[h+356>>2]=x[q+1356>>1]}v[d>>2]=1032;Tg(d);Cg(d)}$a(p);v[h+68>>2]=5;m=1;break mb}f=p+(n<<4)|0;Qa[v[v[b>>2]+20>>2]](b,g+v[f+12>>2]|0,0)|0;if(!(w[f|0]|w[f+1|0])){d=Ge(q+288|0,0);if(EB(d,b,4)){tk(h,d,1);v[h+356>>2]=x[q+1356>>1]}v[h+68>>2]=5;v[d>>2]=1032;Tg(d);Cg(d);break nb}d=q+1312|0;Qa[v[v[b>>2]+12>>2]](b,d,40,1,0,0)|0;up(h,d);j=x[q+1326>>1];Cf(h,w[f|0],w[f+1|0],j,5);f=q+288|0;d=v[q+1344>>2];d=d?d:v[h+44>>2];Qa[v[v[b>>2]+12>>2]](b,f,(d>>>0<256?d:256)<<2,1,0,0)|0;On(h,f,v[h+44>>2]);rb:{if(j>>>0<=24){Qa[v[v[b>>2]+12>>2]](b,v[h+56>>2],v[h+32>>2],1,0,0)|0;g=v[h+20>>2];break rb}d=B(v[h+20>>2],v[h+16>>2])<<2;f=gb(d);Qa[v[v[b>>2]+12>>2]](b,f,d,1,0,0)|0;if(!v[h+964>>2]){Fi(h)}g=v[h+20>>2];if((g|0)>0){d=f;while(1){m=Ud(h,k);g=0;if(v[h+16>>2]>0){while(1){t[m|0]=w[d|0];t[m+1|0]=w[d+1|0];t[m+2|0]=w[d+2|0];ah(h,g,k,w[d+3|0]);d=d+4|0;m=m+3|0;g=g+1|0;if((g|0)>2]){continue}break}}g=v[h+20>>2];k=k+1|0;if((g|0)>(k|0)){continue}break}}$a(f)}d=(v[h+16>>2]+31|0)/32|0;n=d<<2;f=B(n,g);o=gb(f);if(!(Qa[v[v[b>>2]+12>>2]](b,o,f,1,0,0)|0)){break ob}if((f|0)<1){break qb}f=B(d,g)<<2;d=0;while(1){if(w[d+o|0]!=255|w[o+(d|1)|0]!=255|(w[o+(d|2)|0]!=255|w[o+(d|3)|0]!=255)){break pb}d=d+4|0;if((f|0)!=(d|0)){continue}break}break qb}$a(p);break mb}v[h+336>>2]=0;j=0;n=Ma-32|0;Ma=n;sb:{if(!v[h+4>>2]){break sb}if(x[h+26>>1]<=8){if(jp(h)){if(v[h+960>>2]){d=v[h+376>>2];e=v[h+384>>2];if((d|0)<=(e|0)){break sb}g=v[h+380>>2];j=v[h+372>>2];if((g|0)<=(j|0)){break sb}while(1){if((g|0)>(j|0)){while(1){d=v[h+960>>2];if(d){d=w[d+(B(v[h+16>>2],e)+j|0)|0]}else{d=1}if(d){XL(h,j,e,qp(h,j,e)^255)}g=v[h+380>>2];j=j+1|0;if((g|0)>(j|0)){continue}break}d=v[h+376>>2]}e=e+1|0;if((e|0)>=(d|0)){break sb}j=v[h+372>>2];continue}}if(!v[h+32>>2]){break sb}j=v[h+56>>2];while(1){t[j|0]=w[j|0]^-1;j=j+1|0;e=e+1|0;if(e>>>0>2]){continue}break}break sb}f=v[h+44>>2];if(!f){break sb}d=v[h+4>>2];e=d?f?d+40|0:0:0;if((f|0)!=1){g=f&-2;while(1){d=j<<2;i=d+e|0;t[i|0]=w[i|0]^-1;t[i+1|0]=w[i+1|0]^-1;t[i+2|0]=w[i+2|0]^-1;d=e+(d|4)|0;t[d|0]=w[d|0]^-1;t[d+1|0]=w[d+1|0]^-1;t[d+2|0]=w[d+2|0]^-1;j=j+2|0;g=g-2|0;if(g){continue}break}}if(!(f&1)){break sb}d=e+(j<<2)|0;t[d|0]=w[d|0]^-1;t[d+1|0]=w[d+1|0]^-1;t[d+2|0]=w[d+2|0]^-1;break sb}tb:{if(!v[h+960>>2]){if(!v[h+32>>2]){break tb}j=v[h+56>>2];while(1){t[j|0]=w[j|0]^-1;j=j+1|0;e=e+1|0;if(e>>>0>2]){continue}break}break tb}d=v[h+376>>2];e=v[h+384>>2];if((d|0)<=(e|0)){break tb}g=v[h+380>>2];j=v[h+372>>2];if((g|0)<=(j|0)){break tb}while(1){if((g|0)>(j|0)){while(1){d=v[h+960>>2];if(d){d=w[d+(B(v[h+16>>2],e)+j|0)|0]}else{d=1}if(d){Mm(n+24|0,h,j,e,1);t[n+19|0]=w[n+27|0];t[n+18|0]=w[n+26|0]^-1;t[n+17|0]=w[n+25|0]^-1;t[n+16|0]=w[n+24|0]^-1;v[n+12>>2]=v[n+16>>2];O5(h,j,e,n+12|0,0)}g=v[h+380>>2];j=j+1|0;if((g|0)>(j|0)){continue}break}d=v[h+376>>2]}e=e+1|0;if((e|0)>=(d|0)){break tb}j=v[h+372>>2];continue}}t[h+340|0]=w[h+340|0]^-1;t[h+341|0]=w[h+341|0]^-1;t[h+342|0]=w[h+342|0]^-1}Ma=n+32|0;break ob}m=v[h+964>>2]!=0;if(!m){Fi(h)}d=v[h+20>>2];ub:{if((d|0)<1){break ub}g=v[h+16>>2];if((g|0)<1){break ub}k=0;while(1){if((g|0)>=1){f=B(k,n);d=0;while(1){if(w[o+(f+(d>>>3|0)|0)|0]>>>((d^-1)&7)&1){ah(h,d,k,0);m=1;g=v[h+16>>2]}d=d+1|0;if((g|0)>(d|0)){continue}break}d=v[h+20>>2]}k=k+1|0;if((k|0)<(d|0)){continue}break}}if(!(m&1)){gx(h);d=v[h+20>>2]}vb:{wb:{if((d|0)<1){break wb}f=v[h+16>>2];if((f|0)<1){break wb}K=0;g=0;m=0;while(1){if((f|0)>=1){i=B(m,n);d=0;while(1){xb:{if(!(w[o+(i+(d>>>3|0)|0)|0]>>>((d^-1)&7)&1)){break xb}pp(q+16|0,h,d,m,0);f=v[q+16>>2];if(!g){g=1;K=Vk(h,d,m);e=f;break xb}g=((e|0)!=(f|0))+g|0}d=d+1|0;f=v[h+16>>2];if((d|0)<(f|0)){continue}break}d=v[h+20>>2]}m=m+1|0;if((m|0)<(d|0)){continue}break}if(!((g|0)!=1|j>>>0>8)){v[q+12>>2]=e;v[q+284>>2]=e;t[q+15|0]=0;v[h+340>>2]=w[q+12|0]|w[q+13|0]<<8|(w[q+14|0]<<16|w[q+15|0]<<24);v[h+336>>2]=v[h+44>>2]>(K|0)?K:0;gx(h);break vb}if(j>>>0>8){break ob}break vb}if(j>>>0>=9){break ob}}g=0;eb(q+16|0,0,256);e=v[h+20>>2];yb:{if((e|0)<1){break yb}f=v[h+16>>2];if((f|0)<1){break yb}while(1){d=0;if((f|0)>=1){while(1){Ca=qp(h,d,g)+(q+16|0)|0,Ia=1,t[Ca|0]=Ia;d=d+1|0;f=v[h+16>>2];if((d|0)<(f|0)){continue}break}e=v[h+20>>2]}g=g+1|0;if((g|0)<(e|0)){continue}break}}K=v[h+44>>2];while(1){K=K-1|0;if((K|0)<0){break ob}if(w[(q+16|0)+K|0]){continue}break}zb:{if((e|0)<1){break zb}g=v[h+16>>2];if((g|0)<1){break zb}m=0;f=K&255;k=0;while(1){if((g|0)>=1){e=B(k,n);d=0;while(1){if(w[o+(e+(d>>>3|0)|0)|0]>>>((d^-1)&7)&1){Pn(h,d,k,f);m=1;g=v[h+16>>2]}d=d+1|0;if((g|0)>(d|0)){continue}break}e=v[h+20>>2]}k=k+1|0;if((k|0)<(e|0)){continue}break}if(!(m&1)){break zb}v[h+336>>2]=v[h+44>>2]>(K|0)?K:0}gx(h)}$a(o)}$a(p);m=1}Ma=q+1360|0;if(m){break b}v[a+356>>2]=v[h+356>>2];od(a+72|0,ga+72|0);Qa[v[v[b>>2]+20>>2]](b,sa,0)|0;Qa[v[v[h>>2]+4>>2]](h);if(!c){break u}break c}if(c&-3){break t}}ga=ab(1124);h=Vw(ga);gh(h,a);d=0;k=0;m=0;K=0;E=0;G=Ma-3520|0;Ma=G;Ab:{if(!b){break Ab}Qa[v[v[b>>2]+12>>2]](b,G+3504|0,13,1,0,0)|0;if(v[G+3504>>2]!=944130375){break Ab}d=u[G+3512>>1];u[G+3512>>1]=w[h+494|0]?d:d<<8|(d&65280)>>>8;d=u[G+3510>>1];d=(w[h+494|0]?d:d<<8|(d&65280)>>>8)<<16>>16;u[G+3510>>1]=d;if(v[h+332>>2]==-1){v[h+16>>2]=d&65535;d=x[G+3512>>1];v[h+68>>2]=2;v[h+20>>2]=d;d=1;break Ab}j=1;e=t[G+3514|0];d=1<<(e&7)+1;u[G+2714>>1]=d;u[G+2712>>1]=(e>>>4&7)+1;if((e|0)<=-1){Qa[v[v[b>>2]+12>>2]](b,G+2712|4,B(d,3),1,0,0)|0;j=0}p=G+3504|0;i=0;o=Ma-800|0;Ma=o;n=Qa[v[v[b>>2]+24>>2]](b)|0;cb(o+8|0,G+2712|0,772);e=1;Bb:{if((Qa[v[v[b>>2]+12>>2]](b,o+7|0,1,1,0,0)|0)!=1){break Bb}f=o+8|4;while(1){g=w[o+7|0];d=e;Cb:{if(!(!g|d&1)){e=0;break Cb}e=!g;Db:{Eb:{switch((g<<24>>24)-33|0){case 0:V3(h,b);break Db;case 26:break Bb;case 11:break Eb;default:break Cb}}Qa[v[v[b>>2]+12>>2]](b,o+784|0,9,1,0,0)|0;e=u[o+784>>1];u[o+784>>1]=w[h+494|0]?e:e<<8|(e&65280)>>>8;e=u[o+786>>1];u[o+786>>1]=w[h+494|0]?e:e<<8|(e&65280)>>>8;e=u[o+788>>1];u[o+788>>1]=w[h+494|0]?e:e<<8|(e&65280)>>>8;e=u[o+790>>1];e=(w[h+494|0]?e:e<<8|(e&65280)>>>8)<<16>>16;u[o+790>>1]=e;g=w[p+6|0]|w[p+7|0]<<8;Fb:{if(g){break Fb}g=0;if(w[p+8|0]|w[p+9|0]<<8){break Fb}g=x[o+788>>1];t[p+8|0]=e;t[p+9|0]=e>>>8;t[p+6|0]=g;t[p+7|0]=g>>>8}if(x[o+788>>1]+x[o+784>>1]>>>0>g>>>0){break Db}g=e&65535;if(g+x[o+786>>1]>>>0>(w[p+8|0]|w[p+9|0]<<8)>>>0){break Db}e=w[o+792|0];if(e&128){e=2<<(e&7);u[o+10>>1]=e;Qa[v[v[b>>2]+12>>2]](b,f,B(e,3),1,0,0)|0;g=x[o+790>>1];e=w[o+792|0]}v[o>>2]=0;v[h+1012>>2]=g;v[h+1e3>>2]=e&64;v[h+1016>>2]=0;v[h+1020>>2]=16384;v[h+1004>>2]=0;v[h+1008>>2]=8;e=Qa[v[v[b>>2]+24>>2]](b)|0;U3(h,b,0,u[o+788>>1],o);Gb:{if(v[o>>2]){g=0;Qa[v[v[b>>2]+20>>2]](b,e,0)|0;t[o+799|0]=0;while(1){if(!(Qa[v[v[b>>2]+12>>2]](b,o+799|0,1,1,0,0)|0)){break Gb}e=g&255;g=w[o+799|0];if(e|(g|0)!=44){continue}break}Qa[v[v[b>>2]+20>>2]](b,-1,1)|0;Qa[v[v[b>>2]+24>>2]](b)|0;break Gb}Qa[v[v[b>>2]+20>>2]](b,(v[h+1020>>2]-v[h+1024>>2]|0)+1|0,1)|0}i=i+1|0}e=d}if((Qa[v[v[b>>2]+12>>2]](b,o+7|0,1,1,0,0)|0)==1){continue}break}}Qa[v[v[b>>2]+20>>2]](b,n,0)|0;Ma=o+800|0;v[h+356>>2]=i;d=0;e=v[h+352>>2];if((e|0)<0|(e|0)>=(i|0)){break Ab}q=(i|0)==1?0:j;n=G+2712|4;aa=1;j=0;d=1;while(1){Hb:{if((Qa[v[v[b>>2]+12>>2]](b,G+2711|0,1,1,0,0)|0)!=1){break Hb}i=d;d=0;if(v[h+332>>2]>0){break Ab}e=t[G+2711|0];d=!e;Ib:{if(!((i|d)&1)){d=0;break Ib}Jb:{Kb:{switch(e-33|0){case 0:aa=V3(h,b);break Jb;case 26:break Hb;case 11:break Kb;default:break Ib}}Qa[v[v[b>>2]+12>>2]](b,G+3488|0,9,1,0,0)|0;d=u[G+3488>>1];u[G+3488>>1]=w[h+494|0]?d:d<<8|(d&65280)>>>8;d=u[G+3490>>1];u[G+3490>>1]=w[h+494|0]?d:d<<8|(d&65280)>>>8;d=u[G+3492>>1];u[G+3492>>1]=w[h+494|0]?d:d<<8|(d&65280)>>>8;d=u[G+3494>>1];d=(w[h+494|0]?d:d<<8|(d&65280)>>>8)<<16>>16;u[G+3494>>1]=d;I=x[G+3510>>1];J=x[G+3492>>1];if(I>>>0>1]>>>0){break Jb}r=x[G+3512>>1];M=d&65535;if(r>>>0>1]>>>0){break Jb}e=w[G+3496|0];Lb:{if(!(e&128)){e=x[G+2714>>1];d=n;break Lb}d=G+1936|0;e=2<<(e&7);Qa[v[v[b>>2]+12>>2]](b,d,B(e,3),1,0,0)|0}g=d;d=G+808|0;N=Vw(d);gh(d,h);p=e<<16;f=p>>16;s=(f|0)<3?1:(f|0)<17?4:8;Mb:{if(!K){d=G+808|0;Cf(d,x[G+3510>>1],x[G+3512>>1],s,2);E=v[h+336>>2];ty(d,w[h+979|0]);k=cv(ab(976),d,1);t[k+493|0]=0;break Mb}Nb:{switch(j-2|0){case 0:d=G+808|0;Zy(d,h,0,0,0);ty(d,E&255);break Mb;case 1:d=G+808|0;Zy(d,h,0,0,0);Cf(d,v[k+16>>2],v[k+20>>2],x[k+26>>1],2);cb(v[d+4>>2],v[k+4>>2],(v[d+32>>2]+v[d+12>>2]|0)+(v[d+44>>2]<<2)|0);break Mb;default:break Nb}}Zy(G+808|0,h,1,1,1)}Cf(h,x[G+3492>>1],x[G+3494>>1],s,2);if(!(t[G+3514|0]>-1&t[G+3496|0]>=0)){Ob:{if(p>>16<1){e=0;break Ob}d=0;if((e&65535)!=1){e=f&-2;while(1){o=G+544|0;F=g+B(d,3)|0;t[o+d|0]=w[F|0];p=G+288|0;t[p+d|0]=w[F+1|0];j=G+32|0;t[j+d|0]=w[F+2|0];ca=d|1;F=g+B(ca,3)|0;t[o+ca|0]=w[F|0];t[p+ca|0]=w[F+1|0];t[j+ca|0]=w[F+2|0];d=d+2|0;e=e-2|0;if(e){continue}break}}e=f;if(!(e&1)){break Ob}e=g+B(d,3)|0;t[(G+544|0)+d|0]=w[e|0];t[(G+288|0)+d|0]=w[e+1|0];t[(G+32|0)+d|0]=w[e+2|0];e=f}d=v[h+336>>2];if(!((d|0)<0|e>>>0>255)){g=256-e|0;eb((G+32|0)+e|0,255,g);eb((G+288|0)+e|0,255,g);eb((G+544|0)+e|0,255,g)}UL(h,(d|0)>-1?256:f,G+544|0,G+288|0,G+32|0)}e=ab(24);v[e+20>>2]=h;d=Ud(h,0);v[e>>2]=0;v[e+4>>2]=0;v[e+16>>2]=d;v[e+8>>2]=0;v[e+12>>2]=0;v[e+4>>2]=v[v[e+20>>2]+20>>2]-1;Ca=e,Ia=Ud(v[e+20>>2],0)+B(v[v[e+20>>2]+52>>2],v[v[e+20>>2]+20>>2]-1|0)|0,v[Ca+16>>2]=Ia;v[G+544>>2]=0;v[h+1020>>2]=16384;v[h+1e3>>2]=w[G+3496|0]&64;v[h+1012>>2]=x[G+3494>>1];v[h+1016>>2]=0;v[h+1004>>2]=0;v[h+1008>>2]=8;F=Qa[v[v[b>>2]+24>>2]](b)|0;U3(h,b,e,u[G+3492>>1],G+544|0);$a(e);if(v[h+332>>2]){Mt(N);d=0;break Ab}q=(!K&(J|0)!=(I|0)&(r|0)!=(M|0))+q|0;Pb:{if((q|0)<=1){I=G+808|0;F4(I,s);d=G+3488|0;p=w[d|0]|w[d+1|0]<<8;e=p;o=v[N+16>>2];j=w[d+4|0]|w[d+5|0]<<8;M=v[h+336>>2];g=v[N+20>>2];f=w[d+2|0]|w[d+3|0]<<8;d=g-(f+(w[d+6|0]|w[d+7|0]<<8)|0)|0;d=(d|0)>0?d:0;r=g-f|0;Qb:{if((d|0)>=(r|0)){break Qb}f=j+p|0;o=f>>>0>>0?f:o;if((o|0)<=(e|0)){break Qb}g=d;while(1){p=g-d|0;f=e;while(1){j=Vk(h,f-e|0,p);if((j|0)!=(M|0)){Pn(N,f,g,j)}f=f+1|0;if((o|0)!=(f|0)){continue}break}g=g+1|0;if((r|0)>(g|0)){continue}break}}v[I+336>>2]=v[I+44>>2]>(E|0)?E:0;d=v[h+4>>2];On(I,d?v[h+44>>2]?d+40|0:0:0,256);tk(h,I,0);break Pb}v[h+352>>2]=v[h+356>>2]-1;if(!m){m=ab(976);e=x[G+3510>>1];d=x[G+3512>>1];v[m>>2]=1032;eb(m+4|0,0,972);t[m+388|0]=255;v[m+344>>2]=1119092736;v[m+68>>2]=2;t[m+390|0]=1;v[m+336>>2]=-1;t[m+348|0]=1;bl(m,96);_n(m,96);t[m+494|0]=1;Cf(m,e,d,24,2)}e=x[G+3494>>1];if(!e){break Pb}f=0;j=x[G+3492>>1];while(1){Rb:{if(j){o=f^-1;d=0;while(1){p=x[G+3488>>1];j=x[G+3512>>1];g=x[G+3490>>1];pp(G+24|0,h,d,o+(e&65535)|0,1);v[G+12>>2]=v[G+24>>2];$w(m,d+p|0,(j-f|0)+(g^-1)|0,G+12|0);e=x[G+3494>>1];d=d+1|0;j=x[G+3492>>1];if(d>>>0>>0){continue}break}break Rb}j=0}f=f+1|0;if(f>>>0<(e&65535)>>>0){continue}break}}f=w[h+976|0]>>>2|0;Sb:{if(v[G+544>>2]){g=Ma-16|0;Ma=g;Qa[v[v[b>>2]+20>>2]](b,F,0)|0;t[g+15|0]=0;e=0;Tb:{while(1){if(!(Qa[v[v[b>>2]+12>>2]](b,g+15|0,1,1,0,0)|0)){break Tb}d=e;e=w[g+15|0];if(d|(e|0)!=44){continue}break}Qa[v[v[b>>2]+20>>2]](b,-1,1)|0;Qa[v[v[b>>2]+24>>2]](b)|0}Ma=g+16|0;break Sb}Qa[v[v[b>>2]+20>>2]](b,(v[h+1020>>2]-v[h+1024>>2]|0)+1|0,1)|0}j=f&7;if(!(m|!w[h+493|0])){Ub:{if(K){break Ub}Tg(h);g=v[h+356>>2];d=ab((g|0)!=(g&1073741823)?-1:g<<2);v[h+972>>2]=d;if((g|0)<1){break Ub}v[d>>2]=0;if((g|0)==1){break Ub}e=g-1|0;f=e&3;d=1;if(g-2>>>0>=3){e=e&-4;while(1){g=d<<2;v[g+v[h+972>>2]>>2]=0;v[(g+v[h+972>>2]|0)+4>>2]=0;v[(g+v[h+972>>2]|0)+8>>2]=0;v[(g+v[h+972>>2]|0)+12>>2]=0;d=d+4|0;e=e-4|0;if(e){continue}break}}if(!f){break Ub}while(1){v[v[h+972>>2]+(d<<2)>>2]=0;d=d+1|0;f=f-1|0;if(f){continue}break}}e=ab(976);cv(e,h,1);d=K<<2;v[d+v[h+972>>2]>>2]=e;t[v[d+v[h+972>>2]>>2]+493|0]=0}if(j>>>0<=1){if(k){Qa[v[v[k>>2]+4>>2]](k)}k=cv(ab(976),h,1);t[k+493|0]=0}e=w[h+493|0];d=v[h+352>>2];Mt(N);d=!e&(d|0)==(K|0);if(d){break Hb}K=!d+K|0}d=i}if(aa){continue}}break}Vb:{Wb:{if(!(!m|(q|0)<2)){if(t[h+976|0]&1){Qf(G+16|0,h,w[h+336|0]);v[G+8>>2]=v[G+16>>2];t[G+11|0]=0;v[m+340>>2]=w[G+8|0]|w[G+9|0]<<8|(w[G+10|0]<<16|w[G+11|0]<<24);v[m+336>>2]=0}tk(h,m,1);break Wb}if(!m){break Vb}}Qa[v[v[m>>2]+4>>2]](m)}d=1;if(!k){break Ab}Qa[v[v[k>>2]+4>>2]](k)}Ma=G+3520|0;if(d){break a}v[a+356>>2]=v[h+356>>2];od(a+72|0,h+72|0);Qa[v[v[b>>2]+20>>2]](b,sa,0)|0;Qa[v[v[ga>>2]+4>>2]](h);if(!c){break s}break c}if(c&-5){break r}}h=ab(976);ga=Ge(h,4);v[h>>2]=39428;gh(ga,a);i=0;s=Ma-32|0;Ma=s;E=gb(40);v[E>>2]=0;v[296803]=0;Ud(h,0);e=v[296803];v[296803]=0;k=-1;q=4;Xb:{Yb:{Zb:{_b:{if(!e){break _b}f=v[296804];if(!f){break _b}k=pb(v[e>>2],E,4);if(!k){break Zb}Q(f|0)}e=P()|0;$b:{if((k|0)==1){break $b}v[296803]=0;i=V(53,3253,0,0,0)|0;e=v[296803];v[296803]=0;k=-1;ac:{if(!e){break ac}f=v[296804];if(!f){break ac}k=pb(v[e>>2],E,4);if(!k){break Zb}Q(f|0)}e=P()|0;if((k|0)==1){break $b}v[s+28>>2]=i;if(!i){v[296803]=0;Sb(h+72|0,5666,255);e=v[296803];v[296803]=0;k=-1;bc:{if(!e){break bc}f=v[296804];if(!f){break bc}k=pb(v[e>>2],E,4);if(!k){break Zb}Q(f|0)}e=P()|0;if((k|0)==1){break $b}break Yb}v[296803]=0;d=T(55,i|0)|0;e=v[296803];v[296803]=0;k=-1;cc:{if(!e){break cc}f=v[296804];if(!f){break cc}k=pb(v[e>>2],E,4);if(!k){break Zb}Q(f|0)}e=P()|0;if((k|0)==1){break $b}v[s+24>>2]=d;if(!d){v[296803]=0;X(56,s+28|0,0,0);e=v[296803];v[296803]=0;k=-1;dc:{if(!e){break dc}f=v[296804];if(!f){break dc}k=pb(v[e>>2],E,4);if(!k){break Zb}Q(f|0)}e=P()|0;if((k|0)==1){break $b}v[296803]=0;Sb(h+72|0,10029,255);e=v[296803];v[296803]=0;k=-1;ec:{if(!e){break ec}f=v[296804];if(!f){break ec}k=pb(v[e>>2],E,4);if(!k){break Zb}Q(f|0)}e=P()|0;if((k|0)!=1){break Yb}break $b}e=0;E=be(i,1,E,4);q=P()|0}fc:while(1){if(e){v[296803]=0;X(56,s+28|0,s+24|0,0);e=v[296803];v[296803]=0;k=-1;gc:{if(!e){break gc}f=v[296804];if(!f){break gc}k=pb(v[e>>2],E,q);if(!k){break Zb}Q(f|0)}e=P()|0;if((k|0)!=1){break Yb}continue}v[296803]=0;X(57,i|0,b|0,58);e=v[296803];v[296803]=0;k=-1;hc:{if(!e){break hc}f=v[296804];if(!f){break hc}k=pb(v[e>>2],E,q);if(!k){break Zb}Q(f|0)}e=P()|0;if((k|0)==1){continue}v[296803]=0;d=h+72|0;if(i){v[i+164>>2]=0;v[i+160>>2]=60;v[i+168>>2]=d}e=v[296803];v[296803]=0;k=-1;ic:{if(!e){break ic}f=v[296804];if(!f){break ic}k=pb(v[e>>2],E,q);if(!k){break Zb}Q(f|0)}e=P()|0;if((k|0)==1){continue}v[296803]=0;R(61,i|0,v[s+24>>2]);e=v[296803];v[296803]=0;k=-1;jc:{if(!e){break jc}f=v[296804];if(!f){break jc}k=pb(v[e>>2],E,q);if(!k){break Zb}Q(f|0)}e=P()|0;if((k|0)==1){continue}n=v[s+24>>2];if(v[h+332>>2]==-1){v[h+16>>2]=v[n>>2];d=v[n+4>>2];v[h+68>>2]=4;v[h+20>>2]=d;v[296803]=0;R(24,i|0,1);e=v[296803];v[296803]=0;kc:{if(!e){break kc}f=v[296804];if(!f){break kc}if(!pb(v[e>>2],E,q)){break Zb}Q(f|0)}e=P()|0;continue}f=24;m=3;k=1;g=0;d=1;K=0;lc:{mc:{switch(w[n+25|0]){case 6:k=0;m=4;break lc;default:e=w[13348]|w[13349]<<8|(w[13350]<<16|w[13351]<<24);d=w[13344]|w[13345]<<8|(w[13346]<<16|w[13347]<<24);t[h+87|0]=d;t[h+88|0]=d>>>8;t[h+89|0]=d>>>16;t[h+90|0]=d>>>24;t[h+91|0]=e;t[h+92|0]=e>>>8;t[h+93|0]=e>>>16;t[h+94|0]=e>>>24;e=w[13341]|w[13342]<<8|(w[13343]<<16|w[13344]<<24);d=w[13337]|w[13338]<<8|(w[13339]<<16|w[13340]<<24);t[h+80|0]=d;t[h+81|0]=d>>>8;t[h+82|0]=d>>>16;t[h+83|0]=d>>>24;t[h+84|0]=e;t[h+85|0]=e>>>8;t[h+86|0]=e>>>16;t[h+87|0]=e>>>24;e=w[13333]|w[13334]<<8|(w[13335]<<16|w[13336]<<24);d=w[13329]|w[13330]<<8|(w[13331]<<16|w[13332]<<24);t[h+72|0]=d;t[h+73|0]=d>>>8;t[h+74|0]=d>>>16;t[h+75|0]=d>>>24;t[h+76|0]=e;t[h+77|0]=e>>>8;t[h+78|0]=e>>>16;t[h+79|0]=e>>>24;v[296803]=0;R(24,i|0,1);e=v[296803];v[296803]=0;nc:{if(!e){break nc}f=v[296804];if(!f){break nc}if(!pb(v[e>>2],E,q)){break Zb}Q(f|0)}e=P()|0;continue;case 4:d=2;g=1;k=0;break;case 2:break lc;case 0:case 3:break mc}}e=w[n+30|0];f=g?8:k?e>>>0>8?8:e:e;m=d;k=0;K=g}e=v[n+4>>2];d=v[n>>2];v[296803]=0;g=ba(23,h|0,d|0,e|0,f|0,4)|0;e=v[296803];v[296803]=0;d=-1;oc:{if(!e){break oc}f=v[296804];if(!f){break oc}d=pb(v[e>>2],E,q);if(!d){break Zb}Q(f|0)}e=P()|0;if((d|0)==1){continue}if(!g){v[296803]=0;R(24,i|0,1);e=v[296803];v[296803]=0;pc:{if(!e){break pc}f=v[296804];if(!f){break pc}if(!pb(v[e>>2],E,q)){break Zb}Q(f|0)}e=P()|0;continue}qc:{rc:{sc:{tc:{d=v[s+24>>2];switch(w[d+120|0]){case 1:break sc;case 0:break tc;default:break qc}}d=v[d+112>>2];v[296803]=0;bl(h,d);e=v[296803];v[296803]=0;d=-1;uc:{if(!e){break uc}f=v[296804];if(!f){break uc}d=pb(v[e>>2],E,q);if(!d){break Zb}Q(f|0)}e=P()|0;if((d|0)==1){continue}d=v[v[s+24>>2]+116>>2];break rc}e=v[d+112>>2];v[296803]=0;d=h;ea=H(+(e>>>0)*254/1e4+.5);vc:{if(D(ea)<2147483648){e=~~ea;break vc}e=-2147483648}bl(d,e);e=v[296803];v[296803]=0;d=-1;wc:{if(!e){break wc}f=v[296804];if(!f){break wc}d=pb(v[e>>2],E,q);if(!d){break Zb}Q(f|0)}e=P()|0;if((d|0)==1){continue}ea=H(+y[v[s+24>>2]+116>>2]*254/1e4+.5);if(D(ea)<2147483648){d=~~ea;break rc}d=-2147483648}v[296803]=0;_n(h,d);e=v[296803];v[296803]=0;d=-1;xc:{if(!e){break xc}f=v[296804];if(!f){break xc}d=pb(v[e>>2],E,q);if(!d){break Zb}Q(f|0)}e=P()|0;if((d|0)==1){continue}}d=v[s+24>>2];e=x[d+20>>1];yc:{if(e){d=v[d+16>>2];v[296803]=0;RL(h,d,e);e=v[296803];v[296803]=0;d=-1;zc:{if(!e){break zc}f=v[296804];if(!f){break zc}d=pb(v[e>>2],E,q);if(!d){break Zb}Q(f|0)}e=P()|0;if((d|0)==1){continue}d=x[v[s+24>>2]+20>>1];v[296803]=0;n5(h,d);break yc}if(w[d+24|0]==2){v[296803]=0;Rn(h,0,0,0,0,0);e=v[296803];v[296803]=0;d=-1;Ac:{if(!e){break Ac}f=v[296804];if(!f){break Ac}d=pb(v[e>>2],E,q);if(!d){break Zb}Q(f|0)}e=P()|0;if((d|0)==1){continue}v[296803]=0;Rn(h,1,85,85,85,0);e=v[296803];v[296803]=0;d=-1;Bc:{if(!e){break Bc}f=v[296804];if(!f){break Bc}d=pb(v[e>>2],E,q);if(!d){break Zb}Q(f|0)}e=P()|0;if((d|0)==1){continue}v[296803]=0;Rn(h,2,170,170,170,0);e=v[296803];v[296803]=0;d=-1;Cc:{if(!e){break Cc}f=v[296804];if(!f){break Cc}d=pb(v[e>>2],E,q);if(!d){break Zb}Q(f|0)}e=P()|0;if((d|0)==1){continue}v[296803]=0;Rn(h,3,255,255,255,0);break yc}v[296803]=0;cr(h)}e=v[296803];v[296803]=0;d=-1;Dc:{if(!e){break Dc}f=v[296804];if(!f){break Dc}d=pb(v[e>>2],E,q);if(!d){break Zb}Q(f|0)}e=P()|0;if((d|0)==1){continue}e=v[s+24>>2];d=w[e+24|0]>>>3|0;j=((d>>>0>1?d:1)<<3)-8|0;Ec:{Fc:{switch(x[e+22>>1]){case 1:if(w[e+25|0]==3){v[h+336>>2]=w[e+80|0];break Ec}v[h+336>>2]=x[e+88>>1]>>>j;break Ec;case 0:break Ec;default:break Fc}}v[296803]=0;n=v[h+4>>2];d=v[h+44>>2];e=v[296803];v[296803]=0;g=-1;Gc:{if(!e){break Gc}f=v[296804];if(!f){break Gc}g=pb(v[e>>2],E,q);if(!g){break Zb}Q(f|0)}e=P()|0;if((g|0)==1){continue}o=n?d?n+40|0:0:0;if(!o){break Ec}e=v[s+24>>2];f=x[e+22>>1];p=v[h+44>>2];g=(f|0)<(p|0)?f:p;Hc:{if(!g){break Hc}d=g&3;n=v[e+76>>2];e=0;if(g-1>>>0>=3){da=g&-4;while(1){t[(o+(e<<2)|0)+3|0]=w[e+n|0];g=e|1;t[(o+(g<<2)|0)+3|0]=w[g+n|0];g=e|2;t[(o+(g<<2)|0)+3|0]=w[g+n|0];g=e|3;t[(o+(g<<2)|0)+3|0]=w[g+n|0];e=e+4|0;da=da-4|0;if(da){continue}break}}if(!d){break Hc}while(1){t[(o+(e<<2)|0)+3|0]=w[e+n|0];e=e+1|0;d=d-1|0;if(d){continue}break}}Ic:{if(f>>>0>=p>>>0){break Ic}d=p+(f^-1)|0;e=p-f&7;if(e){while(1){t[(o+(f<<2)|0)+3|0]=255;f=f+1|0;e=e-1|0;if(e){continue}break}}if(d>>>0<7){break Ic}while(1){d=o+(f<<2)|0;t[d+3|0]=255;t[d+7|0]=255;t[d+11|0]=255;t[d+15|0]=255;t[d+19|0]=255;t[d+23|0]=255;t[d+27|0]=255;t[d+31|0]=255;f=f+8|0;if((p|0)!=(f|0)){continue}break}}t[h+389|0]=1}Jc:{if(!k){break Jc}v[296803]=0;d=uT(i,v[s+24>>2],s+20|0,s+16|0,s+12|0);e=v[296803];v[296803]=0;k=-1;Kc:{if(!e){break Kc}f=v[296804];if(!f){break Kc}k=pb(v[e>>2],E,q);if(!k){break Zb}Q(f|0)}e=P()|0;if((k|0)==1){continue}if(!d){break Jc}d=v[s+24>>2];t[h+342|0]=x[d+82>>1]>>>j;t[h+341|0]=x[d+84>>1]>>>j;d=x[d+86>>1];t[h+343|0]=0;v[h+336>>2]=0;t[h+340|0]=d>>>j}if(!(m&1)){v[296803]=0;T(67,h|0)|0;e=v[296803];v[296803]=0;k=-1;Lc:{if(!e){break Lc}f=v[296804];if(!f){break Lc}k=pb(v[e>>2],E,q);if(!k){break Zb}Q(f|0)}e=P()|0;if((k|0)==1){continue}}if(w[v[s+24>>2]+25|0]&2){v[296803]=0;if(i){v[i+208>>2]=v[i+208>>2]|1}e=v[296803];v[296803]=0;k=-1;Mc:{if(!e){break Mc}f=v[296804];if(!f){break Mc}k=pb(v[e>>2],E,q);if(!k){break Zb}Q(f|0)}e=P()|0;if((k|0)==1){continue}}if(v[h+332>>2]){v[296803]=0;R(24,i|0,1);e=v[296803];v[296803]=0;Nc:{if(!e){break Nc}f=v[296804];if(!f){break Nc}if(!pb(v[e>>2],E,q)){break Zb}Q(f|0)}e=P()|0;continue}d=v[v[s+24>>2]+12>>2];v[296803]=0;G=T(15,d+8|0)|0;e=v[296803];v[296803]=0;d=-1;Oc:{if(!e){break Oc}f=v[296804];if(!f){break Oc}d=pb(v[e>>2],E,q);if(!d){break Zb}Q(f|0)}e=P()|0;if((d|0)==1){continue}v[296803]=0;d=1;if(!(!i|!w[i+398|0])){v[i+208>>2]=v[i+208>>2]|2;d=7}n=d;e=v[296803];v[296803]=0;d=-1;Pc:{if(!e){break Pc}f=v[296804];if(!f){break Pc}d=pb(v[e>>2],E,q);if(!d){break Zb}Q(f|0)}e=P()|0;if((d|0)==1){continue}v[296803]=0;g=Tm(h,4);e=v[296803];v[296803]=0;d=-1;Qc:{if(!e){break Qc}f=v[296804];if(!f){break Qc}d=pb(v[e>>2],E,q);if(!d){break Zb}Q(f|0)}e=P()|0;if((d|0)==1){continue}v[296803]=0;hD(h,g&-2|(n|0)>1,0);e=v[296803];v[296803]=0;d=-1;Rc:{if(!e){break Rc}f=v[296804];if(!f){break Rc}d=pb(v[e>>2],E,q);if(!d){break Zb}Q(f|0)}e=P()|0;if((d|0)==1){continue}N=-1;d=i;if((n|0)>=1){M=n-1|0;d=v[s+24>>2];J=w[d+30|0]>>>3|0;ca=w[d+24|0]>>>3|0;I=B(ca,3);F=ca<<1;aa=0;while(1){v[296803]=0;j=v[h+20>>2];e=v[296803];v[296803]=0;g=-1;Sc:{if(!e){break Sc}f=v[296804];if(!f){break Sc}g=pb(v[e>>2],E,q);if(!g){break Zb}Q(f|0)}e=P()|0;if((g|0)==1){continue fc}v[296803]=0;o=Ud(h,0);e=v[296803];v[296803]=0;g=-1;Tc:{if(!e){break Tc}f=v[296804];if(!f){break Tc}g=pb(v[e>>2],E,q);if(!g){break Zb}Q(f|0)}e=P()|0;if((g|0)==1){continue fc}v[296803]=0;p=v[h+52>>2];e=v[296803];v[296803]=0;g=-1;Uc:{if(!e){break Uc}f=v[296804];if(!f){break Uc}g=pb(v[e>>2],E,q);if(!g){break Zb}Q(f|0)}e=P()|0;if((g|0)==1){continue fc}v[296803]=0;d=v[h+20>>2];e=v[296803];v[296803]=0;g=-1;Vc:{if(!e){break Vc}f=v[296804];if(!f){break Vc}g=pb(v[e>>2],E,q);if(!g){break Zb}Q(f|0)}e=P()|0;if((g|0)==1){continue fc}j=j-1|0;g=o+B(p,d-1|0)|0;p=0;while(1){if(v[h+332>>2]){v[296803]=0;R(24,v[s+28>>2],1);e=v[296803];v[296803]=0;Wc:{if(!e){break Wc}f=v[296804];if(!f){break Wc}if(!pb(v[e>>2],E,q)){break Zb}Q(f|0)}e=P()|0;continue fc}v[296803]=0;o=v[h+964>>2];e=v[296803];v[296803]=0;d=-1;Xc:{if(!e){break Xc}f=v[296804];if(!f){break Xc}d=pb(v[e>>2],E,q);if(!d){break Zb}Q(f|0)}e=P()|0;if((d|0)==1){continue fc}Yc:{if(o){o=v[h+20>>2]+(p^-1)|0;Zc:{if((o|0)<0){break Zc}v[296803]=0;r=v[h+20>>2];e=v[296803];v[296803]=0;d=-1;_c:{if(!e){break _c}f=v[296804];if(!f){break _c}d=pb(v[e>>2],E,q);if(!d){break Zb}Q(f|0)}e=P()|0;if((d|0)==1){continue fc}if((o|0)>(r|0)){break Zc}v[296803]=0;j=Ud(h,0);e=v[296803];v[296803]=0;g=-1;$c:{if(!e){break $c}f=v[296804];if(!f){break $c}g=pb(v[e>>2],E,q);if(!g){break Zb}Q(f|0)}e=P()|0;if((g|0)==1){continue fc}v[296803]=0;d=v[h+52>>2];e=v[296803];v[296803]=0;g=-1;ad:{if(!e){break ad}f=v[296804];if(!f){break ad}g=pb(v[e>>2],E,q);if(!g){break Zb}Q(f|0)}e=P()|0;if((g|0)==1){continue fc}g=j+B(d,o)|0;j=o}bd:{if(!w[v[s+24>>2]+28|0]|!aa|((aa|0)==7|v[h+16>>2]<1)){break bd}d=0;if(K){while(1){k=B(d,J);t[k+G|0]=w[d+g|0];v[296803]=0;r=Wk(h,d,o);e=v[296803];v[296803]=0;da=-1;cd:{if(!e){break cd}f=v[296804];if(!f){break cd}da=pb(v[e>>2],E,q);if(!da){break Zb}Q(f|0)}e=P()|0;if((da|0)==1){continue fc}t[G+(k+ca|0)|0]=r;d=d+1|0;if((d|0)>2]){continue}break bd}}while(1){k=B(d,J);e=B(d,3)+g|0;t[k+G|0]=w[e|0];t[G+(k+ca|0)|0]=w[e+1|0];t[G+(k+F|0)|0]=w[e+2|0];v[296803]=0;r=Wk(h,d,o);e=v[296803];v[296803]=0;ia=-1;dd:{if(!e){break dd}f=v[296804];if(!f){break dd}ia=pb(v[e>>2],E,q);if(!ia){break Zb}Q(f|0)}e=P()|0;if((ia|0)==1){continue fc}t[G+(k+I|0)|0]=r;d=d+1|0;if((d|0)>2]){continue}break}}v[296803]=0;X(73,v[s+28>>2],G|0,0);e=v[296803];v[296803]=0;d=-1;ed:{if(!e){break ed}f=v[296804];if(!f){break ed}d=pb(v[e>>2],E,q);if(!d){break Zb}Q(f|0)}e=P()|0;if((d|0)==1){continue fc}if(v[h+16>>2]<1){break Yc}d=0;if(K){while(1){e=B(d,J);t[d+g|0]=w[e+G|0];e=w[G+(e+ca|0)|0];v[296803]=0;ah(h,d,o,e);e=v[296803];v[296803]=0;da=-1;fd:{if(!e){break fd}f=v[296804];if(!f){break fd}da=pb(v[e>>2],E,q);if(!da){break Zb}Q(f|0)}e=P()|0;if((da|0)==1){continue fc}d=d+1|0;if((d|0)>2]){continue}break Yc}}while(1){e=B(d,3)+g|0;f=B(d,J);t[e|0]=w[f+G|0];t[e+1|0]=w[G+(f+ca|0)|0];t[e+2|0]=w[G+(f+F|0)|0];e=w[G+(f+I|0)|0];v[296803]=0;ah(h,d,o,e);e=v[296803];v[296803]=0;da=-1;gd:{if(!e){break gd}f=v[296804];if(!f){break gd}da=pb(v[e>>2],E,q);if(!da){break Zb}Q(f|0)}e=P()|0;if((da|0)==1){continue fc}d=d+1|0;if((d|0)>2]){continue}break}break Yc}e=v[s+24>>2];hd:{if(!w[e+28|0]|!aa){break hd}id:{if(!g){break id}o=v[e+12>>2];if((o|0)<1){break id}v[296803]=0;d=v[h+52>>2];e=v[296803];v[296803]=0;da=-1;jd:{if(!e){break jd}f=v[296804];if(!f){break jd}da=pb(v[e>>2],E,q);if(!da){break Zb}Q(f|0)}e=P()|0;if((da|0)==1){continue fc}cb(G,g,(d|0)<(o|0)?d:o);e=v[s+24>>2]}if(w[e+24|0]<9){break hd}d=v[h+16>>2];e=B(d,m);if((e|0)<1){break hd}f=B(d,m);d=f-1|0;f=f&3;if(f){while(1){e=e-1|0;t[G+B(ca,e)|0]=w[e+G|0];f=f-1|0;if(f){continue}break}}if(d>>>0<3){break hd}while(1){d=e-1|0;t[G+B(d,ca)|0]=w[d+G|0];d=e-2|0;t[G+B(d,ca)|0]=w[d+G|0];d=e-3|0;t[G+B(d,ca)|0]=w[d+G|0];d=e-4|0;t[G+B(d,ca)|0]=w[d+G|0];f=(e|0)>4;e=d;if(f){continue}break}}v[296803]=0;X(73,v[s+28>>2],G|0,0);e=v[296803];v[296803]=0;d=-1;kd:{if(!e){break kd}f=v[296804];if(!f){break kd}d=pb(v[e>>2],E,q);if(!d){break Zb}Q(f|0)}e=P()|0;if((d|0)==1){continue fc}r=v[s+24>>2];ld:{if(w[r+24|0]<9){break ld}d=B(v[h+16>>2],m);if((d|0)<1){break ld}f=d&3;e=0;if(d-1>>>0>=3){d=d&-4;while(1){t[e+G|0]=w[G+B(e,ca)|0];o=e|1;t[o+G|0]=w[G+B(o,ca)|0];o=e|2;t[o+G|0]=w[G+B(o,ca)|0];o=e|3;t[o+G|0]=w[G+B(o,ca)|0];e=e+4|0;d=d-4|0;if(d){continue}break}}if(!f){break ld}while(1){t[e+G|0]=w[G+B(e,ca)|0];e=e+1|0;f=f-1|0;if(f){continue}break}}o=v[r+12>>2];v[296803]=0;d=v[h+52>>2];e=v[296803];v[296803]=0;da=-1;md:{if(!e){break md}f=v[296804];if(!f){break md}da=pb(v[e>>2],E,q);if(!da){break Zb}Q(f|0)}e=P()|0;if((da|0)==1){continue fc}nd:{if(!g){break nd}d=(o|0)<0?d:(d|0)<(o|0)?d:o;if((d|0)<1){break nd}cb(g,G,d)}od:{if(w[v[s+24>>2]+24|0]!=2|(M|0)!=(aa|0)){break od}f=v[h+16>>2];if((f|0)<1){break od}while(1){d=f-1|0;e=(d>>>1|0)+g|0;r=e;o=B(d&1,252)+4&252;k=w[e|0]&(15<>>2|0)+g|0]&3<>>e&15)<1;f=d;if(e){continue}break}}if((j|0)>=1){v[296803]=0;o=v[h+52>>2];e=v[296803];v[296803]=0;d=-1;pd:{if(!e){break pd}f=v[296804];if(!f){break pd}d=pb(v[e>>2],E,q);if(!d){break Zb}Q(f|0)}e=P()|0;if((d|0)==1){continue fc}g=g-o|0}j=j-1|0}p=p+1|0;if((p|0)>2]){continue}break}aa=aa+1|0;if((n|0)!=(aa|0)){continue}break}d=v[s+28>>2]}v[296803]=0;$a(G);e=v[296803];v[296803]=0;qd:{if(!e){break qd}f=v[296804];if(!f){break qd}N=pb(v[e>>2],E,q);if(!N){break Zb}Q(f|0)}e=P()|0;if((N|0)==1){continue}v[296803]=0;R(75,d|0,v[s+24>>2]);e=v[296803];v[296803]=0;k=-1;rd:{if(!e){break rd}f=v[296804];if(!f){break rd}k=pb(v[e>>2],E,q);if(!k){break Zb}Q(f|0)}e=P()|0;if((k|0)==1){continue}v[296803]=0;X(56,s+28|0,s+24|0,0);e=v[296803];v[296803]=0;k=-1;sd:{if(!e){break sd}f=v[296804];if(!f){break sd}k=pb(v[e>>2],E,q);if(!k){break Zb}Q(f|0)}f=1;e=P()|0;if((k|0)==1){continue}break}break Xb}$a(E);tc(e,f);L()}f=v[h+332>>2]==-1&v[h+68>>2]==4}$a(E);Ma=s+32|0;if(!f){break q}break b}switch(c-6|0){case 1:break n;case 11:break o;case 0:break p;default:break m}}od(a+72|0,ga+72|0);Qa[v[v[b>>2]+20>>2]](b,sa,0)|0;Qa[v[v[h>>2]+4>>2]](h);if(c){break c}}h=ab(988);ga=Ge(h,6);v[h+984>>2]=0;t[h+980|0]=0;v[h+976>>2]=0;v[h>>2]=54292;gh(ga,a);k=0;m=0;E=0;r=Ma-336|0;Ma=r;_=u4(b,2837);v[r+332>>2]=0;v[r+328>>2]=0;u[r+326>>1]=1;u[r+324>>1]=1;v[r+320>>2]=-1;u[r+318>>1]=0;u[r+316>>1]=1;u[r+314>>1]=1;td:{ud:{vd:{if(!_){Sb(h+72|0,5779,255);break vd}i=0;e=Ma-16|0;Ma=e;d=v[_+460>>2];v[e+12>>2]=d;wd:{if(!d){break wd}while(1){if(!pQ(_,e+12|0)){break wd}i=i+1|0;if(v[e+12>>2]){continue}break}}Ma=e+16|0;v[h+356>>2]=i&65535;e=x[h+352>>1];g=Ma-16|0;Ma=g;i=v[_+460>>2];v[g+12>>2]=i;xd:{yd:{if(!e){d=e;break yd}d=e;if(!i){break yd}while(1){f=0;if(!pQ(_,g+12|0)){break xd}i=v[g+12>>2];d=d-1|0;if(!(d&65535)){break yd}if(i){continue}break}}v[_+20>>2]=i;u[_+32>>1]=0;u[_+476>>1]=e+(d^-1);f=aN(_)}Ma=g+16|0;zd:{if(!f){Sb(h+72|0,10183,255);break zd}v[r+272>>2]=r+328;Mc(_,256,r+272|0);v[r+256>>2]=r+332;Mc(_,257,r+256|0);v[r+240>>2]=r+324;Mc(_,277,r+240|0);v[r+224>>2]=r+326;Mc(_,258,r+224|0);v[r+208>>2]=r+320;Mc(_,278,r+208|0);v[r+192>>2]=r+318;Mc(_,262,r+192|0);v[r+176>>2]=r+314;Mc(_,274,r+176|0);if(v[h+332>>2]==-1){v[h+16>>2]=v[r+328>>2];d=v[r+332>>2];v[h+68>>2]=6;v[h+20>>2]=d;Sb(h+72|0,13608,255);break zd}v[r+160>>2]=r+312;li(_,296,r+160|0);v[r+144>>2]=r+308;if(Mc(_,282,r+144|0)){fa=z[r+308>>2];if(x[r+312>>1]==3){fa=C(C(fa*C(2.5399999618530273))+C(.5));z[r+308>>2]=fa}d=h;if(C(D(fa))>2]=r+308;if(Mc(_,283,r+128|0)){fa=z[r+308>>2];if(x[r+312>>1]==3){fa=C(C(fa*C(2.5399999618530273))+C(.5));z[r+308>>2]=fa}d=h;if(C(D(fa))>2]=r+304;if(Mc(_,286,r+112|0)){d=h;fa=z[r+304>>2];Ad:{if(C(D(fa))>2]=e}v[r+96>>2]=r+304;if(Mc(_,287,r+96|0)){d=h;fa=z[r+304>>2];Bd:{if(C(D(fa))>2]=e}v[h+336>>2]=-1;v[h+44>>2]=0;d=v[r+332>>2];if(d>>>0>2]){v[r+80>>2]=d;v[r+320>>2]=d;Kc(_,278,r+80|0)}Cd:{Dd:{Ed:{Fd:{i=x[r+318>>1];if(i>>>0>6){break Fd}d=1<>1];switch(f-1|0){case 3:break Gd;case 0:break Hd;default:break Dd}}v[h+44>>2]=2;e=1;u[h+26>>1]=1;break Cd}v[h+44>>2]=16;e=4;u[h+26>>1]=4;break Cd}if(i-32844>>>0<2){break Ed}e=4;f=x[r+326>>1];if((f|0)!=4){break Dd}v[h+44>>2]=16;u[h+26>>1]=4;break Cd}e=24;u[h+26>>1]=24;m=1;break Cd}v[h+44>>2]=256;e=8;u[h+26>>1]=8;if((i|0)!=3|f>>>0<9){break Cd}v[h+44>>2]=0;e=24;u[h+26>>1]=24}if(v[h+332>>2]){Sb(h+72|0,16003,255);break zd}Cf(h,v[r+328>>2],v[r+332>>2],e,6);if(!v[h+4>>2]){Sb(h+72|0,18608,255);break zd}d=x[r+324>>1];if((d|0)==4){Fi(h);d=x[r+324>>1]}if(!((d&65535)!=2|x[r+326>>1]!=8)){Fi(h)}v[r+64>>2]=r+316;Mc(_,259,r- -64|0);hD(h,x[r+316>>1],0);Id:{Jd:{Kd:{Ld:{if(m){n=gb(B(v[r+328>>2],v[r+332>>2])<<2);if(!n){Sb(h+72|0,20537,255);break zd}q=v[r+328>>2];m=v[r+332>>2];f=0;p=0;F=Ma-1120|0;Ma=F;j=F+96|0;eb(j,0,1024);g=Ma-208|0;Ma=g;Md:{if(!v[_+512>>2]){e=w[2671]|w[2672]<<8|(w[2673]<<16|w[2674]<<24);d=w[2667]|w[2668]<<8|(w[2669]<<16|w[2670]<<24);t[j+46|0]=d;t[j+47|0]=d>>>8;t[j+48|0]=d>>>16;t[j+49|0]=d>>>24;t[j+50|0]=e;t[j+51|0]=e>>>8;t[j+52|0]=e>>>16;t[j+53|0]=e>>>24;e=w[2665]|w[2666]<<8|(w[2667]<<16|w[2668]<<24);d=w[2661]|w[2662]<<8|(w[2663]<<16|w[2664]<<24);t[j+40|0]=d;t[j+41|0]=d>>>8;t[j+42|0]=d>>>16;t[j+43|0]=d>>>24;t[j+44|0]=e;t[j+45|0]=e>>>8;t[j+46|0]=e>>>16;t[j+47|0]=e>>>24;e=w[2657]|w[2658]<<8|(w[2659]<<16|w[2660]<<24);d=w[2653]|w[2654]<<8|(w[2655]<<16|w[2656]<<24);t[j+32|0]=d;t[j+33|0]=d>>>8;t[j+34|0]=d>>>16;t[j+35|0]=d>>>24;t[j+36|0]=e;t[j+37|0]=e>>>8;t[j+38|0]=e>>>16;t[j+39|0]=e>>>24;e=w[2649]|w[2650]<<8|(w[2651]<<16|w[2652]<<24);d=w[2645]|w[2646]<<8|(w[2647]<<16|w[2648]<<24);t[j+24|0]=d;t[j+25|0]=d>>>8;t[j+26|0]=d>>>16;t[j+27|0]=d>>>24;t[j+28|0]=e;t[j+29|0]=e>>>8;t[j+30|0]=e>>>16;t[j+31|0]=e>>>24;e=w[2641]|w[2642]<<8|(w[2643]<<16|w[2644]<<24);d=w[2637]|w[2638]<<8|(w[2639]<<16|w[2640]<<24);t[j+16|0]=d;t[j+17|0]=d>>>8;t[j+18|0]=d>>>16;t[j+19|0]=d>>>24;t[j+20|0]=e;t[j+21|0]=e>>>8;t[j+22|0]=e>>>16;t[j+23|0]=e>>>24;e=w[2633]|w[2634]<<8|(w[2635]<<16|w[2636]<<24);d=w[2629]|w[2630]<<8|(w[2631]<<16|w[2632]<<24);t[j+8|0]=d;t[j+9|0]=d>>>8;t[j+10|0]=d>>>16;t[j+11|0]=d>>>24;t[j+12|0]=e;t[j+13|0]=e>>>8;t[j+14|0]=e>>>16;t[j+15|0]=e>>>24;e=w[2625]|w[2626]<<8|(w[2627]<<16|w[2628]<<24);d=w[2621]|w[2622]<<8|(w[2623]<<16|w[2624]<<24);t[j|0]=d;t[j+1|0]=d>>>8;t[j+2|0]=d>>>16;t[j+3|0]=d>>>24;t[j+4|0]=e;t[j+5|0]=e>>>8;t[j+6|0]=e>>>16;t[j+7|0]=e>>>24;break Md}d=x[_+84>>1];Nd:{if(!(1<>>0<=16:0)){v[g>>2]=d;Dc(j,5170,g);break Nd}d=x[_+98>>1]-x[_+168>>1]|0;v[g+192>>2]=g+206;Od:{Pd:{Qd:{Rd:{Sd:{Td:{Ud:{if(!Mc(_,262,g+192|0)){f=1;Vd:{switch(d-1|0){case 2:break Md;case 0:break Ud;default:break Vd}}v[g+16>>2]=76768;Dc(j,9878,g+16|0);break Nd}f=1;Wd:{i=x[g+206>>1];switch(i|0){case 6:case 8:break Md;case 4:case 7:break Od;case 5:break Rd;case 2:break Sd;case 0:case 1:case 3:break Td;default:break Wd}}switch(i-32844|0){case 1:break Pd;case 0:break Qd;default:break Od}}i=1;u[g+206>>1]=1}if(x[_+138>>1]!=1){break Md}e=x[_+98>>1];if((e|0)==1){break Md}d=x[_+84>>1];if(d>>>0>7){break Md}v[g+48>>2]=d;v[g+44>>2]=e;v[g+40>>2]=15730;v[g+36>>2]=i;v[g+32>>2]=76768;Dc(j,13729,g+32|0);break Nd}if((d|0)>2){break Md}v[g+84>>2]=d;v[g+80>>2]=20330;Dc(j,18773,g+80|0);break Nd}v[g+128>>2]=g+204;li(_,332,g+128|0);d=x[g+204>>1];if((d|0)!=1){v[g+116>>2]=d;v[g+112>>2]=24670;Dc(j,23178,g+112|0);break Nd}d=x[_+98>>1];if(d>>>0<=3){v[g+100>>2]=d;v[g+96>>2]=15730;Dc(j,23178,g+96|0);break Nd}break Md}if(x[_+88>>1]==34676){break Md}v[g+148>>2]=34676;v[g+144>>2]=28415;Dc(j,27043,g+144|0);break Nd}if((x[_+88>>1]&65534)!=34676){v[g+180>>2]=34676;v[g+184>>2]=34677;v[g+176>>2]=28415;Dc(j,30232,g+176|0);break Nd}d=x[_+138>>1];if((d|0)==1){break Md}v[g+164>>2]=d;v[g+160>>2]=33087;Dc(j,31874,g+160|0);break Nd}v[g+68>>2]=i;v[g+64>>2]=76768;Dc(j,34933,g- -64|0)}f=0}Ma=g+208|0;Xd:{Yd:{if(!f){break Yd}J=F+96|0;d=0;I=Ma-512|0;Ma=I;f=F+8|0;v[f+76>>2]=0;v[f+80>>2]=0;v[f+44>>2]=0;v[f+36>>2]=0;v[f+40>>2]=0;u[f+30>>1]=4;v[f+4>>2]=1;v[f>>2]=_;v[I+464>>2]=f+24;li(_,258,I+464|0);e=x[f+24>>1];Zd:{if(!(1<>>0<=16:0)){v[I>>2]=e;Dc(J,5170,I);break Zd}v[f+12>>2]=0;v[I+448>>2]=f+26;li(_,277,I+448|0);v[I+436>>2]=I+492;v[I+432>>2]=I+490;li(_,338,I+432|0);_d:{if(!x[I+490>>1]){break _d}$d:{ae:{d=x[v[I+492>>2]>>1];switch(d|0){case 1:case 2:break $d;case 0:break ae;default:break _d}}d=1;if(x[f+26>>1]<=3){break _d}}v[f+12>>2]=d}i=f+32|0;v[I+416>>2]=i;if(!Mc(_,262,I+416|0)){u[f+32>>1]=0}d=x[f+26>>1];j=x[I+490>>1];be:{if(j){e=d;break be}e=4;j=0;if((d|0)!=4){e=d;break be}if(x[f+32>>1]!=2){break be}j=1;v[f+12>>2]=1;u[I+490>>1]=1}v[I+400>>2]=I+486;li(_,259,I+400|0);v[I+384>>2]=I+488;li(_,284,I+384|0);v[I+368>>2]=i;g=(e&65535)-j|0;ce:{de:{ee:{fe:{ge:{he:{ie:{je:{ke:{if(!Mc(_,262,I+368|0)){le:{switch(g-1|0){case 0:v[I+160>>2]=I+496;Mc(_,259,I+160|0);d=x[I+496>>1];if(!(d-2>>>0>=3&(d|0)!=32771)){u[f+32>>1]=0;break ke}u[f+32>>1]=1;break ke;case 2:break de;default:break le}}v[I+16>>2]=76768;Dc(J,9878,I+16|0);d=0;break Zd}me:{ne:{d=x[f+32>>1];switch(d|0){case 8:break ce;case 4:case 7:break ee;case 5:break he;case 2:break ie;case 6:break je;case 0:case 1:break ke;case 3:break me;default:break ne}}switch(d-32844|0){case 1:break fe;case 0:break ge;default:break ee}}v[I+200>>2]=I+472;v[I+196>>2]=I+476;v[I+192>>2]=I+480;if(!Mc(_,320,I+192|0)){d=0;f=w[36221]|w[36222]<<8|(w[36223]<<16|w[36224]<<24);e=w[36217]|w[36218]<<8|(w[36219]<<16|w[36220]<<24);t[J+24|0]=e;t[J+25|0]=e>>>8;t[J+26|0]=e>>>16;t[J+27|0]=e>>>24;t[J+28|0]=f;t[J+29|0]=f>>>8;t[J+30|0]=f>>>16;t[J+31|0]=f>>>24;f=w[36213]|w[36214]<<8|(w[36215]<<16|w[36216]<<24);e=w[36209]|w[36210]<<8|(w[36211]<<16|w[36212]<<24);t[J+16|0]=e;t[J+17|0]=e>>>8;t[J+18|0]=e>>>16;t[J+19|0]=e>>>24;t[J+20|0]=f;t[J+21|0]=f>>>8;t[J+22|0]=f>>>16;t[J+23|0]=f>>>24;f=w[36205]|w[36206]<<8|(w[36207]<<16|w[36208]<<24);e=w[36201]|w[36202]<<8|(w[36203]<<16|w[36204]<<24);t[J+8|0]=e;t[J+9|0]=e>>>8;t[J+10|0]=e>>>16;t[J+11|0]=e>>>24;t[J+12|0]=f;t[J+13|0]=f>>>8;t[J+14|0]=f>>>16;t[J+15|0]=f>>>24;f=w[36197]|w[36198]<<8|(w[36199]<<16|w[36200]<<24);e=w[36193]|w[36194]<<8|(w[36195]<<16|w[36196]<<24);t[J|0]=e;t[J+1|0]=e>>>8;t[J+2|0]=e>>>16;t[J+3|0]=e>>>24;t[J+4|0]=f;t[J+5|0]=f>>>8;t[J+6|0]=f>>>16;t[J+7|0]=f>>>24;break Zd}i=2<>1];Ca=f,Ia=gb(i),v[Ca+36>>2]=Ia;Ca=f,Ia=gb(i),v[Ca+40>>2]=Ia;e=gb(i);v[f+44>>2]=e;d=v[f+36>>2];if(e?!d|!v[f+40>>2]:1){d=0;f=w[37138]|w[37139]<<8|(w[37140]<<16|w[37141]<<24);e=w[37134]|w[37135]<<8|(w[37136]<<16|w[37137]<<24);t[J+24|0]=e;t[J+25|0]=e>>>8;t[J+26|0]=e>>>16;t[J+27|0]=e>>>24;t[J+28|0]=f;t[J+29|0]=f>>>8;t[J+30|0]=f>>>16;t[J+31|0]=f>>>24;f=w[37130]|w[37131]<<8|(w[37132]<<16|w[37133]<<24);e=w[37126]|w[37127]<<8|(w[37128]<<16|w[37129]<<24);t[J+16|0]=e;t[J+17|0]=e>>>8;t[J+18|0]=e>>>16;t[J+19|0]=e>>>24;t[J+20|0]=f;t[J+21|0]=f>>>8;t[J+22|0]=f>>>16;t[J+23|0]=f>>>24;f=w[37122]|w[37123]<<8|(w[37124]<<16|w[37125]<<24);e=w[37118]|w[37119]<<8|(w[37120]<<16|w[37121]<<24);t[J+8|0]=e;t[J+9|0]=e>>>8;t[J+10|0]=e>>>16;t[J+11|0]=e>>>24;t[J+12|0]=f;t[J+13|0]=f>>>8;t[J+14|0]=f>>>16;t[J+15|0]=f>>>24;f=w[37114]|w[37115]<<8|(w[37116]<<16|w[37117]<<24);e=w[37110]|w[37111]<<8|(w[37112]<<16|w[37113]<<24);t[J|0]=e;t[J+1|0]=e>>>8;t[J+2|0]=e>>>16;t[J+3|0]=e>>>24;t[J+4|0]=f;t[J+5|0]=f>>>8;t[J+6|0]=f>>>16;t[J+7|0]=f>>>24;break Zd}Fd(d,v[I+480>>2],i);Fd(v[f+40>>2],v[I+476>>2],i);Fd(v[f+44>>2],v[I+472>>2],i)}if(x[I+488>>1]!=1){break ce}i=x[f+26>>1];if((i|0)==1){break ce}e=x[f+24>>1];if(e>>>0>7){break ce}d=x[f+32>>1];v[I+144>>2]=e;v[I+140>>2]=i;v[I+136>>2]=15730;v[I+132>>2]=d;v[I+128>>2]=76768;Dc(J,13729,I+128|0);d=0;break Zd}if(x[I+488>>1]!=1|x[I+486>>1]!=7){break ce}v[I+208>>2]=1;Kc(_,65538,I+208|0);u[f+32>>1]=2;break ce}if((g|0)>2){break ce}v[I+228>>2]=g;v[I+224>>2]=20330;Dc(J,18773,I+224|0);d=0;break Zd}v[I+272>>2]=I+496;li(_,332,I+272|0);d=x[I+496>>1];if((d|0)!=1){v[I+260>>2]=d;v[I+256>>2]=24670;Dc(J,23178,I+256|0);d=0;break Zd}d=x[f+26>>1];if(d>>>0>3){break ce}v[I+244>>2]=d;v[I+240>>2]=15730;Dc(J,23178,I+240|0);d=0;break Zd}if(x[I+486>>1]!=34676){v[I+308>>2]=34676;v[I+304>>2]=28415;Dc(J,27043,I+304|0);d=0;break Zd}v[I+288>>2]=3;Kc(_,65560,I+288|0);u[f+32>>1]=1;u[f+24>>1]=8;break ce}if((x[I+486>>1]&65534)!=34676){v[I+356>>2]=34676;v[I+360>>2]=34677;v[I+352>>2]=28415;Dc(J,30232,I+352|0);d=0;break Zd}d=x[I+488>>1];if((d|0)!=1){v[I+340>>2]=d;v[I+336>>2]=33087;Dc(J,31874,I+336|0);d=0;break Zd}v[I+320>>2]=3;Kc(_,65560,I+320|0);u[f+32>>1]=2;u[f+24>>1]=8;break ce}v[I+180>>2]=d;v[I+176>>2]=76768;Dc(J,34933,I+176|0);d=0;break Zd}u[f+32>>1]=2}v[f+56>>2]=0;v[f+60>>2]=0;v[f+72>>2]=0;d=f- -64|0;v[d>>2]=0;v[d+4>>2]=0;v[I+112>>2]=f+16;Mc(_,256,I+112|0);v[I+96>>2]=f+20;Mc(_,257,I+96|0);v[I+80>>2]=f+28;li(_,274,I+80|0);d=x[I+488>>1]!=2|(g|0)<2;v[f+8>>2]=d;e=v[v[f>>2]+12>>2]>>>10&1;if(d){v[f+52>>2]=0;v[f+48>>2]=e?395:396;oe:{pe:{qe:{switch(x[f+32>>1]){case 2:re:{switch(x[f+24>>1]-8|0){case 0:se:{switch(v[f+12>>2]-1|0){case 0:v[f+52>>2]=397;break pe;case 1:v[f+52>>2]=398;break pe;default:break se}}v[f+52>>2]=399;break pe;case 8:break re;default:break pe}}te:{switch(v[f+12>>2]-1|0){case 0:v[f+52>>2]=400;break pe;case 1:v[f+52>>2]=401;break pe;default:break te}}v[f+52>>2]=402;break pe;case 5:if(!Rx(f)|x[f+24>>1]!=8){break pe}if(!v[f+56>>2]){v[f+52>>2]=403;break pe}v[f+52>>2]=404;break pe;case 3:if(!Rx(f)){break pe}ue:{switch(x[f+24>>1]-1|0){case 7:v[f+52>>2]=405;break pe;case 3:v[f+52>>2]=406;break pe;case 1:v[f+52>>2]=407;break pe;case 0:break ue;default:break pe}}v[f+52>>2]=408;break pe;case 0:case 1:if(!Rx(f)){break pe}ve:{switch(x[f+24>>1]-1|0){case 15:v[f+52>>2]=409;break pe;case 7:v[f+52>>2]=410;break pe;case 3:v[f+52>>2]=411;break pe;case 1:v[f+52>>2]=412;break pe;case 0:break ve;default:break pe}}v[f+52>>2]=413;break pe;case 6:if(x[f+24>>1]!=8){break pe}if(!pP(f)){break pe}d=v[f>>2];v[I+36>>2]=I+508;v[I+32>>2]=I+496;li(d,530,I+32|0);d=414;we:{switch((x[I+508>>1]|x[I+496>>1]<<4)-17|0){case 49:v[f+52>>2]=415;break pe;case 48:v[f+52>>2]=416;break pe;case 17:v[f+52>>2]=417;break pe;case 16:v[f+52>>2]=418;break pe;case 1:v[f+52>>2]=419;break pe;case 0:d=420;break;case 51:break we;default:break pe}}v[f+52>>2]=d;break pe;case 8:break qe;default:break oe}}if(!Rx(f)|x[f+24>>1]!=8){break pe}e=f;N=e;xe:{ye:{if(v[e+72>>2]){break ye}d=gb(18124);v[f+72>>2]=d;if(d){break ye}wb(v[v[f>>2]+628>>2],1015232,50140,0);d=0;break xe}d=v[f>>2];v[I+48>>2]=I+508;li(d,318,I+48|0);v[I+500>>2]=1120403456;d=v[I+508>>2];fa=z[d+4>>2];z[I+496>>2]=C(z[d>>2]/fa)*C(100);z[I+504>>2]=C(C(C(C(1)-z[d>>2])-fa)/fa)*C(100);d=0;M=v[f+72>>2];v[M>>2]=1500;Fd(M+28|0,1015112,84);K=v[M>>2];ua=C(C(z[M- -64>>2]-z[M+88>>2])/C(K|0));z[M+4>>2]=ua;ze:{Ae:{if((K|0)<=-1){z[M+8>>2]=ua;break Ae}ea=1/+z[M+100>>2];na=+(K|0);E=K+1|0;g=E&1;fa=C(y[M+76>>2]);if(K){j=E&-2;o=M+112|0;while(1){Ca=o+(d<<2)|0,Ja=C(C(pd(+(d|0)/na,ea))*fa),z[Ca>>2]=Ja;i=d|1;Ca=o+(i<<2)|0,Ja=C(C(pd(+(i|0)/na,ea))*fa),z[Ca>>2]=Ja;d=d+2|0;j=j-2|0;if(j){continue}break}}if(g){Ca=M+(d<<2)|0,Ja=C(C(pd(+(d|0)/na,ea))*fa),z[Ca+112>>2]=Ja}z[M+8>>2]=ua;d=0;if((K|0)<0){break Ae}ea=1/+z[M+104>>2];fa=C(y[M+80>>2]);if(K){j=E&-2;g=M+6116|0;while(1){Ca=g+(d<<2)|0,Ja=C(C(pd(+(d|0)/na,ea))*fa),z[Ca>>2]=Ja;i=d|1;Ca=g+(i<<2)|0,Ja=C(C(pd(+(i|0)/na,ea))*fa),z[Ca>>2]=Ja;d=d+2|0;j=j-2|0;if(j){continue}break}}if(E&1){Ca=(M+(d<<2)|0)+6116|0,Ja=C(C(pd(+(d|0)/na,ea))*fa),z[Ca>>2]=Ja}z[M+12>>2]=ua;d=0;if((K|0)<0){break ze}ea=1/+z[M+108>>2];fa=C(y[M+84>>2]);if(K){j=E&-2;g=M+12120|0;while(1){Ca=g+(d<<2)|0,Ja=C(C(pd(+(d|0)/na,ea))*fa),z[Ca>>2]=Ja;i=d|1;Ca=g+(i<<2)|0,Ja=C(C(pd(+(i|0)/na,ea))*fa),z[Ca>>2]=Ja;d=d+2|0;j=j-2|0;if(j){continue}break}}if(!(E&1)){break ze}Ca=(M+(d<<2)|0)+12120|0,Ja=C(C(pd(+(d|0)/na,ea))*fa),z[Ca>>2]=Ja;break ze}z[M+12>>2]=ua}z[M+16>>2]=z[I+496>>2];z[M+20>>2]=z[I+500>>2];z[M+24>>2]=z[I+504>>2];d=421}v[N+52>>2]=d}if(!v[f+48>>2]){break oe}d=1;if(v[f+52>>2]){break Zd}}d=0;e=w[38642]|w[38643]<<8|(w[38644]<<16|w[38645]<<24);t[J+24|0]=e;t[J+25|0]=e>>>8;t[J+26|0]=e>>>16;t[J+27|0]=e>>>24;f=w[38638]|w[38639]<<8|(w[38640]<<16|w[38641]<<24);e=w[38634]|w[38635]<<8|(w[38636]<<16|w[38637]<<24);t[J+16|0]=e;t[J+17|0]=e>>>8;t[J+18|0]=e>>>16;t[J+19|0]=e>>>24;t[J+20|0]=f;t[J+21|0]=f>>>8;t[J+22|0]=f>>>16;t[J+23|0]=f>>>24;f=w[38630]|w[38631]<<8|(w[38632]<<16|w[38633]<<24);e=w[38626]|w[38627]<<8|(w[38628]<<16|w[38629]<<24);t[J+8|0]=e;t[J+9|0]=e>>>8;t[J+10|0]=e>>>16;t[J+11|0]=e>>>24;t[J+12|0]=f;t[J+13|0]=f>>>8;t[J+14|0]=f>>>16;t[J+15|0]=f>>>24;f=w[38622]|w[38623]<<8|(w[38624]<<16|w[38625]<<24);e=w[38618]|w[38619]<<8|(w[38620]<<16|w[38621]<<24);t[J|0]=e;t[J+1|0]=e>>>8;t[J+2|0]=e>>>16;t[J+3|0]=e>>>24;t[J+4|0]=f;t[J+5|0]=f>>>8;t[J+6|0]=f>>>16;t[J+7|0]=f>>>24;break Zd}v[f+52>>2]=0;v[f+48>>2]=e?422:423;Be:{Ce:{De:{switch(x[f+32>>1]-2|0){case 0:Ee:{switch(x[f+24>>1]-8|0){case 0:Fe:{switch(v[f+12>>2]-1|0){case 0:v[f+52>>2]=424;break Ce;case 1:v[f+52>>2]=425;break Ce;default:break Fe}}v[f+52>>2]=426;break Ce;case 8:break Ee;default:break Ce}}Ge:{switch(v[f+12>>2]-1|0){case 0:v[f+52>>2]=427;break Ce;case 1:v[f+52>>2]=428;break Ce;default:break Ge}}v[f+52>>2]=429;break Ce;case 4:break De;default:break Be}}if(x[f+24>>1]!=8|x[f+26>>1]!=3){break Ce}if(!pP(f)){break Ce}d=v[f>>2];v[I+68>>2]=I+508;v[I+64>>2]=I+496;li(d,530,I- -64|0);if((x[I+508>>1]|x[I+496>>1]<<4)!=17){break Ce}v[f+52>>2]=430}if(!v[f+48>>2]){break Be}d=1;if(v[f+52>>2]){break Zd}}d=0;e=w[38642]|w[38643]<<8|(w[38644]<<16|w[38645]<<24);t[J+24|0]=e;t[J+25|0]=e>>>8;t[J+26|0]=e>>>16;t[J+27|0]=e>>>24;f=w[38638]|w[38639]<<8|(w[38640]<<16|w[38641]<<24);e=w[38634]|w[38635]<<8|(w[38636]<<16|w[38637]<<24);t[J+16|0]=e;t[J+17|0]=e>>>8;t[J+18|0]=e>>>16;t[J+19|0]=e>>>24;t[J+20|0]=f;t[J+21|0]=f>>>8;t[J+22|0]=f>>>16;t[J+23|0]=f>>>24;f=w[38630]|w[38631]<<8|(w[38632]<<16|w[38633]<<24);e=w[38626]|w[38627]<<8|(w[38628]<<16|w[38629]<<24);t[J+8|0]=e;t[J+9|0]=e>>>8;t[J+10|0]=e>>>16;t[J+11|0]=e>>>24;t[J+12|0]=f;t[J+13|0]=f>>>8;t[J+14|0]=f>>>16;t[J+15|0]=f>>>24;f=w[38622]|w[38623]<<8|(w[38624]<<16|w[38625]<<24);e=w[38618]|w[38619]<<8|(w[38620]<<16|w[38621]<<24);t[J|0]=e;t[J+1|0]=e>>>8;t[J+2|0]=e>>>16;t[J+3|0]=e>>>24;t[J+4|0]=f;t[J+5|0]=f>>>8;t[J+6|0]=f>>>16;t[J+7|0]=f>>>24}Ma=I+512|0;if(!d){break Yd}u[F+38>>1]=4;e=v[F+56>>2];He:{if(!e){d=v[F+8>>2];wb(v[d+628>>2],v[d>>2],40010,0);p=0;break He}if(!v[F+60>>2]){d=v[F+8>>2];wb(v[d+628>>2],v[d>>2],40977,0);p=0;break He}d=v[F+28>>2];p=Qa[e|0](F+8|0,n+(B(q,m-d|0)<<2)|0,q,d)|0}d=v[F+64>>2];if(d){$a(d);v[F+64>>2]=0}d=v[F+68>>2];if(d){$a(d);v[F+68>>2]=0}d=v[F+72>>2];if(d){$a(d);v[F+72>>2]=0}d=v[F+76>>2];if(d){$a(d);v[F+76>>2]=0}d=v[F+80>>2];if(d){$a(d);v[F+80>>2]=0}d=v[F+44>>2];if(d){$a(d);$a(v[F+48>>2]);$a(v[F+52>>2])}break Xd}e=v[_+628>>2];d=v[_>>2];v[F>>2]=F+96;wb(e,d,41879,F)}Ma=F+1120|0;if(!p){$a(n);Sb(h+72|0,24017,255);break zd}j=v[r+332>>2];if(j){i=v[h+56>>2];f=n;while(1){if(v[h+332>>2]){break Ld}e=0;d=i;if(v[r+328>>2]){while(1){g=(e<<2)+f|0;t[d|0]=x[g+2>>1];t[d+1|0]=v[g>>2]>>>8;t[d+2|0]=v[g>>2];if(x[r+324>>1]==4){ah(h,e,k,w[g+3|0])}d=d+3|0;e=e+1|0;g=v[r+328>>2];if(e>>>0>>0){continue}break}j=v[r+332>>2];e=g}i=v[h+52>>2]+i|0;f=(e<<2)+f|0;k=k+1|0;if(j>>>0>k>>>0){continue}break}}$a(n);break ud}d=x[r+318>>1];f=x[r+326>>1];if(!((d|0)!=3|f>>>0<25)){Sb(h+72|0,25236,255);break zd}$=(d|0)==3&f>>>0>8;ia=Yb($?1<>>0<8?f:8;Ie:{switch(d|0){case 0:case 1:if((f|0)==1){if((d|0)==1){u[ia+4>>1]=65535;t[ia+6|0]=255;f=1;break Jd}t[ia+2|0]=255;u[ia>>1]=65535;f=1;break Jd}m=1<>>0)|0;if((d|0)!=1){d=0;if(p){while(1){i=(d<<2)+ia|0;e=B(d,g)^-1;t[i+2|0]=e;t[i+1|0]=e;t[i|0]=e;e=d|1;i=(e<<2)+ia|0;e=B(e,g)^-1;t[i+2|0]=e;t[i+1|0]=e;t[i|0]=e;d=d+2|0;m=m-2|0;if(m){continue}break}}if(p){break Jd}e=(d<<2)+ia|0;d=B(d,g)^-1;t[e+2|0]=d;t[e+1|0]=d;t[e|0]=d;break Jd}d=0;if(p){while(1){i=(d<<2)+ia|0;e=B(d,g);t[i+2|0]=e;t[i+1|0]=e;t[i|0]=e;e=d|1;i=(e<<2)+ia|0;e=B(e,g);t[i+2|0]=e;t[i+1|0]=e;t[i|0]=e;d=d+2|0;m=m-2|0;if(m){continue}break}}if(p){break Jd}e=(d<<2)+ia|0;d=B(d,g);t[e+2|0]=d;t[e+1|0]=d;t[e|0]=d;break Jd;case 3:break Ie;default:break Jd}}v[r+48>>2]=r+300;v[r+52>>2]=r+296;v[r+56>>2]=r+292;Mc(_,320,r+48|0);Je:{Ke:{if($){j=v[r+292>>2];i=v[r+296>>2];k=v[r+300>>2];break Ke}d=1<>2];i=v[r+296>>2];k=v[r+300>>2];while(1){if((d|0)<1){break Je}d=d-1|0;e=d<<1;if(x[e+k>>1]>255|x[e+i>>1]>255){break Ke}if(x[e+j>>1]<256){continue}break}}f=x[r+326>>1];d=-1<<($?f:p)^-1;break Kd}f=x[r+326>>1];m=-1<<($?f:p);d=m^-1;if($){break Kd}e=d;g=d&d>>31;if(g+m&1){n=(d<<2)+ia|0;e=d<<1;t[n+2|0]=w[e+k|0];t[n+1|0]=w[e+i|0];t[n|0]=w[e+j|0];e=-2-m|0}if((d|0)==(g|0)){break Jd}while(1){g=(e<<2)+ia|0;d=e<<1;t[g+2|0]=w[d+k|0];t[g+1|0]=w[d+i|0];t[g|0]=w[d+j|0];d=e-1|0;g=(d<<2)+ia|0;d=d<<1;t[g+2|0]=w[d+k|0];t[g+1|0]=w[d+i|0];t[g|0]=w[d+j|0];d=(e|0)>1;e=e-2|0;if(d){continue}break}break Jd}$a(n);Sb(h+72|0,16003,255);break Id}while(1){g=(d<<2)+ia|0;e=d<<1;t[g+2|0]=x[e+k>>1]/257;t[g+1|0]=x[e+i>>1]/257;t[g|0]=x[e+j>>1]/257;e=(d|0)>0;d=d-1|0;if(e){continue}break}}if(!$){On(h,ia,1<>1]}m=x[r+324>>1];n=v[r+328>>2];j=yr(_);g=v[h+32>>2];i=v[h+52>>2];p=x[r+326>>1];e=v[r+320>>2];d=x[r+324>>1];oa=v[_+12>>2]>>>10&1;v[r+300>>2]=0;v[r+296>>2]=0;f=B(m,B(n,f&65535))+7|0;Le:{if(!oa){e=B(e,i);d=B(d,g);d=(d|0)<(j|0)?d:j;d=B(p>>>0>8?(p|0)!=16?p+7>>>3|0:1:1,(e|0)>(d|0)?e:d);break Le}v[r+32>>2]=r+300;Mc(_,322,r+32|0);v[r+16>>2]=r+296;Mc(_,323,r+16|0);v[r+320>>2]=v[r+296>>2];d=B($k(_),(y[r+328>>2]/y[r+300>>2]|0)+1|0);E=gb($k(_))}g=f>>>3|0;e=x[r+326>>1];n=d<<((e|0)==16);q=gb(n);Me:{Ne:{Oe:{if(!((e|0)!=16|oa)){f=x[r+324>>1];e=v[r+328>>2];k=gb(d);if(k){break Oe}if(!q){break Me}$a(q);break Me}if(!q){break Me}o=0;ra=1;j=g;k=q;N=0;break Ne}j=B(e,f)&536870911;if(!q){ra=1;q=k;o=g;n=d;g=j;N=0;break Ne}va=gb(v[r+332>>2]);o=g;n=d;N=q}Pe:{Qe:{Re:{d=v[r+332>>2];Se:{if(!d){break Se}J=j&536870910;xa=j&1;I=j&536870908;F=j&3;ta=j-1|0;while(1){if(v[h+332>>2]){$a(k);Sb(h+72|0,16003,255);break Id}e=v[r+320>>2];p=e+ha>>>0>d>>>0?d-ha|0:e;Te:{if(oa){la=Gi(_);s=Tl(_);if(!v[r+328>>2]){break Te}wa=la-s|0;ya=!p|!s;M=s&7;da=s-1|0;ka=0;pa=0;ja=0;while(1){if((vr(_,E,pa,ha,0)|0)<0){break Re}Ue:{if(la>>>0>2]+ja>>>0){if(!p){break Ue}ca=la-ja|0;if(!ca){break Ue}d=B(s,ka);aa=la+(d^-1)|0;ma=s-ca|0;G=wa+ma|0;K=la-d&7;d=k+ja|0;i=p;e=E;while(1){m=ca;f=K;if(f){while(1){t[d|0]=w[e|0];d=d+1|0;e=e+1|0;m=m-1|0;f=f-1|0;if(f){continue}break}}if(aa>>>0>=7){while(1){t[d|0]=w[e|0];t[d+1|0]=w[e+1|0];t[d+2|0]=w[e+2|0];t[d+3|0]=w[e+3|0];t[d+4|0]=w[e+4|0];t[d+5|0]=w[e+5|0];t[d+6|0]=w[e+6|0];t[d+7|0]=w[e+7|0];d=d+8|0;e=e+8|0;m=m-8|0;if(m){continue}break}}e=e+ma|0;d=d+G|0;i=i-1|0;if(i){continue}break}break Ue}if(ya){break Ue}d=k+ja|0;i=p;e=E;while(1){m=s;f=M;if(f){while(1){t[d|0]=w[e|0];d=d+1|0;e=e+1|0;m=m-1|0;f=f-1|0;if(f){continue}break}}if(da>>>0>=7){while(1){t[d|0]=w[e|0];t[d+1|0]=w[e+1|0];t[d+2|0]=w[e+2|0];t[d+3|0]=w[e+3|0];t[d+4|0]=w[e+4|0];t[d+5|0]=w[e+5|0];t[d+6|0]=w[e+6|0];t[d+7|0]=w[e+7|0];d=d+8|0;e=e+8|0;m=m-8|0;if(m){continue}break}}d=d+wa|0;i=i-1|0;if(i){continue}break}}ka=ka+1|0;ja=s+ja|0;pa=v[r+300>>2]+pa|0;if(pa>>>0>2]){continue}break}break Te}if((wr(_,zr(_,ha,0),q,B(g,p))|0)==-1){break Se}}if(p){G=l-p|0;da=0;while(1){ca=p+(da^-1)|0;ma=B(ca,j);aa=x[r+326>>1];Ve:{if($|(aa|0)!=16){break Ve}We:{Xe:{if(!ra){if(j){s=B(o,ca);l=s+1|0;e=0;d=0;i=I;if(ta>>>0>=3){while(1){f=e<<1;M=w[N+(l+(f|6)|0)|0];K=w[N+(l+(f|4)|0)|0];m=w[N+(l+(f|2)|0)|0];f=w[N+(f+l|0)|0];d=f>>>0>(d&255)>>>0?f:d;d=m>>>0>(d&255)>>>0?m:d;d=K>>>0>(d&255)>>>0?K:d;d=M>>>0>(d&255)>>>0?M:d;e=e+4|0;i=i-4|0;if(i){continue}break}}i=F;if(i){while(1){f=w[N+(l+(e<<1)|0)|0];d=f>>>0>(d&255)>>>0?f:d;e=e+1|0;i=i-1|0;if(i){continue}break}}if(d&255){break Xe}e=8;break We}t[(v[r+332>>2]+(G+da|0)|0)+va|0]=8;break Ve}m=v[r+328>>2];if(!m){break Ve}i=ma+1|0;d=0;if((m|0)!=1){f=m&-2;while(1){t[(d+ma|0)+k|0]=w[(i+(d<<1)|0)+k|0];e=d|1;t[(e+ma|0)+k|0]=w[(i+(e<<1)|0)+k|0];d=d+2|0;f=f-2|0;if(f){continue}break}}if(!(m&1)){break Ve}t[(d+ma|0)+k|0]=w[(i+(d<<1)|0)+k|0];break Ve}e=0;if(d<<24>>24<0){break We}while(1){e=e+1|0;d=d<<25>>24;if((d|0)>-1){continue}break}}t[(v[r+332>>2]+(G+da|0)|0)+va|0]=e;if(!j){break Ve}i=8-e|0;d=0;f=J;if(ta){while(1){e=N+(s+(d<<1)|0)|0;t[(d+ma|0)+k|0]=(w[e|0]|w[e+1|0]<<8)>>>i;e=d|1;m=(e+ma|0)+k|0;e=N+(s+(e<<1)|0)|0;t[m|0]=(w[e|0]|w[e+1|0]<<8)>>>i;d=d+2|0;f=f-2|0;if(f){continue}break}}if(!xa){break Ve}e=(d+ma|0)+k|0;d=N+(s+(d<<1)|0)|0;t[e|0]=(w[d|0]|w[d+1|0]<<8)>>>i}Ye:{Ze:{switch(x[r+324>>1]-1|0){case 0:if($){if(!ra){C4(v[h+56>>2]+B(v[h+52>>2],v[r+332>>2]+(G+da|0)|0)|0,N+B(o,ca)|0,v[r+328>>2],aa,ia);break Ye}C4(v[h+56>>2]+B(v[h+52>>2],v[r+332>>2]+(G+da|0)|0)|0,k+ma|0,v[r+328>>2],aa,ia);break Ye}if(!((aa|0)!=16&(aa|0)!=x[h+26>>1])){d=v[h+52>>2];cb(v[h+56>>2]+B(d,v[r+332>>2]+(G+da|0)|0)|0,k+ma|0,d>>>0>j>>>0?j:d);break Ye}Z=v[h+56>>2]+B(v[h+52>>2],v[r+332>>2]+(G+da|0)|0)|0;i=k+ma|0;e=v[r+328>>2];d=0;_e:{if(aa>>>0<=8){if((e|0)<1){break _e}m=-1<>>8-f|0;break $e}K=f-8|0;d=w[i|0]<>>16-f;i=i+1|0}t[Z|0]=d&m;d=f;f=(f|0)>7;d=f?K:d;Z=Z+1|0;i=(f&!K)+i|0;f=(e|0)>1;e=e-1|0;if(f){continue}break}break _e}if(aa>>>0<=15){if((e|0)<1){break _e}K=aa-8|0;m=aa+7|0;while(1){f=e;e=w[i|0]|w[i+1|0]<<8|(w[i+2|0]<<16|w[i+3|0]<<24);t[Z|0]=(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))>>>24-d;e=d+aa|0;af:{if((e|0)>=8){e=(d+m|0)-((e|0)<15?e:15)|0;d=(d+K|0)-(e&-8)|0;i=i+1+(e>>>3)|0;break af}d=e}Z=Z+1|0;e=f-1|0;if((f|0)>=2){continue}break}break _e}if(aa>>>0>=32){if((e|0)<1){break _e}f=e-1|0;d=e&3;if(d){while(1){t[Z|0]=w[i+3|0];i=i+4|0;Z=Z+1|0;e=e-1|0;d=d-1|0;if(d){continue}break}}if(f>>>0<3){break _e}while(1){t[Z|0]=w[i+3|0];t[Z+1|0]=w[i+7|0];t[Z+2|0]=w[i+11|0];t[Z+3|0]=w[i+15|0];i=i+16|0;Z=Z+4|0;d=(e|0)>4;e=e-4|0;if(d){continue}break}break _e}if((e|0)<1){break _e}K=aa-8|0;m=aa+7|0;while(1){f=e;e=w[i|0]|w[i+1|0]<<8|(w[i+2|0]<<16|w[i+3|0]<<24);M=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);e=d+aa|0;t[Z|0]=M>>>e-8;bf:{if((e|0)>=8){e=(d+m|0)-((e|0)<15?e:15)|0;d=(d+K|0)-(e&-8)|0;i=i+1+(e>>>3)|0;break bf}d=e}Z=Z+1|0;e=f-1|0;if((f|0)>=2){continue}break}}break Ye;case 1:d=v[r+332>>2];if(!v[h+964>>2]){Fi(h)}if(!j){break Ye}d=d+(G+da|0)|0;f=0;e=0;while(1){i=(f+ma|0)+k|0;Pn(h,e,d,w[i|0]);ah(h,e,d,w[i+1|0]);m=e+1|0;i=v[r+328>>2];e=(i|0)>(m|0)?m:0;d=d-((i|0)<=(m|0))|0;f=f+2|0;if(j>>>0>f>>>0){continue}break};break Ye;default:break Ze}}cf:{if(x[h+26>>1]==24){break cf}Cf(h,v[r+328>>2],v[r+332>>2],24,6);if(x[r+324>>1]!=4){break cf}Fi(h)}if(!v[r+328>>2]){break Ye}d=v[r+332>>2]+(G+da|0)|0;f=0;e=0;while(1){i=0;aa=0;M=ma+B(x[r+324>>1],f)|0;m=M+2|0;if((m|0)<(n|0)){m=t[k+m|0];i=m&255;aa=(m|0)<0?i|-256:i;K=k+M|0;m=t[K+1|0];i=m&255;i=(m|0)<0?i|-256:i;m=w[K|0]}else{m=0}ea=(+(m|0)/2.55+16)/116;za=pd(ea+ +(aa|0)*-.005,3)*1.0883;na=za*1.057311;Aa=pd(+(i|0)*.002+ea,3)*.95047;qa=pd(ea,3);ea=Aa*.055648+qa*-.204043;Ba=za*.041556+(qa*1.875992+Aa*-.969256);qa=Aa*3.240479+qa*-1.53715+za*-.498535;df:{if(qa>.00304){qa=pd(qa,.41667)*1.055+-.055;break df}qa=qa*12.92}ea=na+ea;ef:{if(Ba>.00304){na=pd(Ba,.41667)*1.055+-.055;break ef}na=Ba*12.92}ff:{if(ea>.00304){ea=pd(ea,.41667)*1.055+-.055;break ff}ea=ea*12.92}K=r;qa=qa*255;gf:{if(D(qa)<2147483648){m=~~qa;break gf}m=-2147483648}i=(m|0)<255?m:255;t[K+290|0]=(i|0)>0?i:0;K=r;na=na*255;hf:{if(D(na)<2147483648){m=~~na;break hf}m=-2147483648}i=(m|0)<255?m:255;t[K+289|0]=(i|0)>0?i:0;K=r;ea=ea*255;jf:{if(D(ea)<2147483648){m=~~ea;break jf}m=-2147483648}i=(m|0)<255?m:255;t[K+288|0]=(i|0)>0?i:0;v[r+12>>2]=v[r+288>>2];$w(h,e,d,r+12|0);if(x[r+324>>1]==4){ah(h,e,d,w[(k+M|0)+3|0])}m=e+1|0;i=v[r+328>>2];e=(i|0)>(m|0)?m:0;d=d-((i|0)<=(m|0))|0;f=f+1|0;if(i>>>0>f>>>0){continue}break}}da=da+1|0;if(p>>>0>da>>>0){continue}break}}ha=v[r+320>>2]+ha|0;l=0-ha|0;d=v[r+332>>2];if(ha>>>0>>0){continue}break}}$a(k);if(!ra){$a(N)}if($|(!va|x[r+324>>1]!=1|x[r+326>>1]!=16)){break Pe}aa=v[r+332>>2];if(!aa){break Pe}e=aa&3;if(aa-1>>>0<3){d=0;f=8;break Qe}m=aa&-4;d=0;f=8;while(1){j=w[(d|3)+va|0];n=w[(d|2)+va|0];g=w[(d|1)+va|0];i=w[d+va|0];f=(f|0)>(i|0)?i:f;f=(f|0)>(g|0)?g:f;f=(f|0)>(n|0)?n:f;f=(f|0)>(j|0)?j:f;d=d+4|0;m=m-4|0;if(m){continue}break}break Qe}$a(E);$a(k);Sb(h+72|0,30879,255);break Id}if(e){while(1){i=w[d+va|0];f=(f|0)>(i|0)?i:f;d=d+1|0;e=e-1|0;if(e){continue}break}}if(!aa){break Pe}k=0;while(1){d=w[k+va|0];if(!(!v[r+328>>2]|(d|0)<=(f|0))){i=d-f|0;d=v[h+56>>2]+B(v[h+52>>2],k)|0;e=0;while(1){t[d|0]=w[d|0]>>>i;d=d+1|0;e=e+1|0;if(e>>>0>2]){continue}break}aa=v[r+332>>2]}k=k+1|0;if(aa>>>0>k>>>0){continue}break}}if(va){$a(va)}if(oa){$a(E)}if(ia){$a(ia)}kf:{switch(x[r+314>>1]-2|0){case 1:dC(h);Zw(h);break ud;case 2:dC(h);break ud;case 3:D4(h);Zw(h);break ud;case 4:E4(h);break ud;case 5:E4(h);Zw(h);break ud;case 6:D4(h);break ud;case 0:break kf;default:break ud}}Zw(h);break ud}if(ia){$a(ia)}if(E){$a(E)}Sb(h+72|0,28184,255)}if(!_){break vd}}Pr(_)}d=v[h+332>>2]==-1&v[h+68>>2]==6;break td}Pr(_);d=1}Ma=r+336|0;if(d){break b}v[a+356>>2]=v[h+356>>2];od(a+72|0,ga+72|0);Qa[v[v[b>>2]+20>>2]](b,sa,0)|0;Qa[v[v[h>>2]+4>>2]](h);if(c){break c}}ga=ab(1028);h=L3(ga);gh(h,a);e=0;lf:{if(!b){break lf}d=V4(h+980|0);v[h+976>>2]=d;if(!d){Sb(h+72|0,5602,255);break lf}v[h+980>>2]=b;if(!(!d|v[d>>2]!=1381173770)){t[d+87|0]=1}d=v[h+976>>2];if(!(!d|v[d>>2]!=1381173770)){t[d+86|0]=0;u[d+84>>1]=65535;u[d+82>>1]=65535;u[d+80>>1]=65535}d=v[h+976>>2];if(!(!d|v[d>>2]!=1381173770)){t[d+86|0]=1}d=v[h+976>>2];if(!(!d|v[d>>2]!=1381173770)){t[d+112|0]=0}d=v[h+976>>2];mf:{if(!d|v[d>>2]!=1381173770){break mf}if(w[d+344|0]){ob(d,11,0,0);break mf}t[d+370|0]=0}d=v[h+976>>2];if(!(!d|v[d>>2]!=1381173770)){v[d+180>>2]=109}if(!(!d|v[d>>2]!=1381173770)){v[d+164>>2]=110}if(!(!d|v[d>>2]!=1381173770)){v[d+168>>2]=111}if(!(!d|v[d>>2]!=1381173770)){v[d+172>>2]=112}if(!(!d|v[d>>2]!=1381173770)){v[d+188>>2]=113}if(!(!d|v[d>>2]!=1381173770)){v[d+220>>2]=114}if(!(!d|v[d>>2]!=1381173770)){v[d+232>>2]=115}if(!(!d|v[d>>2]!=1381173770)){v[d+236>>2]=116}if(!(!d|v[d>>2]!=1381173770)){v[d+240>>2]=117}if(!(!d|v[d>>2]!=1381173770)){v[d+232>>2]=115}if(!(!d|v[d>>2]!=1381173770)){v[d+228>>2]=118}v[h+356>>2]=0;e=2;nf:{of:{pf:{f=v[h+976>>2];i=f;qf:{if(!f|v[f>>2]!=1381173770){break qf}if(!v[i+152>>2]|!v[i+156>>2]|(!v[i+172>>2]|!v[i+220>>2])){break pf}if(!v[i+232>>2]){break pf}d=v[i+236>>2];if(!d|!v[i+240>>2]){break pf}if((w[i+432|0]?1:w[i+344|0])|(w[i+416|0]?1:w[i+417|0])){break of}t[i+496|0]=1;t[i+432|0]=1;t[i+344|0]=1;v[i+148>>2]=0;v[i+140>>2]=0;v[i+144>>2]=0;t[i+136|0]=0;v[i+132>>2]=0;v[i+480>>2]=0;v[i+444>>2]=0;v[i+436>>2]=0;v[i+440>>2]=0;v[i+464>>2]=0;v[i+468>>2]=0;t[i+469|0]=0;t[i+470|0]=0;t[i+471|0]=0;t[i+472|0]=0;t[i+473|0]=0;t[i+474|0]=0;t[i+475|0]=0;t[i+476|0]=0;d=Qa[d|0](i)|0;v[i+492>>2]=0;v[i+488>>2]=d;v[i+364>>2]=0;v[i+484>>2]=d;rf:{sf:{d=v[i+164>>2];if(!d){break sf}if(Qa[d|0](i)|0){break sf}d=901;break rf}d=q4(i)}e=4;tf:{switch(w[i+346|0]){case 1:t[i+344|0]=0;yL(i);break;case 0:break tf;default:break qf}}e=d;if(d){break qf}if(w[i+368|0]){Ca=i,Ia=Qa[v[i+236>>2]](i)|0,v[Ca+364>>2]=Ia;d=14;break nf}e=15;if(w[i+497|0]){break qf}e=16;if(w[i+499|0]){break qf}e=0;t[i+496|0]=0;if(!w[i+500|0]){break qf}t[i+500|0]=0}d=e;break nf}ob(i,3,0,0);d=3;break nf}ob(i,11,0,0);d=11}if(!(!d|(d|0)==15)){e=0;g=0;i=v[h+976>>2];if(i){v[i+144>>2]=0;v[i+140>>2]=0;v[i+132>>2]=d;m=44;f=88;n=i;uf:{vf:{while(1){j=v[(m<<3)+192128>>2];wf:{if((j|0)<(d|0)){g=m+1|0;break wf}if((d|0)>=(j|0)){break vf}f=m-1|0}m=f+g>>1;if((f|0)>=(g|0)){continue}break}f=1599;break uf}f=v[(m<<3)+192132>>2]}v[n+148>>2]=f;f=0;xf:{if(!d){break xf}d=d&15360;f=5;if((d|0)==2048){break xf}yf:{if((d|0)!=8192){if((d|0)!=4096){break yf}f=2;break xf}f=1;break xf}f=9}t[i+136|0]=f}d=v[v[h+976>>2]+148>>2];if(d){if(!w[d|0]){break lf}Sb(h+72|0,d,255);break lf}Sb(h+72|0,13388,255);break lf}zf:{if(v[h+332>>2]!=-1){if(w[f+344|0]){while(1){d=U4(v[h+976>>2]);v[h+356>>2]=v[h+356>>2]+1;if(w[f+344|0]){continue}break}}Af:{if((d|0)!=15){d=v[h+356>>2]-1|0;v[h+356>>2]=d;break Af}t[h+1014|0]=1;d=v[h+356>>2]}if((d|0)<=0){v[h+356>>2]=1;d=1}Bf:{if(w[h+1015|0]){break Bf}e=v[h+352>>2];if((e|0)<0|(e|0)>=(d|0)){break zf}if((e|0)<1){break Bf}d=0;while(1){U4(v[h+976>>2]);d=d+1|0;if((d|0)>2]){continue}break}}d=v[h+1020>>2];if((d|0)>=0){v[h+336>>2]=d;t[h+342|0]=w[h+1026|0];u[h+340>>1]=x[h+1024>>1]}if(Cf(h,v[h+1e3>>2],v[h+1004>>2],u[h+1012>>1],17)){cb(Ud(h,0),v[h+984>>2],B(v[h+20>>2],v[h+52>>2]));m=0;d=v[h+4>>2];Cf:{if(!d){break Cf}f=v[h+44>>2];if(!f){if(v[h+20>>2]<=0){break Cf}while(1){g=Ud(h,m);Df:{if(!g|v[h+44>>2]){break Df}e=B(v[h+16>>2],3);d=v[h+52>>2];d=(e|0)<(d|0)?e:d;if((d|0)<1){break Df}f=d-1|0;d=((f>>>0)/3|0)+1|0;e=d&1;i=0;if(f>>>0>=3){f=d&2147483646;while(1){n=g+i|0;d=w[n+2|0];t[n+2|0]=w[n|0];t[n|0]=d;d=w[n+3|0];t[n+3|0]=w[n+5|0];t[n+5|0]=d;i=i+6|0;f=f-2|0;if(f){continue}break}}if(!e){break Df}e=g+i|0;d=w[e+2|0];t[e+2|0]=w[e|0];t[e|0]=d}m=m+1|0;if((m|0)>2]){continue}break}break Cf}e=d+40|0;d=0;i=0;while(1){g=e+(d<<2)|0;d=w[g+2|0];t[g+2|0]=w[g|0];t[g|0]=d;i=i+1|0;d=i&65535;if(f>>>0>d>>>0){continue}break}}Fi(h);e=1;if(!v[h+964>>2]|!v[h+988>>2]){break lf}cb(HC(h),v[h+988>>2],B(v[h+1004>>2],v[h+1e3>>2]));break lf}Sb(h+72|0,18569,255);e=0;break lf}d=v[h+976>>2];v[h+16>>2]=v[d+16>>2];v[h+20>>2]=v[d+20>>2];v[h+68>>2]=17;e=1;break lf}Sb(h+72|0,15872,255);e=0}if(e){break a}v[a+356>>2]=v[h+356>>2];od(a+72|0,h+72|0);Qa[v[v[b>>2]+20>>2]](b,sa,0)|0;Qa[v[v[ga>>2]+4>>2]](h);if(c){break c}}h=ab(976);ga=Ge(h,7);v[h>>2]=39472;gh(ga,a);e=0;m=Ma-800|0;Ma=m;Ef:{if(!b){break Ef}if(!(Qa[v[v[b>>2]+12>>2]](b,m+776|0,18,1,0,0)|0)){Sb(h+72|0,3154,255);break Ef}d=(w[m+779|0]|w[m+780|0]<<8)<<16>>16;d=w[h+494|0]?d:d<<8|(d&65280)>>>8;t[m+779|0]=d;t[m+780|0]=d>>>8;d=(w[m+781|0]|w[m+782|0]<<8)<<16>>16;d=w[h+494|0]?d:d<<8|(d&65280)>>>8;t[m+781|0]=d;t[m+782|0]=d>>>8;d=u[m+784>>1];u[m+784>>1]=w[h+494|0]?d:d<<8|(d&65280)>>>8;d=u[m+786>>1];u[m+786>>1]=w[h+494|0]?d:d<<8|(d&65280)>>>8;d=u[m+788>>1];u[m+788>>1]=w[h+494|0]?d:d<<8|(d&65280)>>>8;d=u[m+790>>1];f=(w[h+494|0]?d:d<<8|(d&65280)>>>8)<<16>>16;u[m+790>>1]=f;i=w[m+778|0]-1|0;d=i&255;if(!(d>>>0>=11|!(1799>>>d&1))){Ff:{g=x[m+788>>1];Gf:{if(!g|!f){break Gf}e=w[m+792|0];if(!e){break Gf}if((w[m+781|0]|w[m+782|0]<<8)>>>0<257){break Ff}}Sb(h+72|0,9635,255);e=0;break Ef}d=e-8|0;if(!(1<>>0<=24:0)){Sb(h+72|0,9635,255);e=0;break Ef}if(v[h+332>>2]==-1){v[h+68>>2]=7;v[h+20>>2]=f&65535;v[h+16>>2]=g;e=1;break Ef}d=w[m+776|0];if(d){Qa[v[v[b>>2]+20>>2]](b,d,1)|0;g=x[m+788>>1];f=x[m+790>>1];e=w[m+792|0]}Cf(h,g,f&65535,e&255,7);if(w[m+792|0]==32){Fi(h)}if(!v[h+4>>2]){Sb(h+72|0,13711,255);e=0;break Ef}if(v[h+332>>2]){Sb(h+72|0,16003,255);e=0;break Ef}Hf:{if(!w[m+777|0]){break Hf}e=0;Qa[v[v[b>>2]+12>>2]](b,m,B(w[m+781|0]|w[m+782|0]<<8,3),1,0,0)|0;if(!(w[m+781|0]|w[m+782|0]<<8)){break Hf}while(1){d=m+B(e,3)|0;Rn(h,e&255,w[d+2|0],w[d+1|0],w[d|0],0);e=e+1|0;if(e>>>0<(w[m+781|0]|w[m+782|0]<<8)>>>0){continue}break}}if((w[m+778|0]&247)==3){cr(h)}g=w[m+793|0];n=g&32;e=0;f=Ud(h,0);If:{Jf:{if(!x[m+790>>1]){break Jf}i=1792>>>i&1;Kf:{if(n){k=255;while(1){if(v[h+332>>2]){break If}if(Qa[v[v[b>>2]+36>>2]](b)|0){break Kf}d=x[m+790>>1]+(e^-1)|0;if(!((d|0)<0|(d|0)>v[h+20>>2])){f=Ud(h,0)+B(d,v[h+52>>2])|0}d=x[m+788>>1];Lf:{if(!i){dL(h,f,m+776|0,b,d,e,0);break Lf}k=O3(h,f,m+776|0,b,d,e,k&255)}e=e+1|0;if(e>>>0>1]){continue}break}break Jf}if(!i){while(1){if(v[h+332>>2]){break If}if(Qa[v[v[b>>2]+36>>2]](b)|0){break Kf}d=h;i=d;if(v[d+20>>2]>=(e|0)){f=Ud(h,0)+B(v[h+52>>2],e)|0}dL(i,f,m+776|0,b,x[m+788>>1],e,0);e=e+1|0;if(e>>>0>1]){continue}break Jf}}i=255;while(1){if(v[h+332>>2]){break If}if(Qa[v[v[b>>2]+36>>2]](b)|0){break Kf}d=h;j=d;if(v[d+20>>2]>=(e|0)){f=Ud(h,0)+B(v[h+52>>2],e)|0}i=O3(j,f,m+776|0,b,x[m+788>>1],e,i&255);e=e+1|0;if(e>>>0>1]){continue}break}break Jf}Sb(h+72|0,18994,255);e=0;break Ef}if(g&16){Zw(h)}e=1;if(!n|w[m+792|0]!=32){break Ef}hM(h);break Ef}Sb(h+72|0,16003,255);e=0;break Ef}Sb(h+72|0,5697,255)}Ma=m+800|0;if(e){break b}od(a+72|0,ga+72|0);Qa[v[v[b>>2]+20>>2]](b,sa,0)|0;Qa[v[v[h>>2]+4>>2]](h);if(!c){break l}break c}if(c&-9){break k}}h=ab(976);ga=Ge(h,8);v[h>>2]=39516;gh(ga,a);d=0;q=Ma-912|0;Ma=q;Mf:{Nf:{if(!b){break Nf}if(!(Qa[v[v[b>>2]+12>>2]](b,q+784|0,128,1,0,0)|0)){Sb(h+72|0,2464,255);break Mf}e=u[q+788>>1];u[q+788>>1]=w[h+494|0]?e:e<<8|(e&65280)>>>8;e=u[q+790>>1];u[q+790>>1]=w[h+494|0]?e:e<<8|(e&65280)>>>8;e=u[q+792>>1];u[q+792>>1]=w[h+494|0]?e:e<<8|(e&65280)>>>8;e=u[q+794>>1];u[q+794>>1]=w[h+494|0]?e:e<<8|(e&65280)>>>8;e=u[q+796>>1];u[q+796>>1]=w[h+494|0]?e:e<<8|(e&65280)>>>8;e=u[q+798>>1];u[q+798>>1]=w[h+494|0]?e:e<<8|(e&65280)>>>8;e=u[q+850>>1];u[q+850>>1]=w[h+494|0]?e:e<<8|(e&65280)>>>8;e=u[q+852>>1];u[q+852>>1]=w[h+494|0]?e:e<<8|(e&65280)>>>8;if(w[q+784|0]!=10){Sb(h+72|0,5742,255);break Nf}if(w[q+786|0]!=1){Sb(h+72|0,10141,255);break Nf}g=x[q+788>>1];i=x[q+792>>1];f=x[q+790>>1];e=x[q+794>>1];v[h+364>>2]=x[q+796>>1];v[h+368>>2]=x[q+798>>1];Of:{i=i-g|0;if((i|0)>=0){K=e-f|0;if((K|0)>-1){break Of}}Sb(h+72|0,5742,255);break Mf}f=K+1|0;m=i+1|0;if(v[h+332>>2]==-1){v[h+68>>2]=8;v[h+20>>2]=f;v[h+16>>2]=m;d=1;break Mf}d=t[q+849|0];if((d|0)>=5){Sb(h+72|0,12913,255);break Nf}e=t[q+787|0];Pf:{if(!((e|0)!=8|(d|0)<3)){Cf(h,m,f,24,8);if(w[q+849|0]!=4){break Pf}Fi(h);break Pf}if(!((d|0)!=4|(e|0)!=1)){Cf(h,m,f,4,8);break Pf}Cf(h,m,f,e,8)}if(v[h+332>>2]){Sb(h+72|0,16003,255);break Nf}g=B(t[q+849|0],B(f,x[q+850>>1]));p=gb(g);if(p){if((g|0)>0){d=p;f=g;while(1){if(Qa[v[v[b>>2]+36>>2]](b)|0){Sb(h+72|0,18872,255);$a(p);break Nf}Qa[v[v[b>>2]+12>>2]](b,q+783|0,1,1,0,0)|0;n=w[q+783|0];Qf:{if((n&192)!=192){t[d|0]=n;f=f-1|0;d=d+1|0;break Qf}Qa[v[v[b>>2]+12>>2]](b,q+783|0,1,1,0,0)|0;k=n&63;if((k|0)>(f|0)){Sb(h+72|0,20723,255);$a(p);break Nf}f=f-k|0;if(!k){break Qf}e=k-1|0;j=n&7;if(j){while(1){t[d|0]=w[q+783|0];d=d+1|0;k=k-1|0;j=j-1|0;if(j){continue}break}}if(e>>>0<7){break Qf}while(1){t[d|0]=w[q+783|0];e=w[q+783|0];t[d+3|0]=e;t[d+2|0]=e;t[d+1|0]=e;e=w[q+783|0];t[d+6|0]=e;t[d+5|0]=e;t[d+4|0]=e;t[d+7|0]=w[q+783|0];d=d+8|0;e=(k|0)>8;k=k-8|0;if(e){continue}break}}if((f|0)>0){continue}break}}e=q;f=w[e+833|0]|w[e+834|0]<<8|(w[e+835|0]<<16|w[e+836|0]<<24);d=w[e+829|0]|w[e+830|0]<<8|(w[e+831|0]<<16|w[e+832|0]<<24);t[e+29|0]=d;t[e+30|0]=d>>>8;t[e+31|0]=d>>>16;t[e+32|0]=d>>>24;t[e+33|0]=f;t[e+34|0]=f>>>8;t[e+35|0]=f>>>16;t[e+36|0]=f>>>24;d=w[e+837|0]|w[e+838|0]<<8|(w[e+839|0]<<16|w[e+840|0]<<24);t[e+37|0]=d;t[e+38|0]=d>>>8;t[e+39|0]=d>>>16;t[e+40|0]=d>>>24;d=w[e+841|0]|w[e+842|0]<<8;t[e+41|0]=d;t[e+42|0]=d>>>8;t[e+43|0]=w[e+843|0];t[e|0]=w[e+800|0];d=w[e+801|0]|w[e+802|0]<<8|(w[e+803|0]<<16|w[e+804|0]<<24);t[e+1|0]=d;t[e+2|0]=d>>>8;t[e+3|0]=d>>>16;t[e+4|0]=d>>>24;f=w[e+809|0]|w[e+810|0]<<8|(w[e+811|0]<<16|w[e+812|0]<<24);d=w[e+805|0]|w[e+806|0]<<8|(w[e+807|0]<<16|w[e+808|0]<<24);t[e+5|0]=d;t[e+6|0]=d>>>8;t[e+7|0]=d>>>16;t[e+8|0]=d>>>24;t[e+9|0]=f;t[e+10|0]=f>>>8;t[e+11|0]=f>>>16;t[e+12|0]=f>>>24;f=w[e+817|0]|w[e+818|0]<<8|(w[e+819|0]<<16|w[e+820|0]<<24);d=w[e+813|0]|w[e+814|0]<<8|(w[e+815|0]<<16|w[e+816|0]<<24);t[e+13|0]=d;t[e+14|0]=d>>>8;t[e+15|0]=d>>>16;t[e+16|0]=d>>>24;t[e+17|0]=f;t[e+18|0]=f>>>8;t[e+19|0]=f>>>16;t[e+20|0]=f>>>24;f=w[e+825|0]|w[e+826|0]<<8|(w[e+827|0]<<16|w[e+828|0]<<24);d=w[e+821|0]|w[e+822|0]<<8|(w[e+823|0]<<16|w[e+824|0]<<24);t[e+21|0]=d;t[e+22|0]=d>>>8;t[e+23|0]=d>>>16;t[e+24|0]=d>>>24;t[e+25|0]=f;t[e+26|0]=f>>>8;t[e+27|0]=f>>>16;t[e+28|0]=f>>>24;v[e+44>>2]=v[e+844>>2];Rf:{Sf:{Tf:{Uf:{k=w[e+787|0];d=w[e+849|0];if(!((k|0)!=8|(d|0)!=1)){d=0;Qa[v[v[b>>2]+12>>2]](b,q+783|0,1,1,0,0)|0;if(w[q+783|0]!=12){break Uf}while(1){e=q+B(d,3)|0;Qa[v[v[b>>2]+12>>2]](b,e,1,1,0,0)|0;Qa[v[v[b>>2]+12>>2]](b,e+1|0,1,1,0,0)|0;Qa[v[v[b>>2]+12>>2]](b,e+2|0,1,1,0,0)|0;d=d+1|0;if((d|0)!=256){continue}break}k=w[q+787|0];d=w[q+849|0]}if(!((k&255)!=1|(d&255)!=1)){u[q+2>>1]=65280;u[q+4>>1]=65535;u[q>>1]=0}if(v[h+44>>2]){d=0;while(1){e=q+B(d,3)|0;Rn(h,d&255,w[e|0],w[e+1|0],w[e+2|0],0);d=d+1|0;if(d>>>0>2]){continue}break}}f=gb(m+(x[q+850>>1]<<3)|0);if(!f){break Rf}E=K+1|0;r=i+1|0;j=0;while(1){if(v[h+332>>2]){Sb(h+72|0,16003,255);break Sf}e=w[q+849|0];F=e<<24>>24;k=x[q+850>>1];i=p+B(F,B(j,k))|0;M=K-j|0;n=w[q+787|0];Vf:{Wf:{if((e|0)!=3){break Wf}d=0;if((n|0)!=8){break Wf}while(1){e=k&65535;R5(h,d,M,w[d+i|0]|w[(e+d|0)+i|0]<<8|w[((e<<1)+d|0)+i|0]<<16);d=d+1|0;if((r|0)==(d|0)){break Vf}k=x[q+850>>1];continue}}Xf:{if((e|0)!=4){break Xf}d=0;if((n|0)!=8){break Xf}while(1){e=k&65535;R5(h,d,M,w[d+i|0]|w[(e+d|0)+i|0]<<8|w[((e<<1)+d|0)+i|0]<<16);e=B(x[q+850>>1],3)+d|0;if(e>>>0>>0){ah(h,d,M,w[e+i|0])}d=d+1|0;if((r|0)==(d|0)){break Vf}k=x[q+850>>1];continue}}Yf:{if((e|0)==1){m=f;e=k<<16>>16;Zf:{_f:{switch((n<<24>>24)-1|0){case 0:if((e|0)<=0){break Zf}while(1){d=w[i|0];t[m+7|0]=d&1;t[m|0]=d>>>7;t[m+6|0]=d>>>1&1;t[m+5|0]=d>>>2&1;t[m+4|0]=d>>>3&1;t[m+3|0]=d>>>4&1;t[m+2|0]=d>>>5&1;t[m+1|0]=d>>>6&1;m=m+8|0;i=i+1|0;d=e<<16;e=e-1|0;if(d>>16>1){continue}break};break Zf;case 1:if((e|0)<1){break Zf}if(e&1){d=w[i|0];t[m+3|0]=d&3;t[m|0]=d>>>6;t[m+2|0]=d>>>2&3;t[m+1|0]=d>>>4&3;m=m+4|0;i=i+1|0;d=e-1|0}else{d=e}if((e|0)==1){break Zf}while(1){e=w[i|0];t[m+3|0]=e&3;t[m|0]=e>>>6;t[m+2|0]=e>>>2&3;t[m+1|0]=e>>>4&3;e=w[i+1|0];t[m+7|0]=e&3;t[m+4|0]=e>>>6;t[m+6|0]=e>>>2&3;t[m+5|0]=e>>>4&3;m=m+8|0;i=i+2|0;e=d<<16;d=d-2|0;if(e>>16>2){continue}break};break Zf;case 3:if((e|0)<1){break Zf}o=e-1|0;d=e&3;if(d){while(1){n=w[i|0];t[m+1|0]=n&15;t[m|0]=n>>>4;m=m+2|0;i=i+1|0;e=e-1|0;d=d-1|0;if(d&65535){continue}break}}if((o&65535)>>>0<3){break Zf}while(1){d=w[i|0];t[m+1|0]=d&15;t[m|0]=d>>>4;d=w[i+1|0];t[m+3|0]=d&15;t[m+2|0]=d>>>4;d=w[i+2|0];t[m+5|0]=d&15;t[m+4|0]=d>>>4;d=w[i+3|0];t[m+7|0]=d&15;t[m+6|0]=d>>>4;m=m+8|0;i=i+4|0;d=e<<16;e=e-4|0;if(d>>16>4){continue}break};break Zf;case 7:break _f;default:break Zf}}if((e|0)<1){break Zf}n=e-1|0;d=e&7;if(d){while(1){t[m|0]=w[i|0];m=m+1|0;i=i+1|0;e=e-1|0;d=d-1|0;if(d&65535){continue}break}}if((n&65535)>>>0<7){break Zf}while(1){t[m|0]=w[i|0];t[m+1|0]=w[i+1|0];t[m+2|0]=w[i+2|0];t[m+3|0]=w[i+3|0];t[m+4|0]=w[i+4|0];t[m+5|0]=w[i+5|0];t[m+6|0]=w[i+6|0];t[m+7|0]=w[i+7|0];m=m+8|0;i=i+8|0;d=e<<16;e=e-8|0;if(d>>16>8){continue}break}}break Yf}o=f;N=0;m=(n|0)==1&(F|0)<5;I=k<<16>>16;$f:{if(!m|(I|0)<1){break $f}d=I<<3;d=eb(o,0,(d|1)-((d|0)<1?d:1)|0);if((F|0)<1){break $f}n=i;e=d;while(1){k=w[n|0];if(k&128){t[e|0]=w[e|0]|1}if(k&64){t[e+1|0]=w[e+1|0]|1}if(k&32){t[e+2|0]=w[e+2|0]|1}if(k&16){t[e+3|0]=w[e+3|0]|1}if(k&8){t[e+4|0]=w[e+4|0]|1}if(k&4){t[e+5|0]=w[e+5|0]|1}if(k&2){t[e+6|0]=w[e+6|0]|1}if(k&1){t[e+7|0]=w[e+7|0]|1}n=n+1|0;e=e+8|0;N=N+1|0;if((I|0)!=(N|0)){continue}break}if((F|0)==1){break $f}N=0;i=i+I|0;n=i;e=d;while(1){k=w[n|0];if(k&128){t[e|0]=w[e|0]|2}if(k&64){t[e+1|0]=w[e+1|0]|2}if(k&32){t[e+2|0]=w[e+2|0]|2}if(k&16){t[e+3|0]=w[e+3|0]|2}if(k&8){t[e+4|0]=w[e+4|0]|2}if(k&4){t[e+5|0]=w[e+5|0]|2}if(k&2){t[e+6|0]=w[e+6|0]|2}if(k&1){t[e+7|0]=w[e+7|0]|2}n=n+1|0;e=e+8|0;N=N+1|0;if((I|0)!=(N|0)){continue}break}if((F|0)==2){break $f}N=0;i=i+I|0;n=i;e=d;while(1){d=w[n|0];if(d&128){t[e|0]=w[e|0]|4}if(d&64){t[e+1|0]=w[e+1|0]|4}if(d&32){t[e+2|0]=w[e+2|0]|4}if(d&16){t[e+3|0]=w[e+3|0]|4}if(d&8){t[e+4|0]=w[e+4|0]|4}if(d&4){t[e+5|0]=w[e+5|0]|4}if(d&2){t[e+6|0]=w[e+6|0]|4}if(d&1){t[e+7|0]=w[e+7|0]|4}n=n+1|0;e=e+8|0;N=N+1|0;if((I|0)!=(N|0)){continue}break}if((F|0)==3){break $f}d=i+I|0;n=0;while(1){e=w[d|0];if(e&128){t[o|0]=w[o|0]|8}if(e&64){t[o+1|0]=w[o+1|0]|8}if(e&32){t[o+2|0]=w[o+2|0]|8}if(e&16){t[o+3|0]=w[o+3|0]|8}if(e&8){t[o+4|0]=w[o+4|0]|8}if(e&4){t[o+5|0]=w[o+5|0]|8}if(e&2){t[o+6|0]=w[o+6|0]|8}if(e&1){t[o+7|0]=w[o+7|0]|8}d=d+1|0;o=o+8|0;n=n+1|0;if((I|0)!=(n|0)){continue}break}}if(!m){break Tf}}d=0;while(1){Pn(h,d,M,w[d+f|0]);d=d+1|0;if((r|0)!=(d|0)){continue}break}}j=j+1|0;if((E|0)!=(j|0)){continue}break}$a(p);$a(f);d=1;break Mf}Sb(h+72|0,22860,255);$a(p);break Nf}Sb(h+72|0,26677,255)}$a(p);$a(f);break Nf}Sb(h+72|0,16003,255);$a(p);break Nf}Sb(h+72|0,16003,255)}d=0}Ma=q+912|0;if(!d){break j}break b}switch(c-9|0){case 0:break i;case 11:break e;case 10:break f;case 9:break g;case 2:case 3:case 4:case 5:case 6:break h;default:break d}}od(a+72|0,ga+72|0);Qa[v[v[b>>2]+20>>2]](b,sa,0)|0;Qa[v[v[h>>2]+4>>2]](h);if(c){break c}}h=ab(976);ga=Ge(h,9);v[h>>2]=39560;gh(ga,a);f=0;d=0;e=0;i=0;ag:{if(!b){break ag}while(1){if(!(Qa[v[v[b>>2]+36>>2]](b)|0)){i=Qa[v[v[b>>2]+48>>2]](b)|0;f=i&127|f<<7;if(i&128){continue}}break}while(1){if(!(Qa[v[v[b>>2]+36>>2]](b)|0)){if(Qa[v[v[b>>2]+48>>2]](b)&128){continue}}break}while(1){if(!(Qa[v[v[b>>2]+36>>2]](b)|0)){i=Qa[v[v[b>>2]+48>>2]](b)|0;e=i&127|e<<7;if(i&128){continue}}break}while(1){if(!(Qa[v[v[b>>2]+36>>2]](b)|0)){i=Qa[v[v[b>>2]+48>>2]](b)|0;d=i&127|d<<7;if(i&128){continue}}break}if(Qa[v[v[b>>2]+36>>2]](b)|0){Sb(h+72|0,2919,255);i=0;break ag}if(f){Sb(h+72|0,5720,255);i=0;break ag}v[h+20>>2]=d;v[h+16>>2]=e;if(!((d|0)>0&(e|0)>=1)){Sb(h+72|0,11231,255);i=0;break ag}bg:{if(v[h+332>>2]!=-1){Cf(h,e,d,1,9);if(!v[h+4>>2]){Sb(h+72|0,13692,255);i=0;break ag}cr(h);f=v[h+16>>2];Ud(h,0);e=v[h+20>>2];d=Ud(h,0);if(v[h+20>>2]<1){break bg}i=(f+7|0)/8|0;f=d+B(v[h+52>>2],v[h+20>>2]-1|0)|0;d=0;while(1){Qa[v[v[b>>2]+12>>2]](b,f,i,1,0,0)|0;e=e-1|0;f=(e|0)>=1?f-v[h+52>>2]|0:f;d=d+1|0;if((d|0)>2]){continue}break}break bg}v[h+68>>2]=9}i=1}if(i){break b}od(a+72|0,ga+72|0);Qa[v[v[b>>2]+20>>2]](b,sa,0)|0;Qa[v[v[h>>2]+4>>2]](h);if(c){break c}}h=ab(976);ga=Ge(h,0);v[h>>2]=39604;gh(ga,a);e=0;i=0;k=0;la=Ma-32|0;Ma=la;cg:{if(!b){break cg}dg:{eg:{fg:{gg:{if(yM()){Sb(h+72|0,1675,255);break gg}m=xM(7853);if(m){break fg}Sb(h+72|0,9311,255)}m=0;break eg}d=v[m+56>>2];if(d){$a(d)}v[m+56>>2]=b;v[la+24>>2]=104;v[la+16>>2]=105;v[la+28>>2]=106;v[la+20>>2]=107;v[m+52>>2]=la+16;f=0;i=-1;e=v[279529];hg:{if((e|0)<1){break hg}g=1118128;while(1){ig:{d=v[g+24>>2];if(d){if(!(Qa[d|0](m)|0)){break ig}e=v[279529]}g=g+28|0;f=f+1|0;if((f|0)<(e|0)){continue}break hg}break}i=v[g>>2]}jg:{kg:{if((i|0)<=-1){Sb(h+72|0,12716,255);break kg}e=uM(m,i);if(e){break jg}Sb(h+72|0,16195,255);i=-1}e=0;break eg}t[la+12|0]=0;n=la+12|0;f=0;d=v[279529];lg:{if((d|0)>=1){g=1118128;mg:{while(1){if(v[g>>2]==(i|0)){break mg}g=g+28|0;f=f+1|0;if((d|0)!=(f|0)){continue}break}d=0;break lg}d=v[g+4>>2]}else{d=0}}d=Sb(n,d,3);t[la+15|0]=0;d=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);i=(d|0)==7890800?13:(d|0)==7171696?14:(d|0)==7561586?15:(d|0)==6516842?12:(d|0)==3305578?11:-1;d=v[v[e+24>>2]>>2];da=v[d+20>>2];ya=v[d+16>>2];if(v[h+332>>2]==-1){v[h+20>>2]=da;v[h+16>>2]=ya;v[h+68>>2]=(i|0)>0?i:0;Sb(h+72|0,28787,255);break eg}f=v[e+16>>2];if(f>>>0>=65){Sb(h+72|0,29886,255);break eg}aa=v[d+24>>2];if(!((f|0)<3|(aa|0)>8)){ta=qM(1025);if(!ta){Sb(h+72|0,31767,255);break eg}n=0;ja=Ma-48|0;Ma=ja;d=gb(40);ng:{if(!d){d=0;break ng}v[d>>2]=0;v[d+4>>2]=0;t[d+36|0]=1;v[d+24>>2]=0;v[d+28>>2]=16384;v[d+16>>2]=0;v[d+20>>2]=0;v[d+32>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0}p=v[e+16>>2];f=v[d+24>>2];og:{if(!f){f=gb(p<<2);break og}f=ph(f,p<<2)}pg:{qg:{if(!f){break qg}v[d+20>>2]=p;v[d+24>>2]=f;j=v[d+16>>2];rg:{if((j|0)>=(p|0)){break rg}v[f+(j<<2)>>2]=0;g=j+1|0;if((p|0)==(g|0)){break rg}o=p+(j^-1)&3;if(o){while(1){v[v[d+24>>2]+(g<<2)>>2]=0;g=g+1|0;o=o-1|0;if(o){continue}break}}if((p-j|0)-2>>>0<3){break rg}while(1){f=g<<2;v[f+v[d+24>>2]>>2]=0;v[(f+v[d+24>>2]|0)+4>>2]=0;v[(f+v[d+24>>2]|0)+8>>2]=0;v[(f+v[d+24>>2]|0)+12>>2]=0;g=g+4|0;if((p|0)!=(g|0)){continue}break}}if(v[e+16>>2]>=1){o=0;while(1){g=o<<2;j=v[g+v[e+24>>2]>>2];E=0;p=gb(44);f=0;sg:{if(!p){break sg}v[p>>2]=0;v[p+4>>2]=0;v[p+40>>2]=65536;v[p+32>>2]=0;v[p+36>>2]=0;v[p+24>>2]=0;v[p+28>>2]=0;v[p+16>>2]=0;v[p+20>>2]=0;v[p+8>>2]=0;v[p+12>>2]=0;v[p>>2]=v[j>>2];v[p+4>>2]=v[j+4>>2];v[p+8>>2]=v[j+8>>2];v[p+12>>2]=v[j+12>>2];v[p+16>>2]=v[j+16>>2];v[p+20>>2]=v[j+20>>2];v[p+24>>2]=v[j+24>>2];v[p+28>>2]=v[j+28>>2];v[p+36>>2]=v[j+36>>2];v[p+40>>2]=v[j+40>>2];f=fi(0,0);v[p+32>>2]=f;tg:{if(!f){break tg}if(af(v[j+32>>2],0,0)){break tg}if(Pm(v[p+32>>2],v[j+32>>2],-1)){break tg}E=af(v[p+32>>2],0,0)?0:p}f=E}v[g+v[d+24>>2]>>2]=f;if(!f){break qg}v[d+16>>2]=v[d+16>>2]+1;o=o+1|0;if((o|0)>2]){continue}break}}Wt(d);f=v[e+32>>2];if(!f){break pg}f=kM(f);v[d+32>>2]=f;if(f){break pg}}Og(d);d=0}ug:{vg:{wg:{xg:{yg:{zg:{Ag:{Bg:{if(!d){break Bg}g=d;d=1;r=v[g+24>>2];n=v[r>>2];$=v[n+12>>2];G=v[n+8>>2];K=v[g+16>>2];Cg:{if((K|0)<1){break Cg}while(1){if((d|0)==(K|0)){break Cg}f=v[r+(d<<2)>>2];if(v[f+8>>2]==(G|0)){d=d+1|0;if(v[f+12>>2]==($|0)){continue}}break}Dg:{if((K|0)<2){break Dg}d=1;f=K-1|0;E=f&1;if((K|0)!=2){f=f&-2;while(1){j=r+(d<<2)|0;q=v[j+4>>2];p=v[q+12>>2];o=v[j>>2];j=v[o+12>>2];j=(j|0)<($|0)?j:$;$=(j|0)>(p|0)?p:j;p=v[q+8>>2];j=v[o+8>>2];j=(j|0)<(G|0)?j:G;G=(j|0)>(p|0)?p:j;d=d+2|0;f=f-2|0;if(f){continue}break}}if(!E){break Dg}f=v[r+(d<<2)>>2];d=v[f+12>>2];$=(d|0)<($|0)?d:$;d=v[f+8>>2];G=(d|0)<(G|0)?d:G}q=v[n+40>>2];f=0;d=1;if(rM(g,0,1,G,$,v[n+28>>2],v[n+24>>2])){n=0;break Bg}while(1){n=v[g+24>>2];o=d<<2;v[v[n+o>>2]+40>>2]=q;if(v[g+16>>2]>(f|0)){p=f<<2;j=v[p+n>>2];n=v[j+32>>2];if(n){ne(n)}$a(j);n=g;j=v[g+16>>2];if((j|0)>(f|0)){q=p;p=v[g+24>>2];id(q+p|0,o+p|0,j+(f^-1)<<2);j=v[g+16>>2]}v[n+16>>2]=j-1;Wt(g)}f=v[g+24>>2];if((d|0)!=(K|0)){j=v[f+o>>2];q=v[j+40>>2];n=0;f=d;d=d+1|0;if(!rM(g,f,d,G,$,v[j+28>>2],v[j+24>>2])){continue}break Bg}break}n=v[f>>2];$=v[n+12>>2];G=v[n+8>>2]}j=v[g+32>>2];if(!j){break xg}l=v[n+20>>2];oa=v[n+16>>2];wa=mM(v[j>>2]);ra=mM(v[ta>>2]);n=0;M=gb(40);if(!M){break Bg}v[M>>2]=0;v[M+4>>2]=0;t[M+36|0]=1;v[M+24>>2]=0;v[M+28>>2]=16384;v[M+16>>2]=0;v[M+20>>2]=0;d=0;v[M+32>>2]=0;v[M+8>>2]=0;v[M+12>>2]=0;if((ra|0)>=1){while(1){v[ja+40>>2]=8;v[ja+44>>2]=0;v[ja+36>>2]=l;v[ja+32>>2]=oa;v[ja+28>>2]=$;v[ja+24>>2]=G;v[ja+16>>2]=0;v[ja+20>>2]=0;if(hr(M,-1,ja+16|0)){break Bg}v[v[v[M+24>>2]+(d<<2)>>2]+40>>2]=d&32767;d=d+1|0;if((ra|0)!=(d|0)){continue}break}}d=kM(ta);if(!d){break Bg}if(v[M+32>>2]){break yg}v[M+32>>2]=d;v[M+28>>2]=v[ta>>2];Eg:{Fg:{f=gb(12);if(!f){break Fg}d=Di();v[f+8>>2]=d;if(!d){break Fg}Gg:{$=v[j+20>>2];if(!$){$=v[j+20>>2]}G=v[ta+36>>2];if(!G){G=v[ta+36>>2]}if(!$|!G){break Fg}if(Xi(d,$)){break Fg}if(v[j+8>>2]!=v[ta+8>>2]){break Gg}d=0;Hg:{if(Xi(v[f+8>>2],G)){break Hg}d=(v[j>>2]>>8)-1|0;if(d>>>0>=5){break Gg}v[f>>2]=v[(d<<2)+188388>>2];d=(v[ta>>2]>>8)-1|0;if(d>>>0>=5){break Gg}v[f+4>>2]=v[(d<<2)+188388>>2];d=f}break Eg}S();L()}d=0}K=d;if(!K){break Bg}v[ja+8>>2]=wa;ma=gb(B(wa,20));if(!ma){break zg}v[ja+12>>2]=ma;q=oa<<2;if((wa|0)>=1){o=v[g+16>>2];if((o|0)<1){break vg}p=v[g+24>>2];while(1){j=n&32767;d=0;while(1){f=p+(d<<2)|0;if((j|0)!=v[v[f>>2]+40>>2]){d=d+1|0;if((o|0)!=(d|0)){continue}break vg}break}j=ma+B(n,20)|0;d=gb(q);v[j>>2]=d;if(!d){n=0;break Bg}d=v[f>>2];v[j+4>>2]=v[d+24>>2];d=v[d+28>>2];v[j+16>>2]=1;v[j+12>>2]=oa;v[j+8>>2]=d;n=n+1|0;if((wa|0)!=(n|0)){continue}break}}v[ja>>2]=ra;G=gb(B(ra,20));if(!G){break Ag}v[ja+4>>2]=G;if((ra|0)>=1){o=v[M+16>>2];if((o|0)<1){break wg}p=v[M+24>>2];n=0;while(1){j=n&32767;d=0;while(1){f=p+(d<<2)|0;if((j|0)!=v[v[f>>2]+40>>2]){d=d+1|0;if((o|0)!=(d|0)){continue}break wg}break}j=G+B(n,20)|0;d=gb(q);v[j>>2]=d;if(!d){n=0;break Bg}d=v[f>>2];v[j+4>>2]=v[d+24>>2];d=v[d+28>>2];v[j+16>>2]=1;v[j+12>>2]=oa;v[j+8>>2]=d;n=n+1|0;if((ra|0)!=(n|0)){continue}break}}$=0;if((l|0)>0){while(1){Z=0;if((wa|0)>0){while(1){f=-1;p=v[g+16>>2];Ig:{if((p|0)<1){break Ig}j=Z&32767;n=v[g+24>>2];d=0;while(1){if((j|0)==v[v[n+(d<<2)>>2]+40>>2]){f=d;break Ig}d=d+1|0;if((p|0)!=(d|0)){continue}break}}n=0;q=v[ma+B(Z,20)>>2];pa=0;Jg:{Kg:{if((f|0)<0|v[g+16>>2]<=(f|0)){break Kg}F=v[v[g+24>>2]+(f<<2)>>2];f=v[F+16>>2];if(($|0)<0|(f|0)<=0){break Kg}d=v[F+20>>2];if((oa|0)<0|(d|0)<=($|0)|((f|0)<(oa|0)|(d|0)<($+1|0))){break Kg}ha=0;if((oa|0)<=0){if((af(v[F+32>>2],B(v[F+36>>2],B(f,$)),0)|0)<0){break Kg}while(1){ha=ha+1|0;d=0;if((ha|0)==1){break Jg}if((af(v[F+32>>2],B(v[F+36>>2],B(v[F+16>>2],$+ha|0)),0)|0)>=0){continue}break}break Kg}if((af(v[F+32>>2],B(v[F+36>>2],B(f,$)),0)|0)<0){break Kg}p=oa<<2;while(1){Lg:{Mg:{Ng:{ha=v[F+24>>2];if((ha|0)>0){o=0;while(1){j=v[F+28>>2];Og:{if((ha|0)<1){E=0;break Og}r=v[F+32>>2];ka=ha+7>>>3|0;E=0;while(1){f=v[r+8>>2];d=-1;if(f&7){break Jg}d=v[r+64>>2];if((d|0)>=0&(d|0)<=v[r+60>>2]){break Ng}d=v[r+28>>2];v[r+28>>2]=d-1;Pg:{if((d|0)>=1){v[r+60>>2]=v[r+60>>2]+1;d=v[r+24>>2];v[r+24>>2]=d+1;d=w[d|0];break Pg}d=Eb(r,1);if((d|0)==-1){break Kg}}E=E<<8|d;d=(ka|0)>1;ka=ka-1|0;if(d){continue}break}}if(j){break Mg}v[q>>2]=(-1<>2];continue}}if(v[F+28>>2]){break Mg}q=eb(q,0,p)+p|0;break Lg}v[r+8>>2]=f|4;d=-1;break Jg}S();L()}pa=pa+1|0;d=0;if((pa|0)==1){break Jg}if((af(v[F+32>>2],B(v[F+36>>2],B(v[F+16>>2],$+pa|0)),0)|0)>=0){continue}break}}d=-1}if(d){break Bg}Z=Z+1|0;if((wa|0)!=(Z|0)){continue}break}}f=0;r=Ma-32768|0;Ma=r;Qg:{Rg:{n=v[K>>2];Sg:{if((n|0)>v[ja+8>>2]){break Sg}pa=v[K+4>>2];if((pa|0)>v[ja>>2]){break Sg}d=1;p=v[ja+12>>2];I=v[p+16>>2];F=v[p+12>>2];if((n|0)>1){while(1){j=p+B(d,20)|0;if((F|0)!=v[j+12>>2]|(I|0)!=v[j+16>>2]){break Sg}d=d+1|0;if((n|0)!=(d|0)){continue}break}}if((pa|0)>=1){p=v[ja+4>>2];d=0;while(1){j=p+B(d,20)|0;if((F|0)!=v[j+12>>2]|(I|0)!=v[j+16>>2]){break Sg}d=d+1|0;if((pa|0)!=(d|0)){continue}break}}d=0;N=v[K+8>>2];ka=v[N>>2];Tg:{if((ka|0)<1){break Tg}E=v[N+8>>2];if((ka|0)!=1){ha=ka&-2;while(1){p=f<<2;j=v[E+(p|4)>>2];q=v[j+12>>2];o=v[j+8>>2];j=v[p+E>>2];p=v[j+12>>2];j=v[j+8>>2];d=(d|0)<(j|0)?j:d;d=(d|0)<(p|0)?p:d;d=(d|0)<(o|0)?o:d;d=(d|0)<(q|0)?q:d;f=f+2|0;ha=ha-2|0;if(ha){continue}break}}if(!(ka&1)){break Tg}f=v[E+(f<<2)>>2];j=v[f+12>>2];f=v[f+8>>2];d=(d|0)<(f|0)?f:d;d=(d|0)<(j|0)?j:d}s=2048/(d|0)|0;if((s|0)<=0){break Rg}ha=0;ca=B(F,I);if((ca|0)<1){break Sg}I=r+16384|0;while(1){d=ca-ha|0;xa=(d|0)<(s|0)?d:s;if((n|0)>=1){o=v[ja+12>>2];q=0;while(1){Ug:{if((xa|0)<1){break Ug}d=o+B(q,20)|0;F=v[d+4>>2];p=F-1|0;j=v[d+8>>2];J=j?-1<>2]+(ha<<2)|0;f=r+(q<<3)|0;ea=+(-1<>2];if((p|0)<0|(j|0)<=(p|0)){break Sg}A[f>>3]=+(p+J|0)/ea;d=d+4|0;f=(n<<3)+f|0;E=E+1|0;if((xa|0)!=(E|0)){continue}break}break Ug}p=1<>2];if((F|0)<(j|0)|(p|0)<=(F|0)){break Sg}A[f>>3]=+(F+J|0)/ea;d=d+4|0;f=(n<<3)+f|0;E=E+1|0;if((xa|0)!=(E|0)){continue}break}}q=q+1|0;if((q|0)!=(n|0)){continue}break}}f=0;d=r;Vg:{if((ka|0)>0){while(1){n=d;j=v[v[N+8>>2]+(f<<2)>>2];d=v[j+12>>2]>v[j+8>>2]?(d|0)==(r|0)?I:r:d;if(Qa[v[v[j+4>>2]+4>>2]](j,n,d,xa)|0){break Vg}f=f+1|0;ka=v[N>>2];if((f|0)<(ka|0)){continue}break}pa=v[K+4>>2]}if((pa|0)>=1){F=v[ja+4>>2];q=0;while(1){Wg:{if((xa|0)<1){break Wg}n=F+B(q,20)|0;f=v[n>>2]+(ha<<2)|0;p=v[n+4>>2];J=1<>2];qa=+((j?J:0)|0);n=(q<<3)+d|0;na=+(-1<>3]*na+qa;Xg:{if(D(ea)<2147483648){j=~~ea;break Xg}j=-2147483648}if((j|0)<0|(j|0)>=(p|0)){break Sg}v[f>>2]=j;f=f+4|0;n=(pa<<3)+n|0;E=E+1|0;if((xa|0)!=(E|0)){continue}break}break Wg}p=0-J|0;while(1){ea=A[n>>3]*na+qa;Yg:{if(D(ea)<2147483648){j=~~ea;break Yg}j=-2147483648}if((j|0)<(p|0)|(j|0)>=(J|0)){break Sg}v[f>>2]=j;f=f+4|0;n=(pa<<3)+n|0;E=E+1|0;if((xa|0)!=(E|0)){continue}break}}q=q+1|0;if((pa|0)!=(q|0)){continue}break}}ha=ha+xa|0;if((ca|0)<=(ha|0)){break Sg}n=v[K>>2];continue}break}}Ma=r+32768|0;break Qg}O(11745,6744,519,188250);L()}Z=0;if((ra|0)>0){while(1){f=-1;p=v[M+16>>2];Zg:{if((p|0)<1){break Zg}j=Z&32767;n=v[M+24>>2];d=0;while(1){if((j|0)==v[v[n+(d<<2)>>2]+40>>2]){f=d;break Zg}d=d+1|0;if((p|0)!=(d|0)){continue}break}}n=0;ha=v[G+B(Z,20)>>2];E=0;_g:{$g:{if((f|0)<0|v[M+16>>2]<=(f|0)){break $g}o=v[v[M+24>>2]+(f<<2)>>2];f=v[o+16>>2];if(($|0)<0|(f|0)<=0){break $g}d=v[o+20>>2];if((oa|0)<0|(d|0)<=($|0)|((f|0)<(oa|0)|(d|0)<($+1|0))){break $g}q=0;d=af(v[o+32>>2],B(v[o+36>>2],B(f,$)),0);if((oa|0)<=0){if((d|0)<0){break $g}while(1){q=q+1|0;d=0;if((q|0)==1){break _g}if((af(v[o+32>>2],B(v[o+36>>2],B(v[o+16>>2],q+$|0)),0)|0)>=0){continue}break}break $g}if((d|0)<0){break $g}ah:{while(1){ka=0;bh:{ch:while(1){if(v[o+28>>2]){break bh}r=v[o+32>>2];d=v[o+24>>2];q=(d+7|0)/8|0;p=v[ha>>2]&(-1<>2];if(f&7){break $g}d=v[r+64>>2];if((d|0)>=0&(d|0)<=v[r+60>>2]){break ah}q=q-1|0;j=p>>(q<<3);f=j&255;v[r+4>>2]=v[r+4>>2]|32;d=v[r+28>>2];v[r+28>>2]=d-1;eh:{if((d|0)>=1){v[r+60>>2]=v[r+60>>2]+1;d=v[r+24>>2];v[r+24>>2]=d+1;t[d|0]=j;d=f;break eh}d=Cb(r,f)}if((d|0)==(f|0)){continue}break $g}break}break}if((af(v[o+32>>2],B(v[o+36>>2],B(v[o+16>>2],E+$|0)),0)|0)>=0){continue}break $g}break}S();L()}v[r+8>>2]=f|4}d=-1}if(d){break Bg}Z=Z+1|0;if((ra|0)!=(Z|0)){continue}break}}$=$+1|0;if((l|0)!=($|0)){continue}break}}d=0;if((ra|0)>0){while(1){$a(v[G+B(d,20)>>2]);d=d+1|0;if((ra|0)!=(d|0)){continue}break}}$a(G);if((wa|0)>=1){d=0;while(1){$a(v[ma+B(d,20)>>2]);d=d+1|0;if((wa|0)!=(d|0)){continue}break}}$a(ma);p=v[K+8>>2];if(p){Z=v[p>>2];if((Z|0)>=1){while(1){d=v[p+8>>2];Z=Z-1|0;f=Z<<2;j=v[d+f>>2];n=v[j>>2];v[j>>2]=n-1;if((n|0)<=1){Qa[v[v[j+4>>2]>>2]](j);$a(j);Z=v[p>>2]-1|0;d=v[p+8>>2]}v[d+f>>2]=0;v[p>>2]=Z;if((Z|0)>0){continue}break}}d=v[p+8>>2];if(d){$a(d)}$a(p)}$a(K);Og(g);n=M}Ma=ja+48|0;break ug}O(32910,7190,1399,188201);L()}O(29913,7190,1384,188201);L()}O(29190,7190,1374,188201);L()}O(26795,7190,1337,188201);L()}O(32229,7190,1404,188201);L()}O(32229,7190,1388,188201);L()}if(!n){ex(ta);Sb(h+72|0,33750,255);break eg}Og(e);ex(ta);f=v[n+16>>2];e=n}k=Yb(f,4);d=0;fh:{f=v[e+16>>2];gh:{hh:{if((f|0)>0){ih:{while(1){jh:{f=Oj(1,ya);v[(d<<2)+k>>2]=f;if(!f){break jh}d=d+1|0;f=v[e+16>>2];if((d|0)<(f|0)){continue}break ih}break}Sb(h+72|0,34248,255);break eg}E=(aa|0)>8?aa-8|0:0;if((f|0)!=3){break hh}f=v[e+24>>2];n=v[f>>2];d=v[n+16>>2];g=v[f+4>>2];if((d|0)!=v[g+16>>2]){f=3;break hh}f=v[f+8>>2];if((d|0)!=v[f+16>>2]){f=3;break hh}d=v[n+20>>2];if((d|0)!=v[g+20>>2]){f=3;break hh}if((d|0)!=v[f+20>>2]){f=3;break hh}d=v[n+24>>2];if((d|0)!=v[g+24>>2]){f=3;break hh}if((d|0)!=v[f+24>>2]){f=3;break hh}if(!Cf(h,ya,da,24,i)){break eg}if((da|0)<1){break gh}i=0;while(1){d=0;if(v[e+16>>2]>0){while(1){pk(e,d,0,i,ya,1,v[(d<<2)+k>>2]);d=d+1|0;if((d|0)>2]){continue}break}}if((ya|0)>=1){j=da+(i^-1)|0;o=v[k>>2];d=0;while(1){f=v[k+4>>2];p=v[f+28>>2];if(v[o+20>>2]==1){n=v[v[o+28>>2]>>2]+(d<<2)|0}else{n=v[v[o+28>>2]+(d<<2)>>2]}n=v[n>>2]>>E;if(v[f+20>>2]==1){f=v[p>>2]+(d<<2)|0}else{f=v[p+(d<<2)>>2]}g=v[f>>2]>>E;f=v[k+8>>2];p=v[f+28>>2];if(v[f+20>>2]==1){f=v[p>>2]+(d<<2)|0}else{f=v[p+(d<<2)>>2]}f=v[f>>2];t[la+10|0]=n;t[la+9|0]=g;t[la+8|0]=f>>E;v[la+4>>2]=v[la+8>>2];$w(h,d,j,la+4|0);d=d+1|0;if((ya|0)!=(d|0)){continue}break}}i=i+1|0;if((da|0)!=(i|0)){continue}break}break gh}E=(aa|0)>8?aa-8|0:0}v[h+356>>2]=f;d=v[h+352>>2];if((d|0)<0|(d|0)>=(f|0)){break fh}d=0;while(1){f=v[v[e+24>>2]+(d<<2)>>2];K=v[f+16>>2];r=v[f+20>>2];f=v[f+24>>2];if(!Cf(h,K,r,(f|0)<8?f:8,0)){break eg}p=d;cr(h);kh:{if((r|0)<1){break kh}M=v[k>>2];if((K|0)<1){d=0;while(1){pk(e,p,0,d,K,1,M);d=d+1|0;if((r|0)!=(d|0)){continue}break}break kh}o=0;while(1){pk(e,p,0,o,K,1,M);j=r+(o^-1)|0;d=0;while(1){f=h;n=d;g=j;if(v[M+20>>2]!=1){q=v[v[M+28>>2]+(d<<2)>>2]}else{q=v[v[M+28>>2]>>2]+(d<<2)|0}Pn(f,n,g,v[q>>2]>>E&255);d=d+1|0;if((K|0)!=(d|0)){continue}break}o=o+1|0;if((r|0)!=(o|0)){continue}break}}d=p+1|0;if((p|0)>2]){continue}break}}i=1;break dg}Sb(h+72|0,36976,255)}i=v[h+332>>2]==-1&(i|0)>0}lh:{mh:{if(k){f=v[e+16>>2];if((f|0)>=1){d=0;while(1){g=v[(d<<2)+k>>2];if(g){ve(g);f=v[e+16>>2]}d=d+1|0;if((f|0)>(d|0)){continue}break}}$a(k);Yt();break mh}Yt();if(!e){break lh}}Og(e)}if(!m){break cg}ne(m)}Ma=la+32|0;if(i){break b}od(a+72|0,ga+72|0);Qa[v[v[b>>2]+20>>2]](b,sa,0)|0;Qa[v[v[h>>2]+4>>2]](h);if(c){break c}}h=ab(976);ga=Ge(h,18);v[h>>2]=39648;gh(ga,a);e=0;m=Ma-16|0;Ma=m;nh:{if(!b){break nh}Qa[v[v[b>>2]+12>>2]](b,m,9,1,0,0)|0;d=u[m>>1];u[m>>1]=w[h+494|0]?d:d<<8|(d&65280)>>>8;d=u[m+2>>1];u[m+2>>1]=w[h+494|0]?d:d<<8|(d&65280)>>>8;d=pj(h,w[m+5|0]|w[m+6|0]<<8|(w[m+7|0]<<16|w[m+8|0]<<24));t[m+5|0]=d;t[m+6|0]=d>>>8;t[m+7|0]=d>>>16;t[m+8|0]=d>>>24;if((d|0)!=16777216){break nh}f=x[m>>1];if(f<<16>>16<0){break nh}d=x[m+2>>1];if(w[m+4|0]!=3|d<<16>>16<0){break nh}if(v[h+332>>2]==-1){v[h+68>>2]=18;v[h+20>>2]=d;v[h+16>>2]=f;e=1;break nh}Cf(h,f,d,8,18);if(!v[h+4>>2]){break nh}n=gb(768);if(n){Qa[v[v[b>>2]+12>>2]](b,n,768,1,0,0)|0;RL(h,n,256);$a(n);Ia=b,Ha=Ud(h,0),Ga=B(x[m+2>>1],x[m>>1]),Fa=1,Ea=0,Da=0,Ca=v[v[b>>2]+12>>2],Qa[Ca](Ia|0,Ha|0,Ga|0,Fa|0,Ea|0,Da|0)|0;oh:{if(v[h+52>>2]==x[m>>1]){break oh}i=Ud(h,0);f=x[m>>1];d=x[m+2>>1]-1|0;e=Ud(h,d);if(!x[m+2>>1]){break oh}g=i+B(d,f)|0;i=0;while(1){d=cb(e,g,x[m>>1]);g=g-x[m>>1]|0;e=d-v[h+52>>2]|0;i=i+1|0;if(i>>>0>1]){continue}break}}dC(h)}e=(n|0)!=0}Ma=m+16|0;if(e){break b}od(a+72|0,ga+72|0);Qa[v[v[b>>2]+20>>2]](b,sa,0)|0;Qa[v[v[h>>2]+4>>2]](h);if(c){break c}}h=ab(976);ga=Ge(h,19);v[h>>2]=39692;gh(ga,a);f=0;q=0;aa=0;Z=0;s=Ma-256240|0;Ma=s;k=gb(40);v[k>>2]=0;ph:{qh:{rh:{if(!b){break rh}m=4;v[296803]=0;v3(s+65592|0);e=v[296803];v[296803]=0;d=-1;sh:{if(!e){break sh}f=v[296804];if(!f){break sh}d=pb(v[e>>2],k,4);if(!d){break qh}Q(f|0)}f=P()|0;th:{uh:{if((d|0)==1){break uh}v[296803]=0;q=Tm(h,19);e=v[296803];v[296803]=0;d=-1;vh:{if(!e){break vh}f=v[296804];if(!f){break vh}d=pb(v[e>>2],k,4);if(!d){break qh}Q(f|0)}f=P()|0;if((d|0)==1){break uh}Z=s+65616|0;v[Z>>2]=q&3;v[296803]=0;q=h+72|0;v[s+256232>>2]=q;d=w[54499]|w[54500]<<8|(w[54501]<<16|w[54502]<<24);t[s+65583|0]=d;t[s+65584|0]=d>>>8;t[s+65585|0]=d>>>16;t[s+65586|0]=d>>>24;d=w[54496]|w[54497]<<8|(w[54498]<<16|w[54499]<<24);v[s+65576>>2]=w[54492]|w[54493]<<8|(w[54494]<<16|w[54495]<<24);v[s+65580>>2]=d;v[s+90800>>2]=s+65576;i=V(127,s+65592|0,0,0,0)|0;e=v[296803];v[296803]=0;d=-1;wh:{if(!e){break wh}f=v[296804];if(!f){break wh}d=pb(v[e>>2],k,4);if(!d){break qh}Q(f|0)}aa=s+65576|0;f=P()|0;if((d|0)==1){break uh}if(i){v[296803]=0;Sb(q,1884,255);e=v[296803];v[296803]=0;d=-1;xh:{if(!e){break xh}f=v[296804];if(!f){break xh}d=pb(v[e>>2],k,4);if(!d){break qh}Q(f|0)}e=P()|0;f=e;if((d|0)==1){break uh}aa=s+65576|0;f=0;break th}k=be(s+256076|0,1,k,4);m=P()|0;f=0}e=f;f=1}while(1){yh:{zh:{if(!f){v[296803]=0;QK(s+65592|0);e=v[296803];v[296803]=0;d=-1;Ah:{if(!e){break Ah}f=v[296804];if(!f){break Ah}d=pb(v[e>>2],k,m);if(!d){break qh}Q(f|0)}e=P()|0;if((d|0)==1){break zh}f=v[h+332>>2]==-1&v[h+68>>2]==19;break rh}if(e){break yh}v[s+65596>>2]=b;v[s+65568>>2]=129;v[s+65564>>2]=130;v[s+65560>>2]=131;v[s+65556>>2]=132;v[s+65552>>2]=133;v[s+65548>>2]=134;v[s+65544>>2]=135;v[s+65540>>2]=136;v[s+65536>>2]=137;v[296803]=0;v[s+65592>>2]=s+65536;U(138,s+65592|0);e=v[296803];v[296803]=0;d=-1;Bh:{if(!e){break Bh}f=v[296804];if(!f){break Bh}d=pb(v[e>>2],k,m);if(!d){break qh}Q(f|0)}e=P()|0;if((d|0)==1){break zh}if(!v[s+91740>>2]){v[296803]=0;Sb(q,5821,255);e=v[296803];v[296803]=0;d=-1;Ch:{if(!e){break Ch}f=v[296804];if(!f){break Ch}d=pb(v[e>>2],k,m);if(!d){break qh}Q(f|0)}e=P()|0;if((d|0)!=1){break yh}break zh}d=v[s+256068>>2];if(!d){v[296803]=0;Sb(q,9603,255);e=v[296803];v[296803]=0;d=-1;Dh:{if(!e){break Dh}f=v[296804];if(!f){break Dh}d=pb(v[e>>2],k,m);if(!d){break qh}Q(f|0)}e=P()|0;if((d|0)!=1){break yh}break zh}if((d|0)==139){d=x[s+91900>>1];u[s+91900>>1]=(d&1)+d;d=x[s+91902>>1];u[s+91902>>1]=(d&1)+d}d=-1;if(v[h+332>>2]==-1){v[h+16>>2]=x[s+91902>>1];e=x[s+91900>>1];v[h+68>>2]=19;v[h+20>>2]=e;v[296803]=0;Sb(q,13608,255);e=v[296803];v[296803]=0;Eh:{if(!e){break Eh}f=v[296804];if(!f){break Eh}d=pb(v[e>>2],k,m);if(!d){break qh}Q(f|0)}e=P()|0;if((d|0)!=1){break yh}break zh}Fh:{if(!v[s+91620>>2]){e=0;break Fh}e=1;if(v[s+65772>>2]|z[s+65644>>2]!=C(0)|A[s+65672>>3]!=1){break Fh}e=A[s+65688>>3]!=1}u[s+91908>>1]=e;i=x[s+91900>>1]+e>>>e|0;u[s+91910>>1]=i;f=x[s+91902>>1]+e>>>e|0;u[s+91912>>1]=f;Gh:{if(!(!v[s+65816>>2]|!(z[s+124892>>2]>C(.25)))){g=s+124892|0;d=v[g+44>>2];e=s+124980|0;v[e>>2]=v[g+40>>2];v[e+4>>2]=d;d=v[g+36>>2];e=s+124972|0;v[e>>2]=v[g+32>>2];v[e+4>>2]=d;d=v[g+28>>2];e=s+124964|0;v[e>>2]=v[g+24>>2];v[e+4>>2]=d;d=v[g+20>>2];e=s+124956|0;v[e>>2]=v[g+16>>2];v[e+4>>2]=d;d=v[g+12>>2];e=s+124948|0;v[e>>2]=v[g+8>>2];v[e+4>>2]=d;d=v[g+4>>2];v[s+124940>>2]=v[g>>2];v[s+124944>>2]=d;v[s+91724>>2]=0;break Gh}v[s+65812>>2]=1}v[296803]=0;i=Y(140,B(f&65535,i&65535)|0,8)|0;e=v[296803];v[296803]=0;d=-1;Hh:{if(!e){break Hh}f=v[296804];if(!f){break Hh}d=pb(v[e>>2],k,m);if(!d){break qh}Q(f|0)}e=P()|0;if((d|0)==1){break zh}v[296803]=0;v[s+91944>>2]=i;X(141,s+65592|0,i|0,aa|0);e=v[296803];v[296803]=0;d=-1;Ih:{if(!e){break Ih}f=v[296804];if(!f){break Ih}d=pb(v[e>>2],k,m);if(!d){break qh}Q(f|0)}e=P()|0;if((d|0)==1){break zh}d=v[s+91676>>2];if(d){d=gb(d);v[296803]=0;v[s+90804>>2]=d;X(141,s+65592|0,d|0,aa|0);e=v[296803];v[296803]=0;d=-1;Jh:{if(!e){break Jh}f=v[296804];if(!f){break Jh}d=pb(v[e>>2],k,m);if(!d){break qh}Q(f|0)}e=P()|0;if((d|0)==1){break zh}}d=v[v[b>>2]+20>>2];v[296803]=0;W(d|0,b|0,v[s+91640>>2],0)|0;e=v[296803];v[296803]=0;d=-1;Kh:{if(!e){break Kh}f=v[296804];if(!f){break Kh}d=pb(v[e>>2],k,m);if(!d){break qh}Q(f|0)}e=P()|0;if((d|0)==1){break zh}v[296803]=0;U(v[s+256068>>2],s+65592|0);e=v[296803];v[296803]=0;d=-1;Lh:{if(!e){break Lh}f=v[296804];if(!f){break Lh}d=pb(v[e>>2],k,m);if(!d){break qh}Q(f|0)}e=P()|0;if((d|0)==1){break zh}if(v[s+91732>>2]){v[296803]=0;ZK(s+65592|0);e=v[296803];v[296803]=0;d=-1;Mh:{if(!e){break Mh}f=v[296804];if(!f){break Mh}d=pb(v[e>>2],k,m);if(!d){break qh}Q(f|0)}e=P()|0;if((d|0)==1){break zh}}v[296803]=0;R(143,s+65592|0,v[s+65604>>2]);e=v[296803];v[296803]=0;d=-1;Nh:{if(!e){break Nh}f=v[296804];if(!f){break Nh}d=pb(v[e>>2],k,m);if(!d){break qh}Q(f|0)}e=P()|0;if((d|0)==1){break zh}d=v[s+65600>>2];if(d){v[296803]=0;R(144,s+65592|0,d|0);e=v[296803];v[296803]=0;d=-1;Oh:{if(!e){break Oh}f=v[296804];if(!f){break Oh}d=pb(v[e>>2],k,m);if(!d){break qh}Q(f|0)}e=P()|0;if((d|0)==1){break zh}}d=v[Z>>2];v[s+91932>>2]=(d|0)>-1?d:x[s+91914>>1]?2:3;d=v[s+65612>>2];if((d|0)>=0){v[s+91712>>2]=d}d=v[s+65620>>2];if((d|0)>=0){v[s+91716>>2]=d}if(!(v[s+91748>>2]|v[s+65784>>2]>1)){v[296803]=0;U(145,s+65592|0);e=v[296803];v[296803]=0;d=-1;Ph:{if(!e){break Ph}f=v[296804];if(!f){break Ph}d=pb(v[e>>2],k,m);if(!d){break qh}Q(f|0)}e=P()|0;if((d|0)==1){break zh}}v[296803]=0;U(146,s+65592|0);e=v[296803];v[296803]=0;d=-1;Qh:{if(!e){break Qh}f=v[296804];if(!f){break Qh}d=pb(v[e>>2],k,m);if(!d){break qh}Q(f|0)}e=P()|0;if((d|0)==1){break zh}Rh:{if(v[s+65784>>2]|!v[s+91620>>2]){break Rh}d=v[s+91932>>2];if(!d){v[296803]=0;U(147,s+65592|0);e=v[296803];v[296803]=0;d=-1;Sh:{if(!e){break Sh}f=v[296804];if(!f){break Sh}d=pb(v[e>>2],k,m);if(!d){break qh}Q(f|0)}e=P()|0;if((d|0)==1){break zh}break Rh}if(!((d|0)!=1&v[s+91928>>2]<4)){v[296803]=0;U(148,s+65592|0);e=v[296803];v[296803]=0;d=-1;Th:{if(!e){break Th}f=v[296804];if(!f){break Th}d=pb(v[e>>2],k,m);if(!d){break qh}Q(f|0)}e=P()|0;if((d|0)==1){break zh}break Rh}if((d|0)==2){v[296803]=0;U(149,s+65592|0);e=v[296803];v[296803]=0;d=-1;Uh:{if(!e){break Uh}f=v[296804];if(!f){break Uh}d=pb(v[e>>2],k,m);if(!d){break qh}Q(f|0)}e=P()|0;if((d|0)==1){break zh}break Rh}v[296803]=0;U(150,s+65592|0);e=v[296803];v[296803]=0;d=-1;Vh:{if(!e){break Vh}f=v[296804];if(!f){break Vh}d=pb(v[e>>2],k,m);if(!d){break qh}Q(f|0)}e=P()|0;if((d|0)==1){break zh}}Wh:{if(!v[s+91720>>2]){break Wh}v[s+91928>>2]=3;if(!B(x[s+91902>>1],x[s+91900>>1])){break Wh}e=0;d=v[s+91944>>2];while(1){f=d+(e<<3)|0;u[f+2>>1]=x[f+6>>1]+x[f+2>>1]>>>1;e=e+1|0;if(e>>>0>1],x[s+91900>>1])>>>0){continue}break}}e=v[s+91748>>2];if(!(e|v[s+91928>>2]!=3)){v[296803]=0;U(151,s+65592|0);e=v[296803];v[296803]=0;d=-1;Xh:{if(!e){break Xh}f=v[296804];if(!f){break Xh}d=pb(v[e>>2],k,m);if(!d){break qh}Q(f|0)}e=P()|0;if((d|0)==1){break zh}e=v[s+91748>>2]}f=v[s+65748>>2];if(!((f|0)!=2|e)){v[296803]=0;U(152,s+65592|0);e=v[296803];v[296803]=0;d=-1;Yh:{if(!e){break Yh}f=v[296804];if(!f){break Yh}d=pb(v[e>>2],k,m);if(!d){break qh}Q(f|0)}e=P()|0;if((d|0)==1){break zh}f=v[s+65748>>2];e=v[s+91748>>2]}if(!(e|(f|0)<3)){v[296803]=0;U(153,s+65592|0);e=v[296803];v[296803]=0;d=-1;Zh:{if(!e){break Zh}f=v[296804];if(!f){break Zh}d=pb(v[e>>2],k,m);if(!d){break qh}Q(f|0)}e=P()|0;if((d|0)==1){break zh}}if(v[s+65636>>2]){v[296803]=0;U(154,s+65592|0);e=v[296803];v[296803]=0;d=-1;_h:{if(!e){break _h}f=v[296804];if(!f){break _h}d=pb(v[e>>2],k,m);if(!d){break qh}Q(f|0)}e=P()|0;if((d|0)==1){break zh}}v[296803]=0;U(155,s+65592|0);e=v[296803];v[296803]=0;d=-1;$h:{if(!e){break $h}f=v[296804];if(!f){break $h}d=pb(v[e>>2],k,m);if(!d){break qh}Q(f|0)}e=P()|0;if((d|0)==1){break zh}if(v[s+65636>>2]){v[296803]=0;U(156,s+65592|0);e=v[296803];v[296803]=0;d=-1;ai:{if(!e){break ai}f=v[296804];if(!f){break ai}d=pb(v[e>>2],k,m);if(!d){break qh}Q(f|0)}e=P()|0;if((d|0)==1){break zh}}e=x[s+91900>>1];u[s+91910>>1]=e;f=x[s+91902>>1];u[s+91912>>1]=f;bi:{if(!(w[s+91920|0]&4)){d=e;e=f;break bi}u[s+91900>>1]=f;u[s+91902>>1]=e;d=f}v[296803]=0;i=ba(23,h|0,e&65535,d&65535,24,19)|0;e=v[296803];v[296803]=0;d=-1;ci:{if(!e){break ci}f=v[296804];if(!f){break ci}d=pb(v[e>>2],k,m);if(!d){break qh}Q(f|0)}e=P()|0;if((d|0)==1){break zh}if(!i){break yh}v[296803]=0;ca=Y(140,x[s+91902>>1],(B(v[s+65764>>2],v[s+91928>>2])|0)/8|0)|0;e=v[296803];v[296803]=0;d=-1;di:{if(!e){break di}f=v[296804];if(!f){break di}d=pb(v[e>>2],k,m);if(!d){break qh}Q(f|0)}e=P()|0;if((d|0)==1){break zh}v[296803]=0;X(141,s+65592|0,ca|0,aa|0);e=v[296803];v[296803]=0;d=-1;ei:{if(!e){break ei}f=v[296804];if(!f){break ei}d=pb(v[e>>2],k,m);if(!d){break qh}Q(f|0)}e=P()|0;if((d|0)==1){break zh}if(v[s+65764>>2]==8){v[296803]=0;w3(s+65592|0,s);e=v[296803];v[296803]=0;d=-1;fi:{if(!e){break fi}f=v[296804];if(!f){break fi}d=pb(v[e>>2],k,m);if(!d){break qh}Q(f|0)}e=P()|0;if((d|0)==1){break zh}}v[296803]=0;j=Ow(s+65592|0,0,0);e=v[296803];v[296803]=0;d=-1;gi:{if(!e){break gi}f=v[296804];if(!f){break gi}d=pb(v[e>>2],k,m);if(!d){break qh}Q(f|0)}e=P()|0;if((d|0)==1){break zh}v[296803]=0;n=Ow(s+65592|0,0,1);e=v[296803];v[296803]=0;d=-1;hi:{if(!e){break hi}f=v[296804];if(!f){break hi}d=pb(v[e>>2],k,m);if(!d){break qh}Q(f|0)}e=P()|0;if((d|0)==1){break zh}v[296803]=0;g=Ow(s+65592|0,1,0);e=v[296803];v[296803]=0;d=-1;ii:{if(!e){break ii}f=v[296804];if(!f){break ii}d=pb(v[e>>2],k,m);if(!d){break qh}Q(f|0)}e=P()|0;if((d|0)==1){break zh}v[296803]=0;i=Ow(s+65592|0,0,x[s+91902>>1]);e=v[296803];v[296803]=0;d=-1;ji:{if(!e){break ji}f=v[296804];if(!f){break ji}d=pb(v[e>>2],k,m);if(!d){break qh}Q(f|0)}e=P()|0;if((d|0)==1){break zh}if(x[s+91900>>1]){J=n-j|0;K=g-i|0;p=0;while(1){o=v[s+65764>>2];E=v[s+91928>>2];n=x[s+91902>>1];ki:{li:{if(!n){break li}F=v[s+91944>>2];mi:{ni:{if((o|0)==8){if((E|0)<1){break ni}f=E&-2;o=E&1;da=0;while(1){r=B(E,da);e=0;d=f;if((E|0)!=1){while(1){g=F+(j<<3)|0;t[ca+(e+r|0)|0]=w[s+x[g+(e<<1)>>1]|0];i=e|1;t[ca+(i+r|0)|0]=w[s+x[g+(i<<1)>>1]|0];e=e+2|0;d=d-2|0;if(d){continue}break}}if(o){t[ca+(e+r|0)|0]=w[s+x[(F+(j<<3)|0)+(e<<1)>>1]|0]}j=j+J|0;da=da+1|0;if((da|0)!=(n|0)){continue}break}o=8;break ki}if((E|0)<1){break mi}i=E&-4;f=E&3;r=E-1|0;da=0;while(1){I=B(E,da);e=0;d=i;if(r>>>0>=3){while(1){M=F+(j<<3)|0;u[ca+(e+I<<1)>>1]=x[M+(e<<1)>>1];g=e|1;u[ca+(g+I<<1)>>1]=x[M+(g<<1)>>1];g=e|2;u[ca+(g+I<<1)>>1]=x[M+(g<<1)>>1];g=e|3;u[ca+(g+I<<1)>>1]=x[M+(g<<1)>>1];e=e+4|0;d=d-4|0;if(d){continue}break}}d=f;if(d){while(1){u[ca+(e+I<<1)>>1]=x[(F+(j<<3)|0)+(e<<1)>>1];e=e+1|0;d=d-1|0;if(d){continue}break}}j=j+J|0;da=da+1|0;if((da|0)!=(n|0)){continue}break}break li}j=(j+J|0)+B(J,n-1|0)|0;o=8;break ki}j=(j+J|0)+B(J,n-1|0)|0}if(v[s+65768>>2]|(o|0)!=16){break ki}v[296803]=0;e=v[296803];v[296803]=0;d=-1;oi:{if(!e){break oi}f=v[296804];if(!f){break oi}d=pb(v[e>>2],k,m);if(!d){break qh}Q(f|0)}e=P()|0;if((d|0)==1){break zh}v[296803]=0;Fp(ca,ca,B(n,E)<<1);e=v[296803];v[296803]=0;d=-1;pi:{if(!e){break pi}f=v[296804];if(!f){break pi}d=pb(v[e>>2],k,m);if(!d){break qh}Q(f|0)}e=P()|0;if((d|0)==1){break zh}n=x[s+91902>>1];o=v[s+65764>>2];E=v[s+91928>>2]}v[296803]=0;d=B((B(o,E)|0)/8|0,n);lp(h,ca,d);e=v[296803];v[296803]=0;g=-1;qi:{if(!e){break qi}f=v[296804];if(!f){break qi}g=pb(v[e>>2],k,m);if(!g){break qh}Q(f|0)}e=P()|0;if((g|0)==1){break zh}v[296803]=0;g=-1;n=Ud(h,x[s+91900>>1]+(p^-1)|0);e=v[296803];v[296803]=0;ri:{if(!e){break ri}f=v[296804];if(!f){break ri}g=pb(v[e>>2],k,m);if(!g){break qh}Q(f|0)}e=P()|0;if((g|0)==1){break zh}v[296803]=0;i=v[h+52>>2];e=v[296803];v[296803]=0;g=-1;si:{if(!e){break si}f=v[296804];if(!f){break si}g=pb(v[e>>2],k,m);if(!g){break qh}Q(f|0)}e=P()|0;if((g|0)==1){break zh}if(d>>>0>=i>>>0){v[296803]=0;d=v[h+52>>2];e=v[296803];v[296803]=0;g=-1;ti:{if(!e){break ti}f=v[296804];if(!f){break ti}g=pb(v[e>>2],k,m);if(!g){break qh}Q(f|0)}e=P()|0;if((g|0)==1){break zh}}cb(n,ca,d);j=j+K|0;p=p+1|0;if(p>>>0>1]){continue}break}}$a(ca);v[296803]=0;QK(s+65592|0);e=v[296803];v[296803]=0;d=-1;ui:{if(!e){break ui}f=v[296804];if(!f){break ui}d=pb(v[e>>2],k,m);if(!d){break qh}Q(f|0)}f=1;e=P()|0;if((d|0)!=1){break rh}}f=1;continue}f=0;continue}}$a(k);Ma=s+256240|0;break ph}$a(k);tc(e,f);L()}if(f){break b}od(a+72|0,ga+72|0);Qa[v[v[b>>2]+20>>2]](b,sa,0)|0;Qa[v[v[h>>2]+4>>2]](h);if(c){break c}}h=ab(976);ga=Ge(h,20);v[h>>2]=39736;gh(ga,a);d=0;s=Ma-32|0;Ma=s;r=b;e=0;vi:{if(!b){break vi}b=gb(712);wi:{if(!b){Sb(h+72|0,2713,255);if(b){VC(b)}break wi}l=eb(b,0,712);v[l+4>>2]=r;v[s+24>>2]=123;v[s+20>>2]=124;v[s+16>>2]=125;v[l+32>>2]=0;v[l+8>>2]=s+16;b=Qa[v[v[r>>2]+28>>2]](r)|0;v[l+36>>2]=0;v[l+24>>2]=b;while(1){xi:{m=-5;if(v[l+24>>2]<1){break xi}m=0;yi:{zi:{Ai:{Bi:{Ci:{switch(v[l+32>>2]){case 0:m=-10;f=Ma-32|0;Ma=f;e=-5;Di:{Ei:{Fi:{Gi:{Hi:{Ii:{Ji:{if((Vd(l,f,26)|0)!=26){break Ji}e=-200;if(v[f>>2]!=1397768760){break Ji}e=-201;b=x[f+4>>1];if(((b<<8|b>>>8)&65535)!=1){break Ji}b=x[f+14>>1]|x[f+16>>1]<<16;b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);v[l+44>>2]=b;if(b-1>>>0>=3e4){break Ii}b=x[f+18>>1]|x[f+20>>1]<<16;b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);v[l+40>>2]=b;if(b-1>>>0>=3e4){break Hi}b=x[f+12>>1];b=b<<8|b>>>8;u[l+356>>1]=b;u[l+48>>1]=b;if((b-1&65535)>>>0>=56){break Gi}b=x[f+22>>1];b=b<<8|b>>>8;u[l+50>>1]=b;b=b&65535;if(b>>>0>16|!(1<>1];b=b<<8|b>>>8;v[l+52>>2]=b<<16>>16;b=b&65535;if(b>>>0>=10){break Ei}e=0;if(!(927>>>b&1)){break Ei}}Ma=f+32|0;b=e;break Di}O(8037,10785,66,193370);L()}O(14350,10785,71,193370);L()}O(16387,10785,76,193370);L()}O(19093,10785,81,193370);L()}O(21703,10785,115,193370);L()}switch(b+3|0){case 0:break yi;case 3:break Bi;default:break zi};case 1:m=-11;G=2;e=kb(l);v[l+56>>2]=e;b=0;Ki:{if((e|0)<1){break Ki}b=(e>>>0)/3|0;v[l+56>>2]=b;Ca=l,Da=gb(b<<2),v[Ca+60>>2]=Da;f=gb(B(v[l+56>>2],3));g=v[l+60>>2];if(!(f?g:0)){$a(g);v[l+60>>2]=0;$a(f);b=-4;break Ki}b=v[l+56>>2];Li:{if((b|0)<1){break Li}v[g>>2]=-65794;if((b|0)==1){break Li}i=(b<<2)-4|0;e=4;while(1){cb(e+g|0,g,(e|0)>(i|0)?i:e);i=i-e|0;e=e<<1;if((i|0)>0){continue}break}}Vd(l,f,B(v[l+56>>2],3));b=v[l+56>>2];Mi:{if(!b){break Mi}n=b+f|0;i=b+n|0;Z=v[l+60>>2];Ni:{if(!(b&1)){p=f;e=b;break Ni}v[Z>>2]=w[i|0]|(w[f|0]<<16|w[n|0]<<8)|-16777216;Z=Z+4|0;i=i+1|0;n=n+1|0;p=f+1|0;e=b-1|0}if((b|0)==1){break Mi}while(1){v[Z>>2]=w[i|0]|(w[p|0]<<16|w[n|0]<<8)|-16777216;v[Z+4>>2]=w[i+1|0]|(w[p+1|0]<<16|w[n+1|0]<<8)|-16777216;Z=Z+8|0;i=i+2|0;n=n+2|0;p=p+2|0;e=e-2|0;if(e){continue}break}}$a(f);b=0}switch(b+3|0){case 0:break yi;case 3:break Ai;default:break zi};case 2:G=3;m=-12;Z=kb(l);b=0;Oi:{if((Z|0)<1){break Oi}v[l+452>>2]=30;v[l+456>>2]=30;o=l- -64|0;while(1){b=-400;if((kb(l)|0)!=943868237){break Oi}n=Ab(l);b=ge(l);p=((b^-1)&1)+b&255;gd(l,p);b=kb(l);e=(b&1)+b|0;Pi:{Qi:{Ri:{Si:{Ti:{Ui:{Vi:{Wi:{i=v[l+36>>2];switch(i-3|0){case 2:break Ui;case 0:break Vi;case 1:break Wi;default:break Si}}b=e;switch((n&65535)-1033|0){case 0:case 3:break Si;default:break Ri}}b=e;f=n&65535;switch(f-1045|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:break Ri;case 0:case 8:break Si;default:break Ti}}b=e;if((n&-2)!=1058){break Ri}break Si}if((f|0)!=1006){break Ri}}if((e|0)<1){break Qi}g=v[l+28>>2];Xi:{Yi:{Zi:{_i:{$i:{aj:{bj:{cj:{dj:{switch((n&65535)-1005|0){case 0:Ca=l,Ja=C(C(kb(l)|0)*C(152587890625e-16)),z[Ca+324>>2]=Ja;Ca=l,Da=Ab(l),u[Ca+328>>1]=Da;Ca=l,Da=Ab(l),u[Ca+330>>1]=Da;Ca=l,Ja=C(C(kb(l)|0)*C(152587890625e-16)),z[Ca+332>>2]=Ja;Ca=l,Da=Ab(l),u[Ca+336>>1]=Da;b=Ab(l);t[l+320|0]=1;u[l+338>>1]=b;break Xi;case 1:i=gb(e);if(!i){break bj}Vd(l,i,e);n=x[l+354>>1];if(!n){b=0;j=0;if((e|0)>=2){while(1){f=w[i+j|0];b=b+1|0;u[l+354>>1]=b;f=f+j|0;j=f+1|0;if((e|0)>(f+2|0)){continue}break}}u[l+356>>1]=x[l+48>>1]-b;b=gb(B(b<<16>>16,272));v[l+360>>2]=b;if(!b){break cj}eb(b,0,B(u[l+354>>1],272));n=x[l+354>>1]}j=0;b=0;if(n<<16>>16<1){break Yi}while(1){f=b+i|0;cb(v[l+360>>2]+B(j,272)|0,f+1|0,w[f|0]);b=(w[f|0]+b|0)+1|0;j=j+1|0;if((j|0)>1]){continue}break};break Yi;case 2:Ca=l,Da=ai(l),v[Ca+344>>2]=Da;b=Ab(l);u[l+348>>1]=b;if((b&65535)>>>0>=101){break aj}Ca=l,Da=ge(l),t[Ca+350|0]=Da;ge(l);t[l+340|0]=1;break Xi;case 3:Vd(l,o,ge(l));break Xi;case 19:Ca=l,Da=Ab(l),u[Ca+364>>1]=Da;break Xi;case 21:v[l+368>>2]=e>>>1;b=gb(e&-2);v[l+372>>2]=b;if(!b){break bj}j=0;if(v[l+368>>2]>=1){while(1){b=Ab(l);u[v[l+372>>2]+(j<<1)>>1]=b;j=j+1|0;if((j|0)>2]){continue}break}}t[l+366|0]=1;break Xi;case 28:case 31:b=e;if((i|0)==2){break Ri}b=kb(l);v[l+380>>2]=b;if(b>>>0>=2){break $i}Ca=l,Da=kb(l),v[Ca+384>>2]=Da;Ca=l,Da=kb(l),v[Ca+388>>2]=Da;Ca=l,Da=kb(l),v[Ca+392>>2]=Da;Ca=l,Da=kb(l),v[Ca+396>>2]=Da;Ca=l,Da=kb(l),v[Ca+400>>2]=Da;b=Ab(l);u[l+404>>1]=b;if((b|0)!=24){break _i}b=Ab(l);u[l+406>>1]=b;if((b|0)!=1){break Zi}b=e-28|0;f=gb(b);v[l+408>>2]=f;if(!f){break bj}Vd(l,f,b);t[l+376|0]=1;break Xi;case 29:b=Ab(l);t[l+448|0]=b;if(!(b&254)){break Xi}O(19169,7313,273,193390);L();case 32:Ca=l,Da=kb(l),v[Ca+452>>2]=Da;break Xi;case 37:b=Ab(l);t[l+460|0]=b;if(!(b&254)){break Xi}O(21563,7313,288,193390);L();case 40:i=gb(e);if(!i){break bj}Vd(l,i,e);b=x[l+354>>1];if(!b){n=0;b=0;while(1){f=b+i|0;f=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);n=n+1|0;u[l+354>>1]=n;b=(((f<<8&16711680|f<<24|(f>>>8&65280|f>>>24))<<1)+b|0)+4|0;if((e|0)>(b|0)){continue}break}u[l+356>>1]=x[l+48>>1]-n;b=gb(B(n<<16>>16,272));v[l+360>>2]=b;if(!b){break cj}eb(b,0,B(u[l+354>>1],272));b=x[l+354>>1]}if(b<<16>>16<1){break Yi}j=v[l+360>>2];b=0;n=0;while(1){q=B(b,272);E=i+n|0;f=w[E|0]|w[E+1|0]<<8|(w[E+2|0]<<16|w[E+3|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);v[(q+j|0)+256>>2]=f;j=gb(f<<1);f=q+v[l+360>>2]|0;v[f+260>>2]=j;if(!j){break cj}cb(j,E+4|0,v[f+256>>2]<<1);j=v[l+360>>2];n=((v[(q+j|0)+256>>2]<<1)+n|0)+4|0;b=b+1|0;if((b|0)>1]){continue}break};break Yi;case 41:Ca=l,Da=Ab(l),u[Ca+462>>1]=Da;break Xi;case 42:Ca=l,Da=Ab(l),u[Ca+464>>1]=Da;break Xi;case 44:Ca=l,Da=kb(l),v[Ca+456>>2]=Da;break Xi;case 48:b=x[l+354>>1];if(!b){b=e>>>2|0;u[l+354>>1]=b;u[l+356>>1]=x[l+48>>1]-b;b=gb(B(e<<14>>16,272));v[l+360>>2]=b;if(!b){break bj}eb(b,0,B(u[l+354>>1],272));b=x[l+354>>1]}j=0;if(b<<16>>16>=1){while(1){b=kb(l);v[(v[l+360>>2]+B(j,272)|0)+264>>2]=b;j=j+1|0;if((j|0)>1]){continue}break}}t[l+352|0]=1;break Xi;case 52:Ca=l,Da=kb(l),v[Ca+420>>2]=Da;Ca=l,Da=ad(l),t[Ca+424|0]=Da;b=kb(l);v[l+428>>2]=b;b=gb(b<<1);v[l+432>>2]=b;j=-4;if(!b){break Pi}Vd(l,b,v[l+428>>2]<<1);b=kb(l);v[l+436>>2]=b;b=gb(b<<1);v[l+440>>2]=b;if(!b){break Pi}Vd(l,b,v[l+436>>2]<<1);b=kb(l);t[l+416|0]=1;v[l+444>>2]=b;break Xi;default:break dj}}gd(l,e);break Xi}$a(i)}j=-4;break Pi}O(3473,7313,182,193390);L()}O(11514,7313,229,193390);L()}O(14124,7313,242,193390);L()}O(16574,7313,245,193390);L()}$a(i);t[l+352|0]=1}b=(e+g|0)-v[l+28>>2]|0}gd(l,b)}j=0;Z=(((p^-1)+Z|0)-e|0)-10|0;if((Z|0)>0){continue}}break}b=j}switch(b+3|0){case 0:break yi;case 3:break Ai;default:break zi};case 3:m=-13;G=4;e=0;b=kb(l);f=0;ej:{if((b|0)<1){break ej}fj:{gj:{if(v[l+36>>2]-3>>>0<3){break gj}i=v[l+28>>2];e=K3(l);tb(v[l+684>>2]);v[l+684>>2]=0;v[l+688>>2]=0;tb(v[l+692>>2]);v[l+692>>2]=0;v[l+696>>2]=0;if(e){break fj}f=kb(l);if(f){e=v[l+28>>2];Ca=l,Da=ai(l),v[Ca+640>>2]=Da;Ca=l,Da=Ab(l),u[Ca+644>>1]=Da;Ca=l,Da=ge(l),t[Ca+646|0]=Da;gd(l,(e+f|0)-v[l+28>>2]|0)}e=0;I=b+i|0;b=I-v[l+28>>2]|0;if((b|0)<13){break gj}while(1){if((kb(l)|0)!=943868237){b=I-v[l+28>>2]|0;break gj}f=kb(l);hj:{if((f|0)==1282552118){e=K3(l);break hj}b=kb(l);if(!((f|0)!=1348564084&(f|0)!=1348564018)){if((b|0)>=4){n=v[l+28>>2];while(1){g=0;p=0;K=0;ia=0;i=kb(l);f=v[l+28>>2];j=-531;ij:{jj:{if((kb(l)|0)!=1){break jj}kj:{E=v[l+652>>2];e=v[l+648>>2];if((E|0)<(e|0)){k=v[l+656>>2];break kj}e=(e|0)>2?e<<1:4;v[l+648>>2]=e;k=ph(v[l+656>>2],B(e,296));v[l+656>>2]=k;if(k){break kj}e=-4;break ij}N=eb(B(E,296)+k|0,0,296);e=kb(l);v[N>>2]=e;if(!(1<>>0<=9:0)){O(3794,6678,563,194164);L()}q=B(E,296)+k|0;Ca=q,Da=Ab(l),u[Ca+4>>1]=Da;Ca=q,Da=Ab(l),u[Ca+6>>1]=Da;e=kb(l);v[q+8>>2]=e;e=gb(e<<1);v[q+12>>2]=e;j=-4;if(!e){break jj}o=q;Vd(l,e,v[o+8>>2]<<1);Vd(l,o+16|0,ge(l));if(v[N>>2]==2){p=gb(1024);if(!p){break jj}j=0;while(1){e=ge(l);Ca=(j<<2)+p|0,Da=ge(l)<<8|e<<16|ge(l)|-16777216,v[Ca>>2]=Da;j=j+1|0;if((j|0)!=256){continue}break}}ca=B(E,296)+k|0;Ca=ca,Da=kb(l),v[Ca+272>>2]=Da;kb(l);Ca=ca,Da=kb(l),u[Ca+276>>1]=Da;Ca=ca,Da=kb(l),u[Ca+278>>1]=Da;Ca=ca,Da=kb(l),u[Ca+280>>1]=Da;Ca=ca,Da=kb(l),u[Ca+282>>1]=Da;J=f+(i+3&-4)|0;lj:{M=kb(l);mj:{nj:{if((M|0)<1){break nj}while(1){e=kb(l);E=kb(l);oj:{if((E|0)<=22){if((J-v[l+28>>2]|0)>=13){break oj}break nj}j=(e&255)!=1;pj:{if(!j){f=v[ca+288>>2];e=kb(l);if(!f){g=e;break pj}if((e|0)==(g|0)){break pj}O(11869,6678,640,194164);L()}kb(l)}k=E-23|0;gd(l,18);i=ge(l);qj:{if(!j){rj:{if(v[ca+288>>2]){break rj}f=u[o+4>>1];e=u[q+6>>1];K=B(f,e);j=K;sj:{tj:{switch(x[l+50>>1]-1|0){case 15:K=K<<1;j=K;break sj;default:O(3794,6678,669,194164);L();case 7:break sj;case 0:break tj}}j=B(f,(e+7|0)/8|0)}v[l+700>>2]=j;uj:{vj:{switch(v[N>>2]-1|0){case 0:case 7:j=j<<1;break uj;case 3:j=B(j,5);break uj;case 2:case 6:case 8:break vj;default:break uj}}j=j<<2}if(v[l+688>>2]>=(j|0)){break rj}tb(v[l+684>>2]);e=v[l+688>>2]<<1;e=(e|0)>(j|0)?e:j;v[l+688>>2]=e;e=gb(e);v[l+684>>2]=e;if(e){break rj}v[l+688>>2]=0;break mj}j=v[l+692>>2];wj:{if((k|0)<=v[l+696>>2]){break wj}tb(j);e=v[l+696>>2]<<1;e=(e|0)>(k|0)?e:k;v[l+696>>2]=e;j=gb(e);v[l+692>>2]=j;if(j){break wj}v[l+696>>2]=0;break mj}if((Vd(l,j,k)|0)!=(k|0)){tb(p);e=-5;break ij}e=v[l+700>>2];$=v[l+684>>2]+B(e,v[ca+288>>2])|0;xj:{yj:{switch(i|0){case 1:zj:{switch(x[l+50>>1]-8|0){default:O(13932,6678,751,194164);L();case 0:case 8:break zj}}e=x[o+4>>1];i=e<<16>>16;Aj:{if((i|0)<1){Z=0;break Aj}aa=v[l+692>>2];j=aa+(e<<1)|0;Z=0;ka=0;while(1){e=0;f=w[aa|0]|w[aa+1|0]<<8;k=(f<<8|f>>>8)<<16>>16;if((k|0)>=1){while(1){f=e+1|0;i=j+1|0;F=w[j|0];E=F<<24>>24;Bj:{if((E|0)>=0){e=f;f=F+1|0;e=e+f|0;$=cb($,i,f)+f|0;Z=f+Z|0;i=f+i|0;break Bj}if((E|0)==-128){e=f;break Bj}e=e+2|0;f=257-F|0;$=eb($,w[j+1|0],f)+f|0;Z=f+Z|0;i=j+2|0}j=i;if((e|0)<(k|0)){continue}break}i=x[o+4>>1]}aa=aa+2|0;ka=ka+1|0;if((ka|0)>16){continue}break}}if((K|0)==(Z|0)){break xj}O(15560,6678,793,194164);L();case 2:j=bL(v[l+692>>2],k,$,K);if(!j){break xj}break jj;case 3:j=aL(v[l+692>>2],k,$,K,u[q+6>>1],x[l+50>>1]);if(!j){break xj}break jj;default:O(3794,6678,820,194164);L();case 0:break yj}}cb($,v[l+692>>2],e)}v[ca+288>>2]=v[ca+288>>2]+1;break qj}if((E|0)<24){break qj}gd(l,k)}if((J-v[l+28>>2]|0)<13){break nj}}ia=ia+1|0;if((M|0)!=(ia|0)){continue}break}}j=gb(B(u[q+6>>1],u[o+4>>1])<<2);v[ca+292>>2]=j;if(j){break lj}}tb(p);e=-4;break ij}Cj:{Dj:{Ej:{switch(v[N>>2]){case 0:if((g|0)==1){M=v[l+684>>2];q=0;K=(v[l+40>>2]+7|0)/8|0;E=u[N+4>>1];Fj:{if((E|0)<1){break Fj}F=u[N+6>>1];if((F|0)<1){break Fj}e=F&-2;o=F&1;g=v[N+292>>2];while(1){j=M+B(q,K)|0;k=128;i=e;if((F|0)!=1){while(1){v[g>>2]=w[j|0]&k?-16777216:-1;f=k>>>0<2;k=f?128:k>>1;j=f+j|0;v[g+4>>2]=k&w[j|0]?-16777216:-1;f=k>>>0<2;k=f?128:k>>1;j=f+j|0;g=g+8|0;i=i-2|0;if(i){continue}break}}if(o){v[g>>2]=w[j|0]&k?-16777216:-1;g=g+4|0}q=q+1|0;if((E|0)!=(q|0)){continue}break}}break Cj}O(3794,6678,851,194164);L();case 1:case 8:Gj:{switch(x[l+50>>1]-8|0){case 8:e=v[N+292>>2];Hj:{if(v[N+288>>2]==2){j=u[N+4>>1];f=u[N+6>>1];k=B(j,f);if(!k){break Hj}i=v[l+684>>2];g=i+v[l+700>>2]|0;f=B(f,j);if(f&1){j=w[g|0];v[e>>2]=j<<16|j|j<<8|w[i|0]<<24;g=g+2|0;k=k-1|0;i=i+2|0;e=e+4|0}if((f|0)==1){break Hj}while(1){f=w[g|0];v[e>>2]=f<<16|f|f<<8|w[i|0]<<24;f=w[g+2|0];v[e+4>>2]=f<<16|f|f<<8|w[i+2|0]<<24;g=g+4|0;i=i+4|0;e=e+8|0;k=k-2|0;if(k){continue}break}break Hj}i=u[N+4>>1];f=u[N+6>>1];g=B(i,f);if(!g){break Hj}f=B(f,i);j=f-1|0;i=v[l+684>>2];k=f&3;if(k){while(1){f=w[i|0];v[e>>2]=(B(f,65792)|f)-16777216;i=i+2|0;e=e+4|0;g=g-1|0;k=k-1|0;if(k){continue}break}}if(j>>>0<3){break Hj}while(1){f=w[i|0];v[e>>2]=(B(f,65792)|f)-16777216;f=w[i+2|0];v[e+4>>2]=(B(f,65792)|f)-16777216;f=w[i+4|0];v[e+8>>2]=(B(f,65792)|f)-16777216;f=w[i+6|0];v[e+12>>2]=(B(f,65792)|f)-16777216;i=i+8|0;e=e+16|0;g=g-4|0;if(g){continue}break}}break Cj;case 0:break Dj;default:break Gj}}O(3794,6678,864,194164);L();case 2:if(x[l+50>>1]==8){f=u[q+6>>1];e=u[o+4>>1];k=B(f,e);if(!k){break Cj}i=B(e,f);f=i-1|0;e=v[l+684>>2];i=i&3;if(i){while(1){v[j>>2]=v[(w[e|0]<<2)+p>>2];e=e+1|0;j=j+4|0;k=k-1|0;i=i-1|0;if(i){continue}break}}if(f>>>0<3){break Cj}while(1){v[j>>2]=v[(w[e|0]<<2)+p>>2];v[j+4>>2]=v[(w[e+1|0]<<2)+p>>2];v[j+8>>2]=v[(w[e+2|0]<<2)+p>>2];v[j+12>>2]=v[(w[e+3|0]<<2)+p>>2];e=e+4|0;j=j+16|0;k=k-4|0;if(k){continue}break}break Cj}O(3794,6678,872,194164);L();case 3:Ij:{switch(x[l+50>>1]-8|0){case 0:o=u[N+4>>1];f=u[N+6>>1];j=B(o,f);q=v[l+700>>2];e=v[l+684>>2];k=v[N+292>>2];Jj:{if(v[N+288>>2]==4){if(!j){break Jj}i=e+q|0;g=(q<<1)+e|0;q=B(q,3)+e|0;f=B(f,o);if(f&1){v[k>>2]=w[q|0]|(w[i|0]<<16|w[e|0]<<24|w[g|0]<<8);q=q+1|0;g=g+1|0;k=k+4|0;j=j-1|0;i=i+1|0;e=e+1|0}if((f|0)==1){break Jj}while(1){v[k>>2]=w[q|0]|(w[i|0]<<16|w[e|0]<<24|w[g|0]<<8);v[k+4>>2]=w[q+1|0]|(w[i+1|0]<<16|w[e+1|0]<<24|w[g+1|0]<<8);q=q+2|0;g=g+2|0;i=i+2|0;e=e+2|0;k=k+8|0;j=j-2|0;if(j){continue}break}break Jj}if(!j){break Jj}i=e+q|0;g=(q<<1)+e|0;f=B(f,o);if(f&1){v[k>>2]=w[g|0]|(w[e|0]<<16|w[i|0]<<8)|-16777216;g=g+1|0;k=k+4|0;j=j-1|0;i=i+1|0;e=e+1|0}if((f|0)==1){break Jj}while(1){v[k>>2]=w[g|0]|(w[e|0]<<16|w[i|0]<<8)|-16777216;v[k+4>>2]=w[g+1|0]|(w[e+1|0]<<16|w[i+1|0]<<8)|-16777216;g=g+2|0;i=i+2|0;e=e+2|0;k=k+8|0;j=j-2|0;if(j){continue}break}}break Cj;case 8:o=u[N+4>>1];f=u[N+6>>1];j=B(o,f);q=v[l+700>>2];e=v[l+684>>2];k=v[N+292>>2];Kj:{if(v[N+288>>2]==4){if(!j){break Kj}i=e+q|0;g=(q<<1)+e|0;q=B(q,3)+e|0;f=B(f,o);if(f&1){v[k>>2]=t[q|0]|(t[i|0]<<16|w[e|0]<<24|t[g|0]<<8);q=q+2|0;g=g+2|0;k=k+4|0;j=j-1|0;i=i+2|0;e=e+2|0}if((f|0)==1){break Kj}while(1){v[k>>2]=t[q|0]|(t[i|0]<<16|w[e|0]<<24|t[g|0]<<8);v[k+4>>2]=t[q+2|0]|(t[i+2|0]<<16|w[e+2|0]<<24|t[g+2|0]<<8);q=q+4|0;g=g+4|0;i=i+4|0;e=e+4|0;k=k+8|0;j=j-2|0;if(j){continue}break}break Kj}if(!j){break Kj}i=e+q|0;g=(q<<1)+e|0;f=B(f,o);if(f&1){v[k>>2]=t[g|0]|(w[e|0]<<16|t[i|0]<<8)|-16777216;g=g+2|0;k=k+4|0;j=j-1|0;i=i+2|0;e=e+2|0}if((f|0)==1){break Kj}while(1){v[k>>2]=t[g|0]|(w[e|0]<<16|t[i|0]<<8)|-16777216;v[k+4>>2]=t[g+2|0]|(w[e+2|0]<<16|t[i+2|0]<<8)|-16777216;g=g+4|0;i=i+4|0;e=e+4|0;k=k+8|0;j=j-2|0;if(j){continue}break}}break Cj;default:break Ij}}O(3794,6678,882,194164);L();case 4:Lj:{switch(x[l+50>>1]-8|0){case 0:q=B(u[N+4>>1],u[N+6>>1]);f=v[l+700>>2];e=v[l+684>>2];$=v[N+292>>2];Mj:{if(v[N+288>>2]==5){if(!q){break Mj}i=e+f|0;k=(f<<1)+e|0;j=B(f,3)+e|0;g=(f<<2)+e|0;while(1){Ca=$,Da=Ht(w[e|0],w[i|0]^255,w[k|0]^255,w[j|0]^255,w[g|0]^255),v[Ca>>2]=Da;g=g+1|0;j=j+1|0;k=k+1|0;i=i+1|0;e=e+1|0;$=$+4|0;q=q-1|0;if(q){continue}break}break Mj}if(!q){break Mj}i=e+f|0;k=(f<<1)+e|0;j=B(f,3)+e|0;while(1){Ca=$,Da=Tk(w[e|0]^255,w[i|0]^255,w[k|0]^255,w[j|0]^255),v[Ca>>2]=Da;j=j+1|0;k=k+1|0;i=i+1|0;e=e+1|0;$=$+4|0;q=q-1|0;if(q){continue}break}}break Cj;case 8:q=B(u[N+4>>1],u[N+6>>1]);f=v[l+700>>2];e=v[l+684>>2];$=v[N+292>>2];Nj:{if(v[N+288>>2]==5){if(!q){break Nj}i=e+f|0;k=(f<<1)+e|0;j=B(f,3)+e|0;g=(f<<2)+e|0;while(1){Ca=$,Da=Ht(w[e|0],255-t[i|0]|0,255-t[k|0]|0,255-t[j|0]|0,255-t[g|0]|0),v[Ca>>2]=Da;g=g+2|0;j=j+2|0;k=k+2|0;i=i+2|0;e=e+2|0;$=$+4|0;q=q-1|0;if(q){continue}break}break Nj}if(!q){break Nj}i=e+f|0;k=(f<<1)+e|0;j=B(f,3)+e|0;while(1){Ca=$,Da=Tk(255-t[e|0]|0,255-t[i|0]|0,255-t[k|0]|0,255-t[j|0]|0),v[Ca>>2]=Da;j=j+2|0;k=k+2|0;i=i+2|0;e=e+2|0;$=$+4|0;q=q-1|0;if(q){continue}break}}break Cj;default:break Lj}}O(3794,6678,893,194164);L();case 9:Oj:{switch(x[l+50>>1]-8|0){case 0:k=B(u[N+4>>1],u[N+6>>1]);f=v[l+700>>2];e=v[l+684>>2];j=v[N+292>>2];Pj:{if(v[N+288>>2]==4){if(!k){break Pj}i=e+f|0;g=(f<<1)+e|0;q=B(f,3)+e|0;while(1){Ca=j,Da=ep(w[e|0],B(w[i|0],100)>>>8|0,w[g|0]-128|0,w[q|0]-128|0),v[Ca>>2]=Da;q=q+1|0;g=g+1|0;i=i+1|0;e=e+1|0;j=j+4|0;k=k-1|0;if(k){continue}break}break Pj}if(!k){break Pj}i=e+f|0;g=(f<<1)+e|0;while(1){Ca=j,Da=Gt(B(w[e|0],100)>>>8|0,w[i|0]-128|0,w[g|0]-128|0),v[Ca>>2]=Da;g=g+1|0;i=i+1|0;e=e+1|0;j=j+4|0;k=k-1|0;if(k){continue}break}}break Cj;case 8:k=B(u[N+4>>1],u[N+6>>1]);f=v[l+700>>2];e=v[l+684>>2];j=v[N+292>>2];Qj:{if(v[N+288>>2]==4){if(!k){break Qj}i=e+f|0;g=(f<<1)+e|0;q=B(f,3)+e|0;while(1){Ca=j,Da=ep(w[e|0],B(t[i|0],100)>>8,t[g|0]-128|0,t[q|0]-128|0),v[Ca>>2]=Da;q=q+2|0;g=g+2|0;i=i+2|0;e=e+2|0;j=j+4|0;k=k-1|0;if(k){continue}break}break Qj}if(!k){break Qj}i=e+f|0;g=(f<<1)+e|0;while(1){Ca=j,Da=Gt(B(t[e|0],100)>>8,t[i|0]-128|0,t[g|0]-128|0),v[Ca>>2]=Da;g=g+2|0;i=i+2|0;e=e+2|0;j=j+4|0;k=k-1|0;if(k){continue}break}}break Cj;default:break Oj}}O(3794,6678,905,194164);L();case 7:if(x[l+50>>1]==8){k=B(u[N+4>>1],u[N+6>>1]);f=v[l+700>>2];e=v[l+684>>2];j=v[N+292>>2];Rj:{if(v[N+288>>2]==4){if(!k){break Rj}i=e+f|0;g=(f<<1)+e|0;q=B(f,3)+e|0;while(1){Ca=j,Da=Tk(w[e|0]^255,w[i|0]^255,w[g|0]^255,w[q|0]^255),v[Ca>>2]=Da;q=q+1|0;g=g+1|0;i=i+1|0;e=e+1|0;j=j+4|0;k=k-1|0;if(k){continue}break}break Rj}if(!k){break Rj}i=e+f|0;g=(f<<1)+e|0;while(1){Ca=j,Da=Tk(w[e|0]^255,w[i|0]^255,w[g|0]^255,0),v[Ca>>2]=Da;g=g+1|0;i=i+1|0;e=e+1|0;j=j+4|0;k=k-1|0;if(k){continue}break}}break Cj}O(3794,6678,914,194164);L();default:break Ej}}O(3794,6678,919,194164);L()}e=v[N+292>>2];Sj:{if(v[N+288>>2]==2){j=u[N+4>>1];f=u[N+6>>1];k=B(j,f);if(!k){break Sj}i=v[l+684>>2];g=i+v[l+700>>2]|0;f=B(f,j);if(f&1){j=w[g|0];v[e>>2]=j<<16|j|j<<8|w[i|0]<<24;g=g+1|0;k=k-1|0;i=i+1|0;e=e+4|0}if((f|0)==1){break Sj}while(1){f=w[g|0];v[e>>2]=f<<16|f|f<<8|w[i|0]<<24;f=w[g+1|0];v[e+4>>2]=f<<16|f|f<<8|w[i+1|0]<<24;g=g+2|0;i=i+2|0;e=e+8|0;k=k-2|0;if(k){continue}break}break Sj}i=u[N+4>>1];f=u[N+6>>1];g=B(i,f);if(!g){break Sj}f=B(f,i);j=f-1|0;i=v[l+684>>2];k=f&3;if(k){while(1){f=w[i|0];v[e>>2]=(B(f,65792)|f)-16777216;i=i+1|0;e=e+4|0;g=g-1|0;k=k-1|0;if(k){continue}break}}if(j>>>0<3){break Sj}while(1){f=w[i|0];v[e>>2]=(B(f,65792)|f)-16777216;f=w[i+1|0];v[e+4>>2]=(B(f,65792)|f)-16777216;f=w[i+2|0];v[e+8>>2]=(B(f,65792)|f)-16777216;f=w[i+3|0];v[e+12>>2]=(B(f,65792)|f)-16777216;i=i+4|0;e=e+16|0;g=g-4|0;if(g){continue}break}}}tb(p);v[l+652>>2]=v[l+652>>2]+1;gd(l,J-v[l+28>>2]|0);j=0}e=j}b=b+n|0;n=v[l+28>>2];b=b-n|0;if((b|0)>3){continue}break}}if((b|0)<1){break hj}gd(l,b);break hj}if((b|0)<1){break hj}gd(l,b)}b=I-v[l+28>>2]|0;if((b|0)>12){continue}break}}gd(l,b)}f=e}b=f;switch(b+3|0){case 0:break yi;case 3:break Ai;default:break zi};case 4:m=-14;G=5;p=0;i=0;K=0;Tj:{Uj:{Vj:{Wj:{Xj:{Yj:{switch(v[l+36>>2]-2|0){case 0:if(u[l+632>>1]>0){break Xj}break;case 2:case 3:break Xj;default:break Yj}}e=v[l+44>>2];b=v[l+40>>2];N=B(e,b);p=N;Zj:{_j:{switch(x[l+50>>1]-1|0){case 15:p=N<<1;N=p;break Zj;default:O(3794,7777,538,193444);L();case 7:break Zj;case 0:break _j}}p=B(e,(b+7|0)/8|0)}v[l+700>>2]=p;b=x[l+48>>1];e=Ab(l);b=B(b,p);o=gb(b);if(!o){break Uj}v[l+684>>2]=o;f=v[l+24>>2]-v[l+28>>2]|0;$j:{ak:{if(!e){break ak}i=gb(f);if(!i){$a(o);v[l+684>>2]=0;break Uj}Vd(l,i,f);bk:{ck:{dk:{switch(e|0){case 1:ek:{switch(x[l+50>>1]-8|0){default:O(13932,7777,579,193444);L();case 0:case 8:break ek}}b=x[l+48>>1];if(!b){break $j}Z=v[l+44>>2];if((Z|0)<1){break ck}p=(B(b,Z)<<1)+i|0;e=o;n=i;while(1){E=0;k=0;if((Z|0)>=1){while(1){b=0;f=w[n|0]|w[n+1|0]<<8;q=(f<<8|f>>>8)<<16>>16;if((q|0)>=1){while(1){f=b+1|0;g=p+1|0;M=w[p|0];j=M<<24>>24;fk:{if((j|0)>=0){b=f;f=M+1|0;b=b+f|0;e=cb(e,g,f)+f|0;E=f+E|0;g=f+g|0;break fk}if((j|0)==-128){b=f;break fk}b=b+2|0;f=257-M|0;e=eb(e,w[p+1|0],f)+f|0;E=f+E|0;g=p+2|0}p=g;if((b|0)<(q|0)){continue}break}Z=v[l+44>>2]}n=n+2|0;k=k+1|0;if((Z|0)>(k|0)){continue}break}}if((E|0)!=(N|0)){break bk}K=K+1|0;if(K>>>0>1]){continue}break};break $j;case 2:p=bL(i,f,o,b);if(!p){break $j}break Xj;case 3:p=aL(i,f,o,b,v[l+40>>2],x[l+50>>1]);if(!p){break $j}break Xj;case 0:break ak;default:break dk}}O(3794,7777,651,193444);L()}if(!N){break $j}}O(15560,7777,623,193444);L()}if((b|0)>(f|0)){break Wj}Vd(l,o,b)}tb(i);b=gb(B(v[l+40>>2],v[l+44>>2])<<2);v[l+672>>2]=b;if(!b){break Vj}gk:{hk:{ik:{switch(v[l+52>>2]){case 0:if(x[l+50>>1]==1){e=0;i=v[l+40>>2];p=(i+7|0)/8|0;b=v[l+44>>2];if(!((b|0)<1|(i|0)<1)){g=v[l+684>>2];n=v[l+672>>2];while(1){if((i|0)>=1){j=g+B(e,p)|0;k=0;b=128;while(1){v[n>>2]=w[j|0]&b?-16777216:-1;f=b>>>0<2;b=f?128:b>>1;n=n+4|0;j=f+j|0;i=v[l+40>>2];k=k+1|0;if((i|0)>(k|0)){continue}break}b=v[l+44>>2]}e=e+1|0;if((e|0)<(b|0)){continue}break}}break gk}O(3794,7777,673,193444);L();case 1:case 8:jk:{switch(x[l+50>>1]-8|0){case 8:e=v[l+672>>2];kk:{if(x[l+356>>1]==2){g=v[l+44>>2];f=v[l+40>>2];n=B(g,f);if(!n){break kk}b=v[l+684>>2];i=b+v[l+700>>2]|0;f=B(f,g);if(f&1){g=w[i|0];v[e>>2]=g<<16|g|g<<8|w[b|0]<<24;i=i+2|0;e=e+4|0;n=n-1|0;b=b+2|0}if((f|0)==1){break kk}while(1){f=w[i|0];v[e>>2]=f<<16|f|f<<8|w[b|0]<<24;f=w[i+2|0];v[e+4>>2]=f<<16|f|f<<8|w[b+2|0]<<24;i=i+4|0;b=b+4|0;e=e+8|0;n=n-2|0;if(n){continue}break}break kk}f=v[l+44>>2];b=v[l+40>>2];i=B(f,b);if(!i){break kk}f=B(b,f);g=f-1|0;b=v[l+684>>2];n=f&3;if(n){while(1){f=w[b|0];v[e>>2]=(B(f,65792)|f)-16777216;b=b+2|0;e=e+4|0;i=i-1|0;n=n-1|0;if(n){continue}break}}if(g>>>0<3){break kk}while(1){f=w[b|0];v[e>>2]=(B(f,65792)|f)-16777216;f=w[b+2|0];v[e+4>>2]=(B(f,65792)|f)-16777216;f=w[b+4|0];v[e+8>>2]=(B(f,65792)|f)-16777216;f=w[b+6|0];v[e+12>>2]=(B(f,65792)|f)-16777216;b=b+8|0;e=e+16|0;i=i-4|0;if(i){continue}break}}break gk;case 0:break hk;default:break jk}}O(3794,7777,686,193444);L();case 2:if(x[l+50>>1]==8){g=v[l+44>>2];f=v[l+40>>2];i=B(g,f);if(!i){break gk}p=u[l+462>>1];b=v[l+672>>2];e=v[l+684>>2];f=B(f,g);if(f&1){n=16777215;i=i-1|0;j=b;g=w[e|0];if(!((g|0)>=(p|0)|(g|0)==u[l+464>>1])){n=v[v[l+60>>2]+(g<<2)>>2]}v[j>>2]=n;e=e+1|0;b=b+4|0}if((f|0)==1){break gk}while(1){n=16777215;f=b;g=w[e|0];j=16777215;lk:{if((g|0)>=(p|0)){break lk}j=16777215;if((g|0)==u[l+464>>1]){break lk}j=v[v[l+60>>2]+(g<<2)>>2]}v[f>>2]=j;i=i-2|0;g=b;f=w[e+1|0];if(!((f|0)>=(p|0)|(f|0)==u[l+464>>1])){n=v[v[l+60>>2]+(f<<2)>>2]}v[g+4>>2]=n;e=e+2|0;b=b+8|0;if(i){continue}break}break gk}O(3794,7777,694,193444);L();case 3:mk:{switch(x[l+50>>1]-8|0){case 0:g=v[l+44>>2];f=v[l+40>>2];j=B(g,f);p=v[l+700>>2];b=v[l+684>>2];n=v[l+672>>2];nk:{if(x[l+356>>1]==4){if(!j){break nk}e=b+p|0;i=(p<<1)+b|0;k=B(p,3)+b|0;f=B(f,g);if(f&1){v[n>>2]=w[k|0]|(w[e|0]<<16|w[b|0]<<24|w[i|0]<<8);k=k+1|0;i=i+1|0;n=n+4|0;j=j-1|0;e=e+1|0;b=b+1|0}if((f|0)==1){break nk}while(1){v[n>>2]=w[k|0]|(w[e|0]<<16|w[b|0]<<24|w[i|0]<<8);v[n+4>>2]=w[k+1|0]|(w[e+1|0]<<16|w[b+1|0]<<24|w[i+1|0]<<8);k=k+2|0;i=i+2|0;e=e+2|0;b=b+2|0;n=n+8|0;j=j-2|0;if(j){continue}break}break nk}if(!j){break nk}e=b+p|0;i=(p<<1)+b|0;f=B(f,g);if(f&1){v[n>>2]=w[i|0]|(w[b|0]<<16|w[e|0]<<8)|-16777216;i=i+1|0;n=n+4|0;j=j-1|0;e=e+1|0;b=b+1|0}if((f|0)==1){break nk}while(1){v[n>>2]=w[i|0]|(w[b|0]<<16|w[e|0]<<8)|-16777216;v[n+4>>2]=w[i+1|0]|(w[b+1|0]<<16|w[e+1|0]<<8)|-16777216;i=i+2|0;e=e+2|0;b=b+2|0;n=n+8|0;j=j-2|0;if(j){continue}break}}break gk;case 8:g=v[l+44>>2];f=v[l+40>>2];j=B(g,f);p=v[l+700>>2];b=v[l+684>>2];n=v[l+672>>2];ok:{if(x[l+356>>1]==4){if(!j){break ok}e=b+p|0;i=(p<<1)+b|0;k=B(p,3)+b|0;f=B(f,g);if(f&1){v[n>>2]=t[k|0]|(t[e|0]<<16|w[b|0]<<24|t[i|0]<<8);k=k+2|0;i=i+2|0;n=n+4|0;j=j-1|0;e=e+2|0;b=b+2|0}if((f|0)==1){break ok}while(1){v[n>>2]=t[k|0]|(t[e|0]<<16|w[b|0]<<24|t[i|0]<<8);v[n+4>>2]=t[k+2|0]|(t[e+2|0]<<16|w[b+2|0]<<24|t[i+2|0]<<8);k=k+4|0;i=i+4|0;e=e+4|0;b=b+4|0;n=n+8|0;j=j-2|0;if(j){continue}break}break ok}if(!j){break ok}e=b+p|0;i=(p<<1)+b|0;f=B(f,g);if(f&1){v[n>>2]=t[i|0]|(w[b|0]<<16|t[e|0]<<8)|-16777216;i=i+2|0;n=n+4|0;j=j-1|0;e=e+2|0;b=b+2|0}if((f|0)==1){break ok}while(1){v[n>>2]=t[i|0]|(w[b|0]<<16|t[e|0]<<8)|-16777216;v[n+4>>2]=t[i+2|0]|(w[b+2|0]<<16|t[e+2|0]<<8)|-16777216;i=i+4|0;e=e+4|0;b=b+4|0;n=n+8|0;j=j-2|0;if(j){continue}break}}break gk;default:break mk}}O(3794,7777,704,193444);L();case 4:pk:{switch(x[l+50>>1]-8|0){case 0:k=B(v[l+44>>2],v[l+40>>2]);e=v[l+700>>2];b=v[l+684>>2];E=v[l+672>>2];qk:{if(x[l+356>>1]==5){if(!k){break qk}i=b+e|0;n=(e<<1)+b|0;j=B(e,3)+b|0;e=(e<<2)+b|0;while(1){Ca=E,Da=Ht(w[b|0],w[i|0]^255,w[n|0]^255,w[j|0]^255,w[e|0]^255),v[Ca>>2]=Da;e=e+1|0;j=j+1|0;n=n+1|0;i=i+1|0;b=b+1|0;E=E+4|0;k=k-1|0;if(k){continue}break}break qk}if(!k){break qk}i=b+e|0;n=(e<<1)+b|0;j=B(e,3)+b|0;while(1){Ca=E,Da=Tk(w[b|0]^255,w[i|0]^255,w[n|0]^255,w[j|0]^255),v[Ca>>2]=Da;j=j+1|0;n=n+1|0;i=i+1|0;b=b+1|0;E=E+4|0;k=k-1|0;if(k){continue}break}}break gk;case 8:k=B(v[l+44>>2],v[l+40>>2]);e=v[l+700>>2];b=v[l+684>>2];E=v[l+672>>2];rk:{if(x[l+356>>1]==5){if(!k){break rk}i=b+e|0;n=(e<<1)+b|0;j=B(e,3)+b|0;e=(e<<2)+b|0;while(1){Ca=E,Da=Ht(w[b|0],255-t[i|0]|0,255-t[n|0]|0,255-t[j|0]|0,255-t[e|0]|0),v[Ca>>2]=Da;e=e+2|0;j=j+2|0;n=n+2|0;i=i+2|0;b=b+2|0;E=E+4|0;k=k-1|0;if(k){continue}break}break rk}if(!k){break rk}i=b+e|0;n=(e<<1)+b|0;j=B(e,3)+b|0;while(1){Ca=E,Da=Tk(255-t[b|0]|0,255-t[i|0]|0,255-t[n|0]|0,255-t[j|0]|0),v[Ca>>2]=Da;j=j+2|0;n=n+2|0;i=i+2|0;b=b+2|0;E=E+4|0;k=k-1|0;if(k){continue}break}}break gk;default:break pk}}O(3794,7777,715,193444);L();case 9:sk:{switch(x[l+50>>1]-8|0){case 0:n=B(v[l+44>>2],v[l+40>>2]);f=v[l+700>>2];b=v[l+684>>2];j=v[l+672>>2];tk:{if(x[l+356>>1]==4){if(!n){break tk}e=b+f|0;i=(f<<1)+b|0;k=B(f,3)+b|0;while(1){Ca=j,Da=ep(w[b|0],B(w[e|0],100)>>>8|0,w[i|0]-128|0,w[k|0]-128|0),v[Ca>>2]=Da;k=k+1|0;i=i+1|0;e=e+1|0;b=b+1|0;j=j+4|0;n=n-1|0;if(n){continue}break}break tk}if(!n){break tk}e=b+f|0;i=(f<<1)+b|0;while(1){Ca=j,Da=Gt(B(w[b|0],100)>>>8|0,w[e|0]-128|0,w[i|0]-128|0),v[Ca>>2]=Da;i=i+1|0;e=e+1|0;b=b+1|0;j=j+4|0;n=n-1|0;if(n){continue}break}}break gk;case 8:n=B(v[l+44>>2],v[l+40>>2]);f=v[l+700>>2];b=v[l+684>>2];j=v[l+672>>2];uk:{if(x[l+356>>1]==4){if(!n){break uk}e=b+f|0;i=(f<<1)+b|0;k=B(f,3)+b|0;while(1){Ca=j,Da=ep(w[b|0],B(t[e|0],100)>>8,t[i|0]-128|0,t[k|0]-128|0),v[Ca>>2]=Da;k=k+2|0;i=i+2|0;e=e+2|0;b=b+2|0;j=j+4|0;n=n-1|0;if(n){continue}break}break uk}if(!n){break uk}e=b+f|0;i=(f<<1)+b|0;while(1){Ca=j,Da=Gt(B(t[b|0],100)>>8,t[e|0]-128|0,t[i|0]-128|0),v[Ca>>2]=Da;i=i+2|0;e=e+2|0;b=b+2|0;j=j+4|0;n=n-1|0;if(n){continue}break}}break gk;default:break sk}}O(3794,7777,727,193444);L();case 7:if(x[l+50>>1]==8){n=B(v[l+44>>2],v[l+40>>2]);f=v[l+700>>2];b=v[l+684>>2];j=v[l+672>>2];vk:{if(x[l+356>>1]==4){if(!n){break vk}e=b+f|0;i=(f<<1)+b|0;k=B(f,3)+b|0;while(1){Ca=j,Da=Tk(w[b|0]^255,w[e|0]^255,w[i|0]^255,w[k|0]^255),v[Ca>>2]=Da;k=k+1|0;i=i+1|0;e=e+1|0;b=b+1|0;j=j+4|0;n=n-1|0;if(n){continue}break}break vk}if(!n){break vk}e=b+f|0;i=(f<<1)+b|0;while(1){Ca=j,Da=Tk(w[b|0]^255,w[e|0]^255,w[i|0]^255,0),v[Ca>>2]=Da;i=i+1|0;e=e+1|0;b=b+1|0;j=j+4|0;n=n-1|0;if(n){continue}break}}break gk}O(3794,7777,736,193444);L();default:break ik}}O(3794,7777,741,193444);L()}e=v[l+672>>2];wk:{if(x[l+356>>1]==2){g=v[l+44>>2];f=v[l+40>>2];n=B(g,f);if(!n){break wk}b=v[l+684>>2];i=b+v[l+700>>2]|0;f=B(f,g);if(f&1){g=w[i|0];v[e>>2]=g<<16|g|g<<8|w[b|0]<<24;i=i+1|0;e=e+4|0;n=n-1|0;b=b+1|0}if((f|0)==1){break wk}while(1){f=w[i|0];v[e>>2]=f<<16|f|f<<8|w[b|0]<<24;f=w[i+1|0];v[e+4>>2]=f<<16|f|f<<8|w[b+1|0]<<24;i=i+2|0;b=b+2|0;e=e+8|0;n=n-2|0;if(n){continue}break}break wk}f=v[l+44>>2];b=v[l+40>>2];i=B(f,b);if(!i){break wk}f=B(b,f);g=f-1|0;b=v[l+684>>2];n=f&3;if(n){while(1){f=w[b|0];v[e>>2]=(B(f,65792)|f)-16777216;b=b+1|0;e=e+4|0;i=i-1|0;n=n-1|0;if(n){continue}break}}if(g>>>0<3){break wk}while(1){f=w[b|0];v[e>>2]=(B(f,65792)|f)-16777216;f=w[b+1|0];v[e+4>>2]=(B(f,65792)|f)-16777216;f=w[b+2|0];v[e+8>>2]=(B(f,65792)|f)-16777216;f=w[b+3|0];v[e+12>>2]=(B(f,65792)|f)-16777216;b=b+4|0;e=e+16|0;i=i-4|0;if(i){continue}break}}}e=u[l+356>>1];if((e|0)>1]){while(1){p=gb(B(v[l+44>>2],v[l+40>>2]));v[(v[l+360>>2]+B(e-u[l+356>>1]|0,272)|0)+268>>2]=p;if(!p){break Vj}xk:{if(x[l+50>>1]==8){b=v[l+700>>2];cb(p,v[l+684>>2]+B(b,e)|0,b);break xk}f=v[l+44>>2];b=v[l+40>>2];n=B(f,b);if(!n){break xk}i=B(b,f);f=i-1|0;b=v[l+684>>2]+B(v[l+700>>2],e)|0;Z=i&7;if(Z){while(1){t[p|0]=w[b|0];b=b+2|0;p=p+1|0;n=n-1|0;Z=Z-1|0;if(Z){continue}break}}if(f>>>0<7){break xk}while(1){t[p|0]=w[b|0];t[p+1|0]=w[b+2|0];t[p+2|0]=w[b+4|0];t[p+3|0]=w[b+6|0];t[p+4|0]=w[b+8|0];t[p+5|0]=w[b+10|0];t[p+6|0]=w[b+12|0];t[p+7|0]=w[b+14|0];b=b+16|0;p=p+8|0;n=n-8|0;if(n){continue}break}}e=e+1|0;if((e|0)>1]){continue}break}}tb(o);p=0;v[l+684>>2]=0;if(x[l+632>>1]){break Xj}yk:{switch(v[l+36>>2]){case 0:case 2:break yk;default:break Xj}}b=gb(600);v[l+636>>2]=b;if(!b){break Uj}eb(b,0,600);u[l+632>>1]=1;o=v[l+636>>2];v[o+8>>2]=0;v[o>>2]=0;v[o+4>>2]=0;b=v[l+44>>2];v[o+12>>2]=b;e=v[l+40>>2];v[o+24>>2]=b;v[o+20>>2]=e;v[o+16>>2]=e;b=u[l+356>>1];t[o+541|0]=255;t[o+40|0]=255;v[o+36>>2]=0;v[o+592>>2]=23;t[o+586|0]=0;u[o+584>>1]=1;t[o+566|0]=0;u[o+564>>1]=1;t[o+45|0]=0;t[o+41|0]=0;t[o+42|0]=0;t[o+43|0]=1;t[o+44|0]=0;t[o+74|0]=1;t[o+72|0]=255;u[o+28>>1]=b;b=gb(B(b,12));v[o+32>>2]=b;if(!b){break Uj}eb(b,0,B(u[o+28>>1],12));b=4;zk:{switch(v[l+52>>2]-3|0){case 1:b=5;case 0:p=x[l+356>>1]==(b|0)?-1:0;break;default:break zk}}f=u[o+28>>1];Ak:{if((f|0)<1){break Ak}e=f&3;i=v[o+32>>2];b=0;if(f-1>>>0>=3){E=f&-4;while(1){f=i+B(b,12)|0;t[f+8|0]=0;u[f>>1]=p;f=i+B(b|1,12)|0;t[f+8|0]=0;u[f>>1]=p+1;f=i+B(b|2,12)|0;t[f+8|0]=0;u[f>>1]=p+2;f=i+B(b|3,12)|0;t[f+8|0]=0;u[f>>1]=p+3;b=b+4|0;p=p+4|0;E=E-4|0;if(E){continue}break}}if(!e){break Ak}while(1){f=i+B(b,12)|0;t[f+8|0]=0;u[f>>1]=p;b=b+1|0;p=p+1|0;e=e-1|0;if(e){continue}break}}v[o+80>>2]=-65536;v[o+84>>2]=-65536;b=u[l+356>>1];v[o+88>>2]=b;Ca=o,Da=gb(b<<1),v[Ca+92>>2]=Da;Ca=o,Da=gb(v[o+88>>2]<<1),v[Ca+96>>2]=Da;Ca=o,Da=gb(v[o+88>>2]<<1),v[Ca+100>>2]=Da;j=gb(v[o+88>>2]<<1);v[o+104>>2]=j;n=v[o+92>>2];if(!n){break Uj}g=v[o+96>>2];if(!g){break Uj}i=v[o+100>>2];if(!i|!j){break Uj}f=v[o+88>>2];Bk:{if((f|0)<1){break Bk}b=0;if((f|0)!=1){N=f&-2;while(1){e=b<<1;u[e+n>>1]=0;u[e+g>>1]=65535;u[e+i>>1]=0;u[e+j>>1]=65535;e=e|2;u[e+n>>1]=0;u[e+g>>1]=65535;u[e+i>>1]=0;u[e+j>>1]=65535;b=b+2|0;N=N-2|0;if(N){continue}break}}if(!(f&1)){break Bk}b=b<<1;u[b+n>>1]=0;u[b+g>>1]=65535;u[b+i>>1]=0;u[b+j>>1]=65535}p=0;Ck:{switch(v[l+36>>2]){case 0:b=gb(B(v[l+40>>2],v[l+44>>2])<<2);v[o+372>>2]=b;p=-4;if(!b){break Xj}cb(b,v[l+672>>2],B(v[l+40>>2],v[l+44>>2])<<2);b=0;break Tj;case 2:break Ck;default:break Xj}}v[o+372>>2]=v[l+672>>2];v[l+672>>2]=0}b=p;break Tj}O(9941,7777,569,193444);L()}tb(o);v[l+684>>2]=0}b=-4}switch(b+3|0){case 0:break yi;case 3:break Ai;default:break zi};case 5:break yi;default:break Ci}}O(3794,7394,224,193356);L()}G=v[l+36>>2]==1?5:1}v[l+32>>2]=G;b=0}m=b;if(!b){continue}}}break}if(!m){Cf(h,v[l+40>>2],v[l+44>>2],24,20);k=v[l+672>>2];b=v[l+360>>2];Dk:{if(!b){break Dk}b=v[b+268>>2];if(!b){break Dk}Fi(h);d=b}Ek:{if(!k){break Ek}b=v[l+44>>2];if((b|0)==1){break Ek}m=v[l+40>>2];if((m|0)<1){break Ek}b=b-2|0;while(1){e=b;b=0;if((m|0)>=1){while(1){i=w[k|0]|w[k+1|0]<<8;f=w[k+2|0];t[s+11|0]=0;t[s+10|0]=f;u[s+8>>1]=i;v[s+4>>2]=v[s+8>>2];$w(h,b,e,s+4|0);k=k+4|0;if(d){ah(h,b,e,w[d|0]);d=d+1|0}else{d=0}b=b+1|0;m=v[l+40>>2];if((b|0)<(m|0)){continue}break}}b=e-1|0;if(e){continue}break}}if(l){VC(l)}$a(l);e=1;break vi}Sb(h+72|0,5963,255);if(l){VC(l)}$a(l)}e=v[h+332>>2]==-1&v[h+68>>2]==20}Ma=s+32|0;if(e){break b}od(a+72|0,ga+72|0);Qa[v[v[r>>2]+20>>2]](r,sa,0)|0;Qa[v[v[h>>2]+4>>2]](h);if(c){break c}}c=w[22494]|w[22495]<<8|(w[22496]<<16|w[22497]<<24);b=w[22490]|w[22491]<<8|(w[22492]<<16|w[22493]<<24);t[a+96|0]=b;t[a+97|0]=b>>>8;t[a+98|0]=b>>>16;t[a+99|0]=b>>>24;t[a+100|0]=c;t[a+101|0]=c>>>8;t[a+102|0]=c>>>16;t[a+103|0]=c>>>24;c=w[22486]|w[22487]<<8|(w[22488]<<16|w[22489]<<24);b=w[22482]|w[22483]<<8|(w[22484]<<16|w[22485]<<24);t[a+88|0]=b;t[a+89|0]=b>>>8;t[a+90|0]=b>>>16;t[a+91|0]=b>>>24;t[a+92|0]=c;t[a+93|0]=c>>>8;t[a+94|0]=c>>>16;t[a+95|0]=c>>>24;c=w[22478]|w[22479]<<8|(w[22480]<<16|w[22481]<<24);b=w[22474]|w[22475]<<8|(w[22476]<<16|w[22477]<<24);t[a+80|0]=b;t[a+81|0]=b>>>8;t[a+82|0]=b>>>16;t[a+83|0]=b>>>24;t[a+84|0]=c;t[a+85|0]=c>>>8;t[a+86|0]=c>>>16;t[a+87|0]=c>>>24;c=w[22470]|w[22471]<<8|(w[22472]<<16|w[22473]<<24);b=w[22466]|w[22467]<<8|(w[22468]<<16|w[22469]<<24);t[a+72|0]=b;t[a+73|0]=b>>>8;t[a+74|0]=b>>>16;t[a+75|0]=b>>>24;t[a+76|0]=c;t[a+77|0]=c>>>8;t[a+78|0]=c>>>16;t[a+79|0]=c>>>24}return 0}tk(a,ga,1);Qa[v[v[h>>2]+4>>2]](h);return 1}tk(a,h,1);Qa[v[v[ga>>2]+4>>2]](h);return 1}function X5(){var a=0,b=0,c=0,d=0,e=0,f=0;a=Ma-16|0;Ma=a;a:{if(va(a+12|0,a+8|0)|0){break a}c=gb((v[a+12>>2]<<2)+4|0);v[296801]=c;if(!c){break a}c=gb(v[a+8>>2]);if(c){v[v[296801]+(v[a+12>>2]<<2)>>2]=0;if(!(ua(v[296801],c|0)|0)){break a}}v[296801]=0}Ma=a+16|0;a=ab(32);v[290208]=a;v[290209]=5;v[290210]=-2147483640;rb(a,215332,5);v[a+20>>2]=0;a=ab(48);v[290211]=a;v[290212]=10;v[290213]=-2147483636;rb(a,215356,10);v[a+40>>2]=0;a=ab(48);v[290214]=a;v[290215]=8;v[290216]=-2147483636;rb(a,215400,8);v[a+32>>2]=0;a=ab(48);v[290217]=a;v[290218]=10;v[290219]=-2147483636;rb(a,215436,10);v[a+40>>2]=0;a=ab(48);v[290220]=a;v[290221]=8;v[290222]=-2147483636;rb(a,215480,8);v[a+32>>2]=0;a=ab(48);v[290223]=a;v[290224]=9;v[290225]=-2147483636;rb(a,215516,9);v[a+36>>2]=0;a=ab(48);v[290226]=a;v[290227]=9;v[290228]=-2147483636;rb(a,215556,9);v[a+36>>2]=0;a=ab(32);v[290229]=a;v[290230]=5;v[290231]=-2147483640;rb(a,215596,5);v[a+20>>2]=0;a=ab(48);v[290232]=a;v[290233]=8;v[290234]=-2147483636;rb(a,215620,8);v[a+32>>2]=0;a=ab(32);v[290235]=a;v[290236]=6;v[290237]=-2147483640;rb(a,215656,6);v[a+24>>2]=0;a=ab(48);v[290238]=a;v[290239]=8;v[290240]=-2147483636;rb(a,215684,8);v[a+32>>2]=0;a=ab(32);v[290241]=a;v[290242]=6;v[290243]=-2147483640;rb(a,215720,6);v[a+24>>2]=0;a=ab(32);v[290244]=a;v[290245]=6;v[290246]=-2147483640;rb(a,215748,6);v[a+24>>2]=0;a=ab(32);v[290247]=a;v[290248]=7;v[290249]=-2147483640;rb(a,215776,7);v[a+28>>2]=0;a=ab(32);v[290250]=a;v[290251]=7;v[290252]=-2147483640;rb(a,215808,7);v[a+28>>2]=0;a=ab(32);v[290253]=a;v[290254]=4;v[290255]=-2147483640;rb(a,215840,4);v[a+16>>2]=0;a=ab(48);v[290256]=a;v[290257]=9;v[290258]=-2147483636;rb(a,215860,9);v[a+36>>2]=0;a=ab(32);v[290259]=a;v[290260]=7;v[290261]=-2147483640;rb(a,215900,7);v[a+28>>2]=0;a=ab(48);v[290262]=a;v[290263]=10;v[290264]=-2147483636;rb(a,215932,10);v[a+40>>2]=0;a=ab(32);v[290265]=a;v[290266]=6;v[290267]=-2147483640;rb(a,215976,6);v[a+24>>2]=0;a=ab(48);v[290268]=a;v[290269]=8;v[290270]=-2147483636;rb(a,216004,8);v[a+32>>2]=0;a=ab(32);v[290271]=a;v[290272]=6;v[290273]=-2147483640;rb(a,216040,6);v[a+24>>2]=0;a=ab(48);v[290274]=a;v[290275]=8;v[290276]=-2147483636;rb(a,216068,8);v[a+32>>2]=0;a=ab(32);v[290277]=a;v[290278]=6;v[290279]=-2147483640;rb(a,216104,6);v[a+24>>2]=0;a=ab(32);v[290280]=a;v[290281]=7;v[290282]=-2147483640;rb(a,216132,7);v[a+28>>2]=0;a=ab(32);v[290283]=a;v[290284]=7;v[290285]=-2147483640;rb(a,216164,7);v[a+28>>2]=0;a=ab(48);v[290286]=a;v[290287]=8;v[290288]=-2147483636;rb(a,216196,8);v[a+32>>2]=0;a=ab(32);v[290289]=a;v[290290]=5;v[290291]=-2147483640;rb(a,216232,5);v[a+20>>2]=0;a=ab(32);v[290292]=a;v[290293]=5;v[290294]=-2147483640;rb(a,216256,5);v[a+20>>2]=0;a=ab(32);v[290295]=a;v[290296]=5;v[290297]=-2147483640;rb(a,216280,5);v[a+20>>2]=0;a=ab(32);v[290298]=a;v[290299]=5;v[290300]=-2147483640;rb(a,216304,5);v[a+20>>2]=0;a=ab(32);v[290301]=a;v[290302]=5;v[290303]=-2147483640;rb(a,216328,5);v[a+20>>2]=0;a=ab(32);v[290304]=a;v[290305]=4;v[290306]=-2147483640;rb(a,216352,4);v[a+16>>2]=0;a=ab(32);v[290307]=a;v[290308]=5;v[290309]=-2147483640;rb(a,216372,5);v[a+20>>2]=0;a=ab(32);v[290310]=a;v[290311]=5;v[290312]=-2147483640;rb(a,216396,5);v[a+20>>2]=0;a=ab(32);v[290313]=a;v[290314]=5;v[290315]=-2147483640;rb(a,216420,5);v[a+20>>2]=0;a=ab(32);v[290316]=a;v[290317]=5;v[290318]=-2147483640;rb(a,216444,5);v[a+20>>2]=0;a=ab(32);v[290319]=a;v[290320]=5;v[290321]=-2147483640;rb(a,216468,5);v[a+20>>2]=0;a=ab(32);v[290322]=a;v[290323]=5;v[290324]=-2147483640;rb(a,216492,5);v[a+20>>2]=0;a=ab(32);v[290325]=a;v[290326]=5;v[290327]=-2147483640;rb(a,216516,5);v[a+20>>2]=0;a=ab(32);v[290328]=a;v[290329]=7;v[290330]=-2147483640;rb(a,216540,7);v[a+28>>2]=0;a=ab(32);v[290331]=a;v[290332]=7;v[290333]=-2147483640;rb(a,216572,7);v[a+28>>2]=0;a=ab(48);v[290334]=a;v[290335]=10;v[290336]=-2147483636;rb(a,216604,10);v[a+40>>2]=0;a=ab(32);v[290337]=a;v[290338]=6;v[290339]=-2147483640;rb(a,216648,6);v[a+24>>2]=0;a=ab(48);v[290340]=a;v[290341]=9;v[290342]=-2147483636;rb(a,216676,9);v[a+36>>2]=0;a=ab(32);v[290343]=a;v[290344]=6;v[290345]=-2147483640;rb(a,216716,6);v[a+24>>2]=0;a=ab(32);v[290346]=a;v[290347]=7;v[290348]=-2147483640;rb(a,216744,7);v[a+28>>2]=0;a=ab(32);v[290349]=a;v[290350]=6;v[290351]=-2147483640;rb(a,216776,6);v[a+24>>2]=0;a=ab(32);v[290352]=a;v[290353]=4;v[290354]=-2147483640;rb(a,216804,4);v[a+16>>2]=0;a=ab(32);v[290355]=a;v[290356]=4;v[290357]=-2147483640;rb(a,216824,4);v[a+16>>2]=0;a=ab(48);v[290358]=a;v[290359]=8;v[290360]=-2147483636;rb(a,216844,8);v[a+32>>2]=0;a=ab(48);v[290361]=a;v[290362]=8;v[290363]=-2147483636;rb(a,216880,8);v[a+32>>2]=0;a=ab(32);v[290364]=a;v[290365]=5;v[290366]=-2147483640;rb(a,216916,5);v[a+20>>2]=0;a=ab(32);v[290367]=a;v[290368]=6;v[290369]=-2147483640;rb(a,216940,6);v[a+24>>2]=0;a=ab(32);v[290372]=a;v[290373]=5;v[290374]=-2147483640;rb(a,349016,5);v[a+20>>2]=0;a=ab(48);v[290375]=a;v[290376]=10;v[290377]=-2147483636;rb(a,349040,10);v[a+40>>2]=0;a=ab(48);v[290378]=a;v[290379]=8;v[290380]=-2147483636;rb(a,349084,8);v[a+32>>2]=0;a=ab(48);v[290381]=a;v[290382]=10;v[290383]=-2147483636;rb(a,349120,10);v[a+40>>2]=0;a=ab(48);v[290384]=a;v[290385]=8;v[290386]=-2147483636;rb(a,349164,8);v[a+32>>2]=0;a=ab(48);v[290387]=a;v[290388]=9;v[290389]=-2147483636;rb(a,349200,9);v[a+36>>2]=0;a=ab(48);v[290390]=a;v[290391]=9;v[290392]=-2147483636;rb(a,349240,9);v[a+36>>2]=0;a=ab(32);v[290393]=a;v[290394]=5;v[290395]=-2147483640;rb(a,349280,5);v[a+20>>2]=0;a=ab(48);v[290396]=a;v[290397]=8;v[290398]=-2147483636;rb(a,349304,8);v[a+32>>2]=0;a=ab(32);v[290399]=a;v[290400]=6;v[290401]=-2147483640;rb(a,349340,6);v[a+24>>2]=0;a=ab(48);v[290402]=a;v[290403]=8;v[290404]=-2147483636;rb(a,349368,8);v[a+32>>2]=0;a=ab(32);v[290405]=a;v[290406]=6;v[290407]=-2147483640;rb(a,349404,6);v[a+24>>2]=0;a=ab(32);v[290408]=a;v[290409]=6;v[290410]=-2147483640;rb(a,349432,6);v[a+24>>2]=0;a=ab(32);v[290411]=a;v[290412]=7;v[290413]=-2147483640;rb(a,349460,7);v[a+28>>2]=0;a=ab(32);v[290414]=a;v[290415]=7;v[290416]=-2147483640;rb(a,349492,7);v[a+28>>2]=0;a=ab(32);v[290417]=a;v[290418]=4;v[290419]=-2147483640;rb(a,349524,4);v[a+16>>2]=0;a=ab(48);v[290420]=a;v[290421]=9;v[290422]=-2147483636;rb(a,349544,9);v[a+36>>2]=0;a=ab(32);v[290423]=a;v[290424]=7;v[290425]=-2147483640;rb(a,349584,7);v[a+28>>2]=0;a=ab(48);v[290426]=a;v[290427]=10;v[290428]=-2147483636;rb(a,349616,10);v[a+40>>2]=0;a=ab(32);v[290429]=a;v[290430]=6;v[290431]=-2147483640;rb(a,349660,6);v[a+24>>2]=0;a=ab(48);v[290432]=a;v[290433]=8;v[290434]=-2147483636;rb(a,349688,8);v[a+32>>2]=0;a=ab(32);v[290435]=a;v[290436]=6;v[290437]=-2147483640;rb(a,349724,6);v[a+24>>2]=0;a=ab(48);v[290438]=a;v[290439]=8;v[290440]=-2147483636;rb(a,349752,8);v[a+32>>2]=0;a=ab(32);v[290441]=a;v[290442]=6;v[290443]=-2147483640;rb(a,349788,6);v[a+24>>2]=0;a=ab(32);v[290444]=a;v[290445]=7;v[290446]=-2147483640;rb(a,349816,7);v[a+28>>2]=0;a=ab(32);v[290447]=a;v[290448]=7;v[290449]=-2147483640;rb(a,349848,7);v[a+28>>2]=0;a=ab(48);v[290450]=a;v[290451]=8;v[290452]=-2147483636;rb(a,349880,8);v[a+32>>2]=0;a=ab(32);v[290453]=a;v[290454]=5;v[290455]=-2147483640;rb(a,349916,5);v[a+20>>2]=0;a=ab(32);v[290456]=a;v[290457]=5;v[290458]=-2147483640;rb(a,349940,5);v[a+20>>2]=0;a=ab(32);v[290459]=a;v[290460]=5;v[290461]=-2147483640;rb(a,349964,5);v[a+20>>2]=0;a=ab(32);v[290462]=a;v[290463]=5;v[290464]=-2147483640;rb(a,349988,5);v[a+20>>2]=0;a=ab(32);v[290465]=a;v[290466]=5;v[290467]=-2147483640;rb(a,350012,5);v[a+20>>2]=0;a=ab(32);v[290468]=a;v[290469]=4;v[290470]=-2147483640;rb(a,350036,4);v[a+16>>2]=0;a=ab(32);v[290471]=a;v[290472]=5;v[290473]=-2147483640;rb(a,350056,5);v[a+20>>2]=0;a=ab(32);v[290474]=a;v[290475]=5;v[290476]=-2147483640;rb(a,350080,5);v[a+20>>2]=0;a=ab(32);v[290477]=a;v[290478]=5;v[290479]=-2147483640;rb(a,350104,5);v[a+20>>2]=0;a=ab(32);v[290480]=a;v[290481]=5;v[290482]=-2147483640;rb(a,350128,5);v[a+20>>2]=0;a=ab(32);v[290483]=a;v[290484]=5;v[290485]=-2147483640;rb(a,350152,5);v[a+20>>2]=0;a=ab(32);v[290486]=a;v[290487]=5;v[290488]=-2147483640;rb(a,350176,5);v[a+20>>2]=0;a=ab(32);v[290489]=a;v[290490]=5;v[290491]=-2147483640;rb(a,350200,5);v[a+20>>2]=0;a=ab(32);v[290492]=a;v[290493]=7;v[290494]=-2147483640;rb(a,350224,7);v[a+28>>2]=0;a=ab(32);v[290495]=a;v[290496]=7;v[290497]=-2147483640;rb(a,350256,7);v[a+28>>2]=0;a=ab(48);v[290498]=a;v[290499]=10;v[290500]=-2147483636;rb(a,350288,10);v[a+40>>2]=0;a=ab(32);v[290501]=a;v[290502]=6;v[290503]=-2147483640;rb(a,350332,6);v[a+24>>2]=0;a=ab(48);v[290504]=a;v[290505]=9;v[290506]=-2147483636;rb(a,350360,9);v[a+36>>2]=0;a=ab(32);v[290507]=a;v[290508]=6;v[290509]=-2147483640;rb(a,350400,6);v[a+24>>2]=0;a=ab(32);v[290510]=a;v[290511]=7;v[290512]=-2147483640;rb(a,350428,7);v[a+28>>2]=0;a=ab(32);v[290513]=a;v[290514]=6;v[290515]=-2147483640;rb(a,350460,6);v[a+24>>2]=0;a=ab(32);v[290516]=a;v[290517]=4;v[290518]=-2147483640;rb(a,350488,4);v[a+16>>2]=0;a=ab(32);v[290519]=a;v[290520]=4;v[290521]=-2147483640;rb(a,350508,4);v[a+16>>2]=0;a=ab(48);v[290522]=a;v[290523]=8;v[290524]=-2147483636;rb(a,350528,8);v[a+32>>2]=0;a=ab(48);v[290525]=a;v[290526]=8;v[290527]=-2147483636;rb(a,350564,8);v[a+32>>2]=0;a=ab(32);v[290528]=a;v[290529]=5;v[290530]=-2147483640;rb(a,350600,5);v[a+20>>2]=0;a=ab(32);v[290531]=a;v[290532]=6;v[290533]=-2147483640;rb(a,350624,6);v[a+24>>2]=0;a=ab(32);v[290536]=a;v[290537]=5;v[290538]=-2147483640;rb(a,351704,5);v[a+20>>2]=0;a=ab(48);v[290539]=a;v[290540]=10;v[290541]=-2147483636;rb(a,351728,10);v[a+40>>2]=0;a=ab(48);v[290542]=a;v[290543]=8;v[290544]=-2147483636;rb(a,351772,8);v[a+32>>2]=0;a=ab(48);v[290545]=a;v[290546]=10;v[290547]=-2147483636;rb(a,351808,10);v[a+40>>2]=0;a=ab(48);v[290548]=a;v[290549]=8;v[290550]=-2147483636;rb(a,351852,8);v[a+32>>2]=0;a=ab(48);v[290551]=a;v[290552]=9;v[290553]=-2147483636;rb(a,351888,9);v[a+36>>2]=0;a=ab(48);v[290554]=a;v[290555]=9;v[290556]=-2147483636;rb(a,351928,9);v[a+36>>2]=0;a=ab(32);v[290557]=a;v[290558]=5;v[290559]=-2147483640;rb(a,351968,5);v[a+20>>2]=0;a=ab(48);v[290560]=a;v[290561]=8;v[290562]=-2147483636;rb(a,351992,8);v[a+32>>2]=0;a=ab(32);v[290563]=a;v[290564]=6;v[290565]=-2147483640;rb(a,352028,6);v[a+24>>2]=0;a=ab(48);v[290566]=a;v[290567]=8;v[290568]=-2147483636;rb(a,352056,8);v[a+32>>2]=0;a=ab(32);v[290569]=a;v[290570]=6;v[290571]=-2147483640;rb(a,352092,6);v[a+24>>2]=0;a=ab(32);v[290572]=a;v[290573]=6;v[290574]=-2147483640;rb(a,352120,6);v[a+24>>2]=0;a=ab(32);v[290575]=a;v[290576]=7;v[290577]=-2147483640;rb(a,352148,7);v[a+28>>2]=0;a=ab(32);v[290578]=a;v[290579]=7;v[290580]=-2147483640;rb(a,352180,7);v[a+28>>2]=0;a=ab(32);v[290581]=a;v[290582]=4;v[290583]=-2147483640;rb(a,352212,4);v[a+16>>2]=0;a=ab(48);v[290584]=a;v[290585]=9;v[290586]=-2147483636;rb(a,352232,9);v[a+36>>2]=0;a=ab(32);v[290587]=a;v[290588]=7;v[290589]=-2147483640;rb(a,352272,7);v[a+28>>2]=0;a=ab(48);v[290590]=a;v[290591]=10;v[290592]=-2147483636;rb(a,352304,10);v[a+40>>2]=0;a=ab(32);v[290593]=a;v[290594]=6;v[290595]=-2147483640;rb(a,352348,6);v[a+24>>2]=0;a=ab(48);v[290596]=a;v[290597]=8;v[290598]=-2147483636;rb(a,352376,8);v[a+32>>2]=0;a=ab(32);v[290599]=a;v[290600]=6;v[290601]=-2147483640;rb(a,352412,6);v[a+24>>2]=0;a=ab(48);v[290602]=a;v[290603]=8;v[290604]=-2147483636;rb(a,352440,8);v[a+32>>2]=0;a=ab(32);v[290605]=a;v[290606]=6;v[290607]=-2147483640;rb(a,352476,6);v[a+24>>2]=0;a=ab(32);v[290608]=a;v[290609]=7;v[290610]=-2147483640;rb(a,352504,7);v[a+28>>2]=0;a=ab(32);v[290611]=a;v[290612]=7;v[290613]=-2147483640;rb(a,352536,7);v[a+28>>2]=0;a=ab(48);v[290614]=a;v[290615]=8;v[290616]=-2147483636;rb(a,352568,8);v[a+32>>2]=0;a=ab(32);v[290617]=a;v[290618]=5;v[290619]=-2147483640;rb(a,352604,5);v[a+20>>2]=0;a=ab(32);v[290620]=a;v[290621]=5;v[290622]=-2147483640;rb(a,352628,5);v[a+20>>2]=0;a=ab(32);v[290623]=a;v[290624]=5;v[290625]=-2147483640;rb(a,352652,5);v[a+20>>2]=0;a=ab(32);v[290626]=a;v[290627]=5;v[290628]=-2147483640;rb(a,352676,5);v[a+20>>2]=0;a=ab(32);v[290629]=a;v[290630]=5;v[290631]=-2147483640;rb(a,352700,5);v[a+20>>2]=0;a=ab(32);v[290632]=a;v[290633]=4;v[290634]=-2147483640;rb(a,352724,4);v[a+16>>2]=0;a=ab(32);v[290635]=a;v[290636]=5;v[290637]=-2147483640;rb(a,352744,5);v[a+20>>2]=0;a=ab(32);v[290638]=a;v[290639]=5;v[290640]=-2147483640;rb(a,352768,5);v[a+20>>2]=0;a=ab(32);v[290641]=a;v[290642]=5;v[290643]=-2147483640;rb(a,352792,5);v[a+20>>2]=0;a=ab(32);v[290644]=a;v[290645]=5;v[290646]=-2147483640;rb(a,352816,5);v[a+20>>2]=0;a=ab(32);v[290647]=a;v[290648]=5;v[290649]=-2147483640;rb(a,352840,5);v[a+20>>2]=0;a=ab(32);v[290650]=a;v[290651]=5;v[290652]=-2147483640;rb(a,352864,5);v[a+20>>2]=0;a=ab(32);v[290653]=a;v[290654]=5;v[290655]=-2147483640;rb(a,352888,5);v[a+20>>2]=0;a=ab(32);v[290656]=a;v[290657]=7;v[290658]=-2147483640;rb(a,352912,7);v[a+28>>2]=0;a=ab(32);v[290659]=a;v[290660]=7;v[290661]=-2147483640;rb(a,352944,7);v[a+28>>2]=0;a=ab(48);v[290662]=a;v[290663]=10;v[290664]=-2147483636;rb(a,352976,10);v[a+40>>2]=0;a=ab(32);v[290665]=a;v[290666]=6;v[290667]=-2147483640;rb(a,353020,6);v[a+24>>2]=0;a=ab(48);v[290668]=a;v[290669]=9;v[290670]=-2147483636;rb(a,353048,9);v[a+36>>2]=0;a=ab(32);v[290671]=a;v[290672]=6;v[290673]=-2147483640;rb(a,353088,6);v[a+24>>2]=0;a=ab(32);v[290674]=a;v[290675]=7;v[290676]=-2147483640;rb(a,353116,7);v[a+28>>2]=0;a=ab(32);v[290677]=a;v[290678]=6;v[290679]=-2147483640;rb(a,353148,6);v[a+24>>2]=0;a=ab(32);v[290680]=a;v[290681]=4;v[290682]=-2147483640;rb(a,353176,4);v[a+16>>2]=0;a=ab(32);v[290683]=a;v[290684]=4;v[290685]=-2147483640;rb(a,353196,4);v[a+16>>2]=0;a=ab(48);v[290686]=a;v[290687]=8;v[290688]=-2147483636;rb(a,353216,8);v[a+32>>2]=0;a=ab(48);v[290689]=a;v[290690]=8;v[290691]=-2147483636;rb(a,353252,8);v[a+32>>2]=0;a=ab(32);v[290692]=a;v[290693]=5;v[290694]=-2147483640;rb(a,353288,5);v[a+20>>2]=0;a=ab(32);v[290695]=a;v[290696]=6;v[290697]=-2147483640;rb(a,353312,6);v[a+24>>2]=0;a=ab(32);v[290700]=a;v[290701]=5;v[290702]=-2147483640;rb(a,354488,5);v[a+20>>2]=0;a=ab(48);v[290703]=a;v[290704]=10;v[290705]=-2147483636;rb(a,354512,10);v[a+40>>2]=0;a=ab(48);v[290706]=a;v[290707]=8;v[290708]=-2147483636;rb(a,354556,8);v[a+32>>2]=0;a=ab(48);v[290709]=a;v[290710]=10;v[290711]=-2147483636;rb(a,354592,10);v[a+40>>2]=0;a=ab(48);v[290712]=a;v[290713]=8;v[290714]=-2147483636;rb(a,354636,8);v[a+32>>2]=0;a=ab(48);v[290715]=a;v[290716]=9;v[290717]=-2147483636;rb(a,354672,9);v[a+36>>2]=0;a=ab(48);v[290718]=a;v[290719]=9;v[290720]=-2147483636;rb(a,354712,9);v[a+36>>2]=0;a=ab(32);v[290721]=a;v[290722]=5;v[290723]=-2147483640;rb(a,354752,5);v[a+20>>2]=0;a=ab(48);v[290724]=a;v[290725]=8;v[290726]=-2147483636;rb(a,354776,8);v[a+32>>2]=0;a=ab(32);v[290727]=a;v[290728]=6;v[290729]=-2147483640;rb(a,354812,6);v[a+24>>2]=0;a=ab(48);v[290730]=a;v[290731]=8;v[290732]=-2147483636;rb(a,354840,8);v[a+32>>2]=0;a=ab(32);v[290733]=a;v[290734]=6;v[290735]=-2147483640;rb(a,354876,6);v[a+24>>2]=0;a=ab(32);v[290736]=a;v[290737]=6;v[290738]=-2147483640;rb(a,354904,6);v[a+24>>2]=0;a=ab(32);v[290739]=a;v[290740]=7;v[290741]=-2147483640;rb(a,354932,7);v[a+28>>2]=0;a=ab(32);v[290742]=a;v[290743]=7;v[290744]=-2147483640;rb(a,354964,7);v[a+28>>2]=0;a=ab(32);v[290745]=a;v[290746]=4;v[290747]=-2147483640;rb(a,354996,4);v[a+16>>2]=0;a=ab(48);v[290748]=a;v[290749]=9;v[290750]=-2147483636;rb(a,355016,9);v[a+36>>2]=0;a=ab(32);v[290751]=a;v[290752]=7;v[290753]=-2147483640;rb(a,355056,7);v[a+28>>2]=0;a=ab(48);v[290754]=a;v[290755]=10;v[290756]=-2147483636;rb(a,355088,10);v[a+40>>2]=0;a=ab(32);v[290757]=a;v[290758]=6;v[290759]=-2147483640;rb(a,355132,6);v[a+24>>2]=0;a=ab(48);v[290760]=a;v[290761]=8;v[290762]=-2147483636;rb(a,355160,8);v[a+32>>2]=0;a=ab(32);v[290763]=a;v[290764]=6;v[290765]=-2147483640;rb(a,355196,6);v[a+24>>2]=0;a=ab(48);v[290766]=a;v[290767]=8;v[290768]=-2147483636;rb(a,355224,8);v[a+32>>2]=0;a=ab(32);v[290769]=a;v[290770]=6;v[290771]=-2147483640;rb(a,355260,6);v[a+24>>2]=0;a=ab(32);v[290772]=a;v[290773]=7;v[290774]=-2147483640;rb(a,355288,7);v[a+28>>2]=0;a=ab(32);v[290775]=a;v[290776]=7;v[290777]=-2147483640;rb(a,355320,7);v[a+28>>2]=0;a=ab(48);v[290778]=a;v[290779]=8;v[290780]=-2147483636;rb(a,355352,8);v[a+32>>2]=0;a=ab(32);v[290781]=a;v[290782]=5;v[290783]=-2147483640;rb(a,355388,5);v[a+20>>2]=0;a=ab(32);v[290784]=a;v[290785]=5;v[290786]=-2147483640;rb(a,355412,5);v[a+20>>2]=0;a=ab(32);v[290787]=a;v[290788]=5;v[290789]=-2147483640;rb(a,355436,5);v[a+20>>2]=0;a=ab(32);v[290790]=a;v[290791]=5;v[290792]=-2147483640;rb(a,355460,5);v[a+20>>2]=0;a=ab(32);v[290793]=a;v[290794]=5;v[290795]=-2147483640;rb(a,355484,5);v[a+20>>2]=0;a=ab(32);v[290796]=a;v[290797]=4;v[290798]=-2147483640;rb(a,355508,4);v[a+16>>2]=0;a=ab(32);v[290799]=a;v[290800]=5;v[290801]=-2147483640;rb(a,355528,5);v[a+20>>2]=0;a=ab(32);v[290802]=a;v[290803]=5;v[290804]=-2147483640;rb(a,355552,5);v[a+20>>2]=0;a=ab(32);v[290805]=a;v[290806]=5;v[290807]=-2147483640;rb(a,355576,5);v[a+20>>2]=0;a=ab(32);v[290808]=a;v[290809]=5;v[290810]=-2147483640;rb(a,355600,5);v[a+20>>2]=0;a=ab(32);v[290811]=a;v[290812]=5;v[290813]=-2147483640;rb(a,355624,5);v[a+20>>2]=0;a=ab(32);v[290814]=a;v[290815]=5;v[290816]=-2147483640;rb(a,355648,5);v[a+20>>2]=0;a=ab(32);v[290817]=a;v[290818]=5;v[290819]=-2147483640;rb(a,355672,5);v[a+20>>2]=0;a=ab(32);v[290820]=a;v[290821]=7;v[290822]=-2147483640;rb(a,355696,7);v[a+28>>2]=0;a=ab(32);v[290823]=a;v[290824]=7;v[290825]=-2147483640;rb(a,355728,7);v[a+28>>2]=0;a=ab(48);v[290826]=a;v[290827]=10;v[290828]=-2147483636;rb(a,355760,10);v[a+40>>2]=0;a=ab(32);v[290829]=a;v[290830]=6;v[290831]=-2147483640;rb(a,355804,6);v[a+24>>2]=0;a=ab(48);v[290832]=a;v[290833]=9;v[290834]=-2147483636;rb(a,355832,9);v[a+36>>2]=0;a=ab(32);v[290835]=a;v[290836]=6;v[290837]=-2147483640;rb(a,355872,6);v[a+24>>2]=0;a=ab(32);v[290838]=a;v[290839]=7;v[290840]=-2147483640;rb(a,355900,7);v[a+28>>2]=0;a=ab(32);v[290841]=a;v[290842]=6;v[290843]=-2147483640;rb(a,355932,6);v[a+24>>2]=0;a=ab(32);v[290844]=a;v[290845]=4;v[290846]=-2147483640;rb(a,355960,4);v[a+16>>2]=0;a=ab(32);v[290847]=a;v[290848]=4;v[290849]=-2147483640;rb(a,355980,4);v[a+16>>2]=0;a=ab(48);v[290850]=a;v[290851]=8;v[290852]=-2147483636;rb(a,356e3,8);v[a+32>>2]=0;a=ab(48);v[290853]=a;v[290854]=8;v[290855]=-2147483636;rb(a,356036,8);v[a+32>>2]=0;a=ab(32);v[290856]=a;v[290857]=5;v[290858]=-2147483640;rb(a,356072,5);v[a+20>>2]=0;a=ab(32);v[290859]=a;v[290860]=6;v[290861]=-2147483640;rb(a,356096,6);v[a+24>>2]=0;v[290863]=0;v[290864]=0;d=1163452;v[290862]=1163452;a=ab(32);v[a+8>>2]=1163452;v[a>>2]=0;v[a+4>>2]=0;b=28596;v[a+16>>2]=28596;v[290862]=a;v[290863]=a;t[a+12|0]=1;v[290864]=1;t[a+31|0]=10;c=w[315653]|w[315654]<<8|(w[315655]<<16|w[315656]<<24);e=w[315649]|w[315650]<<8|(w[315651]<<16|w[315652]<<24);t[a+20|0]=e;t[a+21|0]=e>>>8;t[a+22|0]=e>>>16;t[a+23|0]=e>>>24;t[a+24|0]=c;t[a+25|0]=c>>>8;t[a+26|0]=c>>>16;t[a+27|0]=c>>>24;c=w[315657]|w[315658]<<8;t[a+28|0]=c;t[a+29|0]=c>>>8;t[a+30|0]=0;while(1){b:{c:{if((b|0)>=721){d=a;c=v[a>>2];if(c){break c}break b}if((b|0)==720){break b}d=a+4|0;c=v[a+4>>2];if(!c){break b}}b=v[c+16>>2];a=c;continue}break}c=v[d>>2];if(!c){c=ab(32);v[c+16>>2]=720;v[c+8>>2]=a;v[c>>2]=0;v[c+4>>2]=0;v[c+20>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[d>>2]=c;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[d>>2]}else{a=c}Ob(v[290863],a);v[290864]=v[290864]+1}d:{if(t[c+31|0]<=-1){v[c+24>>2]=7;a=v[c+20>>2];break d}a=c+20|0;t[a+11|0]=7}c=w[325630]|w[325631]<<8|(w[325632]<<16|w[325633]<<24);t[a+3|0]=c;t[a+4|0]=c>>>8;t[a+5|0]=c>>>16;t[a+6|0]=c>>>24;c=w[325627]|w[325628]<<8|(w[325629]<<16|w[325630]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+7|0]=0;c=1163452;e:{a=v[290863];if(!a){a=1163452;break e}while(1){b=v[a+16>>2];f:{if((b|0)>=1257){b=v[a>>2];if(b){break f}c=a;break e}if((b|0)==1256){break e}c=a+4|0;b=v[a+4>>2];if(!b){break e}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=1256;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}Te(b+20|0,315365,12);c=1163452;g:{a=v[290863];if(!a){a=1163452;break g}while(1){b=v[a+16>>2];h:{if((b|0)>=28595){b=v[a>>2];if(b){break h}c=a;break g}if((b|0)==28594){break g}c=a+4|0;b=v[a+4>>2];if(!b){break g}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=28594;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}i:{if(t[b+31|0]<=-1){v[b+24>>2]=10;a=v[b+20>>2];break i}a=b+20|0;t[a+11|0]=10}c=w[317022]|w[317023]<<8;t[a+8|0]=c;t[a+9|0]=c>>>8;c=w[317018]|w[317019]<<8|(w[317020]<<16|w[317021]<<24);b=w[317014]|w[317015]<<8|(w[317016]<<16|w[317017]<<24);t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+10|0]=0;c=1163452;j:{a=v[290863];if(!a){a=1163452;break j}while(1){b=v[a+16>>2];k:{if((b|0)>=28604){b=v[a>>2];if(b){break k}c=a;break j}if((b|0)==28603){break j}c=a+4|0;b=v[a+4>>2];if(!b){break j}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=28603;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}Te(b+20|0,319053,11);c=1163452;l:{a=v[290863];if(!a){a=1163452;break l}while(1){b=v[a+16>>2];m:{if((b|0)>=776){b=v[a>>2];if(b){break m}c=a;break l}if((b|0)==775){break l}c=a+4|0;b=v[a+4>>2];if(!b){break l}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=775;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}n:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break n}a=b+20|0;t[a+11|0]=6}c=w[315941]|w[315942]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[315937]|w[315938]<<8|(w[315939]<<16|w[315940]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1163452;o:{a=v[290863];if(!a){a=1163452;break o}while(1){b=v[a+16>>2];p:{if((b|0)>=1258){b=v[a>>2];if(b){break p}c=a;break o}if((b|0)==1257){break o}c=a+4|0;b=v[a+4>>2];if(!b){break o}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=1257;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}Te(b+20|0,314846,12);c=1163452;q:{a=v[290863];if(!a){a=1163452;break q}while(1){b=v[a+16>>2];r:{if((b|0)>=28605){b=v[a>>2];if(b){break r}c=a;break q}if((b|0)==28604){break q}c=a+4|0;b=v[a+4>>2];if(!b){break q}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=28604;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}Te(b+20|0,316944,11);c=1163452;s:{a=v[290863];if(!a){a=1163452;break s}while(1){b=v[a+16>>2];t:{if((b|0)>=28596){b=v[a>>2];if(b){break t}c=a;break s}if((b|0)==28595){break s}c=a+4|0;b=v[a+4>>2];if(!b){break s}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=28595;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}u:{if(t[b+31|0]<=-1){v[b+24>>2]=10;a=v[b+20>>2];break u}a=b+20|0;t[a+11|0]=10}c=w[316280]|w[316281]<<8;t[a+8|0]=c;t[a+9|0]=c>>>8;c=w[316276]|w[316277]<<8|(w[316278]<<16|w[316279]<<24);b=w[316272]|w[316273]<<8|(w[316274]<<16|w[316275]<<24);t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+10|0]=0;c=1163452;v:{a=v[290863];if(!a){a=1163452;break v}while(1){b=v[a+16>>2];w:{if((b|0)>=20867){b=v[a>>2];if(b){break w}c=a;break v}if((b|0)==20866){break v}c=a+4|0;b=v[a+4>>2];if(!b){break v}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=20866;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}x:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break x}a=b+20|0;t[a+11|0]=6}c=w[310472]|w[310473]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[310468]|w[310469]<<8|(w[310470]<<16|w[310471]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1163452;y:{a=v[290863];if(!a){a=1163452;break y}while(1){b=v[a+16>>2];z:{if((b|0)>=21867){b=v[a>>2];if(b){break z}c=a;break y}if((b|0)==21866){break y}c=a+4|0;b=v[a+4>>2];if(!b){break y}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=21866;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}A:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break A}a=b+20|0;t[a+11|0]=6}c=w[309227]|w[309228]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[309223]|w[309224]<<8|(w[309225]<<16|w[309226]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1163452;B:{a=v[290863];if(!a){a=1163452;break B}while(1){b=v[a+16>>2];C:{if((b|0)>=10008){b=v[a>>2];if(b){break C}c=a;break B}if((b|0)==10007){break B}c=a+4|0;b=v[a+4>>2];if(!b){break B}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=10007;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}Te(b+20|0,295882,14);c=1163452;D:{a=v[290863];if(!a){a=1163452;break D}while(1){b=v[a+16>>2];E:{if((b|0)>=856){b=v[a>>2];if(b){break E}c=a;break D}if((b|0)==855){break D}c=a+4|0;b=v[a+4>>2];if(!b){break D}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=855;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}F:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break F}a=b+20|0;t[a+11|0]=6}c=w[316046]|w[316047]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[316042]|w[316043]<<8|(w[316044]<<16|w[316045]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1163452;G:{a=v[290863];if(!a){a=1163452;break G}while(1){b=v[a+16>>2];H:{if((b|0)>=867){b=v[a>>2];if(b){break H}c=a;break G}if((b|0)==866){break G}c=a+4|0;b=v[a+4>>2];if(!b){break G}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=866;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}I:{if(t[b+31|0]<=-1){v[b+24>>2]=5;a=v[b+20>>2];break I}a=b+20|0;t[a+11|0]=5}t[a+4|0]=w[315324];c=w[315320]|w[315321]<<8|(w[315322]<<16|w[315323]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+5|0]=0;c=1163452;J:{a=v[290863];if(!a){a=1163452;break J}while(1){b=v[a+16>>2];K:{if((b|0)>=1252){b=v[a>>2];if(b){break K}c=a;break J}if((b|0)==1251){break J}c=a+4|0;b=v[a+4>>2];if(!b){break J}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=1251;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}Te(b+20|0,324709,12);c=1163452;L:{a=v[290863];if(!a){a=1163452;break L}while(1){b=v[a+16>>2];M:{if((b|0)>=853){b=v[a>>2];if(b){break M}c=a;break L}if((b|0)==852){break L}c=a+4|0;b=v[a+4>>2];if(!b){break L}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=852;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}N:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break N}a=b+20|0;t[a+11|0]=6}c=w[320264]|w[320265]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[320260]|w[320261]<<8|(w[320262]<<16|w[320263]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1163452;O:{a=v[290863];if(!a){a=1163452;break O}while(1){b=v[a+16>>2];P:{if((b|0)>=1251){b=v[a>>2];if(b){break P}c=a;break O}if((b|0)==1250){break O}c=a+4|0;b=v[a+4>>2];if(!b){break O}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=1250;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}Te(b+20|0,325483,12);c=1163452;Q:{a=v[290863];if(!a){a=1163452;break Q}while(1){b=v[a+16>>2];R:{if((b|0)>=951){b=v[a>>2];if(b){break R}c=a;break Q}if((b|0)==950){break Q}c=a+4|0;b=v[a+4>>2];if(!b){break Q}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=950;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}S:{if(t[b+31|0]<=-1){v[b+24>>2]=4;a=v[b+20>>2];break S}a=b+20|0;t[a+11|0]=4}t[a+4|0]=0;t[a|0]=66;t[a+1|0]=105;t[a+2|0]=103;t[a+3|0]=53;c=1163452;T:{a=v[290863];if(!a){a=1163452;break T}while(1){b=v[a+16>>2];U:{if((b|0)>=937){b=v[a>>2];if(b){break U}c=a;break T}if((b|0)==936){break T}c=a+4|0;b=v[a+4>>2];if(!b){break T}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=936;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}V:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break V}a=b+20|0;t[a+11|0]=6}c=w[320536]|w[320537]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[320532]|w[320533]<<8|(w[320534]<<16|w[320535]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1163452;W:{a=v[290863];if(!a){a=1163452;break W}while(1){b=v[a+16>>2];X:{if((b|0)>=28593){b=v[a>>2];if(b){break X}c=a;break W}if((b|0)==28592){break W}c=a+4|0;b=v[a+4>>2];if(!b){break W}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=28592;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}Y:{if(t[b+31|0]<=-1){v[b+24>>2]=10;a=v[b+20>>2];break Y}a=b+20|0;t[a+11|0]=10}c=w[320627]|w[320628]<<8;t[a+8|0]=c;t[a+9|0]=c>>>8;c=w[320623]|w[320624]<<8|(w[320625]<<16|w[320626]<<24);b=w[320619]|w[320620]<<8|(w[320621]<<16|w[320622]<<24);t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+10|0]=0;c=1163452;Z:{a=v[290863];if(!a){a=1163452;break Z}while(1){b=v[a+16>>2];_:{if((b|0)>=28598){b=v[a>>2];if(b){break _}c=a;break Z}if((b|0)==28597){break Z}c=a+4|0;b=v[a+4>>2];if(!b){break Z}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=28597;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}$:{if(t[b+31|0]<=-1){v[b+24>>2]=10;a=v[b+20>>2];break $}a=b+20|0;t[a+11|0]=10}c=w[315118]|w[315119]<<8;t[a+8|0]=c;t[a+9|0]=c>>>8;c=w[315114]|w[315115]<<8|(w[315116]<<16|w[315117]<<24);b=w[315110]|w[315111]<<8|(w[315112]<<16|w[315113]<<24);t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+10|0]=0;c=1163452;aa:{a=v[290863];if(!a){a=1163452;break aa}while(1){b=v[a+16>>2];ba:{if((b|0)>=738){b=v[a>>2];if(b){break ba}c=a;break aa}if((b|0)==737){break aa}c=a+4|0;b=v[a+4>>2];if(!b){break aa}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=737;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}ca:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break ca}a=b+20|0;t[a+11|0]=6}c=w[314921]|w[314922]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[314917]|w[314918]<<8|(w[314919]<<16|w[314920]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1163452;da:{a=v[290863];if(!a){a=1163452;break da}while(1){b=v[a+16>>2];ea:{if((b|0)>=870){b=v[a>>2];if(b){break ea}c=a;break da}if((b|0)==869){break da}c=a+4|0;b=v[a+4>>2];if(!b){break da}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=869;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}fa:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break fa}a=b+20|0;t[a+11|0]=6}c=w[313694]|w[313695]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[313690]|w[313691]<<8|(w[313692]<<16|w[313693]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1163452;ga:{a=v[290863];if(!a){a=1163452;break ga}while(1){b=v[a+16>>2];ha:{if((b|0)>=1254){b=v[a>>2];if(b){break ha}c=a;break ga}if((b|0)==1253){break ga}c=a+4|0;b=v[a+4>>2];if(!b){break ga}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=1253;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}Te(b+20|0,318850,12);c=1163452;ia:{a=v[290863];if(!a){a=1163452;break ia}while(1){b=v[a+16>>2];ja:{if((b|0)>=28599){b=v[a>>2];if(b){break ja}c=a;break ia}if((b|0)==28598){break ia}c=a+4|0;b=v[a+4>>2];if(!b){break ia}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=28598;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}ka:{if(t[b+31|0]<=-1){v[b+24>>2]=10;a=v[b+20>>2];break ka}a=b+20|0;t[a+11|0]=10}c=w[314555]|w[314556]<<8;t[a+8|0]=c;t[a+9|0]=c>>>8;c=w[314551]|w[314552]<<8|(w[314553]<<16|w[314554]<<24);b=w[314547]|w[314548]<<8|(w[314549]<<16|w[314550]<<24);t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+10|0]=0;c=1163452;la:{a=v[290863];if(!a){a=1163452;break la}while(1){b=v[a+16>>2];ma:{if((b|0)>=863){b=v[a>>2];if(b){break ma}c=a;break la}if((b|0)==862){break la}c=a+4|0;b=v[a+4>>2];if(!b){break la}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=862;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}na:{if(t[b+31|0]<=-1){v[b+24>>2]=7;a=v[b+20>>2];break na}a=b+20|0;t[a+11|0]=7}c=w[320236]|w[320237]<<8|(w[320238]<<16|w[320239]<<24);t[a+3|0]=c;t[a+4|0]=c>>>8;t[a+5|0]=c>>>16;t[a+6|0]=c>>>24;c=w[320233]|w[320234]<<8|(w[320235]<<16|w[320236]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+7|0]=0;c=1163452;oa:{a=v[290863];if(!a){a=1163452;break oa}while(1){b=v[a+16>>2];pa:{if((b|0)>=1256){b=v[a>>2];if(b){break pa}c=a;break oa}if((b|0)==1255){break oa}c=a+4|0;b=v[a+4>>2];if(!b){break oa}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=1255;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}Te(b+20|0,316059,12);c=1163452;qa:{a=v[290863];if(!a){a=1163452;break qa}while(1){b=v[a+16>>2];ra:{if((b|0)>=933){b=v[a>>2];if(b){break ra}c=a;break qa}if((b|0)==932){break qa}c=a+4|0;b=v[a+4>>2];if(!b){break qa}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=932;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}sa:{if(t[b+31|0]<=-1){v[b+24>>2]=9;a=v[b+20>>2];break sa}a=b+20|0;t[a+11|0]=9}t[a+8|0]=w[310142];c=w[310138]|w[310139]<<8|(w[310140]<<16|w[310141]<<24);b=w[310134]|w[310135]<<8|(w[310136]<<16|w[310137]<<24);t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+9|0]=0;c=1163452;ta:{a=v[290863];if(!a){a=1163452;break ta}while(1){b=v[a+16>>2];ua:{if((b|0)>=951){b=v[a>>2];if(b){break ua}c=a;break ta}if((b|0)==950){break ta}c=a+4|0;b=v[a+4>>2];if(!b){break ta}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=950;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}va:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break va}a=b+20|0;t[a+11|0]=6}c=w[310565]|w[310566]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[310561]|w[310562]<<8|(w[310563]<<16|w[310564]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1163452;wa:{a=v[290863];if(!a){a=1163452;break wa}while(1){b=v[a+16>>2];xa:{if((b|0)>=950){b=v[a>>2];if(b){break xa}c=a;break wa}if((b|0)==949){break wa}c=a+4|0;b=v[a+4>>2];if(!b){break wa}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=949;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}Te(b+20|0,314717,14);c=1163452;ya:{a=v[290863];if(!a){a=1163452;break ya}while(1){b=v[a+16>>2];za:{if((b|0)>=51950){b=v[a>>2];if(b){break za}c=a;break ya}if((b|0)==51949){break ya}c=a+4|0;b=v[a+4>>2];if(!b){break ya}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=51949;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}Aa:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break Aa}a=b+20|0;t[a+11|0]=6}c=w[310351]|w[310352]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[310347]|w[310348]<<8|(w[310349]<<16|w[310350]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1163452;Ba:{a=v[290863];if(!a){a=1163452;break Ba}while(1){b=v[a+16>>2];Ca:{if((b|0)>=862){b=v[a>>2];if(b){break Ca}c=a;break Ba}if((b|0)==861){break Ba}c=a+4|0;b=v[a+4>>2];if(!b){break Ba}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=861;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}Da:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break Da}a=b+20|0;t[a+11|0]=6}c=w[324662]|w[324663]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[324658]|w[324659]<<8|(w[324660]<<16|w[324661]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1163452;Ea:{a=v[290863];if(!a){a=1163452;break Ea}while(1){b=v[a+16>>2];Fa:{if((b|0)>=866){b=v[a>>2];if(b){break Fa}c=a;break Ea}if((b|0)==865){break Ea}c=a+4|0;b=v[a+4>>2];if(!b){break Ea}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=865;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}Ga:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break Ga}a=b+20|0;t[a+11|0]=6}c=w[315999]|w[316e3]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[315995]|w[315996]<<8|(w[315997]<<16|w[315998]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1163452;Ha:{a=v[290863];if(!a){a=1163452;break Ha}while(1){b=v[a+16>>2];Ia:{if((b|0)>=875){b=v[a>>2];if(b){break Ia}c=a;break Ha}if((b|0)==874){break Ha}c=a+4|0;b=v[a+4>>2];if(!b){break Ha}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=874;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}Te(b+20|0,316514,11);c=1163452;Ja:{a=v[290863];if(!a){a=1163452;break Ja}while(1){b=v[a+16>>2];Ka:{if((b|0)>=28594){b=v[a>>2];if(b){break Ka}c=a;break Ja}if((b|0)==28593){break Ja}c=a+4|0;b=v[a+4>>2];if(!b){break Ja}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=28593;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}La:{if(t[b+31|0]<=-1){v[b+24>>2]=10;a=v[b+20>>2];break La}a=b+20|0;t[a+11|0]=10}c=w[319121]|w[319122]<<8;t[a+8|0]=c;t[a+9|0]=c>>>8;c=w[319117]|w[319118]<<8|(w[319119]<<16|w[319120]<<24);b=w[319113]|w[319114]<<8|(w[319115]<<16|w[319116]<<24);t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+10|0]=0;c=1163452;Ma:{a=v[290863];if(!a){a=1163452;break Ma}while(1){b=v[a+16>>2];Na:{if((b|0)>=28600){b=v[a>>2];if(b){break Na}c=a;break Ma}if((b|0)==28599){break Ma}c=a+4|0;b=v[a+4>>2];if(!b){break Ma}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=28599;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}Oa:{if(t[b+31|0]<=-1){v[b+24>>2]=10;a=v[b+20>>2];break Oa}a=b+20|0;t[a+11|0]=10}c=w[313970]|w[313971]<<8;t[a+8|0]=c;t[a+9|0]=c>>>8;c=w[313966]|w[313967]<<8|(w[313968]<<16|w[313969]<<24);b=w[313962]|w[313963]<<8|(w[313964]<<16|w[313965]<<24);t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+10|0]=0;c=1163452;Pa:{a=v[290863];if(!a){a=1163452;break Pa}while(1){b=v[a+16>>2];Qa:{if((b|0)>=858){b=v[a>>2];if(b){break Qa}c=a;break Pa}if((b|0)==857){break Pa}c=a+4|0;b=v[a+4>>2];if(!b){break Pa}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=857;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}Ra:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break Ra}a=b+20|0;t[a+11|0]=6}c=w[314833]|w[314834]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[314829]|w[314830]<<8|(w[314831]<<16|w[314832]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1163452;Sa:{a=v[290863];if(!a){a=1163452;break Sa}while(1){b=v[a+16>>2];Ta:{if((b|0)>=1255){b=v[a>>2];if(b){break Ta}c=a;break Sa}if((b|0)==1254){break Sa}c=a+4|0;b=v[a+4>>2];if(!b){break Sa}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=1254;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}Te(b+20|0,316625,12);c=1163452;Ua:{a=v[290863];if(!a){a=1163452;break Ua}while(1){b=v[a+16>>2];Va:{if((b|0)>=28592){b=v[a>>2];if(b){break Va}c=a;break Ua}if((b|0)==28591){break Ua}c=a+4|0;b=v[a+4>>2];if(!b){break Ua}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=28591;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}Wa:{if(t[b+31|0]<=-1){v[b+24>>2]=10;a=v[b+20>>2];break Wa}a=b+20|0;t[a+11|0]=10}c=w[325025]|w[325026]<<8;t[a+8|0]=c;t[a+9|0]=c>>>8;c=w[325021]|w[325022]<<8|(w[325023]<<16|w[325024]<<24);b=w[325017]|w[325018]<<8|(w[325019]<<16|w[325020]<<24);t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+10|0]=0;c=1163452;Xa:{a=v[290863];if(!a){a=1163452;break Xa}while(1){b=v[a+16>>2];Ya:{if((b|0)>=28606){b=v[a>>2];if(b){break Ya}c=a;break Xa}if((b|0)==28605){break Xa}c=a+4|0;b=v[a+4>>2];if(!b){break Xa}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=28605;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}Te(b+20|0,316220,11);c=1163452;Za:{a=v[290863];if(!a){a=1163452;break Za}while(1){b=v[a+16>>2];_a:{if((b|0)>=851){b=v[a>>2];if(b){break _a}c=a;break Za}if((b|0)==850){break Za}c=a+4|0;b=v[a+4>>2];if(!b){break Za}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=850;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}$a:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break $a}a=b+20|0;t[a+11|0]=6}c=w[325462]|w[325463]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[325458]|w[325459]<<8|(w[325460]<<16|w[325461]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1163452;ab:{a=v[290863];if(!a){a=1163452;break ab}while(1){b=v[a+16>>2];bb:{if((b|0)>=859){b=v[a>>2];if(b){break bb}c=a;break ab}if((b|0)==858){break ab}c=a+4|0;b=v[a+4>>2];if(!b){break ab}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=858;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}cb:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break cb}a=b+20|0;t[a+11|0]=6}c=w[314251]|w[314252]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[314247]|w[314248]<<8|(w[314249]<<16|w[314250]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1163452;db:{a=v[290863];if(!a){a=1163452;break db}while(1){b=v[a+16>>2];eb:{if((b|0)>=861){b=v[a>>2];if(b){break eb}c=a;break db}if((b|0)==860){break db}c=a+4|0;b=v[a+4>>2];if(!b){break db}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=860;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}fb:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break fb}a=b+20|0;t[a+11|0]=6}c=w[325424]|w[325425]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[325420]|w[325421]<<8|(w[325422]<<16|w[325423]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1163452;gb:{a=v[290863];if(!a){a=1163452;break gb}while(1){b=v[a+16>>2];hb:{if((b|0)>=864){b=v[a>>2];if(b){break hb}c=a;break gb}if((b|0)==863){break gb}c=a+4|0;b=v[a+4>>2];if(!b){break gb}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=863;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}ib:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break ib}a=b+20|0;t[a+11|0]=6}c=w[318818]|w[318819]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[318814]|w[318815]<<8|(w[318816]<<16|w[318817]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1163452;jb:{a=v[290863];if(!a){a=1163452;break jb}while(1){b=v[a+16>>2];kb:{if((b|0)>=438){b=v[a>>2];if(b){break kb}c=a;break jb}if((b|0)==437){break jb}c=a+4|0;b=v[a+4>>2];if(!b){break jb}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=437;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}lb:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break lb}a=b+20|0;t[a+11|0]=6}c=w[314928]|w[314929]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[314924]|w[314925]<<8|(w[314926]<<16|w[314927]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1163452;mb:{a=v[290863];if(!a){a=1163452;break mb}while(1){b=v[a+16>>2];nb:{if((b|0)>=1253){b=v[a>>2];if(b){break nb}c=a;break mb}if((b|0)==1252){break mb}c=a+4|0;b=v[a+4>>2];if(!b){break mb}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=1252;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}Te(b+20|0,320295,12);c=1163452;ob:{a=v[290863];if(!a){a=1163452;break ob}while(1){b=v[a+16>>2];pb:{if((b|0)>=1259){b=v[a>>2];if(b){break pb}c=a;break ob}if((b|0)==1258){break ob}c=a+4|0;b=v[a+4>>2];if(!b){break ob}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=1258;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}Te(b+20|0,314274,12);c=1163452;qb:{a=v[290863];if(!a){a=1163452;break qb}while(1){b=v[a+16>>2];rb:{if((b|0)>=65002){b=v[a>>2];if(b){break rb}c=a;break qb}if((b|0)==65001){break qb}c=a+4|0;b=v[a+4>>2];if(!b){break qb}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=65001;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}sb:{if(t[b+31|0]<=-1){v[b+24>>2]=5;a=v[b+20>>2];break sb}a=b+20|0;t[a+11|0]=5}t[a+4|0]=w[314545];c=w[314541]|w[314542]<<8|(w[314543]<<16|w[314544]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+5|0]=0;c=1163452;tb:{a=v[290863];if(!a){a=1163452;break tb}while(1){b=v[a+16>>2];ub:{if((b|0)>=65001){b=v[a>>2];if(b){break ub}c=a;break tb}if((b|0)==65e3){break tb}c=a+4|0;b=v[a+4>>2];if(!b){break tb}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=65e3;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}vb:{if(t[b+31|0]<=-1){v[b+24>>2]=5;a=v[b+20>>2];break vb}a=b+20|0;t[a+11|0]=5}t[a+4|0]=w[315108];c=w[315104]|w[315105]<<8|(w[315106]<<16|w[315107]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+5|0]=0;c=1163452;wb:{a=v[290863];if(!a){a=1163452;break wb}while(1){b=v[a+16>>2];xb:{if((b|0)>=1201){b=v[a>>2];if(b){break xb}c=a;break wb}if((b|0)==1200){break wb}c=a+4|0;b=v[a+4>>2];if(!b){break wb}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=1200;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}yb:{if(t[b+31|0]<=-1){v[b+24>>2]=8;a=v[b+20>>2];break yb}a=b+20|0;t[a+11|0]=8}t[a+8|0]=0;t[a|0]=85;t[a+1|0]=84;t[a+2|0]=70;t[a+3|0]=45;t[a+4|0]=49;t[a+5|0]=54;t[a+6|0]=76;t[a+7|0]=69;c=1163452;zb:{a=v[290863];if(!a){a=1163452;break zb}while(1){b=v[a+16>>2];Ab:{if((b|0)>=1202){b=v[a>>2];if(b){break Ab}c=a;break zb}if((b|0)==1201){break zb}c=a+4|0;b=v[a+4>>2];if(!b){break zb}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=1201;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}Bb:{if(t[b+31|0]<=-1){v[b+24>>2]=8;a=v[b+20>>2];break Bb}a=b+20|0;t[a+11|0]=8}t[a+8|0]=0;t[a|0]=85;t[a+1|0]=84;t[a+2|0]=70;t[a+3|0]=45;t[a+4|0]=49;t[a+5|0]=54;t[a+6|0]=66;t[a+7|0]=69;c=1163452;Cb:{a=v[290863];if(!a){a=1163452;break Cb}while(1){b=v[a+16>>2];Db:{if((b|0)>=12001){b=v[a>>2];if(b){break Db}c=a;break Cb}if((b|0)==12e3){break Cb}c=a+4|0;b=v[a+4>>2];if(!b){break Cb}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=12e3;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}Eb:{if(t[b+31|0]<=-1){v[b+24>>2]=8;a=v[b+20>>2];break Eb}a=b+20|0;t[a+11|0]=8}t[a+8|0]=0;t[a|0]=85;t[a+1|0]=84;t[a+2|0]=70;t[a+3|0]=45;t[a+4|0]=51;t[a+5|0]=50;t[a+6|0]=76;t[a+7|0]=69;c=1163452;Fb:{a=v[290863];if(!a){a=1163452;break Fb}while(1){b=v[a+16>>2];Gb:{if((b|0)>=12002){b=v[a>>2];if(b){break Gb}c=a;break Fb}if((b|0)==12001){break Fb}c=a+4|0;b=v[a+4>>2];if(!b){break Fb}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=12001;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}Hb:{if(t[b+31|0]<=-1){v[b+24>>2]=8;a=v[b+20>>2];break Hb}a=b+20|0;t[a+11|0]=8}t[a+8|0]=0;t[a|0]=85;t[a+1|0]=84;t[a+2|0]=70;t[a+3|0]=45;t[a+4|0]=51;t[a+5|0]=50;t[a+6|0]=66;t[a+7|0]=69;c=1163452;Ib:{a=v[290863];if(!a){a=1163452;break Ib}while(1){b=v[a+16>>2];Jb:{if((b|0)>=10001){b=v[a>>2];if(b){break Jb}c=a;break Ib}if((b|0)==1e4){break Ib}c=a+4|0;b=v[a+4>>2];if(!b){break Ib}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=1e4;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[290862]>>2];if(a){v[290862]=a;a=v[c>>2]}else{a=b}Ob(v[290863],a);v[290864]=v[290864]+1}Kb:{if(t[b+31|0]<=-1){v[b+24>>2]=9;a=v[b+20>>2];break Kb}a=b+20|0;t[a+11|0]=9}t[a+8|0]=w[269533];c=w[269529]|w[269530]<<8|(w[269531]<<16|w[269532]<<24);b=w[269525]|w[269526]<<8|(w[269527]<<16|w[269528]<<24);t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+9|0]=0;d=Ma-128|0;Ma=d;v[290866]=0;v[290867]=0;v[290868]=0;v[290869]=0;v[290870]=0;v[290865]=1163464;a=ab(64);v[d+112>>2]=a;v[d+116>>2]=12;v[d+120>>2]=-2147483632;rb(a,362184,12);v[a+48>>2]=0;v[d+124>>2]=0;a=ug(1163460,d+96|0,d+112|0);if(!v[a>>2]){c=ab(32);v[c+24>>2]=v[d+120>>2];b=v[d+116>>2];v[c+16>>2]=v[d+112>>2];v[c+20>>2]=b;v[d+120>>2]=0;v[d+112>>2]=0;v[d+116>>2]=0;v[c+28>>2]=v[d+124>>2];v[c+8>>2]=v[d+96>>2];v[c>>2]=0;v[c+4>>2]=0;v[a>>2]=c;b=v[v[290865]>>2];if(b){v[290865]=b;c=v[a>>2]}Ob(v[290866],c);v[290867]=v[290867]+1}if(t[d+123|0]<=-1){$a(v[d+112>>2])}a=ab(48);v[d+112>>2]=a;v[d+116>>2]=10;v[d+120>>2]=-2147483636;rb(a,362236,10);v[a+40>>2]=0;v[d+124>>2]=0;a=ug(1163460,d+96|0,d+112|0);if(!v[a>>2]){c=ab(32);v[c+24>>2]=v[d+120>>2];b=v[d+116>>2];v[c+16>>2]=v[d+112>>2];v[c+20>>2]=b;v[d+120>>2]=0;v[d+112>>2]=0;v[d+116>>2]=0;v[c+28>>2]=v[d+124>>2];v[c+8>>2]=v[d+96>>2];v[c>>2]=0;v[c+4>>2]=0;v[a>>2]=c;b=v[v[290865]>>2];if(b){v[290865]=b;c=v[a>>2]}Ob(v[290866],c);v[290867]=v[290867]+1}if(t[d+123|0]<=-1){$a(v[d+112>>2])}a=ab(48);v[d+112>>2]=a;v[d+116>>2]=9;v[d+120>>2]=-2147483636;rb(a,362280,9);v[a+36>>2]=0;v[d+124>>2]=0;a=ug(1163460,d+96|0,d+112|0);if(!v[a>>2]){c=ab(32);v[c+24>>2]=v[d+120>>2];b=v[d+116>>2];v[c+16>>2]=v[d+112>>2];v[c+20>>2]=b;v[d+120>>2]=0;v[d+112>>2]=0;v[d+116>>2]=0;v[c+28>>2]=v[d+124>>2];v[c+8>>2]=v[d+96>>2];v[c>>2]=0;v[c+4>>2]=0;v[a>>2]=c;b=v[v[290865]>>2];if(b){v[290865]=b;c=v[a>>2]}Ob(v[290866],c);v[290867]=v[290867]+1}if(t[d+123|0]<=-1){$a(v[d+112>>2])}a=ab(64);v[d+112>>2]=a;v[d+116>>2]=12;v[d+120>>2]=-2147483632;rb(a,362320,12);v[a+48>>2]=0;v[d+124>>2]=0;a=ug(1163460,d+96|0,d+112|0);if(!v[a>>2]){c=ab(32);v[c+24>>2]=v[d+120>>2];b=v[d+116>>2];v[c+16>>2]=v[d+112>>2];v[c+20>>2]=b;v[d+120>>2]=0;v[d+112>>2]=0;v[d+116>>2]=0;v[c+28>>2]=v[d+124>>2];v[c+8>>2]=v[d+96>>2];v[c>>2]=0;v[c+4>>2]=0;v[a>>2]=c;b=v[v[290865]>>2];if(b){v[290865]=b;c=v[a>>2]}Ob(v[290866],c);v[290867]=v[290867]+1}if(t[d+123|0]<=-1){$a(v[d+112>>2])}v[d+104>>2]=0;v[d+96>>2]=0;v[d+100>>2]=0;a=ab(64);v[d+112>>2]=a;v[d+116>>2]=12;v[d+120>>2]=-2147483632;rb(a,362184,12);v[a+48>>2]=0;a=v[d+100>>2];Lb:{if(a>>>0>2]){c=v[d+116>>2];v[a>>2]=v[d+112>>2];v[a+4>>2]=c;v[a+8>>2]=v[d+120>>2];v[d+100>>2]=a+12;break Lb}Kg(d+96|0,d+112|0);if(t[d+123|0]>-1){break Lb}$a(v[d+112>>2])}a=ab(48);v[d+112>>2]=a;v[d+116>>2]=10;v[d+120>>2]=-2147483636;rb(a,362236,10);v[a+40>>2]=0;a=v[d+100>>2];Mb:{if(a>>>0>2]){c=v[d+116>>2];v[a>>2]=v[d+112>>2];v[a+4>>2]=c;v[a+8>>2]=v[d+120>>2];v[d+100>>2]=a+12;break Mb}Kg(d+96|0,d+112|0);if(t[d+123|0]>-1){break Mb}$a(v[d+112>>2])}a=ab(48);v[d+112>>2]=a;v[d+116>>2]=9;v[d+120>>2]=-2147483636;rb(a,362280,9);v[a+36>>2]=0;a=v[d+100>>2];Nb:{if(a>>>0>2]){c=v[d+116>>2];v[a>>2]=v[d+112>>2];v[a+4>>2]=c;v[a+8>>2]=v[d+120>>2];v[d+100>>2]=a+12;break Nb}Kg(d+96|0,d+112|0);if(t[d+123|0]>-1){break Nb}$a(v[d+112>>2])}a=ab(64);v[d+112>>2]=a;v[d+116>>2]=12;v[d+120>>2]=-2147483632;rb(a,362320,12);v[a+48>>2]=0;a=v[d+100>>2];Ob:{if(a>>>0>2]){c=v[d+116>>2];v[a>>2]=v[d+112>>2];v[a+4>>2]=c;v[a+8>>2]=v[d+120>>2];v[d+100>>2]=a+12;break Ob}Kg(d+96|0,d+112|0);if(t[d+123|0]>-1){break Ob}$a(v[d+112>>2])}Pb:{Qb:{b=v[290869];Rb:{if((b|0)!=v[290870]){v[b+8>>2]=0;v[b>>2]=0;v[b+4>>2]=0;a=v[d+100>>2]-v[d+96>>2]|0;c=(a|0)/12|0;if(a){if(c>>>0>=357913942){break Qb}a=ab(a);v[b>>2]=a;v[b+4>>2]=a;v[b+8>>2]=B(c,12)+a;c=v[d+96>>2];e=v[d+100>>2];if((c|0)!=(e|0)){while(1){Sb:{if(t[c+11|0]>=0){f=v[c+4>>2];v[a>>2]=v[c>>2];v[a+4>>2]=f;v[a+8>>2]=v[c+8>>2];break Sb}vc(a,v[c>>2],v[c+4>>2])}a=a+12|0;c=c+12|0;if((e|0)!=(c|0)){continue}break}}v[b+4>>2]=a}v[290869]=b+12;break Rb}Qq(d+96|0)}a=ab(32);v[d+112>>2]=a;v[d+116>>2]=6;v[d+120>>2]=-2147483640;rb(a,362372,6);v[a+24>>2]=0;v[d+124>>2]=1;a=ug(1163460,d+80|0,d+112|0);if(!v[a>>2]){c=ab(32);v[c+24>>2]=v[d+120>>2];b=v[d+116>>2];v[c+16>>2]=v[d+112>>2];v[c+20>>2]=b;v[d+120>>2]=0;v[d+112>>2]=0;v[d+116>>2]=0;v[c+28>>2]=v[d+124>>2];v[c+8>>2]=v[d+80>>2];v[c>>2]=0;v[c+4>>2]=0;v[a>>2]=c;b=v[v[290865]>>2];if(b){v[290865]=b;c=v[a>>2]}Ob(v[290866],c);v[290867]=v[290867]+1}if(t[d+123|0]<=-1){$a(v[d+112>>2])}a=ab(48);v[d+112>>2]=a;v[d+116>>2]=9;v[d+120>>2]=-2147483636;rb(a,362400,9);v[a+36>>2]=0;v[d+124>>2]=1;a=ug(1163460,d+80|0,d+112|0);if(!v[a>>2]){c=ab(32);v[c+24>>2]=v[d+120>>2];b=v[d+116>>2];v[c+16>>2]=v[d+112>>2];v[c+20>>2]=b;v[d+120>>2]=0;v[d+112>>2]=0;v[d+116>>2]=0;v[c+28>>2]=v[d+124>>2];v[c+8>>2]=v[d+80>>2];v[c>>2]=0;v[c+4>>2]=0;v[a>>2]=c;b=v[v[290865]>>2];if(b){v[290865]=b;c=v[a>>2]}Ob(v[290866],c);v[290867]=v[290867]+1}if(t[d+123|0]<=-1){$a(v[d+112>>2])}v[d+88>>2]=0;v[d+80>>2]=0;v[d+84>>2]=0;a=ab(48);v[d+112>>2]=a;v[d+116>>2]=10;v[d+120>>2]=-2147483636;rb(a,362440,10);v[a+40>>2]=0;a=v[d+84>>2];Tb:{if(a>>>0>2]){c=v[d+116>>2];v[a>>2]=v[d+112>>2];v[a+4>>2]=c;v[a+8>>2]=v[d+120>>2];v[d+84>>2]=a+12;break Tb}Kg(d+80|0,d+112|0);if(t[d+123|0]>-1){break Tb}$a(v[d+112>>2])}b=v[290869];Ub:{if((b|0)!=v[290870]){v[b+8>>2]=0;v[b>>2]=0;v[b+4>>2]=0;a=v[d+84>>2]-v[d+80>>2]|0;c=(a|0)/12|0;if(a){if(c>>>0>=357913942){break Qb}a=ab(a);v[b>>2]=a;v[b+4>>2]=a;v[b+8>>2]=B(c,12)+a;c=v[d+80>>2];e=v[d+84>>2];if((c|0)!=(e|0)){while(1){Vb:{if(t[c+11|0]>=0){f=v[c+4>>2];v[a>>2]=v[c>>2];v[a+4>>2]=f;v[a+8>>2]=v[c+8>>2];break Vb}vc(a,v[c>>2],v[c+4>>2])}a=a+12|0;c=c+12|0;if((e|0)!=(c|0)){continue}break}}v[b+4>>2]=a}v[290869]=b+12;break Ub}Qq(d+80|0)}a=ab(32);v[d+112>>2]=a;v[d+116>>2]=5;v[d+120>>2]=-2147483640;rb(a,362484,5);v[a+20>>2]=0;v[d+124>>2]=2;a=ug(1163460,d- -64|0,d+112|0);if(!v[a>>2]){c=ab(32);v[c+24>>2]=v[d+120>>2];b=v[d+116>>2];v[c+16>>2]=v[d+112>>2];v[c+20>>2]=b;v[d+120>>2]=0;v[d+112>>2]=0;v[d+116>>2]=0;v[c+28>>2]=v[d+124>>2];v[c+8>>2]=v[d+64>>2];v[c>>2]=0;v[c+4>>2]=0;v[a>>2]=c;b=v[v[290865]>>2];if(b){v[290865]=b;c=v[a>>2]}Ob(v[290866],c);v[290867]=v[290867]+1}if(t[d+123|0]<=-1){$a(v[d+112>>2])}a=ab(64);v[d+112>>2]=a;v[d+116>>2]=15;v[d+120>>2]=-2147483632;rb(a,362508,15);v[a+60>>2]=0;v[d+124>>2]=2;a=ug(1163460,d- -64|0,d+112|0);if(!v[a>>2]){c=ab(32);v[c+24>>2]=v[d+120>>2];b=v[d+116>>2];v[c+16>>2]=v[d+112>>2];v[c+20>>2]=b;v[d+120>>2]=0;v[d+112>>2]=0;v[d+116>>2]=0;v[c+28>>2]=v[d+124>>2];v[c+8>>2]=v[d+64>>2];v[c>>2]=0;v[c+4>>2]=0;v[a>>2]=c;b=v[v[290865]>>2];if(b){v[290865]=b;c=v[a>>2]}Ob(v[290866],c);v[290867]=v[290867]+1}if(t[d+123|0]<=-1){$a(v[d+112>>2])}a=ab(48);v[d+112>>2]=a;v[d+116>>2]=9;v[d+120>>2]=-2147483636;rb(a,362572,9);v[a+36>>2]=0;v[d+124>>2]=2;a=ug(1163460,d- -64|0,d+112|0);if(!v[a>>2]){c=ab(32);v[c+24>>2]=v[d+120>>2];b=v[d+116>>2];v[c+16>>2]=v[d+112>>2];v[c+20>>2]=b;v[d+120>>2]=0;v[d+112>>2]=0;v[d+116>>2]=0;v[c+28>>2]=v[d+124>>2];v[c+8>>2]=v[d+64>>2];v[c>>2]=0;v[c+4>>2]=0;v[a>>2]=c;b=v[v[290865]>>2];if(b){v[290865]=b;c=v[a>>2]}Ob(v[290866],c);v[290867]=v[290867]+1}if(t[d+123|0]<=-1){$a(v[d+112>>2])}a=ab(64);v[d+112>>2]=a;v[d+116>>2]=13;v[d+120>>2]=-2147483632;rb(a,362612,13);v[a+52>>2]=0;v[d+124>>2]=2;a=ug(1163460,d- -64|0,d+112|0);if(!v[a>>2]){c=ab(32);v[c+24>>2]=v[d+120>>2];b=v[d+116>>2];v[c+16>>2]=v[d+112>>2];v[c+20>>2]=b;v[d+120>>2]=0;v[d+112>>2]=0;v[d+116>>2]=0;v[c+28>>2]=v[d+124>>2];v[c+8>>2]=v[d+64>>2];v[c>>2]=0;v[c+4>>2]=0;v[a>>2]=c;b=v[v[290865]>>2];if(b){v[290865]=b;c=v[a>>2]}Ob(v[290866],c);v[290867]=v[290867]+1}if(t[d+123|0]<=-1){$a(v[d+112>>2])}v[d+72>>2]=0;v[d+64>>2]=0;v[d+68>>2]=0;a=ab(32);v[d+112>>2]=a;v[d+116>>2]=5;v[d+120>>2]=-2147483640;rb(a,362484,5);v[a+20>>2]=0;a=v[d+68>>2];Wb:{if(a>>>0>2]){c=v[d+116>>2];v[a>>2]=v[d+112>>2];v[a+4>>2]=c;v[a+8>>2]=v[d+120>>2];v[d+68>>2]=a+12;break Wb}Kg(d- -64|0,d+112|0);if(t[d+123|0]>-1){break Wb}$a(v[d+112>>2])}a=ab(64);v[d+112>>2]=a;v[d+116>>2]=15;v[d+120>>2]=-2147483632;rb(a,362508,15);v[a+60>>2]=0;a=v[d+68>>2];Xb:{if(a>>>0>2]){c=v[d+116>>2];v[a>>2]=v[d+112>>2];v[a+4>>2]=c;v[a+8>>2]=v[d+120>>2];v[d+68>>2]=a+12;break Xb}Kg(d- -64|0,d+112|0);if(t[d+123|0]>-1){break Xb}$a(v[d+112>>2])}a=ab(48);v[d+112>>2]=a;v[d+116>>2]=9;v[d+120>>2]=-2147483636;rb(a,362572,9);v[a+36>>2]=0;a=v[d+68>>2];Yb:{if(a>>>0>2]){c=v[d+116>>2];v[a>>2]=v[d+112>>2];v[a+4>>2]=c;v[a+8>>2]=v[d+120>>2];v[d+68>>2]=a+12;break Yb}Kg(d- -64|0,d+112|0);if(t[d+123|0]>-1){break Yb}$a(v[d+112>>2])}a=ab(64);v[d+112>>2]=a;v[d+116>>2]=13;v[d+120>>2]=-2147483632;rb(a,362612,13);v[a+52>>2]=0;a=v[d+68>>2];Zb:{if(a>>>0>2]){c=v[d+116>>2];v[a>>2]=v[d+112>>2];v[a+4>>2]=c;v[a+8>>2]=v[d+120>>2];v[d+68>>2]=a+12;break Zb}Kg(d- -64|0,d+112|0);if(t[d+123|0]>-1){break Zb}$a(v[d+112>>2])}b=v[290869];_b:{if((b|0)!=v[290870]){v[b+8>>2]=0;v[b>>2]=0;v[b+4>>2]=0;a=v[d+68>>2]-v[d+64>>2]|0;c=(a|0)/12|0;if(a){if(c>>>0>=357913942){break Qb}a=ab(a);v[b>>2]=a;v[b+4>>2]=a;v[b+8>>2]=B(c,12)+a;c=v[d+64>>2];e=v[d+68>>2];if((c|0)!=(e|0)){while(1){$b:{if(t[c+11|0]>=0){f=v[c+4>>2];v[a>>2]=v[c>>2];v[a+4>>2]=f;v[a+8>>2]=v[c+8>>2];break $b}vc(a,v[c>>2],v[c+4>>2])}a=a+12|0;c=c+12|0;if((e|0)!=(c|0)){continue}break}}v[b+4>>2]=a}v[290869]=b+12;break _b}Qq(d- -64|0)}a=ab(64);v[d+112>>2]=a;v[d+116>>2]=15;v[d+120>>2]=-2147483632;rb(a,362668,15);v[a+60>>2]=0;v[d+124>>2]=3;a=ug(1163460,d+48|0,d+112|0);if(!v[a>>2]){c=ab(32);v[c+24>>2]=v[d+120>>2];b=v[d+116>>2];v[c+16>>2]=v[d+112>>2];v[c+20>>2]=b;v[d+120>>2]=0;v[d+112>>2]=0;v[d+116>>2]=0;v[c+28>>2]=v[d+124>>2];v[c+8>>2]=v[d+48>>2];v[c>>2]=0;v[c+4>>2]=0;v[a>>2]=c;b=v[v[290865]>>2];if(b){v[290865]=b;c=v[a>>2]}Ob(v[290866],c);v[290867]=v[290867]+1}if(t[d+123|0]<=-1){$a(v[d+112>>2])}a=ab(80);v[d+112>>2]=a;v[d+116>>2]=16;v[d+120>>2]=-2147483628;rb(a,362732,16);v[a+64>>2]=0;v[d+124>>2]=3;a=ug(1163460,d+48|0,d+112|0);if(!v[a>>2]){c=ab(32);v[c+24>>2]=v[d+120>>2];b=v[d+116>>2];v[c+16>>2]=v[d+112>>2];v[c+20>>2]=b;v[d+120>>2]=0;v[d+112>>2]=0;v[d+116>>2]=0;v[c+28>>2]=v[d+124>>2];v[c+8>>2]=v[d+48>>2];v[c>>2]=0;v[c+4>>2]=0;v[a>>2]=c;b=v[v[290865]>>2];if(b){v[290865]=b;c=v[a>>2]}Ob(v[290866],c);v[290867]=v[290867]+1}if(t[d+123|0]<=-1){$a(v[d+112>>2])}v[d+56>>2]=0;v[d+48>>2]=0;v[d+52>>2]=0;a=ab(64);v[d+112>>2]=a;v[d+116>>2]=15;v[d+120>>2]=-2147483632;rb(a,362668,15);v[a+60>>2]=0;a=v[d+52>>2];ac:{if(a>>>0>2]){c=v[d+116>>2];v[a>>2]=v[d+112>>2];v[a+4>>2]=c;v[a+8>>2]=v[d+120>>2];v[d+52>>2]=a+12;break ac}Kg(d+48|0,d+112|0);if(t[d+123|0]>-1){break ac}$a(v[d+112>>2])}a=ab(80);v[d+112>>2]=a;v[d+116>>2]=16;v[d+120>>2]=-2147483628;rb(a,362732,16);v[a+64>>2]=0;a=v[d+52>>2];bc:{if(a>>>0>2]){c=v[d+116>>2];v[a>>2]=v[d+112>>2];v[a+4>>2]=c;v[a+8>>2]=v[d+120>>2];v[d+52>>2]=a+12;break bc}Kg(d+48|0,d+112|0);if(t[d+123|0]>-1){break bc}$a(v[d+112>>2])}b=v[290869];cc:{if((b|0)!=v[290870]){v[b+8>>2]=0;v[b>>2]=0;v[b+4>>2]=0;a=v[d+52>>2]-v[d+48>>2]|0;c=(a|0)/12|0;if(a){if(c>>>0>=357913942){break Qb}a=ab(a);v[b>>2]=a;v[b+4>>2]=a;v[b+8>>2]=B(c,12)+a;c=v[d+48>>2];e=v[d+52>>2];if((c|0)!=(e|0)){while(1){dc:{if(t[c+11|0]>=0){f=v[c+4>>2];v[a>>2]=v[c>>2];v[a+4>>2]=f;v[a+8>>2]=v[c+8>>2];break dc}vc(a,v[c>>2],v[c+4>>2])}a=a+12|0;c=c+12|0;if((e|0)!=(c|0)){continue}break}}v[b+4>>2]=a}v[290869]=b+12;break cc}Qq(d+48|0)}a=ab(48);v[d+112>>2]=a;v[d+116>>2]=11;v[d+120>>2]=-2147483636;rb(a,362800,11);v[a+44>>2]=0;v[d+124>>2]=4;a=ug(1163460,d+32|0,d+112|0);if(!v[a>>2]){c=ab(32);v[c+24>>2]=v[d+120>>2];b=v[d+116>>2];v[c+16>>2]=v[d+112>>2];v[c+20>>2]=b;v[d+120>>2]=0;v[d+112>>2]=0;v[d+116>>2]=0;v[c+28>>2]=v[d+124>>2];v[c+8>>2]=v[d+32>>2];v[c>>2]=0;v[c+4>>2]=0;v[a>>2]=c;b=v[v[290865]>>2];if(b){v[290865]=b;c=v[a>>2]}Ob(v[290866],c);v[290867]=v[290867]+1}if(t[d+123|0]<=-1){$a(v[d+112>>2])}a=ab(64);v[d+112>>2]=a;v[d+116>>2]=15;v[d+120>>2]=-2147483632;rb(a,362848,15);v[a+60>>2]=0;v[d+124>>2]=4;a=ug(1163460,d+32|0,d+112|0);if(!v[a>>2]){c=ab(32);v[c+24>>2]=v[d+120>>2];b=v[d+116>>2];v[c+16>>2]=v[d+112>>2];v[c+20>>2]=b;v[d+120>>2]=0;v[d+112>>2]=0;v[d+116>>2]=0;v[c+28>>2]=v[d+124>>2];v[c+8>>2]=v[d+32>>2];v[c>>2]=0;v[c+4>>2]=0;v[a>>2]=c;b=v[v[290865]>>2];if(b){v[290865]=b;c=v[a>>2]}Ob(v[290866],c);v[290867]=v[290867]+1}if(t[d+123|0]<=-1){$a(v[d+112>>2])}v[d+40>>2]=0;v[d+32>>2]=0;v[d+36>>2]=0;a=ab(48);v[d+112>>2]=a;v[d+116>>2]=11;v[d+120>>2]=-2147483636;rb(a,362800,11);v[a+44>>2]=0;a=v[d+36>>2];ec:{if(a>>>0>2]){c=v[d+116>>2];v[a>>2]=v[d+112>>2];v[a+4>>2]=c;v[a+8>>2]=v[d+120>>2];v[d+36>>2]=a+12;break ec}Kg(d+32|0,d+112|0);if(t[d+123|0]>-1){break ec}$a(v[d+112>>2])}a=ab(64);v[d+112>>2]=a;v[d+116>>2]=15;v[d+120>>2]=-2147483632;rb(a,362848,15);v[a+60>>2]=0;a=v[d+36>>2];fc:{if(a>>>0>2]){c=v[d+116>>2];v[a>>2]=v[d+112>>2];v[a+4>>2]=c;v[a+8>>2]=v[d+120>>2];v[d+36>>2]=a+12;break fc}Kg(d+32|0,d+112|0);if(t[d+123|0]>-1){break fc}$a(v[d+112>>2])}b=v[290869];gc:{if((b|0)!=v[290870]){v[b+8>>2]=0;v[b>>2]=0;v[b+4>>2]=0;a=v[d+36>>2]-v[d+32>>2]|0;c=(a|0)/12|0;if(a){if(c>>>0>=357913942){break Qb}a=ab(a);v[b>>2]=a;v[b+4>>2]=a;v[b+8>>2]=B(c,12)+a;c=v[d+32>>2];e=v[d+36>>2];if((c|0)!=(e|0)){while(1){hc:{if(t[c+11|0]>=0){f=v[c+4>>2];v[a>>2]=v[c>>2];v[a+4>>2]=f;v[a+8>>2]=v[c+8>>2];break hc}vc(a,v[c>>2],v[c+4>>2])}a=a+12|0;c=c+12|0;if((e|0)!=(c|0)){continue}break}}v[b+4>>2]=a}v[290869]=b+12;break gc}Qq(d+32|0)}a=ab(32);v[d+112>>2]=a;v[d+116>>2]=5;v[d+120>>2]=-2147483640;rb(a,362912,5);v[a+20>>2]=0;v[d+124>>2]=5;a=ug(1163460,d+16|0,d+112|0);if(!v[a>>2]){c=ab(32);v[c+24>>2]=v[d+120>>2];b=v[d+116>>2];v[c+16>>2]=v[d+112>>2];v[c+20>>2]=b;v[d+120>>2]=0;v[d+112>>2]=0;v[d+116>>2]=0;v[c+28>>2]=v[d+124>>2];v[c+8>>2]=v[d+16>>2];v[c>>2]=0;v[c+4>>2]=0;v[a>>2]=c;b=v[v[290865]>>2];if(b){v[290865]=b;c=v[a>>2]}Ob(v[290866],c);v[290867]=v[290867]+1}if(t[d+123|0]<=-1){$a(v[d+112>>2])}a=ab(48);v[d+112>>2]=a;v[d+116>>2]=8;v[d+120>>2]=-2147483636;rb(a,362936,8);v[a+32>>2]=0;v[d+124>>2]=5;a=ug(1163460,d+16|0,d+112|0);if(!v[a>>2]){c=ab(32);v[c+24>>2]=v[d+120>>2];b=v[d+116>>2];v[c+16>>2]=v[d+112>>2];v[c+20>>2]=b;v[d+120>>2]=0;v[d+112>>2]=0;v[d+116>>2]=0;v[c+28>>2]=v[d+124>>2];v[c+8>>2]=v[d+16>>2];v[c>>2]=0;v[c+4>>2]=0;v[a>>2]=c;b=v[v[290865]>>2];if(b){v[290865]=b;c=v[a>>2]}Ob(v[290866],c);v[290867]=v[290867]+1}if(t[d+123|0]<=-1){$a(v[d+112>>2])}v[d+24>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;a=ab(32);v[d+112>>2]=a;v[d+116>>2]=5;v[d+120>>2]=-2147483640;rb(a,362912,5);v[a+20>>2]=0;a=v[d+20>>2];ic:{if(a>>>0>2]){c=v[d+116>>2];v[a>>2]=v[d+112>>2];v[a+4>>2]=c;v[a+8>>2]=v[d+120>>2];v[d+20>>2]=a+12;break ic}Kg(d+16|0,d+112|0);if(t[d+123|0]>-1){break ic}$a(v[d+112>>2])}a=ab(48);v[d+112>>2]=a;v[d+116>>2]=8;v[d+120>>2]=-2147483636;rb(a,362936,8);v[a+32>>2]=0;a=v[d+20>>2];jc:{if(a>>>0>2]){c=v[d+116>>2];v[a>>2]=v[d+112>>2];v[a+4>>2]=c;v[a+8>>2]=v[d+120>>2];v[d+20>>2]=a+12;break jc}Kg(d+16|0,d+112|0);if(t[d+123|0]>-1){break jc}$a(v[d+112>>2])}b=v[290869];kc:{if((b|0)!=v[290870]){v[b+8>>2]=0;v[b>>2]=0;v[b+4>>2]=0;a=v[d+20>>2]-v[d+16>>2]|0;c=(a|0)/12|0;if(a){if(c>>>0>=357913942){break Qb}a=ab(a);v[b>>2]=a;v[b+4>>2]=a;v[b+8>>2]=B(c,12)+a;c=v[d+16>>2];e=v[d+20>>2];if((c|0)!=(e|0)){while(1){lc:{if(t[c+11|0]>=0){f=v[c+4>>2];v[a>>2]=v[c>>2];v[a+4>>2]=f;v[a+8>>2]=v[c+8>>2];break lc}vc(a,v[c>>2],v[c+4>>2])}a=a+12|0;c=c+12|0;if((e|0)!=(c|0)){continue}break}}v[b+4>>2]=a}v[290869]=b+12;break kc}Qq(d+16|0)}a=ab(32);v[d+112>>2]=a;v[d+116>>2]=7;v[d+120>>2]=-2147483640;rb(a,362972,7);v[a+28>>2]=0;v[d+124>>2]=6;a=ug(1163460,d,d+112|0);if(!v[a>>2]){c=ab(32);v[c+24>>2]=v[d+120>>2];b=v[d+116>>2];v[c+16>>2]=v[d+112>>2];v[c+20>>2]=b;v[d+120>>2]=0;v[d+112>>2]=0;v[d+116>>2]=0;v[c+28>>2]=v[d+124>>2];v[c+8>>2]=v[d>>2];v[c>>2]=0;v[c+4>>2]=0;v[a>>2]=c;b=v[v[290865]>>2];if(b){v[290865]=b;c=v[a>>2]}Ob(v[290866],c);v[290867]=v[290867]+1}if(t[d+123|0]<=-1){$a(v[d+112>>2])}a=ab(32);v[d+112>>2]=a;v[d+116>>2]=7;v[d+120>>2]=-2147483640;rb(a,363004,7);v[a+28>>2]=0;v[d+124>>2]=6;a=ug(1163460,d,d+112|0);if(!v[a>>2]){c=ab(32);v[c+24>>2]=v[d+120>>2];b=v[d+116>>2];v[c+16>>2]=v[d+112>>2];v[c+20>>2]=b;v[d+120>>2]=0;v[d+112>>2]=0;v[d+116>>2]=0;v[c+28>>2]=v[d+124>>2];v[c+8>>2]=v[d>>2];v[c>>2]=0;v[c+4>>2]=0;v[a>>2]=c;b=v[v[290865]>>2];if(b){v[290865]=b;c=v[a>>2]}Ob(v[290866],c);v[290867]=v[290867]+1}if(t[d+123|0]<=-1){$a(v[d+112>>2])}v[d+120>>2]=0;v[d+112>>2]=0;v[d+116>>2]=0;a=ab(32);v[d>>2]=a;v[d+4>>2]=7;v[d+8>>2]=-2147483640;rb(a,362972,7);v[a+28>>2]=0;a=v[d+116>>2];mc:{if(a>>>0>2]){c=v[d+4>>2];v[a>>2]=v[d>>2];v[a+4>>2]=c;v[a+8>>2]=v[d+8>>2];v[d+116>>2]=a+12;break mc}Kg(d+112|0,d);if(t[d+11|0]>-1){break mc}$a(v[d>>2])}a=ab(32);v[d>>2]=a;v[d+4>>2]=7;v[d+8>>2]=-2147483640;rb(a,363004,7);v[a+28>>2]=0;a=v[d+116>>2];nc:{if(a>>>0>2]){c=v[d+4>>2];v[a>>2]=v[d>>2];v[a+4>>2]=c;v[a+8>>2]=v[d+8>>2];v[d+116>>2]=a+12;break nc}Kg(d+112|0,d);if(t[d+11|0]>-1){break nc}$a(v[d>>2])}b=v[290869];oc:{if((b|0)!=v[290870]){v[b+8>>2]=0;v[b>>2]=0;v[b+4>>2]=0;a=v[d+116>>2]-v[d+112>>2]|0;c=(a|0)/12|0;if(a){if(c>>>0>=357913942){break Qb}a=ab(a);v[b>>2]=a;v[b+4>>2]=a;v[b+8>>2]=B(c,12)+a;c=v[d+112>>2];e=v[d+116>>2];if((c|0)!=(e|0)){while(1){pc:{if(t[c+11|0]>=0){f=v[c+4>>2];v[a>>2]=v[c>>2];v[a+4>>2]=f;v[a+8>>2]=v[c+8>>2];break pc}vc(a,v[c>>2],v[c+4>>2])}a=a+12|0;c=c+12|0;if((e|0)!=(c|0)){continue}break}}v[b+4>>2]=a}v[290869]=b+12;break oc}Qq(d+112|0)}c=v[d+112>>2];if(c){a=v[d+116>>2];if((c|0)==(a|0)){a=c}else{while(1){b=a-12|0;if(t[a-1|0]<=-1){$a(v[b>>2])}a=b;if((c|0)!=(a|0)){continue}break}a=v[d+112>>2]}v[d+116>>2]=c;$a(a)}c=v[d+16>>2];if(c){a=v[d+20>>2];if((c|0)==(a|0)){a=c}else{while(1){b=a-12|0;if(t[a-1|0]<=-1){$a(v[b>>2])}a=b;if((c|0)!=(a|0)){continue}break}a=v[d+16>>2]}v[d+20>>2]=c;$a(a)}c=v[d+32>>2];if(c){a=v[d+36>>2];if((c|0)==(a|0)){a=c}else{while(1){b=a-12|0;if(t[a-1|0]<=-1){$a(v[b>>2])}a=b;if((c|0)!=(a|0)){continue}break}a=v[d+32>>2]}v[d+36>>2]=c;$a(a)}c=v[d+48>>2];if(c){a=v[d+52>>2];if((c|0)==(a|0)){a=c}else{while(1){b=a-12|0;if(t[a-1|0]<=-1){$a(v[b>>2])}a=b;if((c|0)!=(a|0)){continue}break}a=v[d+48>>2]}v[d+52>>2]=c;$a(a)}c=v[d+64>>2];if(c){a=v[d+68>>2];if((c|0)==(a|0)){a=c}else{while(1){b=a-12|0;if(t[a-1|0]<=-1){$a(v[b>>2])}a=b;if((c|0)!=(a|0)){continue}break}a=v[d+64>>2]}v[d+68>>2]=c;$a(a)}c=v[d+80>>2];if(c){a=v[d+84>>2];if((c|0)==(a|0)){a=c}else{while(1){b=a-12|0;if(t[a-1|0]<=-1){$a(v[b>>2])}a=b;if((c|0)!=(a|0)){continue}break}a=v[d+80>>2]}v[d+84>>2]=c;$a(a)}c=v[d+96>>2];if(c){a=v[d+100>>2];if((c|0)==(a|0)){a=c}else{while(1){b=a-12|0;if(t[a-1|0]<=-1){$a(v[b>>2])}a=b;if((c|0)!=(a|0)){continue}break}a=v[d+96>>2]}v[d+100>>2]=c;$a(a)}Ma=d+128|0;break Pb}Jc();L()}v[290871]=0;t[1163495]=0;a=v[297311];v[297311]=3867;v[291552]=a;v[296201]=0;v[296202]=0;d=1184804;v[296200]=1184804;a=ab(32);v[a+8>>2]=1184804;v[a>>2]=0;v[a+4>>2]=0;b=28596;v[a+16>>2]=28596;v[296200]=a;v[296201]=a;t[a+12|0]=1;v[296202]=1;t[a+31|0]=10;c=w[315653]|w[315654]<<8|(w[315655]<<16|w[315656]<<24);e=w[315649]|w[315650]<<8|(w[315651]<<16|w[315652]<<24);t[a+20|0]=e;t[a+21|0]=e>>>8;t[a+22|0]=e>>>16;t[a+23|0]=e>>>24;t[a+24|0]=c;t[a+25|0]=c>>>8;t[a+26|0]=c>>>16;t[a+27|0]=c>>>24;c=w[315657]|w[315658]<<8;t[a+28|0]=c;t[a+29|0]=c>>>8;t[a+30|0]=0;while(1){qc:{rc:{if((b|0)>=721){d=a;c=v[a>>2];if(c){break rc}break qc}if((b|0)==720){break qc}d=a+4|0;c=v[a+4>>2];if(!c){break qc}}b=v[c+16>>2];a=c;continue}break}c=v[d>>2];if(!c){c=ab(32);v[c+16>>2]=720;v[c+8>>2]=a;v[c>>2]=0;v[c+4>>2]=0;v[c+20>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[d>>2]=c;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[d>>2]}else{a=c}Ob(v[296201],a);v[296202]=v[296202]+1}sc:{if(t[c+31|0]<=-1){v[c+24>>2]=7;a=v[c+20>>2];break sc}a=c+20|0;t[a+11|0]=7}c=w[325630]|w[325631]<<8|(w[325632]<<16|w[325633]<<24);t[a+3|0]=c;t[a+4|0]=c>>>8;t[a+5|0]=c>>>16;t[a+6|0]=c>>>24;c=w[325627]|w[325628]<<8|(w[325629]<<16|w[325630]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+7|0]=0;c=1184804;tc:{a=v[296201];if(!a){a=1184804;break tc}while(1){b=v[a+16>>2];uc:{if((b|0)>=1257){b=v[a>>2];if(b){break uc}c=a;break tc}if((b|0)==1256){break tc}c=a+4|0;b=v[a+4>>2];if(!b){break tc}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=1256;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}Te(b+20|0,315365,12);c=1184804;vc:{a=v[296201];if(!a){a=1184804;break vc}while(1){b=v[a+16>>2];wc:{if((b|0)>=28595){b=v[a>>2];if(b){break wc}c=a;break vc}if((b|0)==28594){break vc}c=a+4|0;b=v[a+4>>2];if(!b){break vc}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=28594;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}xc:{if(t[b+31|0]<=-1){v[b+24>>2]=10;a=v[b+20>>2];break xc}a=b+20|0;t[a+11|0]=10}c=w[317022]|w[317023]<<8;t[a+8|0]=c;t[a+9|0]=c>>>8;c=w[317018]|w[317019]<<8|(w[317020]<<16|w[317021]<<24);b=w[317014]|w[317015]<<8|(w[317016]<<16|w[317017]<<24);t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+10|0]=0;c=1184804;yc:{a=v[296201];if(!a){a=1184804;break yc}while(1){b=v[a+16>>2];zc:{if((b|0)>=28604){b=v[a>>2];if(b){break zc}c=a;break yc}if((b|0)==28603){break yc}c=a+4|0;b=v[a+4>>2];if(!b){break yc}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=28603;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}Te(b+20|0,319053,11);c=1184804;Ac:{a=v[296201];if(!a){a=1184804;break Ac}while(1){b=v[a+16>>2];Bc:{if((b|0)>=776){b=v[a>>2];if(b){break Bc}c=a;break Ac}if((b|0)==775){break Ac}c=a+4|0;b=v[a+4>>2];if(!b){break Ac}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=775;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}Cc:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break Cc}a=b+20|0;t[a+11|0]=6}c=w[315941]|w[315942]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[315937]|w[315938]<<8|(w[315939]<<16|w[315940]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1184804;Dc:{a=v[296201];if(!a){a=1184804;break Dc}while(1){b=v[a+16>>2];Ec:{if((b|0)>=1258){b=v[a>>2];if(b){break Ec}c=a;break Dc}if((b|0)==1257){break Dc}c=a+4|0;b=v[a+4>>2];if(!b){break Dc}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=1257;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}Te(b+20|0,314846,12);c=1184804;Fc:{a=v[296201];if(!a){a=1184804;break Fc}while(1){b=v[a+16>>2];Gc:{if((b|0)>=28605){b=v[a>>2];if(b){break Gc}c=a;break Fc}if((b|0)==28604){break Fc}c=a+4|0;b=v[a+4>>2];if(!b){break Fc}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=28604;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}Te(b+20|0,316944,11);c=1184804;Hc:{a=v[296201];if(!a){a=1184804;break Hc}while(1){b=v[a+16>>2];Ic:{if((b|0)>=28596){b=v[a>>2];if(b){break Ic}c=a;break Hc}if((b|0)==28595){break Hc}c=a+4|0;b=v[a+4>>2];if(!b){break Hc}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=28595;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}Jc:{if(t[b+31|0]<=-1){v[b+24>>2]=10;a=v[b+20>>2];break Jc}a=b+20|0;t[a+11|0]=10}c=w[316280]|w[316281]<<8;t[a+8|0]=c;t[a+9|0]=c>>>8;c=w[316276]|w[316277]<<8|(w[316278]<<16|w[316279]<<24);b=w[316272]|w[316273]<<8|(w[316274]<<16|w[316275]<<24);t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+10|0]=0;c=1184804;Kc:{a=v[296201];if(!a){a=1184804;break Kc}while(1){b=v[a+16>>2];Lc:{if((b|0)>=20867){b=v[a>>2];if(b){break Lc}c=a;break Kc}if((b|0)==20866){break Kc}c=a+4|0;b=v[a+4>>2];if(!b){break Kc}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=20866;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}Mc:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break Mc}a=b+20|0;t[a+11|0]=6}c=w[310472]|w[310473]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[310468]|w[310469]<<8|(w[310470]<<16|w[310471]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1184804;Nc:{a=v[296201];if(!a){a=1184804;break Nc}while(1){b=v[a+16>>2];Oc:{if((b|0)>=21867){b=v[a>>2];if(b){break Oc}c=a;break Nc}if((b|0)==21866){break Nc}c=a+4|0;b=v[a+4>>2];if(!b){break Nc}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=21866;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}Pc:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break Pc}a=b+20|0;t[a+11|0]=6}c=w[309227]|w[309228]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[309223]|w[309224]<<8|(w[309225]<<16|w[309226]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1184804;Qc:{a=v[296201];if(!a){a=1184804;break Qc}while(1){b=v[a+16>>2];Rc:{if((b|0)>=10008){b=v[a>>2];if(b){break Rc}c=a;break Qc}if((b|0)==10007){break Qc}c=a+4|0;b=v[a+4>>2];if(!b){break Qc}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=10007;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}Te(b+20|0,295882,14);c=1184804;Sc:{a=v[296201];if(!a){a=1184804;break Sc}while(1){b=v[a+16>>2];Tc:{if((b|0)>=856){b=v[a>>2];if(b){break Tc}c=a;break Sc}if((b|0)==855){break Sc}c=a+4|0;b=v[a+4>>2];if(!b){break Sc}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=855;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}Uc:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break Uc}a=b+20|0;t[a+11|0]=6}c=w[316046]|w[316047]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[316042]|w[316043]<<8|(w[316044]<<16|w[316045]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1184804;Vc:{a=v[296201];if(!a){a=1184804;break Vc}while(1){b=v[a+16>>2];Wc:{if((b|0)>=867){b=v[a>>2];if(b){break Wc}c=a;break Vc}if((b|0)==866){break Vc}c=a+4|0;b=v[a+4>>2];if(!b){break Vc}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=866;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}Xc:{if(t[b+31|0]<=-1){v[b+24>>2]=5;a=v[b+20>>2];break Xc}a=b+20|0;t[a+11|0]=5}t[a+4|0]=w[315324];c=w[315320]|w[315321]<<8|(w[315322]<<16|w[315323]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+5|0]=0;c=1184804;Yc:{a=v[296201];if(!a){a=1184804;break Yc}while(1){b=v[a+16>>2];Zc:{if((b|0)>=1252){b=v[a>>2];if(b){break Zc}c=a;break Yc}if((b|0)==1251){break Yc}c=a+4|0;b=v[a+4>>2];if(!b){break Yc}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=1251;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}Te(b+20|0,324709,12);c=1184804;_c:{a=v[296201];if(!a){a=1184804;break _c}while(1){b=v[a+16>>2];$c:{if((b|0)>=853){b=v[a>>2];if(b){break $c}c=a;break _c}if((b|0)==852){break _c}c=a+4|0;b=v[a+4>>2];if(!b){break _c}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=852;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}ad:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break ad}a=b+20|0;t[a+11|0]=6}c=w[320264]|w[320265]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[320260]|w[320261]<<8|(w[320262]<<16|w[320263]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1184804;bd:{a=v[296201];if(!a){a=1184804;break bd}while(1){b=v[a+16>>2];cd:{if((b|0)>=1251){b=v[a>>2];if(b){break cd}c=a;break bd}if((b|0)==1250){break bd}c=a+4|0;b=v[a+4>>2];if(!b){break bd}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=1250;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}Te(b+20|0,325483,12);c=1184804;dd:{a=v[296201];if(!a){a=1184804;break dd}while(1){b=v[a+16>>2];ed:{if((b|0)>=951){b=v[a>>2];if(b){break ed}c=a;break dd}if((b|0)==950){break dd}c=a+4|0;b=v[a+4>>2];if(!b){break dd}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=950;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}fd:{if(t[b+31|0]<=-1){v[b+24>>2]=4;a=v[b+20>>2];break fd}a=b+20|0;t[a+11|0]=4}t[a+4|0]=0;t[a|0]=66;t[a+1|0]=105;t[a+2|0]=103;t[a+3|0]=53;c=1184804;gd:{a=v[296201];if(!a){a=1184804;break gd}while(1){b=v[a+16>>2];hd:{if((b|0)>=937){b=v[a>>2];if(b){break hd}c=a;break gd}if((b|0)==936){break gd}c=a+4|0;b=v[a+4>>2];if(!b){break gd}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=936;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}id:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break id}a=b+20|0;t[a+11|0]=6}c=w[320536]|w[320537]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[320532]|w[320533]<<8|(w[320534]<<16|w[320535]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1184804;jd:{a=v[296201];if(!a){a=1184804;break jd}while(1){b=v[a+16>>2];kd:{if((b|0)>=28593){b=v[a>>2];if(b){break kd}c=a;break jd}if((b|0)==28592){break jd}c=a+4|0;b=v[a+4>>2];if(!b){break jd}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=28592;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}ld:{if(t[b+31|0]<=-1){v[b+24>>2]=10;a=v[b+20>>2];break ld}a=b+20|0;t[a+11|0]=10}c=w[320627]|w[320628]<<8;t[a+8|0]=c;t[a+9|0]=c>>>8;c=w[320623]|w[320624]<<8|(w[320625]<<16|w[320626]<<24);b=w[320619]|w[320620]<<8|(w[320621]<<16|w[320622]<<24);t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+10|0]=0;c=1184804;md:{a=v[296201];if(!a){a=1184804;break md}while(1){b=v[a+16>>2];nd:{if((b|0)>=28598){b=v[a>>2];if(b){break nd}c=a;break md}if((b|0)==28597){break md}c=a+4|0;b=v[a+4>>2];if(!b){break md}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=28597;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}od:{if(t[b+31|0]<=-1){v[b+24>>2]=10;a=v[b+20>>2];break od}a=b+20|0;t[a+11|0]=10}c=w[315118]|w[315119]<<8;t[a+8|0]=c;t[a+9|0]=c>>>8;c=w[315114]|w[315115]<<8|(w[315116]<<16|w[315117]<<24);b=w[315110]|w[315111]<<8|(w[315112]<<16|w[315113]<<24);t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+10|0]=0;c=1184804;pd:{a=v[296201];if(!a){a=1184804;break pd}while(1){b=v[a+16>>2];qd:{if((b|0)>=738){b=v[a>>2];if(b){break qd}c=a;break pd}if((b|0)==737){break pd}c=a+4|0;b=v[a+4>>2];if(!b){break pd}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=737;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}rd:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break rd}a=b+20|0;t[a+11|0]=6}c=w[314921]|w[314922]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[314917]|w[314918]<<8|(w[314919]<<16|w[314920]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1184804;sd:{a=v[296201];if(!a){a=1184804;break sd}while(1){b=v[a+16>>2];td:{if((b|0)>=870){b=v[a>>2];if(b){break td}c=a;break sd}if((b|0)==869){break sd}c=a+4|0;b=v[a+4>>2];if(!b){break sd}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=869;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}ud:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break ud}a=b+20|0;t[a+11|0]=6}c=w[313694]|w[313695]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[313690]|w[313691]<<8|(w[313692]<<16|w[313693]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1184804;vd:{a=v[296201];if(!a){a=1184804;break vd}while(1){b=v[a+16>>2];wd:{if((b|0)>=1254){b=v[a>>2];if(b){break wd}c=a;break vd}if((b|0)==1253){break vd}c=a+4|0;b=v[a+4>>2];if(!b){break vd}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=1253;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}Te(b+20|0,318850,12);c=1184804;xd:{a=v[296201];if(!a){a=1184804;break xd}while(1){b=v[a+16>>2];yd:{if((b|0)>=28599){b=v[a>>2];if(b){break yd}c=a;break xd}if((b|0)==28598){break xd}c=a+4|0;b=v[a+4>>2];if(!b){break xd}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=28598;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}zd:{if(t[b+31|0]<=-1){v[b+24>>2]=10;a=v[b+20>>2];break zd}a=b+20|0;t[a+11|0]=10}c=w[314555]|w[314556]<<8;t[a+8|0]=c;t[a+9|0]=c>>>8;c=w[314551]|w[314552]<<8|(w[314553]<<16|w[314554]<<24);b=w[314547]|w[314548]<<8|(w[314549]<<16|w[314550]<<24);t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+10|0]=0;c=1184804;Ad:{a=v[296201];if(!a){a=1184804;break Ad}while(1){b=v[a+16>>2];Bd:{if((b|0)>=863){b=v[a>>2];if(b){break Bd}c=a;break Ad}if((b|0)==862){break Ad}c=a+4|0;b=v[a+4>>2];if(!b){break Ad}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=862;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}Cd:{if(t[b+31|0]<=-1){v[b+24>>2]=7;a=v[b+20>>2];break Cd}a=b+20|0;t[a+11|0]=7}c=w[320236]|w[320237]<<8|(w[320238]<<16|w[320239]<<24);t[a+3|0]=c;t[a+4|0]=c>>>8;t[a+5|0]=c>>>16;t[a+6|0]=c>>>24;c=w[320233]|w[320234]<<8|(w[320235]<<16|w[320236]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+7|0]=0;c=1184804;Dd:{a=v[296201];if(!a){a=1184804;break Dd}while(1){b=v[a+16>>2];Ed:{if((b|0)>=1256){b=v[a>>2];if(b){break Ed}c=a;break Dd}if((b|0)==1255){break Dd}c=a+4|0;b=v[a+4>>2];if(!b){break Dd}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=1255;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}Te(b+20|0,316059,12);c=1184804;Fd:{a=v[296201];if(!a){a=1184804;break Fd}while(1){b=v[a+16>>2];Gd:{if((b|0)>=933){b=v[a>>2];if(b){break Gd}c=a;break Fd}if((b|0)==932){break Fd}c=a+4|0;b=v[a+4>>2];if(!b){break Fd}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=932;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}Hd:{if(t[b+31|0]<=-1){v[b+24>>2]=9;a=v[b+20>>2];break Hd}a=b+20|0;t[a+11|0]=9}t[a+8|0]=w[310142];c=w[310138]|w[310139]<<8|(w[310140]<<16|w[310141]<<24);b=w[310134]|w[310135]<<8|(w[310136]<<16|w[310137]<<24);t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+9|0]=0;c=1184804;Id:{a=v[296201];if(!a){a=1184804;break Id}while(1){b=v[a+16>>2];Jd:{if((b|0)>=951){b=v[a>>2];if(b){break Jd}c=a;break Id}if((b|0)==950){break Id}c=a+4|0;b=v[a+4>>2];if(!b){break Id}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=950;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}Kd:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break Kd}a=b+20|0;t[a+11|0]=6}c=w[310565]|w[310566]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[310561]|w[310562]<<8|(w[310563]<<16|w[310564]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1184804;Ld:{a=v[296201];if(!a){a=1184804;break Ld}while(1){b=v[a+16>>2];Md:{if((b|0)>=950){b=v[a>>2];if(b){break Md}c=a;break Ld}if((b|0)==949){break Ld}c=a+4|0;b=v[a+4>>2];if(!b){break Ld}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=949;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}Te(b+20|0,314717,14);c=1184804;Nd:{a=v[296201];if(!a){a=1184804;break Nd}while(1){b=v[a+16>>2];Od:{if((b|0)>=51950){b=v[a>>2];if(b){break Od}c=a;break Nd}if((b|0)==51949){break Nd}c=a+4|0;b=v[a+4>>2];if(!b){break Nd}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=51949;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}Pd:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break Pd}a=b+20|0;t[a+11|0]=6}c=w[310351]|w[310352]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[310347]|w[310348]<<8|(w[310349]<<16|w[310350]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1184804;Qd:{a=v[296201];if(!a){a=1184804;break Qd}while(1){b=v[a+16>>2];Rd:{if((b|0)>=862){b=v[a>>2];if(b){break Rd}c=a;break Qd}if((b|0)==861){break Qd}c=a+4|0;b=v[a+4>>2];if(!b){break Qd}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=861;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}Sd:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break Sd}a=b+20|0;t[a+11|0]=6}c=w[324662]|w[324663]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[324658]|w[324659]<<8|(w[324660]<<16|w[324661]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1184804;Td:{a=v[296201];if(!a){a=1184804;break Td}while(1){b=v[a+16>>2];Ud:{if((b|0)>=866){b=v[a>>2];if(b){break Ud}c=a;break Td}if((b|0)==865){break Td}c=a+4|0;b=v[a+4>>2];if(!b){break Td}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=865;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}Vd:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break Vd}a=b+20|0;t[a+11|0]=6}c=w[315999]|w[316e3]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[315995]|w[315996]<<8|(w[315997]<<16|w[315998]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1184804;Wd:{a=v[296201];if(!a){a=1184804;break Wd}while(1){b=v[a+16>>2];Xd:{if((b|0)>=875){b=v[a>>2];if(b){break Xd}c=a;break Wd}if((b|0)==874){break Wd}c=a+4|0;b=v[a+4>>2];if(!b){break Wd}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=874;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}Te(b+20|0,316514,11);c=1184804;Yd:{a=v[296201];if(!a){a=1184804;break Yd}while(1){b=v[a+16>>2];Zd:{if((b|0)>=28594){b=v[a>>2];if(b){break Zd}c=a;break Yd}if((b|0)==28593){break Yd}c=a+4|0;b=v[a+4>>2];if(!b){break Yd}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=28593;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}_d:{if(t[b+31|0]<=-1){v[b+24>>2]=10;a=v[b+20>>2];break _d}a=b+20|0;t[a+11|0]=10}c=w[319121]|w[319122]<<8;t[a+8|0]=c;t[a+9|0]=c>>>8;c=w[319117]|w[319118]<<8|(w[319119]<<16|w[319120]<<24);b=w[319113]|w[319114]<<8|(w[319115]<<16|w[319116]<<24);t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+10|0]=0;c=1184804;$d:{a=v[296201];if(!a){a=1184804;break $d}while(1){b=v[a+16>>2];ae:{if((b|0)>=28600){b=v[a>>2];if(b){break ae}c=a;break $d}if((b|0)==28599){break $d}c=a+4|0;b=v[a+4>>2];if(!b){break $d}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=28599;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}be:{if(t[b+31|0]<=-1){v[b+24>>2]=10;a=v[b+20>>2];break be}a=b+20|0;t[a+11|0]=10}c=w[313970]|w[313971]<<8;t[a+8|0]=c;t[a+9|0]=c>>>8;c=w[313966]|w[313967]<<8|(w[313968]<<16|w[313969]<<24);b=w[313962]|w[313963]<<8|(w[313964]<<16|w[313965]<<24);t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+10|0]=0;c=1184804;ce:{a=v[296201];if(!a){a=1184804;break ce}while(1){b=v[a+16>>2];de:{if((b|0)>=858){b=v[a>>2];if(b){break de}c=a;break ce}if((b|0)==857){break ce}c=a+4|0;b=v[a+4>>2];if(!b){break ce}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=857;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}ee:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break ee}a=b+20|0;t[a+11|0]=6}c=w[314833]|w[314834]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[314829]|w[314830]<<8|(w[314831]<<16|w[314832]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1184804;fe:{a=v[296201];if(!a){a=1184804;break fe}while(1){b=v[a+16>>2];ge:{if((b|0)>=1255){b=v[a>>2];if(b){break ge}c=a;break fe}if((b|0)==1254){break fe}c=a+4|0;b=v[a+4>>2];if(!b){break fe}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=1254;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}Te(b+20|0,316625,12);c=1184804;he:{a=v[296201];if(!a){a=1184804;break he}while(1){b=v[a+16>>2];ie:{if((b|0)>=28592){b=v[a>>2];if(b){break ie}c=a;break he}if((b|0)==28591){break he}c=a+4|0;b=v[a+4>>2];if(!b){break he}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=28591;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}je:{if(t[b+31|0]<=-1){v[b+24>>2]=10;a=v[b+20>>2];break je}a=b+20|0;t[a+11|0]=10}c=w[325025]|w[325026]<<8;t[a+8|0]=c;t[a+9|0]=c>>>8;c=w[325021]|w[325022]<<8|(w[325023]<<16|w[325024]<<24);b=w[325017]|w[325018]<<8|(w[325019]<<16|w[325020]<<24);t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+10|0]=0;c=1184804;ke:{a=v[296201];if(!a){a=1184804;break ke}while(1){b=v[a+16>>2];le:{if((b|0)>=28606){b=v[a>>2];if(b){break le}c=a;break ke}if((b|0)==28605){break ke}c=a+4|0;b=v[a+4>>2];if(!b){break ke}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=28605;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}Te(b+20|0,316220,11);c=1184804;me:{a=v[296201];if(!a){a=1184804;break me}while(1){b=v[a+16>>2];ne:{if((b|0)>=851){b=v[a>>2];if(b){break ne}c=a;break me}if((b|0)==850){break me}c=a+4|0;b=v[a+4>>2];if(!b){break me}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=850;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}oe:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break oe}a=b+20|0;t[a+11|0]=6}c=w[325462]|w[325463]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[325458]|w[325459]<<8|(w[325460]<<16|w[325461]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1184804;pe:{a=v[296201];if(!a){a=1184804;break pe}while(1){b=v[a+16>>2];qe:{if((b|0)>=859){b=v[a>>2];if(b){break qe}c=a;break pe}if((b|0)==858){break pe}c=a+4|0;b=v[a+4>>2];if(!b){break pe}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=858;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}re:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break re}a=b+20|0;t[a+11|0]=6}c=w[314251]|w[314252]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[314247]|w[314248]<<8|(w[314249]<<16|w[314250]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1184804;se:{a=v[296201];if(!a){a=1184804;break se}while(1){b=v[a+16>>2];te:{if((b|0)>=861){b=v[a>>2];if(b){break te}c=a;break se}if((b|0)==860){break se}c=a+4|0;b=v[a+4>>2];if(!b){break se}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=860;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}ue:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break ue}a=b+20|0;t[a+11|0]=6}c=w[325424]|w[325425]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[325420]|w[325421]<<8|(w[325422]<<16|w[325423]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1184804;ve:{a=v[296201];if(!a){a=1184804;break ve}while(1){b=v[a+16>>2];we:{if((b|0)>=864){b=v[a>>2];if(b){break we}c=a;break ve}if((b|0)==863){break ve}c=a+4|0;b=v[a+4>>2];if(!b){break ve}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=863;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}xe:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break xe}a=b+20|0;t[a+11|0]=6}c=w[318818]|w[318819]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[318814]|w[318815]<<8|(w[318816]<<16|w[318817]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1184804;ye:{a=v[296201];if(!a){a=1184804;break ye}while(1){b=v[a+16>>2];ze:{if((b|0)>=438){b=v[a>>2];if(b){break ze}c=a;break ye}if((b|0)==437){break ye}c=a+4|0;b=v[a+4>>2];if(!b){break ye}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=437;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}Ae:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break Ae}a=b+20|0;t[a+11|0]=6}c=w[314928]|w[314929]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[314924]|w[314925]<<8|(w[314926]<<16|w[314927]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1184804;Be:{a=v[296201];if(!a){a=1184804;break Be}while(1){b=v[a+16>>2];Ce:{if((b|0)>=1253){b=v[a>>2];if(b){break Ce}c=a;break Be}if((b|0)==1252){break Be}c=a+4|0;b=v[a+4>>2];if(!b){break Be}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=1252;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}Te(b+20|0,320295,12);c=1184804;De:{a=v[296201];if(!a){a=1184804;break De}while(1){b=v[a+16>>2];Ee:{if((b|0)>=1259){b=v[a>>2];if(b){break Ee}c=a;break De}if((b|0)==1258){break De}c=a+4|0;b=v[a+4>>2];if(!b){break De}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=1258;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}Te(b+20|0,314274,12);c=1184804;Fe:{a=v[296201];if(!a){a=1184804;break Fe}while(1){b=v[a+16>>2];Ge:{if((b|0)>=65002){b=v[a>>2];if(b){break Ge}c=a;break Fe}if((b|0)==65001){break Fe}c=a+4|0;b=v[a+4>>2];if(!b){break Fe}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=65001;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}He:{if(t[b+31|0]<=-1){v[b+24>>2]=5;a=v[b+20>>2];break He}a=b+20|0;t[a+11|0]=5}t[a+4|0]=w[314545];c=w[314541]|w[314542]<<8|(w[314543]<<16|w[314544]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+5|0]=0;c=1184804;Ie:{a=v[296201];if(!a){a=1184804;break Ie}while(1){b=v[a+16>>2];Je:{if((b|0)>=65001){b=v[a>>2];if(b){break Je}c=a;break Ie}if((b|0)==65e3){break Ie}c=a+4|0;b=v[a+4>>2];if(!b){break Ie}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=65e3;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}Ke:{if(t[b+31|0]<=-1){v[b+24>>2]=5;a=v[b+20>>2];break Ke}a=b+20|0;t[a+11|0]=5}t[a+4|0]=w[315108];c=w[315104]|w[315105]<<8|(w[315106]<<16|w[315107]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+5|0]=0;c=1184804;Le:{a=v[296201];if(!a){a=1184804;break Le}while(1){b=v[a+16>>2];Me:{if((b|0)>=1201){b=v[a>>2];if(b){break Me}c=a;break Le}if((b|0)==1200){break Le}c=a+4|0;b=v[a+4>>2];if(!b){break Le}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=1200;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}Ne:{if(t[b+31|0]<=-1){v[b+24>>2]=8;a=v[b+20>>2];break Ne}a=b+20|0;t[a+11|0]=8}t[a+8|0]=0;t[a|0]=85;t[a+1|0]=84;t[a+2|0]=70;t[a+3|0]=45;t[a+4|0]=49;t[a+5|0]=54;t[a+6|0]=76;t[a+7|0]=69;c=1184804;Oe:{a=v[296201];if(!a){a=1184804;break Oe}while(1){b=v[a+16>>2];Pe:{if((b|0)>=1202){b=v[a>>2];if(b){break Pe}c=a;break Oe}if((b|0)==1201){break Oe}c=a+4|0;b=v[a+4>>2];if(!b){break Oe}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=1201;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}Qe:{if(t[b+31|0]<=-1){v[b+24>>2]=8;a=v[b+20>>2];break Qe}a=b+20|0;t[a+11|0]=8}t[a+8|0]=0;t[a|0]=85;t[a+1|0]=84;t[a+2|0]=70;t[a+3|0]=45;t[a+4|0]=49;t[a+5|0]=54;t[a+6|0]=66;t[a+7|0]=69;c=1184804;Re:{a=v[296201];if(!a){a=1184804;break Re}while(1){b=v[a+16>>2];Se:{if((b|0)>=12001){b=v[a>>2];if(b){break Se}c=a;break Re}if((b|0)==12e3){break Re}c=a+4|0;b=v[a+4>>2];if(!b){break Re}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=12e3;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}Te:{if(t[b+31|0]<=-1){v[b+24>>2]=8;a=v[b+20>>2];break Te}a=b+20|0;t[a+11|0]=8}t[a+8|0]=0;t[a|0]=85;t[a+1|0]=84;t[a+2|0]=70;t[a+3|0]=45;t[a+4|0]=51;t[a+5|0]=50;t[a+6|0]=76;t[a+7|0]=69;c=1184804;Ue:{a=v[296201];if(!a){a=1184804;break Ue}while(1){b=v[a+16>>2];Ve:{if((b|0)>=12002){b=v[a>>2];if(b){break Ve}c=a;break Ue}if((b|0)==12001){break Ue}c=a+4|0;b=v[a+4>>2];if(!b){break Ue}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=12001;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}We:{if(t[b+31|0]<=-1){v[b+24>>2]=8;a=v[b+20>>2];break We}a=b+20|0;t[a+11|0]=8}t[a+8|0]=0;t[a|0]=85;t[a+1|0]=84;t[a+2|0]=70;t[a+3|0]=45;t[a+4|0]=51;t[a+5|0]=50;t[a+6|0]=66;t[a+7|0]=69;c=1184804;Xe:{a=v[296201];if(!a){a=1184804;break Xe}while(1){b=v[a+16>>2];Ye:{if((b|0)>=10001){b=v[a>>2];if(b){break Ye}c=a;break Xe}if((b|0)==1e4){break Xe}c=a+4|0;b=v[a+4>>2];if(!b){break Xe}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=1e4;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[296200]>>2];if(a){v[296200]=a;a=v[c>>2]}else{a=b}Ob(v[296201],a);v[296202]=v[296202]+1}Ze:{if(t[b+31|0]<=-1){v[b+24>>2]=9;a=v[b+20>>2];break Ze}a=b+20|0;t[a+11|0]=9}t[a+8|0]=w[269533];c=w[269529]|w[269530]<<8|(w[269531]<<16|w[269532]<<24);b=w[269525]|w[269526]<<8|(w[269527]<<16|w[269528]<<24);t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+9|0]=0;t[1184812]=0;t[1184823]=0}function i3(a,b,c){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,p=0,q=0,r=0,s=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,O=0,S=C(0),Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0;a:{b:{c:{d:{e:{switch(c-1|0){case 0:c=ab(976);E=Ge(c,1);v[c>>2]=39340;Mi(E,a);d=Ma+-64|0;Ma=d;i=Sk(c,b);f:{if(i){break f}e=(v[c+32>>2]+v[c+12>>2]|0)+(v[c+44>>2]<<2)|0;u[d+54>>1]=0;u[d+56>>1]=0;f=v[c+12>>2];h=v[c+44>>2]<<2;u[d+48>>1]=w[c+494|0]?19778:5063245;e=pj(c,e+14|0);u[d+50>>1]=e;u[d+52>>1]=e>>>16;e=pj(c,(f+h|0)+14|0);u[d+58>>1]=e;u[d+60>>1]=e>>>16;if(!(v[c+44>>2]|!v[c+964>>2])){e=v[c+32>>2];v[d+24>>2]=v[c+28>>2];v[d+28>>2]=e;e=v[c+24>>2];f=v[c+20>>2];v[d+16>>2]=f;v[d+20>>2]=e;e=v[c+48>>2];v[d+40>>2]=v[c+44>>2];v[d+44>>2]=e;e=v[c+40>>2];v[d+32>>2]=v[c+36>>2];v[d+36>>2]=e;h=v[c+16>>2];e=v[c+12>>2];v[d+24>>2]=0;v[d+8>>2]=e;v[d+12>>2]=h;u[d+22>>1]=32;f=B((v[d+12>>2]<<5|31)/32|0,f)<<2;v[d+28>>2]=f;e=pj(c,(e+f|0)+14|0);u[d+50>>1]=e;u[d+52>>1]=e>>>16;e=d+8|0;up(c,e);Qa[v[v[b>>2]+16>>2]](b,d+48|0,14,1)|0;Qa[v[v[b>>2]+16>>2]](b,e,40,1)|0;j=HC(c);if(v[d+16>>2]<=0){break f}while(1){f=0;e=Ud(c,m);if(v[d+12>>2]>0){while(1){Qa[v[v[b>>2]+16>>2]](b,e,3,1)|0;Qa[v[v[b>>2]+16>>2]](b,j,1,1)|0;j=j+1|0;e=e+3|0;f=f+1|0;if((f|0)>2]){continue}break}}m=m+1|0;if((m|0)>2]){continue}break}break f}Qa[v[v[b>>2]+16>>2]](b,d+48|0,14,1)|0;f=w[c+16|0]|w[c+17|0]<<8|(w[c+18|0]<<16|w[c+19|0]<<24);e=v[c+4>>2];h=w[c+12|0]|w[c+13|0]<<8|(w[c+14|0]<<16|w[c+15|0]<<24);t[e|0]=h;t[e+1|0]=h>>>8;t[e+2|0]=h>>>16;t[e+3|0]=h>>>24;t[e+4|0]=f;t[e+5|0]=f>>>8;t[e+6|0]=f>>>16;t[e+7|0]=f>>>24;f=w[c+48|0]|w[c+49|0]<<8|(w[c+50|0]<<16|w[c+51|0]<<24);h=w[c+44|0]|w[c+45|0]<<8|(w[c+46|0]<<16|w[c+47|0]<<24);t[e+32|0]=h;t[e+33|0]=h>>>8;t[e+34|0]=h>>>16;t[e+35|0]=h>>>24;t[e+36|0]=f;t[e+37|0]=f>>>8;t[e+38|0]=f>>>16;t[e+39|0]=f>>>24;f=w[c+40|0]|w[c+41|0]<<8|(w[c+42|0]<<16|w[c+43|0]<<24);h=w[c+36|0]|w[c+37|0]<<8|(w[c+38|0]<<16|w[c+39|0]<<24);t[e+24|0]=h;t[e+25|0]=h>>>8;t[e+26|0]=h>>>16;t[e+27|0]=h>>>24;t[e+28|0]=f;t[e+29|0]=f>>>8;t[e+30|0]=f>>>16;t[e+31|0]=f>>>24;f=w[c+32|0]|w[c+33|0]<<8|(w[c+34|0]<<16|w[c+35|0]<<24);h=w[c+28|0]|w[c+29|0]<<8|(w[c+30|0]<<16|w[c+31|0]<<24);t[e+16|0]=h;t[e+17|0]=h>>>8;t[e+18|0]=h>>>16;t[e+19|0]=h>>>24;t[e+20|0]=f;t[e+21|0]=f>>>8;t[e+22|0]=f>>>16;t[e+23|0]=f>>>24;f=w[c+24|0]|w[c+25|0]<<8|(w[c+26|0]<<16|w[c+27|0]<<24);h=w[c+20|0]|w[c+21|0]<<8|(w[c+22|0]<<16|w[c+23|0]<<24);t[e+8|0]=h;t[e+9|0]=h>>>8;t[e+10|0]=h>>>16;t[e+11|0]=h>>>24;t[e+12|0]=f;t[e+13|0]=f>>>8;t[e+14|0]=f>>>16;t[e+15|0]=f>>>24;up(c,v[c+4>>2]);Qa[v[v[b>>2]+16>>2]](b,v[c+4>>2],(v[c+32>>2]+v[c+12>>2]|0)+(v[c+44>>2]<<2)|0,1)|0;up(c,v[c+4>>2])}Ma=d- -64|0;if(i^1){break d}break c;case 4:c=ab(980);E=Ge(c,5);v[c+976>>2]=0;v[c>>2]=39384;Mi(E,a);h=Ma-1104|0;Ma=h;g:{if(Sk(c,b)){break g}k=x[c+26>>1];f=v[c+4>>2];d=f?v[c+44>>2]?f+40|0:0:0;if(d?0:k>>>0<=8){break g}e=v[c+20>>2];f=v[c+16>>2];g=v[c+32>>2];n=v[c+964>>2]!=0;i=v[c+44>>2];u[h+1100>>1]=1;v[h+1096>>2]=65536;n=n&!i;g=n?B(e,f)<<2:g;v[c+976>>2]=22;v[h+1092>>2]=22;k=n?32:k;u[h+1086>>1]=k;u[h+1084>>1]=0;t[h+1083|0]=0;t[h+1080|0]=f;t[h+1082|0]=i;m=(f+31|0)/32<<2;l=B(m,e);j=(g+(l+(i<<2)|0)|0)+40|0;v[h+1088>>2]=j;t[h+1081|0]=e;i=h+1072|0;v[i>>2]=0;v[i+4>>2]=0;v[h+1064>>2]=0;v[h+1068>>2]=0;v[h+1060>>2]=g;v[h+1056>>2]=0;u[h+1054>>1]=k;u[h+1052>>1]=1;v[h+1048>>2]=e<<1;v[h+1044>>2]=f;v[h+1040>>2]=40;k=cv(h- -64|0,c,1);i=DL(h+32|0,0,0);if(!(v[c+20>>2]<256&v[c+16>>2]<=255)){u[h+1080>>1]=0;T4(i);i3(k,i,4);j=v[i+4>>2]?v[i+8>>2]:-1;v[h+1088>>2]=j}e=u[h+1098>>1];u[h+1098>>1]=w[c+494|0]?e:e<<8|(e&65280)>>>8;e=u[h+1100>>1];u[h+1100>>1]=w[c+494|0]?e:e<<8|(e&65280)>>>8;Qa[v[v[b>>2]+16>>2]](b,h+1096|0,6,1)|0;e=u[h+1098>>1];u[h+1098>>1]=w[c+494|0]?e:e<<8|(e&65280)>>>8;e=u[h+1100>>1];u[h+1100>>1]=w[c+494|0]?e:e<<8|(e&65280)>>>8;e=u[h+1084>>1];u[h+1084>>1]=w[c+494|0]?e:e<<8|(e&65280)>>>8;e=u[h+1086>>1];u[h+1086>>1]=w[c+494|0]?e:e<<8|(e&65280)>>>8;ga=h,ha=pj(c,v[h+1088>>2]),v[ga+1088>>2]=ha;ga=h,ha=pj(c,v[h+1092>>2]),v[ga+1092>>2]=ha;Qa[v[v[b>>2]+16>>2]](b,h+1080|0,16,1)|0;e=u[h+1084>>1];u[h+1084>>1]=w[c+494|0]?e:e<<8|(e&65280)>>>8;e=u[h+1086>>1];u[h+1086>>1]=w[c+494|0]?e:e<<8|(e&65280)>>>8;ga=h,ha=pj(c,v[h+1088>>2]),v[ga+1088>>2]=ha;ga=h,ha=pj(c,v[h+1092>>2]),v[ga+1092>>2]=ha;v[c+976>>2]=v[c+976>>2]+j;h:{if(!(w[h+1080|0]|w[h+1081|0])){Qa[v[v[b>>2]+16>>2]](b,v[i+4>>2],j,1)|0;e=1;break h}e=h+1040|0;up(c,e);Qa[v[v[b>>2]+16>>2]](b,e,40,1)|0;up(c,e);q=v[c+336>>2];gE(h+28|0,c);i:{if(!d){break i}if((q|0)>=0){Rn(c,w[c+336|0],0,0,0,0);Qa[v[v[b>>2]+16>>2]](b,d,v[c+44>>2]<<2,1)|0;e=w[c+336|0];f=v[h+28>>2];v[h+24>>2]=f;v[h+12>>2]=f;ax(c,e,h+12|0);break i}Qa[v[v[b>>2]+16>>2]](b,d,v[c+44>>2]<<2,1)|0}j:{if(!(v[c+44>>2]|!v[c+964>>2])){d=gb(g);j=0;if(v[c+20>>2]>0){e=d;while(1){f=Ud(c,j);n=0;if(v[c+16>>2]>0){while(1){t[e|0]=w[f|0];t[e+1|0]=w[f+1|0];t[e+2|0]=w[f+2|0];ga=e,ha=Wk(c,n,j),t[ga+3|0]=ha;e=e+4|0;f=f+3|0;n=n+1|0;if((n|0)>2]){continue}break}}j=j+1|0;if((j|0)>2]){continue}break}}Qa[v[v[b>>2]+16>>2]](b,d,g,1)|0;$a(d);break j}Qa[v[v[b>>2]+16>>2]](b,v[c+56>>2],g,1)|0}d=Yb(l,1);if(d){o=jM(c);g=v[c+964>>2]!=0;k:{if(v[c+20>>2]<1){break k}n=v[c+16>>2];if((n|0)<1){break k}f=0;while(1){l:{if((n|0)<1){break l}j=d+B(f,m)|0;e=0;if(o){while(1){n=0;if(g){n=!Wk(c,e,f)}s=h+16|0;Mm(s,c,e,f,1);p=w[h+19|0];pp(s,c,e,f,0);s=j+(e>>>3|0)|0;F=(e^-1)&7;J=w[s|0]&C3a(-2,F);n=p?n:1;t[s|0]=((q|0)>-1?v[h+16>>2]==v[h+28>>2]?1:n:n)<>2];if((e|0)<(n|0)){continue}break l}}while(1){n=0;if(g){n=!Wk(c,e,f)}pp(h+16|0,c,e,f,0);s=j+(e>>>3|0)|0;p=(e^-1)&7;F=w[s|0]&C3a(-2,p);t[s|0]=((q|0)>-1?v[h+16>>2]==v[h+28>>2]?1:n:n)<>2];if((e|0)<(n|0)){continue}break}}f=f+1|0;if((f|0)>2]){continue}break}}Qa[v[v[b>>2]+16>>2]](b,d,l,1)|0;$a(d);e=1;break h}e=0}kC(i);v[k>>2]=1032;Tg(k);Cg(k)}Ma=h+1104|0;if(e){break d}break c;case 5:c=ab(988);E=Ge(c,6);v[c+984>>2]=0;t[c+980|0]=0;v[c+976>>2]=0;v[c>>2]=54292;Mi(E,a);m:{n:{o:{p:{if(!b){Sb(c+72|0,33069,255);break p}if(!v[c+4>>2]){Sb(c+72|0,35394,255);break p}q:{e=v[c+976>>2];if(e){break q}e=u4(b,36520);v[c+976>>2]=e;if(e){break q}Sb(c+72|0,37534,255);break p}f=v[c+984>>2];if(f){t[c+980|0]=1;n=1}else{n=w[c+980|0]!=0}g=f+1|0;v[c+984>>2]=g;d=e;f=Ma-1456|0;Ma=f;h=x[c+26>>1];e=(h|0)==24;b=e?3:(h|0)==32?3:1;q=v[c+16>>2];l=v[c+20>>2];r:{s:{t:{if(e){e=v[c+964>>2]!=0;h=e?32:24;b=e?4:b;k=(h>>>0)/(b>>>0)|0;break t}k=(h>>>0)/(b>>>0)|0;e=v[c+4>>2];e=e?v[c+44>>2]?e+40|0:0:0;u:{switch(h-1|0){case 0:if((BQ(e,e+4|0)|0)>-1){h=1;break r}Qf(f+416|0,c,0);h=1;Qf(f+1448|0,c,1);v[f+380>>2]=v[f+1448>>2];ax(c,0,f+380|0);e=v[f+416>>2];v[f+1444>>2]=e;v[f+376>>2]=e;ax(c,1,f+376|0);if(v[c+32>>2]){e=v[c+56>>2];while(1){t[e|0]=w[e|0]^-1;e=e+1|0;r=r+1|0;if(r>>>0>2]){continue}break}}r=0;break r;case 31:break t;case 3:case 7:break u;default:break r}}m=v[c+44>>2];if(!m){r=1;break r}while(1){r=3;j=w[e+2|0];if((j|0)!=(i|0)){i=1;break r}if((j|0)!=w[e+1|0]){i=1;break r}if((j|0)!=w[e|0]){i=1;break r}e=e+4|0;r=1;i=i+1|0;if((m|0)!=(i|0)){continue}break}break s}r=2}i=0}j=v[c+964>>2]?(h|0)==8?2:b:b;b=v[c+4>>2];v:{if(!(b?v[c+44>>2]?b+40|0:0:0)){break v}b=v[c+4>>2];e=v[c+44>>2];cb(f+416|0,b?e?b+40|0:0:0,e<<2);m=v[c+44>>2];if(!m){break v}e=0;b=0;while(1){e=(f+416|0)+(e<<2)|0;o=w[e+2|0];t[e+2|0]=w[e|0];t[e|0]=o;b=b+1|0;e=b&65535;if(m>>>0>e>>>0){continue}break}}v[f+368>>2]=q;Kc(d,256,f+368|0);v[f+352>>2]=l;Kc(d,257,f+352|0);v[f+336>>2]=j;Kc(d,277,f+336|0);v[f+320>>2]=k;Kc(d,258,f+320|0);v[f+304>>2]=r;Kc(d,262,f+304|0);v[f+288>>2]=1;Kc(d,284,f+288|0);v[f+272>>2]=1;Kc(d,274,f+272|0);o=Qa[v[d+576>>2]](d,-1)|0;v[f+256>>2]=o;Kc(d,278,f+256|0);v[f+240>>2]=2;Kc(d,296,f+240|0);A[f+224>>3]=C(v[c+364>>2]);Kc(d,282,f+224|0);A[f+208>>3]=C(v[c+368>>2]);Kc(d,283,f+208|0);w:{if(n){v[f+176>>2]=g;b=f+384|0;Dc(b,44907,f+176|0);v[f+160>>2]=2;Kc(d,254,f+160|0);v[f+148>>2]=g;v[f+144>>2]=g;Kc(d,297,f+144|0);v[f+128>>2]=b;Kc(d,285,f+128|0);break w}v[f+192>>2]=0;Kc(d,254,f+192|0)}if(i){i=gb(1536);g=i+1024|0;k=i+512|0;b=255;while(1){e=b;n=e<<1;m=(f+416|0)+(e<<2)|0;u[n+g>>1]=B(w[m+2|0],257);u[k+n>>1]=B(w[m+1|0],257);u[i+n>>1]=B(w[m|0],257);b=e-1|0;if(e){continue}break}v[f+120>>2]=g;v[f+116>>2]=k;v[f+112>>2]=i;Kc(d,320,f+112|0);$a(i)}x:{y:{z:{A:{B:{if(!Tm(c,6)){e=4;C:{switch(h-1|0){default:e=1;break;case 3:case 7:break z;case 23:case 31:break B;case 0:break C}}v[f>>2]=e;Kc(d,259,f);break x}b=Tm(c,6)&65535;v[f+96>>2]=b;Kc(d,259,f+96|0);switch(b-5|0){case 0:break y;case 2:break A;default:break x}}v[f+80>>2]=7;Kc(d,259,f+80|0)}b=f;S=C(z[c+344>>2]+C(.5));D:{if(S=C(0)){e=~~S>>>0;break D}e=0}v[b+64>>2]=e;Kc(d,65537,f- -64|0);v[f+48>>2]=o+7&-8;Kc(d,278,f+48|0);break x}v[f+32>>2]=5;Kc(d,259,f+32|0)}if(h>>>0<8){break x}v[f+16>>2]=2;Kc(d,317,f+16|0)}e=1;E:{F:{G:{switch(h-1|0){case 0:case 3:case 7:if((j|0)==1){b=v[c+52>>2];i=gb(b);if(!i){e=0;break E}g=1;if(!l){break F}e=0;while(1){H:{b=jx(d,cb(i,v[c+56>>2]+B(l+(e^-1)|0,b)|0,b),e);if((b|0)==-1){break H}e=e+1|0;if((l|0)==(e|0)){break H}b=v[c+52>>2];continue}break}g=(b|0)!=-1;break F}i=gb(q<<1);if(!i){e=0;break E}g=1;if(!l){break F}h=0;while(1){if(q){b=l+(h^-1)|0;e=0;while(1){g=(e<<1)+i|0;ga=g,ha=qp(c,e,b),t[ga|0]=ha;ga=g,ha=Wk(c,e,b),t[ga+1|0]=ha;e=e+1|0;if((q|0)!=(e|0)){continue}break}}b=jx(d,i,h);if((b|0)!=-1){h=h+1|0;if((l|0)!=(h|0)){continue}}break};g=(b|0)!=-1;break F;case 23:e=v[c+52>>2];i=gb(e);if(!i){e=0;break E}g=1;if(!l){break F}k=q&-4;n=q&3;j=q-1>>>0<3;h=0;while(1){g=cb(i,v[c+56>>2]+B(l+(h^-1)|0,e)|0,e);I:{if(!q){break I}e=g;b=k;if(!j){while(1){m=w[e+2|0];t[e+2|0]=w[e|0];t[e|0]=m;m=w[e+3|0];t[e+3|0]=w[e+5|0];t[e+5|0]=m;m=w[e+6|0];t[e+6|0]=w[e+8|0];t[e+8|0]=m;m=w[e+9|0];t[e+9|0]=w[e+11|0];t[e+11|0]=m;e=e+12|0;b=b-4|0;if(b){continue}break}}b=n;if(!b){break I}while(1){m=w[e+2|0];t[e+2|0]=w[e|0];t[e|0]=m;e=e+3|0;b=b-1|0;if(b){continue}break}}J:{b=jx(d,g,h);if((b|0)==-1){break J}h=h+1|0;if((l|0)==(h|0)){break J}e=v[c+52>>2];continue}break};g=(b|0)!=-1;break F;case 31:break G;default:break E}}e=v[c+52>>2];i=gb((e<<2>>>0)/3|0);if(!i){e=0;break E}g=1;if(!l){break F}g=(q<<2)+i|0;k=B(q,3)+i|0;h=0;while(1){j=l+(h^-1)|0;m=cb(i,v[c+56>>2]+B(j,e)|0,e);e=g;b=k;r=0;if(q){while(1){ga=e-1|0,ha=Wk(c,q+(r^-1)|0,j),t[ga|0]=ha;n=b-3|0;t[e-2|0]=w[n|0];t[e-3|0]=w[b-2|0];e=e-4|0;t[e|0]=w[b-1|0];b=n;r=r+1|0;if((q|0)!=(r|0)){continue}break}}K:{b=jx(d,m,h);if((b|0)==-1){break K}h=h+1|0;if((l|0)==(h|0)){break K}e=v[c+52>>2];continue}break}g=(b|0)!=-1}e=g;$a(i)}Ma=f+1456|0;if(!e){Sb(c+72|0,38595,255);break p}b=v[c+976>>2];break o}b=0;e=v[c+976>>2];if(!e){break m}Pr(e);t[c+980|0]=0;v[c+976>>2]=0;f=c+984|0;b=0;break n}f=c+984|0;Pr(b);t[c+980|0]=0;v[c+976>>2]=0;b=1}v[f>>2]=0}if(b){break d}break c;case 2:E=ab(1e3);c=SM(E);Mi(c,a);l=Ma-800|0;Ma=l;r=gb(40);v[r>>2]=0;v[296803]=0;f=Sk(c,b);e=v[296803];v[296803]=0;i=-1;k=4;L:{M:{N:{if(!e){break N}d=v[296804];if(!d){break N}i=pb(v[e>>2],r,4);if(!i){break M}Q(d|0)}e=P()|0;O:{P:{if((i|0)==1){break P}e=0;if(f){break O}Q:{s=c+44|0;if(!v[s>>2]){break Q}v[296803]=0;f=jp(c);e=v[296803];v[296803]=0;i=-1;R:{if(!e){break R}d=v[296804];if(!d){break R}i=pb(v[e>>2],r,4);if(!i){break M}Q(d|0)}e=P()|0;if((i|0)==1){break P}if(f){break Q}b=w[5258]|w[5259]<<8|(w[5260]<<16|w[5261]<<24);t[c+111|0]=b;t[c+112|0]=b>>>8;t[c+113|0]=b>>>16;t[c+114|0]=b>>>24;b=w[5255]|w[5256]<<8|(w[5257]<<16|w[5258]<<24);e=w[5251]|w[5252]<<8|(w[5253]<<16|w[5254]<<24);t[c+104|0]=e;t[c+105|0]=e>>>8;t[c+106|0]=e>>>16;t[c+107|0]=e>>>24;t[c+108|0]=b;t[c+109|0]=b>>>8;t[c+110|0]=b>>>16;t[c+111|0]=b>>>24;b=w[5247]|w[5248]<<8|(w[5249]<<16|w[5250]<<24);e=w[5243]|w[5244]<<8|(w[5245]<<16|w[5246]<<24);t[c+96|0]=e;t[c+97|0]=e>>>8;t[c+98|0]=e>>>16;t[c+99|0]=e>>>24;t[c+100|0]=b;t[c+101|0]=b>>>8;t[c+102|0]=b>>>16;t[c+103|0]=b>>>24;b=w[5239]|w[5240]<<8|(w[5241]<<16|w[5242]<<24);e=w[5235]|w[5236]<<8|(w[5237]<<16|w[5238]<<24);t[c+88|0]=e;t[c+89|0]=e>>>8;t[c+90|0]=e>>>16;t[c+91|0]=e>>>24;t[c+92|0]=b;t[c+93|0]=b>>>8;t[c+94|0]=b>>>16;t[c+95|0]=b>>>24;b=w[5231]|w[5232]<<8|(w[5233]<<16|w[5234]<<24);e=w[5227]|w[5228]<<8|(w[5229]<<16|w[5230]<<24);t[c+80|0]=e;t[c+81|0]=e>>>8;t[c+82|0]=e>>>16;t[c+83|0]=e>>>24;t[c+84|0]=b;t[c+85|0]=b>>>8;t[c+86|0]=b>>>16;t[c+87|0]=b>>>24;b=w[5223]|w[5224]<<8|(w[5225]<<16|w[5226]<<24);e=w[5219]|w[5220]<<8|(w[5221]<<16|w[5222]<<24);t[c+72|0]=e;t[c+73|0]=e>>>8;t[c+74|0]=e>>>16;t[c+75|0]=e>>>24;t[c+76|0]=b;t[c+77|0]=b>>>8;t[c+78|0]=b>>>16;t[c+79|0]=b>>>24;e=0;break O}e=v[v[b>>2]+24>>2];v[296803]=0;q=T(e|0,b|0)|0;e=v[296803];v[296803]=0;i=-1;S:{if(!e){break S}d=v[296804];if(!d){break S}i=pb(v[e>>2],r,4);if(!i){break M}Q(d|0)}e=P()|0;if((i|0)==1){break P}v[296803]=0;H=c+72|0;v[l+360>>2]=H;f=cp(l+72|0);e=v[296803];v[296803]=0;i=-1;T:{if(!e){break T}d=v[296804];if(!d){break T}i=pb(v[e>>2],r,4);if(!i){break M}Q(d|0)}h=l+360|0;e=P()|0;if((i|0)==1){break P}v[l+72>>2]=6;v[l+368>>2]=f;r=be(l+204|0,1,r,4);k=P()|0;e=0}U:while(1){V:{f=e;if(e){e=v[h>>2];v[296803]=0;od(H,e);e=v[296803];v[296803]=0;i=-1;W:{if(!e){break W}d=v[296804];if(!d){break W}i=pb(v[e>>2],r,k);if(!i){break M}Q(d|0)}e=P()|0;if((i|0)==1){continue}v[296803]=0;U(40,l+368|0);e=v[296803];v[296803]=0;i=-1;X:{if(!e){break X}d=v[296804];if(!d){break X}i=pb(v[e>>2],r,k);if(!i){break M}Q(d|0)}e=P()|0;if((i|0)==1){continue}break V}v[296803]=0;X(41,l+368|0,80,432);e=v[296803];v[296803]=0;i=-1;Y:{if(!e){break Y}d=v[296804];if(!d){break Y}i=pb(v[e>>2],r,k);if(!i){break M}Q(d|0)}e=P()|0;if((i|0)==1){continue}v[l+52>>2]=7;v[l+48>>2]=8;v[l+44>>2]=9;v[l+40>>2]=10;v[l+36>>2]=11;v[l+24>>2]=12;v[l+20>>2]=13;v[l+16>>2]=14;v[l+56>>2]=b;v[l+28>>2]=0;v[l+32>>2]=0;v[296803]=0;g=T(15,4096)|0;e=v[296803];v[296803]=0;i=-1;Z:{if(!e){break Z}d=v[296804];if(!d){break Z}i=pb(v[e>>2],r,k);if(!i){break M}Q(d|0)}e=P()|0;if((i|0)==1){continue}v[l+60>>2]=g;v[296803]=0;v[l+392>>2]=l+8;g=v[c+16>>2];e=v[296803];v[296803]=0;i=-1;_:{if(!e){break _}d=v[296804];if(!d){break _}i=pb(v[e>>2],r,k);if(!i){break M}Q(d|0)}e=P()|0;if((i|0)==1){continue}v[296803]=0;v[l+396>>2]=g;g=v[c+20>>2];e=v[296803];v[296803]=0;i=-1;$:{if(!e){break $}d=v[296804];if(!d){break $}i=pb(v[e>>2],r,k);if(!i){break M}Q(d|0)}e=P()|0;if((i|0)==1){continue}v[296803]=0;v[l+400>>2]=g;g=jp(c);e=v[296803];v[296803]=0;i=-1;aa:{if(!e){break aa}d=v[296804];if(!d){break aa}i=pb(v[e>>2],r,k);if(!i){break M}Q(d|0)}e=P()|0;if((i|0)==1){continue}v[296803]=0;v[l+408>>2]=g?1:2;v[l+404>>2]=g?1:3;U(43,l+368|0);e=v[296803];v[296803]=0;i=-1;ba:{if(!e){break ba}d=v[296804];if(!d){break ba}i=pb(v[e>>2],r,k);if(!i){break M}Q(d|0)}e=P()|0;if((i|0)==1){continue}v[296803]=0;i=Tm(c,3);e=v[296803];v[296803]=0;m=-1;ca:{if(!e){break ca}d=v[296804];if(!d){break ca}m=pb(v[e>>2],r,k);if(!m){break M}Q(d|0)}e=P()|0;if((m|0)==1){continue}if(i&2){v[l+580>>2]=1}if(i&8){v[l+584>>2]=1}if(i&4){v[296803]=0;R(44,l+368|0,1);e=v[296803];v[296803]=0;m=-1;da:{if(!e){break da}d=v[296804];if(!d){break da}m=pb(v[e>>2],r,k);if(!m){break M}Q(d|0)}e=P()|0;if((m|0)==1){continue}}if(i&64){v[l+596>>2]=v[c+988>>2]}v[296803]=0;S=C(z[c+344>>2]+C(.5));ea:{if(S=C(0)){g=~~S>>>0;break ea}g=0}e=v[296803];v[296803]=0;m=-1;fa:{if(!e){break fa}d=v[296804];if(!d){break fa}m=pb(v[e>>2],r,k);if(!m){break M}Q(d|0)}e=P()|0;if((m|0)==1){continue}v[296803]=0;X(45,l+368|0,g|0,i&1);e=v[296803];v[296803]=0;m=-1;ga:{if(!e){break ga}d=v[296804];if(!d){break ga}m=pb(v[e>>2],r,k);if(!m){break M}Q(d|0)}e=P()|0;if((m|0)==1){continue}if(i&16){v[296803]=0;U(46,l+368|0);e=v[296803];v[296803]=0;m=-1;ha:{if(!e){break ha}d=v[296804];if(!d){break ha}m=pb(v[e>>2],r,k);if(!m){break M}Q(d|0)}e=P()|0;if((m|0)==1){continue}}e=v[l+452>>2];v[e+8>>2]=2;v[e+12>>2]=2;v[e+184>>2]=1;v[e+188>>2]=1;v[e+96>>2]=1;v[e+100>>2]=1;if(i&4096){v[e+184>>2]=1;v[e+188>>2]=1;v[e+96>>2]=1;v[e+100>>2]=1;v[e+8>>2]=2;v[e+12>>2]=1}if(i&8192){v[e+184>>2]=1;v[e+188>>2]=1;v[e+96>>2]=1;v[e+100>>2]=1;v[e+8>>2]=1;v[e+12>>2]=1}v[296803]=0;t[l+618|0]=1;g=v[c+364>>2];e=v[296803];v[296803]=0;i=-1;ia:{if(!e){break ia}d=v[296804];if(!d){break ia}i=pb(v[e>>2],r,k);if(!i){break M}Q(d|0)}e=P()|0;if((i|0)==1){continue}v[296803]=0;u[l+620>>1]=g;g=v[c+368>>2];e=v[296803];v[296803]=0;i=-1;ja:{if(!e){break ja}d=v[296804];if(!d){break ja}i=pb(v[e>>2],r,k);if(!i){break M}Q(d|0)}e=P()|0;if((i|0)==1){continue}v[296803]=0;u[l+622>>1]=g;R(48,l+368|0,1);e=v[296803];v[296803]=0;i=-1;ka:{if(!e){break ka}d=v[296804];if(!d){break ka}i=pb(v[e>>2],r,k);if(!i){break M}Q(d|0)}e=P()|0;if((i|0)==1){continue}e=v[v[l+372>>2]+8>>2];j=v[c+52>>2];v[296803]=0;o=V(e|0,l+368|0,1,j+8|0,1)|0;e=v[296803];v[296803]=0;i=-1;la:{if(!e){break la}d=v[296804];if(!d){break la}i=pb(v[e>>2],r,k);if(!i){break M}Q(d|0)}e=P()|0;if((i|0)==1){continue}v[296803]=0;Ud(c,0);e=v[296803];v[296803]=0;i=-1;ma:{if(!e){break ma}d=v[296804];if(!d){break ma}i=pb(v[e>>2],r,k);if(!i){break M}Q(d|0)}e=P()|0;if((i|0)==1){continue}v[296803]=0;g=v[c+20>>2];e=v[296803];v[296803]=0;i=-1;na:{if(!e){break na}d=v[296804];if(!d){break na}i=pb(v[e>>2],r,k);if(!i){break M}Q(d|0)}e=P()|0;if((i|0)==1){continue}v[296803]=0;m=Ud(c,0);e=v[296803];v[296803]=0;i=-1;oa:{if(!e){break oa}d=v[296804];if(!d){break oa}i=pb(v[e>>2],r,k);if(!i){break M}Q(d|0)}e=P()|0;if((i|0)==1){continue}v[296803]=0;p=v[c+52>>2];e=v[296803];v[296803]=0;i=-1;pa:{if(!e){break pa}d=v[296804];if(!d){break pa}i=pb(v[e>>2],r,k);if(!i){break M}Q(d|0)}e=P()|0;if((i|0)==1){continue}v[296803]=0;F=v[c+20>>2];e=v[296803];v[296803]=0;i=-1;qa:{if(!e){break qa}d=v[296804];if(!d){break qa}i=pb(v[e>>2],r,k);if(!i){break M}Q(d|0)}e=P()|0;if((i|0)==1){continue}n=-1;ra:{if(y[l+628>>2]>=y[l+400>>2]){break ra}i=g-1|0;if((j|0)<1){while(1){if(!v[s>>2]){e=v[o>>2];v[296803]=0;lp(c,e,j);e=v[296803];v[296803]=0;g=-1;sa:{if(!e){break sa}d=v[296804];if(!d){break sa}g=pb(v[e>>2],r,k);if(!g){break M}Q(d|0)}e=P()|0;if((g|0)==1){continue U}}if((i|0)>=1){v[296803]=0;e=v[296803];v[296803]=0;g=-1;ta:{if(!e){break ta}d=v[296804];if(!d){break ta}g=pb(v[e>>2],r,k);if(!g){break M}Q(d|0)}e=P()|0;if((g|0)==1){continue U}}v[296803]=0;W(49,l+368|0,o|0,1)|0;e=v[296803];v[296803]=0;g=-1;ua:{if(!e){break ua}d=v[296804];if(!d){break ua}g=pb(v[e>>2],r,k);if(!g){break M}Q(d|0)}e=P()|0;if((g|0)==1){continue U}i=i-1|0;if(y[l+628>>2]>2]){continue}break ra}}g=m+B(p,F-1|0)|0;while(1){va:{if(!g){break va}F=v[o>>2];if(!F){break va}v[296803]=0;p=v[c+52>>2];e=v[296803];v[296803]=0;m=-1;wa:{if(!e){break wa}d=v[296804];if(!d){break wa}m=pb(v[e>>2],r,k);if(!m){break M}Q(d|0)}e=P()|0;if((m|0)==1){continue U}cb(F,g,(j|0)>(p|0)?p:j)}if(!v[s>>2]){e=v[o>>2];v[296803]=0;lp(c,e,j);e=v[296803];v[296803]=0;m=-1;xa:{if(!e){break xa}d=v[296804];if(!d){break xa}m=pb(v[e>>2],r,k);if(!m){break M}Q(d|0)}e=P()|0;if((m|0)==1){continue U}}if((i|0)>=1){v[296803]=0;p=v[c+52>>2];e=v[296803];v[296803]=0;m=-1;ya:{if(!e){break ya}d=v[296804];if(!d){break ya}m=pb(v[e>>2],r,k);if(!m){break M}Q(d|0)}e=P()|0;if((m|0)==1){continue U}g=g-p|0}v[296803]=0;W(49,l+368|0,o|0,1)|0;e=v[296803];v[296803]=0;m=-1;za:{if(!e){break za}d=v[296804];if(!d){break za}m=pb(v[e>>2],r,k);if(!m){break M}Q(d|0)}e=P()|0;if((m|0)==1){continue U}i=i-1|0;if(y[l+628>>2]>2]){continue}break}}v[296803]=0;U(50,l+368|0);e=v[296803];v[296803]=0;Aa:{if(!e){break Aa}d=v[296804];if(!d){break Aa}n=pb(v[e>>2],r,k);if(!n){break M}Q(d|0)}e=P()|0;if((n|0)==1){continue}v[296803]=0;U(40,l+368|0);e=v[296803];v[296803]=0;i=-1;Ba:{if(!e){break Ba}d=v[296804];if(!d){break Ba}i=pb(v[e>>2],r,k);if(!i){break M}Q(d|0)}e=P()|0;if((i|0)==1){continue}e=v[c+976>>2];if(!(!e|!w[v[e>>2]+460|0])){v[296803]=0;YV(e);e=v[296803];v[296803]=0;i=-1;Ca:{if(!e){break Ca}d=v[296804];if(!d){break Ca}i=pb(v[e>>2],r,k);if(!i){break M}Q(d|0)}e=P()|0;if((i|0)==1){continue}e=v[v[b>>2]+20>>2];v[296803]=0;W(e|0,b|0,q|0,0)|0;e=v[296803];v[296803]=0;i=-1;Da:{if(!e){break Da}d=v[296804];if(!d){break Da}i=pb(v[e>>2],r,k);if(!i){break M}Q(d|0)}e=P()|0;if((i|0)==1){continue}e=v[c+976>>2];v[296803]=0;W(3,e|0,b|0,2)|0;e=v[296803];v[296803]=0;i=-1;Ea:{if(!e){break Ea}d=v[296804];if(!d){break Ea}i=pb(v[e>>2],r,k);if(!i){break M}Q(d|0)}e=P()|0;if((i|0)==1){continue}e=v[v[b>>2]+20>>2];v[296803]=0;W(e|0,b|0,q|0,0)|0;e=v[296803];v[296803]=0;i=-1;Fa:{if(!e){break Fa}d=v[296804];if(!d){break Fa}i=pb(v[e>>2],r,k);if(!i){break M}Q(d|0)}e=P()|0;if((i|0)==1){continue}e=v[c+976>>2];v[296803]=0;Y(52,e|0,b|0)|0;e=v[296803];v[296803]=0;i=-1;Ga:{if(!e){break Ga}d=v[296804];if(!d){break Ga}i=pb(v[e>>2],r,k);if(!i){break M}Q(d|0)}e=P()|0;if((i|0)==1){continue}}e=v[l+60>>2];if(!e){break V}v[296803]=0;$a(e);e=v[296803];v[296803]=0;i=-1;Ha:{if(!e){break Ha}d=v[296804];if(!d){break Ha}i=pb(v[e>>2],r,k);if(!i){break M}Q(d|0)}e=P()|0;if((i|0)==1){continue}}break}e=!f}$a(r);Ma=l+800|0;break L}$a(r);tc(e,d);L()}if(e){break b}break a;case 1:E=ab(1124);c=Vw(E);Mi(c,a);if(!Sk(c,b)){Ia:{if(x[c+26>>1]>=9){D=Ma-1184|0;Ma=D;p=b;gL(c,b);b=zb(v[c+1116>>2]);b=b>>>0<255?b:255;if(b){Qa[v[v[p>>2]+44>>2]](p,33)|0;Qa[v[v[p>>2]+44>>2]](p,254)|0;Qa[v[v[p>>2]+44>>2]](p,b&255)|0;Qa[v[v[p>>2]+16>>2]](p,v[c+1116>>2],b,1)|0;Qa[v[v[p>>2]+44>>2]](p,0)|0}G=Vw(D+56|0);Cf(G,v[c+16>>2],v[c+20>>2],8,0);v[G+336>>2]=0;i=v[c+16>>2];f=v[c+20>>2];F=ab(B(i,f)<<2);if(!(!f|!i)){e=1;b=f;q=F;while(1){h=0;if(e){while(1){pp(D+32|0,c,h,d,1);t[q|0]=w[D+32|0];t[q+1|0]=w[D+33|0];t[q+2|0]=w[D+34|0];t[q+3|0]=w[D+35|0];q=q+4|0;h=h+1|0;e=v[c+16>>2];if(h>>>0>>0){continue}break}b=v[c+20>>2]}else{e=0}d=d+1|0;if(d>>>0>>0){continue}break}}b=ab(12);v[b+8>>2]=f;v[b+4>>2]=i;v[b>>2]=F;e=b+12|0;v[D+40>>2]=e;v[D+36>>2]=e;v[D+32>>2]=b;q=0;v[D+28>>2]=0;e=0;d=0;m=Ma-3104|0;Ma=m;v[D+24>>2]=0;v[D+16>>2]=0;v[D+20>>2]=0;i=v[D+36>>2]-v[D+32>>2]|0;h=(i|0)/12|0;b=D+28|0;if(!(!i|!b)){f=b;b=ab(1024);v[f>>2]=b;fa=eb(b,0,1024);Ja:{if((i|0)<=0){f=ab(0);break Ja}s=(h|0)>1?h:1;Ka:{La:{while(1){Ma:{b=v[D+32>>2]+B(o,12)|0;k=v[b+8>>2];n=v[b+4>>2];f=ab(12);v[f+8>>2]=0;b=f;v[b>>2]=0;v[b+4>>2]=0;l=B(k,n);j=ab(l);v[b+8>>2]=k;v[b+4>>2]=n;v[b>>2]=j;eb(j,0,l);Na:{if((d|0)!=(e|0)){v[e>>2]=f;e=e+4|0;v[D+20>>2]=e;break Na}b=d;d=v[D+16>>2];k=b-d|0;e=k>>2;b=e+1|0;if(b>>>0>=1073741824){break Ma}n=k>>1;n=e>>>0<536870911?b>>>0>n>>>0?b:n:1073741823;if(n){if(n>>>0>=1073741824){break La}b=ab(n<<2)}else{b=0}e=b+(e<<2)|0;v[e>>2]=f;e=e+4|0;if((k|0)>=1){cb(b,d,k)}v[D+24>>2]=b+(n<<2);v[D+20>>2]=e;v[D+16>>2]=b;if(!d){break Na}$a(d)}g=g+l|0;o=o+1|0;if((s|0)==(o|0)){break Ka}d=v[D+24>>2];continue}break}Jc();L()}Zd(28520);L()}f=ab(g<<3);if((i|0)<1){break Ja}g=(h|0)>1?h:1;d=0;e=f;while(1){h=v[v[D+16>>2]+(d<<2)>>2];Oa:{if(!h){break Oa}i=B(v[h+8>>2],v[h+4>>2]);if(!i){break Oa}b=v[v[D+32>>2]+B(d,12)>>2];o=0;if((i|0)!=1){k=i&-2;while(1){if(w[b+3|0]>=5){n=v[h>>2];l=v[b>>2];v[e>>2]=l;v[e+4>>2]=n+o;t[e+3|0]=l>>>24|15;e=e+8|0}if(w[b+7|0]>4){n=v[h>>2];l=v[b+4>>2];v[e>>2]=l;v[e+4>>2]=n+(o|1);t[e+3|0]=l>>>24|15;e=e+8|0}b=b+8|0;o=o+2|0;k=k-2|0;if(k){continue}break}}if(!(i&1)|w[b+3|0]<5){break Oa}h=v[h>>2];b=v[b>>2];v[e>>2]=b;v[e+4>>2]=h+o;t[e+3|0]=b>>>24|15;e=e+8|0}d=d+1|0;if((g|0)!=(d|0)){continue}break}if((e|0)==(f|0)){break Ja}u[m+52>>1]=0;u[m- -64>>1]=0;u[m+76>>1]=0;u[m+88>>1]=0;u[m+100>>1]=0;u[m+112>>1]=0;u[m+124>>1]=0;u[m+136>>1]=0;u[m+40>>1]=0;d=m;v[d+32>>2]=0;v[d+36>>2]=0;v[d+44>>2]=0;v[d+48>>2]=0;v[d+56>>2]=0;v[d+60>>2]=0;v[d+68>>2]=0;v[d+72>>2]=0;v[d+80>>2]=0;v[d+84>>2]=0;v[d+92>>2]=0;v[d+96>>2]=0;v[d+104>>2]=0;v[d+108>>2]=0;v[d+116>>2]=0;v[d+120>>2]=0;v[d+128>>2]=0;v[d+132>>2]=0;u[d+148>>1]=0;u[d+160>>1]=0;u[d+172>>1]=0;u[d+184>>1]=0;u[d+196>>1]=0;u[d+208>>1]=0;u[d+220>>1]=0;u[d+232>>1]=0;u[d+244>>1]=0;v[d+140>>2]=0;v[d+144>>2]=0;v[d+152>>2]=0;v[d+156>>2]=0;v[d+164>>2]=0;v[d+168>>2]=0;v[d+176>>2]=0;v[d+180>>2]=0;v[d+188>>2]=0;v[d+192>>2]=0;v[d+200>>2]=0;v[d+204>>2]=0;v[d+212>>2]=0;v[d+216>>2]=0;v[d+224>>2]=0;v[d+228>>2]=0;v[d+236>>2]=0;v[d+240>>2]=0;u[d+256>>1]=0;u[d+268>>1]=0;u[d+280>>1]=0;u[d+292>>1]=0;u[d+304>>1]=0;u[d+316>>1]=0;u[d+328>>1]=0;u[d+340>>1]=0;u[d+352>>1]=0;v[d+248>>2]=0;v[d+252>>2]=0;v[d+260>>2]=0;v[d+264>>2]=0;v[d+272>>2]=0;v[d+276>>2]=0;v[d+284>>2]=0;v[d+288>>2]=0;v[d+296>>2]=0;v[d+300>>2]=0;v[d+308>>2]=0;v[d+312>>2]=0;v[d+320>>2]=0;v[d+324>>2]=0;v[d+332>>2]=0;v[d+336>>2]=0;v[d+344>>2]=0;v[d+348>>2]=0;u[d+364>>1]=0;v[d+356>>2]=0;v[d+360>>2]=0;u[d+376>>1]=0;v[d+368>>2]=0;v[d+372>>2]=0;u[d+388>>1]=0;v[d+380>>2]=0;v[d+384>>2]=0;u[d+400>>1]=0;v[d+392>>2]=0;v[d+396>>2]=0;u[d+412>>1]=0;v[d+404>>2]=0;v[d+408>>2]=0;u[d+424>>1]=0;v[d+416>>2]=0;v[d+420>>2]=0;u[d+436>>1]=0;v[d+428>>2]=0;v[d+432>>2]=0;u[d+448>>1]=0;v[d+440>>2]=0;v[d+444>>2]=0;u[d+460>>1]=0;v[d+452>>2]=0;v[d+456>>2]=0;u[d+472>>1]=0;v[d+464>>2]=0;v[d+468>>2]=0;u[d+484>>1]=0;v[d+476>>2]=0;v[d+480>>2]=0;u[d+496>>1]=0;v[d+488>>2]=0;v[d+492>>2]=0;u[d+508>>1]=0;v[d+500>>2]=0;v[d+504>>2]=0;u[d+520>>1]=0;v[d+512>>2]=0;v[d+516>>2]=0;u[d+532>>1]=0;v[d+524>>2]=0;v[d+528>>2]=0;u[d+544>>1]=0;v[d+536>>2]=0;v[d+540>>2]=0;u[d+556>>1]=0;v[d+548>>2]=0;v[d+552>>2]=0;u[d+568>>1]=0;v[d+560>>2]=0;v[d+564>>2]=0;u[d+580>>1]=0;v[d+572>>2]=0;v[d+576>>2]=0;u[d+592>>1]=0;v[d+584>>2]=0;v[d+588>>2]=0;u[d+604>>1]=0;v[d+596>>2]=0;v[d+600>>2]=0;u[d+616>>1]=0;v[d+608>>2]=0;v[d+612>>2]=0;u[d+628>>1]=0;v[d+620>>2]=0;v[d+624>>2]=0;u[d+640>>1]=0;v[d+632>>2]=0;v[d+636>>2]=0;u[d+652>>1]=0;v[d+644>>2]=0;v[d+648>>2]=0;u[d+664>>1]=0;v[d+656>>2]=0;v[d+660>>2]=0;u[d+676>>1]=0;v[d+668>>2]=0;v[d+672>>2]=0;u[d+688>>1]=0;v[d+680>>2]=0;v[d+684>>2]=0;u[d+700>>1]=0;v[d+692>>2]=0;v[d+696>>2]=0;u[d+712>>1]=0;v[d+704>>2]=0;v[d+708>>2]=0;u[d+724>>1]=0;v[d+716>>2]=0;v[d+720>>2]=0;u[d+736>>1]=0;v[d+728>>2]=0;v[d+732>>2]=0;u[d+748>>1]=0;v[d+740>>2]=0;v[d+744>>2]=0;u[d+760>>1]=0;v[d+752>>2]=0;v[d+756>>2]=0;u[d+772>>1]=0;v[d+764>>2]=0;v[d+768>>2]=0;u[d+784>>1]=0;v[d+776>>2]=0;v[d+780>>2]=0;u[d+796>>1]=0;v[d+788>>2]=0;v[d+792>>2]=0;u[d+808>>1]=0;v[d+800>>2]=0;v[d+804>>2]=0;u[d+820>>1]=0;v[d+812>>2]=0;v[d+816>>2]=0;u[d+832>>1]=0;v[d+824>>2]=0;v[d+828>>2]=0;u[d+844>>1]=0;v[d+836>>2]=0;v[d+840>>2]=0;u[d+856>>1]=0;v[d+848>>2]=0;v[d+852>>2]=0;u[d+868>>1]=0;v[d+860>>2]=0;v[d+864>>2]=0;u[d+880>>1]=0;v[d+872>>2]=0;v[d+876>>2]=0;u[d+892>>1]=0;v[d+884>>2]=0;v[d+888>>2]=0;u[d+904>>1]=0;v[d+896>>2]=0;v[d+900>>2]=0;u[d+916>>1]=0;v[d+908>>2]=0;v[d+912>>2]=0;u[d+928>>1]=0;v[d+920>>2]=0;v[d+924>>2]=0;u[d+940>>1]=0;v[d+932>>2]=0;v[d+936>>2]=0;u[d+952>>1]=0;v[d+944>>2]=0;v[d+948>>2]=0;u[d+964>>1]=0;v[d+956>>2]=0;v[d+960>>2]=0;u[d+976>>1]=0;v[d+968>>2]=0;v[d+972>>2]=0;u[d+988>>1]=0;v[d+980>>2]=0;v[d+984>>2]=0;u[d+1e3>>1]=0;v[d+992>>2]=0;v[d+996>>2]=0;u[d+1012>>1]=0;v[d+1004>>2]=0;v[d+1008>>2]=0;u[d+1024>>1]=0;v[d+1016>>2]=0;v[d+1020>>2]=0;u[d+1036>>1]=0;v[d+1028>>2]=0;v[d+1032>>2]=0;u[d+1048>>1]=0;v[d+1040>>2]=0;v[d+1044>>2]=0;u[d+1060>>1]=0;v[d+1052>>2]=0;v[d+1056>>2]=0;u[d+1072>>1]=0;v[d+1064>>2]=0;v[d+1068>>2]=0;u[d+1084>>1]=0;v[d+1076>>2]=0;v[d+1080>>2]=0;u[d+1096>>1]=0;v[d+1088>>2]=0;v[d+1092>>2]=0;u[d+1108>>1]=0;v[d+1100>>2]=0;v[d+1104>>2]=0;u[d+1120>>1]=0;v[d+1112>>2]=0;v[d+1116>>2]=0;u[d+1132>>1]=0;v[d+1124>>2]=0;v[d+1128>>2]=0;u[d+1144>>1]=0;v[d+1136>>2]=0;v[d+1140>>2]=0;u[d+1156>>1]=0;v[d+1148>>2]=0;v[d+1152>>2]=0;u[d+1168>>1]=0;v[d+1160>>2]=0;v[d+1164>>2]=0;u[d+1180>>1]=0;v[d+1172>>2]=0;v[d+1176>>2]=0;u[d+1192>>1]=0;v[d+1184>>2]=0;v[d+1188>>2]=0;u[d+1204>>1]=0;v[d+1196>>2]=0;v[d+1200>>2]=0;u[d+1216>>1]=0;v[d+1208>>2]=0;v[d+1212>>2]=0;u[d+1228>>1]=0;v[d+1220>>2]=0;v[d+1224>>2]=0;u[d+1240>>1]=0;v[d+1232>>2]=0;v[d+1236>>2]=0;u[d+1252>>1]=0;v[d+1244>>2]=0;v[d+1248>>2]=0;u[d+1264>>1]=0;v[d+1256>>2]=0;v[d+1260>>2]=0;u[d+1276>>1]=0;v[d+1268>>2]=0;v[d+1272>>2]=0;u[d+1288>>1]=0;v[d+1280>>2]=0;v[d+1284>>2]=0;u[d+1300>>1]=0;v[d+1292>>2]=0;v[d+1296>>2]=0;u[d+1312>>1]=0;v[d+1304>>2]=0;v[d+1308>>2]=0;u[d+1324>>1]=0;v[d+1316>>2]=0;v[d+1320>>2]=0;u[d+1336>>1]=0;v[d+1328>>2]=0;v[d+1332>>2]=0;u[d+1348>>1]=0;v[d+1340>>2]=0;v[d+1344>>2]=0;u[d+1360>>1]=0;v[d+1352>>2]=0;v[d+1356>>2]=0;u[d+1372>>1]=0;v[d+1364>>2]=0;v[d+1368>>2]=0;u[d+1384>>1]=0;v[d+1376>>2]=0;v[d+1380>>2]=0;u[d+1396>>1]=0;v[d+1388>>2]=0;v[d+1392>>2]=0;u[d+1408>>1]=0;v[d+1400>>2]=0;v[d+1404>>2]=0;u[d+1420>>1]=0;v[d+1412>>2]=0;v[d+1416>>2]=0;u[d+1432>>1]=0;v[d+1424>>2]=0;v[d+1428>>2]=0;u[d+1444>>1]=0;v[d+1436>>2]=0;v[d+1440>>2]=0;u[d+1456>>1]=0;v[d+1448>>2]=0;v[d+1452>>2]=0;u[d+1468>>1]=0;v[d+1460>>2]=0;v[d+1464>>2]=0;u[d+1480>>1]=0;v[d+1472>>2]=0;v[d+1476>>2]=0;u[d+1492>>1]=0;v[d+1484>>2]=0;v[d+1488>>2]=0;u[d+1504>>1]=0;v[d+1496>>2]=0;v[d+1500>>2]=0;u[d+1516>>1]=0;v[d+1508>>2]=0;v[d+1512>>2]=0;u[d+1528>>1]=0;v[d+1520>>2]=0;v[d+1524>>2]=0;u[d+1540>>1]=0;v[d+1532>>2]=0;v[d+1536>>2]=0;u[d+1552>>1]=0;v[d+1544>>2]=0;v[d+1548>>2]=0;u[d+1564>>1]=0;v[d+1556>>2]=0;v[d+1560>>2]=0;u[d+1576>>1]=0;v[d+1568>>2]=0;v[d+1572>>2]=0;u[d+1588>>1]=0;v[d+1580>>2]=0;v[d+1584>>2]=0;u[d+1600>>1]=0;v[d+1592>>2]=0;v[d+1596>>2]=0;u[d+1612>>1]=0;v[d+1604>>2]=0;v[d+1608>>2]=0;u[d+1624>>1]=0;v[d+1616>>2]=0;v[d+1620>>2]=0;u[d+1636>>1]=0;v[d+1628>>2]=0;v[d+1632>>2]=0;u[d+1648>>1]=0;v[d+1640>>2]=0;v[d+1644>>2]=0;u[d+1660>>1]=0;v[d+1652>>2]=0;v[d+1656>>2]=0;u[d+1672>>1]=0;v[d+1664>>2]=0;v[d+1668>>2]=0;u[d+1684>>1]=0;v[d+1676>>2]=0;v[d+1680>>2]=0;u[d+1696>>1]=0;v[d+1688>>2]=0;v[d+1692>>2]=0;u[d+1708>>1]=0;v[d+1700>>2]=0;v[d+1704>>2]=0;u[d+1720>>1]=0;v[d+1712>>2]=0;v[d+1716>>2]=0;u[d+1732>>1]=0;v[d+1724>>2]=0;v[d+1728>>2]=0;u[d+1744>>1]=0;v[d+1736>>2]=0;v[d+1740>>2]=0;u[d+1756>>1]=0;v[d+1748>>2]=0;v[d+1752>>2]=0;u[d+1768>>1]=0;v[d+1760>>2]=0;v[d+1764>>2]=0;u[d+1780>>1]=0;v[d+1772>>2]=0;v[d+1776>>2]=0;u[d+1792>>1]=0;v[d+1784>>2]=0;v[d+1788>>2]=0;u[d+1804>>1]=0;v[d+1796>>2]=0;v[d+1800>>2]=0;u[d+1816>>1]=0;v[d+1808>>2]=0;v[d+1812>>2]=0;u[d+1828>>1]=0;v[d+1820>>2]=0;v[d+1824>>2]=0;u[d+1840>>1]=0;v[d+1832>>2]=0;v[d+1836>>2]=0;u[d+1852>>1]=0;v[d+1844>>2]=0;v[d+1848>>2]=0;u[d+1864>>1]=0;v[d+1856>>2]=0;v[d+1860>>2]=0;u[d+1876>>1]=0;v[d+1868>>2]=0;v[d+1872>>2]=0;u[d+1888>>1]=0;v[d+1880>>2]=0;v[d+1884>>2]=0;u[d+1900>>1]=0;v[d+1892>>2]=0;v[d+1896>>2]=0;u[d+1912>>1]=0;v[d+1904>>2]=0;v[d+1908>>2]=0;u[d+1924>>1]=0;v[d+1916>>2]=0;v[d+1920>>2]=0;u[d+1936>>1]=0;v[d+1928>>2]=0;v[d+1932>>2]=0;u[d+1948>>1]=0;v[d+1940>>2]=0;v[d+1944>>2]=0;u[d+1960>>1]=0;v[d+1952>>2]=0;v[d+1956>>2]=0;u[d+1972>>1]=0;v[d+1964>>2]=0;v[d+1968>>2]=0;u[d+1984>>1]=0;v[d+1976>>2]=0;v[d+1980>>2]=0;u[d+1996>>1]=0;v[d+1988>>2]=0;v[d+1992>>2]=0;u[d+2008>>1]=0;v[d+2e3>>2]=0;v[d+2004>>2]=0;u[d+2020>>1]=0;v[d+2012>>2]=0;v[d+2016>>2]=0;u[d+2032>>1]=0;v[d+2024>>2]=0;v[d+2028>>2]=0;u[d+2044>>1]=0;v[d+2036>>2]=0;v[d+2040>>2]=0;u[d+2056>>1]=0;v[d+2048>>2]=0;v[d+2052>>2]=0;u[d+2068>>1]=0;v[d+2060>>2]=0;v[d+2064>>2]=0;u[d+2080>>1]=0;v[d+2072>>2]=0;v[d+2076>>2]=0;u[d+2092>>1]=0;v[d+2084>>2]=0;v[d+2088>>2]=0;u[d+2104>>1]=0;v[d+2096>>2]=0;v[d+2100>>2]=0;u[d+2116>>1]=0;v[d+2108>>2]=0;v[d+2112>>2]=0;u[d+2128>>1]=0;v[d+2120>>2]=0;v[d+2124>>2]=0;u[d+2140>>1]=0;v[d+2132>>2]=0;v[d+2136>>2]=0;u[d+2152>>1]=0;v[d+2144>>2]=0;v[d+2148>>2]=0;u[d+2164>>1]=0;v[d+2156>>2]=0;v[d+2160>>2]=0;u[d+2176>>1]=0;v[d+2168>>2]=0;v[d+2172>>2]=0;u[d+2188>>1]=0;v[d+2180>>2]=0;v[d+2184>>2]=0;u[d+2200>>1]=0;v[d+2192>>2]=0;v[d+2196>>2]=0;u[d+2212>>1]=0;v[d+2204>>2]=0;v[d+2208>>2]=0;u[d+2224>>1]=0;v[d+2216>>2]=0;v[d+2220>>2]=0;u[d+2236>>1]=0;v[d+2228>>2]=0;v[d+2232>>2]=0;u[d+2248>>1]=0;v[d+2240>>2]=0;v[d+2244>>2]=0;u[d+2260>>1]=0;v[d+2252>>2]=0;v[d+2256>>2]=0;u[d+2272>>1]=0;v[d+2264>>2]=0;v[d+2268>>2]=0;u[d+2284>>1]=0;v[d+2276>>2]=0;v[d+2280>>2]=0;u[d+2296>>1]=0;v[d+2288>>2]=0;v[d+2292>>2]=0;u[d+2308>>1]=0;v[d+2300>>2]=0;v[d+2304>>2]=0;u[d+2320>>1]=0;v[d+2312>>2]=0;v[d+2316>>2]=0;u[d+2332>>1]=0;v[d+2324>>2]=0;v[d+2328>>2]=0;u[d+2344>>1]=0;v[d+2336>>2]=0;v[d+2340>>2]=0;u[d+2356>>1]=0;v[d+2348>>2]=0;v[d+2352>>2]=0;u[d+2368>>1]=0;v[d+2360>>2]=0;v[d+2364>>2]=0;u[d+2380>>1]=0;v[d+2372>>2]=0;v[d+2376>>2]=0;u[d+2392>>1]=0;v[d+2384>>2]=0;v[d+2388>>2]=0;u[d+2404>>1]=0;v[d+2396>>2]=0;v[d+2400>>2]=0;u[d+2416>>1]=0;v[d+2408>>2]=0;v[d+2412>>2]=0;u[d+2428>>1]=0;v[d+2420>>2]=0;v[d+2424>>2]=0;u[d+2440>>1]=0;v[d+2432>>2]=0;v[d+2436>>2]=0;u[d+2452>>1]=0;v[d+2444>>2]=0;v[d+2448>>2]=0;u[d+2464>>1]=0;v[d+2456>>2]=0;v[d+2460>>2]=0;u[d+2476>>1]=0;v[d+2468>>2]=0;v[d+2472>>2]=0;u[d+2488>>1]=0;v[d+2480>>2]=0;v[d+2484>>2]=0;u[d+2500>>1]=0;v[d+2492>>2]=0;v[d+2496>>2]=0;u[d+2512>>1]=0;v[d+2504>>2]=0;v[d+2508>>2]=0;u[d+2524>>1]=0;v[d+2516>>2]=0;v[d+2520>>2]=0;u[d+2536>>1]=0;v[d+2528>>2]=0;v[d+2532>>2]=0;u[d+2548>>1]=0;v[d+2540>>2]=0;v[d+2544>>2]=0;u[d+2560>>1]=0;v[d+2552>>2]=0;v[d+2556>>2]=0;u[d+2572>>1]=0;v[d+2564>>2]=0;v[d+2568>>2]=0;u[d+2584>>1]=0;v[d+2576>>2]=0;v[d+2580>>2]=0;u[d+2596>>1]=0;v[d+2588>>2]=0;v[d+2592>>2]=0;u[d+2608>>1]=0;v[d+2600>>2]=0;v[d+2604>>2]=0;u[d+2620>>1]=0;v[d+2612>>2]=0;v[d+2616>>2]=0;u[d+2632>>1]=0;v[d+2624>>2]=0;v[d+2628>>2]=0;u[d+2644>>1]=0;v[d+2636>>2]=0;v[d+2640>>2]=0;u[d+2656>>1]=0;v[d+2648>>2]=0;v[d+2652>>2]=0;u[d+2668>>1]=0;v[d+2660>>2]=0;v[d+2664>>2]=0;u[d+2680>>1]=0;v[d+2672>>2]=0;v[d+2676>>2]=0;u[d+2692>>1]=0;v[d+2684>>2]=0;v[d+2688>>2]=0;u[d+2704>>1]=0;v[d+2696>>2]=0;v[d+2700>>2]=0;u[d+2716>>1]=0;v[d+2708>>2]=0;v[d+2712>>2]=0;u[d+2728>>1]=0;v[d+2720>>2]=0;v[d+2724>>2]=0;u[d+2740>>1]=0;v[d+2732>>2]=0;v[d+2736>>2]=0;u[d+2752>>1]=0;v[d+2744>>2]=0;v[d+2748>>2]=0;u[d+2764>>1]=0;v[d+2756>>2]=0;v[d+2760>>2]=0;u[d+2776>>1]=0;v[d+2768>>2]=0;v[d+2772>>2]=0;u[d+2788>>1]=0;v[d+2780>>2]=0;v[d+2784>>2]=0;u[d+2800>>1]=0;v[d+2792>>2]=0;v[d+2796>>2]=0;u[d+2812>>1]=0;v[d+2804>>2]=0;v[d+2808>>2]=0;u[d+2824>>1]=0;v[d+2816>>2]=0;v[d+2820>>2]=0;u[d+2836>>1]=0;v[d+2828>>2]=0;v[d+2832>>2]=0;u[d+2848>>1]=0;v[d+2840>>2]=0;v[d+2844>>2]=0;u[d+2860>>1]=0;v[d+2852>>2]=0;v[d+2856>>2]=0;u[d+2872>>1]=0;v[d+2864>>2]=0;v[d+2868>>2]=0;u[d+2884>>1]=0;v[d+2876>>2]=0;v[d+2880>>2]=0;u[d+2896>>1]=0;v[d+2888>>2]=0;v[d+2892>>2]=0;u[d+2908>>1]=0;v[d+2900>>2]=0;v[d+2904>>2]=0;u[d+2920>>1]=0;v[d+2912>>2]=0;v[d+2916>>2]=0;u[d+2932>>1]=0;v[d+2924>>2]=0;v[d+2928>>2]=0;u[d+2944>>1]=0;v[d+2936>>2]=0;v[d+2940>>2]=0;u[d+2956>>1]=0;v[d+2948>>2]=0;v[d+2952>>2]=0;u[d+2968>>1]=0;v[d+2960>>2]=0;v[d+2964>>2]=0;u[d+2980>>1]=0;v[d+2972>>2]=0;v[d+2976>>2]=0;u[d+2992>>1]=0;v[d+2984>>2]=0;v[d+2988>>2]=0;u[d+3004>>1]=0;v[d+2996>>2]=0;v[d+3e3>>2]=0;u[d+3016>>1]=0;v[d+3008>>2]=0;v[d+3012>>2]=0;u[d+3028>>1]=0;v[d+3020>>2]=0;v[d+3024>>2]=0;u[d+3040>>1]=0;v[d+3032>>2]=0;v[d+3036>>2]=0;u[d+3052>>1]=0;v[d+3044>>2]=0;v[d+3048>>2]=0;u[d+3064>>1]=0;v[d+3056>>2]=0;v[d+3060>>2]=0;u[d+3076>>1]=0;v[d+3068>>2]=0;v[d+3072>>2]=0;u[d+3088>>1]=0;v[d+3080>>2]=0;v[d+3084>>2]=0;u[d+24>>1]=0;v[d+16>>2]=0;v[d+20>>2]=0;u[d+8>>1]=0;v[d>>2]=0;v[d+4>>2]=0;v[d+32>>2]=f;e=e-f|0;M=e>>>3|0;v[d+36>>2]=M;b=0;J=d;if(e>>>0>=16){h=w[f|0];o=h;k=h;r=w[f+1|0];i=r;l=i;H=1;b=f;e=w[b+3|0];s=e;n=e;j=w[b+2|0];d=j;g=d;while(1){e=e&255;s=e>>>0>s>>>0?e:s;n=(e|0)<(n|0)?e:n;d=d>>>0>>0?j:d;g=(g|0)>(j|0)?j:g;l=l>>>0>>0?r:l;i=(i|0)>(r|0)?r:i;k=h>>>0>k>>>0?h:k;o=(h|0)<(o|0)?h:o;H=H+1|0;if((M|0)!=(H|0)){b=b+8|0;e=w[b+3|0];j=w[b+2|0];r=w[b+1|0];h=w[b|0];continue}break}b=l-i|0;h=k-o|0;e=(b|0)>(h|0);i=d-g|0;b=e?b:h;d=(i|0)>(b|0);g=s-n|0;b=d?i:b;h=(g|0)>(b|0);b=h?g:b;e=h?3:d?2:e}else{e=0}t[J+41|0]=e;t[m+40|0]=b;b=0;d=1;while(1){J=b+1|0;i=J&3;Pa:{if(b>>>0<3){b=0;e=m+32|0;k=-1;o=0;break Pa}l=J&-4;k=-1;b=0;e=m+32|0;o=0;while(1){h=w[e+8|0];g=h>>>0>o>>>0;n=g?b:k;h=g?h:o;g=w[e+20|0];k=h>>>0>>0;o=k?b|1:n;h=k?g:h;g=w[e+32|0];k=h>>>0>>0;h=k?g:h;g=w[e+44|0];n=h>>>0>>0;k=n?b|3:k?b|2:o;o=n?g:h;e=e+48|0;b=b+4|0;l=l-4|0;if(l){continue}break}}if(i){while(1){h=w[e+8|0];g=h>>>0>o>>>0;k=g?b:k;o=g?h:o;e=e+12|0;b=b+1|0;i=i-1|0;if(i){continue}break}}Qa:{if((k|0)<0){i=d;break Qa}b=0;ca=0;aa=Ma-1024|0;Ma=aa;da=m+32|0;$=da+B(k,12)|0;g=$;if(w[g+8|0]){j=w[g+9|0];h=eb(aa,0,1024);n=v[g+4>>2];Ra:{if(!n){break Ra}k=n&3;e=v[g>>2];if(n-1>>>0>=3){l=n&-4;while(1){i=e+j|0;o=h+(w[i|0]<<2)|0;v[o>>2]=v[o>>2]+1;o=h+(w[i+8|0]<<2)|0;v[o>>2]=v[o>>2]+1;o=h+(w[i+16|0]<<2)|0;v[o>>2]=v[o>>2]+1;i=h+(w[i+24|0]<<2)|0;v[i>>2]=v[i>>2]+1;e=e+32|0;l=l-4|0;if(l){continue}break}}if(!k){break Ra}while(1){i=h+(w[e+j|0]<<2)|0;v[i>>2]=v[i>>2]+1;e=e+8|0;k=k-1|0;if(k){continue}break}}k=n>>>1|0;e=0;while(1){i=b;b=b+1|0;e=v[h+(i<<2)>>2]+e|0;if(k>>>0>e>>>0){continue}break}h=v[g>>2];b=h+(n<<3)|0;Sa:{if(!n){e=h;h=b;break Sa}e=i-((e|0)==(n|0))|0;while(1){Ta:{if(e>>>0>=w[h+j|0]){h=h+8|0;break Ta}i=v[h>>2];k=v[h+4>>2];b=b-8|0;n=v[b+4>>2];v[h>>2]=v[b>>2];v[h+4>>2]=n;v[b>>2]=i;v[b+4>>2]=k}if((b|0)!=(h|0)){continue}break}e=v[g>>2]}v[m+16>>2]=e;e=v[g>>2];b=h-e>>>3|0;v[m+20>>2]=b;h=e+(b<<3)|0;v[m>>2]=h;ba=v[g+4>>2]-b|0;v[m+4>>2]=ba;e=0;b=0;ea=v[m+20>>2];if(ea>>>0>=2){e=v[m+16>>2];i=w[e|0];r=i;n=i;g=w[e+1|0];k=g;l=g;M=1;b=w[e+3|0];j=b;o=b;Z=w[e+2|0];s=Z;H=s;while(1){b=b&255;j=b>>>0>j>>>0?b:j;o=(b|0)<(o|0)?b:o;s=s>>>0>>0?Z:s;H=(H|0)>(Z|0)?Z:H;l=g>>>0>l>>>0?g:l;k=(g|0)<(k|0)?g:k;n=i>>>0>n>>>0?i:n;r=(i|0)<(r|0)?i:r;M=M+1|0;if((ea|0)!=(M|0)){e=e+8|0;b=w[e+3|0];Z=w[e+2|0];g=w[e+1|0];i=w[e|0];continue}break}e=l-k|0;i=n-r|0;b=(e|0)>(i|0);g=s-H|0;e=b?e:i;i=(g|0)>(e|0);k=j-o|0;e=i?g:e;g=(k|0)>(e|0);e=g?k:e;b=g?3:i?2:b}t[m+24|0]=e;t[m+25|0]=b;e=0;if(ba>>>0>=2){M=w[h|0];b=M;r=b;i=w[h+1|0];n=i;k=i;H=1;e=w[h+3|0];l=e;j=e;g=w[h+2|0];o=g;s=g;while(1){e=e&255;l=e>>>0>l>>>0?e:l;j=(e|0)<(j|0)?e:j;o=g>>>0>o>>>0?g:o;s=(g|0)<(s|0)?g:s;k=i>>>0>k>>>0?i:k;n=(i|0)<(n|0)?i:n;e=M&255;r=e>>>0>r>>>0?e:r;b=(b|0)>(e|0)?e:b;H=H+1|0;if((ba|0)!=(H|0)){h=h+8|0;e=w[h+3|0];g=w[h+2|0];i=w[h+1|0];M=w[h|0];continue}break}e=k-n|0;h=r-b|0;b=(e|0)>(h|0);i=o-s|0;h=b?e:h;e=(i|0)>(h|0);g=l-j|0;i=e?i:h;h=(g|0)>(i|0);ca=h?g:i;e=h?3:e?2:b}t[m+8|0]=ca;t[m+9|0]=e}Ma=aa+1024|0;u[$+8>>1]=x[m+24>>1];b=v[m+20>>2];v[$>>2]=v[m+16>>2];v[$+4>>2]=b;b=B(d,12)+da|0;u[b+8>>1]=x[m+8>>1];e=v[m+4>>2];v[b>>2]=v[m>>2];v[b+4>>2]=e;e=d>>>0<254;b=J;i=d+1|0;d=i;if(e){continue}}break}b=0;while(1){d=b+1|0;n=(d<<2)+fa|0;e=0;g=(m+32|0)+B(b,12)|0;h=g;b=v[h>>2];Ua:{if(!b){break Ua}if(!w[h+8|0]){e=v[b>>2];break Ua}I=+w[b+3|0];K=+w[b+2|0];N=+w[b+1|0];O=+w[b|0];h=v[h+4>>2];Va:{if(h>>>0<2){break Va}I=I+I;K=K+K;N=N+N;O=O+O;if((h|0)==2){break Va}l=h&1;Wa:{if((h|0)==3){e=b;break Wa}k=h-2&-2;while(1){I=I+ +w[b+11|0]+ +w[b+19|0];K=K+ +w[b+10|0]+ +w[b+18|0];N=N+ +w[b+9|0]+ +w[b+17|0];O=O+ +w[b+8|0]+ +w[b+16|0];e=b+16|0;b=e;k=k-2|0;if(k){continue}break}}if(!l){break Va}O=O+ +w[e+8|0];I=I+ +w[e+11|0];K=K+ +w[e+10|0];N=N+ +w[e+9|0]}_=K;K=+(h>>>0);_=_/K+.5;Xa:{if(_<4294967296&_>=0){b=~~_>>>0;break Xa}b=0}e=b<<16;I=I/K+.5;Ya:{if(I<4294967296&I>=0){b=~~I>>>0;break Ya}b=0}e=e|b<<24;I=N/K+.5;Za:{if(I<4294967296&I>=0){b=~~I>>>0;break Za}b=0}e=e|b<<8;I=O/K+.5;if(I<4294967296&I>=0){e=e|~~I>>>0}}v[n>>2]=e;if(v[g+4>>2]){b=v[g>>2];e=0;while(1){t[v[b+4>>2]]=d;b=b+8|0;e=e+1|0;if(e>>>0>2]){continue}break}}b=d;if((i|0)!=(d|0)){continue}break}}$a(f)}Ma=m+3104|0;f=v[v[D+16>>2]>>2];while(1){b=v[v[D+28>>2]+(q<<2)>>2];v[D+8>>2]=b;v[D+4>>2]=b;ax(G,q&255,D+4|0);q=q+1|0;if((q|0)!=256){continue}break}k=v[c+20>>2];if(!(!k|!v[c+16>>2])){h=v[f>>2];d=0;b=1;while(1){e=0;q=0;if(b){while(1){Pn(G,q,d,w[h|0]);h=h+1|0;e=v[c+16>>2];q=q+1|0;if(e>>>0>q>>>0){continue}break}k=v[c+20>>2]}b=e;d=d+1|0;if(k>>>0>d>>>0){continue}break}}$a(F);b=v[D+28>>2];if(b){$a(b)}if(f){b=v[f>>2];if(b){$a(b)}$a(f)}v[G+396>>2]=0;v[G+392>>2]=0;Qa[v[v[p>>2]+44>>2]](p,33)|0;Qa[v[v[p>>2]+44>>2]](p,249)|0;t[G+976|0]=v[G+336>>2]!=-1;e=w[G+492|0];b=u[G+360>>1];t[G+977|0]=b;t[G+978|0]=b>>>8;t[G+979|0]=v[G+336>>2];t[G+976|0]=w[G+976|0]|e<<2&28;b=w[G+494|0]?b:b<<8|(b&65280)>>>8;t[G+977|0]=b;t[G+978|0]=b>>>8;Qa[v[v[p>>2]+44>>2]](p,4)|0;Qa[v[v[p>>2]+16>>2]](p,G+976|0,4,1)|0;b=(w[G+977|0]|w[G+978|0]<<8)<<16>>16;b=w[G+494|0]?b:b<<8|(b&65280)>>>8;t[G+977|0]=b;t[G+978|0]=b>>>8;Qa[v[v[p>>2]+44>>2]](p,0)|0;XB(G,p,1);Qa[v[v[p>>2]+44>>2]](p,59)|0;b=v[D+16>>2];if(b){v[D+20>>2]=b;$a(b)}b=v[D+32>>2];if(b){v[D+36>>2]=b;$a(b)}Mt(G);Ma=D+1184|0;e=1;break Ia}_a:{if(v[c+356>>2]<2){break _a}e=v[c+972>>2];if(!e){break _a}h=v[c+356>>2];g=Ma-1136|0;Ma=g;$a:{if(!b){Sb(c+72|0,5365,255);e=0;break $a}ab:{if(!e|(h|0)<1){break ab}d=v[e>>2];if(!d){break ab}f=e;bb:{while(1){if(!v[d+4>>2]){Sb(c+72|0,15909,255);e=0;break $a}if(!v[v[f>>2]+44>>2]){Sb(c+72|0,18389,255);e=0;break $a}k=k+1|0;if((h|0)==(k|0)){break bb}f=e+(k<<2)|0;d=v[f>>2];if(d){continue}break}Sb(c+72|0,12995,255);e=0;break $a}f=Vw(g+8|0);Mi(f,v[e>>2]);gL(f,b);d=v[c+1120>>2];if((d|0)!=1){v[f+1120>>2]=((d|0)>1?d:1)-1;Qa[v[v[b>>2]+44>>2]](b,33)|0;Qa[v[v[b>>2]+44>>2]](b,255)|0;Qa[v[v[b>>2]+44>>2]](b,11)|0;Qa[v[v[b>>2]+16>>2]](b,25838,11,1)|0;Qa[v[v[b>>2]+44>>2]](b,3)|0;Qa[v[v[b>>2]+44>>2]](b,1)|0;d=v[f+1120>>2];Qa[v[v[b>>2]+44>>2]](b,d&255)|0;Qa[v[v[b>>2]+44>>2]](b,d>>>8&255)|0;Qa[v[v[b>>2]+44>>2]](b,0)|0}i=w[f+492|0];t[f+492|0]=w[c+492|0];Qa[v[v[b>>2]+44>>2]](b,33)|0;Qa[v[v[b>>2]+44>>2]](b,249)|0;t[f+976|0]=v[f+336>>2]!=-1;k=w[f+492|0];d=u[f+360>>1];t[f+977|0]=d;t[f+978|0]=d>>>8;t[f+979|0]=v[f+336>>2];t[f+976|0]=w[f+976|0]|k<<2&28;d=w[f+494|0]?d:d<<8|(d&65280)>>>8;t[f+977|0]=d;t[f+978|0]=d>>>8;Qa[v[v[b>>2]+44>>2]](b,4)|0;Qa[v[v[b>>2]+16>>2]](b,f+976|0,4,1)|0;d=(w[f+977|0]|w[f+978|0]<<8)<<16>>16;d=w[f+494|0]?d:d<<8|(d&65280)>>>8;t[f+977|0]=d;t[f+978|0]=d>>>8;Qa[v[v[b>>2]+44>>2]](b,0)|0;t[f+492|0]=i;d=zb(v[c+1116>>2]);d=d>>>0<255?d:255;if(d){Qa[v[v[b>>2]+44>>2]](b,33)|0;Qa[v[v[b>>2]+44>>2]](b,254)|0;Qa[v[v[b>>2]+44>>2]](b,d&255)|0;Qa[v[v[b>>2]+16>>2]](b,v[c+1116>>2],d,1)|0;Qa[v[v[b>>2]+44>>2]](b,0)|0}XB(f,b,0);if((h|0)>=2){k=f+976|0;d=1;while(1){Mi(f,v[e+(d<<2)>>2]);n=w[f+492|0];t[f+492|0]=w[c+492|0];Qa[v[v[b>>2]+44>>2]](b,33)|0;Qa[v[v[b>>2]+44>>2]](b,249)|0;t[f+976|0]=v[f+336>>2]!=-1;q=w[f+492|0];i=u[f+360>>1];t[f+977|0]=i;t[f+978|0]=i>>>8;t[f+979|0]=v[f+336>>2];t[f+976|0]=w[f+976|0]|q<<2&28;i=w[f+494|0]?i:i<<8|(i&65280)>>>8;t[f+977|0]=i;t[f+978|0]=i>>>8;Qa[v[v[b>>2]+44>>2]](b,4)|0;Qa[v[v[b>>2]+16>>2]](b,k,4,1)|0;i=(w[f+977|0]|w[f+978|0]<<8)<<16>>16;i=w[f+494|0]?i:i<<8|(i&65280)>>>8;t[f+977|0]=i;t[f+978|0]=i>>>8;Qa[v[v[b>>2]+44>>2]](b,0)|0;t[f+492|0]=n;XB(f,b,0);d=d+1|0;if((h|0)!=(d|0)){continue}break}}Qa[v[v[b>>2]+44>>2]](b,59)|0;Mt(f);e=1;break $a}Sb(c+72|0,11986,255);e=0}Ma=g+1136|0;break Ia}gL(c,b);Qa[v[v[b>>2]+44>>2]](b,33)|0;Qa[v[v[b>>2]+44>>2]](b,249)|0;t[c+976|0]=v[c+336>>2]!=-1;f=w[c+492|0];e=u[c+360>>1];t[c+977|0]=e;t[c+978|0]=e>>>8;t[c+979|0]=v[c+336>>2];t[c+976|0]=w[c+976|0]|f<<2&28;e=w[c+494|0]?e:e<<8|(e&65280)>>>8;t[c+977|0]=e;t[c+978|0]=e>>>8;Qa[v[v[b>>2]+44>>2]](b,4)|0;e=1;Qa[v[v[b>>2]+16>>2]](b,c+976|0,4,1)|0;f=(w[c+977|0]|w[c+978|0]<<8)<<16>>16;f=w[c+494|0]?f:f<<8|(f&65280)>>>8;t[c+977|0]=f;t[c+978|0]=f>>>8;Qa[v[v[b>>2]+44>>2]](b,0)|0;f=zb(v[c+1116>>2]);f=f>>>0<255?f:255;if(f){Qa[v[v[b>>2]+44>>2]](b,33)|0;Qa[v[v[b>>2]+44>>2]](b,254)|0;Qa[v[v[b>>2]+44>>2]](b,f&255)|0;Qa[v[v[b>>2]+16>>2]](b,v[c+1116>>2],f,1)|0;Qa[v[v[b>>2]+44>>2]](b,0)|0}XB(c,b,0);Qa[v[v[b>>2]+44>>2]](b,59)|0}}if(e){break b}break a;case 3:c=ab(976);E=Ge(c,4);v[c>>2]=39428;Mi(E,a);p=Ma-304|0;Ma=p;l=gb(40);v[l>>2]=0;v[296803]=0;o=b;f=Sk(c,b);e=v[296803];v[296803]=0;d=-1;i=4;cb:{db:{eb:{fb:{if(!e){break fb}g=v[296804];if(!g){break fb}d=pb(v[e>>2],l,4);if(!d){break eb}Q(g|0)}e=P()|0;gb:{if((d|0)==1){break gb}if(f){break db}v[296803]=0;Ud(c,0);e=v[296803];v[296803]=0;d=-1;hb:{if(!e){break hb}g=v[296804];if(!g){break hb}d=pb(v[e>>2],l,4);if(!d){break eb}Q(g|0)}e=P()|0;if((d|0)==1){break gb}v[296803]=0;f=V(76,3253,0,0,0)|0;e=v[296803];v[296803]=0;d=-1;ib:{if(!e){break ib}g=v[296804];if(!g){break ib}d=pb(v[e>>2],l,4);if(!d){break eb}Q(g|0)}e=P()|0;h=p+48|0;if((d|0)==1){break gb}v[p+44>>2]=f;if(!f){d=0;v[296803]=0;Sb(c+72|0,5666,255);e=v[296803];v[296803]=0;b=-1;jb:{if(!e){break jb}g=v[296804];if(!g){break jb}b=pb(v[e>>2],l,4);if(!b){break eb}Q(g|0)}e=P()|0;if((b|0)!=1){break cb}break gb}v[296803]=0;b=T(55,f|0)|0;e=v[296803];v[296803]=0;d=-1;kb:{if(!e){break kb}g=v[296804];if(!g){break kb}d=pb(v[e>>2],l,4);if(!d){break eb}Q(g|0)}e=P()|0;if((d|0)==1){break gb}v[p+40>>2]=b;if(!b){v[296803]=0;R(77,p+44|0,0);e=v[296803];v[296803]=0;d=-1;lb:{if(!e){break lb}g=v[296804];if(!g){break lb}d=pb(v[e>>2],l,4);if(!d){break eb}Q(g|0)}e=P()|0;if((d|0)==1){break gb}d=0;v[296803]=0;Sb(c+72|0,10029,255);e=v[296803];v[296803]=0;b=-1;mb:{if(!e){break mb}g=v[296804];if(!g){break mb}b=pb(v[e>>2],l,4);if(!b){break eb}Q(g|0)}e=P()|0;if((b|0)!=1){break cb}break gb}e=0;l=be(f,1,l,4);i=P()|0}nb:while(1){if(e){b=v[v[p+40>>2]+16>>2];if(b){$a(b)}v[296803]=0;R(77,p+44|0,p+40|0);e=v[296803];v[296803]=0;d=-1;ob:{if(!e){break ob}g=v[296804];if(!g){break ob}d=pb(v[e>>2],l,i);if(!d){break eb}Q(g|0)}e=P()|0;if((d|0)==1){continue}v[296803]=0;Sb(c+72|0,18519,255);e=v[296803];v[296803]=0;d=-1;pb:{if(!e){break pb}g=v[296804];if(!g){break pb}d=pb(v[e>>2],l,i);if(!d){break eb}Q(g|0)}e=P()|0;if((d|0)!=1){break db}continue}v[296803]=0;na(78,f|0,o|0,79,80);e=v[296803];v[296803]=0;d=-1;qb:{if(!e){break qb}g=v[296804];if(!g){break qb}d=pb(v[e>>2],l,i);if(!d){break eb}Q(g|0)}e=P()|0;if((d|0)==1){continue}v[296803]=0;b=v[c+16>>2];e=v[296803];v[296803]=0;d=-1;rb:{if(!e){break rb}g=v[296804];if(!g){break rb}d=pb(v[e>>2],l,i);if(!d){break eb}Q(g|0)}e=P()|0;if((d|0)==1){continue}v[v[p+40>>2]>>2]=b;v[296803]=0;b=v[c+20>>2];e=v[296803];v[296803]=0;d=-1;sb:{if(!e){break sb}g=v[296804];if(!g){break sb}d=pb(v[e>>2],l,i);if(!d){break eb}Q(g|0)}e=P()|0;if((d|0)==1){continue}v[v[p+40>>2]+4>>2]=b;v[296803]=0;b=x[c+26>>1];e=v[296803];v[296803]=0;d=-1;tb:{if(!e){break tb}g=v[296804];if(!g){break tb}d=pb(v[e>>2],l,i);if(!d){break eb}Q(g|0)}e=P()|0;if((d|0)==1){continue}t[v[p+40>>2]+30|0]=b;v[296803]=0;b=x[c+26>>1];e=v[296803];v[296803]=0;d=-1;ub:{if(!e){break ub}g=v[296804];if(!g){break ub}d=pb(v[e>>2],l,i);if(!d){break eb}Q(g|0)}e=P()|0;if((d|0)==1){continue}t[v[p+40>>2]+29|0]=b>>>0>8?3:1;v[296803]=0;k=x[c+26>>1];e=v[296803];v[296803]=0;d=-1;vb:{if(!e){break vb}g=v[296804];if(!g){break vb}d=pb(v[e>>2],l,i);if(!d){break eb}Q(g|0)}e=P()|0;if((d|0)==1){continue}b=v[p+40>>2];u[b+26>>1]=0;v[b+8>>2]=0;t[b+24|0]=(k>>>0)/w[b+29|0];v[296803]=0;b=Tm(c,4);e=v[296803];v[296803]=0;d=-1;wb:{if(!e){break wb}g=v[296804];if(!g){break wb}d=pb(v[e>>2],l,i);if(!d){break eb}Q(g|0)}e=P()|0;if((d|0)==1){continue}t[v[p+40>>2]+28|0]=b&1;d=-1;e=-1;b=(b&14)-2|0;if(b>>>0<=4){e=v[(b<<2)+54264>>2]}v[296803]=0;if(f){v[f+280>>2]=e;v[f+204>>2]=v[f+204>>2]|2}e=v[296803];v[296803]=0;xb:{if(!e){break xb}g=v[296804];if(!g){break xb}d=pb(v[e>>2],l,i);if(!d){break eb}Q(g|0)}e=P()|0;if((d|0)==1){continue}v[296803]=0;J=jp(c);e=v[296803];v[296803]=0;d=-1;yb:{if(!e){break yb}g=v[296804];if(!g){break yb}d=pb(v[e>>2],l,i);if(!d){break eb}Q(g|0)}e=P()|0;if((d|0)==1){continue}v[296803]=0;b=v[c+44>>2];e=v[296803];v[296803]=0;d=-1;zb:{if(!e){break zb}g=v[296804];if(!g){break zb}d=pb(v[e>>2],l,i);if(!d){break eb}Q(g|0)}e=P()|0;if((d|0)==1){continue}t[v[p+40>>2]+25|0]=b?J?0:3:2;v[296803]=0;b=v[c+964>>2];e=v[296803];v[296803]=0;d=-1;Ab:{if(!e){break Ab}g=v[296804];if(!g){break Ab}d=pb(v[e>>2],l,i);if(!d){break eb}Q(g|0)}e=P()|0;if((d|0)==1){continue}if(b){b=v[p+40>>2];t[b+24|0]=8;t[b+25|0]=w[b+25|0]|4;t[b+29|0]=w[b+29|0]+1;t[b+30|0]=w[b+30|0]+8}u[p+32>>1]=x[27130];b=x[27128]|x[27129]<<16;v[p+24>>2]=x[27126]|x[27127]<<16;v[p+28>>2]=b;v[296803]=0;gE(p+20|0,c);e=v[296803];v[296803]=0;d=-1;Bb:{if(!e){break Bb}g=v[296804];if(!g){break Bb}d=pb(v[e>>2],l,i);if(!d){break eb}Q(g|0)}e=P()|0;if((d|0)==1){continue}if(v[c+336>>2]>=0){u[p+30>>1]=w[p+20|0];u[p+28>>1]=w[p+21|0];u[p+26>>1]=w[p+22|0]}v[296803]=0;NE(f,v[p+40>>2],p+24|0);e=v[296803];v[296803]=0;d=-1;Cb:{if(!e){break Cb}g=v[296804];if(!g){break Cb}d=pb(v[e>>2],l,i);if(!d){break eb}Q(g|0)}e=P()|0;if((d|0)==1){continue}b=v[c+40>>2];e=v[c+36>>2];v[296803]=0;ME(f,v[p+40>>2],e,b,1);e=v[296803];v[296803]=0;d=-1;Db:{if(!e){break Db}g=v[296804];if(!g){break Db}d=pb(v[e>>2],l,i);if(!d){break eb}Q(g|0)}e=P()|0;if((d|0)==1){continue}b=v[p+40>>2];e=w[b+28|0];d=w[b+25|0];g=w[b+24|0];k=v[b+4>>2];n=v[b>>2];v[296803]=0;La(87,f|0,b|0,n|0,k|0,g|0,d|0,e|0,0,0);e=v[296803];v[296803]=0;d=-1;Eb:{if(!e){break Eb}g=v[296804];if(!g){break Eb}d=pb(v[e>>2],l,i);if(!d){break eb}Q(g|0)}e=P()|0;if((d|0)==1){continue}e=v[c+336>>2];Fb:{if((e|0)<0){break Fb}b=v[p+40>>2];u[b+22>>1]=1;t[b+80|0]=e;v[b+76>>2]=h;v[b+8>>2]=v[b+8>>2]|16;u[b+82>>1]=w[p+22|0];u[b+84>>1]=w[p+21|0];d=w[p+20|0];u[b+88>>1]=e&255;u[b+86>>1]=d;if(!e|(J|!v[c+44>>2])){break Fb}v[296803]=0;ML(c,0,e&255);e=v[296803];v[296803]=0;d=-1;Gb:{if(!e){break Gb}g=v[296804];if(!g){break Gb}d=pb(v[e>>2],l,i);if(!d){break eb}Q(g|0)}e=P()|0;if((d|0)==1){continue}}v[296803]=0;b=v[c+4>>2];k=v[c+44>>2];e=v[296803];v[296803]=0;d=-1;Hb:{if(!e){break Hb}g=v[296804];if(!g){break Hb}d=pb(v[e>>2],l,i);if(!d){break eb}Q(g|0)}e=P()|0;if((d|0)==1){continue}Ib:{if(!(b?k?b+40|0:0:0)){break Ib}if(!J){b=v[p+40>>2];v[b+8>>2]=v[b+8>>2]|8}v[296803]=0;b=v[c+48>>2];e=v[296803];v[296803]=0;d=-1;Jb:{if(!e){break Jb}g=v[296804];if(!g){break Jb}d=pb(v[e>>2],l,i);if(!d){break eb}Q(g|0)}e=P()|0;if((d|0)==1){continue}if(!b){v[296803]=0;b=v[c+44>>2];e=v[296803];v[296803]=0;d=-1;Kb:{if(!e){break Kb}g=v[296804];if(!g){break Kb}d=pb(v[e>>2],l,i);if(!d){break eb}Q(g|0)}e=P()|0;if((d|0)==1){continue}}Lb:{if(!w[c+389|0]){d=v[p+40>>2];break Lb}m=0;if((b|0)>0){d=0;while(1){v[296803]=0;Qf(p+16|0,c,d&255);e=v[296803];v[296803]=0;j=-1;Mb:{if(!e){break Mb}g=v[296804];if(!g){break Mb}j=pb(v[e>>2],l,i);if(!j){break eb}Q(g|0)}e=P()|0;if((j|0)==1){continue nb}t[(p+48|0)+m|0]=w[p+19|0];d=d+1|0;m=d&65535;if((m|0)<(b|0)){continue}break}}d=v[p+40>>2];u[d+22>>1]=b;v[d+76>>2]=h;v[d+8>>2]=v[d+8>>2]|16}v[296803]=0;j=-1;k=T(15,(ga=-1,ha=x3a(b,0,3,0),ia=Pa,ia?ga:ha)|0)|0;e=v[296803];v[296803]=0;Nb:{if(!e){break Nb}g=v[296804];if(!g){break Nb}j=pb(v[e>>2],l,i);if(!j){break eb}Q(g|0)}e=P()|0;if((j|0)==1){continue}u[d+20>>1]=b;v[d+16>>2]=k;if((b|0)<1){break Ib}v[296803]=0;wC(c,0,k,k+1|0,k+2|0);e=v[296803];v[296803]=0;d=-1;Ob:{if(!e){break Ob}g=v[296804];if(!g){break Ob}d=pb(v[e>>2],l,i);if(!d){break eb}Q(g|0)}e=P()|0;if((d|0)==1){continue}d=1;if((b|0)==1){break Ib}while(1){e=v[v[p+40>>2]+16>>2];v[296803]=0;e=e+B(d,3)|0;wC(c,d&255,e,e+1|0,e+2|0);e=v[296803];v[296803]=0;j=-1;Pb:{if(!e){break Pb}g=v[296804];if(!g){break Pb}j=pb(v[e>>2],l,i);if(!j){break eb}Q(g|0)}e=P()|0;if((j|0)==1){continue nb}d=d+1|0;if((d|0)!=(b|0)){continue}break}}v[296803]=0;b=v[c+964>>2];e=v[296803];v[296803]=0;d=-1;Qb:{if(!e){break Qb}g=v[296804];if(!g){break Qb}d=pb(v[e>>2],l,i);if(!d){break eb}Q(g|0)}e=P()|0;if((d|0)==1){continue}Rb:{if(!(x[c+26>>1]==24&(b|0)!=0)){break Rb}b=0;if(v[c+336>>2]<0){break Rb}g=v[c+20>>2];if((g|0)<1){break Rb}e=v[c+16>>2];if((e|0)<1){break Rb}while(1){d=0;if((e|0)>0){while(1){v[296803]=0;pp(p+12|0,c,d,b,0);e=v[296803];v[296803]=0;j=-1;Sb:{if(!e){break Sb}g=v[296804];if(!g){break Sb}j=pb(v[e>>2],l,i);if(!j){break eb}Q(g|0)}e=P()|0;if((j|0)==1){continue nb}if(v[p+12>>2]==v[p+20>>2]){v[296803]=0;ah(c,d,b,0);e=v[296803];v[296803]=0;j=-1;Tb:{if(!e){break Tb}g=v[296804];if(!g){break Tb}j=pb(v[e>>2],l,i);if(!j){break eb}Q(g|0)}e=P()|0;if((j|0)==1){continue nb}}e=v[c+16>>2];d=d+1|0;if((e|0)>(d|0)){continue}break}g=v[c+20>>2]}b=b+1|0;if((g|0)>(b|0)){continue}break}}d=v[p+40>>2];b=B(B(v[d>>2],w[d+29|0]),w[d+24|0]>>>3|0);e=v[c+52>>2];F=b>>>0>e>>>0?b:e;v[d+12>>2]=F;v[296803]=0;j=T(15,F|0)|0;e=v[296803];v[296803]=0;b=-1;Ub:{if(!e){break Ub}g=v[296804];if(!g){break Ub}b=pb(v[e>>2],l,i);if(!b){break eb}Q(g|0)}e=P()|0;if((b|0)==1){continue}v[296803]=0;R(93,f|0,d|0);e=v[296803];v[296803]=0;d=-1;Vb:{if(!e){break Vb}g=v[296804];if(!g){break Vb}d=pb(v[e>>2],l,i);if(!d){break eb}Q(g|0)}e=P()|0;if((d|0)==1){continue}v[296803]=0;b=1;if(!(!f|!w[f+398|0])){v[f+208>>2]=v[f+208>>2]|2;b=7}e=v[296803];v[296803]=0;d=-1;Wb:{if(!e){break Wb}g=v[296804];if(!g){break Wb}d=pb(v[e>>2],l,i);if(!d){break eb}Q(g|0)}e=P()|0;if((d|0)==1){continue}Xb:{if((b|0)<1){break Xb}k=b;H=0;if(!J){while(1){v[296803]=0;q=v[c+20>>2];e=v[296803];v[296803]=0;d=-1;Yb:{if(!e){break Yb}g=v[296804];if(!g){break Yb}d=pb(v[e>>2],l,i);if(!d){break eb}Q(g|0)}e=P()|0;if((d|0)==1){continue nb}v[296803]=0;b=Ud(c,0);e=v[296803];v[296803]=0;d=-1;Zb:{if(!e){break Zb}g=v[296804];if(!g){break Zb}d=pb(v[e>>2],l,i);if(!d){break eb}Q(g|0)}e=P()|0;if((d|0)==1){continue nb}v[296803]=0;m=v[c+52>>2];e=v[296803];v[296803]=0;d=-1;_b:{if(!e){break _b}g=v[296804];if(!g){break _b}d=pb(v[e>>2],l,i);if(!d){break eb}Q(g|0)}e=P()|0;if((d|0)==1){continue nb}v[296803]=0;s=v[c+20>>2];e=v[296803];v[296803]=0;d=-1;$b:{if(!e){break $b}g=v[296804];if(!g){break $b}d=pb(v[e>>2],l,i);if(!d){break eb}Q(g|0)}e=P()|0;if((d|0)==1){continue nb}n=v[c+20>>2]-1|0;s=b+B(m,s-1|0)|0;while(1){v[296803]=0;b=v[c+964>>2];e=v[296803];v[296803]=0;d=-1;ac:{if(!e){break ac}g=v[296804];if(!g){break ac}d=pb(v[e>>2],l,i);if(!d){break eb}Q(g|0)}e=P()|0;if((d|0)==1){continue nb}bc:{cc:{if(b){b=v[c+16>>2];if((b|0)<=0){break cc}while(1){v[296803]=0;m=-1;d=b-1|0;Mm(p+8|0,c,d,n,1);e=v[296803];v[296803]=0;dc:{if(!e){break dc}g=v[296804];if(!g){break dc}m=pb(v[e>>2],l,i);if(!m){break eb}Q(g|0)}e=P()|0;if((m|0)==1){continue nb}g=w[p+9|0];m=w[p+8|0];r=B(d,w[v[p+40>>2]+29|0]);e=r+j|0;t[e|0]=w[p+10|0];t[e+2|0]=m;t[e+1|0]=g;v[296803]=0;D=Wk(c,d,n);e=v[296803];v[296803]=0;m=-1;ec:{if(!e){break ec}g=v[296804];if(!g){break ec}m=pb(v[e>>2],l,i);if(!m){break eb}Q(g|0)}e=P()|0;if((m|0)==1){continue nb}t[j+(r+3|0)|0]=D;e=(b|0)>1;b=d;if(e){continue}break}break cc}if(!(!s|(F|0)<1)){v[296803]=0;d=v[c+52>>2];e=v[296803];v[296803]=0;b=-1;fc:{if(!e){break fc}g=v[296804];if(!g){break fc}b=pb(v[e>>2],l,i);if(!b){break eb}Q(g|0)}e=P()|0;if((b|0)==1){continue nb}cb(j,s,(d|0)<(F|0)?d:F)}if(w[v[p+40>>2]+25|0]==2){v[296803]=0;lp(c,j,F);e=v[296803];v[296803]=0;d=-1;gc:{if(!e){break gc}g=v[296804];if(!g){break gc}d=pb(v[e>>2],l,i);if(!d){break eb}Q(g|0)}e=P()|0;if((d|0)==1){continue nb}}v[296803]=0;R(95,f|0,j|0);e=v[296803];v[296803]=0;d=-1;hc:{if(!e){break hc}g=v[296804];if(!g){break hc}d=pb(v[e>>2],l,i);if(!d){break eb}Q(g|0)}e=P()|0;if((d|0)==1){continue nb}break bc}v[296803]=0;R(95,f|0,j|0);e=v[296803];v[296803]=0;d=-1;ic:{if(!e){break ic}g=v[296804];if(!g){break ic}d=pb(v[e>>2],l,i);if(!d){break eb}Q(g|0)}e=P()|0;if((d|0)==1){continue nb}n=n-1|0}q=q-1|0;if((q|0)>=1){v[296803]=0;b=v[c+52>>2];e=v[296803];v[296803]=0;d=-1;jc:{if(!e){break jc}g=v[296804];if(!g){break jc}d=pb(v[e>>2],l,i);if(!d){break eb}Q(g|0)}e=P()|0;if((d|0)==1){continue nb}s=s-b|0;continue}break}H=H+1|0;if((k|0)!=(H|0)){continue}break Xb}}while(1){v[296803]=0;q=v[c+20>>2];e=v[296803];v[296803]=0;d=-1;kc:{if(!e){break kc}g=v[296804];if(!g){break kc}d=pb(v[e>>2],l,i);if(!d){break eb}Q(g|0)}e=P()|0;if((d|0)==1){continue nb}v[296803]=0;b=Ud(c,0);e=v[296803];v[296803]=0;d=-1;lc:{if(!e){break lc}g=v[296804];if(!g){break lc}d=pb(v[e>>2],l,i);if(!d){break eb}Q(g|0)}e=P()|0;if((d|0)==1){continue nb}v[296803]=0;m=v[c+52>>2];e=v[296803];v[296803]=0;d=-1;mc:{if(!e){break mc}g=v[296804];if(!g){break mc}d=pb(v[e>>2],l,i);if(!d){break eb}Q(g|0)}e=P()|0;if((d|0)==1){continue nb}v[296803]=0;s=v[c+20>>2];e=v[296803];v[296803]=0;d=-1;nc:{if(!e){break nc}g=v[296804];if(!g){break nc}d=pb(v[e>>2],l,i);if(!d){break eb}Q(g|0)}e=P()|0;if((d|0)==1){continue nb}n=v[c+20>>2]-1|0;s=b+B(m,s-1|0)|0;while(1){v[296803]=0;b=v[c+964>>2];e=v[296803];v[296803]=0;d=-1;oc:{if(!e){break oc}g=v[296804];if(!g){break oc}d=pb(v[e>>2],l,i);if(!d){break eb}Q(g|0)}e=P()|0;if((d|0)==1){continue nb}pc:{if(!b){if(!(!s|(F|0)<1)){v[296803]=0;d=v[c+52>>2];e=v[296803];v[296803]=0;b=-1;qc:{if(!e){break qc}g=v[296804];if(!g){break qc}b=pb(v[e>>2],l,i);if(!b){break eb}Q(g|0)}e=P()|0;if((b|0)==1){continue nb}cb(j,s,(d|0)<(F|0)?d:F)}if(w[v[p+40>>2]+25|0]==2){v[296803]=0;lp(c,j,F);e=v[296803];v[296803]=0;d=-1;rc:{if(!e){break rc}g=v[296804];if(!g){break rc}d=pb(v[e>>2],l,i);if(!d){break eb}Q(g|0)}e=P()|0;if((d|0)==1){continue nb}}v[296803]=0;R(95,f|0,j|0);e=v[296803];v[296803]=0;d=-1;sc:{if(!e){break sc}g=v[296804];if(!g){break sc}d=pb(v[e>>2],l,i);if(!d){break eb}Q(g|0)}e=P()|0;if((d|0)==1){continue nb}break pc}b=v[c+16>>2];if((b|0)>0){while(1){v[296803]=0;m=-1;d=b-1|0;Mm(p+8|0,c,d,n,1);e=v[296803];v[296803]=0;tc:{if(!e){break tc}g=v[296804];if(!g){break tc}m=pb(v[e>>2],l,i);if(!m){break eb}Q(g|0)}e=P()|0;if((m|0)==1){continue nb}r=B(d,w[v[p+40>>2]+29|0]);t[r+j|0]=w[p+8|0];v[296803]=0;D=Wk(c,d,n);e=v[296803];v[296803]=0;m=-1;uc:{if(!e){break uc}g=v[296804];if(!g){break uc}m=pb(v[e>>2],l,i);if(!m){break eb}Q(g|0)}e=P()|0;if((m|0)==1){continue nb}t[j+(r+1|0)|0]=D;e=(b|0)>1;b=d;if(e){continue}break}}v[296803]=0;R(95,f|0,j|0);e=v[296803];v[296803]=0;d=-1;vc:{if(!e){break vc}g=v[296804];if(!g){break vc}d=pb(v[e>>2],l,i);if(!d){break eb}Q(g|0)}e=P()|0;if((d|0)==1){continue nb}n=n-1|0}q=q-1|0;if((q|0)>=1){v[296803]=0;b=v[c+52>>2];e=v[296803];v[296803]=0;d=-1;wc:{if(!e){break wc}g=v[296804];if(!g){break wc}d=pb(v[e>>2],l,i);if(!d){break eb}Q(g|0)}e=P()|0;if((d|0)==1){continue nb}s=s-b|0;continue}break}H=H+1|0;if((k|0)!=(H|0)){continue}break}}v[296803]=0;$a(j);e=v[296803];v[296803]=0;d=-1;xc:{if(!e){break xc}g=v[296804];if(!g){break xc}d=pb(v[e>>2],l,i);if(!d){break eb}Q(g|0)}e=P()|0;if((d|0)==1){continue}yc:{if(J|!v[c+44>>2]){break yc}b=v[c+336>>2];if((b|0)<1){break yc}v[296803]=0;ML(c,b&255,0);e=v[296803];v[296803]=0;d=-1;zc:{if(!e){break zc}g=v[296804];if(!g){break zc}d=pb(v[e>>2],l,i);if(!d){break eb}Q(g|0)}e=P()|0;if((d|0)==1){continue}}v[296803]=0;R(96,f|0,v[p+40>>2]);e=v[296803];v[296803]=0;d=-1;Ac:{if(!e){break Ac}g=v[296804];if(!g){break Ac}d=pb(v[e>>2],l,i);if(!d){break eb}Q(g|0)}e=P()|0;if((d|0)==1){continue}b=v[v[p+40>>2]+16>>2];if(b){v[296803]=0;$a(b);e=v[296803];v[296803]=0;d=-1;Bc:{if(!e){break Bc}g=v[296804];if(!g){break Bc}d=pb(v[e>>2],l,i);if(!d){break eb}Q(g|0)}e=P()|0;if((d|0)==1){continue}v[v[p+40>>2]+16>>2]=0}v[296803]=0;R(77,p+44|0,p+40|0);e=v[296803];v[296803]=0;b=-1;Cc:{if(!e){break Cc}g=v[296804];if(!g){break Cc}b=pb(v[e>>2],l,i);if(!b){break eb}Q(g|0)}d=1;e=P()|0;if((b|0)==1){continue}break}break cb}$a(l);tc(e,g);L()}d=0}$a(l);Ma=p+304|0;if(d){break d}break c;case 16:E=ab(1028);c=L3(E);Mi(c,a);if(Sk(c,b)){b=0}else{Dc:{if(v[c+44>>2]){Sb(c+72|0,20357,255);b=0;break Dc}v[c+980>>2]=b;v[c+1008>>2]=v[c+52>>2];u[c+1012>>1]=x[c+26>>1];b=v[c+20>>2];v[c+1e3>>2]=v[c+16>>2];v[c+1004>>2]=b;e=v[c+32>>2];b=gb(e);v[c+984>>2]=b;if(!b){Sb(c+72|0,23366,255);b=0;break Dc}cb(b,v[c+56>>2],e);b=V4(c+980|0);v[c+976>>2]=b;if(!b){Sb(c+72|0,5602,255);b=0;break Dc}if(!(!b|v[b>>2]!=1381173770)){v[b+164>>2]=121}b=v[c+976>>2];if(!(!b|v[b>>2]!=1381173770)){v[b+168>>2]=111}b=v[c+976>>2];if(!(!b|v[b>>2]!=1381173770)){v[b+176>>2]=122}b=v[c+976>>2];Ec:{if(!b|v[b>>2]!=1381173770){break Ec}Fc:{if(!(!v[b+152>>2]|!v[b+156>>2])){if(w[b+344|0]|(w[b+416|0]?1:w[b+417|0])){break Fc}v[b+148>>2]=0;v[b+140>>2]=0;v[b+144>>2]=0;t[b+136|0]=0;v[b+132>>2]=0;if(AL(b)){break Ec}t[b+416|0]=1;break Ec}ob(b,3,0,0);break Ec}ob(b,11,0,0)}b=0;g=Ma-16|0;Ma=g;e=v[c+976>>2];if(!(!e|v[e>>2]!=1381173770)){b=v[e+4>>2]}i=v[b+20>>2];h=v[b+24>>2];k=ab(B(h,v[b+28>>2]+1|0));f=Ma-48|0;Ma=f;d=v[48338];v[f+32>>2]=v[48337];v[f+36>>2]=d;d=v[48336];v[f+24>>2]=v[48335];v[f+28>>2]=d;d=v[48334];v[f+16>>2]=v[48333];v[f+20>>2]=d;d=v[48332];v[f+8>>2]=v[48331];v[f+12>>2]=d;Gc:{if(!e|v[e>>2]!=1381173770){break Gc}if(!w[e+416|0]){ob(e,11,0,0);break Gc}if(v[e+420>>2]!=1296581714){ob(e,2052,0,0);break Gc}Hc:{d=v[e+280>>2];if(!d|v[d>>2]!=1413829197){break Hc}d=v[d+28>>2];if(v[d>>2]==1296581714?d:0){break Hc}ob(e,1072,0,0);break Gc}if(VB(e,f+8|0,f+44|0)){break Gc}d=v[f+44>>2];v[d+64>>2]=0;v[d+60>>2]=0;v[d+56>>2]=0;v[d+52>>2]=0;t[d+48|0]=0;v[d+44>>2]=0;v[d+40>>2]=0;t[d+38|0]=1;t[d+37|0]=0;t[d+35|0]=0;u[d+32>>1]=0;Tw(e,d)}Ma=f+48|0;f=Ma-48|0;Ma=f;d=v[48314];v[f+32>>2]=v[48313];v[f+36>>2]=d;d=v[48312];v[f+24>>2]=v[48311];v[f+28>>2]=d;d=v[48310];v[f+16>>2]=v[48309];v[f+20>>2]=d;d=v[48308];v[f+8>>2]=v[48307];v[f+12>>2]=d;Ic:{if(!e|v[e>>2]!=1381173770){break Ic}if(!w[e+416|0]){ob(e,11,0,0);break Ic}Jc:{d=v[e+280>>2];if(!d|v[d>>2]!=1413829197){break Jc}d=v[d+28>>2];if(v[d>>2]==1296581714?d:0){break Jc}ob(e,1072,0,0);break Ic}if(fp(e,f+8|0,f+44|0)){break Ic}d=v[f+44>>2];t[d+44|0]=0;t[d+43|0]=0;t[d+42|0]=0;t[d+41|0]=2;t[d+40|0]=8;v[d+36>>2]=h;v[d+32>>2]=i;Tw(e,d)}Ma=f+48|0;if((h|0)>=1){f=k+1|0;d=0;while(1){t[k+B(v[b+28>>2]+1|0,d)|0]=0;i=v[b+28>>2];cb(f+B(i+1|0,d)|0,v[b+4>>2]+B(i,h+(d^-1)|0)|0,i);i=v[b+28>>2];lp(c,f+B(i+1|0,d)|0,i);d=d+1|0;if((h|0)!=(d|0)){continue}break}}n=ab(B(h,v[b+28>>2]+1|0));q=B(h,v[b+28>>2]+1|0);v[g+12>>2]=q;d=0;b=Ma+-64|0;Ma=b;h=v[g+12>>2];v[g+12>>2]=0;v[b+48>>2]=0;v[b+40>>2]=0;v[b+44>>2]=0;i=CY(b+8|0,9,324916);if(!i){v[b+24>>2]=0;v[b+20>>2]=n;v[b+12>>2]=0;v[b+8>>2]=k;while(1){if(!d){v[b+24>>2]=h;h=0}f=b+8|0;Kc:{Lc:{if(!v[b+12>>2]){v[b+12>>2]=q;break Lc}d=0;if(q){break Kc}}q=0;d=4}f=ck(f,d);if(!f){d=v[b+24>>2];continue}break}v[g+12>>2]=v[b+28>>2];nn(b+8|0);i=(f|0)==1?0:f}Ma=b- -64|0;if(!i){h=v[g+12>>2];d=Ma-48|0;Ma=d;b=v[48322];v[d+32>>2]=v[48321];v[d+36>>2]=b;b=v[48320];v[d+24>>2]=v[48319];v[d+28>>2]=b;b=v[48318];v[d+16>>2]=v[48317];v[d+20>>2]=b;b=v[48316];v[d+8>>2]=v[48315];v[d+12>>2]=b;Mc:{if(!e|v[e>>2]!=1381173770){break Mc}if(!w[e+416|0]){ob(e,11,0,0);break Mc}if(!v[e+420>>2]){ob(e,2052,0,0);break Mc}Nc:{b=v[e+280>>2];if(!b|v[b>>2]!=1413829197){break Nc}b=v[b+28>>2];if(v[b>>2]==1296581714?b:0){break Nc}ob(e,1072,0,0);break Mc}if(Ln(e,d+8|0,d+44|0)){break Mc}b=v[d+44>>2];v[b+36>>2]=h;t[b+32|0]=!h;f=e;if(h){b=Qa[v[e+152>>2]](h)|0;v[v[d+44>>2]+40>>2]=b;if(!b){ob(e,1,0,0);break Mc}cb(b,n,h);b=v[d+44>>2]}Tw(f,b)}Ma=d+48|0;b=Ma-48|0;Ma=b;f=v[48330];v[b+32>>2]=v[48329];v[b+36>>2]=f;f=v[48328];v[b+24>>2]=v[48327];v[b+28>>2]=f;f=v[48326];v[b+16>>2]=v[48325];v[b+20>>2]=f;f=v[48324];v[b+8>>2]=v[48323];v[b+12>>2]=f;Oc:{if(!e|v[e>>2]!=1381173770){break Oc}if(!w[e+416|0]){ob(e,11,0,0);break Oc}if(!v[e+420>>2]){ob(e,2052,0,0);break Oc}Pc:{f=v[e+280>>2];if(!f|v[f>>2]!=1413829197){break Pc}f=v[f+28>>2];if(v[f>>2]==1296581714?f:0){break Pc}ob(e,1072,0,0);break Oc}if(Jt(e,b+8|0,b+44|0)){break Oc}Tw(e,v[b+44>>2]);f=v[e+420>>2];if((f|0)!=1246250066&(f|0)!=1229472850){break Oc}t[e+416|0]=0}Ma=b+48|0;$a(k);$a(n)}Ma=g+16|0;f=v[c+976>>2];Qc:{if(!f|v[f>>2]!=1381173770){break Qc}Rc:{if(!v[f+152>>2]|!v[f+156>>2]|(!v[f+164>>2]|!v[f+168>>2])){break Rc}if(!v[f+176>>2]){break Rc}if(w[f+344|0]){ob(f,11,0,0);break Qc}v[f+148>>2]=0;v[f+140>>2]=0;v[f+144>>2]=0;t[f+136|0]=0;v[f+132>>2]=0;d=Ma-16|0;Ma=d;b=v[f+276>>2];Sc:{if(!b){break Sc}Tc:{if(w[f+417|0]){break Tc}Uc:{e=v[f+164>>2];if(!e){break Uc}if(Qa[e|0](f)|0){break Uc}ob(f,901,0,0);break Sc}v[f+424>>2]=32768;t[f+417|0]=1;e=Qa[v[f+152>>2]](32780)|0;v[f+428>>2]=e;if(!e){ob(f,1,0,0);break Sc}i=e;e=v[b>>2];Yq(i,(e|0)==1229472850?-1991225785:(e|0)==1246250066?-1958064569:-1974645177);Yq(v[f+428>>2]+4|0,218765834);if(!(Qa[v[f+176>>2]](f,v[f+428>>2],8,d+12|0)|0)){b=v[f+428>>2];if(b){Qa[v[f+156>>2]](b,v[f+424>>2]+12|0);v[f+428>>2]=0}ob(f,901,0,0);break Sc}if(v[d+12>>2]==8){break Tc}b=v[f+428>>2];if(b){Qa[v[f+156>>2]](b,v[f+424>>2]+12|0);v[f+428>>2]=0}ob(f,12,0,0);break Sc}while(1){if(Qa[v[b+16>>2]](f,b)|0){break Sc}b=v[b+24>>2];if(b){continue}break}if(!w[f+416|0]){b=v[f+428>>2];if(b){Qa[v[f+156>>2]](b,v[f+424>>2]+12|0);v[f+428>>2]=0}t[f+417|0]=0;b=v[f+168>>2];if(!b){break Sc}if(Qa[b|0](f)|0){break Sc}ob(f,901,0,0);break Sc}b=v[f+276>>2];if(b){while(1){e=v[b+24>>2];Qa[v[b+8>>2]](f,b)|0;b=e;if(e){continue}break}}v[f+276>>2]=0;v[f+280>>2]=0}Ma=d+16|0;break Qc}ob(f,3,0,0)}b=1}}if(b){break b}break a;case 6:c=ab(976);E=Ge(c,7);v[c>>2]=39472;Mi(E,a);h=Ma-800|0;Ma=h;e=0;Vc:{if(Sk(c,b)){break Vc}if(x[c+26>>1]<=7){b=w[23520]|w[23521]<<8;t[c+96|0]=b;t[c+97|0]=b>>>8;b=w[23516]|w[23517]<<8|(w[23518]<<16|w[23519]<<24);e=w[23512]|w[23513]<<8|(w[23514]<<16|w[23515]<<24);t[c+88|0]=e;t[c+89|0]=e>>>8;t[c+90|0]=e>>>16;t[c+91|0]=e>>>24;t[c+92|0]=b;t[c+93|0]=b>>>8;t[c+94|0]=b>>>16;t[c+95|0]=b>>>24;b=w[23508]|w[23509]<<8|(w[23510]<<16|w[23511]<<24);e=w[23504]|w[23505]<<8|(w[23506]<<16|w[23507]<<24);t[c+80|0]=e;t[c+81|0]=e>>>8;t[c+82|0]=e>>>16;t[c+83|0]=e>>>24;t[c+84|0]=b;t[c+85|0]=b>>>8;t[c+86|0]=b>>>16;t[c+87|0]=b>>>24;b=w[23500]|w[23501]<<8|(w[23502]<<16|w[23503]<<24);e=w[23496]|w[23497]<<8|(w[23498]<<16|w[23499]<<24);t[c+72|0]=e;t[c+73|0]=e>>>8;t[c+74|0]=e>>>16;t[c+75|0]=e>>>24;t[c+76|0]=b;t[c+77|0]=b>>>8;t[c+78|0]=b>>>16;t[c+79|0]=b>>>24;e=0;break Vc}t[h+776|0]=0;e=v[c+4>>2];t[h+777|0]=((e?v[c+44>>2]?e+40|0:0:0)|0)!=0;f=x[c+26>>1];e=(f|0)==8;t[h+783|0]=e?24:0;t[h+778|0]=e?1:2;d=v[c+20>>2];i=v[c+16>>2];t[h+793|0]=0;t[h+792|0]=f;e=e<<8;if(!(!v[c+964>>2]|(f|0)!=24)){t[h+792|0]=32}t[h+779|0]=0;t[h+780|0]=0;e=w[c+494|0]?e:e<<8|(e&65280)>>>8;t[h+781|0]=e;t[h+782|0]=e>>>8;u[h+784>>1]=0;u[h+786>>1]=0;e=i<<16>>16;u[h+788>>1]=w[c+494|0]?e:e<<8|(e&65280)>>>8;e=d<<16>>16;u[h+790>>1]=w[c+494|0]?e:e<<8|(e&65280)>>>8;Qa[v[v[b>>2]+16>>2]](b,h+776|0,18,1)|0;e=(w[h+779|0]|w[h+780|0]<<8)<<16>>16;e=w[c+494|0]?e:e<<8|(e&65280)>>>8;t[h+779|0]=e;t[h+780|0]=e>>>8;e=(w[h+781|0]|w[h+782|0]<<8)<<16>>16;e=w[c+494|0]?e:e<<8|(e&65280)>>>8;t[h+781|0]=e;t[h+782|0]=e>>>8;e=u[h+784>>1];u[h+784>>1]=w[c+494|0]?e:e<<8|(e&65280)>>>8;e=u[h+786>>1];u[h+786>>1]=w[c+494|0]?e:e<<8|(e&65280)>>>8;e=u[h+788>>1];u[h+788>>1]=w[c+494|0]?e:e<<8|(e&65280)>>>8;e=u[h+790>>1];u[h+790>>1]=w[c+494|0]?e:e<<8|(e&65280)>>>8;if(x[c+26>>1]==8){e=v[c+4>>2];e=e?v[c+44>>2]?e+40|0:0:0;while(1){f=h+B(g,3)|0;d=e+(g<<2)|0;t[f|0]=w[d|0];t[f+1|0]=w[d+1|0];t[f+2|0]=w[d+2|0];d=g|1;f=h+B(d,3)|0;d=e+(d<<2)|0;t[f|0]=w[d|0];t[f+1|0]=w[d+1|0];t[f+2|0]=w[d+2|0];g=g+2|0;if((g|0)!=256){continue}break}Qa[v[v[b>>2]+16>>2]](b,h,768,1)|0}g=0;f=Ud(c,0);Wc:{if(!(x[c+26>>1]!=8?v[c+964>>2]:0)){if(!x[h+790>>1]){break Wc}while(1){e=b;if(v[c+20>>2]>=(g|0)){f=Ud(c,0)+B(v[c+52>>2],g)|0}Qa[v[v[b>>2]+16>>2]](e,f,B(x[h+788>>1],x[c+26>>1]>>>3|0),1)|0;g=g+1|0;if(g>>>0>1]){continue}break}break Wc}g=x[h+788>>1];e=gb(g<<2);Xc:{if(!x[h+790>>1]){break Xc}d=0;while(1){f=0;if(g&65535){g=0;j=0;while(1){Mm(h,c,j,d,1);f=w[h+2|0];i=w[h+1|0];t[e+g|0]=w[h|0];t[e+(g|1)|0]=i;t[e+(g|2)|0]=f;ga=e+(g|3)|0,ha=Wk(c,j,d),t[ga|0]=ha;g=g+4|0;f=x[h+788>>1];j=j+1|0;if(f>>>0>j>>>0){continue}break}}Qa[v[v[b>>2]+16>>2]](b,e,f<<2,1)|0;d=d+1|0;if(d>>>0>=x[h+790>>1]){break Xc}g=x[h+788>>1];continue}}$a(e)}e=1}Ma=h+800|0;if(e){break d}break c;case 7:c=ab(976);E=Ge(c,8);v[c>>2]=39516;Mi(E,a);j=Ma-176|0;Ma=j;k=b;if(!Sk(c,b)){eb(j+48|3,0,125);v[j+52>>2]=0;t[j+50|0]=1;u[j+48>>1]=1290;e=v[c+16>>2];u[j+56>>1]=e-1;u[j+58>>1]=x[c+20>>1]-1;u[j+60>>1]=v[c+364>>2];b=v[c+368>>2];t[j+112|0]=0;u[j+62>>1]=b;b=v[c+44>>2];u[j+116>>1]=!b;f=x[c+26>>1]-8|0;Yc:{if(!((f|0)!=16?f:0)){t[j+51|0]=8;t[j+113|0]=b?1:3;if(!(v[c+44>>2]|!v[c+964>>2])){t[j+113|0]=4}d=v[c+16>>2];u[j+114>>1]=d;b=0;break Yc}d=e+7>>>3|0;u[j+114>>1]=d;t[j+51|0]=1;b=(b|0)==16;t[j+113|0]=b?4:1;if(!b){u[j+66>>1]=65280;u[j+68>>1]=65535;u[j+64>>1]=0;b=0;break Yc}b=j+16|0;Qf(b,c,0);t[j+66|0]=w[j+16|0];t[j+65|0]=w[j+17|0];t[j+64|0]=w[j+18|0];Qf(b,c,1);t[j+69|0]=w[j+16|0];t[j+68|0]=w[j+17|0];t[j+67|0]=w[j+18|0];Qf(b,c,2);t[j+72|0]=w[j+16|0];t[j+71|0]=w[j+17|0];t[j+70|0]=w[j+18|0];Qf(b,c,3);t[j+75|0]=w[j+16|0];t[j+74|0]=w[j+17|0];t[j+73|0]=w[j+18|0];Qf(b,c,4);t[j+78|0]=w[j+16|0];t[j+77|0]=w[j+17|0];t[j+76|0]=w[j+18|0];Qf(b,c,5);t[j+81|0]=w[j+16|0];t[j+80|0]=w[j+17|0];t[j+79|0]=w[j+18|0];Qf(b,c,6);t[j+84|0]=w[j+16|0];t[j+83|0]=w[j+17|0];t[j+82|0]=w[j+18|0];Qf(b,c,7);t[j+87|0]=w[j+16|0];t[j+86|0]=w[j+17|0];t[j+85|0]=w[j+18|0];Qf(b,c,8);t[j+90|0]=w[j+16|0];t[j+89|0]=w[j+17|0];t[j+88|0]=w[j+18|0];Qf(b,c,9);t[j+93|0]=w[j+16|0];t[j+92|0]=w[j+17|0];t[j+91|0]=w[j+18|0];Qf(b,c,10);t[j+96|0]=w[j+16|0];t[j+95|0]=w[j+17|0];t[j+94|0]=w[j+18|0];Qf(b,c,11);t[j+99|0]=w[j+16|0];t[j+98|0]=w[j+17|0];t[j+97|0]=w[j+18|0];Qf(b,c,12);t[j+102|0]=w[j+16|0];t[j+101|0]=w[j+17|0];t[j+100|0]=w[j+18|0];Qf(b,c,13);t[j+105|0]=w[j+16|0];t[j+104|0]=w[j+17|0];t[j+103|0]=w[j+18|0];Qf(b,c,14);t[j+108|0]=w[j+16|0];t[j+107|0]=w[j+17|0];t[j+106|0]=w[j+18|0];Qf(b,c,15);t[j+111|0]=w[j+16|0];t[j+110|0]=w[j+17|0];t[j+109|0]=w[j+18|0];d=x[j+114>>1];b=x[j+52>>1]}u[j+114>>1]=d+1&65534;b=b<<16>>16;u[j+52>>1]=w[c+494|0]?b:b<<8|(b&65280)>>>8;b=u[j+54>>1];u[j+54>>1]=w[c+494|0]?b:b<<8|(b&65280)>>>8;b=u[j+56>>1];u[j+56>>1]=w[c+494|0]?b:b<<8|(b&65280)>>>8;b=u[j+58>>1];u[j+58>>1]=w[c+494|0]?b:b<<8|(b&65280)>>>8;b=u[j+60>>1];u[j+60>>1]=w[c+494|0]?b:b<<8|(b&65280)>>>8;b=u[j+62>>1];u[j+62>>1]=w[c+494|0]?b:b<<8|(b&65280)>>>8;b=u[j+114>>1];u[j+114>>1]=w[c+494|0]?b:b<<8|(b&65280)>>>8;b=u[j+116>>1];u[j+116>>1]=w[c+494|0]?b:b<<8|(b&65280)>>>8;F=Qa[v[v[k>>2]+16>>2]](k,j+48|0,128,1)|0;Zc:{if(!F){Sb(c+72|0,29962,255);break Zc}b=u[j+52>>1];u[j+52>>1]=w[c+494|0]?b:b<<8|(b&65280)>>>8;b=u[j+54>>1];u[j+54>>1]=w[c+494|0]?b:b<<8|(b&65280)>>>8;b=u[j+56>>1];u[j+56>>1]=w[c+494|0]?b:b<<8|(b&65280)>>>8;b=u[j+58>>1];u[j+58>>1]=w[c+494|0]?b:b<<8|(b&65280)>>>8;b=u[j+60>>1];u[j+60>>1]=w[c+494|0]?b:b<<8|(b&65280)>>>8;b=u[j+62>>1];u[j+62>>1]=w[c+494|0]?b:b<<8|(b&65280)>>>8;b=u[j+114>>1];u[j+114>>1]=w[c+494|0]?b:b<<8|(b&65280)>>>8;b=u[j+116>>1];u[j+116>>1]=w[c+494|0]?b:b<<8|(b&65280)>>>8;o=DL(j+16|0,0,0);T4(o);_c:{if(!v[c+44>>2]){q=v[c+20>>2];if((q|0)>=1){d=w[j+113|0];while(1){i=q;q=i-1|0;m=0;if(d<<24>>24>=1){while(1){b=v[c+16>>2];$c:{if((b|0)<1){break $c}d=0;f=0;n=0;g=0;h=0;ad:{bd:{cd:{dd:{ed:{e=m;switch(e|0){case 3:break bd;case 2:break cd;case 1:break dd;case 0:break ed;default:break $c}}while(1){Mm(j+8|0,c,e,q,1);b=f&255;f=w[j+10|0];fd:{gd:{hd:{if((b|0)!=(f|0)){id:{switch(d&255){case 1:if(b>>>0<192){break gd}break;case 0:break fd;default:break id}}n=d|-64;break hd}n=255;if((d&255)!=63){break fd}}Qa[v[v[o>>2]+44>>2]](o,n&255)|0}Qa[v[v[o>>2]+44>>2]](o,b)|0;d=0}d=d+1|0;b=v[c+16>>2];e=e+1|0;if((b|0)>(e|0)){continue}break}break ad}while(1){Mm(j+8|0,c,n,q,1);b=f&255;f=w[j+9|0];jd:{kd:{ld:{if((b|0)!=(f|0)){md:{switch(d&255){case 1:if(b>>>0<192){break kd}break;case 0:break jd;default:break md}}e=d|-64;break ld}e=255;if((d&255)!=63){break jd}}Qa[v[v[o>>2]+44>>2]](o,e&255)|0}Qa[v[v[o>>2]+44>>2]](o,b)|0;d=0}d=d+1|0;b=v[c+16>>2];n=n+1|0;if((b|0)>(n|0)){continue}break}break ad}while(1){Mm(j+8|0,c,g,q,1);b=f&255;f=w[j+8|0];nd:{od:{pd:{if((b|0)!=(f|0)){qd:{switch(d&255){case 1:if(b>>>0<192){break od}break;case 0:break nd;default:break qd}}e=d|-64;break pd}e=255;if((d&255)!=63){break nd}}Qa[v[v[o>>2]+44>>2]](o,e&255)|0}Qa[v[v[o>>2]+44>>2]](o,b)|0;d=0}d=d+1|0;b=v[c+16>>2];g=g+1|0;if((b|0)>(g|0)){continue}break}break ad}while(1){b=f&255;f=w[v[c+964>>2]+(B(v[c+16>>2],q)+h|0)|0];rd:{sd:{td:{if((b|0)!=(f|0)){ud:{switch(d&255){case 1:if(b>>>0<192){break sd}break;case 0:break rd;default:break ud}}e=d|-64;break td}e=255;if((d&255)!=63){break rd}}Qa[v[v[o>>2]+44>>2]](o,e&255)|0}Qa[v[v[o>>2]+44>>2]](o,b)|0;d=0}d=d+1|0;b=v[c+16>>2];h=h+1|0;if((b|0)>(h|0)){continue}break}}vd:{wd:{switch(d&255){case 1:if(f>>>0<192){break vd}break;case 0:break $c;default:break wd}}Qa[v[v[o>>2]+44>>2]](o,(d|192)&255)|0}Qa[v[v[o>>2]+44>>2]](o,f)|0}if(b&1){Qa[v[v[o>>2]+44>>2]](o,0)|0}m=m+1|0;d=t[j+113|0];if((m|0)<(d|0)){continue}break}}if((i|0)>=2){continue}break}}b=v[o+4>>2];Qa[v[v[k>>2]+16>>2]](k,b,b?v[o+16>>2]:-1,1)|0;break _c}if(x[c+26>>1]==8){h=v[c+20>>2];if((h|0)>=1){while(1){i=h-1|0;f=0;d=0;q=0;e=v[c+16>>2];xd:{if((e|0)<1){break xd}while(1){e=q&255;q=Vk(c,f,i);yd:{zd:{Ad:{if((e|0)!=(q|0)){Bd:{Cd:{b=d;switch(d&255){case 0:break yd;case 1:break Cd;default:break Bd}}if(e>>>0<192){break zd}}n=b|-64;break Ad}n=255;b=d;if((d&255)!=63){break yd}}Qa[v[v[o>>2]+44>>2]](o,n&255)|0}Qa[v[v[o>>2]+44>>2]](o,e)|0;b=0}d=b+1|0;e=v[c+16>>2];f=f+1|0;if((e|0)>(f|0)){continue}break}b=b&255;if((b|0)==255){break xd}if(!(!b&q>>>0<192)){Qa[v[v[o>>2]+44>>2]](o,(d|192)&255)|0}Qa[v[v[o>>2]+44>>2]](o,q)|0}if(e&1){Qa[v[v[o>>2]+44>>2]](o,0)|0}b=(h|0)>1;h=i;if(b){continue}break}}d=0;b=v[o+4>>2];Qa[v[v[k>>2]+16>>2]](k,b,b?v[o+16>>2]:-1,1)|0;if(x[c+26>>1]!=8){break _c}Qa[v[v[k>>2]+44>>2]](k,12)|0;b=gb(768);while(1){Qf(j+8|0,c,d&255);f=w[j+10|0];h=w[j+9|0];e=b+B(d,3)|0;t[e+2|0]=w[j+8|0];t[e+1|0]=h;t[e|0]=f;d=d+1|0;if((d|0)!=256){continue}break}Qa[v[v[k>>2]+16>>2]](k,b,768,1)|0;$a(b);break _c}b=v[c+4>>2];b=b?v[c+44>>2]?b+40|0:0:0;b=BQ(b,b+4|0);f=x[c+26>>1];s=gb(x[j+114>>1]);q=v[c+16>>2];m=gb(q);Dd:{e=v[c+20>>2];if((e|0)<=0){break Dd}J=(f|0)==1&(b|0)>0;n=s+1|0;l=s-1|0;while(1){g=e-1|0;d=0;Ed:{if((q|0)<1){break Ed}while(1){ga=d+m|0,ha=Vk(c,d,g),t[ga|0]=ha;d=d+1|0;q=v[c+16>>2];if((d|0)<(q|0)){continue}break}if(!(J&(q|0)>0)){break Ed}f=q&3;d=0;if(q-1>>>0>=3){b=q&-4;while(1){h=d+m|0;t[h|0]=1-w[h|0];h=m+(d|1)|0;t[h|0]=1-w[h|0];h=m+(d|2)|0;t[h|0]=1-w[h|0];h=m+(d|3)|0;t[h|0]=1-w[h|0];d=d+4|0;b=b-4|0;if(b){continue}break}}if(!f){break Ed}while(1){b=d+m|0;t[b|0]=1-w[b|0];d=d+1|0;f=f-1|0;if(f){continue}break}}h=0;Fd:{if(t[j+113|0]<1){break Fd}while(1){if((q|0)>=1){i=1<>1];Gd:{Hd:{if(f>>>0>=2){q=f+s|0;f=n;while(1){i=b;d=1;b=f;Id:{while(1){f=b+1|0;b=w[b|0];p=i&255;if((b|0)!=(p|0)|(d&255)>>>0>62){break Id}d=d+1|0;b=f;if(q>>>0>b>>>0){continue}break}b=i;break Hd}if(!(p>>>0<192&(d&255)>>>0<=1)){Qa[v[v[o>>2]+44>>2]](o,(d|192)&255)|0}Qa[v[v[o>>2]+44>>2]](o,p)|0;if(f>>>0>>0){continue}break}}d=1;if((b&255)>>>0<192){break Gd}}Qa[v[v[o>>2]+44>>2]](o,(d|192)&255)|0}Qa[v[v[o>>2]+44>>2]](o,b&255)|0;h=h+1|0;if((h|0)>=t[j+113|0]){break Fd}q=v[c+16>>2];continue}}if((e|0)<2){break Dd}q=v[c+16>>2];e=g;continue}}$a(s);$a(m);b=v[o+4>>2];Qa[v[v[k>>2]+16>>2]](k,b,b?v[o+16>>2]:-1,1)|0}kC(o)}d=(F|0)!=0}Ma=j+176|0;if(d){break d}break c;case 8:c=ab(976);E=Ge(c,9);v[c>>2]=39560;Mi(E,a);e=b;if(!Sk(c,e)){Jd:{if(x[c+26>>1]!=1){b=w[18959]|w[18960]<<8|(w[18961]<<16|w[18962]<<24);e=w[18955]|w[18956]<<8|(w[18957]<<16|w[18958]<<24);t[c+94|0]=e;t[c+95|0]=e>>>8;t[c+96|0]=e>>>16;t[c+97|0]=e>>>24;t[c+98|0]=b;t[c+99|0]=b>>>8;t[c+100|0]=b>>>16;t[c+101|0]=b>>>24;b=w[18953]|w[18954]<<8|(w[18955]<<16|w[18956]<<24);e=w[18949]|w[18950]<<8|(w[18951]<<16|w[18952]<<24);t[c+88|0]=e;t[c+89|0]=e>>>8;t[c+90|0]=e>>>16;t[c+91|0]=e>>>24;t[c+92|0]=b;t[c+93|0]=b>>>8;t[c+94|0]=b>>>16;t[c+95|0]=b>>>24;b=w[18945]|w[18946]<<8|(w[18947]<<16|w[18948]<<24);e=w[18941]|w[18942]<<8|(w[18943]<<16|w[18944]<<24);t[c+80|0]=e;t[c+81|0]=e>>>8;t[c+82|0]=e>>>16;t[c+83|0]=e>>>24;t[c+84|0]=b;t[c+85|0]=b>>>8;t[c+86|0]=b>>>16;t[c+87|0]=b>>>24;b=w[18937]|w[18938]<<8|(w[18939]<<16|w[18940]<<24);e=w[18933]|w[18934]<<8|(w[18935]<<16|w[18936]<<24);t[c+72|0]=e;t[c+73|0]=e>>>8;t[c+74|0]=e>>>16;t[c+75|0]=e>>>24;t[c+76|0]=b;t[c+77|0]=b>>>8;t[c+78|0]=b>>>16;t[c+79|0]=b>>>24;break Jd}h=v[c+20>>2];i=v[c+16>>2];Qa[v[v[e>>2]+44>>2]](e,0)|0;Qa[v[v[e>>2]+44>>2]](e,0)|0;while(1){b=f;f=b+7|0;if(i>>>f|0){continue}break}Kd:{if(b){while(1){if(!(Qa[v[v[e>>2]+44>>2]](e,(i>>>b|128)&255)|0)){break Kd}f=(b|0)<8;b=b-7|0;if(!f){continue}break}}Qa[v[v[e>>2]+44>>2]](e,i&127)|0}f=0;while(1){b=f;f=b+7|0;if(h>>>f|0){continue}break}Ld:{if(b){while(1){if(!(Qa[v[v[e>>2]+44>>2]](e,(h>>>b|128)&255)|0)){break Ld}f=(b|0)<8;b=b-7|0;if(!f){continue}break}}Qa[v[v[e>>2]+44>>2]](e,h&127)|0}f=0;Ud(c,0);g=v[c+20>>2];b=Ud(c,0);d=1;if(!h){break Jd}i=i+7>>>3|0;b=b+B(v[c+52>>2],v[c+20>>2]-1|0)|0;while(1){Qa[v[v[e>>2]+16>>2]](e,b,i,1)|0;g=g-1|0;b=(g|0)>=1?b-v[c+52>>2]|0:b;f=f+1|0;if((h|0)!=(f|0)){continue}break}}}if(d){break d}break c;default:break e}}if(c-11>>>0<=4){f=ab(976);q=Ge(f,0);v[f>>2]=39604;Mi(q,a);h=Ma-192|0;Ma=h;Md:{if(Sk(f,b)){break Md}Nd:{if(!v[f+44>>2]){break Nd}if(jp(f)){break Nd}b=w[38367]|w[38368]<<8|(w[38369]<<16|w[38370]<<24);c=w[38363]|w[38364]<<8|(w[38365]<<16|w[38366]<<24);t[f+109|0]=c;t[f+110|0]=c>>>8;t[f+111|0]=c>>>16;t[f+112|0]=c>>>24;t[f+113|0]=b;t[f+114|0]=b>>>8;t[f+115|0]=b>>>16;t[f+116|0]=b>>>24;b=w[38362]|w[38363]<<8|(w[38364]<<16|w[38365]<<24);c=w[38358]|w[38359]<<8|(w[38360]<<16|w[38361]<<24);t[f+104|0]=c;t[f+105|0]=c>>>8;t[f+106|0]=c>>>16;t[f+107|0]=c>>>24;t[f+108|0]=b;t[f+109|0]=b>>>8;t[f+110|0]=b>>>16;t[f+111|0]=b>>>24;b=w[38354]|w[38355]<<8|(w[38356]<<16|w[38357]<<24);c=w[38350]|w[38351]<<8|(w[38352]<<16|w[38353]<<24);t[f+96|0]=c;t[f+97|0]=c>>>8;t[f+98|0]=c>>>16;t[f+99|0]=c>>>24;t[f+100|0]=b;t[f+101|0]=b>>>8;t[f+102|0]=b>>>16;t[f+103|0]=b>>>24;b=w[38346]|w[38347]<<8|(w[38348]<<16|w[38349]<<24);c=w[38342]|w[38343]<<8|(w[38344]<<16|w[38345]<<24);t[f+88|0]=c;t[f+89|0]=c>>>8;t[f+90|0]=c>>>16;t[f+91|0]=c>>>24;t[f+92|0]=b;t[f+93|0]=b>>>8;t[f+94|0]=b>>>16;t[f+95|0]=b>>>24;b=w[38338]|w[38339]<<8|(w[38340]<<16|w[38341]<<24);c=w[38334]|w[38335]<<8|(w[38336]<<16|w[38337]<<24);t[f+80|0]=c;t[f+81|0]=c>>>8;t[f+82|0]=c>>>16;t[f+83|0]=c>>>24;t[f+84|0]=b;t[f+85|0]=b>>>8;t[f+86|0]=b>>>16;t[f+87|0]=b>>>24;b=w[38330]|w[38331]<<8|(w[38332]<<16|w[38333]<<24);c=w[38326]|w[38327]<<8|(w[38328]<<16|w[38329]<<24);t[f+72|0]=c;t[f+73|0]=c>>>8;t[f+74|0]=c>>>16;t[f+75|0]=c>>>24;t[f+76|0]=b;t[f+77|0]=b>>>8;t[f+78|0]=b>>>16;t[f+79|0]=b>>>24;break Md}Od:{if(yM()){Sb(f+72|0,1675,255);break Od}i=xM(40370);if(!i){Sb(f+72|0,40916,255);break Od}e=v[i+56>>2];if(e){$a(e)}v[i+56>>2]=b;v[h+72>>2]=104;v[h+64>>2]=105;v[h+76>>2]=106;v[h+68>>2]=107;v[i+52>>2]=h- -64;b=v[f+16>>2];e=v[f+20>>2];d=v[f+44>>2];v[h+104>>2]=8;v[h+108>>2]=0;v[h+100>>2]=e;v[h+96>>2]=b;v[h+88>>2]=1;v[h+92>>2]=1;v[h+80>>2]=0;v[h+84>>2]=0;if(!d){v[h+168>>2]=8;v[h+172>>2]=0;v[h+164>>2]=e;v[h+160>>2]=b;v[h+152>>2]=1;v[h+156>>2]=1;v[h+136>>2]=8;v[h+140>>2]=0;v[h+132>>2]=e;v[h+128>>2]=b;v[h+120>>2]=1;v[h+124>>2]=1;v[h+144>>2]=0;v[h+148>>2]=0;v[h+112>>2]=0;v[h+116>>2]=0}g=d?1:3;e=ir(g,h+80|0);Pd:{if(!e){Sb(f+72|0,42005,255);d=0;break Pd}n=v[e+24>>2];v[v[n>>2]+40>>2]=0;b=e;if(d){d=769}else{v[v[n+4>>2]+40>>2]=1;v[v[n+8>>2]+40>>2]=2;d=1025}v[b+28>>2]=d;eb(h+180|0,0,g<<2);Qd:{while(1){b=Oj(1,v[f+16>>2]);v[(h+180|0)+(k<<2)>>2]=b;if(!b){break Qd}k=k+1|0;if((g|0)!=(k|0)){continue}break}b=v[f+20>>2];if((b|0)>=1){l=v[h+188>>2];j=v[h+184>>2];m=v[h+180>>2];n=m;while(1){k=0;d=v[f+16>>2];if((d|0)>=1){while(1){Rd:{if(!v[f+44>>2]){pp(h+16|0,f,k,s,1);o=w[h+18|0];b=v[n+28>>2];p=w[h+17|0];d=w[h+16|0];if(v[n+20>>2]==1){b=v[b>>2]+(k<<2)|0}else{b=v[b+(k<<2)>>2]}v[b>>2]=o;b=v[j+28>>2];if(v[j+20>>2]==1){b=v[b>>2]+(k<<2)|0}else{b=v[b+(k<<2)>>2]}v[b>>2]=p;b=v[l+28>>2];if(v[l+20>>2]==1){v[v[b>>2]+(k<<2)>>2]=d;break Rd}v[v[b+(k<<2)>>2]>>2]=d;break Rd}o=v[n+20>>2];b=Vk(f,k,s);d=v[n+28>>2];if((o|0)==1){v[v[d>>2]+(k<<2)>>2]=b;break Rd}v[v[d+(k<<2)>>2]>>2]=b}d=v[f+16>>2];k=k+1|0;if((d|0)>(k|0)){continue}break}b=v[f+20>>2]}k=1;Sd:{b=(s^-1)+b|0;if(!mj(e,0,0,b,d,1,m)){while(1){if((g|0)==(k|0)){break Sd}d=mj(e,k,0,b,v[f+16>>2],1,v[(h+180|0)+(k<<2)>>2]);k=k+1|0;if(!d){continue}break}}Sb(f+72|0,43646,255);d=0;break Pd}b=v[f+20>>2];s=s+1|0;if((b|0)>(s|0)){continue}break}}t[h+60|0]=0;Td:{Ud:{switch(c-11|0){case 1:v[h+60>>2]=6516842;break Td;case 4:v[h+60>>2]=7561586;break Td;case 3:v[h+60>>2]=7171696;break Td;case 2:v[h+60>>2]=7890800;if(v[f+44>>2]){break Td}Sb(f+72|0,44492,255);d=0;break Pd;case 0:break Ud;default:break Td}}v[h+60>>2]=3305578}b=sM(h+60|0);A[h>>3]=C(z[f+344>>2]/C(100));c=h+16|0;LP(c,45423,h);if(tM(e,i,b,c)){Sb(f+72|0,46314,255);d=0;break Pd}MC(i);d=1;break Pd}Sb(f+72|0,42600,255);d=0}c=0;while(1){b=v[(h+180|0)+(c<<2)>>2];if(b){ve(b)}c=c+1|0;if((g|0)!=(c|0)){continue}break}Yt();if(e){Og(e)}ne(i);break Md}Yt()}Ma=h+192|0;if(d){Qa[v[v[f>>2]+4>>2]](f);return 1}od(a+72|0,q+72|0);Qa[v[v[f>>2]+4>>2]](f);return 0}Vd:{switch(c-18|0){case 0:c=ab(976);E=Ge(c,18);v[c>>2]=39648;Mi(E,a);d=Ma-784|0;Ma=d;Wd:{if(Sk(c,b)){break Wd}if(x[c+26>>1]>=9){t[c+104|0]=w[1306];b=w[1302]|w[1303]<<8|(w[1304]<<16|w[1305]<<24);e=w[1298]|w[1299]<<8|(w[1300]<<16|w[1301]<<24);t[c+96|0]=e;t[c+97|0]=e>>>8;t[c+98|0]=e>>>16;t[c+99|0]=e>>>24;t[c+100|0]=b;t[c+101|0]=b>>>8;t[c+102|0]=b>>>16;t[c+103|0]=b>>>24;b=w[1294]|w[1295]<<8|(w[1296]<<16|w[1297]<<24);e=w[1290]|w[1291]<<8|(w[1292]<<16|w[1293]<<24);t[c+88|0]=e;t[c+89|0]=e>>>8;t[c+90|0]=e>>>16;t[c+91|0]=e>>>24;t[c+92|0]=b;t[c+93|0]=b>>>8;t[c+94|0]=b>>>16;t[c+95|0]=b>>>24;b=w[1286]|w[1287]<<8|(w[1288]<<16|w[1289]<<24);e=w[1282]|w[1283]<<8|(w[1284]<<16|w[1285]<<24);t[c+80|0]=e;t[c+81|0]=e>>>8;t[c+82|0]=e>>>16;t[c+83|0]=e>>>24;t[c+84|0]=b;t[c+85|0]=b>>>8;t[c+86|0]=b>>>16;t[c+87|0]=b>>>24;b=w[1278]|w[1279]<<8|(w[1280]<<16|w[1281]<<24);e=w[1274]|w[1275]<<8|(w[1276]<<16|w[1277]<<24);t[c+72|0]=e;t[c+73|0]=e>>>8;t[c+74|0]=e>>>16;t[c+75|0]=e>>>24;t[c+76|0]=b;t[c+77|0]=b>>>8;t[c+78|0]=b>>>16;t[c+79|0]=b>>>24;break Wd}e=v[c+16>>2];f=v[c+20>>2];t[d+772|0]=3;e=e<<16>>16;u[d+768>>1]=w[c+494|0]?e:e<<8|(e&65280)>>>8;e=f<<16>>16;u[d+770>>1]=w[c+494|0]?e:e<<8|(e&65280)>>>8;e=pj(c,16777216);t[d+773|0]=e;t[d+774|0]=e>>>8;t[d+775|0]=e>>>16;t[d+776|0]=e>>>24;Qa[v[v[b>>2]+16>>2]](b,d+768|0,9,1)|0;e=u[d+768>>1];u[d+768>>1]=w[c+494|0]?e:e<<8|(e&65280)>>>8;e=u[d+770>>1];u[d+770>>1]=w[c+494|0]?e:e<<8|(e&65280)>>>8;e=pj(c,w[d+773|0]|w[d+774|0]<<8|(w[d+775|0]<<16|w[d+776|0]<<24));t[d+773|0]=e;t[d+774|0]=e>>>8;t[d+775|0]=e>>>16;t[d+776|0]=e>>>24;if(x[c+26>>1]<=7){F4(c,8)}e=0;while(1){f=d+B(e,3)|0;wC(c,e&255,f,f+1|0,f+2|0);e=e+1|0;if((e|0)!=256){continue}break}f=1;Qa[v[v[b>>2]+16>>2]](b,d,768,1)|0;e=Ud(c,x[d+770>>1]-1|0);if(!x[d+770>>1]){break Wd}while(1){Qa[v[v[b>>2]+16>>2]](b,e,x[d+768>>1],1)|0;e=e-v[c+52>>2]|0;j=j+1|0;if(j>>>0>1]){continue}break}}Ma=d+784|0;if(f){break d}break c;case 1:c=ab(976);E=Ge(c,19);v[c>>2]=39692;Mi(E,a);if(b){b=w[25288]|w[25289]<<8|(w[25290]<<16|w[25291]<<24);e=w[25284]|w[25285]<<8|(w[25286]<<16|w[25287]<<24);t[c+87|0]=e;t[c+88|0]=e>>>8;t[c+89|0]=e>>>16;t[c+90|0]=e>>>24;t[c+91|0]=b;t[c+92|0]=b>>>8;t[c+93|0]=b>>>16;t[c+94|0]=b>>>24;b=w[25281]|w[25282]<<8|(w[25283]<<16|w[25284]<<24);e=w[25277]|w[25278]<<8|(w[25279]<<16|w[25280]<<24);t[c+80|0]=e;t[c+81|0]=e>>>8;t[c+82|0]=e>>>16;t[c+83|0]=e>>>24;t[c+84|0]=b;t[c+85|0]=b>>>8;t[c+86|0]=b>>>16;t[c+87|0]=b>>>24;b=w[25273]|w[25274]<<8|(w[25275]<<16|w[25276]<<24);e=w[25269]|w[25270]<<8|(w[25271]<<16|w[25272]<<24);t[c+72|0]=e;t[c+73|0]=e>>>8;t[c+74|0]=e>>>16;t[c+75|0]=e>>>24;t[c+76|0]=b;t[c+77|0]=b>>>8;t[c+78|0]=b>>>16;t[c+79|0]=b>>>24}break c;case 2:c=ab(976);E=Ge(c,20);v[c>>2]=39736;Mi(E,a);if(b){b=w[13555]|w[13556]<<8|(w[13557]<<16|w[13558]<<24);e=w[13551]|w[13552]<<8|(w[13553]<<16|w[13554]<<24);t[c+87|0]=e;t[c+88|0]=e>>>8;t[c+89|0]=e>>>16;t[c+90|0]=e>>>24;t[c+91|0]=b;t[c+92|0]=b>>>8;t[c+93|0]=b>>>16;t[c+94|0]=b>>>24;b=w[13548]|w[13549]<<8|(w[13550]<<16|w[13551]<<24);e=w[13544]|w[13545]<<8|(w[13546]<<16|w[13547]<<24);t[c+80|0]=e;t[c+81|0]=e>>>8;t[c+82|0]=e>>>16;t[c+83|0]=e>>>24;t[c+84|0]=b;t[c+85|0]=b>>>8;t[c+86|0]=b>>>16;t[c+87|0]=b>>>24;b=w[13540]|w[13541]<<8|(w[13542]<<16|w[13543]<<24);e=w[13536]|w[13537]<<8|(w[13538]<<16|w[13539]<<24);t[c+72|0]=e;t[c+73|0]=e>>>8;t[c+74|0]=e>>>16;t[c+75|0]=e>>>24;t[c+76|0]=b;t[c+77|0]=b>>>8;t[c+78|0]=b>>>16;t[c+79|0]=b>>>24}break c;default:break Vd}}b=w[15460]|w[15461]<<8|(w[15462]<<16|w[15463]<<24);c=w[15456]|w[15457]<<8|(w[15458]<<16|w[15459]<<24);t[a+87|0]=c;t[a+88|0]=c>>>8;t[a+89|0]=c>>>16;t[a+90|0]=c>>>24;t[a+91|0]=b;t[a+92|0]=b>>>8;t[a+93|0]=b>>>16;t[a+94|0]=b>>>24;b=w[15453]|w[15454]<<8|(w[15455]<<16|w[15456]<<24);c=w[15449]|w[15450]<<8|(w[15451]<<16|w[15452]<<24);t[a+80|0]=c;t[a+81|0]=c>>>8;t[a+82|0]=c>>>16;t[a+83|0]=c>>>24;t[a+84|0]=b;t[a+85|0]=b>>>8;t[a+86|0]=b>>>16;t[a+87|0]=b>>>24;b=w[15445]|w[15446]<<8|(w[15447]<<16|w[15448]<<24);c=w[15441]|w[15442]<<8|(w[15443]<<16|w[15444]<<24);t[a+72|0]=c;t[a+73|0]=c>>>8;t[a+74|0]=c>>>16;t[a+75|0]=c>>>24;t[a+76|0]=b;t[a+77|0]=b>>>8;t[a+78|0]=b>>>16;t[a+79|0]=b>>>24;return 0}Qa[v[v[c>>2]+4>>2]](c);return 1}od(a+72|0,E+72|0);Qa[v[v[c>>2]+4>>2]](c);return 0}Qa[v[v[E>>2]+4>>2]](c);return 1}od(a+72|0,c+72|0);Qa[v[v[E>>2]+4>>2]](c);return 0}function K3(a){var 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,y=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=C(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;J=Ma-16|0;Ma=J;c=kb(a);U=(c&1)+c|0;a:{if((U|0)<1){break a}ja=v[a+28>>2];d=Ab(a);c=d>>31;c=c^c+d;u[a+632>>1]=c;b:{c:{c=c<<16>>16;if((c|0)>0){c=gb(B(c&65535,600));v[a+636>>2]=c;l=-4;if(!c){break a}eb(c,0,B(u[a+632>>1],600));if(u[a+632>>1]<1){break b}g=v[a+636>>2];d:{e:{f:{g:{h:{i:{j:while(1){v[g+592>>2]=23;t[g+586|0]=0;u[g+584>>1]=1;t[g+566|0]=0;u[g+564>>1]=1;t[g+541|0]=255;t[g+40|0]=255;v[g+36>>2]=0;v[g>>2]=0;t[g+74|0]=1;t[g+72|0]=255;ma=g,na=kb(a),v[ma+4>>2]=na;ma=g,na=kb(a),v[ma+8>>2]=na;ma=g,na=kb(a),v[ma+12>>2]=na;c=kb(a);v[g+16>>2]=c;v[g+20>>2]=c-v[g+8>>2];v[g+24>>2]=v[g+12>>2]-v[g+4>>2];c=Ab(a);u[g+28>>1]=c;if((c|0)<=0){break d}c=gb(B(c&65535,12));v[g+32>>2]=c;if(!c){break c}c=0;if(u[g+28>>1]>0){while(1){d=Ab(a);b=B(c,12);u[b+v[g+32>>2]>>1]=d;d=kb(a);b=b+v[g+32>>2]|0;t[b+8|0]=0;v[b+4>>2]=d;c=c+1|0;if((c|0)>1]){continue}break}}if((kb(a)|0)!=943868237){It(g);l=-500;break a}ma=g,na=Kn(a),v[ma+36>>2]=na;ma=g,na=ge(a),t[ma+40|0]=na;ma=g,na=ad(a),t[ma+41|0]=na;c=ge(a);t[g+42|0]=c&1;t[g+44|0]=c>>>2&1;t[g+43|0]=(c>>>1^-1)&1;if(c&8){t[g+45|0]=c>>>4&1}if(ge(a)){break e}K=kb(a);if((K|0)<=0){break f}Q=v[a+28>>2];k:{l:{c=kb(a);switch(c-20|0){case 0:case 16:break k;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break g;default:break l}}if(c){break g}}m:{if((c|0)<1){break m}ma=g,na=kb(a),v[ma+48>>2]=na;ma=g,na=kb(a),v[ma+52>>2]=na;ma=g,na=kb(a),v[ma+56>>2]=na;d=kb(a);v[g+60>>2]=d;v[g- -64>>2]=d-v[g+52>>2];v[g+68>>2]=v[g+56>>2]-v[g+48>>2];d=ge(a);t[g+72|0]=d;if((d|0)!=255?d:0){break h}d=ge(a);t[g+73|0]=d&1;t[g+75|0]=d>>>2&1;t[g+74|0]=d>>>1&1;if((c|0)==20){Ab(a);break m}c=ge(a);t[g+73|0]=c&1;t[g+75|0]=c>>>2&1;t[g+74|0]=c>>>1&1;c=ge(a);t[g+72|0]=c;if((c|0)!=255?c:0){break i}ma=g,na=kb(a),v[ma+48>>2]=na;ma=g,na=kb(a),v[ma+52>>2]=na;ma=g,na=kb(a),v[ma+56>>2]=na;c=kb(a);v[g+60>>2]=c;v[g+64>>2]=c-v[g+52>>2];v[g+68>>2]=v[g+56>>2]-v[g+48>>2]}c=kb(a);ma=g,na=Ab(a),u[ma+80>>1]=na;ma=g,na=Ab(a),u[ma+82>>1]=na;ma=g,na=Ab(a),u[ma+84>>1]=na;d=Ab(a);b=(c-8|0)/8|0;v[g+88>>2]=b;u[g+86>>1]=d;if((c|0)<=15){It(g);l=-56;break a}ma=g,na=gb(b<<1),v[ma+92>>2]=na;ma=g,na=gb(v[g+88>>2]<<1),v[ma+96>>2]=na;ma=g,na=gb(v[g+88>>2]<<1),v[ma+100>>2]=na;c=gb(v[g+88>>2]<<1);v[g+104>>2]=c;if(!v[g+92>>2]|!v[g+96>>2]|(!v[g+100>>2]|!c)){break c}c=0;if(v[g+88>>2]>0){while(1){b=Ab(a);d=c<<1;u[d+v[g+92>>2]>>1]=b;b=Ab(a);u[d+v[g+96>>2]>>1]=b;b=Ab(a);u[d+v[g+100>>2]>>1]=b;b=Ab(a);u[d+v[g+104>>2]>>1]=b;c=c+1|0;if((c|0)>2]){continue}break}}Vd(a,g+108|0,(ge(a)+4&508)-1|0);R=g+572|0;while(1){n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{c=v[a+28>>2]-Q|0;if((c|0)<(K|0)){if((kb(a)|0)!=943868237){l=-528;break a}c=kb(a);G=kb(a)+1&-2;ka=v[a+28>>2];if((c|0)>1819109228){break t}if((c|0)>1719169647){break s}if((c|0)<=1651665267){if((c|0)<=1399800686){if((c|0)==1197753964){break w}if((c|0)!=1349797484){break q}v[((v[g+376>>2]<<2)+g|0)+380>>2]=19;v[g>>2]=19;c=-4;x:{d=gb(272);if(!d){break x}c=eb(d,0,272);v[((v[g+376>>2]<<2)+g|0)+460>>2]=c;v[g+376>>2]=v[g+376>>2]+1;d=-530;y:{z:{A:{B:{C:{if((kb(a)|0)!=16){break C}gd(a,kb(a)<<1);d=kb(a);D:{if(!d){ma=c,na=kb(a),v[ma>>2]=na;break D}gd(a,d)}d=0;f=kb(a);if(!f){break C}h=c+4|0;while(1){if(kb(a)){break B}b=kb(a);e=kb(a);E:{F:{G:{if((b|0)!=1349808750){if((b|0)!=1399024672){break G}if((e|0)!=1433302086){break A}if((kb(a)|0)!=592474723){break z}k=Lc(a);if(!(D(k)<2147483648)){break F}v[c+268>>2]=~~k;break E}if((e|0)!=1331849827){break y}RB(h,a);break E}O(19336,6933,105,193524);L()}v[c+268>>2]=-2147483648}f=f-1|0;if(f){continue}break}}c=d;break x}O(3776,6933,74,193524);L()}O(11971,6933,89,193524);L()}O(14522,6933,93,193524);L()}O(17040,6933,100,193524);L()}break p}if((c|0)==1399800687){break v}if((c|0)!=1651273315){break q}v[((v[g+376>>2]<<2)+g|0)+380>>2]=4;v[g>>2]=9;c=-4;H:{d=gb(788);if(!d){break H}c=eb(d,0,788);v[((v[g+376>>2]<<2)+g|0)+460>>2]=c;v[g+376>>2]=v[g+376>>2]+1;ma=c,na=Ab(a),u[ma>>1]=na;ma=c,na=Ab(a),u[ma+6>>1]=na;d=Ab(a);u[c+12>>1]=d;I:{if((x[c>>1]+100&65535)>>>0>=201){break I}J:{K:{L:{if(u[c+6>>1]<=-101){break L}if((d|0)<=-101){break J}ma=c,na=Ab(a),u[ma+2>>1]=na;ma=c,na=Ab(a),u[ma+8>>1]=na;d=Ab(a);u[c+14>>1]=d;if((x[c+2>>1]+100&65535)>>>0>=201){break I}if(u[c+8>>1]<-100){break L}if((d|0)<-100){break J}ma=c,na=Ab(a),u[ma+4>>1]=na;ma=c,na=Ab(a),u[ma+10>>1]=na;d=Ab(a);u[c+16>>1]=d;if((x[c+4>>1]+100&65535)>>>0>200){break I}if(u[c+10>>1]<-100){break L}if((d|0)<-100){break J}d=c;c=Ab(a);t[d+18|0]=c;if(!(c&254)){break K}O(16717,7354,83,193551);L()}O(11686,7354,77,193551);L()}t[g+540|0]=1;c=0;break H}O(14293,7354,78,193551);L()}O(3616,7354,76,193551);L()}break p}if((c|0)>1668047467){break r}if((c|0)==1651665268){break u}if((c|0)!=1651667828){break q}d=0;if((G|0)<4){break n}b=(G|0)/4|0;while(1){e=kb(a);f=u[g+28>>1];M:{if((f|0)<1){break M}h=v[g+32>>2];c=0;while(1){m=h+B(c,12)|0;if((e|0)==u[m>>1]){t[m+8|0]=1;break M}c=c+1|0;if((f|0)!=(c|0)){continue}break}}d=d+1|0;if((b|0)!=(d|0)){continue}break}break n}if((c|0)==(K|0)){g=g+600|0;V=V+1|0;c=u[a+632>>1];if((V|0)<(c|0)){continue j}if((c|0)<1){break b}g=v[a+636>>2];c=0;while(1){m=0;q=0;d=v[g+24>>2];e=v[g+20>>2];f=B(d,e);N:{O:{P:{Q:{R:{S:{h=x[a+50>>1];switch(h-1|0){case 15:break P;case 7:break Q;case 0:break S;default:break R}}l=v[g+68>>2];b=v[g- -64>>2];d=B(d,(e+7|0)/8|0);break N}O(3794,7231,769,193579);L()}b=v[g- -64>>2];l=v[g+68>>2];m=B(b,l);break O}f=f<<1;b=v[g- -64>>2];l=v[g+68>>2];m=B(b,l)<<1}d=f}e=0;T:{n=d;p=(d|0)<(m|0)?m:d;if((p|0)<=0){if(u[g+28>>1]<1){break T}d=0;while(1){gd(a,v[(v[g+32>>2]+B(d,12)|0)+4>>2]);d=d+1|0;if((d|0)>1]){continue}break}break T}v[a+704>>2]=p;v[a+700>>2]=n;U:{V:{d=u[g+28>>1];e=B(p,d);if((e|0)>v[a+688>>2]){tb(v[a+684>>2]);d=v[a+688>>2]<<1;d=(d|0)>(e|0)?d:e;d=(d|0)>12288?d:12288;v[a+688>>2]=d;d=gb(d);v[a+684>>2]=d;if(!d){break V}d=x[g+28>>1]}G=g+24|0;H=g+20|0;r=g+68|0;s=g- -64|0;if(d<<16>>16>=1){y=B(b,l)<<((h|0)==16);while(1){F=B(q,12);d=F+v[g+32>>2]|0;if(u[d>>1]<=-3){break U}W:{b=v[d+4>>2];d=b-2|0;if((d|0)<=v[a+696>>2]){break W}tb(v[a+692>>2]);l=v[a+696>>2]<<1;d=(d|0)<(l|0)?l:d;d=(d|0)>4096?d:4096;v[a+696>>2]=d;d=gb(d);v[a+692>>2]=d;if(d){break W}v[a+696>>2]=0;e=-4;break T}h=Ab(a);X:{if((b|0)<3){break X}l=Vd(a,v[a+692>>2],v[(F+v[g+32>>2]|0)+4>>2]-2|0);e=-5;d=F+v[g+32>>2]|0;if((l|0)!=(v[d+4>>2]-2|0)){break T}b=v[a+684>>2]+B(p,q)|0;Y:{switch(h|0){case 1:Z:{switch(x[a+50>>1]-8|0){default:O(13932,7231,864,193579);L();case 0:case 8:break Z}}d=x[d>>1];K=v[((d|0)==65534?r:G)>>2];_:{if((K|0)<1){h=0;break _}j=v[a+692>>2];d=j+(K<<1)|0;h=0;i=0;while(1){e=0;l=w[j|0]|w[j+1|0]<<8;Q=(l<<8|l>>>8)<<16>>16;if((Q|0)>=1){while(1){o=e+1|0;l=d+1|0;E=w[d|0];R=E<<24>>24;$:{if((R|0)>=0){d=E+1|0;e=d+o|0;b=cb(b,l,d)+d|0;h=d+h|0;d=d+l|0;break $}if((R|0)==-128){e=o;d=l;break $}e=e+2|0;l=257-E|0;b=eb(b,w[d+1|0],l)+l|0;h=h+l|0;d=d+2|0}if((e|0)<(Q|0)){continue}break}}j=j+2|0;i=i+1|0;if((K|0)!=(i|0)){continue}break}d=x[F+v[g+32>>2]>>1]}if((d&65535)==65534){if((h|0)==(y|0)){break X}O(15533,7231,911,193579);L()}if((f|0)==(h|0)){break X}O(17926,7231,913,193579);L();case 2:e=bL(v[a+692>>2],l,b,x[d>>1]==65534?y:f);if(!e){break X}break T;case 3:d=x[d>>1]==65534;e=aL(v[a+692>>2],l,b,d?y:f,v[(d?s:H)>>2],x[a+50>>1]);if(!e){break X}break T;default:O(3794,7231,941,193579);L();case 0:break Y}}cb(b,v[a+692>>2],x[d>>1]==65534?m:n)}q=q+1|0;if((q|0)>1]){continue}break}}d=B(v[G>>2],v[H>>2]);aa:{if((d|0)<1){break aa}d=gb(d<<2);v[g+372>>2]=d;e=-4;if(!d){break T}ba:{ca:{switch(v[a+52>>2]){case 0:if(x[a+50>>1]==1){b=0;e=0;da:{d=u[g+28>>1];if((d|0)<1){break da}i=v[g+372>>2];l=v[g+32>>2];ea:{while(1){f=u[l+B(b,12)>>1];if(f+2>>>0>=2){if(f){break ea}e=v[a+684>>2]+B(v[a+704>>2],b)|0}b=b+1|0;if((d|0)!=(b|0)){continue}break}if(!e){break da}h=v[g+20>>2];m=(h+7|0)/8|0;b=v[g+24>>2];if(!((b|0)<1|(h|0)<1)){d=0;while(1){if((h|0)>=1){l=B(d,m)+e|0;f=0;b=128;while(1){v[i>>2]=w[l|0]&b?-16777216:-1;h=b>>>0<2;b=h?128:b>>1;i=i+4|0;l=h+l|0;h=v[g+20>>2];f=f+1|0;if((h|0)>(f|0)){continue}break}b=v[g+24>>2]}d=d+1|0;if((d|0)<(b|0)){continue}break}}break aa}O(3794,7231,65,193612);L()}O(21805,7231,70,193612);L()}O(3794,7231,960,193579);L();case 1:case 8:fa:{switch(x[a+50>>1]-8|0){case 8:i=0;d=0;f=0;ga:{ha:{b=u[g+28>>1];if((b|0)<1){break ha}l=v[g+372>>2];e=v[g+32>>2];while(1){ia:{ja:{switch(u[e+B(d,12)>>1]+2|0){case 1:f=v[a+684>>2]+B(v[a+704>>2],d)|0;break ia;default:O(3794,7231,169,193671);L();case 0:break ia;case 2:break ja}}i=v[a+684>>2]+B(v[a+704>>2],d)|0}d=d+1|0;if((b|0)!=(d|0)){continue}break}if(!i){break ha}b=v[g+24>>2];e=v[g+20>>2];d=B(b,e);ka:{if(!f){if(!d){break ka}b=B(b,e);e=b-1|0;f=b&3;if(f){while(1){b=w[i|0];v[l>>2]=(B(b,65792)|b)-16777216;i=i+2|0;l=l+4|0;d=d-1|0;f=f-1|0;if(f){continue}break}}if(e>>>0<3){break ka}while(1){b=w[i|0];v[l>>2]=(B(b,65792)|b)-16777216;b=w[i+2|0];v[l+4>>2]=(B(b,65792)|b)-16777216;b=w[i+4|0];v[l+8>>2]=(B(b,65792)|b)-16777216;b=w[i+6|0];v[l+12>>2]=(B(b,65792)|b)-16777216;i=i+8|0;l=l+16|0;d=d-4|0;if(d){continue}break}break ka}if(!d){break ka}e=B(b,e);if(e&1){b=w[i|0];v[l>>2]=b<<16|b|b<<8|w[f|0]<<24;l=l+4|0;i=i+2|0;f=f+2|0;d=d-1|0}if((e|0)==1){break ka}while(1){b=w[i|0];v[l>>2]=b<<16|b|b<<8|w[f|0]<<24;b=w[i+2|0];v[l+4>>2]=b<<16|b|b<<8|w[f+2|0]<<24;i=i+4|0;f=f+4|0;l=l+8|0;d=d-2|0;if(d){continue}break}}break ga}O(23884,7231,174,193671);L()}break aa;case 0:break ba;default:break fa}}O(3794,7231,973,193579);L();case 2:if(x[a+50>>1]==8){e=0;i=0;la:{b=u[g+28>>1];if((b|0)<1){break la}d=v[g+372>>2];l=v[g+32>>2];ma:{while(1){f=u[l+B(e,12)>>1];if(f+2>>>0>=2){if(f){break ma}i=v[a+684>>2]+B(v[a+704>>2],e)|0}e=e+1|0;if((b|0)!=(e|0)){continue}break}if(!i){break la}b=v[g+24>>2];l=v[g+20>>2];e=B(b,l);na:{if(!e){break na}f=u[a+462>>1];h=B(b,l);if(h&1){l=16777215;m=d;b=w[i|0];if(!((b|0)>=(f|0)|(b|0)==u[a+464>>1])){l=v[v[a+60>>2]+(b<<2)>>2]}v[m>>2]=l;i=i+1|0;e=e-1|0;d=d+4|0}if((h|0)==1){break na}while(1){l=16777215;b=d;m=w[i|0];h=16777215;oa:{if((m|0)>=(f|0)){break oa}h=16777215;if((m|0)==u[a+464>>1]){break oa}h=v[v[a+60>>2]+(m<<2)>>2]}v[b>>2]=h;e=e-2|0;h=d;b=w[i+1|0];if(!((b|0)>=(f|0)|(b|0)==u[a+464>>1])){l=v[v[a+60>>2]+(b<<2)>>2]}v[h+4>>2]=l;i=i+2|0;d=d+8|0;if(e){continue}break}}break aa}O(3794,7231,219,193703);L()}O(25852,7231,224,193703);L()}O(3794,7231,981,193579);L();case 3:pa:{switch(x[a+50>>1]-8|0){case 0:b=0;e=0;i=0;d=0;f=0;qa:{ra:{h=u[g+28>>1];if((h|0)<1){break ra}l=v[g+372>>2];m=v[g+32>>2];while(1){sa:{ta:{switch(u[m+B(b,12)>>1]+2|0){case 3:i=v[a+684>>2]+B(v[a+704>>2],b)|0;break sa;case 4:e=v[a+684>>2]+B(v[a+704>>2],b)|0;break sa;case 1:f=v[a+684>>2]+B(v[a+704>>2],b)|0;break sa;default:O(3794,7231,268,193732);L();case 0:break sa;case 2:break ta}}d=v[a+684>>2]+B(v[a+704>>2],b)|0}b=b+1|0;if((h|0)!=(b|0)){continue}break}if(!e|(!d|!i)){break ra}h=v[g+24>>2];m=v[g+20>>2];b=B(h,m);ua:{if(!f){if(!b){break ua}f=B(h,m);if(f&1){v[l>>2]=w[e|0]|(w[d|0]<<16|w[i|0]<<8)|-16777216;e=e+1|0;i=i+1|0;b=b-1|0;l=l+4|0;d=d+1|0}if((f|0)==1){break ua}while(1){v[l>>2]=w[e|0]|(w[d|0]<<16|w[i|0]<<8)|-16777216;v[l+4>>2]=w[e+1|0]|(w[d+1|0]<<16|w[i+1|0]<<8)|-16777216;e=e+2|0;i=i+2|0;d=d+2|0;l=l+8|0;b=b-2|0;if(b){continue}break}break ua}if(!b){break ua}h=B(h,m);if(h&1){v[l>>2]=w[e|0]|(w[d|0]<<16|w[f|0]<<24|w[i|0]<<8);e=e+1|0;i=i+1|0;l=l+4|0;b=b-1|0;f=f+1|0;d=d+1|0}if((h|0)==1){break ua}while(1){v[l>>2]=w[e|0]|(w[d|0]<<16|w[f|0]<<24|w[i|0]<<8);v[l+4>>2]=w[e+1|0]|(w[d+1|0]<<16|w[f+1|0]<<24|w[i+1|0]<<8);e=e+2|0;i=i+2|0;d=d+2|0;f=f+2|0;l=l+8|0;b=b-2|0;if(b){continue}break}}break qa}O(27505,7231,273,193732);L()}break aa;case 8:b=0;e=0;i=0;d=0;f=0;va:{wa:{h=u[g+28>>1];if((h|0)<1){break wa}l=v[g+372>>2];m=v[g+32>>2];while(1){xa:{ya:{switch(u[m+B(b,12)>>1]+2|0){case 3:i=v[a+684>>2]+B(v[a+704>>2],b)|0;break xa;case 4:e=v[a+684>>2]+B(v[a+704>>2],b)|0;break xa;case 1:f=v[a+684>>2]+B(v[a+704>>2],b)|0;break xa;default:O(3794,7231,328,193757);L();case 0:break xa;case 2:break ya}}d=v[a+684>>2]+B(v[a+704>>2],b)|0}b=b+1|0;if((h|0)!=(b|0)){continue}break}if(!e|(!d|!i)){break wa}h=v[g+24>>2];m=v[g+20>>2];b=B(h,m);za:{if(!f){if(!b){break za}f=B(h,m);if(f&1){v[l>>2]=t[e|0]|(w[d|0]<<16|t[i|0]<<8)|-16777216;e=e+2|0;i=i+2|0;b=b-1|0;l=l+4|0;d=d+2|0}if((f|0)==1){break za}while(1){v[l>>2]=t[e|0]|(w[d|0]<<16|t[i|0]<<8)|-16777216;v[l+4>>2]=t[e+2|0]|(w[d+2|0]<<16|t[i+2|0]<<8)|-16777216;e=e+4|0;i=i+4|0;d=d+4|0;l=l+8|0;b=b-2|0;if(b){continue}break}break za}if(!b){break za}h=B(h,m);if(h&1){v[l>>2]=t[e|0]|(t[d|0]<<16|w[f|0]<<24|t[i|0]<<8);e=e+2|0;i=i+2|0;l=l+4|0;b=b-1|0;f=f+2|0;d=d+2|0}if((h|0)==1){break za}while(1){v[l>>2]=t[e|0]|(t[d|0]<<16|w[f|0]<<24|t[i|0]<<8);v[l+4>>2]=t[e+2|0]|(t[d+2|0]<<16|w[f+2|0]<<24|t[i+2|0]<<8);e=e+4|0;i=i+4|0;d=d+4|0;f=f+4|0;l=l+8|0;b=b-2|0;if(b){continue}break}}break va}O(27505,7231,333,193757);L()}break aa;default:break pa}}O(3794,7231,991,193579);L();case 4:Aa:{switch(x[a+50>>1]-8|0){case 0:h=0;b=0;e=0;i=0;d=0;f=0;l=v[g+372>>2];m=u[g+28>>1];if((m|0)>=1){n=v[g+32>>2];while(1){Ba:{Ca:{switch(u[n+B(h,12)>>1]+2|0){case 3:e=v[a+684>>2]+B(v[a+704>>2],h)|0;break Ba;case 4:i=v[a+684>>2]+B(v[a+704>>2],h)|0;break Ba;case 5:d=v[a+684>>2]+B(v[a+704>>2],h)|0;break Ba;case 1:f=v[a+684>>2]+B(v[a+704>>2],h)|0;break Ba;default:O(3794,7231,396,193783);L();case 0:break Ba;case 2:break Ca}}b=v[a+684>>2]+B(v[a+704>>2],h)|0}h=h+1|0;if((m|0)!=(h|0)){continue}break}}Da:{if(!(!b|!e|(!i|!d))){h=B(v[g+24>>2],v[g+20>>2]);Ea:{if(!f){if(!h){break Ea}while(1){ma=l,na=Tk(w[b|0]^255,w[e|0]^255,w[i|0]^255,w[d|0]^255),v[ma>>2]=na;d=d+1|0;i=i+1|0;e=e+1|0;b=b+1|0;l=l+4|0;h=h-1|0;if(h){continue}break}break Ea}if(!h){break Ea}while(1){ma=l,na=Ht(w[f|0],w[b|0]^255,w[e|0]^255,w[i|0]^255,w[d|0]^255),v[ma>>2]=na;d=d+1|0;i=i+1|0;e=e+1|0;b=b+1|0;f=f+1|0;l=l+4|0;h=h-1|0;if(h){continue}break}}break Da}O(29218,7231,401,193783);L()}break aa;case 8:h=0;b=0;e=0;i=0;d=0;f=0;l=v[g+372>>2];m=u[g+28>>1];if((m|0)>=1){n=v[g+32>>2];while(1){Fa:{Ga:{switch(u[n+B(h,12)>>1]+2|0){case 3:e=v[a+684>>2]+B(v[a+704>>2],h)|0;break Fa;case 4:i=v[a+684>>2]+B(v[a+704>>2],h)|0;break Fa;case 5:d=v[a+684>>2]+B(v[a+704>>2],h)|0;break Fa;case 1:f=v[a+684>>2]+B(v[a+704>>2],h)|0;break Fa;default:O(3794,7231,461,193809);L();case 0:break Fa;case 2:break Ga}}b=v[a+684>>2]+B(v[a+704>>2],h)|0}h=h+1|0;if((m|0)!=(h|0)){continue}break}}Ha:{if(!(!b|!e|(!i|!d))){h=B(v[g+24>>2],v[g+20>>2]);Ia:{if(!f){if(!h){break Ia}while(1){ma=l,na=Tk(255-t[b|0]|0,255-t[e|0]|0,255-t[i|0]|0,255-t[d|0]|0),v[ma>>2]=na;d=d+2|0;i=i+2|0;e=e+2|0;b=b+2|0;l=l+4|0;h=h-1|0;if(h){continue}break}break Ia}if(!h){break Ia}while(1){ma=l,na=Ht(w[f|0],255-t[b|0]|0,255-t[e|0]|0,255-t[i|0]|0,255-t[d|0]|0),v[ma>>2]=na;d=d+2|0;i=i+2|0;e=e+2|0;b=b+2|0;f=f+2|0;l=l+4|0;h=h-1|0;if(h){continue}break}}break Ha}O(29218,7231,466,193809);L()}break aa;default:break Aa}}O(3794,7231,1002,193579);L();case 9:Ja:{switch(x[a+50>>1]-8|0){case 0:b=0;e=0;i=0;d=0;f=0;Ka:{La:{h=u[g+28>>1];if((h|0)<1){break La}l=v[g+372>>2];m=v[g+32>>2];while(1){Ma:{Na:{switch(u[m+B(b,12)>>1]+2|0){case 3:i=v[a+684>>2]+B(v[a+704>>2],b)|0;break Ma;case 4:e=v[a+684>>2]+B(v[a+704>>2],b)|0;break Ma;case 1:f=v[a+684>>2]+B(v[a+704>>2],b)|0;break Ma;default:O(3794,7231,531,193836);L();case 0:break Ma;case 2:break Na}}d=v[a+684>>2]+B(v[a+704>>2],b)|0}b=b+1|0;if((h|0)!=(b|0)){continue}break}if(!e|(!d|!i)){break La}b=B(v[g+24>>2],v[g+20>>2]);Oa:{if(!f){if(!b){break Oa}while(1){ma=l,na=Gt(B(w[d|0],100)>>>8|0,w[i|0]-128|0,w[e|0]-128|0),v[ma>>2]=na;e=e+1|0;i=i+1|0;d=d+1|0;l=l+4|0;b=b-1|0;if(b){continue}break}break Oa}if(!b){break Oa}while(1){ma=l,na=ep(w[f|0],B(w[d|0],100)>>>8|0,w[i|0]-128|0,w[e|0]-128|0),v[ma>>2]=na;e=e+1|0;i=i+1|0;d=d+1|0;f=f+1|0;l=l+4|0;b=b-1|0;if(b){continue}break}}break Ka}O(30713,7231,536,193836);L()}break aa;case 8:b=0;e=0;i=0;d=0;f=0;Pa:{Qa:{h=u[g+28>>1];if((h|0)<1){break Qa}l=v[g+372>>2];m=v[g+32>>2];while(1){Ra:{Sa:{switch(u[m+B(b,12)>>1]+2|0){case 3:i=v[a+684>>2]+B(v[a+704>>2],b)|0;break Ra;case 4:e=v[a+684>>2]+B(v[a+704>>2],b)|0;break Ra;case 1:f=v[a+684>>2]+B(v[a+704>>2],b)|0;break Ra;default:O(3794,7231,591,193861);L();case 0:break Ra;case 2:break Sa}}d=v[a+684>>2]+B(v[a+704>>2],b)|0}b=b+1|0;if((h|0)!=(b|0)){continue}break}if(!e|(!d|!i)){break Qa}b=B(v[g+24>>2],v[g+20>>2]);Ta:{if(!f){if(!b){break Ta}while(1){ma=l,na=Gt(B(t[d|0],100)>>8,t[i|0]-128|0,t[e|0]-128|0),v[ma>>2]=na;e=e+2|0;i=i+2|0;d=d+2|0;l=l+4|0;b=b-1|0;if(b){continue}break}break Ta}if(!b){break Ta}while(1){ma=l,na=ep(w[f|0],B(t[d|0],100)>>8,t[i|0]-128|0,t[e|0]-128|0),v[ma>>2]=na;e=e+2|0;i=i+2|0;d=d+2|0;f=f+2|0;l=l+4|0;b=b-1|0;if(b){continue}break}}break Pa}O(30713,7231,596,193861);L()}break aa;default:break Ja}}O(3794,7231,1014,193579);L();case 7:if(x[a+50>>1]==8){b=0;e=0;i=0;d=0;f=0;Ua:{h=u[g+28>>1];if((h|0)<1){break Ua}l=v[g+372>>2];m=v[g+32>>2];while(1){Va:{Wa:{switch(u[m+B(b,12)>>1]+2|0){case 3:i=v[a+684>>2]+B(v[a+704>>2],b)|0;break Va;case 4:e=v[a+684>>2]+B(v[a+704>>2],b)|0;break Va;case 1:f=v[a+684>>2]+B(v[a+704>>2],b)|0;break Va;default:O(3794,7231,656,193887);L();case 0:break Va;case 2:break Wa}}d=v[a+684>>2]+B(v[a+704>>2],b)|0}b=b+1|0;if((h|0)!=(b|0)){continue}break}if(!e|(!d|!i)){break Ua}b=B(v[g+24>>2],v[g+20>>2]);Xa:{if(!f){if(!b){break Xa}while(1){ma=l,na=Tk(w[d|0]^255,w[i|0]^255,w[e|0]^255,0),v[ma>>2]=na;e=e+1|0;i=i+1|0;d=d+1|0;l=l+4|0;b=b-1|0;if(b){continue}break}break Xa}if(!b){break Xa}while(1){ma=l,na=Tk(w[d|0]^255,w[i|0]^255,w[e|0]^255,w[f|0]^255),v[ma>>2]=na;f=f+1|0;e=e+1|0;i=i+1|0;d=d+1|0;l=l+4|0;b=b-1|0;if(b){continue}break}}break aa}O(32264,7231,661,193887);L()}O(3794,7231,1023,193579);L();default:break ca}}O(3794,7231,1028,193579);L()}i=0;d=0;f=0;Ya:{Za:{b=u[g+28>>1];if((b|0)<1){break Za}l=v[g+372>>2];e=v[g+32>>2];while(1){_a:{$a:{switch(u[e+B(d,12)>>1]+2|0){case 1:f=v[a+684>>2]+B(v[a+704>>2],d)|0;break _a;default:O(3794,7231,117,193640);L();case 0:break _a;case 2:break $a}}i=v[a+684>>2]+B(v[a+704>>2],d)|0}d=d+1|0;if((b|0)!=(d|0)){continue}break}if(!i){break Za}b=v[g+24>>2];e=v[g+20>>2];d=B(b,e);ab:{if(!f){if(!d){break ab}b=B(b,e);e=b-1|0;f=b&3;if(f){while(1){b=w[i|0];v[l>>2]=(B(b,65792)|b)-16777216;i=i+1|0;l=l+4|0;d=d-1|0;f=f-1|0;if(f){continue}break}}if(e>>>0<3){break ab}while(1){b=w[i|0];v[l>>2]=(B(b,65792)|b)-16777216;b=w[i+1|0];v[l+4>>2]=(B(b,65792)|b)-16777216;b=w[i+2|0];v[l+8>>2]=(B(b,65792)|b)-16777216;b=w[i+3|0];v[l+12>>2]=(B(b,65792)|b)-16777216;i=i+4|0;l=l+16|0;d=d-4|0;if(d){continue}break}break ab}if(!d){break ab}e=B(b,e);if(e&1){b=w[i|0];v[l>>2]=b<<16|b|b<<8|w[f|0]<<24;l=l+4|0;i=i+1|0;f=f+1|0;d=d-1|0}if((e|0)==1){break ab}while(1){b=w[i|0];v[l>>2]=b<<16|b|b<<8|w[f|0]<<24;b=w[i+1|0];v[l+4>>2]=b<<16|b|b<<8|w[f+1|0]<<24;i=i+2|0;f=f+2|0;l=l+8|0;d=d-2|0;if(d){continue}break}}break Ya}O(23884,7231,122,193640);L()}}e=0;b=v[r>>2];h=v[s>>2];l=B(b,h);if((l|0)<1){break T}bb:{switch(x[a+50>>1]-8|0){case 0:b=u[g+28>>1];if((b|0)<1){break T}f=v[g+32>>2];d=0;while(1){if(x[f+B(d,12)>>1]==65534){b=gb(l);v[g+76>>2]=b;e=-4;if(!b){break T}cb(b,v[a+684>>2]+B(v[a+704>>2],d)|0,B(v[r>>2],v[s>>2]));e=0;break T}d=d+1|0;if((b|0)!=(d|0)){continue}break};break T;case 8:break bb;default:break T}}d=u[g+28>>1];if((d|0)<1){break T}f=B(v[g+24>>2],v[g+20>>2]);m=(f|0)>(l|0)?f:l;n=v[g+32>>2];f=0;while(1){if(x[n+B(f,12)>>1]==65534){d=gb(l);v[g+76>>2]=d;e=-4;if(!d){break T}b=B(b,h);h=b-1|0;f=v[a+684>>2]+(B(f,m)<<1)|0;e=b&7;if(e){while(1){t[d|0]=w[f|0];f=f+2|0;d=d+1|0;l=l-1|0;e=e-1|0;if(e){continue}break}}e=0;if(h>>>0<7){break T}while(1){t[d|0]=w[f|0];t[d+1|0]=w[f+2|0];t[d+2|0]=w[f+4|0];t[d+3|0]=w[f+6|0];t[d+4|0]=w[f+8|0];t[d+5|0]=w[f+10|0];t[d+6|0]=w[f+12|0];t[d+7|0]=w[f+14|0];f=f+16|0;d=d+8|0;l=l-8|0;if(l){continue}break}break T}f=f+1|0;if((d|0)!=(f|0)){continue}break}break T}v[a+688>>2]=0;e=-4;break T}O(11474,7231,814,193579);L()}l=e;if(e){It(g);break a}g=g+600|0;c=c+1|0;if((c|0)>1]){continue}break}break b}O(25008,7011,695,193413);L()}v[((v[g+376>>2]<<2)+g|0)+380>>2]=18;v[g>>2]=4;c=-4;cb:{d=gb(56);if(!d){break cb}v[d>>2]=0;v[d+4>>2]=0;v[d+48>>2]=0;v[d+52>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=0;v[d+36>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[((v[g+376>>2]<<2)+g|0)+460>>2]=d;v[g+376>>2]=v[g+376>>2]+1;t[d+26|0]=1;u[d+24>>1]=0;v[d+20>>2]=100;b=-526;db:{eb:{fb:{gb:{hb:{ib:{jb:{kb:{lb:{mb:{nb:{ob:{pb:{if((kb(a)|0)!=16){break pb}gd(a,kb(a)<<1);c=kb(a);qb:{if(!c){ma=d,na=kb(a),v[ma>>2]=na;break qb}gd(a,c)}b=0;h=kb(a);if(!h){break pb}f=d+28|0;while(1){if(kb(a)){break ob}c=kb(a);e=kb(a);rb:{sb:{tb:{ub:{vb:{wb:{xb:{yb:{if((c|0)<=1198678371){if((c|0)==1097623406){break xb}if((c|0)==1097754476){break wb}if((c|0)!=1148479602){break yb}if((e|0)!=1651470188){break nb}ma=d,na=ad(a),t[ma+25|0]=na;break rb}if((c|0)<=1399024671){if((c|0)==1198678372){break tb}if((c|0)!=1383494259){break yb}if((e|0)!=1651470188){break mb}ma=d,na=ad(a),t[ma+24|0]=na;break rb}if((c|0)==1399024672){break vb}if((c|0)==1417244773){break ub}}O(27482,6893,157,193921);L()}if((e|0)!=1651470188){break lb}ma=d,na=ad(a),t[ma+26|0]=na;break rb}if((e|0)!=1433302086){break kb}if((kb(a)|0)!=591490663){break jb}ma=d,oa=Lc(a),A[ma+8>>3]=oa;break rb}if((e|0)!=1433302086){break ib}if((kb(a)|0)!=592474723){break hb}k=Lc(a);if(!(D(k)<2147483648)){break sb}v[d+20>>2]=~~k;break rb}if((e|0)!=1701737837){break gb}if(kb(a)){break fb}if((kb(a)|0)!=1198679124){break eb}ma=d,na=_K(a),v[ma+16>>2]=na;break rb}if((e|0)!=1331849827){break db}Rw(f,a);break rb}v[d+20>>2]=-2147483648}h=h-1|0;if(h){continue}break}}c=b;break cb}O(3776,6893,80,193921);L()}O(11956,6893,96,193921);L()}O(11956,6893,102,193921);L()}O(11956,6893,108,193921);L()}O(14536,6893,114,193921);L()}O(17012,6893,118,193921);L()}O(14536,6893,126,193921);L()}O(19474,6893,130,193921);L()}O(21843,6893,138,193921);L()}O(3776,6893,143,193921);L()}O(23961,6893,146,193921);L()}O(25900,6893,152,193921);L()}break p}v[((v[g+376>>2]<<2)+g|0)+380>>2]=17;v[g>>2]=3;c=-4;zb:{d=gb(8);if(!d){break zb}v[d>>2]=0;v[d+4>>2]=0;v[((v[g+376>>2]<<2)+g|0)+460>>2]=d;v[g+376>>2]=v[g+376>>2]+1;Ab:{Bb:{Cb:{Db:{Eb:{if((kb(a)|0)==16){gd(a,kb(a)<<1);if(kb(a)){break Eb}ma=d,na=kb(a),v[ma>>2]=na;if((kb(a)|0)!=1){break Db}if(kb(a)){break Cb}if((kb(a)|0)!=1131180576){break Bb}if((kb(a)|0)!=1331849827){break Ab}ma=d,na=Il(a),v[ma+4>>2]=na;c=0}else{c=-525}break zb}O(3776,6569,61,193973);L()}O(11597,6569,67,193973);L()}O(3776,6569,72,193973);L()}O(14565,6569,74,193973);L()}O(17026,6569,78,193973);L()}break p}v[((v[g+376>>2]<<2)+g|0)+380>>2]=3;v[g>>2]=8;d=gb(264);c=-4;Fb:{if(!d){break Fb}c=eb(d,0,264);v[((v[g+376>>2]<<2)+g|0)+460>>2]=c;v[g+376>>2]=v[g+376>>2]+1;ma=c,na=Ab(a),u[ma>>1]=na;ma=c,na=Ab(a),u[ma+2>>1]=na;ma=c,na=Ab(a),u[ma+4>>1]=na;ma=c,na=ge(a),t[ma+6|0]=na;t[g+540|0]=1;c=0}break p}Gb:{Hb:{Ib:{Jb:{Kb:{Lb:{Mb:{Nb:{if((c|0)<=1835628657){if((c|0)<=1819504741){if((c|0)<=1819428439){if((c|0)==1819109229){break Ib}if((c|0)!=1819177842){break q}ma=g,na=kb(a),v[ma+552>>2]=na;break n}if((c|0)==1819428440){break Nb}if((c|0)!=1819501428){break q}c=kb(a);v[g+588>>2]=c;c=c-1|0;if(c>>>0<=2){v[g>>2]=v[(c<<2)+193432>>2]}if((G|0)!=12){break n}if((kb(a)|0)==943868237){break Hb}c=-529;break o}if((c|0)<=1819896163){if((c|0)==1819504742){break Kb}if((c|0)!=1819635305){break q}c=kb(a);v[g+544>>2]=c;c=gb(c<<1);v[g+548>>2]=c;if(c){break Gb}c=-4;break o}if((c|0)==1819896164){break Lb}if((c|0)!=1819899506){break q}ma=g,na=kb(a),v[ma+560>>2]=na;break n}Ob:{Pb:{if((c|0)<=1936026722){if((c|0)<=1885890155){if((c|0)==1835628658){break Pb}if((c|0)!=1853256308){break q}v[((v[g+376>>2]<<2)+g|0)+380>>2]=8;v[g>>2]=13;t[g+540|0]=1;v[g+376>>2]=v[g+376>>2]+1;c=0;break p}if((c|0)==1885890156){break Ob}if((c|0)!=1886352244){break q}v[((v[g+376>>2]<<2)+g|0)+380>>2]=9;v[g>>2]=14;c=-4;Qb:{d=gb(258);if(!d){break Qb}c=eb(d,0,258);v[((v[g+376>>2]<<2)+g|0)+460>>2]=c;v[g+376>>2]=v[g+376>>2]+1;d=c;c=Ab(a);u[d>>1]=c;if((c-2&65535)>>>0<254){Ab(a);t[g+540|0]=1;c=0;break Qb}O(3265,7154,53,193949);L()}break p}Rb:{if((c|0)<=1953721464){if((c|0)==1936026723){break Rb}if((c|0)!=1953002099){break q}v[((v[g+376>>2]<<2)+g|0)+380>>2]=7;v[g>>2]=12;c=-4;Sb:{d=gb(2);if(!d){break Sb}u[d>>1]=0;v[((v[g+376>>2]<<2)+g|0)+460>>2]=d;v[g+376>>2]=v[g+376>>2]+1;c=Ab(a);u[d>>1]=c;if((c-1&65535)>>>0<255){Ab(a);t[g+540|0]=1;c=0;break Sb}O(3377,7504,53,193999);L()}break p}if((c|0)==1953721465){break Jb}if((c|0)==1954108264){break Mb}if((c|0)!=1986881389){break q}ma=g,na=ad(a),t[ma+586|0]=na;gd(a,3);break n}v[((v[g+376>>2]<<2)+g|0)+380>>2]=6;v[g>>2]=11;c=-4;Tb:{d=gb(82);if(!d){break Tb}c=eb(d,0,82);v[((v[g+376>>2]<<2)+g|0)+460>>2]=c;v[g+376>>2]=v[g+376>>2]+1;Ub:{Vb:{Wb:{Xb:{if((Ab(a)|0)==1){ma=c,na=Ab(a),u[ma>>1]=na;ma=c,na=Ab(a),u[ma+2>>1]=na;ma=c,na=Ab(a),u[ma+22>>1]=na;ma=c,na=Ab(a),u[ma+42>>1]=na;d=Ab(a);u[c+62>>1]=d;if((x[c+2>>1]+100&65535)>>>0>=201){break Vb}if(u[c+22>>1]<=-101){break Ub}if(u[c+42>>1]<=-101){break Xb}if((d|0)<=-101){break Wb}ma=c,na=Ab(a),u[ma+4>>1]=na;ma=c,na=Ab(a),u[ma+24>>1]=na;ma=c,na=Ab(a),u[ma+44>>1]=na;d=Ab(a);u[c+64>>1]=d;if((x[c+4>>1]+100&65535)>>>0>=201){break Vb}if(u[c+24>>1]<-100){break Ub}if(u[c+44>>1]<-100){break Xb}if((d|0)<-100){break Wb}ma=c,na=Ab(a),u[ma+6>>1]=na;ma=c,na=Ab(a),u[ma+26>>1]=na;ma=c,na=Ab(a),u[ma+46>>1]=na;d=Ab(a);u[c+66>>1]=d;if((x[c+6>>1]+100&65535)>>>0>200){break Vb}if(u[c+26>>1]<-100){break Ub}if(u[c+46>>1]<-100){break Xb}if((d|0)<-100){break Wb}ma=c,na=Ab(a),u[ma+8>>1]=na;ma=c,na=Ab(a),u[ma+28>>1]=na;ma=c,na=Ab(a),u[ma+48>>1]=na;d=Ab(a);u[c+68>>1]=d;if((x[c+8>>1]+100&65535)>>>0>200){break Vb}if(u[c+28>>1]<-100){break Ub}if(u[c+48>>1]<-100){break Xb}if((d|0)<-100){break Wb}ma=c,na=Ab(a),u[ma+10>>1]=na;ma=c,na=Ab(a),u[ma+30>>1]=na;ma=c,na=Ab(a),u[ma+50>>1]=na;d=Ab(a);u[c+70>>1]=d;if((x[c+10>>1]+100&65535)>>>0>200){break Vb}if(u[c+30>>1]<-100){break Ub}if(u[c+50>>1]<-100){break Xb}if((d|0)<-100){break Wb}ma=c,na=Ab(a),u[ma+12>>1]=na;ma=c,na=Ab(a),u[ma+32>>1]=na;ma=c,na=Ab(a),u[ma+52>>1]=na;d=Ab(a);u[c+72>>1]=d;if((x[c+12>>1]+100&65535)>>>0>200){break Vb}if(u[c+32>>1]<-100){break Ub}if(u[c+52>>1]<-100){break Xb}if((d|0)<-100){break Wb}ma=c,na=Ab(a),u[ma+14>>1]=na;ma=c,na=Ab(a),u[ma+34>>1]=na;ma=c,na=Ab(a),u[ma+54>>1]=na;d=Ab(a);u[c+74>>1]=d;if((x[c+14>>1]+100&65535)>>>0>200){break Vb}if(u[c+34>>1]<-100){break Ub}if(u[c+54>>1]<-100){break Xb}if((d|0)<-100){break Wb}ma=c,na=Ab(a),u[ma+16>>1]=na;ma=c,na=Ab(a),u[ma+36>>1]=na;ma=c,na=Ab(a),u[ma+56>>1]=na;d=Ab(a);u[c+76>>1]=d;if((x[c+16>>1]+100&65535)>>>0>200){break Vb}if(u[c+36>>1]<-100){break Ub}if(u[c+56>>1]<-100){break Xb}if((d|0)<-100){break Wb}ma=c,na=Ab(a),u[ma+18>>1]=na;ma=c,na=Ab(a),u[ma+38>>1]=na;ma=c,na=Ab(a),u[ma+58>>1]=na;d=Ab(a);u[c+78>>1]=d;if((x[c+18>>1]+100&65535)>>>0>200){break Vb}if(u[c+38>>1]<-100){break Ub}if(u[c+58>>1]<-100){break Xb}if((d|0)<-100){break Wb}ma=c,na=Ab(a),u[ma+20>>1]=na;ma=c,na=Ab(a),u[ma+40>>1]=na;ma=c,na=Ab(a),u[ma+60>>1]=na;d=Ab(a);u[c+80>>1]=d;if((x[c+20>>1]+100&65535)>>>0>200){break Vb}if(u[c+40>>1]<-100){break Ub}if(u[c+60>>1]<-100){break Xb}if((d|0)<-100){break Wb}t[g+540|0]=1;c=0}else{c=-512}break Tb}O(14223,6527,80,194068);L()}O(16624,6527,81,194068);L()}O(3548,6527,78,194068);L()}O(11615,6527,79,194068);L()}break p}v[((v[g+376>>2]<<2)+g|0)+380>>2]=10;v[g>>2]=15;d=gb(42);c=-4;Yb:{if(!d){break Yb}u[d>>1]=0;u[d+2>>1]=0;u[d+4>>1]=0;u[d+6>>1]=0;u[d+40>>1]=0;u[d+32>>1]=0;u[d+34>>1]=0;u[d+36>>1]=0;u[d+38>>1]=0;u[d+24>>1]=0;u[d+26>>1]=0;u[d+28>>1]=0;u[d+30>>1]=0;u[d+16>>1]=0;u[d+18>>1]=0;u[d+20>>1]=0;u[d+22>>1]=0;u[d+8>>1]=0;u[d+10>>1]=0;u[d+12>>1]=0;u[d+14>>1]=0;v[((v[g+376>>2]<<2)+g|0)+460>>2]=d;v[g+376>>2]=v[g+376>>2]+1;if((Ab(a)|0)==1){ma=d,na=Ab(a),t[ma|0]=na;ma=d,na=Ab(a),u[ma+2>>1]=na;ma=d,na=Ab(a),u[ma+10>>1]=na;ma=d,na=Ab(a),u[ma+18>>1]=na;ma=d,na=Ab(a),u[ma+26>>1]=na;ma=d,na=Ab(a),u[ma+34>>1]=na;ma=d,na=Ab(a),u[ma+4>>1]=na;ma=d,na=Ab(a),u[ma+12>>1]=na;ma=d,na=Ab(a),u[ma+20>>1]=na;ma=d,na=Ab(a),u[ma+28>>1]=na;ma=d,na=Ab(a),u[ma+36>>1]=na;ma=d,na=Ab(a),u[ma+6>>1]=na;ma=d,na=Ab(a),u[ma+14>>1]=na;ma=d,na=Ab(a),u[ma+22>>1]=na;ma=d,na=Ab(a),u[ma+30>>1]=na;ma=d,na=Ab(a),u[ma+38>>1]=na;ma=d,na=Ab(a),u[ma+8>>1]=na;ma=d,na=Ab(a),u[ma+16>>1]=na;ma=d,na=Ab(a),u[ma+24>>1]=na;ma=d,na=Ab(a),u[ma+32>>1]=na;ma=d,na=Ab(a),u[ma+40>>1]=na;t[g+540|0]=1;c=0}else{c=-513}}break p}v[((v[g+376>>2]<<2)+g|0)+380>>2]=12;v[g>>2]=17;d=gb(20);c=-4;Zb:{if(!d){break Zb}v[d>>2]=0;v[d+4>>2]=0;v[d+16>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[((v[g+376>>2]<<2)+g|0)+460>>2]=d;v[g+376>>2]=v[g+376>>2]+1;if((Ab(a)|0)==3){ma=d,na=kb(a)>>8,v[ma>>2]=na;ma=d,na=kb(a)>>8,v[ma+4>>2]=na;ma=d,na=kb(a)>>8,v[ma+8>>2]=na;ma=d,na=kb(a),v[ma+12>>2]=na;ma=d,na=ad(a),t[ma+16|0]=na;ge(a);t[g+540|0]=1;c=0}else{c=-514}}break p}f=0;v[((v[g+376>>2]<<2)+g|0)+380>>2]=15;c=-4;_b:{d=gb(3692);if(!d){break _b}h=eb(d,0,3692);v[((v[g+376>>2]<<2)+g|0)+460>>2]=h;v[g+376>>2]=v[g+376>>2]+1;$b:{if(Ab(a)){c=-516}else{c=Ab(a);u[h>>1]=c;if((c|0)>=1){e=h+4|0;m=h+312|0;o=h+616|0;n=h+952|0;d=h+1292|0;i=h+2460|0;while(1){c=-517;if((kb(a)|0)!=943868237){break _b}ac:{bc:{cc:{dc:{ec:{fc:{gc:{c=kb(a);if((c|0)<=1768385654){if((c|0)==1650816620){break dc}if((c|0)==1668116051){break gc}if((c|0)!=1685283959){break cc}b=0;v[e+12>>2]=-16777216;v[e+4>>2]=3;v[e+8>>2]=-16777216;v[e+36>>2]=5;v[e+28>>2]=5;v[e+32>>2]=0;t[e+24|0]=1;v[e+20>>2]=120;t[e+16|0]=191;c=e+40|0;while(1){t[c+b|0]=b;j=b|1;t[j+c|0]=j;j=b|2;t[j+c|0]=j;j=b|3;t[j+c|0]=j;j=b|4;t[j+c|0]=j;j=b|5;t[j+c|0]=j;j=b|6;t[j+c|0]=j;j=b|7;t[j+c|0]=j;b=b+8|0;if((b|0)!=256){continue}break}t[e+304|0]=0;v[e+300>>2]=0;t[e+296|0]=0;kb(a);c=kb(a);hc:{if(c&-3){break hc}ma=e,na=Ab(a),v[ma+36>>2]=na;ma=e,na=kb(a),v[ma+32>>2]=na;ma=e,na=kb(a),v[ma+20>>2]=na;ma=e,na=kb(a),v[ma+28>>2]=na;Ab(a);ma=e,na=ai(a),v[ma+8>>2]=na;if((kb(a)|0)!=943868237){break hc}ma=e,na=Kn(a),v[ma+4>>2]=na;ma=e,na=ad(a),t[ma|0]=na;ma=e,na=ad(a),t[ma+24|0]=na;ma=e,na=ge(a),t[ma+16|0]=na;if((c|0)!=2){break hc}ma=e,na=ai(a),v[ma+12>>2]=na}t[h+3218|0]=1;t[h+3208|0]=1;break ac}if((c|0)<=1869048950){if((c|0)==1768385655){break ec}if((c|0)!=1769170039){break cc}b=0;v[m+12>>2]=-16777216;v[m+4>>2]=3;v[m+8>>2]=-16777216;v[m+36>>2]=5;v[m+28>>2]=5;v[m+32>>2]=0;t[m+24|0]=1;v[m+20>>2]=120;t[m+16|0]=191;c=m+40|0;while(1){t[c+b|0]=b;j=b|1;t[j+c|0]=j;j=b|2;t[j+c|0]=j;j=b|3;t[j+c|0]=j;j=b|4;t[j+c|0]=j;j=b|5;t[j+c|0]=j;j=b|6;t[j+c|0]=j;j=b|7;t[j+c|0]=j;b=b+8|0;if((b|0)!=256){continue}break}v[m+300>>2]=0;t[m+296|0]=0;kb(a);c=kb(a);ic:{if(c&-3){break ic}ma=m,na=Ab(a),v[ma+36>>2]=na;ma=m,na=kb(a),v[ma+32>>2]=na;ma=m,na=kb(a),v[ma+20>>2]=na;ma=m,na=kb(a),v[ma+28>>2]=na;Ab(a);ma=m,na=ai(a),v[ma+8>>2]=na;if((kb(a)|0)!=943868237){break ic}ma=m,na=Kn(a),v[ma+4>>2]=na;ma=m,na=ad(a),t[ma|0]=na;ma=m,na=ad(a),t[ma+24|0]=na;ma=m,na=ge(a),t[ma+16|0]=na;if((c|0)!=2){break ic}ma=m,na=ai(a),v[ma+12>>2]=na}t[h+3219|0]=1;t[h+3209|0]=1;break ac}if((c|0)==1869048951){break fc}if((c|0)!=1936680553){break cc}t[i+12|0]=255;v[i+4>>2]=0;v[i+8>>2]=-65536;kb(a);jc:{if((kb(a)|0)!=2){break jc}if((kb(a)|0)!=943868237){break jc}ma=i,na=Kn(a),v[ma+4>>2]=na;ma=i,na=ai(a),v[ma+8>>2]=na;ma=i,na=ge(a),t[ma+12|0]=na;ma=i,na=ad(a),t[ma|0]=na;ma=i,na=ai(a),v[ma+16>>2]=na}t[h+3223|0]=1;t[h+3213|0]=1;break ac}if((kb(a)|0)!=7){break $b}if(!kb(a)){break bc}c=-519;break _b}b=0;v[o+12>>2]=0;v[o+16>>2]=0;t[o+8|0]=191;v[o+4>>2]=7;v[o+64>>2]=5;v[o+56>>2]=0;v[o+60>>2]=0;v[o+20>>2]=-66;v[o+24>>2]=-66;c=o+68|0;while(1){t[c+b|0]=b;j=b|1;t[j+c|0]=j;j=b|2;t[j+c|0]=j;j=b|3;t[j+c|0]=j;j=b|4;t[j+c|0]=j;j=b|5;t[j+c|0]=j;j=b|6;t[j+c|0]=j;j=b|7;t[j+c|0]=j;b=b+8|0;if((b|0)!=256){continue}break}v[o+328>>2]=50;v[o+332>>2]=0;t[o+324|0]=0;kb(a);c=kb(a);kc:{if(c&-3){break kc}ma=o,na=kb(a),v[ma+64>>2]=na;ma=o,na=kb(a),v[ma+60>>2]=na;ma=o,na=ai(a),v[ma+20>>2]=na;if((kb(a)|0)!=943868237){break kc}ma=o,na=Kn(a),v[ma+4>>2]=na;ma=o,na=ad(a),t[ma|0]=na;ma=o,na=ge(a),t[ma+8|0]=na;if((c|0)!=2){break kc}ma=o,na=ai(a),v[ma+24>>2]=na}t[h+3220|0]=1;t[h+3210|0]=1;break ac}b=0;v[n+12>>2]=0;v[n+16>>2]=0;t[n+8|0]=191;v[n+4>>2]=7;v[n+64>>2]=0;v[n+68>>2]=5;v[n+56>>2]=0;v[n+60>>2]=1;v[n+20>>2]=-66;v[n+24>>2]=-66;c=n+72|0;while(1){t[c+b|0]=b;j=b|1;t[j+c|0]=j;j=b|2;t[j+c|0]=j;j=b|3;t[j+c|0]=j;j=b|4;t[j+c|0]=j;j=b|5;t[j+c|0]=j;j=b|6;t[j+c|0]=j;j=b|7;t[j+c|0]=j;b=b+8|0;if((b|0)!=256){continue}break}v[n+332>>2]=50;v[n+336>>2]=0;t[n+328|0]=0;kb(a);c=kb(a);lc:{if(c&-3){break lc}ma=n,na=kb(a),v[ma+68>>2]=na;ma=n,na=kb(a),v[ma+64>>2]=na;ma=n,na=ai(a),v[ma+20>>2]=na;if((kb(a)|0)!=943868237){break lc}ma=n,na=Kn(a),v[ma+4>>2]=na;ma=n,na=ad(a),t[ma|0]=na;ma=n,na=ge(a),t[ma+8|0]=na;if((c|0)!=2){break lc}if((ad(a)|0)==1){v[n+60>>2]=0}ma=n,na=ai(a),v[ma+24>>2]=na}t[h+3221|0]=1;t[h+3211|0]=1;break ac}b=0;v[d+4>>2]=1;v[d+8>>2]=2;v[d+36>>2]=30;t[d+32|0]=1;v[d+28>>2]=120;v[d+20>>2]=5;v[d+24>>2]=0;v[d+12>>2]=100;v[d+16>>2]=0;c=d+40|0;while(1){t[c+b|0]=b;j=b|1;t[j+c|0]=j;j=b|2;t[j+c|0]=j;j=b|3;t[j+c|0]=j;j=b|4;t[j+c|0]=j;j=b|5;t[j+c|0]=j;j=b|6;t[j+c|0]=j;j=b|7;t[j+c|0]=j;b=b+8|0;if((b|0)!=256){continue}break}v[d+308>>2]=-1;b=0;t[d+296|0]=0;v[d+324>>2]=-16777216;t[d+312|0]=191;v[d+300>>2]=7;v[d+304>>2]=-1;u[d+328>>1]=191;v[d+316>>2]=7;v[d+320>>2]=-16777216;c=d+330|0;while(1){t[c+b|0]=b;j=b|1;t[j+c|0]=j;j=b|2;t[j+c|0]=j;j=b|3;t[j+c|0]=j;j=b|4;t[j+c|0]=j;j=b|5;t[j+c|0]=j;j=b|6;t[j+c|0]=j;j=b|7;t[j+c|0]=j;b=b+8|0;if((b|0)!=256){continue}break}u[d+868>>1]=256;v[d+860>>2]=100;v[d+864>>2]=100;t[d+592|0]=0;v[d+588>>2]=50;t[d+586|0]=0;kb(a);c=kb(a);mc:{if(c&-3){break mc}ma=d,na=kb(a),v[ma+28>>2]=na;ma=d,na=kb(a),v[ma+20>>2]=na;ma=d,na=kb(a),v[ma+24>>2]=na;if((kb(a)|0)!=943868237){break mc}ma=d,na=Kn(a),v[ma+300>>2]=na;if((kb(a)|0)!=943868237){break mc}ma=d,na=Kn(a),v[ma+316>>2]=na;ma=d,na=ai(a),v[ma+304>>2]=na;ma=d,na=ai(a),v[ma+320>>2]=na;ma=d,na=ge(a),v[ma+4>>2]=na;ma=d,na=ge(a),t[ma+312|0]=na;ma=d,na=ge(a),t[ma+328|0]=na;ma=d,na=ad(a),t[ma|0]=na;ma=d,na=ad(a),t[ma+32|0]=na;ma=d,na=ge(a),v[ma+16>>2]=na;if((c|0)!=2){break mc}ma=d,na=ai(a),v[ma+308>>2]=na;ma=d,na=ai(a),v[ma+324>>2]=na}t[h+3227|0]=1;t[h+3217|0]=1;break ac}O(11815,6390,151,194023);L()}ma=h,na=ad(a),t[ma+2|0]=na;Ab(a)}f=f+1|0;if((f|0)>1]){continue}break}}c=0}break _b}O(3243,6390,109,194023);L()}break p}f=0;v[((v[g+376>>2]<<2)+g|0)+380>>2]=13;h=-4;nc:{oc:{pc:{c=gb(112);qc:{if(!c){break qc}c=eb(c,0,112);v[((v[g+376>>2]<<2)+g|0)+460>>2]=c;v[g+376>>2]=v[g+376>>2]+1;if((Ab(a)|0)!=1){break pc}ma=c,oa=Lc(a),A[ma>>3]=oa;ma=c,oa=Lc(a),A[ma+8>>3]=oa;ma=c,oa=Lc(a),A[ma+16>>3]=oa;ma=c,oa=Lc(a),A[ma+24>>3]=oa;ma=c,oa=Lc(a),A[ma+32>>3]=oa;ma=c,oa=Lc(a),A[ma+40>>3]=oa;if((Ab(a)|0)!=6){break oc}d=Ab(a);u[c+48>>1]=d;d=gb(B(d,788));v[c+52>>2]=d;if(!d){break qc}eb(d,0,B(u[c+48>>1],788));if(u[c+48>>1]>=1){while(1){b=Ab(a);d=B(f,788);u[d+v[c+52>>2]>>1]=b;b=kb(a);v[(d+v[c+52>>2]|0)+4>>2]=b;b=ge(a);Vd(a,(d+v[c+52>>2]|0)+8|0,b);b=ge(a);Vd(a,(d+v[c+52>>2]|0)+264|0,b);b=ge(a);Vd(a,(d+v[c+52>>2]|0)+520|0,b);b=Ab(a);u[(d+v[c+52>>2]|0)+776>>1]=b;b=kb(a);v[(d+v[c+52>>2]|0)+780>>2]=b;b=gb(b<<2);e=d+v[c+52>>2]|0;v[e+784>>2]=b;if(!b){break qc}b=0;if(v[e+780>>2]>=1){while(1){e=kb(a);m=d+v[c+52>>2]|0;v[v[m+784>>2]+(b<<2)>>2]=e;b=b+1|0;if((b|0)>2]){continue}break}}f=f+1|0;if((f|0)>1]){continue}break}}d=Ab(a);u[c+56>>1]=d;d=gb(B(d,28));v[c+60>>2]=d;if(!d){break qc}f=0;eb(d,0,B(u[c+56>>1],28));if(u[c+56>>1]>=1){while(1){b=Ab(a);d=B(f,28);u[d+v[c+60>>2]>>1]=b;b=Ab(a);u[(d+v[c+60>>2]|0)+2>>1]=b;b=kb(a);v[(d+v[c+60>>2]|0)+4>>2]=b;b=kb(a);v[(d+v[c+60>>2]|0)+8>>2]=b;b=kb(a);v[(d+v[c+60>>2]|0)+12>>2]=b;b=kb(a);v[(d+v[c+60>>2]|0)+16>>2]=b;b=kb(a);v[(d+v[c+60>>2]|0)+20>>2]=b;b=ad(a);t[(d+v[c+60>>2]|0)+24|0]=b;ge(a);b=ad(a);t[(d+v[c+60>>2]|0)+25|0]=b;f=f+1|0;if((f|0)>1]){continue}break}}ma=c,na=Ab(a),u[ma+64>>1]=na;ma=c,na=kb(a),v[ma+68>>2]=na;ma=c,na=kb(a),v[ma+72>>2]=na;ma=c,na=kb(a),v[ma+76>>2]=na;ma=c,na=kb(a),v[ma+80>>2]=na;ma=c,na=kb(a),v[ma+84>>2]=na;ma=c,na=kb(a),v[ma+88>>2]=na;d=Ab(a);u[c+92>>1]=d;d=gb(B(d,12));v[c+96>>2]=d;if(!d){break qc}f=0;eb(d,0,B(u[c+92>>1],12));if(u[c+92>>1]>=1){while(1){b=kb(a);d=B(f,12);v[d+v[c+96>>2]>>2]=b;b=Ab(a);u[(d+v[c+96>>2]|0)+4>>1]=b;b=Ab(a);u[(d+v[c+96>>2]|0)+6>>1]=b;b=Ab(a);u[(d+v[c+96>>2]|0)+8>>1]=b;b=Ab(a);u[(d+v[c+96>>2]|0)+10>>1]=b;f=f+1|0;if((f|0)>1]){continue}break}}ma=c,na=ai(a),v[ma+100>>2]=na;ma=c,na=ad(a),t[ma+104|0]=na;h=0}c=h;break nc}O(3431,6857,48,194098);L()}O(11269,6857,58,194098);L()}break p}ma=g,na=kb(a),v[ma+556>>2]=na;break n}c=kb(a);t[g+567|0]=c&1;c=c&255;t[g+569|0]=c>>>2&1;t[g+568|0]=c>>>1&1;break n}ma=g,na=ad(a),t[ma+584|0]=na;gd(a,3);break n}ma=g,na=ad(a),t[ma+585|0]=na;gd(a,3);break n}ma=g,na=Kn(a),v[ma+592>>2]=na;break n}eb(c,0,v[g+544>>2]<<1);Vd(a,v[g+548>>2],v[g+544>>2]<<1);break n}rc:{sc:{tc:{uc:{vc:{if((c|0)<=1768842871){if((c|0)<=1752524081){if((c|0)==1719169648){break sc}if((c|0)!=1735550061){break q}b=Ma-16|0;Ma=b;v[((v[g+376>>2]<<2)+g|0)+380>>2]=11;v[g>>2]=16;d=gb(1080);c=-4;wc:{if(!d){break wc}d=eb(d,0,1080);v[((v[g+376>>2]<<2)+g|0)+460>>2]=d;v[g+376>>2]=v[g+376>>2]+1;c=-515;if((Ab(a)|0)!=1){break wc}ma=d,na=ad(a),t[ma|0]=na;ma=d,na=ad(a),t[ma+1|0]=na;c=kb(a);v[d+4>>2]=c;e=gb(c<<1);v[d+8>>2]=e;c=-4;if(!e){break wc}Vd(a,e,v[d+4>>2]<<1);c=Ab(a);u[d+12>>1]=c;e=gb(c<<4);v[d+16>>2]=e;c=-4;if(!e){break wc}f=0;eb(e,0,u[d+12>>1]<<4);if(u[d+12>>1]>=1){while(1){e=kb(a);c=f<<4;v[c+v[d+16>>2]>>2]=e;e=kb(a);v[(c+v[d+16>>2]|0)+4>>2]=e;e=ai(a);v[(c+v[d+16>>2]|0)+8>>2]=e;Ab(a);v[(c+v[d+16>>2]|0)+12>>2]=2;f=f+1|0;if((f|0)>1]){continue}break}}c=Ab(a);u[d+20>>1]=c;e=gb(B(c,12));v[d+24>>2]=e;c=-4;if(!e){break wc}f=0;eb(e,0,B(u[d+20>>1],12));if(u[d+20>>1]>=1){while(1){e=kb(a);c=B(f,12);v[c+v[d+24>>2]>>2]=e;e=kb(a);v[(c+v[d+24>>2]|0)+4>>2]=e;e=Ab(a);u[(c+v[d+24>>2]|0)+8>>1]=e;f=f+1|0;if((f|0)>1]){continue}break}}c=Ab(a);u[d+28>>1]=c;xc:{if((c|0)<1){break xc}ma=d,na=Ab(a),u[ma+30>>1]=na;c=Ab(a);u[d+32>>1]=c;if((c|0)<32){break xc}ma=d,na=Ab(a),u[ma+34>>1]=na;ma=d,na=kb(a),v[ma+36>>2]=na;ma=d,na=Ab(a),u[ma+40>>1]=na;ma=d,na=Ab(a),u[ma+42>>1]=na;ma=d,na=kb(a),v[ma+44>>2]=na;c=Ab(a);ma=b,na=Ab(a)>>>8|0,u[ma+8>>1]=na;ma=b,na=Ab(a)>>>8|0,u[ma+10>>1]=na;ma=b,na=Ab(a)>>>8|0,u[ma+12>>1]=na;ma=b,na=Ab(a)>>>8|0,u[ma+14>>1]=na;e=b+8|0;SB(d+48|0,c,e);ma=b,na=Ab(a)>>>8|0,u[ma+8>>1]=na;ma=b,na=Ab(a)>>>8|0,u[ma+10>>1]=na;ma=b,na=Ab(a)>>>8|0,u[ma+12>>1]=na;ma=b,na=Ab(a)>>>8|0,u[ma+14>>1]=na;SB(d+52|0,c,e)}Ab(a);t[g+540|0]=1;c=0}Ma=b+16|0;break p}if((c|0)==1752524082){break vc}if((c|0)!=1766813793){break q}ma=g,na=ge(a),t[ma+541|0]=na;gd(a,3);break n}if((c|0)<=1818455153){if((c|0)==1768842872){break uc}if((c|0)!=1802398575){break q}ma=g,na=ad(a),t[ma+566|0]=na;gd(a,3);break n}if((c|0)==1818455154){break tc}if((c|0)==1818588780){break rc}if((c|0)!=1818654770){break q}H=Ma-256|0;Ma=H;v[((v[g+376>>2]<<2)+g|0)+380>>2]=16;yc:{zc:{c=gb(3692);Ac:{if(!c){b=-4;break Ac}i=eb(c,0,3692);v[((v[g+376>>2]<<2)+g|0)+460>>2]=i;v[g+376>>2]=v[g+376>>2]+1;b=-516;if(kb(a)){break Ac}if((kb(a)|0)!=16){break Ac}gd(a,kb(a)<<1);c=kb(a);Bc:{if(!c){kb(a);break Bc}gd(a,c)}b=kb(a);if(b){y=i+2548|0;j=i+4|0;p=i+312|0;o=i+616|0;n=i+952|0;d=i+1292|0;r=i+2172|0;F=i+2460|0;s=i+2480|0;h=i+2844|0;while(1){c=b-1|0;Cc:{Dc:{Ec:{e=kb(a);if(e){Vd(a,H,e);t[e+H|0]=0;f=kb(a);break Ec}e=kb(a);f=kb(a);Fc:{Gc:{Hc:{Ic:{Jc:{Kc:{Lc:{Mc:{Nc:{Oc:{Pc:{Qc:{Rc:{Sc:{Tc:{Uc:{Vc:{Wc:{Xc:{Yc:{if((e|0)<=1232226155){if((e|0)<=1148343143){if(!e){break Ec}if((e|0)!=1130907224){break Yc}if((f|0)!=1331849827){break Ic}b=0;m=Ma-256|0;Ma=m;v[r+24>>2]=14;v[r+16>>2]=19;v[r+20>>2]=11;t[r+12|0]=128;v[r+4>>2]=3;v[r+8>>2]=-16777216;e=r+28|0;while(1){t[b+e|0]=b;f=b|1;t[f+e|0]=f;f=b|2;t[f+e|0]=f;f=b|3;t[f+e|0]=f;f=b|4;t[f+e|0]=f;f=b|5;t[f+e|0]=f;f=b|6;t[f+e|0]=f;f=b|7;t[f+e|0]=f;b=b+8|0;if((b|0)!=256){continue}break}u[r+284>>1]=256;gd(a,kb(a)<<1);b=kb(a);Zc:{if(!b){kb(a);break Zc}gd(a,b)}_c:{$c:{ad:{bd:{cd:{dd:{ed:{fd:{gd:{hd:{id:{jd:{kd:{ld:{md:{nd:{od:{pd:{b=kb(a);if(b){q=r+28|0;while(1){e=kb(a);if(e){Vd(a,m,e);t[e+m|0]=0;kb(a);break $c}e=kb(a);f=kb(a);qd:{rd:{sd:{td:{ud:{vd:{wd:{xd:{if((e|0)<=1299212114){if((e|0)<=1148417133){if((e|0)==1097757761){break xd}if((e|0)!=1131180576){break $c}if((f|0)!=1331849827){break ld}ma=r,na=Il(a),v[ma+8>>2]=na;break qd}if((e|0)==1148417134){break ud}if((e|0)==1231976050){break wd}if((e|0)!=1298407456){break $c}if((f|0)!=1701737837){break od}if(kb(a)){break nd}if((kb(a)|0)!=1114402381){break md}ma=r,na=Hl(a),v[ma+4>>2]=na;break qd}if((e|0)<=1651275121){if((e|0)==1299212115){break sd}if((e|0)!=1332765556){break $c}if((f|0)!=1433302086){break id}if((kb(a)|0)!=592474723){break hd}k=Lc(a)*2.55+.5;if(!(D(k)<2147483648)){break rd}t[r+12|0]=~~k;break qd}if((e|0)==1651275122){break td}if((e|0)==1818322796){break vd}if((e|0)!=1701732706){break $c}if((f|0)!=1651470188){break pd}ma=r,na=ad(a),t[ma|0]=na;break qd}if((f|0)!=1651470188){break kd}ma=r,na=ad(a),t[ma+284|0]=na;break qd}if((f|0)!=1651470188){break jd}ma=r,na=ad(a),t[ma+285|0]=na;break qd}if((f|0)!=1433302086){break gd}if((kb(a)|0)!=591490663){break fd}k=Lc(a);if(D(k)<2147483648){v[r+16>>2]=~~k;break qd}v[r+16>>2]=-2147483648;break qd}if((f|0)!=1433302086){break ed}if((kb(a)|0)!=592476268){break dd}k=Lc(a);if(D(k)<2147483648){v[r+20>>2]=~~k;break qd}v[r+20>>2]=-2147483648;break qd}if((f|0)!=1433302086){break cd}if((kb(a)|0)!=592476268){break bd}k=Lc(a);if(D(k)<2147483648){v[r+24>>2]=~~k;break qd}v[r+24>>2]=-2147483648;break qd}if((f|0)!=1331849827){break ad}Xq(q,a);break qd}t[r+12|0]=0}b=b-1|0;if(b){continue}break}}Ma=m+256|0;break _c}O(3994,6712,99,194604);L()}O(11941,6712,105,194604);L()}O(14431,6712,110,194604);L()}O(17055,6712,113,194604);L()}O(19488,6712,120,194604);L()}O(3994,6712,126,194604);L()}O(3994,6712,132,194604);L()}O(21900,6712,138,194604);L()}O(23932,6712,141,194604);L()}O(21900,6712,148,194604);L()}O(25886,6712,151,194604);L()}O(21900,6712,157,194604);L()}O(27614,6712,160,194604);L()}O(21900,6712,166,194604);L()}O(27614,6712,169,194604);L()}O(19488,6712,175,194604);L()}O(29184,6712,180,194604);L()}t[i+3222|0]=1;t[i+3212|0]=1;break Dc}if((e|0)==1148343144){break Wc}if((e|0)==1181894232){break Rc}if((e|0)!=1198671468){break Yc}if((f|0)!=1331849827){break Gc}v[s+52>>2]=90;v[s+56>>2]=100;t[s+48|0]=1;v[s+44>>2]=0;t[s+40|0]=0;t[s+8|0]=255;v[s+4>>2]=0;gd(a,kb(a)<<1);b=kb(a);yd:{if(!b){kb(a);break yd}gd(a,b)}zd:{Ad:{Bd:{Cd:{Dd:{Ed:{Fd:{Gd:{Hd:{Id:{Jd:{Kd:{Ld:{Md:{Nd:{Od:{Pd:{Qd:{Rd:{Sd:{f=kb(a);if(f){m=s+12|0;q=s- -64|0;E=s+60|0;while(1){if(kb(a)){break Sd}b=kb(a);e=kb(a);Td:{Ud:{Vd:{Wd:{Xd:{Yd:{Zd:{_d:{$d:{ae:{if((b|0)<=1332765555){if((b|0)<=1198678371){if((b|0)==1097623406){break Wd}if((b|0)!=1097754476){break Ad}if((e|0)!=1433302086){break Kd}if((kb(a)|0)!=591490663){break Jd}k=Lc(a);if(!(D(k)<2147483648)){break Zd}v[s+52>>2]=~~k;break Td}if((b|0)==1198678372){break _d}if((b|0)==1298407456){break ae}if((b|0)!=1332114292){break Ad}if((e|0)!=1331849827){break Bd}Qw(E,q,a);break Td}if((b|0)<=1399024671){if((b|0)==1332765556){break $d}if((b|0)==1383494259){break Xd}break Ad}if((b|0)==1399024672){break Vd}if((b|0)==1417244773){break Yd}if((b|0)!=1701732706){break Ad}if((e|0)!=1651470188){break Rd}ma=s,na=ad(a),t[ma|0]=na;break Td}if((e|0)!=1701737837){break Qd}if(kb(a)){break Pd}if((kb(a)|0)!=1114402381){break Od}ma=s,na=Hl(a),v[ma+4>>2]=na;break Td}if((e|0)!=1433302086){break Nd}if((kb(a)|0)!=592474723){break Md}k=Lc(a)*2.55+.5;if(!(D(k)<2147483648)){break Ud}t[s+8|0]=~~k;break Td}if((e|0)!=1331849827){break Ld}Rw(m,a);break Td}v[s+52>>2]=-2147483648;break Td}if((e|0)!=1701737837){break Id}if(kb(a)){break Hd}if((kb(a)|0)!=1198679124){break Gd}ma=s,na=_K(a),v[ma+44>>2]=na;break Td}if((e|0)!=1651470188){break Fd}ma=s,na=ad(a),t[ma+40|0]=na;break Td}if((e|0)!=1651470188){break Ed}ma=s,na=ad(a),t[ma+48|0]=na;break Td}if((e|0)!=1433302086){break Dd}if((kb(a)|0)!=592474723){break Cd}k=Lc(a);if(D(k)<2147483648){v[s+56>>2]=~~k;break Td}v[s+56>>2]=-2147483648;break Td}t[s+8|0]=0}f=f-1|0;if(f){continue}break}}break zd}O(3776,6056,76,194625);L()}O(11956,6056,92,194625);L()}O(14507,6056,98,194625);L()}O(3776,6056,103,194625);L()}O(17055,6056,106,194625);L()}O(19503,6056,112,194625);L()}O(21858,6056,115,194625);L()}O(23946,6056,123,194625);L()}O(19503,6056,129,194625);L()}O(25886,6056,133,194625);L()}O(14507,6056,141,194625);L()}O(3776,6056,146,194625);L()}O(27657,6056,149,194625);L()}O(11956,6056,155,194625);L()}O(11956,6056,161,194625);L()}O(19503,6056,167,194625);L()}O(21858,6056,171,194625);L()}O(23946,6056,179,194625);L()}O(29184,6056,185,194625);L()}t[i+3224|0]=1;t[i+3214|0]=1;break Dc}if((e|0)<=1399024671){if((e|0)==1232226156){break Uc}if((e|0)==1232229224){break Vc}if((e|0)!=1332889452){break Yc}if((f|0)!=1331849827){break Lc}b=0;v[o+12>>2]=0;v[o+16>>2]=0;t[o+8|0]=191;v[o+4>>2]=7;v[o+64>>2]=5;v[o+56>>2]=0;v[o+60>>2]=0;v[o+20>>2]=-66;v[o+24>>2]=-66;e=o+68|0;while(1){t[b+e|0]=b;f=b|1;t[f+e|0]=f;f=b|2;t[f+e|0]=f;f=b|3;t[f+e|0]=f;f=b|4;t[f+e|0]=f;f=b|5;t[f+e|0]=f;f=b|6;t[f+e|0]=f;f=b|7;t[f+e|0]=f;b=b+8|0;if((b|0)!=256){continue}break}v[o+328>>2]=50;v[o+332>>2]=0;t[o+324|0]=0;gd(a,kb(a)<<1);b=kb(a);be:{if(!b){kb(a);break be}gd(a,b)}ce:{de:{ee:{fe:{ge:{he:{ie:{je:{ke:{le:{me:{ne:{oe:{pe:{qe:{re:{se:{te:{ue:{ve:{we:{xe:{ye:{ze:{Ae:{Be:{f=kb(a);if(f){m=o+28|0;q=o+68|0;while(1){if(kb(a)){break Be}b=kb(a);e=kb(a);Ce:{De:{Ee:{Fe:{Ge:{He:{Ie:{Je:{Ke:{Le:{Me:{if((b|0)<=1298407455){if((b|0)<=1198290771){if((b|0)==1097757761){break Ge}if((b|0)==1131113844){break Ke}if((b|0)!=1131180576){break de}if((e|0)!=1331849827){break we}b=Il(a);v[o+20>>2]=b;v[o+24>>2]=b;v[o+16>>2]=0;break Ce}if((b|0)==1198290772){break Le}if((b|0)==1198678372){break Me}if((b|0)!=1231974514){break de}if((e|0)!=1433302086){break fe}if((kb(a)|0)!=592474723){break ee}k=Lc(a);if(!(D(k)<2147483648)){break Ee}v[o+328>>2]=~~k;break Ce}Ne:{if((b|0)<=1399350349){if((b|0)==1298407456){break Ne}if((b|0)==1315926885){break Ie}if((b|0)!=1332765556){break de}if((e|0)!=1433302086){break ue}if((kb(a)|0)!=592474723){break te}k=Lc(a)*2.55+.5;if(!(D(k)<2147483648)){break De}t[o+8|0]=~~k;break Ce}if((b|0)<=1651275121){if((b|0)==1399350350){break He}if((b|0)==1416785491){break Fe}break de}if((b|0)==1651275122){break Je}if((b|0)!=1701732706){break de}if((e|0)!=1651470188){break Ae}ma=o,na=ad(a),t[ma|0]=na;break Ce}if((e|0)!=1701737837){break ze}if(kb(a)){break ye}if((kb(a)|0)!=1114402381){break xe}ma=o,na=Hl(a),v[ma+4>>2]=na;break Ce}if((e|0)!=1331849827){break ve}Rw(m,a);v[o+16>>2]=1;break Ce}if((e|0)!=1701737837){break se}if(kb(a)){break re}if((kb(a)|0)!=1111839813){break qe}ma=o,na=$K(a),v[ma+56>>2]=na;break Ce}if((e|0)!=1433302086){break pe}if((kb(a)|0)!=592476268){break oe}k=Lc(a);if(D(k)<2147483648){v[o+60>>2]=~~k;break Ce}v[o+60>>2]=-2147483648;break Ce}if((e|0)!=1433302086){break ne}if((kb(a)|0)!=592476268){break me}k=Lc(a);if(D(k)<2147483648){v[o+64>>2]=~~k;break Ce}v[o+64>>2]=-2147483648;break Ce}if((e|0)!=1433302086){break le}if((kb(a)|0)!=592474723){break ke}k=Lc(a);if(D(k)<2147483648){v[o+12>>2]=~~k;break Ce}v[o+12>>2]=-2147483648;break Ce}if((e|0)!=1433302086){break je}if((kb(a)|0)!=592474723){break ie}k=Lc(a);if(D(k)<2147483648){v[o+332>>2]=~~k;break Ce}v[o+332>>2]=-2147483648;break Ce}if((e|0)!=1651470188){break he}ma=o,na=ad(a),t[ma+324|0]=na;break Ce}if((e|0)!=1331849827){break ge}Xq(q,a);break Ce}v[o+328>>2]=-2147483648;break Ce}t[o+8|0]=0}f=f-1|0;if(f){continue}break}}break ce}O(3776,6171,140,194524);L()}O(11956,6171,156,194524);L()}O(14507,6171,162,194524);L()}O(3776,6171,166,194524);L()}O(17055,6171,169,194524);L()}O(19488,6171,176,194524);L()}O(19488,6171,184,194524);L()}O(21900,6171,191,194524);L()}O(23932,6171,194,194524);L()}O(14507,6171,201,194524);L()}O(3776,6171,205,194524);L()}O(25930,6171,208,194524);L()}O(21900,6171,214,194524);L()}O(27614,6171,217,194524);L()}O(21900,6171,223,194524);L()}O(27614,6171,226,194524);L()}O(21900,6171,232,194524);L()}O(23932,6171,235,194524);L()}O(21900,6171,242,194524);L()}O(23932,6171,245,194524);L()}O(11956,6171,252,194524);L()}O(19488,6171,258,194524);L()}O(21900,6171,264,194524);L()}O(23932,6171,267,194524);L()}O(29184,6171,273,194524);L()}t[i+3220|0]=1;t[i+3210|0]=1;break Dc}if((e|0)==1399024672){break Xc}if((e|0)==1399801449){break Sc}if((e|0)==1700946540){break Tc}}O(11815,6390,348,194045);L()}if((f|0)!=1433302086){break Qc}if((kb(a)|0)!=592474723){break Pc}Lc(a);c=kb(a);Oe:{if(!c){kb(a);break Oe}gd(a,c)}if((kb(a)|0)!=1651470188){break Oc}ma=i,na=ad(a),t[ma+2|0]=na;c=b-2|0;break Cc}if((f|0)!=1331849827){break Nc}e=0;m=Ma-256|0;Ma=m;v[j+12>>2]=-16777216;v[j+4>>2]=3;v[j+8>>2]=-16777216;v[j+36>>2]=5;v[j+28>>2]=5;v[j+32>>2]=0;t[j+24|0]=1;v[j+20>>2]=120;t[j+16|0]=191;b=j+40|0;while(1){t[b+e|0]=e;f=e|1;t[f+b|0]=f;f=e|2;t[f+b|0]=f;f=e|3;t[f+b|0]=f;f=e|4;t[f+b|0]=f;f=e|5;t[f+b|0]=f;f=e|6;t[f+b|0]=f;f=e|7;t[f+b|0]=f;e=e+8|0;if((e|0)!=256){continue}break}t[j+304|0]=0;v[j+300>>2]=0;t[j+296|0]=0;gd(a,kb(a)<<1);b=kb(a);Pe:{if(!b){kb(a);break Pe}gd(a,b)}Qe:{Re:{b=kb(a);if(b){q=j+40|0;while(1){Se:{Te:{e=kb(a);if(e){Vd(a,m,e);t[e+m|0]=0;e=kb(a);break Te}f=kb(a);e=kb(a);Ue:{Ve:{We:{Xe:{Ye:{Ze:{_e:{$e:{af:{bf:{cf:{df:{ef:{ff:{gf:{hf:{jf:{kf:{lf:{mf:{nf:{of:{pf:{qf:{rf:{sf:{tf:{uf:{vf:{wf:{xf:{if((f|0)<=1315926884){if((f|0)<=1131180575){if(!f){break Te}if((f|0)==1097757761){break of}if((f|0)!=1131113844){break xf}if((e|0)!=1433302086){break $e}if((kb(a)|0)!=592476268){break _e}k=Lc(a);if(!(D(k)<2147483648)){break rf}v[j+32>>2]=~~k;break Se}if((f|0)==1131180576){break wf}if((f|0)==1148417134){break sf}if((f|0)!=1298407456){break xf}if((e|0)!=1701737837){break lf}if(kb(a)){break kf}if((kb(a)|0)!=1114402381){break jf}ma=j,na=Hl(a),v[ma+4>>2]=na;break Se}if((f|0)<=1651275121){if((f|0)==1315926885){break pf}if((f|0)==1332765556){break vf}if((f|0)!=1416785491){break xf}if((e|0)!=1331849827){break Ue}Xq(q,a);break Se}if((f|0)<=1818322795){if((f|0)==1651275122){break qf}if((f|0)!=1701732706){break xf}if((e|0)!=1651470188){break mf}ma=j,na=ad(a),t[ma|0]=na;break Se}if((f|0)==1818322796){break tf}if((f|0)==1969712231){break uf}}O(14441,10708,279,194440);L()}if((e|0)!=1331849827){break hf}e=Il(a);v[j+8>>2]=e;v[j+12>>2]=e;break Se}if((e|0)!=1433302086){break gf}if((kb(a)|0)!=592474723){break ff}k=Lc(a)*2.55+.5;if(!(D(k)<2147483648)){break nf}t[j+16|0]=~~k;break Se}if((e|0)!=1651470188){break ef}ma=j,na=ad(a),t[ma+24|0]=na;break Se}if((e|0)!=1433302086){break df}if((kb(a)|0)!=591490663){break cf}k=Lc(a);if(D(k)<2147483648){v[j+20>>2]=~~k;break Se}v[j+20>>2]=-2147483648;break Se}if((e|0)!=1433302086){break bf}if((kb(a)|0)!=592476268){break af}k=Lc(a);if(D(k)<2147483648){v[j+28>>2]=~~k;break Se}v[j+28>>2]=-2147483648;break Se}v[j+32>>2]=-2147483648;break Se}if((e|0)!=1433302086){break Ze}if((kb(a)|0)!=592476268){break Ye}k=Lc(a);if(D(k)<2147483648){v[j+36>>2]=~~k;break Se}v[j+36>>2]=-2147483648;break Se}if((e|0)!=1433302086){break Xe}if((kb(a)|0)!=592474723){break We}k=Lc(a);if(D(k)<2147483648){v[j+300>>2]=~~k;break Se}v[j+300>>2]=-2147483648;break Se}if((e|0)!=1651470188){break Ve}ma=j,na=ad(a),t[ma+296|0]=na;break Se}t[j+16|0]=0;break Se}O(8222,10708,179,194440);L()}O(16982,10708,185,194440);L()}O(19245,10708,190,194440);L()}O(21886,10708,193,194440);L()}O(23946,10708,200,194440);L()}O(25915,10708,206,194440);L()}O(27628,10708,209,194440);L()}O(8222,10708,216,194440);L()}O(25915,10708,222,194440);L()}O(29339,10708,225,194440);L()}O(25915,10708,231,194440);L()}O(30802,10708,234,194440);L()}O(25915,10708,240,194440);L()}O(30802,10708,243,194440);L()}O(25915,10708,249,194440);L()}O(30802,10708,252,194440);L()}O(25915,10708,258,194440);L()}O(27628,10708,261,194440);L()}O(8222,10708,268,194440);L()}O(23946,10708,274,194440);L()}if(!Jb(m,1490,14)){if((e|0)!=1651470188){break Re}ma=j,na=ad(a),t[ma+304|0]=na;break Se}O(14441,10708,173,194440);L()}b=b-1|0;if(b){continue}break}}Ma=m+256|0;break Qe}O(8222,10708,168,194440);L()}t[i+3218|0]=1;t[i+3208|0]=1;break Dc}if((f|0)!=1331849827){break Mc}b=0;v[p+12>>2]=-16777216;v[p+4>>2]=3;v[p+8>>2]=-16777216;v[p+36>>2]=5;v[p+28>>2]=5;v[p+32>>2]=0;t[p+24|0]=1;v[p+20>>2]=120;t[p+16|0]=191;e=p+40|0;while(1){t[b+e|0]=b;f=b|1;t[f+e|0]=f;f=b|2;t[f+e|0]=f;f=b|3;t[f+e|0]=f;f=b|4;t[f+e|0]=f;f=b|5;t[f+e|0]=f;f=b|6;t[f+e|0]=f;f=b|7;t[f+e|0]=f;b=b+8|0;if((b|0)!=256){continue}break}v[p+300>>2]=0;t[p+296|0]=0;gd(a,kb(a)<<1);b=kb(a);yf:{if(!b){kb(a);break yf}gd(a,b)}zf:{Af:{Bf:{Cf:{Df:{Ef:{Ff:{Gf:{Hf:{If:{Jf:{Kf:{Lf:{Mf:{Nf:{Of:{Pf:{Qf:{Rf:{Sf:{Tf:{Uf:{Vf:{b=kb(a);if(b){m=p+40|0;while(1){if(kb(a)){break Vf}e=kb(a);f=kb(a);Wf:{Xf:{Yf:{Zf:{_f:{$f:{ag:{bg:{cg:{dg:{eg:{fg:{if((e|0)<=1332765555){if((e|0)<=1148417133){if((e|0)==1097757761){break Zf}if((e|0)==1131113844){break ag}if((e|0)!=1131180576){break Af}if((f|0)!=1331849827){break Qf}e=Il(a);v[p+8>>2]=e;v[p+12>>2]=e;break Wf}if((e|0)==1148417134){break bg}if((e|0)==1298407456){break fg}if((e|0)!=1315926885){break Af}if((f|0)!=1433302086){break Ef}if((kb(a)|0)!=592474723){break Df}k=Lc(a);if(!(D(k)<2147483648)){break _f}v[p+300>>2]=~~k;break Wf}if((e|0)<=1701732705){if((e|0)==1332765556){break eg}if((e|0)==1416785491){break Yf}if((e|0)==1651275122){break $f}break Af}if((e|0)==1969712231){break dg}if((e|0)==1818322796){break cg}if((e|0)!=1701732706){break Af}if((f|0)!=1651470188){break Uf}ma=p,na=ad(a),t[ma|0]=na;break Wf}if((f|0)!=1701737837){break Tf}if(kb(a)){break Sf}if((kb(a)|0)!=1114402381){break Rf}ma=p,na=Hl(a),v[ma+4>>2]=na;break Wf}if((f|0)!=1433302086){break Pf}if((kb(a)|0)!=592474723){break Of}k=Lc(a)*2.55+.5;if(!(D(k)<2147483648)){break Xf}t[p+16|0]=~~k;break Wf}if((f|0)!=1651470188){break Nf}ma=p,na=ad(a),t[ma+24|0]=na;break Wf}if((f|0)!=1433302086){break Mf}if((kb(a)|0)!=591490663){break Lf}k=Lc(a);if(D(k)<2147483648){v[p+20>>2]=~~k;break Wf}v[p+20>>2]=-2147483648;break Wf}if((f|0)!=1433302086){break Kf}if((kb(a)|0)!=592476268){break Jf}k=Lc(a);if(D(k)<2147483648){v[p+28>>2]=~~k;break Wf}v[p+28>>2]=-2147483648;break Wf}if((f|0)!=1433302086){break If}if((kb(a)|0)!=592476268){break Hf}k=Lc(a);if(D(k)<2147483648){v[p+32>>2]=~~k;break Wf}v[p+32>>2]=-2147483648;break Wf}if((f|0)!=1433302086){break Gf}if((kb(a)|0)!=592476268){break Ff}k=Lc(a);if(D(k)<2147483648){v[p+36>>2]=~~k;break Wf}v[p+36>>2]=-2147483648;break Wf}v[p+300>>2]=-2147483648;break Wf}if((f|0)!=1651470188){break Cf}ma=p,na=ad(a),t[ma+296|0]=na;break Wf}if((f|0)!=1331849827){break Bf}Xq(m,a);break Wf}t[p+16|0]=0}b=b-1|0;if(b){continue}break}}break zf}O(3776,6245,149,194467);L()}O(11956,6245,165,194467);L()}O(14507,6245,171,194467);L()}O(3776,6245,176,194467);L()}O(17055,6245,179,194467);L()}O(19488,6245,186,194467);L()}O(21900,6245,192,194467);L()}O(23932,6245,195,194467);L()}O(11956,6245,202,194467);L()}O(21900,6245,208,194467);L()}O(25886,6245,211,194467);L()}O(21900,6245,217,194467);L()}O(27614,6245,220,194467);L()}O(21900,6245,226,194467);L()}O(27614,6245,229,194467);L()}O(21900,6245,235,194467);L()}O(27614,6245,238,194467);L()}O(21900,6245,244,194467);L()}O(23932,6245,247,194467);L()}O(11956,6245,254,194467);L()}O(19488,6245,260,194467);L()}O(29184,6245,265,194467);L()}t[i+3219|0]=1;t[i+3209|0]=1;break Dc}if((f|0)!=1331849827){break Kc}b=0;m=Ma-256|0;Ma=m;v[n+12>>2]=0;v[n+16>>2]=0;t[n+8|0]=191;v[n+4>>2]=7;v[n+64>>2]=0;v[n+68>>2]=5;v[n+56>>2]=0;v[n+60>>2]=1;v[n+20>>2]=-66;v[n+24>>2]=-66;e=n+72|0;while(1){t[b+e|0]=b;f=b|1;t[f+e|0]=f;f=b|2;t[f+e|0]=f;f=b|3;t[f+e|0]=f;f=b|4;t[f+e|0]=f;f=b|5;t[f+e|0]=f;f=b|6;t[f+e|0]=f;f=b|7;t[f+e|0]=f;b=b+8|0;if((b|0)!=256){continue}break}v[n+332>>2]=50;v[n+336>>2]=0;t[n+328|0]=0;gd(a,kb(a)<<1);b=kb(a);gg:{if(!b){kb(a);break gg}gd(a,b)}hg:{ig:{jg:{kg:{lg:{mg:{ng:{og:{pg:{qg:{rg:{sg:{tg:{ug:{vg:{wg:{xg:{yg:{zg:{Ag:{Bg:{Cg:{Dg:{Eg:{Fg:{Gg:{Hg:{Ig:{Jg:{Kg:{f=kb(a);if(f){q=n+28|0;E=n+72|0;while(1){if(kb(a)){break Kg}b=kb(a);e=kb(a);Lg:{Mg:{Ng:{Og:{Pg:{Qg:{Rg:{Sg:{Tg:{Ug:{Vg:{if((b|0)<=1315926884){if((b|0)<=1198290771){if((b|0)==1097757761){break Qg}if((b|0)==1131113844){break Ug}if((b|0)!=1131180576){break ig}if((e|0)!=1331849827){break Fg}b=Il(a);v[n+20>>2]=b;v[n+24>>2]=b;v[n+16>>2]=0;break Lg}if((b|0)<=1231974513){if((b|0)==1198290772){break Vg}if((b|0)!=1198678372){break ig}if((e|0)!=1331849827){break Eg}Rw(q,a);v[n+16>>2]=1;break Lg}if((b|0)==1231974514){break Ng}if((b|0)!=1298407456){break ig}if((e|0)!=1701737837){break Ig}if(kb(a)){break Hg}if((kb(a)|0)!=1114402381){break Gg}ma=n,na=Hl(a),v[ma+4>>2]=na;break Lg}Wg:{if((b|0)<=1416785490){if((b|0)==1315926885){break Rg}if((b|0)==1332765556){break Wg}if((b|0)!=1399350350){break ig}if((e|0)!=1433302086){break ug}if((kb(a)|0)!=592474723){break tg}k=Lc(a);if(!(D(k)<2147483648)){break Sg}v[n+336>>2]=~~k;break Lg}if((b|0)<=1701732705){if((b|0)==1416785491){break Og}if((b|0)==1651275122){break Tg}break ig}if((b|0)==1735161683){break Pg}if((b|0)!=1701732706){break ig}if((e|0)!=1651470188){break Jg}ma=n,na=ad(a),t[ma|0]=na;break Lg}if((e|0)!=1433302086){break Dg}if((kb(a)|0)!=592474723){break Cg}k=Lc(a)*2.55+.5;if(!(D(k)<2147483648)){break Mg}t[n+8|0]=~~k;break Lg}if((e|0)!=1701737837){break Bg}if(kb(a)){break Ag}if((kb(a)|0)!=1111839813){break zg}ma=n,na=$K(a),v[ma+56>>2]=na;break Lg}if((e|0)!=1433302086){break yg}if((kb(a)|0)!=592476268){break xg}k=Lc(a);if(D(k)<2147483648){v[n+64>>2]=~~k;break Lg}v[n+64>>2]=-2147483648;break Lg}if((e|0)!=1433302086){break wg}if((kb(a)|0)!=592476268){break vg}k=Lc(a);if(D(k)<2147483648){v[n+68>>2]=~~k;break Lg}v[n+68>>2]=-2147483648;break Lg}v[n+336>>2]=-2147483648;break Lg}if((e|0)!=1433302086){break sg}if((kb(a)|0)!=592474723){break rg}k=Lc(a);if(D(k)<2147483648){v[n+12>>2]=~~k;break Lg}v[n+12>>2]=-2147483648;break Lg}if((e|0)!=1651470188){break qg}ma=n,na=ad(a),t[ma+328|0]=na;break Lg}if((e|0)!=1701737837){break pg}if(kb(a)){break og}if((kb(a)|0)!=1229411186){break ng}b=kb(a);if(b){Vd(a,m,b);t[b+m|0]=0;break jg}Xg:{switch(kb(a)-1400005443|0){case 0:v[n+60>>2]=0;break Lg;case 2:break Xg;default:break jg}}v[n+60>>2]=1;break Lg}if((e|0)!=1331849827){break mg}Xq(E,a);break Lg}if((e|0)!=1433302086){break lg}if((kb(a)|0)!=592474723){break kg}k=Lc(a);if(D(k)<2147483648){v[n+332>>2]=~~k;break Lg}v[n+332>>2]=-2147483648;break Lg}t[n+8|0]=0}f=f-1|0;if(f){continue}break}}Ma=m+256|0;break hg}O(3776,6208,147,194550);L()}O(11956,6208,163,194550);L()}O(14507,6208,169,194550);L()}O(3776,6208,173,194550);L()}O(17055,6208,176,194550);L()}O(19488,6208,183,194550);L()}O(19488,6208,191,194550);L()}O(21900,6208,198,194550);L()}O(23932,6208,201,194550);L()}O(14507,6208,208,194550);L()}O(3776,6208,212,194550);L()}O(25930,6208,215,194550);L()}O(21900,6208,221,194550);L()}O(27614,6208,224,194550);L()}O(21900,6208,230,194550);L()}O(27614,6208,233,194550);L()}O(21900,6208,239,194550);L()}O(23932,6208,242,194550);L()}O(21900,6208,249,194550);L()}O(23932,6208,252,194550);L()}O(11956,6208,259,194550);L()}O(14507,6208,265,194550);L()}O(3776,6208,269,194550);L()}O(29325,6208,272,194550);L()}O(19488,6208,299,194550);L()}O(21900,6208,305,194550);L()}O(23932,6208,308,194550);L()}O(30494,6208,292,194550);L()}O(30494,6208,314,194550);L()}t[i+3221|0]=1;t[i+3211|0]=1;break Dc}if((f|0)!=1331849827){break Jc}b=0;f=Ma-256|0;Ma=f;v[d+4>>2]=1;v[d+8>>2]=2;v[d+36>>2]=30;t[d+32|0]=1;v[d+28>>2]=120;v[d+20>>2]=5;v[d+24>>2]=0;v[d+12>>2]=100;v[d+16>>2]=0;e=d+40|0;while(1){t[b+e|0]=b;m=b|1;t[m+e|0]=m;m=b|2;t[m+e|0]=m;m=b|3;t[m+e|0]=m;m=b|4;t[m+e|0]=m;m=b|5;t[m+e|0]=m;m=b|6;t[m+e|0]=m;m=b|7;t[m+e|0]=m;b=b+8|0;if((b|0)!=256){continue}break}v[d+308>>2]=-1;b=0;t[d+296|0]=0;v[d+324>>2]=-16777216;t[d+312|0]=191;v[d+300>>2]=7;v[d+304>>2]=-1;u[d+328>>1]=191;v[d+316>>2]=7;v[d+320>>2]=-16777216;e=d+330|0;while(1){t[b+e|0]=b;m=b|1;t[m+e|0]=m;m=b|2;t[m+e|0]=m;m=b|3;t[m+e|0]=m;m=b|4;t[m+e|0]=m;m=b|5;t[m+e|0]=m;m=b|6;t[m+e|0]=m;m=b|7;t[m+e|0]=m;b=b+8|0;if((b|0)!=256){continue}break}u[d+868>>1]=256;v[d+860>>2]=100;v[d+864>>2]=100;t[d+592|0]=0;v[d+588>>2]=50;t[d+586|0]=0;gd(a,kb(a)<<1);b=kb(a);Yg:{if(!b){kb(a);break Yg}gd(a,b)}Zg:{_g:{$g:{ah:{bh:{ch:{dh:{q=kb(a);if(q){m=d+876|0;E=d+872|0;I=d+40|0;M=d+330|0;N=d+596|0;while(1){eh:{fh:{b=kb(a);if(b){Vd(a,f,b);t[b+f|0]=0;b=kb(a);break fh}e=kb(a);b=kb(a);gh:{hh:{ih:{jh:{kh:{lh:{mh:{nh:{oh:{ph:{qh:{rh:{sh:{th:{uh:{vh:{wh:{xh:{yh:{zh:{Ah:{Bh:{Ch:{Dh:{Eh:{Fh:{Gh:{Hh:{Ih:{Jh:{Kh:{Lh:{Mh:{Nh:{Oh:{Ph:{Qh:{Rh:{Sh:{Th:{Uh:{Vh:{Wh:{Xh:{Yh:{Zh:{_h:{$h:{ai:{bi:{ci:{di:{ei:{fi:{gi:{hi:{ii:{ji:{ki:{if((e|0)<=1651928131){if((e|0)<=1299212114){if((e|0)<=1231974513){if(!e){break fh}if((e|0)==1097623406){break bi}if((e|0)!=1097757761){break Zh}if((b|0)!=1651470188){break qh}ma=d,na=ad(a),t[ma+586|0]=na;break eh}if((e|0)==1231974514){break di}if((e|0)==1231976020){break ci}if((e|0)!=1281453156){break Zh}if((b|0)!=1433302086){break Dh}if((kb(a)|0)!=591490663){break Ch}k=Lc(a);if(!(D(k)<2147483648)){break ki}v[d+36>>2]=~~k;break eh}if((e|0)<=1399223405){if((e|0)==1299212115){break ei}if((e|0)==1349808750){break $h}if((e|0)!=1399024672){break Zh}if((b|0)!=1433302086){break lh}if((kb(a)|0)!=592474723){break kh}k=Lc(a);if(!(D(k)<2147483648)){break ai}v[d+860>>2]=~~k;break eh}if((e|0)==1399223406){break fi}if((e|0)==1416785491){break gi}if((e|0)!=1651275122){break Zh}if((b|0)!=1433302086){break zh}if((kb(a)|0)!=592476268){break yh}k=Lc(a);if(!(D(k)<2147483648)){break ii}v[d+20>>2]=~~k;break eh}li:{mi:{ni:{oi:{pi:{qi:{ri:{si:{ti:{if((e|0)<=1818322795){ui:{switch(e-1651928132|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:break Zh;case 0:break hi;case 15:break mi;case 16:break ni;default:break ui}}switch(e-1751608387|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 11:break Zh;case 12:break ri;case 0:break si;case 10:break ti;default:break _h}}if((e|0)<=1936877393){switch(e-1935963971|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 11:break Zh;case 12:break oi;case 0:break pi;case 10:break qi;default:break li}}if((e|0)==1936877394){break ji}if((e|0)!=1969712231){break Zh}if((b|0)!=1651470188){break Gh}ma=d,na=ad(a),t[ma+32|0]=na;break eh}if((b|0)!=1701737837){break Yh}if(kb(a)){break Xh}if((kb(a)|0)!=1114402381){break Wh}ma=d,na=Hl(a),v[ma+300>>2]=na;break eh}if((b|0)!=1331849827){break Vh}b=Il(a);v[d+304>>2]=b;v[d+308>>2]=b;break eh}if((b|0)!=1433302086){break Uh}if((kb(a)|0)!=592474723){break Th}k=Lc(a)*2.55+.5;if(D(k)<2147483648){t[d+312|0]=~~k;break eh}t[d+312|0]=0;break eh}if((b|0)!=1701737837){break Sh}if(kb(a)){break Rh}if((kb(a)|0)!=1114402381){break Qh}ma=d,na=Hl(a),v[ma+316>>2]=na;break eh}if((b|0)!=1331849827){break Ph}b=Il(a);v[d+320>>2]=b;v[d+324>>2]=b;break eh}if((b|0)!=1433302086){break Oh}if((kb(a)|0)!=592474723){break Nh}k=Lc(a)*2.55+.5;if(D(k)<2147483648){t[d+328|0]=~~k;break eh}t[d+328|0]=0;break eh}if((b|0)!=1701737837){break Mh}if(kb(a)){break Lh}if((kb(a)|0)!=1651928148){break Kh}ma=d,na=$K(a),v[ma+8>>2]=na;break eh}if((b|0)!=1701737837){break Jh}if(kb(a)){break Ih}if((kb(a)|0)!=1111839596){break Hh}b=kb(a);if(b){Vd(a,f,b);t[b+f|0]=0;break hh}vi:{b=kb(a);if((b|0)<=1231974977){if(!b){break hh}if((b|0)!=1164796531){break vi}v[d+4>>2]=2;break eh}wi:{if((b|0)!=1231974978){if((b|0)==1349272930){break wi}if((b|0)!=1333031490){break vi}v[d+4>>2]=0;break eh}v[d+4>>2]=1;break eh}v[d+4>>2]=3;break eh}O(29184,10746,359,194576);L()}if((e|0)!=1818322796){break Zh}if((b|0)!=1433302086){break Fh}if((kb(a)|0)!=591490663){break Eh}k=Lc(a);if(D(k)<2147483648){v[d+28>>2]=~~k;break eh}v[d+28>>2]=-2147483648;break eh}v[d+36>>2]=-2147483648;break eh}if((b|0)!=1433302086){break Bh}if((kb(a)|0)!=592474723){break Ah}k=Lc(a);if(D(k)<2147483648){v[d+12>>2]=~~k;break eh}v[d+12>>2]=-2147483648;break eh}v[d+20>>2]=-2147483648;break eh}if((b|0)!=1701737837){break xh}if(kb(a)){break wh}if((kb(a)|0)!=1111839603){break vh}b=kb(a);if(b){Vd(a,f,b);t[b+f|0]=0;break ih}b=kb(a);if((b|0)!=1333097504){if((b|0)!=1231953952){break ih}v[d+16>>2]=0;break eh}v[d+16>>2]=1;break eh}if((b|0)!=1331849827){break uh}Xq(I,a);break eh}if((b|0)!=1433302086){break th}if((kb(a)|0)!=592476268){break sh}k=Lc(a);if(D(k)<2147483648){v[d+24>>2]=~~k;break eh}v[d+24>>2]=-2147483648;break eh}if((b|0)!=1331849827){break rh}Xq(M,a);break eh}if((b|0)!=1433302086){break ph}if((kb(a)|0)!=592474723){break oh}k=Lc(a);if(D(k)<2147483648){v[d+588>>2]=~~k;break eh}v[d+588>>2]=-2147483648;break eh}if((b|0)!=1651470188){break nh}ma=d,na=ad(a),t[ma+868|0]=na;break eh}if((b|0)!=1651470188){break mh}ma=d,na=ad(a),t[ma+869|0]=na;break eh}v[d+860>>2]=-2147483648;break eh}if((b|0)!=1331849827){break jh}RB(N,a);break eh}if((e|0)==1701732706){break gh}}O(29184,10746,505,194576);L()}O(30787,10746,245,194576);L()}O(32252,10746,249,194576);L()}O(33998,10746,252,194576);L()}O(27642,10746,259,194576);L()}O(21900,10746,266,194576);L()}O(23932,10746,269,194576);L()}O(30787,10746,276,194576);L()}O(32252,10746,280,194576);L()}O(33998,10746,283,194576);L()}O(27642,10746,290,194576);L()}O(21900,10746,297,194576);L()}O(23932,10746,300,194576);L()}O(30787,10746,307,194576);L()}O(32252,10746,311,194576);L()}O(35335,10746,314,194576);L()}O(30787,10746,320,194576);L()}O(32252,10746,324,194576);L()}O(36962,10746,327,194576);L()}O(8222,10746,366,194576);L()}O(21900,10746,372,194576);L()}O(39098,10746,375,194576);L()}O(21900,10746,381,194576);L()}O(39098,10746,384,194576);L()}O(21900,10746,390,194576);L()}O(23932,10746,392,194576);L()}O(21900,10746,398,194576);L()}O(40748,10746,401,194576);L()}O(30787,10746,407,194576);L()}O(32252,10746,411,194576);L()}O(41584,10746,414,194576);L()}O(27642,10746,441,194576);L()}O(21900,10746,447,194576);L()}O(40748,10746,450,194576);L()}O(27642,10746,456,194576);L()}O(8222,10746,462,194576);L()}O(21900,10746,468,194576);L()}O(23932,10746,471,194576);L()}O(8222,10746,478,194576);L()}O(8222,10746,484,194576);L()}O(21900,10746,490,194576);L()}O(23932,10746,493,194576);L()}O(27642,10746,500,194576);L()}O(29184,10746,434,194576);L()}if(!Jb(f,37237,13)){v[d+4>>2]=4;break eh}O(29184,10746,356,194576);L()}if((b|0)==1651470188){ma=d,na=ad(a),t[ma|0]=na;break eh}O(8222,10746,239,194576);L()}if(!Jb(f,1259,15)){if((b|0)!=1651470188){break dh}ma=d,na=ad(a),t[ma+296|0]=na;break eh}if(!Jb(f,13352,9)){if((b|0)!=1651470188){break ch}ma=d,na=ad(a),t[ma+329|0]=na;break eh}if(!Jb(f,15861,11)){if((b|0)!=1651470188){break bh}ma=d,na=ad(a),t[ma+592|0]=na;break eh}xi:{if(!Jb(f,18213,13)){if((b|0)!=1433302086){break ah}if((kb(a)|0)!=592474723){break $g}k=Lc(a);if(!(D(k)<2147483648)){break xi}v[d+864>>2]=~~k;break eh}if(!Jb(f,25080,6)){if((b|0)!=1331849827){break _g}Qw(E,m,a);break eh}O(29184,10746,232,194576);L()}v[d+864>>2]=-2147483648}q=q-1|0;if(q){continue}break}}Ma=f+256|0;break Zg}O(8222,10746,199,194576);L()}O(8222,10746,205,194576);L()}O(8222,10746,211,194576);L()}O(21900,10746,217,194576);L()}O(23932,10746,220,194576);L()}O(27642,10746,226,194576);L()}t[i+3227|0]=1;t[i+3217|0]=1;break Dc}if((f|0)!=1331849827){break Hc}t[F+12|0]=255;v[F+4>>2]=0;v[F+8>>2]=-65536;gd(a,kb(a)<<1);b=kb(a);yi:{if(!b){kb(a);break yi}gd(a,b)}zi:{Ai:{Bi:{Ci:{Di:{Ei:{Fi:{Gi:{Hi:{Ii:{b=kb(a);if(b){while(1){if(kb(a)){break Ii}e=kb(a);f=kb(a);Ji:{Ki:{Li:{Mi:{Ni:{if((e|0)<=1332765555){if((e|0)==1131180576){break Li}if((e|0)==1298407456){break Ni}break Ai}if((e|0)==1332765556){break Mi}if((e|0)!=1701732706){break Ai}if((f|0)!=1651470188){break Hi}ma=F,na=ad(a),t[ma|0]=na;break Ji}if((f|0)!=1701737837){break Gi}if(kb(a)){break Fi}if((kb(a)|0)!=1114402381){break Ei}ma=F,na=Hl(a),v[ma+4>>2]=na;break Ji}if((f|0)!=1433302086){break Di}if((kb(a)|0)!=592474723){break Ci}k=Lc(a)*2.55+.5;if(!(D(k)<2147483648)){break Ki}t[F+12|0]=~~k;break Ji}if((f|0)!=1331849827){break Bi}e=Il(a);v[F+8>>2]=e;v[F+16>>2]=e;break Ji}t[F+12|0]=0}b=b-1|0;if(b){continue}break}}break zi}O(3776,6099,106,194495);L()}O(11956,6099,122,194495);L()}O(14507,6099,128,194495);L()}O(3776,6099,133,194495);L()}O(17055,6099,136,194495);L()}O(19503,6099,142,194495);L()}O(21858,6099,145,194495);L()}O(23946,6099,153,194495);L()}O(25848,6099,158,194495);L()}t[i+3223|0]=1;t[i+3213|0]=1;break Dc}if((f|0)!=1331849827){break Fc}f=Ma-256|0;Ma=f;t[h+352|0]=1;v[h+348>>2]=100;v[h+68>>2]=90;v[h+72>>2]=100;t[h+64|0]=1;v[h+60>>2]=0;t[h+56|0]=0;v[h+20>>2]=0;v[h+24>>2]=-65536;t[h+16|0]=255;v[h+12>>2]=0;v[h+4>>2]=3;v[h+8>>2]=0;gd(a,kb(a)<<1);b=kb(a);Oi:{if(!b){kb(a);break Oi}gd(a,b)}Pi:{Qi:{m=kb(a);if(m){q=h+360|0;E=h+356|0;I=h+28|0;M=h+80|0;N=h+76|0;S=h+84|0;while(1){Ri:{Si:{b=kb(a);if(b){Vd(a,f,b);t[b+f|0]=0;e=kb(a);break Si}b=kb(a);e=kb(a);Ti:{Ui:{Vi:{Wi:{Xi:{Yi:{Zi:{_i:{$i:{aj:{bj:{cj:{dj:{ej:{fj:{gj:{hj:{ij:{jj:{kj:{lj:{mj:{nj:{oj:{pj:{qj:{rj:{sj:{tj:{uj:{vj:{wj:{xj:{yj:{zj:{Aj:{Bj:{Cj:{Dj:{Ej:{Fj:{Gj:{Hj:{if((b|0)<=1332765555){if((b|0)<=1198678371){if((b|0)<=1097754475){if(!b){break Si}if((b|0)!=1097623406){break Hj}if((e|0)!=1651470188){break Yi}ma=h,na=ad(a),t[ma+64|0]=na;break Ri}if((b|0)==1097754476){break zj}if((b|0)!=1131180576){break Hj}if((e|0)!=1331849827){break gj}ma=h,na=Il(a),v[ma+24>>2]=na;break Ri}if((b|0)<=1298407455){if((b|0)==1198678372){break Aj}if((b|0)!=1282304868){break Hj}if((e|0)!=1651470188){break Vi}ma=h,na=ad(a),t[ma+352|0]=na;break Ri}if((b|0)==1298407456){break Dj}if((b|0)!=1332114292){break Hj}if((e|0)!=1331849827){break Xi}Qw(N,M,a);break Ri}if((b|0)<=1399024671){if((b|0)<=1349808749){if((b|0)==1332765556){break Cj}if((b|0)!=1349416020){break Hj}if((e|0)!=1701737837){break qj}if(kb(a)){break pj}if((kb(a)|0)!=1181894252){break oj}b=kb(a);if(!b){break Ej}Vd(a,f,b);t[b+f|0]=0;break Ti}if((b|0)==1349808750){break wj}if((b|0)!=1383494259){break Hj}if((e|0)!=1651470188){break $i}ma=h,na=ad(a),t[ma+56|0]=na;break Ri}if((b|0)<=1400512543){if((b|0)==1399024672){break xj}if((b|0)!=1400142188){break Hj}if((e|0)!=1701737837){break tj}if(kb(a)){break sj}if((kb(a)|0)!=1179874412){break rj}b=kb(a);if(!b){break Fj}Vd(a,f,b);t[b+f|0]=0;break Ui}if((b|0)==1400512544){break Bj}if((b|0)==1417244773){break yj}if((b|0)==1701732706){break Gj}}O(14441,10823,321,194657);L()}if((e|0)!=1651470188){break uj}ma=h,na=ad(a),t[ma|0]=na;break Ri}b=kb(a);if((b|0)!=1131704902){if((b|0)==1231975238){break vj}if((b|0)!=1333097542){break Ui}v[h+8>>2]=0;break Ri}v[h+8>>2]=2;break Ri}Ij:{b=kb(a);if((b|0)!=1198671468){if((b|0)==1349808750){break Ij}if((b|0)!=1396927602){break Ti}v[h+20>>2]=0;break Ri}v[h+20>>2]=1;break Ri}v[h+20>>2]=2;break Ri}if((e|0)!=1701737837){break nj}if(kb(a)){break mj}if((kb(a)|0)!=1114402381){break lj}ma=h,na=Hl(a),v[ma+12>>2]=na;break Ri}if((e|0)!=1433302086){break kj}if((kb(a)|0)!=592474723){break jj}k=Lc(a)*2.55+.5;if(D(k)<2147483648){t[h+16|0]=~~k;break Ri}t[h+16|0]=0;break Ri}if((e|0)!=1433302086){break ij}if((kb(a)|0)!=592476268){break hj}k=Lc(a);if(D(k)<2147483648){v[h+4>>2]=~~k;break Ri}v[h+4>>2]=-2147483648;break Ri}if((e|0)!=1331849827){break fj}Rw(I,a);break Ri}if((e|0)!=1433302086){break ej}if((kb(a)|0)!=591490663){break dj}k=Lc(a);if(D(k)<2147483648){v[h+68>>2]=~~k;break Ri}v[h+68>>2]=-2147483648;break Ri}if((e|0)!=1701737837){break cj}if(kb(a)){break bj}if((kb(a)|0)!=1198679124){break aj}ma=h,na=_K(a),v[ma+60>>2]=na;break Ri}if((e|0)!=1433302086){break _i}if((kb(a)|0)!=592474723){break Zi}Jj:{switch(v[h+20>>2]-1|0){case 0:k=Lc(a);if(D(k)<2147483648){v[h+72>>2]=~~k;break Ri}v[h+72>>2]=-2147483648;break Ri;case 1:break Jj;default:break Ri}}k=Lc(a);if(D(k)<2147483648){v[h+348>>2]=~~k;break Ri}v[h+348>>2]=-2147483648;break Ri}if((e|0)!=1331849827){break Wi}RB(S,a);break Ri}v[h+8>>2]=1;break Ri}O(16997,10823,121,194657);L()}O(19459,10823,127,194657);L()}O(21693,10823,132,194657);L()}O(23903,10823,135,194657);L()}O(19459,10823,165,194657);L()}O(21693,10823,170,194657);L()}O(25872,10823,173,194657);L()}O(19459,10823,203,194657);L()}O(21693,10823,208,194657);L()}O(27671,10823,211,194657);L()}O(29353,10823,217,194657);L()}O(30816,10823,220,194657);L()}O(29353,10823,227,194657);L()}O(32332,10823,230,194657);L()}O(8237,10823,237,194657);L()}O(8237,10823,244,194657);L()}O(29353,10823,250,194657);L()}O(33984,10823,254,194657);L()}O(19459,10823,262,194657);L()}O(21693,10823,267,194657);L()}O(35349,10823,270,194657);L()}O(16997,10823,276,194657);L()}O(29353,10823,282,194657);L()}O(30816,10823,286,194657);L()}O(16997,10823,297,194657);L()}O(8237,10823,303,194657);L()}O(8237,10823,310,194657);L()}O(16997,10823,316,194657);L()}O(14441,10823,158,194657);L()}O(14441,10823,196,194657);L()}if(!Jb(f,2133,6)){if((e|0)!=1331849827){break Qi}Qw(E,q,a);v[E>>2]=0;v[q>>2]=0;break Ri}O(14441,10823,114,194657);L()}m=m-1|0;if(m){continue}break}}Ma=f+256|0;break Pi}O(8237,10823,106,194657);L()}t[i+3226|0]=1;t[i+3216|0]=1;break Dc}O(19503,6390,236,194045);L()}O(21858,6390,240,194045);L()}O(23917,6390,252,194045);L()}O(17040,6390,260,194045);L()}O(17040,6390,270,194045);L()}O(17040,6390,280,194045);L()}O(17040,6390,290,194045);L()}O(17040,6390,300,194045);L()}O(17040,6390,310,194045);L()}O(17040,6390,320,194045);L()}O(17040,6390,330,194045);L()}O(17040,6390,340,194045);L()}if(!Jb(H,13118,12)){if((f|0)!=1331849827){break zc}m=Ma-256|0;Ma=m;t[y+20|0]=1;v[y+16>>2]=100;t[y+12|0]=255;v[y+4>>2]=0;gd(a,kb(a)<<1);b=kb(a);Kj:{if(!b){kb(a);break Kj}gd(a,b)}Lj:{Mj:{e=kb(a);if(e){q=y+292|0;E=y+288|0;I=y+24|0;while(1){Nj:{Oj:{b=kb(a);if(b){Vd(a,m,b);t[b+m|0]=0;b=kb(a);break Oj}f=kb(a);b=kb(a);Pj:{Qj:{Rj:{Sj:{Tj:{Uj:{Vj:{Wj:{Xj:{Yj:{Zj:{_j:{$j:{ak:{bk:{ck:{if((f|0)<=1332765555){if(!f){break Oj}if((f|0)==1097623406){break _j}if((f|0)!=1298407456){break ck}if((b|0)!=1701737837){break Xj}if(kb(a)){break Wj}if((kb(a)|0)!=1114402381){break Vj}ma=y,na=Hl(a),v[ma+4>>2]=na;break Nj}if((f|0)<=1399024671){if((f|0)==1332765556){break ak}if((f|0)!=1349808750){break ck}if((b|0)!=1331849827){break Sj}RB(I,a);break Nj}if((f|0)==1399024672){break $j}if((f|0)==1701732706){break bk}}O(14441,10666,157,194679);L()}if((b|0)!=1651470188){break Yj}ma=y,na=ad(a),t[ma|0]=na;break Nj}if((b|0)!=1433302086){break Uj}if((kb(a)|0)!=592474723){break Tj}k=Lc(a)*2.55+.5;if(!(D(k)<2147483648)){break Zj}t[y+12|0]=~~k;break Nj}if((b|0)!=1433302086){break Rj}if((kb(a)|0)!=592474723){break Qj}k=Lc(a);if(D(k)<2147483648){v[y+16>>2]=~~k;break Nj}v[y+16>>2]=-2147483648;break Nj}if((b|0)!=1651470188){break Pj}ma=y,na=ad(a),t[ma+20|0]=na;break Nj}t[y+12|0]=0;break Nj}O(16997,10666,106,194679);L()}O(19459,10666,112,194679);L()}O(21693,10666,117,194679);L()}O(23975,10666,120,194679);L()}O(25915,10666,126,194679);L()}O(27628,10666,129,194679);L()}O(8237,10666,136,194679);L()}O(25915,10666,142,194679);L()}O(27628,10666,145,194679);L()}O(16997,10666,152,194679);L()}if(!Jb(m,2133,6)){if((b|0)!=1331849827){break Mj}Qw(E,q,a);v[E>>2]=0;v[q>>2]=0;break Nj}O(14441,10666,99,194679);L()}e=e-1|0;if(e){continue}break}}Ma=m+256|0;break Lj}O(8237,10666,90,194679);L()}t[i+3225|0]=1;t[i+3215|0]=1;break Dc}O(11815,6390,228,194045);L()}u[i>>1]=x[i>>1]+1}b=c;if(b){continue}break}}b=0}Ma=H+256|0;c=b;break yc}O(17040,6390,220,194045);L()}break p}v[((v[g+376>>2]<<2)+g|0)+380>>2]=5;v[g>>2]=10;d=gb(2258);c=-4;dk:{if(!d){break dk}c=eb(d,0,2258);v[((v[g+376>>2]<<2)+g|0)+460>>2]=c;v[g+376>>2]=v[g+376>>2]+1;if((Ab(a)|0)==2){ma=c,na=ge(a),t[ma|0]=na;ge(a);ma=c,na=Ab(a),u[ma+2>>1]=na;ma=c,na=Ab(a),u[ma+4>>1]=na;ma=c,na=Ab(a),u[ma+6>>1]=na;ma=c,na=Ab(a),u[ma+8>>1]=na;ma=c,na=Ab(a),u[ma+10>>1]=na;ma=c,na=Ab(a),u[ma+12>>1]=na;ma=c,na=Ab(a),u[ma+14>>1]=na;ma=c,na=Ab(a),u[ma+16>>1]=na;ma=c,na=Ab(a),u[ma+18>>1]=na;ma=c,na=Ab(a),u[ma+20>>1]=na;ma=c,na=Ab(a),u[ma+62>>1]=na;ma=c,na=Ab(a),u[ma+64>>1]=na;ma=c,na=Ab(a),u[ma+66>>1]=na;ma=c,na=Ab(a),u[ma+22>>1]=na;ma=c,na=Ab(a),u[ma+24>>1]=na;ma=c,na=Ab(a),u[ma+26>>1]=na;ma=c,na=Ab(a),u[ma+28>>1]=na;ma=c,na=Ab(a),u[ma+68>>1]=na;ma=c,na=Ab(a),u[ma+70>>1]=na;ma=c,na=Ab(a),u[ma+72>>1]=na;ma=c,na=Ab(a),u[ma+30>>1]=na;ma=c,na=Ab(a),u[ma+32>>1]=na;ma=c,na=Ab(a),u[ma+34>>1]=na;ma=c,na=Ab(a),u[ma+36>>1]=na;ma=c,na=Ab(a),u[ma+74>>1]=na;ma=c,na=Ab(a),u[ma+76>>1]=na;ma=c,na=Ab(a),u[ma+78>>1]=na;ma=c,na=Ab(a),u[ma+38>>1]=na;ma=c,na=Ab(a),u[ma+40>>1]=na;ma=c,na=Ab(a),u[ma+42>>1]=na;ma=c,na=Ab(a),u[ma+44>>1]=na;ma=c,na=Ab(a),u[ma+80>>1]=na;ma=c,na=Ab(a),u[ma+82>>1]=na;ma=c,na=Ab(a),u[ma+84>>1]=na;ma=c,na=Ab(a),u[ma+46>>1]=na;ma=c,na=Ab(a),u[ma+48>>1]=na;ma=c,na=Ab(a),u[ma+50>>1]=na;ma=c,na=Ab(a),u[ma+52>>1]=na;ma=c,na=Ab(a),u[ma+86>>1]=na;ma=c,na=Ab(a),u[ma+88>>1]=na;ma=c,na=Ab(a),u[ma+90>>1]=na;ma=c,na=Ab(a),u[ma+54>>1]=na;ma=c,na=Ab(a),u[ma+56>>1]=na;ma=c,na=Ab(a),u[ma+58>>1]=na;ma=c,na=Ab(a),u[ma+60>>1]=na;ma=c,na=Ab(a),u[ma+92>>1]=na;ma=c,na=Ab(a),u[ma+94>>1]=na;ma=c,na=Ab(a),u[ma+96>>1]=na;t[g+540|0]=1;c=0}else{c=-511}}break p}ma=g,na=ad(a),t[ma+565|0]=na;gd(a,3);break n}ma=J,na=ge(a),u[ma+8>>1]=na;ma=J,na=ge(a),u[ma+10>>1]=na;ma=J,na=ge(a),u[ma+12>>1]=na;ma=J,na=ge(a),u[ma+14>>1]=na;SB(R,0,J+8|0);gd(a,4);break n}c=g;k=Lc(a);ek:{if(D(k)<2147483648){d=~~k;break ek}d=-2147483648}v[c+576>>2]=d;k=Lc(a);if(D(k)<2147483648){v[g+580>>2]=~~k;break n}v[g+580>>2]=-2147483648;break n}d=0;e=v[a+28>>2];v[((v[g+376>>2]<<2)+g|0)+380>>2]=1;v[g>>2]=6;c=-4;fk:{b=gb(1124);if(!b){break fk}b=eb(b,0,1124);v[((v[g+376>>2]<<2)+g|0)+460>>2]=b;v[g+376>>2]=v[g+376>>2]+1;gk:{hk:{ik:{jk:{kk:{c=-503;lk:{if((Ab(a)|0)!=2){break lk}while(1){c=b+B(d,12)|0;ma=c,na=Ab(a),u[ma>>1]=na;ma=c,na=Ab(a),u[ma+2>>1]=na;ma=c,na=Ab(a),u[ma+4>>1]=na;ma=c,na=Ab(a),u[ma+6>>1]=na;W=C(C(Ab(a)|0)/C(100));z[c+8>>2]=W;if(d>>>0<=26){if(x[c>>1]>=256){break kk}if((x[c+2>>1]-2&65535)>>>0>=254){break jk}if(x[c+4>>1]>=256){break ik}if(x[c+6>>1]>=256){break hk}k=+W;if(!(k>=.1)|!(k<=9.99)){break gk}}d=d+1|0;if((d|0)!=29){continue}break}mk:{if((G-4|0)<=(v[a+28>>2]-e|0)){break mk}c=-505;if((kb(a)|0)!=1282829427){break lk}c=-507;if((Ab(a)|0)!=3){break lk}c=Ab(a)-29|0;u[b+348>>1]=c;f=gb(B(c&65535,12));v[b+352>>2]=f;c=-4;if(!f){break fk}d=0;eb(f,0,B(x[b+348>>1],12));if(!x[b+348>>1]){break mk}while(1){f=Ab(a);c=B(d,12);u[c+v[b+352>>2]>>1]=f;f=Ab(a);u[(c+v[b+352>>2]|0)+2>>1]=f;f=Ab(a);u[(c+v[b+352>>2]|0)+4>>1]=f;f=Ab(a);u[(c+v[b+352>>2]|0)+6>>1]=f;f=Ab(a);z[(c+v[b+352>>2]|0)+8>>2]=C(f|0)/C(100);d=d+1|0;if(d>>>0>1]){continue}break}}c=-506;if((v[a+28>>2]-e|0)!=(G|0)){break lk}t[g+540|0]=1;c=0}break fk}O(3306,6424,79,194122);L()}O(11304,6424,80,194122);L()}O(13976,6424,81,194122);L()}O(16437,6424,82,194122);L()}O(19031,6424,83,194122);L()}break p}if((c|0)!=1668047468){if((c|0)!=1668641398){break q}f=0;m=v[a+28>>2];v[((v[g+376>>2]<<2)+g|0)+380>>2]=2;v[g>>2]=7;d=-4;nk:{ok:{pk:{c=gb(776);qk:{if(!c){break qk}b=eb(c,0,776);v[((v[g+376>>2]<<2)+g|0)+460>>2]=b;v[g+376>>2]=v[g+376>>2]+1;ge(a);d=-508;rk:{switch((Ab(a)&65535)-1|0){case 0:case 3:break rk;default:break qk}}c=kb(a);e=c&1;n=c&2;o=c&4;i=c&8;j=c&16;p=c&32;r=c&64;s=c&128;y=c&256;F=c&512;q=c&1024;H=c&2048;E=c&4096;I=c&8192;M=c&16384;N=c&32768;S=c&65536;X=c&131072;Y=c&262144;Z=c&524288;_=c&1048576;$=c&2097152;aa=c&4194304;ba=c&8388608;ca=c&16777216;da=c&33554432;ea=c&67108864;fa=c&134217728;ga=c&268435456;ha=c&536870912;ia=c&1073741824;d=(n?e?2:1:e)+(o>>>2|0)+(i>>>3)+(j>>>4)+(p>>>5)+(r>>>6)+(s>>>7)+(y>>>8)+(F>>>9)+(q>>>10)+(H>>>11)+(E>>>12)+(I>>>13)+(M>>>14)+(N>>>15)+(S>>>16)+(X>>>17)+(Y>>>18)+(Z>>>19)+(_>>>20)+($>>>21)+(aa>>>22)+(ba>>>23)+(ca>>>24)+(da>>>25)+(ea>>>26)+(fa>>>27)+(ga>>>28)+(ha>>>29)+(ia>>>30)+(c>>>31)|0;u[b>>1]=d;h=gb(B(d&65535,80));v[b+4>>2]=h;d=-4;if(!h){break qk}eb(h,0,B(x[b>>1],80));if(x[b>>1]){la=c>>>31|0;while(1){c=0;sk:{tk:{uk:{if(!e){break uk}c=1;if(f){break uk}d=0;break tk}if(n){d=1;if((c|0)==(f|0)){break tk}c=c+1|0}if(o){d=2;if((c|0)==(f|0)){break tk}c=c+1|0}if(i){d=3;if((c|0)==(f|0)){break tk}c=c+1|0}if(j){d=4;if((c|0)==(f|0)){break tk}c=c+1|0}if(p){d=5;if((c|0)==(f|0)){break tk}c=c+1|0}if(r){d=6;if((c|0)==(f|0)){break tk}c=c+1|0}if(s){d=7;if((c|0)==(f|0)){break tk}c=c+1|0}if(y){d=8;if((c|0)==(f|0)){break tk}c=c+1|0}if(F){d=9;if((c|0)==(f|0)){break tk}c=c+1|0}if(q){d=10;if((c|0)==(f|0)){break tk}c=c+1|0}if(H){d=11;if((c|0)==(f|0)){break tk}c=c+1|0}if(E){d=12;if((c|0)==(f|0)){break tk}c=c+1|0}if(I){d=13;if((c|0)==(f|0)){break tk}c=c+1|0}if(M){d=14;if((c|0)==(f|0)){break tk}c=c+1|0}if(N){d=15;if((c|0)==(f|0)){break tk}c=c+1|0}if(S){d=16;if((c|0)==(f|0)){break tk}c=c+1|0}if(X){d=17;if((c|0)==(f|0)){break tk}c=c+1|0}if(Y){d=18;if((c|0)==(f|0)){break tk}c=c+1|0}if(Z){d=19;if((c|0)==(f|0)){break tk}c=c+1|0}if(_){d=20;if((c|0)==(f|0)){break tk}c=c+1|0}if($){d=21;if((c|0)==(f|0)){break tk}c=c+1|0}if(aa){d=22;if((c|0)==(f|0)){break tk}c=c+1|0}if(ba){d=23;if((c|0)==(f|0)){break tk}c=c+1|0}if(ca){d=24;if((c|0)==(f|0)){break tk}c=c+1|0}if(da){d=25;if((c|0)==(f|0)){break tk}c=c+1|0}if(ea){d=26;if((c|0)==(f|0)){break tk}c=c+1|0}if(fa){d=27;if((c|0)==(f|0)){break tk}c=c+1|0}if(ga){d=28;if((c|0)==(f|0)){break tk}c=c+1|0}if(ha){d=29;if((c|0)==(f|0)){break tk}c=c+1|0}if(ia){d=30;if((c|0)==(f|0)){break tk}c=c+1|0}d=31;if(!(la&(c|0)==(f|0))){break sk}}u[v[b+4>>2]+B(f,80)>>1]=d}d=Ab(a);h=B(f,80);u[(h+v[b+4>>2]|0)+2>>1]=d;c=0;if((d-2&65535)>>>0>=18){O(3170,6457,113,194143);L()}vk:{while(1){d=Ab(a);P=c<<1;u[(P+(v[b+4>>2]+h|0)|0)+4>>1]=d;d=Ab(a);T=P;P=v[b+4>>2]+h|0;T=T+P|0;u[T+42>>1]=d;if(x[T+4>>1]>=256){break ok}if((d&65535)>>>0<256){c=c+1|0;if(c>>>0>=x[P+2>>1]){break vk}continue}break}O(14049,6457,123,194143);L()}f=f+1|0;if(f>>>0>1]){continue}break}}wk:{if((G-4|0)<=(v[a+28>>2]-m|0)){break wk}d=-509;if((kb(a)|0)!=1131574816){break qk}d=-510;if((Ab(a)|0)!=4){break qk}d=kb(a);c=x[b>>1];if((d|0)!=(c|0)){break pk}if(!c){break wk}d=0;while(1){c=Ab(a);f=B(d,80);u[f+v[b+4>>2]>>1]=c;e=Ab(a);xk:{yk:{if((e|0)==x[(f+v[b+4>>2]|0)+2>>1]){c=0;if((e|0)>0){break yk}break xk}O(17793,6457,153,194143);L()}while(1){zk:{h=Ab(a);m=Ab(a);n=(f+v[b+4>>2]|0)+(c<<1)|0;if((h|0)!=x[n+4>>1]|(m|0)!=x[n+42>>1]){break zk}c=c+1|0;if((e|0)!=(c|0)){continue}break xk}break}O(21075,6457,165,194143);L()}d=d+1|0;if(d>>>0>1]){continue}break}}t[g+540|0]=1;d=0}c=d;break nk}O(15394,6457,142,194143);L()}O(11379,6457,122,194143);L()}break p}ma=g,na=ad(a),t[ma+564|0]=na;gd(a,3);break n}gd(a,G);break n}if(!c){break n}}It(g);l=c;break a}gd(a,(G+ka|0)-v[a+28>>2]|0);if(v[g+376>>2]<20){continue}break}break}O(23819,7011,692,193413);L()}O(21444,7011,484,193413);L()}O(21444,7011,454,193413);L()}O(19257,7011,440,193413);L()}O(16693,7011,435,193413);L()}O(14420,7011,430,193413);L()}O(11756,7011,374,193413);L()}O(3707,7011,335,193413);L()}It(g);break a}gd(a,(U+ja|0)-v[a+28>>2]|0);l=0;g=x[a+632>>1];d=g<<16>>16;if((d|0)<1){break a}b=v[a+636>>2];Ak:{if(!(g&1)){a=0;break Ak}a=0;Bk:{Ck:{g=g-1|0;e=B(g,600);c=e+b|0;switch(v[c>>2]){case 0:break Bk;case 2:break Ck;default:break Ak}}a=c;break Ak}v[(b+e|0)+596>>2]=0}if((d|0)==1){break a}while(1){Dk:{Ek:{Fk:{Gk:{d=B(g-1|0,600);c=d+b|0;switch(v[c>>2]){case 1:break Ek;case 2:break Fk;case 0:break Gk;default:break Dk}}v[(b+d|0)+596>>2]=a;break Dk}a=c;break Dk}a=0}Hk:{Ik:{Jk:{Kk:{c=g-2|0;e=B(c,600);d=e+b|0;switch(v[d>>2]){case 0:break Ik;case 2:break Jk;case 1:break Kk;default:break Hk}}a=0;break Hk}a=d;break Hk}v[(b+e|0)+596>>2]=a}d=(g|0)>2;g=c;if(d){continue}break}}Ma=J+16|0;return l}function wSa(a){a=a|0;var 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,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=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,_=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=C(0);g=Ma-160|0;Ma=g;u[a+59254>>1]=0;v[a+26328>>2]=-1;v[a+26332>>2]=-1;v[a+26028>>2]=-1;u[a+26322>>1]=0;v[a+26100>>2]=0;v[a+26124>>2]=0;t[a+25861|0]=0;f=a+25797|0;t[f|0]=0;t[a+25925|0]=0;t[a+25733|0]=0;t[a+25221|0]=0;v[a+26036>>2]=0;t[a+25216|0]=0;eb(a+26172|0,0,128);eb(a+26356|0,0,128);v[a+26324>>2]=0;v[a+26080>>2]=0;v[a+26056>>2]=0;v[a+26060>>2]=0;v[a+190476>>2]=0;v[a+190480>>2]=0;v[a+26e3>>2]=0;v[a+26004>>2]=0;c=a+26008|0;v[c>>2]=0;v[c+4>>2]=0;v[a+26304>>2]=0;v[a+26308>>2]=0;o=a+26312|0;v[o>>2]=0;v[a+190468>>2]=966;v[a+26300>>2]=0;v[a+26048>>2]=0;v[a+26052>>2]=0;v[a+26140>>2]=0;v[a+26144>>2]=0;v[a+26152>>2]=0;v[a+26156>>2]=0;v[a+26020>>2]=0;v[a+26024>>2]=0;v[a+26160>>2]=0;v[a+26016>>2]=0;v[a+26084>>2]=0;v[a+26088>>2]=0;v[a+26128>>2]=0;c=a+26116|0;v[c>>2]=0;v[c+4>>2]=0;v[a+26108>>2]=0;v[a+26112>>2]=0;v[a+26132>>2]=1;v[a+26136>>2]=1;v[a+26148>>2]=1;v[a+26344>>2]=0;v[a+26348>>2]=1072693248;v[a+26164>>2]=2147483647;v[a+26168>>2]=2147483647;H=a+59380|0;c=H;v[c>>2]=0;v[c+4>>2]=0;I=a+59364|0;c=I;v[c>>2]=0;v[c+4>>2]=1065353216;J=a+59348|0;c=J;v[c>>2]=1065353216;v[c+4>>2]=0;c=a+59332|0;v[c>>2]=0;v[c+4>>2]=0;c=a+59316|0;v[c>>2]=0;v[c+4>>2]=0;v[a+59300>>2]=0;v[a+59304>>2]=0;v[a+59284>>2]=1065353216;v[a+59288>>2]=1065353216;v[a+59268>>2]=0;v[a+59272>>2]=1065353216;v[a+59388>>2]=1065353216;v[a+59372>>2]=0;v[a+59356>>2]=0;v[a+59340>>2]=0;v[a+59324>>2]=0;v[a+59308>>2]=0;v[a+59292>>2]=1065353216;v[a+59276>>2]=0;v[a+59392>>2]=0;v[a+59376>>2]=0;v[a+59360>>2]=0;v[a+59344>>2]=0;v[a+59328>>2]=0;v[a+59312>>2]=0;v[a+59296>>2]=0;v[a+59280>>2]=0;v[a+26336>>2]=3;v[a+26112>>2]=12;ia=a+26108|0;q=a+190476|0;E=a+25216|0;h=a+25733|0;ja=a+25861|0;l=a+26308|0;k=a+26310|0;n=a+26314|0;G=a+26304|0;s=a+26306|0;r=a+26028|0;c=a+26484|0;while(1){u[c+(b<<1)>>1]=b;d=b|1;u[c+(d<<1)>>1]=d;d=b|2;u[c+(d<<1)>>1]=d;d=b|3;u[c+(d<<1)>>1]=d;d=b|4;u[c+(d<<1)>>1]=d;d=b|5;u[c+(d<<1)>>1]=d;d=b|6;u[c+(d<<1)>>1]=d;d=b|7;u[c+(d<<1)>>1]=d;b=b+8|0;if((b|0)!=16384){continue}break}u[g+48>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],g+48|0,1,2)|0;c=w[g+48|0];b=a;if(x[a+25204>>1]==18761){c=c|w[g+49|0]<<8}else{c=w[g+49|0]|c<<8}u[b+25204>>1]=c;v[g+48>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],g+48|0,1,4)|0;b=w[g+48|0];if(x[a+25204>>1]==18761){U=b|w[g+49|0]<<8|w[g+50|0]<<16|w[g+51|0]<<24}else{U=w[g+51|0]|(w[g+49|0]<<16|b<<24|w[g+50|0]<<8)}Qa[v[v[a>>2]+8>>2]](v[a+4>>2],0,0)|0;b=g+128|0;Qa[v[v[a>>2]>>2]](v[a+4>>2],b,1,32)|0;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],0,2)|0;D=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;a:{b:{if(v[g+128>>2]==1296911693){break b}c=g+128|1;if((w[g+129|0]|w[g+130|0]<<8|(w[g+131|0]<<16|w[g+132|0]<<24))==1296911693){b=c;break b}d=g+128|2;if((x[g+130>>1]|x[g+132>>1]<<16)==1296911693){b=d;break b}i=g+128|3;if((w[g+131|0]|w[g+132|0]<<8|(w[g+133|0]<<16|w[g+134|0]<<24))==1296911693){b=i;break b}j=g+128|4;if(v[g+132>>2]==1296911693){b=j;break b}e=g+128|5;if((w[g+133|0]|w[g+134|0]<<8|(w[g+135|0]<<16|w[g+136|0]<<24))==1296911693){b=e;break b}m=g+128|6;if((x[g+134>>1]|x[g+136>>1]<<16)==1296911693){b=m;break b}p=g+128|7;if((w[g+135|0]|w[g+136|0]<<8|(w[g+137|0]<<16|w[g+138|0]<<24))==1296911693){b=p;break b}F=g+128|8;if(v[g+136>>2]==1296911693){b=F;break b}K=g+128|9;if((w[g+137|0]|w[g+138|0]<<8|(w[g+139|0]<<16|w[g+140|0]<<24))==1296911693){b=K;break b}M=g+128|10;if((x[g+138>>1]|x[g+140>>1]<<16)==1296911693){b=M;break b}N=g+128|11;if((w[g+139|0]|w[g+140|0]<<8|(w[g+141|0]<<16|w[g+142|0]<<24))==1296911693){b=N;break b}O=g+128|12;if(v[g+140>>2]==1296911693){b=O;break b}P=g+128|13;if((w[g+141|0]|w[g+142|0]<<8|(w[g+143|0]<<16|w[g+144|0]<<24))==1296911693){b=P;break b}Q=g+128|14;if((x[g+142>>1]|x[g+144>>1]<<16)==1296911693){b=Q;break b}R=g+128|15;if((w[g+143|0]|w[g+144|0]<<8|(w[g+145|0]<<16|w[g+146|0]<<24))==1296911693){b=R;break b}W=g+144|0;if(v[g+144>>2]==1296911693){b=W;break b}X=g+145|0;if((w[g+145|0]|w[g+146|0]<<8|(w[g+147|0]<<16|w[g+148|0]<<24))==1296911693){b=X;break b}Y=g+146|0;if((x[g+146>>1]|x[g+148>>1]<<16)==1296911693){b=Y;break b}_=g+147|0;if((w[g+147|0]|w[g+148|0]<<8|(w[g+149|0]<<16|w[g+150|0]<<24))==1296911693){b=_;break b}$=g+148|0;if(v[g+148>>2]==1296911693){b=$;break b}aa=g+149|0;if((w[g+149|0]|w[g+150|0]<<8|(w[g+151|0]<<16|w[g+152|0]<<24))==1296911693){b=aa;break b}ba=g+150|0;if((x[g+150>>1]|x[g+152>>1]<<16)==1296911693){b=ba;break b}ca=g+151|0;if((w[g+151|0]|w[g+152|0]<<8|(w[g+153|0]<<16|w[g+154|0]<<24))==1296911693){b=ca;break b}da=g+152|0;if(v[g+152>>2]==1296911693){b=da;break b}ea=g+153|0;if((w[g+153|0]|w[g+154|0]<<8|(w[g+155|0]<<16|w[g+156|0]<<24))==1296911693){b=ea;break b}fa=g+154|0;if((x[g+154>>1]|x[g+156>>1]<<16)==1296911693){b=fa;break b}ga=g+155|0;if((w[g+155|0]|w[g+156|0]<<8|(w[g+157|0]<<16|w[g+158|0]<<24))==1296911693){b=ga;break b}ha=g+156|0;if(v[g+156>>2]==1296911693){b=ha;break b}if(v[g+128>>2]==1229539657){break b}b=c;if((w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24))==1229539657){break b}b=d;if((w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24))==1229539657){break b}b=i;if((w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24))==1229539657){break b}b=j;if(v[g+132>>2]==1229539657){break b}b=e;if((w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24))==1229539657){break b}b=m;if((w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24))==1229539657){break b}b=p;if((w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24))==1229539657){break b}b=F;if(v[g+136>>2]==1229539657){break b}b=K;if((w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24))==1229539657){break b}b=M;if((w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24))==1229539657){break b}b=N;if((w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24))==1229539657){break b}b=O;if(v[g+140>>2]==1229539657){break b}b=P;if((w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24))==1229539657){break b}b=Q;if((w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24))==1229539657){break b}b=R;if((w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24))==1229539657){break b}b=W;if(v[g+144>>2]==1229539657){break b}b=X;if((w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24))==1229539657){break b}b=Y;if((w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24))==1229539657){break b}b=_;if((w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24))==1229539657){break b}b=$;if(v[g+148>>2]==1229539657){break b}b=aa;if((w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24))==1229539657){break b}b=ba;if((w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24))==1229539657){break b}b=ca;if((w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24))==1229539657){break b}b=da;if(v[g+152>>2]==1229539657){break b}b=ea;if((w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24))==1229539657){break b}b=fa;if((w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24))==1229539657){break b}b=ga;if((w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24))==1229539657){break b}b=ha;if(v[g+156>>2]==1229539657){break b}b=x[a+25204>>1];if(!((b|0)==18761|(b|0)==19789)){c:{d:{b=v[g+128>>2];if((b|0)==-503326465){if((x[g+134>>1]|x[g+136>>1]<<16)==1718188101){Qa[v[v[a>>2]+8>>2]](v[a+4>>2],4,0)|0;b=Gl(a)+4|0;v[a+26048>>2]=b;v[a+26052>>2]=0;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],b,0)|0;if((Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0)!=255){Wq(a,12)}v[a+26056>>2]=0;v[a+26060>>2]=0;break a}if(Jb(g+153|0,211895,7)){break d}break c}if(!Jb(g+153|0,211895,7)){break c}if((b|0)!=5134416){break d}t[h+8|0]=w[211928];b=w[211924]|w[211925]<<8|(w[211926]<<16|w[211927]<<24);c=w[211920]|w[211921]<<8|(w[211922]<<16|w[211923]<<24);t[h|0]=c;t[h+1|0]=c>>>8;t[h+2|0]=c>>>16;t[h+3|0]=c>>>24;t[h+4|0]=b;t[h+5|0]=b>>>8;t[h+6|0]=b>>>16;t[h+7|0]=b>>>24;b=w[211941]|w[211942]<<8|(w[211943]<<16|w[211944]<<24);c=w[211937]|w[211938]<<8|(w[211939]<<16|w[211940]<<24);t[f+8|0]=c;t[f+9|0]=c>>>8;t[f+10|0]=c>>>16;t[f+11|0]=c>>>24;t[f+12|0]=b;t[f+13|0]=b>>>8;t[f+14|0]=b>>>16;t[f+15|0]=b>>>24;b=w[211933]|w[211934]<<8|(w[211935]<<16|w[211936]<<24);c=w[211929]|w[211930]<<8|(w[211931]<<16|w[211932]<<24);t[f|0]=c;t[f+1|0]=c>>>8;t[f+2|0]=c>>>16;t[f+3|0]=c>>>24;t[f+4|0]=b;t[f+5|0]=b>>>8;t[f+6|0]=b>>>16;t[f+7|0]=b>>>24;break a}if(!Jb(g+128|0,211945,5)){b=w[211954]|w[211955]<<8;t[h+4|0]=b;t[h+5|0]=b>>>8;b=w[211950]|w[211951]<<8|(w[211952]<<16|w[211953]<<24);t[h|0]=b;t[h+1|0]=b>>>8;t[h+2|0]=b>>>16;t[h+3|0]=b>>>24;b=w[211966]|w[211967]<<8|(w[211968]<<16|w[211969]<<24);c=w[211962]|w[211963]<<8|(w[211964]<<16|w[211965]<<24);t[f+6|0]=c;t[f+7|0]=c>>>8;t[f+8|0]=c>>>16;t[f+9|0]=c>>>24;t[f+10|0]=b;t[f+11|0]=b>>>8;t[f+12|0]=b>>>16;t[f+13|0]=b>>>24;b=w[211960]|w[211961]<<8|(w[211962]<<16|w[211963]<<24);c=w[211956]|w[211957]<<8|(w[211958]<<16|w[211959]<<24);t[f|0]=c;t[f+1|0]=c>>>8;t[f+2|0]=c>>>16;t[f+3|0]=c>>>24;t[f+4|0]=b;t[f+5|0]=b>>>8;t[f+6|0]=b>>>16;t[f+7|0]=b>>>24;break a}if(!Jb(g+128|0,211970,5)){b=w[211954]|w[211955]<<8;t[h+4|0]=b;t[h+5|0]=b>>>8;b=w[211950]|w[211951]<<8|(w[211952]<<16|w[211953]<<24);t[h|0]=b;t[h+1|0]=b>>>8;t[h+2|0]=b>>>16;t[h+3|0]=b>>>24;b=w[211985]|w[211986]<<8|(w[211987]<<16|w[211988]<<24);c=w[211981]|w[211982]<<8|(w[211983]<<16|w[211984]<<24);t[f+6|0]=c;t[f+7|0]=c>>>8;t[f+8|0]=c>>>16;t[f+9|0]=c>>>24;t[f+10|0]=b;t[f+11|0]=b>>>8;t[f+12|0]=b>>>16;t[f+13|0]=b>>>24;b=w[211979]|w[211980]<<8|(w[211981]<<16|w[211982]<<24);c=w[211975]|w[211976]<<8|(w[211977]<<16|w[211978]<<24);t[f|0]=c;t[f+1|0]=c>>>8;t[f+2|0]=c>>>16;t[f+3|0]=c>>>24;t[f+4|0]=b;t[f+5|0]=b>>>8;t[f+6|0]=b>>>16;t[f+7|0]=b>>>24;break a}if(v[g+128>>2]==1229608262&v[g+132>>2]==1296845126){Qa[v[v[a>>2]+8>>2]](v[a+4>>2],84,0)|0;ka=a,la=Im(a),v[ka+26056>>2]=la;v[a+26060>>2]=0;ka=a,la=Im(a),v[ka+26080>>2]=la;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],92,0)|0;y3(a,Im(a));b=v[a+26060>>2];e:{if(y[a+26056>>2]<121&(b|0)<=0|(b|0)<0){break e}Qa[v[v[a>>2]+8>>2]](v[a+4>>2],120,0)|0;b=Im(a);c=v[a+26148>>2]+((b|0)!=0)|0;v[a+26148>>2]=c;if(!v[a+160>>2]|(c|0)!=2){break e}y3(a,b)}Qa[v[v[a>>2]+8>>2]](v[a+4>>2],100,0)|0;ka=a,la=Im(a),v[ka+26048>>2]=la;v[a+26052>>2]=0;Wq(a,v[a+26056>>2]+12|0);break a}if((b|0)==1179011410){Qa[v[v[a>>2]+8>>2]](v[a+4>>2],0,0)|0;x3(a);break a}if(!Jb(g+128|0,211989,6)){Qa[v[v[a>>2]+8>>2]](v[a+4>>2],6,0)|0;Qa[v[v[a>>2]>>2]](v[a+4>>2],h,1,8)|0;Qa[v[v[a>>2]>>2]](v[a+4>>2],f,1,8)|0;Qa[v[v[a>>2]>>2]](v[a+4>>2],ja,1,16)|0;ka=a,la=Gl(a),v[ka+26048>>2]=la;v[a+26052>>2]=0;Gl(a);ka=a,la=Gl(a),u[ka+26306>>1]=la;b=Gl(a);v[a+190476>>2]=967;u[a+26304>>1]=b;v[a+26028>>2]=1633771873;break a}if(!Jb(g+128|0,211996,9)){d=Ma-208|0;Ma=d;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],0,0)|0;v[d+72>>2]=0;b=d- -64|0;v[b>>2]=0;v[b+4>>2]=0;v[d+56>>2]=0;v[d+60>>2]=0;i=d+48|0;b=i;v[b>>2]=0;v[b+4>>2]=0;j=d+40|0;b=j;v[b>>2]=0;v[b+4>>2]=0;v[d+32>>2]=0;v[d+36>>2]=0;e=d+32|4;m=d+52|0;p=d+44|0;while(1){b=d+80|0;Qa[v[v[a>>2]+16>>2]](v[a+4>>2],b,128)|0;b=ye(b,61);f:{if(b){t[b|0]=0;b=b+1|0;break f}b=d+80|0;b=zb(b)+b|0}g:{h:{i:{j:{c=v[d+80>>2];if((c|0)==5521732){v[d+24>>2]=m;v[d+20>>2]=i;v[d+16>>2]=p;df(b,25359,d+16|0);c=v[d+80>>2]}if((c|0)==5065044){v[d+4>>2]=e;v[d>>2]=j;v[d+8>>2]=d+32;df(b,80742,d);c=v[d+80>>2]}if((c|0)<=2120019){switch(c-2105432|0){case 1:break i;case 0:break j;default:break h}}if((c|0)==2120020){break g}if((c|0)!=5391432){if((c|0)!=1145589573){continue}j=v[a+26060>>2];b=v[a+26056>>2];c=x3a(x[a+26324>>1],0,x[a+26326>>1],0);e=c<<1&-2;i=b+e|0;c=j;v[a+26048>>2]=i;v[a+26052>>2]=e>>>0>i>>>0?c+1|0:c;v[d+52>>2]=v[d+52>>2]-1900;v[d+48>>2]=v[d+48>>2]-1;if((Z(d+32|0)|0)>=1){ka=a,la=Z(d+32|0)|0,v[ka+26016>>2]=la}b=a+25736|0;c=w[80766]|w[80767]<<8|(w[80768]<<16|w[80769]<<24);t[b|0]=c;t[b+1|0]=c>>>8;t[b+2|0]=c>>>16;t[b+3|0]=c>>>24;b=w[80763]|w[80764]<<8|(w[80765]<<16|w[80766]<<24);t[a+25733|0]=b;t[a+25734|0]=b>>>8;t[a+25735|0]=b>>>16;t[a+25736|0]=b>>>24;b=w[80774]|w[80775]<<8|(w[80776]<<16|w[80777]<<24);c=w[80770]|w[80771]<<8|(w[80772]<<16|w[80773]<<24);t[a+25797|0]=c;t[a+25798|0]=c>>>8;t[a+25799|0]=c>>>16;t[a+25800|0]=c>>>24;t[a+25801|0]=b;t[a+25802|0]=b>>>8;t[a+25803|0]=b>>>16;t[a+25804|0]=b>>>24;t[a+25805|0]=w[80778];v[a+190468>>2]=961;Ma=d+208|0;break a}b=td(b);v[a+26056>>2]=b;v[a+26060>>2]=b>>31;continue}ka=a,la=td(b),u[ka+26306>>1]=la;continue}ka=a,la=td(b),u[ka+26304>>1]=la;continue}if((c|0)!=2119764){continue}ka=a,la=td(b),u[ka+26324>>1]=la;continue}ka=a,la=td(b),u[ka+26326>>1]=la;continue}}k:{if((b|0)!=1649823558){if((b|0)!=1297239296){if((b|0)!=1145132880){break k}d=Ma-16|0;Ma=d;u[a+25204>>1]=18761;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],4,0)|0;v[d+4>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+4|0,1,4)|0;b=w[d+4|0];if(x[a+25204>>1]==18761){c=b|w[d+5|0]<<8|w[d+6|0]<<16|w[d+7|0]<<24}else{c=w[d+7|0]|(w[d+5|0]<<16|b<<24|w[d+6|0]<<8)}i=v[a>>2];j=v[i+8>>2];b=v[a+4>>2];v[d+4>>2]=-1;Qa[v[i>>2]](b,d+4|0,1,4)|0;i=w[d+4|0];if(x[a+25204>>1]==18761){i=i|w[d+5|0]<<8|w[d+6|0]<<16|w[d+7|0]<<24}else{i=w[d+7|0]|(w[d+5|0]<<16|i<<24|w[d+6|0]<<8)}Qa[j|0](b,i,0)|0;if(c){while(1){v[d+12>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,4)|0;b=w[d+12|0];if(x[a+25204>>1]==18761){b=b|w[d+13|0]<<8|w[d+14|0]<<16|w[d+15|0]<<24}else{b=w[d+15|0]|(w[d+13|0]<<16|b<<24|w[d+14|0]<<8)}v[d+12>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,4)|0;i=d+4|0;Qa[v[v[a>>2]>>2]](v[a+4>>2],i,8,1)|0;if(!Jb(i,80814,5)){v[a+26064>>2]=b;v[a+26068>>2]=b>>31}if(!Jb(d+4|0,80843,6)){v[a+26056>>2]=b;v[a+26060>>2]=b>>31}c=c-1|0;if(!Jb(d+4|0,80872,5)){v[a+26048>>2]=b;v[a+26052>>2]=b>>31}if(c){continue}break}}Qa[v[v[a>>2]+8>>2]](v[a+4>>2],v[a+26064>>2]+20|0,0)|0;b=a+25733|0;Qa[v[v[a>>2]>>2]](v[a+4>>2],b,64,1)|0;t[a+25796|0]=0;b=ye(b,32);if(b){od(a+25797|0,b+1|0);t[b|0]=0}u[d+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;c=w[d+12|0];b=a;if(x[a+25204>>1]==18761){c=c|w[d+13|0]<<8}else{c=w[d+13|0]|c<<8}u[b+26306>>1]=c;u[d+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;b=w[d+12|0];if(x[a+25204>>1]==18761){b=b|w[d+13|0]<<8}else{b=w[d+13|0]|b<<8}v[a+190476>>2]=948;u[a+26304>>1]=b;v[d+12>>2]=-1;b=d+12|0;Qa[v[v[a>>2]>>2]](v[a+4>>2],b,1,4)|0;u[d+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],b,1,2)|0;c=w[d+12|0];b=a;if(x[a+25204>>1]==18761){c=c|w[d+13|0]<<8}else{c=w[d+13|0]|c<<8}u[b+26324>>1]=c;u[d+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;b=w[d+12|0];if(x[a+25204>>1]==18761){b=b|w[d+13|0]<<8}else{b=w[d+13|0]|b<<8}v[a+190468>>2]=960;u[a+26326>>1]=b;v[a+26124>>2]=16383;Ma=d+16|0;break a}TK(a,0);break a}e=Ma-2192|0;Ma=e;u[a+25204>>1]=18761;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],36,0)|0;v[e+128>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],e+128|0,1,4)|0;c=w[e+128|0];b=a;if(x[a+25204>>1]==18761){c=c|w[e+129|0]<<8|w[e+130|0]<<16|w[e+131|0]<<24}else{c=w[e+131|0]|(w[e+129|0]<<16|c<<24|w[e+130|0]<<8)}v[b+26328>>2]=c;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],-4,2)|0;c=v[a>>2];d=v[c+8>>2];b=v[a+4>>2];v[e+128>>2]=-1;Qa[v[c>>2]](b,e+128|0,1,4)|0;c=w[e+128|0];if(x[a+25204>>1]==18761){c=c|w[e+129|0]<<8|w[e+130|0]<<16|w[e+131|0]<<24}else{c=w[e+131|0]|(w[e+129|0]<<16|c<<24|w[e+130|0]<<8)}Qa[d|0](b,c,0)|0;v[e+128>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],e+128|0,1,4)|0;b=w[e+128|0];if(x[a+25204>>1]==18761){b=b|w[e+129|0]<<8|w[e+130|0]<<16|w[e+131|0]<<24}else{b=w[e+131|0]|(w[e+129|0]<<16|b<<24|w[e+130|0]<<8)}l:{if((b|0)!=1682130259){break l}v[e+128>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],e+128|0,1,4)|0;v[e+128>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],e+128|0,1,4)|0;b=w[e+128|0];if(x[a+25204>>1]==18761){d=b|w[e+129|0]<<8|w[e+130|0]<<16|w[e+131|0]<<24}else{d=w[e+131|0]|(w[e+129|0]<<16|b<<24|w[e+130|0]<<8)}if(d){F=a+25861|0;K=a+25797|0;M=a+25733|0;while(1){v[e+2188>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],e+2188|0,1,4)|0;b=w[e+2188|0];if(x[a+25204>>1]==18761){c=b|w[e+2189|0]<<8|w[e+2190|0]<<16|w[e+2191|0]<<24}else{c=w[e+2191|0]|(w[e+2189|0]<<16|b<<24|w[e+2190|0]<<8)}v[e+2188>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],e+2188|0,1,4)|0;b=w[e+2188|0];if(x[a+25204>>1]==18761){i=b|w[e+2189|0]<<8|w[e+2190|0]<<16|w[e+2191|0]<<24}else{i=w[e+2191|0]|(w[e+2189|0]<<16|b<<24|w[e+2190|0]<<8)}v[e+2188>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],e+2188|0,1,4)|0;b=w[e+2188|0];if(x[a+25204>>1]==18761){b=b|w[e+2189|0]<<8|w[e+2190|0]<<16|w[e+2191|0]<<24}else{b=w[e+2191|0]|(w[e+2189|0]<<16|b<<24|w[e+2190|0]<<8)}N=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],c,0)|0;v[e+2188>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],e+2188|0,1,4)|0;j=w[e+2188|0];if(x[a+25204>>1]==18761){j=j|w[e+2189|0]<<8|w[e+2190|0]<<16|w[e+2191|0]<<24}else{j=w[e+2191|0]|(w[e+2189|0]<<16|j<<24|w[e+2190|0]<<8)}if((j|0)!=(b<<24|541279571)){break l}d=d-1|0;m:{n:{o:{if((b|0)<=1195461960){if((b|0)==843140425){break o}if((b|0)!=1179468099){break m}b=c+24|0;v[a+26064>>2]=b;v[a+26068>>2]=b>>31;b=i-28|0;v[a+26084>>2]=b>>>0<131072?b:131072;break m}if((b|0)==1347375696){break n}if((b|0)!=1195461961){break m}}Qa[v[v[a>>2]+8>>2]](v[a+4>>2],12,1)|0;v[e+2188>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],e+2188|0,1,4)|0;b=w[e+2188|0];if(x[a+25204>>1]==18761){b=b|w[e+2189|0]<<8|w[e+2190|0]<<16|w[e+2191|0]<<24}else{b=w[e+2191|0]|(w[e+2189|0]<<16|b<<24|w[e+2190|0]<<8)}v[e+2188>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],e+2188|0,1,4)|0;j=w[e+2188|0];p=(b|0)<=x[a+26306>>1];if(x[a+25204>>1]==18761){j=j|w[e+2189|0]<<8|w[e+2190|0]<<16|w[e+2191|0]<<24}else{j=w[e+2191|0]|(w[e+2189|0]<<16|j<<24|w[e+2190|0]<<8)}if(!(p|(j|0)<=x[a+26304>>1])){u[a+26304>>1]=j;u[a+26306>>1]=b;b=c+24|0;v[a+26048>>2]=b;v[a+26052>>2]=b>>31}b=c+28|0;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],b,0)|0;if((Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0)!=255){break m}if((Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0)!=216){break m}c=i-28|0;if((c|0)<=v[a+26080>>2]){break m}v[a+190468>>2]=966;v[a+26080>>2]=c;v[a+26056>>2]=b;v[a+26060>>2]=b>>31;break m}v[e+2188>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],e+2188|0,1,4)|0;v[e+2188>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],e+2188|0,1,4)|0;b=w[e+2188|0];if(x[a+25204>>1]==18761){b=b|w[e+2189|0]<<8|w[e+2190|0]<<16|w[e+2191|0]<<24}else{b=w[e+2191|0]|(w[e+2189|0]<<16|b<<24|w[e+2190|0]<<8)}Qa[v[v[a>>2]+8>>2]](v[a+4>>2],12,1)|0;j=b>>>0<256?b:256;if(!j){break m}c=(c+(b<<3)|0)+24|0;p=j<<1;b=0;while(1){v[e+2188>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],e+2188|0,1,4)|0;m=w[e+2188|0];O=(e+128|0)+(b<<2)|0;if(x[a+25204>>1]==18761){i=m|w[e+2189|0]<<8|w[e+2190|0]<<16|w[e+2191|0]<<24}else{i=w[e+2191|0]|(w[e+2189|0]<<16|m<<24|w[e+2190|0]<<8)}v[O>>2]=(i<<1)+c;b=b+1|0;if((p|0)!=(b|0)){continue}break}p=0;while(1){i=(e+128|0)+(p<<3)|0;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],v[i>>2],0)|0;b=0;while(1){p:{u[e+2188>>1]=65535;c=e+2188|0;Qa[v[v[a>>2]>>2]](v[a+4>>2],c,1,2)|0;c=w[c|x[a+25204>>1]!=18761];t[(e- -64|0)+b|0]=c;if(!c){c=b;break p}c=63;b=b+1|0;if((b|0)!=63){continue}}break}b=0;t[(e- -64|0)+c|0]=0;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],v[i+4>>2],0)|0;while(1){q:{u[e+2188>>1]=65535;c=e+2188|0;Qa[v[v[a>>2]>>2]](v[a+4>>2],c,1,2)|0;c=w[c|x[a+25204>>1]!=18761];t[b+e|0]=c;if(!c){c=b;break q}c=63;b=b+1|0;if((b|0)!=63){continue}}break}t[c+e|0]=0;if(v[e+64>>2]==5198665){ka=a,ma=C(td(e)|0),z[ka+26e3>>2]=ma}if(!Jb(e- -64|0,81148,9)){od(M,e)}if(!Jb(e- -64|0,81168,9)){od(K,e)}i=v[e+68>>2];b=i;c=v[e+64>>2];if((c|0)==1147093591&(b|0)==4412229){od(F,e)}if(!Jb(e- -64|0,81193,5)){ka=a,la=td(e),v[ka+26016>>2]=la}if((c|0)==1414551621&(b|0)==4541769){ka=a,ma=C(C(td(e)|0)/C(1e6)),z[ka+26004>>2]=ma}if(!Jb(e- -64|0,81210,9)){ka=a,ma=C(Ue(e)),z[ka+26008>>2]=ma}if((c|0)==1313164358&(b|0)==4740167){ka=a,ma=C(Ue(e)),z[ka+26012>>2]=ma}p=p+1|0;if((j|0)!=(p|0)){continue}break}}Qa[v[v[a>>2]+8>>2]](v[a+4>>2],N,0)|0;if(d){continue}break}}v[a+26156>>2]=1}Ma=e+2192|0;break a}if(x[g+128>>1]!=18755){b=0;while(1){c=B(b,36);r:{if(v[c+209392>>2]!=(D|0)){break r}od(h,c+209396|0);od(f,c+209408|0);if(b-38>>>0>26){break r}c=Ma+-64|0;Ma=c;i=v[a+25208>>2];j=Ym(i,46);d=Ym(i,47);if(!d){d=Ym(i,92);d=d?d:i-1|0}s:{if(!j){break s}if((zb(j)|0)!=4){break s}F=d+1|0;if((j-F|0)!=8){break s}e=gb(zb(i)+1|0);if(!e){b=v[a+190640>>2];t:{if(b){v[c+20>>2]=75755;v[c+16>>2]=i;Dc(b,4338,c+16|0);break t}v[c+4>>2]=75755;v[c>>2]=i;vb(v[249419],4338,c)}tc(a+190484|0,1);L()}e=od(e,i);m=e+(j-i|0)|0;u:{if(!Ii(j,76059)){p=m-1|0;d=t[p|0];if(d-48>>>0>=10){break u}while(1){if((d&255)!=57){t[p|0]=d+1;break u}t[p|0]=48;p=p-1|0;d=t[p|0];if(d-48>>>0<10){continue}break}break u}j=t[j+1|0]-65>>>0<26?76128:76059;p=w[j|0]|w[j+1|0]<<8|(w[j+2|0]<<16|w[j+3|0]<<24);t[m|0]=p;t[m+1|0]=p>>>8;t[m+2|0]=p>>>16;t[m+3|0]=p>>>24;t[m+4|0]=w[j+4|0];if(t[F|0]-48>>>0>9){break u}j=e+(F-i|0)|0;m=w[d+5|0]|w[d+6|0]<<8|(w[d+7|0]<<16|w[d+8|0]<<24);t[j|0]=m;t[j+1|0]=m>>>8;t[j+2|0]=m>>>16;t[j+3|0]=m>>>24;d=w[d+1|0]|w[d+2|0]<<8|(w[d+3|0]<<16|w[d+4|0]<<24);t[j+4|0]=d;t[j+5|0]=d>>>8;t[j+6|0]=d>>>16;t[j+7|0]=d>>>24}if(hb(e,i)){d=v[a>>2];v[a>>2]=1025744;i=v[a+4>>2];j=ji(e,52861);v[a+4>>2]=j;if(j){if(v[a+188>>2]){v[c+48>>2]=e;vb(v[249419],76201,c+48|0)}Wq(a,12);v[a+26148>>2]=1;v[a+26056>>2]=0;v[a+26060>>2]=0;Qa[v[v[a>>2]+12>>2]](v[a+4>>2])|0}v[a+4>>2]=i;v[a>>2]=d}if(!v[a+26016>>2]){v[c+32>>2]=e;vb(v[249419],76267,c+32|0)}$a(e)}Ma=c- -64|0}b=b+1|0;if((b|0)!=68){continue}break}break a}c=Ma-16|0;Ma=c;u[a+25204>>1]=18761;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],4,0)|0;u[c+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,2)|0;d=w[c+12|0];b=a;if(x[a+25204>>1]==18761){i=d|w[c+13|0]<<8}else{i=w[c+13|0]|d<<8}v[b+26148>>2]=(i&65535)==2;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],14,1)|0;v[c+12>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,4)|0;d=w[c+12|0];b=a;if(x[a+25204>>1]==18761){i=d|w[c+13|0]<<8|w[c+14|0]<<16|w[c+15|0]<<24}else{i=w[c+15|0]|(w[c+13|0]<<16|d<<24|w[c+14|0]<<8)}v[b+26148>>2]=B(i,v[a+26148>>2]);v[c+12>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,4)|0;b=w[c+12|0];if(x[a+25204>>1]==18761){d=b|w[c+13|0]<<8|w[c+14|0]<<16|w[c+15|0]<<24}else{d=w[c+15|0]|(w[c+13|0]<<16|b<<24|w[c+14|0]<<8)}v[c+12>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,4)|0;b=w[c+12|0];if(x[a+25204>>1]==18761){j=b|w[c+13|0]<<8|w[c+14|0]<<16|w[c+15|0]<<24}else{j=w[c+15|0]|(w[c+13|0]<<16|b<<24|w[c+14|0]<<8)}v[c+12>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,4)|0;b=w[c+12|0];if(x[a+25204>>1]==18761){e=b|w[c+13|0]<<8|w[c+14|0]<<16|w[c+15|0]<<24}else{e=w[c+15|0]|(w[c+13|0]<<16|b<<24|w[c+14|0]<<8)}v[c+12>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,4)|0;i=w[c+12|0];b=a;if(x[a+25204>>1]==18761){i=i|w[c+13|0]<<8|w[c+14|0]<<16|w[c+15|0]<<24}else{i=w[c+15|0]|(w[c+13|0]<<16|i<<24|w[c+14|0]<<8)}v[b+26016>>2]=i;v[c+12>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,4)|0;b=w[c+12|0];if(x[a+25204>>1]==18761){b=b|w[c+13|0]<<8|w[c+14|0]<<16|w[c+15|0]<<24}else{b=w[c+15|0]|(w[c+13|0]<<16|b<<24|w[c+14|0]<<8)}if(b){v[a+26016>>2]=b}Qa[v[v[a>>2]+8>>2]](v[a+4>>2],d+4|0,0)|0;v[c+12>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,4)|0;d=w[c+12|0];b=a;if(x[a+25204>>1]==18761){i=d|w[c+13|0]<<8}else{i=w[c+15|0]|(d<<24|w[c+14|0]<<8)}u[b+26306>>1]=i;v[c+12>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,4)|0;d=w[c+12|0];b=a;if(x[a+25204>>1]==18761){i=d|w[c+13|0]<<8}else{i=w[c+15|0]|(d<<24|w[c+14|0]<<8)}u[b+26304>>1]=i;u[c+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,2)|0;u[c+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,2)|0;b=w[c+12|0];i=952;v:{w:{x:{if(x[a+25204>>1]==18761){b=b|w[c+13|0]<<8}else{b=w[c+13|0]|b<<8}switch((b&65535)-8|0){case 0:break w;case 8:break x;default:break v}}i=948}v[a+190476>>2]=i}Qa[v[v[a>>2]+8>>2]](v[a+4>>2],j+792|0,0)|0;t[a+25737|0]=w[81131];b=w[81127]|w[81128]<<8|(w[81129]<<16|w[81130]<<24);t[a+25733|0]=b;t[a+25734|0]=b>>>8;t[a+25735|0]=b>>>16;t[a+25736|0]=b>>>24;v[c+12>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,4)|0;i=a+25797|0;d=w[c+12|0];b=c;if(x[a+25204>>1]==18761){j=d|w[c+13|0]<<8|w[c+14|0]<<16|w[c+15|0]<<24}else{j=w[c+15|0]|(w[c+13|0]<<16|d<<24|w[c+14|0]<<8)}v[b>>2]=j;Dc(i,67450,c);Qa[v[v[a>>2]+8>>2]](v[a+4>>2],12,1)|0;v[c+12>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,4)|0;b=w[c+12|0];y:{z:{A:{B:{if(x[a+25204>>1]==18761){b=b|w[c+13|0]<<8|w[c+14|0]<<16}else{b=w[c+15|0]|(w[c+13|0]<<16|b<<24|w[c+14|0]<<8)}switch((b&16777215)-3|0){case 1:break A;case 0:break B;default:break z}}v[a+26028>>2]=-1802201964;break y}v[a+26028>>2]=1229539657;break y}v[a+26148>>2]=0}Qa[v[v[a>>2]+8>>2]](v[a+4>>2],72,1)|0;v[c+12>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,4)|0;d=w[c+12|0];b=a;C:{D:{E:{if(x[a+25204>>1]==18761){i=d|w[c+13|0]<<8|w[c+14|0]<<16|w[c+15|0]<<24}else{i=w[c+15|0]|(w[c+13|0]<<16|d<<24|w[c+14|0]<<8)}d=(i+3600>>>0)%360|0;if(d>>>0<=179){if(!d){break E}if((d|0)!=90){break C}i=7;break D}i=4;if((d|0)==270){break D}if((d|0)!=180){break C}i=1;break D}i=2}v[b+26328>>2]=i}v[c+12>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,4)|0;d=w[c+12|0];b=a;if(x[a+25204>>1]==18761){i=d|w[c+13|0]<<8|w[c+14|0]<<16|w[c+15|0]<<24}else{i=w[c+15|0]|(w[c+13|0]<<16|d<<24|w[c+14|0]<<8)}v[b+59268>>2]=i;v[c+12>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,4)|0;b=w[c+12|0];i=a+59276|0;if(x[a+25204>>1]==18761){b=b|w[c+13|0]<<8|w[c+14|0]<<16|w[c+15|0]<<24}else{b=w[c+15|0]|(w[c+13|0]<<16|b<<24|w[c+14|0]<<8)}v[i>>2]=b;v[c+12>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,4)|0;d=w[c+12|0];b=a;if(x[a+25204>>1]==18761){i=d|w[c+13|0]<<8|w[c+14|0]<<16|w[c+15|0]<<24}else{i=w[c+15|0]|(w[c+13|0]<<16|d<<24|w[c+14|0]<<8)}v[b+26124>>2]=-1<>2]+8>>2]](v[a+4>>2],668,1)|0;v[c+12>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,4)|0;d=w[c+12|0];b=a;if(x[a+25204>>1]==18761){i=d|w[c+13|0]<<8|w[c+14|0]<<16|w[c+15|0]<<24}else{i=w[c+15|0]|(w[c+13|0]<<16|d<<24|w[c+14|0]<<8)}z[b+26004>>2]=C(i>>>0)/C(1e9);Qa[v[v[a>>2]+8>>2]](v[a+4>>2],e,0)|0;b=v[a+160>>2];if(b>>>0>2]){Qa[v[v[a>>2]+8>>2]](v[a+4>>2],b<<3,1)|0}v[c+12>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,4)|0;d=w[c+12|0];b=a;if(x[a+25204>>1]==18761){i=d|w[c+13|0]<<8|w[c+14|0]<<16|w[c+15|0]<<24}else{i=w[c+15|0]|(w[c+13|0]<<16|d<<24|w[c+14|0]<<8)}d=b;b=0;i=i+8|0;b=i>>>0<8?1:b;v[d+26048>>2]=i;v[d+26052>>2]=b;v[c+12>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,4)|0;d=w[c+12|0];e=v[a+26052>>2];if(x[a+25204>>1]==18761){b=d|w[c+13|0]<<8|w[c+14|0]<<16|w[c+15|0]<<24}else{b=w[c+15|0]|(w[c+13|0]<<16|d<<24|w[c+14|0]<<8)}j=0;d=j+v[a+26048>>2]|0;b=b+e|0;v[a+26048>>2]=d;v[a+26052>>2]=d>>>0>>0?b+1|0:b;Ma=c+16|0;break a}b=w[211906]|w[211907]<<8|(w[211908]<<16|w[211909]<<24);t[h+3|0]=b;t[h+4|0]=b>>>8;t[h+5|0]=b>>>16;t[h+6|0]=b>>>24;b=w[211903]|w[211904]<<8|(w[211905]<<16|w[211906]<<24);t[h|0]=b;t[h+1|0]=b>>>8;t[h+2|0]=b>>>16;t[h+3|0]=b>>>24;b=w[211918]|w[211919]<<8;t[f+8|0]=b;t[f+9|0]=b>>>8;b=w[211914]|w[211915]<<8|(w[211916]<<16|w[211917]<<24);c=w[211910]|w[211911]<<8|(w[211912]<<16|w[211913]<<24);t[f|0]=c;t[f+1|0]=c>>>8;t[f+2|0]=c>>>16;t[f+3|0]=c>>>24;t[f+4|0]=b;t[f+5|0]=b>>>8;t[f+6|0]=b>>>16;t[f+7|0]=b>>>24;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],33,0)|0;b=Ma-112|0;Ma=b;t[b+51|0]=0;ka=b,la=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[ka+50|0]=la;ka=b,la=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[ka+49|0]=la;ka=b,la=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[ka+48|0]=la;ka=b,la=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[ka+47|0]=la;ka=b,la=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[ka+46|0]=la;ka=b,la=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[ka+45|0]=la;ka=b,la=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[ka+44|0]=la;ka=b,la=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[ka+43|0]=la;ka=b,la=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[ka+42|0]=la;ka=b,la=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[ka+41|0]=la;ka=b,la=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[ka+40|0]=la;ka=b,la=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[ka+39|0]=la;ka=b,la=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[ka+38|0]=la;ka=b,la=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[ka+37|0]=la;ka=b,la=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[ka+36|0]=la;ka=b,la=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[ka+35|0]=la;ka=b,la=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[ka+34|0]=la;ka=b,la=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[ka+33|0]=la;ka=b,la=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[ka+32|0]=la;v[b+104>>2]=0;v[b+96>>2]=0;v[b+100>>2]=0;v[b+88>>2]=0;v[b+92>>2]=0;c=b+80|0;v[c>>2]=0;v[c+4>>2]=0;d=b+72|0;v[d>>2]=0;v[d+4>>2]=0;i=b- -64|0;v[b+16>>2]=i|4;v[b+64>>2]=0;v[b+68>>2]=0;v[b>>2]=b+84;v[b+4>>2]=c;v[b+8>>2]=b+76;v[b+12>>2]=d;v[b+20>>2]=i;F:{if((df(b+32|0,64727,b)|0)!=6){break F}v[b+84>>2]=v[b+84>>2]-1900;v[b+80>>2]=v[b+80>>2]-1;if((Z(b- -64|0)|0)<1){break F}ka=a,la=Z(b- -64|0)|0,v[ka+26016>>2]=la}Ma=b+112|0;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],60,0)|0;v[g+48>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],g+48|0,1,4)|0;c=w[g+48|0];b=a;if(x[a+25204>>1]==18761){c=c|w[g+49|0]<<8|w[g+50|0]<<16|w[g+51|0]<<24}else{c=w[g+51|0]|(w[g+49|0]<<16|c<<24|w[g+50|0]<<8)}z[b+59268>>2]=c>>>0;v[g+48>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],g+48|0,1,4)|0;c=w[g+48|0];b=a;if(x[a+25204>>1]!=18761){c=w[g+51|0]|(w[g+49|0]<<16|c<<24|w[g+50|0]<<8)}else{c=c|w[g+49|0]<<8|w[g+50|0]<<16|w[g+51|0]<<24}z[b+59272>>2]=c>>>0;v[g+48>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],g+48|0,1,4)|0;c=w[g+48|0];b=a;if(x[a+25204>>1]!=18761){c=w[g+51|0]|(w[g+49|0]<<16|c<<24|w[g+50|0]<<8)}else{c=c|w[g+49|0]<<8|w[g+50|0]<<16|w[g+51|0]<<24}z[b+59280>>2]=c>>>0;v[g+48>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],g+48|0,1,4)|0;c=w[g+48|0];b=a;if(x[a+25204>>1]!=18761){c=w[g+51|0]|(w[g+49|0]<<16|c<<24|w[g+50|0]<<8)}else{c=c|w[g+49|0]<<8|w[g+50|0]<<16|w[g+51|0]<<24}z[b+59276>>2]=c>>>0;break a}if((x[g+134>>1]|x[g+136>>1]<<16)==1346454856&(x[g+138>>1]|x[g+140>>1]<<16)==1380205379){v[a+26048>>2]=U;v[a+26052>>2]=0;RK(a,U,D-U|0);break a}Wq(a,0);break a}e=Ma-48|0;Ma=e;v[a+25176>>2]=0;v[a+25180>>2]=0;v[a+25200>>2]=0;c=a+25192|0;v[c>>2]=0;v[c+4>>2]=0;c=a+25184|0;v[c>>2]=0;v[c+4>>2]=0;N=b-(g+128|0)|0;K=N;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],K,0)|0;v[e>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],e,1,4)|0;c=w[e|0];b=a;if(x[a+25204>>1]==18761){c=c|w[e+1|0]<<8}else{c=w[e+3|0]|(c<<24|w[e+2|0]<<8)}u[b+25204>>1]=c;v[e>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],e,1,4)|0;b=w[e|0];G:{if(x[a+25204>>1]==18761){p=w[e+2|0]<<16;d=24;i=3;b=b|w[e+1|0]<<8;break G}p=b<<24;d=8;i=2;b=w[e+1|0]<<16}H:{if((b&16776960|p|w[e|i]<>2];d=v[c+8>>2];b=v[a+4>>2];v[e>>2]=-1;Qa[v[c>>2]](b,e,1,4)|0;c=w[e|0];if(x[a+25204>>1]==18761){c=c|w[e+1|0]<<8|w[e+2|0]<<16|w[e+3|0]<<24}else{c=w[e+3|0]|(w[e+1|0]<<16|c<<24|w[e+2|0]<<8)}Qa[d|0](b,c+K|0,0)|0;v[e>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],e,1,4)|0;b=w[e|0];if(x[a+25204>>1]==18761){d=b|w[e+1|0]<<8|w[e+2|0]<<16|w[e+3|0]<<24}else{d=w[e+3|0]|(w[e+1|0]<<16|b<<24|w[e+2|0]<<8)}v[e>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],e,1,4)|0;m=a+25797|0;if(d){O=a+25176|0;while(1){v[e+44>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],e+44|0,1,4)|0;b=w[e+44|0];if(x[a+25204>>1]==18761){c=b|w[e+45|0]<<8|w[e+46|0]<<16|w[e+47|0]<<24}else{c=w[e+47|0]|(w[e+45|0]<<16|b<<24|w[e+46|0]<<8)}v[e+44>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],e+44|0,1,4)|0;v[e+44>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],e+44|0,1,4)|0;b=w[e+44|0];if(x[a+25204>>1]==18761){i=b|w[e+45|0]<<8|w[e+46|0]<<16|w[e+47|0]<<24}else{i=w[e+47|0]|(w[e+45|0]<<16|b<<24|w[e+46|0]<<8)}v[e+44>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],e+44|0,1,4)|0;b=w[e+44|0];if(x[a+25204>>1]==18761){b=b|w[e+45|0]<<8|w[e+46|0]<<16|w[e+47|0]<<24}else{b=w[e+47|0]|(w[e+45|0]<<16|b<<24|w[e+46|0]<<8)}d=d-1|0;M=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;p=0;F=b+K|0;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],F,0)|0;j=a;I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{switch(c-256|0){default:switch(c-528|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 11:case 14:case 15:case 16:case 17:break I;case 19:break M;case 18:break N;case 13:break O;case 12:break P;case 10:break Q;case 0:break R;default:break L};case 0:v[a+26328>>2]=t[(b&3)+80895|0]-48;break I;case 6:while(1){v[e+44>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],e+44|0,1,4)|0;b=w[e+44|0];c=e+(p<<2)|0;if(x[a+25204>>1]==18761){b=b|w[e+45|0]<<8|w[e+46|0]<<16|w[e+47|0]<<24}else{b=w[e+47|0]|(w[e+45|0]<<16|b<<24|w[e+46|0]<<8)}v[c>>2]=b;p=p+1|0;if((p|0)!=9){continue}break};SK(a,e);break I;case 7:v[e+44>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],e+44|0,1,4)|0;b=w[e+44|0];if(x[a+25204>>1]==18761){break K}b=w[e+47|0]|(w[e+45|0]<<16|b<<24|w[e+46|0]<<8);break J;case 8:u[a+26306>>1]=b;break I;case 9:u[a+26304>>1]=b;break I;case 10:u[a+26314>>1]=b;break I;case 11:u[a+26312>>1]=b;break I;case 12:u[a+26310>>1]=b;break I;case 13:u[a+26308>>1]=b;break I;case 14:v[O>>2]=b;break I;case 15:v[a+26048>>2]=F;v[a+26052>>2]=0;break I;case 16:v[a+26084>>2]=i;v[a+26064>>2]=F;v[a+26068>>2]=0;break I;case 1:case 2:case 3:case 4:case 5:case 17:break I;case 18:break S}}v[a+25180>>2]=M-4;break I}v[a+25200>>2]=b;break I}v[a+25196>>2]=b;break I}v[a+26040>>2]=F;v[a+26044>>2]=0;break I}v[a+25184>>2]=b;break I}v[a+25192>>2]=b-x[a+26314>>1];break I}v[a+25188>>2]=F;break I}if((c|0)!=769){break I}t[a+25860|0]=0;Qa[v[v[a>>2]>>2]](v[a+4>>2],m,1,63)|0;b=Cc(m,80914);if(!b){break I}t[b|0]=0;break I}b=b|w[e+45|0]<<8|w[e+46|0]<<16|w[e+47|0]<<24}v[j+59268>>2]=b;v[e+44>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],e+44|0,1,4)|0;c=w[e+44|0];b=a;if(x[a+25204>>1]!=18761){c=w[e+47|0]|(w[e+45|0]<<16|c<<24|w[e+46|0]<<8)}else{c=c|w[e+45|0]<<8|w[e+46|0]<<16|w[e+47|0]<<24}v[b+59272>>2]=c;v[e+44>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],e+44|0,1,4)|0;b=w[e+44|0];if(x[a+25204>>1]!=18761){v[a+59276>>2]=w[e+47|0]|(w[e+45|0]<<16|b<<24|w[e+46|0]<<8);break I}v[a+59276>>2]=b|w[e+45|0]<<8|w[e+46|0]<<16|w[e+47|0]<<24}Qa[v[v[a>>2]+8>>2]](v[a+4>>2],M,0)|0;if(d){continue}break}}v[a+26124>>2]=65535;v[a+190476>>2]=v[a+25176>>2]<3?962:963;b=w[80942]|w[80943]<<8|(w[80944]<<16|w[80945]<<24);c=w[80938]|w[80939]<<8|(w[80940]<<16|w[80941]<<24);t[a+25733|0]=c;t[a+25734|0]=c>>>8;t[a+25735|0]=c>>>16;t[a+25736|0]=c>>>24;t[a+25737|0]=b;t[a+25738|0]=b>>>8;t[a+25739|0]=b>>>16;t[a+25740|0]=b>>>24;b=a+25741|0;c=w[80946]|w[80947]<<8;t[b|0]=c;t[b+1|0]=c>>>8;if(w[a+25797|0]){break H}T:{U:{b=x[a+26304>>1];if(b>>>0<=4127){if((b|0)==2060){break U}if((b|0)!=2682){break H}t[m+4|0]=w[80998];b=w[80994]|w[80995]<<8|(w[80996]<<16|w[80997]<<24);t[m|0]=b;t[m+1|0]=b>>>8;t[m+2|0]=b>>>16;t[m+3|0]=b>>>24;break H}if((b|0)==4128){break T}if((b|0)!=5488){break H}t[m+4|0]=w[81037];b=w[81033]|w[81034]<<8|(w[81035]<<16|w[81036]<<24);t[m|0]=b;t[m+1|0]=b>>>8;t[m+2|0]=b>>>16;t[m+3|0]=b>>>24;break H}b=w[80973]|w[80974]<<8|(w[80975]<<16|w[80976]<<24);t[m+7|0]=b;t[m+8|0]=b>>>8;t[m+9|0]=b>>>16;t[m+10|0]=b>>>24;b=w[80970]|w[80971]<<8|(w[80972]<<16|w[80973]<<24);c=w[80966]|w[80967]<<8|(w[80968]<<16|w[80969]<<24);t[m|0]=c;t[m+1|0]=c>>>8;t[m+2|0]=c>>>16;t[m+3|0]=c>>>24;t[m+4|0]=b;t[m+5|0]=b>>>8;t[m+6|0]=b>>>16;t[m+7|0]=b>>>24;break H}t[m+4|0]=w[81019];b=w[81015]|w[81016]<<8|(w[81017]<<16|w[81018]<<24);t[m|0]=b;t[m+1|0]=b>>>8;t[m+2|0]=b>>>16;t[m+3|0]=b>>>24}Ma=e+48|0;if(!N){break a}Wq(a,0)}V:{if(w[h|0]){break V}d=Ma-16|0;Ma=d;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],2,0)|0;u[a+25204>>1]=18761;j=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;if((j|0)==6){Qa[v[v[a>>2]+8>>2]](v[a+4>>2],5,1)|0}v[d+12>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,4)|0;b=w[d+12|0];if(x[a+25204>>1]==18761){b=b|w[d+13|0]<<8|w[d+14|0]<<16|w[d+15|0]<<24}else{b=w[d+15|0]|(w[d+13|0]<<16|b<<24|w[d+14|0]<<8)}W:{if((b|0)!=(D|0)){break W}if((j|0)>=7){v[d+12>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,4)|0;c=w[d+12|0];b=a;i=a;if(x[a+25204>>1]==18761){c=c|w[d+13|0]<<8|w[d+14|0]<<16|w[d+15|0]<<24}else{c=w[d+15|0]|(w[d+13|0]<<16|c<<24|w[d+14|0]<<8)}v[i+26048>>2]=c;v[b+26052>>2]=0}u[d+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;c=w[d+12|0];b=a;if(x[a+25204>>1]==18761){c=c|w[d+13|0]<<8}else{c=w[d+13|0]|c<<8}u[b+26304>>1]=c;u[a+26308>>1]=c;u[d+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;b=w[d+12|0];c=a;if(x[a+25204>>1]==18761){b=b|w[d+13|0]<<8}else{b=w[d+13|0]|b<<8}u[c+26306>>1]=b;u[a+26310>>1]=b;t[a+25737|0]=w[81086];c=w[81082]|w[81083]<<8|(w[81084]<<16|w[81085]<<24);t[a+25733|0]=c;t[a+25734|0]=c>>>8;t[a+25735|0]=c>>>16;t[a+25736|0]=c>>>24;c=x[a+26308>>1];v[d+4>>2]=b&65535;v[d+8>>2]=c;v[d>>2]=j;Dc(a+25797|0,81098,d);i=964;if((j|0)!=6){i=965;if((j|0)!=9){break W}}v[a+190476>>2]=i}Ma=d+16|0;if(w[a+25733|0]){break V}v[a+26148>>2]=0;d=Ma-16|0;Ma=d;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],0,0)|0;X:{if((Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0)!=255){break X}if((Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0)!=216){break X}if((Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0)!=255){break X}while(1){j=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;if((j|0)==218){break X}u[a+25204>>1]=19789;u[d+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;b=w[d+12|0];if(x[a+25204>>1]==18761){c=b|w[d+13|0]<<8}else{c=w[d+13|0]|b<<8}i=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;Y:{switch(j-192|0){case 0:case 3:Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;u[d+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;j=w[d+12|0];b=a;if(x[a+25204>>1]==18761){j=j|w[d+13|0]<<8}else{j=w[d+13|0]|j<<8}u[b+26304>>1]=j;u[d+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;j=w[d+12|0];b=a;if(x[a+25204>>1]==18761){j=j|w[d+13|0]<<8}else{j=w[d+13|0]|j<<8}u[b+26306>>1]=j;break;default:break Y}}u[d+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;j=w[d+12|0];b=a;if(x[a+25204>>1]==18761){j=j|w[d+13|0]<<8}else{j=w[d+13|0]|j<<8}u[b+25204>>1]=j;v[d+12>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,4)|0;b=w[d+12|0];if(x[a+25204>>1]==18761){b=b|w[d+13|0]<<8|w[d+14|0]<<16|w[d+15|0]<<24}else{b=w[d+15|0]|(w[d+13|0]<<16|b<<24|w[d+14|0]<<8)}v[d+12>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,4)|0;j=w[d+12|0];c=(c&65535)-2|0;if(x[a+25204>>1]==18761){j=j|w[d+13|0]<<8|w[d+14|0]<<16|w[d+15|0]<<24}else{j=w[d+15|0]|(w[d+13|0]<<16|j<<24|w[d+14|0]<<8)}if((j|0)==1212498256){RK(a,b+i|0,c-b|0)}Wq(a,i+6|0);Qa[v[v[a>>2]+8>>2]](v[a+4>>2],c+i|0,0)|0;if((Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0)==255){continue}break}}Ma=d+16|0}if(Cc(h,63884)){b=w[63888]|w[63889]<<8;t[h+4|0]=b;t[h+5|0]=b>>>8;b=w[63884]|w[63885]<<8|(w[63886]<<16|w[63887]<<24);t[h|0]=b;t[h+1|0]=b>>>8;t[h+2|0]=b>>>16;t[h+3|0]=b>>>24}if(Cc(h,63686)){b=w[63690]|w[63691]<<8;t[h+4|0]=b;t[h+5|0]=b>>>8;b=w[63686]|w[63687]<<8|(w[63688]<<16|w[63689]<<24);t[h|0]=b;t[h+1|0]=b>>>8;t[h+2|0]=b>>>16;t[h+3|0]=b>>>24}if(Cc(h,63133)){b=w[63137]|w[63138]<<8;t[h+4|0]=b;t[h+5|0]=b>>>8;b=w[63133]|w[63134]<<8|(w[63135]<<16|w[63136]<<24);t[h|0]=b;t[h+1|0]=b>>>8;t[h+2|0]=b>>>16;t[h+3|0]=b>>>24}if(Cc(h,23360)){b=w[23364]|w[23365]<<8;t[h+4|0]=b;t[h+5|0]=b>>>8;b=w[23360]|w[23361]<<8|(w[23362]<<16|w[23363]<<24);t[h|0]=b;t[h+1|0]=b>>>8;t[h+2|0]=b>>>16;t[h+3|0]=b>>>24}if(Cc(h,211840)){b=w[211844]|w[211845]<<8;t[h+4|0]=b;t[h+5|0]=b>>>8;b=w[211840]|w[211841]<<8|(w[211842]<<16|w[211843]<<24);t[h|0]=b;t[h+1|0]=b>>>8;t[h+2|0]=b>>>16;t[h+3|0]=b>>>24}if(Cc(h,44919)){t[h|0]=79;t[h+1|0]=76;t[h+2|0]=89;t[h+3|0]=77;t[h+4|0]=80;t[h+5|0]=85;t[h+6|0]=83;t[h+7|0]=0}if(Cc(h,64230)){b=w[64233]|w[64234]<<8|(w[64235]<<16|w[64236]<<24);t[h+3|0]=b;t[h+4|0]=b>>>8;t[h+5|0]=b>>>16;t[h+6|0]=b>>>24;b=w[64230]|w[64231]<<8|(w[64232]<<16|w[64233]<<24);t[h|0]=b;t[h+1|0]=b>>>8;t[h+2|0]=b>>>16;t[h+3|0]=b>>>24}if(Cc(h,211846)){t[h|0]=77;t[h+1|0]=73;t[h+2|0]=78;t[h+3|0]=79;t[h+4|0]=76;t[h+5|0]=84;t[h+6|0]=65;t[h+7|0]=0}if(Cc(h,211854)){t[h|0]=77;t[h+1|0]=105;t[h+2|0]=110;t[h+3|0]=111;t[h+4|0]=108;t[h+5|0]=116;t[h+6|0]=97;t[h+7|0]=0}if(Cc(h,211862)){b=w[211865]|w[211866]<<8|(w[211867]<<16|w[211868]<<24);t[h+3|0]=b;t[h+4|0]=b>>>8;t[h+5|0]=b>>>16;t[h+6|0]=b>>>24;b=w[211862]|w[211863]<<8|(w[211864]<<16|w[211865]<<24);t[h|0]=b;t[h+1|0]=b>>>8;t[h+2|0]=b>>>16;t[h+3|0]=b>>>24}if(Cc(h,211869)){b=w[211873]|w[211874]<<8;t[h+4|0]=b;t[h+5|0]=b>>>8;b=w[211869]|w[211870]<<8|(w[211871]<<16|w[211872]<<24);t[h|0]=b;t[h+1|0]=b>>>8;t[h+2|0]=b>>>16;t[h+3|0]=b>>>24}if(Cc(h,209048)){b=w[209052]|w[209053]<<8;t[h+4|0]=b;t[h+5|0]=b>>>8;b=w[209048]|w[209049]<<8|(w[209050]<<16|w[209051]<<24);t[h|0]=b;t[h+1|0]=b>>>8;t[h+2|0]=b>>>16;t[h+3|0]=b>>>24}if(Cc(h,80938)){b=w[80946]|w[80947]<<8;t[h+8|0]=b;t[h+9|0]=b>>>8;b=w[80942]|w[80943]<<8|(w[80944]<<16|w[80945]<<24);c=w[80938]|w[80939]<<8|(w[80940]<<16|w[80941]<<24);t[h|0]=c;t[h+1|0]=c>>>8;t[h+2|0]=c>>>16;t[h+3|0]=c>>>24;t[h+4|0]=b;t[h+5|0]=b>>>8;t[h+6|0]=b>>>16;t[h+7|0]=b>>>24}if(Cc(h,211875)){t[h|0]=83;t[h+1|0]=65;t[h+2|0]=77;t[h+3|0]=83;t[h+4|0]=85;t[h+5|0]=78;t[h+6|0]=71;t[h+7|0]=0}if(Cc(h,211883)){b=w[211886]|w[211887]<<8|(w[211888]<<16|w[211889]<<24);t[h+3|0]=b;t[h+4|0]=b>>>8;t[h+5|0]=b>>>16;t[h+6|0]=b>>>24;b=w[211883]|w[211884]<<8|(w[211885]<<16|w[211886]<<24);t[h|0]=b;t[h+1|0]=b>>>8;t[h+2|0]=b>>>16;t[h+3|0]=b>>>24}if(!Kb(h,23360,5)){t[a+25749|0]=0;t[a+25813|0]=0}b=(zb(h)+a|0)+25732|0;if(w[b|0]==32){while(1){t[b|0]=0;b=b-1|0;if(w[b|0]==32){continue}break}}b=(zb(f)+a|0)+25796|0;if(w[b|0]==32){while(1){t[b|0]=0;b=b-1|0;if(w[b|0]==32){continue}break}}b=zb(h);Z:{if(xP(f,h,b)){break Z}c=a+b|0;if(w[c+25797|0]!=32){break Z}id(f,c+25798|0,63-b|0)}if(!Kb(f,212006,15)){od(f,a+25812|0)}t[a+25860|0]=0;t[a+25924|0]=0;t[a+25988|0]=0;t[a+25796|0]=0;t[a+25732|0]=0;d=v[a+26148>>2];_:{if(!d){break _}if(!v[a+26124>>2]){v[a+26124>>2]=-1<>2]^-1}b=x[l>>1];if(!b){b=x[G>>1];u[l>>1]=b}c=x[k>>1];if(!c){c=x[s>>1];u[k>>1]=c}i=x[a+26322>>1];if(i){v[a+26344>>2]=0;v[a+26348>>2]=1072693248;c=b+i|0;u[a+26310>>1]=c;b=c-1|0;u[a+26308>>1]=b}i=3136;$:{aa:{ba:{j=b&65535;ca:{if((j|0)!=3136){i=3014;if((j|0)==3014){break ba}i=2624;if((j|0)!=2624){i=b;break $}if((c&65535)!=3936){break $}i=2616;b=3896;break ca}if((c&65535)!=4864){break $}i=3124;b=4688}u[l>>1]=i;break aa}b=4014;if((c&65535)!=4096){break $}}u[k>>1]=b;c=b}da:{ea:{fa:{ga:{ha:{ia:{ja:{ka:{la:{ma:{na:{oa:{pa:{qa:{if(v[a+26152>>2]){ra:{sa:{switch(v[r>>2]+1|0){default:v[a+26148>>2]=v[a+26108>>2];break ra;case 0:v[r>>2]=0;break;case 1:break sa}}v[a+26336>>2]=v[a+26108>>2]}b=968;switch(v[a+26116>>2]-1|0){case 0:break pa;case 6:break qa;default:break ga}}b=hb(h,63884);if(!b){v[q>>2]=(x[g+134>>1]|x[g+136>>1]<<16)==1346454856&(x[g+138>>1]|x[g+140>>1]<<16)==1380205379?969:954}ta:{if(hb(h,63686)){break ta}if(!v[q>>2]){v[q>>2]=946}if(w[f|0]!=69){break ta}v[a+26300>>2]=v[a+26300>>2]|(v[a+26048>>2]|v[a+26052>>2]?2:6)}if(!hb(h,211869)){v[a+26124>>2]=3967;v[a+190476>>2]=946}if(v[a+26156>>2]){break ja}if(!(v[a+26112>>2]!=15|b)){b=k;c=c&65535;ua:{if((c|0)==3872){c=3866}else{if((c|0)!=3344){break ua}c=3272}u[b>>1]=c}v[r>>2]=0;v[q>>2]=970;break ja}if(!hb(f,212022)){u[a+26310>>1]=854;u[a+26306>>1]=896;u[a+26308>>1]=613;v[a+26344>>2]=1313111020;v[a+26348>>2]=1072623120;v[a+26336>>2]=4;v[a+190476>>2]=971;v[a+26028>>2]=-505093660;break ja}va:{if(hb(f,212036)){if(hb(f,212049)){break va}}u[a+26310>>1]=960;u[a+26306>>1]=992;u[a+26308>>1]=773;v[a+26344>>2]=-1992133767;v[a+26348>>2]=1072786950;v[a+26336>>2]=4;v[a+190476>>2]=972;v[a+26028>>2]=508436046;break ja}if(!hb(f,212067)){u[a+26310>>1]=1290;u[a+26306>>1]=1320;u[a+26308>>1]=968;v[a+26336>>2]=4;v[a+190476>>2]=972;v[a+26028>>2]=458115870;break ja}if(!hb(f,212081)){v[a+26336>>2]=4;v[a+26308>>2]=101712896;v[a+190476>>2]=972;v[a+26028>>2]=508251675;break ja}if(!hb(f,212097)){u[l>>1]=1752;u[k>>1]=2344;u[G>>1]=1766;u[s>>1]=2400;u[o>>1]=12;u[n>>1]=12;v[q>>2]=972;break ja}if(!hb(f,212113)){u[l>>1]=1960;u[k>>1]=2616;u[G>>1]=1968;u[s>>1]=2664;u[o>>1]=4;u[n>>1]=4;v[q>>2]=972;break ja}if(!hb(f,212128)){v[a+190476>>2]=972;v[a+26312>>2]=655366;v[a+26304>>2]=175114184;v[a+26308>>2]=171706304;v[a+26132>>2]=0;break ja}if(!hb(f,212143)){b=0;c=1;wa:{while(1){Qa[v[v[a>>2]+8>>2]](v[a+4>>2],B(b,3340)+3284|0,0)|0;if((Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0)>=16){break wa}b=b+1|0;if((b|0)!=100){continue}break}c=0}if(c){b=a+25811|0;c=w[212162]|w[212163]<<8;t[b|0]=c;t[b+1|0]=c>>>8;b=a+25807|0;c=w[212158]|w[212159]<<8|(w[212160]<<16|w[212161]<<24);t[b|0]=c;t[b+1|0]=c>>>8;t[b+2|0]=c>>>16;t[b+3|0]=c>>>24}u[l>>1]=1960;u[k>>1]=2616;u[G>>1]=1968;u[s>>1]=2672;u[o>>1]=8;u[n>>1]=12;v[q>>2]=972;break ja}if(!hb(f,212164)){u[l>>1]=2328;u[k>>1]=3112;u[G>>1]=2340;u[s>>1]=3152;u[o>>1]=12;u[n>>1]=36;v[q>>2]=972;break ja}if(!hb(f,212179)){u[l>>1]=2472;u[k>>1]=3298;u[G>>1]=2480;u[s>>1]=3336;u[o>>1]=5;u[n>>1]=6;v[q>>2]=972;break ja}if(!hb(f,212194)){u[l>>1]=2472;u[k>>1]=3288;u[G>>1]=2484;u[s>>1]=3344;u[o>>1]=6;u[n>>1]=12;v[q>>2]=972;break ja}if(!hb(f,212209)){u[l>>1]=2760;u[k>>1]=3672;u[G>>1]=2772;u[s>>1]=3736;u[o>>1]=6;u[n>>1]=12;v[q>>2]=972;break ja}if(!hb(f,212224)){u[l>>1]=3024;u[k>>1]=4032;u[G>>1]=3048;u[s>>1]=4104;u[o>>1]=12;u[n>>1]=48;v[q>>2]=972;break ja}if(!hb(f,212239)){u[l>>1]=2128;u[k>>1]=2840;u[G>>1]=2136;u[s>>1]=2888;u[o>>1]=8;u[n>>1]=44;v[q>>2]=972;break ja}if(!hb(f,212255)){v[a+26336>>2]=4;u[a+26310>>1]=1896;v[a+26028>>2]=-1263225676;break ja}xa:{ya:{if(!b){za:{Aa:{Ba:{Ca:{Da:{b=x[s>>1];if(b>>>0<=2671){if((b|0)==2144){break Da}if((b|0)==2224){break Ca}if((b|0)!=2376){break ya}u[l>>1]=1720;u[k>>1]=2312;u[o>>1]=6;u[n>>1]=12;break ja}Ea:{switch(b-3152|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:break ya;case 8:break za;case 0:break Aa;default:break Ea}}if((b|0)==2672){break Ba}if((b|0)!=3344){break ya}u[l>>1]=2472;u[k>>1]=3288;u[o>>1]=6;u[n>>1]=4;break ja}u[l>>1]=1550;u[k>>1]=2088;u[o>>1]=8;u[n>>1]=4;if(hb(f,212274)){break ja}v[a+26028>>2]=-1263225676;v[a+26336>>2]=4;break ja}u[l>>1]=1448;u[k>>1]=2176;u[o>>1]=6;u[n>>1]=48;break ja}u[l>>1]=1960;u[k>>1]=2616;u[o>>1]=6;u[n>>1]=12;break ja}v[a+26308>>2]=202377224;v[a+26312>>2]=4194316;if(v[a+26036>>2]!=-2147483280){break ja}_g(a,63884,212287);break ja}u[l>>1]=2328;u[k>>1]=3112;u[o>>1]=12;u[n>>1]=44;break ja}if(hb(f,212296)){break xa}break ka}if(!hb(f,212296)){break ka}Fa:{Ga:{Ha:{Ia:{Ja:{Ka:{La:{Ma:{Na:{Oa:{if(b>>>0<=3983){if(b>>>0<=3595){if((b|0)==1208){break Ia}if((b|0)==1448){break Ha}if((b|0)!=3516){break xa}v[a+26312>>2]=2752526;if(v[a+26036>>2]!=-2147483255){break la}_g(a,63884,212307);break la}switch(b-3944|0){case 1:case 2:case 3:break xa;case 4:break Na;case 0:break Oa;default:break Fa}}if(b>>>0<=4475){if((b|0)==3984){break Ma}if((b|0)==4104){break La}if((b|0)!=4312){break xa}v[a+26312>>2]=1441810;u[a+26308>>1]=i-2;if(v[a+26036>>2]!=-2147483274){break la}_g(a,63884,212335);break la}Pa:{switch(b-4476|0){case 1:case 2:case 3:break xa;case 4:break Ja;case 0:break Ka;default:break Pa}}if((b|0)==5108){break Ga}if((b|0)!=5712){break xa}u[l>>1]=3752;u[k>>1]=5640;u[o>>1]=20;u[n>>1]=62;break ja}u[l>>1]=2602;u[k>>1]=3908;u[o>>1]=18;u[n>>1]=30;break ja}v[a+26312>>2]=2752530;u[a+26308>>1]=i-2;b=v[a+26036>>2];if((b|0)==-2147483082){_g(a,63884,212316);b=v[a+26036>>2]}if((b|0)!=-2147483052){break la}_g(a,63884,212325);break la}u[o>>1]=20;u[n>>1]=76;u[l>>1]=i-2;break la}u[l>>1]=3024;u[k>>1]=4032;u[o>>1]=12;u[n>>1]=48;break ja}u[o>>1]=34;u[n>>1]=90;break la}u[l>>1]=3326;u[k>>1]=4432;u[o>>1]=10;u[n>>1]=12;v[r>>2]=1229539657;break ja}u[o>>1]=51;u[n>>1]=62;b=c<<2;u[k>>1]=b;u[s>>1]=b;break la}u[o>>1]=51;u[n>>1]=158;b=c<<2;u[k>>1]=b;u[s>>1]=b;break la}u[o>>1]=13;u[n>>1]=98;break la}if((b|0)==3596){break ma}}if(!hb(f,212344)){z[a+59268>>2]=z[a+59268>>2]*C(.48576849699020386);z[a+59276>>2]=z[a+59276>>2]*C(.8075709939002991);break ja}if(!hb(f,212347)){v[a+26344>>2]=0;v[a+26348>>2]=1071644672;u[a+26310>>1]=c-4;break ja}Qa:{Ra:{if(!hb(f,212351)){break Ra}if(!hb(f,212356)){break Ra}if(hb(f,212360)){break Qa}}u[l>>1]=i-3;u[k>>1]=c-4;break ja}Sa:{if(hb(f,212364)){if(hb(f,212367)){break Sa}}u[k>>1]=c-4;u[n>>1]=2;break ja}Ta:{Ua:{if(!Kb(f,212372,3)){break Ua}if(!Kb(f,212376,3)){break Ua}if(Kb(f,212380,3)){break Ta}}u[k>>1]=c-1;break ja}if(!hb(f,212384)){u[k>>1]=c-42;break ja}if(!hb(f,212388)){if(v[a+26116>>2]!=34713){break ja}b=Ma-256|0;Ma=b;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],v[a+26048>>2],0)|0;Qa[v[v[a>>2]>>2]](v[a+4>>2],b,1,256)|0;Ma=b+256|0;if(w[b+255|0]|(w[b+239|0]|(w[b+223|0]|(w[b+207|0]|(w[b+191|0]|(w[b+175|0]|(w[b+159|0]|(w[b+143|0]|(w[b+127|0]|(w[b+111|0]|(w[b+95|0]|(w[b+79|0]|(w[b+63|0]|(w[b+47|0]|(w[b+31|0]|w[b+15|0]))))))))))))))){break ja}v[a+190476>>2]=946;v[a+26300>>2]=v[a+26300>>2]|8;b=x[a+26310>>1];u[a+26310>>1]=b+3;u[a+26306>>1]=b+6;break ja}if(!hb(f,212393)){u[n>>1]=1;u[k>>1]=c-4;v[r>>2]=-1802201964;break ja}if(!Kb(f,212398,3)){u[n>>1]=6;u[k>>1]=c-14;break ja}if(!Kb(f,212402,3)){if((c&65535)==3264){u[k>>1]=3232;break ja}u[k>>1]=c-8;break ja}if(!hb(f,212406)){u[k>>1]=c-32;break ja}if(!hb(f,212411)){v[a+26028>>2]=-1802201964;v[a+26300>>2]=1;break ja}Va:{if((D|0)!=4771840){if((D|0)!=2465792){if((D|0)!=1581060){break Va}u[a+26310>>1]=1287;u[a+26306>>1]=1632;u[a+26308>>1]=963;v[a+190476>>2]=973;v[a+26336>>2]=4;v[a+26124>>2]=1012;v[a+26132>>2]=0;v[a+26028>>2]=505290270;b=v[52339];v[J+8>>2]=v[52338];v[J+12>>2]=b;b=v[52337];v[J>>2]=v[52336];v[J+4>>2]=b;b=v[52343];v[I+8>>2]=v[52342];v[I+12>>2]=b;b=v[52341];v[I>>2]=v[52340];v[I+4>>2]=b;b=v[52347];v[H+8>>2]=v[52346];v[H+12>>2]=b;b=v[52345];v[H>>2]=v[52344];v[H+4>>2]=b;v[a+59296>>2]=1066278479;v[a+59284>>2]=1067102241;v[a+59288>>2]=1066144262;break ja}u[a+26310>>1]=1616;u[a+26306>>1]=2048;u[a+26308>>1]=1203;v[a+190476>>2]=973;v[a+26336>>2]=4;v[a+26028>>2]=1263225675;_g(a,63686,212425);break ja}v[a+26336>>2]=4;v[a+26308>>2]=135267844;v[a+190476>>2]=946;v[a+26028>>2]=-505290271;v[a+26300>>2]=6;Wa:{if(v[a+26016>>2]){break Wa}c=0;b=Ma-1024|0;Ma=b;b=eb(b,0,1024);Qa[v[v[a>>2]+8>>2]](v[a+4>>2],-2e3,2)|0;while(1){d=b+(Qa[v[v[a>>2]+28>>2]](v[a+4>>2])<<2)|0;v[d>>2]=v[d>>2]+1;d=b+(Qa[v[v[a>>2]+28>>2]](v[a+4>>2])<<2)|0;v[d>>2]=v[d>>2]+1;c=c+2|0;if((c|0)!=2e3){continue}break}Ma=b+1024|0;if(!(v[b>>2]>199&v[b+340>>2]>199&v[b+680>>2]>199&v[b+1020>>2]>199)){break Wa}t[f+4|0]=w[212434];b=w[212430]|w[212431]<<8|(w[212432]<<16|w[212433]<<24);t[f|0]=b;t[f+1|0]=b>>>8;t[f+2|0]=b>>>16;t[f+3|0]=b>>>24}if(!hb(f,212430)){break ja}v[a+26132>>2]=0;v[a+26028>>2]=-1263225676;c=v[a+26336>>2];if((c|0)>=1){b=c<<2;cb(J,209344,b);cb(I,b+209344|0,b);cb(H,(c<<3)+209344|0,b)}v[a+59292>>2]=1065504211;v[a+59284>>2]=1066997383;v[a+59288>>2]=1067416814;break ja}Xa:{Ya:{if(!hb(f,212435)){if(!v[a+26016>>2]){c=0;b=Ma-16|0;Ma=b;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],0,0)|0;Za:{while(1){_a:{Qa[v[v[a>>2]>>2]](v[a+4>>2],b+4|0,1,12)|0;if((w[b+15|0]&(w[b+12|0]&(w[b+10|0]&(w[b+5|0]&(w[b+13|0]&(w[b+11|0]&(w[b+8|0]&w[b+6|0]))&240)>>>4)))&3)!=3){break _a}i=1;c=c+1|0;if((c|0)!=1024){continue}break Za}break}i=0}Ma=b+16|0;if(!i){break Ya}}v[a+26308>>2]=105907382;v[a+26300>>2]=7;break ja}if(hb(f,212441)){break Xa}}b=w[212445]|w[212446]<<8;t[f+4|0]=b;t[f+5|0]=b>>>8;b=w[212441]|w[212442]<<8|(w[212443]<<16|w[212444]<<24);t[f|0]=b;t[f+1|0]=b>>>8;t[f+2|0]=b>>>16;t[f+3|0]=b>>>24;v[a+26336>>2]=4;v[a+26308>>2]=105907380;v[a+26028>>2]=1263225675;break ja}$a:{if((D|0)!=5869568){if((D|0)!=4775936){break $a}v[a+190476>>2]=946;v[a+26308>>2]=135267846;v[a+59292>>2]=1070537376;v[a+59284>>2]=1072215097;v[a+26300>>2]=7;if(!v[a+26016>>2]){c=0;b=Ma-160|0;Ma=b;b=cb(b,196048,128);Qa[v[v[a>>2]+8>>2]](v[a+4>>2],3072,0)|0;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+128|0,1,24)|0;ab:{bb:{cb:{db:{eb:{fb:{d=(w[b+148|0]&3|w[b+136|0]<<4)&51;switch(d|0){case 1:case 2:break ab;case 0:break bb;case 3:break eb;default:break fb}}switch(d-50|0){case 1:break cb;case 0:break db;default:break ab}}c=1;break bb}c=2;break bb}c=3}c=b+(c<<5)|0;od(a+25733|0,c|4);od(a+25797|0,c+16|0)}Ma=b+160|0}gb:{if(w[f|0]!=69){break gb}if((td(a+25798|0)|0)>3699){break gb}v[r>>2]=1229539657}if(hb(f,212447)){break ja}v[a+59292>>2]=1072231875;v[a+59284>>2]=1068129845;v[a+26028>>2]=370546198;v[a+26328>>2]=1;break ja}v[a+26308>>2]=149948078;v[a+26028>>2]=370546198;hb:{if(v[a+26016>>2]){break hb}i=0;b=Ma-432|0;Ma=b;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],-424,2)|0;Qa[v[v[a>>2]>>2]](v[a+4>>2],b,1,424)|0;c=0;while(1){i=((((w[b+c|0]!=0)+i|0)+(w[b+(c|1)|0]!=0)|0)+(w[b+(c|2)|0]!=0)|0)+(w[b+(c|3)|0]!=0)|0;c=c+4|0;if((c|0)!=424){continue}break}Ma=b+432|0;if(i>>>0<=20){break hb}t[h|0]=77;t[h+1|0]=105;t[h+2|0]=110;t[h+3|0]=111;t[h+4|0]=108;t[h+5|0]=116;t[h+6|0]=97;t[h+7|0]=0;b=w[212466]|w[212467]<<8;t[f+8|0]=b;t[f+9|0]=b>>>8;b=w[212462]|w[212463]<<8|(w[212464]<<16|w[212465]<<24);c=w[212458]|w[212459]<<8|(w[212460]<<16|w[212461]<<24);t[f|0]=c;t[f+1|0]=c>>>8;t[f+2|0]=c>>>16;t[f+3|0]=c>>>24;t[f+4|0]=b;t[f+5|0]=b>>>8;t[f+6|0]=b>>>16;t[f+7|0]=b>>>24}v[a+190476>>2]=946;v[a+26300>>2]=w[a+25733|0]==77?7:6;break ja}if(!hb(f,212468)){v[a+26336>>2]=4;v[a+26308>>2]=149948076;v[a+26028>>2]=-1263225676;break ja}ib:{if((D|0)!=8998912){if((D|0)!=7438336){break ib}v[a+26336>>2]=4;v[a+26308>>2]=168822660;v[a+26028>>2]=-1263225676;break ja}v[a+26308>>2]=185600070;v[a+190476>>2]=946;v[a+26124>>2]=3971;v[a+26300>>2]=7;break ja}jb:{if(hb(f,212474)){if(hb(f,212488)){break jb}}v[q>>2]=948;break ja}if(!hb(h,61992)){b=a+25804|0;kb:{if(!hb(b,212502)){c=w[212511]|w[212512]<<8|(w[212513]<<16|w[212514]<<24);t[b+3|0]=c;t[b+4|0]=c>>>8;t[b+5|0]=c>>>16;t[b+6|0]=c>>>24;c=w[212508]|w[212509]<<8|(w[212510]<<16|w[212511]<<24);t[b|0]=c;t[b+1|0]=c>>>8;t[b+2|0]=c>>>16;t[b+3|0]=c>>>24;v[a+26328>>2]=6;i=2144;c=2880;break kb}v[a+26124>>2]=15872}if(!(!v[a+160>>2]|(d|0)!=2)){v[a+26124>>2]=12032}e=x[G>>1];m=i&65535;u[o>>1]=(e-m|0)/2;j=x[s>>1];u[n>>1]=(j-(c&65535)|0)/2;lb:{if((d|0)!=2){b=v[a+26100>>2];break lb}p=v[a+160>>2];b=v[a+26100>>2];mb:{if(b){d=j<<1;u[s>>1]=d;j=d&65534;break mb}j=B(e,j)<<1}j=p?j:0;p=j;e=j+v[a+26048>>2]|0;j=v[a+26052>>2]+(j>>31)|0;v[a+26048>>2]=e;v[a+26052>>2]=e>>>0

>>0?j+1|0:j}v[a+190476>>2]=974;u[a+26304>>1]=i;c=(c&65535)>>>!b|0;u[a+26322>>1]=c;b=c+(m>>>b|0)|0;u[a+26310>>1]=b;u[a+26308>>1]=b-1;if(c&1){break ja}v[r>>2]=1229539657;break ja}if(!hb(f,212515)){v[a+26308>>2]=100533210;v[a+26048>>2]=513;v[a+26052>>2]=0;v[a+190476>>2]=975;v[a+26028>>2]=1633771873;break ja}nb:{ob:{if(!hb(f,212521)){u[l>>1]=1712;u[k>>1]=2312;u[s>>1]=2336;break ob}pb:{qb:{rb:{if(!hb(f,212529)){break rb}if(Ii(h,211846)){break nb}v[q>>2]=948;if(!Kb(f,212537,8)){if(!hb(f,75703)){v[r>>2]=1229539657}v[q>>2]=946;break ja}sb:{tb:{if(!Kb(f,212546,5)){break tb}if(!Kb(f,212552,5)){break tb}if(Kb(f,212558,6)){break sb}}b=a+25797|0;v[g+32>>2]=((w[b|0]==77)+b|0)+6;b=a+25817|0;Dc(b,212565,g+32|0);_g(a,h,b);v[a+190476>>2]=946;break ja}if(Kb(f,212577,8)){break ja}ub:{switch(w[a+25805|0]-52|0){case 2:break qb;case 1:break rb;case 0:break ub;default:break pb}}u[l>>1]=1716;u[k>>1]=2304;break pb}u[l>>1]=1956;u[k>>1]=2607;u[s>>1]=2624;break pb}u[l>>1]=2136;u[k>>1]=2848}v[a+26028>>2]=1633771873;c=v[a+26052>>2];d=v[a+26048>>2]+14|0;c=d>>>0<14?c+1|0:c;v[a+26048>>2]=d;v[a+26052>>2]=c}v[a+26124>>2]=991;v[a+190476>>2]=948;u[a+25204>>1]=19789;break ja}if(!hb(f,212586)){u[l>>1]=i-2;break ja}if(!hb(f,212594)){v[r>>2]=370546198;break ja}if(!hb(f,212599)){if((D|0)==3178560){v[a+190476>>2]=952;v[a+26308>>2]=135267844;v[a+59292>>2]=1066930274;v[a+59284>>2]=1068633162;z[a+59268>>2]=z[a+59268>>2]*C(4);z[a+59276>>2]=z[a+59276>>2]*C(4);break ja}u[a+26310>>1]=2068;u[a+26306>>1]=3136;u[a+26308>>1]=1544;v[a+190476>>2]=946;v[a+59292>>2]=1069153255;v[a+59284>>2]=1066502455;v[a+26124>>2]=3964;break ja}if((D|0)==6114240){u[a+26310>>1]=2324;u[a+26306>>1]=3520;u[a+26308>>1]=1737;v[a+190476>>2]=946;v[a+59292>>2]=1070134723;v[a+59284>>2]=1073574052;v[a+26124>>2]=3962;break ja}if(!hb(f,212607)){v[a+190476>>2]=946;v[a+26308>>2]=201328894;v[a+26300>>2]=7;break ja}if(!hb(f,212618)){v[a+26308>>2]=213911952;v[a+190476>>2]=948;u[a+25204>>1]=19789;v[a+26124>>2]=65535;u[a+26306>>1]=(D>>>0)/4896;break ja}if(!hb(f,212622)){v[a+190476>>2]=952;v[a+26308>>2]=42205668;v[a+26328>>2]=2;v[a+59292>>2]=1066426958;v[a+59284>>2]=1066166911;v[a+26120>>2]=16;v[a+26028>>2]=370546198;break ja}if(!hb(f,212633)){v[a+26308>>2]=41943517;v[a+190476>>2]=948;v[a+26048>>2]=3840;v[a+26052>>2]=0;u[a+25204>>1]=18761;v[a+59292>>2]=1075646038;v[a+59284>>2]=1070059225;break ja}if(!hb(f,212642)){b=x[G>>1];u[o>>1]=2;u[l>>1]=b-2;break ja}if(!hb(f,212646)){v[a+190476>>2]=948;v[a+26308>>2]=104858800;v[a+59288>>2]=1067181933;v[a+26028>>2]=1229539657;break ja}if(!hb(f,212651)){u[l>>1]=768;u[k>>1]=1024;v[q>>2]=952;break ja}if(!hb(f,212658)){u[l>>1]=1040;u[k>>1]=1392;v[q>>2]=952;break ja}if(!hb(f,212665)){u[l>>1]=1200;u[k>>1]=1600;v[q>>2]=952;break ja}if(!hb(f,212672)){v[a+26308>>2]=169609126;v[a+26124>>2]=65520;v[a+190476>>2]=D>>>0<75e5?952:948;break ja}if(!hb(f,212679)){v[a+190476>>2]=948;v[a+26308>>2]=214436261;v[a+26124>>2]=65520;break ja}if(!hb(f,212686)){u[a+26310>>1]=1375;u[a+26306>>1]=1376;u[a+26308>>1]=1024;v[a+26124>>2]=1023;v[a+26028>>2]=1229539657;v[a+190476>>2]=D>>>0<2e6?952:948;break ja}if(!hb(f,212698)){v[a+26308>>2]=105383095;v[a+190476>>2]=948;v[a+26124>>2]=1023;v[a+26048>>2]=3212;v[a+26052>>2]=0;v[a+26028>>2]=370546198;u[a+25204>>1]=18761;break ja}if(!hb(f,212703)){v[a+26308>>2]=144706488;v[a+26028>>2]=1633771873;v[a+26124>>2]=65472;v[a+190476>>2]=D>>>0<1e7?952:948;break ja}if(!hb(f,212708)){u[a+26310>>1]=2048;u[a+26306>>1]=2048;u[a+26308>>1]=1536;v[a+190476>>2]=948;v[a+26028>>2]=1633771873;v[a+59292>>2]=1066510844;v[a+59284>>2]=1071367848;v[a+26124>>2]=1023;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],3145728,0)|0;d=Ma-16|0;Ma=d;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+8|0,2,2)|0;b=65533;i=2;while(1){j=d+8|0;c=j+(i<<1)|0;Qa[v[v[a>>2]>>2]](v[a+4>>2],c,2,1)|0;V=S;j=j+((i^2)<<1)|0;e=w[j+1|0];j=w[j|0];m=w[c+1|0];c=w[c|0];S=+((e<<8|j)-(m<<8|c)|0);S=V+S*S;V=T;T=+((e|j<<8)-(m|c<<8)|0);T=V+T*T;c=b;b=b-1|0;i=i+1&3;if(c){continue}break}Ma=d+16|0;b=S>T?19789:18761;u[a+25204>>1]=b;if((b|0)!=19789){break ja}v[a+26312>>2]=1835024;v[a+26124>>2]=62912;t[a+25733|0]=73;t[a+25734|0]=83;t[a+25735|0]=71;t[a+25736|0]=0;t[a+25797|0]=0;u[a+26308>>1]=x[a+26308>>1]-16;u[a+26310>>1]=x[a+26310>>1]-28;break ia}if(!hb(h,75601)){if(v[q>>2]==954){v[q>>2]=976}b=x[s>>1];if((b|0)!=4090){if((b|0)!=7262){break ja}u[l>>1]=5444;u[k>>1]=7248;u[o>>1]=4;u[n>>1]=7;v[r>>2]=1633771873;break ja}t[f+4|0]=w[212719];b=w[212715]|w[212716]<<8|(w[212717]<<16|w[212718]<<24);t[f|0]=b;t[f+1|0]=b>>>8;t[f+2|0]=b>>>16;t[f+3|0]=b>>>24;u[o>>1]=6;u[l>>1]=i-6;u[n>>1]=3;u[k>>1]=c-10;v[r>>2]=1633771873;break ja}if(!hb(h,209048)){if(v[g+128>>2]==1397768760){Qa[v[v[a>>2]+8>>2]](v[a+4>>2],14,0)|0;ka=a,la=Im(a),u[ka+26308>>1]=la;b=Im(a);v[a+26048>>2]=68;v[a+26052>>2]=0;v[a+26028>>2]=1633771873;u[a+26310>>1]=b}if(!v[q>>2]){v[q>>2]=948}v[a+26124>>2]=16383;break ja}if(!hb(h,75332)){v[a+26124>>2]=16383;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],v[a+26048>>2],0)|0;if(!(!dp(a,g+48|0,1)|v[g+48>>2]!=15)){v[a+26124>>2]=8191}j=v[ia>>2];vb:{wb:{if(j>>>0>=2){v[r>>2]=0;break wb}if(y[a+26168>>2]>=x[a+26304>>1]){break vb}}v[q>>2]=977}d=x[l>>1];i=x[k>>1];if((d|i)==2048){if((j|0)==1){v[r>>2]=1;t[E+4|0]=w[212724];b=w[212720]|w[212721]<<8|(w[212722]<<16|w[212723]<<24);t[E|0]=b;t[E+1|0]=b>>>8;t[E+2|0]=b>>>16;t[E+3|0]=b>>>24;b=w[212732]|w[212733]<<8|(w[212734]<<16|w[212735]<<24);t[f+7|0]=b;t[f+8|0]=b>>>8;t[f+9|0]=b>>>16;t[f+10|0]=b>>>24;b=w[212729]|w[212730]<<8|(w[212731]<<16|w[212732]<<24);c=w[212725]|w[212726]<<8|(w[212727]<<16|w[212728]<<24);t[f|0]=c;t[f+1|0]=c>>>8;t[f+2|0]=c>>>16;t[f+3|0]=c>>>24;t[f+4|0]=b;t[f+5|0]=b>>>8;t[f+6|0]=b>>>16;t[f+7|0]=b>>>24;u[o>>1]=8;u[n>>1]=18;u[l>>1]=2032;u[k>>1]=2016;break ja}t[f+4|0]=w[65098];b=w[65094]|w[65095]<<8|(w[65096]<<16|w[65097]<<24);t[f|0]=b;t[f+1|0]=b>>>8;t[f+2|0]=b>>>16;t[f+3|0]=b>>>24;u[o>>1]=10;u[n>>1]=16;u[l>>1]=2028;u[k>>1]=2022;break ja}if((d+i|0)==5204){b=w[f|0];if(!b){t[f|0]=67;t[f+1|0]=97;t[f+2|0]=110;t[f+3|0]=116;t[f+4|0]=97;t[f+5|0]=114;t[f+6|0]=101;t[f+7|0]=0;b=67}c=a;xb:{if(d>>>0>>0){u[o>>1]=6;u[n>>1]=32;u[l>>1]=2048;u[k>>1]=3072;i=1633771873;break xb}u[n>>1]=6;u[o>>1]=32;u[k>>1]=2048;u[l>>1]=3072;i=370546198}v[c+26028>>2]=i;if(!((b|0)!=86&z[a+59268>>2]!=C(0))){v[r>>2]=0;break ja}v[a+26148>>2]=j;break ha}if((i|0)!=3171){if((i|0)!=2116){break ja}t[f|0]=86;t[f+1|0]=97;t[f+2|0]=108;t[f+3|0]=101;t[f+4|0]=111;t[f+5|0]=32;t[f+6|0]=54;t[f+7|0]=0;u[o>>1]=30;u[l>>1]=d-60;u[n>>1]=55;u[k>>1]=2006;v[r>>2]=1229539657;break ja}t[f|0]=86;t[f+1|0]=97;t[f+2|0]=108;t[f+3|0]=101;t[f+4|0]=111;t[f+5|0]=32;t[f+6|0]=54;t[f+7|0]=0;u[o>>1]=24;u[l>>1]=d-48;u[n>>1]=24;u[k>>1]=3123;v[r>>2]=370546198;break ja}yb:{if(hb(h,62858)){if(hb(h,62422)){break yb}}v[a+26124>>2]=65520;b=q;d=v[a+26048>>2];e=D-d|0;p=0-(v[a+26052>>2]+(d>>>0>D>>>0)|0)|0;d=c&65535;if(d){j=(d<<3>>>0)/7|0}else{j=1}zb:{if((y3a(e,p,j,0)|0)!=(i&65535)|Pa){if(v[q>>2]){break zb}j=948}else{j=943}v[b>>2]=j}Ab:{Bb:{Cb:{Db:{Eb:{Fb:{Gb:{Hb:{Ib:{j=n;Jb:{Kb:{Lb:{b=k;d=b;Mb:{Nb:{e=c&65535;if(e>>>0<=3709){if(e>>>0<=3303){if(e>>>0<=3169){if((e|0)==2568){break Lb}b=4;if((e|0)==3130){break Jb}break ja}c=3167;switch(e-3170|0){case 1:case 2:case 3:case 4:case 5:case 6:break ja;case 7:break Hb;case 0:break Kb;default:break Ib}}if(e>>>0<=3369){if((e|0)==3304){break Gb}if((e|0)!=3330){break ja}v[a+26124>>2]=63472;c=9;b=3291;break Mb}if((e|0)==3370){break Nb}if((e|0)!=3690){break ja}v[a+26124>>2]=63472;u[a+26314>>1]=65522;i=i-2|0;break Eb}if(e>>>0<=4059){if(e>>>0<=3835){switch(e-3710|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:break ja;case 14:break Cb;case 0:break Db;default:break Fb}}c=3794;if((e|0)==3836){break Bb}if((e|0)!=3880){break ja}u[a+26314>>1]=6;u[a+26310>>1]=3858;v[a+26140>>2]=1;_g(a,62422,212802);break ja}if(e>>>0<=4329){if((e|0)==4060){break Ab}if((e|0)!=4290){break ja}u[n>>1]=65522;v[r>>2]=1229539657;i=i+38|0;break na}if((e|0)==4330){break na}if((e|0)!=4508){break ja}u[a+26310>>1]=4429;v[a+26028>>2]=370546198;u[a+26308>>1]=i-6;_g(a,62422,212825);break ja}c=x[n>>1]+15|0;b=3288}u[d>>1]=b;u[n>>1]=c;if((i&65535)>>>0>=2481){u[o>>1]=10;u[l>>1]=2470}v[a+26140>>2]=1;v[a+26028>>2]=1229539657;_g(a,62422,212768);break ja}_g(a,62422,212736);break ja}b=x[n>>1]+18|0}u[j>>1]=b;u[k>>1]=3096;if((i&65535)>>>0>=2327){u[l>>1]=2326;u[o>>1]=13;v[r>>2]=1229539657}v[a+26140>>2]=1;_g(a,62422,212744);break ja}if((e|0)!=3213){break ja}c=3176}v[a+26140>>2]=1;v[a+26028>>2]=1229539657;u[a+26310>>1]=c;_g(a,62422,212752);break ja}v[a+26140>>2]=1;u[a+26310>>1]=3287;_g(a,62422,212759);break ja}if((e|0)!=3770){break ja}}u[k>>1]=3672;b=i-1|0;u[l>>1]=b;Ob:{if((b&65535)==2798){u[l>>1]=2760;u[o>>1]=15;break Ob}v[r>>2]=1229539657}v[a+26140>>2]=1;u[a+26314>>1]=x[a+26314>>1]+17;_g(a,62422,212777);break ja}v[a+26028>>2]=1229539657;u[a+26310>>1]=3682;_g(a,62422,212786);break ja}c=3668}u[b>>1]=c;break oa}u[k>>1]=3982;if((i&65535)==2250){break oa}v[a+26140>>2]=1;v[a+26028>>2]=1229539657;u[a+26310>>1]=4018;_g(a,62422,212810);break ja}if(!hb(f,212835)){v[a+26308>>2]=150996662;v[a+190476>>2]=946;v[a+26028>>2]=370546198;v[a+26300>>2]=7;break ja}if(!hb(h,44919)){v[a+26028>>2]=v[a+26032>>2];u[a+26308>>1]=(i&1)+i;b=v[a+190476>>2];if((b|0)==942){v[a+26120>>2]=v[a+26120>>2]>>>4;break ja}Pb:{if(hb(f,212842)){if(Kb(f,212847,4)){break Pb}}v[a+26120>>2]=v[a+26120>>2]<<2;break ja}Qb:{if(hb(f,212852)){if(hb(f,212858)){break Qb}}u[k>>1]=c-20;if((b|0)!=948){break ja}v[a+26120>>2]=0;v[a+26124>>2]=64560;break ja}if(!hb(f,212864)){u[k>>1]=c-30;if((b|0)!=948){break ja}v[a+26124>>2]=63376;break ja}if(hb(f,212870)){break ja}v[a+26056>>2]=10721280;v[a+26060>>2]=0;v[a+26324>>2]=31457920;v[a+26080>>2]=D-10721280;break ja}if(!hb(f,211910)){v[a+26308>>2]=201328639;v[a+190476>>2]=946;v[a+26048>>2]=6656;v[a+26052>>2]=0;v[a+26028>>2]=1633771873;break ja}if(!hb(f,212878)){u[a+26314>>1]=5;u[a+26310>>1]=3288;v[a+190476>>2]=978;v[a+26048>>2]=862144;v[a+26052>>2]=0;v[a+26336>>2]=4;v[a+26028>>2]=-1667457892;t[E+4|0]=w[212891];b=w[212887]|w[212888]<<8|(w[212889]<<16|w[212890]<<24);t[E|0]=b;t[E+1|0]=b>>>8;t[E+2|0]=b>>>16;t[E+3|0]=b>>>24;break ja}if(!hb(f,212892)){u[a+26314>>1]=59;u[a+26310>>1]=3109;v[a+190476>>2]=978;v[a+26048>>2]=787392;v[a+26052>>2]=0;break ja}if(!(hb(h,62256)|x[s>>1]!=3984)){_g(a,62256,212899);u[a+25204>>1]=19789;u[a+26310>>1]=3925;break ja}if(!hb(f,69254)){u[l>>1]=i-1;break ja}if(!hb(f,212906)){u[l>>1]=i-4;break ja}Rb:{Sb:{if(!hb(f,212916)){c=480;b=640;break Sb}if(hb(f,212922)){break Rb}c=2134;b=2848}u[l>>1]=c;u[k>>1]=b;v[r>>2]=0;v[q>>2]=979;break ja}Tb:{Ub:{if(!hb(f,212928)){u[l>>1]=2152;u[G>>1]=2152;u[k>>1]=2864;u[s>>1]=2864;c=-2152;b=2864;break Ub}if(hb(f,212933)){break Tb}u[l>>1]=1744;u[k>>1]=2336;u[G>>1]=1779;u[s>>1]=2338;u[o>>1]=33;u[n>>1]=1;c=-1779;b=2338}u[a+25204>>1]=18761;b=B(b,c)+D|0;v[a+26048>>2]=b;v[a+26052>>2]=0;Vb:{if(b){Qa[v[v[a>>2]+8>>2]](v[a+4>>2],168,0)|0;Wi(a,a+26484|0,256);break Vb}v[a+26136>>2]=0}v[q>>2]=952;break ja}if(!Ii(h,23360)){if(v[r>>2]==-1){v[r>>2]=1633771873}Wb:{if(!Kb(f,212938,6)){u[k>>1]=c-4;u[n>>1]=2;break Wb}if(!hb(f,212945)){u[k>>1]=c-4;u[n>>1]=2;break Wb}if(!hb(f,212954)){u[k>>1]=c-4;u[n>>1]=2;break Wb}if(!hb(f,212962)){u[k>>1]=c-4;u[n>>1]=2;break Wb}if(!hb(f,212969)){u[k>>1]=c-4;u[n>>1]=2;break Wb}if(!hb(f,212976)){v[a+26336>>2]=1;u[a+26314>>1]=2;v[a+26028>>2]=0;u[a+26310>>1]=c-4;break Wb}if(!hb(f,212984)){v[a+26336>>2]=1;v[a+26120>>2]=214;v[a+26028>>2]=0;break Wb}if(hb(f,212992)){break Wb}v[a+26028>>2]=0;v[a+26336>>2]=1}if(!hb(a+25801|0,213e3)){t[E+4|0]=w[213008];b=w[213004]|w[213005]<<8|(w[213006]<<16|w[213007]<<24);t[E|0]=b;t[E+1|0]=b>>>8;t[E+2|0]=b>>>16;t[E+3|0]=b>>>24}if(Cc(f,213009)){t[f+4|0]=w[213013];b=w[213009]|w[213010]<<8|(w[213011]<<16|w[213012]<<24);t[f|0]=b;t[f+1|0]=b>>>8;t[f+2|0]=b>>>16;t[f+3|0]=b>>>24;v[a+26048>>2]=15424;v[a+26052>>2]=0}if(!Kb(f,48233,3)){u[a+26308>>1]=242;v[a+26336>>2]=4;v[a+26132>>2]=0;v[a+26028>>2]=-1920103027;b=D>>>0<1e5;A[a+26344>>3]=b?1.2958500669344042:.6384335885869012;u[a+26310>>1]=b?249:501;c=b?256:512;u[a+26306>>1]=c;j=v[a+26052>>2];d=c|1;c=d+v[a+26048>>2]|0;v[a+26048>>2]=c;v[a+26052>>2]=c>>>0>>0?j+1|0:j;b=v[52315];v[J+8>>2]=v[52314];v[J+12>>2]=b;b=v[52313];v[J>>2]=v[52312];v[J+4>>2]=b;b=v[52319];v[I+8>>2]=v[52318];v[I+12>>2]=b;b=v[52317];v[I>>2]=v[52316];v[I+4>>2]=b;b=v[52323];v[H+8>>2]=v[52322];v[H+12>>2]=b;b=v[52321];v[H>>2]=v[52320];v[H+4>>2]=b;v[a+190476>>2]=952;v[a+59296>>2]=1065655206;v[a+59288>>2]=1066854777;v[a+59292>>2]=1067106435;break ja}if(!hb(f,213014)){t[f+4|0]=w[213021];b=w[213017]|w[213018]<<8|(w[213019]<<16|w[213020]<<24);t[f|0]=b;t[f+1|0]=b>>>8;t[f+2|0]=b>>>16;t[f+3|0]=b>>>24;v[a+26308>>2]=50332160;v[a+190476>>2]=980;v[a+26048>>2]=1152;v[a+26052>>2]=0;break ja}if(Cc(f,213022)){t[f+4|0]=w[213026];b=w[213022]|w[213023]<<8|(w[213024]<<16|w[213025]<<24);t[f|0]=b;t[f+1|0]=b>>>8;t[f+2|0]=b>>>16;t[f+3|0]=b>>>24;v[a+26308>>2]=50332160;v[a+190476>>2]=980;v[a+26048>>2]=19712;v[a+26052>>2]=0;break ja}if(Cc(f,213027)){b=w[213031]|w[213032]<<8;t[f+4|0]=b;t[f+5|0]=b>>>8;b=w[213027]|w[213028]<<8|(w[213029]<<16|w[213030]<<24);t[f|0]=b;t[f+1|0]=b>>>8;t[f+2|0]=b>>>16;t[f+3|0]=b>>>24;v[a+26344>>2]=2133977461;v[a+26348>>2]=1073253807;v[a+26308>>2]=55575504;v[a+190476>>2]=v[a+26116>>2]==7?981:982;break ja}if(hb(f,213033)){break ja}v[a+26324>>2]=8388800;v[a+190468>>2]=958;v[a+26092>>2]=360;v[a+26056>>2]=6144;v[a+26060>>2]=0;v[a+26308>>2]=100664320;v[a+190476>>2]=952;v[a+26048>>2]=79872;v[a+26052>>2]=0;v[a+26120>>2]=17;break ja}if(!hb(f,211929)){v[a+26308>>2]=50332160;v[a+190476>>2]=980;v[a+26048>>2]=3632;v[a+26052>>2]=0;v[a+26132>>2]=0;v[a+26028>>2]=1633771873;c=v[a+26336>>2];if((c|0)<1){break ja}b=c<<2;cb(J,209296,b);cb(I,b+209296|0,b);cb(H,(c<<3)+209296|0,b);break ja}if(!hb(f,211956)){Qa[v[v[a>>2]+8>>2]](v[a+4>>2],544,0)|0;ka=a,la=Gl(a),u[ka+26308>>1]=la;ka=a,la=Gl(a),u[ka+26310>>1]=la;Im(a);b=(Gl(a)|0)==30?738:736;v[a+26048>>2]=b;v[a+26052>>2]=0;c=x[a+26308>>1];d=x[a+26310>>1];if(c>>>0>d>>>0){u[a+26308>>1]=d;u[a+26310>>1]=c;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],b-6|0,0)|0;ka=a,la=(Gl(a)&3)==3?6:5,v[ka+26328>>2]=la}v[q>>2]=983;v[r>>2]=1633771873;break ja}if(!hb(f,211975)){b=t[g+133|0];c=b;v[a+26048>>2]=738-b;b=b>>31;v[a+26052>>2]=0-(b+(c>>>0>738)|0);if(b|c){b=a+25807|0;t[b|0]=50;t[b+1|0]=48;t[b+2|0]=48;t[b+3|0]=0}v[q>>2]=980;u[l>>1]=480;u[k>>1]=640;v[r>>2]=1633771873;break ja}if(!(hb(h,80763)|v[q>>2])){j=l;b=x[s>>1];Xb:{Yb:{if((b|0)==1316){c=1;i=1300;d=6;b=1030;break Yb}if((b|0)!=2568){break Xb}c=2;i=2560;d=8;b=1960}u[j>>1]=b;u[k>>1]=i;u[o>>1]=c;u[n>>1]=d}v[a+190476>>2]=984;v[a+26028>>2]=370546198;v[a+59292>>2]=1067869798;v[a+59284>>2]=1072064102;break ja}if(!hb(f,213040)){v[a+26308>>2]=67109632;v[a+26048>>2]=1024;v[a+26052>>2]=0;v[a+190476>>2]=952;v[a+26028>>2]=1229539657;v[a+59292>>2]=1076803666;v[a+59284>>2]=1066527621;break ja}if(!hb(f,213051)){v[a+26308>>2]=106955960;v[a+190476>>2]=952;v[a+26048>>2]=3264;v[a+26052>>2]=0;break ja}if((D|0)==3217760){u[l>>1]=1546;u[k>>1]=2070;u[s>>1]=2080;v[q>>2]=952;break ja}if(!hb(f,213061)){v[a+190476>>2]=948;v[a+26308>>2]=148113060;v[a+26124>>2]=65535;break ja}if(!hb(f,213069)){u[l>>1]=1924;u[k>>1]=2576;v[q>>2]=985;break ja}if(!hb(f,213077)){u[l>>1]=1720;u[k>>1]=2312;u[s>>1]=3520;u[n>>1]=2;break ja}if(!hb(f,213084)){u[a+26310>>1]=2580;u[a+26306>>1]=3904;u[a+26308>>1]=1926;v[a+59292>>2]=1070990361;v[a+59284>>2]=1068205343;break ja}if(!hb(f,213091)){u[a+26310>>1]=2058;u[a+26306>>1]=3136;u[a+26308>>1]=1544;v[a+59292>>2]=1066242408;v[a+59284>>2]=1070646428;break ja}if(!hb(f,213099)){u[a+26310>>1]=2570;u[a+26306>>1]=3904;u[a+26308>>1]=1931;v[a+59292>>2]=1066905108;v[a+59284>>2]=1075960611;break ja}if(!hb(f,213106)){u[a+26310>>1]=2570;u[a+26306>>1]=3904;u[a+26308>>1]=1960;v[a+59292>>2]=1068004016;v[a+59284>>2]=1069715292;break ja}if(!hb(f,213113)){u[a+26310>>1]=2568;u[a+26306>>1]=3852;u[a+26308>>1]=1928;v[a+59292>>2]=1072735191;v[a+59284>>2]=1074035425;v[a+26124>>2]=4095;break ja}if((D|0)==9313536){u[a+26310>>1]=2844;u[a+26306>>1]=4288;u[a+26308>>1]=2142;v[a+59292>>2]=1067190321;v[a+59284>>2]=1072038937;break ja}if(hb(f,213121)){break ja}u[a+26310>>1]=3082;u[a+26306>>1]=4672;u[a+26308>>1]=2318;v[a+59292>>2]=1069581074;v[a+59284>>2]=1071711781;break ja}b=986}v[q>>2]=b;break fa}v[r>>2]=370546198;if(w[h|0]==80){break ja}_g(a,62422,212794);break ja}u[k>>1]=4248;b=i-39|0;u[l>>1]=b;if((b&65535)==2400){u[o>>1]=15}u[a+26314>>1]=x[a+26314>>1]+17;_g(a,62422,212817);break ja}u[o>>1]=12;u[n>>1]=74}u[l>>1]=x[l>>1]-x[o>>1];u[k>>1]=x[k>>1]-x[n>>1];break ja}v[a+26028>>2]=1633771873;v[a+26120>>2]=x[a+26884>>1]}if(w[f|0]){break ha}}b=x[k>>1];v[g+20>>2]=x[l>>1];v[g+16>>2]=b;Dc(f,213129,g+16|0)}if(v[r>>2]==-1){v[r>>2]=-1802201964}if(v[a+26132>>2]){_g(a,h,f)}b=v[a+26056>>2];if(x[a+26326>>1]|!(b|v[a+26060>>2])){break ga}Qa[v[v[a>>2]+8>>2]](v[a+4>>2],b,0)|0;if(!dp(a,g+48|0,1)){break ga}u[a+26324>>1]=v[g+56>>2];u[a+26326>>1]=v[g+52>>2]}b=v[q>>2];if(b){break fa}b=0;break ea}if(x[l>>1]>21){break da}}v[a+26148>>2]=0}if((b|0)==981){v[g>>2]=v[a+25208>>2];vb(v[249419],213135,g);v[a+26148>>2]=0}if(!w[E|0]){od(E,v[a+26336>>2]==3?213175:213179)}if(!x[G>>1]){u[G>>1]=x[l>>1]}if(!x[s>>1]){u[s>>1]=x[k>>1]}b=v[r>>2];if(!b|v[a+26336>>2]!=3){break _}R=(b&15)==9;b=R?b|2:b;c=(b&15)==6;b=c?b|8:b;k=b&240;b=(k|0)==144?b|32:b;d=b&240;b=(d|0)==96?b|128:b;i=b&3840;b=(i|0)==2304?b|512:b;j=b&3840;b=(j|0)==1536?b|2048:b;e=b&61440;b=(e|0)==36864?b|8192:b;m=b&61440;b=(m|0)==24576?b|32768:b;p=b&983040;b=(p|0)==589824?b|131072:b;F=b&983040;b=(F|0)==393216?b|524288:b;K=b&15728640;b=(K|0)==9437184?b|2097152:b;M=b&15728640;b=(M|0)==6291456?b|8388608:b;N=b&251658240;b=(N|0)==150994944?b|33554432:b;O=b&251658240;b=(O|0)==100663296?b|134217728:b;P=b&-268435456;b=(P|0)==-1879048192?b|536870912:b;Q=b&-268435456;Zb:{if(c|R|((k|0)==144|(d|0)==96)){break Zb}if((i|0)==2304|(j|0)==1536|((e|0)==36864|(m|0)==24576)){break Zb}if((p|0)==589824|(F|0)==393216|((K|0)==9437184|(M|0)==6291456)){break Zb}if((N|0)==150994944|(O|0)==100663296|(P|0)==-1879048192){break Zb}if((Q|0)!=1610612736){break _}}v[r>>2]=(Q|0)==1610612736?b|-2147483648:b}if(v[a+26328>>2]==-1){b=a;a=v[a+26332>>2];v[b+26328>>2]=(a|0)==-1?0:a}Ma=g+160|0}function _x(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,y=0,z=0,A=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=Ma-2064|0;Ma=k;E=pc(k+2048|0,k+2060|0,B(v[a+16>>2],v[a+12>>2]),2);o=v[k+2060>>2];f=v[a+16>>2];a:{if((f|0)<1){break a}g=v[a+12>>2];if((g|0)<1){break a}m=k+1984|0;r=k+1920|0;y=k+1856|0;s=k+1792|0;l=k+1728|0;z=k+1664|0;C=k+1600|0;p=k+1536|0;F=k+1472|0;G=k+1408|0;H=k+1344|0;I=k+1280|0;J=k+1216|0;K=k+1152|0;L=k+1088|0;M=k+1024|0;N=k- -64|0;q=v[a>>2];n=o;while(1){A=0;if((g|0)>0){while(1){h=0;g=eb(k,0,2048);j=0;while(1){f=v[(j>>>2&1073741820)+q>>2];b:{if(!f){break b}f=v[f+((j&15)<<2)>>2];if(!f){break b}i=h<<2;u[g+(v[i+979440>>2]<<1)>>1]=x[f>>1];u[g+(v[(i|4)+979440>>2]<<1)>>1]=x[f+2>>1];u[g+(v[(i|8)+979440>>2]<<1)>>1]=x[f+4>>1];u[g+(v[(i|12)+979440>>2]<<1)>>1]=x[f+6>>1];u[g+(v[(i|16)+979440>>2]<<1)>>1]=x[f+8>>1];u[g+(v[(i|20)+979440>>2]<<1)>>1]=x[f+10>>1];u[g+(v[(i|24)+979440>>2]<<1)>>1]=x[f+12>>1];u[g+(v[(i|28)+979440>>2]<<1)>>1]=x[f+14>>1];u[g+(v[(i|32)+979440>>2]<<1)>>1]=x[f+16>>1];u[g+(v[(i|36)+979440>>2]<<1)>>1]=x[f+18>>1];u[g+(v[(i|40)+979440>>2]<<1)>>1]=x[f+20>>1];u[g+(v[(i|44)+979440>>2]<<1)>>1]=x[f+22>>1];u[g+(v[(i|48)+979440>>2]<<1)>>1]=x[f+24>>1];u[g+(v[(i|52)+979440>>2]<<1)>>1]=x[f+26>>1];u[g+(v[(i|56)+979440>>2]<<1)>>1]=x[f+28>>1];u[g+(v[(i|60)+979440>>2]<<1)>>1]=x[f+30>>1]}h=h+16|0;j=j+1|0;if((j|0)!=64){continue}break}h=v[g+4>>2];f=(A<<1)+n|0;j=v[g>>2];t[f|0]=j;t[f+1|0]=j>>>8;t[f+2|0]=j>>>16;t[f+3|0]=j>>>24;t[f+4|0]=h;t[f+5|0]=h>>>8;t[f+6|0]=h>>>16;t[f+7|0]=h>>>24;i=v[g+60>>2];h=v[g+56>>2];t[f+56|0]=h;t[f+57|0]=h>>>8;t[f+58|0]=h>>>16;t[f+59|0]=h>>>24;t[f+60|0]=i;t[f+61|0]=i>>>8;t[f+62|0]=i>>>16;t[f+63|0]=i>>>24;i=v[g+52>>2];h=v[g+48>>2];t[f+48|0]=h;t[f+49|0]=h>>>8;t[f+50|0]=h>>>16;t[f+51|0]=h>>>24;t[f+52|0]=i;t[f+53|0]=i>>>8;t[f+54|0]=i>>>16;t[f+55|0]=i>>>24;i=v[g+44>>2];h=v[g+40>>2];t[f+40|0]=h;t[f+41|0]=h>>>8;t[f+42|0]=h>>>16;t[f+43|0]=h>>>24;t[f+44|0]=i;t[f+45|0]=i>>>8;t[f+46|0]=i>>>16;t[f+47|0]=i>>>24;i=v[g+36>>2];h=v[g+32>>2];t[f+32|0]=h;t[f+33|0]=h>>>8;t[f+34|0]=h>>>16;t[f+35|0]=h>>>24;t[f+36|0]=i;t[f+37|0]=i>>>8;t[f+38|0]=i>>>16;t[f+39|0]=i>>>24;i=v[g+28>>2];h=v[g+24>>2];t[f+24|0]=h;t[f+25|0]=h>>>8;t[f+26|0]=h>>>16;t[f+27|0]=h>>>24;t[f+28|0]=i;t[f+29|0]=i>>>8;t[f+30|0]=i>>>16;t[f+31|0]=i>>>24;i=v[g+20>>2];h=v[g+16>>2];t[f+16|0]=h;t[f+17|0]=h>>>8;t[f+18|0]=h>>>16;t[f+19|0]=h>>>24;t[f+20|0]=i;t[f+21|0]=i>>>8;t[f+22|0]=i>>>16;t[f+23|0]=i>>>24;i=v[g+12>>2];g=v[g+8>>2];t[f+8|0]=g;t[f+9|0]=g>>>8;t[f+10|0]=g>>>16;t[f+11|0]=g>>>24;t[f+12|0]=i;t[f+13|0]=i>>>8;t[f+14|0]=i>>>16;t[f+15|0]=i>>>24;g=f+(v[a+12>>2]<<1)|0;f=N;h=w[f+4|0]|w[f+5|0]<<8|(w[f+6|0]<<16|w[f+7|0]<<24);j=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+12|0]|w[f+13|0]<<8|(w[f+14|0]<<16|w[f+15|0]<<24);h=w[f+8|0]|w[f+9|0]<<8|(w[f+10|0]<<16|w[f+11|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+20|0]|w[f+21|0]<<8|(w[f+22|0]<<16|w[f+23|0]<<24);h=w[f+16|0]|w[f+17|0]<<8|(w[f+18|0]<<16|w[f+19|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+28|0]|w[f+29|0]<<8|(w[f+30|0]<<16|w[f+31|0]<<24);h=w[f+24|0]|w[f+25|0]<<8|(w[f+26|0]<<16|w[f+27|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+36|0]|w[f+37|0]<<8|(w[f+38|0]<<16|w[f+39|0]<<24);h=w[f+32|0]|w[f+33|0]<<8|(w[f+34|0]<<16|w[f+35|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+44|0]|w[f+45|0]<<8|(w[f+46|0]<<16|w[f+47|0]<<24);h=w[f+40|0]|w[f+41|0]<<8|(w[f+42|0]<<16|w[f+43|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+52|0]|w[f+53|0]<<8|(w[f+54|0]<<16|w[f+55|0]<<24);h=w[f+48|0]|w[f+49|0]<<8|(w[f+50|0]<<16|w[f+51|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+60|0]|w[f+61|0]<<8|(w[f+62|0]<<16|w[f+63|0]<<24);f=w[f+56|0]|w[f+57|0]<<8|(w[f+58|0]<<16|w[f+59|0]<<24);t[g+56|0]=f;t[g+57|0]=f>>>8;t[g+58|0]=f>>>16;t[g+59|0]=f>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;f=k;h=w[f+132|0]|w[f+133|0]<<8|(w[f+134|0]<<16|w[f+135|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f+128|0]|w[f+129|0]<<8|(w[f+130|0]<<16|w[f+131|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+140|0]|w[f+141|0]<<8|(w[f+142|0]<<16|w[f+143|0]<<24);h=w[f+136|0]|w[f+137|0]<<8|(w[f+138|0]<<16|w[f+139|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+148|0]|w[f+149|0]<<8|(w[f+150|0]<<16|w[f+151|0]<<24);h=w[f+144|0]|w[f+145|0]<<8|(w[f+146|0]<<16|w[f+147|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+156|0]|w[f+157|0]<<8|(w[f+158|0]<<16|w[f+159|0]<<24);h=w[f+152|0]|w[f+153|0]<<8|(w[f+154|0]<<16|w[f+155|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+164|0]|w[f+165|0]<<8|(w[f+166|0]<<16|w[f+167|0]<<24);h=w[f+160|0]|w[f+161|0]<<8|(w[f+162|0]<<16|w[f+163|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+172|0]|w[f+173|0]<<8|(w[f+174|0]<<16|w[f+175|0]<<24);h=w[f+168|0]|w[f+169|0]<<8|(w[f+170|0]<<16|w[f+171|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+180|0]|w[f+181|0]<<8|(w[f+182|0]<<16|w[f+183|0]<<24);h=w[f+176|0]|w[f+177|0]<<8|(w[f+178|0]<<16|w[f+179|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+188|0]|w[f+189|0]<<8|(w[f+190|0]<<16|w[f+191|0]<<24);h=w[f+184|0]|w[f+185|0]<<8|(w[f+186|0]<<16|w[f+187|0]<<24);t[g+56|0]=h;t[g+57|0]=h>>>8;t[g+58|0]=h>>>16;t[g+59|0]=h>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;h=w[f+196|0]|w[f+197|0]<<8|(w[f+198|0]<<16|w[f+199|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f+192|0]|w[f+193|0]<<8|(w[f+194|0]<<16|w[f+195|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+204|0]|w[f+205|0]<<8|(w[f+206|0]<<16|w[f+207|0]<<24);h=w[f+200|0]|w[f+201|0]<<8|(w[f+202|0]<<16|w[f+203|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+212|0]|w[f+213|0]<<8|(w[f+214|0]<<16|w[f+215|0]<<24);h=w[f+208|0]|w[f+209|0]<<8|(w[f+210|0]<<16|w[f+211|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+220|0]|w[f+221|0]<<8|(w[f+222|0]<<16|w[f+223|0]<<24);h=w[f+216|0]|w[f+217|0]<<8|(w[f+218|0]<<16|w[f+219|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+228|0]|w[f+229|0]<<8|(w[f+230|0]<<16|w[f+231|0]<<24);h=w[f+224|0]|w[f+225|0]<<8|(w[f+226|0]<<16|w[f+227|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+236|0]|w[f+237|0]<<8|(w[f+238|0]<<16|w[f+239|0]<<24);h=w[f+232|0]|w[f+233|0]<<8|(w[f+234|0]<<16|w[f+235|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+244|0]|w[f+245|0]<<8|(w[f+246|0]<<16|w[f+247|0]<<24);h=w[f+240|0]|w[f+241|0]<<8|(w[f+242|0]<<16|w[f+243|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+252|0]|w[f+253|0]<<8|(w[f+254|0]<<16|w[f+255|0]<<24);h=w[f+248|0]|w[f+249|0]<<8|(w[f+250|0]<<16|w[f+251|0]<<24);t[g+56|0]=h;t[g+57|0]=h>>>8;t[g+58|0]=h>>>16;t[g+59|0]=h>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;h=w[f+260|0]|w[f+261|0]<<8|(w[f+262|0]<<16|w[f+263|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f+256|0]|w[f+257|0]<<8|(w[f+258|0]<<16|w[f+259|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+268|0]|w[f+269|0]<<8|(w[f+270|0]<<16|w[f+271|0]<<24);h=w[f+264|0]|w[f+265|0]<<8|(w[f+266|0]<<16|w[f+267|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+276|0]|w[f+277|0]<<8|(w[f+278|0]<<16|w[f+279|0]<<24);h=w[f+272|0]|w[f+273|0]<<8|(w[f+274|0]<<16|w[f+275|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+284|0]|w[f+285|0]<<8|(w[f+286|0]<<16|w[f+287|0]<<24);h=w[f+280|0]|w[f+281|0]<<8|(w[f+282|0]<<16|w[f+283|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+292|0]|w[f+293|0]<<8|(w[f+294|0]<<16|w[f+295|0]<<24);h=w[f+288|0]|w[f+289|0]<<8|(w[f+290|0]<<16|w[f+291|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+300|0]|w[f+301|0]<<8|(w[f+302|0]<<16|w[f+303|0]<<24);h=w[f+296|0]|w[f+297|0]<<8|(w[f+298|0]<<16|w[f+299|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+308|0]|w[f+309|0]<<8|(w[f+310|0]<<16|w[f+311|0]<<24);h=w[f+304|0]|w[f+305|0]<<8|(w[f+306|0]<<16|w[f+307|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+316|0]|w[f+317|0]<<8|(w[f+318|0]<<16|w[f+319|0]<<24);h=w[f+312|0]|w[f+313|0]<<8|(w[f+314|0]<<16|w[f+315|0]<<24);t[g+56|0]=h;t[g+57|0]=h>>>8;t[g+58|0]=h>>>16;t[g+59|0]=h>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;h=w[f+324|0]|w[f+325|0]<<8|(w[f+326|0]<<16|w[f+327|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f+320|0]|w[f+321|0]<<8|(w[f+322|0]<<16|w[f+323|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+332|0]|w[f+333|0]<<8|(w[f+334|0]<<16|w[f+335|0]<<24);h=w[f+328|0]|w[f+329|0]<<8|(w[f+330|0]<<16|w[f+331|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+340|0]|w[f+341|0]<<8|(w[f+342|0]<<16|w[f+343|0]<<24);h=w[f+336|0]|w[f+337|0]<<8|(w[f+338|0]<<16|w[f+339|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+348|0]|w[f+349|0]<<8|(w[f+350|0]<<16|w[f+351|0]<<24);h=w[f+344|0]|w[f+345|0]<<8|(w[f+346|0]<<16|w[f+347|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+356|0]|w[f+357|0]<<8|(w[f+358|0]<<16|w[f+359|0]<<24);h=w[f+352|0]|w[f+353|0]<<8|(w[f+354|0]<<16|w[f+355|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+364|0]|w[f+365|0]<<8|(w[f+366|0]<<16|w[f+367|0]<<24);h=w[f+360|0]|w[f+361|0]<<8|(w[f+362|0]<<16|w[f+363|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+372|0]|w[f+373|0]<<8|(w[f+374|0]<<16|w[f+375|0]<<24);h=w[f+368|0]|w[f+369|0]<<8|(w[f+370|0]<<16|w[f+371|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+380|0]|w[f+381|0]<<8|(w[f+382|0]<<16|w[f+383|0]<<24);h=w[f+376|0]|w[f+377|0]<<8|(w[f+378|0]<<16|w[f+379|0]<<24);t[g+56|0]=h;t[g+57|0]=h>>>8;t[g+58|0]=h>>>16;t[g+59|0]=h>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;h=w[f+388|0]|w[f+389|0]<<8|(w[f+390|0]<<16|w[f+391|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f+384|0]|w[f+385|0]<<8|(w[f+386|0]<<16|w[f+387|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+396|0]|w[f+397|0]<<8|(w[f+398|0]<<16|w[f+399|0]<<24);h=w[f+392|0]|w[f+393|0]<<8|(w[f+394|0]<<16|w[f+395|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+404|0]|w[f+405|0]<<8|(w[f+406|0]<<16|w[f+407|0]<<24);h=w[f+400|0]|w[f+401|0]<<8|(w[f+402|0]<<16|w[f+403|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+412|0]|w[f+413|0]<<8|(w[f+414|0]<<16|w[f+415|0]<<24);h=w[f+408|0]|w[f+409|0]<<8|(w[f+410|0]<<16|w[f+411|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+420|0]|w[f+421|0]<<8|(w[f+422|0]<<16|w[f+423|0]<<24);h=w[f+416|0]|w[f+417|0]<<8|(w[f+418|0]<<16|w[f+419|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+428|0]|w[f+429|0]<<8|(w[f+430|0]<<16|w[f+431|0]<<24);h=w[f+424|0]|w[f+425|0]<<8|(w[f+426|0]<<16|w[f+427|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+436|0]|w[f+437|0]<<8|(w[f+438|0]<<16|w[f+439|0]<<24);h=w[f+432|0]|w[f+433|0]<<8|(w[f+434|0]<<16|w[f+435|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+444|0]|w[f+445|0]<<8|(w[f+446|0]<<16|w[f+447|0]<<24);h=w[f+440|0]|w[f+441|0]<<8|(w[f+442|0]<<16|w[f+443|0]<<24);t[g+56|0]=h;t[g+57|0]=h>>>8;t[g+58|0]=h>>>16;t[g+59|0]=h>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;h=w[f+452|0]|w[f+453|0]<<8|(w[f+454|0]<<16|w[f+455|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f+448|0]|w[f+449|0]<<8|(w[f+450|0]<<16|w[f+451|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+460|0]|w[f+461|0]<<8|(w[f+462|0]<<16|w[f+463|0]<<24);h=w[f+456|0]|w[f+457|0]<<8|(w[f+458|0]<<16|w[f+459|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+468|0]|w[f+469|0]<<8|(w[f+470|0]<<16|w[f+471|0]<<24);h=w[f+464|0]|w[f+465|0]<<8|(w[f+466|0]<<16|w[f+467|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+476|0]|w[f+477|0]<<8|(w[f+478|0]<<16|w[f+479|0]<<24);h=w[f+472|0]|w[f+473|0]<<8|(w[f+474|0]<<16|w[f+475|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+484|0]|w[f+485|0]<<8|(w[f+486|0]<<16|w[f+487|0]<<24);h=w[f+480|0]|w[f+481|0]<<8|(w[f+482|0]<<16|w[f+483|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+492|0]|w[f+493|0]<<8|(w[f+494|0]<<16|w[f+495|0]<<24);h=w[f+488|0]|w[f+489|0]<<8|(w[f+490|0]<<16|w[f+491|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+500|0]|w[f+501|0]<<8|(w[f+502|0]<<16|w[f+503|0]<<24);h=w[f+496|0]|w[f+497|0]<<8|(w[f+498|0]<<16|w[f+499|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+508|0]|w[f+509|0]<<8|(w[f+510|0]<<16|w[f+511|0]<<24);h=w[f+504|0]|w[f+505|0]<<8|(w[f+506|0]<<16|w[f+507|0]<<24);t[g+56|0]=h;t[g+57|0]=h>>>8;t[g+58|0]=h>>>16;t[g+59|0]=h>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;h=w[f+516|0]|w[f+517|0]<<8|(w[f+518|0]<<16|w[f+519|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f+512|0]|w[f+513|0]<<8|(w[f+514|0]<<16|w[f+515|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+524|0]|w[f+525|0]<<8|(w[f+526|0]<<16|w[f+527|0]<<24);h=w[f+520|0]|w[f+521|0]<<8|(w[f+522|0]<<16|w[f+523|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+532|0]|w[f+533|0]<<8|(w[f+534|0]<<16|w[f+535|0]<<24);h=w[f+528|0]|w[f+529|0]<<8|(w[f+530|0]<<16|w[f+531|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+540|0]|w[f+541|0]<<8|(w[f+542|0]<<16|w[f+543|0]<<24);h=w[f+536|0]|w[f+537|0]<<8|(w[f+538|0]<<16|w[f+539|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+548|0]|w[f+549|0]<<8|(w[f+550|0]<<16|w[f+551|0]<<24);h=w[f+544|0]|w[f+545|0]<<8|(w[f+546|0]<<16|w[f+547|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+556|0]|w[f+557|0]<<8|(w[f+558|0]<<16|w[f+559|0]<<24);h=w[f+552|0]|w[f+553|0]<<8|(w[f+554|0]<<16|w[f+555|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+564|0]|w[f+565|0]<<8|(w[f+566|0]<<16|w[f+567|0]<<24);h=w[f+560|0]|w[f+561|0]<<8|(w[f+562|0]<<16|w[f+563|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+572|0]|w[f+573|0]<<8|(w[f+574|0]<<16|w[f+575|0]<<24);h=w[f+568|0]|w[f+569|0]<<8|(w[f+570|0]<<16|w[f+571|0]<<24);t[g+56|0]=h;t[g+57|0]=h>>>8;t[g+58|0]=h>>>16;t[g+59|0]=h>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;h=w[f+580|0]|w[f+581|0]<<8|(w[f+582|0]<<16|w[f+583|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f+576|0]|w[f+577|0]<<8|(w[f+578|0]<<16|w[f+579|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+588|0]|w[f+589|0]<<8|(w[f+590|0]<<16|w[f+591|0]<<24);h=w[f+584|0]|w[f+585|0]<<8|(w[f+586|0]<<16|w[f+587|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+596|0]|w[f+597|0]<<8|(w[f+598|0]<<16|w[f+599|0]<<24);h=w[f+592|0]|w[f+593|0]<<8|(w[f+594|0]<<16|w[f+595|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+604|0]|w[f+605|0]<<8|(w[f+606|0]<<16|w[f+607|0]<<24);h=w[f+600|0]|w[f+601|0]<<8|(w[f+602|0]<<16|w[f+603|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+612|0]|w[f+613|0]<<8|(w[f+614|0]<<16|w[f+615|0]<<24);h=w[f+608|0]|w[f+609|0]<<8|(w[f+610|0]<<16|w[f+611|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+620|0]|w[f+621|0]<<8|(w[f+622|0]<<16|w[f+623|0]<<24);h=w[f+616|0]|w[f+617|0]<<8|(w[f+618|0]<<16|w[f+619|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+628|0]|w[f+629|0]<<8|(w[f+630|0]<<16|w[f+631|0]<<24);h=w[f+624|0]|w[f+625|0]<<8|(w[f+626|0]<<16|w[f+627|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+636|0]|w[f+637|0]<<8|(w[f+638|0]<<16|w[f+639|0]<<24);h=w[f+632|0]|w[f+633|0]<<8|(w[f+634|0]<<16|w[f+635|0]<<24);t[g+56|0]=h;t[g+57|0]=h>>>8;t[g+58|0]=h>>>16;t[g+59|0]=h>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;h=w[f+644|0]|w[f+645|0]<<8|(w[f+646|0]<<16|w[f+647|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f+640|0]|w[f+641|0]<<8|(w[f+642|0]<<16|w[f+643|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+652|0]|w[f+653|0]<<8|(w[f+654|0]<<16|w[f+655|0]<<24);h=w[f+648|0]|w[f+649|0]<<8|(w[f+650|0]<<16|w[f+651|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+660|0]|w[f+661|0]<<8|(w[f+662|0]<<16|w[f+663|0]<<24);h=w[f+656|0]|w[f+657|0]<<8|(w[f+658|0]<<16|w[f+659|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+668|0]|w[f+669|0]<<8|(w[f+670|0]<<16|w[f+671|0]<<24);h=w[f+664|0]|w[f+665|0]<<8|(w[f+666|0]<<16|w[f+667|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+676|0]|w[f+677|0]<<8|(w[f+678|0]<<16|w[f+679|0]<<24);h=w[f+672|0]|w[f+673|0]<<8|(w[f+674|0]<<16|w[f+675|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+684|0]|w[f+685|0]<<8|(w[f+686|0]<<16|w[f+687|0]<<24);h=w[f+680|0]|w[f+681|0]<<8|(w[f+682|0]<<16|w[f+683|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+692|0]|w[f+693|0]<<8|(w[f+694|0]<<16|w[f+695|0]<<24);h=w[f+688|0]|w[f+689|0]<<8|(w[f+690|0]<<16|w[f+691|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+700|0]|w[f+701|0]<<8|(w[f+702|0]<<16|w[f+703|0]<<24);h=w[f+696|0]|w[f+697|0]<<8|(w[f+698|0]<<16|w[f+699|0]<<24);t[g+56|0]=h;t[g+57|0]=h>>>8;t[g+58|0]=h>>>16;t[g+59|0]=h>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;h=w[f+708|0]|w[f+709|0]<<8|(w[f+710|0]<<16|w[f+711|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f+704|0]|w[f+705|0]<<8|(w[f+706|0]<<16|w[f+707|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+716|0]|w[f+717|0]<<8|(w[f+718|0]<<16|w[f+719|0]<<24);h=w[f+712|0]|w[f+713|0]<<8|(w[f+714|0]<<16|w[f+715|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+724|0]|w[f+725|0]<<8|(w[f+726|0]<<16|w[f+727|0]<<24);h=w[f+720|0]|w[f+721|0]<<8|(w[f+722|0]<<16|w[f+723|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+732|0]|w[f+733|0]<<8|(w[f+734|0]<<16|w[f+735|0]<<24);h=w[f+728|0]|w[f+729|0]<<8|(w[f+730|0]<<16|w[f+731|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+740|0]|w[f+741|0]<<8|(w[f+742|0]<<16|w[f+743|0]<<24);h=w[f+736|0]|w[f+737|0]<<8|(w[f+738|0]<<16|w[f+739|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+748|0]|w[f+749|0]<<8|(w[f+750|0]<<16|w[f+751|0]<<24);h=w[f+744|0]|w[f+745|0]<<8|(w[f+746|0]<<16|w[f+747|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+756|0]|w[f+757|0]<<8|(w[f+758|0]<<16|w[f+759|0]<<24);h=w[f+752|0]|w[f+753|0]<<8|(w[f+754|0]<<16|w[f+755|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+764|0]|w[f+765|0]<<8|(w[f+766|0]<<16|w[f+767|0]<<24);h=w[f+760|0]|w[f+761|0]<<8|(w[f+762|0]<<16|w[f+763|0]<<24);t[g+56|0]=h;t[g+57|0]=h>>>8;t[g+58|0]=h>>>16;t[g+59|0]=h>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;h=w[f+772|0]|w[f+773|0]<<8|(w[f+774|0]<<16|w[f+775|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f+768|0]|w[f+769|0]<<8|(w[f+770|0]<<16|w[f+771|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+780|0]|w[f+781|0]<<8|(w[f+782|0]<<16|w[f+783|0]<<24);h=w[f+776|0]|w[f+777|0]<<8|(w[f+778|0]<<16|w[f+779|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+788|0]|w[f+789|0]<<8|(w[f+790|0]<<16|w[f+791|0]<<24);h=w[f+784|0]|w[f+785|0]<<8|(w[f+786|0]<<16|w[f+787|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+796|0]|w[f+797|0]<<8|(w[f+798|0]<<16|w[f+799|0]<<24);h=w[f+792|0]|w[f+793|0]<<8|(w[f+794|0]<<16|w[f+795|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+804|0]|w[f+805|0]<<8|(w[f+806|0]<<16|w[f+807|0]<<24);h=w[f+800|0]|w[f+801|0]<<8|(w[f+802|0]<<16|w[f+803|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+812|0]|w[f+813|0]<<8|(w[f+814|0]<<16|w[f+815|0]<<24);h=w[f+808|0]|w[f+809|0]<<8|(w[f+810|0]<<16|w[f+811|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+820|0]|w[f+821|0]<<8|(w[f+822|0]<<16|w[f+823|0]<<24);h=w[f+816|0]|w[f+817|0]<<8|(w[f+818|0]<<16|w[f+819|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+828|0]|w[f+829|0]<<8|(w[f+830|0]<<16|w[f+831|0]<<24);h=w[f+824|0]|w[f+825|0]<<8|(w[f+826|0]<<16|w[f+827|0]<<24);t[g+56|0]=h;t[g+57|0]=h>>>8;t[g+58|0]=h>>>16;t[g+59|0]=h>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;h=w[f+836|0]|w[f+837|0]<<8|(w[f+838|0]<<16|w[f+839|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f+832|0]|w[f+833|0]<<8|(w[f+834|0]<<16|w[f+835|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+844|0]|w[f+845|0]<<8|(w[f+846|0]<<16|w[f+847|0]<<24);h=w[f+840|0]|w[f+841|0]<<8|(w[f+842|0]<<16|w[f+843|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+852|0]|w[f+853|0]<<8|(w[f+854|0]<<16|w[f+855|0]<<24);h=w[f+848|0]|w[f+849|0]<<8|(w[f+850|0]<<16|w[f+851|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+860|0]|w[f+861|0]<<8|(w[f+862|0]<<16|w[f+863|0]<<24);h=w[f+856|0]|w[f+857|0]<<8|(w[f+858|0]<<16|w[f+859|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+868|0]|w[f+869|0]<<8|(w[f+870|0]<<16|w[f+871|0]<<24);h=w[f+864|0]|w[f+865|0]<<8|(w[f+866|0]<<16|w[f+867|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+876|0]|w[f+877|0]<<8|(w[f+878|0]<<16|w[f+879|0]<<24);h=w[f+872|0]|w[f+873|0]<<8|(w[f+874|0]<<16|w[f+875|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+884|0]|w[f+885|0]<<8|(w[f+886|0]<<16|w[f+887|0]<<24);h=w[f+880|0]|w[f+881|0]<<8|(w[f+882|0]<<16|w[f+883|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+892|0]|w[f+893|0]<<8|(w[f+894|0]<<16|w[f+895|0]<<24);h=w[f+888|0]|w[f+889|0]<<8|(w[f+890|0]<<16|w[f+891|0]<<24);t[g+56|0]=h;t[g+57|0]=h>>>8;t[g+58|0]=h>>>16;t[g+59|0]=h>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;h=w[f+900|0]|w[f+901|0]<<8|(w[f+902|0]<<16|w[f+903|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f+896|0]|w[f+897|0]<<8|(w[f+898|0]<<16|w[f+899|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+908|0]|w[f+909|0]<<8|(w[f+910|0]<<16|w[f+911|0]<<24);h=w[f+904|0]|w[f+905|0]<<8|(w[f+906|0]<<16|w[f+907|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+916|0]|w[f+917|0]<<8|(w[f+918|0]<<16|w[f+919|0]<<24);h=w[f+912|0]|w[f+913|0]<<8|(w[f+914|0]<<16|w[f+915|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+924|0]|w[f+925|0]<<8|(w[f+926|0]<<16|w[f+927|0]<<24);h=w[f+920|0]|w[f+921|0]<<8|(w[f+922|0]<<16|w[f+923|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+932|0]|w[f+933|0]<<8|(w[f+934|0]<<16|w[f+935|0]<<24);h=w[f+928|0]|w[f+929|0]<<8|(w[f+930|0]<<16|w[f+931|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+940|0]|w[f+941|0]<<8|(w[f+942|0]<<16|w[f+943|0]<<24);h=w[f+936|0]|w[f+937|0]<<8|(w[f+938|0]<<16|w[f+939|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+948|0]|w[f+949|0]<<8|(w[f+950|0]<<16|w[f+951|0]<<24);h=w[f+944|0]|w[f+945|0]<<8|(w[f+946|0]<<16|w[f+947|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+956|0]|w[f+957|0]<<8|(w[f+958|0]<<16|w[f+959|0]<<24);h=w[f+952|0]|w[f+953|0]<<8|(w[f+954|0]<<16|w[f+955|0]<<24);t[g+56|0]=h;t[g+57|0]=h>>>8;t[g+58|0]=h>>>16;t[g+59|0]=h>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;h=w[f+964|0]|w[f+965|0]<<8|(w[f+966|0]<<16|w[f+967|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f+960|0]|w[f+961|0]<<8|(w[f+962|0]<<16|w[f+963|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+972|0]|w[f+973|0]<<8|(w[f+974|0]<<16|w[f+975|0]<<24);h=w[f+968|0]|w[f+969|0]<<8|(w[f+970|0]<<16|w[f+971|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+980|0]|w[f+981|0]<<8|(w[f+982|0]<<16|w[f+983|0]<<24);h=w[f+976|0]|w[f+977|0]<<8|(w[f+978|0]<<16|w[f+979|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+988|0]|w[f+989|0]<<8|(w[f+990|0]<<16|w[f+991|0]<<24);h=w[f+984|0]|w[f+985|0]<<8|(w[f+986|0]<<16|w[f+987|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+996|0]|w[f+997|0]<<8|(w[f+998|0]<<16|w[f+999|0]<<24);h=w[f+992|0]|w[f+993|0]<<8|(w[f+994|0]<<16|w[f+995|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+1004|0]|w[f+1005|0]<<8|(w[f+1006|0]<<16|w[f+1007|0]<<24);h=w[f+1e3|0]|w[f+1001|0]<<8|(w[f+1002|0]<<16|w[f+1003|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+1012|0]|w[f+1013|0]<<8|(w[f+1014|0]<<16|w[f+1015|0]<<24);h=w[f+1008|0]|w[f+1009|0]<<8|(w[f+1010|0]<<16|w[f+1011|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+1020|0]|w[f+1021|0]<<8|(w[f+1022|0]<<16|w[f+1023|0]<<24);f=w[f+1016|0]|w[f+1017|0]<<8|(w[f+1018|0]<<16|w[f+1019|0]<<24);t[g+56|0]=f;t[g+57|0]=f>>>8;t[g+58|0]=f>>>16;t[g+59|0]=f>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;f=M;h=w[f+4|0]|w[f+5|0]<<8|(w[f+6|0]<<16|w[f+7|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+12|0]|w[f+13|0]<<8|(w[f+14|0]<<16|w[f+15|0]<<24);h=w[f+8|0]|w[f+9|0]<<8|(w[f+10|0]<<16|w[f+11|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+20|0]|w[f+21|0]<<8|(w[f+22|0]<<16|w[f+23|0]<<24);h=w[f+16|0]|w[f+17|0]<<8|(w[f+18|0]<<16|w[f+19|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+28|0]|w[f+29|0]<<8|(w[f+30|0]<<16|w[f+31|0]<<24);h=w[f+24|0]|w[f+25|0]<<8|(w[f+26|0]<<16|w[f+27|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+36|0]|w[f+37|0]<<8|(w[f+38|0]<<16|w[f+39|0]<<24);h=w[f+32|0]|w[f+33|0]<<8|(w[f+34|0]<<16|w[f+35|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+44|0]|w[f+45|0]<<8|(w[f+46|0]<<16|w[f+47|0]<<24);h=w[f+40|0]|w[f+41|0]<<8|(w[f+42|0]<<16|w[f+43|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+52|0]|w[f+53|0]<<8|(w[f+54|0]<<16|w[f+55|0]<<24);h=w[f+48|0]|w[f+49|0]<<8|(w[f+50|0]<<16|w[f+51|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+60|0]|w[f+61|0]<<8|(w[f+62|0]<<16|w[f+63|0]<<24);f=w[f+56|0]|w[f+57|0]<<8|(w[f+58|0]<<16|w[f+59|0]<<24);t[g+56|0]=f;t[g+57|0]=f>>>8;t[g+58|0]=f>>>16;t[g+59|0]=f>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;f=L;h=w[f+4|0]|w[f+5|0]<<8|(w[f+6|0]<<16|w[f+7|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+12|0]|w[f+13|0]<<8|(w[f+14|0]<<16|w[f+15|0]<<24);h=w[f+8|0]|w[f+9|0]<<8|(w[f+10|0]<<16|w[f+11|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+20|0]|w[f+21|0]<<8|(w[f+22|0]<<16|w[f+23|0]<<24);h=w[f+16|0]|w[f+17|0]<<8|(w[f+18|0]<<16|w[f+19|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+28|0]|w[f+29|0]<<8|(w[f+30|0]<<16|w[f+31|0]<<24);h=w[f+24|0]|w[f+25|0]<<8|(w[f+26|0]<<16|w[f+27|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+36|0]|w[f+37|0]<<8|(w[f+38|0]<<16|w[f+39|0]<<24);h=w[f+32|0]|w[f+33|0]<<8|(w[f+34|0]<<16|w[f+35|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+44|0]|w[f+45|0]<<8|(w[f+46|0]<<16|w[f+47|0]<<24);h=w[f+40|0]|w[f+41|0]<<8|(w[f+42|0]<<16|w[f+43|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+52|0]|w[f+53|0]<<8|(w[f+54|0]<<16|w[f+55|0]<<24);h=w[f+48|0]|w[f+49|0]<<8|(w[f+50|0]<<16|w[f+51|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+60|0]|w[f+61|0]<<8|(w[f+62|0]<<16|w[f+63|0]<<24);f=w[f+56|0]|w[f+57|0]<<8|(w[f+58|0]<<16|w[f+59|0]<<24);t[g+56|0]=f;t[g+57|0]=f>>>8;t[g+58|0]=f>>>16;t[g+59|0]=f>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;f=K;h=w[f+4|0]|w[f+5|0]<<8|(w[f+6|0]<<16|w[f+7|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+12|0]|w[f+13|0]<<8|(w[f+14|0]<<16|w[f+15|0]<<24);h=w[f+8|0]|w[f+9|0]<<8|(w[f+10|0]<<16|w[f+11|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+20|0]|w[f+21|0]<<8|(w[f+22|0]<<16|w[f+23|0]<<24);h=w[f+16|0]|w[f+17|0]<<8|(w[f+18|0]<<16|w[f+19|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+28|0]|w[f+29|0]<<8|(w[f+30|0]<<16|w[f+31|0]<<24);h=w[f+24|0]|w[f+25|0]<<8|(w[f+26|0]<<16|w[f+27|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+36|0]|w[f+37|0]<<8|(w[f+38|0]<<16|w[f+39|0]<<24);h=w[f+32|0]|w[f+33|0]<<8|(w[f+34|0]<<16|w[f+35|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+44|0]|w[f+45|0]<<8|(w[f+46|0]<<16|w[f+47|0]<<24);h=w[f+40|0]|w[f+41|0]<<8|(w[f+42|0]<<16|w[f+43|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+52|0]|w[f+53|0]<<8|(w[f+54|0]<<16|w[f+55|0]<<24);h=w[f+48|0]|w[f+49|0]<<8|(w[f+50|0]<<16|w[f+51|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+60|0]|w[f+61|0]<<8|(w[f+62|0]<<16|w[f+63|0]<<24);f=w[f+56|0]|w[f+57|0]<<8|(w[f+58|0]<<16|w[f+59|0]<<24);t[g+56|0]=f;t[g+57|0]=f>>>8;t[g+58|0]=f>>>16;t[g+59|0]=f>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;f=J;h=w[f+4|0]|w[f+5|0]<<8|(w[f+6|0]<<16|w[f+7|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+12|0]|w[f+13|0]<<8|(w[f+14|0]<<16|w[f+15|0]<<24);h=w[f+8|0]|w[f+9|0]<<8|(w[f+10|0]<<16|w[f+11|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+20|0]|w[f+21|0]<<8|(w[f+22|0]<<16|w[f+23|0]<<24);h=w[f+16|0]|w[f+17|0]<<8|(w[f+18|0]<<16|w[f+19|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+28|0]|w[f+29|0]<<8|(w[f+30|0]<<16|w[f+31|0]<<24);h=w[f+24|0]|w[f+25|0]<<8|(w[f+26|0]<<16|w[f+27|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+36|0]|w[f+37|0]<<8|(w[f+38|0]<<16|w[f+39|0]<<24);h=w[f+32|0]|w[f+33|0]<<8|(w[f+34|0]<<16|w[f+35|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+44|0]|w[f+45|0]<<8|(w[f+46|0]<<16|w[f+47|0]<<24);h=w[f+40|0]|w[f+41|0]<<8|(w[f+42|0]<<16|w[f+43|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+52|0]|w[f+53|0]<<8|(w[f+54|0]<<16|w[f+55|0]<<24);h=w[f+48|0]|w[f+49|0]<<8|(w[f+50|0]<<16|w[f+51|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+60|0]|w[f+61|0]<<8|(w[f+62|0]<<16|w[f+63|0]<<24);f=w[f+56|0]|w[f+57|0]<<8|(w[f+58|0]<<16|w[f+59|0]<<24);t[g+56|0]=f;t[g+57|0]=f>>>8;t[g+58|0]=f>>>16;t[g+59|0]=f>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;f=I;h=w[f+4|0]|w[f+5|0]<<8|(w[f+6|0]<<16|w[f+7|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+12|0]|w[f+13|0]<<8|(w[f+14|0]<<16|w[f+15|0]<<24);h=w[f+8|0]|w[f+9|0]<<8|(w[f+10|0]<<16|w[f+11|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+20|0]|w[f+21|0]<<8|(w[f+22|0]<<16|w[f+23|0]<<24);h=w[f+16|0]|w[f+17|0]<<8|(w[f+18|0]<<16|w[f+19|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+28|0]|w[f+29|0]<<8|(w[f+30|0]<<16|w[f+31|0]<<24);h=w[f+24|0]|w[f+25|0]<<8|(w[f+26|0]<<16|w[f+27|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+36|0]|w[f+37|0]<<8|(w[f+38|0]<<16|w[f+39|0]<<24);h=w[f+32|0]|w[f+33|0]<<8|(w[f+34|0]<<16|w[f+35|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+44|0]|w[f+45|0]<<8|(w[f+46|0]<<16|w[f+47|0]<<24);h=w[f+40|0]|w[f+41|0]<<8|(w[f+42|0]<<16|w[f+43|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+52|0]|w[f+53|0]<<8|(w[f+54|0]<<16|w[f+55|0]<<24);h=w[f+48|0]|w[f+49|0]<<8|(w[f+50|0]<<16|w[f+51|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+60|0]|w[f+61|0]<<8|(w[f+62|0]<<16|w[f+63|0]<<24);f=w[f+56|0]|w[f+57|0]<<8|(w[f+58|0]<<16|w[f+59|0]<<24);t[g+56|0]=f;t[g+57|0]=f>>>8;t[g+58|0]=f>>>16;t[g+59|0]=f>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;f=H;h=w[f+4|0]|w[f+5|0]<<8|(w[f+6|0]<<16|w[f+7|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+12|0]|w[f+13|0]<<8|(w[f+14|0]<<16|w[f+15|0]<<24);h=w[f+8|0]|w[f+9|0]<<8|(w[f+10|0]<<16|w[f+11|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+20|0]|w[f+21|0]<<8|(w[f+22|0]<<16|w[f+23|0]<<24);h=w[f+16|0]|w[f+17|0]<<8|(w[f+18|0]<<16|w[f+19|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+28|0]|w[f+29|0]<<8|(w[f+30|0]<<16|w[f+31|0]<<24);h=w[f+24|0]|w[f+25|0]<<8|(w[f+26|0]<<16|w[f+27|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+36|0]|w[f+37|0]<<8|(w[f+38|0]<<16|w[f+39|0]<<24);h=w[f+32|0]|w[f+33|0]<<8|(w[f+34|0]<<16|w[f+35|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+44|0]|w[f+45|0]<<8|(w[f+46|0]<<16|w[f+47|0]<<24);h=w[f+40|0]|w[f+41|0]<<8|(w[f+42|0]<<16|w[f+43|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+52|0]|w[f+53|0]<<8|(w[f+54|0]<<16|w[f+55|0]<<24);h=w[f+48|0]|w[f+49|0]<<8|(w[f+50|0]<<16|w[f+51|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+60|0]|w[f+61|0]<<8|(w[f+62|0]<<16|w[f+63|0]<<24);f=w[f+56|0]|w[f+57|0]<<8|(w[f+58|0]<<16|w[f+59|0]<<24);t[g+56|0]=f;t[g+57|0]=f>>>8;t[g+58|0]=f>>>16;t[g+59|0]=f>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;f=G;h=w[f+4|0]|w[f+5|0]<<8|(w[f+6|0]<<16|w[f+7|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+12|0]|w[f+13|0]<<8|(w[f+14|0]<<16|w[f+15|0]<<24);h=w[f+8|0]|w[f+9|0]<<8|(w[f+10|0]<<16|w[f+11|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+20|0]|w[f+21|0]<<8|(w[f+22|0]<<16|w[f+23|0]<<24);h=w[f+16|0]|w[f+17|0]<<8|(w[f+18|0]<<16|w[f+19|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+28|0]|w[f+29|0]<<8|(w[f+30|0]<<16|w[f+31|0]<<24);h=w[f+24|0]|w[f+25|0]<<8|(w[f+26|0]<<16|w[f+27|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+36|0]|w[f+37|0]<<8|(w[f+38|0]<<16|w[f+39|0]<<24);h=w[f+32|0]|w[f+33|0]<<8|(w[f+34|0]<<16|w[f+35|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+44|0]|w[f+45|0]<<8|(w[f+46|0]<<16|w[f+47|0]<<24);h=w[f+40|0]|w[f+41|0]<<8|(w[f+42|0]<<16|w[f+43|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+52|0]|w[f+53|0]<<8|(w[f+54|0]<<16|w[f+55|0]<<24);h=w[f+48|0]|w[f+49|0]<<8|(w[f+50|0]<<16|w[f+51|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+60|0]|w[f+61|0]<<8|(w[f+62|0]<<16|w[f+63|0]<<24);f=w[f+56|0]|w[f+57|0]<<8|(w[f+58|0]<<16|w[f+59|0]<<24);t[g+56|0]=f;t[g+57|0]=f>>>8;t[g+58|0]=f>>>16;t[g+59|0]=f>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;f=F;h=w[f+4|0]|w[f+5|0]<<8|(w[f+6|0]<<16|w[f+7|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+12|0]|w[f+13|0]<<8|(w[f+14|0]<<16|w[f+15|0]<<24);h=w[f+8|0]|w[f+9|0]<<8|(w[f+10|0]<<16|w[f+11|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+20|0]|w[f+21|0]<<8|(w[f+22|0]<<16|w[f+23|0]<<24);h=w[f+16|0]|w[f+17|0]<<8|(w[f+18|0]<<16|w[f+19|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+28|0]|w[f+29|0]<<8|(w[f+30|0]<<16|w[f+31|0]<<24);h=w[f+24|0]|w[f+25|0]<<8|(w[f+26|0]<<16|w[f+27|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+36|0]|w[f+37|0]<<8|(w[f+38|0]<<16|w[f+39|0]<<24);h=w[f+32|0]|w[f+33|0]<<8|(w[f+34|0]<<16|w[f+35|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+44|0]|w[f+45|0]<<8|(w[f+46|0]<<16|w[f+47|0]<<24);h=w[f+40|0]|w[f+41|0]<<8|(w[f+42|0]<<16|w[f+43|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+52|0]|w[f+53|0]<<8|(w[f+54|0]<<16|w[f+55|0]<<24);h=w[f+48|0]|w[f+49|0]<<8|(w[f+50|0]<<16|w[f+51|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+60|0]|w[f+61|0]<<8|(w[f+62|0]<<16|w[f+63|0]<<24);f=w[f+56|0]|w[f+57|0]<<8|(w[f+58|0]<<16|w[f+59|0]<<24);t[g+56|0]=f;t[g+57|0]=f>>>8;t[g+58|0]=f>>>16;t[g+59|0]=f>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;f=p;h=w[f+4|0]|w[f+5|0]<<8|(w[f+6|0]<<16|w[f+7|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+12|0]|w[f+13|0]<<8|(w[f+14|0]<<16|w[f+15|0]<<24);h=w[f+8|0]|w[f+9|0]<<8|(w[f+10|0]<<16|w[f+11|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+20|0]|w[f+21|0]<<8|(w[f+22|0]<<16|w[f+23|0]<<24);h=w[f+16|0]|w[f+17|0]<<8|(w[f+18|0]<<16|w[f+19|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+28|0]|w[f+29|0]<<8|(w[f+30|0]<<16|w[f+31|0]<<24);h=w[f+24|0]|w[f+25|0]<<8|(w[f+26|0]<<16|w[f+27|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+36|0]|w[f+37|0]<<8|(w[f+38|0]<<16|w[f+39|0]<<24);h=w[f+32|0]|w[f+33|0]<<8|(w[f+34|0]<<16|w[f+35|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+44|0]|w[f+45|0]<<8|(w[f+46|0]<<16|w[f+47|0]<<24);h=w[f+40|0]|w[f+41|0]<<8|(w[f+42|0]<<16|w[f+43|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+52|0]|w[f+53|0]<<8|(w[f+54|0]<<16|w[f+55|0]<<24);h=w[f+48|0]|w[f+49|0]<<8|(w[f+50|0]<<16|w[f+51|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+60|0]|w[f+61|0]<<8|(w[f+62|0]<<16|w[f+63|0]<<24);f=w[f+56|0]|w[f+57|0]<<8|(w[f+58|0]<<16|w[f+59|0]<<24);t[g+56|0]=f;t[g+57|0]=f>>>8;t[g+58|0]=f>>>16;t[g+59|0]=f>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;f=C;h=w[f+4|0]|w[f+5|0]<<8|(w[f+6|0]<<16|w[f+7|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+12|0]|w[f+13|0]<<8|(w[f+14|0]<<16|w[f+15|0]<<24);h=w[f+8|0]|w[f+9|0]<<8|(w[f+10|0]<<16|w[f+11|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+20|0]|w[f+21|0]<<8|(w[f+22|0]<<16|w[f+23|0]<<24);h=w[f+16|0]|w[f+17|0]<<8|(w[f+18|0]<<16|w[f+19|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+28|0]|w[f+29|0]<<8|(w[f+30|0]<<16|w[f+31|0]<<24);h=w[f+24|0]|w[f+25|0]<<8|(w[f+26|0]<<16|w[f+27|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+36|0]|w[f+37|0]<<8|(w[f+38|0]<<16|w[f+39|0]<<24);h=w[f+32|0]|w[f+33|0]<<8|(w[f+34|0]<<16|w[f+35|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+44|0]|w[f+45|0]<<8|(w[f+46|0]<<16|w[f+47|0]<<24);h=w[f+40|0]|w[f+41|0]<<8|(w[f+42|0]<<16|w[f+43|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+52|0]|w[f+53|0]<<8|(w[f+54|0]<<16|w[f+55|0]<<24);h=w[f+48|0]|w[f+49|0]<<8|(w[f+50|0]<<16|w[f+51|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+60|0]|w[f+61|0]<<8|(w[f+62|0]<<16|w[f+63|0]<<24);f=w[f+56|0]|w[f+57|0]<<8|(w[f+58|0]<<16|w[f+59|0]<<24);t[g+56|0]=f;t[g+57|0]=f>>>8;t[g+58|0]=f>>>16;t[g+59|0]=f>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;f=z;h=w[f+4|0]|w[f+5|0]<<8|(w[f+6|0]<<16|w[f+7|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+12|0]|w[f+13|0]<<8|(w[f+14|0]<<16|w[f+15|0]<<24);h=w[f+8|0]|w[f+9|0]<<8|(w[f+10|0]<<16|w[f+11|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+20|0]|w[f+21|0]<<8|(w[f+22|0]<<16|w[f+23|0]<<24);h=w[f+16|0]|w[f+17|0]<<8|(w[f+18|0]<<16|w[f+19|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+28|0]|w[f+29|0]<<8|(w[f+30|0]<<16|w[f+31|0]<<24);h=w[f+24|0]|w[f+25|0]<<8|(w[f+26|0]<<16|w[f+27|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+36|0]|w[f+37|0]<<8|(w[f+38|0]<<16|w[f+39|0]<<24);h=w[f+32|0]|w[f+33|0]<<8|(w[f+34|0]<<16|w[f+35|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+44|0]|w[f+45|0]<<8|(w[f+46|0]<<16|w[f+47|0]<<24);h=w[f+40|0]|w[f+41|0]<<8|(w[f+42|0]<<16|w[f+43|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+52|0]|w[f+53|0]<<8|(w[f+54|0]<<16|w[f+55|0]<<24);h=w[f+48|0]|w[f+49|0]<<8|(w[f+50|0]<<16|w[f+51|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+60|0]|w[f+61|0]<<8|(w[f+62|0]<<16|w[f+63|0]<<24);f=w[f+56|0]|w[f+57|0]<<8|(w[f+58|0]<<16|w[f+59|0]<<24);t[g+56|0]=f;t[g+57|0]=f>>>8;t[g+58|0]=f>>>16;t[g+59|0]=f>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;f=l;h=w[f+4|0]|w[f+5|0]<<8|(w[f+6|0]<<16|w[f+7|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+12|0]|w[f+13|0]<<8|(w[f+14|0]<<16|w[f+15|0]<<24);h=w[f+8|0]|w[f+9|0]<<8|(w[f+10|0]<<16|w[f+11|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+20|0]|w[f+21|0]<<8|(w[f+22|0]<<16|w[f+23|0]<<24);h=w[f+16|0]|w[f+17|0]<<8|(w[f+18|0]<<16|w[f+19|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+28|0]|w[f+29|0]<<8|(w[f+30|0]<<16|w[f+31|0]<<24);h=w[f+24|0]|w[f+25|0]<<8|(w[f+26|0]<<16|w[f+27|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+36|0]|w[f+37|0]<<8|(w[f+38|0]<<16|w[f+39|0]<<24);h=w[f+32|0]|w[f+33|0]<<8|(w[f+34|0]<<16|w[f+35|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+44|0]|w[f+45|0]<<8|(w[f+46|0]<<16|w[f+47|0]<<24);h=w[f+40|0]|w[f+41|0]<<8|(w[f+42|0]<<16|w[f+43|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+52|0]|w[f+53|0]<<8|(w[f+54|0]<<16|w[f+55|0]<<24);h=w[f+48|0]|w[f+49|0]<<8|(w[f+50|0]<<16|w[f+51|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+60|0]|w[f+61|0]<<8|(w[f+62|0]<<16|w[f+63|0]<<24);f=w[f+56|0]|w[f+57|0]<<8|(w[f+58|0]<<16|w[f+59|0]<<24);t[g+56|0]=f;t[g+57|0]=f>>>8;t[g+58|0]=f>>>16;t[g+59|0]=f>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;f=s;h=w[f+4|0]|w[f+5|0]<<8|(w[f+6|0]<<16|w[f+7|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+12|0]|w[f+13|0]<<8|(w[f+14|0]<<16|w[f+15|0]<<24);h=w[f+8|0]|w[f+9|0]<<8|(w[f+10|0]<<16|w[f+11|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+20|0]|w[f+21|0]<<8|(w[f+22|0]<<16|w[f+23|0]<<24);h=w[f+16|0]|w[f+17|0]<<8|(w[f+18|0]<<16|w[f+19|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+28|0]|w[f+29|0]<<8|(w[f+30|0]<<16|w[f+31|0]<<24);h=w[f+24|0]|w[f+25|0]<<8|(w[f+26|0]<<16|w[f+27|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+36|0]|w[f+37|0]<<8|(w[f+38|0]<<16|w[f+39|0]<<24);h=w[f+32|0]|w[f+33|0]<<8|(w[f+34|0]<<16|w[f+35|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+44|0]|w[f+45|0]<<8|(w[f+46|0]<<16|w[f+47|0]<<24);h=w[f+40|0]|w[f+41|0]<<8|(w[f+42|0]<<16|w[f+43|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+52|0]|w[f+53|0]<<8|(w[f+54|0]<<16|w[f+55|0]<<24);h=w[f+48|0]|w[f+49|0]<<8|(w[f+50|0]<<16|w[f+51|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+60|0]|w[f+61|0]<<8|(w[f+62|0]<<16|w[f+63|0]<<24);f=w[f+56|0]|w[f+57|0]<<8|(w[f+58|0]<<16|w[f+59|0]<<24);t[g+56|0]=f;t[g+57|0]=f>>>8;t[g+58|0]=f>>>16;t[g+59|0]=f>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;f=y;h=w[f+4|0]|w[f+5|0]<<8|(w[f+6|0]<<16|w[f+7|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+12|0]|w[f+13|0]<<8|(w[f+14|0]<<16|w[f+15|0]<<24);h=w[f+8|0]|w[f+9|0]<<8|(w[f+10|0]<<16|w[f+11|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+20|0]|w[f+21|0]<<8|(w[f+22|0]<<16|w[f+23|0]<<24);h=w[f+16|0]|w[f+17|0]<<8|(w[f+18|0]<<16|w[f+19|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+28|0]|w[f+29|0]<<8|(w[f+30|0]<<16|w[f+31|0]<<24);h=w[f+24|0]|w[f+25|0]<<8|(w[f+26|0]<<16|w[f+27|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+36|0]|w[f+37|0]<<8|(w[f+38|0]<<16|w[f+39|0]<<24);h=w[f+32|0]|w[f+33|0]<<8|(w[f+34|0]<<16|w[f+35|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+44|0]|w[f+45|0]<<8|(w[f+46|0]<<16|w[f+47|0]<<24);h=w[f+40|0]|w[f+41|0]<<8|(w[f+42|0]<<16|w[f+43|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+52|0]|w[f+53|0]<<8|(w[f+54|0]<<16|w[f+55|0]<<24);h=w[f+48|0]|w[f+49|0]<<8|(w[f+50|0]<<16|w[f+51|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+60|0]|w[f+61|0]<<8|(w[f+62|0]<<16|w[f+63|0]<<24);f=w[f+56|0]|w[f+57|0]<<8|(w[f+58|0]<<16|w[f+59|0]<<24);t[g+56|0]=f;t[g+57|0]=f>>>8;t[g+58|0]=f>>>16;t[g+59|0]=f>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;f=r;h=w[f+4|0]|w[f+5|0]<<8|(w[f+6|0]<<16|w[f+7|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+12|0]|w[f+13|0]<<8|(w[f+14|0]<<16|w[f+15|0]<<24);h=w[f+8|0]|w[f+9|0]<<8|(w[f+10|0]<<16|w[f+11|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+20|0]|w[f+21|0]<<8|(w[f+22|0]<<16|w[f+23|0]<<24);h=w[f+16|0]|w[f+17|0]<<8|(w[f+18|0]<<16|w[f+19|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+28|0]|w[f+29|0]<<8|(w[f+30|0]<<16|w[f+31|0]<<24);h=w[f+24|0]|w[f+25|0]<<8|(w[f+26|0]<<16|w[f+27|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+36|0]|w[f+37|0]<<8|(w[f+38|0]<<16|w[f+39|0]<<24);h=w[f+32|0]|w[f+33|0]<<8|(w[f+34|0]<<16|w[f+35|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+44|0]|w[f+45|0]<<8|(w[f+46|0]<<16|w[f+47|0]<<24);h=w[f+40|0]|w[f+41|0]<<8|(w[f+42|0]<<16|w[f+43|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+52|0]|w[f+53|0]<<8|(w[f+54|0]<<16|w[f+55|0]<<24);h=w[f+48|0]|w[f+49|0]<<8|(w[f+50|0]<<16|w[f+51|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+60|0]|w[f+61|0]<<8|(w[f+62|0]<<16|w[f+63|0]<<24);f=w[f+56|0]|w[f+57|0]<<8|(w[f+58|0]<<16|w[f+59|0]<<24);t[g+56|0]=f;t[g+57|0]=f>>>8;t[g+58|0]=f>>>16;t[g+59|0]=f>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;f=m;h=w[f+4|0]|w[f+5|0]<<8|(w[f+6|0]<<16|w[f+7|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+12|0]|w[f+13|0]<<8|(w[f+14|0]<<16|w[f+15|0]<<24);h=w[f+8|0]|w[f+9|0]<<8|(w[f+10|0]<<16|w[f+11|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+20|0]|w[f+21|0]<<8|(w[f+22|0]<<16|w[f+23|0]<<24);h=w[f+16|0]|w[f+17|0]<<8|(w[f+18|0]<<16|w[f+19|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+28|0]|w[f+29|0]<<8|(w[f+30|0]<<16|w[f+31|0]<<24);h=w[f+24|0]|w[f+25|0]<<8|(w[f+26|0]<<16|w[f+27|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+36|0]|w[f+37|0]<<8|(w[f+38|0]<<16|w[f+39|0]<<24);h=w[f+32|0]|w[f+33|0]<<8|(w[f+34|0]<<16|w[f+35|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+44|0]|w[f+45|0]<<8|(w[f+46|0]<<16|w[f+47|0]<<24);h=w[f+40|0]|w[f+41|0]<<8|(w[f+42|0]<<16|w[f+43|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+52|0]|w[f+53|0]<<8|(w[f+54|0]<<16|w[f+55|0]<<24);h=w[f+48|0]|w[f+49|0]<<8|(w[f+50|0]<<16|w[f+51|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+60|0]|w[f+61|0]<<8|(w[f+62|0]<<16|w[f+63|0]<<24);f=w[f+56|0]|w[f+57|0]<<8|(w[f+58|0]<<16|w[f+59|0]<<24);t[g+56|0]=f;t[g+57|0]=f>>>8;t[g+58|0]=f>>>16;t[g+59|0]=f>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;q=q+16|0;g=v[a+12>>2];A=A+32|0;if((g|0)>(A|0)){continue}break}f=v[a+16>>2]}n=(g<<6)+n|0;D=D+32|0;if((D|0)<(f|0)){continue}break}}f=v[a+12>>2];n=v[a+8>>2];m=v[a+4>>2];c:{if(e){su(o,m,n,f,32,2);z=v[a+16>>2];if((z|0)<1){break c}n=v[a+12>>2];if((n|0)<1){break c}y=n+1|0;e=n-1|0;o=(e>>>1|0)+1|0;f=o&-4;o=o&3;s=0;g=v[k+2060>>2];C=e>>>0<6;while(1){e=f;if(!C){while(1){l=x[g>>1];u[g+2>>1]=l;m=y<<1;u[m+g>>1]=l;r=n<<1;u[r+g>>1]=l;l=x[g+4>>1];u[g+6>>1]=l;p=g+4|0;u[p+m>>1]=l;u[r+p>>1]=l;l=x[g+8>>1];u[g+10>>1]=l;p=g+8|0;u[p+m>>1]=l;u[r+p>>1]=l;l=x[g+12>>1];u[g+14>>1]=l;i=m;m=g+12|0;u[i+m>>1]=l;u[m+r>>1]=l;g=g+16|0;e=e-4|0;if(e){continue}break}}e=o;if(e){while(1){m=x[g>>1];u[g+2>>1]=m;u[(y<<1)+g>>1]=m;u[(n<<1)+g>>1]=m;g=g+4|0;e=e-1|0;if(e){continue}break}}g=(n<<1)+g|0;s=s+2|0;if((z|0)>(s|0)){continue}break}break c}su(o,m,n,f,32,1)}j=v[a+8>>2];d:{if((j|0)<1){break d}e=v[a+4>>2];if((e|0)<1){break d}h=v[k+2060>>2];q=0;while(1){g=0;f=b;if((e|0)>0){while(1){e=u[(g<<1)+h>>1];o=e+32>>6;t[f|0]=(e|0)<-8224?-128:(o|0)<127?o:127;f=d+f|0;e=v[a+4>>2];g=g+1|0;if((e|0)>(g|0)){continue}break}j=v[a+8>>2]}b=b+c|0;h=(v[a+12>>2]<<1)+h|0;q=q+1|0;if((q|0)<(j|0)){continue}break}}ec(E);Ma=k+2064|0}function K5(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,p=0,q=0,r=0,s=0,z=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,P=0,Q=0,R=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0;T=Ma-5216|0;Ma=T;A5();v[T+1216>>2]=0;v[T+192>>2]=0;a:{b:{c:{f=gb(360);if(f){v[f+32>>2]=0;v[f+24>>2]=-1;v[f+28>>2]=0;v[f+16>>2]=0;v[f+20>>2]=-1;v[f+8>>2]=-1;v[f+12>>2]=0;v[f>>2]=0;v[f+4>>2]=-1;v[f+52>>2]=0;j=v[a+16>>2];v[f+48>>2]=j;h=1;q=1;d:{e:{f:{if((j|0)>=1){H=v[a+8>>2];g=v[a+24>>2];while(1){e=v[g+(p<<2)>>2];d=v[e+8>>2];g:{if((H|0)<((d+v[e>>2]|0)+B(d,v[e+16>>2])|0)){l=v[e+12>>2];if(v[a+12>>2]<((l+v[e+4>>2]|0)+B(l,v[e+20>>2])|0)){break g}}Nb(58962,0);break f}q=B(l,q);h=B(d,h);p=p+1|0;if((j|0)!=(p|0)){continue}break}}e=gb(B(j,412));v[f+52>>2]=e;if(!e){break f}if(v[f+48>>2]>=1){while(1){j=v[v[a+24>>2]+(I<<2)>>2];t[e|0]=v[j+8>>2];d=v[j+12>>2];t[e+2|0]=0;t[e+1|0]=d;t[e+4|0]=v[j+24>>2];t[e+5|0]=v[j+28>>2]!=0;eb(e+8|0,0,404);e=e+412|0;I=I+1|0;if((I|0)>2]){continue}break}}e=v[a+16>>2];if((e|0)<1){e=0}else{l=e&1;j=v[a+24>>2];h:{if((e|0)==1){e=0;H=0;break h}p=e&-2;e=0;H=0;while(1){g=H<<2;d=v[j+(g|4)>>2];n=e;e=v[g+j>>2];e=((B(B(v[d+20>>2],v[d+16>>2]),v[d+24>>2])+7|0)/8|0)+(n+((B(B(v[e+20>>2],v[e+16>>2]),v[e+24>>2])+7|0)/8|0)|0)|0;H=H+2|0;p=p-2|0;if(p){continue}break}}if(l){d=e;e=v[j+(H<<2)>>2];e=d+((B(B(v[e+20>>2],v[e+16>>2]),v[e+24>>2])+7|0)/8|0)|0}}v[f+352>>2]=-1;v[f+356>>2]=e;t[f+348|0]=2;l=0;t[f+80|0]=0;v[f+72>>2]=6;v[f+76>>2]=6;u[f+68>>1]=1536;v[f+60>>2]=1;v[f+64>>2]=0;t[f+58|0]=0;u[f+56>>1]=1;d=Vt(c?c:59348);if(!d){break f}I=15;e=1;i:{if(Nm(d)){p=15;break i}p=15;while(1){c=e;e=0;j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{j=rp(1020592,v[d+4>>2]);switch(v[(j?j:1019296)>>2]){case 13:break j;case 26:break m;case 25:break n;case 24:break o;case 23:break p;case 22:break q;case 21:break r;case 20:break s;case 19:break t;case 18:break u;case 17:break v;case 16:break w;case 15:break x;case 14:break y;case 12:break z;case 11:break A;case 10:break B;case 9:break C;case 8:break D;case 7:break E;case 6:break F;case 5:break G;case 4:break H;case 3:break I;case 2:break J;case 1:break K;case 0:break L;default:break l}}oa=f,pa=td(v[d+8>>2]),v[oa>>2]=pa;break k}oa=f,pa=td(v[d+8>>2]),v[oa+4>>2]=pa;break k}oa=f,pa=td(v[d+8>>2]),v[oa+8>>2]=pa;break k}oa=f,pa=td(v[d+8>>2]),v[oa+20>>2]=pa;break k}oa=f,pa=td(v[d+8>>2]),v[oa+24>>2]=pa;break k}oa=f,pa=td(v[d+8>>2]),v[oa+28>>2]=pa;break k}oa=f,pa=td(v[d+8>>2]),v[oa+32>>2]=pa;break k}p=kp(td(v[d+8>>2]));break k}I=kp(td(v[d+8>>2]));break k}oa=f,pa=kp(td(v[d+8>>2])),v[oa+72>>2]=pa;break k}oa=f,pa=kp(td(v[d+8>>2])),v[oa+76>>2]=pa;break k}e=rp(1020864,v[d+8>>2]);e=v[(e?e:1019296)>>2];if((e|0)<=-1){v[T+144>>2]=v[d+8>>2];Nb(59506,T+144|0);break k}t[f+56|0]=!e;break k}e=rp(1020816,v[d+8>>2]);e=v[(e?e:1019296)>>2];if((e|0)<=-1){v[T+160>>2]=v[d+8>>2];Nb(59744,T+160|0);break k}t[f+58|0]=e;break k}oa=f,pa=td(v[d+8>>2]),t[oa+69|0]=pa;break k}t[f+57|0]=w[f+57|0]|2;break k}t[f+57|0]=w[f+57|0]|4;break k}t[f+80|0]=w[f+80|0]|1;break k}t[f+80|0]=w[f+80|0]|4;break k}t[f+80|0]=w[f+80|0]|32;break k}t[f+80|0]=w[f+80|0]|8;break k}t[f+80|0]=w[f+80|0]|2;break k}t[f+80|0]=w[f+80|0]|16;break k}oa=f,pa=td(v[d+8>>2]),t[oa+348|0]=pa;break k}e=v[f+356>>2];j=v[d+8>>2];if(ye(j,66)){oa=f,pa=td(j),v[oa+352>>2]=pa;break k}K=Ue(j);if(!(K<0)){if(K>1){v[f+352>>2]=e+1;break k}K=K*+(e>>>0);if(K<4294967296&K>=0){v[f+352>>2]=~~K>>>0;break k}}v[f+352>>2]=0;break k}E=T+1216|0;H=0;n=0;o=Ma-4096|0;Ma=o;J=v[d+8>>2];g=Sb(o,J,4096);t[o+4095|0]=0;M:{N:{if(!$f(g,1021168)){break N}e=1;while(1){j=e;e=e+1|0;if($f(0,1021168)){continue}break}H=gb(j<<3);if(!H){n=-1;break M}e=0;j=Sb(g,J,4096);t[o+4095|0]=0;j=$f(j,1021168);if(!j){break N}oa=H,qa=Ue(j),A[oa>>3]=qa;e=1;g=$f(0,1021168);if(!g){break N}while(1){oa=(e<<3)+H|0,qa=Ue(g),A[oa>>3]=qa;e=e+1|0;g=$f(0,1021168);if(g){continue}break}}v[E>>2]=e;v[T+192>>2]=H}Ma=o+4096|0;if(!n){break k}v[T+176>>2]=v[d+8>>2];Nb(60313,T+176|0);break k}l=td(v[d+8>>2]);break k}v[T+128>>2]=v[d+4>>2];Nb(60594,T+128|0)}e=c}if(!Nm(d)){continue}break}}gr(d);c=v[f+352>>2];if((c|0)!=-1){j=c-l|0;v[f+352>>2]=c>>>0>>0?0:j}j=0;H=0;c=v[f+4>>2];if((c|0)!=-1){if((h|0)!=1){Nb(60852,0);c=v[f+4>>2]}H=B(c,h)}v[f+4>>2]=H;c=v[f+8>>2];if((c|0)!=-1){if((q|0)!=1){Nb(61059,0);H=v[f+4>>2];c=v[f+8>>2]}j=B(c,q)}v[f+8>>2]=j;c=(v[a+8>>2]-v[a>>2]|0)+H|0;v[f+12>>2]=c;d=(v[a+12>>2]-v[a+4>>2]|0)+j|0;v[f+16>>2]=d;h=v[f+20>>2];if((h|0)==-1){v[f+20>>2]=H;h=H}H=v[f+24>>2];if((H|0)==-1){v[f+24>>2]=j;H=j}if(!v[f+28>>2]){v[f+28>>2]=c-h}if(!v[f+32>>2]){v[f+32>>2]=d-H}O:{P:{if(v[f+48>>2]!=3){break P}j=1;Q:{d=v[a+16>>2];if((d|0)<1){break Q}H=0;l=v[a+24>>2];c=v[l>>2];g=v[c+24>>2];h=g;q=c;while(1){R:{if(!((g|0)!=(h|0)|v[q+28>>2]!=v[c+28>>2]|v[q+16>>2]!=v[c+16>>2])){if(v[q+20>>2]==v[c+20>>2]){break R}}j=0}H=H+1|0;if((d|0)==(H|0)){break Q}q=v[l+(H<<2)>>2];h=v[q+24>>2];continue}}if(!(j&1)|(e^1)&1){break P}c=v[a+28>>2];if((c&-256)!=1024){Nb(61208,0);c=v[a+28>>2]}if((c&-256)!=1024){break P}e=w[f+56|0];t[f+59|0]=e?2:1;break O}t[f+59|0]=0;e=w[f+56|0]}t[f+81|0]=e;d=w[f+69|0];S:{if(!d){break S}c=f+216|0;h=f+84|0;j=d&3;e=0;if(d-1>>>0>=3){l=d&252;while(1){d=e<<2;v[d+h>>2]=p;v[c+d>>2]=I;q=d|4;v[q+h>>2]=p;v[c+q>>2]=I;q=d|8;v[q+h>>2]=p;v[c+q>>2]=I;d=d|12;v[d+h>>2]=p;v[c+d>>2]=I;e=e+4|0;l=l-4|0;if(l){continue}break}}if(!j){break S}while(1){d=e<<2;v[d+h>>2]=p;v[c+d>>2]=I;e=e+1|0;j=j-1|0;if(j){continue}break}}if(!((p|0)==15&(I|0)==15)){t[f+68|0]=w[f+68|0]|1}e=v[f+28>>2];if(!e){v[T+32>>2]=0;Nb(61404,T+32|0);break f}h=v[f+32>>2];if(!h){v[T+48>>2]=0;Nb(61561,T+48|0);break f}c=v[f+24>>2];T:{j=v[f+20>>2];d=v[f+4>>2];U:{if(j>>>0>d>>>0){break U}q=v[f+8>>2];if(q>>>0>>0|d>>>0>e+j>>>0){break U}if(q>>>0<=c+h>>>0){break T}}v[T+68>>2]=c;v[T+64>>2]=j;Nb(61717,T- -64|0);break f}c=(v[f+16>>2]+(h+(c^-1)|0)>>>0)/(h>>>0)|0;v[f+40>>2]=c;e=(v[f+12>>2]+(e+(j^-1)|0)>>>0)/(e>>>0)|0;v[f+36>>2]=e;v[f+44>>2]=B(c,e);V:{if(!v[T+192>>2]){break V}c=v[T+1216>>2];if((c|0)<1){break V}v[f+60>>2]=c+1;c=gb(c<<2);v[f+64>>2]=c;if(!c){break f}if((v[f+60>>2]-1|0)<1){break V}e=0;j=v[T+192>>2];while(1){h=c+(e<<2)|0;K=A[j+(e<<3)>>3]*8192;W:{if(D(K)<2147483648){d=~~K;break W}d=-2147483648}v[h>>2]=d;e=e+1|0;if((e|0)<(v[f+60>>2]-1|0)){continue}break}}c=v[f+352>>2];if(!(w[f+56|0]|(c|0)!=-1)){Nb(61879,0);break f}if(p>>>0>=16){Nb(62091,0);break f}if(I>>>0>=16){Nb(62299,0);break f}e=v[f+72>>2];if(e-2>>>0>=11){v[T+80>>2]=1<>2];if(h-2>>>0>=11){v[T+96>>2]=1<>>0>=13){Nb(62864,0);break f}H=v[f+60>>2];if(H>>>0>=16385){Nb(63010,0);break f}if(!w[f+69|0]){Nb(63139,0);break f}if(w[f+348|0]>=9){Nb(63396,0);break f}X:{if((c|0)==-1){break X}e=v[f+356>>2];if(e>>>0>=c>>>0){break X}v[T+116>>2]=e;v[T+112>>2]=c;Nb(63547,T+112|0);H=v[f+60>>2]}Y:{if(H>>>0<2){break Y}c=H-2|0;e=0;Z:{while(1){if((c|0)==(e|0)){break Z}h=v[f+64>>2];d=v[h+(e<<2)>>2];e=e+1|0;if((d|0)>2]){continue}break}Nb(63795,0);break f}c=v[f+352>>2];if((c|0)==-1){break Y}h=H-1|0;if(!h){break Y}K=+(c>>>0)/+y[f+356>>2];c=v[f+64>>2];e=0;while(1){if(!(K<+v[c+(e<<2)>>2]*.0001220703125)){e=e+1|0;if((h|0)!=(e|0)){continue}break Y}break}Nb(64028,0);break f}c=v[T+192>>2];if(!c){e=f;break d}e=f;f=c;break e}c=v[T+192>>2];if(c){$a(c)}e=0;c=v[f+52>>2];if(!c){break e}h=v[f+64>>2];if(h){$a(h);c=v[f+52>>2]}$a(c)}$a(f)}if(e){break c}}Nb(51222,0);e=-1;break b}_:{C=gb(36);if(C){v[C+8>>2]=e;v[C+4>>2]=b;v[C>>2]=a;v[C+28>>2]=0;v[C+32>>2]=0;v[C+12>>2]=0;v[C+16>>2]=0;a=S5();v[C+16>>2]=a;if(a){break _}TL(C)}a=v[e+52>>2];if(a){b=v[e- -64>>2];if(b){$a(b);a=v[e+52>>2]}$a(a)}$a(e);e=-1;break b}v[C+20>>2]=0;v[C+24>>2]=0;b=v[C+8>>2];q=v[v[C+4>>2]+60>>2];a=nk(65359);v[C+28>>2]=a;$:{if(!a){break $}p=64237;aa:{if(mk(v[C+4>>2],v[C+16>>2],a)){break aa}ci(v[C+28>>2]);v[C+28>>2]=0;a=nk(65361);v[C+28>>2]=a;if(!a){break $}v[a+12>>2]=0;v[a+24>>2]=v[b+4>>2];v[a+28>>2]=v[b+8>>2];v[a+16>>2]=v[b+12>>2];v[a+20>>2]=v[b+16>>2];v[a+40>>2]=v[b+20>>2];v[a+44>>2]=v[b+24>>2];v[a+32>>2]=v[b+28>>2];v[a+36>>2]=v[b+32>>2];c=v[b+48>>2];v[a+48>>2]=c;e=gb(c<<2);v[a+52>>2]=e;ba:{ca:{da:{if(e){h=v[b+48>>2];if((h|0)>=1){j=v[b+52>>2];f=0;while(1){a=e+(f<<2)|0;c=j+B(f,412)|0;t[a|0]=w[c+4|0];t[a+1|0]=w[c+5|0];t[a+2|0]=w[c|0];t[a+3|0]=w[c+1|0];f=f+1|0;if((h|0)!=(f|0)){continue}break}}p=64615;if(mk(v[C+4>>2],v[C+16>>2],v[C+28>>2])){break aa}ci(v[C+28>>2]);v[C+28>>2]=0;a=nk(65380);v[C+28>>2]=a;if(!a){break $}v[T+16>>2]=3423;a=T+192|0;Dc(a,64700,T+16|0);e=zb(a);c=v[C+28>>2];v[c+12>>2]=1;v[c+16>>2]=e;a=tp(a);v[c+20>>2]=a;ea:{fa:{if(!a){break fa}p=64872;if(mk(v[C+4>>2],v[C+16>>2],v[C+28>>2])){break aa}ci(v[C+28>>2]);v[C+28>>2]=0;if(v[b+48>>2]){a=T+1256|0;c=0;while(1){e=QL(w[b+81|0],w[b+69|0]-1|0);f=1<>>0>2){break ga}}f=w[b+69|0];e=B(f,3)-2|0;ia:{if(!e){j=v[b+52>>2];break ia}j=vC(w[b+81|0],0,v[T+1232>>2]);f=8192;if(!w[b+56|0]){f=8192<>31;h=f;f=v[T+1252>>2];f=y3a(h<<13,d<<13|h>>>19,f,f>>31);if((f|0)<0){break fa}}h=B(c,412);p=w[(h+v[b+52>>2]|0)+4|0];l=Jl(f);d=Jl(f);j=j+p|0;p=l-13|0;if((j|0)<(p|0)){break fa}p=j-p|0;if(p>>>0>31){break a}j=v[b+52>>2];v[(h+j|0)+12>>2]=((d|0)>11?f>>>d-11|0:f<<11-d)&2047|p<<11&63488;p=1;H=a;if((e|0)==1){break ia}while(1){j=vC(w[b+81|0],((p-1>>>0)/3|0)+1|0,v[H+16>>2]);f=8192;if(!w[b+56|0]){f=8192<>31;d=f;f=v[H+36>>2];f=y3a(d<<13,l<<13|d>>>19,f,f>>31);if((f|0)<=-1){break fa}}l=w[(h+v[b+52>>2]|0)+4|0];g=Jl(f);d=Jl(f);j=j+l|0;l=g-13|0;if((j|0)<(l|0)){break fa}l=j-l|0;if(l>>>0>=32){break a}j=v[b+52>>2];v[((h+j|0)+(p<<2)|0)+12>>2]=((d|0)>11?f>>>d-11|0:f<<11-d)&2047|l<<11&63488;H=H+40|0;p=p+1|0;if((e|0)!=(p|0)){continue}break}}v[(B(c,412)+j|0)+8>>2]=e;c=c+1|0;if(c>>>0>2]){continue}break}}a=nk(65362);v[C+28>>2]=a;if(!a){break $}e=w[b+68|0];c=e|w[b+57|0];t[a+24|0]=c;t[a+12|0]=c;c=w[b+69|0];v[a+32>>2]=c;t[a+25|0]=c-1;t[a+13|0]=w[b+58|0];v[a+16>>2]=v[b+60>>2];t[a+26|0]=w[b+72|0]-2;t[a+27|0]=w[b+76|0]-2;t[a+28|0]=w[b+80|0];t[a+29|0]=w[b+81|0];t[a+20|0]=w[b+59|0]!=0;ja:{if(!(e&1)|!c){break ja}f=0;if((c|0)!=1){p=c&254;e=a+36|0;h=b+84|0;j=b+216|0;while(1){d=e+(f<<1)|0;l=f<<2;t[d|0]=v[l+h>>2];t[d+1|0]=v[j+l>>2];d=f|1;l=e+(d<<1)|0;d=d<<2;t[l|0]=v[d+h>>2];t[l+1|0]=v[d+j>>2];f=f+2|0;p=p-2|0;if(p){continue}break}}if(!(c&1)){break ja}c=a+(f<<1)|0;e=b+(f<<2)|0;t[c+36|0]=v[e+84>>2];t[c+37|0]=v[e+216>>2]}p=64984;if(mk(v[C+4>>2],v[C+16>>2],a)){break aa}ci(v[C+28>>2]);v[C+28>>2]=0;a=nk(65372);v[C+28>>2]=a;if(!a){break $}p=1;t[a+12|0]=!w[b+81|0]<<1;c=v[b+52>>2];v[a+16>>2]=v[c+8>>2];e=w[b+348|0];v[a+20>>2]=c+12;t[a+24|0]=e;if(mk(v[C+4>>2],v[C+16>>2],a)){break $}v[a+20>>2]=0;ci(v[C+28>>2]);v[C+28>>2]=0;if(y[b+48>>2]>=2){while(1){a=nk(65373);v[C+28>>2]=a;if(!a){break $}v[a+12>>2]=p;t[a+16|0]=!w[b+81|0]<<1;c=v[b+52>>2]+B(p,412)|0;v[a+20>>2]=v[c+8>>2];e=w[b+348|0];v[a+24>>2]=c+12;t[a+28|0]=e;if(mk(v[C+4>>2],v[C+16>>2],a)){break $}v[a+24>>2]=0;ci(v[C+28>>2]);v[C+28>>2]=0;p=p+1|0;if(p>>>0>2]){continue}break}}b=v[v[C+4>>2]+60>>2]-q|0;v[C+20>>2]=b+v[C+20>>2];a=v[v[C+8>>2]+352>>2];b=(a-b|0)-2|0;v[C+24>>2]=(a|0)==-1?-1:a>>>0>>0?0:b;H=v[C+8>>2];if(v[H+44>>2]<=0){break ea}c=J5(H,v[C>>2],0);v[C+12>>2]=c;if(!c){break fa}while(1){if(v[279756]>=10){I=0;a=Ma-96|0;Ma=a;d=v[C+12>>2];if(v[d+44>>2]){f=v[d+48>>2];while(1){b=v[f+8>>2];e=v[b+4>>2];h=v[b+8>>2];j=v[b+16>>2];v[a+88>>2]=v[b+12>>2];v[a+92>>2]=j;v[a+80>>2]=e;v[a+84>>2]=h;Nb(57492,a+80|0);if(v[f>>2]){b=v[f+4>>2];l=0;while(1){e=v[b>>2];h=v[b+4>>2];j=v[b+12>>2];v[a+72>>2]=v[b+8>>2];v[a+76>>2]=j;v[a+64>>2]=e;v[a+68>>2]=h;Nb(57826,a- -64|0);if(v[b+52>>2]){j=v[b+56>>2];q=0;while(1){e=v[j+4>>2];ka:{if(!e){break ka}h=v[e+4>>2];p=v[e+8>>2];g=v[e+16>>2];v[a+56>>2]=v[e+12>>2];v[a+60>>2]=g;v[a+48>>2]=h;v[a+52>>2]=p;Nb(58189,a+48|0);if(!v[b+32>>2]){break ka}e=v[j>>2];g=0;while(1){h=v[e+8>>2];p=v[e>>2];o=v[e+12>>2];n=v[e+4>>2];v[a+36>>2]=o-n;v[a+32>>2]=h-p;v[a+28>>2]=o;v[a+24>>2]=h;v[a+20>>2]=n;v[a+16>>2]=p;Nb(58500,a+16|0);p=v[e+28>>2];la:{if(!p){break la}n=0;if(!v[e+24>>2]){break la}while(1){h=v[p+28>>2];o=v[h+4>>2];E=v[h+8>>2];J=v[h+16>>2];v[a+8>>2]=v[h+12>>2];v[a+12>>2]=J;v[a>>2]=o;v[a+4>>2]=E;Nb(58715,a);p=p+60|0;n=n+1|0;if(n>>>0>2]){continue}break}}e=e+52|0;g=g+1|0;if(g>>>0>2]){continue}break}}j=j+36|0;q=q+1|0;if(q>>>0>2]){continue}break}}b=b- -64|0;l=l+1|0;if(l>>>0>2]){continue}break}}f=f+716|0;I=I+1|0;if(I>>>0>2]){continue}break}}Ma=a+96|0}l=v[c+48>>2];I=v[c+44>>2];if((I|0)>=1){d=v[H+52>>2];h=0;j=l;while(1){a=d+B(h,412)|0;ma:{if(w[a+5|0]){break ma}b=v[j+8>>2];e=v[b+20>>2];if((e|0)<1){break ma}f=v[b+24>>2];if((f|0)<1){break ma}q=-1<=1){p=v[v[b+28>>2]+(a<<2)>>2];e=0;while(1){f=p+(e<<2)|0;v[f>>2]=q+v[f>>2];f=v[b+24>>2];e=e+1|0;if((f|0)>(e|0)){continue}break}e=v[b+20>>2]}a=a+1|0;if((e|0)>(a|0)){continue}break}I=v[c+44>>2]}j=j+716|0;h=h+1|0;if((I|0)>(h|0)){continue}break}}if(!(w[c+36|0]|!I)){a=B(I,716)+l|0;while(1){GC(v[l+8>>2],13);l=l+716|0;if((a|0)!=(l|0)){continue}break}}na:{oa:{switch(w[c+28|0]-1|0){case 1:if(v[v[C>>2]+16>>2]!=3){break da}a=v[c+48>>2];b=v[a+8>>2];e=v[a+1440>>2];p=0;pa:{qa:{d=v[b+20>>2];f=v[a+724>>2];if((d|0)!=v[f+20>>2]){break qa}a=v[b+24>>2];if((a|0)!=v[f+24>>2]|(d|0)!=v[e+20>>2]|(a|0)!=v[e+24>>2]){break qa}if(!((d|0)<1|(a|0)<1)){l=v[e+28>>2];g=v[f+28>>2];o=v[b+28>>2];h=a-1|0;n=a&1;while(1){b=p<<2;e=v[b+l>>2];f=v[b+g>>2];j=v[b+o>>2];if(n){E=v[e>>2];q=v[j>>2];b=v[f>>2];v[j>>2]=E+(q+(b<<1)|0)>>2;v[f>>2]=E-b;v[e>>2]=q-b;e=e+4|0;f=f+4|0;j=j+4|0;b=h}else{b=a}if((a|0)!=1){while(1){I=v[e>>2];E=v[j>>2];q=v[f>>2];v[j>>2]=I+(E+(q<<1)|0)>>2;v[f>>2]=I-q;v[e>>2]=E-q;I=v[e+4>>2];E=v[j+4>>2];q=v[f+4>>2];v[j+4>>2]=I+(E+(q<<1)|0)>>2;v[f+4>>2]=I-q;v[e+4>>2]=E-q;e=e+8|0;f=f+8|0;j=j+8|0;q=(b|0)>2;b=b-2|0;if(q){continue}break}}p=p+1|0;if((d|0)!=(p|0)){continue}break}}break pa}O(1345,6316,102,189063);L()}break na;case 0:break oa;default:break na}}if(v[v[C>>2]+16>>2]!=3){break ca}a=v[c+48>>2];b=v[a+8>>2];p=0;ra:{sa:{q=v[b+20>>2];f=v[a+724>>2];e=v[a+1440>>2];if(!((q|0)!=v[f+20>>2]|(q|0)!=v[e+20>>2])){a=v[b+24>>2];if((a|0)!=v[f+24>>2]|(a|0)!=v[e+24>>2]){break sa}if(!((q|0)<1|(a|0)<1)){I=v[e+28>>2];J=v[f+28>>2];i=v[b+28>>2];while(1){b=p<<2;e=v[b+I>>2];f=v[b+J>>2];j=v[b+i>>2];b=a;while(1){l=v[e>>2];g=l;h=g>>31;R=h;h=x3a(g,h,933,0);U=(Pa&8191)<<19|h>>>13;o=v[f>>2];h=o>>31;n=x3a(o,h,4808,0);k=(Pa&8191)<<19|n>>>13;n=v[j>>2];z=n>>31;d=x3a(n,z,2449,0);v[j>>2]=(((Pa&8191)<<19|d>>>13)+k|0)+U;d=x3a(o,h,-2713,-1);l=(Pa&8191)<<19|d>>>13;d=x3a(n,z,-1382,-1);v[f>>2]=l+(((Pa&8191)<<19|d>>>13)+(g>>1)|0);d=x3a(g,R,-666,-1);d=(Pa&8191)<<19|d>>>13;h=x3a(o,h,-3429,-1);v[e>>2]=d+(((Pa&8191)<<19|h>>>13)+(n>>1)|0);e=e+4|0;f=f+4|0;j=j+4|0;h=(b|0)>1;b=b-1|0;if(h){continue}break}p=p+1|0;if((q|0)!=(p|0)){continue}break}}break ra}O(9351,6316,188,189080);L()}O(12825,6316,190,189080);L()}}e=0;if(v[v[C>>2]+16>>2]>=1){while(1){b=v[c+48>>2]+B(e,716)|0;a=v[b+20>>2];b=v[b+8>>2];f=v[a>>2];if((f|0)>=1){h=v[b+28>>2];j=v[h>>2];q=v[b+4>>2];l=v[b+8>>2];z5(a,j,q,l,v[b+12>>2]-q|0,v[b+16>>2]-l|0,v[b+20>>2]>=2?v[h+4>>2]-j>>2:0,f-1|0)}e=e+1|0;if((e|0)>2]+16>>2]){continue}break}}a=v[c+44>>2];if(a){j=v[c+48>>2];i=j+B(a,716)|0;n=0;while(1){eb(j+312|0,0,400);l=0;e=v[j>>2];if((e|0)>=1){g=v[j+4>>2];o=0;q=0;while(1){b=v[g+56>>2];ta:{if(!b){q=(o?3:1)+q|0;break ta}a=v[g+52>>2];if(!a){break ta}R=B(a,36)+b|0;while(1){f=v[b+4>>2];if(f){e=0;U=v[f+20>>2];ua:{if(!U){break ua}d=v[f+24>>2];if(!d){break ua}a=d&-2;k=d&1;z=v[f+28>>2];h=0;while(1){p=v[z+(h<<2)>>2];f=0;I=a;if((d|0)!=1){while(1){J=f<<2;Q=v[p+(J|4)>>2];E=Q>>31;N=v[p+J>>2];J=N>>31;E=E^E+Q;J=J^J+N;e=(e|0)<(J|0)?J:e;e=(e|0)<(E|0)?E:e;f=f+2|0;I=I-2|0;if(I){continue}break}}if(k){p=v[p+(f<<2)>>2];f=p>>31;f=f^f+p;e=(e|0)<(f|0)?f:e}h=h+1|0;if((U|0)!=(h|0)){continue}break}}d=w[c+36|0];p=Jl(e);E=w[(v[H+52>>2]+B(n,412)|0)+4|0];h=v[b+28>>2];va:{if(w[c+36|0]){e=8192;v[b+16>>2]=8192;break va}a=8192<>31;f=a<<13;e=e<<13|a>>>19;a=v[b+24>>2];e=y3a(f,e,a,a>>31);v[b+16>>2]=e;if((e|0)<=-1){break fa}}I=Jl(e);a=Jl(e);f=h+E|0;h=I-13|0;if((f|0)<(h|0)){break fa}h=f-h|0;if(h>>>0>=32){break a}I=((p+(d?1:-12)|0)-f|0)+1|0;J=(I|0)>(l|0);e=((a|0)>11?e>>>a-11|0:e<<11-a)&2047;a=h<<11&63488;p=e|a;v[b+20>>2]=p;v[b+12>>2]=(w[H+348|0]+(a>>>11|0)|0)-1;wa:{if(w[c+36|0]){break wa}d=v[b+4>>2];if(!d){break wa}a=v[b+16>>2];if((a|0)==8192){break wa}e=v[d+20>>2];if((e|0)<1){break wa}f=v[d+24>>2];if((f|0)<1){break wa}h=a;p=a>>31;a=0;while(1){if((f|0)>=1){U=v[v[d+28>>2]+(a<<2)>>2];e=0;while(1){k=U+(e<<2)|0;f=v[k>>2];xa:{if((f|0)<=-1){E=0-f|0;f=E>>>19|0;f=0-y3a(E<<13,f,h,p)|0;break xa}f=y3a(f<<13,f>>>19|0,h,p)}v[k>>2]=f;f=v[d+24>>2];e=e+1|0;if((f|0)>(e|0)){continue}break}e=v[d+20>>2]}a=a+1|0;if((e|0)>(a|0)){continue}break}p=v[b+20>>2]}v[((q<<2)+j|0)+312>>2]=p;l=J?I:l}q=q+1|0;b=b+36|0;if((R|0)!=(b|0)){continue}break}e=v[j>>2]}g=g- -64|0;o=o+1|0;if((o|0)<(e|0)){continue}break}}f=v[j+8>>2];ya:{if(!w[c+36|0]){a=0;za:{I=v[f+20>>2];Aa:{if((I|0)>=2){a=v[f+28>>2];a=v[a+4>>2]-v[a>>2]>>2;break Aa}if((I|0)!=1){break za}}b=v[f+24>>2];if((b|0)<1){break za}e=v[v[f+28>>2]>>2];h=a<<2;while(1){Ba:{if((b|0)<1){break Ba}a=e;p=b;if(b&1){a=v[e>>2];v[e>>2]=(a|0)>-1?a>>7:0-(0-a>>7)|0;p=b-1|0;a=e+4|0}if((b|0)==1){break Ba}while(1){b=v[a>>2];v[a>>2]=(b|0)>-1?b>>7:0-(0-b>>7)|0;b=v[a+4>>2];v[a+4>>2]=(b|0)>-1?b>>7:0-(0-b>>7)|0;a=a+8|0;b=(p|0)>2;p=p-2|0;if(b){continue}break}}if((I|0)<2){break za}I=I-1|0;e=e+h|0;b=v[f+24>>2];continue}}break ya}GC(f,6)}if(w[H+348|0]<(l|0)){v[T>>2]=l;Nb(65443,T);break $}n=n+1|0;j=j+716|0;if((i|0)!=(j|0)){continue}break}}a=fi(0,0);v[C+32>>2]=a;if(!a){Nb(65629,0);break $}a=nk(65424);v[C+28>>2]=a;if(!a){break $}v[a+12>>2]=ba;u[a+20>>1]=256;v[a+16>>2]=0;if(mk(v[C+32>>2],v[C+16>>2],a)){Nb(65761,0);break $}ci(v[C+28>>2]);j=0;v[C+28>>2]=0;I=v[H+48>>2];Ca:{if((I|0)<1){break Ca}while(1){if(v[v[c+48>>2]+B(j,716)>>2]!=w[H+69|0]){a=nk(65362);v[C+28>>2]=a;if(!a){break $}b=v[c+48>>2];t[a+24|0]=0;f=v[b>>2];t[a+25|0]=f-1;t[a+13|0]=w[c+21|0];v[a+16>>2]=v[c+24>>2];t[a+26|0]=w[b+292|0]-2;t[a+27|0]=w[b+296|0]-2;t[a+28|0]=v[b+304>>2];t[a+29|0]=v[b+12>>2];t[a+20|0]=w[c+28|0]!=0;Da:{if((f|0)<1){break Da}b=v[b+4>>2];e=0;if((f|0)!=1){I=f&-2;while(1){h=a+36|0;d=h+(e<<1)|0;q=b+(e<<6)|0;t[d|0]=v[q+16>>2];t[d+1|0]=v[q+20>>2];d=e|1;h=h+(d<<1)|0;d=b+(d<<6)|0;t[h|0]=v[d+16>>2];t[h+1|0]=v[d+20>>2];e=e+2|0;I=I-2|0;if(I){continue}break}}if(!(f&1)){break Da}f=a+(e<<1)|0;b=b+(e<<6)|0;t[f+36|0]=v[b+16>>2];t[f+37|0]=v[b+20>>2]}if(mk(v[C+32>>2],v[C+16>>2],a)){break $}ci(v[C+28>>2]);v[C+28>>2]=0;I=v[H+48>>2]}j=j+1|0;if((I|0)>(j|0)){continue}break}if((I|0)<1){break Ca}p=v[c+48>>2];h=0;while(1){Ea:{Fa:{b=v[H+52>>2]+B(h,412)|0;a=v[b+8>>2];if((a|0)!=v[p+308>>2]){break Fa}e=0;if((a|0)<=0){break Ea}while(1){f=e<<2;if(v[(f+b|0)+12>>2]!=v[(f+p|0)+312>>2]){break Fa}e=e+1|0;if((a|0)!=(e|0)){continue}break}break Ea}a=nk(65373);v[C+28>>2]=a;if(!a){break $}v[a+12>>2]=h;t[a+28|0]=w[H+348|0];t[a+16|0]=!v[p+12>>2]<<1;b=v[p+308>>2];v[a+24>>2]=p+312;v[a+20>>2]=b;if(mk(v[C+32>>2],v[C+16>>2],a)){break $}v[a+24>>2]=0;ci(v[C+28>>2]);v[C+28>>2]=0;I=v[H+48>>2]}p=p+716|0;h=h+1|0;if((I|0)>(h|0)){continue}break}}a=nk(65427);v[C+28>>2]=a;if(!a){break $}if(mk(v[C+32>>2],v[C+16>>2],a)){Nb(65883,0);break $}ci(v[C+28>>2]);v[C+28>>2]=0;ja=v[v[C+32>>2]+60>>2];Ga:{Ha:{a=v[C+12>>2];b=v[a+44>>2];if(b){p=v[a+48>>2];la=p+B(b,716)|0;while(1){a=v[p>>2];if(a){j=v[p+4>>2];ma=j+(a<<6)|0;while(1){H=v[j+56>>2];Ia:{if(!H){break Ia}a=v[j+52>>2];if(!a){break Ia}na=B(a,36)+H|0;while(1){if(!(!v[H+4>>2]|!v[j+32>>2])){I=v[H>>2];da=0;while(1){b=v[I+28>>2];Ja:{if(!b){break Ja}a=v[I+24>>2];ca=B(a,60)+b|0;if(a){while(1){a=0;e=v[b+28>>2];n=v[e+20>>2];Ka:{if((n|0)<1){break Ka}h=v[e+24>>2];if((h|0)<1){break Ka}f=h&-2;E=h&1;J=v[e+28>>2];g=0;while(1){d=v[J+(g<<2)>>2];l=0;e=f;if((h|0)!=1){while(1){o=l<<2;i=v[d+(o|4)>>2];q=i>>31;R=v[d+o>>2];o=R>>31;q=q^i+q;o=o^o+R;a=(a|0)<(o|0)?o:a;a=(a|0)<(q|0)?q:a;l=l+2|0;e=e-2|0;if(e){continue}break}}if(E){d=v[d+(l<<2)>>2];e=d>>31;e=e^d+e;a=(a|0)<(e|0)?e:a}g=g+1|0;if((n|0)!=(g|0)){continue}break}}e=b;if((Jl(a)|0)>=6){a=Jl(a)-5|0}else{a=0}v[e+36>>2]=a;b=b+60|0;if((ca|0)!=(b|0)){continue}break}b=v[I+28>>2]}e=(b|0)==(ca|0);if(e){break Ja}f=v[H+12>>2];a=b;while(1){h=f-v[a+36>>2]|0;v[a+12>>2]=h;if((h|0)<=-1){break Ha}a=a+60|0;if((ca|0)!=(a|0)){continue}break}if(e){break Ja}while(1){z=0;f=0;E=0;J=b;a=fi(0,0);v[b+20>>2]=a;La:{if(a){b=gb(40);Ma:{if(b){v[b+12>>2]=19;v[b+24>>2]=a;a=gb(76);v[b+16>>2]=a;if(a){v[b+28>>2]=-1;v[b+20>>2]=a;v[b+32>>2]=-1;v[b+36>>2]=0;v[b+8>>2]=12;v[b>>2]=0;v[b+4>>2]=32768;e=v[b+12>>2];if((e|0)<1){break Ma}h=e-1|0;d=e&7;if(d){while(1){v[a>>2]=1021184;a=a+4|0;e=e-1|0;d=d-1|0;if(d){continue}break}}if(h>>>0<7){break Ma}while(1){v[a+28>>2]=1021184;v[a+24>>2]=1021184;v[a+20>>2]=1021184;v[a+16>>2]=1021184;v[a+12>>2]=1021184;v[a+8>>2]=1021184;v[a+4>>2]=1021184;v[a>>2]=1021184;a=a+32|0;h=(e|0)>8;e=e-8|0;if(h){continue}break}break Ma}$a(b)}b=0}v[J+24>>2]=b;if(b){q5(b);a=v[J+36>>2];e=(a|0)>0?B(a,3)-2|0:0;v[J>>2]=e;Na:{if((e|0)>=1){f=gb(B(e,72));v[J+4>>2]=f;if(f){e=v[J>>2];break Na}O(17948,7618,223,189152);L()}v[J+4>>2]=0}Oa:{Pa:{if(!e){break Pa}d=B(e,72)+f|0;q=d-72|0;a=f;while(1){v[a>>2]=0;v[a+4>>2]=0;h=a;b=v[p+304>>2];l=b>>>2&1;g=b&1;Qa:{Ra:{f=(a-f|0)/72|0;if((f|0)!=(e-1|0)){b=1;Sa:{if(l){break Sa}b=94;if(!g){break Sa}b=10-f|0;if((f|0)<10){break Sa}b=(f|0)%3|0;if(b>>>0>=3){break Ra}b=v[(b<<2)+189024>>2]}e=e-f|0;b=(((b|0)<(e|0)?b:e)|0)<2}else{b=1}break Qa}O(3794,7464,130,188981);L()}v[h+12>>2]=b;b=B5((a-v[J+4>>2]|0)/72|0,0,v[p+304>>2]&1);v[a+32>>2]=-1;v[a+8>>2]=b;if((a|0)==(q|0)){if(v[a+12>>2]!=1){break Oa}v[a+12>>2]=1}a=a+72|0;if((d|0)==(a|0)){break Pa}e=v[J>>2];f=v[J+4>>2];continue}}a=v[J+28>>2];a=Oj(v[a+20>>2]+2|0,v[a+24>>2]+2|0);v[J+32>>2]=a;if(a){a=v[J+4>>2];Ta:{Z=v[J>>2];if((Z|0)>=1){Q=v[J+36>>2]-1|0;o=a;while(1){Ua:{Va:{Wa:{Xa:{Ya:{Za:{_a:{$a:{switch(v[o+8>>2]-1|0){default:O(25652,7618,253,189152);L();case 0:break _a;case 1:break $a}}if(z){break _a}z=uC(v[J+20>>2],26510);if(!z){break Za}a=v[J+4>>2]}oa=o,pa=Ei(v[J+20>>2]),v[oa>>2]=pa;ka=(((o-a|0)/72|0)+2|0)%3|0;if((Q|0)>-1){ea=v[p+304>>2];$=v[o+12>>2];fa=$?(ea>>>4&1)+1|0:0;ga=ea>>>3&1;ab:{switch(ka|0){case 1:break Wa;case 2:break Xa;case 0:break ab;default:break Ya}}if(v[o+8>>2]!=1){break Va}h=v[H+8>>2];i=v[J+24>>2];a=v[J+28>>2];f=v[J+32>>2];b=0;v[o+64>>2]=0;n=v[a+20>>2];d=0;if(v[f+20>>2]>=2){e=v[f+28>>2];d=v[e+4>>2]-v[e>>2]>>2}e=v[a+24>>2];if((n|0)>=2){b=v[a+28>>2];b=v[b+4>>2]-v[b>>2]>>2}if(!((n|0)<1|(e|0)<1)){r=0-d|0;U=h<<8;k=b<<2;R=d<<2;N=1<0?1141568:1142080;l=v[v[f+28>>2]+4>>2]+4|0;q=v[v[a+28>>2]>>2];while(1){W=(n|0)<4;F=W?n:4;b=e;a=l;f=q;while(1){h=b;d=v[a>>2];g=d&255;if(!(!g|d&20480)){b=v[f>>2];g=v[i+16>>2]+(v[((g|U)<<2)+1119040>>2]<<2)|0;v[i+20>>2]=g;g=v[g>>2];s=b;b=b>>31;s=N&(s+b^b);bb:{if(v[g+4>>2]!=((s|0)!=0|0)){xf(i);break bb}b=v[g>>2];g=v[i+4>>2]-b|0;v[i+4>>2]=g;if(g&32768){v[i>>2]=b+v[i>>2];break bb}yf(i)}b=a;if(s){s=v[f>>2];g=s>>31;v[o+64>>2]=v[o+64>>2]+v[m+(((g^g+s)>>>Q&127)<<2)>>2];d=d>>>2&1020;g=v[i+16>>2]+(v[d+1124160>>2]<<2)|0;v[i+20>>2]=g;g=v[g>>2];cb:{if(v[g+4>>2]!=(v[d+1123136>>2]^s>>>31)){xf(i);break cb}d=v[g>>2];g=v[i+4>>2]-d|0;v[i+4>>2]=g;if(g&32768){v[i>>2]=d+v[i>>2];break cb}yf(i)}d=a+R|0;db:{eb:{fb:{if(ga){v[d+4>>2]=v[d+4>>2]|8;g=d-4|0;v[g>>2]=v[g>>2]|1;g=v[d>>2];if((s|0)>=0){g=g|16;break eb}g=g|272;break fb}g=(r<<2)+a|0;v[g+4>>2]=v[g+4>>2]|4;G=g-4|0;v[G>>2]=v[G>>2]|2;G=d-4|0;v[G>>2]=v[G>>2]|1;v[d+4>>2]=v[d+4>>2]|8;G=v[g>>2];if((s|0)>=0){v[g>>2]=G|64;g=v[d>>2]|16;break eb}v[g>>2]=G|1088;g=v[d>>2]|272}G=2176;s=544;break db}G=128;s=32}v[d>>2]=g;d=a-4|0;v[d>>2]=v[d>>2]|s;v[a+4>>2]=G|v[a+4>>2];d=v[a>>2]|4096}else{d=v[a>>2]}v[b>>2]=d|16384}gb:{if((F|0)<2){break gb}s=f+k|0;b=a+R|0;g=v[b>>2];G=g&255;if(!(!G|g&20480)){d=v[s>>2];G=v[i+16>>2]+(v[((G|U)<<2)+1119040>>2]<<2)|0;v[i+20>>2]=G;G=v[G>>2];P=d;d=d>>31;M=N&(P+d^d);hb:{if(v[G+4>>2]!=((M|0)!=0|0)){xf(i);break hb}d=v[G>>2];G=v[i+4>>2]-d|0;v[i+4>>2]=G;if(G&32768){v[i>>2]=d+v[i>>2];break hb}yf(i)}d=b;if(M){G=v[s>>2];M=G>>31;v[o+64>>2]=v[o+64>>2]+v[m+(((M^G+M)>>>Q&127)<<2)>>2];g=g>>>2&1020;M=v[i+16>>2]+(v[g+1124160>>2]<<2)|0;v[i+20>>2]=M;M=v[M>>2];ib:{if(v[M+4>>2]!=(v[g+1123136>>2]^G>>>31)){xf(i);break ib}g=v[M>>2];M=v[i+4>>2]-g|0;v[i+4>>2]=M;if(M&32768){v[i>>2]=g+v[i>>2];break ib}yf(i)}v[a+4>>2]=v[a+4>>2]|4;g=a-4|0;v[g>>2]=v[g>>2]|2;g=b+R|0;M=g-4|0;v[M>>2]=v[M>>2]|1;v[g+4>>2]=v[g+4>>2]|8;G=(G|0)<0;v[a>>2]=v[a>>2]|(G?1088:64);v[g>>2]=v[g>>2]|(G?272:16);g=b-4|0;v[g>>2]=v[g>>2]|(G?544:32);v[b+4>>2]=v[b+4>>2]|(G?2176:128);g=v[b>>2]|4096}else{g=v[b>>2]}v[d>>2]=g|16384}if((F|0)<3){break gb}G=k+s|0;b=b+R|0;g=v[b>>2];s=g&255;if(!(!s|g&20480)){d=v[G>>2];s=v[i+16>>2]+(v[((s|U)<<2)+1119040>>2]<<2)|0;v[i+20>>2]=s;s=v[s>>2];P=d;d=d>>31;M=N&(P+d^d);jb:{if(v[s+4>>2]!=((M|0)!=0|0)){xf(i);break jb}d=v[s>>2];s=v[i+4>>2]-d|0;v[i+4>>2]=s;if(s&32768){v[i>>2]=d+v[i>>2];break jb}yf(i)}d=b;if(M){M=v[G>>2];s=M>>31;v[o+64>>2]=v[o+64>>2]+v[m+(((s^s+M)>>>Q&127)<<2)>>2];g=g>>>2&1020;s=v[i+16>>2]+(v[g+1124160>>2]<<2)|0;v[i+20>>2]=s;s=v[s>>2];kb:{if(v[s+4>>2]!=(v[g+1123136>>2]^M>>>31)){xf(i);break kb}g=v[s>>2];s=v[i+4>>2]-g|0;v[i+4>>2]=s;if(s&32768){v[i>>2]=g+v[i>>2];break kb}yf(i)}g=b+(r<<2)|0;v[g+4>>2]=v[g+4>>2]|4;s=g-4|0;v[s>>2]=v[s>>2]|2;s=b+R|0;aa=s-4|0;v[aa>>2]=v[aa>>2]|1;v[s+4>>2]=v[s+4>>2]|8;P=g;aa=v[g>>2];g=(M|0)<0;v[P>>2]=aa|(g?1088:64);v[s>>2]=v[s>>2]|(g?272:16);s=b-4|0;v[s>>2]=v[s>>2]|(g?544:32);v[b+4>>2]=v[b+4>>2]|(g?2176:128);g=v[b>>2]|4096}else{g=v[b>>2]}v[d>>2]=g|16384}if(W){break gb}b=b+R|0;g=v[b>>2];s=g&255;if(!s|g&20480){break gb}G=k+G|0;d=v[G>>2];s=v[i+16>>2]+(v[((s|U)<<2)+1119040>>2]<<2)|0;v[i+20>>2]=s;s=v[s>>2];P=d;d=d>>31;M=N&(P+d^d);lb:{if(v[s+4>>2]!=((M|0)!=0|0)){xf(i);break lb}d=v[s>>2];s=v[i+4>>2]-d|0;v[i+4>>2]=s;if(s&32768){v[i>>2]=d+v[i>>2];break lb}yf(i)}d=b;if(M){G=v[G>>2];s=G>>31;v[o+64>>2]=v[o+64>>2]+v[m+(((s^s+G)>>>Q&127)<<2)>>2];g=g>>>2&1020;s=v[i+16>>2]+(v[g+1124160>>2]<<2)|0;v[i+20>>2]=s;s=v[s>>2];mb:{if(v[s+4>>2]!=(v[g+1123136>>2]^G>>>31)){xf(i);break mb}g=v[s>>2];s=v[i+4>>2]-g|0;v[i+4>>2]=s;if(s&32768){v[i>>2]=g+v[i>>2];break mb}yf(i)}g=b+(r<<2)|0;v[g+4>>2]=v[g+4>>2]|4;s=g-4|0;v[s>>2]=v[s>>2]|2;s=b+R|0;M=s-4|0;v[M>>2]=v[M>>2]|1;v[s+4>>2]=v[s+4>>2]|8;P=g;M=v[g>>2];g=(G|0)<0;v[P>>2]=M|(g?1088:64);v[s>>2]=v[s>>2]|(g?272:16);s=b-4|0;v[s>>2]=v[s>>2]|(g?544:32);v[b+4>>2]=v[b+4>>2]|(g?2176:128);b=v[b>>2]|4096}else{b=v[b>>2]}v[d>>2]=b|16384}f=f+4|0;a=a+4|0;b=h-1|0;if((h|0)>1){continue}break}q=(k<<2)+q|0;l=(R<<2)+l|0;a=(n|0)>4;n=n-4|0;if(a){continue}break}}if(!$){break Ua}HL(i,fa-1|0);break Ua}O(30443,7618,269,189152);L()}O(28221,7618,256,189152);L()}O(33871,7618,300,189152);L()}if(v[o+8>>2]==1){e=v[H+8>>2];k=v[J+24>>2];a=v[J+28>>2];b=v[J+32>>2];aa=0;v[o+64>>2]=0;n=v[a+20>>2];s=0;if(v[b+20>>2]>=2){f=v[b+28>>2];s=v[f+4>>2]-v[f>>2]>>2}R=v[a+24>>2];if((n|0)>=2){f=v[a+28>>2];aa=v[f+4>>2]-v[f>>2]>>2}if(!((n|0)<1|(R|0)<1)){M=0-s|0;F=e<<8;r=aa<<2;N=s<<2;G=1<0?1141568:1142080;q=v[v[b+28>>2]+4>>2]+4|0;g=v[v[a+28>>2]>>2];while(1){l=(n|0)<4?n:4;a=R;b=g;f=q;while(1){U=a;d=b;a=f;e=n;nb:{ob:{pb:{qb:{rb:{sb:{tb:{ub:{vb:{wb:{xb:{yb:{zb:{if((l|0)<4){break zb}e=l;if(x[f>>1]&20735){break zb}h=f+N|0;if(x[h>>1]&20735){break zb}h=h+N|0;if(x[h>>1]&20735|x[h+N>>1]&20735){break zb}h=0;a=b;Ab:{while(1){d=v[a>>2];e=d>>31;if(G&(e^d+e)){break Ab}a=a+r|0;h=h+1|0;if((l|0)!=(h|0)){continue}break}h=l}a=v[k+16>>2];v[k+20>>2]=a;a=v[a>>2];e=v[a+4>>2];if(h>>>0>3){break xb}Bb:{if((e|0)!=1){xf(k);break Bb}a=v[a>>2];e=v[k+4>>2]-a|0;v[k+4>>2]=e;if(e&32768){v[k>>2]=a+v[k>>2];break Bb}yf(k)}a=v[k+16>>2];v[k+20>>2]=a+72;a=v[a+72>>2];Cb:{if(v[a+4>>2]!=(h>>>1|0)){xf(k);break Cb}a=v[a>>2];e=v[k+4>>2]-a|0;v[k+4>>2]=e;if(e&32768){v[k>>2]=a+v[k>>2];break Cb}yf(k)}a=v[v[k+20>>2]>>2];Db:{if(v[a+4>>2]!=(h&1)){xf(k);break Db}a=v[a>>2];e=v[k+4>>2]-a|0;v[k+4>>2]=e;if(e&32768){v[k>>2]=a+v[k>>2];break Db}yf(k)}e=l-h|0;d=(B(h,aa)<<2)+b|0;a=(B(h,s)<<2)+f|0;switch(h|0){case 3:break pb;case 2:break rb;case 1:break tb;case 0:break yb;default:break zb}}h=v[a>>2];if(h&20480){break ub}i=v[k+16>>2]+(v[((F|h&255)<<2)+1119040>>2]<<2)|0;v[k+20>>2]=i;m=v[d>>2];h=m>>31;i=v[i>>2];h=G&(h^h+m);Eb:{if(v[i+4>>2]!=((h|0)!=0|0)){xf(k);break Eb}i=v[i>>2];m=v[k+4>>2]-i|0;v[k+4>>2]=m;if(m&32768){v[k>>2]=i+v[k>>2];break Eb}yf(k)}if(h){break yb}h=v[a>>2];break ub}m=v[a>>2];i=v[d>>2];h=i>>31;v[o+64>>2]=v[o+64>>2]+v[W+(((h^h+i)>>>Q&127)<<2)>>2];h=m>>>2&1020;m=v[k+16>>2]+(v[h+1124160>>2]<<2)|0;v[k+20>>2]=m;m=v[m>>2];Fb:{if(v[m+4>>2]!=(v[h+1123136>>2]^i>>>31)){xf(k);break Fb}h=v[m>>2];m=v[k+4>>2]-h|0;v[k+4>>2]=m;if(m&32768){v[k>>2]=h+v[k>>2];break Fb}yf(k)}m=a+N|0;Gb:{if(ga){v[m+4>>2]=v[m+4>>2]|8;h=m-4|0;v[h>>2]=v[h>>2]|1;h=v[m>>2];if((i|0)>=0){h=h|16;break wb}h=h|272;break Gb}h=(M<<2)+a|0;v[h+4>>2]=v[h+4>>2]|4;P=h-4|0;v[P>>2]=v[P>>2]|2;P=m-4|0;v[P>>2]=v[P>>2]|1;v[m+4>>2]=v[m+4>>2]|8;P=v[h>>2];if((i|0)>=0){v[h>>2]=P|64;h=v[m>>2]|16;break wb}v[h>>2]=P|1088;h=v[m>>2]|272}P=544;i=2176;break vb}if(e){xf(k);break nb}a=v[a>>2];e=v[k+4>>2]-a|0;v[k+4>>2]=e;if(e&32768){v[k>>2]=a+v[k>>2];break nb}yf(k);break nb}P=32;i=128}v[m>>2]=h;h=a-4|0;v[h>>2]=P|v[h>>2];v[a+4>>2]=v[a+4>>2]|i;h=v[a>>2]|4096;v[a>>2]=h}v[a>>2]=h&-16385;if((e|0)<2){break nb}e=e-1|0;d=d+r|0;a=a+N|0;h=v[a>>2];if(h&20480){break sb}i=v[k+16>>2]+(v[((F|h&255)<<2)+1119040>>2]<<2)|0;v[k+20>>2]=i;m=v[d>>2];h=m>>31;i=v[i>>2];h=G&(h^h+m);Hb:{if(v[i+4>>2]!=((h|0)!=0|0)){xf(k);break Hb}i=v[i>>2];m=v[k+4>>2]-i|0;v[k+4>>2]=m;if(m&32768){v[k>>2]=i+v[k>>2];break Hb}yf(k)}if(h){break tb}h=v[a>>2];break sb}i=v[a>>2];m=v[d>>2];h=m>>31;v[o+64>>2]=v[o+64>>2]+v[W+(((h^h+m)>>>Q&127)<<2)>>2];h=i>>>2&1020;i=v[k+16>>2]+(v[h+1124160>>2]<<2)|0;v[k+20>>2]=i;i=v[i>>2];Ib:{if(v[i+4>>2]!=(v[h+1123136>>2]^m>>>31)){xf(k);break Ib}h=v[i>>2];i=v[k+4>>2]-h|0;v[k+4>>2]=i;if(i&32768){v[k>>2]=h+v[k>>2];break Ib}yf(k)}h=(M<<2)+a|0;v[h+4>>2]=v[h+4>>2]|4;i=h-4|0;v[i>>2]=v[i>>2]|2;i=a+N|0;P=i-4|0;v[P>>2]=v[P>>2]|1;v[i+4>>2]=v[i+4>>2]|8;P=h;ha=v[h>>2];h=(m|0)<0;v[P>>2]=ha|(h?1088:64);v[i>>2]=v[i>>2]|(h?272:16);i=a-4|0;v[i>>2]=v[i>>2]|(h?544:32);v[a+4>>2]=v[a+4>>2]|(h?2176:128);h=v[a>>2]|4096;v[a>>2]=h}v[a>>2]=h&-16385;if((e|0)<2){break nb}e=e-1|0;d=d+r|0;a=a+N|0;h=v[a>>2];if(h&20480){break qb}i=v[k+16>>2]+(v[((F|h&255)<<2)+1119040>>2]<<2)|0;v[k+20>>2]=i;m=v[d>>2];h=m>>31;i=v[i>>2];h=G&(h^h+m);Jb:{if(v[i+4>>2]!=((h|0)!=0|0)){xf(k);break Jb}i=v[i>>2];m=v[k+4>>2]-i|0;v[k+4>>2]=m;if(m&32768){v[k>>2]=i+v[k>>2];break Jb}yf(k)}if(h){break rb}h=v[a>>2];break qb}i=v[a>>2];m=v[d>>2];h=m>>31;v[o+64>>2]=v[o+64>>2]+v[W+(((h^h+m)>>>Q&127)<<2)>>2];h=i>>>2&1020;i=v[k+16>>2]+(v[h+1124160>>2]<<2)|0;v[k+20>>2]=i;i=v[i>>2];Kb:{if(v[i+4>>2]!=(v[h+1123136>>2]^m>>>31)){xf(k);break Kb}h=v[i>>2];i=v[k+4>>2]-h|0;v[k+4>>2]=i;if(i&32768){v[k>>2]=h+v[k>>2];break Kb}yf(k)}h=(M<<2)+a|0;v[h+4>>2]=v[h+4>>2]|4;i=h-4|0;v[i>>2]=v[i>>2]|2;i=a+N|0;P=i-4|0;v[P>>2]=v[P>>2]|1;v[i+4>>2]=v[i+4>>2]|8;P=h;ha=v[h>>2];h=(m|0)<0;v[P>>2]=ha|(h?1088:64);v[i>>2]=v[i>>2]|(h?272:16);i=a-4|0;v[i>>2]=v[i>>2]|(h?544:32);v[a+4>>2]=v[a+4>>2]|(h?2176:128);h=v[a>>2]|4096;v[a>>2]=h}v[a>>2]=h&-16385;if((e|0)<2){break nb}a=a+N|0;e=v[a>>2];if(e&20480){break ob}h=v[k+16>>2]+(v[((F|e&255)<<2)+1119040>>2]<<2)|0;v[k+20>>2]=h;d=d+r|0;i=v[d>>2];e=i>>31;h=v[h>>2];e=G&(e^e+i);Lb:{if(v[h+4>>2]!=((e|0)!=0|0)){xf(k);break Lb}h=v[h>>2];i=v[k+4>>2]-h|0;v[k+4>>2]=i;if(i&32768){v[k>>2]=h+v[k>>2];break Lb}yf(k)}if(e){break pb}e=v[a>>2];break ob}h=v[a>>2];d=v[d>>2];e=d>>31;v[o+64>>2]=v[o+64>>2]+v[W+(((e^d+e)>>>Q&127)<<2)>>2];e=h>>>2&1020;h=v[k+16>>2]+(v[e+1124160>>2]<<2)|0;v[k+20>>2]=h;h=v[h>>2];Mb:{if(v[h+4>>2]!=(v[e+1123136>>2]^d>>>31)){xf(k);break Mb}e=v[h>>2];h=v[k+4>>2]-e|0;v[k+4>>2]=h;if(h&32768){v[k>>2]=e+v[k>>2];break Mb}yf(k)}e=(M<<2)+a|0;v[e+4>>2]=v[e+4>>2]|4;h=e-4|0;v[h>>2]=v[h>>2]|2;h=a+N|0;i=h-4|0;v[i>>2]=v[i>>2]|1;v[h+4>>2]=v[h+4>>2]|8;i=e;P=v[e>>2];e=(d|0)<0;v[i>>2]=P|(e?1088:64);v[h>>2]=v[h>>2]|(e?272:16);h=a-4|0;v[h>>2]=v[h>>2]|(e?544:32);v[a+4>>2]=v[a+4>>2]|(e?2176:128);e=v[a>>2]|4096;v[a>>2]=e}v[a>>2]=e&-16385}b=b+4|0;f=f+4|0;a=U-1|0;if((U|0)>1){continue}break}g=(r<<2)+g|0;q=(N<<2)+q|0;a=(n|0)>4;n=n-4|0;if(a){continue}break}}Nb:{if(!(ea&32)){break Nb}a=v[k+16>>2];v[k+20>>2]=a+72;a=v[a+72>>2];Ob:{if(v[a+4>>2]==1){a=v[a>>2];b=v[k+4>>2]-a|0;v[k+4>>2]=b;if(!(b&32768)){yf(k);break Ob}v[k>>2]=a+v[k>>2];break Ob}xf(k)}a=v[v[k+20>>2]>>2];Pb:{if(!v[a+4>>2]){a=v[a>>2];b=v[k+4>>2]-a|0;v[k+4>>2]=b;if(!(b&32768)){yf(k);break Pb}v[k>>2]=a+v[k>>2];break Pb}xf(k)}a=v[v[k+20>>2]>>2];Qb:{if(v[a+4>>2]==1){a=v[a>>2];b=v[k+4>>2]-a|0;v[k+4>>2]=b;if(!(b&32768)){yf(k);break Qb}v[k>>2]=a+v[k>>2];break Qb}xf(k)}a=v[v[k+20>>2]>>2];if(!v[a+4>>2]){a=v[a>>2];b=v[k+4>>2]-a|0;v[k+4>>2]=b;if(!(b&32768)){yf(k);break Nb}v[k>>2]=a+v[k>>2];break Nb}xf(k)}if(!$){break Ua}HL(k,fa-1|0);break Ua}O(31995,7618,294,189152);L()}if(v[o+8>>2]==1){l=v[J+24>>2];a=v[J+28>>2];b=v[J+32>>2];d=0;v[o+64>>2]=0;q=v[a+20>>2];if(v[b+20>>2]>=2){e=v[b+28>>2];d=v[e+4>>2]-v[e>>2]>>2}e=v[a+24>>2];Rb:{Sb:{if((q|0)>=2){f=v[a+28>>2];g=v[f+4>>2]-v[f>>2]|0;s=g>>2;break Sb}g=0;s=0;if((q|0)!=1){break Rb}}if((e|0)<1){break Rb}n=Q+6|0;R=d<<2;U=(Q|0)>0?1142592:1143104;i=v[v[b+28>>2]+4>>2]+4|0;h=v[v[a+28>>2]>>2];while(1){M=(q|0)<4;k=M?q:4;b=e;f=h;a=i;while(1){d=v[a>>2];if((d&20480)==4096){m=v[f>>2];N=m>>31;N=N^m+N;v[o+64>>2]=v[o+64>>2]+v[U+((N>>>Q&127)<<2)>>2];d=v[l+16>>2]+(v[((d>>>2&2048|d&255)<<2)+1125184>>2]<<2)|0;v[l+20>>2]=d;d=v[d>>2];Tb:{if(v[d+4>>2]!=(N>>>n&1)){xf(l);break Tb}d=v[d>>2];N=v[l+4>>2]-d|0;v[l+4>>2]=N;if(N&32768){v[l>>2]=d+v[l>>2];break Tb}yf(l)}v[a>>2]=v[a>>2]|8192}d=b;Ub:{if((k|0)<2){break Ub}N=s<<2;m=N+f|0;b=a+R|0;r=v[b>>2];if((r&20480)==4096){F=v[m>>2];G=F>>31;G=G^G+F;v[o+64>>2]=v[o+64>>2]+v[U+((G>>>Q&127)<<2)>>2];r=v[l+16>>2]+(v[((r>>>2&2048|r&255)<<2)+1125184>>2]<<2)|0;v[l+20>>2]=r;r=v[r>>2];Vb:{if(v[r+4>>2]!=(G>>>n&1)){xf(l);break Vb}r=v[r>>2];G=v[l+4>>2]-r|0;v[l+4>>2]=G;if(G&32768){v[l>>2]=r+v[l>>2];break Vb}yf(l)}v[b>>2]=v[b>>2]|8192}if((k|0)<3){break Ub}m=m+N|0;b=b+R|0;r=v[b>>2];if((r&20480)==4096){F=v[m>>2];G=F>>31;G=G^G+F;v[o+64>>2]=v[o+64>>2]+v[U+((G>>>Q&127)<<2)>>2];r=v[l+16>>2]+(v[((r>>>2&2048|r&255)<<2)+1125184>>2]<<2)|0;v[l+20>>2]=r;r=v[r>>2];Wb:{if(v[r+4>>2]!=(G>>>n&1)){xf(l);break Wb}r=v[r>>2];G=v[l+4>>2]-r|0;v[l+4>>2]=G;if(G&32768){v[l>>2]=r+v[l>>2];break Wb}yf(l)}v[b>>2]=v[b>>2]|8192}if(M){break Ub}b=b+R|0;r=v[b>>2];if((r&20480)!=4096){break Ub}m=v[m+N>>2];N=m>>31;N=N^m+N;v[o+64>>2]=v[o+64>>2]+v[U+((N>>>Q&127)<<2)>>2];m=v[l+16>>2]+(v[((r>>>2&2048|r&255)<<2)+1125184>>2]<<2)|0;v[l+20>>2]=m;m=v[m>>2];Xb:{if(v[m+4>>2]!=(N>>>n&1)){xf(l);break Xb}N=v[m>>2];m=v[l+4>>2]-N|0;v[l+4>>2]=m;if(m&32768){v[l>>2]=N+v[l>>2];break Xb}yf(l)}v[b>>2]=v[b>>2]|8192}f=f+4|0;a=a+4|0;b=d-1|0;if((d|0)>1){continue}break}h=(g<<2)+h|0;i=(R<<2)+i|0;a=(q|0)>4;q=q-4|0;if(a){continue}break}}if(!$){break Ua}HL(l,fa-1|0);break Ua}a=v[J+28>>2];e=v[J+32>>2];f=0;v[o+64>>2]=0;q=v[a+20>>2];if(v[e+20>>2]>=2){b=v[e+28>>2];f=v[b+4>>2]-v[b>>2]>>2}b=v[a+24>>2];Yb:{Zb:{_b:{$b:{ac:{bc:{cc:{dc:{ec:{fc:{if((q|0)>=2){h=v[a+28>>2];l=v[h+4>>2]-v[h>>2]|0;g=l>>2;break fc}l=0;g=0;if((q|0)!=1){break ec}}if((b|0)<1){break ec}i=Q+6|0;R=f<<2;U=(Q|0)>0?1142592:1143104;h=v[v[e+28>>2]+4>>2]+4|0;n=v[v[a+28>>2]>>2];while(1){G=(q|0)<4;N=G?q:4;d=b;a=h;e=n;while(1){if((v[a>>2]&20480)==4096){k=v[e>>2];f=k>>31;f=f^f+k;v[o+64>>2]=v[o+64>>2]+v[U+((f>>>Q&127)<<2)>>2];if(!(w[z+16|0]&2)){break dc}f=f>>>i&1;k=v[z+8>>2];s=k-1|0;v[z+8>>2]=s;gc:{if((k|0)>=1){v[z+4>>2]=v[z+4>>2]|f<>2];s=k<<8&65280;m=(s|0)==65280?6:7;v[z+8>>2]=m;v[z+4>>2]=s|f<>2];s=v[f+8>>2];if(s&7){break Ua}m=v[f+64>>2];if((m|0)>=0&(m|0)<=v[f+60>>2]){break cc}v[f+4>>2]=v[f+4>>2]|32;s=v[f+28>>2];v[f+28>>2]=s-1;if((s|0)>=1){v[f+60>>2]=v[f+60>>2]+1;s=f;f=v[f+24>>2];v[s+24>>2]=f+1;t[f|0]=k;break gc}if((Cb(f,k&255)|0)==-1){break Ua}}v[a>>2]=v[a>>2]|8192}f=d;hc:{if((N|0)<2){break hc}s=g<<2;m=s+e|0;k=a+R|0;if((v[k>>2]&20480)==4096){r=v[m>>2];d=r>>31;d=d^d+r;v[o+64>>2]=v[o+64>>2]+v[U+((d>>>Q&127)<<2)>>2];if(!(w[z+16|0]&2)){break bc}d=d>>>i&1;r=v[z+8>>2];M=r-1|0;v[z+8>>2]=M;ic:{if((r|0)>=1){v[z+4>>2]=v[z+4>>2]|d<>2];M=r<<8&65280;F=(M|0)==65280?6:7;v[z+8>>2]=F;v[z+4>>2]=M|d<>2];M=v[d+8>>2];if(M&7){break Ua}F=v[d+64>>2];if((F|0)>=0&(F|0)<=v[d+60>>2]){break ac}v[d+4>>2]=v[d+4>>2]|32;M=v[d+28>>2];v[d+28>>2]=M-1;if((M|0)>=1){v[d+60>>2]=v[d+60>>2]+1;P=d;d=v[d+24>>2];v[P+24>>2]=d+1;t[d|0]=r;break ic}if((Cb(d,r&255)|0)==-1){break Ua}}v[k>>2]=v[k>>2]|8192}if((N|0)<3){break hc}m=m+s|0;k=k+R|0;if((v[k>>2]&20480)==4096){r=v[m>>2];d=r>>31;d=d^d+r;v[o+64>>2]=v[o+64>>2]+v[U+((d>>>Q&127)<<2)>>2];if(!(w[z+16|0]&2)){break $b}d=d>>>i&1;r=v[z+8>>2];M=r-1|0;v[z+8>>2]=M;jc:{if((r|0)>=1){v[z+4>>2]=v[z+4>>2]|d<>2];M=r<<8&65280;F=(M|0)==65280?6:7;v[z+8>>2]=F;v[z+4>>2]=M|d<>2];M=v[d+8>>2];if(M&7){break Ua}F=v[d+64>>2];if((F|0)>=0&(F|0)<=v[d+60>>2]){break _b}v[d+4>>2]=v[d+4>>2]|32;M=v[d+28>>2];v[d+28>>2]=M-1;if((M|0)>=1){v[d+60>>2]=v[d+60>>2]+1;P=d;d=v[d+24>>2];v[P+24>>2]=d+1;t[d|0]=r;break jc}if((Cb(d,r&255)|0)==-1){break Ua}}v[k>>2]=v[k>>2]|8192}if(G){break hc}k=k+R|0;if((v[k>>2]&20480)!=4096){break hc}s=v[m+s>>2];d=s>>31;d=d^d+s;v[o+64>>2]=v[o+64>>2]+v[U+((d>>>Q&127)<<2)>>2];if(!(w[z+16|0]&2)){break Zb}d=d>>>i&1;s=v[z+8>>2];m=s-1|0;v[z+8>>2]=m;kc:{if((s|0)>=1){v[z+4>>2]=v[z+4>>2]|d<>2];m=s<<8&65280;r=(m|0)==65280?6:7;v[z+8>>2]=r;v[z+4>>2]=m|d<>2];m=v[d+8>>2];if(m&7){break Ua}r=v[d+64>>2];if((r|0)>=0&(r|0)<=v[d+60>>2]){break Yb}v[d+4>>2]=v[d+4>>2]|32;m=v[d+28>>2];v[d+28>>2]=m-1;if((m|0)>=1){v[d+60>>2]=v[d+60>>2]+1;P=d;d=v[d+24>>2];v[P+24>>2]=d+1;t[d|0]=s;break kc}if((Cb(d,s&255)|0)==-1){break Ua}}v[k>>2]=v[k>>2]|8192}e=e+4|0;a=a+4|0;d=f-1|0;if((f|0)>1){continue}break}n=(l<<2)+n|0;h=(R<<2)+h|0;a=(q|0)>4;q=q-4|0;if(a){continue}break}}if(!$){break Ua}_w(z,42);break Ua}O(35074,7618,767,189186);L()}v[f+8>>2]=s|4;break Ua}O(35074,7618,774,189186);L()}v[d+8>>2]=M|4;break Ua}O(35074,7618,781,189186);L()}v[d+8>>2]=M|4;break Ua}O(35074,7618,788,189186);L()}v[d+8>>2]=m|4;break Ua}a=v[J+28>>2];b=v[J+32>>2];d=0;v[o+64>>2]=0;h=v[a+20>>2];f=0;if(v[b+20>>2]>=2){e=v[b+28>>2];f=v[e+4>>2]-v[e>>2]>>2}i=v[a+24>>2];if((h|0)>=2){e=v[a+28>>2];d=v[e+4>>2]-v[e>>2]>>2}lc:{mc:{nc:{oc:{pc:{qc:{rc:{sc:{tc:{uc:{vc:{wc:{if(!((h|0)<1|(i|0)<1)){s=0-f|0;U=d<<2;R=f<<2;k=1<0?1141568:1142080;l=v[v[b+28>>2]+4>>2]+4|0;q=v[v[a+28>>2]>>2];while(1){M=(h|0)<4;G=M?h:4;d=i;a=l;e=q;while(1){f=d;b=v[a>>2];if(!(!(b&255)|b&20480)){b=a;xc:{yc:{zc:{Ac:{Bc:{Cc:{if(w[z+16|0]&2){g=v[e>>2];d=g>>31;n=k&(d^d+g);d=(n|0)!=0;g=v[z+8>>2];m=g-1|0;v[z+8>>2]=m;Dc:{if((g|0)>=1){v[z+4>>2]=v[z+4>>2]|d<>2];m=g<<8&65280;r=(m|0)==65280?6:7;v[z+8>>2]=r;v[z+4>>2]=m|d<>2];m=v[d+8>>2];if(m&7){break Ua}r=v[d+64>>2];if((r|0)>=0&(r|0)<=v[d+60>>2]){break Ac}v[d+4>>2]=v[d+4>>2]|32;m=v[d+28>>2];v[d+28>>2]=m-1;if((m|0)>=1){v[d+60>>2]=v[d+60>>2]+1;P=d;d=v[d+24>>2];v[P+24>>2]=d+1;t[d|0]=g;break Dc}if((Cb(d,g&255)|0)==-1){break Ua}}d=v[a>>2];if(!n){break xc}n=v[e>>2];d=n>>31;v[o+64>>2]=v[o+64>>2]+v[N+(((d^d+n)>>>Q&127)<<2)>>2];if(!(w[z+16|0]&2)){break Cc}d=n>>>31|0;g=v[z+8>>2];m=g-1|0;v[z+8>>2]=m;Ec:{if((g|0)>=1){v[z+4>>2]=v[z+4>>2]|d<>2];m=g<<8&65280;r=(m|0)==65280?6:7;v[z+8>>2]=r;v[z+4>>2]=m|d<>2];m=v[d+8>>2];if(m&7){break Ua}r=v[d+64>>2];if((r|0)>=0&(r|0)<=v[d+60>>2]){break Bc}v[d+4>>2]=v[d+4>>2]|32;m=v[d+28>>2];v[d+28>>2]=m-1;if((m|0)>=1){v[d+60>>2]=v[d+60>>2]+1;P=d;d=v[d+24>>2];v[P+24>>2]=d+1;t[d|0]=g;break Ec}if((Cb(d,g&255)|0)==-1){break Ua}}d=a+R|0;Fc:{if(ga){v[d+4>>2]=v[d+4>>2]|8;g=d-4|0;v[g>>2]=v[g>>2]|1;g=v[d>>2];if((n|0)>=0){g=g|16;break zc}g=g|272;break Fc}g=(s<<2)+a|0;v[g+4>>2]=v[g+4>>2]|4;m=g-4|0;v[m>>2]=v[m>>2]|2;m=d-4|0;v[m>>2]=v[m>>2]|1;v[d+4>>2]=v[d+4>>2]|8;m=v[g>>2];if((n|0)>=0){v[g>>2]=m|64;g=v[d>>2]|16;break zc}v[g>>2]=m|1088;g=v[d>>2]|272}m=2176;n=544;break yc}O(35074,7618,572,189168);L()}O(36612,7618,572,189168);L()}v[d+8>>2]=m|4;break Ua}v[d+8>>2]=m|4;break Ua}m=128;n=32}v[d>>2]=g;d=a-4|0;v[d>>2]=v[d>>2]|n;v[a+4>>2]=m|v[a+4>>2];d=v[a>>2]|4096}v[b>>2]=d|16384}Gc:{if((G|0)<2){break Gc}n=e+U|0;b=a+R|0;d=v[b>>2];if(!(!(d&255)|d&20480)){if(!(w[z+16|0]&2)){break wc}g=v[n>>2];d=g>>31;m=k&(d^d+g);d=(m|0)!=0;g=v[z+8>>2];r=g-1|0;v[z+8>>2]=r;Hc:{if((g|0)>=1){v[z+4>>2]=v[z+4>>2]|d<>2];r=g<<8&65280;F=(r|0)==65280?6:7;v[z+8>>2]=F;v[z+4>>2]=r|d<>2];r=v[d+8>>2];if(r&7){break Ua}F=v[d+64>>2];if((F|0)>=0&(F|0)<=v[d+60>>2]){break vc}v[d+4>>2]=v[d+4>>2]|32;r=v[d+28>>2];v[d+28>>2]=r-1;if((r|0)>=1){v[d+60>>2]=v[d+60>>2]+1;P=d;d=v[d+24>>2];v[P+24>>2]=d+1;t[d|0]=g;break Hc}if((Cb(d,g&255)|0)==-1){break Ua}}d=b;if(m){m=v[n>>2];g=m>>31;v[o+64>>2]=v[o+64>>2]+v[N+(((g^g+m)>>>Q&127)<<2)>>2];if(!(w[z+16|0]&2)){break uc}g=m>>>31|0;r=v[z+8>>2];F=r-1|0;v[z+8>>2]=F;Ic:{if((r|0)>=1){v[z+4>>2]=v[z+4>>2]|g<>2];F=r<<8&65280;W=(F|0)==65280?6:7;v[z+8>>2]=W;v[z+4>>2]=F|g<>2];F=v[g+8>>2];if(F&7){break Ua}W=v[g+64>>2];if((W|0)>=0&(W|0)<=v[g+60>>2]){break tc}v[g+4>>2]=v[g+4>>2]|32;F=v[g+28>>2];v[g+28>>2]=F-1;if((F|0)>=1){v[g+60>>2]=v[g+60>>2]+1;P=g;g=v[g+24>>2];v[P+24>>2]=g+1;t[g|0]=r;break Ic}if((Cb(g,r&255)|0)==-1){break Ua}}v[a+4>>2]=v[a+4>>2]|4;g=a-4|0;v[g>>2]=v[g>>2]|2;g=b+R|0;r=g-4|0;v[r>>2]=v[r>>2]|1;v[g+4>>2]=v[g+4>>2]|8;m=(m|0)<0;v[a>>2]=v[a>>2]|(m?1088:64);v[g>>2]=v[g>>2]|(m?272:16);g=b-4|0;v[g>>2]=v[g>>2]|(m?544:32);v[b+4>>2]=v[b+4>>2]|(m?2176:128);g=v[b>>2]|4096}else{g=v[b>>2]}v[d>>2]=g|16384}if((G|0)<3){break Gc}m=n+U|0;b=b+R|0;d=v[b>>2];if(!(!(d&255)|d&20480)){if(!(w[z+16|0]&2)){break sc}g=v[m>>2];d=g>>31;n=k&(d^d+g);d=(n|0)!=0;g=v[z+8>>2];r=g-1|0;v[z+8>>2]=r;Jc:{if((g|0)>=1){v[z+4>>2]=v[z+4>>2]|d<>2];r=g<<8&65280;F=(r|0)==65280?6:7;v[z+8>>2]=F;v[z+4>>2]=r|d<>2];r=v[d+8>>2];if(r&7){break Ua}F=v[d+64>>2];if((F|0)>=0&(F|0)<=v[d+60>>2]){break rc}v[d+4>>2]=v[d+4>>2]|32;r=v[d+28>>2];v[d+28>>2]=r-1;if((r|0)>=1){v[d+60>>2]=v[d+60>>2]+1;P=d;d=v[d+24>>2];v[P+24>>2]=d+1;t[d|0]=g;break Jc}if((Cb(d,g&255)|0)==-1){break Ua}}d=b;if(n){r=v[m>>2];g=r>>31;v[o+64>>2]=v[o+64>>2]+v[N+(((g^g+r)>>>Q&127)<<2)>>2];if(!(w[z+16|0]&2)){break qc}g=r>>>31|0;n=v[z+8>>2];F=n-1|0;v[z+8>>2]=F;Kc:{if((n|0)>=1){v[z+4>>2]=v[z+4>>2]|g<>2];F=n<<8&65280;W=(F|0)==65280?6:7;v[z+8>>2]=W;v[z+4>>2]=F|g<>2];F=v[g+8>>2];if(F&7){break Ua}W=v[g+64>>2];if((W|0)>=0&(W|0)<=v[g+60>>2]){break pc}v[g+4>>2]=v[g+4>>2]|32;F=v[g+28>>2];v[g+28>>2]=F-1;if((F|0)>=1){v[g+60>>2]=v[g+60>>2]+1;P=g;g=v[g+24>>2];v[P+24>>2]=g+1;t[g|0]=n;break Kc}if((Cb(g,n&255)|0)==-1){break Ua}}g=b+(s<<2)|0;v[g+4>>2]=v[g+4>>2]|4;n=g-4|0;v[n>>2]=v[n>>2]|2;n=b+R|0;F=n-4|0;v[F>>2]=v[F>>2]|1;v[n+4>>2]=v[n+4>>2]|8;P=g;F=v[g>>2];g=(r|0)<0;v[P>>2]=F|(g?1088:64);v[n>>2]=v[n>>2]|(g?272:16);n=b-4|0;v[n>>2]=v[n>>2]|(g?544:32);v[b+4>>2]=v[b+4>>2]|(g?2176:128);g=v[b>>2]|4096}else{g=v[b>>2]}v[d>>2]=g|16384}if(M){break Gc}b=b+R|0;d=v[b>>2];if(!(d&255)|d&20480){break Gc}if(!(w[z+16|0]&2)){break oc}n=m+U|0;g=v[n>>2];d=g>>31;m=k&(d^d+g);d=(m|0)!=0;g=v[z+8>>2];r=g-1|0;v[z+8>>2]=r;Lc:{if((g|0)>=1){v[z+4>>2]=v[z+4>>2]|d<>2];r=g<<8&65280;F=(r|0)==65280?6:7;v[z+8>>2]=F;v[z+4>>2]=r|d<>2];r=v[d+8>>2];if(r&7){break Ua}F=v[d+64>>2];if((F|0)>=0&(F|0)<=v[d+60>>2]){break nc}v[d+4>>2]=v[d+4>>2]|32;r=v[d+28>>2];v[d+28>>2]=r-1;if((r|0)>=1){v[d+60>>2]=v[d+60>>2]+1;P=d;d=v[d+24>>2];v[P+24>>2]=d+1;t[d|0]=g;break Lc}if((Cb(d,g&255)|0)==-1){break Ua}}d=b;if(m){m=v[n>>2];g=m>>31;v[o+64>>2]=v[o+64>>2]+v[N+(((g^g+m)>>>Q&127)<<2)>>2];if(!(w[z+16|0]&2)){break mc}g=m>>>31|0;n=v[z+8>>2];r=n-1|0;v[z+8>>2]=r;Mc:{if((n|0)>=1){v[z+4>>2]=v[z+4>>2]|g<>2];r=n<<8&65280;F=(r|0)==65280?6:7;v[z+8>>2]=F;v[z+4>>2]=r|g<>2];r=v[g+8>>2];if(r&7){break Ua}F=v[g+64>>2];if((F|0)>=0&(F|0)<=v[g+60>>2]){break lc}v[g+4>>2]=v[g+4>>2]|32;r=v[g+28>>2];v[g+28>>2]=r-1;if((r|0)>=1){v[g+60>>2]=v[g+60>>2]+1;P=g;g=v[g+24>>2];v[P+24>>2]=g+1;t[g|0]=n;break Mc}if((Cb(g,n&255)|0)==-1){break Ua}}g=b+(s<<2)|0;v[g+4>>2]=v[g+4>>2]|4;n=g-4|0;v[n>>2]=v[n>>2]|2;n=b+R|0;r=n-4|0;v[r>>2]=v[r>>2]|1;v[n+4>>2]=v[n+4>>2]|8;P=g;r=v[g>>2];g=(m|0)<0;v[P>>2]=r|(g?1088:64);v[n>>2]=v[n>>2]|(g?272:16);n=b-4|0;v[n>>2]=v[n>>2]|(g?544:32);v[b+4>>2]=v[b+4>>2]|(g?2176:128);b=v[b>>2]|4096}else{b=v[b>>2]}v[d>>2]=b|16384}e=e+4|0;a=a+4|0;d=f-1|0;if((f|0)>1){continue}break}q=(U<<2)+q|0;l=(R<<2)+l|0;a=(h|0)>4;h=h-4|0;if(a){continue}break}}if(!$){break Ua}_w(z,42);break Ua}O(35074,7618,580,189168);L()}v[d+8>>2]=r|4;break Ua}O(36612,7618,580,189168);L()}v[g+8>>2]=F|4;break Ua}O(35074,7618,588,189168);L()}v[d+8>>2]=r|4;break Ua}O(36612,7618,588,189168);L()}v[g+8>>2]=F|4;break Ua}O(35074,7618,596,189168);L()}v[d+8>>2]=r|4;break Ua}O(36612,7618,596,189168);L()}v[g+8>>2]=r|4}a=v[o+12>>2];Nc:{if(v[o+8>>2]==1){if(a){a=v[J+24>>2];v[a+28>>2]=-1;v[a>>2]=0;v[a+4>>2]=32768;v[a+32>>2]=-1;v[a+36>>2]=0;v[a+8>>2]=12}a=v[J+24>>2];v[o+16>>2]=v[a+4>>2];v[o+20>>2]=v[a>>2];v[o+24>>2]=v[a+8>>2];v[o+28>>2]=v[a+32>>2];oa=o,pa=Ei(v[J+20>>2]),v[oa+4>>2]=pa;if(!(w[p+304|0]&2)){break Nc}q5(v[J+24>>2]);break Nc}if(a){if(w[z+16|0]&2?v[z+8>>2]<8:-1){_w(z,42)}St(z);oa=o,pa=Ei(v[J+20>>2]),v[oa+4>>2]=pa;z=0;break Nc}oa=o,pa=Ei(v[J+20>>2])+(w[z+16|0]&2?v[z+8>>2]<8:-1)|0,v[oa+4>>2]=pa}K=+v[H+16>>2]*.0001220703125;V=K;K=+v[H+24>>2]*.0001220703125;Y=K;K=+v[v[v[H+32>>2]+60>>2]+24>>2]*.0001220703125;V=V*(V*(Y*(Y*(K*K))));K=+(1<>2]*.0001220703125*(V*K*K);A[o+56>>3]=K;A[o+48>>3]=K;a=v[J+4>>2];if((o|0)!=(a|0)){A[o+56>>3]=K+A[o-16>>3]}o=o+72|0;Q=Q-((ka|0)==2)|0;b=(Z|0)>1;Z=Z-1|0;if(b){continue}break}Z=v[J>>2]}if(Z){d=B(Z,72)+a|0;while(1){if(v[a>>2]<(E|0)){v[a>>2]=E}b=v[a+4>>2];if((E|0)>(b|0)){v[a+4>>2]=E;b=E}Oc:{if(v[a+12>>2]){break Oc}e=a;f=a;q=v[J>>2];Pc:{if((q|0)<1){break Pc}while(1){f=e+72|0;if((q|0)<=((f-a|0)/72|0)){break Pc}h=e;e=f;if(!v[h+84>>2]){continue}break}}if(v[a+8>>2]==1){e=b;b=v[a+28>>2]==255;b=e+(y[a+24>>2]>4?b?5:4:b?6:5)|0;v[a+4>>2]=b}e=v[f+4>>2];if((e|0)<(b|0)){v[a+4>>2]=e;b=e}e=v[J+20>>2];f=Ei(e);if((f|0)<=-1){break Ta}af(e,b-1|0,0);Qc:{if(v[e+28>>2]<=0){b=Eb(e,0);break Qc}b=w[v[e+24>>2]]}af(e,f,0);if((b|0)!=255){if((b|0)!=-1){b=v[a+4>>2];break Oc}S();L()}b=v[a+4>>2]+1|0;v[a+4>>2]=b}E=(b|0)<(E|0)?E:b;a=a+72|0;if((d|0)!=(a|0)){continue}break}}if(z){St(z)}break La}O(11793,7618,185,189141);L()}O(22612,7618,242,189152);L()}O(21547,7618,235,189152);L()}O(16101,7618,217,189152);L()}O(13105,7618,215,189152);L()}b=J+60|0;if((ca|0)!=(b|0)){continue}break}}I=I+52|0;da=da+1|0;if(da>>>0>2]){continue}break}}H=H+36|0;if((na|0)!=(H|0)){continue}break}}j=j- -64|0;if((ma|0)!=(j|0)){continue}break}}p=p+716|0;if((la|0)!=(p|0)){continue}break}}break Ga}O(3744,7618,165,189124);L()}b=c;e=b;H=v[C+8>>2];V=+(v[b+12>>2]-v[b+4>>2]>>>0)*+(v[b+16>>2]-v[b+8>>2]>>>0)/+(B(v[H+16>>2]-v[H+8>>2]|0,v[H+12>>2]-v[H+4>>2]|0)>>>0);K=V*+y[H+356>>2];Rc:{if(K<4294967296&K>=0){a=~~K>>>0;break Rc}a=0}v[e+52>>2]=a;b=v[c+24>>2];Sc:{if((b|0)<2){f=b-1|0;break Sc}b=v[c+40>>2];e=b;h=v[H- -64>>2];K=+v[h>>2]*.0001220703125*+(a>>>0);Tc:{if(K<4294967296&K>=0){a=~~K>>>0;break Tc}a=0}v[e>>2]=a;e=1;a=v[c+24>>2];if((a|0)<3){f=a-1|0;break Sc}while(1){a=e<<2;f=a+b|0;K=+v[a+h>>2]*.0001220703125*+y[c+52>>2];Uc:{if(K<4294967296&K>=0){a=~~K>>>0;break Uc}a=0}v[f>>2]=a;f=v[c+24>>2]-1|0;e=e+1|0;if((f|0)>(e|0)){continue}break}}U=v[c+40>>2];b=U+(f<<2)|0;a=-1;Vc:{if(v[H+352>>2]==-1){break Vc}K=V*+y[C+24>>2];if(K<4294967296&K>=0){a=~~K>>>0;break Vc}a=0}v[b>>2]=a;e=0;p=v[c+24>>2];if((p|0)>=1){while(1){b=U+(e<<2)|0;a=v[b>>2];if((a|0)!=-1){v[b>>2]=(a|0)<(ja|0)?0:a-ja|0;p=v[c+24>>2]}e=e+1|0;if((p|0)>(e|0)){continue}break}}V=0;I=Ma-48|0;Ma=I;c=-1;d=p;z=d-1|0;J=v[C+12>>2];Wc:{Xc:{if((d|0)>=3){b=v[U>>2];a=1;while(1){e=b;b=v[U+(a<<2)>>2];if(e>>>0>b>>>0){break Xc}a=a+1|0;if((z|0)!=(a|0)){continue}break}}R=fi(0,0);Yc:{if(!R){break Yc}X=1.7976931348623157e308;a=v[J+44>>2];if(a){e=v[J+48>>2];E=e+B(a,716)|0;while(1){a=v[e>>2];if(a){p=v[e+4>>2];i=p+(a<<6)|0;while(1){l=v[p+56>>2];Zc:{if(!l){break Zc}a=v[p+52>>2];if(!a){break Zc}k=B(a,36)+l|0;while(1){_c:{if(!v[l+4>>2]){break _c}Q=v[p+32>>2];if((Q|0)<1){break _c}g=v[l>>2];n=0;while(1){q=v[g+28>>2];$c:{if(!q){break $c}a=v[g+24>>2];if(!a){break $c}N=B(a,60)+q|0;while(1){o=v[q>>2];ad:{if(!o){break ad}f=v[q+4>>2];s=B(o,72);h=f+s|0;_=0;b=0;j=f;a=f;while(1){c=v[a+4>>2];K=A[a+56>>3];if(b){K=K-A[b+56>>3];c=c-v[b+4>>2]|0}bd:{cd:{dd:{if(K<=0){v[a+40>>2]=0;v[a+44>>2]=-1074790400;j=a>>>0>>0?j:a+72|0;break dd}if(a>>>0>>0&A[a+40>>3]<=0){break dd}if(!c){if(b){break cd}O(53431,52387,1547,188779);L()}K=K/+(c|0);if(K>=_?b:0){break cd}A[a+40>>3]=K;j=a>>>0>>0?j:a+72|0;_=K;b=a}a=a+72|0;if((h|0)!=(a|0)){continue}break bd}v[b+40>>2]=0;v[b+44>>2]=0}b=0;a=f;if((h|0)!=(j|0)){continue}break}if(!o){break ad}a=s-72|0;if(!((a>>>0)/72&1)){K=A[f+40>>3];ed:{if(!(K>0)){break ed}X=KV)){break ed}V=K}f=f+72|0}if(a>>>0<72){break ad}while(1){K=A[f+40>>3];fd:{if(K>0){X=KV){break fd}}K=V}V=A[f+112>>3];gd:{if(V>0){X=V>3]=V;A[I+32>>3]=X;Nb(55190,I+32|0)}s5(C,1);hd:{id:{jd:{if((d|0)>=1){f=0;while(1){s=U+(f<<2)|0;_=0;i=0;ia=V;K=X;k=0;kd:{while(1){Q=v[s>>2];if((Q|0)==-1){if((f|0)==(z|0)){_=-1;i=1;a=0;break kd}O(55559,52387,1732,188792);L()}a=v[C+12>>2];b=v[a+44>>2];if(b){l=v[a+48>>2];b=l+B(b,716)|0;while(1){a=v[l>>2];if(a){j=v[l+4>>2];c=j+(a<<6)|0;while(1){n=v[j+56>>2];ld:{if(!n){break ld}a=v[j+52>>2];if(!a){break ld}e=B(a,36)+n|0;while(1){if(!(!v[n+4>>2]|v[j+32>>2]<1)){a=v[n>>2];h=0;while(1){md:{if(!v[a+28>>2]){break md}pC(v[a+44>>2],v[a+32>>2]);pC(v[a+48>>2],v[a+36>>2]);q=v[a+24>>2];if(!q){break md}g=v[a+28>>2];E=g;q=B(q,60);o=q-60|0;p=((o>>>0)/60|0)+1&3;if(p){while(1){v[E+48>>2]=v[E+40>>2];v[E+56>>2]=v[E+8>>2];v[E+52>>2]=v[E+16>>2];E=E+60|0;p=p-1|0;if(p){continue}break}}if(o>>>0<180){break md}q=g+q|0;while(1){v[E+48>>2]=v[E+40>>2];v[E+56>>2]=v[E+8>>2];v[E+52>>2]=v[E+16>>2];v[E+108>>2]=v[E+100>>2];v[E+116>>2]=v[E+68>>2];v[E+112>>2]=v[E+76>>2];v[E+168>>2]=v[E+160>>2];v[E+176>>2]=v[E+128>>2];v[E+172>>2]=v[E+136>>2];v[E+228>>2]=v[E+220>>2];v[E+236>>2]=v[E+188>>2];v[E+232>>2]=v[E+196>>2];E=E+240|0;if((q|0)!=(E|0)){continue}break}}a=a+52|0;h=h+1|0;if((h|0)>2]){continue}break}}n=n+36|0;if((e|0)!=(n|0)){continue}break}}j=j- -64|0;if((c|0)!=(j|0)){continue}break}}l=l+716|0;if((b|0)!=(l|0)){continue}break}}m=Ei(R);if((m|0)<=-1){break id}Y=(ia+K)*.5;E=v[J+44>>2];nd:{if(!E){break nd}e=v[J+48>>2];N=e+B(E,716)|0;p=e;while(1){a=v[p>>2];if(a){l=v[p+4>>2];Z=l+(a<<6)|0;while(1){n=v[l+56>>2];od:{if(!n){break od}a=v[l+52>>2];if(!a){break od}$=B(a,36)+n|0;while(1){pd:{if(!v[n+4>>2]){break pd}r=v[l+32>>2];if((r|0)<1){break pd}g=v[n>>2];o=0;while(1){q=v[g+28>>2];qd:{if(!q){break qd}a=v[g+24>>2];if(!a){break qd}G=B(a,60)+q|0;while(1){a=v[q+40>>2];rd:{if(!a){break rd}c=a;b=a;j=v[q+4>>2]+B(v[q>>2],72)|0;sd:{if((j|0)==(a|0)){break sd}while(1){h=b+72|0;c=A[b+40>>3]>=Y?h:c;b=h;if((j|0)!=(b|0)){continue}break}if((a|0)==(c|0)){break sd}while(1){v[a+32>>2]=f;a=a+72|0;if((c|0)!=(a|0)){continue}break}a=c}if((a|0)==(j|0)){break rd}while(1){v[a+32>>2]=-1;a=a+72|0;if((j|0)!=(a|0)){continue}break}}q=q+60|0;if((G|0)!=(q|0)){continue}break}}g=g+52|0;o=o+1|0;if((r|0)!=(o|0)){continue}break}}n=n+36|0;if(($|0)!=(n|0)){continue}break}}l=l- -64|0;if((Z|0)!=(l|0)){continue}break}}p=p+716|0;if((N|0)!=(p|0)){continue}break}if(!E){break nd}while(1){a=v[e>>2];if(a){b=v[e+4>>2];c=b+(a<<6)|0;while(1){td:{if(!v[b+56>>2]){break td}a=0;if(v[b+32>>2]<=0){break td}while(1){if(KL(C,R,(e-v[J+48>>2]|0)/716|0,b-v[e+4>>2]>>6,a,f)){break hd}a=a+1|0;if((a|0)>2]){continue}break}}b=b- -64|0;if((c|0)!=(b|0)){continue}break}}e=e+716|0;if((N|0)!=(e|0)){continue}break}}a=Ei(R);if((a|0)<=-1){break jd}ud:{if((a|0)>(Q|0)){K=Y;break ud}_=i?_>Y?Y:_:Y;i=1;ia=Y}b=v[C+12>>2];c=v[b+44>>2];if(c){n=v[b+48>>2];b=n+B(c,716)|0;while(1){c=v[n>>2];if(c){E=v[n+4>>2];c=E+(c<<6)|0;while(1){j=v[E+56>>2];vd:{if(!j){break vd}e=v[E+52>>2];if(!e){break vd}e=B(e,36)+j|0;while(1){if(!(!v[j+4>>2]|v[E+32>>2]<1)){g=v[j>>2];h=0;while(1){wd:{if(!v[g+28>>2]){break wd}pC(v[g+32>>2],v[g+44>>2]);pC(v[g+36>>2],v[g+48>>2]);q=v[g+24>>2];if(!q){break wd}l=v[g+28>>2];o=l;q=B(q,60);N=q-60|0;p=((N>>>0)/60|0)+1&3;if(p){while(1){v[o+40>>2]=v[o+48>>2];v[o+8>>2]=v[o+56>>2];v[o+16>>2]=v[o+52>>2];o=o+60|0;p=p-1|0;if(p){continue}break}}if(N>>>0<180){break wd}q=l+q|0;while(1){v[o+40>>2]=v[o+48>>2];v[o+8>>2]=v[o+56>>2];v[o+16>>2]=v[o+52>>2];v[o+100>>2]=v[o+108>>2];v[o+68>>2]=v[o+116>>2];v[o+76>>2]=v[o+112>>2];v[o+160>>2]=v[o+168>>2];v[o+128>>2]=v[o+176>>2];v[o+136>>2]=v[o+172>>2];v[o+220>>2]=v[o+228>>2];v[o+188>>2]=v[o+236>>2];v[o+196>>2]=v[o+232>>2];o=o+240|0;if((q|0)!=(o|0)){continue}break}}g=g+52|0;h=h+1|0;if((h|0)>2]){continue}break}}j=j+36|0;if((e|0)!=(j|0)){continue}break}}E=E- -64|0;if((c|0)!=(E|0)){continue}break}}n=n+716|0;if((b|0)!=(n|0)){continue}break}}if((af(R,m,0)|0)<=-1){break Xc}if(v[279756]){A[I+24>>3]=Y;v[I+20>>2]=a;v[I+16>>2]=Q;Nb(56491,I+16|0)}if(ia+-.001>K){a=k>>>0<31;k=k+1|0;if(a){continue}}break}a=0;if(i){break kd}i=0;Nb(56849,0);a=1}if(v[279756]){A[I+8>>3]=_;v[I>>2]=i;Nb(57202,I)}i=v[J+44>>2];xd:{if(!i){break xd}e=v[J+48>>2];E=e+B(i,716)|0;b=e;p=b;yd:{if(a){while(1){a=v[b>>2];if(a){p=v[b+4>>2];h=p+(a<<6)|0;while(1){g=v[p+56>>2];zd:{if(!g){break zd}a=v[p+52>>2];if(!a){break zd}o=B(a,36)+g|0;while(1){Ad:{if(!v[g+4>>2]){break Ad}n=v[p+32>>2];if((n|0)<1){break Ad}l=v[g>>2];q=0;while(1){c=v[l+28>>2];Bd:{if(!c){break Bd}a=v[l+24>>2];if(!a){break Bd}j=c;k=B(a,60);Q=k-60|0;if(!((Q>>>0)/60&1)){a=v[c+40>>2];Cd:{if(!a){break Cd}j=v[c+4>>2]+B(v[c>>2],72)|0;if((j|0)==(a|0)){break Cd}while(1){v[a+32>>2]=-1;a=a+72|0;if((j|0)!=(a|0)){continue}break}}j=c+60|0}if(Q>>>0<=59){break Bd}c=c+k|0;while(1){a=v[j+40>>2];Dd:{if(!a){break Dd}k=v[j+4>>2]+B(v[j>>2],72)|0;if((k|0)==(a|0)){break Dd}while(1){v[a+32>>2]=-1;a=a+72|0;if((k|0)!=(a|0)){continue}break}}a=v[j+100>>2];Ed:{if(!a){break Ed}k=v[j- -64>>2]+B(v[j+60>>2],72)|0;if((k|0)==(a|0)){break Ed}while(1){v[a+32>>2]=-1;a=a+72|0;if((k|0)!=(a|0)){continue}break}}j=j+120|0;if((c|0)!=(j|0)){continue}break}}l=l+52|0;q=q+1|0;if((n|0)!=(q|0)){continue}break}}g=g+36|0;if((o|0)!=(g|0)){continue}break}}p=p- -64|0;if((h|0)!=(p|0)){continue}break}}b=b+716|0;if((E|0)!=(b|0)){continue}break yd}}while(1){a=v[p>>2];if(a){l=v[p+4>>2];k=l+(a<<6)|0;while(1){n=v[l+56>>2];Fd:{if(!n){break Fd}a=v[l+52>>2];if(!a){break Fd}Q=B(a,36)+n|0;while(1){Gd:{if(!v[n+4>>2]){break Gd}N=v[l+32>>2];if((N|0)<1){break Gd}g=v[n>>2];o=0;while(1){q=v[g+28>>2];Hd:{if(!q){break Hd}a=v[g+24>>2];if(!a){break Hd}s=B(a,60)+q|0;while(1){a=v[q+40>>2];Id:{if(!a){break Id}c=a;b=a;j=v[q+4>>2]+B(v[q>>2],72)|0;Jd:{if((j|0)==(a|0)){break Jd}while(1){h=b+72|0;c=A[b+40>>3]>=_?h:c;b=h;if((j|0)!=(b|0)){continue}break}if((a|0)==(c|0)){break Jd}while(1){v[a+32>>2]=f;a=a+72|0;if((c|0)!=(a|0)){continue}break}a=c}if((a|0)==(j|0)){break Id}while(1){v[a+32>>2]=-1;a=a+72|0;if((j|0)!=(a|0)){continue}break}}q=q+60|0;if((s|0)!=(q|0)){continue}break}}g=g+52|0;o=o+1|0;if((N|0)!=(o|0)){continue}break}}n=n+36|0;if((Q|0)!=(n|0)){continue}break}}l=l- -64|0;if((k|0)!=(l|0)){continue}break}}p=p+716|0;if((E|0)!=(p|0)){continue}break}}if(!i){break xd}while(1){a=v[e>>2];if(a){b=v[e+4>>2];c=b+(a<<6)|0;while(1){Kd:{if(!v[b+56>>2]){break Kd}a=0;if(v[b+32>>2]<=0){break Kd}while(1){if(KL(C,R,(e-v[J+48>>2]|0)/716|0,b-v[e+4>>2]>>6,a,f)){break hd}a=a+1|0;if((a|0)>2]){continue}break}}b=b- -64|0;if((c|0)!=(b|0)){continue}break}}e=e+716|0;if((E|0)!=(e|0)){continue}break}}f=f+1|0;if((d|0)!=(f|0)){continue}break}}if(v[279756]>=5){l=0;g=Ma-48|0;Ma=g;o=v[C+12>>2];if(v[o+24>>2]>=1){while(1){v[g+32>>2]=l;Nb(53867,g+32|0);i=v[o+44>>2];if((i|0)>=1){h=v[o+48>>2];f=0;while(1){j=v[h>>2];if((j|0)>=1){n=v[h+4>>2];e=0;while(1){d=v[n+56>>2];Ld:{if(!d){break Ld}c=0;i=v[n+52>>2];if((i|0)<1){break Ld}while(1){Md:{if(!v[d+4>>2]){break Md}j=v[n+32>>2];if((j|0)<1){break Md}q=v[d>>2];b=0;while(1){p=v[q+28>>2];Nd:{if(!p){break Nd}a=0;i=v[q+24>>2];if((i|0)<1){break Nd}while(1){if(v[p>>2]>=1){i=v[p+4>>2];j=0;while(1){if(v[i+32>>2]==(l|0)){v[g+24>>2]=j;v[g+20>>2]=a;v[g+16>>2]=b;v[g+12>>2]=c;v[g+8>>2]=e;v[g+4>>2]=f;v[g>>2]=l;Nb(54762,g);i=i+72|0;j=j+1|0;if((j|0)>2]){continue}}break}i=v[q+24>>2]}p=p+60|0;a=a+1|0;if((i|0)>(a|0)){continue}break}j=v[n+32>>2]}q=q+52|0;b=b+1|0;if((j|0)>(b|0)){continue}break}i=v[n+52>>2]}d=d+36|0;c=c+1|0;if((i|0)>(c|0)){continue}break}j=v[h>>2]}n=n- -64|0;e=e+1|0;if((j|0)>(e|0)){continue}break}i=v[o+44>>2]}h=h+716|0;f=f+1|0;if((i|0)>(f|0)){continue}break}}l=l+1|0;if((l|0)>2]){continue}break}}Ma=g+48|0}ne(R);c=0;break Yc}O(56170,52387,1805,188792);L()}O(55725,52387,1743,188792);L()}c=-1}Ma=I+48|0;break Wc}S();L()}if(c){break $}c=v[C+32>>2];if(!c){break ba}a=v[C+12>>2];s5(C,0);a=v[a+32>>2];t5(a);Od:{Pd:{if(!OL(a)){while(1){if(!w[a+101|0]){break Pd}b=-1;if(KL(C,c,v[a+24>>2],v[a+28>>2],v[a+32>>2],v[a+36>>2])){break Od}if(!OL(a)){continue}break}}b=0;break Od}O(2611,7578,148,189446);L()}if(b){Nb(65998,0);break $}a=Ei(v[C+32>>2]);if((af(v[C+32>>2],6,0)|0)<0){break $}Fh(v[C+32>>2],a);if((af(v[C+32>>2],0,0)|0)<0){break $}if(Pm(v[C+4>>2],v[C+32>>2],-1)){break $}v[C+20>>2]=a+v[C+20>>2];ne(v[C+32>>2]);v[C+32>>2]=0;SL(v[C+12>>2]);v[C+12>>2]=0;ba=ba+1|0;if((ba|0)>=v[H+44>>2]){break ea}c=J5(v[C+8>>2],v[C>>2],ba);v[C+12>>2]=c;if(c){continue}break}}S();L()}a=nk(65497);v[C+28>>2]=a;if(!a){break $}if(mk(v[C+4>>2],v[C+16>>2],a)){Nb(51644,0);break $}ci(v[C+28>>2]);e=0;v[C+28>>2]=0;if(MC(v[C+4>>2])){break $}TL(C);break b}O(64306,52387,944,188805);L()}O(65288,52387,1175,188848);L()}O(65288,52387,1180,188848);L()}O(51911,52387,1458,188756);L()}Nb(p,0)}TL(C);e=-1}Ma=T+5216|0;return e|0}O(65099,52387,186,188827);L()}function jwa(a,b){a=a|0;b=b|0;var 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,y=0;c=Ma-416|0;Ma=c;a:{if(!v[a+168>>2]){break a}m=v[b+492>>2];if(!m){break a}e=v[a+104>>2];A[c+208>>3]=A[b+496>>3];Qa[v[v[e>>2]+236>>2]](e,c+208|0)|0;t[c+411|0]=0;v[c+400>>2]=0;t[c+395|0]=0;v[c+384>>2]=0;v[c+380>>2]=0;b=v[a+168>>2];e=v[m+12>>2];g=v[m+8>>2];v[c>>2]=g;v[c+4>>2]=e;v[c+368>>2]=g;v[c+372>>2]=e;l=Ma-32|0;Ma=l;s=ab(4);q=s;e=v[b+12>>2];if(e){Qa[v[v[e>>2]+8>>2]](e)}v[q>>2]=b+12;b:{c:{d:{e=v[b+4>>2];e:{if(!e){break e}g=b+4|0;p=g;while(1){i=Gs(e+16|0,c);p=i?p:e;e=v[(i?4:0)+e>>2];if(e){continue}break}if((g|0)==(p|0)){break e}if(!Gs(c,p+16|0)){break d}}v[c+380>>2]=0;break c}e=v[p+24>>2];v[c+380>>2]=e;if(!e){break c}p=1;if(w[e+48|0]){break b}while(1){b=Ma-16|0;Ma=b;v[b+8>>2]=0;v[b+12>>2]=1e7;f:{g:{h:{if((b|0)==-8){break h}e=v[b+12>>2];if(e>>>0>999999999){break h}g=v[b+8>>2];if((g|0)>-1){break g}}v[296206]=28;break f}wa(+(+(e|0)/1e6+ +(g|0)*1e3))}Ma=b+16|0;if(!w[v[c+380>>2]+48|0]){continue}break}break b}e=v[c>>2];g=v[c+4>>2];p=0;t[l+19|0]=0;v[l+24>>2]=e;v[l+28>>2]=g;v[l+8>>2]=0;v[l>>2]=e;v[l+4>>2]=g;i=Ma-32|0;Ma=i;y=ab(4);r=y;e=v[b+12>>2];if(e){Qa[v[v[e>>2]+8>>2]](e)}v[r>>2]=b+12;f=ab(52);e=f;v[e+8>>2]=0;v[e+12>>2]=0;v[e+24>>2]=0;v[e+28>>2]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[e+4>>2]=v[l+4>>2];v[e>>2]=v[l>>2];e=e+8|0;i:{if((e|0)==(l+8|0)){break i}if(t[l+19|0]>=0){g=v[l+12>>2];v[e>>2]=v[l+8>>2];v[e+4>>2]=g;v[e+8>>2]=v[l+16>>2];break i}De(e,v[l+8>>2],v[l+12>>2])}v[f+44>>2]=0;v[f+40>>2]=0;v[f+36>>2]=0;v[f+32>>2]=0;e=v[l+4>>2];g=v[l>>2];v[i+16>>2]=f;v[i+8>>2]=g;v[i+12>>2]=e;o=i+8|0;h=b;b=v[b+4>>2];j:{k:{if(b){g=h+4|0;while(1){e=b+16|0;l:{if(Gs(o,e)){e=v[b>>2];if(e){break l}break k}if(!Gs(e,o)){break j}g=b+4|0;e=v[b+4>>2];if(!e){break j}b=g}g=b;b=e;continue}}b=h+4|0}g=b}k=i;e=v[g>>2];if(e){b=0}else{e=ab(28);o=v[i+12>>2];v[e+16>>2]=v[i+8>>2];v[e+20>>2]=o;o=v[i+16>>2];v[e+8>>2]=b;v[e>>2]=0;v[e+4>>2]=0;v[e+24>>2]=o;v[g>>2]=e;b=v[v[h>>2]>>2];if(b){v[h>>2]=b;b=v[g>>2]}else{b=e}Ob(v[h+4>>2],b);v[h+8>>2]=v[h+8>>2]+1;b=1}t[k+28|0]=b;v[i+24>>2]=e;b=v[r>>2];m:{if(!b){break m}b=v[b>>2];if(!b){break m}Qa[v[v[b>>2]+12>>2]](b)}v[r>>2]=0;$a(y);Ma=i+32|0;v[c+380>>2]=f;if(t[l+19|0]<=-1){$a(v[l+8>>2]);f=v[c+380>>2]}t[f+48|0]=0}b=v[q>>2];n:{if(!b){break n}b=v[b>>2];if(!b){break n}Qa[v[v[b>>2]+12>>2]](b)}v[q>>2]=0;$a(s);Ma=l+32|0;o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{if(!p){e=v[m+20>>2];if((e|0)==4){t[v[c+380>>2]+48|0]=1;break o}t[c+363|0]=0;v[c+352>>2]=0;v[c+344>>2]=0;v[c+336>>2]=0;v[c+340>>2]=0;b=v[m+36>>2];f=v[m+32>>2];if((f|0)>=0){v[c+312>>2]=0;v[c+304>>2]=0;v[c+308>>2]=0;g=e-1|0;if(!(g>>>0>10|!(2039>>>g&1))){Rd(c+304|0,v[(g<<2)+879400>>2])}if(v[290698]){g=v[290698];Qa[v[v[g>>2]+28>>2]](c+208|0,g);if(t[c+363|0]<=-1){$a(v[c+352>>2])}v[c+360>>2]=v[c+216>>2];g=v[c+212>>2];v[c+352>>2]=v[c+208>>2];v[c+356>>2]=g}v[c+220>>2]=b;v[c+216>>2]=f;v[c+208>>2]=9;v[c+320>>2]=13;b=0;g=c+208|0;ue(g,v[a+164>>2],c+320|0,0);bb(g);if(v[c+320>>2]!=8){bb(c+320|0);t[v[c+380>>2]+48|0]=1;break s}b=v[c+328>>2];Qa[v[v[b>>2]+20>>2]](b);d=65535;g=ab(65535);b=v[c+328>>2];i=Qa[v[v[b>>2]+28>>2]](b)|0;C:{if((i|0)==-1){b=0;break C}b=0;while(1){if((b|0)>=(d|0)){j=d<<1;d=cb(ab(j),g,d);$a(g);g=d;d=j}t[b+g|0]=i;b=b+1|0;j=v[c+328>>2];i=Qa[v[v[j>>2]+28>>2]](j)|0;if((i|0)!=-1){continue}break}}v[c+340>>2]=b;v[c+336>>2]=g;v[c+344>>2]=0;b=v[290698];Qa[v[v[b>>2]+16>>2]](b,c+352|0,v[c+336>>2],v[c+340>>2],1)|0;b=v[c+328>>2];Qa[v[v[b>>2]+24>>2]](b);bb(c+320|0);g=w[c+363|0];b=g<<24>>24;D:{if(t[c+411|0]>=0){if((b|0)>=0){v[c+408>>2]=v[c+360>>2];b=v[c+356>>2];v[c+400>>2]=v[c+352>>2];v[c+404>>2]=b;break D}De(c+400|0,v[c+352>>2],v[c+356>>2]);break D}b=(b|0)<0;mf(c+400|0,b?v[c+352>>2]:c+352|0,b?v[c+356>>2]:g)}g=v[a+160>>2];b=0;v[c+24>>2]=0;v[c+192>>2]=0;v[c+196>>2]=1076101120;v[c+176>>2]=0;v[c+180>>2]=1079115776;v[c+56>>2]=0;v[c+60>>2]=1079115776;if(!(Qa[v[v[g>>2]+144>>2]](g,c+400|0,c+24|0,c+192|0,c+176|0,c+56|0)|0)){t[v[c+380>>2]+48|0]=1;break s}b=v[a+160>>2];Qa[v[v[b>>2]+156>>2]](c+192|0,b);E:{F:{G:{b=w[c+203|0];if(((b<<24>>24<0?v[c+196>>2]:b)|0)!=8){break G}if(Vc(c+192|0,876704,8)){break G}b=e-3|0;if(b>>>0<9){break F}break u}b=e-1>>>0>1?1:e;if(Oi(876740,c+192|0)){break t}if(Oi(876768,c+192|0)){e=e-7|0;b=7;if(e>>>0>=5){break t}b=v[(e<<2)+879480>>2];break t}b=e;if(!Oi(876812,c+192|0)){break t}b=e-2|0;if(b>>>0<10){break E}break v}if(!(461>>>b&1)){break u}b=v[(b<<2)+879444>>2];break t}if(!(979>>>b&1)){break v}b=v[(b<<2)+879500>>2];break t}if(BV(m,v[a+164>>2])){OW(c+208|0,v[BV(m,v[a+164>>2])+16>>2]);if(t[c+411|0]<=-1){$a(v[c+400>>2])}v[c+408>>2]=v[c+216>>2];b=v[c+212>>2];v[c+400>>2]=v[c+208>>2];v[c+404>>2]=b;g=1;b=t[c+411|0];if((b|0)<0?v[c+404>>2]:b&255){break r}}if(!v[a+160>>2]){break B}v[c+304>>2]=13;b=v[m+8>>2];e=v[m+12>>2];v[c+320>>2]=9;v[c+328>>2]=b;v[c+332>>2]=e;b=c+320|0;ue(b,v[a+164>>2],c+304|0,0);bb(b);eb(c+208|0,0,96);OW(c+56|0,v[m+16>>2]);H:{if(v[c+304>>2]==7){b=v[c+312>>2];v[c+192>>2]=13;I:{if(v[ib(b,237426,c+192|0,0)>>2]==7){v[c+176>>2]=13;ib(v[c+200>>2],280061,c+176|0,0);J:{if(v[c+176>>2]==4){b=v[c+184>>2];e=ab(12);GI(e,b,zb(b));v[c+208>>2]=e;break J}b=ab(12);K:{if(t[c+67|0]>=0){e=v[c+60>>2];v[b>>2]=v[c+56>>2];v[b+4>>2]=e;v[b+8>>2]=v[c- -64>>2];break K}vc(b,v[c+56>>2],v[c+60>>2])}v[c+208>>2]=b}b=c+176|0;bb(b);ib(v[c+200>>2],219545,b,0);bb(b);ib(v[c+200>>2],269969,b,0);bb(b);ib(v[c+200>>2],232115,b,0);bb(b);ib(v[c+200>>2],220491,b,0);bb(b);ib(v[c+200>>2],281066,b,0);if(!(!v[c+184>>2]|v[c+176>>2]!=1)){b=ab(4);v[b>>2]=1;v[c+228>>2]=b}b=c+176|0;bb(b);ib(v[c+200>>2],230769,b,0);if(v[c+176>>2]==1){b=ab(2);u[b>>1]=v[c+184>>2];v[c+284>>2]=b}b=c+176|0;bb(b);ib(v[c+200>>2],272698,b,0);if(v[c+176>>2]==1){b=ab(2);u[b>>1]=v[c+184>>2];v[c+292>>2]=b}b=c+176|0;bb(b);ib(v[c+200>>2],232126,b,0);if(v[c+176>>2]==1){b=ab(2);u[b>>1]=v[c+184>>2];v[c+300>>2]=b}b=c+176|0;bb(b);ib(v[c+200>>2],232149,b,0);if(v[c+176>>2]==1){b=ab(2);u[b>>1]=v[c+184>>2];v[c+296>>2]=b}b=c+176|0;bb(b);ib(v[c+200>>2],309146,b,0);bb(b);ib(v[c+200>>2],311392,b,0);bb(b);ib(v[c+200>>2],230761,b,0);if(v[c+176>>2]==1){b=ab(2);u[b>>1]=v[c+184>>2];v[c+288>>2]=b}b=c+176|0;bb(b);ib(v[c+200>>2],269393,b,0);if(v[c+176>>2]==1){b=ab(2);u[b>>1]=v[c+184>>2];v[c+280>>2]=b}b=c+176|0;bb(b);ib(v[c+200>>2],269361,b,0);bb(b);ib(v[c+200>>2],269402,b,0);bb(b);break I}b=ab(12);L:{if(t[c+67|0]>=0){e=v[c+60>>2];v[b>>2]=v[c+56>>2];v[b+4>>2]=e;v[b+8>>2]=v[c- -64>>2];break L}vc(b,v[c+56>>2],v[c+60>>2])}v[c+208>>2]=b}bb(c+192|0);break H}b=ab(12);M:{if(t[c+67|0]>=0){e=v[c+60>>2];v[b>>2]=v[c+56>>2];v[b+4>>2]=e;v[b+8>>2]=v[c- -64>>2];break M}vc(b,v[c+56>>2],v[c+60>>2])}v[c+208>>2]=b}b=v[a+160>>2];b=Qa[v[v[b>>2]+132>>2]](b,c+208|0,1)|0;if(t[c+67|0]<=-1){$a(v[c+56>>2])}PJ(c+208|0);if(!b){break B}b=b+12|0;if(!yo(875884,b)){break B}Yo(c+400|0,b);e=Qa[v[v[m>>2]+8>>2]](m)|0?10:5;g=0;if(v[a+108>>2]!=1){break r}v[c- -64>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;N:{O:{if(!(Qa[v[v[m>>2]+8>>2]](m)|0)){b=876828;break O}b=876848;if(!(Qa[v[v[m>>2]+8>>2]](m)|0)){break N}}Rd(c+56|0,b)}v[c+40>>2]=0;h=t[c+67|0]<0?v[c+56>>2]:c+56|0;b=v[291134];P:{if(t[b+443|0]>=0){v[c+216>>2]=v[b+440>>2];g=v[b+436>>2];v[c+208>>2]=v[b+432>>2];v[c+212>>2]=g;break P}vc(c+208|0,v[b+432>>2],v[b+436>>2])}f=c+352|0;d=t[c+219|0]<0?v[c+208>>2]:c+208|0;b=Ma-96|0;Ma=b;v[b+80>>2]=0;v[b+72>>2]=0;v[b+76>>2]=0;v[b- -64>>2]=0;v[b+56>>2]=0;v[b+60>>2]=0;Q:{R:{g=ii(310553);S:{if(!(d|!g)){d=zb(g);v[b+48>>2]=0;v[b+40>>2]=0;v[b+44>>2]=0;i=g;g=b+40|0;EA(i,d,g);d=b+72|0;pN(d,t[b+51|0]<0?v[b+40>>2]:g);kc(d,520716);if(t[b+51|0]>-1){break S}$a(v[b+40>>2]);break S}if(d){g=ce(d);if(g>>>0>=1073741808){break R}T:{U:{if(g>>>0>=2){o=g+4&-4;i=ab(o<<2);v[b+48>>2]=o|-2147483648;v[b+40>>2]=i;v[b+44>>2]=g;break U}t[b+51|0]=g;i=b+40|0;if(!g){break T}}rb(i,d,g)}v[(g<<2)+i>>2]=0;if(t[b+83|0]<=-1){$a(v[b+72>>2])}v[b+80>>2]=v[b+48>>2];g=v[b+44>>2];v[b+72>>2]=v[b+40>>2];v[b+76>>2]=g;kc(b+72|0,520716);break S}t[b+83|0]=0;v[b+72>>2]=0}kc(b+72|0,520724);p=aa(0)|0;i=0;V:{while(1){d=w[b+83|0];g=d<<24>>24;W:{if(t[b+67|0]>=0){if((g|0)>=0){v[b- -64>>2]=v[b+80>>2];g=v[b+76>>2];v[b+56>>2]=v[b+72>>2];v[b+60>>2]=g;break W}De(b+56|0,v[b+72>>2],v[b+76>>2]);break W}g=(g|0)<0;mf(b+56|0,g?v[b+72>>2]:b+72|0,g?v[b+76>>2]:d)}g=b+40|0;rj(g,i+p|0);k=g;g=w[b+51|0];d=g<<24>>24<0;bd(b+56|0,d?v[b+40>>2]:k,d?v[b+44>>2]:g);if(t[b+51|0]<=-1){$a(v[b+40>>2])}if(h){kc(b+56|0,h)}d=v[b+56>>2];o=v[b+60>>2];g=t[b+67|0];v[b+24>>2]=0;v[b+8>>2]=0;k=d;d=(g|0)<0;Fj(d?k:b+56|0,d?o:g&255,b+24|0,b+8|0);X:{Y:{Z:{g=v[b+8>>2];if(g>>>0<4294967280){o=v[b+24>>2];_:{$:{if(g>>>0>=11){l=g+16&-16;d=ab(l);v[b+48>>2]=l|-2147483648;v[b+40>>2]=d;v[b+44>>2]=g;break $}t[b+51|0]=g;d=b+40|0;if(!g){break _}}cb(d,o,g)}t[d+g|0]=0;g=v[b+24>>2];if(g){$a(g)}g=v[b+40>>2];d=t[b+51|0];o=ji((d|0)<0?g:b+40|0,240365);aa:{if(!o){d=ce(876884);if(d>>>0>=1073741808){break Z}ba:{ca:{if(d>>>0>=2){n=d+4&-4;g=ab(n<<2);v[b+32>>2]=n|-2147483648;v[b+24>>2]=g;v[b+28>>2]=d;break ca}t[b+35|0]=d;g=b+24|0;if(!d){break ba}}rb(g,876884,d)}v[(d<<2)+g>>2]=0;d=v[b+24>>2];n=v[b+28>>2];g=t[b+35|0];v[b+92>>2]=0;v[b+88>>2]=0;k=d;d=(g|0)<0;Fj(d?k:b+24|0,d?n:g&255,b+92|0,b+88|0);d=v[b+88>>2];if(d>>>0>=4294967280){break Y}n=v[b+92>>2];da:{ea:{if(d>>>0>=11){l=d+16&-16;g=ab(l);v[b+16>>2]=l|-2147483648;v[b+8>>2]=g;v[b+12>>2]=d;break ea}t[b+19|0]=d;g=b+8|0;if(!d){break da}}cb(g,n,d)}t[d+g|0]=0;g=v[b+92>>2];if(g){$a(g)}g=v[b+40>>2];d=t[b+51|0];q=v[b+8>>2];r=t[b+19|0];n=ji((d|0)<0?g:b+40|0,(r|0)<0?q:b+8|0);if(n){fa:{if((f|0)==(b+56|0)){break fa}s=w[b+67|0];l=s<<24>>24;if(t[f+11|0]>=0){if((l|0)>=0){l=v[b+60>>2];v[f>>2]=v[b+56>>2];v[f+4>>2]=l;v[f+8>>2]=v[b- -64>>2];break fa}De(f,v[b+56>>2],v[b+60>>2]);break fa}l=(l|0)<0;mf(f,l?v[b+56>>2]:b+56|0,l?v[b+60>>2]:s)}v[c+40>>2]=n}if((r|0)<=-1){$a(q)}if(t[b+35|0]<=-1){$a(v[b+24>>2])}n=(n|0)!=0;break aa}Fe(o)}if((d|0)<=-1){$a(g)}if(o){break X}break V}sc();L()}sc();L()}sc();L()}i=i+1|0;if((i|0)!=1e3){continue}break}n=0}if(t[b+67|0]<=-1){$a(v[b+56>>2])}if(t[b+83|0]<=-1){$a(v[b+72>>2])}Ma=b+96|0;b=n;break Q}sc();L()}if(t[c+219|0]<=-1){$a(v[c+208>>2])}if(!b){if(yo(875884,c+352|0)){hw(c+352|0)}t[v[c+380>>2]+48|0]=1;break w}Fe(v[c+40>>2]);ga:{if(xZ(c+400|0,c+352|0)){Yo(c+400|0,c+352|0);break ga}g=c+352|0;hw(g);Rd(g,875884)}if(!yo(875884,c+352|0)){break w}v[c+32>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+168>>2]=0;v[c+160>>2]=0;v[c+164>>2]=0;g=c+24|0;HW(c+400|0,g,c+160|0);gH(c+144|0,g,876896);v[c+136>>2]=0;v[c+128>>2]=0;v[c+132>>2]=0;v[c+320>>2]=13;g=v[m+8>>2];d=v[m+12>>2];v[c+208>>2]=9;v[c+216>>2]=g;v[c+220>>2]=d;g=c+208|0;ue(g,v[a+164>>2],c+320|0,0);bb(g);if(v[c+320>>2]!=7){break x}g=v[c+328>>2];v[c+304>>2]=13;ib(g,272636,c+304|0,0);g=0;ha:{ia:{switch(v[c+304>>2]-4|0){case 3:v[c+192>>2]=13;ib(v[c+312>>2],272597,c+192|0,0);ja:{ka:{if(v[c+192>>2]!=4){break ka}j=v[c+200>>2];if(!hb(j,272564)){break ja}if(!hb(j,272546)){g=1;break ja}if(hb(j,272581)){break ka}g=2;break ja}g=-1}bb(c+192|0);j=1;break ha;case 0:d=v[c+312>>2];if(!hb(d,272564)){break ha}if(!hb(d,272546)){g=1;break ha}g=!hb(d,272581);break;default:break ia}}j=g?0:-1;g=g?2:-1}d=sb(c+192|0,876916);wc(c+128|0,d,1);if(t[d+11|0]<=-1){$a(v[d>>2])}d=sb(c+192|0,876952);h=j;j=sb(c+176|0,875884);i=sb(c+112|0,875884);Wc(c+128|0,d,h,j,i);if(t[i+11|0]<=-1){$a(v[i>>2])}if(t[j+11|0]<=-1){$a(v[j>>2])}if(t[d+11|0]<=-1){$a(v[d>>2])}j=sb(c+192|0,876972);i=g;g=sb(c+176|0,875884);d=sb(c+112|0,875884);Wc(c+128|0,j,i,g,d);if(t[d+11|0]<=-1){$a(v[d>>2])}if(t[g+11|0]<=-1){$a(v[g>>2])}if(t[j+11|0]<=-1){$a(v[j>>2])}g=sb(c+192|0,876916);kc(c+128|0,879328);if(t[g+11|0]<=-1){$a(v[g>>2])}if(v[c+304>>2]!=7){break y}v[c+192>>2]=13;ib(v[c+312>>2],236785,c+192|0,0);if(v[c+192>>2]!=6){break z}j=v[v[c+200>>2]+12>>2];g=sb(c+176|0,876992);wc(c+128|0,g,1);if(t[g+11|0]<=-1){$a(v[g>>2])}g=sb(c+176|0,877040);d=sb(c+112|0,875884);i=sb(c+96|0,875884);Wc(c+128|0,g,j,d,i);if(t[i+11|0]<=-1){$a(v[i>>2])}if(t[d+11|0]<=-1){$a(v[d>>2])}if(t[g+11|0]<=-1){$a(v[g>>2])}g=sb(c+176|0,876992);kc(c+128|0,879328);if(t[g+11|0]<=-1){$a(v[g>>2])}g=0;if((j|0)<=0){break A}while(1){v[c+176>>2]=13;ub(v[c+200>>2],g,c+176|0,0);la:{ma:{switch(v[c+176>>2]-1|0){case 0:d=v[c+184>>2];wc(c+128|0,sb(c+112|0,877064),1);if(t[c+123|0]<=-1){$a(v[c+112>>2])}Wc(c+128|0,sb(c+112|0,877084),d,sb(c+96|0,875884),sb(c+80|0,875884));if(t[c+91|0]<=-1){$a(v[c+80>>2])}if(t[c+107|0]<=-1){$a(v[c+96>>2])}if(t[c+123|0]<=-1){$a(v[c+112>>2])}sb(c+112|0,877064);kc(c+128|0,879360);if(t[c+123|0]>-1){break la}$a(v[c+112>>2]);break la;case 3:break ma;default:break la}}d=v[c+184>>2];wc(c+128|0,sb(c+112|0,877108),1);if(t[c+123|0]<=-1){$a(v[c+112>>2])}i=sb(c+112|0,877084);f=c+96|0;Vf(f,d);wh(c+128|0,i,f);if(t[c+107|0]<=-1){$a(v[c+96>>2])}if(t[c+123|0]<=-1){$a(v[c+112>>2])}sb(c+112|0,877108);kc(c+128|0,879360);if(t[c+123|0]>-1){break la}$a(v[c+112>>2])}bb(c+176|0);g=g+1|0;if((j|0)!=(g|0)){continue}break}break A}b=v[c+380>>2];if(!b){break p}e=b+8|0;na:{if((e|0)==(c+400|0)){break na}j=w[b+19|0];g=j<<24>>24;if(t[c+411|0]>=0){if((g|0)>=0){v[c+408>>2]=v[e+8>>2];g=v[e+4>>2];v[c+400>>2]=v[e>>2];v[c+404>>2]=g;break na}De(c+400|0,v[b+8>>2],v[b+12>>2]);break na}d=e;e=(g|0)<0;mf(c+400|0,e?v[b+8>>2]:d,e?v[b+12>>2]:j)}e=b+20|0;if((e|0)==(c+384|0)){break p}j=w[b+31|0];g=j<<24>>24;if(t[c+395|0]>=0){if((g|0)>=0){v[c+392>>2]=v[e+8>>2];b=v[e+4>>2];v[c+384>>2]=v[e>>2];v[c+388>>2]=b;break p}De(c+384|0,v[b+20>>2],v[b+24>>2]);break p}d=e;e=(g|0)<0;mf(c+384|0,e?v[b+20>>2]:d,e?v[b+24>>2]:j);break p}t[v[c+380>>2]+48|0]=1;break q}g=sb(c+176|0,876992);qg(c+128|0,g);if(t[g+11|0]>-1){break z}$a(v[g>>2])}bb(c+192|0)}bb(c+304|0);g=sb(c+192|0,876916);qg(c+128|0,g);if(t[g+11|0]>-1){break x}$a(v[g>>2])}bb(c+320|0);II(c+144|0,c+128|0);if(t[c+139|0]<=-1){$a(v[c+128>>2])}if(t[c+155|0]<=-1){$a(v[c+144>>2])}if(t[c+171|0]<=-1){$a(v[c+160>>2])}if(t[c+35|0]>-1){break w}$a(v[c+24>>2])}if(t[c+67|0]<=-1){$a(v[c+56>>2])}g=0;d=0;if(b){break r}break q}b=2;if((e&-5)==1){break t}b=(e|0)==7?8:e;break t}b=3;if(e-1>>>0<2){break t}b=e-7>>>0<2?9:e}e=b;if(t[c+203|0]<=-1){$a(v[c+192>>2])}b=1}if(t[c+315|0]<=-1){$a(v[c+304>>2])}d=0;g=1;if(!b){break q}}j=0;v[c+76>>2]=0;b=yW(2745,c+336|0);v[c+344>>2]=0;oa:{pa:{switch(e-1|0){case 0:case 1:case 2:if((b|0)==4){b=zz(v[c+336>>2],v[c+340>>2]);if(b){j=xV(m,b);v[c+76>>2]=256;Qa[v[v[b>>2]+4>>2]](b);break oa}v[c+76>>2]=0;break oa}if(!yo(875884,c+400|0)){break oa}b=v[a+160>>2];if(!b){break oa}v[c+192>>2]=0;v[c+208>>2]=0;v[c+212>>2]=1072693248;v[c+320>>2]=0;v[c+324>>2]=1079115776;v[c+304>>2]=0;v[c+308>>2]=1079115776;Qa[v[v[b>>2]+144>>2]](b,c+400|0,c+192|0,c+208|0,c+320|0,c+304|0)|0;e=gb(1024);if(!e){break oa}d=m+164|0;v[c+76>>2]=256;b=0;while(1){g=b<<2;j=g+e|0;v[j>>2]=0;i=v[d+g>>2];if(i){g=v[a+160>>2];f=c+208|0;Vf(f,i);g=Qa[v[v[g>>2]+164>>2]](g,f)|0;if(t[c+219|0]<=-1){$a(v[c+208>>2])}v[j>>2]=g&65535}j=e;b=b+1|0;if((b|0)!=256){continue}break};break oa;case 4:case 5:if((b|0)==1){if(!yo(875884,c+400|0)){break oa}b=v[a+160>>2];if(!b){break oa}v[c+192>>2]=0;v[c+208>>2]=0;v[c+212>>2]=1072693248;v[c+320>>2]=0;v[c+324>>2]=1079115776;v[c+304>>2]=0;v[c+308>>2]=1079115776;Qa[v[v[b>>2]+144>>2]](b,c+400|0,c+192|0,c+208|0,c+320|0,c+304|0)|0;e=gb(1024);if(!e){break oa}d=m+164|0;v[c+76>>2]=256;b=0;while(1){g=b<<2;j=g+e|0;v[j>>2]=0;i=v[d+g>>2];if(i){g=v[a+160>>2];f=c+208|0;Vf(f,i);g=Qa[v[v[g>>2]+164>>2]](g,f)|0;if(t[c+219|0]<=-1){$a(v[c+208>>2])}v[j>>2]=g&65535}j=e;b=b+1|0;if((b|0)!=256){continue}break}break oa}b=zz(v[c+336>>2],v[c+340>>2]);if(b){j=xV(m,b);v[c+76>>2]=256;Qa[v[v[b>>2]+4>>2]](b);break oa}v[c+76>>2]=0;break oa;case 6:case 7:v[c+76>>2]=0;break oa;case 8:g=zz(v[c+336>>2],v[c+340>>2]);if(g){qa:{if(v[g+64>>2]){b=0;v[c+76>>2]=0;ra:{if(!v[g+64>>2]){break ra}e=v[g+20>>2];j=-1;d=v[g+24>>2];sa:{if((d|0)<1){break sa}while(1){if(v[e+B(b,20)>>2]==1128678944){j=b;break sa}b=b+1|0;if((d|0)!=(b|0)){continue}break}}b=0;d=B(j,20);j=d+e|0;e=v[j+8>>2];j=v[j+16>>2];if(!((2147483647-e|0)>=(j|0)&(e|j)>-1&v[g+12>>2]>=(e+j|0))){break ra}e=d+v[g+20>>2]|0;j=vW(v[g+8>>2]+v[e+8>>2]|0,v[e+16>>2]);if(!j){break ra}e=0;ta:{if(v[j+128>>2]!=3102){break ta}b=1;d=v[j+332>>2];if((d|0)>=1){i=v[j+344>>2];e=d&3;ua:{if(d-1>>>0<3){b=0;d=0;break ua}h=d&-4;b=0;d=0;while(1){f=b<<1;n=x[i+(f|6)>>1];o=x[i+(f|4)>>1];l=x[i+(f|2)>>1];f=x[f+i>>1];d=d>>>0>>0?f:d;d=d>>>0>>0?l:d;d=d>>>0>>0?o:d;d=d>>>0>>0?n:d;b=b+4|0;h=h-4|0;if(h){continue}break}}if(e){while(1){f=x[i+(b<<1)>>1];d=d>>>0>>0?f:d;b=b+1|0;e=e-1|0;if(e){continue}break}}b=d+1|0}d=0;e=Pb(b,4);i=eb(e,0,b<<2);if(v[j+332>>2]<1){break ta}f=v[j+344>>2];while(1){v[i+(x[f+(d<<1)>>1]<<2)>>2]=d;d=d+1|0;if((d|0)>2]){continue}break}}v[c+76>>2]=b;b=e;Qa[v[v[j>>2]+4>>2]](j)}break qa}v[c+76>>2]=0;b=0}j=b;Qa[v[v[g>>2]+4>>2]](g);break oa}v[c+76>>2]=0;break oa;case 9:case 10:break pa;default:break oa}}v[c+76>>2]=0;va:{wa:{xa:{ya:{za:{if(!(yo(875884,c+400|0)^1|g)){b=v[m+168>>2];if(b){v[b+24>>2]=v[b+24>>2]+1;f=v[m+168>>2]}else{f=0}if(!f){break oa}h=zz(v[c+336>>2],v[c+340>>2]);if(!h){break va}i=0;v[c+328>>2]=0;v[c+320>>2]=0;v[c+324>>2]=0;if(v[h+32>>2]<=0){break wa}e=0;b=0;while(1){g=v[h+28>>2]+B(b,20)|0;Aa:{if(!(v[v[h+28>>2]+B(b,20)>>2]?v[g>>2]==3&v[g+4>>2]==1:1)){break Aa}if((d|0)!=(e|0)){v[e>>2]=b;e=e+4|0;v[c+324>>2]=e;break Aa}j=d-i|0;d=j>>2;e=d+1|0;if(e>>>0>=1073741824){break za}g=j>>1;e=d>>>0<536870911?e>>>0>g>>>0?e:g:1073741823;if(e){if(e>>>0>=1073741824){break ya}g=ab(e<<2)}else{g=0}n=g+(d<<2)|0;v[n>>2]=b;d=g+(e<<2)|0;e=n+4|0;if((j|0)>=1){cb(g,i,j)}v[c+328>>2]=d;v[c+324>>2]=e;v[c+320>>2]=g;if(i){$a(i)}i=g}b=b+1|0;if((b|0)>2]){continue}break}break xa}e=v[m+216>>2];if(!e){break oa}b=v[m+220>>2];v[c+76>>2]=b;if((b|0)<1){break oa}b=b<<2;g=gb(b);if(!g){break oa}j=cb(g,e,b);break oa}Jc();L()}Zd(273730);L()}j=0;if((e|0)==(i|0)){break wa}b=v[f+8>>2];v[c+76>>2]=b;if((b|0)<1){break wa}j=gb(b<<2);n=e-i>>2;o=n>>>0<3;g=0;while(1){Ba:{if((ql(f,g,c+208|0,8)|0)>=1){d=(g<<2)+j|0;b=jn(h,v[i>>2],v[c+208>>2]);v[d>>2]=b;if(b|e-i>>2>>>0<2){break Ba}l=jn(h,v[i+4>>2],v[c+208>>2]);v[d>>2]=l;if(o){break Ba}b=2;if(l){break Ba}while(1){l=jn(h,v[(b<<2)+i>>2],v[c+208>>2]);v[d>>2]=l;b=b+1|0;if(n>>>0<=b>>>0){break Ba}if(!l){continue}break}break Ba}v[(g<<2)+j>>2]=0}g=g+1|0;if((g|0)>2]){continue}break}}Qa[v[v[h>>2]+4>>2]](h);if(!i){break va}$a(i)}nq(f)}Ca:{Da:{Ea:{if(Qa[v[v[m>>2]+8>>2]](m)|0){b=v[m+168>>2];if(b){v[b+24>>2]=v[b+24>>2]+1;d=v[m+168>>2]}else{d=0}if(!d){break Da}g=v[d+8>>2];if((g|0)<1){i=0;break Ea}i=gb(g<<2);if(!i){break Ea}b=0;while(1){e=ql(d,b,c+208|0,2);v[(b<<2)+i>>2]=e?x[c+208>>1]:0;b=b+1|0;if((g|0)!=(b|0)){continue}break}break Ea}b=v[m+1444>>2];v[b+24>>2]=v[b+24>>2]+1;d=v[m+1444>>2];if(!d){break Da}g=v[d+8>>2];if((g|0)<1){i=0;break Ea}i=gb(g<<2);if(!i){break Ea}b=0;while(1){v[c+208>>2]=0;e=ql(d,b,c+208|0,1);v[(b<<2)+i>>2]=e?x[c+208>>1]:b;b=b+1|0;if((g|0)!=(b|0)){continue}break}}nq(d);break Ca}g=0;i=0}b=w[c+411|0];if(b<<24>>24<0?v[c+404>>2]:b){b=1}else{b=(Vc(c+400|0,875884,0)|0)!=0}Fa:{if(!b|v[a+108>>2]!=1){break Fa}v[c+168>>2]=0;v[c+160>>2]=0;v[c+164>>2]=0;v[c+152>>2]=0;v[c+144>>2]=0;v[c+148>>2]=0;HW(c+400|0,c+160|0,c+144|0);v[c+136>>2]=0;v[c+128>>2]=0;v[c+132>>2]=0;b=t[c+171|0];e=(b|0)<0;Ga:{Ha:{Ia:{Ja:{Ka:{La:{Ma:{Na:{Oa:{Pa:{b=e?v[c+164>>2]:b&255;d=b+4|0;if(d>>>0<1073741808){f=v[c+160>>2];Qa:{Ra:{if(d>>>0<=1){t[c+139|0]=b;d=c+128|0;break Ra}h=b+8&-4;d=ab(h<<2);v[c+136>>2]=h|-2147483648;v[c+128>>2]=d;v[c+132>>2]=b;if(!b){break Qa}}rb(d,e?f:c+160|0,b)}v[(b<<2)+d>>2]=0;bd(c+128|0,876896,4);b=v[m+20>>2];if(!(b>>>0>6|!(1<>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+320>>2]=13;b=v[m+8>>2];e=v[m+12>>2];v[c+208>>2]=9;v[c+216>>2]=b;v[c+220>>2]=e;b=c+208|0;ue(b,v[a+164>>2],c+320|0,0);bb(b);if(v[c+320>>2]!=7){break Ha}f=v[c+328>>2];v[c+304>>2]=13;ib(f,272636,c+304|0,0);b=0;Sa:{Ta:{switch(v[c+304>>2]-4|0){case 3:v[c+192>>2]=13;e=0;ib(v[c+312>>2],272597,c+192|0,0);Ua:{Va:{if(v[c+192>>2]!=4){break Va}b=v[c+200>>2];if(!hb(b,272564)){break Ua}if(!hb(b,272546)){e=1;break Ua}if(hb(b,272581)){break Va}e=2;break Ua}e=-1}bb(c+192|0);d=1;break Sa;case 0:d=0;b=v[c+312>>2];if(!hb(b,272564)){e=0;break Sa}if(!hb(b,272546)){e=1;break Sa}b=!hb(b,272581);break;default:break Ta}}d=b?0:-1;e=b?2:-1}b=sb(c+192|0,877128);wc(c+24|0,b,0);if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+192|0,876916);wc(c+24|0,b,1);if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+192|0,876952);k=d;d=sb(c+176|0,875884);h=sb(c+56|0,875884);Wc(c+24|0,b,k,d,h);if(t[h+11|0]<=-1){$a(v[h>>2])}if(t[d+11|0]<=-1){$a(v[d>>2])}if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+192|0,876972);h=e;e=sb(c+176|0,875884);d=sb(c+56|0,875884);Wc(c+24|0,b,h,e,d);if(t[d+11|0]<=-1){$a(v[d>>2])}if(t[e+11|0]<=-1){$a(v[e>>2])}if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+192|0,876916);kc(c+24|0,879328);if(t[b+11|0]<=-1){$a(v[b>>2])}if(v[c+304>>2]!=7){break Ia}v[c+192>>2]=13;ib(v[c+312>>2],236785,c+192|0,0);if(v[c+192>>2]!=6){break Ja}e=v[v[c+200>>2]+12>>2];b=sb(c+176|0,876992);wc(c+24|0,b,1);if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+176|0,877040);d=sb(c+56|0,875884);h=sb(c+112|0,875884);Wc(c+24|0,b,e,d,h);if(t[h+11|0]<=-1){$a(v[h>>2])}if(t[d+11|0]<=-1){$a(v[d>>2])}if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+176|0,876992);kc(c+24|0,879328);if(t[b+11|0]<=-1){$a(v[b>>2])}b=0;if((e|0)<=0){break Ka}while(1){v[c+176>>2]=13;ub(v[c+200>>2],b,c+176|0,0);Wa:{Xa:{Ya:{switch(v[c+176>>2]-1|0){case 0:h=v[c+184>>2];d=ab(32);v[c+112>>2]=d;v[c+116>>2]=4;v[c+120>>2]=-2147483640;rb(d,877064,4);v[d+16>>2]=0;d=c+56|0;xh(d,879320,c+112|0);k=d;d=w[c+67|0];n=d<<24>>24<0;bd(c+24|0,n?v[c+56>>2]:k,n?v[c+60>>2]:d);if(t[c+67|0]<=-1){$a(v[c+56>>2])}if(t[c+123|0]<=-1){$a(v[c+112>>2])}d=ab(32);v[c+56>>2]=d;v[c+60>>2]=5;v[c+64>>2]=-2147483640;rb(d,877084,5);v[d+20>>2]=0;v[c+112>>2]=0;t[c+123|0]=0;v[c+96>>2]=0;t[c+107|0]=0;Wc(c+24|0,c+56|0,h,c+112|0,c+96|0);if(t[c+107|0]<=-1){$a(v[c+96>>2])}if(t[c+123|0]<=-1){$a(v[c+112>>2])}if(t[c+67|0]<=-1){$a(v[c+56>>2])}d=ab(32);rb(d,877064,4);break Xa;case 3:break Ya;default:break Wa}}d=v[c+184>>2];h=ab(32);v[c+112>>2]=h;v[c+116>>2]=4;v[c+120>>2]=-2147483640;rb(h,877108,4);v[h+16>>2]=0;h=c+56|0;xh(h,879320,c+112|0);k=h;h=w[c+67|0];n=h<<24>>24<0;bd(c+24|0,n?v[c+56>>2]:k,n?v[c+60>>2]:h);if(t[c+67|0]<=-1){$a(v[c+56>>2])}if(t[c+123|0]<=-1){$a(v[c+112>>2])}h=ab(32);v[c+56>>2]=h;v[c+60>>2]=5;v[c+64>>2]=-2147483640;rb(h,877084,5);v[h+20>>2]=0;h=c+112|0;GI(h,d,zb(d));wh(c+24|0,c+56|0,h);if(t[c+123|0]<=-1){$a(v[c+112>>2])}if(t[c+67|0]<=-1){$a(v[c+56>>2])}d=ab(32);rb(d,877108,4)}v[d+16>>2]=0;kc(c+24|0,879360);$a(d)}bb(c+176|0);b=b+1|0;if((e|0)!=(b|0)){continue}break}break Ka}if(b-7>>>0>4){break Ga}gH(c+112|0,c+160|0,878064);Qa[v[v[m>>2]+8>>2]](m)|0;v[c+104>>2]=0;v[c+96>>2]=0;v[c+100>>2]=0;v[c+320>>2]=13;b=v[m+8>>2];e=v[m+12>>2];v[c+208>>2]=9;v[c+216>>2]=b;v[c+220>>2]=e;b=c+208|0;ue(b,v[a+164>>2],c+320|0,0);bb(b);if(v[c+320>>2]!=7){break La}e=v[c+328>>2];b=sb(c+304|0,877128);wc(c+96|0,b,0);if(t[b+11|0]<=-1){$a(v[b>>2])}v[c+304>>2]=13;ib(e,228343,c+304|0,0);Za:{if(v[c+304>>2]==4){b=sb(c+192|0,878088);wc(c+96|0,b,1);if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+192|0,877084);d=c+176|0;Vf(d,v[c+312>>2]);wh(c+96|0,b,d);if(t[c+187|0]<=-1){$a(v[c+176>>2])}if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+192|0,878088);kc(c+96|0,879328);if(t[b+11|0]>-1){break Za}$a(v[b>>2]);break Za}b=sb(c+192|0,878088);wc(c+96|0,b,0);if(t[b+11|0]>-1){break Za}$a(v[b>>2])}b=c+304|0;bb(b);ib(e,283600,b,0);_a:{if(v[c+304>>2]!=8){break _a}b=sb(c+192|0,877220);wc(c+96|0,b,0);if(t[b+11|0]<=-1){$a(v[b>>2])}v[c+200>>2]=0;v[c+192>>2]=0;v[c+196>>2]=0;b=v[c+312>>2];Qa[v[v[b>>2]+20>>2]](b);b=v[c+312>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)!=-1){while(1){Sm(c+192|0,b);b=v[c+312>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)!=-1){continue}break}}b=v[c+312>>2];Qa[v[v[b>>2]+24>>2]](b);v[c+184>>2]=0;v[c+176>>2]=0;v[c+180>>2]=0;d=t[c+203|0];b=(d|0)<0;d=b?v[c+196>>2]:d&255;f=d+1|0;b=Sb(ab(f),b?v[c+192>>2]:c+192|0,f);wv(c+176|0,b,d);lj(c+56|0,b);if(t[c+203|0]<=-1){$a(v[c+192>>2])}v[c+200>>2]=v[c- -64>>2];d=v[c+60>>2];v[c+192>>2]=v[c+56>>2];v[c+196>>2]=d;d=c+56|0;Vf(d,t[c+187|0]<0?v[c+176>>2]:c+176|0);h=d;d=w[c+67|0];f=d<<24>>24<0;bd(c+96|0,f?v[c+56>>2]:h,f?v[c+60>>2]:d);if(t[c+67|0]<=-1){$a(v[c+56>>2])}d=sb(c+56|0,877220);qg(c+96|0,d);if(t[d+11|0]<=-1){$a(v[d>>2])}$a(b);if(t[c+187|0]<=-1){$a(v[c+176>>2])}if(t[c+203|0]>-1){break _a}$a(v[c+192>>2])}b=c+304|0;bb(b);ib(e,272636,b,0);$a:{ab:{switch(v[c+304>>2]-4|0){case 0:b=sb(c+192|0,876916);wc(c+96|0,b,1);if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+192|0,878112);d=c+176|0;Vf(d,v[c+312>>2]);wh(c+96|0,b,d);if(t[c+187|0]<=-1){$a(v[c+176>>2])}if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+192|0,876916);kc(c+96|0,879360);if(t[b+11|0]>-1){break $a}$a(v[b>>2]);break $a;case 4:break ab;default:break $a}}b=sb(c+192|0,876916);wc(c+96|0,b,0);if(t[b+11|0]<=-1){$a(v[b>>2])}b=v[c+312>>2];b=Qa[v[v[b>>2]+76>>2]](b)|0;if(b){v[c+192>>2]=13;ib(b,280070,c+192|0,0);bb:{if(v[c+192>>2]!=4){break bb}d=sb(c+176|0,878132);wc(c+96|0,d,1);if(t[d+11|0]<=-1){$a(v[d>>2])}d=sb(c+176|0,878112);f=c+56|0;Vf(f,v[c+200>>2]);wh(c+96|0,d,f);if(t[c+67|0]<=-1){$a(v[c+56>>2])}if(t[d+11|0]<=-1){$a(v[d>>2])}d=sb(c+176|0,878132);kc(c+96|0,879360);if(t[d+11|0]>-1){break bb}$a(v[d>>2])}d=c+192|0;bb(d);ib(b,244286,d,0);cb:{if(v[c+192>>2]!=7){break cb}d=v[c+200>>2];if(!d){break cb}f=sb(c+176|0,878168);wc(c+96|0,f,0);if(t[f+11|0]<=-1){$a(v[f>>2])}v[c+176>>2]=13;ib(d,217813,c+176|0,0);db:{if(v[c+176>>2]!=3){break db}f=sb(c+56|0,878224);wc(c+96|0,f,1);if(t[f+11|0]<=-1){$a(v[f>>2])}f=sb(c+56|0,878260);h=c+24|0;Vf(h,v[v[c+184>>2]+4>>2]);wh(c+96|0,f,h);if(t[c+35|0]<=-1){$a(v[c+24>>2])}if(t[f+11|0]<=-1){$a(v[f>>2])}f=sb(c+56|0,878224);kc(c+96|0,879360);if(t[f+11|0]>-1){break db}$a(v[f>>2])}f=c+176|0;bb(f);ib(d,272403,f,0);eb:{if(v[c+176>>2]!=3){break eb}f=sb(c+56|0,878288);wc(c+96|0,f,1);if(t[f+11|0]<=-1){$a(v[f>>2])}f=sb(c+56|0,878260);h=c+24|0;Vf(h,v[v[c+184>>2]+4>>2]);wh(c+96|0,f,h);if(t[c+35|0]<=-1){$a(v[c+24>>2])}if(t[f+11|0]<=-1){$a(v[f>>2])}f=sb(c+56|0,878288);kc(c+96|0,879360);if(t[f+11|0]>-1){break eb}$a(v[f>>2])}f=c+176|0;bb(f);ib(d,230673,f,0);fb:{if(v[c+176>>2]!=1){break fb}d=sb(c+56|0,878324);wc(c+96|0,d,1);if(t[d+11|0]<=-1){$a(v[d>>2])}d=sb(c+56|0,878368);k=v[c+184>>2];f=sb(c+24|0,875884);h=sb(c+80|0,875884);Wc(c+96|0,d,k,f,h);if(t[h+11|0]<=-1){$a(v[h>>2])}if(t[f+11|0]<=-1){$a(v[f>>2])}if(t[d+11|0]<=-1){$a(v[d>>2])}d=sb(c+56|0,878324);kc(c+96|0,879360);if(t[d+11|0]>-1){break fb}$a(v[d>>2])}bb(c+176|0);d=sb(c+56|0,878168);qg(c+96|0,d);if(t[d+11|0]>-1){break cb}$a(v[d>>2])}d=c+192|0;bb(d);ib(b,284016,d,0);gb:{if(v[c+192>>2]!=1){break gb}d=sb(c+176|0,878400);wc(c+96|0,d,1);if(t[d+11|0]<=-1){$a(v[d>>2])}d=sb(c+176|0,878368);k=v[c+200>>2];f=sb(c+56|0,875884);h=sb(c+24|0,875884);Wc(c+96|0,d,k,f,h);if(t[h+11|0]<=-1){$a(v[h>>2])}if(t[f+11|0]<=-1){$a(v[f>>2])}if(t[d+11|0]<=-1){$a(v[d>>2])}d=sb(c+176|0,878400);kc(c+96|0,879360);if(t[d+11|0]>-1){break gb}$a(v[d>>2])}d=c+192|0;bb(d);ib(b,242555,d,0);hb:{ib:{switch(v[c+192>>2]-4|0){case 0:b=sb(c+176|0,878424);wc(c+96|0,b,1);if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+176|0,878112);d=c+56|0;Vf(d,v[c+200>>2]);wh(c+96|0,b,d);if(t[c+67|0]<=-1){$a(v[c+56>>2])}if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+176|0,878424);kc(c+96|0,879360);if(t[b+11|0]>-1){break hb}$a(v[b>>2]);break hb;case 4:break ib;default:break hb}}b=sb(c+176|0,878424);wc(c+96|0,b,0);if(t[b+11|0]<=-1){$a(v[b>>2])}v[c+184>>2]=0;v[c+176>>2]=0;v[c+180>>2]=0;b=v[c+200>>2];Qa[v[v[b>>2]+20>>2]](b);b=v[c+200>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)!=-1){while(1){Sm(c+176|0,b);b=v[c+200>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)!=-1){continue}break}}b=v[c+200>>2];Qa[v[v[b>>2]+24>>2]](b);v[c- -64>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;d=t[c+187|0];b=(d|0)<0;d=b?v[c+180>>2]:d&255;f=d+1|0;b=Sb(ab(f),b?v[c+176>>2]:c+176|0,f);wv(c+56|0,b,d);lj(c+24|0,b);if(t[c+187|0]<=-1){$a(v[c+176>>2])}v[c+184>>2]=v[c+32>>2];d=v[c+28>>2];v[c+176>>2]=v[c+24>>2];v[c+180>>2]=d;d=c+24|0;Vf(d,t[c+67|0]<0?v[c+56>>2]:c+56|0);h=d;d=w[c+35|0];f=d<<24>>24<0;bd(c+96|0,f?v[c+24>>2]:h,f?v[c+28>>2]:d);if(t[c+35|0]<=-1){$a(v[c+24>>2])}d=sb(c+24|0,878424);qg(c+96|0,d);if(t[d+11|0]<=-1){$a(v[d>>2])}$a(b);if(t[c+67|0]<=-1){$a(v[c+56>>2])}if(t[c+187|0]>-1){break hb}$a(v[c+176>>2])}bb(c+192|0)}b=sb(c+192|0,878456);wc(c+96|0,b,0);if(t[b+11|0]<=-1){$a(v[b>>2])}v[c+200>>2]=0;v[c+192>>2]=0;v[c+196>>2]=0;b=v[c+312>>2];Qa[v[v[b>>2]+20>>2]](b);b=v[c+312>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)!=-1){while(1){Sm(c+192|0,b);b=v[c+312>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)!=-1){continue}break}}b=v[c+312>>2];Qa[v[v[b>>2]+24>>2]](b);v[c+184>>2]=0;v[c+176>>2]=0;v[c+180>>2]=0;d=t[c+203|0];b=(d|0)<0;d=b?v[c+196>>2]:d&255;f=d+1|0;b=Sb(ab(f),b?v[c+192>>2]:c+192|0,f);wv(c+176|0,b,d);lj(c+56|0,b);if(t[c+203|0]<=-1){$a(v[c+192>>2])}v[c+200>>2]=v[c- -64>>2];d=v[c+60>>2];v[c+192>>2]=v[c+56>>2];v[c+196>>2]=d;d=c+56|0;Vf(d,t[c+187|0]<0?v[c+176>>2]:c+176|0);h=d;d=w[c+67|0];f=d<<24>>24<0;bd(c+96|0,f?v[c+56>>2]:h,f?v[c+60>>2]:d);if(t[c+67|0]<=-1){$a(v[c+56>>2])}d=sb(c+56|0,878456);qg(c+96|0,d);if(t[d+11|0]<=-1){$a(v[d>>2])}d=sb(c+56|0,876916);qg(c+96|0,d);if(t[d+11|0]<=-1){$a(v[d>>2])}$a(b);if(t[c+187|0]<=-1){$a(v[c+176>>2])}if(t[c+203|0]>-1){break $a}$a(v[c+192>>2])}b=c+304|0;bb(b);ib(e,234407,b,0);if(v[c+304>>2]!=6){break Ma}b=v[c+312>>2];if(v[b+12>>2]!=1){break Ma}v[c+192>>2]=13;ub(b,0,c+192|0,0);if(v[c+192>>2]!=7){break Na}e=v[c+200>>2];if(!e){break Na}b=sb(c+176|0,878484);wc(c+96|0,b,0);if(t[b+11|0]<=-1){$a(v[b>>2])}v[c+176>>2]=13;ib(e,278450,c+176|0,0);jb:{if(v[c+176>>2]!=4){break jb}b=sb(c+56|0,878548);wc(c+96|0,b,1);if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+56|0,878112);d=c+24|0;Vf(d,v[c+184>>2]);wh(c+96|0,b,d);if(t[c+35|0]<=-1){$a(v[c+24>>2])}if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+56|0,878548);kc(c+96|0,879360);if(t[b+11|0]>-1){break jb}$a(v[b>>2])}b=c+176|0;bb(b);ib(e,228343,b,0);kb:{if(v[c+176>>2]!=4){break kb}b=sb(c+56|0,878580);wc(c+96|0,b,1);if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+56|0,878112);d=c+24|0;Vf(d,v[c+184>>2]);wh(c+96|0,b,d);if(t[c+35|0]<=-1){$a(v[c+24>>2])}if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+56|0,878580);kc(c+96|0,879360);if(t[b+11|0]>-1){break kb}$a(v[b>>2])}b=c+176|0;bb(b);ib(e,244286,b,0);lb:{if(v[c+176>>2]!=7){break lb}b=v[c+184>>2];if(!b){break lb}d=sb(c+56|0,878168);wc(c+96|0,d,0);if(t[d+11|0]<=-1){$a(v[d>>2])}v[c+56>>2]=13;ib(b,217813,c+56|0,0);mb:{if(v[c+56>>2]!=3){break mb}d=sb(c+24|0,878224);wc(c+96|0,d,1);if(t[d+11|0]<=-1){$a(v[d>>2])}d=sb(c+24|0,878260);f=c+80|0;Vf(f,v[v[c+64>>2]+4>>2]);wh(c+96|0,d,f);if(t[c+91|0]<=-1){$a(v[c+80>>2])}if(t[d+11|0]<=-1){$a(v[d>>2])}d=sb(c+24|0,878224);kc(c+96|0,879360);if(t[d+11|0]>-1){break mb}$a(v[d>>2])}d=c+56|0;bb(d);ib(b,272403,d,0);nb:{if(v[c+56>>2]!=3){break nb}d=sb(c+24|0,878288);wc(c+96|0,d,1);if(t[d+11|0]<=-1){$a(v[d>>2])}d=sb(c+24|0,878260);f=c+80|0;Vf(f,v[v[c+64>>2]+4>>2]);wh(c+96|0,d,f);if(t[c+91|0]<=-1){$a(v[c+80>>2])}if(t[d+11|0]<=-1){$a(v[d>>2])}d=sb(c+24|0,878288);kc(c+96|0,879360);if(t[d+11|0]>-1){break nb}$a(v[d>>2])}d=c+56|0;bb(d);ib(b,230673,d,0);ob:{if(v[c+56>>2]!=1){break ob}b=sb(c+24|0,878324);wc(c+96|0,b,1);if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+24|0,878368);h=v[c+64>>2];d=sb(c+80|0,875884);f=sb(c+40|0,875884);Wc(c+96|0,b,h,d,f);if(t[f+11|0]<=-1){$a(v[f>>2])}if(t[d+11|0]<=-1){$a(v[d>>2])}if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+24|0,878324);kc(c+96|0,879360);if(t[b+11|0]>-1){break ob}$a(v[b>>2])}bb(c+56|0);b=sb(c+24|0,878168);qg(c+96|0,b);if(t[b+11|0]>-1){break lb}$a(v[b>>2])}b=c+176|0;bb(b);ib(e,237426,b,0);pb:{if(v[c+176>>2]!=7){break pb}b=v[c+184>>2];if(!b){break pb}d=sb(c+56|0,877260);wc(c+96|0,d,0);if(t[d+11|0]<=-1){$a(v[d>>2])}v[c+56>>2]=13;ib(b,280061,c+56|0,0);qb:{if(v[c+56>>2]!=4){break qb}d=sb(c+24|0,877320);wc(c+96|0,d,1);if(t[d+11|0]<=-1){$a(v[d>>2])}d=sb(c+24|0,878112);f=c+80|0;Vf(f,v[c+64>>2]);wh(c+96|0,d,f);if(t[c+91|0]<=-1){$a(v[c+80>>2])}if(t[d+11|0]<=-1){$a(v[d>>2])}d=sb(c+24|0,877320);kc(c+96|0,879360);if(t[d+11|0]>-1){break qb}$a(v[d>>2])}d=c+56|0;bb(d);ib(b,269969,d,0);rb:{if(v[c+56>>2]!=4){break rb}d=sb(c+24|0,877400);wc(c+96|0,d,1);if(t[d+11|0]<=-1){$a(v[d>>2])}d=sb(c+24|0,878112);f=c+80|0;Vf(f,v[c+64>>2]);wh(c+96|0,d,f);if(t[c+91|0]<=-1){$a(v[c+80>>2])}if(t[d+11|0]<=-1){$a(v[d>>2])}d=sb(c+24|0,877400);kc(c+96|0,879360);if(t[d+11|0]>-1){break rb}$a(v[d>>2])}d=c+56|0;bb(d);ib(b,232115,d,0);sb:{if(v[c+56>>2]!=1){break sb}d=sb(c+24|0,877448);wc(c+96|0,d,1);if(t[d+11|0]<=-1){$a(v[d>>2])}d=sb(c+24|0,878616);k=v[c+64>>2];f=sb(c+80|0,875884);h=sb(c+40|0,875884);Wc(c+96|0,d,k,f,h);if(t[h+11|0]<=-1){$a(v[h>>2])}if(t[f+11|0]<=-1){$a(v[f>>2])}if(t[d+11|0]<=-1){$a(v[d>>2])}d=sb(c+24|0,877448);kc(c+96|0,879360);if(t[d+11|0]>-1){break sb}$a(v[d>>2])}d=c+56|0;bb(d);ib(b,236281,d,0);tb:{if(v[c+56>>2]!=1){break tb}d=sb(c+24|0,877492);wc(c+96|0,d,1);if(t[d+11|0]<=-1){$a(v[d>>2])}d=sb(c+24|0,878368);k=v[c+64>>2];f=sb(c+80|0,875884);h=sb(c+40|0,875884);Wc(c+96|0,d,k,f,h);if(t[h+11|0]<=-1){$a(v[h>>2])}if(t[f+11|0]<=-1){$a(v[f>>2])}if(t[d+11|0]<=-1){$a(v[d>>2])}d=sb(c+24|0,877492);kc(c+96|0,879360);if(t[d+11|0]>-1){break tb}$a(v[d>>2])}d=c+56|0;bb(d);ib(b,220491,d,0);ub:{if(v[c+56>>2]!=6){break ub}d=v[c+64>>2];if(!d|v[d+12>>2]!=4){break ub}f=sb(c+24|0,877516);wc(c+96|0,f,1);if(t[f+11|0]<=-1){$a(v[f>>2])}v[c+24>>2]=13;ub(d,0,c+24|0,0);vb:{if(v[c+24>>2]!=1){break vb}f=c+40|0;rj(f,0);f=Ql(f,877084);v[c+88>>2]=v[f+8>>2];h=v[f+4>>2];v[c+80>>2]=v[f>>2];v[c+84>>2]=h;v[f>>2]=0;v[f+4>>2]=0;v[f+8>>2]=0;if(t[c+51|0]<=-1){$a(v[c+40>>2])}Wc(c+96|0,c+80|0,v[c+32>>2],sb(c+40|0,875884),sb(c+8|0,875884));if(t[c+19|0]<=-1){$a(v[c+8>>2])}if(t[c+51|0]<=-1){$a(v[c+40>>2])}if(t[c+91|0]>-1){break vb}$a(v[c+80>>2])}f=c+24|0;bb(f);v[c+24>>2]=13;ub(d,1,f,0);wb:{if(v[c+24>>2]!=1){break wb}f=c+40|0;rj(f,1);f=Ql(f,877084);v[c+88>>2]=v[f+8>>2];h=v[f+4>>2];v[c+80>>2]=v[f>>2];v[c+84>>2]=h;v[f>>2]=0;v[f+4>>2]=0;v[f+8>>2]=0;if(t[c+51|0]<=-1){$a(v[c+40>>2])}Wc(c+96|0,c+80|0,v[c+32>>2],sb(c+40|0,875884),sb(c+8|0,875884));if(t[c+19|0]<=-1){$a(v[c+8>>2])}if(t[c+51|0]<=-1){$a(v[c+40>>2])}if(t[c+91|0]>-1){break wb}$a(v[c+80>>2])}f=c+24|0;bb(f);v[c+24>>2]=13;ub(d,2,f,0);xb:{if(v[c+24>>2]!=1){break xb}f=c+40|0;rj(f,2);f=Ql(f,877084);v[c+88>>2]=v[f+8>>2];h=v[f+4>>2];v[c+80>>2]=v[f>>2];v[c+84>>2]=h;v[f>>2]=0;v[f+4>>2]=0;v[f+8>>2]=0;if(t[c+51|0]<=-1){$a(v[c+40>>2])}Wc(c+96|0,c+80|0,v[c+32>>2],sb(c+40|0,875884),sb(c+8|0,875884));if(t[c+19|0]<=-1){$a(v[c+8>>2])}if(t[c+51|0]<=-1){$a(v[c+40>>2])}if(t[c+91|0]>-1){break xb}$a(v[c+80>>2])}f=c+24|0;bb(f);v[c+24>>2]=13;ub(d,3,f,0);yb:{if(v[c+24>>2]!=1){break yb}d=c+40|0;rj(d,3);d=Ql(d,877084);v[c+88>>2]=v[d+8>>2];f=v[d+4>>2];v[c+80>>2]=v[d>>2];v[c+84>>2]=f;v[d>>2]=0;v[d+4>>2]=0;v[d+8>>2]=0;if(t[c+51|0]<=-1){$a(v[c+40>>2])}Wc(c+96|0,c+80|0,v[c+32>>2],sb(c+40|0,875884),sb(c+8|0,875884));if(t[c+19|0]<=-1){$a(v[c+8>>2])}if(t[c+51|0]<=-1){$a(v[c+40>>2])}if(t[c+91|0]>-1){break yb}$a(v[c+80>>2])}d=c+24|0;bb(d);d=sb(d,877516);kc(c+96|0,879360);if(t[d+11|0]>=0){break ub}$a(v[d>>2])}d=c+56|0;bb(d);ib(b,281066,d,0);zb:{if(v[c+56>>2]!=1){break zb}d=sb(c+24|0,877552);wc(c+96|0,d,1);if(t[d+11|0]<=-1){$a(v[d>>2])}d=sb(c+24|0,878616);k=v[c+64>>2];f=sb(c+80|0,875884);h=sb(c+40|0,875884);Wc(c+96|0,d,k,f,h);if(t[h+11|0]<=-1){$a(v[h>>2])}if(t[f+11|0]<=-1){$a(v[f>>2])}if(t[d+11|0]<=-1){$a(v[d>>2])}d=sb(c+24|0,877552);kc(c+96|0,879360);if(t[d+11|0]>-1){break zb}$a(v[d>>2])}d=c+56|0;bb(d);ib(b,230769,d,0);Ab:{if(v[c+56>>2]!=1){break Ab}d=sb(c+24|0,877600);wc(c+96|0,d,1);if(t[d+11|0]<=-1){$a(v[d>>2])}d=sb(c+24|0,878616);k=v[c+64>>2];f=sb(c+80|0,875884);h=sb(c+40|0,875884);Wc(c+96|0,d,k,f,h);if(t[h+11|0]<=-1){$a(v[h>>2])}if(t[f+11|0]<=-1){$a(v[f>>2])}if(t[d+11|0]<=-1){$a(v[d>>2])}d=sb(c+24|0,877600);kc(c+96|0,879360);if(t[d+11|0]>-1){break Ab}$a(v[d>>2])}d=c+56|0;bb(d);ib(b,230761,d,0);Bb:{if(v[c+56>>2]!=1){break Bb}d=sb(c+24|0,877780);wc(c+96|0,d,1);if(t[d+11|0]<=-1){$a(v[d>>2])}d=sb(c+24|0,878616);k=v[c+64>>2];f=sb(c+80|0,875884);h=sb(c+40|0,875884);Wc(c+96|0,d,k,f,h);if(t[h+11|0]<=-1){$a(v[h>>2])}if(t[f+11|0]<=-1){$a(v[f>>2])}if(t[d+11|0]<=-1){$a(v[d>>2])}d=sb(c+24|0,877780);kc(c+96|0,879360);if(t[d+11|0]>-1){break Bb}$a(v[d>>2])}d=c+56|0;bb(d);ib(b,272698,d,0);Cb:{if(v[c+56>>2]!=1){break Cb}d=sb(c+24|0,877628);wc(c+96|0,d,1);if(t[d+11|0]<=-1){$a(v[d>>2])}d=sb(c+24|0,878616);k=v[c+64>>2];f=sb(c+80|0,875884);h=sb(c+40|0,875884);Wc(c+96|0,d,k,f,h);if(t[h+11|0]<=-1){$a(v[h>>2])}if(t[f+11|0]<=-1){$a(v[f>>2])}if(t[d+11|0]<=-1){$a(v[d>>2])}d=sb(c+24|0,877628);kc(c+96|0,879360);if(t[d+11|0]>-1){break Cb}$a(v[d>>2])}d=c+56|0;bb(d);ib(b,232126,d,0);Db:{if(v[c+56>>2]!=1){break Db}d=sb(c+24|0,877660);wc(c+96|0,d,1);if(t[d+11|0]<=-1){$a(v[d>>2])}d=sb(c+24|0,878616);k=v[c+64>>2];f=sb(c+80|0,875884);h=sb(c+40|0,875884);Wc(c+96|0,d,k,f,h);if(t[h+11|0]<=-1){$a(v[h>>2])}if(t[f+11|0]<=-1){$a(v[f>>2])}if(t[d+11|0]<=-1){$a(v[d>>2])}d=sb(c+24|0,877660);kc(c+96|0,879360);if(t[d+11|0]>-1){break Db}$a(v[d>>2])}d=c+56|0;bb(d);ib(b,232149,d,0);Eb:{if(v[c+56>>2]!=1){break Eb}d=sb(c+24|0,877700);wc(c+96|0,d,1);if(t[d+11|0]<=-1){$a(v[d>>2])}d=sb(c+24|0,878616);k=v[c+64>>2];f=sb(c+80|0,875884);h=sb(c+40|0,875884);Wc(c+96|0,d,k,f,h);if(t[h+11|0]<=-1){$a(v[h>>2])}if(t[f+11|0]<=-1){$a(v[f>>2])}if(t[d+11|0]<=-1){$a(v[d>>2])}d=sb(c+24|0,877700);kc(c+96|0,879360);if(t[d+11|0]>-1){break Eb}$a(v[d>>2])}d=c+56|0;bb(d);ib(b,309146,d,0);Fb:{if(v[c+56>>2]!=1){break Fb}d=sb(c+24|0,877732);wc(c+96|0,d,1);if(t[d+11|0]<=-1){$a(v[d>>2])}d=sb(c+24|0,878616);k=v[c+64>>2];f=sb(c+80|0,875884);h=sb(c+40|0,875884);Wc(c+96|0,d,k,f,h);if(t[h+11|0]<=-1){$a(v[h>>2])}if(t[f+11|0]<=-1){$a(v[f>>2])}if(t[d+11|0]<=-1){$a(v[d>>2])}d=sb(c+24|0,877732);kc(c+96|0,879360);if(t[d+11|0]>-1){break Fb}$a(v[d>>2])}d=c+56|0;bb(d);ib(b,311392,d,0);Gb:{if(v[c+56>>2]!=1){break Gb}d=sb(c+24|0,877756);wc(c+96|0,d,1);if(t[d+11|0]<=-1){$a(v[d>>2])}d=sb(c+24|0,878616);k=v[c+64>>2];f=sb(c+80|0,875884);h=sb(c+40|0,875884);Wc(c+96|0,d,k,f,h);if(t[h+11|0]<=-1){$a(v[h>>2])}if(t[f+11|0]<=-1){$a(v[f>>2])}if(t[d+11|0]<=-1){$a(v[d>>2])}d=sb(c+24|0,877756);kc(c+96|0,879360);if(t[d+11|0]>-1){break Gb}$a(v[d>>2])}d=c+56|0;bb(d);ib(b,269393,d,0);Hb:{if(v[c+56>>2]!=1){break Hb}d=sb(c+24|0,877812);wc(c+96|0,d,1);if(t[d+11|0]<=-1){$a(v[d>>2])}d=sb(c+24|0,878616);k=v[c+64>>2];f=sb(c+80|0,875884);h=sb(c+40|0,875884);Wc(c+96|0,d,k,f,h);if(t[h+11|0]<=-1){$a(v[h>>2])}if(t[f+11|0]<=-1){$a(v[f>>2])}if(t[d+11|0]<=-1){$a(v[d>>2])}d=sb(c+24|0,877812);kc(c+96|0,879360);if(t[d+11|0]>-1){break Hb}$a(v[d>>2])}d=c+56|0;bb(d);ib(b,269361,d,0);Ib:{if(v[c+56>>2]!=1){break Ib}d=sb(c+24|0,877848);wc(c+96|0,d,1);if(t[d+11|0]<=-1){$a(v[d>>2])}d=sb(c+24|0,878616);k=v[c+64>>2];f=sb(c+80|0,875884);h=sb(c+40|0,875884);Wc(c+96|0,d,k,f,h);if(t[h+11|0]<=-1){$a(v[h>>2])}if(t[f+11|0]<=-1){$a(v[f>>2])}if(t[d+11|0]<=-1){$a(v[d>>2])}d=sb(c+24|0,877848);kc(c+96|0,879360);if(t[d+11|0]>-1){break Ib}$a(v[d>>2])}d=c+56|0;bb(d);ib(b,269402,d,0);Jb:{if(v[c+56>>2]!=1){break Jb}b=sb(c+24|0,877884);wc(c+96|0,b,1);if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+24|0,878616);h=v[c+64>>2];d=sb(c+80|0,875884);f=sb(c+40|0,875884);Wc(c+96|0,b,h,d,f);if(t[f+11|0]<=-1){$a(v[f>>2])}if(t[d+11|0]<=-1){$a(v[d>>2])}if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+24|0,877884);kc(c+96|0,879360);if(t[b+11|0]>-1){break Jb}$a(v[b>>2])}bb(c+56|0);b=sb(c+24|0,877260);qg(c+96|0,b);if(t[b+11|0]>-1){break pb}$a(v[b>>2])}b=c+176|0;bb(b);ib(e,309128,b,0);Kb:{if(v[c+176>>2]!=1){break Kb}b=sb(c+56|0,878644);wc(c+96|0,b,1);if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+56|0,878368);h=v[c+184>>2];d=sb(c+24|0,875884);f=sb(c+80|0,875884);Wc(c+96|0,b,h,d,f);if(t[f+11|0]<=-1){$a(v[f>>2])}if(t[d+11|0]<=-1){$a(v[d>>2])}if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+56|0,878644);kc(c+96|0,879360);if(t[b+11|0]>-1){break Kb}$a(v[b>>2])}b=c+176|0;bb(b);ib(e,309129,b,0);if(v[c+176>>2]!=6){break Oa}f=v[c+184>>2];if(!f){break Oa}d=0;b=sb(c+56|0,878656);wc(c+96|0,b,0);if(t[b+11|0]<=-1){$a(v[b>>2])}if(v[f+12>>2]<=0){break Pa}while(1){v[c+56>>2]=13;ub(f,d,c+56|0,0);Lb:{Mb:{switch(v[c+56>>2]-1|0){case 0:wc(c+96|0,sb(c+24|0,878664),1);if(t[c+35|0]<=-1){$a(v[c+24>>2])}Wc(c+96|0,sb(c+24|0,877084),v[c+64>>2],sb(c+80|0,875884),sb(c+40|0,875884));if(t[c+51|0]<=-1){$a(v[c+40>>2])}if(t[c+91|0]<=-1){$a(v[c+80>>2])}if(t[c+35|0]<=-1){$a(v[c+24>>2])}sb(c+24|0,878664);kc(c+96|0,879360);if(t[c+35|0]>-1){break Lb}$a(v[c+24>>2]);break Lb;case 5:break Mb;default:break Lb}}h=v[c+64>>2];if(!h){break Lb}wc(c+96|0,sb(c+24|0,878680),0);if(t[c+35|0]<=-1){$a(v[c+24>>2])}b=0;if(v[h+12>>2]>0){while(1){v[c+24>>2]=13;ub(h,b,c+24|0,0);Nb:{if(v[c+24>>2]!=1){break Nb}wc(c+96|0,sb(c+80|0,878664),1);if(t[c+91|0]<=-1){$a(v[c+80>>2])}Wc(c+96|0,sb(c+80|0,877084),v[c+32>>2],sb(c+40|0,875884),sb(c+8|0,875884));if(t[c+19|0]<=-1){$a(v[c+8>>2])}if(t[c+51|0]<=-1){$a(v[c+40>>2])}if(t[c+91|0]<=-1){$a(v[c+80>>2])}sb(c+80|0,878664);kc(c+96|0,879360);if(t[c+91|0]>-1){break Nb}$a(v[c+80>>2])}bb(c+24|0);b=b+1|0;if((b|0)>2]){continue}break}}qg(c+96|0,sb(c+24|0,878680));if(t[c+35|0]>-1){break Lb}$a(v[c+24>>2])}bb(c+56|0);d=d+1|0;if((d|0)>2]){continue}break}break Pa}sc();L()}b=sb(c+56|0,878656);qg(c+96|0,b);if(t[b+11|0]>-1){break Oa}$a(v[b>>2])}b=c+176|0;bb(b);ib(e,320007,b,0);Ob:{if(v[c+176>>2]!=6){break Ob}b=v[c+184>>2];if(!b|v[b+12>>2]!=2){break Ob}d=sb(c+56|0,878704);wc(c+96|0,d,1);if(t[d+11|0]<=-1){$a(v[d>>2])}v[c+56>>2]=13;ub(b,0,c+56|0,0);Pb:{if(v[c+56>>2]!=1){break Pb}d=sb(c+24|0,878720);k=v[c+64>>2];f=sb(c+80|0,875884);h=sb(c+40|0,875884);Wc(c+96|0,d,k,f,h);if(t[h+11|0]<=-1){$a(v[h>>2])}if(t[f+11|0]<=-1){$a(v[f>>2])}if(t[d+11|0]>-1){break Pb}$a(v[d>>2])}d=c+56|0;bb(d);ub(b,1,d,0);Qb:{if(v[c+56>>2]!=1){break Qb}b=sb(c+24|0,878748);h=v[c+64>>2];d=sb(c+80|0,875884);f=sb(c+40|0,875884);Wc(c+96|0,b,h,d,f);if(t[f+11|0]<=-1){$a(v[f>>2])}if(t[d+11|0]<=-1){$a(v[d>>2])}if(t[b+11|0]>-1){break Qb}$a(v[b>>2])}bb(c+56|0);b=sb(c+24|0,878704);kc(c+96|0,879360);if(t[b+11|0]>-1){break Ob}$a(v[b>>2])}b=c+176|0;bb(b);ib(e,320008,b,0);Rb:{if(v[c+176>>2]!=6){break Rb}f=v[c+184>>2];if(!f){break Rb}d=0;b=sb(c+56|0,878776);wc(c+96|0,b,0);if(t[b+11|0]<=-1){$a(v[b>>2])}if(v[f+12>>2]>0){while(1){v[c+56>>2]=13;ub(f,d,c+56|0,0);Sb:{Tb:{switch(v[c+56>>2]-1|0){case 0:wc(c+96|0,sb(c+24|0,878664),1);if(t[c+35|0]<=-1){$a(v[c+24>>2])}Wc(c+96|0,sb(c+24|0,877084),v[c+64>>2],sb(c+80|0,875884),sb(c+40|0,875884));if(t[c+51|0]<=-1){$a(v[c+40>>2])}if(t[c+91|0]<=-1){$a(v[c+80>>2])}if(t[c+35|0]<=-1){$a(v[c+24>>2])}sb(c+24|0,878664);kc(c+96|0,879360);if(t[c+35|0]>-1){break Sb}$a(v[c+24>>2]);break Sb;case 5:break Tb;default:break Sb}}h=v[c+64>>2];if(!h){break Sb}wc(c+96|0,sb(c+24|0,878680),0);if(t[c+35|0]<=-1){$a(v[c+24>>2])}b=0;if(v[h+12>>2]>0){while(1){v[c+24>>2]=13;ub(h,b,c+24|0,0);Ub:{if(v[c+24>>2]!=1){break Ub}wc(c+96|0,sb(c+80|0,878664),1);if(t[c+91|0]<=-1){$a(v[c+80>>2])}Wc(c+96|0,sb(c+80|0,877084),v[c+32>>2],sb(c+40|0,875884),sb(c+8|0,875884));if(t[c+19|0]<=-1){$a(v[c+8>>2])}if(t[c+51|0]<=-1){$a(v[c+40>>2])}if(t[c+91|0]<=-1){$a(v[c+80>>2])}sb(c+80|0,878664);kc(c+96|0,879360);if(t[c+91|0]>-1){break Ub}$a(v[c+80>>2])}bb(c+24|0);b=b+1|0;if((b|0)>2]){continue}break}}qg(c+96|0,sb(c+24|0,878680));if(t[c+35|0]>-1){break Sb}$a(v[c+24>>2])}bb(c+56|0);d=d+1|0;if((d|0)>2]){continue}break}}b=sb(c+56|0,878776);qg(c+96|0,b);if(t[b+11|0]>-1){break Rb}$a(v[b>>2])}b=c+176|0;bb(b);ib(e,242543,b,0);Vb:{Wb:{switch(v[c+176>>2]-4|0){case 0:b=sb(c+56|0,878788);wc(c+96|0,b,1);if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+56|0,878112);e=c+24|0;Vf(e,v[c+184>>2]);wh(c+96|0,b,e);if(t[c+35|0]<=-1){$a(v[c+24>>2])}if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+56|0,878788);kc(c+96|0,879360);if(t[b+11|0]>-1){break Vb}$a(v[b>>2]);break Vb;case 4:break Wb;default:break Vb}}b=sb(c+56|0,878788);wc(c+96|0,b,0);if(t[b+11|0]<=-1){$a(v[b>>2])}v[c- -64>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;b=v[c+184>>2];Qa[v[v[b>>2]+20>>2]](b);b=v[c+184>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)!=-1){while(1){Sm(c+56|0,b);b=v[c+184>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)!=-1){continue}break}}b=v[c+184>>2];Qa[v[v[b>>2]+24>>2]](b);v[c+32>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;e=t[c+67|0];b=(e|0)<0;e=b?v[c+60>>2]:e&255;d=e+1|0;b=Sb(ab(d),b?v[c+56>>2]:c+56|0,d);wv(c+24|0,b,e);lj(c+80|0,b);if(t[c+67|0]<=-1){$a(v[c+56>>2])}v[c- -64>>2]=v[c+88>>2];e=v[c+84>>2];v[c+56>>2]=v[c+80>>2];v[c+60>>2]=e;e=c+80|0;Vf(e,t[c+35|0]<0?v[c+24>>2]:c+24|0);h=e;e=w[c+91|0];d=e<<24>>24<0;bd(c+96|0,d?v[c+80>>2]:h,d?v[c+84>>2]:e);if(t[c+91|0]<=-1){$a(v[c+80>>2])}e=sb(c+80|0,878788);qg(c+96|0,e);if(t[e+11|0]<=-1){$a(v[e>>2])}$a(b);if(t[c+35|0]<=-1){$a(v[c+24>>2])}if(t[c+67|0]>-1){break Vb}$a(v[c+56>>2])}bb(c+176|0);b=sb(c+56|0,878484);qg(c+96|0,b);if(t[b+11|0]>-1){break Na}$a(v[b>>2])}bb(c+192|0)}bb(c+304|0);b=sb(c+192|0,878088);qg(c+96|0,b);if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+192|0,877128);qg(c+96|0,b);if(t[b+11|0]>-1){break La}$a(v[b>>2])}bb(c+320|0);II(c+128|0,c+96|0);if(t[c+107|0]<=-1){$a(v[c+96>>2])}if(t[c+123|0]>-1){break Ga}$a(v[c+112>>2]);break Ga}b=sb(c+176|0,876992);qg(c+24|0,b);if(t[b+11|0]>-1){break Ja}$a(v[b>>2])}bb(c+192|0)}bb(c+304|0);b=sb(c+192|0,876916);qg(c+24|0,b);if(t[b+11|0]<=-1){$a(v[b>>2])}ib(f,228343,c+304|0,0);Xb:{if(v[c+304>>2]!=4){break Xb}b=sb(c+192|0,877184);wc(c+24|0,b,1);if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+192|0,877084);e=c+176|0;Vf(e,v[c+312>>2]);wh(c+24|0,b,e);if(t[c+187|0]<=-1){$a(v[c+176>>2])}if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+192|0,877184);kc(c+24|0,879360);if(t[b+11|0]>-1){break Xb}$a(v[b>>2])}b=c+304|0;bb(b);ib(f,283600,b,0);Yb:{if(v[c+304>>2]!=8){break Yb}b=sb(c+192|0,877220);wc(c+24|0,b,0);if(t[b+11|0]<=-1){$a(v[b>>2])}v[c+200>>2]=0;v[c+192>>2]=0;v[c+196>>2]=0;b=v[c+312>>2];Qa[v[v[b>>2]+20>>2]](b);b=v[c+312>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)!=-1){while(1){Sm(c+192|0,b);b=v[c+312>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)!=-1){continue}break}}b=v[c+312>>2];Qa[v[v[b>>2]+24>>2]](b);v[c+184>>2]=0;v[c+176>>2]=0;v[c+180>>2]=0;e=t[c+203|0];b=(e|0)<0;e=b?v[c+196>>2]:e&255;d=e+1|0;b=Sb(ab(d),b?v[c+192>>2]:c+192|0,d);wv(c+176|0,b,e);lj(c+56|0,b);if(t[c+203|0]<=-1){$a(v[c+192>>2])}v[c+200>>2]=v[c- -64>>2];e=v[c+60>>2];v[c+192>>2]=v[c+56>>2];v[c+196>>2]=e;$a(b);b=c+56|0;Vf(b,t[c+187|0]<0?v[c+176>>2]:c+176|0);d=b;b=w[c+67|0];e=b<<24>>24<0;bd(c+24|0,e?v[c+56>>2]:d,e?v[c+60>>2]:b);if(t[c+67|0]<=-1){$a(v[c+56>>2])}if(t[c+187|0]<=-1){$a(v[c+176>>2])}b=sb(c+176|0,877220);qg(c+24|0,b);if(t[b+11|0]<=-1){$a(v[b>>2])}if(t[c+203|0]>-1){break Yb}$a(v[c+192>>2])}bb(c+304|0);b=sb(c+192|0,877260);wc(c+24|0,b,0);if(t[b+11|0]<=-1){$a(v[b>>2])}v[c+192>>2]=13;if(v[ib(f,237426,c+192|0,0)>>2]==7){ib(v[c+200>>2],280061,c+304|0,0);Zb:{if(v[c+304>>2]!=4){break Zb}b=sb(c+176|0,877320);wc(c+24|0,b,1);if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+176|0,877084);e=c+56|0;Vf(e,v[c+312>>2]);wh(c+24|0,b,e);if(t[c+67|0]<=-1){$a(v[c+56>>2])}if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+176|0,877320);kc(c+24|0,879360);if(t[b+11|0]>-1){break Zb}$a(v[b>>2])}b=c+304|0;bb(b);ib(v[c+200>>2],219545,b,0);_b:{if(v[c+304>>2]!=4){break _b}b=sb(c+176|0,877356);wc(c+24|0,b,1);if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+176|0,877084);e=c+56|0;Vf(e,v[c+312>>2]);wh(c+24|0,b,e);if(t[c+67|0]<=-1){$a(v[c+56>>2])}if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+176|0,877356);kc(c+24|0,879360);if(t[b+11|0]>-1){break _b}$a(v[b>>2])}b=c+304|0;bb(b);ib(v[c+200>>2],269969,b,0);$b:{if(v[c+304>>2]!=4){break $b}b=sb(c+176|0,877400);wc(c+24|0,b,1);if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+176|0,877084);e=c+56|0;Vf(e,v[c+312>>2]);wh(c+24|0,b,e);if(t[c+67|0]<=-1){$a(v[c+56>>2])}if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+176|0,877400);kc(c+24|0,879360);if(t[b+11|0]>-1){break $b}$a(v[b>>2])}b=c+304|0;bb(b);ib(v[c+200>>2],232115,b,0);ac:{if(v[c+304>>2]!=1){break ac}b=sb(c+176|0,877448);wc(c+24|0,b,1);if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+176|0,877084);h=v[c+312>>2];e=sb(c+56|0,875884);d=sb(c+112|0,875884);Wc(c+24|0,b,h,e,d);if(t[d+11|0]<=-1){$a(v[d>>2])}if(t[e+11|0]<=-1){$a(v[e>>2])}if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+176|0,877448);kc(c+24|0,879360);if(t[b+11|0]>-1){break ac}$a(v[b>>2])}b=c+304|0;bb(b);ib(v[c+200>>2],236281,b,0);bc:{if(v[c+304>>2]!=1){break bc}b=sb(c+176|0,877492);wc(c+24|0,b,1);if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+176|0,877084);h=v[c+312>>2];e=sb(c+56|0,875884);d=sb(c+112|0,875884);Wc(c+24|0,b,h,e,d);if(t[d+11|0]<=-1){$a(v[d>>2])}if(t[e+11|0]<=-1){$a(v[e>>2])}if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+176|0,877492);kc(c+24|0,879360);if(t[b+11|0]>-1){break bc}$a(v[b>>2])}b=c+304|0;bb(b);ib(v[c+200>>2],220491,b,0);cc:{if(v[c+304>>2]!=6){break cc}b=v[c+312>>2];if(!b|v[b+12>>2]!=4){break cc}e=sb(c+176|0,877516);wc(c+24|0,e,1);if(t[e+11|0]<=-1){$a(v[e>>2])}v[c+176>>2]=13;ub(b,0,c+176|0,0);dc:{if(v[c+176>>2]!=1){break dc}e=c+112|0;rj(e,0);e=Ql(e,877084);v[c- -64>>2]=v[e+8>>2];d=v[e+4>>2];v[c+56>>2]=v[e>>2];v[c+60>>2]=d;v[e>>2]=0;v[e+4>>2]=0;v[e+8>>2]=0;if(t[c+123|0]<=-1){$a(v[c+112>>2])}e=v[c+184>>2];v[c+112>>2]=0;t[c+123|0]=0;v[c+96>>2]=0;t[c+107|0]=0;Wc(c+24|0,c+56|0,e,c+112|0,c+96|0);if(t[c+107|0]<=-1){$a(v[c+96>>2])}if(t[c+123|0]<=-1){$a(v[c+112>>2])}if(t[c+67|0]>-1){break dc}$a(v[c+56>>2])}e=c+176|0;bb(e);v[c+176>>2]=13;ub(b,1,e,0);ec:{if(v[c+176>>2]!=1){break ec}e=c+112|0;rj(e,1);e=Ql(e,877084);v[c- -64>>2]=v[e+8>>2];d=v[e+4>>2];v[c+56>>2]=v[e>>2];v[c+60>>2]=d;v[e>>2]=0;v[e+4>>2]=0;v[e+8>>2]=0;if(t[c+123|0]<=-1){$a(v[c+112>>2])}e=v[c+184>>2];v[c+112>>2]=0;t[c+123|0]=0;v[c+96>>2]=0;t[c+107|0]=0;Wc(c+24|0,c+56|0,e,c+112|0,c+96|0);if(t[c+107|0]<=-1){$a(v[c+96>>2])}if(t[c+123|0]<=-1){$a(v[c+112>>2])}if(t[c+67|0]>-1){break ec}$a(v[c+56>>2])}e=c+176|0;bb(e);v[c+176>>2]=13;ub(b,2,e,0);fc:{if(v[c+176>>2]!=1){break fc}e=c+112|0;rj(e,2);e=Ql(e,877084);v[c- -64>>2]=v[e+8>>2];d=v[e+4>>2];v[c+56>>2]=v[e>>2];v[c+60>>2]=d;v[e>>2]=0;v[e+4>>2]=0;v[e+8>>2]=0;if(t[c+123|0]<=-1){$a(v[c+112>>2])}e=v[c+184>>2];v[c+112>>2]=0;t[c+123|0]=0;v[c+96>>2]=0;t[c+107|0]=0;Wc(c+24|0,c+56|0,e,c+112|0,c+96|0);if(t[c+107|0]<=-1){$a(v[c+96>>2])}if(t[c+123|0]<=-1){$a(v[c+112>>2])}if(t[c+67|0]>-1){break fc}$a(v[c+56>>2])}e=c+176|0;bb(e);v[c+176>>2]=13;ub(b,3,e,0);gc:{if(v[c+176>>2]!=1){break gc}b=c+112|0;rj(b,3);b=Ql(b,877084);v[c- -64>>2]=v[b+8>>2];e=v[b+4>>2];v[c+56>>2]=v[b>>2];v[c+60>>2]=e;v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;if(t[c+123|0]<=-1){$a(v[c+112>>2])}b=v[c+184>>2];v[c+112>>2]=0;t[c+123|0]=0;v[c+96>>2]=0;t[c+107|0]=0;Wc(c+24|0,c+56|0,b,c+112|0,c+96|0);if(t[c+107|0]<=-1){$a(v[c+96>>2])}if(t[c+123|0]<=-1){$a(v[c+112>>2])}if(t[c+67|0]>-1){break gc}$a(v[c+56>>2])}b=c+176|0;bb(b);b=sb(b,877516);kc(c+24|0,879360);if(t[b+11|0]>=0){break cc}$a(v[b>>2])}b=c+304|0;bb(b);ib(v[c+200>>2],281066,b,0);hc:{if(v[c+304>>2]!=1){break hc}b=sb(c+176|0,877552);wc(c+24|0,b,1);if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+176|0,877084);h=v[c+312>>2];e=sb(c+56|0,875884);d=sb(c+112|0,875884);Wc(c+24|0,b,h,e,d);if(t[d+11|0]<=-1){$a(v[d>>2])}if(t[e+11|0]<=-1){$a(v[e>>2])}if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+176|0,877552);kc(c+24|0,879360);if(t[b+11|0]>-1){break hc}$a(v[b>>2])}b=c+304|0;bb(b);ib(v[c+200>>2],230769,b,0);ic:{if(v[c+304>>2]!=1){break ic}b=sb(c+176|0,877600);wc(c+24|0,b,1);if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+176|0,877084);h=v[c+312>>2];e=sb(c+56|0,875884);d=sb(c+112|0,875884);Wc(c+24|0,b,h,e,d);if(t[d+11|0]<=-1){$a(v[d>>2])}if(t[e+11|0]<=-1){$a(v[e>>2])}if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+176|0,877600);kc(c+24|0,879360);if(t[b+11|0]>-1){break ic}$a(v[b>>2])}b=c+304|0;bb(b);ib(v[c+200>>2],272698,b,0);jc:{if(v[c+304>>2]!=1){break jc}b=sb(c+176|0,877628);wc(c+24|0,b,1);if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+176|0,877084);h=v[c+312>>2];e=sb(c+56|0,875884);d=sb(c+112|0,875884);Wc(c+24|0,b,h,e,d);if(t[d+11|0]<=-1){$a(v[d>>2])}if(t[e+11|0]<=-1){$a(v[e>>2])}if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+176|0,877628);kc(c+24|0,879360);if(t[b+11|0]>-1){break jc}$a(v[b>>2])}b=c+304|0;bb(b);ib(v[c+200>>2],232126,b,0);kc:{if(v[c+304>>2]!=1){break kc}b=sb(c+176|0,877660);wc(c+24|0,b,1);if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+176|0,877084);h=v[c+312>>2];e=sb(c+56|0,875884);d=sb(c+112|0,875884);Wc(c+24|0,b,h,e,d);if(t[d+11|0]<=-1){$a(v[d>>2])}if(t[e+11|0]<=-1){$a(v[e>>2])}if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+176|0,877660);kc(c+24|0,879360);if(t[b+11|0]>-1){break kc}$a(v[b>>2])}b=c+304|0;bb(b);ib(v[c+200>>2],232149,b,0);lc:{if(v[c+304>>2]!=1){break lc}b=sb(c+176|0,877700);wc(c+24|0,b,1);if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+176|0,877084);h=v[c+312>>2];e=sb(c+56|0,875884);d=sb(c+112|0,875884);Wc(c+24|0,b,h,e,d);if(t[d+11|0]<=-1){$a(v[d>>2])}if(t[e+11|0]<=-1){$a(v[e>>2])}if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+176|0,877700);kc(c+24|0,879360);if(t[b+11|0]>-1){break lc}$a(v[b>>2])}b=c+304|0;bb(b);ib(v[c+200>>2],309146,b,0);mc:{if(v[c+304>>2]!=1){break mc}b=sb(c+176|0,877732);wc(c+24|0,b,1);if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+176|0,877084);h=v[c+312>>2];e=sb(c+56|0,875884);d=sb(c+112|0,875884);Wc(c+24|0,b,h,e,d);if(t[d+11|0]<=-1){$a(v[d>>2])}if(t[e+11|0]<=-1){$a(v[e>>2])}if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+176|0,877732);kc(c+24|0,879360);if(t[b+11|0]>-1){break mc}$a(v[b>>2])}b=c+304|0;bb(b);ib(v[c+200>>2],311392,b,0);nc:{if(v[c+304>>2]!=1){break nc}b=sb(c+176|0,877756);wc(c+24|0,b,1);if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+176|0,877084);h=v[c+312>>2];e=sb(c+56|0,875884);d=sb(c+112|0,875884);Wc(c+24|0,b,h,e,d);if(t[d+11|0]<=-1){$a(v[d>>2])}if(t[e+11|0]<=-1){$a(v[e>>2])}if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+176|0,877756);kc(c+24|0,879360);if(t[b+11|0]>-1){break nc}$a(v[b>>2])}b=c+304|0;bb(b);ib(v[c+200>>2],230761,b,0);oc:{if(v[c+304>>2]!=1){break oc}b=sb(c+176|0,877780);wc(c+24|0,b,1);if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+176|0,877084);h=v[c+312>>2];e=sb(c+56|0,875884);d=sb(c+112|0,875884);Wc(c+24|0,b,h,e,d);if(t[d+11|0]<=-1){$a(v[d>>2])}if(t[e+11|0]<=-1){$a(v[e>>2])}if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+176|0,877780);kc(c+24|0,879360);if(t[b+11|0]>-1){break oc}$a(v[b>>2])}b=c+304|0;bb(b);ib(v[c+200>>2],269393,b,0);pc:{if(v[c+304>>2]!=1){break pc}b=sb(c+176|0,877812);wc(c+24|0,b,1);if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+176|0,877084);h=v[c+312>>2];e=sb(c+56|0,875884);d=sb(c+112|0,875884);Wc(c+24|0,b,h,e,d);if(t[d+11|0]<=-1){$a(v[d>>2])}if(t[e+11|0]<=-1){$a(v[e>>2])}if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+176|0,877812);kc(c+24|0,879360);if(t[b+11|0]>-1){break pc}$a(v[b>>2])}b=c+304|0;bb(b);ib(v[c+200>>2],269361,b,0);qc:{if(v[c+304>>2]!=1){break qc}b=sb(c+176|0,877848);wc(c+24|0,b,1);if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+176|0,877084);h=v[c+312>>2];e=sb(c+56|0,875884);d=sb(c+112|0,875884);Wc(c+24|0,b,h,e,d);if(t[d+11|0]<=-1){$a(v[d>>2])}if(t[e+11|0]<=-1){$a(v[e>>2])}if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+176|0,877848);kc(c+24|0,879360);if(t[b+11|0]>-1){break qc}$a(v[b>>2])}b=c+304|0;bb(b);ib(v[c+200>>2],269402,b,0);rc:{if(v[c+304>>2]!=1){break rc}b=sb(c+176|0,877884);wc(c+24|0,b,1);if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+176|0,877084);h=v[c+312>>2];e=sb(c+56|0,875884);d=sb(c+112|0,875884);Wc(c+24|0,b,h,e,d);if(t[d+11|0]<=-1){$a(v[d>>2])}if(t[e+11|0]<=-1){$a(v[e>>2])}if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+176|0,877884);kc(c+24|0,879360);if(t[b+11|0]>-1){break rc}$a(v[b>>2])}bb(c+304|0)}bb(c+192|0);b=sb(c+176|0,877260);qg(c+24|0,b);if(t[b+11|0]<=-1){$a(v[b>>2])}b=c+304|0;ib(f,240207,b,0);e=v[c+312>>2];d=v[c+304>>2];bb(b);ib(f,240217,b,0);h=v[c+312>>2];n=v[c+304>>2];bb(b);ib(f,236205,b,0);sc:{if(v[c+304>>2]!=6){break sc}b=sb(c+176|0,877936);wc(c+24|0,b,1);if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+176|0,877964);f=(d|0)==1?e:0;e=sb(c+56|0,875884);d=sb(c+112|0,875884);Wc(c+24|0,b,f,e,d);if(t[d+11|0]<=-1){$a(v[d>>2])}if(t[e+11|0]<=-1){$a(v[e>>2])}if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+176|0,878004);e=sb(c+56|0,875884);d=sb(c+112|0,875884);Wc(c+24|0,b,(n|0)==1?h:0,e,d);if(t[d+11|0]<=-1){$a(v[d>>2])}if(t[e+11|0]<=-1){$a(v[e>>2])}if(t[b+11|0]<=-1){$a(v[b>>2])}b=sb(c+176|0,877936);kc(c+24|0,879328);if(t[b+11|0]<=-1){$a(v[b>>2])}b=0;d=v[c+312>>2];f=v[d+12>>2];if((f|0)>0){while(1){v[c+176>>2]=13;ub(d,b,c+176|0,0);if(v[c+176>>2]==1){e=ab(32);v[c+112>>2]=e;v[c+116>>2]=5;v[c+120>>2]=-2147483640;rb(e,878040,5);v[e+20>>2]=0;e=c+56|0;xh(e,879320,c+112|0);k=e;e=w[c+67|0];h=e<<24>>24<0;bd(c+24|0,h?v[c+56>>2]:k,h?v[c+60>>2]:e);if(t[c+67|0]<=-1){$a(v[c+56>>2])}if(t[c+123|0]<=-1){$a(v[c+112>>2])}e=ab(32);v[c+56>>2]=e;v[c+60>>2]=5;v[c+64>>2]=-2147483640;rb(e,877084,5);v[e+20>>2]=0;e=v[c+184>>2];v[c+112>>2]=0;t[c+123|0]=0;v[c+96>>2]=0;t[c+107|0]=0;Wc(c+24|0,c+56|0,e,c+112|0,c+96|0);if(t[c+107|0]<=-1){$a(v[c+96>>2])}if(t[c+123|0]<=-1){$a(v[c+112>>2])}if(t[c+67|0]<=-1){$a(v[c+56>>2])}e=ab(32);rb(e,878040,5);v[e+20>>2]=0;kc(c+24|0,879360);$a(e)}bb(c+176|0);b=b+1|0;if((f|0)!=(b|0)){continue}break}}b=sb(c+176|0,877936);qg(c+24|0,b);if(t[b+11|0]>-1){break sc}$a(v[b>>2])}bb(c+304|0);b=sb(c+176|0,877128);qg(c+24|0,b);if(t[b+11|0]>-1){break Ha}$a(v[b>>2])}bb(c+320|0);II(c+128|0,c+24|0);if(t[c+35|0]>-1){break Ga}$a(v[c+24>>2])}if(t[c+139|0]<=-1){$a(v[c+128>>2])}if(t[c+155|0]<=-1){$a(v[c+144>>2])}if(t[c+171|0]>-1){break Fa}$a(v[c+160>>2])}b=w[c+395|0];tc:{if((b<<24>>24<0?v[c+388>>2]:b)>>>0<8){break tc}if(v[Qj(c+384|0,6)>>2]!=43){break tc}if(v[Qj(c+384|0,0)>>2]-65>>>0>25){break tc}if(v[Qj(c+384|0,1)>>2]-65>>>0>=26){break tc}if(v[Qj(c+384|0,2)>>2]-65>>>0>25){break tc}if(v[Qj(c+384|0,3)>>2]-65>>>0>25){break tc}if(v[Qj(c+384|0,4)>>2]-65>>>0>25){break tc}if(v[Qj(c+384|0,5)>>2]-65>>>0>25){break tc}hK(c+384|0,7)}b=v[c+380>>2];e=b+8|0;uc:{if((e|0)==(c+400|0)){break uc}f=w[c+411|0];d=f<<24>>24;if(t[b+19|0]>=0){if((d|0)>=0){d=v[c+404>>2];v[e>>2]=v[c+400>>2];v[e+4>>2]=d;v[e+8>>2]=v[c+408>>2];break uc}De(e,v[c+400>>2],v[c+404>>2]);break uc}h=e;e=(d|0)<0;mf(h,e?v[c+400>>2]:c+400|0,e?v[c+404>>2]:f)}e=b+20|0;vc:{if((e|0)==(c+384|0)){break vc}f=w[c+395|0];d=f<<24>>24;if(t[b+31|0]>=0){if((d|0)>=0){d=v[c+388>>2];v[e>>2]=v[c+384>>2];v[e+4>>2]=d;v[e+8>>2]=v[c+392>>2];break vc}De(e,v[c+384>>2],v[c+388>>2]);break vc}h=e;e=(d|0)<0;mf(h,e?v[c+384>>2]:c+384|0,e?v[c+388>>2]:f)}v[b+36>>2]=i;v[b+32>>2]=j;e=v[c+76>>2];d=1;t[b+48|0]=1;v[b+44>>2]=g;v[b+40>>2]=e}b=v[c+336>>2];if(b){$a(b)}if(t[c+363|0]<=-1){$a(v[c+352>>2])}if(!d){break o}}b=w[c+411|0];if(!(b<<24>>24<0?v[c+404>>2]:b)){if(!Vc(c+400|0,875884,0)){break o}}b=v[a+104>>2];Qa[v[v[b>>2]+228>>2]](b,c+400|0)|0;a=v[a+104>>2];Qa[v[v[a>>2]+220>>2]](a,c+384|0)|0}if(t[c+395|0]<=-1){$a(v[c+384>>2])}if(t[c+411|0]>-1){break a}$a(v[c+400>>2])}Ma=c+416|0}function SU(a){var 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,z=0,A=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0;Y=Ma-16|0;Ma=Y;a:{while(1){b:{c=v[a+8>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;if((c|0)!=255){if((c|0)!=-1){continue}break b}while(1){c=v[a+8>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;if((c|0)==255){continue}break}c:{switch(c+1|0){case 1:continue;case 0:break b;default:break c}}b=0;if(!((c&-16)==48|c-146>>>0<2|((c|0)==79|(c|0)==217))){b=v[a+8>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break b}g=v[a+8>>2];g=Qa[v[v[g>>2]+28>>2]](g)|0;if((g|0)==-1){break b}b=g|b<<8}d:{e:{f:{g:{h:{i:{j:{k:{switch(c-79|0){case 2:if(f){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,257452,0);a=2;break a}l:{c=v[a+8>>2];m:{if((Qa[v[v[c>>2]+28>>2]](c)|0)==-1){break m}c=v[a+8>>2];if((Qa[v[v[c>>2]+28>>2]](c)|0)==-1){break m}c=v[a+8>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;if((c|0)==-1){break m}b=v[a+8>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break m}g=v[a+8>>2];g=Qa[v[v[g>>2]+28>>2]](g)|0;if((g|0)==-1){break m}f=v[a+8>>2];f=Qa[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break m}v[a+140>>2]=f|(b<<16|c<<24|g<<8);c=v[a+8>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;if((c|0)==-1){break m}b=v[a+8>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break m}g=v[a+8>>2];g=Qa[v[v[g>>2]+28>>2]](g)|0;if((g|0)==-1){break m}f=v[a+8>>2];f=Qa[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break m}v[a+144>>2]=f|(b<<16|c<<24|g<<8);c=v[a+8>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;if((c|0)==-1){break m}b=v[a+8>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break m}g=v[a+8>>2];g=Qa[v[v[g>>2]+28>>2]](g)|0;if((g|0)==-1){break m}f=v[a+8>>2];f=Qa[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break m}v[a+148>>2]=f|(b<<16|c<<24|g<<8);c=v[a+8>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;if((c|0)==-1){break m}b=v[a+8>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break m}g=v[a+8>>2];g=Qa[v[v[g>>2]+28>>2]](g)|0;if((g|0)==-1){break m}f=v[a+8>>2];f=Qa[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break m}v[a+152>>2]=f|(b<<16|c<<24|g<<8);c=v[a+8>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;if((c|0)==-1){break m}b=v[a+8>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break m}g=v[a+8>>2];g=Qa[v[v[g>>2]+28>>2]](g)|0;if((g|0)==-1){break m}f=v[a+8>>2];f=Qa[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break m}v[a+156>>2]=f|(b<<16|c<<24|g<<8);c=v[a+8>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;if((c|0)==-1){break m}b=v[a+8>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break m}g=v[a+8>>2];g=Qa[v[v[g>>2]+28>>2]](g)|0;if((g|0)==-1){break m}f=v[a+8>>2];f=Qa[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break m}v[a+160>>2]=f|(b<<16|c<<24|g<<8);c=v[a+8>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;if((c|0)==-1){break m}b=v[a+8>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break m}g=v[a+8>>2];g=Qa[v[v[g>>2]+28>>2]](g)|0;if((g|0)==-1){break m}f=v[a+8>>2];f=Qa[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break m}v[a+164>>2]=f|(b<<16|c<<24|g<<8);c=v[a+8>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;if((c|0)==-1){break m}b=v[a+8>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break m}g=v[a+8>>2];g=Qa[v[v[g>>2]+28>>2]](g)|0;if((g|0)==-1){break m}f=v[a+8>>2];f=Qa[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break m}v[a+168>>2]=f|(b<<16|c<<24|g<<8);c=v[a+8>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;if((c|0)==-1){break m}b=v[a+8>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)!=-1){break l}}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229117,0);a=2;break a}h=b|c<<8;v[a+188>>2]=h;if(!(!v[a+32>>2]|(h|0)==v[a+12>>2])){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229060,0);a=2;break a}n:{f=v[a+140>>2];o:{if(!f){break o}d=v[a+144>>2];if(!d){break o}e=v[a+148>>2];if(e>>>0>=f>>>0){break o}g=v[a+152>>2];if(g>>>0>=d>>>0){break o}c=v[a+156>>2];if(!c){break o}b=v[a+160>>2];if(!b){break o}i=v[a+164>>2];if(i>>>0>e>>>0){break o}l=v[a+168>>2];if(l>>>0>g>>>0|e>>>0>=c+i>>>0|g>>>0>=b+l>>>0){break o}if(h){break n}}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229117,0);a=2;break a}n=(b+d|0)+(l^-1)|0;l=(n>>>0)/(b>>>0)|0;v[a+196>>2]=l;p=(c+f|0)+(i^-1)|0;i=(p>>>0)/(c>>>0)|0;v[a+192>>2]=i;r=g;g=v[a+28>>2];h=-1<>2]=r+h>>>g;v[a+180>>2]=e+h>>>g;v[a+176>>2]=d+h>>>g;v[a+172>>2]=f+h>>>g;if(!(!(c>>>0>p>>>0|b>>>0>n>>>0)&i>>>0<2147483647/(l>>>0)>>>0)){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229019,0);a=2;break a}g=Pb(B(i,l),64);v[a+200>>2]=g;f=B(v[a+196>>2],v[a+192>>2]);if(!f){break d}b=f&3;c=0;if(f-1>>>0>=3){n=f&-4;while(1){d=c<<6;e=d+g|0;v[e+56>>2]=0;v[e+60>>2]=0;v[e>>2]=0;e=g+(d|64)|0;v[e+56>>2]=0;v[e+60>>2]=0;v[e>>2]=0;e=g+(d|128)|0;v[e+56>>2]=0;v[e+60>>2]=0;v[e>>2]=0;d=g+(d|192)|0;v[d+56>>2]=0;v[d+60>>2]=0;v[d>>2]=0;c=c+4|0;n=n-4|0;if(n){continue}break}}if(b){while(1){d=g+(c<<6)|0;v[d+56>>2]=0;v[d+60>>2]=0;v[d>>2]=0;c=c+1|0;b=b-1|0;if(b){continue}break}}n=0;if(!f){break d}while(1){g=Pb(v[a+188>>2],88);v[(v[a+200>>2]+(n<<6)|0)+60>>2]=g;f=v[a+188>>2];p:{if(!f){break p}c=0;if((f|0)!=1){b=f&-2;while(1){d=g+B(c,88)|0;v[d+84>>2]=0;v[d+76>>2]=0;v[d+80>>2]=0;v[d+44>>2]=0;d=g+B(c|1,88)|0;v[d+84>>2]=0;v[d+76>>2]=0;v[d+80>>2]=0;v[d+44>>2]=0;c=c+2|0;b=b-2|0;if(b){continue}break}}if(!(f&1)){break p}c=g+B(c,88)|0;v[c+84>>2]=0;v[c+76>>2]=0;v[c+80>>2]=0;v[c+44>>2]=0}n=n+1|0;if(n>>>0>2],v[a+192>>2])>>>0){continue}break};break d;case 3:if(!f){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,230344,0);a=2;break a}q:{c=v[a+8>>2];h=Qa[v[v[c>>2]+28>>2]](c)|0;r:{if((h|0)==-1){break r}c=v[a+8>>2];k=Qa[v[v[c>>2]+28>>2]](c)|0;if((k|0)==-1){break r}c=v[a+8>>2];f=Qa[v[v[c>>2]+28>>2]](c)|0;if((f|0)==-1){break r}c=v[a+8>>2];e=Qa[v[v[c>>2]+28>>2]](c)|0;if((e|0)==-1){break r}c=v[a+8>>2];n=Qa[v[v[c>>2]+28>>2]](c)|0;if((n|0)==-1){break r}c=v[a+8>>2];g=Qa[v[v[c>>2]+28>>2]](c)|0;if((g|0)==-1){break r}c=v[a+8>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;if((c|0)==-1){break r}b=v[a+8>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break r}d=v[a+8>>2];p=Qa[v[v[d>>2]+28>>2]](d)|0;if((p|0)==-1){break r}d=v[a+8>>2];o=Qa[v[v[d>>2]+28>>2]](d)|0;if((o|0)!=-1){break q}}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229505,0);a=2;break a}if(!(!(g-1>>>0>30|c>>>0>8)&b>>>0<9)){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229505,0);a=2;break a}d=v[a+196>>2];l=v[a+192>>2];if(B(d,l)){q=e|f<<8;F=g+1|0;H=b+2|0;A=c+2|0;e=v[a+188>>2];f=0;while(1){i=f<<6;c=i+v[a+200>>2]|0;v[c+12>>2]=n;v[c+8>>2]=q;v[c+4>>2]=k;b=0;c=0;if(e){while(1){e=B(b,88);c=e+v[(i+v[a+200>>2]|0)+60>>2]|0;v[c+36>>2]=o;v[c+32>>2]=p;v[c+28>>2]=H;v[c+24>>2]=A;v[c+20>>2]=g;v[c+16>>2]=h;d=Pb(F,100);v[(e+v[(i+v[a+200>>2]|0)+60>>2]|0)+84>>2]=d;c=0;while(1){v[(d+B(c,100)|0)+96>>2]=0;c=c+1|0;if(g>>>0>=c>>>0){continue}break}b=b+1|0;c=v[a+188>>2];if(b>>>0>>0){continue}break}l=v[a+192>>2];d=v[a+196>>2]}e=c;f=f+1|0;if(f>>>0>>0){continue}break}}f=h&1;c=0;while(1){s:{if(f){b=v[a+8>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229505,0);a=2;break a}e=v[v[v[a+200>>2]+60>>2]+84>>2];v[e+B(c,100)>>2]=b&15;b=b>>>4&15;break s}e=v[v[v[a+200>>2]+60>>2]+84>>2];v[e+B(c,100)>>2]=15;b=15}v[(B(c,100)+e|0)+4>>2]=b;c=c+1|0;if(g>>>0>=c>>>0){continue}break};break e;case 4:if(!k){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,230516,0);a=2;break a}t:{u:{v:{w:{if(y[a+188>>2]<257){break w}c=v[a+8>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;if((c|0)==-1){break u}b=v[a+8>>2];g=Qa[v[v[b>>2]+28>>2]](b)|0;if((g|0)==-1){break u}b=v[a+188>>2];if(b>>>0<=256){break w}c=g|c<<8;break v}c=v[a+8>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;if((c|0)==-1){break u}b=v[a+188>>2]}if(b>>>0<=c>>>0){break u}b=v[a+8>>2];g=Qa[v[v[b>>2]+28>>2]](b)|0;if((g|0)==-1){break u}b=v[a+8>>2];d=Qa[v[v[b>>2]+28>>2]](b)|0;if((d|0)==-1){break u}b=v[a+8>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break u}e=v[a+8>>2];e=Qa[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){break u}h=v[a+8>>2];i=Qa[v[v[h>>2]+28>>2]](h)|0;if((i|0)==-1){break u}h=v[a+8>>2];k=Qa[v[v[h>>2]+28>>2]](h)|0;if((k|0)!=-1){break t}}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229669,0);a=2;break a}if(!(!(d-1>>>0>30|b>>>0>8)&e>>>0<9)){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229669,0);a=2;break a}h=g&1;g=B(c,88);n=v[a+200>>2];if(!B(v[a+196>>2],v[a+192>>2])){break f}c=v[n+60>>2];l=h|v[(g+c|0)+16>>2]&-2;p=d+1|0;o=e+2|0;q=b+2|0;b=0;while(1){c=c+g|0;v[c+36>>2]=k;v[c+32>>2]=i;v[c+28>>2]=o;v[c+24>>2]=q;v[c+20>>2]=d;v[c+16>>2]=l;e=yc(v[c+84>>2],p,100);n=v[a+200>>2];v[(g+v[(n+(b<<6)|0)+60>>2]|0)+84>>2]=e;c=0;while(1){v[(e+B(c,100)|0)+96>>2]=0;c=c+1|0;if(d>>>0>=c>>>0){continue}break}b=b+1|0;if(b>>>0>=B(v[a+196>>2],v[a+192>>2])>>>0){break f}c=v[((b<<6)+n|0)+60>>2];continue};case 13:if(!f){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,230386,0);a=2;break a}c=v[v[a+200>>2]+60>>2];g=v[a+8>>2];g=Qa[v[v[g>>2]+28>>2]](g)|0;if((g|0)==-1){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229571,0);a=2;break a}v[c+40>>2]=g;x:{y:{z:{A:{c=v[v[a+200>>2]+60>>2];switch(v[c+40>>2]&31){case 2:break y;case 1:break z;case 0:break A;default:break x}}if(b>>>0<=3){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229571,0);a=2;break a}b=b-3|0;v[c+48>>2]=b;b=yc(v[c+44>>2],b,4);c=v[v[a+200>>2]+60>>2];v[c+44>>2]=b;if(!v[c+48>>2]){break g}c=v[a+8>>2];e=Qa[v[v[c>>2]+28>>2]](c)|0;if((e|0)!=-1){c=0;while(1){v[(c<<2)+b>>2]=e;c=c+1|0;b=v[v[a+200>>2]+60>>2];if(c>>>0>=y[b+48>>2]){break g}b=v[b+44>>2];g=v[a+8>>2];e=Qa[v[v[g>>2]+28>>2]](g)|0;if((e|0)!=-1){continue}break}}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229571,0);a=2;break a}v[c+48>>2]=1;c=yc(v[c+44>>2],1,4);v[v[v[a+200>>2]+60>>2]+44>>2]=c;B:{b=v[a+8>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break B}g=v[a+8>>2];g=Qa[v[v[g>>2]+28>>2]](g)|0;if((g|0)==-1){break B}v[c>>2]=g|b<<8;break g}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229571,0);a=2;break a}if(b>>>0<=4){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229571,0);a=2;break a}b=b-3>>>1|0;v[c+48>>2]=b;b=yc(v[c+44>>2],b,4);c=v[v[a+200>>2]+60>>2];v[c+44>>2]=b;if(!v[c+48>>2]){break g}c=v[a+8>>2];e=Qa[v[v[c>>2]+28>>2]](c)|0;if((e|0)==-1){break h}c=0;while(1){g=v[a+8>>2];g=Qa[v[v[g>>2]+28>>2]](g)|0;if((g|0)==-1){break h}v[b>>2]=g|e<<8;c=c+1|0;b=v[v[a+200>>2]+60>>2];if(c>>>0>=y[b+48>>2]){break g}b=v[b+44>>2]+(c<<2)|0;g=v[a+8>>2];e=Qa[v[v[g>>2]+28>>2]](g)|0;if((e|0)!=-1){continue}break}break h}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229571,0);a=2;break a;case 14:if(!j){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,230558,0);a=2;break a}C:{D:{E:{F:{if(y[a+188>>2]<257){break F}c=v[a+8>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;if((c|0)==-1){break D}g=v[a+8>>2];g=Qa[v[v[g>>2]+28>>2]](g)|0;if((g|0)==-1){break D}e=v[a+188>>2];if(e>>>0<=256){break F}c=g|c<<8;break E}c=v[a+8>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;if((c|0)==-1){break D}e=v[a+188>>2]}if(c>>>0>=e>>>0){break D}g=v[v[a+200>>2]+60>>2];d=v[a+8>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;if((d|0)!=-1){break C}}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229735,0);a=2;break a}h=g;g=B(c,88);v[(h+g|0)+40>>2]=d;G:{H:{I:{J:{c=g+v[v[a+200>>2]+60>>2]|0;switch(v[c+40>>2]&31){case 2:break H;case 1:break I;case 0:break J;default:break G}}d=y[a+188>>2]>256?5:4;if(d>>>0>=b>>>0){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229735,0);a=2;break a}b=b-d|0;v[c+48>>2]=b;b=yc(v[c+44>>2],b,4);c=g+v[v[a+200>>2]+60>>2]|0;v[c+44>>2]=b;if(!v[c+48>>2]){break i}c=v[a+8>>2];e=Qa[v[v[c>>2]+28>>2]](c)|0;if((e|0)!=-1){c=0;while(1){v[(c<<2)+b>>2]=e;c=c+1|0;b=g+v[v[a+200>>2]+60>>2]|0;if(c>>>0>=y[b+48>>2]){break i}b=v[b+44>>2];d=v[a+8>>2];e=Qa[v[v[d>>2]+28>>2]](d)|0;if((e|0)!=-1){continue}break}}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229735,0);a=2;break a}v[c+48>>2]=1;c=yc(v[c+44>>2],1,4);v[(g+v[v[a+200>>2]+60>>2]|0)+44>>2]=c;K:{b=v[a+8>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break K}d=v[a+8>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break K}v[c>>2]=d|b<<8;break i}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229735,0);a=2;break a}d=y[a+188>>2]>256?5:4;if((d|2)>>>0>b>>>0){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229735,0);a=2;break a}b=b-d>>>1|0;v[c+48>>2]=b;b=yc(v[c+44>>2],b,4);c=g+v[v[a+200>>2]+60>>2]|0;v[c+44>>2]=b;if(!v[c+48>>2]){break i}c=v[a+8>>2];e=Qa[v[v[c>>2]+28>>2]](c)|0;if((e|0)==-1){break j}c=0;while(1){d=v[a+8>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break j}v[b>>2]=d|e<<8;c=c+1|0;b=g+v[v[a+200>>2]+60>>2]|0;if(c>>>0>=y[b+48>>2]){break i}b=v[b+44>>2]+(c<<2)|0;d=v[a+8>>2];e=Qa[v[v[d>>2]+28>>2]](d)|0;if((e|0)!=-1){continue}break}break j}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229735,0);a=2;break a;case 15:fb(6,-1,230450,0);if(b>>>0<3){continue}c=v[a+8>>2];b=b-2|0;if((Qa[v[v[c>>2]+48>>2]](c,b)|0)==(b|0)){continue}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229279,0);a=2;break a;case 16:fb(6,-1,230600,0);if(b>>>0<3){continue}c=v[a+8>>2];b=b-2|0;if((Qa[v[v[c>>2]+48>>2]](c,b)|0)==(b|0)){continue}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229603,0);a=2;break a;case 17:fb(6,-1,230494,0);if(b>>>0<3){continue}c=v[a+8>>2];b=b-2|0;if((Qa[v[v[c>>2]+48>>2]](c,b)|0)==(b|0)){continue}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229311,0);a=2;break a;case 6:if(b>>>0<3){continue}c=v[a+8>>2];b=b-2|0;if((Qa[v[v[c>>2]+48>>2]](c,b)|0)==(b|0)){continue}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229375,0);a=2;break a;case 8:if(b>>>0<3){continue}c=v[a+8>>2];b=b-2|0;if((Qa[v[v[c>>2]+48>>2]](c,b)|0)==(b|0)){continue}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229407,0);a=2;break a;case 20:if(b>>>0<3){continue}c=v[a+8>>2];b=b-2|0;if((Qa[v[v[c>>2]+48>>2]](c,b)|0)==(b|0)){continue}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229439,0);a=2;break a;case 21:if(b>>>0<3){continue}c=v[a+8>>2];b=b-2|0;if((Qa[v[v[c>>2]+48>>2]](c,b)|0)==(b|0)){continue}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229343,0);a=2;break a;default:g=Qa[v[v[a>>2]+52>>2]](a)|0;v[Y>>2]=c;fb(1,g,257254,Y);if(b>>>0<3){continue}c=v[a+8>>2];Qa[v[v[c>>2]+48>>2]](c,b-2|0)|0;continue;case 65:break k;case 0:continue}}if(!f){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,257411,0);a=2;break a}if(!k){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,257495,0);a=2;break a}L:{M:{N:{if(j){while(1){C=0;Z=Ma-16|0;Ma=Z;O:{P:{c=v[a+8>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;Q:{if((c|0)==-1){break Q}b=v[a+8>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break Q}g=v[a+8>>2];g=Qa[v[v[g>>2]+28>>2]](g)|0;if((g|0)==-1){break Q}f=v[a+8>>2];d=Qa[v[v[f>>2]+28>>2]](f)|0;if((d|0)==-1){break Q}f=v[a+8>>2];e=Qa[v[v[f>>2]+28>>2]](f)|0;if((e|0)==-1){break Q}f=v[a+8>>2];h=Qa[v[v[f>>2]+28>>2]](f)|0;if((h|0)==-1){break Q}f=v[a+8>>2];f=Qa[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break Q}i=v[a+8>>2];if((Qa[v[v[i>>2]+28>>2]](i)|0)!=-1){break P}}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229181,0);f=0;break O}R:{s=b|c<<8;S:{if(s>>>0>=B(v[a+196>>2],v[a+192>>2])>>>0){break S}c=v[a+200>>2]+(s<<6)|0;if((f|0)!=v[c+56>>2]){break S}b=v[c>>2];if(f){if(!b){break S}break R}if(!b){break R}}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,257597,0);f=0;break O}v[c+56>>2]=f+1;c=h|(d<<16|g<<24|e<<8);g=c-12|0;_=!c;c=s<<6;T:while(1){U:{b=v[a+8>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)!=255){if((b|0)!=-1){continue}break U}while(1){b=v[a+8>>2];d=Qa[v[v[b>>2]+28>>2]](b)|0;if((d|0)==255){continue}break}V:{switch(d+1|0){case 1:continue;case 0:break U;default:break V}}b=0;if(!((d&-16)==48|d-146>>>0<2|((d|0)==79|(d|0)==217))){b=v[a+8>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break U}e=v[a+8>>2];e=Qa[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){break U}b=e|b<<8}g=(g-b|0)-2|0;W:{X:{Y:{Z:{_:{$:{aa:{ba:{ca:{da:{switch(d-82|0){case 0:if(f){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229471,0);f=0;break O}ea:{b=v[a+8>>2];k=Qa[v[v[b>>2]+28>>2]](b)|0;fa:{if((k|0)==-1){break fa}b=v[a+8>>2];d=Qa[v[v[b>>2]+28>>2]](b)|0;if((d|0)==-1){break fa}b=v[a+8>>2];e=Qa[v[v[b>>2]+28>>2]](b)|0;if((e|0)==-1){break fa}b=v[a+8>>2];n=Qa[v[v[b>>2]+28>>2]](b)|0;if((n|0)==-1){break fa}b=v[a+8>>2];p=Qa[v[v[b>>2]+28>>2]](b)|0;if((p|0)==-1){break fa}b=v[a+8>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break fa}h=v[a+8>>2];j=Qa[v[v[h>>2]+28>>2]](h)|0;if((j|0)==-1){break fa}h=v[a+8>>2];l=Qa[v[v[h>>2]+28>>2]](h)|0;if((l|0)==-1){break fa}h=v[a+8>>2];o=Qa[v[v[h>>2]+28>>2]](h)|0;if((o|0)==-1){break fa}h=v[a+8>>2];F=Qa[v[v[h>>2]+28>>2]](h)|0;if((F|0)!=-1){break ea}}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229505,0);f=0;break O}if(!(!(b-1>>>0>30|j>>>0>8)&l>>>0<9)){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229505,0);f=0;break O}i=v[a+200>>2];h=c+i|0;v[h+12>>2]=p;v[h+8>>2]=n|e<<8;v[h+4>>2]=d;e=0;d=0;if(v[a+188>>2]){n=b+1|0;p=l+2|0;H=j+2|0;l=v[h+60>>2];q=0;while(1){h=B(q,88);d=h+l|0;v[d+36>>2]=F;v[d+32>>2]=o;v[d+28>>2]=p;v[d+24>>2]=H;v[d+20>>2]=b;v[d+16>>2]=k;d=yc(v[d+84>>2],n,100);i=v[a+200>>2];l=v[(c+i|0)+60>>2];v[(h+l|0)+84>>2]=d;j=0;while(1){v[(d+B(j,100)|0)+96>>2]=0;j=j+1|0;if(b>>>0>=j>>>0){continue}break}d=v[a+188>>2];q=q+1|0;if(d>>>0>q>>>0){continue}break}}if(!(k&1)){e=v[v[(c+i|0)+60>>2]+84>>2];j=0;while(1){h=e+B(j,100)|0;v[h>>2]=15;v[h+4>>2]=15;j=j+1|0;if(b>>>0>=j>>>0){continue}break}break W}while(1){d=v[a+8>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;if((d|0)!=-1){h=v[v[(c+v[a+200>>2]|0)+60>>2]+84>>2]+B(e,100)|0;v[h+4>>2]=d>>>4&15;v[h>>2]=d&15;e=e+1|0;if(b>>>0>=e>>>0){continue}break X}break};fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229505,0);f=0;break O;case 1:if(f){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229635,0);f=0;break O}ga:{ha:{ia:{ja:{if(y[a+188>>2]<257){break ja}b=v[a+8>>2];d=Qa[v[v[b>>2]+28>>2]](b)|0;if((d|0)==-1){break ha}b=v[a+8>>2];e=Qa[v[v[b>>2]+28>>2]](b)|0;if((e|0)==-1){break ha}b=v[a+188>>2];if(b>>>0<=256){break ja}j=e|d<<8;break ia}b=v[a+8>>2];j=Qa[v[v[b>>2]+28>>2]](b)|0;if((j|0)==-1){break ha}b=v[a+188>>2]}if(b>>>0<=j>>>0){break ha}b=v[a+8>>2];k=Qa[v[v[b>>2]+28>>2]](b)|0;if((k|0)==-1){break ha}b=v[a+8>>2];d=Qa[v[v[b>>2]+28>>2]](b)|0;if((d|0)==-1){break ha}b=v[a+8>>2];e=Qa[v[v[b>>2]+28>>2]](b)|0;if((e|0)==-1){break ha}b=v[a+8>>2];h=Qa[v[v[b>>2]+28>>2]](b)|0;if((h|0)==-1){break ha}b=v[a+8>>2];l=Qa[v[v[b>>2]+28>>2]](b)|0;if((l|0)==-1){break ha}b=v[a+8>>2];n=Qa[v[v[b>>2]+28>>2]](b)|0;if((n|0)!=-1){break ga}}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229669,0);f=0;break O}if(!(!(d-1>>>0>30|e>>>0>8)&h>>>0<9)){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229669,0);f=0;break O}i=B(j,88);b=i+v[(c+v[a+200>>2]|0)+60>>2]|0;v[b+36>>2]=n;v[b+32>>2]=l;v[b+28>>2]=h+2;v[b+24>>2]=e+2;v[b+20>>2]=d;e=k&1;v[b+16>>2]=e|v[b+16>>2]&-2;b=yc(v[b+84>>2],d+1|0,100);v[(i+v[(c+v[a+200>>2]|0)+60>>2]|0)+84>>2]=b;j=0;while(1){v[(b+B(j,100)|0)+96>>2]=0;j=j+1|0;if(d>>>0>=j>>>0){continue}break};break Y;case 10:if(f){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229537,0);f=0;break O}d=v[(c+v[a+200>>2]|0)+60>>2];e=v[a+8>>2];e=Qa[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229571,0);f=0;break O}v[d+40>>2]=e;ka:{la:{ma:{na:{oa:{d=v[(c+v[a+200>>2]|0)+60>>2];switch(v[d+40>>2]&31){case 2:break ma;case 1:break na;case 0:break oa;default:break la}}if(b>>>0<=3){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229571,0);f=0;break O}b=b-3|0;v[d+48>>2]=b;b=yc(v[d+44>>2],b,4);d=v[(c+v[a+200>>2]|0)+60>>2];v[d+44>>2]=b;if(!v[d+48>>2]){break ka}d=v[a+8>>2];e=Qa[v[v[d>>2]+28>>2]](d)|0;if((e|0)!=-1){j=0;while(1){v[(j<<2)+b>>2]=e;j=j+1|0;b=v[(c+v[a+200>>2]|0)+60>>2];if(j>>>0>=y[b+48>>2]){break ka}b=v[b+44>>2];d=v[a+8>>2];e=Qa[v[v[d>>2]+28>>2]](d)|0;if((e|0)!=-1){continue}break}}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229571,0);f=0;break O}v[d+48>>2]=1;b=yc(v[d+44>>2],1,4);v[v[(c+v[a+200>>2]|0)+60>>2]+44>>2]=b;if(QU(a,b)){break ka}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229571,0);f=0;break O}if(b>>>0<=4){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229571,0);f=0;break O}b=b-3>>>1|0;v[d+48>>2]=b;b=yc(v[d+44>>2],b,4);d=v[(c+v[a+200>>2]|0)+60>>2];v[d+44>>2]=b;if(!v[d+48>>2]){break ka}d=v[a+8>>2];e=Qa[v[v[d>>2]+28>>2]](d)|0;if((e|0)==-1){break Z}j=0;while(1){d=v[a+8>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break Z}v[b>>2]=d|e<<8;j=j+1|0;b=v[(c+v[a+200>>2]|0)+60>>2];if(j>>>0>=y[b+48>>2]){break ka}b=v[b+44>>2]+(j<<2)|0;d=v[a+8>>2];e=Qa[v[v[d>>2]+28>>2]](d)|0;if((e|0)!=-1){continue}break}break Z}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229571,0);f=0;break O}if(y[a+188>>2]<2){continue}e=v[(c+v[a+200>>2]|0)+60>>2];b=v[e+48>>2];d=1;while(1){h=v[e+40>>2];i=B(d,88);e=i+e|0;v[e+48>>2]=b;v[e+40>>2]=h;h=yc(v[e+44>>2],b,4);e=v[(c+v[a+200>>2]|0)+60>>2];v[(i+e|0)+44>>2]=h;pa:{if(!v[e+48>>2]){b=0;break pa}i=v[e+44>>2];j=0;while(1){b=j<<2;v[b+h>>2]=v[b+i>>2];b=v[e+48>>2];j=j+1|0;if(b>>>0>j>>>0){continue}break}}d=d+1|0;if(d>>>0>2]){continue}break};continue;case 11:if(f){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229701,0);f=0;break O}qa:{ra:{sa:{ta:{if(y[a+188>>2]<257){break ta}d=v[a+8>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break ra}e=v[a+8>>2];h=Qa[v[v[e>>2]+28>>2]](e)|0;if((h|0)==-1){break ra}e=v[a+188>>2];if(e>>>0<=256){break ta}j=h|d<<8;break sa}d=v[a+8>>2];j=Qa[v[v[d>>2]+28>>2]](d)|0;if((j|0)==-1){break ra}e=v[a+188>>2]}if(e>>>0<=j>>>0){break ra}d=v[(c+v[a+200>>2]|0)+60>>2];e=v[a+8>>2];e=Qa[v[v[e>>2]+28>>2]](e)|0;if((e|0)!=-1){break qa}}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229735,0);f=0;break O}h=d;d=B(j,88);v[(h+d|0)+40>>2]=e;ua:{va:{wa:{xa:{e=d+v[(c+v[a+200>>2]|0)+60>>2]|0;switch(v[e+40>>2]&31){case 2:break va;case 1:break wa;case 0:break xa;default:break ua}}h=y[a+188>>2]>256?5:4;if(h>>>0>=b>>>0){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229735,0);f=0;break O}b=b-h|0;v[e+48>>2]=b;b=yc(v[e+44>>2],b,4);e=d+v[(c+v[a+200>>2]|0)+60>>2]|0;v[e+44>>2]=b;if(!v[e+48>>2]){continue}e=v[a+8>>2];q=Qa[v[v[e>>2]+28>>2]](e)|0;if((q|0)!=-1){j=0;while(1){v[(j<<2)+b>>2]=q;j=j+1|0;b=d+v[(c+v[a+200>>2]|0)+60>>2]|0;if(j>>>0>=y[b+48>>2]){continue T}b=v[b+44>>2];e=v[a+8>>2];q=Qa[v[v[e>>2]+28>>2]](e)|0;if((q|0)!=-1){continue}break}}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229735,0);f=0;break O}v[e+48>>2]=1;b=yc(v[e+44>>2],1,4);v[(d+v[(c+v[a+200>>2]|0)+60>>2]|0)+44>>2]=b;if(QU(a,b)){continue}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229735,0);f=0;break O}h=y[a+188>>2]>256?5:4;if((h|2)>>>0>b>>>0){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229735,0);f=0;break O}b=b-h>>>1|0;v[e+48>>2]=b;b=yc(v[e+44>>2],b,4);e=d+v[(c+v[a+200>>2]|0)+60>>2]|0;v[e+44>>2]=b;if(!v[e+48>>2]){continue}e=v[a+8>>2];q=Qa[v[v[e>>2]+28>>2]](e)|0;if((q|0)==-1){break _}j=0;while(1){e=v[a+8>>2];e=Qa[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){break _}v[b>>2]=e|q<<8;j=j+1|0;b=d+v[(c+v[a+200>>2]|0)+60>>2]|0;if(j>>>0>=y[b+48>>2]){continue T}b=v[b+44>>2]+(j<<2)|0;e=v[a+8>>2];q=Qa[v[v[e>>2]+28>>2]](e)|0;if((q|0)!=-1){continue}break}break _}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229735,0);f=0;break O;case 12:if(f){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229245,0);f=0;break O}fb(6,-1,230472,0);if(b>>>0<3){continue}d=v[a+8>>2];b=b-2|0;if((Qa[v[v[d>>2]+48>>2]](d,b)|0)==(b|0)){continue}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229279,0);f=0;break O;case 13:fb(6,-1,230622,0);if(b>>>0<3){continue}d=v[a+8>>2];b=b-2|0;if((Qa[v[v[d>>2]+48>>2]](d,b)|0)==(b|0)){continue}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229603,0);f=0;break O;case 15:fb(6,-1,230428,0);if(b>>>0<3){continue}j=b-2|0;b=v[a+8>>2];if((j|0)==(Qa[v[v[b>>2]+48>>2]](b,j)|0)){break ca}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229149,0);f=0;break O;case 65:break $;case 18:break ba;case 6:break da;default:break aa}}if(b>>>0<3){continue}j=b-2|0}b=v[a+8>>2];if((Qa[v[v[b>>2]+48>>2]](b,j)|0)==(j|0)){continue}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229213,0);f=0;break O}if(b>>>0<3){continue}d=v[a+8>>2];b=b-2|0;if((Qa[v[v[d>>2]+48>>2]](d,b)|0)==(b|0)){continue}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229343,0);f=0;break O}e=Qa[v[v[a>>2]+52>>2]](a)|0;v[Z>>2]=d;fb(1,e,256178,Z);if(b>>>0<3){continue}d=v[a+8>>2];Qa[v[v[d>>2]+48>>2]](d,b-2|0)|0;continue}ya:{b=v[a+188>>2];if(b){d=v[(v[a+200>>2]+(s<<6)|0)+60>>2];i=0;while(1){za:{Aa:{Ba:{Ca:{c=d+B(i,88)|0;switch(v[c+40>>2]&31){case 0:break Aa;case 2:break Ba;case 1:break Ca;default:break za}}if(!v[c+48>>2]){break ya}break za}if(y[c+48>>2]>=B(v[c+20>>2],3)>>>0){break za}break ya}if(y[c+48>>2]>2],3)>>>0){break ya}}i=i+1|0;if((b|0)!=(i|0)){continue}break}}if(!f){b=v[a+192>>2];c=(s>>>0)/(b>>>0)|0;E=v[a+200>>2]+(s<<6)|0;f=v[a+148>>2];b=s-B(b,c)|0;d=v[a+164>>2]+B(b,v[a+156>>2])|0;v[E+16>>2]=d>>>0>>0?f:d;f=v[a+152>>2];d=v[a+168>>2]+B(c,v[a+160>>2])|0;v[E+20>>2]=d>>>0>>0?f:d;f=v[a+140>>2];b=v[a+164>>2]+B(v[a+156>>2],b+1|0)|0;v[E+24>>2]=b>>>0>f>>>0?f:b;b=v[a+144>>2];f=v[a+168>>2];d=v[a+160>>2];v[E+32>>2]=0;v[E+36>>2]=0;v[E+40>>2]=0;v[E+44>>2]=0;v[E+48>>2]=0;v[E+52>>2]=0;c=f+B(d,c+1|0)|0;v[E+28>>2]=b>>>0>>0?b:c;Da:{if(!v[a+188>>2]){break Da}j=0;while(1){A=v[E+60>>2]+B(C,88)|0;c=v[A+20>>2];if(c>>>0>j>>>0){v[E+32>>2]=c}c=v[A+8>>2];f=c-1|0;d=(f+v[E+16>>2]>>>0)/(c>>>0)|0;v[A+52>>2]=d;b=v[A+12>>2];e=b-1|0;h=(e+v[E+20>>2]>>>0)/(b>>>0)|0;v[A+56>>2]=h;i=(f+v[E+24>>2]>>>0)/(c>>>0)|0;v[A+60>>2]=i;c=(e+v[E+28>>2]>>>0)/(b>>>0)|0;v[A+64>>2]=c;f=c;c=v[a+28>>2];b=-1<>>c)-(b+h>>>c)|0;v[A+72>>2]=f;c=(b+i>>>c)-(b+d>>>c)|0;v[A+68>>2]=c;if(!(f?c:0)){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,257634,0);f=0;break O}aa=A,ba=Pb(B(c,f),4),v[aa+76>>2]=ba;c=v[A+60>>2]-v[A+52>>2]|0;$=A- -64|0;b=v[$>>2]-v[A+56>>2]|0;aa=A,ba=Pb((b>>>0>>0?c:b)+8|0,4),v[aa+80>>2]=ba;i=v[A+20>>2];p=0;while(1){b=v[A+84>>2];k=b+B(p,100)|0;c=i-p|0;h=-1<>2]>>>c|0;v[k+12>>2]=d;f=h+v[A+56>>2]>>>c|0;v[k+16>>2]=f;e=h+v[A+60>>2]>>>c|0;v[k+20>>2]=e;h=h+v[$>>2]>>>c|0;v[k+24>>2]=h;c=v[A+24>>2];i=v[k>>2];j=i-((p|0)!=0)|0;c=c>>>0>>0?c:j;v[k+76>>2]=c;v[k+84>>2]=1<>2];c=l;if(p){j=v[k+4>>2]-1|0}else{j=v[b+4>>2]}c=j>>>0>l>>>0?c:j;v[r+80>>2]=c;v[k+88>>2]=1<>2]=h;v[b+52>>2]=e;v[b+40>>2]=f;v[b+28>>2]=d;N=1;I=1;break Ea}o=h+1>>>1|0;v[k+64>>2]=o;c=e>>>1|0;v[k+52>>2]=c;q=f+1>>>1|0;v[k+40>>2]=q;b=d>>>1|0;v[k+28>>2]=b;j=h>>>1|0;v[k+68>>2]=j;F=e+1>>>1|0;v[k+56>>2]=F;n=f>>>1|0;v[k+44>>2]=n;H=d+1>>>1|0;v[k+32>>2]=H;v[k+72>>2]=j;v[k+60>>2]=c;v[k+48>>2]=n;v[k+36>>2]=b;I=3;N=0;if(!l){l=0;break Ea}c=(b|0)==(c|0);if(!(c|(o|0)==(q|0))){l=0;break Ea}b=(j|0)==(n|0);l=(b|(F|0)==(H|0))&(b|c)}v[k+92>>2]=l;c=v[k+4>>2];P=h+(-1<>>c|0;f=f>>>c|0;Q=e+(-1<>>i|0;n=d>>>i|0;c=B(P-f|0,Q-n|0);v[k+8>>2]=c;c=Pb(c,4);v[k+96>>2]=c;b=v[k+8>>2];if(b){eb(c,0,b<<2)}if(!(f>>>0>=P>>>0|n>>>0>=Q>>>0)){V=k- -64|0;z=v[k+96>>2];while(1){h=f+1|0;c=n;while(1){e=Pb(I,24);v[z>>2]=e;v[e+20>>2]=0;v[e+12>>2]=0;v[e+16>>2]=0;if(!N){v[e+68>>2]=0;v[e+60>>2]=0;v[e+64>>2]=0;v[e+44>>2]=0;v[e+36>>2]=0;v[e+40>>2]=0}o=c+1|0;m=0;while(1){i=v[k>>2];G=k+(m<<2)|0;j=v[G- -64>>2];r=j;b=h;Fa:{if(p){i=i-1|0;d=v[k+4>>2]-1|0;break Fa}d=v[k+4>>2]}b=b<>>0>j>>>0?r:b;b=v[G+40>>2];d=f<>>0>d>>>0?b:d;b=v[G+52>>2];d=o<>>0>>0?b:d;b=v[G+28>>2];d=c<>>0>d>>>0?b:d;Ga:{if(p){Ha:{switch(m|0){case 1:H=v[A+76>>2]+(B(v[A+68>>2],v[V>>2]-v[k+40>>2]|0)<<2)|0;break Ga;case 0:H=(v[A+76>>2]+(v[k+56>>2]<<2)|0)-(v[k+32>>2]<<2)|0;break Ga;default:break Ha}}H=(v[A+76>>2]+(B(v[A+68>>2],v[V>>2]-v[k+40>>2]|0)<<2)|0)+(v[k+56>>2]-v[k+32>>2]<<2)|0;break Ga}H=v[A+76>>2]}b=v[k+76>>2];i=v[k+80>>2];d=B(m,24)+e|0;v[d+8>>2]=0;S=(J+(1<>>i|0;r=K>>>i|0;e=S-r|0;v[d+4>>2]=e;W=(M+(1<>>b|0;F=O>>>b|0;q=W-F|0;v[d>>2]=q;i=0;j=(e>>>0>>0?q:e)-1|0;Ia:{if(j){while(1){i=i+1|0;b=j>>>0>1;j=j>>>1|0;if(b){continue}break}v[d+8>>2]=i;b=0;if((i|0)<0){break Ia}}b=i+1|0;j=b&1;Ja:{if(!i){b=0;break Ja}l=b&-2;b=0;while(1){X=b;b=-1<>>i|0,b+e>>>i|0)|0;b=i-1|0;L=-1<>>b|0,e+L>>>b|0)|0;i=i-2|0;l=l-2|0;if(l){continue}break}}if(!j){break Ia}j=b;b=-1<>>i|0,b+e>>>i|0)|0}aa=d,ba=Pb(b,8),v[aa+12>>2]=ba;e=Pb(b,8);v[d+16>>2]=e;Ka:{if(!b){break Ka}q=b&1;j=v[d+12>>2];i=0;if((b|0)!=1){b=b&-2;while(1){l=i<<3;L=l+j|0;v[L>>2]=0;v[L+4>>2]=0;L=e+l|0;v[L>>2]=0;v[L+4>>2]=0;l=l|8;L=l+j|0;v[L>>2]=0;v[L+4>>2]=0;l=e+l|0;v[l>>2]=0;v[l+4>>2]=0;i=i+2|0;b=b-2|0;if(b){continue}break}}if(!q){break Ka}b=i<<3;i=b+j|0;v[i>>2]=0;v[i+4>>2]=0;b=b+e|0;v[b>>2]=0;v[b+4>>2]=0}j=Pb(B(v[d+4>>2],v[d>>2]),68);v[d+20>>2]=j;b=B(v[d+4>>2],v[d>>2]);La:{if(!b){break La}i=0;if((b|0)!=1){e=b&-2;while(1){d=B(i,68)+j|0;v[d+60>>2]=0;v[d+64>>2]=0;v[d+52>>2]=0;v[d+40>>2]=0;d=B(i|1,68)+j|0;v[d+52>>2]=0;v[d+60>>2]=0;v[d+64>>2]=0;v[d+40>>2]=0;i=i+2|0;e=e-2|0;if(e){continue}break}}if(!(b&1)){break La}b=B(i,68)+j|0;v[b+60>>2]=0;v[b+64>>2]=0;v[b+52>>2]=0;v[b+40>>2]=0}if(!(r>>>0>=S>>>0|F>>>0>=W>>>0)){while(1){d=F;while(1){b=d<>2];v[j>>2]=b;e=b+v[k+84>>2]|0;v[j+8>>2]=e;if(b>>>0>>0){v[j>>2]=O}if(e>>>0>M>>>0){v[j+8>>2]=M}b=r<>2];v[j+4>>2]=b;e=b+v[k+88>>2]|0;v[j+12>>2]=e;if(b>>>0>>0){v[j+4>>2]=K}if(e>>>0>J>>>0){v[j+12>>2]=J}v[j+44>>2]=1;v[j+24>>2]=2;v[j+28>>2]=0;v[j+16>>2]=0;v[j+20>>2]=3;aa=j,ba=si(4),v[aa+40>>2]=ba;Ma:{if(v[A+20>>2]-v[a+28>>2]>>>0>=p>>>0){v[j+48>>2]=((B(v[A+68>>2],v[j+4>>2]-v[G+40>>2]|0)<<2)+H|0)+(v[j>>2]-v[G+28>>2]<<2);L=si(1<>2]+v[k+76>>2]);u[j+56>>1]=0;v[j+52>>2]=L;i=v[j+4>>2];l=v[j+12>>2];if((i|0)!=(l|0)){b=v[j>>2];e=v[j+8>>2];q=0;while(1){X=(b|0)==(e|0);e=b;if(!X){l=v[j+48>>2];i=0;while(1){v[l+(B(v[A+68>>2],q)+i<<2)>>2]=0;i=i+1|0;e=v[j+8>>2];b=v[j>>2];if(i>>>0>>0){continue}break}l=v[j+12>>2];i=v[j+4>>2]}q=q+1|0;if(q>>>0>>0){continue}break}}eb(L,0,1<>2]+v[k+76>>2]);break Ma}u[j+56>>1]=0;v[j+48>>2]=0;v[j+52>>2]=0}j=j+68|0;d=d+1|0;if((W|0)!=(d|0)){continue}break}r=r+1|0;if((S|0)!=(r|0)){continue}break}}m=m+1|0;if((m|0)!=(I|0)){e=v[z>>2];continue}break}z=z+4|0;c=o;if((Q|0)!=(c|0)){continue}break}f=h;if((P|0)!=(f|0)){continue}break}}i=v[A+20>>2];p=p+1|0;if(i>>>0>=p>>>0){continue}break}C=C+1|0;if(C>>>0>=y[a+188>>2]){break Da}j=v[E+32>>2];continue}}v[E>>2]=1}e=g;J=Ma-16|0;Ma=J;G=v[a+200>>2]+(s<<6)|0;Na:{if(!v[G+52>>2]){f=1;if(!(e|_)){break Na}F=G+48|0;H=G+44|0;A=G+36|0;n=G+40|0;b=v[n>>2];c=b;d=c;g=c;while(1){s=v[G+60>>2]+B(v[A>>2],88)|0;M=v[s+84>>2]+B(g,100)|0;if(!v[M+92>>2]){b=v[M+96>>2];f=v[H>>2];v[a+208>>2]=0;v[a+212>>2]=0;v[a+216>>2]=e;Oa:{Pa:{Qa:{Ra:{Sa:{Ta:{Ua:{if(!(w[s+16|0]&2)|e>>>0<6){break Ua}c=v[v[a+8>>2]+8>>2];if(v[c>>2]!=255|v[c+4>>2]!=145){break Ua}c=v[a+8>>2];Qa[v[v[c>>2]+48>>2]](c,6)|0;v[a+208>>2]=0;v[a+212>>2]=0;e=v[a+216>>2]-6|0;v[a+216>>2]=e;break Ta}g=v[a+208>>2];if((g|0)>0){break Sa}e=v[a+216>>2]}while(1){if(!e){break Qa}c=v[a+8>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;if((c|0)==-1){break Qa}e=v[a+216>>2]-1|0;v[a+216>>2]=e;g=v[a+212>>2];h=g?7:8;d=v[a+204>>2]<>2]=d;g=h+v[a+208>>2]|0;v[a+208>>2]=g;v[a+212>>2]=(c|0)==255;if((g|0)<1){continue}break}break Ra}d=v[a+204>>2]}V=b+(f<<2)|0;c=g-1|0;b=d>>>c&1;v[J+12>>2]=b;v[a+208>>2]=c;if(!b){break Pa}N=0;Va:{while(1){Wa:{l=v[V>>2]+B(N,24)|0;d=v[l+4>>2];Xa:{if(!d){break Xa}c=v[l>>2];if(!c){break Xa}f=0;b=c;while(1){g=0;if(b){while(1){j=v[l+20>>2]+B(B(b,f)+g|0,68)|0;Ya:{if(!(y[j>>2]>2]&y[j+4>>2]>2])){v[j+32>>2]=0;break Ya}Za:{if(v[j+16>>2]){d=v[a+208>>2];_a:{if((d|0)>=1){k=v[a+204>>2];break _a}e=v[a+216>>2];while(1){if(!e){break Qa}c=v[a+8>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;if((c|0)==-1){break Qa}e=v[a+216>>2]-1|0;v[a+216>>2]=e;b=v[a+212>>2];d=b?7:8;k=v[a+204>>2]<>2]=k;d=d+v[a+208>>2]|0;v[a+208>>2]=d;v[a+212>>2]=(c|0)==255;if((d|0)<1){continue}break}}c=k>>>d-1&1;v[j+32>>2]=c;v[a+208>>2]=v[a+208>>2]-1;break Za}$a:{d=v[l+8>>2];if((d|0)<0){break $a}C=v[l+12>>2];o=0;k=0;while(1){p=-1<>>d|0;c=((g>>>d|0)+o|0)+B(q,f>>>d|0)<<3;b=c+C|0;e=v[b+4>>2];E=v[l+4>>2];ab:{bb:{cb:{if(v[b>>2]){break cb}if(!e){v[b+4>>2]=k;e=k}i=v[J+12>>2];db:{if(y[F>>2]>>0){break db}while(1){C=v[a+208>>2];eb:{if((C|0)>=1){b=v[a+204>>2];break eb}k=v[a+216>>2];while(1){if(!k){break bb}b=v[a+8>>2];h=Qa[v[v[b>>2]+28>>2]](b)|0;if((h|0)==-1){break bb}k=v[a+216>>2]-1|0;v[a+216>>2]=k;b=v[a+212>>2];m=b?7:8;b=v[a+204>>2]<>2]=b;C=m+v[a+208>>2]|0;v[a+208>>2]=C;v[a+212>>2]=(h|0)==255;if((C|0)<1){continue}break}}h=C-1|0;v[a+208>>2]=h;i=b>>>h&1;if(i){v[J+12>>2]=i;C=v[l+12>>2];v[c+C>>2]=1;break cb}e=e+1|0;C=v[l+12>>2];if(v[c+C>>2]){break db}if(y[F>>2]>=e>>>0){continue}break}}v[J+12>>2]=i}v[(c+C|0)+4>>2]=e;if(y[F>>2]>>0){break $a}if((d|0)>=1){break ab}d=-1;break $a}v[J+12>>2]=i;break Qa}c=p+E>>>d|0;d=d-1|0;o=B(c,q)+o|0;c=v[l>>2];k=e;continue}}c=d>>>31|0;v[j+32>>2]=c}if(!c){break Ya}if(!v[j+16>>2]){e=0;d=v[l+8>>2];if((d|0)>=0){c=v[l+16>>2];o=0;while(1){h=d;q=-1<>2]>>>d|0;p=((g>>>d|0)+o|0)+B(E,f>>>d|0)<<3;d=p+c|0;b=v[d+4>>2];m=v[l+4>>2];fb:{if(v[d>>2]){break fb}if(!b){v[d+4>>2]=e;b=e}d=v[a+208>>2];i=v[J+12>>2];while(1){gb:{if((d|0)>=1){k=v[a+204>>2];break gb}e=v[a+216>>2];while(1){if(!e){break Wa}c=v[a+8>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;if((c|0)==-1){break Wa}e=v[a+216>>2]-1|0;v[a+216>>2]=e;d=v[a+212>>2];r=d?7:8;k=v[a+204>>2]<>2]=k;d=r+v[a+208>>2]|0;v[a+208>>2]=d;v[a+212>>2]=(c|0)==255;if((d|0)<1){continue}break}}d=d-1|0;v[a+208>>2]=d;i=k>>>d&1;if(i){v[J+12>>2]=i;c=v[l+16>>2];v[p+c>>2]=1;break fb}b=b+1|0;c=v[l+16>>2];if(!v[p+c>>2]){continue}break}v[J+12>>2]=i}e=b;v[(c+p|0)+4>>2]=b;d=h-1|0;o=B(E,m+q>>>h|0)+o|0;if((h|0)>0){continue}break}}v[j+28>>2]=e}d=v[a+208>>2];hb:{if((d|0)>=1){e=v[a+204>>2];break hb}C=v[a+216>>2];while(1){if(!C){break Qa}c=v[a+8>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;if((c|0)==-1){break Qa}C=v[a+216>>2]-1|0;v[a+216>>2]=C;b=v[a+212>>2];d=b?7:8;e=v[a+204>>2]<>2]=e;d=d+v[a+208>>2]|0;v[a+208>>2]=d;v[a+212>>2]=(c|0)==255;if((d|0)<1){continue}break}}c=d-1|0;v[a+208>>2]=c;ib:{if(!(e>>>c&1)){v[j+36>>2]=1;break ib}if((d|0)<=1){C=v[a+216>>2];while(1){if(!C){break Qa}c=v[a+8>>2];b=Qa[v[v[c>>2]+28>>2]](c)|0;if((b|0)==-1){break Qa}C=v[a+216>>2]-1|0;v[a+216>>2]=C;c=v[a+212>>2];d=c?7:8;e=v[a+204>>2]<>2]=e;c=d+v[a+208>>2]|0;v[a+208>>2]=c;v[a+212>>2]=(b|0)==255;if((c|0)<1){continue}break}}d=c-1|0;v[a+208>>2]=d;if(!(e>>>d&1)){v[j+36>>2]=2;c=d;break ib}if((c|0)<=2){C=v[a+216>>2];while(1){if(!C){break Qa}c=v[a+8>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;if((c|0)==-1){break Qa}C=v[a+216>>2]-1|0;v[a+216>>2]=C;b=v[a+212>>2];d=b?7:8;e=v[a+204>>2]<>2]=e;d=d+v[a+208>>2]|0;v[a+208>>2]=d;v[a+212>>2]=(c|0)==255;if((d|0)<2){continue}break}}c=d-2|0;v[a+208>>2]=c;b=e>>>c&3;if((b|0)!=3){v[j+36>>2]=b+3;break ib}if((d|0)<=6){C=v[a+216>>2];while(1){if(!C){break Qa}c=v[a+8>>2];b=Qa[v[v[c>>2]+28>>2]](c)|0;if((b|0)==-1){break Qa}C=v[a+216>>2]-1|0;v[a+216>>2]=C;c=v[a+212>>2];d=c?7:8;e=v[a+204>>2]<>2]=e;c=d+v[a+208>>2]|0;v[a+208>>2]=c;v[a+212>>2]=(b|0)==255;if((c|0)<5){continue}break}}c=c-5|0;b=e>>>c&31;v[J+12>>2]=b;v[a+208>>2]=c;if((b|0)!=31){v[j+36>>2]=b+6;break ib}b=v[a+208>>2];jb:{kb:{if((b|0)>=7){e=v[a+204>>2];break kb}c=v[a+216>>2];while(1){b=0;if(!c){break jb}c=v[a+8>>2];d=Qa[v[v[c>>2]+28>>2]](c)|0;if((d|0)==-1){break jb}e=v[a+212>>2];v[a+212>>2]=(d|0)==255;c=v[a+216>>2]-1|0;v[a+216>>2]=c;h=e?7:8;b=h+v[a+208>>2]|0;v[a+208>>2]=b;e=d&(e?127:255)|v[a+204>>2]<>2]=e;if((b|0)<7){continue}break}}v[J+12>>2]=e>>>b-7&127;v[a+208>>2]=v[a+208>>2]-7;b=1}if(!b){break Qa}v[j+36>>2]=v[J+12>>2]+37;c=v[a+208>>2]}b=v[J+12>>2];while(1){lb:{if((c|0)>=1){k=v[a+204>>2];break lb}e=v[a+216>>2];while(1){if(!e){break Va}c=v[a+8>>2];d=Qa[v[v[c>>2]+28>>2]](c)|0;if((d|0)==-1){break Va}e=v[a+216>>2]-1|0;v[a+216>>2]=e;c=v[a+212>>2];h=c?7:8;k=v[a+204>>2]<>2]=k;c=h+v[a+208>>2]|0;v[a+208>>2]=c;v[a+212>>2]=(d|0)==255;if((c|0)<1){continue}break}}d=c-1|0;v[a+208>>2]=d;b=k>>>d&1;if(b){v[j+20>>2]=v[j+20>>2]+1;c=d;continue}break}v[J+12>>2]=b;if(w[s+32|0]&4){c=v[j+36>>2];if(c>>>0>y[j+44>>2]){v[j+44>>2]=c;aa=j,ba=yc(v[j+40>>2],c,4),v[aa+40>>2]=ba;c=v[j+36>>2]}if(!c){break Ya}c=v[a+208>>2];b=0;while(1){i=v[j+40>>2];e=v[j+20>>2];mb:{if((e|0)<=(c|0)){k=v[a+204>>2];break mb}d=v[a+216>>2];while(1){if(!d){break Qa}c=v[a+8>>2];h=Qa[v[v[c>>2]+28>>2]](c)|0;if((h|0)==-1){break Qa}d=v[a+216>>2]-1|0;v[a+216>>2]=d;c=v[a+212>>2];p=c?7:8;k=v[a+204>>2]<>2]=k;c=p+v[a+208>>2]|0;v[a+208>>2]=c;v[a+212>>2]=(h|0)==255;if((c|0)<(e|0)){continue}break}}v[i+(b<<2)>>2]=(-1<>>c-e;c=v[a+208>>2]-e|0;v[a+208>>2]=c;b=b+1|0;if(b>>>0>2]){continue}break}break Ya}C=v[j+20>>2];e=v[j+36>>2];if(e>>>0>=2){while(1){C=C+1|0;b=e>>>0>3;e=e>>>1|0;if(b){continue}break}}e=v[j+40>>2];if((c|0)<=(C|0)){c=v[a+216>>2];while(1){if(!c){break Qa}c=v[a+8>>2];b=Qa[v[v[c>>2]+28>>2]](c)|0;if((b|0)==-1){break Qa}c=v[a+216>>2]-1|0;v[a+216>>2]=c;d=v[a+212>>2];h=d?7:8;k=v[a+204>>2]<>2]=k;d=h+v[a+208>>2]|0;v[a+208>>2]=d;v[a+212>>2]=(b|0)==255;if((d|0)<(C|0)){continue}break}}v[e>>2]=(-1<>>d-C;v[a+208>>2]=v[a+208>>2]-C}c=v[l>>2];b=c;g=g+1|0;if(g>>>0>>0){continue}break}d=v[l+4>>2];b=c}else{b=0}f=f+1|0;if(f>>>0>>0){continue}break}}N=N+1|0;if(N>>>0<(v[n>>2]?3:1)>>>0){continue}break Oa}break}v[J+12>>2]=i;break Qa}v[J+12>>2]=b}f=0;fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,257577,0);break Na}j=v[n>>2];e=v[V>>2];l=v[e+4>>2];nb:{if(!l){break nb}k=v[e>>2];if(!k){break nb}g=k&-4;f=k&3;p=k-1|0;h=v[e+20>>2];d=0;while(1){i=B(d,k);b=0;c=g;if(p>>>0>=3){while(1){v[(h+B(b+i|0,68)|0)+32>>2]=0;v[(h+B(i+(b|1)|0,68)|0)+32>>2]=0;v[(h+B(i+(b|2)|0,68)|0)+32>>2]=0;v[(h+B(i+(b|3)|0,68)|0)+32>>2]=0;b=b+4|0;c=c-4|0;if(c){continue}break}}c=f;if(c){while(1){v[(h+B(b+i|0,68)|0)+32>>2]=0;b=b+1|0;c=c-1|0;if(c){continue}break}}d=d+1|0;if((l|0)!=(d|0)){continue}break}}if(!j){break Oa}j=v[e+28>>2];ob:{if(!j){break ob}k=v[e+24>>2];if(!k){break ob}g=k&-4;f=k&3;l=k-1|0;h=v[e+44>>2];d=0;while(1){i=B(d,k);b=0;c=g;if(l>>>0>=3){while(1){v[(h+B(b+i|0,68)|0)+32>>2]=0;v[(h+B(i+(b|1)|0,68)|0)+32>>2]=0;v[(h+B(i+(b|2)|0,68)|0)+32>>2]=0;v[(h+B(i+(b|3)|0,68)|0)+32>>2]=0;b=b+4|0;c=c-4|0;if(c){continue}break}}c=f;if(c){while(1){v[(h+B(b+i|0,68)|0)+32>>2]=0;b=b+1|0;c=c-1|0;if(c){continue}break}}d=d+1|0;if((j|0)!=(d|0)){continue}break}}k=v[e+52>>2];if(!k){break Oa}i=v[e+48>>2];if(!i){break Oa}g=i&-4;f=i&3;j=i-1|0;e=v[e+68>>2];d=0;while(1){h=B(d,i);b=0;c=g;if(j>>>0>=3){while(1){v[(e+B(b+h|0,68)|0)+32>>2]=0;v[(e+B(h+(b|1)|0,68)|0)+32>>2]=0;v[(e+B(h+(b|2)|0,68)|0)+32>>2]=0;v[(e+B(h+(b|3)|0,68)|0)+32>>2]=0;b=b+4|0;c=c-4|0;if(c){continue}break}}c=f;if(c){while(1){v[(e+B(b+h|0,68)|0)+32>>2]=0;b=b+1|0;c=c-1|0;if(c){continue}break}}d=d+1|0;if((k|0)!=(d|0)){continue}break}}d=a;pb:{qb:{rb:{sb:{if(!(w[s+16|0]&4)){break sb}b=v[a+212>>2];g=b?3:2;if(g>>>0>y[a+216>>2]){break rb}c=v[v[a+8>>2]+8>>2];if(v[c+(((b|0)!=0)<<2)>>2]!=255|v[((b?2:1)<<2)+c>>2]!=146){break sb}b=v[a+8>>2];Qa[v[v[b>>2]+48>>2]](b,g)|0;v[a+208>>2]=0;v[a+212>>2]=0;e=v[a+216>>2]-g|0;break qb}b=v[a+212>>2]}if(!b){e=v[a+216>>2];break pb}b=v[a+8>>2];Qa[v[v[b>>2]+28>>2]](b)|0;e=v[a+216>>2]-1|0}v[d+216>>2]=e}N=0;while(1){P=v[V>>2]+B(N,24)|0;d=v[P+4>>2];tb:{if(!d){break tb}b=v[P>>2];if(!b){break tb}k=0;g=b;while(1){C=0;if(g){while(1){m=v[P+20>>2]+B(B(g,k)+C|0,68)|0;if(v[m+32>>2]){Q=0;ub:{vb:{wb:{i=v[n>>2];if(i>>>0>v[s+20>>2]-v[a+28>>2]>>>0){if(!(w[s+32|0]&4)){break wb}c=v[m+36>>2];if(!c){z=0;break vb}b=c&3;f=v[m+40>>2];xb:{if(c-1>>>0<3){c=0;z=0;break xb}g=c&-4;c=0;z=0;while(1){d=c<<2;z=v[f+(d|12)>>2]+(v[f+(d|8)>>2]+(v[f+(d|4)>>2]+(v[d+f>>2]+z|0)|0)|0)|0;c=c+4|0;g=g-4|0;if(g){continue}break}}if(!b){break vb}while(1){z=v[f+(c<<2)>>2]+z|0;c=c+1|0;b=b-1|0;if(b){continue}break}break vb}c=v[m+60>>2];yb:{if(c){b=v[v[m+40>>2]>>2];f=0;g=0;d=v[c+32>>2];if((d|0)>=0){v[c+32>>2]=b;break yb}if((d|0)==-1){v[c+32>>2]=b;zb:{if(!v[c+36>>2]){break zb}g=v[c+40>>2];if((g|0)>=0){v[c+40>>2]=-1;v[c+4>>2]=g;break yb}v[c+32>>2]=b-1;if((b|0)>=1){break zb}v[c+4>>2]=255;break yb}v[c+28>>2]=v[c+28>>2]+1;b=c;c=v[c+24>>2];aa=b,ba=Qa[v[v[c>>2]+28>>2]](c)&255,v[aa+4>>2]=ba;break yb}v[c+32>>2]=b;d=((d^-1)<<3)-v[c+16>>2]|0;Ab:{if((d|0)<1){break Ab}while(1){Bb:{Cb:{if(!v[c+36>>2]){break Cb}b=v[c+40>>2];if((b|0)>=0){v[c+40>>2]=-1;break Bb}b=v[c+32>>2];v[c+32>>2]=b-1;if((b|0)>=1){break Cb}b=255;break Bb}v[c+28>>2]=v[c+28>>2]+1;b=v[c+24>>2];b=Qa[v[v[b>>2]+28>>2]](b)&255}v[c>>2]=b;f=(g?65024-(b<<9)|0:65280-(b<<8)|0)+f|0;h=g?7:8;if((h|0)>=(d|0)){v[c+16>>2]=h-d;f=f<0){continue}break}}v[c+8>>2]=v[c+8>>2]+f;Db:{if(!v[c+36>>2]){break Db}b=v[c+40>>2];if((b|0)>=0){v[c+40>>2]=-1;v[c+4>>2]=b;break yb}b=v[c+32>>2];v[c+32>>2]=b-1;if((b|0)>=1){break Db}v[c+4>>2]=255;break yb}v[c+28>>2]=v[c+28>>2]+1;b=c;c=v[c+24>>2];aa=b,ba=Qa[v[v[c>>2]+28>>2]](c)&255,v[aa+4>>2]=ba;break yb}c=ab(44);v[c+24>>2]=0;v[c+28>>2]=0;v[c+40>>2]=-1;v[c+32>>2]=0;v[c+36>>2]=0;v[m+60>>2]=c;b=v[a+8>>2];g=v[v[m+40>>2]>>2];v[c+36>>2]=1;v[c+32>>2]=g;v[c+24>>2]=b;km(c);c=ab(8);b=Sg(c,19);v[m+64>>2]=c;t[v[b>>2]]=8;t[v[v[m+64>>2]>>2]+17|0]=6;t[v[v[m+64>>2]>>2]+18|0]=92}if(v[m+36>>2]){W=i?N:1;while(1){if(!(!(w[s+32|0]&4)|!Q)){b=v[v[m+40>>2]+(Q<<2)>>2];g=v[a+8>>2];c=v[m+60>>2];v[c+36>>2]=1;v[c+32>>2]=b;v[c+24>>2]=g;km(c)}Eb:{Fb:{Gb:{switch(v[m+24>>2]){case 0:z=v[m+12>>2];K=v[m+4>>2];if(z>>>0>K>>>0){d=v[m+8>>2];f=v[m+48>>2];j=v[m+52>>2];while(1){i=j;c=f;p=v[m>>2];if(p>>>0>>0){while(1){z=0;b=i;d=c;while(1){q=z+K|0;E=v[m+12>>2];if(q>>>0>>0){Hb:{if(v[d>>2]){break Hb}Ib:{if(y[m>>2]>=p>>>0){l=2;I=0;g=0;break Ib}r=0;g=v[d-4>>2];l=g?(g|0)>-1?3:1:2;I=(g|0)!=0;r=q>>>0>y[m+4>>2]?v[((v[s+68>>2]^-1)<<2)+d>>2]!=0:r;g=r;if(q>>>0>=E-1>>>0|(z>>>0>2?w[s+32|0]&8:0)){break Ib}g=(v[((v[s+68>>2]<<2)+d|0)-4>>2]!=0)+r|0}r=g;Jb:{if(v[m+8>>2]-1>>>0<=p>>>0){o=v[m+4>>2];break Jb}g=v[d+4>>2];h=(g|0)!=0;o=v[m+4>>2];r=q>>>0>o>>>0?(v[(1-v[s+68>>2]<<2)+d>>2]!=0)+r|0:r;I=h+I|0;l=(g?(g|0)>-1?1:-1:0)+l|0;if(q>>>0>=E-1>>>0|(z>>>0>2?w[s+32|0]&8:0)){break Jb}r=(v[((v[s+68>>2]<<2)+d|0)+4>>2]!=0)+r|0}g=0;h=2;Kb:{if(o>>>0>=q>>>0){break Kb}o=v[d-(v[s+68>>2]<<2)>>2];h=2;if(!o){break Kb}g=1;h=(o|0)>-1?3:1}Lb:{if(q>>>0>=E-1>>>0|(z>>>0>2?w[s+32|0]&8:0)){break Lb}o=v[(v[s+68>>2]<<2)+d>>2];if(!o){break Lb}g=g+1|0;h=((o|0)>-1?1:-1)+h|0}g=v[(((B(I,180)+B(g,60)|0)+B(r,12)|0)+(W<<2)|0)+927760>>2];if(!g){break Hb}if(Tc(v[m+60>>2],g,v[m+64>>2])){g=B(l,40)+(h<<3)|0;aa=d,ba=(Tc(v[m+60>>2],v[g+928304>>2],v[m+64>>2])|0)==v[g+928308>>2]?1:-1,v[aa>>2]=ba}t[b|0]=1}b=v[M+84>>2]+b|0;d=(v[s+68>>2]<<2)+d|0;z=z+1|0;if((z|0)!=4){continue}}break}i=i+1|0;c=c+4|0;d=v[m+8>>2];p=p+1|0;if(d>>>0>p>>>0){continue}break}z=v[m+12>>2]}j=(4<>2])+j|0;f=(v[s+68>>2]<<4)+f|0;K=K+4|0;if(K>>>0>>0){continue}break}c=v[m+24>>2]}else{c=0}d=c+1|0;break Fb;case 1:b=1;z=v[m+12>>2];I=v[m+4>>2];Mb:{if(z>>>0<=I>>>0){break Mb}d=v[m+8>>2];g=v[m>>2];if(d>>>0<=g>>>0){break Mb}p=v[m+52>>2];o=v[m+48>>2];while(1){h=p;l=o;if(d>>>0>g>>>0){while(1){z=0;b=h;d=l;while(1){c=z+I|0;f=v[m+12>>2];if(c>>>0>>0){i=v[d>>2];if(!(w[b|0]|!i)){K=16;Nb:{switch(i+1|0){case 0:case 2:i=0;Ob:{if(y[m>>2]>=g>>>0){break Ob}r=v[d-4>>2]!=0;r=c>>>0>y[m+4>>2]?(v[((v[s+68>>2]^-1)<<2)+d>>2]!=0)+r|0:r;i=r;if(c>>>0>=f-1>>>0|(z>>>0>2?w[s+32|0]&8:0)){break Ob}i=(v[((v[s+68>>2]<<2)+d|0)-4>>2]!=0)+r|0}r=i;Pb:{if(v[m+8>>2]-1>>>0<=g>>>0){K=v[m+4>>2];break Pb}r=(v[d+4>>2]!=0)+r|0;K=v[m+4>>2];r=c>>>0>K>>>0?(v[(1-v[s+68>>2]<<2)+d>>2]!=0)+r|0:r;if(c>>>0>=f-1>>>0|(z>>>0>2?w[s+32|0]&8:0)){break Pb}r=(v[((v[s+68>>2]<<2)+d|0)+4>>2]!=0)+r|0}r=c>>>0>K>>>0?(v[d-(v[s+68>>2]<<2)>>2]!=0)+r|0:r;K=(c>>>0>=f-1>>>0|(z>>>0>2?w[s+32|0]&8:0)?r:(v[(v[s+68>>2]<<2)+d>>2]!=0)+r|0)?15:14;break;default:break Nb}}c=Tc(v[m+60>>2],K,v[m+64>>2]);i=0-c|0;f=c;c=v[d>>2];v[d>>2]=((c|0)<0?i:f)+(c<<1);t[b|0]=1}b=v[M+84>>2]+b|0;d=(v[s+68>>2]<<2)+d|0;z=z+1|0;if((z|0)!=4){continue}}break}h=h+1|0;l=l+4|0;d=v[m+8>>2];g=g+1|0;if(d>>>0>g>>>0){continue}break}z=v[m+12>>2]}I=I+4|0;if(I>>>0>>0){o=(v[s+68>>2]<<4)+o|0;p=(4<>2])+p|0;g=v[m>>2];continue}break}b=v[m+24>>2]}d=b+1|0;break Fb;case 2:break Gb;default:break Eb}}d=v[m+12>>2];g=v[m+4>>2];if(d>>>0>g>>>0){z=v[m+8>>2];j=v[m+48>>2];q=v[m+52>>2];while(1){E=g+4|0;o=v[m>>2];Qb:{if(z>>>0>o>>>0){L=g+3|0;c=q;f=j;while(1){Rb:{Sb:{Tb:{Ub:{if(w[c|0]|d>>>0<=L>>>0){break Ub}b=v[M+84>>2];if(w[b+c|0]|w[(b<<1)+c|0]|w[B(b,3)+c|0]){break Ub}h=v[m+4>>2];i=v[m>>2]==(o|0);Vb:{if(i){b=h;break Vb}b=g;if((h|0)==(b|0)){break Vb}b=h;if(v[((v[s+68>>2]^-1)<<2)+f>>2]){break Ub}}Wb:{if((b|0)!=(g|0)){h=v[s+68>>2];if(v[f-(h<<2)>>2]){break Ub}b=1;if((z-1|0)==(o|0)){break Wb}if(v[(1-h<<2)+f>>2]){break Ub}b=0;break Wb}b=(z-1|0)==(o|0)}if(!i){if(v[f-4>>2]){break Ub}h=v[s+68>>2];if(v[((h<<2)+f|0)-4>>2]|v[((h<<3)+f|0)-4>>2]|v[(B(h,12)+f|0)-4>>2]){break Ub}}if(!b){if(v[f+4>>2]){break Ub}h=v[s+68>>2];if(v[((h<<2)+f|0)+4>>2]|v[((h<<3)+f|0)+4>>2]|v[(B(h,12)+f|0)+4>>2]){break Ub}}Xb:{if(w[s+32|0]&8){break Xb}if(!(v[((v[s+68>>2]<<4)+f|0)-4>>2]?(d|0)==(E|0)|i:1)){break Ub}if((d|0)==(E|0)){break Xb}d=v[s+68>>2];if(v[(d<<4)+f>>2]){break Ub}if(b){break Xb}if(v[(d<<4|4)+f>>2]){break Ub}}if(Tc(v[m+60>>2],17,v[m+64>>2])){break Tb}r=v[s+68>>2];break Rb}r=v[s+68>>2];z=0;break Sb}b=Tc(v[m+60>>2],18,v[m+64>>2]);b=Tc(v[m+60>>2],18,v[m+64>>2])|b<<1;aa=(B(b,v[s+68>>2])<<2)+f|0,ba=Tc(v[m+60>>2],9,v[m+64>>2])?-1:1,v[aa>>2]=ba;r=v[s+68>>2];z=b+1|0;if(z>>>0>3){break Rb}}b=(B(z,r)<<2)+f|0;d=(z<>2])+c|0;while(1){O=g+z|0;S=v[m+12>>2];if(O>>>0>=S>>>0){break Rb}Yb:{if(!w[d|0]){Zb:{if(y[m>>2]>=o>>>0){p=2;K=0;h=0;break Zb}I=0;h=v[b-4>>2];p=h?(h|0)>-1?3:1:2;K=(h|0)!=0;I=O>>>0>y[m+4>>2]?v[((r^-1)<<2)+b>>2]!=0:I;h=I;if(O>>>0>=S-1>>>0|(z>>>0>2?w[s+32|0]&8:0)){break Zb}h=(v[((r<<2)+b|0)-4>>2]!=0)+I|0}I=h;_b:{if(v[m+8>>2]-1>>>0<=o>>>0){i=v[m+4>>2];break _b}h=v[b+4>>2];l=(h|0)!=0;i=v[m+4>>2];I=O>>>0>i>>>0?(v[(1-r<<2)+b>>2]!=0)+I|0:I;K=l+K|0;p=(h?(h|0)>-1?1:-1:0)+p|0;if(O>>>0>=S-1>>>0|(z>>>0>2?w[s+32|0]&8:0)){break _b}I=(v[((r<<2)+b|0)+4>>2]!=0)+I|0}l=0;h=2;$b:{if(i>>>0>=O>>>0){break $b}i=v[b-(r<<2)>>2];h=2;if(!i){break $b}l=1;h=(i|0)>-1?3:1}ac:{if(O>>>0>=S-1>>>0|(z>>>0>2?w[s+32|0]&8:0)){break ac}i=v[(r<<2)+b>>2];if(!i){break ac}l=l+1|0;h=((i|0)>-1?1:-1)+h|0}if(!Tc(v[m+60>>2],v[(((B(K,180)+B(l,60)|0)+B(I,12)|0)+(W<<2)|0)+927760>>2],v[m+64>>2])){break Yb}h=B(p,40)+(h<<3)|0;if((Tc(v[m+60>>2],v[h+928304>>2],v[m+64>>2])|0)!=v[h+928308>>2]){v[b>>2]=-1;break Yb}v[b>>2]=1;break Yb}t[d|0]=0}d=v[M+84>>2]+d|0;r=v[s+68>>2];b=(r<<2)+b|0;z=z+1|0;if((z|0)!=4){continue}break}}o=o+1|0;z=v[m+8>>2];if(o>>>0>>0){f=f+4|0;c=c+1|0;d=v[m+12>>2];continue}break}d=v[m+12>>2];break Qb}r=v[s+68>>2]}j=(r<<4)+j|0;q=(4<>2])+q|0;g=E;if(g>>>0>>0){continue}break}}u[m+56>>1]=x[m+56>>1]+1;d=0;if(!(w[s+32|0]&32)){break Fb}c=Tc(v[m+60>>2],18,v[m+64>>2]);if((Tc(v[m+60>>2],18,v[m+64>>2])<<2|c<<3|Tc(v[m+60>>2],18,v[m+64>>2])<<1|Tc(v[m+60>>2],18,v[m+64>>2]))==10){break Fb}fb(0,Qa[v[v[a>>2]+52>>2]](a)|0,257687,0)}v[m+24>>2]=d}c=v[s+32>>2];if(c&2){Th(v[m+64>>2]);t[v[v[m+64>>2]>>2]]=8;t[v[v[m+64>>2]>>2]+17|0]=6;t[v[v[m+64>>2]>>2]+18|0]=92;c=v[s+32>>2]}if(c&4){_U(v[m+60>>2])}Q=Q+1|0;if(Q>>>0>2]){continue}break}}_U(v[m+60>>2]);break ub}z=v[v[m+40>>2]>>2]}c=v[a+8>>2];Qa[v[v[c>>2]+48>>2]](c,z)|0}bc:{if(w[s+32|0]&4){g=v[m+36>>2];if(!g){break bc}d=g&3;c=v[m+40>>2];b=0;if(g-1>>>0>=3){f=g&-4;while(1){g=b<<2;e=e-(((v[g+c>>2]+v[c+(g|4)>>2]|0)+v[c+(g|8)>>2]|0)+v[c+(g|12)>>2]|0)|0;b=b+4|0;f=f-4|0;if(f){continue}break}}if(!d){break bc}while(1){e=e-v[c+(b<<2)>>2]|0;b=b+1|0;d=d-1|0;if(d){continue}break}break bc}e=e-v[v[m+40>>2]>>2]|0}v[m+16>>2]=1;b=v[P>>2]}g=b;C=C+1|0;if(C>>>0>>0){continue}break}d=v[P+4>>2];g=b}else{g=0}k=k+1|0;if(k>>>0>>0){continue}break}}b=v[n>>2];c=b;d=c;g=c;N=N+1|0;if(N>>>0<(c?3:1)>>>0){continue}break}}cc:{dc:{ec:{fc:{gc:{switch(v[G+4>>2]){case 0:c=v[A>>2];g=v[(v[G+60>>2]+B(c,88)|0)+84>>2];f=v[H>>2]+1|0;v[H>>2]=f;if((f|0)!=v[(g+B(b,100)|0)+8>>2]){break dc}v[H>>2]=0;c=c+1|0;v[A>>2]=c;if((c|0)!=v[a+188>>2]){break dc}v[A>>2]=0;c=b+1|0;v[n>>2]=c;f=v[G+32>>2]!=(b|0);b=c;d=c;g=c;if(f){break cc}b=0;v[n>>2]=0;h=v[F>>2]+1|0;v[F>>2]=h;f=F;c=0;d=0;g=0;if((h|0)==v[G+8>>2]){break fc}break cc;case 1:g=v[A>>2];f=v[(v[G+60>>2]+B(g,88)|0)+84>>2];d=v[H>>2]+1|0;v[H>>2]=d;if((d|0)!=v[(f+B(c,100)|0)+8>>2]){break ec}v[H>>2]=0;g=g+1|0;v[A>>2]=g;if((g|0)!=v[a+188>>2]){break ec}v[A>>2]=0;g=v[F>>2]+1|0;v[F>>2]=g;if((g|0)!=v[G+8>>2]){break ec}v[F>>2]=0;b=c+1|0;v[n>>2]=b;h=v[G+32>>2]==(c|0);f=n;c=b;d=c;g=c;if(h){break fc}break cc;case 2:f=v[F>>2]+1|0;v[F>>2]=f;if((f|0)!=v[G+8>>2]){break cc}v[F>>2]=0;f=v[A>>2]+1|0;v[A>>2]=f;if((f|0)!=v[a+188>>2]){break cc}v[A>>2]=0;g=v[v[G+60>>2]+84>>2];f=v[H>>2]+1|0;v[H>>2]=f;if((f|0)!=v[(g+B(d,100)|0)+8>>2]){g=d;break cc}v[H>>2]=0;b=d+1|0;v[n>>2]=b;h=v[G+32>>2]==(d|0);f=n;c=b;d=c;g=c;if(h){break fc}break cc;case 3:f=v[F>>2]+1|0;v[F>>2]=f;if((f|0)!=v[G+8>>2]){break cc}v[F>>2]=0;b=g+1|0;v[n>>2]=b;f=v[G+32>>2]!=(g|0);c=b;d=c;g=c;if(f){break cc}b=0;v[n>>2]=0;f=v[A>>2]+1|0;v[A>>2]=f;c=0;d=0;g=0;if((f|0)!=v[a+188>>2]){break cc}v[A>>2]=0;h=v[v[G+60>>2]+84>>2];i=v[H>>2]+1|0;v[H>>2]=i;f=H;if((i|0)==v[h+8>>2]){break fc}break cc;case 4:break gc;default:break cc}}f=v[F>>2]+1|0;v[F>>2]=f;if((f|0)!=v[G+8>>2]){break cc}v[F>>2]=0;b=g+1|0;v[n>>2]=b;f=v[G+32>>2]!=(g|0);c=b;d=c;g=c;if(f){break cc}b=0;v[n>>2]=0;f=v[A>>2];h=v[(v[G+60>>2]+B(f,88)|0)+84>>2];i=v[H>>2]+1|0;v[H>>2]=i;c=0;d=0;g=0;if((i|0)!=v[h+8>>2]){break cc}v[H>>2]=0;h=f+1|0;v[A>>2]=h;f=A;if((h|0)!=v[a+188>>2]){break cc}}b=0;v[f>>2]=0;v[G+52>>2]=1;c=0;d=0;g=0;break cc}d=c;g=c;break cc}c=b;d=c;g=c}f=1;if(e|_){continue}break}break Na}c=v[a+8>>2];Qa[v[v[c>>2]+48>>2]](c,e)|0;f=1}Ma=J+16|0;break O}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,227245,0);f=0;break O}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229571,0);f=0;break O}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229571,0);f=0;break O}j=0;if(!e){while(1){e=b+B(j,100)|0;v[e>>2]=15;v[e+4>>2]=15;j=j+1|0;if(d>>>0>=j>>>0){continue}continue T}}while(1){b=v[a+8>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)!=-1){e=v[(i+v[(c+v[a+200>>2]|0)+60>>2]|0)+84>>2]+B(j,100)|0;v[e+4>>2]=b>>>4&15;v[e>>2]=b&15;j=j+1|0;if(d>>>0>=j>>>0){continue}continue T}break}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229505,0);f=0;break O}d=v[a+188>>2]}if(d>>>0<2){continue}h=v[(c+v[a+200>>2]|0)+60>>2];i=v[h+84>>2];e=1;while(1){k=v[(h+B(e,88)|0)+84>>2];j=0;while(1){l=B(j,100);n=l+k|0;l=i+l|0;v[n>>2]=v[l>>2];v[n+4>>2]=v[l+4>>2];j=j+1|0;if(b>>>0>=j>>>0){continue}break}e=e+1|0;if((e|0)!=(d|0)){continue}break}continue}break}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,255784,0);f=0}Ma=Z+16|0;if(!f){break M}hc:{ic:{while(1){b=144;c=v[a+8>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;if((c|0)!=255){if((c|0)!=-1){continue}break ic}while(1){c=v[a+8>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;if((c|0)==255){continue}break}jc:{switch(c+1|0){case 0:break ic;case 1:continue;default:break jc}}break}if((c&-16)==48){break M}n=1;if((c|0)==79|c-146>>>0<2|(c|0)==217){break N}b=v[a+8>>2];if((Qa[v[v[b>>2]+28>>2]](b)|0)!=-1){b=v[a+8>>2];if((Qa[v[v[b>>2]+28>>2]](b)|0)!=-1){break hc}}b=c}n=0;fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,255818,0);c=b;break N}if((c|0)==144){continue}break N}}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,257536,0);a=2;break a}if((c|0)==217){break L}}n=0;fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,255842,0)}kc:{lc:{if(!B(v[a+196>>2],v[a+192>>2])){break lc}e=0;while(1){H=v[a+200>>2]+(e<<6)|0;if(!v[H>>2]){break kc}if(v[a+188>>2]){c=0;while(1){p=0;R=0;o=v[H+60>>2]+B(c,88)|0;g=v[o+40>>2];b=g>>>5&7;r=g&31;if(r){R=+((v[v[o+44>>2]>>2]&2047|2048)>>>0)*.00048828125;l=(b+v[o+4>>2]|0)-1|0}else{l=(b+(v[v[o+44>>2]>>2]>>>3&31)|0)-1|0}F=v[o+84>>2];l=v[o+36>>2]?l:(l-v[o+4>>2]|0)+24|0;k=v[F+8>>2];if(k){C=v[F+96>>2];while(1){A=v[C+(p<<2)>>2];b=v[A+4>>2];mc:{if(!b){break mc}i=v[A>>2];if(!i){break mc}k=v[A+20>>2];m=0;h=1;while(1){s=0;if(h){while(1){z=v[k+4>>2];nc:{if(z>>>0>=y[k+12>>2]){break nc}j=v[k>>2];q=v[k+8>>2];if(j>>>0>=q>>>0){break nc}f=v[k+52>>2];d=v[k+48>>2];while(1){oc:{if(j>>>0>=q>>>0){break oc}b=d;i=b;g=f;h=g;if(!r){while(1){i=b;E=v[b>>2];I=0;pc:{if(!E){break pc}h=l-(t[g|0]+(v[k+28>>2]+x[k+56>>1]|0)|0)|0;qc:{if((h|0)<=0){h=E>>0-h;break qc}G=E<=0){break qc}h=G+(-1<>2]){break pc}I=h&-1<<24-v[o+4>>2]}v[i>>2]=I;g=g+1|0;b=b+4|0;j=j+1|0;q=v[k+8>>2];if(j>>>0>>0){continue}break oc}}while(1){b=i;I=b;q=v[b>>2];b=0;rc:{if(!q){break rc}U=R;g=l-(t[h|0]+(v[k+28>>2]+x[k+56>>1]|0)|0)|0;sc:{if((g|0)>=1){G=q<>0-g}T=U*+(b|0);if(D(T)<2147483648){b=~~T;break rc}b=-2147483648}v[I>>2]=b;h=h+1|0;i=i+4|0;j=j+1|0;q=v[k+8>>2];if(j>>>0>>0){continue}break}}z=z+1|0;if(z>>>0>2]){f=v[F+84>>2]+f|0;d=(v[o+68>>2]<<2)+d|0;j=v[k>>2];continue}break}i=v[A>>2]}k=k+68|0;s=s+1|0;if(s>>>0>>0){continue}break}b=v[A+4>>2];h=i}else{h=0}m=m+1|0;if(m>>>0>>0){continue}break}k=v[F+8>>2]}p=p+1|0;if(p>>>0>>0){continue}break}}tc:{if(v[o+20>>2]==v[a+28>>2]){break tc}PU(o,1,F+100|0);i=2;if(v[o+20>>2]-v[a+28>>2]>>>0<2){break tc}while(1){PU(o,i,v[o+84>>2]+B(i,100)|0);i=i+1|0;if(i>>>0<=v[o+20>>2]-v[a+28>>2]>>>0){continue}break}}c=c+1|0;if(c>>>0>2]){continue}break}}c=0;k=0;uc:{vc:{if(v[H+12>>2]!=1){break vc}if(y[a+188>>2]<3){break uc}f=v[H+60>>2];b=v[f+8>>2];if((b|0)!=v[f+96>>2]){break uc}g=v[f+12>>2];if((g|0)!=v[f+100>>2]|(b|0)!=v[f+184>>2]|(g|0)!=v[f+188>>2]){break uc}d=v[f+72>>2];if(v[f+36>>2]){if(!d|!v[f+68>>2]){break vc}b=1;while(1){wc:{if(!b){b=0;break wc}g=v[f+252>>2];h=v[f+164>>2];i=v[f+76>>2];d=0;while(1){b=c<<2;j=b+h|0;r=j;l=b+i|0;p=b+g|0;o=v[p>>2];j=v[j>>2];b=v[l>>2]-(o+j>>2)|0;v[r>>2]=b;v[l>>2]=b+o;v[p>>2]=b+j;c=c+1|0;b=v[f+68>>2];d=d+1|0;if(b>>>0>d>>>0){continue}break}d=v[f+72>>2]}k=k+1|0;if(k>>>0>>0){continue}break}break vc}if(!d|!v[f+68>>2]){break vc}b=1;while(1){xc:{if(!b){b=0;break xc}i=v[f+252>>2];j=v[f+164>>2];l=v[f+76>>2];d=0;while(1){g=c<<2;b=g+i|0;T=+v[b>>2];p=g+l|0;R=+v[p>>2];U=T*1.402+R+.5;yc:{if(D(U)<2147483648){h=~~U;break yc}h=-2147483648}g=g+j|0;o=v[g>>2];v[p>>2]=h;U=+(o|0);T=R+U*-.34413+T*-.71414+.5;zc:{if(D(T)<2147483648){h=~~T;break zc}h=-2147483648}v[g>>2]=h;R=U*1.772+R+.5;Ac:{if(D(R)<2147483648){g=~~R;break Ac}g=-2147483648}v[b>>2]=g;c=c+1|0;b=v[f+68>>2];d=d+1|0;if(b>>>0>d>>>0){continue}break}d=v[f+72>>2]}k=k+1|0;if(k>>>0>>0){continue}break}}c=1;if(!v[a+188>>2]){break uc}q=v[H+60>>2];j=0;while(1){i=q+B(j,88)|0;p=i;c=v[i+4>>2];Bc:{if(v[i>>2]){l=v[i+72>>2];if(!l|!v[i+68>>2]){break Bc}o=1<>2];f=0;d=1;while(1){k=0;c=0;if(d){while(1){c=v[b>>2];c=v[i+36>>2]?c:c>>24-v[p+4>>2];v[b>>2]=(c|0)<(g|0)?g:(c|0)<(o|0)?c:F;b=b+4|0;c=v[i+68>>2];k=k+1|0;if(c>>>0>k>>>0){continue}break}l=v[i+72>>2]}d=c;f=f+1|0;if(l>>>0>f>>>0){continue}break}break Bc}d=v[i+72>>2];if(!d|!v[i+68>>2]){break Bc}h=1<>2];l=0;f=1;while(1){k=0;b=0;if(f){while(1){b=v[c>>2];f=c;d=g;if(!v[i+36>>2]){b=b>>24-v[p+4>>2]}b=b+h|0;v[f>>2]=(b|0)<0?0:(b|0)>(g|0)?d:b;c=c+4|0;b=v[i+68>>2];k=k+1|0;if(b>>>0>k>>>0){continue}break}d=v[i+72>>2]}f=b;l=l+1|0;if(l>>>0>>0){continue}break}}c=1;j=j+1|0;if(j>>>0>2]){continue}break}}if(c){e=e+1|0;if(e>>>0>=B(v[a+196>>2],v[a+192>>2])>>>0){break lc}continue}break}a=2;break a}a=!n;break a}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,255879,0);a=2;break a}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229571,0);a=2;break a}j=1;if(B(v[a+196>>2],v[a+192>>2])>>>0<2){continue}l=v[a+200>>2];e=v[l+60>>2];b=v[(g+e|0)+48>>2];n=1;while(1){d=e+g|0;e=v[d+40>>2];h=n<<6;c=g+v[(h+l|0)+60>>2]|0;v[c+48>>2]=b;v[c+40>>2]=e;d=yc(v[c+44>>2],v[d+48>>2],4);l=v[a+200>>2];v[(g+v[(h+l|0)+60>>2]|0)+44>>2]=d;e=v[l+60>>2];h=g+e|0;Cc:{if(!v[h+48>>2]){b=0;break Cc}i=v[h+44>>2];c=0;while(1){b=c<<2;v[b+d>>2]=v[b+i>>2];b=v[h+48>>2];c=c+1|0;if(b>>>0>c>>>0){continue}break}}n=n+1|0;if(n>>>0>2],v[a+192>>2])>>>0){continue}break}continue}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229571,0);a=2;break a}f=1;j=1;if(!B(v[a+196>>2],v[a+192>>2])){continue}c=v[a+188>>2];n=0;while(1){b=c;c=0;Dc:{if(!b){break Dc}if(!n){d=0;while(1){Ec:{if(!d){break Ec}c=v[v[a+200>>2]+60>>2];f=B(d,88);b=c+f|0;v[b+40>>2]=v[c+40>>2];c=v[c+48>>2];v[b+48>>2]=c;g=yc(v[b+44>>2],c,4);b=v[v[a+200>>2]+60>>2];v[(b+f|0)+44>>2]=g;if(!v[b+48>>2]){break Ec}f=v[b+44>>2];c=0;while(1){e=c<<2;v[e+g>>2]=v[f+e>>2];c=c+1|0;if(c>>>0>2]){continue}break}}c=v[a+188>>2];d=d+1|0;if(c>>>0>d>>>0){continue}break}break Dc}c=v[a+200>>2];h=n<<6;f=v[(c+h|0)+60>>2];e=v[c+60>>2];b=v[e+48>>2];d=0;while(1){g=v[e+40>>2];i=B(d,88);c=i+f|0;v[c+48>>2]=b;v[c+40>>2]=g;g=yc(v[c+44>>2],v[e+48>>2],4);c=v[a+200>>2];f=v[(c+h|0)+60>>2];v[(i+f|0)+44>>2]=g;b=0;e=v[c+60>>2];if(v[e+48>>2]){i=v[e+44>>2];c=0;while(1){b=c<<2;v[b+g>>2]=v[b+i>>2];b=v[e+48>>2];c=c+1|0;if(b>>>0>c>>>0){continue}break}}c=v[a+188>>2];d=d+1|0;if(c>>>0>d>>>0){continue}break}}f=1;n=n+1|0;if(n>>>0>2],v[a+192>>2])>>>0){continue}break}continue}c=0;while(1){Fc:{if(h){b=v[a+8>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229505,0);a=2;break a}n=v[a+200>>2];e=v[(g+v[n+60>>2]|0)+84>>2];v[e+B(c,100)>>2]=b&15;b=b>>>4&15;break Fc}e=v[(g+v[n+60>>2]|0)+84>>2];v[e+B(c,100)>>2]=15;b=15}v[(B(c,100)+e|0)+4>>2]=b;c=c+1|0;if(d>>>0>=c>>>0){continue}break}k=1;b=B(v[a+196>>2],v[a+192>>2]);if(b>>>0<2){continue}d=v[a+200>>2];e=v[(g+v[d+60>>2]|0)+84>>2];n=1;while(1){c=g+v[(d+(n<<6)|0)+60>>2]|0;h=v[c+84>>2];i=v[c+20>>2];c=0;while(1){k=B(c,100);l=k+h|0;k=e+k|0;v[l>>2]=v[k>>2];v[l+4>>2]=v[k+4>>2];c=c+1|0;if(i>>>0>=c>>>0){continue}break}k=1;n=n+1|0;if((b|0)!=(n|0)){continue}break}continue}f=1;k=1;i=B(v[a+196>>2],v[a+192>>2]);if(!i){continue}b=v[a+188>>2];e=0;while(1){Gc:{if(!b){break Gc}d=v[a+200>>2];h=d+(e<<6)|0;if(!e){f=0;while(1){if(f){k=v[(v[h+60>>2]+B(f,88)|0)+84>>2];l=v[v[d+60>>2]+84>>2];c=0;while(1){n=B(c,100);p=n+k|0;n=l+n|0;v[p>>2]=v[n>>2];v[p+4>>2]=v[n+4>>2];c=c+1|0;if(g>>>0>=c>>>0){continue}break}}f=f+1|0;if((b|0)!=(f|0)){continue}break}break Gc}h=v[h+60>>2];d=v[v[d+60>>2]+84>>2];f=0;while(1){k=v[(h+B(f,88)|0)+84>>2];c=0;while(1){l=B(c,100);n=l+k|0;l=d+l|0;v[n>>2]=v[l>>2];v[n+4>>2]=v[l+4>>2];c=c+1|0;if(g>>>0>=c>>>0){continue}break}f=f+1|0;if((b|0)!=(f|0)){continue}break}}f=1;e=e+1|0;if((i|0)!=(e|0)){continue}break}k=1;continue}b=0;f=1;if(!v[a+188>>2]){continue}while(1){c=v[v[a+200>>2]+60>>2];Hc:{g=v[a+8>>2];f=Qa[v[v[g>>2]+28>>2]](g)|0;Ic:{if((f|0)==-1){break Ic}g=B(b,88);v[(g+c|0)+4>>2]=f;c=v[v[a+200>>2]+60>>2];f=v[a+8>>2];f=Qa[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break Ic}v[(c+g|0)+8>>2]=f;c=v[v[a+200>>2]+60>>2];f=v[a+8>>2];f=Qa[v[v[f>>2]+28>>2]](f)|0;if((f|0)!=-1){break Hc}}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229117,0);a=2;break a}v[(c+g|0)+12>>2]=f;f=g+v[v[a+200>>2]+60>>2]|0;if(!(v[f+12>>2]?v[f+8>>2]:0)){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229117,0);a=2;break a}c=1;d=v[f+4>>2];v[f+4>>2]=(d&127)+1;v[f>>2]=d>>>7&1;if(B(v[a+196>>2],v[a+192>>2])>>>0>=2){while(1){f=v[a+200>>2];cb(g+v[(f+(c<<6)|0)+60>>2]|0,g+v[f+60>>2]|0,88);c=c+1|0;if(c>>>0>2],v[a+192>>2])>>>0){continue}break}}f=1;b=b+1|0;if(b>>>0>2]){continue}break}continue}break}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,255818,0);a=2}Ma=Y+16|0;return a}function JC(a,b,c){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,p=0,q=0,r=0,s=0,E=0,F=0,G=C(0),H=0,I=0,J=C(0),K=0,M=0,N=0,O=0,P=0,Q=C(0),R=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=C(0),_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=C(0),la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0;I=Ma-1008|0;Ma=I;h=v[a+4>>2];f=v[a+12>>2];a:{if(!f){f=h<<2;h=32;break a}j=f;f=f>>31;f=j+f^f;h=(f>>>0)/(h>>>0)<<3}b:{c:{d:{if((c|0)==21){v[I+20>>2]=0;v[I+24>>2]=0;u[I>>1]=256;u[I+2>>1]=0;u[I+4>>1]=0;v[I+16>>2]=188;v[I+8>>2]=858993459;v[I+12>>2]=1072378675;v[I+28>>2]=0;v[I+32>>2]=0;v[I+36>>2]=0;v[I+40>>2]=0;t[I+6|0]=0;g=v[a+4>>2];k=v[a+8>>2];c=v[a+16>>2];e:{if(t[b+11|0]>=0){v[I+1e3>>2]=v[b+8>>2];d=v[b+4>>2];v[I+992>>2]=v[b>>2];v[I+996>>2]=d;break e}vc(I+992|0,v[b>>2],v[b+4>>2])}W=I+992|0;a=!w[a+40|0];q=Ma-96|0;Ma=q;f:{g:{h:{if(!c){break h}f=Mg(g,k,32);v[q+68>>2]=f;if(!f){break h}if(!((k|0)<1|(g|0)<1)){j=a?0:2;n=a?2:0;while(1){d=0;while(1){o=w[c+n|0];r=w[c+1|0];H=w[c+j|0];b=Ma-16|0;Ma=b;i:{if(!f){break i}a=b+12|0;h=b+8|0;m=b+4|0;if(f){if(a){v[a>>2]=v[f>>2]}if(h){v[h>>2]=v[f+4>>2]}if(m){v[m>>2]=v[f+8>>2]}}if(v[b+4>>2]!=32|(d|0)<0|((e|0)<0|v[b+12>>2]<=(d|0))){break i}if(v[b+8>>2]<=(e|0)){break i}a=f?v[f+12>>2]:-1;v[((B(a,e)<<2)+(f?v[f+40>>2]:0)|0)+(d<<2)>>2]=r<<16|o<<24|H<<8}Ma=b+16|0;c=c+3|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}e=e+1|0;if((k|0)!=(e|0)){continue}break}}G=C(A[I+8>>3]);a=!w[I+1|0];b=w[I+3|0]?10:-1;l=ab(112);v[l+52>>2]=0;v[l+56>>2]=0;v[l+100>>2]=0;v[l+104>>2]=0;v[l+96>>2]=b;v[l+16>>2]=0;v[l+20>>2]=-1;t[l+13|0]=!a;t[l+12|0]=a;v[l+8>>2]=0;v[l+4>>2]=0;a=l+28|0;v[a>>2]=0;v[a+4>>2]=0;c=l+40|0;v[c>>2]=0;v[c+4>>2]=0;v[l+24>>2]=a;a=l+80|0;v[a>>2]=0;v[a+4>>2]=0;v[l+36>>2]=c;v[l+60>>2]=0;v[l+64>>2]=0;v[l+68>>2]=0;v[l+72>>2]=0;v[l+108>>2]=0;v[l+76>>2]=a;t[l+88|0]=(b^-1)>>>31;v[l+92>>2]=0;c=0;U=+G;j:{if(U<.4|U>.98){break j}d=0;a=Yb(1,112);if(a){v[a+8>>2]=0;v[a+4>>2]=1;ra=a,sa=Gm(0),v[ra+28>>2]=sa;b=Yb(1,16);k:{if(!b){break k}v[b+4>>2]=20;e=Yb(20,4);v[b+8>>2]=e;if(!e){break k}ra=b,sa=_o(20),v[ra+12>>2]=sa;d=b}v[a+68>>2]=d;ra=a,sa=hk(0),v[ra+72>>2]=sa;ra=a,sa=hk(0),v[ra+76>>2]=sa;ra=a,sa=Gm(0),v[ra+84>>2]=sa;ra=a,sa=Gm(0),v[ra+48>>2]=sa;ra=a,sa=zt(0),v[ra+88>>2]=sa;ra=a,sa=zt(0),v[ra+92>>2]=sa;ra=a,sa=Gm(0),v[ra+96>>2]=sa;ra=a,sa=Gm(0),v[ra+100>>2]=sa;ra=a,sa=zt(0),v[ra+104>>2]=sa}else{a=0}if(!a){break j}z[a+44>>2]=.5;z[a+40>>2]=G;v[a+16>>2]=9999;v[a+12>>2]=9999;b=Yb(1,12);if(b){l:{c=Yb(5507,4);v[b+8>>2]=c;if(!c){$a(b);b=0;break l}v[b+4>>2]=4;v[b>>2]=5507}}else{b=0}v[a+64>>2]=0;v[a+80>>2]=b;c=a}v[l>>2]=c;a=kk(f,3);v[q+64>>2]=a;_b(q+68|0);if(!a){Dt(l);break h}v[q+60>>2]=0;a=v[q+64>>2];b=v[a+8>>2];m:{if(b>>>0>=2){v[q+40>>2]=0;n:{if(b>>>0>=9){c=0;e=0;m=Ma-16|0;Ma=m;o:{if(!a|((a?v[a+8>>2]:-1)|0)!=32){break o}b=m+12|0;d=m+8|0;if(a){if(b){v[b>>2]=v[a>>2]}if(d){v[d>>2]=v[a+4>>2]}}d=a?v[a+40>>2]:0;f=a?v[a+12>>2]:-1;b=Mg(v[m+12>>2],v[m+8>>2],8);if(!b){break o}if(!(!a|!b|(a|0)==(b|0))){v[b+20>>2]=v[a+20>>2];v[b+24>>2]=v[a+24>>2]}k=b?v[b+40>>2]:0;h=b?v[b+12>>2]:-1;a=v[m+8>>2];p:{if((a|0)<1){break p}g=v[m+12>>2];if((g|0)<1){break p}while(1){if((g|0)>=1){j=k+(B(e,h)<<2)|0;a=d+(B(e,f)<<2)|0;c=0;while(1){t[c+j^3]=x[a+2>>1];a=a+4|0;c=c+1|0;g=v[m+12>>2];if((c|0)<(g|0)){continue}break}a=v[m+8>>2]}e=e+1|0;if((e|0)<(a|0)){continue}break}}c=b}Ma=m+16|0;v[q+40>>2]=c;if(c){break n}_b(q+68|0);Dt(l);break h}if(a){v[a+16>>2]=v[a+16>>2]+1}c=a;v[q+40>>2]=a}q:{if(w[I+4|0]){h=v[I+16>>2];a=0;g=Ma-16|0;Ma=g;r:{if(!c|(((c?v[c+8>>2]:-1)|0)!=8|h>>>0>256)){break r}b=g+12|0;d=g+8|0;if(c){if(b){v[b>>2]=v[c>>2]}if(d){v[d>>2]=v[c+4>>2]}}j=v[g+8>>2];e=v[g+12>>2];b=c?v[c+40>>2]:0;d=c?v[c+12>>2]:-1;m=e<<1;n=(m+3|0)/4|0;k=Yb(n<<1,4);if(!k){break r}f=Mg(m,j<<1,1);if(!f){break r}e=b;b=d;a=f;if(!(!c|!a|(a|0)==(c|0))){v[a+20>>2]=v[c+20>>2];v[a+24>>2]=v[c+24>>2]}if(a){nr(a,C(2),C(2))}o=j-1|0;r=k+(n<<2)|0;d=a?v[a+12>>2]:-1;f=a?v[a+40>>2]:0;if((j|0)>=2){j=d<<1;c=0;while(1){W2(k,n,e+(B(b,c)<<2)|0,v[g+12>>2],b,0);H=f+(B(c,j)<<2)|0;ik(H,m,k,8,h);ik(H+(d<<2)|0,m,r,8,h);c=c+1|0;if((o|0)!=(c|0)){continue}break}}W2(k,n,e+(B(b,o)<<2)|0,v[g+12>>2],b,1);b=f+(B(d,o)<<3)|0;ik(b,m,k,8,h);ik(b+(d<<2)|0,m,r,8,h);$a(k)}Ma=g+16|0;v[q+60>>2]=a;break q}b=v[I+16>>2];if(w[I+5|0]){a=0;o=Ma-16|0;Ma=o;s:{if(!c|(((c?v[c+8>>2]:-1)|0)!=8|b>>>0>256)){break s}d=o+12|0;e=o+8|0;if(c){if(d){v[d>>2]=v[c>>2]}if(e){v[e>>2]=v[c+4>>2]}}k=v[o+8>>2];f=v[o+12>>2];d=c?v[c+40>>2]:0;e=c?v[c+12>>2]:-1;j=f<<2;n=(j|3)/4|0;h=Yb(n<<2,4);if(!h){break s}g=Mg(j,k<<2,1);if(!g){break s}f=d;a=g;if(!(!c|!a|(a|0)==(c|0))){v[a+20>>2]=v[c+20>>2];v[a+24>>2]=v[c+24>>2]}if(a){nr(a,C(4),C(4))}r=k-1|0;c=a?v[a+12>>2]:-1;g=a?v[a+40>>2]:0;t:{if((k|0)<=1){m=B(n,3);k=B(c,3);F=n<<1;p=c<<1;break t}O=c<<2;k=B(c,3);F=n<<1;p=c<<1;V=h+(n<<3)|0;N=h+(n<<2)|0;m=B(n,3);s=h+(m<<2)|0;d=0;while(1){V2(h,n,f+(B(d,e)<<2)|0,v[o+12>>2],e,0);H=g+(B(d,O)<<2)|0;ik(H,j,h,8,b);ik(H+O|0,j,N,8,b);ik(H+(p<<2)|0,j,V,8,b);ik(H+(k<<2)|0,j,s,8,b);d=d+1|0;if((r|0)!=(d|0)){continue}break}}V2(h,n,f+(B(e,r)<<2)|0,v[o+12>>2],e,1);d=g+(B(c,r)<<4)|0;ik(d,j,h,8,b);ik(d+(c<<2)|0,j,h+(n<<2)|0,8,b);ik(d+(p<<2)|0,j,h+(F<<2)|0,8,b);ik(d+(k<<2)|0,j,h+(m<<2)|0,8,b);$a(h)}Ma=o+16|0;v[q+60>>2]=a;break q}d=0;m=Ma-16|0;Ma=m;u:{if(!c){break u}a=m+8|0;e=m+4|0;f=m+12|0;if(c){if(a){v[a>>2]=v[c>>2]}if(e){v[e>>2]=v[c+4>>2]}if(f){v[f>>2]=v[c+8>>2]}}v:{a=v[m+12>>2];switch(a-4|0){case 0:case 4:break v;default:break u}}if((a|0)==8&(b|0)>256|((a|0)==4&(b|0)>16|(b|0)<0)){break u}a=Mg(v[m+8>>2],v[m+4>>2],1);if(!a){break u}if(!(!c|!a|(a|0)==(c|0))){v[a+20>>2]=v[c+20>>2];v[a+24>>2]=v[c+24>>2]}e=a?v[a+40>>2]:0;d=a;if(a){f=v[d+12>>2]}else{f=-1}g=kk(c,1);v[m>>2]=g;k=g?v[g+40>>2]:0;h=g?v[g+12>>2]:-1;g=v[m+12>>2];if(!(!(c?v[c+36>>2]:0)|(g|0)!=4)){g=8;v[m+12>>2]=8;b=b<<4}c=v[m+8>>2];a=0;j=v[m+4>>2];if((j|0)>=1){while(1){ik(e+(B(a,f)<<2)|0,c,k+(B(a,h)<<2)|0,g,b);a=a+1|0;if((j|0)!=(a|0)){continue}break}}_b(m)}Ma=m+16|0;v[q+60>>2]=d}_b(q+40|0);break m}if(a){v[a+16>>2]=v[a+16>>2]+1}v[q+60>>2]=a}b=w[I+43|0];a=b<<24>>24<0;if(a?v[I+36>>2]:b){b=I+32|0;g3(a?v[b>>2]:b,v[q+60>>2])}w:{if(!w[I+6|0]){break w}r=v[q+64>>2];if(y[r+8>>2]<2){break w}H=v[q+60>>2];v[q+40>>2]=H;b=Jw(H,14219);v[q+24>>2]=b;a=Jw(H,16532);v[q+92>>2]=a;d=0;s=0;E=Ma-16|0;Ma=E;x:{if(!a|(!b|((a?v[a+8>>2]:-1)|0)!=1)){break x}if(((b?v[b+8>>2]:-1)|0)!=1){break x}d=se(0,a);if(!d){d=0;break x}e=Ct(a);v[E+8>>2]=e;if(!e){break x}p=d?v[d+4>>2]:-1;O=b?v[b+4>>2]:-1;V=d?v[d+40>>2]:0;N=b?v[b+40>>2]:0;g=d?v[d+12>>2]:-1;j=b?v[b+12>>2]:-1;Bt(b);while(1){y:{se(e,d);f=0;m=(p|0)<(O|0)?p:O;h=(g|0)<(j|0)?g:j;z:{if((m|0)<1|(h|0)<1){break z}k=h-1|0;K=0-g<<2;while(1){n=V+(B(f,g)<<2)|0;o=N+(B(f,j)<<2)|0;c=0;A:{if(f){M=n+K|0;while(1){b=c<<2;F=b+M|0;a=v[F>>2];i=b+n|0;a=a|v[i>>2]|a<<1|a>>>1;a=c?v[F-4>>2]<<31|a:a;a=(c|0)<(k|0)?v[F+4>>2]>>>31|a:a;F=v[b+o>>2];if(c){a=v[i-4>>2]<<31|a}b=a&F;a=b;if(a+1>>>0>=2){while(1){a=b;b=F&(a|a>>>1|a<<1);if((a|0)!=(b|0)){continue}break}}v[i>>2]=a;c=c+1|0;if((h|0)!=(c|0)){continue}break}break A}while(1){a=c<<2;F=v[a+o>>2];i=a+n|0;a=v[i>>2];if(c){a=a|v[i-4>>2]<<31}b=a&F;a=b;if(a+1>>>0>=2){while(1){a=b;b=F&(a|a>>>1|a<<1);if((a|0)!=(b|0)){continue}break}}v[i>>2]=a;c=c+1|0;if((h|0)!=(c|0)){continue}break}}f=f+1|0;if((m|0)!=(f|0)){continue}break}if((m|0)<1|(h|0)<1){break z}i=m-1|0;f=i;while(1){h=V+(B(f,g)<<2)|0;m=N+(B(f,j)<<2)|0;c=k;B:{if((f|0)<(i|0)){K=h+(g<<2)|0;while(1){b=c<<2;n=b+K|0;a=v[n>>2];o=b+h|0;a=a|v[o>>2]|a<<1|a>>>1;a=(c|0)>=1?v[n-4>>2]<<31|a:a;F=v[b+m>>2];if((c|0)<(k|0)){a=v[n+4>>2]>>>31|a|v[o+4>>2]>>>31}b=a&F;a=b;if(a+1>>>0>=2){while(1){a=b;b=F&(a|a>>>1|a<<1);if((a|0)!=(b|0)){continue}break}}v[o>>2]=a;a=(c|0)>0;c=c-1|0;if(a){continue}break}break B}while(1){a=c<<2;n=v[a+m>>2];o=a+h|0;a=v[o>>2];if((c|0)<(k|0)){a=a|v[o+4>>2]>>>31}b=a&n;a=b;if(a+1>>>0>=2){while(1){a=b;b=n&(a|a>>>1|a<<1);if((a|0)!=(b|0)){continue}break}}v[o>>2]=a;a=(c|0)>0;c=c-1|0;if(a){continue}break}}a=(f|0)>0;f=f-1|0;if(a){continue}break}}b=Ma-48|0;Ma=b;K=E+12|0;C:{if(!K){break C}v[K>>2]=0;if(!d|!e){break C}a=b+44|0;c=b+40|0;f=b+36|0;if(d){if(a){v[a>>2]=v[d>>2]}if(c){v[c>>2]=v[d+4>>2]}if(f){v[f>>2]=v[d+8>>2]}}a=b+32|0;c=b+28|0;f=b+24|0;if(e){if(a){v[a>>2]=v[e>>2]}if(c){v[c>>2]=v[e+4>>2]}if(f){v[f>>2]=v[e+8>>2]}}if(v[b+44>>2]!=v[b+32>>2]|v[b+40>>2]!=v[b+28>>2]){break C}a=d?v[d+36>>2]:0;c=e?v[e+36>>2]:0;D:{if(a|c){break D}f=v[b+36>>2];k=v[b+24>>2];if((f|0)==(k|0)){break D}if((f|0)==32|(k|0)==32){break C}}f=(a|0)!=0&(c|0)!=0;if(!(!f|v[b+36>>2]!=v[b+24>>2])){k=0;c=0;m=0;i=Ma-32|0;Ma=i;E:{if(!K){break E}v[K>>2]=0;if(!d|!e){break E}F:{G:{if(!d|!e){break G}a=1;if((d|0)==(e|0)){break F}if(v[d>>2]!=v[e>>2]|v[d+4>>2]!=v[e+4>>2]){break G}k=v[d+8>>2]==v[e+8>>2]}a=k}if(!a){break E}f=d?v[d+36>>2]:0;k=e?v[e+36>>2]:0;if(!f|!k){break E}n=d?v[d+8>>2]:-1;if(n>>>0>8|!(1<>2]:0;H:{if((a|0)!=((k?v[k+12>>2]:0)|0)){break H}if((a|0)<=0){c=1;break H}while(1){$o(f,m,i+28|0,i+20|0,i+12|0);$o(k,m,i+24|0,i+16|0,i+8|0);if(v[i+28>>2]!=v[i+24>>2]|v[i+20>>2]!=v[i+16>>2]|v[i+12>>2]!=v[i+8>>2]){break H}m=m+1|0;if((a|0)!=(m|0)){continue}break}c=1}a=d?v[d+4>>2]:-1;h=d?v[d>>2]:-1;I:{J:{if(!c){if((a|0)<1|(h|0)<1){break J}m=0;while(1){c=0;while(1){d3(d,c,m,i+4|0);d3(e,c,m,i);$o(f,v[i+4>>2],i+28|0,i+20|0,i+12|0);$o(k,v[i>>2],i+24|0,i+16|0,i+8|0);if(v[i+28>>2]!=v[i+24>>2]|v[i+20>>2]!=v[i+16>>2]|v[i+12>>2]!=v[i+8>>2]){break E}c=c+1|0;if((h|0)!=(c|0)){continue}break}m=m+1|0;if((a|0)!=(m|0)){continue}break}break J}c=d?v[d+12>>2]:-1;f=e?v[e+12>>2]:-1;o=d?v[d+40>>2]:0;F=e?v[e+40>>2]:0;if((a|0)<1){break J}k=B(h,n);M=(k|0)/32|0;h=c;n=f;f=k&31;R=-1<<32-f;if((k|0)>=32){c=0;if(!f){while(1){f=F+(B(c,n)<<2)|0;m=o+(B(c,h)<<2)|0;k=0;while(1){if(v[m>>2]!=v[f>>2]){break E}f=f+4|0;m=m+4|0;k=k+1|0;if((M|0)!=(k|0)){continue}break}c=c+1|0;if((a|0)!=(c|0)){continue}break J}}while(1){f=F+(B(c,n)<<2)|0;m=o+(B(c,h)<<2)|0;k=0;while(1){if(v[m>>2]!=v[f>>2]){break E}f=f+4|0;m=m+4|0;k=k+1|0;if((M|0)!=(k|0)){continue}break}if(R&(v[f>>2]^v[m>>2])){break E}c=c+1|0;if((a|0)!=(c|0)){continue}break}break J}if(!f){break J}f=0;while(1){if(R&(v[F+(B(f,n)<<2)>>2]^v[o+(B(f,h)<<2)>>2])){break I}f=f+1|0;if((a|0)!=(f|0)){continue}break}}v[K>>2]=1}}Ma=i+32|0;break C}K:{if(!(c|!a)){U2(d,b+20|0);a=v[b+24>>2];if((a|0)<9?v[b+20>>2]:0){break C}c=b;L:{if((a|0)<=7){a=MB(e);break L}if(e){v[e+16>>2]=v[e+16>>2]+1}a=e}v[c+12>>2]=a;if(v[b+24>>2]<=8){ra=b,sa=kk(d,1),v[ra+16>>2]=sa;break K}ra=b,sa=kk(d,2),v[ra+16>>2]=sa;break K}if(!(!c|a)){U2(e,b+20|0);a=v[b+36>>2];if((a|0)<9?v[b+20>>2]:0){break C}c=b;M:{if((a|0)<=7){a=MB(d);break M}if(d){v[d+16>>2]=v[d+16>>2]+1}a=d}v[c+16>>2]=a;if(v[b+36>>2]<=8){ra=b,sa=kk(e,1),v[ra+12>>2]=sa;break K}ra=b,sa=kk(e,2),v[ra+12>>2]=sa;break K}if(f){ra=b,sa=kk(d,2),v[ra+16>>2]=sa;ra=b,sa=kk(e,2),v[ra+12>>2]=sa;break K}if(d){v[d+16>>2]=v[d+16>>2]+1}v[b+16>>2]=d;if(e){v[e+16>>2]=v[e+16>>2]+1}v[b+12>>2]=e}a=b;f=a;c=v[a+16>>2];if(c){a=v[c+8>>2]}else{a=-1}v[f+36>>2]=a;c=b;a=v[b+12>>2];if(a){a=v[a+8>>2]}else{a=-1}v[c+24>>2]=a;c=v[b+36>>2];N:{O:{if((c|0)!=(a|0)){if(!((c|0)!=16&(a|0)!=16)){_b(b+16|0);_b(b+12|0);break N}k=h3(v[b+16>>2]);v[b+8>>2]=k;f=h3(v[b+12>>2]);v[b+4>>2]=f;if(f?k:0){break O}_b(b+16|0);_b(b+12|0);_b(b+8|0);_b(b+4|0);break N}k=v[b+16>>2];if(k){v[k+16>>2]=v[k+16>>2]+1}v[b+8>>2]=k;f=v[b+12>>2];if(f){v[f+16>>2]=v[f+16>>2]+1}v[b+4>>2]=f}_b(b+16|0);_b(b+12|0);v[b+36>>2]=k?v[k+8>>2]:-1;v[b+24>>2]=f?v[f+8>>2]:-1;h=k?v[k+12>>2]:-1;m=f?v[f+12>>2]:-1;n=k?v[k+40>>2]:0;o=f?v[f+40>>2]:0;P:{Q:{a=v[b+36>>2];R:{if((a|0)==32){F=v[b+40>>2];if((F|0)<1|(h|0)<1){break R}c=0;while(1){k=o+(B(c,m)<<2)|0;f=n+(B(c,h)<<2)|0;a=0;S:{while(1){if((v[k>>2]^v[f>>2])>>>0>255){break S}k=k+4|0;f=f+4|0;a=a+1|0;if((h|0)!=(a|0)){continue}break}c=c+1|0;if((F|0)!=(c|0)){continue}break R}break}_b(b+8|0);_b(b+4|0);break N}F=v[b+40>>2];if((F|0)<1){break R}a=B(a,v[b+44>>2]);i=(a|0)/32|0;f=a&31;M=-1<<32-f;if((a|0)>=32){c=0;if(!f){while(1){k=o+(B(c,m)<<2)|0;f=n+(B(c,h)<<2)|0;a=0;while(1){if(v[f>>2]!=v[k>>2]){break Q}k=k+4|0;f=f+4|0;a=a+1|0;if((i|0)!=(a|0)){continue}break}c=c+1|0;if((F|0)!=(c|0)){continue}break R}}while(1){k=o+(B(c,m)<<2)|0;f=n+(B(c,h)<<2)|0;a=0;while(1){if(v[f>>2]!=v[k>>2]){break Q}k=k+4|0;f=f+4|0;a=a+1|0;if((i|0)!=(a|0)){continue}break}if(M&(v[k>>2]^v[f>>2])){break P}c=c+1|0;if((F|0)!=(c|0)){continue}break}break R}if(!f){break R}k=0;while(1){if(M&(v[o+(B(k,m)<<2)>>2]^v[n+(B(h,k)<<2)>>2])){break P}k=k+1|0;if((F|0)!=(k|0)){continue}break}}_b(b+8|0);_b(b+4|0);v[K>>2]=1;break N}_b(b+8|0);_b(b+4|0);break N}_b(b+8|0);_b(b+4|0)}}Ma=b+48|0;if(v[E+12>>2]==1){break y}s=s+1|0;if((s|0)!=40){continue}}break}_b(E+8|0)}Ma=E+16|0;v[q+88>>2]=d;b=Jw(d,19160);v[q+84>>2]=b;c=Mg(v[r>>2],v[r+4>>2],1);v[q+80>>2]=c;a=r;if(!(!a|!c|(a|0)==(c|0))){v[c+20>>2]=v[a+20>>2];v[c+24>>2]=v[a+24>>2]}_2(v[c+40>>2],v[c+12>>2],v[b+40>>2],v[b>>2],v[b+4>>2],v[b+12>>2],4);_b(q+84|0);_b(q+88|0);_b(q+92|0);_b(q+24|0);f=Ma-16|0;Ma=f;b=H;T:{if(!b|!c){break T}d=b;if(b){e=v[d+8>>2]}else{e=-1}if((e|0)!=((c?v[c+8>>2]:-1)|0)){break T}e=f+12|0;g=f+8|0;if(d){if(e){v[e>>2]=v[d>>2]}if(g){v[g>>2]=v[d+4>>2]}}if(!b){fe(se(0,d),0,0,v[f+12>>2],v[f+8>>2],4,c,0,0);break T}if((b|0)==(d|0)){fe(d,0,0,v[f+12>>2],v[f+8>>2],4,c,0,0);break T}if((b|0)==(c|0)){fe(c,0,0,v[f+12>>2],v[f+8>>2],8,d,0,0);break T}se(b,d);fe(b,0,0,v[f+12>>2],v[f+8>>2],4,c,0,0)}Ma=f+16|0;d=v[290202];if(!d){d=At();v[290202]=d}jk(c,q+76|0,d);U:{if(v[q+76>>2]<=99){_b(q+80|0);break U}jk(b,q+76|0,v[290202]);if(v[q+76>>2]<=99){_b(q+40|0)}b=q;V:{W:{X:{Y:{d=v[a+8>>2];switch(d-1|0){case 1:case 2:case 3:case 4:case 5:case 6:break W;case 0:case 7:break X;default:break Y}}if((d|0)!=32){break W}}if(a){v[a+16>>2]=v[a+16>>2]+1}break V}if(d>>>0>=9){a=j3(a);break V}a=MB(a)}d=b;b=a;v[d+72>>2]=a;Z:{_:{a=v[a+8>>2];if((a|0)!=8){if((a|0)!=32){break _}a=j3(c);break Z}a=MB(c);break Z}if(c){v[c+16>>2]=v[c+16>>2]+1}a=c}_b(q+80|0);if(!(!a|!b)){fe(a,0,0,a?v[a>>2]:-1,a?v[a+4>>2]:-1,28,b,0,0)}_b(q+72|0);if(!a){break U}b=t[I+31|0];c=v[I+20>>2];v[q+8>>2]=5453;v[q+4>>2]=0;v[q>>2]=(b|0)<0?c:I+20|0;b=Ma-16|0;Ma=b;v[b+12>>2]=q;KP(q+40|0,1588,q);Ma=b+16|0;g3(v[q+40>>2],a);$a(v[q+40>>2])}if(v[q+60>>2]){break w}break h}_b(q- -64|0);if(!w[I+2|0]){v[q+24>>2]=0;r=!w[I+1|0];g=w[I|0];d=Ma-72352|0;Ma=d;$:{aa:{a=v[q+60>>2];ba:{if(!a){b=0;break ba}Bt(a);e=r?16777216:0;b=d+128|0;PB(b);v[d+112>>2]=0;v[d+116>>2]=1;v[d+104>>2]=0;v[d+108>>2]=0;v[d+96>>2]=0;v[d+100>>2]=0;v[d+72>>2]=0;c=d- -64|0;v[c>>2]=0;v[c+4>>2]=0;v[d+56>>2]=0;v[d+60>>2]=0;v[d+36>>2]=0;v[d+40>>2]=0;v[d+28>>2]=0;v[d+32>>2]=0;v[d+20>>2]=0;v[d+24>>2]=0;v[d+120>>2]=19;v[d+88>>2]=0;v[d+92>>2]=48;v[d+12>>2]=0;v[d+16>>2]=0;j=v[a>>2];c=j;f=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);n=v[a+4>>2];c=n;k=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);c=v[a+20>>2];h=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);c=v[a+24>>2];m=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);t3(b,v[a+40>>2],j,n,g);MK(b);c=v[b+20>>2];b=v[b+12>>2];j=c+B(v[b+4>>2]-v[b>>2]>>2,20480)|0;v[d+76>>2]=1;v[d+48>>2]=1;v[d+52>>2]=38;v[d+36>>2]=1;v[d+8>>2]=2;v[d+80>>2]=j+26;c=0;H=g?8:0;b=v[a>>2];n=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);a=v[a+4>>2];o=a<<8&16711680|a<<24|(a>>>8&65280|a>>>24);ca:{if(!r){g=j+67|0;b=gb(g);break ca}g=j+102|0;b=gb(g);t[b+9|0]=e;t[b+10|0]=e>>>8;t[b+11|0]=e>>>16;t[b+12|0]=e>>>24;t[b+8|0]=1;v[b>>2]=843205271;v[b+4>>2]=169478669;c=13}Hm(d+88|0,b+c|0);a=v[d+88>>2];c=((y[d+116>>2]<256?11:12)+c|0)+B(v[d+108>>2]-v[d+104>>2]>>2,a>>>0<257?1:a>>>0<65537?2:4)|0;a=c+b|0;t[a+17|0]=0;t[a+18|0]=0;t[a+16|0]=1;t[a+12|0]=m;t[a+13|0]=m>>>8;t[a+14|0]=m>>>16;t[a+15|0]=m>>>24;t[a+8|0]=h;t[a+9|0]=h>>>8;t[a+10|0]=h>>>16;t[a+11|0]=h>>>24;t[a+4|0]=k;t[a+5|0]=k>>>8;t[a+6|0]=k>>>16;t[a+7|0]=k>>>24;t[a|0]=f;t[a+1|0]=f>>>8;t[a+2|0]=f>>>16;t[a+3|0]=f>>>24;a=c+19|0;Hm(d+48|0,a+b|0);c=a+(y[d+76>>2]<256?11:12)|0;a=v[d+48>>2];c=c+B(v[d+68>>2]-v[d+64>>2]>>2,a>>>0<257?1:a>>>0<65537?2:4)|0;a=c+b|0;t[a+8|0]=0;t[a+9|0]=0;t[a+10|0]=0;t[a+11|0]=0;t[a+12|0]=0;t[a+13|0]=0;t[a+14|0]=0;t[a+15|0]=0;t[a+4|0]=o;t[a+5|0]=o>>>8;t[a+6|0]=o>>>16;t[a+7|0]=o>>>24;t[a|0]=n;t[a+1|0]=n>>>8;t[a+2|0]=n>>>16;t[a+3|0]=n>>>24;t[a+18|0]=3;t[a+19|0]=255;t[a+20|0]=253;t[a+21|0]=255;t[a+22|0]=2;t[a+23|0]=254;t[a+24|0]=254;t[a+25|0]=254;t[a+17|0]=H;t[a+16|0]=0;a=c+26|0;NB(d+128|0,a+b|0);a=a+j|0;if(r){v[d+12>>2]=49;c=d+8|0;Hm(c,a+b|0);v[d+12>>2]=51;e=a+(y[d+36>>2]<256?11:12)|0;a=v[d+8>>2];a=e+B(v[d+28>>2]-v[d+24>>2]>>2,a>>>0<257?1:a>>>0<65537?2:4)|0;Hm(c,a+b|0);c=a+(y[d+36>>2]<256?11:12)|0;a=v[d+8>>2];a=c+B(v[d+28>>2]-v[d+24>>2]>>2,a>>>0<257?1:a>>>0<65537?2:4)|0}if((a|0)!=(g|0)){break aa}OB(d+128|0);v[q+24>>2]=g;a=v[d+24>>2];if(a){v[d+28>>2]=a;$a(a)}a=v[d+64>>2];if(a){v[d+68>>2]=a;$a(a)}a=v[d+104>>2];if(!a){break ba}v[d+108>>2]=a;$a(a)}Ma=d+72352|0;break $}S();L()}a=q+40|0;v[a+12>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a>>2]=520704;if(Eq(a,W)){CA(a,b,v[q+24>>2]);Si(a)}_b(q+60|0);if(b){$a(b)}Dt(l);Xh(a);break h}ea=Ma-16|0;Ma=ea;k=v[q+60>>2];if(k){v[k+16>>2]=v[k+16>>2]+1}v[ea+12>>2]=k;da:{if(!w[l+88|0]){break da}e=v[l>>2];a=v[l+104>>2];if((a|0)!=v[l+108>>2]){v[a>>2]=v[e+24>>2];v[l+104>>2]=a+4;break da}b=v[l+100>>2];c=a-b|0;f=c>>2;a=f+1|0;if(a>>>0>=1073741824){break c}d=c>>1;d=f>>>0<536870911?a>>>0>d>>>0?a:d:1073741823;if(d){if(d>>>0>=1073741824){break b}a=ab(d<<2)}else{a=0}f=a+(f<<2)|0;v[f>>2]=v[e+24>>2];if((c|0)>=1){cb(a,b,c)}v[l+108>>2]=a+(d<<2);v[l+104>>2]=f+4;v[l+100>>2]=a;if(!b){break da}$a(b)}i=Ma-16|0;Ma=i;a=v[l>>2];ea:{if(!a|!k|((k?v[k+8>>2]:-1)|0)!=1){break ea}c=a;b=k;if(b){d=v[b>>2]}else{d=-1}v[c+52>>2]=d;v[a+56>>2]=b?v[b+4>>2]:-1;e=v[a+8>>2];H=v[a+12>>2];F=v[a+16>>2];h=i+8|0;d=0;j=Ma-32|0;Ma=j;c=1;fa:{if((i|0)==-12){break fa}v[i+12>>2]=0;if(!h){break fa}v[h>>2]=0;if(!b|e>>>0>2){break fa}Kw(b,j+28|0);if(v[j+28>>2]){c=0;ra=i,sa=_o(0),v[ra+12>>2]=sa;ra=h,sa=hk(0),v[ra>>2]=sa;break fa}ga:{ha:{switch(e|0){case 0:g=oK(b,j+8|0,8);v[j+24>>2]=g;f=v[j+8>>2];break ga;case 1:c=Jw(b,3260);v[j+20>>2]=c;d=c;c=j+4|0;g=oK(d,c,8);v[j+24>>2]=g;f=P2(v[j+4>>2],b);v[j+8>>2]=f;_b(j+20|0);Lj(c);break ga;default:break ha}}c=b?v[b+20>>2]:0;ia:{if((c|0)<=200){if(b){v[b+16>>2]=v[b+16>>2]+1}c=b;v[j+20>>2]=b;g=1;break ia}if((c|0)<=400){c=mK(b,1,0,0,0);v[j+20>>2]=c;g=2;break ia}c=mK(b,1,1,0,0);v[j+20>>2]=c;g=4}e=Ma-96|0;Ma=e;ja:{if(!c){c=0;break ja}n=hk(8);v[e+12>>2]=n;c=se(0,c);v[e+20>>2]=c;oh(n,c,1);o=Gm(7);v[e+24>>2]=o;m=se(0,c);f=nK(m,4);v[e+28>>2]=f;f=f?v[f>>2]:0;v[e+32>>2]=f;G=C(f|0);if(o){ch(o,G)}oh(n,m,1);_b(e+20|0);v[e+20>>2]=m;Fn(e+28|0);m=1e6;c=1;while(1){r=Jw(v[e+20>>2],8032);v[e+16>>2]=r;f=nK(r,4);v[e+28>>2]=f;p=(e+32|0)+(c<<2)|0;f=f?v[f>>2]:0;v[p>>2]=f;G=C(f|0);if(o){ch(o,G)}p=v[p-4>>2];oh(n,r,1);_b(e+20|0);v[e+20>>2]=r;r=p-f|0;f=(r|0)<(m|0);m=f?r:m;d=f?c:d;f=(c|0)!=7;Fn(e+28|0);c=c+1|0;if(f){continue}break}_b(e+20|0);c=$e(n,d);v[e+16>>2]=c;d=Ai(1,d,0,d-1|0);v[e+8>>2]=d;c=Qk(0,c,d);Vi(e+8|0);_b(e+16|0);Lj(e+12|0);$h(e+24|0)}Ma=e+96|0;v[j+16>>2]=c;c=f3(c,g);v[j+12>>2]=c;d=c;c=j+4|0;g=oK(d,c,4);v[j+24>>2]=g;f=P2(v[j+4>>2],b);v[j+8>>2]=f;Lj(c);_b(j+20|0);_b(j+16|0);_b(j+12|0)}c=0;d=0;m=Ma-16|0;Ma=m;if(f){ka:{if(!f){break ka}b=v[f+16>>2];if(!b){break ka}la:{if(b){v[b+8>>2]=v[b+8>>2]+1;break la}b=0}d=b}v[m+12>>2]=d;n=O2(d,H,F);v[m+8>>2]=n;Fn(m+12|0);d=0;b=0;o=Ma-16|0;Ma=o;ma:{if(!f|!n){break ma}e=n?v[n+4>>2]:0;if((e|0)>=1){while(1){kj(n,d,o+12|0);b=(v[o+12>>2]==1)+b|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}}if((b|0)==(e|0)){na:{if(f){v[f+8>>2]=v[f+8>>2]+1;b=f;break na}b=0}break ma}b=hk(b);if((e|0)<1){break ma}d=0;while(1){kj(n,d,o+12|0);if(v[o+12>>2]){r=$e(f,d);p=$2(f,d,2);oh(b,r,0);ap(b,p)}d=d+1|0;if((e|0)!=(d|0)){continue}break}}Ma=o+16|0;$h(m+8|0);d=b}Ma=m+16|0;v[h>>2]=d;b=0;m=Ma-16|0;Ma=m;if(g){f=O2(g,H,F);v[m+12>>2]=f;d=0;h=Ma-16|0;Ma=h;oa:{if(!g|!f){break oa}e=f?v[f+4>>2]:0;if((e|0)>=1){while(1){kj(f,d,h+12|0);b=(v[h+12>>2]==1)+b|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}}if((b|0)==(e|0)){pa:{if(g){v[g+8>>2]=v[g+8>>2]+1;b=g;break pa}b=0}break oa}b=_o(b);if((e|0)<1){break oa}d=0;while(1){kj(f,d,h+12|0);if(v[h+12>>2]){HB(b,Zo(g,d))}d=d+1|0;if((e|0)!=(d|0)){continue}break}}Ma=h+16|0;$h(m+12|0)}Ma=m+16|0;v[i+12>>2]=b;Lj(j+8|0);Fn(j+24|0)}Ma=j+32|0;if(c){break ea}V=v[i+12>>2];O=v[i+8>>2];f=0;e=0;qa:{if(!a|!k){break qa}if(!(!(V?v[V>>2]:0)|(!V|!O))){ra:{if(!v[a+4>>2]){g=Ma-80|0;Ma=g;p=1;sa:{if(!O|(!a|!V)){break sa}M=v[a+20>>2];b=v[a+32>>2];c=b;b=(b|0)/2|0;c=Ai(c,c,b,b);v[g+12>>2]=c;h=O?v[O>>2]:0;m=hk(h);v[g+24>>2]=m;ca=hk(h);v[g+20>>2]=ca;if((h|0)>=1){p=0;while(1){b=$e(O,p);v[g+48>>2]=b;b=zK(b,6,6,6,6);v[g+44>>2]=b;d=Rk(0,b,c);v[g+40>>2]=d;oh(m,b,0);oh(ca,d,0);_b(g+48|0);p=p+1|0;if((h|0)!=(p|0)){continue}break}}b=0;p=0;N=Ma-16|0;Ma=N;c=m;ta:{if(!c){break ta}n=c;if(c){o=v[n>>2]}else{o=0}if(!o){break ta}c=$e(n,0);v[N+12>>2]=c;c=c?v[c+8>>2]:-1;_b(N+12|0);ua:{switch(c-1|0){case 0:case 7:break ua;default:break ta}}d=zt(o);if(!d){break ta}if(!v[290205]){e=a3();v[290205]=e;if(!e){break ta}}if(!v[290206]){e=At();v[290206]=e;if(!e){break ta}}va:{if((o|0)<1){break va}if((c|0)==1){while(1){ra=N,sa=$e(n,p),v[ra+12>>2]=sa;b=v[N+12>>2];if(b){e=v[b+4>>2]}else{e=-1}b=v[N+12>>2];if(b){r=v[b+40>>2]}else{r=0}b=v[N+12>>2];if(b){f=v[b+12>>2]}else{f=-1}wa:{xa:{if((e|0)<=0){break xa}j=0;if((f|0)>0){H=v[290205];F=v[290206];G=C(0);J=C(0);s=0;while(1){aa=r+(B(f,j)<<2)|0;b=0;c=0;while(1){E=v[aa+(b<<2)>>2];if(E){_=E<<2&1020;K=v[_+F>>2];X=E>>>6&1020;R=v[X+F>>2];$=E>>>14&1020;T=v[$+F>>2];Y=E>>>22&1020;P=v[Y+F>>2];E=b<<5;J=C(C(C(C(J+C(v[H+_>>2]+B(K,E|24)|0))+C(v[H+X>>2]+B(R,E|16)|0))+C(v[H+$>>2]+B(T,E|8)|0))+C(v[H+Y>>2]+B(E,P)|0));c=P+(T+(R+(c+K|0)|0)|0)|0}b=b+1|0;if((f|0)!=(b|0)){continue}break}s=c+s|0;G=C(G+C(B(c,j)|0));j=j+1|0;if((e|0)!=(j|0)){continue}break}if(!s){break xa}Q=J;J=C(s|0);Q=C(Q/J);G=C(G/J);if(d){Nl(d,Q,G)}break wa}b=e&7;if(e-1>>>0>=7){f=e&-8;while(1){f=f-8|0;if(f){continue}break}}if(!b){break xa}while(1){b=b-1|0;if(b){continue}break}}if(d){Nl(d,C(0),C(0))}}_b(N+12|0);p=p+1|0;if((o|0)!=(p|0)){continue}break va}}while(1){b=$e(n,p);v[N+12>>2]=b;e=b?v[b>>2]:-1;b=v[N+12>>2];if(b){j=v[b+4>>2]}else{j=-1}b=v[N+12>>2];if(b){r=v[b+40>>2]}else{r=0}b=v[N+12>>2];if(b){H=v[b+12>>2]}else{H=-1}ya:{za:{if(!((j|0)<1|(e|0)<1)){F=e&-2;T=e&1;J=C(0);s=0;G=C(0);c=0;while(1){E=r+(B(s,H)<<2)|0;b=0;f=F;if((e|0)!=1){while(1){P=b|1;R=w[P+E^3];K=w[b+E^3];c=R+(K+c|0)|0;J=C(C(J+C(B(s,K)|0))+C(B(s,R)|0));G=C(C(G+C(B(b,K)|0))+C(B(P,R)|0));b=b+2|0;f=f-2|0;if(f){continue}break}}if(T){f=w[b+E^3];c=f+c|0;J=C(J+C(B(f,s)|0));G=C(G+C(B(b,f)|0))}s=s+1|0;if((j|0)!=(s|0)){continue}break}if(c){break za}}if(d){Nl(d,C(0),C(0))}break ya}Q=G;G=C(c|0);Q=C(Q/G);G=C(J/G);if(d){Nl(d,Q,G)}}_b(N+12|0);p=p+1|0;if((o|0)!=(p|0)){continue}break}}b=d}Ma=N+16|0;v[g+16>>2]=b;s=0;N2(v[a+88>>2],b);E=v[a+100>>2];K=v[a+96>>2];R=v[a+92>>2];da=At();_=v[a+80>>2];X=v[a+76>>2];N=v[a+72>>2];$=v[a+68>>2];Z=z[a+36>>2];Aa:{if(Z==C(1)){if((h|0)<1){break Aa}G=C(M|0);while(1){ra=g,sa=$e(m,s),v[ra+44>>2]=sa;ra=g,sa=$e(ca,s),v[ra+40>>2]=sa;Hn(b,s,g+68|0,g- -64|0);r=N?v[N>>2]:0;c=v[g+44>>2];F=Yb(1,24);v[F+4>>2]=(c?v[c>>2]:-1)-12;c=c?v[c+4>>2]:-1;v[F>>2]=a;v[F+8>>2]=c-12;Ba:{Ca:{Da:{Ea:{Fa:{while(1){M=IB(F);if((M|0)<0){break Fa}ra=g,sa=$e(N,M),v[ra+36>>2]=sa;ra=g,sa=$e(X,M),v[ra+32>>2]=sa;Hn(R,M,g+60|0,g+56|0);aa=v[g+40>>2];T=v[g+36>>2];Y=v[g+32>>2];J=C(z[g+68>>2]-z[g+60>>2]);Q=C(z[g+64>>2]-z[g+56>>2]);P=0;p=Ma-16|0;Ma=p;n=v[g+44>>2];if(n){d=v[n>>2]}else{d=-1}e=n?v[n+4>>2]:-1;f=T?v[T>>2]:-1;j=T?v[T+4>>2]:-1;o=d-f|0;c=o>>31;Ga:{if((c^c+o)>2){break Ga}o=e-j|0;c=o>>31;if((c^c+o)>2){break Ga}c=Ct(n);v[p+8>>2]=c;fe(c,0,0,d,e,24,n,0,0);U=(Q>=C(0)?.5:-.5)+ +Q;Ha:{if(D(U)<2147483648){n=~~U;break Ha}n=-2147483648}H=c;U=(J>=C(0)?.5:-.5)+ +J;Ia:{if(D(U)<2147483648){o=~~U;break Ia}o=-2147483648}fe(H,o,n,d,e,4,Y,0,0);Kw(c,p+12|0);if(!v[p+12>>2]){_b(p+8|0);break Ga}fe(c,o,n,f,j,24,T,0,0);fe(c,0,0,f,j,4,aa,0,0);Kw(c,p+12|0);_b(p+8|0);P=v[p+12>>2]}Ma=p+16|0;_b(g+36|0);_b(g+32|0);if((P|0)!=1){continue}break}J=C(M|0);if(K){ch(K,J)}if(E){ch(E,G)}if(!v[a+64>>2]){break Ea}ra=g,sa=vK($,M),v[ra+28>>2]=sa;c=$e(O,s);v[g+48>>2]=c;oh(v[g+28>>2],c,0);c=Zo(V,s);ap(v[g+28>>2],c);Lj(g+28|0);if(F){break Da}break Ca}if(F){$h(F+16|0);$a(F)}J=C(r|0);Q=J;if(K){ch(K,Q)}if(E){ch(E,G)}ra=g,sa=hk(0),v[ra+28>>2]=sa;c=$e(O,s);v[g+48>>2]=c;oh(v[g+28>>2],c,0);c=v[g+48>>2];if(c){c=v[c>>2]}else{c=-1}d=v[g+48>>2];if(d){d=v[d+4>>2]}else{d=-1}c=B(c,d);if(_){UC(_,c,J)}c=Zo(V,s);ap(v[g+28>>2],c);wK($,v[g+28>>2]);J=z[g+68>>2];Q=z[g+64>>2];if(R){Nl(R,J,Q)}oh(N,v[g+44>>2],0);oh(X,v[g+40>>2],0);break Ba}if(!F){break Ca}}$h(F+16|0);$a(F)}_b(g+44|0);_b(g+40|0)}s=s+1|0;if((h|0)!=(s|0)){continue}break}break Aa}e=0;c=0;f=Ma-16|0;Ma=f;Ja:{if(!O){break Ja}d=O?v[O>>2]:0;if(!d){c=Gm(1);break Ja}j=$e(O,0);v[f+8>>2]=j;j=j?v[j+8>>2]:-1;_b(f+8|0);if((j|0)!=1){break Ja}c=Yb(256,4);if(c){while(1){v[c+(e<<2)>>2]=(((((((e&1)+(e>>>7|0)|0)+(e>>>1&1)|0)+(e>>>2&1)|0)+(e>>>3&1)|0)+(e>>>4&1)|0)+(e>>>5&1)|0)+(e>>>6&1);e=e+1|0;if((e|0)!=256){continue}break}e=c}c=Gm(d);if(!c){c=0;break Ja}if((d|0)>=1){while(1){j=$e(O,s);v[f+8>>2]=j;jk(j,f+12|0,e);G=C(v[f+12>>2]);if(c){ch(c,G)}_b(f+8|0);s=s+1|0;if((d|0)!=(s|0)){continue}break}}$a(e)}Ma=f+16|0;v[g+52>>2]=c;if(!c){p=1;break sa}Y=v[a+84>>2];ba=At();if((h|0)>=1){G=C(M|0);p=0;while(1){ra=g,sa=$e(m,p),v[ra+44>>2]=sa;kj(c,p,g+76|0);ra=g,sa=$e(ca,p),v[ra+40>>2]=sa;Hn(b,p,g+68|0,g- -64|0);H=N?v[N>>2]:0;d=v[g+44>>2];s=Yb(1,24);v[s+4>>2]=(d?v[d>>2]:-1)-12;d=d?v[d+4>>2]:-1;v[s>>2]=a;v[s+8>>2]=d-12;Ka:{La:{Ma:{Na:{Oa:{while(1){T=IB(s);if((T|0)<0){break Oa}ra=g,sa=$e(N,T),v[ra+36>>2]=sa;kj(Y,T,g+72|0);ra=g,sa=$e(X,T),v[ra+32>>2]=sa;Hn(R,T,g+60|0,g+56|0);fa=v[g+40>>2];P=v[g+36>>2];ha=v[g+32>>2];J=C(z[g+68>>2]-z[g+60>>2]);Q=C(z[g+64>>2]-z[g+56>>2]);ia=v[g+76>>2];ja=v[g+72>>2];aa=0;M=Ma-16|0;Ma=M;o=v[g+44>>2];if(o){e=v[o>>2]}else{e=-1}f=o?v[o+4>>2]:-1;j=P?v[P>>2]:-1;n=P?v[P+4>>2]:-1;r=e-j|0;d=r>>31;Pa:{if((d^d+r)>2){break Pa}r=f-n|0;d=r>>31;if((d^d+r)>2){break Pa}d=Ct(o);v[M+8>>2]=d;fe(d,0,0,e,f,24,o,0,0);U=(Q>=C(0)?.5:-.5)+ +Q;Qa:{if(D(U)<2147483648){o=~~U;break Qa}o=-2147483648}F=d;U=(J>=C(0)?.5:-.5)+ +J;Ra:{if(D(U)<2147483648){r=~~U;break Ra}r=-2147483648}fe(F,r,o,e,f,4,ha,0,0);e=d;U=1-+Z;ga=U*+(ia|0)+.5;Sa:{if(D(ga)<2147483648){f=~~ga;break Sa}f=-2147483648}b3(e,f,M+12|0,ba);if(v[M+12>>2]==1){_b(M+8|0);break Pa}fe(d,r,o,j,n,24,P,0,0);fe(d,0,0,j,n,4,fa,0,0);U=U*+(ja|0)+.5;Ta:{if(D(U)<2147483648){e=~~U;break Ta}e=-2147483648}b3(d,e,M+12|0,ba);_b(M+8|0);aa=v[M+12>>2]!=1}Ma=M+16|0;_b(g+36|0);_b(g+32|0);if((aa|0)!=1){continue}break}J=C(T|0);if(K){ch(K,J)}if(E){ch(E,G)}if(!v[a+64>>2]){break Na}ra=g,sa=vK($,T),v[ra+28>>2]=sa;d=$e(O,p);v[g+48>>2]=d;oh(v[g+28>>2],d,0);d=Zo(V,p);ap(v[g+28>>2],d);Lj(g+28|0);if(s){break Ma}break La}if(s){$h(s+16|0);$a(s)}J=C(H|0);Q=J;if(K){ch(K,Q)}if(E){ch(E,G)}ra=g,sa=hk(0),v[ra+28>>2]=sa;d=$e(O,p);v[g+48>>2]=d;oh(v[g+28>>2],d,0);d=v[g+48>>2];if(d){d=v[d>>2]}else{d=-1}e=v[g+48>>2];if(e){e=v[e+4>>2]}else{e=-1}d=B(d,e);if(_){UC(_,d,J)}d=Zo(V,p);ap(v[g+28>>2],d);wK($,v[g+28>>2]);J=z[g+68>>2];Q=z[g+64>>2];if(R){Nl(R,J,Q)}oh(N,v[g+44>>2],0);oh(X,v[g+40>>2],0);J=C(v[g+76>>2]);if(Y){ch(Y,J)}break Ka}if(!s){break La}}$h(s+16|0);$a(s)}_b(g+44|0);_b(g+40|0)}p=p+1|0;if((h|0)!=(p|0)){continue}break}}$a(ba);$h(g+52|0)}v[a+60>>2]=N?v[N>>2]:0;$a(da);Vq(g+16|0);Lj(g+24|0);Lj(g+20|0);Vi(g+12|0);p=0}Ma=g+80|0;if(!p){break ra}break qa}b=Ma-48|0;Ma=b;p=1;Ua:{if(!O|(!a|!V)){break Ua}_=v[a+20>>2];d=O?v[O>>2]:0;M=hk(d);v[b+4>>2]=M;if((d|0)>=1){while(1){c=$e(O,f);v[b+20>>2]=c;c=zK(c,6,6,6,6);v[b+16>>2]=c;oh(M,c,0);_b(b+20|0);f=f+1|0;if((d|0)!=(f|0)){continue}break}}H=v[a+84>>2];F=v[a+100>>2];N=v[a+96>>2];j=At();o=Yb(d,4);r=Yb(d,4);n=a3();if(!n|(!o|!r)){break Ua}E=zt(d);v[b>>2]=E;X=(d|0)<1;if(!X){while(1){c=$e(M,e);v[b+20>>2]=c;$=e<<2;R=Yb(c?v[c+4>>2]:-1,4);v[$+r>>2]=R;c=v[b+20>>2];if(c){g=v[c+12>>2]}else{g=-1}c=v[b+20>>2];if(c){h=v[c+40>>2]}else{h=0}c=v[b+20>>2];if(c){m=v[c+4>>2]}else{m=-1}J=C(0);Va:{Wa:{c=v[b+20>>2];if(c){c=v[c+4>>2]}else{c=-1}Xa:{if((c|0)<1){break Xa}f=c-1|0;if((g|0)>0){break Wa}eb(R,0,c<<2);p=c&7;if(p){while(1){f=f-1|0;p=p-1|0;if(p){continue}break}}if(c-1>>>0<7){break Xa}while(1){c=(f|0)>7;f=f-8|0;if(c){continue}break}}G=C(0);s=0;break Va}ca=0-g|0;c=h+(B(g,m-1|0)<<2)|0;G=C(0);s=0;while(1){v[R+(f<<2)>>2]=s;K=0;p=0;while(1){h=v[(p<<2)+c>>2];Y=(h&255)<<2;m=v[Y+j>>2];ba=h>>>6&1020;T=v[ba+j>>2];da=h>>>14&1020;P=v[da+j>>2];fa=h>>>22&1020;aa=v[fa+j>>2];h=p<<5;G=C(C(C(C(G+C(v[n+Y>>2]+B(m,h|24)|0))+C(v[n+ba>>2]+B(T,h|16)|0))+C(v[n+da>>2]+B(P,h|8)|0))+C(v[n+fa>>2]+B(h,aa)|0));K=aa+(P+(T+(m+K|0)|0)|0)|0;p=p+1|0;if((g|0)!=(p|0)){continue}break}s=s+K|0;c=(ca<<2)+c|0;J=C(J+C(B(f,K)|0));h=(f|0)>0;f=f-1|0;if(h){continue}break}}v[o+$>>2]=s;Q=G;G=C(s|0);Q=C(Q/G);G=C(J/G);if(E){Nl(E,Q,G)}_b(b+20|0);e=e+1|0;if((d|0)!=(e|0)){continue}break}}s=0;N2(v[a+88>>2],E);f=v[a+72>>2];Ya:{if(!X){J=z[a+40>>2];U=+J;Q=z[a+44>>2];ga=(1-U)*+Q;G=C(_|0);R=v[a+80>>2];m=v[a+48>>2];T=v[a+68>>2];g=v[a+92>>2];while(1){ra=b,sa=$e(M,s),v[ra+16>>2]=sa;P=s<<2;K=v[P+o>>2];Hn(E,s,b+36|0,b+32|0);c=f?v[f>>2]:0;h=v[b+16>>2];e=Yb(1,24);v[e+4>>2]=(h?v[h>>2]:-1)-12;h=h?v[h+4>>2]:-1;v[e>>2]=a;v[e+8>>2]=h-12;h=r+P|0;Za:{_a:{$a:{ab:{bb:{cb:{if(Q>C(0)){while(1){p=IB(e);if((p|0)<0){break bb}ra=b,sa=$e(f,p),v[ra+12>>2]=sa;kj(H,p,b+40|0);Hn(g,p,b+28|0,b+24|0);kj(m,p,b+44|0);P=v[b+40>>2];P=M2(v[b+16>>2],v[b+12>>2],K,P,C(z[b+36>>2]-z[b+28>>2]),C(z[b+32>>2]-z[b+24>>2]),j,v[h>>2],C(ga*+(P|0)/+v[b+44>>2]+U));_b(b+12|0);if(!P){continue}break cb}}while(1){p=IB(e);if((p|0)<0){break bb}ra=b,sa=$e(f,p),v[ra+12>>2]=sa;kj(H,p,b+40|0);Hn(g,p,b+28|0,b+24|0);P=M2(v[b+16>>2],v[b+12>>2],K,v[b+40>>2],C(z[b+36>>2]-z[b+28>>2]),C(z[b+32>>2]-z[b+24>>2]),j,v[h>>2],J);_b(b+12|0);if(!P){continue}break}}Z=C(p|0);if(N){ch(N,Z)}if(F){ch(F,G)}if(!v[a+64>>2]){break ab}ra=b,sa=vK(T,p),v[ra+8>>2]=sa;c=$e(O,s);v[b+20>>2]=c;oh(v[b+8>>2],c,0);c=Zo(V,s);ap(v[b+8>>2],c);Lj(b+8|0);if(e){break $a}break _a}if(e){$h(e+16|0);$a(e)}Z=C(c|0);ka=Z;if(N){ch(N,ka)}if(F){ch(F,G)}ra=b,sa=hk(0),v[ra+8>>2]=sa;c=$e(O,s);v[b+20>>2]=c;oh(v[b+8>>2],c,0);c=v[b+20>>2];if(c){c=v[c>>2]}else{c=-1}e=v[b+20>>2];if(e){e=v[e+4>>2]}else{e=-1}c=B(c,e);if(R){UC(R,c,Z)}c=Zo(V,s);ap(v[b+8>>2],c);wK(T,v[b+8>>2]);Z=z[b+36>>2];ka=z[b+32>>2];if(g){Nl(g,Z,ka)}Z=C(K|0);if(H){ch(H,Z)}oh(f,v[b+16>>2],0);c=v[b+16>>2];if(c){c=v[c>>2]}else{c=-1}e=b;h=v[b+16>>2];if(h){h=v[h+4>>2]}else{h=-1}c=B(h-12|0,c-12|0);v[e+44>>2]=c;Z=C(c|0);if(m){ch(m,Z)}break Za}if(!e){break _a}}$h(e+16|0);$a(e)}_b(b+16|0)}s=s+1|0;if((d|0)!=(s|0)){continue}break}v[a+60>>2]=f?v[f>>2]:0;$a(o);$a(n);if((d|0)<1){break Ya}p=0;while(1){$a(v[r+(p<<2)>>2]);p=p+1|0;if((d|0)!=(p|0)){continue}break}break Ya}v[a+60>>2]=f?v[f>>2]:0;$a(o);$a(n)}$a(r);$a(j);Vq(b);Lj(b+4|0);p=0}Ma=b+48|0;if(p){break qa}}c=0;e=0;m=0;d=Ma+-64|0;Ma=d;b=1;db:{if(!V|(!a|!k)){break db}b=V?v[V>>2]:0;M=v[a+24>>2];R=v[a+92>>2];T=v[a+88>>2];P=v[a+96>>2];F=v[a+104>>2];r=At();j=b;if((b|0)>=1){while(1){b=m+M|0;Hn(T,b,d+32|0,d+24|0);kj(P,b,d+44|0);Hn(R,v[d+44>>2],d+28|0,d+20|0);G=z[d+32>>2];J=z[d+28>>2];Q=z[d+24>>2];Z=z[d+20>>2];f=Zo(V,m);v[d+16>>2]=f;Q=C(Z-Q);U=(Q>=C(0)?.5:-.5)+ +Q;eb:{if(D(U)<2147483648){g=~~U;break eb}g=-2147483648}G=C(J-G);U=(G>=C(0)?.5:-.5)+ +G;fb:{if(D(U)<2147483648){h=~~U;break fb}h=-2147483648}if(!f){b=1;break db}Uq(f,d+40|0,d+36|0,0,0);n=$e(v[a+72>>2],v[d+44>>2]);v[d+12>>2]=n;gb:{if(!n|!r){break gb}b=n?v[n>>2]:-1;f=n?v[n+4>>2]:-1;e=qK((v[d+40>>2]-h|0)-6|0,(v[d+36>>2]-g|0)-6|0,b,f);v[d+48>>2]=e;c=0;o=JB(k,e);v[d+56>>2]=o;pK(d+48|0);e=0;if(!o){break gb}c=Mg(o?v[o>>2]:-1,o?v[o+4>>2]:-1,1);v[d+52>>2]=c;se(c,o);fe(v[d+52>>2],-1,-1,b,f,12,n,0,0);c=d+60|0;jk(v[d+52>>2],c,r);e=v[d+60>>2];se(v[d+52>>2],o);fe(v[d+52>>2],0,-1,b,f,12,n,0,0);jk(v[d+52>>2],c,r);H=v[d+60>>2];se(v[d+52>>2],o);fe(v[d+52>>2],1,-1,b,f,12,n,0,0);jk(v[d+52>>2],c,r);p=v[d+60>>2];se(v[d+52>>2],o);fe(v[d+52>>2],-1,0,b,f,12,n,0,0);jk(v[d+52>>2],c,r);O=v[d+60>>2];se(v[d+52>>2],o);fe(v[d+52>>2],0,0,b,f,12,n,0,0);jk(v[d+52>>2],c,r);N=v[d+60>>2];se(v[d+52>>2],o);fe(v[d+52>>2],1,0,b,f,12,n,0,0);jk(v[d+52>>2],c,r);s=v[d+60>>2];se(v[d+52>>2],o);fe(v[d+52>>2],-1,1,b,f,12,n,0,0);jk(v[d+52>>2],c,r);E=v[d+60>>2];se(v[d+52>>2],o);fe(v[d+52>>2],0,1,b,f,12,n,0,0);jk(v[d+52>>2],c,r);K=v[d+60>>2];se(v[d+52>>2],o);fe(v[d+52>>2],1,1,b,f,12,n,0,0);jk(v[d+52>>2],c,r);b=(e|0)>(H|0)?H:e;c=(b|0)>(p|0);da=c?1:(e|0)<=(H|0)?-1:0;c=c?p:b;b=(c|0)>(O|0);c=b?O:c;e=(c|0)>(N|0);c=e?N:c;f=(c|0)>(s|0);c=f?s:c;n=(c|0)>(E|0);c=n?E:c;o=(c|0)>(K|0);H=v[d+60>>2]<((o?K:c)|0);c=H?1:o?0:n?-1:f?1:e?0:b?-1:da;e=H?1:n?1:o?1:(f|(b|e))-1|0;_b(d+56|0);_b(d+52|0)}G=C(v[d+40>>2]+(c-h|0)|0);J=C(v[d+36>>2]+(e-g|0)|0);if(F){Nl(F,G,J)}pK(d+16|0);_b(d+12|0);m=m+1|0;if((j|0)!=(m|0)){continue}break}}$a(r);b=0}Ma=d- -64|0;if(b){break qa}c=V?v[V>>2]:0;v[a+24>>2]=c+v[a+24>>2];G=C(c|0);b=v[a+28>>2];if(b){ch(b,G)}}v[a+20>>2]=v[a+20>>2]+1}Fn(i+12|0);Lj(i+8|0)}Ma=i+16|0;d=v[k>>2];a=v[l+56>>2];c=v[l+60>>2];hb:{if(a>>>0>>0){v[a>>2]=d;v[l+56>>2]=a+4;break hb}b=v[l+52>>2];e=a-b|0;f=e>>2;a=f+1|0;if(a>>>0>=1073741824){break c}c=c-b|0;g=c>>1;c=c>>2>>>0<536870911?a>>>0>g>>>0?a:g:1073741823;if(c){if(c>>>0>=1073741824){break b}a=ab(c<<2)}else{a=0}f=a+(f<<2)|0;v[f>>2]=d;if((e|0)>=1){cb(a,b,e)}v[l+60>>2]=a+(c<<2);v[l+56>>2]=f+4;v[l+52>>2]=a;if(!b){break hb}$a(b)}d=v[k+4>>2];a=v[l+68>>2];c=v[l+72>>2];ib:{if(a>>>0>>0){v[a>>2]=d;v[l+68>>2]=a+4;break ib}b=v[l- -64>>2];e=a-b|0;f=e>>2;a=f+1|0;if(a>>>0>=1073741824){break c}c=c-b|0;g=c>>1;c=c>>2>>>0<536870911?a>>>0>g>>>0?a:g:1073741823;if(c){if(c>>>0>=1073741824){break b}a=ab(c<<2)}else{a=0}f=a+(f<<2)|0;v[f>>2]=d;if((e|0)>=1){cb(a,b,e)}v[l+72>>2]=a+(c<<2);v[l+68>>2]=f+4;v[l+64>>2]=a;if(!b){break ib}$a(b)}_b(ea+12|0);Ma=ea+16|0;_b(q+60|0);v[q+92>>2]=0;b=0;c=0;f=0;g=0;h=Ma-72320|0;Ma=h;a=v[l>>2];m=v[a+20>>2];d=v[v[a+72>>2]>>2];v[h+72312>>2]=0;v[h+72304>>2]=0;v[h+72308>>2]=0;if(d){if(d>>>0>=1073741824){break c}d=d<<2;c=ab(d);v[h+72304>>2]=c;e=c+d|0;v[h+72312>>2]=e;eb(c,0,d);v[h+72308>>2]=e}d=v[a+96>>2];if(v[d+4>>2]>0){while(1){kj(d,b,h- -64|0);a=(v[h+64>>2]<<2)+c|0;v[a>>2]=v[a>>2]+1;b=b+1|0;a=v[l>>2];d=v[a+96>>2];if((b|0)>2]){continue}break}}v[h+72296>>2]=0;v[h+72288>>2]=0;v[h+72292>>2]=0;jb:{if(v[v[a+72>>2]>>2]<=0){d=0;break jb}d=0;b=0;kb:{while(1){e=v[(b<<2)+c>>2];if(!e){break kb}lb:{if((e|0)==1&(m|0)!=1){break lb}if(d>>>0>>0){v[d>>2]=b;d=d+4|0;v[h+72292>>2]=d;break lb}k=d-f|0;j=k>>2;d=j+1|0;if(d>>>0>=1073741824){break c}e=g-f|0;g=e>>1;d=e>>2>>>0<536870911?d>>>0>g>>>0?d:g:1073741823;if(d){if(d>>>0>=1073741824){break b}e=ab(d<<2)}else{e=0}j=e+(j<<2)|0;v[j>>2]=b;g=e+(d<<2)|0;d=j+4|0;if((k|0)>=1){cb(e,f,k)}v[h+72296>>2]=g;v[h+72292>>2]=d;v[h+72288>>2]=e;if(f){$a(f);a=v[l>>2]}f=e}b=b+1|0;if((b|0)>2]>>2]){continue}break}break jb}S();L()}v[l+48>>2]=d-f>>2;f=0;mb:{b=v[a+100>>2];if(v[b+4>>2]<=0){break mb}g=l+40|0;k=l+28|0;nb:{while(1){kj(b,f,h- -64|0);ob:{b=v[k>>2];if(!b){b=k;a=b;break ob}d=v[h+64>>2];a=k;while(1){c=v[b+16>>2];pb:{if((c|0)>(d|0)){c=v[b>>2];if(c){break pb}a=b;break ob}if((c|0)>=(d|0)){break ob}a=b+4|0;c=v[b+4>>2];if(!c){break ob}b=a}a=b;b=c;continue}}c=v[a>>2];if(!c){c=ab(32);d=v[h+64>>2];v[c+28>>2]=0;v[c+20>>2]=0;v[c+24>>2]=0;v[c+16>>2]=d;v[c+8>>2]=b;v[c>>2]=0;v[c+4>>2]=0;v[a>>2]=c;b=v[v[l+24>>2]>>2];if(b){v[l+24>>2]=b;a=v[a>>2]}else{a=c}j=v[k>>2];b=(j|0)==(a|0);t[a+12|0]=b;qb:{if(b){break qb}while(1){e=v[a+8>>2];if(w[e+12|0]){break qb}rb:{b=v[e+8>>2];d=v[b>>2];sb:{if((e|0)==(d|0)){d=v[b+4>>2];if(!(!d|w[d+12|0])){break rb}tb:{if(v[e>>2]==(a|0)){d=e;break tb}d=v[e+4>>2];j=v[d>>2];v[e+4>>2]=j;a=d;if(j){v[j+8>>2]=e;b=v[e+8>>2]}v[a+8>>2]=b;a=v[e+8>>2];v[(((e|0)!=v[a>>2])<<2)+a>>2]=d;v[d>>2]=e;v[e+8>>2]=d;b=v[d+8>>2]}t[d+12|0]=1;t[b+12|0]=0;a=v[b>>2];d=v[a+4>>2];v[b>>2]=d;if(d){v[d+8>>2]=b}v[a+8>>2]=v[b+8>>2];d=v[b+8>>2];v[((v[d>>2]!=(b|0))<<2)+d>>2]=a;v[a+4>>2]=b;break sb}if(!(w[d+12|0]|!d)){break rb}ub:{if(v[e>>2]!=(a|0)){a=e;break ub}j=v[a+4>>2];v[e>>2]=j;d=a;if(j){v[j+8>>2]=e;b=v[e+8>>2]}v[d+8>>2]=b;b=v[e+8>>2];v[(((e|0)!=v[b>>2])<<2)+b>>2]=a;v[a+4>>2]=e;v[e+8>>2]=a;b=v[a+8>>2]}t[a+12|0]=1;t[b+12|0]=0;a=v[b+4>>2];d=v[a>>2];v[b+4>>2]=d;if(d){v[d+8>>2]=b}v[a+8>>2]=v[b+8>>2];d=v[b+8>>2];v[((v[d>>2]!=(b|0))<<2)+d>>2]=a;v[a>>2]=b}v[b+8>>2]=a;break qb}t[e+12|0]=1;e=(b|0)==(j|0);t[b+12|0]=e;t[d+12|0]=1;a=b;if(!e){continue}break}}v[l+32>>2]=v[l+32>>2]+1}a=v[c+24>>2];vb:{if((a|0)!=v[c+28>>2]){v[a>>2]=f;v[c+24>>2]=a+4;break vb}b=v[c+20>>2];d=a-b|0;j=d>>2;a=j+1|0;if(a>>>0>=1073741824){break c}e=d>>1;e=j>>>0<536870911?a>>>0>e>>>0?a:e:1073741823;if(e){if(e>>>0>=1073741824){break b}a=ab(e<<2)}else{a=0}j=a+(j<<2)|0;v[j>>2]=f;if((d|0)>=1){cb(a,b,d)}v[c+28>>2]=a+(e<<2);v[c+24>>2]=j+4;v[c+20>>2]=a;if(!b){break vb}$a(b)}kj(v[v[l>>2]+96>>2],f,h+24|0);wb:{j=v[h+24>>2];xb:{if((m|0)==1|v[v[h+72304>>2]+(j<<2)>>2]!=1){break xb}yb:{b=v[g>>2];if(!b){b=g;a=b;break yb}d=v[h+64>>2];a=g;while(1){c=v[b+16>>2];zb:{if((c|0)>(d|0)){c=v[b>>2];if(c){break zb}a=b;break yb}if((c|0)>=(d|0)){break yb}a=b+4|0;c=v[b+4>>2];if(!c){break yb}b=a}a=b;b=c;continue}}c=v[a>>2];if(!c){c=ab(32);d=v[h+64>>2];v[c+28>>2]=0;v[c+20>>2]=0;v[c+24>>2]=0;v[c+16>>2]=d;v[c+8>>2]=b;v[c>>2]=0;v[c+4>>2]=0;v[a>>2]=c;b=v[v[l+36>>2]>>2];if(b){v[l+36>>2]=b;a=v[a>>2]}else{a=c}n=v[g>>2];b=(n|0)==(a|0);t[a+12|0]=b;Ab:{if(b){break Ab}while(1){e=v[a+8>>2];if(w[e+12|0]){break Ab}Bb:{b=v[e+8>>2];d=v[b>>2];Cb:{if((e|0)==(d|0)){d=v[b+4>>2];if(!(!d|w[d+12|0])){break Bb}Db:{if(v[e>>2]==(a|0)){d=e;break Db}d=v[e+4>>2];n=v[d>>2];v[e+4>>2]=n;a=d;if(n){v[n+8>>2]=e;b=v[e+8>>2]}v[a+8>>2]=b;a=v[e+8>>2];v[(((e|0)!=v[a>>2])<<2)+a>>2]=d;v[d>>2]=e;v[e+8>>2]=d;b=v[d+8>>2]}t[d+12|0]=1;t[b+12|0]=0;a=v[b>>2];d=v[a+4>>2];v[b>>2]=d;if(d){v[d+8>>2]=b}v[a+8>>2]=v[b+8>>2];d=v[b+8>>2];v[((v[d>>2]!=(b|0))<<2)+d>>2]=a;v[a+4>>2]=b;break Cb}if(!(w[d+12|0]|!d)){break Bb}Eb:{if(v[e>>2]!=(a|0)){a=e;break Eb}n=v[a+4>>2];v[e>>2]=n;d=a;if(n){v[n+8>>2]=e;b=v[e+8>>2]}v[d+8>>2]=b;b=v[e+8>>2];v[(((e|0)!=v[b>>2])<<2)+b>>2]=a;v[a+4>>2]=e;v[e+8>>2]=a;b=v[a+8>>2]}t[a+12|0]=1;t[b+12|0]=0;a=v[b+4>>2];d=v[a>>2];v[b+4>>2]=d;if(d){v[d+8>>2]=b}v[a+8>>2]=v[b+8>>2];d=v[b+8>>2];v[((v[d>>2]!=(b|0))<<2)+d>>2]=a;v[a>>2]=b}v[b+8>>2]=a;break Ab}t[e+12|0]=1;e=(b|0)==(n|0);t[b+12|0]=e;t[d+12|0]=1;a=b;if(!e){continue}break}}v[l+44>>2]=v[l+44>>2]+1}a=v[c+24>>2];d=v[c+28>>2];if(a>>>0>>0){v[a>>2]=j;v[c+24>>2]=a+4;break xb}b=v[c+20>>2];e=a-b|0;n=e>>2;a=n+1|0;if(a>>>0>=1073741824){break wb}d=d-b|0;o=d>>1;d=d>>2>>>0<536870911?a>>>0>o>>>0?a:o:1073741823;if(d){if(d>>>0>=1073741824){break nb}a=ab(d<<2)}else{a=0}n=a+(n<<2)|0;v[n>>2]=j;if((e|0)>=1){cb(a,b,e)}v[c+28>>2]=a+(d<<2);v[c+24>>2]=n+4;v[c+20>>2]=a;if(!b){break xb}$a(b)}f=f+1|0;a=v[l>>2];b=v[a+100>>2];if((f|0)>2]){continue}break mb}break}break c}break b}d=v[a+20>>2];e=v[249419];b=0;c=v[v[a+72>>2]>>2];if(c>>>0>=2){a=c;while(1){b=b+1|0;a=a>>1;if(a>>>0>1){continue}break}}v[h>>2]=d;v[h+4>>2]=c;v[h+8>>2]=((c&c-1)!=0)+b;vb(e,4588,h);c=Ma-16|0;Ma=c;a=v[l>>2];Fb:{if(!a){break Fb}k=v[a+72>>2];m=v[a+96>>2];e=v[a+104>>2];Vq(a+108|0);d=a;a=e?v[e>>2]:0;b=zt(a);v[d+108>>2]=b;if((a|0)<1){break Fb}d=0;while(1){Z2(e,d,c+8|0,c+4|0);kj(m,d,c+12|0);g=$e(k,v[c+12>>2]);v[c>>2]=g;G=C(v[c+8>>2]);J=C((v[c+4>>2]+(g?v[g+4>>2]:-1)|0)-13|0);if(b){j=v[b>>2];g=v[b+4>>2];Gb:{if((j|0)<(g|0)){break Gb}g=Kj(b+12|0,g<<2,g<<3);v[b+12>>2]=g;if(!g){break Gb}g=v[b+4>>2];g=Kj(b+16|0,g<<2,g<<3);v[b+16>>2]=g;if(!g){break Gb}v[b+4>>2]=v[b+4>>2]<<1}g=j<<2;z[g+v[b+12>>2]>>2]=G;z[g+v[b+16>>2]>>2]=J;v[b>>2]=v[b>>2]+1}_b(c);d=d+1|0;if((a|0)!=(d|0)){continue}break}}Ma=c+16|0;PB(h- -64|0);if(w[l+12|0]){a=v[v[l>>2]+20>>2];f=a<<8&16711680|a<<24|(a>>>8&65280|a>>>24)}c=0;v[h+48>>2]=0;v[h+40>>2]=0;v[h+44>>2]=0;v[h+32>>2]=0;v[h+36>>2]=0;b=v[l+92>>2];a=b;d=h- -64|0;e=d;if(!a){a=v[v[l>>2]+72>>2]}r3(e,a,h+72288|0,l+76|0,!b);a=v[d+12>>2];e=v[d+20>>2]+B(v[a+4>>2]-v[a>>2]>>2,20480)|0;a=v[h+72292>>2]-v[h+72288>>2]>>2;d=a<<8&16711680|a<<24|(a>>>8&65280|a>>>24);a=v[l+16>>2];v[l+20>>2]=a;v[h+24>>2]=a;v[l+16>>2]=a+1;v[h+56>>2]=e+18;v[h+28>>2]=0;v[h+52>>2]=0;v[h+36>>2]=1;a=w[l+12|0];b=gb((e+(a?13:0)|0)+29|0);g=h+24|0;if(a){t[b+9|0]=f;t[b+10|0]=f>>>8;t[b+11|0]=f>>>16;t[b+12|0]=f>>>24;t[b+8|0]=1;v[b>>2]=843205271;v[b+4>>2]=169478669;c=13}Hm(g,b+c|0);a=v[h+24>>2];c=((y[h+52>>2]<256?11:12)+c|0)+B(v[h+44>>2]-v[h+40>>2]>>2,a>>>0<257?1:a>>>0<65537?2:4)|0;a=c+b|0;t[a+14|0]=d;f=d>>>8|0;t[a+15|0]=f;g=d>>>16|0;t[a+16|0]=g;k=d>>>24|0;t[a+17|0]=k;t[a+10|0]=d;t[a+11|0]=f;t[a+12|0]=g;t[a+13|0]=k;t[a+2|0]=3;t[a+3|0]=255;t[a+4|0]=253;t[a+5|0]=255;t[a+6|0]=2;t[a+7|0]=254;t[a+8|0]=254;t[a+9|0]=254;t[a|0]=0;t[a+1|0]=0;a=h- -64|0;c=c+18|0;NB(a,c+b|0);OB(a);v[q+92>>2]=c+e;a=v[h+40>>2];if(a){v[h+44>>2]=a;$a(a)}a=v[h+72288>>2];if(a){v[h+72292>>2]=a;$a(a)}a=v[h+72304>>2];if(a){$a(a)}Ma=h+72320|0;if(b){if(w[I+1|0]){Hb:{if(t[W+11|0]>=0){v[q+32>>2]=v[W+8>>2];a=v[W+4>>2];v[q+24>>2]=v[W>>2];v[q+28>>2]=a;break Hb}vc(q+24|0,v[W>>2],v[W+4>>2])}a=q+40|0;v[a+12>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a>>2]=520704;c=Eq(a,q+24|0);Ib:{if(!c){$a(b);Dt(l);break Ib}CA(a,b,v[q+92>>2]);Si(a)}Xh(a);if(t[q+35|0]<=-1){$a(v[q+24>>2])}if(!c){break h}}$a(b);f=0;j=0;n=0;K=0;M=0;$=0;i=Ma-144688|0;Ma=i;K=v[v[l>>2]+20>>2]?K:w[l+12|0]!=0;PB(i+72464|0);v[i+72448>>2]=0;a=i+72440|0;v[a>>2]=0;v[a+4>>2]=0;v[i+72432>>2]=0;v[i+72436>>2]=0;v[i+72416>>2]=0;a=i+72408|0;v[a>>2]=0;v[a+4>>2]=0;a=i+72400|0;v[a>>2]=0;v[a+4>>2]=0;a=i+72392|0;v[a>>2]=0;v[a+4>>2]=0;v[i+72384>>2]=0;v[i+72388>>2]=0;v[i+72376>>2]=0;a=i+72368|0;v[a>>2]=0;v[a+4>>2]=0;a=i+72360|0;v[a>>2]=0;v[a+4>>2]=0;a=i+72352|0;v[a>>2]=0;v[a+4>>2]=0;v[i+72344>>2]=0;v[i+72348>>2]=0;v[i+72336>>2]=0;a=i+72328|0;v[a>>2]=0;v[a+4>>2]=0;a=i+72320|0;v[a>>2]=0;v[a+4>>2]=0;a=i+72312|0;v[a>>2]=0;v[a+4>>2]=0;v[i+72304>>2]=0;v[i+72308>>2]=0;t[i+72296|0]=0;v[i+72288>>2]=0;v[i+72292>>2]=0;v[i+72280>>2]=0;a=i+72272|0;v[a>>2]=0;v[a+4>>2]=0;a=i+72264|0;v[a>>2]=0;v[a+4>>2]=0;a=i+72256|0;v[a>>2]=0;v[a+4>>2]=0;v[i+72248>>2]=0;v[i+72252>>2]=0;a=v[l+16>>2];v[i+72424>>2]=a;v[l+16>>2]=a+1;v[i+72428>>2]=48;v[i+72456>>2]=19;v[i+72452>>2]=1;a=v[v[l+52>>2]>>2];_=a<<8&16711680|a<<24|(a>>>8&65280|a>>>24);a=v[v[l+64>>2]>>2];X=a<<8&16711680|a<<24|(a>>>8&65280|a>>>24);a=v[l+4>>2];V=a<<8&16711680|a<<24|(a>>>8&65280|a>>>24);a=v[l+8>>2];N=a<<8&16711680|a<<24|(a>>>8&65280|a>>>24);ha=w[l+88|0];v[i+72236>>2]=0;v[i+72240>>2]=0;v[i+72232>>2]=i+72232|4;c=l+40|0;a=v[c>>2];Jb:{if(a){b=l+40|0;while(1){d=v[a+16>>2];Kb:{if((d|0)>0){d=v[a>>2];if(d){break Kb}b=a;break Jb}if((d|0)>=0){break Jb}b=a+4|0;d=v[a+4>>2];if(!d){break Jb}a=b}b=a;a=d;continue}}a=c;b=a}d=v[b>>2];if(!d){d=ab(32);v[d+16>>2]=0;v[d+8>>2]=a;v[d>>2]=0;v[d+4>>2]=0;v[d+28>>2]=0;v[d+20>>2]=0;v[d+24>>2]=0;v[b>>2]=d;a=v[v[l+36>>2]>>2];if(a){v[l+36>>2]=a;a=v[b>>2]}else{a=d}Ob(v[l+40>>2],a);v[l+44>>2]=v[l+44>>2]+1}R=v[d+24>>2]==v[d+20>>2];if(R){O=0}else{PB(i+8|0);a=v[l+16>>2];v[l+16>>2]=a+1;v[i+72388>>2]=0;v[i+72384>>2]=a;v[i+72412>>2]=1;e=v[l+92>>2];g=e?e:v[v[l>>2]+72>>2];a=v[c>>2];Lb:{if(a){b=l+40|0;while(1){d=v[a+16>>2];Mb:{if((d|0)>0){d=v[a>>2];if(d){break Mb}b=a;break Lb}if((d|0)>=0){break Lb}b=a+4|0;d=v[a+4>>2];if(!d){break Lb}a=b}b=a;a=d;continue}}a=c;b=a}d=v[b>>2];if(!d){d=ab(32);v[d+16>>2]=0;v[d+8>>2]=a;v[d>>2]=0;v[d+4>>2]=0;v[d+28>>2]=0;v[d+20>>2]=0;v[d+24>>2]=0;v[b>>2]=d;a=v[v[l+36>>2]>>2];if(a){v[l+36>>2]=a;a=v[b>>2]}else{a=d}Ob(v[l+40>>2],a);v[l+44>>2]=v[l+44>>2]+1;e=v[l+92>>2]}r3(i+8|0,g,d+20|0,i+72232|0,!e);a=v[c>>2];Nb:{if(a){b=l+40|0;while(1){d=v[a+16>>2];Ob:{if((d|0)>0){d=v[a>>2];if(d){break Ob}b=a;break Nb}if((d|0)>=0){break Nb}b=a+4|0;d=v[a+4>>2];if(!d){break Nb}a=b}b=a;a=d;continue}}a=c;b=a}d=v[b>>2];if(!d){d=ab(32);v[d+16>>2]=0;v[d+8>>2]=a;v[d>>2]=0;v[d+4>>2]=0;v[d+28>>2]=0;v[d+20>>2]=0;v[d+24>>2]=0;v[b>>2]=d;a=v[v[l+36>>2]>>2];if(a){v[l+36>>2]=a;a=v[b>>2]}else{a=d}Ob(v[l+40>>2],a);v[l+44>>2]=v[l+44>>2]+1}na=2;a=v[d+24>>2]-v[d+20>>2]>>2;M=a<<8&16711680|a<<24|(a>>>8&65280|a>>>24);a=v[i+20>>2];v[i+72416>>2]=(v[i+28>>2]+B(v[a+4>>2]-v[a>>2]>>2,20480)|0)+18;$=255;oa=253;pa=3;O=254}a=v[l+40>>2];Pb:{if(a){c=l+40|0;while(1){b=v[a+16>>2];Qb:{if((b|0)>0){b=v[a>>2];if(b){break Qb}c=a;break Pb}if((b|0)>=0){break Pb}c=a+4|0;b=v[a+4>>2];if(!b){break Pb}a=c}c=a;a=b;continue}}a=c}k=v[l+48>>2];b=v[c>>2];if(!b){b=ab(32);v[b+16>>2]=0;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+28>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[c>>2]=b;a=v[v[l+36>>2]>>2];if(a){v[l+36>>2]=a;a=v[c>>2]}else{a=b}Ob(v[l+40>>2],a);v[l+44>>2]=v[l+44>>2]+1}a=v[b+20>>2];b=v[b+24>>2];h=b-a|0;b=l+28|0;a=v[b>>2];Rb:{if(a){c=l+28|0;while(1){d=v[a+16>>2];Sb:{if((d|0)>0){d=v[a>>2];if(d){break Sb}c=a;break Rb}if((d|0)>=0){break Rb}c=a+4|0;d=v[a+4>>2];if(!d){break Rb}a=c}c=a;a=d;continue}}a=b;c=a}e=v[c>>2];if(!e){e=ab(32);v[e+16>>2]=0;v[e+8>>2]=a;v[e>>2]=0;v[e+4>>2]=0;v[e+28>>2]=0;v[e+20>>2]=0;v[e+24>>2]=0;v[c>>2]=e;a=v[v[l+24>>2]>>2];if(a){v[l+24>>2]=a;a=v[c>>2]}else{a=e}Ob(v[l+28>>2],a);v[l+32>>2]=v[l+32>>2]+1}a=v[l>>2];g=v[l+92>>2];P=g?g:v[a+72>>2];W=v[a+108>>2];ia=v[a+96>>2];a=0;d=k+(h>>2)|0;if(d>>>0>=2){c=d;while(1){a=a+1|0;c=c>>1;if(c>>>0>1){continue}break}}da=i+72464|0;h=da;ea=l+76|0;fa=i+72232|0;T=((d&d-1)!=0)+a|0;k=!g;m=0;E=Ma-96|0;Ma=E;v[E+84>>2]=W;c=e+20|0;d=v[c>>2];g=v[c+4>>2];v[E+80>>2]=0;v[E+72>>2]=0;v[E+76>>2]=0;a=g-d|0;r=a>>2;Tb:{if(a){if((a|0)<=-1){break c}e=ab(a);v[E+72>>2]=e;v[E+80>>2]=(r<<2)+e;j=eb(e,0,a)+((a-4>>>2|0)+1<<2)|0;v[E+76>>2]=j;break Tb}e=0}if((E+72|0)!=(c|0)){In(E+72|0,d,g);j=v[E+76>>2];e=v[E+72>>2]}v[E+56>>2]=W;JK(e,j,E+56|0);g=0;bp(h,3,0);v[E+64>>2]=0;v[E+56>>2]=0;Ub:{Vb:{if((a|0)>=1){ja=k?-12:0;H=fa+4|0;F=ea+4|0;c=0;d=0;while(1){e=v[E+72>>2]+(n<<2)|0;k=v[e>>2];G=B3a(z[v[W+16>>2]+(k<<2)>>2]);Wb:{if(C(D(G))>2]=k;k=c+4|0;v[E+60>>2]=k;break Xb}g=ab(4);v[g>>2]=v[e>>2];f=g+4|0;v[E+64>>2]=f;v[E+60>>2]=f;v[E+56>>2]=g;if(c){$a(c)}c=g;k=f}p=a-j|0;n=n+1|0;Yb:{if((r|0)<=(n|0)){break Yb}j=p+1|0;while(1){o=v[E+72>>2]+(n<<2)|0;e=v[o>>2];G=B3a(z[v[W+16>>2]+(e<<2)>>2]);Zb:{if(C(D(G))=(j|0)){break Yb}_b:{if((f|0)!=(k|0)){v[k>>2]=e;k=k+4|0;v[E+60>>2]=k;break _b}a=f-c|0;k=a>>2;f=k+1|0;if(f>>>0>=1073741824){break c}g=a>>1;f=k>>>0<536870911?f>>>0>g>>>0?f:g:1073741823;$b:{if(!f){g=0;break $b}if(f>>>0>=1073741824){break b}g=ab(f<<2);e=v[o>>2]}k=(k<<2)+g|0;v[k>>2]=e;f=(f<<2)+g|0;k=k+4|0;if((a|0)>=1){cb(g,c,a)}v[E+64>>2]=f;v[E+60>>2]=k;v[E+56>>2]=g;if(c){$a(c)}c=g}n=n+1|0;if((r|0)!=(n|0)){continue}break}n=r}v[E+88>>2]=W;IK(c,k,E+88|0);bp(h,3,p-d|0);if((c|0)!=(k|0)){a=0;e=1;j=c;while(1){o=v[j>>2];ac:{if(e&1){a=h;G=B3a(z[v[W+12>>2]+(o<<2)>>2]);bc:{if(C(D(G))>2]+(o<<2)>>2]);cc:{if(C(D(G))>2]+(o<<2)>>2];dc:{if(C(D(G))>2];if(!e){break fc}while(1){s=(o|0)>v[e+16>>2];a=s?a:e;e=v[(s<<2)+e>>2];if(e){continue}break}if((a|0)==(F|0)|(o|0)>2]){break fc}e=v[a+20>>2];break ec}gc:{a=H;e=v[a>>2];if(!e){break gc}while(1){s=(o|0)>v[e+16>>2];a=s?a:e;e=v[(s<<2)+e>>2];if(e){continue}break}if((a|0)==(H|0)|(o|0)>2]){break gc}e=v[ea+8>>2]+v[a+20>>2]|0;break ec}d=v[249419];a=v[ea>>2];if((F|0)!=(a|0)){while(1){b=a;v[E+32>>2]=v[a+16>>2];vb(d,4047,E+32|0);e=v[a+4>>2];hc:{if(!e){a=v[b+8>>2];if((b|0)==v[a>>2]){break hc}c=b+8|0;while(1){b=v[c>>2];c=b+8|0;a=v[b+8>>2];if((b|0)!=v[a>>2]){continue}break}break hc}while(1){a=e;e=v[a>>2];if(e){continue}break}}if((a|0)!=(F|0)){continue}break}}a=v[fa>>2];if((H|0)!=(a|0)){while(1){b=a;v[E+16>>2]=v[a+16>>2];vb(d,4047,E+16|0);e=v[a+4>>2];ic:{if(!e){a=v[b+8>>2];if((b|0)==v[a>>2]){break ic}c=b+8|0;while(1){b=v[c>>2];c=b+8|0;a=v[b+8>>2];if((b|0)!=v[a>>2]){continue}break}break ic}while(1){a=e;e=v[a>>2];if(e){continue}break}}if((a|0)!=(H|0)){continue}break}}v[E>>2]=o;vb(d,8880,E);S();L()}aa=0;a=v[h+72216>>2];if(!a){s=1<>2]=a;eb(a,0,s)}jc:{if((T|0)<1){break jc}s=-1<>1];qa=e;ma=ca>>>31|0;kc:{lc:{if((ma|0)==(la>>>0>46|0)){e=x[h+4>>1]-a|0;u[h+4>>1]=e;if(e<<16>>16>=0){if(a>>>0>(e&65535)>>>0){e=a;a=ba+1025794|0;break lc}v[h>>2]=a+v[h>>2];a=ba+1025794|0;break lc}v[h>>2]=a+v[h>>2];break kc}e=x[h+4>>1]-a|0;mc:{if(a>>>0<=(e&65535)>>>0){e=a;break mc}v[h>>2]=a+v[h>>2]}a=ba+1025795|0}t[qa|0]=w[a|0];while(1){e=e<<1;u[h+4>>1]=e;v[h>>2]=v[h>>2]<<1;a=w[h+6|0]-1|0;t[h+6|0]=a;if(!(a&255)){El(h);e=x[h+4>>1]}if(e<<16>>16>-1){continue}break}}aa=aa+1|0;if((T|0)==(aa|0)){break jc}ca=ca<<1;Y=Y<<1|ma;a=v[h+72216>>2];continue}}a=((ja+v[v[v[P+12>>2]+(o<<2)>>2]>>2]|0)+d|0)-1|0;e=0;j=j+4|0;if((k|0)!=(j|0)){continue}break}}u3(h,2);d=p;if((n|0)<(r|0)){continue}break}}MK(h);if(g){$a(g)}a=v[E+72>>2];if(a){v[E+76>>2]=a;$a(a)}Ma=E+96|0;break Ub}S();L()}a=v[da+12>>2];k=v[da+20>>2]+B(v[a+4>>2]-v[a>>2]>>2,20480)|0;a=v[v[l+52>>2]>>2];e=a<<8&16711680|a<<24|(a>>>8&65280|a>>>24);a=v[v[l+64>>2]>>2];f=a<<8&16711680|a<<24|(a>>>8&65280|a>>>24);a=v[l+28>>2];nc:{if(a){b=l+28|0;while(1){c=v[a+16>>2];oc:{if((c|0)>0){c=v[a>>2];if(c){break oc}b=a;break nc}if((c|0)>=0){break nc}b=a+4|0;c=v[a+4>>2];if(!c){break nc}a=b}b=a;a=c;continue}}a=b}j=w[l+88|0];c=v[b>>2];if(!c){c=ab(32);v[c+16>>2]=0;v[c+8>>2]=a;v[c>>2]=0;v[c+4>>2]=0;v[c+28>>2]=0;v[c+20>>2]=0;v[c+24>>2]=0;v[b>>2]=c;a=v[v[l+24>>2]>>2];if(a){v[l+24>>2]=a;a=v[b>>2]}else{a=c}Ob(v[l+28>>2],a);v[l+32>>2]=v[l+32>>2]+1}a=v[c+24>>2]-v[c+20>>2]>>2;g=a<<8&16711680|a<<24|(a>>>8&65280|a>>>24);a=v[l+16>>2];v[i+72248>>2]=a;v[l+16>>2]=a+1;v[i+72252>>2]=6;h=v[l+20>>2];a=v[i+72272>>2];b=v[i+72268>>2];pc:{if(a>>>0>b>>>0){v[b>>2]=h;b=b+4|0;v[i+72268>>2]=b;break pc}d=v[i+72264>>2];m=b-d|0;n=m>>2;b=n+1|0;if(b>>>0>=1073741824){break c}a=a-d|0;c=a>>1;a=a>>2>>>0<536870911?b>>>0>c>>>0?b:c:1073741823;if(a){if(a>>>0>=1073741824){break b}c=ab(a<<2)}else{c=0}b=c+(n<<2)|0;v[b>>2]=h;a=c+(a<<2)|0;b=b+4|0;if((m|0)>=1){cb(c,d,m)}v[i+72272>>2]=a;v[i+72268>>2]=b;v[i+72264>>2]=c;if(!d){break pc}$a(d)}qc:{if(R){break qc}if((a|0)!=(b|0)){v[b>>2]=v[i+72384>>2];b=b+4|0;v[i+72268>>2]=b;break qc}c=v[i+72264>>2];d=a-c|0;b=d>>2;a=b+1|0;if(a>>>0>=1073741824){break c}h=d>>1;h=b>>>0<536870911?a>>>0>h>>>0?a:h:1073741823;if(h){if(h>>>0>=1073741824){break b}a=ab(h<<2)}else{a=0}b=a+(b<<2)|0;v[b>>2]=v[i+72384>>2];b=b+4|0;if((d|0)>=1){cb(a,c,d)}v[i+72272>>2]=a+(h<<2);v[i+72268>>2]=b;v[i+72264>>2]=a;if(!c){break qc}$a(c)}a=w[l+88|0];v[i+72260>>2]=2;v[i+72280>>2]=k+(a?27:23);v[i+72276>>2]=1;if(R){d=0}else{a=v[i+20>>2];d=v[i+28>>2]+B(v[a+4>>2]-v[a>>2]>>2,20480)|0}h=w[l+12|0];if(h){a=v[l+16>>2];v[i+72344>>2]=a;v[l+16>>2]=a+1;v[i+72348>>2]=49;v[i+72372>>2]=1}if(K){a=v[l+16>>2];v[i+72304>>2]=a;v[l+16>>2]=a+1;v[i+72332>>2]=0;v[i+72308>>2]=51}m=v[i+72424>>2];n=m>>>0<65537?2:4;o=v[i+72444>>2]-v[i+72440>>2]|0;r=v[i+72452>>2];a=0;c=0;if(!R){c=v[i+72384>>2];c=((d+(y[i+72412>>2]<256?11:12)|0)+B(v[i+72404>>2]-v[i+72400>>2]>>2,c>>>0<257?1:c>>>0<65537?2:4)|0)+18|0}H=v[i+72248>>2];H=H>>>0<257?1:H>>>0<65537?2:4;F=b-v[i+72264>>2]>>2;p=w[l+88|0];if(h){a=v[i+72344>>2];a=B(v[i+72364>>2]-v[i+72360>>2]>>2,a>>>0<257?1:a>>>0<65537?2:4)+(y[i+72372>>2]<256?11:12)|0}P=i+72424|0;if(K){b=v[i+72304>>2];b=B(v[i+72324>>2]-v[i+72320>>2]>>2,b>>>0<257?1:b>>>0<65537?2:4)+(y[i+72332>>2]<256?11:12)|0}else{b=0}h=(b+((((((k+(r>>>0<256?11:12)|0)+B(o>>2,m>>>0<257?1:n)|0)+c|0)+(p<<2)|0)+B(F,H)|0)+a|0)|0)+53|0;b=gb(h);Hm(P,b);a=v[i+72424>>2];m=B(v[i+72444>>2]-v[i+72440>>2]>>2,a>>>0<257?1:a>>>0<65537?2:4)+(y[i+72452>>2]<256?11:12)|0;c=m+b|0;t[c+17|0]=0;t[c+18|0]=0;t[c+16|0]=ha;a=N;t[c+12|0]=a;t[c+13|0]=a>>>8;t[c+14|0]=a>>>16;t[c+15|0]=a>>>24;a=V;t[c+8|0]=a;t[c+9|0]=a>>>8;t[c+10|0]=a>>>16;t[c+11|0]=a>>>24;t[c+4|0]=X;t[c+5|0]=X>>>8;t[c+6|0]=X>>>16;t[c+7|0]=X>>>24;t[c|0]=_;t[c+1|0]=_>>>8;t[c+2|0]=_>>>16;t[c+3|0]=_>>>24;a=m+19|0;r=i+72248|0;if(!R){Hm(i+72384|0,a+b|0);c=(y[i+72412>>2]<256?11:12)+a|0;a=v[i+72384>>2];m=c+B(v[i+72404>>2]-v[i+72400>>2]>>2,a>>>0<257?1:a>>>0<65537?2:4)|0;a=m+b|0;t[a+14|0]=M;c=M>>>8|0;t[a+15|0]=c;n=M>>>16|0;t[a+16|0]=n;F=M>>>24|0;t[a+17|0]=F;t[a+10|0]=M;t[a+11|0]=c;t[a+12|0]=n;t[a+13|0]=F;t[a+9|0]=O;t[a+8|0]=O;t[a+7|0]=O;t[a+6|0]=na;t[a+5|0]=$;t[a+4|0]=oa;t[a+3|0]=$;t[a+2|0]=pa;t[a|0]=0;t[a+1|0]=0;a=m+18|0;NB(i+8|0,a+b|0);a=a+d|0}Hm(r,a+b|0);c=(y[i+72276>>2]<256?11:12)+a|0;a=v[i+72248>>2];m=c+B(v[i+72268>>2]-v[i+72264>>2]>>2,a>>>0<257?1:a>>>0<65537?2:4)|0;a=m+b|0;t[a+4|0]=f;t[a+5|0]=f>>>8;t[a+6|0]=f>>>16;t[a+7|0]=f>>>24;t[a|0]=e;t[a+1|0]=e>>>8;t[a+2|0]=e>>>16;t[a+3|0]=e>>>24;c=v[i+72292>>2];d=v[i+72288>>2];t[a+8|0]=d;t[a+9|0]=d>>>8;t[a+10|0]=d>>>16;t[a+11|0]=d>>>24;t[a+12|0]=c;t[a+13|0]=c>>>8;t[a+14|0]=c>>>16;t[a+15|0]=c>>>24;t[a+16|0]=w[i+72296|0];c=j<<9;t[a+17|0]=c;t[a+18|0]=c>>>8;a=m+19|0;if(w[l+88|0]){a=a+b|0;t[a|0]=255;t[a+1|0]=255;t[a+2|0]=255;t[a+3|0]=255;a=m+23|0}c=a+b|0;t[c|0]=g;t[c+1|0]=g>>>8;t[c+2|0]=g>>>16;t[c+3|0]=g>>>24;a=a+4|0;NB(i+72464|0,a+b|0);a=a+k|0;if(w[l+12|0]){Hm(i+72344|0,a+b|0);c=(y[i+72372>>2]<256?11:12)+a|0;a=v[i+72344>>2];a=c+B(v[i+72364>>2]-v[i+72360>>2]>>2,a>>>0<257?1:a>>>0<65537?2:4)|0}if(K){Hm(i+72304|0,a+b|0);c=(y[i+72332>>2]<256?11:12)+a|0;a=v[i+72304>>2];a=c+B(v[i+72324>>2]-v[i+72320>>2]>>2,a>>>0<257?1:a>>>0<65537?2:4)|0}rc:{if((a|0)==(h|0)){OB(i+72464|0);if(!R){OB(i+8|0)}v[q+92>>2]=h;QB(i+72232|0,v[i+72236>>2]);a=v[i+72264>>2];if(a){v[i+72268>>2]=a;$a(a)}a=v[i+72320>>2];if(a){v[i+72324>>2]=a;$a(a)}a=v[i+72360>>2];if(a){v[i+72364>>2]=a;$a(a)}a=v[i+72400>>2];if(a){v[i+72404>>2]=a;$a(a)}a=v[i+72440>>2];if(a){v[i+72444>>2]=a;$a(a)}Ma=i+144688|0;a=b;break rc}S();L()}if(w[I+1|0]){v[q+32>>2]=0;v[q+24>>2]=0;v[q+28>>2]=0;b=w[I+31|0];c=b<<24>>24<0;b=c?v[I+24>>2]:b;d=b+5|0;if(d>>>0>=1073741808){break g}e=v[I+20>>2];sc:{tc:{if(d>>>0<=1){t[q+35|0]=b;d=q+24|0;break tc}f=b+9&-4;d=ab(f<<2);v[q+32>>2]=f|-2147483648;v[q+24>>2]=d;v[q+28>>2]=b;if(!b){break sc}}rb(d,c?e:I+20|0,b)}v[(b<<2)+d>>2]=0;c=q+24|0;bd(c,12504,5);b=q+40|0;v[b+12>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;v[b>>2]=520704;c=Eq(b,c);uc:{if(!c){$a(a);Dt(l);break uc}CA(b,a,v[q+92>>2]);Si(b)}Xh(b);if(t[q+35|0]<=-1){$a(v[q+24>>2])}if(!c){break h}}$a(a)}Dt(l)}Ma=q+96|0;break f}sc();L()}if(t[I+1003|0]<=-1){$a(v[I+992>>2])}if(t[I+43|0]<=-1){$a(v[I+32>>2])}if(t[I+31|0]>-1){break d}$a(v[I+20>>2]);break d}q=I+976|0;v[q+12>>2]=0;v[q+4>>2]=0;v[q+8>>2]=0;v[q>>2]=520704;if(Eq(q,b)){j=Ge(I,0);b=j;n=v[a+4>>2];m=v[a+8>>2];o=(v[a+12>>2]^-1)>>>31|0;e=!w[a+40|0];r=v[a+16>>2];vc:{if(!r){break vc}H=h-1|0;if(H>>>0>31|!(1<>>0<=23){cr(b)}if((h|0)==32){Fi(b);d=1;if(!m|!n){break vc}h=e?2:0;H=e?0:2;while(1){g=r+B(f,k)|0;F=o?m+(k^-1)|0:k;d=v[b+56>>2]+B(F,v[b+52>>2])|0;e=0;while(1){t[d|0]=w[g+H|0];t[d+1|0]=w[g+1|0];t[d+2|0]=w[g+h|0];ah(b,e,F,w[g+3|0]);g=g+4|0;d=d+3|0;e=e+1|0;if((n|0)!=(e|0)){continue}break}d=1;k=k+1|0;if((m|0)!=(k|0)){continue}break}break vc}d=1;if(!m){break vc}while(1){d=v[b+52>>2];cb(v[b+56>>2]+B(d,o?m+(g^-1)|0:g)|0,r+B(f,g)|0,d>>>0>>0?d:f);d=1;g=g+1|0;if((m|0)!=(g|0)){continue}break}}wc:{if(!d){break wc}b=v[a+20>>2];if(b){On(j,b,v[a+24>>2])}b=v[q+4>>2];a=Ma-16|0;Ma=a;v[a>>2]=39232;v[a+4>>2]=b;t[a+8|0]=!b;b=i3(j,a,c);v[a>>2]=39232;c=v[a+4>>2];if(!(!c|!w[a+8|0])){Fe(c)}Ma=a+16|0;if(!b){break wc}Si(q)}v[j>>2]=1032;Tg(j);Cg(j)}Xh(q)}Ma=I+1008|0;return}Jc();L()}Zd(9961);L()}function nW(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0,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,_=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;L=Ma-48|0;Ma=L;v[L+32>>2]=13;v[L+16>>2]=13;a:{if(v[e>>2]!=7){break a}b:{if(v[d>>2]!=9){break b}q=v[v[a>>2]+28>>2];i=v[q+8>>2];if((i|0)<1){break b}O=v[d+12>>2];G=v[d+8>>2];q=v[q>>2];d=0;while(1){f=v[q+(d<<2)>>2];if(!((G|0)!=v[f>>2]|(O|0)!=v[f+4>>2])){f=v[f+8>>2];break b}d=d+1|0;if((i|0)!=(d|0)){continue}break}f=0}if((b|0)!=(f|0)){break a}d=0;c:{if(v[ib(v[e+8>>2],311732,L+32|0,0)>>2]!=1){bb(L+32|0);break c}d=v[L+40>>2];bb(L+32|0);if(d&2){break a}}if(d&32){break a}b=L+32|0;Yd(v[e+8>>2],312744,b);d=fz(v[v[v[a>>2]>>2]+36>>2],b,L+12|0);f=v[L+12>>2];bb(b);if(f?0:d){break a}d:{if(v[ib(v[e+8>>2],233866,L+32|0,0)>>2]!=6){break d}b=v[L+40>>2];if(v[b+12>>2]!=4){break d}if(v[ub(b,0,L+16|0,0)>>2]-1>>>0<=1){p=v[L+16>>2]==1?+v[L+24>>2]:A[L+24>>3]}b=L+16|0;bb(b);if(v[ub(v[L+40>>2],1,b,0)>>2]-1>>>0<=1){r=v[L+16>>2]==1?+v[L+24>>2]:A[L+24>>3]}b=L+16|0;bb(b);if(v[ub(v[L+40>>2],2,b,0)>>2]-1>>>0<=1){s=v[L+16>>2]==1?+v[L+24>>2]:A[L+24>>3]}b=L+16|0;bb(b);u=r;if(v[ub(v[L+40>>2],3,b,0)>>2]-1>>>0<=1){o=v[L+16>>2]==1?+v[L+24>>2]:A[L+24>>3]}b=r>o;S=b?u:o;T=b?o:r;b=p>s;U=b?p:s;V=b?s:p;bb(L+16|0);bb(L+32|0);e:{f:{if(v[v[a>>2]+24>>2]){break f}b=v[a+56>>2];if(v[b+8>>2]?b:0){break f}b=L+32|0;d=v[ib(v[e+8>>2],310602,b,0)>>2];bb(b);if((d|0)==7){break e}}i=v[e+8>>2];e=0;b=0;g=Ma-1296|0;Ma=g;v[g+1280>>2]=13;v[g+1264>>2]=13;v[g+1248>>2]=13;v[g+1232>>2]=13;v[g+1216>>2]=13;v[g+1200>>2]=13;v[g+1184>>2]=13;v[g+1168>>2]=13;v[g+1152>>2]=13;v[g+1136>>2]=13;v[g+1120>>2]=13;v[g+1104>>2]=13;v[g+1088>>2]=13;v[g+1072>>2]=13;v[g+1056>>2]=13;ha=ab(8);m=Qd(ha);q=0;g:{if(v[ib(i,311204,g+1264|0,0)>>2]!=7){break g}h=v[g+1272>>2];if(!h){h=0;q=0;break g}h:{if(v[ib(h,311628,g+1104|0,0)>>2]!=6){break h}d=v[g+1112>>2];if(v[d+12>>2]<1){break h}nm(d,1,0,m);A[g+1032>>3]=S-T;A[g+1024>>3]=U-V;Fb(m,342473,g+1024|0)}bb(g+1104|0);q=1}ga=Bs(a,v[a+32>>2],309910,g+1248|0);i:{j:{k:{if(v[ib(i,310314,g+1104|0,0)>>2]==7){b=0;l:{if(v[ib(v[g+1112>>2],310327,g+1088|0,0)>>2]!=4){break l}m:{if(v[g+1088>>2]!=4){break m}d=v[g+1096>>2];b=0;if(!hb(d,310327)){break l}b=1;if(!hb(d,312444)){break l}b=2;if(!hb(d,313130)){break l}b=3;if(!hb(d,311375)){break l}if(hb(d,309228)){break m}b=4;break l}b=0}d=g+1088|0;bb(d);p=1;if(v[ib(v[g+1112>>2],309129,d,0)>>2]-1>>>0<=1){p=v[g+1088>>2]==1?+v[g+1096>>2]:A[g+1096>>3]}d=g+1088|0;bb(d);if(v[ib(v[g+1112>>2],312444,d,0)>>2]!=6){f=0;break k}f=v[v[g+1096>>2]+12>>2];l=Pb(f,8);if((f|0)<1){break k}while(1){d=(e<<3)+l|0;if(v[ub(v[g+1096>>2],e,g+1072|0,0)>>2]-1>>>0<=1){o=v[g+1072>>2]==1?+v[g+1080>>2]:A[g+1080>>3]}else{o=1}A[d>>3]=o;bb(g+1072|0);e=e+1|0;if((f|0)!=(e|0)){continue}break}break k}d=g+1104|0;bb(d);p=1;if(v[ib(i,239766,d,0)>>2]!=6){break j}f=0;d=v[g+1112>>2];if(v[d+12>>2]<3){break i}if(v[ub(d,2,g+1088|0,0)>>2]-1>>>0<=1){p=v[g+1088>>2]==1?+v[g+1096>>2]:A[g+1096>>3]}bb(g+1088|0);d=v[g+1112>>2];if(v[d+12>>2]<4){break j}if(v[ub(d,3,g+1088|0,0)>>2]!=6){p=0;break k}b=1;f=v[v[g+1096>>2]+12>>2];l=Pb(f,8);if((f|0)<1){break k}while(1){d=(e<<3)+l|0;if(v[ub(v[g+1096>>2],e,g+1072|0,0)>>2]-1>>>0<=1){o=v[g+1072>>2]==1?+v[g+1080>>2]:A[g+1080>>3]}else{o=1}A[d>>3]=o;bb(g+1072|0);e=e+1|0;if((f|0)!=(e|0)){continue}break}}bb(g+1088|0);break i}f=0}bb(g+1104|0);if(q&p>0){ib(h,312768,g+1104|0,0);n:{if(!(v[g+1104>>2]==6&v[v[g+1112>>2]+12>>2]>0)){d=g+1104|0;bb(d);ib(h,311628,d,0);if(v[g+1104>>2]!=6){break n}}if(v[v[g+1112>>2]+12>>2]<1){break n}d=g+1088|0;e=v[ib(h,313174,d,0)>>2];r=S-T;u=U-V;bb(d);o:{if(v[g+1248>>2]!=4){break o}if(hb(v[ga+8>>2],244571)|!(w[a+49|0]&128)|(e|0)==3){break o}o=(r>u?u:r)*.5;p:{switch(b|0){case 1:Wb(m,308358);if((f|0)>=1){e=0;while(1){A[g+544>>3]=A[(e<<3)+l>>3];Fb(m,217436,g+544|0);e=e+1|0;if((f|0)!=(e|0)){continue}break}}Wb(m,345239);case 0:case 4:A[g+528>>3]=p;Fb(m,338425,g+528|0);nm(v[g+1112>>2],0,0,m);r=r*.5;A[g+520>>3]=r;u=u*.5;s=o-p*.5;o=u+s;A[g+512>>3]=o;Fb(m,341922,g+512|0);C=r+s;A[g+504>>3]=C;A[g+496>>3]=u;A[g+488>>3]=C;K=s*.55228475;W=u+K;A[g+480>>3]=W;P=r+K;A[g+472>>3]=P;A[g+464>>3]=o;Fb(m,345246,g+464|0);A[g+456>>3]=r;N=u-s;A[g+448>>3]=N;A[g+440>>3]=P;A[g+432>>3]=N;A[g+424>>3]=C;C=u-K;A[g+416>>3]=C;Fb(m,345246,g+416|0);s=r-s;A[g+408>>3]=s;A[g+400>>3]=u;A[g+392>>3]=s;A[g+384>>3]=C;u=r-K;A[g+376>>3]=u;A[g+368>>3]=N;Fb(m,345246,g+368|0);A[g+360>>3]=r;A[g+352>>3]=o;A[g+344>>3]=u;A[g+336>>3]=o;A[g+328>>3]=s;A[g+320>>3]=W;Fb(m,345246,g+320|0);v[g+304>>2]=237231;Fb(m,337511,g+304|0);break n;case 2:case 3:break p;default:break n}}A[g+1008>>3]=p*.5;Fb(m,338425,g+1008|0);nm(v[g+1112>>2],0,0,m);r=r*.5;A[g+1e3>>3]=r;u=u*.5;s=o+p*-.25;K=u+s;A[g+992>>3]=K;Fb(m,341922,g+992|0);N=r+s;A[g+984>>3]=N;A[g+976>>3]=u;A[g+968>>3]=N;C=s*.55228475;P=u+C;A[g+960>>3]=P;ca=r+C;A[g+952>>3]=ca;A[g+944>>3]=K;Fb(m,345246,g+944|0);A[g+936>>3]=r;W=u-s;A[g+928>>3]=W;A[g+920>>3]=ca;A[g+912>>3]=W;A[g+904>>3]=N;N=u-C;A[g+896>>3]=N;Fb(m,345246,g+896|0);s=r-s;A[g+888>>3]=s;A[g+880>>3]=u;A[g+872>>3]=s;A[g+864>>3]=N;C=r-C;A[g+856>>3]=C;A[g+848>>3]=W;Fb(m,345246,g+848|0);A[g+840>>3]=r;A[g+832>>3]=K;A[g+824>>3]=C;A[g+816>>3]=K;A[g+808>>3]=s;A[g+800>>3]=P;Fb(m,345246,g+800|0);v[g+784>>2]=237231;Fb(m,337511,g+784|0);b=(b|0)==2;nm(v[g+1112>>2],0,b?1:-1,m);s=(o+p*-.75)/1.4142135623730951;C=r+s;A[g+776>>3]=C;N=u+s;A[g+768>>3]=N;Fb(m,341922,g+768|0);A[g+760>>3]=C;W=u-s;A[g+752>>3]=W;o=s*1.55228475;P=r+o;A[g+744>>3]=P;K=s*.44771525;ca=u-K;A[g+736>>3]=ca;A[g+728>>3]=P;P=u+K;A[g+720>>3]=P;Fb(m,345246,g+720|0);s=r-s;A[g+712>>3]=s;A[g+704>>3]=W;ia=r-K;A[g+696>>3]=ia;ja=u-o;A[g+688>>3]=ja;K=r+K;A[g+680>>3]=K;A[g+672>>3]=ja;Fb(m,345246,g+672|0);Wb(m,345536);nm(v[g+1112>>2],0,b?-1:1,m);A[g+664>>3]=s;A[g+656>>3]=W;Fb(m,341922,g+656|0);A[g+648>>3]=s;A[g+640>>3]=N;r=r-o;A[g+632>>3]=r;A[g+624>>3]=P;A[g+616>>3]=r;A[g+608>>3]=ca;Fb(m,345246,g+608|0);A[g+600>>3]=C;A[g+592>>3]=N;A[g+584>>3]=K;r=u+o;A[g+576>>3]=r;A[g+568>>3]=ia;A[g+560>>3]=r;Fb(m,345246,g+560|0);Wb(m,345536);break n}q:{r:{switch(b|0){case 1:Wb(m,308358);if((f|0)>=1){e=0;while(1){A[g+96>>3]=A[(e<<3)+l>>3];Fb(m,217436,g+96|0);e=e+1|0;if((f|0)!=(e|0)){continue}break}}Wb(m,345239);case 0:A[g+80>>3]=p;Fb(m,338425,g+80|0);nm(v[g+1112>>2],0,0,m);A[g- -64>>3]=r-p;A[g+56>>3]=u-p;A[g+48>>3]=p*.5;Fb(m,340779,g+48|0);break q;case 2:case 3:b=(b|0)==2;nm(v[g+1112>>2],1,b?1:-1,m);Wb(m,341941);A[g+256>>3]=r;Fb(m,342053,g+256|0);A[g+248>>3]=r;A[g+240>>3]=u;Fb(m,342015,g+240|0);s=r-p;A[g+232>>3]=s;o=u-p;A[g+224>>3]=o;Fb(m,342015,g+224|0);A[g+216>>3]=s;A[g+208>>3]=p;Fb(m,342015,g+208|0);A[g+192>>3]=p;Fb(m,342034,g+192|0);Wb(m,342561);nm(v[g+1112>>2],1,b?-1:1,m);Wb(m,341941);A[g+176>>3]=u;Fb(m,342066,g+176|0);A[g+168>>3]=r;A[g+160>>3]=u;Fb(m,342015,g+160|0);A[g+152>>3]=s;A[g+144>>3]=o;Fb(m,342015,g+144|0);A[g+136>>3]=p;A[g+128>>3]=o;Fb(m,342015,g+128|0);A[g+112>>3]=p;Fb(m,342034,g+112|0);Wb(m,342561);break q;case 4:break r;default:break q}}A[g+288>>3]=p;Fb(m,338425,g+288|0);nm(v[g+1112>>2],0,0,m);A[g+272>>3]=u;Fb(m,340720,g+272|0)}A[g+16>>3]=p;o=r;r=p+p;A[g+32>>3]=o-r;A[g+24>>3]=u-r;Fb(m,341700,g+16|0)}bb(g+1104|0)}tb(l);e=0;b=Ma-80|0;Ma=b;v[b+64>>2]=13;v[b+48>>2]=13;v[b+32>>2]=13;v[b+16>>2]=13;v[b>>2]=13;l=g+1216|0;hf(l,v[v[v[a>>2]>>2]+24>>2]);ib(v[v[a>>2]+16>>2],310416,b- -64|0,0);s:{if(v[b+64>>2]!=7){break s}d=v[b+72>>2];if(v[d+16>>2]<1){break s}while(1){d=v[v[d+4>>2]+(e<<5)>>2];KV(v[b+72>>2],e,b+32|0);t:{if(v[b+32>>2]!=7){break t}f=b+16|0;hf(f,v[v[v[a>>2]>>2]+24>>2]);d=qc(d);rd(v[l+8>>2],d,f);d=0;f=v[b+40>>2];if(v[f+16>>2]<1){break t}while(1){f=v[v[f+4>>2]+(d<<5)>>2];lq(v[b+40>>2],d,b);f=qc(f);rd(v[b+24>>2],f,b);d=d+1|0;f=v[b+40>>2];if((d|0)>2]){continue}break}}bb(b+32|0);e=e+1|0;d=v[b+72>>2];if((e|0)>2]){continue}break}}bb(b- -64|0);ib(v[a+32>>2],310416,b+48|0,0);u:{if(v[b+48>>2]!=7){break u}d=v[b+56>>2];if(v[d+16>>2]<1){break u}e=0;while(1){d=v[v[d+4>>2]+(e<<5)>>2];KV(v[b+56>>2],e,b+32|0);v:{if(v[b+32>>2]!=7){break v}ib(v[l+8>>2],d,b+16|0,0);if(v[b+16>>2]!=7){f=b+16|0;bb(f);hf(f,v[v[v[a>>2]>>2]+24>>2])}d=qc(d);rd(v[l+8>>2],d,b+16|0);d=0;f=v[b+40>>2];if(v[f+16>>2]<1){break v}while(1){f=v[v[f+4>>2]+(d<<5)>>2];lq(v[b+40>>2],d,b);f=qc(f);rd(v[b+24>>2],f,b);d=d+1|0;f=v[b+40>>2];if((d|0)>2]){continue}break}}bb(b+32|0);e=e+1|0;d=v[b+56>>2];if((e|0)>2]){continue}break}}bb(b+48|0);Ma=b+80|0;Z=0;w:{if(v[g+1216>>2]!=7){break w}Z=0;if(v[ib(v[g+1224>>2],228438,g+1104|0,0)>>2]!=7){break w}Z=HG(ab(8),v[v[v[a>>2]>>2]+24>>2],0,v[g+1112>>2])}b=g+1104|0;bb(b);I=Bs(a,v[a+32>>2],313171,b);if(v[g+1104>>2]==3){b=v[I+8>>2];Y=Hc(ab(8),b)}bb(I);if(q){b=v[ib(h,310530,I,0)>>2];d=v[I+8>>2];bb(I);j=(b|0)==1?d:0}ib(i,310602,g+1200|0,0);ib(i,310317,g+1184|0,0);x:{if(v[g+1184>>2]==4){fa=Rb(ab(8),v[g+1192>>2]);break x}y:{if(v[g+1200>>2]==7){ib(v[g+1208>>2],310866,I,0);if(v[g+1104>>2]==7){b=v[I+8>>2];if(v[b+16>>2]==1){break y}}bb(I)}fa=Rb(ab(8),273371);break x}fa=Rb(ab(8),v[v[b+4>>2]>>2]);bb(I)}bb(g+1184|0);bb(g+1200|0);d=0;e=Ma-48|0;Ma=e;v[e+24>>2]=13;v[e+8>>2]=13;G=g+1052|0;v[G>>2]=0;O=a;a=v[a+56>>2];z:{if(a){f=v[a+8>>2];if(!f){break z}a=0;v[e+44>>2]=0;while(1){b=a;a=a+1|0;if(_y(f,e+44|0,e+40|0)){continue}break}a=0;d=Pb(b,4);v[e+44>>2]=0;while(1){b=a;a=a+1|0;if(_y(f,e+44|0,(b<<2)+d|0)){continue}break}v[G>>2]=b;break z}Q=Bs(O,v[O+32>>2],309197,e+24|0);A:{B:{switch(v[e+24>>2]-3|0){case 1:f=v[Q+8>>2];i=zb(f);d=Pb(i,4);C:{if((i|0)<1){break C}b=i&3;a=0;if(i-1>>>0>=3){l=i&-4;while(1){v[(a<<2)+d>>2]=w[a+f|0];x=a|1;v[(x<<2)+d>>2]=w[f+x|0];x=a|2;v[(x<<2)+d>>2]=w[f+x|0];x=a|3;v[(x<<2)+d>>2]=w[f+x|0];a=a+4|0;l=l-4|0;if(l){continue}break}}if(!b){break C}while(1){v[(a<<2)+d>>2]=w[a+f|0];a=a+1|0;b=b-1|0;if(b){continue}break}}v[G>>2]=i;break A;case 0:a=ab(12);f=kl(a,v[Q+8>>2]);b=v[f+4>>2];d=Pb(b,4);cb(d,v[a>>2],b<<2);v[G>>2]=b;mc(f);$a(a);break A;case 4:break B;default:break A}}ib(v[Q+8>>2],234430,e+8|0,0);if(v[e+8>>2]==3){a=v[e+16>>2];f=v[a>>2];d=Pb(f,4);D:{if((f|0)<1){break D}b=f&3;i=v[a+4>>2];a=0;if(f-1>>>0>=3){l=f&-4;while(1){v[(a<<2)+d>>2]=w[a+i|0];x=a|1;v[(x<<2)+d>>2]=w[i+x|0];x=a|2;v[(x<<2)+d>>2]=w[i+x|0];x=a|3;v[(x<<2)+d>>2]=w[i+x|0];a=a+4|0;l=l-4|0;if(l){continue}break}}if(!b){break D}while(1){v[(a<<2)+d>>2]=w[a+i|0];a=a+1|0;b=b-1|0;if(b){continue}break}}v[G>>2]=f}bb(e+8|0)}bb(Q)}Ma=e+48|0;Q=d;E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{if(v[g+1248>>2]!=4){break N}a=v[ga+8>>2];if(!hb(a,244571)){f=0;if(q){if(v[ib(h,313174,I,0)>>2]==3){a=v[I+8>>2];f=Hc(ab(8),a)}bb(I)}a=v[O+48>>2];if(a&32768){if(!Q){break G}b=v[g+1052>>2];if((b|0)>=1){d=v[fa+4>>2];a=w[d|0];if(!a|(a|0)!=v[Q>>2]){break G}e=1;while(1){O:{a=e;if((a|0)==(b|0)){break O}l=w[a+d|0];if(!l){break O}e=a+1|0;if((l|0)==v[(a<<2)+Q>>2]){continue}}break}if((a|0)<(b|0)){break G}}if(f){pq(f,Y,Z,0,0,1,2,0,1,j,0,U-V,S-T,p,0,m);break F}if(!q){break E}P:{if(v[ib(h,312768,g+1088|0,0)>>2]!=6){break P}a=v[g+1096>>2];if(v[a+12>>2]<1){break P}nm(a,1,0,m);a=Ma-224|0;Ma=a;u=S-T;p=u*.5;A[a+216>>3]=p;s=U-V;r=s*.5;u=(s>3]=s;Fb(m,341922,a+208|0);K=p+u;A[a+200>>3]=K;A[a+192>>3]=r;A[a+184>>3]=K;o=u*.55228475;N=o+r;A[a+176>>3]=N;W=o+p;A[a+168>>3]=W;A[a+160>>3]=s;Fb(m,345246,a+160|0);A[a+152>>3]=p;C=r-u;A[a+144>>3]=C;A[a+136>>3]=W;A[a+128>>3]=C;A[a+120>>3]=K;K=r-o;A[a+112>>3]=K;Fb(m,345246,a+112|0);u=p-u;A[a+104>>3]=u;A[a+96>>3]=r;A[a+88>>3]=u;A[a+80>>3]=K;r=p-o;A[a+72>>3]=r;A[a+64>>3]=C;Fb(m,345246,a- -64|0);A[a+56>>3]=p;A[a+48>>3]=s;A[a+40>>3]=r;A[a+32>>3]=s;A[a+24>>3]=u;A[a+16>>3]=N;Fb(m,345246,a+16|0);v[a>>2]=273585;Fb(m,337511,a);Ma=a+224|0}bb(g+1088|0);break E}if(a&65536){if(!f){break E}pq(f,Y,Z,0,0,1,1,0,0,j,0,U-V,S-T,p,0,m);break F}if(!Q){break G}d=v[g+1052>>2];if((d|0)<1){break G}a=d-1|0;if(v[Q>>2]!=79){break H}b=(d|0)>1;e=a>>>0<2?a:2;if(!e){break I}if(v[Q+4>>2]==102){break M}break I}if(!hb(a,221138)){a=v[O+56>>2];if(a){a=v[a+20>>2]}else{a=0}if(!Q){break E}b=v[g+1052>>2];da=ab(8);G=Qd(da);if((b|0)>=1){f=0;while(1){d=v[(f<<2)+Q>>2];if(d>>>0<=255){$b(G,d<<24>>24)}f=f+1|0;if((b|0)!=(f|0)){continue}break}}Q:{if(a){i=0;u=0;k=Ma-608|0;Ma=k;Wb(m,341233);R:{S:{T:{U:{if((j|0)!=90){if((j|0)==180){break U}if((j|0)==270){break T}p=S-T;o=U-V;break R}p=U-V;A[k+576>>3]=p;Fb(m,341833,k+576|0);o=S-T;break R}o=S-T;A[k+592>>3]=o;Fb(m,341810,k+592|0);break S}o=S-T;A[k+560>>3]=o;Fb(m,341810,k+560|0)}p=U-V}K=p*.2;if(Y){b=XG(Y);l=v[b+8>>2];V:{if((l|0)<3){break V}e=2;while(1){if(!Ec(v[v[b>>2]+(e<<2)>>2],273522)){K=Ue(v[v[(v[b>>2]+(e<<2)|0)-4>>2]+4>>2]);l=v[b+8>>2];break V}e=e+1|0;l=v[b+8>>2];if((e|0)<(l|0)){continue}break}}if((l|0)>=1){e=0;while(1){d=v[v[b>>2]+(e<<2)>>2];if(d){Bb(d);$a(d);l=v[b+8>>2]}e=e+1|0;if((l|0)>(e|0)){continue}break}}$a(mc(b))}W:{X:{Y:{b=v[a+40>>2];if(!b){break Y}if(!Ec(b,274184)){u=p;s=0;r=p-K;break X}b=v[a+40>>2];if(!b){break Y}q=1;s=0;if(!Ec(b,291512)){i=3;r=p;break W}b=v[a+40>>2];if(!b){break Y}if(!Ec(b,291526)){u=p;r=p;break W}b=v[a+40>>2];if(!b){break Y}if(Ec(b,279386)){break Y}n=1;r=0;break X}i=3;s=K;r=p-s}q=0}$=ab(8);z=Hc($,G);Z:{if(Ec(v[a>>2],313514)){break Z}e=v[z>>2];if((e|0)<1){break Z}if(w[v[z+4>>2]]==42){yk(z,0,1);e=v[z>>2];if((e|0)<1){break Z}}b=e-1|0;if(w[b+v[z+4>>2]|0]!=42){break Z}yk(z,b,1)}_:{$:{aa:{ba:{ca:{if(!Ec(v[a>>2],313514)){if(!v[a+32>>2]){fb(1,-1,288430,0);break _}Wb(m,342423);p=o;o=A[a+8>>3]*3+7;p=p/(o*+(v[a+32>>2]+2|0));f=-1;l=v[z>>2];if((l|0)<-1){break ba}o=0;while(1){e=42;C=o;P=p;b=B((f|0)<0|(f|0)>=(l|0)?e:w[v[z+4>>2]+f|0]&127,10);da:{if(!w[b+881728|0]){A[k+280>>3]=r;A[k+272>>3]=p;A[k+264>>3]=s;A[k+256>>3]=o;Fb(m,342435,k+256|0);o=1;break da}W=A[a+8>>3];A[k+312>>3]=r;A[k+304>>3]=p*W;A[k+296>>3]=s;A[k+288>>3]=o;Fb(m,342435,k+288|0);o=A[a+8>>3]}o=C+P*(o+(w[b+881729|0]?A[a+8>>3]:1));C=o;P=p;ea:{if(w[b+881730|0]){N=A[a+8>>3];A[k+248>>3]=r;A[k+240>>3]=p*N;A[k+232>>3]=s;A[k+224>>3]=o;Fb(m,342435,k+224|0);o=A[a+8>>3];break ea}A[k+216>>3]=r;A[k+208>>3]=p;A[k+200>>3]=s;A[k+192>>3]=o;Fb(m,342435,k+192|0);o=1}o=C+P*(o+(w[b+881731|0]?A[a+8>>3]:1));C=o;P=p;fa:{if(w[b+881732|0]){N=A[a+8>>3];A[k+184>>3]=r;A[k+176>>3]=p*N;A[k+168>>3]=s;A[k+160>>3]=o;Fb(m,342435,k+160|0);o=A[a+8>>3];break fa}A[k+152>>3]=r;A[k+144>>3]=p;A[k+136>>3]=s;A[k+128>>3]=o;Fb(m,342435,k+128|0);o=1}o=C+P*(o+(w[b+881733|0]?A[a+8>>3]:1));C=o;P=p;ga:{if(w[b+881734|0]){N=A[a+8>>3];A[k+120>>3]=r;A[k+112>>3]=p*N;A[k+104>>3]=s;A[k+96>>3]=o;Fb(m,342435,k+96|0);o=A[a+8>>3];break ga}A[k+88>>3]=r;A[k+80>>3]=p;A[k+72>>3]=s;A[k+64>>3]=o;Fb(m,342435,k- -64|0);o=1}o=C+P*(o+(w[b+881735|0]?A[a+8>>3]:1));C=o;P=p;ha:{if(w[b+881736|0]){N=A[a+8>>3];A[k+56>>3]=r;A[k+48>>3]=p*N;A[k+40>>3]=s;A[k+32>>3]=o;Fb(m,342435,k+32|0);o=A[a+8>>3];break ha}A[k+24>>3]=r;A[k+16>>3]=p;A[k+8>>3]=s;A[k>>3]=o;Fb(m,342435,k);o=1}o=C+P*(o+(w[b+881737|0]?A[a+8>>3]:1));l=v[z>>2];b=(l|0)>(f|0);f=f+1|0;if(b){continue}break}break ca}if(!Ec(v[a>>2],313111)){if(!v[a+32>>2]){fb(1,-1,288430,0);break _}Wb(m,342423);p=o/+(B(v[a+32>>2],11)+35|0);C=p+p;o=0;ia:{if(v[z>>2]<-2){break ia}A[k+536>>3]=r;A[k+528>>3]=C;A[k+520>>3]=s;v[k+512>>2]=0;v[k+516>>2]=0;Fb(m,342435,k+512|0);A[k+504>>3]=r;A[k+496>>3]=p;A[k+488>>3]=s;o=p*3;N=o+0;A[k+480>>3]=N;Fb(m,342435,k+480|0);A[k+472>>3]=r;A[k+464>>3]=p;A[k+456>>3]=s;o=N+o;A[k+448>>3]=o;Fb(m,342435,k+448|0);o=o+p*5;h=v[z>>2];if((h|0)<=-2){break ia}a=104;f=0;while(1){b=f;ja:{if((b|0)==(h|0)){f=(a|0)%103|0;break ja}f=106;if((b|0)==(h+1|0)){break ja}e=a;a=t[b+v[z+4>>2]|0];d=a&255;f=d>>>0>31?(a|0)>-1?d-32|0:0:0;a=e+B(f,b+1|0)|0}A[k+440>>3]=r;d=B(f,6);e=w[d+881072|0];A[k+432>>3]=p*+(e>>>0);A[k+424>>3]=s;A[k+416>>3]=o;Fb(m,342435,k+416|0);A[k+408>>3]=r;f=w[d+881074|0];A[k+400>>3]=p*+(f>>>0);A[k+392>>3]=s;o=o+p*+(e+w[d+881073|0]|0);A[k+384>>3]=o;Fb(m,342435,k+384|0);A[k+376>>3]=r;e=w[d+881076|0];A[k+368>>3]=p*+(e>>>0);A[k+360>>3]=s;o=o+p*+(f+w[d+881075|0]|0);A[k+352>>3]=o;Fb(m,342435,k+352|0);o=o+p*+(e+w[d+881077|0]|0);f=b+1|0;h=v[z>>2];if((b|0)<=(h|0)){continue}break}}A[k+344>>3]=r;A[k+336>>3]=C;A[k+328>>3]=s;A[k+320>>3]=o;Fb(m,342435,k+320|0);o=p*+(B(v[z>>2],11)+35|0);break aa}if(!Ec(v[a>>2],315027)){R=v[a+36>>2];d=0;f=0;j=Ma-8240|0;Ma=j;r=A[a+16>>3];s=A[a+24>>3];ka:{if(r<=0|s<=0){fb(1,-1,283555,0);break ka}u=H((o/r+-73)/17);la:{if(D(u)<2147483648){x=~~u;break la}x=-2147483648}if((x|0)<=0){fb(1,-1,283448,0);break ka}ma:{y=v[z>>2];if((y|0)<1){break ma}E=v[z+4>>2];i=1;n=1;na:{while(1){q=y-d|0;l=0;a=d;oa:{while(1){if((w[a+E|0]-48&255)>>>0>9){break oa}a=a+1|0;l=l+1|0;if((q|0)!=(l|0)){continue}break}l=q}h=0;e=d;pa:{qa:{if((l|0)>=13){if((n|0)>927){break na}v[(j+368|0)+(n<<2)>>2]=902;n=n+1|0;M=0;q=0;while(1){a=B(M,-44)+l|0;i=(a|0)<44?a:44;v[j+6192>>2]=1;a=l-q|0;h=(a|0)<44?a:44;ra:{if((a|0)<1){break ra}f=d+q|0;e=(i|0)>1?i:1;b=e&3;a=0;if(e-1>>>0>=3){e=e&2147483644;while(1){J=j+6192|0;_=a|1;v[J+(_<<2)>>2]=t[E+(a+f|0)|0]-48;X=a|2;v[J+(X<<2)>>2]=t[E+(f+_|0)|0]-48;_=a|3;v[J+(_<<2)>>2]=t[E+(f+X|0)|0]-48;a=a+4|0;v[J+(a<<2)>>2]=t[E+(f+_|0)|0]-48;e=e-4|0;if(e){continue}break}}if(!b){break ra}while(1){e=a+f|0;a=a+1|0;v[(j+6192|0)+(a<<2)>>2]=t[e+E|0]-48;b=b-1|0;if(b){continue}break}}J=(h|0)/3|0;if((h|0)>=-2){sa:{if((h|0)>=0){a=i+1|0;e=a&-2;_=a&1;h=0;while(1){f=0;a=0;b=e;if(i){while(1){X=a<<2;aa=j+6192|0;ea=X+aa|0;ba=v[ea>>2]+B(f,10)|0;f=(ba|0)/900|0;v[ea>>2]=f;X=aa+(X|4)|0;aa=v[X>>2]+B(ba-B(f,900)|0,10)|0;f=(aa|0)/900|0;v[X>>2]=f;f=aa-B(f,900)|0;a=a+2|0;b=b-2|0;if(b){continue}break}}b=(j+6128|0)+(J-h<<2)|0;if(_){X=(j+6192|0)+(a<<2)|0;f=v[X>>2]+B(f,10)|0;a=(f|0)/900|0;v[X>>2]=a;f=f-B(a,900)|0}v[b>>2]=f;a=(h|0)==(J|0);h=h+1|0;if(!a){continue}break}break sa}eb(j+6128|0,0,(J<<2)+4|0)}b=((n|0)>928?n:928)-n|0;a=0;while(1){if((a|0)==(b|0)){break na}v[(j+368|0)+(n<<2)>>2]=v[(j+6128|0)+(a<<2)>>2];n=n+1|0;e=(a|0)!=(J|0);a=a+1|0;if(e){continue}break}}M=M+1|0;q=q+44|0;if((q|0)<(l|0)){continue}break}d=d+l|0;break qa}while(1){ta:{b=t[e+E|0];if(b&128){break ta}a=b<<2;if(!(w[a+929328|0]!=30|w[a+929329|0]!=30|w[a+929330|0]!=30)){if(w[a+929331|0]==30){break ta}}a=0;ua:{if((b-48&255)>>>0>9){break ua}b=y-e|0;f=e;while(1){a=a+1|0;if((b|0)==(a|0)){a=b;break ua}f=f+1|0;if((w[E+f|0]-48&255)>>>0<10){continue}break}}h=((a|0)<13)+h|0;if((a|0)>12){break ta}e=e+1|0;if((y|0)>(e|0)){continue}}break}l=0;b=d;if((h|0)>=5){if(!i){if((n|0)>927){break na}v[(j+368|0)+(n<<2)>>2]=900;n=n+1|0}e=d+h|0;i=e-2|0;J=e-1|0;a=30;h=0;b=0;while(1){l=d+E|0;q=w[l|0]&127;va:{wa:{xa:{ya:{za:{f=b;Aa:{Ba:{Ca:{Da:{Ea:{Fa:{Ga:{Ha:{Ia:{Ja:{Ka:{La:{switch(b|0){case 0:h=q<<2;b=t[h+929328|0];if((b|0)<=29){if((a|0)==30){a=b;break wa}if((n|0)>927){break na}v[(j+368|0)+(n<<2)>>2]=b+B(a,30);n=n+1|0;a=30;break wa}if(t[h+929329|0]<=29){if((a|0)==30){break xa}if((n|0)>927){break na}v[(j+368|0)+(n<<2)>>2]=B(a,30)+27;break Ka}if(t[h+929330|0]<=29){if((a|0)==30){break ya}if((n|0)>927){break na}b=2;v[(j+368|0)+(n<<2)>>2]=B(a,30)+28;break Ia}if(t[h+929331|0]>29){break wa}if(!(t[((w[l+1|0]&127)<<2)+929331|0]>29|(d|0)>=(i|0)|t[((w[l+2|0]&127)<<2)+929331|0]>29)){break za}b=5;if((a|0)==30){a=29;break va}if((n|0)>927){break na}v[(j+368|0)+(n<<2)>>2]=B(a,30)+29;break Ia;case 4:b=t[(q<<2)+929328|0];if((b|0)<=29){break Ba}if((a|0)==30){break Fa}break Ea;case 1:h=q<<2;if(t[h+929328|0]<=29){if(!(t[((w[l+1|0]&127)<<2)+929328|0]>29|(d|0)>=(i|0)|t[((w[l+2|0]&127)<<2)+929328|0]>29)){if((a|0)!=30){if((n|0)>927){break na}b=B(a,30);a=28;v[(j+368|0)+(n<<2)>>2]=b+28;n=n+1|0;b=0;break va}if((n|0)>927){break na}v[(j+368|0)+(n<<2)>>2]=868;n=n+1|0;b=0;a=30;break va}b=4;if((a|0)==30){a=27;break va}if((n|0)>927){break na}v[(j+368|0)+(n<<2)>>2]=B(a,30)+27;break Ia}b=t[h+929329|0];if((b|0)<=29){if((a|0)==30){a=b;break Ca}if((n|0)>927){break na}v[(j+368|0)+(n<<2)>>2]=b+B(a,30);n=n+1|0;a=30;break Ca}if(t[h+929330|0]<=29){if((a|0)==30){break ya}if((n|0)>927){break na}b=2;v[(j+368|0)+(n<<2)>>2]=B(a,30)+28;break Ia}if(t[h+929331|0]>29){break Ca}if(!(t[((w[l+1|0]&127)<<2)+929331|0]>29|(d|0)>=(i|0)|t[((w[l+2|0]&127)<<2)+929331|0]>29)){break za}b=5;if((a|0)==30){a=29;break va}if((n|0)>927){break na}v[(j+368|0)+(n<<2)>>2]=B(a,30)+29;break Ia;case 2:h=q<<2;if(t[h+929328|0]<=29){b=0;if((a|0)==30){a=28;break va}if((n|0)>927){break na}v[(j+368|0)+(n<<2)>>2]=B(a,30)+28;break Ia}if(t[h+929329|0]<=29){if((a|0)==30){break xa}if((n|0)>927){break na}v[(j+368|0)+(n<<2)>>2]=B(a,30)+27;break Ka}b=t[h+929330|0];if((b|0)<=29){if((a|0)==30){a=b;break Da}if((n|0)>927){break na}v[(j+368|0)+(n<<2)>>2]=b+B(a,30);n=n+1|0;a=30;break Da}if(t[h+929331|0]>29){break Da}if(!(t[((w[l+1|0]&127)<<2)+929331|0]>29|(d|0)>=(J|0))){b=3;if((a|0)==30){a=25;break va}if((n|0)>927){break na}v[(j+368|0)+(n<<2)>>2]=B(a,30)+25;break Ia}b=5;if((a|0)==30){a=29;break va}if((n|0)>927){break na}v[(j+368|0)+(n<<2)>>2]=B(a,30)+29;break Ia;case 5:break Ga;case 3:break La;default:break va}}b=q<<2;if(t[b+929328|0]<=29){b=0;if((a|0)==30){a=29;break va}if((n|0)>927){break na}v[(j+368|0)+(n<<2)>>2]=B(a,30)+29;break Ia}if(t[b+929329|0]>29){break Ja}if((a|0)!=30){if((n|0)>927){break na}v[(j+368|0)+(n<<2)>>2]=B(a,30)+29;b=1;n=n+1|0;a=27;break va}if((n|0)>927){break na}v[(j+368|0)+(n<<2)>>2]=897}b=1;n=n+1|0;a=30;break va}if(t[b+929330|0]>29){break Ha}if((a|0)!=30){if((n|0)>927){break na}b=2;v[(j+368|0)+(n<<2)>>2]=B(a,30)+29;n=n+1|0;a=28;break va}if((n|0)>927){break na}b=2;v[(j+368|0)+(n<<2)>>2]=898}n=n+1|0;a=30;break va}b=t[b+929331|0];Ma:{if((b|0)>29){break Ma}if((a|0)==30){a=b;break Ma}if((n|0)>927){break na}v[(j+368|0)+(n<<2)>>2]=b+B(a,30);n=n+1|0;a=30}d=d+1|0;b=3;break va}b=t[(q<<2)+929331|0];if((b|0)<=29){break Ba}if((a|0)!=30){break Ea}}a=0;break Aa}if((n|0)>927){break na}v[(j+368|0)+(n<<2)>>2]=B(a,30);n=n+1|0;a=30;break Aa}d=d+1|0;b=2;break va}b=1;d=d+1|0;break va}if((a|0)==30){d=d+1|0;a=b;break Aa}if((n|0)>927){break na}v[(j+368|0)+(n<<2)>>2]=B(a,30)+b;n=n+1|0;d=d+1|0;a=30}b=h;break va}Na:{if((a|0)!=30){if((n|0)>927){break na}v[(j+368|0)+(n<<2)>>2]=B(a,30)+28;break Na}if((n|0)>927){break na}v[(j+368|0)+(n<<2)>>2]=865;n=n+1|0;b=3;a=30;break va}n=n+1|0;b=3;a=25;break va}b=2;a=28;break va}b=1;a=27;break va}d=d+1|0;b=0}h=f;if((d|0)<(e|0)){continue}break}i=1;if((a|0)>29){d=e;break pa}if((n|0)>927){d=e;break pa}v[(j+368|0)+(n<<2)>>2]=B(a,30)+29;n=n+1|0;d=e;break pa}Oa:{while(1){e=y-b|0;f=0;a=b;Pa:{while(1){if((w[a+E|0]-48&255)>>>0>9){break Pa}a=a+1|0;f=f+1|0;if((e|0)!=(f|0)){continue}break}f=e}h=0;e=b;if((f|0)>12){break Oa}while(1){Qa:{f=t[e+E|0];if(f&128){break Qa}a=f<<2;if(!(w[a+929328|0]!=30|w[a+929329|0]!=30|w[a+929330|0]!=30)){if(w[a+929331|0]==30){break Qa}}a=0;Ra:{if((f-48&255)>>>0>9){break Ra}i=y-e|0;f=e;while(1){a=a+1|0;if((i|0)==(a|0)){a=i;break Ra}f=f+1|0;if((w[E+f|0]-48&255)>>>0<10){continue}break}}h=((a|0)<13)+h|0;if((a|0)>12){break Qa}e=e+1|0;if((y|0)>(e|0)){continue}}break}if((h|0)>4){break Oa}b=b+1|0;l=l+1|0;if((q|0)!=(l|0)){continue}break}l=q}if((n|0)>927){break na}v[(j+368|0)+(n<<2)>>2]=(l|0)%6|0?901:924;n=n+1|0;a=0;if((l|0)>=6){q=l-6|0;while(1){f=E+(a+d|0)|0;e=w[f+4|0];b=e>>>24|0;h=e<<8;e=b;i=h;h=w[f+3|0];b=h>>>16|0;h=i|h<<16;i=b|e;e=w[f+1|0];b=e>>>24|0;M=e<<8;e=b;J=h;h=w[f|0];b=h>>>16|0;h=h<<16|M;b=b|e;e=h|w[f+2|0];b=b<<24|e>>>8;e=w[f+5|0]|(J|e<<24);f=b|i;b=f;h=A3a(z3a(e,b,729e6,0),Pa);if((n|0)>927){break na}f=n<<2;ka=f+(j+368|0)|0,la=(z3a(e,b,-1029996288,152)>>>0)%900|0,v[ka>>2]=la;if((n|0)==927){break na}f=f+(j+368|0)|0;v[f+4>>2]=h;if((n|0)>925){break na}ka=f,la=A3a(z3a(e,b,81e4,0),Pa),v[ka+8>>2]=la;if((n|0)==925){break na}ka=f,la=A3a(z3a(e,b,900,0),Pa),v[ka+12>>2]=la;n=n+4|0;a=a+6|0;if((q|0)>=(a|0)){continue}break}}if((a|0)<(l|0)){b=(n|0)>928?n:928;while(1){if((b|0)==(n|0)){break na}v[(j+368|0)+(n<<2)>>2]=w[E+(a+d|0)|0];n=n+1|0;a=a+1|0;if((l|0)!=(a|0)){continue}break}}d=d+l|0}i=0}if((d|0)<(y|0)){continue}break}f=n-1|0;if((f|0)!=928){break ma}}fb(1,-1,283518,0);break ka}a=f+1|0;i=R+1|0;h=1<3?d:3;if((q|0)>=91){fb(1,-1,283486,0);break ka}d=B(l,q)-b|0;b=d+a|0;if((b|0)>=929){fb(1,-1,283518,0);break ka}v[j+368>>2]=b;if((d|0)>0){while(1){v[(j+368|0)+(a<<2)>>2]=900;a=a+1|0;if((b|0)>(a|0)){continue}break}}if((i|0)!=31){eb(j+6192|0,0,((h|0)>1?h:1)<<2)}Sa:{if((b|0)<1){break Sa}d=h-1|0;n=(j+6192|0)+(d<<2)|0;M=v[(R<<2)+929840>>2];y=v[M>>2];f=0;if((h|0)>=2){while(1){J=(v[n>>2]+v[(j+368|0)+(f<<2)>>2]|0)%929|0;a=d;while(1){_=a<<2;X=j+6192|0;e=a-1|0;v[_+X>>2]=((v[X+(e<<2)>>2]-((B(J,v[M+_>>2])|0)%929|0)|0)+929|0)%929;_=(a|0)>1;a=e;if(_){continue}break}v[j+6192>>2]=((929-((B(y,J)|0)%929|0)&65535)>>>0)%929;f=f+1|0;if((f|0)!=(b|0)){continue}break Sa}}while(1){v[j+6192>>2]=((929-((B(y,(v[n>>2]+v[(j+368|0)+(f<<2)>>2]|0)%929|0)|0)%929|0)&65535)>>>0)%929;f=f+1|0;if((f|0)!=(b|0)){continue}break}}if((i|0)!=31){while(1){a=h-1|0;d=v[(j+6192|0)+(a<<2)>>2];v[(j+368|0)+(b<<2)>>2]=d?929-d|0:0;b=b+1|0;d=(h|0)>1;h=a;if(d){continue}break}}K=r*6;u=+(q|0);if(K+u*s>p){fb(1,-1,283486,0);break ka}Wb(m,341229);s=(p-K)/u;A[j+344>>3]=s;A[j+360>>3]=(p-s*u)*.5;A[j+336>>3]=r;A[j+352>>3]=(o-+(B(l,17)+73|0)*r)*.5;Fb(m,341740,j+336|0);y=q-1|0;i=(y|0)/3|0;J=(y-B(i,3)|0)+B(R,3)|0;e=0;h=0;while(1){d=y-h|0;a=0;n=0;Ta:{Ua:{Va:{Wa:{b=(h>>>0)/3|0;f=h-B(b,3)|0;switch(f|0){case 0:break Ua;case 2:break Va;case 1:break Wa;default:break Ta}}a=B((h>>>0)/3|0,30);n=a+i|0;a=a+J|0;break Ta}a=B(b,30);n=a+J|0;a=a+E|0;break Ta}a=B((h>>>0)/3|0,30);n=a+E|0;a=a+i|0}v[j+328>>2]=8;v[j+324>>2]=d;v[j+320>>2]=0;Fb(m,342538,j+320|0);v[j+312>>2]=1;v[j+308>>2]=d;v[j+304>>2]=9;Fb(m,342538,j+304|0);v[j+296>>2]=1;v[j+292>>2]=d;v[j+288>>2]=11;Fb(m,342538,j+288|0);v[j+280>>2]=1;v[j+276>>2]=d;v[j+272>>2]=13;Fb(m,342538,j+272|0);v[j+260>>2]=d;R=f<<3;a=R+B(a,24)|0;b=t[a+929888|0];v[j+264>>2]=b;v[j+256>>2]=17;Fb(m,342538,j+256|0);v[j+244>>2]=d;b=(b+t[a+929889|0]|0)+17|0;v[j+240>>2]=b;f=t[a+929890|0];v[j+248>>2]=f;Fb(m,342538,j+240|0);v[j+228>>2]=d;b=t[a+929891|0]+(b+f|0)|0;v[j+224>>2]=b;f=t[a+929892|0];v[j+232>>2]=f;Fb(m,342538,j+224|0);v[j+212>>2]=d;b=t[a+929893|0]+(b+f|0)|0;v[j+208>>2]=b;f=t[a+929894|0];v[j+216>>2]=f;Fb(m,342538,j+208|0);b=t[a+929895|0]+(b+f|0)|0;if((x|0)>0){a=e+l|0;while(1){v[j+196>>2]=d;f=R+B(v[(j+368|0)+(e<<2)>>2],24)|0;M=t[f+929888|0];v[j+200>>2]=M;v[j+192>>2]=b;Fb(m,342538,j+192|0);v[j+180>>2]=d;b=t[f+929889|0]+(b+M|0)|0;v[j+176>>2]=b;M=t[f+929890|0];v[j+184>>2]=M;Fb(m,342538,j+176|0);v[j+164>>2]=d;b=t[f+929891|0]+(b+M|0)|0;v[j+160>>2]=b;M=t[f+929892|0];v[j+168>>2]=M;Fb(m,342538,j+160|0);v[j+148>>2]=d;b=t[f+929893|0]+(b+M|0)|0;v[j+144>>2]=b;M=t[f+929894|0];v[j+152>>2]=M;Fb(m,342538,j+144|0);b=t[f+929895|0]+(b+M|0)|0;e=e+1|0;if((a|0)!=(e|0)){continue}break}e=a}v[j+132>>2]=d;a=R+B(n,24)|0;f=t[a+929888|0];v[j+136>>2]=f;v[j+128>>2]=b;Fb(m,342538,j+128|0);v[j+116>>2]=d;b=t[a+929889|0]+(b+f|0)|0;v[j+112>>2]=b;f=t[a+929890|0];v[j+120>>2]=f;Fb(m,342538,j+112|0);v[j+100>>2]=d;b=t[a+929891|0]+(b+f|0)|0;v[j+96>>2]=b;f=t[a+929892|0];v[j+104>>2]=f;Fb(m,342538,j+96|0);v[j+84>>2]=d;b=t[a+929893|0]+(b+f|0)|0;v[j+80>>2]=b;f=t[a+929894|0];v[j+88>>2]=f;Fb(m,342538,j+80|0);v[j+72>>2]=7;v[j+68>>2]=d;a=t[a+929895|0]+(b+f|0)|0;v[j+64>>2]=a;Fb(m,342538,j- -64|0);v[j+56>>2]=1;v[j+52>>2]=d;v[j+48>>2]=a+8;Fb(m,342538,j+48|0);v[j+40>>2]=1;v[j+36>>2]=d;v[j+32>>2]=a+12;Fb(m,342538,j+32|0);v[j+24>>2]=1;v[j+20>>2]=d;v[j+16>>2]=a+14;Fb(m,342538,j+16|0);v[j+8>>2]=1;v[j+4>>2]=d;v[j>>2]=a+17;Fb(m,342538,j);h=h+1|0;if((q|0)!=(h|0)){continue}break}Wb(m,345582)}Ma=j+8240|0;break $}v[k+544>>2]=v[a>>2];fb(1,-1,288478,k+544|0);break aa}o=A[a+8>>3]*3+7}o=p*(o*+(l+2|0))}if(n){break $}pq(z,Y,Z,0,0,1,i,0,0,0,u,o,K+u,0,q,m)}Wb(m,345582)}Bb(z);$a($);Ma=k+608|0;break Q}a=Bs(O,v[O+32>>2],310541,g+1088|0);b=v[a+8>>2];d=v[g+1088>>2];bb(a);e=0;n=(d|0)==1?b:0;h=v[O+48>>2];b=(h>>>12^-1)&1;d=v[O+56>>2];Xa:{if(!d){break Xa}f=v[d+12>>2];if(!f){break Xa}b=v[f>>2];n=(b|0)==2?2:(b|0)==1;b=0;Ya:{switch(v[f+4>>2]-1|0){case 0:b=1;break Xa;case 1:break Ya;default:break Xa}}b=3}f=G;if(h&16777216){d=Bs(O,v[O+32>>2],249379,a);a=v[a+8>>2];e=v[g+1088>>2];bb(d);e=(e|0)==1?a:0;d=v[O+56>>2]}Za:{if(!d){break Za}a=v[d+16>>2];if(!a){break Za}_a:{switch(v[a>>2]){case 0:y=v[a+4>>2];q=Ma-192|0;Ma=q;i=v[G>>2];$a:{if(!i){a=Hc(ab(8),G);break $a}ab:{if((i|0)<4){break ab}x=v[G+4>>2];M=w[x|0];if((M-48&255)>>>0>=10){break ab}$=w[x+1|0];if(($-48&255)>>>0>9){break ab}_=w[x+2|0];if((_-48&255)>>>0>9){break ab}X=w[x+3|0];if((X-48&255)>>>0>9){break ab}d=4;bb:{cb:{d=(i|0)>4?w[x+4|0]==45?5:4:d;f=d|2;if((i|0)<(f|0)){break cb}a=((d|0)<(i|0)?i:d)-d|0;if(!a){break cb}h=d+x|0;l=w[h|0];if((a|0)==1|(l-48&255)>>>0>9){break cb}a=w[h+1|0];if((a-48&255)>>>0>=10){break cb}k=(a+B(l,10)|0)-528|0;db:{f=(f|0)<(i|0)?w[f+x|0]==45?d+3|0:f:f;d=f+2|0;if((i|0)<(d|0)){break db}a=((f|0)<(i|0)?i:f)-f|0;if(!a){break db}h=f+x|0;l=w[h|0];if((a|0)==1|(l-48&255)>>>0>9){break db}a=w[h+1|0];if((a-48&255)>>>0>9){break db}l=(a+B(l,10)|0)-528|0;break bb}d=f;l=0;break bb}l=0}eb:{fb:{if((d|0)>=(i|0)){break fb}f=d+x|0;if(w[f|0]!=84){a=Hc(ab(8),G);break $a}h=d+3|0;if((i|0)<(h|0)){break eb}a=d+1|0;z=((a|0)<(i|0)?i:a)-a|0;if(!z){break eb}a=w[a+x|0];if((z|0)==1|(a-48&255)>>>0>9){break eb}f=w[f+2|0];if((f-48&255)>>>0>=10){break eb}z=(f+B(a,10)|0)-528|0;gb:{h=(h|0)<(i|0)?w[h+x|0]==58?d+4|0:h:h;f=h+2|0;if((i|0)<(f|0)){break gb}a=((h|0)<(i|0)?i:h)-h|0;if(!a){break gb}d=h+x|0;J=w[d|0];if((a|0)==1|(J-48&255)>>>0>9){break gb}a=w[d+1|0];if((a-48&255)>>>0>=10){break gb}J=(a+B(J,10)|0)-528|0;hb:{f=(f|0)<(i|0)?w[f+x|0]==58?h+3|0:f:f;d=f+2|0;if((i|0)<(d|0)){break hb}a=((f|0)<(i|0)?i:f)-f|0;if(!a){break hb}h=f+x|0;x=w[h|0];if((a|0)==1|(x-48&255)>>>0>9){break hb}a=w[h+1|0];if((a-48&255)>>>0>9){break hb}E=(a+B(x,10)|0)-528|0;break fb}d=f;break fb}J=0;d=h}if((d|0)<(i|0)){a=Hc(ab(8),G);break $a}ib:{jb:{f=v[y>>2];if((f|0)<1){break jb}a=0;i=v[y+4>>2];h=w[i|0];if((h|0)!=123){while(1){kb:{if((h-97&255)>>>0>=26){d=0;if((h&254)!=40&(h-65&255)>>>0>25){break ib}a=a+1|0;if((f|0)<=(a|0)){break ib}break kb}a=a+1|0;if((f|0)<=(a|0)){break jb}}h=w[a+i|0];if((h|0)!=123){continue}break}}d=a+1|0;if((f|0)<=(d|0)){f=d;break ib}a=d;while(1){if(w[a+i|0]==125){f=a;break ib}a=a+1|0;if((f|0)!=(a|0)){continue}break}break ib}d=0}aa=ab(16);x=hc(aa);if((d|0)<(f|0)){while(1){a=d+1|0;lb:{mb:{nb:{ob:{pb:{qb:{rb:{sb:{tb:{ub:{vb:{i=v[y+4>>2];h=w[i+d|0];switch(h-32|0){case 0:case 12:case 13:case 14:case 15:case 26:break ob;case 7:break pb;case 57:break qb;case 45:break rb;case 36:break sb;case 72:break tb;case 40:break ub;case 51:break vb;default:break lb}}h=1;if((a|0)<(f|0)){h=d+2|0;d=w[a+i|0]==83;a=d?h:a;h=d?2:1}d=ab(8);v[d+4>>2]=h;v[d>>2]=883500;break mb}h=1;if((a|0)<(f|0)){h=d+2|0;d=w[a+i|0]==72;a=d?h:a;h=d?2:1}d=ab(12);v[d+8>>2]=h;v[d+4>>2]=1;v[d>>2]=883408;break mb}h=1;if((a|0)<(f|0)){h=d+2|0;d=w[a+i|0]==104;a=d?h:a;h=d?2:1}d=ab(12);v[d+8>>2]=h;v[d+4>>2]=0;v[d>>2]=883408;break mb}h=1;if((a|0)<(f|0)){h=d+2|0;d=w[a+i|0]==68;a=d?h:a;h=d?2:1}d=ab(8);v[d+4>>2]=h;v[d>>2]=883316;break mb}h=1;if((a|0)<(f|0)){h=d+2|0;d=w[a+i|0]==77;a=d?h:a;h=d?2:1}d=ab(8);v[d+4>>2]=h;v[d>>2]=883224;break mb}h=1;wb:{if(w[a+i|0]!=89|(a|0)>=(f|0)){break wb}a=d+2|0;h=2;if((f|0)<=(a|0)|w[a+i|0]!=89){break wb}a=d+3|0;h=3;if((f|0)<=(a|0)){break wb}h=d+4|0;d=w[a+i|0]==89;a=d?h:a;h=d?4:3}d=ab(8);v[d+4>>2]=h;v[d>>2]=883132;break mb}ea=ab(8);i=Qd(ea);xb:{if((a|0)>=(f|0)){break xb}while(1){d=a;yb:{zb:{Ab:{Bb:{h=v[y+4>>2];R=h+a|0;a=w[R|0];if((a|0)!=92){if((a|0)!=39){break Bb}a=d+1|0;if((f|0)<=(a|0)|w[a+h|0]!=39){break xb}$b(i,39);a=d+2|0;break yb}ba=d+1|0;if((ba|0)==(f|0)){a=f;break xb}a=d+2|0;Cb:{ba=w[h+ba|0];if((ba|0)!=117){break Cb}d=d+6|0;if((d|0)>(f|0)){break Cb}h=t[a+h|0];a=h-48|0;Db:{if((a&255)>>>0<=9){break Db}if((h-97&255)>>>0<=5){a=h-87|0;break Db}a=(h-65&255)>>>0<6?h-55|0:0}a=a<<4;h=t[R+3|0];if((h-48&255)>>>0>=10){break Ab}a=(a+h|0)-48|0;break zb}$b(i,ba<<24>>24);break yb}$b(i,a<<24>>24);a=d;break yb}if((h-97&255)>>>0>=6){if((h-65&255)>>>0>5){break zb}a=(a+h|0)-55|0;break zb}a=(a+h|0)-87|0}a=a<<4;h=t[R+4|0];Eb:{if((h-48&255)>>>0>=10){if((h-97&255)>>>0>=6){if((h-65&255)>>>0>5){break Eb}a=(a+h|0)-55|0;break Eb}a=(a+h|0)-87|0;break Eb}a=(a+h|0)-48|0}a=a<<4;h=t[R+5|0];Fb:{if((h-48&255)>>>0>=10){if((h-97&255)>>>0>=6){if((h-65&255)>>>0>5){break Fb}a=(a+h|0)-55|0;break Fb}a=(a+h|0)-87|0;break Fb}a=(a+h|0)-48|0}if((a|0)>=256){a=d;break yb}$b(i,a<<24>>24);a=d}if((a|0)<(f|0)){continue}break}}d=ab(8);v[d+4>>2]=ea;break nb}i=ab(8);$b(Qd(i),h<<24>>24);d=ab(8);v[d+4>>2]=i}v[d>>2]=883016}Ib(x,d)}d=a;if((a|0)<(f|0)){continue}break}}d=(z|0)%12|0;h=(X+B(_+B($+B(M,10)|0,10)|0,10)|0)-53328|0;y=((h&65535)>>>0)%100|0;a=Qd(ab(8));f=0;Gb:{if(v[x+8>>2]<=0){break Gb}R=d?d:12;M=h-1930>>>0>99;while(1){d=v[v[x>>2]+(f<<2)>>2];Hb:{if(Qa[v[v[d>>2]+8>>2]](d)|0){Ug(a,v[d+4>>2]);break Hb}if(Qa[v[v[d>>2]+28>>2]](d)|0){if(v[d+4>>2]==2){if(!M){v[q+160>>2]=y;Fb(a,217541,q+160|0);break Hb}Wb(a,313242);break Hb}v[q+176>>2]=h;Fb(a,217533,q+176|0);break Hb}if(Qa[v[v[d>>2]+32>>2]](d)|0){if(v[d+4>>2]==1){v[q+128>>2]=k;Fb(a,217527,q+128|0);break Hb}v[q+144>>2]=k;Fb(a,217541,q+144|0);break Hb}if(Qa[v[v[d>>2]+36>>2]](d)|0){if(v[d+4>>2]==1){v[q+96>>2]=l;Fb(a,217527,q+96|0);break Hb}v[q+112>>2]=l;Fb(a,217541,q+112|0);break Hb}if(Qa[v[v[d>>2]+40>>2]](d)|0){i=v[d+4>>2]?z:R;if(v[d+8>>2]==1){v[q+64>>2]=i;Fb(a,217527,q- -64|0);break Hb}v[q+80>>2]=i;Fb(a,217541,q+80|0);break Hb}if(Qa[v[v[d>>2]+44>>2]](d)|0){if(v[d+4>>2]==1){v[q+32>>2]=J;Fb(a,217527,q+32|0);break Hb}v[q+48>>2]=J;Fb(a,217541,q+48|0);break Hb}if(!(Qa[v[v[d>>2]+48>>2]](d)|0)){break Hb}if(v[d+4>>2]==1){v[q>>2]=E;Fb(a,217527,q);break Hb}v[q+16>>2]=E;Fb(a,217541,q+16|0)}d=v[x+8>>2];f=f+1|0;if((d|0)>(f|0)){continue}break}f=0;if((d|0)<=0){break Gb}while(1){h=v[v[x>>2]+(f<<2)>>2];if(h){Qa[v[v[h>>2]+4>>2]](h);d=v[x+8>>2]}f=f+1|0;if((f|0)<(d|0)){continue}break}}mc(x);$a(aa);break $a}a=Hc(ab(8),G);break $a}a=Hc(ab(8),G)}Ma=q+192|0;f=a;break Za;case 1:z=v[a+4>>2];l=v[G>>2];Ib:{if(!l){f=Hc(ab(8),G);break Ib}h=v[G+4>>2];E=w[h|0];x=(E|0)==45|(E|0)==43;f=x;Jb:{if((l|0)<=(f|0)){break Jb}f=x;while(1){if(w[f+h|0]==46){break Jb}f=f+1|0;if((l|0)!=(f|0)){continue}break}f=l}d=(f|0)<(l|0)?f:l;a=l;while(1){Kb:{q=a;if((a|0)<=(f|0)){q=d;break Kb}a=q-1|0;if(w[h+a|0]==48){continue}}break}Lb:{Mb:{d=v[z>>2];if((d|0)<1){break Mb}h=0;k=v[z+4>>2];i=w[k|0];if((i|0)!=123){while(1){Nb:{if((i-97&255)>>>0>=26){a=0;if((i&254)!=40&(i-65&255)>>>0>25){break Lb}h=h+1|0;if((h|0)>=(d|0)){break Lb}break Nb}h=h+1|0;if((h|0)>=(d|0)){break Mb}}i=w[h+k|0];if((i|0)!=123){continue}break}}a=h+1|0;if((d|0)<=(a|0)){d=a;break Lb}h=a;while(1){if(w[h+k|0]==125){d=h;break Lb}h=h+1|0;if((h|0)!=(d|0)){continue}break}break Lb}a=0}R=ab(16);k=hc(R);if((a|0)<(d|0)){while(1){h=v[z+4>>2]+a|0;a=a+1|0;Ob:{Pb:{Qb:{Rb:{h=w[h|0];i=h-32|0;if(i>>>0>26){break Rb}if(1<=(d|0)){break Sb}while(1){h=a;Tb:{Ub:{Vb:{Wb:{y=v[z+4>>2];J=y+a|0;a=w[J|0];if((a|0)!=92){if((a|0)!=39){break Wb}a=h+1|0;if((d|0)<=(a|0)|w[a+y|0]!=39){break Sb}$b(i,39);a=h+2|0;break Tb}$=h+1|0;if(($|0)==(d|0)){a=d;break Sb}a=h+2|0;Xb:{$=w[y+$|0];if(($|0)!=117){break Xb}h=h+6|0;if((h|0)>(d|0)){break Xb}y=t[a+y|0];a=y-48|0;if((a&255)>>>0>9){a=(y-65&255)>>>0<6?y-55|0:0}a=a<<4;y=t[J+3|0];if((y-48&255)>>>0<10){break Vb}if((y-65&255)>>>0>5){break Ub}a=(a+y|0)-55|0;break Ub}$b(i,$<<24>>24);break Tb}$b(i,a<<24>>24);a=h+1|0;break Tb}a=(a+y|0)-48|0}a=a<<4;y=t[J+4|0];Yb:{if((y-48&255)>>>0>=10){if((y-65&255)>>>0>5){break Yb}a=(a+y|0)-55|0;break Yb}a=(a+y|0)-48|0}a=a<<4;y=t[J+5|0];Zb:{if((y-48&255)>>>0>=10){if((y-65&255)>>>0>5){break Zb}a=(a+y|0)-55|0;break Zb}a=(a+y|0)-48|0}if((a|0)>=256){a=h;break Tb}$b(i,a<<24>>24);a=h}if((a|0)<(d|0)){continue}break}}i=ab(8);v[i+4>>2]=M;v[i>>2]=883016;break Pb}if((h&223)==83){i=ab(8);t[i+4|0]=h;v[i>>2]=883592;break Pb}_b:{switch(h-44|0){default:if((h|0)!=122){break Ob}case 12:case 13:case 46:i=ab(12);v[i+8>>2]=0;t[i+4|0]=h;v[i>>2]=883684;break Pb;case 2:i=ab(4);v[i>>2]=883776;break Pb;case 1:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:break Ob;case 0:break _b}}i=ab(4);v[i>>2]=883868;break Pb}y=ab(8);$b(Qd(y),h<<24>>24);i=ab(8);v[i+4>>2]=y;v[i>>2]=883016}Ib(k,i)}if((a|0)<(d|0)){continue}break}}i=0;$b:{if(v[k+8>>2]<=0){break $b}ac:{while(1){a=v[v[k>>2]+(i<<2)>>2];if(!(Qa[v[v[a>>2]+20>>2]](a)|0)){i=i+1|0;if((i|0)>2]){continue}break ac}break}if(!i){break $b}}d=0;a=i;while(1){h=a-1|0;z=v[v[k>>2]+(h<<2)>>2];if(Qa[v[v[z>>2]+16>>2]](z)|0){v[z+8>>2]=d;d=d+1|0}z=(a|0)>1;a=h;if(z){continue}break}}a=i+1|0;if((a|0)>2]){i=-1;while(1){d=v[v[k>>2]+(a<<2)>>2];if(Qa[v[v[d>>2]+16>>2]](d)|0){v[d+8>>2]=i;i=i-1|0}a=a+1|0;if((a|0)>2]){continue}break}}h=Qd(ab(8));d=0;bc:{if(v[k+8>>2]<=0){break bc}i=(E|0)==45?45:32;x=f-x|0;a=f^-1;z=a+l|0;y=a+q|0;J=(f+1|0)>=(q|0);E=(E|0)!=45;q=0;while(1){a=v[v[k>>2]+(d<<2)>>2];cc:{if(Qa[v[v[a>>2]+8>>2]](a)|0){Ug(h,v[a+4>>2]);break cc}if(Qa[v[v[a>>2]+12>>2]](a)|0){if(w[a+4|0]==83){$b(h,i);break cc}if(E){break cc}$b(h,45);break cc}dc:{if(Qa[v[v[a>>2]+16>>2]](a)|0){l=w[a+4|0];a=v[a+8>>2];M=(a|0)<0;if(!(M|(a|0)>=(x|0))){$b(h,t[v[G+4>>2]+((a^-1)+f|0)|0]);break dc}ec:{fc:{if((a|0)<=-1){$=0-a|0;if(($|0)<=(y|0)){$b(h,t[v[G+4>>2]+(f-a|0)|0]);break dc}gc:{switch(l-56|0){case 1:break fc;case 0:break gc;default:break ec}}if((z|0)<($|0)){break cc}$b(h,48);break dc}if((l|0)!=57){break ec}}$b(h,48);break dc}if(M|(l|0)!=90){break cc}$b(h,32);break cc}if(Qa[v[v[a>>2]+20>>2]](a)|0){a=d+1|0;hc:{if((a|0)>=v[k+8>>2]){break hc}a=a<<2;l=v[a+v[k>>2]>>2];if(!(Qa[v[v[l>>2]+16>>2]](l)|0)|w[v[a+v[k>>2]>>2]+4|0]!=122){break hc}if(J){break cc}}$b(h,46);break cc}if(!(Qa[v[v[a>>2]+24>>2]](a)|0)|!q){break cc}$b(h,44)}q=1}a=v[k+8>>2];d=d+1|0;if((a|0)>(d|0)){continue}break}d=0;if((a|0)<=0){break bc}while(1){f=v[v[k>>2]+(d<<2)>>2];if(f){Qa[v[v[f>>2]+4>>2]](f);a=v[k+8>>2]}d=d+1|0;if((d|0)<(a|0)){continue}break}}mc(k);$a(R);f=h}break Za;case 2:break _a;default:break Za}}q=v[a+4>>2];a=0;f=0;ic:{if(!v[G>>2]){f=Hc(ab(8),G);break ic}d=v[q>>2];jc:{if((d|0)<1){break jc}l=v[q+4>>2];h=w[l|0];if((h|0)!=123){while(1){if((h&254)!=40&(h-65&255)>>>0>25&(h-97&255)>>>0>=26){break jc}f=f+1|0;if((f|0)>=(d|0)){break jc}h=w[f+l|0];if((h|0)!=123){continue}break}}a=f+1|0;if((d|0)<=(a|0)){d=a;break jc}f=a;while(1){if(w[f+l|0]==125){d=f;break jc}f=f+1|0;if((f|0)!=(d|0)){continue}break}}k=ab(16);l=hc(k);if((a|0)<(d|0)){while(1){f=v[q+4>>2]+a|0;a=a+1|0;kc:{lc:{mc:{nc:{oc:{f=w[f|0];switch(f-32|0){case 0:case 12:case 13:case 14:case 15:case 26:break mc;case 16:case 25:case 33:case 47:case 56:break nc;case 7:break oc;default:break kc}}z=ab(8);h=Qd(z);pc:{if((a|0)>=(d|0)){break pc}while(1){f=a;qc:{rc:{sc:{tc:{i=v[q+4>>2];x=i+a|0;a=w[x|0];if((a|0)!=92){if((a|0)!=39){break tc}a=f+1|0;if((d|0)<=(a|0)|w[a+i|0]!=39){break pc}$b(h,39);a=f+2|0;break qc}E=f+1|0;if((E|0)==(d|0)){a=d;break pc}a=f+2|0;uc:{E=w[i+E|0];if((E|0)!=117){break uc}f=f+6|0;if((f|0)>(d|0)){break uc}i=t[a+i|0];a=i-48|0;if((a&255)>>>0>9){a=(i-65&255)>>>0<6?i-55|0:0}a=a<<4;i=t[x+3|0];if((i-48&255)>>>0<10){break sc}if((i-65&255)>>>0>5){break rc}a=(a+i|0)-55|0;break rc}$b(h,E<<24>>24);break qc}$b(h,a<<24>>24);a=f+1|0;break qc}a=(a+i|0)-48|0}a=a<<4;i=t[x+4|0];vc:{if((i-48&255)>>>0>=10){if((i-65&255)>>>0>5){break vc}a=(a+i|0)-55|0;break vc}a=(a+i|0)-48|0}a=a<<4;i=t[x+5|0];wc:{if((i-48&255)>>>0>=10){if((i-65&255)>>>0>5){break wc}a=(a+i|0)-55|0;break wc}a=(a+i|0)-48|0}if((a|0)>=256){a=f;break qc}$b(h,a<<24>>24);a=f}if((a|0)<(d|0)){continue}break}}h=ab(8);v[h+4>>2]=z;v[h>>2]=883016;break lc}h=ab(4);v[h>>2]=883964;break lc}i=ab(8);$b(Qd(i),f<<24>>24);h=ab(8);v[h+4>>2]=i;v[h>>2]=883016}Ib(l,h)}if((a|0)<(d|0)){continue}break}}q=ab(8);f=Qd(q);xc:{if(v[l+8>>2]<1){break xc}a=0;d=0;while(1){yc:{h=v[v[l>>2]+(d<<2)>>2];zc:{if(Qa[v[v[h>>2]+8>>2]](h)|0){Ug(f,v[h+4>>2]);break zc}if(!(Qa[v[v[h>>2]+52>>2]](h)|0)){break zc}if(v[G>>2]<=(a|0)){Bb(f);$a(q);f=Hc(ab(8),G);h=v[l+8>>2];break yc}$b(f,t[v[G+4>>2]+a|0]);a=a+1|0}d=d+1|0;h=v[l+8>>2];if((d|0)<(h|0)){continue}}break}if((h|0)<1){break xc}a=0;while(1){d=v[v[l>>2]+(a<<2)>>2];if(d){Qa[v[v[d>>2]+4>>2]](d);h=v[l+8>>2]}a=a+1|0;if((h|0)>(a|0)){continue}break}}mc(l);$a(k)}}pq(f,Y,Z,v[O+48>>2]&4096,e,n,b,1,0,j,0,U-V,S-T,p,0,m);if(!f|(f|0)==(G|0)){break Q}$a(Bb(f))}Bb(G);$a(da);break E}if(!hb(a,271457)){y=Bs(O,v[O+32>>2],310541,I);a=v[y+8>>2];b=v[g+1104>>2];bb(y);e=1;l=(b|0)==1?a:0;a=v[O+56>>2];Ac:{if(!a){break Ac}a=v[a+12>>2];if(!a){break Ac}b=v[a>>2];l=(b|0)==2?2:(b|0)==1;e=0;Bc:{switch(v[a+4>>2]-1|0){case 0:e=1;break Ac;case 1:break Bc;default:break Ac}}e=3}if(w[O+50|0]&2){if(!Q){break E}a=v[g+1052>>2];h=Qd(ab(8));if((a|0)>=1){f=0;while(1){b=v[(f<<2)+Q>>2];if(b>>>0<=255){$b(h,b<<24>>24)}f=f+1|0;if((a|0)!=(f|0)){continue}break}}Cc:{if(v[ib(v[O+32>>2],227556,g+1088|0,0)>>2]!=6){break Cc}d=v[g+1096>>2];if(v[d+12>>2]<1){break Cc}f=0;while(1){ub(d,f,g+1072|0,0);Dc:{if(v[g+1072>>2]!=6){d=0;break Dc}a=v[g+1080>>2];if(v[a+12>>2]!=2){d=0;break Dc}d=0;Ec:{if(v[ub(a,0,g+1056|0,0)>>2]!=3){break Ec}if(vh(v[g+1064>>2],h)){break Ec}a=g+1056|0;bb(a);d=1;if(v[ub(v[g+1080>>2],1,a,0)>>2]!=3){break Ec}if(h){$a(Bb(h))}a=v[g+1064>>2];h=Hc(ab(8),a)}bb(g+1056|0)}bb(g+1072|0);if(d){break Cc}f=f+1|0;d=v[g+1096>>2];if((f|0)>2]){continue}break}}bb(g+1088|0);pq(h,Y,Z,0,0,l,e,1,0,j,0,U-V,S-T,p,0,m);if(!h){break E}$a(Bb(h));break E}f=0;if(v[ib(v[O+32>>2],227556,y,0)>>2]!=6){break J}b=v[v[y+8>>2]+12>>2];G=Pb(b,4);if((b|0)<=0){break L}while(1){a=G+(f<<2)|0;v[a>>2]=0;ub(v[y+8>>2],f,g+1088|0,0);Fc:{Gc:{switch(v[g+1088>>2]-3|0){case 0:d=v[g+1096>>2];e=ab(8);Hc(e,d);v[a>>2]=e;break Fc;case 3:break Gc;default:break Fc}}d=v[g+1096>>2];if(v[d+12>>2]!=2){break Fc}if(v[ub(d,1,g+1072|0,0)>>2]==3){d=v[g+1080>>2];e=ab(8);Hc(e,d);v[a>>2]=e}bb(g+1072|0)}bb(g+1088|0);if(!v[a>>2]){d=ab(8);Qd(d);v[a>>2]=d}f=f+1|0;if((b|0)!=(f|0)){continue}break}n=Pb(b,4);if((b|0)<1){break K}e=0;h=v[g+1052>>2];q=(h|0)<1;while(1){f=0;i=e<<2;x=v[i+G>>2];if((h|0)==v[x>>2]){a=0;Hc:{if(q){break Hc}d=1;f=v[x+4>>2];a=1;if(v[Q>>2]!=w[f|0]){break Hc}while(1){a=d;if((h|0)!=(a|0)){d=a+1|0;if(v[(a<<2)+Q>>2]==w[a+f|0]){continue}}break}a=(a|0)<(h|0)}f=!a}v[i+n>>2]=f;e=e+1|0;if((b|0)!=(e|0)){continue}break}break K}if(hb(a,272824)){break N}hf(g+1120|0,v[v[v[O>>2]>>2]+24>>2]);v[g+1104>>2]=2;v[I+8>>2]=0;v[I+12>>2]=1071644672;a=qc(306557);rd(v[g+1128>>2],a,I);Wb(m,339598);r=S-T;A[g+8>>3]=r;u=U-V;A[g>>3]=u;Fb(m,342499,g);b=ab(8);a=Rb(b,311980);if(Y){$a(Bb(Y))}Y=Rb(ab(8),271692);pq(a,Y,Z,0,0,0,1,0,0,j,0,u,r,p,0,m);Bb(a);$a(b);break E}fb(1,-1,279153,0);break E}if((e|0)==1){b=(d|0)>2;break I}b=v[Q+8>>2]==102?(d|0)>3:(d|0)>2;break I}n=Pb(b,4)}f=0;d=0;if(v[ib(v[O+32>>2],311339,g+1088|0,0)>>2]==1){a=v[g+1096>>2];d=(a|0)>-1?(a|0)<(b|0)?a:0:0}bb(g+1088|0);r=p;h=0;p=0;i=0;a=Ma-112|0;Ma=a;x=-1;j=-1;Ic:{Jc:{Kc:{Lc:{if(!Y){break Lc}h=XG(Y);if(v[h+8>>2]<3){break Lc}j=Ec(v[v[h>>2]+8>>2],273522)?-1:0;Mc:{if(v[h+8>>2]<4){break Mc}j=Ec(v[v[h>>2]+12>>2],273522)?j:1;if(v[h+8>>2]<5){break Mc}j=Ec(v[v[h>>2]+16>>2],273522)?j:2;e=6;if(v[h+8>>2]<6){break Mc}j=Ec(v[v[h>>2]+20>>2],273522)?j:3;if(v[h+8>>2]<7){break Mc}while(1){q=e<<2;Nc:{if(!Ec(v[q+v[h>>2]>>2],273522)){j=e-2|0;break Nc}x=Ec(v[q+v[h>>2]>>2],258361)?x:e-6|0}e=e+1|0;if((e|0)>2]){continue}break}}if((j|0)<0){break Lc}Oc:{Pc:{e=v[v[h>>2]+(j<<2)>>2];if(v[e>>2]<1){break Pc}q=v[e+4>>2];if(w[q|0]!=47){break Pc}if(Z){q=FG(Z,q+1|0);if(q){break Oc}}q=0;fb(1,-1,272255,0);ih(e);Wb(e,227794);break Oc}q=0;fb(1,-1,272289,0)}s=Ue(v[v[(v[h>>2]+(j<<2)|0)+4>>2]+4>>2]);if(s!=0){K=U-V;o=S-T;C=r+r;break Ic}if((b|0)<=0){i=1;break Jc}if(!q){i=1;break Kc}while(1){i=Qa[v[v[q>>2]+8>>2]](q)|0;k=v[G+(E<<2)>>2];e=v[k>>2];Qc:{if(!i){if((e|0)<1){o=0;break Qc}i=e&3;k=v[k+4>>2];Rc:{if(e-1>>>0<3){o=0;e=0;break Rc}z=e&-4;o=0;e=0;while(1){J=q+1464|0;o=o+A[J+(w[e+k|0]<<3)>>3]+A[J+(w[k+(e|1)|0]<<3)>>3]+A[J+(w[k+(e|2)|0]<<3)>>3]+A[J+(w[k+(e|3)|0]<<3)>>3];e=e+4|0;z=z-4|0;if(z){continue}break}}if(!i){break Qc}while(1){o=o+A[((w[e+k|0]<<3)+q|0)+1464>>3];e=e+1|0;i=i-1|0;if(i){continue}break}break Qc}o=+(e|0)*.5}p=p0){break Kc}q=0;break Jc}z=b&1;q=0;Sc:{if((b|0)==1){e=0;break Sc}k=b&-2;e=0;while(1){E=e<<2;u=+v[v[G+(E|4)>>2]>>2]*.5;s=+v[v[G+E>>2]>>2]*.5;p=p>2]>>2]*.5;p=p>2]+(j<<2)|0)+4>>2];ih(e);A[a+96>>3]=s;Fb(e,217437,a+96|0)}if((b|0)>(d|0)){u=r+2;W=K-C;P=s*.2;C=s*1.1;ca=K-r+-2;E=l-1|0;J=(x|0)<0;R=x+4<<2;M=x+5<<2;while(1){Wb(m,341233);o=o-C;j=d<<2;da=j+n|0;if(v[da>>2]){Wb(m,342428);A[a+88>>3]=C;A[a+80>>3]=W;A[a+72>>3]=o-P;A[a+64>>3]=r;Fb(m,342435,a- -64|0)}Wb(m,345516);Tc:{Uc:{if(!q){break Uc}if(Qa[v[v[q>>2]+8>>2]](q)|0){break Uc}l=v[j+G>>2];e=v[l>>2];if((e|0)<1){p=0;break Tc}i=e&3;l=v[l+4>>2];Vc:{if(e-1>>>0<3){p=0;e=0;break Vc}z=e&-4;p=0;e=0;while(1){k=q+1464|0;p=p+A[k+(w[e+l|0]<<3)>>3]+A[k+(w[l+(e|1)|0]<<3)>>3]+A[k+(w[l+(e|2)|0]<<3)>>3]+A[k+(w[l+(e|3)|0]<<3)>>3];e=e+4|0;z=z-4|0;if(z){continue}break}}if(!i){break Tc}while(1){p=p+A[((w[e+l|0]<<3)+q|0)+1464>>3];e=e+1|0;i=i-1|0;if(i){continue}break}break Tc}p=+v[v[j+G>>2]>>2]*.5}N=s*p;p=u;Wc:{Xc:{switch(E|0){case 0:p=(K-N)*.5;break Wc;case 1:break Xc;default:break Wc}}p=ca-N}if(!J){e=v[R+v[h>>2]>>2];ih(e);A[a+48>>3]=p;Fb(e,217437,a+48|0);e=v[M+v[h>>2]>>2];ih(e);A[a+32>>3]=o;Fb(e,217437,a+32|0)}Yc:{if(!h){break Yc}e=0;if(v[h+8>>2]<1){break Yc}while(1){$b(Ug(m,v[v[h>>2]+(e<<2)>>2]),32);e=e+1|0;if((e|0)>2]){continue}break}}if((x|0)<=-1){A[a+24>>3]=o;A[a+16>>3]=p;Fb(m,341894,a+16|0)}if(v[da>>2]){Wb(m,342418)}$b(m,40);e=0;i=j+G|0;k=v[i>>2];if(v[k>>2]>=1){while(1){l=w[v[k+4>>2]+e|0];Zc:{if(!(l-40>>>0>=2&(l|0)!=92)){$b(m,92);$b(m,l<<24>>24);break Zc}_c:{if(l>>>0>=32){j=l<<24>>24;if((j|0)>-1){break _c}}v[a>>2]=l;Fb(m,217427,a);break Zc}$b(m,j)}e=e+1|0;k=v[i>>2];if((e|0)>2]){continue}break}}Wb(m,342133);Wb(m,345512);Wb(m,345582);d=d+1|0;if((b|0)!=(d|0)){continue}break}}if(h){d=v[h+8>>2];if((d|0)>=1){e=0;while(1){l=v[v[h>>2]+(e<<2)>>2];if(l){Bb(l);$a(l);d=v[h+8>>2]}e=e+1|0;if((e|0)<(d|0)){continue}break}}$a(mc(h))}Ma=a+112|0;if((b|0)>=1){while(1){a=v[G+(f<<2)>>2];if(a){$a(Bb(a))}f=f+1|0;if((b|0)!=(f|0)){continue}break}}tb(G);tb(n)}bb(y);break E}if(!b){break G}}if(v[Q>>2]==78){b=1;e=a?2:1;while(1){a=b;if((a|0)!=(e|0)){b=a+1|0;if(v[(a<<2)+Q>>2]==w[a+244324|0]){continue}}break}if((a|0)>=(d|0)){break G}}if(v[Q>>2]==48&(d|0)<2){break G}if(!f){f=Rb(ab(8),319134)}pq(f,Y,Z,0,0,1,2,0,1,j,0,U-V,S-T,p,0,m);break F}if(!f){break E}}$a(Bb(f))}tb(Q);$a(Bb(fa));if(Y){$a(Bb(Y))}hf(g+1232|0,v[v[v[O>>2]>>2]+24>>2]);a=qc(268228);b=v[m>>2];v[g+1104>>2]=1;v[I+8>>2]=b;rd(v[g+1240>>2],a,I);a=qc(278450);v[g+1104>>2]=4;ka=I,la=qc(255497),v[ka+8>>2]=la;rd(v[g+1240>>2],a,I);rs(I,v[v[v[O>>2]>>2]+24>>2]);v[g+1096>>2]=0;v[g+1100>>2]=0;v[g+1088>>2]=2;a=g+1088|0;og(v[I+8>>2],a);v[g+1096>>2]=0;v[g+1100>>2]=0;v[g+1088>>2]=2;og(v[I+8>>2],a);A[g+1096>>3]=U-V;v[g+1088>>2]=2;og(v[I+8>>2],a);A[g+1096>>3]=S-T;v[g+1088>>2]=2;og(v[I+8>>2],a);a=qc(220495);rd(v[g+1240>>2],a,I);$c:{if(v[g+1216>>2]==7){ee(g+1216|0,g+1168|0);break $c}hf(g+1168|0,v[v[v[O>>2]>>2]+24>>2])}bb(g+1216|0);hf(g+1152|0,v[v[v[O>>2]>>2]+24>>2]);l=0;ad:{if(v[ib(v[g+1176>>2],228438,I,0)>>2]!=7){break ad}f=v[I+8>>2];if(v[f+16>>2]<1){break ad}while(1){a=g+1088|0;lq(f,l,a);b=qc(v[v[v[I+8>>2]+4>>2]+(l<<5)>>2]);rd(v[g+1160>>2],b,a);l=l+1|0;f=v[I+8>>2];if((l|0)>2]){continue}break}}bb(I);a=g+1136|0;hf(a,v[v[v[O>>2]>>2]+24>>2]);b=qc(279292);v[g+1104>>2]=4;ka=I,la=qc(228438),v[ka+8>>2]=la;rd(v[g+1144>>2],b,I);b=qc(278450);v[g+1104>>2]=4;ka=I,la=qc(324252),v[ka+8>>2]=la;rd(v[g+1144>>2],b,I);b=qc(228343);v[g+1104>>2]=4;ka=I,la=qc(306550),v[ka+8>>2]=la;rd(v[g+1144>>2],b,I);b=qc(272636);v[g+1104>>2]=4;ka=I,la=qc(272581),v[ka+8>>2]=la;rd(v[g+1144>>2],b,I);b=qc(227795);rd(v[g+1160>>2],b,a);a=qc(228438);rd(v[g+1176>>2],a,g+1152|0);if(v[g+1120>>2]==7){hf(I,v[v[v[O>>2]>>2]+24>>2]);a=qc(324328);rd(v[I+8>>2],a,g+1120|0);a=qc(276637);rd(v[g+1176>>2],a,I)}a=qc(236775);rd(v[g+1240>>2],a,g+1168|0);a=g+1280|0;ka=a,la=aq(ab(48),v[m+4>>2],v[m>>2],g+1232|0),v[ka+8>>2]=la;v[a>>2]=8;JG(c,a,0,V,T,U,S);bb(a);Bb(m);$a(ha);if(Z){$a(vV(Z))}bb(ga);bb(g+1264|0);Ma=g+1296|0;break a}b=v[e+8>>2];a=Ma+-64|0;Ma=a;v[a+48>>2]=13;v[a+32>>2]=13;v[a+16>>2]=13;v[a>>2]=13;if(v[ib(b,310602,a+48|0,0)>>2]==7){ib(v[a+56>>2],310866,a,0);bd:{if(v[a>>2]==7){cd:{if(v[ib(b,310317,a+32|0,0)>>2]==4){Yd(v[a+8>>2],v[a+40>>2],a+16|0);break cd}b=v[a+8>>2];if(v[b+16>>2]==1){lq(b,0,a+16|0);break cd}Yd(b,273371,a+16|0)}bb(a+32|0);break bd}Yd(v[a+56>>2],310866,a+16|0)}bb(a)}bb(a+48|0);if(v[a+16>>2]!=13){b=a+16|0;JG(c,b,0,V,T,U,S);bb(b)}Ma=a- -64|0;break a}fb(1,-1,247112,0);bb(L+32|0)}Ma=L+48|0}function HJa(a){a=a|0;var 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,z=0,A=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;j=Ma+-64|0;Ma=j;d=v[a>>2];b=0;a:{if(v[v[d+96>>2]+64>>2]!=40){break a}b=0;if(!w[a+613|0]){break a}b=0;if(w[d+9|0]&32){break a}b=(w[a+340|0]>>>2^-1)&1}u[a+616>>1]=0;t[a+615|0]=b;b=v[a+384>>2];f=x[a+152>>1];c=b+f<<1;c=c>>>0>30?c:30;if(c>>>0>1]){u[a+188>>1]=c>>>0<65535?c:65535}v[a+628>>2]=0;v[a+620>>2]=0;c=a;b:{if(f){f=B(f,10);b=(f>>>0>50?f:50)+(b>>>0<500?50:(b>>>0)/10|0)|0;break b}b=B(b,22)+300|0}v[c+624>>2]=b;c=v[d+16>>2];v[a+260>>2]=0;c=B(c,100);b=b>>>0>c>>>0?c:b;v[a+632>>2]=b;v[a+624>>2]=b;b=a;c:{if(x[a+220>>1]!=x[a+222>>1]){f=2019;h=2020;d=2017;c=2018;break c}f=2023;h=2024;d=2021;c=2022}v[b+608>>2]=d;v[a+604>>2]=c;v[a+600>>2]=f;v[a+596>>2]=h;d=u[a+302>>1];d:{if((d&65535)==16384){b=u[a+298>>1];v[a+568>>2]=b;c=b;break d}b=u[a+304>>1];if((b|0)==16384){b=u[a+300>>1];v[a+568>>2]=b;c=x[a+298>>1];break d}c=u[a+298>>1];b=B(b,u[a+300>>1])+B(d,c)>>14;v[a+568>>2]=b}e:{if((c&65535)==16384){v[a+576>>2]=2025;break e}if(x[a+300>>1]==16384){v[a+576>>2]=2026;break e}v[a+576>>2]=2027}f:{if(x[a+294>>1]==16384){v[a+580>>2]=2025;break f}if(x[a+296>>1]==16384){v[a+580>>2]=2026;break f}v[a+580>>2]=2028}v[a+592>>2]=2029;v[a+588>>2]=2030;g:{if((b|0)!=16384){break g}c=a;h:{if((d|0)==16384){f=2032;e=2031;break h}if(x[a+304>>1]!=16384){break g}f=2034;e=2033}v[c+592>>2]=e;v[a+588>>2]=f}c=b;b=b>>31;if((c+b^b)>>>0<=1023){v[a+568>>2]=16384}v[a+260>>2]=0;b=v[a+316>>2];if((b&255)>>>0<=7){v[a+572>>2]=v[(b<<24>>22)+443872>>2]}E=a+180|0;F=a+144|0;n=a+72|0;o=a+36|0;p=a+108|0;c=v[a+364>>2];i:{j:{while(1){k=v[a+360>>2];i=w[k+c|0];t[a+372|0]=i;f=t[i+443360|0];v[a+376>>2]=f;k:{if((i&254)!=64){h=v[a+368>>2];break k}h=v[a+368>>2];b=c+1|0;if((h|0)<=(b|0)){h=131;break j}f=2-B(w[b+k|0],f)|0;v[a+376>>2]=f}if((c+f|0)>(h|0)){h=131;break j}d=w[i+443616|0];b=d>>>4|0;c=v[a+16>>2]-b|0;v[a+28>>2]=c;if((c|0)<=-1){if(w[a+565|0]){h=129;break j}if(d>>>0>=16){eb(v[a+24>>2],0,(b>>>0>1?b:1)<<2)}v[a+28>>2]=0;c=0}b=a;l:{m:{if((i|0)==145){d=v[v[a>>2]+736>>2];if(!d){d=v[a+32>>2];break l}d=v[d>>2]+c|0;break m}d=(d&15)+c|0}v[b+32>>2]=d}h=130;b=v[a+20>>2];if((b|0)<(d|0)){break j}v[a+12>>2]=0;t[a+380|0]=1;g=v[a+24>>2];e=g+(c<<2)|0;h=135;n:{o:{p:{q:{r:{s:{t:{switch(i|0){case 0:case 1:case 2:case 3:case 4:case 5:c=i<<14&16384;b=c^16384;if(i>>>0<=3){u[a+296>>1]=b;u[a+294>>1]=c;u[a+300>>1]=b;u[a+298>>1]=c}u:{if(i&2){c=x[a+302>>1];break u}u[a+304>>1]=b;u[a+302>>1]=c}v:{if((c&65535)==16384){b=u[a+298>>1];v[a+568>>2]=b;d=b;break v}b=u[a+304>>1];if((b|0)==16384){b=u[a+300>>1];v[a+568>>2]=b;d=x[a+298>>1];break v}d=u[a+298>>1];b=B(b,u[a+300>>1])+B(d,c<<16>>16)>>14;v[a+568>>2]=b}f=2025;v[a+576>>2]=(d&65535)!=16384?x[a+300>>1]==16384?2026:2027:2025;f=x[a+294>>1]!=16384?x[a+296>>1]==16384?2026:2028:f;v[a+592>>2]=2029;v[a+588>>2]=2030;v[a+580>>2]=f;w:{if((b|0)!=16384){break w}e=a;x:{if((c&65535)==16384){f=2032;c=2031;break x}if(x[a+304>>1]!=16384){break w}f=2034;c=2033}v[e+592>>2]=c;v[a+588>>2]=f}c=b;b=b>>31;if((c+b^b)>>>0<=1023){v[a+568>>2]=16384}v[a+260>>2]=0;break s;case 6:case 7:y:{b=x[e+4>>1];if(b>>>0>1]){c=x[e>>1];if(c>>>0>1]){break y}}if(!w[a+565|0]){break s}h=134;break j}c=v[a+88>>2]+(c<<3)|0;b=v[a+124>>2]+(b<<3)|0;d=v[c>>2]-v[b>>2]|0;b=v[c+4>>2]-v[b+4>>2]|0;c=b|d;d=c?d:16384;c=!c|!(i&1);f=c?d:0-b|0;b=c?b:d;if(f|b){v[j+28>>2]=b;v[j+24>>2]=f;Mq(j+24|0);u[a+298>>1]=v[j+24>>2]/4;u[a+300>>1]=v[j+28>>2]/4}d=x[a+298>>1]|x[a+300>>1]<<16;u[a+294>>1]=d;u[a+296>>1]=d>>>16;f=u[a+302>>1];b=d<<16>>16;z:{if((f&65535)==16384){break z}c=u[a+304>>1];b=d>>16;if((c|0)==16384){break z}b=B(c,d>>16)+B(f,d<<16>>16)>>14}v[a+592>>2]=2029;v[a+588>>2]=2030;c=b;v[a+568>>2]=b;g=(d&-65536)==1073741824;d=(d&65535)==16384;v[a+580>>2]=d?2025:g?2026:2028;v[a+576>>2]=d?2025:g?2026:2027;A:{if((b|0)!=16384){break A}b=a;B:{if((f|0)==16384){f=2032;e=2031;break B}if(x[a+304>>1]!=16384){break A}f=2034;e=2033}v[b+592>>2]=e;v[a+588>>2]=f}b=c>>31;if((b+c^b)>>>0<=1023){v[a+568>>2]=16384}v[a+260>>2]=0;break s;case 8:case 9:C:{b=x[e+4>>1];if(b>>>0>1]){c=x[e>>1];if(c>>>0>1]){break C}}if(!w[a+565|0]){break s}h=134;break j}c=v[a+88>>2]+(c<<3)|0;b=v[a+124>>2]+(b<<3)|0;d=v[c>>2]-v[b>>2]|0;b=v[c+4>>2]-v[b+4>>2]|0;c=b|d;d=c?d:16384;c=!c|!(i&1);f=c?d:0-b|0;b=c?b:d;D:{if(!(f|b)){c=x[a+302>>1];break D}v[j+28>>2]=b;v[j+24>>2]=f;Mq(j+24|0);c=v[j+24>>2]/4|0;u[a+302>>1]=c;u[a+304>>1]=v[j+28>>2]/4}E:{if((c&65535)==16384){b=u[a+298>>1];v[a+568>>2]=b;d=b;break E}b=u[a+304>>1];if((b|0)==16384){b=u[a+300>>1];v[a+568>>2]=b;d=x[a+298>>1];break E}d=u[a+298>>1];b=B(b,u[a+300>>1])+B(d,c<<16>>16)>>14;v[a+568>>2]=b}f=2025;v[a+576>>2]=(d&65535)!=16384?x[a+300>>1]==16384?2026:2027:2025;f=x[a+294>>1]!=16384?x[a+296>>1]==16384?2026:2028:f;v[a+592>>2]=2029;v[a+588>>2]=2030;v[a+580>>2]=f;F:{if((b|0)!=16384){break F}e=a;G:{if((c&65535)==16384){f=2032;c=2031;break G}if(x[a+304>>1]!=16384){break F}f=2034;c=2033}v[e+592>>2]=c;v[a+588>>2]=f}c=b;b=b>>31;if((c+b^b)>>>0<=1023){v[a+568>>2]=16384}v[a+260>>2]=0;break s;case 10:b=v[e>>2]<<16;c=v[e+4>>2]<<16;if(b|c){v[j+28>>2]=c>>16;v[j+24>>2]=b>>16;Mq(j+24|0);u[a+298>>1]=v[j+24>>2]/4;u[a+300>>1]=v[j+28>>2]/4}d=x[a+298>>1]|x[a+300>>1]<<16;u[a+294>>1]=d;u[a+296>>1]=d>>>16;f=u[a+302>>1];b=d<<16>>16;H:{if((f&65535)==16384){break H}c=u[a+304>>1];b=d>>16;if((c|0)==16384){break H}b=B(c,d>>16)+B(f,d<<16>>16)>>14}v[a+592>>2]=2029;v[a+588>>2]=2030;c=b;v[a+568>>2]=b;g=(d&-65536)==1073741824;d=(d&65535)==16384;v[a+580>>2]=d?2025:g?2026:2028;v[a+576>>2]=d?2025:g?2026:2027;I:{if((b|0)!=16384){break I}b=a;J:{if((f|0)==16384){f=2032;e=2031;break J}if(x[a+304>>1]!=16384){break I}f=2034;e=2033}v[b+592>>2]=e;v[a+588>>2]=f}b=c>>31;if((b+c^b)>>>0<=1023){v[a+568>>2]=16384}v[a+260>>2]=0;break s;case 11:b=v[e>>2]<<16;c=v[e+4>>2]<<16;K:{if(!(b|c)){c=x[a+302>>1];break K}v[j+28>>2]=c>>16;v[j+24>>2]=b>>16;Mq(j+24|0);c=v[j+24>>2]/4|0;u[a+302>>1]=c;u[a+304>>1]=v[j+28>>2]/4}L:{if((c&65535)==16384){b=u[a+298>>1];v[a+568>>2]=b;d=b;break L}b=u[a+304>>1];if((b|0)==16384){b=u[a+300>>1];v[a+568>>2]=b;d=x[a+298>>1];break L}d=u[a+298>>1];b=B(b,u[a+300>>1])+B(d,c<<16>>16)>>14;v[a+568>>2]=b}f=2025;v[a+576>>2]=(d&65535)!=16384?x[a+300>>1]==16384?2026:2027:2025;f=x[a+294>>1]!=16384?x[a+296>>1]==16384?2026:2028:f;v[a+592>>2]=2029;v[a+588>>2]=2030;v[a+580>>2]=f;M:{if((b|0)!=16384){break M}e=a;N:{if((c&65535)==16384){f=2032;c=2031;break N}if(x[a+304>>1]!=16384){break M}f=2034;c=2033}v[e+592>>2]=c;v[a+588>>2]=f}c=b;b=b>>31;if((c+b^b)>>>0<=1023){v[a+568>>2]=16384}v[a+260>>2]=0;break s;case 12:b=u[a+298>>1];v[e+4>>2]=u[a+300>>1];v[e>>2]=b;break s;case 13:b=u[a+302>>1];v[e+4>>2]=u[a+304>>1];v[e>>2]=b;break s;case 14:d=x[a+298>>1]|x[a+300>>1]<<16;u[a+302>>1]=d;g=d>>>16|0;u[a+304>>1]=g;c=d<<16>>16;f=2025;O:{if((d&65535)==16384){h=2025;b=c;break O}h=2026;b=16384;if((g|0)==16384){break O}h=2027;b=d>>16;b=B(c,c)+B(b,b)>>>14|0}v[a+576>>2]=h;v[a+568>>2]=b;f=x[a+294>>1]!=16384?x[a+296>>1]==16384?2026:2028:f;v[a+592>>2]=2029;v[a+588>>2]=2030;v[a+580>>2]=f;P:{if((b|0)!=16384){break P}c=a;Q:{if((d&65535)==16384){f=2032;e=2031;break Q}if((g|0)!=16384){break P}f=2034;e=2033}v[c+592>>2]=e;v[a+588>>2]=f}c=b;b=b>>31;if((c+b^b)>>>0<=1023){v[a+568>>2]=16384}v[a+260>>2]=0;break s;case 15:R:{c=x[e+12>>1];b=x[a+44>>1];S:{if(c>>>0>=b>>>0){break S}f=x[e+16>>1];if(f>>>0>=b>>>0){break S}g=x[e+4>>1];b=x[a+80>>1];if(g>>>0>=b>>>0){break S}i=x[e+8>>1];if(i>>>0>=b>>>0){break S}b=x[e>>1];if(b>>>0>1]){break R}}if(!w[a+565|0]){break s}h=134;break j}e=v[a+52>>2];q=c<<3;c=e+q|0;d=v[c>>2];r=f<<3;h=r+e|0;k=v[h>>2];e=v[a+88>>2];f=g<<3;m=e+f|0;g=v[m+4>>2];l=i<<3;e=l+e|0;i=v[e+4>>2];s=v[m>>2];e=v[e>>2]-s|0;z=v[c+4>>2];m=v[h+4>>2]-z|0;A=0-m|0;i=i-g|0;h=k-d|0;c=fc(e,A,64)+fc(i,h,64)|0;k=c>>31;D=fc(e,h,64)+fc(i,m,64)|0;m=D>>31;T:{if((B(k^c+k,19)|0)>(m^m+D)){d=fc(d-s|0,A,64)+fc(z-g|0,h,64)|0;g=fc(d,e,c);d=fc(d,i,c);c=v[a+124>>2];f=f+v[a+88>>2]|0;v[c+(b<<3)>>2]=g+v[f>>2];d=d+v[f+4>>2]|0;break T}c=v[a+124>>2];d=v[a+52>>2];g=d+q|0;e=v[a+88>>2];i=e+l|0;f=e+f|0;d=d+r|0;v[c+(b<<3)>>2]=((v[g>>2]+(v[i>>2]+v[f>>2]|0)|0)+v[d>>2]|0)/4;d=(v[d+4>>2]+(v[g+4>>2]+(v[i+4>>2]+v[f+4>>2]|0)|0)|0)/4|0}v[((b<<3)+c|0)+4>>2]=d;b=b+v[a+132>>2]|0;t[b|0]=w[b|0]|24;break s;case 16:u[a+288>>1]=v[e>>2];break s;case 17:u[a+290>>1]=v[e>>2];break s;case 18:u[a+292>>1]=v[e>>2];break s;case 19:b=E;U:{switch(v[e>>2]){default:if(!w[a+565|0]){break s}h=134;break j;case 1:b=F;break;case 0:break U}}c=v[b+4>>2];v[o>>2]=v[b>>2];v[o+4>>2]=c;v[o+32>>2]=v[b+32>>2];c=v[b+28>>2];v[o+24>>2]=v[b+24>>2];v[o+28>>2]=c;c=v[b+20>>2];v[o+16>>2]=v[b+16>>2];v[o+20>>2]=c;c=v[b+12>>2];v[o+8>>2]=v[b+8>>2];v[o+12>>2]=c;u[a+348>>1]=v[e>>2];break s;case 20:b=E;V:{switch(v[e>>2]){default:if(!w[a+565|0]){break s}h=134;break j;case 1:b=F;break;case 0:break V}}c=v[b+4>>2];v[n>>2]=v[b>>2];v[n+4>>2]=c;v[n+32>>2]=v[b+32>>2];c=v[b+28>>2];v[n+24>>2]=v[b+24>>2];v[n+28>>2]=c;c=v[b+20>>2];v[n+16>>2]=v[b+16>>2];v[n+20>>2]=c;c=v[b+12>>2];v[n+8>>2]=v[b+8>>2];v[n+12>>2]=c;u[a+350>>1]=v[e>>2];break s;case 21:b=E;W:{switch(v[e>>2]){default:if(!w[a+565|0]){break s}h=134;break j;case 1:b=F;break;case 0:break W}}c=v[b+4>>2];v[p>>2]=v[b>>2];v[p+4>>2]=c;v[p+32>>2]=v[b+32>>2];c=v[b+28>>2];v[p+24>>2]=v[b+24>>2];v[p+28>>2]=c;c=v[b+20>>2];v[p+16>>2]=v[b+16>>2];v[p+20>>2]=c;c=v[b+12>>2];v[p+8>>2]=v[b+8>>2];v[p+12>>2]=c;u[a+352>>1]=v[e>>2];break s;case 22:b=E;X:{switch(v[e>>2]){default:if(!w[a+565|0]){break s}h=134;break j;case 1:b=F;break;case 0:break X}}c=v[b+4>>2];v[o>>2]=v[b>>2];v[o+4>>2]=c;v[o+32>>2]=v[b+32>>2];c=v[b+28>>2];v[o+24>>2]=v[b+24>>2];v[o+28>>2]=c;c=v[b+20>>2];v[o+16>>2]=v[b+16>>2];v[o+20>>2]=c;c=v[b+12>>2];v[o+8>>2]=v[b+8>>2];v[o+12>>2]=c;v[n+32>>2]=v[b+32>>2];c=v[b+28>>2];v[n+24>>2]=v[b+24>>2];v[n+28>>2]=c;c=v[b+20>>2];v[n+16>>2]=v[b+16>>2];v[n+20>>2]=c;c=v[b+12>>2];v[n+8>>2]=v[b+8>>2];v[n+12>>2]=c;c=v[b+4>>2];v[n>>2]=v[b>>2];v[n+4>>2]=c;v[p+32>>2]=v[b+32>>2];c=v[b+28>>2];v[p+24>>2]=v[b+24>>2];v[p+28>>2]=c;c=v[b+20>>2];v[p+16>>2]=v[b+16>>2];v[p+20>>2]=c;c=v[b+12>>2];v[p+8>>2]=v[b+8>>2];v[p+12>>2]=c;c=v[b+4>>2];v[p>>2]=v[b>>2];v[p+4>>2]=c;b=x[e>>1];u[a+352>>1]=b;u[a+350>>1]=b;u[a+348>>1]=b;break s;case 23:b=v[e>>2];if((b|0)<0){h=132;break j}v[a+308>>2]=(b|0)<65535?b:65535;break s;case 24:v[a+572>>2]=2035;v[a+316>>2]=1;break s;case 25:v[a+572>>2]=2036;v[a+316>>2]=0;break s;case 26:v[a+312>>2]=v[e>>2];break s;case 27:b=v[a+364>>2];c=v[a+368>>2];d=1;while(1){b=b+f|0;v[a+364>>2]=b;if((b|0)>=(c|0)){h=131;break j}g=w[b+k|0];t[a+372|0]=g;f=t[g+443360|0];v[a+376>>2]=f;if((g&254)==64){e=b+1|0;if((e|0)>=(c|0)){h=131;break j}f=2-B(w[e+k|0],f)|0;v[a+376>>2]=f}if((c|0)<(b+f|0)){h=131;break j}Y:{switch(g-88|0){case 0:d=d+1|0;if(d){continue}break s;case 1:d=d-1|0;break;default:break Y}}if(d){continue}break};break s;case 28:b=132;d=c;c=v[e>>2];Z:{if(!(d|c)){break Z}c=c+v[a+364>>2]|0;v[a+364>>2]=c;if((c|0)<0){break Z}d=v[a+432>>2];if((d|0)>=1&(c|0)>v[v[(v[a+440>>2]+(d<<4)|0)-4>>2]+8>>2]){break Z}t[a+380|0]=0;if(v[e>>2]>-1){break s}c=v[a+628>>2]+1|0;v[a+628>>2]=c;b=139;if(c>>>0<=y[a+632>>2]){break s}}v[a+12>>2]=b;break r;case 29:v[a+324>>2]=v[e>>2];break s;case 30:v[a+328>>2]=v[e>>2];break s;case 31:Q=a,R=xb(v[e>>2],v[a+264>>2]),v[Q+332>>2]=R;break s;case 32:v[e+4>>2]=v[e>>2];break s;case 34:v[a+32>>2]=0;break s;case 35:Q=e,R=D3a(v[e>>2],v[e+4>>2],32),v[Q>>2]=R;v[e+4>>2]=Pa;break s;case 36:v[e>>2]=v[a+16>>2];break s;case 37:b=e;f=b;d=v[b>>2];_:{if(!((d|0)>=1&(c|0)>=(d|0))){b=0;if(!w[a+565|0]){break _}v[a+12>>2]=134;v[e>>2]=0;break s}b=v[(c-d<<2)+g>>2]}v[f>>2]=b;break s;case 38:b=v[e>>2];if(!((b|0)>=1&(b|0)<=(c|0))){if(!w[a+565|0]){break s}h=134;break j}c=(c-b<<2)+g|0;d=v[c>>2];id(c,c+4|0,(b<<2)-4|0);v[(v[a+24>>2]+(v[a+28>>2]<<2)|0)-4>>2]=d;break s;case 39:$:{b=x[e>>1];if(b>>>0>1]){c=x[e+4>>1];if(c>>>0>1]){break $}}if(!w[a+565|0]){break s}h=134;break j}e=b;d=v[a+52>>2]+(c<<3)|0;b=v[a+88>>2]+(b<<3)|0;b=(Qa[v[a+576>>2]](a,v[d>>2]-v[b>>2]|0,v[d+4>>2]-v[b+4>>2]|0)|0)/2|0;Qa[v[a+588>>2]](a,n,e,b);Qa[v[a+588>>2]](a,o,c,0-b|0);break s;case 40:Gq(a);break s;case 41:b=x[e>>1];if(b>>>0>=x[a+44>>1]){if(!w[a+565|0]){break s}h=134;break j}b=b+v[a+60>>2]|0;c=b;e=w[b|0];b=x[a+302>>1]?-9:-1;t[c|0]=e&(x[a+304>>1]?b&239:b);break s;case 42:b=134;f=v[e+4>>2];c=v[a+424>>2]+1|0;aa:{if(f>>>0>=c>>>0){break aa}d=v[a+408>>2];g=v[a+400>>2];ba:{if((g|0)==(c|0)){c=d?d+B(f,24)|0:0;if((f|0)==v[c+12>>2]){break ba}}c=d;d=c?c+B(g,24)|0:0;ca:{if(c>>>0>=d>>>0){break ca}while(1){if((f|0)==v[c+12>>2]){break ca}c=c+24|0;if(d>>>0>c>>>0){continue}break}}if((c|0)==(d|0)){break aa}}if(!w[c+16|0]){break aa}b=130;d=v[a+432>>2];if((d|0)>=v[a+436>>2]){break aa}if(v[e>>2]<1){break s}b=v[a+440>>2]+(d<<4)|0;v[b>>2]=v[a+356>>2];v[b+4>>2]=v[a+364>>2]+1;f=v[e>>2];v[b+12>>2]=c;v[b+8>>2]=f;v[a+432>>2]=d+1;d=v[c>>2];b=d-1|0;da:{if(b>>>0>=3){v[a+12>>2]=132;break da}f=v[((b<<3)+a|0)+448>>2];if(!f){v[a+12>>2]=138;break da}b=v[((b<<3)+a|0)+452>>2];c=v[c+4>>2];if((b|0)<(c|0)){v[a+12>>2]=131;break da}v[a+368>>2]=b;v[a+360>>2]=f;v[a+364>>2]=c;v[a+356>>2]=d}t[a+380|0]=0;c=v[a+620>>2]+v[e>>2]|0;v[a+620>>2]=c;b=139;if(c>>>0<=y[a+624>>2]){break s}}v[a+12>>2]=b;break r;case 43:h=134;b=v[a+424>>2]+1|0;d=v[e>>2];if(b>>>0<=d>>>0){break j}c=v[a+408>>2];if(!c){break j}f=v[a+400>>2];ea:{if((f|0)==(b|0)){b=c+B(d,24)|0;if((d|0)==v[b+12>>2]){break ea}}g=c+B(f,24)|0;b=c;fa:{if((f|0)<1){break fa}while(1){if((d|0)==v[b+12>>2]){break fa}b=b+24|0;if(g>>>0>b>>>0){continue}break}}if((b|0)==(g|0)){break j}}if(!w[b+16|0]){break j}h=130;d=v[a+432>>2];if((d|0)>=v[a+436>>2]){break j}c=v[a+440>>2]+(d<<4)|0;v[c>>2]=v[a+356>>2];f=v[a+364>>2];v[c+12>>2]=b;v[c+8>>2]=1;v[c+4>>2]=f+1;v[a+432>>2]=d+1;d=v[b>>2];c=d-1|0;ga:{if(c>>>0>=3){v[a+12>>2]=132;break ga}f=v[((c<<3)+a|0)+448>>2];if(!f){v[a+12>>2]=138;break ga}c=v[((c<<3)+a|0)+452>>2];b=v[b+4>>2];if((c|0)<(b|0)){v[a+12>>2]=131;break ga}v[a+368>>2]=c;v[a+360>>2]=f;v[a+364>>2]=b;v[a+356>>2]=d}t[a+380|0]=0;break s;case 44:g=v[a+356>>2];if((g|0)==3){h=156;break j}b=v[a+408>>2];ha:{ia:{if(!b){d=v[a+400>>2];h=v[e>>2];c=0;break ia}d=v[a+400>>2];c=B(d,24)+b|0;h=v[e>>2];ja:{if((d|0)<1){break ja}while(1){if(v[b+12>>2]==(h|0)){break ja}b=b+24|0;if(c>>>0>b>>>0){continue}break}}if((b|0)!=(c|0)){break ha}}if(y[a+404>>2]<=d>>>0){h=140;break j}v[a+400>>2]=d+1;b=c}if(h>>>0>65535){h=140;break j}v[b+12>>2]=h;v[b>>2]=g;c=v[a+364>>2];v[b+20>>2]=0;u[b+16>>1]=1;v[b+4>>2]=c+1;if(y[a+424>>2]>>0){v[a+424>>2]=h}g=v[a+368>>2];while(1){c=c+f|0;v[a+364>>2]=c;if((c|0)>=(g|0)){h=131;break j}d=w[c+k|0];t[a+372|0]=d;f=t[d+443360|0];v[a+376>>2]=f;if((d&254)==64){e=c+1|0;if((e|0)>=(g|0)){h=131;break j}f=2-B(w[e+k|0],f)|0;v[a+376>>2]=f}if((g|0)<(c+f|0)){h=131;break j}h=137;ka:{switch(d-44|0){case 1:v[b+8>>2]=c;break s;case 0:break j;default:break ka}}if((d|0)!=137){continue}break};break j;case 33:case 89:case 126:case 127:v[a+16>>2]=d;break q;default:if(i>>>0>=224){c=v[e+4>>2];b=0;la:{ma:{f=v[e>>2];d=f&65535;na:{if(d>>>0>=x[a+80>>1]){break na}g=c+1|0;if(g>>>0>=v[a+384>>2]+1>>>0){break na}if(x[a+288>>1]>1]){break ma}}if(!w[a+565|0]){break la}v[a+12>>2]=134;break la}if(g){b=Qa[v[a+600>>2]](a,c)|0}c=v[a+332>>2];e=b-c|0;g=e>>31;b=v[a+328>>2]>(g^e+g)?(b|0)>-1?c:0-c|0:b;if(!x[a+350>>1]){g=u[a+302>>1];c=g>>31;i=c^c+g;c=b>>31;h=c+b^c;k=h>>>16|0;m=B(i,k);e=m<<16|8192;q=d<<3;c=q+v[a+84>>2]|0;r=v[a+48>>2]+(x[a+288>>1]<<3)|0;l=e;s=i;i=h&65535;e=e+B(s,i)|0;e=(m>>>16|0)+(l>>>0>e>>>0)<<18|e>>>14;v[c>>2]=v[r>>2]+((b^g)>-1?e:0-e|0);g=u[a+304>>1];e=g>>31;h=e^e+g;k=B(h,k);e=k<<16|8192;m=e;e=e+B(h,i)|0;e=(k>>>16|0)+(m>>>0>e>>>0)<<18|e>>>14;v[c+4>>2]=v[r+4>>2]+((b^g)>-1?e:0-e|0);e=v[c+4>>2];g=q+v[a+88>>2]|0;v[g>>2]=v[c>>2];v[g+4>>2]=e}c=d<<3;d=c+v[a+84>>2]|0;g=v[a+48>>2]+(x[a+288>>1]<<3)|0;d=Qa[v[a+580>>2]](a,v[d>>2]-v[g>>2]|0,v[d+4>>2]-v[g+4>>2]|0)|0;c=c+v[a+88>>2]|0;g=v[a+52>>2]+(x[a+288>>1]<<3)|0;i=Qa[v[a+576>>2]](a,v[c>>2]-v[g>>2]|0,v[c+4>>2]-v[g+4>>2]|0)|0;b=w[a+320|0]?(b^d)<0?0-b|0:b:b;g=w[a+372|0];oa:{if(g&4){c=a;if(x[a+348>>1]==x[a+350>>1]){h=b-d|0;e=h>>31;b=v[a+324>>2]<(e^e+h)?d:b}b=Qa[v[a+572>>2]](c,b,g&3)|0;g=w[a+372|0];break oa}c=v[(((g&3)<<2)+a|0)+268>>2];if((b|0)>=0){b=b+c|0;b=(b|0)>0?b:0;break oa}b=b-c|0;b=b>>31&b}e=a+72|0;pa:{if(!(g&8)){break pa}c=v[a+312>>2];if((d|0)>=0){b=(b|0)<(c|0)?c:b;break pa}c=0-c|0;b=(b|0)>(c|0)?c:b}Qa[v[a+588>>2]](a,e,f&65535,b-i|0)}u[a+290>>1]=x[a+288>>1];if(w[a+372|0]&16){u[a+288>>1]=f}u[a+292>>1]=f;break s}if(i>>>0>=192){qa:{ra:{d=v[e>>2];f=d&65535;if(f>>>0>1]){b=x[a+288>>1];if(b>>>0>1]){break ra}}if(!w[a+565|0]){break qa}v[a+12>>2]=134;break qa}sa:{if(!(x[a+350>>1]?x[a+348>>1]:0)){c=v[a+84>>2]+(f<<3)|0;b=v[a+48>>2]+(b<<3)|0;b=Qa[v[a+580>>2]](a,v[c>>2]-v[b>>2]|0,v[c+4>>2]-v[b+4>>2]|0)|0;break sa}b=v[a+56>>2]+(b<<3)|0;c=v[a+92>>2]+(f<<3)|0;g=v[a+224>>2];if((g|0)==v[a+228>>2]){b=xb(Qa[v[a+580>>2]](a,v[c>>2]-v[b>>2]|0,v[c+4>>2]-v[b+4>>2]|0)|0,v[a+224>>2]);break sa}b=(R=a,S=xb(v[c>>2]-v[b>>2]|0,g),T=xb(v[c+4>>2]-v[b+4>>2]|0,v[a+228>>2]),Q=v[a+580>>2],Qa[Q](R|0,S|0,T|0)|0)}g=v[a+328>>2];ta:{if((g|0)<1){break ta}c=v[a+332>>2];if((c+g|0)<=(b|0)|(c-g|0)>=(b|0)){break ta}b=(b|0)>-1?c:0-c|0}g=w[a+372|0];ua:{if(g&4){c=Qa[v[a+572>>2]](a,b,g&3)|0;g=w[a+372|0];break ua}c=v[(((g&3)<<2)+a|0)+268>>2];if((b|0)>=0){c=b+c|0;c=(c|0)>0?c:0;break ua}c=b-c|0;c=c>>31&c}e=a+72|0;va:{if(!(g&8)){break va}g=v[a+312>>2];if((b|0)>=0){c=(c|0)<(g|0)?g:c;break va}b=0-g|0;c=(b|0)<(c|0)?b:c}g=c;b=v[a+88>>2]+(f<<3)|0;c=v[a+52>>2]+(x[a+288>>1]<<3)|0;T=a,S=e,R=d&65535,U=g-(Qa[v[a+576>>2]](a,v[b>>2]-v[c>>2]|0,v[b+4>>2]-v[c+4>>2]|0)|0)|0,Q=v[a+588>>2],Qa[Q](T|0,S|0,R|0,U|0)}u[a+292>>1]=d;u[a+290>>1]=x[a+288>>1];if(w[a+372|0]&16){u[a+288>>1]=d}break s}if(i>>>0>=184){b=w[a+372|0]+65353&65535;if(b>>>0>=(v[a+20>>2]-v[a+16>>2]|0)+1>>>0){v[a+12>>2]=130;break s}c=v[a+364>>2];d=c+1|0;v[a+364>>2]=d;wa:{if(!b){break wa}v[a+364>>2]=c+3;f=v[a+360>>2];v[e>>2]=(w[f+d|0]<<8|w[(c+f|0)+2|0])<<16>>16;c=1;if((b|0)==1){break wa}d=1;while(1){g=v[a+364>>2];v[a+364>>2]=g+2;i=e+(c<<2)|0;c=f+g|0;c=w[c|0]|w[c+1|0]<<8;v[i>>2]=(c<<8|c>>>8)<<16>>16;d=d+1|0;c=d&65535;if(b>>>0>c>>>0){continue}break}}t[a+380|0]=0;break s}if(i>>>0>=176){c=w[a+372|0]+65361&65535;if(c>>>0<(v[a+20>>2]-v[a+16>>2]|0)+1>>>0){if(c){d=v[a+360>>2];b=1;g=1;while(1){v[(e+(b<<2)|0)-4>>2]=w[d+(v[a+364>>2]+b|0)|0];g=g+1|0;b=g&65535;if(c>>>0>=b>>>0){continue}break}}break s}v[a+12>>2]=130;break s}Gq(a);break s;case 146:if(v[v[a>>2]+736>>2]){v[e>>2]=17;break s}Gq(a);break s;case 145:if(v[v[a>>2]+736>>2]){c=v[v[a>>2]+736>>2];b=v[c>>2];if(b>>>0>=(v[a+20>>2]-v[a+16>>2]|0)+1>>>0){v[a+12>>2]=130;break s}g=v[c+8>>2];xa:{if(g){if(!b){break xa}d=b&3;c=0;if(b-1>>>0>=3){f=b&-4;while(1){b=c<<2;v[b+e>>2]=v[b+g>>2]>>2;i=b|4;v[i+e>>2]=v[g+i>>2]>>2;i=b|8;v[i+e>>2]=v[g+i>>2]>>2;b=b|12;v[b+e>>2]=v[b+g>>2]>>2;c=c+4|0;f=f-4|0;if(f){continue}break}}if(!d){break xa}while(1){b=c<<2;v[b+e>>2]=v[b+g>>2]>>2;c=c+1|0;d=d-1|0;if(d){continue}break}break xa}if(!b){break xa}eb(e,0,b<<2)}break s}Gq(a);break s;case 143:case 144:Gq(a);break s;case 142:d=v[e+4>>2];b=d-1|0;if(b>>>0>=3){if(!w[a+565|0]){break s}h=134;break j}c=1<>2];if(!(!b|(b|0)==(c|0))){if(!w[a+565|0]){break s}h=134;break j}t[a+340|0]=b|w[a+340|0]&(c^-1);if((d|0)!=3|v[v[v[a>>2]+96>>2]+64>>2]!=40){break s}t[a+615|0]=(b|0)!=4;break s;case 141:b=v[e>>2];if((b|0)<0){break s}v[a+344>>2]=b&65535;break s;case 140:b=v[e+4>>2];if((b|0)>=v[e>>2]){break s}v[e>>2]=b;break s;case 139:b=v[e+4>>2];if((b|0)<=v[e>>2]){break s}v[e>>2]=b;break s;case 138:b=v[e+8>>2];c=v[e+4>>2];v[e+8>>2]=v[e>>2];v[e>>2]=c;v[e+4>>2]=b;break s;case 137:g=v[a+356>>2];if((g|0)==3){h=156;break j}d=v[a+412>>2];b=v[a+420>>2];ya:{za:{if(!b){c=0;break za}c=B(d,24)+b|0;Aa:{if((d|0)<1){break Aa}i=v[e>>2];while(1){if((i|0)==v[b+12>>2]){break Aa}b=b+24|0;if(c>>>0>b>>>0){continue}break}}if((b|0)!=(c|0)){break ya}}if(d>>>0>=y[a+416>>2]){h=141;break j}v[a+412>>2]=d+1;b=c}c=v[e>>2];if(c>>>0>255){h=141;break j}v[b+12>>2]=c;c=v[a+364>>2];t[b+16|0]=1;v[b>>2]=g;v[b+4>>2]=c+1;d=v[e>>2];if(d>>>0>y[a+428>>2]){v[a+428>>2]=d&255}g=v[a+368>>2];while(1){c=c+f|0;v[a+364>>2]=c;if((c|0)>=(g|0)){h=131;break j}d=w[c+k|0];t[a+372|0]=d;f=t[d+443360|0];v[a+376>>2]=f;if((d&254)==64){e=c+1|0;if((e|0)>=(g|0)){h=131;break j}f=2-B(w[e+k|0],f)|0;v[a+376>>2]=f}if((g|0)<(c+f|0)){h=131;break j}h=137;Ba:{switch(d-44|0){default:if((d|0)!=137){continue}break j;case 0:break j;case 1:break Ba}}break};v[b+8>>2]=c;break s;case 136:b=0;c=v[e>>2];b=c&1?v[v[v[a>>2]+96>>2]+64>>2]:b;b=c&2?w[a+285|0]?b|256:b:b;b=c&4?w[a+286|0]?b|512:b:b;b=c&8?v[v[a>>2]+736>>2]?b|1024:b:b;g=e;b=c&32?w[a+612|0]?b|4096:b:b;e=b;Ca:{if(!w[a+613|0]|v[v[v[a>>2]+96>>2]+64>>2]!=40){break Ca}d=c<<7;b=d&8192|b;if(c&256){b=w[a+614|0]?b|32768:b}b=d&393216|b;e=b;if(!(c&4096)){break Ca}e=w[a+618|0]?b|524288:b}v[g>>2]=e;break s;case 134:case 135:Da:{b=x[e>>1];if(b>>>0>1]){c=x[e+4>>1];if(c>>>0>1]){break Da}}if(!w[a+565|0]){break s}h=134;break j}d=b<<3;b=d+v[a+84>>2]|0;f=c<<3;c=f+v[a+120>>2]|0;g=v[b>>2]-v[c>>2]|0;b=v[b+4>>2]-v[c+4>>2]|0;c=b|g;g=c?g:16384;c=!c|!(i&1);e=c?g:0-b|0;b=c?b:g;if(e|b){v[j+28>>2]=b;v[j+24>>2]=e;Mq(j+24|0);u[a+294>>1]=v[j+24>>2]/4;u[a+296>>1]=v[j+28>>2]/4}b=d+v[a+88>>2]|0;d=f+v[a+124>>2]|0;f=v[b>>2]-v[d>>2]|0;b=v[b+4>>2]-v[d+4>>2]|0;d=b|f;f=d?f:16384;c=c|!d;d=c?f:0-b|0;b=c?b:f;if(d|b){v[j+28>>2]=b;v[j+24>>2]=d;Mq(j+24|0);u[a+298>>1]=v[j+24>>2]/4;u[a+300>>1]=v[j+28>>2]/4}f=x[a+302>>1];Ea:{if((f|0)==16384){b=u[a+298>>1];v[a+568>>2]=b;h=b;break Ea}b=u[a+304>>1];if((b|0)==16384){b=u[a+300>>1];v[a+568>>2]=b;h=x[a+298>>1];break Ea}h=u[a+298>>1];b=B(b,u[a+300>>1])+B(h,f<<16>>16)>>14;v[a+568>>2]=b}c=2025;v[a+576>>2]=(h&65535)!=16384?x[a+300>>1]==16384?2026:2027:2025;c=x[a+294>>1]!=16384?x[a+296>>1]==16384?2026:2028:c;v[a+592>>2]=2029;v[a+588>>2]=2030;v[a+580>>2]=c;Fa:{if((b|0)!=16384){break Fa}c=a;Ga:{if((f|0)==16384){f=2032;e=2031;break Ga}if(x[a+304>>1]!=16384){break Fa}f=2034;e=2033}v[c+592>>2]=e;v[a+588>>2]=f}c=b;b=b>>31;if((c+b^b)>>>0<=1023){v[a+568>>2]=16384}v[a+260>>2]=0;break s;case 133:b=v[e>>2];c=b&255;if((c|0)==255){t[a+341|0]=1;break s}if(!c){t[a+341|0]=0;break s}if(!(!(b&256)|c>>>0>1])){t[a+341|0]=1}if(!(!(b&512)|!w[a+285|0])){t[a+341|0]=1}if(!(!(b&1024)|!w[a+286|0])){t[a+341|0]=1}if(!(!(b&2048)|c>>>0>=x[a+256>>1])){t[a+341|0]=0}if(!(!(b&4096)|!w[a+285|0])){t[a+341|0]=0}if(!(b&8192)|!w[a+286|0]){break s}t[a+341|0]=0;break s;case 131:case 132:Gq(a);break s;case 130:if(!(!w[a+616|0]|(!w[a+615|0]|v[v[v[a>>2]+96>>2]+64>>2]!=40))){if(w[a+617|0]){break s}}Ha:{d=x[e+4>>1];c=x[a+152>>1];if(d>>>0>=c>>>0){break Ha}b=x[e>>1];if(c>>>0<=b>>>0){break Ha}if(b>>>0>d>>>0){break s}c=b;while(1){b=v[a+168>>2]+b|0;t[b|0]=w[b|0]&254;c=c+1|0;b=c&65535;if(d>>>0>=b>>>0){continue}break}break s}if(!w[a+565|0]){break s}h=134;break j;case 129:if(!(!w[a+616|0]|(!w[a+615|0]|v[v[v[a>>2]+96>>2]+64>>2]!=40))){if(w[a+617|0]){break s}}Ia:{d=x[e+4>>1];c=x[a+152>>1];if(d>>>0>=c>>>0){break Ia}b=x[e>>1];if(c>>>0<=b>>>0){break Ia}if(b>>>0>d>>>0){break s}c=b;while(1){b=v[a+168>>2]+b|0;t[b|0]=w[b|0]|1;c=c+1|0;b=c&65535;if(d>>>0>=b>>>0){continue}break}break s}if(!w[a+565|0]){break s}h=134;break j;case 128:Ja:{if(!(!w[a+616|0]|(!w[a+615|0]|v[v[v[a>>2]+96>>2]+64>>2]!=40))){if(w[a+617|0]){break Ja}}Ka:{b=v[a+308>>2];if((b|0)<=v[a+16>>2]){if((b|0)>0){break Ka}break Ja}if(!w[a+565|0]){break Ja}v[a+12>>2]=129;break Ja}while(1){c=c-1|0;v[a+28>>2]=c;c=x[(c<<2)+g>>1];La:{if(c>>>0>=x[a+152>>1]){if(!w[a+565|0]){break La}h=134;break j}b=c+v[a+168>>2]|0;t[b|0]=w[b|0]^1;b=v[a+308>>2]}d=b-1|0;v[a+308>>2]=d;c=v[a+28>>2];if((b|0)<2){break Ja}g=v[a+24>>2];b=d;continue}}v[a+32>>2]=c;v[a+308>>2]=1;break s;case 125:v[a+572>>2]=2037;v[a+316>>2]=3;break s;case 124:v[a+572>>2]=2038;v[a+316>>2]=4;break s;case 123:Gq(a);break s;case 122:v[a+572>>2]=2039;v[a+316>>2]=5;break s;case 121:if(v[e+4>>2]){break s}b=132;d=c;c=v[e>>2];Ma:{if(!(d|c)){break Ma}c=c+v[a+364>>2]|0;v[a+364>>2]=c;if((c|0)<0){break Ma}d=v[a+432>>2];if((d|0)>=1&(c|0)>v[v[(v[a+440>>2]+(d<<4)|0)-4>>2]+8>>2]){break Ma}t[a+380|0]=0;if(v[e>>2]>-1){break s}c=v[a+628>>2]+1|0;v[a+628>>2]=c;b=139;if(c>>>0<=y[a+632>>2]){break s}}v[a+12>>2]=b;break r;case 120:if(!v[e+4>>2]){break s}b=132;d=c;c=v[e>>2];Na:{if(!(d|c)){break Na}c=c+v[a+364>>2]|0;v[a+364>>2]=c;if((c|0)<0){break Na}d=v[a+432>>2];if((d|0)>=1&(c|0)>v[v[(v[a+440>>2]+(d<<4)|0)-4>>2]+8>>2]){break Na}t[a+380|0]=0;if(v[e>>2]>-1){break s}c=v[a+628>>2]+1|0;v[a+628>>2]=c;b=139;if(c>>>0<=y[a+632>>2]){break s}}v[a+12>>2]=b;break r;case 119:f=v[e>>2];b=f>>>4|0;d=v[(b&12)+443920>>2];v[a+480>>2]=d;Oa:{Pa:{Qa:{Ra:{c=b&3;switch(c-1|0){case 2:break Pa;case 1:break Qa;case 0:break Ra;default:break Oa}}c=d>>>10|0;break Oa}c=d>>>9|0;break Oa}c=B(d,3)>>>10|0}v[a+484>>2]=c;v[a+572>>2]=2040;v[a+316>>2]=7;b=a;c=f&15;if(c){c=(B(d,c-4|0)|0)/8|0}else{c=d-1|0}v[b+488>>2]=c>>8;v[a+480>>2]=d>>>8;break s;case 118:f=v[e>>2];b=f>>>4|0;d=v[(b&12)+443904>>2];v[a+480>>2]=d;Sa:{Ta:{Ua:{Va:{c=b&3;switch(c-1|0){case 2:break Ta;case 1:break Ua;case 0:break Va;default:break Sa}}c=d>>>10|0;break Sa}c=d>>>9|0;break Sa}c=B(d,3)>>>10|0}v[a+484>>2]=c;v[a+572>>2]=2041;v[a+316>>2]=6;b=a;c=f&15;if(c){c=(B(d,c-4|0)|0)/8|0}else{c=d-1|0}v[b+488>>2]=c>>8;v[a+480>>2]=d>>>8;break s;case 115:case 116:case 117:d=Qa[v[a+596>>2]](a)|0;c=1;f=v[e>>2];Wa:{if(!f){break Wa}while(1){b=v[a+28>>2];if((b|0)<=1){if(w[a+565|0]){v[a+12>>2]=129}v[a+28>>2]=0;break Wa}g=b-2|0;v[a+28>>2]=g;e=b<<2;b=v[a+24>>2];e=v[(e+b|0)-4>>2];Xa:{if(e>>>0>=y[a+384>>2]){if(!w[a+565|0]){break Xa}h=134;break j}g=v[b+(g<<2)>>2];b=g>>>4&15;Ya:{Za:{switch(w[a+372|0]-116|0){case 0:b=b|16;break Ya;case 1:break Za;default:break Ya}}b=b|32}if((d|0)!=(x[a+336>>1]+b|0)){break Xa}b=g&15;Qa[v[a+608>>2]](a,e,(b>>>0>7?-7:-8)+b<<6-x[a+338>>1])}c=c+1|0;if(f>>>0>=c>>>0){continue}break}}v[a+32>>2]=v[a+28>>2];break s;case 113:case 114:$_(a,e);break s;case 112:b=v[e>>2];if(b>>>0>=y[a+384>>2]){if(!w[a+565|0]){break s}h=134;break j}c=xb(v[e+4>>2],v[a+264>>2]);v[v[a+388>>2]+(b<<2)>>2]=c;break s;case 108:case 109:case 110:case 111:b=v[(((i&3)<<2)+a|0)+268>>2];c=v[e>>2];if((c|0)>=0){b=b+c|0;v[e>>2]=(b|0)>0?b:0;break s}b=c-b|0;v[e>>2]=b>>31&b;break s;case 104:case 105:case 106:case 107:Q=e,U=Qa[v[a+572>>2]](a,v[e>>2],i&3)|0,v[Q>>2]=U;break s;case 103:v[e>>2]=v[e>>2]+63&-64;break s;case 102:v[e>>2]=v[e>>2]&-64;break s;case 101:v[e>>2]=0-v[e>>2];break s;case 100:b=v[e>>2];if((b|0)>-1){break s}v[e>>2]=0-b;break s;case 99:Q=e,U=fc(v[e>>2],v[e+4>>2],64),v[Q>>2]=U;break s;case 98:b=v[e+4>>2];if(!b){h=133;break j}Q=e,U=uJ(v[e>>2],64,b),v[Q>>2]=U;break s;case 97:v[e>>2]=v[e>>2]-v[e+4>>2];break s;case 96:v[e>>2]=v[e+4>>2]+v[e>>2];break s;case 95:b=v[e>>2];if(b>>>0>6){h=132;break j}u[a+338>>1]=b;break s;case 94:u[a+336>>1]=v[e>>2];break s;case 93:$_(a,e);break s;case 92:v[e>>2]=!v[e>>2];break s;case 91:b=e;v[b>>2]=v[b>>2]?1:v[b+4>>2]!=0;break s;case 90:if(!v[e>>2]){v[e>>2]=0;break s}v[e>>2]=v[e+4>>2]!=0;break s;case 88:if(v[e>>2]){break s}c=v[a+364>>2];d=v[a+368>>2];l=1;_a:while(1){c=c+f|0;v[a+364>>2]=c;$a:{if((l|0)==1){if((c|0)>=(d|0)){h=131;break j}b=w[c+k|0];t[a+372|0]=b;f=t[b+443360|0];v[a+376>>2]=f;if((b&254)==64){g=c+1|0;if((g|0)>=(d|0)){h=131;break j}f=2-B(w[g+k|0],f)|0;v[a+376>>2]=f}if((d|0)<(c+f|0)){h=131;break j}ab:{switch(b-88|0){case 1:break s;case 0:break $a;default:break ab}}l=1;if((b|0)!=27){continue}break s}if((c|0)>=(d|0)){h=131;break j}bb:{while(1){g=w[c+k|0];t[a+372|0]=g;f=t[g+443360|0];v[a+376>>2]=f;if((g&254)==64){b=c+1|0;if((b|0)>=(d|0)){h=131;break j}f=2-B(w[b+k|0],f)|0;v[a+376>>2]=f}b=c+f|0;if((b|0)>(d|0)){h=131;break j}if((g|0)!=27){switch(g-88|0){case 0:break $a;case 1:break bb;default:continue _a}}v[a+364>>2]=b;c=b;if((b|0)<(d|0)){continue}break}h=131;break j}l=l-1|0;if(l){continue}break s}l=l+1|0;continue};case 87:Q=e,U=!(Qa[v[a+572>>2]](a,v[e>>2],3)&127),v[Q>>2]=U;break s;case 86:Q=e,U=(Qa[v[a+572>>2]](a,v[e>>2],3)&127)==64,v[Q>>2]=U;break s;case 85:v[e>>2]=v[e>>2]!=v[e+4>>2];break s;case 84:v[e>>2]=v[e>>2]==v[e+4>>2];break s;case 83:v[e>>2]=v[e>>2]>=v[e+4>>2];break s;case 82:v[e>>2]=v[e>>2]>v[e+4>>2];break s;case 81:v[e>>2]=v[e>>2]<=v[e+4>>2];break s;case 80:v[e>>2]=v[e>>2]>2];break s;case 78:t[a+320|0]=0;break s;case 77:t[a+320|0]=1;break s;case 76:if(v[v[v[a>>2]+96>>2]+64>>2]==35){Q=e,U=Qa[v[a+596>>2]](a)|0,v[Q>>2]=U;break s}v[e>>2]=v[a+216>>2];break s;case 75:Q=e,U=Qa[v[a+596>>2]](a)|0,v[Q>>2]=U;break s;case 73:case 74:cb:{db:{b=e;d=x[b>>1];if(d>>>0>1]){c=x[e+4>>1];if(c>>>0>1]){break db}}c=0;if(!w[a+565|0]){break cb}v[a+12>>2]=134;v[e>>2]=0;break s}if(i&1){b=v[a+52>>2]+(d<<3)|0;c=v[a+88>>2]+(c<<3)|0;Q=e,U=Qa[v[a+576>>2]](a,v[b>>2]-v[c>>2]|0,v[b+4>>2]-v[c+4>>2]|0)|0,v[Q>>2]=U;break s}if(!(x[a+350>>1]?x[a+348>>1]:0)){b=v[a+48>>2]+(d<<3)|0;c=v[a+84>>2]+(c<<3)|0;Q=e,U=Qa[v[a+580>>2]](a,v[b>>2]-v[c>>2]|0,v[b+4>>2]-v[c+4>>2]|0)|0,v[Q>>2]=U;break s}c=v[a+92>>2]+(c<<3)|0;d=v[a+56>>2]+(d<<3)|0;f=v[a+224>>2];if((f|0)==v[a+228>>2]){Q=e,U=xb(Qa[v[a+580>>2]](a,v[d>>2]-v[c>>2]|0,v[d+4>>2]-v[c+4>>2]|0)|0,v[a+224>>2]),v[Q>>2]=U;break s}c=(U=a,R=xb(v[d>>2]-v[c>>2]|0,f),S=xb(v[d+4>>2]-v[c+4>>2]|0,v[a+228>>2]),Q=v[a+580>>2],Qa[Q](U|0,R|0,S|0)|0)}v[b>>2]=c;break s;case 72:b=x[e>>1];if(b>>>0>=x[a+116>>1]){if(!w[a+565|0]){break s}h=134;break j}c=b<<3;d=c+v[a+124>>2]|0;d=Qa[v[a+576>>2]](a,v[d>>2],v[d+4>>2])|0;Qa[v[a+588>>2]](a,p,b,v[e+4>>2]-d|0);if(x[a+352>>1]){break s}b=c+v[a+120>>2]|0;c=c+v[a+124>>2]|0;d=v[c+4>>2];v[b>>2]=v[c>>2];v[b+4>>2]=d;break s;case 70:case 71:b=e;c=v[b>>2];eb:{if(c>>>0>=x[a+116>>1]){c=0;if(!w[a+565|0]){break eb}v[a+12>>2]=134;v[e>>2]=0;break s}if(i&1){b=v[a+120>>2]+(c<<3)|0;Q=e,S=Qa[v[a+580>>2]](a,v[b>>2],v[b+4>>2])|0,v[Q>>2]=S;break s}c=v[a+124>>2]+(c<<3)|0;c=Qa[v[a+576>>2]](a,v[c>>2],v[c+4>>2])|0}v[b>>2]=c;break s;case 69:b=e;e=b;c=v[b>>2];fb:{if(c>>>0>=y[a+384>>2]){b=0;if(!w[a+565|0]){break fb}h=134;break j}b=Qa[v[a+600>>2]](a,c)|0}v[e>>2]=b;break s;case 68:b=v[e>>2];if(b>>>0>=y[a+384>>2]){if(!w[a+565|0]){break s}h=134;break j}Qa[v[a+604>>2]](a,b,v[e+4>>2]);break s;case 67:b=e;e=b;c=v[b>>2];gb:{if(c>>>0>=x[a+472>>1]){b=0;if(!w[a+565|0]){break gb}h=134;break j}b=v[v[a+476>>2]+(c<<2)>>2]}v[e>>2]=b;break s;case 66:b=v[e>>2];if(b>>>0>=x[a+472>>1]){if(!w[a+565|0]){break s}h=134;break j}v[v[a+476>>2]+(b<<2)>>2]=v[e+4>>2];break s;case 65:h=130;g=(b-v[a+16>>2]|0)+1|0;b=v[a+364>>2];c=b+k|0;d=w[c+1|0];if(g>>>0<=d>>>0){break j}f=b+2|0;v[a+364>>2]=f;hb:{if(!d){break hb}v[a+364>>2]=b+4;v[e>>2]=(w[c+3|0]|w[f+k|0]<<8)<<16>>16;b=1;c=1;if((d|0)==1){break hb}while(1){f=v[a+364>>2];v[a+364>>2]=f+2;g=e+(b<<2)|0;b=f+k|0;b=w[b|0]|w[b+1|0]<<8;v[g>>2]=(b<<8|b>>>8)<<16>>16;c=c+1|0;b=c&65535;if(d>>>0>b>>>0){continue}break}}t[a+380|0]=0;v[a+32>>2]=d+v[a+32>>2];break s;case 64:h=130;c=(b-v[a+16>>2]|0)+1|0;b=k+v[a+364>>2]|0;d=w[b+1|0];if(c>>>0<=d>>>0){break j}ib:{if(!d){break ib}v[e>>2]=w[b+2|0];b=2;c=2;if((d|0)==1){break ib}while(1){v[(e+(b<<2)|0)-4>>2]=w[(k+(v[a+364>>2]+b|0)|0)+1|0];c=c+1|0;b=c&65535;if(d>>>0>=b>>>0){continue}break}}v[a+32>>2]=d+v[a+32>>2];break s;case 62:case 63:jb:{kb:{c=x[e>>1];if(c>>>0>1]){b=v[e+4>>2];if(b>>>0>2]){break kb}}if(!w[a+565|0]){break jb}v[a+12>>2]=134;break jb}b=Qa[v[a+600>>2]](a,b)|0;if(!x[a+348>>1]){f=u[a+302>>1];d=f>>31;e=d^d+f;d=b>>31;i=d+b^d;h=i>>>16|0;k=B(e,h);g=k<<16|8192;m=c<<3;d=m+v[a+48>>2]|0;q=g;r=e;e=i&65535;g=g+B(r,e)|0;g=(k>>>16|0)+(q>>>0>g>>>0)<<18|g>>>14;v[d>>2]=(b^f)>-1?g:0-g|0;f=u[a+304>>1];g=f>>31;i=g^f+g;h=B(i,h);g=h<<16|8192;k=g;g=g+B(e,i)|0;g=(h>>>16|0)+(k>>>0>g>>>0)<<18|g>>>14;v[d+4>>2]=(b^f)>-1?g:0-g|0;g=v[d+4>>2];f=m+v[a+52>>2]|0;v[f>>2]=v[d>>2];v[f+4>>2]=g}d=v[a+52>>2]+(c<<3)|0;e=Qa[v[a+576>>2]](a,v[d>>2],v[d+4>>2])|0;d=a;f=o;g=c;if(t[a+372|0]&1){h=b-e|0;i=h>>31;b=Qa[v[a+572>>2]](a,v[a+324>>2]<(i^h+i)?e:b,3)|0}Qa[v[a+588>>2]](d,f,g,b-e|0)}u[a+290>>1]=c;u[a+288>>1]=c;break s;case 61:v[a+572>>2]=2042;v[a+316>>2]=2;break s;case 60:lb:{b=v[a+308>>2];if(!(x[a+288>>1]>1]&(b|0)<=v[a+16>>2])){if(!w[a+565|0]){break lb}v[a+12>>2]=134;break lb}if((b|0)<1){break lb}while(1){c=c-1|0;v[a+28>>2]=c;c=x[(c<<2)+g>>1];mb:{if(c>>>0>=x[a+80>>1]){if(!w[a+565|0]){break mb}h=134;break j}e=c;b=v[a+88>>2]+(c<<3)|0;c=v[a+52>>2]+(x[a+288>>1]<<3)|0;S=a,R=n,U=e,T=0-(Qa[v[a+576>>2]](a,v[b>>2]-v[c>>2]|0,v[b+4>>2]-v[c+4>>2]|0)|0)|0,Q=v[a+588>>2],Qa[Q](S|0,R|0,U|0,T|0);b=v[a+308>>2]}d=b-1|0;v[a+308>>2]=d;c=v[a+28>>2];if((b|0)<2){break lb}g=v[a+24>>2];b=d;continue}}v[a+32>>2]=c;v[a+308>>2]=1;break s;case 58:case 59:nb:{b=x[e>>1];if(b>>>0>1]){c=x[a+288>>1];if(c>>>0>1]){break nb}}if(!w[a+565|0]){break s}h=134;break j}if(!x[a+350>>1]){c=v[a+48>>2]+(c<<3)|0;g=v[c+4>>2];d=b<<3;f=d+v[a+84>>2]|0;v[f>>2]=v[c>>2];v[f+4>>2]=g;Qa[v[a+592>>2]](a,n,b,v[e+4>>2]);c=d+v[a+88>>2]|0;d=d+v[a+84>>2]|0;f=v[d+4>>2];v[c>>2]=v[d>>2];v[c+4>>2]=f;c=x[a+288>>1]}d=v[a+88>>2]+(b<<3)|0;c=v[a+52>>2]+(c<<3)|0;c=Qa[v[a+576>>2]](a,v[d>>2]-v[c>>2]|0,v[d+4>>2]-v[c+4>>2]|0)|0;Qa[v[a+588>>2]](a,n,b,v[e+4>>2]-c|0);u[a+292>>1]=b;u[a+290>>1]=x[a+288>>1];if(!(t[a+372|0]&1)){break s}u[a+288>>1]=b;break s;case 57:ob:{pb:{b=v[a+308>>2];qb:{if((b|0)>v[a+16>>2]){if(w[a+565|0]){break qb}break ob}c=1;c=!x[a+348>>1]|!x[a+350>>1]?c:!x[a+352>>1];d=x[a+290>>1];if(d>>>0>1]){break pb}if(!w[a+565|0]){break ob}}v[a+12>>2]=134;break ob}i=v[(c?48:56)+a>>2];f=d<<3;g=i+f|0;m=v[a+52>>2];e=m+f|0;k=0;f=0;h=x[a+292>>1];if(h>>>0>1]){rb:{if(c){b=v[a+84>>2]+(h<<3)|0;f=Qa[v[a+580>>2]](a,v[b>>2]-v[g>>2]|0,v[b+4>>2]-v[(i+(d<<3)|0)+4>>2]|0)|0;break rb}b=v[a+224>>2];if((b|0)==v[a+228>>2]){b=v[a+92>>2]+(h<<3)|0;f=Qa[v[a+580>>2]](a,v[b>>2]-v[g>>2]|0,v[b+4>>2]-v[(i+(d<<3)|0)+4>>2]|0)|0;break rb}f=(T=a,U=xb(v[v[a+92>>2]+(h<<3)>>2]-v[g>>2]|0,b),R=xb(v[(v[a+92>>2]+(x[a+292>>1]<<3)|0)+4>>2]-v[(i+(d<<3)|0)+4>>2]|0,v[a+228>>2]),Q=v[a+580>>2],Qa[Q](T|0,U|0,R|0)|0)}b=v[a+88>>2]+(x[a+292>>1]<<3)|0;k=Qa[v[a+576>>2]](a,v[b>>2]-v[e>>2]|0,v[b+4>>2]-v[(m+(d<<3)|0)+4>>2]|0)|0;b=v[a+308>>2]}if((b|0)<1){break ob}if(c){while(1){c=v[a+28>>2]-1|0;v[a+28>>2]=c;d=a;c=v[v[a+24>>2]+(c<<2)>>2];sb:{if(c>>>0>=x[a+116>>1]){if(!w[a+565|0]){break sb}h=134;break j}i=c<<3;b=i+v[a+120>>2]|0;b=Qa[v[a+580>>2]](a,v[b>>2]-v[g>>2]|0,v[b+4>>2]-v[g+4>>2]|0)|0;i=i+v[a+124>>2]|0;i=Qa[v[a+576>>2]](a,v[i>>2]-v[e>>2]|0,v[i+4>>2]-v[e+4>>2]|0)|0;h=a;m=p;c=c&65535;if(!(!b|!f)){b=fc(b,k,f)}Qa[v[a+588>>2]](h,m,c,b-i|0);b=v[a+308>>2]}c=b;b=c-1|0;v[d+308>>2]=b;if((c|0)>1){continue}break ob}}while(1){c=v[a+28>>2]-1|0;v[a+28>>2]=c;d=a;c=v[v[a+24>>2]+(c<<2)>>2];tb:{if(c>>>0>=x[a+116>>1]){if(!w[a+565|0]){break tb}h=134;break j}b=v[a+224>>2];ub:{if((b|0)==v[a+228>>2]){b=v[a+128>>2]+(c<<3)|0;b=Qa[v[a+580>>2]](a,v[b>>2]-v[g>>2]|0,v[b+4>>2]-v[g+4>>2]|0)|0;break ub}i=c<<3;b=(R=a,U=xb(v[i+v[a+128>>2]>>2]-v[g>>2]|0,b),T=xb(v[(i+v[a+128>>2]|0)+4>>2]-v[g+4>>2]|0,v[a+228>>2]),Q=v[a+580>>2],Qa[Q](R|0,U|0,T|0)|0)}i=v[a+124>>2]+(c<<3)|0;i=Qa[v[a+576>>2]](a,v[i>>2]-v[e>>2]|0,v[i+4>>2]-v[e+4>>2]|0)|0;h=a;m=p;c=c&65535;if(!(!b|!f)){b=fc(b,k,f)}Qa[v[a+588>>2]](h,m,c,b-i|0);b=v[a+308>>2]}c=b;b=c-1|0;v[d+308>>2]=b;if((c|0)>1){continue}break}}v[a+308>>2]=1;v[a+32>>2]=v[a+28>>2];break s;case 56:f=1;f=!x[a+348>>1]|!x[a+350>>1]?f:!x[a+352>>1];vb:{b=v[a+308>>2];if((b|0)>=v[a+16>>2]){if(!w[a+565|0]){break vb}v[a+12>>2]=134;break vb}if((b|0)<1){break vb}d=u[a+304>>1];i=d>>31;b=v[e>>2];e=b>>31;i=i^d+i;h=e^b+e;k=h>>>16|0;m=B(i,k);e=m<<16|8192;q=e;r=i;i=h&65535;e=e+B(r,i)|0;e=(m>>>16|0)+(q>>>0>e>>>0)<<18|e>>>14;h=(b^d)>-1?e:0-e|0;d=u[a+302>>1];e=d>>31;m=k;k=e^e+d;m=B(m,k);e=m<<16|8192;q=e;e=e+B(i,k)|0;e=(m>>>16|0)+(q>>>0>e>>>0)<<18|e>>>14;d=(b^d)>-1?e:0-e|0;while(1){b=c-1|0;v[a+28>>2]=b;b=x[(b<<2)+g>>1];wb:{if(b>>>0>=x[a+116>>1]){if(!w[a+565|0]){break wb}h=134;break j}xb:{yb:{zb:{Ab:{if(v[v[v[a>>2]+96>>2]+64>>2]==40){if(w[a+615|0]){Bb:{if(f){break Bb}if(w[a+617|0]?w[a+616|0]:0){break wb}if(x[a+304>>1]?w[a+564|0]:0){break Bb}if(!(w[b+v[a+132>>2]|0]&16)){break wb}}if(x[a+302>>1]){c=b+v[a+132>>2]|0;t[c|0]=w[c|0]|8}if(!x[a+304>>1]){break wb}if(!w[a+615|0]|v[v[v[a>>2]+96>>2]+64>>2]!=40|(!w[a+616|0]|!w[a+617|0])){break yb}break xb}if(x[a+302>>1]){break Ab}break zb}if(!x[a+302>>1]){break zb}}c=v[a+124>>2]+(b<<3)|0;v[c>>2]=d+v[c>>2];c=b+v[a+132>>2]|0;t[c|0]=w[c|0]|8}if(!x[a+304>>1]){break wb}if(!w[a+616|0]|(!w[a+615|0]|v[v[v[a>>2]+96>>2]+64>>2]!=40)){break yb}if(w[a+617|0]){break xb}}c=v[a+124>>2]+(b<<3)|0;v[c+4>>2]=h+v[c+4>>2]}b=b+v[a+132>>2]|0;t[b|0]=w[b|0]|16}b=v[a+308>>2];v[a+308>>2]=b-1;c=v[a+28>>2];if((b|0)<2){break vb}g=v[a+24>>2];continue}}v[a+32>>2]=c;v[a+308>>2]=1;break s;case 54:case 55:if(y[e>>2]>=2){if(!w[a+565|0]){break s}v[a+12>>2]=134;break s}if(aJ(a,j+16|0,j+12|0,j+24|0,j+22|0)){break s}Cb:{Db:{switch(x[a+352>>1]){case 0:b=x[a+116>>1];break Cb;case 1:break Db;default:break s}}b=u[a+118>>1];if((b|0)<1){break s}b=x[(v[a+136>>2]+((b&65535)<<1)|0)-2>>1]+1|0}if(!(b&65535)){break s}c=v[j+12>>2];d=v[j+16>>2];f=v[j+40>>2];g=v[a+124>>2];if((f|0)==(g|0)){g=x[j+22>>1];e=b&65535;b=0;while(1){Eb:{if((b|0)==(g|0)){break Eb}if(!(!x[a+302>>1]|(w[a+615|0]?v[v[v[a>>2]+96>>2]+64>>2]==40:0))){i=f+(b<<3)|0;v[i>>2]=d+v[i>>2]}if(!x[a+304>>1]){break Eb}if(!(!w[a+616|0]|(!w[a+615|0]|v[v[v[a>>2]+96>>2]+64>>2]!=40))){if(w[a+617|0]){break Eb}}i=f+(b<<3)|0;v[i+4>>2]=c+v[i+4>>2]}b=b+1|0;if((e|0)!=(b|0)){continue}break}break s}f=x[a+302>>1];if(!x[a+304>>1]){if(!f){break s}f=v[v[v[a>>2]+96>>2]+64>>2];c=0;e=b&65535;if((e|0)!=1){h=e&65534;while(1){if(!(w[a+615|0]?(f|0)==40:0)){e=g+(c<<3)|0;v[e>>2]=d+v[e>>2]}if(!(w[a+615|0]?(f|0)==40:0)){e=g+((c|1)<<3)|0;v[e>>2]=d+v[e>>2]}c=c+2|0;h=h-2|0;if(h){continue}break}}if(!(b&1)|(w[a+615|0]?(f|0)==40:0)){break s}b=g+(c<<3)|0;v[b>>2]=d+v[b>>2];break s}e=v[v[v[a>>2]+96>>2]+64>>2];if(!f){if((e|0)!=40){d=b&3;f=0;b=b&65535;if(b-1>>>0>=3){l=b&65532;while(1){b=f<<3;e=b+g|0;v[e+4>>2]=c+v[e+4>>2];e=g+(b|8)|0;v[e+4>>2]=c+v[e+4>>2];e=g+(b|16)|0;v[e+4>>2]=c+v[e+4>>2];b=g+(b|24)|0;v[b+4>>2]=c+v[b+4>>2];f=f+4|0;l=l-4|0;if(l){continue}break}}if(!d){break s}while(1){b=g+(f<<3)|0;v[b+4>>2]=c+v[b+4>>2];f=f+1|0;d=d-1|0;if(d){continue}break}break s}if(!w[a+615|0]){d=b&3;f=0;b=b&65535;if(b-1>>>0>=3){l=b&65532;while(1){b=f<<3;e=b+g|0;v[e+4>>2]=c+v[e+4>>2];e=g+(b|8)|0;v[e+4>>2]=c+v[e+4>>2];e=g+(b|16)|0;v[e+4>>2]=c+v[e+4>>2];b=g+(b|24)|0;v[b+4>>2]=c+v[b+4>>2];f=f+4|0;l=l-4|0;if(l){continue}break}}if(!d){break s}while(1){b=g+(f<<3)|0;v[b+4>>2]=c+v[b+4>>2];f=f+1|0;d=d-1|0;if(d){continue}break}break s}if(!w[a+616|0]){d=b&3;f=0;b=b&65535;if(b-1>>>0>=3){l=b&65532;while(1){b=f<<3;e=b+g|0;v[e+4>>2]=c+v[e+4>>2];e=g+(b|8)|0;v[e+4>>2]=c+v[e+4>>2];e=g+(b|16)|0;v[e+4>>2]=c+v[e+4>>2];b=g+(b|24)|0;v[b+4>>2]=c+v[b+4>>2];f=f+4|0;l=l-4|0;if(l){continue}break}}if(!d){break s}while(1){b=g+(f<<3)|0;v[b+4>>2]=c+v[b+4>>2];f=f+1|0;d=d-1|0;if(d){continue}break}break s}if(w[a+617|0]){break s}d=b&3;f=0;b=b&65535;if(b-1>>>0>=3){l=b&65532;while(1){b=f<<3;e=b+g|0;v[e+4>>2]=c+v[e+4>>2];e=g+(b|8)|0;v[e+4>>2]=c+v[e+4>>2];e=g+(b|16)|0;v[e+4>>2]=c+v[e+4>>2];b=g+(b|24)|0;v[b+4>>2]=c+v[b+4>>2];f=f+4|0;l=l-4|0;if(l){continue}break}}if(!d){break s}while(1){b=g+(f<<3)|0;v[b+4>>2]=c+v[b+4>>2];f=f+1|0;d=d-1|0;if(d){continue}break}break s}if((e|0)==40){b=b&65535;e=w[a+615|0];f=0;while(1){Fb:{Gb:{if(!e){i=g+(f<<3)|0;v[i>>2]=d+v[i>>2];break Gb}if(!w[a+616|0]){break Gb}if(w[a+617|0]){break Fb}}i=g+(f<<3)|0;v[i+4>>2]=c+v[i+4>>2]}f=f+1|0;if((b|0)!=(f|0)){continue}break}break s}h=0;f=b&65535;if((f|0)!=1){l=f&65534;while(1){e=h<<3;f=e+g|0;v[f>>2]=d+v[f>>2];v[f+4>>2]=c+v[f+4>>2];f=g+(e|8)|0;v[f>>2]=d+v[f>>2];v[f+4>>2]=c+v[f+4>>2];h=h+2|0;l=l-2|0;if(l){continue}break}}if(!(b&1)){break s}b=g+(h<<3)|0;v[b>>2]=d+v[b>>2];v[b+4>>2]=c+v[b+4>>2];break s;case 52:case 53:b=v[e>>2]<<16;c=b>>16;if(c>>>0>=(x[a+352>>1]?u[a+118>>1]:1)>>>0){if(!w[a+565|0]){break s}v[a+12>>2]=134;break s}if(aJ(a,j+16|0,j+12|0,j+24|0,j+22|0)){break s}b=(b?(x[(v[a+136>>2]+(c<<1)|0)-2>>1]-x[a+140>>1]|0)+1|0:0)&65535;e=b;if(x[a+352>>1]){c=(x[v[a+136>>2]+(c<<1)>>1]-x[a+140>>1]|0)+1|0}else{c=x[a+116>>1]}c=c&65535;if(e>>>0>=c>>>0){break s}d=v[j+12>>2];f=v[j+16>>2];g=v[j+40>>2];e=x[j+22>>1];while(1){i=v[a+124>>2];Hb:{if((i|0)==(g|0)&(b|0)==(e|0)){break Hb}if(x[a+302>>1]){if(!(w[a+615|0]?v[v[v[a>>2]+96>>2]+64>>2]==40:0)){i=i+(b<<3)|0;v[i>>2]=f+v[i>>2]}i=v[a+132>>2]+b|0;t[i|0]=w[i|0]|8}if(!x[a+304>>1]){break Hb}Ib:{if(!(!w[a+616|0]|(!w[a+615|0]|v[v[v[a>>2]+96>>2]+64>>2]!=40))){if(w[a+617|0]){break Ib}}i=v[a+124>>2]+(b<<3)|0;v[i+4>>2]=d+v[i+4>>2]}i=v[a+132>>2]+b|0;t[i|0]=w[i|0]|16}b=b+1|0;if((c|0)!=(b|0)){continue}break};break s;case 50:case 51:Jb:{if(v[a+16>>2]>2]){if(!w[a+565|0]){break Jb}v[a+12>>2]=134;break Jb}if(aJ(a,j+16|0,j+12|0,j+24|0,j+22|0)){break s}if(v[a+308>>2]<1){break Jb}c=v[j+12>>2];d=v[j+16>>2];while(1){b=v[a+28>>2]-1|0;v[a+28>>2]=b;b=x[v[a+24>>2]+(b<<2)>>1];Kb:{if(b>>>0>=x[a+116>>1]){if(!w[a+565|0]){break Kb}v[a+12>>2]=134;break s}if(x[a+302>>1]){if(!(w[a+615|0]?v[v[v[a>>2]+96>>2]+64>>2]==40:0)){f=v[a+124>>2]+(b<<3)|0;v[f>>2]=d+v[f>>2]}f=b+v[a+132>>2]|0;t[f|0]=w[f|0]|8}if(!x[a+304>>1]){break Kb}Lb:{if(!(!w[a+616|0]|(!w[a+615|0]|v[v[v[a>>2]+96>>2]+64>>2]!=40))){if(w[a+617|0]){break Lb}}f=v[a+124>>2]+(b<<3)|0;v[f+4>>2]=c+v[f+4>>2]}b=b+v[a+132>>2]|0;t[b|0]=w[b|0]|16}b=v[a+308>>2];v[a+308>>2]=b-1;if((b|0)>1){continue}break}}v[a+308>>2]=1;v[a+32>>2]=v[a+28>>2];break s;case 48:case 49:Mb:{if(!w[a+615|0]|v[v[v[a>>2]+96>>2]+64>>2]!=40){break Mb}if(w[a+617|0]?w[a+616|0]:0){break s}if(i&1){t[a+616|0]=1;break Mb}t[a+617|0]=1}if(!x[a+154>>1]){break s}Nb:{if(i&1){s=v[a+156>>2];v[j+24>>2]=s;l=v[a+160>>2];v[j+28>>2]=l;A=v[a+164>>2];v[j+32>>2]=A;r=8;break Nb}s=v[a+156>>2]+4|0;v[j+24>>2]=s;l=v[a+160>>2]+4|0;v[j+28>>2]=l;A=v[a+164>>2]+4|0;v[j+32>>2]=A;r=16}q=x[a+152>>1];v[j+36>>2]=q;D=0;b=q;k=0;while(1){c=x[v[a+172>>2]+(D<<1)>>1]-x[a+176>>1]|0;b=b&65535;z=b>>>0>c>>>0?c:b-1|0;Ob:{if(z>>>0>>0){f=k;break Ob}b=v[a+168>>2];d=k;Pb:{while(1){Qb:{f=d+1|0;if(r&w[b+d|0]){i=f;h=d;c=d;Rb:{Sb:{I=f>>>0>z>>>0;if(!I){while(1){e=i;Tb:{if(!(r&w[e+b|0])){g=c;break Tb}g=e;b=c+1|0;if(h>>>0>>0|c>>>0>=q>>>0|e>>>0>=q>>>0){break Tb}m=v[(e<<3)+A>>2];g=v[(c<<3)+A>>2];Ub:{if((m|0)>=(g|0)){i=m;m=g;g=e;break Ub}i=g;g=c;c=e}C=g<<3;g=v[C+l>>2];H=v[s+C>>2];J=g-H|0;C=c<<3;c=v[C+l>>2];C=v[s+C>>2];K=c-C|0;Vb:{if(!((c|0)==(g|0)|(i|0)==(m|0))){N=i-m|0;O=g-c|0;L=0;i=0;while(1){g=b<<3;P=g+l|0;g=v[g+s>>2];Wb:{if((g|0)<=(C|0)){G=g+K|0;break Wb}G=g+J|0;if((g|0)>=(H|0)){break Wb}if(!L){i=Ub(O,N)}L=1;G=xb(v[(b<<3)+A>>2]-m|0,i)+c|0}v[P>>2]=G;b=b+1|0;if(h>>>0>=b>>>0){continue}break}break Vb}while(1){i=b<<3;g=v[i+s>>2];v[i+l>>2]=(g|0)>(C|0)?(g|0)<(H|0)?c:g+J|0:g+K|0;b=b+1|0;if(h>>>0>=b>>>0){continue}break}}g=e}i=e+1|0;if(z>>>0>=i>>>0){b=v[a+168>>2];h=e;c=g;continue}break}if((d|0)!=(g|0)){break Sb}}b=d<<3;g=v[b+l>>2]-v[b+s>>2]|0;if(!g){break Pb}if(d>>>0<=k>>>0){break Qb}b=(k^-1)+d|0;c=d-k&3;if(c){while(1){e=(k<<3)+l|0;v[e>>2]=g+v[e>>2];k=k+1|0;c=c-1|0;if(c){continue}break}}if(b>>>0>2){break Rb}break Qb}__(j+24|0,g+1&65535,z,g,d);if(!d){break Pb}__(j+24|0,k,d-1|0,g,d);break Pb}while(1){b=(k<<3)+l|0;v[b>>2]=g+v[b>>2];v[b+8>>2]=g+v[b+8>>2];v[b+16>>2]=g+v[b+16>>2];v[b+24>>2]=g+v[b+24>>2];k=k+4|0;if((k|0)!=(d|0)){continue}break}break Qb}d=f;if(z>>>0>=d>>>0){continue}break Ob}break}if(I){break Pb}while(1){b=(f<<3)+l|0;v[b>>2]=g+v[b>>2];f=f+1|0;if(z>>>0>=f>>>0){continue}break}}f=i}D=D+1|0;if((D|0)>=u[a+154>>1]){break s}b=x[a+152>>1];k=f;continue};case 46:case 47:b=x[e>>1];if(b>>>0>=x[a+44>>1]){if(!w[a+565|0]){break s}h=134;break j}c=a;e=o;d=b;if(i&1){g=v[a+52>>2]+(b<<3)|0;g=Qa[v[a+576>>2]](a,v[g>>2],v[g+4>>2])|0;g=(Qa[v[a+572>>2]](a,g,3)|0)-g|0}else{g=0}Qa[v[a+588>>2]](c,e,d,g);u[a+290>>1]=b;u[a+288>>1]=b;break s;case 79:break j;case 45:break t}}c=v[a+432>>2];if((c|0)<1){h=136;break j}b=c-1|0;v[a+432>>2]=b;b=v[a+440>>2]+(b<<4)|0;d=v[b+8>>2];v[b+8>>2]=d-1;t[a+380|0]=0;if((d|0)>=2){v[a+432>>2]=c;v[a+364>>2]=v[v[b+12>>2]+4>>2];break s}c=v[b>>2];d=c-1|0;if(d>>>0>2){h=132;break j}d=(d<<3)+a|0;f=v[d+448>>2];if(!f){h=138;break j}d=v[d+452>>2];b=v[b+4>>2];if((d|0)<(b|0)){h=131;break j}v[a+368>>2]=d;v[a+360>>2]=f;v[a+364>>2]=b;v[a+356>>2]=c}b=v[a+12>>2]}if(b){h=128;if((b|0)!=128){break i}b=v[a+420>>2];if(!b){break j}c=v[a+412>>2];if((c|0)<1){break j}c=B(c,24)+b|0;while(1){if(!(!w[b+16|0]|w[a+372|0]!=w[b+12|0])){c=v[a+432>>2];if((c|0)>=v[a+436>>2]){h=134;break j}c=v[a+440>>2]+(c<<4)|0;v[c>>2]=v[a+356>>2];d=v[a+364>>2];v[c+12>>2]=b;v[c+8>>2]=1;v[c+4>>2]=d+1;c=v[b>>2];d=c-1|0;if(d>>>0>2){h=132;break j}d=(d<<3)+a|0;f=v[d+448>>2];if(!f){h=138;break j}d=v[d+452>>2];b=v[b+4>>2];if((d|0)>=(b|0)){break o}h=131;break j}b=b+24|0;if(c>>>0>b>>>0){continue}break}break j}v[a+16>>2]=v[a+32>>2];if(!w[a+380|0]){break p}}v[a+364>>2]=v[a+364>>2]+v[a+376>>2]}M=M+1|0;if(M>>>0<=1e6){break n}b=139;break i}v[a+368>>2]=d;v[a+360>>2]=f;v[a+364>>2]=b;v[a+356>>2]=c}c=v[a+364>>2];if((c|0)>=v[a+368>>2]){b=0;h=131;if(v[a+432>>2]>0){break j}break i}if(!w[a+492|0]){continue}break}b=0;break i}v[a+12>>2]=h;b=h}Ma=j- -64|0;return b|0}function a5(a){a=a|0;var 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,u=0,y=0,A=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,_=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=C(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=C(0),Ia=0,Ja=0,Ka=0,La=C(0);b=v[a>>2];c=gb(28);a:{if(c){v[c>>2]=0;v[c+4>>2]=0;v[c+24>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=b;b=gb(12);if(b){v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;v[c+4>>2]=b;break a}$a(c)}c=0}I=v[a+40>>2];ba=Ma-256|0;Ma=ba;J=c;Q=v[a+44>>2];v[c+12>>2]=Q;v[c+8>>2]=I;d=v[c+4>>2];e=v[Q+48>>2];v[d>>2]=e;c=v[Q+52>>2];v[d+4>>2]=c;b=B(B(c,e),840);c=gb(b);b:{if(c){Ja=d,Ka=eb(c,0,b),v[Ja+8>>2]=Ka;c:{d:{e:{f:{h=v[Q+60>>2];if((h|0)<1){break f}while(1){n=v[Q+88>>2];p=v[v[Q+56>>2]+(K<<2)>>2];u=B(p,840)+c|0;d=v[I>>2];f=v[Q+28>>2];l=v[Q+36>>2];k=(p|0)/(e|0)|0;r=p-B(k,e)|0;b=f+B(l,r)|0;v[u>>2]=(b|0)<(d|0)?d:b;d=v[I+4>>2];e=v[Q+32>>2];g=v[Q+40>>2];b=e+B(g,k)|0;v[u+4>>2]=(b|0)<(d|0)?d:b;d=v[I+8>>2];b=f+B(l,r+1|0)|0;v[u+8>>2]=(b|0)>(d|0)?d:b;d=v[I+12>>2];b=e+B(g,k+1|0)|0;v[u+12>>2]=(b|0)>(d|0)?d:b;b=v[I+16>>2];v[u+16>>2]=b;b=b<<5;e=gb(b);if(!e){break c}Ja=u,Ka=eb(e,0,b),v[Ja+20>>2]=Ka;if(v[u+16>>2]>=1){y=(n+B(p,1876)|0)+1872|0;o=0;while(1){f=v[y>>2];V=(o<<5)+e|0;fa=B(o,48);c=fa+v[I+24>>2]|0;r=v[c>>2];b=r-1|0;g=(b+v[u>>2]|0)/(r|0)|0;v[V>>2]=g;h=v[c+4>>2];c=h-1|0;d=(c+v[u+4>>2]|0)/(h|0)|0;v[V+4>>2]=d;b=(b+v[u+8>>2]|0)/(r|0)|0;v[V+8>>2]=b;c=(c+v[u+12>>2]|0)/(h|0)|0;v[V+12>>2]=c;b=B(b-g|0,c-d|0)<<2;c=gb(b);if(!c){v[((o<<5)+e|0)+24>>2]=0;br(J);v[v[J>>2]+20>>2]=1;break b}Ja=V,Ka=eb(c,0,b),v[Ja+24>>2]=Ka;O=f+B(o,1076)|0;c=v[O+4>>2];v[V+16>>2]=c;c=B(c,124);la=gb(c);if(!la){break d}Ja=V,Ka=eb(la,0,c),v[Ja+20>>2]=Ka;g:{e=v[V+16>>2];if((e|0)<1){break g}ca=0;while(1){N=B(ca,124)+la|0;G=(ca^-1)+e|0;p=-1<>2]>>G;v[N>>2]=f;g=p+v[V+4>>2]>>G;v[N+4>>2]=g;d=p+v[V+8>>2]>>G;v[N+8>>2]=d;c=v[V+12>>2];v[N+24>>2]=ca?3:1;b=c+p>>G;v[N+12>>2]=b;$=15;R=15;if(t[O|0]&1){c=O+(ca<<2)|0;$=v[c+944>>2];R=v[c+812>>2]}c=-1<<$;na=c&g;qa=1<<$;v[N+20>>2]=(b|0)==(g|0)?0:(c&(b+qa|0)-1)-na>>$;c=-1<>2]=(d|0)==(f|0)?0:(c&(d+ra|0)-1)-Y>>R;if(ca){$=$-1|0;qa=1<<$;R=R-1|0;ra=1<>1;Y=Y+1>>1}ja=B(ca,3)-2|0;k=e-ca|0;W=1<>2];ga=(c|0)>($|0)?$:c;ha=1<>2];ka=(c|0)>(R|0)?R:c;L=1<>2]=l;h:{if(!ca){d=p+v[V+8>>2]>>G;f=p+v[V+4>>2]>>G;h=p+v[V>>2]>>G;g=v[V+12>>2];e=p;c=G;break h}c=W+(((l&2147483645)==1)<>2]>>k;g=W+(((l&2147483646)==2)<>2]>>k;h=c+v[V>>2]>>k;e=v[V+12>>2];c=k}v[aa+40>>2]=e+g>>c;v[aa+36>>2]=d;v[aa+32>>2]=f;v[aa+28>>2]=h;c=O+((ca?b+ja|0:0)<<3)|0;d=v[c+32>>2];c=v[c+28>>2];Ja=aa,La=C(ju((v[(fa+v[I+24>>2]|0)+24>>2]+(v[O+20>>2]?ca?l-1>>>0<2?1:2:0:0)|0)-c|0)*(+(d|0)*.00048828125+1)),z[Ja+56>>2]=La;v[aa+52>>2]=(c+v[O+804>>2]|0)-1;d=B(B(v[N+16>>2],v[N+20>>2]),36);c=gb(d);if(!c){break e}Ja=aa,Ka=eb(c,0,d),v[Ja+48>>2]=Ka;i:{e=v[N+16>>2];if((B(e,v[N+20>>2])|0)<1){break i}da=0;while(1){Z=B(da,36)+c|0;b=v[aa+28>>2];d=(da|0)/(e|0)|0;e=(da-B(d,e)<(e|0)?b:e;v[Z>>2]=f;b=v[aa+32>>2];h=(d<<$)+na|0;g=(b|0)>(h|0)?b:h;v[Z+4>>2]=g;d=v[aa+36>>2];b=e+ra|0;e=(b|0)>(d|0)?d:b;v[Z+8>>2]=e;d=v[aa+40>>2];b=h+qa|0;b=(b|0)>(d|0)?d:b;v[Z+12>>2]=b;m=f>>ka;d=(e+j>>ka)-m<>ka;v[Z+16>>2]=d;A=g>>ga;b=(b+P>>ga)-A<>ga;v[Z+20>>2]=b;d=B(B(b,d),15448);b=gb(d);if(!b){v[(B(da,36)+c|0)+24>>2]=0;br(J);v[v[J>>2]+20>>2]=1;break b}Ja=Z,Ka=eb(b,0,d),v[Ja+24>>2]=Ka;g=v[Z+20>>2];f=v[Z+16>>2];S=gb(16);j:{if(!S){S=0;break j}v[S+4>>2]=g;v[S>>2]=f;v[S+8>>2]=0;v[S+12>>2]=0;v[ba+128>>2]=f;v[ba>>2]=g;_=0;e=g;b=f;c=0;while(1){l=c;c=c+1|0;d=c<<2;h=(e+1|0)/2|0;v[d+ba>>2]=h;n=d+(ba+128|0)|0;d=(b+1|0)/2|0;v[n>>2]=d;n=B(b,e);_=n+_|0;e=h;b=d;if((n|0)>1){continue}break}v[S+8>>2]=_;k:{l:{m:{if(!_){break m}b=_<<4;c=gb(b);if(!c){break m}T=0;h=eb(c,0,b);v[S+12>>2]=h;if(!l){b=h;break l}d=h+(B(f,g)<<4)|0;e=d;b=h;while(1){n:{if((g|0)<1){c=d;break n}M=g-1|0;f=0;n=v[(ba+128|0)+(T<<2)>>2];if((n|0)>0){c=d;while(1){d=c;c=n;while(1){o:{v[b>>2]=e;if((c|0)==1){b=b+16|0;e=e+16|0;break o}v[b+16>>2]=e;e=e+16|0;b=b+32|0;s=(c|0)>2;c=c-2|0;if(s){continue}}break}s=f&1|(f|0)==(M|0);c=s?e:d+(n<<4)|0;e=s?e:d;f=f+1|0;if((g|0)!=(f|0)){continue}break}break n}c=0;if((g|0)!=1){f=g&-2;while(1){s=(c|0)==(M|0);c=c+2|0;d=s?e:d;e=d;f=f-2|0;if(f){continue}break}}if(!(g&1)){e=d;c=d;break n}g=c&1|(c|0)==(M|0);c=g?e:(n<<4)+d|0;e=g?e:d}T=T+1|0;if((l|0)==(T|0)){break l}g=v[ba+(T<<2)>>2];d=c;continue}}$a(S);S=0;break k}v[b>>2]=0;if((_|0)<1){break k}c=_&3;e=0;if(_-1>>>0>=3){d=_&-4;while(1){g=e<<4;b=g+h|0;v[b+12>>2]=0;v[b+4>>2]=999;v[b+8>>2]=0;b=h+(g|16)|0;v[b+4>>2]=999;v[b+8>>2]=0;v[b+12>>2]=0;b=h+(g|32)|0;v[b+4>>2]=999;v[b+8>>2]=0;v[b+12>>2]=0;b=h+(g|48)|0;v[b+4>>2]=999;v[b+8>>2]=0;v[b+12>>2]=0;e=e+4|0;d=d-4|0;if(d){continue}break}}if(!c){break k}while(1){b=h+(e<<4)|0;v[b+12>>2]=0;v[b+4>>2]=999;v[b+8>>2]=0;e=e+1|0;c=c-1|0;if(c){continue}break}}g=v[Z+20>>2];f=v[Z+16>>2]}v[Z+28>>2]=S;S=gb(16);p:{if(!S){S=0;break p}v[S+4>>2]=g;v[S>>2]=f;v[S+8>>2]=0;v[S+12>>2]=0;v[ba+128>>2]=f;v[ba>>2]=g;_=0;e=g;b=f;c=0;while(1){l=c;c=c+1|0;d=c<<2;h=(e+1|0)/2|0;v[d+ba>>2]=h;n=d+(ba+128|0)|0;d=(b+1|0)/2|0;v[n>>2]=d;n=B(b,e);_=n+_|0;e=h;b=d;if((n|0)>1){continue}break}v[S+8>>2]=_;q:{r:{s:{if(!_){break s}b=_<<4;c=gb(b);if(!c){break s}T=0;h=eb(c,0,b);v[S+12>>2]=h;if(!l){b=h;break r}d=h+(B(f,g)<<4)|0;e=d;b=h;while(1){t:{if((g|0)<1){c=d;break t}M=g-1|0;f=0;n=v[(ba+128|0)+(T<<2)>>2];if((n|0)>0){c=d;while(1){d=c;c=n;while(1){u:{v[b>>2]=e;if((c|0)==1){b=b+16|0;e=e+16|0;break u}v[b+16>>2]=e;e=e+16|0;b=b+32|0;s=(c|0)>2;c=c-2|0;if(s){continue}}break}s=f&1|(f|0)==(M|0);c=s?e:d+(n<<4)|0;e=s?e:d;f=f+1|0;if((g|0)!=(f|0)){continue}break}break t}c=0;if((g|0)!=1){f=g&-2;while(1){s=(c|0)==(M|0);c=c+2|0;d=s?e:d;e=d;f=f-2|0;if(f){continue}break}}if(!(g&1)){e=d;c=d;break t}g=c&1|(c|0)==(M|0);c=g?e:(n<<4)+d|0;e=g?e:d}T=T+1|0;if((l|0)==(T|0)){break r}g=v[ba+(T<<2)>>2];d=c;continue}}$a(S);S=0;break q}v[b>>2]=0;if((_|0)<1){break q}c=_&3;e=0;if(_-1>>>0>=3){d=_&-4;while(1){g=e<<4;b=g+h|0;v[b+12>>2]=0;v[b+4>>2]=999;v[b+8>>2]=0;b=h+(g|16)|0;v[b+4>>2]=999;v[b+8>>2]=0;v[b+12>>2]=0;b=h+(g|32)|0;v[b+4>>2]=999;v[b+8>>2]=0;v[b+12>>2]=0;b=h+(g|48)|0;v[b+4>>2]=999;v[b+8>>2]=0;v[b+12>>2]=0;e=e+4|0;d=d-4|0;if(d){continue}break}}if(!c){break q}while(1){b=h+(e<<4)|0;v[b+12>>2]=0;v[b+4>>2]=999;v[b+8>>2]=0;e=e+1|0;c=c-1|0;if(c){continue}break}}g=v[Z+20>>2];f=v[Z+16>>2]}v[Z+32>>2]=S;g=B(f,g);if((g|0)>=1){d=v[Z+24>>2];e=0;while(1){n=d+B(e,15448)|0;c=v[Z>>2];b=(e|0)/(f|0)|0;l=m+(e-B(b,f)|0)<>2]=(c|0)>(l|0)?c:l;c=v[Z+4>>2];h=b+A<>2]=(c|0)>(h|0)?c:h;b=v[Z+8>>2];c=l+L|0;v[n+8>>2]=(b|0)<(c|0)?b:c;b=v[Z+12>>2];c=h+ha|0;v[n+12>>2]=(b|0)<(c|0)?b:c;e=e+1|0;if((g|0)!=(e|0)){continue}break}}da=da+1|0;e=v[N+16>>2];if((da|0)>=(B(e,v[N+20>>2])|0)){break i}c=v[aa+48>>2];continue}}b=r;if((b|0)>2]){continue}break}e=v[V+16>>2];ca=ca+1|0;if((e|0)<=(ca|0)){break g}la=v[V+20>>2];continue}}o=o+1|0;if((o|0)>2]){e=v[u+20>>2];continue}break}h=v[Q+60>>2]}K=K+1|0;if((K|0)>=(h|0)){break f}e=v[Q+48>>2];c=v[v[J+4>>2]+8>>2];continue}}m=v[I+16>>2];if((m|0)<1){break b}v:{if((h|0)<1){g=0;while(1){c=gb(0);if(!c){break v}b=v[I+24>>2]+B(g,48)|0;v[b+8>>2]=0;v[b+12>>2]=0;v[b+44>>2]=c;v[b+16>>2]=0;v[b+20>>2]=0;g=g+1|0;if((m|0)!=(g|0)){continue}break}break b}A=v[J+4>>2];s=v[Q+56>>2];p=(h|0)==1;g=0;w:{while(1){G=g<<5;k=v[A+8>>2];b=G+v[(k+B(v[s>>2],840)|0)+20>>2]|0;c=v[b+12>>2];d=v[b+8>>2];e=v[b+4>>2];b=v[b>>2];if(!p){n=v[A+8>>2];f=1;while(1){l=B(v[s+(f<<2)>>2],840);r=v[(G+v[(l+k|0)+20>>2]|0)+12>>2];c=c>>>0>>0?r:c;l=G+v[(l+n|0)+20>>2]|0;r=v[l+8>>2];d=d>>>0>>0?r:d;r=v[l+4>>2];e=e>>>0>r>>>0?r:e;r=v[l>>2];b=b>>>0>r>>>0?r:b;f=f+1|0;if((h|0)!=(f|0)){continue}break}}l=d-b|0;r=c-e|0;f=B(l,r)<<2;d=gb(f);if(!d){break w}d=eb(d,0,f);f=v[I+24>>2]+B(g,48)|0;v[f+20>>2]=e;v[f+16>>2]=b;v[f+12>>2]=r;v[f+8>>2]=l;v[f+44>>2]=d;g=g+1|0;if((m|0)!=(g|0)){continue}break}v[ba+128>>2]=c;break b}v[ba+128>>2]=c}e=0;v[(v[I+24>>2]+B(g,48)|0)+44>>2]=0;br(J);if(g){while(1){b=v[I+24>>2]+B(e,48)|0;c=v[b+44>>2];if(c){$a(c);v[b+44>>2]=0}e=e+1|0;if((g|0)!=(e|0)){continue}break}}v[v[J>>2]+20>>2]=1;break b}v[((B(ca,124)+la|0)+(b<<5)|0)+48>>2]=0;br(J);v[v[J>>2]+20>>2]=1;break b}v[((o<<5)+e|0)+20>>2]=0;br(J);v[v[J>>2]+20>>2]=1;break b}v[(B(p,840)+c|0)+20>>2]=0;br(J);v[v[J>>2]+20>>2]=1;break b}v[d+8>>2]=0;v[v[J>>2]+20>>2]=1}Ma=ba+256|0;x:{y:{z:{if(v[v[J>>2]+20>>2]){h=0;c=v[a+44>>2];if(v[c+60>>2]<=0){break y}while(1){b=v[a+28>>2];e=v[v[c+56>>2]+(h<<2)>>2]<<2;d=b+e|0;c=v[d>>2];if(c){$a(c);v[d>>2]=0;b=v[a+28>>2]}v[b+e>>2]=0;h=h+1|0;c=v[a+44>>2];if((h|0)>2]){continue}break}break z}h=v[a+44>>2];if(v[h+60>>2]>0){while(1){sa=v[v[h+56>>2]+(Ia<<2)>>2];V=sa<<2;g=v[V+v[a+28>>2]>>2];e=v[V+v[a+32>>2]>>2];la=0;v[J+24>>2]=sa;O=v[v[J+4>>2]+8>>2];wa=O+B(sa,840)|0;v[J+16>>2]=wa;d=v[J+12>>2];v[J+20>>2]=v[d+88>>2]+B(sa,1876);b=v[J+8>>2];c=v[J>>2];f=gb(12);A:{if(!f){b5(0,g,e,sa,wa);break A}v[f+8>>2]=d;v[f+4>>2]=b;v[f>>2]=c;b5(f,g,e,sa,wa);$a(f)}d=v[J>>2];c=gb(8429596);B:{if(!c){v[d+20>>2]=1;c=0;break B}c=eb(c,0,8429596);v[c>>2]=d;b=gb(156);if(!b){v[d+20>>2]=1;$a(c);c=0;break B}b=eb(b,0,156);v[c+4>>2]=b;e=gb(28);if(e){v[e>>2]=0;v[e+4>>2]=0;v[e+24>>2]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;v[c+8>>2]=e;f=0;while(1){b=(f>>>4&1)+(f>>>6&1)|0;e=(((f>>>3&1)+(f&1)|0)+(f>>>1&1)|0)+(f>>>2&1)|0;d=8;C:{D:{switch((f>>>5&1)+(f>>>7|0)|0){case 0:d=3;E:{switch(b|0){case 0:d=e?(e|0)==1?1:2:0;break C;case 1:break C;default:break E}}d=4;break C;case 1:break D;default:break C}}d=7;if(b){break C}d=e?6:5}v[(c+(f<<2)|0)+12>>2]=d;f=f+1|0;if((f|0)!=256){continue}break}f=0;while(1){b=(f>>>4&1)+(f>>>6&1)|0;e=(((f>>>3&1)+(f&1)|0)+(f>>>1&1)|0)+(f>>>2&1)|0;d=8;F:{G:{switch((f>>>5&1)+(f>>>7|0)|0){case 1:d=7;if(b){break F}d=e?6:5;break F;case 0:break G;default:break F}}d=3;H:{switch(b|0){case 0:d=e?(e|0)==1?1:2:0;break F;case 1:break F;default:break H}}d=4}v[(c+(f<<2|1024)|0)+12>>2]=d;f=f+1|0;if((f|0)!=256){continue}break}f=0;while(1){b=(f>>>5&1)+(f>>>7|0)|0;e=(((f>>>3&1)+(f&1)|0)+(f>>>1&1)|0)+(f>>>2&1)|0;d=8;I:{J:{switch((f>>>4&1)+(f>>>6&1)|0){case 1:d=7;if(b){break I}d=e?6:5;break I;case 0:break J;default:break I}}d=3;K:{switch(b|0){case 0:d=e?(e|0)==1?1:2:0;break I;case 1:break I;default:break K}}d=4}v[(c+(f<<2|2048)|0)+12>>2]=d;f=f+1|0;if((f|0)!=256){continue}break}f=0;while(1){b=(((f>>>5&1)+(f>>>7|0)|0)+(f>>>6&1)|0)+(f>>>4&1)|0;d=8;L:{M:{switch((((f>>>3&1)+(f&1)|0)+(f>>>1&1)|0)+(f>>>2&1)|0){case 2:d=b?7:6;break L;case 1:d=b?(b|0)==1?4:5:3;break L;case 0:break M;default:break L}}d=b?(b|0)==1?1:2:0}v[(c+(f<<2|3072)|0)+12>>2]=d;f=f+1|0;if((f|0)!=256){continue}break}f=0;while(1){e=f<<4;d=e&272;b=e&1088;b=(((d|0)==16|0)!=(((b|0)==64?-1:0)|0))-(((d|0)==272|0)!=(((b|0)==1088?-1:0)|0))|0;h=0-b|0;g=b;d=e&544;b=e&2176;b=(((d|0)==32|0)!=(((b|0)==128?-1:0)|0))-(((d|0)==544|0)!=(((b|0)==2176?-1:0)|0))|0;e=(b|0)<0?h:g;d=9;N:{O:{P:{g=b;b=b>>31;switch(g+b^b){case 1:break O;case 0:break P;default:break N}}d=e?10:9;break N}d=(e|0)==-1?11:e?13:12}v[(c+(f<<2)|0)+4108>>2]=d;f=f+1|0;if((f|0)!=256){continue}break}f=0;e=c+5132|0;while(1){d=f<<2;b=f&8192;v[d+e>>2]=b?16:f&254?15:14;v[e+(d|4)>>2]=b?16:15;f=f+2|0;if((f|0)!=2048){continue}break}f=0;while(1){d=c+(f<<2)|0;b=d+13332|0;v[b>>2]=16;v[b+4>>2]=16;b=d+13324|0;v[b>>2]=16;v[b+4>>2]=16;f=f+4|0;if((f|0)!=2048){continue}break}f=0;while(1){e=(c+(f<<2)|0)+21516|0;h=f<<4;d=h&544;b=h&2176;g=(((d|0)==32|0)!=(((b|0)==128?-1:0)|0))-(((d|0)==544|0)!=(((b|0)==2176?-1:0)|0))|0;d=h&272;b=h&1088;b=(((d|0)==16|0)!=(((b|0)==64?-1:0)|0))-(((d|0)==272|0)!=(((b|0)==1088?-1:0)|0))|0;if(g|b){b=((g|0)!=0|(b|0)<1)&(g|0)<1}else{b=0}v[e>>2]=b;f=f+1|0;if((f|0)!=256){continue}break}f=0;while(1){e=c+(f<<2)|0;b=e+23052|0;Ba=+(f|0)*.015625;xa=Ba*Ba;X=H(xa*64+.5)*.015625*8192;Q:{if(D(X)<2147483648){d=~~X;break Q}d=-2147483648}v[b>>2]=(d|0)>0?d:0;b=e+24076|0;X=Ba+-1;ya=X*X;X=H(ya*64+.5)*.015625*8192;R:{if(D(X)<2147483648){d=~~X;break R}d=-2147483648}v[b>>2]=(d|0)>0?d:0;b=e+22540|0;X=xa;xa=Ba+-1.5;X=H((X-xa*xa)*64+.5)*.015625*8192;S:{if(D(X)<2147483648){d=~~X;break S}d=-2147483648}v[b>>2]=(d|0)>0?d:0;b=e+23564|0;X=f&64?xa:Ba+-.5;X=H((ya-X*X)*64+.5)*.015625*8192;T:{if(D(X)<2147483648){d=~~X;break T}d=-2147483648}v[b>>2]=(d|0)>0?d:0;f=f+1|0;if((f|0)!=128){continue}break}break B}v[d+20>>2]=1;$a(b);$a(c);c=0}A=c;F=c;N=v[J+20>>2];d=v[wa+16>>2];if((d|0)>0){while(1){oa=v[wa+20>>2]+(la<<5)|0;g=v[oa+16>>2];if((g|0)>0){na=0;while(1){ua=v[oa+20>>2]+B(na,124)|0;d=v[ua+24>>2];if((d|0)>=1){I=na-1|0;g=v[ua+20>>2];f=v[ua+16>>2];qa=0;while(1){if((B(f,g)|0)>0){za=ua+(qa<<5)|0;da=za;ra=0;while(1){Ca=v[za+48>>2]+B(ra,36)|0;if((B(v[Ca+20>>2],v[Ca+16>>2])|0)>=1){n=v[N+1872>>2];S=0;while(1){U=v[Ca+24>>2]+B(S,15448)|0;pa=v[U+8>>2]-v[U>>2]|0;ga=B(la,1076);c=ga+n|0;n=v[c+16>>2];r=v[c+808>>2];q=v[F+4>>2];Da=v[F+8>>2];l=v[za+44>>2];h=v[U+12>>2];b=v[U+4>>2];ea=h-b|0;U:{V:{if((ea|0)<0){break V}d=0;if((pa|0)<0){break U}c=ea+1|0;e=c&7;f=(pa<<2)+4|0;if(ea>>>0>=7){c=c&-8;while(1){g=F+4218892|0;eb(g+B(d,4104)|0,0,f);eb(g+B(d|1,4104)|0,0,f);eb(g+B(d|2,4104)|0,0,f);eb(g+B(d|3,4104)|0,0,f);eb(g+B(d|4,4104)|0,0,f);eb(g+B(d|5,4104)|0,0,f);eb(g+B(d|6,4104)|0,0,f);eb(g+B(d|7,4104)|0,0,f);d=d+8|0;c=c-8|0;if(c){continue}break}}if(!e){break V}while(1){eb((F+B(d,4104)|0)+4218892|0,0,f);d=d+1|0;e=e-1|0;if(e){continue}break}}if((pa|0)<1){d=0;break U}d=1;if((ea|0)<1){break U}f=ea&-8;g=ea&7;h=h+(b^-1)|0;c=0;while(1){e=0;b=f;if(h>>>0>=7){while(1){d=c<<2;p=F+24588|0;k=e<<12;v[d+(p+k|0)>>2]=0;v[d+(p+(k|4096)|0)>>2]=0;v[d+(p+(k|8192)|0)>>2]=0;v[d+(p+(k|12288)|0)>>2]=0;v[d+(p+(k|16384)|0)>>2]=0;v[d+(p+(k|20480)|0)>>2]=0;v[d+(p+(k|24576)|0)>>2]=0;v[d+(p+(k|28672)|0)>>2]=0;e=e+8|0;b=b-8|0;if(b){continue}break}}d=g;if(d){while(1){v[((F+(e<<12)|0)+(c<<2)|0)+24588>>2]=0;e=e+1|0;d=d-1|0;if(d){continue}break}}d=1;c=c+1|0;if((pa|0)!=(c|0)){continue}break}}e=v[U+16>>2];v[q+148>>2]=1023744;v[q+144>>2]=1023744;v[q+140>>2]=1023744;v[q+136>>2]=1023744;v[q+132>>2]=1023744;v[q+128>>2]=1023744;v[q+124>>2]=1023744;v[q+120>>2]=1023744;v[q+116>>2]=1023744;v[q+112>>2]=1023744;v[q+108>>2]=1023744;v[q+104>>2]=1023744;v[q+100>>2]=1023744;v[q+88>>2]=1023744;v[q+84>>2]=1023744;v[q+80>>2]=1023744;v[q+76>>2]=1023744;v[q+72>>2]=1023744;v[q+68>>2]=1023744;v[q- -64>>2]=1023744;v[q+60>>2]=1023744;v[q+56>>2]=1023744;v[q+52>>2]=1023744;v[q+48>>2]=1023744;v[q+44>>2]=1023744;v[q+40>>2]=1023744;v[q+36>>2]=1023744;v[q+32>>2]=1023744;v[q+28>>2]=1023744;v[q+92>>2]=1023840;v[q+96>>2]=1025216;v[q+24>>2]=1023872;W:{if(v[U+36>>2]<1){break W}Q=(l|0)==2?256:(l|0)==1?512:l<<8;ka=n&2;Ea=ea-1|0;Aa=n&8;Y=n&32;M=n&1;K=q+24|0;Z=(ea|0)>0&d;$=(e+r|0)-1|0;Ga=2;_=0;while(1){ba=U+B(_,24)|0;g=v[ba+44>>2];h=v[ba+48>>2];ca=(Ga|0)<2&(e-5|0)>=($|0)&M;X:{if(ca){v[Da+12>>2]=0;v[Da+8>>2]=g;v[Da+20>>2]=h;v[Da+4>>2]=0;t[Da|0]=0;break X}v[q+16>>2]=h;v[q+152>>2]=K;v[q+12>>2]=h;v[q+20>>2]=g+h;c=1;e=65280;Y:{if(!g){b=16711680;break Y}b=w[h|0]<<16;v[q>>2]=b;d=h+1|0;Z:{if((g|0)!=1){f=w[h+1|0];if(w[h|0]!=255){break Z}if(f>>>0>143){break Y}v[q+12>>2]=d;e=f<<9;c=0;break Y}f=255;if(w[h|0]==255){break Y}}v[q+12>>2]=d;e=f<<8}v[q+8>>2]=c;v[q+4>>2]=32768;v[q>>2]=b+e<<7}u=0;if(v[ba+40>>2]>0){W=!ca&(ka|0)!=0;while(1){_:{$:{aa:{switch(Ga|0){case 0:if(!Z){break _}c=1<<$+1;fa=c>>1|c;ja=0-fa|0;c=0;if(!ca){break $}m=v[F+8>>2];h=0;while(1){e=h;p=e|3;h=e+4|0;j=0;while(1){l=j;j=j+1|0;f=e;while(1){ba:{if(!Aa){g=f+1|0;d=((F+B(g,4104)|0)+(j<<2)|0)+4218892|0;c=v[d>>2];break ba}g=f+1|0;d=((F+B(g,4104)|0)+(j<<2)|0)+4218892|0;b=v[d>>2];c=b&-1095;c=(f|0)==(p|0)?c:(f|0)==(Ea|0)?c:b}if(!(!(c&255)|c&20480)){c=v[m+4>>2];ca:{if(c){b=w[m|0];break ca}v[m+4>>2]=8;r=v[m+12>>2];if((r|0)!=v[m+8>>2]){c=8;if(w[m|0]==255){v[m+4>>2]=7;c=7}b=w[r+v[m+20>>2]|0];v[m+12>>2]=r+1;t[m|0]=b;break ca}b=255;t[m|0]=255;c=8}c=c-1|0;v[m+4>>2]=c;r=d;k=b&255;if(k>>>c&1){n=l<<2;f=(n+(F+(f<<12)|0)|0)+24588|0;da:{if(c){break da}v[m+4>>2]=8;G=v[m+12>>2];if((G|0)!=v[m+8>>2]){c=8;if((k|0)==255){v[m+4>>2]=7;c=7}b=w[G+v[m+20>>2]|0];v[m+12>>2]=G+1;t[m|0]=b;break da}b=255;t[m|0]=255;c=8}c=c-1|0;v[m+4>>2]=c;k=f;f=(b&255)>>>c&1;v[k>>2]=f?ja:fa;c=d-4108|0;v[c>>2]=v[c>>2]|2;c=d-4100|0;v[c>>2]=v[c>>2]|4;v[d+4100>>2]=v[d+4100>>2]|1;v[d+4108>>2]=v[d+4108>>2]|8;s=d-4104|0;G=v[s>>2];v[s>>2]=G|64;b=v[d+4104>>2];v[d+4104>>2]=b|16;k=(n+(F+B(g,4104)|0)|0)+4218892|0;n=v[k>>2];v[k>>2]=n|32;c=v[d+4>>2];v[d+4>>2]=c|128;if(f){v[s>>2]=G|1088;v[d+4104>>2]=b|272;v[k>>2]=n|544;v[d+4>>2]=c|2176}c=v[d>>2]|4096}else{c=v[d>>2]}v[r>>2]=c|16384}if(g>>>0>>0){f=g;if((ea|0)>(f|0)){continue}}break}if((j|0)!=(pa|0)){continue}break}if((h|0)<(ea|0)){continue}break};break _;case 2:i=v[F+4>>2];aa=i+96|0;if(Z){n=0;c=1<<$+1;y=c>>1|c;fa=0-y|0;ja=i+92|0;while(1){G=n+4|0;R=n|2;ha=n|1;Fa=n|3;r=0;while(1){T=1;p=r;r=p+1|0;d=0;ea:{fa:{if((ea|0)<=(Fa|0)){break fa}b=r<<2;c=v[(b+(F+B(ha,4104)|0)|0)+4218892>>2]&20735;ga:{if(Aa){if(x[(b+(F+B(Fa,4104)|0)|0)+4218892>>1]&20735|(x[(b+(F+B(R,4104)|0)|0)+4218892>>1]&20735|c)){break fa}if(!(x[(b+(F+B(G,4104)|0)|0)+4218892>>1]&20665)){break ga}break fa}if(x[(b+(F+B(R,4104)|0)|0)+4218892>>1]&20735|c|(x[(b+(F+B(Fa,4104)|0)|0)+4218892>>1]&20735|x[(b+(F+B(G,4104)|0)|0)+4218892>>1]&20735)){break fa}}v[i+152>>2]=ja;b=v[i+92>>2];e=v[b>>2];c=v[i+4>>2]-e|0;v[i+4>>2]=c;d=v[i>>2];ha:{if(d>>>16>>>0>=e>>>0){d=d-(e<<16)|0;v[i>>2]=d;g=v[b+4>>2];if(c&32768){break ha}h=v[b+4>>2];g=c>>>0>>0;v[i+92>>2]=v[b+(g?12:8)>>2];f=v[i+8>>2];while(1){if(!f){f=8;b=65280;l=v[i+12>>2];e=v[i+20>>2];ia:{if((l|0)==(e|0)){break ia}k=e;e=l+1|0;ja:{if((k|0)!=(e|0)){j=w[l+1|0];if(w[l|0]!=255){break ja}if(j>>>0>143){break ia}v[i+12>>2]=e;b=j<<9;f=7;break ia}j=255;if(w[l|0]==255){break ia}}v[i+12>>2]=e;b=j<<8}d=b+d|0}f=f-1|0;v[i+8>>2]=f;d=d<<1;v[i>>2]=d;c=c<<1;v[i+4>>2]=c;if(c>>>0<32768){continue}break}g=g?1-h|0:h;break ha}v[i+4>>2]=e;h=v[b+4>>2];g=c>>>0>>0;v[i+92>>2]=v[b+(g?8:12)>>2];f=v[i+8>>2];while(1){if(!f){f=8;b=65280;l=v[i+12>>2];c=v[i+20>>2];ka:{if((l|0)==(c|0)){break ka}k=c;c=l+1|0;la:{if((k|0)!=(c|0)){j=w[l+1|0];if(w[l|0]!=255){break la}if(j>>>0>143){break ka}v[i+12>>2]=c;b=j<<9;f=7;break ka}j=255;if(w[l|0]==255){break ka}}v[i+12>>2]=c;b=j<<8}d=b+d|0}f=f-1|0;v[i+8>>2]=f;d=d<<1;v[i>>2]=d;e=e<<1;v[i+4>>2]=e;if(e>>>0<32768){continue}break}c=e;g=g?h:1-h|0}if(!g){break ea}v[i+152>>2]=aa;b=v[i+96>>2];e=v[b>>2];c=c-e|0;v[i+4>>2]=c;ma:{if(d>>>16>>>0>=e>>>0){d=d-(e<<16)|0;v[i>>2]=d;g=v[b+4>>2];if(c&32768){break ma}l=v[b+4>>2];h=c>>>0>>0;e=v[(h?12:8)+b>>2];v[i+96>>2]=e;f=v[i+8>>2];while(1){if(!f){f=8;b=65280;k=v[i+12>>2];g=v[i+20>>2];na:{if((k|0)==(g|0)){break na}s=g;g=k+1|0;oa:{if((s|0)!=(g|0)){j=w[k+1|0];if(w[k|0]!=255){break oa}if(j>>>0>143){break na}v[i+12>>2]=g;b=j<<9;f=7;break na}j=255;if(w[k|0]==255){break na}}v[i+12>>2]=g;b=j<<8}d=b+d|0}f=f-1|0;v[i+8>>2]=f;d=d<<1;v[i>>2]=d;c=c<<1;v[i+4>>2]=c;if(c>>>0<32768){continue}break}b=e;g=h?1-l|0:l;break ma}v[i+4>>2]=e;l=v[b+4>>2];h=c>>>0>>0;g=v[(h?8:12)+b>>2];v[i+96>>2]=g;f=v[i+8>>2];while(1){if(!f){f=8;b=65280;k=v[i+12>>2];c=v[i+20>>2];pa:{if((k|0)==(c|0)){break pa}s=c;c=k+1|0;qa:{if((s|0)!=(c|0)){j=w[k+1|0];if(w[k|0]!=255){break qa}if(j>>>0>143){break pa}v[i+12>>2]=c;b=j<<9;f=7;break pa}j=255;if(w[k|0]==255){break pa}}v[i+12>>2]=c;b=j<<8}d=b+d|0}f=f-1|0;v[i+8>>2]=f;d=d<<1;v[i>>2]=d;e=e<<1;v[i+4>>2]=e;if(e>>>0<32768){continue}break}c=e;b=g;g=h?l:1-l|0}e=v[b>>2];f=c-e|0;v[i+4>>2]=f;h=g<<1;ra:{if(d>>>16>>>0>=e>>>0){c=d-(e<<16)|0;v[i>>2]=c;d=v[b+4>>2];if(f&32768){break ra}l=v[b+4>>2];g=f>>>0>>0;v[i+96>>2]=v[(g?12:8)+b>>2];d=v[i+8>>2];while(1){if(!d){d=8;b=65280;k=v[i+12>>2];e=v[i+20>>2];sa:{if((k|0)==(e|0)){break sa}s=e;e=k+1|0;ta:{if((s|0)!=(e|0)){j=w[k+1|0];if(w[k|0]!=255){break ta}if(j>>>0>143){break sa}v[i+12>>2]=e;b=j<<9;d=7;break sa}j=255;if(w[k|0]==255){break sa}}v[i+12>>2]=e;b=j<<8}c=b+c|0}d=d-1|0;v[i+8>>2]=d;c=c<<1;v[i>>2]=c;f=f<<1;v[i+4>>2]=f;if(f>>>0<32768){continue}break}d=g?1-l|0:l;break ra}v[i+4>>2]=e;l=v[b+4>>2];g=f>>>0>>0;v[i+96>>2]=v[(g?8:12)+b>>2];f=v[i+8>>2];while(1){if(!f){f=8;b=65280;k=v[i+12>>2];c=v[i+20>>2];ua:{if((k|0)==(c|0)){break ua}s=c;c=k+1|0;va:{if((s|0)!=(c|0)){j=w[k+1|0];if(w[k|0]!=255){break va}if(j>>>0>143){break ua}v[i+12>>2]=c;b=j<<9;f=7;break ua}j=255;if(w[k|0]==255){break ua}}v[i+12>>2]=c;b=j<<8}d=b+d|0}f=f-1|0;v[i+8>>2]=f;d=d<<1;v[i>>2]=d;e=e<<1;v[i+4>>2]=e;if(e>>>0<32768){continue}break}d=g?l:1-l|0}d=d|h;T=0}if((d|0)>3){break ea}P=d+n|0;l=P;if((ea|0)<=(l|0)){break ea}while(1){c=l+1|0;L=F+B(c,4104)|0;ia=(L+(r<<2)|0)+4218892|0;g=v[ia>>2];m=(Aa?(l|0)==(Fa|0)|(l|0)==(Ea|0):0)?g&-1095:g;E=v[F+4>>2];wa:{xa:{ya:{if(!((l|0)!=(P|0)|T)){f=v[E+4>>2];g=v[E>>2];break ya}if(m&20480){break wa}b=E+(v[(F+((Q|m&255)<<2)|0)+12>>2]<<2)|0;v[E+152>>2]=b+24;h=v[b+24>>2];e=v[h>>2];f=v[E+4>>2]-e|0;v[E+4>>2]=f;g=v[E>>2];za:{if(g>>>16>>>0>=e>>>0){g=g-(e<<16)|0;v[E>>2]=g;d=v[h+4>>2];if(f&32768){break za}s=v[h+4>>2];d=f>>>0>>0;v[b+24>>2]=v[h+(d?12:8)>>2];e=v[E+8>>2];while(1){if(!e){e=8;h=65280;j=v[E+12>>2];b=v[E+20>>2];Aa:{if((j|0)==(b|0)){break Aa}k=b;b=j+1|0;Ba:{if((k|0)!=(b|0)){k=w[j+1|0];if(w[j|0]!=255){break Ba}if(k>>>0>143){break Aa}v[E+12>>2]=b;h=k<<9;e=7;break Aa}k=255;if(w[j|0]==255){break Aa}}v[E+12>>2]=b;h=k<<8}g=g+h|0}e=e-1|0;v[E+8>>2]=e;g=g<<1;v[E>>2]=g;f=f<<1;v[E+4>>2]=f;if(f>>>0<32768){continue}break}d=d?1-s|0:s;break za}v[E+4>>2]=e;s=v[h+4>>2];d=f>>>0>>0;v[b+24>>2]=v[h+(d?8:12)>>2];f=v[E+8>>2];while(1){if(!f){f=8;h=65280;j=v[E+12>>2];b=v[E+20>>2];Ca:{if((j|0)==(b|0)){break Ca}k=b;b=j+1|0;Da:{if((k|0)!=(b|0)){k=w[j+1|0];if(w[j|0]!=255){break Da}if(k>>>0>143){break Ca}v[E+12>>2]=b;h=k<<9;f=7;break Ca}k=255;if(w[j|0]==255){break Ca}}v[E+12>>2]=b;h=k<<8}g=g+h|0}f=f-1|0;v[E+8>>2]=f;g=g<<1;v[E>>2]=g;e=e<<1;v[E+4>>2]=e;if(e>>>0<32768){continue}break}f=e;d=d?s:1-s|0}if(!d){break xa}}j=p<<2;s=(j+(F+(l<<12)|0)|0)+24588|0;k=F+((m>>>4&255)<<2)|0;d=E+(v[k+4108>>2]<<2)|0;v[E+152>>2]=d+24;h=v[d+24>>2];e=v[h>>2];f=f-e|0;v[E+4>>2]=f;Ea:{if(g>>>16>>>0>=e>>>0){b=g-(e<<16)|0;v[E>>2]=b;g=v[h+4>>2];if(f&32768){break Ea}o=v[h+4>>2];e=f>>>0>>0;v[d+24>>2]=v[h+(e?12:8)>>2];g=v[E+8>>2];while(1){if(!g){g=8;h=65280;ma=v[E+12>>2];d=v[E+20>>2];Fa:{if((ma|0)==(d|0)){break Fa}va=d;d=ma+1|0;Ga:{if((va|0)!=(d|0)){m=w[ma+1|0];if(w[ma|0]!=255){break Ga}if(m>>>0>143){break Fa}v[E+12>>2]=d;h=m<<9;g=7;break Fa}m=255;if(w[ma|0]==255){break Fa}}v[E+12>>2]=d;h=m<<8}b=b+h|0}g=g-1|0;v[E+8>>2]=g;b=b<<1;v[E>>2]=b;f=f<<1;v[E+4>>2]=f;if(f>>>0<32768){continue}break}g=e?1-o|0:o;break Ea}v[E+4>>2]=e;o=v[h+4>>2];b=d;d=f>>>0>>0;v[b+24>>2]=v[h+(d?8:12)>>2];f=v[E+8>>2];while(1){if(!f){f=8;h=65280;ma=v[E+12>>2];b=v[E+20>>2];Ha:{if((ma|0)==(b|0)){break Ha}va=b;b=ma+1|0;Ia:{if((va|0)!=(b|0)){m=w[ma+1|0];if(w[ma|0]!=255){break Ia}if(m>>>0>143){break Ha}v[E+12>>2]=b;h=m<<9;f=7;break Ha}m=255;if(w[ma|0]==255){break Ha}}v[E+12>>2]=b;h=m<<8}g=g+h|0}f=f-1|0;v[E+8>>2]=f;g=g<<1;v[E>>2]=g;e=e<<1;v[E+4>>2]=e;if(e>>>0<32768){continue}break}g=d?o:1-o|0}b=g;e=(b|0)==v[k+21516>>2];v[s>>2]=e?y:fa;b=ia-4108|0;v[b>>2]=v[b>>2]|2;b=ia-4100|0;v[b>>2]=v[b>>2]|4;v[ia+4100>>2]=v[ia+4100>>2]|1;v[ia+4108>>2]=v[ia+4108>>2]|8;k=ia-4104|0;h=v[k>>2];v[k>>2]=h|64;d=v[ia+4104>>2];v[ia+4104>>2]=d|16;f=(j+L|0)+4218892|0;g=v[f>>2];v[f>>2]=g|32;b=v[ia+4>>2];v[ia+4>>2]=b|128;if(!e){v[k>>2]=h|1088;v[ia+4104>>2]=d|272;v[f>>2]=g|544;v[ia+4>>2]=b|2176}g=v[ia>>2]|4096;break wa}g=v[ia>>2]}v[ia>>2]=g&-16385;if((l|0)>=(Fa|0)){break ea}l=c;if((c|0)<(ea|0)){continue}break}}if((r|0)!=(pa|0)){continue}break}n=G;if((n|0)<(ea|0)){continue}break}}if(!Y){break _}v[i+152>>2]=aa;h=v[i+96>>2];e=v[h>>2];c=v[i+4>>2]-e|0;v[i+4>>2]=c;d=v[i>>2];Ja:{if(d>>>16>>>0>>0){v[i+4>>2]=e;h=v[(c>>>0>>0?8:12)+h>>2];v[i+96>>2]=h;f=v[i+8>>2];while(1){if(!f){f=8;b=65280;g=v[i+12>>2];c=v[i+20>>2];Ka:{if((g|0)==(c|0)){break Ka}n=c;c=g+1|0;La:{if((n|0)!=(c|0)){j=w[g+1|0];if(w[g|0]!=255){break La}if(j>>>0>143){break Ka}v[i+12>>2]=c;b=j<<9;f=7;break Ka}j=255;if(w[g|0]==255){break Ka}}v[i+12>>2]=c;b=j<<8}d=b+d|0}f=f-1|0;v[i+8>>2]=f;d=d<<1;v[i>>2]=d;e=e<<1;v[i+4>>2]=e;if(e>>>0<32768){continue}break}c=e;break Ja}d=d-(e<<16)|0;v[i>>2]=d;if(c&32768){break Ja}h=v[(c>>>0>>0?12:8)+h>>2];v[i+96>>2]=h;f=v[i+8>>2];while(1){if(!f){f=8;b=65280;g=v[i+12>>2];e=v[i+20>>2];Ma:{if((g|0)==(e|0)){break Ma}n=e;e=g+1|0;Na:{if((n|0)!=(e|0)){j=w[g+1|0];if(w[g|0]!=255){break Na}if(j>>>0>143){break Ma}v[i+12>>2]=e;b=j<<9;f=7;break Ma}j=255;if(w[g|0]==255){break Ma}}v[i+12>>2]=e;b=j<<8}d=b+d|0}f=f-1|0;v[i+8>>2]=f;d=d<<1;v[i>>2]=d;c=c<<1;v[i+4>>2]=c;if(c>>>0<32768){continue}break}}e=v[h>>2];c=c-e|0;v[i+4>>2]=c;Oa:{if(d>>>16>>>0>>0){v[i+4>>2]=e;h=v[(c>>>0>>0?8:12)+h>>2];v[i+96>>2]=h;f=v[i+8>>2];while(1){if(!f){f=8;b=65280;g=v[i+12>>2];c=v[i+20>>2];Pa:{if((g|0)==(c|0)){break Pa}n=c;c=g+1|0;Qa:{if((n|0)!=(c|0)){j=w[g+1|0];if(w[g|0]!=255){break Qa}if(j>>>0>143){break Pa}v[i+12>>2]=c;b=j<<9;f=7;break Pa}j=255;if(w[g|0]==255){break Pa}}v[i+12>>2]=c;b=j<<8}d=b+d|0}f=f-1|0;v[i+8>>2]=f;d=d<<1;v[i>>2]=d;e=e<<1;v[i+4>>2]=e;if(e>>>0<32768){continue}break}c=e;break Oa}d=d-(e<<16)|0;v[i>>2]=d;if(c&32768){break Oa}h=v[(c>>>0>>0?12:8)+h>>2];v[i+96>>2]=h;f=v[i+8>>2];while(1){if(!f){f=8;b=65280;g=v[i+12>>2];e=v[i+20>>2];Ra:{if((g|0)==(e|0)){break Ra}n=e;e=g+1|0;Sa:{if((n|0)!=(e|0)){j=w[g+1|0];if(w[g|0]!=255){break Sa}if(j>>>0>143){break Ra}v[i+12>>2]=e;b=j<<9;f=7;break Ra}j=255;if(w[g|0]==255){break Ra}}v[i+12>>2]=e;b=j<<8}d=b+d|0}f=f-1|0;v[i+8>>2]=f;d=d<<1;v[i>>2]=d;c=c<<1;v[i+4>>2]=c;if(c>>>0<32768){continue}break}}e=v[h>>2];c=c-e|0;v[i+4>>2]=c;Ta:{if(d>>>16>>>0>>0){v[i+4>>2]=e;h=v[(c>>>0>>0?8:12)+h>>2];v[i+96>>2]=h;f=v[i+8>>2];while(1){if(!f){f=8;b=65280;g=v[i+12>>2];c=v[i+20>>2];Ua:{if((g|0)==(c|0)){break Ua}n=c;c=g+1|0;Va:{if((n|0)!=(c|0)){j=w[g+1|0];if(w[g|0]!=255){break Va}if(j>>>0>143){break Ua}v[i+12>>2]=c;b=j<<9;f=7;break Ua}j=255;if(w[g|0]==255){break Ua}}v[i+12>>2]=c;b=j<<8}d=b+d|0}f=f-1|0;v[i+8>>2]=f;d=d<<1;v[i>>2]=d;e=e<<1;v[i+4>>2]=e;if(e>>>0<32768){continue}break}c=e;break Ta}d=d-(e<<16)|0;v[i>>2]=d;if(c&32768){break Ta}h=v[(c>>>0>>0?12:8)+h>>2];v[i+96>>2]=h;f=v[i+8>>2];while(1){if(!f){f=8;b=65280;g=v[i+12>>2];e=v[i+20>>2];Wa:{if((g|0)==(e|0)){break Wa}n=e;e=g+1|0;Xa:{if((n|0)!=(e|0)){j=w[g+1|0];if(w[g|0]!=255){break Xa}if(j>>>0>143){break Wa}v[i+12>>2]=e;b=j<<9;f=7;break Wa}j=255;if(w[g|0]==255){break Wa}}v[i+12>>2]=e;b=j<<8}d=b+d|0}f=f-1|0;v[i+8>>2]=f;d=d<<1;v[i>>2]=d;c=c<<1;v[i+4>>2]=c;if(c>>>0<32768){continue}break}}e=v[h>>2];f=c-e|0;v[i+4>>2]=f;if(d>>>16>>>0>>0){v[i+4>>2]=e;v[i+96>>2]=v[(f>>>0>>0?8:12)+h>>2];f=v[i+8>>2];while(1){if(!f){f=8;b=65280;g=v[i+12>>2];c=v[i+20>>2];Ya:{if((g|0)==(c|0)){break Ya}h=c;c=g+1|0;Za:{if((h|0)!=(c|0)){j=w[g+1|0];if(w[g|0]!=255){break Za}if(j>>>0>143){break Ya}v[i+12>>2]=c;b=j<<9;f=7;break Ya}j=255;if(w[g|0]==255){break Ya}}v[i+12>>2]=c;b=j<<8}d=b+d|0}f=f-1|0;v[i+8>>2]=f;d=d<<1;v[i>>2]=d;e=e<<1;v[i+4>>2]=e;if(e>>>0<32768){continue}break}break _}c=d-(e<<16)|0;v[i>>2]=c;if(f&32768){break _}v[i+96>>2]=v[(f>>>0>>0?12:8)+h>>2];d=v[i+8>>2];while(1){if(!d){d=8;b=65280;g=v[i+12>>2];e=v[i+20>>2];_a:{if((g|0)==(e|0)){break _a}h=e;e=g+1|0;$a:{if((h|0)!=(e|0)){j=w[g+1|0];if(w[g|0]!=255){break $a}if(j>>>0>143){break _a}v[i+12>>2]=e;b=j<<9;d=7;break _a}j=255;if(w[g|0]==255){break _a}}v[i+12>>2]=e;b=j<<8}c=b+c|0}d=d-1|0;v[i+8>>2]=d;c=c<<1;v[i>>2]=c;f=f<<1;v[i+4>>2]=f;if(f>>>0<32768){continue}break};break _;case 1:break aa;default:break _}}if(!Z){break _}s=1<<$+1>>1;G=($|0)>-1?0-s|0:-1;c=0;if(ca){p=v[F+8>>2];k=v[F+4>>2];h=0;while(1){e=h;n=e|3;h=e+4|0;b=0;while(1){r=b;b=b+1|0;g=e;while(1){ab:{if(!Aa){d=g+1|0;c=((F+B(d,4104)|0)+(b<<2)|0)+4218892|0;f=v[c>>2];break ab}d=g+1|0;c=((F+B(d,4104)|0)+(b<<2)|0)+4218892|0;l=v[c>>2];f=l&-1095;f=(g|0)==(n|0)?f:(g|0)==(Ea|0)?f:l}if((f&20480)==4096){l=((F+(g<<12)|0)+(r<<2)|0)+24588|0;v[k+152>>2]=(k+(v[(F+((f>>>2&2048|f&255)<<2)|0)+5132>>2]<<2)|0)+24;f=v[p+4>>2];bb:{if(f){j=w[p|0];break bb}v[p+4>>2]=8;g=v[p+12>>2];if((g|0)!=v[p+8>>2]){f=8;if(w[p|0]==255){v[p+4>>2]=7;f=7}j=w[g+v[p+20>>2]|0];v[p+12>>2]=g+1;t[p|0]=j;break bb}j=255;t[p|0]=255;f=8}g=f-1|0;v[p+4>>2]=g;g=(j&255)>>>g&1?s:G;P=0-g|0;f=g;g=v[l>>2];v[l>>2]=((g|0)<0?P:f)+g;v[c>>2]=v[c>>2]|8192}if(d>>>0>>0){g=d;if((d|0)<(ea|0)){continue}}break}if((b|0)!=(pa|0)){continue}break}if((h|0)<(ea|0)){continue}break}break _}while(1){ja=c|3;p=c+4|0;n=0;while(1){l=n;n=l+1|0;d=c;while(1){cb:{if(!Aa){m=d+1|0;k=((F+B(m,4104)|0)+(n<<2)|0)+4218892|0;b=v[k>>2];break cb}m=d+1|0;k=((F+B(m,4104)|0)+(n<<2)|0)+4218892|0;e=v[k>>2];b=e&-1095;b=(d|0)==(ja|0)?b:(d|0)==(Ea|0)?b:e}if((b&20480)==4096){o=v[F+4>>2];g=o+(v[(F+((b>>>2&2048|b&255)<<2)|0)+5132>>2]<<2)|0;v[o+152>>2]=g+24;h=v[g+24>>2];f=v[h>>2];b=v[o+4>>2]-f|0;v[o+4>>2]=b;ha=((F+(d<<12)|0)+(l<<2)|0)+24588|0;va=ha;P=s;r=G;e=v[o>>2];db:{if(e>>>16>>>0>=f>>>0){e=e-(f<<16)|0;v[o>>2]=e;d=v[h+4>>2];if(b&32768){break db}fa=v[h+4>>2];L=b>>>0>>0;v[g+24>>2]=v[h+(L?12:8)>>2];g=v[o+8>>2];while(1){if(!g){g=8;j=65280;y=v[o+12>>2];f=v[o+20>>2];eb:{if((y|0)==(f|0)){break eb}d=f;f=y+1|0;fb:{if((d|0)!=(f|0)){h=w[y+1|0];if(w[y|0]!=255){break fb}if(h>>>0>143){break eb}v[o+12>>2]=f;j=h<<9;g=7;break eb}h=255;if(w[y|0]==255){break eb}}v[o+12>>2]=f;j=h<<8}e=e+j|0}g=g-1|0;v[o+8>>2]=g;e=e<<1;v[o>>2]=e;b=b<<1;v[o+4>>2]=b;if(b>>>0<32768){continue}break}d=L?1-fa|0:fa;break db}v[o+4>>2]=f;fa=v[h+4>>2];L=b>>>0>>0;v[g+24>>2]=v[h+(L?8:12)>>2];g=v[o+8>>2];while(1){if(!g){g=8;j=65280;y=v[o+12>>2];b=v[o+20>>2];gb:{if((y|0)==(b|0)){break gb}d=b;b=y+1|0;hb:{if((d|0)!=(b|0)){h=w[y+1|0];if(w[y|0]!=255){break hb}if(h>>>0>143){break gb}v[o+12>>2]=b;j=h<<9;g=7;break gb}h=255;if(w[y|0]==255){break gb}}v[o+12>>2]=b;j=h<<8}e=e+j|0}g=g-1|0;v[o+8>>2]=g;e=e<<1;v[o>>2]=e;f=f<<1;v[o+4>>2]=f;if(f>>>0<32768){continue}break}d=L?fa:1-fa|0}b=d?P:r;e=0-b|0;d=b;b=v[ha>>2];v[va>>2]=((b|0)<0?e:d)+b;v[k>>2]=v[k>>2]|8192}if(m>>>0

>>0){d=m;if((ea|0)>(d|0)){continue}}break}if((n|0)!=(pa|0)){continue}break}c=p;if((ea|0)>(c|0)){continue}break}break _}while(1){ha=c|3;G=c+4|0;r=0;while(1){n=r;r=n+1|0;k=c;while(1){ib:{if(!Aa){l=k+1|0;h=((F+B(l,4104)|0)+(r<<2)|0)+4218892|0;p=v[h>>2];break ib}l=k+1|0;h=((F+B(l,4104)|0)+(r<<2)|0)+4218892|0;d=v[h>>2];b=d&-1095;p=(k|0)==(ha|0)?b:(k|0)==(Ea|0)?b:d}b=p&255;if(!(!b|p&20480)){o=v[F+4>>2];P=o;f=o+(v[(F+((b|Q)<<2)|0)+12>>2]<<2)|0;v[o+152>>2]=f+24;m=v[f+24>>2];e=v[m>>2];b=v[o+4>>2]-e|0;v[o+4>>2]=b;va=h;g=v[o>>2];jb:{if(g>>>16>>>0>=e>>>0){g=g-(e<<16)|0;v[o>>2]=g;d=v[m+4>>2];if(b&32768){break jb}L=v[m+4>>2];s=b>>>0>>0;v[f+24>>2]=v[m+(s?12:8)>>2];f=v[o+8>>2];while(1){if(!f){f=8;j=65280;y=v[o+12>>2];e=v[o+20>>2];kb:{if((y|0)==(e|0)){break kb}d=e;e=y+1|0;lb:{if((d|0)!=(e|0)){m=w[y+1|0];if(w[y|0]!=255){break lb}if(m>>>0>143){break kb}v[o+12>>2]=e;j=m<<9;f=7;break kb}m=255;if(w[y|0]==255){break kb}}v[o+12>>2]=e;j=m<<8}g=g+j|0}f=f-1|0;v[o+8>>2]=f;g=g<<1;v[o>>2]=g;b=b<<1;v[o+4>>2]=b;if(b>>>0<32768){continue}break}d=s?1-L|0:L;break jb}v[o+4>>2]=e;L=v[m+4>>2];s=b>>>0>>0;v[f+24>>2]=v[m+(s?8:12)>>2];f=v[o+8>>2];while(1){if(!f){f=8;j=65280;y=v[o+12>>2];b=v[o+20>>2];mb:{if((y|0)==(b|0)){break mb}d=b;b=y+1|0;nb:{if((d|0)!=(b|0)){m=w[y+1|0];if(w[y|0]!=255){break nb}if(m>>>0>143){break mb}v[o+12>>2]=b;j=m<<9;f=7;break mb}m=255;if(w[y|0]==255){break mb}}v[o+12>>2]=b;j=m<<8}g=g+j|0}f=f-1|0;v[o+8>>2]=f;g=g<<1;v[o>>2]=g;e=e<<1;v[o+4>>2]=e;if(e>>>0<32768){continue}break}b=e;d=s?L:1-L|0}ob:{if(!d){b=v[h>>2];break ob}L=n<<2;s=(L+(F+(k<<12)|0)|0)+24588|0;p=F+((p>>>4&255)<<2)|0;k=o+(v[p+4108>>2]<<2)|0;v[P+152>>2]=k+24;m=v[k+24>>2];e=v[m>>2];f=b-e|0;v[o+4>>2]=f;pb:{if(g>>>16>>>0>=e>>>0){b=g-(e<<16)|0;v[o>>2]=b;d=v[m+4>>2];if(f&32768){break pb}P=v[m+4>>2];d=k;k=f>>>0>>0;v[d+24>>2]=v[m+(k?12:8)>>2];g=v[o+8>>2];while(1){if(!g){g=8;j=65280;y=v[o+12>>2];e=v[o+20>>2];qb:{if((y|0)==(e|0)){break qb}d=e;e=y+1|0;rb:{if((d|0)!=(e|0)){m=w[y+1|0];if(w[y|0]!=255){break rb}if(m>>>0>143){break qb}v[o+12>>2]=e;j=m<<9;g=7;break qb}m=255;if(w[y|0]==255){break qb}}v[o+12>>2]=e;j=m<<8}b=b+j|0}g=g-1|0;v[o+8>>2]=g;b=b<<1;v[o>>2]=b;f=f<<1;v[o+4>>2]=f;if(f>>>0<32768){continue}break}d=k?1-P|0:P;break pb}v[o+4>>2]=e;P=v[m+4>>2];b=k;k=f>>>0>>0;v[b+24>>2]=v[m+(k?8:12)>>2];f=v[o+8>>2];while(1){if(!f){f=8;j=65280;y=v[o+12>>2];b=v[o+20>>2];sb:{if((y|0)==(b|0)){break sb}d=b;b=y+1|0;tb:{if((d|0)!=(b|0)){m=w[y+1|0];if(w[y|0]!=255){break tb}if(m>>>0>143){break sb}v[o+12>>2]=b;j=m<<9;f=7;break sb}m=255;if(w[y|0]==255){break sb}}v[o+12>>2]=b;j=m<<8}g=g+j|0}f=f-1|0;v[o+8>>2]=f;g=g<<1;v[o>>2]=g;e=e<<1;v[o+4>>2]=e;if(e>>>0<32768){continue}break}d=k?P:1-P|0}b=d;g=(b|0)==v[p+21516>>2];v[s>>2]=g?fa:ja;b=h-4108|0;v[b>>2]=v[b>>2]|2;b=h-4100|0;v[b>>2]=v[b>>2]|4;v[h+4100>>2]=v[h+4100>>2]|1;v[h+4108>>2]=v[h+4108>>2]|8;s=h-4104|0;p=v[s>>2];v[s>>2]=p|64;e=v[h+4104>>2];v[h+4104>>2]=e|16;k=(L+(F+B(l,4104)|0)|0)+4218892|0;f=v[k>>2];v[k>>2]=f|32;b=v[h+4>>2];v[h+4>>2]=b|128;if(!g){v[s>>2]=p|1088;v[h+4104>>2]=e|272;v[k>>2]=f|544;v[h+4>>2]=b|2176}b=v[h>>2]|4096}v[va>>2]=b|16384}if(l>>>0>>0){k=l;if((ea|0)>(k|0)){continue}}break}if((r|0)!=(pa|0)){continue}break}c=G;if((c|0)<(ea|0)){continue}break}}if(W){v[q+148>>2]=1023744;v[q+144>>2]=1023744;v[q+140>>2]=1023744;v[q+136>>2]=1023744;v[q+132>>2]=1023744;v[q+128>>2]=1023744;v[q+124>>2]=1023744;v[q+120>>2]=1023744;v[q+116>>2]=1023744;v[q+112>>2]=1023744;v[q+108>>2]=1023744;v[q+104>>2]=1023744;v[q+100>>2]=1023744;v[q+88>>2]=1023744;v[q+84>>2]=1023744;v[q+80>>2]=1023744;v[q+76>>2]=1023744;v[q+72>>2]=1023744;v[q+68>>2]=1023744;v[q+64>>2]=1023744;v[q+60>>2]=1023744;v[q+56>>2]=1023744;v[q+52>>2]=1023744;v[q+48>>2]=1023744;v[q+44>>2]=1023744;v[q+40>>2]=1023744;v[q+36>>2]=1023744;v[q+32>>2]=1023744;v[q+28>>2]=1023744;v[q+92>>2]=1023840;v[q+96>>2]=1025216;v[q+24>>2]=1023872}c=Ga+1|0;b=(c|0)==3;Ga=b?0:c;$=$-b|0;u=u+1|0;if((u|0)>2]){continue}break}}_=_+1|0;if((_|0)>=v[U+36>>2]){break W}e=v[U+16>>2];continue}}e=v[za+32>>2];j=v[U+4>>2];d=v[U>>2];l=d-v[za+28>>2]|0;b=v[za+44>>2];if(b&1){c=v[oa+20>>2]+B(I,124)|0;l=(v[c+8>>2]+l|0)-v[c>>2]|0}k=j-e|0;if(b&2){c=v[oa+20>>2]+B(I,124)|0;k=(v[c+12>>2]+k|0)-v[c+4>>2]|0}n=v[N+1872>>2];p=ga+n|0;c=v[p+808>>2];ub:{if(!c){break ub}f=v[U+12>>2];if((j|0)>=(f|0)){break ub}r=1<>2];h=0;while(1){g=0;if((b|0)>(d|0)){while(1){e=((F+(h<<12)|0)+(g<<2)|0)+24588|0;f=v[e>>2];c=f>>31;c=c^c+f;if((c|0)>=(r|0)){c=c>>>v[p+808>>2]|0;v[e>>2]=(f|0)<0?0-c|0:c;d=v[U>>2];b=v[U+8>>2]}g=g+1|0;if((g|0)<(b-d|0)){continue}break}j=v[U+4>>2];f=v[U+12>>2]}h=h+1|0;if((h|0)<(f-j|0)){continue}break}}r=v[oa+8>>2]-v[oa>>2]|0;g=v[U+12>>2];vb:{if(v[p+20>>2]!=1){if((g|0)<=(j|0)){break vb}f=v[U+8>>2];c=0;while(1){if((d|0)<(f|0)){h=B(r,c+k|0);e=v[oa+24>>2];g=0;while(1){d=e+(h+(g+l|0)<<2)|0;b=v[((F+(c<<12)|0)+(g<<2)|0)+24588>>2];if(b>>>0>=2){ta=C(z[da+56>>2]*C(b<<12));ya=+ta;X=H(D(ya+ya));wb:{if(D(X)<2147483648){b=~~X;break wb}b=-2147483648}b=(b|0)%2|0;X=H(D(ya));xb:{if(D(X)<2147483648){f=~~X;break xb}f=-2147483648}b=f+b|0;b=ta>2]=b;g=g+1|0;f=v[U+8>>2];d=v[U>>2];if((g|0)<(f-d|0)){continue}break}j=v[U+4>>2];g=v[U+12>>2]}c=c+1|0;if((c|0)<(g-j|0)){continue}break}break vb}if((g|0)<=(j|0)){break vb}c=v[U+8>>2];f=0;while(1){if((d|0)<(c|0)){e=B(r,f+k|0)+l|0;b=v[oa+24>>2];g=0;while(1){v[b+(e+g<<2)>>2]=v[((F+(f<<12)|0)+(g<<2)|0)+24588>>2]/2;g=g+1|0;c=v[U+8>>2];d=v[U>>2];if((g|0)<(c-d|0)){continue}break}j=v[U+4>>2];g=v[U+12>>2]}f=f+1|0;if((f|0)<(g-j|0)){continue}break}}S=S+1|0;if((S|0)<(B(v[Ca+20>>2],v[Ca+16>>2])|0)){continue}break}f=v[ua+16>>2];g=v[ua+20>>2]}ra=ra+1|0;if((ra|0)<(B(f,g)|0)){continue}break}d=v[ua+24>>2]}qa=qa+1|0;if((qa|0)<(d|0)){continue}break}g=v[oa+16>>2]}na=na+1|0;if((na|0)<(g|0)){continue}break}d=v[wa+16>>2]}la=la+1|0;if((la|0)<(d|0)){continue}break}}if(A){c=v[A+4>>2];if(c){$a(c)}c=v[A+8>>2];if(c){$a(c)}$a(A)}aa=B(sa,840)+O|0;o=aa;if(v[o+16>>2]>=1){b=v[o+20>>2];e=0;while(1){y=e<<5;b=y+b|0;c=v[v[J+12>>2]+12>>2];if(c){v[(v[v[J+8>>2]+24>>2]+B(e,48)|0)+36>>2]=v[b+16>>2]+(c^-1)}fa=B(e,48);c=v[b+16>>2]+(v[(fa+v[v[J+8>>2]+24>>2]|0)+36>>2]^-1)|0;yb:{if(v[(v[v[J+20>>2]+1872>>2]+B(e,1076)|0)+20>>2]==1){ja=v[b+16>>2];Q=ja-2|0;if((c|0)>(Q|0)){break yb}s=c;G=b;I=v[b+8>>2]-v[b>>2]|0;ga=v[b+24>>2];while(1){d=v[G+20>>2]+B(ja+(Q^-1)|0,124)|0;c=d-124|0;p=v[c>>2];k=v[c+8>>2];ka=v[d+12>>2];Y=v[c+4>>2];M=v[c+12>>2];O=v[d+4>>2];b=v[d+8>>2];d=v[d>>2];da=b-d|0;P=da<<2;c=gb(P);if(!c){break yb}L=(d|0)%2|0;K=eb(c,0,P);R=ka-O|0;ha=(R|0)<1;if(!ha){W=k-p|0;j=da-W|0;c=L<<2;n=c+K|0;l=(K-c|0)+4|0;c=b+p-(d+k)|0;r=c&-8;h=c&7;m=c-1|0;f=W&-8;g=W&7;A=k+(p^-1)|0;N=0;while(1){p=B(I,N)<<2;k=p+ga|0;zb:{if((W|0)<1){break zb}d=n;b=k;c=f;if(A>>>0>6){while(1){v[d>>2]=v[b>>2];v[d+8>>2]=v[b+4>>2];v[d+16>>2]=v[b+8>>2];v[d+24>>2]=v[b+12>>2];v[d+32>>2]=v[b+16>>2];v[d+40>>2]=v[b+20>>2];v[d+48>>2]=v[b+24>>2];v[d+56>>2]=v[b+28>>2];b=b+32|0;d=d- -64|0;c=c-8|0;if(c){continue}break}}c=g;if(!c){break zb}while(1){v[d>>2]=v[b>>2];b=b+4|0;d=d+8|0;c=c-1|0;if(c){continue}break}}Ab:{if((j|0)<1){break Ab}d=k+(W<<2)|0;b=l;c=r;if(m>>>0>=7){while(1){v[b>>2]=v[d>>2];v[b+8>>2]=v[d+4>>2];v[b+16>>2]=v[d+8>>2];v[b+24>>2]=v[d+12>>2];v[b+32>>2]=v[d+16>>2];v[b+40>>2]=v[d+20>>2];v[b+48>>2]=v[d+24>>2];v[b+56>>2]=v[d+28>>2];d=d+32|0;b=b- -64|0;c=c-8|0;if(c){continue}break}}c=h;if(!c){break Ab}while(1){v[b>>2]=v[d>>2];d=d+4|0;b=b+8|0;c=c-1|0;if(c){continue}break}}e5(K,j,W,L);if((da|0)>=1){cb(p+ga|0,K,P)}N=N+1|0;if((R|0)!=(N|0)){continue}break}}$a(K);b=R<<2;c=gb(b);if(!c){break yb}K=(O|0)%2|0;u=eb(c,0,b);if((da|0)>=1){T=M-Y|0;W=R-T|0;P=B(I,T);c=K<<2;p=c+u|0;k=(u-c|0)+4|0;c=Y+ka-(M+O)|0;n=c&-4;l=c&3;L=c-1|0;r=R&-4;h=R&3;f=T&-4;g=T&3;j=ka+(O^-1)|0;m=M+(Y^-1)|0;$=0;while(1){A=ga+($<<2)|0;Bb:{if((T|0)<1){break Bb}d=p;b=A;c=f;if(m>>>0>2){while(1){v[d>>2]=v[b>>2];M=I<<2;b=M+b|0;v[d+8>>2]=v[b>>2];b=b+M|0;v[d+16>>2]=v[b>>2];b=b+M|0;v[d+24>>2]=v[b>>2];b=b+M|0;d=d+32|0;c=c-4|0;if(c){continue}break}}c=g;if(!c){break Bb}while(1){v[d>>2]=v[b>>2];d=d+8|0;b=(I<<2)+b|0;c=c-1|0;if(c){continue}break}}Cb:{if((W|0)<1){break Cb}b=A+(P<<2)|0;d=k;c=n;if(L>>>0>=3){while(1){v[d>>2]=v[b>>2];M=I<<2;b=M+b|0;v[d+8>>2]=v[b>>2];b=b+M|0;v[d+16>>2]=v[b>>2];b=b+M|0;v[d+24>>2]=v[b>>2];b=b+M|0;d=d+32|0;c=c-4|0;if(c){continue}break}}c=l;if(!c){break Cb}while(1){v[d>>2]=v[b>>2];d=d+8|0;b=(I<<2)+b|0;c=c-1|0;if(c){continue}break}}e5(u,W,T,K);Db:{if(ha){break Db}d=0;b=r;if(j>>>0>2){while(1){v[A+(B(d,I)<<2)>>2]=v[u+(d<<2)>>2];c=d|1;v[A+(B(c,I)<<2)>>2]=v[u+(c<<2)>>2];c=d|2;v[A+(B(c,I)<<2)>>2]=v[u+(c<<2)>>2];c=d|3;v[A+(B(c,I)<<2)>>2]=v[u+(c<<2)>>2];d=d+4|0;b=b-4|0;if(b){continue}break}}b=h;if(!b){break Db}while(1){v[A+(B(d,I)<<2)>>2]=v[u+(d<<2)>>2];d=d+1|0;b=b-1|0;if(b){continue}break}}$=$+1|0;if((da|0)!=($|0)){continue}break}}$a(u);c=(s|0)<(Q|0);Q=Q-1|0;if(c){continue}break}break yb}ja=v[b+16>>2];Q=ja-2|0;Eb:{if((c|0)>(Q|0)){break Eb}s=c;G=b;I=v[b+8>>2]-v[b>>2]|0;M=v[b+24>>2];while(1){b=v[G+20>>2]+B(ja+(Q^-1)|0,124)|0;c=b-124|0;K=v[c>>2];m=v[c+8>>2];ga=v[b+12>>2];ka=v[c+4>>2];Y=v[c+12>>2];da=v[b+4>>2];d=v[b+8>>2];A=v[b>>2];R=d-A|0;b=R<<2;c=gb(b);if(!c){break Eb}W=(A|0)%2|0;u=eb(c,0,b);T=ga-da|0;ha=(T|0)<1;if(!ha){O=m-K|0;P=R-O|0;c=W<<2;p=c+u|0;k=(u-c|0)+4|0;c=d+K-(m+A)|0;n=c&-8;l=c&7;L=c-1|0;r=R&-4;h=R&3;f=O&-8;g=O&7;j=d+(A^-1)|0;m=m+(K^-1)|0;N=0;while(1){A=M+(B(I,N)<<2)|0;Fb:{if((O|0)<1){break Fb}d=p;b=A;c=f;if(m>>>0>6){while(1){v[d>>2]=v[b>>2];v[d+8>>2]=v[b+4>>2];v[d+16>>2]=v[b+8>>2];v[d+24>>2]=v[b+12>>2];v[d+32>>2]=v[b+16>>2];v[d+40>>2]=v[b+20>>2];v[d+48>>2]=v[b+24>>2];v[d+56>>2]=v[b+28>>2];b=b+32|0;d=d- -64|0;c=c-8|0;if(c){continue}break}}c=g;if(!c){break Fb}while(1){v[d>>2]=v[b>>2];b=b+4|0;d=d+8|0;c=c-1|0;if(c){continue}break}}Gb:{if((P|0)<1){break Gb}d=A+(O<<2)|0;b=k;c=n;if(L>>>0>=7){while(1){v[b>>2]=v[d>>2];v[b+8>>2]=v[d+4>>2];v[b+16>>2]=v[d+8>>2];v[b+24>>2]=v[d+12>>2];v[b+32>>2]=v[d+16>>2];v[b+40>>2]=v[d+20>>2];v[b+48>>2]=v[d+24>>2];v[b+56>>2]=v[d+28>>2];d=d+32|0;b=b- -64|0;c=c-8|0;if(c){continue}break}}c=l;if(!c){break Gb}while(1){v[b>>2]=v[d>>2];d=d+4|0;b=b+8|0;c=c-1|0;if(c){continue}break}}d5(u,P,O,W);Hb:{if((R|0)<1){break Hb}d=0;c=r;if(j>>>0>2){while(1){K=d<<2;v[K+A>>2]=v[u+K>>2];b=K|4;v[b+A>>2]=v[b+u>>2];b=K|8;v[b+A>>2]=v[b+u>>2];b=K|12;v[b+A>>2]=v[b+u>>2];d=d+4|0;c=c-4|0;if(c){continue}break}}b=h;if(!b){break Hb}while(1){c=d<<2;v[c+A>>2]=v[c+u>>2];d=d+1|0;b=b-1|0;if(b){continue}break}}N=N+1|0;if((T|0)!=(N|0)){continue}break}}$a(u);b=T<<2;c=gb(b);if(!c){break Eb}K=(da|0)%2|0;u=eb(c,0,b);if((R|0)>=1){O=Y-ka|0;W=T-O|0;P=B(I,O);c=K<<2;p=c+u|0;k=(u-c|0)+4|0;c=ga+ka-(Y+da)|0;n=c&-4;l=c&3;L=c-1|0;r=T&-4;h=T&3;f=O&-4;g=O&3;j=ga+(da^-1)|0;m=Y+(ka^-1)|0;N=0;while(1){A=M+(N<<2)|0;Ib:{if((O|0)<1){break Ib}d=p;b=A;c=f;if(m>>>0>2){while(1){v[d>>2]=v[b>>2];Y=I<<2;b=Y+b|0;v[d+8>>2]=v[b>>2];b=b+Y|0;v[d+16>>2]=v[b>>2];b=b+Y|0;v[d+24>>2]=v[b>>2];b=b+Y|0;d=d+32|0;c=c-4|0;if(c){continue}break}}c=g;if(!c){break Ib}while(1){v[d>>2]=v[b>>2];d=d+8|0;b=(I<<2)+b|0;c=c-1|0;if(c){continue}break}}Jb:{if((W|0)<1){break Jb}b=A+(P<<2)|0;d=k;c=n;if(L>>>0>=3){while(1){v[d>>2]=v[b>>2];Y=I<<2;b=Y+b|0;v[d+8>>2]=v[b>>2];b=b+Y|0;v[d+16>>2]=v[b>>2];b=b+Y|0;v[d+24>>2]=v[b>>2];b=b+Y|0;d=d+32|0;c=c-4|0;if(c){continue}break}}c=l;if(!c){break Jb}while(1){v[d>>2]=v[b>>2];d=d+8|0;b=(I<<2)+b|0;c=c-1|0;if(c){continue}break}}d5(u,W,O,K);Kb:{if(ha){break Kb}d=0;b=r;if(j>>>0>2){while(1){v[A+(B(d,I)<<2)>>2]=v[u+(d<<2)>>2];c=d|1;v[A+(B(c,I)<<2)>>2]=v[u+(c<<2)>>2];c=d|2;v[A+(B(c,I)<<2)>>2]=v[u+(c<<2)>>2];c=d|3;v[A+(B(c,I)<<2)>>2]=v[u+(c<<2)>>2];d=d+4|0;b=b-4|0;if(b){continue}break}}b=h;if(!b){break Kb}while(1){v[A+(B(d,I)<<2)>>2]=v[u+(d<<2)>>2];d=d+1|0;b=b-1|0;if(b){continue}break}}N=N+1|0;if((R|0)!=(N|0)){continue}break}}$a(u);c=(s|0)<(Q|0);Q=Q-1|0;if(c){continue}break}}}b=v[o+20>>2];d=v[(y+b|0)+16>>2];if((d|0)>=1){c=fa+v[v[J+8>>2]+24>>2]|0;v[c+40>>2]=d+(v[c+36>>2]^-1)}e=e+1|0;if((e|0)>2]){continue}break}}y=v[J+20>>2];Lb:{if(!v[y+16>>2]){break Lb}c=v[o+20>>2];L=B(v[c+12>>2]-v[c+4>>2]|0,v[c+8>>2]-v[c>>2]|0);j=v[c+88>>2];m=v[c+56>>2];A=v[c+24>>2];if(v[v[y+1872>>2]+20>>2]==1){if((L|0)<1){break Lb}e=0;while(1){c=e<<2;f=c+A|0;g=c+j|0;d=v[g>>2];b=c+m|0;c=v[b>>2];h=v[f>>2]-(d+c>>2)|0;v[f>>2]=d+h;v[b>>2]=h;v[g>>2]=c+h;e=e+1|0;if((L|0)!=(e|0)){continue}break}break Lb}if((L|0)<1){break Lb}e=0;while(1){b=e<<2;l=b+m|0;c=v[l>>2];s=c;G=c>>31;c=b+A|0;h=c;p=v[c>>2];f=p;r=b+j|0;b=v[r>>2];c=b>>31;k=b;d=x3a(b,c,11485,0);n=Pa;b=n;b=(((b&4095)<<20|d>>>12)&1)+((b&8191)<<19|d>>>13)|0;v[h>>2]=b+f;f=x3a(s,G,2819,0);h=Pa;d=h;g=x3a(k,c,5850,0);n=Pa;b=n;c=f;d=(((d&4095)<<20|c>>>12)&1)+((d&8191)<<19|c>>>13)|0;c=g;b=(((b&4095)<<20|c>>>12)&1)+((b&8191)<<19|c>>>13)|0;v[l>>2]=p-(b+d|0);d=x3a(s,G,14516,0);g=Pa;b=g;b=(((b&4095)<<20|d>>>12)&1)+((b&8191)<<19|d>>>13)|0;v[r>>2]=b+p;e=e+1|0;if((L|0)!=(e|0)){continue}break}}c=v[aa+16>>2];Mb:{if((c|0)<1){break Mb}ja=v[o+20>>2];ha=v[v[J+8>>2]+24>>2];g=0;while(1){W=ja+(g<<5)|0;K=ha+B(g,48)|0;M=v[W+20>>2]+B(v[K+36>>2],124)|0;h=v[M+4>>2];e=v[M+12>>2];Nb:{if((h|0)>=(e|0)){break Nb}b=v[M>>2];n=v[M+8>>2];if((b|0)>=(n|0)){break Nb}f=v[K+24>>2];d=f-1|0;c=-1<>2];r=(f?c:l)^-1;P=f?0:1<>2]-v[W>>2]|0;d=v[K+40>>2];c=-1<>2]>>d;m=c+v[K+16>>2]>>d;A=v[K+8>>2];while(1){if((b|0)<(n|0)){s=B(A,h-j|0)-m|0;G=v[y+1872>>2]+B(g,1076)|0;p=v[K+44>>2];k=v[W+24>>2];e=b;while(1){d=v[k+((e-b|0)+B(L,h-v[M+4>>2]|0)<<2)>>2];n=p+(e+s<<2)|0;b=f;c=r;if(v[G+20>>2]!=1){Ha=C(+(d|0)*.0001220703125);ta=C(H(C(D(C(Ha+Ha)))));Ob:{if(C(D(ta))>2]=(c|0)<(f|0)?b:(c|0)>(r|0)?l:c;e=e+1|0;n=v[M+8>>2];if((e|0)<(n|0)){b=v[M>>2];continue}break}e=v[M+12>>2]}h=h+1|0;if((h|0)<(e|0)){b=v[M>>2];continue}break}c=v[aa+16>>2]}g=g+1|0;if((g|0)<(c|0)){continue}break}if((c|0)<1){break Mb}h=B(sa,840);b=v[(h+v[v[J+4>>2]+8>>2]|0)+20>>2];e=0;while(1){f=e<<5;g=f+b|0;d=v[g+24>>2];if(d){$a(d);v[g+24>>2]=0;b=v[(h+v[v[J+4>>2]+8>>2]|0)+20>>2];c=v[aa+16>>2]}v[(b+f|0)+24>>2]=0;e=e+1|0;if((e|0)<(c|0)){continue}break}}c=v[a+28>>2];d=c+V|0;b=v[d>>2];if(b){$a(b);v[d>>2]=0;c=v[a+28>>2]}v[c+V>>2]=0;Ia=Ia+1|0;h=v[a+44>>2];if((Ia|0)>2]){continue}break}}br(J)}if(!J){break x}}c=v[J+4>>2];if(c){$a(c)}$a(J)}v[a+4>>2]=32}function cra(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,p=0,q=0,r=0,s=0,z=0,A=0,C=0,E=0,F=0,G=0,I=0,J=0,K=0;k=Ma-16|0;Ma=k;a:{b:{c:{d:{if(!a){break d}if(!(w[a+204|0]&64)){v[a+216>>2]=0;p=Ma-16|0;Ma=p;f=v[a+464>>2];d=a;g=d;e:{f:{g:{e=v[d+460>>2];if(e){if(!f){break g}if(I=Xy(p+12|0,e,f),J=0,K=v[p+12>>2]-95e3>>>0<=1e4,K?I:J){break f}f=v[a+208>>2]|8192;break e}if(f){I=a,J=av(f),v[I+460>>2]=J;break f}v[a+460>>2]=1e5;v[a+464>>2]=1e5;break f}I=a,J=av(e),v[I+464>>2]=J}f=v[a+208>>2]&-8193}v[g+208>>2]=f;if((f&262272)==262144){u[a+394>>1]=0;f=f&-41943297;v[a+208>>2]=f;v[a+204>>2]=v[a+204>>2]&-8193}h:{if(f&256){if(w[a+401|0]&2){break h}v[a+200>>2]=v[a+200>>2]|2048;break h}if((f&16512)!=16512){break h}d=x[a+426>>1];if((d|0)!=x[a+428>>1]|(d|0)!=x[a+430>>1]){break h}u[a+432>>1]=d;v[a+200>>2]=v[a+200>>2]|2048}e=x[a+394>>1];g=w[a+401|0];i:{if((g|0)==3){j:{k:{if(!e){v[a+204>>2]=v[a+204>>2]&-8193;break k}g=v[a+504>>2];d=0;while(1){j=w[d+g|0];if((j|0)!=255){if(j){d=f;break j}i=1}d=d+1|0;if((e|0)!=(d|0)){continue}break}d=f&-8388609;v[a+208>>2]=d;v[a+204>>2]=v[a+204>>2]&-8193;if(i){break j}}d=f&-8388993;v[a+208>>2]=d}if((d&4352)!=4352){break i}f=v[a+388>>2]+B(w[a+424|0],3)|0;u[a+426>>1]=w[f|0];u[a+428>>1]=w[f+1|0];u[a+430>>1]=w[f+2|0];if(!e|(d&34078720)!=524288){break i}g=e&3;d=0;if(e-1>>>0>=3){f=e&65532;while(1){e=v[a+504>>2]+d|0;t[e|0]=w[e|0]^-1;e=v[a+504>>2]+(d|1)|0;t[e|0]=w[e|0]^-1;e=v[a+504>>2]+(d|2)|0;t[e|0]=w[e|0]^-1;e=v[a+504>>2]+(d|3)|0;t[e|0]=w[e|0]^-1;d=d+4|0;f=f-4|0;if(f){continue}break}}if(g){while(1){f=v[a+504>>2]+d|0;t[f|0]=w[f|0]^-1;d=d+1|0;g=g-1|0;if(g){continue}break}}d=v[a+208>>2];break i}l:{if(g&4){d=f;break l}if(e){d=f;break l}d=f&-385;v[a+208>>2]=d}if(g&2|(d&4352)!=4352){break i}f=x[a+516>>1];g=x[a+432>>1];m:{n:{switch(w[a+402|0]-1|0){case 0:f=B(f,255);g=B(g,255);break m;case 1:f=B(f,85);g=B(g,85);break m;case 3:break n;default:break m}}f=B(f,17);g=B(g,17)}u[a+428>>1]=g;u[a+430>>1]=g;u[a+426>>1]=g;if(d&33554432){break i}u[a+512>>1]=f;u[a+514>>1]=f;u[a+510>>1]=f}f=x[a+428>>1]|x[a+430>>1]<<16;e=x[a+424>>1]|x[a+426>>1]<<16;u[a+434>>1]=e;u[a+436>>1]=e>>>16;u[a+438>>1]=f;u[a+440>>1]=f>>>16;u[a+442>>1]=x[a+432>>1];F=a;o:{p:{q:{if(d&8192){break q}if(d&6291456){if(v[a+460>>2]-95e3>>>0>1e4|v[a+464>>2]-95e3>>>0>1e4){break q}d=v[a+208>>2]}r:{if(!(d&128)){break r}if(v[a+460>>2]-95e3>>>0>1e4|v[a+464>>2]-95e3>>>0>1e4){break q}if(w[a+418|0]!=3){break r}if(v[a+420>>2]-95e3>>>0>1e4){break q}}g=v[a+208>>2];if(g&8388608){if(v[a+464>>2]-95e3>>>0>1e4){break q}g=v[a+208>>2]}if(!(g&128)|w[a+401|0]!=3){break o}n=x[a+394>>1];if(n){g=w[a+430|0];h=w[a+428|0];i=w[a+426|0];l=v[a+388>>2];d=0;while(1){m=v[a+504>>2]+d|0;e=w[m|0];s:{if((e|0)==255){break s}if(!e){f=l+B(d,3)|0;t[f+2|0]=g;t[f+1|0]=h;t[f|0]=i;break s}f=l+B(d,3)|0;e=(B(i,e^255)+B(e,w[f|0])|0)+128|0;t[f|0]=e+((e&65280)>>>8|0)>>>8;e=w[m|0];e=(B(h,e^255)+B(e,w[f+1|0])|0)+128|0;t[f+1|0]=((e&65280)>>>8|0)+e>>>8;j=f;e=w[m|0];f=(B(g,e^255)+B(e,w[f+2|0])|0)+128|0;t[j+2|0]=((f&65280)>>>8|0)+f>>>8}d=d+1|0;if((n|0)!=(d|0)){continue}break}g=v[a+208>>2]}g=g&-129;break p}d=w[a+402|0];if(v[a+472>>2]?1:v[a+468>>2]){Db(a,51787);UT(a)}t:{if(d>>>0<=8){d=v[a+464>>2];u:{if((d|0)<1){d=1e5;break u}f=v[a+460>>2];v:{if(!f){break v}o=H(1e15/+(f|0)/+(d|0)+.5);f=o<=2147483647;if(D(o)<2147483648){d=~~o}else{d=-2147483648}if(!f){break v}if(o>=-2147483648){break u}}d=0}e=fg(a,256);v[a+468>>2]=e;w:{if(d-95e3>>>0<10001){d=0;while(1){t[d+e|0]=d;f=d|1;t[f+e|0]=f;f=d|2;t[f+e|0]=f;f=d|3;t[f+e|0]=f;f=d|4;t[f+e|0]=f;f=d|5;t[f+e|0]=f;f=d|6;t[f+e|0]=f;f=d|7;t[f+e|0]=f;d=d+8|0;if((d|0)!=256){continue}break}break w}A=+(d|0)*1e-5;d=0;while(1){g=d+e|0;x:{if(d-1>>>0<=253){o=H(pd(+(d>>>0)/255,A)*255+.5);if(o<4294967296&o>=0){f=~~o>>>0;break x}f=0;break x}f=d}t[g|0]=f;d=d+1|0;if((d|0)!=256){continue}break}}if(!(v[a+208>>2]&6291584)){break t}d=v[a+460>>2];y:{z:{if(!d){break z}o=H(1e10/+(d|0)+.5);f=o<=2147483647;if(D(o)<2147483648){d=~~o}else{d=-2147483648}if(!f){break z}if(o>=-2147483648){break y}}d=0}e=fg(a,256);v[a+480>>2]=e;A:{if(d-95e3>>>0<10001){d=0;while(1){t[d+e|0]=d;f=d|1;t[f+e|0]=f;f=d|2;t[f+e|0]=f;f=d|3;t[f+e|0]=f;f=d|4;t[f+e|0]=f;f=d|5;t[f+e|0]=f;f=d|6;t[f+e|0]=f;f=d|7;t[f+e|0]=f;d=d+8|0;if((d|0)!=256){continue}break}break A}A=+(d|0)*1e-5;d=0;while(1){g=d+e|0;B:{if(d-1>>>0<=253){o=H(pd(+(d>>>0)/255,A)*255+.5);if(o<4294967296&o>=0){f=~~o>>>0;break B}f=0;break B}f=d}t[g|0]=f;d=d+1|0;if((d|0)!=256){continue}break}}d=v[a+464>>2];C:{if((d|0)>=1){o=H(1e10/+(d|0)+.5);f=o>=-2147483648;if(D(o)<2147483648){d=~~o}else{d=-2147483648}d=o<=2147483647?f?d:0:0;break C}d=v[a+460>>2]}e=fg(a,256);v[a+476>>2]=e;if(d-95e3>>>0<10001){d=0;while(1){t[d+e|0]=d;f=d|1;t[f+e|0]=f;f=d|2;t[f+e|0]=f;f=d|3;t[f+e|0]=f;f=d|4;t[f+e|0]=f;f=d|5;t[f+e|0]=f;f=d|6;t[f+e|0]=f;f=d|7;t[f+e|0]=f;d=d+8|0;if((d|0)!=256){continue}break}break t}A=+(d|0)*1e-5;d=0;while(1){g=d+e|0;D:{if(d-1>>>0<=253){o=H(pd(+(d>>>0)/255,A)*255+.5);if(o<4294967296&o>=0){f=~~o>>>0;break D}f=0;break D}f=d}t[g|0]=f;d=d+1|0;if((d|0)!=256){continue}break}break t}d=a;j=d;E:{if(w[d+401|0]&2){f=w[a+494|0];e=w[a+493|0];g=w[a+492|0];e=e>>>0>g>>>0?e:g;f=e>>>0>>0?f:e;break E}f=w[a+495|0]}d=(f-1&255)>>>0<15?16-f|0:0;e=v[a+208>>2]&67109888;d=e?(d&255)>>>0>5?d:5:d;f=((d&255)>>>0<8?d:8)&255;v[j+456>>2]=f;d=v[a+464>>2];F:{G:{if(e){if((d|0)<1){o=1}else{o=H(+v[a+460>>2]*1e-5*+(d|0)+.5);e=o>=-2147483648;if(D(o)<2147483648){d=~~o}else{d=-2147483648}o=o<=2147483647?e?+(d|0)*1e-5:0:0}i=8-f|0;q=1<>2]=g;e=16-f|0;d=0;while(1){I=g+(d<<2)|0,J=fg(a,512),v[I>>2]=J;d=d+1|0;if((q|0)!=(d|0)){continue}break}m=255>>>f|0;r=-1<>>0)/65535,o)*65535+.5);H:{if(A<4294967296&A>=0){e=~~A>>>0;break H}e=0}e=(B(e,r)+32768>>>0)/65535|0;if(e>>>0>=d>>>0){C=e-d|0;l=C+1&3;if(l){while(1){u[v[g+((d&m)<<2)>>2]+(d>>>i<<1)>>1]=n;d=d+1|0;l=l-1|0;if(l){continue}break}}if(C>>>0>=3){while(1){u[v[g+((d&m)<<2)>>2]+(d>>>i<<1)>>1]=n;l=d+1|0;u[v[g+((l&m)<<2)>>2]+(l>>>i<<1)>>1]=n;l=d+2|0;u[v[g+((l&m)<<2)>>2]+(l>>>i<<1)>>1]=n;l=d+3|0;u[v[g+((l&m)<<2)>>2]+(l>>>i<<1)>>1]=n;d=d+4|0;if((e|0)!=(l|0)){continue}break}}d=e+1|0}h=h+1|0;if((h|0)!=255){continue}break}break G}e=a+472|0;I:{if((d|0)<1){d=1e5;break I}g=v[a+460>>2];J:{if(!g){break J}o=H(1e15/+(g|0)/+(d|0)+.5);g=o<=2147483647;if(D(o)<2147483648){d=~~o}else{d=-2147483648}if(!g){break J}if(o>=-2147483648){break I}}d=0}PF(a,e,f,d);break F}e=q<<8;if(e>>>0<=d>>>0){break F}h=e+(d^-1)|0;l=0-d&3;if(l){while(1){u[v[g+((d&m)<<2)>>2]+(d>>>i<<1)>>1]=65535;d=d+1|0;l=l-1|0;if(l){continue}break}}if(h>>>0<3){break F}while(1){u[v[g+((d&m)<<2)>>2]+(d>>>i<<1)>>1]=65535;h=d+1|0;u[v[g+((h&m)<<2)>>2]+(h>>>i<<1)>>1]=65535;h=d+2|0;u[v[g+((h&m)<<2)>>2]+(h>>>i<<1)>>1]=65535;h=d+3|0;u[v[g+((h&m)<<2)>>2]+(h>>>i<<1)>>1]=65535;d=d+4|0;if((e|0)!=(d|0)){continue}break}}if(!(v[a+208>>2]&6291584)){break t}e=a+488|0;d=v[a+460>>2];K:{L:{if(!d){break L}o=H(1e10/+(d|0)+.5);g=o<=2147483647;if(D(o)<2147483648){d=~~o}else{d=-2147483648}if(!g){break L}if(o>=-2147483648){break K}}d=0}PF(a,e,f,d);d=a;g=d;j=d+484|0;e=v[d+464>>2];M:{if((e|0)>=1){o=H(1e10/+(e|0)+.5);h=o>=-2147483648;if(D(o)<2147483648){d=~~o}else{d=-2147483648}d=o<=2147483647?h?d:0:0;break M}d=v[a+460>>2]}PF(g,j,f,d)}g=v[a+208>>2];if(g&128){if(g&6291456){Db(a,22381)}if(w[a+401|0]==3){m=x[a+392>>1];l=v[a+388>>2];g=1e5;d=1e5;N:{O:{P:{switch(w[a+418|0]-1|0){case 1:e=v[a+480>>2];h=x[a+430>>1];d=w[e+h|0];i=x[a+428>>1];f=w[i+e|0];n=x[a+426>>1];g=w[n+e|0];e=v[a+468>>2];h=w[e+h|0];i=w[e+i|0];e=w[e+n|0];break N;case 0:d=v[a+464>>2];break O;case 2:break P;default:break O}}d=av(v[a+420>>2]);g=RF(v[a+420>>2],v[a+464>>2])}e=x[a+426>>1];Q:{if(g-95e3>>>0>1e4){e=os(e,g);i=os(x[a+428>>1],g);h=os(x[a+430>>1],g);break Q}i=w[a+428|0];h=w[a+430|0]}g=x[a+426>>1];if(d-95e3>>>0>1e4){g=os(g,d);f=os(x[a+428>>1],d);d=os(x[a+430>>1],d);break N}d=w[a+430|0];f=w[a+428|0]}if(m){r=d&255;C=f&255;G=g&255;d=0;while(1){R:{S:{if(x[a+394>>1]<=d>>>0){break S}n=v[a+504>>2]+d|0;g=w[n|0];if((g|0)==255){break S}if(!g){f=l+B(d,3)|0;t[f+2|0]=h;t[f+1|0]=i;t[f|0]=e;break R}q=v[a+480>>2];f=l+B(d,3)|0;g=(B(G,g^255)+B(g,w[q+w[f|0]|0])|0)+128|0;j=g+(g>>>8&255)>>>8&255;g=v[a+476>>2];t[f|0]=w[j+g|0];j=w[n|0];j=(B(C,j^255)+B(j,w[q+w[f+1|0]|0])|0)+128|0;t[f+1|0]=w[g+((j>>>8&255)+j>>>8&255)|0];j=f;n=w[n|0];f=(B(r,n^255)+B(n,w[q+w[f+2|0]|0])|0)+128|0;t[j+2|0]=w[g+((f>>>8&255)+f>>>8&255)|0];break R}f=l+B(d,3)|0;g=v[a+468>>2];t[f|0]=w[g+w[f|0]|0];t[f+1|0]=w[g+w[f+1|0]|0];t[f+2|0]=w[g+w[f+2|0]|0]}d=d+1|0;if((m|0)!=(d|0)){continue}break}}g=v[a+208>>2]&-8321;break p}T:{U:{switch(w[a+418|0]-1|0){case 1:d=av(v[a+460>>2]);f=RF(v[a+460>>2],v[a+464>>2]);break T;case 2:d=av(v[a+420>>2]);f=RF(v[a+420>>2],v[a+464>>2]);break T;default:dc(a,25086);L();case 0:break U}}d=v[a+464>>2];f=1e5}g=f-95e3>>>0>1e4;h=d-95e3>>>0>1e4;if(h){I=a,J=qo(a,x[a+432>>1],d),u[I+442>>1]=J}if(g){I=a,J=qo(a,x[a+432>>1],f),u[I+432>>1]=J}e=x[a+426>>1];V:{if(!(!((e|0)!=x[a+428>>1]|(e|0)!=x[a+430>>1])&(e|0)==x[a+432>>1])){if(h){I=a,J=qo(a,e,d),u[I+436>>1]=J;I=a,J=qo(a,x[a+428>>1],d),u[I+438>>1]=J;I=a,J=qo(a,x[a+430>>1],d),u[I+440>>1]=J}if(!g){break V}I=a,J=qo(a,x[a+426>>1],f),u[I+426>>1]=J;I=a,J=qo(a,x[a+428>>1],f),u[I+428>>1]=J;I=a,J=qo(a,x[a+430>>1],f),u[I+430>>1]=J;break V}u[a+430>>1]=e;u[a+428>>1]=e;u[a+426>>1]=e;d=x[a+442>>1];u[a+440>>1]=d;u[a+438>>1]=d;u[a+436>>1]=d}t[a+418|0]=1;g=v[a+208>>2];break o}if(w[a+401|0]!=3|(g&6291456?g&4096:0)){break o}h=x[a+392>>1];if(h){i=v[a+388>>2];e=v[a+468>>2];f=0;while(1){d=i+B(f,3)|0;t[d|0]=w[e+w[d|0]|0];t[d+1|0]=w[e+w[d+1|0]|0];t[d+2|0]=w[e+w[d+2|0]|0];f=f+1|0;if((h|0)!=(f|0)){continue}break}}g=g&-8193}v[F+208>>2]=g}W:{if((g&4104)!=8|w[a+401|0]!=3){break W}v[a+208>>2]=g&-9;e=x[a+392>>1];d=w[a+492|0];X:{Y:{if((d-1&255)>>>0>6){break Y}if(!e){break X}h=8-d|0;g=e&3;j=v[a+388>>2];d=0;if(e-1>>>0>=3){f=e&65532;while(1){i=j+B(d,3)|0;t[i|0]=w[i|0]>>>h;i=j+B(d|1,3)|0;t[i|0]=w[i|0]>>>h;i=j+B(d|2,3)|0;t[i|0]=w[i|0]>>>h;i=j+B(d|3,3)|0;t[i|0]=w[i|0]>>>h;d=d+4|0;f=f-4|0;if(f){continue}break}}if(!g){break Y}while(1){f=j+B(d,3)|0;t[f|0]=w[f|0]>>>h;d=d+1|0;g=g-1|0;if(g){continue}break}}d=w[a+493|0];if(!e|(d-1&255)>>>0>6){break X}h=8-d|0;g=e&3;j=v[a+388>>2];d=0;if(e-1>>>0>=3){f=e&65532;while(1){i=j+B(d,3)|0;t[i+1|0]=w[i+1|0]>>>h;i=j+B(d|1,3)|0;t[i+1|0]=w[i+1|0]>>>h;i=j+B(d|2,3)|0;t[i+1|0]=w[i+1|0]>>>h;i=j+B(d|3,3)|0;t[i+1|0]=w[i+1|0]>>>h;d=d+4|0;f=f-4|0;if(f){continue}break}}if(!g){break X}while(1){f=j+B(d,3)|0;t[f+1|0]=w[f+1|0]>>>h;d=d+1|0;g=g-1|0;if(g){continue}break}}d=w[a+494|0];if(!e|(d-1&255)>>>0>6){break W}h=8-d|0;f=e&3;j=v[a+388>>2];d=0;if(e-1>>>0>=3){g=e&65532;while(1){e=j+B(d,3)|0;t[e+2|0]=w[e+2|0]>>>h;e=j+B(d|1,3)|0;t[e+2|0]=w[e+2|0]>>>h;e=j+B(d|2,3)|0;t[e+2|0]=w[e+2|0]>>>h;e=j+B(d|3,3)|0;t[e+2|0]=w[e+2|0]>>>h;d=d+4|0;g=g-4|0;if(g){continue}break}}if(!f){break W}while(1){e=j+B(d,3)|0;t[e+2|0]=w[e+2|0]>>>h;d=d+1|0;f=f-1|0;if(f){continue}break}}Ma=p+16|0;Z:{if(w[a+398|0]){d=v[a+324>>2];f=v[a+208>>2];v[a+328>>2]=f&2?d:d+7>>>3|0;e=v[a+320>>2];d=w[a+399|0];g=w[d+76355|0];v[a+340>>2]=((e+g|0)+(w[d+76348|0]^-1)>>>0)/(g>>>0);break Z}v[a+328>>2]=v[a+324>>2];e=v[a+320>>2];v[a+340>>2]=e;f=v[a+208>>2]}g=w[a+404|0];g=f&4?w[a+402|0]<8?8:g:g;d=g&255;h=f&4096;_:{if(!h){break _}$:{switch(w[a+401|0]){case 3:d=x[a+394>>1]?32:24;break _;case 0:d=(((g&255)>>>0>8?g:8)&255)<<(x[a+394>>1]!=0);break _;case 2:break $;default:break _}}if(!x[a+394>>1]){break _}d=((g&255)<<2>>>0)/3|0}g=f&32768;aa:{if(!g){break aa}ba:{switch(w[a+401|0]){case 0:d=(d|0)<9?16:32;break aa;case 2:case 3:break ba;default:break aa}}d=(d|0)>32?64:32}ca:{if(!(f&16384)){break ca}da:{if(!(g|!(!x[a+394>>1]|!h))){g=w[a+401|0];if((g|0)!=4){break da}}d=(d|0)<17?32:64;break ca}if((d|0)<=8){d=(g|0)==6?32:24;break ca}d=(g|0)==6?64:48}if(f&1048576){f=B(w[a+197|0],w[a+196|0]);d=(d|0)<(f|0)?f:d}t[a+409|0]=0;t[a+408|0]=d;f=e+7&-8;f=((d+7>>>3|0)+((d|0)>7?B(f,d>>>3|0):B(d,f)>>>3|0)|0)+49|0;if(f>>>0>y[a+736>>2]){Tb(a,v[a+680>>2]);Tb(a,v[a+748>>2]);d=a;e=d;ea:{if(w[d+398|0]){d=fv(a,f);break ea}d=fg(a,f)}v[e+680>>2]=d;d=fg(a,f);v[a+748>>2]=d;v[a+736>>2]=f;v[a+352>>2]=d+31;v[a+356>>2]=v[a+680>>2]+31}d=v[a+336>>2];if((d|0)==-1){dc(a,76362);L()}eb(v[a+352>>2],0,d+1|0);v[a+204>>2]=v[a+204>>2]|64}g=v[a+340>>2];v[k>>2]=g;t[k+8|0]=w[a+401|0];t[k+9|0]=w[a+402|0];t[k+10|0]=w[a+405|0];f=w[a+404|0];t[k+11|0]=f;e=f>>>0>=8?B(g,f>>>3|0):B(f,g)+7>>>3|0;v[k+4>>2]=e;fa:{if(!w[a+398|0]|!(w[a+208|0]&2)){break fa}d=v[a+344>>2];ga:{switch(w[a+399|0]){case 0:if(!(d&7)){break fa}if(c){dm(a,c,1)}ko(a);break d;case 1:if(!(d&7)&y[a+320>>2]>4){break fa}if(c){dm(a,c,1)}ko(a);break d;case 2:if((d&7)==4){break fa}if(!(!c|!(d&4))){dm(a,c,1)}ko(a);break d;case 3:if(!(d&3)&y[a+320>>2]>2){break fa}if(c){dm(a,c,1)}ko(a);break d;case 4:if((d&3)==2){break fa}if(!(!c|!(d&2))){dm(a,c,1)}ko(a);break d;case 5:if(!(d&1)&y[a+320>>2]>1){break fa}if(c){dm(a,c,1)}ko(a);break d;default:break ga}}if(d&1){break fa}ko(a);break d}if(!(w[a+200|0]&4)){break c}v[a+224>>2]=v[a+356>>2];h=a+212|0;v[a+228>>2]=(f>>>0>=8?B(g,f>>>3|0):B(f,g)+7>>>3|0)+1;while(1){if(!v[a+216>>2]){g=v[a+380>>2];ha:{while(1){if(g){break ha}uc(a,0);g=Iy(a);v[a+380>>2]=g;if(v[a+348>>2]==1229209940){continue}break}dc(a,25538);L()}d=v[a+272>>2];v[a+216>>2]=d;f=v[a+268>>2];v[a+212>>2]=f;if(d>>>0>g>>>0){v[a+216>>2]=g;d=g}if(a){Ye(a,f,d);gc(a,f,d)}v[a+380>>2]=v[a+380>>2]-v[a+216>>2]}d=bk(h,1);ia:{if(d){if((d|0)==1){if(v[a+380>>2]?1:v[a+228>>2]|v[a+216>>2]){gG(a,27187)}v[a+200>>2]=v[a+200>>2]|8;v[a+204>>2]=v[a+204>>2]|32;break ia}b=a;a=v[a+236>>2];dc(b,a?a:28331);L()}if(v[a+228>>2]){continue}}break}g=v[a+356>>2];d=w[g|0];if(d){if(d>>>0>4){break b}f=g+1|0;e=v[a+352>>2]+1|0;d=d-1|0;if(d>>>0<=3){if(!v[a+752>>2]){v[a+752>>2]=381;v[a+760>>2]=382;v[a+756>>2]=383;v[a+764>>2]=(w[a+404|0]+7&504)==8?384:385}Qa[v[((d<<2)+a|0)+752>>2]](k,f,e)}g=v[a+356>>2];e=v[k+4>>2]}cb(v[a+352>>2],g,e+1|0);if(!(!(w[a+660|0]&4)|w[a+664|0]!=64)){d=v[a+356>>2]+1|0;e=w[k+8|0];ja:{if(!(e&2)){break ja}f=v[k>>2];ka:{switch(w[k+9|0]-8|0){case 0:g=3;la:{switch(e-2|0){case 4:g=4;break;case 0:break la;default:break ja}}if(!f){break ja}if((f|0)!=1){e=f&-2;while(1){h=w[d+1|0];t[d|0]=h+w[d|0];t[d+2|0]=h+w[d+2|0];d=d+g|0;h=w[d+1|0];t[d+2|0]=h+w[d+2|0];t[d|0]=h+w[d|0];d=d+g|0;e=e-2|0;if(e){continue}break}}if(!(f&1)){break ja}f=w[d+1|0];t[d|0]=f+w[d|0];t[d+2|0]=f+w[d+2|0];break ja;case 8:break ka;default:break ja}}i=6;ma:{switch(e-2|0){case 4:i=8;break;case 0:break ma;default:break ja}}if(!f){break ja}g=0;while(1){e=w[d+3|0]|w[d+2|0]<<8;h=e+(w[d+5|0]|w[d+4|0]<<8)|0;t[d+5|0]=h;e=e+(w[d+1|0]|w[d|0]<<8)|0;t[d+1|0]=e;t[d+4|0]=h>>>8;t[d|0]=e>>>8;d=d+i|0;g=g+1|0;if((f|0)!=(g|0)){continue}break}}}if(v[a+208>>2]){na:{oa:{pa:{qa:{d=v[a+356>>2];if(d){if((v[a+204>>2]&16448)==16384){break qa}f=v[a+208>>2];ra:{if(!(f&4096)){break ra}if(w[k+8|0]==3){h=d+1|0;j=v[a+388>>2];r=v[a+504>>2];p=x[a+394>>1];sa:{if(w[k+8|0]!=3){break sa}f=v[k>>2];d=w[k+9|0];ta:{if(d>>>0<=7){ua:{va:{switch(d-1|0){case 0:if(!f){break ua}g=f+h|0;d=0-f&7;i=f-1|0;e=h+(i>>>3|0)|0;if(i){i=f&-2;while(1){t[g-1|0]=w[e|0]>>>d&1;g=g-2|0;n=e;e=(d|0)==7;l=n-e|0;d=e?0:d+1|0;t[g|0]=w[l|0]>>>d&1;e=(d|0)==7;d=e?0:d+1|0;e=l-e|0;i=i-2|0;if(i){continue}break}}if(!(f&1)){break ua}t[g-1|0]=w[e|0]>>>d&1;break ua;case 1:if(!f){break ua}g=f+h|0;i=f-1|0;e=h+(i>>>2|0)|0;d=((f<<1)+6^-1)&6;if(i){i=f&-2;while(1){t[g-1|0]=w[e|0]>>>d&3;g=g-2|0;n=e;e=(d|0)==6;l=n-e|0;d=e?0:d+2|0;t[g|0]=w[l|0]>>>d&3;e=(d|0)==6;d=e?0:d+2|0;e=l-e|0;i=i-2|0;if(i){continue}break}}if(!(f&1)){break ua}t[g-1|0]=w[e|0]>>>d&3;break ua;case 3:break va;default:break ua}}if(!f){break ua}g=f+h|0;d=f<<2&4;i=f-1|0;e=h+(i>>>1|0)|0;if(i){i=f&-2;while(1){t[g-1|0]=w[e|0]>>>d&15;g=g-2|0;n=e;e=(d|0)==4;l=n-e|0;d=e?0:d+4|0;t[g|0]=w[l|0]>>>d&15;e=(d|0)==4;d=e?0:d+4|0;e=l-e|0;i=i-2|0;if(i){continue}break}}if(!(f&1)){break ua}t[g-1|0]=w[e|0]>>>d&15}t[k+11|0]=8;t[k+9|0]=8;v[k+4>>2]=f;break ta}if((d|0)!=8){break sa}}wa:{if(p>>>0>=1){l=f<<2;n=4;m=6;q=32;if(!f){break wa}d=f+h|0;g=h+l|0;i=0;while(1){h=g-1|0;d=d-1|0;e=w[d|0];if((e|0)<(p|0)){e=w[e+r|0]}else{e=255}t[h|0]=e;t[g-2|0]=w[(j+B(w[d|0],3)|0)+2|0];t[g-3|0]=w[(j+B(w[d|0],3)|0)+1|0];g=g-4|0;t[g|0]=w[j+B(w[d|0],3)|0];i=i+1|0;if((f|0)!=(i|0)){continue}break}break wa}n=3;l=B(f,3);m=2;q=24;if(!f){break wa}d=f+h|0;g=h+l|0;e=0;while(1){d=d-1|0;t[g-1|0]=w[(j+B(w[d|0],3)|0)+2|0];t[g-2|0]=w[(j+B(w[d|0],3)|0)+1|0];g=g-3|0;t[g|0]=w[j+B(w[d|0],3)|0];e=e+1|0;if((f|0)!=(e|0)){continue}break}}t[k+11|0]=q;t[k+9|0]=8;t[k+10|0]=n;t[k+8|0]=m;v[k+4>>2]=l}break ra}d=d+1|0;if(!(!x[a+394>>1]|!(f&33554432))){BR(k,d,a+508|0);break ra}BR(k,d,0)}d=v[a+208>>2];xa:{if((d&262272)!=262144){break xa}ya:{switch(w[k+8|0]-4|0){case 0:case 2:break ya;default:break xa}}AF(k,v[a+356>>2]+1|0,0);d=v[a+208>>2]}za:{if(!(d&6291456)){break za}d=v[a+356>>2]+1|0;e=0;f=0;i=0;r=0;g=w[k+8|0];if((g&3)==2){h=g&4;l=x[a+656>>1];n=x[a+658>>1];p=32768-(l+n|0)|0;j=v[k>>2];Aa:{if(w[k+9|0]==8){if(!(!v[a+476>>2]|!v[a+480>>2])){if(!j){break Aa}e=d;while(1){g=w[d|0];m=w[d+1|0];q=w[d+2|0];Ba:{Ca:{if(!((g|0)==(m|0)&(q|0)==(g|0))){i=i|1;F=g;g=v[a+480>>2];g=v[a+476>>2]+(((B(l,w[F+g|0])+B(n,w[g+m|0])|0)+B(p,w[g+q|0])|0)+16384>>>15|0)|0;break Ca}m=v[a+468>>2];if(!m){break Ba}g=g+m|0}g=w[g|0]}t[e|0]=g;Da:{if(!h){e=e+1|0;d=d+3|0;break Da}t[e+1|0]=w[d+3|0];e=e+2|0;d=d+4|0}f=f+1|0;if((j|0)!=(f|0)){continue}break}break Aa}if(!j){break Aa}if(!h){g=d;while(1){f=w[d|0];h=w[d+1|0];m=w[d+2|0];if(!((f|0)==(h|0)&(m|0)==(f|0))){i=i|1;f=(B(h,n)+B(f,l)|0)+B(m,p)>>>15|0}d=d+3|0;t[g|0]=f;g=g+1|0;e=e+1|0;if((j|0)!=(e|0)){continue}break}break Aa}f=d;while(1){h=f;g=w[d|0];m=w[d+1|0];q=w[d+2|0];if(!((g|0)==(m|0)&(q|0)==(g|0))){i=i|1;g=(B(m,n)+B(g,l)|0)+B(p,q)>>>15|0}t[h|0]=g;t[f+1|0]=w[d+3|0];f=f+2|0;d=d+4|0;e=e+1|0;if((j|0)!=(e|0)){continue}break}break Aa}if(!(!v[a+488>>2]|!v[a+484>>2])){if(!j){break Aa}g=d;while(1){m=w[d+1|0];e=w[d|0];q=m|e<<8;G=w[d+3|0];C=w[d+2|0];f=w[d+4|0]|w[d+5|0]<<8;f=f<<8|f>>>8;Ea:{if(!((q|0)!=(G|C<<8)|(q|0)!=(f&65535))){f=v[a+472>>2];if(!f){break Ea}m=x[v[f+(G>>>v[a+456>>2]<<2)>>2]+(C<<1)>>1];e=m>>>8|0;break Ea}m=v[a+488>>2];e=v[a+456>>2];f=((B(l,x[v[m+((q&255)>>>e<<2)>>2]+(q>>>7&510)>>1])+B(n,x[v[m+(G>>>e<<2)>>2]+(C<<1)>>1])|0)+B(p,x[v[m+((f&255)>>>e<<2)>>2]+(f>>>7&510)>>1])|0)+16384|0;m=x[v[v[a+484>>2]+((f>>>15&255)>>>e<<2)>>2]+(f>>>22&510)>>1];e=m>>>8|0;i=i|1}t[g+1|0]=m;t[g|0]=e;Fa:{if(!h){g=g+2|0;d=d+6|0;break Fa}t[g+2|0]=w[d+6|0];t[g+3|0]=w[d+7|0];g=g+4|0;d=d+8|0}r=r+1|0;if((j|0)!=(r|0)){continue}break}break Aa}if(!j){break Aa}f=d;while(1){g=w[f+1|0]|w[f|0]<<8;m=w[f+3|0]|w[f+2|0]<<8;q=w[f+5|0]|w[f+4|0]<<8;r=((B(g,l)+B(m,n)|0)+B(q,p)|0)+16384|0;t[d+1|0]=r>>>15;t[d|0]=r>>>23;g=(g|0)!=(m|0)|(g|0)!=(q|0);Ga:{if(!h){f=f+6|0;d=d+2|0;break Ga}t[d+2|0]=w[f+6|0];t[d+3|0]=w[f+7|0];f=f+8|0;d=d+4|0}i=g|i;e=e+1|0;if((j|0)!=(e|0)){continue}break}}d=w[k+10|0]-2|0;t[k+10|0]=d;t[k+8|0]=w[k+8|0]&253;f=B(d,w[k+9|0]);t[k+11|0]=f;d=k;f=f&255;Ha:{if(f>>>0>=8){f=B(j,f>>>3|0);break Ha}f=B(f,j)+7>>>3|0}v[d+4>>2]=f}if(!i){d=v[a+208>>2];break za}t[a+653|0]=1;d=v[a+208>>2];if((d&6291456)==4194304){Db(a,31581);d=v[a+208>>2]}if((d&6291456)==2097152){break pa}}if(!(!(d&16384)|w[a+201|0]&8)){zR(k,v[a+356>>2]+1|0);d=v[a+208>>2]}if(d&128){d=v[a+356>>2]+1|0;m=v[a+204>>2]&8192;h=v[k>>2];f=v[a+456>>2];n=v[a+488>>2];p=v[a+484>>2];i=v[a+472>>2];g=v[a+480>>2];j=v[a+476>>2];l=v[a+468>>2];Ia:{Ja:{Ka:{La:{Ma:{Na:{switch(w[k+8|0]){case 0:Oa:{switch(w[k+9|0]-1|0){case 0:if(!h){break Ia}g=7;e=0;while(1){f=w[d|0];if(x[a+516>>1]==(f>>>g&1)){f=f&32639>>>7-g;t[d|0]=f;t[d|0]=f|x[a+432>>1]<>>g&3;Pa:{if((m|0)==x[a+516>>1]){j=e&16191>>>6-g;t[d|0]=j;e=x[a+432>>1];break Pa}j=e&16191>>>6-g;e=w[l+B(m,85)|0]>>>6|0}t[f|0]=e<>>g&15;Qa:{if((m|0)==x[a+516>>1]){j=e&3855>>>4-g;t[d|0]=j;e=x[a+432>>1];break Qa}j=e&3855>>>4-g;e=w[l+B(m,17)|0]>>>4|0}t[f|0]=e<>1]){e=w[a+432|0]}else{e=w[e+l|0]}t[f|0]=e;f=d;e=w[d+1|0];Ra:{if((e|0)!=x[a+516>>1]){e=w[e+l|0];break Ra}e=w[a+432|0]}t[f+1|0]=e;d=d+2|0;g=g-2|0;if(g){continue}break}}if(!(h&1)){break Ia}f=w[d|0];if((f|0)!=x[a+516>>1]){t[d|0]=w[f+l|0];break Ia}t[d|0]=w[a+432|0];break Ia;case 6:Sa:{if(w[k+9|0]==8){if(!(l?!g|!j:1)){break Sa}if(!h){break Ia}e=0;while(1){f=w[d+3|0];Ta:{if((f|0)==255){break Ta}if(!f){t[d|0]=w[a+426|0];t[d+1|0]=w[a+428|0];t[d+2|0]=w[a+430|0];break Ta}g=f^255;j=(B(f,w[d|0])+B(g,x[a+426>>1])|0)+128|0;t[d|0]=(j>>>8&255)+j>>>8;j=(B(f,w[d+1|0])+B(g,x[a+428>>1])|0)+128|0;t[d+1|0]=(j>>>8&255)+j>>>8;f=(B(f,w[d+2|0])+B(g,x[a+430>>1])|0)+128|0;t[d+2|0]=(f>>>8&255)+f>>>8}d=d+4|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}break Ia}if(n?!i|!p:1){if(!h){break Ia}e=0;while(1){f=w[d+7|0]|w[d+6|0]<<8;Ua:{if((f|0)==65535){break Ua}if(!f){t[d|0]=w[a+427|0];t[d+1|0]=w[a+426|0];t[d+2|0]=w[a+429|0];t[d+3|0]=w[a+428|0];t[d+4|0]=w[a+431|0];t[d+5|0]=w[a+430|0];break Ua}g=f^65535;j=(B(f,w[d+1|0]|w[d|0]<<8)+B(g,x[a+426>>1])|0)+32768|0;j=(j>>>16|0)+j|0;t[d+1|0]=j>>>16;t[d|0]=j>>>24;j=(B(f,w[d+3|0]|w[d+2|0]<<8)+B(g,x[a+428>>1])|0)+32768|0;j=(j>>>16|0)+j|0;t[d+2|0]=j>>>24;t[d+3|0]=j>>>16;f=(B(f,w[d+5|0]|w[d+4|0]<<8)+B(g,x[a+430>>1])|0)+32768|0;f=(f>>>16|0)+f|0;t[d+4|0]=f>>>24;t[d+5|0]=f>>>16}d=d+8|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}break Ia}if(!h){break Ia}g=0;while(1){Va:{Wa:{l=w[d+7|0]|w[d+6|0]<<8;if(l){if((l|0)!=65535){break Wa}e=x[v[i+(w[d+1|0]>>>f<<2)>>2]+(w[d|0]<<1)>>1];e=e<<8|e>>>8;t[d|0]=e;t[d+1|0]=e>>>8;e=x[v[i+(w[d+3|0]>>>f<<2)>>2]+(w[d+2|0]<<1)>>1];e=e<<8|e>>>8;t[d+2|0]=e;t[d+3|0]=e>>>8;e=x[v[i+(w[d+5|0]>>>f<<2)>>2]+(w[d+4|0]<<1)>>1];e=e<<8|e>>>8;t[d+4|0]=e;t[d+5|0]=e>>>8;break Va}t[d|0]=w[a+427|0];t[d+1|0]=w[a+426|0];t[d+2|0]=w[a+429|0];t[d+3|0]=w[a+428|0];t[d+4|0]=w[a+431|0];t[d+5|0]=w[a+430|0];break Va}q=l^65535;e=(B(l,x[v[n+(w[d+1|0]>>>f<<2)>>2]+(w[d|0]<<1)>>1])+B(q,x[a+436>>1])|0)+32768|0;j=(e>>>16|0)+e|0;e=j>>>24|0;j=j>>>16|0;if(!m){j=x[v[p+((j&255)>>>f<<2)>>2]+(e<<1)>>1];e=j>>>8|0}t[d+1|0]=j;t[d|0]=e;e=(B(l,x[v[n+(w[d+3|0]>>>f<<2)>>2]+(w[d+2|0]<<1)>>1])+B(q,x[a+438>>1])|0)+32768|0;j=(e>>>16|0)+e|0;e=j>>>24|0;j=j>>>16|0;if(!m){j=x[v[p+((j&255)>>>f<<2)>>2]+(e<<1)>>1];e=j>>>8|0}t[d+3|0]=j;t[d+2|0]=e;e=(B(l,x[v[n+(w[d+5|0]>>>f<<2)>>2]+(w[d+4|0]<<1)>>1])+B(q,x[a+440>>1])|0)+32768|0;j=(e>>>16|0)+e|0;e=j>>>24|0;j=j>>>16|0;if(!m){j=x[v[p+((j&255)>>>f<<2)>>2]+(e<<1)>>1];e=j>>>8|0}t[d+5|0]=j;t[d+4|0]=e}d=d+8|0;g=g+1|0;if((h|0)!=(g|0)){continue}break}break Ia}if(!h){break Ia}i=0;while(1){Xa:{Ya:{n=w[d+3|0];if(n){if((n|0)!=255){break Ya}t[d|0]=w[l+w[d|0]|0];t[d+1|0]=w[l+w[d+1|0]|0];t[d+2|0]=w[l+w[d+2|0]|0];break Xa}t[d|0]=w[a+426|0];t[d+1|0]=w[a+428|0];t[d+2|0]=w[a+430|0];break Xa}p=n^255;f=(B(n,w[g+w[d|0]|0])+B(p,x[a+436>>1])|0)+128|0;f=(f>>>8&255)+f>>>8|0;e=d;if(!m){f=w[j+(f&255)|0]}t[e|0]=f;f=(B(n,w[g+w[d+1|0]|0])+B(p,x[a+438>>1])|0)+128|0;f=(f>>>8&255)+f>>>8|0;if(!m){f=w[j+(f&255)|0]}t[e+1|0]=f;f=(B(n,w[g+w[d+2|0]|0])+B(p,x[a+440>>1])|0)+128|0;f=(f>>>8&255)+f>>>8|0;if(!m){f=w[j+(f&255)|0]}t[e+2|0]=f}d=d+4|0;i=i+1|0;if((h|0)!=(i|0)){continue}break};break Ia;case 4:Za:{if(w[k+9|0]==8){if(!(l?!g|!j:1)){break Za}if(!h){break Ia}e=0;while(1){g=w[d+1|0];if((g|0)!=255){f=d;if(g){g=(B(x[a+432>>1],g^255)+B(g,w[d|0])|0)+128&65535;g=(g>>>8|0)+g>>>8|0}else{g=w[a+432|0]}t[f|0]=g}d=d+2|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}break Ia}if(n?!i|!p:1){if(!h){break Ia}e=0;while(1){f=w[d+3|0]|w[d+2|0]<<8;_a:{if((f|0)==65535){break _a}if(!f){t[d|0]=w[a+433|0];t[d+1|0]=w[a+432|0];break _a}f=(B(x[a+432>>1],f^65535)+B(f,w[d+1|0]|w[d|0]<<8)|0)+32768|0;f=(f>>>16|0)+f|0;t[d+1|0]=f>>>16;t[d|0]=f>>>24}d=d+4|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}break Ia}if(!h){break Ia}g=0;while(1){$a:{ab:{e=w[d+3|0]|w[d+2|0]<<8;if(e){if((e|0)!=65535){break ab}e=x[v[i+(w[d+1|0]>>>f<<2)>>2]+(w[d|0]<<1)>>1];e=e<<8|e>>>8;t[d|0]=e;t[d+1|0]=e>>>8;break $a}t[d|0]=w[a+433|0];t[d+1|0]=w[a+432|0];break $a}e=(B(e,x[v[n+(w[d+1|0]>>>f<<2)>>2]+(w[d|0]<<1)>>1])+B(x[a+442>>1],e^65535)|0)+32768|0;j=(e>>>16|0)+e|0;e=j>>>16|0;if(m){j=j>>>24|0}else{e=x[v[p+((e&255)>>>f<<2)>>2]+(j>>>23&510)>>1];j=e>>>8|0}t[d+1|0]=e;t[d|0]=j}d=d+4|0;g=g+1|0;if((h|0)!=(g|0)){continue}break}break Ia}if(!h){break Ia}i=0;while(1){F=d;bb:{cb:{e=w[d+1|0];if(e){if((e|0)!=255){break cb}f=w[l+w[d|0]|0];break bb}f=w[a+432|0];break bb}e=(B(x[a+442>>1],e^255)+B(e,w[g+w[d|0]|0])|0)+128&65535;n=(e>>>8|0)+e>>>8|0;f=n;if(m){break bb}f=w[j+(n&255)|0]}t[F|0]=f;d=d+2|0;i=i+1|0;if((h|0)!=(i|0)){continue}break};break Ia;case 2:break Na;default:break Ia}}db:{if(w[k+9|0]==8){if(!l){break db}if(!h){break Ia}i=0;while(1){e=w[d|0];f=w[d+1|0];eb:{if(!((e|0)!=x[a+510>>1]|(f|0)!=x[a+512>>1]|x[a+514>>1]!=w[d+2|0])){t[d|0]=w[a+426|0];t[d+1|0]=w[a+428|0];t[d+2|0]=w[a+430|0];break eb}t[d|0]=w[e+l|0];t[d+1|0]=w[f+l|0];t[d+2|0]=w[l+w[d+2|0]|0]}d=d+3|0;i=i+1|0;if((h|0)!=(i|0)){continue}break}break Ia}if(i){if(!h){break Ia}g=0;while(1){e=w[d+4|0];j=w[d+5|0];p=w[d+1|0];n=w[d|0];m=w[d+3|0];l=w[d+2|0];fb:{if(!(x[a+510>>1]!=(p|n<<8)|x[a+512>>1]!=(m|l<<8)|x[a+514>>1]!=(j|e<<8))){t[d|0]=w[a+427|0];t[d+1|0]=w[a+426|0];t[d+2|0]=w[a+429|0];t[d+3|0]=w[a+428|0];t[d+4|0]=w[a+431|0];e=w[a+430|0];break fb}n=x[v[i+(p>>>f<<2)>>2]+(n<<1)>>1];n=n<<8|n>>>8;t[d|0]=n;t[d+1|0]=n>>>8;l=x[v[i+(m>>>f<<2)>>2]+(l<<1)>>1];l=l<<8|l>>>8;t[d+2|0]=l;t[d+3|0]=l>>>8;e=x[v[i+(j>>>f<<2)>>2]+(e<<1)>>1];t[d+4|0]=e>>>8}t[d+5|0]=e;d=d+6|0;g=g+1|0;if((h|0)!=(g|0)){continue}break}break Ia}if(!h){break Ia}g=0;while(1){if(!(x[a+510>>1]!=(w[d+1|0]|w[d|0]<<8)|x[a+512>>1]!=(w[d+3|0]|w[d+2|0]<<8)|x[a+514>>1]!=(w[d+5|0]|w[d+4|0]<<8))){t[d|0]=w[a+427|0];t[d+1|0]=w[a+426|0];t[d+2|0]=w[a+429|0];t[d+3|0]=w[a+428|0];t[d+4|0]=w[a+431|0];t[d+5|0]=w[a+430|0]}d=d+6|0;g=g+1|0;if((h|0)!=(g|0)){continue}break}break Ia}if(!h){break Ia}g=0;while(1){if(!(x[a+510>>1]!=w[d|0]|x[a+512>>1]!=w[d+1|0]|x[a+514>>1]!=w[d+2|0])){t[d|0]=w[a+426|0];t[d+1|0]=w[a+428|0];t[d+2|0]=w[a+430|0]}d=d+3|0;g=g+1|0;if((h|0)!=(g|0)){continue}break}break Ia}if(i){if(!h){break Ia}e=0;while(1){j=w[d+1|0];g=w[d|0];gb:{if(x[a+516>>1]==(j|g<<8)){t[d|0]=w[a+433|0];j=w[a+432|0];break gb}j=x[v[i+(j>>>f<<2)>>2]+(g<<1)>>1];t[d|0]=j>>>8}t[d+1|0]=j;d=d+2|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}break Ia}if(!h){break Ia}if((h|0)!=1){g=h&-2;while(1){if(x[a+516>>1]==(w[d+1|0]|w[d|0]<<8)){t[d|0]=w[a+433|0];t[d+1|0]=w[a+432|0]}if(x[a+516>>1]==(w[d+3|0]|w[d+2|0]<<8)){t[d+2|0]=w[a+433|0];t[d+3|0]=w[a+432|0]}d=d+4|0;g=g-2|0;if(g){continue}break}}if(!(h&1)|x[a+516>>1]!=(w[d+1|0]|w[d|0]<<8)){break Ia}t[d|0]=w[a+433|0];t[d+1|0]=w[a+432|0];break Ia}if(!h){break Ia}if((h|0)!=1){g=h&-2;while(1){if(x[a+516>>1]==w[d|0]){t[d|0]=w[a+432|0]}if(x[a+516>>1]==w[d+1|0]){t[d+1|0]=w[a+432|0]}d=d+2|0;g=g-2|0;if(g){continue}break}}if(!(h&1)|x[a+516>>1]!=w[d|0]){break Ia}t[d|0]=w[a+432|0];break Ia}if(!h){break Ia}g=4;e=0;while(1){f=w[d|0];if(x[a+516>>1]==(f>>>g&15)){f=f&3855>>>4-g;t[d|0]=f;t[d|0]=f|x[a+432>>1]<>1]==(f>>>g&3)){f=f&16191>>>6-g;t[d|0]=f;t[d|0]=f|x[a+432>>1]<>2]}hb:{if((d&6299648)!=8192){break hb}ib:{if(!(d&128)){f=w[a+401|0];break ib}if(x[a+394>>1]){break hb}f=w[a+401|0];if(f&4){break hb}}if((f|0)==3){break hb}d=v[a+356>>2]+1|0;l=0;g=v[k>>2];j=v[a+456>>2];h=v[a+472>>2];f=w[k+9|0];e=v[a+468>>2];jb:{if(!(e?f>>>0<=8:0)&(!h|(f|0)!=16)){break jb}kb:{lb:{mb:{switch(w[k+8|0]){case 2:if((f|0)!=8){if(!g){break jb}f=0;while(1){e=x[v[h+(w[d+1|0]>>>j<<2)>>2]+(w[d|0]<<1)>>1];e=e<<8|e>>>8;t[d|0]=e;t[d+1|0]=e>>>8;e=x[v[h+(w[d+3|0]>>>j<<2)>>2]+(w[d+2|0]<<1)>>1];e=e<<8|e>>>8;t[d+2|0]=e;t[d+3|0]=e>>>8;e=x[v[h+(w[d+5|0]>>>j<<2)>>2]+(w[d+4|0]<<1)>>1];e=e<<8|e>>>8;t[d+4|0]=e;t[d+5|0]=e>>>8;d=d+6|0;f=f+1|0;if((g|0)!=(f|0)){continue}break}break jb}if(!g){break jb}if((g|0)!=1){i=g&-2;while(1){t[d|0]=w[e+w[d|0]|0];t[d+1|0]=w[e+w[d+1|0]|0];t[d+2|0]=w[e+w[d+2|0]|0];t[d+3|0]=w[e+w[d+3|0]|0];t[d+4|0]=w[e+w[d+4|0]|0];t[d+5|0]=w[e+w[d+5|0]|0];d=d+6|0;i=i-2|0;if(i){continue}break}}break lb;case 6:if((f|0)!=8){if(!g){break jb}f=0;while(1){e=x[v[h+(w[d+1|0]>>>j<<2)>>2]+(w[d|0]<<1)>>1];e=e<<8|e>>>8;t[d|0]=e;t[d+1|0]=e>>>8;e=x[v[h+(w[d+3|0]>>>j<<2)>>2]+(w[d+2|0]<<1)>>1];e=e<<8|e>>>8;t[d+2|0]=e;t[d+3|0]=e>>>8;e=x[v[h+(w[d+5|0]>>>j<<2)>>2]+(w[d+4|0]<<1)>>1];e=e<<8|e>>>8;t[d+4|0]=e;t[d+5|0]=e>>>8;d=d+8|0;f=f+1|0;if((g|0)!=(f|0)){continue}break}break jb}if(!g){break jb}if((g|0)!=1){i=g&-2;while(1){t[d|0]=w[e+w[d|0]|0];t[d+1|0]=w[e+w[d+1|0]|0];t[d+2|0]=w[e+w[d+2|0]|0];t[d+4|0]=w[e+w[d+4|0]|0];t[d+5|0]=w[e+w[d+5|0]|0];t[d+6|0]=w[e+w[d+6|0]|0];d=d+8|0;i=i-2|0;if(i){continue}break}}break lb;case 4:if((f|0)!=8){if(!g){break jb}if((g|0)!=1){f=g&-2;while(1){e=x[v[h+(w[d+1|0]>>>j<<2)>>2]+(w[d|0]<<1)>>1];e=e<<8|e>>>8;t[d|0]=e;t[d+1|0]=e>>>8;e=x[v[h+(w[d+5|0]>>>j<<2)>>2]+(w[d+4|0]<<1)>>1];e=e<<8|e>>>8;t[d+4|0]=e;t[d+5|0]=e>>>8;d=d+8|0;f=f-2|0;if(f){continue}break}}break kb}if(!g){break jb}i=g&3;if(g-1>>>0>=3){f=g&-4;while(1){t[d|0]=w[e+w[d|0]|0];t[d+2|0]=w[e+w[d+2|0]|0];t[d+4|0]=w[e+w[d+4|0]|0];t[d+6|0]=w[e+w[d+6|0]|0];d=d+8|0;f=f-4|0;if(f){continue}break}}if(!i){break jb}while(1){t[d|0]=w[e+w[d|0]|0];d=d+2|0;i=i-1|0;if(i){continue}break};break jb;case 0:break mb;default:break jb}}nb:{ob:{pb:{if(!(!g|(f|0)!=2)){f=d;while(1){i=w[f|0];m=i&48;n=w[e+(B(m,5)|m>>>2|m>>>4)|0]>>>2&48;m=i&192;n=n|w[e+(m|i>>>6|m>>>2|m>>>4)|0]&192;m=i&12;t[f|0]=n|w[e+(B(m,21)|m>>>2)|0]>>>4&12|w[e+B(i&3,85)|0]>>>6;f=f+1|0;l=l+4|0;if(g>>>0>l>>>0){continue}break}f=w[k+9|0]}switch(f-4|0){case 0:break nb;case 4:break ob;case 12:break pb;default:break jb}}if(!g){break jb}if((g|0)!=1){f=g&-2;while(1){e=x[v[h+(w[d+1|0]>>>j<<2)>>2]+(w[d|0]<<1)>>1];e=e<<8|e>>>8;t[d|0]=e;t[d+1|0]=e>>>8;e=x[v[h+(w[d+3|0]>>>j<<2)>>2]+(w[d+2|0]<<1)>>1];e=e<<8|e>>>8;t[d+2|0]=e;t[d+3|0]=e>>>8;d=d+4|0;f=f-2|0;if(f){continue}break}}break kb}if(!g){break jb}i=g&3;if(g-1>>>0>=3){f=g&-4;while(1){t[d|0]=w[e+w[d|0]|0];t[d+1|0]=w[e+w[d+1|0]|0];t[d+2|0]=w[e+w[d+2|0]|0];t[d+3|0]=w[e+w[d+3|0]|0];d=d+4|0;f=f-4|0;if(f){continue}break}}if(!i){break jb}while(1){t[d|0]=w[e+w[d|0]|0];d=d+1|0;i=i-1|0;if(i){continue}break}break jb}if(!g){break jb}f=0;while(1){h=w[d|0];t[d|0]=w[e+B(h&15,17)|0]>>>4|w[e+(h&240|h>>>4)|0]&240;d=d+1|0;f=f+2|0;if(g>>>0>f>>>0){continue}break}break jb}if(!(g&1)){break jb}t[d|0]=w[e+w[d|0]|0];t[d+1|0]=w[e+w[d+1|0]|0];t[d+2|0]=w[e+w[d+2|0]|0];break jb}if(!(g&1)){break jb}f=x[v[h+(w[d+1|0]>>>j<<2)>>2]+(w[d|0]<<1)>>1];f=f<<8|f>>>8;t[d|0]=f;t[d+1|0]=f>>>8}d=v[a+208>>2]}qb:{if((d&262272)!=262272){break qb}rb:{switch(w[k+8|0]-4|0){case 0:case 2:break rb;default:break qb}}AF(k,v[a+356>>2]+1|0,0);d=v[a+208>>2]}if(d&64){d=v[a+356>>2]+1|0;h=v[a+588>>2];f=v[a+592>>2];sb:{if(w[k+9|0]!=8){break sb}g=v[k>>2];tb:{ub:{vb:{wb:{xb:{e=w[k+8|0];if(!(!h|(e|0)!=2)){if(!g){break xb}e=0;f=d;while(1){t[f|0]=w[h+(w[d+1|0]<<2&992|w[d|0]<<7&31744|w[d+2|0]>>>3)|0];f=f+1|0;d=d+3|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}t[k+10|0]=1;t[k+8|0]=3;d=w[k+9|0];t[k+11|0]=d;if(d>>>0>=8){break ub}break tb}if(!(!h|(e|0)!=6)){if(!g){break wb}e=0;f=d;while(1){t[f|0]=w[h+(w[d+1|0]<<2&992|w[d|0]<<7&31744|w[d+2|0]>>>3)|0];f=f+1|0;d=d+4|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}t[k+10|0]=1;t[k+8|0]=3;d=w[k+9|0];t[k+11|0]=d;if(d>>>0>=8){break vb}break tb}if(!g|(!f|(e|0)!=3)){break sb}e=g&3;if(g-1>>>0>=3){g=g&-4;while(1){t[d|0]=w[f+w[d|0]|0];t[d+1|0]=w[f+w[d+1|0]|0];t[d+2|0]=w[f+w[d+2|0]|0];t[d+3|0]=w[f+w[d+3|0]|0];d=d+4|0;g=g-4|0;if(g){continue}break}}if(!e){break sb}while(1){t[d|0]=w[f+w[d|0]|0];d=d+1|0;e=e-1|0;if(e){continue}break}break sb}u[k+10>>1]=2049;t[k+8|0]=3;d=8;break ub}u[k+10>>1]=2049;t[k+8|0]=3;d=8}v[k+4>>2]=B(g,d>>>3|0);break sb}v[k+4>>2]=B(g,d>>>3|0);break sb}v[k+4>>2]=B(d,g)+7>>>3}if(!v[k+4>>2]){break oa}d=v[a+208>>2]}if(!(!(d&16384)|!(w[a+201|0]&8))){zR(k,v[a+356>>2]+1|0);d=v[a+208>>2]}if(d&32){HT(k,v[a+356>>2]+1|0);d=v[a+208>>2]}if(d&8){d=v[a+356>>2]+1|0;f=Ma-16|0;h=w[k+8|0];yb:{if((h|0)==3){break yb}g=w[k+9|0];zb:{if(h&2){i=w[a+497|0];v[f+4>>2]=g-w[a+498|0];v[f+8>>2]=g-w[a+499|0];e=3;break zb}i=w[a+500|0];e=1}j=g-i|0;v[f>>2]=j;if(h&4){v[(f|e<<2)>>2]=g-w[a+501|0];e=e+1|0}i=(i|0)!=0&(j|0)>0;v[f>>2]=i?j:0;Ab:{if((e|0)==1){break Ab}h=v[f+4>>2];j=(h|0)<(g|0)&(h|0)>0;v[f+4>>2]=j?h:0;i=j?1:i;if((e|0)==2){break Ab}h=v[f+8>>2];j=(h|0)<(g|0)&(h|0)>0;v[f+8>>2]=j?h:0;i=j?1:i;if((e|0)==3){break Ab}h=v[f+12>>2];j=(h|0)<(g|0)&(h|0)>0;v[f+12>>2]=j?h:0;i=j?1:i}if(!i){break yb}Bb:{switch(C3a(g-2|0,31)|0){case 0:f=v[k+4>>2];if((f|0)<1){break yb}f=d+f|0;while(1){t[d|0]=w[d|0]>>>1&85;d=d+1|0;if(f>>>0>d>>>0){continue}break};break yb;case 1:e=v[k+4>>2];if((e|0)<1){break yb}f=v[f>>2];g=B(15>>>f|0,17);e=d+e|0;while(1){t[d|0]=g&w[d|0]>>>f;d=d+1|0;if(e>>>0>d>>>0){continue}break};break yb;case 3:g=v[k+4>>2];if((g|0)<1){break yb}h=d+g|0;g=0;while(1){t[d|0]=w[d|0]>>>v[f+(g<<2)>>2];g=g+1|0;g=(e|0)>(g|0)?g:0;d=d+1|0;if(h>>>0>d>>>0){continue}break};break yb;case 7:break Bb;default:break yb}}g=v[k+4>>2];if((g|0)<1){break yb}h=d+g|0;g=0;while(1){j=(w[d+1|0]|w[d|0]<<8)>>>v[f+(g<<2)>>2]|0;j=j<<8|j>>>8;t[d|0]=j;t[d+1|0]=j>>>8;g=g+1|0;g=(e|0)>(g|0)?g:0;d=d+2|0;if(h>>>0>d>>>0){continue}break}}d=v[a+208>>2]}if(d&4){e=v[a+356>>2]+1|0;f=w[k+9|0];if(f>>>0<=7){d=v[k>>2];Cb:{Db:{switch(f-1|0){case 0:if(!d){break Cb}g=d+e|0;f=0-d&7;h=d-1|0;e=e+(h>>>3|0)|0;if(h){i=d&-2;while(1){t[g-1|0]=w[e|0]>>>f&1;g=g-2|0;h=e;e=(f|0)==7;h=h-e|0;f=e?0:f+1|0;t[g|0]=w[h|0]>>>f&1;e=(f|0)==7;f=e?0:f+1|0;e=h-e|0;i=i-2|0;if(i){continue}break}}if(!(d&1)){break Cb}t[g-1|0]=w[e|0]>>>f&1;break Cb;case 1:if(!d){break Cb}g=d+e|0;h=d-1|0;e=e+(h>>>2|0)|0;f=((d<<1)+6^-1)&6;if(h){i=d&-2;while(1){t[g-1|0]=w[e|0]>>>f&3;g=g-2|0;h=e;e=(f|0)==6;h=h-e|0;f=e?0:f+2|0;t[g|0]=w[h|0]>>>f&3;e=(f|0)==6;f=e?0:f+2|0;e=h-e|0;i=i-2|0;if(i){continue}break}}if(!(d&1)){break Cb}t[g-1|0]=w[e|0]>>>f&3;break Cb;case 3:break Db;default:break Cb}}if(!d){break Cb}g=d+e|0;f=d<<2&4;h=d-1|0;e=e+(h>>>1|0)|0;if(h){i=d&-2;while(1){t[g-1|0]=w[e|0]>>>f&15;g=g-2|0;h=(f|0)==4;e=e-h|0;f=(f|0)!=4;t[g|0]=w[e|0]>>>(f<<2)&15;e=e-f|0;f=h<<2;i=i-2|0;if(i){continue}break}}if(!(d&1)){break Cb}t[g-1|0]=w[e|0]>>>f&15}t[k+9|0]=8;f=w[k+10|0];t[k+11|0]=f<<3;v[k+4>>2]=B(d,f)}d=v[a+208>>2]}if(d&1){yT(k,v[a+356>>2]+1|0);d=v[a+208>>2]}if(d&65536){CT(k,v[a+356>>2]+1|0);d=v[a+208>>2]}if(d&32768){d=v[a+356>>2]+1|0;j=v[a+204>>2];g=0;i=x[a+416>>1];f=i>>>8|0;h=v[k>>2];Eb:{Fb:{Gb:{switch(w[k+8|0]){case 0:Hb:{switch(w[k+9|0]-8|0){case 0:e=d+h|0;if(j&128){d=e+h|0;j=2;Ib:{if(h>>>0<2){break Ib}g=h-1|0;f=g&3;if(h-2>>>0>=3){g=g&-4;while(1){t[d-1|0]=i;l=w[e-1|0];t[d-3|0]=i;t[d-2|0]=l;l=w[e-2|0];t[d-5|0]=i;t[d-4|0]=l;l=w[e-3|0];t[d-7|0]=i;t[d-6|0]=l;d=d-8|0;e=e-4|0;t[d|0]=w[e|0];g=g-4|0;if(g){continue}break}}if(!f){break Ib}while(1){t[d-1|0]=i;d=d-2|0;e=e-1|0;t[d|0]=w[e|0];f=f-1|0;if(f){continue}break}}t[d-1|0]=i;l=1;m=16;break Fb}l=1;m=16;j=2;if(!h){break Fb}g=h&3;d=e+h|0;Jb:{if(h-1>>>0<3){f=d;break Jb}n=h&-4;while(1){f=w[e-1|0];t[d-2|0]=i;t[d-1|0]=f;f=w[e-2|0];t[d-4|0]=i;t[d-3|0]=f;f=w[e-3|0];t[d-6|0]=i;t[d-5|0]=f;e=e-4|0;p=w[e|0];f=d-8|0;t[f|0]=i;t[d-7|0]=p;d=f;n=n-4|0;if(n){continue}break}}if(!g){break Fb}while(1){e=e-1|0;n=w[e|0];d=f-2|0;t[d|0]=i;t[f-1|0]=n;f=d;g=g-1|0;if(g){continue}break};break Fb;case 8:break Hb;default:break Eb}}e=d;d=h<<1;e=e+d|0;if(j&128){d=d+e|0;j=2;Kb:{if(h>>>0<2){break Kb}g=h-1|0;l=g&1;if((h|0)!=2){g=g&-2;while(1){t[d-2|0]=f;t[d-1|0]=i;t[d-3|0]=w[e-1|0];m=w[e-2|0];t[d-5|0]=i;t[d-4|0]=m;t[d-6|0]=f;t[d-7|0]=w[e-3|0];d=d-8|0;e=e-4|0;t[d|0]=w[e|0];g=g-2|0;if(g){continue}break}}if(!l){break Kb}t[d-2|0]=f;t[d-1|0]=i;t[d-3|0]=w[e-1|0];d=d-4|0;t[d|0]=w[e-2|0]}t[d-2|0]=f;t[d-1|0]=i;m=32;l=2;break Fb}m=32;if(h){Lb:{d=d+e|0;if((h|0)!=1){g=h&-2;while(1){t[d-1|0]=w[e-1|0];j=w[e-2|0];t[d-3|0]=i;t[d-2|0]=j;t[d-4|0]=f;t[d-5|0]=w[e-3|0];e=e-4|0;j=w[e|0];t[d-7|0]=i;t[d-6|0]=j;d=d-8|0;t[d|0]=f;g=g-2|0;if(g){continue}break}}if(!(h&1)){break Lb}t[d-1|0]=w[e-1|0];e=w[e-2|0];t[d-3|0]=i;t[d-2|0]=e;t[d-4|0]=f}}j=2;l=2;break Fb;case 2:break Gb;default:break Eb}}Mb:{switch(w[k+9|0]-8|0){case 0:e=d+B(h,3)|0;if(j&128){d=e+h|0;l=2;if(h>>>0>=2){f=1;while(1){t[d-1|0]=i;t[d-2|0]=w[e-1|0];t[d-3|0]=w[e-2|0];d=d-4|0;e=e-3|0;t[d|0]=w[e|0];f=f+1|0;if((h|0)!=(f|0)){continue}break}}t[d-1|0]=i;m=32;j=4;break Fb}l=2;m=32;j=4;if(!h){break Fb}d=e+h|0;f=0;while(1){t[d-1|0]=w[e-1|0];t[d-2|0]=w[e-2|0];e=e-3|0;n=w[e|0];g=d-4|0;t[g|0]=i;t[d-3|0]=n;d=g;f=f+1|0;if((h|0)!=(f|0)){continue}break};break Fb;case 8:break Mb;default:break Eb}}e=d+B(h,6)|0;if(j&128){g=1;d=(h<<1)+e|0;if(h>>>0>=2){while(1){t[d-2|0]=f;t[d-1|0]=i;t[d-3|0]=w[e-1|0];t[d-4|0]=w[e-2|0];t[d-5|0]=w[e-3|0];t[d-6|0]=w[e-4|0];t[d-7|0]=w[e-5|0];d=d-8|0;e=e-6|0;t[d|0]=w[e|0];g=g+1|0;if((h|0)!=(g|0)){continue}break}}t[d-2|0]=f;t[d-1|0]=i;l=3;m=64;j=4;break Fb}l=3;m=64;j=4;if(!h){break Fb}d=(h<<1)+e|0;while(1){t[d-1|0]=w[e-1|0];t[d-2|0]=w[e-2|0];t[d-3|0]=w[e-3|0];t[d-4|0]=w[e-4|0];t[d-5|0]=w[e-5|0];e=e-6|0;n=w[e|0];t[d-7|0]=i;t[d-6|0]=n;d=d-8|0;t[d|0]=f;g=g+1|0;if((h|0)!=(g|0)){continue}break}}t[k+11|0]=m;t[k+10|0]=j;v[k+4>>2]=h<>2]}if(d&524288){d=v[a+356>>2]+1|0;f=v[k>>2];Nb:{Ob:{switch(w[k+8|0]-4|0){case 2:if(w[k+9|0]==8){if(!f){break Nb}g=f&3;d=d+v[k+4>>2]|0;if(f-1>>>0>=3){f=f&-4;while(1){e=d-1|0;t[e|0]=w[e|0]^-1;e=d-5|0;t[e|0]=w[e|0]^-1;e=d-9|0;t[e|0]=w[e|0]^-1;e=d-13|0;t[e|0]=w[e|0]^-1;d=d-16|0;f=f-4|0;if(f){continue}break}}if(!g){break Nb}while(1){f=d-1|0;t[f|0]=w[f|0]^-1;d=d-4|0;g=g-1|0;if(g){continue}break}break Nb}if(!f){break Nb}d=d+v[k+4>>2]|0;if((f|0)!=1){g=f&-2;while(1){e=d-1|0;t[e|0]=w[e|0]^-1;e=d-2|0;t[e|0]=w[e|0]^-1;e=d-9|0;t[e|0]=w[e|0]^-1;e=d-10|0;t[e|0]=w[e|0]^-1;d=d-16|0;g=g-2|0;if(g){continue}break}}if(!(f&1)){break Nb}f=d-1|0;t[f|0]=w[f|0]^-1;d=d-2|0;t[d|0]=w[d|0]^-1;break Nb;case 0:break Ob;default:break Nb}}if(w[k+9|0]==8){if(!f){break Nb}g=f&3;d=d+v[k+4>>2]|0;if(f-1>>>0>=3){f=f&-4;while(1){e=d-1|0;t[e|0]=w[e|0]^-1;e=d-3|0;t[e|0]=w[e|0]^-1;e=d-5|0;t[e|0]=w[e|0]^-1;e=d-7|0;t[e|0]=w[e|0]^-1;d=d-8|0;f=f-4|0;if(f){continue}break}}if(!g){break Nb}while(1){f=d-1|0;t[f|0]=w[f|0]^-1;d=d-2|0;g=g-1|0;if(g){continue}break}break Nb}if(!f){break Nb}d=d+v[k+4>>2]|0;if((f|0)!=1){g=f&-2;while(1){e=d-1|0;t[e|0]=w[e|0]^-1;e=d-2|0;t[e|0]=w[e|0]^-1;e=d-5|0;t[e|0]=w[e|0]^-1;e=d-6|0;t[e|0]=w[e|0]^-1;d=d-8|0;g=g-2|0;if(g){continue}break}}if(!(f&1)){break Nb}f=d-1|0;t[f|0]=w[f|0]^-1;d=d-2|0;t[d|0]=w[d|0]^-1}d=v[a+208>>2]}if(d&131072){d=v[a+356>>2]+1|0;g=0;f=v[k>>2];Pb:{Qb:{switch(w[k+8|0]-4|0){case 2:if(w[k+9|0]==8){if(!f){break Pb}d=d+v[k+4>>2]|0;if((f|0)!=1){g=f&-2;while(1){e=d-1|0;h=w[e|0];j=e;e=d-2|0;t[j|0]=w[e|0];j=d-3|0;i=w[j|0];n=j;j=d-4|0;t[n|0]=w[j|0];t[e|0]=i;t[j|0]=h;e=d-5|0;h=w[e|0];j=e;e=d-6|0;t[j|0]=w[e|0];j=e;e=d-7|0;t[j|0]=w[e|0];d=d-8|0;t[e|0]=w[d|0];t[d|0]=h;g=g-2|0;if(g){continue}break}}if(!(f&1)){break Pb}f=d-1|0;e=w[f|0];g=f;f=d-2|0;t[g|0]=w[f|0];g=d-3|0;h=w[g|0];d=d-4|0;t[g|0]=w[d|0];t[f|0]=h;t[d|0]=e;break Pb}if(!f){break Pb}d=d+v[k+4>>2]|0;while(1){e=d-2|0;j=w[e|0]|w[e+1|0]<<8;h=d-4|0;i=w[h|0]|w[h+1|0]<<8;t[e|0]=i;t[e+1|0]=i>>>8;e=d-6|0;i=w[e|0]|w[e+1|0]<<8;t[h|0]=i;t[h+1|0]=i>>>8;d=d-8|0;h=w[d|0]|w[d+1|0]<<8;t[e|0]=h;t[e+1|0]=h>>>8;t[d|0]=j;t[d+1|0]=j>>>8;g=g+1|0;if((f|0)!=(g|0)){continue}break};break Pb;case 0:break Qb;default:break Pb}}if(w[k+9|0]==8){if(!f){break Pb}g=f&3;d=d+v[k+4>>2]|0;if(f-1>>>0>=3){f=f&-4;while(1){e=d-1|0;h=w[e|0];j=e;e=d-2|0;t[j|0]=w[e|0];t[e|0]=h;e=d-3|0;h=w[e|0];j=e;e=d-4|0;t[j|0]=w[e|0];t[e|0]=h;e=d-5|0;h=w[e|0];j=e;e=d-6|0;t[j|0]=w[e|0];t[e|0]=h;e=d-7|0;h=w[e|0];d=d-8|0;t[e|0]=w[d|0];t[d|0]=h;f=f-4|0;if(f){continue}break}}if(!g){break Pb}while(1){f=d-1|0;e=w[f|0];d=d-2|0;t[f|0]=w[d|0];t[d|0]=e;g=g-1|0;if(g){continue}break}break Pb}if(!f){break Pb}d=d+v[k+4>>2]|0;if((f|0)!=1){g=f&-2;while(1){e=d-4|0;h=C3a(w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24),16);t[e|0]=h;t[e+1|0]=h>>>8;t[e+2|0]=h>>>16;t[e+3|0]=h>>>24;d=d-8|0;e=C3a(w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24),16);t[d|0]=e;t[d+1|0]=e>>>8;t[d+2|0]=e>>>16;t[d+3|0]=e>>>24;g=g-2|0;if(g){continue}break}}if(!(f&1)){break Pb}d=d-4|0;f=C3a(w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24),16);t[d|0]=f;t[d+1|0]=f>>>8;t[d+2|0]=f>>>16;t[d+3|0]=f>>>24}d=v[a+208>>2]}if(d&16){FT(k,v[a+356>>2]+1|0);d=v[a+208>>2]}if(d&1048576){d=v[a+184>>2];if(d){Qa[d|0](a,k,v[a+356>>2]+1|0)}d=w[a+196|0];if(d){t[k+9|0]=d}d=w[a+197|0];Rb:{if(!d){d=w[k+10|0];break Rb}t[k+10|0]=d}e=B(w[k+9|0],d);t[k+11|0]=e;f=v[k>>2];d=k;e=e&255;Sb:{if(e>>>0>=8){f=B(f,e>>>3|0);break Sb}f=B(e,f)+7>>>3|0}v[d+4>>2]=f}break na}dc(a,28351);L()}dc(a,29765);L()}dc(a,31581);L()}dc(a,33823);L()}}d=w[k+11|0];f=w[a+409|0];Tb:{if(!f){t[a+409|0]=d;if(d>>>0<=w[a+408|0]){break Tb}dc(a,31277);L()}if((d|0)!=(f|0)){break a}}Ub:{Vb:{if(!w[a+398|0]){break Vb}f=v[a+208>>2];if(!(f&2)){break Vb}m=w[a+399|0];if(m>>>0<=5){n=Ma-16|0;Ma=n;l=v[a+356>>2]+1|0;if(!(!l|!k)){d=v[(m<<2)+76064>>2];g=v[k>>2];j=B(d,g);Wb:{Xb:{Yb:{Zb:{_b:{e=w[k+11|0];switch(e-1|0){case 3:break Yb;case 1:break Zb;case 0:break _b;default:break Xb}}h=7;p=g-1|0;s=p&7;$b:{if(f&65536){e=j-1&7;f=-1;break $b}z=7;s=s^7;h=0;e=0-j&7;f=1}if(!g){break Wb}i=l+(j-1>>>3|0)|0;l=l+(p>>>3|0)|0;d=(d|0)>1?d:1;g=d&2147483646;p=d&1;q=(m|0)==6;while(1){m=w[l|0]>>>s&1;d=g;if(!q){while(1){t[i|0]=w[i|0]&32639>>>7-e|m<>>7-e|m<>>7-e|m<>>0>2]){continue}break}break Wb}h=6;s=(g<<1)+6&6;ac:{if(f&65536){e=(j<<1)+6&6;f=-2;break ac}z=6;s=s^6;h=0;e=((j<<1)+6^-1)&6;f=2}if(!g){break Wb}i=l+(j-1>>>2|0)|0;l=l+(g-1>>>2|0)|0;d=(d|0)>1?d:1;g=d&2147483646;p=d&1;q=(m|0)==6;while(1){m=w[l|0]>>>s&3;d=g;if(!q){while(1){t[i|0]=w[i|0]&16191>>>6-e|m<>>6-e|m<>>6-e|m<>>0>2]){continue}break}break Wb}h=4;s=g<<2&4;bc:{if(f&65536){s=s^4;e=(j<<2^-1)&4;f=-4;break bc}z=4;h=0;e=j<<2&4;f=4}if(!g){break Wb}i=l+(j-1>>>1|0)|0;l=l+(g-1>>>1|0)|0;d=(d|0)>1?d:1;g=d&2147483646;p=d&1;q=(m|0)==6;while(1){m=w[l|0]>>>s&15;d=g;if(!q){while(1){t[i|0]=w[i|0]&3855>>>4-e|m<>>4-e|m<>>4-e|m<>>0>2]){continue}break}break Wb}if(!g){break Wb}i=e>>>3|0;m=0-i|0;f=(d|0)>1?d:1;d=f&2147483644;e=f&3;z=l+B(i,g-1|0)|0;h=l+B(i,j-1|0)|0;l=f-1>>>0<3;while(1){cb(n+8|0,z,i);f=d;if(!l){while(1){g=n+8|0;h=cb(cb(cb(cb(h,g,i)+m|0,g,i)+m|0,g,i)+m|0,g,i)+m|0;f=f-4|0;if(f){continue}break}}f=e;if(e){while(1){h=cb(h,n+8|0,i)+m|0;f=f-1|0;if(f){continue}break}}z=m+z|0;s=s+1|0;if(s>>>0>2]){continue}break}}v[k>>2]=j;d=k;e=d;f=w[d+11|0];cc:{if(f>>>0>=8){d=B(j,f>>>3|0);break cc}d=B(f,j)+7>>>3|0}v[e+4>>2]=d}Ma=n+16|0}if(c){dm(a,c,1)}if(!b){break Ub}dm(a,b,0);break Ub}if(b){dm(a,b,-1)}if(!c){break Ub}dm(a,c,-1)}ko(a);b=v[a+520>>2];if(!b){break d}Qa[b|0](a,v[a+344>>2],w[a+399|0])}Ma=k+16|0;return}dc(a,23227);L()}dc(a,29996);L()}dc(a,33022);L()}function Et(a,b){var 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=C(0),D=0,E=C(0),F=C(0),G=C(0),H=C(0),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,_=0,aa=0,ba=0,ca=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=C(0);c=Ma-928|0;Ma=c;v[c+796>>2]=50462976;d=v[49859];v[c+200>>2]=v[49858];v[c+204>>2]=d;d=v[49857];v[c+192>>2]=v[49856];v[c+196>>2]=d;d=v[49855];v[c+184>>2]=v[49854];v[c+188>>2]=d;d=v[49853];v[c+176>>2]=v[49852];v[c+180>>2]=d;v[c+168>>2]=0;v[c+172>>2]=0;v[c+160>>2]=0;v[c+164>>2]=0;v[c+152>>2]=0;v[c+156>>2]=0;v[c+144>>2]=0;v[c+148>>2]=0;d=1;r=v[a+26104>>2];a:{if(r>>>0>9){break a}v[a+26104>>2]=r+1;v[c+416>>2]=0;v[c+420>>2]=0;v[c+424>>2]=0;v[c+428>>2]=0;v[c+432>>2]=0;v[c+436>>2]=0;v[c+448>>2]=0;v[c+452>>2]=0;v[c+440>>2]=0;v[c+444>>2]=1072693248;v[c+456>>2]=0;v[c+460>>2]=0;v[c+464>>2]=0;v[c+468>>2]=0;v[c+472>>2]=0;v[c+476>>2]=0;v[c+488>>2]=0;v[c+492>>2]=0;v[c+480>>2]=0;v[c+484>>2]=1072693248;v[c+496>>2]=0;v[c+500>>2]=0;v[c+504>>2]=0;v[c+508>>2]=0;v[c+512>>2]=0;v[c+516>>2]=0;v[c+520>>2]=0;v[c+524>>2]=1072693248;v[c+408>>2]=0;v[c+412>>2]=0;v[c+400>>2]=0;v[c+404>>2]=1072693248;u[c+528>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+528|0,1,2)|0;e=w[c+528|0];if(x[a+25204>>1]==18761){e=e|w[c+529|0]<<8}else{e=w[c+529|0]|e<<8}f=e&65535;if(f>>>0>512){break a}b:{c:{d:{if(f){ka=a+25221|0;la=a+25925|0;ma=a+25861|0;O=a+25797|0;q=a+59276|0;na=a+59272|0;ga=a+59268|0;n=a+25733|0;ha=a+26484|0;oa=a+59254|0;pa=c+208|4;qa=c+216|0;ra=c+220|0;sa=c+224|0;ta=c+228|0;I=a+26482|0;P=a+59388|0;Q=a+59392|0;R=a+59380|0;S=a+59384|0;T=a+59372|0;U=a+59376|0;V=a+59364|0;W=a+59368|0;X=a+59356|0;Y=a+59360|0;_=a+59348|0;aa=a+59352|0;D=e&65535;M=1;J=1;N=1;l=16;while(1){Ft(a,b,c+892|0,c+888|0,c+884|0,c+880|0);D=D-1|0;m=a;e:{f:{g:{h:{j=a;i:{j:{d=a;k:{l:{i=a;m:{n:{f=a;o:{p:{q:{r:{e=a;s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{V:{W:{X:{Y:{Z:{_:{$:{aa:{ba:{ca:{da:{ea:{fa:{ga:{ha:{ia:{ja:{ka:{la:{ma:{na:{oa:{pa:{qa:{ra:{sa:{ta:{ua:{va:{wa:{xa:{ya:{za:{Aa:{Ba:{Ca:{Da:{Ea:{Fa:{Ga:{Ha:{Ia:{Ja:{Ka:{La:{Ma:{h=v[c+892>>2];if((h|0)<=33404){if((h|0)<=512){Na:{switch(h-256|0){case 35:break H;case 144:break na;case 74:break oa;case 68:break pa;case 67:break qa;case 66:break ra;case 59:break sa;case 50:break ta;case 49:break ua;case 23:break va;case 21:break wa;case 18:break xa;case 17:break ya;case 24:break za;case 16:break Aa;case 15:break Ba;case 14:break Ca;case 6:break Da;case 3:break Ea;case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 19:case 20:case 22:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 48:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 58:case 60:case 61:case 62:case 63:case 64:case 65:case 69:case 70:case 71:case 72:case 73:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 91:case 92:case 93:case 94:case 95:case 96:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:case 123:case 124:case 125:case 126:case 127:case 128:case 129:case 130:case 131:case 132:case 133:case 134:case 135:case 136:case 137:case 138:case 139:case 140:case 141:case 142:case 143:break e;case 2:break Fa;case 1:break Ga;case 0:break Ha;default:break Na}}switch(h-2|0){case 9:break ua;case 1:break Ga;case 0:break Ha;case 44:break Ia;case 37:break Ja;case 34:case 35:case 36:break Ka;case 21:break La;case 15:case 16:break Ma;default:break e}}if((h|0)<=29216){Oa:{switch(h-513|0){case 1:break va;case 0:break ya;default:break Oa}}Pa:{switch(h-29184|0){case 1:break ja;case 0:break ka;default:break Pa}}if((h|0)!=28688){break e}u[c+208>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;d=w[c+208|0];if(x[a+25204>>1]!=18761){break ma}d=d|w[c+209|0]<<8;break la}Qa:{switch(h-29443|0){case 16:break ga;case 0:break ha;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break e;default:break Qa}}if((h|0)==29217){break ia}if((h|0)!=29264){break e}TK(a,Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0);u[a+26306>>1]=0;break e}if((h|0)<=50453){if((h|0)<=34664){Ra:{switch(h-33405|0){case 32:break ba;case 29:break ca;case 19:break da;case 17:break ea;case 0:break fa;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 18:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 30:case 31:break e;default:break Ra}}switch(h-34303|0){case 0:break Z;case 7:break _;case 4:break $;case 3:break aa;default:break e}}if((h|0)<=37385){Sa:{switch(h-34665|0){case 10:break W;case 0:break Y;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break e;default:break Sa}}if((h|0)==34853){break X}if((h|0)!=37122){break e}v[c+208>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;d=w[c+208|0];if(x[a+25204>>1]!=18761){break V}v[a+26024>>2]=d|w[c+209|0]<<8|w[c+210|0]<<16|w[c+211|0]<<24;break e}Ta:{switch(h-37386|0){case 14:break S;case 7:break T;case 0:break U;case 1:case 2:case 3:case 4:case 5:case 6:case 8:case 9:case 10:case 11:case 12:case 13:break e;default:break Ta}}switch(h-46275|0){case 4:break Q;case 0:break R;default:break e}}Ua:{switch(h-50706|0){default:Va:{switch(h-50454|0){case 5:break N;case 4:break O;case 0:case 1:break P;case 2:case 3:break e;default:break Va}}switch(h-64772|0){case 0:break w;case 5:break ea;default:break e};case 21:i=v[a+26336>>2];break B;case 22:break Ua;case 123:break x;case 46:break y;case 34:break z;case 23:break A;case 17:case 18:break C;case 15:case 16:break D;case 12:break E;case 11:break F;case 8:case 9:case 10:break G;case 6:break H;case 5:break I;case 4:break L;case 0:break M;case 125:break W;case 1:case 2:case 3:case 7:case 13:case 14:case 19:case 20:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 47:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 91:case 92:case 93:case 94:case 95:case 96:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:case 124:break e}}e=0;if(v[a+26336>>2]<=0){break e}while(1){va=(c+144|0)+(e<<3)|0,wa=Kd(a,v[c+888>>2]),A[va>>3]=wa;e=e+1|0;if((e|0)>2]){continue}break}break e}if(v[c+888>>2]!=3|v[c+884>>2]!=1){break e}u[c+208>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];f=((h<<3)+a|0)+59132|0;if(x[a+25204>>1]==18761){d=e|w[c+209|0]<<8}else{d=w[c+209|0]|e<<8}z[f>>2]=C((d&65535)>>>0)*C(.00390625);break e}if(v[c+888>>2]!=3){break e}u[c+208>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];d=a;if(x[a+25204>>1]==18761){e=e|w[c+209|0]<<8}else{e=w[c+209|0]|e<<8}z[d+26e3>>2]=(e&65535)>>>0;break e}u[c+208>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];f=((h<<2)+a|0)+59124|0;if(x[a+25204>>1]==18761){d=e|w[c+209|0]<<8}else{d=w[c+209|0]|e<<8}z[f>>2]=(d&65535)>>>0;break e}if(y[c+884>>2]<50|z[ga>>2]!=C(0)){break e}Qa[v[v[a>>2]+8>>2]](v[a+4>>2],12,1)|0;u[c+208>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];d=a;if(x[a+25204>>1]==18761){e=e|w[c+209|0]<<8}else{e=w[c+209|0]|e<<8}z[d+59268>>2]=(e&65535)>>>0;u[c+208>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;d=w[c+208|0];if(x[a+25204>>1]==18761){break r}d=w[c+209|0]|d<<8;break q}if(v[c+888>>2]!=7){break e}if((Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0)!=255){break e}if((Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0)!=216){break e}d=(Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0)-2|0;v[a+26056>>2]=d;v[a+26060>>2]=d>>31;v[a+26080>>2]=v[c+884>>2];break e}f=(B(r,36)+a|0)+24816|0;Wa:{if(v[c+888>>2]==3){u[c+208>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];d=e|w[c+209|0]<<8;if(x[a+25204>>1]==18761){break Wa}d=w[c+209|0]|e<<8;break Wa}v[c+208>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;e=w[c+208|0];d=e|w[c+209|0]<<8|w[c+210|0]<<16|w[c+211|0]<<24;if(x[a+25204>>1]==18761){break Wa}d=w[c+211|0]|(w[c+209|0]<<16|e<<24|w[c+210|0]<<8)}v[f>>2]=d;break e}f=(B(r,36)+a|0)+24820|0;Xa:{if(v[c+888>>2]==3){u[c+208>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];d=e|w[c+209|0]<<8;if(x[a+25204>>1]==18761){break Xa}d=w[c+209|0]|e<<8;break Xa}v[c+208>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;e=w[c+208|0];d=e|w[c+209|0]<<8|w[c+210|0]<<16|w[c+211|0]<<24;if(x[a+25204>>1]==18761){break Xa}d=w[c+211|0]|(w[c+209|0]<<16|e<<24|w[c+210|0]<<8)}v[f>>2]=d;break e}d=B(r,36)+a|0;v[d+24844>>2]=v[c+884>>2]&7;u[c+208>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];f=d+24824|0;if(x[a+25204>>1]==18761){d=e|w[c+209|0]<<8}else{d=w[c+209|0]|e<<8}v[f>>2]=d&65535;break e}u[c+208>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];f=(B(r,36)+a|0)+24828|0;if(x[a+25204>>1]==18761){d=e|w[c+209|0]<<8}else{d=w[c+209|0]|e<<8}v[f>>2]=d&65535;break e}u[c+208>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];f=(B(r,36)+a|0)+24832|0;if(x[a+25204>>1]==18761){d=e|w[c+209|0]<<8}else{d=w[c+209|0]|e<<8}v[f>>2]=d&65535;break e}Qa[v[v[a>>2]>>2]](v[a+4>>2],ka,512,1)|0;break e}Qa[v[v[a>>2]+16>>2]](v[a+4>>2],n,64)|0;break e}Qa[v[v[a>>2]+16>>2]](v[a+4>>2],O,64)|0;break e}if(v[c+888>>2]!=4){break e}v[a+26300>>2]=8200;v[a+190476>>2]=943}v[c+208>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;e=w[c+208|0];f=B(r,36)+a|0;i=f+24836|0;if(x[a+25204>>1]==18761){d=e|w[c+209|0]<<8|w[c+210|0]<<16|w[c+211|0]<<24}else{d=w[c+211|0]|(w[c+209|0]<<16|e<<24|w[c+210|0]<<8)}d=d+b|0;v[i>>2]=d;e=f+24824|0;if(v[e>>2]){break e}Qa[v[v[a>>2]+8>>2]](v[a+4>>2],d,0)|0;if(!dp(a,c- -64|0,1)){break e}v[f+24828>>2]=6;d=v[c+76>>2];v[f+24816>>2]=v[c+72>>2]<<((d|0)==2);v[f+24820>>2]=v[c+68>>2];v[e>>2]=v[c+64>>2];v[f+24844>>2]=d;break e}u[c+208>>1]=65535;d=c+208|0;Qa[v[v[a>>2]>>2]](v[a+4>>2],d,1,2)|0;v[(B(r,36)+a|0)+24840>>2]=t[(w[(x[a+25204>>1]==18761?d:d|1)|0]&7)+68500|0]-48;break e}e=(B(r,36)+a|0)+24844|0;Ya:{if(v[c+888>>2]==3){u[c+208>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;d=w[c+208|0];d=x[a+25204>>1]==18761?d:w[c+209|0]|d<<8;break Ya}v[c+208>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;d=w[c+208|0];d=x[a+25204>>1]==18761?d:w[c+211|0]|d<<24}v[e>>2]=d&7;break e}v[c+208>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;e=w[c+208|0];f=(B(r,36)+a|0)+24848|0;if(x[a+25204>>1]==18761){d=e|w[c+209|0]<<8|w[c+210|0]<<16|w[c+211|0]<<24}else{d=w[c+211|0]|(w[c+209|0]<<16|e<<24|w[c+210|0]<<8)}v[f>>2]=d;break e}d=c+816|0;Qa[v[v[a>>2]+16>>2]](v[a+4>>2],d,64)|0;Za:{if(!Jb(d,68530,5)){break Za}if(!Jb(c+816|0,68675,5)){break Za}if(!Jb(c+816|0,68733,5)){break Za}if(!Jb(c+816|0,68887,6)){break Za}if(!Jb(c+816|0,68982,10)){break Za}if(Jb(c+816|0,69081,27)){break e}}v[a+26148>>2]=0;break e}t[c+915|0]=0;d=c+896|0;Qa[v[v[a>>2]>>2]](v[a+4>>2],d,19,1)|0;v[c+248>>2]=0;v[c+240>>2]=0;v[c+244>>2]=0;v[c+232>>2]=0;v[c+236>>2]=0;v[c+224>>2]=0;v[c+228>>2]=0;v[c+216>>2]=0;v[c+220>>2]=0;v[c+16>>2]=pa;v[c+208>>2]=0;v[c+212>>2]=0;v[c>>2]=ta;v[c+4>>2]=sa;v[c+8>>2]=ra;v[c+12>>2]=qa;v[c+20>>2]=c+208;if((df(d,64727,c)|0)!=6){break e}v[c+228>>2]=v[c+228>>2]-1900;v[c+224>>2]=v[c+224>>2]-1;if((Z(c+208|0)|0)<1){break e}va=a,xa=Z(c+208|0)|0,v[va+26016>>2]=xa;break e}Qa[v[v[a>>2]>>2]](v[a+4>>2],la,64,1)|0;break e}if(v[c+888>>2]==3){u[c+208>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];d=a;if(x[a+25204>>1]==18761){e=e|w[c+209|0]<<8}else{e=w[c+209|0]|e<<8}v[d+26164>>2]=e&65535;break e}v[c+208>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;d=w[c+208|0];if(x[a+25204>>1]==18761){v[a+26164>>2]=d|w[c+209|0]<<8|w[c+210|0]<<16|w[c+211|0]<<24;break e}v[a+26164>>2]=w[c+211|0]|(w[c+209|0]<<16|d<<24|w[c+210|0]<<8);break e}if(v[c+888>>2]==3){u[c+208>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];d=a;if(x[a+25204>>1]==18761){e=e|w[c+209|0]<<8}else{e=w[c+209|0]|e<<8}v[d+26168>>2]=e&65535;break e}v[c+208>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;d=w[c+208|0];if(x[a+25204>>1]==18761){v[a+26168>>2]=d|w[c+209|0]<<8|w[c+210|0]<<16|w[c+211|0]<<24;break e}v[a+26168>>2]=w[c+211|0]|(w[c+209|0]<<16|d<<24|w[c+210|0]<<8);break e}d=v[c+884>>2];if(d>>>0<=1){v[c+208>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;e=w[c+208|0];f=(B(r,36)+a|0)+24836|0;if(x[a+25204>>1]==18761){d=e|w[c+209|0]<<8|w[c+210|0]<<16|w[c+211|0]<<24}else{d=w[c+211|0]|(w[c+209|0]<<16|e<<24|w[c+210|0]<<8)}v[f>>2]=d;break e}va=(B(r,36)+a|0)+24836|0,xa=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0,v[va>>2]=xa;if((d|0)!=4){break e}v[a+26148>>2]=5;v[a+190476>>2]=944;break e}if(!(hb(O,69254)|v[(B(r,36)+a|0)+24816>>2]!=3872)){v[a+190476>>2]=945;va=a,xa=Im(a)+b|0,v[va+26048>>2]=xa;v[a+26052>>2]=0;r=r+1|0;break e}f=-1;e=v[c+884>>2];if(!e){break f}while(1){m=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;j=v[a>>2];i=v[j+8>>2];d=v[a+4>>2];v[c+208>>2]=-1;Qa[v[j>>2]](d,c+208|0,1,4)|0;j=w[c+208|0];e=e-1|0;if(x[a+25204>>1]==18761){j=j|w[c+209|0]<<8|w[c+210|0]<<16|w[c+211|0]<<24}else{j=w[c+211|0]|(w[c+209|0]<<16|j<<24|w[c+210|0]<<8)}Qa[i|0](d,j+b|0,0)|0;if(Et(a,b)){f=e;break f}Qa[v[v[a>>2]+8>>2]](v[a+4>>2],m+4|0,0)|0;if(e){continue}break}break f}v[a+26124>>2]=4095;t[a+25733|0]=83;t[a+25734|0]=97;t[a+25735|0]=114;t[a+25736|0]=110;t[a+25737|0]=111;t[a+25738|0]=102;t[a+25739|0]=102;t[a+25740|0]=0;break e}d=w[c+209|0]|d<<8}u[c+208>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=d>>>2|0;d=w[c+208|0];if(x[a+25204>>1]==18761){break t}d=w[c+209|0]|d<<8;break s}v[c+208>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;d=w[c+208|0];if(x[a+25204>>1]==18761){ba=d|w[c+209|0]<<8|w[c+210|0]<<16|w[c+211|0]<<24;break e}ba=w[c+211|0]|(w[c+209|0]<<16|d<<24|w[c+210|0]<<8);break e}v[c+208>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;d=w[c+208|0];if(x[a+25204>>1]==18761){K=d|w[c+209|0]<<8|w[c+210|0]<<16|w[c+211|0]<<24;break e}K=w[c+211|0]|(w[c+209|0]<<16|d<<24|w[c+210|0]<<8);break e}v[c+208>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;d=w[c+208|0];if(x[a+25204>>1]==18761){ia=d|w[c+209|0]<<8|w[c+210|0]<<16|w[c+211|0]<<24;break e}ia=w[c+211|0]|(w[c+209|0]<<16|d<<24|w[c+210|0]<<8);break e}u[c+208>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;d=w[c+208|0];if(x[a+25204>>1]==18761){break j}d=w[c+209|0]|d<<8;break i}u[c+208>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;d=w[c+208|0];if(x[a+25204>>1]==18761){break l}d=w[c+209|0]|d<<8;break k}Qa[v[v[a>>2]+16>>2]](v[a+4>>2],ma,64)|0;break e}d=v[c+884>>2];f=d>>>0<16?d:16;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+800|0,1,f)|0;v[a+26336>>2]=0;d=0;e=0;if((f|0)<1){break J}e=0;o=0;if((f|0)!=1){l=f&30;i=0;while(1){j=c+800|0;h=w[j+e|0];m=1<>>j&1)+(((i^-1)>>>h&1)+d|0)|0;e=e+2|0;o=m|1<>>e&1)+d|0;o=1<>2]=d;_a:{switch(o-56|0){case 0:t[c+798|0]=w[69431];u[c+796>>1]=w[69429]|w[69430]<<8;break K;case 2:break _a;default:break K}}v[c+796>>2]=17040133;break K}f=v[a>>2];e=v[f+8>>2];d=v[a+4>>2];v[c+208>>2]=-1;Qa[v[f>>2]](d,c+208|0,1,4)|0;f=w[c+208|0];if(x[a+25204>>1]==18761){f=f|w[c+209|0]<<8|w[c+210|0]<<16|w[c+211|0]<<24}else{f=w[c+211|0]|(w[c+209|0]<<16|f<<24|w[c+210|0]<<8)}Qa[e|0](d,f+b|0,0)|0;E=C(0);F=C(0);G=C(0);g=Ma-32|0;Ma=g;u[g+28>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],g+28|0,1,2)|0;d=w[g+28|0];if(x[a+25204>>1]==18761){d=d|w[g+29|0]<<8}else{d=w[g+29|0]|d<<8}e=d&65535;if(!(e>>>0>1024|!e)){m=a+26484|0;j=a+26482|0;h=d&65535;i=-2;p=6500;while(1){Ft(a,b,g+24|0,g+20|0,g+16|0,g+12|0);o=v[g+24>>2];$a:{if((o|0)==1020){if(v[g+20>>2]==3){u[g+28>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],g+28|0,1,2)|0;d=w[g+28|0];if(x[a+25204>>1]==18761){d=d|w[g+29|0]<<8}else{d=w[g+29|0]|d<<8}i=d&65535;e=v[g+16>>2];break $a}v[g+28>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],g+28|0,1,4)|0;d=w[g+28|0];if(x[a+25204>>1]==18761){i=d|w[g+29|0]<<8|w[g+30|0]<<16|w[g+31|0]<<24;e=v[g+16>>2];break $a}i=w[g+31|0]|(w[g+29|0]<<16|d<<24|w[g+30|0]<<8);e=v[g+16>>2];break $a}f=a;ab:{bb:{e=v[g+16>>2];if(!((o|0)!=1021|(e|0)!=72)){Qa[v[v[a>>2]+8>>2]](v[a+4>>2],40,1)|0;u[g+28>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],g+28|0,1,2)|0;e=w[g+28|0];d=a;if(x[a+25204>>1]==18761){e=e|w[g+29|0]<<8}else{e=w[g+29|0]|e<<8}z[d+59268>>2]=C(2048)/C((e&65535)>>>0);u[g+28>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],g+28|0,1,2)|0;d=w[g+28|0];if(x[a+25204>>1]==18761){break bb}d=w[g+29|0]|d<<8;break ab}if((o|0)!=2118){break $a}if(v[g+20>>2]==3){u[g+28>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],g+28|0,1,2)|0;d=w[g+28|0];if(x[a+25204>>1]==18761){p=d|w[g+29|0]<<8;break $a}p=w[g+29|0]|d<<8;break $a}v[g+28>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],g+28|0,1,4)|0;d=w[g+28|0];if(x[a+25204>>1]==18761){p=d|w[g+29|0]<<8|w[g+30|0]<<16|w[g+31|0]<<24;break $a}p=w[g+31|0]|(w[g+29|0]<<16|d<<24|w[g+30|0]<<8);break $a}d=d|w[g+29|0]<<8}z[f+59272>>2]=C(2048)/C((d&65535)>>>0);u[g+28>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],g+28|0,1,2)|0;e=w[g+28|0];d=a;if(x[a+25204>>1]!=18761){e=w[g+29|0]|e<<8}else{e=e|w[g+29|0]<<8}z[d+59276>>2]=C(2048)/C((e&65535)>>>0);e=72;i=-2}if((o|0)==(i+2130|0)){d=v[g+20>>2];F=C(Kd(a,d));G=C(Kd(a,d));E=C(Kd(a,d))}if(!((o|0)!=(i+2140|0)|(i|0)<0)){d=v[g+20>>2];L=+(p|0)/100;ca=L*L;s=C(C(C(C(Kd(a,d))+C(0))+C(L*Kd(a,d)))+C(ca*Kd(a,d)));ua=Kd(a,d);k=pd(L,3);z[a+59268>>2]=C(2048)/C(C(s+C(ua*k))*F);va=a,ya=C(C(2048)/C(C(C(C(C(C(Kd(a,d))+C(0))+C(L*Kd(a,d)))+C(ca*Kd(a,d)))+C(k*Kd(a,d)))*G)),z[va+59272>>2]=ya;va=a,ya=C(C(2048)/C(C(C(C(C(C(Kd(a,d))+C(0))+C(L*Kd(a,d)))+C(ca*Kd(a,d)))+C(k*Kd(a,d)))*E)),z[va+59276>>2]=ya}h=h-1|0;cb:{if((o|0)!=6020){if((o|0)!=2317){break cb}Wi(a,m,e>>>0<4096?e:4096);db:{if(e>>>0>4095){break db}d=4095-e|0;f=x[j+(e<<1)>>1];o=0-e&7;if(o){while(1){u[((e<<1)+a|0)+26484>>1]=f;e=e+1|0;o=o-1|0;if(o){continue}break}}if(d>>>0<7){break db}while(1){d=(e<<1)+a|0;u[d+26486>>1]=f;u[d+26484>>1]=f;u[d+26488>>1]=f;u[d+26490>>1]=f;u[d+26492>>1]=f;u[d+26494>>1]=f;u[d+26496>>1]=f;u[d+26498>>1]=f;e=e+8|0;if((e|0)!=4096){continue}break}}v[a+26124>>2]=x[a+34674>>1];break cb}d=a;eb:{if(v[g+20>>2]==3){u[g+28>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],g+28|0,1,2)|0;e=w[g+28|0];f=e|w[g+29|0]<<8;if(x[a+25204>>1]==18761){break eb}f=w[g+29|0]|e<<8;break eb}v[g+28>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],g+28|0,1,4)|0;e=w[g+28|0];f=e|w[g+29|0]<<8|w[g+30|0]<<16|w[g+31|0]<<24;if(x[a+25204>>1]==18761){break eb}f=w[g+31|0]|(w[g+29|0]<<16|e<<24|w[g+30|0]<<8)}z[d+26e3>>2]=f>>>0}Qa[v[v[a>>2]+8>>2]](v[a+4>>2],v[g+12>>2],0)|0;if(h){continue}break}}Ma=g+32|0;break e}va=a,ya=C(Kd(a,v[c+888>>2])),z[va+26004>>2]=ya;break e}va=a,ya=C(Kd(a,v[c+888>>2])),z[va+26008>>2]=ya;break e}u[c+208>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];if(x[a+25204>>1]==18761){break n}e=w[c+209|0]|e<<8;break m}d=c+816|0;Qa[v[v[a>>2]>>2]](v[a+4>>2],d,1,7)|0;if(Jb(d,75267,6)){break e}v[a+26132>>2]=0;v[a+26336>>2]=4;Qa[v[v[a>>2]+32>>2]](v[a+4>>2],67749,aa)|0;Qa[v[v[a>>2]+32>>2]](v[a+4>>2],67749,_)|0;Qa[v[v[a>>2]+32>>2]](v[a+4>>2],67749,Y)|0;Qa[v[v[a>>2]+32>>2]](v[a+4>>2],67749,X)|0;if(v[a+220>>2]){H=z[_>>2];E=z[aa>>2];F=z[X>>2];G=z[Y>>2];s=C(+H+0+ +E+ +F+ +G);z[_>>2]=H/s;z[aa>>2]=E/s;z[X>>2]=F/s;z[Y>>2]=G/s}Qa[v[v[a>>2]+32>>2]](v[a+4>>2],67749,W)|0;Qa[v[v[a>>2]+32>>2]](v[a+4>>2],67749,V)|0;Qa[v[v[a>>2]+32>>2]](v[a+4>>2],67749,U)|0;Qa[v[v[a>>2]+32>>2]](v[a+4>>2],67749,T)|0;if(v[a+220>>2]){H=z[V>>2];E=z[W>>2];F=z[T>>2];G=z[U>>2];s=C(+H+0+ +E+ +F+ +G);z[V>>2]=H/s;z[W>>2]=E/s;z[T>>2]=F/s;z[U>>2]=G/s}Qa[v[v[a>>2]+32>>2]](v[a+4>>2],67749,S)|0;Qa[v[v[a>>2]+32>>2]](v[a+4>>2],67749,R)|0;Qa[v[v[a>>2]+32>>2]](v[a+4>>2],67749,Q)|0;Qa[v[v[a>>2]+32>>2]](v[a+4>>2],67749,P)|0;if(!v[a+220>>2]){break e}H=z[R>>2];E=z[S>>2];F=z[P>>2];G=z[Q>>2];s=C(+H+0+ +E+ +F+ +G);z[R>>2]=H/s;z[S>>2]=E/s;z[P>>2]=F/s;z[Q>>2]=G/s;break e}z3(a,Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0)}t[n+4|0]=w[75336];d=w[75332]|w[75333]<<8|(w[75334]<<16|w[75335]<<24);t[n|0]=d;t[n+1|0]=d>>>8;t[n+2|0]=d>>>16;t[n+3|0]=d>>>24;break e}f=v[a>>2];e=v[f+8>>2];d=v[a+4>>2];v[c+208>>2]=-1;Qa[v[f>>2]](d,c+208|0,1,4)|0;f=w[c+208|0];if(x[a+25204>>1]==18761){f=f|w[c+209|0]<<8|w[c+210|0]<<16|w[c+211|0]<<24}else{f=w[c+211|0]|(w[c+209|0]<<16|f<<24|w[c+210|0]<<8)}Qa[e|0](d,f+b|0,0)|0;g=Ma-128|0;Ma=g;o=Kb(a+25733|0,64864,7);u[g+80>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],g+80|0,1,2)|0;d=w[g+80|0];if(x[a+25204>>1]==18761){d=d|w[g+81|0]<<8}else{d=w[g+81|0]|d<<8}f=d&65535;if(f){h=g+80|4;m=g+88|0;j=g+92|0;i=g+96|0;e=g+100|0;while(1){Ft(a,b,g+44|0,g+40|0,g+36|0,g+32|0);f=f-1|0;fb:{gb:{hb:{ib:{jb:{kb:{lb:{mb:{nb:{d=a;ob:{pb:{qb:{rb:{p=v[g+44>>2];if((p|0)<=37376){sb:{switch(p-33434|0){case 1:case 2:break fb;case 3:break qb;case 0:break rb;default:break sb}}if(p-36867>>>0<2){break nb}if((p|0)!=34855){break fb}u[g+80>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],g+80|0,1,2)|0;p=w[g+80|0];if(x[a+25204>>1]!=18761){break pb}p=p|w[g+81|0]<<8;break ob}if((p|0)<=40961){switch(p-37377|0){case 2:case 3:case 4:case 5:case 6:case 7:case 8:break fb;case 9:break kb;case 1:break lb;case 0:break mb;default:break jb}}switch(p-40962|0){case 1:break hb;case 0:break ib;default:break gb}}va=a,ya=C(Kd(a,v[g+40>>2])),z[va+26004>>2]=ya;break fb}va=a,ya=C(Kd(a,v[g+40>>2])),z[va+26008>>2]=ya;break fb}p=w[g+81|0]|p<<8}z[d+26e3>>2]=(p&65535)>>>0;break fb}t[g+67|0]=0;d=g+48|0;Qa[v[v[a>>2]>>2]](v[a+4>>2],d,19,1)|0;v[g+120>>2]=0;v[g+112>>2]=0;v[g+116>>2]=0;v[g+104>>2]=0;v[g+108>>2]=0;v[g+96>>2]=0;v[g+100>>2]=0;v[g+88>>2]=0;v[g+92>>2]=0;v[g+16>>2]=h;v[g+80>>2]=0;v[g+84>>2]=0;v[g>>2]=e;v[g+4>>2]=i;v[g+8>>2]=j;v[g+12>>2]=m;v[g+20>>2]=g+80;if((df(d,64727,g)|0)!=6){break fb}v[g+100>>2]=v[g+100>>2]-1900;v[g+96>>2]=v[g+96>>2]-1;if((Z(g+80|0)|0)<1){break fb}va=a,xa=Z(g+80|0)|0,v[va+26016>>2]=xa;break fb}k=Kd(a,v[g+40>>2]);if(!(k>-128)){break fb}va=a,ya=C(Ol(-k)),z[va+26004>>2]=ya;break fb}va=a,ya=C(Ol(Kd(a,v[g+40>>2])*.5)),z[va+26008>>2]=ya;break fb}va=a,ya=C(Kd(a,v[g+40>>2])),z[va+26012>>2]=ya;break fb}if((p|0)!=37500){break fb}A3(a,b,0);break fb}if(o){break fb}v[g+80>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],g+80|0,1,4)|0;d=w[g+80|0];if(x[a+25204>>1]==18761){u[a+26306>>1]=d|w[g+81|0]<<8;break fb}u[a+26306>>1]=w[g+83|0]|(d<<24|w[g+82|0]<<8);break fb}if(o){break fb}v[g+80>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],g+80|0,1,4)|0;d=w[g+80|0];if(x[a+25204>>1]==18761){u[a+26304>>1]=d|w[g+81|0]<<8;break fb}u[a+26304>>1]=w[g+83|0]|(d<<24|w[g+82|0]<<8);break fb}if((p|0)!=41730){break fb}v[g+80>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],g+80|0,1,4)|0;d=w[g+80|0];if(x[a+25204>>1]==18761){d=d|w[g+81|0]<<8|w[g+82|0]<<16|w[g+83|0]<<24}else{d=w[g+83|0]|(w[g+81|0]<<16|d<<24|w[g+82|0]<<8)}if((d|0)!=131074){break fb}v[a+26032>>2]=0;va=a,xa=B(Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0,16843009)|v[a+26032>>2],v[va+26032>>2]=xa;va=a,xa=B(Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0,67372036)|v[a+26032>>2],v[va+26032>>2]=xa;va=a,xa=B(Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0,269488144)|v[a+26032>>2],v[va+26032>>2]=xa;va=a,xa=B(Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0,1077952576)|v[a+26032>>2],v[va+26032>>2]=xa}Qa[v[v[a>>2]+8>>2]](v[a+4>>2],v[g+32>>2],0)|0;if(f){continue}break}}Ma=g+128|0;break e}f=v[a>>2];e=v[f+8>>2];d=v[a+4>>2];v[c+208>>2]=-1;Qa[v[f>>2]](d,c+208|0,1,4)|0;f=w[c+208|0];if(x[a+25204>>1]==18761){f=f|w[c+209|0]<<8|w[c+210|0]<<16|w[c+211|0]<<24}else{f=w[c+211|0]|(w[c+209|0]<<16|f<<24|w[c+210|0]<<8)}Qa[e|0](d,f+b|0,0)|0;h=Ma-32|0;Ma=h;u[h+28>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],h+28|0,1,2)|0;d=w[h+28|0];if(x[a+25204>>1]==18761){d=d|w[h+29|0]<<8}else{d=w[h+29|0]|d<<8}f=d&65535;if(f){i=a+26228|0;while(1){Ft(a,b,h+24|0,h+20|0,h+16|0,h+12|0);f=f-1|0;d=a;tb:{ub:{vb:{wb:{xb:{yb:{zb:{Ab:{Bb:{e=v[h+24>>2];switch(e-1|0){case 17:case 28:break yb;case 5:break zb;case 1:case 3:case 6:break Ab;case 0:case 2:case 4:break Bb;default:break tb}}va=((e<<1&-4)+a|0)+26288|0,xa=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0,v[va>>2]=xa;break tb}v[h+28>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],h+28|0,1,4)|0;j=w[h+28|0];e=B(((e&255)>>>0)/3|0,6)<<2;m=e+a|0;o=m+26172|0;if(x[a+25204>>1]==18761){d=j|w[h+29|0]<<8|w[h+30|0]<<16|w[h+31|0]<<24}else{d=w[h+31|0]|(w[h+29|0]<<16|j<<24|w[h+30|0]<<8)}v[o>>2]=d;v[h+28>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],h+28|0,1,4)|0;d=w[h+28|0];if(x[a+25204>>1]==18761){break xb}d=w[h+31|0]|(w[h+29|0]<<16|d<<24|w[h+30|0]<<8);break wb}v[h+28>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],h+28|0,1,4)|0;e=w[h+28|0];if(x[a+25204>>1]==18761){break vb}e=w[h+31|0]|(w[h+29|0]<<16|e<<24|w[h+30|0]<<8);break ub}d=v[h+16>>2];Qa[v[v[a>>2]+16>>2]](v[a+4>>2],i+(((e&255)>>>0)/3<<2)|0,d>>>0<12?d:12)|0;break tb}d=d|w[h+29|0]<<8|w[h+30|0]<<16|w[h+31|0]<<24}v[((e|4)+a|0)+26172>>2]=d;v[h+28>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],h+28|0,1,4)|0;e=w[h+28|0];j=m+26180|0;if(x[a+25204>>1]!=18761){d=w[h+31|0]|(w[h+29|0]<<16|e<<24|w[h+30|0]<<8)}else{d=e|w[h+29|0]<<8|w[h+30|0]<<16|w[h+31|0]<<24}v[j>>2]=d;v[h+28>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],h+28|0,1,4)|0;e=w[h+28|0];j=m+26184|0;if(x[a+25204>>1]!=18761){d=w[h+31|0]|(w[h+29|0]<<16|e<<24|w[h+30|0]<<8)}else{d=e|w[h+29|0]<<8|w[h+30|0]<<16|w[h+31|0]<<24}v[j>>2]=d;v[h+28>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],h+28|0,1,4)|0;e=w[h+28|0];j=m+26188|0;if(x[a+25204>>1]!=18761){d=w[h+31|0]|(w[h+29|0]<<16|e<<24|w[h+30|0]<<8)}else{d=e|w[h+29|0]<<8|w[h+30|0]<<16|w[h+31|0]<<24}v[j>>2]=d;v[h+28>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],h+28|0,1,4)|0;e=w[h+28|0];j=m+26192|0;if(x[a+25204>>1]!=18761){d=w[h+31|0]|(w[h+29|0]<<16|e<<24|w[h+30|0]<<8)}else{d=e|w[h+29|0]<<8|w[h+30|0]<<16|w[h+31|0]<<24}v[j>>2]=d;break tb}e=e|w[h+29|0]<<8|w[h+30|0]<<16|w[h+31|0]<<24}v[d+26244>>2]=e;v[h+28>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],h+28|0,1,4)|0;d=w[h+28|0];if(x[a+25204>>1]!=18761){v[a+26248>>2]=w[h+31|0]|(w[h+29|0]<<16|d<<24|w[h+30|0]<<8);break tb}v[a+26248>>2]=d|w[h+29|0]<<8|w[h+30|0]<<16|w[h+31|0]<<24}Qa[v[v[a>>2]+8>>2]](v[a+4>>2],v[h+12>>2],0)|0;if(f){continue}break}}Ma=h+32|0;break e}d=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[a+26072>>2]=d;v[a+26076>>2]=d>>31;v[a+26088>>2]=v[c+884>>2];break e}v[a+26024>>2]=w[c+211|0]|(w[c+209|0]<<16|d<<24|w[c+210|0]<<8);break e}va=a,ya=C(Kd(a,v[c+888>>2])),z[va+26012>>2]=ya;break e}if(v[c+888>>2]==3){u[c+208>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];d=a;if(x[a+25204>>1]==18761){e=e|w[c+209|0]<<8}else{e=w[c+209|0]|e<<8}v[d+26020>>2]=e&65535;break e}v[c+208>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;d=w[c+208|0];if(x[a+25204>>1]==18761){v[a+26020>>2]=d|w[c+209|0]<<8|w[c+210|0]<<16|w[c+211|0]<<24;break e}v[a+26020>>2]=w[c+211|0]|(w[c+209|0]<<16|d<<24|w[c+210|0]<<8);break e}v[a+26132>>2]=0;Kd(a,v[c+888>>2]);va=a,ya=C(Kd(a,v[c+888>>2])),z[va+59348>>2]=ya;va=a,ya=C(Kd(a,v[c+888>>2])),z[va+59352>>2]=ya;va=a,ya=C(Kd(a,v[c+888>>2])),z[va+59356>>2]=ya;Kd(a,v[c+888>>2]);va=a,ya=C(Kd(a,v[c+888>>2])),z[va+59364>>2]=ya;va=a,ya=C(Kd(a,v[c+888>>2])),z[va+59368>>2]=ya;va=a,ya=C(Kd(a,v[c+888>>2])),z[va+59372>>2]=ya;Kd(a,v[c+888>>2]);va=a,ya=C(Kd(a,v[c+888>>2])),z[va+59380>>2]=ya;va=a,ya=C(Kd(a,v[c+888>>2])),z[va+59384>>2]=ya;va=a,ya=C(Kd(a,v[c+888>>2])),z[va+59388>>2]=ya;break e}d=w[75356]|w[75357]<<8|(w[75358]<<16|w[75359]<<24);t[n+3|0]=d;t[n+4|0]=d>>>8;t[n+5|0]=d>>>16;t[n+6|0]=d>>>24;d=w[75353]|w[75354]<<8|(w[75355]<<16|w[75356]<<24);t[n|0]=d;t[n+1|0]=d>>>8;t[n+2|0]=d>>>16;t[n+3|0]=d>>>24;d=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[a+26048>>2]=d;v[a+26052>>2]=d>>31;fa=v[c+884>>2];break e}if(!fa){fa=0;break e}Qa[v[v[a>>2]+8>>2]](v[a+4>>2],78,1)|0;v[c+208>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;f=w[c+208|0];d=a;if(x[a+25204>>1]==18761){f=f|w[c+209|0]<<8}else{f=w[c+211|0]|(f<<24|w[c+210|0]<<8)}u[d+26306>>1]=f;v[c+208>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;f=w[c+208|0];d=a;if(x[a+25204>>1]==18761){f=f|w[c+209|0]<<8}else{f=w[c+211|0]|(f<<24|w[c+210|0]<<8)}u[d+26304>>1]=f;v[c+208>>2]=-1;o=c+208|0;j=o;h=j;Qa[v[v[a>>2]>>2]](v[a+4>>2],h,1,4)|0;m=h|3;f=w[(x[a+25204>>1]==18761?h:m)|0]&7;u[a+26314>>1]=f;d=x[a+26306>>1];v[c+208>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],h,1,4)|0;u[a+26310>>1]=d-(f+(w[(x[a+25204>>1]==18761?h:m)|0]&7)|0);v[c+208>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],h,1,4)|0;f=w[(x[a+25204>>1]==18761?h:m)|0]&7;u[a+26312>>1]=f;d=x[a+26304>>1];v[c+208>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],h,1,4)|0;u[a+26308>>1]=d-(f+(w[(x[a+25204>>1]==18761?h:m)|0]&7)|0);if(x[a+26306>>1]==7262){u[a+26314>>1]=7;v[a+26308>>2]=474748228}Qa[v[v[a>>2]+8>>2]](v[a+4>>2],52,1)|0;v[c+208>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;f=w[c+208|0];d=a;if(x[a+25204>>1]==18761){f=f|w[c+209|0]<<8|w[c+210|0]<<16|w[c+211|0]<<24}else{f=w[c+211|0]|(w[c+209|0]<<16|f<<24|w[c+210|0]<<8)}v[d+59268>>2]=f;v[c+208>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;d=w[c+208|0];if(x[a+25204>>1]==18761){break v}d=w[c+211|0]|(w[c+209|0]<<16|d<<24|w[c+210|0]<<8);break u}d=v[c+884>>2];i=gb(d);if(!i){break e}Qa[v[v[a>>2]>>2]](v[a+4>>2],i,1,d)|0;f=d+i|0;e=i-1|0;while(1){if(e>>>0>>0){d=e+1|0;if(!Kb(d,75518,8)){v[c+56>>2]=q;v[c+52>>2]=na;v[c+48>>2]=ga;df(e+9|0,75556,c+48|0)}e=ye(d,10);if(e){continue}}break}$a(i);break e}if(w[n|0]){break e}d=w[75608]|w[75609]<<8|(w[75610]<<16|w[75611]<<24);t[n+7|0]=d;t[n+8|0]=d>>>8;t[n+9|0]=d>>>16;t[n+10|0]=d>>>24;e=w[75605]|w[75606]<<8|(w[75607]<<16|w[75608]<<24);d=w[75601]|w[75602]<<8|(w[75603]<<16|w[75604]<<24);t[n|0]=d;t[n+1|0]=d>>>8;t[n+2|0]=d>>>16;t[n+3|0]=d>>>24;t[n+4|0]=e;t[n+5|0]=e>>>8;t[n+6|0]=e>>>16;t[n+7|0]=e>>>24;break e}m=x[a+25204>>1];h=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;j=v[a+26104>>2];u[c+208>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];d=a;if(x[a+25204>>1]==18761){e=e|w[c+209|0]<<8}else{e=w[c+209|0]|e<<8}u[d+25204>>1]=e;i=v[a>>2];f=v[i+8>>2];d=v[a+4>>2];u[c+208>>1]=65535;e=c+208|0;Qa[v[i>>2]](d,e,1,2)|0;v[c+208>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],e,1,4)|0;e=w[c+208|0];if(x[a+25204>>1]==18761){e=e|w[c+209|0]<<8|w[c+210|0]<<16|w[c+211|0]<<24}else{e=w[c+211|0]|(w[c+209|0]<<16|e<<24|w[c+210|0]<<8)}Qa[f|0](d,e+h|0,0)|0;Et(a,h);v[a+26104>>2]=j;v[a+26124>>2]=65535;u[a+25204>>1]=m;break e}d=v[a+26152>>2];d=(Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0)+(d<<8)|0;v[a+26152>>2]=d;d=(Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0)+(d<<8)|0;v[a+26152>>2]=d;d=(Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0)+(d<<8)|0;v[a+26152>>2]=d;va=a,xa=(Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0)+(d<<8)|0,v[va+26152>>2]=xa;if(!w[a+25733|0]){t[n|0]=68;t[n+1|0]=78;t[n+2|0]=71;t[n+3|0]=0}v[a+26148>>2]=1;break e}d=v[c+884>>2];d=d>>>0<4?d:4;v[c+884>>2]=d;v[a+26336>>2]=d;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+796|0,1,d)|0;d=v[a+26336>>2];f=l}Cb:{if((d|0)<1){d=0;break Cb}i=d&3;e=0;if(d-1>>>0>=3){l=d&-4;while(1){m=c+528|0;h=c+796|0;t[m+w[h+e|0]|0]=e;j=e|1;t[m+w[j+h|0]|0]=j;j=e|2;t[m+w[j+h|0]|0]=j;j=e|3;t[m+w[j+h|0]|0]=j;e=e+4|0;l=l-4|0;if(l){continue}break}}if(!i){break Cb}while(1){t[w[(c+796|0)+e|0]+(c+528|0)|0]=e;e=e+1|0;i=i-1|0;if(i){continue}break}}e=f}t[(a+d|0)+25216|0]=0;f=c+528|0;d=c+800|0;l=e;v[a+26028>>2]=w[f+w[c+800|0]|0]|(w[f+w[d|(e|0)!=1]|0]|((w[f+w[d|3%(e>>>0)]|0]|((w[f+w[d|5%(e>>>0)]|0]|((w[f+w[d|7%(e>>>0)]|0]|((w[f+w[d|9%(e>>>0)]|0]|((w[f+w[d|11%(e>>>0)]|0]|((w[f+w[d|13%(e>>>0)]|0]|(w[f+w[d|15%(e>>>0)]|0]<<4|w[f+w[d|14%(e>>>0)]|0]<<2))<<4|w[f+w[d|12%(e>>>0)]|0]<<2))<<4|w[f+w[d|10%(e>>>0)]|0]<<2))<<4|w[f+w[d|8%(e>>>0)]|0]<<2))<<4|w[f+w[d|6%(e>>>0)]|0]<<2))<<4|w[f+w[d|4%(e>>>0)]|0]<<2))<<4|w[f+w[d|2%(e>>>0)]|0]<<2))<<2;break e}u[c+208>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;d=w[c+208|0];if(x[a+25204>>1]==18761){d=d|w[c+209|0]<<8}else{d=w[c+209|0]|d<<8}if((d&65535)!=2){break e}v[a+26028>>2]=1229539657;u[a+26322>>1]=1;break e}d=v[c+884>>2];Wi(a,ha,d>>>0<4096?d:4096);Db:{if(d>>>0>4095){break Db}e=4095-d|0;f=x[(d<<1)+I>>1];i=0-d&7;if(i){while(1){u[((d<<1)+a|0)+26484>>1]=f;d=d+1|0;i=i-1|0;if(i){continue}break}}if(e>>>0<7){break Db}while(1){e=(d<<1)+a|0;u[e+26486>>1]=f;u[e+26484>>1]=f;u[e+26488>>1]=f;u[e+26490>>1]=f;u[e+26492>>1]=f;u[e+26494>>1]=f;u[e+26496>>1]=f;u[e+26498>>1]=f;d=d+8|0;if((d|0)!=4096){continue}break}}v[a+26124>>2]=x[a+34674>>1];break e}e=0;k=0;f=v[c+884>>2];if((f|0)>=1){while(1){k=k+Kd(a,v[c+888>>2]);e=e+1|0;if((f|0)!=(e|0)){continue}break}}d=a;k=k/+(f>>>0)+.5;Eb:{if(k<4294967296&k>=0){e=~~k>>>0;break Eb}e=0}v[d+26120>>2]=e+v[a+26120>>2];break e}if(v[c+888>>2]==3){u[c+208>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];d=a;if(x[a+25204>>1]==18761){e=e|w[c+209|0]<<8}else{e=w[c+209|0]|e<<8}v[d+26124>>2]=e&65535;break e}v[c+208>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;d=w[c+208|0];if(x[a+25204>>1]==18761){v[a+26124>>2]=d|w[c+209|0]<<8|w[c+210|0]<<16|w[c+211|0]<<24;break e}v[a+26124>>2]=w[c+211|0]|(w[c+209|0]<<16|d<<24|w[c+210|0]<<8);break e}va=a,wa=Kd(a,v[c+888>>2]),A[va+26344>>3]=wa;k=Kd(a,v[c+888>>2]);A[a+26344>>3]=A[a+26344>>3]/k;break e}ja=1;e=0;if(v[a+26336>>2]<1){break e}while(1){d=(c+304|0)+B(e,24)|0;va=d,wa=Kd(a,v[c+888>>2]),A[va>>3]=wa;va=d,wa=Kd(a,v[c+888>>2]),A[va+8>>3]=wa;va=d,wa=Kd(a,v[c+888>>2]),A[va+16>>3]=wa;e=e+1|0;if((e|0)>2]){continue}break}break e}d=0;i=v[a+26336>>2];if((i|0)<1){break e}while(1){e=0;if((i|0)>=1){while(1){va=((c+400|0)+(d<<5)|0)+(e<<3)|0,wa=Kd(a,v[c+888>>2]),A[va>>3]=wa;e=e+1|0;i=v[a+26336>>2];if((e|0)<(i|0)){continue}break}}d=d+1|0;if((i|0)>(d|0)){continue}break}}e=0;if((i|0)<1){break e}while(1){va=(c+176|0)+(e<<3)|0,wa=Kd(a,v[c+888>>2]),A[va>>3]=wa;e=e+1|0;if((e|0)>2]){continue}break}break e}k=Kd(a,v[c+888>>2]);J=Kd(a,v[c+888>>2]);N=(1-k-J)/1.0887540578842163;M=k/.9504560232162476;break e}if(v[a+26152>>2]){break e}v[c+208>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;e=w[c+208|0];f=a;if(x[a+25204>>1]==18761){d=e|w[c+209|0]<<8|w[c+210|0]<<16|w[c+211|0]<<24}else{d=w[c+211|0]|(w[c+209|0]<<16|e<<24|w[c+210|0]<<8)}d=d+b|0;TK(f,d);Qa[v[v[a>>2]+8>>2]](v[a+4>>2],d,0)|0;Et(a,b);break e}Wi(a,oa,3);break e}d=a;Fb:{if(v[c+888>>2]==3){u[c+208>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];f=e|w[c+209|0]<<8;if(x[a+25204>>1]==18761){break Fb}f=w[c+209|0]|e<<8;break Fb}v[c+208>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;e=w[c+208|0];f=e|w[c+209|0]<<8;if(x[a+25204>>1]==18761){break Fb}f=w[c+211|0]|(e<<24|w[c+210|0]<<8)}u[d+26312>>1]=f;d=a;Gb:{if(v[c+888>>2]==3){u[c+208>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];f=e|w[c+209|0]<<8;if(x[a+25204>>1]==18761){break Gb}f=w[c+209|0]|e<<8;break Gb}v[c+208>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;e=w[c+208|0];f=e|w[c+209|0]<<8;if(x[a+25204>>1]==18761){break Gb}f=w[c+211|0]|(e<<24|w[c+210|0]<<8)}u[d+26314>>1]=f;d=a;Hb:{if(v[c+888>>2]==3){u[c+208>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];f=e|w[c+209|0]<<8;if(x[a+25204>>1]==18761){break Hb}f=w[c+209|0]|e<<8;break Hb}v[c+208>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;e=w[c+208|0];f=e|w[c+209|0]<<8;if(x[a+25204>>1]==18761){break Hb}f=w[c+211|0]|(e<<24|w[c+210|0]<<8)}u[d+26308>>1]=f-x[a+26312>>1];d=a;Ib:{if(v[c+888>>2]==3){u[c+208>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];f=e|w[c+209|0]<<8;if(x[a+25204>>1]==18761){break Ib}f=w[c+209|0]|e<<8;break Ib}v[c+208>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;e=w[c+208|0];f=e|w[c+209|0]<<8;if(x[a+25204>>1]==18761){break Ib}f=w[c+211|0]|(e<<24|w[c+210|0]<<8)}u[d+26310>>1]=f-x[a+26314>>1];break e}Qa[v[v[a>>2]+8>>2]](v[a+4>>2],16,1)|0;v[c+208>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;e=w[c+208|0];f=a;if(x[a+25204>>1]==18761){e=e|w[c+209|0]<<8|w[c+210|0]<<16|w[c+211|0]<<24}else{e=w[c+211|0]|(w[c+209|0]<<16|e<<24|w[c+210|0]<<8)}v[f+26048>>2]=e;v[d+26052>>2]=0;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],28,1)|0;v[c+208>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;d=w[c+208|0];if(x[a+25204>>1]==18761){d=d|w[c+209|0]<<8|w[c+210|0]<<16|w[c+211|0]<<24}else{d=w[c+211|0]|(w[c+209|0]<<16|d<<24|w[c+210|0]<<8)}v[a+190476>>2]=946;i=v[a+26052>>2];f=v[a+26048>>2]+d|0;i=f>>>0>>0?i+1|0:i;v[a+26048>>2]=f;v[a+26052>>2]=i;break e}d=d|w[c+209|0]<<8|w[c+210|0]<<16|w[c+211|0]<<24}v[e+59272>>2]=d;v[c+208>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;e=w[c+208|0];d=a;if(x[a+25204>>1]!=18761){e=w[c+211|0]|(w[c+209|0]<<16|e<<24|w[c+210|0]<<8)}else{e=e|w[c+209|0]<<8|w[c+210|0]<<16|w[c+211|0]<<24}v[d+59276>>2]=e;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],114,1)|0;u[c+208>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;d=w[c+208|0];if(x[a+25204>>1]!=18761){break p}d=d|w[c+209|0]<<8;break o}d=d|w[c+209|0]<<8}p=e&4095;u[c+208>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];if(x[a+25204>>1]!=18761){e=w[c+209|0]|e<<8}else{e=e|w[c+209|0]<<8}f=d>>>2|0;u[c+208>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;d=w[c+208|0];if(x[a+25204>>1]!=18761){d=w[c+209|0]|d<<8}else{d=d|w[c+209|0]<<8}j=e>>>2|0;h=f&4095;if(p){break h}break g}d=d|w[c+209|0]<<8}z[f+59272>>2]=(d&65535)>>>0;u[c+208>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];d=q;if(x[a+25204>>1]!=18761){e=w[c+209|0]|e<<8}else{e=e|w[c+209|0]<<8}z[d>>2]=(e&65535)>>>0;break e}d=w[c+209|0]|d<<8}d=B((d&65408)>>>7|0,90);v[i+26328>>2]=d;e=x[a+26310>>1];f=x[a+26308>>1];Jb:{if((B(B(e,f),6)|0)!=(fa|0)){d=e;e=f;break Jb}Kb:{if(((d>>>0)%180|0)!=90){d=e;e=f;break Kb}u[a+26310>>1]=f;u[a+26308>>1]=e;d=f}v[a+26028>>2]=0;v[a+26328>>2]=0}v[c+32>>2]=(B(e,d)>>>0)/1e6;Dc(O,75420,c+32|0);v[a+190476>>2]=947;if(v[a+26028>>2]){if(t[a+26314|0]&1){v[a+26028>>2]=1633771873}v[a+190476>>2]=948}v[a+26124>>2]=65535;break e}e=e|w[c+209|0]<<8}z[d+59272>>2]=C(4096)/C((e&65535)>>>0);u[c+208>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];d=a;if(x[a+25204>>1]!=18761){e=w[c+209|0]|e<<8}else{e=e|w[c+209|0]<<8}z[d+59268>>2]=C(4096)/C((e&65535)>>>0);u[c+208>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];d=a;if(x[a+25204>>1]!=18761){e=w[c+209|0]|e<<8}else{e=e|w[c+209|0]<<8}z[d+59280>>2]=C(4096)/C((e&65535)>>>0);u[c+208>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];d=q;if(x[a+25204>>1]!=18761){e=w[c+209|0]|e<<8}else{e=e|w[c+209|0]<<8}z[d>>2]=C(4096)/C((e&65535)>>>0);break e}d=d|w[c+209|0]<<8}z[j+59268>>2]=(d&65535)>>>0;u[c+208>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];d=a;if(x[a+25204>>1]!=18761){e=w[c+209|0]|e<<8}else{e=e|w[c+209|0]<<8}z[d+59272>>2]=(e&65535)>>>0;u[c+208>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];d=a;if(x[a+25204>>1]!=18761){e=w[c+209|0]|e<<8}else{e=e|w[c+209|0]<<8}z[d+59280>>2]=(e&65535)>>>0;u[c+208>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];d=q;if(x[a+25204>>1]!=18761){e=w[c+209|0]|e<<8}else{e=e|w[c+209|0]<<8}z[d>>2]=(e&65535)>>>0;break e}d=d|w[c+209|0]<<8}z[m+59272>>2]=(d&65535)>>>0;u[c+208>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];d=a;if(x[a+25204>>1]!=18761){e=w[c+209|0]|e<<8}else{e=e|w[c+209|0]<<8}z[d+59268>>2]=(e&65535)>>>0;u[c+208>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];d=a;if(x[a+25204>>1]!=18761){e=w[c+209|0]|e<<8}else{e=e|w[c+209|0]<<8}z[d+59276>>2]=(e&65535)>>>0;u[c+208>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];d=a;if(x[a+25204>>1]!=18761){e=w[c+209|0]|e<<8}else{e=e|w[c+209|0]<<8}z[d+59280>>2]=(e&65535)>>>0;break e}o=p&3;e=x[ha>>1];i=1;if(p-1>>>0>=3){f=p&4092;while(1){m=(i<<1)+a|0;u[m+26486>>1]=e+2;u[m+26484>>1]=e+1;u[m+26488>>1]=e+3;e=e+4|0;u[m+26490>>1]=e;i=i+4|0;f=f-4|0;if(f){continue}break}}if(!o){break g}while(1){e=e+1|0;u[((i<<1)+a|0)+26484>>1]=e;i=i+1|0;o=o-1|0;if(o){continue}break}}if(h>>>0>p>>>0){e=p+1|0;i=x[((p<<1)+a|0)+26484>>1];while(1){i=i+2|0;u[((e<<1)+a|0)+26484>>1]=i;e=e+1|0;if((h|0)>=(e|0)){continue}break}}f=j&4095;if(f>>>0>h>>>0){e=h+1|0;i=x[((h<<1)+a|0)+26484>>1];while(1){i=i+4|0;u[((e<<1)+a|0)+26484>>1]=i;e=e+1|0;if((f|0)>=(e|0)){continue}break}}j=d>>>2&4095;if(j>>>0>f>>>0){e=f+1|0;i=x[((f<<1)+a|0)+26484>>1];while(1){i=i+8|0;u[((e<<1)+a|0)+26484>>1]=i;e=e+1|0;if((j|0)>=(e|0)){continue}break}}if((j|0)==4095){break e}e=j+1|0;i=x[((j<<1)+a|0)+26484>>1];d=j&3;if((d|0)!=3){d=d^3;while(1){i=i+16|0;u[((e<<1)+a|0)+26484>>1]=i;e=e+1|0;d=d-1|0;if(d){continue}break}}if(4094-j>>>0<3){break e}while(1){d=(e<<1)+a|0;u[d+26486>>1]=i+32;u[d+26484>>1]=i+16;u[d+26488>>1]=i+48;i=i- -64|0;u[d+26490>>1]=i;d=e>>>0>4091;e=e+4|0;if(!d){continue}break}break e}v[c+884>>2]=f}Qa[v[v[a>>2]+8>>2]](v[a+4>>2],v[c+880>>2],0)|0;if(D){continue}break}Lb:{if(!K){break Lb}l=gb(K);if(!l){break Lb}Qa[v[v[a>>2]+8>>2]](v[a+4>>2],ba,0)|0;Qa[v[v[a>>2]>>2]](v[a+4>>2],l,K,1)|0;VK(l,K>>>2|0,1,ia);q=v[a>>2];v[a>>2]=1025744;f=v[a+4>>2];d=0;i=Ma-48|0;Ma=i;v[i+32>>2]=v[249428];b=v[249427];v[i+24>>2]=v[249426];v[i+28>>2]=b;b=v[249425];v[i+16>>2]=v[249424];v[i+20>>2]=b;e=i+16|13;Mb:{Nb:{while(1){Ob:{uP(e);v[i>>2]=384;b=ea(i+16|0,32962,i|0)|0;if(b>>>0>=4294963201){v[296206]=0-b;b=-1}if((b|0)>=0){break Ob}d=d+1|0;if((d|0)!=100){continue}break Nb}break}da(i+16|0)|0;d=zP(b,326444);if(d){break Mb}$(b|0)|0}d=0}Ma=i+48|0;v[a+4>>2]=d;if(d){Qa[v[v[a>>2]+4>>2]](d,l,K,1)|0;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],0,0)|0;Et(a,0-ba|0);Qa[v[v[a>>2]+12>>2]](v[a+4>>2])|0}v[a+4>>2]=f;v[a>>2]=q;$a(l)}f=v[a+26336>>2];if((f|0)>0){break d}if(ja){break c}b=1;break b}f=v[a+26336>>2];b=1;if((f|0)<1){break b}M=1;J=1;N=1}q=f&-4;d=f&3;I=f-1|0;D=0;while(1){k=A[(c+176|0)+(D<<3)>>3];e=0;b=q;if(I>>>0>=3){while(1){j=(c+400|0)+(D<<5)|0;i=e<<3;l=j+i|0;A[l>>3]=k*A[l>>3];l=j+(i|8)|0;A[l>>3]=k*A[l>>3];l=j+(i|16)|0;A[l>>3]=k*A[l>>3];l=j+(i|24)|0;A[l>>3]=k*A[l>>3];e=e+4|0;b=b-4|0;if(b){continue}break}}i=d;if(d){while(1){b=((c+400|0)+(D<<5)|0)+(e<<3)|0;A[b>>3]=k*A[b>>3];e=e+1|0;i=i-1|0;if(i){continue}break}}D=D+1|0;if((D|0)!=(f|0)){continue}break}b=1;if(!ja){break b}b=f&-2;h=f&1;i=0;while(1){k=0;e=0;d=b;if(I){while(1){j=(c+400|0)+(i<<5)|0;l=c+304|0;q=e|1;k=k+A[j+(e<<3)>>3]*A[l+B(e,24)>>3]*M+A[j+(q<<3)>>3]*A[l+B(q,24)>>3]*M;e=e+2|0;d=d-2|0;if(d){continue}break}}q=(c+208|0)+B(i,24)|0;d=q;if(h){k=k+A[((c+400|0)+(i<<5)|0)+(e<<3)>>3]*A[(c+304|0)+B(e,24)>>3]*M}A[d>>3]=k;e=0;k=0;d=b;if(I){while(1){m=(c+400|0)+(i<<5)|0;j=c+304|0;l=e|1;k=k+A[m+(e<<3)>>3]*A[(j+B(e,24)|0)+8>>3]*J+A[m+(l<<3)>>3]*A[(j+B(l,24)|0)+8>>3]*J;e=e+2|0;d=d-2|0;if(d){continue}break}}d=q;if(h){k=k+A[((c+400|0)+(i<<5)|0)+(e<<3)>>3]*A[((c+304|0)+B(e,24)|0)+8>>3]*J}A[d+8>>3]=k;e=0;k=0;d=b;if(I){while(1){m=(c+400|0)+(i<<5)|0;j=c+304|0;l=e|1;k=k+A[m+(e<<3)>>3]*A[(j+B(e,24)|0)+16>>3]*N+A[m+(l<<3)>>3]*A[(j+B(l,24)|0)+16>>3]*N;e=e+2|0;d=d-2|0;if(d){continue}break}}if(h){k=k+A[((c+400|0)+(i<<5)|0)+(e<<3)>>3]*A[((c+304|0)+B(e,24)|0)+16>>3]*N}A[q+16>>3]=k;i=i+1|0;if((i|0)!=(f|0)){continue}break}}D3(a,c+208|0);b=0}k=A[c+144>>3];Pb:{if(k==0){break Pb}v[a+59280>>2]=0;f=v[a+26336>>2];if((f|0)<1){break Pb}z[a+59268>>2]=C(1)/C(k);if((f|0)==1){break Pb}e=1;d=f-1|0;q=d&1;if((f|0)!=2){i=d&-2;l=a+59268|0;while(1){f=c+144|0;z[l+(e<<2)>>2]=C(1)/C(A[f+(e<<3)>>3]);d=e+1|0;z[l+(d<<2)>>2]=C(1)/C(A[f+(d<<3)>>3]);e=e+2|0;i=i-2|0;if(i){continue}break}}if(!q){break Pb}z[((e<<2)+a|0)+59268>>2]=C(1)/C(A[(c+144|0)+(e<<3)>>3])}d=0;if(!b){break a}i=v[a+26336>>2];if((i|0)<1){break a}e=0;if((i|0)!=1){D=i&-2;l=a+59284|0;while(1){b=l+(e<<2)|0;f=c+400|0;z[b>>2]=z[b>>2]/C(A[(f+(e<<5)|0)+(e<<3)>>3]);q=e|1;b=l+(q<<2)|0;z[b>>2]=z[b>>2]/C(A[(f+(q<<5)|0)+(q<<3)>>3]);e=e+2|0;D=D-2|0;if(D){continue}break}}if(!(i&1)){break a}a=((e<<2)+a|0)+59284|0;z[a>>2]=z[a>>2]/C(A[((c+400|0)+(e<<5)|0)+(e<<3)>>3])}Ma=c+928|0;return d}function Zu(a,b,c,d,e){var f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,p=0,q=0,r=0,s=0,E=0,G=0,H=0,I=0,J=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=C(0),va=0,wa=0,xa=0,ya=0,za=0,Aa=0;I=Ma-48|0;Ma=I;a:{if(!$j(b)){break a}tY(I+32|0,b);while(1){ca=w[I+43|0];i=ca<<24>>24;b:{c:{d:{e:{f:{g:{h:{i:{k=v[I+36>>2];switch(((i|0)<0?k:ca)|0){case 4:break i;case 0:break c;default:break h}}if(!_k(I+32|0,242399,4)){break g}k=v[I+36>>2];ca=w[I+43|0];i=ca}if(((i<<24>>24<0?k:ca)|0)==15){break f}break e}i=I+16|0;_c(i,b);ja=Ty(t[I+27|0]<0?v[I+16>>2]:i,d);if(t[I+27|0]>-1){break d}$a(v[I+16>>2]);break d}if(_k(I+32|0,255416,15)){k=v[I+36>>2];ca=w[I+43|0];i=ca;break e}i=I+16|0;_c(i,b);ka=Yu(t[I+27|0]<0?v[I+16>>2]:i,d);if(t[I+27|0]>-1){break d}$a(v[I+16>>2]);break d}if(((i<<24>>24<0?k:ca)|0)!=7){break d}if(_k(I+32|0,217783,7)){break d}i=I+16|0;_c(i,b);va=I,wa=ng(i),A[va>>3]=wa;EF(d,I);if(t[I+27|0]<=-1){$a(v[I+16>>2])}ta=1}if(Pi(b)){break b}i=t[I+43|0]}if(i<<24>>24<=-1){$a(v[I+32>>2])}ka=ka&1;ca=ja&1;break a}tY(I+16|0,b);if(t[I+43|0]<=-1){$a(v[I+32>>2])}v[I+40>>2]=v[I+24>>2];i=v[I+20>>2];v[I+32>>2]=v[I+16>>2];v[I+36>>2]=i;continue}}Ej(b);if(!yh(b)){ja=0;_=I+32|0;i=_;v[i>>2]=0;v[i+4>>2]=0;t[i+8|0]=0;oa=rg(b);j:{if(qe(b,oa)){while(1){Xc(I,b);i=qd(I+16|0,I);Xe(_,i);Qb(i);if(t[I+11|0]<=-1){$a(v[I>>2])}k:{if(nc(_,962656)){ja=ST(a,b,d);break k}if(nc(_,962736)){ja=ST(a,b,d);break k}if(nc(_,962804)){s=0;n=0;h=0;T=0;i=0;k=0;W=0;aa=0;Q=0;ha=0;ga=0;p=0;ma=0;pa=0;f=Ma-336|0;Ma=f;v[f+328>>2]=0;v[f+320>>2]=0;v[f+324>>2]=0;$=f+304|0;v[$>>2]=0;v[$+4>>2]=0;t[$+8|0]=0;ba=f+288|0;q=ba;v[q>>2]=0;v[q+4>>2]=0;t[q+8|0]=0;v[f+284>>2]=0;q=f+272|0;l=q;v[l>>2]=0;v[l+4>>2]=0;t[l+8|0]=0;U=f+256|0;l=U;v[l>>2]=0;v[l+4>>2]=0;t[l+8|0]=0;l:{if(!$j(b)){X=10;break l}Xc(f+168|0,b);la=a+24|0;X=10;while(1){h=w[f+179|0];l=h<<24>>24;m:{n:{o:{p:{q:{r:{s:{t:{s=v[f+172>>2];switch(((l|0)<0?s:h)|0){case 0:break n;case 7:break t;default:break s}}if(!Vc(f+168|0,963124,7)){break r}s=v[f+172>>2];h=w[f+179|0];l=h}if(((l<<24>>24<0?s:h)|0)==7){break q}break p}_c(f+48|0,b);if(t[f+331|0]<=-1){$a(v[f+320>>2])}v[f+328>>2]=v[f+56>>2];h=v[f+52>>2];v[f+320>>2]=v[f+48>>2];v[f+324>>2]=h;s=Ma-16|0;Ma=s;l=f+320|0;G=l;H=Xn(l,46);g=Xn(l,47);h=w[l+11|0];h=(H|0)==-1?h<<24>>24<0?v[l+4>>2]:h:H;u:{if((g|0)>(h|0)){v[f+48>>2]=0;t[f+59|0]=0;break u}bf(s,G,g+1|0,h+(g^-1)|0);v[f+56>>2]=v[s+8>>2];h=v[s+4>>2];v[f+48>>2]=v[s>>2];v[f+52>>2]=h}Ma=s+16|0;v:{if(v[Qj(l,0)>>2]==46){h=Xn(la,47);w:{if((h|0)==-1){if(t[a+35|0]>=0){v[f+248>>2]=v[la+8>>2];h=v[la+4>>2];v[f+240>>2]=v[la>>2];v[f+244>>2]=h;break w}vc(f+240|0,v[a+24>>2],v[a+28>>2]);break w}bf(f+240|0,la,0,h+1|0)}Rq(f+224|0,f+240|0,f+320|0);if(t[f+331|0]<=-1){$a(v[f+320>>2])}v[f+328>>2]=v[f+232>>2];h=v[f+228>>2];v[f+320>>2]=v[f+224>>2];v[f+324>>2]=h;if(t[f+251|0]>-1){break v}$a(v[f+240>>2]);break v}h=v[a+36>>2];Qa[v[v[h>>2]+12>>2]](f+240|0,h,f+320|0);if(t[f+331|0]<=-1){$a(v[f+320>>2])}v[f+328>>2]=v[f+248>>2];h=v[f+244>>2];v[f+320>>2]=v[f+240>>2];v[f+324>>2]=h}g=Ma-16|0;Ma=g;l=f+320|0;h=Xn(l,46);x:{if((h|0)==-1){v[f+240>>2]=0;t[f+251|0]=0;break x}bf(g,l,h+1|0,-1);v[f+248>>2]=v[g+8>>2];h=v[g+4>>2];v[f+240>>2]=v[g>>2];v[f+244>>2]=h}Ma=g+16|0;h=w[f+251|0];s=h<<24>>24;H=(s|0)<0;y:{z:{l=v[f+244>>2];g=H?l:h;if(g){h=H?v[f+240>>2]:f+240|0;l=h+(g<<2)|0;while(1){va=h,xa=cQ(v[h>>2]),v[va>>2]=xa;h=h+4|0;if((l|0)!=(h|0)){continue}break}h=w[f+251|0];s=h;l=v[f+244>>2]}if(((s<<24>>24<0?l:h)|0)!=5){break z}if(Vc(f+240|0,963156,5)){break z}h=w[f+59|0];g=h<<24>>24<0;l=g?v[f+52>>2]:h;if(l){h=g?v[f+48>>2]:f+48|0;l=h+(l<<2)|0;while(1){va=h,xa=cQ(v[h>>2]),v[va>>2]=xa;h=h+4|0;if((l|0)!=(h|0)){continue}break}}P=v[a+36>>2];m=Ma-80|0;Ma=m;ia=v[a+40>>2];h=v[ia>>2];if(h){Qa[v[v[h>>2]+8>>2]](h)}M=f+320|0;H=ia+4|0;E=f+48|0;h=Xo(H,E);A:{if(w[h+28|0]?(h|0)!=(ia+8|0):0){break A}B:{if(t[E+11|0]>=0){v[m+24>>2]=v[E+8>>2];h=v[E+4>>2];v[m+16>>2]=v[E>>2];v[m+20>>2]=h;break B}vc(m+16|0,v[E>>2],v[E+4>>2])}t[m+28|0]=1;g=ug(H,m- -64|0,m+16|0);if(!v[g>>2]){h=ab(32);v[h+24>>2]=v[m+24>>2];l=v[m+20>>2];v[h+16>>2]=v[m+16>>2];v[h+20>>2]=l;v[m+24>>2]=0;v[m+16>>2]=0;v[m+20>>2]=0;t[h+28|0]=w[m+28|0];v[h+8>>2]=v[m+64>>2];v[h>>2]=0;v[h+4>>2]=0;v[g>>2]=h;l=v[v[H>>2]>>2];if(l){v[H>>2]=l;h=v[g>>2]}Ob(v[ia+8>>2],h);v[ia+12>>2]=v[ia+12>>2]+1}if(t[m+27|0]<=-1){$a(v[m+16>>2])}R=0;h=w[E+11|0];J=h<<24>>24;C:{h=(J|0)<0?v[E+4>>2]:h;l=h-1|0;if((l|0)<0){break C}while(1){D:{if(v[(l<<2)+((J|0)<0?v[E>>2]:E)>>2]==45){h=l;break D}h=h-2|0;s=bf(m+16|0,E,h,2);O=0;S=Ma-160|0;Ma=S;l=w[s+11|0];if(l<<24>>24<0?v[s+4>>2]:l){v[S+20>>2]=0;v[S+76>>2]=965376;v[S+16>>2]=965356;H=S+76|0;G=S+24|0;Gr(H,G);v[S+148>>2]=0;v[S+152>>2]=-1;v[S+76>>2]=965320;v[S+16>>2]=965300;g=Fx(G);v[S+56>>2]=0;v[S+60>>2]=0;l=S- -64|0;v[l>>2]=0;v[l+4>>2]=0;v[S+72>>2]=8;v[S+24>>2]=965476;Sy(G,s);v[S+12>>2]=0;J=S+16|0;l=J+v[v[S+16>>2]-12>>2]|0;v[l+4>>2]=v[l+4>>2]&-75|8;r=Ma-32|0;Ma=r;v[r+28>>2]=0;if(w[eP(r+24|0,J,0)|0]){s=r+16|0;l=v[(J+v[v[J>>2]-12>>2]|0)+28>>2];v[s>>2]=l;v[l+4>>2]=v[l+4>>2]+1;G=Zl(s,1187248);l=r+8|0;v[l>>2]=v[(J+v[v[J>>2]-12>>2]|0)+24>>2];v[r>>2]=0;Qa[v[v[G>>2]+16>>2]](G,v[l>>2],v[r>>2],J+v[v[J>>2]-12>>2]|0,r+28|0,r+20|0)|0;G=v[s>>2];l=v[G+4>>2]-1|0;v[G+4>>2]=l;if((l|0)==-1){Qa[v[v[G>>2]+8>>2]](G)}v[S+12>>2]=v[r+20>>2];_l(J+v[v[J>>2]-12>>2]|0,v[r+28>>2])}Ma=r+32|0;v[S+76>>2]=965320;v[S+16>>2]=965300;v[S+24>>2]=965476;O=v[S+12>>2];if(t[S+67|0]<=-1){$a(v[S+56>>2])}Nh(g);Kf(H)}Ma=S+160|0;t[(m- -64|0)+R|0]=O;if(t[m+27|0]<=-1){$a(v[m+16>>2])}R=R+1|0}l=h-1|0;if((l|0)<0){break C}J=t[E+11|0];continue}}if(!(Qa[v[v[P>>2]+8>>2]](P)|0)){ea=m+48|0;v[ea+12>>2]=0;v[ea+4>>2]=0;v[ea+8>>2]=0;v[ea>>2]=520704;Ik(ea,M,1);Ys(ea,m+16|0,32,m+12|0);qa=w[m+64|0];t[m+16|0]=qa^w[m+16|0];ra=w[m+65|0];t[m+17|0]=ra^w[m+17|0];O=w[m+66|0];t[m+18|0]=O^w[m+18|0];S=w[m+67|0];t[m+19|0]=S^w[m+19|0];E=w[m+68|0];t[m+20|0]=E^w[m+20|0];r=w[m+69|0];t[m+21|0]=r^w[m+21|0];R=w[m+70|0];t[m+22|0]=R^w[m+22|0];J=w[m+71|0];t[m+23|0]=J^w[m+23|0];P=w[m+72|0];t[m+24|0]=P^w[m+24|0];M=w[m+73|0];t[m+25|0]=M^w[m+25|0];s=w[m+74|0];t[m+26|0]=s^w[m+26|0];G=w[m+75|0];t[m+27|0]=G^w[m+27|0];H=w[m+76|0];t[m+28|0]=H^w[m+28|0];g=w[m+77|0];t[m+29|0]=g^w[m+29|0];l=w[m+78|0];t[m+30|0]=l^w[m+30|0];h=w[m+79|0];t[m+31|0]=h^w[m+31|0];t[m+32|0]=qa^w[m+32|0];t[m+33|0]=ra^w[m+33|0];t[m+34|0]=O^w[m+34|0];t[m+35|0]=S^w[m+35|0];t[m+36|0]=E^w[m+36|0];t[m+37|0]=r^w[m+37|0];t[m+38|0]=R^w[m+38|0];t[m+39|0]=J^w[m+39|0];t[m+40|0]=P^w[m+40|0];t[m+41|0]=M^w[m+41|0];t[m+42|0]=s^w[m+42|0];t[m+43|0]=G^w[m+43|0];t[m+44|0]=w[m+44|0]^H;t[m+45|0]=w[m+45|0]^g;t[m+46|0]=w[m+46|0]^l;t[m+47|0]=w[m+47|0]^h;h=v[ea+4>>2];if(h){dh(h,0,0);Lb(m+16|0,1,32,h)}Si(ea);Xh(ea);break A}if((Qa[v[v[P>>2]+8>>2]](P)|0)!=1){break A}v[m+16>>2]=0;Qa[v[v[P>>2]+20>>2]](P,M,m+16|0)|0;h=v[m+16>>2];if(y[h+4>>2]>=32){h=v[h>>2];t[h|0]=w[h|0]^w[m+64|0];t[h+1|0]=w[h+1|0]^w[m+65|0];t[h+2|0]=w[h+2|0]^w[m+66|0];t[h+3|0]=w[h+3|0]^w[m+67|0];t[h+4|0]=w[h+4|0]^w[m+68|0];t[h+5|0]=w[h+5|0]^w[m+69|0];t[h+6|0]=w[h+6|0]^w[m+70|0];t[h+7|0]=w[h+7|0]^w[m+71|0];t[h+8|0]=w[h+8|0]^w[m+72|0];t[h+9|0]=w[h+9|0]^w[m+73|0];t[h+10|0]=w[h+10|0]^w[m+74|0];t[h+11|0]=w[h+11|0]^w[m+75|0];t[h+12|0]=w[h+12|0]^w[m+76|0];t[h+13|0]=w[h+13|0]^w[m+77|0];t[h+14|0]=w[h+14|0]^w[m+78|0];t[h+15|0]=w[h+15|0]^w[m+79|0];t[h+16|0]=w[h+16|0]^w[m+64|0];t[h+17|0]=w[h+17|0]^w[m+65|0];t[h+18|0]=w[h+18|0]^w[m+66|0];t[h+19|0]=w[h+19|0]^w[m+67|0];t[h+20|0]=w[h+20|0]^w[m+68|0];t[h+21|0]=w[h+21|0]^w[m+69|0];t[h+22|0]=w[h+22|0]^w[m+70|0];t[h+23|0]=w[h+23|0]^w[m+71|0];t[h+24|0]=w[h+24|0]^w[m+72|0];t[h+25|0]=w[h+25|0]^w[m+73|0];t[h+26|0]=w[h+26|0]^w[m+74|0];t[h+27|0]=w[h+27|0]^w[m+75|0];t[h+28|0]=w[h+28|0]^w[m+76|0];t[h+29|0]=w[h+29|0]^w[m+77|0];t[h+30|0]=w[h+30|0]^w[m+78|0];t[h+31|0]=w[h+31|0]^w[m+79|0]}if(v[290698]){l=v[290698];h=v[m+16>>2];Qa[v[v[l>>2]+16>>2]](l,M,v[h>>2],v[h+4>>2],0)|0}l=v[m+16>>2];if(!l){break A}E:{if(!w[l+8|0]){break E}h=v[l>>2];if(!h){break E}$a(h)}$a(l)}h=v[ia>>2];if(h){Qa[v[v[h>>2]+12>>2]](h)}Ma=m+80|0;break y}h=v[a+36>>2];if((Qa[v[v[h>>2]+8>>2]](h)|0)!=1|!v[290698]){break y}v[f+224>>2]=0;h=v[a+36>>2];Qa[v[v[h>>2]+20>>2]](h,f+320|0,f+224|0)|0;if(v[290698]){l=v[290698];h=v[f+224>>2];Qa[v[v[l>>2]+16>>2]](l,f+320|0,v[h>>2],v[h+4>>2],0)|0}l=v[f+224>>2];if(!l){break y}F:{if(!w[l+8|0]){break F}h=v[l>>2];if(!h){break F}$a(h)}$a(l)}r=f+224|0;h=0;E=Ma-32|0;Ma=E;G:{if(t[f+331|0]>=0){l=v[f+324>>2];v[r>>2]=v[f+320>>2];v[r+4>>2]=l;v[r+8>>2]=v[f+328>>2];break G}vc(r,v[f+320>>2],v[f+324>>2])}l=ab(16);v[E+16>>2]=l;v[E+20>>2]=2;v[E+24>>2]=-2147483644;rb(l,967636,2);v[l+8>>2]=0;t[E+11|0]=1;rb(E,967648,1);v[E+4>>2]=0;P=t[E+11|0];l=t[E+27|0];g=(l|0)<0;J=g?v[E+20>>2]:l&255;H:{if(J){h=w[r+11|0];l=h<<24>>24;O=(l|0)<0?v[r+4>>2]:h;if((J|0)>(O|0)){break H}l=(l|0)<0?v[r>>2]:r;M=l+(O<<2)|0;G=g?v[E+16>>2]:E+16|0;H=v[G>>2];h=l;while(1){g=O-J|0;s=g+1|0;if(g>>>0>s>>>0){break H}h=xe(h,H,s);if(!h){break H}if(lc(h,G,J)){h=h+4|0;O=M-h>>2;if((J|0)<=(O|0)){continue}break H}break}if((h|0)==(M|0)){break H}h=h-l|0;if((h|0)==-4){break H}h=h>>2}H=((P|0)>0?P:0)&255;while(1){g=w[E+11|0];l=g<<24>>24<0;tr(r,h,J,l?v[E>>2]:E,l?v[E+4>>2]:g);l=w[r+11|0];s=l<<24>>24<0;h=h+H|0;g=s?v[r+4>>2]:l;if(h>>>0>g>>>0){break H}l=w[E+27|0];G=l<<24>>24<0;P=G?v[E+20>>2]:l;if(P){M=s?v[r>>2]:r;s=M+(g<<2)|0;R=M+(h<<2)|0;h=s-R>>2;if((P|0)>(h|0)){break H}g=G?v[E+16>>2]:E+16|0;l=v[g>>2];while(1){h=h-P|0;G=h+1|0;if(h>>>0>G>>>0){break H}h=xe(R,l,G);if(!h){break H}if(lc(h,g,P)){R=h+4|0;h=s-R>>2;if((P|0)<=(h|0)){continue}break H}break}if((h|0)==(s|0)){break H}h=h-M>>2}if((h|0)!=-1){continue}break}}if(t[E+11|0]<=-1){$a(v[E>>2])}if(t[E+27|0]<=-1){$a(v[E+16>>2])}M=ab(16);v[E+16>>2]=M;v[E+20>>2]=2;v[E+24>>2]=-2147483644;rb(M,967636,2);v[M+8>>2]=0;t[E+11|0]=1;rb(E,967648,1);v[E+4>>2]=0;h=w[r+11|0];l=h<<24>>24<0;O=l?v[r+4>>2]:h;I:{if((O|0)<2){break I}l=l?v[r>>2]:r;s=l+(O<<2)|0;G=t[E+11|0];H=v[M>>2];h=l;while(1){g=O-1|0;if(!g){break I}h=xe(h,H,g);if(!h){break I}if(lc(h,M,2)){h=h+4|0;g=s-h|0;O=g>>2;if((g|0)>=8){continue}break I}break}if((h|0)==(s|0)){break I}h=h-l|0;if((h|0)==-4){break I}H=((G|0)>0?G:0)&255;h=h>>2;while(1){g=w[E+11|0];l=g<<24>>24<0;tr(r,h,2,l?v[E>>2]:E,l?v[E+4>>2]:g);l=w[r+11|0];s=l<<24>>24<0;h=h+H|0;g=s?v[r+4>>2]:l;if(h>>>0>g>>>0){break I}l=w[E+27|0];G=l<<24>>24<0;J=G?v[E+20>>2]:l;if(J){P=s?v[r>>2]:r;M=P+(g<<2)|0;s=P+(h<<2)|0;h=M-s>>2;if((J|0)>(h|0)){break I}g=G?v[E+16>>2]:E+16|0;l=v[g>>2];while(1){h=h-J|0;G=h+1|0;if(h>>>0>G>>>0){break I}h=xe(s,l,G);if(!h){break I}if(lc(h,g,J)){s=h+4|0;h=M-s>>2;if((J|0)<=(h|0)){continue}break I}break}if((h|0)==(M|0)){break I}h=h-P>>2}if((h|0)!=-1){continue}break}}if(t[E+11|0]<=-1){$a(v[E>>2])}if(t[E+27|0]<=-1){$a(v[E+16>>2])}Ma=E+32|0;if(t[f+331|0]<=-1){$a(v[f+320>>2])}v[f+328>>2]=v[f+232>>2];h=v[f+228>>2];v[f+320>>2]=v[f+224>>2];v[f+324>>2]=h;Qa[v[v[c>>2]+228>>2]](c,f+320|0)|0;if(t[f+251|0]<=-1){$a(v[f+240>>2])}if(t[f+59|0]>-1){break o}$a(v[f+48>>2]);break o}if(Vc(f+168|0,963180,7)){s=v[f+172>>2];h=w[f+179|0];l=h;break p}n=f+240|0;_c(n,b);n=qd(f+48|0,n);Wu(n,f+224|0);Qb(n);if(t[f+251|0]<=-1){$a(v[f+240>>2])}EF(d,f+224|0);n=1;break o}J:{if(((l<<24>>24<0?s:h)|0)!=4){break J}if(Vc(f+168|0,963212,4)){s=v[f+172>>2];h=w[f+179|0];l=h;break J}h=f+48|0;_c(h,b);hh($,h);if(t[f+59|0]>-1){break o}$a(v[f+48>>2]);break o}K:{if(((l<<24>>24<0?s:h)|0)!=4){break K}if(Vc(f+168|0,963232,4)){s=v[f+172>>2];h=w[f+179|0];l=h;break K}h=f+48|0;_c(h,b);hh(U,h);if(t[f+59|0]>-1){break o}$a(v[f+48>>2]);break o}L:{if(((l<<24>>24<0?s:h)|0)!=16){break L}if(Vc(f+168|0,963252,16)){s=v[f+172>>2];h=w[f+179|0];l=h;break L}h=f+240|0;_c(h,b);l=qd(f+48|0,h);if(t[f+251|0]<=-1){$a(v[f+240>>2])}if(nc(l,963320)){aa=1;Qb(l);break o}if(nc(l,963388)){Q=1;Qb(l);break o}h=nc(l,963448);aa=h?1:aa;Q=h?1:Q;Qb(l);break o}M:{if(((l<<24>>24<0?s:h)|0)!=19){break M}if(Vc(f+168|0,963532,19)){s=v[f+172>>2];h=w[f+179|0];l=h;break M}h=f+48|0;_c(h,b);X=ng(h);if(t[f+59|0]>-1){break o}$a(v[f+48>>2]);break o}N:{if(((l<<24>>24<0?s:h)|0)!=15){break N}if(Vc(f+168|0,963612,15)){s=v[f+172>>2];h=w[f+179|0];l=h;break N}h=f+48|0;_c(h,b);hh(ba,h);if(t[f+59|0]>-1){break o}$a(v[f+48>>2]);break o}O:{if(((l<<24>>24<0?s:h)|0)!=13){break O}if(Vc(f+168|0,963676,13)){s=v[f+172>>2];h=w[f+179|0];l=h;break O}h=f+240|0;_c(h,b);h=qd(f+48|0,h);if(t[f+251|0]<=-1){$a(v[f+240>>2])}if(v[h+4>>2]){l=f+240|0;P:{Q:{i=h;if(!w[h+8|0]){break Q}i=v[i>>2];if(i){break Q}i=0;break P}i=v[i>>2]}g=sb(l,i);t[f+224|0]=1;s=0;O=0;i=w[g+11|0];l=i<<24>>24<0?v[g+4>>2]:i;R:{S:{if(!l){break S}v[f+284>>2]=0;k=l<<1|1;i=k+k|0;O=ab(i>>>0>>0?-1:i);H=eb(O,0,k<<1);k=H;while(1){i=v[Qj(g,s)>>2];T:{if(i>>>0<=65535){u[k>>1]=i;i=1;break T}u[k+2>>1]=i&1023|56320;u[k>>1]=i+16711680>>>10|55296;i=2}k=(i<<1)+k|0;s=s+1|0;if((l|0)!=(s|0)){continue}break}g=k-H|0;v[f+284>>2]=g>>1;if(!g){$a(H);i=0;break R}if(w[f+224|0]){break S}k=0;while(1){i=k+H|0;l=w[i|0];r=i;i=H+(k|1)|0;t[r|0]=w[i|0];t[i|0]=l;k=k+2|0;if(g>>>0>k>>>0){continue}break}}i=O}if(t[f+251|0]<=-1){$a(v[f+240>>2])}k=v[f+284>>2];if(k>>>0<2){k=i;Qb(h);break o}if(x[i>>1]!=123){k=i;Qb(h);break o}if(x[i+2>>1]!=125){k=i;Qb(h);break o}v[f+284>>2]=k-2;k=i+4|0}Qb(h);break o}U:{if(((l<<24>>24<0?s:h)|0)!=7){break U}if(Vc(f+168|0,963732,7)){break U}h=f+48|0;_c(h,b);T=ng(h);if(t[f+59|0]>-1){break o}$a(v[f+48>>2]);break o}if(Oi(963764,f+168|0)){h=f+48|0;_c(h,b);ga=ng(h);if(t[f+59|0]>-1){break o}$a(v[f+48>>2]);break o}if(Oi(963796,f+168|0)){h=f+48|0;_c(h,b);hh(q,h);if(t[f+59|0]<=-1){$a(v[f+48>>2])}_c(f+48|0,b);if(p<<24>>24<=-1){$a(ma)}p=t[f+59|0];ma=v[f+48>>2];break o}if(Oi(963828,f+168|0)){h=f+48|0;_c(h,b);pa=LT(h);if(t[f+59|0]>-1){break o}$a(v[f+48>>2]);break o}if(!Uy(f+168|0,963868)){break o}h=f+48|0;_c(h,b);ha=LF(h);if(t[f+59|0]>-1){break o}$a(v[f+48>>2])}if(Pi(b)){break m}l=w[f+179|0]}if(l<<24>>24<=-1){$a(v[f+168>>2])}h=n;ha=ha&1;s=aa&1;n=Q&1;break l}Xc(f+48|0,b);if(t[f+179|0]<=-1){$a(v[f+168>>2])}v[f+176>>2]=v[f+56>>2];h=v[f+52>>2];v[f+168>>2]=v[f+48>>2];v[f+172>>2]=h;continue}}Ej(b);O=0;V:{if(!v[U+4>>2]){break V}W:{if(!v[U+4>>2]){break W}v[f+168>>2]=0;if(v[v[(w[U+8|0]?v[U>>2]:U)>>2]+(v[f+168>>2]<<2)>>2]!=123){break W}W=zT(d,U);break V}X:{Y:{l=U;if(!w[l+8|0]){break Y}l=v[l>>2];if(l){break Y}l=0;break X}l=v[l>>2]}A[f+168>>3]=A[d+48>>3];W=MT(l,f+168|0);O=1}if(!yh(b)){g=f+168|0;v[g>>2]=0;v[g+4>>2]=0;t[g+8|0]=0;Q=rg(b);if(qe(b,Q)){while(1){l=f+240|0;Xc(l,b);l=qd(f+48|0,l);Xe(g,l);Qb(l);if(t[f+251|0]<=-1){$a(v[f+240>>2])}Z:{if(nc(g,963912)){Oy(b,ba);break Z}if(W|!nc(g,964004)){break Z}A[f+48>>3]=A[d+48>>3];W=NT(b,f+48|0);O=1}if(qe(b,Q)){continue}break}}Qb(g)}_:{$:{aa:{if(!W){break aa}if(Qa[v[v[W>>2]+8>>2]](W,c)|0){break $}if(!O){break aa}Qa[v[v[W>>2]+4>>2]](W)}if(i){$a(i)}if(!h){break _}My(d);break _}aa=0;ba:{if(!v[ba+4>>2]){Q=0;break ba}ca:{da:{l=ba;if(!w[l+8|0]){break da}l=v[l>>2];if(l){break da}l=0;break ca}l=v[l>>2]}Q=Yu(l,d);if(!(X<5)){break ba}l=Ma-48|0;Ma=l;rt(d,l);Z=A[l+24>>3];da=A[l>>3];V=A[l+8>>3];N=A[l+16>>3];Y=K(Z*da-V*N);A[l+24>>3]=Z/Y;A[l+16>>3]=N/Y;A[l+8>>3]=V/Y;A[l>>3]=da/Y;DF(d);Ma=l+48|0;X=X*Y}if(v[$+4>>2]){ea:{fa:{l=$;if(!w[l+8|0]){break fa}l=v[l>>2];if(l){break fa}l=0;break ea}l=v[l>>2]}aa=Ty(l,d)}N=X*.75;A[f+168>>3]=N;Qa[v[v[c>>2]+236>>2]](c,f+168|0)|0;l=0;v[f+216>>2]=0;v[f+184>>2]=0;v[f+188>>2]=0;v[f+192>>2]=0;v[f+196>>2]=0;t[f+197|0]=0;t[f+198|0]=0;t[f+199|0]=0;t[f+200|0]=0;t[f+201|0]=0;t[f+202|0]=0;t[f+203|0]=0;t[f+204|0]=0;v[f+208>>2]=0;v[f+212>>2]=0;u[f+172>>1]=0;v[f+168>>2]=0;v[f+176>>2]=0;v[f+180>>2]=0;v[f+164>>2]=0;v[f+160>>2]=v[q+4>>2];v[f+156>>2]=0;G=v[a+44>>2];H=f+48|0;g=v[a+36>>2];Qa[v[v[g>>2]+12>>2]](H,g,f+320|0);v[f+136>>2]=0;A[f+240>>3]=C(N);v[f+224>>2]=0;v[f+228>>2]=1079508992;v[f+144>>2]=0;v[f+148>>2]=1079508992;Qa[v[v[G>>2]+144>>2]](G,H,f+136|0,f+240|0,f+224|0,f+144|0)|0;if(t[f+59|0]<=-1){$a(v[f+48>>2])}g=v[a+44>>2];g=Qa[v[v[g>>2]+24>>2]](g)|0;ga:{if(!g){J=0;break ga}J=(Qa[v[v[g>>2]+48>>2]](g)^-1)&s;if(Qa[v[v[g>>2]+52>>2]](g)|!n){break ga}l=f+240|0;Qa[v[v[c>>2]+140>>2]](c,l)|0;n=f+224|0;Qa[v[v[c>>2]+148>>2]](c,n)|0;Qa[v[v[c>>2]+52>>2]](c,l)|0;Qa[v[v[c>>2]+60>>2]](c,n)|0;v[f+48>>2]=-286331153;v[f+52>>2]=1070657262;Qa[v[v[c>>2]+68>>2]](c,f+48|0)|0;l=1}Y=X/100;ha:{if(ha){ia:{ja:{n=q;if(!w[n+8|0]){break ja}n=v[n>>2];if(n){break ja}n=0;break ia}n=v[n>>2]}v[f+48>>2]=v[f+284>>2];if(!Py(n,f+164|0,f+160|0,k,f+156|0,f+48|0,f+168|0)){break ha}while(1){g=v[a+44>>2];ka:{if(w[f+201|0]){n=x[f+172>>1];v[f+48>>2]=1;s=f+48|0;Qa[v[v[g>>2]+40>>2]](g,s);v[f+240>>2]=n;break ka}v[f+48>>2]=0;s=f+48|0;Qa[v[v[g>>2]+40>>2]](g,s);v[f+240>>2]=v[f+168>>2]}Qa[v[v[g>>2]+108>>2]](s,g,f+240|0);ua=z[f+64>>2];g=v[a+44>>2];la:{if(w[f+201|0]){n=x[f+172>>1];v[f+48>>2]=1;s=f+48|0;Qa[v[v[g>>2]+40>>2]](g,s);v[f+240>>2]=n;break la}v[f+48>>2]=0;s=f+48|0;Qa[v[v[g>>2]+40>>2]](g,s);v[f+240>>2]=v[f+168>>2]}Qa[v[v[g>>2]+108>>2]](s,g,f+240|0);n=w[f+203|0]|w[f+204|0];V=n?ga-Y*A[f+192>>3]:ga;Z=n?T+Y*A[f+184>>3]:T;N=A[f+176>>3];da=+z[f+68>>2];g=w[f+202|0];if(J){v[f+80>>2]=0;v[f+84>>2]=0;v[f+72>>2]=0;v[f+76>>2]=1072693248;v[f+64>>2]=0;v[f+68>>2]=0;v[f+56>>2]=-1047329136;v[f+60>>2]=1070633085;v[f+48>>2]=0;v[f+52>>2]=1072693248;A[f+88>>3]=Z*-.25881904510252074;Ly(d,f+48|0)}v[f+72>>2]=0;v[f+76>>2]=0;v[f+64>>2]=0;v[f+68>>2]=1072693248;v[f+56>>2]=0;v[f+60>>2]=-1074790400;v[f+48>>2]=0;v[f+52>>2]=0;A[f+80>>3]=Z+da;A[f+88>>3]=+ua*.5+V;Ly(d,f+48|0);ma:{if(w[f+201|0]){v[f+128>>2]=v[f+168>>2];v[f+120>>2]=x[f+172>>1];v[f+240>>2]=0;v[f+244>>2]=0;v[f+224>>2]=0;v[f+228>>2]=0;v[f+144>>2]=0;v[f+148>>2]=0;v[f+136>>2]=0;v[f+140>>2]=0;Qa[v[v[c>>2]+280>>2]](c,f+128|0,f+120|0,f+240|0,f+224|0,f+144|0,f+136|0)|0;break ma}v[f+128>>2]=v[f+168>>2];v[f+240>>2]=0;v[f+244>>2]=0;v[f+224>>2]=0;v[f+228>>2]=0;v[f+144>>2]=0;v[f+148>>2]=0;v[f+136>>2]=0;v[f+140>>2]=0;Qa[v[v[c>>2]+272>>2]](c,f+128|0,f+240|0,f+224|0,f+144|0,f+136|0)|0}if(l){v[f+240>>2]=4;Qa[v[v[c>>2]+288>>2]](c,f+240|0)|0;Qa[v[v[c>>2]+332>>2]](c)|0;na:{if(w[f+201|0]){v[f+128>>2]=v[f+168>>2];v[f+120>>2]=x[f+172>>1];v[f+240>>2]=0;v[f+244>>2]=0;v[f+224>>2]=0;v[f+228>>2]=0;v[f+144>>2]=0;v[f+148>>2]=0;v[f+136>>2]=0;v[f+140>>2]=0;Qa[v[v[c>>2]+348>>2]](c,f+128|0,f+120|0,f+240|0,f+224|0,f+144|0,f+136|0)|0;break na}v[f+128>>2]=v[f+168>>2];v[f+240>>2]=0;v[f+244>>2]=0;v[f+224>>2]=0;v[f+228>>2]=0;v[f+144>>2]=0;v[f+148>>2]=0;v[f+136>>2]=0;v[f+140>>2]=0;Qa[v[v[c>>2]+340>>2]](c,f+128|0,f+240|0,f+224|0,f+144|0,f+136|0)|0}Qa[v[v[c>>2]+328>>2]](c,964052)|0;v[f+240>>2]=4;Qa[v[v[c>>2]+292>>2]](c,f+240|0)|0;Qa[v[v[c>>2]+324>>2]](c)|0}_p(d);if(J){_p(d)}oa:{pa:{n=q;if(!w[n+8|0]){break pa}n=v[n>>2];if(n){break pa}n=0;break oa}n=v[n>>2]}v[f+48>>2]=v[f+284>>2];T=T+(g?Y*N:da);if(Py(n,f+164|0,f+160|0,k,f+156|0,f+48|0,f+168|0)){continue}break}break ha}if(!v[a>>2]){n=ab(20);v[n+4>>2]=0;v[n+8>>2]=0;v[n>>2]=965256;v[n+12>>2]=0;v[n+16>>2]=0;v[a>>2]=n;cn(n,0)}Qa[v[v[c>>2]+376>>2]](c,f+144|0,f+136|0,f+128|0,f+120|0,f+112|0,f+104|0)|0;s=En(f+96|0,A[f+144>>3],A[f+136>>3],A[f+128>>3],A[f+120>>3],A[f+112>>3],A[f+104>>3]);G=f+48|0;n=v[a+44>>2];Qa[v[v[n>>2]+60>>2]](G,n);H=t[f+59|0];g=v[f+48>>2];n=v[a+44>>2];Qa[v[v[n>>2]+60>>2]](f+224|0,n);n=w[f+235|0];Ti(f+240|0,(H|0)<0?g:G,n<<24>>24<0?v[f+228>>2]:n);if(t[f+235|0]<=-1){$a(v[f+224>>2])}if(t[f+59|0]<=-1){$a(v[f+48>>2])}g=t[f+251|0];n=(g|0)<0;TT(v[a>>2],n?v[f+240>>2]:f+240|0,n?v[f+244>>2]:g&255);g=v[a>>2];N=(X*A[f+144>>3]+A[f+112>>3])*100;qa:{if(N<4294967296&N>=0){n=~~N>>>0;break qa}n=0}cn(g,n);cn(v[a>>2],v[f+284>>2]);ra:{sa:{n=q;if(!w[n+8|0]){break sa}n=v[n>>2];if(n){break sa}n=0;break ra}n=v[n>>2]}v[f+48>>2]=v[f+284>>2];if(Py(n,f+164|0,f+160|0,k,f+156|0,f+48|0,f+168|0)){H=pa&1;while(1){ta:{ua:{if(w[f+202|0]){X=Y*A[f+176>>3];V=X;if(!H){break ua}G=v[a+44>>2];if(w[f+201|0]){g=x[f+172>>1];v[f+48>>2]=1;n=f+48|0;Qa[v[v[G>>2]+40>>2]](G,n);v[f+224>>2]=g;Qa[v[v[G>>2]+108>>2]](n,G,f+224|0);V=+z[f+64>>2];break ta}v[f+48>>2]=0;n=f+48|0;Qa[v[v[G>>2]+40>>2]](G,n);v[f+224>>2]=v[f+168>>2];Qa[v[v[G>>2]+108>>2]](n,G,f+224|0);V=+z[f+64>>2];break ta}G=v[a+44>>2];va:{if(w[f+201|0]){g=x[f+172>>1];v[f+48>>2]=1;n=f+48|0;Qa[v[v[G>>2]+40>>2]](G,n);v[f+224>>2]=g;break va}v[f+48>>2]=0;n=f+48|0;Qa[v[v[G>>2]+40>>2]](G,n);v[f+224>>2]=v[f+168>>2]}Qa[v[v[G>>2]+108>>2]](n,G,f+224|0);V=+z[f+64>>2]}X=V;V=X}da=V;g=w[f+203|0]|w[f+204|0];n=!g;V=H?T-da:T;T=V;if(g){N=A[f+184>>3];T=V+Y*(H?-N:N)}Z=n?ga:ga-Y*A[f+192>>3];if(J){v[f+88>>2]=0;v[f+92>>2]=0;v[f+72>>2]=0;v[f+76>>2]=1072693248;v[f+64>>2]=-1047329136;v[f+68>>2]=-1076850563;v[f+56>>2]=0;v[f+60>>2]=0;v[f+48>>2]=0;v[f+52>>2]=1072693248;A[f+80>>3]=Z*.25881904510252074;Ly(d,f+48|0)}A[f+48>>3]=T;A[f+224>>3]=Z;zd(s,f+48|0,f+224|0);g=v[a>>2];N=A[f+48>>3]*100;wa:{if(N<4294967296&N>=0){n=~~N>>>0;break wa}n=0}cn(g,n);g=v[a>>2];N=A[f+224>>3]*100;xa:{if(N<4294967296&N>=0){n=~~N>>>0;break xa}n=0}cn(g,n);cn(v[a>>2],v[f+168>>2]);n=v[a>>2];g=v[n+4>>2];n=v[n+16>>2];t[g|0]=n;t[g+1|0]=n>>>8;t[g+2|0]=n>>>16;t[g+3|0]=n>>>24;ya:{if(w[f+201|0]){v[f+44>>2]=v[f+168>>2];v[f+40>>2]=x[f+172>>1];A[f+32>>3]=T*25.4/96;A[f+24>>3]=Z*25.4/96;v[f+16>>2]=0;v[f+20>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;Qa[v[v[c>>2]+280>>2]](c,f+44|0,f+40|0,f+32|0,f+24|0,f+16|0,f+8|0)|0;break ya}v[f+44>>2]=0;Qa[v[v[c>>2]+16>>2]](c,f+44|0)|0;if(v[f+44>>2]==16){v[f+32>>2]=0;Qa[v[v[c>>2]+252>>2]](c,f+32|0)|0}v[f+40>>2]=v[f+168>>2];A[f+32>>3]=T*25.4/96;A[f+24>>3]=Z*25.4/96;v[f+16>>2]=0;v[f+20>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;Qa[v[v[c>>2]+272>>2]](c,f+40|0,f+32|0,f+24|0,f+16|0,f+8|0)|0}if(l){v[f+32>>2]=4;Qa[v[v[c>>2]+288>>2]](c,f+32|0)|0;Qa[v[v[c>>2]+332>>2]](c)|0;za:{if(w[f+201|0]){v[f+44>>2]=v[f+168>>2];v[f+40>>2]=x[f+172>>1];A[f+32>>3]=T*25.4/96;A[f+24>>3]=Z*25.4/96;v[f+16>>2]=0;v[f+20>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;Qa[v[v[c>>2]+348>>2]](c,f+44|0,f+40|0,f+32|0,f+24|0,f+16|0,f+8|0)|0;break za}v[f+44>>2]=v[f+168>>2];A[f+32>>3]=T*25.4/96;A[f+24>>3]=Z*25.4/96;v[f+16>>2]=0;v[f+20>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;Qa[v[v[c>>2]+340>>2]](c,f+44|0,f+32|0,f+24|0,f+16|0,f+8|0)|0}Qa[v[v[c>>2]+328>>2]](c,964052)|0;v[f+32>>2]=4;Qa[v[v[c>>2]+292>>2]](c,f+32|0)|0;Qa[v[v[c>>2]+324>>2]](c)|0}if(J){_p(d)}Aa:{Ba:{n=q;if(!w[n+8|0]){break Ba}n=v[n>>2];if(n){break Ba}n=0;break Aa}n=v[n>>2]}v[f+48>>2]=v[f+284>>2];T=V+(H?-(X-da):X);if(Py(n,f+164|0,f+160|0,k,f+156|0,f+48|0,f+168|0)){continue}break}}if(t[f+251|0]<=-1){$a(v[f+240>>2])}me(s)}if(O){Qa[v[v[W>>2]+4>>2]](W)}if(i){$a(i)}if(aa){BF(d)}if(Q){_p(d)}if(h){My(d)}i=v[f+208>>2];if(!i){break _}v[f+212>>2]=i;$a(i)}Qb(U);Qb(q);Qb(ba);Qb($);if(p<<24>>24<=-1){$a(ma)}if(t[f+331|0]<=-1){$a(v[f+320>>2])}Ma=f+336|0;break k}if(nc(_,962832)){Zu(a,b,c,d,e);break k}if(!((nc(_,962860)^-1|ka)&1)){i=I+16|0;v[i>>2]=0;v[i+4>>2]=0;t[i+8|0]=0;n=i;Oy(b,i);Ca:{Da:{if(!w[i+8|0]){break Da}i=v[i>>2];if(i){break Da}i=0;break Ca}i=v[i>>2]}ka=Yu(i,d);Qb(n);break k}if(!((nc(_,962952)^-1|ca)&1)){i=I+16|0;v[i>>2]=0;v[i+4>>2]=0;t[i+8|0]=0;n=i;GT(b,i);Ea:{Fa:{if(!w[i+8|0]){break Fa}i=v[i>>2];if(i){break Fa}i=0;break Ea}i=v[i>>2]}ca=Ty(i,d);Qb(n);break k}if(nc(_,963e3)){i=0;h=0;n=0;W=0;aa=0;ha=0;ga=0;g=Ma-432|0;Ma=g;v[g+268>>2]=0;v[g+264>>2]=255;t[g+263|0]=0;t[g+262|0]=0;t[g+261|0]=0;t[g+260|0]=0;U=g+248|0;k=U;v[k>>2]=0;v[k+4>>2]=0;t[k+8|0]=0;$=g+232|0;k=$;v[k>>2]=0;v[k+4>>2]=0;t[k+8|0]=0;ba=g+216|0;k=ba;v[k>>2]=0;v[k+4>>2]=0;t[k+8|0]=0;E=g+200|0;v[E>>2]=0;v[E+4>>2]=0;t[E+8|0]=0;l=g+184|0;k=l;v[k>>2]=0;v[k+4>>2]=0;t[k+8|0]=0;Q=v[v[a+48>>2]+4>>2];Ga:{if(!$j(b)){T=1;X=10;break Ga}Xc(g+168|0,b);P=g+352|0;J=g+300|0;r=g+136|4;s=g+320|0;T=1;X=10;while(1){p=w[g+179|0];i=p<<24>>24;Ha:{k=v[g+172>>2];q=(i|0)<0?k:p;if(q){Ia:{Ja:{Ka:{La:{if((q|0)==15){if(!Vc(g+168|0,963612,15)){break La}k=v[g+172>>2];p=w[g+179|0];i=p}if(((i<<24>>24<0?k:p)|0)==4){break Ka}break Ja}i=g+288|0;_c(i,b);hh(ba,i);if(t[g+299|0]>-1){break Ia}$a(v[g+288>>2]);break Ia}if(Vc(g+168|0,963212,4)){k=v[g+172>>2];p=w[g+179|0];i=p;break Ja}i=g+288|0;_c(i,b);hh($,i);if(t[g+299|0]>-1){break Ia}$a(v[g+288>>2]);break Ia}Ma:{if(((i<<24>>24<0?k:p)|0)!=7){break Ma}if(Vc(g+168|0,963180,7)){k=v[g+172>>2];p=w[g+179|0];i=p;break Ma}i=g+272|0;_c(i,b);i=qd(g+288|0,i);Wu(i,g+152|0);Qb(i);if(t[g+283|0]<=-1){$a(v[g+272>>2])}EF(d,g+152|0);aa=1;break Ia}Na:{if(((i<<24>>24<0?k:p)|0)!=6){break Na}if(Vc(g+168|0,964056,6)){k=v[g+172>>2];p=w[g+179|0];i=p;break Na}i=g+288|0;_c(i,b);KT(i,g+268|0,g+264|0);if(t[g+299|0]<=-1){$a(v[g+288>>2])}h=1;break Ia}Oa:{if(((i<<24>>24<0?k:p)|0)!=15){break Oa}if(Vc(g+168|0,964084,15)){k=v[g+172>>2];p=w[g+179|0];i=p;break Oa}i=g+288|0;_c(i,b);T=ng(i);if(t[g+299|0]>-1){break Ia}$a(v[g+288>>2]);break Ia}Pa:{if(((i<<24>>24<0?k:p)|0)!=15){break Pa}if(Vc(g+168|0,964148,15)){k=v[g+172>>2];p=w[g+179|0];i=p;break Pa}k=g+152|0;_c(k,b);i=0;v[g+144>>2]=0;v[g+136>>2]=0;v[g+140>>2]=0;v[g+352>>2]=965884;v[g+288>>2]=965864;v[g+296>>2]=965644;v[g+292>>2]=0;Gr(P,J);v[g+424>>2]=0;v[g+428>>2]=-1;v[g+352>>2]=965664;v[g+288>>2]=965624;v[g+296>>2]=965644;q=Fx(J);v[g+300>>2]=965476;v[g+340>>2]=0;v[g+344>>2]=0;v[g+332>>2]=0;v[g+336>>2]=0;v[g+348>>2]=24;Sy(J,k);v[g+280>>2]=0;v[g+272>>2]=0;v[g+276>>2]=0;p=0;Qa:{k=ns(g+288|0,g+272|0,32);if(w[(v[v[k>>2]-12>>2]+k|0)+16|0]&5){break Qa}while(1){Ra:{if((i|0)!=(p|0)){Sa:{if(t[g+283|0]>=0){i=v[g+276>>2];v[p>>2]=v[g+272>>2];v[p+4>>2]=i;v[p+8>>2]=v[g+280>>2];break Sa}vc(p,v[g+272>>2],v[g+276>>2])}v[g+140>>2]=p+12;break Ra}yw(g+136|0,g+272|0)}i=ns(g+288|0,g+272|0,32);if(w[(v[v[i>>2]-12>>2]+i|0)+16|0]&5){break Qa}i=v[g+144>>2];p=v[g+140>>2];continue}}if(t[g+283|0]<=-1){$a(v[g+272>>2])}v[g+352>>2]=965664;v[g+288>>2]=965624;v[g+300>>2]=965476;v[g+296>>2]=965644;if(t[g+343|0]<=-1){$a(v[g+332>>2])}Nh(q);Kf(P);p=v[g+140>>2];i=v[g+136>>2];q=p-i|0;k=(q|0)/12|0;if((q|0)>=1){W=ab(k<<3);Ta:{if((i|0)!=(p|0)){n=(k|0)>1?k:1;p=0;while(1){va=(p<<3)+W|0,wa=ng(B(p,12)+i|0),A[va>>3]=wa;p=p+1|0;if((n|0)==(p|0)){break Ta}i=v[g+136>>2];if((v[g+140>>2]-i|0)/12>>>0>p>>>0){continue}break}}gi();L()}n=k;i=v[g+136>>2]}if(i){k=v[g+140>>2];if((k|0)==(i|0)){k=i}else{while(1){q=k-12|0;if(t[k-1|0]<=-1){$a(v[q>>2])}k=q;if((k|0)!=(i|0)){continue}break}k=v[g+136>>2]}v[g+140>>2]=i;$a(k)}if(t[g+163|0]>-1){break Ia}$a(v[g+152>>2]);break Ia}Ua:{if(((i<<24>>24<0?k:p)|0)!=16){break Ua}if(Vc(g+168|0,964212,16)){k=v[g+172>>2];p=w[g+179|0];i=p;break Ua}i=g+288|0;_c(i,b);ga=ng(i);if(t[g+299|0]>-1){break Ia}$a(v[g+288>>2]);break Ia}Va:{if(((i<<24>>24<0?k:p)|0)!=13){break Va}if(Vc(g+168|0,964280,13)){k=v[g+172>>2];p=w[g+179|0];i=p;break Va}i=g+288|0;WH(i,b);va=g,xa=KF(i),t[va+263|0]=xa;if(t[g+299|0]>-1){break Ia}$a(v[g+288>>2]);break Ia}Wa:{if(((i<<24>>24<0?k:p)|0)!=16){break Wa}if(Vc(g+168|0,964336,16)){break Wa}i=g+288|0;WH(i,b);va=g,xa=KF(i),t[va+261|0]=xa;if(t[g+299|0]>-1){break Ia}$a(v[g+288>>2]);break Ia}if(Oi(964404,g+168|0)){i=g+288|0;WH(i,b);va=g,xa=KF(i),t[va+262|0]=xa;if(t[g+299|0]>-1){break Ia}$a(v[g+288>>2]);break Ia}if(Oi(964480,g+168|0)){i=g+272|0;_c(i,b);i=qd(g+288|0,i);if(t[g+283|0]<=-1){$a(v[g+272>>2])}if(nc(i,964540)){t[g+260|0]=0;Qb(i);break Ia}if(nc(i,964564)){t[g+260|0]=1;Qb(i);break Ia}if(nc(i,964588)){t[g+260|0]=2}Qb(i);break Ia}if(Oi(964612,g+168|0)){i=g+288|0;_c(i,b);X=ng(i);if(t[g+299|0]>-1){break Ia}$a(v[g+288>>2]);break Ia}if(Oi(963232,g+168|0)){i=g+288|0;_c(i,b);hh(U,i);if(t[g+299|0]>-1){break Ia}$a(v[g+288>>2]);break Ia}if(Oi(964680,g+168|0)){i=g+288|0;_c(i,b);hh(E,i);if(t[g+299|0]>-1){break Ia}$a(v[g+288>>2]);break Ia}if(Oi(964700,g+168|0)){_c(g+288|0,b);i=v[a+48>>2];k=v[i+4>>2];i=v[i>>2];Xa:{if(t[g+299|0]>=0){v[g+128>>2]=v[g+296>>2];q=v[g+292>>2];v[g+120>>2]=v[g+288>>2];v[g+124>>2]=q;break Xa}vc(g+120|0,v[g+288>>2],v[g+292>>2])}G=g+120|0;Ya:{if((i|0)==(k|0)){break Ya}while(1){Q=w[i+39|0];H=Q<<24>>24<0;q=w[G+11|0];p=q<<24>>24<0;Q=H?v[i+32>>2]:Q;if((Q|0)==((p?v[G+4>>2]:q)|0)){if(!Q){break Ya}q=i+28|0;if(!lc(H?v[q>>2]:q,p?v[G>>2]:G,Q)){break Ya}}i=i+40|0;if((k|0)!=(i|0)){continue}break}i=k}Q=i;if(t[g+131|0]<=-1){$a(v[g+120>>2])}if(t[g+299|0]>-1){break Ia}$a(v[g+288>>2]);break Ia}if(!Oi(964720,g+168|0)){break Ia}Qa[v[v[c>>2]+376>>2]](c,g+112|0,g+104|0,g+96|0,g+88|0,g+80|0,g+72|0)|0;R=En(g- -64|0,A[g+112>>3],A[g+104>>3],A[g+96>>3],A[g+88>>3],A[g+80>>3],A[g+72>>3]);v[g+56>>2]=0;v[g+60>>2]=0;v[g+48>>2]=0;v[g+52>>2]=0;v[g+40>>2]=0;v[g+44>>2]=0;v[g+32>>2]=0;v[g+36>>2]=0;v[g+24>>2]=0;v[g+28>>2]=0;v[g+16>>2]=0;v[g+20>>2]=0;v[g+312>>2]=0;v[g+316>>2]=0;v[g+304>>2]=0;v[g+308>>2]=0;v[g+296>>2]=0;v[g+300>>2]=0;v[g+288>>2]=0;v[g+292>>2]=0;q=sb(s,964808);i=g+272|0;js(i,E);i=xt(i,964812,0);Za:{if((i|0)==-1){break Za}k=i+2|0;i=sj(g+272|0,44,k);if((i|0)==-1){break Za}va=g,wa=ng(bf(g+152|0,g+272|0,k,i-k|0)),A[va+56>>3]=wa;if(t[g+163|0]<=-1){$a(v[g+152>>2])}k=i+1|0;i=sj(g+272|0,32,k);_a:{if((i|0)==-1){break _a}va=g,wa=ng(bf(g+152|0,g+272|0,k,i-k|0)),A[va+48>>3]=wa;if(t[g+163|0]>-1){break _a}$a(v[g+152>>2])}zd(R,g+56|0,g+48|0)}p=-1;i=xt(g+272|0,964824,0);$a:{if((i|0)==-1){break $a}p=i+2|0;i=sj(g+272|0,44,p);if((i|0)==-1){break $a}va=g,wa=ng(bf(g+152|0,g+272|0,p,i-p|0)),A[va+40>>3]=wa;if(t[g+163|0]<=-1){$a(v[g+152>>2])}k=i+1|0;i=sj(g+272|0,32,k);ab:{if((i|0)==-1){break ab}va=g,wa=ng(bf(g+152|0,g+272|0,k,i-k|0)),A[va+32>>3]=wa;if(t[g+163|0]>-1){break ab}$a(v[g+152>>2])}zd(R,g+40|0,g+32|0)}i=xt(g+272|0,964824,p);bb:{if((i|0)==-1){break bb}k=i+2|0;i=sj(g+272|0,44,k);if((i|0)==-1){break bb}va=g,wa=ng(bf(g+152|0,g+272|0,k,i-k|0)),A[va+24>>3]=wa;if(t[g+163|0]<=-1){$a(v[g+152>>2])}k=i+1|0;i=sj(g+272|0,32,k);cb:{if((i|0)==-1){break cb}va=g,wa=ng(bf(g+152|0,g+272|0,k,i-k|0)),A[va+16>>3]=wa;if(t[g+163|0]>-1){break cb}$a(v[g+152>>2])}zd(R,g+24|0,g+16|0)}Z=A[g+56>>3];N=Z;na=A[g+40>>3];H=N==na;da=A[g+24>>3];fa=H?da:na;o(+N);i=j(1)|0;i=i&2147483647;if(!(j(0)|0)&(i|0)==2146435072|i>>>0<2146435072){o(+fa);i=j(1)&2147483647;fa=(i|0)==2146435072&(j(0)|0)!=0|i>>>0>2146435072?N:F(N,fa)}A[g+288>>3]=fa;Y=A[g+32>>3];V=A[g+48>>3];sa=V;p=Y==V;N=A[g+16>>3];fa=p?N:Y;i=g;o(+V);k=j(1)|0;k=k&2147483647;if(!(j(0)|0)&(k|0)==2146435072|k>>>0<2146435072){o(+fa);k=j(1)&2147483647;fa=(k|0)==2146435072&(j(0)|0)!=0|k>>>0>2146435072?sa:F(sa,fa)}A[i+296>>3]=fa;A[g+312>>3]=D(V-(H?Y:N));A[g+304>>3]=D(Z-(p?na:da));i=g+152|0;_c(i,b);db:{eb:{if(!xt(i,964836,0)){Yo(q,g+152|0);break eb}i=sj(g+152|0,35,0);if((i|0)==-1){break db}k=Xo(v[a+48>>2]+12|0,bf(g+136|0,g+152|0,i+1|0,-1));if(t[g+147|0]<=-1){$a(v[g+136>>2])}if((k|0)==(v[a+48>>2]+16|0)){break db}i=g+136|0;rj(i,v[k+28>>2]);eD(i,t[g+147|0]<0?v[g+136>>2]:i,35);p=w[r+3|0]|w[r+4|0]<<8|(w[r+5|0]<<16|w[r+6|0]<<24);i=v[r>>2];q=w[g+147|0];v[g+144>>2]=0;k=v[g+136>>2];v[g+136>>2]=0;v[g+140>>2]=0;v[g+8>>2]=i;t[g+11|0]=p;t[g+12|0]=p>>>8;t[g+13|0]=p>>>16;t[g+14|0]=p>>>24;if(t[g+331|0]>=0){v[g+320>>2]=k;i=w[g+11|0]|w[g+12|0]<<8|(w[g+13|0]<<16|w[g+14|0]<<24);t[g+327|0]=i;t[g+328|0]=i>>>8;t[g+329|0]=i>>>16;t[g+330|0]=i>>>24;v[g+324>>2]=v[g+8>>2];t[g+331|0]=q;break eb}$a(v[g+320>>2]);v[g+320>>2]=k;i=t[g+147|0];k=w[g+11|0]|w[g+12|0]<<8|(w[g+13|0]<<16|w[g+14|0]<<24);t[g+327|0]=k;t[g+328|0]=k>>>8;t[g+329|0]=k>>>16;t[g+330|0]=k>>>24;v[g+324>>2]=v[g+8>>2];t[g+331|0]=q;if((i|0)>-1){break eb}$a(v[g+136>>2])}O=0;q=v[a+8>>2];fb:{if((q|0)!=v[a+12>>2]){i=v[g+292>>2];v[q>>2]=v[g+288>>2];v[q+4>>2]=i;i=v[g+316>>2];v[q+24>>2]=v[g+312>>2];v[q+28>>2]=i;i=v[g+308>>2];v[q+16>>2]=v[g+304>>2];v[q+20>>2]=i;i=v[g+300>>2];v[q+8>>2]=v[g+296>>2];v[q+12>>2]=i;k=q+32|0;gb:{if(t[g+331|0]>=0){i=v[g+324>>2];v[k>>2]=v[g+320>>2];v[k+4>>2]=i;v[k+8>>2]=v[g+328>>2];break gb}vc(k,v[g+320>>2],v[g+324>>2])}v[a+8>>2]=q+48;break fb}hb:{ib:{jb:{i=v[a+8>>2];p=v[a+4>>2];G=(i-p|0)/48|0;H=G+1|0;if(H>>>0<89478486){q=(v[a+12>>2]-p|0)/48|0;k=q<<1;M=q>>>0<44739242?k>>>0>>0?H:k:89478485;if(M){if(M>>>0>=89478486){break jb}O=ab(B(M,48))}H=v[g+292>>2];k=B(G,48)+O|0;v[k>>2]=v[g+288>>2];v[k+4>>2]=H;q=v[g+316>>2];v[k+24>>2]=v[g+312>>2];v[k+28>>2]=q;q=v[g+308>>2];v[k+16>>2]=v[g+304>>2];v[k+20>>2]=q;q=v[g+300>>2];v[k+8>>2]=v[g+296>>2];v[k+12>>2]=q;H=B(M,48);G=k+32|0;kb:{if(t[g+331|0]>=0){q=v[g+324>>2];v[G>>2]=v[g+320>>2];v[G+4>>2]=q;v[G+8>>2]=v[g+328>>2];break kb}vc(G,v[g+320>>2],v[g+324>>2]);i=v[a+8>>2];p=v[a+4>>2]}M=H+O|0;G=k+48|0;if((i|0)==(p|0)){break ib}while(1){i=i-48|0;H=v[i+4>>2];k=k-48|0;v[k>>2]=v[i>>2];v[k+4>>2]=H;q=v[i+28>>2];v[k+24>>2]=v[i+24>>2];v[k+28>>2]=q;q=v[i+20>>2];v[k+16>>2]=v[i+16>>2];v[k+20>>2]=q;q=v[i+12>>2];v[k+8>>2]=v[i+8>>2];v[k+12>>2]=q;v[k+40>>2]=v[i+40>>2];q=v[i+36>>2];v[k+32>>2]=v[i+32>>2];v[k+36>>2]=q;v[i+32>>2]=0;v[i+36>>2]=0;v[i+40>>2]=0;if((i|0)!=(p|0)){continue}break}v[a+12>>2]=M;p=v[a+8>>2];v[a+8>>2]=G;i=v[a+4>>2];v[a+4>>2]=k;if((i|0)==(p|0)){break hb}while(1){if(t[p-5|0]<=-1){$a(v[p-16>>2])}k=p-48|0;p=k;if((i|0)!=(k|0)){continue}break}break hb}Jc();L()}Zd(273730);L()}v[a+12>>2]=M;v[a+8>>2]=G;v[a+4>>2]=k}if(i){$a(i)}}}if(t[g+163|0]<=-1){$a(v[g+152>>2])}if(t[g+283|0]<=-1){$a(v[g+272>>2])}if(t[g+331|0]<=-1){$a(v[g+320>>2])}me(R)}if(Pi(b)){break Ha}i=w[g+179|0]}if(i<<24>>24<=-1){$a(v[g+168>>2])}ha=aa&1;i=h;break Ga}Xc(g+288|0,b);if(t[g+179|0]<=-1){$a(v[g+168>>2])}v[g+176>>2]=v[g+296>>2];i=v[g+292>>2];v[g+168>>2]=v[g+288>>2];v[g+172>>2]=i;continue}}Ej(b);lb:{if(v[v[a+48>>2]+4>>2]==(Q|0)){break lb}k=g+288|0;js(k,E);k=sj(k,44,0);mb:{if((k|0)==-1){break mb}h=k+1|0;k=sj(g+288|0,32,h);if((k|0)==-1){break mb}k=bf(g+272|0,g+288|0,h,k-h|0);va=Q,wa=ng(k),A[va+8>>3]=wa;if(t[k+11|0]>-1){break mb}$a(v[k>>2])}if(t[g+299|0]>-1){break lb}$a(v[g+288>>2])}Q=0;k=0;nb:{if(!v[U+4>>2]){break nb}ob:{if(!v[U+4>>2]){break ob}v[g+288>>2]=0;if(v[v[(w[U+8|0]?v[U>>2]:U)>>2]+(v[g+288>>2]<<2)>>2]!=123){break ob}k=zT(d,U);break nb}pb:{qb:{k=U;if(!w[k+8|0]){break qb}k=v[k>>2];if(k){break qb}k=0;break pb}k=v[k>>2]}A[g+288>>3]=A[d+48>>3];Q=1;k=MT(k,g+288|0)}if(i){v[g+288>>2]=v[g+268>>2]&16777215;Qa[v[v[c>>2]+52>>2]](c,g+288|0)|0;h=g;N=A[d+48>>3]*+v[g+264>>2];rb:{if(D(N)<2147483648){p=~~N;break rb}p=-2147483648}v[h+288>>2]=p;Qa[v[v[c>>2]+60>>2]](c,g+288|0)|0}if(!yh(b)){P=g+288|0;h=P;v[h>>2]=0;v[h+4>>2]=0;t[h+8|0]=0;G=rg(b);if(qe(b,G)){while(1){h=g+168|0;Xc(h,b);h=qd(g+272|0,h);Xe(P,h);Qb(h);if(t[g+179|0]<=-1){$a(v[g+168>>2])}sb:{if(nc(P,964856)){Oy(b,ba);break sb}if(nc(P,964940)){GT(b,$);break sb}if(!(k|!nc(P,964980))){A[g+272>>3]=A[d+48>>3];k=NT(b,g+272|0);Q=1;break sb}if(!((nc(P,965020)^-1|i)&1)){p=0;r=Ma-48|0;Ma=r;tb:{if(yh(b)){break tb}v[r+40>>2]=0;v[r+32>>2]=0;v[r+36>>2]=0;H=rg(b);if(!qe(b,H)){break tb}ub:{while(1){Xc(r+16|0,b);if(t[r+43|0]<=-1){$a(v[r+32>>2])}v[r+40>>2]=v[r+24>>2];i=v[r+20>>2];v[r+32>>2]=v[r+16>>2];v[r+36>>2]=i;M=Ma-16|0;Ma=M;J=r+16|0;i=J;v[i>>2]=0;v[i+4>>2]=0;v[i+8>>2]=0;R=r+32|0;i=w[R+11|0];h=i<<24>>24<0;vb:{wb:{O=h?v[R+4>>2]:i;if((O|0)<1){break wb}i=h?v[R>>2]:R;s=i+(O<<2)|0;h=i;while(1){if(!O){break wb}h=xe(h,58,O);if(!h){break wb}if(lc(h,967656,1)){h=h+4|0;q=s-h|0;O=q>>2;if((q|0)>=4){continue}break wb}break}if((h|0)==(s|0)){break wb}i=h-i|0;if((i|0)==-4){break wb}bf(M,R,(i>>2)+1|0,-1);v[J+8>>2]=v[M+8>>2];i=v[M+4>>2];v[J>>2]=v[M>>2];v[J+4>>2]=i;break vb}if((J|0)==(R|0)){break vb}if(t[R+11|0]>=0){i=v[R+4>>2];v[J>>2]=v[R>>2];v[J+4>>2]=i;v[J+8>>2]=v[R+8>>2];break vb}De(J,v[R>>2],v[R+4>>2])}Ma=M+16|0;if(t[r+43|0]<=-1){$a(v[r+32>>2])}v[r+40>>2]=v[r+24>>2];i=v[r+20>>2];v[r+32>>2]=v[r+16>>2];v[r+36>>2]=i;i=t[r+43|0];if((((i|0)<0?v[r+36>>2]:i&255)|0)==15){if(!Vc(r+32|0,965108,15)){break ub}}if(qe(b,H)){continue}break}if(t[r+43|0]>-1){break tb}$a(v[r+32>>2]);break tb}v[r+24>>2]=0;v[r+16>>2]=0;v[r+20>>2]=0;i=r+16|0;Uj(b,965172,i);KT(i,r+12|0,r+8|0);v[r+4>>2]=v[r+12>>2]&16777215;Qa[v[v[c>>2]+52>>2]](c,r+4|0)|0;i=r;N=A[d+48>>3]*+v[r+8>>2];xb:{if(D(N)<2147483648){h=~~N;break xb}h=-2147483648}v[i+4>>2]=h;Qa[v[v[c>>2]+60>>2]](c,r+4|0)|0;if(t[r+27|0]<=-1){$a(v[r+16>>2])}if(t[r+43|0]<=-1){$a(v[r+32>>2])}p=1}Ma=r+48|0;i=p;break sb}if(!nc(P,965068)|v[E+4>>2]){break sb}H=Ma-48|0;Ma=H;yb:{if(!w[E+8|0]){break yb}q=v[E>>2];if(!q){break yb}h=v[q+4>>2]-1|0;v[q+4>>2]=h;if(h){break yb}$a(q)}v[E>>2]=0;v[E+4>>2]=0;t[E+8|0]=0;h=ce(964808);t[E+8|0]=0;v[E>>2]=964808;v[E+4>>2]=(h|0)>-1?h:-2147483648;if(!yh(b)){p=H+32|0;h=p;v[h>>2]=0;v[h+4>>2]=0;t[h+8|0]=0;q=rg(b);zb:{while(1){if(!qe(b,q)){break zb}Xc(H,b);h=qd(H+16|0,H);Xe(p,h);Qb(h);if(t[H+11|0]<=-1){$a(v[H>>2])}if(!nc(p,965196)){continue}break}HF(b,E,l,0)}Qb(p)}Ma=H+48|0}if(qe(b,G)){continue}break}}Qb(P)}h=0;aa=0;Ab:{if(!k){break Ab}Bb:{if(!(Qa[v[v[k>>2]+12>>2]](k)|0)){break Bb}p=v[a+36>>2];q=g+288|0;Xu(q,a+24|0);q=t[g+299|0]<0?v[g+288>>2]:q;v[k+16>>2]=p;ls(k+20|0,q,1,-1);if(t[g+299|0]>-1){break Bb}$a(v[g+288>>2])}aa=Qa[v[v[k>>2]+8>>2]](k,c)|0;if(!(Q&1)){break Ab}Qa[v[v[k>>2]+4>>2]](k)}if(v[ba+4>>2]){Cb:{Db:{k=ba;if(!w[k+8|0]){break Db}k=v[k>>2];if(k){break Db}k=0;break Cb}k=v[k>>2]}h=Yu(k,d)}k=0;if(v[$+4>>2]){Eb:{Fb:{k=$;if(!w[k+8|0]){break Fb}k=v[k>>2];if(k){break Fb}k=0;break Eb}k=v[k>>2]}k=Ty(k,d)}Gb:{if(W){Hb:{if((n|0)<1){break Hb}p=0;if((n|0)!=1){Q=n&-2;while(1){H=p<<3;q=H+W|0;A[q>>3]=T*A[q>>3]*25.4/96;q=(H|8)+W|0;A[q>>3]=T*A[q>>3]*25.4/96;p=p+2|0;Q=Q-2|0;if(Q){continue}break}}if(!(n&1)){break Hb}q=(p<<3)+W|0;A[q>>3]=T*A[q>>3]*25.4/96}t[g+288|0]=5;q=g+288|0;Qa[v[v[c>>2]+76>>2]](c,q)|0;Qa[v[v[c>>2]+128>>2]](c,W,n)|0;A[g+288>>3]=ga*T*25.4/96;Qa[v[v[c>>2]+108>>2]](c,q)|0;n=g+263|0;Qa[v[v[c>>2]+84>>2]](c,n)|0;Qa[v[v[c>>2]+92>>2]](c,n)|0;$a(W);break Gb}t[g+288|0]=0;Qa[v[v[c>>2]+76>>2]](c,g+288|0)|0;Qa[v[v[c>>2]+84>>2]](c,g+262|0)|0;Qa[v[v[c>>2]+92>>2]](c,g+261|0)|0}Qa[v[v[c>>2]+100>>2]](c,g+260|0)|0;if(!w[g+260|0]){A[g+288>>3]=X*25.4/96;Qa[v[v[c>>2]+124>>2]](c,g+288|0)|0}A[g+288>>3]=T*25.4/96;n=g+288|0;Qa[v[v[c>>2]+68>>2]](c,n)|0;v[g+288>>2]=4;Qa[v[v[c>>2]+288>>2]](c,n)|0;Qa[v[v[c>>2]+332>>2]](c)|0;Ib:{if(!v[E+4>>2]){break Ib}v[g+288>>2]=0;if(v[v[(w[E+8|0]?v[E>>2]:E)>>2]+(v[g+288>>2]<<2)>>2]!=123){break Ib}AT(d,E,E)}p=0;if(v[l+4>>2]){Jb:{Kb:{n=l;if(!w[l+8|0]){break Kb}n=v[n>>2];if(n){break Kb}n=0;break Jb}n=v[n>>2]}p=Yu(n,d)}va=g,xa=i&1|(ya=JT(E,c)?256:512,za=0,Aa=aa,Aa?ya:za),v[va+288>>2]=xa;i=g+288|0;Qa[v[v[c>>2]+328>>2]](c,i)|0;v[g+288>>2]=4;Qa[v[v[c>>2]+292>>2]](c,i)|0;Qa[v[v[c>>2]+324>>2]](c)|0;if(p){_p(d)}if(h){_p(d)}if(k){BF(d)}if(ha){My(d)}Qb(l);Qb(E);Qb(ba);Qb($);Qb(U);Ma=g+432|0;break k}if(!nc(_,962344)){break k}if(yh(b)){break k}n=rg(b);if(!qe(b,n)){break k}while(1){Xc(I,b);i=qd(I+16|0,I);Xe(_,i);Qb(i);if(t[I+11|0]<=-1){$a(v[I>>2])}Lb:{Mb:{if(nc(_,962424)){i=I+16|0;v[i>>2]=0;v[i+4>>2]=0;t[i+8|0]=0;im(b,962464,i);if(!nc(i,962500)){break Mb}Zu(a,b,c,d,0);Qb(i);break k}if(!nc(_,962608)){break Lb}Zu(a,b,c,d,0);break k}Qb(i)}if(qe(b,n)){continue}break}}if(w[e|0]?e:0){break j}if(qe(b,oa)){continue}break}}if(ca&1){BF(d)}if(ka&1){_p(d)}if(ta){My(d)}if(!(ja&1)){break j}c=v[d+60>>2];b=v[d+56>>2];a=c-b|0;if(a){e=d;b=(a+b|0)-8|0;a=v[b>>2];if(!(!a|!w[b+4|0])){$a(OF(a));c=v[d+60>>2]}v[e+60>>2]=c-8}}Qb(_)}Ma=I+48|0}function fe(a,b,c,d,e,f,g,h,i){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,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0;a:{if(!a){break a}b:{if((f|0)==20){break b}m=a?v[a+8>>2]:-1;c:{d:{switch(f|0){default:if((f|0)!=30){break c}break;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break c;case 0:case 10:break d}}j=a?v[a+40>>2]:0;i=a?v[a>>2]:-1;g=a?v[a+4>>2]:-1;h=a?v[a+12>>2]:-1;t=Ma-16|0;Ma=t;a=B(b,m);b=B(d,m)+(a>>31&a)|0;k=(a|0)<0?0:a;a=b+(k-B(i,m)|0)|0;i=b-((a|0)>0?a:0)|0;e:{if((i|0)<1){break e}d=(c>>31&c)+e|0;n=(c|0)<0?0:c;a=d+(n-g|0)|0;o=(a|0)>0?a:0;m=d-o|0;if((m|0)<1){break e}f:{g:{h:{i:{j:{b=k&31;if(!b){a=i&31;if(a){b=v[(a<<2)+215200>>2]}e=i>>>5|0;c=B(h,n);g=k>>>5|0;k=(j+(c<<2)|0)+(g<<2)|0;k:{switch(f|0){case 10:if((i|0)>=32){f=e>>>0>1?e:1;if(a){c=f&134217724;d=f&3;e=0;f=f-1>>>0<3;while(1){g=k+(B(e,h)<<2)|0;a=c;if(!f){while(1){v[g>>2]=v[g>>2]^-1;v[g+4>>2]=v[g+4>>2]^-1;v[g+8>>2]=v[g+8>>2]^-1;v[g+12>>2]=v[g+12>>2]^-1;g=g+16|0;a=a-4|0;if(a){continue}break}}a=d;if(a){while(1){v[g>>2]=v[g>>2]^-1;g=g+4|0;a=a-1|0;if(a){continue}break}}v[g>>2]=v[g>>2]^b;e=e+1|0;if((m|0)!=(e|0)){continue}break}break e}c=f&134217724;d=f&3;b=0;e=f-1>>>0<3;while(1){g=k+(B(b,h)<<2)|0;a=c;if(!e){while(1){v[g>>2]=v[g>>2]^-1;v[g+4>>2]=v[g+4>>2]^-1;v[g+8>>2]=v[g+8>>2]^-1;v[g+12>>2]=v[g+12>>2]^-1;g=g+16|0;a=a-4|0;if(a){continue}break}}a=d;if(a){while(1){v[g>>2]=v[g>>2]^-1;g=g+4|0;a=a-1|0;if(a){continue}break}}b=b+1|0;if((m|0)!=(b|0)){continue}break}break e}if(!a){break e}a=m&3;g=0;if(d+(o^-1)>>>0>=3){e=m&-4;while(1){c=k+(B(g,h)<<2)|0;v[c>>2]=v[c>>2]^b;c=k+(B(h,g|1)<<2)|0;v[c>>2]=v[c>>2]^b;c=k+(B(h,g|2)<<2)|0;v[c>>2]=v[c>>2]^b;c=k+(B(h,g|3)<<2)|0;v[c>>2]=v[c>>2]^b;g=g+4|0;e=e-4|0;if(e){continue}break}}if(!a){break e}while(1){c=k+(B(g,h)<<2)|0;v[c>>2]=v[c>>2]^b;g=g+1|0;a=a-1|0;if(a){continue}break};break e;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break g;case 0:break k;default:break j}}f=b^-1;if((i|0)>=32){b=c+g|0;e=e>>>0>1?e:1;c=j+(b+e<<2)|0;e=e<<2;g=0;if((d|0)!=(o+1|0)){k=m&-2;while(1){eb(j+(b+B(g,h)<<2)|0,0,e);if(a){v[c>>2]=f&v[c>>2]}eb(j+(b+B(h,g|1)<<2)|0,0,e);d=h<<2;c=d+c|0;if(a){v[c>>2]=f&v[c>>2]}g=g+2|0;c=c+d|0;k=k-2|0;if(k){continue}break}}if(!(m&1)){break e}eb(j+(b+B(g,h)<<2)|0,0,e);if(!a){break e}v[c>>2]=f&v[c>>2];break e}if(!a){break e}b=m&3;g=0;if(d+(o^-1)>>>0>=3){e=m&-4;while(1){a=k+(B(g,h)<<2)|0;v[a>>2]=f&v[a>>2];a=k+(B(h,g|1)<<2)|0;v[a>>2]=f&v[a>>2];a=k+(B(h,g|2)<<2)|0;v[a>>2]=f&v[a>>2];a=k+(B(h,g|3)<<2)|0;v[a>>2]=f&v[a>>2];g=g+4|0;e=e-4|0;if(e){continue}break}}if(!b){break e}while(1){a=k+(B(g,h)<<2)|0;v[a>>2]=f&v[a>>2];g=g+1|0;b=b-1|0;if(b){continue}break}break e}g=(j+(B(h,n)<<2)|0)+(k>>>3&536870908)|0;a=32-b|0;c=v[(a<<2)+214688>>2];if((a|0)>(i|0)){c=v[(b+i<<2)+215200>>2]&c;s=1;b=0;break h}b=i-a|0;if(b>>>0<=31){e=i+k&31;if(e){break i}s=1;b=0;break h}q=b>>5;a=g+4|0;e=i+k&31;if(e){break i}s=1;b=1;break h}if((f|0)==30){break f}break g}i=((q<<2)+g|0)+4|0;k=v[(e<<2)+215200>>2];b=b>>>0>31}l:{switch(f|0){case 10:e=m&3;j=d+(o^-1)|0;if(j>>>0>=3){f=m&-4;d=h<<2;while(1){v[g>>2]=v[g>>2]^c;g=d+g|0;v[g>>2]=v[g>>2]^c;g=d+g|0;v[g>>2]=v[g>>2]^c;g=d+g|0;v[g>>2]=v[g>>2]^c;g=d+g|0;f=f-4|0;if(f){continue}break}}if(e){d=h<<2;while(1){v[g>>2]=v[g>>2]^c;g=d+g|0;e=e-1|0;if(e){continue}break}}f=0;if(b&(q|0)>0){d=q&-4;e=q&3;q=q-1>>>0<3;o=h<<2;while(1){g=0;b=d;if(!q){while(1){c=g<<2;n=c+a|0;v[n>>2]=v[n>>2]^-1;n=(c|4)+a|0;v[n>>2]=v[n>>2]^-1;n=(c|8)+a|0;v[n>>2]=v[n>>2]^-1;c=(c|12)+a|0;v[c>>2]=v[c>>2]^-1;g=g+4|0;b=b-4|0;if(b){continue}break}}c=e;if(c){while(1){b=(g<<2)+a|0;v[b>>2]=v[b>>2]^-1;g=g+1|0;c=c-1|0;if(c){continue}break}}a=a+o|0;f=f+1|0;if((m|0)!=(f|0)){continue}break}}if(s){break e}c=m&3;if(j>>>0>=3){b=m&-4;a=h<<2;while(1){v[i>>2]=v[i>>2]^k;d=a+i|0;v[d>>2]=v[d>>2]^k;d=a+d|0;v[d>>2]=v[d>>2]^k;d=a+d|0;v[d>>2]=v[d>>2]^k;i=a+d|0;b=b-4|0;if(b){continue}break}}if(!c){break e}a=h<<2;while(1){v[i>>2]=v[i>>2]^k;i=a+i|0;c=c-1|0;if(c){continue}break};break e;default:if((f|0)!=30){break g}e=m&3;j=d+(o^-1)|0;if(j>>>0>=3){f=m&-4;d=h<<2;while(1){v[g>>2]=v[g>>2]|c;g=d+g|0;v[g>>2]=v[g>>2]|c;g=d+g|0;v[g>>2]=v[g>>2]|c;g=d+g|0;v[g>>2]=v[g>>2]|c;g=d+g|0;f=f-4|0;if(f){continue}break}}if(e){d=h<<2;while(1){v[g>>2]=v[g>>2]|c;g=d+g|0;e=e-1|0;if(e){continue}break}}g=0;m:{if(!(b&(q|0)>0)){break m}b=m&3;c=q<<2;if(j>>>0>=3){e=m&-4;while(1){eb((B(g,h)<<2)+a|0,255,c);eb((B(h,g|1)<<2)+a|0,255,c);eb((B(h,g|2)<<2)+a|0,255,c);eb((B(h,g|3)<<2)+a|0,255,c);g=g+4|0;e=e-4|0;if(e){continue}break}}if(!b){break m}while(1){eb((B(g,h)<<2)+a|0,255,c);g=g+1|0;b=b-1|0;if(b){continue}break}}if(s){break e}c=m&3;if(j>>>0>=3){b=m&-4;a=h<<2;while(1){v[i>>2]=v[i>>2]|k;d=a+i|0;v[d>>2]=v[d>>2]|k;d=a+d|0;v[d>>2]=v[d>>2]|k;d=a+d|0;v[d>>2]=v[d>>2]|k;i=a+d|0;b=b-4|0;if(b){continue}break}}if(!c){break e}a=h<<2;while(1){v[i>>2]=v[i>>2]|k;i=a+i|0;c=c-1|0;if(c){continue}break};break e;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break g;case 0:break l}}c=c^-1;e=m&3;j=d+(o^-1)|0;if(j>>>0>=3){f=m&-4;d=h<<2;while(1){v[g>>2]=c&v[g>>2];g=d+g|0;v[g>>2]=c&v[g>>2];g=d+g|0;v[g>>2]=c&v[g>>2];g=d+g|0;v[g>>2]=c&v[g>>2];g=d+g|0;f=f-4|0;if(f){continue}break}}if(e){d=h<<2;while(1){v[g>>2]=c&v[g>>2];g=d+g|0;e=e-1|0;if(e){continue}break}}n:{if(!(b&(m|0)>0)|(q|0)<1){break n}b=m&3;c=q<<2;g=0;if(j>>>0>=3){e=m&-4;while(1){eb((B(g,h)<<2)+a|0,0,c);eb((B(h,g|1)<<2)+a|0,0,c);eb((B(h,g|2)<<2)+a|0,0,c);eb((B(h,g|3)<<2)+a|0,0,c);g=g+4|0;e=e-4|0;if(e){continue}break}}if(!b){break n}while(1){eb((B(g,h)<<2)+a|0,0,c);g=g+1|0;b=b-1|0;if(b){continue}break}}if((m|0)<1|s){break e}a=k^-1;b=m&3;if(j>>>0>=3){e=m&-4;c=h<<2;while(1){v[i>>2]=a&v[i>>2];d=c+i|0;v[d>>2]=a&v[d>>2];d=c+d|0;v[d>>2]=a&v[d>>2];d=c+d|0;v[d>>2]=a&v[d>>2];i=c+d|0;e=e-4|0;if(e){continue}break}}if(!b){break e}c=h<<2;while(1){v[i>>2]=a&v[i>>2];i=c+i|0;b=b-1|0;if(b){continue}break}break e}v[t>>2]=f;vb(v[249419],4907,t);break e}if((i|0)>=32){c=c+g|0;f=e>>>0>1?e:1;e=f<<2;if(!a){b=m&3;g=0;if(d+(o^-1)>>>0>=3){i=m&-4;while(1){eb(j+(c+B(g,h)<<2)|0,255,e);eb(j+(c+B(h,g|1)<<2)|0,255,e);eb(j+(c+B(h,g|2)<<2)|0,255,e);eb(j+(c+B(h,g|3)<<2)|0,255,e);g=g+4|0;i=i-4|0;if(i){continue}break}}if(!b){break e}while(1){eb(j+(c+B(g,h)<<2)|0,255,e);g=g+1|0;b=b-1|0;if(b){continue}break}break e}g=j+(c+f<<2)|0;i=0;if((d|0)!=(o+1|0)){k=m&-2;while(1){eb(j+(c+B(h,i)<<2)|0,255,e);v[g>>2]=v[g>>2]|b;eb(j+(c+B(h,i|1)<<2)|0,255,e);d=h<<2;a=d+g|0;v[a>>2]=v[a>>2]|b;g=a+d|0;i=i+2|0;k=k-2|0;if(k){continue}break}}if(!(m&1)){break e}eb(j+(c+B(h,i)<<2)|0,255,e);v[g>>2]=v[g>>2]|b;break e}if(!a){break e}a=m&3;g=0;if(d+(o^-1)>>>0>=3){e=m&-4;while(1){c=k+(B(g,h)<<2)|0;v[c>>2]=v[c>>2]|b;c=k+(B(h,g|1)<<2)|0;v[c>>2]=v[c>>2]|b;c=k+(B(h,g|2)<<2)|0;v[c>>2]=v[c>>2]|b;c=k+(B(h,g|3)<<2)|0;v[c>>2]=v[c>>2]|b;g=g+4|0;e=e-4|0;if(e){continue}break}}if(!a){break e}while(1){c=k+(B(g,h)<<2)|0;v[c>>2]=v[c>>2]|b;g=g+1|0;a=a-1|0;if(a){continue}break}}Ma=t+16|0;break b}if(!g){break a}k=g;if((m|0)!=((g?v[g+8>>2]:-1)|0)){break a}n=a?v[a+40>>2]:0;g=a?v[a>>2]:-1;o=a?v[a+4>>2]:-1;l=m;s=a?v[a+12>>2]:-1;j=b;m=k?v[k+40>>2]:0;q=k?v[k>>2]:-1;b=k?v[k+4>>2]:-1;t=k?v[k+12>>2]:-1;E=Ma-16|0;Ma=E;if((l|0)!=1){h=B(h,l);q=B(l,q);j=B(j,l);g=B(g,l);a=B(d,l)}else{a=d}d=h;h=j>>31&j;k=d-h|0;d=k>>31&k;h=d+(a+h|0)|0;l=(k|0)<0?0:k;p=l-q|0;k=((j|0)<0?0:j)-d|0;a=k+(h-g|0)|0;q=h-((a|0)>0?a:0)|0;a=p+q|0;q=q-((a|0)>0?a:0)|0;o:{if((q|0)<1){break o}j=c>>31&c;a=i-j|0;i=a>>31&a;C=((c|0)<0?0:c)-i|0;y=i+(e+j|0)|0;c=C+(y-o|0)|0;w=(c|0)>0?c:0;e=y-w|0;x=(a|0)<0?0:a;j=e+(x-b|0)|0;p=(j|0)>0?j:0;r=e-p|0;if((r|0)<1){break o}p:{a=l&31;u=k&31;if(!(a|u)){d=q&31;if(d){o=v[(d<<2)+215200>>2]}a=q>>>5|0;g=(n+(B(s,C)<<2)|0)+(k>>>3&536870908)|0;h=((B(t,x)<<2)+m|0)+(l>>>3&536870908)|0;n=8549;q:{switch(f-2|0){case 22:f=o^-1;a=a>>>0>1?a:1;b=a&134217720;c=a&7;k=0;i=(q|0)<32;m=a-1>>>0<7;while(1){j=g+(B(k,s)<<2)|0;e=h+(B(k,t)<<2)|0;r:{if(i){break r}a=b;if(!m){while(1){v[j>>2]=v[e>>2];v[j+4>>2]=v[e+4>>2];v[j+8>>2]=v[e+8>>2];v[j+12>>2]=v[e+12>>2];v[j+16>>2]=v[e+16>>2];v[j+20>>2]=v[e+20>>2];v[j+24>>2]=v[e+24>>2];v[j+28>>2]=v[e+28>>2];e=e+32|0;j=j+32|0;a=a-8|0;if(a){continue}break}}a=c;if(!a){break r}while(1){v[j>>2]=v[e>>2];e=e+4|0;j=j+4|0;a=a-1|0;if(a){continue}break}}if(d){v[j>>2]=v[e>>2]&o|f&v[j>>2]}k=k+1|0;if((r|0)!=(k|0)){continue}break};break o;case 4:f=o^-1;a=a>>>0>1?a:1;b=a&134217724;c=a&3;k=0;i=(q|0)<32;m=a-1>>>0<3;while(1){j=g+(B(k,s)<<2)|0;e=h+(B(k,t)<<2)|0;s:{if(i){break s}a=b;if(!m){while(1){v[j>>2]=v[e>>2]^-1;v[j+4>>2]=v[e+4>>2]^-1;v[j+8>>2]=v[e+8>>2]^-1;v[j+12>>2]=v[e+12>>2]^-1;e=e+16|0;j=j+16|0;a=a-4|0;if(a){continue}break}}a=c;if(!a){break s}while(1){v[j>>2]=v[e>>2]^-1;e=e+4|0;j=j+4|0;a=a-1|0;if(a){continue}break}}if(d){v[j>>2]=(v[e>>2]^-1)&o|f&v[j>>2]}k=k+1|0;if((r|0)!=(k|0)){continue}break};break o;case 26:f=o^-1;a=a>>>0>1?a:1;b=a&134217724;c=a&3;k=0;i=(q|0)<32;m=a-1>>>0<3;while(1){j=g+(B(k,s)<<2)|0;e=h+(B(k,t)<<2)|0;t:{if(i){break t}a=b;if(!m){while(1){v[j>>2]=v[j>>2]|v[e>>2];v[j+4>>2]=v[j+4>>2]|v[e+4>>2];v[j+8>>2]=v[j+8>>2]|v[e+8>>2];v[j+12>>2]=v[j+12>>2]|v[e+12>>2];e=e+16|0;j=j+16|0;a=a-4|0;if(a){continue}break}}a=c;if(!a){break t}while(1){v[j>>2]=v[j>>2]|v[e>>2];e=e+4|0;j=j+4|0;a=a-1|0;if(a){continue}break}}if(d){a=v[j>>2];v[j>>2]=(a|v[e>>2])&o|a&f}k=k+1|0;if((r|0)!=(k|0)){continue}break};break o;case 14:f=o^-1;a=a>>>0>1?a:1;b=a&134217724;c=a&3;k=0;i=(q|0)<32;m=a-1>>>0<3;while(1){j=g+(B(k,s)<<2)|0;e=h+(B(k,t)<<2)|0;u:{if(i){break u}a=b;if(!m){while(1){v[j>>2]=v[j>>2]&v[e>>2];v[j+4>>2]=v[j+4>>2]&v[e+4>>2];v[j+8>>2]=v[j+8>>2]&v[e+8>>2];v[j+12>>2]=v[j+12>>2]&v[e+12>>2];e=e+16|0;j=j+16|0;a=a-4|0;if(a){continue}break}}a=c;if(!a){break u}while(1){v[j>>2]=v[j>>2]&v[e>>2];e=e+4|0;j=j+4|0;a=a-1|0;if(a){continue}break}}if(d){a=v[j>>2];v[j>>2]=v[e>>2]&(a&o)|a&f}k=k+1|0;if((r|0)!=(k|0)){continue}break};break o;case 10:f=o^-1;a=a>>>0>1?a:1;b=a&134217724;c=a&3;k=0;i=(q|0)<32;m=a-1>>>0<3;while(1){j=g+(B(k,s)<<2)|0;e=h+(B(k,t)<<2)|0;v:{if(i){break v}a=b;if(!m){while(1){v[j>>2]=v[j>>2]^v[e>>2];v[j+4>>2]=v[j+4>>2]^v[e+4>>2];v[j+8>>2]=v[j+8>>2]^v[e+8>>2];v[j+12>>2]=v[j+12>>2]^v[e+12>>2];e=e+16|0;j=j+16|0;a=a-4|0;if(a){continue}break}}a=c;if(!a){break v}while(1){v[j>>2]=v[j>>2]^v[e>>2];e=e+4|0;j=j+4|0;a=a-1|0;if(a){continue}break}}if(d){a=v[j>>2];v[j>>2]=(a^v[e>>2])&o|a&f}k=k+1|0;if((r|0)!=(k|0)){continue}break};break o;case 20:f=o^-1;a=a>>>0>1?a:1;b=a&134217724;c=a&3;k=0;i=(q|0)<32;m=a-1>>>0<3;while(1){j=g+(B(k,s)<<2)|0;e=h+(B(k,t)<<2)|0;w:{if(i){break w}a=b;if(!m){while(1){v[j>>2]=v[j>>2]|v[e>>2]^-1;v[j+4>>2]=v[j+4>>2]|v[e+4>>2]^-1;v[j+8>>2]=v[j+8>>2]|v[e+8>>2]^-1;v[j+12>>2]=v[j+12>>2]|v[e+12>>2]^-1;e=e+16|0;j=j+16|0;a=a-4|0;if(a){continue}break}}a=c;if(!a){break w}while(1){v[j>>2]=v[j>>2]|v[e>>2]^-1;e=e+4|0;j=j+4|0;a=a-1|0;if(a){continue}break}}if(d){a=v[j>>2];v[j>>2]=(a|v[e>>2]^-1)&o|a&f}k=k+1|0;if((r|0)!=(k|0)){continue}break};break o;case 2:f=o^-1;a=a>>>0>1?a:1;b=a&134217724;c=a&3;k=0;i=(q|0)<32;m=a-1>>>0<3;while(1){j=g+(B(k,s)<<2)|0;e=h+(B(k,t)<<2)|0;x:{if(i){break x}a=b;if(!m){while(1){v[j>>2]=v[j>>2]&(v[e>>2]^-1);v[j+4>>2]=v[j+4>>2]&(v[e+4>>2]^-1);v[j+8>>2]=v[j+8>>2]&(v[e+8>>2]^-1);v[j+12>>2]=v[j+12>>2]&(v[e+12>>2]^-1);e=e+16|0;j=j+16|0;a=a-4|0;if(a){continue}break}}a=c;if(!a){break x}while(1){v[j>>2]=v[j>>2]&(v[e>>2]^-1);e=e+4|0;j=j+4|0;a=a-1|0;if(a){continue}break}}if(d){a=v[j>>2];v[j>>2]=a&o&(v[e>>2]^-1)|a&f}k=k+1|0;if((r|0)!=(k|0)){continue}break};break o;case 24:f=o^-1;a=a>>>0>1?a:1;b=a&134217724;c=a&3;k=0;i=(q|0)<32;m=a-1>>>0<3;while(1){j=g+(B(k,s)<<2)|0;e=h+(B(k,t)<<2)|0;y:{if(i){break y}a=b;if(!m){while(1){v[j>>2]=v[e>>2]|v[j>>2]^-1;v[j+4>>2]=v[e+4>>2]|v[j+4>>2]^-1;v[j+8>>2]=v[e+8>>2]|v[j+8>>2]^-1;v[j+12>>2]=v[e+12>>2]|v[j+12>>2]^-1;e=e+16|0;j=j+16|0;a=a-4|0;if(a){continue}break}}a=c;if(!a){break y}while(1){v[j>>2]=v[e>>2]|v[j>>2]^-1;e=e+4|0;j=j+4|0;a=a-1|0;if(a){continue}break}}if(d){a=v[j>>2];v[j>>2]=(v[e>>2]|a^-1)&o|a&f}k=k+1|0;if((r|0)!=(k|0)){continue}break};break o;case 6:f=o^-1;a=a>>>0>1?a:1;b=a&134217724;c=a&3;k=0;i=(q|0)<32;m=a-1>>>0<3;while(1){j=g+(B(k,s)<<2)|0;e=h+(B(k,t)<<2)|0;z:{if(i){break z}a=b;if(!m){while(1){v[j>>2]=v[e>>2]&(v[j>>2]^-1);v[j+4>>2]=v[e+4>>2]&(v[j+4>>2]^-1);v[j+8>>2]=v[e+8>>2]&(v[j+8>>2]^-1);v[j+12>>2]=v[e+12>>2]&(v[j+12>>2]^-1);e=e+16|0;j=j+16|0;a=a-4|0;if(a){continue}break}}a=c;if(!a){break z}while(1){v[j>>2]=v[e>>2]&(v[j>>2]^-1);e=e+4|0;j=j+4|0;a=a-1|0;if(a){continue}break}}if(d){a=v[j>>2];v[j>>2]=v[e>>2]&((a^-1)&o)|a&f}k=k+1|0;if((r|0)!=(k|0)){continue}break};break o;case 0:f=o^-1;a=a>>>0>1?a:1;b=a&134217724;c=a&3;k=0;i=(q|0)<32;m=a-1>>>0<3;while(1){j=g+(B(k,s)<<2)|0;e=h+(B(k,t)<<2)|0;A:{if(i){break A}a=b;if(!m){while(1){v[j>>2]=(v[j>>2]|v[e>>2])^-1;v[j+4>>2]=(v[j+4>>2]|v[e+4>>2])^-1;v[j+8>>2]=(v[j+8>>2]|v[e+8>>2])^-1;v[j+12>>2]=(v[j+12>>2]|v[e+12>>2])^-1;e=e+16|0;j=j+16|0;a=a-4|0;if(a){continue}break}}a=c;if(!a){break A}while(1){v[j>>2]=(v[j>>2]|v[e>>2])^-1;e=e+4|0;j=j+4|0;a=a-1|0;if(a){continue}break}}if(d){a=v[j>>2];v[j>>2]=((a|v[e>>2])^-1)&o|a&f}k=k+1|0;if((r|0)!=(k|0)){continue}break};break o;case 12:f=o^-1;a=a>>>0>1?a:1;b=a&134217724;c=a&3;k=0;i=(q|0)<32;m=a-1>>>0<3;while(1){j=g+(B(k,s)<<2)|0;e=h+(B(k,t)<<2)|0;B:{if(i){break B}a=b;if(!m){while(1){v[j>>2]=v[j>>2]&v[e>>2]^-1;v[j+4>>2]=v[j+4>>2]&v[e+4>>2]^-1;v[j+8>>2]=v[j+8>>2]&v[e+8>>2]^-1;v[j+12>>2]=v[j+12>>2]&v[e+12>>2]^-1;e=e+16|0;j=j+16|0;a=a-4|0;if(a){continue}break}}a=c;if(!a){break B}while(1){v[j>>2]=v[j>>2]&v[e>>2]^-1;e=e+4|0;j=j+4|0;a=a-1|0;if(a){continue}break}}if(d){a=v[j>>2];v[j>>2]=(a&v[e>>2]^-1)&o|a&f}k=k+1|0;if((r|0)!=(k|0)){continue}break};break o;case 16:break q;default:break p}}f=o^-1;a=a>>>0>1?a:1;b=a&134217724;c=a&3;k=0;i=(q|0)<32;m=a-1>>>0<3;while(1){j=g+(B(k,s)<<2)|0;e=h+(B(k,t)<<2)|0;C:{if(i){break C}a=b;if(!m){while(1){v[j>>2]=v[e>>2]^v[j>>2]^-1;v[j+4>>2]=v[e+4>>2]^v[j+4>>2]^-1;v[j+8>>2]=v[e+8>>2]^v[j+8>>2]^-1;v[j+12>>2]=v[e+12>>2]^v[j+12>>2]^-1;e=e+16|0;j=j+16|0;a=a-4|0;if(a){continue}break}}a=c;if(!a){break C}while(1){v[j>>2]=v[e>>2]^v[j>>2]^-1;e=e+4|0;j=j+4|0;a=a-1|0;if(a){continue}break}}if(d){a=v[j>>2];v[j>>2]=(a^v[e>>2]^-1)&o|a&f}k=k+1|0;if((r|0)!=(k|0)){continue}break}break o}D:{E:{F:{G:{H:{I:{if((a|0)==(u|0)){J:{if(u){g=((B(t,x)<<2)+m|0)+(l>>>3&536870908)|0;a=(n+(B(s,C)<<2)|0)+(k>>>3&536870908)|0;j=32-u|0;d=v[(j<<2)+214688>>2];if((j|0)<=(q|0)){break J}d=v[(q-j<<2)+215328>>2]&d;o=1;c=0;b=1;break D}o=q>>>0<32;if(o){break F}g=B(t,x);d=l>>>5|0;j=((g<<2)+m|0)+(d<<2)|0;h=B(s,C);l=k>>>5|0;e=(n+(h<<2)|0)+(l<<2)|0;c=q>>>5|0;a=k+q&31;b=c;if(a){break E}o=0;b=1;break D}j=q-j|0;o=j>>>0<32;if(o){break I}c=j>>5;j=g+4|0;e=a+4|0;k=k+q&31;if(k){break H}o=0;b=1;break D}c=0;j=0;e=0;d=0;b=a?32-a|0:0;g=32-u|0;y=u?g:0;if(b|y){d=y-b|0;j=b>>>0>>0?d:d+32|0;e=32-j|0;d=v[(j<<2)+214688>>2]}K:{L:{i=q;if(u){o=((B(t,x)<<2)+m|0)+(l>>>3&536870908)|0;h=(n+(B(s,C)<<2)|0)+(k>>>3&536870908)|0;w=(b|0)>(q|0);D=a>>>0>u>>>0;b=v[(g<<2)+214688>>2];if((g|0)>(q|0)){break L}c=g}else{c=0}c=i-c|0;p=c>>>0<32;if(p){c=0}else{g=((B(t,x)<<2)+m|0)+(l+y>>>3&536870908)|0;a=(n+(B(s,C)<<2)|0)+(k+y>>>3&536870908)|0;c=c>>5}z=k+q&31;i=1;if(!z){break K}i=c<<2;q=i+(((B(t,x)<<2)+m|0)+(l+y>>>3&536870908)|0)|0;k=((n+(B(s,C)<<2)|0)+(k+y>>>3&536870908)|0)+i|0;y=(e|0)>=(z|0);m=v[(z<<2)+215200>>2];i=0;break K}b=v[(q-g<<2)+215328>>2]&b;p=1;i=1}n=12275;M:{switch(f-2|0){case 22:if(u){u=b^-1;C=d^-1;f=0;while(1){l=v[o>>2];x=h;A=u&v[h>>2];N:{if(D){z=l<>2]>>>e&d|C&z;break N}n=l>>>e|0}v[x>>2]=A|n&b;o=(t<<2)+o|0;h=(s<<2)+h|0;f=f+1|0;if((r|0)!=(f|0)){continue}break}}if(!((r|0)<1|p)){o=d^-1;f=c&-2;p=c&1;n=0;while(1){O:{if((c|0)<1){break O}h=0;b=f;if((c|0)!=1){while(1){l=h<<2;w=l+g|0;v[a+l>>2]=v[w+4>>2]>>>e&d|o&v[w>>2]<>2]=v[l+4>>2]>>>e&d|o&v[l>>2]<>2]=v[b+4>>2]>>>e&d|o&v[b>>2]<>2]<>2];if(!h){a=v[q+4>>2]>>>e&d|a&f}v[b>>2]=a&m|i;q=(t<<2)+q|0;k=(s<<2)+k|0;g=g+1|0;if((r|0)!=(g|0)){continue}break};break o;case 4:if(u){C=b^-1;x=d^-1;f=0;while(1){u=v[o>>2];z=h;l=C&v[h>>2];P:{if(D){n=u<>2]>>>e&d|n&x;break P}A=u>>>e|0}v[z>>2]=l|(A^-1)&b;o=(t<<2)+o|0;h=(s<<2)+h|0;f=f+1|0;if((r|0)!=(f|0)){continue}break}}if(!((r|0)<1|p)){o=d^-1;f=c&-2;p=c&1;n=0;while(1){Q:{if((c|0)<1){break Q}h=0;b=f;if((c|0)!=1){while(1){l=h<<2;w=l+g|0;v[a+l>>2]=(v[w+4>>2]>>>e&d|o&v[w>>2]<>2]=(v[l+4>>2]>>>e&d|o&v[l>>2]<>2]=(v[b+4>>2]>>>e&d|o&v[b>>2]<>2]<>2];c=m;if(!i){a=v[q+4>>2]>>>e&d|a&h}v[b>>2]=(a^-1)&c|o;q=(t<<2)+q|0;k=(s<<2)+k|0;g=g+1|0;if((r|0)!=(g|0)){continue}break};break o;case 26:if(u){u=b^-1;C=d^-1;f=0;while(1){l=v[o>>2];z=h;R:{if(D){x=l<>2]>>>e&d|x&C;break R}A=l>>>e|0}n=v[h>>2];v[z>>2]=(A|n)&b|n&u;o=(t<<2)+o|0;h=(s<<2)+h|0;f=f+1|0;if((r|0)!=(f|0)){continue}break}}if(!((r|0)<1|p)){o=d^-1;f=c&-2;w=c&1;n=0;while(1){S:{if((c|0)<1){break S}h=0;b=f;if((c|0)!=1){while(1){l=h<<2;p=l+a|0;x=p;z=v[p>>2];p=g+l|0;v[x>>2]=z|o&v[p>>2]<>2]>>>e&d;l=l|4;p=l+a|0;l=g+l|0;v[p>>2]=v[p>>2]|o&v[l>>2]<>2]>>>e&d;h=h+2|0;b=b-2|0;if(b){continue}break}}if(!w){break S}b=h<<2;h=b+a|0;b=b+g|0;v[h>>2]=v[h>>2]|o&v[b>>2]<>2]>>>e&d}g=(t<<2)+g|0;a=(s<<2)+a|0;n=n+1|0;if((r|0)!=(n|0)){continue}break}}if((r|0)<1|i){break o}c=m^-1;f=d^-1;g=0;h=y&1;while(1){a=v[q>>2]<>2]>>>e&d|a&f}i=a;a=v[k>>2];v[b>>2]=(i|a)&m|a&c;q=(t<<2)+q|0;k=(s<<2)+k|0;g=g+1|0;if((r|0)!=(g|0)){continue}break};break o;case 14:if(u){n=b^-1;u=d^-1;l=0;while(1){f=v[o>>2];b=h;z=v[h>>2];T:{if(D){x=f<>2]>>>e&d|u&x;break T}f=f>>>e|0}v[b>>2]=z&(f|n);o=(t<<2)+o|0;h=(s<<2)+h|0;l=l+1|0;if((r|0)!=(l|0)){continue}break}}if(!((r|0)<1|p)){n=d^-1;o=c&-2;w=c&1;f=0;while(1){U:{if((c|0)<1){break U}h=0;b=o;if((c|0)!=1){while(1){l=h<<2;p=l+a|0;x=p;z=v[p>>2];p=g+l|0;v[x>>2]=z&(v[p+4>>2]>>>e&d|n&v[p>>2]<>2]=v[p>>2]&(v[l+4>>2]>>>e&d|n&v[l>>2]<>2]=v[h>>2]&(v[b+4>>2]>>>e&d|n&v[b>>2]<>2]<>2];if(!h){a=v[q+4>>2]>>>e&d|a&f}v[b>>2]=(a|c)&i;q=(t<<2)+q|0;k=(s<<2)+k|0;g=g+1|0;if((r|0)!=(g|0)){continue}break};break o;case 10:if(u){u=b^-1;C=d^-1;f=0;while(1){l=v[o>>2];z=h;V:{if(D){x=l<>2]>>>e&d|x&C;break V}A=l>>>e|0}n=v[h>>2];v[z>>2]=(A^n)&b|n&u;o=(t<<2)+o|0;h=(s<<2)+h|0;f=f+1|0;if((r|0)!=(f|0)){continue}break}}if(!((r|0)<1|p)){n=d^-1;o=c&-2;w=c&1;f=0;while(1){W:{if((c|0)<1){break W}h=0;b=o;if((c|0)!=1){while(1){l=h<<2;p=l+a|0;x=p;z=v[p>>2];p=g+l|0;v[x>>2]=z^(v[p+4>>2]>>>e&d|n&v[p>>2]<>2]=v[p>>2]^(v[l+4>>2]>>>e&d|n&v[l>>2]<>2]=v[h>>2]^(v[b+4>>2]>>>e&d|n&v[b>>2]<>2]<>2]>>>e&d|a&f}i=a;a=v[k>>2];v[b>>2]=(i^a)&m|a&c;q=(t<<2)+q|0;k=(s<<2)+k|0;g=g+1|0;if((r|0)!=(g|0)){continue}break};break o;case 20:if(u){u=b^-1;C=d^-1;f=0;while(1){l=v[o>>2];A=h;x=v[h>>2];z=x;X:{if(D){n=l<>2]>>>e&d|n&C;break X}l=l>>>e|0}v[A>>2]=(z|l^-1)&b|u&x;o=(t<<2)+o|0;h=(s<<2)+h|0;f=f+1|0;if((r|0)!=(f|0)){continue}break}}if(!((r|0)<1|p)){o=d^-1;f=c&-2;w=c&1;n=0;while(1){Y:{if((c|0)<1){break Y}h=0;b=f;if((c|0)!=1){while(1){l=h<<2;p=l+a|0;x=p;z=v[p>>2];p=g+l|0;v[x>>2]=z|(v[p+4>>2]>>>e&d|o&v[p>>2]<>2]=v[p>>2]|(v[l+4>>2]>>>e&d|o&v[l>>2]<>2]=v[h>>2]|(v[b+4>>2]>>>e&d|o&v[b>>2]<>2]<>2];o=i;if(!h){a=v[q+4>>2]>>>e&d|a&f}v[b>>2]=(a^-1|o)&m|c&i;q=(t<<2)+q|0;k=(s<<2)+k|0;g=g+1|0;if((r|0)!=(g|0)){continue}break};break o;case 2:if(u){u=d^-1;f=0;while(1){l=v[o>>2];z=h;A=v[h>>2];Z:{if(D){x=l<>2]>>>e&d|u&x;break Z}n=l>>>e|0}v[z>>2]=A&(n&b^-1);o=(t<<2)+o|0;h=(s<<2)+h|0;f=f+1|0;if((r|0)!=(f|0)){continue}break}}if(!((r|0)<1|p)){o=d^-1;f=c&-2;w=c&1;n=0;while(1){_:{if((c|0)<1){break _}h=0;b=f;if((c|0)!=1){while(1){l=h<<2;p=l+a|0;x=p;z=v[p>>2];p=g+l|0;v[x>>2]=z&((v[p+4>>2]>>>e&d|o&v[p>>2]<>2]=v[p>>2]&((v[l+4>>2]>>>e&d|o&v[l>>2]<>2]=v[h>>2]&((v[b+4>>2]>>>e&d|o&v[b>>2]<>2]<>2];if(!f){a=v[q+4>>2]>>>e&d|a&c}v[b>>2]=(a&m^-1)&h;q=(t<<2)+q|0;k=(s<<2)+k|0;g=g+1|0;if((r|0)!=(g|0)){continue}break};break o;case 24:if(u){u=b^-1;C=d^-1;f=0;while(1){l=v[o>>2];z=h;$:{if(D){x=l<>2]>>>e&d|x&C;break $}A=l>>>e|0}n=v[h>>2];v[z>>2]=(A|n^-1)&b|n&u;o=(t<<2)+o|0;h=(s<<2)+h|0;f=f+1|0;if((r|0)!=(f|0)){continue}break}}if(!((r|0)<1|p)){n=d^-1;o=c&-2;w=c&1;f=0;while(1){aa:{if((c|0)<1){break aa}h=0;b=o;if((c|0)!=1){while(1){l=h<<2;p=l+a|0;u=g+l|0;v[p>>2]=n&v[u>>2]<>2]^-1|v[u+4>>2]>>>e&d;l=l|4;p=l+a|0;l=g+l|0;v[p>>2]=n&v[l>>2]<>2]^-1|v[l+4>>2]>>>e&d;h=h+2|0;b=b-2|0;if(b){continue}break}}if(!w){break aa}b=h<<2;h=b+a|0;b=b+g|0;v[h>>2]=n&v[b>>2]<>2]^-1|v[b+4>>2]>>>e&d}g=(t<<2)+g|0;a=(s<<2)+a|0;f=f+1|0;if((r|0)!=(f|0)){continue}break}}if((r|0)<1|i){break o}c=m^-1;f=d^-1;g=0;h=y&1;while(1){a=v[q>>2]<>2]>>>e&d|a&f}i=a;a=v[k>>2];v[b>>2]=(i|a^-1)&m|a&c;q=(t<<2)+q|0;k=(s<<2)+k|0;g=g+1|0;if((r|0)!=(g|0)){continue}break};break o;case 6:if(u){u=b^-1;C=d^-1;f=0;while(1){l=v[o>>2];z=h;ba:{if(D){x=l<>2]>>>e&d|x&C;break ba}A=l>>>e|0}n=v[h>>2];v[z>>2]=A&b&(n^-1)|n&u;o=(t<<2)+o|0;h=(s<<2)+h|0;f=f+1|0;if((r|0)!=(f|0)){continue}break}}if(!((r|0)<1|p)){n=d^-1;o=c&-2;w=c&1;f=0;while(1){ca:{if((c|0)<1){break ca}h=0;b=o;if((c|0)!=1){while(1){l=h<<2;p=l+a|0;u=g+l|0;v[p>>2]=(v[u+4>>2]>>>e&d|n&v[u>>2]<>2]^-1);l=l|4;p=l+a|0;l=g+l|0;v[p>>2]=(v[l+4>>2]>>>e&d|n&v[l>>2]<>2]^-1);h=h+2|0;b=b-2|0;if(b){continue}break}}if(!w){break ca}b=h<<2;h=b+a|0;b=b+g|0;v[h>>2]=(v[b+4>>2]>>>e&d|n&v[b>>2]<>2]^-1)}g=(t<<2)+g|0;a=(s<<2)+a|0;f=f+1|0;if((r|0)!=(f|0)){continue}break}}if((r|0)<1|i){break o}c=m^-1;f=d^-1;g=0;h=y&1;while(1){a=v[q>>2]<>2]>>>e&d|a&f}i=a&m;a=v[k>>2];v[b>>2]=i&(a^-1)|a&c;q=(t<<2)+q|0;k=(s<<2)+k|0;g=g+1|0;if((r|0)!=(g|0)){continue}break};break o;case 0:if(u){C=b^-1;x=d^-1;f=0;while(1){u=v[o>>2];A=h;da:{if(D){z=u<>2]>>>e&d|x&z;break da}l=u>>>e|0}n=v[h>>2];v[A>>2]=((l|n)^-1)&b|n&C;o=(t<<2)+o|0;h=(s<<2)+h|0;f=f+1|0;if((r|0)!=(f|0)){continue}break}}if(!((r|0)<1|p)){o=d^-1;f=c&-2;w=c&1;n=0;while(1){ea:{if((c|0)<1){break ea}h=0;b=f;if((c|0)!=1){while(1){l=h<<2;p=l+a|0;x=p;z=v[p>>2];p=g+l|0;v[x>>2]=(z|o&v[p>>2]<>2]>>>e&d)^-1;l=l|4;p=l+a|0;l=g+l|0;v[p>>2]=(v[p>>2]|o&v[l>>2]<>2]>>>e&d)^-1;h=h+2|0;b=b-2|0;if(b){continue}break}}if(!w){break ea}b=h<<2;h=b+a|0;b=b+g|0;v[h>>2]=(v[h>>2]|o&v[b>>2]<>2]>>>e&d)^-1}g=(t<<2)+g|0;a=(s<<2)+a|0;n=n+1|0;if((r|0)!=(n|0)){continue}break}}if((r|0)<1|i){break o}f=m^-1;h=d^-1;g=0;i=y&1;while(1){a=v[q>>2]<>2]>>>e&d|a&h}p=a;a=v[k>>2];v[b>>2]=((p|a)^-1)&c|a&f;q=(t<<2)+q|0;k=(s<<2)+k|0;g=g+1|0;if((r|0)!=(g|0)){continue}break};break o;case 12:if(u){C=b^-1;x=d^-1;f=0;while(1){u=v[o>>2];A=h;fa:{if(D){z=u<>2]>>>e&d|x&z;break fa}l=u>>>e|0}n=v[h>>2];v[A>>2]=(l&n^-1)&b|n&C;o=(t<<2)+o|0;h=(s<<2)+h|0;f=f+1|0;if((r|0)!=(f|0)){continue}break}}if(!((r|0)<1|p)){n=d^-1;o=c&-2;w=c&1;f=0;while(1){ga:{if((c|0)<1){break ga}h=0;b=o;if((c|0)!=1){while(1){l=h<<2;p=l+a|0;x=p;z=v[p>>2];p=g+l|0;v[x>>2]=z&(v[p+4>>2]>>>e&d|n&v[p>>2]<>2]=v[p>>2]&(v[l+4>>2]>>>e&d|n&v[l>>2]<>2]=v[h>>2]&(v[b+4>>2]>>>e&d|n&v[b>>2]<>2]<>2]>>>e&d|a&h}p=a;a=v[k>>2];v[b>>2]=(p&a^-1)&c|a&f;q=(t<<2)+q|0;k=(s<<2)+k|0;g=g+1|0;if((r|0)!=(g|0)){continue}break};break o;case 16:break M;default:break p}}if(u){C=b^-1;x=d^-1;f=0;while(1){u=v[o>>2];A=h;ha:{if(D){z=u<>2]>>>e&d|x&z;break ha}l=u>>>e|0}n=v[h>>2];v[A>>2]=(l^n^-1)&b|n&C;o=(t<<2)+o|0;h=(s<<2)+h|0;f=f+1|0;if((r|0)!=(f|0)){continue}break}}if(!((r|0)<1|p)){o=d^-1;f=c&-2;w=c&1;n=0;while(1){ia:{if((c|0)<1){break ia}h=0;b=f;if((c|0)!=1){while(1){l=h<<2;p=l+a|0;x=p;z=v[p>>2];p=g+l|0;v[x>>2]=z^(v[p+4>>2]>>>e&d|o&v[p>>2]<>2]=v[p>>2]^(v[l+4>>2]>>>e&d|o&v[l>>2]<>2]=v[h>>2]^(v[b+4>>2]>>>e&d|o&v[b>>2]<>2]<>2]>>>e&d|a&h}p=a;a=v[k>>2];v[b>>2]=(p^a^-1)&c|a&f;q=(t<<2)+q|0;k=(s<<2)+k|0;g=g+1|0;if((r|0)!=(g|0)){continue}break}break o}c=0;k=k+q&31;if(!k){break G}}b=c<<2;q=(b+g|0)+4|0;h=(a+b|0)+4|0;l=v[(k<<2)+215200>>2];b=0;break D}o=1;b=1;break D}a=k+q&31;if(!a){o=1;c=0;b=1;break D}d=l>>>5|0;g=B(t,x);l=k>>>5|0;h=B(s,C);b=0}i=((g<<2)+m|0)+(d<<2)|0;c=b;g=c<<2;q=i+g|0;h=((n+(h<<2)|0)+(l<<2)|0)+g|0;l=v[(a<<2)+215200>>2];b=0}n=12275;ja:{switch(f-2|0){case 22:ka:{if(!u){break ka}f=y-(p+w|0)|0;k=f&1;i=d^-1;if((y+(p^-1)|0)!=(w|0)){f=f&-2;while(1){v[a>>2]=v[g>>2]&d|i&v[a>>2];m=s<<2;a=m+a|0;x=g;g=t<<2;n=x+g|0;v[a>>2]=v[n>>2]&d|i&v[a>>2];g=g+n|0;a=a+m|0;f=f-2|0;if(f){continue}break}}if(!k){break ka}v[a>>2]=v[g>>2]&d|i&v[a>>2]}if(!((r|0)<1|o)){f=c&-4;i=c&3;k=0;m=(c|0)<1;o=c-1>>>0<3;while(1){la:{if(m){break la}a=0;d=f;if(!o){while(1){c=a<<2;v[c+e>>2]=v[c+j>>2];g=c|4;v[g+e>>2]=v[g+j>>2];g=c|8;v[g+e>>2]=v[g+j>>2];c=c|12;v[c+e>>2]=v[c+j>>2];a=a+4|0;d=d-4|0;if(d){continue}break}}g=i;if(!g){break la}while(1){c=a<<2;v[c+e>>2]=v[c+j>>2];a=a+1|0;g=g-1|0;if(g){continue}break}}j=(t<<2)+j|0;e=(s<<2)+e|0;k=k+1|0;if((r|0)!=(k|0)){continue}break}}if((r|0)<1|b){break o}b=l^-1;a=y-(p+w|0)|0;d=a&1;if((y+(p^-1)|0)!=(w|0)){a=a&-2;while(1){v[h>>2]=v[q>>2]&l|b&v[h>>2];e=s<<2;c=e+h|0;f=t<<2;g=f+q|0;v[c>>2]=v[g>>2]&l|b&v[c>>2];q=f+g|0;h=c+e|0;a=a-2|0;if(a){continue}break}}if(!d){break o}v[h>>2]=v[q>>2]&l|b&v[h>>2];break o;case 4:ma:{if(!u){break ma}f=y-(p+w|0)|0;k=f&1;i=d^-1;if((y+(p^-1)|0)!=(w|0)){f=f&-2;while(1){v[a>>2]=(v[g>>2]^-1)&d|i&v[a>>2];m=s<<2;a=m+a|0;x=g;g=t<<2;n=x+g|0;v[a>>2]=(v[n>>2]^-1)&d|i&v[a>>2];g=g+n|0;a=a+m|0;f=f-2|0;if(f){continue}break}}if(!k){break ma}v[a>>2]=(v[g>>2]^-1)&d|i&v[a>>2]}if(!((r|0)<1|o)){f=c&-4;i=c&3;k=0;m=(c|0)<1;o=c-1>>>0<3;while(1){na:{if(m){break na}a=0;d=f;if(!o){while(1){c=a<<2;v[c+e>>2]=v[c+j>>2]^-1;g=c|4;v[g+e>>2]=v[g+j>>2]^-1;g=c|8;v[g+e>>2]=v[g+j>>2]^-1;c=c|12;v[c+e>>2]=v[c+j>>2]^-1;a=a+4|0;d=d-4|0;if(d){continue}break}}g=i;if(!g){break na}while(1){c=a<<2;v[c+e>>2]=v[c+j>>2]^-1;a=a+1|0;g=g-1|0;if(g){continue}break}}j=(t<<2)+j|0;e=(s<<2)+e|0;k=k+1|0;if((r|0)!=(k|0)){continue}break}}if((r|0)<1|b){break o}b=l^-1;a=y-(p+w|0)|0;d=a&1;if((y+(p^-1)|0)!=(w|0)){a=a&-2;while(1){v[h>>2]=(v[q>>2]^-1)&l|b&v[h>>2];e=s<<2;c=e+h|0;f=t<<2;g=f+q|0;v[c>>2]=(v[g>>2]^-1)&l|b&v[c>>2];q=f+g|0;h=c+e|0;a=a-2|0;if(a){continue}break}}if(!d){break o}v[h>>2]=(v[q>>2]^-1)&l|b&v[h>>2];break o;case 26:oa:{if(!u){break oa}f=y-(p+w|0)|0;m=f&1;i=d^-1;if((y+(p^-1)|0)!=(w|0)){f=f&-2;while(1){k=v[a>>2];v[a>>2]=(k|v[g>>2])&d|i&k;n=s<<2;a=n+a|0;k=v[a>>2];x=g;g=t<<2;u=x+g|0;v[a>>2]=(k|v[u>>2])&d|i&k;g=g+u|0;a=a+n|0;f=f-2|0;if(f){continue}break}}if(!m){break oa}f=a;a=v[a>>2];v[f>>2]=(a|v[g>>2])&d|a&i}if(!((r|0)<1|o)){i=c&-4;k=c&3;f=0;m=(c|0)<1;o=c-1>>>0<3;while(1){pa:{if(m){break pa}a=0;d=i;if(!o){while(1){c=a<<2;g=c+e|0;v[g>>2]=v[g>>2]|v[c+j>>2];g=c|4;n=g+e|0;v[n>>2]=v[n>>2]|v[g+j>>2];g=c|8;n=g+e|0;v[n>>2]=v[n>>2]|v[g+j>>2];c=c|12;g=c+e|0;v[g>>2]=v[g>>2]|v[c+j>>2];a=a+4|0;d=d-4|0;if(d){continue}break}}g=k;if(!g){break pa}while(1){c=a<<2;d=c+e|0;v[d>>2]=v[d>>2]|v[c+j>>2];a=a+1|0;g=g-1|0;if(g){continue}break}}j=(t<<2)+j|0;e=(s<<2)+e|0;f=f+1|0;if((r|0)!=(f|0)){continue}break}}if((r|0)<1|b){break o}b=l^-1;a=y-(p+w|0)|0;e=a&1;if((y+(p^-1)|0)!=(w|0)){a=a&-2;while(1){c=v[h>>2];v[h>>2]=(c|v[q>>2])&l|b&c;f=s<<2;c=f+h|0;d=v[c>>2];g=t<<2;h=g+q|0;v[c>>2]=(d|v[h>>2])&l|b&d;q=g+h|0;h=c+f|0;a=a-2|0;if(a){continue}break}}if(!e){break o}a=v[h>>2];v[h>>2]=(a|v[q>>2])&l|a&b;break o;case 14:qa:{if(!u){break qa}f=y-(p+w|0)|0;m=f&1;i=d^-1;if((y+(p^-1)|0)!=(w|0)){f=f&-2;while(1){k=v[a>>2];v[a>>2]=v[g>>2]&(k&d)|i&k;n=s<<2;a=n+a|0;k=v[a>>2];x=g;g=t<<2;u=x+g|0;v[a>>2]=v[u>>2]&(d&k)|i&k;g=g+u|0;a=a+n|0;f=f-2|0;if(f){continue}break}}if(!m){break qa}f=a;a=v[a>>2];v[f>>2]=v[g>>2]&(a&d)|a&i}if(!((r|0)<1|o)){i=c&-4;k=c&3;f=0;m=(c|0)<1;o=c-1>>>0<3;while(1){ra:{if(m){break ra}a=0;d=i;if(!o){while(1){c=a<<2;g=c+e|0;v[g>>2]=v[g>>2]&v[c+j>>2];g=c|4;n=g+e|0;v[n>>2]=v[n>>2]&v[g+j>>2];g=c|8;n=g+e|0;v[n>>2]=v[n>>2]&v[g+j>>2];c=c|12;g=c+e|0;v[g>>2]=v[g>>2]&v[c+j>>2];a=a+4|0;d=d-4|0;if(d){continue}break}}g=k;if(!g){break ra}while(1){c=a<<2;d=c+e|0;v[d>>2]=v[d>>2]&v[c+j>>2];a=a+1|0;g=g-1|0;if(g){continue}break}}j=(t<<2)+j|0;e=(s<<2)+e|0;f=f+1|0;if((r|0)!=(f|0)){continue}break}}if((r|0)<1|b){break o}b=l^-1;a=y-(p+w|0)|0;e=a&1;if((y+(p^-1)|0)!=(w|0)){a=a&-2;while(1){c=v[h>>2];v[h>>2]=v[q>>2]&(c&l)|b&c;f=s<<2;c=f+h|0;d=v[c>>2];g=t<<2;h=g+q|0;v[c>>2]=v[h>>2]&(d&l)|b&d;q=g+h|0;h=c+f|0;a=a-2|0;if(a){continue}break}}if(!e){break o}a=v[h>>2];v[h>>2]=v[q>>2]&(a&l)|a&b;break o;case 10:sa:{if(!u){break sa}f=y-(p+w|0)|0;m=f&1;i=d^-1;if((y+(p^-1)|0)!=(w|0)){f=f&-2;while(1){k=v[a>>2];v[a>>2]=(k^v[g>>2])&d|i&k;n=s<<2;a=n+a|0;k=v[a>>2];x=g;g=t<<2;u=x+g|0;v[a>>2]=(k^v[u>>2])&d|i&k;g=g+u|0;a=a+n|0;f=f-2|0;if(f){continue}break}}if(!m){break sa}f=a;a=v[a>>2];v[f>>2]=(a^v[g>>2])&d|a&i}if(!((r|0)<1|o)){i=c&-4;k=c&3;f=0;m=(c|0)<1;o=c-1>>>0<3;while(1){ta:{if(m){break ta}a=0;d=i;if(!o){while(1){c=a<<2;g=c+e|0;v[g>>2]=v[g>>2]^v[c+j>>2];g=c|4;n=g+e|0;v[n>>2]=v[n>>2]^v[g+j>>2];g=c|8;n=g+e|0;v[n>>2]=v[n>>2]^v[g+j>>2];c=c|12;g=c+e|0;v[g>>2]=v[g>>2]^v[c+j>>2];a=a+4|0;d=d-4|0;if(d){continue}break}}g=k;if(!g){break ta}while(1){c=a<<2;d=c+e|0;v[d>>2]=v[d>>2]^v[c+j>>2];a=a+1|0;g=g-1|0;if(g){continue}break}}j=(t<<2)+j|0;e=(s<<2)+e|0;f=f+1|0;if((r|0)!=(f|0)){continue}break}}if((r|0)<1|b){break o}b=l^-1;a=y-(p+w|0)|0;e=a&1;if((y+(p^-1)|0)!=(w|0)){a=a&-2;while(1){c=v[h>>2];v[h>>2]=(c^v[q>>2])&l|b&c;f=s<<2;c=f+h|0;d=v[c>>2];g=t<<2;h=g+q|0;v[c>>2]=(d^v[h>>2])&l|b&d;q=g+h|0;h=c+f|0;a=a-2|0;if(a){continue}break}}if(!e){break o}a=v[h>>2];v[h>>2]=(a^v[q>>2])&l|a&b;break o;case 20:ua:{if(!u){break ua}f=y-(p+w|0)|0;m=f&1;i=d^-1;if((y+(p^-1)|0)!=(w|0)){f=f&-2;while(1){k=v[a>>2];v[a>>2]=(k|v[g>>2]^-1)&d|i&k;n=s<<2;a=n+a|0;k=v[a>>2];x=g;g=t<<2;u=x+g|0;v[a>>2]=(k|v[u>>2]^-1)&d|i&k;g=g+u|0;a=a+n|0;f=f-2|0;if(f){continue}break}}if(!m){break ua}f=a;a=v[a>>2];v[f>>2]=(a|v[g>>2]^-1)&d|a&i}if(!((r|0)<1|o)){f=c&-2;i=c&1;k=0;while(1){va:{if((c|0)<1){break va}a=0;d=f;if((c|0)!=1){while(1){g=a<<2;m=g+e|0;v[m>>2]=v[m>>2]|v[g+j>>2]^-1;g=g|4;m=g+e|0;v[m>>2]=v[m>>2]|v[g+j>>2]^-1;a=a+2|0;d=d-2|0;if(d){continue}break}}if(!i){break va}a=a<<2;d=a+e|0;v[d>>2]=v[d>>2]|v[a+j>>2]^-1}j=(t<<2)+j|0;e=(s<<2)+e|0;k=k+1|0;if((r|0)!=(k|0)){continue}break}}if((r|0)<1|b){break o}b=l^-1;a=y-(p+w|0)|0;e=a&1;if((y+(p^-1)|0)!=(w|0)){a=a&-2;while(1){c=v[h>>2];v[h>>2]=(c|v[q>>2]^-1)&l|b&c;f=s<<2;c=f+h|0;d=v[c>>2];g=t<<2;h=g+q|0;v[c>>2]=(d|v[h>>2]^-1)&l|b&d;q=g+h|0;h=c+f|0;a=a-2|0;if(a){continue}break}}if(!e){break o}a=v[h>>2];v[h>>2]=(a|v[q>>2]^-1)&l|a&b;break o;case 2:wa:{if(!u){break wa}f=y-(p+w|0)|0;m=f&1;i=d^-1;if((y+(p^-1)|0)!=(w|0)){f=f&-2;while(1){k=v[a>>2];v[a>>2]=k&d&(v[g>>2]^-1)|i&k;n=s<<2;a=n+a|0;k=v[a>>2];x=g;g=t<<2;u=x+g|0;v[a>>2]=d&k&(v[u>>2]^-1)|i&k;g=g+u|0;a=a+n|0;f=f-2|0;if(f){continue}break}}if(!m){break wa}f=a;a=v[a>>2];v[f>>2]=a&d&(v[g>>2]^-1)|a&i}if(!((r|0)<1|o)){f=c&-2;i=c&1;k=0;while(1){xa:{if((c|0)<1){break xa}a=0;d=f;if((c|0)!=1){while(1){g=a<<2;m=g+e|0;v[m>>2]=v[m>>2]&(v[g+j>>2]^-1);g=g|4;m=g+e|0;v[m>>2]=v[m>>2]&(v[g+j>>2]^-1);a=a+2|0;d=d-2|0;if(d){continue}break}}if(!i){break xa}a=a<<2;d=a+e|0;v[d>>2]=v[d>>2]&(v[a+j>>2]^-1)}j=(t<<2)+j|0;e=(s<<2)+e|0;k=k+1|0;if((r|0)!=(k|0)){continue}break}}if((r|0)<1|b){break o}b=l^-1;a=y-(p+w|0)|0;e=a&1;if((y+(p^-1)|0)!=(w|0)){a=a&-2;while(1){c=v[h>>2];v[h>>2]=c&l&(v[q>>2]^-1)|b&c;f=s<<2;c=f+h|0;d=v[c>>2];g=t<<2;h=g+q|0;v[c>>2]=d&l&(v[h>>2]^-1)|b&d;q=g+h|0;h=c+f|0;a=a-2|0;if(a){continue}break}}if(!e){break o}a=v[h>>2];v[h>>2]=a&l&(v[q>>2]^-1)|a&b;break o;case 24:ya:{if(!u){break ya}f=y-(p+w|0)|0;m=f&1;i=d^-1;if((y+(p^-1)|0)!=(w|0)){f=f&-2;while(1){k=v[a>>2];v[a>>2]=(v[g>>2]|k^-1)&d|i&k;n=s<<2;a=n+a|0;k=v[a>>2];x=g;g=t<<2;u=x+g|0;v[a>>2]=(v[u>>2]|k^-1)&d|i&k;g=g+u|0;a=a+n|0;f=f-2|0;if(f){continue}break}}if(!m){break ya}f=a;a=v[a>>2];v[f>>2]=(v[g>>2]|a^-1)&d|a&i}if(!((r|0)<1|o)){f=c&-2;i=c&1;k=0;while(1){za:{if((c|0)<1){break za}a=0;d=f;if((c|0)!=1){while(1){g=a<<2;m=g+e|0;v[m>>2]=v[g+j>>2]|v[m>>2]^-1;g=g|4;m=g+e|0;v[m>>2]=v[g+j>>2]|v[m>>2]^-1;a=a+2|0;d=d-2|0;if(d){continue}break}}if(!i){break za}a=a<<2;d=a+e|0;v[d>>2]=v[a+j>>2]|v[d>>2]^-1}j=(t<<2)+j|0;e=(s<<2)+e|0;k=k+1|0;if((r|0)!=(k|0)){continue}break}}if((r|0)<1|b){break o}b=l^-1;a=y-(p+w|0)|0;e=a&1;if((y+(p^-1)|0)!=(w|0)){a=a&-2;while(1){c=v[h>>2];v[h>>2]=(v[q>>2]|c^-1)&l|b&c;f=s<<2;c=f+h|0;d=v[c>>2];g=t<<2;h=g+q|0;v[c>>2]=(v[h>>2]|d^-1)&l|b&d;q=g+h|0;h=c+f|0;a=a-2|0;if(a){continue}break}}if(!e){break o}a=v[h>>2];v[h>>2]=(v[q>>2]|a^-1)&l|a&b;break o;case 6:Aa:{if(!u){break Aa}f=y-(p+w|0)|0;m=f&1;i=d^-1;if((y+(p^-1)|0)!=(w|0)){f=f&-2;while(1){k=v[a>>2];v[a>>2]=v[g>>2]&((k^-1)&d)|i&k;n=s<<2;a=n+a|0;k=v[a>>2];x=g;g=t<<2;u=x+g|0;v[a>>2]=v[u>>2]&((k^-1)&d)|i&k;g=g+u|0;a=a+n|0;f=f-2|0;if(f){continue}break}}if(!m){break Aa}f=a;a=v[a>>2];v[f>>2]=v[g>>2]&((a^-1)&d)|a&i}if(!((r|0)<1|o)){f=c&-2;i=c&1;k=0;while(1){Ba:{if((c|0)<1){break Ba}a=0;d=f;if((c|0)!=1){while(1){g=a<<2;m=g+e|0;v[m>>2]=v[g+j>>2]&(v[m>>2]^-1);g=g|4;m=g+e|0;v[m>>2]=v[g+j>>2]&(v[m>>2]^-1);a=a+2|0;d=d-2|0;if(d){continue}break}}if(!i){break Ba}a=a<<2;d=a+e|0;v[d>>2]=v[a+j>>2]&(v[d>>2]^-1)}j=(t<<2)+j|0;e=(s<<2)+e|0;k=k+1|0;if((r|0)!=(k|0)){continue}break}}if((r|0)<1|b){break o}b=l^-1;a=y-(p+w|0)|0;e=a&1;if((y+(p^-1)|0)!=(w|0)){a=a&-2;while(1){c=v[h>>2];v[h>>2]=v[q>>2]&((c^-1)&l)|b&c;f=s<<2;c=f+h|0;d=v[c>>2];g=t<<2;h=g+q|0;v[c>>2]=v[h>>2]&((d^-1)&l)|b&d;q=g+h|0;h=c+f|0;a=a-2|0;if(a){continue}break}}if(!e){break o}a=v[h>>2];v[h>>2]=v[q>>2]&((a^-1)&l)|a&b;break o;case 0:Ca:{if(!u){break Ca}f=y-(p+w|0)|0;m=f&1;i=d^-1;if((y+(p^-1)|0)!=(w|0)){f=f&-2;while(1){k=v[a>>2];v[a>>2]=((k|v[g>>2])^-1)&d|i&k;n=s<<2;a=n+a|0;k=v[a>>2];x=g;g=t<<2;u=x+g|0;v[a>>2]=((k|v[u>>2])^-1)&d|i&k;g=g+u|0;a=a+n|0;f=f-2|0;if(f){continue}break}}if(!m){break Ca}f=a;a=v[a>>2];v[f>>2]=((a|v[g>>2])^-1)&d|a&i}if(!((r|0)<1|o)){f=c&-2;i=c&1;k=0;while(1){Da:{if((c|0)<1){break Da}a=0;d=f;if((c|0)!=1){while(1){g=a<<2;m=g+e|0;v[m>>2]=(v[m>>2]|v[g+j>>2])^-1;g=g|4;m=g+e|0;v[m>>2]=(v[m>>2]|v[g+j>>2])^-1;a=a+2|0;d=d-2|0;if(d){continue}break}}if(!i){break Da}a=a<<2;d=a+e|0;v[d>>2]=(v[d>>2]|v[a+j>>2])^-1}j=(t<<2)+j|0;e=(s<<2)+e|0;k=k+1|0;if((r|0)!=(k|0)){continue}break}}if((r|0)<1|b){break o}b=l^-1;a=y-(p+w|0)|0;e=a&1;if((y+(p^-1)|0)!=(w|0)){a=a&-2;while(1){c=v[h>>2];v[h>>2]=((c|v[q>>2])^-1)&l|b&c;f=s<<2;c=f+h|0;d=v[c>>2];g=t<<2;h=g+q|0;v[c>>2]=((d|v[h>>2])^-1)&l|b&d;q=g+h|0;h=c+f|0;a=a-2|0;if(a){continue}break}}if(!e){break o}a=v[h>>2];v[h>>2]=((a|v[q>>2])^-1)&l|a&b;break o;case 12:Ea:{if(!u){break Ea}f=y-(p+w|0)|0;m=f&1;i=d^-1;if((y+(p^-1)|0)!=(w|0)){f=f&-2;while(1){k=v[a>>2];v[a>>2]=(k&v[g>>2]^-1)&d|i&k;n=s<<2;a=n+a|0;k=v[a>>2];x=g;g=t<<2;u=x+g|0;v[a>>2]=(k&v[u>>2]^-1)&d|i&k;g=g+u|0;a=a+n|0;f=f-2|0;if(f){continue}break}}if(!m){break Ea}f=a;a=v[a>>2];v[f>>2]=(a&v[g>>2]^-1)&d|a&i}if(!((r|0)<1|o)){f=c&-2;i=c&1;k=0;while(1){Fa:{if((c|0)<1){break Fa}a=0;d=f;if((c|0)!=1){while(1){g=a<<2;m=g+e|0;v[m>>2]=v[m>>2]&v[g+j>>2]^-1;g=g|4;m=g+e|0;v[m>>2]=v[m>>2]&v[g+j>>2]^-1;a=a+2|0;d=d-2|0;if(d){continue}break}}if(!i){break Fa}a=a<<2;d=a+e|0;v[d>>2]=v[d>>2]&v[a+j>>2]^-1}j=(t<<2)+j|0;e=(s<<2)+e|0;k=k+1|0;if((r|0)!=(k|0)){continue}break}}if((r|0)<1|b){break o}b=l^-1;a=y-(p+w|0)|0;e=a&1;if((y+(p^-1)|0)!=(w|0)){a=a&-2;while(1){c=v[h>>2];v[h>>2]=(c&v[q>>2]^-1)&l|b&c;f=s<<2;c=f+h|0;d=v[c>>2];g=t<<2;h=g+q|0;v[c>>2]=(d&v[h>>2]^-1)&l|b&d;q=g+h|0;h=c+f|0;a=a-2|0;if(a){continue}break}}if(!e){break o}a=v[h>>2];v[h>>2]=(a&v[q>>2]^-1)&l|a&b;break o;case 16:break ja;default:break p}}Ga:{if(!u){break Ga}f=y-(p+w|0)|0;m=f&1;i=d^-1;if((y+(p^-1)|0)!=(w|0)){f=f&-2;while(1){k=v[a>>2];v[a>>2]=(k^v[g>>2]^-1)&d|i&k;n=s<<2;a=n+a|0;k=v[a>>2];x=g;g=t<<2;u=x+g|0;v[a>>2]=(k^v[u>>2]^-1)&d|i&k;g=g+u|0;a=a+n|0;f=f-2|0;if(f){continue}break}}if(!m){break Ga}f=a;a=v[a>>2];v[f>>2]=(a^v[g>>2]^-1)&d|a&i}if(!((r|0)<1|o)){f=c&-2;i=c&1;k=0;while(1){Ha:{if((c|0)<1){break Ha}a=0;d=f;if((c|0)!=1){while(1){g=a<<2;m=g+e|0;v[m>>2]=v[g+j>>2]^v[m>>2]^-1;g=g|4;m=g+e|0;v[m>>2]=v[g+j>>2]^v[m>>2]^-1;a=a+2|0;d=d-2|0;if(d){continue}break}}if(!i){break Ha}a=a<<2;d=a+e|0;v[d>>2]=v[a+j>>2]^v[d>>2]^-1}j=(t<<2)+j|0;e=(s<<2)+e|0;k=k+1|0;if((r|0)!=(k|0)){continue}break}}if((r|0)<1|b){break o}b=l^-1;a=y-(p+w|0)|0;e=a&1;if((y+(p^-1)|0)!=(w|0)){a=a&-2;while(1){c=v[h>>2];v[h>>2]=(c^v[q>>2]^-1)&l|b&c;f=s<<2;c=f+h|0;d=v[c>>2];g=t<<2;h=g+q|0;v[c>>2]=(d^v[h>>2]^-1)&l|b&d;q=g+h|0;h=c+f|0;a=a-2|0;if(a){continue}break}}if(!e){break o}a=v[h>>2];v[h>>2]=(a^v[q>>2]^-1)&l|a&b;break o}v[E>>2]=f;vb(v[249419],n,E)}Ma=E+16|0}}}function s2(a,b){var 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=C(0),s=0,x=C(0),E=0,G=0,I=0,J=0,M=C(0),N=0,O=0,P=0,Q=0,R=C(0),S=C(0),T=C(0),U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,ba=0,ca=0,da=C(0);N=Ma-16|0;Ma=N;a:{if(!b){break a}b:{if(!v[b+4>>2]){v[N>>2]=-16777216;v[N>>2]=v[b+8>>2];v[N+12>>2]=v[N>>2];v[N+8>>2]=a+1564;i=N+8|0;c=Ma-96|0;Ma=c;f=a+96|0;c:{if(!w[f+1432|0]){f=a+1596|0;d=a+1628|0;if(!(!w[d+1160|0]|v[d+1172>>2]!=2)){rc(d+100|0,d,v[d+1164>>2],v[d+1168>>2]);v[d+1172>>2]=3}Gc(d);d:{if(!v[d+12>>2]){break d}v[d+1176>>2]=v[d+84>>2];g=v[d+80>>2];e=(v[d+88>>2]-g|0)+2|0;e:{if(e>>>0<=y[f+24>>2]){break e}h=v[f+20>>2];if(h){$a(h)}v[f+24>>2]=e;ba=f,ca=ab((e|0)!=(e&536870911)?-1:e<<3),v[ba+20>>2]=ca;if((e|0)==v[f+16>>2]){break e}h=v[f+12>>2];if(h){$a(h)}v[f+16>>2]=e;ba=f,ca=ab(e),v[ba+12>>2]=ca}v[f>>2]=g;v[f+4>>2]=2147483632;v[f+28>>2]=v[f+20>>2];if(!wf(d,f)){break d}e=i+4|0;while(1){b2(f,v[i>>2],e);if(wf(d,f)){continue}break}}break c}if(!w[f+1433|0]){v[c+80>>2]=0;v[c+84>>2]=0;v[c+88>>2]=0;v[c+92>>2]=0;v[c+72>>2]=0;v[c+76>>2]=0;v[c+64>>2]=2147483632;v[c+48>>2]=0;v[c+52>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=2147483632;v[c+16>>2]=0;v[c+20>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=2147483632;d=c+32|0;g=c- -64|0;e=a+1628|0;if(!(!w[e+1160|0]|v[e+1172>>2]!=2)){rc(e+100|0,e,v[e+1164>>2],v[e+1168>>2]);v[e+1172>>2]=3}Gc(e);f:{if(!v[e+12>>2]){break f}v[e+1176>>2]=v[e+84>>2];if(!(!w[f+1160|0]|v[f+1172>>2]!=2)){rc(f+100|0,f,v[f+1164>>2],v[f+1168>>2]);v[f+1172>>2]=3}Gc(f);if(!v[f+12>>2]){break f}h=v[f+84>>2];v[f+1176>>2]=h;j=v[f+88>>2];m=v[e+88>>2];j=(j|0)<(m|0)?j:m;m=v[f+80>>2];p=v[e+80>>2];m=(m|0)>(p|0)?m:p;if((j|0)<(m|0)){break f}p=v[e+84>>2];n=(h|0)>(p|0)?h:p;h=v[f+92>>2];p=v[e+92>>2];if((n|0)>(((h|0)<(p|0)?h:p)|0)){break f}h=(j-m|0)+3|0;g:{if(h>>>0<=y[g+24>>2]){break g}j=v[g+20>>2];if(j){$a(j)}v[g+24>>2]=h;ba=g,ca=ab((h|0)!=(h&536870911)?-1:h<<3),v[ba+20>>2]=ca;if((h|0)==v[g+12>>2]){break g}j=v[g+8>>2];if(j){$a(j)}v[g+12>>2]=h;ba=g,ca=ab(h),v[ba+8>>2]=ca}v[g>>2]=2147483632;v[g+16>>2]=v[g+8>>2];h=v[g+20>>2];v[g+28>>2]=h;u[h+2>>1]=0;h=(v[e+88>>2]-v[e+80>>2]|0)+3|0;h:{if(h>>>0<=y[d+24>>2]){break h}j=v[d+20>>2];if(j){$a(j)}v[d+24>>2]=h;ba=d,ca=ab((h|0)!=(h&536870911)?-1:h<<3),v[ba+20>>2]=ca;if((h|0)==v[d+12>>2]){break h}j=v[d+8>>2];if(j){$a(j)}v[d+12>>2]=h;ba=d,ca=ab(h),v[ba+8>>2]=ca}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];h=v[d+20>>2];v[d+28>>2]=h;u[h+2>>1]=0;h=(v[f+88>>2]-v[f+80>>2]|0)+3|0;i:{if(h>>>0<=y[c+24>>2]){break i}j=v[c+20>>2];if(j){$a(j)}v[c+24>>2]=h;ba=c,ca=ab((h|0)!=(h&536870911)?-1:h<<3),v[ba+20>>2]=ca;if((h|0)==v[c+12>>2]){break i}j=v[c+8>>2];if(j){$a(j)}v[c+12>>2]=h;ba=c,ca=ab(h),v[ba+8>>2]=ca}v[c>>2]=2147483632;v[c+16>>2]=v[c+8>>2];h=v[c+20>>2];v[c+28>>2]=h;u[h+2>>1]=0;if(!Gb(e,d)){break f}if(!Gb(f,c)){break f}m=i+4|0;while(1){h=v[d+4>>2];j=v[c+4>>2];if((h|0)>=(j|0)){if((h|0)>(j|0)){while(1){if(!Gb(f,c)){break f}h=v[d+4>>2];j=v[c+4>>2];if((h|0)>(j|0)){continue}break}}if((h|0)!=(j|0)){continue}Se(d,c,g);if(v[g+28>>2]!=v[g+20>>2]){v[g+4>>2]=v[d+4>>2];xB(g,v[i>>2],m)}if(!Gb(e,d)){break f}if(Gb(f,c)){continue}break f}if(Gb(e,d)){continue}break}}f=v[c+20>>2];if(f){$a(f)}f=v[c+8>>2];if(f){$a(f)}f=v[c+52>>2];if(f){$a(f)}f=v[c+40>>2];if(f){$a(f)}f=v[c+84>>2];if(f){$a(f)}f=v[c+72>>2];if(!f){break c}$a(f);break c}v[c+80>>2]=0;v[c+84>>2]=0;v[c+88>>2]=0;v[c+92>>2]=0;v[c+72>>2]=0;v[c+76>>2]=0;v[c+64>>2]=2147483632;v[c+48>>2]=0;v[c+52>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=2147483632;v[c+16>>2]=0;v[c+20>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=2147483632;h=((v[a+1524>>2]==1?1180:1304)+a|0)+96|0;f=c+32|0;d=c- -64|0;g=a+1628|0;if(!(!w[g+1160|0]|v[g+1172>>2]!=2)){rc(g+100|0,g,v[g+1164>>2],v[g+1168>>2]);v[g+1172>>2]=3}Gc(g);j:{if(!v[g+12>>2]){break j}e=v[g+84>>2];v[g+1176>>2]=e;v[h+120>>2]=0;if(!v[h+60>>2]){break j}j=v[h+112>>2];m=v[g+88>>2];j=(j|0)<(m|0)?j:m;m=v[h+104>>2];p=v[g+80>>2];m=(m|0)>(p|0)?m:p;if((j|0)<(m|0)){break j}p=v[h+108>>2];n=(e|0)<(p|0)?p:e;e=v[h+116>>2];p=v[g+92>>2];if((n|0)>(((e|0)<(p|0)?e:p)|0)){break j}e=(j-m|0)+3|0;k:{if(e>>>0<=y[d+24>>2]){break k}j=v[d+20>>2];if(j){$a(j)}v[d+24>>2]=e;ba=d,ca=ab((e|0)!=(e&536870911)?-1:e<<3),v[ba+20>>2]=ca;if((e|0)==v[d+12>>2]){break k}j=v[d+8>>2];if(j){$a(j)}v[d+12>>2]=e;ba=d,ca=ab(e),v[ba+8>>2]=ca}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];e=v[d+20>>2];v[d+28>>2]=e;u[e+2>>1]=0;e=(v[g+88>>2]-v[g+80>>2]|0)+3|0;l:{if(e>>>0<=y[f+24>>2]){break l}j=v[f+20>>2];if(j){$a(j)}v[f+24>>2]=e;ba=f,ca=ab((e|0)!=(e&536870911)?-1:e<<3),v[ba+20>>2]=ca;if((e|0)==v[f+12>>2]){break l}j=v[f+8>>2];if(j){$a(j)}v[f+12>>2]=e;ba=f,ca=ab(e),v[ba+8>>2]=ca}v[f>>2]=2147483632;v[f+16>>2]=v[f+8>>2];e=v[f+20>>2];v[f+28>>2]=e;u[e+2>>1]=0;e=(v[h+112>>2]-v[h+104>>2]|0)+3|0;m:{if(e>>>0<=y[c+24>>2]){break m}j=v[c+20>>2];if(j){$a(j)}v[c+24>>2]=e;ba=c,ca=ab((e|0)!=(e&536870911)?-1:e<<3),v[ba+20>>2]=ca;if((e|0)==v[c+12>>2]){break m}j=v[c+8>>2];if(j){$a(j)}v[c+12>>2]=e;ba=c,ca=ab(e),v[ba+8>>2]=ca}v[c>>2]=2147483632;v[c+16>>2]=v[c+8>>2];e=v[c+20>>2];v[c+28>>2]=e;u[e+2>>1]=0;if(!Gb(g,f)){break j}if(!Uc(h,c)){break j}m=i+4|0;while(1){e=v[c+4>>2];j=v[f+4>>2];if((e|0)<=(j|0)){if((e|0)<(j|0)){while(1){if(!Uc(h,c)){break j}e=v[c+4>>2];j=v[f+4>>2];if((e|0)<(j|0)){continue}break}}if((e|0)!=(j|0)){continue}Se(f,c,d);if(v[d+28>>2]!=v[d+20>>2]){v[d+4>>2]=v[f+4>>2];xB(d,v[i>>2],m)}if(!Gb(g,f)){break j}if(Uc(h,c)){continue}break j}if(Gb(g,f)){continue}break}}f=v[c+20>>2];if(f){$a(f)}f=v[c+8>>2];if(f){$a(f)}f=v[c+52>>2];if(f){$a(f)}f=v[c+40>>2];if(f){$a(f)}f=v[c+84>>2];if(f){$a(f)}f=v[c+72>>2];if(!f){break c}$a(f)}Ma=c+96|0;break b}if(v[b+4>>2]==1){f=Ma-256|0;Ma=f;v[f+248>>2]=v[b+20>>2];v[f+240>>2]=v[b+24>>2];c=b+8|0;g=ab(256);n:{while(1){e=B(d,12);j=w[e+1162811|0];h=j<<24>>24<0;m=w[b+19|0];i=m<<24>>24<0;o:{j=h?v[e+1162804>>2]:j;if((j|0)!=((i?v[b+12>>2]:m)|0)){break o}if(j){e=e+1162800|0;if(lc(h?v[e>>2]:e,i?v[c>>2]:c,j)){break o}}c=d<<6;break n}d=d+1|0;if((d|0)!=54){continue}break}c=0}d=0;e=g;while(1){i=f+240|0;j=f+248|0;h=w[(c+d|0)+356128|0]==1?i:j;h=w[h|0]|w[h+1|0]<<8|(w[h+2|0]<<16|w[h+3|0]<<24);t[e|0]=h;t[e+1|0]=h>>>8;t[e+2|0]=h>>>16;t[e+3|0]=h>>>24;h=w[(c+(d|1)|0)+356128|0]==1?i:j;h=w[h|0]|w[h+1|0]<<8|(w[h+2|0]<<16|w[h+3|0]<<24);t[e+4|0]=h;t[e+5|0]=h>>>8;t[e+6|0]=h>>>16;t[e+7|0]=h>>>24;e=e+8|0;d=d+2|0;if((d|0)!=64){continue}break}d=v[a+52>>2];c=v[d+44>>2];v[f+232>>2]=v[d+40>>2];v[f+236>>2]=c;c=v[d+36>>2];v[f+224>>2]=v[d+32>>2];v[f+228>>2]=c;c=v[d+28>>2];v[f+216>>2]=v[d+24>>2];v[f+220>>2]=c;c=v[d+20>>2];v[f+208>>2]=v[d+16>>2];v[f+212>>2]=c;c=v[d+12>>2];v[f+200>>2]=v[d+8>>2];v[f+204>>2]=c;e=v[d+4>>2];c=f;v[c+192>>2]=v[d>>2];v[c+196>>2]=e;d=c+192|0;To(d);v[c+184>>2]=0;v[c+188>>2]=0;v[c+136>>2]=d;v[c+128>>2]=32;v[c+120>>2]=8;v[c+124>>2]=8;v[c+112>>2]=g;v[c+116>>2]=g;v[c+104>>2]=c+112;v[c+92>>2]=1073741816;v[c+96>>2]=0;v[c+84>>2]=0;v[c+88>>2]=8;v[c+76>>2]=8;v[c+80>>2]=1073741816;v[c+64>>2]=c+104;v[c+56>>2]=128;v[c+60>>2]=128;v[c+48>>2]=0;v[c+52>>2]=1071644672;v[c+40>>2]=0;v[c+44>>2]=1071644672;d=0;v[c+32>>2]=0;v[c+28>>2]=c+136;v[c+24>>2]=c- -64;v[c+8>>2]=a+1564;v[c+16>>2]=c+24;v[c+12>>2]=c+184;k=A[a+2824>>3];p:{if(!(D(k+-1)<1.1920928955078125e-7)){c=a+1760|0;while(1){i=c+(d<<2)|0;l=F(k*(+(d|0)/255),1)*255+.5;q:{if(l<4294967296&l>=0){n=~~l>>>0;break q}n=0}v[i>>2]=n;e=d|1;i=c+(e<<2)|0;l=F(k*(+(e|0)/255),1)*255+.5;r:{if(l<4294967296&l>=0){n=~~l>>>0;break r}n=0}v[i>>2]=n;d=d+2|0;if((d|0)!=256){continue}break}yB(a,f+8|0);d=0;c=a+1760|0;while(1){i=c+(d<<2)|0;k=+(d|0)/255*255+.5;s:{if(k<4294967296&k>=0){n=~~k>>>0;break s}n=0}v[i>>2]=n;e=d|1;i=c+(e<<2)|0;k=+(e|0)/255*255+.5;t:{if(k<4294967296&k>=0){n=~~k>>>0;break t}n=0}v[i>>2]=n;d=d+2|0;if((d|0)!=256){continue}break}break p}yB(a,f+8|0)}$a(g);c=v[f+184>>2];if(c){$a(c)}Ma=f+256|0;break b}u:{if(v[b+4>>2]==2){c=v[b+8>>2];d=v[c+24>>2];e=v[c+20>>2];if((e|0)<=-1){d=B(e,1-v[c+16>>2]|0)+d|0}if(!d){break b}c=v[b+8>>2];h=v[c+16>>2];g=v[c+20>>2];i=v[c+12>>2];if(!i|!h){break b}e=v[b+16>>2];p=Dm(N+8|0,b+20|0);v:{if(v[b+24>>2]){c=g;g=i<<2;n=c-g|0;c=ab(B(h,g));f=v[b+28>>2];U=f&255;e=v[b+32>>2];V=e&255;W=e>>>24|0;X=f>>>24|0;Y=f>>>8&255;Z=e>>>8&255;_=f>>>16&255;$=e>>>16&255;f=c;while(1){m=0;while(1){e=((B(w[d+2|0],77)+B(w[d+1|0],150)|0)+B(w[d|0],29)|0)+128>>>8|0;o=255-e|0;t[f+2|0]=B(B(o,V)+B(e,U)|0,32897)+4210816>>>23;t[f+1|0]=B(B(o,Z)+B(e,Y)|0,32897)+4210816>>>23;t[f|0]=B(B(o,$)+B(e,_)|0,32897)+4210816>>>23;e=w[d+3|0];t[f+3|0]=B(B(e^255,W)+B(e,X)|0,32897)+4210816>>>23;f=f+4|0;d=d+4|0;m=m+1|0;if((i|0)!=(m|0)){continue}break}d=d+n|0;j=j+1|0;if((h|0)!=(j|0)){continue}break}v1(p);e=0;f=c;break v}if((e|0)==4){break u}c=d}m=w[b+36|0];w:{if(!w[a+2832|0]){d=Ma-288|0;Ma=d;j=v[p>>2];o=v[j+44>>2];v[d+232>>2]=v[j+40>>2];v[d+236>>2]=o;o=v[j+36>>2];v[d+224>>2]=v[j+32>>2];v[d+228>>2]=o;o=v[j+28>>2];v[d+216>>2]=v[j+24>>2];v[d+220>>2]=o;o=v[j+20>>2];v[d+208>>2]=v[j+16>>2];v[d+212>>2]=o;o=v[j+12>>2];v[d+200>>2]=v[j+8>>2];v[d+204>>2]=o;o=v[j+4>>2];v[d+192>>2]=v[j>>2];v[d+196>>2]=o;j=v[a+44>>2];o=v[j+44>>2];v[d+184>>2]=v[j+40>>2];v[d+188>>2]=o;o=v[j+36>>2];v[d+176>>2]=v[j+32>>2];v[d+180>>2]=o;o=v[j+28>>2];v[d+168>>2]=v[j+24>>2];v[d+172>>2]=o;o=v[j+20>>2];v[d+160>>2]=v[j+16>>2];v[d+164>>2]=o;o=v[j+12>>2];v[d+152>>2]=v[j+8>>2];v[d+156>>2]=o;o=v[j+4>>2];v[d+144>>2]=v[j>>2];v[d+148>>2]=o;To(d+144|0);j=v[d+188>>2];v[d+280>>2]=v[d+184>>2];v[d+284>>2]=j;j=v[d+180>>2];v[d+272>>2]=v[d+176>>2];v[d+276>>2]=j;j=v[d+172>>2];v[d+264>>2]=v[d+168>>2];v[d+268>>2]=j;j=v[d+164>>2];v[d+256>>2]=v[d+160>>2];v[d+260>>2]=j;j=v[d+156>>2];v[d+248>>2]=v[d+152>>2];v[d+252>>2]=j;j=v[d+148>>2];v[d+240>>2]=v[d+144>>2];v[d+244>>2]=j;o=d+192|0;j=Dn(d+240|0,o);n=v[j+44>>2];v[d+232>>2]=v[j+40>>2];v[d+236>>2]=n;n=v[j+36>>2];v[d+224>>2]=v[j+32>>2];v[d+228>>2]=n;n=v[j+28>>2];v[d+216>>2]=v[j+24>>2];v[d+220>>2]=n;n=v[j+20>>2];v[d+208>>2]=v[j+16>>2];v[d+212>>2]=n;n=v[j+12>>2];v[d+200>>2]=v[j+8>>2];v[d+204>>2]=n;n=v[j+4>>2];v[d+192>>2]=v[j>>2];v[d+196>>2]=n;To(o);v[d+136>>2]=0;v[d+140>>2]=0;v[d+240>>2]=o;v[d+128>>2]=0;v[d+120>>2]=0;v[d+124>>2]=0;v[d+112>>2]=0;v[d+116>>2]=0;x:{if((g|0)<=-1){v[d+120>>2]=i;v[d+124>>2]=h;v[d+128>>2]=g;c=B(h-1|0,g)+c|0;v[d+112>>2]=c;v[d+116>>2]=c+B(1-h|0,g);break x}v[d+128>>2]=g;v[d+124>>2]=h;v[d+120>>2]=i;v[d+112>>2]=c;v[d+116>>2]=c}y:{z:{A:{B:{C:{D:{switch(e-1|0){case 0:v[d+104>>2]=d+112;c=0;v[d+36>>2]=0;v[d+24>>2]=0;v[d+12>>2]=i;e=i<<1;v[d+16>>2]=e;v[d+28>>2]=h;v[d+32>>2]=1073741823%(h>>>0)^1073741823;v[d+20>>2]=1073741823%(e>>>0)^1073741823;v[d>>2]=d+104;v[d+96>>2]=128;v[d+100>>2]=128;v[d+88>>2]=0;v[d+92>>2]=1071644672;v[d+80>>2]=0;v[d+84>>2]=1071644672;v[d+72>>2]=0;v[d+68>>2]=d+240;v[d+64>>2]=d;v[d+48>>2]=a+1564;v[d+56>>2]=d- -64;v[d+52>>2]=d+136;k=A[a+2824>>3]*+(m>>>0)/255;if(D(k+-1)<1.1920928955078125e-7){break C}e=a+1760|0;while(1){i=e+(c<<2)|0;l=F(k*(+(c|0)/255),1)*255+.5;E:{if(l<4294967296&l>=0){g=~~l>>>0;break E}g=0}v[i>>2]=g;g=c|1;i=e+(g<<2)|0;l=F(k*(+(g|0)/255),1)*255+.5;F:{if(l<4294967296&l>=0){g=~~l>>>0;break F}g=0}v[i>>2]=g;c=c+2|0;if((c|0)!=256){continue}break};k2(a,d+48|0);c=0;e=a+1760|0;while(1){i=e+(c<<2)|0;k=+(c|0)/255*255+.5;G:{if(k<4294967296&k>=0){g=~~k>>>0;break G}g=0}v[i>>2]=g;g=c|1;i=e+(g<<2)|0;k=+(g|0)/255*255+.5;H:{if(k<4294967296&k>=0){g=~~k>>>0;break H}g=0}v[i>>2]=g;c=c+2|0;if((c|0)!=256){continue}break};break y;case 1:v[d+104>>2]=d+112;c=0;v[d+36>>2]=0;v[d+20>>2]=0;v[d+24>>2]=h;e=h<<1;v[d+28>>2]=e;v[d+12>>2]=i;v[d+16>>2]=1073741823%(i>>>0)^1073741823;v[d+32>>2]=1073741823%(e>>>0)^1073741823;v[d>>2]=d+104;v[d+96>>2]=128;v[d+100>>2]=128;v[d+88>>2]=0;v[d+92>>2]=1071644672;v[d+80>>2]=0;v[d+84>>2]=1071644672;v[d+72>>2]=0;v[d+68>>2]=d+240;v[d+64>>2]=d;v[d+48>>2]=a+1564;v[d+56>>2]=d- -64;v[d+52>>2]=d+136;k=A[a+2824>>3]*+(m>>>0)/255;if(D(k+-1)<1.1920928955078125e-7){break B}e=a+1760|0;while(1){i=e+(c<<2)|0;l=F(k*(+(c|0)/255),1)*255+.5;I:{if(l<4294967296&l>=0){g=~~l>>>0;break I}g=0}v[i>>2]=g;g=c|1;i=e+(g<<2)|0;l=F(k*(+(g|0)/255),1)*255+.5;J:{if(l<4294967296&l>=0){g=~~l>>>0;break J}g=0}v[i>>2]=g;c=c+2|0;if((c|0)!=256){continue}break};j2(a,d+48|0);c=0;e=a+1760|0;while(1){i=e+(c<<2)|0;k=+(c|0)/255*255+.5;K:{if(k<4294967296&k>=0){g=~~k>>>0;break K}g=0}v[i>>2]=g;g=c|1;i=e+(g<<2)|0;k=+(g|0)/255*255+.5;L:{if(k<4294967296&k>=0){g=~~k>>>0;break L}g=0}v[i>>2]=g;c=c+2|0;if((c|0)!=256){continue}break};break y;case 2:v[d+104>>2]=d+112;c=0;v[d+40>>2]=0;v[d+24>>2]=0;v[d+28>>2]=h;e=h<<1;v[d+32>>2]=e;v[d+12>>2]=i;g=i<<1;v[d+16>>2]=g;v[d+36>>2]=1073741823%(e>>>0)^1073741823;v[d+20>>2]=1073741823%(g>>>0)^1073741823;v[d>>2]=d+104;v[d+96>>2]=128;v[d+100>>2]=128;v[d+88>>2]=0;v[d+92>>2]=1071644672;v[d+80>>2]=0;v[d+84>>2]=1071644672;v[d+72>>2]=0;v[d+68>>2]=d+240;v[d+64>>2]=d;v[d+48>>2]=a+1564;v[d+56>>2]=d- -64;v[d+52>>2]=d+136;k=A[a+2824>>3]*+(m>>>0)/255;if(D(k+-1)<1.1920928955078125e-7){break A}e=a+1760|0;while(1){i=e+(c<<2)|0;l=F(k*(+(c|0)/255),1)*255+.5;M:{if(l<4294967296&l>=0){g=~~l>>>0;break M}g=0}v[i>>2]=g;g=c|1;i=e+(g<<2)|0;l=F(k*(+(g|0)/255),1)*255+.5;N:{if(l<4294967296&l>=0){g=~~l>>>0;break N}g=0}v[i>>2]=g;c=c+2|0;if((c|0)!=256){continue}break};i2(a,d+48|0);c=0;e=a+1760|0;while(1){i=e+(c<<2)|0;k=+(c|0)/255*255+.5;O:{if(k<4294967296&k>=0){g=~~k>>>0;break O}g=0}v[i>>2]=g;g=c|1;i=e+(g<<2)|0;k=+(g|0)/255*255+.5;P:{if(k<4294967296&k>=0){g=~~k>>>0;break P}g=0}v[i>>2]=g;c=c+2|0;if((c|0)!=256){continue}break};break y;default:break D}}v[d+104>>2]=d+112;c=0;v[d+96>>2]=0;v[d+84>>2]=0;v[d+88>>2]=h;v[d+92>>2]=1073741823%(h>>>0)^1073741823;v[d+76>>2]=i;v[d+80>>2]=1073741823%(i>>>0)^1073741823;v[d+64>>2]=d+104;v[d+32>>2]=128;v[d+36>>2]=128;v[d+24>>2]=0;v[d+28>>2]=1071644672;v[d+16>>2]=0;v[d+20>>2]=1071644672;v[d+8>>2]=0;v[d+4>>2]=d+240;v[d>>2]=d- -64;v[d+48>>2]=a+1564;v[d+56>>2]=d;v[d+52>>2]=d+136;k=A[a+2824>>3]*+(m>>>0)/255;if(D(k+-1)<1.1920928955078125e-7){break z}e=a+1760|0;while(1){i=e+(c<<2)|0;l=F(k*(+(c|0)/255),1)*255+.5;Q:{if(l<4294967296&l>=0){g=~~l>>>0;break Q}g=0}v[i>>2]=g;g=c|1;i=e+(g<<2)|0;l=F(k*(+(g|0)/255),1)*255+.5;R:{if(l<4294967296&l>=0){g=~~l>>>0;break R}g=0}v[i>>2]=g;c=c+2|0;if((c|0)!=256){continue}break}yB(a,d+48|0);c=0;e=a+1760|0;while(1){i=e+(c<<2)|0;k=+(c|0)/255*255+.5;S:{if(k<4294967296&k>=0){g=~~k>>>0;break S}g=0}v[i>>2]=g;g=c|1;i=e+(g<<2)|0;k=+(g|0)/255*255+.5;T:{if(k<4294967296&k>=0){g=~~k>>>0;break T}g=0}v[i>>2]=g;c=c+2|0;if((c|0)!=256){continue}break}break y}k2(a,d+48|0);break y}j2(a,d+48|0);break y}i2(a,d+48|0);break y}yB(a,d+48|0)}break w}d=Ma-288|0;Ma=d;j=v[p>>2];o=v[j+44>>2];v[d+232>>2]=v[j+40>>2];v[d+236>>2]=o;o=v[j+36>>2];v[d+224>>2]=v[j+32>>2];v[d+228>>2]=o;o=v[j+28>>2];v[d+216>>2]=v[j+24>>2];v[d+220>>2]=o;o=v[j+20>>2];v[d+208>>2]=v[j+16>>2];v[d+212>>2]=o;o=v[j+12>>2];v[d+200>>2]=v[j+8>>2];v[d+204>>2]=o;o=v[j+4>>2];v[d+192>>2]=v[j>>2];v[d+196>>2]=o;j=v[a+44>>2];o=v[j+44>>2];v[d+184>>2]=v[j+40>>2];v[d+188>>2]=o;o=v[j+36>>2];v[d+176>>2]=v[j+32>>2];v[d+180>>2]=o;o=v[j+28>>2];v[d+168>>2]=v[j+24>>2];v[d+172>>2]=o;o=v[j+20>>2];v[d+160>>2]=v[j+16>>2];v[d+164>>2]=o;o=v[j+12>>2];v[d+152>>2]=v[j+8>>2];v[d+156>>2]=o;o=v[j+4>>2];v[d+144>>2]=v[j>>2];v[d+148>>2]=o;To(d+144|0);j=v[d+188>>2];v[d+280>>2]=v[d+184>>2];v[d+284>>2]=j;j=v[d+180>>2];v[d+272>>2]=v[d+176>>2];v[d+276>>2]=j;j=v[d+172>>2];v[d+264>>2]=v[d+168>>2];v[d+268>>2]=j;j=v[d+164>>2];v[d+256>>2]=v[d+160>>2];v[d+260>>2]=j;j=v[d+156>>2];v[d+248>>2]=v[d+152>>2];v[d+252>>2]=j;j=v[d+148>>2];v[d+240>>2]=v[d+144>>2];v[d+244>>2]=j;o=d+192|0;j=Dn(d+240|0,o);n=v[j+44>>2];v[d+232>>2]=v[j+40>>2];v[d+236>>2]=n;n=v[j+36>>2];v[d+224>>2]=v[j+32>>2];v[d+228>>2]=n;n=v[j+28>>2];v[d+216>>2]=v[j+24>>2];v[d+220>>2]=n;n=v[j+20>>2];v[d+208>>2]=v[j+16>>2];v[d+212>>2]=n;n=v[j+12>>2];v[d+200>>2]=v[j+8>>2];v[d+204>>2]=n;n=v[j+4>>2];v[d+192>>2]=v[j>>2];v[d+196>>2]=n;To(o);v[d+136>>2]=0;v[d+140>>2]=0;v[d+240>>2]=o;v[d+128>>2]=0;v[d+120>>2]=0;v[d+124>>2]=0;v[d+112>>2]=0;v[d+116>>2]=0;U:{if((g|0)<=-1){v[d+120>>2]=i;v[d+124>>2]=h;v[d+128>>2]=g;c=B(h-1|0,g)+c|0;v[d+112>>2]=c;v[d+116>>2]=c+B(1-h|0,g);break U}v[d+128>>2]=g;v[d+124>>2]=h;v[d+120>>2]=i;v[d+112>>2]=c;v[d+116>>2]=c}V:{W:{X:{Y:{Z:{_:{switch(e-1|0){case 0:v[d+104>>2]=d+112;c=0;v[d+36>>2]=0;v[d+24>>2]=0;v[d+12>>2]=i;e=i<<1;v[d+16>>2]=e;v[d+28>>2]=h;v[d+32>>2]=1073741823%(h>>>0)^1073741823;v[d+20>>2]=1073741823%(e>>>0)^1073741823;v[d>>2]=d+104;v[d+96>>2]=128;v[d+100>>2]=128;v[d+88>>2]=0;v[d+92>>2]=1071644672;v[d+80>>2]=0;v[d+84>>2]=1071644672;v[d+72>>2]=0;v[d+68>>2]=d+240;v[d+64>>2]=d;v[d+48>>2]=a+1564;v[d+56>>2]=d- -64;v[d+52>>2]=d+136;k=A[a+2824>>3]*+(m>>>0)/255;if(D(k+-1)<1.1920928955078125e-7){break Z}e=a+1760|0;while(1){i=e+(c<<2)|0;l=F(k*(+(c|0)/255),1)*255+.5;$:{if(l<4294967296&l>=0){g=~~l>>>0;break $}g=0}v[i>>2]=g;g=c|1;i=e+(g<<2)|0;l=F(k*(+(g|0)/255),1)*255+.5;aa:{if(l<4294967296&l>=0){g=~~l>>>0;break aa}g=0}v[i>>2]=g;c=c+2|0;if((c|0)!=256){continue}break};h2(a,d+48|0);c=0;e=a+1760|0;while(1){i=e+(c<<2)|0;k=+(c|0)/255*255+.5;ba:{if(k<4294967296&k>=0){g=~~k>>>0;break ba}g=0}v[i>>2]=g;g=c|1;i=e+(g<<2)|0;k=+(g|0)/255*255+.5;ca:{if(k<4294967296&k>=0){g=~~k>>>0;break ca}g=0}v[i>>2]=g;c=c+2|0;if((c|0)!=256){continue}break};break V;case 1:v[d+104>>2]=d+112;c=0;v[d+36>>2]=0;v[d+20>>2]=0;v[d+24>>2]=h;e=h<<1;v[d+28>>2]=e;v[d+12>>2]=i;v[d+16>>2]=1073741823%(i>>>0)^1073741823;v[d+32>>2]=1073741823%(e>>>0)^1073741823;v[d>>2]=d+104;v[d+96>>2]=128;v[d+100>>2]=128;v[d+88>>2]=0;v[d+92>>2]=1071644672;v[d+80>>2]=0;v[d+84>>2]=1071644672;v[d+72>>2]=0;v[d+68>>2]=d+240;v[d+64>>2]=d;v[d+48>>2]=a+1564;v[d+56>>2]=d- -64;v[d+52>>2]=d+136;k=A[a+2824>>3]*+(m>>>0)/255;if(D(k+-1)<1.1920928955078125e-7){break Y}e=a+1760|0;while(1){i=e+(c<<2)|0;l=F(k*(+(c|0)/255),1)*255+.5;da:{if(l<4294967296&l>=0){g=~~l>>>0;break da}g=0}v[i>>2]=g;g=c|1;i=e+(g<<2)|0;l=F(k*(+(g|0)/255),1)*255+.5;ea:{if(l<4294967296&l>=0){g=~~l>>>0;break ea}g=0}v[i>>2]=g;c=c+2|0;if((c|0)!=256){continue}break};g2(a,d+48|0);c=0;e=a+1760|0;while(1){i=e+(c<<2)|0;k=+(c|0)/255*255+.5;fa:{if(k<4294967296&k>=0){g=~~k>>>0;break fa}g=0}v[i>>2]=g;g=c|1;i=e+(g<<2)|0;k=+(g|0)/255*255+.5;ga:{if(k<4294967296&k>=0){g=~~k>>>0;break ga}g=0}v[i>>2]=g;c=c+2|0;if((c|0)!=256){continue}break};break V;case 2:v[d+104>>2]=d+112;c=0;v[d+40>>2]=0;v[d+24>>2]=0;v[d+28>>2]=h;e=h<<1;v[d+32>>2]=e;v[d+12>>2]=i;g=i<<1;v[d+16>>2]=g;v[d+36>>2]=1073741823%(e>>>0)^1073741823;v[d+20>>2]=1073741823%(g>>>0)^1073741823;v[d>>2]=d+104;v[d+96>>2]=128;v[d+100>>2]=128;v[d+88>>2]=0;v[d+92>>2]=1071644672;v[d+80>>2]=0;v[d+84>>2]=1071644672;v[d+72>>2]=0;v[d+68>>2]=d+240;v[d+64>>2]=d;v[d+48>>2]=a+1564;v[d+56>>2]=d- -64;v[d+52>>2]=d+136;k=A[a+2824>>3]*+(m>>>0)/255;if(D(k+-1)<1.1920928955078125e-7){break X}e=a+1760|0;while(1){i=e+(c<<2)|0;l=F(k*(+(c|0)/255),1)*255+.5;ha:{if(l<4294967296&l>=0){g=~~l>>>0;break ha}g=0}v[i>>2]=g;g=c|1;i=e+(g<<2)|0;l=F(k*(+(g|0)/255),1)*255+.5;ia:{if(l<4294967296&l>=0){g=~~l>>>0;break ia}g=0}v[i>>2]=g;c=c+2|0;if((c|0)!=256){continue}break};f2(a,d+48|0);c=0;e=a+1760|0;while(1){i=e+(c<<2)|0;k=+(c|0)/255*255+.5;ja:{if(k<4294967296&k>=0){g=~~k>>>0;break ja}g=0}v[i>>2]=g;g=c|1;i=e+(g<<2)|0;k=+(g|0)/255*255+.5;ka:{if(k<4294967296&k>=0){g=~~k>>>0;break ka}g=0}v[i>>2]=g;c=c+2|0;if((c|0)!=256){continue}break};break V;default:break _}}v[d+104>>2]=d+112;c=0;v[d+96>>2]=0;v[d+84>>2]=0;v[d+88>>2]=h;v[d+92>>2]=1073741823%(h>>>0)^1073741823;v[d+76>>2]=i;v[d+80>>2]=1073741823%(i>>>0)^1073741823;v[d+64>>2]=d+104;v[d+32>>2]=128;v[d+36>>2]=128;v[d+24>>2]=0;v[d+28>>2]=1071644672;v[d+16>>2]=0;v[d+20>>2]=1071644672;v[d+8>>2]=0;v[d+4>>2]=d+240;v[d>>2]=d- -64;v[d+48>>2]=a+1564;v[d+56>>2]=d;v[d+52>>2]=d+136;k=A[a+2824>>3]*+(m>>>0)/255;if(D(k+-1)<1.1920928955078125e-7){break W}e=a+1760|0;while(1){i=e+(c<<2)|0;l=F(k*(+(c|0)/255),1)*255+.5;la:{if(l<4294967296&l>=0){g=~~l>>>0;break la}g=0}v[i>>2]=g;g=c|1;i=e+(g<<2)|0;l=F(k*(+(g|0)/255),1)*255+.5;ma:{if(l<4294967296&l>=0){g=~~l>>>0;break ma}g=0}v[i>>2]=g;c=c+2|0;if((c|0)!=256){continue}break}e2(a,d+48|0);c=0;e=a+1760|0;while(1){i=e+(c<<2)|0;k=+(c|0)/255*255+.5;na:{if(k<4294967296&k>=0){g=~~k>>>0;break na}g=0}v[i>>2]=g;g=c|1;i=e+(g<<2)|0;k=+(g|0)/255*255+.5;oa:{if(k<4294967296&k>=0){g=~~k>>>0;break oa}g=0}v[i>>2]=g;c=c+2|0;if((c|0)!=256){continue}break}break V}h2(a,d+48|0);break V}g2(a,d+48|0);break V}f2(a,d+48|0);break V}e2(a,d+48|0)}}c=v[d+136>>2];if(c){$a(c)}Ma=d+288|0;if(f){$a(f)}me(p);break b}if(v[b+4>>2]==4){c=Ma-2752|0;Ma=c;j=_h(c+2744|0);pa:{qa:{q=A[b+304>>3];s=A[b+288>>3];ra:{if(q-s>1.1920928955078125e-7){k=A[b+312>>3];l=A[b+296>>3];break ra}k=A[b+312>>3];l=A[b+296>>3];if(!(k-l>1.1920928955078125e-7)){break qa}}A[c+2736>>3]=k;A[c+2728>>3]=q;A[c+2720>>3]=l;A[c+2712>>3]=s;Dl(j,a+56|0);qt(j);break pa}d=v[a+1712>>2];e=v[a+1720>>2];h=v[a+1708>>2];A[c+2728>>3]=v[a+1716>>2];A[c+2712>>3]=h|0;A[c+2736>>3]=e|0;A[c+2720>>3]=d|0}v[c+56>>2]=0;v[c+60>>2]=0;d=c- -64|0;v[d>>2]=0;v[d+4>>2]=0;v[c+72>>2]=0;v[c+76>>2]=0;v[c+88>>2]=0;v[c+92>>2]=0;v[c+96>>2]=0;v[c+100>>2]=0;v[c+112>>2]=0;v[c+116>>2]=0;v[c+104>>2]=0;v[c+108>>2]=1072693248;v[c+120>>2]=0;v[c+124>>2]=0;v[c+128>>2]=0;v[c+132>>2]=0;e=0;v[c+136>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+24>>2]=0;v[c+80>>2]=0;v[c+84>>2]=1072693248;A[c>>3]=z[b+284>>2];h=Ma+-64|0;Ma=h;i=v[j>>2];p=v[i+4>>2];d=c+24|0;v[d+56>>2]=v[i>>2];v[d+60>>2]=p;m=v[i+44>>2];v[d+96>>2]=v[i+40>>2];v[d+100>>2]=m;m=v[i+36>>2];v[d+88>>2]=v[i+32>>2];v[d+92>>2]=m;m=v[i+28>>2];v[d+80>>2]=v[i+24>>2];v[d+84>>2]=m;m=v[i+20>>2];v[d+72>>2]=v[i+16>>2];v[d+76>>2]=m;p=v[i+12>>2];m=d- -64|0;v[m>>2]=v[i+8>>2];v[m+4>>2]=p;k=A[c>>3]/360;l=(k-H(k))*6.283185307179586;k=_d(l);A[d+16>>3]=k;l=oe(l);A[d+8>>3]=l;i=c+2712|0;O=l*A[i>>3];G=k*A[i+8>>3];s=O+G;q=l*s;A[h>>3]=q;s=k*s;A[h+8>>3]=s;I=l*A[i+16>>3];E=G+I;G=k*E;A[h+24>>3]=G;E=l*E;A[h+16>>3]=E;J=k*A[i+24>>3];P=I+J;I=k*P;A[h+56>>3]=I;J=O+J;O=k*J;A[h+40>>3]=O;J=l*J;A[h+32>>3]=J;P=l*P;A[h+48>>3]=P;Q=E*E+G*G;G=l*E+k*G<0?-Q:Q;E=q*q+s*s;q=l*q+k*s<0?-E:E;i=G>q;n=i;s=J*J+O*O;s=l*J+k*O<0?-s:s;E=i?G:q;i=s>E;Q=i?s:E;E=P*P+I*I;I=l*P+k*I<0?-E:E;m=h+((Q>3];p=q>G;q=p?G:q;i=q>s;i=h+((I<(i?s:q)?3:i?2:p)<<4)|0;s=A[i>>3];q=E-s;Q=q*q;G=A[m+8>>3];I=A[i+8>>3];q=G-I;q=K(Q+q*q);if(D(q)>1.1920928955078125e-7){A[d+32>>3]=k/q;A[d+24>>3]=l/q;A[d+48>>3]=-(l*E+k*G)/q;A[d+40>>3]=-(l*s+k*I)/q}Ma=h- -64|0;h=v[b+272>>2]-v[b+268>>2]>>3;sa:{if((h|0)<1){d=0;break sa}d=(h|0)!=(h&1073741823)?-1:h<<2;g=ab(d);d=ab(d);while(1){v[c>>2]=-16777216;i=v[b+268>>2]+(f<<3)|0;v[c>>2]=v[i>>2];m=f<<2;z[m+d>>2]=z[i+4>>2];i=g+m|0;m=v[c>>2];t[i|0]=m;t[i+1|0]=m>>>8;t[i+2|0]=m>>>16;t[i+3|0]=m>>>24;f=f+1|0;if((h|0)!=(f|0)){continue}break}v[c+136>>2]=h;v[c+132>>2]=d;v[c+128>>2]=g}v[c+16>>2]=0;v[c+20>>2]=0;v[c>>2]=a+1564;v[c+8>>2]=c+24;v[c+4>>2]=c+16;k=A[a+2824>>3];ta:{if(!(D(k+-1)<1.1920928955078125e-7)){f=a+1760|0;while(1){i=f+(e<<2)|0;l=F(k*(+(e|0)/255),1)*255+.5;ua:{if(l<4294967296&l>=0){n=~~l>>>0;break ua}n=0}v[i>>2]=n;h=e|1;i=f+(h<<2)|0;l=F(k*(+(h|0)/255),1)*255+.5;va:{if(l<4294967296&l>=0){n=~~l>>>0;break va}n=0}v[i>>2]=n;e=e+2|0;if((e|0)!=256){continue}break}p2(a,c);e=0;f=a+1760|0;while(1){i=f+(e<<2)|0;k=+(e|0)/255*255+.5;wa:{if(k<4294967296&k>=0){n=~~k>>>0;break wa}n=0}v[i>>2]=n;h=e|1;i=f+(h<<2)|0;k=+(h|0)/255*255+.5;xa:{if(k<4294967296&k>=0){n=~~k>>>0;break xa}n=0}v[i>>2]=n;e=e+2|0;if((e|0)!=256){continue}break}break ta}p2(a,c)}if(g){$a(g)}if(d){$a(d)}f=v[c+16>>2];if(f){$a(f)}me(j);Ma=c+2752|0;break b}if(v[b+4>>2]!=3){break b}c=Ma-2704|0;Ma=c;i=_h(c+2696|0);ya:{za:{q=A[b+304>>3];s=A[b+288>>3];Aa:{if(q-s>1.1920928955078125e-7){k=A[b+312>>3];l=A[b+296>>3];break Aa}k=A[b+312>>3];l=A[b+296>>3];if(!(k-l>1.1920928955078125e-7)){break za}}Dl(i,a+56|0);qt(i);break ya}k=+v[a+1720>>2];l=+v[a+1712>>2];q=+v[a+1716>>2];s=+v[a+1708>>2]}v[c+112>>2]=0;v[c+116>>2]=0;v[c+120>>2]=0;v[c+32>>2]=0;h=v[i>>2];j=v[h+44>>2];v[c+104>>2]=v[h+40>>2];v[c+108>>2]=j;j=v[h+36>>2];v[c+96>>2]=v[h+32>>2];v[c+100>>2]=j;j=v[h+28>>2];v[c+88>>2]=v[h+24>>2];v[c+92>>2]=j;j=v[h+20>>2];v[c+80>>2]=v[h+16>>2];v[c+84>>2]=j;j=v[h+12>>2];v[c+72>>2]=v[h+8>>2];v[c+76>>2]=j;j=v[h+4>>2];h=v[h>>2];A[c+48>>3]=(l+k)*.5;v[c+64>>2]=h;v[c+68>>2]=j;A[c+40>>3]=(s+q)*.5;k=D(l-k);l=D(s-q);k=k>l?k:l;A[c+56>>3]=k>1.1920928955078125e-7?2/k:0;h=v[b+272>>2]-v[b+268>>2]>>3;if((h|0)>=1){g=(h|0)!=(h&1073741823)?-1:h<<2;d=ab(g);g=ab(g);while(1){v[c+8>>2]=-16777216;j=v[b+268>>2]+(f<<3)|0;v[c+8>>2]=v[j>>2];m=f<<2;z[m+g>>2]=z[j+4>>2];j=d+m|0;m=v[c+8>>2];t[j|0]=m;t[j+1|0]=m>>>8;t[j+2|0]=m>>>16;t[j+3|0]=m>>>24;f=f+1|0;if((h|0)!=(f|0)){continue}break}v[c+120>>2]=h;v[c+116>>2]=g;v[c+112>>2]=d}v[c+24>>2]=0;v[c+28>>2]=0;v[c+8>>2]=a+1564;v[c+16>>2]=c+32;v[c+12>>2]=c+24;k=A[a+2824>>3];Ba:{if(!(D(k+-1)<1.1920928955078125e-7)){f=a+1760|0;while(1){n=f+(e<<2)|0;l=F(k*(+(e|0)/255),1)*255+.5;Ca:{if(l<4294967296&l>=0){m=~~l>>>0;break Ca}m=0}v[n>>2]=m;h=e|1;n=f+(h<<2)|0;l=F(k*(+(h|0)/255),1)*255+.5;Da:{if(l<4294967296&l>=0){m=~~l>>>0;break Da}m=0}v[n>>2]=m;e=e+2|0;if((e|0)!=256){continue}break}o2(a,c+8|0);e=0;f=a+1760|0;while(1){n=f+(e<<2)|0;k=+(e|0)/255*255+.5;Ea:{if(k<4294967296&k>=0){m=~~k>>>0;break Ea}m=0}v[n>>2]=m;h=e|1;n=f+(h<<2)|0;k=+(h|0)/255*255+.5;Fa:{if(k<4294967296&k>=0){m=~~k>>>0;break Fa}m=0}v[n>>2]=m;e=e+2|0;if((e|0)!=256){continue}break}break Ba}o2(a,c+8|0)}if(d){$a(d)}if(g){$a(g)}f=v[c+24>>2];if(f){$a(f)}me(i);Ma=c+2704|0;break b}j=w[b+36|0];c=Ma-224|0;Ma=c;Ga:{Ha:{Ia:{Ja:{Ka:{if(!w[a+2832|0]){v[c+216>>2]=0;v[c+220>>2]=0;f=v[p>>2];e=v[f+44>>2];v[c+208>>2]=v[f+40>>2];v[c+212>>2]=e;e=v[f+36>>2];v[c+200>>2]=v[f+32>>2];v[c+204>>2]=e;e=v[f+28>>2];v[c+192>>2]=v[f+24>>2];v[c+196>>2]=e;e=v[f+20>>2];v[c+184>>2]=v[f+16>>2];v[c+188>>2]=e;e=v[f+12>>2];v[c+176>>2]=v[f+8>>2];v[c+180>>2]=e;e=v[f+4>>2];v[c+168>>2]=v[f>>2];v[c+172>>2]=e;f=c+168|0;To(f);v[c+120>>2]=f;v[c+112>>2]=0;v[c+104>>2]=0;v[c+108>>2]=0;v[c+96>>2]=0;v[c+100>>2]=0;La:{if((g|0)<=-1){v[c+104>>2]=i;v[c+108>>2]=h;v[c+112>>2]=g;f=B(h-1|0,g)+d|0;v[c+96>>2]=f;v[c+100>>2]=f+B(1-h|0,g);break La}v[c+112>>2]=g;v[c+108>>2]=h;v[c+104>>2]=i;v[c+96>>2]=d;v[c+100>>2]=d}v[c+88>>2]=c+96;e=0;v[c+68>>2]=0;v[c+64>>2]=c+88;v[c+56>>2]=128;v[c+60>>2]=128;v[c+48>>2]=0;v[c+52>>2]=1071644672;v[c+40>>2]=0;v[c+44>>2]=1071644672;v[c+32>>2]=0;v[c+28>>2]=c+120;v[c+24>>2]=c- -64;v[c+8>>2]=a+1564;v[c+16>>2]=c+24;v[c+12>>2]=c+216;k=A[a+2824>>3]*+(j>>>0)/255;if(D(k+-1)<1.1920928955078125e-7){break Ka}f=a+1760|0;while(1){i=f+(e<<2)|0;l=F(k*(+(e|0)/255),1)*255+.5;Ma:{if(l<4294967296&l>=0){g=~~l>>>0;break Ma}g=0}v[i>>2]=g;d=e|1;i=f+(d<<2)|0;l=F(k*(+(d|0)/255),1)*255+.5;Na:{if(l<4294967296&l>=0){g=~~l>>>0;break Na}g=0}v[i>>2]=g;e=e+2|0;if((e|0)!=256){continue}break}n2(a,c+8|0);e=0;f=a+1760|0;while(1){i=f+(e<<2)|0;k=+(e|0)/255*255+.5;Oa:{if(k<4294967296&k>=0){g=~~k>>>0;break Oa}g=0}v[i>>2]=g;d=e|1;i=f+(d<<2)|0;k=+(d|0)/255*255+.5;Pa:{if(k<4294967296&k>=0){g=~~k>>>0;break Pa}g=0}v[i>>2]=g;e=e+2|0;if((e|0)!=256){continue}break}break Ha}v[c+216>>2]=0;v[c+220>>2]=0;f=v[p>>2];e=v[f+44>>2];v[c+208>>2]=v[f+40>>2];v[c+212>>2]=e;e=v[f+36>>2];v[c+200>>2]=v[f+32>>2];v[c+204>>2]=e;e=v[f+28>>2];v[c+192>>2]=v[f+24>>2];v[c+196>>2]=e;e=v[f+20>>2];v[c+184>>2]=v[f+16>>2];v[c+188>>2]=e;e=v[f+12>>2];v[c+176>>2]=v[f+8>>2];v[c+180>>2]=e;e=v[f+4>>2];v[c+168>>2]=v[f>>2];v[c+172>>2]=e;f=c+168|0;To(f);v[c+120>>2]=f;v[c+112>>2]=0;v[c+104>>2]=0;v[c+108>>2]=0;v[c+96>>2]=0;v[c+100>>2]=0;Qa:{if((g|0)<=-1){v[c+104>>2]=i;v[c+108>>2]=h;v[c+112>>2]=g;f=B(h-1|0,g)+d|0;v[c+96>>2]=f;v[c+100>>2]=f+B(1-h|0,g);break Qa}v[c+112>>2]=g;v[c+108>>2]=h;v[c+104>>2]=i;v[c+96>>2]=d;v[c+100>>2]=d}v[c+88>>2]=c+96;e=0;v[c+68>>2]=0;v[c+64>>2]=c+88;v[c+56>>2]=128;v[c+60>>2]=128;v[c+48>>2]=0;v[c+52>>2]=1071644672;v[c+40>>2]=0;v[c+44>>2]=1071644672;v[c+32>>2]=0;v[c+28>>2]=c+120;v[c+24>>2]=c- -64;v[c+8>>2]=a+1564;v[c+16>>2]=c+24;v[c+12>>2]=c+216;k=A[a+2824>>3]*+(j>>>0)/255;if(D(k+-1)<1.1920928955078125e-7){break Ja}f=a+1760|0;while(1){i=f+(e<<2)|0;l=F(k*(+(e|0)/255),1)*255+.5;Ra:{if(l<4294967296&l>=0){g=~~l>>>0;break Ra}g=0}v[i>>2]=g;d=e|1;i=f+(d<<2)|0;l=F(k*(+(d|0)/255),1)*255+.5;Sa:{if(l<4294967296&l>=0){g=~~l>>>0;break Sa}g=0}v[i>>2]=g;e=e+2|0;if((e|0)!=256){continue}break}m2(a,c+8|0);e=0;f=a+1760|0;while(1){i=f+(e<<2)|0;k=+(e|0)/255*255+.5;Ta:{if(k<4294967296&k>=0){g=~~k>>>0;break Ta}g=0}v[i>>2]=g;d=e|1;i=f+(d<<2)|0;k=+(d|0)/255*255+.5;Ua:{if(k<4294967296&k>=0){g=~~k>>>0;break Ua}g=0}v[i>>2]=g;e=e+2|0;if((e|0)!=256){continue}break}break Ia}n2(a,c+8|0);break Ha}m2(a,c+8|0)}f=v[c+216>>2];if(!f){break Ga}$a(f);break Ga}f=v[c+216>>2];if(!f){break Ga}$a(f)}Ma=c+224|0;me(p)}c=v[b+4>>2];if(c-5>>>0>=7&(c|0)!=100){break a}g=0;d=0;e=Ma-2992|0;Ma=e;m=_h(e+2984|0);Va:{Wa:{q=A[b+304>>3];s=A[b+288>>3];Xa:{if(q-s>1.1920928955078125e-7){k=A[b+312>>3];l=A[b+296>>3];break Xa}k=A[b+312>>3];l=A[b+296>>3];if(!(k-l>1.1920928955078125e-7)){break Wa}}Dl(m,a+56|0);qt(m);break Va}k=+v[a+1720>>2];l=+v[a+1712>>2];q=+v[a+1716>>2];s=+v[a+1708>>2]}n=b+8|0;f=n;j=0;c=Ma-48|0;Ma=c;Ya:{Za:{_a:{$a:{ab:{bb:{cb:{db:{eb:{h=v[b+4>>2];switch(h-5|0){case 1:case 2:break ab;case 0:break cb;case 3:break db;case 4:break eb;default:break bb}}h=v[f+164>>2];A[c+16>>3]=z[h>>2];A[c>>3]=z[h+4>>2];i=a+56|0;j=c+16|0;zd(i,j,c);z[h>>2]=A[c+16>>3];z[h+4>>2]=A[c>>3];h=v[f+164>>2];A[c+16>>3]=z[h+8>>2];A[c>>3]=z[h+12>>2];zd(i,j,c);z[h+8>>2]=A[c+16>>3];z[h+12>>2]=A[c>>3];f=v[f+164>>2];A[c+16>>3]=z[f+16>>2];A[c>>3]=z[f+20>>2];zd(i,j,c);z[f+16>>2]=A[c+16>>3];z[f+20>>2]=A[c>>3];break _a}A[c+16>>3]=z[f+148>>2];A[c>>3]=z[f+152>>2];h=a+56|0;i=c+16|0;zd(h,i,c);z[f+148>>2]=A[c+16>>3];z[f+152>>2]=A[c>>3];A[c+16>>3]=z[f+156>>2];A[c>>3]=z[f+160>>2];zd(h,i,c);z[f+156>>2]=A[c+16>>3];z[f+160>>2]=A[c>>3];break _a}h=a+56|0;i=v[h>>2];z[f+16>>2]=K(D(A[i>>3]*A[i+24>>3]-A[i+8>>3]*A[i+16>>3]))*+z[f+16>>2];i=v[h>>2];z[f+20>>2]=K(D(A[i>>3]*A[i+24>>3]-A[i+8>>3]*A[i+16>>3]))*+z[f+20>>2];A[c+16>>3]=z[f>>2];A[c>>3]=z[f+4>>2];i=c+16|0;zd(h,i,c);z[f>>2]=A[c+16>>3];z[f+4>>2]=A[c>>3];A[c+16>>3]=z[f+8>>2];A[c>>3]=z[f+12>>2];zd(h,i,c);z[f+8>>2]=A[c+16>>3];z[f+12>>2]=A[c>>3];break _a}if((h|0)==100){break $a}}if((h&-2)!=10){break _a}h=a+56|0;while(1){i=B(j,12);p=v[i+v[f+200>>2]>>2];A[c+16>>3]=z[p>>2];A[c>>3]=z[p+4>>2];o=c+16|0;zd(h,o,c);z[p>>2]=A[c+16>>3];z[p+4>>2]=A[c>>3];p=v[i+v[f+200>>2]>>2];A[c+16>>3]=z[p+8>>2];A[c>>3]=z[p+12>>2];zd(h,o,c);z[p+8>>2]=A[c+16>>3];z[p+12>>2]=A[c>>3];p=v[i+v[f+200>>2]>>2];A[c+16>>3]=z[p+16>>2];A[c>>3]=z[p+20>>2];zd(h,o,c);z[p+16>>2]=A[c+16>>3];z[p+20>>2]=A[c>>3];i=v[i+v[f+200>>2]>>2];A[c+16>>3]=z[i+24>>2];A[c>>3]=z[i+28>>2];zd(h,o,c);z[i+24>>2]=A[c+16>>3];z[i+28>>2]=A[c>>3];j=j+1|0;if((j|0)!=4){continue}break}break _a}h=ab(24);v[h>>2]=0;v[h+4>>2]=0;v[h+16>>2]=0;v[h+20>>2]=0;v[h+8>>2]=0;v[h+12>>2]=0;v[c+8>>2]=0;v[c>>2]=0;v[c+4>>2]=0;p=f+120|0;o=v[p>>2];i=v[f+124>>2]-o|0;if(i){if((i|0)<=-1){break Za}j=ab(i);cb(j,o,i)}i=v[a+56>>2];G=A[i>>3];E=A[i+8>>3];I=A[i+16>>3];O=A[i+24>>3];J=A[i+32>>3];z[c+36>>2]=A[i+40>>3];z[c+32>>2]=J;z[c+28>>2]=O;z[c+24>>2]=I;z[c+20>>2]=E;z[c+16>>2]=G;r=z[c+16>>2];M=z[j>>2];x=z[c+24>>2];R=z[j+4>>2];z[h>>2]=C(r*M)+C(x*R);S=M;M=z[c+20>>2];T=R;R=z[c+28>>2];z[h+4>>2]=C(S*M)+C(T*R);S=z[j+8>>2];T=z[j+12>>2];z[h+12>>2]=C(M*S)+C(R*T);z[h+8>>2]=C(r*S)+C(x*T);S=r;r=z[j+16>>2];T=x;x=z[j+20>>2];z[h+16>>2]=z[c+32>>2]+C(C(S*r)+C(T*x));z[h+20>>2]=z[c+36>>2]+C(C(M*r)+C(R*x));In(p,h,h+24|0);x=z[h+12>>2];r=C(C(x*z[h>>2])-C(z[h+4>>2]*z[h+8>>2]));f=v[f+132>>2];z[f>>2]=x/r;z[f+4>>2]=C(-z[h+4>>2])/r;z[f+8>>2]=C(-z[h+8>>2])/r;z[f+12>>2]=z[h>>2]/r;z[f+16>>2]=-z[h+16>>2];z[f+20>>2]=-z[h+20>>2];$a(j);$a(h)}Ma=c+48|0;break Ya}Jc();L()}v[e+44>>2]=0;v[e+48>>2]=0;v[e+52>>2]=0;v[e+72>>2]=0;v[e+76>>2]=0;c=e- -64|0;v[c>>2]=0;v[c+4>>2]=1065353216;v[e+80>>2]=0;v[e+84>>2]=0;v[e+124>>2]=1;v[e+116>>2]=0;v[e+120>>2]=1;v[e+108>>2]=0;v[e+112>>2]=0;v[e+100>>2]=1056964608;v[e+104>>2]=1065353216;u[e+96>>1]=0;v[e+88>>2]=1065353216;v[e+92>>2]=1065353216;v[e+128>>2]=0;v[e+132>>2]=0;v[e+136>>2]=0;v[e+140>>2]=0;v[e+144>>2]=0;v[e+148>>2]=0;v[e+168>>2]=0;v[e+172>>2]=0;v[e+160>>2]=0;v[e+164>>2]=0;v[e+32>>2]=359592;v[e+36>>2]=0;v[e+40>>2]=0;c=ab(24);v[e+172>>2]=c;f=c+24|0;v[e+180>>2]=f;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=0;v[c+4>>2]=0;v[e+176>>2]=f;eb(e+188|0,0,88);v[e+296>>2]=0;v[e+300>>2]=0;v[e+288>>2]=0;v[e+292>>2]=0;v[e+312>>2]=0;v[e+316>>2]=0;v[e+320>>2]=0;v[e+324>>2]=0;v[e+2956>>2]=0;v[e+328>>2]=0;v[e+332>>2]=1072693248;v[e+336>>2]=0;v[e+340>>2]=0;v[e+344>>2]=0;v[e+348>>2]=0;v[e+352>>2]=0;v[e+356>>2]=0;v[e+360>>2]=0;v[e+280>>2]=0;v[e+284>>2]=0;v[e+304>>2]=0;v[e+308>>2]=1072693248;v[e+2948>>2]=0;v[e+2952>>2]=0;c=v[m>>2];t[e+2945|0]=w[a+2832|0];f=v[c+12>>2];v[e+312>>2]=v[c+8>>2];v[e+316>>2]=f;f=v[c+20>>2];v[e+320>>2]=v[c+16>>2];v[e+324>>2]=f;f=v[c+28>>2];v[e+328>>2]=v[c+24>>2];v[e+332>>2]=f;f=v[c+36>>2];v[e+336>>2]=v[c+32>>2];v[e+340>>2]=f;f=v[c+44>>2];v[e+344>>2]=v[c+40>>2];v[e+348>>2]=f;f=v[c+4>>2];c=v[c>>2];G=l-k;r=C(D(C(s-q)));r=D(G)>+r?C(D(C(G))):r;z[e+296>>2]=r>C(1.1920928955078125e-7)?C(C(2)/r):C(0);A[e+288>>3]=(l+k)*.5;v[e+304>>2]=c;v[e+308>>2]=f;z[e+368>>2]=q>s?q:s;z[e+376>>2]=k>l?k:l;z[e+364>>2]=q>2]=k>3]=(s+q)*.5;f=v[b+4>>2];r=C(0);x=C(0);h=e+32|0;i=cb(h+8|0,n,80);j=h+88|0;yt(j,n+80|0);z[h+244>>2]=C(1)/z[h+52>>2];c=v[j>>2];if((c|0)==4){a2(h,0);c=v[h+88>>2]}if((c|0)==3){a2(h,1);c=v[h+88>>2]}fb:{if((c|0)!=1){break fb}gb:{hb:{switch(f-5|0){case 0:c=ab(288);v[c>>2]=359652;v[c+20>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+32>>2]=0;j=c+36|0;f=j;v[f>>2]=0;v[f+4>>2]=0;v[c+44>>2]=0;v[c+48>>2]=0;v[c+68>>2]=0;v[c+72>>2]=0;v[c+60>>2]=0;v[c+64>>2]=1065353216;v[c+76>>2]=0;v[c+80>>2]=0;v[c+120>>2]=1;v[c+112>>2]=0;v[c+116>>2]=1;v[c+104>>2]=0;v[c+108>>2]=0;v[c+96>>2]=1056964608;v[c+100>>2]=1065353216;u[c+92>>1]=0;v[c+84>>2]=1065353216;v[c+88>>2]=1065353216;v[c+140>>2]=0;v[c+144>>2]=0;v[c+132>>2]=0;v[c+136>>2]=0;v[c+124>>2]=0;v[c+128>>2]=0;v[c+172>>2]=0;v[c+176>>2]=0;v[c+164>>2]=0;v[c+168>>2]=0;v[c+156>>2]=0;v[c+160>>2]=0;f=ab(24);v[c+168>>2]=f;p=f+24|0;v[c+176>>2]=p;v[f+16>>2]=0;v[f+20>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;v[f>>2]=0;v[f+4>>2]=0;v[c+172>>2]=p;eb(c+184|0,0,88);v[c+284>>2]=1092616192;z[c+12>>2]=z[i+16>>2];z[c+16>>2]=z[i+20>>2];f=v[i+4>>2];v[c+20>>2]=v[i>>2];v[c+24>>2]=f;f=v[i+12>>2];v[c+28>>2]=v[i+8>>2];v[c+32>>2]=f;cb(j,i,80);yt(c+116|0,i+80|0);v[c+272>>2]=0;v[c+276>>2]=0;if(z[c+108>>2]!=C(0)){f=c;x=z[c+12>>2];M=z[c+16>>2];ib:{if(x>2]}z[f+276>>2]=x}if(z[c+112>>2]!=C(0)){f=c;r=z[c+16>>2];M=z[c+12>>2];jb:{if(r>2]}z[f+272>>2]=r}z[c+280>>2]=C(1)/C(C(x+C(1))+r);break gb;case 1:c=ab(276);k=A[h+256>>3];l=A[h+248>>3];r=z[h+264>>2];v[c>>2]=359728;cb(c+12|0,i,80);aK(c+92|0,j);x=C(C(1)/r);z[c+260>>2]=x;z[c+256>>2]=r;z[c+264>>2]=C(1)/z[h+56>>2];r=z[h+60>>2];z[c+248>>2]=C(x*z[c+44>>2])+C(l);z[c+252>>2]=C(x*z[c+48>>2])+C(k);x=z[c+52>>2];ba=c,da=VP(x),z[ba+8>>2]=da;ba=c,da=XP(x),z[ba+4>>2]=da;z[c+268>>2]=C(1)/r;break gb;case 2:c=ab(272);k=A[h+256>>3];l=A[h+248>>3];r=z[h+264>>2];v[c>>2]=359780;cb(c+12|0,i,80);aK(c+92|0,j);x=C(C(1)/r);z[c+260>>2]=x;z[c+256>>2]=r;z[c+264>>2]=C(1)/z[h+56>>2];r=z[h+60>>2];z[c+248>>2]=C(x*z[c+44>>2])+C(l);z[c+252>>2]=C(x*z[c+48>>2])+C(k);x=z[c+52>>2];ba=c,da=VP(x),z[ba+8>>2]=da;ba=c,da=XP(x),z[ba+4>>2]=da;z[c+268>>2]=C(1)/r;break gb;case 3:c=ab(284);v[c+12>>2]=0;v[c+16>>2]=0;v[c>>2]=359832;v[c+20>>2]=0;v[c+24>>2]=0;cb(c+48|0,i,80);aK(c+128|0,j);f=v[h+160>>2];v[c+12>>2]=v[h+156>>2];v[c+16>>2]=f;f=v[h+168>>2];v[c+20>>2]=v[h+164>>2];v[c+24>>2]=f;break gb;case 4:c=ab(248);v[c>>2]=359888;v[c+12>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+24>>2]=0;v[c+44>>2]=0;v[c+48>>2]=0;v[c+36>>2]=0;v[c+40>>2]=1065353216;v[c+52>>2]=0;v[c+56>>2]=0;v[c+96>>2]=1;v[c+88>>2]=0;v[c+92>>2]=1;v[c+80>>2]=0;v[c+84>>2]=0;v[c+72>>2]=1056964608;v[c+76>>2]=1065353216;u[c+68>>1]=0;v[c+60>>2]=1065353216;v[c+64>>2]=1065353216;v[c+100>>2]=0;v[c+104>>2]=0;v[c+108>>2]=0;v[c+112>>2]=0;v[c+116>>2]=0;v[c+120>>2]=0;v[c+132>>2]=0;v[c+136>>2]=0;v[c+140>>2]=0;v[c+144>>2]=0;v[c+148>>2]=0;v[c+152>>2]=0;f=ab(24);v[c+144>>2]=f;p=f+24|0;v[c+152>>2]=p;v[f+16>>2]=0;v[f+20>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;v[f>>2]=0;v[f+4>>2]=0;v[c+148>>2]=p;eb(c+160|0,0,88);cb(c+12|0,i,80);yt(c+92|0,j);break gb;case 5:c=$1(ab(284),i,1);break gb;case 6:c=$1(ab(284),i,0);break gb;default:break hb}}if((f|0)==100){break fb}Lb(312009,16,1,v[249419]);c=ab(12);v[c>>2]=359996;ba=1185016,ca=(aa(0)|0)-1|0,v[ba>>2]=ca;v[296255]=0}v[h+268>>2]=c}h=v[b+272>>2]-v[b+268>>2]>>3;kb:{if((h|0)<1){f=0;break kb}c=0;f=(h|0)!=(h&1073741823)?-1:h<<2;d=ab(f);f=ab(f);while(1){v[e+8>>2]=-16777216;i=v[b+268>>2]+(c<<3)|0;v[e+8>>2]=v[i>>2];j=c<<2;z[j+f>>2]=z[i+4>>2];i=d+j|0;j=v[e+8>>2];t[i|0]=j;t[i+1|0]=j>>>8;t[i+2|0]=j>>>16;t[i+3|0]=j>>>24;c=c+1|0;if((h|0)!=(c|0)){continue}break}v[e+360>>2]=h;v[e+356>>2]=f;v[e+352>>2]=d}v[e+24>>2]=0;v[e+28>>2]=0;v[e+8>>2]=a+1564;v[e+16>>2]=e+32;v[e+12>>2]=e+24;k=A[a+2824>>3];lb:{if(!(D(k+-1)<1.1920928955078125e-7)){b=a+1760|0;while(1){c=b+(g<<2)|0;l=F(k*(+(g|0)/255),1)*255+.5;mb:{if(l<4294967296&l>=0){i=~~l>>>0;break mb}i=0}v[c>>2]=i;c=g|1;i=b+(c<<2)|0;l=F(k*(+(c|0)/255),1)*255+.5;nb:{if(l<4294967296&l>=0){c=~~l>>>0;break nb}c=0}v[i>>2]=c;g=g+2|0;if((g|0)!=256){continue}break}d2(a,e+8|0);g=0;a=a+1760|0;while(1){b=a+(g<<2)|0;k=+(g|0)/255*255+.5;ob:{if(k<4294967296&k>=0){c=~~k>>>0;break ob}c=0}v[b>>2]=c;b=g|1;c=a+(b<<2)|0;k=+(b|0)/255*255+.5;pb:{if(k<4294967296&k>=0){b=~~k>>>0;break pb}b=0}v[c>>2]=b;g=g+2|0;if((g|0)!=256){continue}break}break lb}d2(a,e+8|0)}if(d){$a(d)}if(f){$a(f)}a=v[e+24>>2];if(a){$a(a)}v[e+32>>2]=359592;a=v[e+2948>>2];if(a){c=v[e+2952>>2];if((a|0)==(c|0)){b=a}else{while(1){b=c-12|0;f=v[b>>2];if(f){v[c-8>>2]=f;$a(f)}c=b;if((a|0)!=(c|0)){continue}break}b=v[e+2948>>2]}v[e+2952>>2]=a;$a(b)}Wf(e+120|0);me(m);Ma=e+2992|0}Ma=N+16|0}function nQa(a,b){a=a|0;b=b|0;var 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,x=0,z=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;b=v[b>>2];a:{if((b|0)!=64){if((b|0)!=32){break a}t[v[v[a+20>>2]+4>>2]+24|0]=v[a+628>>2]&1;C=v[a+16>>2];x=v[a+20>>2];E=(v[a+628>>2]>>>8^-1)&1;F=Ma-16|0;Ma=F;H=_h(F+8|0);z=H;z=w[C+2820|0]?z:v[v[x+4>>2]+28>>2]?z:C+56|0;if(x){b=0;e=Ma-1728|0;Ma=e;j=C+96|0;b:{if(!w[j+1432|0]){c=Ma-448|0;Ma=c;c:{if(!x){break c}t[j+96|0]=0;v[j+64>>2]=2147483647;v[j+68>>2]=2147483647;v[j+48>>2]=2147483647;v[j+52>>2]=2147483647;v[j+8>>2]=0;v[j+12>>2]=0;v[j+1172>>2]=0;v[j+88>>2]=-2147483647;v[j+92>>2]=-2147483647;v[j+80>>2]=2147483647;v[j+84>>2]=2147483647;v[j+72>>2]=0;v[j+76>>2]=0;v[j+56>>2]=0;v[j+60>>2]=0;b=v[x+4>>2];v[c+444>>2]=v[z>>2];v[c+440>>2]=b;b=c;v[b+24>>2]=0;v[b+28>>2]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+176>>2]=0;v[b+180>>2]=0;v[b+160>>2]=0;v[b+164>>2]=1072693248;v[b+40>>2]=0;v[b+44>>2]=1072693248;v[b+184>>2]=0;v[b+188>>2]=0;v[b+192>>2]=0;v[b+196>>2]=0;v[b+200>>2]=0;v[b+392>>2]=0;v[b+396>>2]=0;v[b+376>>2]=0;v[b+380>>2]=1072693248;v[b+224>>2]=0;v[b+228>>2]=1072693248;v[b+204>>2]=64;v[b+208>>2]=1;v[b+400>>2]=0;v[b+404>>2]=0;v[b+408>>2]=0;v[b+412>>2]=0;v[b+416>>2]=0;v[b+420>>2]=0;v[b+424>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+216>>2]=0;v[b+220>>2]=0;v[b+8>>2]=b+440;v[b+428>>2]=64;v[b+432>>2]=1;AB(j,b+8|0);d=w[v[x+4>>2]+24|0];u[j+1432>>1]=1;v[j+1156>>2]=d;d=v[b+416>>2];if(d){b=d-1|0;v[c+416>>2]=b;n=v[c+424>>2]+(d<<2)|0;while(1){p=c;n=n-4|0;d=v[n>>2];if(d){$a(d);b=v[c+416>>2]}d=b;b=d-1|0;v[p+416>>2]=b;if(d){continue}break}}b=v[c+424>>2];if(b){$a(b)}d=v[c+192>>2];if(d){b=d-1|0;v[c+192>>2]=b;n=v[c+200>>2]+(d<<2)|0;while(1){p=c;n=n-4|0;d=v[n>>2];if(d){$a(d);b=v[c+192>>2]}d=b;b=d-1|0;v[p+192>>2]=b;if(d){continue}break}}b=v[c+200>>2];if(!b){break c}$a(b)}Ma=c+448|0;break b}d:{if(!w[j+1433|0]){v[e+584>>2]=0;v[e+588>>2]=0;v[e+576>>2]=0;v[e+580>>2]=0;v[e+568>>2]=0;v[e+572>>2]=0;v[e+560>>2]=0;v[e+564>>2]=0;v[e+552>>2]=0;v[e+556>>2]=0;v[e+616>>2]=0;v[e+620>>2]=0;v[e+600>>2]=0;v[e+604>>2]=0;v[e+652>>2]=0;v[e+656>>2]=0;v[e+660>>2]=0;v[e+664>>2]=0;t[e+665|0]=0;t[e+666|0]=0;t[e+667|0]=0;t[e+668|0]=0;t[e+669|0]=0;t[e+670|0]=0;t[e+671|0]=0;t[e+672|0]=0;v[e+544>>2]=0;v[e+548>>2]=0;t[e+640|0]=0;v[e+632>>2]=-2147483647;v[e+636>>2]=-2147483647;v[e+624>>2]=2147483647;v[e+628>>2]=2147483647;v[e+608>>2]=2147483647;v[e+612>>2]=2147483647;v[e+592>>2]=2147483647;v[e+596>>2]=2147483647;v[e+644>>2]=0;v[e+648>>2]=0;v[e+1716>>2]=0;v[e+1708>>2]=0;v[e+1712>>2]=0;t[e+1704|0]=1;v[e+1700>>2]=0;c=e+676|0;while(1){v[c+(b<<2)>>2]=b;d=b|1;v[c+(d<<2)>>2]=d;d=b|2;v[c+(d<<2)>>2]=d;d=b|3;v[c+(d<<2)>>2]=d;d=b|4;v[c+(d<<2)>>2]=d;d=b|5;v[c+(d<<2)>>2]=d;d=b|6;v[c+(d<<2)>>2]=d;d=b|7;v[c+(d<<2)>>2]=d;b=b+8|0;if((b|0)!=256){continue}break}b=v[x+4>>2];v[e+540>>2]=v[z>>2];v[e+536>>2]=b;v[e+120>>2]=0;v[e+124>>2]=0;v[e+128>>2]=0;v[e+132>>2]=0;v[e+272>>2]=0;v[e+276>>2]=0;v[e+256>>2]=0;v[e+260>>2]=1072693248;v[e+136>>2]=0;v[e+140>>2]=1072693248;v[e+280>>2]=0;v[e+284>>2]=0;v[e+288>>2]=0;v[e+292>>2]=0;v[e+296>>2]=0;v[e+488>>2]=0;v[e+492>>2]=0;v[e+472>>2]=0;v[e+476>>2]=1072693248;v[e+320>>2]=0;v[e+324>>2]=1072693248;v[e+300>>2]=64;v[e+304>>2]=1;v[e+496>>2]=0;v[e+500>>2]=0;v[e+504>>2]=0;v[e+508>>2]=0;v[e+512>>2]=0;v[e+516>>2]=0;v[e+520>>2]=0;v[e+112>>2]=0;v[e+116>>2]=0;v[e+312>>2]=0;v[e+316>>2]=0;v[e+104>>2]=e+536;v[e+524>>2]=64;v[e+528>>2]=1;f=e+544|0;AB(f,e+104|0);v[e+1700>>2]=w[v[x+4>>2]+24|0];v[e+88>>2]=0;v[e+92>>2]=0;v[e+96>>2]=0;v[e+100>>2]=0;v[e+80>>2]=0;v[e+84>>2]=0;v[e+72>>2]=2147483632;v[e+56>>2]=0;v[e+60>>2]=0;b=e- -64|0;v[b>>2]=0;v[b+4>>2]=0;v[e+48>>2]=0;v[e+52>>2]=0;v[e+40>>2]=2147483632;v[e+24>>2]=0;v[e+28>>2]=0;v[e+32>>2]=0;v[e+36>>2]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=2147483632;k=e+72|0;g=e+40|0;l=e+8|0;h=j+1180|0;e:{f:{switch(E|0){case 0:if(!(!w[j+1160|0]|v[j+1172>>2]!=2)){rc(j+100|0,j,v[j+1164>>2],v[j+1168>>2]);v[j+1172>>2]=3}Gc(j);m=v[j+12>>2];if(m){v[j+1176>>2]=v[j+84>>2]}if(!(!w[f+1160|0]|v[f+1172>>2]!=2)){rc(f+100|0,f,v[f+1164>>2],v[f+1168>>2]);v[f+1172>>2]=3}Gc(f);o=v[f+12>>2];g:{h:{if(o){i=v[f+84>>2];v[f+1176>>2]=i;break h}if(!m){break g}i=v[f+84>>2]}p=v[f+92>>2];r=v[f+88>>2];q=v[f+80>>2];b=v[j+92>>2];d=v[j+88>>2];c=v[j+84>>2];n=v[j+80>>2];i:{if(!(!m|!o)){c=(c|0)>(i|0)?i:c;n=(n|0)>(q|0)?q:n;b=(b|0)<(p|0)?p:b;d=(d|0)<(r|0)?r:d;break i}if(m){break i}b=p;d=r;c=i;n=q;if(!o){break g}}if((d|0)<(n|0)|(b|0)<(c|0)){break g}b=v[h+20>>2]-1|0;if((b|0)>=0){while(1){c=v[(v[v[h+32>>2]+(b>>>4&268435452)>>2]+((b&63)<<3)|0)+4>>2];if(c){$a(c)}b=b-1|0;if((b|0)>-1){continue}break}}v[h+60>>2]=0;v[h>>2]=0;v[h+20>>2]=0;v[h+120>>2]=0;v[h+112>>2]=-2147483647;v[h+116>>2]=-2147483647;v[h+104>>2]=2147483647;v[h+108>>2]=2147483647;v[h+40>>2]=0;b=(d-n|0)+3|0;j:{if(b>>>0<=y[l+24>>2]){break j}c=v[l+20>>2];if(c){$a(c)}v[l+24>>2]=b;J=l,K=ab((b|0)!=(b&536870911)?-1:b<<3),v[J+20>>2]=K;if((b|0)==v[l+12>>2]){break j}c=v[l+8>>2];if(c){$a(c)}v[l+12>>2]=b;J=l,K=ab(b),v[J+8>>2]=K}v[l>>2]=2147483632;v[l+16>>2]=v[l+8>>2];b=v[l+20>>2];v[l+28>>2]=b;c=0;u[b+2>>1]=0;b=0;if(m){b=(v[j+88>>2]-v[j+80>>2]|0)+3|0;k:{if(b>>>0<=y[k+24>>2]){break k}d=v[k+20>>2];if(d){$a(d)}v[k+24>>2]=b;J=k,K=ab((b|0)!=(b&536870911)?-1:b<<3),v[J+20>>2]=K;if((b|0)==v[k+12>>2]){break k}d=v[k+8>>2];if(d){$a(d)}v[k+12>>2]=b;J=k,K=ab(b),v[J+8>>2]=K}v[k>>2]=2147483632;v[k+16>>2]=v[k+8>>2];b=v[k+20>>2];v[k+28>>2]=b;u[b+2>>1]=0;b=Gb(j,k)}if(o){c=(v[f+88>>2]-v[f+80>>2]|0)+3|0;l:{if(c>>>0<=y[g+24>>2]){break l}d=v[g+20>>2];if(d){$a(d)}v[g+24>>2]=c;J=g,K=ab((c|0)!=(c&536870911)?-1:c<<3),v[J+20>>2]=K;if((c|0)==v[g+12>>2]){break l}d=v[g+8>>2];if(d){$a(d)}v[g+12>>2]=c;J=g,K=ab(c),v[J+8>>2]=K}v[g>>2]=2147483632;v[g+16>>2]=v[g+8>>2];c=v[g+20>>2];v[g+28>>2]=c;u[c+2>>1]=0;c=Gb(f,g)}if((b|c)!=1){break g}while(1){d=b&1;m:{n:{if(!(!d|!(c&1))){b=v[k+4>>2];c=v[g+4>>2];if((b|0)==(c|0)){t1(k,g,l);if(v[l+28>>2]!=v[l+20>>2]){v[l+4>>2]=v[k+4>>2];jj(h,l)}b=Gb(j,k);break n}if((b|0)<(c|0)){Ie(k,l,h);b=Gb(j,k);d=1;break m}Ie(g,l,h);b=1;break n}b=0;if(d){Ie(k,l,h);b=Gb(j,k)}d=0;if(!(c&1)){break m}Ie(g,l,h)}d=Gb(f,g)}c=d;if(c|b){continue}break}}break e;case 1:if(!(!w[j+1160|0]|v[j+1172>>2]!=2)){rc(j+100|0,j,v[j+1164>>2],v[j+1168>>2]);v[j+1172>>2]=3}Gc(j);o:{if(!v[j+12>>2]){break o}v[j+1176>>2]=v[j+84>>2];if(!(!w[f+1160|0]|v[f+1172>>2]!=2)){rc(f+100|0,f,v[f+1164>>2],v[f+1168>>2]);v[f+1172>>2]=3}Gc(f);if(!v[f+12>>2]){break o}b=v[f+84>>2];v[f+1176>>2]=b;c=v[f+88>>2];d=v[j+88>>2];c=(c|0)<(d|0)?c:d;d=v[f+80>>2];n=v[j+80>>2];d=(d|0)>(n|0)?d:n;if((c|0)<(d|0)){break o}n=v[j+84>>2];p=(b|0)>(n|0)?b:n;b=v[f+92>>2];n=v[j+92>>2];if((p|0)>(((b|0)<(n|0)?b:n)|0)){break o}b=(c-d|0)+3|0;p:{if(b>>>0<=y[l+24>>2]){break p}c=v[l+20>>2];if(c){$a(c)}v[l+24>>2]=b;J=l,K=ab((b|0)!=(b&536870911)?-1:b<<3),v[J+20>>2]=K;if((b|0)==v[l+12>>2]){break p}c=v[l+8>>2];if(c){$a(c)}v[l+12>>2]=b;J=l,K=ab(b),v[J+8>>2]=K}v[l>>2]=2147483632;v[l+16>>2]=v[l+8>>2];b=v[l+20>>2];v[l+28>>2]=b;u[b+2>>1]=0;b=(v[j+88>>2]-v[j+80>>2]|0)+3|0;q:{if(b>>>0<=y[k+24>>2]){break q}c=v[k+20>>2];if(c){$a(c)}v[k+24>>2]=b;J=k,K=ab((b|0)!=(b&536870911)?-1:b<<3),v[J+20>>2]=K;if((b|0)==v[k+12>>2]){break q}c=v[k+8>>2];if(c){$a(c)}v[k+12>>2]=b;J=k,K=ab(b),v[J+8>>2]=K}v[k>>2]=2147483632;v[k+16>>2]=v[k+8>>2];b=v[k+20>>2];v[k+28>>2]=b;u[b+2>>1]=0;b=(v[f+88>>2]-v[f+80>>2]|0)+3|0;r:{if(b>>>0<=y[g+24>>2]){break r}c=v[g+20>>2];if(c){$a(c)}v[g+24>>2]=b;J=g,K=ab((b|0)!=(b&536870911)?-1:b<<3),v[J+20>>2]=K;if((b|0)==v[g+12>>2]){break r}c=v[g+8>>2];if(c){$a(c)}v[g+12>>2]=b;J=g,K=ab(b),v[J+8>>2]=K}v[g>>2]=2147483632;v[g+16>>2]=v[g+8>>2];b=v[g+20>>2];v[g+28>>2]=b;u[b+2>>1]=0;if(!Gb(j,k)){break o}if(!Gb(f,g)){break o}b=v[h+20>>2]-1|0;if((b|0)>=0){while(1){c=v[(v[v[h+32>>2]+(b>>>4&268435452)>>2]+((b&63)<<3)|0)+4>>2];if(c){$a(c)}b=b-1|0;if((b|0)>-1){continue}break}}v[h+60>>2]=0;v[h>>2]=0;v[h+20>>2]=0;v[h+120>>2]=0;v[h+112>>2]=-2147483647;v[h+116>>2]=-2147483647;v[h+104>>2]=2147483647;v[h+108>>2]=2147483647;v[h+40>>2]=0;while(1){b=v[k+4>>2];c=v[g+4>>2];if((b|0)>=(c|0)){if((b|0)>(c|0)){while(1){if(!Gb(f,g)){break o}b=v[k+4>>2];c=v[g+4>>2];if((b|0)>(c|0)){continue}break}}if((b|0)!=(c|0)){continue}Se(k,g,l);if(v[l+28>>2]!=v[l+20>>2]){v[l+4>>2]=v[k+4>>2];jj(h,l)}if(!Gb(j,k)){break o}if(Gb(f,g)){continue}break o}if(Gb(j,k)){continue}break}}break e;case 2:if(!(!w[j+1160|0]|v[j+1172>>2]!=2)){rc(j+100|0,j,v[j+1164>>2],v[j+1168>>2]);v[j+1172>>2]=3}Gc(j);m=v[j+12>>2];if(m){v[j+1176>>2]=v[j+84>>2]}if(!(!w[f+1160|0]|v[f+1172>>2]!=2)){rc(f+100|0,f,v[f+1164>>2],v[f+1168>>2]);v[f+1172>>2]=3}Gc(f);o=v[f+12>>2];s:{t:{if(o){i=v[f+84>>2];v[f+1176>>2]=i;break t}if(!m){break s}i=v[f+84>>2]}p=v[f+92>>2];r=v[f+88>>2];q=v[f+80>>2];b=v[j+92>>2];d=v[j+88>>2];c=v[j+84>>2];n=v[j+80>>2];u:{if(!(!m|!o)){c=(c|0)>(i|0)?i:c;n=(n|0)>(q|0)?q:n;b=(b|0)<(p|0)?p:b;d=(d|0)<(r|0)?r:d;break u}if(m){break u}b=p;d=r;c=i;n=q;if(!o){break s}}if((d|0)<(n|0)|(b|0)<(c|0)){break s}b=v[h+20>>2]-1|0;if((b|0)>=0){while(1){c=v[(v[v[h+32>>2]+(b>>>4&268435452)>>2]+((b&63)<<3)|0)+4>>2];if(c){$a(c)}b=b-1|0;if((b|0)>-1){continue}break}}v[h+60>>2]=0;v[h>>2]=0;v[h+20>>2]=0;v[h+120>>2]=0;v[h+112>>2]=-2147483647;v[h+116>>2]=-2147483647;v[h+104>>2]=2147483647;v[h+108>>2]=2147483647;v[h+40>>2]=0;b=(d-n|0)+3|0;v:{if(b>>>0<=y[l+24>>2]){break v}c=v[l+20>>2];if(c){$a(c)}v[l+24>>2]=b;J=l,K=ab((b|0)!=(b&536870911)?-1:b<<3),v[J+20>>2]=K;if((b|0)==v[l+12>>2]){break v}c=v[l+8>>2];if(c){$a(c)}v[l+12>>2]=b;J=l,K=ab(b),v[J+8>>2]=K}v[l>>2]=2147483632;v[l+16>>2]=v[l+8>>2];b=v[l+20>>2];v[l+28>>2]=b;c=0;u[b+2>>1]=0;b=0;if(m){b=(v[j+88>>2]-v[j+80>>2]|0)+3|0;w:{if(b>>>0<=y[k+24>>2]){break w}d=v[k+20>>2];if(d){$a(d)}v[k+24>>2]=b;J=k,K=ab((b|0)!=(b&536870911)?-1:b<<3),v[J+20>>2]=K;if((b|0)==v[k+12>>2]){break w}d=v[k+8>>2];if(d){$a(d)}v[k+12>>2]=b;J=k,K=ab(b),v[J+8>>2]=K}v[k>>2]=2147483632;v[k+16>>2]=v[k+8>>2];b=v[k+20>>2];v[k+28>>2]=b;u[b+2>>1]=0;b=Gb(j,k)}if(o){c=(v[f+88>>2]-v[f+80>>2]|0)+3|0;x:{if(c>>>0<=y[g+24>>2]){break x}d=v[g+20>>2];if(d){$a(d)}v[g+24>>2]=c;J=g,K=ab((c|0)!=(c&536870911)?-1:c<<3),v[J+20>>2]=K;if((c|0)==v[g+12>>2]){break x}d=v[g+8>>2];if(d){$a(d)}v[g+12>>2]=c;J=g,K=ab(c),v[J+8>>2]=K}v[g>>2]=2147483632;v[g+16>>2]=v[g+8>>2];c=v[g+20>>2];v[g+28>>2]=c;u[c+2>>1]=0;c=Gb(f,g)}if((b|c)!=1){break s}while(1){d=b&1;y:{z:{if(!(!d|!(c&1))){b=v[k+4>>2];c=v[g+4>>2];if((b|0)==(c|0)){s1(k,g,l);if(v[l+28>>2]!=v[l+20>>2]){v[l+4>>2]=v[k+4>>2];jj(h,l)}b=Gb(j,k);break z}if((b|0)<(c|0)){Ie(k,l,h);b=Gb(j,k);d=1;break y}Ie(g,l,h);b=1;break z}b=0;if(d){Ie(k,l,h);b=Gb(j,k)}d=0;if(!(c&1)){break y}Ie(g,l,h)}d=Gb(f,g)}c=d;if(c|b){continue}break}}break e;case 3:if(!(!w[j+1160|0]|v[j+1172>>2]!=2)){rc(j+100|0,j,v[j+1164>>2],v[j+1168>>2]);v[j+1172>>2]=3}Gc(j);m=v[j+12>>2];if(m){v[j+1176>>2]=v[j+84>>2]}if(!(!w[f+1160|0]|v[f+1172>>2]!=2)){rc(f+100|0,f,v[f+1164>>2],v[f+1168>>2]);v[f+1172>>2]=3}Gc(f);o=v[f+12>>2];A:{B:{if(o){i=v[f+84>>2];v[f+1176>>2]=i;break B}if(!m){break A}i=v[f+84>>2]}p=v[f+92>>2];r=v[f+88>>2];q=v[f+80>>2];b=v[j+92>>2];d=v[j+88>>2];c=v[j+84>>2];n=v[j+80>>2];C:{if(!(!m|!o)){c=(c|0)>(i|0)?i:c;n=(n|0)>(q|0)?q:n;b=(b|0)<(p|0)?p:b;d=(d|0)<(r|0)?r:d;break C}if(m){break C}b=p;d=r;c=i;n=q;if(!o){break A}}if((d|0)<(n|0)|(b|0)<(c|0)){break A}b=v[h+20>>2]-1|0;if((b|0)>=0){while(1){c=v[(v[v[h+32>>2]+(b>>>4&268435452)>>2]+((b&63)<<3)|0)+4>>2];if(c){$a(c)}b=b-1|0;if((b|0)>-1){continue}break}}v[h+60>>2]=0;v[h>>2]=0;v[h+20>>2]=0;v[h+120>>2]=0;v[h+112>>2]=-2147483647;v[h+116>>2]=-2147483647;v[h+104>>2]=2147483647;v[h+108>>2]=2147483647;v[h+40>>2]=0;b=(d-n|0)+3|0;D:{if(b>>>0<=y[l+24>>2]){break D}c=v[l+20>>2];if(c){$a(c)}v[l+24>>2]=b;J=l,K=ab((b|0)!=(b&536870911)?-1:b<<3),v[J+20>>2]=K;if((b|0)==v[l+12>>2]){break D}c=v[l+8>>2];if(c){$a(c)}v[l+12>>2]=b;J=l,K=ab(b),v[J+8>>2]=K}v[l>>2]=2147483632;v[l+16>>2]=v[l+8>>2];b=v[l+20>>2];v[l+28>>2]=b;c=0;u[b+2>>1]=0;b=0;if(m){b=(v[j+88>>2]-v[j+80>>2]|0)+3|0;E:{if(b>>>0<=y[k+24>>2]){break E}d=v[k+20>>2];if(d){$a(d)}v[k+24>>2]=b;J=k,K=ab((b|0)!=(b&536870911)?-1:b<<3),v[J+20>>2]=K;if((b|0)==v[k+12>>2]){break E}d=v[k+8>>2];if(d){$a(d)}v[k+12>>2]=b;J=k,K=ab(b),v[J+8>>2]=K}v[k>>2]=2147483632;v[k+16>>2]=v[k+8>>2];b=v[k+20>>2];v[k+28>>2]=b;u[b+2>>1]=0;b=Gb(j,k)}if(o){c=(v[f+88>>2]-v[f+80>>2]|0)+3|0;F:{if(c>>>0<=y[g+24>>2]){break F}d=v[g+20>>2];if(d){$a(d)}v[g+24>>2]=c;J=g,K=ab((c|0)!=(c&536870911)?-1:c<<3),v[J+20>>2]=K;if((c|0)==v[g+12>>2]){break F}d=v[g+8>>2];if(d){$a(d)}v[g+12>>2]=c;J=g,K=ab(c),v[J+8>>2]=K}v[g>>2]=2147483632;v[g+16>>2]=v[g+8>>2];c=v[g+20>>2];v[g+28>>2]=c;u[c+2>>1]=0;c=Gb(f,g)}if((b|c)!=1){break A}while(1){d=b&1;G:{H:{if(!(!d|!(c&1))){b=v[k+4>>2];c=v[g+4>>2];if((b|0)==(c|0)){r1(k,g,l);if(v[l+28>>2]!=v[l+20>>2]){v[l+4>>2]=v[k+4>>2];jj(h,l)}b=Gb(j,k);break H}if((b|0)<(c|0)){Ie(k,l,h);b=Gb(j,k);d=1;break G}Ie(g,l,h);b=1;break H}b=0;if(d){Ie(k,l,h);b=Gb(j,k)}d=0;if(!(c&1)){break G}Ie(g,l,h)}d=Gb(f,g)}c=d;if(c|b){continue}break}}break e;case 4:if(!(!w[j+1160|0]|v[j+1172>>2]!=2)){rc(j+100|0,j,v[j+1164>>2],v[j+1168>>2]);v[j+1172>>2]=3}Gc(j);m=v[j+12>>2];if(m){v[j+1176>>2]=v[j+84>>2]}if(!(!w[f+1160|0]|v[f+1172>>2]!=2)){rc(f+100|0,f,v[f+1164>>2],v[f+1168>>2]);v[f+1172>>2]=3}Gc(f);o=v[f+12>>2];I:{J:{if(o){i=v[f+84>>2];v[f+1176>>2]=i;break J}if(!m){break I}i=v[f+84>>2]}p=v[f+92>>2];r=v[f+88>>2];q=v[f+80>>2];b=v[j+92>>2];d=v[j+88>>2];c=v[j+84>>2];n=v[j+80>>2];K:{if(!(!m|!o)){c=(c|0)>(i|0)?i:c;n=(n|0)>(q|0)?q:n;b=(b|0)<(p|0)?p:b;d=(d|0)<(r|0)?r:d;break K}if(m){break K}b=p;d=r;c=i;n=q;if(!o){break I}}if((d|0)<(n|0)|(b|0)<(c|0)){break I}b=v[h+20>>2]-1|0;if((b|0)>=0){while(1){c=v[(v[v[h+32>>2]+(b>>>4&268435452)>>2]+((b&63)<<3)|0)+4>>2];if(c){$a(c)}b=b-1|0;if((b|0)>-1){continue}break}}v[h+60>>2]=0;v[h>>2]=0;v[h+20>>2]=0;v[h+120>>2]=0;v[h+112>>2]=-2147483647;v[h+116>>2]=-2147483647;v[h+104>>2]=2147483647;v[h+108>>2]=2147483647;v[h+40>>2]=0;b=(d-n|0)+3|0;L:{if(b>>>0<=y[l+24>>2]){break L}c=v[l+20>>2];if(c){$a(c)}v[l+24>>2]=b;J=l,K=ab((b|0)!=(b&536870911)?-1:b<<3),v[J+20>>2]=K;if((b|0)==v[l+12>>2]){break L}c=v[l+8>>2];if(c){$a(c)}v[l+12>>2]=b;J=l,K=ab(b),v[J+8>>2]=K}v[l>>2]=2147483632;v[l+16>>2]=v[l+8>>2];b=v[l+20>>2];v[l+28>>2]=b;c=0;u[b+2>>1]=0;b=0;if(m){b=(v[j+88>>2]-v[j+80>>2]|0)+3|0;M:{if(b>>>0<=y[k+24>>2]){break M}d=v[k+20>>2];if(d){$a(d)}v[k+24>>2]=b;J=k,K=ab((b|0)!=(b&536870911)?-1:b<<3),v[J+20>>2]=K;if((b|0)==v[k+12>>2]){break M}d=v[k+8>>2];if(d){$a(d)}v[k+12>>2]=b;J=k,K=ab(b),v[J+8>>2]=K}v[k>>2]=2147483632;v[k+16>>2]=v[k+8>>2];b=v[k+20>>2];v[k+28>>2]=b;u[b+2>>1]=0;b=Gb(j,k)}if(o){c=(v[f+88>>2]-v[f+80>>2]|0)+3|0;N:{if(c>>>0<=y[g+24>>2]){break N}d=v[g+20>>2];if(d){$a(d)}v[g+24>>2]=c;J=g,K=ab((c|0)!=(c&536870911)?-1:c<<3),v[J+20>>2]=K;if((c|0)==v[g+12>>2]){break N}d=v[g+8>>2];if(d){$a(d)}v[g+12>>2]=c;J=g,K=ab(c),v[J+8>>2]=K}v[g>>2]=2147483632;v[g+16>>2]=v[g+8>>2];c=v[g+20>>2];v[g+28>>2]=c;u[c+2>>1]=0;c=Gb(f,g)}if((b|c)!=1){break I}while(1){d=b&1;O:{P:{if(!(!d|!(c&1))){b=v[k+4>>2];c=v[g+4>>2];if((b|0)==(c|0)){q1(k,g,l);if(v[l+28>>2]!=v[l+20>>2]){v[l+4>>2]=v[k+4>>2];jj(h,l)}b=Gb(j,k);break P}if((b|0)<(c|0)){Ie(k,l,h);b=Gb(j,k);d=1;break O}Ie(g,l,h);b=1;break P}b=0;if(d){Ie(k,l,h);b=Gb(j,k)}d=0;if(!(c&1)){break O}Ie(g,l,h)}d=Gb(f,g)}c=d;if(c|b){continue}break}}break e;case 5:u1(j,f,k,g,l,h);break e;case 6:break f;default:break e}}u1(f,j,g,k,l,h)}v[j+1428>>2]=1;b=v[e+28>>2];if(b){$a(b)}b=v[e+16>>2];if(b){$a(b)}b=v[e+60>>2];if(b){$a(b)}b=v[e+48>>2];if(b){$a(b)}b=v[e+92>>2];if(b){$a(b)}b=v[e+80>>2];if(b){$a(b)}c=v[e+512>>2];if(c){b=c-1|0;v[e+512>>2]=b;d=v[e+520>>2]+(c<<2)|0;while(1){n=e;d=d-4|0;c=v[d>>2];if(c){$a(c);b=v[e+512>>2]}c=b;b=c-1|0;v[n+512>>2]=b;if(c){continue}break}}b=v[e+520>>2];if(b){$a(b)}c=v[e+288>>2];if(c){b=c-1|0;v[e+288>>2]=b;d=v[e+296>>2]+(c<<2)|0;while(1){n=e;d=d-4|0;c=v[d>>2];if(c){$a(c);b=v[e+288>>2]}c=b;b=c-1|0;v[n+288>>2]=b;if(c){continue}break}}b=v[e+296>>2];if(b){$a(b)}c=v[e+544>>2];Q:{if(!c){break Q}b=c-1|0;v[e+544>>2]=b;d=v[e+560>>2]+(c<<2)|0;while(1){n=e;d=d-4|0;c=v[d>>2];if(c){$a(c);b=v[e+544>>2]}c=b;b=c-1|0;v[n+544>>2]=b;if(c){continue}break}b=v[e+560>>2];if(!b){break Q}$a(b)}b=v[e+588>>2];if(b){$a(b)}b=v[e+576>>2];if(!b){break d}$a(b);break d}v[e+584>>2]=0;v[e+588>>2]=0;v[e+576>>2]=0;v[e+580>>2]=0;v[e+568>>2]=0;v[e+572>>2]=0;v[e+560>>2]=0;v[e+564>>2]=0;v[e+552>>2]=0;v[e+556>>2]=0;v[e+616>>2]=0;v[e+620>>2]=0;v[e+600>>2]=0;v[e+604>>2]=0;v[e+652>>2]=0;v[e+656>>2]=0;v[e+660>>2]=0;v[e+664>>2]=0;t[e+665|0]=0;t[e+666|0]=0;t[e+667|0]=0;t[e+668|0]=0;t[e+669|0]=0;t[e+670|0]=0;t[e+671|0]=0;t[e+672|0]=0;v[e+544>>2]=0;v[e+548>>2]=0;t[e+640|0]=0;v[e+632>>2]=-2147483647;v[e+636>>2]=-2147483647;v[e+624>>2]=2147483647;v[e+628>>2]=2147483647;v[e+608>>2]=2147483647;v[e+612>>2]=2147483647;v[e+592>>2]=2147483647;v[e+596>>2]=2147483647;v[e+644>>2]=0;v[e+648>>2]=0;v[e+1716>>2]=0;v[e+1708>>2]=0;v[e+1712>>2]=0;t[e+1704|0]=1;v[e+1700>>2]=0;c=e+676|0;while(1){v[c+(b<<2)>>2]=b;d=b|1;v[c+(d<<2)>>2]=d;d=b|2;v[c+(d<<2)>>2]=d;d=b|3;v[c+(d<<2)>>2]=d;d=b|4;v[c+(d<<2)>>2]=d;d=b|5;v[c+(d<<2)>>2]=d;d=b|6;v[c+(d<<2)>>2]=d;d=b|7;v[c+(d<<2)>>2]=d;b=b+8|0;if((b|0)!=256){continue}break}b=v[x+4>>2];v[e+540>>2]=v[z>>2];v[e+536>>2]=b;v[e+120>>2]=0;v[e+124>>2]=0;v[e+128>>2]=0;v[e+132>>2]=0;v[e+272>>2]=0;v[e+276>>2]=0;v[e+256>>2]=0;v[e+260>>2]=1072693248;v[e+136>>2]=0;v[e+140>>2]=1072693248;v[e+280>>2]=0;v[e+284>>2]=0;v[e+288>>2]=0;v[e+292>>2]=0;v[e+296>>2]=0;v[e+488>>2]=0;v[e+492>>2]=0;v[e+472>>2]=0;v[e+476>>2]=1072693248;v[e+320>>2]=0;v[e+324>>2]=1072693248;v[e+300>>2]=64;v[e+304>>2]=1;v[e+496>>2]=0;v[e+500>>2]=0;v[e+504>>2]=0;v[e+508>>2]=0;v[e+512>>2]=0;v[e+516>>2]=0;v[e+520>>2]=0;v[e+112>>2]=0;v[e+116>>2]=0;v[e+312>>2]=0;v[e+316>>2]=0;v[e+104>>2]=e+536;v[e+524>>2]=64;v[e+528>>2]=1;h=e+544|0;AB(h,e+104|0);v[e+1700>>2]=w[v[x+4>>2]+24|0];v[e+88>>2]=0;v[e+92>>2]=0;v[e+96>>2]=0;v[e+100>>2]=0;v[e+80>>2]=0;v[e+84>>2]=0;v[e+72>>2]=2147483632;v[e+56>>2]=0;v[e+60>>2]=0;b=e- -64|0;v[b>>2]=0;v[b+4>>2]=0;v[e+48>>2]=0;v[e+52>>2]=0;v[e+40>>2]=2147483632;v[e+24>>2]=0;v[e+28>>2]=0;v[e+32>>2]=0;v[e+36>>2]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=2147483632;b=j+1180|0;c=j+1304|0;d=v[j+1428>>2]==1;o=d?b:c;f=e+72|0;i=e+40|0;g=e+8|0;m=d?c:b;R:{S:{switch(E|0){case 0:if(!(!w[h+1160|0]|v[h+1172>>2]!=2)){rc(h+100|0,h,v[h+1164>>2],v[h+1168>>2]);v[h+1172>>2]=3}Gc(h);s=v[h+12>>2];T:{U:{if(s){b=v[h+84>>2];v[h+1176>>2]=b;v[o+120>>2]=0;p=v[o+60>>2]!=0;break U}v[o+120>>2]=0;if(!v[o+60>>2]){break T}b=v[h+84>>2];p=1}r=v[o+116>>2];q=v[o+112>>2];k=v[o+108>>2];l=v[o+104>>2];c=v[h+92>>2];n=v[h+88>>2];d=v[h+80>>2];V:{if(!(!s|!p)){b=(b|0)>(k|0)?k:b;d=(d|0)>(l|0)?l:d;c=(c|0)<(r|0)?r:c;n=(n|0)<(q|0)?q:n;break V}if(s){break V}c=r;n=q;b=k;d=l;if(!p){break T}}if((d|0)>(n|0)|(b|0)>(c|0)){break T}b=v[m+20>>2]-1|0;if((b|0)>=0){while(1){c=v[(v[v[m+32>>2]+(b>>>4&268435452)>>2]+((b&63)<<3)|0)+4>>2];if(c){$a(c)}b=b-1|0;if((b|0)>-1){continue}break}}v[m+60>>2]=0;v[m>>2]=0;v[m+20>>2]=0;v[m+120>>2]=0;v[m+112>>2]=-2147483647;v[m+116>>2]=-2147483647;v[m+104>>2]=2147483647;v[m+108>>2]=2147483647;v[m+40>>2]=0;b=(n-d|0)+3|0;W:{if(b>>>0<=y[g+24>>2]){break W}c=v[g+20>>2];if(c){$a(c)}v[g+24>>2]=b;J=g,K=ab((b|0)!=(b&536870911)?-1:b<<3),v[J+20>>2]=K;if((b|0)==v[g+12>>2]){break W}c=v[g+8>>2];if(c){$a(c)}v[g+12>>2]=b;J=g,K=ab(b),v[J+8>>2]=K}v[g>>2]=2147483632;v[g+16>>2]=v[g+8>>2];b=v[g+20>>2];v[g+28>>2]=b;c=0;u[b+2>>1]=0;b=0;if(s){b=(v[h+88>>2]-v[h+80>>2]|0)+3|0;X:{if(b>>>0<=y[f+24>>2]){break X}d=v[f+20>>2];if(d){$a(d)}v[f+24>>2]=b;J=f,K=ab((b|0)!=(b&536870911)?-1:b<<3),v[J+20>>2]=K;if((b|0)==v[f+12>>2]){break X}d=v[f+8>>2];if(d){$a(d)}v[f+12>>2]=b;J=f,K=ab(b),v[J+8>>2]=K}v[f>>2]=2147483632;v[f+16>>2]=v[f+8>>2];b=v[f+20>>2];v[f+28>>2]=b;u[b+2>>1]=0;b=Gb(h,f)}if(p){c=(v[o+112>>2]-v[o+104>>2]|0)+3|0;Y:{if(c>>>0<=y[i+24>>2]){break Y}d=v[i+20>>2];if(d){$a(d)}v[i+24>>2]=c;J=i,K=ab((c|0)!=(c&536870911)?-1:c<<3),v[J+20>>2]=K;if((c|0)==v[i+12>>2]){break Y}d=v[i+8>>2];if(d){$a(d)}v[i+12>>2]=c;J=i,K=ab(c),v[J+8>>2]=K}v[i>>2]=2147483632;v[i+16>>2]=v[i+8>>2];c=v[i+20>>2];v[i+28>>2]=c;u[c+2>>1]=0;c=Uc(o,i)}if((b|c)!=1){break T}while(1){d=b&1;Z:{_:{if(!(!d|!(c&1))){b=v[f+4>>2];c=v[i+4>>2];if((b|0)==(c|0)){t1(f,i,g);if(v[g+28>>2]!=v[g+20>>2]){v[g+4>>2]=v[f+4>>2];jj(m,g)}b=Gb(h,f);break _}if((b|0)<(c|0)){Ie(f,g,m);b=Gb(h,f);d=1;break Z}Ie(i,g,m);b=1;break _}b=0;if(d){Ie(f,g,m);b=Gb(h,f)}d=0;if(!(c&1)){break Z}Ie(i,g,m)}d=Uc(o,i)}c=d;if(c|b){continue}break}}break R;case 1:if(!(!w[h+1160|0]|v[h+1172>>2]!=2)){rc(h+100|0,h,v[h+1164>>2],v[h+1168>>2]);v[h+1172>>2]=3}Gc(h);$:{if(!v[h+12>>2]){break $}b=v[h+84>>2];v[h+1176>>2]=b;v[o+120>>2]=0;if(!v[o+60>>2]){break $}c=v[o+112>>2];d=v[h+88>>2];c=(c|0)<(d|0)?c:d;d=v[o+104>>2];n=v[h+80>>2];d=(d|0)>(n|0)?d:n;if((c|0)<(d|0)){break $}n=v[o+108>>2];p=(b|0)<(n|0)?n:b;b=v[o+116>>2];n=v[h+92>>2];if((p|0)>(((b|0)<(n|0)?b:n)|0)){break $}b=(c-d|0)+3|0;aa:{if(b>>>0<=y[g+24>>2]){break aa}c=v[g+20>>2];if(c){$a(c)}v[g+24>>2]=b;J=g,K=ab((b|0)!=(b&536870911)?-1:b<<3),v[J+20>>2]=K;if((b|0)==v[g+12>>2]){break aa}c=v[g+8>>2];if(c){$a(c)}v[g+12>>2]=b;J=g,K=ab(b),v[J+8>>2]=K}v[g>>2]=2147483632;v[g+16>>2]=v[g+8>>2];b=v[g+20>>2];v[g+28>>2]=b;u[b+2>>1]=0;b=(v[h+88>>2]-v[h+80>>2]|0)+3|0;ba:{if(b>>>0<=y[f+24>>2]){break ba}c=v[f+20>>2];if(c){$a(c)}v[f+24>>2]=b;J=f,K=ab((b|0)!=(b&536870911)?-1:b<<3),v[J+20>>2]=K;if((b|0)==v[f+12>>2]){break ba}c=v[f+8>>2];if(c){$a(c)}v[f+12>>2]=b;J=f,K=ab(b),v[J+8>>2]=K}v[f>>2]=2147483632;v[f+16>>2]=v[f+8>>2];b=v[f+20>>2];v[f+28>>2]=b;u[b+2>>1]=0;b=(v[o+112>>2]-v[o+104>>2]|0)+3|0;ca:{if(b>>>0<=y[i+24>>2]){break ca}c=v[i+20>>2];if(c){$a(c)}v[i+24>>2]=b;J=i,K=ab((b|0)!=(b&536870911)?-1:b<<3),v[J+20>>2]=K;if((b|0)==v[i+12>>2]){break ca}c=v[i+8>>2];if(c){$a(c)}v[i+12>>2]=b;J=i,K=ab(b),v[J+8>>2]=K}v[i>>2]=2147483632;v[i+16>>2]=v[i+8>>2];b=v[i+20>>2];v[i+28>>2]=b;u[b+2>>1]=0;if(!Gb(h,f)){break $}if(!Uc(o,i)){break $}b=v[m+20>>2]-1|0;if((b|0)>=0){while(1){c=v[(v[v[m+32>>2]+(b>>>4&268435452)>>2]+((b&63)<<3)|0)+4>>2];if(c){$a(c)}b=b-1|0;if((b|0)>-1){continue}break}}v[m+60>>2]=0;v[m>>2]=0;v[m+20>>2]=0;v[m+120>>2]=0;v[m+112>>2]=-2147483647;v[m+116>>2]=-2147483647;v[m+104>>2]=2147483647;v[m+108>>2]=2147483647;v[m+40>>2]=0;while(1){b=v[f+4>>2];c=v[i+4>>2];if((b|0)>=(c|0)){if((b|0)>(c|0)){while(1){if(!Uc(o,i)){break $}b=v[f+4>>2];c=v[i+4>>2];if((b|0)>(c|0)){continue}break}}if((b|0)!=(c|0)){continue}Se(f,i,g);if(v[g+28>>2]!=v[g+20>>2]){v[g+4>>2]=v[f+4>>2];jj(m,g)}if(!Gb(h,f)){break $}if(Uc(o,i)){continue}break $}if(Gb(h,f)){continue}break}}break R;case 2:if(!(!w[h+1160|0]|v[h+1172>>2]!=2)){rc(h+100|0,h,v[h+1164>>2],v[h+1168>>2]);v[h+1172>>2]=3}Gc(h);s=v[h+12>>2];da:{ea:{if(s){b=v[h+84>>2];v[h+1176>>2]=b;v[o+120>>2]=0;p=v[o+60>>2]!=0;break ea}v[o+120>>2]=0;if(!v[o+60>>2]){break da}b=v[h+84>>2];p=1}r=v[o+116>>2];q=v[o+112>>2];k=v[o+108>>2];l=v[o+104>>2];c=v[h+92>>2];n=v[h+88>>2];d=v[h+80>>2];fa:{if(!(!s|!p)){b=(b|0)>(k|0)?k:b;d=(d|0)>(l|0)?l:d;c=(c|0)<(r|0)?r:c;n=(n|0)<(q|0)?q:n;break fa}if(s){break fa}c=r;n=q;b=k;d=l;if(!p){break da}}if((d|0)>(n|0)|(b|0)>(c|0)){break da}b=v[m+20>>2]-1|0;if((b|0)>=0){while(1){c=v[(v[v[m+32>>2]+(b>>>4&268435452)>>2]+((b&63)<<3)|0)+4>>2];if(c){$a(c)}b=b-1|0;if((b|0)>-1){continue}break}}v[m+60>>2]=0;v[m>>2]=0;v[m+20>>2]=0;v[m+120>>2]=0;v[m+112>>2]=-2147483647;v[m+116>>2]=-2147483647;v[m+104>>2]=2147483647;v[m+108>>2]=2147483647;v[m+40>>2]=0;b=(n-d|0)+3|0;ga:{if(b>>>0<=y[g+24>>2]){break ga}c=v[g+20>>2];if(c){$a(c)}v[g+24>>2]=b;J=g,K=ab((b|0)!=(b&536870911)?-1:b<<3),v[J+20>>2]=K;if((b|0)==v[g+12>>2]){break ga}c=v[g+8>>2];if(c){$a(c)}v[g+12>>2]=b;J=g,K=ab(b),v[J+8>>2]=K}v[g>>2]=2147483632;v[g+16>>2]=v[g+8>>2];b=v[g+20>>2];v[g+28>>2]=b;c=0;u[b+2>>1]=0;b=0;if(s){b=(v[h+88>>2]-v[h+80>>2]|0)+3|0;ha:{if(b>>>0<=y[f+24>>2]){break ha}d=v[f+20>>2];if(d){$a(d)}v[f+24>>2]=b;J=f,K=ab((b|0)!=(b&536870911)?-1:b<<3),v[J+20>>2]=K;if((b|0)==v[f+12>>2]){break ha}d=v[f+8>>2];if(d){$a(d)}v[f+12>>2]=b;J=f,K=ab(b),v[J+8>>2]=K}v[f>>2]=2147483632;v[f+16>>2]=v[f+8>>2];b=v[f+20>>2];v[f+28>>2]=b;u[b+2>>1]=0;b=Gb(h,f)}if(p){c=(v[o+112>>2]-v[o+104>>2]|0)+3|0;ia:{if(c>>>0<=y[i+24>>2]){break ia}d=v[i+20>>2];if(d){$a(d)}v[i+24>>2]=c;J=i,K=ab((c|0)!=(c&536870911)?-1:c<<3),v[J+20>>2]=K;if((c|0)==v[i+12>>2]){break ia}d=v[i+8>>2];if(d){$a(d)}v[i+12>>2]=c;J=i,K=ab(c),v[J+8>>2]=K}v[i>>2]=2147483632;v[i+16>>2]=v[i+8>>2];c=v[i+20>>2];v[i+28>>2]=c;u[c+2>>1]=0;c=Uc(o,i)}if((b|c)!=1){break da}while(1){d=b&1;ja:{ka:{if(!(!d|!(c&1))){b=v[f+4>>2];c=v[i+4>>2];if((b|0)==(c|0)){s1(f,i,g);if(v[g+28>>2]!=v[g+20>>2]){v[g+4>>2]=v[f+4>>2];jj(m,g)}b=Gb(h,f);break ka}if((b|0)<(c|0)){Ie(f,g,m);b=Gb(h,f);d=1;break ja}Ie(i,g,m);b=1;break ka}b=0;if(d){Ie(f,g,m);b=Gb(h,f)}d=0;if(!(c&1)){break ja}Ie(i,g,m)}d=Uc(o,i)}c=d;if(c|b){continue}break}}break R;case 3:if(!(!w[h+1160|0]|v[h+1172>>2]!=2)){rc(h+100|0,h,v[h+1164>>2],v[h+1168>>2]);v[h+1172>>2]=3}Gc(h);s=v[h+12>>2];la:{ma:{if(s){b=v[h+84>>2];v[h+1176>>2]=b;v[o+120>>2]=0;p=v[o+60>>2]!=0;break ma}v[o+120>>2]=0;if(!v[o+60>>2]){break la}b=v[h+84>>2];p=1}r=v[o+116>>2];q=v[o+112>>2];k=v[o+108>>2];l=v[o+104>>2];c=v[h+92>>2];n=v[h+88>>2];d=v[h+80>>2];na:{if(!(!s|!p)){b=(b|0)>(k|0)?k:b;d=(d|0)>(l|0)?l:d;c=(c|0)<(r|0)?r:c;n=(n|0)<(q|0)?q:n;break na}if(s){break na}c=r;n=q;b=k;d=l;if(!p){break la}}if((d|0)>(n|0)|(b|0)>(c|0)){break la}b=v[m+20>>2]-1|0;if((b|0)>=0){while(1){c=v[(v[v[m+32>>2]+(b>>>4&268435452)>>2]+((b&63)<<3)|0)+4>>2];if(c){$a(c)}b=b-1|0;if((b|0)>-1){continue}break}}v[m+60>>2]=0;v[m>>2]=0;v[m+20>>2]=0;v[m+120>>2]=0;v[m+112>>2]=-2147483647;v[m+116>>2]=-2147483647;v[m+104>>2]=2147483647;v[m+108>>2]=2147483647;v[m+40>>2]=0;b=(n-d|0)+3|0;oa:{if(b>>>0<=y[g+24>>2]){break oa}c=v[g+20>>2];if(c){$a(c)}v[g+24>>2]=b;J=g,K=ab((b|0)!=(b&536870911)?-1:b<<3),v[J+20>>2]=K;if((b|0)==v[g+12>>2]){break oa}c=v[g+8>>2];if(c){$a(c)}v[g+12>>2]=b;J=g,K=ab(b),v[J+8>>2]=K}v[g>>2]=2147483632;v[g+16>>2]=v[g+8>>2];b=v[g+20>>2];v[g+28>>2]=b;c=0;u[b+2>>1]=0;b=0;if(s){b=(v[h+88>>2]-v[h+80>>2]|0)+3|0;pa:{if(b>>>0<=y[f+24>>2]){break pa}d=v[f+20>>2];if(d){$a(d)}v[f+24>>2]=b;J=f,K=ab((b|0)!=(b&536870911)?-1:b<<3),v[J+20>>2]=K;if((b|0)==v[f+12>>2]){break pa}d=v[f+8>>2];if(d){$a(d)}v[f+12>>2]=b;J=f,K=ab(b),v[J+8>>2]=K}v[f>>2]=2147483632;v[f+16>>2]=v[f+8>>2];b=v[f+20>>2];v[f+28>>2]=b;u[b+2>>1]=0;b=Gb(h,f)}if(p){c=(v[o+112>>2]-v[o+104>>2]|0)+3|0;qa:{if(c>>>0<=y[i+24>>2]){break qa}d=v[i+20>>2];if(d){$a(d)}v[i+24>>2]=c;J=i,K=ab((c|0)!=(c&536870911)?-1:c<<3),v[J+20>>2]=K;if((c|0)==v[i+12>>2]){break qa}d=v[i+8>>2];if(d){$a(d)}v[i+12>>2]=c;J=i,K=ab(c),v[J+8>>2]=K}v[i>>2]=2147483632;v[i+16>>2]=v[i+8>>2];c=v[i+20>>2];v[i+28>>2]=c;u[c+2>>1]=0;c=Uc(o,i)}if((b|c)!=1){break la}while(1){d=b&1;ra:{sa:{if(!(!d|!(c&1))){b=v[f+4>>2];c=v[i+4>>2];if((b|0)==(c|0)){r1(f,i,g);if(v[g+28>>2]!=v[g+20>>2]){v[g+4>>2]=v[f+4>>2];jj(m,g)}b=Gb(h,f);break sa}if((b|0)<(c|0)){Ie(f,g,m);b=Gb(h,f);d=1;break ra}Ie(i,g,m);b=1;break sa}b=0;if(d){Ie(f,g,m);b=Gb(h,f)}d=0;if(!(c&1)){break ra}Ie(i,g,m)}d=Uc(o,i)}c=d;if(c|b){continue}break}}break R;case 4:if(!(!w[h+1160|0]|v[h+1172>>2]!=2)){rc(h+100|0,h,v[h+1164>>2],v[h+1168>>2]);v[h+1172>>2]=3}Gc(h);s=v[h+12>>2];ta:{ua:{if(s){b=v[h+84>>2];v[h+1176>>2]=b;v[o+120>>2]=0;p=v[o+60>>2]!=0;break ua}v[o+120>>2]=0;if(!v[o+60>>2]){break ta}b=v[h+84>>2];p=1}r=v[o+116>>2];q=v[o+112>>2];k=v[o+108>>2];l=v[o+104>>2];c=v[h+92>>2];n=v[h+88>>2];d=v[h+80>>2];va:{if(!(!s|!p)){b=(b|0)>(k|0)?k:b;d=(d|0)>(l|0)?l:d;c=(c|0)<(r|0)?r:c;n=(n|0)<(q|0)?q:n;break va}if(s){break va}c=r;n=q;b=k;d=l;if(!p){break ta}}if((d|0)>(n|0)|(b|0)>(c|0)){break ta}b=v[m+20>>2]-1|0;if((b|0)>=0){while(1){c=v[(v[v[m+32>>2]+(b>>>4&268435452)>>2]+((b&63)<<3)|0)+4>>2];if(c){$a(c)}b=b-1|0;if((b|0)>-1){continue}break}}v[m+60>>2]=0;v[m>>2]=0;v[m+20>>2]=0;v[m+120>>2]=0;v[m+112>>2]=-2147483647;v[m+116>>2]=-2147483647;v[m+104>>2]=2147483647;v[m+108>>2]=2147483647;v[m+40>>2]=0;b=(n-d|0)+3|0;wa:{if(b>>>0<=y[g+24>>2]){break wa}c=v[g+20>>2];if(c){$a(c)}v[g+24>>2]=b;J=g,K=ab((b|0)!=(b&536870911)?-1:b<<3),v[J+20>>2]=K;if((b|0)==v[g+12>>2]){break wa}c=v[g+8>>2];if(c){$a(c)}v[g+12>>2]=b;J=g,K=ab(b),v[J+8>>2]=K}v[g>>2]=2147483632;v[g+16>>2]=v[g+8>>2];b=v[g+20>>2];v[g+28>>2]=b;c=0;u[b+2>>1]=0;b=0;if(s){b=(v[h+88>>2]-v[h+80>>2]|0)+3|0;xa:{if(b>>>0<=y[f+24>>2]){break xa}d=v[f+20>>2];if(d){$a(d)}v[f+24>>2]=b;J=f,K=ab((b|0)!=(b&536870911)?-1:b<<3),v[J+20>>2]=K;if((b|0)==v[f+12>>2]){break xa}d=v[f+8>>2];if(d){$a(d)}v[f+12>>2]=b;J=f,K=ab(b),v[J+8>>2]=K}v[f>>2]=2147483632;v[f+16>>2]=v[f+8>>2];b=v[f+20>>2];v[f+28>>2]=b;u[b+2>>1]=0;b=Gb(h,f)}if(p){c=(v[o+112>>2]-v[o+104>>2]|0)+3|0;ya:{if(c>>>0<=y[i+24>>2]){break ya}d=v[i+20>>2];if(d){$a(d)}v[i+24>>2]=c;J=i,K=ab((c|0)!=(c&536870911)?-1:c<<3),v[J+20>>2]=K;if((c|0)==v[i+12>>2]){break ya}d=v[i+8>>2];if(d){$a(d)}v[i+12>>2]=c;J=i,K=ab(c),v[J+8>>2]=K}v[i>>2]=2147483632;v[i+16>>2]=v[i+8>>2];c=v[i+20>>2];v[i+28>>2]=c;u[c+2>>1]=0;c=Uc(o,i)}if((b|c)!=1){break ta}while(1){d=b&1;za:{Aa:{if(!(!d|!(c&1))){b=v[f+4>>2];c=v[i+4>>2];if((b|0)==(c|0)){q1(f,i,g);if(v[g+28>>2]!=v[g+20>>2]){v[g+4>>2]=v[f+4>>2];jj(m,g)}b=Gb(h,f);break Aa}if((b|0)<(c|0)){Ie(f,g,m);b=Gb(h,f);d=1;break za}Ie(i,g,m);b=1;break Aa}b=0;if(d){Ie(f,g,m);b=Gb(h,f)}d=0;if(!(c&1)){break za}Ie(i,g,m)}d=Uc(o,i)}c=d;if(c|b){continue}break}}break R;case 5:if(!(!w[h+1160|0]|v[h+1172>>2]!=2)){rc(h+100|0,h,v[h+1164>>2],v[h+1168>>2]);v[h+1172>>2]=3}Gc(h);Ba:{if(!v[h+12>>2]){break Ba}v[h+1176>>2]=v[h+84>>2];v[o+120>>2]=0;d=v[o+60>>2];b=(v[h+88>>2]-v[h+80>>2]|0)+3|0;Ca:{if(b>>>0<=y[g+24>>2]){break Ca}c=v[g+20>>2];if(c){$a(c)}v[g+24>>2]=b;J=g,K=ab((b|0)!=(b&536870911)?-1:b<<3),v[J+20>>2]=K;if((b|0)==v[g+12>>2]){break Ca}c=v[g+8>>2];if(c){$a(c)}v[g+12>>2]=b;J=g,K=ab(b),v[J+8>>2]=K}v[g>>2]=2147483632;v[g+16>>2]=v[g+8>>2];b=v[g+20>>2];v[g+28>>2]=b;u[b+2>>1]=0;b=(v[h+88>>2]-v[h+80>>2]|0)+3|0;Da:{if(b>>>0<=y[f+24>>2]){break Da}c=v[f+20>>2];if(c){$a(c)}v[f+24>>2]=b;J=f,K=ab((b|0)!=(b&536870911)?-1:b<<3),v[J+20>>2]=K;if((b|0)==v[f+12>>2]){break Da}c=v[f+8>>2];if(c){$a(c)}v[f+12>>2]=b;J=f,K=ab(b),v[J+8>>2]=K}v[f>>2]=2147483632;v[f+16>>2]=v[f+8>>2];b=v[f+20>>2];v[f+28>>2]=b;u[b+2>>1]=0;b=(v[o+112>>2]-v[o+104>>2]|0)+3|0;Ea:{if(b>>>0<=y[i+24>>2]){break Ea}c=v[i+20>>2];if(c){$a(c)}v[i+24>>2]=b;J=i,K=ab((b|0)!=(b&536870911)?-1:b<<3),v[J+20>>2]=K;if((b|0)==v[i+12>>2]){break Ea}c=v[i+8>>2];if(c){$a(c)}v[i+12>>2]=b;J=i,K=ab(b),v[J+8>>2]=K}v[i>>2]=2147483632;v[i+16>>2]=v[i+8>>2];b=v[i+20>>2];v[i+28>>2]=b;u[b+2>>1]=0;if(!Gb(h,f)){break Ba}c=0;if(d){c=Uc(o,i)}d=v[m+20>>2]-1|0;if((d|0)>=0){while(1){b=v[(v[v[m+32>>2]+(d>>>4&268435452)>>2]+((d&63)<<3)|0)+4>>2];if(b){$a(b)}d=d-1|0;if((d|0)>-1){continue}break}}v[m+60>>2]=0;v[m>>2]=0;v[m+20>>2]=0;v[m+120>>2]=0;v[m+112>>2]=-2147483647;v[m+116>>2]=-2147483647;v[m+104>>2]=2147483647;v[m+108>>2]=2147483647;v[m+40>>2]=0;while(1){b=0;Fa:{Ga:{if(!(c&1)){break Ga}Ha:{while(1){c=v[i+4>>2];d=v[f+4>>2];if((c|0)<(d|0)){n=2147483632;v[i>>2]=2147483632;l=v[i+8>>2];v[i+16>>2]=l;b=v[i+20>>2];v[i+28>>2]=b;u[b+2>>1]=0;c=v[o+120>>2];while(1){p=c;I=v[o+60>>2];if(I>>>0<=c>>>0){break Ha}s=v[v[o+72>>2]+(p>>>6&67108860)>>2]+B(p&255,12)|0;d=v[s+8>>2];G=v[s+4>>2];while(1){q=v[v[o+52>>2]+(d>>>8&16777212)>>2]+B(d&1023,12)|0;r=v[q+8>>2];Ia:{if((r|0)>=0){c=0;if(r>>>0>=y[o>>2]){break Ia}c=v[v[o+12>>2]+(r>>>10&4194300)>>2]+(r&4095)|0;break Ia}r=r^-1;c=0;if(r>>>0>=y[o+20>>2]){break Ia}c=v[(v[v[o+32>>2]+(r>>>4&268435452)>>2]+((r&63)<<3)|0)+4>>2]}k=v[q>>2];d=d+1|0;r=i;q=v[q+4>>2];Ja:{if((q|0)<=-1){c=w[c|0];Ka:{La:{if((k|0)!=(n+1|0)){break La}n=u[b+2>>1];if((c|0)!=w[v[b+4>>2]]|(n|0)>-1){break La}u[b+2>>1]=n+q;break Ka}t[l|0]=c;c=v[i+28>>2];b=c+8|0;v[i+28>>2]=b;n=v[i+16>>2];l=n+1|0;v[i+16>>2]=l;u[c+10>>1]=q;u[c+8>>1]=k;v[c+12>>2]=n}n=k+(q^-1)|0;break Ja}cb(l,c,q);c=v[i+28>>2];Ma:{Na:{if((k|0)!=(v[i>>2]+1|0)){break Na}b=u[c+2>>1];if((b|0)<1){break Na}u[c+2>>1]=b+q;n=v[i+16>>2];b=c;break Ma}b=c+8|0;v[i+28>>2]=b;n=v[i+16>>2];u[c+10>>1]=q;u[c+8>>1]=k;v[c+12>>2]=n}l=n+q|0;v[i+16>>2]=l;n=(k+q|0)-1|0}v[r>>2]=n;G=G-1|0;if(G){continue}break}c=v[o+120>>2]+1|0;v[o+120>>2]=c;if(v[i+20>>2]==(b|0)){continue}break}v[i+4>>2]=v[s>>2];if(p>>>0>>0){continue}break Ha}break}b=1;if((c|0)!=(d|0)){break Ga}UJ(f,i,g);c=1;if(v[g+28>>2]==v[g+20>>2]){break Fa}v[g+4>>2]=v[f+4>>2];jj(m,g);break Fa}b=0}c=b;Ie(f,g,m)}if(Gb(h,f)){continue}break}}break R;case 6:break S;default:break R}}v[o+120>>2]=0;Oa:{if(!v[o+60>>2]){break Oa}if(!(!w[h+1160|0]|v[h+1172>>2]!=2)){rc(h+100|0,h,v[h+1164>>2],v[h+1168>>2]);v[h+1172>>2]=3}Gc(h);c=v[h+12>>2];if(c){v[h+1176>>2]=v[h+84>>2]}b=(v[o+112>>2]-v[o+104>>2]|0)+3|0;Pa:{if(b>>>0<=y[g+24>>2]){break Pa}d=v[g+20>>2];if(d){$a(d)}v[g+24>>2]=b;J=g,K=ab((b|0)!=(b&536870911)?-1:b<<3),v[J+20>>2]=K;if((b|0)==v[g+12>>2]){break Pa}d=v[g+8>>2];if(d){$a(d)}v[g+12>>2]=b;J=g,K=ab(b),v[J+8>>2]=K}v[g>>2]=2147483632;v[g+16>>2]=v[g+8>>2];b=v[g+20>>2];v[g+28>>2]=b;u[b+2>>1]=0;b=(v[o+112>>2]-v[o+104>>2]|0)+3|0;Qa:{if(b>>>0<=y[i+24>>2]){break Qa}d=v[i+20>>2];if(d){$a(d)}v[i+24>>2]=b;J=i,K=ab((b|0)!=(b&536870911)?-1:b<<3),v[J+20>>2]=K;if((b|0)==v[i+12>>2]){break Qa}d=v[i+8>>2];if(d){$a(d)}v[i+12>>2]=b;J=i,K=ab(b),v[J+8>>2]=K}v[i>>2]=2147483632;v[i+16>>2]=v[i+8>>2];b=v[i+20>>2];v[i+28>>2]=b;u[b+2>>1]=0;b=(v[h+88>>2]-v[h+80>>2]|0)+3|0;Ra:{if(b>>>0<=y[f+24>>2]){break Ra}d=v[f+20>>2];if(d){$a(d)}v[f+24>>2]=b;J=f,K=ab((b|0)!=(b&536870911)?-1:b<<3),v[J+20>>2]=K;if((b|0)==v[f+12>>2]){break Ra}d=v[f+8>>2];if(d){$a(d)}v[f+12>>2]=b;J=f,K=ab(b),v[J+8>>2]=K}v[f>>2]=2147483632;v[f+16>>2]=v[f+8>>2];d=v[f+20>>2];v[f+28>>2]=d;b=0;u[d+2>>1]=0;if(!Uc(o,i)){break Oa}if(c){b=Gb(h,f)}c=v[m+20>>2]-1|0;if((c|0)>=0){while(1){d=v[(v[v[m+32>>2]+(c>>>4&268435452)>>2]+((c&63)<<3)|0)+4>>2];if(d){$a(d)}c=c-1|0;if((c|0)>-1){continue}break}}v[m+60>>2]=0;v[m>>2]=0;v[m+20>>2]=0;v[m+120>>2]=0;v[m+112>>2]=-2147483647;v[m+116>>2]=-2147483647;v[m+104>>2]=2147483647;v[m+108>>2]=2147483647;v[m+40>>2]=0;while(1){c=b&1;b=0;Sa:{Ta:{if(!c){break Ta}while(1){c=v[f+4>>2];d=v[i+4>>2];if((c|0)<(d|0)){if(Gb(h,f)){continue}break Ta}break}b=1;if((c|0)!=(d|0)){break Ta}UJ(i,f,g);if(v[g+28>>2]==v[g+20>>2]){break Sa}v[g+4>>2]=v[i+4>>2];jj(m,g);break Sa}Ie(i,g,m)}if(Uc(o,i)){continue}break}}}v[j+1428>>2]=v[j+1428>>2]==1?2:1;b=v[e+28>>2];if(b){$a(b)}b=v[e+16>>2];if(b){$a(b)}b=v[e+60>>2];if(b){$a(b)}b=v[e+48>>2];if(b){$a(b)}b=v[e+92>>2];if(b){$a(b)}b=v[e+80>>2];if(b){$a(b)}c=v[e+512>>2];if(c){b=c-1|0;v[e+512>>2]=b;d=v[e+520>>2]+(c<<2)|0;while(1){n=e;d=d-4|0;c=v[d>>2];if(c){$a(c);b=v[e+512>>2]}c=b;b=c-1|0;v[n+512>>2]=b;if(c){continue}break}}b=v[e+520>>2];if(b){$a(b)}c=v[e+288>>2];if(c){b=c-1|0;v[e+288>>2]=b;d=v[e+296>>2]+(c<<2)|0;while(1){n=e;d=d-4|0;c=v[d>>2];if(c){$a(c);b=v[e+288>>2]}c=b;b=c-1|0;v[n+288>>2]=b;if(c){continue}break}}b=v[e+296>>2];if(b){$a(b)}c=v[e+544>>2];Ua:{if(!c){break Ua}b=c-1|0;v[e+544>>2]=b;d=v[e+560>>2]+(c<<2)|0;while(1){n=e;d=d-4|0;c=v[d>>2];if(c){$a(c);b=v[e+544>>2]}c=b;b=c-1|0;v[n+544>>2]=b;if(c){continue}break}b=v[e+560>>2];if(!b){break Ua}$a(b)}b=v[e+588>>2];if(b){$a(b)}b=v[e+576>>2];if(!b){break d}$a(b)}t[j+1433|0]=1}Ma=e+1728|0;d=ab(12);v[d+8>>2]=1;v[d>>2]=0;v[d+4>>2]=0;e=ab(8);v[e>>2]=360348;n=ab(32);b=n;v[b+4>>2]=0;v[b+8>>2]=0;v[b+28>>2]=0;v[b+12>>2]=0;v[b+16>>2]=0;u[b+18>>1]=0;u[b+20>>1]=0;u[b+22>>1]=0;u[b+24>>1]=0;v[e+4>>2]=b;c=v[x+4>>2];v[b>>2]=0;b=c;if(v[b>>2]){while(1){b=D>>>6&67108860;i=D&255;p=v[b+v[c+12>>2]>>2]+(i<<4)|0;Td(n,A[p>>3],A[p+8>>3],w[i+v[b+v[c+16>>2]>>2]|0]);D=D+1|0;if(D>>>0>2]){continue}break}b=v[x+4>>2]}v[n+20>>2]=v[c+20>>2];t[n+24|0]=w[b+24|0];t[n+25|0]=w[b+25|0];v[d>>2]=e;b=ab(4);Va:{if(z){Dm(b,z);break Va}_h(b)}v[d+8>>2]=E;v[d+4>>2]=b;c=C+2848|0;b=v[c+4>>2];Wa:{if((b|0)!=v[c+8>>2]){v[b>>2]=d;v[c+4>>2]=b+4;break Wa}Xa:{n=v[c>>2];e=b-n|0;p=e>>2;b=p+1|0;if(b>>>0<1073741824){i=e>>1;i=p>>>0<536870911?b>>>0>i>>>0?b:i:1073741823;if(i){if(i>>>0>=1073741824){break Xa}b=ab(i<<2)}else{b=0}p=b+(p<<2)|0;v[p>>2]=d;if((e|0)>=1){cb(b,n,e)}v[c+8>>2]=b+(i<<2);v[c+4>>2]=p+4;v[c>>2]=b;if(n){$a(n)}break Wa}Jc();L()}Zd(273730);L()}}me(H);Ma=F+16|0;break a}e=v[a+16>>2];c=e;b=c+96|0;t[c+192|0]=0;v[c+160>>2]=2147483647;v[c+164>>2]=2147483647;v[c+144>>2]=2147483647;v[c+148>>2]=2147483647;v[c+104>>2]=0;v[c+108>>2]=0;u[b+1432>>1]=0;v[b+1172>>2]=0;v[c+184>>2]=-2147483647;v[c+188>>2]=-2147483647;v[c+176>>2]=2147483647;v[c+180>>2]=2147483647;v[c+168>>2]=0;v[c+172>>2]=0;v[c+152>>2]=0;v[c+156>>2]=0;n=c;b=v[c+2852>>2];d=v[c+2848>>2];if((b|0)!=(d|0)){while(1){c=v[d>>2];if(c){b=v[c>>2];if(b){$a(tt(b));v[c>>2]=0}b=v[c+4>>2];if(b){$a(me(b))}$a(c);b=v[e+2852>>2]}d=d+4|0;if((d|0)!=(b|0)){continue}break}d=v[e+2848>>2]}v[n+2852>>2]=d;v[a+632>>2]=0}v[a+624>>2]=0;return 0}function xja(a){a=a|0;var 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,y=0,z=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=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;M=Ma-16|0;Ma=M;v[M+8>>2]=0;qb(M+8|0,a);qb(a+160|0,0);F=Ma-48|0;Ma=F;a:{b:{c:{d:{if(w[a+144|0]){Z=Mf();th(F+16|0,v[a+156>>2]);b=ab(28);v[b+8>>2]=1;v[b+4>>2]=0;v[b>>2]=971904;c=v[F+16>>2];if(c){v[c+4>>2]=v[c+4>>2]+1;P=v[F+16>>2]}v[b+24>>2]=0;v[b+12>>2]=P;v[F+8>>2]=0;c=F+8|0;qb(c,b);v[b+16>>2]=a;v[b+20>>2]=3750;i=Ma-144|0;Ma=i;e:{f:{g:{h:{h=a;if(w[a+144|0]){_=Mf();v[i+104>>2]=0;v[i+108>>2]=v[279250];Ve(i+96|0,c);H=v[i+96>>2];if(!Ad(H,i+104|0,0)){break h}a=i+104|0;U=Hb(a,311242,-1);Q=Hb(a,309208,-1);j=h+60|0;i:{j:{if(Hb(a,316701,-1)){a=Hb(i+104|0,316735,-1);N=!a;c=224898;if(!U|!Q){break i}if(!a){break j}lb(mb(i+112|0,283099,241865,1281,335347));L()}N=1;c=224898;if(!U|!Q){break i}}N=1;c=316653}oi(j,c);a=Qa[v[v[H>>2]+16>>2]](H)|0;O=h+52|0;c=v[h+140>>2];X=v[h+132>>2]>1?c:-1;if(X){V=Ad(H,i+104|0,0);k:{if(!V){break k}P=X;while(1){v[i+88>>2]=0;p=i+88|0;qb(p,H);a=i+112|0;e=!U;d=!Q;c=Ma-288|0;Ma=c;l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{if(w[h+144|0]){if(v[h+4>>2]==1){break B}j=v[p>>2];D=Oc(a,262166);v[c+280>>2]=0;v[c+284>>2]=v[279250];a=v[i+104>>2];C:{if(a){Qa[v[v[a>>2]+28>>2]](c+216|0,a,1);break C}v[c+216>>2]=0}jb(c+280|0,c+216|0);b=v[c+216>>2];v[c+216>>2]=0;D:{if(!b){break D}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break D}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}}a=v[c+280>>2];v[c+284>>2]=v[(a?a+12|0:1117e3)>>2];E:{if(!(Hb(c+280|0,310682,-1)|!(d|e))){if(v[h+8>>2]){break A}if(e){break z}a=c+264|0;RE(a);IR(v[c+264>>2],j);jb(h+8|0,a);Gd(D,244222,0);a=v[h+8>>2];if(v[a+8>>2]<0|v[a+12>>2]<=-1){break y}if(v[a+16>>2]>=50){break x}b=v[c+264>>2];v[c+264>>2]=0;if(!b){break E}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break E}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}break E}if(!(Hb(c+280|0,311183,-1)|!(N?1:d|e))){YE(c+272|0,h,j,-1);a=v[c+272>>2];F:{if(a){G:{if(!(v[a+148>>2]&4|(v[a+148>>2]&1|v[a+148>>2]&2))){XE(a);break G}if(v[v[c+272>>2]+148>>2]&2){a=Mf();Qa[v[v[a>>2]+40>>2]](a,v[c+272>>2],2,0);break G}if(!(v[v[c+272>>2]+148>>2]&4)){break G}a=Mf();Qa[v[v[a>>2]+40>>2]](a,v[c+272>>2],4,0)}d=c+256|0;e=ze(c+216|0,v[c+272>>2]+72|0);fh(d,e);b=c+264|0;Rc(b,348986,d);a=v[c+264>>2];Gd(D,v[(a?a+12|0:1117e3)>>2],0);db(b);db(d);v[e+24>>2]=969432;v[e>>2]=969400;b=v[e+28>>2];if(b){a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(!a){Qa[v[v[b>>2]+4>>2]](b)}v[e+28>>2]=0}v[e+16>>2]=969432;b=v[e+20>>2];if(b){a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(!a){Qa[v[v[b>>2]+4>>2]](b)}v[e+20>>2]=0}db(e+8|0);break F}Gd(D,319703,0)}b=v[c+272>>2];v[c+272>>2]=0;if(!b){break E}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break E}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}break E}if(!(Hb(c+280|0,217577,-1)|!(d|e))){if(v[h+24>>2]){break w}b=ab(72);v[b+8>>2]=0;v[b>>2]=984096;v[b+4>>2]=0;a=v[279250];v[b+16>>2]=0;v[b+20>>2]=0;v[b+12>>2]=a;v[b+44>>2]=-1;v[b+36>>2]=-1;v[b+40>>2]=0;v[b+28>>2]=0;v[b+32>>2]=0;v[b+24>>2]=984372;v[b+68>>2]=-1;v[b+60>>2]=-1;v[b+64>>2]=0;v[b+52>>2]=0;v[b+56>>2]=0;v[b+48>>2]=984392;r=c+216|0;a=r;v[a>>2]=0;qb(a,b);k=Ma-3344|0;Ma=k;b=v[c+216>>2];v[b+16>>2]=0;qb(b+20|0,0);xd(b+24|0);v[k+16>>2]=0;t[k+12|0]=0;v[k+8>>2]=984196;s=pc(k+24|0,k+20|0,20500,1);G=pc(k+36|0,k+32|0,20500,4);E=pc(k+48|0,k+44|0,20500,4);v[k+68>>2]=0;v[k+72>>2]=0;t[k+76|0]=0;v[k+60>>2]=0;v[k+64>>2]=0;u[k+56>>1]=0;l=k+80|0;v[l+20>>2]=-1;a=l;v[a+12>>2]=-1;v[a+16>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a>>2]=971392;j=k+104|0;v[j+20>>2]=-1;a=j;v[a+12>>2]=-1;v[a+16>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a>>2]=971392;e=k+128|0;v[e+20>>2]=-1;a=e;v[a+12>>2]=-1;v[a+16>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a>>2]=984392;t[k+176|0]=0;v[k+168>>2]=0;v[k+172>>2]=0;v[k+160>>2]=0;v[k+164>>2]=0;v[k+188>>2]=0;v[k+192>>2]=0;v[k+196>>2]=0;v[k+200>>2]=0;v[k+152>>2]=0;v[k+156>>2]=0;v[k+180>>2]=0;v[k+184>>2]=0;eb(k+248|0,0,3072);t[v[k+20>>2]]=0;v[v[k+44>>2]>>2]=0;v[v[k+32>>2]>>2]=0;v[k+3328>>2]=0;v[k+3320>>2]=0;v[k+3324>>2]=0;v[k+8>>2]=984128;v[k+16>>2]=1;f=k+8|0;vQ(f,p);v[k+3328>>2]=0;v[k+3324>>2]=0;v[k+3336>>2]=0;p=k+3336|0;qb(p,b);y=Ma-48|0;Ma=y;H:{I:{J:{K:{m=v[p>>2];if(m){v[y+12>>2]=0;while(1){z=y+8|0;n=Ma-48|0;Ma=n;v[n+16>>2]=0;v[n+8>>2]=0;Qa[v[v[f>>2]+16>>2]](f,y+20|0);L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{d=v[y+20>>2];switch(d-2|0){case 0:case 3:break U;default:break T}}if(!z){break S}if(!w[f+4|0]){b=JE(ab(72));v[n+24>>2]=0;a=n+24|0;qb(a,b);jb(z+4|0,a);b=v[n+24>>2];v[n+24>>2]=0;V:{if(!b){break V}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break V}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}}v[z>>2]=-1}jb(n+8|0,z+4|0);d=v[y+20>>2]}W:{X:{switch(d|0){case 0:a=v[p>>2];if(!a){break R}Qa[v[v[f>>2]+28>>2]](f,a);aa=f,ba=Qa[v[v[f>>2]+8>>2]](f,w[f+48|0],f+68|0)|0,t[aa+48|0]=ba;if(w[f+4|0]){break W}sQ(f,a);break W;case 5:if(!z){break Q}d=v[p>>2];if(!d){break Q}C=Qa[v[v[f>>2]+20>>2]](f,z,d)|0;b=v[z>>2];Y:{while(1){a=v[d+16>>2];if((a|0)<=(b|0)){a=b-a|0;if((a|0)>=v[d+40>>2]&(a|0)<=v[d+44>>2]){break Y}lb(mb(n+24|0,227376,271519,619,307655));L()}d=v[d+20>>2];if(d){continue}break}lb(mb(n+24|0,239984,241993,165,327454));L()}jb(n+16|0,(v[d+28>>2]+B(a-v[d+32>>2]|0,12)|0)+4|0);if((C|0)>2]|(C|0)>v[f+140>>2]){break P}a=v[f+124>>2]+(C-v[f+128>>2]<<4)|0;Qa[v[v[f>>2]+44>>2]](f,v[n+8>>2],(v[a+8>>2]-v[a+4>>2]|0)+1|0,(v[a>>2]-v[a+12>>2]|0)+1|0,4);fE(f,v[n+8>>2],n+16|0,v[z>>2]);break W;case 10:a=v[p>>2];if(!a){break O}Qa[v[v[f>>2]+12>>2]](f,a+8|0);break W;case 9:if(!w[f+49|0]){a=v[p>>2];if(!a){break N}Qa[v[v[f>>2]+24>>2]](f,a);break W}v[f+52>>2]=0;v[f+56>>2]=0;v[f+144>>2]=0;v[f+148>>2]=0;v[f+172>>2]=0;v[f+176>>2]=0;v[f+60>>2]=0;v[f+64>>2]=0;v[f+152>>2]=0;v[f+156>>2]=0;v[f+160>>2]=0;v[f+164>>2]=0;v[f+180>>2]=0;v[f+184>>2]=0;v[f+188>>2]=0;v[f+192>>2]=0;Rh(f+16|0,1,0);Rh(f+28|0,4,0);Rh(f+40|0,4,0);v[f+8>>2]=1;break W;default:lb(mb(n+24|0,278523,241993,1026,332199));L();case 11:break W;case 2:break X}}Qa[v[v[f>>2]+40>>2]](f,v[n+8>>2],4);qu(f,v[n+8>>2])}Z:{if(!w[f+4|0]){_:{switch(v[y+20>>2]-2|0){case 0:case 3:if(!z){break M}a=v[p>>2];if(!a){break M}qQ(f,hE(a,z),z);break;default:break _}}d=v[n+8>>2];if(!d){break Z}Qp(d)}d=v[n+8>>2]}v[n+8>>2]=0;$:{if(!d){break $}a=v[d+4>>2]-1|0;v[d+4>>2]=a;if(a){break $}a=v[d+4>>2];if(!a){v[d+4>>2]=-32767}if(!a){Qa[v[v[d>>2]+4>>2]](d)}}b=v[n+16>>2];v[n+16>>2]=0;aa:{if(!b){break aa}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break aa}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}}Ma=n+48|0;break L}lb(mb(n+24|0,239984,241993,946,332199));L()}lb(mb(n+24|0,239984,241993,965,332199));L()}lb(mb(n+24|0,239984,241993,984,332199));L()}lb(mb(n+24|0,227376,271519,619,306979));L()}lb(mb(n+24|0,239984,241993,999,332199));L()}lb(mb(n+24|0,239984,241993,1012,332199));L()}lb(mb(n+24|0,239984,241993,1040,332199));L()}if(v[y+20>>2]!=11){continue}break}if(!w[f+49|0]){break K}a=v[m+16>>2];n=((a+v[m+44>>2]|0)-v[m+40>>2]|0)+1|0;pi(m+48|0,0,n+(a^-1)|0);if((a|0)>=(n|0)){break J}b=a;while(1){if(!(v[f+136>>2]<=(b|0)&v[f+140>>2]>=(b|0))){break I}d=b-a|0;if((d|0)>2]|(d|0)>v[m+68>>2]){break I}p=v[m+52>>2]+(d-v[m+56>>2]<<4)|0;z=v[f+124>>2]+(b-v[f+128>>2]<<4)|0;d=v[z+4>>2];v[p>>2]=v[z>>2];v[p+4>>2]=d;d=v[z+12>>2];v[p+8>>2]=v[z+8>>2];v[p+12>>2]=d;b=b+1|0;if((n|0)!=(b|0)){continue}break}break J}lb(mb(y+24|0,239984,241993,1063,334985));L()}lb(mb(y+24|0,227206,241993,1075,334985));L()}ba:{a=v[m+40>>2];if((a|0)>v[m+44>>2]){break ba}while(1){Qp(v[(v[m+28>>2]+B(a-v[m+32>>2]|0,12)|0)+4>>2]);if(v[m+44>>2]<=(a|0)){break ba}a=a+1|0;if((a|0)>=v[m+40>>2]){continue}break}lb(mb(y+24|0,227376,271519,619,307655));L()}b=v[y+12>>2];v[y+12>>2]=0;ca:{if(!b){break ca}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break ca}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}}Ma=y+48|0;break H}lb(mb(y+24|0,227376,271519,619,306979));L()}b=v[k+3336>>2];v[k+3336>>2]=0;da:{if(!b){break da}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break da}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}}v[k+8>>2]=984128;b=v[k+3320>>2];v[k+3320>>2]=0;ea:{if(!b){break ea}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break ea}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}}v[k+8>>2]=984196;xd(e);xd(j);xd(l);ec(E);ec(G);ec(s);Ma=k+3344|0;jb(h+24|0,r);a=v[c+216>>2];v[c>>2]=((v[a+16>>2]+v[a+44>>2]|0)-v[a+40>>2]|0)+1;Gd(D,291779,c);b=v[c+216>>2];v[c+216>>2]=0;if(!b){break E}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break E}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}break E}if(!(Hb(c+280|0,217572,-1)|!(d|e))){if(v[h+20>>2]){break v}s=h+20|0;a=uQ(ab(108));v[c+216>>2]=0;qb(c+216|0,a);a=v[h+8>>2];if(!(!a|v[a+16>>2]>18)){t[v[c+216>>2]+104|0]=1}f=Ma-3344|0;Ma=f;b=v[c+216>>2];v[b+72>>2]=0;v[b+76>>2]=0;xd(b+80|0);v[b+16>>2]=0;qb(b+20|0,0);xd(b+24|0);v[f+16>>2]=0;t[f+12|0]=0;v[f+8>>2]=984196;G=pc(f+24|0,f+20|0,20500,1);E=pc(f+36|0,f+32|0,20500,4);C=pc(f+48|0,f+44|0,20500,4);v[f+68>>2]=0;v[f+72>>2]=0;t[f+76|0]=0;v[f+60>>2]=0;v[f+64>>2]=0;u[f+56>>1]=0;l=f+80|0;v[l+20>>2]=-1;a=l;v[a+12>>2]=-1;v[a+16>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a>>2]=971392;j=f+104|0;v[j+20>>2]=-1;a=j;v[a+12>>2]=-1;v[a+16>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a>>2]=971392;e=f+128|0;v[e+20>>2]=-1;a=e;v[a+12>>2]=-1;v[a+16>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a>>2]=984392;t[f+176|0]=0;v[f+168>>2]=0;v[f+172>>2]=0;v[f+160>>2]=0;v[f+164>>2]=0;v[f+188>>2]=0;v[f+192>>2]=0;v[f+196>>2]=0;v[f+200>>2]=0;v[f+152>>2]=0;v[f+156>>2]=0;v[f+180>>2]=0;v[f+184>>2]=0;eb(f+248|0,0,3072);t[v[f+20>>2]]=0;v[v[f+44>>2]>>2]=0;v[v[f+32>>2]>>2]=0;v[f+3328>>2]=0;v[f+3320>>2]=0;v[f+3324>>2]=0;v[f+8>>2]=984128;v[f+16>>2]=1;g=f+8|0;vQ(g,p);v[f+3328>>2]=h;v[f+3324>>2]=3751;v[f+3336>>2]=0;n=f+3336|0;qb(n,b);m=Ma+-64|0;Ma=m;fa:{ga:{z=v[n>>2];if(z){v[m+12>>2]=0;while(1){y=m+8|0;k=m+24|0;o=Ma-48|0;Ma=o;v[o+16>>2]=0;v[o+8>>2]=0;Qa[v[v[g>>2]+16>>2]](g,m+36|0);ha:{ia:{ja:{ka:{la:{ma:{na:{oa:{pa:{qa:{ra:{sa:{ta:{ua:{va:{wa:{a=v[m+36>>2];if(!(a-1>>>0>=6&(a|0)!=8)){if(!y){break wa}if(!w[g+4|0]){b=JE(ab(72));v[o+24>>2]=0;a=o+24|0;qb(a,b);jb(y+4|0,a);b=v[o+24>>2];v[o+24>>2]=0;xa:{if(!b){break xa}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break xa}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}}v[y>>2]=-1;v[y>>2]=v[m+36>>2]==8?-2:-1}jb(o+16|0,y+4|0);a=v[m+36>>2]}ya:{za:{switch(a|0){case 0:a=v[n>>2];if(!a){break va}Qa[v[v[g>>2]+32>>2]](g,a);aa=g,ba=Qa[v[v[g>>2]+8>>2]](g,w[g+48|0],g+68|0)|0,t[aa+48|0]=ba;if(w[g+4|0]){break ya}sQ(g,a);break ya;case 2:Qa[v[v[g>>2]+40>>2]](g,v[o+16>>2],4);qu(g,v[o+16>>2]);break ya;case 3:Qa[v[v[g>>2]+40>>2]](g,v[o+16>>2],3);qu(g,v[o+16>>2]);a=v[o+16>>2];Nr(g,k,x[a+8>>1],x[a+10>>1]);break ya;case 4:if(!y){break ua}b=v[n>>2];if(!b){break ua}r=Qa[v[v[g>>2]+20>>2]](g,y,b)|0;d=v[y>>2];Aa:{while(1){a=v[b+16>>2];if((a|0)<=(d|0)){a=d-a|0;if((a|0)>=v[b+40>>2]&(a|0)<=v[b+44>>2]){break Aa}break ka}b=v[b+20>>2];if(b){continue}break}break ja}jb(o+8|0,(v[b+28>>2]+B(a-v[b+32>>2]|0,12)|0)+4|0);if((r|0)>2]|(r|0)>v[g+140>>2]){break ia}a=v[g+124>>2]+(r-v[g+128>>2]<<4)|0;Qa[v[v[g>>2]+44>>2]](g,v[o+16>>2],(v[a+8>>2]-v[a+4>>2]|0)+1|0,(v[a>>2]-v[a+12>>2]|0)+1|0,4);fE(g,v[o+16>>2],o+8|0,r);a=v[o+16>>2];Nr(g,k,x[a+8>>1],x[a+10>>1]);break ya;case 5:if(!y){break ta}b=v[n>>2];if(!b){break ta}r=Qa[v[v[g>>2]+20>>2]](g,y,b)|0;d=v[y>>2];Ba:{while(1){a=v[b+16>>2];if((a|0)<=(d|0)){a=d-a|0;if((a|0)>=v[b+40>>2]&(a|0)<=v[b+44>>2]){break Ba}break ka}b=v[b+20>>2];if(b){continue}break}break ja}jb(o+8|0,(v[b+28>>2]+B(a-v[b+32>>2]|0,12)|0)+4|0);if((r|0)>2]|(r|0)>v[g+140>>2]){break ia}a=v[g+124>>2]+(r-v[g+128>>2]<<4)|0;Qa[v[v[g>>2]+44>>2]](g,v[o+16>>2],(v[a+8>>2]-v[a+4>>2]|0)+1|0,(v[a>>2]-v[a+12>>2]|0)+1|0,4);break ya;case 6:if(!y){break sa}b=v[n>>2];if(!b){break sa}r=Qa[v[v[g>>2]+20>>2]](g,y,b)|0;d=v[y>>2];Ca:{while(1){a=v[b+16>>2];if((a|0)<=(d|0)){a=d-a|0;if((a|0)>=v[b+40>>2]&(a|0)<=v[b+44>>2]){break Ca}break ka}b=v[b+20>>2];if(b){continue}break}break ja}jb(o+8|0,(v[b+28>>2]+B(a-v[b+32>>2]|0,12)|0)+4|0);if((r|0)>2]|(r|0)>v[g+140>>2]){break ia}a=v[g+124>>2]+(r-v[g+128>>2]<<4)|0;Qa[v[v[g>>2]+44>>2]](g,v[o+16>>2],(v[a+8>>2]-v[a+4>>2]|0)+1|0,(v[a>>2]-v[a+12>>2]|0)+1|0,4);fE(g,v[o+16>>2],o+8|0,r);a=v[o+16>>2];Nr(g,k,x[a+8>>1],x[a+10>>1]);break ya;case 7:if(w[g+4|0]){v[o+4>>2]=v[k+4>>2]}a=v[n>>2];if(!a){break ra}r=Qa[v[v[g>>2]+20>>2]](g,o+4|0,a)|0;Da:{if(w[g+4|0]){p=v[k+4>>2];break Da}p=v[o+4>>2];v[k+4>>2]=p}b=a;Ea:{while(1){d=v[b+16>>2];if((d|0)<=(p|0)){d=p-d|0;if((d|0)>=v[b+40>>2]&(d|0)<=v[b+44>>2]){break Ea}break ka}b=v[b+20>>2];if(b){continue}break}break ja}jb(o+16|0,(v[b+28>>2]+B(d-v[b+32>>2]|0,12)|0)+4|0);if((r|0)>2]|(r|0)>v[g+140>>2]){break ia}r=v[g+124>>2]+(r-v[g+128>>2]<<4)|0;d=v[r+4>>2];u[k>>1]=d+x[k>>1];b=v[r+12>>2];u[k+2>>1]=b+x[k+2>>1];Fa:{if(w[a+104|0]){a=v[o+16>>2];Nr(g,k,x[a+8>>1],x[a+10>>1]);break Fa}Nr(g,k,(v[r>>2]-b|0)+1|0,(v[r+8>>2]-d|0)+1|0)}u[k>>1]=x[k>>1]-x[r+4>>1];u[k+2>>1]=x[k+2>>1]-x[r+12>>1];break ya;case 8:Qa[v[v[g>>2]+40>>2]](g,v[o+16>>2],3);qu(g,v[o+16>>2]);a=v[o+16>>2];Qa[v[v[g>>2]+36>>2]](g,k,x[a+8>>1],x[a+10>>1]);break ya;case 10:a=v[n>>2];if(!a){break qa}Qa[v[v[g>>2]+12>>2]](g,a+8|0);break ya;case 9:a=v[n>>2];if(!a){break pa}if(!w[g+49|0]){Qa[v[v[g>>2]+24>>2]](g,a);break ya}v[g+52>>2]=0;v[g+56>>2]=0;v[g+144>>2]=0;v[g+148>>2]=0;v[g+172>>2]=0;v[g+176>>2]=0;v[g+60>>2]=0;v[g+64>>2]=0;v[g+152>>2]=0;v[g+156>>2]=0;v[g+160>>2]=0;v[g+164>>2]=0;v[g+180>>2]=0;v[g+184>>2]=0;v[g+188>>2]=0;v[g+192>>2]=0;Rh(g+16|0,1,0);Rh(g+28|0,4,0);Rh(g+40|0,4,0);v[g+8>>2]=1;break ya;default:lb(mb(o+24|0,278458,241993,1272,331611));L();case 11:break ya;case 1:break za}}Qa[v[v[g>>2]+40>>2]](g,v[o+16>>2],4);qu(g,v[o+16>>2]);a=v[o+16>>2];Nr(g,k,x[a+8>>1],x[a+10>>1])}Ga:{if(w[g+4|0]){break Ga}b=-1;p=v[m+36>>2];if(!(p-1>>>0>=6&(p|0)!=8)){if(!y){break oa}a=v[n>>2];if(!a){break oa}b=hE(a,y);p=v[g+88>>2];Ha:{if((b|0)>=(p|0)){d=v[g+92>>2];if((d|0)>=(b|0)){break Ha}}Ur(g+72|0,b);d=v[g+92>>2];p=v[g+88>>2]}if((b|0)<(p|0)|(b|0)>(d|0)){break na}v[v[g+76>>2]+(b-v[g+80>>2]<<2)>>2]=-1;p=v[m+36>>2]}if(!(!(1<>>0>5)){if(!y){break ma}qQ(g,b,y)}a=v[o+16>>2];if(a){Qp(a)}a=v[m+36>>2];if(a>>>0>8){break Ga}Ia:{if(!(1<>2]=b}a=v[n>>2];if(!a){break la}tQ(a,k)}b=v[o+8>>2];v[o+8>>2]=0;Ja:{if(!b){break Ja}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break Ja}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}}b=v[o+16>>2];v[o+16>>2]=0;Ka:{if(!b){break Ka}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break Ka}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}}Ma=o+48|0;break ha}lb(mb(o+24|0,239984,241993,1115,331611));L()}lb(mb(o+24|0,239984,241993,1136,331611));L()}lb(mb(o+24|0,239984,241993,1169,331611));L()}lb(mb(o+24|0,239984,241993,1185,331611));L()}lb(mb(o+24|0,239984,241993,1199,331611));L()}lb(mb(o+24|0,239984,241993,1217,331611));L()}lb(mb(o+24|0,239984,241993,1245,331611));L()}lb(mb(o+24|0,239984,241993,1255,331611));L()}lb(mb(o+24|0,239984,241993,1292,331611));L()}lb(mb(o+24|0,227376,271519,619,306765));L()}lb(mb(o+24|0,239984,241993,1310,331611));L()}lb(mb(o+24|0,239984,241993,1331,331611));L()}lb(mb(o+24|0,227376,271519,619,307655));L()}lb(mb(o+24|0,239984,241993,165,327454));L()}lb(mb(o+24|0,227376,271519,619,306979));L()}if(v[m+36>>2]!=11){continue}break}if(!w[g+49|0]){break ga}La:{a=v[z+40>>2];if((a|0)>v[z+44>>2]){break La}while(1){Qp(v[(v[z+28>>2]+B(a-v[z+32>>2]|0,12)|0)+4>>2]);if(v[z+44>>2]<=(a|0)){break La}a=a+1|0;if((a|0)>=v[z+40>>2]){continue}break}lb(mb(m+40|0,227376,271519,619,307655));L()}b=v[m+12>>2];v[m+12>>2]=0;Ma:{if(!b){break Ma}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break Ma}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}}Ma=m- -64|0;break fa}lb(mb(m+40|0,239984,241993,1347,335438));L()}lb(mb(m+40|0,227206,241993,1362,335438));L()}b=v[f+3336>>2];v[f+3336>>2]=0;Na:{if(!b){break Na}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break Na}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}}v[f+8>>2]=984128;b=v[f+3320>>2];v[f+3320>>2]=0;Oa:{if(!b){break Oa}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break Oa}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}}v[f+8>>2]=984196;xd(e);xd(j);xd(l);ec(C);ec(E);ec(G);Ma=f+3344|0;jb(s,c+216|0);a=v[c+216>>2];b=v[a+72>>2];a=v[a+76>>2];aa=c,ba=lo(h,b,a),v[aa+24>>2]=ba;v[c+20>>2]=a;v[c+16>>2]=b;Gd(D,291857,c+16|0);b=v[c+216>>2];v[c+216>>2]=0;if(!b){break E}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break E}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}break E}if(!(Hb(c+280|0,238983,-1)|!(d|e))){if(v[h+20>>2]){break u}a=v[h+148>>2];b=a|2048;if((a|0)!=(b|0)){v[h+148>>2]=b}a=c;b=v[p>>2];if(b){v[b+4>>2]=v[b+4>>2]+1;j=v[p>>2]}else{j=0}v[a+208>>2]=j;f=c+216|0;R=f;q=Ma-96|0;Ma=q;a=q- -64|0;e=Ma-32|0;Ma=e;Pa:{Qa:{d=v[c+208>>2];b=hs(d);if((b&-4)==1296912896){v[q+60>>2]=b&1;aa=q,ba=yj(d),v[aa+68>>2]=ba;j=a;a=yj(d);v[j>>2]=a;if(v[q+68>>2]<1|(a|0)<=0){break Qa}Ma=e+32|0;a=(b&2)>>>1|0;break Pa}lb(mb(e+8|0,239911,241290,862,333578));L()}lb(mb(e+8|0,239938,241290,868,333578));L()}j=a;a=uQ(ab(108));v[R>>2]=0;qb(R,a);I=v[q+68>>2];b=I;a=v[R>>2];p=v[q+64>>2];v[a+76>>2]=p;v[a+72>>2]=b;b=(b|0)/17|0;a=(p|0)/22|0;a=(a|0)<(b|0)?b:a;a=(a|0)>64?a:64;S=(a|0)<500?a:500;g=S-1|0;T=(I+g|0)/(S|0)|0;d=0;a=v[c+208>>2];if(a){v[a+4>>2]=v[a+4>>2]+1;d=v[c+208>>2]}v[q+48>>2]=d;z=Ma-16|0;Ma=z;e=ab(80);v[e+24>>2]=0;a=e;v[a+16>>2]=0;v[a+20>>2]=0;v[a+12>>2]=p;v[a+8>>2]=I;v[a>>2]=984480;v[a+4>>2]=0;C=pc(a+32|0,a+28|0,I+8|0,1);l=pc(a+44|0,a+40|0,v[a+8>>2]+4|0,2);b=pc(a+56|0,a+52|0,v[a+8>>2]+4|0,2);v[a+72>>2]=0;v[a+76>>2]=0;v[a+64>>2]=0;v[a+68>>2]=0;Rh(C,1,0);Rh(l,2,0);Rh(b,2,0);b=x[a+8>>1];u[v[a+40>>2]>>1]=b;u[v[a+52>>2]>>1]=b;b=q+56|0;v[b>>2]=0;qb(b,a);r=0;a=v[q+48>>2];if(a){v[a+4>>2]=v[a+4>>2]+1;r=v[q+48>>2]}v[z+8>>2]=r;a=0;n=Ma-16|0;Ma=n;b=e;Ra:{if(j){l=yj(v[z+8>>2]);break Ra}l=v[e+12>>2]}v[b+24>>2]=l;G=n+8|0;l=G;m=ab(100);v[m>>2]=984420;v[m+4>>2]=0;b=v[z+8>>2];if(b){v[b+4>>2]=v[b+4>>2]+1;a=v[z+8>>2]}v[m+80>>2]=0;v[m+84>>2]=0;v[m+12>>2]=a;v[m+8>>2]=a;v[m+96>>2]=-1;v[m+88>>2]=0;v[m+92>>2]=0;v[l>>2]=0;qb(l,m);if(j){aa=m,ba=hs(v[m+12>>2]),v[aa+96>>2]=ba}b=32;v[m+84>>2]=32;E=m+16|0;s=v[m+92>>2];a=v[m+88>>2];while(1){Sa:{if((a|0)>=(s|0)){v[m+88>>2]=0;v[m+92>>2]=0;a=v[m+96>>2];b=a>>>0<64?a:64;if((b|0)<1){break Sa}a=v[m+12>>2];s=Qa[v[v[a>>2]+8>>2]](a,E,b)|0;v[m+92>>2]=s;v[m+96>>2]=v[m+96>>2]-s;if((s|0)<1){break Sa}b=v[m+84>>2];a=v[m+88>>2]}j=a+1|0;v[m+88>>2]=j;l=b-8|0;v[m+84>>2]=l;v[m+80>>2]=v[m+80>>2]|w[(a+m|0)+16|0]<15;b=l;a=j;if(C){continue}}break}jb(e- -64|0,G);b=v[n+8>>2];v[n+8>>2]=0;Ta:{if(!b){break Ta}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break Ta}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}}b=ab(28);v[b+12>>2]=0;v[b+8>>2]=984496;v[b>>2]=984436;v[b+4>>2]=0;pc(b+20|0,b+16|0,0,1);v[n+8>>2]=0;a=n+8|0;qb(a,b);eE(b,7);jb(e+68|0,a);b=v[n+8>>2];v[n+8>>2]=0;Ua:{if(!b){break Ua}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break Ua}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}}b=ab(28);v[b+12>>2]=0;v[b+8>>2]=984560;v[b>>2]=984436;v[b+4>>2]=0;pc(b+20|0,b+16|0,0,1);v[n+8>>2]=0;a=n+8|0;qb(a,b);eE(b,13);jb(e+76|0,a);b=v[n+8>>2];v[n+8>>2]=0;Va:{if(!b){break Va}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break Va}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}}b=ab(28);v[b+12>>2]=0;v[b+8>>2]=985200;v[b>>2]=984436;v[b+4>>2]=0;pc(b+20|0,b+16|0,0,1);v[n+8>>2]=0;a=n+8|0;qb(a,b);eE(b,13);jb(e+72|0,a);b=v[n+8>>2];v[n+8>>2]=0;Wa:{if(!b){break Wa}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break Wa}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}}Ma=n+16|0;v[z+8>>2]=0;Xa:{if(!r){break Xa}a=v[r+4>>2]-1|0;v[r+4>>2]=a;if(a){break Xa}a=v[r+4>>2];if(!a){v[r+4>>2]=-32767}if(!a){Qa[v[v[r>>2]+4>>2]](r)}}Ma=z+16|0;v[q+48>>2]=0;Ya:{if(!d){break Ya}a=v[d+4>>2]-1|0;v[d+4>>2]=a;if(a){break Ya}a=v[d+4>>2];if(!a){v[d+4>>2]=-32767}if(!a){Qa[v[v[d>>2]+4>>2]](d)}}J=v[q+56>>2];Za:{_a:{if((p|0)>=1){E=v[q+60>>2]!=0;k=T-1|0;y=q+8|4;K=p-1|0;m=(I|0)<1;while(1){n=io(q+24|0,970988,k);r=(g|0)<(K|0)?g:K;$a:{if((r|0)<0){break $a}e=r;if(!m){K=(r^-1)+K|0;while(1){W=mQ(J);if(W){z=r+1|0;b=0;s=E;a=0;p=0;while(1){C=(a|0)>(T|0)?a:T;G=p;p=x[W>>1]+p|0;l=a;e=a;j=b;d=b;ab:{if(!(s&1)){while(1){b=j;a=l;if((C|0)==(a|0)){a=C;break ab}l=a+1|0;d=b+S|0;j=(d|0)<(I|0)?d:I;if((p|0)>=(j|0)){continue}break ab}}bb:{while(1){if((e|0)==(C|0)){a=C;b=d;break ab}cb:{a=v[q+40>>2];if((a|0)>(e|0)){break cb}b=v[q+44>>2];if((e|0)>(b|0)){break cb}j=d+S|0;j=(j|0)<(I|0)?j:I;if(!v[v[q+28>>2]+(e-v[q+32>>2]<<2)>>2]){a=Rp(ab(72),z,j-d|0,0);v[q+8>>2]=0;qb(q+8|0,a);if(v[q+44>>2]<(e|0)|v[q+40>>2]>(e|0)){break _a}jb(v[q+28>>2]+(e-v[q+32>>2]<<2)|0,q+8|0);b=v[q+8>>2];v[q+8>>2]=0;db:{if(!b){break db}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break db}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}}b=v[q+44>>2];a=v[q+40>>2]}if((b|0)<(e|0)|(a|0)>(e|0)){break _a}a=v[v[q+28>>2]+(e-v[q+32>>2]<<2)>>2];if(!v[a+20>>2]){Re(a)}eb:{if(x[a+8>>1]<=(r|0)){b=x[a+14>>1];a=x[a+12>>1];if(v[279246]<(b+a|0)){break bb}a=a+v[279245]|0;break eb}a=v[a+20>>2]+(x[a+12>>1]+B(x[a+14>>1],r)|0)|0}l=(p|0)<(j|0);b=l?p:j;o=(d|0)<(G|0)?G:d;if((b|0)>(o|0)){eb(a+(o-d|0)|0,1,b-o|0)}b=d;a=e;e=a+1|0;d=j;if(l){break ab}continue}break}break _a}lb(mb(q+72|0,260021,271561,577,327329));L()}W=W+2|0;s=s^1;if((p|0)<(I|0)){continue}break}}a=(r|0)>0;r=r-1|0;if(a){continue}break}break $a}while(1){mQ(J);a=(e|0)>0;e=e-1|0;if(a){continue}break}K=(r^-1)+K|0}e=0;if((T|0)>0){b=K+1|0;while(1){v[q+12>>2]=0;if(!(v[q+40>>2]<=(e|0)&v[q+44>>2]>=(e|0))){break _a}jb(y,v[q+28>>2]+(e-v[q+32>>2]<<2)|0);d=v[q+12>>2];if(d){v[q+8>>2]=-1;Qp(d);u[q+74>>1]=b;u[q+72>>1]=B(e,S);aa=q,ba=hE(v[R>>2],q+8|0),v[aa+76>>2]=ba;tQ(v[R>>2],q+72|0);d=v[q+12>>2]}v[q+12>>2]=0;fb:{if(!d){break fb}a=v[d+4>>2]-1|0;v[d+4>>2]=a;if(a){break fb}a=v[d+4>>2];if(!a){v[d+4>>2]=-32767}if(!a){Qa[v[v[d>>2]+4>>2]](d)}}e=e+1|0;if((T|0)!=(e|0)){continue}break}}xd(n);if((K|0)>-1){continue}break}J=v[q+56>>2]}v[q+56>>2]=0;gb:{if(!J){break gb}a=v[J+4>>2]-1|0;v[J+4>>2]=a;if(a){break gb}a=v[J+4>>2];if(!a){v[J+4>>2]=-32767}if(!a){Qa[v[v[J>>2]+4>>2]](J)}}Ma=q+96|0;break Za}lb(mb(q+72|0,227376,271519,619,307798));L()}jb(h+20|0,f);b=v[c+216>>2];v[c+216>>2]=0;hb:{if(!b){break hb}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break hb}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}}b=v[c+208>>2];v[c+208>>2]=0;ib:{if(!b){break ib}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break ib}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}}a=v[h+20>>2];b=v[a+72>>2];a=v[a+76>>2];aa=c,ba=lo(h,b,a),v[aa+40>>2]=ba;v[c+36>>2]=a;v[c+32>>2]=b;Gd(D,291884,c+32|0);break E}if(!(Hb(c+280|0,316773,-1)|!(d|e))){e=h+12|0;a=v[h+12>>2];if(!a){if(v[h+16>>2]){break t}lE(c+216|0);d=v[c+216>>2];a=c;b=v[p>>2];if(b){v[b+4>>2]=v[b+4>>2]+1;j=v[p>>2]}else{j=0}v[a+200>>2]=j;Qa[v[v[d>>2]+40>>2]](d,c+200|0)|0;b=v[c+200>>2];v[c+200>>2]=0;jb:{if(!b){break jb}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break jb}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}}jb(e,c+216|0);a=v[v[c+216>>2]+12>>2];if(a){j=v[a+4>>2]}else{j=0}a=v[v[c+216>>2]+12>>2];if(a){e=v[a+8>>2]}else{e=0}C=c;b=h;a=v[v[c+216>>2]+12>>2];if(a){a=v[a+4>>2]}else{a=0}l=v[v[c+216>>2]+12>>2];if(l){l=v[l+8>>2]}else{l=0}aa=C,ba=lo(b,a,l),v[aa+56>>2]=ba;v[c+52>>2]=e;v[c+48>>2]=j;Gd(D,292005,c+48|0);b=v[c+216>>2];v[c+216>>2]=0;if(!b){break E}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break E}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}break E}v[a+4>>2]=v[a+4>>2]+1;l=v[e>>2];a=c;b=v[p>>2];if(b){v[b+4>>2]=v[b+4>>2]+1;j=v[p>>2]}else{j=0}v[a+192>>2]=j;Qa[v[v[l>>2]+40>>2]](l,c+192|0)|0;b=v[c+192>>2];v[c+192>>2]=0;kb:{if(!b){break kb}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break kb}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}}j=Qa[v[v[l>>2]+52>>2]](l)|0;C=c;b=h;a=v[l+12>>2];if(a){a=v[a+4>>2]}else{a=0}e=v[l+12>>2];if(e){e=v[e+8>>2]}else{e=0}aa=C,ba=lo(b,a,e),v[aa+68>>2]=ba;v[c+64>>2]=j;Gd(D,292063,c- -64|0);a=v[l+4>>2]-1|0;v[l+4>>2]=a;if(a){break E}a=v[l+4>>2];if(!a){v[l+4>>2]=-32767}if(!a){Qa[v[v[l>>2]+4>>2]](l)}break E}if(!(Hb(c+280|0,316750,-1)|!d)){if(v[h+28>>2]|v[h+32>>2]){break s}lE(c+216|0);l=v[c+216>>2];b=h+28|0;a=c;d=v[p>>2];if(d){v[d+4>>2]=v[d+4>>2]+1;j=v[p>>2]}else{j=0}v[a+184>>2]=j;Qa[v[v[l>>2]+40>>2]](l,c+184|0)|0;d=v[c+184>>2];v[c+184>>2]=0;lb:{if(!d){break lb}a=v[d+4>>2]-1|0;v[d+4>>2]=a;if(a){break lb}a=v[d+4>>2];if(!a){v[d+4>>2]=-32767}if(!a){Qa[v[v[d>>2]+4>>2]](d)}}a=c+264|0;Qa[v[v[l>>2]+16>>2]](a,l);jb(b,a);b=v[c+264>>2];v[c+264>>2]=0;mb:{if(!b){break mb}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break mb}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}}a=v[l+12>>2];if(a){j=v[a+4>>2]}else{j=0}a=v[l+12>>2];if(a){e=v[a+8>>2]}else{e=0}C=c;b=h;a=v[l+12>>2];if(a){a=v[a+4>>2]}else{a=0}l=v[l+12>>2];if(l){l=v[l+8>>2]}else{l=0}aa=C,ba=lo(b,a,l),v[aa+152>>2]=ba;v[c+148>>2]=e;v[c+144>>2]=j;Gd(D,291911,c+144|0);b=v[c+216>>2];v[c+216>>2]=0;if(!b){break E}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break E}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}break E}nb:{if(!(Hb(c+280|0,311199,-1)|!(d|e))){if(v[h+12>>2]|v[h+16>>2]){break r}if(!v[291403]){break nb}a=v[h+148>>2];b=a&-129|128;if((a|0)!=(b|0)){v[h+148>>2]=b}a=v[h+148>>2];b=a&-2049|2048;if((a|0)!=(b|0)){v[h+148>>2]=b}a=v[h+148>>2];b=a&-4097|4096;if((a|0)!=(b|0)){v[h+148>>2]=b}a=c+216|0;Qa[v[291403]](a,j);jb(h+16|0,a);db(a);a=v[h+16>>2];b=x[a+10>>1];a=x[a+8>>1];aa=c,ba=lo(h,b,a),v[aa+88>>2]=ba;v[c+84>>2]=a;v[c+80>>2]=b;Gd(D,291972,c+80|0);break E}if(!(Hb(c+280|0,242387,-1)|!(d|e))){if(v[h+12>>2]|v[h+16>>2]){break q}a=v[h+148>>2];b=a&-2049|2048;if((a|0)!=(b|0)){v[h+148>>2]=b}Gd(D,319745,0);break E}if(!(Hb(c+280|0,242382,-1)|!(d|e))){if(v[h+28>>2]|v[h+32>>2]){break p}Gd(D,319726,0);break E}if(!(Hb(c+280|0,263376,-1)|!(d|e))){if(v[h+12>>2]){break o}Gd(D,272869,0);break E}if(!(Hb(c+280|0,263371,-1)|!(d|e))){if(v[h+28>>2]|v[h+32>>2]){break n}Gd(D,272828,0);break E}if(!(Hb(c+280|0,217582,-1)|!(d|e))){if(v[h+28>>2]|v[h+32>>2]){break m}b=ab(68);v[b>>2]=972572;v[b+4>>2]=0;v[b+28>>2]=-1;v[b+20>>2]=-1;v[b+24>>2]=0;v[b+12>>2]=0;v[b+16>>2]=0;v[b+8>>2]=972608;v[b+32>>2]=0;v[b+36>>2]=0;v[b+60>>2]=-1;v[b+52>>2]=-1;v[b+56>>2]=0;v[b+44>>2]=0;v[b+48>>2]=0;v[b+40>>2]=971392;v[b+64>>2]=0;a=c+216|0;v[a>>2]=0;qb(a,b);s=v[c+216>>2];a=c;b=v[p>>2];if(b){v[b+4>>2]=v[b+4>>2]+1;j=v[p>>2]}else{j=0}v[a+176>>2]=j;b=Ma-48|0;Ma=b;C=c+176|0;j=C;e=v[j>>2];a=v[s+36>>2];if(a){vd(a);$a(a)}a=v[s+64>>2];if(a){vd(a);$a(a)}l=h+32|0;v[s+64>>2]=0;v[s+32>>2]=0;v[s+36>>2]=0;ob:{pb:{qb:{rb:{sb:{tb:{ub:{vb:{a=Me(e);if(!(a&127)){G=yj(e);if(G>>>0>=65536){break vb}d=0;pi(s+40|0,0,G-1|0);if(G){while(1){em(e,b+16|0,3);if(v[s+60>>2]<(d|0)|v[s+56>>2]>(d|0)){break pb}t[v[s+44>>2]+(d-v[s+48>>2]<<2)|0]=w[b+16|0];if(v[s+60>>2]<(d|0)|v[s+56>>2]>(d|0)){break pb}t[(v[s+44>>2]+(d-v[s+48>>2]<<2)|0)+1|0]=w[b+17|0];if(v[s+60>>2]<(d|0)|v[s+56>>2]>(d|0)){break pb}t[(v[s+44>>2]+(d-v[s+48>>2]<<2)|0)+2|0]=w[b+18|0];if(v[s+60>>2]<(d|0)|v[s+56>>2]>(d|0)){break pb}t[(v[s+44>>2]+(d-v[s+48>>2]<<2)|0)+3|0]=(B(w[b+17|0],9)+(w[b+16|0]<<1)|0)+B(w[b+18|0],5)>>>4;d=d+1|0;if((G|0)!=(d|0)){continue}break}}if(!(a&128)){break qb}E=Wp(e);if((E|0)<=-1){break ub}pi(s+8|0,0,E-1|0);d=0;a=b;e=v[j>>2];if(e){v[e+4>>2]=v[e+4>>2]+1;j=v[j>>2]}else{j=0}v[a+8>>2]=j;Vu(b+16|0,b+8|0);e=v[b+8>>2];v[b+8>>2]=0;wb:{if(!e){break wb}a=v[e+4>>2]-1|0;v[e+4>>2]=a;if(a){break wb}a=v[e+4>>2];if(!a){v[e+4>>2]=-32767}if(!a){Qa[v[v[e>>2]+4>>2]](e)}}j=v[b+16>>2];a=j;if((E|0)<=0){break rb}while(1){e=yj(j);a=e<<16;if(!((a|0)>=0&(G|0)>a>>16)){lb(mb(b+24|0,276036,241820,600,331267));L()}if(v[s+28>>2]<(d|0)|v[s+24>>2]>(d|0)){break tb}u[v[s+12>>2]+(d-v[s+16>>2]<<1)>>1]=e;d=d+1|0;if((E|0)!=(d|0)){continue}break}break sb}lb(mb(b+24|0,247580,241820,569,331267));L()}lb(mb(b+24|0,276036,241820,573,331267));L()}lb(mb(b+24|0,276036,241820,591,331267));L()}lb(mb(b+24|0,227376,271519,619,306625));L()}a=v[b+16>>2]}v[b+16>>2]=0;if(!a){break qb}d=v[a+4>>2]-1|0;v[a+4>>2]=d;if(d){break qb}d=v[a+4>>2];if(!d){v[a+4>>2]=-32767}if(!d){Qa[v[v[a>>2]+4>>2]](a)}}Ma=b+48|0;break ob}lb(mb(b+24|0,227376,271519,619,307173));L()}db(C);d=c+216|0;jb(l,d);e=v[c+216>>2];b=v[e+24>>2];a=v[e+28>>2];v[c+96>>2]=(v[e+60>>2]-v[e+56>>2]|0)+1;v[c+100>>2]=(a-b|0)+1;Gd(D,291803,c+96|0);db(d);break E}xb:{if(Hb(c+280|0,316706,-1)){if(Hb(c+280|0,316740,-1)){break xb}}if(!N){break xb}e=h+12|0;a=v[h+12>>2];if(!a){lE(c+216|0);d=v[c+216>>2];a=c;b=v[p>>2];if(b){v[b+4>>2]=v[b+4>>2]+1;j=v[p>>2]}else{j=0}v[a+168>>2]=j;a=c+168|0;Qa[v[v[d>>2]+40>>2]](d,a)|0;db(a);E=c+264|0;RE(E);j=v[c+264>>2];a=v[v[c+216>>2]+12>>2];if(a){a=v[a+4>>2]}else{a=0}v[j+8>>2]=a;a=v[v[c+216>>2]+12>>2];if(a){b=v[a+8>>2]}else{b=0}a=v[c+264>>2];v[a+20>>2]=100;v[a+12>>2]=b;C=c+216|0;jb(e,C);jb(h+8|0,E);a=v[v[c+216>>2]+12>>2];if(a){j=v[a+4>>2]}else{j=0}a=v[v[c+216>>2]+12>>2];if(a){e=v[a+8>>2]}else{e=0}d=c;b=h;a=v[v[c+216>>2]+12>>2];if(a){a=v[a+4>>2]}else{a=0}l=v[v[c+216>>2]+12>>2];if(l){l=v[l+8>>2]}else{l=0}aa=d,ba=lo(b,a,l),v[aa+120>>2]=ba;v[c+116>>2]=e;v[c+112>>2]=j;Gd(D,292033,c+112|0);db(E);db(C);break E}v[a+4>>2]=v[a+4>>2]+1;e=v[e>>2];v[c+216>>2]=e;a=c;b=v[p>>2];if(b){v[b+4>>2]=v[b+4>>2]+1;j=v[p>>2]}else{j=0}v[a+160>>2]=j;a=c+160|0;Qa[v[v[e>>2]+40>>2]](e,a)|0;db(a);j=Qa[v[v[e>>2]+52>>2]](e)|0;l=c;b=h;a=v[e+12>>2];if(a){a=v[a+4>>2]}else{a=0}e=v[e+12>>2];if(e){e=v[e+8>>2]}else{e=0}aa=l,ba=lo(b,a,e),v[aa+132>>2]=ba;v[c+128>>2]=j;Gd(D,292088,c+128|0);db(c+216|0);break E}if(!Hb(c+280|0,310384,-1)){a=qy(ab(128),h+72|0);b=c+216|0;v[b>>2]=0;qb(b,a);FR(v[c+216>>2],j);jb(h+48|0,b);Gd(D,238988,0);db(b);break E}if(!Hb(c+280|0,310650,-1)){lg(c+216|0);d=v[c+216>>2];Rg(d,j);Qa[v[v[d>>2]+20>>2]](d,0,0,0)|0;b=h+36|0;a=v[h+36>>2];if(!a){a=c+264|0;lg(a);jb(b,a);db(a);a=v[b>>2]}Qa[v[v[a>>2]+20>>2]](a,0,2,0)|0;Rg(v[b>>2],d);Gd(D,324160,0);db(c+216|0);break E}a=1;b=c+280|0;yb:{if(!Hb(b,306565,-1)){break yb}if(!Hb(b,217592,-1)){break yb}a=!Hb(b,310650,-1)}if(a){lg(c+216|0);e=v[c+216>>2];Rg(e,j);Qa[v[v[e>>2]+20>>2]](e,0,0,0)|0;d=h+36|0;a=v[h+36>>2];if(!a){a=c+264|0;lg(a);jb(d,a);db(a);a=v[d>>2]}Qa[v[v[a>>2]+20>>2]](a,0,2,0)|0;b=c+264|0;Ve(b,d);d=v[c+264>>2];a=v[i+104>>2];Uf(d,v[(a?a+12|0:1117e3)>>2],0);WE(d,e);Od(d);Gd(D,319617,0);db(b);db(c+216|0);break E}a=c+280|0;if(Hb(a,306560,-1)){a=Hb(a,217587,-1)}else{a=0}if(!a){lg(c+216|0);e=v[c+216>>2];Rg(e,j);Qa[v[v[e>>2]+20>>2]](e,0,0,0)|0;d=h+40|0;a=v[h+40>>2];if(!a){a=c+264|0;lg(a);jb(d,a);db(a);a=v[d>>2]}Qa[v[v[a>>2]+20>>2]](a,0,2,0)|0;b=c+264|0;Ve(b,d);d=v[c+264>>2];a=v[i+104>>2];Uf(d,v[(a?a+12|0:1117e3)>>2],0);WE(d,e);Od(d);Gd(D,225231,0);db(b);db(c+216|0);break E}a=c+280|0;if(Hb(a,306570,-1)){a=Hb(a,217597,-1)}else{a=0}if(!a){lg(c+216|0);e=v[c+216>>2];Rg(e,j);Qa[v[v[e>>2]+20>>2]](e,0,0,0)|0;d=h+44|0;a=v[h+44>>2];if(!a){a=c+264|0;lg(a);jb(d,a);db(a);a=v[d>>2]}Qa[v[v[a>>2]+20>>2]](a,0,2,0)|0;b=c+264|0;Ve(b,d);d=v[c+264>>2];a=v[i+104>>2];Uf(d,v[(a?a+12|0:1117e3)>>2],0);WE(d,e);Od(d);db(b);db(c+216|0);break E}if(Hb(c+280|0,308605,-1)){break E}lb(mb(c+216|0,224877,241865,1244,330276));L()}Gd(D,319162,0)}db(c+280|0);Ma=c+288|0;break l}lb(mb(c+216|0,231556,241865,164,226745));L()}lb(mb(c+216|0,v[279243],241865,869,330276));L()}lb(mb(c+216|0,258460,241865,879,330276));L()}lb(mb(c+216|0,310664,241865,881,330276));L()}lb(mb(c+216|0,243697,241865,889,330276));L()}lb(mb(c+216|0,325511,241865,892,330276));L()}lb(mb(c+216|0,220329,241865,928,330276));L()}lb(mb(c+216|0,220309,241865,941,330276));L()}lb(mb(c+216|0,220309,241865,958,330276));L()}lb(mb(c+216|0,287302,241865,972,330276));L()}lb(mb(c+216|0,287326,241865,995,330276));L()}lb(mb(c+216|0,287302,241865,1009,330276));L()}lb(mb(c+216|0,287302,241865,1029,330276));L()}lb(mb(c+216|0,287326,241865,1054,330276));L()}lb(mb(c+216|0,287302,241865,1078,330276));L()}lb(mb(c+216|0,287326,241865,1086,330276));L()}lb(mb(c+216|0,287326,241865,1094,330276));L()}c=v[i+88>>2];v[i+88>>2]=0;zb:{if(!c){break zb}a=v[c+4>>2]-1|0;v[c+4>>2]=a;if(a){break zb}a=v[c+4>>2];if(!a){v[c+4>>2]=-32767}if(!a){Qa[v[v[c>>2]+4>>2]](c)}}v[i+88>>2]=0;v[i+92>>2]=v[279250];a=v[i+104>>2];v[i+56>>2]=v[(a?a+12|0:1117e3)>>2];A[i+48>>3]=+(V|0)*.0009765625;b=i+88|0;Gd(b,237223,i+48|0);c=i- -64|0;Xb(c,O,i+112|0);a=i+72|0;Xb(a,c,b);ic(i+80|0,a,348279);a=v[i+80>>2];Ab:{if(a){Qa[v[v[a>>2]+28>>2]](i+136|0,a,1);break Ab}v[i+136>>2]=0}P=P-1|0;jb(O,i+136|0);c=v[i+136>>2];v[i+136>>2]=0;Bb:{if(!c){break Bb}a=v[c+4>>2]-1|0;v[c+4>>2]=a;if(a){break Bb}a=v[c+4>>2];if(!a){v[c+4>>2]=-32767}if(!a){Qa[v[v[c>>2]+4>>2]](c)}}a=v[h+52>>2];v[h+56>>2]=v[(a?a+12|0:1117e3)>>2];db(i+80|0);db(i+72|0);db(i- -64|0);Qa[v[v[_>>2]+36>>2]](_,h,i+104|0);eo(H);a=Qa[v[v[H>>2]+16>>2]](H)|0;db(i+88|0);db(i+112|0);if(P){Y=Y+1|0;V=Ad(H,i+104|0,0);if(!V){break k}continue}break}Y=X}c=v[h+140>>2]}if((c|0)<=-1){v[h+140>>2]=Y}v[h+68>>2]=a;Od(H);a=v[h+12>>2];if(a){Qa[v[v[a>>2]+48>>2]](a)}d=v[h+8>>2];if(!(d?1:Q)){break g}if(!d&N){break f}if(d){v[i+112>>2]=0;v[i+116>>2]=v[279250];Cb:{if(!(U?Q:0)){b=v[d+16>>2];c=v[d+20>>2];a=v[d+12>>2];v[i+16>>2]=v[d+8>>2];v[i+20>>2]=a;aa=i,ba=D3a(b,c,32),v[aa+24>>2]=ba;v[i+28>>2]=Pa;Gd(i+112|0,291938,i+16|0);break Cb}if(!N){break Cb}c=v[d+8>>2];a=v[d+12>>2];v[i+40>>2]=v[d+20>>2];v[i+32>>2]=c;v[i+36>>2]=a;Gd(i+112|0,291826,i+32|0)}a=i+80|0;ic(a,i+112|0,348279);Xb(i+88|0,a,O);a=v[i+88>>2];Db:{if(a){Qa[v[v[a>>2]+28>>2]](i+72|0,a,1);break Db}v[i+72>>2]=0}jb(O,i+72|0);c=v[i+72>>2];v[i+72>>2]=0;Eb:{if(!c){break Eb}a=v[c+4>>2]-1|0;v[c+4>>2]=a;if(a){break Eb}a=v[c+4>>2];if(!a){v[c+4>>2]=-32767}if(!a){Qa[v[v[c>>2]+4>>2]](c)}}a=v[h+52>>2];v[h+56>>2]=v[(a?a+12|0:1117e3)>>2];b=i+88|0;db(b);db(i+80|0);a=v[h+8>>2];c=v[a+12>>2];a=v[a+8>>2];$=+v[h+68>>2];A[i+8>>3]=$*.0009765625;A[i>>3]=+(B(B(a,c),3)|0)/$;a=i+112|0;Gd(a,273559,i);Xb(b,O,a);a=v[i+88>>2];Fb:{if(a){Qa[v[v[a>>2]+28>>2]](i+80|0,a,1);break Fb}v[i+80>>2]=0}jb(O,i+80|0);c=v[i+80>>2];v[i+80>>2]=0;Gb:{if(!c){break Gb}a=v[c+4>>2]-1|0;v[c+4>>2]=a;if(a){break Gb}a=v[c+4>>2];if(!a){v[c+4>>2]=-32767}if(!a){Qa[v[v[c>>2]+4>>2]](c)}}a=v[h+52>>2];v[h+56>>2]=v[(a?a+12|0:1117e3)>>2];db(i+88|0);db(i+112|0)}c=v[i+96>>2];v[i+96>>2]=0;Hb:{if(!c){break Hb}a=v[c+4>>2]-1|0;v[c+4>>2]=a;if(a){break Hb}a=v[c+4>>2];if(!a){v[c+4>>2]=-32767}if(!a){Qa[v[v[c>>2]+4>>2]](c)}}db(i+104|0);Ma=i+144|0;break e}lb(mb(i+112|0,231556,241865,164,226745));L()}lb(mb(i+112|0,v[279242],241865,1270,335347));L()}lb(mb(i+112|0,244191,241865,1335,335347));L()}lb(mb(i+112|0,316670,241865,1337,335347));L()}while(1){d=0;c=Ma-32|0;Ma=c;Ib:{if(w[h+144|0]){v[c+8>>2]=0;a=v[h+120>>2];Jb:{if(!a){break Jb}while(1){if(!(v[v[a+8>>2]+148>>2]&1)){a=v[a>>2];if(a){continue}break Jb}break}jb(c+8|0,a+8|0);b=v[c+8>>2];v[c+8>>2]=0;if(!b){break Jb}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(!a){a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}}d=1}Ma=c+32|0;break Ib}lb(mb(c+8|0,231556,241865,164,226745));L()}if(d){continue}break}a=v[h+120>>2];if(a){while(1){if(v[v[a+8>>2]+148>>2]&4){break d}if(v[v[a+8>>2]+148>>2]&8){break c}if(!(v[v[a+8>>2]+148>>2]&2)){break b}a=v[a>>2];if(a){continue}break}}c=v[F+8>>2];v[F+8>>2]=0;Kb:{if(!c){break Kb}a=v[c+4>>2]-1|0;v[c+4>>2]=a;if(a){break Kb}a=v[c+4>>2];if(!a){v[c+4>>2]=-32767}if(!a){Qa[v[v[c>>2]+4>>2]](c)}}c=v[F+16>>2];v[F+16>>2]=0;Lb:{if(!c){break Lb}a=v[c+4>>2]-1|0;v[c+4>>2]=a;if(a){break Lb}a=v[c+4>>2];if(!a){v[c+4>>2]=-32767}if(!a){Qa[v[v[c>>2]+4>>2]](c)}}if(mi(h+148|0,1,66,1)){Qa[v[v[Z>>2]+40>>2]](Z,h,66,1)}Ma=F+48|0;break a}lb(mb(F+24|0,231556,241865,164,226745));L()}lb(mb(F+24|0,260355,241865,500,333222));L()}lb(mb(F+24|0,v[279243],241865,502,333222));L()}lb(mb(F+24|0,291303,241865,509,333222));L()}c=v[M+8>>2];v[M+8>>2]=0;Mb:{if(!c){break Mb}a=v[c+4>>2]-1|0;v[c+4>>2]=a;if(a){break Mb}a=v[c+4>>2];if(!a){v[c+4>>2]=-32767}if(!a){Qa[v[v[c>>2]+4>>2]](c)}}Ma=M+16|0}function X1a(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,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,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0;u=c&1;r=(d|0)/16<<4;c=a;if((d|0)>=16){while(1){m5(c,e,f,u);k=c;a:{if((e|0)<2){break a}x=(e-u|0)+1|0;s=x>>1;j=(B(s,f)<<2)+k|0;h=j;if(u){i=v[j>>2];g=v[k>>2];g=x3a(g,g>>31,-25987,-1);v[j>>2]=i+((Pa&8191)<<19|g>>>13);i=v[j+4>>2];g=v[k+4>>2];g=x3a(g,g>>31,-25987,-1);v[j+4>>2]=i+((Pa&8191)<<19|g>>>13);i=v[j+8>>2];g=v[k+8>>2];g=x3a(g,g>>31,-25987,-1);v[j+8>>2]=i+((Pa&8191)<<19|g>>>13);i=v[j+12>>2];g=v[k+12>>2];g=x3a(g,g>>31,-25987,-1);v[j+12>>2]=i+((Pa&8191)<<19|g>>>13);i=v[j+16>>2];g=v[k+16>>2];g=x3a(g,g>>31,-25987,-1);v[j+16>>2]=i+((Pa&8191)<<19|g>>>13);i=v[j+20>>2];g=v[k+20>>2];g=x3a(g,g>>31,-25987,-1);v[j+20>>2]=i+((Pa&8191)<<19|g>>>13);i=v[j+24>>2];g=v[k+24>>2];g=x3a(g,g>>31,-25987,-1);v[j+24>>2]=i+((Pa&8191)<<19|g>>>13);i=v[j+28>>2];g=v[k+28>>2];g=x3a(g,g>>31,-25987,-1);v[j+28>>2]=i+((Pa&8191)<<19|g>>>13);i=v[j+32>>2];g=v[k+32>>2];g=x3a(g,g>>31,-25987,-1);v[j+32>>2]=i+((Pa&8191)<<19|g>>>13);i=v[j+36>>2];g=v[k+36>>2];g=x3a(g,g>>31,-25987,-1);v[j+36>>2]=i+((Pa&8191)<<19|g>>>13);i=v[j+40>>2];g=v[k+40>>2];g=x3a(g,g>>31,-25987,-1);v[j+40>>2]=i+((Pa&8191)<<19|g>>>13);i=v[j+44>>2];g=v[k+44>>2];g=x3a(g,g>>31,-25987,-1);v[j+44>>2]=i+((Pa&8191)<<19|g>>>13);i=v[j+48>>2];g=v[k+48>>2];g=x3a(g,g>>31,-25987,-1);v[j+48>>2]=i+((Pa&8191)<<19|g>>>13);i=v[j+52>>2];g=v[k+52>>2];g=x3a(g,g>>31,-25987,-1);v[j+52>>2]=i+((Pa&8191)<<19|g>>>13);i=v[j+56>>2];g=v[k+56>>2];g=x3a(g,g>>31,-25987,-1);v[j+56>>2]=i+((Pa&8191)<<19|g>>>13);i=v[j+60>>2];g=v[k+60>>2];g=x3a(g,g>>31,-25987,-1);v[j+60>>2]=i+((Pa&8191)<<19|g>>>13);h=(f<<2)+j|0}w=e-s|0;m=e&1;z=(m|0)==(u|0);l=(w-u|0)-z|0;b:{if((l|0)<1){i=k;break b}n=f<<2;p=l;g=k;while(1){o=v[h>>2];i=g+n|0;q=v[i>>2]+v[g>>2]|0;q=x3a(q,q>>31,-12993,-1);v[h>>2]=o+((Pa&8191)<<19|q>>>13);o=v[h+4>>2];q=v[n+(g+4|0)>>2]+v[g+4>>2]|0;q=x3a(q,q>>31,-12993,-1);v[h+4>>2]=o+((Pa&8191)<<19|q>>>13);o=v[h+8>>2];q=v[n+(g+8|0)>>2]+v[g+8>>2]|0;q=x3a(q,q>>31,-12993,-1);v[h+8>>2]=o+((Pa&8191)<<19|q>>>13);o=v[h+12>>2];q=v[n+(g+12|0)>>2]+v[g+12>>2]|0;q=x3a(q,q>>31,-12993,-1);v[h+12>>2]=o+((Pa&8191)<<19|q>>>13);o=v[h+16>>2];q=v[n+(g+16|0)>>2]+v[g+16>>2]|0;q=x3a(q,q>>31,-12993,-1);v[h+16>>2]=o+((Pa&8191)<<19|q>>>13);o=v[h+20>>2];q=v[n+(g+20|0)>>2]+v[g+20>>2]|0;q=x3a(q,q>>31,-12993,-1);v[h+20>>2]=o+((Pa&8191)<<19|q>>>13);o=v[h+24>>2];q=v[n+(g+24|0)>>2]+v[g+24>>2]|0;q=x3a(q,q>>31,-12993,-1);v[h+24>>2]=o+((Pa&8191)<<19|q>>>13);o=v[h+28>>2];q=v[n+(g+28|0)>>2]+v[g+28>>2]|0;q=x3a(q,q>>31,-12993,-1);v[h+28>>2]=o+((Pa&8191)<<19|q>>>13);o=v[h+32>>2];q=v[n+(g+32|0)>>2]+v[g+32>>2]|0;q=x3a(q,q>>31,-12993,-1);v[h+32>>2]=o+((Pa&8191)<<19|q>>>13);o=v[h+36>>2];q=v[n+(g+36|0)>>2]+v[g+36>>2]|0;q=x3a(q,q>>31,-12993,-1);v[h+36>>2]=o+((Pa&8191)<<19|q>>>13);o=v[h+40>>2];q=v[n+(g+40|0)>>2]+v[g+40>>2]|0;q=x3a(q,q>>31,-12993,-1);v[h+40>>2]=o+((Pa&8191)<<19|q>>>13);o=v[h+44>>2];q=v[n+(g+44|0)>>2]+v[g+44>>2]|0;q=x3a(q,q>>31,-12993,-1);v[h+44>>2]=o+((Pa&8191)<<19|q>>>13);o=v[h+48>>2];q=v[n+(g+48|0)>>2]+v[g+48>>2]|0;q=x3a(q,q>>31,-12993,-1);v[h+48>>2]=o+((Pa&8191)<<19|q>>>13);o=v[h+52>>2];q=v[n+(g+52|0)>>2]+v[g+52>>2]|0;q=x3a(q,q>>31,-12993,-1);v[h+52>>2]=o+((Pa&8191)<<19|q>>>13);o=v[h+56>>2];q=v[n+(g+56|0)>>2]+v[g+56>>2]|0;q=x3a(q,q>>31,-12993,-1);v[h+56>>2]=o+((Pa&8191)<<19|q>>>13);q=v[h+60>>2];g=v[n+(g+60|0)>>2]+v[g+60>>2]|0;g=x3a(g,g>>31,-12993,-1);v[h+60>>2]=q+((Pa&8191)<<19|g>>>13);h=h+n|0;q=(p|0)>1;p=p-1|0;g=i;if(q){continue}break}}q=(m|0)!=(u|0);if(!q){p=v[h>>2];g=v[i>>2];g=x3a(g,g>>31,-25987,-1);v[h>>2]=p+((Pa&8191)<<19|g>>>13);p=v[h+4>>2];g=v[i+4>>2];g=x3a(g,g>>31,-25987,-1);v[h+4>>2]=p+((Pa&8191)<<19|g>>>13);p=v[h+8>>2];g=v[i+8>>2];g=x3a(g,g>>31,-25987,-1);v[h+8>>2]=p+((Pa&8191)<<19|g>>>13);p=v[h+12>>2];g=v[i+12>>2];g=x3a(g,g>>31,-25987,-1);v[h+12>>2]=p+((Pa&8191)<<19|g>>>13);p=v[h+16>>2];g=v[i+16>>2];g=x3a(g,g>>31,-25987,-1);v[h+16>>2]=p+((Pa&8191)<<19|g>>>13);p=v[h+20>>2];g=v[i+20>>2];g=x3a(g,g>>31,-25987,-1);v[h+20>>2]=p+((Pa&8191)<<19|g>>>13);p=v[h+24>>2];g=v[i+24>>2];g=x3a(g,g>>31,-25987,-1);v[h+24>>2]=p+((Pa&8191)<<19|g>>>13);p=v[h+28>>2];g=v[i+28>>2];g=x3a(g,g>>31,-25987,-1);v[h+28>>2]=p+((Pa&8191)<<19|g>>>13);p=v[h+32>>2];g=v[i+32>>2];g=x3a(g,g>>31,-25987,-1);v[h+32>>2]=p+((Pa&8191)<<19|g>>>13);p=v[h+36>>2];g=v[i+36>>2];g=x3a(g,g>>31,-25987,-1);v[h+36>>2]=p+((Pa&8191)<<19|g>>>13);p=v[h+40>>2];g=v[i+40>>2];g=x3a(g,g>>31,-25987,-1);v[h+40>>2]=p+((Pa&8191)<<19|g>>>13);p=v[h+44>>2];g=v[i+44>>2];g=x3a(g,g>>31,-25987,-1);v[h+44>>2]=p+((Pa&8191)<<19|g>>>13);p=v[h+48>>2];g=v[i+48>>2];g=x3a(g,g>>31,-25987,-1);v[h+48>>2]=p+((Pa&8191)<<19|g>>>13);p=v[h+52>>2];g=v[i+52>>2];g=x3a(g,g>>31,-25987,-1);v[h+52>>2]=p+((Pa&8191)<<19|g>>>13);p=v[h+56>>2];g=v[i+56>>2];g=x3a(g,g>>31,-25987,-1);v[h+56>>2]=p+((Pa&8191)<<19|g>>>13);p=v[h+60>>2];g=v[i+60>>2];g=x3a(g,g>>31,-25987,-1);v[h+60>>2]=p+((Pa&8191)<<19|g>>>13)}h=k;if(!u){i=v[k>>2];g=v[j>>2];g=x3a(g,g>>31,-868,-1);v[k>>2]=i+((Pa&8191)<<19|g>>>13);i=v[k+4>>2];g=v[j+4>>2];g=x3a(g,g>>31,-868,-1);v[k+4>>2]=i+((Pa&8191)<<19|g>>>13);i=v[k+8>>2];g=v[j+8>>2];g=x3a(g,g>>31,-868,-1);v[k+8>>2]=i+((Pa&8191)<<19|g>>>13);i=v[k+12>>2];g=v[j+12>>2];g=x3a(g,g>>31,-868,-1);v[k+12>>2]=i+((Pa&8191)<<19|g>>>13);i=v[k+16>>2];g=v[j+16>>2];g=x3a(g,g>>31,-868,-1);v[k+16>>2]=i+((Pa&8191)<<19|g>>>13);i=v[k+20>>2];g=v[j+20>>2];g=x3a(g,g>>31,-868,-1);v[k+20>>2]=i+((Pa&8191)<<19|g>>>13);i=v[k+24>>2];g=v[j+24>>2];g=x3a(g,g>>31,-868,-1);v[k+24>>2]=i+((Pa&8191)<<19|g>>>13);i=v[k+28>>2];g=v[j+28>>2];g=x3a(g,g>>31,-868,-1);v[k+28>>2]=i+((Pa&8191)<<19|g>>>13);i=v[k+32>>2];g=v[j+32>>2];g=x3a(g,g>>31,-868,-1);v[k+32>>2]=i+((Pa&8191)<<19|g>>>13);i=v[k+36>>2];g=v[j+36>>2];g=x3a(g,g>>31,-868,-1);v[k+36>>2]=i+((Pa&8191)<<19|g>>>13);i=v[k+40>>2];g=v[j+40>>2];g=x3a(g,g>>31,-868,-1);v[k+40>>2]=i+((Pa&8191)<<19|g>>>13);i=v[k+44>>2];g=v[j+44>>2];g=x3a(g,g>>31,-868,-1);v[k+44>>2]=i+((Pa&8191)<<19|g>>>13);i=v[k+48>>2];g=v[j+48>>2];g=x3a(g,g>>31,-868,-1);v[k+48>>2]=i+((Pa&8191)<<19|g>>>13);i=v[k+52>>2];g=v[j+52>>2];g=x3a(g,g>>31,-868,-1);v[k+52>>2]=i+((Pa&8191)<<19|g>>>13);i=v[k+56>>2];g=v[j+56>>2];g=x3a(g,g>>31,-868,-1);v[k+56>>2]=i+((Pa&8191)<<19|g>>>13);i=v[k+60>>2];g=v[j+60>>2];g=x3a(g,g>>31,-868,-1);v[k+60>>2]=i+((Pa&8191)<<19|g>>>13);h=(f<<2)+k|0}p=(s-!u|0)-q|0;c:{if((p|0)<1){n=j;break c}m=f<<2;i=p;g=j;while(1){t=v[h>>2];n=g+m|0;o=v[n>>2]+v[g>>2]|0;o=x3a(o,o>>31,-434,-1);v[h>>2]=t+((Pa&8191)<<19|o>>>13);t=v[h+4>>2];o=v[m+(g+4|0)>>2]+v[g+4>>2]|0;o=x3a(o,o>>31,-434,-1);v[h+4>>2]=t+((Pa&8191)<<19|o>>>13);t=v[h+8>>2];o=v[m+(g+8|0)>>2]+v[g+8>>2]|0;o=x3a(o,o>>31,-434,-1);v[h+8>>2]=t+((Pa&8191)<<19|o>>>13);t=v[h+12>>2];o=v[m+(g+12|0)>>2]+v[g+12>>2]|0;o=x3a(o,o>>31,-434,-1);v[h+12>>2]=t+((Pa&8191)<<19|o>>>13);t=v[h+16>>2];o=v[m+(g+16|0)>>2]+v[g+16>>2]|0;o=x3a(o,o>>31,-434,-1);v[h+16>>2]=t+((Pa&8191)<<19|o>>>13);t=v[h+20>>2];o=v[m+(g+20|0)>>2]+v[g+20>>2]|0;o=x3a(o,o>>31,-434,-1);v[h+20>>2]=t+((Pa&8191)<<19|o>>>13);t=v[h+24>>2];o=v[m+(g+24|0)>>2]+v[g+24>>2]|0;o=x3a(o,o>>31,-434,-1);v[h+24>>2]=t+((Pa&8191)<<19|o>>>13);t=v[h+28>>2];o=v[m+(g+28|0)>>2]+v[g+28>>2]|0;o=x3a(o,o>>31,-434,-1);v[h+28>>2]=t+((Pa&8191)<<19|o>>>13);t=v[h+32>>2];o=v[m+(g+32|0)>>2]+v[g+32>>2]|0;o=x3a(o,o>>31,-434,-1);v[h+32>>2]=t+((Pa&8191)<<19|o>>>13);t=v[h+36>>2];o=v[m+(g+36|0)>>2]+v[g+36>>2]|0;o=x3a(o,o>>31,-434,-1);v[h+36>>2]=t+((Pa&8191)<<19|o>>>13);t=v[h+40>>2];o=v[m+(g+40|0)>>2]+v[g+40>>2]|0;o=x3a(o,o>>31,-434,-1);v[h+40>>2]=t+((Pa&8191)<<19|o>>>13);t=v[h+44>>2];o=v[m+(g+44|0)>>2]+v[g+44>>2]|0;o=x3a(o,o>>31,-434,-1);v[h+44>>2]=t+((Pa&8191)<<19|o>>>13);t=v[h+48>>2];o=v[m+(g+48|0)>>2]+v[g+48>>2]|0;o=x3a(o,o>>31,-434,-1);v[h+48>>2]=t+((Pa&8191)<<19|o>>>13);t=v[h+52>>2];o=v[m+(g+52|0)>>2]+v[g+52>>2]|0;o=x3a(o,o>>31,-434,-1);v[h+52>>2]=t+((Pa&8191)<<19|o>>>13);t=v[h+56>>2];o=v[m+(g+56|0)>>2]+v[g+56>>2]|0;o=x3a(o,o>>31,-434,-1);v[h+56>>2]=t+((Pa&8191)<<19|o>>>13);o=v[h+60>>2];g=v[m+(g+60|0)>>2]+v[g+60>>2]|0;g=x3a(g,g>>31,-434,-1);v[h+60>>2]=o+((Pa&8191)<<19|g>>>13);h=h+m|0;o=(i|0)>1;i=i-1|0;g=n;if(o){continue}break}}if(!z){i=v[h>>2];g=v[n>>2];g=x3a(g,g>>31,-868,-1);v[h>>2]=i+((Pa&8191)<<19|g>>>13);i=v[h+4>>2];g=v[n+4>>2];g=x3a(g,g>>31,-868,-1);v[h+4>>2]=i+((Pa&8191)<<19|g>>>13);i=v[h+8>>2];g=v[n+8>>2];g=x3a(g,g>>31,-868,-1);v[h+8>>2]=i+((Pa&8191)<<19|g>>>13);i=v[h+12>>2];g=v[n+12>>2];g=x3a(g,g>>31,-868,-1);v[h+12>>2]=i+((Pa&8191)<<19|g>>>13);i=v[h+16>>2];g=v[n+16>>2];g=x3a(g,g>>31,-868,-1);v[h+16>>2]=i+((Pa&8191)<<19|g>>>13);i=v[h+20>>2];g=v[n+20>>2];g=x3a(g,g>>31,-868,-1);v[h+20>>2]=i+((Pa&8191)<<19|g>>>13);i=v[h+24>>2];g=v[n+24>>2];g=x3a(g,g>>31,-868,-1);v[h+24>>2]=i+((Pa&8191)<<19|g>>>13);i=v[h+28>>2];g=v[n+28>>2];g=x3a(g,g>>31,-868,-1);v[h+28>>2]=i+((Pa&8191)<<19|g>>>13);i=v[h+32>>2];g=v[n+32>>2];g=x3a(g,g>>31,-868,-1);v[h+32>>2]=i+((Pa&8191)<<19|g>>>13);i=v[h+36>>2];g=v[n+36>>2];g=x3a(g,g>>31,-868,-1);v[h+36>>2]=i+((Pa&8191)<<19|g>>>13);i=v[h+40>>2];g=v[n+40>>2];g=x3a(g,g>>31,-868,-1);v[h+40>>2]=i+((Pa&8191)<<19|g>>>13);i=v[h+44>>2];g=v[n+44>>2];g=x3a(g,g>>31,-868,-1);v[h+44>>2]=i+((Pa&8191)<<19|g>>>13);i=v[h+48>>2];g=v[n+48>>2];g=x3a(g,g>>31,-868,-1);v[h+48>>2]=i+((Pa&8191)<<19|g>>>13);i=v[h+52>>2];g=v[n+52>>2];g=x3a(g,g>>31,-868,-1);v[h+52>>2]=i+((Pa&8191)<<19|g>>>13);i=v[h+56>>2];g=v[n+56>>2];g=x3a(g,g>>31,-868,-1);v[h+56>>2]=i+((Pa&8191)<<19|g>>>13);i=v[h+60>>2];g=v[n+60>>2];g=x3a(g,g>>31,-868,-1);v[h+60>>2]=i+((Pa&8191)<<19|g>>>13)}h=j;if(u){i=v[j>>2];g=v[k>>2];g=x3a(g,g>>31,14465,0);v[j>>2]=i+((Pa&8191)<<19|g>>>13);i=v[j+4>>2];g=v[k+4>>2];g=x3a(g,g>>31,14465,0);v[j+4>>2]=i+((Pa&8191)<<19|g>>>13);i=v[j+8>>2];g=v[k+8>>2];g=x3a(g,g>>31,14465,0);v[j+8>>2]=i+((Pa&8191)<<19|g>>>13);i=v[j+12>>2];g=v[k+12>>2];g=x3a(g,g>>31,14465,0);v[j+12>>2]=i+((Pa&8191)<<19|g>>>13);i=v[j+16>>2];g=v[k+16>>2];g=x3a(g,g>>31,14465,0);v[j+16>>2]=i+((Pa&8191)<<19|g>>>13);i=v[j+20>>2];g=v[k+20>>2];g=x3a(g,g>>31,14465,0);v[j+20>>2]=i+((Pa&8191)<<19|g>>>13);i=v[j+24>>2];g=v[k+24>>2];g=x3a(g,g>>31,14465,0);v[j+24>>2]=i+((Pa&8191)<<19|g>>>13);i=v[j+28>>2];g=v[k+28>>2];g=x3a(g,g>>31,14465,0);v[j+28>>2]=i+((Pa&8191)<<19|g>>>13);i=v[j+32>>2];g=v[k+32>>2];g=x3a(g,g>>31,14465,0);v[j+32>>2]=i+((Pa&8191)<<19|g>>>13);i=v[j+36>>2];g=v[k+36>>2];g=x3a(g,g>>31,14465,0);v[j+36>>2]=i+((Pa&8191)<<19|g>>>13);i=v[j+40>>2];g=v[k+40>>2];g=x3a(g,g>>31,14465,0);v[j+40>>2]=i+((Pa&8191)<<19|g>>>13);i=v[j+44>>2];g=v[k+44>>2];g=x3a(g,g>>31,14465,0);v[j+44>>2]=i+((Pa&8191)<<19|g>>>13);i=v[j+48>>2];g=v[k+48>>2];g=x3a(g,g>>31,14465,0);v[j+48>>2]=i+((Pa&8191)<<19|g>>>13);i=v[j+52>>2];g=v[k+52>>2];g=x3a(g,g>>31,14465,0);v[j+52>>2]=i+((Pa&8191)<<19|g>>>13);i=v[j+56>>2];g=v[k+56>>2];g=x3a(g,g>>31,14465,0);v[j+56>>2]=i+((Pa&8191)<<19|g>>>13);i=v[j+60>>2];g=v[k+60>>2];g=x3a(g,g>>31,14465,0);v[j+60>>2]=i+((Pa&8191)<<19|g>>>13);h=(f<<2)+j|0}d:{if((l|0)<1){i=k;break d}n=f<<2;g=k;while(1){o=v[h>>2];i=g+n|0;m=v[i>>2]+v[g>>2]|0;m=x3a(m,m>>31,7232,0);v[h>>2]=o+((Pa&8191)<<19|m>>>13);o=v[h+4>>2];m=v[n+(g+4|0)>>2]+v[g+4>>2]|0;m=x3a(m,m>>31,7232,0);v[h+4>>2]=o+((Pa&8191)<<19|m>>>13);o=v[h+8>>2];m=v[n+(g+8|0)>>2]+v[g+8>>2]|0;m=x3a(m,m>>31,7232,0);v[h+8>>2]=o+((Pa&8191)<<19|m>>>13);o=v[h+12>>2];m=v[n+(g+12|0)>>2]+v[g+12>>2]|0;m=x3a(m,m>>31,7232,0);v[h+12>>2]=o+((Pa&8191)<<19|m>>>13);o=v[h+16>>2];m=v[n+(g+16|0)>>2]+v[g+16>>2]|0;m=x3a(m,m>>31,7232,0);v[h+16>>2]=o+((Pa&8191)<<19|m>>>13);o=v[h+20>>2];m=v[n+(g+20|0)>>2]+v[g+20>>2]|0;m=x3a(m,m>>31,7232,0);v[h+20>>2]=o+((Pa&8191)<<19|m>>>13);o=v[h+24>>2];m=v[n+(g+24|0)>>2]+v[g+24>>2]|0;m=x3a(m,m>>31,7232,0);v[h+24>>2]=o+((Pa&8191)<<19|m>>>13);o=v[h+28>>2];m=v[n+(g+28|0)>>2]+v[g+28>>2]|0;m=x3a(m,m>>31,7232,0);v[h+28>>2]=o+((Pa&8191)<<19|m>>>13);o=v[h+32>>2];m=v[n+(g+32|0)>>2]+v[g+32>>2]|0;m=x3a(m,m>>31,7232,0);v[h+32>>2]=o+((Pa&8191)<<19|m>>>13);o=v[h+36>>2];m=v[n+(g+36|0)>>2]+v[g+36>>2]|0;m=x3a(m,m>>31,7232,0);v[h+36>>2]=o+((Pa&8191)<<19|m>>>13);o=v[h+40>>2];m=v[n+(g+40|0)>>2]+v[g+40>>2]|0;m=x3a(m,m>>31,7232,0);v[h+40>>2]=o+((Pa&8191)<<19|m>>>13);o=v[h+44>>2];m=v[n+(g+44|0)>>2]+v[g+44>>2]|0;m=x3a(m,m>>31,7232,0);v[h+44>>2]=o+((Pa&8191)<<19|m>>>13);o=v[h+48>>2];m=v[n+(g+48|0)>>2]+v[g+48>>2]|0;m=x3a(m,m>>31,7232,0);v[h+48>>2]=o+((Pa&8191)<<19|m>>>13);o=v[h+52>>2];m=v[n+(g+52|0)>>2]+v[g+52>>2]|0;m=x3a(m,m>>31,7232,0);v[h+52>>2]=o+((Pa&8191)<<19|m>>>13);o=v[h+56>>2];m=v[n+(g+56|0)>>2]+v[g+56>>2]|0;m=x3a(m,m>>31,7232,0);v[h+56>>2]=o+((Pa&8191)<<19|m>>>13);m=v[h+60>>2];g=v[n+(g+60|0)>>2]+v[g+60>>2]|0;g=x3a(g,g>>31,7232,0);v[h+60>>2]=m+((Pa&8191)<<19|g>>>13);h=h+n|0;m=(l|0)>1;l=l-1|0;g=i;if(m){continue}break}}if(!q){l=v[h>>2];g=v[i>>2];g=x3a(g,g>>31,14465,0);v[h>>2]=l+((Pa&8191)<<19|g>>>13);l=v[h+4>>2];g=v[i+4>>2];g=x3a(g,g>>31,14465,0);v[h+4>>2]=l+((Pa&8191)<<19|g>>>13);l=v[h+8>>2];g=v[i+8>>2];g=x3a(g,g>>31,14465,0);v[h+8>>2]=l+((Pa&8191)<<19|g>>>13);l=v[h+12>>2];g=v[i+12>>2];g=x3a(g,g>>31,14465,0);v[h+12>>2]=l+((Pa&8191)<<19|g>>>13);l=v[h+16>>2];g=v[i+16>>2];g=x3a(g,g>>31,14465,0);v[h+16>>2]=l+((Pa&8191)<<19|g>>>13);l=v[h+20>>2];g=v[i+20>>2];g=x3a(g,g>>31,14465,0);v[h+20>>2]=l+((Pa&8191)<<19|g>>>13);l=v[h+24>>2];g=v[i+24>>2];g=x3a(g,g>>31,14465,0);v[h+24>>2]=l+((Pa&8191)<<19|g>>>13);l=v[h+28>>2];g=v[i+28>>2];g=x3a(g,g>>31,14465,0);v[h+28>>2]=l+((Pa&8191)<<19|g>>>13);l=v[h+32>>2];g=v[i+32>>2];g=x3a(g,g>>31,14465,0);v[h+32>>2]=l+((Pa&8191)<<19|g>>>13);l=v[h+36>>2];g=v[i+36>>2];g=x3a(g,g>>31,14465,0);v[h+36>>2]=l+((Pa&8191)<<19|g>>>13);l=v[h+40>>2];g=v[i+40>>2];g=x3a(g,g>>31,14465,0);v[h+40>>2]=l+((Pa&8191)<<19|g>>>13);l=v[h+44>>2];g=v[i+44>>2];g=x3a(g,g>>31,14465,0);v[h+44>>2]=l+((Pa&8191)<<19|g>>>13);l=v[h+48>>2];g=v[i+48>>2];g=x3a(g,g>>31,14465,0);v[h+48>>2]=l+((Pa&8191)<<19|g>>>13);l=v[h+52>>2];g=v[i+52>>2];g=x3a(g,g>>31,14465,0);v[h+52>>2]=l+((Pa&8191)<<19|g>>>13);l=v[h+56>>2];g=v[i+56>>2];g=x3a(g,g>>31,14465,0);v[h+56>>2]=l+((Pa&8191)<<19|g>>>13);l=v[h+60>>2];g=v[i+60>>2];g=x3a(g,g>>31,14465,0);v[h+60>>2]=l+((Pa&8191)<<19|g>>>13)}h=k;if(!u){i=v[k>>2];g=v[j>>2];g=x3a(g,g>>31,7266,0);v[k>>2]=i+((Pa&8191)<<19|g>>>13);i=v[k+4>>2];g=v[j+4>>2];g=x3a(g,g>>31,7266,0);v[k+4>>2]=i+((Pa&8191)<<19|g>>>13);i=v[k+8>>2];g=v[j+8>>2];g=x3a(g,g>>31,7266,0);v[k+8>>2]=i+((Pa&8191)<<19|g>>>13);i=v[k+12>>2];g=v[j+12>>2];g=x3a(g,g>>31,7266,0);v[k+12>>2]=i+((Pa&8191)<<19|g>>>13);i=v[k+16>>2];g=v[j+16>>2];g=x3a(g,g>>31,7266,0);v[k+16>>2]=i+((Pa&8191)<<19|g>>>13);i=v[k+20>>2];g=v[j+20>>2];g=x3a(g,g>>31,7266,0);v[k+20>>2]=i+((Pa&8191)<<19|g>>>13);i=v[k+24>>2];g=v[j+24>>2];g=x3a(g,g>>31,7266,0);v[k+24>>2]=i+((Pa&8191)<<19|g>>>13);i=v[k+28>>2];g=v[j+28>>2];g=x3a(g,g>>31,7266,0);v[k+28>>2]=i+((Pa&8191)<<19|g>>>13);i=v[k+32>>2];g=v[j+32>>2];g=x3a(g,g>>31,7266,0);v[k+32>>2]=i+((Pa&8191)<<19|g>>>13);i=v[k+36>>2];g=v[j+36>>2];g=x3a(g,g>>31,7266,0);v[k+36>>2]=i+((Pa&8191)<<19|g>>>13);i=v[k+40>>2];g=v[j+40>>2];g=x3a(g,g>>31,7266,0);v[k+40>>2]=i+((Pa&8191)<<19|g>>>13);i=v[k+44>>2];g=v[j+44>>2];g=x3a(g,g>>31,7266,0);v[k+44>>2]=i+((Pa&8191)<<19|g>>>13);i=v[k+48>>2];g=v[j+48>>2];g=x3a(g,g>>31,7266,0);v[k+48>>2]=i+((Pa&8191)<<19|g>>>13);i=v[k+52>>2];g=v[j+52>>2];g=x3a(g,g>>31,7266,0);v[k+52>>2]=i+((Pa&8191)<<19|g>>>13);i=v[k+56>>2];g=v[j+56>>2];g=x3a(g,g>>31,7266,0);v[k+56>>2]=i+((Pa&8191)<<19|g>>>13);i=v[k+60>>2];g=v[j+60>>2];g=x3a(g,g>>31,7266,0);v[k+60>>2]=i+((Pa&8191)<<19|g>>>13);h=(f<<2)+k|0}e:{if((p|0)<1){l=j;break e}i=f<<2;g=j;while(1){m=v[h>>2];l=g+i|0;n=v[l>>2]+v[g>>2]|0;n=x3a(n,n>>31,3633,0);v[h>>2]=m+((Pa&8191)<<19|n>>>13);m=v[h+4>>2];n=v[i+(g+4|0)>>2]+v[g+4>>2]|0;n=x3a(n,n>>31,3633,0);v[h+4>>2]=m+((Pa&8191)<<19|n>>>13);m=v[h+8>>2];n=v[i+(g+8|0)>>2]+v[g+8>>2]|0;n=x3a(n,n>>31,3633,0);v[h+8>>2]=m+((Pa&8191)<<19|n>>>13);m=v[h+12>>2];n=v[i+(g+12|0)>>2]+v[g+12>>2]|0;n=x3a(n,n>>31,3633,0);v[h+12>>2]=m+((Pa&8191)<<19|n>>>13);m=v[h+16>>2];n=v[i+(g+16|0)>>2]+v[g+16>>2]|0;n=x3a(n,n>>31,3633,0);v[h+16>>2]=m+((Pa&8191)<<19|n>>>13);m=v[h+20>>2];n=v[i+(g+20|0)>>2]+v[g+20>>2]|0;n=x3a(n,n>>31,3633,0);v[h+20>>2]=m+((Pa&8191)<<19|n>>>13);m=v[h+24>>2];n=v[i+(g+24|0)>>2]+v[g+24>>2]|0;n=x3a(n,n>>31,3633,0);v[h+24>>2]=m+((Pa&8191)<<19|n>>>13);m=v[h+28>>2];n=v[i+(g+28|0)>>2]+v[g+28>>2]|0;n=x3a(n,n>>31,3633,0);v[h+28>>2]=m+((Pa&8191)<<19|n>>>13);m=v[h+32>>2];n=v[i+(g+32|0)>>2]+v[g+32>>2]|0;n=x3a(n,n>>31,3633,0);v[h+32>>2]=m+((Pa&8191)<<19|n>>>13);m=v[h+36>>2];n=v[i+(g+36|0)>>2]+v[g+36>>2]|0;n=x3a(n,n>>31,3633,0);v[h+36>>2]=m+((Pa&8191)<<19|n>>>13);m=v[h+40>>2];n=v[i+(g+40|0)>>2]+v[g+40>>2]|0;n=x3a(n,n>>31,3633,0);v[h+40>>2]=m+((Pa&8191)<<19|n>>>13);m=v[h+44>>2];n=v[i+(g+44|0)>>2]+v[g+44>>2]|0;n=x3a(n,n>>31,3633,0);v[h+44>>2]=m+((Pa&8191)<<19|n>>>13);m=v[h+48>>2];n=v[i+(g+48|0)>>2]+v[g+48>>2]|0;n=x3a(n,n>>31,3633,0);v[h+48>>2]=m+((Pa&8191)<<19|n>>>13);m=v[h+52>>2];n=v[i+(g+52|0)>>2]+v[g+52>>2]|0;n=x3a(n,n>>31,3633,0);v[h+52>>2]=m+((Pa&8191)<<19|n>>>13);m=v[h+56>>2];n=v[i+(g+56|0)>>2]+v[g+56>>2]|0;n=x3a(n,n>>31,3633,0);v[h+56>>2]=m+((Pa&8191)<<19|n>>>13);n=v[h+60>>2];g=v[i+(g+60|0)>>2]+v[g+60>>2]|0;g=x3a(g,g>>31,3633,0);v[h+60>>2]=n+((Pa&8191)<<19|g>>>13);h=h+i|0;n=(p|0)>1;p=p-1|0;g=l;if(n){continue}break}}if(!z){i=v[h>>2];g=v[l>>2];g=x3a(g,g>>31,7266,0);v[h>>2]=i+((Pa&8191)<<19|g>>>13);i=v[h+4>>2];g=v[l+4>>2];g=x3a(g,g>>31,7266,0);v[h+4>>2]=i+((Pa&8191)<<19|g>>>13);i=v[h+8>>2];g=v[l+8>>2];g=x3a(g,g>>31,7266,0);v[h+8>>2]=i+((Pa&8191)<<19|g>>>13);i=v[h+12>>2];g=v[l+12>>2];g=x3a(g,g>>31,7266,0);v[h+12>>2]=i+((Pa&8191)<<19|g>>>13);i=v[h+16>>2];g=v[l+16>>2];g=x3a(g,g>>31,7266,0);v[h+16>>2]=i+((Pa&8191)<<19|g>>>13);i=v[h+20>>2];g=v[l+20>>2];g=x3a(g,g>>31,7266,0);v[h+20>>2]=i+((Pa&8191)<<19|g>>>13);i=v[h+24>>2];g=v[l+24>>2];g=x3a(g,g>>31,7266,0);v[h+24>>2]=i+((Pa&8191)<<19|g>>>13);i=v[h+28>>2];g=v[l+28>>2];g=x3a(g,g>>31,7266,0);v[h+28>>2]=i+((Pa&8191)<<19|g>>>13);i=v[h+32>>2];g=v[l+32>>2];g=x3a(g,g>>31,7266,0);v[h+32>>2]=i+((Pa&8191)<<19|g>>>13);i=v[h+36>>2];g=v[l+36>>2];g=x3a(g,g>>31,7266,0);v[h+36>>2]=i+((Pa&8191)<<19|g>>>13);i=v[h+40>>2];g=v[l+40>>2];g=x3a(g,g>>31,7266,0);v[h+40>>2]=i+((Pa&8191)<<19|g>>>13);i=v[h+44>>2];g=v[l+44>>2];g=x3a(g,g>>31,7266,0);v[h+44>>2]=i+((Pa&8191)<<19|g>>>13);i=v[h+48>>2];g=v[l+48>>2];g=x3a(g,g>>31,7266,0);v[h+48>>2]=i+((Pa&8191)<<19|g>>>13);i=v[h+52>>2];g=v[l+52>>2];g=x3a(g,g>>31,7266,0);v[h+52>>2]=i+((Pa&8191)<<19|g>>>13);i=v[h+56>>2];g=v[l+56>>2];g=x3a(g,g>>31,7266,0);v[h+56>>2]=i+((Pa&8191)<<19|g>>>13);i=v[h+60>>2];g=v[l+60>>2];g=x3a(g,g>>31,7266,0);v[h+60>>2]=i+((Pa&8191)<<19|g>>>13)}if((x|0)>=2){g=f<<2;while(1){i=v[k>>2];i=x3a(i,i>>31,6659,0);v[k>>2]=(Pa&8191)<<19|i>>>13;i=v[k+4>>2];i=x3a(i,i>>31,6659,0);v[k+4>>2]=(Pa&8191)<<19|i>>>13;i=v[k+8>>2];i=x3a(i,i>>31,6659,0);v[k+8>>2]=(Pa&8191)<<19|i>>>13;i=v[k+12>>2];i=x3a(i,i>>31,6659,0);v[k+12>>2]=(Pa&8191)<<19|i>>>13;i=v[k+16>>2];i=x3a(i,i>>31,6659,0);v[k+16>>2]=(Pa&8191)<<19|i>>>13;i=v[k+20>>2];i=x3a(i,i>>31,6659,0);v[k+20>>2]=(Pa&8191)<<19|i>>>13;i=v[k+24>>2];i=x3a(i,i>>31,6659,0);v[k+24>>2]=(Pa&8191)<<19|i>>>13;i=v[k+28>>2];i=x3a(i,i>>31,6659,0);v[k+28>>2]=(Pa&8191)<<19|i>>>13;i=v[k+32>>2];i=x3a(i,i>>31,6659,0);v[k+32>>2]=(Pa&8191)<<19|i>>>13;i=v[k+36>>2];i=x3a(i,i>>31,6659,0);v[k+36>>2]=(Pa&8191)<<19|i>>>13;i=v[k+40>>2];i=x3a(i,i>>31,6659,0);v[k+40>>2]=(Pa&8191)<<19|i>>>13;i=v[k+44>>2];i=x3a(i,i>>31,6659,0);v[k+44>>2]=(Pa&8191)<<19|i>>>13;i=v[k+48>>2];i=x3a(i,i>>31,6659,0);v[k+48>>2]=(Pa&8191)<<19|i>>>13;i=v[k+52>>2];i=x3a(i,i>>31,6659,0);v[k+52>>2]=(Pa&8191)<<19|i>>>13;i=v[k+56>>2];i=x3a(i,i>>31,6659,0);v[k+56>>2]=(Pa&8191)<<19|i>>>13;i=v[k+60>>2];i=x3a(i,i>>31,6659,0);v[k+60>>2]=(Pa&8191)<<19|i>>>13;k=g+k|0;i=(s|0)>1;s=s-1|0;if(i){continue}break}}if((w|0)<1){break a}g=f<<2;while(1){k=v[j>>2];k=x3a(k,k>>31,5038,0);v[j>>2]=(Pa&8191)<<19|k>>>13;k=v[j+4>>2];k=x3a(k,k>>31,5038,0);v[j+4>>2]=(Pa&8191)<<19|k>>>13;k=v[j+8>>2];k=x3a(k,k>>31,5038,0);v[j+8>>2]=(Pa&8191)<<19|k>>>13;k=v[j+12>>2];k=x3a(k,k>>31,5038,0);v[j+12>>2]=(Pa&8191)<<19|k>>>13;k=v[j+16>>2];k=x3a(k,k>>31,5038,0);v[j+16>>2]=(Pa&8191)<<19|k>>>13;k=v[j+20>>2];k=x3a(k,k>>31,5038,0);v[j+20>>2]=(Pa&8191)<<19|k>>>13;k=v[j+24>>2];k=x3a(k,k>>31,5038,0);v[j+24>>2]=(Pa&8191)<<19|k>>>13;k=v[j+28>>2];k=x3a(k,k>>31,5038,0);v[j+28>>2]=(Pa&8191)<<19|k>>>13;k=v[j+32>>2];k=x3a(k,k>>31,5038,0);v[j+32>>2]=(Pa&8191)<<19|k>>>13;k=v[j+36>>2];k=x3a(k,k>>31,5038,0);v[j+36>>2]=(Pa&8191)<<19|k>>>13;k=v[j+40>>2];k=x3a(k,k>>31,5038,0);v[j+40>>2]=(Pa&8191)<<19|k>>>13;k=v[j+44>>2];k=x3a(k,k>>31,5038,0);v[j+44>>2]=(Pa&8191)<<19|k>>>13;k=v[j+48>>2];k=x3a(k,k>>31,5038,0);v[j+48>>2]=(Pa&8191)<<19|k>>>13;k=v[j+52>>2];k=x3a(k,k>>31,5038,0);v[j+52>>2]=(Pa&8191)<<19|k>>>13;k=v[j+56>>2];k=x3a(k,k>>31,5038,0);v[j+56>>2]=(Pa&8191)<<19|k>>>13;k=v[j+60>>2];k=x3a(k,k>>31,5038,0);v[j+60>>2]=(Pa&8191)<<19|k>>>13;j=g+j|0;k=(w|0)>1;w=w-1|0;if(k){continue}break}}c=c- -64|0;A=A+16|0;if((r|0)>(A|0)){continue}break}}if((d|0)>(r|0)){r=d-r|0;l5(c,e,r,f,u);k=c;m=0;o=0;f:{if((e|0)<2){break f}F=(e-u|0)+1|0;z=F>>1;i=(B(z,f)<<2)+k|0;h=i;if(u){g:{if((r|0)<1){break g}g=r&3;j=i;if(r-1>>>0>=3){l=r&-4;while(1){p=v[j>>2];h=v[c>>2];h=x3a(h,h>>31,-25987,-1);v[j>>2]=p+((Pa&8191)<<19|h>>>13);p=v[j+4>>2];h=v[c+4>>2];h=x3a(h,h>>31,-25987,-1);v[j+4>>2]=p+((Pa&8191)<<19|h>>>13);p=v[j+8>>2];h=v[c+8>>2];h=x3a(h,h>>31,-25987,-1);v[j+8>>2]=p+((Pa&8191)<<19|h>>>13);p=v[j+12>>2];h=v[c+12>>2];h=x3a(h,h>>31,-25987,-1);v[j+12>>2]=p+((Pa&8191)<<19|h>>>13);c=c+16|0;j=j+16|0;l=l-4|0;if(l){continue}break}}if(!g){break g}while(1){l=v[j>>2];h=v[c>>2];h=x3a(h,h>>31,-25987,-1);v[j>>2]=l+((Pa&8191)<<19|h>>>13);c=c+4|0;j=j+4|0;g=g-1|0;if(g){continue}break}}h=(f<<2)+i|0}x=e-z|0;w=e&1;A=(w|0)==(u|0);t=(x-u|0)-A|0;s=t-1|0;h:{i:{if((t|0)<1){g=k;break i}if((r|0)<1){break h}p=r&-2;q=r&1;m=f<<2;n=s;g=k;while(1){j=h;c=g;l=p;if((r|0)!=1){while(1){y=v[j>>2];o=v[c+m>>2]+v[c>>2]|0;o=x3a(o,o>>31,-12993,-1);v[j>>2]=y+((Pa&8191)<<19|o>>>13);y=v[j+4>>2];o=v[m+(c+4|0)>>2]+v[c+4>>2]|0;o=x3a(o,o>>31,-12993,-1);v[j+4>>2]=y+((Pa&8191)<<19|o>>>13);j=j+8|0;c=c+8|0;l=l-2|0;if(l){continue}break}}if(q){l=v[j>>2];c=v[c+m>>2]+v[c>>2]|0;c=x3a(c,c>>31,-12993,-1);v[j>>2]=l+((Pa&8191)<<19|c>>>13)}g=g+m|0;h=h+m|0;c=(n|0)>0;n=n-1|0;if(c){continue}break}}m=(r|0)>0;o=A&m;if(!o){o=0;break h}j=r&3;if(r-1>>>0>=3){c=r&-4;while(1){p=v[h>>2];l=v[g>>2];l=x3a(l,l>>31,-25987,-1);v[h>>2]=p+((Pa&8191)<<19|l>>>13);p=v[h+4>>2];l=v[g+4>>2];l=x3a(l,l>>31,-25987,-1);v[h+4>>2]=p+((Pa&8191)<<19|l>>>13);p=v[h+8>>2];l=v[g+8>>2];l=x3a(l,l>>31,-25987,-1);v[h+8>>2]=p+((Pa&8191)<<19|l>>>13);p=v[h+12>>2];l=v[g+12>>2];l=x3a(l,l>>31,-25987,-1);v[h+12>>2]=p+((Pa&8191)<<19|l>>>13);h=h+16|0;g=g+16|0;c=c-4|0;if(c){continue}break}}if(!j){break h}while(1){l=v[h>>2];c=v[g>>2];c=x3a(c,c>>31,-25987,-1);v[h>>2]=l+((Pa&8191)<<19|c>>>13);h=h+4|0;g=g+4|0;j=j-1|0;if(j){continue}break}}h=k;if(!u){j:{if(!m){break j}g=r&3;c=i;j=k;if(r-1>>>0>=3){l=r&-4;while(1){p=v[j>>2];h=v[c>>2];h=x3a(h,h>>31,-868,-1);v[j>>2]=p+((Pa&8191)<<19|h>>>13);p=v[j+4>>2];h=v[c+4>>2];h=x3a(h,h>>31,-868,-1);v[j+4>>2]=p+((Pa&8191)<<19|h>>>13);p=v[j+8>>2];h=v[c+8>>2];h=x3a(h,h>>31,-868,-1);v[j+8>>2]=p+((Pa&8191)<<19|h>>>13);p=v[j+12>>2];h=v[c+12>>2];h=x3a(h,h>>31,-868,-1);v[j+12>>2]=p+((Pa&8191)<<19|h>>>13);c=c+16|0;j=j+16|0;l=l-4|0;if(l){continue}break}}if(!g){break j}while(1){l=v[j>>2];h=v[c>>2];h=x3a(h,h>>31,-868,-1);v[j>>2]=l+((Pa&8191)<<19|h>>>13);c=c+4|0;j=j+4|0;g=g-1|0;if(g){continue}break}}h=(f<<2)+k|0}D=(u|0)!=(w|0);C=(z-!u|0)-D|0;n=C-1|0;k:{l:{if((C|0)<1){g=i;break l}q=0;p=0;if(!m){break k}w=r&-2;G=r&1;q=f<<2;p=n;g=i;while(1){j=g;c=h;l=w;if((r|0)!=1){while(1){E=v[c>>2];y=v[j+q>>2]+v[j>>2]|0;y=x3a(y,y>>31,-434,-1);v[c>>2]=E+((Pa&8191)<<19|y>>>13);E=v[c+4>>2];y=v[q+(j+4|0)>>2]+v[j+4>>2]|0;y=x3a(y,y>>31,-434,-1);v[c+4>>2]=E+((Pa&8191)<<19|y>>>13);j=j+8|0;c=c+8|0;l=l-2|0;if(l){continue}break}}if(G){l=c;y=v[c>>2];c=v[j+q>>2]+v[j>>2]|0;c=x3a(c,c>>31,-434,-1);v[l>>2]=y+((Pa&8191)<<19|c>>>13)}g=g+q|0;h=h+q|0;c=(p|0)>0;p=p-1|0;if(c){continue}break}}q=m&D;m:{if(!q){q=0;break m}j=r&3;if(r-1>>>0>=3){c=r&-4;while(1){p=v[h>>2];l=v[g>>2];l=x3a(l,l>>31,-868,-1);v[h>>2]=p+((Pa&8191)<<19|l>>>13);p=v[h+4>>2];l=v[g+4>>2];l=x3a(l,l>>31,-868,-1);v[h+4>>2]=p+((Pa&8191)<<19|l>>>13);p=v[h+8>>2];l=v[g+8>>2];l=x3a(l,l>>31,-868,-1);v[h+8>>2]=p+((Pa&8191)<<19|l>>>13);p=v[h+12>>2];l=v[g+12>>2];l=x3a(l,l>>31,-868,-1);v[h+12>>2]=p+((Pa&8191)<<19|l>>>13);g=g+16|0;h=h+16|0;c=c-4|0;if(c){continue}break}}if(!j){break m}while(1){l=v[h>>2];c=v[g>>2];c=x3a(c,c>>31,-868,-1);v[h>>2]=l+((Pa&8191)<<19|c>>>13);g=g+4|0;h=h+4|0;j=j-1|0;if(j){continue}break}}p=m}h=i;if(u){n:{if(!p){break n}g=r&3;j=i;c=k;if(r-1>>>0>=3){l=r&-4;while(1){m=v[j>>2];h=v[c>>2];h=x3a(h,h>>31,14465,0);v[j>>2]=m+((Pa&8191)<<19|h>>>13);m=v[j+4>>2];h=v[c+4>>2];h=x3a(h,h>>31,14465,0);v[j+4>>2]=m+((Pa&8191)<<19|h>>>13);m=v[j+8>>2];h=v[c+8>>2];h=x3a(h,h>>31,14465,0);v[j+8>>2]=m+((Pa&8191)<<19|h>>>13);m=v[j+12>>2];h=v[c+12>>2];h=x3a(h,h>>31,14465,0);v[j+12>>2]=m+((Pa&8191)<<19|h>>>13);c=c+16|0;j=j+16|0;l=l-4|0;if(l){continue}break}}if(!g){break n}while(1){l=v[j>>2];h=v[c>>2];h=x3a(h,h>>31,14465,0);v[j>>2]=l+((Pa&8191)<<19|h>>>13);c=c+4|0;j=j+4|0;g=g-1|0;if(g){continue}break}}h=(f<<2)+i|0}o:{if((t|0)<1){g=k;break o}if(p){m=r&-2;A=r&1;w=f<<2;g=k;while(1){j=h;c=g;l=m;if((r|0)!=1){while(1){y=v[j>>2];t=v[c+w>>2]+v[c>>2]|0;t=x3a(t,t>>31,7232,0);v[j>>2]=y+((Pa&8191)<<19|t>>>13);y=v[j+4>>2];t=v[w+(c+4|0)>>2]+v[c+4>>2]|0;t=x3a(t,t>>31,7232,0);v[j+4>>2]=y+((Pa&8191)<<19|t>>>13);j=j+8|0;c=c+8|0;l=l-2|0;if(l){continue}break}}if(A){l=v[j>>2];c=v[c+w>>2]+v[c>>2]|0;c=x3a(c,c>>31,7232,0);v[j>>2]=l+((Pa&8191)<<19|c>>>13)}g=g+w|0;h=h+w|0;c=(s|0)>0;s=s-1|0;if(c){continue}break}break o}c=B((A?-1:0)+e-(u+z)|0,f)<<2;g=c+k|0;h=c+h|0;p=0}p:{if(!o){break p}j=r&3;if(r-1>>>0>=3){c=r&-4;while(1){m=v[h>>2];l=v[g>>2];l=x3a(l,l>>31,14465,0);v[h>>2]=m+((Pa&8191)<<19|l>>>13);m=v[h+4>>2];l=v[g+4>>2];l=x3a(l,l>>31,14465,0);v[h+4>>2]=m+((Pa&8191)<<19|l>>>13);m=v[h+8>>2];l=v[g+8>>2];l=x3a(l,l>>31,14465,0);v[h+8>>2]=m+((Pa&8191)<<19|l>>>13);m=v[h+12>>2];l=v[g+12>>2];l=x3a(l,l>>31,14465,0);v[h+12>>2]=m+((Pa&8191)<<19|l>>>13);h=h+16|0;g=g+16|0;c=c-4|0;if(c){continue}break}}if(!j){break p}while(1){l=v[h>>2];c=v[g>>2];c=x3a(c,c>>31,14465,0);v[h>>2]=l+((Pa&8191)<<19|c>>>13);h=h+4|0;g=g+4|0;j=j-1|0;if(j){continue}break}}h=k;if(!u){q:{if(!p){break q}g=r&3;c=i;j=k;if(r-1>>>0>=3){l=r&-4;while(1){m=v[j>>2];h=v[c>>2];h=x3a(h,h>>31,7266,0);v[j>>2]=m+((Pa&8191)<<19|h>>>13);m=v[j+4>>2];h=v[c+4>>2];h=x3a(h,h>>31,7266,0);v[j+4>>2]=m+((Pa&8191)<<19|h>>>13);m=v[j+8>>2];h=v[c+8>>2];h=x3a(h,h>>31,7266,0);v[j+8>>2]=m+((Pa&8191)<<19|h>>>13);m=v[j+12>>2];h=v[c+12>>2];h=x3a(h,h>>31,7266,0);v[j+12>>2]=m+((Pa&8191)<<19|h>>>13);c=c+16|0;j=j+16|0;l=l-4|0;if(l){continue}break}}if(!g){break q}while(1){l=v[j>>2];h=v[c>>2];h=x3a(h,h>>31,7266,0);v[j>>2]=l+((Pa&8191)<<19|h>>>13);c=c+4|0;j=j+4|0;g=g-1|0;if(g){continue}break}}h=(f<<2)+k|0}r:{if((C|0)<1){g=i;break r}if(p){s=r&-2;w=r&1;m=f<<2;g=i;while(1){j=g;c=h;l=s;if((r|0)!=1){while(1){o=v[c>>2];u=v[j+m>>2]+v[j>>2]|0;u=x3a(u,u>>31,3633,0);v[c>>2]=o+((Pa&8191)<<19|u>>>13);o=v[c+4>>2];u=v[m+(j+4|0)>>2]+v[j+4>>2]|0;u=x3a(u,u>>31,3633,0);v[c+4>>2]=o+((Pa&8191)<<19|u>>>13);j=j+8|0;c=c+8|0;l=l-2|0;if(l){continue}break}}if(w){l=c;o=v[c>>2];c=v[j+m>>2]+v[j>>2]|0;c=x3a(c,c>>31,3633,0);v[l>>2]=o+((Pa&8191)<<19|c>>>13)}g=g+m|0;h=h+m|0;c=(n|0)>0;n=n-1|0;if(c){continue}break}break r}g=B((z<<3)+((u?0:-1)+(D?-1:0)<<2)|0,f)+k|0;h=(B(f,C)<<2)+h|0;p=0}s:{if(!q){break s}j=r&3;if(r-1>>>0>=3){c=r&-4;while(1){n=v[h>>2];l=v[g>>2];l=x3a(l,l>>31,7266,0);v[h>>2]=n+((Pa&8191)<<19|l>>>13);n=v[h+4>>2];l=v[g+4>>2];l=x3a(l,l>>31,7266,0);v[h+4>>2]=n+((Pa&8191)<<19|l>>>13);n=v[h+8>>2];l=v[g+8>>2];l=x3a(l,l>>31,7266,0);v[h+8>>2]=n+((Pa&8191)<<19|l>>>13);n=v[h+12>>2];l=v[g+12>>2];l=x3a(l,l>>31,7266,0);v[h+12>>2]=n+((Pa&8191)<<19|l>>>13);g=g+16|0;h=h+16|0;c=c-4|0;if(c){continue}break}}if(!j){break s}while(1){l=v[h>>2];c=v[g>>2];c=x3a(c,c>>31,7266,0);v[h>>2]=l+((Pa&8191)<<19|c>>>13);g=g+4|0;h=h+4|0;j=j-1|0;if(j){continue}break}}c=(F|0)<2;j=c&p;if(!(p^1|c)){g=r&-4;h=r&3;l=r-1>>>0<3;n=f<<2;while(1){j=k;c=g;if(!l){while(1){s=v[j>>2];s=x3a(s,s>>31,6659,0);v[j>>2]=(Pa&8191)<<19|s>>>13;s=v[j+4>>2];s=x3a(s,s>>31,6659,0);v[j+4>>2]=(Pa&8191)<<19|s>>>13;s=v[j+8>>2];s=x3a(s,s>>31,6659,0);v[j+8>>2]=(Pa&8191)<<19|s>>>13;s=v[j+12>>2];s=x3a(s,s>>31,6659,0);v[j+12>>2]=(Pa&8191)<<19|s>>>13;j=j+16|0;c=c-4|0;if(c){continue}break}}c=h;if(h){while(1){s=v[j>>2];s=x3a(s,s>>31,6659,0);v[j>>2]=(Pa&8191)<<19|s>>>13;j=j+4|0;c=c-1|0;if(c){continue}break}}k=k+n|0;c=(z|0)>1;z=z-1|0;if(c){continue}break}j=p}if(!j|(x|0)<1){break f}g=r&-4;k=r&3;h=r-1>>>0<3;l=f<<2;while(1){j=i;c=g;if(!h){while(1){n=v[j>>2];n=x3a(n,n>>31,5038,0);v[j>>2]=(Pa&8191)<<19|n>>>13;n=v[j+4>>2];n=x3a(n,n>>31,5038,0);v[j+4>>2]=(Pa&8191)<<19|n>>>13;n=v[j+8>>2];n=x3a(n,n>>31,5038,0);v[j+8>>2]=(Pa&8191)<<19|n>>>13;n=v[j+12>>2];n=x3a(n,n>>31,5038,0);v[j+12>>2]=(Pa&8191)<<19|n>>>13;j=j+16|0;c=c-4|0;if(c){continue}break}}c=k;if(k){while(1){n=v[j>>2];n=x3a(n,n>>31,5038,0);v[j>>2]=(Pa&8191)<<19|n>>>13;j=j+4|0;c=c-1|0;if(c){continue}break}}i=i+l|0;c=(x|0)>1;x=x-1|0;if(c){continue}break}}}if((e|0)>=1){n=b&1;c=0;z=f<<2;while(1){k5(a,d,n);f=a;t:{if((d|0)<2){break t}q=(d-n|0)+1|0;h=q>>1;k=(h<<2)+f|0;g=k;if(n){g=v[k>>2];b=v[f>>2];b=x3a(b,b>>31,-25987,-1);v[k>>2]=g+((Pa&8191)<<19|b>>>13);g=k+4|0}l=d&1;s=(l|0)==(n|0);w=s?-1:0;p=d-h|0;i=(p-n|0)-s|0;u:{if((i|0)<1){b=f;break u}m=(d+w|0)+(h^-1)|0;v:{if(!(i&1)){j=i;b=f;break v}j=v[g>>2];b=v[f+4>>2]+v[f>>2]|0;b=x3a(b,b>>31,-12993,-1);v[g>>2]=j+((Pa&8191)<<19|b>>>13);g=g+4|0;j=i-1|0;b=f+4|0}if((n|0)==(m|0)){break u}while(1){o=v[g>>2];m=v[b+4>>2]+v[b>>2]|0;m=x3a(m,m>>31,-12993,-1);v[g>>2]=o+((Pa&8191)<<19|m>>>13);o=v[g+4>>2];m=v[b+8>>2]+v[b+4>>2]|0;m=x3a(m,m>>31,-12993,-1);v[g+4>>2]=o+((Pa&8191)<<19|m>>>13);g=g+8|0;b=b+8|0;m=(j|0)>2;j=j-2|0;if(m){continue}break}}m=(n|0)!=(l|0);if(!m){j=v[g>>2];b=v[b>>2];b=x3a(b,b>>31,-25987,-1);v[g>>2]=j+((Pa&8191)<<19|b>>>13)}g=f;if(!n){g=v[f>>2];b=v[k>>2];b=x3a(b,b>>31,-868,-1);v[f>>2]=g+((Pa&8191)<<19|b>>>13);g=f+4|0}r=n?0:-1;u=m?-1:0;j=(h-!n|0)-m|0;w:{if((j|0)<1){b=k;break w}x=u+(h+r|0)|0;x:{if(!(j&1)){l=j;b=k;break x}l=v[g>>2];b=v[k+4>>2]+v[k>>2]|0;b=x3a(b,b>>31,-434,-1);v[g>>2]=l+((Pa&8191)<<19|b>>>13);g=g+4|0;l=j-1|0;b=k+4|0}if((x|0)==1){break w}while(1){o=v[g>>2];x=v[b+4>>2]+v[b>>2]|0;x=x3a(x,x>>31,-434,-1);v[g>>2]=o+((Pa&8191)<<19|x>>>13);o=v[g+4>>2];x=v[b+8>>2]+v[b+4>>2]|0;x=x3a(x,x>>31,-434,-1);v[g+4>>2]=o+((Pa&8191)<<19|x>>>13);g=g+8|0;b=b+8|0;x=(l|0)>2;l=l-2|0;if(x){continue}break}}if(!s){l=v[g>>2];b=v[b>>2];b=x3a(b,b>>31,-868,-1);v[g>>2]=l+((Pa&8191)<<19|b>>>13)}g=k;if(n){g=v[k>>2];b=v[f>>2];b=x3a(b,b>>31,14465,0);v[k>>2]=g+((Pa&8191)<<19|b>>>13);g=k+4|0}y:{if((i|0)<1){b=f;break y}l=(d+w|0)+(h^-1)|0;if(i&1){w=v[g>>2];b=v[f+4>>2]+v[f>>2]|0;b=x3a(b,b>>31,7232,0);v[g>>2]=w+((Pa&8191)<<19|b>>>13);g=g+4|0;i=i-1|0;b=f+4|0}else{b=f}if((n|0)==(l|0)){break y}while(1){w=v[g>>2];l=v[b+4>>2]+v[b>>2]|0;l=x3a(l,l>>31,7232,0);v[g>>2]=w+((Pa&8191)<<19|l>>>13);w=v[g+4>>2];l=v[b+8>>2]+v[b+4>>2]|0;l=x3a(l,l>>31,7232,0);v[g+4>>2]=w+((Pa&8191)<<19|l>>>13);g=g+8|0;b=b+8|0;l=(i|0)>2;i=i-2|0;if(l){continue}break}}if(!m){i=v[g>>2];b=v[b>>2];b=x3a(b,b>>31,14465,0);v[g>>2]=i+((Pa&8191)<<19|b>>>13)}g=f;if(!n){g=v[f>>2];b=v[k>>2];b=x3a(b,b>>31,7266,0);v[f>>2]=g+((Pa&8191)<<19|b>>>13);g=f+4|0}z:{if((j|0)<1){b=k;break z}i=u+(h+r|0)|0;if(j&1){l=v[g>>2];b=v[k+4>>2]+v[k>>2]|0;b=x3a(b,b>>31,3633,0);v[g>>2]=l+((Pa&8191)<<19|b>>>13);g=g+4|0;j=j-1|0;b=k+4|0}else{b=k}if((i|0)==1){break z}while(1){l=v[g>>2];i=v[b+4>>2]+v[b>>2]|0;i=x3a(i,i>>31,3633,0);v[g>>2]=l+((Pa&8191)<<19|i>>>13);l=v[g+4>>2];i=v[b+8>>2]+v[b+4>>2]|0;i=x3a(i,i>>31,3633,0);v[g+4>>2]=l+((Pa&8191)<<19|i>>>13);g=g+8|0;b=b+8|0;i=(j|0)>2;j=j-2|0;if(i){continue}break}}if(!s){j=v[g>>2];b=v[b>>2];b=x3a(b,b>>31,7266,0);v[g>>2]=j+((Pa&8191)<<19|b>>>13)}if((q|0)>1){g=h;while(1){b=v[f>>2];b=x3a(b,b>>31,6659,0);v[f>>2]=(Pa&8191)<<19|b>>>13;f=f+4|0;b=(g|0)>1;g=g-1|0;if(b){continue}break}}if((p|0)<1){break t}f=d-h&3;if(f){while(1){b=v[k>>2];b=x3a(b,b>>31,5038,0);v[k>>2]=(Pa&8191)<<19|b>>>13;k=k+4|0;p=p-1|0;f=f-1|0;if(f){continue}break}}if((h^-1)+d>>>0<3){break t}while(1){b=v[k>>2];b=x3a(b,b>>31,5038,0);v[k>>2]=(Pa&8191)<<19|b>>>13;b=v[k+4>>2];b=x3a(b,b>>31,5038,0);v[k+4>>2]=(Pa&8191)<<19|b>>>13;b=v[k+8>>2];b=x3a(b,b>>31,5038,0);v[k+8>>2]=(Pa&8191)<<19|b>>>13;b=v[k+12>>2];b=x3a(b,b>>31,5038,0);v[k+12>>2]=(Pa&8191)<<19|b>>>13;k=k+16|0;b=(p|0)>4;p=p-4|0;if(b){continue}break}}a=a+z|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}return 0}function W1a(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,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,w=0,x=0,y=0;if((e|0)>=1){s=b&1;o=f<<2;b=a;while(1){j=b;a:{if((d|0)<2){break a}h=(d-s|0)+1|0;k=h>>1;if((h|0)>=2){g=j;h=k;while(1){i=v[g>>2];i=x3a(i,i>>31,10077,0);v[g>>2]=(Pa&8191)<<19|i>>>13;g=g+4|0;i=(h|0)>1;h=h-1|0;if(i){continue}break}}h=(k<<2)+j|0;r=d-k|0;b:{if((r|0)<1){break b}i=r;g=h;m=d-k&3;if(m){while(1){n=v[g>>2];n=x3a(n,n>>31,13318,0);v[g>>2]=(Pa&8191)<<19|n>>>13;g=g+4|0;i=i-1|0;m=m-1|0;if(m){continue}break}}if((k^-1)+d>>>0<3){break b}while(1){n=v[g>>2];n=x3a(n,n>>31,13318,0);v[g>>2]=(Pa&8191)<<19|n>>>13;n=v[g+4>>2];n=x3a(n,n>>31,13318,0);v[g+4>>2]=(Pa&8191)<<19|n>>>13;n=v[g+8>>2];n=x3a(n,n>>31,13318,0);v[g+8>>2]=(Pa&8191)<<19|n>>>13;n=v[g+12>>2];n=x3a(n,n>>31,13318,0);v[g+12>>2]=(Pa&8191)<<19|n>>>13;g=g+16|0;n=(i|0)>4;i=i-4|0;if(n){continue}break}}g=j;if(!s){i=v[j>>2];g=v[h>>2];g=x3a(g,g>>31,7266,0);v[j>>2]=i-((Pa&8191)<<19|g>>>13);g=j+4|0}q=s?0:-1;u=d&1;p=(u|0)!=(s|0);l=p?-1:0;m=(k-!s|0)-p|0;c:{if((m|0)<1){i=h;break c}x=l+(k+q|0)|0;d:{if(!(m&1)){n=m;i=h;break d}n=v[g>>2];i=v[h+4>>2]+v[h>>2]|0;i=x3a(i,i>>31,3633,0);v[g>>2]=n-((Pa&8191)<<19|i>>>13);g=g+4|0;n=m-1|0;i=h+4|0}if((x|0)==1){break c}while(1){t=v[g>>2];x=v[i+4>>2]+v[i>>2]|0;x=x3a(x,x>>31,3633,0);v[g>>2]=t-((Pa&8191)<<19|x>>>13);t=v[g+4>>2];x=v[i+8>>2]+v[i+4>>2]|0;x=x3a(x,x>>31,3633,0);v[g+4>>2]=t-((Pa&8191)<<19|x>>>13);g=g+8|0;i=i+8|0;x=(n|0)>2;n=n-2|0;if(x){continue}break}}u=(s|0)==(u|0);if(!u){n=g;t=v[g>>2];g=v[i>>2];g=x3a(g,g>>31,7266,0);v[n>>2]=t-((Pa&8191)<<19|g>>>13)}g=h;if(s){i=v[h>>2];g=v[j>>2];g=x3a(g,g>>31,14465,0);v[h>>2]=i-((Pa&8191)<<19|g>>>13);g=h+4|0}x=u?-1:0;n=(r-s|0)-u|0;e:{if((n|0)<1){i=j;break e}w=(d+x|0)+(k^-1)|0;f:{if(!(n&1)){r=n;i=j;break f}r=v[g>>2];i=v[j+4>>2]+v[j>>2]|0;i=x3a(i,i>>31,7232,0);v[g>>2]=r-((Pa&8191)<<19|i>>>13);g=g+4|0;r=n-1|0;i=j+4|0}if((s|0)==(w|0)){break e}while(1){t=v[g>>2];w=v[i+4>>2]+v[i>>2]|0;w=x3a(w,w>>31,7232,0);v[g>>2]=t-((Pa&8191)<<19|w>>>13);t=v[g+4>>2];w=v[i+8>>2]+v[i+4>>2]|0;w=x3a(w,w>>31,7232,0);v[g+4>>2]=t-((Pa&8191)<<19|w>>>13);g=g+8|0;i=i+8|0;w=(r|0)>2;r=r-2|0;if(w){continue}break}}if(!p){r=g;t=v[g>>2];g=v[i>>2];g=x3a(g,g>>31,14465,0);v[r>>2]=t-((Pa&8191)<<19|g>>>13)}g=j;if(!s){i=v[j>>2];g=v[h>>2];g=x3a(g,g>>31,-868,-1);v[j>>2]=i-((Pa&8191)<<19|g>>>13);g=j+4|0}g:{if((m|0)<1){i=h;break g}r=l+(k+q|0)|0;if(m&1){t=v[g>>2];i=v[h+4>>2]+v[h>>2]|0;i=x3a(i,i>>31,-434,-1);v[g>>2]=t-((Pa&8191)<<19|i>>>13);g=g+4|0;m=m-1|0;i=h+4|0}else{i=h}if((r|0)==1){break g}while(1){t=v[g>>2];r=v[i+4>>2]+v[i>>2]|0;r=x3a(r,r>>31,-434,-1);v[g>>2]=t-((Pa&8191)<<19|r>>>13);t=v[g+4>>2];r=v[i+8>>2]+v[i+4>>2]|0;r=x3a(r,r>>31,-434,-1);v[g+4>>2]=t-((Pa&8191)<<19|r>>>13);g=g+8|0;i=i+8|0;r=(m|0)>2;m=m-2|0;if(r){continue}break}}if(!u){r=g;m=v[g>>2];g=v[i>>2];g=x3a(g,g>>31,-868,-1);v[r>>2]=m-((Pa&8191)<<19|g>>>13)}if(s){i=v[h>>2];g=v[j>>2];g=x3a(g,g>>31,-25987,-1);v[h>>2]=i-((Pa&8191)<<19|g>>>13);h=h+4|0}h:{if((n|0)<1){break h}if(n&1){i=v[h>>2];g=v[j+4>>2]+v[j>>2]|0;g=x3a(g,g>>31,-12993,-1);v[h>>2]=i-((Pa&8191)<<19|g>>>13);n=n-1|0;j=j+4|0;h=h+4|0}if((s|0)==((d+x|0)+(k^-1)|0)){break h}while(1){i=v[h>>2];g=v[j+4>>2]+v[j>>2]|0;g=x3a(g,g>>31,-12993,-1);v[h>>2]=i-((Pa&8191)<<19|g>>>13);i=v[h+4>>2];g=v[j+8>>2]+v[j+4>>2]|0;g=x3a(g,g>>31,-12993,-1);v[h+4>>2]=i-((Pa&8191)<<19|g>>>13);h=h+8|0;j=j+8|0;g=(n|0)>2;n=n-2|0;if(g){continue}break}}if(p){break a}g=h;i=v[h>>2];h=v[j>>2];h=x3a(h,h>>31,-25987,-1);v[g>>2]=i-((Pa&8191)<<19|h>>>13)}j5(b,d,s);b=b+o|0;y=y+1|0;if((y|0)!=(e|0)){continue}break}}u=c&1;r=(d|0)/16<<4;if((d|0)>=16){s=0;while(1){c=a;i:{if((e|0)<2){break i}b=(e-u|0)+1|0;i=b>>1;if((b|0)>=2){b=f<<2;g=i;h=c;while(1){j=v[h>>2];j=x3a(j,j>>31,10077,0);v[h>>2]=(Pa&8191)<<19|j>>>13;j=v[h+4>>2];j=x3a(j,j>>31,10077,0);v[h+4>>2]=(Pa&8191)<<19|j>>>13;j=v[h+8>>2];j=x3a(j,j>>31,10077,0);v[h+8>>2]=(Pa&8191)<<19|j>>>13;j=v[h+12>>2];j=x3a(j,j>>31,10077,0);v[h+12>>2]=(Pa&8191)<<19|j>>>13;j=v[h+16>>2];j=x3a(j,j>>31,10077,0);v[h+16>>2]=(Pa&8191)<<19|j>>>13;j=v[h+20>>2];j=x3a(j,j>>31,10077,0);v[h+20>>2]=(Pa&8191)<<19|j>>>13;j=v[h+24>>2];j=x3a(j,j>>31,10077,0);v[h+24>>2]=(Pa&8191)<<19|j>>>13;j=v[h+28>>2];j=x3a(j,j>>31,10077,0);v[h+28>>2]=(Pa&8191)<<19|j>>>13;j=v[h+32>>2];j=x3a(j,j>>31,10077,0);v[h+32>>2]=(Pa&8191)<<19|j>>>13;j=v[h+36>>2];j=x3a(j,j>>31,10077,0);v[h+36>>2]=(Pa&8191)<<19|j>>>13;j=v[h+40>>2];j=x3a(j,j>>31,10077,0);v[h+40>>2]=(Pa&8191)<<19|j>>>13;j=v[h+44>>2];j=x3a(j,j>>31,10077,0);v[h+44>>2]=(Pa&8191)<<19|j>>>13;j=v[h+48>>2];j=x3a(j,j>>31,10077,0);v[h+48>>2]=(Pa&8191)<<19|j>>>13;j=v[h+52>>2];j=x3a(j,j>>31,10077,0);v[h+52>>2]=(Pa&8191)<<19|j>>>13;j=v[h+56>>2];j=x3a(j,j>>31,10077,0);v[h+56>>2]=(Pa&8191)<<19|j>>>13;j=v[h+60>>2];j=x3a(j,j>>31,10077,0);v[h+60>>2]=(Pa&8191)<<19|j>>>13;h=b+h|0;j=(g|0)>1;g=g-1|0;if(j){continue}break}}h=(B(f,i)<<2)+c|0;j=e-i|0;if((j|0)>=1){n=f<<2;b=j;g=h;while(1){m=v[g>>2];m=x3a(m,m>>31,13318,0);v[g>>2]=(Pa&8191)<<19|m>>>13;m=v[g+4>>2];m=x3a(m,m>>31,13318,0);v[g+4>>2]=(Pa&8191)<<19|m>>>13;m=v[g+8>>2];m=x3a(m,m>>31,13318,0);v[g+8>>2]=(Pa&8191)<<19|m>>>13;m=v[g+12>>2];m=x3a(m,m>>31,13318,0);v[g+12>>2]=(Pa&8191)<<19|m>>>13;m=v[g+16>>2];m=x3a(m,m>>31,13318,0);v[g+16>>2]=(Pa&8191)<<19|m>>>13;m=v[g+20>>2];m=x3a(m,m>>31,13318,0);v[g+20>>2]=(Pa&8191)<<19|m>>>13;m=v[g+24>>2];m=x3a(m,m>>31,13318,0);v[g+24>>2]=(Pa&8191)<<19|m>>>13;m=v[g+28>>2];m=x3a(m,m>>31,13318,0);v[g+28>>2]=(Pa&8191)<<19|m>>>13;m=v[g+32>>2];m=x3a(m,m>>31,13318,0);v[g+32>>2]=(Pa&8191)<<19|m>>>13;m=v[g+36>>2];m=x3a(m,m>>31,13318,0);v[g+36>>2]=(Pa&8191)<<19|m>>>13;m=v[g+40>>2];m=x3a(m,m>>31,13318,0);v[g+40>>2]=(Pa&8191)<<19|m>>>13;m=v[g+44>>2];m=x3a(m,m>>31,13318,0);v[g+44>>2]=(Pa&8191)<<19|m>>>13;m=v[g+48>>2];m=x3a(m,m>>31,13318,0);v[g+48>>2]=(Pa&8191)<<19|m>>>13;m=v[g+52>>2];m=x3a(m,m>>31,13318,0);v[g+52>>2]=(Pa&8191)<<19|m>>>13;m=v[g+56>>2];m=x3a(m,m>>31,13318,0);v[g+56>>2]=(Pa&8191)<<19|m>>>13;m=v[g+60>>2];m=x3a(m,m>>31,13318,0);v[g+60>>2]=(Pa&8191)<<19|m>>>13;g=g+n|0;m=(b|0)>1;b=b-1|0;if(m){continue}break}}g=c;if(!u){g=v[c>>2];b=v[h>>2];b=x3a(b,b>>31,7266,0);v[c>>2]=g-((Pa&8191)<<19|b>>>13);g=v[c+4>>2];b=v[h+4>>2];b=x3a(b,b>>31,7266,0);v[c+4>>2]=g-((Pa&8191)<<19|b>>>13);g=v[c+8>>2];b=v[h+8>>2];b=x3a(b,b>>31,7266,0);v[c+8>>2]=g-((Pa&8191)<<19|b>>>13);g=v[c+12>>2];b=v[h+12>>2];b=x3a(b,b>>31,7266,0);v[c+12>>2]=g-((Pa&8191)<<19|b>>>13);g=v[c+16>>2];b=v[h+16>>2];b=x3a(b,b>>31,7266,0);v[c+16>>2]=g-((Pa&8191)<<19|b>>>13);g=v[c+20>>2];b=v[h+20>>2];b=x3a(b,b>>31,7266,0);v[c+20>>2]=g-((Pa&8191)<<19|b>>>13);g=v[c+24>>2];b=v[h+24>>2];b=x3a(b,b>>31,7266,0);v[c+24>>2]=g-((Pa&8191)<<19|b>>>13);g=v[c+28>>2];b=v[h+28>>2];b=x3a(b,b>>31,7266,0);v[c+28>>2]=g-((Pa&8191)<<19|b>>>13);g=v[c+32>>2];b=v[h+32>>2];b=x3a(b,b>>31,7266,0);v[c+32>>2]=g-((Pa&8191)<<19|b>>>13);g=v[c+36>>2];b=v[h+36>>2];b=x3a(b,b>>31,7266,0);v[c+36>>2]=g-((Pa&8191)<<19|b>>>13);g=v[c+40>>2];b=v[h+40>>2];b=x3a(b,b>>31,7266,0);v[c+40>>2]=g-((Pa&8191)<<19|b>>>13);g=v[c+44>>2];b=v[h+44>>2];b=x3a(b,b>>31,7266,0);v[c+44>>2]=g-((Pa&8191)<<19|b>>>13);g=v[c+48>>2];b=v[h+48>>2];b=x3a(b,b>>31,7266,0);v[c+48>>2]=g-((Pa&8191)<<19|b>>>13);g=v[c+52>>2];b=v[h+52>>2];b=x3a(b,b>>31,7266,0);v[c+52>>2]=g-((Pa&8191)<<19|b>>>13);g=v[c+56>>2];b=v[h+56>>2];b=x3a(b,b>>31,7266,0);v[c+56>>2]=g-((Pa&8191)<<19|b>>>13);g=v[c+60>>2];b=v[h+60>>2];b=x3a(b,b>>31,7266,0);v[c+60>>2]=g-((Pa&8191)<<19|b>>>13);g=(f<<2)+c|0}q=e&1;p=(q|0)!=(u|0);m=(i-!u|0)-p|0;j:{if((m|0)<1){i=h;break j}k=f<<2;n=m;b=h;while(1){o=v[g>>2];i=b+k|0;l=v[i>>2]+v[b>>2]|0;l=x3a(l,l>>31,3633,0);v[g>>2]=o-((Pa&8191)<<19|l>>>13);o=v[g+4>>2];l=v[k+(b+4|0)>>2]+v[b+4>>2]|0;l=x3a(l,l>>31,3633,0);v[g+4>>2]=o-((Pa&8191)<<19|l>>>13);o=v[g+8>>2];l=v[k+(b+8|0)>>2]+v[b+8>>2]|0;l=x3a(l,l>>31,3633,0);v[g+8>>2]=o-((Pa&8191)<<19|l>>>13);o=v[g+12>>2];l=v[k+(b+12|0)>>2]+v[b+12>>2]|0;l=x3a(l,l>>31,3633,0);v[g+12>>2]=o-((Pa&8191)<<19|l>>>13);o=v[g+16>>2];l=v[k+(b+16|0)>>2]+v[b+16>>2]|0;l=x3a(l,l>>31,3633,0);v[g+16>>2]=o-((Pa&8191)<<19|l>>>13);o=v[g+20>>2];l=v[k+(b+20|0)>>2]+v[b+20>>2]|0;l=x3a(l,l>>31,3633,0);v[g+20>>2]=o-((Pa&8191)<<19|l>>>13);o=v[g+24>>2];l=v[k+(b+24|0)>>2]+v[b+24>>2]|0;l=x3a(l,l>>31,3633,0);v[g+24>>2]=o-((Pa&8191)<<19|l>>>13);o=v[g+28>>2];l=v[k+(b+28|0)>>2]+v[b+28>>2]|0;l=x3a(l,l>>31,3633,0);v[g+28>>2]=o-((Pa&8191)<<19|l>>>13);o=v[g+32>>2];l=v[k+(b+32|0)>>2]+v[b+32>>2]|0;l=x3a(l,l>>31,3633,0);v[g+32>>2]=o-((Pa&8191)<<19|l>>>13);o=v[g+36>>2];l=v[k+(b+36|0)>>2]+v[b+36>>2]|0;l=x3a(l,l>>31,3633,0);v[g+36>>2]=o-((Pa&8191)<<19|l>>>13);o=v[g+40>>2];l=v[k+(b+40|0)>>2]+v[b+40>>2]|0;l=x3a(l,l>>31,3633,0);v[g+40>>2]=o-((Pa&8191)<<19|l>>>13);o=v[g+44>>2];l=v[k+(b+44|0)>>2]+v[b+44>>2]|0;l=x3a(l,l>>31,3633,0);v[g+44>>2]=o-((Pa&8191)<<19|l>>>13);o=v[g+48>>2];l=v[k+(b+48|0)>>2]+v[b+48>>2]|0;l=x3a(l,l>>31,3633,0);v[g+48>>2]=o-((Pa&8191)<<19|l>>>13);o=v[g+52>>2];l=v[k+(b+52|0)>>2]+v[b+52>>2]|0;l=x3a(l,l>>31,3633,0);v[g+52>>2]=o-((Pa&8191)<<19|l>>>13);o=v[g+56>>2];l=v[k+(b+56|0)>>2]+v[b+56>>2]|0;l=x3a(l,l>>31,3633,0);v[g+56>>2]=o-((Pa&8191)<<19|l>>>13);o=v[g+60>>2];b=v[k+(b+60|0)>>2]+v[b+60>>2]|0;b=x3a(b,b>>31,3633,0);v[g+60>>2]=o-((Pa&8191)<<19|b>>>13);g=g+k|0;l=(n|0)>1;n=n-1|0;b=i;if(l){continue}break}}q=(q|0)==(u|0);if(!q){n=v[g>>2];b=v[i>>2];b=x3a(b,b>>31,7266,0);v[g>>2]=n-((Pa&8191)<<19|b>>>13);n=v[g+4>>2];b=v[i+4>>2];b=x3a(b,b>>31,7266,0);v[g+4>>2]=n-((Pa&8191)<<19|b>>>13);n=v[g+8>>2];b=v[i+8>>2];b=x3a(b,b>>31,7266,0);v[g+8>>2]=n-((Pa&8191)<<19|b>>>13);n=v[g+12>>2];b=v[i+12>>2];b=x3a(b,b>>31,7266,0);v[g+12>>2]=n-((Pa&8191)<<19|b>>>13);n=v[g+16>>2];b=v[i+16>>2];b=x3a(b,b>>31,7266,0);v[g+16>>2]=n-((Pa&8191)<<19|b>>>13);n=v[g+20>>2];b=v[i+20>>2];b=x3a(b,b>>31,7266,0);v[g+20>>2]=n-((Pa&8191)<<19|b>>>13);n=v[g+24>>2];b=v[i+24>>2];b=x3a(b,b>>31,7266,0);v[g+24>>2]=n-((Pa&8191)<<19|b>>>13);n=v[g+28>>2];b=v[i+28>>2];b=x3a(b,b>>31,7266,0);v[g+28>>2]=n-((Pa&8191)<<19|b>>>13);n=v[g+32>>2];b=v[i+32>>2];b=x3a(b,b>>31,7266,0);v[g+32>>2]=n-((Pa&8191)<<19|b>>>13);n=v[g+36>>2];b=v[i+36>>2];b=x3a(b,b>>31,7266,0);v[g+36>>2]=n-((Pa&8191)<<19|b>>>13);n=v[g+40>>2];b=v[i+40>>2];b=x3a(b,b>>31,7266,0);v[g+40>>2]=n-((Pa&8191)<<19|b>>>13);n=v[g+44>>2];b=v[i+44>>2];b=x3a(b,b>>31,7266,0);v[g+44>>2]=n-((Pa&8191)<<19|b>>>13);n=v[g+48>>2];b=v[i+48>>2];b=x3a(b,b>>31,7266,0);v[g+48>>2]=n-((Pa&8191)<<19|b>>>13);n=v[g+52>>2];b=v[i+52>>2];b=x3a(b,b>>31,7266,0);v[g+52>>2]=n-((Pa&8191)<<19|b>>>13);n=v[g+56>>2];b=v[i+56>>2];b=x3a(b,b>>31,7266,0);v[g+56>>2]=n-((Pa&8191)<<19|b>>>13);n=v[g+60>>2];b=v[i+60>>2];b=x3a(b,b>>31,7266,0);v[g+60>>2]=n-((Pa&8191)<<19|b>>>13)}g=h;if(u){g=v[h>>2];b=v[c>>2];b=x3a(b,b>>31,14465,0);v[h>>2]=g-((Pa&8191)<<19|b>>>13);g=v[h+4>>2];b=v[c+4>>2];b=x3a(b,b>>31,14465,0);v[h+4>>2]=g-((Pa&8191)<<19|b>>>13);g=v[h+8>>2];b=v[c+8>>2];b=x3a(b,b>>31,14465,0);v[h+8>>2]=g-((Pa&8191)<<19|b>>>13);g=v[h+12>>2];b=v[c+12>>2];b=x3a(b,b>>31,14465,0);v[h+12>>2]=g-((Pa&8191)<<19|b>>>13);g=v[h+16>>2];b=v[c+16>>2];b=x3a(b,b>>31,14465,0);v[h+16>>2]=g-((Pa&8191)<<19|b>>>13);g=v[h+20>>2];b=v[c+20>>2];b=x3a(b,b>>31,14465,0);v[h+20>>2]=g-((Pa&8191)<<19|b>>>13);g=v[h+24>>2];b=v[c+24>>2];b=x3a(b,b>>31,14465,0);v[h+24>>2]=g-((Pa&8191)<<19|b>>>13);g=v[h+28>>2];b=v[c+28>>2];b=x3a(b,b>>31,14465,0);v[h+28>>2]=g-((Pa&8191)<<19|b>>>13);g=v[h+32>>2];b=v[c+32>>2];b=x3a(b,b>>31,14465,0);v[h+32>>2]=g-((Pa&8191)<<19|b>>>13);g=v[h+36>>2];b=v[c+36>>2];b=x3a(b,b>>31,14465,0);v[h+36>>2]=g-((Pa&8191)<<19|b>>>13);g=v[h+40>>2];b=v[c+40>>2];b=x3a(b,b>>31,14465,0);v[h+40>>2]=g-((Pa&8191)<<19|b>>>13);g=v[h+44>>2];b=v[c+44>>2];b=x3a(b,b>>31,14465,0);v[h+44>>2]=g-((Pa&8191)<<19|b>>>13);g=v[h+48>>2];b=v[c+48>>2];b=x3a(b,b>>31,14465,0);v[h+48>>2]=g-((Pa&8191)<<19|b>>>13);g=v[h+52>>2];b=v[c+52>>2];b=x3a(b,b>>31,14465,0);v[h+52>>2]=g-((Pa&8191)<<19|b>>>13);g=v[h+56>>2];b=v[c+56>>2];b=x3a(b,b>>31,14465,0);v[h+56>>2]=g-((Pa&8191)<<19|b>>>13);g=v[h+60>>2];b=v[c+60>>2];b=x3a(b,b>>31,14465,0);v[h+60>>2]=g-((Pa&8191)<<19|b>>>13);g=(f<<2)+h|0}n=(j-u|0)-q|0;k:{if((n|0)<1){j=c;break k}k=f<<2;i=n;b=c;while(1){o=v[g>>2];j=b+k|0;l=v[j>>2]+v[b>>2]|0;l=x3a(l,l>>31,7232,0);v[g>>2]=o-((Pa&8191)<<19|l>>>13);o=v[g+4>>2];l=v[k+(b+4|0)>>2]+v[b+4>>2]|0;l=x3a(l,l>>31,7232,0);v[g+4>>2]=o-((Pa&8191)<<19|l>>>13);o=v[g+8>>2];l=v[k+(b+8|0)>>2]+v[b+8>>2]|0;l=x3a(l,l>>31,7232,0);v[g+8>>2]=o-((Pa&8191)<<19|l>>>13);o=v[g+12>>2];l=v[k+(b+12|0)>>2]+v[b+12>>2]|0;l=x3a(l,l>>31,7232,0);v[g+12>>2]=o-((Pa&8191)<<19|l>>>13);o=v[g+16>>2];l=v[k+(b+16|0)>>2]+v[b+16>>2]|0;l=x3a(l,l>>31,7232,0);v[g+16>>2]=o-((Pa&8191)<<19|l>>>13);o=v[g+20>>2];l=v[k+(b+20|0)>>2]+v[b+20>>2]|0;l=x3a(l,l>>31,7232,0);v[g+20>>2]=o-((Pa&8191)<<19|l>>>13);o=v[g+24>>2];l=v[k+(b+24|0)>>2]+v[b+24>>2]|0;l=x3a(l,l>>31,7232,0);v[g+24>>2]=o-((Pa&8191)<<19|l>>>13);o=v[g+28>>2];l=v[k+(b+28|0)>>2]+v[b+28>>2]|0;l=x3a(l,l>>31,7232,0);v[g+28>>2]=o-((Pa&8191)<<19|l>>>13);o=v[g+32>>2];l=v[k+(b+32|0)>>2]+v[b+32>>2]|0;l=x3a(l,l>>31,7232,0);v[g+32>>2]=o-((Pa&8191)<<19|l>>>13);o=v[g+36>>2];l=v[k+(b+36|0)>>2]+v[b+36>>2]|0;l=x3a(l,l>>31,7232,0);v[g+36>>2]=o-((Pa&8191)<<19|l>>>13);o=v[g+40>>2];l=v[k+(b+40|0)>>2]+v[b+40>>2]|0;l=x3a(l,l>>31,7232,0);v[g+40>>2]=o-((Pa&8191)<<19|l>>>13);o=v[g+44>>2];l=v[k+(b+44|0)>>2]+v[b+44>>2]|0;l=x3a(l,l>>31,7232,0);v[g+44>>2]=o-((Pa&8191)<<19|l>>>13);o=v[g+48>>2];l=v[k+(b+48|0)>>2]+v[b+48>>2]|0;l=x3a(l,l>>31,7232,0);v[g+48>>2]=o-((Pa&8191)<<19|l>>>13);o=v[g+52>>2];l=v[k+(b+52|0)>>2]+v[b+52>>2]|0;l=x3a(l,l>>31,7232,0);v[g+52>>2]=o-((Pa&8191)<<19|l>>>13);o=v[g+56>>2];l=v[k+(b+56|0)>>2]+v[b+56>>2]|0;l=x3a(l,l>>31,7232,0);v[g+56>>2]=o-((Pa&8191)<<19|l>>>13);o=v[g+60>>2];b=v[k+(b+60|0)>>2]+v[b+60>>2]|0;b=x3a(b,b>>31,7232,0);v[g+60>>2]=o-((Pa&8191)<<19|b>>>13);g=g+k|0;l=(i|0)>1;i=i-1|0;b=j;if(l){continue}break}}if(!p){i=v[g>>2];b=v[j>>2];b=x3a(b,b>>31,14465,0);v[g>>2]=i-((Pa&8191)<<19|b>>>13);i=v[g+4>>2];b=v[j+4>>2];b=x3a(b,b>>31,14465,0);v[g+4>>2]=i-((Pa&8191)<<19|b>>>13);i=v[g+8>>2];b=v[j+8>>2];b=x3a(b,b>>31,14465,0);v[g+8>>2]=i-((Pa&8191)<<19|b>>>13);i=v[g+12>>2];b=v[j+12>>2];b=x3a(b,b>>31,14465,0);v[g+12>>2]=i-((Pa&8191)<<19|b>>>13);i=v[g+16>>2];b=v[j+16>>2];b=x3a(b,b>>31,14465,0);v[g+16>>2]=i-((Pa&8191)<<19|b>>>13);i=v[g+20>>2];b=v[j+20>>2];b=x3a(b,b>>31,14465,0);v[g+20>>2]=i-((Pa&8191)<<19|b>>>13);i=v[g+24>>2];b=v[j+24>>2];b=x3a(b,b>>31,14465,0);v[g+24>>2]=i-((Pa&8191)<<19|b>>>13);i=v[g+28>>2];b=v[j+28>>2];b=x3a(b,b>>31,14465,0);v[g+28>>2]=i-((Pa&8191)<<19|b>>>13);i=v[g+32>>2];b=v[j+32>>2];b=x3a(b,b>>31,14465,0);v[g+32>>2]=i-((Pa&8191)<<19|b>>>13);i=v[g+36>>2];b=v[j+36>>2];b=x3a(b,b>>31,14465,0);v[g+36>>2]=i-((Pa&8191)<<19|b>>>13);i=v[g+40>>2];b=v[j+40>>2];b=x3a(b,b>>31,14465,0);v[g+40>>2]=i-((Pa&8191)<<19|b>>>13);i=v[g+44>>2];b=v[j+44>>2];b=x3a(b,b>>31,14465,0);v[g+44>>2]=i-((Pa&8191)<<19|b>>>13);i=v[g+48>>2];b=v[j+48>>2];b=x3a(b,b>>31,14465,0);v[g+48>>2]=i-((Pa&8191)<<19|b>>>13);i=v[g+52>>2];b=v[j+52>>2];b=x3a(b,b>>31,14465,0);v[g+52>>2]=i-((Pa&8191)<<19|b>>>13);i=v[g+56>>2];b=v[j+56>>2];b=x3a(b,b>>31,14465,0);v[g+56>>2]=i-((Pa&8191)<<19|b>>>13);i=v[g+60>>2];b=v[j+60>>2];b=x3a(b,b>>31,14465,0);v[g+60>>2]=i-((Pa&8191)<<19|b>>>13)}g=c;if(!u){g=v[c>>2];b=v[h>>2];b=x3a(b,b>>31,-868,-1);v[c>>2]=g-((Pa&8191)<<19|b>>>13);g=v[c+4>>2];b=v[h+4>>2];b=x3a(b,b>>31,-868,-1);v[c+4>>2]=g-((Pa&8191)<<19|b>>>13);g=v[c+8>>2];b=v[h+8>>2];b=x3a(b,b>>31,-868,-1);v[c+8>>2]=g-((Pa&8191)<<19|b>>>13);g=v[c+12>>2];b=v[h+12>>2];b=x3a(b,b>>31,-868,-1);v[c+12>>2]=g-((Pa&8191)<<19|b>>>13);g=v[c+16>>2];b=v[h+16>>2];b=x3a(b,b>>31,-868,-1);v[c+16>>2]=g-((Pa&8191)<<19|b>>>13);g=v[c+20>>2];b=v[h+20>>2];b=x3a(b,b>>31,-868,-1);v[c+20>>2]=g-((Pa&8191)<<19|b>>>13);g=v[c+24>>2];b=v[h+24>>2];b=x3a(b,b>>31,-868,-1);v[c+24>>2]=g-((Pa&8191)<<19|b>>>13);g=v[c+28>>2];b=v[h+28>>2];b=x3a(b,b>>31,-868,-1);v[c+28>>2]=g-((Pa&8191)<<19|b>>>13);g=v[c+32>>2];b=v[h+32>>2];b=x3a(b,b>>31,-868,-1);v[c+32>>2]=g-((Pa&8191)<<19|b>>>13);g=v[c+36>>2];b=v[h+36>>2];b=x3a(b,b>>31,-868,-1);v[c+36>>2]=g-((Pa&8191)<<19|b>>>13);g=v[c+40>>2];b=v[h+40>>2];b=x3a(b,b>>31,-868,-1);v[c+40>>2]=g-((Pa&8191)<<19|b>>>13);g=v[c+44>>2];b=v[h+44>>2];b=x3a(b,b>>31,-868,-1);v[c+44>>2]=g-((Pa&8191)<<19|b>>>13);g=v[c+48>>2];b=v[h+48>>2];b=x3a(b,b>>31,-868,-1);v[c+48>>2]=g-((Pa&8191)<<19|b>>>13);g=v[c+52>>2];b=v[h+52>>2];b=x3a(b,b>>31,-868,-1);v[c+52>>2]=g-((Pa&8191)<<19|b>>>13);g=v[c+56>>2];b=v[h+56>>2];b=x3a(b,b>>31,-868,-1);v[c+56>>2]=g-((Pa&8191)<<19|b>>>13);g=v[c+60>>2];b=v[h+60>>2];b=x3a(b,b>>31,-868,-1);v[c+60>>2]=g-((Pa&8191)<<19|b>>>13);g=(f<<2)+c|0}l:{if((m|0)<1){i=h;break l}j=f<<2;b=h;while(1){o=v[g>>2];i=b+j|0;k=v[i>>2]+v[b>>2]|0;k=x3a(k,k>>31,-434,-1);v[g>>2]=o-((Pa&8191)<<19|k>>>13);o=v[g+4>>2];k=v[j+(b+4|0)>>2]+v[b+4>>2]|0;k=x3a(k,k>>31,-434,-1);v[g+4>>2]=o-((Pa&8191)<<19|k>>>13);o=v[g+8>>2];k=v[j+(b+8|0)>>2]+v[b+8>>2]|0;k=x3a(k,k>>31,-434,-1);v[g+8>>2]=o-((Pa&8191)<<19|k>>>13);o=v[g+12>>2];k=v[j+(b+12|0)>>2]+v[b+12>>2]|0;k=x3a(k,k>>31,-434,-1);v[g+12>>2]=o-((Pa&8191)<<19|k>>>13);o=v[g+16>>2];k=v[j+(b+16|0)>>2]+v[b+16>>2]|0;k=x3a(k,k>>31,-434,-1);v[g+16>>2]=o-((Pa&8191)<<19|k>>>13);o=v[g+20>>2];k=v[j+(b+20|0)>>2]+v[b+20>>2]|0;k=x3a(k,k>>31,-434,-1);v[g+20>>2]=o-((Pa&8191)<<19|k>>>13);o=v[g+24>>2];k=v[j+(b+24|0)>>2]+v[b+24>>2]|0;k=x3a(k,k>>31,-434,-1);v[g+24>>2]=o-((Pa&8191)<<19|k>>>13);o=v[g+28>>2];k=v[j+(b+28|0)>>2]+v[b+28>>2]|0;k=x3a(k,k>>31,-434,-1);v[g+28>>2]=o-((Pa&8191)<<19|k>>>13);o=v[g+32>>2];k=v[j+(b+32|0)>>2]+v[b+32>>2]|0;k=x3a(k,k>>31,-434,-1);v[g+32>>2]=o-((Pa&8191)<<19|k>>>13);o=v[g+36>>2];k=v[j+(b+36|0)>>2]+v[b+36>>2]|0;k=x3a(k,k>>31,-434,-1);v[g+36>>2]=o-((Pa&8191)<<19|k>>>13);o=v[g+40>>2];k=v[j+(b+40|0)>>2]+v[b+40>>2]|0;k=x3a(k,k>>31,-434,-1);v[g+40>>2]=o-((Pa&8191)<<19|k>>>13);o=v[g+44>>2];k=v[j+(b+44|0)>>2]+v[b+44>>2]|0;k=x3a(k,k>>31,-434,-1);v[g+44>>2]=o-((Pa&8191)<<19|k>>>13);o=v[g+48>>2];k=v[j+(b+48|0)>>2]+v[b+48>>2]|0;k=x3a(k,k>>31,-434,-1);v[g+48>>2]=o-((Pa&8191)<<19|k>>>13);o=v[g+52>>2];k=v[j+(b+52|0)>>2]+v[b+52>>2]|0;k=x3a(k,k>>31,-434,-1);v[g+52>>2]=o-((Pa&8191)<<19|k>>>13);o=v[g+56>>2];k=v[j+(b+56|0)>>2]+v[b+56>>2]|0;k=x3a(k,k>>31,-434,-1);v[g+56>>2]=o-((Pa&8191)<<19|k>>>13);k=v[g+60>>2];b=v[j+(b+60|0)>>2]+v[b+60>>2]|0;b=x3a(b,b>>31,-434,-1);v[g+60>>2]=k-((Pa&8191)<<19|b>>>13);g=g+j|0;k=(m|0)>1;m=m-1|0;b=i;if(k){continue}break}}if(!q){j=v[g>>2];b=v[i>>2];b=x3a(b,b>>31,-868,-1);v[g>>2]=j-((Pa&8191)<<19|b>>>13);j=v[g+4>>2];b=v[i+4>>2];b=x3a(b,b>>31,-868,-1);v[g+4>>2]=j-((Pa&8191)<<19|b>>>13);j=v[g+8>>2];b=v[i+8>>2];b=x3a(b,b>>31,-868,-1);v[g+8>>2]=j-((Pa&8191)<<19|b>>>13);j=v[g+12>>2];b=v[i+12>>2];b=x3a(b,b>>31,-868,-1);v[g+12>>2]=j-((Pa&8191)<<19|b>>>13);j=v[g+16>>2];b=v[i+16>>2];b=x3a(b,b>>31,-868,-1);v[g+16>>2]=j-((Pa&8191)<<19|b>>>13);j=v[g+20>>2];b=v[i+20>>2];b=x3a(b,b>>31,-868,-1);v[g+20>>2]=j-((Pa&8191)<<19|b>>>13);j=v[g+24>>2];b=v[i+24>>2];b=x3a(b,b>>31,-868,-1);v[g+24>>2]=j-((Pa&8191)<<19|b>>>13);j=v[g+28>>2];b=v[i+28>>2];b=x3a(b,b>>31,-868,-1);v[g+28>>2]=j-((Pa&8191)<<19|b>>>13);j=v[g+32>>2];b=v[i+32>>2];b=x3a(b,b>>31,-868,-1);v[g+32>>2]=j-((Pa&8191)<<19|b>>>13);j=v[g+36>>2];b=v[i+36>>2];b=x3a(b,b>>31,-868,-1);v[g+36>>2]=j-((Pa&8191)<<19|b>>>13);j=v[g+40>>2];b=v[i+40>>2];b=x3a(b,b>>31,-868,-1);v[g+40>>2]=j-((Pa&8191)<<19|b>>>13);j=v[g+44>>2];b=v[i+44>>2];b=x3a(b,b>>31,-868,-1);v[g+44>>2]=j-((Pa&8191)<<19|b>>>13);j=v[g+48>>2];b=v[i+48>>2];b=x3a(b,b>>31,-868,-1);v[g+48>>2]=j-((Pa&8191)<<19|b>>>13);j=v[g+52>>2];b=v[i+52>>2];b=x3a(b,b>>31,-868,-1);v[g+52>>2]=j-((Pa&8191)<<19|b>>>13);j=v[g+56>>2];b=v[i+56>>2];b=x3a(b,b>>31,-868,-1);v[g+56>>2]=j-((Pa&8191)<<19|b>>>13);j=v[g+60>>2];b=v[i+60>>2];b=x3a(b,b>>31,-868,-1);v[g+60>>2]=j-((Pa&8191)<<19|b>>>13)}if(u){g=v[h>>2];b=v[c>>2];b=x3a(b,b>>31,-25987,-1);v[h>>2]=g-((Pa&8191)<<19|b>>>13);g=v[h+4>>2];b=v[c+4>>2];b=x3a(b,b>>31,-25987,-1);v[h+4>>2]=g-((Pa&8191)<<19|b>>>13);g=v[h+8>>2];b=v[c+8>>2];b=x3a(b,b>>31,-25987,-1);v[h+8>>2]=g-((Pa&8191)<<19|b>>>13);g=v[h+12>>2];b=v[c+12>>2];b=x3a(b,b>>31,-25987,-1);v[h+12>>2]=g-((Pa&8191)<<19|b>>>13);g=v[h+16>>2];b=v[c+16>>2];b=x3a(b,b>>31,-25987,-1);v[h+16>>2]=g-((Pa&8191)<<19|b>>>13);g=v[h+20>>2];b=v[c+20>>2];b=x3a(b,b>>31,-25987,-1);v[h+20>>2]=g-((Pa&8191)<<19|b>>>13);g=v[h+24>>2];b=v[c+24>>2];b=x3a(b,b>>31,-25987,-1);v[h+24>>2]=g-((Pa&8191)<<19|b>>>13);g=v[h+28>>2];b=v[c+28>>2];b=x3a(b,b>>31,-25987,-1);v[h+28>>2]=g-((Pa&8191)<<19|b>>>13);g=v[h+32>>2];b=v[c+32>>2];b=x3a(b,b>>31,-25987,-1);v[h+32>>2]=g-((Pa&8191)<<19|b>>>13);g=v[h+36>>2];b=v[c+36>>2];b=x3a(b,b>>31,-25987,-1);v[h+36>>2]=g-((Pa&8191)<<19|b>>>13);g=v[h+40>>2];b=v[c+40>>2];b=x3a(b,b>>31,-25987,-1);v[h+40>>2]=g-((Pa&8191)<<19|b>>>13);g=v[h+44>>2];b=v[c+44>>2];b=x3a(b,b>>31,-25987,-1);v[h+44>>2]=g-((Pa&8191)<<19|b>>>13);g=v[h+48>>2];b=v[c+48>>2];b=x3a(b,b>>31,-25987,-1);v[h+48>>2]=g-((Pa&8191)<<19|b>>>13);g=v[h+52>>2];b=v[c+52>>2];b=x3a(b,b>>31,-25987,-1);v[h+52>>2]=g-((Pa&8191)<<19|b>>>13);g=v[h+56>>2];b=v[c+56>>2];b=x3a(b,b>>31,-25987,-1);v[h+56>>2]=g-((Pa&8191)<<19|b>>>13);g=v[h+60>>2];b=v[c+60>>2];b=x3a(b,b>>31,-25987,-1);v[h+60>>2]=g-((Pa&8191)<<19|b>>>13);h=(f<<2)+h|0}m:{if((n|0)<1){b=c;break m}g=f<<2;while(1){j=v[h>>2];b=c+g|0;i=v[b>>2]+v[c>>2]|0;i=x3a(i,i>>31,-12993,-1);v[h>>2]=j-((Pa&8191)<<19|i>>>13);j=v[h+4>>2];i=v[g+(c+4|0)>>2]+v[c+4>>2]|0;i=x3a(i,i>>31,-12993,-1);v[h+4>>2]=j-((Pa&8191)<<19|i>>>13);j=v[h+8>>2];i=v[g+(c+8|0)>>2]+v[c+8>>2]|0;i=x3a(i,i>>31,-12993,-1);v[h+8>>2]=j-((Pa&8191)<<19|i>>>13);j=v[h+12>>2];i=v[g+(c+12|0)>>2]+v[c+12>>2]|0;i=x3a(i,i>>31,-12993,-1);v[h+12>>2]=j-((Pa&8191)<<19|i>>>13);j=v[h+16>>2];i=v[g+(c+16|0)>>2]+v[c+16>>2]|0;i=x3a(i,i>>31,-12993,-1);v[h+16>>2]=j-((Pa&8191)<<19|i>>>13);j=v[h+20>>2];i=v[g+(c+20|0)>>2]+v[c+20>>2]|0;i=x3a(i,i>>31,-12993,-1);v[h+20>>2]=j-((Pa&8191)<<19|i>>>13);j=v[h+24>>2];i=v[g+(c+24|0)>>2]+v[c+24>>2]|0;i=x3a(i,i>>31,-12993,-1);v[h+24>>2]=j-((Pa&8191)<<19|i>>>13);j=v[h+28>>2];i=v[g+(c+28|0)>>2]+v[c+28>>2]|0;i=x3a(i,i>>31,-12993,-1);v[h+28>>2]=j-((Pa&8191)<<19|i>>>13);j=v[h+32>>2];i=v[g+(c+32|0)>>2]+v[c+32>>2]|0;i=x3a(i,i>>31,-12993,-1);v[h+32>>2]=j-((Pa&8191)<<19|i>>>13);j=v[h+36>>2];i=v[g+(c+36|0)>>2]+v[c+36>>2]|0;i=x3a(i,i>>31,-12993,-1);v[h+36>>2]=j-((Pa&8191)<<19|i>>>13);j=v[h+40>>2];i=v[g+(c+40|0)>>2]+v[c+40>>2]|0;i=x3a(i,i>>31,-12993,-1);v[h+40>>2]=j-((Pa&8191)<<19|i>>>13);j=v[h+44>>2];i=v[g+(c+44|0)>>2]+v[c+44>>2]|0;i=x3a(i,i>>31,-12993,-1);v[h+44>>2]=j-((Pa&8191)<<19|i>>>13);j=v[h+48>>2];i=v[g+(c+48|0)>>2]+v[c+48>>2]|0;i=x3a(i,i>>31,-12993,-1);v[h+48>>2]=j-((Pa&8191)<<19|i>>>13);j=v[h+52>>2];i=v[g+(c+52|0)>>2]+v[c+52>>2]|0;i=x3a(i,i>>31,-12993,-1);v[h+52>>2]=j-((Pa&8191)<<19|i>>>13);j=v[h+56>>2];i=v[g+(c+56|0)>>2]+v[c+56>>2]|0;i=x3a(i,i>>31,-12993,-1);v[h+56>>2]=j-((Pa&8191)<<19|i>>>13);i=v[h+60>>2];c=v[g+(c+60|0)>>2]+v[c+60>>2]|0;c=x3a(c,c>>31,-12993,-1);v[h+60>>2]=i-((Pa&8191)<<19|c>>>13);h=g+h|0;i=(n|0)>1;n=n-1|0;c=b;if(i){continue}break}}if(p){break i}g=v[h>>2];c=v[b>>2];c=x3a(c,c>>31,-25987,-1);v[h>>2]=g-((Pa&8191)<<19|c>>>13);g=v[h+4>>2];c=v[b+4>>2];c=x3a(c,c>>31,-25987,-1);v[h+4>>2]=g-((Pa&8191)<<19|c>>>13);g=v[h+8>>2];c=v[b+8>>2];c=x3a(c,c>>31,-25987,-1);v[h+8>>2]=g-((Pa&8191)<<19|c>>>13);g=v[h+12>>2];c=v[b+12>>2];c=x3a(c,c>>31,-25987,-1);v[h+12>>2]=g-((Pa&8191)<<19|c>>>13);g=v[h+16>>2];c=v[b+16>>2];c=x3a(c,c>>31,-25987,-1);v[h+16>>2]=g-((Pa&8191)<<19|c>>>13);g=v[h+20>>2];c=v[b+20>>2];c=x3a(c,c>>31,-25987,-1);v[h+20>>2]=g-((Pa&8191)<<19|c>>>13);g=v[h+24>>2];c=v[b+24>>2];c=x3a(c,c>>31,-25987,-1);v[h+24>>2]=g-((Pa&8191)<<19|c>>>13);g=v[h+28>>2];c=v[b+28>>2];c=x3a(c,c>>31,-25987,-1);v[h+28>>2]=g-((Pa&8191)<<19|c>>>13);g=v[h+32>>2];c=v[b+32>>2];c=x3a(c,c>>31,-25987,-1);v[h+32>>2]=g-((Pa&8191)<<19|c>>>13);g=v[h+36>>2];c=v[b+36>>2];c=x3a(c,c>>31,-25987,-1);v[h+36>>2]=g-((Pa&8191)<<19|c>>>13);g=v[h+40>>2];c=v[b+40>>2];c=x3a(c,c>>31,-25987,-1);v[h+40>>2]=g-((Pa&8191)<<19|c>>>13);g=v[h+44>>2];c=v[b+44>>2];c=x3a(c,c>>31,-25987,-1);v[h+44>>2]=g-((Pa&8191)<<19|c>>>13);g=v[h+48>>2];c=v[b+48>>2];c=x3a(c,c>>31,-25987,-1);v[h+48>>2]=g-((Pa&8191)<<19|c>>>13);g=v[h+52>>2];c=v[b+52>>2];c=x3a(c,c>>31,-25987,-1);v[h+52>>2]=g-((Pa&8191)<<19|c>>>13);g=v[h+56>>2];c=v[b+56>>2];c=x3a(c,c>>31,-25987,-1);v[h+56>>2]=g-((Pa&8191)<<19|c>>>13);c=v[h+60>>2];b=v[b+60>>2];b=x3a(b,b>>31,-25987,-1);v[h+60>>2]=c-((Pa&8191)<<19|b>>>13)}i5(a,e,f,u);a=a- -64|0;s=s+16|0;if((r|0)>(s|0)){continue}break}}if((d|0)>(r|0)){h=a;o=d-r|0;p=o;m=f;r=e;n:{if((e|0)<2){break n}b=(r-u|0)+1|0;i=b>>1;if(!((b|0)<2|(p|0)<1)){d=p&-4;g=p&3;j=p-1>>>0<3;n=m<<2;c=i;f=h;while(1){e=f;b=d;if(!j){while(1){k=v[e>>2];k=x3a(k,k>>31,10077,0);v[e>>2]=(Pa&8191)<<19|k>>>13;k=v[e+4>>2];k=x3a(k,k>>31,10077,0);v[e+4>>2]=(Pa&8191)<<19|k>>>13;k=v[e+8>>2];k=x3a(k,k>>31,10077,0);v[e+8>>2]=(Pa&8191)<<19|k>>>13;k=v[e+12>>2];k=x3a(k,k>>31,10077,0);v[e+12>>2]=(Pa&8191)<<19|k>>>13;e=e+16|0;b=b-4|0;if(b){continue}break}}b=g;if(b){while(1){k=v[e>>2];k=x3a(k,k>>31,10077,0);v[e>>2]=(Pa&8191)<<19|k>>>13;e=e+4|0;b=b-1|0;if(b){continue}break}}f=f+n|0;b=(c|0)>1;c=c-1|0;if(b){continue}break}}d=(B(i,m)<<2)+h|0;n=r-i|0;if(!((n|0)<1|(p|0)<1)){g=p&-4;j=p&3;k=p-1>>>0<3;s=m<<2;c=n;f=d;while(1){e=f;b=g;if(!k){while(1){q=v[e>>2];q=x3a(q,q>>31,13318,0);v[e>>2]=(Pa&8191)<<19|q>>>13;q=v[e+4>>2];q=x3a(q,q>>31,13318,0);v[e+4>>2]=(Pa&8191)<<19|q>>>13;q=v[e+8>>2];q=x3a(q,q>>31,13318,0);v[e+8>>2]=(Pa&8191)<<19|q>>>13;q=v[e+12>>2];q=x3a(q,q>>31,13318,0);v[e+12>>2]=(Pa&8191)<<19|q>>>13;e=e+16|0;b=b-4|0;if(b){continue}break}}b=j;if(b){while(1){q=v[e>>2];q=x3a(q,q>>31,13318,0);v[e>>2]=(Pa&8191)<<19|q>>>13;e=e+4|0;b=b-1|0;if(b){continue}break}}f=f+s|0;b=(c|0)>1;c=c-1|0;if(b){continue}break}}g=h;if(!u){o:{if((p|0)<1){break o}c=p&3;b=d;e=h;if(p-1>>>0>=3){f=p&-4;while(1){j=v[e>>2];g=v[b>>2];g=x3a(g,g>>31,7266,0);v[e>>2]=j-((Pa&8191)<<19|g>>>13);j=v[e+4>>2];g=v[b+4>>2];g=x3a(g,g>>31,7266,0);v[e+4>>2]=j-((Pa&8191)<<19|g>>>13);j=v[e+8>>2];g=v[b+8>>2];g=x3a(g,g>>31,7266,0);v[e+8>>2]=j-((Pa&8191)<<19|g>>>13);j=v[e+12>>2];g=v[b+12>>2];g=x3a(g,g>>31,7266,0);v[e+12>>2]=j-((Pa&8191)<<19|g>>>13);b=b+16|0;e=e+16|0;f=f-4|0;if(f){continue}break}}if(!c){break o}while(1){g=v[e>>2];f=v[b>>2];f=x3a(f,f>>31,7266,0);v[e>>2]=g-((Pa&8191)<<19|f>>>13);b=b+4|0;e=e+4|0;c=c-1|0;if(c){continue}break}}g=(m<<2)+h|0}q=r&1;l=(q|0)!=(u|0);j=(i-!u|0)-l|0;p:{q:{if((j|0)<1){c=d;break q}if((p|0)<1){l=0;k=0;break p}k=p&-2;x=p&1;s=m<<2;i=j;c=d;while(1){e=c;b=g;f=k;if((p|0)!=1){while(1){t=v[b>>2];w=v[e+s>>2]+v[e>>2]|0;w=x3a(w,w>>31,3633,0);v[b>>2]=t-((Pa&8191)<<19|w>>>13);t=v[b+4>>2];w=v[s+(e+4|0)>>2]+v[e+4>>2]|0;w=x3a(w,w>>31,3633,0);v[b+4>>2]=t-((Pa&8191)<<19|w>>>13);e=e+8|0;b=b+8|0;f=f-2|0;if(f){continue}break}}if(x){f=b;t=v[b>>2];b=v[e+s>>2]+v[e>>2]|0;b=x3a(b,b>>31,3633,0);v[f>>2]=t-((Pa&8191)<<19|b>>>13)}c=c+s|0;g=g+s|0;b=(i|0)>1;i=i-1|0;if(b){continue}break}}k=(p|0)>0;l=l&k;if(!l){l=0;break p}e=p&3;if(p-1>>>0>=3){b=p&-4;while(1){i=v[g>>2];f=v[c>>2];f=x3a(f,f>>31,7266,0);v[g>>2]=i-((Pa&8191)<<19|f>>>13);i=v[g+4>>2];f=v[c+4>>2];f=x3a(f,f>>31,7266,0);v[g+4>>2]=i-((Pa&8191)<<19|f>>>13);i=v[g+8>>2];f=v[c+8>>2];f=x3a(f,f>>31,7266,0);v[g+8>>2]=i-((Pa&8191)<<19|f>>>13);i=v[g+12>>2];f=v[c+12>>2];f=x3a(f,f>>31,7266,0);v[g+12>>2]=i-((Pa&8191)<<19|f>>>13);c=c+16|0;g=g+16|0;b=b-4|0;if(b){continue}break}}if(!e){break p}while(1){f=v[g>>2];b=v[c>>2];b=x3a(b,b>>31,7266,0);v[g>>2]=f-((Pa&8191)<<19|b>>>13);c=c+4|0;g=g+4|0;e=e-1|0;if(e){continue}break}}g=d;if(u){r:{if(!k){break r}c=p&3;e=d;b=h;if(p-1>>>0>=3){f=p&-4;while(1){i=v[e>>2];g=v[b>>2];g=x3a(g,g>>31,14465,0);v[e>>2]=i-((Pa&8191)<<19|g>>>13);i=v[e+4>>2];g=v[b+4>>2];g=x3a(g,g>>31,14465,0);v[e+4>>2]=i-((Pa&8191)<<19|g>>>13);i=v[e+8>>2];g=v[b+8>>2];g=x3a(g,g>>31,14465,0);v[e+8>>2]=i-((Pa&8191)<<19|g>>>13);i=v[e+12>>2];g=v[b+12>>2];g=x3a(g,g>>31,14465,0);v[e+12>>2]=i-((Pa&8191)<<19|g>>>13);b=b+16|0;e=e+16|0;f=f-4|0;if(f){continue}break}}if(!c){break r}while(1){g=v[e>>2];f=v[b>>2];f=x3a(f,f>>31,14465,0);v[e>>2]=g-((Pa&8191)<<19|f>>>13);b=b+4|0;e=e+4|0;c=c-1|0;if(c){continue}break}}g=(m<<2)+d|0}w=(q|0)==(u|0);n=(n-u|0)-w|0;s:{t:{if((n|0)<1){c=h;break t}x=0;i=0;if(!k){break s}s=p&-2;x=p&1;q=m<<2;i=n;c=h;while(1){e=g;b=c;f=s;if((p|0)!=1){while(1){t=v[e>>2];y=v[b+q>>2]+v[b>>2]|0;y=x3a(y,y>>31,7232,0);v[e>>2]=t-((Pa&8191)<<19|y>>>13);t=v[e+4>>2];y=v[q+(b+4|0)>>2]+v[b+4>>2]|0;y=x3a(y,y>>31,7232,0);v[e+4>>2]=t-((Pa&8191)<<19|y>>>13);e=e+8|0;b=b+8|0;f=f-2|0;if(f){continue}break}}if(x){f=v[e>>2];b=v[b+q>>2]+v[b>>2]|0;b=x3a(b,b>>31,7232,0);v[e>>2]=f-((Pa&8191)<<19|b>>>13)}c=c+q|0;g=g+q|0;b=(i|0)>1;i=i-1|0;if(b){continue}break}}x=k&w;u:{if(!x){x=0;break u}e=p&3;if(p-1>>>0>=3){b=p&-4;while(1){i=v[g>>2];f=v[c>>2];f=x3a(f,f>>31,14465,0);v[g>>2]=i-((Pa&8191)<<19|f>>>13);i=v[g+4>>2];f=v[c+4>>2];f=x3a(f,f>>31,14465,0);v[g+4>>2]=i-((Pa&8191)<<19|f>>>13);i=v[g+8>>2];f=v[c+8>>2];f=x3a(f,f>>31,14465,0);v[g+8>>2]=i-((Pa&8191)<<19|f>>>13);i=v[g+12>>2];f=v[c+12>>2];f=x3a(f,f>>31,14465,0);v[g+12>>2]=i-((Pa&8191)<<19|f>>>13);g=g+16|0;c=c+16|0;b=b-4|0;if(b){continue}break}}if(!e){break u}while(1){f=v[g>>2];b=v[c>>2];b=x3a(b,b>>31,14465,0);v[g>>2]=f-((Pa&8191)<<19|b>>>13);g=g+4|0;c=c+4|0;e=e-1|0;if(e){continue}break}}i=k}g=h;if(!u){v:{if(!i){break v}c=p&3;b=d;e=h;if(p-1>>>0>=3){f=p&-4;while(1){k=v[e>>2];g=v[b>>2];g=x3a(g,g>>31,-868,-1);v[e>>2]=k-((Pa&8191)<<19|g>>>13);k=v[e+4>>2];g=v[b+4>>2];g=x3a(g,g>>31,-868,-1);v[e+4>>2]=k-((Pa&8191)<<19|g>>>13);k=v[e+8>>2];g=v[b+8>>2];g=x3a(g,g>>31,-868,-1);v[e+8>>2]=k-((Pa&8191)<<19|g>>>13);k=v[e+12>>2];g=v[b+12>>2];g=x3a(g,g>>31,-868,-1);v[e+12>>2]=k-((Pa&8191)<<19|g>>>13);b=b+16|0;e=e+16|0;f=f-4|0;if(f){continue}break}}if(!c){break v}while(1){g=v[e>>2];f=v[b>>2];f=x3a(f,f>>31,-868,-1);v[e>>2]=g-((Pa&8191)<<19|f>>>13);b=b+4|0;e=e+4|0;c=c-1|0;if(c){continue}break}}g=(m<<2)+h|0}w:{if((j|0)<1){c=d;break w}s=p&-2;w=p&1;q=m<<2;c=d;while(1){k=j;x:{if(!i){break x}e=c;b=g;f=s;if((p|0)!=1){while(1){t=v[b>>2];j=v[e+q>>2]+v[e>>2]|0;j=x3a(j,j>>31,-434,-1);v[b>>2]=t-((Pa&8191)<<19|j>>>13);t=v[b+4>>2];j=v[q+(e+4|0)>>2]+v[e+4>>2]|0;j=x3a(j,j>>31,-434,-1);v[b+4>>2]=t-((Pa&8191)<<19|j>>>13);e=e+8|0;b=b+8|0;f=f-2|0;if(f){continue}break}}if(!w){break x}f=b;j=v[b>>2];b=v[e+q>>2]+v[e>>2]|0;b=x3a(b,b>>31,-434,-1);v[f>>2]=j-((Pa&8191)<<19|b>>>13)}j=k-1|0;c=c+q|0;g=g+q|0;if((k|0)>1){continue}break}}y:{if(!l){break y}e=p&3;if(p-1>>>0>=3){b=p&-4;while(1){j=v[g>>2];f=v[c>>2];f=x3a(f,f>>31,-868,-1);v[g>>2]=j-((Pa&8191)<<19|f>>>13);j=v[g+4>>2];f=v[c+4>>2];f=x3a(f,f>>31,-868,-1);v[g+4>>2]=j-((Pa&8191)<<19|f>>>13);j=v[g+8>>2];f=v[c+8>>2];f=x3a(f,f>>31,-868,-1);v[g+8>>2]=j-((Pa&8191)<<19|f>>>13);j=v[g+12>>2];f=v[c+12>>2];f=x3a(f,f>>31,-868,-1);v[g+12>>2]=j-((Pa&8191)<<19|f>>>13);c=c+16|0;g=g+16|0;b=b-4|0;if(b){continue}break}}if(!e){break y}while(1){f=v[g>>2];b=v[c>>2];b=x3a(b,b>>31,-868,-1);v[g>>2]=f-((Pa&8191)<<19|b>>>13);c=c+4|0;g=g+4|0;e=e-1|0;if(e){continue}break}}if(u){z:{if(!i){break z}c=p&3;e=d;b=h;if(p-1>>>0>=3){f=p&-4;while(1){j=v[e>>2];g=v[b>>2];g=x3a(g,g>>31,-25987,-1);v[e>>2]=j-((Pa&8191)<<19|g>>>13);j=v[e+4>>2];g=v[b+4>>2];g=x3a(g,g>>31,-25987,-1);v[e+4>>2]=j-((Pa&8191)<<19|g>>>13);j=v[e+8>>2];g=v[b+8>>2];g=x3a(g,g>>31,-25987,-1);v[e+8>>2]=j-((Pa&8191)<<19|g>>>13);j=v[e+12>>2];g=v[b+12>>2];g=x3a(g,g>>31,-25987,-1);v[e+12>>2]=j-((Pa&8191)<<19|g>>>13);b=b+16|0;e=e+16|0;f=f-4|0;if(f){continue}break}}if(!c){break z}while(1){g=v[e>>2];f=v[b>>2];f=x3a(f,f>>31,-25987,-1);v[e>>2]=g-((Pa&8191)<<19|f>>>13);b=b+4|0;e=e+4|0;c=c-1|0;if(c){continue}break}}d=(m<<2)+d|0}if((n|0)>=1){g=p&-2;k=p&1;j=m<<2;while(1){c=n;A:{if(!i){break A}e=d;b=h;f=g;if((p|0)!=1){while(1){s=v[e>>2];n=v[b+j>>2]+v[b>>2]|0;n=x3a(n,n>>31,-12993,-1);v[e>>2]=s-((Pa&8191)<<19|n>>>13);s=v[e+4>>2];n=v[j+(b+4|0)>>2]+v[b+4>>2]|0;n=x3a(n,n>>31,-12993,-1);v[e+4>>2]=s-((Pa&8191)<<19|n>>>13);e=e+8|0;b=b+8|0;f=f-2|0;if(f){continue}break}}if(!k){break A}f=v[e>>2];b=v[b+j>>2]+v[b>>2]|0;b=x3a(b,b>>31,-12993,-1);v[e>>2]=f-((Pa&8191)<<19|b>>>13)}n=c-1|0;h=h+j|0;d=d+j|0;if((c|0)>1){continue}break}}if(!x){break n}e=p&3;if(p-1>>>0>=3){b=p&-4;while(1){f=v[d>>2];c=v[h>>2];c=x3a(c,c>>31,-25987,-1);v[d>>2]=f-((Pa&8191)<<19|c>>>13);f=v[d+4>>2];c=v[h+4>>2];c=x3a(c,c>>31,-25987,-1);v[d+4>>2]=f-((Pa&8191)<<19|c>>>13);f=v[d+8>>2];c=v[h+8>>2];c=x3a(c,c>>31,-25987,-1);v[d+8>>2]=f-((Pa&8191)<<19|c>>>13);f=v[d+12>>2];c=v[h+12>>2];c=x3a(c,c>>31,-25987,-1);v[d+12>>2]=f-((Pa&8191)<<19|c>>>13);d=d+16|0;h=h+16|0;b=b-4|0;if(b){continue}break}}if(!e){break n}while(1){c=v[d>>2];b=v[h>>2];b=x3a(b,b>>31,-25987,-1);v[d>>2]=c-((Pa&8191)<<19|b>>>13);d=d+4|0;h=h+4|0;e=e-1|0;if(e){continue}break}}h5(a,r,o,m,u)}return 0}function EDa(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,n=0,o=0,p=0,q=0,r=0,s=0,z=0,A=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;A=Ma-16|0;Ma=A;v[A+8>>2]=c;c=v[b+96>>2];f=v[c+4>>2];v[A>>2]=0;d=b;e=v[d+540>>2];a:{if(!e){e=zm(f,228483);if(!e){c=11;break a}v[b+540>>2]=e;v[b+516>>2]=v[e>>2];c=v[b+96>>2]}oa=d,pa=fk(c,235125,1),v[oa+544>>2]=pa;if(!v[b+548>>2]){oa=b,pa=fk(tg(f,278441),234968,0),v[oa+548>>2]=pa}if(!v[b+552>>2]){oa=b,pa=fk(tg(f,278441),235450,0),v[oa+552>>2]=pa}ga=v[a+28>>2];v[b+140>>2]=0;v[b+132>>2]=0;v[b+136>>2]=0;f=v[a+8>>2];d=Id(a,A+12|0);c=v[A+12>>2];if(c){break a}ha=b+132|0;while(1){c=2;b:{c:{d:{e:{f:{g:{h:{if((d|0)<=1954115632){if((d|0)<=131071){if((d|0)==-1519689116|(d|0)==-1519619212|(d|0)==65536){break h}break a}if((d|0)<=1953658212){if((d|0)==131072|(d|0)==1330926671){break h}break a}if((d|0)==1953658213|(d|0)==1953784678){break h}break a}if((d|0)==2001684018){break f}if((d|0)==2001684038){break g}if((d|0)!=1954115633){break a}}v[ha>>2]=1953784678;if((d|0)!=1953784678){break d}c=Dd(a,518768,ha);v[A+12>>2]=c;if(c){break a}d=v[b+140>>2];if(d){break e}c=8;break a}c=Mb(a,f);v[A+12>>2]=c;if(c){break a}j=0;f=0;i=0;l=0;C=0;p=Ma+-64|0;Ma=p;q=a;g=v[a+28>>2];v[p+60>>2]=0;h=Dd(a,519728,p+16|0);v[p+60>>2]=h;i:{if(h){break i}h=8;a=v[p+20>>2];if((a|0)==1953784678|(a|0)==2001684038){break i}c=v[p+24>>2];if((c|0)!=v[q+4>>2]){break i}a=x[p+28>>1];if(!a|c>>>0<=B(a,20)+44>>>0){break i}c=a<<4|12;a=v[p+32>>2];if(c>>>0>=a>>>0|a&3){break i}a=v[p+44>>2];j:{if(!v[p+40>>2]){if(!(a|v[p+48>>2])){break j}break i}if(!a){break j}if(!v[p+48>>2]){break i}}if(!(v[p+56>>2]?v[p+52>>2]:1)){break i}h=0;I=cc(g,c,p+60|0);k:{if(v[p+60>>2]){break k}i=cc(g,40,p+60|0);if(v[p+60>>2]){break k}a=x[p+28>>1];if(a){f=a;while(1){j=j+1|0;c=f>>>0>1;f=f>>>1|0;if(c){continue}break}}t[I|0]=w[p+23|0];t[I+1|0]=x[p+22>>1];t[I+2|0]=v[p+20>>2]>>>8;t[I+3|0]=v[p+20>>2];t[I+4|0]=w[p+29|0];d=w[p+28|0];f=a<<4;a=j-1|0;c=16<>>8;t[I+9|0]=a;t[I+8|0]=a>>>8;t[I+7|0]=c;t[I+6|0]=c>>>8;t[I+5|0]=d;f=yb(g,24,0,x[p+28>>1],0,p+60|0);if(v[p+60>>2]){break k}l=yb(g,4,0,x[p+28>>1],0,p+60|0);if(v[p+60>>2]){break k}a=Ed(q,B(x[p+28>>1],20));v[p+60>>2]=a;if(a){break k}if(x[p+28>>1]){c=0;a=0;while(1){d=B(a,24)+f|0;oa=d,pa=Ig(q),v[oa>>2]=pa;oa=d,pa=Ig(q),v[oa+4>>2]=pa;oa=d,pa=Ig(q),v[oa+8>>2]=pa;oa=d,pa=Ig(q),v[oa+12>>2]=pa;oa=d,pa=Ig(q),v[oa+16>>2]=pa;j=c;c=v[d>>2];if(j>>>0>=c>>>0){dd(q);v[p+60>>2]=8;break k}v[(a<<2)+l>>2]=d;a=a+1|0;if(a>>>0>1]){continue}break}}dd(q);$l(l,x[p+28>>1],4,2404);m=x[p+28>>1];c=m<<4|12;j=B(m,20)+44|0;s=v[p+32>>2];d=v[p+24>>2];l:{if(!m){a=c;break l}a=c;while(1){m:{n=v[(C<<2)+l>>2];n:{if(v[n+4>>2]!=(j|0)){break n}G=v[n+8>>2];if(G>>>0>d>>>0|d-G>>>0>>0){break n}M=v[n+12>>2];if(M>>>0>s>>>0|s-M>>>0>>0){break n}if(G>>>0<=M>>>0){break m}}v[p+60>>2]=8;break k}v[n+20>>2]=a;a=(M+3&-4)+a|0;j=(G+3&-4)+j|0;C=C+1|0;if((m|0)!=(C|0)){continue}break}}o:{m=v[p+40>>2];if(!m){break o}if((j|0)==(m|0)){j=v[p+44>>2]+j|0;if(d>>>0>=j>>>0){break o}}v[p+60>>2]=8;break k}p:{m=v[p+52>>2];if(!m){break p}if((m|0)==(j+3&-4)){j=m+v[p+56>>2]|0;if(d>>>0>=j>>>0){break p}}v[p+60>>2]=8;break k}if(!((a|0)==(s|0)&(d|0)==(j|0))){v[p+60>>2]=8;break k}I=yb(g,1,c,s,I,p+60|0);if(v[p+60>>2]){break k}if(x[p+28>>1]){a=I+12|0;c=0;while(1){j=B(c,24)+f|0;t[a|0]=w[j+3|0];t[a+1|0]=x[j+2>>1];t[a+2|0]=v[j>>2]>>>8;t[a+3|0]=v[j>>2];t[a+4|0]=w[j+19|0];t[a+5|0]=x[j+18>>1];t[a+6|0]=v[j+16>>2]>>>8;t[a+7|0]=v[j+16>>2];t[a+8|0]=w[j+23|0];t[a+9|0]=x[j+22>>1];t[a+10|0]=v[j+20>>2]>>>8;t[a+11|0]=v[j+20>>2];t[a+12|0]=w[j+15|0];t[a+13|0]=x[j+14>>1];t[a+14|0]=v[j+12>>2]>>>8;t[a+15|0]=v[j+12>>2];d=Mb(q,v[j+4>>2]);v[p+60>>2]=d;if(d){break k}d=Ed(q,v[j+8>>2]);v[p+60>>2]=d;if(d){break k}q:{d=v[j+8>>2];s=v[j+12>>2];if((d|0)==(s|0)){cb(v[j+20>>2]+I|0,v[q+32>>2],d);break q}v[p+12>>2]=s;d=v[j+20>>2]+I|0;C=v[q+32>>2];G=v[j+8>>2];s=Ma+-64|0;Ma=s;n=6;m=p+12|0;r:{if(!d|(!g|!m)){break r}v[s+20>>2]=d;v[s+12>>2]=G;v[s+8>>2]=C;d=v[m>>2];v[s+48>>2]=g;v[s+44>>2]=2465;v[s+40>>2]=2466;v[s+24>>2]=d;if(_H(s+8|0,47)){break r}d=bk(s+8|0,4);s:{if((d|0)!=1){Gk(s+8|0);if(d){break s}n=10;break r}v[m>>2]=v[s+28>>2];d=Gk(s+8|0)}n=0;d=d+5|0;if(d>>>0>2){break r}n=v[(d<<2)+520684>>2]}Ma=s- -64|0;v[p+60>>2]=n;if(!n){if(v[p+12>>2]==v[j+12>>2]){break q}v[p+60>>2]=8}dd(q);break k}dd(q);d=v[j+12>>2];j=v[j+20>>2];s=d+j|0;if(s&3){eb(s+I|0,0,((d^-1)-j&3)+1|0)}a=a+16|0;c=c+1|0;if(c>>>0>1]){continue}break}}a=v[p+32>>2];v[i+32>>2]=0;v[i+8>>2]=0;v[i+4>>2]=a;v[i>>2]=I;v[i+20>>2]=0;v[i+24>>2]=0;a=v[q+28>>2];v[i+24>>2]=2405;v[i+28>>2]=a;An(v[b+104>>2],v[b+8>>2]>>>10&1);v[b+104>>2]=i;v[b+8>>2]=v[b+8>>2]&-1025}if(f){Qa[v[g+8>>2]](g,f)}if(l){Qa[v[g+8>>2]](g,l)}if(!v[p+60>>2]){break i}if(I){Qa[v[g+8>>2]](g,I)}t:{if(!i){break t}a=v[i+24>>2];if(!a){break t}Qa[a|0](i)}if(i){Qa[v[g+8>>2]](g,i)}h=v[p+60>>2]}Ma=p- -64|0;c=h;break b}c=Mb(a,f);v[A+12>>2]=c;if(c){break a}K=0;l=0;k=Ma-112|0;Ma=k;M=a;G=v[a+28>>2];v[k+108>>2]=0;v[k+32>>2]=0;v[k+36>>2]=0;v[k+24>>2]=0;v[k+28>>2]=0;v[k+16>>2]=0;v[k+20>>2]=0;v[k+12>>2]=0;h=v[A+8>>2];a=Dd(a,520368,k+40|0);v[k+108>>2]=a;u:{if(a){break u}if(v[k+44>>2]==2001684018){a=8;break u}c=v[k+48>>2];if((c|0)!=v[M+4>>2]){a=8;break u}d=x[k+52>>1];if(!d){a=8;break u}if(c>>>0<=B(d,20)+48>>>0){a=8;break u}a=v[k+68>>2];v:{w:{f=v[k+64>>2];if(!f){if(!(v[k+72>>2]|a)){break w}a=8;break u}if(v[k+72>>2]|!a){break v}a=8;break u}a=0}if(c>>>0<=f>>>0){a=8;break u}if(c-f>>>0>>0){a=8;break u}f=v[k+76>>2];i=v[k+80>>2];if(!f&(i|0)!=0){a=8;break u}if(c>>>0<=f>>>0){a=8;break u}a=8;if(i>>>0>c-f>>>0){break u}C=0;v[k+104>>2]=0;ba=yb(G,32,0,d,0,k+108|0);x:{if(v[k+108>>2]){a=0;break x}K=yb(G,4,0,x[k+52>>1],0,k+108|0);if(v[k+108>>2]){a=0;break x}a=0;y:{if(x[k+52>>1]){while(1){a=(C<<5)+ba|0;c=Gf(M,k+108|0);t[a|0]=c;if(v[k+108>>2]){break y}z:{c=c&63;if((c|0)==63){c=Id(M,k+108|0);v[a+4>>2]=c;if(v[k+108>>2]){break y}break z}c=c>>>0<=62?v[(c<<2)+520432>>2]:0;v[a+4>>2]=c;if(c){break z}v[k+108>>2]=8;break y}f=w[a|0];A:{if(!((c|0)!=1819239265&(c|0)!=1735162214)){j=(f>>>0<64)<<8;d=f>>>0>63;break A}j=(f>>>0>63)<<8;d=f>>>0<64}c=EZ(M,a+8|0);v[k+108>>2]=c;if(c){break y}c=v[a+8>>2];v[a+12>>2]=c;B:{C:{if(!d){c=EZ(M,a+12|0);v[k+108>>2]=c;if(c){break y}d=v[a+12>>2];if(v[a+4>>2]==1819239265){break C}c=d}if((l^-1)>>>0>=c>>>0){break B}v[k+108>>2]=8;break y}c=0;if(!d){break B}v[k+108>>2]=8;break y}v[a+24>>2]=c;v[a+20>>2]=l;v[a+16>>2]=f>>>6|j;v[(C<<2)+K>>2]=a;l=c+l|0;a=x[k+52>>1];C=C+1|0;if(a>>>0>C>>>0){continue}break}}c=v[((a<<2)+K|0)-4>>2];a=v[c+24>>2];c=a+v[c+20>>2]|0;v[k+84>>2]=c;if(a>>>0>c>>>0){v[k+108>>2]=8;break y}C=0;v[k+92>>2]=0;u[k+96>>1]=1;D:{if(v[k+44>>2]==1953784678){a=Id(M,k+108|0);v[k+92>>2]=a;if(v[k+108>>2]){a=0;break x}if(!((a|0)==65536|(a|0)==131072)){v[k+108>>2]=8;break y}a=Fq(M,k+96|0);v[k+108>>2]=a;if(a){break y}a=x[k+96>>1];if(!a){v[k+108>>2]=8;break y}c=yb(G,12,0,a,0,k+108|0);v[k+104>>2]=c;if(v[k+108>>2]){a=0;break x}if(!x[k+96>>1]){break D}f=c+4|0;a=Fq(M,f);v[k+108>>2]=a;if(a){break y}j=0;while(1){i=B(j,12)+c|0;oa=i,pa=Id(M,k+108|0),v[oa>>2]=pa;if(v[k+108>>2]){break y}oa=i,pa=yb(G,2,0,x[f>>1],0,k+108|0),v[oa+8>>2]=pa;if(v[k+108>>2]){a=0;break x}c=0;E:{if(!x[f>>1]){d=0;break E}d=0;while(1){a=Fq(M,k+8|0);v[k+108>>2]=a;if(a){break y}a=x[k+8>>1];if(a>>>0>=x[k+52>>1]){v[k+108>>2]=8;break y}u[v[i+8>>2]+(C<<1)>>1]=a;l=v[v[(a<<2)+K>>2]+4>>2];d=(l|0)==1735162214?a:d;c=(l|0)==1819239265?a:c;C=C+1|0;if(C>>>0>1]){continue}break}}if(!(!(c|d)|(c-d|0)==1&c>>>0>=d>>>0)){v[k+108>>2]=8;break y}j=j+1|0;if(j>>>0>=x[k+96>>1]){break D}c=v[k+104>>2];f=(c+B(j,12)|0)+4|0;d=Fq(M,f);v[k+108>>2]=d;C=0;a=0;if(!d){continue}break}break x}v[k+104>>2]=0}a=v[M+8>>2];v[k+88>>2]=a;c=(a+v[k+60>>2]|0)+3|0;a=c&-4;d=v[k+48>>2];if(a>>>0>d>>>0){v[k+108>>2]=8;break y}f=v[k+64>>2];if(f){if((a|0)!=(f|0)){v[k+108>>2]=8;break y}a=v[k+68>>2]+(c|3)&-4}c=v[k+76>>2];if(c){if((a|0)!=(c|0)){v[k+108>>2]=8;break y}a=v[k+80>>2]+(a|3)&-4}if((d+3&-4)!=(a|0)){v[k+108>>2]=8;break y}a=x[k+96>>1];v[A>>2]=a;F:{c=h>>31;d=(c+h^c)&65535;c=v[A+8>>2];d=d+(c>>31)|0;if((a|0)>(d|0)){break F}d=0;if((c|0)<0){break F}v[k+108>>2]=6;break y}G:{if(!v[k+92>>2]){a=x[k+52>>1];break G}C=0;j=v[k+104>>2];h=j+B(d,12)|0;f=yb(G,4,0,x[h+4>>1],0,k+108|0);if(v[k+108>>2]){a=0;break x}c=x[h+4>>1];H:{if(!c){break H}a=0;if((c|0)!=1){C=c&65534;while(1){v[f+(a<<2)>>2]=v[(x[v[h+8>>2]+(a<<1)>>1]<<2)+K>>2];i=a|1;v[f+(i<<2)>>2]=v[(x[v[h+8>>2]+(i<<1)>>1]<<2)+K>>2];a=a+2|0;C=C-2|0;if(C){continue}break}}if(!(c&1)){break H}v[f+(a<<2)>>2]=v[(x[v[h+8>>2]+(a<<1)>>1]<<2)+K>>2]}K=yb(G,4,x[k+52>>1],c,K,k+108|0);if(v[k+108>>2]){break y}c=x[h+4>>1];I:{if(!c){break I}C=c&3;a=0;if(c-1>>>0>=3){c=c&65532;while(1){i=a<<2;v[i+K>>2]=v[f+i>>2];l=i|4;v[l+K>>2]=v[f+l>>2];l=i|8;v[l+K>>2]=v[f+l>>2];i=i|12;v[i+K>>2]=v[f+i>>2];a=a+4|0;c=c-4|0;if(c){continue}break}}if(!C){break I}while(1){c=a<<2;v[c+K>>2]=v[c+f>>2];a=a+1|0;C=C-1|0;if(C){continue}break}}if(f){Qa[v[G+8>>2]](G,f)}v[k+44>>2]=v[j+B(d,12)>>2];a=x[h+4>>1];u[k+52>>1]=a}c=(a&65535)<<4|12;v[k+8>>2]=c;a=v[k+56>>2];if(a>>>0>c>>>0){c=v[k+48>>2];a=c>>>0>>6>>>0?c<<6:a;c=a>>>0<67108864?a:67108864;v[k+8>>2]=c}i=cc(G,c,k+108|0);v[k+12>>2]=i;a=0;if(v[k+108>>2]){C=0;break x}C=cc(G,40,k+108|0);if(v[k+108>>2]){break x}t[i|0]=w[k+47|0];t[i+1|0]=x[k+46>>1];t[i+2|0]=v[k+44>>2]>>>8;t[i+3|0]=v[k+44>>2];f=x[k+52>>1];if(f){d=0;a=f;while(1){h=d;d=d+1|0;j=a>>>0>1;a=a>>>1|0;if(j){continue}break}t[i+4|0]=f>>>8;d=w[k+52|0];a=16<>>8;t[i+9|0]=h;t[i+8|0]=h>>>8;t[i+7|0]=a;t[i+6|0]=a>>>8;t[i+5|0]=d;a=x[k+52>>1]}else{a=0}oa=k,pa=LI(i,12),v[oa+16>>2]=pa;$l(K,a,4,2463);a=v[k+84>>2];if(!a){v[k+108>>2]=8;a=0;break x}if(a>>>0>c>>>0){v[k+108>>2]=8;a=0;break x}a=cc(G,a,k+108|0);if(v[k+108>>2]){break x}c=Ed(M,v[k+60>>2]);v[k+108>>2]=c;if(c){break x}v[k+108>>2]=7;dd(M);if(v[k+108>>2]){break x}ia=v[k+84>>2];Q=k+8|0;q=G;n=0;m=0;f=0;I=0;_=0;g=Ma-48|0;Ma=g;v[g+16>>2]=0;d=v[k+12>>2];v[g+12>>2]=d;R=x[k+52>>1];p=R<<4|12;v[g+8>>2]=p;v[g>>2]=0;J=k+16|0;ca=v[J>>2];J:{K:{if(R){L:{while(1){i=v[(n<<2)+K>>2];if(v[i+4>>2]==1735162214){break L}n=n+1|0;if((R|0)!=(n|0)){continue}break}i=0}v[J+12>>2]=i;T=J+12|0;n=0;M:{while(1){c=v[(n<<2)+K>>2];if(v[c+4>>2]!=1819239265){n=n+1|0;if((R|0)!=(n|0)){continue}break M}break}v[J+16>>2]=c;n=8;if(!i|(v[c+16>>2]^v[i+16>>2])&256){break J}c=J+16|0;break K}v[J+16>>2]=0;n=8;if(i){break J}c=J+16|0;break K}v[J+12>>2]=0;v[J+16>>2]=0;T=J+12|0;c=J+16|0}ja=c;D=yb(q,1,0,16,0,g+16|0);N:{O:{if(v[g+16>>2]){break O}m=cc(q,40,g+16|0);if(v[g+16>>2]){break O}v[m+32>>2]=0;v[m+8>>2]=0;v[m+4>>2]=ia;v[m>>2]=a;v[m+20>>2]=0;v[m+24>>2]=0;P:{Q:{R:{if(!R){break R}ma=a+8|0;da=12;while(1){h=v[(_<<2)+K>>2];c=v[h+28>>2];l=v[h+16>>2];Z=v[h+8>>2];V=v[h+4>>2];j=v[h+24>>2];h=v[h+20>>2];i=Mb(m,h);v[g+16>>2]=i;if(h+j>>>0>ia>>>0|i){break P}S:{T:{if((V|0)==1751672161){c=re(m,34);v[g+44>>2]=c;if(c){break Q}I=Ac(m,g+44|0);if(v[g+44>>2]){break Q}u[J+6>>1]=I;if(!(l&256)){break T}break Q}u[J+6>>1]=I;v[g+4>>2]=0;if(l&256){U:{V:{W:{X:{Y:{if((V|0)!=1819239265){if((V|0)==1752003704){break Y}if((V|0)!=1735162214){break Q}n=0;v[g+44>>2]=0;v[g+40>>2]=d;c=v[m+8>>2];v[g+36>>2]=p;r=yb(q,12,0,7,0,g+44|0);if(v[g+44>>2]){break V}d=re(m,4);v[g+44>>2]=d;if(d){break V}W=Ac(m,g+44|0);if(v[g+44>>2]){break V}ea=Ac(m,g+44|0);s=0;i=0;l=0;if(v[g+44>>2]){break U}u[J+4>>1]=W;S=W+1|0;if(v[v[J+16>>2]+8>>2]!=(B(S,ea?4:2)|0)|y[v[T>>2]+12>>2]<36){break W}d=Id(m,g+44|0);if(v[g+44>>2]){break U}if(d>>>0>v[v[T>>2]+12>>2]-36>>>0){break W}v[r+8>>2]=d;f=c+36|0;v[r+4>>2]=f;v[r>>2]=f;f=Id(m,g+44|0);if(v[g+44>>2]){break U}h=d+36|0;if(f>>>0>v[v[T>>2]+12>>2]-h>>>0){break W}v[r+20>>2]=f;d=c+h|0;v[r+16>>2]=d;v[r+12>>2]=d;d=Id(m,g+44|0);if(v[g+44>>2]){break U}h=f+h|0;if(d>>>0>v[v[T>>2]+12>>2]-h>>>0){break W}v[r+32>>2]=d;f=c+h|0;v[r+28>>2]=f;v[r+24>>2]=f;f=Id(m,g+44|0);if(v[g+44>>2]){break U}h=d+h|0;if(f>>>0>v[v[T>>2]+12>>2]-h>>>0){break W}v[r+44>>2]=f;d=c+h|0;v[r+40>>2]=d;v[r+36>>2]=d;d=Id(m,g+44|0);if(v[g+44>>2]){break U}h=f+h|0;if(d>>>0>v[v[T>>2]+12>>2]-h>>>0){break W}v[r+56>>2]=d;f=c+h|0;v[r+52>>2]=f;v[r+48>>2]=f;f=Id(m,g+44|0);if(v[g+44>>2]){break U}d=d+h|0;if(f>>>0>v[v[T>>2]+12>>2]-d>>>0){break W}v[r+68>>2]=f;h=c+d|0;v[r+64>>2]=h;v[r+60>>2]=h;h=Id(m,g+44|0);if(v[g+44>>2]){break U}d=d+f|0;if(h>>>0>v[v[T>>2]+12>>2]-d>>>0){break W}v[r+80>>2]=h;c=c+d|0;v[r+76>>2]=c;v[r+72>>2]=c;n=yb(q,4,0,S,0,g+44|0);if(v[g+44>>2]){break V}ka=v[r+64>>2];v[r+64>>2]=ka+(W+31>>>3&16380);i=yb(q,1,0,5120,0,g+44|0);if(v[g+44>>2]){break U}oa=J,pa=yb(q,2,0,W,0,g+44|0),v[oa+8>>2]=pa;if(v[g+44>>2]){break U}c=5120;X=0;l=p;if(W){while(1){v[g+32>>2]=0;u[g+30>>1]=0;d=Mb(m,(X>>>3|0)+ka|0);v[g+44>>2]=d;if(d){break X}d=Gf(m,g+44|0);if(v[g+44>>2]){break X}f=Mb(m,v[r+4>>2]);v[g+44>>2]=f;if(f){break X}U=Ac(m,g+44|0);if(v[g+44>>2]){break X}fa=d&128>>>(X&7);v[r+4>>2]=v[r+4>>2]+2;Z:{_:{if(U){if((U|0)==65535){t[g+22|0]=0;u[g+28>>1]=0;if(!fa){break X}h=0;f=Ma-16|0;Ma=f;L=v[r+52>>2];j=Mb(m,L);v[f+12>>2]=j;$:{if(j){break $}d=32;while(1){if(d&32){d=Ac(m,f+12|0);j=v[f+12>>2];if(j){break $}h=d>>>8&1|h;l=f;j=m;z=d&1?6:4;o=z+2|0;aa:{if(d&8){break aa}o=z+4|0;if(d&64){break aa}o=z|d>>>4&8}j=re(j,o);v[l+12>>2]=j;if(!j){continue}break $}break}v[g+24>>2]=v[m+8>>2]-L;t[g+22|0]=h;j=v[f+12>>2]}Ma=f+16|0;if(j){break X}if(w[g+22|0]){d=Mb(m,v[r+40>>2]);v[g+44>>2]=d;if(d){break X}d=Fq(m,g+28|0);v[g+44>>2]=d;if(d){break X}v[r+40>>2]=v[m+8>>2];d=x[g+28>>1]}else{d=0}l=(v[g+24>>2]+(d&65535)|0)+12|0;ba:{if(l>>>0<=c>>>0){l=c;break ba}i=yb(q,1,c,l,i,g+44|0);if(v[g+44>>2]){break X}}c=v[g+32>>2]+i|0;t[c|0]=255;t[c+1|0]=255;v[g+32>>2]=v[g+32>>2]+2;c=Mb(m,v[r+64>>2]);v[g+44>>2]=c;if(c){break X}oa=g,pa=Ac(m,g+44|0),u[oa+30>>1]=pa;if(v[g+44>>2]){break X}c=Mb(m,v[r+64>>2]);v[g+44>>2]=c;if(c){break X}c=_e(m,v[g+32>>2]+i|0,8);v[g+44>>2]=c;if(c){break X}v[r+64>>2]=v[r+64>>2]+8;v[g+32>>2]=v[g+32>>2]+8;c=Mb(m,v[r+52>>2]);v[g+44>>2]=c;if(c){break X}c=v[g+24>>2];d=_e(m,v[g+32>>2]+i|0,c);v[g+44>>2]=d;if(d){break X}v[r+52>>2]=c+v[r+52>>2];c=c+v[g+32>>2]|0;v[g+32>>2]=c;if(w[g+22|0]){c=c+i|0;t[c|0]=w[g+29|0];t[c+1|0]=w[g+28|0];v[g+32>>2]=v[g+32>>2]+2;c=Mb(m,v[r+76>>2]);v[g+44>>2]=c;if(c){break X}c=x[g+28>>1];d=_e(m,v[g+32>>2]+i|0,c);v[g+44>>2]=d;if(d){break X}v[r+76>>2]=c+v[r+76>>2];v[g+32>>2]=c+v[g+32>>2]}c=l;break Z}l=yb(q,2,0,U,0,g+44|0);if(v[g+44>>2]){break W}h=Mb(m,v[r+16>>2]);v[g+44>>2]=h;f=0;d=0;if(h){break W}while(1){h=Fq(m,g+28|0);v[g+44>>2]=h;if(h){break W}h=x[g+28>>1];u[(f<<1)+l>>1]=h;E=d+h|0;if(E>>>0>>0){break W}d=E;f=f+1|0;if((U|0)!=(f|0)){continue}break}v[r+16>>2]=v[m+8>>2];if(y[r+32>>2]>>0){break W}j=v[r+44>>2];h=v[r+40>>2];o=h-v[r+36>>2]|0;if(j>>>0>>0){break W}f=v[m>>2];z=v[r+28>>2];v[g+24>>2]=0;L=yb(q,12,0,d,0,g+44|0);ca:{if(v[g+44>>2]){break ca}na=f+z|0;Y=f+h|0;h=0;H=0;N=0;P=0;f=0;z=8;$=j-o|0;da:{if($>>>0>>0){break da}if(E){while(1){o=$;j=w[P+na|0];O=j&127;d=1;ea:{if(O>>>0<84){break ea}d=2;if(O>>>0<120){break ea}d=O>>>0<124?3:4}f=d+h|0;if(o>>>0>>0|d>>>0>f>>>0){break da}fa:{if(O>>>0<=9){F=0;d=w[h+Y|0]|O<<7&1792;o=j&1?d:0-d|0;break fa}if(O>>>0<=19){o=0;d=w[h+Y|0]|(O<<7)+768&1792;F=j&1?d:0-d|0;break fa}if(O>>>0<=83){d=w[h+Y|0];h=O-20|0;o=d&15|h<<2&48;o=j&2?o+1|0:o^-1;d=h&48|d>>>4;F=j&1?d+1|0:d^-1;break fa}if(O>>>0<=119){d=h+Y|0;h=O-84|0;o=((h&255)>>>0)/12|0;F=w[d|0]|o<<8;F=j&1?F+1|0:F^-1;d=w[d+1|0]|h-B(o,12)<<6&768;o=j&2?d+1|0:d^-1;break fa}if(O>>>0<=123){d=h+Y|0;h=w[d+1|0];o=w[d|0]<<4|h>>>4;F=j&1?o:0-o|0;d=w[d+2|0]|h<<8&3840;o=j&2?d:0-d|0;break fa}d=h+Y|0;h=w[d|0]<<8|w[d+1|0];F=j&1?h:0-h|0;d=w[d+3|0]|w[d+2|0]<<8;o=j&2?d:0-d|0}if((2147483647-N|0)<(F|0)&(N|0)>=1|(N|0)<=-1&(-2147483648-N|0)>(F|0)|((2147483647-H|0)<(o|0)&(H|0)>=1|(H|0)<=-1&(-2147483648-H|0)>(o|0))){break da}d=L+B(P,12)|0;t[d+8|0]=((j^-1)&128)>>>7;H=o+H|0;v[d+4>>2]=H;N=F+N|0;v[d>>2]=N;h=f;P=P+1|0;if((E|0)!=(P|0)){continue}break}}v[g+24>>2]=f;z=0}if(z){break ca}v[r+28>>2]=E+v[r+28>>2];d=v[r+40>>2]+v[g+24>>2]|0;v[r+40>>2]=d;d=Mb(m,d);v[g+44>>2]=d;if(d){break ca}d=Fq(m,g+22|0);v[g+44>>2]=d;if(d){break ca}v[r+40>>2]=v[m+8>>2];if(E>>>0>134217727){break ca}j=(x[g+22>>1]+(B(E,5)+(U<<1)|0)|0)+12|0;ga:{if(j>>>0<=c>>>0){j=c;break ga}i=yb(q,1,c,j,i,g+44|0);if(v[g+44>>2]){break ca}}c=v[g+32>>2]+i|0;d=U<<8|U>>>8;t[c|0]=d;t[c+1|0]=d>>>8;v[g+32>>2]=v[g+32>>2]+2;ha:{if(fa){c=Mb(m,v[r+64>>2]);v[g+44>>2]=c;if(c){break ca}oa=g,pa=Ac(m,g+44|0),u[oa+30>>1]=pa;if(v[g+44>>2]){break ca}c=Mb(m,v[r+64>>2]);v[g+44>>2]=c;if(c){break ca}c=_e(m,v[g+32>>2]+i|0,8);v[g+44>>2]=c;if(c){break ca}v[r+64>>2]=v[r+64>>2]+8;break ha}h=0;c=0;d=0;ia:{if(!E){f=0;break ia}F=1;d=v[L+4>>2];c=v[L>>2];if((E|0)==1){f=d;h=c;break ia}f=E-1|0;O=f&1;ja:{if((E|0)==2){h=c;f=d;break ja}P=f&-2;h=c;f=d;while(1){z=L+B(F,12)|0;o=v[z+16>>2];H=v[z+4>>2];f=(f|0)<(H|0)?H:f;f=(f|0)<(o|0)?o:f;N=v[z+12>>2];z=v[z>>2];h=(h|0)<(z|0)?z:h;h=(h|0)<(N|0)?N:h;d=(d|0)>(H|0)?H:d;d=(d|0)>(o|0)?o:d;c=(c|0)>(z|0)?z:c;c=(c|0)>(N|0)?N:c;F=F+2|0;P=P-2|0;if(P){continue}break}}if(!O){break ia}o=L+B(F,12)|0;z=v[o+4>>2];f=(f|0)<(z|0)?z:f;o=v[o>>2];h=(h|0)<(o|0)?o:h;d=(d|0)>(z|0)?z:d;c=(c|0)>(o|0)?o:c}t[i+9|0]=f;t[i+7|0]=h;t[i+5|0]=d;t[i+3|0]=c;t[i+8|0]=f>>>8;t[i+6|0]=h>>>8;t[i+4|0]=d>>>8;t[i+2|0]=c>>>8;u[g+30>>1]=c}v[g+32>>2]=10;h=i+10|0;d=-1;f=0;while(1){c=h;d=x[(f<<1)+l>>1]+d|0;if((d|0)>65535){break ca}h=d<<8|(d&65280)>>>8;t[c|0]=h;t[c+1|0]=h>>>8;v[g+32>>2]=v[g+32>>2]+2;h=c+2|0;f=f+1|0;if((U|0)!=(f|0)){continue}break}f=x[g+22>>1];d=f<<8|f>>>8;t[c+2|0]=d;t[c+3|0]=d>>>8;v[g+32>>2]=v[g+32>>2]+2;c=Mb(m,v[r+76>>2]);v[g+44>>2]=c;if(c){break ca}c=_e(m,v[g+32>>2]+i|0,f);v[g+44>>2]=c;if(c){break ca}v[r+76>>2]=f+v[r+76>>2];v[g+32>>2]=f+v[g+32>>2];h=j;d=0;z=0;H=0;N=0;P=0;j=(f+(U<<1)|0)+12|0;ka:{la:{ma:{if(E){f=255;c=0;while(1){F=L+B(P,12)|0;o=v[F+4>>2];O=o-c|0;c=w[F+8|0]!=0;F=v[F>>2];d=F-d|0;na:{if(!d){c=c|16;break na}if(d+255>>>0<=510){H=H+1|0;c=((d|0)>0?18:2)|c;break na}H=H+2|0}oa:{if(!O){c=c|32;break oa}if(O+255>>>0<=510){N=N+1|0;c=((O|0)>0?36:4)|c;break oa}N=N+2|0}pa:{if(!((z&255)==255|(f&255)!=(c|0))){d=(i+j|0)-1|0;t[d|0]=w[d|0]|8;z=z+1|0;break pa}if(z&255){d=8;if(h>>>0<=j>>>0){break ka}t[i+j|0]=z;j=j+1|0}d=8;if(h>>>0<=j>>>0){break ka}t[i+j|0]=c;j=j+1|0;z=0}f=c;d=F;c=o;P=P+1|0;if((E|0)!=(P|0)){continue}break}if(z&255){c=8;if(h>>>0<=j>>>0){break la}t[i+j|0]=z;d=j+1|0}else{d=j}c=8;f=H+N|0;if(f>>>0>>0){break la}f=d+f|0;if(f>>>0>>0|f>>>0>h>>>0){break la}j=d+H|0;if(!E){break ma}c=0;f=0;z=0;while(1){o=f;F=c;c=L+B(z,12)|0;f=v[c+4>>2];o=f-o|0;c=v[c>>2];F=c-F|0;qa:{if(!F){break qa}if(F+255>>>0<=510){$=F;F=F>>31;t[d+i|0]=$+F^F;d=d+1|0;break qa}H=d+i|0;F=F<<8|(F&65280)>>>8;t[H|0]=F;t[H+1|0]=F>>>8;d=d+2|0}ra:{if(!o){break ra}if(o+255>>>0<=510){F=o;o=o>>31;t[i+j|0]=F+o^o;j=j+1|0;break ra}F=i+j|0;o=o<<8|(o&65280)>>>8;t[F|0]=o;t[F+1|0]=o>>>8;j=j+2|0}z=z+1|0;if((E|0)!=(z|0)){continue}break}break ma}c=8;if(h>>>0>>0){break la}}v[g+32>>2]=j;c=0}d=c}if(!d){break _}}s=L;break W}if(!fa){break Z}break X}if(L){Qa[v[q+8>>2]](q,L)}if(l){Qa[v[q+8>>2]](q,l)}c=h}v[(X<<2)+n>>2]=v[g+36>>2]-p;if(DZ(g+40|0,Q,g+36|0,i,v[g+32>>2],q)){break X}l=Ma-16|0;Ma=l;h=v[g+40>>2];j=v[g+36>>2];t[l+10|0]=0;u[l+8>>1]=0;f=8;sa:{if(j>>>0>4294967292){break sa}d=j+3&-4;E=d-j|0;ta:{if(!E){d=j;break ta}v[l+12>>2]=0;if(d>>>0>31457280){break sa}z=v[Q>>2];if(z>>>0>>0){h=yb(q,1,z,d,h,l+12|0);if(v[l+12>>2]){break sa}v[Q>>2]=d}cb(h+j|0,l+8|0,E);if(v[l+12>>2]){break sa}}v[g+40>>2]=h;v[g+36>>2]=d;f=0}Ma=l+16|0;if(f){break X}oa=g,pa=v[g+4>>2]+LI(i,v[g+32>>2])|0,v[oa+4>>2]=pa;if(U){u[v[J+8>>2]+(X<<1)>>1]=x[g+30>>1]}X=X+1|0;if((X|0)!=(W|0)){continue}break}l=v[g+36>>2]}d=v[T>>2];c=l-v[d+28>>2]|0;v[d+8>>2]=c;v[v[ja>>2]+28>>2]=l;v[(W<<2)+n>>2]=c;l=0;c=0;h=0;d=0;E=Ma-16|0;Ma=E;v[E+8>>2]=0;ua:{if(S>>>0<=1073741823){L=v[g+36>>2];F=v[g+40>>2];z=B(S,ea?4:2);d=yb(q,1,0,z,0,E+8|0);if(v[E+8>>2]){break ua}va:{if(!S){break va}wa:{if(ea){o=0;c=d;if((S|0)!=1){j=S&-2;while(1){h=o<<2;f=v[h+n>>2];f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);t[c|0]=f;t[c+1|0]=f>>>8;t[c+2|0]=f>>>16;t[c+3|0]=f>>>24;f=v[(h|4)+n>>2];f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);t[c+4|0]=f;t[c+5|0]=f>>>8;t[c+6|0]=f>>>16;t[c+7|0]=f>>>24;o=o+2|0;c=c+8|0;j=j-2|0;if(j){continue}break}}if(!(S&1)){break wa}f=v[(o<<2)+n>>2];f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);t[c|0]=f;t[c+1|0]=f>>>8;t[c+2|0]=f>>>16;t[c+3|0]=f>>>24;break wa}o=S&3;c=d;if(S-1>>>0>=3){j=S&-4;while(1){f=h<<2;H=v[f+n>>2];t[c+1|0]=H>>>1;t[c|0]=H>>>9;H=v[(f|4)+n>>2];t[c+3|0]=H>>>1;t[c+2|0]=H>>>9;H=v[(f|8)+n>>2];t[c+5|0]=H>>>1;t[c+4|0]=H>>>9;f=v[(f|12)+n>>2];t[c+7|0]=f>>>1;t[c+6|0]=f>>>9;h=h+4|0;c=c+8|0;j=j-4|0;if(j){continue}break}}if(!o){break wa}while(1){f=v[(h<<2)+n>>2];t[c+1|0]=f>>>1;t[c|0]=f>>>9;h=h+1|0;c=c+2|0;o=o-1|0;if(o){continue}break}}c=0;f=z&-4;if(!f){h=0;break va}h=0;while(1){h=(w[(c|3)+d|0]|(w[(c|1)+d|0]<<16|w[c+d|0]<<24|w[(c|2)+d|0]<<8))+h|0;c=c+4|0;if(f>>>0>c>>>0){continue}break}c=f}f=g;if((c|0)!=(z|0)){j=0;if(c>>>0>>0){o=z-c|0;while(1){H=c<<3&16;j=w[(c|1)+d|0]<<(H^16)|(w[c+d|0]<<(H^24)|j);c=c+2|0;o=o-2|0;if(o){continue}break}}h=h+j|0}v[f>>2]=h;v[E+12>>2]=0;xa:{c=z+L|0;if(c>>>0>31457280){break xa}f=v[Q>>2];if(f>>>0>>0){F=yb(q,1,f,c,F,E+12|0);if(v[E+12>>2]){break xa}v[Q>>2]=c}cb(F+L|0,d,z);if(v[E+12>>2]){break xa}v[g+40>>2]=F;v[g+36>>2]=c;break ua}if(v[E+8>>2]){break ua}}v[E+8>>2]=8}if(d){Qa[v[q+8>>2]](q,d)}Ma=E+16|0;if(v[E+8>>2]){break W}c=v[ja>>2];d=v[g+36>>2];v[c+8>>2]=d-v[c+28>>2];v[g+8>>2]=d;break U}v[g+4>>2]=v[g>>2];p=c;break S}n=I;if(!(f&255)){i=0;d=Ma-16|0;Ma=d;c=8;ya:{if(!R){break ya}za:{while(1){l=v[(i<<2)+K>>2];if(v[l+4>>2]==1835104368){break za}i=i+1|0;if((R|0)!=(i|0)){continue}break}l=0}i=0;while(1){j=v[(i<<2)+K>>2];if(v[j+4>>2]!=1751474532){i=i+1|0;if((R|0)!=(i|0)){continue}break ya}break}if(!l|!v[J+16>>2]){break ya}c=Mb(m,v[l+20>>2]);if(c){break ya}c=re(m,8);v[d+12>>2]=c;if(c){break ya}h=Ac(m,d+12|0);c=v[d+12>>2];if(c){break ya}u[J+4>>1]=h;c=Mb(m,v[j+20>>2]);v[d+12>>2]=c;if(c){break ya}c=re(m,50);v[d+12>>2]=c;if(c){break ya}j=Ac(m,d+12|0);c=v[d+12>>2];if(c){break ya}oa=J,pa=yb(q,2,0,h,0,d+12|0),v[oa+8>>2]=pa;c=v[d+12>>2];if(c){break ya}c=0;if(!h){break ya}s=j?4:2;i=v[v[J+16>>2]+20>>2];l=0;if(!j){while(1){c=Mb(m,i);v[d+12>>2]=c;if(c){break ya}j=Ac(m,d+12|0);c=v[d+12>>2];if(c){break ya}c=Mb(m,v[v[J+12>>2]+20>>2]+(j<<1)|0);v[d+12>>2]=c;if(c){break ya}c=re(m,2);v[d+12>>2]=c;if(c){break ya}c=Ac(m,d+12|0);u[v[J+8>>2]+(l<<1)>>1]=c;c=v[d+12>>2];if(c){break ya}i=i+s|0;c=0;l=l+1|0;if((h|0)!=(l|0)){continue}break ya}}while(1){c=Mb(m,i);v[d+12>>2]=c;if(c){break ya}j=Id(m,d+12|0);c=v[d+12>>2];if(c){break ya}c=Mb(m,j+v[v[J+12>>2]+20>>2]|0);v[d+12>>2]=c;if(c){break ya}c=re(m,2);v[d+12>>2]=c;if(c){break ya}c=Ac(m,d+12|0);u[v[J+8>>2]+(l<<1)>>1]=c;c=v[d+12>>2];if(c){break ya}i=i+s|0;c=0;l=l+1|0;if((h|0)!=(l|0)){continue}break}}Ma=d+16|0;if(c){break Q}n=x[J+6>>1]}E=x[J+4>>1];c=n&65535;n=v[J+8>>2];d=0;o=0;l=Ma-16|0;Ma=l;v[l+12>>2]=0;v[l+8>>2]=v[g+12>>2];v[l+4>>2]=v[g+8>>2];h=Gf(m,l+12|0);Aa:{Ba:{Ca:{Da:{if(v[l+12>>2]){break Da}i=h&255;if(i>>>0>3){break Da}h=(h^-1)&1;z=(i>>>1^-1)&1;if(!c|h&z){break Da}j=0;i=0;if(E>>>0<=(c-1&65535)>>>0){break Ba}o=yb(q,2,0,c,0,l+12|0);if(v[l+12>>2]){break Ca}j=yb(q,2,0,E,0,l+12|0);if(v[l+12>>2]){break Ba}while(1){s=Ac(m,l+12|0);if(v[l+12>>2]){break Ba}u[(d<<1)+o>>1]=s;d=d+1|0;if((c|0)!=(d|0)){continue}break}Ea:{if(h){while(1){d=Ac(m,l+12|0);if(v[l+12>>2]){break Ca}u[(i<<1)+j>>1]=d;i=i+1|0;if((c|0)!=(i|0)){continue}break}break Ea}h=c&3;if(c-1>>>0>=3){s=c&65532;while(1){d=i<<1;u[d+j>>1]=x[d+n>>1];L=d|2;u[L+j>>1]=x[n+L>>1];L=d|4;u[L+j>>1]=x[n+L>>1];d=d|6;u[d+j>>1]=x[d+n>>1];i=i+4|0;s=s-4|0;if(s){continue}break}}if(!h){break Ea}while(1){d=i<<1;u[d+j>>1]=x[d+n>>1];i=i+1|0;h=h-1|0;if(h){continue}break}}Fa:{if(c>>>0>=E>>>0){break Fa}if(z){i=c;while(1){d=Ac(m,l+12|0);if(v[l+12>>2]){break Ca}u[(i<<1)+j>>1]=d;i=i+1|0;if((E|0)!=(i|0)){continue}break}break Fa}h=E+(c^-1)|0;i=E-c&3;Ga:{if(!i){d=c;break Ga}d=c;while(1){s=d<<1;u[s+j>>1]=x[n+s>>1];d=d+1|0;i=i-1|0;if(i){continue}break}}if(h>>>0<3){break Fa}while(1){h=d<<1;u[h+j>>1]=x[h+n>>1];i=h+2|0;u[i+j>>1]=x[i+n>>1];i=h+4|0;u[i+j>>1]=x[i+n>>1];h=h+6|0;u[h+j>>1]=x[h+n>>1];d=d+4|0;if((E|0)!=(d|0)){continue}break}}n=0;h=c+E<<1;i=yb(q,1,0,h,0,l+12|0);if(v[l+12>>2]){break Ba}if(E){d=i;while(1){if(c>>>0>n>>>0){s=(n<<1)+o|0;t[d|0]=w[s+1|0];t[d+1|0]=w[s|0];d=d+2|0}s=(n<<1)+j|0;t[d|0]=w[s+1|0];t[d+1|0]=w[s|0];d=d+2|0;n=n+1|0;if((E|0)!=(n|0)){continue}break}}oa=g,pa=LI(i,h),v[oa+4>>2]=pa;if(DZ(l+8|0,Q,l+4|0,i,h,q)){break Ba}v[g+12>>2]=v[l+8>>2];v[g+8>>2]=v[l+4>>2];c=q;if(o){Qa[v[c+8>>2]](c,o)}if(j){Qa[v[c+8>>2]](c,j)}if(i){Qa[v[q+8>>2]](q,i)}c=v[l+12>>2];break Aa}j=0}i=0}c=q;if(o){Qa[v[c+8>>2]](c,o)}if(j){Qa[v[c+8>>2]](c,j)}if(i){Qa[v[q+8>>2]](q,i)}c=v[l+12>>2];c=c?c:8}Ma=l+16|0;if(c){break Q}d=v[g+12>>2];break S}l=0}if(v[g+44>>2]){break U}v[g+44>>2]=8;break U}s=0;i=0;l=0}d=v[g+40>>2];v[g+12>>2]=d;if(r){Qa[v[q+8>>2]](q,r)}if(n){Qa[v[q+8>>2]](q,n)}if(l){Qa[v[q+8>>2]](q,l)}if(i){Qa[v[q+8>>2]](q,i)}if(s){Qa[v[q+8>>2]](q,s)}f=1;if(!v[g+44>>2]){break S}break Q}if((V|0)!=1751474532){break T}if(j>>>0<12){break Q}c=h+ma|0;t[c|0]=0;t[c+1|0]=0;t[c+2|0]=0;t[c+3|0]=0}i=a+h|0;n=0;s=0;l=j&-4;if(l){while(1){s=(w[i+(n|3)|0]|(w[i+(n|1)|0]<<16|w[i+n|0]<<24|w[i+(n|2)|0]<<8))+s|0;n=n+4|0;if(n>>>0>>0){continue}break}}c=g;if((j|0)!=(l|0)){n=0;Ha:{if(j>>>0<=l>>>0){break Ha}E=j&1;if((j|0)!=(l|1)){h=(j&3)-E|0;while(1){z=l<<3&16;n=w[i+(l|1)|0]<<(z^16)|(w[i+l|0]<<(z^24)|n);l=l+2|0;h=h-2|0;if(h){continue}break}}if(!E){break Ha}n=w[i+l|0]<<((l<<3^-1)&24)|n}s=n+s|0}v[c+4>>2]=s;v[g+44>>2]=0;c=j+p|0;if(c>>>0>31457280){break Q}h=v[Q>>2];if(h>>>0>>0){d=yb(q,1,h,c,d,g+44|0);if(v[g+44>>2]){break Q}v[Q>>2]=c}cb(d+p|0,i,j);v[g+12>>2]=d;v[g+8>>2]=c;if(v[g+44>>2]){break Q}}j=v[g+4>>2];t[D+15|0]=Z;t[D+11|0]=p;t[D+7|0]=j;t[D+3|0]=V;t[D+14|0]=Z>>>8;t[D+13|0]=Z>>>16;t[D+12|0]=Z>>>24;t[D+10|0]=p>>>8;t[D+9|0]=p>>>16;t[D+8|0]=p>>>24;t[D+6|0]=j>>>8;t[D+5|0]=j>>>16;t[D+4|0]=j>>>24;t[D+2|0]=V>>>8;t[D+1|0]=V>>>16;t[D|0]=V>>>24;v[g+44>>2]=0;h=da+16|0;Ia:{if(h>>>0>31457280){c=d;break Ia}c=v[Q>>2];Ja:{if(c>>>0>=h>>>0){c=d;break Ja}c=yb(q,1,c,h,d,g+44|0);if(v[g+44>>2]){c=d;break Ia}v[Q>>2]=h}i=w[D+4|0]|w[D+5|0]<<8|(w[D+6|0]<<16|w[D+7|0]<<24);d=c+da|0;l=w[D|0]|w[D+1|0]<<8|(w[D+2|0]<<16|w[D+3|0]<<24);t[d|0]=l;t[d+1|0]=l>>>8;t[d+2|0]=l>>>16;t[d+3|0]=l>>>24;t[d+4|0]=i;t[d+5|0]=i>>>8;t[d+6|0]=i>>>16;t[d+7|0]=i>>>24;i=w[D+12|0]|w[D+13|0]<<8|(w[D+14|0]<<16|w[D+15|0]<<24);l=w[D+8|0]|w[D+9|0]<<8|(w[D+10|0]<<16|w[D+11|0]<<24);t[d+8|0]=l;t[d+9|0]=l>>>8;t[d+10|0]=l>>>16;t[d+11|0]=l>>>24;t[d+12|0]=i;t[d+13|0]=i>>>8;t[d+14|0]=i>>>16;t[d+15|0]=i>>>24;v[g+12>>2]=c;da=h}l=w[D+12|0]|w[D+13|0]<<8|(w[D+14|0]<<16|w[D+15|0]<<24);s=w[D+8|0]|w[D+9|0]<<8|(w[D+10|0]<<16|w[D+11|0]<<24);n=w[D+4|0]|w[D+5|0]<<8|(w[D+6|0]<<16|w[D+7|0]<<24);E=w[D|0]|w[D+1|0]<<8|(w[D+2|0]<<16|w[D+3|0]<<24);h=v[g+8>>2];t[g+42|0]=0;u[g+40>>1]=0;if(h>>>0>4294967292){break Q}i=h+3&-4;z=i-h|0;Ka:{if(!z){d=c;i=h;break Ka}v[g+44>>2]=0;if(i>>>0>31457280){break Q}d=v[Q>>2];La:{if(d>>>0>=i>>>0){d=c;break La}d=yb(q,1,d,i,c,g+44|0);if(v[g+44>>2]){break Q}v[Q>>2]=i}cb(d+h|0,g+40|0,z);if(v[g+44>>2]){break Q}}v[g+12>>2]=d;v[g+8>>2]=i;if(p+Z>>>0>i>>>0){break Q}ca=j+ca+((((n<<8&16711680|n<<24|(n>>>8&65280|n>>>24))+(E<<8&16711680|E<<24|(E>>>8&65280|E>>>24))|0)+(s<<8&16711680|s<<24|(s>>>8&65280|s>>>24))|0)+(l<<8&16711680|l<<24|(l>>>8&65280|l>>>24)))|0;p=i;_=_+1|0;if((_|0)!=(R|0)){continue}break}if(!R){break R}n=0;while(1){c=v[(n<<2)+K>>2];if(v[c+4>>2]!=1751474532){n=n+1|0;if((R|0)!=(n|0)){continue}break R}break}v[J+20>>2]=c;if(y[c+8>>2]<12){break Q}c=v[c+28>>2]+d|0;f=-1313820742-ca|0;f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);t[c+8|0]=f;t[c+9|0]=f>>>8;t[c+10|0]=f>>>16;t[c+11|0]=f>>>24;v[k+100>>2]=v[g+8>>2];v[k+12>>2]=d;break N}v[J+20>>2]=0}i=v[g+16>>2]}if(i){break O}v[g+16>>2]=8}v[k+12>>2]=v[g+12>>2]}if(D){Qa[v[q+8>>2]](q,D)}Ma:{if(!m){break Ma}c=v[m+24>>2];if(!c){break Ma}Qa[c|0](m)}if(m){Qa[v[q+8>>2]](q,m)}n=v[g+16>>2]}Ma=g+48|0;v[k+108>>2]=n;if(n){break x}d=v[k+12>>2];c=v[k+100>>2];f=v[k+8>>2];if(c>>>0>>0){d=yb(G,1,f,c,d,k+108|0);v[k+12>>2]=d;if(v[k+108>>2]){break x}c=v[k+100>>2]}v[C+32>>2]=0;v[C+8>>2]=0;v[C+4>>2]=c;v[C>>2]=d;v[C+20>>2]=0;v[C+24>>2]=0;c=v[M+28>>2];v[C+24>>2]=2464;v[C+28>>2]=c;An(v[b+104>>2],v[b+8>>2]>>>10&1);v[b+104>>2]=C;v[b+8>>2]=v[b+8>>2]&-1025;if(v[A+8>>2]>=0){v[A+8>>2]=0;break x}v[A+8>>2]=-1;break x}C=0;a=0}if(ba){Qa[v[G+8>>2]](G,ba)}if(K){Qa[v[G+8>>2]](G,K)}if(a){Qa[v[G+8>>2]](G,a)}a=v[k+24>>2];if(a){Qa[v[G+8>>2]](G,a)}a=v[k+104>>2];if(a){if(x[k+96>>1]){c=0;while(1){d=v[a+8>>2];if(d){Qa[v[G+8>>2]](G,d)}v[a+8>>2]=0;a=a+12|0;c=c+1|0;if(c>>>0>1]){continue}break}a=v[k+104>>2]}if(a){Qa[v[G+8>>2]](G,a)}v[k+104>>2]=0}Na:{if(!v[k+108>>2]){break Na}a=v[k+12>>2];if(a){Qa[v[G+8>>2]](G,a)}if(!C){break Na}Oa:{if(!C){break Oa}a=v[C+24>>2];if(!a){break Oa}Qa[a|0](C)}if(C){Qa[v[G+8>>2]](G,C)}}a=v[k+108>>2]}Ma=k+112|0;c=a;break b}c=10;if(d>>>0>v[a+4>>2]>>>5>>>0){break a}oa=b,pa=yb(ga,4,0,d,0,A+12|0),v[oa+144>>2]=pa;c=v[A+12>>2];if(c){break a}c=Ed(a,v[b+140>>2]<<2);v[A+12>>2]=c;if(c){break a}if(v[b+140>>2]>=1){c=0;while(1){d=Ig(a);v[v[b+144>>2]+(c<<2)>>2]=d;c=c+1|0;if((c|0)>2]){continue}break}}dd(a);c=v[A+12>>2];v[A+4>>2]=c;if(!c){break c}break a}v[b+136>>2]=65536;v[b+140>>2]=1;a=cc(ga,4,A+12|0);v[b+144>>2]=a;c=v[A+12>>2];if(c){break a}v[a>>2]=f;v[A+4>>2]=0}d=v[A+8>>2];a=d>>31;f=A;h=v[b+104>>2];i=h;j=v[b+144>>2];a=a+((a^a+d)&65535)|0;if((a|0)>=v[b+140>>2]){c=6;if((d|0)>-1){break a}a=0}c=Mb(i,v[j+(a<<2)>>2]);v[f+4>>2]=c;if(c){break a}c=Qa[v[e+88>>2]](b,h)|0;v[A+4>>2]=c;if(c){break a}p=v[A+8>>2];l=p>>31;i=v[b+100>>2];Pa:{Qa:{if(Qa[v[b+516>>2]](b,1719034226,h,A+12|0)|y[A+12>>2]<20){break Qa}f=Id(h,A+4|0);if(v[A+4>>2]){break Qa}e=Ac(h,A+4|0);if(v[A+4>>2]){break Qa}a=re(h,2);v[A+4>>2]=a;if(a){break Qa}c=Ac(h,A+4|0);if(v[A+4>>2]){break Qa}C=Ac(h,A+4|0);if(v[A+4>>2]){break Qa}d=Ac(h,A+4|0);if(v[A+4>>2]){break Qa}I=Ac(h,A+4|0);if(!v[A+4>>2]){break Pa}}f=0;e=0;c=0;C=0;d=0;I=0}a=0;Ra:{if((f|0)!=65536|(C|0)!=20|(!c|c>>>0>16382)){break Ra}f=c<<2;Sa:{if((f+4|0)!=(I|0)){if((f+6|0)!=(I|0)){break Ra}if(d>>>0<=32511){break Sa}break Ra}if(d>>>0>32511){break Ra}}if(y[A+12>>2]<(B(c,20)+e|0)+B(d,I)>>>0){break Ra}v[b+740>>2]=v[b+740>>2]|1;a=d}Ta:{if(!(t[b+740|0]&1)){d=0;break Ta}j=c<<2;d=cc(i,j,A+4|0);if(v[A+4>>2]){break Ta}aa=cc(i,j,A+4|0);if(v[A+4>>2]){break Ta}q=(v[h+8>>2]+e|0)-16|0;if(c){e=q+8|0;f=d;while(1){oa=A,pa=fB(h,e,f,4),v[oa+4>>2]=pa;f=f+4|0;e=e+C|0;la=la+1|0;if((la|0)!=(c|0)){continue}break}}Ua:{if(!a){e=0;break Ua}c=(q+B(c,C)|0)+4|0;e=0;while(1){oa=A,pa=fB(h,c,aa,j),v[oa+4>>2]=pa;if(!Jb(d,aa,j)){break Ua}c=c+I|0;e=e+1|0;if((e|0)!=(a|0)){continue}break}e=a}a=((a|0)==(e|0))+a|0}if(d){Qa[v[i+8>>2]](i,d)}if(aa){Qa[v[i+8>>2]](i,aa)}e=(l^l+p)>>>16|0;Va:{if(!(Qa[v[b+516>>2]](b,1735162214,h,0)|0)){break Va}if(!(Qa[v[b+516>>2]](b,1128678962,h,0)|0)){break Va}a=Qa[v[b+516>>2]](b,1128678944,h,0)|0?a:0}d=v[A+8>>2];c=b;Wa:{if(e>>>0>(a&65535)>>>0){if((d|0)>-1){break Wa}a=0}v[c+12>>2]=a<<16;v[b+4>>2]=d;v[b>>2]=v[b+140>>2];a=v[A>>2];if(a){v[b>>2]=a}c=v[A+4>>2];break a}c=6;break a}v[A+12>>2]=c;if(c){break a}a=v[b+104>>2];f=v[a+8>>2];d=Id(a,A+12|0);c=v[A+12>>2];if(!c){continue}break}}Ma=A+16|0;return c|0}function W4(a,b){var 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,u=0,x=0,z=0,A=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;a:{if(!a|!b){break a}l=Qa[v[v[b>>2]+36>>2]](b)|0;c=Qa[v[v[b>>2]+20>>2]](b,4)|0;f=Qa[v[v[b>>2]+20>>2]](b,4)|0;b:{c:{switch(c|0){case 1:c=1;if(Qa[v[v[b>>2]+20>>2]](b,4)|0){break b}c=Qa[v[v[b>>2]+20>>2]](b,4)|0;if(c){break b}c=(Qa[v[v[b>>2]+40>>2]](b)|0)+12|0;break b;case 0:break c;default:break b}}c=Qa[v[v[b>>2]+40>>2]](b)|0;c=c?c+8|0:0}if((f|0)!=1783636e3){break a}if((Qa[v[v[b>>2]+20>>2]](b,4)|0)!=218793738){break a}if(((Qa[v[v[b>>2]+36>>2]](b)|0)-l|0)!=(c|0)){break a}D=Qa[v[v[b>>2]+36>>2]](b)|0;d=Qa[v[v[b>>2]+20>>2]](b,4)|0;f=Qa[v[v[b>>2]+20>>2]](b,4)|0;d:{e:{switch(d|0){case 1:d=1;if(Qa[v[v[b>>2]+20>>2]](b,4)|0){break d}d=Qa[v[v[b>>2]+20>>2]](b,4)|0;if(d){break d}d=(Qa[v[v[b>>2]+40>>2]](b)|0)+12|0;break d;case 0:break e;default:break d}}c=Qa[v[v[b>>2]+40>>2]](b)|0;d=c?c+8|0:0}if((f|0)!=1718909296){break a}M=a,N=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[M+8>>2]=N;f=Qa[v[v[b>>2]+20>>2]](b,4)|0;c=(d-16|0)/4|0;v[a+16>>2]=c;v[a+12>>2]=f;f=c<<2;l=gb(f);if(l){eb(l,0,f)}v[a+20>>2]=l;if((d|0)>=20){while(1){l=Qa[v[v[b>>2]+20>>2]](b,4)|0;f=c-1|0;v[v[a+20>>2]+(f<<2)>>2]=l;l=(c|0)>1;c=f;if(l){continue}break}}if(((Qa[v[v[b>>2]+36>>2]](b)|0)-D|0)!=(d|0)){break a}c=Qa[v[v[b>>2]+36>>2]](b)|0;d=Qa[v[v[b>>2]+20>>2]](b,4)|0;p=Qa[v[v[b>>2]+20>>2]](b,4)|0;f:{g:{switch(d|0){case 1:d=1;if(Qa[v[v[b>>2]+20>>2]](b,4)|0){break f}d=Qa[v[v[b>>2]+20>>2]](b,4)|0;if(d){break f}d=(Qa[v[v[b>>2]+40>>2]](b)|0)+12|0;break f;case 0:break g;default:break f}}f=Qa[v[v[b>>2]+40>>2]](b)|0;d=f?f+8|0:0}l=0;while(1){h:{i:{j:{k:{l:{m:{n:{o:{if((p|0)<=1836019557){if((p|0)==1718773093){break i}if((p|0)!=1835295092){break k}f=Qa[v[v[b>>2]+36>>2]](b)|0;Qa[v[v[b>>2]+36>>2]](b)|0;c=Qa[v[v[b>>2]+20>>2]](b,4)|0;l=Qa[v[v[b>>2]+20>>2]](b,4)|0;switch(c|0){case 0:break n;case 1:break o;default:break m}}switch(p-1836019558|0){case 0:break i;case 16:break j;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break k;default:break l}}c=1;if(Qa[v[v[b>>2]+20>>2]](b,4)|0){break m}c=Qa[v[v[b>>2]+20>>2]](b,4)|0;if(c){break m}c=(Qa[v[v[b>>2]+40>>2]](b)|0)+12|0;break m}c=Qa[v[v[b>>2]+40>>2]](b)|0;c=(c|0)>0?c+8|0:0}while(1){if((l|0)!=1785737827){Qa[v[v[b>>2]+24>>2]](b,c-8|0);p=0;if((Qa[v[v[b>>2]+40>>2]](b)|0)<0){break a}Qa[v[v[b>>2]+36>>2]](b)|0;c=Qa[v[v[b>>2]+20>>2]](b,4)|0;l=Qa[v[v[b>>2]+20>>2]](b,4)|0;p:{q:{switch(c|0){case 1:if(Qa[v[v[b>>2]+20>>2]](b,4)|0){break a}c=Qa[v[v[b>>2]+20>>2]](b,4)|0;if(c){break p}c=(Qa[v[v[b>>2]+40>>2]](b)|0)+12|0;break p;case 0:break q;default:break p}}c=Qa[v[v[b>>2]+40>>2]](b)|0;if((c|0)<1){break a}c=c+8|0}if((l|0)!=1785737827){continue}}break}Qa[v[v[b>>2]+36>>2]](b)|0;p=0;l=lC(v[a+4>>2],b);if(!l){break a}N=b,O=(d+f-Qa[v[v[b>>2]+36>>2]](b)|0)-8|0,M=v[v[b>>2]+24>>2],Qa[M](N|0,O|0);if((Qa[v[v[b>>2]+40>>2]](b)|0)>-1){break h}break a}if((p|0)==1936419184){break i}}Qa[v[v[b>>2]+24>>2]](b,d);p=0;if((Qa[v[v[b>>2]+40>>2]](b)|0)<0){break a}break h}G=l;m=a;p=d;D=c;f=Qa[v[v[b>>2]+36>>2]](b)|0;d=Qa[v[v[b>>2]+20>>2]](b,4)|0;c=Qa[v[v[b>>2]+20>>2]](b,4)|0;r:{s:{switch(d|0){case 1:d=1;if(Qa[v[v[b>>2]+20>>2]](b,4)|0){break r}d=Qa[v[v[b>>2]+20>>2]](b,4)|0;if(d){break r}d=(Qa[v[v[b>>2]+40>>2]](b)|0)+12|0;break r;case 0:break s;default:break r}}a=Qa[v[v[b>>2]+40>>2]](b)|0;d=a?a+8|0:0}t:{u:{v:{if((c|0)!=1836476516){break v}Qa[v[v[b>>2]+20>>2]](b,4)|0;M=m,O=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[M+24>>2]=O;M=m,O=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[M+28>>2]=O;M=m,O=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[M+32>>2]=O;M=m,O=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[M+36>>2]=O;M=m,O=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[M+40>>2]=O;M=m,O=Qa[v[v[b>>2]+20>>2]](b,2)|0,v[M+56>>2]=O;Qa[v[v[b>>2]+24>>2]](b,10);M=m,O=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[M+60>>2]=O;M=m- -64|0,O=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[M>>2]=O;M=m,O=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[M+68>>2]=O;M=m,O=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[M+72>>2]=O;M=m,O=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[M+76>>2]=O;M=m,O=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[M+80>>2]=O;M=m,O=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[M+84>>2]=O;M=m,O=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[M+88>>2]=O;M=m,O=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[M+92>>2]=O;Qa[v[v[b>>2]+24>>2]](b,24);M=m,O=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[M+96>>2]=O;if(((Qa[v[v[b>>2]+36>>2]](b)|0)-f|0)!=(d|0)){break v}a=B(v[m+96>>2],384)-384|0;c=gb(a);if(c){eb(c,0,a)}v[m+100>>2]=c;g=1;if((p|0)<=((Qa[v[v[b>>2]+36>>2]](b)|0)-D|0)){break v}while(1){e=v[m+100>>2]+B(E,384)|0;v[e>>2]=v[m>>2];f=Qa[v[v[b>>2]+36>>2]](b)|0;g=Qa[v[v[b>>2]+20>>2]](b,4)|0;c=Qa[v[v[b>>2]+20>>2]](b,4)|0;w:{x:{switch(g|0){case 1:g=1;if(Qa[v[v[b>>2]+20>>2]](b,4)|0){break w}g=Qa[v[v[b>>2]+20>>2]](b,4)|0;if(g){break w}g=(Qa[v[v[b>>2]+40>>2]](b)|0)+12|0;break w;case 0:break x;default:break w}}a=Qa[v[v[b>>2]+40>>2]](b)|0;g=a?a+8|0:0}y:{z:{A:{if((c|0)!=1836475768){g=0;if((c|0)!=1953653099){break v}Qa[v[v[b>>2]+28>>2]](b,f);H=Qa[v[v[b>>2]+36>>2]](b)|0;x=Qa[v[v[b>>2]+20>>2]](b,4)|0;c=Qa[v[v[b>>2]+20>>2]](b,4)|0;B:{C:{switch(x|0){case 1:x=1;if(Qa[v[v[b>>2]+20>>2]](b,4)|0){break B}x=Qa[v[v[b>>2]+20>>2]](b,4)|0;if(x){break B}x=(Qa[v[v[b>>2]+40>>2]](b)|0)+12|0;break B;case 0:break C;default:break B}}a=Qa[v[v[b>>2]+40>>2]](b)|0;x=a?a+8|0:0}if((c|0)!=1953653099){break v}f=Qa[v[v[b>>2]+36>>2]](b)|0;d=Qa[v[v[b>>2]+20>>2]](b,4)|0;c=Qa[v[v[b>>2]+20>>2]](b,4)|0;D:{E:{switch(d|0){case 1:d=1;if(Qa[v[v[b>>2]+20>>2]](b,4)|0){break D}d=Qa[v[v[b>>2]+20>>2]](b,4)|0;if(d){break D}d=(Qa[v[v[b>>2]+40>>2]](b)|0)+12|0;break D;case 0:break E;default:break D}}a=Qa[v[v[b>>2]+40>>2]](b)|0;d=a?a+8|0:0}if((c|0)!=1953196132){break v}if(Qa[v[v[b>>2]+20>>2]](b,1)|0){break v}if((Qa[v[v[b>>2]+20>>2]](b,3)|0)-1>>>0>3){break v}M=e,O=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[M+12>>2]=O;M=e,O=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[M+16>>2]=O;M=e,O=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[M+4>>2]=O;Qa[v[v[b>>2]+24>>2]](b,4);M=e,O=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[M+20>>2]=O;Qa[v[v[b>>2]+24>>2]](b,8);M=e,O=Qa[v[v[b>>2]+20>>2]](b,2)|0,v[M+28>>2]=O;Qa[v[v[b>>2]+20>>2]](b,2)|0;M=e,O=Qa[v[v[b>>2]+20>>2]](b,2)|0,v[M+32>>2]=O;Qa[v[v[b>>2]+24>>2]](b,2);M=e,O=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[M+204>>2]=O;M=e,O=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[M+208>>2]=O;M=e,O=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[M+212>>2]=O;M=e,O=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[M+216>>2]=O;M=e,O=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[M+220>>2]=O;M=e,O=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[M+224>>2]=O;M=e,O=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[M+228>>2]=O;M=e,O=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[M+232>>2]=O;M=e,O=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[M+236>>2]=O;M=e,O=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[M+112>>2]=O;M=e,O=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[M+116>>2]=O;if(((Qa[v[v[b>>2]+36>>2]](b)|0)-f|0)!=(d|0)){break v}J=Qa[v[v[b>>2]+36>>2]](b)|0;z=Qa[v[v[b>>2]+20>>2]](b,4)|0;c=Qa[v[v[b>>2]+20>>2]](b,4)|0;F:{G:{switch(z|0){case 1:z=1;if(Qa[v[v[b>>2]+20>>2]](b,4)|0){break F}z=Qa[v[v[b>>2]+20>>2]](b,4)|0;if(z){break F}z=(Qa[v[v[b>>2]+40>>2]](b)|0)+12|0;break F;case 0:break G;default:break F}}a=Qa[v[v[b>>2]+40>>2]](b)|0;z=a?a+8|0:0}if((c|0)!=1835297121){break v}c=Qa[v[v[b>>2]+36>>2]](b)|0;d=Qa[v[v[b>>2]+20>>2]](b,4)|0;f=Qa[v[v[b>>2]+20>>2]](b,4)|0;H:{I:{switch(d|0){case 1:d=1;if(Qa[v[v[b>>2]+20>>2]](b,4)|0){break H}d=Qa[v[v[b>>2]+20>>2]](b,4)|0;if(d){break H}d=(Qa[v[v[b>>2]+40>>2]](b)|0)+12|0;break H;case 0:break I;default:break H}}a=Qa[v[v[b>>2]+40>>2]](b)|0;d=a?a+8|0:0}if(!((f|0)!=1835558002&(f|0)!=1835296868)){if(Qa[v[v[b>>2]+20>>2]](b,1)|0){break v}if(Qa[v[v[b>>2]+20>>2]](b,3)|0){break v}M=e,O=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[M+12>>2]=O;M=e,O=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[M+16>>2]=O;M=e,O=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[M+24>>2]=O;M=e,O=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[M+20>>2]=O;M=e,O=Qa[v[v[b>>2]+20>>2]](b,2)|0,v[M+36>>2]=O;Qa[v[v[b>>2]+24>>2]](b,2);if(((Qa[v[v[b>>2]+36>>2]](b)|0)-c|0)!=(d|0)){break v}}f=Qa[v[v[b>>2]+36>>2]](b)|0;a=Qa[v[v[b>>2]+20>>2]](b,4)|0;c=Qa[v[v[b>>2]+20>>2]](b,4)|0;J:{K:{switch(a|0){case 1:a=1;if(Qa[v[v[b>>2]+20>>2]](b,4)|0){break J}a=Qa[v[v[b>>2]+20>>2]](b,4)|0;if(a){break J}a=(Qa[v[v[b>>2]+40>>2]](b)|0)+12|0;break J;case 0:break K;default:break J}}a=Qa[v[v[b>>2]+40>>2]](b)|0;a=a?a+8|0:0}if((c|0)!=1751411826){break v}if(Qa[v[v[b>>2]+20>>2]](b,1)|0){break v}if(Qa[v[v[b>>2]+20>>2]](b,3)|0){break v}Qa[v[v[b>>2]+24>>2]](b,4);M=e,O=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[M+248>>2]=O;Qa[v[v[b>>2]+24>>2]](b,12);d=a-32|0;v[e+252>>2]=d;c=gb(d);if(c){eb(c,0,d)}v[e+284>>2]=c;if((a|0)>=33){while(1){c=Qa[v[v[b>>2]+20>>2]](b,1)|0;t[v[e+284>>2]+g|0]=c;g=g+1|0;if((g|0)>2]){continue}break}}if(((Qa[v[v[b>>2]+36>>2]](b)|0)-f|0)!=(a|0)){break u}K=Qa[v[v[b>>2]+36>>2]](b)|0;A=Qa[v[v[b>>2]+20>>2]](b,4)|0;c=Qa[v[v[b>>2]+20>>2]](b,4)|0;L:{M:{switch(A|0){case 1:A=1;if(Qa[v[v[b>>2]+20>>2]](b,4)|0){break L}A=Qa[v[v[b>>2]+20>>2]](b,4)|0;if(A){break L}A=(Qa[v[v[b>>2]+40>>2]](b)|0)+12|0;break L;case 0:break M;default:break L}}a=Qa[v[v[b>>2]+40>>2]](b)|0;A=a?a+8|0:0}if((c|0)!=1835626086){break u}Qa[v[v[b>>2]+24>>2]](b,4);a=Qa[v[v[b>>2]+20>>2]](b,4)|0;Qa[v[v[b>>2]+24>>2]](b,-8);N:{if((a|0)!=1752000612){if((a|0)!=1936549988){if((a|0)!=1986881636){break u}f=Qa[v[v[b>>2]+36>>2]](b)|0;d=Qa[v[v[b>>2]+20>>2]](b,4)|0;c=Qa[v[v[b>>2]+20>>2]](b,4)|0;O:{P:{switch(d|0){case 1:d=1;if(Qa[v[v[b>>2]+20>>2]](b,4)|0){break O}d=Qa[v[v[b>>2]+20>>2]](b,4)|0;if(d){break O}d=(Qa[v[v[b>>2]+40>>2]](b)|0)+12|0;break O;case 0:break P;default:break O}}a=Qa[v[v[b>>2]+40>>2]](b)|0;d=a?a+8|0:0}if((c|0)!=1986881636){break u}if(Qa[v[v[b>>2]+20>>2]](b,1)|0){break u}if((Qa[v[v[b>>2]+20>>2]](b,3)|0)!=1){break u}g=0;v[e+8>>2]=0;M=e,O=Qa[v[v[b>>2]+20>>2]](b,2)|0,v[M+64>>2]=O;M=e,O=Qa[v[v[b>>2]+20>>2]](b,2)|0,v[M+68>>2]=O;M=e,O=Qa[v[v[b>>2]+20>>2]](b,2)|0,v[M+72>>2]=O;M=e,O=Qa[v[v[b>>2]+20>>2]](b,2)|0,v[M+76>>2]=O;if(((Qa[v[v[b>>2]+36>>2]](b)|0)-f|0)==(d|0)){break N}break v}f=Qa[v[v[b>>2]+36>>2]](b)|0;d=Qa[v[v[b>>2]+20>>2]](b,4)|0;c=Qa[v[v[b>>2]+20>>2]](b,4)|0;Q:{R:{switch(d|0){case 1:d=1;if(Qa[v[v[b>>2]+20>>2]](b,4)|0){break Q}d=Qa[v[v[b>>2]+20>>2]](b,4)|0;if(d){break Q}d=(Qa[v[v[b>>2]+40>>2]](b)|0)+12|0;break Q;case 0:break R;default:break Q}}a=Qa[v[v[b>>2]+40>>2]](b)|0;d=a?a+8|0:0}if((c|0)!=1936549988){break u}if(Qa[v[v[b>>2]+20>>2]](b,1)|0){break u}if(Qa[v[v[b>>2]+20>>2]](b,3)|0){break u}v[e+8>>2]=1;g=0;a=Qa[v[v[b>>2]+20>>2]](b,2)|0;v[e+184>>2]=0;v[e+40>>2]=a;v[e+268>>2]=0;v[e+88>>2]=0;v[e+80>>2]=0;v[e+276>>2]=0;v[e+260>>2]=0;v[e+240>>2]=0;Qa[v[v[b>>2]+24>>2]](b,2);if(((Qa[v[v[b>>2]+36>>2]](b)|0)-f|0)==(d|0)){break N}break v}f=Qa[v[v[b>>2]+36>>2]](b)|0;d=Qa[v[v[b>>2]+20>>2]](b,4)|0;c=Qa[v[v[b>>2]+20>>2]](b,4)|0;S:{T:{switch(d|0){case 1:d=1;if(Qa[v[v[b>>2]+20>>2]](b,4)|0){break S}d=Qa[v[v[b>>2]+20>>2]](b,4)|0;if(d){break S}d=(Qa[v[v[b>>2]+40>>2]](b)|0)+12|0;break S;case 0:break T;default:break S}}a=Qa[v[v[b>>2]+40>>2]](b)|0;d=a?a+8|0:0}if((c|0)!=1752000612){break u}if(Qa[v[v[b>>2]+20>>2]](b,1)|0){break u}if(Qa[v[v[b>>2]+20>>2]](b,3)|0){break u}v[e+8>>2]=2;M=e,O=Qa[v[v[b>>2]+20>>2]](b,2)|0,v[M+44>>2]=O;M=e,O=Qa[v[v[b>>2]+20>>2]](b,2)|0,v[M+48>>2]=O;M=e,O=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[M+52>>2]=O;M=e,O=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[M+56>>2]=O;g=0;a=Qa[v[v[b>>2]+20>>2]](b,4)|0;v[e+184>>2]=0;v[e+60>>2]=a;v[e+268>>2]=0;v[e+88>>2]=0;v[e+80>>2]=0;v[e+276>>2]=0;v[e+260>>2]=0;v[e+240>>2]=0;if(((Qa[v[v[b>>2]+36>>2]](b)|0)-f|0)!=(d|0)){break v}}n=Qa[v[v[b>>2]+36>>2]](b)|0;d=Qa[v[v[b>>2]+20>>2]](b,4)|0;c=Qa[v[v[b>>2]+20>>2]](b,4)|0;U:{V:{switch(d|0){case 1:d=1;if(Qa[v[v[b>>2]+20>>2]](b,4)|0){break U}d=Qa[v[v[b>>2]+20>>2]](b,4)|0;if(d){break U}d=(Qa[v[v[b>>2]+40>>2]](b)|0)+12|0;break U;case 0:break V;default:break U}}a=Qa[v[v[b>>2]+40>>2]](b)|0;d=a?a+8|0:0}if((c|0)!=1684631142){break u}q=Qa[v[v[b>>2]+36>>2]](b)|0;h=Qa[v[v[b>>2]+20>>2]](b,4)|0;c=Qa[v[v[b>>2]+20>>2]](b,4)|0;W:{X:{switch(h|0){case 1:h=1;if(Qa[v[v[b>>2]+20>>2]](b,4)|0){break W}h=Qa[v[v[b>>2]+20>>2]](b,4)|0;if(h){break W}h=(Qa[v[v[b>>2]+40>>2]](b)|0)+12|0;break W;case 0:break X;default:break W}}a=Qa[v[v[b>>2]+40>>2]](b)|0;h=a?a+8|0:0}if((c|0)!=1685218662){break u}if(Qa[v[v[b>>2]+20>>2]](b,1)|0){break u}Y:{if(Qa[v[v[b>>2]+20>>2]](b,3)|0){break Y}r=Qa[v[v[b>>2]+20>>2]](b,4)|0;v[e+88>>2]=0;v[e+80>>2]=0;if((r|0)>=1){i=0;while(1){Qa[v[v[b>>2]+24>>2]](b,4);a=Qa[v[v[b>>2]+20>>2]](b,4)|0;Z:{if((a|0)!=1970433568){if((a|0)!=1970433056){break v}Qa[v[v[b>>2]+24>>2]](b,-8);j=v[e+80>>2]+1|0;v[e+80>>2]=j;f=Qa[v[v[b>>2]+36>>2]](b)|0;a=Qa[v[v[b>>2]+20>>2]](b,4)|0;c=Qa[v[v[b>>2]+20>>2]](b,4)|0;_:{$:{switch(a|0){case 1:a=1;if(Qa[v[v[b>>2]+20>>2]](b,4)|0){break _}a=Qa[v[v[b>>2]+20>>2]](b,4)|0;if(a){break _}a=(Qa[v[v[b>>2]+40>>2]](b)|0)+12|0;break _;case 0:break $;default:break _}}a=Qa[v[v[b>>2]+40>>2]](b)|0;a=a?a+8|0:0}if((c|0)!=1970433056){break v}if(Qa[v[v[b>>2]+20>>2]](b,1)|0){break v}aa:{if((Qa[v[v[b>>2]+20>>2]](b,3)|0)!=1){c=Qa[v[v[b>>2]+20>>2]](b,4)|0;j=j<<4;v[j+v[e+84>>2]>>2]=c;c=Qa[v[v[b>>2]+20>>2]](b,4)|0;v[(j+v[e+84>>2]|0)+4>>2]=c;c=Qa[v[v[b>>2]+20>>2]](b,4)|0;v[(j+v[e+84>>2]|0)+8>>2]=c;c=Qa[v[v[b>>2]+20>>2]](b,4)|0;v[(j+v[e+84>>2]|0)+12>>2]=c;break aa}v[e+80>>2]=v[e+80>>2]-1}if(((Qa[v[v[b>>2]+36>>2]](b)|0)-f|0)==(a|0)){break Z}break v}Qa[v[v[b>>2]+24>>2]](b,-8);j=v[e+88>>2]+1|0;v[e+88>>2]=j;f=Qa[v[v[b>>2]+36>>2]](b)|0;a=Qa[v[v[b>>2]+20>>2]](b,4)|0;c=Qa[v[v[b>>2]+20>>2]](b,4)|0;ba:{ca:{switch(a|0){case 1:a=1;if(Qa[v[v[b>>2]+20>>2]](b,4)|0){break ba}a=Qa[v[v[b>>2]+20>>2]](b,4)|0;if(a){break ba}a=(Qa[v[v[b>>2]+40>>2]](b)|0)+12|0;break ba;case 0:break ca;default:break ba}}a=Qa[v[v[b>>2]+40>>2]](b)|0;a=a?a+8|0:0}if((c|0)!=1970433568){break v}if(Qa[v[v[b>>2]+20>>2]](b,1)|0){break v}if((Qa[v[v[b>>2]+20>>2]](b,3)|0)!=1){c=Qa[v[v[b>>2]+20>>2]](b,4)|0;j=j<<5;v[j+v[e+92>>2]>>2]=c;c=Qa[v[v[b>>2]+20>>2]](b,4)|0;v[(j+v[e+92>>2]|0)+4>>2]=c;c=Qa[v[v[b>>2]+20>>2]](b,4)|0;v[(j+v[e+92>>2]|0)+8>>2]=c;c=Qa[v[v[b>>2]+20>>2]](b,4)|0;v[(j+v[e+92>>2]|0)+12>>2]=c;c=Qa[v[v[b>>2]+20>>2]](b,4)|0;v[(j+v[e+92>>2]|0)+16>>2]=c;c=Qa[v[v[b>>2]+20>>2]](b,4)|0;v[(j+v[e+92>>2]|0)+20>>2]=c;c=Qa[v[v[b>>2]+20>>2]](b,4)|0;v[(j+v[e+92>>2]|0)+24>>2]=c;c=Qa[v[v[b>>2]+20>>2]](b,4)|0;v[(j+v[e+92>>2]|0)+28>>2]=c}if(((Qa[v[v[b>>2]+36>>2]](b)|0)-f|0)!=(a|0)){break v}}i=i+1|0;if((r|0)!=(i|0)){continue}break}}if(((Qa[v[v[b>>2]+36>>2]](b)|0)-q|0)==(h|0)){break Y}break u}if(((Qa[v[v[b>>2]+36>>2]](b)|0)-n|0)!=(d|0)){break u}L=Qa[v[v[b>>2]+36>>2]](b)|0;C=Qa[v[v[b>>2]+20>>2]](b,4)|0;c=Qa[v[v[b>>2]+20>>2]](b,4)|0;da:{ea:{switch(C|0){case 1:C=1;if(Qa[v[v[b>>2]+20>>2]](b,4)|0){break da}C=Qa[v[v[b>>2]+20>>2]](b,4)|0;if(C){break da}C=(Qa[v[v[b>>2]+40>>2]](b)|0)+12|0;break da;case 0:break ea;default:break da}}a=Qa[v[v[b>>2]+40>>2]](b)|0;C=a?a+8|0:0}if((c|0)!=1937007212){break u}n=Qa[v[v[b>>2]+36>>2]](b)|0;k=Qa[v[v[b>>2]+20>>2]](b,4)|0;c=Qa[v[v[b>>2]+20>>2]](b,4)|0;fa:{ga:{switch(k|0){case 1:k=1;if(Qa[v[v[b>>2]+20>>2]](b,4)|0){break fa}k=Qa[v[v[b>>2]+20>>2]](b,4)|0;if(k){break fa}k=(Qa[v[v[b>>2]+40>>2]](b)|0)+12|0;break fa;case 0:break ga;default:break fa}}a=Qa[v[v[b>>2]+40>>2]](b)|0;k=a?a+8|0:0}if((c|0)!=1937011556){break u}if(Qa[v[v[b>>2]+20>>2]](b,1)|0){break u}if(Qa[v[v[b>>2]+20>>2]](b,3)|0){break u}o=Qa[v[v[b>>2]+20>>2]](b,4)|0;ha:{ia:{switch(v[e+8>>2]){case 0:if((o|0)<1){break ha}q=e+288|0;h=0;while(1){l=Qa[v[v[b>>2]+36>>2]](b)|0;a=Qa[v[v[b>>2]+20>>2]](b,4)|0;c=Qa[v[v[b>>2]+20>>2]](b,4)|0;ja:{ka:{switch(a|0){case 1:a=1;if(Qa[v[v[b>>2]+20>>2]](b,4)|0){break ja}a=Qa[v[v[b>>2]+20>>2]](b,4)|0;if(a){break ja}a=(Qa[v[v[b>>2]+40>>2]](b)|0)+12|0;break ja;case 0:break ka;default:break ja}}a=Qa[v[v[b>>2]+40>>2]](b)|0;a=a?a+8|0:0}if((c|0)!=1835692082){break v}if(Qa[v[v[b>>2]+20>>2]](b,1)|0){break v}if(Qa[v[v[b>>2]+20>>2]](b,3)|0){break v}Qa[v[v[b>>2]+24>>2]](b,4);Qa[v[v[b>>2]+24>>2]](b,2);Qa[v[v[b>>2]+24>>2]](b,2);Qa[v[v[b>>2]+24>>2]](b,4);Qa[v[v[b>>2]+24>>2]](b,4);Qa[v[v[b>>2]+24>>2]](b,4);M=e,O=Qa[v[v[b>>2]+20>>2]](b,2)|0,v[M+104>>2]=O;M=e,O=Qa[v[v[b>>2]+20>>2]](b,2)|0,v[M+108>>2]=O;M=e,O=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[M+136>>2]=O;M=e,O=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[M+140>>2]=O;Qa[v[v[b>>2]+24>>2]](b,4);Qa[v[v[b>>2]+24>>2]](b,2);M=e,O=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[M+144>>2]=O;M=e,O=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[M+148>>2]=O;M=e,O=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[M+152>>2]=O;M=e,O=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[M+156>>2]=O;M=e,O=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[M+160>>2]=O;M=e,O=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[M+164>>2]=O;M=e,O=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[M+168>>2]=O;M=e,O=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[M+172>>2]=O;M=e,O=Qa[v[v[b>>2]+20>>2]](b,2)|0,v[M+176>>2]=O;Qa[v[v[b>>2]+24>>2]](b,2);t[e+192|0]=0;t[e+180|0]=1;t[e+181|0]=0;t[e+182|0]=1;t[e+183|0]=0;if(!X4(q,b)){break v}c=B(v[e+304>>2],12);f=gb(c);if(f){eb(f,0,c)}v[e+356>>2]=f;c=gb(4);if(c){v[c>>2]=0}v[e+352>>2]=c;v[e+184>>2]=0;t[e+192|0]=0;if(((Qa[v[v[b>>2]+36>>2]](b)|0)-l|0)<(a|0)){while(1){f=Qa[v[v[b>>2]+36>>2]](b)|0;c=Qa[v[v[b>>2]+20>>2]](b,4)|0;d=Qa[v[v[b>>2]+20>>2]](b,4)|0;la:{ma:{switch(c|0){case 1:if(Qa[v[v[b>>2]+20>>2]](b,4)|0){break la}if(Qa[v[v[b>>2]+20>>2]](b,4)|0){break la}break;case 0:break ma;default:break la}}Qa[v[v[b>>2]+40>>2]](b)|0}Qa[v[v[b>>2]+28>>2]](b,f);na:{oa:{pa:{qa:{ra:{sa:{ta:{ua:{va:{wa:{if((d|0)<=1785951585){xa:{switch(d-1785737840|0){case 8:break sa;case 0:break ta;case 1:case 2:case 3:case 4:case 5:case 6:case 7:break v;default:break xa}}if((d|0)!=1718183276){break v}j=Qa[v[v[b>>2]+36>>2]](b)|0;d=Qa[v[v[b>>2]+20>>2]](b,4)|0;f=Qa[v[v[b>>2]+20>>2]](b,4)|0;switch(d|0){case 0:break va;case 1:break wa;default:break ua}}if((d|0)==1785951586){break ra}if((d|0)!=1869768303){break v}j=Qa[v[v[b>>2]+36>>2]](b)|0;d=Qa[v[v[b>>2]+20>>2]](b,4)|0;f=Qa[v[v[b>>2]+20>>2]](b,4)|0;switch(d|0){case 0:break pa;case 1:break qa;default:break oa}}d=1;if(Qa[v[v[b>>2]+20>>2]](b,4)|0){break ua}d=Qa[v[v[b>>2]+20>>2]](b,4)|0;if(d){break ua}d=(Qa[v[v[b>>2]+40>>2]](b)|0)+12|0;break ua}c=Qa[v[v[b>>2]+40>>2]](b)|0;d=c?c+8|0:0}if((f|0)!=1718183276){break v}M=e,O=Qa[v[v[b>>2]+20>>2]](b,1)|0,t[M+180|0]=O;M=e,O=Qa[v[v[b>>2]+20>>2]](b,1)|0,t[M+181|0]=O;if(((Qa[v[v[b>>2]+36>>2]](b)|0)-j|0)==(d|0)){break na}break v}j=Qa[v[v[b>>2]+36>>2]](b)|0;c=Qa[v[v[b>>2]+20>>2]](b,4)|0;f=Qa[v[v[b>>2]+20>>2]](b,4)|0;ya:{za:{switch(c|0){case 1:c=1;if(Qa[v[v[b>>2]+20>>2]](b,4)|0){break ya}c=Qa[v[v[b>>2]+20>>2]](b,4)|0;if(c){break ya}c=(Qa[v[v[b>>2]+40>>2]](b)|0)+12|0;break ya;case 0:break za;default:break ya}}c=Qa[v[v[b>>2]+40>>2]](b)|0;c=c?c+8|0:0}if((f|0)!=1785737840){break v}if(Qa[v[v[b>>2]+20>>2]](b,1)|0){break v}if(Qa[v[v[b>>2]+20>>2]](b,3)|0){break v}f=(c-12|0)/4|0;v[e+184>>2]=f;f=f<<2;d=gb(f);if(d){eb(d,0,f)}v[e+188>>2]=d;d=0;if((c|0)>=16){while(1){f=Qa[v[v[b>>2]+20>>2]](b,4)|0;v[v[e+188>>2]+(d<<2)>>2]=f;d=d+1|0;if((d|0)>2]){continue}break}}if(((Qa[v[v[b>>2]+36>>2]](b)|0)-j|0)==(c|0)){break na}break u}j=Qa[v[v[b>>2]+36>>2]](b)|0;c=Qa[v[v[b>>2]+20>>2]](b,4)|0;f=Qa[v[v[b>>2]+20>>2]](b,4)|0;Aa:{Ba:{switch(c|0){case 1:c=1;if(Qa[v[v[b>>2]+20>>2]](b,4)|0){break Aa}c=Qa[v[v[b>>2]+20>>2]](b,4)|0;if(c){break Aa}c=(Qa[v[v[b>>2]+40>>2]](b)|0)+12|0;break Aa;case 0:break Ba;default:break Aa}}c=Qa[v[v[b>>2]+40>>2]](b)|0;c=c?c+8|0:0}if((f|0)!=1785737848){break v}f=c-8|0;t[e+192|0]=f;r=f&255;f=gb(r);if(f){eb(f,0,r)}v[e+196>>2]=f;d=0;if(r){while(1){f=Qa[v[v[b>>2]+20>>2]](b,1)|0;t[v[e+196>>2]+d|0]=f;d=d+1|0;if(d>>>0>2]+36>>2]](b)|0)-j|0)==(c|0)){break na}break u}j=Qa[v[v[b>>2]+36>>2]](b)|0;d=Qa[v[v[b>>2]+20>>2]](b,4)|0;f=Qa[v[v[b>>2]+20>>2]](b,4)|0;Ca:{Da:{switch(d|0){case 1:d=1;if(Qa[v[v[b>>2]+20>>2]](b,4)|0){break Ca}d=Qa[v[v[b>>2]+20>>2]](b,4)|0;if(d){break Ca}d=(Qa[v[v[b>>2]+40>>2]](b)|0)+12|0;break Ca;case 0:break Da;default:break Ca}}c=Qa[v[v[b>>2]+40>>2]](b)|0;d=c?c+8|0:0}if((f|0)!=1785951586){break v}M=e,O=Qa[v[v[b>>2]+20>>2]](b,1)|0,t[M+200|0]=O;M=e,O=Qa[v[v[b>>2]+20>>2]](b,1)|0,t[M+201|0]=O;M=e,O=Qa[v[v[b>>2]+20>>2]](b,1)|0,t[M+202|0]=O;M=e,O=Qa[v[v[b>>2]+20>>2]](b,1)|0,t[M+203|0]=O;if(((Qa[v[v[b>>2]+36>>2]](b)|0)-j|0)==(d|0)){break na}break v}d=1;if(Qa[v[v[b>>2]+20>>2]](b,4)|0){break oa}d=Qa[v[v[b>>2]+20>>2]](b,4)|0;if(d){break oa}d=(Qa[v[v[b>>2]+40>>2]](b)|0)+12|0;break oa}c=Qa[v[v[b>>2]+40>>2]](b)|0;d=c?c+8|0:0}if((f|0)!=1869768303){break v}M=e,O=Qa[v[v[b>>2]+20>>2]](b,1)|0,t[M+182|0]=O;M=e,O=Qa[v[v[b>>2]+20>>2]](b,1)|0,t[M+183|0]=O;if(((Qa[v[v[b>>2]+36>>2]](b)|0)-j|0)!=(d|0)){break v}}if(((Qa[v[v[b>>2]+36>>2]](b)|0)-l|0)<(a|0)){continue}break}}h=h+1|0;if((o|0)!=(h|0)){continue}break};break ha;case 1:case 2:break ia;default:break ha}}O=b,N=(Qa[v[v[b>>2]+20>>2]](b,4)|0)-4|0,M=v[v[b>>2]+24>>2],Qa[M](O|0,N|0)}if(((Qa[v[v[b>>2]+36>>2]](b)|0)-n|0)!=(k|0)){break u}j=Qa[v[v[b>>2]+36>>2]](b)|0;c=Qa[v[v[b>>2]+20>>2]](b,4)|0;f=Qa[v[v[b>>2]+20>>2]](b,4)|0;Ea:{Fa:{switch(c|0){case 1:c=1;if(Qa[v[v[b>>2]+20>>2]](b,4)|0){break Ea}c=Qa[v[v[b>>2]+20>>2]](b,4)|0;if(c){break Ea}c=(Qa[v[v[b>>2]+40>>2]](b)|0)+12|0;break Ea;case 0:break Fa;default:break Ea}}a=Qa[v[v[b>>2]+40>>2]](b)|0;c=a?a+8|0:0}if((f|0)!=1937011827){break u}if(Qa[v[v[b>>2]+20>>2]](b,1)|0){break u}if(Qa[v[v[b>>2]+20>>2]](b,3)|0){break v}k=Qa[v[v[b>>2]+20>>2]](b,4)|0;v[e+260>>2]=k;a=k<<3;h=gb(a);if(h){eb(h,0,a)}v[e+264>>2]=h;if((k|0)<=0){break A}while(1){a=Qa[v[v[b>>2]+20>>2]](b,4)|0;f=g<<3;v[f+v[e+264>>2]>>2]=a;a=Qa[v[v[b>>2]+20>>2]](b,4)|0;h=v[e+264>>2];v[(f+h|0)+4>>2]=a;g=g+1|0;k=v[e+260>>2];if((g|0)<(k|0)){continue}break}d=0;v[e+240>>2]=0;if((k|0)<1){g=0;break z}i=k&3;g=0;if(k-1>>>0>=3){a=k&-4;while(1){f=g<<3;d=v[(f|24)+h>>2]+(v[(f|16)+h>>2]+(v[(f|8)+h>>2]+(v[f+h>>2]+d|0)|0)|0)|0;g=g+4|0;a=a-4|0;if(a){continue}break}}if(i){while(1){d=v[(g<<3)+h>>2]+d|0;g=g+1|0;i=i-1|0;if(i){continue}break}}v[e+240>>2]=d;g=B(d,12);d=1;break z}Qa[v[v[b>>2]+28>>2]](b,f);Qa[v[v[b>>2]+24>>2]](b,g);E=E-1|0;break y}d=0;v[e+240>>2]=0}n=gb(g);if(n){eb(n,0,g)}v[e+380>>2]=n;q=0;if(d){while(1){a=(q<<3)+h|0;f=v[a>>2];Ga:{if((f|0)<1){break Ga}i=f&7;d=v[a+4>>2];g=0;if(f-1>>>0>=7){a=f&-8;while(1){v[(n+B(g,12)|0)+8>>2]=d;v[(n+B(g|1,12)|0)+8>>2]=d;v[(n+B(g|2,12)|0)+8>>2]=d;v[(n+B(g|3,12)|0)+8>>2]=d;v[(n+B(g|4,12)|0)+8>>2]=d;v[(n+B(g|5,12)|0)+8>>2]=d;v[(n+B(g|6,12)|0)+8>>2]=d;v[(n+B(g|7,12)|0)+8>>2]=d;g=g+8|0;a=a-8|0;if(a){continue}break}}if(!i){break Ga}while(1){v[(n+B(g,12)|0)+8>>2]=d;g=g+1|0;i=i-1|0;if(i){continue}break}}q=q+1|0;if((q|0)!=(k|0)){continue}break}}g=0;if(((Qa[v[v[b>>2]+36>>2]](b)|0)-j|0)!=(c|0)){break v}j=Qa[v[v[b>>2]+36>>2]](b)|0;o=Qa[v[v[b>>2]+20>>2]](b,4)|0;c=Qa[v[v[b>>2]+20>>2]](b,4)|0;Ha:{Ia:{switch(o|0){case 1:o=1;if(Qa[v[v[b>>2]+20>>2]](b,4)|0){break Ha}o=Qa[v[v[b>>2]+20>>2]](b,4)|0;if(o){break Ha}o=(Qa[v[v[b>>2]+40>>2]](b)|0)+12|0;break Ha;case 0:break Ia;default:break Ha}}a=Qa[v[v[b>>2]+40>>2]](b)|0;o=a?a+8|0:0}if((c|0)!=1937011555){break v}if(Qa[v[v[b>>2]+20>>2]](b,1)|0){break v}if(Qa[v[v[b>>2]+20>>2]](b,3)|0){break v}i=Qa[v[v[b>>2]+20>>2]](b,4)|0;v[e+276>>2]=i;a=B(i,12);k=gb(a);if(k){eb(k,0,a)}v[e+280>>2]=k;Ja:{Ka:{if((i|0)<=0){break Ka}while(1){a=Qa[v[v[b>>2]+20>>2]](b,4)|0;c=B(g,12);v[c+v[e+280>>2]>>2]=a;a=Qa[v[v[b>>2]+20>>2]](b,4)|0;v[(c+v[e+280>>2]|0)+4>>2]=a;a=Qa[v[v[b>>2]+20>>2]](b,4)|0;k=v[e+280>>2];v[(c+k|0)+8>>2]=a;g=g+1|0;i=v[e+276>>2];if((g|0)<(i|0)){continue}break}if((i|0)!=1){break Ka}a=e;F=I(+y[e+240>>2]/+v[k+4>>2]);La:{if(F<4294967296&F>=0){c=~~F>>>0;break La}c=0}v[a+268>>2]=c;a=B(c,12);d=gb(a);if(d){eb(d,0,a)}v[e+272>>2]=d;if(!c){break Ja}i=c&7;f=v[k+4>>2];g=0;if(c-1>>>0>=7){a=c&-8;while(1){v[d+B(g,12)>>2]=f;v[d+B(g|1,12)>>2]=f;v[d+B(g|2,12)>>2]=f;v[d+B(g|3,12)>>2]=f;v[d+B(g|4,12)>>2]=f;v[d+B(g|5,12)>>2]=f;v[d+B(g|6,12)>>2]=f;v[d+B(g|7,12)>>2]=f;g=g+8|0;a=a-8|0;if(a){continue}break}}if(!i){break Ja}while(1){v[d+B(g,12)>>2]=f;g=g+1|0;i=i-1|0;if(i){continue}break}break Ja}a=B(v[e+268>>2],12);u=gb(a);if(u){eb(u,0,a)}v[e+272>>2]=u;n=i-1|0;l=0;h=0;if((i|0)>=2){c=v[k>>2];a=0;while(1){d=c;f=a;a=a+1|0;c=v[B(a,12)+k>>2];if((d|0)<(c|0)){g=d-1|0;s=v[(B(f,12)+k|0)+4>>2];f=c-1|0;q=(d|0)>(f|0)?d:f;f=q-d|0;i=f+1&3;if(i){while(1){v[u+B(g,12)>>2]=s;g=g+1|0;h=h+s|0;i=i-1|0;if(i){continue}break}}if(f>>>0>=3){f=s<<1;while(1){r=u+B(g,12)|0;v[r>>2]=s;v[r+36>>2]=s;v[r+24>>2]=s;v[r+12>>2]=s;h=f+(f+h|0)|0;g=g+4|0;if((q|0)!=(g|0)){continue}break}}l=(q+(l-d|0)|0)+1|0}if((a|0)!=(n|0)){continue}break}}a=B(n,12)+k|0;g=v[a+4>>2];c=(v[e+240>>2]-h|0)/(g|0)|0;f=c+l|0;v[e+268>>2]=f;a=v[a>>2];h=a-1|0;Ma:{if(f>>>0<=h>>>0){break Ma}a=f-a|0;d=a+1&7;if(d){while(1){v[u+B(h,12)>>2]=g;h=h+1|0;d=d-1|0;if(d){continue}break}}if(a>>>0<7){break Ma}while(1){a=u+B(h,12)|0;v[a>>2]=g;v[a+84>>2]=g;v[a+72>>2]=g;v[a+60>>2]=g;v[a+48>>2]=g;v[a+36>>2]=g;v[a+24>>2]=g;v[a+12>>2]=g;h=h+8|0;if((f|0)!=(h|0)){continue}break}}a=B(f,12);d=gb(a);if(!d){break Ja}f=B(l,12);eb(f+d|0,0,a>>>0>f>>>0?B(c,12):0);a=cb(d,u,f);if(u){$a(u)}v[e+272>>2]=a}if(((Qa[v[v[b>>2]+36>>2]](b)|0)-j|0)!=(o|0)){break u}f=Qa[v[v[b>>2]+36>>2]](b)|0;h=Qa[v[v[b>>2]+20>>2]](b,4)|0;c=Qa[v[v[b>>2]+20>>2]](b,4)|0;Na:{Oa:{switch(h|0){case 1:h=1;if(Qa[v[v[b>>2]+20>>2]](b,4)|0){break Na}h=Qa[v[v[b>>2]+20>>2]](b,4)|0;if(h){break Na}h=(Qa[v[v[b>>2]+40>>2]](b)|0)+12|0;break Na;case 0:break Oa;default:break Na}}a=Qa[v[v[b>>2]+40>>2]](b)|0;h=a?a+8|0:0}if((c|0)!=1937011578){break u}if(Qa[v[v[b>>2]+20>>2]](b,1)|0){break u}if(Qa[v[v[b>>2]+20>>2]](b,3)|0){break u}d=Qa[v[v[b>>2]+20>>2]](b,4)|0;Pa:{if(d){t[e+256|0]=1;a=v[e+240>>2];Qa:{if(!a){break Qa}i=a&7;c=v[e+380>>2];g=0;if(a-1>>>0>=7){a=a&-8;while(1){v[c+B(g,12)>>2]=d;v[c+B(g|1,12)>>2]=d;v[c+B(g|2,12)>>2]=d;v[c+B(g|3,12)>>2]=d;v[c+B(g|4,12)>>2]=d;v[c+B(g|5,12)>>2]=d;v[c+B(g|6,12)>>2]=d;v[c+B(g|7,12)>>2]=d;g=g+8|0;a=a-8|0;if(a){continue}break}}if(!i){break Qa}while(1){v[c+B(g,12)>>2]=d;g=g+1|0;i=i-1|0;if(i){continue}break}}Qa[v[v[b>>2]+24>>2]](b,4);break Pa}g=0;t[e+256|0]=0;if(v[e+240>>2]!=(Qa[v[v[b>>2]+20>>2]](b,4)|0)){break v}if(!v[e+240>>2]){break Pa}while(1){a=Qa[v[v[b>>2]+20>>2]](b,4)|0;v[v[e+380>>2]+B(g,12)>>2]=a;g=g+1|0;if(g>>>0>2]){continue}break}}if(((Qa[v[v[b>>2]+36>>2]](b)|0)-f|0)!=(h|0)){break u}r=Qa[v[v[b>>2]+36>>2]](b)|0;i=Qa[v[v[b>>2]+20>>2]](b,4)|0;c=Qa[v[v[b>>2]+20>>2]](b,4)|0;Ra:{Sa:{switch(i|0){case 1:i=1;if(Qa[v[v[b>>2]+20>>2]](b,4)|0){break Ra}i=Qa[v[v[b>>2]+20>>2]](b,4)|0;if(i){break Ra}i=(Qa[v[v[b>>2]+40>>2]](b)|0)+12|0;break Ra;case 0:break Sa;default:break Ra}}a=Qa[v[v[b>>2]+40>>2]](b)|0;i=a?a+8|0:0}if((c|0)!=1937007471){break u}if(Qa[v[v[b>>2]+20>>2]](b,1)|0){break u}if(Qa[v[v[b>>2]+20>>2]](b,3)|0){break u}g=0;a=Qa[v[v[b>>2]+20>>2]](b,4)|0;if((a|0)!=v[e+268>>2]){break v}Ta:{if(!a){break Ta}while(1){a=Qa[v[v[b>>2]+20>>2]](b,4)|0;n=v[e+272>>2];v[(n+B(g,12)|0)+8>>2]=a;g=g+1|0;l=v[e+268>>2];if(g>>>0>>0){continue}break}c=0;if(!l){break Ta}while(1){f=n+B(c,12)|0;j=v[f>>2];Ua:{if((j|0)<1){break Ua}a=j&3;s=v[f+8>>2];o=v[e+380>>2];g=0;d=0;if(j-1>>>0>=3){h=j&-4;while(1){f=o+B(g,12)|0;v[f+4>>2]=d+s;q=o+B(g|1,12)|0;f=v[f>>2]+d|0;v[q+4>>2]=f+s;j=o+B(g|2,12)|0;f=f+v[q>>2]|0;v[j+4>>2]=f+s;d=o+B(g|3,12)|0;f=f+v[j>>2]|0;v[d+4>>2]=f+s;d=f+v[d>>2]|0;g=g+4|0;h=h-4|0;if(h){continue}break}}if(!a){break Ua}while(1){f=o+B(g,12)|0;v[f+4>>2]=d+s;g=g+1|0;d=v[f>>2]+d|0;a=a-1|0;if(a){continue}break}}c=c+1|0;if((l|0)!=(c|0)){continue}break}}g=0;if(((Qa[v[v[b>>2]+36>>2]](b)|0)-r|0)!=(i|0)){break v}if(((Qa[v[v[b>>2]+36>>2]](b)|0)-L|0)!=(C|0)){break v}if(((Qa[v[v[b>>2]+36>>2]](b)|0)-K|0)!=(A|0)){break v}if(((Qa[v[v[b>>2]+36>>2]](b)|0)-J|0)!=(z|0)){break v}if(((Qa[v[v[b>>2]+36>>2]](b)|0)-H|0)!=(x|0)){break v}Va:{switch(v[e+8>>2]){case 0:v[m+44>>2]=v[m+44>>2]+1;break y;case 1:v[m+48>>2]=v[m+48>>2]+1;break y;case 2:break Va;default:break y}}v[m+52>>2]=v[m+52>>2]+1}g=1;E=E+1|0;if((p|0)>((Qa[v[v[b>>2]+36>>2]](b)|0)-D|0)){continue}break}}break t}g=0}p=g?G:0;break a}Qa[v[v[b>>2]+24>>2]](b,d);p=0;if((Qa[v[v[b>>2]+40>>2]](b)|0)<0){break a}}c=Qa[v[v[b>>2]+36>>2]](b)|0;d=Qa[v[v[b>>2]+20>>2]](b,4)|0;p=Qa[v[v[b>>2]+20>>2]](b,4)|0;Wa:{switch(d|0){case 1:if(Qa[v[v[b>>2]+20>>2]](b,4)|0){return 0}d=Qa[v[v[b>>2]+20>>2]](b,4)|0;if(d){continue}d=(Qa[v[v[b>>2]+40>>2]](b)|0)+12|0;continue;case 0:break Wa;default:continue}}f=Qa[v[v[b>>2]+40>>2]](b)|0;if(f){d=f+8|0;continue}else{return 0}}}return p}function mMa(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,p=0,q=0,r=0,s=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0;r=Ma-16|0;Ma=r;a:{b:{if(v[a+12>>2]==v[a+8>>2]){break b}c:{if(!c){break c}e=v[b>>2];if(!e){break c}c=0;d=w[e+11|0];l=d<<24>>24<0;d=l?v[e+4>>2]:d;if(!d){break c}l=l?v[e>>2]:e;d:{e:{f:{g:{h:{if((d|0)<=0){break h}while(1){if(y[l+(c<<2)>>2]<256){c=c+1|0;if((d|0)!=(c|0)){continue}break h}break}m=v[l>>2];e=0;if((d|0)<2){break g}A=d-1|0;while(1){c=1;i:{g=v[B(e,20)+372608>>2];if((m|0)!=v[g>>2]){break i}while(1){j=c<<2;f=v[j+g>>2];if(!f&(c|0)!=(A|0)|(f|0)!=v[j+l>>2]){break i}c=c+1|0;if((d|0)!=(c|0)){continue}break}c=e;break e}e=e+1|0;if((e|0)!=91){continue}break}break c}m=v[l>>2];e=v[(m<<2)+363040>>2];if((e|0)==-1){break c}j:{k:{if((d|0)>=2){A=d-1|0;g=(e|0)>426?e:426;while(1){c=1;j=v[B(e,20)+364064>>2];if((m|0)!=t[j|0]){break c}while(1){f=t[c+j|0];if(!(!f&(c|0)!=(A|0)|(f|0)!=v[l+(c<<2)>>2])){c=c+1|0;if((d|0)!=(c|0)){continue}break k}break}c=(e|0)==(g|0);e=e+1|0;if(!c){continue}break}break c}if((m|0)==t[v[B(e,20)+364064>>2]]){break j}break c}if((e|0)==-1){break c}}c=v[b+20>>2];if(c){c=v[c>>2]==1}else{c=0}d=v[b+16>>2];if(d){c=v[d>>2]==1?c|2:c}l:{m:{switch(c-1|0){case 0:d=B(e,20);c=v[d+364072>>2];if((c|0)!=-1){break f}c=v[d+364080>>2];if((c|0)!=-1){break f}d=B(e,20);c=v[d+364068>>2];if((c|0)!=-1){break f}c=d+364076|0;break l;case 1:d=B(e,20);c=v[d+364076>>2];if((c|0)!=-1){break f}c=v[d+364080>>2];if((c|0)!=-1){break f}d=B(e,20);c=v[d+364068>>2];if((c|0)!=-1){break f}c=d+364072|0;break l;case 2:d=B(e,20);c=v[d+364080>>2];if((c|0)!=-1){break f}c=v[d+364076>>2];if((c|0)!=-1){break f}d=B(e,20);c=v[d+364072>>2];if((c|0)!=-1){break f}c=d+364068|0;break l;default:break m}}d=B(e,20);c=v[d+364068>>2];if((c|0)!=-1){break f}c=v[d+364072>>2];if((c|0)!=-1){break f}d=B(e,20);c=v[d+364076>>2];if((c|0)!=-1){break f}c=d+364080|0}c=v[c>>2];if((c|0)==-1){break c}c=B(c,68)+374432|0;break d}while(1){if((m|0)==v[v[B(e,20)+372608>>2]>>2]){c=e;break e}c=e|1;if((m|0)==v[v[B(c,20)+372608>>2]>>2]){break e}c=e|2;if((m|0)==v[v[B(c,20)+372608>>2]>>2]){break e}c=e|3;if((c|0)==91){break c}if((m|0)==v[v[B(c,20)+372608>>2]>>2]){break e}e=e+4|0;continue}}c=B(c,68)+374432|0;break d}d=v[b+20>>2];if(d){d=v[d>>2]==1}else{d=0}e=v[b+16>>2];if(e){d=v[e>>2]==1?d|2:d}n:{o:{p:{q:{switch(d-1|0){case 0:d=373416;if((c|0)==40){break n}d=B(c,20)+372612|0;break n;case 1:d=v[B(c,20)+372620>>2];if((d|0)!=-1){break p}d=373424;if((c|0)==40){break n}d=B(c,20)+372612|0;break n;case 2:break q;default:break o}}d=373424;if((c|0)==40){break n}c=B(c,20);d=v[c+372620>>2];if((d|0)!=-1){break p}d=c+372612|0;break n}c=B(d,68)+374432|0;break d}d=B(c,20)+372612|0}c=v[d>>2];if((c|0)==-1){break c}c=B(c,68)+374432|0}if(!c){break c}PJ(b);d=v[c>>2];e=zb(d);l=ab(12);Zg(l,d,e);v[b>>2]=l;d=ab(4);v[d>>2]=w[c+10|0]==1;v[b+24>>2]=d;d=ab(10);v[b+28>>2]=d;e=w[c+19|0]|w[c+20|0]<<8;t[d+8|0]=e;t[d+9|0]=e>>>8;e=w[c+15|0]|w[c+16|0]<<8|(w[c+17|0]<<16|w[c+18|0]<<24);l=w[c+11|0]|w[c+12|0]<<8|(w[c+13|0]<<16|w[c+14|0]<<24);t[d|0]=l;t[d+1|0]=l>>>8;t[d+2|0]=l>>>16;t[d+3|0]=l>>>24;t[d+4|0]=e;t[d+5|0]=e>>>8;t[d+6|0]=e>>>16;t[d+7|0]=e>>>24;d=ab(4);v[d>>2]=v[c+24>>2];v[b+32>>2]=d;d=ab(4);v[d>>2]=v[c+28>>2];v[b+36>>2]=d;d=ab(4);v[d>>2]=v[c+32>>2];v[b+40>>2]=d;d=ab(4);v[d>>2]=v[c+36>>2];v[b+44>>2]=d;d=ab(4);v[d>>2]=v[c+40>>2];v[b+48>>2]=d;d=ab(4);v[d>>2]=v[c+44>>2];v[b+52>>2]=d;d=ab(2);u[d>>1]=x[c+48>>1];v[b+56>>2]=d;d=ab(2);u[d>>1]=x[c+50>>1];v[b+60>>2]=d;d=ab(2);u[d>>1]=x[c+56>>1];v[b+72>>2]=d;d=ab(2);u[d>>1]=x[c+58>>1];v[b+76>>2]=d;d=ab(2);u[d>>1]=x[c+60>>1];v[b+80>>2]=d;d=ab(2);u[d>>1]=x[c+64>>1];v[b+88>>2]=d;d=ab(2);u[d>>1]=x[c+66>>1];v[b+92>>2]=d}C=-1;while(1){r:{D=v[a+8>>2];if((D|0)!=v[a+12>>2]){while(1){l=v[D>>2];c=v[b+28>>2];s:{if(!c){m=0;break s}m=0;e=w[l+52|0];d=w[c|0];if(!((e|0)==(d|0)|!d)){e=e-d|0;d=e>>31;m=B(d^d+e,1e3)}e=w[l+53|0];d=w[c+1|0];if(!((e|0)==(d|0)|!d)){e=e-d|0;d=e>>31;m=B(d^d+e,100)+m|0}e=w[l+54|0];d=w[c+2|0];if(!((e|0)==(d|0)|!d)){e=e-d|0;d=e>>31;m=B(d^d+e,100)+m|0}e=w[l+55|0];d=w[c+3|0];if(!((e|0)==(d|0)|!d)){e=e-d|0;d=e>>31;m=B(d^d+e,100)+m|0}e=w[l+56|0];d=w[c+4|0];if(!((e|0)==(d|0)|!d)){e=e-d|0;d=e>>31;m=B(d^d+e,100)+m|0}e=w[l+57|0];d=w[c+5|0];if(!((e|0)==(d|0)|!d)){e=e-d|0;d=e>>31;m=B(d^d+e,100)+m|0}e=w[l+58|0];d=w[c+6|0];if(!((e|0)==(d|0)|!d)){e=e-d|0;d=e>>31;m=B(d^d+e,100)+m|0}e=w[l+59|0];d=w[c+7|0];if(!((e|0)==(d|0)|!d)){e=e-d|0;d=e>>31;m=B(d^d+e,100)+m|0}e=w[l+60|0];d=w[c+8|0];if(!((e|0)==(d|0)|!d)){e=e-d|0;d=e>>31;m=B(d^d+e,100)+m|0}d=w[l+61|0];c=w[c+9|0];if((d|0)==(c|0)|!c){break s}d=d-c|0;c=d>>31;m=B(c^c+d,100)+m|0}G=v[l+80>>2];c=v[b+68>>2];if(c){A=w[c|0]}else{A=3}c=v[b+24>>2];if(c){d=v[l+48>>2];c=v[c>>2];e=c?d?0:15e3:0;m=(c?e:d?350:e)+m|0}q=v[b+4>>2];n=v[b>>2];t:{if(n){s=xw(l,n);c=v[l+116>>2];j=v[l+112>>2];if(q){if((c|0)!=(j|0)){while(1){d=0;f=w[n+11|0];k=f<<24>>24;o=v[n+4>>2];c=(k|0)<0?o:f;u:{if(!c){break u}d=w[j+11|0];h=d<<24>>24;g=v[j+4>>2];e=(h|0)<0?g:d;if(!e){d=1e4;break u}if((c|0)==(e|0)){d=0;if(!lc((k|0)<0?v[n>>2]:n,(h|0)<0?v[j>>2]:j,c)){break u}o=v[n+4>>2];f=w[n+11|0];k=f;d=w[j+11|0];h=d;g=v[j+4>>2]}i=0;c=k<<24>>24<0;p=c?v[n>>2]:n;h=h<<24>>24<0;e=h?v[j>>2]:j;f=c?o:f;q=h?g:d;h=0;d=0;while(1){if((i|0)>=(q|0)){c=d}else{c=v[e>>2];g=c-32|0;i=g>>>0>13|!(1<>>0<26?c+32|0:c}c=(i|0)==(q|0)?0:c;if((f|0)>(h|0)){d=v[p>>2];g=d-32|0;h=g>>>0>13|!(1<>>0<26?d+32|0:d}g=d;d=c;g=(f|0)==(h|0)?0:g;if((c|0)==(g|0)){continue}break}d=v[290866];if(!(g?c:0)){e=1163464;if(!d){d=1e3;break u}while(1){f=w[d+27|0];c=f<<24>>24<0;g=k&255;k=k<<24>>24<0;g=k?o:g;h=c?v[d+20>>2]:f;i=g>>>0>>0;f=i?g:h;v:{if(f){o=d+16|0;f=lc(c?v[o>>2]:o,k?v[n>>2]:n,f);if(f){break v}}f=h>>>0>>0?-1:i}e=(f|0)<0?e:d;d=v[(f>>>29&4)+d>>2];if(d){o=v[n+4>>2];k=w[n+11|0];continue}break}if((e|0)==1163464){d=1e3;break u}g=w[e+27|0];c=g<<24>>24<0;f=w[n+11|0];d=f<<24>>24<0;w:{x:{g=c?v[e+20>>2]:g;f=d?v[n+4>>2]:f;h=f>>>0>g>>>0?g:f;if(h){k=d?v[n>>2]:n;d=e+16|0;c=lc(k,c?v[d>>2]:d,h);if(c){break x}}if(f>>>0>=g>>>0){break w}d=1e3;break u}if((c|0)>=0){break w}d=1e3;break u}d=v[e+28>>2];c=v[290868];if(d>>>0>=(v[290869]-c|0)/12>>>0){break a}c=c+B(d,12)|0;f=v[c>>2];h=v[c+4>>2];if((f|0)==(h|0)){d=1e3;break u}while(1){d=w[j+11|0];e=d<<24>>24<0;i=w[f+11|0];g=i<<24>>24<0;k=g?v[f+4>>2]:i;i=e?v[j+4>>2]:d;if((k|0)==(i|0)){d=700;if(!i){break u}if(!lc(e?v[j>>2]:j,g?v[f>>2]:f,i)){break u}h=v[c+4>>2]}f=f+12|0;if((h|0)!=(f|0)){continue}break}d=1e3;break u}e=1163464;y:{if(!d){break y}while(1){f=w[d+27|0];c=f<<24>>24<0;g=k&255;k=k<<24>>24<0;g=k?o:g;h=c?v[d+20>>2]:f;i=g>>>0>>0;f=i?g:h;z:{if(f){o=d+16|0;f=lc(c?v[o>>2]:o,k?v[n>>2]:n,f);if(f){break z}}f=h>>>0>>0?-1:i}e=(f|0)<0?e:d;d=v[(f>>>29&4)+d>>2];if(d){o=v[n+4>>2];k=w[n+11|0];continue}break}if((e|0)==1163464){break y}g=w[e+27|0];c=g<<24>>24<0;f=w[n+11|0];d=f<<24>>24<0;A:{B:{g=c?v[e+20>>2]:g;f=d?v[n+4>>2]:f;h=f>>>0>g>>>0?g:f;if(h){k=d?v[n>>2]:n;d=e+16|0;c=lc(k,c?v[d>>2]:d,h);if(c){break B}}if(f>>>0>=g>>>0){break A}break y}if((c|0)<0){break y}}d=v[e+28>>2];c=v[290868];if(d>>>0>=(v[290869]-c|0)/12>>>0){break a}c=c+B(d,12)|0;f=v[c>>2];h=v[c+4>>2];if((f|0)==(h|0)){break y}while(1){d=w[j+11|0];e=d<<24>>24<0;i=w[f+11|0];g=i<<24>>24<0;k=g?v[f+4>>2]:i;i=e?v[j+4>>2]:d;if((k|0)==(i|0)){d=1e3;if(!i){break u}if(!lc(e?v[j>>2]:j,g?v[f>>2]:f,i)){break u}h=v[c+4>>2]}f=f+12|0;if((h|0)!=(f|0)){continue}break}}c=w[n+11|0];d=c<<24>>24<0?v[n+4>>2]:c;c=w[j+11|0];d=d|(c<<24>>24<0?v[j+4>>2]:c)?1e4:1500}s=(d|0)<(s|0)?d:s;j=j+12|0;if((j|0)!=v[l+116>>2]){continue}break}}h=v[b+4>>2];n=xw(l,h);j=v[l+112>>2];if((j|0)!=v[l+116>>2]){while(1){c=0;d=w[h+11|0];k=d<<24>>24;o=v[h+4>>2];e=(k|0)<0?o:d;C:{if(!e){break C}c=w[j+11|0];i=c<<24>>24;g=v[j+4>>2];f=(i|0)<0?g:c;if(!f){c=1e4;break C}if((e|0)==(f|0)){c=0;if(!lc((k|0)<0?v[h>>2]:h,(i|0)<0?v[j>>2]:j,e)){break C}o=v[h+4>>2];d=w[h+11|0];k=d;c=w[j+11|0];i=c;g=v[j+4>>2]}f=0;q=k<<24>>24<0;p=q?v[h>>2]:h;i=i<<24>>24<0;e=i?v[j>>2]:j;q=q?o:d;E=i?g:c;i=0;c=0;while(1){if((f|0)>=(E|0)){d=c}else{d=v[e>>2];g=d-32|0;f=g>>>0>13|!(1<>>0<26?d+32|0:d}d=(f|0)==(E|0)?0:d;if((i|0)<(q|0)){c=v[p>>2];g=c-32|0;i=g>>>0>13|!(1<>>0<26?c+32|0:c}g=c;c=d;g=(i|0)==(q|0)?0:g;if((c|0)==(g|0)){continue}break}c=v[290866];if(!(g?d:0)){e=1163464;if(!c){c=1e3;break C}while(1){f=w[c+27|0];d=f<<24>>24<0;g=k&255;k=k<<24>>24<0;g=k?o:g;f=d?v[c+20>>2]:f;i=g>>>0>>0;o=i?g:f;D:{if(o){p=c+16|0;d=lc(d?v[p>>2]:p,k?v[h>>2]:h,o);if(d){break D}}d=f>>>0>>0?-1:i}e=(d|0)<0?e:c;c=v[(d>>>29&4)+c>>2];if(c){o=v[h+4>>2];k=w[h+11|0];continue}break}if((e|0)==1163464){c=1e3;break C}g=w[e+27|0];c=g<<24>>24<0;f=w[h+11|0];d=f<<24>>24<0;E:{F:{g=c?v[e+20>>2]:g;f=d?v[h+4>>2]:f;i=f>>>0>g>>>0?g:f;if(i){k=d?v[h>>2]:h;d=e+16|0;c=lc(k,c?v[d>>2]:d,i);if(c){break F}}if(f>>>0>=g>>>0){break E}c=1e3;break C}if((c|0)>=0){break E}c=1e3;break C}d=v[e+28>>2];c=v[290868];if(d>>>0>=(v[290869]-c|0)/12>>>0){break a}e=c+B(d,12)|0;d=v[e>>2];i=v[e+4>>2];if((d|0)==(i|0)){c=1e3;break C}while(1){c=w[j+11|0];g=c<<24>>24<0;k=w[d+11|0];f=k<<24>>24<0;o=f?v[d+4>>2]:k;k=g?v[j+4>>2]:c;if((o|0)==(k|0)){c=700;if(!k){break C}if(!lc(g?v[j>>2]:j,f?v[d>>2]:d,k)){break C}i=v[e+4>>2]}d=d+12|0;if((i|0)!=(d|0)){continue}break}c=1e3;break C}e=1163464;G:{if(!c){break G}while(1){f=w[c+27|0];d=f<<24>>24<0;g=k&255;k=k<<24>>24<0;g=k?o:g;f=d?v[c+20>>2]:f;i=g>>>0>>0;o=i?g:f;H:{if(o){p=c+16|0;d=lc(d?v[p>>2]:p,k?v[h>>2]:h,o);if(d){break H}}d=f>>>0>>0?-1:i}e=(d|0)<0?e:c;c=v[(d>>>29&4)+c>>2];if(c){o=v[h+4>>2];k=w[h+11|0];continue}break}if((e|0)==1163464){break G}g=w[e+27|0];c=g<<24>>24<0;f=w[h+11|0];d=f<<24>>24<0;I:{J:{g=c?v[e+20>>2]:g;f=d?v[h+4>>2]:f;i=f>>>0>g>>>0?g:f;if(i){k=d?v[h>>2]:h;d=e+16|0;c=lc(k,c?v[d>>2]:d,i);if(c){break J}}if(f>>>0>=g>>>0){break I}break G}if((c|0)<0){break G}}d=v[e+28>>2];c=v[290868];if(d>>>0>=(v[290869]-c|0)/12>>>0){break a}e=c+B(d,12)|0;d=v[e>>2];i=v[e+4>>2];if((d|0)==(i|0)){break G}while(1){c=w[j+11|0];g=c<<24>>24<0;k=w[d+11|0];f=k<<24>>24<0;o=f?v[d+4>>2]:k;k=g?v[j+4>>2]:c;if((o|0)==(k|0)){c=1e3;if(!k){break C}if(!lc(g?v[j>>2]:j,f?v[d>>2]:d,k)){break C}i=v[e+4>>2]}d=d+12|0;if((i|0)!=(d|0)){continue}break}}c=w[h+11|0];d=c<<24>>24<0?v[h+4>>2]:c;c=w[j+11|0];c=d|(c<<24>>24<0?v[j+4>>2]:c)?1e4:1500}n=(c|0)<(n|0)?c:n;j=j+12|0;if((j|0)!=v[l+116>>2]){continue}break}}K:{if((n|0)>(s|0)){h=v[b>>2];s=xw(l,h);j=v[l+112>>2];if((j|0)==v[l+116>>2]){break K}while(1){c=0;d=w[h+11|0];k=d<<24>>24;o=v[h+4>>2];e=(k|0)<0?o:d;L:{if(!e){break L}c=w[j+11|0];i=c<<24>>24;g=v[j+4>>2];f=(i|0)<0?g:c;if(!f){c=1e4;break L}if((e|0)==(f|0)){c=0;if(!lc((k|0)<0?v[h>>2]:h,(i|0)<0?v[j>>2]:j,e)){break L}o=v[h+4>>2];d=w[h+11|0];k=d;c=w[j+11|0];i=c;g=v[j+4>>2]}f=0;n=k<<24>>24<0;p=n?v[h>>2]:h;i=i<<24>>24<0;e=i?v[j>>2]:j;n=n?o:d;q=i?g:c;i=0;c=0;while(1){if((f|0)>=(q|0)){d=c}else{d=v[e>>2];g=d-32|0;f=g>>>0>13|!(1<>>0<26?d+32|0:d}d=(f|0)==(q|0)?0:d;if((i|0)<(n|0)){c=v[p>>2];g=c-32|0;i=g>>>0>13|!(1<>>0<26?c+32|0:c}g=c;c=d;g=(i|0)==(n|0)?0:g;if((c|0)==(g|0)){continue}break}c=v[290866];if(!(g?d:0)){e=1163464;if(!c){c=1e3;break L}while(1){f=w[c+27|0];d=f<<24>>24<0;g=k&255;k=k<<24>>24<0;g=k?o:g;f=d?v[c+20>>2]:f;i=g>>>0>>0;n=i?g:f;M:{if(n){o=c+16|0;d=lc(d?v[o>>2]:o,k?v[h>>2]:h,n);if(d){break M}}d=f>>>0>>0?-1:i}e=(d|0)<0?e:c;c=v[(d>>>29&4)+c>>2];if(c){o=v[h+4>>2];k=w[h+11|0];continue}break}if((e|0)==1163464){c=1e3;break L}g=w[e+27|0];c=g<<24>>24<0;f=w[h+11|0];d=f<<24>>24<0;N:{O:{g=c?v[e+20>>2]:g;f=d?v[h+4>>2]:f;i=f>>>0>g>>>0?g:f;if(i){k=d?v[h>>2]:h;d=e+16|0;c=lc(k,c?v[d>>2]:d,i);if(c){break O}}if(f>>>0>=g>>>0){break N}c=1e3;break L}if((c|0)>=0){break N}c=1e3;break L}d=v[e+28>>2];c=v[290868];if(d>>>0>=(v[290869]-c|0)/12>>>0){break a}e=c+B(d,12)|0;d=v[e>>2];i=v[e+4>>2];if((d|0)==(i|0)){c=1e3;break L}while(1){c=w[j+11|0];g=c<<24>>24<0;k=w[d+11|0];f=k<<24>>24<0;n=f?v[d+4>>2]:k;k=g?v[j+4>>2]:c;if((n|0)==(k|0)){c=700;if(!k){break L}if(!lc(g?v[j>>2]:j,f?v[d>>2]:d,k)){break L}i=v[e+4>>2]}d=d+12|0;if((i|0)!=(d|0)){continue}break}c=1e3;break L}e=1163464;P:{if(!c){break P}while(1){f=w[c+27|0];d=f<<24>>24<0;g=k&255;k=k<<24>>24<0;g=k?o:g;f=d?v[c+20>>2]:f;i=g>>>0>>0;n=i?g:f;Q:{if(n){o=c+16|0;d=lc(d?v[o>>2]:o,k?v[h>>2]:h,n);if(d){break Q}}d=f>>>0>>0?-1:i}e=(d|0)<0?e:c;c=v[(d>>>29&4)+c>>2];if(c){o=v[h+4>>2];k=w[h+11|0];continue}break}if((e|0)==1163464){break P}g=w[e+27|0];c=g<<24>>24<0;f=w[h+11|0];d=f<<24>>24<0;R:{S:{g=c?v[e+20>>2]:g;f=d?v[h+4>>2]:f;i=f>>>0>g>>>0?g:f;if(i){k=d?v[h>>2]:h;d=e+16|0;c=lc(k,c?v[d>>2]:d,i);if(c){break S}}if(f>>>0>=g>>>0){break R}break P}if((c|0)<0){break P}}d=v[e+28>>2];c=v[290868];if(d>>>0>=(v[290869]-c|0)/12>>>0){break a}e=c+B(d,12)|0;d=v[e>>2];i=v[e+4>>2];if((d|0)==(i|0)){break P}while(1){c=w[j+11|0];g=c<<24>>24<0;k=w[d+11|0];f=k<<24>>24<0;n=f?v[d+4>>2]:k;k=g?v[j+4>>2]:c;if((n|0)==(k|0)){c=1e3;if(!k){break L}if(!lc(g?v[j>>2]:j,f?v[d>>2]:d,k)){break L}i=v[e+4>>2]}d=d+12|0;if((i|0)!=(d|0)){continue}break}}c=w[h+11|0];d=c<<24>>24<0?v[h+4>>2]:c;c=w[j+11|0];c=d|(c<<24>>24<0?v[j+4>>2]:c)?1e4:1500}s=(c|0)<(s|0)?c:s;j=j+12|0;if((j|0)!=v[l+116>>2]){continue}break}break K}h=v[b+4>>2];s=xw(l,h);j=v[l+112>>2];if((j|0)==v[l+116>>2]){break K}while(1){c=0;d=w[h+11|0];k=d<<24>>24;o=v[h+4>>2];e=(k|0)<0?o:d;T:{if(!e){break T}c=w[j+11|0];i=c<<24>>24;g=v[j+4>>2];f=(i|0)<0?g:c;if(!f){c=1e4;break T}if((e|0)==(f|0)){c=0;if(!lc((k|0)<0?v[h>>2]:h,(i|0)<0?v[j>>2]:j,e)){break T}o=v[h+4>>2];d=w[h+11|0];k=d;c=w[j+11|0];i=c;g=v[j+4>>2]}f=0;n=k<<24>>24<0;p=n?v[h>>2]:h;i=i<<24>>24<0;e=i?v[j>>2]:j;n=n?o:d;q=i?g:c;i=0;c=0;while(1){if((f|0)>=(q|0)){d=c}else{d=v[e>>2];g=d-32|0;f=g>>>0>13|!(1<>>0<26?d+32|0:d}d=(f|0)==(q|0)?0:d;if((i|0)<(n|0)){c=v[p>>2];g=c-32|0;i=g>>>0>13|!(1<>>0<26?c+32|0:c}g=c;c=d;g=(i|0)==(n|0)?0:g;if((c|0)==(g|0)){continue}break}c=v[290866];if(!(g?d:0)){e=1163464;if(!c){c=1e3;break T}while(1){f=w[c+27|0];d=f<<24>>24<0;g=k&255;k=k<<24>>24<0;g=k?o:g;f=d?v[c+20>>2]:f;i=g>>>0>>0;n=i?g:f;U:{if(n){o=c+16|0;d=lc(d?v[o>>2]:o,k?v[h>>2]:h,n);if(d){break U}}d=f>>>0>>0?-1:i}e=(d|0)<0?e:c;c=v[(d>>>29&4)+c>>2];if(c){o=v[h+4>>2];k=w[h+11|0];continue}break}if((e|0)==1163464){c=1e3;break T}g=w[e+27|0];c=g<<24>>24<0;f=w[h+11|0];d=f<<24>>24<0;V:{W:{g=c?v[e+20>>2]:g;f=d?v[h+4>>2]:f;i=f>>>0>g>>>0?g:f;if(i){k=d?v[h>>2]:h;d=e+16|0;c=lc(k,c?v[d>>2]:d,i);if(c){break W}}if(f>>>0>=g>>>0){break V}c=1e3;break T}if((c|0)>=0){break V}c=1e3;break T}d=v[e+28>>2];c=v[290868];if(d>>>0>=(v[290869]-c|0)/12>>>0){break a}e=c+B(d,12)|0;d=v[e>>2];i=v[e+4>>2];if((d|0)==(i|0)){c=1e3;break T}while(1){c=w[j+11|0];g=c<<24>>24<0;k=w[d+11|0];f=k<<24>>24<0;n=f?v[d+4>>2]:k;k=g?v[j+4>>2]:c;if((n|0)==(k|0)){c=700;if(!k){break T}if(!lc(g?v[j>>2]:j,f?v[d>>2]:d,k)){break T}i=v[e+4>>2]}d=d+12|0;if((i|0)!=(d|0)){continue}break}c=1e3;break T}e=1163464;X:{if(!c){break X}while(1){f=w[c+27|0];d=f<<24>>24<0;g=k&255;k=k<<24>>24<0;g=k?o:g;f=d?v[c+20>>2]:f;i=g>>>0>>0;n=i?g:f;Y:{if(n){o=c+16|0;d=lc(d?v[o>>2]:o,k?v[h>>2]:h,n);if(d){break Y}}d=f>>>0>>0?-1:i}e=(d|0)<0?e:c;c=v[(d>>>29&4)+c>>2];if(c){o=v[h+4>>2];k=w[h+11|0];continue}break}if((e|0)==1163464){break X}g=w[e+27|0];c=g<<24>>24<0;f=w[h+11|0];d=f<<24>>24<0;Z:{_:{g=c?v[e+20>>2]:g;f=d?v[h+4>>2]:f;i=f>>>0>g>>>0?g:f;if(i){k=d?v[h>>2]:h;d=e+16|0;c=lc(k,c?v[d>>2]:d,i);if(c){break _}}if(f>>>0>=g>>>0){break Z}break X}if((c|0)<0){break X}}d=v[e+28>>2];c=v[290868];if(d>>>0>=(v[290869]-c|0)/12>>>0){break a}e=c+B(d,12)|0;d=v[e>>2];i=v[e+4>>2];if((d|0)==(i|0)){break X}while(1){c=w[j+11|0];g=c<<24>>24<0;k=w[d+11|0];f=k<<24>>24<0;n=f?v[d+4>>2]:k;k=g?v[j+4>>2]:c;if((n|0)==(k|0)){c=1e3;if(!k){break T}if(!lc(g?v[j>>2]:j,f?v[d>>2]:d,k)){break T}i=v[e+4>>2]}d=d+12|0;if((i|0)!=(d|0)){continue}break}}c=w[h+11|0];d=c<<24>>24<0?v[h+4>>2]:c;c=w[j+11|0];c=d|(c<<24>>24<0?v[j+4>>2]:c)?1e4:1500}s=(c|0)<(s|0)?c:s;j=j+12|0;if((j|0)!=v[l+116>>2]){continue}break}}m=m+s|0;break t}if((c|0)!=(j|0)){while(1){d=0;f=w[n+11|0];k=f<<24>>24;o=v[n+4>>2];c=(k|0)<0?o:f;$:{if(!c){break $}d=w[j+11|0];h=d<<24>>24;g=v[j+4>>2];e=(h|0)<0?g:d;if(!e){d=1e4;break $}if((c|0)==(e|0)){d=0;if(!lc((k|0)<0?v[n>>2]:n,(h|0)<0?v[j>>2]:j,c)){break $}o=v[n+4>>2];f=w[n+11|0];k=f;d=w[j+11|0];h=d;g=v[j+4>>2]}i=0;c=k<<24>>24<0;p=c?v[n>>2]:n;h=h<<24>>24<0;e=h?v[j>>2]:j;f=c?o:f;q=h?g:d;h=0;d=0;while(1){if((i|0)>=(q|0)){c=d}else{c=v[e>>2];g=c-32|0;i=g>>>0>13|!(1<>>0<26?c+32|0:c}c=(i|0)==(q|0)?0:c;if((f|0)>(h|0)){d=v[p>>2];g=d-32|0;h=g>>>0>13|!(1<>>0<26?d+32|0:d}g=d;d=c;g=(f|0)==(h|0)?0:g;if((c|0)==(g|0)){continue}break}d=v[290866];if(!(g?c:0)){e=1163464;if(!d){d=1e3;break $}while(1){f=w[d+27|0];c=f<<24>>24<0;g=k&255;k=k<<24>>24<0;g=k?o:g;h=c?v[d+20>>2]:f;i=g>>>0>>0;f=i?g:h;aa:{if(f){o=d+16|0;f=lc(c?v[o>>2]:o,k?v[n>>2]:n,f);if(f){break aa}}f=h>>>0>>0?-1:i}e=(f|0)<0?e:d;d=v[(f>>>29&4)+d>>2];if(d){o=v[n+4>>2];k=w[n+11|0];continue}break}if((e|0)==1163464){d=1e3;break $}g=w[e+27|0];c=g<<24>>24<0;f=w[n+11|0];d=f<<24>>24<0;ba:{ca:{g=c?v[e+20>>2]:g;f=d?v[n+4>>2]:f;h=f>>>0>g>>>0?g:f;if(h){k=d?v[n>>2]:n;d=e+16|0;c=lc(k,c?v[d>>2]:d,h);if(c){break ca}}if(f>>>0>=g>>>0){break ba}d=1e3;break $}if((c|0)>=0){break ba}d=1e3;break $}d=v[e+28>>2];c=v[290868];if(d>>>0>=(v[290869]-c|0)/12>>>0){break a}c=c+B(d,12)|0;f=v[c>>2];h=v[c+4>>2];if((f|0)==(h|0)){d=1e3;break $}while(1){d=w[j+11|0];e=d<<24>>24<0;i=w[f+11|0];g=i<<24>>24<0;k=g?v[f+4>>2]:i;i=e?v[j+4>>2]:d;if((k|0)==(i|0)){d=700;if(!i){break $}if(!lc(e?v[j>>2]:j,g?v[f>>2]:f,i)){break $}h=v[c+4>>2]}f=f+12|0;if((h|0)!=(f|0)){continue}break}d=1e3;break $}e=1163464;da:{if(!d){break da}while(1){f=w[d+27|0];c=f<<24>>24<0;g=k&255;k=k<<24>>24<0;g=k?o:g;h=c?v[d+20>>2]:f;i=g>>>0>>0;f=i?g:h;ea:{if(f){o=d+16|0;f=lc(c?v[o>>2]:o,k?v[n>>2]:n,f);if(f){break ea}}f=h>>>0>>0?-1:i}e=(f|0)<0?e:d;d=v[(f>>>29&4)+d>>2];if(d){o=v[n+4>>2];k=w[n+11|0];continue}break}if((e|0)==1163464){break da}g=w[e+27|0];c=g<<24>>24<0;f=w[n+11|0];d=f<<24>>24<0;fa:{ga:{g=c?v[e+20>>2]:g;f=d?v[n+4>>2]:f;h=f>>>0>g>>>0?g:f;if(h){k=d?v[n>>2]:n;d=e+16|0;c=lc(k,c?v[d>>2]:d,h);if(c){break ga}}if(f>>>0>=g>>>0){break fa}break da}if((c|0)<0){break da}}d=v[e+28>>2];c=v[290868];if(d>>>0>=(v[290869]-c|0)/12>>>0){break a}c=c+B(d,12)|0;f=v[c>>2];h=v[c+4>>2];if((f|0)==(h|0)){break da}while(1){d=w[j+11|0];e=d<<24>>24<0;i=w[f+11|0];g=i<<24>>24<0;k=g?v[f+4>>2]:i;i=e?v[j+4>>2]:d;if((k|0)==(i|0)){d=1e3;if(!i){break $}if(!lc(e?v[j>>2]:j,g?v[f>>2]:f,i)){break $}h=v[c+4>>2]}f=f+12|0;if((h|0)!=(f|0)){continue}break}}c=w[n+11|0];d=c<<24>>24<0?v[n+4>>2]:c;c=w[j+11|0];d=d|(c<<24>>24<0?v[j+4>>2]:c)?1e4:1500}s=(d|0)<(s|0)?d:s;j=j+12|0;if((j|0)!=v[l+116>>2]){continue}break}}m=m+s|0;break t}if(!q){break t}o=xw(l,q);p=v[l+112>>2];if((p|0)!=v[l+116>>2]){while(1){d=w[q+11|0];i=d<<24>>24;h=v[q+4>>2];f=(i|0)<0?h:d;j=0;ha:{if(!f){break ha}c=w[p+11|0];e=c<<24>>24;g=v[p+4>>2];k=(e|0)<0?g:c;j=1e4;if(!k){break ha}if((f|0)==(k|0)){j=0;if(!lc((i|0)<0?v[q>>2]:q,(e|0)<0?v[p>>2]:p,f)){break ha}h=v[q+4>>2];g=v[p+4>>2];d=w[q+11|0];i=d;c=w[p+11|0];e=c}f=0;i=i<<24>>24<0;j=i?v[q>>2]:q;e=e<<24>>24<0;k=e?v[p>>2]:p;h=i?h:d;g=e?g:c;i=0;c=0;while(1){if((f|0)>=(g|0)){d=c}else{d=v[k>>2];e=d-32|0;f=e>>>0>13|!(1<>>0<26?d+32|0:d}e=(f|0)==(g|0)?0:d;if((h|0)>(i|0)){c=v[j>>2];d=c-32|0;i=d>>>0>13|!(1<>>0<26?c+32|0:c}d=c;c=e;d=(h|0)==(i|0)?0:d;if((c|0)==(d|0)){continue}break}e=LJ(p,q);j=e?700:1e3;if(!(d?c:0)){break ha}j=1e3;if(e){break ha}c=w[q+11|0];d=c<<24>>24<0?v[q+4>>2]:c;c=w[p+11|0];j=d|(c<<24>>24<0?v[p+4>>2]:c)?1e4:1500}o=(j|0)<(o|0)?j:o;p=p+12|0;if((p|0)!=v[l+116>>2]){continue}break}}m=m+o|0}c=v[b+60>>2];if(c){d=x[l+90>>1]-x[c>>1]|0;c=d>>31;m=B(c^c+d,50)+m|0}c=v[b+56>>2];if(c){d=x[l+88>>1]-x[c>>1]|0;c=d>>31;m=B((((c^c+d)&65535)>>>0)/10|0,3)+m|0}e=v[l+40>>2];d=0;g=v[l+44>>2];c=v[b+16>>2];if(c){c=v[c>>2]}else{c=0}j=((c|0)!=(e|0))+m|0;c=v[b+20>>2];if(c){c=v[c>>2]}else{c=0}i=j+(((c|0)!=(g|0))<<2)|0;c=v[b+8>>2];ia:{if(c){m=u[l+92>>1];ja:{if(t[c+11|0]>=0){v[r+8>>2]=v[c+8>>2];e=v[c+4>>2];v[r>>2]=v[c>>2];v[r+4>>2]=e;break ja}vc(r,v[c>>2],v[c+4>>2])}j=w[r+11|0];c=j<<24>>24;e=v[r+4>>2];ka:{if((((c|0)<0?e:j)|0)==3){if(!Vc(r,361320,3)){break ka}j=w[r+11|0];c=j;e=v[r+4>>2]}if(((c<<24>>24<0?e:j)|0)==7){if(!Vc(r,361336,7)){break ka}}d=50;if(m>>>0<256){break ka}j=w[r+11|0];c=j<<24>>24;la:{ma:{e=v[r+4>>2];if((((c|0)<0?e:j)|0)==5){if(!Vc(r,361368,5)){break ma}e=v[r+4>>2];j=w[r+11|0];c=j}if(((c<<24>>24<0?e:j)|0)==5){if(!Vc(r,361392,5)){break ma}j=w[r+11|0];c=j;e=v[r+4>>2]}if(((c<<24>>24<0?e:j)|0)!=6){break la}if(Vc(r,361416,6)|(m|0)<=2303){break la}break ka}if((m|0)>2303){break ka}}j=w[r+11|0];c=j<<24>>24;na:{oa:{e=v[r+4>>2];if((((c|0)<0?e:j)|0)==10){if(!Vc(r,361444,10)){break oa}j=w[r+11|0];c=j;e=v[r+4>>2]}if(((c<<24>>24<0?e:j)|0)!=6){break na}if(Vc(r,361488,6)|(m|0)>=2304){break na}break ka}if((m|0)<2304){break ka}}d=0}i=d+i|0;if(t[r+11|0]>-1){break ia}$a(v[r>>2]);break ia}d=v[b+12>>2];if(!d){break ia}c=0;e=u[d>>1];pa:{if(e>>>0<256){break pa}c=50;d=u[l+92>>1];if((d&65535)>>>0<256){break pa}e=(e|0)>2303;if(!e&(d|0)>2303){break pa}c=e?(d|0)<2304?50:0:0}i=c+i|0}if((A|0)!=3){c=1;f=1;qa:{ra:{sa:{ta:{ua:{va:{wa:{xa:{ya:{za:{Aa:{Ba:{Ca:{Da:{Ea:{Fa:{Ga:{Ha:{d=((A|0)==1?0:A)&255;switch(d-128|0){case 3:case 4:case 5:case 7:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 48:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 59:case 60:case 61:case 62:case 63:case 64:case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 91:case 92:case 93:case 95:case 96:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:case 123:case 124:case 125:case 126:break qa;case 110:break ra;case 127:break sa;case 2:break ua;case 8:break va;case 1:break wa;case 6:break xa;case 0:break ya;case 94:break za;case 35:break Aa;case 58:break Ba;case 50:break Ca;case 49:break Da;case 34:break Ea;case 33:break Fa;case 76:break Ga;default:break Ha}}if((d|0)==2){break ta}if((d|0)!=77){break qa}f=29;break ra}f=2;break ra}f=3;break ra}f=4;break ra}f=5;break ra}f=6;break ra}f=7;break ra}f=8;break ra}f=16;break ra}f=17;break ra}f=18;break ra}f=19;break ra}f=20;break ra}f=21;break ra}f=31;break ra}f=30}d=f&7;if(f-1>>>0>=7){f=f&24;while(1){c=c<<8;f=f-8|0;if(f){continue}break}}if(!d){break qa}while(1){c=c<<1;d=d-1|0;if(d){continue}break}}c=c&G?0:65e3}else{c=0}c=c+i|0;d=v[b+72>>2];if(d){d=u[d>>1];m=u[l+100>>1];Ia:{if(!m){g=4e3;if(d){break Ia}}e=m-d|0;d=e>>31;g=(d^d+e)<<2}c=g+c|0}d=v[b+76>>2];if(d){d=u[d>>1];m=u[l+102>>1];Ja:{if(!m){g=100;if(d){break Ja}}e=m-d|0;d=e>>31;g=(((d^d+e)&65535)>>>0)/10|0}c=g+c|0}d=v[b+80>>2];if(d){d=u[d>>1];m=u[l+104>>1];Ka:{if(!m){g=100;if(d){break Ka}}e=m-d|0;d=e>>31;g=(((d^d+e)&65535)>>>0)/10|0}c=g+c|0}d=v[b+84>>2];if(d){d=u[d>>1];m=u[l+106>>1];La:{if(!m){g=100;if(d){break La}}e=m-d|0;d=e>>31;g=(((d^d+e)&65535)>>>0)/10|0}c=g+c|0}d=v[b+88>>2];if(d){d=u[d>>1];m=u[l+108>>1];Ma:{if(!m){g=50;if(d){break Ma}}e=m-d|0;d=e>>31;g=(((d^d+e)&65535)>>>0)/20|0}c=g+c|0}g=l;e=v[b+92>>2];if(e){e=u[e>>1];m=u[l+110>>1];Na:{if(!m){d=50;if(e){break Na}}l=m-e|0;e=l>>31;d=(((e^e+l)&65535)>>>0)/20|0}c=d+c|0}d=(C|0)<0|(c|0)<(C|0);F=d?g:F;C=d?c:C;if(c){D=D+4|0;if((D|0)!=v[a+12>>2]){continue}}break}if(!C){break r}}if(z|!v[b>>2]){break r}g=0;e=Ma-16|0;Ma=e;c=v[b>>2];Oa:{if(t[c+11|0]>=0){v[e+8>>2]=v[c+8>>2];d=v[c+4>>2];v[e>>2]=v[c>>2];v[e+4>>2]=d;break Oa}vc(e,v[c>>2],v[c+4>>2])}c=v[e>>2];j=1;h=w[e+11|0];d=h<<24>>24;m=(d|0)<0;z=v[e+4>>2];l=m?z:h;if((l|0)>=1){c=m?c:e;h=0;if((l|0)!=1){z=l&-2;while(1){d=h<<2;m=d+c|0;A=v[m>>2];if(A-65>>>0<=25){v[m>>2]=A+32}d=c+(d|4)|0;m=v[d>>2];if(m-65>>>0<26){v[d>>2]=m+32}h=h+2|0;z=z-2|0;if(z){continue}break}}Pa:{if(!(l&1)){break Pa}c=c+(h<<2)|0;d=v[c>>2];if(d-65>>>0>25){break Pa}v[c>>2]=d+32}z=v[e+4>>2];h=w[e+11|0];d=h;c=v[e>>2]}Qa:{Ra:{Sa:{Ta:{d=d<<24>>24<0;h=d?z:h;Ua:{if((h|0)<4){break Ua}d=d?c:e;l=d+(h<<2)|0;c=d;while(1){m=h-3|0;if(!m){break Ua}c=xe(c,98,m);if(!c){break Ua}if(lc(c,423832,4)){c=c+4|0;m=l-c|0;h=m>>2;if((m|0)>=16){continue}break Ua}break}if((c|0)==(l|0)|(c-d|0)==-4){break Ua}c=w[e+11|0];d=c<<24>>24<0;c=d?v[e+4>>2]:c;d=d?v[e>>2]:e;h=0;while(1){Va:{l=(c<<2)+d|0;h=(h<<2)+d|0;c=l-h|0;if((c|0)<16){break Va}while(1){c=xe(h,98,(c>>>2|0)-3|0);if(!c){break Va}if(lc(c,423832,4)){h=c+4|0;c=l-h|0;if((c|0)>=16){continue}break Va}break}if((c|0)==(l|0)){break Va}c=c-d|0;if((c|0)==-4){break Va}h=c>>2;c=w[e+11|0];if(h>>>0>(c<<24>>24<0?v[e+4>>2]:c)>>>0){break Ta}rr(e,h,4);c=w[e+11|0];l=c<<24>>24<0;d=l?v[e>>2]:e;c=l?v[e+4>>2]:c;if(h>>>0<=c>>>0){continue}}break}j=0;g=v[b+16>>2];if(g){break Ua}c=ab(4);v[c>>2]=1;v[b+16>>2]=c;g=0}d=w[e+11|0];c=d<<24>>24<0;h=c?v[e+4>>2]:d;Wa:{Xa:{if((h|0)<6){break Xa}d=c?v[e>>2]:e;l=d+(h<<2)|0;c=d;while(1){m=h-5|0;if(!m){break Xa}c=xe(c,105,m);if(!c){break Xa}if(lc(c,423852,6)){c=c+4|0;m=l-c|0;h=m>>2;if((m|0)>=24){continue}break Xa}break}if((c|0)==(l|0)){break Xa}if((c-d|0)!=-4){break Wa}}d=w[e+11|0];c=d<<24>>24<0;h=c?v[e+4>>2]:d;if((h|0)<7){break Sa}d=c?v[e>>2]:e;l=d+(h<<2)|0;c=d;while(1){m=h-6|0;if(!m){break Sa}c=xe(c,111,m);if(!c){break Sa}if(lc(c,423880,7)){c=c+4|0;m=l-c|0;h=m>>2;if((m|0)>=28){continue}break Sa}break}if((c|0)==(l|0)|(c-d|0)==-4){break Sa}}c=w[e+11|0];d=c<<24>>24<0;c=d?v[e+4>>2]:c;d=d?v[e>>2]:e;h=0;while(1){Ya:{l=(c<<2)+d|0;h=(h<<2)+d|0;c=l-h|0;if((c|0)<24){break Ya}while(1){c=xe(h,105,(c>>>2|0)-5|0);if(!c){break Ya}if(lc(c,423852,6)){h=c+4|0;c=l-h|0;if((c|0)>=24){continue}break Ya}break}if((c|0)==(l|0)){break Ya}c=c-d|0;if((c|0)==-4){break Ya}h=c>>2;c=w[e+11|0];if(h>>>0>(c<<24>>24<0?v[e+4>>2]:c)>>>0){break Ta}rr(e,h,6);c=w[e+11|0];l=c<<24>>24<0;d=l?v[e>>2]:e;c=l?v[e+4>>2]:c;if(h>>>0<=c>>>0){continue}}break}c=-1;l=w[e+11|0];d=l<<24>>24<0;Za:{if(((d?v[e+4>>2]:l)|0)!=-1){break Za}d=d?v[e>>2]:e;h=-1;while(1){l=(c<<2)+d|0;h=(h<<2)+d|0;c=l-h|0;if((c|0)<28){break Za}while(1){c=xe(h,111,(c>>>2|0)-6|0);if(!c){break Za}if(lc(c,423880,7)){h=c+4|0;c=l-h|0;if((c|0)>=28){continue}break Za}break}if((c|0)==(l|0)){break Za}c=c-d|0;if((c|0)==-4){break Za}h=c>>2;c=w[e+11|0];if(h>>>0>(c<<24>>24<0?v[e+4>>2]:c)>>>0){break Ta}rr(e,h,7);c=w[e+11|0];l=c<<24>>24<0;d=l?v[e>>2]:e;c=l?v[e+4>>2]:c;if(h>>>0<=c>>>0){continue}break}}h=v[b+20>>2];if(h){break Ra}c=ab(4);v[c>>2]=1;v[b+20>>2]=c;h=0;break Ra}gi();L()}h=0;c=0;if(j){break Qa}}c=ab(12);v[c>>2]=v[b>>2];d=ab(12);_a:{if(t[e+11|0]>=0){l=v[e+4>>2];v[d>>2]=v[e>>2];v[d+4>>2]=l;v[d+8>>2]=v[e+8>>2];break _a}vc(d,v[e>>2],v[e+4>>2])}v[b>>2]=d;v[c+8>>2]=h;v[c+4>>2]=g}z=c;if(t[e+11|0]<=-1){$a(v[e>>2])}Ma=e+16|0;if(z){continue}break b}break}if(!z){break b}a=v[b>>2];if(a){if(t[a+11|0]<=-1){$a(v[a>>2])}$a(a)}v[b>>2]=v[z>>2];a=v[z+4>>2];d=v[b+16>>2];if((a|0)!=(d|0)){c=b;if(d){$a(d);a=v[z+4>>2]}v[c+16>>2]=a}a=v[z+8>>2];c=v[b+20>>2];if((a|0)!=(c|0)){if(c){$a(c);a=v[z+8>>2]}v[b+20>>2]=a}$a(z)}Ma=r+16|0;return F|0}gi();L()}function Gz(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,z=0,A=0,C=0,D=0,E=0;s=Ma-32|0;Ma=s;a:{if(!a){g=1;break a}g=v[a+84>>2];if(v[a+212>>2]==1?g:0){break a}z=1;b:{c:{g=v[a+172>>2];switch(g+1|0){case 0:break a;case 1:break c;default:break b}}Av(a)}if(!(d|(!b|(c|0)<1))){g=c-1|0;e=w[g+b|0];c=(e|0)==13?g:c;z=(e|0)!=13}d:{while(1){e:{f:{g:{h:{i:{j:{k:{l:{if(!b|(c|0)<1){break l}e=v[a+36>>2];if(!e){break l}g=v[e>>2];if(!g){break l}if(v[a+172>>2]==-1){break k}k=Wv(v[g+16>>2],e);e=v[a+36>>2];h=v[e+12>>2];i=v[e+16>>2];u=Wh(v[v[e>>2]+16>>2]);e=v[a+36>>2];g=0;m:{if(v[a+172>>2]){p=c;break m}p=v[e>>2];if(!p){p=c;break m}f=v[p+12>>2];if(!f){p=c;break m}p=90;n:{if(_z(v[f>>2],315602)){break n}if(_z(v[v[v[v[a+36>>2]>>2]+12>>2]>>2],315576)){break n}o:{if(_z(v[v[v[v[a+36>>2]>>2]+12>>2]>>2],317008)){break o}if(_z(v[v[v[v[a+36>>2]>>2]+12>>2]>>2],316373)){break o}p=45;break n}p=180}e=v[a+36>>2];g=v[v[e>>2]+32>>2];g=p-(g>>>0

>>0?g:0)|0;p=c>>>0>g>>>0?g:c;g=c-g|0;g=c>>>0>>0?0:g}if(($z(v[e>>2],p,b)|0)>-1){break i}v[a+212>>2]=1;g=-1;v[a+172>>2]=-1;v[a+84>>2]=-1;c=v[a+36>>2];if(!c){break a}b=v[c+40>>2];if(b){Qa[b|0](v[c+12>>2]);c=v[a+36>>2];v[c+40>>2]=0}v[c+12>>2]=349015;v[c+16>>2]=349015;break a}if(v[a+172>>2]==-1){break k}g=v[a+36>>2];if(!g){p=c;break g}e=v[g>>2];if(!e|!v[e+12>>2]){break k}k=v[e+16>>2];if(!k|!v[e+20>>2]){break k}g=Wv(k,g);k=v[a+36>>2];h=v[k+12>>2];k=v[k+16>>2];if((kA(e,d)|0)<0){break j}Vv(v[e+16>>2],v[a+36>>2],g,k-h|0)}p=c;break h}Qa[v[256654]](v[291043],340877,0);g=81;break a}c=v[a+36>>2];Vv(v[v[c>>2]+16>>2],c,k,i-h|0);e=0;if(!g){break h}A=0;c=g;break f}c=v[a+36>>2];if(!c){break g}c=v[c>>2];if(!c){break g}x=Wh(v[c+16>>2])}c=0;A=1;if(d){e=d;break f}if(x>>>0>1e7){e=d;break f}if(!u){e=d;break f}if(!x){e=d;break f}k=v[v[a+36>>2]+12>>2];if(!k){e=d;break f}h=x-u|0;if((h|0)<0){e=d;break f}p:{e=v[a+172>>2];if((e|0)==6){break p}g=v[a+292>>2];if((g|0)==2|(g|0)==5|((e|0)==8|(e|0)==9)){break p}if((g|0)==3|(e|0)==3){break p}e=d;break f}e=d;if(!ag(k+u|0,62,h)){break e}}q=e;o=Ma-240|0;Ma=o;e=v[a+36>>2];q:{if(!e){break q}if((v[e+16>>2]-v[e+12>>2]|0)>=4097){Xg(e);e=v[a+36>>2];r:{if(w[v[e+16>>2]]){break r}if((Zb(e)|0)>0){break r}while(1){e=v[a+40>>2];if((e|0)<2){break r}s:{t:{u:{if(!v[291060]){j=e-1|0;v[a+40>>2]=j;g=v[a+48>>2];break u}v[o+48>>2]=e;g=0;Qa[v[256654]](v[291043],344907,o+48|0);e=v[a+40>>2];if((e|0)<1){break s}j=e-1|0;v[a+40>>2]=j;g=v[a+48>>2];i=0;k=0;if((e|0)==1){break t}}i=v[((e<<2)+g|0)-8>>2];k=j}v[a+36>>2]=i;e=(k<<2)+g|0;g=v[e>>2];v[e>>2]=0}Vh(g);e=v[a+36>>2];if(w[v[e+16>>2]]){break r}if((Zb(e)|0)<1){continue}break}}v[a+204>>2]=0}hH(a,o+232|0,o+228|0);if(v[a+172>>2]==-1){break q}m=a;k=a;f=a;while(1){if(v[f+212>>2]==1?v[f+84>>2]:0){break q}g=v[m+36>>2];h=v[g+16>>2];v:{if(w[h|0]){break v}e=v[f+40>>2];if((e|0)<=1){break v}while(1){w:{x:{y:{if(!v[291060]){j=e-1|0;v[f+40>>2]=j;g=v[f+48>>2];break y}v[o+32>>2]=e;g=0;Qa[v[256654]](v[291043],344907,o+32|0);e=v[f+40>>2];if((e|0)<1){break w}j=e-1|0;v[f+40>>2]=j;g=v[f+48>>2];i=0;h=0;if((e|0)==1){break x}}i=v[((e<<2)+g|0)-8>>2];h=j}v[m+36>>2]=i;e=(h<<2)+g|0;g=v[e>>2];v[e>>2]=0}Vh(g);e=v[m+36>>2];z:{if(w[v[e+16>>2]]){break z}if((Zb(e)|0)>=1){break z}e=v[f+40>>2];if((e|0)>=2){continue}}g=v[m+36>>2];h=v[g+16>>2];if(w[h|0]){break v}e=v[f+40>>2];if((e|0)>1){continue}break}}e=v[g>>2];A:{if(!e){e=v[g+24>>2];break A}B:{if(!v[f+172>>2]){break B}h=v[e+20>>2];if(!h){break B}g=-1;if(!(v[h+32>>2]|!h)){e=v[h+8>>2];if(!((e|0)==v[h+24>>2]|e>>>0>2147483646)){v[h+24>>2]=e}g=v[h+20>>2];e=v[h+4>>2];if((g|0)==(e|0)|e>>>0>2147483646){e=g}else{v[h+20>>2]=e}g=!e}if(g){break B}e=v[m+36>>2];g=Wv(v[v[e>>2]+16>>2],e);e=v[m+36>>2];h=v[e+12>>2];i=v[e+16>>2];$z(v[e>>2],0,349015);e=v[m+36>>2];Vv(v[v[e>>2]+16>>2],e,g,i-h|0)}e=Wh(v[v[v[m+36>>2]>>2]+16>>2]);g=v[m+36>>2];h=v[g+16>>2]}e=e-h|0;h=v[g+12>>2];n=e+h|0;if((n|0)<1){break q}C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{V:{W:{X:{Y:{Z:{_:{$:{aa:{ba:{ca:{da:{ea:{e=v[f+172>>2];switch(e+1|0){case 0:break q;case 6:break Q;case 16:break R;case 3:break S;case 11:break T;case 12:break U;case 13:break V;case 14:break W;case 17:break X;case 4:break Y;case 15:break Z;case 5:break _;case 2:break $;case 9:break aa;case 10:break ba;case 8:break ca;case 7:break da;case 1:break ea;default:break C}}if(!v[f+256>>2]){if((n|0)<4){break q}e=v[g+16>>2];t[o+64|0]=w[e|0];t[o+65|0]=w[e+1|0];t[o+66|0]=w[e+2|0];t[o+67|0]=w[e+3|0];xq(f,zq(o- -64|0,4));e=v[f+172>>2];break C}if((n|0)<2){break q}e=v[g+16>>2];i=w[e|0];if(!i){e=v[f>>2];fa:{if(!e){break fa}e=v[e+44>>2];if(!e){break fa}Qa[e|0](v[f+4>>2],1026740)}Md(f,4,0);sl(f);e=v[f>>2];if(!e){break q}e=v[e+52>>2];if(!e){break q}Qa[e|0](v[f+4>>2]);break q}if(!((i|0)!=60|w[e+1|0]!=63)){if((n|0)<5){break q}if(!q){e=e-h|0;if((e|0)<0){break q}l=k;ga:{i=v[k+204>>2];i=(e|0)<(i|0)?i:e;j=i;n=v[g>>2];if(n){e=0;h=v[n+16>>2];if(!(!h|v[h+32>>2])){e=v[h>>2]}h=e;e=Wh(v[v[g>>2]+16>>2])}else{e=v[g+24>>2]}e=e-1|0;if((j|0)<(e|0)){while(1){j=i+1|0;if(w[h+i|0]==63&w[j+h|0]==62){break ga}i=j;if((i|0)!=(e|0)){continue}break}i=e}v[l+204>>2]=i;break q}v[k+204>>2]=0;if((v[g+12>>2]+(i-v[g+16>>2]|0)|0)<0){break q}}e=v[f>>2];ha:{if(!e){break ha}e=v[e+44>>2];if(!e){break ha}Qa[e|0](v[f+4>>2],1026740)}ia:{e=v[v[m+36>>2]+16>>2];if(w[e+2|0]!=120|w[e+3|0]!=109|w[e+4|0]!=108){break ia}e=w[e+5|0]-9|0;if(e>>>0>23|!(1<>2];v[e+52>>2]=-2;v[f+200>>2]=v[f+200>>2]+5;g=v[e+16>>2];v[e+16>>2]=g+5;v[e+32>>2]=v[e+32>>2]+5;g=w[g+5|0];if((g|0)==37){zc(f);e=v[f+36>>2];g=w[v[e+16>>2]]}ja:{if(g&255){break ja}if((Zb(e)|0)>0){break ja}xc(f)}e=w[v[v[f+36>>2]+16>>2]]-9|0;if(!(1<>>0<=23:0)){Pc(f,65,346756)}Fc(f);e=nX(f);ka:{if(!e){if(v[f+172>>2]==-1?v[f+212>>2]:0){break ka}v[f+84>>2]=96;v[i+32>>2]=247625;nb(0,0,0,f,0,1,96,3,0,0,0,0,340716,i+32|0);v[f+12>>2]=0;if(v[f+288>>2]){break ka}v[f+212>>2]=1;break ka}la:{if(Ef(e,326168)){break la}if(w[f+362|0]&2){He(f,108,346659,e);break la}if(!(w[e|0]!=49|w[e+1|0]!=46)){rm(f,97,346659,e);break la}He(f,108,346659,e)}g=v[f+20>>2];if(g){Qa[v[256556]](g)}v[f+20>>2]=e}e=v[f+36>>2];g=v[e+16>>2];h=w[g|0];j=h-9|0;ma:{if(!(1<>>0<=23:0)){if(!((h|0)!=63|w[g+1|0]!=62)){v[f+200>>2]=v[f+200>>2]+2;v[e+16>>2]=g+2;v[e+32>>2]=v[e+32>>2]+2;g=w[g+2|0];if((g|0)==37){zc(f);e=v[f+36>>2];g=w[v[e+16>>2]]}if(g&255){break ma}if((Zb(e)|0)>0){break ma}xc(f);break ma}Pc(f,65,342922)}mX(f);if(v[f+84>>2]==32|v[f+172>>2]==-1){break ma}e=v[f+36>>2];na:{if(!v[e+44>>2]){break na}g=v[e+16>>2];h=w[g|0];j=h-9|0;if(1<>>0<=23:0){break na}if(!((h|0)!=63|w[g+1|0]!=62)){v[f+200>>2]=v[f+200>>2]+2;v[e+16>>2]=g+2;v[e+32>>2]=v[e+32>>2]+2;g=w[g+2|0];if((g|0)==37){zc(f);e=v[f+36>>2];g=w[v[e+16>>2]]}if(g&255){break ma}if((Zb(e)|0)>0){break ma}xc(f);break ma}Pc(f,65,342922)}oa:{if(v[f+292>>2]){break oa}e=v[f+36>>2];if((v[e+20>>2]-v[e+16>>2]|0)>249){break oa}oc(f)}Fc(f);Fc(f);pa:{qa:{e=v[f+36>>2];g=v[e+16>>2];ra:{if(w[g|0]!=115|w[g+1|0]!=116|(w[g+2|0]!=97|w[g+3|0]!=110)){break ra}if(w[g+4|0]!=100|w[g+5|0]!=97|(w[g+6|0]!=108|w[g+7|0]!=111)){break ra}if(w[g+8|0]!=110|w[g+9|0]!=101){break ra}v[f+200>>2]=v[f+200>>2]+10;v[e+16>>2]=g+10;v[e+32>>2]=v[e+32>>2]+10;g=w[g+10|0];if((g|0)==37){zc(f);e=v[f+36>>2];g=w[v[e+16>>2]]}sa:{if(g&255){break sa}if((Zb(e)|0)>0){break sa}xc(f)}Fc(f);if(w[v[v[f+36>>2]+16>>2]]!=61){Md(f,75,0);g=-2;break pa}Bc(f);Fc(f);ta:{switch(w[v[v[f+36>>2]+16>>2]]-34|0){case 5:Bc(f);ua:{va:{wa:{xa:{e=v[f+36>>2];h=v[e+16>>2];switch(w[h|0]-110|0){case 11:break wa;case 0:break xa;default:break va}}if(w[h+1|0]!=111){break va}v[f+200>>2]=v[f+200>>2]+2;v[e+16>>2]=h+2;v[e+32>>2]=v[e+32>>2]+2;g=0;h=w[h+2|0];if((h|0)==37){zc(f);e=v[f+36>>2];h=w[v[e+16>>2]]}if(h){break ua}if((Zb(e)|0)>0){break ua}xc(f);break ua}if(w[h+1|0]!=101|w[h+2|0]!=115){break va}v[f+200>>2]=v[f+200>>2]+3;v[e+16>>2]=h+3;v[e+32>>2]=v[e+32>>2]+3;g=1;h=w[h+3|0];if((h|0)==37){zc(f);e=v[f+36>>2];h=w[v[e+16>>2]]}if(h){break ua}if((Zb(e)|0)>0){break ua}xc(f);break ua}Md(f,78,0);g=-2}if(w[v[v[f+36>>2]+16>>2]]!=39){break qa}Bc(f);break pa;case 0:Bc(f);ya:{za:{Aa:{Ba:{e=v[f+36>>2];h=v[e+16>>2];switch(w[h|0]-110|0){case 11:break Aa;case 0:break Ba;default:break za}}if(w[h+1|0]!=111){break za}v[f+200>>2]=v[f+200>>2]+2;v[e+16>>2]=h+2;v[e+32>>2]=v[e+32>>2]+2;g=0;h=w[h+2|0];if((h|0)==37){zc(f);e=v[f+36>>2];h=w[v[e+16>>2]]}if(h){break ya}if((Zb(e)|0)>0){break ya}xc(f);break ya}if(w[h+1|0]!=101|w[h+2|0]!=115){break za}v[f+200>>2]=v[f+200>>2]+3;v[e+16>>2]=h+3;v[e+32>>2]=v[e+32>>2]+3;g=1;h=w[h+3|0];if((h|0)==37){zc(f);e=v[f+36>>2];h=w[v[e+16>>2]]}if(h){break ya}if((Zb(e)|0)>0){break ya}xc(f);break ya}Md(f,78,0);g=-2}if(w[v[v[f+36>>2]+16>>2]]!=34){break qa}Bc(f);break pa;default:break ta}}Md(f,33,0)}g=-2;break pa}Md(f,34,0)}v[v[f+36>>2]+52>>2]=g;Fc(f);Ca:{Da:{Ea:{Fa:{e=v[f+36>>2];g=v[e+16>>2];switch(w[g|0]-62|0){case 0:break Ea;case 1:break Fa;default:break Da}}if(w[g+1|0]!=62){break Da}v[f+200>>2]=v[f+200>>2]+2;v[e+16>>2]=g+2;v[e+32>>2]=v[e+32>>2]+2;g=w[g+2|0];if((g|0)==37){zc(f);e=v[f+36>>2];g=w[v[e+16>>2]]}if(g&255){break ma}if((Zb(e)|0)>0){break ma}xc(f);break ma}if(v[f+172>>2]==-1?v[f+212>>2]:0){break Ca}v[f+84>>2]=57;v[i+16>>2]=289273;nb(0,0,0,f,0,1,57,3,0,0,0,0,340716,i+16|0);v[f+12>>2]=0;if(v[f+288>>2]){break Ca}v[f+212>>2]=1;break Ca}Ga:{if(v[f+172>>2]==-1?v[f+212>>2]:0){break Ga}v[f+84>>2]=57;v[i>>2]=289273;nb(0,0,0,f,0,1,57,3,0,0,0,0,340716,i);v[f+12>>2]=0;if(v[f+288>>2]){break Ga}v[f+212>>2]=1}g=v[f+36>>2];e=v[g+16>>2];while(1){h=w[e|0];if(!h|(h|0)==62){break Ca}e=e+1|0;v[g+16>>2]=e;continue}}Bc(f)}Ma=i+48|0;if(v[f+84>>2]==32){sl(f);break q}e=v[f+36>>2];v[f+28>>2]=v[e+52>>2];Ha:{if(v[f+24>>2]){break Ha}e=v[e+44>>2];if(!e){break Ha}D=f,E=Sd(e),v[D+24>>2]=E}e=v[f>>2];if(!e){break D}e=v[e+48>>2];if(v[f+212>>2]|!e){break D}Qa[e|0](v[f+4>>2]);break D}D=f,E=sH(),v[D+20>>2]=E;e=v[f>>2];if(!e){break D}e=v[e+48>>2];if(v[f+212>>2]|!e){break D}Qa[e|0](v[f+4>>2]);break D}e=v[f>>2];Ia:{if(!e){break Ia}e=v[e+44>>2];if(!e){break Ia}Qa[e|0](v[f+4>>2],1026740)}e=sH();v[f+20>>2]=e;if(!e){Yc(f,0);e=v[f+172>>2];break C}e=v[f>>2];if(!e){break D}e=v[e+48>>2];if(v[f+212>>2]|!e){break D}Qa[e|0](v[f+4>>2]);break D}v[o+64>>2]=0;v[o+224>>2]=0;i=v[f+328>>2];if(v[f+40>>2]==1&(n|0)<=1){break q}e=v[g+16>>2];if(w[e|0]!=60){v[f+84>>2]=4;v[o>>2]=217707;nb(0,0,0,f,0,1,4,3,0,0,0,0,340716,o);v[f+212>>2]=1;v[f+172>>2]=-1;v[f+12>>2]=0;e=v[f+36>>2];if(e){g=v[e+40>>2];if(g){Qa[g|0](v[e+12>>2]);e=v[m+36>>2];v[e+40>>2]=0}v[e+12>>2]=349015;v[e+16>>2]=349015}e=v[f>>2];if(!e){break q}e=v[e+52>>2];if(!e){break q}break E}Ja:{if(q){break Ja}if(v[m+292>>2]){if(e>>>0>2]){break Ja}break q}if((zo(f,62,0,0)|0)<0){break q}}e=v[f+236>>2];Ka:{if(!e){e=v[f+240>>2];La:{if((e|0)>=1){e=v[f+244>>2];g=0;break La}v[f+240>>2]=e<<1;e=Qa[v[256557]](v[f+244>>2],e<<3)|0;if(!e){Yc(f,0);v[f+240>>2]=v[f+240>>2]/2;break Ka}v[f+244>>2]=e;g=v[f+236>>2]}v[(g<<2)+e>>2]=-1;g=v[f+236>>2];v[f+236>>2]=g+1;v[f+232>>2]=(g<<2)+e;break Ka}g=v[f+240>>2];h=v[v[f+232>>2]>>2];if((h|0)==-2){Ma:{if((e|0)<(g|0)){g=v[f+244>>2];break Ma}v[f+240>>2]=g<<1;g=Qa[v[256557]](v[f+244>>2],g<<3)|0;if(!g){Yc(f,0);v[f+240>>2]=v[f+240>>2]/2;break Ka}v[f+244>>2]=g;e=v[f+236>>2]}v[(e<<2)+g>>2]=-1;e=v[f+236>>2];v[f+236>>2]=e+1;v[f+232>>2]=(e<<2)+g;break Ka}Na:{if((e|0)<(g|0)){g=v[f+244>>2];break Na}v[f+240>>2]=g<<1;g=Qa[v[256557]](v[f+244>>2],g<<3)|0;if(!g){Yc(f,0);v[f+240>>2]=v[f+240>>2]/2;break Ka}v[f+244>>2]=g;e=v[f+236>>2]}v[(e<<2)+g>>2]=h;e=v[f+236>>2];v[f+236>>2]=e+1;v[f+232>>2]=(e<<2)+g}Oa:{if(v[f+324>>2]){e=YW(f,o- -64|0,o+224|0,o+236|0);break Oa}e=$W(f)}if(v[f+172>>2]==-1){break q}if(!e){e=v[f+236>>2];if((e|0)>=1){g=e-1|0;v[f+236>>2]=g;h=((e|0)==1?0:e-2|0)<<2;e=v[f+244>>2];v[f+232>>2]=h+e;v[e+(g<<2)>>2]=-1}sl(f);e=v[f>>2];if(!e){break q}e=v[e+52>>2];if(e){break E}break q}Pa:{Qa:{Ra:{h=v[m+36>>2];g=v[h+16>>2];j=w[g|0]-47|0;if(j){if((j|0)==15){break Ra}else{break Qa}}if(w[g+1|0]!=62){break Qa}v[f+200>>2]=v[f+200>>2]+2;v[h+16>>2]=g+2;v[h+32>>2]=v[h+32>>2]+2;g=w[g+2|0];if((g|0)==37){zc(f);h=v[f+36>>2];g=w[v[h+16>>2]]}Sa:{if(g&255){break Sa}if((Zb(h)|0)>0){break Sa}xc(f)}g=v[f>>2];Ta:{if(v[f+324>>2]){Ua:{if(!g){break Ua}g=v[g+120>>2];if(v[f+212>>2]|!g){break Ua}Qa[g|0](v[f+4>>2],e,v[o+64>>2],v[o+224>>2])}e=v[f+328>>2]-i|0;if((e|0)<1){break Ta}XW(f,e);break Ta}if(!g){break Ta}g=v[g+60>>2];if(v[f+212>>2]|!g){break Ta}Qa[g|0](v[f+4>>2],e)}if(v[f+172>>2]==-1){break q}e=v[f+236>>2];if((e|0)>=1){g=e-1|0;v[f+236>>2]=g;h=((e|0)==1?0:e-2|0)<<2;e=v[f+244>>2];v[f+232>>2]=h+e;v[e+(g<<2)>>2]=-1}e=v[f+188>>2]?7:14;break F}Bc(f);break Pa}He(f,73,340283,e);Nz(f);g=v[f+236>>2];if((g|0)<1){break Pa}h=g-1|0;v[f+236>>2]=h;j=((g|0)==1?0:g-2|0)<<2;g=v[f+244>>2];v[f+232>>2]=j+g;v[g+(h<<2)>>2]=-1}Va:{if(v[f+324>>2]){j=v[o+64>>2];l=v[o+224>>2];i=v[f+328>>2]-i|0;Wa:{g=v[f+188>>2];h=v[f+192>>2];if((g|0)>=(h|0)){v[f+192>>2]=h<<1;g=Qa[v[256557]](v[f+196>>2],h<<3)|0;if(!g){break Wa}v[f+196>>2]=g;g=Qa[v[256557]](v[f+344>>2],B(v[f+192>>2],12))|0;if(!g){break Wa}v[f+344>>2]=g;g=v[f+188>>2]}v[v[f+196>>2]+(g<<2)>>2]=e;v[f+184>>2]=e;e=B(g,12);v[e+v[f+344>>2]>>2]=j;v[(e+v[f+344>>2]|0)+4>>2]=l;v[(e+v[f+344>>2]|0)+8>>2]=i;v[f+188>>2]=g+1;break Va}v[f+192>>2]=v[f+192>>2]/2;Yc(f,0);break Va}if(f){Xa:{Ya:{g=v[f+188>>2];h=v[f+192>>2];Za:{if((g|0)<(h|0)){h=v[f+196>>2];break Za}h=Qa[v[256557]](v[f+196>>2],h<<3)|0;if(!h){break Ya}v[f+196>>2]=h;v[f+192>>2]=v[f+192>>2]<<1;g=v[f+188>>2]}v[(g<<2)+h>>2]=e;v[f+188>>2]=g+1;v[f+184>>2]=e;break Xa}Yc(f,0)}}}e=7;break F}if(v[f+40>>2]==1&(n|0)<=1){break q}j=v[g+36>>2];e=v[g+16>>2];h=w[e+1|0];l=w[e|0];i=(l|0)!=60;if(!(i|(h|0)!=47)){e=9;v[f+172>>2]=9;break C}if(!((h|0)!=63|i)){_a:{if(q){break _a}if((zo(f,63,62,0)|0)>-1){break _a}v[m+292>>2]=2;break q}Hs(f);break I}if(!i&(h|0)!=33){break J}$a:{ab:{if(!((h|0)!=33|i)){if(!(w[e+2|0]!=45|w[e+3|0]!=45)){if((n|0)<4){break q}v[g+16>>2]=e+4;g=zo(f,45,45,62);h=v[f+36>>2];v[h+16>>2]=v[h+16>>2]-4;if(!((g|0)>-1|q)){v[m+292>>2]=5;break q}Is(f);break I}if(w[e+2|0]!=91|w[e+3|0]!=67|(w[e+4|0]!=68|w[e+5|0]!=65)){break ab}if(w[e+6|0]!=84|w[e+7|0]!=65|w[e+8|0]!=91){break ab}v[f+200>>2]=v[f+200>>2]+9;v[g+16>>2]=e+9;v[g+32>>2]=v[g+32>>2]+9;e=w[e+9|0];if((e|0)==37){zc(f);g=v[f+36>>2];e=w[v[g+16>>2]]}bb:{if(e&255){break bb}if((Zb(g)|0)>0){break bb}xc(f)}e=8;v[f+172>>2]=8;break C}if((l|0)!=38){break $a}if(!q){if((zo(f,59,0,0)|0)<0){break q}}dX(f);break H}if((n|0)<9){break q}}cb:{if(q|(v[f+40>>2]!=1|(n|0)>299)){break cb}if(v[m+292>>2]){if(e>>>0<=y[o+232>>2]){break cb}break q}if((zo(f,60,0,0)|0)<0){break q}}v[f+204>>2]=0;gX(f);break H}if((n|0)<2){break q}db:{if(q){break db}if(v[m+292>>2]){e=v[o+228>>2];if(!e){break q}if(e>>>0>y[g+16>>2]){break db}break q}e=v[g+16>>2]-h|0;if((e|0)<0){break q}eb:{j=k;i=v[j+204>>2];e=(e|0)<(i|0)?i:e;l=e;i=v[g>>2];if(i){h=0;i=v[i+16>>2];if(!(!i|v[i+32>>2])){h=v[i>>2]}i=Wh(v[v[g>>2]+16>>2])}else{i=v[g+24>>2]}if((l|0)<(i|0)){while(1){if(w[e+h|0]==62){break eb}e=e+1|0;if((i|0)!=(e|0)){continue}break}e=i}v[j+204>>2]=e;break q}v[k+204>>2]=0;if((v[g+12>>2]+(e-v[g+16>>2]|0)|0)<0){break q}}fb:{if(v[f+324>>2]){e=v[f+344>>2]+B(v[f+188>>2],12)|0;WW(f,v[e-12>>2],v[e-8>>2],0,v[e-4>>2],0);g=v[f+188>>2];if((g|0)<1){break fb}i=g-1|0;v[f+188>>2]=i;h=v[f+196>>2];v[f+184>>2]=(g|0)!=1?v[(h+(g<<2)|0)-8>>2]:0;v[h+(i<<2)>>2]=0;break fb}_W(f,0)}if(v[f+172>>2]==-1){break q}if(v[f+188>>2]){break P}e=14;v[f+172>>2]=14;break C}gb:{hb:{ib:{e=v[g+16>>2]-h|0;jb:{if((e|0)<0){break jb}l=k;kb:{i=v[k+204>>2];e=(e|0)<(i|0)?i:e;j=e;i=v[g>>2];if(i){h=0;i=v[i+16>>2];if(!(!i|v[i+32>>2])){h=v[i>>2]}i=Wh(v[v[g>>2]+16>>2])}else{i=v[g+24>>2]}i=i-2|0;if((j|0)<(i|0)){while(1){j=e;r=e+h|0;e=e+1|0;if(!(w[r|0]!=93|w[h+e|0]!=93)&w[r+2|0]==62){break kb}if((e|0)!=(i|0)){continue}break}e=i}v[l+204>>2]=e;break jb}v[k+204>>2]=0;e=v[g+12>>2]+(j-v[g+16>>2]|0)|0;if((e|0)>-1){break ib}}if((n|0)<302){break q}g=v[m+36>>2];e=v[g+16>>2];j=TW(e,300,0);if((j|0)<=-1){e=e-j|0;v[g+16>>2]=e;break hb}g=v[f>>2];lb:{if(v[f+212>>2]|!g){break lb}h=v[g+100>>2];if(!h){h=v[g+68>>2];if(!h){break lb}}Qa[h|0](v[f+4>>2],e,j)}if(v[f+172>>2]==-1){break q}g=0;e=v[m+36>>2];mb:{if((j|0)<=0){h=v[e+16>>2];break mb}h=v[e+16>>2];while(1){i=e;nb:{if(w[h|0]==10){v[e+28>>2]=v[e+28>>2]+1;l=1;break nb}l=v[e+32>>2]+1|0}v[i+32>>2]=l;v[f+200>>2]=v[f+200>>2]+1;h=h+1|0;v[e+16>>2]=h;g=g+1|0;if((j|0)!=(g|0)){continue}break}}g=w[h|0];if((g|0)==37){zc(f);e=v[f+36>>2];g=w[v[e+16>>2]]}ob:{if(g&255){break ob}if((Zb(e)|0)>0){break ob}xc(f)}v[k+204>>2]=0;break q}i=v[m+36>>2];g=v[i+16>>2];h=TW(g,e,1);if((h|0)>=0&(e|0)==(h|0)){break gb}e=g-h|0;v[i+16>>2]=e}g=w[e|0];k=w[e+1|0];h=w[e+2|0];v[o+28>>2]=w[e+3|0];v[o+24>>2]=h;v[o+20>>2]=k;v[o+16>>2]=g;e=o- -64|0;_i(e,149,345390,o+16|0);Yj(f,9,237149,e);break q}h=v[f>>2];pb:{if(!(e|!h)){h=v[h+100>>2];if(v[f+212>>2]|!h|(g-v[i+12>>2]|0)<9){break pb}if(Kb(g-9|0,308350,9)){break pb}Qa[h|0](v[f+4>>2],349015,0);break pb}if(v[f+212>>2]|(!h|(e|0)<1)){break pb}i=v[h+100>>2];if(i){Qa[i|0](v[f+4>>2],g,e);break pb}h=v[h+68>>2];if(!h){break pb}Qa[h|0](v[f+4>>2],g,e)}if(v[f+172>>2]==-1){break q}h=0;e=e+2|0;l=(e|0)>0?e:0;e=v[m+36>>2];g=v[e+16>>2];while(1){i=e;qb:{if(w[g|0]==10){v[e+28>>2]=v[e+28>>2]+1;j=1;break qb}j=v[e+32>>2]+1|0}v[i+32>>2]=j;v[f+200>>2]=v[f+200>>2]+1;g=g+1|0;v[e+16>>2]=g;i=(h|0)!=(l|0);h=h+1|0;if(i){continue}break}g=w[g|0];if((g|0)==37){zc(f);e=v[f+36>>2];g=w[v[e+16>>2]]}rb:{if(g&255){break rb}if((Zb(e)|0)>0){break rb}xc(f)}v[k+204>>2]=0;break P}Fc(f);i=v[f+36>>2];e=v[i>>2];sb:{if(!e){g=v[i+24>>2];break sb}g=Wh(v[e+16>>2]);i=v[m+36>>2]}h=v[i+12>>2];e=v[i+16>>2];j=h+(g-e|0)|0;if((j|0)<2){break q}l=w[e|0]!=60;g=w[e+1|0];if(!(l|(g|0)!=63)){tb:{if(q){break tb}e=e-h|0;ub:{if((e|0)<0){break ub}l=k;vb:{g=v[k+204>>2];g=(e|0)<(g|0)?g:e;j=g;n=v[i>>2];if(n){e=0;h=v[n+16>>2];if(!(!h|v[h+32>>2])){e=v[h>>2]}h=e;e=Wh(v[v[i>>2]+16>>2])}else{e=v[i+24>>2]}e=e-1|0;if((j|0)<(e|0)){while(1){j=g+1|0;if(w[g+h|0]==63&w[j+h|0]==62){break vb}g=j;if((g|0)!=(e|0)){continue}break}g=e}v[l+204>>2]=g;break ub}v[k+204>>2]=0;if((v[i+12>>2]+(g-v[i+16>>2]|0)|0)>-1){break tb}}v[m+292>>2]=2;break q}Hs(f);if(v[f+172>>2]==-1){break q}break L}if(!((g|0)!=33|l)){wb:{g=w[e+2|0];if((g|0)!=68){if((g|0)!=45|w[e+3|0]!=45){break wb}xb:{if(q){break xb}if((zo(f,45,45,62)|0)>-1){break xb}v[m+292>>2]=5;break q}Is(f);if(v[f+172>>2]!=-1){break L}break q}if(w[e+3|0]!=79|w[e+4|0]!=67|(w[e+5|0]!=84|w[e+6|0]!=89)){break wb}if(w[e+7|0]!=80|w[e+8|0]!=69){break wb}yb:{if(q){break yb}if((zo(f,62,0,0)|0)>-1){break yb}v[m+292>>2]=3;break q}v[f+292>>2]=0;v[f+216>>2]=1;v[f+204>>2]=0;h=Ma-16|0;Ma=h;v[h+12>>2]=0;v[f+200>>2]=v[f+200>>2]+9;g=v[f+36>>2];v[g+32>>2]=v[g+32>>2]+9;e=v[g+16>>2];v[g+16>>2]=e+9;e=w[e+9|0];if((e|0)==37){zc(f);g=v[f+36>>2];e=w[v[g+16>>2]]}zb:{if(e){break zb}if((Zb(g)|0)>0){break zb}xc(f)}Fc(f);e=kh(f);if(!e){Pc(f,68,347987)}v[f+220>>2]=e;Fc(f);g=Kz(f,h+12|0,1);i=v[h+12>>2];if(g|i){v[f+88>>2]=1}v[f+228>>2]=i;v[f+224>>2]=g;Fc(f);j=v[f>>2];Ab:{if(!j){break Ab}j=v[j>>2];if(v[f+212>>2]|!j){break Ab}Qa[j|0](v[f+4>>2],e,i,g)}Bb:{if(v[f+172>>2]==-1){break Bb}e=w[v[v[f+36>>2]+16>>2]];Cb:{if((e|0)==62){break Cb}if((e|0)==91){break Bb}v[f+84>>2]=61;v[h>>2]=289584;nb(0,0,0,f,0,1,61,3,0,0,0,0,340716,h);v[f+12>>2]=0;if(v[f+288>>2]){break Cb}v[f+212>>2]=1}Bc(f)}Ma=h+16|0;if(v[f+172>>2]==-1){break q}if(w[v[v[m+36>>2]+16>>2]]==91){break M}v[f+216>>2]=2;e=v[f>>2];Db:{if(v[f+212>>2]|!e){break Db}e=v[e+104>>2];if(!e){break Db}Qa[e|0](v[f+4>>2],v[f+220>>2],v[f+228>>2],v[f+224>>2])}v[f+216>>2]=0;UW(f);e=4;v[f+172>>2]=4;break C}if((j|0)<9){break q}}v[f+292>>2]=6;v[f+172>>2]=6;hH(f,o+232|0,o+228|0);e=v[f+172>>2];break C}Fc(f);i=v[f+36>>2];e=v[i>>2];Eb:{if(!e){g=v[i+24>>2];break Eb}g=Wh(v[e+16>>2]);i=v[m+36>>2]}h=v[i+12>>2];e=v[i+16>>2];j=h+(g-e|0)|0;if((j|0)<2){break q}l=w[e|0]!=60;g=w[e+1|0];if(!(l|(g|0)!=63)){Fb:{if(q){break Fb}e=e-h|0;Gb:{if((e|0)<0){break Gb}l=k;Hb:{g=v[k+204>>2];g=(e|0)<(g|0)?g:e;j=g;n=v[i>>2];if(n){e=0;h=v[n+16>>2];if(!(!h|v[h+32>>2])){e=v[h>>2]}h=e;e=Wh(v[v[i>>2]+16>>2])}else{e=v[i+24>>2]}e=e-1|0;if((j|0)<(e|0)){while(1){j=g+1|0;if(w[g+h|0]==63&w[j+h|0]==62){break Hb}g=j;if((g|0)!=(e|0)){continue}break}g=e}v[l+204>>2]=g;break Gb}v[k+204>>2]=0;if((v[i+12>>2]+(g-v[i+16>>2]|0)|0)>-1){break Fb}}v[m+292>>2]=2;break q}Hs(f);if(v[f+172>>2]==-1){break q}break N}if(!((g|0)!=33|l)){if(!(w[e+2|0]!=45|w[e+3|0]!=45)){Ib:{if(q){break Ib}if((zo(f,45,45,62)|0)>-1){break Ib}v[m+292>>2]=5;break q}Is(f);if(v[f+172>>2]!=-1){break N}break q}if((j|0)<4){break q}}v[f+172>>2]=6;if(!v[m+292>>2]){v[m+292>>2]=6}hH(f,o+232|0,o+228|0);break G}Fc(f);j=v[f+36>>2];e=v[j>>2];Jb:{if(!e){g=v[j+24>>2];break Jb}g=Wh(v[e+16>>2]);j=v[m+36>>2]}e=v[j+16>>2];h=g-e|0;g=v[j+12>>2];i=h+g|0;if((i|0)<2){break q}l=w[e|0]!=60;h=w[e+1|0];if(!(l|(h|0)!=63)){Kb:{if(q){break Kb}e=e-g|0;Lb:{if((e|0)<0){break Lb}l=k;Mb:{h=v[k+204>>2];h=(e|0)<(h|0)?h:e;i=h;n=v[j>>2];if(n){e=0;g=v[n+16>>2];if(!(!g|v[g+32>>2])){e=v[g>>2]}g=e;e=Wh(v[v[j>>2]+16>>2])}else{e=v[j+24>>2]}e=e-1|0;if((i|0)<(e|0)){while(1){i=h+1|0;if(w[g+h|0]==63&w[i+g|0]==62){break Mb}h=i;if((h|0)!=(e|0)){continue}break}h=e}v[l+204>>2]=h;break Lb}v[k+204>>2]=0;if((v[j+12>>2]+(h-v[j+16>>2]|0)|0)>-1){break Kb}}v[m+292>>2]=2;break q}Hs(f);if(v[f+172>>2]==-1){break q}break O}if(!((h|0)!=33|l)){if(!(w[e+2|0]!=45|w[e+3|0]!=45)){Nb:{if(q){break Nb}e=e-g|0;Ob:{if((e|0)<0){break Ob}l=k;Pb:{h=v[k+204>>2];e=(e|0)<(h|0)?h:e;i=e;h=v[j>>2];if(h){g=0;h=v[h+16>>2];if(!(!h|v[h+32>>2])){g=v[h>>2]}h=Wh(v[v[j>>2]+16>>2])}else{h=v[j+24>>2]}h=h-2|0;if((i|0)<(h|0)){while(1){i=e;n=e+g|0;e=e+1|0;if(!(w[n|0]!=45|w[g+e|0]!=45)&w[n+2|0]==62){break Pb}if((e|0)!=(h|0)){continue}break}e=h}v[l+204>>2]=e;break Ob}v[k+204>>2]=0;if((v[j+12>>2]+(i-v[j+16>>2]|0)|0)>-1){break Nb}}v[m+292>>2]=5;break q}Is(f);if(v[f+172>>2]!=-1){break O}break q}if((i|0)<4){break q}}Md(f,5,0);sl(f);e=v[f>>2];if(!e){break q}e=v[e+52>>2];if(!e){break q}Qa[e|0](v[f+4>>2]);break q}e=v[g+16>>2]-h|0;if((e|0)<0){break q}h=v[k+204>>2];i=0;g=v[v[g>>2]+16>>2];if(!(!g|v[g+32>>2])){i=v[g>>2]}j=i;g=0;l=k;e=(e|0)<(h|0)?h:e;n=Wh(v[v[v[m+36>>2]>>2]+16>>2]);Qb:{Rb:{if(e>>>0>=n>>>0){break Rb}while(1){h=g;i=e+j|0;g=w[i|0];Sb:{r=h&255;if(r){g=(g|0)==(r|0)?0:h;break Sb}Tb:{Ub:{Vb:{if(!((g|0)!=60|n>>>0<=e+4>>>0)){if(w[i+1|0]!=33|w[i+2|0]!=45){break Vb}g=e+3|0;if(w[g+j|0]!=45){break Vb}h=60;if(g>>>0>=n>>>0){break Rb}while(1){Wb:{g=e+1|0;if((h&255)!=45|w[g+j|0]!=45){break Wb}h=e+2|0;if(w[h+j|0]!=62){break Wb}g=0;e=h;break Sb}if(n>>>0<=e+4>>>0){break Ub}h=w[g+j|0];e=g;continue}}Xb:{switch(g-34|0){case 5:g=39;break Sb;case 0:break Sb;case 1:case 2:case 3:case 4:break Vb;default:break Xb}}if((g|0)==93){break Tb}}g=0;break Sb}e=n-3|0;break Rb}h=e+1|0;if(h>>>0>=n>>>0){break Rb}g=0;i=w[h+j|0];if((i|0)==93){e=h;break Sb}r=n-e|0;h=1;while(1){C=i-9|0;if(!(C>>>0>23|!(1<>2]=0;l=Ma-48|0;Ma=l;e=w[v[v[f+36>>2]+16>>2]];Yb:{if((e|0)!=91){break Yb}v[f+172>>2]=3;Bc(f);g=v[f+36>>2];j=v[g+16>>2];Zb:{if(w[j|0]==93){break Zb}while(1){if(v[f+172>>2]==-1){break Zb}r=v[g+36>>2];Fc(f);lH(f);Jz(f);g=v[f+36>>2];i=v[g+16>>2];_b:{if(w[i|0]){break _b}e=v[f+40>>2];if((e|0)<=1){break _b}while(1){$b:{ac:{bc:{if(!v[291060]){i=e-1|0;v[f+40>>2]=i;g=v[f+48>>2];break bc}v[l+32>>2]=e;g=0;Qa[v[256654]](v[291043],344907,l+32|0);e=v[f+40>>2];if((e|0)<1){break $b}i=e-1|0;v[f+40>>2]=i;g=v[f+48>>2];n=0;h=0;if((e|0)==1){break ac}}n=v[((e<<2)+g|0)-8>>2];h=i}v[f+36>>2]=n;e=(h<<2)+g|0;g=v[e>>2];v[e>>2]=0}Vh(g);e=v[f+36>>2];cc:{if(w[v[e+16>>2]]){break cc}if((Zb(e)|0)>=1){break cc}e=v[f+40>>2];if((e|0)>=2){continue}}g=v[f+36>>2];i=v[g+16>>2];if(w[i|0]){break _b}e=v[f+40>>2];if((e|0)>1){continue}break}}if(!((i|0)!=(j|0)|(r|0)!=v[g+36>>2])){if(v[f+172>>2]==-1?v[f+212>>2]:0){break Zb}v[f+84>>2]=1;v[l+20>>2]=341504;v[l+16>>2]=238031;nb(0,0,0,f,0,1,1,3,341504,0,0,0,340574,l+16|0);v[f+12>>2]=0;if(v[f+288>>2]){break Zb}v[f+212>>2]=1;break Zb}j=v[g+16>>2];if(w[j|0]!=93){continue}break}}e=w[v[v[f+36>>2]+16>>2]];if((e|0)!=93){break Yb}Bc(f);Fc(f);e=w[v[v[f+36>>2]+16>>2]]}dc:{if((e&255)!=62){if(v[f+172>>2]==-1?v[f+212>>2]:0){break dc}v[f+84>>2]=61;v[l>>2]=289584;nb(0,0,0,f,0,1,61,3,0,0,0,0,340716,l);v[f+12>>2]=0;if(v[f+288>>2]){break dc}v[f+212>>2]=1;break dc}Bc(f)}Ma=l+48|0;if(v[f+172>>2]==-1){break q}v[f+216>>2]=2;e=v[f>>2];ec:{if(v[f+212>>2]|!e){break ec}e=v[e+104>>2];if(!e){break ec}Qa[e|0](v[f+4>>2],v[f+220>>2],v[f+228>>2],v[f+224>>2])}v[f+216>>2]=0;UW(f);if(v[f+172>>2]==-1){break q}v[f+172>>2]=4;e=4;break K}e=e+1|0;if(n>>>0>e>>>0){continue}break}k=0;if(g&255){break Qb}}k=e}v[l+204>>2]=k;break q}Qa[v[256654]](v[291043],345711,0);break J}Qa[v[256654]](v[291043],345666,0);break J}Qa[v[256654]](v[291043],346098,0);break J}Qa[v[256654]](v[291043],346055,0);break P}Qa[v[256654]](v[291043],345624,0);break M}Qa[v[256654]](v[291043],345978,0);break P}Qa[v[256654]](v[291043],311944,0);break M}Qa[v[256654]](v[291043],345426,0)}e=7;v[f+172>>2]=7;break C}e=14;break F}e=4;break F}e=3;v[f+172>>2]=3;break C}v[f+172>>2]=1;v[m+292>>2]=1;e=1}v[k+204>>2]=0;break C}e=6;v[f+172>>2]=6;break C}v[f+292>>2]=1;v[f+172>>2]=7}h=v[m+36>>2];g=v[h+16>>2];fc:{if(w[g|0]|v[f+40>>2]<=1){break fc}while(1){xc(f);h=v[f+36>>2];g=v[h+16>>2];if(w[g|0]){break fc}if(v[f+40>>2]>=2){continue}break}}if((e|0)!=(g|0)|(j|0)!=v[h+36>>2]){break G}Md(f,1,338623);sl(f);e=v[f+172>>2];break C}e=v[f+172>>2];break C}v[f+172>>2]=e;v[m+292>>2]=1;break C}Qa[e|0](v[f+4>>2]);break q}e=1;v[f+172>>2]=1}if((e|0)!=-1){continue}break}}Ma=o+240|0}if(v[a+172>>2]==-1){break d}e=v[a+36>>2];gc:{if(!e){e=0;break gc}g=v[e+16>>2];if((v[e+20>>2]-g|0)<=1e7&(g-v[e+12>>2]|0)<10000001|w[a+362|0]&8){break gc}v[a+84>>2]=1;v[s+20>>2]=240525;v[s+16>>2]=238031;e=0;nb(0,0,0,a,0,1,1,3,240525,0,0,0,340574,s+16|0);v[a+212>>2]=1;v[a+172>>2]=-1;v[a+12>>2]=0;g=v[a+36>>2];if(!g){break gc}e=v[g+40>>2];hc:{if(!e){e=g;break hc}Qa[e|0](v[g+12>>2]);e=v[a+36>>2];v[e+40>>2]=0}v[e+12>>2]=349015;v[e+16>>2]=349015}g=v[a+84>>2];if(v[a+212>>2]==1?g:0){break a}if(!A){b=b+p|0;continue}break}ic:{if(!e|z){break ic}b=v[e>>2];if(!b){break ic}c=Wv(v[b+16>>2],e);b=v[a+36>>2];e=v[b+12>>2];g=v[b+16>>2];$z(v[b>>2],1,337475);b=v[a+36>>2];Vv(v[v[b>>2]+16>>2],b,c,g-e|0)}if(d){c=v[a+36>>2];if(c){b=v[c>>2];jc:{if(!b){e=v[c+24>>2];break jc}e=Wh(v[b+16>>2]);c=v[a+36>>2]}b=v[c+12>>2]+(e-v[c+16>>2]|0)|0}else{b=0}c=v[a+172>>2];d=c+1|0;if(!(!d|(d|0)==15)){Md(a,5,0);c=v[a+172>>2]}if(!((c|0)!=14|(b|0)<1)){v[a+84>>2]=5;v[s>>2]=228709;nb(0,0,0,a,0,1,5,3,0,0,0,0,340716,s);v[a+12>>2]=0;if(!v[a+288>>2]){v[a+212>>2]=1}c=v[a+172>>2]}kc:{if((c|0)==-1){break kc}b=v[a>>2];if(!b){break kc}b=v[b+52>>2];if(!b){break kc}Qa[b|0](v[a+4>>2])}v[a+172>>2]=-1}g=0;if(v[a+12>>2]){break a}}g=v[a+84>>2]}Ma=s+32|0;return g}function G5(a,b){var 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,u=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=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;G=b;R=Ma-16|0;Ma=R;a:{b:{c:{d:{e:{f:{V=v[a+56>>2];g:{if((V|0)>=1){S=v[G+36>>2];while(1){b=v[S+20>>2];if((b|0)>=1){T=v[S+24>>2];while(1){I=b;N=v[T+4>>2];h:{if(!N){break h}b=v[T>>2];if((b|0)<1){break h}while(1){K=b;i:{if(!v[N+4>>2]){break i}b=v[T+40>>2];if((b|0)<1){break i}W=v[N>>2];while(1){P=b;u=v[W+28>>2];j:{if(!u){break j}b=v[W+24>>2];if((b|0)<1){break j}while(1){U=b;b=v[G+36>>2];k:{if(v[u+36>>2]){break k}c=v[u+40>>2];c=Oj(v[c+20>>2]+2|0,v[c+24>>2]+2|0);v[u+36>>2]=c;if(c){break k}b=-1;break g}l:{m:{r=v[u+4>>2];if(!r){break m}Q=S-b>>5;Z=u+4|0;while(1){if(v[r+36>>2]>16383){break m}n:{b=v[r+24>>2];if(b){Qm(b);v[v[r+24>>2]+60>>2]=0;o:{p:{q:{switch(v[r+20>>2]-1|0){case 0:b=v[u+28>>2];if(!b){c=gb(36);r:{if(c){v[c+20>>2]=19;v[c+24>>2]=0;b=gb(76);v[c+16>>2]=b;if(b){v[c+12>>2]=b;if(v[c+24>>2]){p5(c);b=v[c+16>>2]}k=v[c+20>>2];if((k|0)<1){break r}d=k-1|0;i=k&7;if(i){while(1){v[b>>2]=1021184;b=b+4|0;k=k-1|0;i=i-1|0;if(i){continue}break}}if(d>>>0<7){break r}while(1){v[b+28>>2]=1021184;v[b+24>>2]=1021184;v[b+20>>2]=1021184;v[b+16>>2]=1021184;v[b+12>>2]=1021184;v[b+8>>2]=1021184;v[b+4>>2]=1021184;v[b>>2]=1021184;b=b+32|0;d=(k|0)>8;k=k-8|0;if(d){continue}break}break r}$a(c)}c=0}d=c;v[u+28>>2]=c;b=-1;if(!c){break g}o5(d);b=v[u+28>>2]}v[b+24>>2]=v[r+24>>2];p5(v[u+28>>2]);break p;default:O(13880,7698,231,189204);L();case 1:break q}}if(v[u+32>>2]){break p}b=uC(v[r+24>>2],15703);v[u+32>>2]=b;if(!b){break o}}X=0;if(v[r+12>>2]<=0){break n}while(1){b=v[u+16>>2];d=v[N+20>>2];s:{if((b|0)<=(d|0)){break s}c=w[(v[v[G+32>>2]+24>>2]+B(Q,488)|0)+417|0];if((c-d|0)<=(b|0)?c:0){break s}Nb(22158,0);b=v[u+16>>2];d=v[N+20>>2]}c=b;b=v[r+8>>2]+X|0;d=(v[N+28>>2]+d|0)+(c+(((b-v[u+24>>2]|0)+2|0)/3|0)^-1)|0;if((d|0)<0){break l}_=(b+2|0)%3|0;t:{u:{v:{w:{if((d|0)<31){l=0;x:{switch(_|0){case 1:break v;case 2:break w;case 0:break x;default:break t}}if(v[r+20>>2]!=1){break u}b=v[u+40>>2];q=v[b+20>>2];c=0;f=0;i=v[u+36>>2];if(v[i+20>>2]>=2){k=v[i+28>>2];f=v[k+4>>2]-v[k>>2]>>2}if((q|0)>=2){c=v[b+28>>2];c=v[c+4>>2]-v[c>>2]>>2}l=1;if((q|0)<1){break t}g=v[b+24>>2];if((g|0)<1){break t}e=v[u+28>>2];d=1<>>1|d;h=0-n|0;F=w[(v[v[G+32>>2]+24>>2]+B(Q,488)|0)+418|0]&8;C=0-f|0;D=v[N+8>>2]<<8;p=c<<2;y=f<<2;i=v[v[i+28>>2]+4>>2]+4|0;o=v[v[b+28>>2]>>2];while(1){J=(q|0)<4;M=J?q:4;c=g;d=i;f=o;while(1){k=c;c=v[d>>2];b=c&255;if(!(!b|c&20480)){b=v[e+16>>2]+(v[((b|D)<<2)+1119040>>2]<<2)|0;v[e+12>>2]=b;j=v[b>>2];b=v[j>>2];m=v[e+4>>2]-b|0;v[e+4>>2]=m;A=v[e>>2];y:{if(b>>>0<=A>>>16>>>0){v[e>>2]=A-(b<<16);b=v[j+4>>2];if(m&32768){break y}b=Jf(e);break y}b=If(e)}if(b){j=(c>>>4&255)<<2;b=v[e+16>>2]+(v[j+1124160>>2]<<2)|0;v[e+12>>2]=b;m=v[b>>2];b=v[m>>2];A=v[e+4>>2]-b|0;v[e+4>>2]=A;c=d+y|0;z=v[e>>2];z:{if(b>>>0<=z>>>16>>>0){v[e>>2]=z-(b<<16);b=v[m+4>>2];if(A&32768){break z}b=Jf(e);break z}b=If(e)}m=b^v[j+1123136>>2];A:{B:{C:{if(F){v[c+4>>2]=v[c+4>>2]|8;b=c-4|0;v[b>>2]=v[b>>2]|1;b=v[c>>2];if(m){b=b|272;break B}b=b|16;break C}b=(C<<2)+d|0;v[b+4>>2]=v[b+4>>2]|4;j=b-4|0;v[j>>2]=v[j>>2]|2;j=c-4|0;v[j>>2]=v[j>>2]|1;v[c+4>>2]=v[c+4>>2]|8;j=v[b>>2];if(m){v[b>>2]=j|1088;b=v[c>>2]|272;break B}v[b>>2]=j|64;b=v[c>>2]|16}A=128;j=32;break A}A=2176;j=544}v[c>>2]=b;b=d-4|0;v[b>>2]=v[b>>2]|j;v[d+4>>2]=A|v[d+4>>2];v[d>>2]=v[d>>2]|4096;v[f>>2]=m?h:n}v[d>>2]=v[d>>2]|16384}D:{if((M|0)<2){break D}m=f+p|0;b=d+y|0;j=v[b>>2];c=j&255;if(!(!c|j&20480)){c=v[e+16>>2]+(v[((c|D)<<2)+1119040>>2]<<2)|0;v[e+12>>2]=c;A=v[c>>2];c=v[A>>2];z=v[e+4>>2]-c|0;v[e+4>>2]=z;E=v[e>>2];E:{if(c>>>0<=E>>>16>>>0){v[e>>2]=E-(c<<16);c=v[A+4>>2];if(z&32768){break E}c=Jf(e);break E}c=If(e)}if(c){A=(j>>>4&255)<<2;c=v[e+16>>2]+(v[A+1124160>>2]<<2)|0;v[e+12>>2]=c;j=v[c>>2];c=v[j>>2];z=v[e+4>>2]-c|0;v[e+4>>2]=z;E=v[e>>2];F:{if(c>>>0<=E>>>16>>>0){v[e>>2]=E-(c<<16);j=v[j+4>>2];if(z&32768){break F}j=Jf(e);break F}j=If(e)}A=v[A+1123136>>2];c=d-4|0;v[c>>2]=v[c>>2]|2;v[d+4>>2]=v[d+4>>2]|4;c=b+y|0;z=c-4|0;v[z>>2]=v[z>>2]|1;v[c+4>>2]=v[c+4>>2]|8;j=(j|0)==(A|0);v[d>>2]=v[d>>2]|(j?64:1088);v[c>>2]=v[c>>2]|(j?16:272);c=b-4|0;v[c>>2]=v[c>>2]|(j?32:544);v[b+4>>2]=v[b+4>>2]|(j?128:2176);v[b>>2]=v[b>>2]|4096;v[m>>2]=j?n:h}v[b>>2]=v[b>>2]|16384}if((M|0)<3){break D}A=p+m|0;b=b+y|0;j=v[b>>2];c=j&255;if(!(!c|j&20480)){c=v[e+16>>2]+(v[((c|D)<<2)+1119040>>2]<<2)|0;v[e+12>>2]=c;m=v[c>>2];c=v[m>>2];z=v[e+4>>2]-c|0;v[e+4>>2]=z;E=v[e>>2];G:{if(c>>>0<=E>>>16>>>0){v[e>>2]=E-(c<<16);c=v[m+4>>2];if(z&32768){break G}c=Jf(e);break G}c=If(e)}if(c){j=(j>>>4&255)<<2;c=v[e+16>>2]+(v[j+1124160>>2]<<2)|0;v[e+12>>2]=c;m=v[c>>2];c=v[m>>2];z=v[e+4>>2]-c|0;v[e+4>>2]=z;E=v[e>>2];H:{if(c>>>0<=E>>>16>>>0){v[e>>2]=E-(c<<16);m=v[m+4>>2];if(z&32768){break H}m=Jf(e);break H}m=If(e)}z=v[j+1123136>>2];c=b+(C<<2)|0;v[c+4>>2]=v[c+4>>2]|4;j=c-4|0;v[j>>2]=v[j>>2]|2;j=b+y|0;E=j-4|0;v[E>>2]=v[E>>2]|1;v[j+4>>2]=v[j+4>>2]|8;s=c;E=v[c>>2];c=(m|0)==(z|0);v[s>>2]=E|(c?64:1088);v[j>>2]=v[j>>2]|(c?16:272);j=b-4|0;v[j>>2]=v[j>>2]|(c?32:544);v[b+4>>2]=v[b+4>>2]|(c?128:2176);v[b>>2]=v[b>>2]|4096;v[A>>2]=c?n:h}v[b>>2]=v[b>>2]|16384}if(J){break D}b=b+y|0;j=v[b>>2];c=j&255;if(!c|j&20480){break D}c=v[e+16>>2]+(v[((c|D)<<2)+1119040>>2]<<2)|0;v[e+12>>2]=c;m=v[c>>2];c=v[m>>2];z=v[e+4>>2]-c|0;v[e+4>>2]=z;E=v[e>>2];I:{if(c>>>0<=E>>>16>>>0){v[e>>2]=E-(c<<16);c=v[m+4>>2];if(z&32768){break I}c=Jf(e);break I}c=If(e)}if(c){A=p+A|0;j=(j>>>4&255)<<2;c=v[e+16>>2]+(v[j+1124160>>2]<<2)|0;v[e+12>>2]=c;m=v[c>>2];c=v[m>>2];z=v[e+4>>2]-c|0;v[e+4>>2]=z;E=v[e>>2];J:{if(c>>>0<=E>>>16>>>0){v[e>>2]=E-(c<<16);m=v[m+4>>2];if(z&32768){break J}m=Jf(e);break J}m=If(e)}z=v[j+1123136>>2];c=b+(C<<2)|0;v[c+4>>2]=v[c+4>>2]|4;j=c-4|0;v[j>>2]=v[j>>2]|2;j=b+y|0;E=j-4|0;v[E>>2]=v[E>>2]|1;v[j+4>>2]=v[j+4>>2]|8;s=c;E=v[c>>2];c=(m|0)==(z|0);v[s>>2]=E|(c?64:1088);v[j>>2]=v[j>>2]|(c?16:272);j=b-4|0;v[j>>2]=v[j>>2]|(c?32:544);v[b+4>>2]=v[b+4>>2]|(c?128:2176);v[b>>2]=v[b>>2]|4096;v[A>>2]=c?n:h}v[b>>2]=v[b>>2]|16384}f=f+4|0;d=d+4|0;c=k-1|0;if((k|0)>1){continue}break}o=(p<<2)+o|0;i=(y<<2)+i|0;b=(q|0)>4;q=q-4|0;if(b){continue}break}break t}O(23522,7698,261,189204);L()}if(v[r+20>>2]==1){i=v[v[G+32>>2]+24>>2];b=v[u+40>>2];C=v[b+20>>2];E=0;m=0;c=v[u+36>>2];if(v[c+20>>2]>=2){k=v[c+28>>2];m=v[k+4>>2]-v[k>>2]>>2}if((C|0)>=2){k=v[b+28>>2];E=v[k+4>>2]-v[k>>2]>>2}$=w[(i+B(Q,488)|0)+418|0];h=v[u+28>>2];K:{if((C|0)<1){break K}n=v[b+24>>2];if((n|0)<1){break K}aa=$&8;M=0-m|0;d=1<>>1|d;F=0-A|0;J=v[N+8>>2]<<8;z=E<<2;D=m<<2;l=v[v[c+28>>2]+4>>2]+4|0;i=v[v[b+28>>2]>>2];o=0;while(1){q=C-o|0;j=(q|0)<4?q:4;b=n;k=i;c=l;while(1){y=b;g=v[c>>2];L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{V:{if((j|0)<4){d=k;b=c;f=q;break V}W:{if(g&20735){break W}b=c+D|0;if(x[b>>1]&20735){break W}e=b+D|0;if(x[e>>1]&20735){break W}d=k;b=c;f=j;if(x[e+D>>1]&20735){break V}b=v[h+16>>2];v[h+12>>2]=b;d=v[b>>2];b=v[d>>2];f=v[h+4>>2]-b|0;v[h+4>>2]=f;g=v[h>>2];X:{if(b>>>0<=g>>>16>>>0){v[h>>2]=g-(b<<16);b=v[d+4>>2];if(f&32768){break X}b=Jf(h);break X}b=If(h)}if(!b){break L}b=v[h+16>>2];v[h+12>>2]=b+72;d=v[b+72>>2];b=v[d>>2];f=v[h+4>>2]-b|0;v[h+4>>2]=f;g=v[h>>2];Y:{if(b>>>0<=g>>>16>>>0){v[h>>2]=g-(b<<16);b=v[d+4>>2];if(f&32768){break Y}b=Jf(h);break Y}b=If(h)}g=v[v[h+12>>2]>>2];f=v[g>>2];e=v[h+4>>2]-f|0;v[h+4>>2]=e;d=j;p=v[h>>2];Z:{if(f>>>0<=p>>>16>>>0){v[h>>2]=p-(f<<16);f=v[g+4>>2];if(e&32768){break Z}f=Jf(h);break Z}f=If(h)}e=f|b<<1;f=d-e|0;d=(B(e,E)<<2)+k|0;b=(B(e,m)<<2)+c|0;g=v[b>>2];switch(e|0){case 2:break Q;case 1:break S;case 0:break U;case 3:break O;default:break V}}d=k;b=c;f=j}if(g&20480){break T}e=v[h+16>>2]+(v[((J|g&255)<<2)+1119040>>2]<<2)|0;v[h+12>>2]=e;p=v[e>>2];e=v[p>>2];s=v[h+4>>2]-e|0;v[h+4>>2]=s;H=v[h>>2];_:{if(e>>>0<=H>>>16>>>0){v[h>>2]=H-(e<<16);e=v[p+4>>2];if(s&32768){break _}e=Jf(h);break _}e=If(h)}if(e){break U}g=v[b>>2];break T}e=(g>>>4&255)<<2;g=v[h+16>>2]+(v[e+1124160>>2]<<2)|0;v[h+12>>2]=g;p=v[g>>2];g=v[p>>2];s=v[h+4>>2]-g|0;v[h+4>>2]=s;H=v[h>>2];$:{if(g>>>0<=H>>>16>>>0){v[h>>2]=H-(g<<16);g=v[p+4>>2];if(s&32768){break $}g=Jf(h);break $}g=If(h)}p=(g|0)==v[e+1123136>>2];v[d>>2]=p?A:F;g=b+D|0;aa:{ba:{ca:{if(aa){v[g+4>>2]=v[g+4>>2]|8;e=g-4|0;v[e>>2]=v[e>>2]|1;e=v[g>>2];if(!p){e=e|272;break ba}e=e|16;break ca}e=(M<<2)+b|0;v[e+4>>2]=v[e+4>>2]|4;s=e-4|0;v[s>>2]=v[s>>2]|2;s=g-4|0;v[s>>2]=v[s>>2]|1;v[g+4>>2]=v[g+4>>2]|8;s=v[e>>2];if(!p){v[e>>2]=s|1088;e=v[g>>2]|272;break ba}v[e>>2]=s|64;e=v[g>>2]|16}s=32;p=128;break aa}s=544;p=2176}v[g>>2]=e;g=b-4|0;v[g>>2]=s|v[g>>2];v[b+4>>2]=v[b+4>>2]|p;g=v[b>>2]|4096;v[b>>2]=g}v[b>>2]=g&-16385;if((f|0)<2){break L}f=f-1|0;d=d+z|0;b=b+D|0;g=v[b>>2];if(g&20480){break R}e=v[h+16>>2]+(v[((J|g&255)<<2)+1119040>>2]<<2)|0;v[h+12>>2]=e;p=v[e>>2];e=v[p>>2];s=v[h+4>>2]-e|0;v[h+4>>2]=s;H=v[h>>2];da:{if(e>>>0<=H>>>16>>>0){v[h>>2]=H-(e<<16);e=v[p+4>>2];if(s&32768){break da}e=Jf(h);break da}e=If(h)}if(e){break S}g=v[b>>2];break R}e=(g>>>4&255)<<2;g=v[h+16>>2]+(v[e+1124160>>2]<<2)|0;v[h+12>>2]=g;p=v[g>>2];g=v[p>>2];s=v[h+4>>2]-g|0;v[h+4>>2]=s;H=v[h>>2];ea:{if(g>>>0<=H>>>16>>>0){v[h>>2]=H-(g<<16);g=v[p+4>>2];if(s&32768){break ea}g=Jf(h);break ea}g=If(h)}g=(g|0)==v[e+1123136>>2];v[d>>2]=g?A:F;e=(M<<2)+b|0;p=e-4|0;v[p>>2]=v[p>>2]|2;v[e+4>>2]=v[e+4>>2]|4;p=b+D|0;s=p-4|0;v[s>>2]=v[s>>2]|1;v[p+4>>2]=v[p+4>>2]|8;v[e>>2]=v[e>>2]|(g?64:1088);v[p>>2]=v[p>>2]|(g?16:272);e=b-4|0;v[e>>2]=v[e>>2]|(g?32:544);v[b+4>>2]=v[b+4>>2]|(g?128:2176);g=v[b>>2]|4096;v[b>>2]=g}v[b>>2]=g&-16385;if((f|0)<2){break L}f=f-1|0;d=d+z|0;b=b+D|0;g=v[b>>2];if(g&20480){break P}e=v[h+16>>2]+(v[((J|g&255)<<2)+1119040>>2]<<2)|0;v[h+12>>2]=e;p=v[e>>2];e=v[p>>2];s=v[h+4>>2]-e|0;v[h+4>>2]=s;H=v[h>>2];fa:{if(e>>>0<=H>>>16>>>0){v[h>>2]=H-(e<<16);e=v[p+4>>2];if(s&32768){break fa}e=Jf(h);break fa}e=If(h)}if(e){break Q}g=v[b>>2];break P}e=(g>>>4&255)<<2;g=v[h+16>>2]+(v[e+1124160>>2]<<2)|0;v[h+12>>2]=g;p=v[g>>2];g=v[p>>2];s=v[h+4>>2]-g|0;v[h+4>>2]=s;H=v[h>>2];ga:{if(g>>>0<=H>>>16>>>0){v[h>>2]=H-(g<<16);g=v[p+4>>2];if(s&32768){break ga}g=Jf(h);break ga}g=If(h)}g=(g|0)==v[e+1123136>>2];v[d>>2]=g?A:F;e=(M<<2)+b|0;p=e-4|0;v[p>>2]=v[p>>2]|2;v[e+4>>2]=v[e+4>>2]|4;p=b+D|0;s=p-4|0;v[s>>2]=v[s>>2]|1;v[p+4>>2]=v[p+4>>2]|8;v[e>>2]=v[e>>2]|(g?64:1088);v[p>>2]=v[p>>2]|(g?16:272);e=b-4|0;v[e>>2]=v[e>>2]|(g?32:544);v[b+4>>2]=v[b+4>>2]|(g?128:2176);g=v[b>>2]|4096;v[b>>2]=g}v[b>>2]=g&-16385;if((f|0)<2){break L}b=b+D|0;g=v[b>>2];if(g&20480){break M}f=v[h+16>>2]+(v[((J|g&255)<<2)+1119040>>2]<<2)|0;v[h+12>>2]=f;e=v[f>>2];f=v[e>>2];p=v[h+4>>2]-f|0;v[h+4>>2]=p;s=v[h>>2];ha:{if(f>>>0<=s>>>16>>>0){v[h>>2]=s-(f<<16);f=v[e+4>>2];if(p&32768){break ha}f=Jf(h);break ha}f=If(h)}if(!f){break N}d=d+z|0}g=(g>>>4&255)<<2;f=v[h+16>>2]+(v[g+1124160>>2]<<2)|0;v[h+12>>2]=f;e=v[f>>2];f=v[e>>2];p=v[h+4>>2]-f|0;v[h+4>>2]=p;s=v[h>>2];ia:{if(f>>>0<=s>>>16>>>0){v[h>>2]=s-(f<<16);f=v[e+4>>2];if(p&32768){break ia}f=Jf(h);break ia}f=If(h)}e=d;d=(f|0)==v[g+1123136>>2];v[e>>2]=d?A:F;f=(M<<2)+b|0;g=f-4|0;v[g>>2]=v[g>>2]|2;v[f+4>>2]=v[f+4>>2]|4;g=b+D|0;e=g-4|0;v[e>>2]=v[e>>2]|1;v[g+4>>2]=v[g+4>>2]|8;v[f>>2]=v[f>>2]|(d?64:1088);v[g>>2]=v[g>>2]|(d?16:272);f=b-4|0;v[f>>2]=v[f>>2]|(d?32:544);v[b+4>>2]=v[b+4>>2]|(d?128:2176);g=v[b>>2]|4096;v[b>>2]=g;break M}g=v[b>>2]}v[b>>2]=g&-16385}k=k+4|0;c=c+4|0;b=y-1|0;if((y|0)>1){continue}break}i=(z<<2)+i|0;l=(D<<2)+l|0;o=o+4|0;if((C|0)>(o|0)){continue}break}}l=1;if(!($&32)){break t}b=v[h+16>>2];v[h+12>>2]=b+72;c=v[b+72>>2];b=v[c>>2];d=v[h+4>>2]-b|0;v[h+4>>2]=d;i=v[h>>2];ja:{if(b>>>0<=i>>>16>>>0){v[h>>2]=i-(b<<16);b=v[c+4>>2];if(d&32768){break ja}b=Jf(h);break ja}b=If(h)}d=v[v[h+12>>2]>>2];c=v[d>>2];i=v[h+4>>2]-c|0;v[h+4>>2]=i;k=v[h>>2];ka:{if(c>>>0<=k>>>16>>>0){v[h>>2]=k-(c<<16);c=v[d+4>>2];if(i&32768){break ka}c=Jf(h);break ka}c=If(h)}i=v[v[h+12>>2]>>2];d=v[i>>2];k=v[h+4>>2]-d|0;v[h+4>>2]=k;c=c&1;f=b<<1&2;b=v[h>>2];la:{if(d>>>0<=b>>>16>>>0){v[h>>2]=b-(d<<16);b=v[i+4>>2];if(k&32768){break la}b=Jf(h);break la}b=If(h)}d=c|f;i=v[v[h+12>>2]>>2];c=v[i>>2];k=v[h+4>>2]-c|0;v[h+4>>2]=k;f=v[h>>2];ma:{if(c>>>0<=f>>>16>>>0){v[h>>2]=f-(c<<16);c=v[i+4>>2];if(k&32768){break ma}c=Jf(h);break ma}c=If(h)}if((c&1|(b<<1&2|d<<2))==10){break t}Nb(34032,0);break t}O(25690,7698,282,189204);L()}if(v[r+20>>2]==1){i=v[u+40>>2];q=v[i+20>>2];f=0;c=0;k=v[u+36>>2];if(v[k+20>>2]>=2){b=v[k+28>>2];c=v[b+4>>2]-v[b>>2]>>2}if((q|0)>=2){b=v[i+28>>2];f=v[b+4>>2]-v[b>>2]>>2}l=1;if((q|0)<1){break t}e=v[i+24>>2];if((e|0)<1){break t}h=v[u+28>>2];b=1<>>1|0;j=(d|0)>0?0-b|0:-1;D=f<<2;p=c<<2;k=v[v[k+28>>2]+4>>2]+4|0;i=v[v[i+28>>2]>>2];while(1){A=(q|0)<4;M=A?q:4;c=e;d=k;g=i;while(1){f=v[d>>2];if((f&20480)==4096){f=v[h+16>>2]+(v[((f>>>2&2048|f&255)<<2)+1125184>>2]<<2)|0;v[h+12>>2]=f;C=v[f>>2];n=v[C>>2];m=v[h+4>>2]-n|0;v[h+4>>2]=m;o=g;f=b;y=j;F=v[h>>2];na:{if(n>>>0<=F>>>16>>>0){v[h>>2]=F-(n<<16);n=v[C+4>>2];if(m&32768){break na}n=Jf(h);break na}n=If(h)}f=n?f:y;y=0-f|0;m=f;f=v[g>>2];v[o>>2]=((f|0)<0?y:m)+f;v[d>>2]=v[d>>2]|8192}f=c;oa:{if((M|0)<2){break oa}c=g+D|0;C=d+p|0;o=v[C>>2];if((o&20480)==4096){o=v[h+16>>2]+(v[((o>>>2&2048|o&255)<<2)+1125184>>2]<<2)|0;v[h+12>>2]=o;F=v[o>>2];m=v[F>>2];J=v[h+4>>2]-m|0;v[h+4>>2]=J;y=c;o=b;n=j;z=v[h>>2];pa:{if(m>>>0<=z>>>16>>>0){v[h>>2]=z-(m<<16);m=v[F+4>>2];if(J&32768){break pa}m=Jf(h);break pa}m=If(h)}o=m?o:n;n=0-o|0;m=o;o=v[c>>2];v[y>>2]=((o|0)<0?n:m)+o;v[C>>2]=v[C>>2]|8192}if((M|0)<3){break oa}c=c+D|0;C=p+C|0;o=v[C>>2];if((o&20480)==4096){o=v[h+16>>2]+(v[((o>>>2&2048|o&255)<<2)+1125184>>2]<<2)|0;v[h+12>>2]=o;F=v[o>>2];m=v[F>>2];J=v[h+4>>2]-m|0;v[h+4>>2]=J;y=c;o=b;n=j;z=v[h>>2];qa:{if(m>>>0<=z>>>16>>>0){v[h>>2]=z-(m<<16);m=v[F+4>>2];if(J&32768){break qa}m=Jf(h);break qa}m=If(h)}o=m?o:n;n=0-o|0;m=o;o=v[c>>2];v[y>>2]=((o|0)<0?n:m)+o;v[C>>2]=v[C>>2]|8192}if(A){break oa}n=p+C|0;o=v[n>>2];if((o&20480)!=4096){break oa}o=v[h+16>>2]+(v[((o>>>2&2048|o&255)<<2)+1125184>>2]<<2)|0;v[h+12>>2]=o;C=v[o>>2];y=v[C>>2];m=v[h+4>>2]-y|0;v[h+4>>2]=m;F=c+D|0;o=F;c=b;s=j;z=v[h>>2];ra:{if(y>>>0<=z>>>16>>>0){v[h>>2]=z-(y<<16);y=v[C+4>>2];if(m&32768){break ra}y=Jf(h);break ra}y=If(h)}c=y?c:s;y=0-c|0;m=c;c=v[F>>2];v[o>>2]=((c|0)<0?y:m)+c;v[n>>2]=v[n>>2]|8192}g=g+4|0;d=d+4|0;c=f-1|0;if((f|0)>1){continue}break}i=(D<<2)+i|0;k=(p<<2)+k|0;c=(q|0)>4;q=q-4|0;if(c){continue}break}break t}b=v[u+40>>2];o=v[b+20>>2];f=0;c=0;k=v[u+36>>2];if(v[k+20>>2]>=2){c=v[k+28>>2];c=v[c+4>>2]-v[c>>2]>>2}if((o|0)>=2){i=v[b+28>>2];f=v[i+4>>2]-v[i>>2]>>2}if((o|0)<1){l=1;break t}i=v[b+24>>2];if((i|0)<1){l=1;break t}e=v[u+32>>2];y=1<>>1|0;n=(d|0)>0?0-y|0:-1;h=f<<2;D=c<<2;j=v[v[k+28>>2]+4>>2]+4|0;q=v[v[b+28>>2]>>2];while(1){b=i;c=b;g=j;d=g;f=q;k=f;sa:{ta:{ua:{va:{wa:{p=(o|0)<4;C=p?o:4;if((C|0)>=2){while(1){if((v[g>>2]&20480)==4096){if(!(t[e+16|0]&1)){break wa}c=v[e+8>>2];d=c-1|0;v[e+8>>2]=d;xa:{if((c|0)<=0){c=zf(e);if((c|0)>=0){break xa}break t}c=v[e+4>>2]>>>d&1}c=c?y:n;k=0-c|0;d=c;c=v[f>>2];v[f>>2]=((c|0)<0?k:d)+c;v[g>>2]=v[g>>2]|8192}c=b;d=h+f|0;k=g+D|0;if((v[k>>2]&20480)==4096){if(!(t[e+16|0]&1)){break va}b=v[e+8>>2];m=b-1|0;v[e+8>>2]=m;ya:{if((b|0)<=0){b=zf(e);if((b|0)>=0){break ya}break t}b=v[e+4>>2]>>>m&1}b=b?y:n;F=0-b|0;m=b;b=v[d>>2];v[d>>2]=((b|0)<0?F:m)+b;v[k>>2]=v[k>>2]|8192}za:{if((C|0)<3){break za}b=d+h|0;d=k+D|0;if((v[d>>2]&20480)==4096){if(!(t[e+16|0]&1)){break ua}k=v[e+8>>2];m=k-1|0;v[e+8>>2]=m;Aa:{if((k|0)<=0){k=zf(e);if((k|0)>=0){break Aa}break t}k=v[e+4>>2]>>>m&1}k=k?y:n;F=0-k|0;m=k;k=v[b>>2];v[b>>2]=((k|0)<0?F:m)+k;v[d>>2]=v[d>>2]|8192}if(p){break za}d=d+D|0;if((v[d>>2]&20480)!=4096){break za}if(!(t[e+16|0]&1)){break ta}k=v[e+8>>2];m=k-1|0;v[e+8>>2]=m;Ba:{if((k|0)<=0){k=zf(e);if((k|0)>=0){break Ba}break t}k=v[e+4>>2]>>>m&1}m=b+h|0;b=v[m>>2];k=k?y:n;v[m>>2]=b+((b|0)<0?0-k|0:k);v[d>>2]=v[d>>2]|8192}f=f+4|0;g=g+4|0;b=c-1|0;if((c|0)>1){continue}break sa}}while(1){if((v[d>>2]&20480)==4096){if(!(t[e+16|0]&1)){break wa}b=v[e+8>>2];f=b-1|0;v[e+8>>2]=f;Ca:{if((b|0)<=0){g=zf(e);if((g|0)>=0){break Ca}break t}g=v[e+4>>2]>>>f&1}b=g?y:n;g=0-b|0;f=b;b=v[k>>2];v[k>>2]=((b|0)<0?g:f)+b;v[d>>2]=v[d>>2]|8192}k=k+4|0;d=d+4|0;b=(c|0)>1;c=c-1|0;if(b){continue}break}break sa}O(32183,7698,720,189238);L()}O(32183,7698,728,189238);L()}O(32183,7698,736,189238);L()}O(32183,7698,744,189238);L()}q=(h<<2)+q|0;j=(D<<2)+j|0;b=(o|0)>4;o=o-4|0;if(b){continue}break}l=1;break t}b=v[u+40>>2];j=v[b+20>>2];c=0;f=0;i=v[u+36>>2];if(v[i+20>>2]>=2){k=v[i+28>>2];f=v[k+4>>2]-v[k>>2]>>2}if((j|0)>=2){c=v[b+28>>2];c=v[c+4>>2]-v[c>>2]>>2}if((j|0)<1){l=1;break t}y=v[b+24>>2];if((y|0)<1){l=1;break t}n=v[u+32>>2];d=1<>>1|d;g=0-k|0;M=w[(v[v[G+32>>2]+24>>2]+B(Q,488)|0)+418|0]&8;C=0-f|0;D=c<<2;h=f<<2;i=v[v[i+28>>2]+4>>2]+4|0;q=v[v[b+28>>2]>>2];Da:{while(1){A=(j|0)<4;m=A?j:4;c=y;b=i;f=q;while(1){o=c;c=v[b>>2];if(!(!(c&255)|c&20480)){Ea:{Fa:{Ga:{if(t[n+16|0]&1){c=v[n+8>>2];d=c-1|0;v[n+8>>2]=d;Ha:{if((c|0)<=0){l=0;c=zf(n);if((c|0)>=0){break Ha}break t}c=v[n+4>>2]>>>d&1}if(!c){break Ea}if(!(t[n+16|0]&1)){break e}c=v[n+8>>2];d=c-1|0;v[n+8>>2]=d;Ia:{if((c|0)<=0){l=0;p=zf(n);if((p|0)>=0){break Ia}break t}p=v[n+4>>2]>>>d&1}l=b+h|0;Ja:{if(M){v[l+4>>2]=v[l+4>>2]|8;c=l-4|0;v[c>>2]=v[c>>2]|1;c=v[l>>2];if(p){d=c|272;break Ga}d=c|16;break Ja}c=(C<<2)+b|0;v[c+4>>2]=v[c+4>>2]|4;d=c-4|0;v[d>>2]=v[d>>2]|2;d=l-4|0;v[d>>2]=v[d>>2]|1;v[l+4>>2]=v[l+4>>2]|8;d=v[c>>2];if(p){v[c>>2]=d|1088;d=v[l>>2]|272;break Ga}v[c>>2]=d|64;d=v[l>>2]|16}p=128;e=32;c=k;break Fa}break e}p=2176;e=544;c=g}v[l>>2]=d;d=b-4|0;v[d>>2]=v[d>>2]|e;v[b+4>>2]=v[b+4>>2]|p;v[b>>2]=v[b>>2]|4096;v[f>>2]=c}v[b>>2]=v[b>>2]|16384}Ka:{if((m|0)<2){break Ka}e=f+D|0;c=b+h|0;d=v[c>>2];if(!(!(d&255)|d&20480)){if(!(t[n+16|0]&1)){break d}d=v[n+8>>2];l=d-1|0;v[n+8>>2]=l;La:{if((d|0)<=0){l=0;d=zf(n);if((d|0)>=0){break La}break t}d=v[n+4>>2]>>>l&1}if(d){if(!(t[n+16|0]&1)){break d}d=v[n+8>>2];l=d-1|0;v[n+8>>2]=l;Ma:{if((d|0)<=0){l=0;d=zf(n);if((d|0)>=0){break Ma}break t}d=v[n+4>>2]>>>l&1}v[b+4>>2]=v[b+4>>2]|4;l=b-4|0;v[l>>2]=v[l>>2]|2;l=c+h|0;p=l-4|0;v[p>>2]=v[p>>2]|1;v[l+4>>2]=v[l+4>>2]|8;v[b>>2]=v[b>>2]|(d?1088:64);v[l>>2]=v[l>>2]|(d?272:16);l=c-4|0;v[l>>2]=v[l>>2]|(d?544:32);v[c+4>>2]=v[c+4>>2]|(d?2176:128);v[c>>2]=v[c>>2]|4096;v[e>>2]=d?g:k}v[c>>2]=v[c>>2]|16384}if((m|0)<3){break Ka}p=e+D|0;c=c+h|0;d=v[c>>2];if(!(!(d&255)|d&20480)){if(!(t[n+16|0]&1)){break c}d=v[n+8>>2];l=d-1|0;v[n+8>>2]=l;Na:{if((d|0)<=0){l=0;d=zf(n);if((d|0)>=0){break Na}break t}d=v[n+4>>2]>>>l&1}if(d){if(!(t[n+16|0]&1)){break c}d=v[n+8>>2];l=d-1|0;v[n+8>>2]=l;Oa:{if((d|0)<=0){l=0;d=zf(n);if((d|0)>=0){break Oa}break t}d=v[n+4>>2]>>>l&1}l=c+(C<<2)|0;v[l+4>>2]=v[l+4>>2]|4;e=l-4|0;v[e>>2]=v[e>>2]|2;e=c+h|0;F=e-4|0;v[F>>2]=v[F>>2]|1;v[e+4>>2]=v[e+4>>2]|8;v[l>>2]=v[l>>2]|(d?1088:64);v[e>>2]=v[e>>2]|(d?272:16);l=c-4|0;v[l>>2]=v[l>>2]|(d?544:32);v[c+4>>2]=v[c+4>>2]|(d?2176:128);v[c>>2]=v[c>>2]|4096;v[p>>2]=d?g:k}v[c>>2]=v[c>>2]|16384}if(A){break Ka}c=c+h|0;d=v[c>>2];if(!(d&255)|d&20480){break Ka}if(!(t[n+16|0]&1)){break b}d=v[n+8>>2];l=d-1|0;v[n+8>>2]=l;Pa:{if((d|0)<=0){l=0;d=zf(n);if((d|0)>=0){break Pa}break t}d=v[n+4>>2]>>>l&1}if(d){if(!(t[n+16|0]&1)){break Da}d=v[n+8>>2];l=d-1|0;v[n+8>>2]=l;Qa:{if((d|0)<=0){l=0;d=zf(n);if((d|0)>=0){break Qa}break t}d=v[n+4>>2]>>>l&1}l=c+(C<<2)|0;v[l+4>>2]=v[l+4>>2]|4;e=l-4|0;v[e>>2]=v[e>>2]|2;e=c+h|0;F=e-4|0;v[F>>2]=v[F>>2]|1;v[e+4>>2]=v[e+4>>2]|8;v[l>>2]=v[l>>2]|(d?1088:64);v[e>>2]=v[e>>2]|(d?272:16);l=c-4|0;v[l>>2]=v[l>>2]|(d?544:32);v[c+4>>2]=v[c+4>>2]|(d?2176:128);v[c>>2]=v[c>>2]|4096;v[p+D>>2]=d?g:k}v[c>>2]=v[c>>2]|16384}f=f+4|0;b=b+4|0;c=o-1|0;if((o|0)>1){continue}break}q=(D<<2)+q|0;i=(h<<2)+i|0;b=(j|0)>4;j=j-4|0;if(b){continue}break}l=1;break t}break b}if(w[(v[v[G+32>>2]+24>>2]+B(Q,488)|0)+418|0]&2){o5(v[u+28>>2])}if(l){X=X+1|0;if((X|0)>=v[r+12>>2]){break n}continue}break}v[R+4>>2]=v[r+20>>2];v[R>>2]=_;Nb(27853,R);b=-1;break g}O(19336,7698,234,189204);L()}O(9724,7698,218,189204);L()}Ra:{switch(v[r+20>>2]-1|0){default:O(13880,7698,308,189204);L();case 1:c=w[(v[v[G+32>>2]+24>>2]+B(Q,488)|0)+418|0]<<27>>31;c=tC(v[u+32>>2],c&127,c&42);b=-1;if((c|0)<0){break g}if(c){Nb(29620,0)}St(v[u+32>>2]);v[u+32>>2]=0;break;case 0:break Ra}}v[u+12>>2]=v[r>>2];b=v[r+4>>2];c=v[r>>2];v[(b?b:Z)>>2]=c;v[(c?c:Z)+4>>2]=b;v[r>>2]=0;v[r+4>>2]=0;b=v[r+24>>2];if(b){ne(b)}$a(r);r=v[u+12>>2];if(r){continue}break}break l}if(v[u+12>>2]){break f}}u=u+44|0;b=U-1|0;if((U|0)>1){continue}break}}W=W+40|0;b=P-1|0;if((P|0)>1){continue}break}}N=N+32|0;b=K-1|0;if((K|0)>1){continue}break}}T=T+60|0;b=I-1|0;if((I|0)>1){continue}break}}S=S+32|0;b=(V|0)>1;V=V-1|0;if(b){continue}break}}b=0}Ma=R+16|0;break a}O(30345,7698,332,189204);L()}O(32183,7698,519,189223);L()}O(32183,7698,528,189223);L()}O(32183,7698,537,189223);L()}O(32183,7698,546,189223);L()}Sa:{if(b){i=-1;d=47709;break Sa}Ta:{Ua:{Va:{d=v[a+56>>2];Wa:{if((d|0)<1){break Wa}e=v[G+36>>2];while(1){i=v[e+20>>2];if((i|0)>=1){K=v[v[G+32>>2]+24>>2]+B(Y,488)|0;l=v[e+24>>2];g=0;while(1){k=v[l+4>>2];Xa:{if(!k){break Xa}r=0;if(v[l>>2]<1){break Xa}while(1){q=v[k+4>>2];Ya:{if(!q){break Ya}o=v[k+28>>2];I=w[K+417|0]-o|0;Za:{if(!(o|I)){break Za}i=v[q+20>>2];if((i|0)<1){break Za}d=v[q+24>>2];if((d|0)<1){break Za}P=1<>2];y=U^-1;b=0;j=0;while(1){if((d|0)>=1){c=v[q+28>>2];i=0;while(1){h=i<<2;n=b<<2;u=h+v[n+c>>2]|0;d=v[u>>2];f=d>>31;f=f^d+f;_a:{if((f|0)>=(P|0)){f=f>>>o|0;v[u>>2]=(d|0)<0?0-f|0:f;break _a}f=f<>2]}j=1;f=f&y}v[h+v[c+n>>2]>>2]=(d|0)<0?0-f|0:f}d=v[q+24>>2];i=i+1|0;if((d|0)>(i|0)){continue}break}i=v[q+20>>2]}b=b+1|0;if((i|0)>(b|0)){continue}break}}if(!v[G+48>>2]){break Ya}GC(v[k+4>>2],13);b=v[k+16>>2];if((b|0)<=-1){break Va}if((b|0)==8192){break Ya}c=v[k+4>>2];i=v[c+20>>2];if((i|0)<1){break Ya}d=v[c+24>>2];if((d|0)<1){break Ya}q=0;while(1){if((d|0)>=1){f=v[v[c+28>>2]+(q<<2)>>2];i=0;while(1){d=f+(i<<2)|0;m=d;d=v[d>>2];j=d;d=d>>31;o=x3a(j,d,b,0);v[m>>2]=d|j?(Pa&8191)<<19|o>>>13:0;d=v[c+24>>2];i=i+1|0;if((d|0)>(i|0)){continue}break}i=v[c+20>>2]}q=q+1|0;if((q|0)<(i|0)){continue}break}}k=k+32|0;r=r+1|0;if((r|0)>2]){continue}break}i=v[e+20>>2]}l=l+60|0;g=g+1|0;if((i|0)>(g|0)){continue}break}d=v[a+56>>2]}e=e+32|0;Y=Y+1|0;if((Y|0)<(d|0)){continue}break}if((d|0)<1){break Wa}i=v[G+36>>2];f=0;while(1){c=v[i+16>>2];b=v[i+28>>2];d=v[b>>2];if((d|0)>=1){k=v[c+28>>2];j=v[k>>2];q=v[c+4>>2];e=v[c+8>>2];y5(b,j,q,e,v[c+12>>2]-q|0,v[c+16>>2]-e|0,v[c+20>>2]>=2?v[k+4>>2]-j>>2:0,d-1|0)}i=i+32|0;d=v[a+56>>2];f=f+1|0;if((d|0)>(f|0)){continue}break}}$a:{ab:{switch(w[v[G+32>>2]+16|0]-1|0){case 1:if((d|0)!=3){break Ua}c=v[G+36>>2];b=v[c+16>>2];d=v[c+80>>2];l=0;bb:{cb:{k=v[b+20>>2];i=v[c+48>>2];if((k|0)!=v[i+20>>2]){break cb}c=v[b+24>>2];if((c|0)!=v[i+24>>2]|(k|0)!=v[d+20>>2]|(c|0)!=v[d+24>>2]){break cb}if(!((k|0)<1|(c|0)<1)){j=v[d+28>>2];q=v[i+28>>2];e=v[b+28>>2];i=c-1|0;o=c&1;while(1){b=l<<2;d=v[b+j>>2];g=v[b+q>>2];r=v[b+e>>2];if(o){f=v[d>>2];I=v[g>>2];b=v[r>>2]-(f+I>>2)|0;v[r>>2]=b+f;v[g>>2]=b;v[d>>2]=b+I;d=d+4|0;g=g+4|0;r=r+4|0;b=i}else{b=c}if((c|0)!=1){while(1){I=v[d>>2];K=v[g>>2];f=v[r>>2]-(I+K>>2)|0;v[r>>2]=f+I;v[g>>2]=f;v[d>>2]=f+K;I=v[d+4>>2];K=v[g+4>>2];f=v[r+4>>2]-(I+K>>2)|0;v[r+4>>2]=f+I;v[g+4>>2]=f;v[d+4>>2]=f+K;d=d+8|0;g=g+8|0;r=r+8|0;f=(b|0)>2;b=b-2|0;if(f){continue}break}}l=l+1|0;if((k|0)!=(l|0)){continue}break}}break bb}O(1345,6316,145,189071);L()}break $a;case 0:break ab;default:break $a}}if((d|0)!=3){break Ta}c=v[G+36>>2];b=v[c+16>>2];g=0;db:{eb:{f=v[b+20>>2];i=v[c+48>>2];d=v[c+80>>2];if(!((f|0)!=v[i+20>>2]|(f|0)!=v[d+20>>2])){c=v[b+24>>2];if((c|0)!=v[i+24>>2]|(c|0)!=v[d+24>>2]){break eb}if(!((f|0)<1|(c|0)<1)){I=v[d+28>>2];K=v[i+28>>2];P=v[b+28>>2];while(1){b=g<<2;k=v[b+I>>2];r=v[b+K>>2];j=v[b+P>>2];b=c;while(1){d=v[r>>2];q=d;l=d>>31;i=v[k>>2];d=i>>31;e=i;i=d;o=v[j>>2];d=x3a(e,d,11485,0);v[j>>2]=o+((Pa&8191)<<19|d>>>13);d=x3a(e,i,-5850,-1);i=(Pa&8191)<<19|d>>>13;d=x3a(q,l,-2819,-1);v[r>>2]=i+(((Pa&8191)<<19|d>>>13)+o|0);d=x3a(q,l,14516,0);v[k>>2]=((Pa&8191)<<19|d>>>13)+o;k=k+4|0;r=r+4|0;j=j+4|0;d=(b|0)>1;b=b-1|0;if(d){continue}break}g=g+1|0;if((f|0)!=(g|0)){continue}break}}break db}O(9351,6316,229,189088);L()}O(12825,6316,231,189088);L()}}f=v[a+56>>2];k=v[G+36>>2];fb:{if(v[G+48>>2]){l=0;if((f|0)<1){break fb}c=k;while(1){b=v[c+16>>2];i=v[b+20>>2];gb:{if((i|0)<1){break gb}e=0;d=v[b+24>>2];if((d|0)<1){break gb}while(1){if((d|0)>=1){f=v[v[b+28>>2]+(e<<2)>>2];i=0;while(1){j=f+(i<<2)|0;d=v[j>>2];hb:{if((d|0)<=-1){d=d+4096&-8192;break hb}d=0-(4096-d&-8192)|0}v[j>>2]=d>>13;d=v[b+24>>2];i=i+1|0;if((d|0)>(i|0)){continue}break}i=v[b+20>>2]}e=e+1|0;if((i|0)>(e|0)){continue}break}f=v[a+56>>2]}c=c+32|0;l=l+1|0;if((l|0)<(f|0)){continue}break}}l=0;if((f|0)<=0){break fb}j=v[a+88>>2];c=j;b=k;while(1){q=0;q=w[c+20|0]?q:1<>2]-1;g=v[b+16>>2];i=v[g+20>>2];ib:{if((i|0)<1){break ib}e=0;d=v[g+24>>2];if((d|0)<1){break ib}while(1){if((d|0)>=1){f=v[v[g+28>>2]+(e<<2)>>2];i=0;while(1){d=f+(i<<2)|0;v[d>>2]=v[d>>2]+q;d=v[g+24>>2];i=i+1|0;if((d|0)>(i|0)){continue}break}i=v[g+20>>2]}e=e+1|0;if((i|0)>(e|0)){continue}break}f=v[a+56>>2]}c=c+32|0;b=b+32|0;l=l+1|0;if((l|0)<(f|0)){continue}break}l=0;if((f|0)<=0){break fb}while(1){b=v[j+16>>2];d=-1<>2];r=v[g+20>>2];kb:{if((r|0)>=2){b=v[g+28>>2];i=v[b+4>>2]-v[b>>2]>>2;break kb}if((r|0)!=1){break jb}}b=v[g+24>>2];if((b|0)<1){break jb}q=v[v[g+28>>2]>>2];e=i<<2;while(1){lb:{if((b|0)<1){break lb}i=q;d=b;if(b&1){i=c;d=v[q>>2];mb:{if((c|0)<=(d|0)){i=f;if((d|0)<=(f|0)){break mb}}v[q>>2]=i}i=q+4|0;d=b-1|0}if((b|0)==1){break lb}while(1){b=c;o=v[i>>2];nb:{if((b|0)<=(o|0)){b=f;if((o|0)<=(b|0)){break nb}}v[i>>2]=b}b=c;o=v[i+4>>2];ob:{if((b|0)<=(o|0)){b=f;if((o|0)<=(b|0)){break ob}}v[i+4>>2]=b}i=i+8|0;b=(d|0)>2;d=d-2|0;if(b){continue}break}}if((r|0)<2){break jb}r=r-1|0;q=e+q|0;b=v[g+24>>2];continue}}j=j+32|0;k=k+32|0;l=l+1|0;b=v[a+56>>2];if((l|0)<(b|0)){continue}break}if((b|0)>=1){i=v[G+36>>2];d=v[a+88>>2];c=0;while(1){b=v[d>>2];f=v[i>>2]-(((b+v[a+4>>2]|0)-1>>>0)/(b>>>0)|0)|0;b=v[d+4>>2];j=v[i+4>>2]-(((b+v[a+8>>2]|0)-1>>>0)/(b>>>0)|0)|0;b=v[i+16>>2];if(mj(v[a>>2],c,f,j,v[b+24>>2],v[b+20>>2],b)){i=-4;d=48713;break Sa}d=d+32|0;i=i+32|0;c=c+1|0;if((c|0)>2]){continue}break}}}return 0}O(49671,16151,1777,188966);L()}O(48214,16151,1072,188947);L()}O(48214,16151,1077,188947);L()}Nb(d,0);return i}function Dwa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,y=0,z=0,B=0,C=0,D=0,E=0,F=0,G=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;R=Ma-224|0;Ma=R;e=v[a+4>>2];if(!(!v[e>>2]|!b)){f=v[e+32>>2];i=v[e+36>>2];e=Ma-16|0;Ma=e;r=R+8|0;k=r;v[k+176>>2]=0;v[k+180>>2]=0;v[k>>2]=875896;t[k+201|0]=0;v[k+168>>2]=i;v[k+160>>2]=f;v[k+108>>2]=0;v[k+104>>2]=b;v[k+184>>2]=0;v[k+188>>2]=0;v[k+192>>2]=0;v[k+196>>2]=0;if(b){v[e>>2]=0;Qa[v[v[b>>2]+52>>2]](b,e)|0;b=v[r+104>>2];v[e>>2]=255;Qa[v[v[b>>2]+60>>2]](b,e)|0;b=v[r+104>>2];v[e>>2]=0;v[e+4>>2]=1072693248;Qa[v[v[b>>2]+68>>2]](b,e)|0;b=v[r+104>>2];k=ab(32);v[e>>2]=k;v[e+4>>2]=5;v[e+8>>2]=-2147483640;rb(k,876360,5);v[k+20>>2]=0;Qa[v[v[b>>2]+220>>2]](b,e)|0;if(t[e+11|0]<=-1){$a(v[e>>2])}b=v[r+104>>2];v[e>>2]=0;Qa[v[v[b>>2]+244>>2]](b,e)|0;b=v[r+104>>2];v[e>>2]=0;v[e+4>>2]=1076101120;Qa[v[v[b>>2]+236>>2]](b,e)|0;b=v[r+104>>2];Qa[v[v[b>>2]+16>>2]](b,r+108|0)|0}u[r+202>>1]=0;u[r+204>>1]=0;v[r+172>>2]=0;t[r+200|0]=1;t[r+205|0]=0;t[r+206|0]=0;t[r+207|0]=0;t[r+208|0]=0;Ma=e+16|0;v[r+164>>2]=v[v[v[a+4>>2]>>2]+24>>2];v[r+172>>2]=d;b=v[v[a+4>>2]>>2];a=c+1|0;P=Ma-16|0;Ma=P;if(v[v[291134]+404>>2]){v[P>>2]=a;yp(346376,P)}B=oq(v[b+28>>2],a);m=Ma-144|0;Ma=m;v[m+140>>2]=1;v[m+128>>2]=0;v[m+132>>2]=0;v[m+120>>2]=0;v[m+124>>2]=0;v[m+112>>2]=0;v[m+116>>2]=0;v[m+104>>2]=0;v[m+108>>2]=0;v[m+88>>2]=13;if(Qa[v[v[r>>2]+40>>2]](r,B,72,72,0,0,1,-1,-1,-1,-1,0,0,0)|0){a=v[v[B+12>>2]+168>>2];e=(a|0)>359?a-360|0:(a|0)<0?a+360|0:a;Qa[v[v[r>>2]+8>>2]](r)|0;a=v[B+12>>2];b=v[a+36>>2];v[m+104>>2]=v[a+32>>2];v[m+108>>2]=b;b=v[a+60>>2];v[m+128>>2]=v[a+56>>2];v[m+132>>2]=b;b=v[a+52>>2];v[m+120>>2]=v[a+48>>2];v[m+124>>2]=b;b=v[a+44>>2];v[m+112>>2]=v[a+40>>2];v[m+116>>2]=b;v[m+140>>2]=0;a=v[B+12>>2];c=a+32|0;if(v[v[291134]+404>>2]){b=v[B+12>>2];g=A[b>>3];j=A[b+8>>3];l=A[b+16>>3];A[m+72>>3]=A[b+24>>3];A[m- -64>>3]=l;A[m+56>>3]=j;A[m+48>>3]=g;mx(342342,m+48|0);g=A[a+40>>3];j=A[a+48>>3];l=A[a+32>>3];A[m+40>>3]=A[a+56>>3];A[m+32>>3]=j;A[m+24>>3]=g;A[m+16>>3]=l;mx(342307,m+16|0);v[m>>2]=v[v[B+12>>2]+168>>2];yp(345219,m)}V=ab(128);k=V;f=v[B+8>>2];a=v[B+12>>2];a=v[a+280>>2]==7?v[a+288>>2]:0;c=v[m+140>>2]?c:0;b=v[B>>2];v[k>>2]=b;b=v[b+24>>2];v[k+12>>2]=0;v[k+4>>2]=b;v[k+16>>2]=v[v[291134]+404>>2];b=ab(112);OG(b,v[k+4>>2],a,0);v[k+8>>2]=r;v[k+20>>2]=b;i=ab(672);a=i;d=Qa[v[v[r>>2]+8>>2]](r)|0;v[a+112>>2]=e;A[a+8>>3]=72;A[a>>3]=72;g=A[m+104>>3];A[a+64>>3]=g;l=A[m+112>>3];A[a+72>>3]=l;j=A[m+120>>3];A[a+80>>3]=j;o=A[m+128>>3];A[a+88>>3]=o;b=a;a:{b:{c:{if((e|0)!=270){if((e|0)!=180){if((e|0)!=90){break c}v[a+16>>2]=0;v[a+20>>2]=0;v[a+40>>2]=0;v[a+44>>2]=0;A[a+32>>3]=1;A[a+96>>3]=(o-l)*1;A[a+48>>3]=-0-l;A[a+24>>3]=d?1:-1;A[a+56>>3]=(d?-g:j)*1;g=j-g;break a}v[a+24>>2]=0;v[a+28>>2]=0;A[a+16>>3]=-1;v[a+32>>2]=0;v[a+36>>2]=0;A[a+48>>3]=j*1;A[a+96>>3]=(j-g)*1;A[a+40>>3]=d?1:-1;A[a+56>>3]=(d?-l:o)*1;break b}v[a+16>>2]=0;v[a+20>>2]=0;A[a+48>>3]=o*1;v[a+40>>2]=0;v[a+44>>2]=0;A[a+32>>3]=-1;A[a+96>>3]=(o-l)*1;A[a+24>>3]=d?-1:1;A[a+56>>3]=(d?j:-g)*1;g=j-g;break a}A[a+16>>3]=1;v[a+24>>2]=0;v[a+28>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;A[a+96>>3]=(j-g)*1;A[a+48>>3]=-0-g;A[a+40>>3]=d?-1:1;A[a+56>>3]=(d?o:-l)*1}g=o-l}A[b+104>>3]=g*1;b=ab(12);v[b+4>>2]=15;v[b+8>>2]=0;v[b>>2]=887480;v[a+116>>2]=b;d=ab(12);b=d;v[b+4>>2]=15;v[b+8>>2]=0;v[b>>2]=887480;v[a+408>>2]=0;v[a+412>>2]=0;v[a+400>>2]=0;v[a+404>>2]=1072693248;v[a+392>>2]=0;v[a+396>>2]=1072693248;v[a+388>>2]=0;v[a+380>>2]=0;v[a+384>>2]=0;v[a+252>>2]=0;v[a+124>>2]=0;v[a+120>>2]=b;v[a+424>>2]=0;v[a+428>>2]=0;v[a+416>>2]=0;v[a+420>>2]=1;v[a+432>>2]=0;v[a+436>>2]=0;v[a+448>>2]=0;v[a+452>>2]=0;v[a+440>>2]=0;v[a+444>>2]=1072693248;v[a+456>>2]=0;v[a+460>>2]=0;v[a+480>>2]=0;v[a+484>>2]=1076101120;v[a+472>>2]=0;v[a+476>>2]=0;v[a+464>>2]=0;v[a+468>>2]=1072693248;v[a+496>>2]=0;v[a+500>>2]=0;v[a+488>>2]=0;v[a+492>>2]=0;v[a+512>>2]=0;v[a+516>>2]=0;v[a+504>>2]=0;v[a+508>>2]=1072693248;v[a+520>>2]=0;v[a+524>>2]=0;v[a+536>>2]=0;v[a+540>>2]=0;v[a+528>>2]=0;v[a+532>>2]=1072693248;v[a+544>>2]=0;v[a+548>>2]=0;v[a+552>>2]=0;v[a+556>>2]=0;v[a+560>>2]=0;v[a+564>>2]=0;v[a+576>>2]=0;v[a+580>>2]=0;v[a+568>>2]=0;v[a+572>>2]=1072693248;v[a+584>>2]=0;v[a+588>>2]=0;v[a+592>>2]=0;b=ab(40);v[b>>2]=0;v[b+28>>2]=0;v[b+32>>2]=16;v[b+8>>2]=0;v[b+12>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;$=b,aa=Pb(16,4),v[$+24>>2]=aa;v[a+600>>2]=0;v[a+604>>2]=0;v[a+596>>2]=b;v[a+608>>2]=0;v[a+612>>2]=0;v[a+616>>2]=0;v[a+620>>2]=0;v[a+624>>2]=0;v[a+628>>2]=0;v[a+632>>2]=0;v[a+636>>2]=0;v[a+640>>2]=0;v[a+644>>2]=0;v[a+664>>2]=0;v[a+668>>2]=0;A[a+648>>3]=A[a+96>>3];A[a+656>>3]=A[a+104>>3];v[k+40>>2]=0;v[k+32>>2]=0;v[k+36>>2]=0;v[k+28>>2]=i;b=v[k+8>>2];Qa[v[v[b>>2]+44>>2]](b,f,a);a=v[k+8>>2];Qa[v[v[a>>2]+36>>2]](a,v[k+28>>2]+16|0);a=v[k+8>>2];Qa[v[v[a>>2]+72>>2]](a,v[k+28>>2]);a=v[k+28>>2];A[k+48>>3]=A[a+16>>3];A[k+56>>3]=A[a+24>>3];A[k- -64>>3]=A[a+32>>3];A[k+72>>3]=A[a+40>>3];A[k+80>>3]=A[a+48>>3];A[k+88>>3]=A[a+56>>3];v[k+96>>2]=0;a=ab(16);hc(a);v[k+108>>2]=0;v[k+100>>2]=1;v[k+104>>2]=a;a=ab(16);hc(a);v[k+120>>2]=0;v[k+116>>2]=0;v[k+112>>2]=a;if(c){g=A[c>>3];a=v[k+28>>2];j=A[c+8>>3];A[a+608>>3]=j;A[a+600>>3]=g;a=v[a+596>>2];A[a+16>>3]=j;A[a+8>>3]=g;v[a>>2]=1;g=A[c+16>>3];a=v[k+28>>2];j=A[c+8>>3];A[a+608>>3]=j;A[a+600>>3]=g;cd(v[a+596>>2],g,j);g=A[c+16>>3];a=v[k+28>>2];j=A[c+24>>3];A[a+608>>3]=j;A[a+600>>3]=g;cd(v[a+596>>2],g,j);g=A[c>>3];a=v[k+28>>2];j=A[c+24>>3];A[a+608>>3]=j;A[a+600>>3]=g;cd(v[a+596>>2],g,j);a=v[k+28>>2];kf(v[a+596>>2]);b=v[a+596>>2];b=v[((v[b+28>>2]<<2)+v[b+24>>2]|0)-4>>2];c=(v[b+12>>2]<<3)-8|0;A[a+600>>3]=A[c+v[b>>2]>>3];A[a+608>>3]=A[c+v[b+4>>2]>>3];ej(v[k+28>>2]);a=v[k+8>>2];Qa[v[v[a>>2]+220>>2]](a,v[k+28>>2]);Ae(v[k+28>>2])}a=B+32|0;ue(a,v[B+4>>2],m+88|0,0);if(v[m+88>>2]!=5){b=v[k+8>>2];Qa[v[v[b>>2]+64>>2]](b,v[k+28>>2]);$=k,aa=gv(v[k+28>>2]),v[$+28>>2]=aa;MG(k,a);b=v[k+28>>2];if(v[b+668>>2]){while(1){a=nl(b);v[k+28>>2]=a;b=v[k+8>>2];Qa[v[v[b>>2]+68>>2]](b,a);b=v[k+28>>2];if(v[b+668>>2]){continue}break}}if(v[v[k+104>>2]+8>>2]>0){while(1){IV(k,k,k);if(v[v[k+104>>2]+8>>2]>0){continue}break}}}bb(m+88|0);if(v[v[291134]+332>>2]){W=ab(12);a=W;b=v[B>>2];D=m+88|0;n=ue(B+16|0,v[B+4>>2],D,0);f=Ma-48|0;Ma=f;v[f+32>>2]=13;v[f+16>>2]=13;v[a+4>>2]=0;v[a+8>>2]=0;v[a>>2]=b;d:{if(v[n>>2]!=6){break d}E=1;b=v[v[b+28>>2]+132>>2];if(b){E=!v[v[b+32>>2]+8>>2]}c=v[n+8>>2];if(v[c+12>>2]<1){break d}while(1){e:{if(v[Nf(c,q,f+32|0)>>2]==9){b=v[f+44>>2];v[f+8>>2]=v[f+40>>2];v[f+12>>2]=b;b=f+32|0;bb(b);ub(v[n+8>>2],q,b,0);break e}v[f+8>>2]=-1;v[f+12>>2]=-1}if(v[f+32>>2]==7){f:{g:{if(E){break g}b=ib(v[f+40>>2],278450,f+16|0,0);if(v[b>>2]!=4){break g}if(!hb(v[b+8>>2],233437)){break f}}C=ab(112);e=C;b=v[a>>2];y=v[f+40>>2];p=0;h=0;i=0;j=0;o=0;d=Ma-112|0;Ma=d;v[e+88>>2]=13;v[e+24>>2]=13;v[d+96>>2]=13;v[d+80>>2]=13;v[d+64>>2]=13;v[d+48>>2]=13;v[d+32>>2]=13;v[e>>2]=b;v[e+104>>2]=1;v[e+4>>2]=v[b+24>>2];b=v[f+8>>2];c=v[f+12>>2];v[e+84>>2]=0;v[e+40>>2]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=b;v[e+12>>2]=c;if(v[ib(y,278450,d- -64|0,0)>>2]==4){b=ab(8);Rb(b,v[d+72>>2]);v[e+16>>2]=b}b=d- -64|0;bb(b);h:{i:{if(v[ib(y,233866,b,0)>>2]!=6){break i}b=v[d+72>>2];if(v[b+12>>2]!=4){break i}v[e+48>>2]=0;v[e+52>>2]=0;v[e+72>>2]=0;v[e+76>>2]=0;c=e- -64|0;v[c>>2]=0;v[c+4>>2]=0;v[e+56>>2]=0;v[e+60>>2]=0;if(v[ub(b,0,d+48|0,0)>>2]-1>>>0<=1){A[e+48>>3]=v[d+48>>2]==1?+v[d+56>>2]:A[d+56>>3]}b=d+48|0;bb(b);if(v[ub(v[d+72>>2],1,b,0)>>2]-1>>>0<=1){A[e+56>>3]=v[d+48>>2]==1?+v[d+56>>2]:A[d+56>>3]}b=d+48|0;bb(b);if(v[ub(v[d+72>>2],2,b,0)>>2]-1>>>0<=1){A[e+64>>3]=v[d+48>>2]==1?+v[d+56>>2]:A[d+56>>3]}b=d+48|0;bb(b);if(v[ub(v[d+72>>2],3,b,0)>>2]-1>>>0<=1){A[e+72>>3]=v[d+48>>2]==1?+v[d+56>>2]:A[d+56>>3]}bb(d+48|0);g=A[e+48>>3];l=A[e+64>>3];if(g>l){A[e+64>>3]=g;A[e+48>>3]=l}g=A[e+56>>3];l=A[e+72>>3];if(!(g>l)){break h}A[e+72>>3]=g;A[e+56>>3]=l;break h}fb(1,-1,247112,0);v[e+104>>2]=0}b=d- -64|0;bb(b);c=ib(y,311732,b,0);v[e+80>>2]=v[c>>2]==1?v[d+72>>2]:0;bb(b);v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=0;v[d+4>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+16>>2]=0;v[d+20>>2]=1072693248;j:{k:{if(v[ib(y,310314,b,0)>>2]==7){i=0;l:{if(v[ib(v[d+72>>2],310327,d+48|0,0)>>2]!=4){break l}m:{if(v[d+48>>2]!=4){break m}b=v[d+56>>2];i=0;if(!hb(b,310327)){break l}i=1;if(!hb(b,312444)){break l}i=2;if(!hb(b,313130)){break l}i=3;if(!hb(b,311375)){break l}if(hb(b,309228)){break m}i=4;break l}i=0}b=d+48|0;bb(b);g=1;if(v[ib(v[d+72>>2],309129,b,0)>>2]-1>>>0<=1){g=v[d+48>>2]==1?+v[d+56>>2]:A[d+56>>3]}b=d+48|0;bb(b);if(v[ib(v[d+72>>2],312444,b,0)>>2]!=6){break k}p=v[v[d+56>>2]+12>>2];h=Pb(p,8);if((p|0)<1){break k}c=0;while(1){b=(c<<3)+h|0;if(v[ub(v[d+56>>2],c,d+32|0,0)>>2]-1>>>0<=1){l=v[d+32>>2]==1?+v[d+40>>2]:A[d+40>>3]}else{l=1}A[b>>3]=l;bb(d+32|0);c=c+1|0;if((p|0)!=(c|0)){continue}break}break k}b=d- -64|0;bb(b);if(v[ib(y,239766,b,0)>>2]!=6){g=1;break j}b=v[d+72>>2];if(v[b+12>>2]<3){g=0;break j}g=1;if(v[ub(b,2,d+48|0,0)>>2]-1>>>0<=1){g=v[d+48>>2]==1?+v[d+56>>2]:A[d+56>>3]}bb(d+48|0);b=v[d+72>>2];if(v[b+12>>2]<4){break j}if(v[ub(b,3,d+48|0,0)>>2]!=6){g=0;break k}i=1;p=v[v[d+56>>2]+12>>2];h=Pb(p,8);if((p|0)<1){break k}c=0;while(1){b=(c<<3)+h|0;if(v[ub(v[d+56>>2],c,d+32|0,0)>>2]-1>>>0<=1){l=v[d+32>>2]==1?+v[d+40>>2]:A[d+40>>3]}else{l=1}A[b>>3]=l;bb(d+32|0);c=c+1|0;if((p|0)!=(c|0)){continue}break}}bb(d+48|0)}b=d- -64|0;bb(b);c=3;s=1;n:{o:{if(v[ib(y,312822,b,0)>>2]!=6){break o}J=v[d+72>>2];b=v[J+12>>2];if(b>>>0>4){break o}l=0;if(!(1<>2]-1>>>0<=1){j=v[d+48>>2]==1?+v[d+56>>2]:A[d+56>>3]}else{j=0}A[Z>>3]=j;bb(d+48|0);c=c+1|0;if((b|0)!=(c|0)){J=v[d+72>>2];continue}break}j=A[d+24>>3];s=A[d+16>>3];o=A[d>>3];c=b;l=A[d+8>>3];break n}l=0}bb(d- -64|0);b=ab(64);v[b+56>>2]=c;A[b+24>>3]=o;v[b+20>>2]=p;v[b+16>>2]=h;A[b+8>>3]=g;v[b>>2]=i;A[b+48>>3]=j;A[b+40>>3]=s;A[b+32>>3]=l;v[e+84>>2]=b;ib(y,310602,d+96|0,0);ib(y,310317,d+80|0,0);p:{q:{if(v[d+80>>2]==4){c=ab(8);Rb(c,v[d+88>>2]);break q}if(v[d+96>>2]==7){ib(v[d+104>>2],310866,d- -64|0,0);r:{if(v[d+64>>2]!=7){break r}b=v[d+72>>2];if(v[b+16>>2]!=1){break r}c=ab(8);Rb(c,v[v[b+4>>2]>>2]);v[e+20>>2]=c}bb(d- -64|0)}if(v[e+20>>2]){break p}c=ab(8);Rb(c,273371)}v[e+20>>2]=c}bb(d+80|0);if(v[d+96>>2]==7){b=e+24|0;ib(v[d+104>>2],310866,d- -64|0,0);Yd(v[d+104>>2],310866,d+48|0);s:{if(v[d+64>>2]==7){if(v[Yd(v[d+72>>2],v[v[e+20>>2]+4>>2],d+32|0)>>2]==9){ee(d+32|0,b)}bb(d+32|0);break s}if(v[d+48>>2]!=9){break s}ee(d+48|0,b)}bb(d- -64|0);bb(d+48|0)}bb(d+96|0);Yd(y,312744,e+88|0);Ma=d+112|0;if(v[e+104>>2]){c=v[a+8>>2];t:{if((z|0)>(c|0)){b=v[a+4>>2];break t}z=z+16|0;b=yc(v[a+4>>2],z,4);v[a+4>>2]=b;c=v[a+8>>2]}v[a+8>>2]=c+1;v[(c<<2)+b>>2]=C;break f}mW(e);$a(C)}bb(f+16|0)}bb(f+32|0);q=q+1|0;c=v[n+8>>2];if((q|0)>2]){continue}break}}Ma=f+48|0;bb(D);c=0;y=a;if(v[a+8>>2]>=1){while(1){a=v[v[y+4>>2]+(c<<2)>>2];d=0;g=0;j=0;o=0;F=0;z=0;O=0;S=0;X=0;T=0;Y=0;U=0;E=Ma-16|0;Ma=E;v[E>>2]=13;ue(a+24|0,v[v[a>>2]+24>>2],E,0);u:{if(v[E>>2]==8){break u}b=v[a+16>>2];if(!b){break u}if(!Ec(b,279789)){b=Ma-192|0;Ma=b;v[b+176>>2]=13;v[b+160>>2]=13;v[b+144>>2]=13;v[b+128>>2]=13;v[b+112>>2]=13;e=v[a+8>>2];v:{if((e|0)<=-1){v[b+176>>2]=5;break v}dn(v[a+4>>2],e,v[a+12>>2],b+176|0,0);if(v[b+176>>2]!=7){break v}e=ab(8);Qd(e);v[a+40>>2]=e;if(v[ib(v[b+184>>2],313174,b+128|0,0)>>2]-1>>>0<=1){hf(b+160|0,v[v[a>>2]+24>>2]);e=qc(306557);f=ee(b+128|0,b+112|0);rd(v[b+168>>2],e,f);Wb(v[a+40>>2],339598)}e=b+128|0;bb(e);WG(a,b+104|0);f=v[a+84>>2];lW(a,f+24|0,v[f+56>>2]);if(v[ib(v[b+184>>2],312761,e,0)>>2]==6){d=(kW(a,b+128|0)|0)!=0}e=b+128|0;bb(e);w:{x:{y:{z:{A:{B:{if(v[ib(v[b+184>>2],311186,e,0)>>2]!=6){break B}e=v[b+136>>2];if(v[e+12>>2]!=4){break B}if(v[ub(e,0,b+112|0,0)>>2]-1>>>0>1){break y}l=A[b+120>>3];p=v[b+120>>2];h=v[b+112>>2];e=b+112|0;bb(e);if(v[ub(v[b+136>>2],1,e,0)>>2]-1>>>0>1){break x}s=A[b+120>>3];n=v[b+120>>2];q=v[b+112>>2];e=b+112|0;bb(e);if(v[ub(v[b+136>>2],2,e,0)>>2]-1>>>0>1){break w}o=A[b+120>>3];z=v[b+120>>2];C=v[b+112>>2];e=b+112|0;bb(e);if(v[ub(v[b+136>>2],3,e,0)>>2]-1>>>0<=1){G=A[b+120>>3];J=v[b+120>>2];D=v[b+112>>2];bb(b+112|0);i=b+128|0;bb(i);e=0;f=0;C:{if(v[ib(v[b+184>>2],312163,i,0)>>2]!=6){break C}i=v[b+136>>2];if(v[i+12>>2]!=2){break C}e=i;i=b+112|0;e=jW(ub(e,0,i,0));bb(i);f=jW(ub(v[b+136>>2],1,i,0));bb(i)}i=b+128|0;bb(i);if(v[ib(v[b+184>>2],311155,i,0)>>2]-1>>>0<=1){F=v[b+128>>2]==1?+v[b+136>>2]:A[b+136>>3]}i=b+128|0;bb(i);if(v[ib(v[b+184>>2],312129,i,0)>>2]-1>>>0<=1){g=v[b+128>>2]==1?+v[b+136>>2]:A[b+136>>3]}i=b+128|0;bb(i);if(v[ib(v[b+184>>2],310660,i,0)>>2]-1>>>0<=1){j=v[b+128>>2]==1?+v[b+136>>2]:A[b+136>>3]}bb(b+128|0);I=(C|0)==1?+(z|0):o;o=A[a+48>>3];I=I-o;L=((h|0)==1?+(p|0):l)-o;o=I-L;l=A[a+56>>3];G=((D|0)==1?+(J|0):G)-l;M=((q|0)==1?+(n|0):s)-l;s=G-M;l=K(o*o+s*s);if(l>0){s=s/l;o=o/l}N=0;if(F!=0){break A}l=0;break z}bb(b+112|0);bb(b+128|0);break v}bb(b+128|0);break v}l=j*o;S=G-l;O=F*o;G=S-O;N=g*o;X=G-N;g=g*s;Q=F*s;j=j*s;T=I+j;I=Q+T;Y=g+I;U=M-l;M=U-O;O=M-N;N=L+j;L=Q+N;l=g+L}j=A[b+104>>3];g=j;D:{E:{switch(e|0){case 1:g=j*6;break D;case 2:g=j*6;break D;case 3:g=j*6;break D;case 5:g=j*8.660254037844387;break D;case 7:g=j*8.660254037844387;break D;case 8:g=j*8.660254037844387;break D;case 0:case 4:case 6:case 9:break E;default:break D}}g=0}Q=s*g;_=o*g;g=j;F:{G:{switch(f|0){case 1:g=j*6;break F;case 2:g=j*6;break F;case 3:g=j*6;break F;case 5:g=j*8.660254037844387;break F;case 7:g=j*8.660254037844387;break F;case 8:g=j*8.660254037844387;break F;case 0:case 4:case 6:case 9:break G;default:break F}}g=0}if(F!=0){i=v[a+40>>2];A[b+88>>3]=O;A[b+80>>3]=l;A[b+72>>3]=U;A[b+64>>3]=N;Fb(i,341978,b- -64|0);i=v[a+40>>2];A[b+56>>3]=X;A[b+48>>3]=Y;A[b+40>>3]=S;A[b+32>>3]=T;Fb(i,341978,b+32|0)}i=v[a+40>>2];A[b+24>>3]=G-s*g;A[b+16>>3]=I-o*g;A[b+8>>3]=M+Q;A[b>>3]=L+_;Fb(i,341978,b);Wb(v[a+40>>2],345536);if(v[v[a+84>>2]>>2]==1){Wb(v[a+40>>2],345238)}iW(a,e,L,M,o,s,j,d);iW(a,f,I,G,-o,-s,j,d);hf(b+144|0,v[v[a>>2]+24>>2]);d=qc(268228);v[b+136>>2]=v[v[a+40>>2]>>2];v[b+128>>2]=1;e=d;d=b+128|0;rd(v[b+152>>2],e,d);e=qc(278450);v[b+128>>2]=4;$=b,aa=qc(255497),v[$+136>>2]=aa;rd(v[b+152>>2],e,d);rs(d,v[v[a>>2]+24>>2]);v[b+120>>2]=0;v[b+124>>2]=0;v[b+112>>2]=2;e=b+112|0;og(v[b+136>>2],e);v[b+120>>2]=0;v[b+124>>2]=0;v[b+112>>2]=2;og(v[b+136>>2],e);g=A[a+48>>3];j=A[a+64>>3];v[b+112>>2]=2;A[b+120>>3]=j-g;og(v[b+136>>2],e);g=A[a+56>>3];j=A[a+72>>3];v[b+112>>2]=2;A[b+120>>3]=j-g;og(v[b+136>>2],e);e=qc(220495);rd(v[b+152>>2],e,d);if(v[b+160>>2]==7){d=b+128|0;hf(d,v[v[a>>2]+24>>2]);e=b+112|0;hf(e,v[v[a>>2]+24>>2]);f=qc(324328);rd(v[b+120>>2],f,b+160|0);f=qc(276637);rd(v[b+136>>2],f,e);e=qc(236775);rd(v[b+152>>2],e,d)}e=ab(48);d=v[a+40>>2];d=aq(e,v[d+4>>2],v[d>>2],b+144|0);bb(a+24|0);v[a+32>>2]=d;v[a+24>>2]=8;break v}bb(b+112|0);bb(b+128|0);break v}bb(b+112|0);bb(b+128|0);break v}bb(b+112|0);bb(b+128|0)}bb(b+176|0);Ma=b+192|0;break u}if(!Ec(v[a+16>>2],279764)){b=Ma-112|0;Ma=b;v[b+96>>2]=13;v[b+80>>2]=13;v[b+64>>2]=13;v[b+48>>2]=13;v[b+32>>2]=13;d=v[a+8>>2];H:{if((d|0)<=-1){v[b+96>>2]=5;break H}dn(v[a+4>>2],d,v[a+12>>2],b+96|0,0);if(v[b+96>>2]!=7){break H}d=ab(8);Qd(d);v[a+40>>2]=d;if(v[ib(v[b+104>>2],313174,b+48|0,0)>>2]-1>>>0<=1){hf(b+80|0,v[v[a>>2]+24>>2]);d=qc(306557);e=ee(b+48|0,b+32|0);rd(v[b+88>>2],d,e);Wb(v[a+40>>2],339598)}e=b+48|0;bb(e);WG(a,b+24|0);d=v[a+84>>2];lW(a,d+24|0,v[d+56>>2]);d=0;if(v[ib(v[b+104>>2],236831,e,0)>>2]==6){e=1;f=v[b+56>>2];if(v[f+12>>2]>1){while(1){if(v[ub(f,d,b+32|0,0)>>2]-1>>>0>=2){bb(b+32|0);bb(b+48|0);break H}g=A[b+40>>3];f=v[b+40>>2];i=v[b+32>>2];p=b+32|0;bb(p);if(v[ub(v[b+56>>2],e,p,0)>>2]-1>>>0>=2){bb(b+32|0);bb(b+48|0);break H}e=v[b+32>>2];p=v[b+40>>2];j=A[b+40>>3];bb(b+32|0);h=v[a+40>>2];l=A[a+48>>3];A[b+8>>3]=((e|0)==1?+(p|0):j)-A[a+56>>3];A[b>>3]=((i|0)==1?+(f|0):g)-l;Fb(h,d?342015:341922,b);d=d+2|0;e=d|1;f=v[b+56>>2];if((e|0)>2]){continue}break}}Wb(v[a+40>>2],345536);d=b+48|0;bb(d);hf(b- -64|0,v[v[a>>2]+24>>2]);e=qc(268228);v[b+56>>2]=v[v[a+40>>2]>>2];v[b+48>>2]=1;rd(v[b+72>>2],e,d);e=qc(278450);v[b+48>>2]=4;$=b,aa=qc(255497),v[$+56>>2]=aa;rd(v[b+72>>2],e,d);rs(d,v[v[a>>2]+24>>2]);v[b+40>>2]=0;v[b+44>>2]=0;v[b+32>>2]=2;e=b+32|0;og(v[b+56>>2],e);v[b+40>>2]=0;v[b+44>>2]=0;v[b+32>>2]=2;og(v[b+56>>2],e);g=A[a+48>>3];j=A[a+64>>3];v[b+32>>2]=2;A[b+40>>3]=j-g;og(v[b+56>>2],e);g=A[a+56>>3];j=A[a+72>>3];v[b+32>>2]=2;A[b+40>>3]=j-g;og(v[b+56>>2],e);e=qc(220495);rd(v[b+72>>2],e,d);if(v[b+80>>2]==7){d=b+48|0;hf(d,v[v[a>>2]+24>>2]);e=b+32|0;hf(e,v[v[a>>2]+24>>2]);f=qc(324328);rd(v[b+40>>2],f,b+80|0);f=qc(276637);rd(v[b+56>>2],f,e);e=qc(236775);rd(v[b+72>>2],e,d)}e=ab(48);d=v[a+40>>2];d=aq(e,v[d+4>>2],v[d>>2],b- -64|0);bb(a+24|0);v[a+32>>2]=d;v[a+24>>2]=8;break H}bb(b+48|0)}bb(b+96|0);Ma=b+112|0;break u}if(!Ec(v[a+16>>2],247871)){b=Ma-96|0;Ma=b;v[b+80>>2]=13;v[b+64>>2]=13;v[b+48>>2]=13;v[b+32>>2]=13;v[b+16>>2]=13;d=v[a+8>>2];I:{if((d|0)<=-1){v[b+80>>2]=5;break I}dn(v[a+4>>2],d,v[a+12>>2],b+80|0,0);if(v[b+80>>2]!=7){break I}d=ab(8);Qd(d);v[a+40>>2]=d;if(v[ib(v[b+88>>2],313174,b+32|0,0)>>2]-1>>>0<=1){hf(b- -64|0,v[v[a>>2]+24>>2]);d=qc(306557);e=ee(b+32|0,b+16|0);rd(v[b+72>>2],d,e);Wb(v[a+40>>2],339598)}d=b+32|0;bb(d);J:{if(v[ib(v[b+88>>2],312761,d,0)>>2]==6){if(kW(a,b+32|0)){break J}}bb(b+32|0);break I}e=b+32|0;bb(e);d=0;if(v[ib(v[b+88>>2],236831,e,0)>>2]==6){e=1;f=v[b+40>>2];if(v[f+12>>2]>1){while(1){if(v[ub(f,d,b+16|0,0)>>2]-1>>>0>=2){bb(b+16|0);bb(b+32|0);break I}g=A[b+24>>3];f=v[b+24>>2];i=v[b+16>>2];p=b+16|0;bb(p);if(v[ub(v[b+40>>2],e,p,0)>>2]-1>>>0>=2){bb(b+16|0);bb(b+32|0);break I}e=v[b+16>>2];p=v[b+24>>2];j=A[b+24>>3];bb(b+16|0);h=v[a+40>>2];l=A[a+48>>3];A[b+8>>3]=((e|0)==1?+(p|0):j)-A[a+56>>3];A[b>>3]=((i|0)==1?+(f|0):g)-l;Fb(h,d?342015:341922,b);d=d+2|0;e=d|1;f=v[b+40>>2];if((e|0)>2]){continue}break}}Wb(v[a+40>>2],342561);d=b+32|0;bb(d);hf(b+48|0,v[v[a>>2]+24>>2]);e=qc(268228);v[b+40>>2]=v[v[a+40>>2]>>2];v[b+32>>2]=1;rd(v[b+56>>2],e,d);e=qc(278450);v[b+32>>2]=4;$=b,aa=qc(255497),v[$+40>>2]=aa;rd(v[b+56>>2],e,d);rs(d,v[v[a>>2]+24>>2]);v[b+24>>2]=0;v[b+28>>2]=0;v[b+16>>2]=2;e=b+16|0;og(v[b+40>>2],e);v[b+24>>2]=0;v[b+28>>2]=0;v[b+16>>2]=2;og(v[b+40>>2],e);g=A[a+48>>3];j=A[a+64>>3];v[b+16>>2]=2;A[b+24>>3]=j-g;og(v[b+40>>2],e);g=A[a+56>>3];j=A[a+72>>3];v[b+16>>2]=2;A[b+24>>3]=j-g;og(v[b+40>>2],e);e=qc(220495);rd(v[b+56>>2],e,d);if(v[b+64>>2]==7){d=b+32|0;hf(d,v[v[a>>2]+24>>2]);e=b+16|0;hf(e,v[v[a>>2]+24>>2]);f=qc(324328);rd(v[b+24>>2],f,b- -64|0);f=qc(276637);rd(v[b+40>>2],f,e);e=qc(236775);rd(v[b+56>>2],e,d)}e=ab(48);d=v[a+40>>2];d=aq(e,v[d+4>>2],v[d>>2],b+48|0);bb(a+24|0);v[a+32>>2]=d;v[a+24>>2]=8;break I}bb(b+32|0)}bb(b+80|0);Ma=b+96|0;break u}if(Ec(v[a+16>>2],225295)){break u}h=Ma-192|0;Ma=h;v[h+176>>2]=13;v[h+160>>2]=13;v[h+144>>2]=13;v[h+128>>2]=13;v[h+112>>2]=13;v[h+96>>2]=13;v[h+80>>2]=13;v[h+64>>2]=13;v[h+48>>2]=13;b=v[a+8>>2];K:{if((b|0)<=-1){v[h+176>>2]=5;break K}dn(v[a+4>>2],b,v[a+12>>2],h+176|0,0);if(v[h+176>>2]!=7){break K}b=ab(8);Qd(b);v[a+40>>2]=b;if(v[ib(v[h+184>>2],313174,h+128|0,0)>>2]-1>>>0<=1){hf(h+160|0,v[v[a>>2]+24>>2]);b=qc(306557);d=ee(h+128|0,h+112|0);rd(v[h+168>>2],b,d);Wb(v[a+40>>2],339598)}b=h+128|0;bb(b);L:{if(v[ib(v[h+184>>2],234430,b,0)>>2]==3){b=v[h+136>>2];d=Hc(ab(8),b);break L}d=Qd(ab(8))}b=h+128|0;bb(b);e=ib(v[h+184>>2],310541,b,0);J=v[e>>2]==1?v[h+136>>2]:0;bb(b);M:{if(v[ib(v[h+184>>2],313171,b,0)>>2]==3){b=v[h+136>>2];p=Hc(ab(8),b);break M}p=Qd(ab(8))}b=h+128|0;bb(b);e=v[ib(v[h+184>>2],276465,b,0)>>2];i=v[h+136>>2];bb(b);f=a;C=(e|0)==1?i:0;n=0;q=Ma-128|0;Ma=q;e=d;N:{if(v[d>>2]<2){break N}a=v[d+4>>2];if(w[a|0]!=254|w[a+1|0]!=255){break N}e=Qd(ab(8));if(v[d>>2]<4){break N}a=2;i=3;while(1){b=e;D=v[d+4>>2];if(w[D+a|0]){i=63}else{i=w[i+D|0]}$b(b,i<<24>>24);a=a+2|0;i=a|1;if((i|0)>2]){continue}break}}i=-1;b=-1;O:{P:{if(!p){break P}n=hc(ab(16));i=v[p>>2];if((i|0)>=1){a=0;while(1){Q:{if((a|0)>=(i|0)){break Q}while(1){b=t[v[p+4>>2]+a|0];if(b>>>0<=255){b=w[b+928528|0]==1}else{b=0}if(!b){i=v[p>>2];break Q}a=a+1|0;i=v[p>>2];if((a|0)<(i|0)){continue}break}}R:{if((a|0)>=(i|0)){b=a;break R}b=a+1|0;S:{if((i|0)<=(b|0)){break S}while(1){i=t[v[p+4>>2]+b|0];if(i>>>0<=255){i=w[i+928528|0]==1}else{i=0}if(i){break S}b=b+1|0;if((b|0)>2]){continue}break}}i=ab(8);rW(i,p,a,b-a|0);Ib(n,i);i=v[p>>2];a=b}if((b|0)<(i|0)){continue}break}}if(v[n+8>>2]<3){i=-1;b=-1;break P}i=-1;b=Ec(v[v[n>>2]+8>>2],273522)?-1:0;T:{if(v[n+8>>2]<4){break T}b=Ec(v[v[n>>2]+12>>2],273522)?b:1;if(v[n+8>>2]<5){break T}b=Ec(v[v[n>>2]+16>>2],273522)?b:2;a=6;if(v[n+8>>2]<6){break T}b=Ec(v[v[n>>2]+20>>2],273522)?b:3;if(v[n+8>>2]<=6){break T}while(1){D=a<<2;U:{if(!Ec(v[D+v[n>>2]>>2],273522)){b=a-2|0;break U}i=Ec(v[D+v[n>>2]>>2],258361)?i:a-6|0}a=a+1|0;if((a|0)>2]){continue}break}}if((b|0)<0){break P}a=b<<2;z=v[a+v[n>>2]>>2];ih(z);Wb(z,227794);z=1;j=Ue(v[v[(a+v[n>>2]|0)+4>>2]+4>>2]);break O}fb(1,-1,272207,0);a=ab(8);Rb(a,227794);Ib(n,a);a=ab(8);Rb(a,325709);Ib(n,a);a=ab(8);Rb(a,273522);Ib(n,a);j=0}Wb(v[f+40>>2],341233);V:{W:{if((C|0)!=270){if((C|0)!=180){if((C|0)!=90){break W}a=v[f+40>>2];A[q+80>>3]=A[f+64>>3]-A[f+48>>3];Fb(a,341833,q+80|0);g=A[f+72>>3]-A[f+56>>3];s=A[f+64>>3];a=f+48|0;break V}a=v[f+40>>2];g=A[f+48>>3];l=A[f+64>>3];A[q+104>>3]=A[f+72>>3]-A[f+56>>3];A[q+96>>3]=l-g;Fb(a,341780,q+96|0);s=A[f+72>>3];g=A[f+64>>3]-s;a=f+56|0;break V}a=v[f+40>>2];A[q+112>>3]=A[f+72>>3]-A[f+56>>3];Fb(a,341810,q+112|0);g=A[f+72>>3]-A[f+56>>3];s=A[f+64>>3];a=f+48|0;break V}g=A[f+64>>3]-A[f+48>>3];s=A[f+72>>3];a=f+56|0}l=A[a>>3];Wb(v[f+40>>2],345516);if(v[e>>2]>=1){a=0;while(1){F=.5;C=v[(w[v[d+4>>2]+a|0]<<2)+1084144>>2];X:{if(!C){break X}if(!qv(v[257874],C,q+126|0)){break X}F=+x[q+126>>1]}o=o+F;a=a+1|0;if((a|0)>2]){continue}break}}l=s-l;Y:{if(j!=0){break Y}j=(g-0)/o;s=l-0;j=H(j>2]+(b<<2)|0)+4>>2];ih(a);A[q+64>>3]=j;Fb(a,217437,q- -64|0)}o=o*j;Z:{_:{switch(J-1|0){default:g=2;break Z;case 0:g=(g-o)*.5;break Z;case 1:break _}}g=g-0+-2-o}j=l*.5+j*-.4;a=0;if((i|0)>=0){b=i<<2;z=v[(b+v[n>>2]|0)+16>>2];ih(z);A[q+48>>3]=g;Fb(z,217437,q+48|0);b=v[(b+v[n>>2]|0)+20>>2];ih(b);A[q+32>>3]=j;Fb(b,217437,q+32|0)}if(v[n+8>>2]>=1){while(1){$b(Ug(v[f+40>>2],v[v[n>>2]+(a<<2)>>2]),32);a=a+1|0;if((a|0)>2]){continue}break}}if((i|0)<=-1){a=v[f+40>>2];A[q+24>>3]=j;A[q+16>>3]=g;Fb(a,341894,q+16|0)}$b(v[f+40>>2],40);if(v[e>>2]>=1){a=0;while(1){b=w[v[e+4>>2]+a|0];$:{if(!(b-40>>>0>=2&(b|0)!=92)){$b(v[f+40>>2],92);$b(v[f+40>>2],b<<24>>24);break $}i=v[f+40>>2];aa:{if(b>>>0>=32){z=b<<24>>24;if((z|0)>-1){break aa}}v[q>>2]=b;Fb(i,217427,q);break $}$b(i,z)}a=a+1|0;if((a|0)>2]){continue}break}}Wb(v[f+40>>2],342133);Wb(v[f+40>>2],345512);Wb(v[f+40>>2],345582);b=v[n+8>>2];if((b|0)>=1){a=0;while(1){i=v[v[n>>2]+(a<<2)>>2];if(i){Bb(i);$a(i);b=v[n+8>>2]}a=a+1|0;if((b|0)>(a|0)){continue}break}}$a(mc(n));if((d|0)!=(e|0)){$a(Bb(e))}Ma=q+128|0;$a(Bb(d));$a(Bb(p));if(A[v[f+84>>2]+8>>3]!=0){WG(f,h+40|0);a=v[f+40>>2];j=A[f+56>>3];l=A[f+72>>3];g=A[h+40>>3];A[h+16>>3]=A[f+64>>3]-A[f+48>>3]-g;A[h+24>>3]=l-j-g;g=g*.5;A[h>>3]=g;A[h+8>>3]=g;Fb(a,340741,h)}hf(h+144|0,v[v[f>>2]+24>>2]);a=qc(268228);v[h+136>>2]=v[v[f+40>>2]>>2];v[h+128>>2]=1;b=a;a=h+128|0;rd(v[h+152>>2],b,a);b=qc(278450);v[h+128>>2]=4;$=h,aa=qc(255497),v[$+136>>2]=aa;rd(v[h+152>>2],b,a);rs(a,v[v[f>>2]+24>>2]);v[h+120>>2]=0;v[h+124>>2]=0;v[h+112>>2]=2;b=h+112|0;og(v[h+136>>2],b);v[h+120>>2]=0;v[h+124>>2]=0;v[h+112>>2]=2;og(v[h+136>>2],b);g=A[f+48>>3];j=A[f+64>>3];v[h+112>>2]=2;A[h+120>>3]=j-g;og(v[h+136>>2],b);g=A[f+56>>3];j=A[f+72>>3];v[h+112>>2]=2;A[h+120>>3]=j-g;og(v[h+136>>2],b);b=qc(220495);rd(v[h+152>>2],b,a);hf(h+96|0,v[v[f>>2]+24>>2]);b=h+48|0;hf(b,v[v[f>>2]+24>>2]);d=qc(279292);v[h+128>>2]=4;$=h,aa=qc(228438),v[$+136>>2]=aa;rd(v[h+56>>2],d,a);d=qc(278450);v[h+128>>2]=4;$=h,aa=qc(324252),v[$+136>>2]=aa;rd(v[h+56>>2],d,a);d=qc(228343);v[h+128>>2]=4;$=h,aa=qc(306550),v[$+136>>2]=aa;rd(v[h+56>>2],d,a);d=qc(272636);v[h+128>>2]=4;$=h,aa=qc(272581),v[$+136>>2]=aa;rd(v[h+56>>2],d,a);a=h- -64|0;hf(a,v[v[f>>2]+24>>2]);d=qc(227795);rd(v[h+72>>2],d,b);b=qc(228438);rd(v[h+104>>2],b,a);if(v[h+160>>2]==7){a=h+80|0;hf(a,v[v[f>>2]+24>>2]);b=qc(324328);rd(v[h+88>>2],b,h+160|0);b=qc(276637);rd(v[h+104>>2],b,a)}a=qc(236775);rd(v[h+152>>2],a,h+96|0);b=ab(48);a=v[f+40>>2];a=aq(b,v[a+4>>2],v[a>>2],h+144|0);bb(f+24|0);v[f+32>>2]=a;v[f+24>>2]=8}bb(h+176|0);Ma=h+192|0}bb(E);Ma=E+16|0;c=c+1|0;if((c|0)>2]){continue}break}}ba:{if(v[y+8>>2]<1){break ba}if(v[v[291134]+404>>2]){YC(235432)}if(v[y+8>>2]<1){break ba}d=0;while(1){c=Ma-16|0;Ma=c;b=v[v[y+4>>2]+(d<<2)>>2];a=v[b+80>>2];ca:{if(a&2|a&32){break ca}if($=0,aa=fz(v[v[b>>2]+36>>2],b+88|0,c+12|0),ba=v[c+12>>2],ba?$:aa){break ca}a=k;i=b+24|0;e=v[b+16>>2];if(e){e=Ec(e,262388);e=e?0:v[b+84>>2]}else{e=0}JG(a,i,e,A[b+48>>3],A[b+56>>3],A[b+64>>3],A[b+72>>3])}Ma=c+16|0;d=d+1|0;if((d|0)>2]){continue}break}}c=0;d=v[y+8>>2];if((d|0)>=1){while(1){a=v[v[y+4>>2]+(c<<2)>>2];if(a){$a(mW(a));d=v[y+8>>2]}c=c+1|0;if((d|0)>(c|0)){continue}break}}tb(v[y+4>>2]);$a(W)}da:{if(!v[v[291134]+336>>2]){break da}f=v[v[v[B>>2]+28>>2]+132>>2];if(!f){break da}i=v[B+8>>2];d=0;c=v[f+32>>2];if(v[c+8>>2]>=1){while(1){b=v[v[c>>2]+(d<<2)>>2];c=0;a=Ma-48|0;Ma=a;v[a+32>>2]=13;v[a+16>>2]=13;v[a>>2]=13;ea:{if(v[ib(v[b+32>>2],236871,a+32|0,0)>>2]==6){e=v[a+40>>2];if(v[e+12>>2]<1){break ea}while(1){p=e;e=a+16|0;Nf(p,c,e);ue(e,v[v[v[b>>2]>>2]+24>>2],a,0);nW(b,i,k,e,a);bb(a);bb(e);c=c+1|0;e=v[a+40>>2];if((c|0)>2]){continue}break}break ea}nW(b,i,k,b+8|0,b+24|0)}bb(a+32|0);Ma=a+48|0;d=d+1|0;c=v[f+32>>2];if((d|0)>2]){continue}break}}}if(!v[k+12>>2]){a=v[k+8>>2];Qa[v[v[a>>2]+48>>2]](a)}a=v[k+28>>2];if(v[a+668>>2]){while(1){a=nl(a);v[k+28>>2]=a;b=v[k+8>>2];Qa[v[v[b>>2]+68>>2]](b,a);a=v[k+28>>2];if(v[a+668>>2]){continue}break}}$a(hq(a));a=v[k+20>>2];if(a){while(1){b=v[a+104>>2];$a(NG(a));v[k+20>>2]=b;a=b;if(b){continue}break}}b=v[k+104>>2];d=v[b+8>>2];if((d|0)>=1){a=0;while(1){c=v[v[b>>2]+(a<<2)>>2];if(c){$a(c);d=v[b+8>>2]}a=a+1|0;if((d|0)>(a|0)){continue}break}}$a(mc(b));a=v[k+112>>2];if(a){$a(mc(a))}$a(V)}Ma=m+144|0;Ma=P+16|0;MW(r)}Ma=R+224|0}function Xia(){var 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,u=0,x=0,z=0,A=0,B=0,C=0,D=0;n=Ma-16|0;Ma=n;a:{if(t[1165656]&1){break a}if(!ie(1165656)){break a}v[291413]=0;he(1165656)}r=v[291413];if(!r){a=ab(44);v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=972220;v[a+4>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;v[a+32>>2]=0;jd(a+8|0,972460);v[a+36>>2]=0;v[a+40>>2]=v[279250];qb(1165652,a);r=v[291413]}b:{if(t[1165648]&1){break b}if(!ie(1165648)){break b}v[291410]=0;v[291411]=0;v[291408]=0;v[291409]=0;v[291408]=970612;v[291409]=0;v[291410]=0;v[291411]=0;he(1165648)}v[n+12>>2]=1165632;a=v[291410];v[n+8>>2]=a;if(a){while(1){k=Ma-48|0;Ma=k;b=ab(100);v[b+8>>2]=0;v[b>>2]=986092;v[b+4>>2]=0;e=v[279250];v[b+16>>2]=0;v[b+20>>2]=0;v[b+12>>2]=e;v[b+24>>2]=0;v[b+28>>2]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+40>>2]=0;jd(b+16|0,971028);v[b+52>>2]=0;v[b+56>>2]=0;v[b+44>>2]=0;v[b+48>>2]=0;v[b+44>>2]=986128;v[b+48>>2]=0;v[b+52>>2]=0;v[b+56>>2]=0;v[b+60>>2]=0;e=v[279250];v[b+68>>2]=0;v[b+72>>2]=0;v[b- -64>>2]=e;v[b+76>>2]=0;v[b+80>>2]=0;v[b+84>>2]=0;v[b+88>>2]=0;v[b+92>>2]=0;jd(b+68|0,986148);v[b+96>>2]=0;v[k+40>>2]=0;qb(k+40|0,b);p=v[k+40>>2];j=Ma-16|0;Ma=j;b=j;e=v[a+8>>2];if(e){v[e+4>>2]=v[e+4>>2]+1;a=v[a+8>>2]}else{a=0}v[b>>2]=a;f=j+8|0;e=Ma-16|0;Ma=e;d=ab(36);b=e;a=v[j>>2];if(a){v[a+4>>2]=v[a+4>>2]+1;a=v[j>>2]}else{a=0}v[b+8>>2]=a;b=0;c=Ma-16|0;Ma=c;v[d+8>>2]=1;v[d+4>>2]=0;v[d>>2]=985936;h=v[e+8>>2];if(h){v[h+4>>2]=v[h+4>>2]+1;b=v[e+8>>2]}v[d+16>>2]=0;v[d+12>>2]=b;b=v[279250];v[d+24>>2]=0;v[d+28>>2]=0;v[d+20>>2]=b;Qh(c,0,0,10);h=d+16|0;b=v[c>>2];c:{if(b){Qa[v[v[b>>2]+28>>2]](c+8|0,b,1);break c}v[c+8>>2]=0}jb(h,c+8|0);b=v[c+8>>2];v[c+8>>2]=0;d:{if(!b){break d}h=v[b+4>>2]-1|0;v[b+4>>2]=h;if(h){break d}h=v[b+4>>2];if(!h){v[b+4>>2]=-32767}if(!h){Qa[v[v[b>>2]+4>>2]](b)}}b=v[d+16>>2];v[d+20>>2]=v[(b?b+12|0:1117e3)>>2];db(c);b=v[d+12>>2];C=d,D=Qa[v[v[b>>2]+16>>2]](b)|0,v[C+32>>2]=D;Ma=c+16|0;e:{if(!a){break e}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break e}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}v[d>>2]=985984;v[f>>2]=0;qb(f,d);a=0;b=Ma-32|0;Ma=b;c=d+12|0;f=v[d+12>>2];if(f){v[f+4>>2]=v[f+4>>2]+1;a=v[c>>2]}v[b+16>>2]=a;v[d+24>>2]=0;em(a,b+20|0,4);f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{a=w[b+20|0]|w[b+21|0]<<8;a=(a<<8|a>>>8)&65535;if(a>>>0<=19566){if(!a){break t}if((a|0)==60){break s}if((a|0)!=15360){break g}a=w[b+22|0]|w[b+23|0]<<8;a=(a<<8|a>>>8)&65535;if((a|0)==16128){break p}if(a){break o}Qh(b+8|0,b+20|0,4,2);f=d+16|0;a=v[b+8>>2];if(!a){break r}Qa[v[v[a>>2]+28>>2]](b+24|0,a,1);break q}if(a>>>0<=65278){if((a|0)==19567){break n}if((a|0)!=61371){break g}if(w[b+22|0]!=191){break h}Qh(b+8|0,b+23|0,1,8);f=d+16|0;a=v[b+8>>2];if(!a){break j}Qa[v[v[a>>2]+28>>2]](b+24|0,a,1);break i}if((a|0)==65279){break k}if((a|0)!=65534){break g}Qh(b+8|0,b+22|0,2,7);f=d+16|0;a=v[b+8>>2];if(!a){break m}Qa[v[v[a>>2]+28>>2]](b+24|0,a,1);break l}u:{v:{w:{x:{y:{z:{A:{a=w[b+22|0]|w[b+23|0]<<8;a=(a<<8|a>>>8)&65535;if(a>>>0<=65278){if((a|0)==60){break A}if((a|0)!=15360){break u}Qh(b+8|0,b+20|0,4,3);f=d+16|0;a=v[b+8>>2];if(!a){break z}Qa[v[v[a>>2]+28>>2]](b+24|0,a,1);break y}if((a|0)==65279){break x}if((a|0)!=65534){break u}Qh(b+8|0,0,0,3);f=d+16|0;a=v[b+8>>2];if(!a){break w}Qa[v[v[a>>2]+28>>2]](b+24|0,a,1);break v}Qh(b+8|0,b+20|0,4,1);f=d+16|0;a=v[b+8>>2];B:{if(a){Qa[v[v[a>>2]+28>>2]](b+24|0,a,1);break B}v[b+24>>2]=0}jb(f,b+24|0);a=v[b+24>>2];v[b+24>>2]=0;C:{if(!a){break C}f=v[a+4>>2]-1|0;v[a+4>>2]=f;if(f){break C}f=v[a+4>>2];if(!f){v[a+4>>2]=-32767}if(!f){Qa[v[v[a>>2]+4>>2]](a)}}a=v[d+16>>2];v[d+20>>2]=v[(a?a+12|0:1117e3)>>2];db(b+8|0);break s}v[b+24>>2]=0}jb(f,b+24|0);a=v[b+24>>2];v[b+24>>2]=0;D:{if(!a){break D}f=v[a+4>>2]-1|0;v[a+4>>2]=f;if(f){break D}f=v[a+4>>2];if(!f){v[a+4>>2]=-32767}if(!f){Qa[v[v[a>>2]+4>>2]](a)}}a=v[d+16>>2];v[d+20>>2]=v[(a?a+12|0:1117e3)>>2];db(b+8|0);break s}Qh(b+8|0,0,0,1);f=d+16|0;a=v[b+8>>2];E:{if(a){Qa[v[v[a>>2]+28>>2]](b+24|0,a,1);break E}v[b+24>>2]=0}jb(f,b+24|0);a=v[b+24>>2];v[b+24>>2]=0;F:{if(!a){break F}f=v[a+4>>2]-1|0;v[a+4>>2]=f;if(f){break F}f=v[a+4>>2];if(!f){v[a+4>>2]=-32767}if(!f){Qa[v[v[a>>2]+4>>2]](a)}}a=v[d+16>>2];v[d+20>>2]=v[(a?a+12|0:1117e3)>>2];db(b+8|0);v[d+32>>2]=v[d+32>>2]+4;break s}v[b+24>>2]=0}jb(f,b+24|0);a=v[b+24>>2];v[b+24>>2]=0;G:{if(!a){break G}f=v[a+4>>2]-1|0;v[a+4>>2]=f;if(f){break G}f=v[a+4>>2];if(!f){v[a+4>>2]=-32767}if(!f){Qa[v[v[a>>2]+4>>2]](a)}}a=v[d+16>>2];v[d+20>>2]=v[(a?a+12|0:1117e3)>>2];db(b+8|0);v[d+32>>2]=v[d+32>>2]+4;break s}Qh(b+8|0,b+20|0,4,8);f=d+16|0;a=v[b+8>>2];H:{if(a){Qa[v[v[a>>2]+28>>2]](b+24|0,a,1);break H}v[b+24>>2]=0}jb(f,b+24|0);a=v[b+24>>2];v[b+24>>2]=0;I:{if(!a){break I}f=v[a+4>>2]-1|0;v[a+4>>2]=f;if(f){break I}f=v[a+4>>2];if(!f){v[a+4>>2]=-32767}if(!f){Qa[v[v[a>>2]+4>>2]](a)}}a=v[d+16>>2];v[d+20>>2]=v[(a?a+12|0:1117e3)>>2];db(b+8|0)}J:{a=w[b+22|0]|w[b+23|0]<<8;a=(a<<8|a>>>8)&65535;if((a|0)!=63){if(a){break J}Qh(b+8|0,b+20|0,4,4);f=d+16|0;a=v[b+8>>2];K:{if(a){Qa[v[v[a>>2]+28>>2]](b+24|0,a,1);break K}v[b+24>>2]=0}jb(f,b+24|0);a=v[b+24>>2];v[b+24>>2]=0;L:{if(!a){break L}f=v[a+4>>2]-1|0;v[a+4>>2]=f;if(f){break L}f=v[a+4>>2];if(!f){v[a+4>>2]=-32767}if(!f){Qa[v[v[a>>2]+4>>2]](a)}}a=v[d+16>>2];v[d+20>>2]=v[(a?a+12|0:1117e3)>>2];db(b+8|0);break f}Qh(b+8|0,b+20|0,4,6);f=d+16|0;a=v[b+8>>2];M:{if(a){Qa[v[v[a>>2]+28>>2]](b+24|0,a,1);break M}v[b+24>>2]=0}jb(f,b+24|0);a=v[b+24>>2];v[b+24>>2]=0;N:{if(!a){break N}f=v[a+4>>2]-1|0;v[a+4>>2]=f;if(f){break N}f=v[a+4>>2];if(!f){v[a+4>>2]=-32767}if(!f){Qa[v[v[a>>2]+4>>2]](a)}}a=v[d+16>>2];v[d+20>>2]=v[(a?a+12|0:1117e3)>>2];db(b+8|0);break f}Qh(b+8|0,b+20|0,4,8);f=d+16|0;a=v[b+8>>2];O:{if(a){Qa[v[v[a>>2]+28>>2]](b+24|0,a,1);break O}v[b+24>>2]=0}jb(f,b+24|0);a=v[b+24>>2];v[b+24>>2]=0;P:{if(!a){break P}f=v[a+4>>2]-1|0;v[a+4>>2]=f;if(f){break P}f=v[a+4>>2];if(!f){v[a+4>>2]=-32767}if(!f){Qa[v[v[a>>2]+4>>2]](a)}}a=v[d+16>>2];v[d+20>>2]=v[(a?a+12|0:1117e3)>>2];db(b+8|0);break f}v[b+24>>2]=0}jb(f,b+24|0);a=v[b+24>>2];v[b+24>>2]=0;Q:{if(!a){break Q}f=v[a+4>>2]-1|0;v[a+4>>2]=f;if(f){break Q}f=v[a+4>>2];if(!f){v[a+4>>2]=-32767}if(!f){Qa[v[v[a>>2]+4>>2]](a)}}a=v[d+16>>2];v[d+20>>2]=v[(a?a+12|0:1117e3)>>2];db(b+8|0);break f}Qh(b+8|0,b+20|0,4,7);f=d+16|0;a=v[b+8>>2];R:{if(a){Qa[v[v[a>>2]+28>>2]](b+24|0,a,1);break R}v[b+24>>2]=0}jb(f,b+24|0);a=v[b+24>>2];v[b+24>>2]=0;S:{if(!a){break S}f=v[a+4>>2]-1|0;v[a+4>>2]=f;if(f){break S}f=v[a+4>>2];if(!f){v[a+4>>2]=-32767}if(!f){Qa[v[v[a>>2]+4>>2]](a)}}a=v[d+16>>2];v[d+20>>2]=v[(a?a+12|0:1117e3)>>2];db(b+8|0);break f}Qh(b+8|0,b+20|0,4,8);f=d+16|0;a=v[b+8>>2];T:{if(a){Qa[v[v[a>>2]+28>>2]](b+24|0,a,1);break T}v[b+24>>2]=0}jb(f,b+24|0);a=v[b+24>>2];v[b+24>>2]=0;U:{if(!a){break U}f=v[a+4>>2]-1|0;v[a+4>>2]=f;if(f){break U}f=v[a+4>>2];if(!f){v[a+4>>2]=-32767}if(!f){Qa[v[v[a>>2]+4>>2]](a)}}a=v[d+16>>2];v[d+20>>2]=v[(a?a+12|0:1117e3)>>2];db(b+8|0);break f}Qh(b+8|0,b+20|0,4,(w[b+23|0]|w[b+22|0]<<8)==42900?9:8);f=d+16|0;a=v[b+8>>2];V:{if(a){Qa[v[v[a>>2]+28>>2]](b+24|0,a,1);break V}v[b+24>>2]=0}jb(f,b+24|0);a=v[b+24>>2];v[b+24>>2]=0;W:{if(!a){break W}f=v[a+4>>2]-1|0;v[a+4>>2]=f;if(f){break W}f=v[a+4>>2];if(!f){v[a+4>>2]=-32767}if(!f){Qa[v[v[a>>2]+4>>2]](a)}}a=v[d+16>>2];v[d+20>>2]=v[(a?a+12|0:1117e3)>>2];db(b+8|0);break f}v[b+24>>2]=0}jb(f,b+24|0);a=v[b+24>>2];v[b+24>>2]=0;X:{if(!a){break X}f=v[a+4>>2]-1|0;v[a+4>>2]=f;if(f){break X}f=v[a+4>>2];if(!f){v[a+4>>2]=-32767}if(!f){Qa[v[v[a>>2]+4>>2]](a)}}a=v[d+16>>2];v[d+20>>2]=v[(a?a+12|0:1117e3)>>2];db(b+8|0);v[d+32>>2]=v[d+32>>2]+2;break f}Qh(b+8|0,b+22|0,2,6);f=d+16|0;a=v[b+8>>2];Y:{if(a){Qa[v[v[a>>2]+28>>2]](b+24|0,a,1);break Y}v[b+24>>2]=0}jb(f,b+24|0);a=v[b+24>>2];v[b+24>>2]=0;Z:{if(!a){break Z}f=v[a+4>>2]-1|0;v[a+4>>2]=f;if(f){break Z}f=v[a+4>>2];if(!f){v[a+4>>2]=-32767}if(!f){Qa[v[v[a>>2]+4>>2]](a)}}a=v[d+16>>2];v[d+20>>2]=v[(a?a+12|0:1117e3)>>2];db(b+8|0);v[d+32>>2]=v[d+32>>2]+2;break f}v[b+24>>2]=0}jb(f,b+24|0);a=v[b+24>>2];v[b+24>>2]=0;_:{if(!a){break _}f=v[a+4>>2]-1|0;v[a+4>>2]=f;if(f){break _}f=v[a+4>>2];if(!f){v[a+4>>2]=-32767}if(!f){Qa[v[v[a>>2]+4>>2]](a)}}a=v[d+16>>2];v[d+20>>2]=v[(a?a+12|0:1117e3)>>2];db(b+8|0);v[d+32>>2]=v[d+32>>2]+3;break f}Qh(b+8|0,b+20|0,4,8);f=d+16|0;a=v[b+8>>2];$:{if(a){Qa[v[v[a>>2]+28>>2]](b+24|0,a,1);break $}v[b+24>>2]=0}jb(f,b+24|0);a=v[b+24>>2];v[b+24>>2]=0;aa:{if(!a){break aa}f=v[a+4>>2]-1|0;v[a+4>>2]=f;if(f){break aa}f=v[a+4>>2];if(!f){v[a+4>>2]=-32767}if(!f){Qa[v[v[a>>2]+4>>2]](a)}}a=v[d+16>>2];v[d+20>>2]=v[(a?a+12|0:1117e3)>>2];db(b+8|0);break f}Qh(b+8|0,b+20|0,4,8);f=d+16|0;a=v[b+8>>2];ba:{if(a){Qa[v[v[a>>2]+28>>2]](b+24|0,a,1);break ba}v[b+24>>2]=0}jb(f,b+24|0);a=v[b+24>>2];v[b+24>>2]=0;ca:{if(!a){break ca}f=v[a+4>>2]-1|0;v[a+4>>2]=f;if(f){break ca}f=v[a+4>>2];if(!f){v[a+4>>2]=-32767}if(!f){Qa[v[v[a>>2]+4>>2]](a)}}a=v[d+16>>2];v[d+20>>2]=v[(a?a+12|0:1117e3)>>2];db(b+8|0)}jb(c,b+16|0);a=v[b+16>>2];v[b+16>>2]=0;da:{if(!a){break da}d=v[a+4>>2]-1|0;v[a+4>>2]=d;if(d){break da}d=v[a+4>>2];if(!d){v[a+4>>2]=-32767}if(!d){Qa[v[v[a>>2]+4>>2]](a)}}Ma=b+32|0;Ma=e+16|0;a=v[j>>2];v[j>>2]=0;ea:{if(!a){break ea}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break ea}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}h=v[j+8>>2];c=Ma-192|0;Ma=c;fa:{ga:{ha:{if(v[p+4>>2]){v[c+160>>2]=0;v[c+164>>2]=0;v[c+152>>2]=0;v[c+156>>2]=0;f=c+152|0;v[f>>2]=970612;v[f+4>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;v[c+144>>2]=0;v[c+148>>2]=v[279250];Qa[v[v[h>>2]+36>>2]](c+136|0,h,0,60,0);s=v[h+28>>2];ia:{a=v[c+136>>2];if(a){b=oE(a);a=v[c+136>>2];if(a){a=v[a+8>>2]}else{a=0}if((a|0)!=(b|0)){break ia}}v[c+128>>2]=0;v[c+132>>2]=v[279250];A=p+8|0;m=p+16|0;ja:{while(1){B=s+1|0;while(1){Qa[v[v[h>>2]+36>>2]](c+168|0,h,0,62,1);a=v[c+168>>2];ka:{if(a){Qa[v[v[a>>2]+28>>2]](c+120|0,a,1);break ka}v[c+120>>2]=0}jb(c+144|0,c+120|0);a=v[c+120>>2];v[c+120>>2]=0;la:{if(!a){break la}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break la}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}a=v[c+144>>2];v[c+148>>2]=v[(a?a+12|0:1117e3)>>2];if(!a){db(c+168|0);break ha}b=v[a+8>>2];db(c+168|0);if(!b){break ha}ma:{na:{oa:{pa:{qa:{ra:{sa:{d=b-1|0;ta:{if(d){a=v[c+144>>2];g=!a;e=d;ua:{if((b|0)>0){break ua}e=d;if(!a){break ua}e=d+v[a+8>>2]|0}if(g|(e|0)<0|v[a+8>>2]<(e|0)){break na}g=v[a+12>>2];break ta}a=v[c+144>>2];if(!a){break sa}e=0;g=v[a+12>>2]}if(w[e+g|0]!=62){break sa}g=v[a+8>>2];if((g|0)<=0){break na}va:{wa:{xa:{ya:{i=v[a+12>>2];e=t[i+1|0];switch(e-47|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break va;case 0:break xa;case 16:break ya;default:break wa}}while(1){za:{if((b|0)>=4){a=c+168|0;We(a,c+144|0,b-2|0,b);b=Hb(a,313348,-1);db(a);if(!b){break za}}Qa[v[v[h>>2]+36>>2]](c+120|0,h,0,62,1);a=v[c+120>>2];if(!a|!v[a+8>>2]){break ra}a=v[Cd(c+144|0,c+120|0)>>2];if(a){b=v[a+8>>2]}else{b=0}db(c+120|0);continue}break}We(c+168|0,c+144|0,2,-1);a=v[c+168>>2];a=v[(a?a+12|0:1117e3)>>2];while(1){b=a;a=a+1|0;e=t[b|0];d=e;if((d|0)==32|d-9>>>0<5){continue}break}a=b;while(1){Aa:{Ba:{Ca:{d=e&255;switch(d-47|0){case 0:case 15:break Aa;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:break Ba;default:break Ca}}if(!d){break Aa}}e=e<<24>>24;if((e|0)==32|e-9>>>0<5){break Aa}e=w[a+1|0];a=a+1|0;continue}break}e=c+112|0;g=eg(c+120|0,b,a-b|0);rF(e,g);b=Hb(e,258604,-1);db(e);Da:{if(b){break Da}dE(a,m);a=v[m+24>>2];v[c+116>>2]=m;v[c+112>>2]=a;b=v[c+112>>2];if(!b){break Da}while(1){if(v[c+116>>2]!=(m|0)){break ga}if(!Hb(b+16|0,272537,-1)){a=v[c+112>>2];if(!a|v[c+116>>2]!=(m|0)){break ga}a=v[a+24>>2];Ea:{if(a){b=c+96|0;UQ(b,a);Up(c+104|0,b);a=v[c+96>>2];v[c+96>>2]=0;if(!a){break Ea}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break Ea}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}break Ea}v[c+104>>2]=0;v[c+108>>2]=v[279250];v[c+96>>2]=0;jb(c+104|0,c+96|0);a=v[c+96>>2];v[c+96>>2]=0;Fa:{if(!a){break Fa}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break Fa}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}a=v[c+104>>2];v[c+108>>2]=v[(a?a+12|0:1117e3)>>2]}if(ld(c+104|0,c+128|0,-1)){a=v[c+104>>2];Ga:{if(a){Qa[v[v[a>>2]+28>>2]](c+96|0,a,1);break Ga}v[c+96>>2]=0}jb(c+128|0,c+96|0);a=v[c+96>>2];v[c+96>>2]=0;Ha:{if(!a){break Ha}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break Ha}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}a=v[c+128>>2];v[c+132>>2]=v[(a?a+12|0:1117e3)>>2];e=Ma-16|0;Ma=e;Qa[v[v[h>>2]+20>>2]](h,v[h+32>>2],0,0)|0;v[h+24>>2]=0;a=Ma-32|0;Ma=a;v[e>>2]=0;v[e+4>>2]=v[279250];b=a;d=v[c+128>>2];if(d){v[d+4>>2]=v[d+4>>2]+1;d=v[c+128>>2]}else{d=0}v[b+8>>2]=d;wu(a+16|0,0,0,a+8|0);b=v[a+16>>2];Ia:{if(b){Qa[v[v[b>>2]+28>>2]](a+24|0,b,1);break Ia}v[a+24>>2]=0}jb(e,a+24|0);b=v[a+24>>2];v[a+24>>2]=0;Ja:{if(!b){break Ja}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break Ja}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}b=v[e>>2];v[e+4>>2]=v[(b?b+12|0:1117e3)>>2];b=v[a+16>>2];v[a+16>>2]=0;Ka:{if(!b){break Ka}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break Ka}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}b=v[a+8>>2];v[a+8>>2]=0;La:{if(!b){break La}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break La}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}Ma=a+32|0;b=h+16|0;a=v[e>>2];Ma:{if(a){Qa[v[v[a>>2]+28>>2]](e+8|0,a,1);break Ma}v[e+8>>2]=0}jb(b,e+8|0);a=v[e+8>>2];v[e+8>>2]=0;Na:{if(!a){break Na}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break Na}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}a=v[h+16>>2];v[h+20>>2]=v[(a?a+12|0:1117e3)>>2];db(e);Ma=e+16|0}db(c+104|0)}a=v[c+112>>2];if(!a){break Da}b=v[a>>2];v[c+112>>2]=b;if(b){continue}break}}db(g);db(c+168|0);break ma}We(c+168|0,c+144|0,2,-1);a=v[c+168>>2];a=v[(a?a+12|0:1117e3)>>2];while(1){b=a;a=a+1|0;e=t[b|0];d=e;if((d|0)==32|d-9>>>0<5){continue}break}a=b;while(1){Oa:{Pa:{Qa:{d=e&255;switch(d-47|0){case 0:case 15:break Oa;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:break Pa;default:break Qa}}if(!d){break Oa}}e=e<<24>>24;if((e|0)==32|e-9>>>0<5){break Oa}e=w[a+1|0];a=a+1|0;continue}break}a=eg(c+120|0,b,a-b|0);db(c+168|0);v[c+116>>2]=f;b=v[c+164>>2];v[c+112>>2]=b;if(b){if(ld(v[b+8>>2]+8|0,c+120|0,-1)){break qa}Ag(f,c+112|0);db(a);break ma}lb(mb(c+168|0,255440,240989,276,334413));L()}if((e|0)==33){break oa}}l=v[c+164>>2];v[c+104>>2]=0;Ra:{if(l){e=ab(100);q=c+168|0;We(q,c+144|0,1,d);u=c+104|0;a=v[c+168>>2];a=v[(a?a+12|0:1117e3)>>2];g=Ma-16|0;Ma=g;v[e+8>>2]=0;v[e>>2]=986092;v[e+4>>2]=0;i=v[279250];d=e;v[d+16>>2]=0;v[d+20>>2]=0;v[d+12>>2]=i;v[d+24>>2]=0;v[d+28>>2]=0;v[d+32>>2]=0;v[d+36>>2]=0;v[d+40>>2]=0;x=d+16|0;jd(x,971028);v[d+52>>2]=0;v[d+56>>2]=0;v[d+44>>2]=0;v[d+48>>2]=0;v[d+44>>2]=986128;v[d+48>>2]=0;v[d+52>>2]=0;v[d+56>>2]=0;v[d+60>>2]=0;e=v[279250];v[d+68>>2]=0;v[d+72>>2]=0;v[d- -64>>2]=e;v[d+76>>2]=0;v[d+80>>2]=0;v[d+84>>2]=0;v[d+88>>2]=0;v[d+92>>2]=0;jd(d+68|0,986148);v[d+96>>2]=0;o=d+8|0;while(1){e=a;a=a+1|0;i=t[e|0];if((i|0)==32|i-9>>>0<5){continue}break}a=e;while(1){Sa:{Ta:{Ua:{z=i&255;switch(z-47|0){case 0:case 15:break Sa;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:break Ta;default:break Ua}}if(!z){break Sa}}if((i|0)==32|i-9>>>0<5){break Sa}i=t[a+1|0];a=a+1|0;continue}break}i=eg(g,e,a-e|0);e=v[i>>2];Va:{if(e){Qa[v[v[e>>2]+28>>2]](g+8|0,e,1);break Va}v[g+8>>2]=0}jb(o,g+8|0);e=v[g+8>>2];v[g+8>>2]=0;Wa:{if(!e){break Wa}o=v[e+4>>2]-1|0;v[e+4>>2]=o;if(o){break Wa}o=v[e+4>>2];if(!o){v[e+4>>2]=-32767}if(!o){Qa[v[v[e>>2]+4>>2]](e)}}e=v[d+8>>2];v[d+12>>2]=v[(e?e+12|0:1117e3)>>2];db(i);dE(a,x);Ma=g+16|0;qb(u,d);db(q);q=v[l+8>>2];a=c;d=a;e=v[a+104>>2];if(e){v[e+4>>2]=v[e+4>>2]+1;a=v[c+104>>2]}else{a=0}v[d+16>>2]=a;e=0;a=0;d=Ma-32|0;Ma=d;g=v[c+16>>2];if(g){v[g+4>>2]=v[g+4>>2]+1;e=v[c+16>>2]}v[d+24>>2]=v[279250];v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=e;i=d+16|0;jb(i,d+8|0);u=q+44|0;g=Ma-16|0;Ma=g;e=ab(20);v[e>>2]=0;v[e+4>>2]=0;v[e+16>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;l=v[i>>2];if(l){v[l+4>>2]=v[l+4>>2]+1;a=v[i>>2]}v[e+12>>2]=0;v[e+8>>2]=a;v[e+16>>2]=v[279250];l=e+12|0;a=v[i+4>>2];Xa:{if(a){Qa[v[v[a>>2]+28>>2]](g+8|0,a,1);break Xa}v[g+8>>2]=0}jb(l,g+8|0);a=v[g+8>>2];v[g+8>>2]=0;Ya:{if(!a){break Ya}l=v[a+4>>2]-1|0;v[a+4>>2]=l;if(l){break Ya}l=v[a+4>>2];if(!l){v[a+4>>2]=-32767}if(!l){Qa[v[v[a>>2]+4>>2]](a)}}a=v[e+12>>2];v[e+16>>2]=v[(a?a+12|0:1117e3)>>2];Ma=g+16|0;de(u,e);db(i|4);a=v[d+16>>2];v[d+16>>2]=0;Za:{if(!a){break Za}e=v[a+4>>2]-1|0;v[a+4>>2]=e;if(e){break Za}e=v[a+4>>2];if(!e){v[a+4>>2]=-32767}if(!e){Qa[v[v[a>>2]+4>>2]](a)}}a=v[d+8>>2];v[d+8>>2]=0;_a:{if(!a){break _a}e=v[a+4>>2]-1|0;v[a+4>>2]=e;if(e){break _a}e=v[a+4>>2];if(!e){v[a+4>>2]=-32767}if(!e){Qa[v[v[a>>2]+4>>2]](a)}}i=SS(q+68|0,v[c+16>>2]+8|0);a=ab(12);v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;e=a;g=v[c+16>>2];if(g){v[g+4>>2]=v[g+4>>2]+1;g=v[c+16>>2]}else{g=0}v[e+8>>2]=g;de(i+24|0,a);Ma=d+32|0;a=v[c+16>>2];v[c+16>>2]=0;$a:{if(!a){break $a}e=v[a+4>>2]-1|0;v[a+4>>2]=e;if(e){break $a}e=v[a+4>>2];if(!e){v[a+4>>2]=-32767}if(!e){Qa[v[v[a>>2]+4>>2]](a)}}a=b-2|0;ab:{bb:{if(a){e=v[c+144>>2];if(!(!e|(b|0)>1)){a=v[e+8>>2]+a|0}if(!e|(a|0)<0|v[e+8>>2]<(a|0)){break na}b=v[e+12>>2];break bb}a=v[c+144>>2];if(!a){break ab}b=v[a+12>>2];a=0}if(w[a+b|0]==47){break Ra}}a=ab(12);v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;b=a;e=v[c+104>>2];if(e){v[e+4>>2]=v[e+4>>2]+1;e=v[c+104>>2]}else{e=0}v[b+8>>2]=e;de(f,a);break Ra}e=b-2|0;cb:{db:{if(e){if((b|0)<=1){e=e+g|0;if((e|0)<0){break na}}if((e|0)<=(g|0)){break db}break na}e=0;if(!a){break cb}}if(w[e+i|0]==47){break pa}}We(c+168|0,c+144|0,1,-1);a=v[c+168>>2];a=v[(a?a+12|0:1117e3)>>2];while(1){b=a;a=a+1|0;e=t[b|0];d=e;if((d|0)==32|d-9>>>0<5){continue}break}a=b;while(1){eb:{fb:{gb:{d=e&255;switch(d-47|0){case 0:case 15:break eb;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:break fb;default:break gb}}if(!d){break eb}}e=e<<24>>24;if((e|0)==32|e-9>>>0<5){break eb}e=w[a+1|0];a=a+1|0;continue}break}e=eg(c+120|0,b,a-b|0);b=v[c+120>>2];hb:{if(b){Qa[v[v[b>>2]+28>>2]](c+112|0,b,1);break hb}v[c+112>>2]=0}jb(A,c+112|0);b=v[c+112>>2];v[c+112>>2]=0;ib:{if(!b){break ib}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break ib}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}b=v[p+8>>2];v[p+12>>2]=v[(b?b+12|0:1117e3)>>2];db(e);dE(a,m);qb(c+104|0,p);a=ab(12);v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;b=a;e=v[c+104>>2];if(e){v[e+4>>2]=v[e+4>>2]+1;e=v[c+104>>2]}else{e=0}v[b+8>>2]=e;de(f,a);db(c+168|0)}a=v[c+104>>2];v[a+96>>2]=B;v[c+104>>2]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break ma}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}break ma}Rc(c+120|0,348513,c+144|0);a=v[c+120>>2];lb(mb(c+168|0,v[(a?a+12|0:1117e3)>>2],240989,207,334413));L()}Rc(c+112|0,348846,c+144|0);a=v[c+112>>2];lb(mb(c+168|0,v[(a?a+12|0:1117e3)>>2],240989,218,334413));L()}b=v[c+116>>2];v[c+72>>2]=v[c+112>>2];v[c+76>>2]=b;b=c+80|0;e=c+152|0;Rc(b,348743,v[jQ(e,c+72|0)>>2]+8|0);d=v[c+116>>2];v[c+48>>2]=v[c+112>>2];v[c+52>>2]=d;d=c- -64|0;Rc(d,349014,Qe(c+56|0,v[v[jQ(e,c+48|0)>>2]+96>>2]));e=c+88|0;Xb(e,b,d);b=c+40|0;Rc(b,349014,a);a=c+96|0;Xb(a,e,b);b=c+32|0;Rc(b,349014,Qe(c+24|0,s+1|0));Xb(c+104|0,a,b);a=v[c+104>>2];lb(mb(c+168|0,v[(a?a+12|0:1117e3)>>2],240989,271,334413));L()}lb(mb(c+168|0,219593,240989,302,334413));L()}if((g|0)<=1){break na}if(w[i+2|0]!=45){break ma}if((g|0)<=2){break na}if(w[i+3|0]!=45){break ma}while(1){if((b|0)>=7){a=c+168|0;We(a,c+144|0,b-3|0,-1);b=Hb(a,313358,-1);db(a);if(!b){break ma}}Qa[v[v[h>>2]+36>>2]](c+120|0,h,0,62,1);a=v[c+120>>2];if(!a|!v[a+8>>2]){break ja}a=v[Cd(c+144|0,c+120|0)>>2];if(a){b=v[a+8>>2]}else{b=0}db(c+120|0);continue}}ni();L()}Qa[v[v[h>>2]+36>>2]](c+168|0,h,0,60,0);a=v[c+168>>2];jb:{if(a){Qa[v[v[a>>2]+28>>2]](c+120|0,a,1);break jb}v[c+120>>2]=0}jb(c+136|0,c+120|0);a=v[c+120>>2];v[c+120>>2]=0;kb:{if(!a){break kb}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break kb}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}a=v[c+136>>2];v[c+140>>2]=v[(a?a+12|0:1117e3)>>2];if(!a){db(c+168|0);continue}a=w[v[a+12>>2]];db(c+168|0);if(!a){continue}break}s=v[h+28>>2];a=v[c+164>>2];if(a){b=v[a+8>>2];v[c+8>>2]=0;v[c+12>>2]=v[279250];a=v[c+136>>2];lb:{if(a){Qa[v[v[a>>2]+28>>2]](c+168|0,a,1);break lb}v[c+168>>2]=0}jb(c+8|0,c+168|0);a=v[c+168>>2];v[c+168>>2]=0;mb:{if(!a){break mb}e=v[a+4>>2]-1|0;v[a+4>>2]=e;if(e){break mb}e=v[a+4>>2];if(!e){v[a+4>>2]=-32767}if(!e){Qa[v[v[a>>2]+4>>2]](a)}}a=v[c+8>>2];v[c+12>>2]=v[(a?a+12|0:1117e3)>>2];a=v[b+52>>2];b=a?a+12|0:b+60|0;a=c+8|0;Cd(b,a);db(a);continue}a=v[c+136>>2];if(!a){continue}b=oE(a);a=v[c+136>>2];if(a){a=v[a+8>>2]}else{a=0}if((a|0)==(b|0)){continue}break}Rc(c+120|0,348471,c+136|0);a=v[c+120>>2];lb(mb(c+168|0,v[(a?a+12|0:1117e3)>>2],240989,317,334413));L()}v[c+112>>2]=0;v[c+116>>2]=v[279250];a=v[c+144>>2];v[c>>2]=v[(a?a+12|0:1117e3)>>2];Gd(c+112|0,237199,c);a=v[c+112>>2];lb(mb(c+168|0,v[(a?a+12|0:1117e3)>>2],240989,254,334413));L()}Rc(c+128|0,348471,c+136|0);a=v[c+128>>2];lb(mb(c+168|0,v[(a?a+12|0:1117e3)>>2],240989,200,334413));L()}lb(mb(c+168|0,310580,240989,193,334413));L()}db(c+128|0);db(c+136|0);db(c+144|0);ac(f);Ma=c+192|0;break fa}wd(c+112|0,m);L()}a=v[j+8>>2];v[j+8>>2]=0;nb:{if(!a){break nb}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break nb}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=j+16|0;j=k+24|0;a=v[k+40>>2];b=0;e=Ma-16|0;Ma=e;d=Oc(e,972411);c=Bd(d);a=v[v[a+80>>2]+((c>>>0)%y[a+76>>2]<<2)>>2];ob:{if(!a){break ob}while(1){pb:{if((c|0)!=v[a+12>>2]){break pb}if(ld(a+16|0,d,-1)){break pb}b=a;break ob}a=v[a+8>>2];if(a){continue}break}}db(d);v[e+8>>2]=0;v[e+12>>2]=0;v[e>>2]=0;v[e+4>>2]=0;v[e>>2]=970612;v[e+4>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;Lf(j,b?b+24|0:e);ac(e);Ma=e+16|0;if(v[k+28>>2]){h=Lf(k+8|0,k+24|0);j=r+8|0;e=Ma-48|0;Ma=e;c=v[k+16>>2];if(c){while(1){d=v[c+8>>2];qb:{if(!d){break qb}b=0;a=e+32|0;m=Oc(a,972416);f=Bd(a);g=d+68|0;a=g;a=v[v[a+12>>2]+((f>>>0)%y[a+8>>2]<<2)>>2];rb:{if(!a){break rb}while(1){sb:{if((f|0)!=v[a+12>>2]){break sb}if(ld(a+16|0,e+32|0,-1)){break sb}b=a;break rb}a=v[a+8>>2];if(a){continue}break}}v[e+44>>2]=g;v[e+40>>2]=b;db(m);if(!b){break qb}tb:{a=v[c+8>>2];if((a|0)==(d|0)){m=Lf(e+16|0,b+24|0);b=v[e+24>>2];if(!b){break tb}while(1){a=v[b+8>>2];ub:{if(!a){break ub}v[a+4>>2]=v[a+4>>2]+1;a=v[b+8>>2];v[e+8>>2]=a;if(a){d=Oc(e,972424);f=Bd(e);vb:{wb:{a=v[v[a+28>>2]+((f>>>0)%y[a+24>>2]<<2)>>2];if(a){while(1){if((f|0)==v[a+12>>2]){if(!ld(a+16|0,e,-1)){break wb}}a=v[a+8>>2];if(a){continue}break}}db(d);break vb}db(d);d=a+24|0;f=Bd(d);a=v[v[j+12>>2]+((f>>>0)%y[j+8>>2]<<2)>>2];xb:{if(a){while(1){if((f|0)==v[a+12>>2]){if(!ld(a+16|0,d,-1)){break xb}}a=v[a+8>>2];if(a){continue}break}}a=ab(28);v[a>>2]=0;v[a+4>>2]=0;v[a+24>>2]=0;f=a+16|0;v[f>>2]=0;v[f+4>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a+20>>2]=v[279250];d=v[d>>2];yb:{if(d){Qa[v[v[d>>2]+28>>2]](e,d,1);break yb}v[e>>2]=0}jb(f,e);d=v[e>>2];v[e>>2]=0;zb:{if(!d){break zb}g=v[d+4>>2]-1|0;v[d+4>>2]=g;if(g){break zb}g=v[d+4>>2];if(!g){v[d+4>>2]=-32767}if(!g){Qa[v[v[d>>2]+4>>2]](d)}}d=v[a+16>>2];d=v[(d?d+12|0:1117e3)>>2];v[a+24>>2]=0;v[a+20>>2]=d;C=a,D=Bd(f),v[C+12>>2]=D;bj(j,a)}jb(a+24|0,e+8|0)}a=v[e+8>>2]}v[e+8>>2]=0;if(!a){break ub}d=v[a+4>>2]-1|0;v[a+4>>2]=d;if(d){break ub}d=v[a+4>>2];if(!d){v[a+4>>2]=-32767}if(!d){Qa[v[v[a>>2]+4>>2]](a)}}b=v[b>>2];if(b){continue}break}break tb}wd(e+40|0,a+68|0);L()}ac(m)}c=v[c>>2];if(c){continue}break}}Ma=e+48|0;ac(h)}ac(k+24|0);a=v[k+40>>2];v[k+40>>2]=0;Ab:{if(!a){break Ab}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break Ab}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=k+48|0;Ag(1165632,n+8|0);v[n+12>>2]=1165632;a=v[291410];v[n+8>>2]=a;if(a){continue}break}}Ma=n+16|0;return r|0}function A3(a,b,c){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,p=0,q=0,r=0,s=0,A=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=C(0);d=Ma-368|0;Ma=d;E=x[a+25204>>1];h=d+6|0;Qa[v[v[a>>2]>>2]](v[a+4>>2],h,1,10)|0;a:{if(!Jb(h,60848,3)){break a}if(!Jb(d+6|0,60994,3)|(w[d+6|0]|w[d+7|0]<<8|(w[d+8|0]<<16|w[d+9|0]<<24))==1229539657|(w[d+6|0]|w[d+7|0]<<8|(w[d+8|0]<<16|w[d+9|0]<<24))==1296911693){break a}b:{c:{if((w[d+6|0]|w[d+7|0]<<8)!=17227){if(Jb(d+6|0,61683,3)){break c}}u[a+25204>>1]=19789;b=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;if(b>>>0>16383){break b}c=v[a+26052>>2];h=b>>31;if((c|0)<=(h|0)&b>>>0>=y[a+26048>>2]|(c|0)<(h|0)){break b}h=0;while(1){b=h;u[d+16>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+16|0,1,2)|0;c=w[d+16|0];if(x[a+25204>>1]==18761){c=c|w[d+17|0]<<8}else{c=w[d+17|0]|c<<8}d:{if((p|0)!=256){break d}h=c&65535;if((h|0)!=256|g>>>0<257|(b>>>0<257|g>>>0>639)){break d}if(b>>>0>639){break d}v[a+59272>>2]=1132462080;z[a+59276>>2]=b>>>0;z[a+59268>>2]=g>>>0;z[a+59280>>2]=h>>>0}e=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;if(e>>>0>16383){break b}h=p;g=b;p=c&65535;b=v[a+26052>>2];c=e>>31;if(e>>>0>2]&(b|0)>=(c|0)|(b|0)>(c|0)){continue}break}break b}e:{if(!Jb(d+6|0,61763,6)){b=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;u[d+16>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+16|0,1,2)|0;h=w[d+16|0];e=a;if(x[a+25204>>1]==18761){g=h|w[d+17|0]<<8}else{g=w[d+17|0]|h<<8}u[e+25204>>1]=g;u[d+16>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+16|0,1,2)|0;g=w[d+16|0];if(x[a+25204>>1]==18761){e=g|w[d+17|0]<<8}else{e=w[d+17|0]|g<<8}if((e&65535)!=42){break b}g=Im(a);Qa[v[v[a>>2]+8>>2]](v[a+4>>2],g-8|0,1)|0;break e}if((w[d+6|0]|w[d+7|0]<<8|(w[d+8|0]<<16|w[d+9|0]<<24))==1297697871&(w[d+10|0]|w[d+11|0]<<8|(w[d+12|0]<<16|w[d+13|0]<<24))==5461328){b=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],-2,1)|0;L=a,M=Gl(a),u[L+25204>>1]=M;Gl(a);b=b-10|0;break e}f:{e=w[d+6|0]|w[d+7|0]<<8|(w[d+8|0]<<16|w[d+9|0]<<24);if(!((e|0)==1229608262&(w[d+10|0]|w[d+11|0]<<8|(w[d+12|0]<<16|w[d+13|0]<<24))==1296845126|(e|0)==1498304339)){if(Jb(d+6|0,62422,10)){break f}}u[a+25204>>1]=18761;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],2,1)|0;break e}g:{h:{if(!Jb(d+6|0,62585,6)){break h}if(!Jb(d+6|0,62858,6)){break h}if(!Jb(d+6|0,62967,6)){break h}if(Jb(d+6|0,63133,6)){break g}}Qa[v[v[a>>2]+8>>2]](v[a+4>>2],-2,1)|0;break e}e=w[d+6|0]|w[d+7|0]<<8|(w[d+8|0]<<16|w[d+9|0]<<24);if(!((e|0)!=4411201&(e|0)!=4413009)){Qa[v[v[a>>2]+8>>2]](v[a+4>>2],-4,1)|0;break e}Qa[v[v[a>>2]+8>>2]](v[a+4>>2],-10,1)|0}u[d+16>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+16|0,1,2)|0;g=w[d+16|0];if(x[a+25204>>1]==18761){g=g|w[d+17|0]<<8}else{g=w[d+17|0]|g<<8}h=g&65535;if(h>>>0>1e3){break a}if(!h){break b}F=a+25797|0;G=a+25925|0;H=a+25861|0;r=a+25733|0;I=c<<16;J=b;K=b>>31;s=g&65535;n=a+59268|0;while(1){Ft(a,b,d+360|0,d+356|0,d+352|0,d+348|0);c=v[d+360>>2]|I;v[d+360>>2]=c;s=s-1|0;i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{if((c|0)==2){if(!Cc(r,63686)){h=v[d+356>>2];i=(h|0)==4;e=v[d+352>>2];break t}u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;g=w[d+364|0];c=a;if(x[a+25204>>1]==18761){e=g|w[d+365|0]<<8}else{e=w[d+365|0]|g<<8}z[c+26e3>>2]=(e&65535)>>>0;c=v[d+360>>2]}e=v[d+352>>2];if(!((c|0)!=4|e>>>0<27|e>>>0>34)){v[d+364>>2]=-1;c=d+364|0;Qa[v[v[a>>2]>>2]](v[a+4>>2],c,1,4)|0;u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c,1,2)|0;c=w[d+364|0];if(x[a+25204>>1]==18761){c=c|w[d+365|0]<<8}else{c=w[d+365|0]|c<<8}c=c&65535;if(!((c|0)==32767|z[a+26e3>>2]!=C(0))){L=a,N=C(C(Ol(+(c>>>0)*.03125+-4))*C(50)),z[L+26e3>>2]=N}u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;c=w[d+364|0];if(x[a+25204>>1]==18761){c=c|w[d+365|0]<<8}else{c=w[d+365|0]|c<<8}c=c&65535;if(!((c|0)==32767|z[a+26008>>2]!=C(0))){L=a,N=C(Ol(+(c>>>0)*.015625)),z[L+26008>>2]=N}u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;c=w[d+364|0];if(x[a+25204>>1]==18761){c=c|w[d+365|0]<<8}else{c=w[d+365|0]|c<<8}if(!((c&65535)==65535|z[a+26004>>2]!=C(0))){L=a,N=C(Ol(+(c<<16>>16)*-.03125)),z[L+26004>>2]=N}u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;c=w[d+364|0];if(x[a+25204>>1]==18761){c=c|w[d+365|0]<<8}else{c=w[d+365|0]|c<<8}u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;g=w[d+364|0];A=c&65535;c=a;if(x[a+25204>>1]==18761){g=g|w[d+365|0]<<8}else{g=w[d+365|0]|g<<8}v[c+26020>>2]=g&65535;c=v[d+360>>2]}f=v[d+356>>2];l=(c|0)==7&(f|0)==2&e>>>0>20;u:{v:{if(l){Qa[v[v[a>>2]+16>>2]](v[a+4>>2],H,64)|0;h=2;break v}i=(f|0)==4;if((c|0)!=8){h=f;break u}h=f;if((f|0)!=4){break u}v[d+364>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,4)|0;g=w[d+364|0];c=a;if(x[a+25204>>1]==18761){g=g|w[d+365|0]<<8|w[d+366|0]<<16|w[d+367|0]<<24}else{g=w[d+367|0]|(w[d+365|0]<<16|g<<24|w[d+366|0]<<8)}v[c+26020>>2]=g;h=4}i=!l;c=v[d+360>>2]}if((c|0)!=9){break r}if(!hb(r,63884)){break s}}g=e;l=(g|0)==4;break q}Qa[v[v[a>>2]>>2]](v[a+4>>2],G,64,1)|0;c=v[d+360>>2]}w:{if((c|0)!=12){g=e;break w}g=e;if((e|0)!=4){break w}L=a,N=C(Kd(a,h)),z[L+59268>>2]=N;L=a,N=C(Kd(a,h)),z[L+59276>>2]=N;g=4;c=v[d+360>>2]}l=(e|0)==4;if((c|0)==16&i){v[d+364>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,4)|0;e=w[d+364|0];c=a;if(x[a+25204>>1]==18761){e=e|w[d+365|0]<<8|w[d+366|0]<<16|w[d+367|0]<<24}else{e=w[d+367|0]|(w[d+365|0]<<16|e<<24|w[d+366|0]<<8)}v[c+26036>>2]=e;c=v[d+360>>2]}if((c|0)==17){if(!v[a+26148>>2]){break q}if(Kb(r,63686,5)){break q}e=v[a>>2];j=v[e+8>>2];c=v[a+4>>2];v[d+364>>2]=-1;Qa[v[e>>2]](c,d+364|0,1,4)|0;e=w[d+364|0];if(x[a+25204>>1]==18761){e=e|w[d+365|0]<<8|w[d+366|0]<<16|w[d+367|0]<<24}else{e=w[d+367|0]|(w[d+365|0]<<16|e<<24|w[d+366|0]<<8)}Qa[j|0](c,e+b|0,0)|0;Et(a,b);c=v[d+360>>2]}if(!((c|0)!=20|(g|0)!=2560|(h|0)!=7)){g=2560;c=1248;break o}e=(h|0)==7;if(!v[a+26148>>2]|((c|0)!=21|(f|0)!=2)){break p}Qa[v[v[a>>2]>>2]](v[a+4>>2],F,64,1)|0;break p}e=(h|0)==7}c=v[d+360>>2];x:{y:{if(Cc(r,64230)){z:{switch(c-27|0){case 0:v[d+360>>2]=4120;break x;case 2:break y;case 1:break z;default:break x}}v[d+360>>2]=4119;break x}if((c|0)!=29){break x}}c=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;if(c+1>>>0<2){break x}while(1){f=c-48|0;p=B(p,10)+(f>>>0<10?f:(c>>>0)%10|0)|0;c=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;if(c+1>>>0>1){continue}break}}c=v[d+360>>2];if((c|0)==129&i){v[d+364>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,4)|0;f=w[d+364|0];c=a;k=a;if(x[a+25204>>1]==18761){f=f|w[d+365|0]<<8|w[d+366|0]<<16|w[d+367|0]<<24}else{f=w[d+367|0]|(w[d+365|0]<<16|f<<24|w[d+366|0]<<8)}v[k+26048>>2]=f;v[c+26052>>2]=0;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],f+41|0,0)|0;u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;f=w[d+364|0];c=a;if(x[a+25204>>1]==18761){f=f|w[d+365|0]<<8}else{f=w[d+365|0]|f<<8}u[c+26304>>1]=f<<1;u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;c=w[d+364|0];if(x[a+25204>>1]==18761){c=c|w[d+365|0]<<8}else{c=w[d+365|0]|c<<8}v[a+26028>>2]=1633771873;u[a+26306>>1]=c;c=v[d+360>>2]}if(!((c|0)!=41|(h|0)!=1)){Qa[v[v[a>>2]+8>>2]](v[a+4>>2],(A>>>0<=17?t[A+64399|0]-48|0:0)<<5|8,1)|0;v[d+364>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,4)|0;f=w[d+364|0];c=a;if(x[a+25204>>1]==18761){f=f|w[d+365|0]<<8|w[d+366|0]<<16|w[d+367|0]<<24}else{f=w[d+367|0]|(w[d+365|0]<<16|f<<24|w[d+366|0]<<8)}z[c+59272>>2]=f>>>0;v[d+364>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,4)|0;f=w[d+364|0];c=a;if(x[a+25204>>1]!=18761){f=w[d+367|0]|(w[d+365|0]<<16|f<<24|w[d+366|0]<<8)}else{f=f|w[d+365|0]<<8|w[d+366|0]<<16|w[d+367|0]<<24}z[c+59268>>2]=f>>>0;v[d+364>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,4)|0;f=w[d+364|0];c=a;if(x[a+25204>>1]!=18761){f=w[d+367|0]|(w[d+365|0]<<16|f<<24|w[d+366|0]<<8)}else{f=f|w[d+365|0]<<8|w[d+366|0]<<16|w[d+367|0]<<24}z[c+59276>>2]=f>>>0;v[d+364>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,4)|0;f=w[d+364|0];c=a;if(x[a+25204>>1]!=18761){f=w[d+367|0]|(w[d+365|0]<<16|f<<24|w[d+366|0]<<8)}else{f=f|w[d+365|0]<<8|w[d+366|0]<<16|w[d+367|0]<<24}z[c+59280>>2]=f>>>0;c=v[d+360>>2]}if(!((c|0)!=640|(h|0)!=1?!((c|0)==129&e|(c|0)==256&e):0)){c=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[a+26080>>2]=g;v[a+26056>>2]=c;v[a+26060>>2]=c>>31;c=v[d+360>>2]}A:{if(!((c|0)==136&i)){break A}v[d+364>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,4)|0;c=w[d+364|0];f=a;k=a;if(x[a+25204>>1]==18761){e=c|w[d+365|0]<<8|w[d+366|0]<<16|w[d+367|0]<<24}else{e=w[d+367|0]|(w[d+365|0]<<16|c<<24|w[d+366|0]<<8)}c=e;v[k+26056>>2]=c;v[f+26060>>2]=0;if(!c){break A}e=K;j=c+J|0;e=c>>>0>j>>>0?e+1|0:e;v[a+26056>>2]=j;v[f+26060>>2]=e}c=v[d+360>>2];if((c|0)==137&i){v[d+364>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,4)|0;e=w[d+364|0];c=a;if(x[a+25204>>1]==18761){e=e|w[d+365|0]<<8|w[d+366|0]<<16|w[d+367|0]<<24}else{e=w[d+367|0]|(w[d+365|0]<<16|e<<24|w[d+366|0]<<8)}v[c+26080>>2]=e;c=v[d+360>>2]}B:{switch(c-140|0){case 0:case 10:c=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[a+26064>>2]=c;v[a+26068>>2]=c>>31;c=v[d+360>>2];break;default:break B}}C:{if((c|0)!=151){break C}i=B(B(B((Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0)+B(o,10)|0,10)+(Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0)|0,10)+(Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0)|0,10)+(Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0)|0;o=i-53328|0;e=6;c=a;f=a;D:{E:{F:{G:{H:{switch(i-53428|0){case 0:Qa[v[v[a>>2]+8>>2]](v[a+4>>2],68,1)|0;u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;f=w[d+364|0];e=a;if(x[a+25204>>1]==18761){f=f|w[d+365|0]<<8}else{f=w[d+365|0]|f<<8}z[e+59268>>2]=(f&65535)>>>0;u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];if(x[a+25204>>1]==18761){break E}e=w[d+365|0]|e<<8;break D;case 3:Qa[v[v[a>>2]+8>>2]](v[a+4>>2],16,1)|0;u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];c=a;if(x[a+25204>>1]==18761){e=e|w[d+365|0]<<8}else{e=w[d+365|0]|e<<8}z[c+59268>>2]=(e&65535)>>>0;u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;c=w[d+364|0];if(x[a+25204>>1]==18761){break G}c=w[d+365|0]|c<<8;break F;case 2:break k;default:break H}}if(o>>>0<200){break C}if((o|0)!=205){Qa[v[v[a>>2]+8>>2]](v[a+4>>2],280,1)|0}Qa[v[v[a>>2]>>2]](v[a+4>>2],d+16|0,324,1)|0;break C}c=c|w[d+365|0]<<8}z[f+59272>>2]=(c&65535)>>>0;u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+365|0]|e<<8}else{e=e|w[d+365|0]<<8}z[c+59276>>2]=(e&65535)>>>0;u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+365|0]|e<<8}else{e=e|w[d+365|0]<<8}z[c+59280>>2]=(e&65535)>>>0;o=103;break C}e=e|w[d+365|0]<<8}z[c+59276>>2]=(e&65535)>>>0;u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+365|0]|e<<8}else{e=e|w[d+365|0]<<8}z[c+59272>>2]=(e&65535)>>>0;u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+365|0]|e<<8}else{e=e|w[d+365|0]<<8}z[c+59280>>2]=(e&65535)>>>0;o=100}c=v[d+360>>2];if(!((c|0)!=164|(h|0)!=3)){Qa[v[v[a>>2]+8>>2]](v[a+4>>2],B(A,48),1)|0;u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];c=a;if(x[a+25204>>1]==18761){e=e|w[d+365|0]<<8}else{e=w[d+365|0]|e<<8}z[c+59268>>2]=(e&65535)>>>0;u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+365|0]|e<<8}else{e=e|w[d+365|0]<<8}z[c+59272>>2]=(e&65535)>>>0;u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+365|0]|e<<8}else{e=e|w[d+365|0]<<8}z[c+59276>>2]=(e&65535)>>>0;c=v[d+360>>2]}I:{J:{K:{if((c|0)==167){m=o-200|0;if(m>>>0>11|z[a+59268>>2]!=C(0)){break K}j=w[(Qa[v[v[a>>2]+28>>2]](v[a+4>>2])^Qa[v[v[a>>2]+28>>2]](v[a+4>>2])^Qa[v[v[a>>2]+28>>2]](v[a+4>>2])^Qa[v[v[a>>2]+28>>2]](v[a+4>>2]))+199056|0];i=w[(p&255)+198800|0];e=0;c=96;while(1){f=(d+16|0)+e|0;j=B(c,i)+j|0;t[f|0]=j^w[f|0];j=j+B(i,c+1|0)|0;t[f+1|0]=j^w[f+1|0];j=j+B(i,c+2|0)|0;t[f+2|0]=j^w[f+2|0];c=c+3|0;e=e+3|0;if((e|0)!=324){continue}break}c=t[m+64602|0];e=c&1;c=(d+16|0)+(c-48&-2)|0;f=w[c|0];k=((e<<2)+a|0)+59276|0;L:{if(x[a+25204>>1]!=18761){z[(e<<2)+n>>2]=(w[c+1|0]|f<<8)>>>0;f=x[c+2>>1];z[(!e<<2)+n>>2]=((f<<8|f>>>8)&65535)>>>0;f=((e^3)<<2)+n|0;e=x[c+4>>1];z[f>>2]=((e<<8|e>>>8)&65535)>>>0;c=x[c+6>>1];c=c<<8|c>>>8;break L}z[(e<<2)+n>>2]=(f|w[c+1|0]<<8)>>>0;z[(!e<<2)+n>>2]=x[c+2>>1];z[((e^3)<<2)+n>>2]=x[c+4>>1];c=x[c+6>>1]}z[k>>2]=(c&65535)>>>0;c=v[d+360>>2]}if(!((c|0)!=512|(g|0)!=3)){v[d+364>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,4)|0;v[d+364>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,4)|0;e=w[d+364|0];c=a;if(x[a+25204>>1]==18761){e=e|w[d+365|0]<<8|w[d+366|0]<<16|w[d+367|0]<<24}else{e=w[d+367|0]|(w[d+365|0]<<16|e<<24|w[d+366|0]<<8)}v[c+26020>>2]=e;l=0;break J}if(!((c|0)==512&l)){break K}u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;c=w[d+364|0];if(x[a+25204>>1]==18761){c=c|w[d+365|0]<<8}else{c=w[d+365|0]|c<<8}u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=c&65535;c=w[d+364|0];if(x[a+25204>>1]==18761){c=c|w[d+365|0]<<8}else{c=w[d+365|0]|c<<8}u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;i=e+(c&65535)|0;c=w[d+364|0];if(x[a+25204>>1]==18761){e=c|w[d+365|0]<<8}else{e=w[d+365|0]|c<<8}u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;f=w[d+364|0];c=a;e=i+(e&65535)|0;if(x[a+25204>>1]==18761){f=f|w[d+365|0]<<8}else{f=w[d+365|0]|f<<8}v[c+26120>>2]=e+(f&65535)>>>2;l=1}c=v[d+360>>2];if((c|0)==513&l){break j}if(!((c|0)!=544|(g|0)!=53)){Qa[v[v[a>>2]+8>>2]](v[a+4>>2],14,1)|0;i=0;j=0;f=Ma+-64|0;Ma=f;e=eb(a+232|0,0,24576);v[a+24812>>2]=e;while(1){u[f+62>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],f+62|0,1,2)|0;c=w[f+62|0];k=f+(i<<1)|0;if(x[a+25204>>1]==18761){c=c|w[f+63|0]<<8}else{c=w[f+63|0]|c<<8}u[k>>1]=c;i=i+1|0;if((i|0)!=13){continue}break}L=f,M=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])&15,u[L+26>>1]=M;L=f,M=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])&15,u[L+28>>1]=M;L=f,M=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])&15,u[L+30>>1]=M;L=f,M=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])&15,u[L+32>>1]=M;L=f,M=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])&15,u[L+34>>1]=M;L=f,M=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])&15,u[L+36>>1]=M;L=f,M=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])&15,u[L+38>>1]=M;L=f,M=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])&15,u[L+40>>1]=M;L=f,M=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])&15,u[L+42>>1]=M;L=f,M=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])&15,u[L+44>>1]=M;L=f,M=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])&15,u[L+46>>1]=M;L=f,M=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])&15,u[L+48>>1]=M;L=f,M=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])&15,u[L+50>>1]=M;while(1){c=e;i=f+(j<<1)|0;m=x[i+26>>1];M:{if(!m){break M}D=x[i>>1];i=0;if((m|0)!=1){k=m&65534;while(1){q=((D>>>11-i&1)<<2)+c|0;c=v[q>>2];if(!c){c=v[a+24812>>2]+12|0;v[a+24812>>2]=c;v[q>>2]=c}q=((D>>>10-i&1)<<2)+c|0;c=v[q>>2];if(!c){c=v[a+24812>>2]+12|0;v[a+24812>>2]=c;v[q>>2]=c}i=i+2|0;k=k-2|0;if(k){continue}break}}if(!(m&1)){break M}i=((D>>>11-i&1)<<2)+c|0;c=v[i>>2];if(c){break M}c=v[a+24812>>2]+12|0;v[a+24812>>2]=c;v[i>>2]=c}v[c+8>>2]=j;j=j+1|0;if((j|0)!=13){continue}break}Ma=f- -64|0;c=v[d+360>>2]}if(!((c|0)==1025&l)){break I}v[d+364>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,4)|0;c=w[d+364|0];if(x[a+25204>>1]==18761){c=c|w[d+365|0]<<8|w[d+366|0]<<16|w[d+367|0]<<24}else{c=w[d+367|0]|(w[d+365|0]<<16|c<<24|w[d+366|0]<<8)}v[d+364>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,4)|0;e=w[d+364|0];if(x[a+25204>>1]==18761){e=e|w[d+365|0]<<8|w[d+366|0]<<16|w[d+367|0]<<24}else{e=w[d+367|0]|(w[d+365|0]<<16|e<<24|w[d+366|0]<<8)}v[d+364>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,4)|0;e=c+e|0;c=w[d+364|0];if(x[a+25204>>1]==18761){c=c|w[d+365|0]<<8|w[d+366|0]<<16|w[d+367|0]<<24}else{c=w[d+367|0]|(w[d+365|0]<<16|c<<24|w[d+366|0]<<8)}v[d+364>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,4)|0;f=c+e|0;e=w[d+364|0];c=a;if(x[a+25204>>1]==18761){e=e|w[d+365|0]<<8|w[d+366|0]<<16|w[d+367|0]<<24}else{e=w[d+367|0]|(w[d+365|0]<<16|e<<24|w[d+366|0]<<8)}v[c+26120>>2]=e+f>>>2}c=v[d+360>>2]}if((c|0)==3585){h=u[a+25204>>1];v[d+356>>2]=h;u[a+25204>>1]=18761;e=22;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],22,1)|0;if(g>>>0>=45){while(1){v[d+364>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,4)|0;f=w[d+364|0];c=d;if(x[a+25204>>1]==18761){f=f|w[d+365|0]<<8|w[d+366|0]<<16|w[d+367|0]<<24}else{f=w[d+367|0]|(w[d+365|0]<<16|f<<24|w[d+366|0]<<8)}v[c+360>>2]=f;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],14,1)|0;v[d+364>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,4)|0;c=w[d+364|0];if(x[a+25204>>1]==18761){c=c|w[d+365|0]<<8|w[d+366|0]<<16|w[d+367|0]<<24}else{c=w[d+367|0]|(w[d+365|0]<<16|c<<24|w[d+366|0]<<8)}N:{if(v[d+360>>2]==1990472199){u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;i=w[d+364|0];f=a;if(x[a+25204>>1]==18761){k=i|w[d+365|0]<<8}else{k=w[d+365|0]|i<<8}v[f+26328>>2]=k&65535;break N}Qa[v[v[a>>2]+8>>2]](v[a+4>>2],c-4|0,1)|0}c=c+e|0;e=c+18|0;if(c+40>>>0>>0){continue}break}}u[a+25204>>1]=h;c=v[d+360>>2]}if(!((c|0)!=3712|(g|0)!=256|(h|0)!=7)){Qa[v[v[a>>2]+8>>2]](v[a+4>>2],48,1)|0;u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];c=a;if(x[a+25204>>1]==18761){e=e|w[d+365|0]<<8}else{e=w[d+365|0]|e<<8}z[c+59268>>2]=C(C(B(e&65535,508)|0)*C(1.0779999494552612))*C(152587890625e-16);u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];c=a;if(x[a+25204>>1]==18761){e=e|w[d+365|0]<<8}else{e=w[d+365|0]|e<<8}z[c+59276>>2]=C(C(B(e&65535,382)|0)*C(1.1729999780654907))*C(152587890625e-16);c=v[d+360>>2]}if((c|0)!=3840|(h|0)!=7){break n}if((g|0)==614){c=176}else{if((g|0)!=1502&(g|0)!=734){break i}c=148}}e=g;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],c,1)|0;h=7;break m}if(!((c|0)==4113&(g|0)==9?0:(c|0)!=541065728)){u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];c=a;if(x[a+25204>>1]==18761){e=e|w[d+365|0]<<8}else{e=w[d+365|0]|e<<8}z[c+59300>>2]=C(e<<16>>16)*C(.00390625);u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+365|0]|e<<8}else{e=e|w[d+365|0]<<8}z[c+59304>>2]=C(e<<16>>16)*C(.00390625);u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+365|0]|e<<8}else{e=e|w[d+365|0]<<8}z[c+59308>>2]=C(e<<16>>16)*C(.00390625);u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+365|0]|e<<8}else{e=e|w[d+365|0]<<8}z[c+59316>>2]=C(e<<16>>16)*C(.00390625);u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+365|0]|e<<8}else{e=e|w[d+365|0]<<8}z[c+59320>>2]=C(e<<16>>16)*C(.00390625);u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+365|0]|e<<8}else{e=e|w[d+365|0]<<8}z[c+59324>>2]=C(e<<16>>16)*C(.00390625);u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+365|0]|e<<8}else{e=e|w[d+365|0]<<8}z[c+59332>>2]=C(e<<16>>16)*C(.00390625);u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+365|0]|e<<8}else{e=e|w[d+365|0]<<8}z[c+59336>>2]=C(e<<16>>16)*C(.00390625);u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+365|0]|e<<8}else{e=e|w[d+365|0]<<8}z[c+59340>>2]=C(e<<16>>16)*C(.00390625);c=v[d+360>>2]}if(((c|0)==4114|(c|0)==541066752)&l){v[a+26120>>2]=0;u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];c=a;f=v[a+26120>>2];if(x[a+25204>>1]==18761){e=e|w[d+365|0]<<8}else{e=w[d+365|0]|e<<8}v[c+26120>>2]=f+((e&65535)<<2);u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];c=a;f=v[a+26120>>2];if(x[a+25204>>1]!=18761){e=w[d+365|0]|e<<8}else{e=e|w[d+365|0]<<8}v[c+26120>>2]=f+((e&65535)<<2);u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];c=a;f=v[a+26120>>2];if(x[a+25204>>1]!=18761){e=w[d+365|0]|e<<8}else{e=e|w[d+365|0]<<8}v[c+26120>>2]=f+((e&65535)<<2);u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];c=a;f=v[a+26120>>2];if(x[a+25204>>1]!=18761){e=w[d+365|0]|e<<8}else{e=e|w[d+365|0]<<8}v[c+26120>>2]=f+((e&65535)<<2);c=v[d+360>>2]}if(!((c|0)!=541065472&(c|0)!=4119)){u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];c=a;if(x[a+25204>>1]==18761){e=e|w[d+365|0]<<8}else{e=w[d+365|0]|e<<8}z[c+59268>>2]=C((e&65535)>>>0)*C(.00390625);c=v[d+360>>2]}if(!((c|0)!=541065472&(c|0)!=4120)){u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];c=a;if(x[a+25204>>1]==18761){e=e|w[d+365|0]<<8}else{e=w[d+365|0]|e<<8}z[c+59276>>2]=C((e&65535)>>>0)*C(.00390625);c=v[d+360>>2]}if((c|0)!=8209){break l}e=2;if((g|0)!=2){break l}}u[a+25204>>1]=19789;u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;g=w[d+364|0];c=a;if(x[a+25204>>1]==18761){g=g|w[d+365|0]<<8}else{g=w[d+365|0]|g<<8}z[c+59268>>2]=C((g&65535)>>>0)*C(.00390625);u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;g=w[d+364|0];c=a;if(x[a+25204>>1]==18761){g=g|w[d+365|0]<<8}else{g=w[d+365|0]|g<<8}z[c+59276>>2]=C((g&65535)>>>0)*C(.00390625);c=v[d+360>>2];g=e}if(!((c&-113)!=8192|(h|0)!=4)){e=v[a>>2];f=v[e+8>>2];c=v[a+4>>2];v[d+364>>2]=-1;Qa[v[e>>2]](c,d+364|0,1,4)|0;e=w[d+364|0];if(x[a+25204>>1]==18761){e=e|w[d+365|0]<<8|w[d+366|0]<<16|w[d+367|0]<<24}else{e=w[d+367|0]|(w[d+365|0]<<16|e<<24|w[d+366|0]<<8)}Qa[f|0](c,e+b|0,0)|0;c=v[d+360>>2]}if(!((h|0)==7|(c|0)!=8208)){v[a+190476>>2]=942;break i}if((c|0)==8224){B3(a,b,257,258);c=v[d+360>>2]}if((c|0)==8256){A3(a,b,8256);c=v[d+360>>2]}if((c|0)==45096){h=v[a>>2];e=v[h+8>>2];c=v[a+4>>2];v[d+364>>2]=-1;Qa[v[h>>2]](c,d+364|0,1,4)|0;h=w[d+364|0];if(x[a+25204>>1]==18761){h=h|w[d+365|0]<<8|w[d+366|0]<<16|w[d+367|0]<<24}else{h=w[d+367|0]|(w[d+365|0]<<16|h<<24|w[d+366|0]<<8)}Qa[e|0](c,h,0)|0;B3(a,b,136,137);c=v[d+360>>2]}if((c|0)!=16385|g>>>0<501){break i}if((g|0)==582){e=50;break k}if((g|0)!=653){e=(g|0)==5120?142:126;break k}e=68}Qa[v[v[a>>2]+8>>2]](v[a+4>>2],e,1)|0}u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;g=w[d+364|0];c=a;if(x[a+25204>>1]==18761){e=g|w[d+365|0]<<8}else{e=w[d+365|0]|g<<8}z[c+59268>>2]=(e&65535)>>>0;u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;g=w[d+364|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+365|0]|g<<8}else{e=g|w[d+365|0]<<8}z[c+59272>>2]=(e&65535)>>>0;u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;g=w[d+364|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+365|0]|g<<8}else{e=g|w[d+365|0]<<8}z[c+59280>>2]=(e&65535)>>>0;u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;g=w[d+364|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+365|0]|g<<8}else{e=g|w[d+365|0]<<8}z[c+59276>>2]=(e&65535)>>>0;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],22,1)|0;u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;g=w[d+364|0];c=a;if(x[a+25204>>1]==18761){e=g|w[d+365|0]<<8}else{e=w[d+365|0]|g<<8}u[c+59260>>1]=e;u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;g=w[d+364|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+365|0]|g<<8}else{e=g|w[d+365|0]<<8}u[c+59262>>1]=e;u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;g=w[d+364|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+365|0]|g<<8}else{e=g|w[d+365|0]<<8}u[c+59266>>1]=e;u[d+364>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;c=w[d+364|0];if(x[a+25204>>1]!=18761){u[a+59264>>1]=w[d+365|0]|c<<8;break i}u[a+59264>>1]=c|w[d+365|0]<<8}Qa[v[v[a>>2]+8>>2]](v[a+4>>2],v[d+348>>2],0)|0;if(s){continue}break}}u[a+25204>>1]=E}Ma=d+368|0}function HG(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,z=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;s=Ma+-64|0;Ma=s;v[s+40>>2]=13;v[s+24>>2]=13;e=ab(16);Wg(e,1);v[a>>2]=e;e=ab(16);hc(e);v[a+4>>2]=e;if(v[d+16>>2]>=1){while(1){H=v[v[d+4>>2]+(G<<5)>>2];e=s+40|0;lq(d,G,e);ue(e,b,s+24|0,0);a:{if(v[s+24>>2]!=7){fb(1,-1,219444,0);break a}b:{if(v[s+40>>2]==9){e=v[s+48>>2];g=v[s+52>>2];h=v[a+4>>2];i=v[h+8>>2];if((i|0)<1){break b}h=v[h>>2];n=0;while(1){j=v[h+(n<<2)>>2];if(!(v[j+8>>2]==(e|0)&v[j+12>>2]==(g|0))){n=n+1|0;if((i|0)!=(n|0)){continue}break b}break}ti(v[a>>2],Rb(ab(8),H),j);break a}if(c){g=v[c>>2]+1e5|0;e=G;break b}v[s+56>>2]=-2128831035;GG(a,s+24|0,s+56|0);e=v[s+56>>2];e=e&2147483647^e>>>31;g=1e5}v[s+20>>2]=g;v[s+16>>2]=e;e=v[s+20>>2];v[s+8>>2]=v[s+16>>2];v[s+12>>2]=e;E=v[s+32>>2];q=0;r=0;o=Ma-96|0;Ma=o;v[o+72>>2]=13;ib(E,228343,o+72|0,0);c:{d:{switch(v[o+72>>2]-3|0){case 1:q=Rb(ab(8),v[o+80>>2]);break c;case 0:break d;default:break c}}e=v[o+80>>2];q=Hc(ab(8),e)}bb(o+72|0);n=b;k=Ma-128|0;Ma=k;v[k+112>>2]=13;v[k+96>>2]=13;v[k+80>>2]=13;v[k+64>>2]=13;v[k+48>>2]=13;v[k+32>>2]=13;v[o+88>>2]=-1;v[o+92>>2]=-1;h=E;ib(h,278450,k+112|0,0);e=313241;e:{f:{g:{h:{if(v[k+112>>2]!=4){break h}i=2;p=5;m=3;e=v[k+120>>2];if(!hb(e,324252)){break g}if(!hb(e,324250)){break g}if(!hb(e,312803)){z=1;e=2;break f}if(!hb(e,318614)){z=1;e=4;break f}if(!hb(e,279280)){z=1;e=5;break f}if(hb(e,325078)){break h}r=1;e=0;z=7;i=8;p=10;m=9;g=0;break e}v[k+16>>2]=e;fb(0,-1,336307,k+16|0);z=1;i=2;p=5;m=3;e=0;break f}z=1;e=1}g=1}bb(k+112|0);i:{if(v[ib(h,234407,k+80|0,0)>>2]==6){j=v[k+88>>2];if(!v[j+12>>2]){fb(0,-1,227931,0);v[k+64>>2]=5;break i}if(v[ub(j,0,k- -64|0,0)>>2]!=7){break i}if(!r){fb(0,-1,219666,0)}h=v[k+72>>2];ib(h,278450,k+112|0,0);j=e;j:{if(v[k+112>>2]==4){F=v[k+120>>2];l=r?7:e;if(!hb(F,325071)){break j}l=!hb(F,319785)}else{l=0}l=r?l?10:j:e}e=l;bb(k+112|0);break i}v[k+64>>2]=5}k:{if(v[ib(h,237426,k+96|0,0)>>2]!=7){h=e;r=0;break k}r=0;if(v[Yd(v[k+104>>2],280558,k+48|0)>>2]==9){h=v[k+60>>2];v[o+88>>2]=v[k+56>>2];v[o+92>>2]=h;r=(e|0)!=1}bb(k+48|0);l:{if(v[o+88>>2]!=-1){break l}if(v[Yd(v[k+104>>2],319798,k+48|0)>>2]!=9){break l}h=v[k+60>>2];v[o+88>>2]=v[k+56>>2];v[o+92>>2]=h;if(!g){e=10;break l}r=(e|0)==5?r:1}bb(k+48|0);m:{if(v[o+88>>2]!=-1){h=e;break m}if(v[Yd(v[k+104>>2],318620,k+48|0)>>2]!=9){h=e;break m}h=v[k+60>>2];v[o+88>>2]=v[k+56>>2];v[o+92>>2]=h;n:{if(v[ue(k+48|0,n,k+32|0,0)>>2]!=8){h=e;break n}h=v[k+40>>2];ib(Qa[v[v[h>>2]+76>>2]](h)|0,278450,k+112|0,0);h=313241;o:{p:{q:{if(v[k+112>>2]!=4){break q}h=v[k+120>>2];if(!hb(h,324252)){e=(e|0)==1;r=e?r:1;h=e?1:z;break o}if(!hb(h,312803)){e=e-1>>>0<2;r=e?r:1;h=e?2:i;break o}if(!hb(h,279280)){e=(e|0)==5;r=e?r:1;h=e?5:p;break o}if(!hb(h,312810)){e=(e|0)==7;r=e?r:1;h=e?8:i;break o}if(hb(h,279239)){break q}h=6;r:{switch(e-1|0){case 0:h=3;break o;case 6:h=9;break o;case 9:h=11;break o;case 4:break o;default:break r}}r=1;break p}v[k>>2]=h;fb(1,-1,336257,k)}h=e}bb(k+112|0)}bb(k+32|0)}bb(k+48|0)}bb(k+96|0);e=v[o+88>>2];s:{if((e|0)>=0){v[k+60>>2]=v[o+92>>2];v[k+56>>2]=e;v[k+48>>2]=9;e=0;ue(k+48|0,n,k+32|0,0);t:{if(v[k+32>>2]!=8){break t}e=v[k+40>>2];Qa[v[v[e>>2]+20>>2]](e);j=yW(3048,v[k+40>>2]);e=v[k+40>>2];Qa[v[v[e>>2]+24>>2]](e);e=1;u:{switch(j|0){case 2:e=i;break t;case 3:e=8;break t;case 4:case 5:e=p;break t;case 6:e=m;break t;case 7:e=9;break t;case 0:case 1:break t;default:break u}}e=0;fb(1,-1,288590,0)}bb(k+32|0);bb(k+48|0);if(e){break s}}e=h}if(!(r?0:(e|0)==(h|0))){fb(0,-1,280499,0)}bb(k- -64|0);bb(k+80|0);Ma=k+128|0;v:{if((e|0)<=6){g=ab(3544);l=v[s+12>>2];i=v[s+8>>2];v[o+64>>2]=i;v[o+68>>2]=l;j=v[o+92>>2];h=v[o+88>>2];v[o+56>>2]=h;v[o+60>>2]=j;v[o+16>>2]=i;v[o+20>>2]=l;v[o+8>>2]=h;v[o+12>>2]=j;m=0;r=0;f=Ma-1152|0;Ma=f;F=v[o+16>>2];p=v[o+20>>2];l=v[o+8>>2];i=v[o+12>>2];j=0;v[g+156>>2]=0;v[g>>2]=887188;h=ab(8);Rb(h,H);v[g+32>>2]=l;v[g+36>>2]=i;v[g+20>>2]=e;v[g+16>>2]=q;v[g+8>>2]=F;v[g+12>>2]=p;v[g+4>>2]=h;v[g+152>>2]=0;v[g+28>>2]=0;v[g+3528>>2]=13;v[g+3512>>2]=13;v[g>>2]=887280;v[f+56>>2]=13;v[f+40>>2]=13;v[f+24>>2]=13;v[g+160>>2]=0;v[g+1444>>2]=0;w:{x:{y:{if(!q){break y}l=ab(8);p=Hc(l,q);i=v[p>>2];if((i|0)>=1){while(1){z:{if(w[v[p+4>>2]+j|0]==32){yk(p,j,1);i=v[p>>2];break z}j=j+1|0}if((i|0)>(j|0)){continue}break}}i=0;h=65;while(1){j=(h+i|0)/2|0;e=(Ec(p,v[(j<<3)+1099056>>2])|0)>-1;h=e?h:j;i=e?j:i;if((h-i|0)>1){continue}break}e=(i<<3)+1099056|0;if(!Ec(p,v[e>>2])){v[g+160>>2]=e}Bb(p);$a(l);e=v[g+160>>2];if(!e){break y}i=0;q=1031360;e=v[e+4>>2];if(!hb(e,v[257840])){break x}if(!hb(e,v[257847])){q=1031388;i=1;break x}if(!hb(e,v[257854])){q=1031416;i=2;break x}if(!hb(e,v[257861])){q=1031444;i=3;break x}if(!hb(e,v[257868])){q=1031472;i=4;break x}if(!hb(e,v[257875])){q=1031500;i=5;break x}if(!hb(e,v[257882])){q=1031528;i=6;break x}if(!hb(e,v[257889])){q=1031556;i=7;break x}if(!hb(e,v[257896])){q=1031584;i=8;break x}if(!hb(e,v[257903])){q=1031612;i=9;break x}if(!hb(e,v[257910])){q=1031640;i=10;break x}if(!hb(e,v[257917])){q=1031668;i=11;break x}if(!hb(e,v[257924])){q=1031696;i=12;break x}if(hb(e,v[257931])){break y}q=1031724;i=13;break x}v[g+144>>2]=0;v[g+148>>2]=1072168960;v[g+136>>2]=0;v[g+140>>2]=-1076887552;v[g+128>>2]=0;v[g+132>>2]=1072168960;v[g+120>>2]=0;v[g+124>>2]=0;v[g+88>>2]=0;v[g+92>>2]=0;v[g+96>>2]=0;v[g+100>>2]=0;v[g+104>>2]=0;v[g+108>>2]=0;v[g+112>>2]=0;v[g+116>>2]=0;IG(g,E);q=0;r=1;break w}h=B(i,28)+1031360|0;A[g+120>>3]=u[h+8>>1];C=+u[h+10>>1]*.001;A[g+128>>3]=C;e=u[h+12>>1];A[g+144>>3]=C;A[g+136>>3]=+(e|0)*.001;A[g+88>>3]=+u[h+14>>1]*.001;A[g+96>>3]=+u[h+16>>1]*.001;A[g+104>>3]=+u[h+18>>1]*.001;A[g+112>>3]=+u[h+20>>1]*.001;IG(g,E);C=+u[h+10>>1]*.001;A[g+128>>3]=C;e=u[h+12>>1];A[g+144>>3]=C;A[g+136>>3]=+(e|0)*.001;A[g+88>>3]=+u[h+14>>1]*.001;A[g+96>>3]=+u[h+16>>1]*.001;A[g+104>>3]=+u[h+18>>1]*.001;A[g+112>>3]=+u[h+20>>1]*.001}v[g+40>>2]=0;v[g+44>>2]=1072693248;v[g+48>>2]=0;v[g+52>>2]=0;e=g- -64|0;v[e>>2]=0;v[e+4>>2]=1072693248;v[g+56>>2]=0;v[g+60>>2]=0;v[g+72>>2]=0;v[g+76>>2]=0;v[g+80>>2]=0;v[g+84>>2]=0;A:{if(v[ib(E,220526,f+56|0,0)>>2]!=6){break A}e=v[f+64>>2];if(v[e+12>>2]<1){break A}if(v[ub(e,0,f+40|0,0)>>2]-1>>>0<=1){A[g+40>>3]=v[f+40>>2]==1?+v[f+48>>2]:A[f+48>>3]}bb(f+40|0);e=v[f+64>>2];if(v[e+12>>2]<=1){break A}if(v[ub(e,1,f+40|0,0)>>2]-1>>>0<=1){A[g+48>>3]=v[f+40>>2]==1?+v[f+48>>2]:A[f+48>>3]}bb(f+40|0);e=v[f+64>>2];if(v[e+12>>2]<3){break A}if(v[ub(e,2,f+40|0,0)>>2]-1>>>0<=1){A[g+56>>3]=v[f+40>>2]==1?+v[f+48>>2]:A[f+48>>3]}bb(f+40|0);e=v[f+64>>2];if(v[e+12>>2]<4){break A}if(v[ub(e,3,f+40|0,0)>>2]-1>>>0<=1){A[g+64>>3]=v[f+40>>2]==1?+v[f+48>>2]:A[f+48>>3]}bb(f+40|0);e=v[f+64>>2];if(v[e+12>>2]<5){break A}if(v[ub(e,4,f+40|0,0)>>2]-1>>>0<=1){A[g+72>>3]=v[f+40>>2]==1?+v[f+48>>2]:A[f+48>>3]}bb(f+40|0);e=v[f+64>>2];if(v[e+12>>2]<6){break A}if(v[ub(e,5,f+40|0,0)>>2]-1>>>0<=1){A[g+80>>3]=v[f+40>>2]==1?+v[f+48>>2]:A[f+48>>3]}bb(f+40|0)}bb(f+56|0);B:{if(v[g+20>>2]!=4){break B}h=g+3512|0;C:{if(v[ib(E,220491,f+56|0,0)>>2]!=6){break C}e=v[f+64>>2];if(v[e+12>>2]<1){break C}if(v[ub(e,0,f+40|0,0)>>2]-1>>>0<=1){A[g+88>>3]=v[f+40>>2]==1?+v[f+48>>2]:A[f+48>>3]}bb(f+40|0);e=v[f+64>>2];if(v[e+12>>2]<=1){break C}if(v[ub(e,1,f+40|0,0)>>2]-1>>>0<=1){A[g+96>>3]=v[f+40>>2]==1?+v[f+48>>2]:A[f+48>>3]}bb(f+40|0);e=v[f+64>>2];if(v[e+12>>2]<3){break C}if(v[ub(e,2,f+40|0,0)>>2]-1>>>0<=1){A[g+104>>3]=v[f+40>>2]==1?+v[f+48>>2]:A[f+48>>3]}bb(f+40|0);e=v[f+64>>2];if(v[e+12>>2]<4){break C}if(v[ub(e,3,f+40|0,0)>>2]-1>>>0<=1){A[g+112>>3]=v[f+40>>2]==1?+v[f+48>>2]:A[f+48>>3]}bb(f+40|0)}bb(f+56|0);if(v[ib(E,236888,h,0)>>2]!=7){fb(1,-1,228005,0);bb(h)}e=g+3528|0;if(v[ib(E,236775,e,0)>>2]==7){break B}bb(e)}h=0;v[g+1456>>2]=0;v[g+1448>>2]=0;v[g+1452>>2]=0;ib(E,272636,f+56|0,0);D:{E:{switch(v[f+56>>2]-4|0){case 3:ib(v[f+64>>2],272597,f+40|0,0);F:{if(v[f+40>>2]!=4){break F}e=v[f+48>>2];if(!hb(e,272564)){v[g+1448>>2]=1;v[g+1452>>2]=1;h=1082096;break F}if(!hb(e,272546)){v[g+1448>>2]=1;h=1083120;break F}if(hb(e,272581)){break F}v[g+1448>>2]=1;h=1084144}bb(f+40|0);break D;case 0:break E;default:break D}}e=v[f+64>>2];if(!hb(e,272564)){v[g+1448>>2]=1;v[g+1452>>2]=1;h=1082096;break D}if(!hb(e,272546)){v[g+1448>>2]=1;h=1083120;break D}if(hb(e,272581)){break D}v[g+1448>>2]=1;h=1084144}i=v[g+32>>2];G:{H:{I:{J:{e=v[g+20>>2];if((e|0)!=1){break J}p=0;if((i|0)<0){break J}j=zV(g,n,f+1148|0);if(!j){break G}e=v[f+1148>>2];F=0;m=ab(88);v[m+8>>2]=j;v[m>>2]=879548;v[m+16>>2]=0;v[m+12>>2]=e;v[m+4>>2]=j;v[m+40>>2]=0;v[m+44>>2]=0;v[m+32>>2]=-755914244;v[m+36>>2]=1062232653;v[m+20>>2]=0;v[m+24>>2]=0;v[m>>2]=880812;v[m+48>>2]=0;v[m+52>>2]=0;e=m- -64|0;v[e>>2]=0;v[e+4>>2]=0;v[m+56>>2]=-755914244;v[m+60>>2]=1062232653;v[m+72>>2]=0;v[m+76>>2]=0;v[m+80>>2]=0;z=0;k=Ma-16|0;Ma=k;v[k+12>>2]=1;if(!((Je(m,0,k+12|0)|0)!=128|!v[k+12>>2])){n=si(v[m+12>>2]);K:{if((Je(m,0,k+12|0)|0)!=128|!v[k+12>>2]){break K}while(1){if(Je(m,z+1|0,k+12|0)-1>>>0>1|!v[k+12>>2]){break K}L:{M:{e=z+2|0;if(e>>>0<=2147483644){i=e+3|0;if((i|0)>2]){break M}}v[k+12>>2]=0;e=0;break L}l=e;e=v[m+8>>2];l=l+e|0;e=(w[l+2|0]<<8|w[e+i|0]<<16|w[l+1|0])<<8|w[l|0]}if(!v[k+12>>2]){break K}l=z+6|0;i=l;if(!((e|0)<=(2147483647-i|0)&(e|i)>-1&v[m+12>>2]>=(e+i|0))){break K}cb(n+F|0,l+v[m+8>>2]|0,e);F=e+F|0;z=e+l|0;if((Je(m,z,k+12|0)|0)!=128){break K}if(v[k+12>>2]){continue}break}}if(v[m+16>>2]){tb(v[m+4>>2])}v[m+16>>2]=1;v[m+8>>2]=n;v[m+4>>2]=n;v[m+12>>2]=F}Ma=k+16|0;if(!m){break H}if(xW(m)){e=v[g+28>>2];if(e){$a(Bb(e))}e=ab(8);Rb(e,xW(m));v[g+28>>2]=e}if(h){break H}if(!v[m+80>>2]){wW(m)}h=v[m+24>>2];break I}if((e|0)!=2){p=0;break G}p=0;if((i|0)<0){break G}j=zV(g,n,f+1148|0);if(!j){break G}p=vW(j,v[f+1148>>2]);if(!p){break H}e=v[p+20>>2];if(e){e=v[e+4>>2]}else{e=0}if(e){e=v[g+28>>2];if(e){$a(Bb(e))}l=ab(8);i=l;e=v[p+20>>2];if(e){e=v[e+4>>2]}else{e=0}Rb(i,e);v[g+28>>2]=l}if(h){break H}h=v[p+24>>2]}v[g+1456>>2]=1}tb(j)}N:{if(h){break N}if(!(v[g+32>>2]>-1|r)){h=v[q+4>>2];v[g+1448>>2]=1;break N}h=v[g+20>>2]==5?1084144:1085168}j=0;while(1){e=j<<2;l=e+g|0;i=e+h|0;v[l+164>>2]=v[i>>2];e=w[g+1456|0];t[(g+j|0)+1188|0]=e;if(!(!e|!v[l+164>>2])){J=l,K=qc(v[i>>2]),v[J+164>>2]=K}j=j+1|0;if((j|0)!=256){continue}break}if(!(!v[g+1456>>2]|(v[g+20>>2]!=2|v[g+32>>2]<0))){j=0;while(1){e=j<<2;h=e+g|0;O:{if(v[h+164>>2]){break O}e=v[e+1085168>>2];if(!e){break O}v[h+164>>2]=e;t[(g+j|0)+1188|0]=0}i=j|1;e=i<<2;h=e+g|0;P:{if(v[h+164>>2]){break P}e=v[e+1085168>>2];if(!e){break P}v[h+164>>2]=e;t[(g+i|0)+1188|0]=0}j=j+2|0;if((j|0)!=256){continue}break}}if(v[f+56>>2]==7){j=0;ib(v[f+64>>2],236785,f+40|0,0);Q:{if(v[f+40>>2]!=6){break Q}v[g+1448>>2]=1;h=v[f+48>>2];if(v[h+12>>2]<1){break Q}i=0;while(1){ub(h,j,f+24|0,0);R:{S:{switch(v[f+24>>2]-1|0){case 0:i=v[f+32>>2];break R;case 3:if(i>>>0<=255){e=(g+i|0)+1188|0;if(w[e|0]){tb(v[(g+(i<<2)|0)+164>>2])}J=g+(i<<2)|0,K=qc(v[f+32>>2]),v[J+164>>2]=K;t[e|0]=1}i=i+1|0;break R;default:break S}}v[f+16>>2]=v[(v[f+24>>2]<<2)+1109024>>2];fb(1,-1,326630,f+16|0)}bb(f+24|0);j=j+1|0;h=v[f+48>>2];if((j|0)>2]){continue}break}}bb(f+40|0)}bb(f+56|0);if(m){Qa[v[v[m>>2]+4>>2]](m)}if(p){Qa[v[v[p>>2]+4>>2]](p)}h=0;p=0;j=0;while(1){e=j<<2;l=v[(e+g|0)+164>>2];T:{if(l){i=e+(f+112|0)|0;e=vG(v[291134],l);v[i>>2]=e;if(e){break T}if(!hb(l,273443)){break T}p=1;U:{V:{switch(zb(l)-2|0){case 1:if((w[l|0]|32)-97>>>0>=26){break T}i=w[l+1|0];e=i;if(!(e-48>>>0<10|(e|32)-97>>>0<6)){break T}l=w[l+2|0];e=l;if(!(e-48>>>0<10|(e|32)-97>>>0<6)){break T}if(((i&223)-65&255)>>>0<6|(l-97&255)>>>0<6|(l-65&255)>>>0<6){break U}break T;case 0:break V;default:break T}}i=w[l|0];e=i;if(!(e-48>>>0<10|(e|32)-97>>>0<6)){break T}l=w[l+1|0];e=l;if(!(e-48>>>0<10|(e|32)-97>>>0<6)){break T}if(((i&223)-65&255)>>>0<6|(l-97&255)>>>0<6){break U}if((l-65&255)>>>0>5){break T}}h=1;break T}v[e+(f+112|0)>>2]=0}j=j+1|0;if((j|0)!=256){continue}break}v[g+1460>>2]=0;W:{if(!p){break W}if(v[v[291134]+376>>2]){j=0;while(1){e=j<<2;i=v[(e+g|0)+164>>2];X:{if(!i){break X}l=e+(f+112|0)|0;if(v[l>>2]){break X}if(!hb(i,273443)){break X}n=zb(i);v[f+1144>>2]=-1;Y:{Z:{_:{$:{aa:{if(!(!h|(n|0)!=3)){if((w[i|0]|32)-97>>>0>=26){break aa}e=w[i+1|0];if(!(e-48>>>0<10|(e|32)-97>>>0<6)){break aa}e=w[i+2|0];if(!(e-48>>>0<10|(e|32)-97>>>0<6)){break aa}i=i+1|0;break _}if(!(!h|(n|0)!=2)){e=w[i|0];if(!(e-48>>>0<10|(e|32)-97>>>0<6)){break Z}e=w[i+1|0];if(e-48>>>0<10|(e|32)-97>>>0<6){break _}break Z}ba:{if((n|0)<2|h|((n|0)>4|w[i|0]-48>>>0>9)){break ba}if(w[i+1|0]-48>>>0>9){break ba}i=td(i);v[f+1144>>2]=i;break Y}if(n-3>>>0>2){break $}}if(w[i+1|0]-48>>>0>9|w[i+2|0]-48>>>0>9){break $}i=td(i+1|0);v[f+1144>>2]=i;break Y}if(n-4>>>0<=2){if(w[i+2|0]-48>>>0>9|w[i+3|0]-48>>>0>9){break Z}i=td(i+2|0);v[f+1144>>2]=i;break Y}if(w[i|0]!=117|(n|0)<7|(w[i+1|0]!=110|w[i+2|0]!=105)){break Z}e=w[i+3|0];if(!(e-48>>>0<10|(e|32)-97>>>0<6)){break Z}e=w[i+4|0];if(!(e-48>>>0<10|(e|32)-97>>>0<6)){break Z}e=w[i+5|0];if(!(e-48>>>0<10|(e|32)-97>>>0<6)){break Z}e=w[i+6|0];if(!(e-48>>>0<10|(e|32)-97>>>0<6)){break Z}i=i+3|0}v[f>>2]=f+1144;df(i,221174,f)}i=v[f+1144>>2]}if(i>>>0>65535){break X}v[l>>2]=i;v[g+1460>>2]=1}j=j+1|0;if((j|0)!=256){continue}break}break W}j=0;if(!v[v[291134]+380>>2]){break W}while(1){e=(f+112|0)+(j<<2)|0;if(!v[e>>2]){v[e>>2]=j}h=j|1;e=(f+112|0)+(h<<2)|0;if(!v[e>>2]){v[e>>2]=h}h=j|2;e=(f+112|0)+(h<<2)|0;if(!v[e>>2]){v[e>>2]=h}h=j|3;e=(f+112|0)+(h<<2)|0;if(!v[e>>2]){v[e>>2]=h}j=j+4|0;if((j|0)!=256){continue}break}}e=ZV(f+112|0);v[g+1444>>2]=e;CV(g,E,8,e);e=v[g+16>>2];ca:{if(!e){break ca}j=0;i=cV(v[291134],e);if(!i){break ca}e=f+112|0;eb(e,0,1024);h=ZV(e);while(1){da:{if((ql(v[g+1444>>2],j,f+80|0,8)|0)<1){break da}e=ql(i,v[f+80>>2],f+80|0,8);if((e|0)<1){break da}XV(h,j,f+80|0,e)}j=j+1|0;if((j|0)!=256){continue}break}nq(i);i=v[g+1444>>2];if(i){e=v[i>>2];if(e){$a(Bb(e))}tb(v[i+4>>2]);tb(v[i+12>>2]);$a(i)}v[g+1444>>2]=h}C=A[g+120>>3]*.001;h=0;i=g+1464|0;while(1){e=h<<3;A[e+i>>3]=C;A[i+(e|8)>>3]=C;A[i+(e|16)>>3]=C;A[i+(e|24)>>3]=C;A[i+(e|32)>>3]=C;A[i+(e|40)>>3]=C;A[i+(e|48)>>3]=C;A[i+(e|56)>>3]=C;h=h+8|0;if((h|0)!=256){continue}break}h=0;ib(E,240207,f+56|0,0);if(v[f+56>>2]==1){e=v[f+64>>2];h=e>>>0>255?0:e}e=f+56|0;bb(e);ib(E,240217,e,0);ea:{if(v[f+56>>2]!=1){bb(f+56|0);j=255;break ea}e=v[f+64>>2];j=e>>>0<255?e:255;bb(f+56|0)}C=A[g+40>>3];l=v[g+20>>2];ib(E,236205,f+56|0,0);fa:{if(v[f+56>>2]==6){v[g+24>>2]=v[g+24>>2]|1;i=v[f+64>>2];e=v[i+12>>2];n=(e|0)>(j-h|0)?j:(e+h|0)-1|0;if((n|0)<(h|0)){break fa}I=(l|0)==4?C:.001;l=(g+(h<<3)|0)+1464|0;j=h;while(1){ub(i,j-h|0,f+40|0,0);e=v[f+40>>2];ga:{if(e-1>>>0>1){break ga}C=I*((e|0)==1?+v[f+48>>2]:A[f+48>>3]);A[(g+(j<<3)|0)+1464>>3]=C;if(!(D(C-A[l>>3])>1e-5)){break ga}v[g+24>>2]=v[g+24>>2]&-2}bb(f+40|0);if((j|0)==(n|0)){break fa}j=j+1|0;i=v[f+64>>2];continue}}if(!r){if(qv(v[q+24>>2],286126,f+78|0)){A[g+1720>>3]=+x[f+78>>1]*.001}j=0;while(1){e=v[(g+(j<<2)|0)+164>>2];ha:{if(!e){break ha}if(!qv(v[q+24>>2],e,f+78|0)){break ha}A[(g+(j<<3)|0)+1464>>3]=+x[f+78>>1]*.001}j=j+1|0;if((j|0)!=256){continue}break}break fa}j=0;e=v[g+24>>2];h=v[((e>>>6&1|e>>>17&2|(e&1?0:e&2?8:4))<<2)+1031760>>2];if(qv(v[h+24>>2],286126,f+78|0)){A[g+1720>>3]=+x[f+78>>1]*.001}while(1){e=v[(g+(j<<2)|0)+164>>2];ia:{if(!e){break ia}if(!qv(v[h+24>>2],e,f+78|0)){break ia}A[(g+(j<<3)|0)+1464>>3]=+x[f+78>>1]*.001}j=j+1|0;if((j|0)!=256){continue}break}}bb(f+56|0);v[g+156>>2]=1;Ma=f+1152|0;break v}g=ab(240);l=v[s+12>>2];i=v[s+8>>2];v[o+48>>2]=i;v[o+52>>2]=l;j=v[o+92>>2];h=v[o+88>>2];v[o+40>>2]=h;v[o+44>>2]=j;v[o+32>>2]=i;v[o+36>>2]=l;v[o+24>>2]=h;v[o+28>>2]=j;f=Ma-176|0;Ma=f;n=v[o+32>>2];l=v[o+36>>2];j=v[o+24>>2];i=v[o+28>>2];v[g+156>>2]=0;v[g>>2]=887188;h=ab(8);Rb(h,H);v[g+32>>2]=j;v[g+36>>2]=i;v[g+20>>2]=e;v[g+16>>2]=q;v[g+8>>2]=n;v[g+12>>2]=l;v[g+4>>2]=h;v[g+152>>2]=0;v[g+28>>2]=0;v[g>>2]=887312;v[f+160>>2]=13;v[f+144>>2]=13;v[f+128>>2]=13;v[f+112>>2]=13;v[f+96>>2]=13;v[f+80>>2]=13;v[f+64>>2]=13;v[g+160>>2]=0;v[g+164>>2]=0;v[g+144>>2]=1717986918;v[g+148>>2]=1072588390;v[g+136>>2]=1717986918;v[g+140>>2]=-1076468122;v[g+128>>2]=1717986918;v[g+132>>2]=1072588390;v[g+120>>2]=0;v[g+124>>2]=0;v[g+88>>2]=0;v[g+92>>2]=0;v[g+96>>2]=0;v[g+100>>2]=0;v[g+104>>2]=0;v[g+108>>2]=0;v[g+112>>2]=0;v[g+116>>2]=0;v[g+200>>2]=0;v[g+204>>2]=0;v[g+192>>2]=-1030792151;v[g+196>>2]=1072441589;v[g+184>>2]=0;v[g+188>>2]=-1074790400;v[g+176>>2]=0;v[g+180>>2]=1072693248;v[g+168>>2]=0;v[g+172>>2]=1;v[g+208>>2]=0;v[g+212>>2]=0;v[g+216>>2]=0;v[g+220>>2]=0;ja:{ka:{la:{if(v[ib(E,234407,f+144|0,0)>>2]==6){e=v[f+152>>2];if(v[e+12>>2]){break la}}fb(1,-1,228060,0);e=f+144|0;break ka}ma:{if(v[ub(e,0,f+160|0,0)>>2]!=7){fb(1,-1,228221,0);break ma}e=f+144|0;bb(e);z=v[f+168>>2];IG(g,z);if(v[ib(z,244286,e,0)>>2]!=7){fb(1,-1,227813,0);break ma}ib(v[f+152>>2],217813,f+128|0,0);ib(v[f+152>>2],272403,f+112|0,0);if(!(v[f+128>>2]==3&v[f+112>>2]==3)){fb(1,-1,227872,0);bb(f+112|0);bb(f+128|0);break ma}e=v[f+136>>2];J=g,K=Ug($b(Hc(ab(8),e),45),v[f+120>>2]),v[J+160>>2]=K;bb(f+112|0);bb(f+128|0);bb(f+144|0);v[g+224>>2]=0;e=CV(g,E,16,0);v[g+168>>2]=e;na:{if(e){break na}v[g+172>>2]=0;oa:{if(Ec(v[g+160>>2],217748)){if(Ec(v[g+160>>2],310283)){break oa}}J=g,K=_V(),v[J+168>>2]=K;break na}e=0;n=v[291134];l=v[g+160>>2];j=UV(v[n+416>>2],l);pa:{if(j){break pa}j=0;F=om(v[n+16>>2],l);if(!F){break pa}h=0;k=Ma-112|0;Ma=k;p=gn(v[F+4>>2],240365);qa:{if(!p){v[k>>2]=F;fb(1,-1,336064,k);break qa}m=32768;r=Pb(32768,4);if(rv(k+48|0,64,p)){while(1){if((h|0)==(m|0)){m=h<<1;r=yc(r,m,4)}v[k+32>>2]=k+44;i=(h<<2)+r|0;ra:{if((df(k+48|0,221174,k+32|0)|0)==1){e=h+1|0;h=v[k+44>>2];break ra}v[k+20>>2]=F;e=h+1|0;v[k+16>>2]=e;fb(0,-1,335870,k+16|0);h=0}v[i>>2]=h;h=e;if(rv(k+48|0,64,p)){continue}break}}Fe(p);h=ab(28);i=ab(8);Hc(i,l);v[h+8>>2]=e;v[h>>2]=i;i=Pb(e,4);v[h+4>>2]=i;cb(i,r,e<<2);v[h+20>>2]=0;v[h+24>>2]=1;v[h+12>>2]=0;v[h+16>>2]=0;tb(r)}Ma=k+112|0;if(!h){break pa}TV(v[n+416>>2],h);j=h}v[g+168>>2]=j;if(j){v[g+224>>2]=1;break na}v[f+16>>2]=v[g+160>>2];fb(1,-1,335956,f+16|0);J=g,K=_V(),v[J+168>>2]=K}e=v[g+16>>2];sa:{if(!e){break sa}h=cV(v[291134],e);if(!h){break sa}e=v[g+168>>2];if(e){if(v[e+4>>2]){if(v[e+8>>2]){j=0;while(1){ta:{if((ql(e,j,f+32|0,8)|0)<1){break ta}e=ql(h,v[f+32>>2],f+32|0,8);if((e|0)<1){break ta}XV(v[g+168>>2],j,f+32|0,e)}j=j+1|0;e=v[g+168>>2];if(j>>>0>2]){continue}break}}nq(h);break sa}nq(e)}v[g+168>>2]=h}if(v[ib(E,272636,f+144|0,0)>>2]==5){fb(1,-1,228114,0);break ma}e=SV(v[g+160>>2],f+144|0);v[g+164>>2]=e;if(!e){break ma}e=g;h=0;ua:{if(v[f+144>>2]!=4){break ua}h=0;if(hb(v[f+152>>2],311553)){break ua}h=!Ec(v[g+160>>2],217748)}v[e+232>>2]=h;e=f+144|0;bb(e);v[g+228>>2]=0;ib(z,242543,e,0);va:{wa:{xa:{switch(v[f+144>>2]-4|0){case 4:v[g+220>>2]=0;e=64;J=g,K=Pb(64,4),v[J+216>>2]=K;h=v[f+152>>2];Qa[v[v[h>>2]+20>>2]](h);h=v[f+152>>2];j=Qa[v[v[h>>2]+28>>2]](h)|0;ya:{if((j|0)==-1){break ya}while(1){h=v[f+152>>2];l=Qa[v[v[h>>2]+28>>2]](h)|0;if((l|0)==-1){break ya}h=v[g+220>>2];za:{if((h|0)!=(e|0)){i=v[g+216>>2];break za}e=e<<1;i=yc(v[g+216>>2],e,4);v[g+216>>2]=i;h=v[g+220>>2]}v[g+220>>2]=h+1;v[(h<<2)+i>>2]=l+(j<<8);h=v[f+152>>2];j=Qa[v[v[h>>2]+28>>2]](h)|0;if((j|0)!=-1){continue}break}}e=v[f+152>>2];Qa[v[v[e>>2]+24>>2]](e);v[g+232>>2]=0;break va;case 1:break va;case 0:break xa;default:break wa}}if(hb(v[f+152>>2],217754)){break wa}v[g+228>>2]=1;break va}fb(1,-1,227967,0)}e=f+144|0;bb(e);if(v[ib(z,309128,e,0)>>2]==1){A[g+176>>3]=+v[f+152>>2]*.001}e=f+144|0;bb(e);Aa:{if(v[ib(z,309129,e,0)>>2]!=6){break Aa}j=v[f+152>>2];if(v[j+12>>2]<2){break Aa}i=0;h=1;n=0;while(1){ub(j,i,f+128|0,0);ub(v[f+152>>2],h,f+112|0,0);Ba:{Ca:{if(v[f+128>>2]!=1){break Ca}Da:{switch(v[f+112>>2]-1|0){case 0:e=i+2|0;j=v[f+152>>2];if((e|0)>=v[j+12>>2]){break Ca}Ea:{if(v[ub(j,e,f+96|0,0)>>2]-1>>>0<=1){h=v[g+204>>2];Fa:{if((n|0)!=(h|0)){j=v[g+200>>2];break Fa}n=n+16|0;j=yc(v[g+200>>2],n,16);v[g+200>>2]=j;h=v[g+204>>2]}e=(h<<4)+j|0;v[e>>2]=v[f+136>>2];v[e+4>>2]=v[f+120>>2];A[e+8>>3]=(v[f+96>>2]==1?+v[f+104>>2]:A[f+104>>3])*.001;v[g+204>>2]=h+1;break Ea}fb(1,-1,228152,0)}bb(f+96|0);h=i+3|0;break Ba;case 5:break Da;default:break Ca}}j=v[f+120>>2];e=v[j+12>>2];h=e+v[g+204>>2]|0;if((h|0)>(n|0)){n=h+15&-16;J=g,K=yc(v[g+200>>2],n,16),v[J+200>>2]=K;j=v[f+120>>2];e=v[j+12>>2]}if((e|0)>=1){h=0;e=v[f+136>>2];while(1){Ga:{if(v[ub(j,h,f+96|0,0)>>2]-1>>>0<=1){j=v[g+204>>2];l=v[g+200>>2]+(j<<4)|0;v[l+4>>2]=e;v[l>>2]=e;A[l+8>>3]=(v[f+96>>2]==1?+v[f+104>>2]:A[f+104>>3])*.001;v[g+204>>2]=j+1;e=e+1|0;break Ga}fb(1,-1,228152,0)}bb(f+96|0);h=h+1|0;j=v[f+120>>2];if((h|0)>2]){continue}break}}h=i+2|0;break Ba}fb(1,-1,228152,0)}bb(f+112|0);bb(f+128|0);i=h;h=h+1|0;j=v[f+152>>2];if((h|0)>2]){continue}break}}e=f+144|0;bb(e);Ha:{if(v[ib(z,320007,e,0)>>2]!=6){break Ha}e=v[f+152>>2];if(v[e+12>>2]!=2){break Ha}if(v[ub(e,0,f+128|0,0)>>2]-1>>>0<=1){A[g+192>>3]=(v[f+128>>2]==1?+v[f+136>>2]:A[f+136>>3])*.001}e=f+128|0;bb(e);if(v[ub(v[f+152>>2],1,e,0)>>2]-1>>>0<=1){A[g+184>>3]=(v[f+128>>2]==1?+v[f+136>>2]:A[f+136>>3])*.001}bb(f+128|0)}e=f+144|0;bb(e);Ia:{if(v[ib(z,320008,e,0)>>2]!=6){break Ia}n=v[f+152>>2];if(v[n+12>>2]<2){break Ia}e=0;h=1;i=0;while(1){ub(n,e,f+128|0,0);ub(v[f+152>>2],h,f+112|0,0);Ja:{Ka:{if(v[f+128>>2]!=1){break Ka}La:{switch(v[f+112>>2]-1|0){case 0:j=e+4|0;l=v[f+152>>2];if((j|0)>=v[l+12>>2]){break Ka}Ma:{Na:{if(v[ub(l,e+2|0,f+96|0,0)>>2]-1>>>0>1){break Na}if(v[ub(v[f+152>>2],e+3|0,f+80|0,0)>>2]-1>>>0>1){break Na}if(v[ub(v[f+152>>2],j,f- -64|0,0)>>2]-1>>>0>1){break Na}n=v[g+212>>2];Oa:{if((n|0)!=(i|0)){h=v[g+208>>2];break Oa}i=i+16|0;h=yc(v[g+208>>2],i,32);v[g+208>>2]=h;n=v[g+212>>2]}h=(n<<5)+h|0;v[h>>2]=v[f+136>>2];v[h+4>>2]=v[f+120>>2];A[h+8>>3]=(v[f+96>>2]==1?+v[f+104>>2]:A[f+104>>3])*.001;A[h+16>>3]=(v[f+80>>2]==1?+v[f+88>>2]:A[f+88>>3])*.001;A[h+24>>3]=(v[f+64>>2]==1?+v[f+72>>2]:A[f+72>>3])*.001;v[g+212>>2]=n+1;break Ma}fb(1,-1,228184,0)}bb(f- -64|0);bb(f+80|0);bb(f+96|0);e=e+5|0;break Ja;case 5:break La;default:break Ka}}j=v[f+120>>2];h=v[j+12>>2];l=v[g+212>>2]+((h|0)/3|0)|0;if((l|0)>(i|0)){i=l+15&-16;J=g,K=yc(v[g+208>>2],i,32),v[J+208>>2]=K;j=v[f+120>>2];h=v[j+12>>2]}if((h|0)>=3){h=0;n=2;q=v[f+136>>2];while(1){Pa:{Qa:{if(v[ub(j,h,f+96|0,0)>>2]-1>>>0>1){break Qa}if(v[ub(v[f+120>>2],h+1|0,f+80|0,0)>>2]-1>>>0>1){break Qa}if(v[ub(v[f+120>>2],n,f- -64|0,0)>>2]-1>>>0>1){break Qa}j=v[g+212>>2];l=v[g+208>>2]+(j<<5)|0;v[l+4>>2]=q;v[l>>2]=q;A[l+8>>3]=(v[f+96>>2]==1?+v[f+104>>2]:A[f+104>>3])*.001;A[l+16>>3]=(v[f+80>>2]==1?+v[f+88>>2]:A[f+88>>3])*.001;A[l+24>>3]=(v[f+64>>2]==1?+v[f+72>>2]:A[f+72>>3])*.001;v[g+212>>2]=j+1;q=q+1|0;break Pa}fb(1,-1,228184,0)}n=h+5|0;bb(f- -64|0);bb(f+80|0);bb(f+96|0);h=h+3|0;j=v[f+120>>2];if(v[j+12>>2]>(n|0)){continue}break}}e=e+2|0;break Ja}fb(1,-1,228184,0);e=h}bb(f+112|0);bb(f+128|0);h=e+1|0;n=v[f+152>>2];if((h|0)>2]){continue}break}}bb(f+144|0);bb(f+160|0);v[g+156>>2]=1;break ja}bb(f+144|0);e=f+160|0}bb(e);v[f>>2]=v[g+16>>2];fb(1,-1,335916,f)}Ma=f+176|0}e=g;Ma=o+96|0;if(!v[e+156>>2]){Qa[v[v[e>>2]+4>>2]](e);break a}Ib(v[a+4>>2],e);ti(v[a>>2],Rb(ab(8),H),e)}bb(s+40|0);bb(s+24|0);G=G+1|0;if((G|0)>2]){continue}break}}Ma=s- -64|0;return a}function dja(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,y=0,z=0,C=0,E=0,F=0,G=0,I=0,J=0,K=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;U=Ma-16|0;Ma=U;O=U+8|0;r=c;p=d;i=Ma-80|0;Ma=i;v[i+72>>2]=0;qb(i+72|0,0);P=b;c=b+8|0;a:{if(v[b+8>>2]){gf(i- -64|0,P,c);break a}v[i+64>>2]=0;qb(i- -64|0,0)}b:{if(v[c>>2]){gf(i+40|0,P,c);break b}v[i+40>>2]=0;qb(i+40|0,0)}b=v[i+40>>2];c:{if(!b){break c}s=v[b+8>>2];v[i+40>>2]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break c}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}d:{if(v[c>>2]){gf(i+40|0,P,c);break d}v[i+40>>2]=0;qb(i+40|0,0)}e:{f:{b=v[i+40>>2];g:{if(!b){break g}f=v[b+12>>2];v[i+40>>2]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(!d){d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}if((s|0)<1|(f|0)<1){break g}b=v[i+64>>2];if(b){break f}}v[O>>2]=0;qb(O,0);break e}Q=1;h:{if(!(e>0)){break h}Q=.1;Y=e/A[b+24>>3];if(Y<.1){break h}Q=Y;if(!(Q>10)){break h}Q=10}i:{if(v[c>>2]){Iu(i+56|0,P,c);break i}v[i+56>>2]=0;qb(i+56|0,0)}j:{k:{l:{m:{b=v[i+56>>2];if(b){b=v[b+12>>2];if(b){b=v[b+4>>2]}else{b=0}d=b;c=v[v[i+56>>2]+12>>2];if(c){c=v[c+8>>2]}else{c=0}if(!(c?d:0)){v[O>>2]=0;qb(O,0);break j}d=Yr(s,f,b,c);if(d-1>>>0>=12){v[O>>2]=0;qb(O,0);break j}if((d|0)==(p|0)){b=i+40|0;c=v[i+56>>2];Qa[v[v[c>>2]+20>>2]](b,c,1,r);jb(i+72|0,b);db(b);break k}if(d<<1==(p|0)){b=i+40|0;c=v[i+56>>2];Qa[v[v[c>>2]+20>>2]](b,c,2,r);jb(i+72|0,b);db(b);break k}g=d<<2;if((g|0)==(p|0)){b=i+40|0;c=v[i+56>>2];Qa[v[v[c>>2]+20>>2]](b,c,4,r);jb(i+72|0,b);db(b);break k}if(d<<3==(p|0)){b=i+40|0;c=v[i+56>>2];Qa[v[v[c>>2]+20>>2]](b,c,8,r);jb(i+72|0,b);db(b);break k}if((g|0)==(B(p,3)|0)){d=v[r+12>>2];v[i+48>>2]=v[r+8>>2];v[i+52>>2]=d;d=v[r+4>>2];v[i+40>>2]=v[r>>2];v[i+44>>2]=d;d=v[r+12>>2];f=v[r+8>>2];v[i+32>>2]=f;v[i+36>>2]=d;d=v[r>>2];g=v[r+4>>2];f=(f+2|0)/3<<2;v[i+32>>2]=f;v[i+24>>2]=d;v[i+28>>2]=g;d=(d|0)/3|0;v[i+24>>2]=d<<2;g=v[i+28>>2]/3|0;v[i+28>>2]=g<<2;s=(v[i+36>>2]+2|0)/3<<2;v[i+36>>2]=s;go(i+40|0,(B(d,-12)|0)/4|0,(B(g,-12)|0)/4|0);if((b|0)<(f|0)){v[i+32>>2]=b}if((c|0)<(s|0)){v[i+36>>2]=c}ea=i+16|0;b=v[i+56>>2];Qa[v[v[b>>2]+20>>2]](ea,b,1,i+24|0);b=i+8|0;Fu(b);jb(i+72|0,b);db(b);d=v[i+72>>2];b=0;m=Ma-80|0;Ma=m;f=v[i+16>>2];_=x[f+8>>1];F=B(_,3)+3>>>2|0;W=x[f+10>>1];o=B(W,3)+3>>>2|0;n:{o:{if(i+40|0){z=v[i+40>>2];if((z|0)<0){break o}b=v[i+44>>2];if((b|0)<0){break o}c=v[i+48>>2];if((c|0)>(o|0)){break o}g=v[i+52>>2];if((g|0)>(F|0)){break o}F=g-b|0;o=c-z|0}c=v[d+20>>2];if(c){$a(c)}v[d+16>>2]=0;v[d+20>>2]=0;u[d+12>>1]=o;u[d+10>>1]=o;u[d+8>>1]=F;C=o&65535;y=F&65535;c=B(C,y);if(c){h=ab((ia=-1,ja=x3a(c,0,3,0),ka=Pa,ka?ia:ja));v[d+16>>2]=h;v[d+20>>2]=h}g=(z>>>0)/3|0;J=(b>>>0)/3|0;b=B(J,-3)+b|0;d=0-((b|0)<0?b+3|0:b)|0;p:{if((d|0)>=(F|0)){break p}c=B(g,-3)+z|0;s=0-((c|0)<0?c+3|0:c)|0;if((s|0)>=(o|0)){break p}z=g+(c>>31)<<2;T=J+(b>>31)<<2;V=x[f+12>>1];X=B(B(T,V),3)+(x[f+8>>1]?v[f+16>>2]:0)|0;h=B(B(d,C),3)+(y?h:0)|0;ga=B(V<<2,3);ha=B(C,9);while(1){f=d>>>0>4294967293?d:-3;b=0-f&d>>31;c=F-d|0;$=(b|0)<(c|0)&b>>>0<3;ca=!b&(c|0)>(b+2|0);da=b>>>0<2&(c|0)>(b+1|0);b=B(f^-1,3)+3|0;Z=(d|0)<0;y=Z?B(b,3)+m|0:m;J=y+18|0;K=y+9|0;aa=_-T|0;ba=0-T|0;T=T+4|0;d=d+3|0;fa=B(b,C);c=s;b=z;while(1){g=b;b=b+4|0;q=(W|0)<(b|0)|(T|0)>(_|0);f=c;c=f+3|0;E=B(g,3)+X|0;I=(f|0)<0;q:{if(!(Z|I|((c|0)>(o|0)|(d|0)>(F|0)))){if(!q){ky(E,V,B(f,3)+h|0,C);break q}k=0-g|0;l=W-g|0;g=m+32|0;dR(E,V,k,l,ba,aa,g);ky(g,4,B(f,3)+h|0,C);break q}r:{s:{t:{u:{if(!q){ky(E,V,m,3);if(!$){break q}g=0-f|0;g=(g|0)>0?g:0;if(g>>>0>2){break q}E=o-f|0;if((E|0)<=(g|0)){break q}f=B(f,3)+h|0;G=Z?f+fa|0:f;q=B(g,3);f=G+q|0;N=q+y|0;l=w[N|0]|w[N+1|0]<<8;t[f|0]=l;t[f+1|0]=l>>>8;t[f+2|0]=w[N+2|0];f=g+1|0;N=g>>>0>1;if(N){break r}if((f|0)<(E|0)){break u}break r}k=0-g|0;l=W-g|0;g=m+32|0;dR(E,V,k,l,ba,aa,g);ky(g,4,m,3);if(!$){break q}g=0-f|0;g=(g|0)>0?g:0;if(g>>>0>2){break q}E=o-f|0;if((E|0)<=(g|0)){break q}f=B(f,3)+h|0;G=Z?f+fa|0:f;q=B(g,3);f=G+q|0;N=q+y|0;l=w[N|0]|w[N+1|0]<<8;t[f|0]=l;t[f+1|0]=l>>>8;t[f+2|0]=w[N+2|0];f=g+1|0;N=g>>>0>1;if(N){break s}if((f|0)<(E|0)){break t}break s}k=B(f,3);l=k+G|0;k=k+y|0;R=w[k|0]|w[k+1|0]<<8;t[l|0]=R;t[l+1|0]=R>>>8;t[l+2|0]=w[k+2|0];if(I){break r}l=g+2|0;if((l|0)>=(E|0)){break r}k=B(l,3);l=k+G|0;k=k+y|0;R=w[k|0]|w[k+1|0]<<8;t[l|0]=R;t[l+1|0]=R>>>8;t[l+2|0]=w[k+2|0];break r}k=B(f,3);l=k+G|0;k=k+y|0;R=w[k|0]|w[k+1|0]<<8;t[l|0]=R;t[l+1|0]=R>>>8;t[l+2|0]=w[k+2|0];if(I){break s}l=g+2|0;if((l|0)>=(E|0)){break s}k=B(l,3);l=k+G|0;k=k+y|0;R=w[k|0]|w[k+1|0]<<8;t[l|0]=R;t[l+1|0]=R>>>8;t[l+2|0]=w[k+2|0]}if(!da){break q}R=B(C,3);G=R+G|0;l=G+q|0;k=q+K|0;S=w[k|0]|w[k+1|0]<<8;t[l|0]=S;t[l+1|0]=S>>>8;t[l+2|0]=w[k+2|0];v:{if((f|0)>=(E|0)|N){break v}k=B(f,3);l=k+G|0;k=k+K|0;S=w[k|0]|w[k+1|0]<<8;t[l|0]=S;t[l+1|0]=S>>>8;t[l+2|0]=w[k+2|0];if(I){break v}l=g+2|0;if((l|0)>=(E|0)){break v}k=B(l,3);l=k+G|0;k=k+K|0;S=w[k|0]|w[k+1|0]<<8;t[l|0]=S;t[l+1|0]=S>>>8;t[l+2|0]=w[k+2|0]}if(!ca){break q}G=G+R|0;l=G+q|0;q=q+J|0;k=w[q|0]|w[q+1|0]<<8;t[l|0]=k;t[l+1|0]=k>>>8;t[l+2|0]=w[q+2|0];if((f|0)>=(E|0)|N){break q}q=B(f,3);f=q+G|0;q=q+J|0;N=w[q|0]|w[q+1|0]<<8;t[f|0]=N;t[f+1|0]=N>>>8;t[f+2|0]=w[q+2|0];if(I){break q}f=g+2|0;if((f|0)>=(E|0)){break q}g=B(f,3);f=g+G|0;g=g+J|0;I=w[g|0]|w[g+1|0]<<8;t[f|0]=I;t[f+1|0]=I>>>8;t[f+2|0]=w[g+2|0];break q}if(!da){break q}R=B(C,3);G=R+G|0;l=G+q|0;k=q+K|0;S=w[k|0]|w[k+1|0]<<8;t[l|0]=S;t[l+1|0]=S>>>8;t[l+2|0]=w[k+2|0];w:{if((f|0)>=(E|0)|N){break w}k=B(f,3);l=k+G|0;k=k+K|0;S=w[k|0]|w[k+1|0]<<8;t[l|0]=S;t[l+1|0]=S>>>8;t[l+2|0]=w[k+2|0];if(I){break w}l=g+2|0;if((l|0)>=(E|0)){break w}k=B(l,3);l=k+G|0;k=k+K|0;S=w[k|0]|w[k+1|0]<<8;t[l|0]=S;t[l+1|0]=S>>>8;t[l+2|0]=w[k+2|0]}if(!ca){break q}G=G+R|0;l=G+q|0;q=q+J|0;k=w[q|0]|w[q+1|0]<<8;t[l|0]=k;t[l+1|0]=k>>>8;t[l+2|0]=w[q+2|0];if((f|0)>=(E|0)|N){break q}q=B(f,3);f=q+G|0;q=q+J|0;N=w[q|0]|w[q+1|0]<<8;t[f|0]=N;t[f+1|0]=N>>>8;t[f+2|0]=w[q+2|0];if(I){break q}f=g+2|0;if((f|0)>=(E|0)){break q}g=B(f,3);f=g+G|0;g=g+J|0;I=w[g|0]|w[g+1|0]<<8;t[f|0]=I;t[f+1|0]=I>>>8;t[f+2|0]=w[g+2|0]}if((c|0)<(o|0)){continue}break}X=X+ga|0;h=h+ha|0;if((d|0)<(F|0)){continue}break}}Ma=m+80|0;break n}lb(mb(m+32|0,317051,241334,1169,331761));L()}db(ea);break k}z=16;g=d<<4;if((g|0)>(p|0)){break m}break l}x:{if(v[c>>2]){Hu(i+24|0,P,c);break x}v[i+24>>2]=0;qb(i+24|0,0)}b=v[i+24>>2];y:{if(b){z:{c=x[b+10>>1];if(c){d=x[b+8>>1];if(d){break z}}v[O>>2]=0;qb(O,0);break y}b=Yr(s,f,c,d);if(b-1>>>0>=12){v[O>>2]=0;qb(O,0);break y}I=(p|0)/(b|0)|0;A:{if(!((I|0)<1|(B(b,I)|0)!=(p|0))){b=i+40|0;Fu(b);jb(i+72|0,b);db(b);m=v[i+24>>2];h=v[i+72>>2];if((I|0)==1){c=Ma-16|0;Ma=c;b=v[r+8>>2]-v[r>>2]|0;d=v[r+12>>2]-v[r+4>>2]|0;f=v[h+20>>2];if(f){$a(f)}v[h+16>>2]=0;v[h+20>>2]=0;u[h+12>>1]=b;u[h+10>>1]=b;u[h+8>>1]=d;b=B(b&65535,d&65535);if(b){b=ab((ia=-1,ja=x3a(b,0,3,0),ka=Pa,ka?ia:ja));v[h+16>>2]=b;v[h+20>>2]=b}b=x[m+10>>1];v[c+12>>2]=x[m+8>>1];v[c+8>>2]=b;v[c>>2]=0;v[c+4>>2]=0;Au(c,c,r);go(c,0-v[r>>2]|0,0-v[r+4>>2]|0);o=v[c+8>>2];B:{if((o|0)<=v[c>>2]){break B}s=v[c+4>>2];d=v[c+12>>2];if((s|0)>=(d|0)){break B}while(1){b=0;C:{if((s|0)<0){break C}b=0;if(x[h+8>>1]<=(s|0)){break C}f=v[h+16>>2];b=0;if(!f){break C}b=f+B(B(x[h+12>>1],s),3)|0}g=v[c>>2];if((o|0)>(g|0)){d=v[r+4>>2]+s|0;z=B(v[r>>2],3)+((d|0)>-1?(d|0)>1]?v[m+16>>2]+B(B(d,x[m+12>>1]),3)|0:0:0)|0;while(1){f=B(g,3);d=f+b|0;f=f+z|0;o=w[f|0]|w[f+1|0]<<8;t[d|0]=o;t[d+1|0]=o>>>8;t[d+2|0]=w[f+2|0];g=g+1|0;o=v[c+8>>2];if((g|0)<(o|0)){continue}break}d=v[c+12>>2]}s=s+1|0;if((d|0)>(s|0)){continue}break}}Ma=c+16|0;break A}s=0;W=Ma-32|0;Ma=W;b=I-1|0;d=(b+x[m+8>>1]>>>0)/(I>>>0)|0;b=(b+x[m+10>>1]>>>0)/(I>>>0)|0;D:{E:{if(r){s=v[r>>2];if((s|0)<0){break E}z=v[r+4>>2];if((z|0)<0){break E}c=b;b=v[r+8>>2];if((c|0)<(b|0)){break E}c=d;d=v[r+12>>2];if((c|0)<(d|0)){break E}}if(!w[1167296]){t[1167296]=1;c=1;while(1){v[(c<<2)+1166272>>2]=65536/(c>>>0);f=c+1|0;v[(f<<2)+1166272>>2]=65536/(f>>>0);f=c+2|0;v[(f<<2)+1166272>>2]=65536/(f>>>0);c=c+3|0;if((c|0)!=256){continue}break}}c=v[h+20>>2];if(c){$a(c)}v[h+16>>2]=0;v[h+20>>2]=0;b=b-s|0;u[h+12>>1]=b;u[h+10>>1]=b;c=d-z|0;u[h+8>>1]=c;T=b&65535;V=c&65535;b=B(T,V);if(b){E=ab((ia=-1,ja=x3a(b,0,3,0),ka=Pa,ka?ia:ja));v[h+16>>2]=E;v[h+20>>2]=E}if(!(!V|!T)){ca=V?E:0;K=B(s,I);f=B(z,I);X=x[m+12>>1];Z=x[m+8>>1];F=(f|0)>-1?(Z|0)>(f|0)?v[m+16>>2]+B(B(f,X),3)|0:0:0;G=B(T,3);_=x[m+10>>1];da=B(B(I,X),3);while(1){q=0;b=K;C=f+I|0;aa=(C|0)>(Z|0)?Z:C;F:{if((aa|0)<=(f|0)){eb(ca+B(B(T,$),3)|0,0,G);break F}while(1){m=0;c=0;d=0;h=0;y=f;g=F;o=0;s=0;z=0;G:{H:{J=b+I|0;ba=(J|0)>(_|0)?_:J;if((ba|0)<=(b|0)){break H}while(1){c=b;while(1){d=m;m=d+1|0;h=B(c,3)+g|0;o=w[h|0]+o|0;s=w[h+1|0]+s|0;z=w[h+2|0]+z|0;c=c+1|0;if((ba|0)>(c|0)){continue}break}g=B(X,3)+g|0;y=y+1|0;if((aa|0)>(y|0)){continue}break}if((d|0)<=254){c=o;d=s;h=z;break H}c=(o|0)/(m|0)|0;o=(s|0)/(m|0)|0;b=(z|0)/(m|0)|0;break G}b=v[(m<<2)+1166272>>2];c=B(b,c)+32768>>>16|0;o=B(b,d)+32768>>>16|0;b=B(b,h)+32768>>>16|0}d=B(q,3)+E|0;t[d+1|0]=o;t[d+2|0]=b;t[d|0]=c;b=J;q=q+1|0;if((T|0)!=(q|0)){continue}break}}E=E+G|0;F=F+da|0;f=C;$=$+1|0;if((V|0)!=($|0)){continue}break}}Ma=W+32|0;break D}lb(mb(W+8|0,320678,241334,879,331699));L()}break A}g=i+16|0;h=p-1|0;UE(g,c,d,(h+s|0)/(p|0)|0,(f+h|0)/(p|0)|0);h=v[i+16>>2];Sr(h,b,p);Rr(h,b,p);b=i+40|0;Fu(b);jb(i+72|0,b);db(b);v[i+52>>2]=d;v[i+48>>2]=c;v[i+40>>2]=0;v[i+44>>2]=0;iy(h,b,v[i+24>>2],r,v[i+72>>2]);db(g)}b=v[i+72>>2];if(!(!b|Q==1)){eR(b,Q);b=v[i+72>>2]}if(!b){v[O>>2]=0;break y}v[b+4>>2]=v[b+4>>2]+1;v[O>>2]=v[i+72>>2];break y}v[O>>2]=0;qb(O,0)}b=v[i+24>>2];v[i+24>>2]=0;if(!b){break j}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break j}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}break j}z=8;g=d<<3;if((g|0)<=(p|0)){break l}z=4;g=d<<2;if((g|0)<=(p|0)){break l}g=d<<1;h=(g|0)>(p|0);g=h?d:g;z=h?1:2}h=i+24|0;d=b;b=z-1|0;d=(d+b|0)/(z|0)|0;c=(b+c|0)/(z|0)|0;b=p-1|0;UE(h,d,c,(b+s|0)/(p|0)|0,(b+f|0)/(p|0)|0);b=v[i+24>>2];Sr(b,g,p);Rr(b,g,p);v[i+48>>2]=0;v[i+52>>2]=0;v[i+40>>2]=0;v[i+44>>2]=0;c=i+40|0;uE(b,r,c);f=i+16|0;d=v[i+56>>2];Qa[v[v[d>>2]+20>>2]](f,d,z,c);d=i+8|0;Fu(d);jb(i+72|0,d);db(d);iy(b,c,v[i+16>>2],r,v[i+72>>2]);db(f);db(h)}b=v[i+72>>2];if(!(!b|Q==1)){eR(b,Q);b=v[i+72>>2]}if(!b){v[O>>2]=0;break j}v[b+4>>2]=v[b+4>>2]+1;v[O>>2]=v[i+72>>2]}b=v[i+56>>2];v[i+56>>2]=0;if(!b){break e}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break e}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[i+64>>2];v[i+64>>2]=0;I:{if(!b){break I}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break I}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[i+72>>2];v[i+72>>2]=0;J:{if(!b){break J}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break J}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}Ma=i+80|0;Q=e;f=Ma-176|0;Ma=f;K:{L:{M:{N:{O:{P:{Q:{s=v[U+8>>2];R:{if(!s){break R}b=P+8|0;S:{if(v[P+8>>2]){gf(f+136|0,P,b);break S}v[f+136>>2]=0;qb(f+136|0,0)}T:{if(v[b>>2]){gf(f+152|0,P,b);break T}v[f+152>>2]=0;qb(f+152|0,0)}c=v[f+152>>2];U:{if(!c){break U}j=v[c+8>>2];v[f+152>>2]=0;d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break U}d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}}V:{if(v[b>>2]){gf(f+152|0,P,b);break V}v[f+152>>2]=0;qb(f+152|0,0)}c=v[f+152>>2];W:{if(!c){break W}d=v[c+12>>2];v[f+152>>2]=0;h=v[c+4>>2]-1|0;v[c+4>>2]=h;if(!h){h=v[c+4>>2];if(!h){v[c+4>>2]=-32767}if(!h){Qa[v[v[c>>2]+4>>2]](c)}}if(!v[f+136>>2]|((j|0)<1|(d|0)<1)){break W}X:{if(v[b>>2]){Tp(f+128|0,P,b);break X}v[f+128>>2]=0;qb(f+128|0,0)}Y:{if(v[b>>2]){Gu(f+120|0,P,b);break Y}v[f+120>>2]=0;qb(f+120|0,0)}Z:{if(v[b>>2]){VE(f+112|0,P,b);break Z}v[f+112>>2]=0;qb(f+112|0,0)}e=1;_:{if(!(Q>0)){break _}e=.1;Q=Q/A[v[f+136>>2]+24>>3];if(Q<.1){break _}e=Q;if(!(e>10)){break _}e=10}v[f+104>>2]=0;v[f+108>>2]=0;v[f+96>>2]=0;v[f+100>>2]=0;z=f+96|0;v[z>>2]=970520;v[z+4>>2]=0;v[z+8>>2]=0;v[z+12>>2]=0;v[f+88>>2]=0;b=v[f+128>>2];$:{if(!b){break $}aa:{ba:{if(v[b+72>>2]!=(j|0)|(d|0)!=v[b+76>>2]){break ba}c=v[r+12>>2]-v[r+4>>2]|0;h=v[r+8>>2]-v[r>>2]|0;h=Rp(ab(72),c,h,0);c=f+152|0;v[c>>2]=0;qb(c,h);jb(f+88|0,c);db(c);J=B(p,p);Vr(v[f+88>>2],J+1|0);c=v[r>>2];h=v[r+4>>2];v[f+64>>2]=0;g=v[b+100>>2];n=v[b+96>>2];if(((g-n|0)+1|0)>=1){o=B(h,p);F=B(c,p);while(1){if((g|0)<(M|0)|(n|0)>(M|0)){break M}c=v[b+84>>2]+(M-v[b+88>>2]<<3)|0;m=iE(b,v[c+4>>2]);n=v[m+4>>2];ca:{if(!n){break ca}g=x[c>>1];if((g|0)>(B(v[r+8>>2],p)|0)){break ca}M=x[c+2>>1];if((x[n+10>>1]+g|0)<(B(v[r>>2],p)|0)|(M|0)>(B(v[r+12>>2],p)|0)|(x[n+8>>1]+M|0)<(B(v[r+4>>2],p)|0)){break ca}if(v[f+112>>2]){h=ab(12);v[h>>2]=0;v[h+4>>2]=0;v[h+8>>2]=v[f- -64>>2];de(f+96|0,h);M=x[c+2>>1];n=v[m+4>>2];g=x[c>>1]}HE(v[f+88>>2],n,g-F|0,M-o|0,p)}M=v[f+64>>2]+1|0;v[f+64>>2]=M;g=v[b+100>>2];n=v[b+96>>2];if(((g-n|0)+1|0)>(M|0)){continue}break}}h=v[f+88>>2];if(!h){n=0;break aa}da:{ea:{fa:{if(v[f+112>>2]){n=0;d=Ma-1056|0;Ma=d;ga:{ha:{if(h){c=x[h+8>>1];b=c;j=x[s+8>>1];F=(b|0)<(j|0)?b:j;ia:{if((F|0)<1){break ia}b=x[h+10>>1];j=x[s+10>>1];C=(b|0)<(j|0)?b:j;if((C|0)<1){break ia}b=x[h+16>>1];o=b-1|0;ja:{if(!o){break ja}j=0;if((b|0)!=2){b=o&-2;while(1){v[d+(j<<2)>>2]=(j<<16>>>0)/(o>>>0);g=j|1;v[d+(g<<2)>>2]=(g<<16>>>0)/(o>>>0);j=j+2|0;b=b-2|0;if(b){continue}break}}if(!(o&1)){break ja}v[d+(j<<2)>>2]=(j<<16>>>0)/(o>>>0)}if(!v[h+20>>2]){Re(h);c=x[h+8>>1]}ka:{if(!c){M=x[h+14>>1];b=x[h+12>>1];if(v[279246]<(M+b|0)){break ha}h=b+v[279245]|0;break ka}M=x[h+14>>1];h=v[h+20>>2]+x[h+12>>1]|0}if((F|0)<1|(C|0)<1){break ia}K=x[s+12>>1];g=x[s+8>>1]?v[s+16>>2]:0;m=0;while(1){j=0;while(1){c=w[h+j|0];la:{if(!c){break la}if(c>>>0>=o>>>0){b=B(j,3)+g|0;t[b+2|0]=0;t[b|0]=0;t[b+1|0]=0;break la}b=B(j,3)+g|0;y=w[b|0];c=v[d+(c<<2)>>2];t[b|0]=y-(B(c,y)>>>16|0);y=w[b+1|0];t[b+1|0]=y-(B(c,y)>>>16|0);y=b;b=w[b+2|0];t[y+2|0]=b-(B(b,c)>>>16|0)}j=j+1|0;if((C|0)!=(j|0)){continue}break}h=h+M|0;g=B(K,3)+g|0;m=m+1|0;if((F|0)!=(m|0)){continue}break}}Ma=d+1056|0;break ga}lb(mb(d,306453,241334,1355,328558));L()}lb(mb(d+1032|0,260021,271561,592,225834));L()}o=v[f+128>>2];h=v[f+112>>2];if((v[o+100>>2]-v[o+96>>2]|0)!=(v[h+28>>2]-v[h+24>>2]|0)){break ba}b=0;c=v[h+60>>2]-v[h+56>>2]|0;V=io(f- -64|0,972116,c);c=c+1|0;if((c|0)<=0){break ea}while(1){if(!(v[f+80>>2]<=(b|0)&v[f+84>>2]>=(b|0))){break N}if(v[h+60>>2]<(b|0)|v[h+56>>2]>(b|0)){break fa}d=v[f+68>>2]+B(b-v[f+72>>2]|0,3)|0;j=v[h+44>>2]+(b-v[h+48>>2]<<2)|0;t[d|0]=w[j|0];t[d+1|0]=w[j+1|0];t[d+2|0]=w[j+2|0];b=b+1|0;if((c|0)!=(b|0)){continue}break}break ea}n=0;g=v[f+120>>2];if(!g){break ba}b=j;c=d;d=x[g+10>>1];j=x[g+8>>1];b=Yr(b,c,d,j);if(b-1>>>0>11){break ba}n=1;n=(b|0)>(p|0)?(b|0)/(p|0)|0:n;c=B(n,p);if((c|0)==(b|0)){cR(s,h,g,n,r,e);break da}p=c-1|0;h=(p+B(b,j)|0)/(c|0)|0;p=(p+B(b,d)|0)/(c|0)|0;v[f+32>>2]=0;ma:{if(t[1165628]&1){break ma}if(!ie(1165628)){break ma}v[291406]=0;qb(1165624,0);he(1165628)}na:{oa:{g=v[291406];if(!g|(P|0)!=v[291404]|(v[f+120>>2]!=v[291405]|(p|0)!=x[g+10>>1])){break oa}if((h|0)!=x[g+8>>1]){break oa}jb(f+32|0,1165624);break na}o=f+16|0;UE(o,d,j,p,h);g=v[f+16>>2];Sr(g,b,c);Rr(g,b,c);b=f+152|0;Fu(b);jb(f+32|0,b);db(b);v[f+164>>2]=j;v[f+160>>2]=d;v[f+152>>2]=0;v[f+156>>2]=0;v[f+76>>2]=h;v[f+72>>2]=p;v[f+64>>2]=0;v[f+68>>2]=0;iy(g,b,v[f+120>>2],f- -64|0,v[f+32>>2]);db(o)}cR(s,v[f+88>>2],v[f+32>>2],n,r,e);v[291404]=P;v[291405]=v[f+120>>2];b=f+32|0;jb(1165624,b);db(b);break da}lb(mb(f+152|0,227376,271519,632,307067));L()}j=v[f+68>>2]+B(v[f+72>>2],-3)|0;b=0;g=Ma-256|0;Ma=g;pa:{qa:{ra:{if(e<1.001&e>.999){break ra}sa:{if(t[1168080]&1){break sa}if(!ie(1168080)){break sa}he(1168080)}if(A[139624]!=e){if(e<.1|e>10){break qa}Q=1/e;while(1){m=b+1167824|0;Y=H(pd(+(b|0)/255,Q)*255+.5);ta:{if(D(Y)<2147483648){d=~~Y;break ta}d=-2147483648}t[m|0]=d;d=b|1;m=d+1167824|0;Y=H(pd(+(d|0)/255,Q)*255+.5);ua:{if(D(Y)<2147483648){d=~~Y;break ua}d=-2147483648}t[m|0]=d;b=b+2|0;if((b|0)!=256){continue}break}t[1168079]=255;A[139624]=e;t[1167824]=0}d=cb(g,1167824,256);if((c|0)<1){break ra}if(c&1){t[j+2|0]=w[d+w[j+2|0]|0];t[j+1|0]=w[d+w[j+1|0]|0];t[j|0]=w[d+w[j|0]|0];j=j+3|0;b=c-1|0}else{b=c}if((c|0)==1){break ra}while(1){t[j+2|0]=w[d+w[j+2|0]|0];t[j+1|0]=w[d+w[j+1|0]|0];t[j|0]=w[d+w[j|0]|0];t[j+5|0]=w[d+w[j+5|0]|0];t[j+4|0]=w[d+w[j+4|0]|0];t[j+3|0]=w[d+w[j+3|0]|0];j=j+6|0;n=(b|0)>2;b=b-2|0;if(n){continue}break}}Ma=g+256|0;break pa}lb(mb(g,255729,241334,657,332084));L()}if(v[f+100>>2]>=1){i=p-1|0;q=J+1|0;while(1){v[f+60>>2]=z;b=v[f+104>>2];v[f+56>>2]=b;v[f+48>>2]=b;v[f+52>>2]=f+96;if(!b){break Q}b=v[b+8>>2];if((b|0)>2]|(b|0)>v[h+28>>2]){break L}y=u[v[h+12>>2]+(b-v[h+16>>2]<<1)>>1];if((y|0)>=(c|0)){break P}v[f+40>>2]=0;v[f+44>>2]=0;v[f+32>>2]=0;v[f+36>>2]=0;F=f+32|0;v[F>>2]=970520;v[F+4>>2]=0;v[F+8>>2]=0;v[F+12>>2]=0;v[f+24>>2]=0;v[f+28>>2]=0;v[f+16>>2]=0;v[f+20>>2]=0;j=0;b=0;g=0;m=0;n=v[f+56>>2];if(n){while(1){v[f+8>>2]=n;b=v[f+60>>2];v[f+12>>2]=b;if((b|0)!=(f+96|0)){break O}d=v[n+8>>2];if((d|0)>2]|(d|0)>v[o+100>>2]){break M}b=j;g=v[o+84>>2]+(d-v[o+88>>2]<<3)|0;j=x[g>>1];if(b>>>0<=j>>>0){if((d|0)>2]|(d|0)>v[h+28>>2]){break L}va:{if(x[v[h+12>>2]+(d-v[h+16>>2]<<1)>>1]==(y&65535)){b=v[iE(o,v[g+4>>2])+4>>2];d=x[b+10>>1];n=x[b+8>>1];b=x[g>>1];g=x[g+2>>1];v[f+156>>2]=g;v[f+152>>2]=b;v[f+164>>2]=g+n;v[f+160>>2]=b+d;b=v[f+152>>2];wa:{xa:{d=v[f+16>>2];g=v[f+24>>2];if((d|0)<(g|0)){n=v[f+20>>2];m=v[f+28>>2];if((n|0)<(m|0)){break xa}}v[f+16>>2]=b;v[f+24>>2]=v[f+160>>2];v[f+20>>2]=v[f+156>>2];v[f+28>>2]=v[f+164>>2];break wa}ya:{C=v[f+160>>2];if((C|0)>(b|0)){J=v[f+156>>2];K=v[f+164>>2];if((J|0)<(K|0)){break ya}}v[f+24>>2]=g;v[f+16>>2]=d;v[f+28>>2]=m;v[f+20>>2]=n;break wa}v[f+24>>2]=(g|0)>(C|0)?g:C;v[f+16>>2]=(b|0)>(d|0)?d:b;v[f+28>>2]=(m|0)>(K|0)?m:K;v[f+20>>2]=(n|0)<(J|0)?n:J}v[f+144>>2]=0;v[f+148>>2]=0;d=f+144|0;za:{Aa:{g=f+56|0;b=v[g>>2];if(!(!b|(z|0)!=v[g+4>>2])){if((F|0)!=v[d+4>>2]?v[d>>2]:0){break Aa}m=g;g=v[b>>2];v[m>>2]=g;d=v[d>>2];if((d|0)!=(b|0)){n=z+8|0;v[(g?g:n)+4>>2]=v[b+4>>2];m=v[b+4>>2];v[(m?m:n)>>2]=g;v[z+4>>2]=v[z+4>>2]-1;n=F+12|0;g=v[(d?d+4|0:n)>>2];v[b>>2]=d;v[b+4>>2]=g;v[(g?g:F+8|0)>>2]=b;d=v[b>>2];v[(d?d+4|0:n)>>2]=b;v[F+4>>2]=v[F+4>>2]+1}break za}wd(g,z);L()}wd(d,F);L()}n=v[f+56>>2];break va}n=v[n>>2];v[f+56>>2]=n}if(n){continue}}break}j=v[f+28>>2];g=v[f+20>>2];m=v[f+16>>2];b=v[f+24>>2]}v[f+20>>2]=(g|0)/(p|0);v[f+16>>2]=(m|0)/(p|0);v[f+28>>2]=(i+j|0)/(p|0);v[f+24>>2]=(b+i|0)/(p|0);b=f+16|0;Au(b,b,r);b=f+88|0;qb(b,0);d=v[f+16>>2];j=v[f+24>>2];g=v[f+20>>2];n=v[f+28>>2];d=Rp(ab(72),n-g|0,j-d|0,0);v[f+152>>2]=0;j=f+152|0;qb(j,d);jb(b,j);b=v[f+152>>2];v[f+152>>2]=0;Ba:{if(!b){break Ba}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break Ba}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}Vr(v[f+88>>2],q);b=v[f+40>>2];v[f+56>>2]=b;d=v[f+20>>2];j=v[f+16>>2];v[f+60>>2]=f+32;Ca:{if(!b){break Ca}d=B(d,p);j=B(j,p);v[f>>2]=b;v[f+4>>2]=f+32;while(1){b=v[b+8>>2];if((b|0)>2]|(b|0)>v[o+100>>2]){break M}b=v[o+84>>2]+(b-v[o+88>>2]<<3)|0;g=iE(o,v[b+4>>2]);HE(v[f+88>>2],v[g+4>>2],x[b>>1]-j|0,x[b+2>>1]-d|0,p);b=v[f+56>>2];if(!b){break Ca}b=v[b>>2];v[f+56>>2]=b;if(!b){break Ca}g=v[f+60>>2];v[f+4>>2]=g;v[f>>2]=b;if((g|0)==(f+32|0)){continue}break}wd(f,f+32|0);L()}if((y|0)>2]|(y|0)>v[f+84>>2]){break N}m=v[f+16>>2]-v[r>>2]|0;C=v[f+20>>2]-v[r+4>>2]|0;n=v[f+68>>2]+B(y-v[f+72>>2]|0,3)|0;b=0;g=Ma-1056|0;Ma=g;Da:{Ea:{j=v[f+88>>2];if(j){if(!w[1167297]){t[1167297]=1;while(1){t[b+1167312|0]=b>>>0<255?b:255;d=b|1;t[d+1167312|0]=d>>>0<255?d:255;d=b|2;t[d+1167312|0]=d>>>0<255?d:255;d=b|3;t[d+1167312|0]=d>>>0<255?d:255;b=b+4|0;if((b|0)!=512){continue}break}}Fa:{if(!n){break Fa}d=x[j+8>>1];b=d+C|0;y=x[s+8>>1];M=(C|0)>0?C:0;O=((b|0)<(y|0)?b:y)-M|0;if((O|0)<1){break Fa}b=m+x[j+10>>1]|0;y=x[s+10>>1];W=(m|0)>0?m:0;I=((b|0)<(y|0)?b:y)-W|0;if((I|0)<1){break Fa}K=x[j+16>>1];J=K-1|0;Ga:{if(J>>>0<2){break Ga}b=1;if((K|0)!=3){y=K-2&-2;while(1){v[g+(b<<2)>>2]=(b<<16>>>0)/(J>>>0);E=b+1|0;v[g+(E<<2)>>2]=(E<<16>>>0)/(J>>>0);b=b+2|0;y=y-2|0;if(y){continue}break}}if(!(K&1)){break Ga}v[g+(b<<2)>>2]=(b<<16>>>0)/(J>>>0)}K=w[n|0];E=w[n+1|0];T=w[n+2|0];if(!v[j+20>>2]){Re(j);d=x[j+8>>1]}Ha:{if(!(d&65535)){n=x[j+14>>1];b=x[j+12>>1];if(v[279246]<(n+b|0)){break Ea}b=b+v[279245]|0;break Ha}n=x[j+14>>1];b=v[j+20>>2]+x[j+12>>1]|0}if((O|0)<1|(I|0)<1){break Fa}j=0;X=x[s+12>>1];M=(B(B(X,M),3)+(x[s+8>>1]?v[s+16>>2]:0)|0)+B(W,3)|0;m=(b-B((C|0)>0?0:C,n)|0)-((m|0)>0?0:m)|0;while(1){b=0;while(1){C=w[b+m|0];if(C){Ia:{if(C>>>0>=J>>>0){d=B(b,3)+M|0;t[d|0]=w[(K+w[d|0]|0)+1167312|0];t[d+1|0]=w[(E+w[d+1|0]|0)+1167312|0];y=T+w[d+2|0]|0;d=d+2|0;break Ia}d=B(b,3)+M|0;C=v[g+(C<<2)>>2];t[d|0]=w[(w[d|0]+(B(C,K)>>>16|0)|0)+1167312|0];t[d+1|0]=w[(w[d+1|0]+(B(E,C)>>>16|0)|0)+1167312|0];y=w[d+2|0]+(B(C,T)>>>16|0)|0;d=d+2|0}t[d|0]=w[y+1167312|0]}b=b+1|0;if((I|0)!=(b|0)){continue}break}m=m+n|0;M=B(X,3)+M|0;j=j+1|0;if((O|0)!=(j|0)){continue}break}}Ma=g+1056|0;break Da}lb(mb(g,306453,241334,1405,332137));L()}lb(mb(g+1032|0,260021,271561,592,225834));L()}ac(F);if(v[f+100>>2]>0){continue}break}}xd(V)}n=1}h=v[f+88>>2]}v[f+88>>2]=0;if(!h){break $}b=v[h+4>>2]-1|0;v[h+4>>2]=b;if(b){break $}b=v[h+4>>2];if(!b){v[h+4>>2]=-32767}if(!b){Qa[v[v[h>>2]+4>>2]](h)}}ac(z);b=v[f+112>>2];v[f+112>>2]=0;Ja:{if(!b){break Ja}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break Ja}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[f+120>>2];v[f+120>>2]=0;Ka:{if(!b){break Ka}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break Ka}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[f+128>>2];v[f+128>>2]=0;if(!b){break W}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break W}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[f+136>>2];v[f+136>>2]=0;if(!b){break R}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break R}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}Ma=f+176|0;break K}wd(f+48|0,f+96|0);L()}lb(mb(f+152|0,289060,241907,910,226477));L()}wd(f+8|0,f+96|0);L()}lb(mb(f+152|0,227376,271519,619,307267));L()}lb(mb(f+152|0,227376,271519,619,306909));L()}lb(mb(f+152|0,227376,271519,619,306625));L()}La:{Ma:{if(n){break Ma}Na:{if(v[P+8>>2]){Tp(U,P,P+8|0);break Na}v[U>>2]=0;qb(U,0)}b=v[U>>2];v[U>>2]=0;if(!b){break Ma}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}v[a>>2]=0;qb(a,0);b=v[U+8>>2];break La}b=v[U+8>>2];if(b){v[b+4>>2]=v[b+4>>2]+1;b=v[U+8>>2]}else{b=0}v[a>>2]=b}v[U+8>>2]=0;Oa:{if(!b){break Oa}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break Oa}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}}Ma=U+16|0}function poa(a){a=a|0;var 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,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;b=v[a+4>>2];Qa[v[v[b>>2]+20>>2]](b);v[a+3460>>2]=0;v[a+3464>>2]=0;v[a+720>>2]=0;v[a+188>>2]=0;v[a+204>>2]=0;v[a+196>>2]=0;v[a+200>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;if(!aG(a,1)){v[a+8>>2]=1;v[a+3504>>2]=v[a+20>>2];return}b=v[a+188>>2];a:{if((b|0)==1){v[a+44>>2]=1;v[a+48>>2]=1;d=1;f=1;break a}d=v[a+48>>2];f=v[a+44>>2];if((b|0)<2){break a}g=1;j=b-1|0;c=j&1;if((b|0)!=2){i=j&-2;while(1){j=B(g,20)+a|0;e=v[j+68>>2];h=v[j+48>>2];d=(d|0)<(h|0)?h:d;d=(d|0)<(e|0)?e:d;e=v[j- -64>>2];j=v[j+44>>2];f=(f|0)<(j|0)?j:f;f=(e|0)>(f|0)?e:f;g=g+2|0;i=i-2|0;if(i){continue}break}}if(!c){break a}g=B(g,20)+a|0;j=v[g+48>>2];d=(d|0)<(j|0)?j:d;g=v[g+44>>2];f=(g|0)>(f|0)?g:f}g=d<<3;v[a+28>>2]=g;f=f<<3;v[a+24>>2]=f;if(v[a+192>>2]==-1){d=a;i=0;b:{if((b|0)!=3){break b}i=1;if(v[a+196>>2]){break b}i=v[a+40>>2]!=82|v[a+60>>2]!=71|v[a+80>>2]!=66}v[d+192>>2]=i}c:{if(v[a+12>>2]?v[a+8>>2]:1){d=(f+v[a+16>>2]|0)-1|0;d=d-((d|0)%(f|0)|0)|0;v[a+32>>2]=d;f=(g+v[a+20>>2]|0)-1|0;f=f-((f|0)%(g|0)|0)|0;v[a+36>>2]=f;if((d|0)<1|(f|0)<1|(d|0)>(2147483647/(d>>>0)>>>2|0)){break c}d:{if((b|0)<1){break d}b=Pb(B(d,f),4);v[a+3480>>2]=b;eb(b,0,B(v[a+32>>2],v[a+36>>2])<<2);b=v[a+188>>2];if((b|0)<=1){break d}d=1;while(1){b=Pb(B(v[a+36>>2],v[a+32>>2]),4);v[((d<<2)+a|0)+3480>>2]=b;eb(b,0,B(v[a+32>>2],v[a+36>>2])<<2);b=v[a+188>>2];d=d+1|0;if((b|0)>(d|0)){continue}break}}p=a+40|0;while(1){v[a+3524>>2]=0;v[a+3512>>2]=208;v[a+3508>>2]=v[a+204>>2];e:{if((b|0)<1){break e}f=b&7;d=0;if(b-1>>>0>=7){b=b&-8;while(1){v[(p+B(d,20)|0)+16>>2]=0;v[(p+B(d|1,20)|0)+16>>2]=0;v[(p+B(d|2,20)|0)+16>>2]=0;v[(p+B(d|3,20)|0)+16>>2]=0;v[(p+B(d|4,20)|0)+16>>2]=0;v[(p+B(d|5,20)|0)+16>>2]=0;v[(p+B(d|6,20)|0)+16>>2]=0;v[(p+B(d|7,20)|0)+16>>2]=0;d=d+8|0;b=b-8|0;if(b){continue}break}}if(!f){break e}while(1){v[(B(d,20)+a|0)+56>>2]=0;d=d+1|0;f=f-1|0;if(f){continue}break}}v[a+3516>>2]=0;b=0;x=0;e=Ma-256|0;Ma=e;f:{g:{h:{i:{j:{k:{l:{m:{d=v[a+188>>2];if((d|0)>=1){g=v[a+720>>2];i=v[a+3464>>2];j=v[a+3460>>2];if(!v[a+8>>2]|v[a+176>>2]>=1){while(1){c=(b<<2)+a|0;if(v[c+120>>2]){f=221079;if((j|0)<=v[c+140>>2]|(i|0)<=v[((b<<2)+a|0)+156>>2]){break g}}if((g|0)>2]){break h}b=b+1|0;if((d|0)!=(b|0)){continue}break}break m}while(1){f=(b<<2)+a|0;if(!((j|0)<=v[f+140>>2]?v[f+120>>2]:0)){if((g|0)>2]){break h}b=b+1|0;if((d|0)!=(b|0)){continue}break m}break}f=221079;break g}if(v[a+136>>2]==1){break j}break l}if(v[a+136>>2]==1){break k}}t=v[a+28>>2];f=v[a+24>>2];break i}b=0;if((d|0)<1){break j}while(1){if(v[((b<<2)+a|0)+120>>2]){break j}b=b+1|0;if((d|0)!=(b|0)){continue}break}b=d}b=B(b,20)+a|0;t=v[a+28>>2]/v[b+48>>2]|0;f=v[a+24>>2]/v[b+44>>2]|0}n=v[a+20>>2];if((n|0)<1){break f}b=v[a+16>>2];if((b|0)<1){break f}g=f;G=(t|0)<1|(g|0)<1;l=a+40|0;while(1){if((b|0)>=1){f=v[a+3508>>2];u=0;while(1){if(!(f|v[a+204>>2]<1)){while(1){b=v[a+4>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)!=255&(b|0)!=-1){continue}while(1){b=v[a+4>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==255){continue}break}if(!b){continue}break}f=239532;if((b|0)!=v[a+3512>>2]){break g}v[a+3524>>2]=0;f=v[a+204>>2];v[a+3508>>2]=f;b=b+1|0;v[a+3512>>2]=(b|0)==216?208:b;d=v[a+188>>2];n:{if((d|0)<1){break n}n=d&7;b=0;if(d-1>>>0>=7){q=d&-8;while(1){v[(l+B(b,20)|0)+16>>2]=0;v[(l+B(b|1,20)|0)+16>>2]=0;v[(l+B(b|2,20)|0)+16>>2]=0;v[(l+B(b|3,20)|0)+16>>2]=0;v[(l+B(b|4,20)|0)+16>>2]=0;v[(l+B(b|5,20)|0)+16>>2]=0;v[(l+B(b|6,20)|0)+16>>2]=0;v[(l+B(b|7,20)|0)+16>>2]=0;b=b+8|0;q=q-8|0;if(q){continue}break}}if(!n){break n}while(1){v[(B(b,20)+a|0)+56>>2]=0;b=b+1|0;n=n-1|0;if(n){continue}break}}v[a+3516>>2]=0}n=0;j=a;if((d|0)>=1){while(1){y=(n<<2)+a|0;if(!(G|!v[y+120>>2])){b=B(n,20)+a|0;H=v[a+24>>2]/v[b+44>>2]|0;C=v[a+28>>2]/v[b+48>>2]|0;r=(C|0)/8|0;z=b+56|0;D=y+3480|0;m=0;while(1){E=m+x|0;q=0;while(1){F=q+u|0;d=v[a+32>>2];b=v[D>>2]+(F+B(d,E)<<2)|0;v[e>>2]=v[b>>2];v[e+4>>2]=v[b+4>>2];v[e+8>>2]=v[b+8>>2];v[e+12>>2]=v[b+12>>2];v[e+16>>2]=v[b+16>>2];v[e+20>>2]=v[b+20>>2];v[e+24>>2]=v[b+24>>2];v[e+28>>2]=v[b+28>>2];d=B(d,r)<<2;b=d+b|0;v[e+32>>2]=v[b>>2];v[e+36>>2]=v[b+4>>2];v[e+40>>2]=v[b+8>>2];v[e+44>>2]=v[b+12>>2];v[e+48>>2]=v[b+16>>2];v[e+52>>2]=v[b+20>>2];v[e+56>>2]=v[b+24>>2];v[e+60>>2]=v[b+28>>2];b=b+d|0;v[e+64>>2]=v[b>>2];v[e+68>>2]=v[b+4>>2];v[e+72>>2]=v[b+8>>2];v[e+76>>2]=v[b+12>>2];v[e+80>>2]=v[b+16>>2];v[e+84>>2]=v[b+20>>2];v[e+88>>2]=v[b+24>>2];v[e+92>>2]=v[b+28>>2];b=b+d|0;v[e+96>>2]=v[b>>2];v[e+100>>2]=v[b+4>>2];v[e+104>>2]=v[b+8>>2];v[e+108>>2]=v[b+12>>2];v[e+112>>2]=v[b+16>>2];v[e+116>>2]=v[b+20>>2];v[e+120>>2]=v[b+24>>2];v[e+124>>2]=v[b+28>>2];b=b+d|0;v[e+128>>2]=v[b>>2];v[e+132>>2]=v[b+4>>2];v[e+136>>2]=v[b+8>>2];v[e+140>>2]=v[b+12>>2];v[e+144>>2]=v[b+16>>2];v[e+148>>2]=v[b+20>>2];v[e+152>>2]=v[b+24>>2];v[e+156>>2]=v[b+28>>2];b=b+d|0;v[e+160>>2]=v[b>>2];v[e+164>>2]=v[b+4>>2];v[e+168>>2]=v[b+8>>2];v[e+172>>2]=v[b+12>>2];v[e+176>>2]=v[b+16>>2];v[e+180>>2]=v[b+20>>2];v[e+184>>2]=v[b+24>>2];v[e+188>>2]=v[b+28>>2];b=b+d|0;v[e+192>>2]=v[b>>2];v[e+196>>2]=v[b+4>>2];v[e+200>>2]=v[b+8>>2];v[e+204>>2]=v[b+12>>2];v[e+208>>2]=v[b+16>>2];v[e+212>>2]=v[b+20>>2];v[e+216>>2]=v[b+24>>2];v[e+220>>2]=v[b+28>>2];b=b+d|0;v[e+224>>2]=v[b>>2];v[e+228>>2]=v[b+4>>2];v[e+232>>2]=v[b+8>>2];v[e+236>>2]=v[b+12>>2];v[e+240>>2]=v[b+16>>2];v[e+244>>2]=v[b+20>>2];v[e+248>>2]=v[b+24>>2];v[e+252>>2]=v[b+28>>2];b=(B(v[y+156>>2],342)+a|0)+2092|0;d=(B(v[y+140>>2],342)+a|0)+724|0;o:{if(v[a+8>>2]){f=d;i=b;d=0;h=0;p:{q:{r:{b=v[a+172>>2];s:{if(b){break s}t:{if(!v[a+180>>2]){k=_F(a,f);if((k|0)==9999){break p}u:{if((k|0)<1){b=0;break u}b=v[a+3524>>2];f=0;while(1){c=a;v:{if(b){d=v[a+3520>>2];b=b-1|0;break v}w:{b=v[a+4>>2];d=Qa[v[v[b>>2]+28>>2]](b)|0;if((d|0)!=255){if((d|0)!=-1){break w}break q}while(1){b=v[a+4>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==255){continue}break}if(!b){break w}break r}v[a+3520>>2]=d;b=7}v[c+3524>>2]=b;f=d>>>b&1|f<<1;h=h+1|0;if((k|0)!=(h|0)){continue}break}d=0;b=(1<(f|0)?(-1<>2]+b|0;v[z>>2]=b;break t}b=a;d=v[a+3524>>2];x:{if(d){f=v[a+3520>>2];d=d-1|0;break x}d=v[a+4>>2];f=Qa[v[v[d>>2]+28>>2]](d)|0;if((f|0)==-1){b=1;break t}y:{if((f|0)!=255){break y}while(1){d=v[a+4>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;if((d|0)==255){continue}break}if(!d){break y}b=1;fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,273383,0);break t}v[a+3520>>2]=f;d=7}v[b+3524>>2]=d;b=1;if(!(f>>>d&1)){break s}}v[e>>2]=v[e>>2]+(b<>2]);b=1}d=1;c=v[a+176>>2];if(!c){break p}z:{f=v[a+3516>>2];if((f|0)>0){break z}if((b|0)>(c|0)){break p}while(1){A:{B:{o=_F(a,i);if((o|0)!=240){if((o|0)!=9999){break B}break q}k=0;d=b;f=v[a+176>>2];if((f|0)<(b|0)){break A}while(1){f=e+(v[(d<<2)+957984>>2]<<2)|0;C:{if(!v[f>>2]){k=k+1|0;break C}b=a;c=v[a+3524>>2];D:{if(c){h=v[a+3520>>2];c=c-1|0;break D}E:{c=v[a+4>>2];h=Qa[v[v[c>>2]+28>>2]](c)|0;if((h|0)!=255){if((h|0)!=-1){break E}break q}while(1){c=v[a+4>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;if((c|0)==255){continue}break}if(!c){break E}break r}v[a+3520>>2]=h;c=7}v[b+3524>>2]=c;if(!(h>>>c&1)){break C}b=v[a+184>>2];c=v[f>>2];if((c|0)>=0){v[f>>2]=c+(1<>2]=c+(-1<>2];if((k|0)>15){break A}c=(d|0)>=(f|0);d=b;if(!c){continue}break}break A}s=o&15;if(!s){f=0;v[a+3516>>2]=0;c=o>>4;if((o|0)>=16){o=(c|0)>1?c:1;d=v[a+3524>>2];h=0;while(1){i=a;F:{if(d){k=v[a+3520>>2];d=d-1|0;break F}G:{d=v[a+4>>2];k=Qa[v[v[d>>2]+28>>2]](d)|0;if((k|0)!=255){if((k|0)!=-1){break G}break q}while(1){d=v[a+4>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;if((d|0)==255){continue}break}if(!d){break G}break r}v[a+3520>>2]=k;f=v[a+3516>>2];d=7}v[i+3524>>2]=d;f=k>>>d&1|f<<1;v[a+3516>>2]=f;h=h+1|0;if((o|0)!=(h|0)){continue}break}}d=(1<>2]=d;f=a;if(v[a+176>>2]>=(b|0)){while(1){d=b;c=e+(v[(b<<2)+957984>>2]<<2)|0;H:{if(!v[c>>2]){break H}b=a;i=v[a+3524>>2];I:{if(i){k=v[a+3520>>2];i=i-1|0;break I}J:{i=v[a+4>>2];k=Qa[v[v[i>>2]+28>>2]](i)|0;if((k|0)!=255){if((k|0)!=-1){break J}break q}while(1){i=v[a+4>>2];i=Qa[v[v[i>>2]+28>>2]](i)|0;if((i|0)==255){continue}break}if(!i){break J}break r}v[a+3520>>2]=k;i=7}v[b+3524>>2]=i;if(!(k>>>i&1)){break H}b=v[c>>2];v[c>>2]=(((b|0)>-1?1:-1)<>2])+b}b=d+1|0;if((d|0)>2]){continue}break}d=v[a+3516>>2]}v[f+3516>>2]=d-1;d=1;break p}d=v[a+3524>>2];h=0;k=0;while(1){c=a;K:{if(d){f=v[a+3520>>2];d=d-1|0;break K}L:{d=v[a+4>>2];f=Qa[v[v[d>>2]+28>>2]](d)|0;if((f|0)!=255){if((f|0)!=-1){break L}break q}while(1){d=v[a+4>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;if((d|0)==255){continue}break}if(!d){break L}break r}v[a+3520>>2]=f;d=7}v[c+3524>>2]=d;k=f>>>d&1|k<<1;h=h+1|0;if((s|0)!=(h|0)){continue}break}d=0;s=(1<(k|0)?-1<>>4&15;h=0;o=0;f=v[a+176>>2];M:{if((f|0)<(b|0)){break M}while(1){d=b+1|0;o=v[(b<<2)+957984>>2];k=e+(o<<2)|0;N:{if(!v[k>>2]){b=d;break N}c=(b|0)>=(f|0);b=d;if(c){break N}while(1){b=a;c=v[a+3524>>2];O:{if(c){f=v[a+3520>>2];c=c-1|0;break O}P:{f=v[a+4>>2];f=Qa[v[v[f>>2]+28>>2]](f)|0;if((f|0)!=255){if((f|0)!=-1){break P}break q}while(1){c=v[a+4>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;if((c|0)==255){continue}break}if(!c){break P}break r}v[a+3520>>2]=f;c=7}v[b+3524>>2]=c;if(f>>>c&1){b=v[k>>2];v[k>>2]=(((b|0)>-1?1:-1)<>2])+b}b=d+1|0;f=v[a+176>>2];o=v[(d<<2)+957984>>2];k=e+(o<<2)|0;if(!v[k>>2]){break N}c=(d|0)<(f|0);d=b;if(c){continue}break}}if(h>>>0>=I>>>0){break M}h=h+1|0;if((b|0)<=(f|0)){continue}break}}v[e+(o<<2)>>2]=s<>2];f=v[a+176>>2]}d=1;if((b|0)<=(f|0)){continue}break}break p}i=a;if((b|0)<=(c|0)){while(1){d=b;c=e+(v[(b<<2)+957984>>2]<<2)|0;Q:{if(!v[c>>2]){break Q}b=a;f=v[a+3524>>2];R:{if(f){k=v[a+3520>>2];f=f-1|0;break R}S:{f=v[a+4>>2];k=Qa[v[v[f>>2]+28>>2]](f)|0;if((k|0)!=255){if((k|0)!=-1){break S}break q}while(1){f=v[a+4>>2];f=Qa[v[v[f>>2]+28>>2]](f)|0;if((f|0)==255){continue}break}if(!f){break S}break r}v[a+3520>>2]=k;f=7}v[b+3524>>2]=f;if(!(k>>>f&1)){break Q}b=v[c>>2];v[c>>2]=(((b|0)>-1?1:-1)<>2])+b}b=d+1|0;if((d|0)>2]){continue}break}f=v[a+3516>>2]}v[i+3516>>2]=f-1;d=1;break p}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,273383,0)}d=0}if(d){break o}break f}if(!pU(a,d,b,z,e)){break f}}b=v[D>>2]+(F+B(E,v[a+32>>2])<<2)|0;v[b>>2]=v[e>>2];v[b+4>>2]=v[e+4>>2];v[b+8>>2]=v[e+8>>2];v[b+12>>2]=v[e+12>>2];v[b+16>>2]=v[e+16>>2];v[b+20>>2]=v[e+20>>2];v[b+24>>2]=v[e+24>>2];v[b+28>>2]=v[e+28>>2];b=b+(B(r,v[a+32>>2])<<2)|0;v[b>>2]=v[e+32>>2];v[b+4>>2]=v[e+36>>2];v[b+8>>2]=v[e+40>>2];v[b+12>>2]=v[e+44>>2];v[b+16>>2]=v[e+48>>2];v[b+20>>2]=v[e+52>>2];v[b+24>>2]=v[e+56>>2];v[b+28>>2]=v[e+60>>2];b=b+(B(r,v[a+32>>2])<<2)|0;v[b>>2]=v[e+64>>2];v[b+4>>2]=v[e+68>>2];v[b+8>>2]=v[e+72>>2];v[b+12>>2]=v[e+76>>2];v[b+16>>2]=v[e+80>>2];v[b+20>>2]=v[e+84>>2];v[b+24>>2]=v[e+88>>2];v[b+28>>2]=v[e+92>>2];b=b+(B(r,v[a+32>>2])<<2)|0;v[b>>2]=v[e+96>>2];v[b+4>>2]=v[e+100>>2];v[b+8>>2]=v[e+104>>2];v[b+12>>2]=v[e+108>>2];v[b+16>>2]=v[e+112>>2];v[b+20>>2]=v[e+116>>2];v[b+24>>2]=v[e+120>>2];v[b+28>>2]=v[e+124>>2];b=b+(B(r,v[a+32>>2])<<2)|0;v[b>>2]=v[e+128>>2];v[b+4>>2]=v[e+132>>2];v[b+8>>2]=v[e+136>>2];v[b+12>>2]=v[e+140>>2];v[b+16>>2]=v[e+144>>2];v[b+20>>2]=v[e+148>>2];v[b+24>>2]=v[e+152>>2];v[b+28>>2]=v[e+156>>2];b=b+(B(r,v[a+32>>2])<<2)|0;v[b>>2]=v[e+160>>2];v[b+4>>2]=v[e+164>>2];v[b+8>>2]=v[e+168>>2];v[b+12>>2]=v[e+172>>2];v[b+16>>2]=v[e+176>>2];v[b+20>>2]=v[e+180>>2];v[b+24>>2]=v[e+184>>2];v[b+28>>2]=v[e+188>>2];b=b+(B(r,v[a+32>>2])<<2)|0;v[b>>2]=v[e+192>>2];v[b+4>>2]=v[e+196>>2];v[b+8>>2]=v[e+200>>2];v[b+12>>2]=v[e+204>>2];v[b+16>>2]=v[e+208>>2];v[b+20>>2]=v[e+212>>2];v[b+24>>2]=v[e+216>>2];v[b+28>>2]=v[e+220>>2];b=b+(B(r,v[a+32>>2])<<2)|0;v[b>>2]=v[e+224>>2];v[b+4>>2]=v[e+228>>2];v[b+8>>2]=v[e+232>>2];v[b+12>>2]=v[e+236>>2];v[b+16>>2]=v[e+240>>2];v[b+20>>2]=v[e+244>>2];v[b+24>>2]=v[e+248>>2];v[b+28>>2]=v[e+252>>2];q=q+H|0;if((g|0)>(q|0)){continue}break}m=m+C|0;if((t|0)>(m|0)){continue}break}d=v[a+188>>2]}n=n+1|0;if((n|0)<(d|0)){continue}break}f=v[a+3508>>2]}f=f-1|0;v[j+3508>>2]=f;b=v[a+16>>2];u=g+u|0;if((b|0)>(u|0)){continue}break}n=v[a+20>>2]}x=t+x|0;if((x|0)<(n|0)){continue}break}break f}f=221039}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,f,0)}Ma=e+256|0;if(aG(a,0)){b=v[a+188>>2];continue}break}c=Ma-320|0;Ma=c;j=a;g=v[a+36>>2];T:{if((g|0)<1){break T}h=v[j+32>>2];if((h|0)<1){break T}while(1){p=0;if((h|0)>=1){while(1){a=v[j+188>>2];if((a|0)>=1){g=v[j+28>>2];h=v[j+24>>2];o=0;while(1){d=j+B(o,20)|0;r=(g|0)/v[d+48>>2]|0;e=(r|0)/8|0;q=(h|0)/v[d+44>>2]|0;b=(q|0)/8|0;if(!((g|0)<1|(h|0)<1)){a=q&-8;f=r&-8;D=(a|0)==16&(f|0)==16;E=(a|0)==8&(f|0)==8;x=(j+(o<<2)|0)+3480|0;G=(j+(v[d+52>>2]<<7)|0)+208|0;H=(r|0)<8|(q|0)<8;d=b&-4;f=b&3;C=b-1|0;F=B(b,7);I=B(b,6);J=B(b,5);y=b<<2;K=B(b,3);L=b<<1;t=0;while(1){if((h|0)>=1){z=t+A|0;u=0;while(1){g=p+u|0;b=v[j+32>>2];a=v[x>>2]+(g+B(b,z)<<2)|0;v[c+64>>2]=v[a>>2];v[c+68>>2]=v[a+4>>2];v[c+72>>2]=v[a+8>>2];v[c+76>>2]=v[a+12>>2];v[c+80>>2]=v[a+16>>2];v[c+84>>2]=v[a+20>>2];v[c+88>>2]=v[a+24>>2];v[c+92>>2]=v[a+28>>2];b=B(b,e)<<2;a=b+a|0;v[c+96>>2]=v[a>>2];v[c+100>>2]=v[a+4>>2];v[c+104>>2]=v[a+8>>2];v[c+108>>2]=v[a+12>>2];v[c+112>>2]=v[a+16>>2];v[c+116>>2]=v[a+20>>2];v[c+120>>2]=v[a+24>>2];v[c+124>>2]=v[a+28>>2];a=a+b|0;v[c+128>>2]=v[a>>2];v[c+132>>2]=v[a+4>>2];v[c+136>>2]=v[a+8>>2];v[c+140>>2]=v[a+12>>2];v[c+144>>2]=v[a+16>>2];v[c+148>>2]=v[a+20>>2];v[c+152>>2]=v[a+24>>2];v[c+156>>2]=v[a+28>>2];a=a+b|0;v[c+160>>2]=v[a>>2];v[c+164>>2]=v[a+4>>2];v[c+168>>2]=v[a+8>>2];v[c+172>>2]=v[a+12>>2];v[c+176>>2]=v[a+16>>2];v[c+180>>2]=v[a+20>>2];v[c+184>>2]=v[a+24>>2];v[c+188>>2]=v[a+28>>2];a=a+b|0;v[c+192>>2]=v[a>>2];v[c+196>>2]=v[a+4>>2];v[c+200>>2]=v[a+8>>2];v[c+204>>2]=v[a+12>>2];v[c+208>>2]=v[a+16>>2];v[c+212>>2]=v[a+20>>2];v[c+216>>2]=v[a+24>>2];v[c+220>>2]=v[a+28>>2];a=a+b|0;v[c+224>>2]=v[a>>2];v[c+228>>2]=v[a+4>>2];v[c+232>>2]=v[a+8>>2];v[c+236>>2]=v[a+12>>2];v[c+240>>2]=v[a+16>>2];v[c+244>>2]=v[a+20>>2];v[c+248>>2]=v[a+24>>2];v[c+252>>2]=v[a+28>>2];a=a+b|0;v[c+256>>2]=v[a>>2];v[c+260>>2]=v[a+4>>2];v[c+264>>2]=v[a+8>>2];v[c+268>>2]=v[a+12>>2];v[c+272>>2]=v[a+16>>2];v[c+276>>2]=v[a+20>>2];v[c+280>>2]=v[a+24>>2];v[c+284>>2]=v[a+28>>2];a=a+b|0;v[c+288>>2]=v[a>>2];v[c+292>>2]=v[a+4>>2];v[c+296>>2]=v[a+8>>2];v[c+300>>2]=v[a+12>>2];v[c+304>>2]=v[a+16>>2];v[c+308>>2]=v[a+20>>2];v[c+312>>2]=v[a+24>>2];v[c+316>>2]=v[a+28>>2];oU(G,c- -64|0,c);a=v[j+32>>2];i=v[x>>2]+(g+B(a,z)<<2)|0;U:{if(E){v[i>>2]=w[c|0];v[i+4>>2]=w[c+1|0];v[i+8>>2]=w[c+2|0];v[i+12>>2]=w[c+3|0];v[i+16>>2]=w[c+4|0];v[i+20>>2]=w[c+5|0];v[i+24>>2]=w[c+6|0];v[i+28>>2]=w[c+7|0];a=(v[j+32>>2]<<2)+i|0;v[a>>2]=w[c+8|0];v[a+4>>2]=w[c+9|0];v[a+8>>2]=w[c+10|0];v[a+12>>2]=w[c+11|0];v[a+16>>2]=w[c+12|0];v[a+20>>2]=w[c+13|0];v[a+24>>2]=w[c+14|0];v[a+28>>2]=w[c+15|0];a=a+(v[j+32>>2]<<2)|0;v[a>>2]=w[c+16|0];v[a+4>>2]=w[c+17|0];v[a+8>>2]=w[c+18|0];v[a+12>>2]=w[c+19|0];v[a+16>>2]=w[c+20|0];v[a+20>>2]=w[c+21|0];v[a+24>>2]=w[c+22|0];v[a+28>>2]=w[c+23|0];a=a+(v[j+32>>2]<<2)|0;v[a>>2]=w[c+24|0];v[a+4>>2]=w[c+25|0];v[a+8>>2]=w[c+26|0];v[a+12>>2]=w[c+27|0];v[a+16>>2]=w[c+28|0];v[a+20>>2]=w[c+29|0];v[a+24>>2]=w[c+30|0];v[a+28>>2]=w[c+31|0];a=a+(v[j+32>>2]<<2)|0;v[a>>2]=w[c+32|0];v[a+4>>2]=w[c+33|0];v[a+8>>2]=w[c+34|0];v[a+12>>2]=w[c+35|0];v[a+16>>2]=w[c+36|0];v[a+20>>2]=w[c+37|0];v[a+24>>2]=w[c+38|0];v[a+28>>2]=w[c+39|0];a=a+(v[j+32>>2]<<2)|0;v[a>>2]=w[c+40|0];v[a+4>>2]=w[c+41|0];v[a+8>>2]=w[c+42|0];v[a+12>>2]=w[c+43|0];v[a+16>>2]=w[c+44|0];v[a+20>>2]=w[c+45|0];v[a+24>>2]=w[c+46|0];v[a+28>>2]=w[c+47|0];a=a+(v[j+32>>2]<<2)|0;v[a>>2]=w[c+48|0];v[a+4>>2]=w[c+49|0];v[a+8>>2]=w[c+50|0];v[a+12>>2]=w[c+51|0];v[a+16>>2]=w[c+52|0];v[a+20>>2]=w[c+53|0];v[a+24>>2]=w[c+54|0];v[a+28>>2]=w[c+55|0];a=a+(v[j+32>>2]<<2)|0;v[a>>2]=w[c+56|0];v[a+4>>2]=w[c+57|0];v[a+8>>2]=w[c+58|0];v[a+12>>2]=w[c+59|0];v[a+16>>2]=w[c+60|0];v[a+20>>2]=w[c+61|0];v[a+24>>2]=w[c+62|0];v[a+28>>2]=w[c+63|0];break U}if(!D){k=0;s=0;if(H){break U}while(1){l=c+k|0;g=i;m=0;while(1){h=0;a=d;n=C>>>0<3;if(!n){while(1){b=h<<2;v[b+g>>2]=w[l|0];v[(b|4)+g>>2]=w[l|0];v[(b|8)+g>>2]=w[l|0];v[(b|12)+g>>2]=w[l|0];h=h+4|0;a=a-4|0;if(a){continue}break}}b=f;if(b){while(1){v[(h<<2)+g>>2]=w[l|0];h=h+1|0;b=b-1|0;if(b){continue}break}}g=(v[j+32>>2]<<2)+g|0;m=m+1|0;if((e|0)!=(m|0)){continue}break}g=i+y|0;l=c+(k|1)|0;m=0;while(1){h=0;a=d;if(!n){while(1){b=h<<2;v[b+g>>2]=w[l|0];v[(b|4)+g>>2]=w[l|0];v[(b|8)+g>>2]=w[l|0];v[(b|12)+g>>2]=w[l|0];h=h+4|0;a=a-4|0;if(a){continue}break}}b=f;if(b){while(1){v[(h<<2)+g>>2]=w[l|0];h=h+1|0;b=b-1|0;if(b){continue}break}}g=(v[j+32>>2]<<2)+g|0;m=m+1|0;if((e|0)!=(m|0)){continue}break}g=(L<<2)+i|0;l=c+(k|2)|0;m=0;while(1){h=0;a=d;if(!n){while(1){b=h<<2;v[b+g>>2]=w[l|0];v[(b|4)+g>>2]=w[l|0];v[(b|8)+g>>2]=w[l|0];v[(b|12)+g>>2]=w[l|0];h=h+4|0;a=a-4|0;if(a){continue}break}}b=f;if(b){while(1){v[(h<<2)+g>>2]=w[l|0];h=h+1|0;b=b-1|0;if(b){continue}break}}g=(v[j+32>>2]<<2)+g|0;m=m+1|0;if((e|0)!=(m|0)){continue}break}g=(K<<2)+i|0;l=c+(k|3)|0;m=0;while(1){h=0;a=d;if(!n){while(1){b=h<<2;v[b+g>>2]=w[l|0];v[(b|4)+g>>2]=w[l|0];v[(b|8)+g>>2]=w[l|0];v[(b|12)+g>>2]=w[l|0];h=h+4|0;a=a-4|0;if(a){continue}break}}b=f;if(b){while(1){v[(h<<2)+g>>2]=w[l|0];h=h+1|0;b=b-1|0;if(b){continue}break}}g=(v[j+32>>2]<<2)+g|0;m=m+1|0;if((e|0)!=(m|0)){continue}break}g=(y<<2)+i|0;l=c+(k|4)|0;m=0;while(1){h=0;a=d;if(!n){while(1){b=h<<2;v[b+g>>2]=w[l|0];v[(b|4)+g>>2]=w[l|0];v[(b|8)+g>>2]=w[l|0];v[(b|12)+g>>2]=w[l|0];h=h+4|0;a=a-4|0;if(a){continue}break}}b=f;if(b){while(1){v[(h<<2)+g>>2]=w[l|0];h=h+1|0;b=b-1|0;if(b){continue}break}}g=(v[j+32>>2]<<2)+g|0;m=m+1|0;if((e|0)!=(m|0)){continue}break}g=(J<<2)+i|0;l=c+(k|5)|0;m=0;while(1){h=0;a=d;if(!n){while(1){b=h<<2;v[b+g>>2]=w[l|0];v[(b|4)+g>>2]=w[l|0];v[(b|8)+g>>2]=w[l|0];v[(b|12)+g>>2]=w[l|0];h=h+4|0;a=a-4|0;if(a){continue}break}}b=f;if(b){while(1){v[(h<<2)+g>>2]=w[l|0];h=h+1|0;b=b-1|0;if(b){continue}break}}g=(v[j+32>>2]<<2)+g|0;m=m+1|0;if((e|0)!=(m|0)){continue}break}g=(I<<2)+i|0;l=c+(k|6)|0;m=0;while(1){h=0;a=d;if(!n){while(1){b=h<<2;v[b+g>>2]=w[l|0];v[(b|4)+g>>2]=w[l|0];v[(b|8)+g>>2]=w[l|0];v[(b|12)+g>>2]=w[l|0];h=h+4|0;a=a-4|0;if(a){continue}break}}b=f;if(b){while(1){v[(h<<2)+g>>2]=w[l|0];h=h+1|0;b=b-1|0;if(b){continue}break}}g=(v[j+32>>2]<<2)+g|0;m=m+1|0;if((e|0)!=(m|0)){continue}break}g=(F<<2)+i|0;l=c+(k|7)|0;m=0;while(1){h=0;a=d;if(!n){while(1){b=h<<2;v[b+g>>2]=w[l|0];v[(b|4)+g>>2]=w[l|0];v[(b|8)+g>>2]=w[l|0];v[(b|12)+g>>2]=w[l|0];h=h+4|0;a=a-4|0;if(a){continue}break}}b=f;if(b){while(1){v[(h<<2)+g>>2]=w[l|0];h=h+1|0;b=b-1|0;if(b){continue}break}}a=v[j+32>>2];g=(a<<2)+g|0;m=m+1|0;if((e|0)!=(m|0)){continue}break}k=k+8|0;i=(B(a,e)<<2)+i|0;s=s+1|0;if((s|0)!=8){continue}break}break U}h=(a<<2)+i|0;g=0;b=0;while(1){a=w[c+g|0];v[h>>2]=a;v[h+4>>2]=a;v[i>>2]=a;v[i+4>>2]=a;a=w[c+(g|1)|0];v[h+8>>2]=a;v[h+12>>2]=a;v[i+8>>2]=a;v[i+12>>2]=a;a=w[c+(g|2)|0];v[h+16>>2]=a;v[h+20>>2]=a;v[i+16>>2]=a;v[i+20>>2]=a;a=w[c+(g|3)|0];v[h+24>>2]=a;v[h+28>>2]=a;v[i+24>>2]=a;v[i+28>>2]=a;a=w[c+(g|4)|0];v[h+32>>2]=a;v[h+36>>2]=a;v[i+32>>2]=a;v[i+36>>2]=a;a=w[c+(g|5)|0];v[h+40>>2]=a;v[h+44>>2]=a;v[i+40>>2]=a;v[i+44>>2]=a;a=w[c+(g|6)|0];v[h+48>>2]=a;v[h+52>>2]=a;v[i+48>>2]=a;v[i+52>>2]=a;a=w[c+(g|7)|0];v[h+56>>2]=a;v[h+60>>2]=a;v[i+56>>2]=a;v[i+60>>2]=a;g=g+8|0;a=v[j+32>>2]<<3;h=a+h|0;i=a+i|0;a=b>>>0<14;b=b+2|0;if(a){continue}break}}h=v[j+24>>2];u=q+u|0;if((h|0)>(u|0)){continue}break}g=v[j+28>>2]}t=r+t|0;if((t|0)<(g|0)){continue}break}a=v[j+188>>2]}o=o+1|0;if((o|0)<(a|0)){continue}break}}V:{if(!v[j+192>>2]){break V}W:{switch(a-3|0){case 1:h=v[j+28>>2];if((h|0)<1){break V}b=v[j+24>>2];if((b|0)<=0){break V}f=v[j+3488>>2];i=v[j+3484>>2];e=v[j+3480>>2];d=0;while(1){if((b|0)>=1){a=B(v[j+32>>2],d+A|0)+p<<2;h=a+e|0;g=a+i|0;m=a+f|0;a=0;while(1){k=v[g>>2];b=v[h>>2]<<16|32768;n=v[m>>2]-128|0;v[h>>2]=w[((b+B(n,91881)>>>16|0)+384&1023)+1164544|0]^255;k=k-128|0;v[g>>2]=w[(((b+B(k,-22553)|0)+B(n,-46802)>>>16|0)+384&1023)+1164544|0]^255;v[m>>2]=w[((b+B(k,116130)>>>16|0)+384&1023)+1164544|0]^255;m=m+4|0;g=g+4|0;h=h+4|0;a=a+1|0;b=v[j+24>>2];if((a|0)<(b|0)){continue}break}h=v[j+28>>2]}d=d+1|0;if((h|0)>(d|0)){continue}break};break V;case 0:break W;default:break V}}h=v[j+28>>2];if((h|0)<1){break V}f=v[j+3488>>2];i=v[j+3484>>2];e=v[j+3480>>2];b=v[j+24>>2];d=0;while(1){if((b|0)>=1){a=B(v[j+32>>2],d+A|0)+p<<2;h=a+e|0;g=a+i|0;m=a+f|0;a=0;while(1){k=v[g>>2];b=v[h>>2]<<16|32768;n=v[m>>2]-128|0;v[h>>2]=w[((b+B(n,91881)>>>16|0)+384&1023)+1164544|0];k=k-128|0;v[g>>2]=w[(((b+B(k,-22553)|0)+B(n,-46802)>>>16|0)+384&1023)+1164544|0];v[m>>2]=w[((b+B(k,116130)>>>16|0)+384&1023)+1164544|0];m=m+4|0;g=g+4|0;h=h+4|0;a=a+1|0;b=v[j+24>>2];if((a|0)<(b|0)){continue}break}h=v[j+28>>2]}d=d+1|0;if((h|0)>(d|0)){continue}break}}h=v[j+32>>2];p=v[j+24>>2]+p|0;if((h|0)>(p|0)){continue}break}g=v[j+36>>2]}A=v[j+28>>2]+A|0;if((A|0)<(g|0)){continue}break}}Ma=c+320|0;v[j+3504>>2]=0;v[j+3496>>2]=0;v[j+3500>>2]=0;return}if(v[a+136>>2]!=(b|0)){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,257911,0);v[a+3504>>2]=v[a+20>>2];return}d=(f+v[a+16>>2]|0)-1|0;d=d-((d|0)%(f|0)|0)|0;v[a+32>>2]=d;b=Pb(B(b,g),d);v[a+3476>>2]=b;v[a+3468>>2]=b;v[a+3472>>2]=b;v[a+3524>>2]=0;v[a+3512>>2]=208;v[a+3508>>2]=v[a+204>>2];v[a+3504>>2]=0-v[a+28>>2];b=v[a+188>>2];X:{if((b|0)<1){break X}f=b&7;d=0;if(b-1>>>0>=7){b=b&-8;g=a+40|0;while(1){v[(g+B(d,20)|0)+16>>2]=0;v[(g+B(d|1,20)|0)+16>>2]=0;v[(g+B(d|2,20)|0)+16>>2]=0;v[(g+B(d|3,20)|0)+16>>2]=0;v[(g+B(d|4,20)|0)+16>>2]=0;v[(g+B(d|5,20)|0)+16>>2]=0;v[(g+B(d|6,20)|0)+16>>2]=0;v[(g+B(d|7,20)|0)+16>>2]=0;d=d+8|0;b=b-8|0;if(b){continue}break}}if(!f){break X}while(1){v[(B(d,20)+a|0)+56>>2]=0;d=d+1|0;f=f-1|0;if(f){continue}break}}v[a+3516>>2]=0;return}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,257847,0);v[a+3504>>2]=v[a+20>>2]}function AQ(a){var 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,y=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;if(v[a+8>>2]){a:{if(!v[a+8>>2]){break a}d=v[a+12>>2];if(!(d&64)){break a}if(d&4096){v[a+12>>2]=d&-4097;if(!(Qa[v[a+536>>2]](a)|0)){break a}}if(!Xd(a)|!(w[a+12|0]&8)){break a}d=0;e=Ma-784|0;Ma=e;b=1;b:{if(!v[a+8>>2]){break b}c:{b=v[a+12>>2];if(!(b&4096)){break c}v[a+12>>2]=b&-4097;if(Qa[v[a+536>>2]](a)|0){break c}wb(v[a+628>>2],v[a>>2],15818,0);b=0;break b}Qa[v[a+564>>2]](a);d:{if(!(w[a+12|0]&64)|v[a+608>>2]<1){break d}if(Xd(a)){break d}wb(v[a+628>>2],v[a>>2],18346,0);b=0;break b}b=v[a+12>>2];e:{if(!(b&512)){break e}o=v[a+596>>2];if(!o){break e}$a(o);v[a+608>>2]=0;v[a+596>>2]=0;v[a+600>>2]=0;b=v[a+12>>2]}v[a+12>>2]=b&-81;b=0;while(1){c=b|1;o=v[((b>>>3&536870908)+a|0)+40>>2];d=(o>>>c&1?(c|0)!=65?b>>>0<4?2:1:0:0)+((0-(o>>>(b&30)&1)&(b>>>0<5?2:1))+d|0)|0;b=b+2|0;if((b|0)!=128){continue}break}q=v[a+236>>2]+d|0;r=B(q,12);o=gb(r);if(!o){wb(v[a+628>>2],v[a>>2],20837,0);b=0;break b}c=a;f:{d=v[a+16>>2];if(!d){d=(Qa[v[a+640>>2]](v[a+628>>2],0,2)|0)+1&-2;v[a+16>>2]=d;v[e+624>>2]=d;d=v[a+12>>2];if(d&128){Wn(e+624|0);d=v[a+12>>2]}g:{h:{if(d&8192){Qa[v[a+640>>2]](v[a+628>>2],v[a+496>>2],0)|0;if((Qa[v[a+636>>2]](v[a+628>>2],e+624|0,4)|0)!=4){d=v[a+628>>2];v[e+576>>2]=v[a>>2];wb(d,84400,26745,e+576|0);break f}d=x[a+492>>1]-1|0;u[a+492>>1]=d;if(!(d&65535)){break h}v[a+496>>2]=v[a+496>>2]+4;break g}b=v[a+460>>2];if(!b){v[a+460>>2]=v[a+16>>2];Qa[v[a+640>>2]](v[a+628>>2],4,0)|0;if((Qa[v[a+636>>2]](v[a+628>>2],e+624|0,4)|0)==4){break g}wb(v[a+628>>2],v[a>>2],28389,0);break f}v[e+704>>2]=b;while(1){i:{if((Qa[v[a+640>>2]](v[a+628>>2],b,0)|0)==v[e+704>>2]){if((Qa[v[a+632>>2]](v[a+628>>2],e+592|0,2)|0)==2){break i}}wb(v[a+628>>2],84400,5100,0);break f}if(w[a+12|0]&128){d=w[e+593|0];t[e+593|0]=w[e+592|0];t[e+592|0]=d}Qa[v[a+640>>2]](v[a+628>>2],B(x[e+592>>1],12),1)|0;if((Qa[v[a+632>>2]](v[a+628>>2],e+704|0,4)|0)!=4){wb(v[a+628>>2],84400,9774,0);break f}if(w[a+12|0]&128){Wn(e+704|0)}b=v[e+704>>2];if(b){continue}break}d=Qa[v[a+640>>2]](v[a+628>>2],0,1)|0;Qa[v[a+640>>2]](v[a+628>>2],d-4|0,0)|0;if((Qa[v[a+636>>2]](v[a+628>>2],e+624|0,4)|0)==4){break g}wb(v[a+628>>2],84400,13130,0);break f}v[a+12>>2]=v[a+12>>2]&-8193}d=v[a+16>>2]}d=(r|2)+d|0;d=((d&1)+d|0)+4|0;v[c+488>>2]=d;Qa[v[a+640>>2]](v[a+628>>2],d,0)|0;u[a+476>>1]=x[a+476>>1]+1;Fd(e+592|0,a+40|0,16);d=v[e+592>>2];if(!(x[a+168>>1]|(d|0)>-1)){v[e+592>>2]=d&2147483647;r=r-12|0;q=q-1|0}y=v[a+660>>2];if((y|0)>=1){E=a+144|0;F=a+140|0;G=a+132|0;H=a+128|0;I=2-o|0;C=e+706|0;d=o;while(1){m=v[v[a+656>>2]+(s<<2)>>2];f=x[m+12>>1];j:{k:{if((f|0)==65){c=v[a+236>>2];if((c|0)<1){break j}n=c&3;k=v[a+240>>2];h=0;b=0;if(c-1>>>0>=3){l=c&-4;while(1){h=v[k+B(b,12)>>2]==(m|0)|h|v[k+B(b|1,12)>>2]==(m|0)|v[k+B(b|2,12)>>2]==(m|0)|v[k+B(b|3,12)>>2]==(m|0);b=b+4|0;l=l-4|0;if(l){continue}break}}if(n){while(1){h=v[k+B(b,12)>>2]==(m|0)|h;b=b+1|0;n=n-1|0;if(n){continue}break}}if(h){break k}break j}if(!(v[(e+592|0)+(f>>>3&8188)>>2]>>>f&1)){break j}}l:{m:{n:{o:{p:{q:{r:{switch(f-1|0){case 24:b=w[a+13|0]&4?324:273;if((b|0)!=v[m>>2]){break j}u[d+2>>1]=4;u[d>>1]=b;b=v[a+180>>2];v[d+4>>2]=b;c=v[a+184>>2];if((b|0)!=1){break q}v[d+8>>2]=v[c>>2];break l;case 23:b=w[a+13|0]&4?325:279;if((b|0)!=v[m>>2]){break j}u[d+2>>1]=4;u[d>>1]=b;b=v[a+180>>2];v[d+4>>2]=b;c=v[a+188>>2];if((b|0)==1){v[d+8>>2]=v[c>>2];break l}if(Ke(a,d,c)){break l}break f;case 16:b=v[a+100>>2];v[d+4>>2]=1;u[d>>1]=278;if(b>>>0>=65536){u[d+2>>1]=4;v[d+8>>2]=b;break l}u[d+2>>1]=3;c=b&v[v[a+468>>2]+12>>2];b=d;if(x[a+456>>1]==19789){c=c<>2]+12>>2]}v[b+8>>2]=c;break l;case 25:v[d>>2]=196928;v[d+4>>2]=1<>1];b=v[a+488>>2];if(!Ke(a,d,v[a+152>>2])){break f}if(!Ke(a,d,v[a+156>>2])){break f}if(!Ke(a,d,v[a+160>>2])){break f}v[d+8>>2]=b;v[d+4>>2]=B(v[d+4>>2],3);break l;case 0:b=v[a+56>>2];v[d+4>>2]=1;u[d>>1]=256;s:{if(b>>>0>=65536){u[d+2>>1]=4;break s}u[d+2>>1]=3;b=v[v[a+468>>2]+12>>2]&b;if(x[a+456>>1]!=19789){break s}b=b<>2]+12>>2]}v[d+8>>2]=b;b=v[a+60>>2];v[d+16>>2]=1;u[d+12>>1]=257;t:{if(b>>>0>=65536){u[d+14>>1]=4;break t}u[d+14>>1]=3;b=v[v[a+468>>2]+12>>2]&b;if(x[a+456>>1]!=19789){break t}b=b<>2]+12>>2]}v[d+20>>2]=b;d=d+12|0;break l;case 1:b=v[a+68>>2];v[d+4>>2]=1;u[d>>1]=322;u:{if(b>>>0>=65536){u[d+2>>1]=4;break u}u[d+2>>1]=3;b=v[v[a+468>>2]+12>>2]&b;if(x[a+456>>1]!=19789){break u}b=b<>2]+12>>2]}v[d+8>>2]=b;b=v[a+72>>2];v[d+16>>2]=1;u[d+12>>1]=323;v:{if(b>>>0>=65536){u[d+14>>1]=4;break v}u[d+14>>1]=3;b=v[v[a+468>>2]+12>>2]&b;if(x[a+456>>1]!=19789){break v}b=b<>2]+12>>2]}v[d+20>>2]=b;d=d+12|0;break l;case 6:b=x[a+88>>1];v[d>>2]=196867;v[d+4>>2]=1;c=b&v[v[a+468>>2]+12>>2];b=d;if(x[a+456>>1]==19789){c=c<>2]+12>>2]}v[b+8>>2]=c;break l;case 7:b=x[a+90>>1];v[d>>2]=196870;v[d+4>>2]=1;c=b&v[v[a+468>>2]+12>>2];b=d;if(x[a+456>>1]==19789){c=c<>2]+12>>2]}v[b+8>>2]=c;break l;case 3:v[d>>2]=327966;v[d+4>>2]=1;if(!vp(a,d,F)){break f}v[d+12>>2]=327967;v[d+16>>2]=1;d=d+12|0;if(vp(a,d,E)){break l}break f;case 2:v[d>>2]=327962;v[d+4>>2]=1;if(!vp(a,d,H)){break f}v[d+12>>2]=327963;v[d+16>>2]=1;d=d+12|0;if(vp(a,d,G)){break l}break f;case 5:case 17:case 18:case 31:f=v[m>>2];k=x[a+98>>1];w:{if(k>>>0>=11){i=gb(k<<1);if(i){v[e+496>>2]=e+624;Mc(a,f,e+496|0);break w}wb(v[a+628>>2],v[a>>2],34435,0);break f}v[e+512>>2]=e+624;Mc(a,f,e+512|0);i=e+704|0;if(!k){break p}}n=k&3;b=0;if(k-1>>>0>=3){l=k&65532;while(1){c=b<<1;u[c+i>>1]=x[e+624>>1];u[(c|2)+i>>1]=x[e+624>>1];u[(c|4)+i>>1]=x[e+624>>1];u[(c|6)+i>>1]=x[e+624>>1];b=b+4|0;l=l-4|0;if(l){continue}break}}if(n){while(1){u[(b<<1)+i>>1]=x[e+624>>1];b=b+1|0;n=n-1|0;if(n){continue}break}}v[d+4>>2]=k;u[d+2>>1]=3;u[d>>1]=f;x:{if(k>>>0<=2){c=x[i>>1];if(x[a+456>>1]==19789){c=c<<16;v[d+8>>2]=c;b=1;if((k|0)!=2){break x}v[d+8>>2]=c|x[i+2>>1];break x}v[d+8>>2]=c;b=1;if((k|0)!=2){break x}v[d+8>>2]=c|x[i+2>>1]<<16;break x}b=Ke(a,d,i)}if((e+704|0)!=(i|0)){$a(i)}if(b){break l}break f;case 32:case 33:b=7;c=x[a+84>>1];c=(c>>>3|0)+((c&7)!=0)|0;y:{z:{switch(x[a+86>>1]-1|0){case 2:b=(c|0)==4?11:12;break y;case 1:b=c>>>0<2?6:(c|0)==2?8:9;break y;case 0:break z;default:break y}}b=c>>>0>1?(c|0)==2?3:4:1}c=b;k=v[m>>2];j=x[a+98>>1];if(j>>>0>=11){b=gb(j<<3);if(b){v[e+528>>2]=e+616;Mc(a,k,e+528|0);break n}wb(v[a+628>>2],v[a>>2],35710,0);break f}v[e+544>>2]=e+616;Mc(a,k,e+544|0);b=e+624|0;if(j){break n}h=1;break m;case 22:case 36:case 38:b=v[m>>2];v[e+564>>2]=C;v[e+560>>2]=e+704;Mc(a,b,e+560|0);v[d+4>>2]=2;u[d+2>>1]=3;u[d>>1]=b;b=x[e+704>>1];if(x[a+456>>1]==19789){v[d+8>>2]=x[e+706>>1]|b<<16;break l}v[d+8>>2]=b|x[e+706>>1]<<16;break l;case 45:v[d>>2]=131405;c=v[a+228>>2];v[d+4>>2]=c;f=v[a+232>>2];if(c>>>0<=4){b=w[f|0]<<24;if(x[a+456>>1]==19789){v[d+8>>2]=b;if(c>>>0<2){break l}b=b|t[f+1|0]<<16;v[d+8>>2]=b;if((c|0)==2){break l}b=b|t[f+2|0]<<8;v[d+8>>2]=b;if((c|0)!=4){break l}v[d+8>>2]=b|t[f+3|0];break l}b=b>>24;v[d+8>>2]=b;if(c>>>0<2){break l}b=b|t[f+1|0]<<8;v[d+8>>2]=b;if((c|0)==2){break l}b=b|t[f+2|0]<<16;v[d+8>>2]=b;if((c|0)!=4){break l}v[d+8>>2]=b|w[f+3|0]<<24;break l}if(Ke(a,d,f)){break l}break f;case 43:b=2<>1];A:{B:{switch(x[a+98>>1]-x[a+168>>1]|0){default:c=3;if(r4(v[a+216>>2],v[a+224>>2],b)){break A}case 2:c=3;if(r4(v[a+216>>2],v[a+220>>2],b)){break A}break;case 0:case 1:break B}}c=1}v[d>>2]=196909;v[d+4>>2]=1<>1];f=v[a+488>>2];b=0;while(1){if(!Ke(a,d,v[((b<<2)+a|0)+216>>2])){break f}b=b+1|0;if((c|0)!=(b|0)){continue}break};v[d+8>>2]=f;v[d+4>>2]=B(c,v[d+4>>2]);break l;case 48:b=v[m>>2];u[d+2>>1]=4;u[d>>1]=b;c=x[a+196>>1];v[d+4>>2]=c;b=v[a+200>>2];if((c|0)==1){v[d+8>>2]=v[b>>2];u[a+492>>1]=c;v[a+12>>2]=v[a+12>>2]|8192;break o}if(!Ke(a,d,b)){break f}b=v[d+4>>2];if(!b){break l}u[a+492>>1]=b;v[a+12>>2]=v[a+12>>2]|8192;if((b|0)==1){break o}v[a+496>>2]=v[d+8>>2];break l;default:break r}}f=v[m>>2];if((f|0)==336){v[e+4>>2]=C;v[e>>2]=e+704;Mc(a,336,e);v[d>>2]=196944;v[d+4>>2]=2;b=x[e+704>>1];if(x[a+456>>1]==19789){v[d+8>>2]=x[e+706>>1]|b<<16;break l}v[d+8>>2]=b|x[e+706>>1]<<16;break l}c=x[m+6>>1];u[e+616>>1]=c;u[d>>1]=f;b=v[m+8>>2];v[d+4>>2]=c;u[d+2>>1]=b;C:{D:{switch(b-1|0){case 2:case 7:if(w[m+15|0]){b=d;E:{if((c|0)==65533){v[e+52>>2]=e+704;v[e+48>>2]=e+624;Mc(a,f,e+48|0);c=v[e+624>>2];break E}v[e+68>>2]=e+704;v[e+64>>2]=e+616;Mc(a,f,e- -64|0);c=x[e+616>>1]}v[b+4>>2]=c;f=v[e+704>>2];if(c>>>0>2){break C}b=x[f>>1];if(x[a+456>>1]==19789){b=b<<16;v[d+8>>2]=b;if((c|0)!=2){break l}v[d+8>>2]=b|x[f+2>>1];break l}v[d+8>>2]=b;if((c|0)!=2){break l}v[d+8>>2]=b|x[f+2>>1]<<16;break l}if((c|0)==1){v[e+16>>2]=e+704;Mc(a,f,e+16|0);f=x[d+2>>1]<<2;c=v[f+v[a+468>>2]>>2]&x[e+704>>1];b=d;if(x[a+456>>1]==19789){c=c<>2]>>2]}v[b+8>>2]=c;break l}v[e+32>>2]=e+704;Mc(a,f,e+32|0);f=v[e+704>>2];c=v[d+4>>2];if(c>>>0<=2){b=x[f>>1];if(x[a+456>>1]==19789){b=b<<16;v[d+8>>2]=b;if((c|0)!=2){break l}v[d+8>>2]=b|x[f+2>>1];break l}v[d+8>>2]=b;if((c|0)!=2){break l}v[d+8>>2]=b|x[f+2>>1]<<16;break l}if(Ke(a,d,f)){break l}break f;case 3:case 8:case 12:if(w[m+15|0]){b=d;F:{if((c|0)==65533){v[e+116>>2]=e+704;v[e+112>>2]=e+624;Mc(a,f,e+112|0);c=v[e+624>>2];break F}v[e+132>>2]=e+704;v[e+128>>2]=e+616;Mc(a,f,e+128|0);c=x[e+616>>1]}v[b+4>>2]=c;b=v[e+704>>2];if((c|0)==1){v[d+8>>2]=v[b>>2];break l}if(Ke(a,d,b)){break l}break f}if((c|0)==1){v[e+80>>2]=d+8;Mc(a,f,e+80|0);break l}v[e+96>>2]=e+704;Mc(a,f,e+96|0);b=v[e+704>>2];if(v[d+4>>2]==1){v[d+8>>2]=v[b>>2];break l}if(Ke(a,d,b)){break l}break f;case 4:case 9:if(w[m+15|0]){b=d;G:{if((c|0)==65533){v[e+180>>2]=e+704;v[e+176>>2]=e+624;Mc(a,f,e+176|0);c=v[e+624>>2];break G}v[e+196>>2]=e+704;v[e+192>>2]=e+616;Mc(a,f,e+192|0);c=x[e+616>>1]}v[b+4>>2]=c;if(vp(a,d,v[e+704>>2])){break l}break f}if((c|0)==1){b=e+704|0;v[e+144>>2]=b;Mc(a,f,e+144|0);if(vp(a,d,b)){break l}break f}v[e+160>>2]=e+704;Mc(a,f,e+160|0);if(vp(a,d,v[e+704>>2])){break l}break f;case 10:if(w[m+15|0]){b=d;H:{if((c|0)==65533){v[e+244>>2]=e+704;v[e+240>>2]=e+624;Mc(a,f,e+240|0);c=v[e+624>>2];break H}v[e+260>>2]=e+704;v[e+256>>2]=e+616;Mc(a,f,e+256|0);c=x[e+616>>1]}v[b+4>>2]=c;b=v[e+704>>2];if((c|0)==1){v[d+8>>2]=v[b>>2];break l}if(Ke(a,d,b)){break l}break f}if((c|0)==1){v[e+208>>2]=e+704;Mc(a,f,e+208|0);if(v[d+4>>2]==1){v[d+8>>2]=v[e+704>>2];break l}if(Ke(a,d,e+704|0)){break l}break f}v[e+224>>2]=e+704;Mc(a,f,e+224|0);b=v[e+704>>2];if(v[d+4>>2]==1){v[d+8>>2]=v[b>>2];break l}if(Ke(a,d,b)){break l}break f;case 11:if(w[m+15|0]){b=d;I:{if((c|0)==65533){v[e+308>>2]=e+704;v[e+304>>2]=e+624;Mc(a,f,e+304|0);c=v[e+624>>2];break I}v[e+324>>2]=e+704;v[e+320>>2]=e+616;Mc(a,f,e+320|0);c=x[e+616>>1]}v[b+4>>2]=c;if(Ke(a,d,v[e+704>>2])){break l}break f}if((c|0)==1){b=e+704|0;v[e+272>>2]=b;Mc(a,f,e+272|0);if(Ke(a,d,b)){break l}break f}v[e+288>>2]=e+704;Mc(a,f,e+288|0);if(Ke(a,d,v[e+704>>2])){break l}break f;case 1:J:{if(w[m+15|0]){if((c|0)==65533){v[e+356>>2]=e+704;v[e+352>>2]=e+624;Mc(a,f,e+352|0);break J}v[e+372>>2]=e+704;v[e+368>>2]=e+616;Mc(a,f,e+368|0);break J}v[e+336>>2]=e+704;Mc(a,f,e+336|0)}f=v[e+704>>2];c=zb(f)+1|0;v[d+4>>2]=c;if(c>>>0<=4){b=w[f|0]<<24;if(x[a+456>>1]==19789){v[d+8>>2]=b;if(c>>>0<2){break l}b=b|t[f+1|0]<<16;v[d+8>>2]=b;if((c|0)==2){break l}b=b|t[f+2|0]<<8;v[d+8>>2]=b;if((c|0)!=4){break l}v[d+8>>2]=b|t[f+3|0];break l}b=b>>24;v[d+8>>2]=b;if(c>>>0<2){break l}b=b|t[f+1|0]<<8;v[d+8>>2]=b;if((c|0)==2){break l}b=b|t[f+2|0]<<16;v[d+8>>2]=b;if((c|0)!=4){break l}v[d+8>>2]=b|w[f+3|0]<<24;break l}if(Ke(a,d,f)){break l}break f;case 0:case 5:if(w[m+15|0]){b=d;K:{if((c|0)==65533){v[e+420>>2]=e+704;v[e+416>>2]=e+624;Mc(a,f,e+416|0);c=v[e+624>>2];break K}v[e+436>>2]=e+704;v[e+432>>2]=e+616;Mc(a,f,e+432|0);c=x[e+616>>1]}v[b+4>>2]=c;f=v[e+704>>2];if(c>>>0<=4){b=w[f|0]<<24;if(x[a+456>>1]==19789){v[d+8>>2]=b;if(c>>>0<2){break l}b=b|t[f+1|0]<<16;v[d+8>>2]=b;if((c|0)==2){break l}b=b|t[f+2|0]<<8;v[d+8>>2]=b;if((c|0)!=4){break l}v[d+8>>2]=b|t[f+3|0];break l}b=b>>24;v[d+8>>2]=b;if(c>>>0<2){break l}b=b|t[f+1|0]<<8;v[d+8>>2]=b;if((c|0)==2){break l}b=b|t[f+2|0]<<16;v[d+8>>2]=b;if((c|0)!=4){break l}v[d+8>>2]=b|w[f+3|0]<<24;break l}if(Ke(a,d,f)){break l}break f}if((c|0)==1){v[e+384>>2]=e+704;Mc(a,f,e+384|0);c=v[d+4>>2];if(c>>>0<=4){b=w[e+704|0]<<24;if(x[a+456>>1]==19789){v[d+8>>2]=b;if(c>>>0<2){break l}b=b|t[e+705|0]<<16;v[d+8>>2]=b;if((c|0)==2){break l}b=b|t[e+706|0]<<8;v[d+8>>2]=b;if((c|0)!=4){break l}v[d+8>>2]=b|t[e+707|0];break l}b=b>>24;v[d+8>>2]=b;if(c>>>0<2){break l}b=b|t[e+705|0]<<8;v[d+8>>2]=b;if((c|0)==2){break l}b=b|t[e+706|0]<<16;v[d+8>>2]=b;if((c|0)!=4){break l}v[d+8>>2]=b|w[e+707|0]<<24;break l}if(Ke(a,d,e+704|0)){break l}break f}v[e+400>>2]=e+704;Mc(a,f,e+400|0);f=v[e+704>>2];c=v[d+4>>2];if(c>>>0<=4){b=w[f|0]<<24;if(x[a+456>>1]==19789){v[d+8>>2]=b;if(c>>>0<2){break l}b=b|t[f+1|0]<<16;v[d+8>>2]=b;if((c|0)==2){break l}b=b|t[f+2|0]<<8;v[d+8>>2]=b;if((c|0)!=4){break l}v[d+8>>2]=b|t[f+3|0];break l}b=b>>24;v[d+8>>2]=b;if(c>>>0<2){break l}b=b|t[f+1|0]<<8;v[d+8>>2]=b;if((c|0)==2){break l}b=b|t[f+2|0]<<16;v[d+8>>2]=b;if((c|0)!=4){break l}v[d+8>>2]=b|w[f+3|0]<<24;break l}if(Ke(a,d,f)){break l}break f;case 6:break D;default:break l}}L:{M:{switch(c-65533|0){case 2:v[e+468>>2]=e+704;v[e+464>>2]=e+616;Mc(a,f,e+464|0);b=x[e+616>>1];v[d+4>>2]=b;break L;case 0:v[e+484>>2]=e+704;v[e+480>>2]=e+624;Mc(a,f,e+480|0);b=v[e+624>>2];v[d+4>>2]=b;break L;default:break M}}v[e+448>>2]=e+704;Mc(a,f,e+448|0);b=v[d+4>>2]}f=v[e+704>>2];if(b>>>0<=4){c=w[f|0]<<24;if(x[a+456>>1]==19789){v[d+8>>2]=c;if(b>>>0<2){break l}c=c|t[f+1|0]<<16;v[d+8>>2]=c;if((b|0)==2){break l}c=c|t[f+2|0]<<8;v[d+8>>2]=c;if((b|0)!=4){break l}v[d+8>>2]=c|t[f+3|0];break l}c=c>>24;v[d+8>>2]=c;if(b>>>0<2){break l}c=c|t[f+1|0]<<8;v[d+8>>2]=c;if((b|0)==2){break l}c=c|t[f+2|0]<<16;v[d+8>>2]=c;if((b|0)!=4){break l}v[d+8>>2]=c|w[f+3|0]<<24;break l}if(Ke(a,d,f)){break l}break f}if(!Ke(a,d,f)){break f}break l}if(Ke(a,d,c)){break l}break f}v[d+4>>2]=k;u[d+2>>1]=3;u[d>>1]=f;b=x[e+704>>1];v[d+8>>2]=x[a+456>>1]==19789?b<<16:b;break l}v[a+496>>2]=(v[a+16>>2]+(d+I|0)|0)+8;break l}n=j&3;h=0;i=0;if(j-1>>>0>=3){l=j&65532;while(1){f=i<<3;A[f+b>>3]=A[e+616>>3];A[(f|8)+b>>3]=A[e+616>>3];A[(f|16)+b>>3]=A[e+616>>3];A[(f|24)+b>>3]=A[e+616>>3];i=i+4|0;l=l-4|0;if(l){continue}break}}if(!n){break m}while(1){A[(i<<3)+b>>3]=A[e+616>>3];i=i+1|0;n=n-1|0;if(n){continue}break}}i=e+704|0;N:{O:{if(B(c>>>0<=13?v[(c<<2)+81924>>2]:0,j)>>>0<81){break O}i=gb(B(c>>>0<=13?v[(c<<2)+81924>>2]:0,j));if(i){break O}n=0;wb(v[a+628>>2],v[a>>2],37142,0);break N}v[d+4>>2]=j;u[d+2>>1]=c;u[d>>1]=k;n=0;P:{Q:{R:{switch(c-1|0){case 5:if(!h){l=j&3;h=0;if(j-1>>>0>=3){j=j&65532;while(1){f=h+i|0;g=A[(h<<3)+b>>3];S:{if(D(g)<2147483648){c=~~g;break S}c=-2147483648}t[f|0]=c;f=h|1;k=f+i|0;g=A[(f<<3)+b>>3];T:{if(D(g)<2147483648){c=~~g;break T}c=-2147483648}t[k|0]=c;f=h|2;k=f+i|0;g=A[(f<<3)+b>>3];U:{if(D(g)<2147483648){c=~~g;break U}c=-2147483648}t[k|0]=c;f=h|3;k=f+i|0;g=A[(f<<3)+b>>3];V:{if(D(g)<2147483648){c=~~g;break V}c=-2147483648}t[k|0]=c;h=h+4|0;j=j-4|0;if(j){continue}break}}if(l){while(1){f=h+i|0;g=A[(h<<3)+b>>3];W:{if(D(g)<2147483648){c=~~g;break W}c=-2147483648}t[f|0]=c;h=h+1|0;l=l-1|0;if(l){continue}break}}j=v[d+4>>2]}if(j>>>0<=4){c=w[i|0]<<24;if(x[a+456>>1]==19789){v[d+8>>2]=c;if(j>>>0<2){break Q}c=c|t[i+1|0]<<16;v[d+8>>2]=c;if((j|0)==2){break Q}c=c|t[i+2|0]<<8;v[d+8>>2]=c;if((j|0)!=4){break Q}v[d+8>>2]=c|t[i+3|0];break Q}c=c>>24;v[d+8>>2]=c;if(j>>>0<2){break Q}c=c|t[i+1|0]<<8;v[d+8>>2]=c;if((j|0)==2){break Q}c=c|t[i+2|0]<<16;v[d+8>>2]=c;if((j|0)!=4){break Q}v[d+8>>2]=c|w[i+3|0]<<24;break Q}if(Ke(a,d,i)){break Q}break P;case 2:X:{if(h){break X}l=j&3;h=0;if(j-1>>>0>=3){k=j&65532;while(1){f=(h<<1)+i|0;g=A[(h<<3)+b>>3];Y:{if(g<4294967296&g>=0){c=~~g>>>0;break Y}c=0}u[f>>1]=c;f=h|1;p=(f<<1)+i|0;g=A[(f<<3)+b>>3];Z:{if(g<4294967296&g>=0){c=~~g>>>0;break Z}c=0}u[p>>1]=c;f=h|2;p=(f<<1)+i|0;g=A[(f<<3)+b>>3];_:{if(g<4294967296&g>=0){c=~~g>>>0;break _}c=0}u[p>>1]=c;f=h|3;p=(f<<1)+i|0;g=A[(f<<3)+b>>3];$:{if(g<4294967296&g>=0){c=~~g>>>0;break $}c=0}u[p>>1]=c;h=h+4|0;k=k-4|0;if(k){continue}break}}if(!l){break X}while(1){f=(h<<1)+i|0;g=A[(h<<3)+b>>3];aa:{if(g<4294967296&g>=0){c=~~g>>>0;break aa}c=0}u[f>>1]=c;h=h+1|0;l=l-1|0;if(l){continue}break}}if(j>>>0<=2){c=x[i>>1];if(x[a+456>>1]==19789){c=c<<16;v[d+8>>2]=c;if((j|0)!=2){break Q}v[d+8>>2]=c|x[i+2>>1];break Q}v[d+8>>2]=c;if((j|0)!=2){break Q}v[d+8>>2]=c|x[i+2>>1]<<16;break Q}if(Ke(a,d,i)){break Q}break P;case 7:ba:{if(h){break ba}l=j&3;h=0;if(j-1>>>0>=3){k=j&65532;while(1){f=(h<<1)+i|0;g=A[(h<<3)+b>>3];ca:{if(D(g)<2147483648){c=~~g;break ca}c=-2147483648}u[f>>1]=c;f=h|1;p=(f<<1)+i|0;g=A[(f<<3)+b>>3];da:{if(D(g)<2147483648){c=~~g;break da}c=-2147483648}u[p>>1]=c;f=h|2;p=(f<<1)+i|0;g=A[(f<<3)+b>>3];ea:{if(D(g)<2147483648){c=~~g;break ea}c=-2147483648}u[p>>1]=c;f=h|3;p=(f<<1)+i|0;g=A[(f<<3)+b>>3];fa:{if(D(g)<2147483648){c=~~g;break fa}c=-2147483648}u[p>>1]=c;h=h+4|0;k=k-4|0;if(k){continue}break}}if(!l){break ba}while(1){f=(h<<1)+i|0;g=A[(h<<3)+b>>3];ga:{if(D(g)<2147483648){c=~~g;break ga}c=-2147483648}u[f>>1]=c;h=h+1|0;l=l-1|0;if(l){continue}break}}if(j>>>0<=2){c=x[i>>1];if(x[a+456>>1]==19789){c=c<<16;v[d+8>>2]=c;if((j|0)!=2){break Q}v[d+8>>2]=c|x[i+2>>1];break Q}v[d+8>>2]=c;if((j|0)!=2){break Q}v[d+8>>2]=c|x[i+2>>1]<<16;break Q}if(Ke(a,d,i)){break Q}break P;case 3:ha:{if(h){break ha}l=j&3;h=0;if(j-1>>>0>=3){j=j&65532;while(1){f=(h<<2)+i|0;g=A[(h<<3)+b>>3];ia:{if(g<4294967296&g>=0){c=~~g>>>0;break ia}c=0}v[f>>2]=c;f=h|1;k=(f<<2)+i|0;g=A[(f<<3)+b>>3];ja:{if(g<4294967296&g>=0){c=~~g>>>0;break ja}c=0}v[k>>2]=c;f=h|2;k=(f<<2)+i|0;g=A[(f<<3)+b>>3];ka:{if(g<4294967296&g>=0){c=~~g>>>0;break ka}c=0}v[k>>2]=c;f=h|3;k=(f<<2)+i|0;g=A[(f<<3)+b>>3];la:{if(g<4294967296&g>=0){c=~~g>>>0;break la}c=0}v[k>>2]=c;h=h+4|0;j=j-4|0;if(j){continue}break}}if(l){while(1){f=(h<<2)+i|0;g=A[(h<<3)+b>>3];ma:{if(g<4294967296&g>=0){c=~~g>>>0;break ma}c=0}v[f>>2]=c;h=h+1|0;l=l-1|0;if(l){continue}break}}if(v[d+4>>2]!=1){break ha}v[d+8>>2]=v[i>>2];break Q}if(Ke(a,d,i)){break Q}break P;case 8:na:{if(h){break na}l=j&3;h=0;if(j-1>>>0>=3){j=j&65532;while(1){f=(h<<2)+i|0;g=A[(h<<3)+b>>3];oa:{if(D(g)<2147483648){c=~~g;break oa}c=-2147483648}v[f>>2]=c;f=h|1;k=(f<<2)+i|0;g=A[(f<<3)+b>>3];pa:{if(D(g)<2147483648){c=~~g;break pa}c=-2147483648}v[k>>2]=c;f=h|2;k=(f<<2)+i|0;g=A[(f<<3)+b>>3];qa:{if(D(g)<2147483648){c=~~g;break qa}c=-2147483648}v[k>>2]=c;f=h|3;k=(f<<2)+i|0;g=A[(f<<3)+b>>3];ra:{if(D(g)<2147483648){c=~~g;break ra}c=-2147483648}v[k>>2]=c;h=h+4|0;j=j-4|0;if(j){continue}break}}if(l){while(1){f=(h<<2)+i|0;g=A[(h<<3)+b>>3];sa:{if(D(g)<2147483648){c=~~g;break sa}c=-2147483648}v[f>>2]=c;h=h+1|0;l=l-1|0;if(l){continue}break}}if(v[d+4>>2]!=1){break na}v[d+8>>2]=v[i>>2];break Q}if(Ke(a,d,i)){break Q}break P;case 10:ta:{if(h){break ta}l=j&3;h=0;if(j-1>>>0>=3){k=j&65532;while(1){z[(h<<2)+i>>2]=A[(h<<3)+b>>3];c=h|1;z[(c<<2)+i>>2]=A[(c<<3)+b>>3];c=h|2;z[(c<<2)+i>>2]=A[(c<<3)+b>>3];c=h|3;z[(c<<2)+i>>2]=A[(c<<3)+b>>3];h=h+4|0;k=k-4|0;if(k){continue}break}}if(l){while(1){z[(h<<2)+i>>2]=A[(h<<3)+b>>3];h=h+1|0;l=l-1|0;if(l){continue}break}}if((j|0)!=1){break ta}v[d+8>>2]=v[i>>2];break Q}if(Ke(a,d,i)){break Q}break P;case 11:if(!Ke(a,d,b)){break P}break Q;case 0:break R;default:break P}}if(!h){l=j&3;h=0;if(j-1>>>0>=3){j=j&65532;while(1){f=h+i|0;g=A[(h<<3)+b>>3];ua:{if(g<4294967296&g>=0){c=~~g>>>0;break ua}c=0}t[f|0]=c;f=h|1;k=f+i|0;g=A[(f<<3)+b>>3];va:{if(g<4294967296&g>=0){c=~~g>>>0;break va}c=0}t[k|0]=c;f=h|2;k=f+i|0;g=A[(f<<3)+b>>3];wa:{if(g<4294967296&g>=0){c=~~g>>>0;break wa}c=0}t[k|0]=c;f=h|3;k=f+i|0;g=A[(f<<3)+b>>3];xa:{if(g<4294967296&g>=0){c=~~g>>>0;break xa}c=0}t[k|0]=c;h=h+4|0;j=j-4|0;if(j){continue}break}}if(l){while(1){f=h+i|0;g=A[(h<<3)+b>>3];ya:{if(g<4294967296&g>=0){c=~~g>>>0;break ya}c=0}t[f|0]=c;h=h+1|0;l=l-1|0;if(l){continue}break}}j=v[d+4>>2]}if(j>>>0<=4){c=w[i|0]<<24;if(x[a+456>>1]==19789){v[d+8>>2]=c;if(j>>>0<2){break Q}c=c|t[i+1|0]<<16;v[d+8>>2]=c;if((j|0)==2){break Q}c=c|t[i+2|0]<<8;v[d+8>>2]=c;if((j|0)!=4){break Q}v[d+8>>2]=c|t[i+3|0];break Q}c=c>>24;v[d+8>>2]=c;if(j>>>0<2){break Q}c=c|t[i+1|0]<<8;v[d+8>>2]=c;if((j|0)==2){break Q}c=c|t[i+2|0]<<16;v[d+8>>2]=c;if((j|0)!=4){break Q}v[d+8>>2]=c|w[i+3|0]<<24;break Q}if(!Ke(a,d,i)){break P}}n=1}if((e+704|0)==(i|0)){break N}$a(i)}if((e+624|0)!=(b|0)){$a(b)}if(!n){break f}}d=d+12|0;f=x[m+12>>1];if((f|0)==65){break j}c=(e+592|0)+(f>>>3&8188)|0;b=v[c>>2];J=c,K=C3a(-2,f)&b,v[J>>2]=K}s=s+1|0;if((y|0)!=(s|0)){continue}break}}u[e+624>>1]=q;v[e+704>>2]=v[a+20>>2];if(w[a+12|0]&128){if(q&65535){d=q;b=o;while(1){mr(b,2);Vn(b+4|0,2);d=d-1|0;u[e+624>>1]=d;b=b+12|0;if(d&65535){continue}break}}u[e+624>>1]=q;d=w[e+625|0];t[e+625|0]=w[e+624|0];t[e+624|0]=d;Wn(e+704|0)}Qa[v[a+640>>2]](v[a+628>>2],v[a+16>>2],0)|0;if((Qa[v[a+636>>2]](v[a+628>>2],e+624|0,2)|0)!=2){wb(v[a+628>>2],v[a>>2],22436,0);break f}if((Qa[v[a+636>>2]](v[a+628>>2],o,r)|0)!=(r|0)){wb(v[a+628>>2],v[a>>2],24677,0);break f}if((Qa[v[a+636>>2]](v[a+628>>2],e+704|0,4)|0)!=4){wb(v[a+628>>2],v[a>>2],13130,0);break f}kE(a);v[a+12>>2]=v[a+12>>2]&-9;Qa[v[a+572>>2]](a);Xx(a);v[a+16>>2]=0;v[a+20>>2]=0;v[a+480>>2]=-1;v[a+484>>2]=0;v[a+472>>2]=-1;$a(o);b=1;break b}$a(o);b=0}Ma=e+784|0;if(!b){break a}}}Qa[v[a+572>>2]](a);kE(a);d=v[a+24>>2];if(d){$a(d)}while(1){d=v[a+680>>2];if(d){v[a+680>>2]=v[d>>2];$a(v[d+8>>2]);$a(d);continue}break}d=v[a+596>>2];if(!(!d|!(w[a+13|0]&2))){$a(d)}if(w[a+13|0]&8){Qa[v[a+624>>2]](v[a+628>>2],v[a+612>>2],v[a+616>>2])}c=v[a+660>>2];if(c){d=0;while(1){o=v[v[a+656>>2]+(d<<2)>>2];za:{if(x[o+12>>1]!=65){break za}b=v[o+16>>2];if(Kb(4034,b,4)){break za}$a(b);$a(o);c=v[a+660>>2]}d=d+1|0;if(c>>>0>d>>>0){continue}break}$a(v[a+656>>2])}$a(a)}function bk(a,b){var 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,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;s=Ma-16|0;Ma=s;E=-2;a:{if(!v[a+36>>2]|(!a|!v[a+32>>2])){break a}f=v[a+28>>2];if(!f|v[f>>2]!=(a|0)){break a}g=v[f+4>>2];if(g-16180>>>0>31){break a}o=v[a+12>>2];if(!o){break a}e=v[a>>2];if(!(v[a+4>>2]?e:1)){break a}if((g|0)==16191){v[f+4>>2]=16192;g=16192}S=b-5|0;T=f+92|0;H=f+756|0;J=f+116|0;K=f+88|0;I=f+112|0;F=f+1332|0;d=v[f+64>>2];L=v[a+4>>2];h=L;j=v[f+60>>2];p=v[a+16>>2];C=p;b:{c:{d:while(1){e:{c=-3;k=1;f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{V:{W:{X:{Y:{Z:{_:{$:{aa:{ba:{ca:{da:{ea:{fa:{ga:{ha:{ia:{ja:{ka:{la:{ma:{switch(g-16180|0){case 23:l=v[f+76>>2];c=e;g=h;break t;case 21:k=v[f+76>>2];break v;case 18:g=v[f+108>>2];break E;case 27:g=v[f+12>>2];break f;case 16:if(d>>>0>=14){break H}if(!h){break e}g=d+8|0;c=e+1|0;k=h-1|0;j=(w[e|0]<>>0<6){break ja}e=c;h=k;d=g;break H;case 9:if(d>>>0>=32){break L}if(!h){break e}c=e+1|0;g=h-1|0;j=(w[e|0]<>>0<24){break ha}e=c;h=g;break L;case 1:if(d>>>0>=16){break _}if(!h){break e}g=d+8|0;c=e+1|0;k=h-1|0;j=(w[e|0]<>>0<8){break ga}e=c;h=k;d=g;break _;case 0:l=v[f+12>>2];if(!l){break la}if(d>>>0>=16){g=j;break M}if(!h){break e}k=d+8|0;c=e+1|0;i=h-1|0;g=(w[e|0]<>>0<8){break fa}e=c;h=i;d=k;break M;case 2:if(d>>>0>31){break Y}break Z;case 3:if(d>>>0>15){break W}break X;case 4:c=v[f+20>>2];if(!(c&1024)){g=d;break V}g=j;if(d>>>0>15){break T}break U;case 13:j=j>>>(d&7)|0;d=d&-8;if(d>>>0>31){break ca}if(!h){break e}g=d+8|0;c=e+1|0;k=h-1|0;j=(w[e|0]<>>0<24){break ia}e=c;h=k;d=g;break ca;case 17:g=v[f+108>>2];i=v[f+96>>2];if(g>>>0>=i>>>0){break F}break G;case 25:if(!p){break r}t[o|0]=v[f+68>>2];v[f+4>>2]=16200;p=p-1|0;o=o+1|0;g=v[f+4>>2];continue;case 28:break p;case 24:break s;case 22:break u;case 20:break C;case 19:break D;case 12:break I;case 11:break J;case 10:break K;case 30:break b;case 8:break O;case 7:break P;case 6:break Q;case 5:break R;case 29:break c;case 15:break aa;case 14:break ba;case 26:break ma;default:break a}}g=v[f+12>>2];if(!g){g=0;break da}if(d>>>0>31){break ea}if(!h){break e}k=d+8|0;c=e+1|0;i=h-1|0;j=(w[e|0]<>>0<24){break ka}e=c;h=i;d=k;break ea}v[f+4>>2]=16192;break h}if(!i){e=c;h=0;d=k;c=n;break c}i=d+16|0;c=e+2|0;l=h-2|0;j=(w[e+1|0]<>>0>15){e=c;h=l;d=i;break ea}if(!l){e=c;h=0;d=i;c=n;break c}k=d+24|0;c=e+3|0;l=h-3|0;j=(w[e+2|0]<>>0>7){e=c;h=l;d=k;break ea}if(!l){e=c;h=0;d=k;c=n;break c}d=d+32|0;h=h-4|0;j=(w[e+3|0]<>>0>15){e=c;h=i;d=k;break ca}if(!i){e=c;h=0;d=k;c=n;break c}g=d+24|0;c=e+3|0;i=h-3|0;j=(w[e+2|0]<>>0>15){e=c;h=g;break L}k=d+16|0;if(!g){e=c;h=0;d=k;c=n;break c}c=e+3|0;g=h-3|0;j=(w[e+2|0]<>>0>7){e=c;h=g;break L}d=d+24|0;if(!g){e=c;h=0;c=n;break c}h=h-4|0;j=(w[e+3|0]<>2]=i+v[a+20>>2];v[f+32>>2]=i+v[f+32>>2];k=g&4;if(!(!k|!i)){k=o-i|0;g=v[f+28>>2];c=f;na:{if(v[f+20>>2]){g=lf(g,k,i);break na}g=on(g,k,i)}v[c+28>>2]=g;v[a+48>>2]=g;g=v[f+12>>2];k=g&4}if(!(!k|v[f+28>>2]==((v[f+20>>2]?j:j<<8&16711680|j<<24|(j>>>8&65280|j>>>24))|0))){v[a+24>>2]=263145;v[f+4>>2]=16209;C=p;g=v[f+4>>2];continue}j=0;d=0;C=p}v[f+4>>2]=16207;break f}c=j&65535;if((c|0)!=((j^-1)>>>16|0)){v[a+24>>2]=236176;v[f+4>>2]=16209;g=v[f+4>>2];continue}v[f+4>>2]=16194;v[f+68>>2]=c;j=0;d=0;if((b|0)!=6){break ba}break q}v[f+4>>2]=16195}c=v[f+68>>2];if(c){c=c>>>0>h>>>0?h:c;g=c>>>0>p>>>0?p:c;if(!g){break q}c=cb(o,e,g);v[f+68>>2]=v[f+68>>2]-g;o=c+g|0;p=p-g|0;e=e+g|0;h=h-g|0;g=v[f+4>>2];continue}v[f+4>>2]=16191;g=v[f+4>>2];continue}d=d+16|0;h=h-2|0;j=(w[e+1|0]<>2]=j;if((j&255)!=8){v[a+24>>2]=287121;v[f+4>>2]=16209;g=v[f+4>>2];continue}if(j&57344){v[a+24>>2]=233334;v[f+4>>2]=16209;g=v[f+4>>2];continue}c=v[f+36>>2];if(c){v[c>>2]=j>>>8&1}if(!(!(j&512)|!(w[f+12|0]&4))){t[s+12|0]=j;t[s+13|0]=j>>>8;Y=f,Z=lf(v[f+28>>2],s+12|0,2),v[Y+28>>2]=Z}v[f+4>>2]=16182;d=0;j=0}if(!h){break e}c=e+1|0;g=h-1|0;j=(w[e|0]<>>0>=24){e=c;h=g;break Y}k=d+8|0;if(!g){e=c;h=0;d=k;c=n;break c}c=e+2|0;g=h-2|0;j=(w[e+1|0]<>>0>15){e=c;h=g;break Y}k=d+16|0;if(!g){e=c;h=0;d=k;c=n;break c}c=e+3|0;g=h-3|0;j=(w[e+2|0]<>>0>7){e=c;h=g;break Y}d=d+24|0;if(!g){e=c;h=0;c=n;break c}h=h-4|0;j=(w[e+3|0]<>2];if(c){v[c+4>>2]=j}if(!(!(w[f+21|0]&2)|!(w[f+12|0]&4))){t[s+12|0]=j;t[s+13|0]=j>>>8;t[s+14|0]=j>>>16;t[s+15|0]=j>>>24;Y=f,Z=lf(v[f+28>>2],s+12|0,4),v[Y+28>>2]=Z}v[f+4>>2]=16183;d=0;j=0}if(!h){break e}c=e+1|0;g=h-1|0;j=(w[e|0]<>>0>=8){e=c;h=g;break W}d=d+8|0;if(!g){e=c;h=0;c=n;break c}h=h-2|0;j=(w[e+1|0]<>2];if(c){v[c+12>>2]=j>>>8;v[c+8>>2]=j&255}if(!(!(w[f+21|0]&2)|!(w[f+12|0]&4))){t[s+12|0]=j;t[s+13|0]=j>>>8;Y=f,Z=lf(v[f+28>>2],s+12|0,2),v[Y+28>>2]=Z}v[f+4>>2]=16184;g=0;d=0;j=0;c=v[f+20>>2];if(c&1024){break U}}c=v[f+36>>2];if(c){v[c+16>>2]=0}d=g;break S}if(!h){h=0;j=g;c=n;break c}k=e+1|0;i=h-1|0;j=(w[e|0]<>>0>=8){e=k;h=i;break T}d=d+8|0;if(!i){e=k;h=0;c=n;break c}h=h-2|0;j=(w[e+1|0]<>2]=j;d=v[f+36>>2];if(d){v[d+20>>2]=j}d=0;if(!(!(c&512)|!(w[f+12|0]&4))){t[s+12|0]=j;t[s+13|0]=j>>>8;Y=f,Z=lf(v[f+28>>2],s+12|0,2),v[Y+28>>2]=Z}j=0}v[f+4>>2]=16185}k=v[f+20>>2];if(k&1024){g=v[f+68>>2];l=g>>>0>h>>>0?h:g;if(l){i=v[f+36>>2];oa:{if(!i){break oa}c=v[i+16>>2];if(!c){break oa}g=v[i+20>>2]-g|0;k=g+c|0;c=v[i+24>>2];cb(k,e,c>>>0>>0?c-g|0:l);k=v[f+20>>2]}if(!(!(k&512)|!(w[f+12|0]&4))){Y=f,Z=lf(v[f+28>>2],e,l),v[Y+28>>2]=Z}g=v[f+68>>2]-l|0;v[f+68>>2]=g;h=h-l|0;e=e+l|0}if(g){break q}}v[f+4>>2]=16186;v[f+68>>2]=0}pa:{if(w[f+21|0]&8){g=0;if(!h){break N}while(1){i=w[e+g|0];k=v[f+36>>2];qa:{if(!k){break qa}c=v[k+28>>2];if(!c){break qa}l=v[k+32>>2];k=v[f+68>>2];if(l>>>0<=k>>>0){break qa}v[f+68>>2]=k+1;t[c+k|0]=i}g=g+1|0;if(h>>>0>g>>>0?i:0){continue}break}if(!(!(w[f+21|0]&2)|!(w[f+12|0]&4))){Y=f,Z=lf(v[f+28>>2],e,g),v[Y+28>>2]=Z}e=e+g|0;h=h-g|0;if(!i){break pa}break q}c=v[f+36>>2];if(!c){break pa}v[c+28>>2]=0}v[f+4>>2]=16187;v[f+68>>2]=0}ra:{if(w[f+21|0]&16){g=0;if(!h){break N}while(1){i=w[e+g|0];k=v[f+36>>2];sa:{if(!k){break sa}c=v[k+36>>2];if(!c){break sa}l=v[k+40>>2];k=v[f+68>>2];if(l>>>0<=k>>>0){break sa}v[f+68>>2]=k+1;t[c+k|0]=i}g=g+1|0;if(h>>>0>g>>>0?i:0){continue}break}if(!(!(w[f+21|0]&2)|!(w[f+12|0]&4))){Y=f,Z=lf(v[f+28>>2],e,g),v[Y+28>>2]=Z}e=e+g|0;h=h-g|0;if(!i){break ra}break q}c=v[f+36>>2];if(!c){break ra}v[c+36>>2]=0}v[f+4>>2]=16188}i=v[f+20>>2];if(i&512){ta:{if(d>>>0>15){break ta}if(!h){break e}g=d+8|0;c=e+1|0;k=h-1|0;j=(w[e|0]<>>0>=8){e=c;h=k;d=g;break ta}if(!k){e=c;h=0;d=g;c=n;break c}d=d+16|0;h=h-2|0;j=(w[e+1|0]<>1]==(j|0))){v[a+24>>2]=269981;v[f+4>>2]=16209;g=v[f+4>>2];continue}j=0;d=0}c=v[f+36>>2];if(c){v[c+48>>2]=1;v[c+44>>2]=i>>>9&1}c=lf(0,0,0);v[f+28>>2]=c;v[a+48>>2]=c;v[f+4>>2]=16191;g=v[f+4>>2];continue}h=0;break q}ua:{va:{if(!(l&2)){if(!(l&5)){break ua}if((g|0)==35615){break va}break ua}if((g|0)!=35615){break ua}}if(!v[f+40>>2]){v[f+40>>2]=15}j=0;c=lf(0,0,0);v[f+28>>2]=c;t[s+12|0]=g;t[s+13|0]=g>>>8;Y=f,Z=lf(c,s+12|0,2),v[Y+28>>2]=Z;v[f+4>>2]=16181;d=0;g=v[f+4>>2];continue}v[f+20>>2]=0;c=v[f+36>>2];if(c){v[c+48>>2]=-1}if(!(((g<<8&65280)+(g>>>8|0)>>>0)%31|0?0:l&1)){v[a+24>>2]=263099;v[f+4>>2]=16209;j=g;g=v[f+4>>2];continue}if((g&15)!=8){v[a+24>>2]=287121;v[f+4>>2]=16209;j=g;g=v[f+4>>2];continue}j=g>>>4|0;l=j&15;k=l+8|0;i=l>>>0<=7;c=v[f+40>>2];if(!c){v[f+40>>2]=k;c=k}if(!(c>>>0>=k>>>0&i)){d=d-4|0;v[a+24>>2]=273650;v[f+4>>2]=16209;g=v[f+4>>2];continue}v[f+24>>2]=256<>2]=c;v[a+48>>2]=c;v[f+4>>2]=g&8192?16189:16191;d=0;g=v[f+4>>2];continue}c=j<<8&16711680|j<<24|(j>>>8&65280|j>>>24);v[f+28>>2]=c;v[a+48>>2]=c;v[f+4>>2]=16190;j=0;d=0}if(!v[f+16>>2]){v[a+16>>2]=p;v[a+12>>2]=o;v[a+4>>2]=h;v[a>>2]=e;v[f+64>>2]=d;v[f+60>>2]=j;E=2;break a}c=on(0,0,0);v[f+28>>2]=c;v[a+48>>2]=c;v[f+4>>2]=16191}if(S>>>0<2){break q}}wa:{xa:{if(!v[f+8>>2]){if(d>>>0<3){break xa}break wa}v[f+4>>2]=16206;j=j>>>(d&7)|0;d=d&-8;g=v[f+4>>2];continue}if(!h){break e}h=h-1|0;j=(w[e|0]<>2]=j&1;g=16193;ya:{za:{Aa:{switch((j>>>1&3)-1|0){case 0:v[f+80>>2]=864e3;v[f+88>>2]=9;v[f+92>>2]=5;v[f+84>>2]=866048;v[f+4>>2]=16199;if((b|0)!=6){break ya}d=d-3|0;j=j>>>3|0;c=n;break c;case 1:g=16196;break za;case 2:break Aa;default:break za}}v[a+24>>2]=278596;g=16209}v[f+4>>2]=g}d=d-3|0;j=j>>>3|0;g=v[f+4>>2];continue}g=j&31;v[f+100>>2]=g+257;c=j>>>5&31;v[f+104>>2]=c+1;i=(j>>>10&15)+4|0;v[f+96>>2]=i;d=d-14|0;j=j>>>14|0;if(!(c>>>0<30&g>>>0<=29)){v[a+24>>2]=235668;v[f+4>>2]=16209;g=v[f+4>>2];continue}v[f+4>>2]=16197;g=0;v[f+108>>2]=0}c=g;while(1){if(d>>>0<=2){if(!h){break e}h=h-1|0;j=(w[e|0]<>2]=g;u[((x[(c<<1)+863952>>1]<<1)+f|0)+116>>1]=j&7;d=d-3|0;j=j>>>3|0;c=g;if(i>>>0>c>>>0){continue}break}}if(g>>>0<=18){n=18-g|0;c=3-g&3;if(c){while(1){u[((x[(g<<1)+863952>>1]<<1)+f|0)+116>>1]=0;g=g+1|0;c=c-1|0;if(c){continue}break}}if(n>>>0>=3){while(1){c=f+116|0;n=g<<1;u[c+(x[n+863952>>1]<<1)>>1]=0;u[c+(x[n+863954>>1]<<1)>>1]=0;u[c+(x[n+863956>>1]<<1)>>1]=0;u[c+(x[n+863958>>1]<<1)>>1]=0;g=g+4|0;if((g|0)!=19){continue}break}}v[f+108>>2]=19}v[f+88>>2]=7;v[f+80>>2]=F;v[f+112>>2]=F;g=0;n=ZH(0,J,19,I,K,H);if(n){v[a+24>>2]=233309;v[f+4>>2]=16209;g=v[f+4>>2];continue}v[f+4>>2]=16198;v[f+108>>2]=0;n=0}r=v[f+100>>2];B=r+v[f+104>>2]|0;if(B>>>0>g>>>0){q=-1<>2]^-1;A=v[f+80>>2];while(1){l=d;k=h;i=e;z=j&q;m=w[(A+(z<<2)|0)+1|0];Ba:{if(m>>>0<=d>>>0){c=d;break Ba}while(1){if(!k){break B}m=w[i|0]<>>0>c>>>0){continue}break}e=i;h=k}d=x[(A+(z<<2)|0)+2>>1];Ca:{if(d>>>0<=15){k=g+1|0;v[f+108>>2]=k;u[((g<<1)+f|0)+116>>1]=d;d=c-m|0;j=j>>>m|0;g=k;break Ca}Da:{Ea:{Fa:{switch(d-16|0){case 0:d=m+2|0;if(d>>>0>c>>>0){while(1){if(!h){break g}h=h-1|0;j=(w[e|0]<>>0>c>>>0){continue}break}}d=c-m|0;c=j>>>m|0;if(!g){v[a+24>>2]=234045;v[f+4>>2]=16209;j=c;g=v[f+4>>2];continue d}d=d-2|0;j=c>>>2|0;k=(c&3)+3|0;c=x[((g<<1)+f|0)+114>>1];break Da;case 1:d=m+3|0;if(d>>>0>c>>>0){while(1){if(!h){break g}h=h-1|0;j=(w[e|0]<>>0>c>>>0){continue}break}}d=(c-m|0)-3|0;c=j>>>m|0;j=c>>>3|0;k=(c&7)+3|0;break Ea;default:break Fa}}d=m+7|0;if(d>>>0>c>>>0){while(1){if(!h){break g}h=h-1|0;j=(w[e|0]<>>0>c>>>0){continue}break}}d=(c-m|0)-7|0;c=j>>>m|0;j=c>>>7|0;k=(c&127)+11|0}c=0}if(B>>>0>>0){break y}l=k-1|0;i=k&3;if(i){while(1){u[((g<<1)+f|0)+116>>1]=c;g=g+1|0;k=k-1|0;i=i-1|0;if(i){continue}break}}if(l>>>0>=3){while(1){i=(g<<1)+f|0;u[i+118>>1]=c;u[i+116>>1]=c;u[i+120>>1]=c;u[i+122>>1]=c;g=g+4|0;k=k-4|0;if(k){continue}break}}v[f+108>>2]=g}if(g>>>0>>0){continue}break}}if(!x[f+628>>1]){v[a+24>>2]=262882;v[f+4>>2]=16209;g=v[f+4>>2];continue}v[f+88>>2]=9;v[f+80>>2]=F;v[f+112>>2]=F;n=ZH(1,J,r,I,K,H);if(n){v[a+24>>2]=233281;v[f+4>>2]=16209;g=v[f+4>>2];continue}v[f+92>>2]=6;v[f+84>>2]=v[f+112>>2];n=ZH(2,((v[f+100>>2]<<1)+f|0)+116|0,v[f+104>>2],I,T,H);if(n){v[a+24>>2]=233359;v[f+4>>2]=16209;g=v[f+4>>2];continue}v[f+4>>2]=16199;n=0;if((b|0)!=6){break D}c=0;break c}v[f+4>>2]=16200}if(!(h>>>0<6|p>>>0<258)){v[a+16>>2]=p;v[a+12>>2]=o;v[a+4>>2]=h;v[a>>2]=e;v[f+64>>2]=d;v[f+60>>2]=j;i=v[a+12>>2];e=v[a+16>>2];c=i+e|0;M=c+(C^-1)|0;q=v[a+28>>2];r=v[q+52>>2];U=(c+(r^-1)|0)-C|0;p=r&7;N=v[q+44>>2];V=r+N|0;O=c-257|0;W=(e-C|0)+i|0;g=v[a>>2];P=(g+v[a+4>>2]|0)-5|0;X=-1<>2]^-1;z=-1<>2]^-1;Q=v[q+84>>2];R=v[q+80>>2];h=v[q+64>>2];o=v[q+60>>2];j=v[q+56>>2];A=v[q+48>>2];B=r-1>>>0<7;while(1){if(h>>>0<=14){o=((w[g|0]<>>e|0;e=x[c+2>>1];Ga:{Ha:{Ia:{d=w[c|0];if(!d){break Ia}l=q;Ja:{Ka:{La:{while(1){if(d&16){m=e&65535;e=d&15;Ma:{if(!e){c=g;d=o;break Ma}Na:{if(e>>>0<=h>>>0){d=h;c=g;break Na}d=h+8|0;o=(w[g|0]<>>e|0}if(h>>>0<=14){d=((w[c|0]<>>e|0;e=x[g+2>>1];d=w[g|0];if(d&16){break La}while(1){if(!(d&64)){d=(((-1<>>e|0;e=x[d+2>>1];d=w[d|0];if(!(d&16)){continue}break La}break}m=283889;g=c;break Ka}c=d&255;if(!(c&64)){c=(((-1<>>e|0;e=x[c+2>>1];d=w[c|0];if(!d){break Ia}continue}break}m=283818;e=16191;if(d&32){break Ja}break Ka}G=e&65535;d=d&15;Oa:{if(d>>>0<=h>>>0){e=h;g=c;break Oa}o=(w[c|0]<>>0<=e>>>0){break Oa}o=(w[c+1|0]<>>d|0;Pa:{D=c+G|0;e=i-W|0;if(D>>>0>e>>>0){k=D-e|0;if(!(!v[q+7108>>2]|k>>>0<=A>>>0)){m=263341;break Ka}Qa:{Ra:{if(!r){d=j+(N-k|0)|0;if(k>>>0>=m>>>0){break Qa}l=(G+(c+M|0)|0)-i|0;e=k;c=e&7;if(c){while(1){t[i|0]=w[d|0];e=e-1|0;i=i+1|0;d=d+1|0;c=c-1|0;if(c){continue}break}}if(l>>>0<7){break Ra}while(1){t[i|0]=w[d|0];t[i+1|0]=w[d+1|0];t[i+2|0]=w[d+2|0];t[i+3|0]=w[d+3|0];t[i+4|0]=w[d+4|0];t[i+5|0]=w[d+5|0];t[i+6|0]=w[d+6|0];t[i+7|0]=w[d+7|0];i=i+8|0;d=d+8|0;e=e-8|0;if(e){continue}break}break Ra}if(k>>>0>r>>>0){d=j+(V-k|0)|0;k=k-r|0;if(k>>>0>=m>>>0){break Qa}l=(G+(c+U|0)|0)-i|0;e=k;c=e&7;if(c){while(1){t[i|0]=w[d|0];e=e-1|0;i=i+1|0;d=d+1|0;c=c-1|0;if(c){continue}break}}if(l>>>0>=7){while(1){t[i|0]=w[d|0];t[i+1|0]=w[d+1|0];t[i+2|0]=w[d+2|0];t[i+3|0]=w[d+3|0];t[i+4|0]=w[d+4|0];t[i+5|0]=w[d+5|0];t[i+6|0]=w[d+6|0];t[i+7|0]=w[d+7|0];i=i+8|0;d=d+8|0;e=e-8|0;if(e){continue}break}}m=m-k|0;if(r>>>0>=m>>>0){d=j;break Qa}e=r;d=j;c=p;if(c){while(1){t[i|0]=w[d|0];e=e-1|0;i=i+1|0;d=d+1|0;c=c-1|0;if(c){continue}break}}if(!B){while(1){t[i|0]=w[d|0];t[i+1|0]=w[d+1|0];t[i+2|0]=w[d+2|0];t[i+3|0]=w[d+3|0];t[i+4|0]=w[d+4|0];t[i+5|0]=w[d+5|0];t[i+6|0]=w[d+6|0];t[i+7|0]=w[d+7|0];i=i+8|0;d=d+8|0;e=e-8|0;if(e){continue}break}}d=i-D|0;m=m-r|0;break Qa}d=j+(r-k|0)|0;if(k>>>0>=m>>>0){break Qa}l=(G+(c+M|0)|0)-i|0;e=k;c=e&7;if(c){while(1){t[i|0]=w[d|0];e=e-1|0;i=i+1|0;d=d+1|0;c=c-1|0;if(c){continue}break}}if(l>>>0<7){break Ra}while(1){t[i|0]=w[d|0];t[i+1|0]=w[d+1|0];t[i+2|0]=w[d+2|0];t[i+3|0]=w[d+3|0];t[i+4|0]=w[d+4|0];t[i+5|0]=w[d+5|0];t[i+6|0]=w[d+6|0];t[i+7|0]=w[d+7|0];i=i+8|0;d=d+8|0;e=e-8|0;if(e){continue}break}}d=i-D|0;m=m-k|0}Sa:{if(m>>>0<3){break Sa}c=m-3|0;e=((c>>>0)/3|0)+1&3;if(e){while(1){t[i|0]=w[d|0];t[i+1|0]=w[d+1|0];t[i+2|0]=w[d+2|0];m=m-3|0;i=i+3|0;d=d+3|0;e=e-1|0;if(e){continue}break}}if(c>>>0<9){break Sa}while(1){t[i|0]=w[d|0];t[i+1|0]=w[d+1|0];t[i+2|0]=w[d+2|0];t[i+3|0]=w[d+3|0];t[i+4|0]=w[d+4|0];t[i+5|0]=w[d+5|0];t[i+6|0]=w[d+6|0];t[i+7|0]=w[d+7|0];t[i+8|0]=w[d+8|0];t[i+9|0]=w[d+9|0];t[i+10|0]=w[d+10|0];t[i+11|0]=w[d+11|0];i=i+12|0;d=d+12|0;m=m-12|0;if(m>>>0>2){continue}break}}if(!m){break Ha}t[i|0]=w[d|0];if((m|0)!=1){break Pa}i=i+1|0;break Ha}c=i-D|0;while(1){d=i;e=c;t[d|0]=w[c|0];t[d+1|0]=w[c+1|0];t[d+2|0]=w[c+2|0];i=d+3|0;c=c+3|0;m=m-3|0;if(m>>>0>2){continue}break}if(!m){break Ha}t[d+3|0]=w[c|0];if((m|0)==1){i=d+4|0;break Ha}t[d+4|0]=w[e+4|0];i=d+5|0;break Ha}t[i+1|0]=w[d+1|0];i=i+2|0;break Ha}v[a+24>>2]=m;e=16209}v[l+4>>2]=e;break Ga}t[i|0]=e;i=i+1|0}if(g>>>0>=P>>>0){break Ga}if(i>>>0>>0){continue}}break}v[a+12>>2]=i;e=g-(h>>>3|0)|0;v[a>>2]=e;v[a+16>>2]=(O-i|0)+257;v[a+4>>2]=(P-e|0)+5;e=h&7;v[q+64>>2]=e;v[q+60>>2]=(-1<>2];j=v[f+60>>2];h=v[a+4>>2];e=v[a>>2];p=v[a+16>>2];o=v[a+12>>2];if(v[f+4>>2]!=16191){break h}v[f+7112>>2]=-1;g=v[f+4>>2];continue}v[f+7112>>2]=0;k=d;g=h;c=e;q=v[f+80>>2];r=-1<>2]^-1;m=r&j;l=w[(q+(m<<2)|0)+1|0];Ta:{if(l>>>0<=d>>>0){i=d;break Ta}while(1){if(!g){break z}l=w[c|0]<>>0>i>>>0){continue}break}}e=q+(m<<2)|0;z=x[e+2>>1];k=w[e|0];if(!k|k&240){break x}h=g;e=c;d=i;r=-1<>>l|0)+z|0;m=w[(q+(A<<2)|0)+1|0];Ua:{if(d>>>0>=m+l>>>0){k=i;break Ua}while(1){if(!h){break A}m=w[e|0]<>>l|0)+z|0;m=w[(q+(A<<2)|0)+1|0];if(d>>>0>>0){continue}break}}i=k-l|0;j=j>>>l|0;c=q+(A<<2)|0;k=w[c|0];z=x[c+2>>1];break w}e=e+h|0;d=(h<<3)+d|0;break e}e=c+g|0;d=(g<<3)+i|0;break e}e=e+h|0;d=(h<<3)+d|0;break e}v[a+24>>2]=234045;v[f+4>>2]=16209;g=v[f+4>>2];continue}m=l;l=0;e=c;h=g}v[f+68>>2]=z&65535;v[f+7112>>2]=l+m;d=i-m|0;j=j>>>m|0;if(!k){v[f+4>>2]=16205;g=v[f+4>>2];continue}if(k&32){v[f+4>>2]=16191;v[f+7112>>2]=-1;g=v[f+4>>2];continue}if(k&64){v[a+24>>2]=283818;v[f+4>>2]=16209;g=v[f+4>>2];continue}v[f+4>>2]=16201;k=k&15;v[f+76>>2]=k}i=e;l=h;Va:{if(!k){c=v[f+68>>2];break Va}c=e;g=d;if(d>>>0>>0){while(1){if(!h){break k}h=h-1|0;j=(w[c|0]<>>0>g>>>0){continue}break}}v[f+7112>>2]=v[f+7112>>2]+k;c=v[f+68>>2]+((-1<>2]=c;d=g-k|0;j=j>>>k|0}v[f+4>>2]=16202;v[f+7116>>2]=c}k=d;g=h;c=e;B=v[f+84>>2];r=-1<>2]^-1;m=r&j;l=w[(B+(m<<2)|0)+1|0];Wa:{if(l>>>0<=d>>>0){i=d;break Wa}while(1){if(!g){break l}l=w[c|0]<>>0>i>>>0){continue}break}}e=B+(m<<2)|0;z=x[e+2>>1];r=f;m=w[e|0];Xa:{if(m&240){k=l;e=v[f+7112>>2];break Xa}h=g;e=c;d=i;q=-1<>>l|0)+z|0;k=w[(B+(A<<2)|0)+1|0];Ya:{if(d>>>0>=l+k>>>0){m=i;break Ya}while(1){if(!h){break m}k=w[e|0]<>>l|0)+z|0;k=w[(B+(A<<2)|0)+1|0];if(d>>>0>>0){continue}break}c=e;g=h}i=m-l|0;j=j>>>l|0;e=B+(A<<2)|0;m=w[e|0];z=x[e+2>>1];e=v[f+7112>>2]+l|0}v[r+7112>>2]=e+k;d=i-k|0;j=j>>>k|0;if(m&64){v[a+24>>2]=283889;v[f+4>>2]=16209;e=c;h=g;g=v[f+4>>2];continue}v[f+4>>2]=16203;l=m&15;v[f+76>>2]=l;v[f+72>>2]=z&65535}Za:{if(!l){e=c;h=g;break Za}k=d;h=g;i=c;_a:{if(d>>>0>=l>>>0){e=c;break _a}while(1){if(!h){break n}h=h-1|0;j=(w[i|0]<>>0>k>>>0){continue}break}}v[f+7112>>2]=v[f+7112>>2]+l;v[f+72>>2]=v[f+72>>2]+((-1<>>l|0}v[f+4>>2]=16204}if(p){break o}}p=0}k=n}c=k;break c}g=v[f+72>>2];c=C-p|0;$a:{if(g>>>0>c>>>0){c=g-c|0;if(!(!v[f+7108>>2]|c>>>0<=y[f+48>>2])){v[a+24>>2]=263341;v[f+4>>2]=16209;g=v[f+4>>2];continue}g=v[f+52>>2];ab:{if(g>>>0>>0){c=c-g|0;g=v[f+56>>2]+(v[f+44>>2]-c|0)|0;break ab}g=v[f+56>>2]+(g-c|0)|0}k=v[f+68>>2];c=c>>>0>k>>>0?k:c;break $a}g=o-g|0;k=v[f+68>>2];c=k}i=c>>>0>p>>>0?p:c;v[f+68>>2]=k-i;l=i-1|0;k=i&7;if(!k){break j}c=i;while(1){t[o|0]=w[g|0];c=c-1|0;o=o+1|0;g=g+1|0;k=k-1|0;if(k){continue}break}break i}e=c+g|0;d=(g<<3)+d|0;break e}e=c+g|0;d=(g<<3)+i|0;break e}e=e+h|0;d=(h<<3)+d|0;break e}e=i+l|0;d=(l<<3)+d|0;break e}c=i}if(l>>>0>=7){while(1){t[o|0]=w[g|0];t[o+1|0]=w[g+1|0];t[o+2|0]=w[g+2|0];t[o+3|0]=w[g+3|0];t[o+4|0]=w[g+4|0];t[o+5|0]=w[g+5|0];t[o+6|0]=w[g+6|0];t[o+7|0]=w[g+7|0];o=o+8|0;g=g+8|0;c=c-8|0;if(c){continue}break}}p=p-i|0;if(v[f+68>>2]){break h}v[f+4>>2]=16200;g=v[f+4>>2];continue}g=v[f+4>>2];continue}h=0;d=c;c=n;break c}bb:{c=j;cb:{if(!g){break cb}c=j;if(!v[f+20>>2]){break cb}db:{if(d>>>0>31){break db}if(!h){break e}g=d+8|0;c=e+1|0;k=h-1|0;j=(w[e|0]<>>0>=24){e=c;h=k;d=g;break db}if(!k){e=c;h=0;d=g;c=n;break c}k=d+16|0;c=e+2|0;i=h-2|0;j=(w[e+1|0]<>>0>15){e=c;h=i;d=k;break db}if(!i){e=c;h=0;d=k;c=n;break c}g=d+24|0;c=e+3|0;i=h-3|0;j=(w[e+2|0]<>>0>7){e=c;h=i;d=g;break db}if(!i){e=c;h=0;d=g;c=n;break c}d=d+32|0;h=h-4|0;j=(w[e+3|0]<>2]!=(j|0)){break bb}d=0;c=0}j=c;v[f+4>>2]=16208;c=1;break c}v[a+24>>2]=263122;v[f+4>>2]=16209;g=v[f+4>>2];continue}break}h=0;c=n}v[a+16>>2]=p;v[a+12>>2]=o;v[a+4>>2]=h;v[a>>2]=e;v[f+64>>2]=d;v[f+60>>2]=j;j=a;d=L;eb:{fb:{gb:{if(v[f+44>>2]){break gb}e=h;if((p|0)==(C|0)){break fb}g=v[f+4>>2];e=h;if(g>>>0>16208){break fb}if((b|0)!=4|g>>>0<16206){break gb}e=h;break fb}i=C-p|0;l=v[a+28>>2];n=v[l+56>>2];hb:{if(!n){g=1;n=Qa[v[a+32>>2]](v[a+40>>2],1<>2],1)|0;v[l+56>>2]=n;if(!n){break hb}}h=v[l+44>>2];if(!h){v[l+48>>2]=0;v[l+52>>2]=0;h=1<>2];v[l+44>>2]=h}ib:{if(h>>>0<=i>>>0){cb(n,o-h|0,h);v[l+52>>2]=0;break ib}e=h;h=v[l+52>>2];e=e-h|0;k=e>>>0>i>>>0?i:e;cb(h+n|0,o-i|0,k);e=i-k|0;if(e){cb(v[l+56>>2],o-e|0,e);v[l+52>>2]=e;break ib}g=0;e=k+v[l+52>>2]|0;h=e;e=v[l+44>>2];v[l+52>>2]=(h|0)==(e|0)?0:h;h=e;e=v[l+48>>2];if(h>>>0<=e>>>0){break hb}v[l+48>>2]=e+k;break hb}v[l+48>>2]=v[l+44>>2];g=0}if(g){break eb}p=v[a+16>>2];e=v[a+4>>2]}d=d-e|0;v[j+8>>2]=d+v[a+8>>2];n=C-p|0;v[a+20>>2]=n+v[a+20>>2];v[f+32>>2]=n+v[f+32>>2];if(!(!(w[f+12|0]&4)|!n)){g=v[a+12>>2]-n|0;h=v[f+28>>2];e=f;jb:{if(v[f+20>>2]){h=lf(h,g,n);break jb}h=on(h,g,n)}v[e+28>>2]=h;v[a+48>>2]=h}e=a;a=v[f+4>>2];v[e+44>>2]=((v[f+64>>2]+((v[f+8>>2]!=0)<<6)|0)+(((a|0)==16191)<<7)|0)+((a|0)==16199?256:((a|0)==16194)<<8);a=c?c:-5;E=d|n?(b|0)==4?a:c:a;break a}v[f+4>>2]=16210}E=-4}Ma=s+16|0;return E}function AU(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,y=0;m=ab(1552);f=m;e=v[a+8>>2];j=Ma-32|0;Ma=j;v[f+40>>2]=13;v[f+1536>>2]=13;v[f+1512>>2]=13;v[f+1488>>2]=13;v[f+1464>>2]=13;v[f+1440>>2]=13;v[f+1416>>2]=13;v[f+1392>>2]=13;v[f+1368>>2]=13;v[f+1344>>2]=13;v[f+1320>>2]=13;v[f+1296>>2]=13;v[f+1272>>2]=13;v[f+1248>>2]=13;v[f+1224>>2]=13;v[f+1200>>2]=13;v[f+1176>>2]=13;v[j+8>>2]=13;v[f+28>>2]=1;v[f+32>>2]=0;v[f+16>>2]=-1;v[f+8>>2]=0;v[f+12>>2]=0;eb(f+60|0,0,1056);v[f+1528>>2]=-1;v[f+1504>>2]=-1;v[f+1480>>2]=-1;v[f+1456>>2]=-1;v[f+1432>>2]=-1;v[f+1408>>2]=-1;v[f+1384>>2]=-1;v[f+1360>>2]=-1;v[f+1336>>2]=-1;v[f+1312>>2]=-1;v[f+1288>>2]=-1;v[f+1264>>2]=-1;v[f+1240>>2]=-1;v[f+1216>>2]=-1;v[f+1192>>2]=-1;v[f+1168>>2]=-1;v[f+1116>>2]=65532;v[f+1120>>2]=0;v[f>>2]=e;x=f,y=Qa[v[v[e>>2]+100>>2]](e)|0,v[x+4>>2]=y;a:{b:{if(d){d=cU(f);v[f+28>>2]=d;if(d){break b}v[f+32>>2]=3;break a}e=0;k=Ma-1040|0;Ma=k;d=v[f>>2];Qa[v[v[d>>2]+56>>2]](d,1024,-1);d=v[f>>2];l=Qa[v[v[d>>2]+40>>2]](d,k,1024)|0;t[l+k|0]=0;c:{if((l|0)<9){break c}i=l-9|0;while(1){if(Kb(i+k|0,273417,9)){d=(i|0)>0;i=i-1|0;if(d){continue}break c}break}e=(i+k|0)+9|0;while(1){d=e;e=d+1|0;g=w[d|0];if((g|0)==32|g-9>>>0<5){continue}break}e=0;d:{if(!g){break d}while(1){if(g-48>>>0>9){break d}g=g<<24>>24;if(((-2147483601-g|0)/10|0)<(e|0)){break d}e=(g+B(e,10)|0)-48|0;g=w[d+1|0];d=d+1|0;if(g){continue}break}}v[f+56>>2]=e;d=v[f>>2];x=f,y=Qa[v[v[d>>2]+52>>2]](d)+(i-l)|0,v[x+60>>2]=y;e=v[f+56>>2]}Ma=k+1040|0;v[j+28>>2]=e;if(!e){v[f+28>>2]=0;v[f+32>>2]=3;break a}g=ab(12);v[g+4>>2]=16;v[g+8>>2]=0;x=g,y=Pb(16,4),v[x>>2]=y;while(1){if(bU(f,j+28|0,g,0)){continue}break}d=v[g+8>>2];v[f+68>>2]=d;k=Pb(d,4);v[f+64>>2]=k;i=v[f+68>>2];e:{if((i|0)<=0){d=v[g>>2];break e}e=i&3;d=v[g>>2];if(i-1>>>0>=3){i=i&-4;while(1){l=h<<2;v[l+k>>2]=v[d+l>>2];n=l|4;v[n+k>>2]=v[d+n>>2];n=l|8;v[n+k>>2]=v[d+n>>2];l=l|12;v[l+k>>2]=v[d+l>>2];h=h+4|0;i=i-4|0;if(i){continue}break}}if(!e){break e}while(1){i=h<<2;v[i+k>>2]=v[d+i>>2];h=h+1|0;e=e-1|0;if(e){continue}break}}tb(d);$a(g);if(v[f+28>>2]){break b}v[f+32>>2]=3;break a}Yd(v[f+48>>2],227586,j+8|0);f:{if(v[j+8>>2]==9){v[f+20>>2]=v[j+16>>2];v[f+24>>2]=v[j+20>>2];bb(j+8|0);break f}bb(j+8|0);d=cU(f);v[f+28>>2]=d;if(d){break f}v[f+32>>2]=3;break a}v[v[f+48>>2]>>2]=f}Ma=j+32|0;v[a+24>>2]=m;g:{h:{i:{if(!v[f+28>>2]){fb(1,-1,282290,0);d=v[a+24>>2];v[a+44>>2]=v[d+32>>2];break i}j=Ma-16|0;Ma=j;v[j>>2]=13;ib(v[v[a+24>>2]+48>>2],227323,j,0);g=1;j:{if(v[j>>2]!=7){break j}g=0;e=0;h=Ma-32|0;Ma=h;v[h+16>>2]=13;ib(v[j+8>>2],239175,h+16|0,0);k:{if(v[h+16>>2]==4){d=v[h+24>>2];if(!hb(d,286416)){e=ab(92);d=Ma-288|0;Ma=d;v[e>>2]=952456;v[e+4>>2]=a;v[d+272>>2]=13;v[d+256>>2]=13;v[d+240>>2]=13;v[d+224>>2]=13;v[d+208>>2]=13;v[d+192>>2]=13;v[d+176>>2]=13;v[d+160>>2]=13;v[d+144>>2]=13;v[d+128>>2]=13;v[d+112>>2]=13;v[d+96>>2]=13;v[d+80>>2]=13;v[d+64>>2]=13;v[d+48>>2]=13;v[d+32>>2]=13;v[d+16>>2]=13;v[e+68>>2]=0;v[e+72>>2]=0;v[e+48>>2]=0;v[e+76>>2]=0;v[e+80>>2]=0;v[e+84>>2]=0;v[e+88>>2]=0;ib(v[j+8>>2],309197,d+272|0,0);ib(v[j+8>>2],310530,d+256|0,0);ib(v[j+8>>2],268228,d+240|0,0);ib(v[j+8>>2],310685,d+224|0,0);ib(v[j+8>>2],309228,d+208|0,0);ib(v[j+8>>2],312026,d+192|0,0);ib(v[j+8>>2],311918,d+176|0,0);ib(v[j+8>>2],310603,d+160|0,0);ib(v[v[v[e+4>>2]+24>>2]+48>>2],312300,d+144|0,0);l:{m:{if(!(v[d+272>>2]!=1|v[d+256>>2]!=1|(v[d+160>>2]!=1|v[d+224>>2]!=3))){if(v[d+208>>2]==3){break m}}fb(1,-1,235017,0);break l}k=v[d+280>>2];v[e+52>>2]=k;i=v[d+264>>2];v[e+60>>2]=0;v[e+56>>2]=i;f=5;f=(i|0)==2|v[d+240>>2]!=1?f:v[d+248>>2]/8|0;v[e+64>>2]=1;v[e+48>>2]=f;n:{if(!((k&-2)!=4|i-4>>>0>2)){ib(v[j+8>>2],311694,d+112|0,0);ib(v[j+8>>2],311636,d+96|0,0);ib(v[j+8>>2],311631,d+80|0,0);o:{if(v[d+112>>2]!=7|v[d+96>>2]!=4|v[d+80>>2]!=4){break o}f=v[d+104>>2];if(hb(f,v[d+88>>2])){break o}if(!hb(f,217754)){bb(d+80|0);bb(d+96|0);bb(d+112|0);break l}if(v[ib(v[d+120>>2],f,d- -64|0,0)>>2]==7){ib(v[d+72>>2],310937,d+48|0,0);p:{if(v[d+48>>2]!=4){break p}f=v[d+56>>2];if(!hb(f,320014)){if(v[ib(v[d+72>>2],268228,d+32|0,0)>>2]==1){v[e+48>>2]=v[d+40>>2]}bb(d+32|0);v[e+52>>2]=2;v[e+56>>2]=3;break p}if(!hb(f,320011)){if(v[ib(v[d+72>>2],268228,d+32|0,0)>>2]==1){v[e+48>>2]=v[d+40>>2]}bb(d+32|0);v[e+60>>2]=1;v[e+52>>2]=2;v[e+56>>2]=3;break p}if(hb(f,318658)){break p}if(v[ib(v[d+72>>2],268228,d+32|0,0)>>2]==1){v[e+48>>2]=v[d+40>>2]}bb(d+32|0);if(v[e+48>>2]==16){v[e+60>>2]=1;v[e+52>>2]=2;v[e+56>>2]=3;break p}v[e+52>>2]=5;if(v[e+56>>2]-5>>>0>=2){v[e+56>>2]=6}v[e+60>>2]=2}bb(d+48|0)}bb(d- -64|0)}bb(d+80|0);bb(d+96|0);bb(d+112|0);if(!v[ib(v[j+8>>2],303504,d+16|0,0)>>2]){v[e+64>>2]=v[d+24>>2]}bb(d+16|0);i=v[e+56>>2]}if((i|0)<=4){if(v[v[d+232>>2]>>2]==32&v[v[d+216>>2]>>2]==32){break n}fb(1,-1,268047,0);break n}if((i|0)>6){break n}q:{if(v[v[d+232>>2]>>2]<48|v[v[d+216>>2]>>2]<48|(v[d+192>>2]!=3|v[v[d+200>>2]>>2]!=32)){break q}if(v[d+176>>2]!=3){break q}if(v[v[d+184>>2]>>2]==32){break n}}fb(1,-1,268047,0);break l}v[e+8>>2]=v[d+168>>2];f=v[d+232>>2];i=ab(8);Hc(i,f);v[e+68>>2]=i;f=v[d+216>>2];i=ab(8);f=Hc(i,f);v[e+72>>2]=i;r:{if(v[e+56>>2]>4){break r}i=v[e+68>>2];if(v[i>>2]<32){while(1){$b(i,0);i=v[e+68>>2];if(v[i>>2]<32){continue}break}f=v[e+72>>2]}if(v[f>>2]>=32){break r}while(1){$b(f,0);f=v[e+72>>2];if(v[f>>2]<32){continue}break}}s:{f=v[e+52>>2];if(f-1>>>0<=1){i=v[e+56>>2];if((i&-2)!=2){break s}t:{if(v[d+144>>2]==6){u:{if(v[ub(v[d+152>>2],0,d+128|0,0)>>2]==3){i=v[d+136>>2];f=ab(8);Hc(f,i);break u}f=ab(8);Qd(f)}v[e+84>>2]=f;bb(d+128|0);break t}f=ab(8);Qd(f);v[e+84>>2]=f}if(v[e+48>>2]-1>>>0>=16){v[e+48>>2]=16}v[e+88>>2]=1;break l}i=v[e+56>>2];if((f|0)!=5|i-5>>>0>1){break s}f=ab(8);Qd(f);v[e+84>>2]=f;f=v[d+200>>2];i=ab(8);Hc(i,f);v[e+76>>2]=i;f=v[d+184>>2];i=ab(8);Hc(i,f);v[e+80>>2]=i;if(v[e+48>>2]-1>>>0>=32){v[e+48>>2]=32}v[e+88>>2]=1;break l}v[d+4>>2]=i;v[d>>2]=f;fb(6,-1,239417,d)}bb(d+144|0);bb(d+160|0);bb(d+176|0);bb(d+192|0);bb(d+208|0);bb(d+224|0);bb(d+240|0);bb(d+256|0);bb(d+272|0);Ma=d+288|0;break k}v[h>>2]=d;fb(1,-1,239489,h);break k}fb(1,-1,218051,0)}bb(h+16|0);Ma=h+32|0;if(!e){break j}g=1;v:{if(Qa[v[v[e>>2]+8>>2]](e)|0){break v}f=0;d=e;if(b|c){f=Qa[v[v[e>>2]+12>>2]](e,b,c)|0}c=Qa[v[v[e>>2]+24>>2]](d,f)|0;if(f){Qa[v[v[e>>2]+20>>2]](e,f)}w:{if(c){break w}c=0;b=Qa[v[v[e>>2]+16>>2]](e)|0;x:{if(!b){break x}c=Qa[v[v[e>>2]+24>>2]](e,b)|0;Qa[v[v[e>>2]+20>>2]](e,b);y:{if(c){break y}c=0;b=Qa[v[v[e>>2]+16>>2]](e)|0;if(!b){break x}c=Qa[v[v[e>>2]+24>>2]](e,b)|0;Qa[v[v[e>>2]+20>>2]](e,b);if(c){break y}c=0;b=Qa[v[v[e>>2]+16>>2]](e)|0;if(!b){break x}c=Qa[v[v[e>>2]+24>>2]](e,b)|0;Qa[v[v[e>>2]+20>>2]](e,b)}if(c){break w}}fb(3,-1,286298,0)}if(!c){g=0;break v}b=v[a+24>>2];d=Qa[v[v[e>>2]+28>>2]](e)|0;f=Qa[v[v[e>>2]+32>>2]](e)|0;h=Qa[v[v[e>>2]+36>>2]](e)|0;c=Qa[v[v[e>>2]+40>>2]](e)|0;k=Qa[v[v[e>>2]+44>>2]](e)|0;l=Qa[v[v[e>>2]+48>>2]](e)|0;v[b+1120>>2]=f;v[b+1116>>2]=d;v[b+1112>>2]=1;z:{A:{if((c|0)>=33){v[b+1156>>2]=32;break A}v[b+1156>>2]=c;if((c|0)<1){break z}}i=0;while(1){t[(b+i|0)+1124|0]=w[h+i|0];i=i+1|0;if((i|0)>2]){continue}break}}v[b+1164>>2]=l;v[b+1160>>2]=k}Qa[v[v[e>>2]+4>>2]](e)}bb(j);Ma=j+16|0;B:{if(!g){v[a+44>>2]=4;break B}s=ab(184);g=s;f=0;k=Ma+-64|0;Ma=k;v[g+160>>2]=13;v[g+136>>2]=13;v[g+112>>2]=13;v[g+96>>2]=13;v[g+80>>2]=13;v[g+64>>2]=13;v[g+40>>2]=13;v[g+24>>2]=13;v[k+48>>2]=13;v[k+32>>2]=13;v[k+16>>2]=13;v[g>>2]=a;v[g+176>>2]=1;b=v[a+24>>2];v[g+152>>2]=0;v[g+156>>2]=0;v[g+132>>2]=0;v[g+56>>2]=0;v[g+4>>2]=b;v[g+8>>2]=0;v[g+12>>2]=0;v[g+16>>2]=0;v[g+20>>2]=0;dn(b,v[b+20>>2],v[b+24>>2],k+48|0,0);C:{D:{if(v[k+48>>2]!=7){v[k>>2]=v[(v[k+48>>2]<<2)+1109024>>2];fb(1,-1,326732,k);break D}c=Ma-80|0;Ma=c;v[c+64>>2]=13;v[c+48>>2]=13;v[c+32>>2]=13;E:{if(v[Yd(v[k+56>>2],236742,c- -64|0)>>2]!=9){b=c- -64|0;v[c+16>>2]=v[(v[b>>2]<<2)+1109024>>2];fb(1,-1,326808,c+16|0);bb(b);break E}if(v[ue(c- -64|0,v[g+4>>2],c+48|0,0)>>2]!=7){b=c+48|0;v[c>>2]=v[(v[b>>2]<<2)+1109024>>2];fb(1,-1,326687,c);bb(b);bb(c- -64|0);break E}F:{if(v[ib(v[c+56>>2],227781,c+32|0,0)>>2]==1){b=v[c+40>>2];v[g+20>>2]=b;if((b|0)<50001?b:0){break F}x=g,y=eW(g,c+48|0),v[x+20>>2]=y;break F}v[g+20>>2]=1}bb(c+32|0);e=v[g+20>>2];if((e|0)<=-1){fb(1,-1,227749,0);bb(c+48|0);bb(c- -64|0);v[g+20>>2]=0;break E}d=ab(24);f=v[c+72>>2];j=v[c+76>>2];b=0;v[d+20>>2]=0;v[d+12>>2]=0;v[d+16>>2]=0;v[d+8>>2]=e;v[d>>2]=f;v[d+4>>2]=j;v[g+8>>2]=d;bb(c+48|0);bb(c- -64|0);x=g,y=yc(v[g+12>>2],v[g+20>>2],4),v[x+12>>2]=y;x=g,y=yc(v[g+16>>2],v[g+20>>2],8),v[x+16>>2]=y;f=1;d=v[g+20>>2];if((d|0)<1){break E}if((d|0)!=1){i=d&-2;while(1){v[v[g+12>>2]+(b<<2)>>2]=0;e=v[g+16>>2]+(b<<3)|0;v[e>>2]=-1;v[e+4>>2]=-1;e=b|1;v[v[g+12>>2]+(e<<2)>>2]=0;e=v[g+16>>2]+(e<<3)|0;v[e>>2]=-1;v[e+4>>2]=-1;b=b+2|0;i=i-2|0;if(i){continue}break}}if(!(d&1)){break E}v[v[g+12>>2]+(b<<2)>>2]=0;b=v[g+16>>2]+(b<<3)|0;v[b>>2]=-1;v[b+4>>2]=-1}Ma=c+80|0;if(!f){break D}b=g+40|0;ib(v[k+56>>2],234363,g+24|0,0);G:{if(v[ib(v[k+56>>2],236601,k+32|0,0)>>2]==7){ib(v[k+40>>2],234363,b,0);break G}v[b>>2]=5}b=k+32|0;bb(b);if(v[ib(v[k+56>>2],311352,b,0)>>2]==7){if(v[ib(v[k+40>>2],277005,k+16|0,0)>>2]==3){b=v[k+24>>2];c=ab(8);Hc(c,b);v[g+56>>2]=c}bb(k+16|0)}u=g+136|0;p=g+112|0;j=g+96|0;i=g+80|0;l=g- -64|0;bb(k+32|0);b=v[g+56>>2];H:{if(b){if(v[b>>2]){break H}$a(Bb(b))}b=v[v[g>>2]>>2];if(b){b=v[b+4>>2];d=Ym(b,47);c=ab(8);I:{if(d){Uh(c,b,d-b|0);break I}Qd(c)}f=Ma-4112|0;Ma=f;d=v[c+4>>2];b=w[d|0];J:{if((b|0)==47){break J}K:{if((b|0)==126){b=w[d+1|0];if((b|0)==47|v[c>>2]==1){break K}e=d+1|0;d=e;while(1){if(!(!b|(b|0)==47)){b=w[d+1|0];d=d+1|0;continue}break}b=d-e|0;d=(b|0)<4096?b:4096;e=Sb(f,e,d);t[d+f|0]=0;d=ja(e|0)|0;if(!d){break J}yk(c,0,b+1|0);wz(c,v[d+20>>2]);break J}if(!eu(f,4097)){break J}d=c;b=v[d>>2];if((b|0)==2147483647){jh(332473);b=v[c>>2]}pg(d,b+1|0);e=v[c>>2];L:{if((e|0)<0){break L}b=e+1|0;d=b&3;if(d){while(1){h=v[c+4>>2];m=h+b|0;b=b-1|0;t[m|0]=w[h+b|0];d=d-1|0;if(d){continue}break}}if(e>>>0<3){break L}while(1){d=v[c+4>>2];m=d+b|0;e=d;d=b-1|0;t[m|0]=w[e+d|0];e=d;d=v[c+4>>2];m=e+d|0;e=d;d=b-2|0;t[m|0]=w[e+d|0];e=d;d=v[c+4>>2];m=e+d|0;e=d;d=b-3|0;t[m|0]=w[e+d|0];e=d;d=v[c+4>>2];b=b-4|0;t[e+d|0]=w[d+b|0];if((b|0)>0){continue}break}}t[v[c+4>>2]]=47;v[c>>2]=v[c>>2]+1;wz(c,f);break J}yk(c,0,1);m=aH();n=m;e=v[n>>2];d=c;b=v[d>>2];if((2147483647-e|0)<(b|0)){jh(332473);b=v[c>>2]}pg(d,b+e|0);d=v[c>>2];M:{if((d|0)<0){break M}b=d;h=b+1&3;if(h){while(1){o=v[c+4>>2];t[o+(d+e|0)|0]=w[d+o|0];d=d-1|0;h=h-1|0;if(h){continue}break}}if(b>>>0<3){break M}while(1){b=v[c+4>>2];t[b+(d+e|0)|0]=w[b+d|0];h=v[c+4>>2];b=d-1|0;t[h+(b+e|0)|0]=w[b+h|0];h=v[c+4>>2];b=d-2|0;t[h+(b+e|0)|0]=w[b+h|0];h=v[c+4>>2];b=d-3|0;t[h+(b+e|0)|0]=w[b+h|0];d=d-4|0;if((b|0)>0){continue}break}}cb(v[c+4>>2],v[n+4>>2],e);v[c>>2]=e+v[c>>2];$a(Bb(m))}Ma=f+4112|0;v[g+56>>2]=c;if(w[v[c+4>>2]]==47){wz(c,225632);break H}wz(c,326178);break H}b=ab(8);Rb(b,326178);v[g+56>>2]=b}ib(v[k+56>>2],303511,l,0);ib(v[k+56>>2],227576,i,0);ib(v[k+56>>2],236577,j,0);ib(v[k+56>>2],255493,p,0);r=k+32|0;x=g,y=!v[ib(v[k+56>>2],272412,r,0)>>2]&v[k+40>>2]!=0,v[x+128>>2]=y;bb(r);b=v[g>>2];o=0;h=Ma-112|0;Ma=h;v[h+96>>2]=13;v[h+80>>2]=13;v[h+64>>2]=13;v[h+48>>2]=13;v[h+32>>2]=13;v[h+16>>2]=13;v[h>>2]=13;N:{O:{P:{if(v[p>>2]==7){l=ab(48);v[l>>2]=b;v[l+8>>2]=13;ee(p,l+8|0);v[l+24>>2]=0;b=ab(16);hc(b);v[l+28>>2]=b;b=ab(16);hc(b);v[l+36>>2]=0;v[l+40>>2]=0;v[l+32>>2]=b;Q:{if(v[ib(v[p+8>>2],313167,h+80|0,0)>>2]==5){break Q}n=Ma-16|0;Ma=n;e=Ma-4112|0;Ma=e;c=ab(8);d=Qd(c);R:{S:{T:{U:{switch(v[h+80>>2]-6|0){case 0:i=1;b=v[h+88>>2];if(v[b+12>>2]>1){break T}c=d;break R;case 2:break U;default:break S}}b=v[h+88>>2];Qa[v[v[b>>2]+20>>2]](b);b=v[h+88>>2];b=Qa[v[v[b>>2]+40>>2]](b,e+16|0,4096)|0;c=d;if((b|0)<1){break R}while(1){c=e+16|0;Wj(d,c,b);b=v[h+88>>2];b=Qa[v[v[b>>2]+40>>2]](b,c,4096)|0;if((b|0)>0){continue}break}c=d;break R}while(1){v[e>>2]=13;if(v[ub(b,i,e,0)>>2]!=8){fb(1,-1,278690,0);bb(e);Bb(d);$a(c);c=0;break R}b=v[e+8>>2];Qa[v[v[b>>2]+20>>2]](b);b=v[e+8>>2];b=Qa[v[v[b>>2]+40>>2]](b,e+16|0,4096)|0;if((b|0)>=1){while(1){f=e+16|0;Wj(d,f,b);b=v[e+8>>2];b=Qa[v[v[b>>2]+40>>2]](b,f,4096)|0;if((b|0)>0){continue}break}}bb(e);i=i+2|0;b=v[h+88>>2];if((i|0)>2]){continue}break}c=d;break R}fb(1,-1,278793,0);c=0}Ma=e+4112|0;f=c;V:{if(!c){break V}b=v[f+4>>2];c=v[f>>2];d=ab(40);v[d+4>>2]=0;v[d+8>>2]=0;v[d+28>>2]=0;v[d+20>>2]=0;v[d+24>>2]=0;v[d>>2]=959316;v[d+12>>2]=0;v[d+16>>2]=0;v[d+32>>2]=b;e=b+c|0;v[d+36>>2]=e;W:{if((c|0)<1){break W}while(1){c=w[b|0]-9|0;if(c>>>0>23|!(1<>2]=b;if((b|0)!=(e|0)){continue}break}}e=d;c=v[d+36>>2];b=v[d+32>>2];X:{if((c-b|0)<5){break X}if(Kb(b,258602,5)){break X}b=b+5|0;v[e+32>>2]=b;Y:{if(b>>>0>=c>>>0){break Y}while(1){j=w[b|0]-9|0;if(j>>>0>23|!(1<>2]=b;if((b|0)!=(c|0)){continue}break}b=c}Z:{_:{if((c-b|0)<7){break _}if(Kb(b,247678,7)){break _}b=b+7|0;v[e+32>>2]=b;$:{if(b>>>0>=c>>>0){break $}while(1){j=w[b|0]-9|0;if(j>>>0>23|!(1<>2]=b;if((b|0)!=(c|0)){continue}break}b=c}if(w[b|0]!=61|(c-b|0)<1){break _}b=b+1|0;v[e+32>>2]=b;aa:{if(b>>>0>=c>>>0){break aa}while(1){j=w[b|0]-9|0;if(j>>>0>23|!(1<>2]=b;if((b|0)!=(c|0)){continue}break}}j=UF(e);break Z}j=Rb(ab(8),326168)}b=v[e+32>>2];c=v[e+36>>2];ba:{if(b>>>0>=c>>>0){break ba}while(1){i=w[b|0]-9|0;if(i>>>0>23|!(1<>2]=b;if((b|0)!=(c|0)){continue}break}b=c}m=0;ca:{if((c-b|0)<8){break ca}if(Kb(b,272537,8)){break ca}b=b+8|0;v[e+32>>2]=b;da:{if(b>>>0>=c>>>0){break da}while(1){i=w[b|0]-9|0;if(i>>>0>23|!(1<>2]=b;if((b|0)!=(c|0)){continue}break}b=c}if(w[b|0]!=61|(c-b|0)<1){break ca}b=b+1|0;v[e+32>>2]=b;ea:{if(b>>>0>=c>>>0){break ea}while(1){i=w[b|0]-9|0;if(i>>>0>23|!(1<>2]=b;if((b|0)!=(c|0)){continue}break}}m=UF(e);b=v[e+32>>2];c=v[e+36>>2]}fa:{if(b>>>0>=c>>>0){break fa}while(1){i=w[b|0]-9|0;if(i>>>0>23|!(1<>2]=b;if((b|0)!=(c|0)){continue}break}b=c}i=0;ga:{if((c-b|0)<10){break ga}if(Kb(b,279426,10)){break ga}b=b+10|0;v[e+32>>2]=b;ha:{if(b>>>0>=c>>>0){break ha}while(1){q=w[b|0]-9|0;if(q>>>0>23|!(1<>2]=b;if((b|0)!=(c|0)){continue}break}b=c}if(w[b|0]!=61|(c-b|0)<1){break ga}b=b+1|0;v[e+32>>2]=b;ia:{if(b>>>0>=c>>>0){break ia}while(1){i=w[b|0]-9|0;if(i>>>0>23|!(1<>2]=b;if((b|0)!=(c|0)){continue}break}}b=UF(e);c=Ec(b,236287);$a(Bb(b));i=!c;b=v[e+32>>2];c=v[e+36>>2]}ja:{if(b>>>0>=c>>>0){break ja}while(1){q=w[b|0]-9|0;if(q>>>0>23|!(1<>2]=b;if((b|0)!=(c|0)){continue}break}b=c}ka:{if((c-b|0)<2){break ka}if(Kb(b,313348,2)){break ka}v[e+32>>2]=b+2}b=ab(32);t[b+28|0]=i;v[b+24>>2]=m;v[b+20>>2]=j;v[b>>2]=959896;v[b+4>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b+16>>2]=0;Qa[v[v[d>>2]+48>>2]](d,b)}VF(e,e);m=0;c=v[e+36>>2];b=v[d+32>>2];la:{if((c-b|0)<9){break la}if(Kb(b,311999,9)){break la}b=b+9|0;v[d+32>>2]=b;ma:{if(b>>>0>=c>>>0){break ma}while(1){j=w[b|0]-9|0;if(j>>>0>23|!(1<>2]=b;if((b|0)!=(c|0)){continue}break}}i=ab(8);j=Qd(i);b=v[d+32>>2];c=v[d+36>>2];na:{if(b>>>0>=c>>>0|!w[w[b|0]+959376|0]){break na}v[d+32>>2]=b+1;$b(j,t[b|0]);b=v[d+32>>2];c=v[d+36>>2];if(b>>>0>=c>>>0|!w[w[b|0]+959632|0]){break na}while(1){v[d+32>>2]=b+1;$b(j,t[b|0]);b=v[d+32>>2];c=v[d+36>>2];if(b>>>0>=c>>>0){break na}if(w[w[b|0]+959632|0]){continue}break}}oa:{if(b>>>0>=c>>>0){break oa}while(1){j=w[b|0]-9|0;if(j>>>0>23|!(1<>2]=b;if((b|0)!=(c|0)){continue}break}b=c}pa:{if(b>>>0>=c>>>0){break pa}while(1){j=b;b=b+1|0;v[d+32>>2]=b;j=w[j|0];qa:{ra:{sa:{ta:{ua:{va:{wa:{switch(m|0){case 0:switch(j-34|0){case 28:break pa;case 0:case 5:break ta;case 1:case 2:case 3:case 4:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:break ua;default:break va};case 1:m=(j|0)!=0;break qa;case 2:xa:{switch(j-34|0){case 1:case 2:case 3:case 4:break ra;case 0:case 5:break xa;default:break sa}}m=3;break qa;case 3:break wa;default:break qa}}m=j?3:2;break qa}m=2;if((j|0)==91){break qa}}m=0;break qa}m=1;break qa}m=0;if((j|0)==93){break qa}}m=2}if(b>>>0>>0){continue}break}}b=ab(24);v[b+20>>2]=i;v[b>>2]=959960;v[b+4>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b+16>>2]=0;Qa[v[v[e>>2]+48>>2]](e,b)}VF(d,d);b=v[d+32>>2];if(!((v[d+36>>2]-b|0)<1|w[b|0]!=60)){_T(d,d)}VF(d,d);if(!v[d+28>>2]){Qa[v[v[d>>2]+4>>2]](d);d=0}$a(Bb(f));if(!d){fb(1,-1,255458,0);break V}o=ab(8);v[o>>2]=959212;b=ab(16);Wg(b,0);v[o+4>>2]=b;b=v[d+28>>2];if(b){e=ab(16);c=Wg(e,1);b=Sh(b,255477);if(b){YF(o,b,0,c)}b=Sh(v[d+28>>2],234582);if(b){b=Sh(b,303539)}else{b=0}f=Sh(v[d+28>>2],276675);if(f){fU(o,f,0,0,0,0,0,b,c)}b=n+12|0;Bj(c,b);if(uf(c,b,n+8|0,n+4|0)){while(1){b=v[n+4>>2];if(b){Bb(b);$a(b)}if(uf(c,n+12|0,n+8|0,n+4|0)){continue}break}}Vg(c);$a(e)}Qa[v[v[d>>2]+4>>2]](d)}Ma=n+16|0;v[l+36>>2]=o;if(v[g+128>>2]){break Q}v[l+40>>2]=1}bb(h+80|0);if(!v[ib(v[p+8>>2],236815,h+16|0,0)>>2]){v[l+24>>2]=v[h+24>>2]}b=h+16|0;bb(b);pW(l,g);d=0;if(v[ib(v[p+8>>2],236864,b,0)>>2]!=6){break P}c=v[h+24>>2];if(v[c+12>>2]>0){while(1){Nf(c,d,h);vz(l,h);bb(h);d=d+1|0;c=v[h+24>>2];if((d|0)>2]){continue}break}}bb(h+16|0);d=1;if(v[g+20>>2]<1){break N}while(1){c=d;b=oq(g,d);ya:{if(v[ue(b+16|0,v[b+4>>2],h- -64|0,0)>>2]!=6){break ya}b=0;d=v[h+72>>2];if(v[d+12>>2]<1){break ya}while(1){za:{if(v[Nf(d,b,h+48|0)>>2]!=9){break za}Aa:{Ba:{d=v[l+32>>2];e=v[d+8>>2];if((e|0)<1){d=0;break Ba}j=v[h+60>>2];i=v[h+56>>2];m=v[d>>2];d=0;while(1){f=v[m+(d<<2)>>2];if(!(v[f+8>>2]!=9|(i|0)!=v[f+16>>2])&(j|0)==v[f+20>>2]){break Ba}d=d+1|0;if((e|0)!=(d|0)){continue}break}break Aa}if((d|0)!=(e|0)){break za}}ue(h+48|0,v[v[l>>2]+24>>2],h+32|0,0);if(v[h+32>>2]==7){d=ib(v[h+40>>2],278450,h+16|0,0);Ca:{if(v[d>>2]!=4){break Ca}if(hb(v[d+8>>2],233437)){break Ca}vz(l,h+48|0)}bb(h+16|0)}bb(h+32|0)}bb(h+48|0);b=b+1|0;d=v[h+72>>2];if((b|0)>2]){continue}break}}d=c+1|0;bb(h- -64|0);if((c|0)>2]){continue}break}break N}c=h+96|0;hf(c,v[b+24>>2]);l=ab(48);v[l>>2]=b;v[l+8>>2]=13;ee(c,l+8|0);v[l+24>>2]=0;b=ab(16);hc(b);v[l+28>>2]=b;b=ab(16);hc(b);v[l+36>>2]=0;v[l+40>>2]=0;v[l+32>>2]=b;bb(c);pW(l,g);d=1;if(v[g+20>>2]>=1){while(1){b=d;c=oq(g,b);Da:{if(v[ue(c+16|0,v[c+4>>2],h- -64|0,0)>>2]!=6){break Da}d=0;c=v[h+72>>2];if(v[c+12>>2]<1){break Da}while(1){if(v[Nf(c,d,h+48|0)>>2]==9){ue(h+48|0,v[v[l>>2]+24>>2],h+32|0,0);if(v[h+32>>2]==7){c=ib(v[h+40>>2],278450,h+16|0,0);Ea:{if(v[c>>2]!=4){break Ea}if(hb(v[c+8>>2],233437)){break Ea}vz(l,h+48|0)}bb(h+16|0)}bb(h+32|0)}bb(h+48|0);d=d+1|0;c=v[h+72>>2];if((d|0)>2]){continue}break}}d=b+1|0;bb(h- -64|0);if((b|0)>2]){continue}break}}if(v[v[l+32>>2]+8>>2]){break N}break O}if(v[h+16>>2]!=5){fb(1,-1,278615,0)}bb(h+16|0)}oW(l);$a(l);l=0}Ma=h+112|0;v[g+132>>2]=l;ib(v[k+56>>2],236652,u,0);c=v[k+56>>2];b=Ma-32|0;Ma=b;v[b+16>>2]=13;v[b>>2]=13;if(v[ib(c,236601,b+16|0,0)>>2]==7){if(v[ib(v[b+24>>2],236627,b,0)>>2]==7){dW(g,b)}bb(b)}d=b+16|0;bb(d);e=eb(si(v[v[g+4>>2]+16>>2]+1|0),0,v[v[g+4>>2]+16>>2]+1|0);cW(g,Yd(c,236742,d),e);bb(d);tb(e);Ma=b+32|0;Yd(v[k+56>>2],236797,g+160|0);Fa:{if(v[ib(v[k+56>>2],235724,r,0)>>2]!=7){break Fa}b=ab(16);hc(b);v[g+156>>2]=b;fW(g,k+32|0);b=v[g+156>>2];c=v[b+8>>2];if(!c){$a(mc(b));v[g+156>>2]=0;break Fa}e=v[b>>2];b=v[e>>2];Ga:{if((c|0)<2){break Ga}d=c-1|0;f=d&3;Ha:{if(c-2>>>0<3){d=1;break Ha}c=d&-4;d=1;while(1){m=b;b=e+(d<<2)|0;j=v[b>>2];v[m+4>>2]=v[j>>2]-1;m=j;j=v[b+4>>2];v[m+4>>2]=v[j>>2]-1;m=j;j=v[b+8>>2];v[m+4>>2]=v[j>>2]-1;b=v[b+12>>2];v[j+4>>2]=v[b>>2]-1;d=d+4|0;c=c-4|0;if(c){continue}break}}if(!f){break Ga}c=b;while(1){b=v[e+(d<<2)>>2];v[c+4>>2]=v[b>>2]-1;d=d+1|0;c=b;f=f-1|0;if(f){continue}break}}v[b+4>>2]=v[g+20>>2]}bb(k+32|0);bb(k+48|0);break C}bb(k+48|0);v[g+176>>2]=0;v[g+40>>2]=5;v[g+24>>2]=5}Ma=k- -64|0;v[a+28>>2]=s;b=1;if(v[g+176>>2]){break g}fb(1,-1,271767,0);v[a+44>>2]=2;b=v[a+28>>2];if(b){$a(bW(b))}v[a+28>>2]=0}d=v[a+24>>2];if(!d){break h}}$a(aU(d))}v[a+24>>2]=0;b=0}return b}function uS(a,b){var 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,x=0,z=0;k=Ma-32|0;Ma=k;g=a;f=Ma-32|0;Ma=f;Qu(f+24|0,b,287152);c=-1;a:{b:{d=v[f+24>>2];c:{if(!d){break c}if(v[d+8>>2]!=4){break a}if(v[d+44>>2]!=1){break c}tf(f+8|0,d,0);c=v[f+8>>2];uk(f+16|0,c);d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(!d){d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}}c=v[f+16>>2];c=bs(v[(c?c+12|0:1117e3)>>2],16777215);db(f+16|0);d=v[f+24>>2]}v[f+24>>2]=0;d:{if(!d){break d}h=v[d+4>>2]-1|0;v[d+4>>2]=h;if(h){break d}h=v[d+4>>2];if(!h){v[d+4>>2]=-32767}if(!h){Qa[v[v[d>>2]+4>>2]](d)}}Ma=f+32|0;break b}v[g+8>>2]=c;c=0;f=Ma-48|0;Ma=f;Qu(f+40|0,b,255544);e:{f:{d=v[f+40>>2];g:{if(!d){break g}h:{i:{if(v[d+8>>2]==4){if(v[d+44>>2]!=1){break g}tf(f+8|0,d,0);c=v[f+8>>2];uk(f+32|0,c);d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(!d){d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}}c=-1;if(!Hb(f+32|0,231473,-1)){break i}if(!Hb(f+32|0,283075,-1)){break h}if(!Hb(f+32|0,269355,-1)){c=-2;break h}if(!Hb(f+32|0,279485,-1)){c=-3;break h}if(Hb(f+32|0,269961,-1)){break i}c=-4;break h}break a}c=v[f+32>>2];if(!c|w[v[c+12>>2]]!=100){break f}We(f+8|0,f+32|0,1,v[c+8>>2]);c=v[f+8>>2];if(c){c=Qa[v[v[c>>2]+40>>2]](c)|0}else{c=0}db(f+8|0)}db(f+32|0);d=v[f+40>>2]}v[f+40>>2]=0;j:{if(!d){break j}h=v[d+4>>2]-1|0;v[d+4>>2]=h;if(h){break j}h=v[d+4>>2];if(!h){v[d+4>>2]=-32767}if(!h){Qa[v[v[d>>2]+4>>2]](d)}}Ma=f+48|0;break e}lb(mb(f+8|0,255530,241416,933,334204));L()}v[g+12>>2]=c;c=0;g=Ma-32|0;Ma=g;Qu(g+24|0,b,283443);d=v[g+24>>2];k:{if(!d){break k}l:{if(v[d+8>>2]==4){if(v[d+44>>2]!=1){break k}tf(g+8|0,d,0);d=v[g+8>>2];uk(g+16|0,d);f=v[d+4>>2]-1|0;v[d+4>>2]=f;if(!f){f=v[d+4>>2];if(!f){v[d+4>>2]=-32767}if(!f){Qa[v[v[d>>2]+4>>2]](d)}}if(!Hb(g+16|0,231473,-1)){break l}if(!Hb(g+16|0,238239,-1)){c=1;break l}if(!Hb(g+16|0,277111,-1)){c=2;break l}if(!Hb(g+16|0,263366,-1)){c=3;break l}c=!Hb(g+16|0,224822,-1)<<2;break l}break a}db(g+16|0);d=v[g+24>>2]}v[g+24>>2]=0;m:{if(!d){break m}f=v[d+4>>2]-1|0;v[d+4>>2]=f;if(f){break m}f=v[d+4>>2];if(!f){v[d+4>>2]=-32767}if(!f){Qa[v[v[d>>2]+4>>2]](d)}}Ma=g+32|0;v[a+16>>2]=c;c=0;g=Ma-32|0;Ma=g;Qu(g+24|0,b,248115);d=v[g+24>>2];n:{if(!d){break n}o:{if(v[d+8>>2]==4){if(v[d+44>>2]!=2){break n}tf(g+8|0,d,0);d=v[g+8>>2];uk(g+16|0,d);f=v[d+4>>2]-1|0;v[d+4>>2]=f;if(!f){f=v[d+4>>2];if(!f){v[d+4>>2]=-32767}if(!f){Qa[v[v[d>>2]+4>>2]](d)}}if(!Hb(g+16|0,231473,-1)){break o}if(!Hb(g+16|0,232771,-1)){c=1;break o}if(!Hb(g+16|0,239168,-1)){c=2;break o}c=Hb(g+16|0,232061,-1)?0:3;break o}break a}db(g+16|0);d=v[g+24>>2]}v[g+24>>2]=0;p:{if(!d){break p}f=v[d+4>>2]-1|0;v[d+4>>2]=f;if(f){break p}f=v[d+4>>2];if(!f){v[d+4>>2]=-32767}if(!f){Qa[v[v[d>>2]+4>>2]](d)}}Ma=g+32|0;v[a+20>>2]=c;c=0;g=Ma-32|0;Ma=g;Qu(g+24|0,b,248115);d=v[g+24>>2];q:{if(!d){break q}r:{if(v[d+8>>2]==4){if(v[d+44>>2]!=2){break q}tf(g+8|0,d,1);d=v[g+8>>2];uk(g+16|0,d);f=v[d+4>>2]-1|0;v[d+4>>2]=f;if(!f){f=v[d+4>>2];if(!f){v[d+4>>2]=-32767}if(!f){Qa[v[v[d>>2]+4>>2]](d)}}if(!Hb(g+16|0,231473,-1)){break r}if(!Hb(g+16|0,239168,-1)){c=2;break r}if(!Hb(g+16|0,242293,-1)){c=4;break r}c=Hb(g+16|0,255514,-1)?0:5;break r}break a}db(g+16|0);d=v[g+24>>2]}v[g+24>>2]=0;s:{if(!d){break s}f=v[d+4>>2]-1|0;v[d+4>>2]=f;if(f){break s}f=v[d+4>>2];if(!f){v[d+4>>2]=-32767}if(!f){Qa[v[v[d>>2]+4>>2]](d)}}Ma=g+32|0;v[a+24>>2]=c;e=Ma-192|0;Ma=e;v[k>>2]=0;v[k+4>>2]=0;v[k+8>>2]=0;v[k+12>>2]=0;v[k>>2]=970612;v[k+4>>2]=0;v[k+8>>2]=0;v[k+12>>2]=0;n=k;r=Lf(e+152|0,b);t:{u:{v:{w:{x:{y:{z:{o=v[e+160>>2];if(o){while(1){m=v[o+8>>2];if(v[m+8>>2]==4){c=e+144|0;cj(c,m);if(!Hb(c,977348,-1)){v[e+136>>2]=0;v[e+140>>2]=v[279250];s=Oc(e+128|0,977454);tf(e+168|0,m,0);c=v[e+168>>2];A:{if(!c){break A}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break A}d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}}B:{C:{D:{E:{F:{G:{H:{I:{if(v[c+8>>2]==4){d=e+168|0;cj(d,c);g=Hb(d,977450,-1);db(d);if(g){break H}tf(e+48|0,c,0);g=v[e+48>>2];wy(e+168|0,g);d=v[e+168>>2];J:{if(d){Qa[v[v[d>>2]+28>>2]](e+72|0,d,1);break J}v[e+72>>2]=0}jb(e+136|0,e+72|0);d=v[e+72>>2];v[e+72>>2]=0;K:{if(!d){break K}f=v[d+4>>2]-1|0;v[d+4>>2]=f;if(f){break K}f=v[d+4>>2];if(!f){v[d+4>>2]=-32767}if(!f){Qa[v[v[d>>2]+4>>2]](d)}}d=v[e+136>>2];v[e+140>>2]=v[(d?d+12|0:1117e3)>>2];db(e+168|0);d=v[g+4>>2]-1|0;v[g+4>>2]=d;if(!d){d=v[g+4>>2];if(!d){v[g+4>>2]=-32767}if(!d){Qa[v[v[g>>2]+4>>2]](g)}}tf(e+48|0,c,1);d=v[e+48>>2];wy(e+168|0,d);c=v[e+168>>2];L:{if(c){Qa[v[v[c>>2]+28>>2]](e+72|0,c,1);break L}v[e+72>>2]=0}jb(e+128|0,e+72|0);c=v[e+72>>2];v[e+72>>2]=0;M:{if(!c){break M}g=v[c+4>>2]-1|0;v[c+4>>2]=g;if(g){break M}g=v[c+4>>2];if(!g){v[c+4>>2]=-32767}if(!g){Qa[v[v[c>>2]+4>>2]](c)}}c=v[e+128>>2];v[e+132>>2]=v[(c?c+12|0:1117e3)>>2];db(e+168|0);c=v[d+4>>2]-1|0;v[d+4>>2]=c;if(c){break I}c=v[d+4>>2];if(!c){v[d+4>>2]=-32767}if(!c){Qa[v[v[d>>2]+4>>2]](d)}break I}wy(e+168|0,c);c=v[e+168>>2];N:{if(c){Qa[v[v[c>>2]+28>>2]](e+72|0,c,1);break N}v[e+72>>2]=0}jb(e+136|0,e+72|0);c=v[e+72>>2];v[e+72>>2]=0;O:{if(!c){break O}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break O}d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}}c=v[e+136>>2];v[e+140>>2]=v[(c?c+12|0:1117e3)>>2];db(e+168|0)}tf(e+168|0,m,1);c=v[e+168>>2];wy(e+120|0,c);d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(!d){d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}}tf(e+168|0,m,2);c=v[e+168>>2];P:{if(!c){break P}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break P}d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}}v[e+112>>2]=0;d=0;if(v[c+8>>2]!=4){break C}d=e+168|0;cj(d,c);g=Hb(d,977356,-1);db(d);if(!g){if(v[c+8>>2]!=4){break y}if(v[c+44>>2]!=4){break D}tf(e+72|0,c,0);d=v[e+72>>2];if(v[d+8>>2]!=1){break z}h=v[d+20>>2];tf(e+48|0,c,1);f=v[e+48>>2];if(v[f+8>>2]!=1){break x}i=v[f+20>>2];tf(e+104|0,c,2);g=v[e+104>>2];if(v[g+8>>2]!=1){break w}l=v[g+20>>2];tf(e+96|0,c,3);c=v[e+96>>2];if(v[c+8>>2]!=1){break v}j=v[c+20>>2];v[e+172>>2]=i;v[e+180>>2]=i+j;v[e+168>>2]=h;v[e+176>>2]=h+l;h=v[c+4>>2]-1|0;v[c+4>>2]=h;if(!h){h=v[c+4>>2];if(!h){v[c+4>>2]=-32767}if(!h){Qa[v[v[c>>2]+4>>2]](c)}}c=v[g+4>>2]-1|0;v[g+4>>2]=c;if(!c){c=v[g+4>>2];if(!c){v[g+4>>2]=-32767}if(!c){Qa[v[v[g>>2]+4>>2]](g)}}c=v[f+4>>2]-1|0;v[f+4>>2]=c;if(!c){c=v[f+4>>2];if(!c){v[f+4>>2]=-32767}if(!c){Qa[v[v[f>>2]+4>>2]](f)}}c=v[d+4>>2]-1|0;v[d+4>>2]=c;if(!c){c=v[d+4>>2];if(!c){v[d+4>>2]=-32767}if(!c){Qa[v[v[d>>2]+4>>2]](d)}}c=hR(ab(108),e+168|0);v[e+72>>2]=0;qb(e+72|0,c);qb(e+112|0,v[e+72>>2]);c=v[e+72>>2];v[e+72>>2]=0;if(!c){break D}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break D}d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}break D}d=e+168|0;cj(d,c);g=Hb(d,977361,-1);db(d);if(!g){if(v[c+8>>2]!=4){break y}g=v[c+44>>2];if(g&1){break D}d=0;h=(g|0)/2|0;f=h-1|0;i=io(e+72|0,971392,f);l=io(e+48|0,971392,f);if((g|0)<=1){break E}while(1){g=d<<1;tf(e+104|0,c,g);f=v[e+104>>2];if(v[f+8>>2]!=1){break x}if(v[e+92>>2]<(d|0)|v[e+88>>2]>(d|0)){break u}v[v[e+76>>2]+(d-v[e+80>>2]<<2)>>2]=v[f+20>>2];j=v[f+4>>2]-1|0;v[f+4>>2]=j;if(!j){j=v[f+4>>2];if(!j){v[f+4>>2]=-32767}if(!j){Qa[v[v[f>>2]+4>>2]](f)}}tf(e+104|0,c,g|1);f=v[e+104>>2];if(v[f+8>>2]!=1){break x}if(v[e+68>>2]<(d|0)|v[e+64>>2]>(d|0)){break u}v[v[e+52>>2]+(d-v[e+56>>2]<<2)>>2]=v[f+20>>2];g=v[f+4>>2]-1|0;v[f+4>>2]=g;if(!g){g=v[f+4>>2];if(!g){v[f+4>>2]=-32767}if(!g){Qa[v[v[f>>2]+4>>2]](f)}}d=d+1|0;if((h|0)!=(d|0)){continue}break}break E}d=e+168|0;cj(d,c);g=Hb(d,977366,-1);db(d);if(!g){if(v[c+8>>2]!=4){break y}if(v[c+44>>2]!=4){break D}tf(e+72|0,c,0);d=v[e+72>>2];if(v[d+8>>2]!=1){break z}h=v[d+20>>2];tf(e+48|0,c,1);f=v[e+48>>2];if(v[f+8>>2]!=1){break x}i=v[f+20>>2];tf(e+104|0,c,2);g=v[e+104>>2];if(v[g+8>>2]!=1){break w}l=v[g+20>>2];tf(e+96|0,c,3);c=v[e+96>>2];if(v[c+8>>2]!=1){break v}j=v[c+20>>2];v[e+172>>2]=i;v[e+180>>2]=i+j;v[e+168>>2]=h;v[e+176>>2]=h+l;h=v[c+4>>2]-1|0;v[c+4>>2]=h;if(!h){h=v[c+4>>2];if(!h){v[c+4>>2]=-32767}if(!h){Qa[v[v[c>>2]+4>>2]](c)}}c=v[g+4>>2]-1|0;v[g+4>>2]=c;if(!c){c=v[g+4>>2];if(!c){v[g+4>>2]=-32767}if(!c){Qa[v[v[g>>2]+4>>2]](g)}}c=v[f+4>>2]-1|0;v[f+4>>2]=c;if(!c){c=v[f+4>>2];if(!c){v[f+4>>2]=-32767}if(!c){Qa[v[v[f>>2]+4>>2]](f)}}c=v[d+4>>2]-1|0;v[d+4>>2]=c;if(!c){c=v[d+4>>2];if(!c){v[d+4>>2]=-32767}if(!c){Qa[v[v[d>>2]+4>>2]](d)}}j=ab(140);v[j+8>>2]=0;v[j>>2]=977532;v[j+4>>2]=0;v[j+12>>2]=v[279250];Oc(j+16|0,977454);v[j+24>>2]=0;c=v[279250];t[j+88|0]=0;v[j+68>>2]=1;u[j+64>>1]=0;v[j+60>>2]=0;u[j+56>>1]=0;v[j+48>>2]=-1;v[j+52>>2]=50;v[j+40>>2]=255;v[j+44>>2]=1;t[j+36|0]=0;v[j+32>>2]=0;v[j+28>>2]=c;v[j>>2]=978016;g=v[e+168>>2];v[j+124>>2]=g;h=v[e+172>>2];v[j+128>>2]=h;i=v[e+176>>2];v[j+132>>2]=i;c=v[e+180>>2];d=(i-g|0)/2|0;v[j+100>>2]=d;v[j+136>>2]=c;f=(c-h|0)/2|0;v[j+104>>2]=f;g=(g+i|0)/2|0;h=(c+h|0)/2|0;Q:{if((d|0)>(f|0)){c=g;p=K(+(B(d,d)-B(f,f)|0));R:{if(D(p)<2147483648){l=~~p;break R}l=-2147483648}i=c-l|0;g=g+l|0;c=f;l=h;break Q}p=K(+(B(f,f)-B(d,d)|0));S:{if(D(p)<2147483648){q=~~p;break S}q=-2147483648}l=q+h|0;c=d;d=f;i=g;h=h-q|0}v[j+120>>2]=h;v[j+116>>2]=i;v[j+108>>2]=g;v[j+92>>2]=d;v[j+96>>2]=c;v[j+112>>2]=l;v[e+72>>2]=0;qb(e+72|0,j);qb(e+112|0,v[e+72>>2]);c=v[e+72>>2];v[e+72>>2]=0;if(!c){break D}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break D}d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}break D}d=e+168|0;cj(d,c);g=Hb(d,977460,-1);db(d);if(!g){if(v[c+8>>2]!=4){break y}if(v[c+44>>2]!=4){break D}tf(e+72|0,c,0);d=v[e+72>>2];if(v[d+8>>2]!=1){break z}h=v[d+20>>2];tf(e+48|0,c,1);f=v[e+48>>2];if(v[f+8>>2]!=1){break x}i=v[f+20>>2];tf(e+104|0,c,2);g=v[e+104>>2];if(v[g+8>>2]!=1){break w}l=v[g+20>>2];tf(e+96|0,c,3);c=v[e+96>>2];if(v[c+8>>2]!=1){break v}j=v[c+20>>2];v[e+172>>2]=i;v[e+180>>2]=i+j;v[e+168>>2]=h;v[e+176>>2]=h+l;h=v[c+4>>2]-1|0;v[c+4>>2]=h;if(!h){h=v[c+4>>2];if(!h){v[c+4>>2]=-32767}if(!h){Qa[v[v[c>>2]+4>>2]](c)}}c=v[g+4>>2]-1|0;v[g+4>>2]=c;if(!c){c=v[g+4>>2];if(!c){v[g+4>>2]=-32767}if(!c){Qa[v[v[g>>2]+4>>2]](g)}}c=v[f+4>>2]-1|0;v[f+4>>2]=c;if(!c){c=v[f+4>>2];if(!c){v[f+4>>2]=-32767}if(!c){Qa[v[v[f>>2]+4>>2]](f)}}c=v[d+4>>2]-1|0;v[d+4>>2]=c;if(!c){c=v[d+4>>2];if(!c){v[d+4>>2]=-32767}if(!c){Qa[v[v[d>>2]+4>>2]](d)}}c=hR(ab(108),e+168|0);v[e+72>>2]=0;qb(e+72|0,c);c=v[e+72>>2];v[c+52>>2]=100;t[c+56|0]=1;qb(e+112|0,c);c=v[e+72>>2];v[e+72>>2]=0;if(!c){break D}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break D}d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}break D}d=e+168|0;cj(d,c);g=Hb(d,977465,-1);db(d);if(g){break D}if(v[c+8>>2]!=4){break y}if(v[c+44>>2]!=4){break D}g=io(e+72|0,971392,1);f=io(e+48|0,971392,1);tf(e+104|0,c,0);T:{d=v[e+104>>2];if(v[d+8>>2]==1){if(v[e+92>>2]<=-1|v[e+88>>2]>0){break u}v[v[e+76>>2]-(v[e+80>>2]<<2)>>2]=v[d+20>>2];h=v[d+4>>2]-1|0;v[d+4>>2]=h;if(!h){h=v[d+4>>2];if(!h){v[d+4>>2]=-32767}if(!h){Qa[v[v[d>>2]+4>>2]](d)}}tf(e+104|0,c,1);d=v[e+104>>2];if(v[d+8>>2]!=1){break z}if(v[e+68>>2]<=-1|v[e+64>>2]>0){break u}v[v[e+52>>2]-(v[e+56>>2]<<2)>>2]=v[d+20>>2];h=v[d+4>>2]-1|0;v[d+4>>2]=h;if(!h){h=v[d+4>>2];if(!h){v[d+4>>2]=-32767}if(!h){Qa[v[v[d>>2]+4>>2]](d)}}tf(e+104|0,c,2);d=v[e+104>>2];if(v[d+8>>2]==1){break T}}break z}if(v[e+92>>2]<1|v[e+88>>2]>1){break u}v[v[e+76>>2]+(1-v[e+80>>2]<<2)>>2]=v[d+20>>2];h=v[d+4>>2]-1|0;v[d+4>>2]=h;if(!h){h=v[d+4>>2];if(!h){v[d+4>>2]=-32767}if(!h){Qa[v[v[d>>2]+4>>2]](d)}}tf(e+104|0,c,3);d=v[e+104>>2];if(v[d+8>>2]!=1){break z}if(v[e+68>>2]<1|v[e+64>>2]>1){break u}v[v[e+52>>2]+(1-v[e+56>>2]<<2)>>2]=v[d+20>>2];c=v[d+4>>2]-1|0;v[d+4>>2]=c;if(!c){c=v[d+4>>2];if(!c){v[d+4>>2]=-32767}if(!c){Qa[v[v[d>>2]+4>>2]](d)}}c=v[e+56>>2];d=v[e+52>>2];h=v[e+80>>2];i=v[e+76>>2];c=iR(ab(148),i-(h<<2)|0,d-(c<<2)|0,2,1);v[e+168>>2]=0;qb(e+168|0,c);c=v[e+168>>2];t[c+64|0]=1;qb(e+112|0,c);c=v[e+168>>2];v[e+168>>2]=0;if(c){break G}break F}lb(mb(e+168|0,258442,241416,1171,334145));L()}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break F}d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}}xd(f);xd(g);break D}c=v[e+56>>2];d=v[e+52>>2];g=v[e+80>>2];f=v[e+76>>2];c=iR(ab(148),f-(g<<2)|0,d-(c<<2)|0,h,0);v[e+168>>2]=0;qb(e+168|0,c);qb(e+112|0,v[e+168>>2]);c=v[e+168>>2];v[e+168>>2]=0;U:{if(!c){break U}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break U}d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}}xd(l);xd(i)}d=v[e+112>>2]}if(!d){break B}g=d+8|0;c=v[e+136>>2];V:{if(c){Qa[v[v[c>>2]+28>>2]](e+168|0,c,1);break V}v[e+168>>2]=0}jb(g,e+168|0);c=v[e+168>>2];v[e+168>>2]=0;W:{if(!c){break W}g=v[c+4>>2]-1|0;v[c+4>>2]=g;if(g){break W}g=v[c+4>>2];if(!g){v[c+4>>2]=-32767}if(!g){Qa[v[v[c>>2]+4>>2]](c)}}c=v[d+8>>2];v[d+12>>2]=v[(c?c+12|0:1117e3)>>2];d=v[e+112>>2];g=d+16|0;c=v[e+128>>2];X:{if(c){Qa[v[v[c>>2]+28>>2]](e+168|0,c,1);break X}v[e+168>>2]=0}jb(g,e+168|0);c=v[e+168>>2];v[e+168>>2]=0;Y:{if(!c){break Y}g=v[c+4>>2]-1|0;v[c+4>>2]=g;if(g){break Y}g=v[c+4>>2];if(!g){v[c+4>>2]=-32767}if(!g){Qa[v[v[c>>2]+4>>2]](c)}}c=v[d+16>>2];v[d+20>>2]=v[(c?c+12|0:1117e3)>>2];d=v[e+112>>2];g=d+24|0;c=v[e+120>>2];Z:{if(c){Qa[v[v[c>>2]+28>>2]](e+168|0,c,1);break Z}v[e+168>>2]=0}jb(g,e+168|0);c=v[e+168>>2];v[e+168>>2]=0;_:{if(!c){break _}g=v[c+4>>2]-1|0;v[c+4>>2]=g;if(g){break _}g=v[c+4>>2];if(!g){v[c+4>>2]=-32767}if(!g){Qa[v[v[c>>2]+4>>2]](c)}}c=v[d+24>>2];v[d+28>>2]=v[(c?c+12|0:1117e3)>>2];$:{if(v[m+8>>2]==4){h=m+40|0;f=3;while(1){if(v[m+44>>2]<=(f|0)){c=ab(12);v[c>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;f=c;g=v[e+112>>2];if(g){v[g+4>>2]=v[g+4>>2]+1;g=v[e+112>>2]}else{g=0}v[f+8>>2]=g;de(n,c);d=v[e+112>>2];break B}d=v[m+48>>2];c=0;while(1){if(!d){v[e+172>>2]=h;v[e+168>>2]=0;break $}d=v[d>>2];c=c+1|0;if((c|0)!=(f|0)){continue}break}v[e+172>>2]=h;v[e+168>>2]=d;if(!d){break $}c=v[d+8>>2];aa:{if(!c){d=0;break aa}v[c+4>>2]=v[c+4>>2]+1;d=v[d+8>>2];if(!d){break aa}c=v[d+4>>2]-1|0;v[d+4>>2]=c;if(c){break aa}c=v[d+4>>2];if(!c){v[d+4>>2]=-32767}if(!c){Qa[v[v[d>>2]+4>>2]](d)}}if(v[d+8>>2]==4){v[e+168>>2]=0;v[e+172>>2]=v[279250];c=v[d+12>>2];ba:{if(c){Qa[v[v[c>>2]+28>>2]](e+72|0,c,1);break ba}v[e+72>>2]=0}jb(e+168|0,e+72|0);c=v[e+72>>2];v[e+72>>2]=0;ca:{if(!c){break ca}g=v[c+4>>2]-1|0;v[c+4>>2]=g;if(g){break ca}g=v[c+4>>2];if(!g){v[c+4>>2]=-32767}if(!g){Qa[v[v[c>>2]+4>>2]](c)}}c=v[e+168>>2];v[e+172>>2]=v[(c?c+12|0:1117e3)>>2];da:{if(!Hb(e+168|0,977431,-1)){t[v[e+112>>2]+36|0]=1;break da}ea:{fa:{ga:{ha:{ia:{ja:{ka:{if(!Hb(e+168|0,977443,-1)){if(v[d+8>>2]!=4){break a}c=v[d+48>>2];d=d+40|0;v[e+44>>2]=d;v[e+40>>2]=c;if(!c){break ka}c=v[c+8>>2];if(v[c+8>>2]!=3){break da}d=e+72|0;uk(d,c);c=v[e+72>>2];x=v[e+112>>2],z=bs(v[(c?c+12|0:1117e3)>>2],255),v[x+48>>2]=z;db(d);break da}if(!Hb(e+168|0,977470,-1)){if(v[d+8>>2]!=4){break a}c=v[d+48>>2];d=d+40|0;v[e+36>>2]=d;v[e+32>>2]=c;if(!c){break ja}c=v[c+8>>2];if(v[c+8>>2]!=1){break da}v[v[e+112>>2]+52>>2]=v[c+20>>2];break da}if(!Hb(e+168|0,977478,-1)){t[v[e+112>>2]+65|0]=1;break da}if(!Hb(e+168|0,977484,-1)){if(v[d+8>>2]!=4){break a}c=v[d+48>>2];d=d+40|0;v[e+28>>2]=d;v[e+24>>2]=c;if(!c){break ia}c=v[c+8>>2];if(v[c+8>>2]!=1){break da}v[v[e+112>>2]+68>>2]=v[c+20>>2];break da}if(!Hb(e+168|0,977490,-1)){if(v[d+8>>2]!=4){break a}c=v[d+48>>2];d=d+40|0;v[e+20>>2]=d;v[e+16>>2]=c;if(!c){break ha}c=v[c+8>>2];if(v[c+8>>2]!=3){break da}d=e+72|0;uk(d,c);c=v[e+72>>2];x=v[e+112>>2],z=bs(v[(c?c+12|0:1117e3)>>2],255),v[x+60>>2]=z;db(d);break da}if(!Hb(e+168|0,977498,-1)){if(v[d+8>>2]!=4){break a}c=v[d+48>>2];d=d+40|0;v[e+12>>2]=d;v[e+8>>2]=c;if(!c){break ga}c=v[c+8>>2];if(v[c+8>>2]!=3){break da}d=e+72|0;uk(d,c);c=v[e+72>>2];x=v[e+112>>2],z=bs(v[(c?c+12|0:1117e3)>>2],255),v[x+48>>2]=z;db(d);break da}if(!Hb(e+168|0,977506,-1)){if(v[d+8>>2]!=4){break a}c=v[d+48>>2];d=d+40|0;v[e+4>>2]=d;v[e>>2]=c;if(!c){break fa}c=v[c+8>>2];if(v[c+8>>2]!=3){break da}d=e+72|0;uk(d,c);c=v[e+72>>2];x=v[e+112>>2],z=bs(v[(c?c+12|0:1117e3)>>2],255),v[x+60>>2]=z;db(d);break da}if(!Hb(e+168|0,977514,-1)){t[v[e+112>>2]+57|0]=1;break da}c=0;la:{if(!Hb(e+168|0,977371,-1)){break la}c=1;if(!Hb(e+168|0,977376,-1)){break la}c=2;if(!Hb(e+168|0,977380,-1)){break la}c=3;if(!Hb(e+168|0,977387,-1)){break la}c=4;if(!Hb(e+168|0,977397,-1)){break la}c=5;if(!Hb(e+168|0,977408,-1)){break la}if(Hb(e+168|0,977419,-1)){break da}c=6}v[v[e+112>>2]+32>>2]=c;if(v[d+8>>2]!=4){break ea}c=v[d+48>>2];if(!c){break da}while(1){i=v[c+8>>2];g=v[i+8>>2];if((g|0)==3){g=e+72|0;uk(g,i);l=v[e+72>>2];x=v[e+112>>2],z=bs(v[(l?l+12|0:1117e3)>>2],255),v[x+40>>2]=z;db(g);g=v[i+8>>2]}if((g|0)==1){v[v[e+112>>2]+44>>2]=v[i+20>>2]}c=v[c>>2];if(!c){break da}if(v[d+8>>2]==4){continue}break}break a}wd(e+40|0,d);L()}wd(e+32|0,d);L()}wd(e+24|0,d);L()}wd(e+16|0,d);L()}wd(e+8|0,d);L()}wd(e,d);L()}break a}db(e+168|0)}f=f+1|0;if(v[m+8>>2]==4){continue}break}}Tj(m,4);L()}wd(e+168|0,h);L()}v[e+112>>2]=0;ma:{if(!d){break ma}c=v[d+4>>2]-1|0;v[d+4>>2]=c;if(c){break ma}c=v[d+4>>2];if(!c){v[d+4>>2]=-32767}if(!c){Qa[v[v[d>>2]+4>>2]](d)}}db(e+120|0);db(s);db(e+136|0)}db(e+144|0)}o=v[o>>2];if(o){continue}break}}ac(r);Ma=e+192|0;break t}Tj(d,1);L()}Tj(c,4);L()}Tj(f,1);L()}Tj(g,1);L()}Tj(c,1);L()}lb(mb(e+168|0,227376,271519,619,306765));L()}GE(a+28|0,k);ac(k);h=Ma+-64|0;Ma=h;v[k>>2]=0;v[k+4>>2]=0;v[k+24>>2]=0;v[k+16>>2]=0;v[k+20>>2]=0;v[k+8>>2]=0;v[k+12>>2]=0;l=jd(k,971028);j=Lf(h+16|0,b);na:{oa:{pa:{qa:{ra:{sa:{g=v[h+24>>2];if(g){while(1){ta:{d=v[g+8>>2];if(v[d+8>>2]!=4){break ta}b=h+40|0;cj(b,d);c=Hb(b,303495,-1);db(b);if(c){break ta}if(v[d+8>>2]==4){n=d+40|0;c=0;while(1){if(v[d+44>>2]<=(c|0)){break ta}b=v[d+48>>2];f=0;if(c){while(1){if(!b){v[h+44>>2]=n;v[h+40>>2]=0;break oa}b=v[b>>2];f=f+1|0;if((c|0)!=(f|0)){continue}break}}v[h+44>>2]=n;v[h+40>>2]=b;if(!b){break oa}f=v[b+8>>2];ua:{if(!f){b=0;break ua}v[f+4>>2]=v[f+4>>2]+1;b=v[b+8>>2];if(!b){break ua}f=v[b+4>>2]-1|0;v[b+4>>2]=f;if(f){break ua}f=v[b+4>>2];if(!f){v[b+4>>2]=-32767}if(!f){Qa[v[v[b>>2]+4>>2]](b)}}if(v[b+8>>2]==4){v[h+8>>2]=0;v[h+12>>2]=v[279250];f=v[b+12>>2];va:{if(f){Qa[v[v[f>>2]+28>>2]](h+40|0,f,1);break va}v[h+40>>2]=0}jb(h+8|0,h+40|0);f=v[h+40>>2];v[h+40>>2]=0;wa:{if(!f){break wa}i=v[f+4>>2]-1|0;v[f+4>>2]=i;if(i){break wa}i=v[f+4>>2];if(!i){v[f+4>>2]=-32767}if(!i){Qa[v[v[f>>2]+4>>2]](f)}}f=v[h+8>>2];v[h+12>>2]=v[(f?f+12|0:1117e3)>>2];if(v[b+8>>2]!=4){break sa}if(v[b+44>>2]<=0){break ra}f=v[b+48>>2];b=b+40|0;v[h+44>>2]=b;v[h+40>>2]=f;if(!f){break qa}b=v[f+8>>2];if(b){v[b+4>>2]=v[b+4>>2]+1;f=v[f+8>>2]}else{f=0}if(v[f+8>>2]!=2){break pa}v[h+40>>2]=0;v[h+44>>2]=v[279250];b=v[f+24>>2];xa:{if(b){Qa[v[v[b>>2]+28>>2]](h+32|0,b,1);break xa}v[h+32>>2]=0}jb(h+40|0,h+32|0);b=v[h+32>>2];v[h+32>>2]=0;ya:{if(!b){break ya}i=v[b+4>>2]-1|0;v[b+4>>2]=i;if(i){break ya}i=v[b+4>>2];if(!i){v[b+4>>2]=-32767}if(!i){Qa[v[v[b>>2]+4>>2]](b)}}b=v[h+40>>2];v[h+44>>2]=v[(b?b+12|0:1117e3)>>2];i=Bd(h+8|0);b=v[v[l+12>>2]+((i>>>0)%y[l+8>>2]<<2)>>2];za:{if(b){while(1){if((i|0)==v[b+12>>2]){if(!ld(b+16|0,h+8|0,-1)){break za}}b=v[b+8>>2];if(b){continue}break}}b=ab(32);v[b>>2]=0;v[b+4>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;e=b+16|0;v[e>>2]=0;v[e+4>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b+20>>2]=v[279250];i=v[h+8>>2];Aa:{if(i){Qa[v[v[i>>2]+28>>2]](h+32|0,i,1);break Aa}v[h+32>>2]=0}jb(e,h+32|0);i=v[h+32>>2];v[h+32>>2]=0;Ba:{if(!i){break Ba}m=v[i+4>>2]-1|0;v[i+4>>2]=m;if(m){break Ba}m=v[i+4>>2];if(!m){v[i+4>>2]=-32767}if(!m){Qa[v[v[i>>2]+4>>2]](i)}}i=v[b+16>>2];i=v[(i?i+12|0:1117e3)>>2];v[b+24>>2]=0;v[b+20>>2]=i;v[b+28>>2]=v[279250];x=b,z=Bd(e),v[x+12>>2]=z;bj(l,b)}i=b+24|0;b=v[h+40>>2];Ca:{if(b){Qa[v[v[b>>2]+28>>2]](h+32|0,b,1);break Ca}v[h+32>>2]=0}jb(i,h+32|0);b=v[h+32>>2];v[h+32>>2]=0;Da:{if(!b){break Da}e=v[b+4>>2]-1|0;v[b+4>>2]=e;if(e){break Da}e=v[b+4>>2];if(!e){v[b+4>>2]=-32767}if(!e){Qa[v[v[b>>2]+4>>2]](b)}}b=v[i>>2];v[i+4>>2]=v[(b?b+12|0:1117e3)>>2];db(h+40|0);Ea:{if(!f){break Ea}b=v[f+4>>2]-1|0;v[f+4>>2]=b;if(b){break Ea}b=v[f+4>>2];if(!b){v[f+4>>2]=-32767}if(!b){Qa[v[v[f>>2]+4>>2]](f)}}db(h+8|0)}c=c+1|0;if(v[d+8>>2]==4){continue}break}}break a}g=v[g>>2];if(g){continue}break}}ac(j);Ma=h- -64|0;break na}Tj(b,4);L()}Rc(h+32|0,348281,b+12|0);a=v[h+32>>2];lb(mb(h+40|0,v[(a?a+12|0:1117e3)>>2],241416,384,225789));L()}wd(h+40|0,b);L()}Tj(f,2);L()}wd(h+40|0,n);L()}kR(a+44|0,k);vd(k);Ma=k+32|0;return}Tj(d,4);L()}function UU(a){var 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,u=0,w=0,x=0,z=0,A=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;v[a+72>>2]=0;a:{b:{c:{while(1){b=v[a+56>>2];c=Qa[v[v[b>>2]+28>>2]](b)|0;if((c|0)==-1){break c}b=v[a+56>>2];d=Qa[v[v[b>>2]+28>>2]](b)|0;if((d|0)==-1){break c}b=v[a+56>>2];i=Qa[v[v[b>>2]+28>>2]](b)|0;if((i|0)==-1){break c}b=v[a+56>>2];g=Qa[v[v[b>>2]+28>>2]](b)|0;if((g|0)==-1){break c}v[a+68>>2]=v[a+68>>2]+4;b=v[a+56>>2];e=Qa[v[v[b>>2]+28>>2]](b)|0;if((e|0)==-1){break a}v[a+68>>2]=v[a+68>>2]+1;b=v[a+56>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break a}v[a+68>>2]=v[a+68>>2]+1;f=b>>>5|0;if((f|0)==7){f=v[a+56>>2];f=Qa[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break a}k=v[a+56>>2];k=Qa[v[v[k>>2]+28>>2]](k)|0;if((k|0)==-1){break a}h=v[a+56>>2];h=Qa[v[v[h>>2]+28>>2]](h)|0;if((h|0)==-1){break a}j=v[a+56>>2];f=(h|(f<<16|b<<24|k<<8))&536870911;b=f+9>>>3|0;if((Qa[v[v[j>>2]+48>>2]](j,b)|0)!=(b|0)){break a}}u=Pb(f,4);b=g|(d<<16|c<<24|i<<8);d:{if(b>>>0<=256){c=0;if(!f){break d}while(1){d=v[a+56>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break b}v[a+68>>2]=v[a+68>>2]+1;v[(c<<2)+u>>2]=d;c=c+1|0;if((f|0)!=(c|0)){continue}break}break d}if(b>>>0>=65537){c=0;if(!f){break d}while(1){d=v[a+56>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break b}i=v[a+56>>2];i=Qa[v[v[i>>2]+28>>2]](i)|0;if((i|0)==-1){break b}g=v[a+56>>2];g=Qa[v[v[g>>2]+28>>2]](g)|0;if((g|0)==-1){break b}k=v[a+56>>2];k=Qa[v[v[k>>2]+28>>2]](k)|0;if((k|0)==-1){break b}v[a+68>>2]=v[a+68>>2]+4;v[(c<<2)+u>>2]=k|(i<<16|d<<24|g<<8);c=c+1|0;if((f|0)!=(c|0)){continue}break}break d}c=0;if(!f){break d}while(1){d=v[a+56>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break b}i=v[a+56>>2];i=Qa[v[v[i>>2]+28>>2]](i)|0;if((i|0)==-1){break b}v[a+68>>2]=v[a+68>>2]+2;v[(c<<2)+u>>2]=i|d<<8;c=c+1|0;if((f|0)!=(c|0)){continue}break}}c=v[a+56>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;e:{if(e&64){if((c|0)==-1){break b}c=v[a+56>>2];if((Qa[v[v[c>>2]+28>>2]](c)|0)==-1){break b}c=v[a+56>>2];if((Qa[v[v[c>>2]+28>>2]](c)|0)==-1){break b}d=4;c=v[a+56>>2];if((Qa[v[v[c>>2]+28>>2]](c)|0)!=-1){break e}break b}d=1;if((c|0)==-1){break b}}v[a+68>>2]=v[a+68>>2]+d;c=v[a+56>>2];d=Qa[v[v[c>>2]+28>>2]](c)|0;if((d|0)==-1){break b}c=v[a+56>>2];i=Qa[v[v[c>>2]+28>>2]](c)|0;if((i|0)==-1){break b}c=v[a+56>>2];g=Qa[v[v[c>>2]+28>>2]](c)|0;if((g|0)==-1){break b}c=v[a+56>>2];k=Qa[v[v[c>>2]+28>>2]](c)|0;if((k|0)==-1){break b}v[a+68>>2]=v[a+68>>2]+4;f:{c=e&63;if(!(v[a+40>>2]|(e&60)!=4&c-20>>>0>23)){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229767,0);break f}z=k|(i<<16|d<<24|g<<8);v[v[a+76>>2]+28>>2]=0;v[v[a+144>>2]+12>>2]=0;v[v[a+148>>2]+16>>2]=0;v[a+68>>2]=0;g:{h:{i:{j:{k:{switch(c|0){case 4:rG(a,b,0,u,f);break h;case 6:rG(a,b,1,u,f);break h;case 7:rG(a,b,1,u,f);break h;case 16:c=Ma-32|0;Ma=c;l:{m:{e=v[a+56>>2];f=Qa[v[v[e>>2]+28>>2]](e)|0;if((f|0)==-1){break m}v[a+68>>2]=v[a+68>>2]+1;e=v[a+56>>2];e=Qa[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){break m}v[a+68>>2]=v[a+68>>2]+1;d=v[a+56>>2];i=Qa[v[v[d>>2]+28>>2]](d)|0;if((i|0)==-1){break m}v[a+68>>2]=v[a+68>>2]+1;d=v[a+56>>2];g=Qa[v[v[d>>2]+28>>2]](d)|0;if((g|0)==-1){break m}d=v[a+56>>2];k=Qa[v[v[d>>2]+28>>2]](d)|0;if((k|0)==-1){break m}d=v[a+56>>2];h=Qa[v[v[d>>2]+28>>2]](d)|0;if((h|0)==-1){break m}d=v[a+56>>2];j=Qa[v[v[d>>2]+28>>2]](d)|0;if((j|0)==-1){break m}v[a+68>>2]=v[a+68>>2]+4;if(!(i?e:0)){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,228867,0);break l}d=f>>>1&3;p=f&1;if(!p){m=v[(d<<2)+927440>>2];f=v[a+80>>2];n:{if((m|0)==v[f+4>>2]){Th(f);break n}$a(mc(f));f=ab(8);Sg(f,1<>2]=f}km(v[a+76>>2])}v[c+20>>2]=-3;v[c>>2]=0;v[c+4>>2]=-1;v[c+24>>2]=2;v[c+28>>2]=-2;v[c+8>>2]=-2;v[c+12>>2]=-2;v[c+16>>2]=0-e;k=j|(k<<16|g<<24|h<<8);f=k+1|0;g=ss(a,p,B(f,e),i,d,0,0,0,c+16|0,c,z-7|0);d=ab(16);v[d+8>>2]=f;v[d>>2]=927296;v[d+4>>2]=b;M=d,N=Pb(f,4),v[M+12>>2]=N;b=0;f=0;while(1){h=sG(g,b,0,e,i);v[v[d+12>>2]+(f<<2)>>2]=h;b=b+e|0;f=f+1|0;if(k>>>0>=f>>>0){continue}break}Qa[v[v[g>>2]+4>>2]](g);Ib(v[a+48>>2],d);break l}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,258162,0)}Ma=c+32|0;break h;case 20:qG(a,b,0,u,f);break h;case 22:qG(a,b,1,u,f);break h;case 23:qG(a,b,1,u,f);break h;case 36:pG(a,b,0,z);break h;case 38:pG(a,b,1,z);break j;case 39:pG(a,b,1,z);break h;case 40:oG(a,b,0,u,f);break h;case 42:oG(a,b,1,u,f);break h;case 43:oG(a,b,1,u,f);break h;case 48:o:{p:{b=v[a+56>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break p}c=v[a+56>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;if((c|0)==-1){break p}e=v[a+56>>2];e=Qa[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){break p}f=v[a+56>>2];f=Qa[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break p}v[a+68>>2]=v[a+68>>2]+4;v[a+24>>2]=f|(c<<16|b<<24|e<<8);b=v[a+56>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break p}c=v[a+56>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;if((c|0)==-1){break p}e=v[a+56>>2];e=Qa[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){break p}f=v[a+56>>2];f=Qa[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break p}v[a+68>>2]=v[a+68>>2]+4;v[a+28>>2]=f|(c<<16|b<<24|e<<8);b=v[a+56>>2];if((Qa[v[v[b>>2]+28>>2]](b)|0)==-1){break p}b=v[a+56>>2];if((Qa[v[v[b>>2]+28>>2]](b)|0)==-1){break p}b=v[a+56>>2];if((Qa[v[v[b>>2]+28>>2]](b)|0)==-1){break p}b=v[a+56>>2];if((Qa[v[v[b>>2]+28>>2]](b)|0)==-1){break p}v[a+68>>2]=v[a+68>>2]+4;b=v[a+56>>2];if((Qa[v[v[b>>2]+28>>2]](b)|0)==-1){break p}b=v[a+56>>2];if((Qa[v[v[b>>2]+28>>2]](b)|0)==-1){break p}b=v[a+56>>2];if((Qa[v[v[b>>2]+28>>2]](b)|0)==-1){break p}b=v[a+56>>2];if((Qa[v[v[b>>2]+28>>2]](b)|0)==-1){break p}v[a+68>>2]=v[a+68>>2]+4;b=v[a+56>>2];c=Qa[v[v[b>>2]+28>>2]](b)|0;if((c|0)==-1){break p}v[a+68>>2]=v[a+68>>2]+1;b=v[a+56>>2];f=Qa[v[v[b>>2]+28>>2]](b)|0;if((f|0)==-1){break p}b=v[a+56>>2];d=Qa[v[v[b>>2]+28>>2]](b)|0;if((d|0)==-1){break p}v[a+68>>2]=v[a+68>>2]+2;q:{b=v[a+24>>2];r:{if(!b){break r}e=v[a+28>>2];if(!e){break r}if(b>>>0<=2147483647/(b>>>0)>>>0){break q}}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,258095,0);break o}v[a+44>>2]=c>>>3&3;v[a+36>>2]=c>>>2&1;c=(e|0)==-1?(d|f<<8)&32767:e;v[a+32>>2]=c;e=ab(24);b=lz(e,0,b,c);v[a+40>>2]=e;c=B(v[b+16>>2],v[b+12>>2]);b=v[b+20>>2];if(v[a+36>>2]){eb(b,255,c);break o}eb(b,0,c);break o}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,258162,0)}break h;case 50:b=v[a+56>>2];M=a,N=(Qa[v[v[b>>2]+48>>2]](b,z)|0)+v[a+68>>2]|0,v[M+68>>2]=N;break h;case 51:v[a+72>>2]=1;break h;case 52:b=v[a+56>>2];M=a,N=(Qa[v[v[b>>2]+48>>2]](b,z)|0)+v[a+68>>2]|0,v[M+68>>2]=N;break h;case 53:f=b;k=0;s:{t:{b=v[a+56>>2];l=Qa[v[v[b>>2]+28>>2]](b)|0;if((l|0)==-1){break t}v[a+68>>2]=v[a+68>>2]+1;b=v[a+56>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break t}c=v[a+56>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;if((c|0)==-1){break t}e=v[a+56>>2];e=Qa[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){break t}d=v[a+56>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break t}v[a+68>>2]=v[a+68>>2]+4;i=v[a+56>>2];g=Qa[v[v[i>>2]+28>>2]](i)|0;if((g|0)==-1){break t}i=v[a+56>>2];o=Qa[v[v[i>>2]+28>>2]](i)|0;if((o|0)==-1){break t}i=v[a+56>>2];r=Qa[v[v[i>>2]+28>>2]](i)|0;if((r|0)==-1){break t}i=v[a+56>>2];q=Qa[v[v[i>>2]+28>>2]](i)|0;if((q|0)==-1){break t}v[a+68>>2]=v[a+68>>2]+4;i=v[a+144>>2];v[i+4>>2]=0;v[i+8>>2]=0;m=8;j=l>>>1&7;h=j+1|0;p=-2<>>4&7;q=r+1|0;C=-2<>2]=b;g=v[a+144>>2];e=v[g+4>>2];d=v[g+8>>2];u:{if(d>>>0>j>>>0){d=d-h|0;v[g+8>>2]=d;e=p&e>>>d;break u}v[g+8>>2]=0;e=e&(-1<>>0>=8){while(1){n=v[g>>2];n=Qa[v[v[n>>2]+28>>2]](n)|0;v[g+12>>2]=v[g+12>>2]+1;e=n&255|e<<8;d=d-8|0;if(d>>>0>7){continue}break}}if(!d){break u}n=v[g>>2];n=Qa[v[v[n>>2]+28>>2]](n)|0;v[g+4>>2]=n;w=8-d|0;v[g+8>>2]=w;v[g+12>>2]=v[g+12>>2]+1;e=(-1<>>w|e<>2]=e;g=v[a+144>>2];e=v[g+4>>2];d=v[g+8>>2];v:{if(d>>>0>r>>>0){d=d-q|0;v[g+8>>2]=d;e=C&e>>>d;break v}v[g+8>>2]=0;e=e&(-1<>>0>=8){while(1){n=v[g>>2];n=Qa[v[v[n>>2]+28>>2]](n)|0;v[g+12>>2]=v[g+12>>2]+1;e=n&255|e<<8;d=d-8|0;if(d>>>0>7){continue}break}}if(!d){break v}n=v[g>>2];n=Qa[v[v[n>>2]+28>>2]](n)|0;v[g+4>>2]=n;w=8-d|0;v[g+8>>2]=w;v[g+12>>2]=v[g+12>>2]+1;e=(-1<>>w|e<>2]=e;k=k+1|0;b=(1<(b|0)){continue}break}}b=k+3|0;g=l&1;e=b+g|0;if(e>>>0>m>>>0){i=yc(i,e,16)}v[(k<<4)+i>>2]=c-1;c=v[a+144>>2];e=v[c+4>>2];d=v[c+8>>2];w:{if(d>>>0>j>>>0){n=c;c=d-h|0;v[n+8>>2]=c;e=p&e>>>c;break w}v[c+8>>2]=0;e=e&(-1<>>0>=8){while(1){m=v[c>>2];m=Qa[v[v[m>>2]+28>>2]](m)|0;v[c+12>>2]=v[c+12>>2]+1;e=m&255|e<<8;d=d-8|0;if(d>>>0>7){continue}break}}if(!d){break w}m=v[c>>2];m=Qa[v[v[m>>2]+28>>2]](m)|0;v[c+4>>2]=m;l=8-d|0;v[c+8>>2]=l;v[c+12>>2]=v[c+12>>2]+1;e=(-1<>>l|e<>2]=-3;v[c+4>>2]=e;m=k+1|0;v[(m<<4)+i>>2]=o;c=v[a+144>>2];e=v[c+4>>2];d=v[c+8>>2];x:{if(d>>>0>j>>>0){n=c;c=d-h|0;v[n+8>>2]=c;e=p&e>>>c;break x}v[c+8>>2]=0;e=e&(-1<>>0>=8){while(1){l=v[c>>2];l=Qa[v[v[l>>2]+28>>2]](l)|0;v[c+12>>2]=v[c+12>>2]+1;e=l&255|e<<8;d=d-8|0;if(d>>>0>7){continue}break}}if(!d){break x}l=v[c>>2];l=Qa[v[v[l>>2]+28>>2]](l)|0;v[c+4>>2]=l;o=8-d|0;v[c+8>>2]=o;v[c+12>>2]=v[c+12>>2]+1;e=(-1<>>o|e<>2]=32;v[c+4>>2]=e;c=k+2|0;y:{if(!g){b=c;break y}v[(c<<4)+i>>2]=0;g=v[a+144>>2];e=v[g+4>>2];d=v[g+8>>2];z:{if(d>>>0>j>>>0){d=d-h|0;v[g+8>>2]=d;e=p&e>>>d;break z}v[g+8>>2]=0;e=e&(-1<>>0>=8){while(1){k=v[g>>2];k=Qa[v[v[k>>2]+28>>2]](k)|0;v[g+12>>2]=v[g+12>>2]+1;e=k&255|e<<8;d=d-8|0;if(d>>>0>7){continue}break}}if(!d){break z}k=v[g>>2];k=Qa[v[v[k>>2]+28>>2]](k)|0;v[g+4>>2]=k;h=8-d|0;v[g+8>>2]=h;v[g+12>>2]=v[g+12>>2]+1;e=(-1<>>h|e<>2]=-2;v[c+4>>2]=e}c=(b<<4)+i|0;v[c+8>>2]=-1;v[c>>2]=0;v[c+4>>2]=0;tG(i,b);c=v[a+48>>2];b=ab(12);v[b+8>>2]=i;v[b>>2]=927316;v[b+4>>2]=f;Ib(c,b);break s}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,258162,0)}break h;case 62:b=v[a+56>>2];M=a,N=(Qa[v[v[b>>2]+48>>2]](b,z)|0)+v[a+68>>2]|0,v[M+68>>2]=N;break h;case 0:break i;default:break k}}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,258125,0);b=v[a+56>>2];if((Qa[v[v[b>>2]+48>>2]](b,z)|0)!=(z|0)){break b}}if((c|0)!=38){break h}if((z|0)==-1){break g}break h}k=b;l=0;r=0;H=0;h=Ma-80|0;Ma=h;A:{B:{C:{D:{b=v[a+56>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;E:{if((b|0)==-1){break E}c=v[a+56>>2];s=Qa[v[v[c>>2]+28>>2]](c)|0;if((s|0)==-1){break E}v[a+68>>2]=v[a+68>>2]+2;F=s|b<<8;g=F>>>10&3;i=s&1;F:{if(i){break F}b=v[a+56>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if(!g){if((b|0)==-1){break E}v[a+68>>2]=v[a+68>>2]+1;v[h+64>>2]=b&128?b|-256:b;b=v[a+56>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break E}v[a+68>>2]=v[a+68>>2]+1;v[h+48>>2]=b&128?b|-256:b;b=v[a+56>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break E}v[a+68>>2]=v[a+68>>2]+1;v[h+68>>2]=b&128?b|-256:b;b=v[a+56>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break E}v[a+68>>2]=v[a+68>>2]+1;v[h+52>>2]=b&128?b|-256:b;b=v[a+56>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break E}v[a+68>>2]=v[a+68>>2]+1;v[h+72>>2]=b&128?b|-256:b;b=v[a+56>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break E}v[a+68>>2]=v[a+68>>2]+1;v[h+56>>2]=b&128?b|-256:b;b=v[a+56>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break E}v[a+68>>2]=v[a+68>>2]+1;v[h+76>>2]=b&128?b|-256:b;b=v[a+56>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break E}v[a+68>>2]=v[a+68>>2]+1;v[h+60>>2]=b&128?b|-256:b;break F}if((b|0)==-1){break E}v[a+68>>2]=v[a+68>>2]+1;v[h+64>>2]=b&128?b|-256:b;b=v[a+56>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break E}v[a+68>>2]=v[a+68>>2]+1;v[h+48>>2]=b&128?b|-256:b}n=F>>>12&1;E=s>>>1&1;if(!(n|!E)){b=v[a+56>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break E}v[a+68>>2]=v[a+68>>2]+1;v[h+40>>2]=b&128?b|-256:b;b=v[a+56>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break E}v[a+68>>2]=v[a+68>>2]+1;v[h+32>>2]=b&128?b|-256:b;b=v[a+56>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break E}v[a+68>>2]=v[a+68>>2]+1;v[h+44>>2]=b&128?b|-256:b;b=v[a+56>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break E}v[a+68>>2]=v[a+68>>2]+1;v[h+36>>2]=b&128?b|-256:b}b=v[a+56>>2];I=Qa[v[v[b>>2]+28>>2]](b)|0;if((I|0)==-1){break E}b=v[a+56>>2];J=Qa[v[v[b>>2]+28>>2]](b)|0;if((J|0)==-1){break E}b=v[a+56>>2];K=Qa[v[v[b>>2]+28>>2]](b)|0;if((K|0)==-1){break E}b=v[a+56>>2];L=Qa[v[v[b>>2]+28>>2]](b)|0;if((L|0)==-1){break E}v[a+68>>2]=v[a+68>>2]+4;b=v[a+56>>2];e=Qa[v[v[b>>2]+28>>2]](b)|0;if((e|0)==-1){break E}b=v[a+56>>2];p=Qa[v[v[b>>2]+28>>2]](b)|0;if((p|0)==-1){break E}b=v[a+56>>2];m=Qa[v[v[b>>2]+28>>2]](b)|0;if((m|0)==-1){break E}b=v[a+56>>2];G=Qa[v[v[b>>2]+28>>2]](b)|0;if((G|0)==-1){break E}v[a+68>>2]=v[a+68>>2]+4;w=ab(16);d=hc(w);G:{if(f){while(1){b=v[(l<<2)+u>>2];H:{I:{c=v[a+52>>2];o=v[c+8>>2];if((o|0)>=1){q=v[c>>2];c=0;while(1){j=v[q+(c<<2)>>2];if((b|0)==v[j+4>>2]){break I}c=c+1|0;if((o|0)!=(c|0)){continue}break}}c=v[a+48>>2];o=v[c+8>>2];if((o|0)<1){break H}q=v[c>>2];c=0;while(1){j=v[q+(c<<2)>>2];if((b|0)==v[j+4>>2]){break I}c=c+1|0;if((o|0)!=(c|0)){continue}break}break H}if((Qa[v[v[j>>2]+8>>2]](j)|0)==1){b=v[j+8>>2];if((b|0)<0|2147483647-b>>>0>>0){break G}r=b+r|0;break H}if((Qa[v[v[j>>2]+8>>2]](j)|0)!=3){break H}Ib(d,j)}l=l+1|0;if((l|0)!=(f|0)){continue}break}}p=p<<16|e<<24|m<<8|G;if((p|0)<0|2147483647-p>>>0>>0){break G}C=p+r|0;J:{if(C>>>0<=1){e=i;break J}c=C-1|0;e=0;while(1){e=e+1|0;b=c>>>0>1;c=c>>>1|0;if(b){continue}break}}o=Pb(C,4);if(C){eb(o,0,C<<2)}m=0;K:{if(!f){b=0;break K}q=0;b=0;while(1){l=v[(q<<2)+u>>2];L:{M:{c=v[a+52>>2];x=v[c+8>>2];if((x|0)>=1){A=v[c>>2];j=0;while(1){c=v[A+(j<<2)>>2];if((l|0)==v[c+4>>2]){break M}j=j+1|0;if((x|0)!=(j|0)){continue}break}}c=v[a+48>>2];x=v[c+8>>2];if((x|0)<1){break L}A=v[c>>2];j=0;while(1){c=v[A+(j<<2)>>2];if((l|0)==v[c+4>>2]){break M}j=j+1|0;if((x|0)!=(j|0)){continue}break}break L}if((Qa[v[v[c>>2]+8>>2]](c)|0)!=1){break L}b=v[c+8>>2];N:{if(!b){break N}l=b&3;j=0;if(b-1>>>0>=3){b=b&-4;while(1){x=o+(m<<2)|0;A=j<<2;v[x>>2]=v[A+v[c+12>>2]>>2];v[x+4>>2]=v[v[c+12>>2]+(A|4)>>2];v[x+8>>2]=v[v[c+12>>2]+(A|8)>>2];v[x+12>>2]=v[v[c+12>>2]+(A|12)>>2];j=j+4|0;m=m+4|0;b=b-4|0;if(b){continue}break}}if(!l){break N}while(1){v[o+(m<<2)>>2]=v[v[c+12>>2]+(j<<2)>>2];j=j+1|0;m=m+1|0;l=l-1|0;if(l){continue}break}}b=c}q=q+1|0;if((q|0)!=(f|0)){continue}break}}A=0;q=0;x=0;O:{if(!i){break O}x=1106208;P:{Q:{R:{c=s>>>2&3;switch(c|0){case 0:break P;case 1:break R;default:break Q}}c=0;x=1106320;break P}if(!v[d+8>>2]){break D}x=v[v[v[w>>2]>>2]+8>>2];c=1}q=1105920;S:{T:{switch(s>>>4&3){case 1:q=1106048;break S;case 0:break S;default:break T}}if(y[d+8>>2]<=c>>>0){break D}q=v[v[v[d>>2]+(c<<2)>>2]+8>>2];c=c+1|0}A=1105840;U:{if(!(s&64)){H=1105840;break U}if(y[d+8>>2]<=c>>>0){break D}H=v[v[v[d>>2]+(c<<2)>>2]+8>>2];c=c+1|0}if(!(s&128)){break O}if(c>>>0>=y[d+8>>2]){break D}A=v[v[v[d>>2]+(c<<2)>>2]+8>>2]}j=F>>>8&1;mc(d);$a(w);V:{W:{X:{if(!i){m=0;f=a;c=g;d=0;Y:{if(!j){break Y}d=0;if(!b){break Y}d=v[b+16>>2]}nG(f,c,d);TU(a,e);km(v[a+76>>2]);w=1;s=1;if(E){break X}break V}c=v[a+144>>2];v[c+4>>2]=0;v[c+8>>2]=0;if(!E){break W}}Z:{if(!(!j|!b)){iz(a,n,v[b+20>>2]);break Z}iz(a,n,0)}w=0;s=1;m=0;break V}s=0;w=1;m=Pb(p,4)}if(p){b=0;j=0;while(1){f=b;_:{if(i){uh(v[a+144>>2],h+28|0,x);break _}Ni(v[a+76>>2],h+28|0,v[a+88>>2])}c=218410;$:{d=v[h+28>>2];if(!((d|0)<=0&0-d>>>0>=j>>>0|d>>>0>(j^-1)>>>0&(d|0)>=1)){j=d+j|0;if(j>>>0<=1e5){break $}c=218460}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,c,0);break C}E=f>>>0>p>>>0?f:p;c=0;l=0;aa:{ba:{while(1){ca:{if(i){if(uh(v[a+144>>2],h+24|0,q)){break ca}break ba}if(!Ni(v[a+76>>2],h+24|0,v[a+92>>2])){break ba}}d=v[h+24>>2];if(!((d|0)<=0&0-d>>>0>=c>>>0)){if((b|0)==(E|0)){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,218166,0);if(p){break C}break B}c=c+d|0;if(c>>>0>=100001){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,218513,0);if(p){break C}break B}if(!s){v[(b<<2)+m>>2]=c;l=c+l|0;b=b+1|0;continue}if(!w){da:{ea:{if(i){if(!uh(v[a+144>>2],h+20|0,A)){break aa}d=v[h+20>>2];if((d|0)!=1){break da}d=us(v[a+144>>2],e);uh(v[a+144>>2],h+16|0,1108800);uh(v[a+144>>2],h+12|0,1108800);uh(v[a+144>>2],h+8|0,1105840);D=v[a+144>>2];v[D+4>>2]=0;v[D+8>>2]=0;km(v[a+76>>2]);break ea}if(!Ni(v[a+76>>2],h+20|0,v[a+100>>2])){break aa}d=v[h+20>>2];if((d|0)!=1){break da}d=ZU(v[a+76>>2],e,v[a+140>>2]);Ni(v[a+76>>2],h+16|0,v[a+120>>2]);Ni(v[a+76>>2],h+12|0,v[a+124>>2])}D=b+r|0;if(D>>>0<=d>>>0){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,218611,0);if(p){break C}break B}M=o+(D<<2)|0,N=mG(a,c,j,n,0,v[o+(d<<2)>>2],v[h+16>>2],v[h+12>>2],h+40|0,h+32|0),v[M>>2]=N;b=b+1|0;continue}D=b+r|0;M=o+(D<<2)|0,N=lG(a,i,1,c,j,d,0,D,0,e,o,0,0,0,1,0,1106464,1106960,1108032,1108800,1108800,1108800,1108800,1105840,n,h+40|0,h+32|0),v[M>>2]=N;b=b+1|0;continue}M=o+(b+r<<2)|0,N=ss(a,0,c,j,g,0,0,0,h- -64|0,h+48|0,0),v[M>>2]=N;b=b+1|0;continue}break}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,218410,0);if(p){break C}break B}if(s){break aa}if(!l){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,218356,0);if(p){break C}break B}uh(v[a+144>>2],h+8|0,H);c=v[a+144>>2];v[c+4>>2]=0;v[c+8>>2]=0;c=v[h+8>>2];fa:{if(!c){d=lz(ab(24),0,l,j);c=B(l+7>>>3|0,j);v[h+8>>2]=c;l=v[a+56>>2];M=a,N=(Qa[v[v[l>>2]+40>>2]](l,v[d+20>>2],c)|0)+v[a+68>>2]|0,v[M+68>>2]=N;break fa}d=ss(a,1,l,j,0,0,0,0,0,0,c)}c=0;if(b>>>0>f>>>0){while(1){l=(f<<2)+m|0;M=o+(f+r<<2)|0,N=sG(d,c,0,v[l>>2],j),v[M>>2]=N;c=v[l>>2]+c|0;f=f+1|0;if((f|0)!=(b|0)){continue}break}}if(!d){break aa}Qa[v[v[d>>2]+4>>2]](d)}if(b>>>0

>>0){continue}break}}b=0;j=ab(24);e=j;n=J<<16|I<<24|K<<8|L;c=n;v[e+8>>2]=c;v[e>>2]=927276;v[e+4>>2]=k;c=Pb(c,4);v[e+12>>2]=c;f=v[e+8>>2];ga:{if(!f){break ga}v[c>>2]=0;c=1;if((f|0)==1){break ga}g=f-1|0;d=g&3;if(f-2>>>0>=3){f=g&-4;while(1){g=c<<2;v[g+v[e+12>>2]>>2]=0;v[(g+v[e+12>>2]|0)+4>>2]=0;v[(g+v[e+12>>2]|0)+8>>2]=0;v[(g+v[e+12>>2]|0)+12>>2]=0;c=c+4|0;f=f-4|0;if(f){continue}break}}if(!d){break ga}while(1){v[v[e+12>>2]+(c<<2)>>2]=0;c=c+1|0;d=d-1|0;if(d){continue}break}}v[e+16>>2]=0;v[e+20>>2]=0;g=e;ha:{ia:{if(C){e=1;d=0;q=0;while(1){ja:{if(i){uh(v[a+144>>2],h+4|0,1105840);break ja}Ni(v[a+76>>2],h+4|0,v[a+96>>2])}c=e;e=v[h+4>>2];if(!(c|e)){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,218110,0);Qa[v[v[j>>2]+4>>2]](g);if(p){break C}break B}c=d+e|0;if(c>>>0>C>>>0){break ia}ka:{if(!q){d=c;break ka}if(n>>>0>>0){break ia}s=0;f=b;if((e|0)<=0){break ka}while(1){e=v[o+(d<<2)>>2];b=ab(24);v[b>>2]=927256;v[b+4>>2]=0;k=v[e+8>>2];v[b+8>>2]=k;c=v[e+12>>2];v[b+12>>2]=c;l=v[e+16>>2];v[b+16>>2]=l;la:{if(!((k|0)<1|(c|0)<1|(l|0)<1)){if((2147483646/(l>>>0)|0)>(c|0)){break la}}v[b+12>>2]=-1;v[b+16>>2]=2;c=-1;l=2}d=d+1|0;c=B(c,l);k=si(c+1|0);v[b+20>>2]=k;M=cb(k,v[e+20>>2],c)+c|0,N=0,t[M|0]=N;v[v[g+12>>2]+(f<<2)>>2]=b;b=f+1|0;f=b;e=v[h+4>>2];s=s+1|0;if((e|0)>(s|0)){continue}break}}q=q^1;if(d>>>0>>0){continue}break}}if((b|0)!=(n|0)){break ha}ma:{if(!p){break ma}b=G&1;e=0;if((p|0)!=1){c=p-b|0;while(1){f=v[o+(e+r<<2)>>2];if(f){Qa[v[v[f>>2]+4>>2]](f)}f=v[o+((e|1)+r<<2)>>2];if(f){Qa[v[v[f>>2]+4>>2]](f)}e=e+2|0;c=c-2|0;if(c){continue}break}}if(!b){break ma}b=v[o+(e+r<<2)>>2];if(!b){break ma}Qa[v[v[b>>2]+4>>2]](b)}tb(o);if(m){tb(m)}na:{if((F&513)!=512){break na}M=g,N=mz(v[a+80>>2]),v[M+16>>2]=N;if(w){break na}M=g,N=mz(v[a+84>>2]),v[M+20>>2]=N}Ib(v[a+48>>2],j);e=1;break A}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,218303,0);Qa[v[v[j>>2]+4>>2]](g);if(p){break C}break B}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,218210,0);Qa[v[v[j>>2]+4>>2]](g);if(p){break C}break B}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,218253,0);mc(d);$a(w)}e=0;fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,258162,0);break A}m=0;fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,218565,0);mc(d);$a(w);if(!p){break B}}c=G&1;f=0;if((p|0)!=1){b=p-c|0;while(1){e=v[o+(f+r<<2)>>2];if(e){Qa[v[v[e>>2]+4>>2]](e)}e=v[o+((f|1)+r<<2)>>2];if(e){Qa[v[v[e>>2]+4>>2]](e)}f=f+2|0;b=b-2|0;if(b){continue}break}}if(!c){break B}b=v[o+(f+r<<2)>>2];if(!b){break B}Qa[v[v[b>>2]+4>>2]](b)}tb(o);e=0;if(!m){break A}tb(m)}Ma=h+80|0;if(!e){break f}}b=v[v[a+148>>2]+16>>2]+(v[v[a+144>>2]+12>>2]+(v[a+68>>2]+v[v[a+76>>2]+28>>2]|0)|0)|0;v[a+68>>2]=b;oa:{if(b>>>0<=z>>>0){b=z-b|0;if(b>>>0<65537){break oa}}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,258056,0);break f}c=v[a+56>>2];M=a,N=(Qa[v[v[c>>2]+48>>2]](c,b)|0)+v[a+68>>2]|0,v[M+68>>2]=N}tb(u);if(!v[a+72>>2]){continue}break c}break}tb(u)}return}tb(u)}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,258162,0)}function lH(a){var 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;a:{if(v[a+292>>2]){break a}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break a}oc(a)}e=v[v[a+36>>2]+16>>2];b:{if(w[e|0]!=60){break b}b=w[e+1|0];if((b|0)!=63){if((b|0)!=33){break b}c:{switch(w[e+2|0]-45|0){case 24:d:{switch(w[e+3|0]-76|0){case 0:d=Ma-16|0;Ma=d;v[d+12>>2]=0;f=v[a+36>>2];e=v[f+16>>2];e:{if(w[e|0]!=60|w[e+1|0]!=33|(w[e+2|0]!=69|w[e+3|0]!=76)){break e}if(w[e+4|0]!=69|w[e+5|0]!=77|(w[e+6|0]!=69|w[e+7|0]!=78)){break e}if(w[e+8|0]!=84){break e}v[a+200>>2]=v[a+200>>2]+9;v[f+16>>2]=e+9;v[f+32>>2]=v[f+32>>2]+9;b=f;e=w[e+9|0];if((e|0)==37){zc(a);b=v[a+36>>2];e=w[v[b+16>>2]]}f:{if(e){break f}if((Zb(b)|0)>0){break f}xc(a)}b=w[v[v[a+36>>2]+16>>2]]-9|0;if(!(1<>>0<=23:0)){Pc(a,65,346965);break e}Fc(a);g:{h:{j=kh(a);if(j){while(1){b=w[v[v[a+36>>2]+16>>2]];if(b){b=b-9|0;if(b>>>0>23){break h}if(1<>2]<2){break h}xc(a);continue}}Pc(a,68,338832);break e}Pc(a,65,343136)}Fc(a);i:{j:{k:{l:{m:{n:{b=v[a+36>>2];e=v[b+16>>2];switch(w[e|0]-37|0){case 3:break j;case 0:break l;case 28:break m;case 32:break n;default:break k}}if(w[e+1|0]!=77|w[e+2|0]!=80|(w[e+3|0]!=84|w[e+4|0]!=89)){break k}v[a+200>>2]=v[a+200>>2]+5;v[b+16>>2]=e+5;v[b+32>>2]=v[b+32>>2]+5;c=1;e=w[e+5|0];if((e|0)==37){zc(a);b=v[a+36>>2];e=w[v[b+16>>2]]}if(e){break i}if((Zb(b)|0)>0){break i}xc(a);break i}if(w[e+1|0]!=78|w[e+2|0]!=89){break k}v[a+200>>2]=v[a+200>>2]+3;v[b+16>>2]=e+3;v[b+32>>2]=v[b+32>>2]+3;c=2;e=w[e+3|0];if((e|0)==37){zc(a);b=v[a+36>>2];e=w[v[b+16>>2]]}if(e){break i}if((Zb(b)|0)>0){break i}xc(a);break i}if(v[a+96>>2]|v[a+40>>2]!=1){break k}Pc(a,21,339451);break e}Pc(a,54,344085);break e}e=0;k=v[v[a+36>>2]+56>>2];v[d+12>>2]=0;o:{if(w[v[v[a+36>>2]+16>>2]]!=40){He(a,54,344039,j);b=-1;break o}Bc(a);p:{if(v[a+292>>2]){break p}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break p}oc(a)}b=-1;if(v[a+172>>2]!=-1){Fc(a);q:{r:{b=v[v[a+36>>2]+16>>2];if(w[b|0]!=35|w[b+1|0]!=80|(w[b+2|0]!=67|w[b+3|0]!=68)){break r}if(w[b+4|0]!=65|w[b+5|0]!=84|w[b+6|0]!=65){break r}h=Ma-32|0;Ma=h;s:{if(v[a+292>>2]){break s}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break s}oc(a)}t:{u:{c=v[a+36>>2];b=v[c+16>>2];if(w[b|0]!=35|w[b+1|0]!=80|(w[b+2|0]!=67|w[b+3|0]!=68)){break u}if(w[b+4|0]!=65|w[b+5|0]!=84|w[b+6|0]!=65){break u}v[a+200>>2]=v[a+200>>2]+7;v[c+16>>2]=b+7;v[c+32>>2]=v[c+32>>2]+7;b=w[b+7|0];if((b|0)==37){zc(a);c=v[a+36>>2];b=w[v[c+16>>2]]}v:{if(b&255){break v}if((Zb(c)|0)>0){break v}xc(a)}Fc(a);w:{if(v[a+292>>2]){break w}c=v[a+36>>2];b=v[c+16>>2];if((b-v[c+12>>2]|0)<501|(v[c+20>>2]-b|0)>499){break w}Js(a)}x:{y:{z:{A:{c=v[a+36>>2];b=w[v[c+16>>2]];switch(b-40|0){case 0:break y;case 1:break A;default:break z}}if(!(!v[a+104>>2]|(k|0)==v[c+56>>2])){gj(a,90,337996,0,0)}Bc(a);b=0;e=sq(v[a+8>>2],0,1);if(!e){break t}if(w[v[v[a+36>>2]+16>>2]]!=42){b=e;break t}v[e+4>>2]=3;Bc(a);b=e;break t}if((b|0)!=124){break x}}b=0;e=sq(v[a+8>>2],0,1);if(!e){break t}}c=e;B:{while(1){C:{g=v[v[a+36>>2]+16>>2];b=w[g|0];if((b|0)!=124){if((b|0)!=41|w[g+1|0]!=42){break B}D:{if(!i){break D}b=sq(v[a+8>>2],i,2);v[c+16>>2]=b;if(!b){break D}v[b+20>>2]=c}if(e){v[e+4>>2]=3}if(!(!v[a+104>>2]|(k|0)==v[v[a+36>>2]+56>>2])){gj(a,90,337996,0,0)}v[a+200>>2]=v[a+200>>2]+2;b=v[a+36>>2];v[b+32>>2]=v[b+32>>2]+2;c=v[b+16>>2];v[b+16>>2]=c+2;c=w[c+2|0];if((c|0)==37){zc(a);b=v[a+36>>2];c=w[v[b+16>>2]]}if(!(c&255)){break C}b=e;break t}if(v[a+172>>2]==-1){break B}Bc(a);E:{if(!i){b=0;e=sq(v[a+8>>2],0,4);if(!e){break t}v[e+12>>2]=c;if(!c){b=e;break E}v[c+20>>2]=e;b=e;break E}b=Qa[v[256552]](28)|0;if(!b){v[h>>2]=290868;b=0;nb(0,0,0,0,0,23,2,3,290868,0,0,0,340689,h);break t}v[b>>2]=4;v[b+4>>2]=1;v[b+8>>2]=0;v[b+12>>2]=0;v[b+24>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;g=sq(v[a+8>>2],i,2);v[b+12>>2]=g;if(g){v[g+20>>2]=b}v[c+16>>2]=b;v[b+20>>2]=c}Fc(a);i=kh(a);if(!i){Pc(a,68,343907);lh(v[a+8>>2],b);b=0;break t}Fc(a);c=b;if(v[a+292>>2]){continue}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){continue}oc(a);continue}break}if((Zb(b)|0)>0){b=e;break t}xc(a);b=e;break t}lh(v[a+8>>2],e);b=0;Md(a,52,0);break t}if(!(!v[a+212>>2]|v[a+172>>2]!=-1)){b=0;break t}v[a+84>>2]=69;v[h+16>>2]=289235;b=0;nb(0,0,0,a,0,1,69,3,0,0,0,0,340716,h+16|0);v[a+12>>2]=0;if(v[a+288>>2]){break t}v[a+212>>2]=1}Ma=h+32|0;e=b;b=3;break q}e=mH(a,k,1);b=4}Fc(a);v[d+12>>2]=e}}c=b}Fc(a);F:{if(w[v[v[a+36>>2]+16>>2]]){break F}while(1){if(v[a+40>>2]<2){break F}xc(a);if(!w[v[v[a+36>>2]+16>>2]]){continue}break}}Fc(a);b=v[a+36>>2];if(w[v[b+16>>2]]!=62){Md(a,73,0);b=v[d+12>>2];if(!b){break e}lh(v[a+8>>2],b);break e}if((b|0)!=(f|0)){Pc(a,90,338067)}Bc(a);G:{b=v[a>>2];if(v[a+212>>2]|!b){break G}b=v[b+36>>2];if(!b){break G}e=v[d+12>>2];if(!e){Qa[b|0](v[a+4>>2],j,c,0);break e}v[e+20>>2]=0;Qa[b|0](v[a+4>>2],j,c,e);if(v[e+20>>2]){break e}lh(v[a+8>>2],e);break e}b=v[d+12>>2];if(!b){break e}lh(v[a+8>>2],b)}Ma=d+16|0;break b;case 2:break d;default:break b}}d=Ma-16|0;Ma=d;v[d+12>>2]=0;v[d+8>>2]=0;e=v[a+36>>2];c=v[e+16>>2];H:{if(w[c|0]!=60|w[c+1|0]!=33|(w[c+2|0]!=69|w[c+3|0]!=78)){break H}if(w[c+4|0]!=84|w[c+5|0]!=73|(w[c+6|0]!=84|w[c+7|0]!=89)){break H}I:{if(v[a+292>>2]){b=e;break I}if((c-v[e+12>>2]|0)<501){b=e;break I}b=e;if((v[b+20>>2]-c|0)>499){break I}Js(a);b=v[a+36>>2];c=v[b+16>>2]}v[a+200>>2]=v[a+200>>2]+8;v[b+16>>2]=c+8;v[b+32>>2]=v[b+32>>2]+8;c=w[c+8|0];if((c|0)==37){zc(a);b=v[a+36>>2];c=w[v[b+16>>2]]}J:{if(c&255){break J}if((Zb(b)|0)>0){break J}xc(a)}if(!Fc(a)){Pc(a,65,346898)}k=w[v[v[a+36>>2]+16>>2]];K:{if((k|0)!=37){break K}Bc(a);if(Fc(a)){break K}Pc(a,65,347280)}h=kh(a);if(!h){Pc(a,68,343215);break H}if(Ko(h,58)){qm(a,205,346488,h,0)}if(!Fc(a)){Pc(a,65,343098)}v[a+172>>2]=10;b=w[v[v[a+36>>2]+16>>2]];L:{if((k|0)==37){M:{switch(b-34|0){case 0:case 5:c=kX(a,d+8|0);if(!c){b=0;c=0;break L}b=v[a>>2];if(!b){b=0;break L}if(v[a+212>>2]){b=0;break L}b=v[b+24>>2];if(!b){b=0;break L}Qa[b|0](v[a+4>>2],h,4,0,0,c);b=0;break L;default:break M}}b=Kz(a,d+12|0,1);j=v[d+12>>2];if(!(b|j)){Md(a,84,0)}c=0;if(!b){b=0;break L}g=Os(b);if(!g){Ks(a,91,340624,b);break L}if(v[g+32>>2]){Md(a,92,0);wi(g);break L}f=v[a>>2];N:{if(v[a+212>>2]|!f){break N}f=v[f+24>>2];if(!f){break N}Qa[f|0](v[a+4>>2],h,5,j,b,0)}wi(g);break L}O:{switch(b-34|0){case 0:case 5:c=kX(a,d+8|0);b=v[a>>2];P:{if(v[a+212>>2]|!b){break P}b=v[b+24>>2];if(!b){break P}Qa[b|0](v[a+4>>2],h,1,0,0,c)}b=v[a+8>>2];Q:{if(b){if(!Ef(v[b+56>>2],228750)){b=0;break L}b=v[a+8>>2];if(b){break Q}}b=Go(228750);v[a+8>>2]=b;if(!b){Yc(a,290916);break H}v[b+92>>2]=64}if(!v[b+44>>2]){b=eA(b,282624,0,0);v[v[a+8>>2]+44>>2]=b}NH(a,h,1,0,0,c);b=0;break L;default:break O}}b=Kz(a,d+12|0,1);j=v[d+12>>2];if(!(b|j)){Md(a,84,0)}R:{if(!b){break R}c=Os(b);if(!c){Ks(a,91,340624,b);break R}if(v[c+32>>2]){Md(a,92,0)}wi(c)}f=w[v[v[a+36>>2]+16>>2]];c=f-9|0;if(!((1<>>0<=23:0)|(f|0)==62)){Pc(a,65,347188)}Fc(a);S:{i=v[a+36>>2];c=v[i+16>>2];if(w[c|0]!=78|w[c+1|0]!=68|(w[c+2|0]!=65|w[c+3|0]!=84)){break S}if(w[c+4|0]!=65){break S}v[a+200>>2]=v[a+200>>2]+5;v[i+16>>2]=c+5;v[i+32>>2]=v[i+32>>2]+5;c=w[c+5|0];if((c|0)==37){zc(a);i=v[a+36>>2];c=w[v[i+16>>2]]}T:{if(c&255){break T}if((Zb(i)|0)>0){break T}xc(a)}c=w[v[v[a+36>>2]+16>>2]]-9|0;if(!(1<>>0<=23:0)){Pc(a,65,347158)}Fc(a);g=kh(a);c=0;f=v[a>>2];if(v[a+212>>2]|!f){break L}f=v[f+40>>2];if(!f){break L}Qa[f|0](v[a+4>>2],h,j,b,g);break L}c=v[a>>2];U:{if(v[a+212>>2]|!c){break U}c=v[c+24>>2];if(!c){break U}Qa[c|0](v[a+4>>2],h,2,j,b,0)}c=0;if(!v[a+16>>2]){break L}f=v[a+8>>2];V:{if(f){if(!Ef(v[f+56>>2],228750)){break L}c=v[a+8>>2];if(c){break V}}c=Go(228750);v[a+8>>2]=c;if(!c){Yc(a,290916);break H}v[c+92>>2]=64}if(!v[c+44>>2]){c=eA(c,282624,0,0);v[v[a+8>>2]+44>>2]=c}c=0;NH(a,h,2,j,b,0)}if(v[a+172>>2]==-1){break H}Fc(a);f=v[a+36>>2];W:{if(w[v[f+16>>2]]!=62){He(a,37,344253,h);sl(a);break W}if((e|0)!=(f|0)){Pc(a,90,337864)}Bc(a)}X:{if(!v[d+8>>2]){break X}e=v[a>>2];Y:{Z:{_:{if((k|0)==37){if(!e){break Y}e=v[e+96>>2];if(!e){break Y}e=Qa[e|0](v[a+4>>2],h)|0;break _}$:{if(!e){break $}e=v[e+20>>2];if(!e){break $}e=Qa[e|0](v[a+4>>2],h)|0;if(e){break Z}}if(v[a+4>>2]!=(a|0)){break Y}e=iA(a,h)}if(!e){break Y}}if(v[e+36>>2]){Qa[v[256556]](v[d+8>>2]);break X}v[e+36>>2]=v[d+8>>2];break X}Qa[v[256556]](v[d+8>>2])}if(c){Qa[v[256556]](c)}if(b){Qa[v[256556]](b)}if(!j){break H}Qa[v[256556]](j)}Ma=d+16|0;break b;case 20:l=Ma-16|0;Ma=l;d=a;k=v[a+36>>2];e=v[k+16>>2];aa:{if(w[e|0]!=60|w[e+1|0]!=33|(w[e+2|0]!=65|w[e+3|0]!=84)){break aa}if(w[e+4|0]!=84|w[e+5|0]!=76|(w[e+6|0]!=73|w[e+7|0]!=83)){break aa}if(w[e+8|0]!=84){break aa}v[d+200>>2]=v[d+200>>2]+9;v[k+16>>2]=e+9;v[k+32>>2]=v[k+32>>2]+9;b=k;e=w[e+9|0];if((e|0)==37){zc(d);b=v[d+36>>2];e=w[v[b+16>>2]]}ba:{if(e&255){break ba}if((Zb(b)|0)>0){break ba}xc(d)}b=w[v[v[d+36>>2]+16>>2]]-9|0;if(!(1<>>0<=23:0)){Pc(d,65,346931)}Fc(d);m=kh(d);if(!m){Pc(d,68,338874);break aa}Fc(d);ca:{if(v[d+292>>2]){break ca}b=v[d+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break ca}oc(d)}b=v[d+36>>2];i=v[b+16>>2];da:{if(w[i|0]==62){break da}while(1){if(v[d+172>>2]==-1){break da}v[l+8>>2]=0;if(!(v[d+292>>2]|(v[b+20>>2]-i|0)>249)){oc(d)}v[l+12>>2]=0;n=kh(d);if(!n){Pc(d,68,342809);break da}ea:{if(v[d+292>>2]){break ea}b=v[d+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break ea}oc(d)}b=w[v[v[d+36>>2]+16>>2]]-9|0;if(!(1<>>0<=23:0)){Pc(d,65,343402);break da}Fc(d);fa:{if(v[d+292>>2]){break fa}e=v[d+36>>2];b=v[e+16>>2];if((b-v[e+12>>2]|0)<501|(v[e+20>>2]-b|0)>499){break fa}Xg(e);b=v[d+36>>2];if(w[v[b+16>>2]]){break fa}if((Zb(b)|0)>0){break fa}xc(d)}ga:{ha:{ia:{ja:{ka:{la:{b=v[d+36>>2];c=v[b+16>>2];switch(w[c|0]-67|0){case 11:break ia;case 2:break ja;case 6:break ka;case 0:break la;default:break ha}}if(w[c+1|0]!=68|w[c+2|0]!=65|(w[c+3|0]!=84|w[c+4|0]!=65)){break ha}v[d+200>>2]=v[d+200>>2]+5;v[b+16>>2]=c+5;v[b+32>>2]=v[b+32>>2]+5;e=1;c=w[c+5|0];if((c|0)==37){zc(d);b=v[d+36>>2];c=w[v[b+16>>2]]}if(c){break ga}if((Zb(b)|0)>0){break ga}xc(d);break ga}if(w[c+1|0]!=68){break ha}if(!(w[c+2|0]!=82|w[c+3|0]!=69|(w[c+4|0]!=70|w[c+5|0]!=83))){v[d+200>>2]=v[d+200>>2]+6;v[b+16>>2]=c+6;v[b+32>>2]=v[b+32>>2]+6;e=4;c=w[c+6|0];if((c|0)==37){zc(d);b=v[d+36>>2];c=w[v[b+16>>2]]}if(c){break ga}if((Zb(b)|0)>0){break ga}xc(d);break ga}if(!(w[c+2|0]!=82|w[c+3|0]!=69|w[c+4|0]!=70)){v[d+200>>2]=v[d+200>>2]+5;v[b+16>>2]=c+5;v[b+32>>2]=v[b+32>>2]+5;e=3;c=w[c+5|0];if((c|0)==37){zc(d);b=v[d+36>>2];c=w[v[b+16>>2]]}if(c){break ga}if((Zb(b)|0)>0){break ga}xc(d);break ga}e=2;v[d+200>>2]=v[d+200>>2]+2;v[b+16>>2]=c+2;v[b+32>>2]=v[b+32>>2]+2;c=w[c+2|0];if((c|0)==37){zc(d);b=v[d+36>>2];c=w[v[b+16>>2]]}if(c){break ga}if((Zb(b)|0)>0){break ga}xc(d);break ga}if(w[c+1|0]!=78){break ha}if(!(w[c+2|0]!=84|w[c+3|0]!=73|(w[c+4|0]!=84|w[c+5|0]!=89))){v[d+200>>2]=v[d+200>>2]+6;v[b+16>>2]=c+6;v[b+32>>2]=v[b+32>>2]+6;e=5;c=w[c+6|0];if((c|0)==37){zc(d);b=v[d+36>>2];c=w[v[b+16>>2]]}if(c){break ga}if((Zb(b)|0)>0){break ga}xc(d);break ga}if(w[c+2|0]!=84|w[c+3|0]!=73|(w[c+4|0]!=84|w[c+5|0]!=73)){break ha}if(w[c+6|0]!=69|w[c+7|0]!=83){break ha}v[d+200>>2]=v[d+200>>2]+8;v[b+16>>2]=c+8;v[b+32>>2]=v[b+32>>2]+8;e=6;c=w[c+8|0];if((c|0)==37){zc(d);b=v[d+36>>2];c=w[v[b+16>>2]]}if(c){break ga}if((Zb(b)|0)>0){break ga}xc(d);break ga}if(w[c+1|0]!=77){break ha}ma:{if(w[c+2|0]!=84|w[c+3|0]!=79|(w[c+4|0]!=75|w[c+5|0]!=69)){break ma}if(w[c+6|0]!=78|w[c+7|0]!=83){break ma}e=8;v[d+200>>2]=v[d+200>>2]+8;v[b+16>>2]=c+8;v[b+32>>2]=v[b+32>>2]+8;c=w[c+8|0];if((c|0)==37){zc(d);b=v[d+36>>2];c=w[v[b+16>>2]]}if(c){break ga}if((Zb(b)|0)>0){break ga}xc(d);break ga}if(w[c+2|0]!=84|w[c+3|0]!=79|(w[c+4|0]!=75|w[c+5|0]!=69)){break ha}if(w[c+6|0]!=78){break ha}e=7;v[d+200>>2]=v[d+200>>2]+7;v[b+16>>2]=c+7;v[b+32>>2]=v[b+32>>2]+7;c=w[c+7|0];if((c|0)==37){zc(d);b=v[d+36>>2];c=w[v[b+16>>2]]}if(c){break ga}if((Zb(b)|0)>0){break ga}xc(d);break ga}na:{oa:{c=v[d+36>>2];b=v[c+16>>2];if(w[b|0]!=78|w[b+1|0]!=79|(w[b+2|0]!=84|w[b+3|0]!=65)){break oa}if(w[b+4|0]!=84|w[b+5|0]!=73|(w[b+6|0]!=79|w[b+7|0]!=78)){break oa}v[d+200>>2]=v[d+200>>2]+8;v[c+16>>2]=b+8;v[c+32>>2]=v[c+32>>2]+8;b=w[b+8|0];if((b|0)==37){zc(d);c=v[d+36>>2];b=w[v[c+16>>2]]}pa:{if(b){break pa}if((Zb(c)|0)>0){break pa}xc(d)}b=w[v[v[d+36>>2]+16>>2]]-9|0;if(!(1<>>0<=23:0)){Pc(d,65,346997);e=0;break na}Fc(d);c=0;g=Ma-48|0;Ma=g;e=v[d+36>>2];b=v[e+16>>2];qa:{if(w[b|0]!=40){if(!(!v[d+212>>2]|v[d+172>>2]!=-1)){e=0;break qa}v[d+84>>2]=48;v[g+32>>2]=277143;e=0;nb(0,0,0,d,0,1,48,3,0,0,0,0,340716,g+32|0);v[d+12>>2]=0;if(v[d+288>>2]){break qa}v[d+212>>2]=1;break qa}ra:{if(v[d+292>>2]|(b-v[e+12>>2]|0)<501|(v[e+20>>2]-b|0)>499){break ra}Xg(e);b=v[d+36>>2];if(w[v[b+16>>2]]){break ra}if((Zb(b)|0)>0){break ra}xc(d)}b=0;sa:{ta:{while(1){Bc(d);Fc(d);f=kh(d);if(!f){break ta}e=b;ua:{if(b){while(1){if(Ef(f,v[e+4>>2])){gj(d,541,344299,f,0);if(_j(v[d+296>>2],f)){break ua}Qa[v[256556]](f);break ua}e=v[e>>2];if(e){continue}break}}e=Qa[v[256552]](8)|0;if(!e){v[g>>2]=290868;e=0;nb(0,0,0,0,0,23,2,3,290868,0,0,0,340689,g);Xj(b);break qa}v[e>>2]=0;v[e+4>>2]=0;o=e,p=Sd(f),v[o+4>>2]=p;va:{if(!c){b=e;break va}v[c>>2]=e}c=e}Fc(d);e=w[v[v[d+36>>2]+16>>2]];if((e|0)==124){continue}break}if((e|0)!=41){if(v[d+172>>2]==-1?v[d+212>>2]:0){break sa}v[d+84>>2]=49;v[g+16>>2]=247327;nb(0,0,0,d,0,1,49,3,0,0,0,0,340716,g+16|0);v[d+12>>2]=0;if(v[d+288>>2]){break sa}v[d+212>>2]=1;break sa}Bc(d);e=b;break qa}Pc(d,68,341566)}Xj(b);e=0}Ma=g+48|0;v[l+12>>2]=e;e=e?10:0;break na}c=0;g=Ma+-64|0;Ma=g;e=v[d+36>>2];b=v[e+16>>2];wa:{if(w[b|0]!=40){if(!(!v[d+212>>2]|v[d+172>>2]!=-1)){e=0;break wa}v[d+84>>2]=50;v[g+48>>2]=247191;e=0;nb(0,0,0,d,0,1,50,3,0,0,0,0,340716,g+48|0);v[d+12>>2]=0;if(v[d+288>>2]){break wa}v[d+212>>2]=1;break wa}xa:{if(v[d+292>>2]|(b-v[e+12>>2]|0)<501|(v[e+20>>2]-b|0)>499){break xa}Xg(e);b=v[d+36>>2];if(w[v[b+16>>2]]){break xa}if((Zb(b)|0)>0){break xa}xc(d)}e=0;ya:{while(1){Bc(d);Fc(d);f=lX(d);if(!f){break ya}b=e;za:{if(b){while(1){if(Ef(f,v[b+4>>2])){gj(d,541,344357,f,0);if(_j(v[d+296>>2],f)){break za}Qa[v[256556]](f);break za}b=v[b>>2];if(b){continue}break}}b=Qa[v[256552]](8)|0;Aa:{if(!b){v[g+32>>2]=290868;b=0;nb(0,0,0,0,0,23,2,3,290868,0,0,0,340689,g+32|0);break Aa}v[b>>2]=0;v[b+4>>2]=0;o=b,p=Sd(f),v[o+4>>2]=p}if(!_j(v[d+296>>2],f)){Qa[v[256556]](f)}if(!b){Xj(e);e=0;break wa}Ba:{if(!c){e=b;break Ba}v[c>>2]=b}c=b}Fc(d);b=w[v[v[d+36>>2]+16>>2]];if((b|0)==124){continue}break}if((b|0)!=41){if(v[d+172>>2]==-1?v[d+212>>2]:0){break wa}v[d+84>>2]=51;v[g+16>>2]=247273;nb(0,0,0,d,0,1,51,3,0,0,0,0,340716,g+16|0);v[d+12>>2]=0;if(v[d+288>>2]){break wa}v[d+212>>2]=1;break wa}Bc(d);break wa}if(v[d+172>>2]==-1?v[d+212>>2]:0){break wa}v[d+84>>2]=67;v[g>>2]=247233;nb(0,0,0,d,0,1,67,3,0,0,0,0,340716,g);v[d+12>>2]=0;if(v[d+288>>2]){break wa}v[d+212>>2]=1}Ma=g- -64|0;v[l+12>>2]=e;e=e?9:0}}g=e;if((e|0)<1){break da}Ca:{if(v[d+292>>2]){break Ca}b=v[d+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break Ca}oc(d)}b=w[v[v[d+36>>2]+16>>2]]-9|0;if(!(1<>>0<=23:0)){Pc(d,65,342960);b=v[l+12>>2];if(!b){break da}Xj(b);break da}Fc(d);v[l+8>>2]=0;e=1;Da:{Ea:{Fa:{Ga:{b=v[d+36>>2];c=v[b+16>>2];if(w[c|0]!=35){break Ga}Ha:{switch(w[c+1|0]-70|0){case 12:if(w[c+2|0]!=69|w[c+3|0]!=81|(w[c+4|0]!=85|w[c+5|0]!=73)){break Ga}if(w[c+6|0]!=82|w[c+7|0]!=69|w[c+8|0]!=68){break Ga}v[d+200>>2]=v[d+200>>2]+9;v[b+16>>2]=c+9;v[b+32>>2]=v[b+32>>2]+9;e=2;c=w[c+9|0];if((c|0)==37){zc(d);b=v[d+36>>2];c=w[v[b+16>>2]]}if(c&255){break Da}if((Zb(b)|0)>0){break Da}xc(d);break Da;case 3:if(w[c+2|0]!=77|w[c+3|0]!=80|(w[c+4|0]!=76|w[c+5|0]!=73)){break Ga}if(w[c+6|0]!=69|w[c+7|0]!=68){break Ga}v[d+200>>2]=v[d+200>>2]+8;v[b+16>>2]=c+8;v[b+32>>2]=v[b+32>>2]+8;e=3;c=w[c+8|0];if((c|0)==37){zc(d);b=v[d+36>>2];c=w[v[b+16>>2]]}if(c&255){break Da}if((Zb(b)|0)>0){break Da}xc(d);break Da;case 0:break Ha;default:break Ga}}if(w[c+2|0]!=73|w[c+3|0]!=88|(w[c+4|0]!=69|w[c+5|0]!=68)){break Ga}v[d+200>>2]=v[d+200>>2]+6;v[b+16>>2]=c+6;v[b+32>>2]=v[b+32>>2]+6;e=w[c+6|0];if((e|0)==37){zc(d);b=v[d+36>>2];e=w[v[b+16>>2]]}Ia:{if(e){break Ia}if((Zb(b)|0)>0){break Ia}xc(d)}b=w[v[v[d+36>>2]+16>>2]]-9|0;if(!(1<>>0<=23:0)){Pc(d,65,347096)}Fc(d);e=4;if(v[d+36>>2]){break Ga}v[d+172>>2]=3;break Fa}b=nH(d,0,0,0);v[d+172>>2]=3;if(b){break Ea}}Pc(d,v[d+84>>2],340942);break Da}v[l+8>>2]=b}f=e;j=v[l+8>>2];if(!(!j|(g|0)==1)){Ja:{b=j;e=b;if(!b){break Ja}while(1){h=e;e=e+1|0;c=w[h|0];if((c|0)==32){continue}break}while(1){Ka:{La:{Ma:{if((c|0)!=32){if(!c){break Ka}h=h+1|0;break Ma}while(1){e=c;c=32;if((e|0)==32){c=w[h+1|0];h=h+1|0;continue}break}if(!e){break La}}t[b|0]=c;b=b+1|0}c=w[h|0];continue}break}t[b|0]=0}}Na:{if(v[d+292>>2]){break Na}b=v[d+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break Na}oc(d)}Oa:{b=v[v[d+36>>2]+16>>2];c=w[b|0];e=c-9|0;if(!(e>>>0>23|!(1<>2]+16>>2];break Oa}if((c|0)==62){break Oa}Pc(d,65,342564);if(j){Qa[v[256556]](j)}b=v[l+12>>2];if(!b){break da}Xj(b);break da}if((b|0)==(i|0)){Md(d,1,341948);if(j){Qa[v[256556]](j)}b=v[l+12>>2];if(!b){break da}Xj(b);break da}Pa:{Qa:{b=v[d>>2];if(v[d+212>>2]|!b){break Qa}b=v[b+32>>2];if(!b){break Qa}Qa[b|0](v[d+4>>2],m,n,g,f,j,v[l+12>>2]);break Pa}b=v[l+12>>2];if(!b){break Pa}Xj(b)}b=v[d+324>>2];if(!(!b|!j|((f|0)==3|(f|0)==2))){i=Ma-16|0;Ma=i;b=v[d+352>>2];Ra:{if(b){if(sm(b,m,n)){break Ra}}Sa:{if(!v[d+348>>2]){b=Eo(10,v[d+296>>2]);v[d+348>>2]=b;if(!b){break Sa}}e=zH(m,i+12|0);b=v[d+296>>2];Ta:{if(!e){h=Zc(b,m,-1);e=0;break Ta}h=Zc(b,e,-1);e=Zc(v[d+296>>2],m,v[i+12>>2])}Ua:{b=sm(v[d+348>>2],h,e);Va:{if(!b){b=Qa[v[256552]](108)|0;if(!b){break Sa}v[b>>2]=0;v[b+4>>2]=4;if((ZX(v[d+348>>2],h,e,b)|0)>=0){break Va}break Ua}c=v[b+4>>2];if((c|0)>v[b>>2]){break Va}b=Qa[v[256557]](b,B(c,40)+28|0)|0;if(!b){break Sa}v[b+4>>2]=v[b+4>>2]<<1;if((ZX(v[d+348>>2],h,e,b)|0)<0){break Ua}}c=zH(n,i+12|0);e=v[d+296>>2];Wa:{if(!c){h=Zc(e,n,-1);f=0;break Wa}h=Zc(e,c,-1);f=Zc(v[d+296>>2],n,v[i+12>>2])}c=b+8|0;e=c+B(v[b>>2],20)|0;v[e>>2]=h;v[e+4>>2]=f;e=yl(j);v[i+12>>2]=e;f=Zc(v[d+296>>2],j,e);e=v[b>>2];c=c+B(e,20)|0;v[c+8>>2]=f;v[c+12>>2]=f+v[i+12>>2];v[c+16>>2]=v[d+96>>2]?260979:0;v[b>>2]=e+1;break Ra}Qa[v[256556]](b)}Yc(d,0)}Ma=i+16|0;b=v[d+324>>2]}if(b){Xa:{Ya:{b=v[d+352>>2];if(!b){b=Eo(10,v[d+296>>2]);v[d+352>>2]=b;if(!b){break Ya}}if(sm(b,m,n)){break Xa}GH(v[d+352>>2],m,n,g);break Xa}Yc(d,0)}}if(j){Qa[v[256556]](j)}Za:{if(v[d+292>>2]){break Za}b=v[d+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break Za}oc(d)}b=v[d+36>>2];i=v[b+16>>2];if(w[i|0]!=62){continue}break}}b=v[d+36>>2];if(w[v[b+16>>2]]!=62){break aa}if((b|0)!=(k|0)){gj(d,90,337926,0,0)}Bc(d)}Ma=l+16|0;break b;case 33:g=Ma-16|0;Ma=g;e=v[a+36>>2];c=v[e+16>>2];_a:{if(w[c|0]!=60|w[c+1|0]!=33|(w[c+2|0]!=78|w[c+3|0]!=79)){break _a}if(w[c+4|0]!=84|w[c+5|0]!=65|(w[c+6|0]!=84|w[c+7|0]!=73)){break _a}if(w[c+8|0]!=79|w[c+9|0]!=78){break _a}$a:{if(v[a+292>>2]){b=e;break $a}if((c-v[e+12>>2]|0)<501){b=e;break $a}b=e;if((v[b+20>>2]-c|0)>499){break $a}Js(a);b=v[a+36>>2];c=v[b+16>>2]}v[a+200>>2]=v[a+200>>2]+10;v[b+16>>2]=c+10;v[b+32>>2]=v[b+32>>2]+10;c=w[c+10|0];if((c|0)==37){zc(a);b=v[a+36>>2];c=w[v[b+16>>2]]}ab:{if(c&255){break ab}if((Zb(b)|0)>0){break ab}xc(a)}b=w[v[v[a+36>>2]+16>>2]]-9|0;if(!(1<>>0<=23:0)){Pc(a,65,347030);break _a}Fc(a);f=kh(a);if(!f){Md(a,48,0);break _a}b=w[v[v[a+36>>2]+16>>2]]-9|0;if(!(1<>>0<=23:0)){Pc(a,65,346857);break _a}if(Ko(f,58)){qm(a,205,346535,f,0)}Fc(a);c=Kz(a,g+12|0,0);Fc(a);b=v[a+36>>2];bb:{if(w[v[b+16>>2]]==62){if((b|0)!=(e|0)){Pc(a,65,338130)}Bc(a);b=v[a>>2];if(v[a+212>>2]|!b){break bb}b=v[b+28>>2];if(!b){break bb}Qa[b|0](v[a+4>>2],f,v[g+12>>2],c);break bb}Md(a,49,0)}if(c){Qa[v[256556]](c)}b=v[g+12>>2];if(!b){break _a}Qa[v[256556]](b)}Ma=g+16|0;break b;case 0:break c;default:break b}}Is(a);break b}Hs(a)}if(v[a+172>>2]!=-1){cb:{if(v[a+96>>2]){break cb}b=v[a+40>>2];if((b|0)==1){Jz(a);if(v[a+96>>2]){break cb}b=v[a+40>>2]}if((b|0)<2){break cb}b=v[v[a+36>>2]+16>>2];if(w[b|0]!=60|w[b+1|0]!=33|w[b+2|0]!=91){break cb}kH(a)}v[a+172>>2]=3}}function bt(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,x=0,z=0,A=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;j=Ma-16016|0;Ma=j;v[j+16008>>2]=g;v[j+16012>>2]=f;K=v[a+52>>2];H=v[a>>2];n=v[a+176>>2];L=v[v[n+536>>2]+544>>2]<<16;eb(j+15856|0,0,128);v[j+16e3>>2]=0;f=j+15840|0;v[f>>2]=0;v[f+4>>2]=0;v[j+15992>>2]=0;v[j+15996>>2]=0;v[j+15824>>2]=0;v[j+15828>>2]=0;v[j+15832>>2]=0;v[j+15836>>2]=0;f=j+15792|0;v[f+28>>2]=0;v[f+20>>2]=0;v[f+24>>2]=0;v[f+12>>2]=0;v[f+16>>2]=10;v[f+8>>2]=16;m=a+4|0;I=m;v[f+4>>2]=m;v[f>>2]=H;s=j+15752|0;f=s;v[f+28>>2]=0;v[f+20>>2]=0;v[f+24>>2]=0;v[f+12>>2]=0;v[f+16>>2]=10;v[f+8>>2]=20;v[f+4>>2]=m;v[f>>2]=H;k=j+15720|0;f=k;v[f+28>>2]=0;v[f+20>>2]=0;v[f+24>>2]=0;v[f+12>>2]=0;v[f+16>>2]=10;v[f+8>>2]=20;v[f+4>>2]=m;v[f>>2]=H;f=j+15708|0;v[f>>2]=0;v[f+4>>2]=0;f=j+15700|0;v[f>>2]=0;v[f+4>>2]=0;v[j+15692>>2]=0;v[j+15696>>2]=0;v[j+15688>>2]=m;p=j+3904|0;D=eb(p+8|0,0,11776);v[p+4>>2]=c;v[p>>2]=a;i=v[a>>2];f=p+11612|0;v[f+28>>2]=0;v[f+20>>2]=0;v[f+24>>2]=0;v[f+12>>2]=0;v[f+16>>2]=10;v[f+8>>2]=8;v[f+4>>2]=m;v[f>>2]=i;m=eb(p+7744|0,0,3868);i=w[a+184|0];v[p+7760>>2]=K;t[p+7757|0]=i;v[p+7752>>2]=f;v[p+7748>>2]=m;v[p+7744>>2]=a;eb(p+3876|0,0,3868);i=w[a+184|0];v[p+3892>>2]=K;t[p+3889|0]=i;v[p+3884>>2]=f;v[p+3880>>2]=m;v[p+3876>>2]=a;eb(D,0,3868);i=w[a+184|0];v[p+24>>2]=K;t[p+21|0]=i;v[p+16>>2]=f;v[p+12>>2]=m;v[p+8>>2]=a;v[p+11644>>2]=v[a+40>>2];v[p+11648>>2]=v[a+48>>2];v[p+11652>>2]=v[a+52>>2];i=v[d+4>>2];f=v[d>>2];v[p+11684>>2]=a+240;v[p+11680>>2]=g;v[p+11676>>2]=j+15688;v[p+11672>>2]=k;v[p+11668>>2]=s;v[p+11656>>2]=f;v[p+11660>>2]=i;t[p+11666|0]=w[a+185|0];f=v[a+228>>2];v[p+11688>>2]=f;i=v[a+232>>2];v[p+11700>>2]=6554;v[p+11692>>2]=i;t[p+11667|0]=1;t[p+11744|0]=0;u[p+11664>>1]=0;g=f;f=f>>31;g=g+f^f;f=i>>31;f=f+i^f;v[p+11696>>2]=((f|0)<(g|0)?g:f)<<1;t[j+15791|0]=w[a+9|0]!=0;v[h>>2]=v[v[n+536>>2]+540>>2]<<16;p=w[a+9|0]?v[v[n+532>>2]+1556>>2]:48;D=p;i=0;k=Ma-16|0;Ma=k;v[k+12>>2]=0;f=cc(H,20,k+12|0);a:{if(v[k+12>>2]){break a}v[f+4>>2]=I;v[f>>2]=H;g=yb(H,8,0,D,0,k+12|0);v[f+8>>2]=g;if(v[k+12>>2]){if(f){Qa[v[H+8>>2]](H,f)}break a}v[f+12>>2]=g;v[f+16>>2]=D;i=f}Ma=k+16|0;b:{if(!i){l=64;break b}D=Ma-16|0;Ma=D;g=j+15792|0;k=g;c:{d:{e:{if(y[g+12>>2]>=17){break e}v[D+12>>2]=0;f=v[k+8>>2];if(2147483647/(f>>>0)>>>0<17){break d}f=B(f,17);P=k,Q=yb(v[k>>2],1,v[k+24>>2],f,v[k+28>>2],D+12|0),v[P+28>>2]=Q;if(v[D+12>>2]){break d}v[k+24>>2]=f;v[k+12>>2]=17;if(y[k+20>>2]<=17){break e}f=v[k+4>>2];if(!(!f|v[f>>2])){v[f>>2]=130}}v[k+20>>2]=17;break c}f=v[k+4>>2];if(!(!f|v[f>>2])){v[f>>2]=64}}Ma=D+16|0;q=v[g+28>>2];if(v[I>>2]){break b}D=j+15688|4;f=v[b+4>>2];v[q>>2]=v[b>>2];v[q+4>>2]=f;f=v[b+12>>2];v[q+8>>2]=v[b+8>>2];v[q+12>>2]=f;J=a+92|0;H=j|4;N=j+15516|0;O=j+11648|0;M=2e7;s=0;g=0;f:while(1){E=0;while(1){f=g;g:{if(y[q+12>>2]>=y[q+8>>2]){b=F?11:14;break g}h:{b=Jk(q);switch((b&255)-11|0){case 0:case 3:break h;default:break g}}b=w[a+9|0]?0:b}z=w[a+8|0];if(z){i:{if(f&255){break i}j:{g=b&255;switch(g-1|0){case 0:case 2:case 9:case 10:case 11:case 12:case 13:break i;default:break j}}if(g>>>0>31){break i}v[i+12>>2]=v[i+8>>2];g=0;continue}m=b&255;k=(m|0)==12;g=m>>>0>31;G=G&255?g?G:k?G:0:G;s=(s|0)<1?s:(m|0)==10?s:(m|0)==11?s:k?s:g?s:0}l=0;if(v[I>>2]){break b}M=M-1|0;if(!M){l=18;break b}g=f;k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{r=b&255;switch(r|0){case 28:break t;case 30:case 31:break u;case 27:break v;case 26:break w;case 25:break x;case 22:break y;case 21:break z;case 19:case 20:break A;case 0:case 2:case 17:break C;case 14:break D;case 13:break E;case 12:break F;case 11:break G;case 10:case 29:break H;case 9:break I;case 8:case 24:break J;case 6:case 7:break K;case 5:break L;case 4:break M;case 3:case 23:break N;case 1:case 18:break O;case 16:break P;case 15:break Q;default:break s}}if(!w[a+9|0]){break k}l=18;if(w[a+93|0]){break b}b=Bh(i);if((b|0)<0){break k}v[a+120>>2]=b;break k}if(!w[a+9|0]){break k}if(!v[a+96>>2]){l=18;break b}if(Qa[v[v[a+548>>2]+12>>2]](J,v[a+120>>2],v[a+124>>2],v[a+128>>2])|0){l=Qa[v[v[a+548>>2]+16>>2]](J,v[a+120>>2],v[a+124>>2],v[a+128>>2])|0;if(l){break b}}l=18;r=Bh(i);if(r>>>0>p>>>0){break b}g=0;o=B(r,v[J+20>>2]);b=v[i+12>>2]-v[i+8>>2]>>3;if(r){m=b-o|0;l=m+r|0;while(1){k=v[J+24>>2];b=g+m|0;x=ed(i,b);A=1;if(y[J+20>>2]>=2){while(1){x=xb(v[k+4>>2],ed(i,l))+x|0;k=k+4|0;l=l+1|0;A=A+1|0;if(A>>>0>2]){continue}break}}LA(i,b,x);g=g+1|0;if((r|0)!=(g|0)){continue}break}}i_(i,o-r|0);t[a+93|0]=1;g=f;continue}m=a;k=i;C=j+15752|0;b=h;x=j+15791|0;R:{if(!z){if(w[j+15692|0]){break k}f=0;break R}f=v[v[n+32>>2]+4>>2]}NA(m,k,C,b,x,f);if(!w[n+548|0]){break C}break b}m=a;k=i;C=j+15720|0;b=h;x=j+15791|0;S:{if(!z){if(w[j+15692|0]){break k}f=0;break S}f=v[v[n+32>>2]>>2]}NA(m,k,C,b,x,f);if(!w[n+548|0]){break C}break b}if(!(w[j+15791|0]|v[i+12>>2]-v[i+8>>2]>>3>>>0<2)){P=h,Q=ed(i,0)+L|0,v[P>>2]=Q}t[j+15791|0]=1;if(w[n+548|0]){break b}b=v[j+16008>>2]+kd(i)|0;v[j+16008>>2]=b;if(v[n+468>>2]){break k}at(j+3904|0,v[j+16012>>2],b);v[i+12>>2]=v[i+8>>2];continue}g=0;k=v[i+12>>2]-v[i+8>>2]>>3;if(!k){break l}while(1){P=j,Q=v[j+16012>>2]+ed(i,g)|0,v[P+16012>>2]=Q;b=v[j+16008>>2]+ed(i,g|1)|0;v[j+16008>>2]=b;$s(j+3904|0,v[j+16012>>2],b);g=g+2|0;if(k>>>0>g>>>0){continue}break}break l}k=v[i+12>>2]-v[i+8>>2]>>3;if(!k){break l}g=(r|0)==6;b=0;while(1){m=ed(i,b);T:{if(g&255){l=m+v[j+16012>>2]|0;v[j+16012>>2]=l;A=v[j+16008>>2];break T}A=m+v[j+16008>>2]|0;v[j+16008>>2]=A;l=v[j+16012>>2]}$s(j+3904|0,l,A);g=g^1;b=b+1|0;if((k|0)!=(b|0)){continue}break}break l}b=6;g=0;o=v[i+12>>2]-v[i+8>>2]>>3;if(o>>>0>=6){while(1){k=ed(i,g)+v[j+16012>>2]|0;C=k;m=ed(i,g|1)+v[j+16008>>2]|0;z=m;k=ed(i,g+2|0)+k|0;x=k;m=ed(i,g+3|0)+m|0;k=ed(i,g+4|0)+k|0;g=ed(i,g+5|0)+m|0;Oo(j+3904|0,C,z,x,m,k,g);v[j+16008>>2]=g;v[j+16012>>2]=k;g=b;b=b+6|0;if(o>>>0>=b>>>0){continue}break}}if((r|0)!=24){break l}P=j,Q=v[j+16012>>2]+ed(i,g)|0,v[P+16012>>2]=Q;b=v[j+16008>>2]+ed(i,g|1)|0;v[j+16008>>2]=b;$s(j+3904|0,v[j+16012>>2],b);break l}if(!z){break k}h_(j+3904|0);t[j+15791|0]=1;v[i+12>>2]=v[i+8>>2];continue}if(!((F|0)<=16|z)){l=18;break b}if(!(!z|(F|0)<=16)){l=18;break b}F=F+1|0;q=qn(j+15792|0,F);b=Bh(i);U:{if(!w[a+8|0]){break U}g=v[n+616>>2];if(!g){break U}b=Bl(b,g);if(!b){b=-1;break U}b=v[b>>2]}if((r|0)!=29){break r}g=f;l=18;v[q>>2]=0;v[q+4>>2]=0;v[q+8>>2]=0;v[q+12>>2]=0;b=v[n+568>>2]+b|0;if(b>>>0>2]){f=v[n+576>>2]+(b<<2)|0;b=v[f>>2];v[q+4>>2]=b;v[q+12>>2]=b;v[q+8>>2]=v[f+4>>2];b=0}else{b=1}if(!b){continue}break b}l=18;if((F|0)<1){break b}F=F-1|0;q=qn(j+15792|0,F);continue}V:{W:{X:{Y:{Z:{m=Jk(q)&255;switch(m-8|0){case 0:case 5:case 11:case 17:case 23:case 24:break C;case 29:break W;case 28:break X;case 27:break Y;case 26:break Z;default:break V}}MA(i,j+16012|0,j+16008|0,j+3904|0,456048,0);continue}MA(i,j+16012|0,j+16008|0,j+3904|0,456060,0);v[i+12>>2]=v[i+8>>2];continue}MA(i,j+16012|0,j+16008|0,j+3904|0,456072,0);continue}MA(i,j+16012|0,j+16008|0,j+3904|0,456084,1);continue}if(w[a+9|0]|m>>>0>37){break k}k=w[a+8|0];if(!(!k|(s|0)<1|(m|0)==17)){s=0;v[i+12>>2]=v[i+8>>2];continue}_:{switch(m-1|0){case 0:case 1:if(!k){break k}g=ed(i,0);k=ed(i,2);b=ed(i,4);LA(i,2,k-(ed(i,1)+g|0)|0);LA(i,4,b-(ed(i,3)+k|0)|0);NA(a,i,(m|0)==1?j+15720|0:j+15752|0,h,j+15791|0,v[v[n+32>>2]+(((m|0)!=1)<<2)>>2]);g=f;if(!w[n+548|0]){break C}break b;case 2:b=kd(i);rn(i,(kd(i)|0)!=0&(b|0)!=0);continue;case 3:rn(i,(kd(i)|kd(i))!=0);continue;case 4:rn(i,!kd(i));continue;case 5:if(!k){break C}h=v[n+4>>2];l=18;b=Bh(i);g=Bh(i);s=kd(i);f=kd(i);k=kd(i);if(w[n+47|0]|e){break b}e=v[v[h+128>>2]+52>>2];$:{if(!v[n+580>>2]){if(!e){break b}G=v[v[n+32>>2]>>2];break $}G=v[v[n+32>>2]>>2];if(e){break $}g=p_(n,g);b=p_(n,b)}if((g|0)<0|(b|0)<0){break b}D=f+G|0;if(w[n+46|0]){d=v[n+8>>2];c=v[v[d+156>>2]>>2];l=d0(c,2);if(l){break b}a=v[c+88>>2];v[a+32>>2]=b;v[a+8>>2]=0;v[a+12>>2]=0;u[a+4>>1]=514;v[a>>2]=g;u[a+36>>1]=2;b=D-k|0;v[a+40>>2]=(((b>>31)+b|0)+32768&-65536)>>16;v[a+44>>2]=((s+(s>>31)|0)+32768&-65536)>>16;v[d+128>>2]=2;a=v[c+52>>2];v[d+72>>2]=1668246896;v[d+132>>2]=a;v[c+84>>2]=2;l=0;break b}e=v[n+12>>2];v[e+56>>2]=0;v[e+84>>2]=0;f=e;m=f;h=v[f+24>>2];if(h){f=h+(u[e+22>>1]<<3)|0}else{f=0}v[m+60>>2]=f;h=e- -64|0;f=v[e+28>>2];if(f){f=f+u[e+22>>1]|0}else{f=0}v[h>>2]=f;f=e;m=f;h=v[f+32>>2];if(h){f=h+(u[e+20>>1]<<1)|0}else{f=0}v[m+68>>2]=f;if(w[e+16|0]){f=u[e+22>>1]<<3;v[e+76>>2]=f+v[e+40>>2];v[e+80>>2]=f+v[e+44>>2]}f=e;m=f;h=v[f+52>>2];if(h){e=h+(v[e+48>>2]<<5)|0}else{e=0}v[m+88>>2]=e;l=n_(n,g,j+32|0);if(l){break b}e=v[n+36>>2];z=v[e>>2];r=v[e+4>>2];e=v[n+32>>2];o=v[e>>2];m=v[e+4>>2];e=j+32|0;bt(a,e,c,d,1,0,0,j);m_(n,e);aa:{if(w[j+15791|0]){g=v[n+32>>2];break aa}e=v[n+36>>2];z=v[e>>2];r=v[e+4>>2];g=v[n+32>>2];o=v[g>>2];m=v[g+4>>2]}v[g>>2]=0;v[g+4>>2]=0;l=n_(n,b,j+32|0);if(l){break b}b=a;a=j+32|0;bt(b,a,c,d,1,D-k|0,s,j);m_(n,a);a=v[n+32>>2];v[a>>2]=o;v[a+4>>2]=m;a=v[n+36>>2];v[a>>2]=z;v[a+4>>2]=r;l=0;break b;case 6:if(!k){break k}b=kd(i);v[v[n+36>>2]+4>>2]=b;b=kd(i);v[v[n+36>>2]>>2]=b;g=kd(i);b=kd(i);k=v[n+32>>2];v[k>>2]=b+v[k>>2];v[k+4>>2]=g+v[k+4>>2];t[j+15791|0]=1;if(w[n+47|0]){break b}if(!(f&255)){g=0;v[i+12>>2]=v[i+8>>2];continue}v[j+16012>>2]=b+v[j+16012>>2];v[j+16008>>2]=g+v[j+16008>>2];g=f;v[i+12>>2]=v[i+8>>2];continue;case 8:b=kd(i);if((b|0)==-2147483648){vf(i,2147483647);continue}f=b;b=b>>31;vf(i,f+b^b);continue;case 9:vf(i,kd(i)+kd(i)|0);continue;case 10:b=kd(i);vf(i,kd(i)-b|0);continue;case 11:b=i;ba:{if(!(!k|!(G&255))){G=0;g=Bh(i);k=Bh(i);break ba}g=kd(i);k=kd(i)}vf(b,Ub(k,g));g=f;continue;case 13:b=kd(i);if((b|0)==-2147483648){vf(i,2147483647);continue}vf(i,0-b|0);continue;case 14:rn(i,(kd(i)|0)==(kd(i)|0));continue;case 15:if(!k){continue}g=Bh(i);o=Bh(i);b=v[i+12>>2]-v[i+8>>2]>>3;ca:{switch(g|0){case 0:if((o|0)!=3){l=18;break b}if(f&255){if(!v[n+468>>2]){l=18;break b}l=18;if(v[n+472>>2]!=7){break b}}vf(i,v[j+16012>>2]);vf(i,v[j+16008>>2]);E=2;break n;case 1:l=18;if(o){break b}s=0;g=0;E=0;if(!(f&255)){continue}if(mw(n,6)){l=0;break b}v[n+468>>2]=1;v[n+472>>2]=0;break m;case 2:if(o){l=18;break b}s=0;g=0;E=0;if(!(f&255)){continue}if(!v[n+468>>2]){l=18;break b}k=v[n+472>>2];v[n+472>>2]=k+1;g=f;if(k-1>>>0>5){continue}l=18;if(mw(n,1)){break b}b=k<<1;b=(j+15824|0)+(((k|0)>3?b-6|0:b)<<2)|0;v[b-8>>2]=v[j+16012>>2];v[b-4>>2]=v[j+16008>>2];da:{switch(k-3|0){case 0:case 3:break da;default:continue}}Oo(j+3904|0,v[j+15824>>2],v[j+15828>>2],v[j+15832>>2],v[j+15836>>2],v[j+15840>>2],v[j+15844>>2]);continue f;case 3:E=1;l=18;if((o|0)!=1){break b}s=0;g=0;if(!(f&255)){continue}v[(j+15720|0)+20>>2]=0;v[(j+15752|0)+20>>2]=0;b=D;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=0;v[b+4>>2]=0;u[j+15692>>1]=256;v[j+15688>>2]=I;break n;case 12:case 13:v[i+12>>2]=v[i+8>>2];break m;case 14:case 15:case 16:case 17:case 18:l=18;m=v[n+644>>2];if(!m){break b}E=(g+((g|0)==18)|0)-13|0;if((o|0)!=(B(E,v[m>>2])|0)){break b}l=b-o|0;b=E+l|0;k=0;while(1){s=ed(i,l);g=1;if(y[m>>2]>=2){while(1){s=xb(ed(i,b),v[v[m+136>>2]+(g<<2)>>2])+s|0;b=b+1|0;g=g+1|0;if(g>>>0>2]){continue}break}}LA(i,l,s);l=l+1|0;k=k+1|0;if((E|0)!=(k|0)){continue}break};i_(i,o-E|0);break n;case 19:if((o|0)!=1){l=18;break b}k=v[n+644>>2];if(!k){l=18;break b}g=Bh(i);if((g|0)<0){l=18;break b}l=18;b=v[k>>2];if(y[n+652>>2]>>0){break b}cb(v[n+648>>2]+(g<<2)|0,v[k+136>>2],b<<2);break m;case 20:l=18;if((o|0)!=2){break b}vf(i,kd(i)+kd(i)|0);break o;case 21:l=18;if((o|0)!=2){break b}b=kd(i);vf(i,kd(i)-b|0);break o;case 22:l=18;if((o|0)!=2){break b}b=kd(i);vf(i,xb(kd(i),b));break o;case 23:if((o|0)!=2){l=18;break b}g=kd(i);b=kd(i);l=18;if(!g){break b}vf(i,Ub(b,g));break o;case 24:if((o|0)!=2){l=18;break b}if(!v[n+644>>2]){l=18;break b}g=Bh(i);if((g|0)<0){l=18;break b}l=18;if(g>>>0>=y[n+652>>2]){break b}b=kd(i);v[v[n+648>>2]+(g<<2)>>2]=b;break m;case 25:if((o|0)!=1){l=18;break b}if(!v[n+644>>2]){l=18;break b}b=Bh(i);if((b|0)<0){l=18;break b}l=18;if(b>>>0>=y[n+652>>2]){break b}vf(i,v[v[n+648>>2]+(b<<2)>>2]);break o;case 27:l=18;if((o|0)!=4){break b}g=kd(i);b=kd(i);vf(i,(P=kd(i),Q=kd(i),R=(b|0)>(g|0),R?P:Q));break o;case 28:l=18;if(o){break b}k=v[n+536>>2];g=v[k+648>>2];b=g;b=b<<13^b;b=b>>>17^b;v[k+648>>2]=b^b<<5;E=1;vf(i,(g&65535)+1|0);break n;default:break ca}}if((o|0)<0){l=18;break b}l=18;if((g|0)<0){break b}E=0;s=0;g=f;b=1;f=(o|0)<3?o:3;if((f|0)<1){continue}while(1){P=(j+15992|0)+(f-b<<2)|0,Q=kd(i),v[P>>2]=Q;k=(b|0)==(f|0);b=b+1|0;if(!k){continue}break};s=f;continue;case 16:if(!k){continue}if((E|0)>=1){E=E-1|0;continue}l=18;if(!s){break b}s=s-1|0;vf(i,v[(j+15992|0)+(s<<2)>>2]);continue;case 17:kd(i);continue;case 19:f=Bh(i);b=kd(i);if(f>>>0>31){continue}v[(j+15856|0)+(f<<2)>>2]=b;continue;case 20:b=Bh(i);if(b>>>0>31){continue}vf(i,v[(j+15856|0)+(b<<2)>>2]);continue;case 21:g=kd(i);b=kd(i);vf(i,(P=kd(i),Q=kd(i),R=(b|0)>(g|0),R?P:Q));g=f;continue;case 22:k=v[n+536>>2];g=v[k+648>>2];b=g;b=b<<13^b;b=b>>>17^b;v[k+648>>2]=b^b<<5;vf(i,(g&65535)+1|0);g=f;continue;case 23:b=kd(i);vf(i,xb(kd(i),b));continue;case 25:k=kd(i);ea:{if((k|0)<1){g=0;break ea}b=k>>>((k|0)>9)|0;while(1){g=b;b=(Ub(k,b)+b|0)+1>>1;if((b|0)!=(g|0)){continue}break}}vf(i,g);g=f;continue;case 26:b=kd(i);vf(i,b);vf(i,b);continue;case 27:g=kd(i);b=kd(i);vf(i,g);vf(i,b);g=f;continue;case 28:o=Bh(i);m=v[i+12>>2]-v[i+8>>2]>>3;if(!m){continue}f=i;b=i;k=m-1|0;fa:{if((o|0)<=-1){break fa}k=0;if(m>>>0<=o>>>0){break fa}k=m+(o^-1)|0}vf(f,ed(b,k));continue;case 29:b=Bh(i);k=0;A=Bh(i);ga:{if((A|0)<2){break ga}if(A>>>0>v[i+12>>2]-v[i+8>>2]>>3>>>0){b=v[i+4>>2];if(!b|v[b>>2]){break ga}v[b>>2]=130;break ga}C=(b|0)%(A|0)|0;if(!C){break ga}l=0-A|0;z=0;r=2;b=-1;f=-1;while(1){ha:{if((b|0)!=(f|0)){x=v[i+8>>2];o=z;m=r;break ha}x=v[i+8>>2];f=b+1|0;b=x+(f<<3)|0;o=v[b>>2];m=v[b+4>>2];b=f}b=b+C|0;b=((b|0)<(A|0)?A&b>>31:l)+b|0;x=(b<<3)+x|0;z=v[x>>2];r=v[x+4>>2];v[x>>2]=o;v[x+4>>2]=m;k=k+1|0;if((A|0)!=(k|0)){continue}break}}continue;case 32:break _;default:break C}}if(!k|!(f&255)){break k}P=j,Q=kd(i),v[P+16008>>2]=Q;P=j,Q=kd(i),v[P+16012>>2]=Q;v[n+468>>2]=0;v[i+12>>2]=v[i+8>>2];continue}if(!z){break k}g=kd(i);b=v[n+36>>2];v[b+4>>2]=0;v[b>>2]=g;g=kd(i);b=v[n+32>>2];v[b>>2]=g+v[b>>2];t[j+15791|0]=1;if(w[n+47|0]){break b}if(!(f&255)){g=0;v[i+12>>2]=v[i+8>>2];continue}v[j+16012>>2]=g+v[j+16012>>2];g=f;v[i+12>>2]=v[i+8>>2];continue}if(!z|f&255){break B}at(j+3904|0,v[j+16012>>2],v[j+16008>>2]);v[(j+15720|0)+20>>2]=0;v[(j+15752|0)+20>>2]=0;b=D;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=0;v[b+4>>2]=0;u[j+15692>>1]=256;v[j+15688>>2]=I;if((F|0)>=1){while(1){b=(F|0)>1;F=F-1|0;q=qn(j+15792|0,F);if(b){continue}break}F=0}v[q+12>>2]=v[q+4>>2];g=1}v[i+12>>2]=v[i+8>>2];continue}ia:{ja:{if(v[i+12>>2]-v[i+8>>2]>>3!=1){if(v[i+12>>2]-v[i+8>>2]>>3!=5){break ia}if(!w[j+15791|0]){break ja}break ia}if(w[j+15791|0]){break ia}}P=h,Q=ed(i,0)+L|0,v[P>>2]=Q}t[j+15791|0]=1;if(w[n+548|0]){break b}h_(j+3904|0);if(w[a+9|0]|w[a+8|0]|v[i+12>>2]-v[i+8>>2]>>3>>>0<2){break b}l=18;if(e){break b}e=Bh(i);b=Bh(i);P=j,Q=kd(i),v[P+16008>>2]=Q;P=j,Q=kd(i),v[P+16012>>2]=Q;l=o_(n,e,j+32|0);if(l){break b}e=j+32|0;bt(a,e,c,d,1,v[j+16012>>2],v[j+16008>>2],j);Qa[v[n+600>>2]](v[n+4>>2],e+4|0,v[e+8>>2]-v[e+4>>2]|0);l=o_(n,b,e);if(l){break b}l=0;b=a;a=j+32|0;bt(b,a,c,d,1,0,0,j);Qa[v[n+600>>2]](v[n+4>>2],a+4|0,v[a+8>>2]-v[a+4>>2]|0);break b}if(w[j+15692|0]?v[i+12>>2]-v[i+8>>2]>>3>>>0>=2:0){break k}NA(a,i,j+15720|0,h,j+15791|0,0);if(w[n+548|0]){break b}if((r|0)==19){b=v[(j+15752|0)+20>>2]+v[(j+15720|0)+20>>2]|0;if(b>>>0>=97){b=v[j+15688>>2];if(!(!b|v[b>>2])){v[b>>2]=18}v[i+12>>2]=v[i+8>>2];continue}v[j+15696>>2]=b;u[j+15692>>1]=257;v[j+15700>>2]=b+7>>>3;g=0;if(!b){break k}while(1){P=(g+j|0)+15704|0,Q=Jk(q),t[P|0]=Q;g=g+1|0;if(g>>>0>2]){continue}break}break k}g=eb(j+32|0,0,3868);b=w[a+184|0];v[g+16>>2]=K;t[g+13|0]=b;v[g+8>>2]=N;v[g+4>>2]=O;v[g>>2]=a;b=H;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=0;v[b+4>>2]=0;v[j>>2]=I;b=v[(j+15752|0)+20>>2]+v[(j+15720|0)+20>>2]|0;ka:{if(b>>>0>=97){b=v[j>>2];if(!b|v[b>>2]){break ka}v[b>>2]=18;break ka}v[j+8>>2]=b;u[j+4>>1]=257;v[j+12>>2]=b+7>>>3;g=0;if(!b){break ka}while(1){P=g+j|0,Q=Jk(q),t[P+16|0]=Q;g=g+1|0;if(g>>>0>2]){continue}break}}kw(j+32|0,j+15752|0,j+15720|0,j,0,0);g=f;v[i+12>>2]=v[i+8>>2];continue}if(!(w[j+15791|0]|v[i+12>>2]-v[i+8>>2]>>3>>>0<3)){P=h,Q=ed(i,0)+L|0,v[P>>2]=Q}t[j+15791|0]=1;if(w[n+548|0]){break b}P=j,Q=v[j+16008>>2]+kd(i)|0,v[P+16008>>2]=Q;b=v[j+16012>>2]+kd(i)|0;v[j+16012>>2]=b;if(v[n+468>>2]){break k}at(j+3904|0,b,v[j+16008>>2]);v[i+12>>2]=v[i+8>>2];continue}if(!(w[j+15791|0]|v[i+12>>2]-v[i+8>>2]>>3>>>0<2)){P=h,Q=ed(i,0)+L|0,v[P>>2]=Q}t[j+15791|0]=1;if(w[n+548|0]){break b}b=v[j+16012>>2]+kd(i)|0;v[j+16012>>2]=b;if(v[n+468>>2]){break k}at(j+3904|0,b,v[j+16008>>2]);v[i+12>>2]=v[i+8>>2];continue}g=0;m=v[i+12>>2]-v[i+8>>2]>>3;if(m>>>0>6){break q}break p}o=v[i+12>>2]-v[i+8>>2]>>3;m=o&-3;b=o&2;if(m>>>0<=b>>>0){break l}while(1){la:{if(o-b&1){l=ed(i,b)+v[j+16012>>2]|0;b=b+1|0;break la}l=v[j+16012>>2]}g=ed(i,b)+v[j+16008>>2]|0;z=g;k=ed(i,b+1|0)+l|0;g=ed(i,b+2|0)+g|0;x=g;g=ed(i,b+3|0)+g|0;Oo(j+3904|0,l,z,k,x,k,g);v[j+16008>>2]=g;v[j+16012>>2]=k;b=b+4|0;if(m>>>0>b>>>0){continue}break}break l}o=v[i+12>>2]-v[i+8>>2]>>3;m=o&-3;b=o&2;if(m>>>0<=b>>>0){break l}while(1){k=j+3904|0;g=i;ma:{if(o-b&1){l=ed(i,b)+v[j+16008>>2]|0;b=b+1|0;break ma}l=v[j+16008>>2]}C=k;g=ed(g,b)+v[j+16012>>2]|0;z=g;g=ed(i,b+1|0)+g|0;x=g;k=ed(i,b+2|0)+l|0;g=ed(i,b+3|0)+g|0;Oo(C,z,l,x,k,g,k);v[j+16008>>2]=k;v[j+16012>>2]=g;b=b+4|0;if(m>>>0>b>>>0){continue}break}break l}b=v[i+12>>2]-v[i+8>>2]>>3;C=b&-3;g=b&2;if(C>>>0<=g>>>0){break l}z=(r|0)==31;while(1){na:{if(z){b=ed(i,g);A=v[j+16008>>2];r=v[j+16012>>2]+b|0;k=g+1|0;x=r+ed(i,k)|0;m=ed(i,g+2|0)+A|0;b=m+ed(i,g+3|0)|0;z=0;if((C-g|0)!=5){k=g;l=x;break na}l=ed(i,g+4|0)+x|0;break na}r=v[j+16012>>2];o=ed(i,g);m=v[j+16008>>2];z=1;k=g+1|0;b=ed(i,k);A=m+o|0;m=ed(i,g+2|0)+A|0;x=b+r|0;l=ed(i,g+3|0)+x|0;if((C-g|0)!=5){k=g;b=m;break na}b=ed(i,g+4|0)+m|0}Oo(j+3904|0,r,A,x,m,l,b);v[j+16008>>2]=b;v[j+16012>>2]=l;g=k+4|0;if(C>>>0>g>>>0){continue}break}break l}b=Jk(q);rn(i,(Jk(q)<<16|b<<24)>>16);continue}if(r>>>0<=246){rn(i,r-139|0);continue}if(r>>>0<=250){rn(i,(Jk(q)+(r<<8)|0)-63124|0);continue}if((r|0)!=255){rn(i,64148-(Jk(q)+(r<<8)|0)|0);continue}b=Jk(q);b=Jk(q)<<16|b<<24|Jk(q)<<8|Jk(q);if(w[a+8|0]){rn(i,b);G=b+32e3>>>0<64001?G:G&255?G:1;continue}vf(i,b);continue}g=f;l=18;v[q>>2]=0;v[q+4>>2]=0;v[q+8>>2]=0;v[q+12>>2]=0;m=v[n+564>>2]+b|0;if(m>>>0>2]){k=v[n+572>>2];f=k+(m<<2)|0;b=v[f>>2];v[q+4>>2]=b;oa:{if(w[n+48|0]){f=v[n+612>>2];if(f){k=0;if(!b){break oa}k=v[f+(m<<2)>>2]+b|0;break oa}f=b;b=v[n+608>>2];b=f+((b|0)>0?b:0)|0;v[q+4>>2]=b;k=v[(k+(m<<2)|0)+4>>2];break oa}k=v[f+4>>2]}v[q+12>>2]=b;v[q+8>>2]=k;b=0}else{b=1}if(!b){continue}break b}while(1){P=j,Q=v[j+16012>>2]+ed(i,g)|0,v[P+16012>>2]=Q;b=v[j+16008>>2]+ed(i,g|1)|0;v[j+16008>>2]=b;$s(j+3904|0,v[j+16012>>2],b);b=g+8|0;g=g+2|0;if(b>>>0>>0){continue}break}}if(g>>>0>=m>>>0){break l}while(1){k=ed(i,g)+v[j+16012>>2]|0;r=k;b=ed(i,g|1)+v[j+16008>>2]|0;C=b;k=ed(i,g+2|0)+k|0;z=k;b=ed(i,g+3|0)+b|0;x=b;k=ed(i,g+4|0)+k|0;b=ed(i,g+5|0)+b|0;Oo(j+3904|0,r,C,z,x,k,b);v[j+16008>>2]=b;v[j+16012>>2]=k;g=g+6|0;if(m>>>0>g>>>0){continue}break}break l}E=1}s=0;g=f;continue}s=0;g=f;continue f}v[i+12>>2]=v[i+8>>2];g=f;continue}g=f;v[i+12>>2]=v[i+8>>2];continue}}}if(!(v[I>>2]|!I)){v[I>>2]=l}JA(j+15516|0);JA(j+15720|0);JA(j+15752|0);JA(j+15792|0);if(i){c=v[i>>2];b=c;a=v[i+8>>2];if(a){Qa[v[b+8>>2]](b,a)}v[i+8>>2]=0;if(i){Qa[v[c+8>>2]](c,i)}}Ma=j+16016|0}function r3a(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,p=0,q=0,r=0,s=0,w=0;s=Ma-4112|0;Ma=s;e=v[a+16>>2];a:{if((e|0)<2){break a}k=1;h=v[a+24>>2];f=v[h+4>>2];g=v[h>>2];i=v[g+28>>2];if(v[f+28>>2]!=(i|0)){g=1;break a}j=v[g+24>>2];g=1;while(1){if((j|0)!=v[f+24>>2]){break a}k=k+1|0;g=(e|0)>(k|0);if((e|0)==(k|0)){break a}f=v[h+(k<<2)>>2];if((i|0)==v[f+28>>2]){continue}break}}b:{c:{d:{k=np(1783636e3);e:{f:{if(!k){break f}v[k+20>>2]=218793738;g:{h:{i:{if(mp(k,b)){break i}Ng(k);k=np(1718909296);if(!k){break f}v[k+20>>2]=1785737760;v[k+24>>2]=0;v[k+28>>2]=1;v[k+32>>2]=1785737760;if(mp(k,b)){break i}Ng(k);q=fi(0,0);if(!q){break f}k=np(1768449138);if(!k){break g}v[k+20>>2]=v[a+8>>2]-v[a>>2];v[k+24>>2]=v[a+12>>2]-v[a+4>>2];v[k+28>>2]=v[a+16>>2];f=255;if(!g){e=v[v[a+24>>2]>>2];f=v[e+28>>2]<<7&128|v[e+24>>2]-1&127}t[k+35|0]=0;t[k+33|0]=7;t[k+34|0]=0;t[k+32|0]=f;if(mp(k,q)){break i}Ng(k);if(g){k=np(1651532643);if(!k){break g}e=v[a+16>>2];v[k+20>>2]=e;e=gb(e);v[k+24>>2]=e;if(!e){break i}j:{if(!v[k+20>>2]){break j}h=e;e=v[v[a+24>>2]>>2];t[h|0]=v[e+24>>2]-1&127|v[e+28>>2]<<7;if(y[k+20>>2]<2){break j}f=1;while(1){e=v[v[a+24>>2]+(f<<2)>>2];t[v[k+24>>2]+f|0]=v[e+24>>2]-1&127|v[e+28>>2]<<7;f=f+1|0;if(f>>>0>2]){continue}break}}if(mp(k,q)){break i}Ng(k)}k=np(1668246642);if(!k){break h}k:{l:{m:{n:{e=v[a+28>>2];h=(e|0)==769;o:{if(!(!(h|(e|0)==1281)&(e|0)!=1025)){t[k+20|0]=1;p:{if(!h){h=16;if((e|0)==1025){break p}if((e|0)!=1281){break n}h=18;break p}h=17}t[k+21|0]=0;t[k+22|0]=0;v[k+24>>2]=h;break o}t[k+22|0]=0;u[k+20>>1]=2;l=EC(v[v[a+32>>2]+16>>2]);if(!l){break d}r=fi(0,0);if(!r){break c}d=r;h=0;o=gb(B(v[v[l+112>>2]>>2],20));v[l+108>>2]=o;m=-1;q:{if(!o){break q}f=v[l+112>>2];j=v[f>>2];v[l+104>>2]=j;i=B(j,12)+132|0;r:{s:{if((j|0)<1){break s}while(1){e=v[f+8>>2]+(h<<3)|0;f=v[e>>2];e=v[e+4>>2];v[e>>2]=v[e>>2]+1;t:{u:{p=v[e+8>>2];if(v[p+12>>2]){g=B(h,20)+o|0;w=e+12|0;v[g+12>>2]=w;v[g>>2]=f;f=0;if(h){while(1){n=B(f,20)+o|0;if(v[n+12>>2]==(w|0)){break u}f=f+1|0;if((h|0)!=(f|0)){continue}break}}v[g+4>>2]=i;f=Qa[v[p+16>>2]](e)|0;v[g+16>>2]=0;f=f+8|0;v[g+8>>2]=f;i=f+i|0;j=v[l+104>>2];if((j-1|0)<=(h|0)){break t}i=(i+3|0)/4<<2;break t}O(15373,7738,385,188444);L()}v[g+4>>2]=v[n+4>>2];f=v[n+8>>2];v[g+16>>2]=n;v[g+8>>2]=f}f=v[e>>2];v[e>>2]=f-1;if((f|0)<=1){f=v[v[e+8>>2]>>2];if(f){Qa[f|0](e)}$a(e);j=v[l+104>>2]}h=h+1|0;if((j|0)<=(h|0)){break s}o=v[l+108>>2];f=v[l+112>>2];if(v[f>>2]>(h|0)){continue}break}break r}v[l>>2]=i;f=v[d+8>>2];if(f&7){break q}v:{n=d- -64|0;e=v[n>>2];if((e|0)>=0&(e|0)<=v[d+60>>2]){break v}e=i;h=e>>>24|0;v[d+4>>2]=v[d+4>>2]|32;f=v[d+28>>2];v[d+28>>2]=f-1;w:{if((f|0)>=1){v[d+60>>2]=v[d+60>>2]+1;f=v[d+24>>2];v[d+24>>2]=f+1;t[f|0]=h;break w}if((Cb(d,h)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break q}h=v[n>>2];if((h|0)>=0&(h|0)<=v[d+60>>2]){break v}h=e>>>16|0;v[d+4>>2]=v[d+4>>2]|32;f=v[d+28>>2];v[d+28>>2]=f-1;x:{if((f|0)>=1){v[d+60>>2]=v[d+60>>2]+1;f=v[d+24>>2];v[d+24>>2]=f+1;t[f|0]=h;break x}if((Cb(d,h&255)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break q}h=v[n>>2];if((h|0)>=0&(h|0)<=v[d+60>>2]){break v}e=e>>>8|0;v[d+4>>2]=v[d+4>>2]|32;h=v[d+28>>2];v[d+28>>2]=h-1;y:{if((h|0)>=1){v[d+60>>2]=v[d+60>>2]+1;h=v[d+24>>2];v[d+24>>2]=h+1;t[h|0]=e;break y}if((Cb(d,e&255)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break q}e=v[n>>2];if((e|0)>=0&(e|0)<=v[d+60>>2]){break v}v[d+4>>2]=v[d+4>>2]|32;e=v[d+28>>2];v[d+28>>2]=e-1;z:{if((e|0)>=1){v[d+60>>2]=v[d+60>>2]+1;e=v[d+24>>2];v[d+24>>2]=e+1;t[e|0]=i;break z}if((Cb(d,i&255)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break q}h=v[l+4>>2];e=v[n>>2];if((e|0)>=0&(e|0)<=v[d+60>>2]){break v}e=h;f=e>>>24|0;v[d+4>>2]=v[d+4>>2]|32;g=v[d+28>>2];v[d+28>>2]=g-1;A:{if((g|0)>=1){v[d+60>>2]=v[d+60>>2]+1;g=v[d+24>>2];v[d+24>>2]=g+1;t[g|0]=f;break A}if((Cb(d,f)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break q}g=v[n>>2];if((g|0)>=0&(g|0)<=v[d+60>>2]){break v}f=e>>>16|0;v[d+4>>2]=v[d+4>>2]|32;g=v[d+28>>2];v[d+28>>2]=g-1;B:{if((g|0)>=1){v[d+60>>2]=v[d+60>>2]+1;g=v[d+24>>2];v[d+24>>2]=g+1;t[g|0]=f;break B}if((Cb(d,f&255)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break q}g=v[n>>2];if((g|0)>=0&(g|0)<=v[d+60>>2]){break v}e=e>>>8|0;v[d+4>>2]=v[d+4>>2]|32;f=v[d+28>>2];v[d+28>>2]=f-1;C:{if((f|0)>=1){v[d+60>>2]=v[d+60>>2]+1;f=v[d+24>>2];v[d+24>>2]=f+1;t[f|0]=e;break C}if((Cb(d,e&255)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break q}e=v[n>>2];if((e|0)>=0&(e|0)<=v[d+60>>2]){break v}v[d+4>>2]=v[d+4>>2]|32;e=v[d+28>>2];v[d+28>>2]=e-1;D:{if((e|0)>=1){v[d+60>>2]=v[d+60>>2]+1;e=v[d+24>>2];v[d+24>>2]=e+1;t[e|0]=h;break D}if((Cb(d,h&255)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break q}h=v[l+8>>2];e=v[n>>2];if((e|0)>=0&(e|0)<=v[d+60>>2]){break v}e=h;f=e>>>24|0;v[d+4>>2]=v[d+4>>2]|32;g=v[d+28>>2];v[d+28>>2]=g-1;E:{if((g|0)>=1){v[d+60>>2]=v[d+60>>2]+1;g=v[d+24>>2];v[d+24>>2]=g+1;t[g|0]=f;break E}if((Cb(d,f)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break q}g=v[n>>2];if((g|0)>=0&(g|0)<=v[d+60>>2]){break v}f=e>>>16|0;v[d+4>>2]=v[d+4>>2]|32;g=v[d+28>>2];v[d+28>>2]=g-1;F:{if((g|0)>=1){v[d+60>>2]=v[d+60>>2]+1;g=v[d+24>>2];v[d+24>>2]=g+1;t[g|0]=f;break F}if((Cb(d,f&255)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break q}g=v[n>>2];if((g|0)>=0&(g|0)<=v[d+60>>2]){break v}e=e>>>8|0;v[d+4>>2]=v[d+4>>2]|32;f=v[d+28>>2];v[d+28>>2]=f-1;G:{if((f|0)>=1){v[d+60>>2]=v[d+60>>2]+1;f=v[d+24>>2];v[d+24>>2]=f+1;t[f|0]=e;break G}if((Cb(d,e&255)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break q}e=v[n>>2];if((e|0)>=0&(e|0)<=v[d+60>>2]){break v}v[d+4>>2]=v[d+4>>2]|32;e=v[d+28>>2];v[d+28>>2]=e-1;H:{if((e|0)>=1){v[d+60>>2]=v[d+60>>2]+1;e=v[d+24>>2];v[d+24>>2]=e+1;t[e|0]=h;break H}if((Cb(d,h&255)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break q}h=v[l+12>>2];e=v[n>>2];if((e|0)>=0&(e|0)<=v[d+60>>2]){break v}e=h;f=e>>>24|0;v[d+4>>2]=v[d+4>>2]|32;g=v[d+28>>2];v[d+28>>2]=g-1;I:{if((g|0)>=1){v[d+60>>2]=v[d+60>>2]+1;g=v[d+24>>2];v[d+24>>2]=g+1;t[g|0]=f;break I}if((Cb(d,f)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break q}g=v[n>>2];if((g|0)>=0&(g|0)<=v[d+60>>2]){break v}f=e>>>16|0;v[d+4>>2]=v[d+4>>2]|32;g=v[d+28>>2];v[d+28>>2]=g-1;J:{if((g|0)>=1){v[d+60>>2]=v[d+60>>2]+1;g=v[d+24>>2];v[d+24>>2]=g+1;t[g|0]=f;break J}if((Cb(d,f&255)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break q}g=v[n>>2];if((g|0)>=0&(g|0)<=v[d+60>>2]){break v}e=e>>>8|0;v[d+4>>2]=v[d+4>>2]|32;f=v[d+28>>2];v[d+28>>2]=f-1;K:{if((f|0)>=1){v[d+60>>2]=v[d+60>>2]+1;f=v[d+24>>2];v[d+24>>2]=f+1;t[f|0]=e;break K}if((Cb(d,e&255)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break q}e=v[n>>2];if((e|0)>=0&(e|0)<=v[d+60>>2]){break v}v[d+4>>2]=v[d+4>>2]|32;e=v[d+28>>2];v[d+28>>2]=e-1;L:{if((e|0)>=1){v[d+60>>2]=v[d+60>>2]+1;e=v[d+24>>2];v[d+24>>2]=e+1;t[e|0]=h;break L}if((Cb(d,h&255)|0)==-1){break q}}if(xg(d,4,v[l+16>>2],0)){break q}if(xg(d,4,v[l+20>>2],0)){break q}g=v[d+8>>2];M:{if(g&7){break M}j=v[l+24>>2];e=2;h=0;f=8;while(1){i=v[d+64>>2];if(!((i|0)<0|(i|0)>v[d+60>>2])){g=g|4;v[d+8>>2]=g;break M}i=j;o=f&31;f=(f&63)>>>0>=32?0:i>>>o|0;v[d+4>>2]=v[d+4>>2]|32;g=v[d+28>>2];v[d+28>>2]=g-1;N:{O:{if((g|0)>=1){v[d+60>>2]=v[d+60>>2]+1;g=v[d+24>>2];v[d+24>>2]=g+1;t[g|0]=f;if(e>>>0<2&(h|0)<=0|(h|0)<0){break N}break O}if((h|0)<=0&e>>>0<=1|(h|0)<0|(Cb(d,f&255)|0)==-1){break N}}f=h-(e>>>0<1)|0;e=e-1|0;h=f;f=(e<<3)-8|0;f=f&-8;g=v[d+8>>2];if(!(g&7)){continue}}break}g=v[d+8>>2]}P:{if(g&7){break P}j=v[l+28>>2];e=2;h=0;f=8;while(1){i=v[d+64>>2];if(!((i|0)<0|(i|0)>v[d+60>>2])){g=g|4;v[d+8>>2]=g;break P}i=j;o=f&31;f=(f&63)>>>0>=32?0:i>>>o|0;v[d+4>>2]=v[d+4>>2]|32;g=v[d+28>>2];v[d+28>>2]=g-1;Q:{R:{if((g|0)>=1){v[d+60>>2]=v[d+60>>2]+1;g=v[d+24>>2];v[d+24>>2]=g+1;t[g|0]=f;if(e>>>0<2&(h|0)<=0|(h|0)<0){break Q}break R}if((h|0)<=0&e>>>0<=1|(h|0)<0|(Cb(d,f&255)|0)==-1){break Q}}f=h-(e>>>0<1)|0;e=e-1|0;h=f;f=(e<<3)-8|0;f=f&-8;g=v[d+8>>2];if(!(g&7)){continue}}break}g=v[d+8>>2]}S:{if(g&7){break S}j=v[l+32>>2];e=2;h=0;f=8;while(1){i=v[d+64>>2];if(!((i|0)<0|(i|0)>v[d+60>>2])){g=g|4;v[d+8>>2]=g;break S}i=j;o=f&31;f=(f&63)>>>0>=32?0:i>>>o|0;v[d+4>>2]=v[d+4>>2]|32;g=v[d+28>>2];v[d+28>>2]=g-1;T:{U:{if((g|0)>=1){v[d+60>>2]=v[d+60>>2]+1;g=v[d+24>>2];v[d+24>>2]=g+1;t[g|0]=f;if(e>>>0<2&(h|0)<=0|(h|0)<0){break T}break U}if((h|0)<=0&e>>>0<=1|(h|0)<0|(Cb(d,f&255)|0)==-1){break T}}f=h-(e>>>0<1)|0;e=e-1|0;h=f;f=(e<<3)-8|0;f=f&-8;g=v[d+8>>2];if(!(g&7)){continue}}break}g=v[d+8>>2]}V:{if(g&7){break V}j=v[l+36>>2];e=2;h=0;f=8;while(1){i=v[d+64>>2];if(!((i|0)<0|(i|0)>v[d+60>>2])){g=g|4;v[d+8>>2]=g;break V}i=j;o=f&31;f=(f&63)>>>0>=32?0:i>>>o|0;v[d+4>>2]=v[d+4>>2]|32;g=v[d+28>>2];v[d+28>>2]=g-1;W:{X:{if((g|0)>=1){v[d+60>>2]=v[d+60>>2]+1;g=v[d+24>>2];v[d+24>>2]=g+1;t[g|0]=f;if(e>>>0<2&(h|0)<=0|(h|0)<0){break W}break X}if((h|0)<=0&e>>>0<=1|(h|0)<0|(Cb(d,f&255)|0)==-1){break W}}f=h-(e>>>0<1)|0;e=e-1|0;h=f;f=(e<<3)-8|0;f=f&-8;g=v[d+8>>2];if(!(g&7)){continue}}break}g=v[d+8>>2]}Y:{if(g&7){break Y}j=v[l+40>>2];e=2;h=0;f=8;while(1){i=v[d+64>>2];if(!((i|0)<0|(i|0)>v[d+60>>2])){g=g|4;v[d+8>>2]=g;break Y}i=j;o=f&31;f=(f&63)>>>0>=32?0:i>>>o|0;v[d+4>>2]=v[d+4>>2]|32;g=v[d+28>>2];v[d+28>>2]=g-1;Z:{_:{if((g|0)>=1){v[d+60>>2]=v[d+60>>2]+1;g=v[d+24>>2];v[d+24>>2]=g+1;t[g|0]=f;if(e>>>0<2&(h|0)<=0|(h|0)<0){break Z}break _}if((h|0)<=0&e>>>0<=1|(h|0)<0|(Cb(d,f&255)|0)==-1){break Z}}f=h-(e>>>0<1)|0;e=e-1|0;h=f;f=(e<<3)-8|0;f=f&-8;g=v[d+8>>2];if(!(g&7)){continue}}break}g=v[d+8>>2]}$:{if(g&7){break $}j=v[l+44>>2];e=2;h=0;f=8;while(1){i=v[d+64>>2];if(!((i|0)<0|(i|0)>v[d+60>>2])){v[d+8>>2]=g|4;break $}i=j;o=f&31;f=(f&63)>>>0>=32?0:i>>>o|0;v[d+4>>2]=v[d+4>>2]|32;g=v[d+28>>2];v[d+28>>2]=g-1;aa:{if((g|0)>=1){v[d+60>>2]=v[d+60>>2]+1;g=v[d+24>>2];v[d+24>>2]=g+1;t[g|0]=f;if(e>>>0<2&(h|0)<=0|(h|0)<0){break $}break aa}if((h|0)<=0&e>>>0<=1|(h|0)<0|(Cb(d,f&255)|0)==-1){break $}}f=h-(e>>>0<1)|0;e=e-1|0;h=f;f=(e<<3)-8|0;f=f&-8;g=v[d+8>>2];if(!(g&7)){continue}break}}if(xg(d,4,v[l+48>>2],0)){break q}if(xg(d,4,v[l+52>>2],0)){break q}if(xg(d,4,v[l+56>>2],0)){break q}if(xg(d,4,v[l+60>>2],0)){break q}if(xg(d,4,v[l+64>>2],0)){break q}if(xg(d,8,v[l+72>>2],v[l+76>>2])){break q}if(xg(d,4,v[l+80>>2],0)){break q}i=v[d+8>>2];ba:{if(i&7){break ba}p=v[l+84>>2];h=p;e=h>>31;o=h;j=e;f=(e&16777215)<<8|h>>>24;g=h>>24;e=4;h=0;while(1){p=v[d+64>>2];if(!((p|0)<0|(p|0)>v[d+60>>2])){i=i|4;v[d+8>>2]=i;break ba}v[d+4>>2]=v[d+4>>2]|32;i=v[d+28>>2];v[d+28>>2]=i-1;ca:{da:{if((i|0)>=1){v[d+60>>2]=v[d+60>>2]+1;g=v[d+24>>2];v[d+24>>2]=g+1;t[g|0]=f;if(e>>>0<2&(h|0)<=0|(h|0)<0){break ca}break da}if((h|0)<=0&e>>>0<=1|(h|0)<0|(Cb(d,g&255)|0)==-1){break ca}}g=h-(e>>>0<1)|0;e=e-1|0;h=g;f=j;i=(e<<3)-8|0;g=i&-8;i=g&31;f=(g&63)>>>0>=32?f>>>i|0:((1<>>i;g=f;i=v[d+8>>2];if(!(i&7)){continue}}break}i=v[d+8>>2]}ea:{if(i&7){break ea}p=v[l+88>>2];h=p;e=h>>31;o=h;j=e;f=(e&16777215)<<8|h>>>24;g=h>>24;e=4;h=0;while(1){p=v[d+64>>2];if(!((p|0)<0|(p|0)>v[d+60>>2])){i=i|4;v[d+8>>2]=i;break ea}v[d+4>>2]=v[d+4>>2]|32;i=v[d+28>>2];v[d+28>>2]=i-1;fa:{ga:{if((i|0)>=1){v[d+60>>2]=v[d+60>>2]+1;g=v[d+24>>2];v[d+24>>2]=g+1;t[g|0]=f;if(e>>>0<2&(h|0)<=0|(h|0)<0){break fa}break ga}if((h|0)<=0&e>>>0<=1|(h|0)<0|(Cb(d,g&255)|0)==-1){break fa}}g=h-(e>>>0<1)|0;e=e-1|0;h=g;f=j;i=(e<<3)-8|0;g=i&-8;i=g&31;f=(g&63)>>>0>=32?f>>>i|0:((1<>>i;g=f;i=v[d+8>>2];if(!(i&7)){continue}}break}i=v[d+8>>2]}ha:{if(i&7){break ha}p=v[l+92>>2];h=p;e=h>>31;o=h;j=e;f=(e&16777215)<<8|h>>>24;g=h>>24;e=4;h=0;while(1){p=v[d+64>>2];if(!((p|0)<0|(p|0)>v[d+60>>2])){v[d+8>>2]=i|4;break ha}v[d+4>>2]=v[d+4>>2]|32;i=v[d+28>>2];v[d+28>>2]=i-1;ia:{if((i|0)>=1){v[d+60>>2]=v[d+60>>2]+1;g=v[d+24>>2];v[d+24>>2]=g+1;t[g|0]=f;if(e>>>0<2&(h|0)<=0|(h|0)<0){break ha}break ia}if((h|0)<=0&e>>>0<=1|(h|0)<0|(Cb(d,g&255)|0)==-1){break ha}}g=h-(e>>>0<1)|0;e=e-1|0;h=g;f=j;i=(e<<3)-8|0;g=i&-8;i=g&31;f=(g&63)>>>0>=32?f>>>i|0:((1<>>i;g=f;i=v[d+8>>2];if(!(i&7)){continue}break}}if(xg(d,4,v[l+96>>2],0)){break q}if((fx(d,44)|0)!=44){break q}f=v[d+8>>2];if(f&7){break q}h=v[l+104>>2];e=v[n>>2];if((e|0)>=0&(e|0)<=v[d+60>>2]){break v}e=h;f=e>>>24|0;v[d+4>>2]=v[d+4>>2]|32;g=v[d+28>>2];v[d+28>>2]=g-1;ja:{if((g|0)>=1){v[d+60>>2]=v[d+60>>2]+1;g=v[d+24>>2];v[d+24>>2]=g+1;t[g|0]=f;break ja}if((Cb(d,f)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break q}g=v[n>>2];if((g|0)>=0&(g|0)<=v[d+60>>2]){break v}f=e>>>16|0;v[d+4>>2]=v[d+4>>2]|32;g=v[d+28>>2];v[d+28>>2]=g-1;ka:{if((g|0)>=1){v[d+60>>2]=v[d+60>>2]+1;g=v[d+24>>2];v[d+24>>2]=g+1;t[g|0]=f;break ka}if((Cb(d,f&255)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break q}g=v[n>>2];if((g|0)>=0&(g|0)<=v[d+60>>2]){break v}e=e>>>8|0;v[d+4>>2]=v[d+4>>2]|32;f=v[d+28>>2];v[d+28>>2]=f-1;la:{if((f|0)>=1){v[d+60>>2]=v[d+60>>2]+1;f=v[d+24>>2];v[d+24>>2]=f+1;t[f|0]=e;break la}if((Cb(d,e&255)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break q}e=v[n>>2];if((e|0)>=0&(e|0)<=v[d+60>>2]){break v}v[d+4>>2]=v[d+4>>2]|32;e=v[d+28>>2];v[d+28>>2]=e-1;ma:{if((e|0)>=1){v[d+60>>2]=v[d+60>>2]+1;e=v[d+24>>2];v[d+24>>2]=e+1;t[e|0]=h;break ma}if((Cb(d,h&255)|0)==-1){break q}}i=0;m=0;if(v[l+104>>2]<=0){break q}while(1){f=v[d+8>>2];if(f&7){break r}g=v[l+108>>2]+B(i,20)|0;h=v[g>>2];e=v[n>>2];if((e|0)>=0&(e|0)<=v[d+60>>2]){break v}e=h;f=e>>>24|0;v[d+4>>2]=v[d+4>>2]|32;j=v[d+28>>2];v[d+28>>2]=j-1;na:{if((j|0)>=1){v[d+60>>2]=v[d+60>>2]+1;j=v[d+24>>2];v[d+24>>2]=j+1;t[j|0]=f;break na}m=-1;if((Cb(d,f)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break r}j=v[n>>2];if((j|0)>=0&(j|0)<=v[d+60>>2]){break v}f=e>>>16|0;v[d+4>>2]=v[d+4>>2]|32;j=v[d+28>>2];v[d+28>>2]=j-1;oa:{if((j|0)>=1){v[d+60>>2]=v[d+60>>2]+1;j=v[d+24>>2];v[d+24>>2]=j+1;t[j|0]=f;break oa}m=-1;if((Cb(d,f&255)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break r}j=v[n>>2];if((j|0)>=0&(j|0)<=v[d+60>>2]){break v}e=e>>>8|0;v[d+4>>2]=v[d+4>>2]|32;f=v[d+28>>2];v[d+28>>2]=f-1;pa:{if((f|0)>=1){v[d+60>>2]=v[d+60>>2]+1;f=v[d+24>>2];v[d+24>>2]=f+1;t[f|0]=e;break pa}m=-1;if((Cb(d,e&255)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break r}e=v[n>>2];if((e|0)>=0&(e|0)<=v[d+60>>2]){break v}v[d+4>>2]=v[d+4>>2]|32;e=v[d+28>>2];v[d+28>>2]=e-1;qa:{if((e|0)>=1){v[d+60>>2]=v[d+60>>2]+1;e=v[d+24>>2];v[d+24>>2]=e+1;t[e|0]=h;break qa}m=-1;if((Cb(d,h&255)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break r}h=v[g+4>>2];e=v[n>>2];if((e|0)>=0&(e|0)<=v[d+60>>2]){break v}e=h;f=e>>>24|0;v[d+4>>2]=v[d+4>>2]|32;j=v[d+28>>2];v[d+28>>2]=j-1;ra:{if((j|0)>=1){v[d+60>>2]=v[d+60>>2]+1;j=v[d+24>>2];v[d+24>>2]=j+1;t[j|0]=f;break ra}m=-1;if((Cb(d,f)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break r}j=v[n>>2];if((j|0)>=0&(j|0)<=v[d+60>>2]){break v}f=e>>>16|0;v[d+4>>2]=v[d+4>>2]|32;j=v[d+28>>2];v[d+28>>2]=j-1;sa:{if((j|0)>=1){v[d+60>>2]=v[d+60>>2]+1;j=v[d+24>>2];v[d+24>>2]=j+1;t[j|0]=f;break sa}m=-1;if((Cb(d,f&255)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break r}j=v[n>>2];if((j|0)>=0&(j|0)<=v[d+60>>2]){break v}e=e>>>8|0;v[d+4>>2]=v[d+4>>2]|32;f=v[d+28>>2];v[d+28>>2]=f-1;ta:{if((f|0)>=1){v[d+60>>2]=v[d+60>>2]+1;f=v[d+24>>2];v[d+24>>2]=f+1;t[f|0]=e;break ta}m=-1;if((Cb(d,e&255)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break r}e=v[n>>2];if((e|0)>=0&(e|0)<=v[d+60>>2]){break v}v[d+4>>2]=v[d+4>>2]|32;e=v[d+28>>2];v[d+28>>2]=e-1;ua:{if((e|0)>=1){v[d+60>>2]=v[d+60>>2]+1;e=v[d+24>>2];v[d+24>>2]=e+1;t[e|0]=h;break ua}m=-1;if((Cb(d,h&255)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break r}h=v[g+8>>2];e=v[n>>2];if((e|0)>=0&(e|0)<=v[d+60>>2]){break v}e=h;f=e>>>24|0;v[d+4>>2]=v[d+4>>2]|32;g=v[d+28>>2];v[d+28>>2]=g-1;va:{if((g|0)>=1){v[d+60>>2]=v[d+60>>2]+1;g=v[d+24>>2];v[d+24>>2]=g+1;t[g|0]=f;break va}m=-1;if((Cb(d,f)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break r}g=v[n>>2];if((g|0)>=0&(g|0)<=v[d+60>>2]){break v}f=e>>>16|0;v[d+4>>2]=v[d+4>>2]|32;g=v[d+28>>2];v[d+28>>2]=g-1;wa:{if((g|0)>=1){v[d+60>>2]=v[d+60>>2]+1;g=v[d+24>>2];v[d+24>>2]=g+1;t[g|0]=f;break wa}m=-1;if((Cb(d,f&255)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break r}g=v[n>>2];if((g|0)>=0&(g|0)<=v[d+60>>2]){break v}e=e>>>8|0;v[d+4>>2]=v[d+4>>2]|32;f=v[d+28>>2];v[d+28>>2]=f-1;xa:{if((f|0)>=1){v[d+60>>2]=v[d+60>>2]+1;f=v[d+24>>2];v[d+24>>2]=f+1;t[f|0]=e;break xa}m=-1;if((Cb(d,e&255)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break r}e=v[n>>2];if((e|0)>=0&(e|0)<=v[d+60>>2]){break v}v[d+4>>2]=v[d+4>>2]|32;e=v[d+28>>2];v[d+28>>2]=e-1;ya:{if((e|0)>=1){v[d+60>>2]=v[d+60>>2]+1;e=v[d+24>>2];v[d+24>>2]=e+1;t[e|0]=h;break ya}m=-1;if((Cb(d,h&255)|0)==-1){break q}}i=i+1|0;e=v[l+104>>2];if((i|0)<(e|0)){continue}break}m=0;if((e|0)<1){break q}g=B(e,12)+132|0;i=0;za:{while(1){Aa:{o=v[l+108>>2]+B(i,20)|0;if(v[o+4>>2]==(g|0)){if((i|0)<0){break r}e=v[l+112>>2];if(v[e>>2]<=(i|0)){break r}j=v[(v[e+8>>2]+(i<<3)|0)+4>>2];v[j>>2]=v[j>>2]+1;f=v[d+8>>2];if(f&7){break r}h=v[j+4>>2];e=v[n>>2];if((e|0)>=0&(e|0)<=v[d+60>>2]){break v}e=h;f=e>>>24|0;v[d+4>>2]=v[d+4>>2]|32;m=v[d+28>>2];v[d+28>>2]=m-1;Ba:{if((m|0)>=1){v[d+60>>2]=v[d+60>>2]+1;m=v[d+24>>2];v[d+24>>2]=m+1;t[m|0]=f;break Ba}m=-1;if((Cb(d,f)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break r}m=v[n>>2];if((m|0)>=0&(m|0)<=v[d+60>>2]){break v}f=e>>>16|0;v[d+4>>2]=v[d+4>>2]|32;m=v[d+28>>2];v[d+28>>2]=m-1;Ca:{if((m|0)>=1){v[d+60>>2]=v[d+60>>2]+1;m=v[d+24>>2];v[d+24>>2]=m+1;t[m|0]=f;break Ca}m=-1;if((Cb(d,f&255)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break r}m=v[n>>2];if((m|0)>=0&(m|0)<=v[d+60>>2]){break v}e=e>>>8|0;v[d+4>>2]=v[d+4>>2]|32;f=v[d+28>>2];v[d+28>>2]=f-1;Da:{if((f|0)>=1){v[d+60>>2]=v[d+60>>2]+1;f=v[d+24>>2];v[d+24>>2]=f+1;t[f|0]=e;break Da}m=-1;if((Cb(d,e&255)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break r}e=v[n>>2];if((e|0)>=0&(e|0)<=v[d+60>>2]){break v}v[d+4>>2]=v[d+4>>2]|32;e=v[d+28>>2];v[d+28>>2]=e-1;Ea:{if((e|0)>=1){v[d+60>>2]=v[d+60>>2]+1;e=v[d+24>>2];v[d+24>>2]=e+1;t[e|0]=h;break Ea}m=-1;if((Cb(d,h&255)|0)==-1){break q}}if((fx(d,4)|0)==4){break Aa}break r}O(19390,7738,420,188444);L()}if(Qa[v[v[j+8>>2]+12>>2]](j,d)|0){break r}e=v[j>>2];v[j>>2]=e-1;if((e|0)<=1){e=v[v[j+8>>2]>>2];if(e){Qa[e|0](j)}$a(j)}f=v[l+104>>2];e=i+1|0;e=(e|0)<(f|0)?f:e;g=v[o+8>>2]+g|0;Fa:{while(1){i=i+1|0;if((f|0)<=(i|0)){i=e;h=l;break Fa}h=v[l+108>>2]+B(i,20)|0;if(v[h+16>>2]){continue}break}h=h+4|0}e=v[h>>2];h=e-g|0;if((h|0)<=-1){break za}if(h){m=-1;if((fx(d,h)|0)!=(h|0)){break q}g=e;f=v[l+104>>2]}m=0;if((f|0)>(i|0)){continue}break}break q}O(21681,7738,437,188444);L()}v[d+8>>2]=f|4}m=-1}if(m){break n}e=Ei(r);if((e|0)<=-1){break n}v[k+32>>2]=e;e=gb(e);v[k+28>>2]=e;if(!e){break b}Qm(r);if((Hh(r,v[k+28>>2],v[k+32>>2])|0)!=v[k+32>>2]){break n}ne(r);Om(l)}if(mp(k,q)){break i}Ng(k);Ga:{switch((v[a+28>>2]>>8)-3|0){case 1:e=v[a+24>>2];if(v[v[e>>2]+40>>2]|v[v[e+4>>2]+40>>2]!=1|v[v[e+8>>2]+40>>2]!=2){break l}break k;case 0:break m;case 2:break Ga;default:break n}}e=v[a+24>>2];if(v[v[e>>2]+40>>2]|v[v[e+4>>2]+40>>2]!=1|v[v[e+8>>2]+40>>2]!=2){break l}break k}S();L()}if(!v[v[v[a+24>>2]>>2]+40>>2]){break k}}k=np(1667523942);if(!k){break h}e=v[a+16>>2];v[k+20>>2]=e;j=gb(B(e,12));v[k+24>>2]=j;d=v[a+16>>2];if((d|0)>=1){l=v[a+24>>2];m=v[a+28>>2];f=0;while(1){e=j+B(f,12)|0;v[e>>2]=f;h=e;r=v[v[l+(f<<2)>>2]+40>>2];g=65536;Ha:{if(r&32768){break Ha}g=65535;i=-65536;Ia:{switch((m>>8)-3|0){case 0:g=1;i=0;default:g=g|i;break Ha;case 1:case 2:break Ia}}i=r&32767;g=i>>>0<3;g=(g?i+1|0:65535)|(g?0:-65536)}v[h+8>>2]=g&32767;v[e+4>>2]=g>>>16;f=f+1|0;if((d|0)!=(f|0)){continue}break}}if(mp(k,q)){break i}Ng(k)}e=Ei(q);Qm(q);k=np(1785737832);if(!k){break h}v[k+12>>2]=e+8;if(mp(k,b)){break i}Ng(k);if(Pm(b,q,e)){break h}ne(q);k=np(1785737827);if(!k){break f}q=0;v[k+12>>2]=0;if(mp(k,b)){break i}Ng(k);v[s+4>>2]=v[b+60>>2];v[s>>2]=c?c:19977;c=s+16|0;Dc(c,17164,s);if(K5(a,b,c)){break f}a=0;break e}Ng(k)}if(!q){break f}}ne(q)}a=-1}Ma=s+4112|0;return a|0}O(2053,7540,229,188652);L()}O(9714,7540,231,188652);L()}O(13063,7540,238,188652);L()}function vW(a,b){var 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,y=0,z=0,C=0,E=0,F=0;c=ab(1160);v[c+8>>2]=a;v[c>>2]=879548;v[c+16>>2]=0;v[c+12>>2]=b;v[c+4>>2]=a;v[c+340>>2]=0;v[c+344>>2]=0;v[c+328>>2]=0;v[c+20>>2]=0;v[c+24>>2]=0;v[c>>2]=880852;a=c;v[a+352>>2]=1;k=a+352|0;b=v[a+12>>2];a:{if((b|0)<1){break a}c=v[a+8>>2];if(w[c|0]==1){break a}v[a+12>>2]=b-1;v[a+8>>2]=c+1}sv(a,Je(a,2,k),a+28|0,k);sv(a,v[a+44>>2],a+48|0,k);sv(a,v[a- -64>>2],a+68|0,k);sv(a,v[a+84>>2],a+88|0,k);g=0;b:{if(!v[a+352>>2]){break b}b=v[a+92>>2];v[a+348>>2]=(b|0)<1240?107:(b|0)<33900?1131:32768;if(v[a+32>>2]<=0){v[k>>2]=0;g=0;break b}b=v[a+40>>2];c=pm(a,v[a+28>>2]+3|0,v[a+36>>2],k);f=v[a+40>>2];g=v[a+36>>2];g=pm(a,(g+v[a+28>>2]|0)+3|0,g,k);c:{b=b+c|0;c=v[a+40>>2];if((b|0)<(c|0)){break c}h=v[a+44>>2];if((h|0)<(b|0)){break c}e=c;c=f+g|0;if((e|0)>=(c|0)|(c|0)>(h|0)|(b|0)>(c|0)){break c}d:{if(!v[k>>2]){break d}f=ab(8);Uh(f,b+v[a+8>>2]|0,c-b|0);v[a+20>>2]=f;v[a+128>>2]=-1;v[a+132>>2]=0;v[a+136>>2]=0;v[a+140>>2]=0;v[a+144>>2]=0;v[a+148>>2]=0;v[a+152>>2]=0;v[a+156>>2]=0;v[a+160>>2]=0;v[a+164>>2]=0;v[a+200>>2]=0;v[a+204>>2]=0;v[a+192>>2]=-755914244;v[a+196>>2]=1062232653;v[a+184>>2]=0;v[a+188>>2]=2;v[a+176>>2]=0;v[a+180>>2]=1078525952;v[a+168>>2]=0;v[a+172>>2]=-1067909120;v[a+208>>2]=0;v[a+212>>2]=0;v[a+216>>2]=-755914244;v[a+220>>2]=1062232653;eb(a+224|0,0,104);e:{if(v[a+52>>2]<=0){v[a+1144>>2]=0;v[a+352>>2]=0;break e}b=v[a+60>>2];h=a+352|0;c=pm(a,v[a+48>>2]+3|0,v[a+56>>2],h);f=v[a+56>>2];g=v[a+60>>2]+pm(a,(f+v[a+48>>2]|0)+3|0,f,h)|0;f=b+c|0;b=v[a+60>>2];f:{g:{if((f|0)<(b|0)){break g}c=v[a- -64>>2];if((c|0)<(f|0)|(b|0)>=(g|0)|(c|0)<(g|0)){break g}if((f|0)<=(g|0)){break f}}v[h>>2]=0}v[a+1144>>2]=0;h:{if((f|0)>=(g|0)){break h}while(1){f=bH(a,f,h);if(!v[a+352>>2]){break h}c=v[a+1144>>2]-1|0;b=a+(c<<4)|0;if(!v[b+360>>2]){v[a+1144>>2]=c;if(v[a+128>>2]<=-1){v[a+128>>2]=v[b+368>>2]}i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{b=v[b+368>>2];switch(b-3072|0){case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 31:case 32:case 33:case 34:case 35:break i;case 37:break j;case 36:break k;case 30:break l;case 8:break q;case 7:break t;case 6:break u;case 5:break v;case 4:break w;case 3:break x;case 2:break y;case 1:break z;case 0:break D;default:break E}}F:{switch(b|0){case 0:b=0;G:{H:{switch(v[a+360>>2]-1|0){case 0:v[a+132>>2]=v[a+368>>2];break i;case 1:d=A[a+368>>3];e=d>2e9;b=a;if(D(d)<2147483648){c=~~d}else{c=-2147483648}v[b+132>>2]=d<-2e9?0:e?0:c;break i;case 2:break H;default:break G}}c=v[a+372>>2];if(!c){break G}b=v[a+368>>2]/(c|0)|0}v[a+132>>2]=b;break i;case 18:break m;case 17:break n;case 16:break o;case 15:break p;case 5:break r;case 13:break s;case 4:break A;case 3:break B;case 2:break C;case 1:break F;default:break i}}b=0;I:{J:{switch(v[a+360>>2]-1|0){case 0:v[a+136>>2]=v[a+368>>2];break i;case 1:d=A[a+368>>3];e=d>2e9;b=a;if(D(d)<2147483648){c=~~d}else{c=-2147483648}v[b+136>>2]=d<-2e9?0:e?0:c;break i;case 2:break J;default:break I}}c=v[a+372>>2];if(!c){break I}b=v[a+368>>2]/(c|0)|0}v[a+136>>2]=b;break i}b=0;K:{L:{switch(v[a+360>>2]-1|0){case 0:v[a+140>>2]=v[a+368>>2];break i;case 1:d=A[a+368>>3];e=d>2e9;b=a;if(D(d)<2147483648){c=~~d}else{c=-2147483648}v[b+140>>2]=d<-2e9?0:e?0:c;break i;case 2:break L;default:break K}}c=v[a+372>>2];if(!c){break K}b=v[a+368>>2]/(c|0)|0}v[a+140>>2]=b;break i}b=0;M:{N:{switch(v[a+360>>2]-1|0){case 0:v[a+144>>2]=v[a+368>>2];break i;case 1:d=A[a+368>>3];e=d>2e9;b=a;if(D(d)<2147483648){c=~~d}else{c=-2147483648}v[b+144>>2]=d<-2e9?0:e?0:c;break i;case 2:break N;default:break M}}c=v[a+372>>2];if(!c){break M}b=v[a+368>>2]/(c|0)|0}v[a+144>>2]=b;break i}b=0;O:{P:{switch(v[a+360>>2]-1|0){case 0:v[a+148>>2]=v[a+368>>2];break i;case 1:d=A[a+368>>3];e=d>2e9;b=a;if(D(d)<2147483648){c=~~d}else{c=-2147483648}v[b+148>>2]=d<-2e9?0:e?0:c;break i;case 2:break P;default:break O}}c=v[a+372>>2];if(!c){break O}b=v[a+368>>2]/(c|0)|0}v[a+148>>2]=b;break i}b=0;Q:{R:{switch(v[a+360>>2]-1|0){case 0:v[a+152>>2]=v[a+368>>2];break i;case 1:d=A[a+368>>3];e=d>2e9;b=a;if(D(d)<2147483648){c=~~d}else{c=-2147483648}v[b+152>>2]=d<-2e9?0:e?0:c;break i;case 2:break R;default:break Q}}c=v[a+372>>2];if(!c){break Q}b=v[a+368>>2]/(c|0)|0}v[a+152>>2]=b;break i}b=0;S:{T:{switch(v[a+360>>2]-1|0){case 0:v[a+156>>2]=v[a+368>>2];break i;case 1:d=A[a+368>>3];e=d>2e9;b=a;if(D(d)<2147483648){c=~~d}else{c=-2147483648}v[b+156>>2]=d<-2e9?0:e?0:c;break i;case 2:break T;default:break S}}c=v[a+372>>2];if(!c){break S}b=v[a+368>>2]/(c|0)|0}v[a+156>>2]=b;break i}d=0;U:{V:{switch(v[a+360>>2]-1|0){case 0:A[a+160>>3]=v[a+368>>2];break i;case 1:A[a+160>>3]=A[a+368>>3];break i;case 2:break V;default:break U}}b=v[a+372>>2];if(!b){break U}d=+v[a+368>>2]/+(b|0)}A[a+160>>3]=d;break i}d=0;W:{X:{switch(v[a+360>>2]-1|0){case 0:A[a+168>>3]=v[a+368>>2];break i;case 1:A[a+168>>3]=A[a+368>>3];break i;case 2:break X;default:break W}}b=v[a+372>>2];if(!b){break W}d=+v[a+368>>2]/+(b|0)}A[a+168>>3]=d;break i}d=0;Y:{Z:{switch(v[a+360>>2]-1|0){case 0:A[a+176>>3]=v[a+368>>2];break i;case 1:A[a+176>>3]=A[a+368>>3];break i;case 2:break Z;default:break Y}}b=v[a+372>>2];if(!b){break Y}d=+v[a+368>>2]/+(b|0)}A[a+176>>3]=d;break i}b=0;_:{$:{switch(v[a+360>>2]-1|0){case 0:v[a+184>>2]=v[a+368>>2];break i;case 1:d=A[a+368>>3];e=d>2e9;b=a;if(D(d)<2147483648){c=~~d}else{c=-2147483648}v[b+184>>2]=d<-2e9?0:e?0:c;break i;case 2:break $;default:break _}}c=v[a+372>>2];if(!c){break _}b=v[a+368>>2]/(c|0)|0}v[a+184>>2]=b;break i}b=0;aa:{ba:{switch(v[a+360>>2]-1|0){case 0:v[a+188>>2]=v[a+368>>2];break i;case 1:d=A[a+368>>3];e=d>2e9;b=a;if(D(d)<2147483648){c=~~d}else{c=-2147483648}v[b+188>>2]=d<-2e9?0:e?0:c;break i;case 2:break ba;default:break aa}}c=v[a+372>>2];if(!c){break aa}b=v[a+368>>2]/(c|0)|0}v[a+188>>2]=b;break i}j=0;d=0;ca:{da:{switch(v[a+360>>2]-1|0){case 0:d=+v[a+368>>2];break ca;case 1:d=A[a+368>>3];break ca;case 2:break da;default:break ca}}b=v[a+372>>2];if(!b){break ca}d=+v[a+368>>2]/+(b|0)}A[a+192>>3]=d;ea:{fa:{switch(v[a+376>>2]-1|0){case 0:j=+v[a+384>>2];break ea;case 1:j=A[a+384>>3];break ea;case 2:break fa;default:break ea}}b=v[a+388>>2];if(!b){break ea}j=+v[a+384>>2]/+(b|0)}A[a+200>>3]=j;j=0;d=0;ga:{ha:{switch(v[a+392>>2]-1|0){case 0:d=+v[a+400>>2];break ga;case 1:d=A[a+400>>3];break ga;case 2:break ha;default:break ga}}b=v[a+404>>2];if(!b){break ga}d=+v[a+400>>2]/+(b|0)}A[a+208>>3]=d;ia:{ja:{switch(v[a+408>>2]-1|0){case 0:j=+v[a+416>>2];break ia;case 1:j=A[a+416>>3];break ia;case 2:break ja;default:break ia}}b=v[a+420>>2];if(!b){break ia}j=+v[a+416>>2]/+(b|0)}A[a+216>>3]=j;j=0;d=0;ka:{la:{switch(v[a+424>>2]-1|0){case 0:d=+v[a+432>>2];break ka;case 1:d=A[a+432>>3];break ka;case 2:break la;default:break ka}}b=v[a+436>>2];if(!b){break ka}d=+v[a+432>>2]/+(b|0)}A[a+224>>3]=d;ma:{na:{switch(v[a+440>>2]-1|0){case 0:j=+v[a+448>>2];break ma;case 1:j=A[a+448>>3];break ma;case 2:break na;default:break ma}}b=v[a+452>>2];if(!b){break ma}j=+v[a+448>>2]/+(b|0)}v[a+240>>2]=1;A[a+232>>3]=j;break i}b=0;oa:{pa:{switch(v[a+360>>2]-1|0){case 0:v[a+244>>2]=v[a+368>>2];break i;case 1:d=A[a+368>>3];e=d>2e9;b=a;if(D(d)<2147483648){c=~~d}else{c=-2147483648}v[b+244>>2]=d<-2e9?0:e?0:c;break i;case 2:break pa;default:break oa}}c=v[a+372>>2];if(!c){break oa}b=v[a+368>>2]/(c|0)|0}v[a+244>>2]=b;break i}j=0;d=0;qa:{ra:{switch(v[a+360>>2]-1|0){case 0:d=+v[a+368>>2];break qa;case 1:d=A[a+368>>3];break qa;case 2:break ra;default:break qa}}b=v[a+372>>2];if(!b){break qa}d=+v[a+368>>2]/+(b|0)}A[a+248>>3]=d;sa:{ta:{switch(v[a+376>>2]-1|0){case 0:j=+v[a+384>>2];break sa;case 1:j=A[a+384>>3];break sa;case 2:break ta;default:break sa}}b=v[a+388>>2];if(!b){break sa}j=+v[a+384>>2]/+(b|0)}A[a+256>>3]=j;j=0;d=0;ua:{va:{switch(v[a+392>>2]-1|0){case 0:d=+v[a+400>>2];break ua;case 1:d=A[a+400>>3];break ua;case 2:break va;default:break ua}}b=v[a+404>>2];if(!b){break ua}d=+v[a+400>>2]/+(b|0)}A[a+264>>3]=d;wa:{xa:{switch(v[a+408>>2]-1|0){case 0:A[a+272>>3]=v[a+416>>2];break i;case 1:A[a+272>>3]=A[a+416>>3];break i;case 2:break xa;default:break wa}}b=v[a+420>>2];if(!b){break wa}j=+v[a+416>>2]/+(b|0)}A[a+272>>3]=j;break i}d=0;ya:{za:{switch(v[a+360>>2]-1|0){case 0:A[a+280>>3]=v[a+368>>2];break i;case 1:A[a+280>>3]=A[a+368>>3];break i;case 2:break za;default:break ya}}b=v[a+372>>2];if(!b){break ya}d=+v[a+368>>2]/+(b|0)}A[a+280>>3]=d;break i}b=0;Aa:{Ba:{switch(v[a+360>>2]-1|0){case 0:v[a+288>>2]=v[a+368>>2];break i;case 1:d=A[a+368>>3];e=d>2e9;b=a;if(D(d)<2147483648){c=~~d}else{c=-2147483648}v[b+288>>2]=d<-2e9?0:e?0:c;break i;case 2:break Ba;default:break Aa}}c=v[a+372>>2];if(!c){break Aa}b=v[a+368>>2]/(c|0)|0}v[a+288>>2]=b;break i}b=0;Ca:{Da:{switch(v[a+360>>2]-1|0){case 0:v[a+292>>2]=v[a+368>>2];break i;case 1:d=A[a+368>>3];e=d>2e9;b=a;if(D(d)<2147483648){c=~~d}else{c=-2147483648}v[b+292>>2]=d<-2e9?0:e?0:c;break i;case 2:break Da;default:break Ca}}c=v[a+372>>2];if(!c){break Ca}b=v[a+368>>2]/(c|0)|0}v[a+292>>2]=b;break i}b=0;Ea:{Fa:{switch(v[a+360>>2]-1|0){case 0:v[a+296>>2]=v[a+368>>2];break i;case 1:d=A[a+368>>3];e=d>2e9;b=a;if(D(d)<2147483648){c=~~d}else{c=-2147483648}v[b+296>>2]=d<-2e9?0:e?0:c;break i;case 2:break Fa;default:break Ea}}c=v[a+372>>2];if(!c){break Ea}b=v[a+368>>2]/(c|0)|0}v[a+296>>2]=b;break i}c=0;b=0;Ga:{Ha:{switch(v[a+360>>2]-1|0){case 0:b=v[a+368>>2];break Ga;case 1:d=A[a+368>>3];e=d>2e9;if(D(d)<2147483648){b=~~d}else{b=-2147483648}b=d<-2e9?0:e?0:b;break Ga;case 2:break Ha;default:break Ga}}e=v[a+372>>2];if(!e){break Ga}b=v[a+368>>2]/(e|0)|0}v[a+300>>2]=b;Ia:{Ja:{switch(v[a+376>>2]-1|0){case 0:v[a+304>>2]=v[a+384>>2];break i;case 1:d=A[a+384>>3];e=d>2e9;b=a;if(D(d)<2147483648){c=~~d}else{c=-2147483648}v[b+304>>2]=d<-2e9?0:e?0:c;break i;case 2:break Ja;default:break Ia}}b=v[a+388>>2];if(!b){break Ia}c=v[a+384>>2]/(b|0)|0}v[a+304>>2]=c;break i}c=0;b=0;Ka:{La:{switch(v[a+360>>2]-1|0){case 0:b=v[a+368>>2];break Ka;case 1:d=A[a+368>>3];e=d>2e9;if(D(d)<2147483648){b=~~d}else{b=-2147483648}b=d<-2e9?0:e?0:b;break Ka;case 2:break La;default:break Ka}}e=v[a+372>>2];if(!e){break Ka}b=v[a+368>>2]/(e|0)|0}v[a+308>>2]=b;Ma:{Na:{switch(v[a+376>>2]-1|0){case 0:c=v[a+384>>2];break Ma;case 1:d=A[a+384>>3];c=d>2e9;if(D(d)<2147483648){b=~~d}else{b=-2147483648}c=d<-2e9?0:c?0:b;break Ma;case 2:break Na;default:break Ma}}b=v[a+388>>2];if(!b){break Ma}c=v[a+384>>2]/(b|0)|0}v[a+312>>2]=c;b=0;Oa:{Pa:{switch(v[a+392>>2]-1|0){case 0:v[a+316>>2]=v[a+400>>2];break i;case 1:d=A[a+400>>3];e=d>2e9;b=a;if(D(d)<2147483648){c=~~d}else{c=-2147483648}v[b+316>>2]=d<-2e9?0:e?0:c;break i;case 2:break Pa;default:break Oa}}c=v[a+404>>2];if(!c){break Oa}b=v[a+400>>2]/(c|0)|0}v[a+316>>2]=b;break i}b=0;Qa:{Ra:{switch(v[a+360>>2]-1|0){case 0:v[a+320>>2]=v[a+368>>2];break i;case 1:d=A[a+368>>3];e=d>2e9;b=a;if(D(d)<2147483648){c=~~d}else{c=-2147483648}v[b+320>>2]=d<-2e9?0:e?0:c;break i;case 2:break Ra;default:break Qa}}c=v[a+372>>2];if(!c){break Qa}b=v[a+368>>2]/(c|0)|0}v[a+320>>2]=b;break i}b=0;Sa:{Ta:{switch(v[a+360>>2]-1|0){case 0:b=v[a+368>>2];break Sa;case 1:d=A[a+368>>3];c=d>2e9;if(D(d)<2147483648){b=~~d}else{b=-2147483648}b=d<-2e9?0:c?0:b;break Sa;case 2:break Ta;default:break Sa}}c=v[a+372>>2];if(!c){break Sa}b=v[a+368>>2]/(c|0)|0}v[a+324>>2]=b}v[a+1144>>2]=0}if((f|0)<(g|0)){continue}break}}}Ua:{if(v[a+128>>2]==3102){g=v[a+320>>2];if(!g){v[a+336>>2]=1;b=si(592);v[a+328>>2]=b;v[b+552>>2]=0;v[b+556>>2]=0;v[b+544>>2]=-343597384;v[b+548>>2]=1068415057;v[b+536>>2]=0;v[b+528>>2]=0;v[b+532>>2]=0;v[b+520>>2]=0;v[b+512>>2]=0;v[b+408>>2]=0;v[b+304>>2]=0;v[b+288>>2]=0;v[b+272>>2]=7;v[b+276>>2]=1;v[b+264>>2]=1580547965;v[b+268>>2]=1067731386;v[b+256>>2]=0;v[b+212>>2]=0;v[b+152>>2]=0;v[b+108>>2]=0;v[b+48>>2]=0;v[b+560>>2]=0;v[b+564>>2]=0;v[b+584>>2]=1;v[b+576>>2]=0;v[b+580>>2]=0;v[b+568>>2]=1;break Ua}f=g+2|0;c=pe(a,g,k);Va:{if(!c){b=f;break Va}i=Je(a,f,k);if(i-1>>>0>=4){v[k>>2]=0}h=g+3|0;b=h+B(c+1|0,i)|0;f=b-1|0;if(!((b|0)<=v[a+12>>2]&(b|0)>=1)){v[k>>2]=0}b=pm(a,h+B(c,i)|0,i,k)+f|0;if((f|0)>(b|0)|v[a+12>>2]<(b|0)){break c}}if(!v[k>>2]){break d}v[a+336>>2]=c;E=a,F=Pb(c,592),v[E+328>>2]=F;if(v[a+336>>2]<1){break Ua}n=g+3|0;C=(c|0)>0?c:0;while(1){if((m|0)==(C|0)){break c}c=pm(a,n+B(i,m)|0,i,k);h=m+1|0;g=pm(a,n+B(h,i)|0,i,k);c=c+f|0;if((f|0)>(c|0)|(b|0)<(c|0)){break c}e=f+g|0;if((e|0)<=(f|0)|(b|0)<(e|0)|(c|0)>(e|0)){break c}g=0;if(!v[k>>2]){break b}m=v[a+328>>2]+B(m,592)|0;l=0;d=0;j=0;r=0;s=0;y=0;z=0;v[a+1144>>2]=0;e=e-c|0;Wa:{if((e|0)>0){g=a+352|0;e=c+e|0;Xa:{Ya:{while(1){c=bH(a,c,g);if(!v[a+352>>2]){break Xa}o=v[a+1144>>2];p=a+(o-1<<4)|0;if(!v[p+360>>2]){p=v[p+368>>2];Za:{if((p|0)!=3079){if((p|0)!=18){break Za}if((o|0)<=2){v[g>>2]=0;break Wa}g=0;c=0;_a:{$a:{switch(v[a+360>>2]-1|0){case 0:c=v[a+368>>2];break _a;case 1:q=A[a+368>>3];e=q>2e9;if(D(q)<2147483648){c=~~q}else{c=-2147483648}c=q<-2e9?0:e?0:c;break _a;case 2:break $a;default:break _a}}e=v[a+372>>2];if(!e){break _a}c=v[a+368>>2]/(e|0)|0}ab:{switch(v[a+376>>2]-1|0){case 0:g=v[a+384>>2];break Ya;case 1:q=A[a+384>>3];e=q>2e9;if(D(q)<2147483648){g=~~q}else{g=-2147483648}g=q<-2e9?0:e?0:g;break Ya;case 2:break ab;default:break Ya}}e=v[a+388>>2];if(!e){break Ya}g=v[a+384>>2]/(e|0)|0;break Ya}s=0;d=0;bb:{cb:{switch(v[a+360>>2]-1|0){case 0:d=+v[a+368>>2];break bb;case 1:d=A[a+368>>3];break bb;case 2:break cb;default:break bb}}l=v[a+372>>2];if(!l){break bb}d=+v[a+368>>2]/+(l|0)}db:{eb:{switch(v[a+376>>2]-1|0){case 0:s=+v[a+384>>2];break db;case 1:s=A[a+384>>3];break db;case 2:break eb;default:break db}}l=v[a+388>>2];if(!l){break db}s=+v[a+384>>2]/+(l|0)}y=0;j=0;fb:{gb:{switch(v[a+392>>2]-1|0){case 0:j=+v[a+400>>2];break fb;case 1:j=A[a+400>>3];break fb;case 2:break gb;default:break fb}}l=v[a+404>>2];if(!l){break fb}j=+v[a+400>>2]/+(l|0)}hb:{ib:{switch(v[a+408>>2]-1|0){case 0:y=+v[a+416>>2];break hb;case 1:y=A[a+416>>3];break hb;case 2:break ib;default:break hb}}l=v[a+420>>2];if(!l){break hb}y=+v[a+416>>2]/+(l|0)}z=0;r=0;jb:{kb:{switch(v[a+424>>2]-1|0){case 0:r=+v[a+432>>2];break jb;case 1:r=A[a+432>>3];break jb;case 2:break kb;default:break jb}}l=v[a+436>>2];if(!l){break jb}r=+v[a+432>>2]/+(l|0)}l=1;lb:{switch(v[a+440>>2]-1|0){case 0:z=+v[a+448>>2];break Za;case 1:z=A[a+448>>3];break Za;case 2:break lb;default:break Za}}o=v[a+452>>2];if(!o){break Za}z=+v[a+448>>2]/+(o|0)}v[a+1144>>2]=0}if((c|0)<(e|0)){continue}break}c=0;g=0}dH(a,g,c,m);if(!l){break Xa}v[m+48>>2]=1;A[m+40>>3]=z;A[m+32>>3]=r;A[m+24>>3]=y;A[m+16>>3]=j;A[m+8>>3]=s;A[m>>3]=d}break Wa}dH(a,0,0,m)}m=h;if((h|0)>2]){continue}break}break Ua}v[a+336>>2]=1;b=si(592);v[a+328>>2]=b;dH(a,v[a+304>>2],v[a+300>>2],b)}m=0;if(!v[k>>2]){break d}b=v[a+296>>2];if((b|0)<=0){break c}sv(a,b,a+108|0,k);if(!v[a+352>>2]){break d}v[a+332>>2]=v[a+112>>2];if(v[a+128>>2]==3102){c=si(v[a+332>>2]);v[a+340>>2]=c;b=1;mb:{if(v[a+332>>2]<1){break mb}t[c|0]=0;if(v[a+332>>2]<2){break mb}while(1){t[v[a+340>>2]+b|0]=0;b=b+1|0;if((b|0)>2]){continue}break}}b=v[a+324>>2];nb:{if(!b){break nb}e=a+352|0;f=Je(a,b,e);if(!v[a+352>>2]){break nb}c=b+1|0;ob:{pb:{switch(f|0){case 0:b=v[a+332>>2];if(!((b|0)<=(2147483647-c|0)&(b|c)>-1&v[a+12>>2]>=(b+c|0))){break ob}if(v[a+332>>2]<1){break nb}b=0;while(1){f=w[v[a+8>>2]+(b+c|0)|0];if((f|0)>=v[a+336>>2]){break ob}t[v[a+340>>2]+b|0]=f;b=b+1|0;if((b|0)>2]){continue}break};break nb;case 3:break pb;default:break nb}}n=pe(a,c,e);c=pe(a,b+3|0,e);if((n|0)<1){break nb}i=b+5|0;f=1;while(1){b=c;h=Je(a,i,e);c=pe(a,i+1|0,e);if(!v[a+352>>2]){break nb}if(v[a+332>>2]<(c|0)|(b|0)>(c|0)|(h|0)>=v[a+336>>2]){break ob}g=f;qb:{if((b|0)>=(c|0)){break qb}l=(b^-1)+c|0;f=c-b&3;if(f){while(1){t[v[a+340>>2]+b|0]=h;b=b+1|0;f=f-1|0;if(f){continue}break}}if(l>>>0<3){break qb}while(1){t[v[a+340>>2]+b|0]=h;t[(v[a+340>>2]+b|0)+1|0]=h;t[(v[a+340>>2]+b|0)+2|0]=h;t[(v[a+340>>2]+b|0)+3|0]=h;b=b+4|0;if((c|0)!=(b|0)){continue}break}}i=i+3|0;f=g+1|0;if((g|0)!=(n|0)){continue}break}break nb}v[e>>2]=0}if(!v[a+352>>2]){break d}}rb:{sb:{tb:{switch(v[a+288>>2]){case 0:v[a+344>>2]=1030384;if(v[a+332>>2]<230){break sb}v[a+332>>2]=229;b=1;break rb;case 1:v[a+344>>2]=1030848;if(v[a+332>>2]<167){break sb}v[a+332>>2]=166;b=1;break rb;case 2:v[a+344>>2]=1031184;if(v[a+332>>2]<88){break sb}v[a+332>>2]=87;break sb;default:break tb}}b=Pb(v[a+332>>2],2);v[a+344>>2]=b;c=v[a+332>>2];if((c|0)>=1){eb(b,0,c<<1)}b=v[a+288>>2];c=b+1|0;ub:{vb:{wb:{xb:{yb:{zb:{Ab:{h=a+352|0;switch(Je(a,b,h)|0){case 0:break yb;case 1:break zb;case 2:break Ab;default:break vb}}b=1;if(v[a+332>>2]<=1){break vb}break wb}b=1;if(v[a+332>>2]<=1){break vb}break xb}if(v[a+332>>2]<2){break vb}b=1;while(1){f=pe(a,c,h);u[v[a+344>>2]+(b<<1)>>1]=f;if(!v[a+352>>2]){break ub}c=c+2|0;b=b+1|0;if((b|0)>2]){continue}break}break vb}while(1){g=pe(a,c,h);e=Je(a,c+2|0,h);if(!v[a+352>>2]){break ub}i=0;f=v[a+332>>2];Bb:{if((e|0)<0|(f|0)<=(b|0)){break Bb}n=v[a+344>>2];while(1){u[n+(b<<1)>>1]=g;b=b+1|0;f=v[a+332>>2];if((e|0)<=(i|0)){break Bb}i=i+1|0;g=g+1|0;if((b|0)<(f|0)){continue}break}}c=c+3|0;if((b|0)<(f|0)){continue}break}break vb}while(1){g=pe(a,c,h);e=pe(a,c+2|0,h);if(!v[a+352>>2]){break ub}i=0;f=v[a+332>>2];Cb:{if((e|0)<0|(f|0)<=(b|0)){break Cb}n=v[a+344>>2];while(1){u[n+(b<<1)>>1]=g;b=b+1|0;f=v[a+332>>2];if((e|0)<=(i|0)){break Cb}i=i+1|0;g=g+1|0;if((b|0)<(f|0)){continue}break}}c=c+4|0;if((b|0)<(f|0)){continue}break}}if(v[h>>2]){break sb}}tb(v[a+344>>2]);v[a+344>>2]=0;b=0;break rb}b=1}if(!b){break c}Db:{switch(v[a+128>>2]-3092|0){default:i=0;e=Ma-256|0;Ma=e;g=1026768;Eb:{Fb:{switch(v[a+292>>2]){default:b=Pb(256,4);v[a+24>>2]=b;v[b>>2]=0;c=1;while(1){b=c<<2;v[b+v[a+24>>2]>>2]=0;v[(b+v[a+24>>2]|0)+4>>2]=0;v[(b+v[a+24>>2]|0)+8>>2]=0;v[(b+v[a+24>>2]|0)+12>>2]=0;v[(b+v[a+24>>2]|0)+16>>2]=0;c=c+5|0;if((c|0)!=256){continue}break};b=v[a+292>>2];h=a+352|0;n=Je(a,b,h);if(!v[a+352>>2]){break Eb}c=b+1|0;Gb:{Hb:{switch(n&127){case 0:f=Je(a,c,h);if(!v[a+352>>2]){break Eb}g=1;c=b+2|0;b=v[a+332>>2];b=(b|0)>(f|0)?f+1|0:b;if((b|0)<2){break Gb}while(1){f=Je(a,c,h);if(!v[a+352>>2]){break Eb}f=f<<2;i=v[f+v[a+24>>2]>>2];if(i){tb(i)}c=c+1|0;i=qc(cH(a,x[v[a+344>>2]+(g<<1)>>1],e,h));v[f+v[a+24>>2]>>2]=i;g=g+1|0;if((b|0)!=(g|0)){continue}break};break Gb;case 1:break Hb;default:break Gb}}l=Je(a,c,h);if(!v[a+352>>2]){break Eb}c=b+2|0;g=1;if((l|0)<1){break Gb}while(1){f=b;b=c;c=Je(a,b,h);C=Je(a,f+3|0,h);if(!v[a+352>>2]){break Eb}f=0;Ib:{if((C|0)<0){break Ib}o=v[a+332>>2];if((o|0)<=(g|0)){break Ib}while(1){if((c|0)<=255){o=c<<2;p=v[o+v[a+24>>2]>>2];if(p){tb(p)}p=qc(cH(a,x[v[a+344>>2]+(g<<1)>>1],e,h));v[o+v[a+24>>2]>>2]=p;o=v[a+332>>2]}g=g+1|0;if((f|0)>=(C|0)){break Ib}f=f+1|0;c=c+1|0;if((g|0)<(o|0)){continue}break}}c=b+2|0;i=i+1|0;if((l|0)!=(i|0)){continue}break}}if(!(n&128)){break Eb}b=Je(a,c,h);if(!v[a+352>>2]|(b|0)<1){break Eb}g=c+1|0;c=0;while(1){f=Je(a,g,h);if(!v[a+352>>2]){break Eb}i=pe(a,g+1|0,h);if(!v[a+352>>2]){break Eb}f=f<<2;n=v[f+v[a+24>>2]>>2];if(n){tb(n)}g=g+3|0;i=qc(cH(a,i,e,h));v[f+v[a+24>>2]>>2]=i;c=c+1|0;if((b|0)!=(c|0)){continue}break};break Eb;case 1:g=1027792;break;case 0:break Fb}}v[a+24>>2]=g}Ma=e+256|0;if(!v[a+352>>2]){break d}break;case 0:case 10:break Db}}m=v[k>>2]}g=m;break b}v[k>>2]=0;g=0}if(!g){Qa[v[v[a>>2]+4>>2]](a);a=0}return a}function ss(a,b,c,d,e,f,g,h,i,j,k){var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,z=0,A=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;G=Ma-160|0;Ma=G;E=ab(24);v[E+12>>2]=d;v[E+8>>2]=c;v[E>>2]=927256;v[E+4>>2]=0;p=c+7>>3;v[E+16>>2]=p;a:{if(!((c|0)<1|(d|0)<1)){m=d;if((m|0)<(2147483646/(p|0)|0)){break a}}v[E+12>>2]=-1;v[E+16>>2]=2;m=-1;p=2}n=B(m,p);l=si(n+1|0);v[E+20>>2]=l;t[l+n|0]=0;F=eb(l,0,n);b:{if(b){b=v[a+148>>2];v[b+12>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;if((c|0)>=2147483645){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,242443,0);c=-4}e=Pb(c+1|0,4);r=Pb(c+3|0,4);v[e>>2]=c;c:{if((d|0)<1){break c}n=c;while(1){m=0;if((c|0)>(n|0)){while(1){v[r+(m<<2)>>2]=n;m=m+1|0;n=v[e+(m<<2)>>2];if((n|0)<(c|0)){continue}break}}b=r+(m<<2)|0;v[b>>2]=c;v[b+8>>2]=c;v[b+4>>2]=c;m=0;v[e>>2]=0;q=e;n=0;l=0;if((c|0)>0){while(1){f=v[a+148>>2];b=v[f+8>>2];d:{if(!b){b=8;g=v[f>>2];g=Qa[v[v[g>>2]+28>>2]](g)|0;v[f+8>>2]=8;g=g&255;v[f+4>>2]=g;v[f+12>>2]=v[f+12>>2]+1;v[f+16>>2]=v[f+16>>2]+1;j=(g<<1&508)+923024|0;break d}g=v[f+4>>2];if(b>>>0>=7){j=((g>>>b-7&127)<<2)+923024|0;break d}j=((g<<7-b&127)<<2)+923024|0;h=u[j>>1];if((h|0)>=0&(b|0)>=(h|0)){break d}b=v[f>>2];g=Qa[v[v[b>>2]+28>>2]](b)&255|g<<8;v[f+4>>2]=g;h=v[f+8>>2];b=h+8|0;v[f+8>>2]=b;v[f+12>>2]=v[f+12>>2]+1;v[f+16>>2]=v[f+16>>2]+1;j=((g>>>h+1&127)<<2)+923024|0}e:{f:{g=u[j>>1];if((g|0)<=-1){b=v[f>>2];fb(1,Qa[v[v[b>>2]+52>>2]](b)|0,257949,0);break f}v[f+8>>2]=b-(g&65535);g:{h:{i:{switch(u[j+2>>1]+1|0){case 1:g=n+2|0;f=n;h=r+(n<<2)|0;b=v[h+4>>2];if((b|0)>v[q>>2]){l=((l&1)!=(m|0))+l|0;i=e+(l<<2)|0;if((b|0)>(c|0)){j=Qa[v[v[a>>2]+52>>2]](a)|0;v[G>>2]=b;fb(1,j,326935,G);b=c}v[i>>2]=b;b=v[h+4>>2]}n=(b|0)<(c|0)?g:f;break e;case 2:g=0;if(m){while(1){h=v[a+148>>2];b=v[h+8>>2];if(!b){b=v[h>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;v[h+8>>2]=8;v[h+4>>2]=b&255;v[h+12>>2]=v[h+12>>2]+1;v[h+16>>2]=v[h+16>>2]+1;b=8}j:{k:{while(1){l:{m:{n:{o:{p:{if(b>>>0>=10){j=v[h+4>>2];x=b-6|0;if(j>>>x&63){break p}f=(((b>>>0<14?j<<13-b:j>>>b-13|0)&127)<<2)+925712|0;break l}j=v[h+4>>2];if(b>>>0<7){break o}x=b-6|0}if(!(j>>>x&3)|j>>>b-4&15){break n}f=(((b>>>0<13?j<<12-b:j>>>b-12|0)&255)<<2)+925968|0;break l}f=j<<6-b;break m}f=j>>>x|0}f=((f&63)<<2)+926992|0}i=u[f>>1];if((i|0)>=1&(b|0)>=(i|0)){break k}if(b>>>0<=12){b=v[h>>2];R=h,S=Qa[v[v[b>>2]+28>>2]](b)&255|j<<8,v[R+4>>2]=S;b=v[h+8>>2]+8|0;v[h+8>>2]=b;v[h+12>>2]=v[h+12>>2]+1;v[h+16>>2]=v[h+16>>2]+1;continue}break}b=v[h>>2];fb(1,Qa[v[v[b>>2]+52>>2]](b)|0,257986,0);v[h+8>>2]=v[h+8>>2]-1;g=g+1|0;break j}v[h+8>>2]=b-i;b=u[f+2>>1];g=b+g|0;if((b|0)>63){continue}}break}s=0;while(1){i=v[a+148>>2];b=v[i+8>>2];if(!b){b=v[i>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;v[i+8>>2]=8;v[i+4>>2]=b&255;v[i+12>>2]=v[i+12>>2]+1;v[i+16>>2]=v[i+16>>2]+1;b=8}y=i+8|0;while(1){q:{r:{s:{if(b>>>0>=11){j=v[i+4>>2];if(j>>>b-7&127){break s}f=(((b>>>0<13?j<<12-b:j>>>b-12|0)&31)<<2)+923536|0;break q}j=v[i+4>>2];if((b|0)==10){break s}f=j<<9-b;break r}f=j>>>b-9|0}f=((f&511)<<2)+923664|0}h=u[f>>1];if(!((h|0)>=1&(b|0)>=(h|0))){if(b>>>0>11){b=258021;break h}b=v[i>>2];R=i,S=Qa[v[v[b>>2]+28>>2]](b)&255|j<<8,v[R+4>>2]=S;b=v[i+8>>2]+8|0;v[i+8>>2]=b;v[i+12>>2]=v[i+12>>2]+1;v[i+16>>2]=v[i+16>>2]+1;continue}break}v[i+8>>2]=b-h;b=u[f+2>>1];s=b+s|0;if((b|0)>63){continue}break}break g}while(1){h=v[a+148>>2];b=v[h+8>>2];if(!b){b=v[h>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;v[h+8>>2]=8;v[h+4>>2]=b&255;v[h+12>>2]=v[h+12>>2]+1;v[h+16>>2]=v[h+16>>2]+1;b=8}t:{u:{while(1){v:{w:{x:{if(b>>>0>=11){j=v[h+4>>2];if(j>>>b-7&127){break x}f=(((b>>>0<13?j<<12-b:j>>>b-12|0)&31)<<2)+923536|0;break v}j=v[h+4>>2];if((b|0)==10){break x}f=j<<9-b;break w}f=j>>>b-9|0}f=((f&511)<<2)+923664|0}i=u[f>>1];if((i|0)>=1&(b|0)>=(i|0)){break u}if(b>>>0<=11){b=v[h>>2];R=h,S=Qa[v[v[b>>2]+28>>2]](b)&255|j<<8,v[R+4>>2]=S;b=v[h+8>>2]+8|0;v[h+8>>2]=b;v[h+12>>2]=v[h+12>>2]+1;v[h+16>>2]=v[h+16>>2]+1;continue}break}b=v[h>>2];fb(1,Qa[v[v[b>>2]+52>>2]](b)|0,258021,0);v[h+8>>2]=v[h+8>>2]-1;g=g+1|0;break t}v[h+8>>2]=b-i;b=u[f+2>>1];g=b+g|0;if((b|0)>63){continue}}break};s=0;while(1){i=v[a+148>>2];b=v[i+8>>2];if(!b){b=v[i>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;v[i+8>>2]=8;v[i+4>>2]=b&255;v[i+12>>2]=v[i+12>>2]+1;v[i+16>>2]=v[i+16>>2]+1;b=8}y=i+8|0;while(1){y:{z:{A:{B:{C:{if(b>>>0>=10){j=v[i+4>>2];x=b-6|0;if(j>>>x&63){break C}f=(((b>>>0<14?j<<13-b:j>>>b-13|0)&127)<<2)+925712|0;break y}j=v[i+4>>2];if(b>>>0<7){break B}x=b-6|0}if(!(j>>>x&3)|j>>>b-4&15){break A}f=(((b>>>0<13?j<<12-b:j>>>b-12|0)&255)<<2)+925968|0;break y}f=j<<6-b;break z}f=j>>>x|0}f=((f&63)<<2)+926992|0}h=u[f>>1];if(!((h|0)>=1&(b|0)>=(h|0))){if(b>>>0>12){b=257986;break h}b=v[i>>2];R=i,S=Qa[v[v[b>>2]+28>>2]](b)&255|j<<8,v[R+4>>2]=S;b=v[i+8>>2]+8|0;v[i+8>>2]=b;v[i+12>>2]=v[i+12>>2]+1;v[i+16>>2]=v[i+16>>2]+1;continue}break}v[i+8>>2]=b-h;b=u[f+2>>1];s=b+s|0;if((b|0)>63){continue}break};break g;case 8:j=v[r+(n<<2)>>2]+3|0;D:{if((j|0)<=v[q>>2]){j=v[e+(l<<2)>>2];break D}if((c|0)<(j|0)){b=Qa[v[v[a>>2]+52>>2]](a)|0;v[G+48>>2]=j;fb(1,b,326935,G+48|0);j=c}l=((l&1)!=(m|0))+l|0;v[e+(l<<2)>>2]=j}m=m^1;if((c|0)<=(j|0)){break e}i=n+1|0;while(1){n=i;b=v[r+(n<<2)>>2];if((b|0)>(j|0)){break e}i=n+2|0;if((b|0)<(c|0)){continue}break};break e;case 6:j=v[r+(n<<2)>>2]+2|0;E:{if((j|0)<=v[q>>2]){j=v[e+(l<<2)>>2];break E}if((c|0)<(j|0)){b=Qa[v[v[a>>2]+52>>2]](a)|0;v[G+64>>2]=j;fb(1,b,326935,G- -64|0);j=c}l=((l&1)!=(m|0))+l|0;v[e+(l<<2)>>2]=j}m=m^1;if((c|0)<=(j|0)){break e}i=n+1|0;while(1){n=i;b=v[r+(n<<2)>>2];if((b|0)>(j|0)){break e}i=n+2|0;if((b|0)<(c|0)){continue}break};break e;case 4:b=v[r+(n<<2)>>2];F:{if((b|0)>2]){j=v[e+(l<<2)>>2];break F}j=b+1|0;if((b|0)>=(c|0)){b=Qa[v[v[a>>2]+52>>2]](a)|0;v[G+80>>2]=j;fb(1,b,326935,G+80|0);j=c}l=((l&1)!=(m|0))+l|0;v[e+(l<<2)>>2]=j}m=m^1;if((c|0)<=(j|0)){break e}i=n+1|0;while(1){n=i;b=v[r+(n<<2)>>2];if((b|0)>(j|0)){break e}i=n+2|0;if((b|0)<(c|0)){continue}break};break e;case 3:j=v[r+(n<<2)>>2];G:{if((j|0)<=v[q>>2]){j=v[e+(l<<2)>>2];break G}if((c|0)<(j|0)){b=Qa[v[v[a>>2]+52>>2]](a)|0;v[G+96>>2]=j;fb(1,b,326935,G+96|0);j=c}l=((l&1)!=(m|0))+l|0;v[e+(l<<2)>>2]=j}m=m^1;if((c|0)<=(j|0)){break e}i=n+1|0;while(1){n=i;b=v[r+(n<<2)>>2];if((b|0)>(j|0)){break e}i=n+2|0;if((b|0)<(c|0)){continue}break};break e;case 9:b=v[r+(n<<2)>>2];j=b-3|0;f=v[q>>2];H:{I:{if((j|0)>(f|0)){if((c|0)<(j|0)){b=Qa[v[v[a>>2]+52>>2]](a)|0;v[G+112>>2]=j;fb(1,b,326935,G+112|0);j=c}l=((l&1)!=(m|0))+l|0;break I}if((f|0)<=(j|0)){j=v[e+(l<<2)>>2];break H}if((b|0)<=2){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,283944,0);j=0}if((l|0)<1){break I}while(1){b=l-1|0;if(v[e+(b<<2)>>2]<(j|0)){break I}f=(l|0)>1;l=b;if(f){continue}break}l=0}v[e+(l<<2)>>2]=j}m=m^1;if((c|0)<=(j|0)){break e}i=((n|0)<1?1:-1)+n|0;while(1){n=i;b=v[r+(n<<2)>>2];if((b|0)>(j|0)){break e}i=n+2|0;if((b|0)<(c|0)){continue}break};break e;case 7:b=v[r+(n<<2)>>2];j=b-2|0;f=v[q>>2];J:{K:{if((j|0)>(f|0)){if((c|0)<(j|0)){b=Qa[v[v[a>>2]+52>>2]](a)|0;v[G+128>>2]=j;fb(1,b,326935,G+128|0);j=c}l=((l&1)!=(m|0))+l|0;break K}if((f|0)<=(j|0)){j=v[e+(l<<2)>>2];break J}if((b|0)<=1){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,283944,0);j=0}if((l|0)<1){break K}while(1){b=l-1|0;if(v[e+(b<<2)>>2]<(j|0)){break K}f=(l|0)>1;l=b;if(f){continue}break}l=0}v[e+(l<<2)>>2]=j}m=m^1;if((c|0)<=(j|0)){break e}i=((n|0)<1?1:-1)+n|0;while(1){n=i;b=v[r+(n<<2)>>2];if((b|0)>(j|0)){break e}i=n+2|0;if((b|0)<(c|0)){continue}break};break e;case 5:b=v[r+(n<<2)>>2];j=b-1|0;f=v[q>>2];L:{M:{if((j|0)>(f|0)){if((c|0)<(j|0)){b=Qa[v[v[a>>2]+52>>2]](a)|0;v[G+144>>2]=j;fb(1,b,326935,G+144|0);j=c}l=((l&1)!=(m|0))+l|0;break M}if((b|0)>(f|0)){j=v[e+(l<<2)>>2];break L}if((b|0)<=0){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,283944,0);j=0}if((l|0)<1){break M}while(1){b=l-1|0;if(v[e+(b<<2)>>2]<(j|0)){break M}f=(l|0)>1;l=b;if(f){continue}break}l=0}v[e+(l<<2)>>2]=j}m=m^1;if((c|0)<=(j|0)){break e}i=((n|0)<1?1:-1)+n|0;while(1){n=i;b=v[r+(n<<2)>>2];if((b|0)>(j|0)){break e}i=n+2|0;if((b|0)<(c|0)){continue}break};break e;case 0:break f;default:break i}}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,303555,0);if(v[q>>2]>=(c|0)){break e}l=(l&1)+l|0;v[e+(l<<2)>>2]=c;break e}f=v[i>>2];fb(1,Qa[v[v[f>>2]+52>>2]](f)|0,b,0);v[y>>2]=v[y>>2]-1;s=s+1|0}N:{if((g|0)<=0){j=v[e+(l<<2)>>2];break N}j=v[q>>2]+g|0;if((j|0)>(c|0)){b=Qa[v[v[a>>2]+52>>2]](a)|0;v[G+32>>2]=j;fb(1,b,326935,G+32|0);j=c}l=((l&1)!=(m|0))+l|0;v[e+(l<<2)>>2]=j}if(!((s|0)<1|(c|0)<=(j|0))){j=j+s|0;if((j|0)>(c|0)){b=Qa[v[v[a>>2]+52>>2]](a)|0;v[G+16>>2]=j;fb(1,b,326935,G+16|0);j=c}l=((l&1)!=(m^1))+l|0;v[e+(l<<2)>>2]=j}while(1){b=n;f=v[r+(b<<2)>>2];if((f|0)>(j|0)){break e}n=b+2|0;if((c|0)>(f|0)){continue}break}n=b;break e}if(v[q>>2]>=(c|0)){break e}l=(l&1)+l|0;v[e+(l<<2)>>2]=c}q=e+(l<<2)|0;if(v[q>>2]<(c|0)){continue}break}m=v[e>>2]}O:{if((c|0)<=(m|0)){break O}b=B(p,D);j=0;while(1){f=e+(j<<2|4)|0;n=v[f>>2];if((n|0)>(m|0)){while(1){g=(b+(m>>3)|0)+F|0;t[g|0]=w[g|0]|1<<((m^-1)&7);m=m+1|0;n=v[f>>2];if((m|0)<(n|0)){continue}break}}if((c|0)<=(n|0)){break O}j=j+2|0;m=v[e+(j<<2)>>2];if((m|0)<(c|0)){continue}break}}D=D+1|0;if((D|0)==(d|0)){break c}n=v[e>>2];continue}}b=v[a+148>>2];P:{if((k|0)>=0){a=v[b>>2];a=Qa[v[v[a>>2]+48>>2]](a,k-v[b+12>>2]|0)|0;v[b+12>>2]=a+v[b+12>>2];v[b+16>>2]=a+v[b+16>>2];break P}c=v[b+4>>2];n=v[b+8>>2];if(n>>>0<=23){while(1){d=v[b>>2];c=Qa[v[v[d>>2]+28>>2]](d)&255|c<<8;v[b+4>>2]=c;n=v[b+8>>2]+8|0;v[b+8>>2]=n;v[b+12>>2]=v[b+12>>2]+1;v[b+16>>2]=v[b+16>>2]+1;if(n>>>0<24){continue}break}}if((c>>>n-24&16777215)==4097){break P}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,303593,0)}tb(r);tb(e);break b}O=!f|e>>>0>3?O:v[(e<<2)+927640>>2];if((d|0)<1){break b}n=0;while(1){Q:{R:{S:{T:{U:{V:{W:{X:{if(f){M=Tc(v[a+76>>2],O,v[a+80>>2])?!M:M;if(M){break X}M=0}switch(e|0){case 3:break T;case 2:break U;case 1:break V;case 0:break W;default:break Q}}if(!n){break Q}b=v[E+16>>2];cb(B(b,n)+F|0,B(b,n-1|0)+F|0,b);break Q}I=v[E+16>>2];r=B(I,n)+F|0;b=w[r|0];Y:{if(!n){k=0;C=0;x=0;q=0;break Y}k=B(I,n-1|0)+F|0;C=k+1|0;x=w[k|0]<<8;k=0;q=0;if((n|0)==1){break Y}l=B(I,n-2|0)+F|0;k=l+1|0;q=w[l|0]<<8}K=r+1|0;b=b<<8;Z:{y=v[i>>2];if(y+8>>>0>16){break Z}D=v[i+4>>2];if(D+8>>>0>16){break Z}m=v[i+8>>2];if(m+8>>>0>16){break Z}N=v[i+12>>2];if(N+8>>>0>16){break Z}H=0;o=v[j>>2];_:{if((o|0)>0){p=0;l=0;break _}p=0;o=n+o|0;l=0;if((o|0)<0){break _}l=B(o,I)+F|0;p=l+1|0;l=w[l|0]<<8}A=v[j+4>>2];o=0;$:{if((A|0)>0){break $}A=n+A|0;o=0;if((A|0)<0){break $}o=B(A,I)+F|0;H=o+1|0;o=w[o|0]<<8}L=0;s=v[j+8>>2];aa:{if((s|0)>0){A=0;z=0;break aa}A=0;s=n+s|0;z=0;if((s|0)<0){break aa}s=B(s,I)+F|0;A=s+1|0;z=w[s|0]<<8}J=v[j+12>>2];s=0;ba:{if((J|0)>0){break ba}J=n+J|0;s=0;if((J|0)<0){break ba}s=B(I,J)+F|0;L=s+1|0;s=w[s|0]<<8}if((c|0)<1){break Q}J=15-y|0;P=15-D|0;Q=15-m|0;N=15-N|0;I=0;m=0;while(1){I=I+8|0;ca:{if((I|0)>=(c|0)){break ca}y=0;if(k){q=w[k|0]|q;k=k+1|0}else{k=0}if(C){x=w[C|0]|x;y=C+1|0}D=0;if(p){l=w[p|0]|l;p=p+1|0}else{p=0}if(H){D=H+1|0;o=w[H|0]|o}C=w[K|0];if(A){z=w[A|0]|z;A=A+1|0}else{A=0}K=K+1|0;b=b|C;if(!L){C=y;H=D;L=0;break ca}s=w[L|0]|s;C=y;H=D;L=L+1|0}da:{if((c|0)<=(m|0)){break da}D=128;y=0;while(1){ea:{if(!(!g|(m|0)<0|(v[h+8>>2]<=(m|0)|v[h+12>>2]<=(n|0)))){if(w[v[h+20>>2]+(B(v[h+16>>2],n)+(m>>>3|0)|0)|0]>>>((m^-1)&7)&1){break ea}}if(!Tc(v[a+76>>2],s>>>N&1|(z>>>Q<<1&2|(o>>>P<<2&4|(l>>>J<<3&8|(b>>>12&240|(x>>>5&7936|q>>>1&57344))))),v[a+80>>2])){break ea}t[r|0]=w[r|0]|D;s=v[j+12>>2]?s:s|32768;z=v[j+8>>2]?z:z|32768;o=v[j+4>>2]?o:o|32768;l=v[j>>2]?l:l|32768;b=b|32768}m=m+1|0;s=s<<1;z=z<<1;o=o<<1;l=l<<1;b=b<<1;x=x<<1;q=q<<1;if(y>>>0>6){break da}y=y+1|0;D=(D&254)>>>1|0;if((c|0)>(m|0)){continue}break}}r=r+1|0;if((c|0)>(I|0)){continue}break}break Q}A=0;m=0;if((c|0)<1){break Q}while(1){A=A+8|0;if((A|0)<(c|0)){if(k){q=w[k|0]|q;k=k+1|0}else{k=0}b=w[K|0]|b;K=K+1|0;if(C){x=w[C|0]|x;C=C+1|0}else{C=0}}s=128;z=0;fa:{if((c|0)<=(m|0)){break fa}while(1){y=v[i>>2]+m|0;l=0;ga:{if((y|0)<0){break ga}l=0;if((y|0)>=v[E+8>>2]){break ga}p=v[j>>2]+n|0;l=0;if((p|0)<0){break ga}l=0;if((p|0)>=v[E+12>>2]){break ga}l=w[(B(p,I)+(y>>>3|0)|0)+F|0]>>>((y^-1)&7)&1}y=l;D=0;p=v[i+4>>2]+m|0;l=0;ha:{if((p|0)<0){break ha}l=0;if((p|0)>=v[E+8>>2]){break ha}o=v[j+4>>2]+n|0;l=0;if((o|0)<0){break ha}l=0;if((o|0)>=v[E+12>>2]){break ha}l=w[(B(o,I)+(p>>>3|0)|0)+F|0]>>>((p^-1)&7)&1}p=v[i+8>>2]+m|0;ia:{if((p|0)<0|(p|0)>=v[E+8>>2]){break ia}o=v[j+8>>2]+n|0;if((o|0)<0|(o|0)>=v[E+12>>2]){break ia}D=w[(B(o,I)+(p>>>3|0)|0)+F|0]>>>((p^-1)&7)&1}p=0;o=v[i+12>>2]+m|0;ja:{if((o|0)<0|(o|0)>=v[E+8>>2]){break ja}H=v[j+12>>2]+n|0;if((H|0)<0|(H|0)>=v[E+12>>2]){break ja}p=w[(B(H,I)+(o>>>3|0)|0)+F|0]>>>((o^-1)&7)&1}ka:{if(!(!g|(m|0)<0|(v[h+8>>2]<=(m|0)|v[h+12>>2]<=(n|0)))){if(w[v[h+20>>2]+(B(v[h+16>>2],n)+(m>>>3|0)|0)|0]>>>((m^-1)&7)&1){break ka}}if(!Tc(v[a+76>>2],b>>>12&240|(q>>>1&57344|x>>>5&7936)|y<<3|l<<2|D<<1|p,v[a+80>>2])){break ka}t[r|0]=w[r|0]|s;b=b|32768}m=m+1|0;b=b<<1;x=x<<1;q=q<<1;if(z>>>0>6){break fa}z=z+1|0;s=(s&254)>>>1|0;if((c|0)>(m|0)){continue}break}}r=r+1|0;if((c|0)>(A|0)){continue}break}break Q}C=v[E+16>>2];s=B(C,n)+F|0;q=w[s|0];la:{if(!n){k=0;r=0;l=0;b=0;break la}b=B(C,n-1|0)+F|0;r=b+1|0;l=w[b|0]<<8;k=0;b=0;if((n|0)==1){break la}b=B(C,n-2|0)+F|0;k=b+1|0;b=w[b|0]<<8}y=s+1|0;m=q<<8;q=v[i>>2];if(q+8>>>0<17){break R}A=0;o=0;if((c|0)<=0){break Q}while(1){A=A+8|0;if((A|0)<(c|0)){if(k){b=w[k|0]|b;k=k+1|0}else{k=0}m=w[y|0]|m;y=y+1|0;if(r){l=w[r|0]|l;r=r+1|0}else{r=0}}z=128;q=0;ma:{if((c|0)<=(o|0)){break ma}while(1){D=v[i>>2]+o|0;p=0;na:{if((D|0)<0){break na}p=0;if((D|0)>=v[E+8>>2]){break na}H=v[j>>2]+n|0;p=0;if((H|0)<0){break na}p=0;if((H|0)>=v[E+12>>2]){break na}p=w[(B(C,H)+(D>>>3|0)|0)+F|0]>>>((D^-1)&7)&1}oa:{if(!(!g|(o|0)<0|(v[h+8>>2]<=(o|0)|v[h+12>>2]<=(n|0)))){if(w[v[h+20>>2]+(B(v[h+16>>2],n)+(o>>>3|0)|0)|0]>>>((o^-1)&7)&1){break oa}}if(!Tc(v[a+76>>2],p|(m>>>15&14|(l>>>9&496|b>>>4&7680)),v[a+80>>2])){break oa}t[s|0]=w[s|0]|z;m=m|32768}o=o+1|0;m=m<<1;l=l<<1;b=b<<1;if(q>>>0>6){break ma}q=q+1|0;z=(z&254)>>>1|0;if((c|0)>(o|0)){continue}break}}s=s+1|0;if((c|0)>(A|0)){continue}break}break Q}C=v[E+16>>2];s=B(C,n)+F|0;q=w[s|0];pa:{if(!n){k=0;r=0;b=0;l=0;break pa}b=B(C,n-1|0)+F|0;r=b+1|0;b=w[b|0]<<8;k=0;l=0;if((n|0)==1){break pa}l=B(C,n-2|0)+F|0;k=l+1|0;l=w[l|0]<<8}y=s+1|0;m=q<<8;q=v[i>>2];if(q+8>>>0<17){break S}A=0;o=0;if((c|0)<=0){break Q}while(1){A=A+8|0;if((A|0)<(c|0)){if(k){l=w[k|0]|l;k=k+1|0}else{k=0}m=w[y|0]|m;y=y+1|0;if(r){b=w[r|0]|b;r=r+1|0}else{r=0}}z=128;q=0;qa:{if((c|0)<=(o|0)){break qa}while(1){D=v[i>>2]+o|0;p=0;ra:{if((D|0)<0){break ra}p=0;if((D|0)>=v[E+8>>2]){break ra}H=v[j>>2]+n|0;p=0;if((H|0)<0){break ra}p=0;if((H|0)>=v[E+12>>2]){break ra}p=w[(B(C,H)+(D>>>3|0)|0)+F|0]>>>((D^-1)&7)&1}sa:{if(!(!g|(o|0)<0|(v[h+8>>2]<=(o|0)|v[h+12>>2]<=(n|0)))){if(w[v[h+20>>2]+(B(v[h+16>>2],n)+(o>>>3|0)|0)|0]>>>((o^-1)&7)&1){break sa}}if(!Tc(v[a+76>>2],p|(m>>>15&6|(b>>>11&120|l>>>7&896)),v[a+80>>2])){break sa}t[s|0]=w[s|0]|z;m=m|32768}o=o+1|0;m=m<<1;b=b<<1;l=l<<1;if(q>>>0>6){break qa}q=q+1|0;z=(z&254)>>>1|0;if((c|0)>(o|0)){continue}break}}s=s+1|0;if((c|0)>(A|0)){continue}break}break Q}o=v[E+16>>2];z=B(o,n)+F|0;l=w[z|0];ta:{if(!n){p=0;b=0;break ta}b=B(o,n-1|0)+F|0;p=b+1|0;b=w[b|0]<<8}k=z+1|0;m=l<<8;q=v[i>>2];if(q+8>>>0>=17){r=0;l=0;if((c|0)<=0){break Q}while(1){r=r+8|0;if((r|0)<(c|0)){if(p){b=w[p|0]|b;p=p+1|0}else{p=0}m=w[k|0]|m;k=k+1|0}q=128;x=0;ua:{if((c|0)<=(l|0)){break ua}while(1){C=v[i>>2]+l|0;y=0;va:{if((C|0)<0){break va}y=0;if((C|0)>=v[E+8>>2]){break va}A=v[j>>2]+n|0;y=0;if((A|0)<0){break va}y=0;if((A|0)>=v[E+12>>2]){break va}y=w[(B(o,A)+(C>>>3|0)|0)+F|0]>>>((C^-1)&7)&1}wa:{if(!(!g|(l|0)<0|(v[h+8>>2]<=(l|0)|v[h+12>>2]<=(n|0)))){if(w[v[h+20>>2]+(B(v[h+16>>2],n)+(l>>>3|0)|0)|0]>>>((l^-1)&7)&1){break wa}}if(!Tc(v[a+76>>2],y|(m>>>15&30|b>>>9&992),v[a+80>>2])){break wa}t[z|0]=w[z|0]|q;m=m|32768}l=l+1|0;m=m<<1;b=b<<1;if(x>>>0>6){break ua}x=x+1|0;q=(q&254)>>>1|0;if((c|0)>(l|0)){continue}break}}z=z+1|0;if((c|0)>(r|0)){continue}break}break Q}y=0;C=v[j>>2];xa:{if((C|0)>0){r=0;l=0;break xa}r=0;C=n+C|0;l=0;if((C|0)<0){break xa}l=B(o,C)+F|0;r=l+1|0;l=w[l|0]<<8}if((c|0)<1){break Q}C=15-q|0;o=0;while(1){y=y+8|0;ya:{if((y|0)>=(c|0)){break ya}if(p){b=w[p|0]|b;p=p+1|0}else{p=0}q=k+1|0;m=w[k|0]|m;if(!r){k=q;r=0;break ya}l=w[r|0]|l;k=q;r=r+1|0}za:{if((c|0)<=(o|0)){break za}q=128;x=0;if(!g){while(1){o=o+1|0;if(Tc(v[a+76>>2],l>>>C&1|(m>>>15&30|b>>>9&992),v[a+80>>2])){t[z|0]=w[z|0]|q;m=m|32768;l=v[j>>2]?l:l|32768}l=l<<1;m=m<<1;b=b<<1;if(x>>>0>6){break za}x=x+1|0;q=(q&254)>>>1|0;if((c|0)>(o|0)){continue}break za}}while(1){Aa:{if(!((o|0)<0|v[h+8>>2]<=(o|0)|v[h+12>>2]<=(n|0))){if(w[v[h+20>>2]+(B(v[h+16>>2],n)+(o>>>3|0)|0)|0]>>>((o^-1)&7)&1){break Aa}}if(!Tc(v[a+76>>2],l>>>C&1|(m>>>15&30|b>>>9&992),v[a+80>>2])){break Aa}t[z|0]=w[z|0]|q;l=v[j>>2]?l:l|32768;m=m|32768}o=o+1|0;l=l<<1;m=m<<1;b=b<<1;if(x>>>0>6){break za}x=x+1|0;q=(q&254)>>>1|0;if((c|0)>(o|0)){continue}break}}z=z+1|0;if((c|0)>(y|0)){continue}break}break Q}D=0;p=v[j>>2];Ba:{if((p|0)>0){A=0;o=0;break Ba}A=0;p=n+p|0;o=0;if((p|0)<0){break Ba}p=B(p,C)+F|0;A=p+1|0;o=w[p|0]<<8}if((c|0)<1){break Q}C=15-q|0;x=0;while(1){D=D+8|0;Ca:{if((D|0)>=(c|0)){break Ca}q=0;if(k){l=w[k|0]|l;k=k+1|0}else{k=0}if(r){q=r+1|0;b=w[r|0]|b}p=y+1|0;m=w[y|0]|m;if(!A){A=0;r=q;y=p;break Ca}o=w[A|0]|o;r=q;y=p;A=A+1|0}Da:{if((c|0)<=(x|0)){break Da}z=128;q=0;if(!g){while(1){x=x+1|0;if(Tc(v[a+76>>2],o>>>C&1|(m>>>15&6|(b>>>11&120|l>>>7&896)),v[a+80>>2])){t[s|0]=w[s|0]|z;m=m|32768;o=v[j>>2]?o:o|32768}o=o<<1;m=m<<1;b=b<<1;l=l<<1;if(q>>>0>6){break Da}q=q+1|0;z=(z&254)>>>1|0;if((c|0)>(x|0)){continue}break Da}}while(1){Ea:{if(!((x|0)<0|v[h+8>>2]<=(x|0)|v[h+12>>2]<=(n|0))){if(w[v[h+20>>2]+(B(v[h+16>>2],n)+(x>>>3|0)|0)|0]>>>((x^-1)&7)&1){break Ea}}if(!Tc(v[a+76>>2],o>>>C&1|(m>>>15&6|(b>>>11&120|l>>>7&896)),v[a+80>>2])){break Ea}t[s|0]=w[s|0]|z;o=v[j>>2]?o:o|32768;m=m|32768}x=x+1|0;o=o<<1;m=m<<1;b=b<<1;l=l<<1;if(q>>>0>6){break Da}q=q+1|0;z=(z&254)>>>1|0;if((c|0)>(x|0)){continue}break}}s=s+1|0;if((c|0)>(D|0)){continue}break}break Q}D=0;p=v[j>>2];Fa:{if((p|0)>0){A=0;o=0;break Fa}A=0;p=n+p|0;o=0;if((p|0)<0){break Fa}p=B(p,C)+F|0;A=p+1|0;o=w[p|0]<<8}if((c|0)<1){break Q}C=15-q|0;x=0;while(1){D=D+8|0;Ga:{if((D|0)>=(c|0)){break Ga}q=0;if(k){b=w[k|0]|b;k=k+1|0}else{k=0}if(r){q=r+1|0;l=w[r|0]|l}p=y+1|0;m=w[y|0]|m;if(!A){A=0;r=q;y=p;break Ga}o=w[A|0]|o;r=q;y=p;A=A+1|0}Ha:{if((c|0)<=(x|0)){break Ha}z=128;q=0;if(!g){while(1){x=x+1|0;if(Tc(v[a+76>>2],o>>>C&1|(m>>>15&14|(l>>>9&496|b>>>4&7680)),v[a+80>>2])){t[s|0]=w[s|0]|z;m=m|32768;o=v[j>>2]?o:o|32768}o=o<<1;m=m<<1;l=l<<1;b=b<<1;if(q>>>0>6){break Ha}q=q+1|0;z=(z&254)>>>1|0;if((c|0)>(x|0)){continue}break Ha}}while(1){Ia:{if(!((x|0)<0|v[h+8>>2]<=(x|0)|v[h+12>>2]<=(n|0))){if(w[v[h+20>>2]+(B(v[h+16>>2],n)+(x>>>3|0)|0)|0]>>>((x^-1)&7)&1){break Ia}}if(!Tc(v[a+76>>2],o>>>C&1|(m>>>15&14|(l>>>9&496|b>>>4&7680)),v[a+80>>2])){break Ia}t[s|0]=w[s|0]|z;o=v[j>>2]?o:o|32768;m=m|32768}x=x+1|0;o=o<<1;m=m<<1;l=l<<1;b=b<<1;if(q>>>0>6){break Ha}q=q+1|0;z=(z&254)>>>1|0;if((c|0)>(x|0)){continue}break}}s=s+1|0;if((c|0)>(D|0)){continue}break}}n=n+1|0;if((n|0)!=(d|0)){continue}break}}Ma=G+160|0;return E}function tz(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0,A=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;H=32;h=Ma-16368|0;Ma=h;_=h+15712|0;aa=(h+240|0)+c|0;while(1){cb(h+240|0,b,c);e=cb(aa,a,H);O=c+H|0;if(d){f=d;j=w[f+4|0]|w[f+5|0]<<8|(w[f+6|0]<<16|w[f+7|0]<<24);e=e+H|0;g=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);t[e|0]=g;t[e+1|0]=g>>>8;t[e+2|0]=g>>>16;t[e+3|0]=g>>>24;t[e+4|0]=j;t[e+5|0]=j>>>8;t[e+6|0]=j>>>16;t[e+7|0]=j>>>24;j=w[f+44|0]|w[f+45|0]<<8|(w[f+46|0]<<16|w[f+47|0]<<24);g=w[f+40|0]|w[f+41|0]<<8|(w[f+42|0]<<16|w[f+43|0]<<24);t[e+40|0]=g;t[e+41|0]=g>>>8;t[e+42|0]=g>>>16;t[e+43|0]=g>>>24;t[e+44|0]=j;t[e+45|0]=j>>>8;t[e+46|0]=j>>>16;t[e+47|0]=j>>>24;j=w[f+36|0]|w[f+37|0]<<8|(w[f+38|0]<<16|w[f+39|0]<<24);g=w[f+32|0]|w[f+33|0]<<8|(w[f+34|0]<<16|w[f+35|0]<<24);t[e+32|0]=g;t[e+33|0]=g>>>8;t[e+34|0]=g>>>16;t[e+35|0]=g>>>24;t[e+36|0]=j;t[e+37|0]=j>>>8;t[e+38|0]=j>>>16;t[e+39|0]=j>>>24;j=w[f+28|0]|w[f+29|0]<<8|(w[f+30|0]<<16|w[f+31|0]<<24);g=w[f+24|0]|w[f+25|0]<<8|(w[f+26|0]<<16|w[f+27|0]<<24);t[e+24|0]=g;t[e+25|0]=g>>>8;t[e+26|0]=g>>>16;t[e+27|0]=g>>>24;t[e+28|0]=j;t[e+29|0]=j>>>8;t[e+30|0]=j>>>16;t[e+31|0]=j>>>24;j=w[f+20|0]|w[f+21|0]<<8|(w[f+22|0]<<16|w[f+23|0]<<24);g=w[f+16|0]|w[f+17|0]<<8|(w[f+18|0]<<16|w[f+19|0]<<24);t[e+16|0]=g;t[e+17|0]=g>>>8;t[e+18|0]=g>>>16;t[e+19|0]=g>>>24;t[e+20|0]=j;t[e+21|0]=j>>>8;t[e+22|0]=j>>>16;t[e+23|0]=j>>>24;g=w[f+12|0]|w[f+13|0]<<8|(w[f+14|0]<<16|w[f+15|0]<<24);f=w[f+8|0]|w[f+9|0]<<8|(w[f+10|0]<<16|w[f+11|0]<<24);t[e+8|0]=f;t[e+9|0]=f>>>8;t[e+10|0]=f>>>16;t[e+11|0]=f>>>24;t[e+12|0]=g;t[e+13|0]=g>>>8;t[e+14|0]=g>>>16;t[e+15|0]=g>>>24;O=O+48|0}$=p;p=1;while(1){e=h+240|0;cb(e+B(p,O)|0,e,O);cb(e+B(p+1|0,O)|0,e,O);cb(e+B(p+2|0,O)|0,e,O);p=p+3|0;if((p|0)!=64){continue}break}e=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);v[h+8>>2]=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);e=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);v[h+12>>2]=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);e=w[a+8|0]|w[a+9|0]<<8|(w[a+10|0]<<16|w[a+11|0]<<24);v[h+16>>2]=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);e=w[a+12|0]|w[a+13|0]<<8|(w[a+14|0]<<16|w[a+15|0]<<24);g=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);v[h+20>>2]=g;p=4;while(1){f=(h+8|0)+(p<<2)|0;e=f;if(!(p&3)){n=v[(p&-4)+885184>>2];g=C3a(g,8);g=n^(w[(g>>>16&255)+885264|0]<<16|w[(g>>>24|0)+885264|0]<<24|w[(g>>>8&255)+885264|0]<<8|w[(g&255)+885264|0])}g=v[f-16>>2]^g;v[e>>2]=g;p=p+1|0;if((p|0)!=44){continue}break}f=w[a+20|0]|w[a+21|0]<<8|(w[a+22|0]<<16|w[a+23|0]<<24);e=w[a+16|0]|w[a+17|0]<<8|(w[a+18|0]<<16|w[a+19|0]<<24);t[h+200|0]=e;t[h+201|0]=e>>>8;t[h+202|0]=e>>>16;t[h+203|0]=e>>>24;t[h+204|0]=f;t[h+205|0]=f>>>8;t[h+206|0]=f>>>16;t[h+207|0]=f>>>24;f=w[a+28|0]|w[a+29|0]<<8|(w[a+30|0]<<16|w[a+31|0]<<24);e=w[a+24|0]|w[a+25|0]<<8|(w[a+26|0]<<16|w[a+27|0]<<24);t[h+208|0]=e;t[h+209|0]=e>>>8;t[h+210|0]=e>>>16;t[h+211|0]=e>>>24;t[h+212|0]=f;t[h+213|0]=f>>>8;t[h+214|0]=f>>>16;t[h+215|0]=f>>>24;Z=O<<6;p=0;if((O|0)>0){while(1){k=h+8|0;W=(h+240|0)+p|0;s=W;t[k+176|0]=w[k+192|0]^w[s|0];t[k+180|0]=w[k+193|0]^w[s+1|0];t[k+184|0]=w[k+194|0]^w[s+2|0];t[k+188|0]=w[k+195|0]^w[s+3|0];t[k+177|0]=w[k+196|0]^w[s+4|0];t[k+181|0]=w[k+197|0]^w[s+5|0];r=w[k+198|0]^w[s+6|0];t[k+185|0]=r;i=w[k+199|0]^w[s+7|0];t[k+189|0]=i;m=w[k+200|0]^w[s+8|0];t[k+178|0]=m;o=w[k+201|0]^w[s+9|0];t[k+182|0]=o;l=w[k+202|0]^w[s+10|0];t[k+186|0]=l;j=w[k+203|0]^w[s+11|0];t[k+190|0]=j;g=w[k+204|0]^w[s+12|0];t[k+179|0]=g;f=w[k+205|0]^w[s+13|0];t[k+183|0]=f;e=w[k+206|0]^w[s+14|0];t[k+187|0]=e;C=v[k+12>>2];J=e^C>>>8;K=f^C>>>16;n=g^C>>>24;x=v[k+8>>2];I=l^x>>>8;F=o^x>>>16;P=m^x>>>24;f=v[k+4>>2];g=r^f>>>8;q=w[k+181|0]^f>>>16;r=w[k+177|0]^f>>>24;e=v[k>>2];L=w[k+184|0]^e>>>8;G=w[k+180|0]^e>>>16;M=j^x;Q=f^i;N=e^w[k+188|0];m=C^(w[k+207|0]^w[s+15|0]);U=w[k+176|0]^e>>>24;V=1;while(1){X=t[(Q&255)+885264|0];e=X<<1;Y=(X|0)>-1?e:e^27;y=t[(K&255)+885264|0];o=t[(P&255)+885264|0];K=y^o;A=t[(L&255)+885264|0];e=A<<1;l=(A|0)>-1?e:e^27;P=Y^(K^(l^X));t[k+186|0]=P;u=t[(n&255)+885264|0];e=u<<1;Q=(u|0)>-1?e:e^27;E=t[(g&255)+885264|0];L=t[(G&255)+885264|0];g=L^u;S=t[(M&255)+885264|0];e=S<<1;f=(S|0)>-1?e:e^27;n=Q^E^g^f;t[k+191|0]=n;e=E<<1;j=(E|0)>-1?e:e^27;D=f^(j^S^g);t[k+187|0]=D;J=t[(J&255)+885264|0];R=t[(F&255)+885264|0];e=R<<1;f=J^((R|0)>-1?e:e^27);e=J<<1;z=(J|0)>-1?e:e^27;T=t[(N&255)+885264|0];F=t[(r&255)+885264|0];s=z^(T^(f^F));t[k+181|0]=s;e=F<<1;C=(F|0)>-1?e:e^27;x=T^(R^(f^C));t[k+177|0]=x;G=t[(I&255)+885264|0];N=t[(q&255)+885264|0];e=N<<1;q=G^((N|0)>-1?e:e^27);M=t[(U&255)+885264|0];e=M<<1;r=(M|0)>-1?e:e^27;I=t[(m&255)+885264|0];g=q^r^N^I;t[k+176|0]=g;e=y<<1;f=((y|0)>-1?e:e^27)^A;i=X^(l^(f^o));t[k+182|0]=i;e=o<<1;m=(o|0)>-1?e:e^27;o=X^(y^(f^m));t[k+178|0]=o;e=L<<1;e=E^((L|0)>-1?e:e^27);l=S^(j^(e^u));t[k+183|0]=l;j=S^(e^L^Q);t[k+179|0]=j;E=k+(V<<4)|0;U=g^w[E+3|0];t[k+176|0]=U;e=I<<1;f=(I|0)>-1?e:e^27;g=M^N;e=f^(g^(r^G));r=v[E>>2];N=e^r;t[k+188|0]=N;e=G<<1;e=(G|0)>-1?e:e^27;L=f^(e^I^g)^r>>>8;t[k+184|0]=L;G=I^(e^(q^M))^r>>>16;t[k+180|0]=G;e=v[E+4>>2];q=e>>>16^s;t[k+181|0]=q;r=e>>>24^x;t[k+177|0]=r;e=T<<1;f=(T|0)>-1?e:e^27;g=F^R;e=v[E+4>>2];Q=f^(g^(C^J))^e;t[k+189|0]=Q;g=f^(g^(z^T))^e>>>8;t[k+185|0]=g;e=v[E+8>>2];I=e>>>8^P;t[k+186|0]=I;F=e>>>16^i;t[k+182|0]=F;P=o^e>>>24;t[k+178|0]=P;M=w[E+8|0]^(m^A^K^Y);t[k+190|0]=M;e=v[E+12>>2];m=e^n;t[k+191|0]=m;J=e>>>8^D;t[k+187|0]=J;K=l^e>>>16;t[k+183|0]=K;n=j^e>>>24;t[k+179|0]=n;V=V+1|0;if((V|0)!=10){continue}break}e=v[k+160>>2];D=e^w[(m&255)+885264|0];t[k+188|0]=D;z=w[(I&255)+885264|0]^e>>>8;t[k+184|0]=z;s=w[(q&255)+885264|0]^e>>>16;t[k+180|0]=s;e=w[(U&255)+885264|0]^e>>>24;t[k+176|0]=e;f=v[k+164>>2];C=f^w[(N&255)+885264|0];t[k+189|0]=C;x=w[(J&255)+885264|0]^f>>>8;t[k+185|0]=x;q=w[(F&255)+885264|0]^f>>>16;t[k+181|0]=q;r=w[(r&255)+885264|0]^f>>>24;t[k+177|0]=r;f=v[k+168>>2];i=f^w[(Q&255)+885264|0];t[k+190|0]=i;m=w[(L&255)+885264|0]^f>>>8;t[k+186|0]=m;o=w[(K&255)+885264|0]^f>>>16;t[k+182|0]=o;l=w[(P&255)+885264|0]^f>>>24;t[k+178|0]=l;t[k+208|0]=e;t[k+192|0]=e;e=v[k+172>>2];j=e^w[(M&255)+885264|0];t[k+191|0]=j;g=w[(g&255)+885264|0]^e>>>8;t[k+187|0]=g;f=w[(G&255)+885264|0]^e>>>16;t[k+183|0]=f;e=w[(n&255)+885264|0]^e>>>24;t[k+179|0]=e;t[k+209|0]=s;t[k+193|0]=s;t[k+210|0]=z;t[k+194|0]=z;t[k+211|0]=D;t[k+195|0]=D;t[k+212|0]=r;t[k+196|0]=r;t[k+213|0]=q;t[k+197|0]=q;t[k+214|0]=x;t[k+198|0]=x;t[k+215|0]=C;t[k+199|0]=C;t[k+216|0]=l;t[k+200|0]=l;t[k+217|0]=o;t[k+201|0]=o;t[k+218|0]=m;t[k+202|0]=m;t[k+203|0]=i;t[k+219|0]=i;t[k+204|0]=e;t[k+220|0]=e;t[k+205|0]=f;t[k+221|0]=f;t[k+206|0]=g;t[k+222|0]=g;t[k+207|0]=j;t[k+223|0]=j;e=v[h+228>>2];v[W+8>>2]=v[h+224>>2];v[W+12>>2]=e;e=v[h+220>>2];v[W>>2]=v[h+216>>2];v[W+4>>2]=e;p=p+16|0;if((Z|0)>(p|0)){continue}break}}a:{b:{c:{d:{switch(((w[h+240|0]%3+w[h+241|0]%3+w[h+242|0]%3+w[h+243|0]%3+w[h+244|0]%3+w[h+245|0]%3+w[h+246|0]%3+w[h+247|0]%3+w[h+248|0]%3+w[h+249|0]%3+w[h+250|0]%3+w[h+251|0]%3+w[h+252|0]%3+w[h+253|0]%3+w[h+254|0]%3+w[h+255|0]%3&255)>>>0)%3|0){case 0:pv(h+240|0,Z,a);H=32;break a;case 1:T=-1090891868;E=1203062813;v[h+15592>>2]=-1090891868;v[h+15596>>2]=1203062813;I=1694076839;L=-619958771;v[h+15584>>2]=1694076839;v[h+15588>>2]=-619958771;R=1750603025;J=-1900787065;v[h+15576>>2]=1750603025;v[h+15580>>2]=-1900787065;F=-4191439;N=1731405415;v[h+15568>>2]=-4191439;v[h+15572>>2]=1731405415;G=-150054599;M=355462360;v[h+15560>>2]=-150054599;v[h+15564>>2]=355462360;U=812702999;Y=-1856437926;v[h+15552>>2]=812702999;v[h+15556>>2]=-1856437926;K=914150663;P=1654270250;v[h+15544>>2]=914150663;v[h+15548>>2]=1654270250;V=-1056596264;Q=-876896931;v[h+15536>>2]=-1056596264;v[h+15540>>2]=-876896931;p=128;g=0;e:{if((O|0)<2){H=0;break e}while(1){H=p;q=(h+240|0)+g|0;p=0;while(1){e=p<<3;j=e+(h+15728|0)|0;e=e+q|0;f=v[e+4>>2];l=v[e>>2];m=l<<24|l<<8&16711680;e=f<<24|l>>>8;r=0;i=e&65280|(f<<8|l>>>24)&255|m;e=f;g=j;v[g>>2]=((e&255)<<24|l>>>8)&-16777216|((e&16777215)<<8|l>>>24)&16711680|(e>>>8&65280|e>>>24)|r;v[g+4>>2]=i;p=p+1|0;if((p|0)!=16){continue}break}g=16;y=v[h+15728>>2];l=y;W=v[h+15732>>2];f=W;while(1){q=(h+15728|0)+(g<<3)|0;j=q;e=j-56|0;o=l+v[e>>2]|0;e=f+v[e+4>>2]|0;i=o;f=l>>>0>i>>>0?e+1|0:e;e=j-16|0;l=v[e+4>>2];r=v[e>>2];e=D3a(r,l,45);o=Pa;e=D3a(r,l,3)^e;m=Pa^o;n=e;e=l>>>6|0;l=n^((l&63)<<26|r>>>6);o=l+i|0;e=(e^m)+f|0;i=o;o=l>>>0>i>>>0?e+1|0:e;e=j-120|0;f=v[e+4>>2];l=v[e>>2];e=D3a(l,f,63);m=Pa;e=D3a(l,f,56)^e;r=Pa^m;n=e;e=f>>>7|0;m=n^((f&127)<<25|l>>>7);i=m+i|0;e=(e^r)+o|0;v[j>>2]=i;v[j+4>>2]=i>>>0>>0?e+1|0:e;g=g+1|0;if((g|0)!=80){continue}break}p=0;x=V;q=Q;C=K;s=P;n=T;e=E;j=I;m=L;g=R;o=J;l=F;f=N;D=G;z=M;r=U;i=Y;while(1){u=(p<<3)+886032|0;X=v[u>>2];S=v[u+4>>2];A=D3a(l,f,50);u=Pa;A=D3a(l,f,46)^A;u=Pa^u;e=e+W|0;n=n+y|0;e=n>>>0>>0?e+1|0:e;y=n;n=g&l;y=y+n|0;e=(f&o)+e|0;e=n>>>0>y>>>0?e+1|0:e;n=(l^-1)&j;y=n+y|0;e=((f^-1)&m)+e|0;e=n>>>0>y>>>0?e+1|0:e;n=D3a(l,f,23)^A;A=n+y|0;e=(Pa^u)+e|0;e=n>>>0>A>>>0?e+1|0:e;n=A;u=n+X|0;e=e+S|0;S=u;e=n>>>0>u>>>0?e+1|0:e;y=e;n=e;X=i^s;u=C;C=x;A=s;x=(u^r)&x^r&u;s=q;q=D3a(C,s,36);e=Pa;q=D3a(C,s,30)^q;e=Pa^e;q=D3a(C,s,25)^q;x=q+x|0;e=(s&X^i&A)+(Pa^e)|0;e=q>>>0>x>>>0?e+1|0:e;q=x;x=q+S|0;e=e+n|0;e=q>>>0>x>>>0?e+1|0:e;q=e;e=D;D=S;n=e+D|0;e=z+y|0;e=n>>>0>>0?e+1|0:e;D=n;z=e;p=p+1|0;if((p|0)!=80){e=(h+15728|0)+(p<<3)|0;y=v[e>>2];W=v[e+4>>2];n=j;e=m;j=g;m=o;g=l;o=f;l=D;f=z;D=r;z=i;r=u;i=A;continue}break}e=m+E|0;n=j+T|0;e=n>>>0>>0?e+1|0:e;T=n;E=e;e=o+L|0;j=g+I|0;e=j>>>0>>0?e+1|0:e;I=j;L=e;e=f+J|0;g=l+R|0;e=g>>>0>>0?e+1|0:e;R=g;J=e;e=z+N|0;f=D+F|0;e=f>>>0>>0?e+1|0:e;F=f;N=e;e=i+M|0;f=r+G|0;e=f>>>0>>0?e+1|0:e;G=f;M=e;e=A+Y|0;f=u+U|0;e=f>>>0>>0?e+1|0:e;U=f;Y=e;e=s+P|0;f=C+K|0;e=f>>>0>>0?e+1|0:e;K=f;P=e;e=q+Q|0;f=x+V|0;e=f>>>0>>0?e+1|0:e;V=f;Q=e;g=H;p=g+128|0;if((Z|0)>=(p|0)){continue}break}v[h+15592>>2]=T;v[h+15596>>2]=E;v[h+15584>>2]=I;v[h+15588>>2]=L;v[h+15576>>2]=R;v[h+15580>>2]=J;v[h+15568>>2]=F;v[h+15572>>2]=N;v[h+15560>>2]=G;v[h+15564>>2]=M;v[h+15552>>2]=U;v[h+15556>>2]=Y;v[h+15544>>2]=K;v[h+15548>>2]=P;v[h+15536>>2]=V;v[h+15540>>2]=Q}f=Z-H|0;if((f|0)<=0){t[f+(h+15600|0)|0]=128;break c}e=h+15600|0;cb(e,(h+240|0)+H|0,f);t[e+f|0]=128;if((f|0)<112){break c}if((f|0)<=126){eb(h+15600+((Z|1)-H)|0,0,(H-Z|0)+127|0)}sz(h+15600|0,h+15536|0);f=0;break b;case 2:break d;default:break a}}T=327033209;E=1541459225;v[h+15592>>2]=327033209;v[h+15596>>2]=1541459225;I=-79577749;L=528734635;v[h+15584>>2]=-79577749;v[h+15588>>2]=528734635;R=725511199;J=-1694144372;v[h+15576>>2]=725511199;v[h+15580>>2]=-1694144372;F=-1377402159;N=1359893119;v[h+15568>>2]=-1377402159;v[h+15572>>2]=1359893119;G=1595750129;M=-1521486534;v[h+15560>>2]=1595750129;v[h+15564>>2]=-1521486534;U=-23791573;Y=1013904242;v[h+15552>>2]=-23791573;v[h+15556>>2]=1013904242;K=-2067093701;P=-1150833019;v[h+15544>>2]=-2067093701;v[h+15548>>2]=-1150833019;V=-205731576;Q=1779033703;v[h+15536>>2]=-205731576;v[h+15540>>2]=1779033703;p=128;g=0;f:{if((O|0)<2){H=0;break f}while(1){H=p;q=(h+240|0)+g|0;p=0;while(1){e=p<<3;j=e+(h+15728|0)|0;e=e+q|0;f=v[e+4>>2];l=v[e>>2];m=l<<24|l<<8&16711680;e=f<<24|l>>>8;r=0;i=e&65280|(f<<8|l>>>24)&255|m;e=f;g=j;v[g>>2]=((e&255)<<24|l>>>8)&-16777216|((e&16777215)<<8|l>>>24)&16711680|(e>>>8&65280|e>>>24)|r;v[g+4>>2]=i;p=p+1|0;if((p|0)!=16){continue}break}g=16;y=v[h+15728>>2];l=y;W=v[h+15732>>2];f=W;while(1){q=(h+15728|0)+(g<<3)|0;j=q;e=j-56|0;o=l+v[e>>2]|0;e=f+v[e+4>>2]|0;i=o;f=l>>>0>i>>>0?e+1|0:e;e=j-16|0;l=v[e+4>>2];r=v[e>>2];e=D3a(r,l,45);o=Pa;e=D3a(r,l,3)^e;m=Pa^o;n=e;e=l>>>6|0;l=n^((l&63)<<26|r>>>6);o=l+i|0;e=(e^m)+f|0;i=o;o=l>>>0>i>>>0?e+1|0:e;e=j-120|0;f=v[e+4>>2];l=v[e>>2];e=D3a(l,f,63);m=Pa;e=D3a(l,f,56)^e;r=Pa^m;n=e;e=f>>>7|0;m=n^((f&127)<<25|l>>>7);i=m+i|0;e=(e^r)+o|0;v[j>>2]=i;v[j+4>>2]=i>>>0>>0?e+1|0:e;g=g+1|0;if((g|0)!=80){continue}break}p=0;x=V;q=Q;C=K;s=P;n=T;e=E;j=I;m=L;g=R;o=J;l=F;f=N;D=G;z=M;r=U;i=Y;while(1){u=(p<<3)+886032|0;X=v[u>>2];S=v[u+4>>2];A=D3a(l,f,50);u=Pa;A=D3a(l,f,46)^A;u=Pa^u;e=e+W|0;n=n+y|0;e=n>>>0>>0?e+1|0:e;y=n;n=g&l;y=y+n|0;e=(f&o)+e|0;e=n>>>0>y>>>0?e+1|0:e;n=(l^-1)&j;y=n+y|0;e=((f^-1)&m)+e|0;e=n>>>0>y>>>0?e+1|0:e;n=D3a(l,f,23)^A;A=n+y|0;e=(Pa^u)+e|0;e=n>>>0>A>>>0?e+1|0:e;n=A;u=n+X|0;e=e+S|0;S=u;e=n>>>0>u>>>0?e+1|0:e;y=e;n=e;X=i^s;u=C;C=x;A=s;x=(u^r)&x^r&u;s=q;q=D3a(C,s,36);e=Pa;q=D3a(C,s,30)^q;e=Pa^e;q=D3a(C,s,25)^q;x=q+x|0;e=(s&X^i&A)+(Pa^e)|0;e=q>>>0>x>>>0?e+1|0:e;q=x;x=q+S|0;e=e+n|0;e=q>>>0>x>>>0?e+1|0:e;q=e;e=D;D=S;n=e+D|0;e=z+y|0;e=n>>>0>>0?e+1|0:e;D=n;z=e;p=p+1|0;if((p|0)!=80){e=(h+15728|0)+(p<<3)|0;y=v[e>>2];W=v[e+4>>2];n=j;e=m;j=g;m=o;g=l;o=f;l=D;f=z;D=r;z=i;r=u;i=A;continue}break}e=m+E|0;n=j+T|0;e=n>>>0>>0?e+1|0:e;T=n;E=e;e=o+L|0;j=g+I|0;e=j>>>0>>0?e+1|0:e;I=j;L=e;e=f+J|0;g=l+R|0;e=g>>>0>>0?e+1|0:e;R=g;J=e;e=z+N|0;f=D+F|0;e=f>>>0>>0?e+1|0:e;F=f;N=e;e=i+M|0;f=r+G|0;e=f>>>0>>0?e+1|0:e;G=f;M=e;e=A+Y|0;f=u+U|0;e=f>>>0>>0?e+1|0:e;U=f;Y=e;e=s+P|0;f=C+K|0;e=f>>>0>>0?e+1|0:e;K=f;P=e;e=q+Q|0;f=x+V|0;e=f>>>0>>0?e+1|0:e;V=f;Q=e;g=H;p=g+128|0;if((Z|0)>=(p|0)){continue}break}v[h+15592>>2]=T;v[h+15596>>2]=E;v[h+15584>>2]=I;v[h+15588>>2]=L;v[h+15576>>2]=R;v[h+15580>>2]=J;v[h+15568>>2]=F;v[h+15572>>2]=N;v[h+15560>>2]=G;v[h+15564>>2]=M;v[h+15552>>2]=U;v[h+15556>>2]=Y;v[h+15544>>2]=K;v[h+15548>>2]=P;v[h+15536>>2]=V;v[h+15540>>2]=Q}g:{h:{f=Z-H|0;if((f|0)<=0){t[f+(h+15600|0)|0]=128;break h}e=h+15600|0;cb(e,(h+240|0)+H|0,f);t[e+f|0]=128;if((f|0)<112){break h}if((f|0)<=126){eb(h+15600+((Z|1)-H)|0,0,(H-Z|0)+127|0)}sz(h+15600|0,h+15536|0);f=0;break g}f=f|1}e=h+15600|0;eb(f+e|0,0,112-f|0);v[_+8>>2]=0;v[_>>2]=0;v[_+4>>2]=0;t[h+15727|0]=0;t[h+15726|0]=O<<1;t[h+15725|0]=O>>>7;t[h+15724|0]=O>>>15;sz(e,h+15536|0);m=0;i=v[h+15536>>2];o=i<<24|i<<8&16711680;f=v[h+15540>>2];e=f<<24|i>>>8;j=0;l=e&65280;e=f<<8|i>>>24;j=j|m;m=e&255|l|o;e=f;g=a;f=((e&255)<<24|i>>>8)&-16777216|((e&16777215)<<8|i>>>24)&16711680|(e>>>8&65280|e>>>24)|j;t[g|0]=f;t[g+1|0]=f>>>8;t[g+2|0]=f>>>16;t[g+3|0]=f>>>24;z=0;e=z|m;t[g+4|0]=e;t[g+5|0]=e>>>8;t[g+6|0]=e>>>16;t[g+7|0]=e>>>24;m=0;i=v[h+15544>>2];o=i<<24|i<<8&16711680;f=v[h+15548>>2];e=f<<24|i>>>8;j=0;l=e&65280;e=f<<8|i>>>24;j=j|m;m=e&255|l|o;e=f;f=((e&255)<<24|i>>>8)&-16777216|((e&16777215)<<8|i>>>24)&16711680|(e>>>8&65280|e>>>24)|j;t[g+8|0]=f;t[g+9|0]=f>>>8;t[g+10|0]=f>>>16;t[g+11|0]=f>>>24;e=m|z;t[g+12|0]=e;t[g+13|0]=e>>>8;t[g+14|0]=e>>>16;t[g+15|0]=e>>>24;m=0;i=v[h+15552>>2];o=i<<24|i<<8&16711680;f=v[h+15556>>2];e=f<<24|i>>>8;j=0;l=e&65280;e=f<<8|i>>>24;j=j|m;m=e&255|l|o;e=f;f=((e&255)<<24|i>>>8)&-16777216|((e&16777215)<<8|i>>>24)&16711680|(e>>>8&65280|e>>>24)|j;t[g+16|0]=f;t[g+17|0]=f>>>8;t[g+18|0]=f>>>16;t[g+19|0]=f>>>24;e=m|z;t[g+20|0]=e;t[g+21|0]=e>>>8;t[g+22|0]=e>>>16;t[g+23|0]=e>>>24;m=0;i=v[h+15560>>2];o=i<<24|i<<8&16711680;f=v[h+15564>>2];e=f<<24|i>>>8;j=0;l=e&65280;e=f<<8|i>>>24;j=j|m;m=e&255|l|o;e=f;f=((e&255)<<24|i>>>8)&-16777216|((e&16777215)<<8|i>>>24)&16711680|(e>>>8&65280|e>>>24)|j;t[g+24|0]=f;t[g+25|0]=f>>>8;t[g+26|0]=f>>>16;t[g+27|0]=f>>>24;e=m|z;t[g+28|0]=e;t[g+29|0]=e>>>8;t[g+30|0]=e>>>16;t[g+31|0]=e>>>24;m=0;i=v[h+15568>>2];o=i<<24|i<<8&16711680;f=v[h+15572>>2];e=f<<24|i>>>8;j=0;l=e&65280;e=f<<8|i>>>24;j=j|m;m=e&255|l|o;e=f;f=((e&255)<<24|i>>>8)&-16777216|((e&16777215)<<8|i>>>24)&16711680|(e>>>8&65280|e>>>24)|j;t[g+32|0]=f;t[g+33|0]=f>>>8;t[g+34|0]=f>>>16;t[g+35|0]=f>>>24;e=m|z;t[g+36|0]=e;t[g+37|0]=e>>>8;t[g+38|0]=e>>>16;t[g+39|0]=e>>>24;m=0;i=v[h+15576>>2];o=i<<24|i<<8&16711680;f=v[h+15580>>2];e=f<<24|i>>>8;j=0;l=e&65280;e=f<<8|i>>>24;j=j|m;m=e&255|l|o;e=f;f=((e&255)<<24|i>>>8)&-16777216|((e&16777215)<<8|i>>>24)&16711680|(e>>>8&65280|e>>>24)|j;t[g+40|0]=f;t[g+41|0]=f>>>8;t[g+42|0]=f>>>16;t[g+43|0]=f>>>24;e=m|z;t[g+44|0]=e;t[g+45|0]=e>>>8;t[g+46|0]=e>>>16;t[g+47|0]=e>>>24;m=0;i=v[h+15584>>2];o=i<<24|i<<8&16711680;f=v[h+15588>>2];e=f<<24|i>>>8;j=0;l=e&65280;e=f<<8|i>>>24;j=j|m;m=e&255|l|o;e=f;f=((e&255)<<24|i>>>8)&-16777216|((e&16777215)<<8|i>>>24)&16711680|(e>>>8&65280|e>>>24)|j;t[g+48|0]=f;t[g+49|0]=f>>>8;t[g+50|0]=f>>>16;t[g+51|0]=f>>>24;e=m|z;t[g+52|0]=e;t[g+53|0]=e>>>8;t[g+54|0]=e>>>16;t[g+55|0]=e>>>24;m=0;i=v[h+15592>>2];o=i<<24|i<<8&16711680;f=v[h+15596>>2];e=f<<24|i>>>8;j=0;l=e&65280;e=f<<8|i>>>24;j=j|m;m=e&255|l|o;e=f;f=((e&255)<<24|i>>>8)&-16777216|((e&16777215)<<8|i>>>24)&16711680|(e>>>8&65280|e>>>24)|j;t[g+56|0]=f;t[g+57|0]=f>>>8;t[g+58|0]=f>>>16;t[g+59|0]=f>>>24;e=m|z;t[g+60|0]=e;t[g+61|0]=e>>>8;t[g+62|0]=e>>>16;t[g+63|0]=e>>>24;H=64;break a}f=f|1}e=h+15600|0;eb(f+e|0,0,112-f|0);v[_+8>>2]=0;v[_>>2]=0;v[_+4>>2]=0;t[h+15727|0]=0;t[h+15726|0]=O<<1;t[h+15725|0]=O>>>7;t[h+15724|0]=O>>>15;sz(e,h+15536|0);m=0;i=v[h+15536>>2];o=i<<24|i<<8&16711680;f=v[h+15540>>2];e=f<<24|i>>>8;j=0;l=e&65280;e=f<<8|i>>>24;j=j|m;m=e&255|l|o;e=f;g=a;f=((e&255)<<24|i>>>8)&-16777216|((e&16777215)<<8|i>>>24)&16711680|(e>>>8&65280|e>>>24)|j;t[g|0]=f;t[g+1|0]=f>>>8;t[g+2|0]=f>>>16;t[g+3|0]=f>>>24;z=0;e=z|m;t[g+4|0]=e;t[g+5|0]=e>>>8;t[g+6|0]=e>>>16;t[g+7|0]=e>>>24;m=0;i=v[h+15544>>2];o=i<<24|i<<8&16711680;f=v[h+15548>>2];e=f<<24|i>>>8;j=0;l=e&65280;e=f<<8|i>>>24;j=j|m;m=e&255|l|o;e=f;f=((e&255)<<24|i>>>8)&-16777216|((e&16777215)<<8|i>>>24)&16711680|(e>>>8&65280|e>>>24)|j;t[g+8|0]=f;t[g+9|0]=f>>>8;t[g+10|0]=f>>>16;t[g+11|0]=f>>>24;e=m|z;t[g+12|0]=e;t[g+13|0]=e>>>8;t[g+14|0]=e>>>16;t[g+15|0]=e>>>24;m=0;i=v[h+15552>>2];o=i<<24|i<<8&16711680;f=v[h+15556>>2];e=f<<24|i>>>8;j=0;l=e&65280;e=f<<8|i>>>24;j=j|m;m=e&255|l|o;e=f;f=((e&255)<<24|i>>>8)&-16777216|((e&16777215)<<8|i>>>24)&16711680|(e>>>8&65280|e>>>24)|j;t[g+16|0]=f;t[g+17|0]=f>>>8;t[g+18|0]=f>>>16;t[g+19|0]=f>>>24;e=m|z;t[g+20|0]=e;t[g+21|0]=e>>>8;t[g+22|0]=e>>>16;t[g+23|0]=e>>>24;m=0;i=v[h+15560>>2];o=i<<24|i<<8&16711680;f=v[h+15564>>2];e=f<<24|i>>>8;j=0;l=e&65280;e=f<<8|i>>>24;j=j|m;m=e&255|l|o;e=f;f=((e&255)<<24|i>>>8)&-16777216|((e&16777215)<<8|i>>>24)&16711680|(e>>>8&65280|e>>>24)|j;t[g+24|0]=f;t[g+25|0]=f>>>8;t[g+26|0]=f>>>16;t[g+27|0]=f>>>24;e=m|z;t[g+28|0]=e;t[g+29|0]=e>>>8;t[g+30|0]=e>>>16;t[g+31|0]=e>>>24;m=0;i=v[h+15568>>2];o=i<<24|i<<8&16711680;f=v[h+15572>>2];e=f<<24|i>>>8;j=0;l=e&65280;e=f<<8|i>>>24;j=j|m;m=e&255|l|o;e=f;f=((e&255)<<24|i>>>8)&-16777216|((e&16777215)<<8|i>>>24)&16711680|(e>>>8&65280|e>>>24)|j;t[g+32|0]=f;t[g+33|0]=f>>>8;t[g+34|0]=f>>>16;t[g+35|0]=f>>>24;e=m|z;t[g+36|0]=e;t[g+37|0]=e>>>8;t[g+38|0]=e>>>16;t[g+39|0]=e>>>24;m=0;i=v[h+15576>>2];o=i<<24|i<<8&16711680;f=v[h+15580>>2];e=f<<24|i>>>8;j=0;l=e&65280;e=f<<8|i>>>24;j=j|m;m=e&255|l|o;e=f;f=((e&255)<<24|i>>>8)&-16777216|((e&16777215)<<8|i>>>24)&16711680|(e>>>8&65280|e>>>24)|j;t[g+40|0]=f;t[g+41|0]=f>>>8;t[g+42|0]=f>>>16;t[g+43|0]=f>>>24;e=m|z;t[g+44|0]=e;t[g+45|0]=e>>>8;t[g+46|0]=e>>>16;t[g+47|0]=e>>>24;H=48}p=$+1|0;if($>>>0<63|w[(h+Z|0)+239|0]>($-31|0)){continue}break}Ma=h+16368|0}function aN(a){var 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,C=0;e=Ma-784|0;Ma=e;v[e+700>>2]=0;c=v[a+20>>2];v[a+16>>2]=c;a:{if(!c){break a}b:{d=x[a+32>>1];if(!d){break b}h=v[a+24>>2];if(!h){break b}while(1){if((c|0)!=v[h+(b<<2)>>2]){b=b+1|0;if((d|0)!=(b|0)){continue}break b}break}break a}b=d+1|0;u[a+32>>1]=b;b=b&65535;c:{if((b|0)<=v[a+28>>2]){i=v[a+24>>2];break c}i=oQ(a,v[a+24>>2],b,8,49340);if(!i){break a}v[a+24>>2]=i;b=x[a+32>>1];v[a+28>>2]=b<<1}v[((b<<2)+i|0)-4>>2]=c;Qa[v[a+572>>2]](a);u[a+476>>1]=x[a+476>>1]+1;d=v[a+20>>2];c=a+20|0;b=Ma-80|0;Ma=b;d:{if(e+700|0){v[a+16>>2]=d;if(c){v[c>>2]=0}e:{f:{g:{if(!(w[a+13|0]&8)){if((Qa[v[a+640>>2]](v[a+628>>2],v[a+16>>2],0)|0)!=v[a+16>>2]){c=v[a+628>>2];v[b+32>>2]=v[a>>2];wb(c,82592,51721,b+32|0);break e}if((Qa[v[a+632>>2]](v[a+628>>2],b+78|0,2)|0)!=2){c=v[a+628>>2];v[b+16>>2]=v[a>>2];wb(c,82592,52122,b+16|0);break e}if(w[a+12|0]&128){d=w[b+79|0];t[b+79|0]=w[b+78|0];t[b+78|0]=d}d=Tf(a,x[b+78>>1],12,52563);if(!d){break e}if((Qa[v[a+632>>2]](v[a+628>>2],d,B(x[b+78>>1],12))|0)!=(B(x[b+78>>1],12)|0)){c=v[a+628>>2];v[b>>2]=v[a>>2];wb(c,82592,53084,b);$a(d);break e}if(!c){break f}Qa[v[a+632>>2]](v[a+628>>2],c,4)|0;break g}h:{d=v[a+616>>2];if(d>>>0>=2){h=v[a+16>>2];if(h>>>0<=d-2>>>0){break h}}c=v[a+628>>2];v[b+48>>2]=v[a>>2];wb(c,82592,52122,b+48|0);break e}Fd(b+78|0,h+v[a+612>>2]|0,2);if(w[a+12|0]&128){d=w[b+79|0];t[b+79|0]=w[b+78|0];t[b+78|0]=d}d=Tf(a,x[b+78>>1],12,52563);if(!d){break e}l=B(x[b+78>>1],12);h=h+2|0;if(y[a+616>>2]>>0){c=v[a+628>>2];v[b+64>>2]=v[a>>2];wb(c,82592,53545,b- -64|0);$a(d);break e}Fd(d,h+v[a+612>>2]|0,l);if(!c){break f}f=h+B(x[b+78>>1],12)|0;if(y[a+616>>2]>>0){break g}Fd(c,f+v[a+612>>2]|0,4)}if(!(w[a+12|0]&128)){break f}Wn(c)}v[e+700>>2]=d;f=x[b+78>>1]}Ma=b+80|0;break d}O(50920,51493,1108,82592);L()}l=f;if(!f){b=v[a+628>>2];c=v[a>>2];v[e+4>>2]=v[a+20>>2];v[e>>2]=c;wb(b,19984,1188,e);break a}v[a+12>>2]=v[a+12>>2]&-65;kE(a);Xx(a);v[e+688>>2]=1;Kc(a,284,e+688|0);b=v[e+700>>2];h=l;f=h;i:{while(1){if(w[a+12|0]&128){mr(b,2);Vn(b+4|0,2)}if(x[b>>1]==277){if(!kx(a,b)){break i}u[b>>1]=0}b=b+12|0;c=(f|0)>1;f=f-1|0;if(c){continue}break}j=v[e+700>>2];b=h;c=0;while(1){m=b;d=x[j>>1];j:{if(!d){break j}f=v[a+660>>2];b=f>>>0>c>>>0?c:0;if(d>>>0>2]+(b<<2)>>2]>>2]){b=0;if(!n){c=v[a+628>>2];v[e+672>>2]=v[a>>2];Nc(c,19984,5386,e+672|0);f=v[a+660>>2]}n=1}k:{if(b>>>0>=f>>>0){break k}d=x[j>>1];o=v[a+656>>2];l:{while(1){i=v[o+(b<<2)>>2];c=v[i>>2];if(c>>>0>=d>>>0){break l}b=b+1|0;if((f|0)!=(b|0)){continue}break}c=f;q=1;break j}if((d|0)!=(c|0)){break k}if(!x[i+12>>1]){c=b;u[j>>1]=0;break j}c=b+1|0;g=c>>>0>>0?f:c;k=g-1|0;r=x[j+2>>1];m:{while(1){c=b;b=v[i+8>>2];if((r|0)==(b&65535)|c>>>0>=f>>>0|!b){break m}b=c+1|0;n:{if(f>>>0<=b>>>0){b=g;c=k;break n}i=v[o+(b<<2)>>2];if(v[i>>2]==(d|0)){continue}}break}d=v[a+628>>2];f=v[a>>2];v[e+664>>2]=v[v[o+(c<<2)>>2]+16>>2];v[e+660>>2]=r;v[e+656>>2]=f;Nc(d,19984,10286,e+656|0);c=b;u[j>>1]=0;break j}f=x[i+4>>1];b=f<<16>>16;o:{p:{q:{switch(f-65533|0){case 1:b=x[a+98>>1];break;case 0:case 2:break p;default:break q}}f=v[j+4>>2];if(f>>>0>>0){break o}if(b>>>0>=f>>>0){break p}f=v[a+628>>2];g=v[a>>2];d=v[Pe(a,d)+16>>2];k=v[j+4>>2];v[e+648>>2]=b;v[e+644>>2]=k;v[e+640>>2]=d;Nc(f,g,50410,e+640|0);d=x[j>>1]}r:{s:{t:{u:{v:{b=d&65535;switch(b-256|0){case 2:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 18:case 19:case 20:case 21:case 24:case 25:case 26:case 27:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 65:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:break j;case 17:case 23:case 68:case 69:break s;case 3:break t;case 0:case 1:case 22:case 28:case 66:case 67:case 82:break u;default:break v}}if(b-32997>>>0>=2){break j}}if(!kx(a,j)){break i}break r}if(v[j+4>>2]==1){b=v[j+8>>2];w:{if(x[a+456>>1]==19789){d=x[j+2>>1]<<2;f=d+v[a+468>>2]|0;b=b>>>v[d+v[a+464>>2]>>2]|0;break w}f=v[a+468>>2]+(x[j+2>>1]<<2)|0}b=v[f>>2]&b;v[e+692>>2]=b;v[e+592>>2]=b&65535;if(Kc(a,259,e+592|0)){break j}break i}if(x[j+2>>1]==4){if(!$M(a,j,e+692|0)){break i}b=x[j>>1];v[e+608>>2]=x[e+692>>1];if(Kc(a,b,e+608|0)){break r}break i}if(!_M(a,j,e+698|0)){break i}b=x[j>>1];v[e+624>>2]=x[e+698>>1];if(Kc(a,b,e+624|0)){break r}break i}b=x[i+12>>1];d=(b>>>3&8188)+a|0;v[d+40>>2]=v[d+40>>2]|1<>1]=0;break j}f=v[a+628>>2];g=v[a>>2];d=v[Pe(a,d)+16>>2];k=v[j+4>>2];v[e+584>>2]=b;v[e+580>>2]=k;v[e+576>>2]=d;Nc(f,g,49811,e+576|0);u[j>>1]=0;break j}c=b;q=1}j=j+12|0;b=m-1|0;if((m|0)>1){continue}break}if(q){g=v[e+700>>2];f=h;b=0;while(1){m=f;c=x[g>>1];x:{if(!c){break x}f=v[a+660>>2];b=f>>>0>b>>>0&c>>>0>=y[v[v[a+656>>2]+(b<<2)>>2]>>2]?b:0;y:{z:{A:{if(b>>>0>=f>>>0){break A}i=v[a+656>>2];B:{while(1){d=v[v[(b<<2)+i>>2]>>2];if(d>>>0>=c>>>0){break B}b=b+1|0;if((f|0)!=(b|0)){continue}break}b=f;break A}if((d|0)==(c|0)){break z}}d=v[a+628>>2];f=v[a>>2];v[e+568>>2]=c;v[e+564>>2]=c;v[e+560>>2]=f;Nc(d,19984,13559,e+560|0);f=a;j=x[g>>1];i=x[g+2>>1];c=0;k=Ma-16|0;Ma=k;d=gb(20);C:{if(!d){break C}Hf(d,0,20);v[d+12>>2]=16842817;v[d+8>>2]=i;v[d+4>>2]=-131075;v[d>>2]=j;i=gb(32);v[d+16>>2]=i;if(!i){$a(d);break C}v[k>>2]=j;Dc(i,37878,k);c=d}Ma=k+16|0;D:{if(Pl(f,c,1)){i=v[a+656>>2];f=v[a+660>>2];if(f){break D}f=0;b=0;break z}c=v[a+628>>2];d=x[g>>1];v[e+532>>2]=d;v[e+528>>2]=d;Nc(c,19984,16047,e+528|0);break y}c=x[g>>1];b=0;while(1){if(c>>>0<=y[v[(b<<2)+i>>2]>>2]){break z}b=b+1|0;if((f|0)!=(b|0)){continue}break}b=f}c=v[(b<<2)+i>>2];k=x[g+2>>1];while(1){d=b;b=v[c+8>>2];if((k|0)==(b&65535)){b=d;break x}if(d>>>0>=f>>>0){b=d;break x}if(!b){b=d;break x}b=d+1|0;if(f>>>0>b>>>0){c=v[(b<<2)+i>>2];if(v[c>>2]==x[g>>1]){continue}}break}c=v[a+628>>2];f=v[a>>2];v[e+552>>2]=v[v[(d<<2)+i>>2]+16>>2];v[e+548>>2]=k;v[e+544>>2]=f;Nc(c,19984,10286,e+544|0)}u[g>>1]=0}g=g+12|0;f=m-1|0;if((m|0)>1){continue}break}}E:{if(x[a+88>>1]!=6|x[a+138>>1]!=2){break E}f=0;i=v[e+700>>2];b=i;while(1){if(x[b>>1]!=273){b=b+12|0;f=f+1|0;if(l>>>0>(f&65535)>>>0){continue}break E}break}if(v[b+4>>2]!=1){break E}b=0;while(1){if(x[i>>1]!=279){i=i+12|0;b=b+1|0;if(l>>>0>(b&65535)>>>0){continue}break E}break}if(v[i+4>>2]!=1){break E}u[a+138>>1]=1;Nc(v[a+628>>2],19984,20020,0)}b=v[a+40>>2];if(!(b&2)){b=v[a+628>>2];a=v[a>>2];v[e+20>>2]=22768;v[e+16>>2]=a;wb(b,82576,49052,e+16|0);break i}d=a;F:{if(!(b&4)){b=wO(a);v[a+68>>2]=v[a+56>>2];v[a+72>>2]=v[a+100>>2];v[a+76>>2]=v[a- -64>>2];c=v[a+12>>2]&-1025;break F}b=UN(a);c=v[a+12>>2]|1024}v[d+12>>2]=c;v[a+180>>2]=b;if(!b){b=v[a+628>>2];a=v[a>>2];v[e+36>>2]=c&1024?26628:28245;v[e+32>>2]=a;wb(b,19984,24831,e+32|0);break i}v[a+176>>2]=b;if(x[a+138>>1]==2){v[a+176>>2]=(b>>>0)/x[a+98>>1]}G:{H:{d=v[a+40>>2];if(!(d&33554432)){c=c&1024;if(c|x[a+88>>1]!=6|(b|0)!=1){break H}v[a+40>>2]=d|33554432}i=a+184|0;j=a+188|0;f=v[e+700>>2];I:{while(1){m=h;J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{h=x[f>>1];U:{if(h>>>0<=529){switch(h-255|0){case 1:case 2:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 19:case 20:case 21:case 22:case 23:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 43:case 44:case 45:case 47:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 67:case 68:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 82:case 83:break L;case 0:break N;case 42:case 66:case 81:break P;case 46:case 65:break Q;case 24:case 70:break R;case 18:case 69:break S;case 85:case 86:break T;case 3:case 25:case 26:case 84:break U;default:break M}}V:{switch(h-530|0){case 1:break L;case 2:break O;case 0:break P;default:break V}}if((h|0)!=32996){break L}}if(v[f+4>>2]==1){d=v[f+8>>2];W:{if(x[a+456>>1]==19789){b=x[f+2>>1]<<2;g=b+v[a+468>>2]|0;d=d>>>v[b+v[a+464>>2]>>2]|0;break W}g=v[a+468>>2]+(x[f+2>>1]<<2)|0}b=v[g>>2]&d;v[e+692>>2]=b;v[e+256>>2]=b&65535;if(Kc(a,h,e+256|0)){break J}break i}if(!((h|0)!=258|x[f+2>>1]!=4)){if(!$M(a,f,e+692|0)){break i}b=x[f>>1];v[e+272>>2]=x[e+692>>1];if(Kc(a,b,e+272|0)){break J}break i}if(!_M(a,f,e+698|0)){break i}b=x[f>>1];v[e+288>>2]=x[e+698>>1];if(Kc(a,b,e+288|0)){break J}break i}d=v[f+4>>2];k=x[a+98>>1];if(d>>>0>>0){break I}if(d>>>0>k>>>0){b=v[a+628>>2];c=v[a>>2];d=v[Pe(a,h)+16>>2];h=v[f+4>>2];v[e+376>>2]=k;v[e+372>>2]=h;v[e+368>>2]=d;Nc(b,c,50410,e+368|0);d=v[f+4>>2]}b=e+704|0;if(d>>>0>=11){b=Tf(a,d,8,56040);if(!b){break i}}X:{Y:{Z:{_:{$:{aa:{ba:{ca:{da:{ea:{d=x[f+2>>1];switch(d-1|0){case 11:break _;case 10:break aa;case 4:case 9:break ba;case 3:case 8:break ca;case 2:case 7:break da;case 0:case 5:break ea;default:break $}}if(!RC(a,f,b)){break Y}h=v[f+4>>2];c=h-1|0;if(x[f+2>>1]==1){if((c|0)<0){break Z}d=c;g=h&3;if(g){while(1){A[(d<<3)+b>>3]=w[b+d|0];d=d-1|0;g=g-1|0;if(g){continue}break}}if(c>>>0<3){break Z}while(1){A[(d<<3)+b>>3]=w[b+d|0];c=d-1|0;A[(c<<3)+b>>3]=w[b+c|0];c=d-2|0;A[(c<<3)+b>>3]=w[b+c|0];c=d-3|0;A[(c<<3)+b>>3]=w[b+c|0];c=(d|0)>3;d=d-4|0;if(c){continue}break}break Z}if((c|0)<0){break Z}d=c;g=h&3;if(g){while(1){A[(d<<3)+b>>3]=t[b+d|0];d=d-1|0;g=g-1|0;if(g){continue}break}}if(c>>>0<3){break Z}while(1){A[(d<<3)+b>>3]=t[b+d|0];c=d-1|0;A[(c<<3)+b>>3]=t[b+c|0];c=d-2|0;A[(c<<3)+b>>3]=t[b+c|0];c=d-3|0;A[(c<<3)+b>>3]=t[b+c|0];c=(d|0)>3;d=d-4|0;if(c){continue}break}break Z}fa:{ga:{ha:{c=v[f+4>>2];if(c>>>0<=2){if(x[a+456>>1]==19789){h=0;ia:{switch(c-1|0){case 0:g=v[f+8>>2]>>>16|0;break ga;case 1:break ia;default:break fa}}d=v[f+8>>2];u[b+2>>1]=d;g=d>>>16|0;break ga}h=0;ja:{switch(c-1|0){case 0:break ha;case 1:break ja;default:break fa}}g=v[f+8>>2];u[b+2>>1]=g>>>16;break ga}if(!bh(a,f,b)){break Y}h=v[f+4>>2];break fa}g=v[f+8>>2]}u[b>>1]=g;h=c}c=h-1|0;if(x[f+2>>1]==3){if((c|0)<0){break Z}d=c;g=h&3;if(g){while(1){A[(d<<3)+b>>3]=x[(d<<1)+b>>1];d=d-1|0;g=g-1|0;if(g){continue}break}}if(c>>>0<3){break Z}while(1){A[(d<<3)+b>>3]=x[(d<<1)+b>>1];c=d-1|0;A[(c<<3)+b>>3]=x[(c<<1)+b>>1];c=d-2|0;A[(c<<3)+b>>3]=x[(c<<1)+b>>1];c=d-3|0;A[(c<<3)+b>>3]=x[(c<<1)+b>>1];c=(d|0)>3;d=d-4|0;if(c){continue}break}break Z}if((c|0)<0){break Z}d=c;g=h&3;if(g){while(1){A[(d<<3)+b>>3]=u[(d<<1)+b>>1];d=d-1|0;g=g-1|0;if(g){continue}break}}if(c>>>0<3){break Z}while(1){A[(d<<3)+b>>3]=u[(d<<1)+b>>1];c=d-1|0;A[(c<<3)+b>>3]=u[(c<<1)+b>>1];c=d-2|0;A[(c<<3)+b>>3]=u[(c<<1)+b>>1];c=d-3|0;A[(c<<3)+b>>3]=u[(c<<1)+b>>1];c=(d|0)>3;d=d-4|0;if(c){continue}break}break Z}ka:{if(v[f+4>>2]==1){v[b>>2]=v[f+8>>2];break ka}if(!bh(a,f,b)){break Y}d=x[f+2>>1]}h=v[f+4>>2];c=h-1|0;if((d&65535)==4){if((c|0)<0){break Z}d=c;g=h&3;if(g){while(1){A[(d<<3)+b>>3]=y[(d<<2)+b>>2];d=d-1|0;g=g-1|0;if(g){continue}break}}if(c>>>0<3){break Z}while(1){A[(d<<3)+b>>3]=y[(d<<2)+b>>2];c=d-1|0;A[(c<<3)+b>>3]=y[(c<<2)+b>>2];c=d-2|0;A[(c<<3)+b>>3]=y[(c<<2)+b>>2];c=d-3|0;A[(c<<3)+b>>3]=y[(c<<2)+b>>2];c=(d|0)>3;d=d-4|0;if(c){continue}break}break Z}if((c|0)<0){break Z}d=c;g=h&3;if(g){while(1){A[(d<<3)+b>>3]=v[(d<<2)+b>>2];d=d-1|0;g=g-1|0;if(g){continue}break}}if(c>>>0<3){break Z}while(1){A[(d<<3)+b>>3]=v[(d<<2)+b>>2];c=d-1|0;A[(c<<3)+b>>3]=v[(c<<2)+b>>2];c=d-2|0;A[(c<<3)+b>>3]=v[(c<<2)+b>>2];c=d-3|0;A[(c<<3)+b>>3]=v[(c<<2)+b>>2];c=(d|0)>3;d=d-4|0;if(c){continue}break}break Z}if(!ZM(a,f,b)){break Y}h=v[f+4>>2];c=h-1|0;if((c|0)<0){break Z}d=c;g=h&3;if(g){while(1){A[(d<<3)+b>>3]=z[(d<<2)+b>>2];d=d-1|0;g=g-1|0;if(g){continue}break}}if(c>>>0<3){break Z}while(1){A[(d<<3)+b>>3]=z[(d<<2)+b>>2];c=d-1|0;A[(c<<3)+b>>3]=z[(c<<2)+b>>2];c=d-2|0;A[(c<<3)+b>>3]=z[(c<<2)+b>>2];c=d-3|0;A[(c<<3)+b>>3]=z[(c<<2)+b>>2];c=(d|0)>3;d=d-4|0;if(c){continue}break}break Z}la:{if(v[f+4>>2]==1){z[b>>2]=z[f+8>>2];d=0;h=1;break la}if(!bh(a,f,b)){break Y}h=v[f+4>>2];d=h-1|0;if((d|0)<0){break Z}}while(1){A[(d<<3)+b>>3]=z[(d<<2)+b>>2];c=(d|0)>0;d=d-1|0;if(c){continue}break}break Z}c=v[a+628>>2];h=v[a>>2];s=e,C=v[Pe(a,x[f>>1])+16>>2],v[s+340>>2]=C;v[e+336>>2]=d;wb(c,h,56799,e+336|0);break Y}if(!bh(a,f,b)){break Y}h=v[f+4>>2]}d=1;p=A[b>>3];n=0;g=1;c=(h|0)>(k|0)?k:h;if((c|0)<=1){break X}while(1){if(A[(d<<3)+b>>3]==p){g=g+1|0;d=g&65535;if((c|0)>(d|0)){continue}break X}break}c=v[a+628>>2];d=v[a>>2];s=e,C=v[Pe(a,x[f>>1])+16>>2],v[s+352>>2]=C;wb(c,d,56434,e+352|0)}n=1;p=0}if((e+704|0)!=(b|0)){$a(b)}if(n){break i}b=x[f>>1];A[e+320>>3]=p;if(Kc(a,b,e+320|0)){break J}break i}if(YM(a,f,v[a+180>>2],i)){break J}break i}if(YM(a,f,v[a+180>>2],j)){break J}break i}g=x[a+84>>1];d=1<>2]=d;b=v[f+4>>2];ma:{if((h|0)!=320){c=d;if((b|0)==(d|0)){break ma}}g=3<>>0>b>>>0){break K}c=b;if(g>>>0>=b>>>0){break ma}b=v[a+628>>2];c=v[a>>2];h=v[Pe(a,h)+16>>2];k=v[f+4>>2];v[e+424>>2]=g;v[e+420>>2]=k;v[e+416>>2]=h;Nc(b,c,50410,e+416|0);c=v[f+4>>2]}d=d<<1;v[e+692>>2]=d;b=Tf(a,c,2,33150);if(!b){break J}if(bh(a,f,b)){if(v[f+4>>2]==1<>1]){v[e+692>>2]=0;d=0}c=x[f>>1];v[e+384>>2]=b;v[e+392>>2]=b+(d<<1);v[e+388>>2]=b+d;Kc(a,c,e+384|0)}$a(b);break J}b=v[f+4>>2];if(b>>>0>=3){b=v[a+628>>2];c=v[a>>2];d=v[Pe(a,h)+16>>2];v[e+436>>2]=v[f+4>>2];v[e+432>>2]=d;Nc(b,c,55109,e+432|0);break J}na:{switch(x[f+2>>1]-1|0){case 0:case 5:if(!RC(a,f,e+704|0)){break J}b=x[f>>1];v[e+448>>2]=w[e+704|0];v[e+452>>2]=w[e+705|0];Kc(a,b,e+448|0);break J;case 2:case 7:break na;default:break J}}oa:{if(x[a+456>>1]==19789){c=0;g=0;pa:{switch(b-1|0){case 0:g=v[f+8>>2]>>>16|0;break oa;case 1:break pa;default:break oa}}c=v[f+8>>2];g=c>>>16|0;break oa}c=0;g=0;qa:{switch(b-1|0){case 0:g=x[f+8>>1];break oa;case 1:break qa;default:break oa}}g=v[f+8>>2];c=g>>>16|0}v[e+468>>2]=c&65535;v[e+464>>2]=g&65535;Kc(a,h,e+464|0);break J}if(x[f+2>>1]==5){kx(a,f);break J}c=Tf(a,v[f+4>>2],4,82656);if(!c){break J}ra:{sa:{if(v[f+4>>2]==1){v[c>>2]=v[f+8>>2];break sa}if(!bh(a,f,c)){break ra}}d=Tf(a,v[f+4>>2],4,82656);if(!d){break ra}g=v[f+4>>2];ta:{if(!g){break ta}h=g&3;b=0;if(g-1>>>0>=3){n=g&-4;while(1){g=b<<2;z[g+d>>2]=y[c+g>>2];k=g|4;z[k+d>>2]=y[c+k>>2];k=g|8;z[k+d>>2]=y[c+k>>2];g=g|12;z[g+d>>2]=y[c+g>>2];b=b+4|0;n=n-4|0;if(n){continue}break}}if(!h){break ta}while(1){g=b<<2;z[g+d>>2]=y[c+g>>2];b=b+1|0;h=h-1|0;if(h){continue}break}}b=x[f>>1];v[e+480>>2]=d;Kc(a,b,e+480|0);$a(d)}$a(c);break J}v[e+692>>2]=0;b=v[f+8>>2];ua:{if(x[a+456>>1]==19789){c=x[f+2>>1]<<2;g=c+v[a+468>>2]|0;b=b>>>v[c+v[a+464>>2]>>2]|0;break ua}g=v[a+468>>2]+(x[f+2>>1]<<2)|0}d=1;va:{switch((v[g>>2]&b)-2|0){case 1:d=2;break;case 0:break va;default:break J}}v[e+496>>2]=d;v[e+692>>2]=d;Kc(a,254,e+496|0);break J}if(!h){break J}}kx(a,f);break J}b=v[a+628>>2];c=v[a>>2];d=v[Pe(a,h)+16>>2];h=v[f+4>>2];v[e+408>>2]=g;v[e+404>>2]=h;v[e+400>>2]=d;Nc(b,c,49811,e+400|0)}f=f+12|0;h=m-1|0;if((m|0)>1){continue}break}wa:{if(x[a+88>>1]!=6){break wa}xa:{if(!(t[a+41|0]&1)){Nc(v[a+628>>2],19984,34520,0);v[e+240>>2]=6;if(Kc(a,262,e+240|0)){break xa}break i}if(x[a+90>>1]!=2){break xa}u[a+90>>1]=6;Nc(v[a+628>>2],19984,36656,0)}b=v[a+40>>2];if(!(b&64)){Nc(v[a+628>>2],19984,37699,0);v[e+224>>2]=8;if(!Kc(a,258,e+224|0)){break i}b=v[a+40>>2]}if(b&65536){break wa}ya:{switch(x[a+90>>1]){case 2:case 6:Nc(v[a+628>>2],19984,38952,0);v[e+192>>2]=3;if(Kc(a,277,e+192|0)){break wa}break i;case 0:case 1:break ya;default:break wa}}Nc(v[a+628>>2],19984,40496,0);v[e+208>>2]=1;if(!Kc(a,277,e+208|0)){break i}}if(!(w[a+43|0]&4|x[a+90>>1]!=3)){b=v[a+628>>2];a=v[a>>2];v[e+52>>2]=41129;v[e+48>>2]=a;wb(b,82576,49052,e+48|0);break i}b=x[a+88>>1];za:{if((b|0)==6){break za}if(!(t[a+43|0]&1)){Aa:{Ba:{switch(x[a+138>>1]-1|0){case 1:if(v[a+180>>2]==x[a+98>>1]){break Aa}break G;case 0:break Ba;default:break Aa}}if(y[a+180>>2]>1){break G}}b=v[a+628>>2];c=v[a>>2];s=e,C=v[Pe(a,279)+16>>2],v[s+132>>2]=C;v[e+128>>2]=c;Nc(b,19984,42910,e+128|0);if((QC(a,v[e+700>>2],l)|0)>=0){break za}break i}Ca:{if(!v[v[i>>2]>>2]|v[a+180>>2]!=1){break Ca}c=v[v[j>>2]>>2];Da:{if(!c){break Da}if((b|0)==1){if(c>>>0>(Qa[v[a+648>>2]](v[a+628>>2])|0)-v[v[a+184>>2]>>2]>>>0){break Da}}if(v[a+8>>2]|x[a+88>>1]!=1){break Ca}if(y[v[a+188>>2]>>2]>=B(Gi(a),v[a+60>>2])>>>0){break Ca}}b=v[a+628>>2];c=v[a>>2];s=e,C=v[Pe(a,279)+16>>2],v[s+180>>2]=C;v[e+176>>2]=c;Nc(b,19984,43868,e+176|0);if((QC(a,v[e+700>>2],l)|0)>=0){break za}break i}if(x[a+138>>1]!=1|y[a+180>>2]<3|x[a+88>>1]!=1){break za}b=v[j>>2];c=v[b+4>>2];if(!c){break za}b=v[b>>2];if(!b|(b|0)==(c|0)){break za}b=v[a+628>>2];c=v[a>>2];s=e,C=v[Pe(a,279)+16>>2],v[s+164>>2]=C;v[e+160>>2]=c;Nc(b,19984,44727,e+160|0);if((QC(a,v[e+700>>2],l)|0)<0){break i}}b=v[e+700>>2];if(b){$a(b);v[e+700>>2]=0}h=v[a+40>>2];if(!(h&524288)){u[a+106>>1]=-1<>1]^-1}c=v[a+180>>2];Ea:{if(c>>>0<2){break Ea}v[a+192>>2]=1;l=v[a+184>>2];f=v[l>>2];b=1;while(1){d=f;f=v[l+(b<<2)>>2];if(d>>>0<=f>>>0){b=b+1|0;if((c|0)!=(b|0)){continue}break Ea}break}v[a+192>>2]=0}if(!(h&128)){v[e+112>>2]=1;Kc(a,259,e+112|0);c=v[a+180>>2]}if(!((c|0)!=1|x[a+88>>1]!=1|(v[a+12>>2]&33792)!=32768)){l=0;k=Ma-16|0;Ma=k;m=v[v[a+184>>2]>>2];c=v[v[a+188>>2]>>2];j=1;b=RN(a,1);Fa:{if((b|0)<=8192){if((b|0)<1){break Fa}j=8192/((b&65535)>>>0)|0;b=B(j,b)}if(y[a+100>>2]<=j>>>0|0-b>>>0<=c>>>0){break Fa}f=c-1|0;d=f+b|0;if(d>>>0>>0){break Fa}h=(d>>>0)/(b>>>0)|0;d=Tf(a,h,4,57879);f=Tf(a,h,4,58252);if(!(!d|!f)){g=h>>>0>1?h:1;o=g&1;if(h>>>0>=2){i=g&-2;while(1){n=l<<2;g=b>>>0>c>>>0?c:b;v[n+d>>2]=g;v[f+n>>2]=m;n=n|4;c=c-g|0;b=c>>>0>>0?c:g;v[n+d>>2]=b;m=g+m|0;v[f+n>>2]=m;c=c-b|0;m=b+m|0;l=l+2|0;i=i-2|0;if(i){continue}break}}if(o){l=l<<2;v[l+d>>2]=b>>>0>c>>>0?c:b;v[f+l>>2]=m}v[a+176>>2]=h;v[a+180>>2]=h;v[k>>2]=j;Kc(a,278,k);$a(v[a+188>>2]);$a(v[a+184>>2]);v[a+192>>2]=1;v[a+184>>2]=f;v[a+188>>2]=d;break Fa}if(d){$a(d)}if(!f){break Fa}$a(f)}Ma=k+16|0}v[a+508>>2]=-1;v[a+500>>2]=-1;v[a+504>>2]=-1;v[a+480>>2]=-1;v[a+472>>2]=-1;b=Gi(a);v[a+588>>2]=b;if(!b){b=v[a+628>>2];v[e+64>>2]=v[a>>2];wb(b,19984,45433,e- -64|0);g=0;break a}if(w[a+13|0]&4){b=$k(a);v[a+508>>2]=b;g=1;if(b){break a}b=v[a+628>>2];v[e+96>>2]=v[a>>2];wb(b,19984,46253,e+96|0);g=0;break a}g=1;if(yr(a)){break a}b=v[a+628>>2];v[e+80>>2]=v[a>>2];wb(b,19984,46909,e+80|0);g=0;break a}b=v[a+628>>2];c=v[a>>2];a=v[Pe(a,h)+16>>2];d=v[f+4>>2];v[e+312>>2]=k;v[e+308>>2]=d;v[e+304>>2]=a;Nc(b,c,49811,e+304|0);break i}b=v[a+628>>2];a=v[a>>2];v[e+516>>2]=c?29924:31358;v[e+512>>2]=a;wb(b,82576,49052,e+512|0);break i}b=v[a+628>>2];a=v[a>>2];v[e+148>>2]=41820;v[e+144>>2]=a;wb(b,82576,49052,e+144|0)}g=0;a=v[e+700>>2];if(!a){break a}$a(a)}Ma=e+784|0;return g}function sT(a){var 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,u=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;q=Ma-544|0;Ma=q;b=v[a+24>>2];v[q+540>>2]=b-1;v[q+276>>2]=v[a+36>>2];v[q+272>>2]=b;E=pc(q+284|0,q+280|0,b,4);F=pc(q+296|0,q+292|0,b+1|0,4);b=v[q+272>>2];if(b-1>>>0<16777215){v[v[q+292>>2]+(b<<2)>>2]=-1;D=Ma-32|0;Ma=D;a:{n=q+272|0;b=v[n>>2];if((b|0)>0){if(!w[(b+v[n+4>>2]|0)-1|0]){b:{if((b|0)>=32769){b=0;p=Ma-48|0;Ma=p;f=pc(p+32|0,p+44|0,65536,4);e=eb(v[p+44>>2],0,262144);g=1;i=v[n+4>>2];if(v[n>>2]>1){d=w[i|0];while(1){c=(d&255)<<10;b=b+1|0;d=w[i+b|0];c=e+(c|d<<2)|0;v[c>>2]=v[c>>2]+1;if((v[n>>2]-1|0)>(b|0)){continue}break}d=v[e>>2]}while(1){b=d;d=e+(g<<2)|0;b=b+v[d>>2]|0;v[d>>2]=b;b=b+v[d+4>>2]|0;v[d+4>>2]=b;b=b+v[d+8>>2]|0;v[d+8>>2]=b;b=b+v[d+12>>2]|0;v[d+12>>2]=b;c=d;d=b+v[d+16>>2]|0;v[c+16>>2]=d;g=g+5|0;if((g|0)!=65536){continue}break}h=v[n+20>>2];l=v[p+44>>2];c=v[n>>2];c:{if((c|0)<=2){g=v[n+8>>2];break c}d=w[i|0];b=0;while(1){c=h+(b<<2)|0;g=(d&255)<<10;b=b+1|0;d=w[i+b|0];v[c>>2]=v[(g|d<<2)+l>>2];c=v[n>>2];e=c-2|0;if((e|0)>(b|0)){continue}break}g=v[n+8>>2];l=v[p+44>>2];if((c|0)<3){break c}b=c-3|0;d=w[e+i|0];if(c&1){e=d<<2;d=w[b+i|0];e=(e|d<<10)+l|0;k=v[e>>2];v[e>>2]=k-1;v[(k<<2)+g>>2]=b;b=c-4|0}if((c|0)!=3){while(1){c=w[b+i|0];d=(c<<10|(d&255)<<2)+l|0;e=v[d>>2];v[d>>2]=e-1;v[(e<<2)+g>>2]=b;e=b-1|0;d=w[e+i|0];c=(d<<10|c<<2)+l|0;k=v[c>>2];v[c>>2]=k-1;v[(k<<2)+g>>2]=e;c=(b|0)>1;b=b-2|0;if(c){continue}break}}c=v[n>>2]}d=c-1|0;if(w[d+i|0]){lb(mb(p+8|0,291126,241544,631,333312));L()}b=w[(c+i|0)-2|0];v[g>>2]=d;b=(b<<10)+l|0;v[(v[b>>2]<<2)+g>>2]=v[n>>2]-2;v[(h+(v[n>>2]<<2)|0)-4>>2]=0;v[(h+(v[n>>2]<<2)|0)-8>>2]=v[b>>2];v[h+(v[n>>2]<<2)>>2]=-1;ec(f);Ma=p+48|0;p=2;break b}b=Ma-2048|0;Ma=b;eb(b+1024|0,0,1024);i=eb(b,0,1024);f=1;p=v[n+4>>2];k=v[n>>2];d:{if((k|0)<=1){break d}b=k-1|0;l=b&3;if(k-2>>>0>=3){h=b&-4;while(1){b=i+(w[d+p|0]<<2)|0;v[b>>2]=v[b>>2]+1;b=i+(w[p+(d|1)|0]<<2)|0;v[b>>2]=v[b>>2]+1;b=i+(w[p+(d|2)|0]<<2)|0;v[b>>2]=v[b>>2]+1;b=i+(w[p+(d|3)|0]<<2)|0;v[b>>2]=v[b>>2]+1;d=d+4|0;h=h-4|0;if(h){continue}break}}if(!l){break d}while(1){b=i+(w[d+p|0]<<2)|0;v[b>>2]=v[b>>2]+1;d=d+1|0;l=l-1|0;if(l){continue}break}}while(1){c=g<<2;d=i+1024|0;v[c+d>>2]=f;b=c+i|0;e=v[b>>2]+f|0;v[b>>2]=e-1;b=c|4;v[b+d>>2]=e;b=b+i|0;f=e+v[b>>2]|0;v[b>>2]=f-1;g=g+2|0;if((g|0)!=256){continue}break}l=v[n+20>>2];e=v[n+8>>2];e:{if((k|0)<=1){f=k-1|0;break e}g=0;while(1){d=g+p|0;b=(i+1024|0)+(w[d|0]<<2)|0;c=v[b>>2];v[b>>2]=c+1;v[e+(c<<2)>>2]=g;v[l+(g<<2)>>2]=v[i+(w[d|0]<<2)>>2];f=v[n>>2]-1|0;g=g+1|0;if((f|0)>(g|0)){continue}break}}v[e>>2]=f;v[(l+(v[n>>2]<<2)|0)-4>>2]=0;v[l+(v[n>>2]<<2)>>2]=-1;Ma=i+2048|0;p=1}h=v[n>>2];if((h|0)>=1){while(1){C=v[v[n+20>>2]+(v[v[n+8>>2]+(o<<2)>>2]<<2)>>2];if((C|0)>(o|0)){f=0;j=Ma-6176|0;Ma=j;v[j+4128>>2]=o;d=C;v[j+2080>>2]=d;l=p;v[j+32>>2]=l;g=1;while(1){f:{if((l|0)>=8){if((d|0)<(o|0)){g=f;break f}e=v[n+8>>2];g=v[n+20>>2];b=d-o|0;c=b+1&3;if(c){while(1){v[g+(v[e+(o<<2)>>2]<<2)>>2]=d;o=o+1|0;c=c-1|0;if(c){continue}break}}if(b>>>0<3){g=f;break f}while(1){b=e+(o<<2)|0;v[g+(v[b>>2]<<2)>>2]=d;v[g+(v[b+4>>2]<<2)>>2]=d;v[g+(v[b+8>>2]<<2)>>2]=d;b=o+3|0;v[g+(v[e+(b<<2)>>2]<<2)>>2]=d;o=o+4|0;if((b|0)!=(d|0)){continue}break}g=f;break f}g:{h:{if((d-o|0)<=9){u=v[n+8>>2];b=o;i=u;if((d|0)<=(b|0)){break g}while(1){k=b+1|0;z=v[u+(k<<2)>>2];if((b|0)>=(o|0)){h=l+z|0;while(1){g=b;B=u+(b<<2)|0;x=v[B>>2];b=x+l|0;r=v[n+4>>2];e=h;c=l;i:{j:{k:{while(1){if((c|0)>7){break k}s=b+r|0;y=w[s|0];A=e+r|0;m=w[A|0];if((y|0)!=(m|0)){if(m>>>0>>0){break j}b=g;break i}c=c+2|0;e=e+2|0;b=b+2|0;y=w[s+1|0];m=w[A+1|0];if((y|0)==(m|0)){continue}break}if(m>>>0>>0){break j}b=g;break i}c=v[n>>2];if(!((c|0)<=(b|0)|(c|0)<=(e|0))){b=g;break i}if((b|0)<(e|0)){break j}b=g;break i}v[B+4>>2]=x;b=g-1|0;if((g|0)>(o|0)){continue}}break}b=b+1|0}else{b=k}v[(b<<2)+u>>2]=z;b=k;if((d|0)!=(b|0)){continue}break}break h}b=f<<2;s=b+(j+32|0)|0;A=b+(j+2080|0)|0;y=b+(j+4128|0)|0;x=v[n+4>>2]+l|0;B=Gy(n,x,o,d);r=v[n+8>>2];b=o;while(1){h=b;if((B|0)==w[x+v[r+(b<<2)>>2]|0]){b=h+1|0;if((d|0)>(h|0)){continue}}break}b=d;while(1){k=b;if((B|0)==w[x+v[r+(b<<2)>>2]|0]){b=k-1|0;if((h|0)<(k|0)){continue}}break}e=h;b=k;while(1){l:{if((b|0)<(e|0)){break l}c=b+1|0;while(1){m=r+(e<<2)|0;u=v[m>>2];i=w[u+x|0]-B|0;if((i|0)>0){break l}if(!i){i=r+(h<<2)|0;v[m>>2]=v[i>>2];v[i>>2]=u;h=h+1|0}i=(b|0)!=(e|0);e=e+1|0;if(i){continue}break}e=c}c=b;m:{if((b|0)<(e|0)){break m}while(1){u=r+(b<<2)|0;i=v[u>>2];c=w[i+x|0]-B|0;if((c|0)<0){c=b;break m}if(!c){c=r+(k<<2)|0;v[u>>2]=v[c>>2];v[c>>2]=i;k=k-1|0}i=(b|0)>(e|0);c=b-1|0;b=c;if(i){continue}break}}if((c|0)>=(e|0)){b=r+(e<<2)|0;i=v[b>>2];u=b;b=r+(c<<2)|0;v[u>>2]=v[b>>2];v[b>>2]=i;b=c;continue}break}u=e-h|0;b=h-o|0;h=(b|0)>(u|0)?u:b;n:{if((h|0)<1){break n}b=e-h|0;o:{if(!(h&1)){i=h;e=o;break o}e=r+(o<<2)|0;i=v[e>>2];m=e;e=r+(b<<2)|0;v[m>>2]=v[e>>2];v[e>>2]=i;b=b+1|0;i=h-1|0;e=o+1|0}if((h|0)==1){break n}while(1){x=r+(e<<2)|0;h=v[x>>2];m=r+(b<<2)|0;v[x>>2]=v[m>>2];v[m>>2]=h;h=v[x+4>>2];v[x+4>>2]=v[m+4>>2];v[m+4>>2]=h;b=b+2|0;e=e+2|0;h=(i|0)>2;i=i-2|0;if(h){continue}break}}i=k-c|0;b=d-k|0;k=(b|0)>(i|0)?i:b;p:{if((k|0)<1){break p}b=d-k|0;if(k&1){b=b+1|0;e=r+(b<<2)|0;h=v[e>>2];m=e;c=c+1|0;e=r+(c<<2)|0;v[m>>2]=v[e>>2];v[e>>2]=h;e=k-1|0}else{e=k}if((k|0)==1){break p}while(1){k=r+(b<<2)|0;h=v[k+4>>2];m=k;k=r+(c<<2)|0;v[m+4>>2]=v[k+4>>2];v[k+4>>2]=h;b=b+2|0;k=r+(b<<2)|0;h=v[k>>2];m=k;c=c+2|0;k=r+(c<<2)|0;v[m>>2]=v[k>>2];v[k>>2]=h;k=(e|0)>2;e=e-2|0;if(k){continue}break}}if((g|0)<510){i=d-i|0;c=o+u|0;b=c;q:{if(B){break q}b=c;if((i|0)<(b|0)){break q}k=v[n>>2]-1|0;r:{while(1){e=r+(b<<2)|0;h=v[e>>2];if((k|0)==(h+l|0)){break r}e=(b|0)>=(i|0);b=b+1|0;if(!e){continue}break}b=c;break q}b=r+(c<<2)|0;v[e>>2]=v[b>>2];v[b>>2]=h;v[v[n+20>>2]+(h<<2)>>2]=c;b=c+1|0}s:{if((b|0)<(i|0)){v[y>>2]=b;v[A>>2]=i;v[s>>2]=l+1;break s}if((b|0)==(i|0)){v[v[n+20>>2]+(v[r+(i<<2)>>2]<<2)>>2]=i}g=f}c=c-1|0;t:{if((c|0)>(o|0)){b=g<<2;v[b+(j+2080|0)>>2]=c;v[b+(j+4128|0)>>2]=o;v[b+(j+32|0)>>2]=l;g=g+1|0;break t}if((c|0)!=(o|0)){break t}v[v[n+20>>2]+(v[r+(o<<2)>>2]<<2)>>2]=o}c=i+1|0;if((c|0)<(d|0)){b=g<<2;v[b+(j+2080|0)>>2]=d;v[b+(j+4128|0)>>2]=c;v[b+(j+32|0)>>2]=l;g=g+1|0;break f}if((d|0)!=(c|0)){break f}v[v[n+20>>2]+(v[r+(d<<2)>>2]<<2)>>2]=d;break f}lb(mb(j+8|0,291020,241544,523,327949));L()}i=v[n+8>>2]}if((d|0)<(o|0)){g=f;break f}x=v[n+20>>2];while(1){h=d;b=v[i+(d<<2)>>2];v[x+(b<<2)>>2]=d;d=d-1|0;u:{if((h|0)<=(o|0)){break u}k=b+l|0;while(1){g=d;A=v[i+(d<<2)>>2];b=A+l|0;s=v[n+4>>2];e=k;c=l;v:{w:{while(1){if((c|0)>7){break w}y=e+s|0;u=w[y|0];m=b+s|0;d=w[m|0];if((u|0)!=(d|0)){if(d>>>0>=u>>>0){break v}d=g;break u}c=c+2|0;b=b+2|0;e=e+2|0;u=w[y+1|0];d=w[m+1|0];if((u|0)==(d|0)){continue}break}if(d>>>0>=u>>>0){break v}d=g;break u}d=v[n>>2];if(!((d|0)<=(e|0)|(b|0)>=(d|0))|(b|0)<=(e|0)){break v}d=g;break u}v[x+(A<<2)>>2]=h;d=g-1|0;if((g|0)>(o|0)){continue}break}}if((d|0)>=(o|0)){continue}break}g=f}if((g|0)>=1){f=g-1|0;b=f<<2;l=v[b+(j+32|0)>>2];d=v[b+(j+2080|0)>>2];o=v[b+(j+4128|0)>>2];continue}break}Ma=j+6176|0;h=v[n>>2]}o=C+1|0;if((o|0)<(h|0)){continue}break}}o=8;while(1){C=o<<1;B=0;k=0;c=0;if((h|0)>0){while(1){h=v[n+20>>2];i=v[n+8>>2];b=v[i+(c<<2)>>2];u=v[h+((b&16777215)<<2)>>2];x:{if((u|0)==(c|0)){u=(b>>>24|0)+c|0;break x}y:{z:{x=u-c|0;if((x|0)<=9){if((c|0)>=(u|0)){break y}b=c;while(1){f=b+1|0;l=v[(f<<2)+i>>2];if((b|0)>=(c|0)){while(1){e=l;d=b;A=(b<<2)+i|0;y=v[A>>2];b=y;A:{B:{while(1){m=v[(b+o<<2)+h>>2];p=v[(e+o<<2)+h>>2];if((m|0)!=(p|0)){if((m|0)>(p|0)){break B}b=d;break A}m=b+C|0;p=v[(m<<2)+h>>2];s=e+C|0;b=v[(s<<2)+h>>2];if((p|0)!=(b|0)){if((b|0)<(p|0)){break B}b=d;break A}e=v[(o+m<<2)+h>>2];b=v[(o+s<<2)+h>>2];if((e|0)!=(b|0)){if((b|0)<(e|0)){break B}b=d;break A}m=m+C|0;e=v[(m<<2)+h>>2];p=s+C|0;b=v[(p<<2)+h>>2];if((e|0)!=(b|0)){if((b|0)<(e|0)){break B}b=d;break A}e=v[(o+m<<2)+h>>2];b=v[(o+p<<2)+h>>2];if((e|0)!=(b|0)){if((b|0)<(e|0)){break B}b=d;break A}m=m+C|0;e=v[(m<<2)+h>>2];p=p+C|0;b=v[(p<<2)+h>>2];if((e|0)!=(b|0)){if((b|0)<(e|0)){break B}b=d;break A}e=v[(o+m<<2)+h>>2];b=v[(o+p<<2)+h>>2];if((e|0)!=(b|0)){if((b|0)<(e|0)){break B}b=d;break A}b=m+C|0;m=v[(b<<2)+h>>2];e=p+C|0;p=v[(e<<2)+h>>2];if((m|0)==(p|0)){continue}break}if((m|0)>(p|0)){break B}b=d;break A}v[A+4>>2]=y;b=d-1|0;if((d|0)>(c|0)){continue}}break}b=b+1|0}else{b=f}v[(b<<2)+i>>2]=l;if((f|0)==(u|0)){break z}h=v[n+20>>2];b=f;continue}}d=c-1|0;if((d|0)>(k|0)){while(1){b=d-k|0;b=(b|0)<255?b:255;t[((k<<2)+i|0)+3|0]=b;k=(b+k|0)+1|0;if((d|0)>(k|0)){continue}break}}B=B+1|0;p=0;r=Ma-4128|0;Ma=r;b=c;v[r+2080>>2]=b;g=u;v[r+32>>2]=g;k=1;C:{D:{while(1){E:{if((g-b|0)<=9){k=v[n+8>>2];d=b;h=g;if((g|0)>(b|0)){x=o<<1;while(1){e=b+1|0;l=v[(e<<2)+k>>2];if((b|0)>=(d|0)){z=v[n+20>>2];while(1){f=l;c=b;A=(b<<2)+k|0;y=v[A>>2];b=y;F:{G:{while(1){m=v[z+(b+o<<2)>>2];i=v[z+(f+o<<2)>>2];if((m|0)!=(i|0)){if((i|0)<(m|0)){break G}b=c;break F}m=b+x|0;i=v[z+(m<<2)>>2];s=f+x|0;b=v[z+(s<<2)>>2];if((i|0)!=(b|0)){if((b|0)<(i|0)){break G}b=c;break F}f=v[z+(o+m<<2)>>2];b=v[z+(o+s<<2)>>2];if((f|0)!=(b|0)){if((b|0)<(f|0)){break G}b=c;break F}m=m+x|0;f=v[z+(m<<2)>>2];i=s+x|0;b=v[z+(i<<2)>>2];if((f|0)!=(b|0)){if((b|0)<(f|0)){break G}b=c;break F}f=v[z+(o+m<<2)>>2];b=v[z+(i+o<<2)>>2];if((f|0)!=(b|0)){if((b|0)<(f|0)){break G}b=c;break F}m=m+x|0;f=v[z+(m<<2)>>2];i=i+x|0;b=v[z+(i<<2)>>2];if((f|0)!=(b|0)){if((b|0)<(f|0)){break G}b=c;break F}f=v[z+(o+m<<2)>>2];b=v[z+(i+o<<2)>>2];if((f|0)!=(b|0)){if((b|0)<(f|0)){break G}b=c;break F}b=m+x|0;m=v[z+(b<<2)>>2];f=i+x|0;i=v[z+(f<<2)>>2];if((m|0)==(i|0)){continue}break}if((i|0)<(m|0)){break G}b=c;break F}v[A+4>>2]=y;b=c-1|0;if((d|0)<(c|0)){continue}}break}b=b+1|0}else{b=e}v[(b<<2)+k>>2]=l;b=e;if((h|0)!=(b|0)){continue}break}k=v[n+8>>2]}H:{if((d|0)>(h|0)){break H}c=v[n+20>>2];b=h-d|0;g=b+1&3;if(g){while(1){v[c+(v[(d<<2)+k>>2]<<2)>>2]=d;d=d+1|0;g=g-1|0;if(g){continue}break}}if(b>>>0<3){break H}while(1){v[c+(v[(d<<2)+k>>2]<<2)>>2]=d;b=d+1|0;v[c+(v[(b<<2)+k>>2]<<2)>>2]=b;b=d+2|0;v[c+(v[(b<<2)+k>>2]<<2)>>2]=b;b=d+3|0;v[c+(v[(b<<2)+k>>2]<<2)>>2]=b;d=d+4|0;if((b|0)!=(h|0)){continue}break}}k=p;break E}A=v[n+20>>2]+(o<<2)|0;y=Hy(n,A,b,g);s=v[n+8>>2];d=b;while(1){f=d;if((y|0)==v[A+(v[s+(d<<2)>>2]<<2)>>2]){d=f+1|0;if((f|0)<(g|0)){continue}}break}d=g;while(1){l=d;if((y|0)==v[A+(v[s+(d<<2)>>2]<<2)>>2]){d=l-1|0;if((f|0)<(l|0)){continue}}break}e=f;d=l;while(1){I:{if((d|0)<(e|0)){break I}c=d+1|0;while(1){m=s+(e<<2)|0;i=v[m>>2];h=v[A+(i<<2)>>2]-y|0;if((h|0)>0){break I}if(!h){h=s+(f<<2)|0;v[m>>2]=v[h>>2];v[h>>2]=i;f=f+1|0}h=(d|0)!=(e|0);e=e+1|0;if(h){continue}break}e=c}c=d;J:{if((d|0)<(e|0)){break J}while(1){i=s+(d<<2)|0;h=v[i>>2];c=v[A+(h<<2)>>2]-y|0;if((c|0)<0){c=d;break J}if(!c){c=s+(l<<2)|0;v[i>>2]=v[c>>2];v[c>>2]=h;l=l-1|0}h=(d|0)>(e|0);c=d-1|0;d=c;if(h){continue}break}}if((c|0)>=(e|0)){d=s+(e<<2)|0;h=v[d>>2];i=d;d=s+(c<<2)|0;v[i>>2]=v[d>>2];v[d>>2]=h;d=c;continue}break}y=e-f|0;d=f-b|0;f=(d|0)>(y|0)?y:d;K:{if((f|0)<1){break K}d=e-f|0;L:{if(!(f&1)){h=f;e=b;break L}e=s+(b<<2)|0;h=v[e>>2];i=e;e=s+(d<<2)|0;v[i>>2]=v[e>>2];v[e>>2]=h;d=d+1|0;h=f-1|0;e=b+1|0}if((f|0)==1){break K}while(1){m=s+(e<<2)|0;f=v[m>>2];i=s+(d<<2)|0;v[m>>2]=v[i>>2];v[i>>2]=f;f=v[m+4>>2];v[m+4>>2]=v[i+4>>2];v[i+4>>2]=f;d=d+2|0;e=e+2|0;f=(h|0)>2;h=h-2|0;if(f){continue}break}}i=l-c|0;d=g-l|0;f=(d|0)>(i|0)?i:d;M:{if((f|0)<1){break M}d=g-f|0;if(f&1){d=d+1|0;e=s+(d<<2)|0;l=v[e>>2];h=e;c=c+1|0;e=s+(c<<2)|0;v[h>>2]=v[e>>2];v[e>>2]=l;e=f-1|0}else{e=f}if((f|0)==1){break M}while(1){f=s+(d<<2)|0;l=v[f+4>>2];h=f;f=s+(c<<2)|0;v[h+4>>2]=v[f+4>>2];v[f+4>>2]=l;d=d+2|0;f=s+(d<<2)|0;l=v[f>>2];h=f;c=c+2|0;f=s+(c<<2)|0;v[h>>2]=v[f>>2];v[f>>2]=l;f=(e|0)>2;e=e-2|0;if(f){continue}break}}if((k|0)>510){break D}c=b+y|0;h=g-i|0;if((c|0)<=(h|0)){f=v[n+20>>2];d=c;while(1){v[f+(v[s+(d<<2)>>2]<<2)>>2]=h;e=(d|0)<(h|0);d=d+1|0;if(e){continue}break}}f=(r+32|0)+(p<<2)|0;if((y|0)>=1){l=c-1|0;e=v[n+20>>2];d=b;while(1){v[e+(v[s+(d<<2)>>2]<<2)>>2]=l;d=d+1|0;if((c|0)>(d|0)){continue}break}v[f>>2]=l;p=(b|0)<(l|0)?k:p}k=p;if((i|0)<1){break E}b=p<<2;v[b+(r+32|0)>>2]=g;d=b+(r+2080|0)|0;b=h+1|0;v[d>>2]=b;k=((b|0)<(g|0))+p|0}if((k|0)>=1){p=k-1|0;b=p<<2;g=v[b+(r+32|0)>>2];b=v[b+(r+2080|0)>>2];continue}break}Ma=r+4128|0;break C}lb(mb(r+8|0,291060,241544,347,327909));L()}k=u+1|0;break x}h=v[n+20>>2];i=v[n+8>>2]}if((c|0)>(u|0)){break x}e=x+1&3;if(e){while(1){v[(v[(c<<2)+i>>2]<<2)+h>>2]=c;c=c+1|0;e=e-1|0;if(e){continue}break}}if(x>>>0<3){break x}while(1){v[(v[(c<<2)+i>>2]<<2)+h>>2]=c;b=c+1|0;v[(v[(b<<2)+i>>2]<<2)+h>>2]=b;b=c+2|0;v[(v[(b<<2)+i>>2]<<2)+h>>2]=b;b=c+3|0;v[(v[(b<<2)+i>>2]<<2)+h>>2]=b;c=c+4|0;if((b|0)!=(u|0)){continue}break}}c=u+1|0;if((c|0)>2]){continue}break}}e=v[n+8>>2];d=c-1|0;if((d|0)>(k|0)){while(1){b=d-k|0;b=(b|0)<255?b:255;t[((k<<2)+e|0)+3|0]=b;k=(b+k|0)+1|0;if((d|0)>(k|0)){continue}break}}if(B){h=v[n>>2];o=C;continue}break}v[q+540>>2]=-1;h=0;N:{o=v[n>>2];if((o|0)<=0){break N}d=v[n+20>>2];b=v[n+4>>2];while(1){v[d+(h<<2)>>2]=w[b+h|0];h=h+1|0;o=v[n>>2];if((h|0)<(o|0)){continue}break}h=0;if((o|0)<=0){break N}while(1){b=v[(h<<2)+e>>2]&16777215;O:{if(b){t[v[n+4>>2]+h|0]=v[(v[n+20>>2]+(b<<2)|0)-4>>2];break O}t[v[n+4>>2]+h|0]=0;v[q+540>>2]=h}h=h+1|0;o=v[n>>2];if((h|0)>=(o|0)){break N}e=v[n+8>>2];continue}}b=v[q+540>>2];if(!((b|0)<0|(b|0)>=(o|0))){Ma=D+32|0;break a}lb(mb(D+8|0,290970,241544,740,333554));L()}lb(mb(D+8|0,291126,241544,650,333554));L()}lb(mb(D+8|0,291100,241544,649,333554));L()}ec(F);ec(E);b=v[a+24>>2];j=v[a+48>>2];c=1;while(1){e=(v[j+20>>2]>>>1|0)+32768|0;b=b<<1&33554430;d=b>>>24|0;P:{if(b>>>0>=16777216){nu(j,e);break P}of(j,e)}c=d|c<<1;if((c|0)<16777216){continue}break}b=v[a+24>>2];Q:{if((b|0)<=99999){of(j,(v[j+20>>2]>>>1|0)+32768|0);break Q}H=1;nu(j,(v[j+20>>2]>>>1|0)+32768|0);d=(v[j+20>>2]>>>1|0)+32768|0;if((b|0)<=999999){of(j,d);break Q}nu(j,d);H=2}c=0;b=0;while(1){e=q+272|0;t[e+b|0]=b;d=b|1;t[d+e|0]=d;d=b|2;t[d+e|0]=d;d=b|3;t[d+e|0]=d;d=b|4;t[d+e|0]=d;d=b|5;t[d+e|0]=d;d=b|6;t[d+e|0]=d;d=b|7;t[d+e|0]=d;b=b+8|0;if((b|0)!=256){continue}break}while(1){d=q+16|0;e=q+272|0;t[d+w[e+c|0]|0]=c;b=c|1;t[d+w[b+e|0]|0]=b;b=c|2;t[d+w[b+e|0]|0]=b;b=c|3;t[d+w[b+e|0]|0]=b;c=c+4|0;if((c|0)!=256){continue}break}v[q+8>>2]=0;v[q+12>>2]=0;v[q>>2]=0;v[q+4>>2]=0;if(v[a+24>>2]>=1){D=a+184|0;z=a+120|0;r=a+88|0;E=a+72|0;F=a- -64|0;B=a+60|0;x=a+58|0;y=a+55|0;e=4;b=3;m=v[q+540>>2];while(1){c=b>>>0<2?b:2;f=(c+a|0)+52|0;b=w[f|0];g=v[(j+(b<<2)|0)+44>>2]+v[j+20>>2]|0;u=w[v[a+36>>2]+G|0];C=u+(q+16|0)|0;d=(m|0)==(G|0)?256:w[C|0];R:{if(!(!d^!(b&1))){Pg(j,f,g);break R}if(g>>>0>=32768){Qg(j,f,g);break R}v[j+20>>2]=g}S:{T:{if(!d){break T}c=c+y|0;b=w[c|0];f=v[(j+(b<<2)|0)+44>>2]+v[j+20>>2]|0;g=!(b&1);b=(d|0)==1;U:{if(!(g^b)){Pg(j,c,f);break U}if(f>>>0>=32768){Qg(j,c,f);break U}v[j+20>>2]=f}if(b){break T}b=w[x|0];c=v[(j+(b<<2)|0)+44>>2]+v[j+20>>2]|0;V:{if(!(!(b&1)^d>>>0<4)){Pg(j,x,c);break V}if(c>>>0>=32768){Qg(j,x,c);break V}v[j+20>>2]=c}if(d>>>0<=3){c=d-2|0;b=1;while(1){g=b+x|0;f=w[g|0];l=v[(j+(f<<2)|0)+44>>2]+v[j+20>>2]|0;k=f&1;c=c<<1&2;f=c>>>1|0;W:{if((k|0)!=(f|0)){Pg(j,g,l);break W}if(l>>>0>=32768){Qg(j,g,l);break W}v[j+20>>2]=l}b=f|b<<1;if((b|0)<2){continue}break}break T}b=w[B|0];c=v[(j+(b<<2)|0)+44>>2]+v[j+20>>2]|0;X:{if(!(!(b&1)^d>>>0<8)){Pg(j,B,c);break X}if(c>>>0>=32768){Qg(j,B,c);break X}v[j+20>>2]=c}if(d>>>0<=7){c=d-4|0;b=1;while(1){g=b+B|0;f=w[g|0];l=v[(j+(f<<2)|0)+44>>2]+v[j+20>>2]|0;k=f&1;c=c<<1&6;f=c>>>2|0;Y:{if((k|0)!=(f|0)){Pg(j,g,l);break Y}if(l>>>0>=32768){Qg(j,g,l);break Y}v[j+20>>2]=l}b=f|b<<1;if((b|0)<4){continue}break}break T}b=w[F|0];c=v[(j+(b<<2)|0)+44>>2]+v[j+20>>2]|0;Z:{if(!(!(b&1)^d>>>0<16)){Pg(j,F,c);break Z}if(c>>>0>=32768){Qg(j,F,c);break Z}v[j+20>>2]=c}if(d>>>0<=15){c=d-8|0;b=1;while(1){g=b+F|0;f=w[g|0];l=v[(j+(f<<2)|0)+44>>2]+v[j+20>>2]|0;k=f&1;c=c<<1&14;f=c>>>3|0;_:{if((k|0)!=(f|0)){Pg(j,g,l);break _}if(l>>>0>=32768){Qg(j,g,l);break _}v[j+20>>2]=l}b=f|b<<1;if((b|0)<8){continue}break}break T}b=w[E|0];c=v[(j+(b<<2)|0)+44>>2]+v[j+20>>2]|0;$:{if(!(!(b&1)^d>>>0<32)){Pg(j,E,c);break $}if(c>>>0>=32768){Qg(j,E,c);break $}v[j+20>>2]=c}if(d>>>0<=31){c=d-16|0;b=1;while(1){g=b+E|0;f=w[g|0];l=v[(j+(f<<2)|0)+44>>2]+v[j+20>>2]|0;k=f&1;c=c<<1&30;f=c>>>4|0;aa:{if((k|0)!=(f|0)){Pg(j,g,l);break aa}if(l>>>0>=32768){Qg(j,g,l);break aa}v[j+20>>2]=l}b=f|b<<1;if((b|0)<16){continue}break}break T}b=w[r|0];c=v[(j+(b<<2)|0)+44>>2]+v[j+20>>2]|0;ba:{if(!(!(b&1)^d>>>0<64)){Pg(j,r,c);break ba}if(c>>>0>=32768){Qg(j,r,c);break ba}v[j+20>>2]=c}if(d>>>0<=63){c=d-32|0;b=1;while(1){g=b+r|0;f=w[g|0];l=v[(j+(f<<2)|0)+44>>2]+v[j+20>>2]|0;k=f&1;c=c<<1&62;f=c>>>5|0;ca:{if((k|0)!=(f|0)){Pg(j,g,l);break ca}if(l>>>0>=32768){Qg(j,g,l);break ca}v[j+20>>2]=l}b=f|b<<1;if((b|0)<32){continue}break}break T}b=w[z|0];c=v[(j+(b<<2)|0)+44>>2]+v[j+20>>2]|0;da:{if(!(!(b&1)^d>>>0<128)){Pg(j,z,c);break da}if(c>>>0>=32768){Qg(j,z,c);break da}v[j+20>>2]=c}if(d>>>0<=127){c=d+-64|0;b=1;while(1){g=b+z|0;f=w[g|0];l=v[(j+(f<<2)|0)+44>>2]+v[j+20>>2]|0;k=f&1;c=c<<1&126;f=c>>>6|0;ea:{if((k|0)!=(f|0)){Pg(j,g,l);break ea}if(l>>>0>=32768){Qg(j,g,l);break ea}v[j+20>>2]=l}b=f|b<<1;if((b|0)<64){continue}break}break T}b=w[D|0];c=v[(j+(b<<2)|0)+44>>2]+v[j+20>>2]|0;fa:{if(!(!(b&1)^d>>>0<256)){Pg(j,D,c);break fa}if(c>>>0>=32768){Qg(j,D,c);break fa}v[j+20>>2]=c}if(d>>>0>255){break S}c=d-128|0;b=1;while(1){g=b+D|0;f=w[g|0];l=v[(j+(f<<2)|0)+44>>2]+v[j+20>>2]|0;k=f&1;c=c<<1&254;f=c>>>7|0;ga:{if((k|0)!=(f|0)){Pg(j,g,l);break ga}if(l>>>0>=32768){Qg(j,g,l);break ga}v[j+20>>2]=l}b=f|b<<1;if((b|0)<128){continue}break}}e=(e>>H)+e|0;if((e|0)>=268435457){v[q>>2]=w[q+3|0];v[q+4>>2]=w[q+7|0];v[q+8>>2]=w[q+11|0];v[q+12>>2]=w[q+15|0];e=e>>>24|0}ha:{ia:{ja:{if(d>>>0>=4){b=d;c=b+1&3;if(c){while(1){g=q+272|0;f=b-1|0;l=w[g+f|0];t[b+g|0]=l;t[l+(q+16|0)|0]=b;b=f;c=c-1|0;if(c){continue}break}}c=3;if(d-4>>>0>=3){while(1){f=b-1|0;s=q+272|0;i=f+s|0;p=w[i|0];A=q+16|0;t[p+A|0]=b;h=b-2|0;k=h+s|0;o=w[k|0];t[o+A|0]=f;l=b-3|0;g=l+s|0;f=w[g|0];t[f+A|0]=h;t[b+s|0]=p;t[k|0]=f;t[i|0]=o;k=g;f=b-4|0;g=w[f+s|0];t[k|0]=g;t[g+A|0]=l;g=(b|0)>7;b=f;if(g){continue}break}}b=e;break ja}b=v[(d<<2)+q>>2]+e|0;if(!d){break ia}c=d}while(1){f=c-1|0;g=v[(f<<2)+q>>2];if(g>>>0>b>>>0){break ha}v[(c<<2)+q>>2]=g;g=q+272|0;l=w[g+f|0];t[c+g|0]=l;t[l+(q+16|0)|0]=c;g=(c|0)>1;c=f;if(g){continue}break}}c=0}t[(q+272|0)+c|0]=u;v[(c<<2)+q>>2]=b;t[C|0]=c}b=d;G=G+1|0;if((G|0)>2]){continue}break}}Ma=q+544|0;return}lb(mb(q+16|0,291161,241544,167,328959));L()}function YG(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0,C=0;j=Ma-80|0;Ma=j;x=Pb(8,8);C=8;while(1){a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{d=b;e=w[d|0];switch(e-123|0){case 1:break p;case 2:break A;case 0:break B;default:break z}}d=w[b+1|0];if((d|0)==123){b=b+2|0;e=a;d=v[e>>2];if((d|0)==2147483647){jh(333008);d=v[a>>2]}pg(e,d+1|0);d=v[a>>2];v[a>>2]=d+1;t[d+v[a+4>>2]|0]=123;t[v[a+4>>2]+v[a>>2]|0]=0;continue}if((d-48&255)>>>0>9){break y}e=b+2|0;g=(d<<24>>24)-48|0;d=w[b+2|0];if((d-48&255)>>>0<=9){while(1){g=(B(g,10)+(d&255)|0)-48|0;d=w[e+1|0];e=e+1|0;if((d-48&255)>>>0<10){continue}break}}if((d&255)!=58){break y}q=w[e+1|0];m=(q|0)==45;d=m?e+2|0:e+1|0;k=0;i=0;o=0;r=w[(m?2:1)+e|0];e=r;if((e-48&255)>>>0<=9){while(1){i=(B(i,10)+(e&255)|0)-48|0;e=w[d+1|0];b=d+1|0;d=b;if((e-48&255)>>>0<10){continue}break}o=(i|0)>0?i:0;d=b}C:{if((e&255)!=46){break C}e=w[d+1|0];i=d+1|0;d=i;if((e-48&255)>>>0>9){break C}while(1){k=(B(k,10)+(e&255)|0)-48|0;e=w[i+1|0];d=i+1|0;i=d;if((e-48&255)>>>0<10){continue}break}}p=(q|0)!=45;i=0;e=292113;while(1){b=zb(e);if(Kb(d,e,b)){i=i+1|0;e=v[(i<<2)+880912>>2];if((i|0)!=30){continue}break y}break}d=b+d|0;if(w[d|0]!=125|(g|0)>(y|0)){break y}if((g|0)==(y|0)){if((y|0)==(C|0)){C=C<<1;x=yc(x,C,8)}D:{E:{F:{switch(i|0){case 0:case 1:case 2:case 3:case 29:v[(y<<3)+x>>2]=v[c>>2];break E;case 4:case 5:case 6:case 7:v[(y<<3)+x>>2]=v[c>>2];break E;case 8:case 9:case 10:case 11:v[(y<<3)+x>>2]=v[c>>2];break E;case 12:case 13:case 14:case 15:v[(y<<3)+x>>2]=v[c>>2];break E;case 16:case 17:case 18:case 19:b=c+7&-8;c=v[b+4>>2];e=(y<<3)+x|0;v[e>>2]=v[b>>2];v[e+4>>2]=c;c=b+8|0;break D;case 20:case 21:case 22:case 23:b=c+7&-8;c=v[b+4>>2];e=(y<<3)+x|0;v[e>>2]=v[b>>2];v[e+4>>2]=c;c=b+8|0;break D;case 24:case 25:b=c+7&-8;A[(y<<3)+x>>3]=A[b>>3];c=b+8|0;break D;case 26:t[(y<<3)+x|0]=v[c>>2];break E;case 27:v[(y<<3)+x>>2]=v[c>>2];break E;case 28:break F;default:break D}}v[(y<<3)+x>>2]=v[c>>2]}c=c+4|0}y=y+1|0}b=d+1|0;d=(g<<3)+x|0;g=v[d+4>>2];e=v[d>>2];G:{switch(i|0){case 0:d=e>>31;f=d;p=d>>>31|0;d=65;i=f;f=f>>31;h=f;f=f+e|0;g=h;h=g+i|0;h=f>>>0>>0?h+1|0:h;f=f^g;h=g^h;g=h;H:{if(!(f|g)){t[j+64|0]=48;d=64;break H}while(1){i=y3a(f,g,10,0);h=Pa;m=h;k=x3a(i,h,10,0);d=d-1|0;t[j+d|0]=w[(f-k|0)+881040|0];if(d>>>0<=p>>>0){break H}h=g;g=f+9|0;h=g>>>0<9?h+1|0:h;k=g;f=i;g=m;if(!h&k>>>0>18|h){continue}break}}I:{if((r|0)!=48|(d|0)<=(p|0)){break I}g=65-d|0;f=o-p|0;if((g|0)>=(f|0)){break I}while(1){d=d-1|0;t[j+d|0]=48;if((d|0)<=(p|0)){break I}g=g+1|0;if((f|0)>(g|0)){continue}break}}if((e|0)<=-1){d=d-1|0;t[j+d|0]=45}f=65-d|0;h=d+j|0;if((q|0)==45){break e}break d;case 1:d=e>>31;f=d;k=d>>>31|0;d=65;h=f;f=f>>31;g=f;f=f+e|0;h=g+h|0;h=f>>>0>>0?h+1|0:h;f=f^g;h=g^h;g=h;J:{if(!(f|g)){t[j+64|0]=48;d=64;break J}while(1){i=y3a(f,g,16,0);p=Pa;d=d-1|0;t[j+d|0]=w[(f-(i<<4)|0)+881040|0];if(d>>>0<=k>>>0){break J}h=g;g=f+15|0;h=g>>>0<15?h+1|0:h;m=g;f=i;g=p;if(!h&m>>>0>30|h){continue}break}}K:{if((r|0)!=48|(d|0)<=(k|0)){break K}g=65-d|0;f=o-k|0;if((g|0)>=(f|0)){break K}while(1){d=d-1|0;t[j+d|0]=48;if((d|0)<=(k|0)){break K}g=g+1|0;if((f|0)>(g|0)){continue}break}}if((e|0)<=-1){d=d-1|0;t[j+d|0]=45}f=65-d|0;h=d+j|0;if((q|0)==45){break e}break d;case 2:d=e>>31;f=d;k=d>>>31|0;d=65;i=f;f=f>>31;h=f;f=f+e|0;g=h;h=g+i|0;h=f>>>0>>0?h+1|0:h;f=f^g;h=g^h;g=h;L:{if(!(f|g)){t[j+64|0]=48;d=64;break L}while(1){i=y3a(f,g,8,0);p=Pa;d=d-1|0;t[j+d|0]=w[(f-(i<<3)|0)+881040|0];if(d>>>0<=k>>>0){break L}h=g;g=f+7|0;h=g>>>0<7?h+1|0:h;m=g;f=i;g=p;if(!h&m>>>0>14|h){continue}break}}M:{if((r|0)!=48|(d|0)<=(k|0)){break M}g=65-d|0;f=o-k|0;if((g|0)>=(f|0)){break M}while(1){d=d-1|0;t[j+d|0]=48;if((d|0)<=(k|0)){break M}g=g+1|0;if((f|0)>(g|0)){continue}break}}if((e|0)<=-1){d=d-1|0;t[j+d|0]=45}f=65-d|0;h=d+j|0;if((q|0)==45){break e}break d;case 3:d=e>>31;f=d;k=d>>>31|0;d=65;h=f;f=f>>31;g=f;f=f+e|0;h=g+h|0;h=f>>>0>>0?h+1|0:h;f=f^g;h=g^h;g=h;N:{if(!(f|g)){t[j+64|0]=48;d=64;break N}while(1){i=y3a(f,g,2,0);p=Pa;d=d-1|0;t[j+d|0]=w[(f-(i<<1)|0)+881040|0];if(d>>>0<=k>>>0){break N}h=g;g=f+1|0;h=g>>>0<1?h+1|0:h;m=g;f=i;g=p;if(!h&m>>>0>2|h){continue}break}}O:{if((r|0)!=48|(d|0)<=(k|0)){break O}g=65-d|0;f=o-k|0;if((g|0)>=(f|0)){break O}while(1){d=d-1|0;t[j+d|0]=48;if((d|0)<=(k|0)){break O}g=g+1|0;if((f|0)>(g|0)){continue}break}}if((e|0)<=-1){d=d-1|0;t[j+d|0]=45}f=65-d|0;h=d+j|0;if((q|0)==45){break e}break d;case 4:if(!e){break x}f=e;g=0;e=65;while(1){h=z3a(f,g,10,0);m=Pa;i=m;p=x3a(h,i,10,0);d=e-1|0;t[j+d|0]=w[(f-p|0)+881040|0];if(e>>>0<2){break f}m=!g&f>>>0>9|(g|0)!=0;e=d;f=h;g=i;if(m){continue}break};break f;case 5:if(!e){break w}f=e;g=0;e=65;while(1){d=e-1|0;t[j+d|0]=w[(f&15)+881040|0];if((e|0)<2){break g}i=!g&f>>>0>15|(g|0)!=0;e=d;f=(g&15)<<28|f>>>4;g=g>>>4|0;if(i){continue}break};break g;case 6:if(!e){break v}f=e;g=0;e=65;while(1){d=e-1|0;t[j+d|0]=w[(f&7)+881040|0];if((e|0)<2){break h}i=!g&f>>>0>7|(g|0)!=0;e=d;f=(g&7)<<29|f>>>3;g=g>>>3|0;if(i){continue}break};break h;case 7:if(!e){break u}f=e;g=0;e=65;while(1){d=e-1|0;t[j+d|0]=w[(f&1)+881040|0];if((e|0)<2){break i}i=!g&f>>>0>1|(g|0)!=0;e=d;f=(g&1)<<31|f>>>1;g=g>>>1|0;if(i){continue}break};break i;case 8:d=e>>31;f=d;p=d>>>31|0;d=65;h=f;f=f>>31;g=f;f=f+e|0;h=g+h|0;h=f>>>0>>0?h+1|0:h;f=f^g;h=g^h;g=h;P:{if(!(f|g)){t[j+64|0]=48;d=64;break P}while(1){i=y3a(f,g,10,0);h=Pa;m=h;k=x3a(i,h,10,0);d=d-1|0;t[j+d|0]=w[(f-k|0)+881040|0];if(d>>>0<=p>>>0){break P}h=g;g=f+9|0;h=g>>>0<9?h+1|0:h;k=g;f=i;g=m;if(!h&k>>>0>18|h){continue}break}}Q:{if((r|0)!=48|(d|0)<=(p|0)){break Q}g=65-d|0;f=o-p|0;if((g|0)>=(f|0)){break Q}while(1){d=d-1|0;t[j+d|0]=48;if((d|0)<=(p|0)){break Q}g=g+1|0;if((f|0)>(g|0)){continue}break}}if((e|0)<=-1){d=d-1|0;t[j+d|0]=45}f=65-d|0;h=d+j|0;if((q|0)==45){break e}break d;case 9:d=e>>31;f=d;k=d>>>31|0;d=65;i=f;f=f>>31;h=f;f=f+e|0;g=h+i|0;g=f>>>0>>0?g+1|0:g;f=f^h;h=g^h;g=h;R:{if(!(f|g)){t[j+64|0]=48;d=64;break R}while(1){i=y3a(f,g,16,0);p=Pa;d=d-1|0;t[j+d|0]=w[(f-(i<<4)|0)+881040|0];if(d>>>0<=k>>>0){break R}h=g;g=f+15|0;h=g>>>0<15?h+1|0:h;m=g;f=i;g=p;if(!h&m>>>0>30|h){continue}break}}S:{if((r|0)!=48|(d|0)<=(k|0)){break S}g=65-d|0;f=o-k|0;if((g|0)>=(f|0)){break S}while(1){d=d-1|0;t[j+d|0]=48;if((d|0)<=(k|0)){break S}g=g+1|0;if((f|0)>(g|0)){continue}break}}if((e|0)<=-1){d=d-1|0;t[j+d|0]=45}f=65-d|0;h=d+j|0;if((q|0)==45){break e}break d;case 10:d=e>>31;f=d;k=d>>>31|0;d=65;i=f;f=f>>31;h=f;f=f+e|0;g=h+i|0;g=f>>>0>>0?g+1|0:g;f=f^h;h=g^h;g=h;T:{if(!(f|g)){t[j+64|0]=48;d=64;break T}while(1){i=y3a(f,g,8,0);p=Pa;d=d-1|0;t[j+d|0]=w[(f-(i<<3)|0)+881040|0];if(d>>>0<=k>>>0){break T}h=g;g=f+7|0;h=g>>>0<7?h+1|0:h;m=g;f=i;g=p;if(!h&m>>>0>14|h){continue}break}}U:{if((r|0)!=48|(d|0)<=(k|0)){break U}g=65-d|0;f=o-k|0;if((g|0)>=(f|0)){break U}while(1){d=d-1|0;t[j+d|0]=48;if((d|0)<=(k|0)){break U}g=g+1|0;if((f|0)>(g|0)){continue}break}}if((e|0)<=-1){d=d-1|0;t[j+d|0]=45}f=65-d|0;h=d+j|0;if((q|0)==45){break e}break d;case 11:d=e>>31;f=d;k=d>>>31|0;d=65;i=f;f=f>>31;h=f;f=f+e|0;g=h+i|0;g=f>>>0>>0?g+1|0:g;f=f^h;h=g^h;g=h;V:{if(!(f|g)){t[j+64|0]=48;d=64;break V}while(1){i=y3a(f,g,2,0);p=Pa;d=d-1|0;t[j+d|0]=w[(f-(i<<1)|0)+881040|0];if(d>>>0<=k>>>0){break V}h=g;g=f+1|0;h=g>>>0<1?h+1|0:h;m=g;f=i;g=p;if(!h&m>>>0>2|h){continue}break}}W:{if((r|0)!=48|(d|0)<=(k|0)){break W}g=65-d|0;f=o-k|0;if((g|0)>=(f|0)){break W}while(1){d=d-1|0;t[j+d|0]=48;if((d|0)<=(k|0)){break W}g=g+1|0;if((f|0)>(g|0)){continue}break}}if((e|0)<=-1){d=d-1|0;t[j+d|0]=45}f=65-d|0;h=d+j|0;if((q|0)==45){break e}break d;case 12:if(!e){break t}f=e;g=0;e=65;while(1){h=z3a(f,g,10,0);m=Pa;i=m;p=x3a(h,i,10,0);d=e-1|0;t[j+d|0]=w[(f-p|0)+881040|0];if(e>>>0<2){break j}m=!g&f>>>0>9|(g|0)!=0;e=d;f=h;g=i;if(m){continue}break};break j;case 13:if(!e){break s}f=e;g=0;e=65;while(1){d=e-1|0;t[j+d|0]=w[(f&15)+881040|0];if((e|0)<2){break k}i=!g&f>>>0>15|(g|0)!=0;e=d;f=(g&15)<<28|f>>>4;g=g>>>4|0;if(i){continue}break};break k;case 14:if(!e){break r}f=e;g=0;e=65;while(1){d=e-1|0;t[j+d|0]=w[(f&7)+881040|0];if((e|0)<2){break l}i=!g&f>>>0>7|(g|0)!=0;e=d;f=(g&7)<<29|f>>>3;g=g>>>3|0;if(i){continue}break};break l;case 15:if(!e){break q}f=e;g=0;e=65;while(1){d=e-1|0;t[j+d|0]=w[(f&1)+881040|0];if((e|0)<2){break m}i=!g&f>>>0>1|(g|0)!=0;e=d;f=(g&1)<<31|f>>>1;g=g>>>1|0;if(i){continue}break};break m;case 16:p=g>>>31|0;d=65;i=g;m=e;e=g;f=e>>31;h=f;f=m+f|0;e=h;h=g+e|0;h=f>>>0>>0?h+1|0:h;f=f^e;e=e^h;g=e;X:{if(!(e|f)){t[j+64|0]=48;d=64;break X}while(1){e=y3a(f,g,10,0);h=Pa;m=h;k=x3a(e,h,10,0);d=d-1|0;t[j+d|0]=w[(f-k|0)+881040|0];if(d>>>0<=p>>>0){break X}h=g;g=f+9|0;h=g>>>0<9?h+1|0:h;k=g;f=e;g=m;if(!h&k>>>0>18|h){continue}break}}Y:{if((r|0)!=48|(d|0)<=(p|0)){break Y}e=65-d|0;g=o-p|0;if((e|0)>=(g|0)){break Y}while(1){d=d-1|0;t[j+d|0]=48;if((d|0)<=(p|0)){break Y}e=e+1|0;if((g|0)>(e|0)){continue}break}}if((i|0)<-1|(i|0)<=-1){d=d-1|0;t[j+d|0]=45}f=65-d|0;h=d+j|0;if((q|0)==45){break e}break d;case 17:k=g>>>31|0;d=65;h=g;f=e;i=g;e=g>>31;f=e+f|0;h=e+h|0;h=f>>>0>>0?h+1|0:h;f=f^e;e=e^h;g=e;Z:{if(!(e|f)){t[j+64|0]=48;d=64;break Z}while(1){e=y3a(f,g,16,0);p=Pa;d=d-1|0;t[j+d|0]=w[(f-(e<<4)|0)+881040|0];if(d>>>0<=k>>>0){break Z}h=g;g=f+15|0;h=g>>>0<15?h+1|0:h;m=g;f=e;g=p;if(!h&m>>>0>30|h){continue}break}}_:{if((r|0)!=48|(d|0)<=(k|0)){break _}e=65-d|0;g=o-k|0;if((e|0)>=(g|0)){break _}while(1){d=d-1|0;t[j+d|0]=48;if((d|0)<=(k|0)){break _}e=e+1|0;if((g|0)>(e|0)){continue}break}}if((i|0)<-1|(i|0)<=-1){d=d-1|0;t[j+d|0]=45}f=65-d|0;h=d+j|0;if((q|0)==45){break e}break d;case 18:k=g>>>31|0;d=65;i=g;m=e;e=g;f=e>>31;h=f;f=m+f|0;e=h;h=g+e|0;h=f>>>0>>0?h+1|0:h;f=f^e;e=e^h;g=e;$:{if(!(e|f)){t[j+64|0]=48;d=64;break $}while(1){e=y3a(f,g,8,0);p=Pa;d=d-1|0;t[j+d|0]=w[(f-(e<<3)|0)+881040|0];if(d>>>0<=k>>>0){break $}h=g;g=f+7|0;h=g>>>0<7?h+1|0:h;m=g;f=e;g=p;if(!h&m>>>0>14|h){continue}break}}aa:{if((r|0)!=48|(d|0)<=(k|0)){break aa}e=65-d|0;g=o-k|0;if((e|0)>=(g|0)){break aa}while(1){d=d-1|0;t[j+d|0]=48;if((d|0)<=(k|0)){break aa}e=e+1|0;if((g|0)>(e|0)){continue}break}}if((i|0)<-1|(i|0)<=-1){d=d-1|0;t[j+d|0]=45}f=65-d|0;h=d+j|0;if((q|0)==45){break e}break d;case 19:k=g>>>31|0;d=65;i=g;m=e;e=g;f=e>>31;h=f;f=m+f|0;e=h;h=g+e|0;h=f>>>0>>0?h+1|0:h;f=f^e;e=e^h;g=e;ba:{if(!(e|f)){t[j+64|0]=48;d=64;break ba}while(1){e=y3a(f,g,2,0);p=Pa;d=d-1|0;t[j+d|0]=w[(f-(e<<1)|0)+881040|0];if(d>>>0<=k>>>0){break ba}h=g;g=f+1|0;h=g>>>0<1?h+1|0:h;m=g;f=e;g=p;if(!h&m>>>0>2|h){continue}break}}ca:{if((r|0)!=48|(d|0)<=(k|0)){break ca}e=65-d|0;g=o-k|0;if((e|0)>=(g|0)){break ca}while(1){d=d-1|0;t[j+d|0]=48;if((d|0)<=(k|0)){break ca}e=e+1|0;if((g|0)>(e|0)){continue}break}}if((i|0)<-1|(i|0)<=-1){d=d-1|0;t[j+d|0]=45}f=65-d|0;h=d+j|0;if((q|0)==45){break e}break d;case 20:i=65;f=e;da:{if(!(g|e)){t[j+64|0]=48;d=64;break da}while(1){e=z3a(f,g,10,0);m=Pa;h=m;p=x3a(e,h,10,0);d=i-1|0;t[j+d|0]=w[(f-p|0)+881040|0];if(i>>>0<2){break da}m=!g&f>>>0>9|(g|0)!=0;i=d;f=e;g=h;if(m){continue}break}}ea:{if((r|0)!=48){e=d;break ea}if((d|0)<1){e=d;break ea}e=d;i=65-d|0;if((o|0)<=(i|0)){break ea}while(1){e=d-1|0;t[j+e|0]=48;if((d|0)<2){break ea}d=e;i=i+1|0;if(o>>>0>i>>>0){continue}break}}f=65-e|0;h=e+j|0;if((q|0)==45){break e}break d;case 21:i=65;f=e;fa:{if(!(g|e)){t[j+64|0]=48;d=64;break fa}while(1){d=i-1|0;t[j+d|0]=w[(f&15)+881040|0];if((i|0)<2){break fa}e=!g&f>>>0>15|(g|0)!=0;i=d;f=(g&15)<<28|f>>>4;g=g>>>4|0;if(e){continue}break}}ga:{if((r|0)!=48){e=d;break ga}if((d|0)<1){e=d;break ga}e=d;i=65-d|0;if((o|0)<=(i|0)){break ga}while(1){e=d-1|0;t[j+e|0]=48;if((d|0)<2){break ga}d=e;i=i+1|0;if((o|0)>(i|0)){continue}break}}f=65-e|0;h=e+j|0;if((q|0)==45){break e}break d;case 22:i=65;f=e;ha:{if(!(g|e)){t[j+64|0]=48;d=64;break ha}while(1){d=i-1|0;t[j+d|0]=w[(f&7)+881040|0];if((i|0)<2){break ha}e=!g&f>>>0>7|(g|0)!=0;i=d;f=(g&7)<<29|f>>>3;g=g>>>3|0;if(e){continue}break}}ia:{if((r|0)!=48){e=d;break ia}if((d|0)<1){e=d;break ia}e=d;i=65-d|0;if((o|0)<=(i|0)){break ia}while(1){e=d-1|0;t[j+e|0]=48;if((d|0)<2){break ia}d=e;i=i+1|0;if((o|0)>(i|0)){continue}break}}f=65-e|0;h=e+j|0;if((q|0)==45){break e}break d;case 23:i=65;f=e;ja:{if(!(g|e)){t[j+64|0]=48;d=64;break ja}while(1){d=i-1|0;t[j+d|0]=w[(f&1)+881040|0];if((i|0)<2){break ja}h=!g&f>>>0>1|(g|0)!=0;i=d;e=g;g=e>>>1|0;f=(e&1)<<31|f>>>1;if(h){continue}break}}ka:{if((r|0)!=48){e=d;break ka}if((d|0)<1){e=d;break ka}e=d;i=65-d|0;if((o|0)<=(i|0)){break ka}while(1){e=d-1|0;t[j+e|0]=48;if((d|0)<2){break ka}d=e;i=i+1|0;if((o|0)>(i|0)){continue}break}}f=65-e|0;h=e+j|0;if((q|0)==45){break e}break d;case 24:i=65;f=0;u=pd(10,+(k|0));l(0,e|0);l(1,g|0);z=+n();s=H(u*(z<0?-z:z)+.5);u=s;la:{if((k|0)>=1){while(1){e=i;i=e-1|0;d=i+j|0;u=H((s+.5)*.1);s=H(s+u*-10+.5);ma:{if(D(s)<2147483648){g=~~s;break ma}g=-2147483648}t[d|0]=g+48;d=1;f=f+1|0;if((k|0)>(f|0)){s=u;if((e|0)>2){continue}}break}if((e|0)<3){break la}}d=i-1|0;t[j+d|0]=46}e=d;na:{if((d|0)<2){break na}while(1){e=d-1|0;f=j+e|0;s=u;u=H((u+.5)*.1);s=H(s+u*-10+.5);oa:{if(D(s)<2147483648){g=~~s;break oa}g=-2147483648}t[f|0]=g+48;if((d|0)<3){break na}d=e;if(u!=0){continue}break}}if(z<0){e=e-1|0;t[j+e|0]=45}f=65-e|0;h=e+j|0;if((q|0)==45){break e}break d;case 25:d=65;i=0;f=0;u=pd(10,+(k|0));l(0,e|0);l(1,g|0);z=+n();s=H(u*(z<0?-z:z)+.5);u=s;pa:{if((k|0)>=1){while(1){u=H((s+.5)*.1);s=H(s+u*-10+.5);qa:{if(D(s)<2147483648){e=~~s;break qa}e=-2147483648}g=e|f;if(g){d=d-1|0;t[j+d|0]=e+48;f=1}else{f=0}i=i+1|0;if((k|0)>(i|0)){s=u;if((d|0)>1){continue}}break}if((g|0)!=0&(d|0)>1){d=d-1|0;t[j+d|0]=46}if((d|0)<2){break pa}}e=d;while(1){d=e-1|0;f=j+d|0;s=u;u=H((u+.5)*.1);s=H(s+u*-10+.5);ra:{if(D(s)<2147483648){g=~~s;break ra}g=-2147483648}t[f|0]=g+48;if((e|0)<3){break pa}e=d;if(u!=0){continue}break}}if(z<0){d=d-1|0;t[j+d|0]=45}f=65-d|0;h=d+j|0;if((q|0)==45){break e}break d;case 26:t[j|0]=e;f=1;h=j;if((q|0)==45){break d}break c;case 27:if(!e){break o}f=zb(e);if((q|0)!=45){h=e;break e}h=e;break d;case 28:if(!e){break o}f=v[e>>2];h=v[e+4>>2];if((q|0)!=45){break e}break d;case 29:break G;default:break n}}f=0;h=j;o=e;if((q|0)==45){break c}break d}b=w[b+1|0]==125?b+2|0:b+1|0;e=a;d=v[e>>2];if((d|0)==2147483647){jh(333008);d=v[a>>2]}pg(e,d+1|0);d=v[a>>2];v[a>>2]=d+1;t[d+v[a+4>>2]|0]=125;t[v[a+4>>2]+v[a>>2]|0]=0;continue}if(e){break p}}tb(x);Ma=j+80|0;return a}t[j+64|0]=48;d=64;break f}t[j+64|0]=48;d=64;break g}t[j+64|0]=48;d=64;break h}t[j+64|0]=48;d=64;break i}t[j+64|0]=48;d=64;break j}t[j+64|0]=48;d=64;break k}t[j+64|0]=48;d=64;break l}t[j+64|0]=48;d=64;break m}while(1){sa:{e=w[d+1|0];g=d+1|0;d=g;ta:{switch(e-123|0){case 1:continue;case 0:case 2:break sa;default:break ta}}d=g;if(e){continue}}break}d=g-b|0;ua:{if((d|0)>=0){e=v[a>>2];if((e|0)<=(2147483647-d|0)){break ua}}jh(333008);e=v[a>>2]}pg(a,d+e|0);cb(v[a+4>>2]+v[a>>2]|0,b,d);d=d+v[a>>2]|0;v[a>>2]=d;b=g;t[d+v[a+4>>2]|0]=0;continue}h=330429;f=6;m=p}if(m){break e}break d}va:{if((r|0)!=48){e=d;break va}if((d|0)<1){e=d;break va}e=d;i=65-d|0;if((o|0)<=(i|0)){break va}while(1){e=d-1|0;t[j+e|0]=48;if((d|0)<2){break va}d=e;i=i+1|0;if((o|0)>(i|0)){continue}break}}f=65-e|0;h=e+j|0;if((q|0)==45){break e}break d}wa:{if((r|0)!=48){e=d;break wa}if((d|0)<1){e=d;break wa}e=d;i=65-d|0;if((o|0)<=(i|0)){break wa}while(1){e=d-1|0;t[j+e|0]=48;if((d|0)<2){break wa}d=e;i=i+1|0;if((o|0)>(i|0)){continue}break}}f=65-e|0;h=e+j|0;if((q|0)==45){break e}break d}xa:{if((r|0)!=48){e=d;break xa}if((d|0)<1){e=d;break xa}e=d;i=65-d|0;if((o|0)<=(i|0)){break xa}while(1){e=d-1|0;t[j+e|0]=48;if((d|0)<2){break xa}d=e;i=i+1|0;if((o|0)>(i|0)){continue}break}}f=65-e|0;h=e+j|0;if((q|0)==45){break e}break d}ya:{if((r|0)!=48){e=d;break ya}if((d|0)<1){e=d;break ya}e=d;i=65-d|0;if((o|0)<=(i|0)){break ya}while(1){e=d-1|0;t[j+e|0]=48;if((d|0)<2){break ya}d=e;i=i+1|0;if(o>>>0>i>>>0){continue}break}}f=65-e|0;h=e+j|0;if((q|0)==45){break e}break d}za:{if((r|0)!=48){e=d;break za}if((d|0)<1){e=d;break za}e=d;i=65-d|0;if((o|0)<=(i|0)){break za}while(1){e=d-1|0;t[j+e|0]=48;if((d|0)<2){break za}d=e;i=i+1|0;if((o|0)>(i|0)){continue}break}}f=65-e|0;h=e+j|0;if((q|0)==45){break e}break d}Aa:{if((r|0)!=48){e=d;break Aa}if((d|0)<1){e=d;break Aa}e=d;i=65-d|0;if((o|0)<=(i|0)){break Aa}while(1){e=d-1|0;t[j+e|0]=48;if((d|0)<2){break Aa}d=e;i=i+1|0;if((o|0)>(i|0)){continue}break}}f=65-e|0;h=e+j|0;if((q|0)==45){break e}break d}Ba:{if((r|0)!=48){e=d;break Ba}if((d|0)<1){e=d;break Ba}e=d;i=65-d|0;if((o|0)<=(i|0)){break Ba}while(1){e=d-1|0;t[j+e|0]=48;if((d|0)<2){break Ba}d=e;i=i+1|0;if((o|0)>(i|0)){continue}break}}f=65-e|0;h=e+j|0;if((q|0)==45){break e}break d}Ca:{if((r|0)!=48){e=d;break Ca}if((d|0)<1){e=d;break Ca}e=d;i=65-d|0;if((o|0)<=(i|0)){break Ca}while(1){e=d-1|0;t[j+e|0]=48;if((d|0)<2){break Ca}d=e;i=i+1|0;if(o>>>0>i>>>0){continue}break}}f=65-e|0;h=e+j|0;if((q|0)!=45){break d}}if((f|0)>=0){break c}break b}e=f;if((o|0)>(e|0)){while(1){g=a;d=v[g>>2];if((d|0)==2147483647){jh(333008);d=v[a>>2]}pg(g,d+1|0);d=v[a>>2];v[a>>2]=d+1;t[d+v[a+4>>2]|0]=32;t[v[a+4>>2]+v[a>>2]|0]=0;e=e+1|0;if((o|0)!=(e|0)){continue}break}}Da:{if((f|0)>=0){d=v[a>>2];if((d|0)<=(2147483647-f|0)){break Da}}jh(333008);d=v[a>>2]}pg(a,d+f|0);cb(v[a+4>>2]+v[a>>2]|0,h,f);d=v[a>>2]+f|0;v[a>>2]=d;t[d+v[a+4>>2]|0]=0;continue}d=v[a>>2];if((d|0)<=(2147483647-f|0)){break a}}jh(333008);d=v[a>>2]}pg(a,d+f|0);cb(v[a+4>>2]+v[a>>2]|0,h,f);d=v[a>>2]+f|0;v[a>>2]=d;t[d+v[a+4>>2]|0]=0;e=f;if((o|0)<=(e|0)){continue}while(1){g=a;d=v[g>>2];if((d|0)==2147483647){jh(333008);d=v[a>>2]}pg(g,d+1|0);d=v[a>>2];v[a>>2]=d+1;t[d+v[a+4>>2]|0]=32;t[v[a+4>>2]+v[a>>2]|0]=0;e=e+1|0;if((o|0)!=(e|0)){continue}break}continue}}function rHa(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,n=0,o=0,p=0,q=0,r=0,s=0,z=0,A=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;z=Ma-16|0;Ma=z;f=11;r=v[v[b+96>>2]+4>>2];C=zm(r,228483);a:{if(!C){break a}G=fk(v[b+96>>2],235125,1);I=zm(r,239159);m=zm(r,220369);if(!m){break a}v[b+556>>2]=m;L=fk(v[b+96>>2],291689,1);f=Mb(a,0);if(f){break a}M=Qa[v[C+4>>2]](a,b,c,d,e)|0;b:{if(!M){f=2;if(v[b+148>>2]!=1330926671){break a}f=0;if((c|0)<0){break a}c:{if(!(Qa[v[b+516>>2]](b,1751474532,a,0)|0)){f=Qa[v[C+8>>2]](a,b,c,d,e)|0;if(!f){break c}break a}f=Qa[v[C+32>>2]](b,a)|0;if(f){break a}o=1}f=Qa[v[b+516>>2]](b,1128678962,a,0)|0;v[z+12>>2]=f;if(!f){d=1;t[b+732|0]=1;break b}if((f&255)!=142){break a}d=0;f=Qa[v[b+516>>2]](b,1128678944,a,0)|0;v[z+12>>2]=f;if(!f){break b}break a}d=0;f=Mb(a,0);if(f){break a}v[z+12>>2]=0;o=1}K=v[b+100>>2];j=cc(K,3136,z+12|0);f=v[z+12>>2];if(f){break a}v[b+712>>2]=j;C=c;m=b;J=o;e=0;f=0;g=Ma-80|0;Ma=g;b=a;p=v[a+28>>2];h=eb(j,0,3136);v[g+72>>2]=0;c=g- -64|0;v[c>>2]=0;v[c+4>>2]=0;v[g+56>>2]=0;v[g+60>>2]=0;v[g+48>>2]=0;v[g+52>>2]=0;v[g+40>>2]=0;v[g+44>>2]=0;o=v[a+8>>2];H=d;t[h+32|0]=d;v[h+8>>2]=p;v[h+4>>2]=a;v[h>>2]=r;v[h+12>>2]=o;a=Dd(a,446768,h);v[g+76>>2]=a;d:{if(a){break d}e:{if(H){if(!(w[h+24|0]==2&w[h+26|0]>4)){v[g+76>>2]=2;break d}N=h,O=Ac(b,g+76|0),v[N+28>>2]=O;if(v[g+76>>2]){break d}d=w[h+26|0];break e}a=Gf(b,g+76|0);if(v[g+76>>2]){break d}f:{if(w[h+24|0]!=1){break f}d=w[h+26|0];if(d>>>0<4){break f}if((a&255)>>>0<5){break e}}v[g+76>>2]=2;break d}a=Mb(b,o+(d&255)|0);v[g+76>>2]=a;if(a){if(!J){break d}v[g+76>>2]=2;break d}g:{if(H){v[h+1240>>2]=0;v[h+1244>>2]=0;v[h+1272>>2]=0;c=h+1264|0;v[c>>2]=0;v[c+4>>2]=0;a=h+1256|0;v[a>>2]=0;v[a+4>>2]=0;a=h+1248|0;v[a>>2]=0;v[a+4>>2]=0;v[h+1260>>2]=v[b+8>>2];a=v[h+28>>2];v[c>>2]=a;a=re(b,a);v[g+76>>2]=a;if(a){break d}a=Ro(h+108|0,b,1,H);v[g+76>>2]=a;if(a){break d}break g}a=Ro(h+36|0,b,0,0);v[g+76>>2]=a;if(a){if(!J){break d}v[g+76>>2]=2;break d}a=v[h+48>>2];if(!(a>>>0<2|a>>>0<=y[h+60>>2])){v[g+76>>2]=J?2:3;break d}a=Ro(h+1240|0,b,0,0);v[g+76>>2]=a;if(a){break d}a=Ro(g+40|0,b,1,0);v[g+76>>2]=a;if(a){break d}a=Ro(h+108|0,b,1,0);v[g+76>>2]=a;if(a){break d}a=ZI(g+40|0,h+1360|0,h+1364|0,h+1368|0);v[g+76>>2]=a;if(a){break d}if(y[h+48>>2]<=y[h+1252>>2]){break g}v[g+76>>2]=3;break d}v[h+1356>>2]=v[g+52>>2];h:{i:{if(J){D=C&65535;a=v[h+48>>2];if((C|0)<1|D>>>0>>0){break i}v[g+76>>2]=6;break d}if(y[h+48>>2]<2){break h}v[g+76>>2]=3;break d}v[h+16>>2]=a}if((C|0)<0){break d}a=K_(h+1372|0,h+1240|0,D,b,o,H?12288:4096,h,m);v[g+76>>2]=a;if(a){break d}a=Mb(b,o+v[h+1484>>2]|0);v[g+76>>2]=a;if(a){break d}a=Ro(h+1204|0,b,0,H);v[g+76>>2]=a;if(a){break d}j:{if(!(H?0:v[h+1504>>2]==65535)){n=h+3112|0;i=Ma-16|0;Ma=i;k=v[b+28>>2];k:{l:{a=v[h+1552>>2];if(!a){break l}a=Mb(b,a+o|0);v[i+12>>2]=a;if(a){break k}a=re(b,2);v[i+12>>2]=a;if(a){break k}r=v[b+8>>2];a=Ac(b,i+12|0);if(v[i+12>>2]){break k}if((a|0)!=1){v[i+12>>2]=3;break k}c=Id(b,i+12|0);if(v[i+12>>2]){break k}a=Ac(b,i+12|0);v[n>>2]=a;if(v[i+12>>2]){break k}e=yb(k,4,0,a,0,i+12|0);if(v[i+12>>2]){break k}if(v[n>>2]){while(1){N=(f<<2)+e|0,O=Id(b,i+12|0),v[N>>2]=O;if(v[i+12>>2]){break k}f=f+1|0;if(f>>>0>2]){continue}break}}a=Mb(b,c+r|0);v[i+12>>2]=a;if(a){break k}N=n,O=Ac(b,i+12|0),u[N+8>>1]=O;if(v[i+12>>2]){break k}a=Ac(b,i+12|0);v[n+12>>2]=a;if(v[i+12>>2]){break k}E=yb(k,4,0,a,0,i+12|0);v[n+16>>2]=E;if(v[i+12>>2]){break k}m:{if(!v[n+12>>2]){break m}d=yb(k,12,0,x[n+8>>1],0,i+12|0);v[E>>2]=d;if(v[i+12>>2]){break k}while(1){n:{if(!x[n+8>>1]){d=0;break n}l=Ac(b,i+12|0);if(v[i+12>>2]){break k}f=0;while(1){c=Ac(b,i+12|0);if(v[i+12>>2]){break k}a=Ac(b,i+12|0);if(v[i+12>>2]){break k}d=B(f,12)+d|0;v[d+8>>2]=a<<16>>16<<2;v[d+4>>2]=c<<16>>16<<2;v[d>>2]=l<<16>>16<<2;d=x[n+8>>1];f=f+1|0;if(d>>>0<=f>>>0){break n}d=v[E>>2];l=Ac(b,i+12|0);if(!v[i+12>>2]){continue}break}break k}F=F+1|0;if(F>>>0>=y[n+12>>2]){break m}E=v[n+16>>2]+(F<<2)|0;d=yb(k,12,0,d,0,i+12|0);v[E>>2]=d;if(!v[i+12>>2]){continue}break}break k}f=yb(k,8,0,v[n>>2],0,i+12|0);v[n+4>>2]=f;if(v[i+12>>2]){break k}if(!v[n>>2]){break l}a=Mb(b,r+v[e>>2]|0);v[i+12>>2]=a;if(a){break k}d=0;while(1){a=re(b,4);v[i+12>>2]=a;if(a){break k}c=(d<<3)+f|0;a=Ac(b,i+12|0);v[c>>2]=a;if(v[i+12>>2]){break k}N=c,O=yb(k,4,0,a,0,i+12|0),v[N+4>>2]=O;if(v[i+12>>2]){break k}if(v[c>>2]){f=0;while(1){a=Ac(b,i+12|0);v[v[c+4>>2]+(f<<2)>>2]=a;if(v[i+12>>2]){break k}f=f+1|0;if(f>>>0>2]){continue}break}}d=d+1|0;if(d>>>0>=y[n>>2]){break l}f=v[n+4>>2];a=Mb(b,r+v[(d<<2)+e>>2]|0);v[i+12>>2]=a;if(!a){continue}break}break k}v[i+12>>2]=0}if(e){Qa[v[k+8>>2]](k,e)}if(v[i+12>>2]){J_(n,k);a=v[i+12>>2]}else{a=0}Ma=i+16|0;v[g+76>>2]=a;if(a){break d}a=Mb(b,o+v[h+1536>>2]|0);v[g+76>>2]=a;if(a){break d}a=Ro(g,b,0,H);v[g+76>>2]=a;if(a){break d}a=v[g+12>>2];o:{if(a>>>0>256){break o}v[h+2024>>2]=a;d=0;r=yb(p,652,0,a,0,g+76|0);if(v[g+76>>2]){break o}p=v[g+12>>2];p:{if(!p){break p}l=p&3;c=0;if(p-1>>>0>=3){d=p&-4;e=h+2028|0;while(1){v[e+(c<<2)>>2]=r+B(c,652);a=c|1;v[e+(a<<2)>>2]=r+B(a,652);a=c|2;v[e+(a<<2)>>2]=r+B(a,652);a=c|3;v[e+(a<<2)>>2]=r+B(a,652);c=c+4|0;d=d-4|0;if(d){continue}break}}if(l){while(1){v[(h+(c<<2)|0)+2028>>2]=r+B(c,652);c=c+1|0;l=l-1|0;if(l){continue}break}}d=0;if(!p){break p}c=H?16384:4096;while(1){a=K_(v[(h+(d<<2)|0)+2028>>2],g,d,b,o,c,h,m);v[g+76>>2]=a;if(a){break o}d=d+1|0;a=v[g+12>>2];if(d>>>0>>0){continue}break}d=a>>>0>1}if(d?0:H){break o}c=h+3052|0;d=v[h+1216>>2];e=Ma-16|0;Ma=e;l=Mb(b,o+v[h+1540>>2]|0);v[e+12>>2]=l;q:{if(l){break q}a=Gf(b,e+12|0);l=v[e+12>>2];if(l){break q}v[c+20>>2]=0;t[c|0]=a;l=3;r:{switch(a&255){case 3:a=Ac(b,e+12|0);l=v[e+12>>2];if(l){break q}l=3;if(!a){break q}d=B(a,3)+2|0;break;case 0:break r;default:break q}}v[c+12>>2]=d;l=Zh(b,d,c+8|0)}Ma=e+16|0;v[g+76>>2]=l}a=v[g>>2];if(a){d=g+32|0;c=v[a+28>>2];if(v[g+32>>2]){Oe(a,d)}a=v[g+28>>2];if(a){Qa[v[c+8>>2]](c,a)}v[d>>2]=0;v[g+24>>2]=0;v[g+28>>2]=0;v[g+16>>2]=0;v[g+20>>2]=0;v[g+8>>2]=0;v[g+12>>2]=0;v[g>>2]=0;v[g+4>>2]=0}if(!v[g+76>>2]){break j}break d}v[h+2024>>2]=0}if(!v[h+1484>>2]){v[g+76>>2]=3;break d}v[h+20>>2]=v[h+1216>>2];a=ZI(h+108|0,h+1352|0,0,0);v[g+76>>2]=a;if(a){break d}s:{if(H){break s}l=v[h+20>>2];if(!l){break s}r=h+1180|0;k=r;a=v[h+1476>>2];i=v[h+1504>>2]!=65535&(J|0)!=0;q=Ma-16|0;Ma=q;p=v[b+28>>2];v[q+8>>2]=0;t:{u:{v:{w:{if(a>>>0>=3){a=a+o|0;v[k+4>>2]=a;a=Mb(b,a);v[q+8>>2]=a;if(a){break u}N=k,O=Gf(b,q+8|0)&255,v[N>>2]=O;if(v[q+8>>2]){break u}a=yb(p,2,0,l,0,q+8|0);v[k+8>>2]=a;if(v[q+8>>2]){break u}u[a>>1]=0;x:{switch(v[k>>2]){case 0:a=1;c=Ed(b,(l<<1)-2|0);v[q+8>>2]=c;if(c){break u}if(l>>>0>=2){while(1){c=ae(b);u[v[k+8>>2]+(a<<1)>>1]=c;a=a+1|0;if((l|0)!=(a|0)){continue}break}}dd(b);break w;case 1:case 2:a=1;if(l>>>0<=1){break w}while(1){e=Ac(b,q+8|0);if(v[q+8>>2]){break u}y:{if(v[k>>2]==2){F=Ac(b,q+8|0);if(!v[q+8>>2]){break y}break u}c=Gf(b,q+8|0);if(v[q+8>>2]){break u}F=c&255}z:{if(a>>>0>=l>>>0){break z}n=(F^65535)>>>0>>0?e^65535:F;d=v[k+8>>2];F=0;while(1){u[d+(a<<1)>>1]=e;a=a+1|0;if(l>>>0<=a>>>0){break z}e=e+1|0;c=n>>>0>F>>>0;F=F+1|0;if(c){continue}break}}if(a>>>0>>0){continue}break};break w;default:break x}}v[q+8>>2]=3;break u}v[k+4>>2]=a;A:{switch(a|0){case 0:if(l>>>0>=230){v[q+8>>2]=3;break u}a=yb(p,2,0,l,0,q+8|0);v[k+8>>2]=a;if(v[q+8>>2]){break u}cb(a,446800,l<<1);break w;case 1:if(l>>>0>=167){v[q+8>>2]=3;break u}a=yb(p,2,0,l,0,q+8|0);v[k+8>>2]=a;if(v[q+8>>2]){break u}cb(a,447264,l<<1);break w;case 2:break A;default:break v}}if(l>>>0>=88){v[q+8>>2]=3;break u}a=yb(p,2,0,l,0,q+8|0);v[k+8>>2]=a;if(v[q+8>>2]){break u}cb(a,447600,l<<1)}B:{if(!i){a=v[q+8>>2];break B}a=0;v[q+12>>2]=0;C:{if(v[k+16>>2]){break C}E=0;c=k;d=p;if(l){F=l&3;s=v[k+8>>2];D:{if(l-1>>>0<3){e=0;break D}E=l&-4;e=0;while(1){n=e<<1;A=x[s+(n|6)>>1];f=x[s+(n|4)>>1];i=x[s+(n|2)>>1];n=x[n+s>>1];a=n>>>0>(a&65535)>>>0?n:a;a=(a&65535)>>>0>>0?i:a;a=f>>>0>(a&65535)>>>0?f:a;a=A>>>0>(a&65535)>>>0?A:a;e=e+4|0;E=E-4|0;if(E){continue}break}}if(F){while(1){n=x[s+(e<<1)>>1];a=n>>>0>(a&65535)>>>0?n:a;e=e+1|0;F=F-1|0;if(F){continue}break}}E=a&65535}i=yb(d,2,0,E+1|0,0,q+12|0);v[c+12>>2]=i;a=v[q+12>>2];if(a){break C}E:{if((l|0)<1){break E}n=v[k+8>>2];a=l;e=a&3;if(e){while(1){a=a-1|0;u[i+(x[n+(a<<1)>>1]<<1)>>1]=a;e=e-1|0;if(e){continue}break}}if(l-1>>>0<3){break E}while(1){c=a-1|0;u[i+(x[n+(c<<1)>>1]<<1)>>1]=c;c=a-2|0;u[i+(x[n+(c<<1)>>1]<<1)>>1]=c;c=a-3|0;u[i+(x[n+(c<<1)>>1]<<1)>>1]=c;c=a-4|0;u[i+(x[n+(c<<1)>>1]<<1)>>1]=c;d=(a|0)>4;a=c;if(d){continue}break}}v[k+20>>2]=l;v[k+16>>2]=E;a=0}v[q+8>>2]=a}if(a){break u}a=0;break t}v[q+8>>2]=3}a=v[k+8>>2];if(a){Qa[v[p+8>>2]](p,a)}v[k+8>>2]=0;a=v[k+12>>2];if(a){Qa[v[p+8>>2]](p,a)}v[k+8>>2]=0;v[k+12>>2]=0;v[k>>2]=0;v[k+4>>2]=0;a=v[q+8>>2]}Ma=q+16|0;v[g+76>>2]=a;if(a){break d}if(v[h+1504>>2]!=65535){break s}A=h+144|0;p=v[h+20>>2];e=b;c=v[h+1480>>2];E=0;s=Ma-16|0;Ma=s;v[s+8>>2]=0;b=3;F:{if(!v[r+8>>2]){break F}a=eb(A+12|0,0,1024);G:{if(c>>>0>=2){a=c+o|0;v[A+4>>2]=a;b=Mb(e,a);v[s+8>>2]=b;if(b){break F}N=A,O=Gf(e,s+8|0)&255,v[N>>2]=O;b=v[s+8>>2];if(b){break F}c=Gf(e,s+8|0);b=v[s+8>>2];if(b){break F}n=c&255;b=3;H:{I:{switch(v[A>>2]&127){case 0:v[A+8>>2]=n+1;b=Ed(e,n);v[s+8>>2]=b;if(b){break F}J:{if(!c){break J}b=1;a=v[e+32>>2];if((c|0)!=1){c=n&254;while(1){if(b>>>0

>>0){d=A+(w[a|0]<<1)|0;u[d+524>>1]=b;u[d+12>>1]=x[v[r+8>>2]+(b<<1)>>1]}o=b+1|0;if(o>>>0

>>0){d=A+(w[a+1|0]<<1)|0;u[d+524>>1]=o;u[d+12>>1]=x[v[r+8>>2]+(o<<1)>>1]}a=a+2|0;b=b+2|0;c=c-2|0;if(c){continue}break}}if(!(n&1)|b>>>0>=p>>>0){break J}a=A+(w[a|0]<<1)|0;u[a+524>>1]=b;u[a+12>>1]=x[v[r+8>>2]+(b<<1)>>1]}dd(e);break H;case 1:break I;default:break F}}v[A+8>>2]=0;if(!c){break H}c=1;while(1){a=c;o=Gf(e,s+8|0);b=v[s+8>>2];if(b){break F}l=Gf(e,s+8|0);b=v[s+8>>2];if(b){break F}k=l&255;b=k+1|0;d=v[A+8>>2];if(k>>>0>=d>>>0){v[A+8>>2]=b;d=b}c=a+b|0;K:{if(c>>>0<=a>>>0){break K}b=o&255;if(!(k&1)){if(a>>>0

>>0){o=A+(b<<1)|0;u[o+524>>1]=a;u[o+12>>1]=x[v[r+8>>2]+(a<<1)>>1]}b=b+1|0;a=a+1|0}if(!l){break K}while(1){if(!(b>>>0>255|a>>>0>=p>>>0)){o=A+(b<<1)|0;u[o+524>>1]=a;u[o+12>>1]=x[v[r+8>>2]+(a<<1)>>1]}k=a+1|0;L:{if(k>>>0>=p>>>0){break L}o=b+1|0;if(o>>>0>=256){break L}o=A+(o<<1)|0;u[o+524>>1]=k;u[o+12>>1]=x[v[r+8>>2]+(k<<1)>>1]}b=b+2|0;a=a+2|0;if((c|0)!=(a|0)){continue}break}}E=E+1|0;if((n|0)!=(E|0)){continue}break}if(d>>>0<257){break H}v[A+8>>2]=256}if(!(w[A|0]&128)){b=v[s+8>>2];break F}a=Gf(e,s+8|0);b=v[s+8>>2];if(b){break F}if(!a){break G}o=a&255;d=0;while(1){a=Gf(e,s+8|0);b=v[s+8>>2];if(b){break F}k=Ac(e,s+8|0);b=v[s+8>>2];if(b){break F}c=A+((a&255)<<1)|0;u[c+12>>1]=k;M:{if(!p){break M}a=v[r+8>>2];b=0;while(1){if((k|0)==x[a+(b<<1)>>1]){u[c+524>>1]=b;break M}b=b+1|0;if((p|0)!=(b|0)){continue}break}}d=d+1|0;if((o|0)!=(d|0)){continue}break}break G}N:{O:{switch(c|0){case 0:cb(a,446256,512);break N;case 1:break O;default:break F}}cb(a,447776,512)}v[A+8>>2]=0;e=v[e+28>>2];v[s+12>>2]=0;d=v[r+16>>2];if(!d){d=0;q=r;if(p){d=p&3;f=v[r+8>>2];P:{if(p-1>>>0<3){b=0;a=0;break P}c=p&-4;b=0;a=0;while(1){k=a<<1;i=x[f+(k|6)>>1];n=x[f+(k|4)>>1];l=x[f+(k|2)>>1];k=x[f+k>>1];b=k>>>0>(b&65535)>>>0?k:b;b=l>>>0>(b&65535)>>>0?l:b;b=n>>>0>(b&65535)>>>0?n:b;b=i>>>0>(b&65535)>>>0?i:b;a=a+4|0;c=c-4|0;if(c){continue}break}}if(d){while(1){c=x[f+(a<<1)>>1];b=c>>>0>(b&65535)>>>0?c:b;a=a+1|0;d=d-1|0;if(d){continue}break}}d=b&65535}o=yb(e,2,0,d+1|0,0,s+12|0);v[q+12>>2]=o;b=v[s+12>>2];if(b){break F}Q:{if((p|0)<1){break Q}e=v[r+8>>2];b=p;c=b&3;if(c){while(1){b=b-1|0;u[o+(x[e+(b<<1)>>1]<<1)>>1]=b;c=c-1|0;if(c){continue}break}}if(p-1>>>0<3){break Q}while(1){a=b-1|0;u[o+(x[e+(a<<1)>>1]<<1)>>1]=a;a=b-2|0;u[o+(x[e+(a<<1)>>1]<<1)>>1]=a;a=b-3|0;u[o+(x[e+(a<<1)>>1]<<1)>>1]=a;a=b-4|0;u[o+(x[e+(a<<1)>>1]<<1)>>1]=a;c=(b|0)>4;b=a;if(c){continue}break}}v[r+20>>2]=p;v[r+16>>2]=d}v[s+8>>2]=0;b=0;while(1){e=A+(b<<1)|0;c=e;R:{S:{a=x[c+12>>1];if(!a|a>>>0>d>>>0){break S}a=x[v[r+12>>2]+(a<<1)>>1];if(!a){break S}u[e+524>>1]=a;b=b+1|0;v[A+8>>2]=b;break R}u[e+524>>1]=0;u[c+12>>1]=0;b=b+1|0}if((b|0)!=256){continue}break}}b=0}Ma=s+16|0;v[g+76>>2]=b;if(b){break d}}N=h,O=P_(h,D),v[N+1348>>2]=O}a=v[g+40>>2];if(a){b=v[a+28>>2];if(v[g+72>>2]){Oe(a,g+72|0)}a=v[g+68>>2];if(a){Qa[v[b+8>>2]](b,a)}}Ma=g+80|0;a=v[g+76>>2];f=a;v[z+12>>2]=a;if(a){break a}if((C|0)<=-1){v[m>>2]=v[j+16>>2];f=0;break a}v[j+3088>>2]=L;v[j+3084>>2]=G;v[j+3080>>2]=I;A=C&65535;v[m+4>>2]=A;v[m+16>>2]=v[j+20>>2];if(v[j+1504>>2]==65535){f=11;if(!G){break a}}T:{if(!(t[m+9|0]&1)){break T}a=v[m+548>>2];if(!a|C>>>0<65536){break T}b=v[m+552>>2];f=Qa[v[a+28>>2]](m,C>>>16|0)|0;v[z+12>>2]=f;if(f){break a}if(!b){break T}Qa[v[b+28>>2]](m)}if(!w[j+1436|0]){v[j+1440>>2]=J?1e3:x[m+68>>1]}f=v[j+1432>>2];if(!f){f=v[j+1428>>2]}a=f>>31;a=a+f^a;U:{if((a|0)==65536){f=v[j+1448>>2];break U}N=j,O=Ub(v[j+1440>>2],a),v[N+1440>>2]=O;N=j,O=Ub(v[j+1420>>2],a),v[N+1420>>2]=O;N=j,O=Ub(v[j+1428>>2],a),v[N+1428>>2]=O;N=j,O=Ub(v[j+1424>>2],a),v[N+1424>>2]=O;N=j,O=Ub(v[j+1432>>2],a),v[N+1432>>2]=O;N=j,O=Ub(v[j+1444>>2],a),v[N+1444>>2]=O;f=Ub(v[j+1448>>2],a);v[j+1448>>2]=f}v[j+1448>>2]=f>>16;v[j+1444>>2]=v[j+1444>>2]>>16;a=v[j+2024>>2];if(a){f=j+2028|0;D=j+1420|0;L=D;while(1){a=a-1|0;d=v[f+(a<<2)>>2];V:{if(w[d+64|0]){if(!w[j+1436|0]){break V}c=1;e=v[j+1440>>2];W:{if(e>>>0<2){break W}b=v[d+68>>2];if(b>>>0<2){break W}c=b>>>0>e>>>0?e:b}G=d+48|0;if(!(!D|!G)){e=v[D>>2];i=v[G>>2];I=c<<16;n=fc(e,i,I);b=v[D+4>>2];l=v[G+8>>2];k=fc(b,l,I);r=v[G+4>>2];p=fc(e,r,I);C=v[G+12>>2];o=fc(b,C,I);e=v[D+8>>2];q=fc(e,i,I);b=v[D+12>>2];N=G,O=q+fc(b,l,I)|0,v[N+8>>2]=O;v[G+4>>2]=p+o;v[G>>2]=k+n;N=G,O=fc(e,r,I)+fc(b,C,I)|0,v[N+12>>2]=O}if(!(!D|(d|0)==-72)){C=v[D+8>>2];o=v[D+12>>2];e=v[d+72>>2];p=c<<16;k=fc(e,v[D>>2],p);b=v[d+76>>2];N=d,O=k+fc(b,v[D+4>>2],p)|0,v[N+72>>2]=O;N=d,O=fc(e,C,p)+fc(b,o,p)|0,v[N+76>>2]=O}N=d,O=fc(v[d+68>>2],v[j+1440>>2],c),v[N+68>>2]=O;break V}b=v[D+4>>2];v[d+48>>2]=v[D>>2];v[d+52>>2]=b;b=v[L+12>>2];v[d+56>>2]=v[L+8>>2];v[d+60>>2]=b;b=v[j+1448>>2];v[d+72>>2]=v[j+1444>>2];v[d+76>>2]=b;v[d+68>>2]=v[j+1440>>2]}b=d;e=b;c=v[b+60>>2];if(!c){c=v[d+56>>2]}b=c;c=c>>31;c=b+c^c;if((c|0)==65536){b=v[d+76>>2]}else{N=d,O=Ub(v[d+68>>2],c),v[N+68>>2]=O;N=d,O=Ub(v[d+48>>2],c),v[N+48>>2]=O;N=d,O=Ub(v[d+56>>2],c),v[N+56>>2]=O;N=d,O=Ub(v[d+52>>2],c),v[N+52>>2]=O;N=d,O=Ub(v[d+60>>2],c),v[N+60>>2]=O;N=d,O=Ub(v[d+72>>2],c),v[N+72>>2]=O;b=Ub(v[d+76>>2],c)}v[e+76>>2]=b>>16;v[d+72>>2]=v[d+72>>2]>>16;if(a){continue}break}}if(J){v[m>>2]=v[j+16>>2];a=m;if(v[j+1504>>2]!=65535){b=v[j+1196>>2]+1|0}else{b=v[j+1216>>2]}v[a+16>>2]=b;v[m+52>>2]=v[j+1456>>2]>>16;c=v[j+1460>>2]>>16;v[m+56>>2]=c;v[m+60>>2]=v[j+1464>>2]+65535>>16;b=v[j+1468>>2]+65535>>16;v[m- -64>>2]=b;a=v[j+1440>>2];u[m+72>>1]=c;u[m+70>>1]=b;u[m+68>>1]=a;b=b-c|0;a=(B(a&65535,12)>>>0)/10|0;u[m+74>>1]=(b|0)>a<<16>>16?b:a;u[m+80>>1]=x[j+1406>>1];u[m+82>>1]=x[j+1410>>1];a=v[j+1388>>2];X:{if(!a){break X}a=Gj(j,a);if(!a){break X}N=m,O=Ij(K,a,z),v[N+20>>2]=O}Y:{Z:{_:{if(!v[m+20>>2]){e=P_(j,A);v[m+20>>2]=e;if(!e){break _}a=zb(e);$:{if((a|0)<6){break $}d=e+7|0;c=a+1|0;while(1){if(w[e+6|0]!=43|(w[e+5|0]-65&255)>>>0>25|((w[e+4|0]-65&255)>>>0>25|(w[e+3|0]-65&255)>>>0>25)){break $}if((w[e+2|0]-65&255)>>>0>25|(w[e+1|0]-65&255)>>>0>25|(w[e|0]-65&255)>>>0>25){break $}a=c-7|0;if((c|0)>=8){id(e,d,a)}b=(c|0)>13;c=a;if(b){continue}break}}if(!v[m+20>>2]){break _}}e=Gj(j,v[j+1384>>2]);if(!e){break Z}a=v[m+20>>2];if(!a){break Z}f=w[e|0];if(!f){break Z}while(1){aa:{ba:{d=f&255;b=d-32|0;if(!((b|0)!=13?b:0)){if((d|0)==w[a|0]){break ba}break aa}c=a;f=w[a|0];if((d|0)==(f|0)){break ba}while(1){ca:{da:{a=f&255;switch(a-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break Z;case 0:case 13:break da;default:break ca}}f=w[c+1|0];a=c+1|0;c=a;if((d|0)!=(f|0)){continue}break ba}break}if(a){break Z}f=Ij(K,e,z);if(!f){break Z}e=v[m+20>>2];c=zb(e);d=zb(f);ea:{if((c|0)<=(d|0)){break ea}a=1;if((d|0)>=1){while(1){if(w[e+(c-a|0)|0]!=w[(d-a|0)+f|0]){break ea}b=(a|0)==(d|0);a=a+1|0;if(!b){continue}break}}a=c+(d^-1)|0;if((a|0)<1){break ea}while(1){d=a+e|0;c=w[d|0];b=c-32|0;if(!((1<>>0<=13:0)|(c|0)==95)){t[d+1|0]=0;break ea}b=(a|0)>1;a=a-1|0;if(b){continue}break}}break Y}a=a+1|0}f=w[e+1|0];e=e+1|0;if(f){continue}break}break Z}a=Gj(j,v[j+1544>>2]);if(!a){break Z}N=m,O=Ij(K,a,z),v[N+20>>2]=O}f=Ij(K,240100,z)}v[m+24>>2]=f;a=M?2065:2073;v[m+8>>2]=v[m+8>>2]|(w[j+1396|0]?a|4:a);f=v[j+1400>>2]!=0;a=Gj(j,v[j+1392>>2]);fa:{if(!a){break fa}if(hb(a,288358)){if(hb(a,263335)){break fa}}f=f|2}ga:{if(f&2){break ga}a=v[m+24>>2];if(!a){break ga}if(Kb(a,288358,4)){if(Kb(a,263335,5)){break ga}}f=f|2}v[m+12>>2]=f}c=v[j+1504>>2];if(!(H|(c|0)!=65535)){v[m+8>>2]=v[m+8>>2]|512}if(!(!J|(c|0)==65535)){v[m+8>>2]=v[m+8>>2]|4096}d=v[m+36>>2];ha:{ia:{if(d){b=v[m+40>>2];f=0;while(1){ja:{ka:{a=v[b+(f<<2)>>2];switch(x[a+8>>1]){case 0:break ia;case 3:break ka;default:break ja}}if(x[a+10>>1]==1){break ia}}f=f+1|0;if((d|0)!=(f|0)){continue}break}}if((c|0)!=65535&J){break ha}v[z>>2]=m;v[z+4>>2]=1970170211;v[z+8>>2]=65539;a=gk(448328,0,z,0);v[z+12>>2]=a;la:{if(!a){break la}a=a&255;if((a|0)==163){break la}if((a|0)!=7){break ha}}v[z+12>>2]=0;if(v[m+92>>2]|(d|0)==v[m+36>>2]){break ia}v[m+92>>2]=v[v[m+40>>2]+(d<<2)>>2]}if(!v[j+152>>2]){break ha}u[z+8>>1]=7;v[z>>2]=m;b=1094995778;f=0;ma:{na:{switch(v[j+148>>2]){case 1:b=1094992453;f=1;break ma;case 0:break ma;default:break na}}b=1094992451;f=2}v[z+4>>2]=b;u[z+10>>1]=f;N=z,O=gk(448288,0,z,0),v[N+12>>2]=O}f=v[z+12>>2]}Ma=z+16|0;return f|0}function iia(a,b){a=a|0;b=b|0;var 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,y=0;a:{b:{if(!a|!b){break b}f=b;b=a;if(!(!b|!f|w[b+201|0]&4)){c=Ma-16|0;Ma=c;v[c+8>>2]=1196314761;v[c+12>>2]=169478669;v[b+744>>2]=18;d=w[b+407|0];jc(b,d+(c+8|0)|0,8-d|0);if(w[b+407|0]<=2){v[b+200>>2]=v[b+200>>2]|4096}Ma=c+16|0;if(!(!(w[b+201|0]&16)|!v[b+660>>2])){Db(b,1966);v[b+660>>2]=0}j=v[f>>2];l=v[f+4>>2];h=w[f+24|0];g=w[f+26|0];k=w[f+27|0];d=w[f+28|0];e=Ma-32|0;Ma=e;c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{n=w[f+25|0];switch(n|0){case 6:break h;case 4:break i;case 3:break j;case 2:break k;case 0:break l;default:break g}}if(h>>>0<=16){c=1;if(1<>>0<8){break f}break d}c=2;n:{switch(h-8|0){case 0:case 8:break e;default:break n}}dc(b,13418);L()}c=4;o:{switch(h-8|0){case 0:case 8:break e;default:break o}}dc(b,15921);L()}dc(b,18738);L()}c=1;if(!(139>>>i&1)){break d}}t[b+405|0]=c;if(g){Db(b,20913)}p:{q:{r:{if(!(!(w[b+660|0]&4)|w[b+201|0]&16)){if(!((n&-5)!=2|(k|0)!=64)){break p}if(k){break r}break p}if(!k){break q}}Db(b,23148)}k=0}if(d>>>0>=2){Db(b,25326);d=1}t[b+401|0]=n;t[b+402|0]=h;t[b+696|0]=0;t[b+664|0]=k;t[b+398|0]=d;v[b+324>>2]=l;v[b+320>>2]=j;c=w[b+405|0];g=B(c,h);t[b+404|0]=g;t[b+406|0]=c;t[b+403|0]=h;v[b+332>>2]=j;c=b;g=g&255;s:{if(g>>>0>=8){q=B(j,g>>>3|0);break s}q=B(g,j)+7>>>3|0}v[c+336>>2]=q;t[e+23|0]=d;t[e+22|0]=k;t[e+21|0]=0;t[e+20|0]=n;t[e+19|0]=h;t[e+14|0]=j;t[e+13|0]=j>>>8;t[e+12|0]=j>>>16;t[e+11|0]=j>>>24;t[e+18|0]=l;t[e+17|0]=l>>>8;t[e+16|0]=l>>>16;t[e+15|0]=l>>>24;v[b+744>>2]=34;t[e+24|0]=0;t[e+25|0]=0;t[e+26|0]=0;t[e+27|0]=13;t[e+28|0]=73;t[e+29|0]=72;t[e+30|0]=68;t[e+31|0]=82;d=e+24|0;jc(b,d,8);v[b+348>>2]=1229472850;Bf(b);gc(b,e+28|0,4);v[b+744>>2]=66;c=e+11|0;jc(b,c,13);gc(b,c,13);v[b+744>>2]=130;c=v[b+384>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[e+24|0]=c;t[e+25|0]=c>>>8;t[e+26|0]=c>>>16;t[e+27|0]=c>>>24;jc(b,d,4);v[b+252>>2]=b;v[b+248>>2]=375;v[b+244>>2]=374;t:{u:{v:{d=w[b+400|0];if(!d){if(w[b+401|0]!=3&w[b+402|0]>7){break v}t[b+400|0]=8;d=8}c=v[b+204>>2];if(c&1){break t}d=(d|0)!=8;break u}t[b+400|0]=248;d=1;c=v[b+204>>2];if(c&1){break t}}v[b+296>>2]=d}if(!(c&2)){v[b+280>>2]=-1}if(!(c&4)){v[b+292>>2]=8}if(!(c&8)){v[b+288>>2]=15}if(c&16){c=v[b+284>>2]}else{v[b+284>>2]=8;c=8}v[b+316>>2]=0;v[b+304>>2]=c;v[b+276>>2]=0;v[b+200>>2]=1;v[b+300>>2]=v[b+280>>2];c=v[b+292>>2];v[b+308>>2]=v[b+288>>2];v[b+312>>2]=c;Ma=e+32|0;break c}dc(b,10220);L()}c=v[f+8>>2];if(c&1){c=Ma-16|0;Ma=c;d=v[f+40>>2];d=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);t[c+4|0]=d;t[c+5|0]=d>>>8;t[c+6|0]=d>>>16;t[c+7|0]=d>>>24;if(b){v[b+744>>2]=34;t[c+8|0]=0;t[c+9|0]=0;t[c+10|0]=0;t[c+11|0]=4;t[c+12|0]=103;t[c+13|0]=65;t[c+14|0]=77;t[c+15|0]=65;e=c+8|0;jc(b,e,8);v[b+348>>2]=1732332865;Bf(b);gc(b,c+12|0,4);v[b+744>>2]=66;d=c+4|0;jc(b,d,4);gc(b,d,4);v[b+744>>2]=130;d=v[b+384>>2];d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);t[c+8|0]=d;t[c+9|0]=d>>>8;t[c+10|0]=d>>>16;t[c+11|0]=d>>>24;jc(b,e,4)}Ma=c+16|0;c=v[f+8>>2]}if(c&2048){c=Ma-16|0;Ma=c;d=w[f+44|0];if(d>>>0>=4){Db(b,30192)}t[c+3|0]=d;if(b){v[b+744>>2]=34;t[c+8|0]=0;t[c+9|0]=0;t[c+10|0]=0;t[c+11|0]=1;t[c+12|0]=115;t[c+13|0]=82;t[c+14|0]=71;t[c+15|0]=66;jc(b,c+8|0,8);v[b+348>>2]=1934772034;Bf(b);gc(b,c+12|0,4);v[b+744>>2]=66;d=c+3|0;jc(b,d,1);gc(b,d,1);v[b+744>>2]=130;d=v[b+384>>2];d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);t[c+4|0]=d;t[c+5|0]=d>>>8;t[c+6|0]=d>>>16;t[c+7|0]=d>>>24;jc(b,c+4|0,4)}Ma=c+16|0;c=v[f+8>>2]}if(c&4096){j=v[f+196>>2];h=v[f+200>>2];c=v[f+204>>2];d=0;e=Ma-32|0;Ma=e;v[e+16>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;v[e>>2]=0;v[e+4>>2]=0;k=zb(j);w:{x:{c=h?c:0;if((c|0)<4){break x}d=w[h|0]|w[h+1|0]<<8|(w[h+2|0]<<16|w[h+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if((d|0)>-1){break x}Db(b,33181);break w}if((c|0)<(d|0)){Db(b,34665);break w}if((c|0)>(d|0)){Db(b,36109);c=d}if(!c){c=0}else{c=jy(b,h,c,0,e)}if(b){v[b+744>>2]=34;t[e+28|0]=105;t[e+29|0]=67;t[e+30|0]=67;t[e+31|0]=80;d=(c+k|0)+2|0;t[e+27|0]=d;t[e+26|0]=d>>>8;t[e+25|0]=d>>>16;t[e+24|0]=d>>>24;jc(b,e+24|0,8);v[b+348>>2]=1766015824;Bf(b);gc(b,e+28|0,4);v[b+744>>2]=66;if(!(!j|!k)){jc(b,j,k);gc(b,j,k)}t[e+24|0]=0;t[e+25|0]=0;d=e+24|0;jc(b,d,2);gc(b,d,2)}if(c){yu(b,e,c)}if(!b){break w}v[b+744>>2]=130;c=v[b+384>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[e+24|0]=c;t[e+25|0]=c>>>8;t[e+26|0]=c>>>16;t[e+27|0]=c>>>24;jc(b,e+24|0,4)}Ma=e+32|0;c=v[f+8>>2]}if(c&2){c=Ma-16|0;Ma=c;e=w[f+25|0];y:{z:{if(e&2){d=8;A:{h=w[f+68|0];d=(e|0)!=3?w[b+403|0]:d;B:{if(!h|h>>>0>d>>>0){break B}j=w[f+69|0];if(!j|d>>>0>>0){break B}k=w[f+70|0];if(!k){break B}if(d>>>0>=k>>>0){break A}}Db(b,37814);break y}t[c+6|0]=k;t[c+5|0]=j;t[c+4|0]=h;d=3;break z}d=w[f+71|0];if(!(d>>>0<=w[b+403|0]?d:0)){Db(b,37814);break y}t[c+4|0]=d;d=1}C:{if(e&4){e=w[f+72|0];if(!(e>>>0<=w[b+403|0]?e:0)){Db(b,37814);break y}t[(c+4|0)+d|0]=e;d=d+1|0;break C}if(!b){break y}}v[b+744>>2]=34;t[c+12|0]=115;t[c+13|0]=66;t[c+14|0]=73;t[c+15|0]=84;t[c+11|0]=d;t[c+10|0]=0;t[c+8|0]=0;t[c+9|0]=0;e=c+8|0;jc(b,e,8);v[b+348>>2]=1933723988;Bf(b);gc(b,c+12|0,4);v[b+744>>2]=66;h=c+4|0;jc(b,h,d);gc(b,h,d);v[b+744>>2]=130;d=v[b+384>>2];d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);t[c+8|0]=d;t[c+9|0]=d>>>8;t[c+10|0]=d>>>16;t[c+11|0]=d>>>24;jc(b,e,4)}Ma=c+16|0;c=v[f+8>>2]}if(c&4){c=Ma-48|0;Ma=c;d=v[f+128>>2];e=v[f+132>>2];h=v[f+136>>2];j=v[f+140>>2];k=v[f+144>>2];l=v[f+148>>2];n=v[f+152>>2];g=v[f+156>>2];D:{if(!WF(b,d,e,h,j,k,l,n,g)){break D}t[c+31|0]=g;t[c+30|0]=g>>>8;t[c+29|0]=g>>>16;t[c+28|0]=g>>>24;t[c+27|0]=n;t[c+26|0]=n>>>8;t[c+25|0]=n>>>16;t[c+24|0]=n>>>24;t[c+23|0]=l;t[c+22|0]=l>>>8;t[c+21|0]=l>>>16;t[c+20|0]=l>>>24;t[c+19|0]=k;t[c+18|0]=k>>>8;t[c+17|0]=k>>>16;t[c+16|0]=k>>>24;t[c+15|0]=j;t[c+14|0]=j>>>8;t[c+13|0]=j>>>16;t[c+12|0]=j>>>24;t[c+11|0]=h;t[c+10|0]=h>>>8;t[c+9|0]=h>>>16;t[c+8|0]=h>>>24;t[c+7|0]=e;t[c+6|0]=e>>>8;t[c+5|0]=e>>>16;t[c+4|0]=e>>>24;t[c+3|0]=d;t[c+2|0]=d>>>8;t[c+1|0]=d>>>16;t[c|0]=d>>>24;if(!b){break D}v[b+744>>2]=34;t[c+40|0]=0;t[c+41|0]=0;t[c+42|0]=0;t[c+43|0]=32;t[c+44|0]=99;t[c+45|0]=72;t[c+46|0]=82;t[c+47|0]=77;e=c+40|0;jc(b,e,8);v[b+348>>2]=1665684045;Bf(b);gc(b,c+44|0,4);v[b+744>>2]=66;jc(b,c,32);gc(b,c,32);v[b+744>>2]=130;d=v[b+384>>2];d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);t[c+40|0]=d;t[c+41|0]=d>>>8;t[c+42|0]=d>>>16;t[c+43|0]=d>>>24;jc(b,e,4)}Ma=c+48|0}c=v[f+192>>2];if(!(!c|(c|0)<1)){c=v[f+188>>2];while(1){e=ZF(b,c);E:{if((e|0)==1){break E}d=w[c+16|0];if(!d|d&2|(d&4|d&8)){break E}if(!(t[b+206|0]&1?1:w[c+3|0]&32|(e|0)==3)){break E}d=v[c+12>>2];if(!d){Db(b,5545);d=v[c+12>>2]}AE(b,c,v[c+8>>2],d)}c=c+20|0;if(c>>>0>2]+B(v[f+192>>2],20)>>>0){continue}break}}v[b+200>>2]=v[b+200>>2]|1024}e=v[f+8>>2];F:{if(e&8){d=v[f+16>>2];b=Ma-16|0;Ma=b;G:{H:{c=x[f+20>>1];e=w[a+401|0];I:{if(!(c>>>0<=((e|0)==3?1<>>0?c|v[a+660>>2]&1:0)){if((e|0)==3){break H}Db(a,26807);break I}if(!(e&2)){Db(a,29023);break I}u[a+392>>1]=c;v[a+744>>2]=34;t[b+8|0]=80;t[b+9|0]=76;t[b+10|0]=84;t[b+11|0]=69;e=B(c,3);t[b+7|0]=e;t[b+6|0]=e>>>8;t[b+5|0]=e>>>16;t[b+4|0]=e>>>24;jc(a,b+4|0,8);v[a+348>>2]=1347179589;Bf(a);gc(a,b+8|0,4);v[a+744>>2]=66;if(c){while(1){t[b+1|0]=w[d|0];t[b+2|0]=w[d+1|0];t[b+3|0]=w[d+2|0];e=b+1|0;jc(a,e,3);gc(a,e,3);d=d+3|0;m=m+1|0;if((c|0)!=(m|0)){continue}break}}v[a+744>>2]=130;c=v[a+384>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[b+12|0]=c;t[b+13|0]=c>>>8;t[b+14|0]=c>>>16;t[b+15|0]=c>>>24;jc(a,b+12|0,4);v[a+200>>2]=v[a+200>>2]|2}Ma=b+16|0;break G}dc(a,26807);L()}e=v[f+8>>2];break F}if(w[f+25|0]==3){break a}}if(e&16){if(!(!x[f+22>>1]|(!(w[a+210|0]&8)|w[f+25|0]!=3))){e=0;while(1){b=v[f+76>>2]+e|0;t[b|0]=w[b|0]^-1;e=e+1|0;if(e>>>0>1]){continue}break}}d=v[f+76>>2];c=x[f+22>>1];b=Ma-16|0;Ma=b;J:{K:{switch(w[f+25|0]){case 3:if(!((c|0)<=x[a+392>>1]&c>>>0>=1)){Db(a,38646);break J}v[a+744>>2]=34;t[b+12|0]=116;t[b+13|0]=82;t[b+14|0]=78;t[b+15|0]=83;t[b+11|0]=c;t[b+10|0]=c>>>8;t[b+9|0]=c>>>16;t[b+8|0]=c>>>24;jc(a,b+8|0,8);v[a+348>>2]=1951551059;Bf(a);gc(a,b+12|0,4);v[a+744>>2]=66;if(d){jc(a,d,c);gc(a,d,c)}v[a+744>>2]=130;c=v[a+384>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[b+8|0]=c;t[b+9|0]=c>>>8;t[b+10|0]=c>>>16;t[b+11|0]=c>>>24;jc(a,b+8|0,4);break J;case 0:c=x[f+88>>1];if((c|0)>=1<>>8;t[b+2|0]=c;t[b+3|0]=c>>>8;v[a+744>>2]=34;t[b+8|0]=0;t[b+9|0]=0;t[b+10|0]=0;t[b+11|0]=2;t[b+12|0]=116;t[b+13|0]=82;t[b+14|0]=78;t[b+15|0]=83;d=b+8|0;jc(a,d,8);v[a+348>>2]=1951551059;Bf(a);gc(a,b+12|0,4);v[a+744>>2]=66;c=b+2|0;jc(a,c,2);gc(a,c,2);v[a+744>>2]=130;c=v[a+384>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[b+8|0]=c;t[b+9|0]=c>>>8;t[b+10|0]=c>>>16;t[b+11|0]=c>>>24;jc(a,d,4);break J;case 2:d=x[f+82>>1];c=d>>>8|0;d=c|d<<8;t[b+2|0]=d;t[b+3|0]=d>>>8;e=x[f+84>>1];d=e>>>8|0;e=d|e<<8;t[b+4|0]=e;t[b+5|0]=e>>>8;h=x[f+86>>1];e=h>>>8|0;h=e|h<<8;t[b+6|0]=h;t[b+7|0]=h>>>8;if(!(!(e|(c|d))|w[a+402|0]!=8)){Db(a,41375);break J}v[a+744>>2]=34;t[b+8|0]=0;t[b+9|0]=0;t[b+10|0]=0;t[b+11|0]=6;t[b+12|0]=116;t[b+13|0]=82;t[b+14|0]=78;t[b+15|0]=83;d=b+8|0;jc(a,d,8);v[a+348>>2]=1951551059;Bf(a);gc(a,b+12|0,4);v[a+744>>2]=66;c=b+2|0;jc(a,c,6);gc(a,c,6);v[a+744>>2]=130;c=v[a+384>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[b+8|0]=c;t[b+9|0]=c>>>8;t[b+10|0]=c>>>16;t[b+11|0]=c>>>24;jc(a,d,4);break J;default:break K}}Db(a,41921)}Ma=b+16|0;e=v[f+8>>2]}if(e&32){b=Ma-16|0;Ma=b;L:{M:{c=w[f+25|0];if((c|0)==3){d=x[a+392>>1];if(!(d|!(t[a+660|0]&1))){c=w[f+90|0];break M}c=w[f+90|0];if(d>>>0>c>>>0){break M}Db(a,42630);break L}if(c&2){d=x[f+92>>1];c=d>>>8|0;d=c|d<<8;t[b+2|0]=d;t[b+3|0]=d>>>8;e=x[f+94>>1];d=e>>>8|0;e=d|e<<8;t[b+4|0]=e;t[b+5|0]=e>>>8;h=x[f+96>>1];e=h>>>8|0;h=e|h<<8;t[b+6|0]=h;t[b+7|0]=h>>>8;if(!(!(e|(c|d))|w[a+402|0]!=8)){Db(a,44032);break L}v[a+744>>2]=34;t[b+8|0]=0;t[b+9|0]=0;t[b+10|0]=0;t[b+11|0]=6;t[b+12|0]=98;t[b+13|0]=75;t[b+14|0]=71;t[b+15|0]=68;d=b+8|0;jc(a,d,8);v[a+348>>2]=1649100612;Bf(a);gc(a,b+12|0,4);v[a+744>>2]=66;c=b+2|0;jc(a,c,6);gc(a,c,6);v[a+744>>2]=130;c=v[a+384>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[b+8|0]=c;t[b+9|0]=c>>>8;t[b+10|0]=c>>>16;t[b+11|0]=c>>>24;jc(a,d,4);break L}c=x[f+98>>1];if((c|0)>=1<>>8;t[b+2|0]=c;t[b+3|0]=c>>>8;v[a+744>>2]=34;t[b+8|0]=0;t[b+9|0]=0;t[b+10|0]=0;t[b+11|0]=2;t[b+12|0]=98;t[b+13|0]=75;t[b+14|0]=71;t[b+15|0]=68;d=b+8|0;jc(a,d,8);v[a+348>>2]=1649100612;Bf(a);gc(a,b+12|0,4);v[a+744>>2]=66;c=b+2|0;jc(a,c,2);gc(a,c,2);v[a+744>>2]=130;c=v[a+384>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[b+8|0]=c;t[b+9|0]=c>>>8;t[b+10|0]=c>>>16;t[b+11|0]=c>>>24;jc(a,d,4);break L}t[b+2|0]=c;v[a+744>>2]=34;t[b+8|0]=0;t[b+9|0]=0;t[b+10|0]=0;t[b+11|0]=1;t[b+12|0]=98;t[b+13|0]=75;t[b+14|0]=71;t[b+15|0]=68;d=b+8|0;jc(a,d,8);v[a+348>>2]=1649100612;Bf(a);gc(a,b+12|0,4);v[a+744>>2]=66;c=b+2|0;jc(a,c,1);gc(a,c,1);v[a+744>>2]=130;c=v[a+384>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[b+8|0]=c;t[b+9|0]=c>>>8;t[b+10|0]=c>>>16;t[b+11|0]=c>>>24;jc(a,d,4)}Ma=b+16|0;e=v[f+8>>2]}if(e&64){e=v[f+124>>2];d=0;b=Ma-16|0;Ma=b;c=x[f+20>>1];N:{if((c|0)>x[a+392>>1]){Db(a,45495);break N}v[a+744>>2]=34;t[b+8|0]=104;t[b+9|0]=73;t[b+10|0]=83;t[b+11|0]=84;t[b+7|0]=c<<1;t[b+6|0]=c>>>7;t[b+5|0]=c>>>15;t[b+4|0]=c>>>23;jc(a,b+4|0,8);v[a+348>>2]=1749635924;Bf(a);gc(a,b+8|0,4);v[a+744>>2]=66;if(c>>>0>=1){while(1){h=x[e+(d<<1)>>1];h=h<<8|h>>>8;t[b+1|0]=h;t[b+2|0]=h>>>8;h=b+1|0;jc(a,h,2);gc(a,h,2);d=d+1|0;if((c|0)!=(d|0)){continue}break}}v[a+744>>2]=130;c=v[a+384>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[b+12|0]=c;t[b+13|0]=c>>>8;t[b+14|0]=c>>>16;t[b+15|0]=c>>>24;jc(a,b+12|0,4)}Ma=b+16|0;e=v[f+8>>2]}if(e&256){c=v[f+100>>2];d=v[f+104>>2];b=Ma-32|0;Ma=b;e=w[f+108|0];if(e>>>0>=2){Db(a,46126)}t[b+23|0]=e;t[b+22|0]=d;t[b+21|0]=d>>>8;t[b+20|0]=d>>>16;t[b+19|0]=d>>>24;t[b+18|0]=c;t[b+17|0]=c>>>8;t[b+16|0]=c>>>16;t[b+15|0]=c>>>24;if(a){v[a+744>>2]=34;t[b+24|0]=0;t[b+25|0]=0;t[b+26|0]=0;t[b+27|0]=9;t[b+28|0]=111;t[b+29|0]=70;t[b+30|0]=70;t[b+31|0]=115;d=b+24|0;jc(a,d,8);v[a+348>>2]=1866876531;Bf(a);gc(a,b+28|0,4);v[a+744>>2]=66;c=b+15|0;jc(a,c,9);gc(a,c,9);v[a+744>>2]=130;c=v[a+384>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[b+24|0]=c;t[b+25|0]=c>>>8;t[b+26|0]=c>>>16;t[b+27|0]=c>>>24;jc(a,d,4)}Ma=b+32|0;e=v[f+8>>2]}if(e&1024){e=v[f+160>>2];h=v[f+164>>2];j=v[f+168>>2];d=w[f+181|0];k=v[f+172>>2];g=v[f+176>>2];c=0;b=Ma-16|0;Ma=b;o=w[f+180|0];if(o>>>0>=4){Db(a,46770)}p=zb(e);l=zb(k)+((d|0)!=0)|0;m=(p+l|0)+11|0;n=fg(a,d<<2);if(d>>>0>=1){s=d-1|0;while(1){r=c<<2;i=zb(v[r+g>>2])+((c|0)!=(s|0))|0;v[n+r>>2]=i;m=i+m|0;c=c+1|0;if((d|0)!=(c|0)){continue}break}}O:{if(!a){c=0;break O}v[a+744>>2]=34;t[b+6|0]=112;t[b+7|0]=67;t[b+8|0]=65;t[b+9|0]=76;t[b+5|0]=m;t[b+4|0]=m>>>8;t[b+3|0]=m>>>16;t[b+2|0]=m>>>24;jc(a,b+2|0,8);v[a+348>>2]=1883455820;Bf(a);gc(a,b+6|0,4);v[a+744>>2]=66;c=1;if(!e){break O}m=p+1|0;if(!m){break O}jc(a,e,m);gc(a,e,m)}t[b+11|0]=d;t[b+10|0]=o;t[b+9|0]=j;t[b+8|0]=j>>>8;t[b+7|0]=j>>>16;t[b+6|0]=j>>>24;t[b+5|0]=h;t[b+4|0]=h>>>8;t[b+3|0]=h>>>16;t[b+2|0]=h>>>24;P:{if(!c){break P}e=b+2|0;jc(a,e,10);gc(a,e,10);if(!(!k|!l)){jc(a,k,l);gc(a,k,l)}if(c^1|d>>>0<1){break P}c=0;while(1){h=c<<2;e=v[h+g>>2];Q:{if(!e){break Q}h=v[h+n>>2];if(!h){break Q}jc(a,e,h);gc(a,e,h)}c=c+1|0;if((d|0)!=(c|0)){continue}break}}Tb(a,n);if(a){v[a+744>>2]=130;c=v[a+384>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[b+12|0]=c;t[b+13|0]=c>>>8;t[b+14|0]=c>>>16;t[b+15|0]=c>>>24;jc(a,b+12|0,4)}Ma=b+16|0;e=v[f+8>>2]}if(e&16384){h=w[f+220|0];d=v[f+228>>2];b=Ma-80|0;Ma=b;j=v[f+224>>2];e=zb(j);m=zb(d);c=(e+m|0)+2|0;R:{if(c>>>0>=65){Db(a,47638);break R}t[b|0]=h;cb(b|1,j,e+1|0);cb((b+e|0)+2|0,d,m);if(!a){break R}v[a+744>>2]=34;t[b+76|0]=115;t[b+77|0]=67;t[b+78|0]=65;t[b+79|0]=76;t[b+75|0]=c;t[b+74|0]=c>>>8;t[b+73|0]=c>>>16;t[b+72|0]=c>>>24;jc(a,b+72|0,8);v[a+348>>2]=1933787468;Bf(a);gc(a,b+76|0,4);v[a+744>>2]=66;if(c){jc(a,b,c);gc(a,b,c)}v[a+744>>2]=130;c=v[a+384>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[b+72|0]=c;t[b+73|0]=c>>>8;t[b+74|0]=c>>>16;t[b+75|0]=c>>>24;jc(a,b+72|0,4)}Ma=b+80|0;e=v[f+8>>2]}if(e&128){c=v[f+112>>2];d=v[f+116>>2];b=Ma-32|0;Ma=b;e=w[f+120|0];if(e>>>0>=2){Db(a,47869)}t[b+23|0]=e;t[b+22|0]=d;t[b+21|0]=d>>>8;t[b+20|0]=d>>>16;t[b+19|0]=d>>>24;t[b+18|0]=c;t[b+17|0]=c>>>8;t[b+16|0]=c>>>16;t[b+15|0]=c>>>24;if(a){v[a+744>>2]=34;t[b+24|0]=0;t[b+25|0]=0;t[b+26|0]=0;t[b+27|0]=9;t[b+28|0]=112;t[b+29|0]=72;t[b+30|0]=89;t[b+31|0]=115;d=b+24|0;jc(a,d,8);v[a+348>>2]=1883789683;Bf(a);gc(a,b+28|0,4);v[a+744>>2]=66;c=b+15|0;jc(a,c,9);gc(a,c,9);v[a+744>>2]=130;c=v[a+384>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[b+24|0]=c;t[b+25|0]=c>>>8;t[b+26|0]=c>>>16;t[b+27|0]=c>>>24;jc(a,d,4)}Ma=b+32|0;e=v[f+8>>2]}if(e&512){FQ(a,f+60|0);v[a+200>>2]=v[a+200>>2]|512;e=v[f+8>>2]}if(!(!(e&8192)|v[f+216>>2]<1)){e=0;while(1){g=Ma-16|0;Ma=g;o=v[f+212>>2]+(e<<4)|0;p=o+4|0;b=w[o+4|0];d=v[o+12>>2];c=zb(v[o>>2]);S:{T:{if(a){v[a+744>>2]=34;t[g+6|0]=115;t[g+7|0]=80;t[g+8|0]=76;t[g+9|0]=84;s=(b|0)==8?6:10;b=(c+B(s,d)|0)+2|0;t[g+5|0]=b;t[g+4|0]=b>>>8;t[g+3|0]=b>>>16;t[g+2|0]=b>>>24;jc(a,g+2|0,8);v[a+348>>2]=1934642260;Bf(a);gc(a,g+6|0,4);v[a+744>>2]=66;b=v[o>>2];U:{if(!b){break U}c=c+1|0;if(!c){break U}jc(a,b,c);gc(a,b,c)}jc(a,p,1);gc(a,p,1);if(v[o+12>>2]<1){break T}h=g+11|0;j=g+10|0;m=g+9|0;k=g+7|0;l=g+6|0;n=g+5|0;i=v[o+8>>2];while(1){b=x[i>>1];V:{if(w[p|0]!=8){b=b<<8|(b&65280)>>>8;t[g+2|0]=b;t[g+3|0]=b>>>8;b=x[i+2>>1];b=b<<8|b>>>8;t[g+4|0]=b;t[g+5|0]=b>>>8;b=x[i+4>>1];b=b<<8|b>>>8;t[g+6|0]=b;t[g+7|0]=b>>>8;r=x[i+6>>1];t[g+8|0]=r>>>8;c=h;d=m;q=j;break V}t[g+2|0]=b;t[g+3|0]=w[i+2|0];t[g+4|0]=w[i+4|0];r=w[i+6|0];c=k;d=n;q=l}t[d|0]=r;b=x[i+8>>1];t[q|0]=b>>>8;t[c|0]=b;b=g+2|0;jc(a,b,s);gc(a,b,s);i=i+10|0;if(i>>>0>2]+B(v[o+12>>2],10)>>>0){continue}break}break T}b=v[o+12>>2];if((b|0)<=0){break S}i=v[o+8>>2];b=i+B(b,10)|0;if(w[p|0]==8){while(1){t[g+2|0]=w[i|0];t[g+3|0]=w[i+2|0];t[g+4|0]=w[i+4|0];t[g+5|0]=w[i+6|0];c=x[i+8>>1];c=c<<8|c>>>8;t[g+6|0]=c;t[g+7|0]=c>>>8;i=i+10|0;if(b>>>0>i>>>0){continue}break T}}while(1){c=x[i>>1];c=c<<8|c>>>8;t[g+2|0]=c;t[g+3|0]=c>>>8;c=x[i+2>>1];c=c<<8|c>>>8;t[g+4|0]=c;t[g+5|0]=c>>>8;c=x[i+4>>1];c=c<<8|c>>>8;t[g+6|0]=c;t[g+7|0]=c>>>8;c=x[i+6>>1];c=c<<8|c>>>8;t[g+8|0]=c;t[g+9|0]=c>>>8;c=x[i+8>>1];c=c<<8|c>>>8;t[g+10|0]=c;t[g+11|0]=c>>>8;i=i+10|0;if(b>>>0>i>>>0){continue}break}}if(!a){break S}v[a+744>>2]=130;b=v[a+384>>2];b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);t[g+12|0]=b;t[g+13|0]=b>>>8;t[g+14|0]=b>>>16;t[g+15|0]=b>>>24;jc(a,g+12|0,4)}Ma=g+16|0;e=e+1|0;if((e|0)>2]){continue}break}}if(v[f+48>>2]>=1){c=v[f+56>>2];while(1){d=B(y,28);b=d+c|0;e=v[b>>2];W:{if((e|0)>=1){HQ(a,e,v[b+4>>2],v[b+20>>2],v[b+24>>2],v[b+8>>2]);c=v[f+56>>2];b=d+c|0;if(v[b>>2]==-1){v[b>>2]=-3;break W}v[b>>2]=-2;break W}X:{switch(e+1|0){case 1:JQ(a,v[b+4>>2],v[b+8>>2]);c=v[f+56>>2];v[d+c>>2]=-2;break W;case 0:break X;default:break W}}ey(a,v[b+4>>2],v[b+8>>2]);c=v[f+56>>2];v[d+c>>2]=-3}y=y+1|0;if((y|0)>2]){continue}break}}b=v[f+192>>2];if(!b|(b|0)<1){break b}e=v[f+188>>2];while(1){c=ZF(a,e);Y:{if((c|0)==1){break Y}b=w[e+16|0];if(!b|!(b&2)|(b&4|b&8)){break Y}if(!(t[a+206|0]&1?1:w[e+3|0]&32|(c|0)==3)){break Y}AE(a,e,v[e+8>>2],v[e+12>>2])}e=e+20|0;if(e>>>0>2]+B(v[f+192>>2],20)>>>0){continue}break}}return}dc(a,9487);L()}function cia(a,b){a=a|0;b=b|0;var 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,u=0,x=0,z=0,A=0;l=Ma-16|0;Ma=l;a:{b:{c:{if(!a){break c}if(!(v[a+344>>2]|w[a+399|0])){if(!(w[a+201|0]&4)){break b}e=v[a+320>>2];c=B(w[a+403|0],w[a+406|0]);d:{if(c>>>0>=8){e=B(e,c>>>3|0);break d}e=B(c,e)+7>>>3|0}t[a+408|0]=c;t[a+409|0]=w[a+404|0];e=e+1|0;c=fg(a,e);v[a+356>>2]=c;t[c|0]=0;c=w[a+400|0];if(c&16){c=fg(a,v[a+336>>2]+1|0);v[a+360>>2]=c;t[c|0]=1;c=w[a+400|0]}e:{if((c&255)>>>0<32){break e}z=a,A=fv(a,e),v[z+352>>2]=A;d=w[a+400|0];if(d&32){c=fg(a,v[a+336>>2]+1|0);v[a+364>>2]=c;t[c|0]=2;d=w[a+400|0]}if(d&64){c=fg(a,v[a+336>>2]+1|0);v[a+368>>2]=c;t[c|0]=3;d=w[a+400|0]}if(d<<24>>24>-1){break e}c=fg(a,v[a+336>>2]+1|0);v[a+372>>2]=c;t[c|0]=4}c=a;f:{g:{if(w[a+398|0]){e=v[a+324>>2];if(!(w[a+208|0]&2)){v[a+328>>2]=e+7>>>3;e=v[a+320>>2]+7>>>3|0;break f}v[a+328>>2]=e;break g}v[a+328>>2]=v[a+324>>2]}e=v[a+320>>2]}v[c+332>>2]=e;SQ(a,1);c=v[a+272>>2];v[a+224>>2]=v[a+268>>2];v[a+228>>2]=c}h:{if(!w[a+398|0]|!(w[a+208|0]&2)){break h}i:{switch(w[a+399|0]){case 0:if(!(w[a+344|0]&7)){break h}$m(a);break c;case 1:if(!(w[a+344|0]&7)&y[a+320>>2]>4){break h}$m(a);break c;case 2:if((v[a+344>>2]&7)==4){break h}$m(a);break c;case 3:if(!(w[a+344|0]&3)&y[a+320>>2]>2){break h}$m(a);break c;case 4:if((v[a+344>>2]&3)==2){break h}$m(a);break c;case 5:if(!(t[a+344|0]&1)&y[a+320>>2]>1){break h}$m(a);break c;case 6:break i;default:break h}}if(t[a+344|0]&1){break h}$m(a);break c}t[l+8|0]=w[a+401|0];e=v[a+332>>2];v[l>>2]=e;c=w[a+406|0];t[l+10|0]=c;d=w[a+403|0];t[l+9|0]=d;d=B(c,d);t[l+11|0]=d;c=l;d=d&255;j:{if(d>>>0>=8){e=B(e,d>>>3|0);break j}e=B(d,e)+7>>>3|0}v[c+4>>2]=e;cb(v[a+356>>2]+1|0,b,e);k:{if(!w[a+398|0]){break k}i=w[a+399|0];if(!(w[a+208|0]&2)|i>>>0>5){break k}d=v[a+356>>2]+1|0;if(i>>>0<=5){l:{m:{n:{o:{p:{q:{c=w[l+11|0];switch(c-1|0){case 3:break o;case 1:break p;case 0:break q;default:break m}}b=w[i+76656|0];h=v[l>>2];if(b>>>0>=h>>>0){break l}k=w[i+76663|0];e=d;g=7;c=b;while(1){f=(w[d+(c>>>3|0)|0]>>>((c^-1)&7)&1)<>>0>c>>>0){continue}break}if((g|0)!=7){break n}break l}b=w[i+76656|0];h=v[l>>2];if(b>>>0>=h>>>0){break l}k=w[i+76663|0];e=d;g=6;c=b;while(1){f=(w[d+(c>>>2|0)|0]>>>((c<<1^-1)&6)&3)<>>0>c>>>0){continue}break}if((g|0)!=6){break n}break l}b=w[i+76656|0];h=v[l>>2];if(b>>>0>=h>>>0){break l}k=w[i+76663|0];c=b;g=4;e=d;while(1){f=(w[d+(c>>>1|0)|0]>>>((c<<2^-1)&4)&15)<>>0>c>>>0){continue}break}if((g|0)==4){break l}}t[e|0]=f;break l}b=w[i+76656|0];g=v[l>>2];if(b>>>0>=g>>>0){break l}e=c>>>3|0;h=w[i+76663|0];c=b;f=d;while(1){k=d+B(c,e)|0;if((k|0)!=(f|0)){cb(f,k,e)}f=f+e|0;c=c+h|0;if(g>>>0>c>>>0){continue}break}}c=w[i+76663|0];c=((c+v[l>>2]|0)+(b^-1)>>>0)/(c>>>0)|0;v[l>>2]=c;b=l;d=b;e=w[b+11|0];u:{if(e>>>0>=8){b=B(c,e>>>3|0);break u}b=B(c,e)+7>>>3|0}v[d+4>>2]=b}if(v[l>>2]){break k}$m(a);break c}if(v[a+208>>2]){v:{if(!a){break v}c=v[a+208>>2];w:{if(!(c&1048576)){break w}b=v[a+188>>2];if(!b){break w}Qa[b|0](a,l,v[a+356>>2]+1|0);c=v[a+208>>2]}x:{if(!(c&32768)){break x}if(w[a+401|0]&5){Db(a,2675);c=v[a+208>>2]&-32769;v[a+208>>2]=c;break x}AF(l,v[a+356>>2]+1|0,(v[a+204>>2]>>>7^-1)&1);c=v[a+208>>2]}if(c&65536){CT(l,v[a+356>>2]+1|0);c=v[a+208>>2]}if(c&4){c=v[a+356>>2]+1|0;i=w[a+402|0];d=0;if(!(w[l+9|0]!=8|w[l+10|0]!=1)){y:{z:{A:{B:{switch(i-1|0){case 0:b=v[l>>2];if(!b){break y}g=b&1;if((b|0)==1){e=128;b=c;break A}f=b&-2;e=128;b=c;while(1){d=(w[c|0]?e:0)|d;if(e>>>0>=2){e=e>>>1|0}else{t[b|0]=d;b=b+1|0;d=0;e=128}d=(w[c+1|0]?e:0)|d;C:{if(e>>>0<=1){t[b|0]=d;b=b+1|0;d=0;e=128;break C}e=e>>>1|0}c=c+2|0;f=f-2|0;if(f){continue}break};break A;case 3:b=v[l>>2];if(!b){break y}g=b&1;D:{if((b|0)==1){e=4;b=c;break D}f=b&-2;e=4;b=c;while(1){d=(w[c|0]&15)<>2];if(!b){break y}g=b&1;G:{if((b|0)==1){e=6;b=c;break G}f=b&-2;e=6;b=c;while(1){d=(w[c|0]&3)<>>0<=1){t[b|0]=d;b=b+1|0;e=128;d=0;break J}e=e>>>1|0}if((e|0)==128){break y}}t[b|0]=d}t[l+9|0]=i;e=B(i,w[l+10|0]);t[l+11|0]=e;c=v[l>>2];b=l;e=e&255;K:{if(e>>>0>=8){c=B(c,e>>>3|0);break K}c=B(c,e)+7>>>3|0}v[b+4>>2]=c}c=v[a+208>>2]}if(c&16){FT(l,v[a+356>>2]+1|0);c=v[a+208>>2]}if(c&8){d=v[a+356>>2]+1|0;e=Ma-32|0;Ma=e;f=w[l+8|0];L:{if((f|0)==3){break L}b=w[l+9|0];M:{if(f&2){g=w[a+497|0];c=w[a+498|0];v[e+4>>2]=c;v[e+20>>2]=b-c;c=w[a+499|0];v[e+8>>2]=c;v[e+24>>2]=b-c;h=3;break M}g=w[a+500|0];h=1}v[e>>2]=g;c=b-g|0;v[e+16>>2]=c;if(f&4){f=h<<2;i=w[a+501|0];v[(f|e)>>2]=i;v[(f|e+16)>>2]=b-i;h=h+1|0}N:{if(b>>>0<=7){h=v[l+4>>2];if(!h){break L}if(!b){break N}f=w[a+500|0];i=(b|0)==4?(f|0)==3?17:255:255;j=(f|0)==1?(b|0)==2?85:i:i;o=(c|0)<1;i=0;while(1){k=w[d|0];b=c;f=0;if(!o){while(1){f=k<0){continue}break}}t[d|0]=j&k>>>0-b|f;d=d+1|0;i=i+1|0;if((h|0)!=(i|0)){continue}break}break L}c=B(v[l>>2],h);if((b|0)==8){if(!c){break L}i=0;while(1){g=w[d|0];t[d|0]=0;f=(i>>>0)%(h>>>0)<<2;b=v[f+(e+16|0)>>2];k=v[f+e>>2];if((b|0)>(0-k|0)){f=0;if((b|0)>=1){while(1){f=g<0){continue}break}}t[d|0]=g>>>0-b|f}d=d+1|0;i=i+1|0;if((c|0)!=(i|0)){continue}break}break L}if(!c){break L}g=0;while(1){f=0;i=0;k=(g>>>0)%(h>>>0)<<2;b=v[k+(e+16|0)>>2];k=v[e+k>>2];if((b|0)>(0-k|0)){i=w[d+1|0]|w[d|0]<<8;while(1){j=(b|0)>0;f=(j?i<>>0-b|0)|f;b=b-k|0;if(j){continue}break}i=(f&65280)>>>8|0}t[d+1|0]=f;t[d|0]=i;d=d+2|0;g=g+1|0;if((c|0)!=(g|0)){continue}break}break L}eb(d,0,h)}Ma=e+32|0;c=v[a+208>>2]}if(c&131072){b=v[a+356>>2]+1|0;O:{P:{switch(w[l+8|0]-4|0){case 2:e=v[l>>2];if(w[l+9|0]==8){if(!e){break O}if((e|0)!=1){c=e&-2;while(1){d=w[b|0];t[b|0]=w[b+1|0];f=w[b+2|0]|w[b+3|0]<<8;t[b+1|0]=f;t[b+2|0]=f>>>8;t[b+3|0]=d;d=w[b+4|0];t[b+4|0]=w[b+5|0];f=w[b+6|0]|w[b+7|0]<<8;t[b+5|0]=f;t[b+6|0]=f>>>8;t[b+7|0]=d;b=b+8|0;c=c-2|0;if(c){continue}break}}if(!(e&1)){break O}c=w[b|0];t[b|0]=w[b+1|0];e=w[b+2|0]|w[b+3|0]<<8;t[b+1|0]=e;t[b+2|0]=e>>>8;t[b+3|0]=c;break O}if(!e){break O}c=0;while(1){d=w[b|0]|w[b+1|0]<<8;t[b|0]=w[b+2|0];f=w[b+3|0]|w[b+4|0]<<8;t[b+3|0]=w[b+5|0];t[b+1|0]=f;t[b+2|0]=f>>>8;f=w[b+6|0]|w[b+7|0]<<8;t[b+4|0]=f;t[b+5|0]=f>>>8;t[b+6|0]=d;t[b+7|0]=d>>>8;b=b+8|0;c=c+1|0;if((e|0)!=(c|0)){continue}break};break O;case 0:break P;default:break O}}e=v[l>>2];if(w[l+9|0]==8){if(!e){break O}c=e&3;if(e-1>>>0>=3){d=e&-4;while(1){e=w[b+1|0];t[b+1|0]=w[b|0];t[b|0]=e;e=w[b+2|0];t[b+2|0]=w[b+3|0];t[b+3|0]=e;e=w[b+4|0];t[b+4|0]=w[b+5|0];t[b+5|0]=e;e=w[b+6|0];t[b+6|0]=w[b+7|0];t[b+7|0]=e;b=b+8|0;d=d-4|0;if(d){continue}break}}if(!c){break O}while(1){e=w[b+1|0];t[b+1|0]=w[b|0];t[b|0]=e;b=b+2|0;c=c-1|0;if(c){continue}break}break O}if(!e){break O}if((e|0)!=1){c=e&-2;while(1){d=C3a(w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24),16);t[b|0]=d;t[b+1|0]=d>>>8;t[b+2|0]=d>>>16;t[b+3|0]=d>>>24;d=C3a(w[b+4|0]|w[b+5|0]<<8|(w[b+6|0]<<16|w[b+7|0]<<24),16);t[b+4|0]=d;t[b+5|0]=d>>>8;t[b+6|0]=d>>>16;t[b+7|0]=d>>>24;b=b+8|0;c=c-2|0;if(c){continue}break}}if(!(e&1)){break O}c=C3a(w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24),16);t[b|0]=c;t[b+1|0]=c>>>8;t[b+2|0]=c>>>16;t[b+3|0]=c>>>24}c=v[a+208>>2]}Q:{if(!(c&524288)){break Q}c=v[a+356>>2]+1|0;R:{switch(w[l+8|0]-4|0){case 2:b=v[l>>2];if(w[l+9|0]==8){if(!b){break Q}d=b&3;if(b-1>>>0>=3){b=b&-4;while(1){t[c+3|0]=w[c+3|0]^-1;t[c+7|0]=w[c+7|0]^-1;t[c+11|0]=w[c+11|0]^-1;t[c+15|0]=w[c+15|0]^-1;c=c+16|0;b=b-4|0;if(b){continue}break}}if(!d){break Q}while(1){t[c+3|0]=w[c+3|0]^-1;c=c+4|0;d=d-1|0;if(d){continue}break}break Q}if(!b){break Q}d=b&3;if(b-1>>>0>=3){b=b&-4;while(1){t[c+6|0]=w[c+6|0]^-1;t[c+7|0]=w[c+7|0]^-1;t[c+14|0]=w[c+14|0]^-1;t[c+15|0]=w[c+15|0]^-1;t[c+22|0]=w[c+22|0]^-1;t[c+23|0]=w[c+23|0]^-1;t[c+30|0]=w[c+30|0]^-1;t[c+31|0]=w[c+31|0]^-1;c=c+32|0;b=b-4|0;if(b){continue}break}}if(!d){break Q}while(1){t[c+6|0]=w[c+6|0]^-1;t[c+7|0]=w[c+7|0]^-1;c=c+8|0;d=d-1|0;if(d){continue}break};break Q;case 0:break R;default:break Q}}b=v[l>>2];if(w[l+9|0]==8){if(!b){break Q}d=b&3;if(b-1>>>0>=3){b=b&-4;while(1){t[c+1|0]=w[c+1|0]^-1;t[c+3|0]=w[c+3|0]^-1;t[c+5|0]=w[c+5|0]^-1;t[c+7|0]=w[c+7|0]^-1;c=c+8|0;b=b-4|0;if(b){continue}break}}if(!d){break Q}while(1){t[c+1|0]=w[c+1|0]^-1;c=c+2|0;d=d-1|0;if(d){continue}break}break Q}if(!b){break Q}d=b&3;if(b-1>>>0>=3){b=b&-4;while(1){t[c+2|0]=w[c+2|0]^-1;t[c+3|0]=w[c+3|0]^-1;t[c+6|0]=w[c+6|0]^-1;t[c+7|0]=w[c+7|0]^-1;t[c+10|0]=w[c+10|0]^-1;t[c+11|0]=w[c+11|0]^-1;t[c+14|0]=w[c+14|0]^-1;t[c+15|0]=w[c+15|0]^-1;c=c+16|0;b=b-4|0;if(b){continue}break}}if(!d){break Q}while(1){t[c+2|0]=w[c+2|0]^-1;t[c+3|0]=w[c+3|0]^-1;c=c+4|0;d=d-1|0;if(d){continue}break}}b=v[a+208>>2];if(b&1){yT(l,v[a+356>>2]+1|0);b=v[a+208>>2]}if(!(b&32)){break v}HT(l,v[a+356>>2]+1|0)}}b=w[l+11|0];if((b|0)!=w[a+404|0]|(b|0)!=w[a+409|0]){break a}if(!(!(w[a+660|0]&4)|w[a+664|0]!=64)){f=v[a+356>>2]+1|0;d=w[l+8|0];S:{if(!(d&2)){break S}b=v[l>>2];T:{switch(w[l+9|0]-8|0){case 0:e=3;U:{switch(d-2|0){case 4:e=4;break;case 0:break U;default:break S}}if(!b){break S}if((b|0)!=1){d=b&-2;while(1){c=w[f+1|0];t[f|0]=w[f|0]-c;t[f+2|0]=w[f+2|0]-c;c=f+e|0;f=w[c+1|0];t[c+2|0]=w[c+2|0]-f;t[c|0]=w[c|0]-f;f=c+e|0;d=d-2|0;if(d){continue}break}}if(!(b&1)){break S}b=w[f+1|0];t[f|0]=w[f|0]-b;t[f+2|0]=w[f+2|0]-b;break S;case 8:break T;default:break S}}c=6;V:{switch(d-2|0){case 4:c=8;break;case 0:break V;default:break S}}if(!b){break S}e=0;while(1){d=w[f+3|0]|w[f+2|0]<<8;i=(w[f+5|0]|w[f+4|0]<<8)-d|0;t[f+5|0]=i;d=(w[f+1|0]|w[f|0]<<8)-d|0;t[f+1|0]=d;t[f+4|0]=i>>>8;t[f|0]=d>>>8;f=c+f|0;e=e+1|0;if((b|0)!=(e|0)){continue}break}}}r=w[l+11|0];c=r+7|0;j=a;i=v[a+356>>2];o=v[l+4>>2];e=2147483647;q=w[a+400|0];W:{if(!(q&8)|(q|0)==8){break W}if(!o){e=0;break W}a=o&3;X:{if(o-1>>>0<3){e=0;f=i;break X}b=o&-4;e=0;f=i;while(1){g=e;e=t[f+1|0];d=e&255;g=g+((e|0)>-1?d:256-d|0)|0;e=t[f+2|0];d=e&255;g=g+((e|0)>-1?d:256-d|0)|0;e=t[f+3|0];d=e&255;g=g+((e|0)>-1?d:256-d|0)|0;e=t[f+4|0];d=e&255;e=g+((e|0)>-1?d:256-d|0)|0;f=f+4|0;b=b-4|0;if(b){continue}break}}if(!a){break W}while(1){d=e;b=t[f+1|0];e=b&255;e=d+((b|0)>-1?e:256-e|0)|0;f=f+1|0;a=a-1|0;if(a){continue}break}}m=c>>>3|0;k=v[j+352>>2];Y:{Z:{_:{$:{if((q|0)==16){b=i+1|0;f=v[j+360>>2]+1|0;if(!r){d=0;a=b;break _}d=m>>>0>1?m:1;g=d&7;if(d-1>>>0<7){a=b;break $}c=d&56;a=b;while(1){t[f|0]=w[a|0];t[f+1|0]=w[a+1|0];t[f+2|0]=w[a+2|0];t[f+3|0]=w[a+3|0];t[f+4|0]=w[a+4|0];t[f+5|0]=w[a+5|0];t[f+6|0]=w[a+6|0];t[f+7|0]=w[a+7|0];f=f+8|0;a=a+8|0;c=c-8|0;if(c){continue}break}break $}f=i;if(!(q&16)){break Y}d=i+1|0;f=v[j+360>>2]+1|0;aa:{if(!r){c=0;b=0;a=d;break aa}c=m>>>0>1?m:1;n=c&3;ba:{if(c-1>>>0<3){b=0;a=d;break ba}g=c&60;b=0;a=d;while(1){h=t[a|0];t[f|0]=h;s=t[a+1|0];t[f+1|0]=s;u=t[a+2|0];t[f+2|0]=u;x=t[a+3|0];t[f+3|0]=x;p=b;b=h&255;h=p+((h|0)>-1?b:256-b|0)|0;b=s&255;h=h+((s|0)>-1?b:256-b|0)|0;b=u&255;h=h+((u|0)>-1?b:256-b|0)|0;b=x&255;b=h+((x|0)>-1?b:256-b|0)|0;f=f+4|0;a=a+4|0;g=g-4|0;if(g){continue}break}}if(!n){break aa}while(1){g=t[a|0];t[f|0]=g;h=b;b=g&255;b=h+((g|0)>-1?b:256-b|0)|0;f=f+1|0;a=a+1|0;n=n-1|0;if(n){continue}break}}ca:{if(c>>>0>=o>>>0){break ca}while(1){g=w[a|0]-w[d|0]|0;t[f|0]=g;h=b;b=g&255;b=h+(g<<24>>24>-1?b:256-b|0)|0;if(e>>>0>>0){break ca}f=f+1|0;d=d+1|0;a=a+1|0;c=c+1|0;if(o>>>0>c>>>0){continue}break}}f=i;if(b>>>0>=e>>>0){break Y}c=j+360|0;e=b;break Z}if(!g){break _}while(1){t[f|0]=w[a|0];f=f+1|0;a=a+1|0;g=g-1|0;if(g){continue}break}}c=j+360|0;if(d>>>0>=o>>>0){break Z}h=o+(d^-1)|0;g=o-d&3;if(g){while(1){t[f|0]=w[a|0]-w[b|0];f=f+1|0;b=b+1|0;a=a+1|0;d=d+1|0;g=g-1|0;if(g){continue}break}}if(h>>>0<3){break Z}while(1){t[f|0]=w[a|0]-w[b|0];t[f+1|0]=w[a+1|0]-w[b+1|0];t[f+2|0]=w[a+2|0]-w[b+2|0];t[f+3|0]=w[a+3|0]-w[b+3|0];f=f+4|0;b=b+4|0;a=a+4|0;d=d+4|0;if((o|0)!=(d|0)){continue}break}}f=v[c>>2]}da:{ea:{fa:{if((q|0)==32){f=v[j+364>>2];if(!o){break da}d=o&3;ga:{if(o-1>>>0<3){a=i;b=k;break ga}g=o&-4;a=i;b=k;while(1){t[f+1|0]=w[a+1|0]-w[b+1|0];t[f+2|0]=w[a+2|0]-w[b+2|0];t[f+3|0]=w[a+3|0]-w[b+3|0];t[f+4|0]=w[a+4|0]-w[b+4|0];a=a+4|0;f=f+4|0;b=b+4|0;g=g-4|0;if(g){continue}break}}n=j+364|0;if(d){while(1){t[f+1|0]=w[a+1|0]-w[b+1|0];a=a+1|0;f=f+1|0;b=b+1|0;d=d-1|0;if(d){continue}break}}c=e;break fa}if(!(q&32)){break ea}n=j+364|0;ha:{if(!o){c=0;break ha}b=v[j+364>>2];h=0;d=i;g=k;c=0;while(1){a=w[d+1|0]-w[g+1|0]|0;t[b+1|0]=a;p=c;c=a&255;c=p+(a<<24>>24>-1?c:256-c|0)|0;if(e>>>0>>0){break ha}d=d+1|0;b=b+1|0;g=g+1|0;h=h+1|0;if(o>>>0>h>>>0){continue}break}}if(c>>>0>=e>>>0){break ea}}f=v[n>>2];e=c}ia:{ja:{ka:{la:{if((q|0)==64){a=k+1|0;d=i+1|0;b=v[j+368>>2]+1|0;if(!r){h=0;f=d;break ka}h=m>>>0>1?m:1;g=h&3;if(h-1>>>0<3){f=d;break la}c=h&60;f=d;while(1){t[b|0]=w[f|0]-(w[a|0]>>>1|0);t[b+1|0]=w[f+1|0]-(w[a+1|0]>>>1|0);t[b+2|0]=w[f+2|0]-(w[a+2|0]>>>1|0);t[b+3|0]=w[f+3|0]-(w[a+3|0]>>>1|0);b=b+4|0;a=a+4|0;f=f+4|0;c=c-4|0;if(c){continue}break}break la}if(!(q&64)){break ia}b=k+1|0;c=i+1|0;d=v[j+368>>2]+1|0;ma:{if(!r){g=0;a=c;h=0;break ma}h=m>>>0>1?m:1;x=h&1;na:{if(r>>>0<9){g=0;a=c;break na}n=h&62;g=0;a=c;while(1){s=w[a|0]-(w[b|0]>>>1|0)|0;t[d|0]=s;u=w[a+1|0]-(w[b+1|0]>>>1|0)|0;t[d+1|0]=u;p=g;g=s&255;p=p+(s<<24>>24>-1?g:256-g|0)|0;g=u&255;g=p+(u<<24>>24>-1?g:256-g|0)|0;d=d+2|0;b=b+2|0;a=a+2|0;n=n-2|0;if(n){continue}break}}if(!x){break ma}n=w[a|0]-(w[b|0]>>>1|0)|0;t[d|0]=n;p=g;g=n&255;g=p+(n<<24>>24>-1?g:256-g|0)|0;d=d+1|0;b=b+1|0;a=a+1|0}oa:{if(h>>>0>=o>>>0){break oa}while(1){n=w[a|0]-(w[c|0]+w[b|0]>>>1|0)|0;t[d|0]=n;p=g;g=n&255;g=p+(n<<24>>24>-1?g:256-g|0)|0;if(g>>>0>e>>>0){break oa}a=a+1|0;b=b+1|0;c=c+1|0;d=d+1|0;h=h+1|0;if(o>>>0>h>>>0){continue}break}}if(e>>>0<=g>>>0){break ia}c=j+368|0;e=g;break ja}if(!g){break ka}while(1){t[b|0]=w[f|0]-(w[a|0]>>>1|0);b=b+1|0;a=a+1|0;f=f+1|0;g=g-1|0;if(g){continue}break}}c=j+368|0;if(h>>>0>=o>>>0){break ja}g=h+1|0;if(o-h&1){t[b|0]=w[f|0]-(w[i+1|0]+w[a|0]>>>1|0);b=b+1|0;d=i+2|0;f=f+1|0;h=g;a=a+1|0}if((g|0)==(o|0)){break ja}while(1){t[b|0]=w[f|0]-(w[d|0]+w[a|0]>>>1|0);t[b+1|0]=w[f+1|0]-(w[d+1|0]+w[a+1|0]>>>1|0);b=b+2|0;d=d+2|0;a=a+2|0;f=f+2|0;h=h+2|0;if((o|0)!=(h|0)){continue}break}}f=v[c>>2]}pa:{qa:{ra:{if((q|0)==128){e=k+1|0;d=i+1|0;f=v[j+372>>2]+1|0;if(!r){h=0;a=d;b=e;break qa}h=m>>>0>1?m:1;g=h&3;if(h-1>>>0<3){b=e;a=d;break ra}c=h&60;b=e;a=d;while(1){t[f|0]=w[a|0]-w[b|0];t[f+1|0]=w[a+1|0]-w[b+1|0];t[f+2|0]=w[a+2|0]-w[b+2|0];t[f+3|0]=w[a+3|0]-w[b+3|0];f=f+4|0;b=b+4|0;a=a+4|0;c=c-4|0;if(c){continue}break}break ra}if(!(q&128)){break da}c=k+1|0;h=i+1|0;d=v[j+372>>2]+1|0;sa:{if(!r){g=0;a=h;b=c;i=0;break sa}i=m>>>0>1?m:1;q=i&1;ta:{if(r>>>0<9){g=0;b=c;a=h;break ta}n=i&62;g=0;b=c;a=h;while(1){k=w[a|0]-w[b|0]|0;t[d|0]=k;m=w[a+1|0]-w[b+1|0]|0;t[d+1|0]=m;p=g;g=k&255;k=p+(k<<24>>24>-1?g:256-g|0)|0;g=m&255;g=k+(m<<24>>24>-1?g:256-g|0)|0;d=d+2|0;b=b+2|0;a=a+2|0;n=n-2|0;if(n){continue}break}}if(!q){break sa}k=w[a|0]-w[b|0]|0;t[d|0]=k;m=g;g=k&255;g=m+(k<<24>>24>-1?g:256-g|0)|0;d=d+1|0;b=b+1|0;a=a+1|0}ua:{if(i>>>0>=o>>>0){break ua}while(1){s=w[h|0];k=w[c|0];m=s-k|0;n=m>>31;u=w[b|0];q=u-k|0;x=q+m|0;r=x>>31;p=k;k=n^m+n;m=r^r+x;n=k>>>0>m>>>0?p:u;p=m;m=q>>31;m=m+q^m;k=w[a|0]-(k>>>0>>0?n:p>>>0>>0?n:s)|0;t[d|0]=k;m=g;g=k&255;g=m+(k<<24>>24>-1?g:256-g|0)|0;if(g>>>0>e>>>0){break ua}b=b+1|0;c=c+1|0;h=h+1|0;a=a+1|0;d=d+1|0;i=i+1|0;if(o>>>0>i>>>0){continue}break}}if(e>>>0<=g>>>0){break da}g=j+372|0;break pa}if(!g){break qa}while(1){t[f|0]=w[a|0]-w[b|0];f=f+1|0;b=b+1|0;a=a+1|0;g=g-1|0;if(g){continue}break}}g=j+372|0;if(h>>>0>=o>>>0){break pa}while(1){q=w[d|0];c=w[e|0];i=q-c|0;k=i>>31;r=w[b|0];m=r-c|0;s=m+i|0;n=s>>31;p=c;c=k^i+k;i=n^n+s;k=c>>>0>i>>>0?p:r;p=i;i=m>>31;i=i+m^i;t[f|0]=w[a|0]-(c>>>0>>0?k:p>>>0>>0?k:q);f=f+1|0;a=a+1|0;d=d+1|0;e=e+1|0;b=b+1|0;h=h+1|0;if((o|0)!=(h|0)){continue}break}}f=v[g>>2]}a=v[l+4>>2];v[j+216>>2]=0;v[j+212>>2]=f;b=j+212|0;a=a+1|0;f=0;va:{wa:{while(1){if(!f){v[j+216>>2]=a;a=0}if(ck(b,0)){a=v[j+236>>2];if(a){break wa}dc(j,48900);L()}if(!v[j+228>>2]){zu(j,v[j+268>>2],v[j+272>>2])}f=v[j+216>>2];if(f|a){continue}break}a=v[j+352>>2];if(a){b=v[j+356>>2];v[j+356>>2]=a;v[j+352>>2]=b}$m(j);a=v[j+452>>2]+1|0;v[j+452>>2]=a;b=v[j+448>>2];if(!(!b|a>>>0>>0)){xa:{if(!j|y[j+344>>2]>=y[j+328>>2]){break xa}ya:{b=j+212|0;if(ck(b,2)){break ya}while(1){a=v[j+228>>2];if(!a){zu(j,v[j+268>>2],v[j+272>>2]);if(!ck(b,2)){continue}break ya}break}b=v[j+272>>2];if((b|0)!=(a|0)){zu(j,v[j+268>>2],b-a|0)}v[j+452>>2]=0;a=v[j+444>>2];if(a){Qa[a|0](j)}break xa}a=v[j+236>>2];if(!a){dc(j,20515);L()}dc(j,a);L()}}break va}dc(j,a);L()}a=v[j+524>>2];if(!a){break c}Qa[a|0](j,v[j+344>>2],w[j+399|0])}Ma=l+16|0;return}dc(a,15214);L()}dc(a,18023);L()} -function sS(a,b){var 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,u=0,x=0,y=0,z=0,A=0,B=0;k=Ma-1072|0;Ma=k;p=k+48|0;q=p;f=Ma-96|0;Ma=f;v[f+80>>2]=0;v[f+84>>2]=v[279250];j=f- -64|0;v[j>>2]=0;v[j+4>>2]=0;v[f+56>>2]=0;v[f+60>>2]=0;l=f+56|0;v[l>>2]=970612;v[l+4>>2]=0;v[l+8>>2]=0;v[l+12>>2]=0;t[f+72|0]=0;d=v[j>>2];if(d){while(1){a:{b:{c=v[d+8>>2];if(v[c+8>>2]!=4){break b}j=f+88|0;cj(j,c);c=Hb(j,287152,-1);db(j);if(c){break b}v[f+92>>2]=f+56;v[f+88>>2]=d;d=v[d>>2];Ag(l,f+88|0);break a}d=v[d>>2]}if(d){continue}break}}j=a;a=v[a+8>>2];if((a|0)!=-1){v[f+8>>2]=a&255;v[f+4>>2]=a>>>8&255;v[f>>2]=a>>>16&255;Gd(f+80|0,331021,f);a=v[f+80>>2];a=v[(a?a+12|0:1117e3)>>2];v[f+88>>2]=a;c:{if(!a){break c}e=w[a|0];if(w[f+72|0]|!e){break c}d=0;while(1){d:{c=a;e:{if((d|0)!=92){if((d|0)!=34){if(d){break e}d=(e|0)==34?34:0;break e}if((e|0)==34){d=0;break e}if((e|0)==92){d=92;break e}if(e>>>0<32){break d}d=34;if((e|0)!=127){break e}break d}d=34;if(!ag(308332,e<<24>>24,18)){break d}}a=c+1|0;e=w[c+1|0];if(e){continue}break c}break}t[f+72|0]=1}a=f+56|0;bn(a,260392,a,f+88|0)}d=v[f+64>>2];if(d){while(1){f:{g:{c=v[d+8>>2];if(v[c+8>>2]!=4){break g}a=f+88|0;cj(a,c);c=Hb(a,255544,-1);db(a);if(c){break g}v[f+92>>2]=f+56;v[f+88>>2]=d;d=v[d>>2];Ag(l,f+88|0);break f}d=v[d>>2]}if(d){continue}break}}a=v[j+12>>2];if(!((a|0)<=0&(!a|(a|0)<-4))){oi(f+80|0,337041);a=v[j+12>>2];h:{if((a|0)<=-1){_m(f+80|0,v[971216-(a<<2)>>2]);break h}c=f+88|0;a=Qe(f+48|0,a);Rc(c,292113,a);Cd(f+80|0,c);db(c);db(a)}_m(f+80|0,335639);a=v[f+80>>2];a=v[(a?a+12|0:1117e3)>>2];v[f+88>>2]=a;i:{if(!a){break i}e=w[a|0];if(w[f+72|0]|!e){break i}d=0;while(1){j:{c=a;k:{if((d|0)!=92){if((d|0)!=34){if(d){break k}d=(e|0)==34?34:0;break k}if((e|0)==34){d=0;break k}if((e|0)==92){d=92;break k}if(e>>>0<32){break j}d=34;if((e|0)!=127){break k}break j}d=34;if(!ag(308332,e<<24>>24,18)){break j}}a=c+1|0;e=w[c+1|0];if(e){continue}break i}break}t[f+72|0]=1}a=f+56|0;bn(a,260392,a,f+88|0)}d=v[f+64>>2];if(d){while(1){l:{m:{c=v[d+8>>2];if(v[c+8>>2]!=4){break m}a=f+88|0;cj(a,c);c=Hb(a,283443,-1);db(a);if(c){break m}v[f+92>>2]=f+56;v[f+88>>2]=d;d=v[d>>2];Ag(l,f+88|0);break l}d=v[d>>2]}if(d){continue}break}}a=v[j+16>>2];if(a-1>>>0<=3){c=f+48|0;d=Oc(f+40|0,v[(a<<2)+971248>>2]);Rc(c,337168,d);ic(f+88|0,c,335639);a=v[f+88>>2];n:{if(a){Qa[v[v[a>>2]+28>>2]](f+32|0,a,1);break n}v[f+32>>2]=0}jb(f+80|0,f+32|0);a=v[f+32>>2];v[f+32>>2]=0;o:{if(!a){break o}c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(c){break o}c=v[a+4>>2];if(!c){v[a+4>>2]=-32767}if(!c){Qa[v[v[a>>2]+4>>2]](a)}}a=v[f+80>>2];v[f+84>>2]=v[(a?a+12|0:1117e3)>>2];db(f+88|0);db(f+48|0);db(d);a=v[f+80>>2];a=v[(a?a+12|0:1117e3)>>2];v[f+88>>2]=a;p:{if(!a){break p}e=w[a|0];if(w[f+72|0]|!e){break p}d=0;while(1){q:{c=a;r:{if((d|0)!=92){if((d|0)!=34){if(d){break r}d=(e|0)==34?34:0;break r}if((e|0)==34){d=0;break r}if((e|0)==92){d=92;break r}if(e>>>0<32){break q}d=34;if((e|0)!=127){break r}break q}d=34;if(!ag(308332,e<<24>>24,18)){break q}}a=c+1|0;e=w[c+1|0];if(e){continue}break p}break}t[f+72|0]=1}a=f+56|0;bn(a,260392,a,f+88|0)}d=v[f+64>>2];if(d){while(1){s:{t:{c=v[d+8>>2];if(v[c+8>>2]!=4){break t}a=f+88|0;cj(a,c);c=Hb(a,248115,-1);db(a);if(c){break t}v[f+92>>2]=f+56;v[f+88>>2]=d;d=v[d>>2];Ag(l,f+88|0);break s}d=v[d>>2]}if(d){continue}break}}if(v[j+20>>2]|v[j+24>>2]){a=f+32|0;c=Oc(f+24|0,337033);d=v[j+20>>2];ic(a,c,v[((d>>>0>5?0:d)<<2)+971280>>2]);d=f+40|0;ic(d,a,337465);a=f+48|0;h=d;d=v[j+24>>2];ic(a,h,v[((d>>>0>5?0:d)<<2)+971280>>2]);ic(f+88|0,a,335639);a=v[f+88>>2];u:{if(a){Qa[v[v[a>>2]+28>>2]](f+16|0,a,1);break u}v[f+16>>2]=0}jb(f+80|0,f+16|0);a=v[f+16>>2];v[f+16>>2]=0;v:{if(!a){break v}d=v[a+4>>2]-1|0;v[a+4>>2]=d;if(d){break v}d=v[a+4>>2];if(!d){v[a+4>>2]=-32767}if(!d){Qa[v[v[a>>2]+4>>2]](a)}}a=v[f+80>>2];v[f+84>>2]=v[(a?a+12|0:1117e3)>>2];db(f+88|0);db(f+48|0);db(f+40|0);db(f+32|0);db(c);a=v[f+80>>2];a=v[(a?a+12|0:1117e3)>>2];v[f+88>>2]=a;w:{if(!a){break w}e=w[a|0];if(w[f+72|0]|!e){break w}d=0;while(1){x:{c=a;y:{if((d|0)!=92){if((d|0)!=34){if(d){break y}d=(e|0)==34?34:0;break y}if((e|0)==34){d=0;break y}if((e|0)==92){d=92;break y}if(e>>>0<32){break x}d=34;if((e|0)!=127){break y}break x}d=34;if(!ag(308332,e<<24>>24,18)){break x}}a=c+1|0;e=w[c+1|0];if(e){continue}break w}break}t[f+72|0]=1}a=f+56|0;bn(a,260392,a,f+88|0)}d=v[f+64>>2];if(d){while(1){z:{A:{c=v[d+8>>2];if(v[c+8>>2]!=4){break A}a=f+88|0;cj(a,c);c=Hb(a,303495,-1);db(a);if(c){break A}v[f+92>>2]=f+56;v[f+88>>2]=d;d=v[d>>2];Ag(l,f+88|0);break z}d=v[d>>2]}if(d){continue}break}}B:{C:{if(v[j+48>>2]){g=Oc(f+88|0,335642);_m(g,303495);a=j+44|0;c=v[a+24>>2];v[f+52>>2]=a;v[f+48>>2]=c;D:{d=v[f+48>>2];if(!d){break D}E:{while(1){if((a|0)==v[f+52>>2]){c=f+16|0;Rc(c,335641,d+16|0);ic(f+24|0,c,336745);d=v[f+48>>2];if(!d|(a|0)!=v[f+52>>2]){break E}c=f+32|0;e=f+24|0;Xb(c,e,d+24|0);d=f+40|0;ic(d,c,335635);Cd(g,d);db(d);db(c);db(e);db(f+16|0);c=v[f+48>>2];if(!c){break D}d=v[c>>2];v[f+48>>2]=d;if(d){continue}break D}break}break C}break C}_m(g,335638);a=v[g>>2];a=v[(a?a+12|0:1117e3)>>2];v[f+48>>2]=a;F:{if(!a){break F}e=w[a|0];if(w[f+72|0]|!e){break F}d=0;while(1){G:{c=a;H:{if((d|0)!=92){if((d|0)!=34){if(d){break H}d=(e|0)==34?34:0;break H}if((e|0)==34){d=0;break H}if((e|0)==92){d=92;break H}if(e>>>0<32){break G}d=34;if((e|0)!=127){break H}break G}d=34;if(!ag(308332,e<<24>>24,18)){break G}}a=c+1|0;e=w[c+1|0];if(e){continue}break F}break}t[f+72|0]=1}a=f+56|0;bn(a,260392,a,f+48|0);db(g)}d=v[f+64>>2];if(d){while(1){I:{J:{c=v[d+8>>2];if(v[c+8>>2]!=4){break J}a=f+88|0;cj(a,c);c=Hb(a,977348,-1);db(a);if(c){break J}v[f+92>>2]=f+56;v[f+88>>2]=d;d=v[d>>2];Ag(l,f+88|0);break I}d=v[d>>2]}if(d){continue}break}}o=v[j+36>>2];if(o){while(1){a=Ma-240|0;Ma=a;g=v[o+8>>2];if(!w[g+88|0]){y=g,z=Qa[v[v[g>>2]+36>>2]](g)|0,v[y+72>>2]=z;y=g,z=Qa[v[v[g>>2]+44>>2]](g)|0,v[y+76>>2]=z;y=g,z=Qa[v[v[g>>2]+40>>2]](g)|0,v[y+80>>2]=z;c=Qa[v[v[g>>2]+48>>2]](g)|0;t[g+88|0]=1;v[g+84>>2]=c}m=f+88|0;K:{c=977696;L:{if(v[g+76>>2]==v[g+72>>2]){break L}c=977728;if(v[g+84>>2]==v[g+80>>2]){break L}d=v[g+44>>2];e=v[g+32>>2];if(e-1>>>0<=1){c=977760;if((d|0)!=1){break L}}if(e-3>>>0<=3){c=977792;if(d-3>>>0>29){break L}}c=Qa[v[v[g>>2]+68>>2]](g)|0}if(!w[c|0]){v[a+208>>2]=0;c=v[279250];v[a+212>>2]=c;v[a+204>>2]=c;v[a+200>>2]=0;v[a+196>>2]=c;v[a+192>>2]=0;v[a+188>>2]=c;v[a+184>>2]=0;v[a+180>>2]=c;v[a+176>>2]=0;c=v[g+8>>2];M:{if(c){Qa[v[v[c>>2]+28>>2]](a+168|0,c,1);break M}v[a+168>>2]=0}jb(a+176|0,a+168|0);c=v[a+168>>2];d=0;v[a+168>>2]=0;N:{if(!c){break N}e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(e){break N}e=v[c+4>>2];if(!e){v[c+4>>2]=-32767}if(!e){Qa[v[v[c>>2]+4>>2]](c)}}e=v[a+176>>2];v[a+180>>2]=v[(e?e+12|0:1117e3)>>2];while(1){O:{P:{Q:{R:{if(((e?v[e+8>>2]:0)|0)<=(d|0)){d=0;while(1){c=v[g+16>>2];if(c){h=v[c+8>>2]}else{h=0}if((h|0)<=(d|0)){d=0;while(1){S:{T:{c=v[g+24>>2];if(c){h=v[c+8>>2]}else{h=0}if((h|0)>(d|0)){if(d){if(!c|v[c+8>>2]<(d|0)){break R}break T}if(c){break T}e=0;break S}v[a+168>>2]=0;v[a+172>>2]=v[279250];c=v[g+40>>2];v[a+56>>2]=c&255;v[a+48>>2]=c>>>16&255;v[a+52>>2]=c>>>8&255;Gd(a+168|0,308660,a+48|0);U:{if(t[1166220]&1){break U}if(!ie(1166220)){break U}wj(1166212,40);he(1166220)}V:{if(t[1166232]&1){break V}if(!ie(1166232)){break V}wj(1166224,41);he(1166232)}W:{if(t[1166244]&1){break W}if(!ie(1166244)){break W}wj(1166236,32);he(1166244)}X:{if(t[1166256]&1){break X}if(!ie(1166256)){break X}wj(1166248,34);he(1166256)}v[a+160>>2]=0;v[a+164>>2]=v[279250];Y:{Z:{switch(v[g+32>>2]){case 0:c=a+144|0;ic(c,1166212,977371);Xb(a+152|0,c,1166224);c=v[a+152>>2];_:{if(c){Qa[v[v[c>>2]+28>>2]](a+136|0,c,1);break _}v[a+136>>2]=0}jb(a+160|0,a+136|0);c=v[a+136>>2];v[a+136>>2]=0;$:{if(!c){break $}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break $}d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}}c=v[a+160>>2];v[a+164>>2]=v[(c?c+12|0:1117e3)>>2];db(a+152|0);db(a+144|0);break Y;case 1:c=a+144|0;ic(c,1166212,977376);Xb(a+152|0,c,1166224);c=v[a+152>>2];aa:{if(c){Qa[v[v[c>>2]+28>>2]](a+136|0,c,1);break aa}v[a+136>>2]=0}jb(a+160|0,a+136|0);c=v[a+136>>2];v[a+136>>2]=0;ba:{if(!c){break ba}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break ba}d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}}c=v[a+160>>2];v[a+164>>2]=v[(c?c+12|0:1117e3)>>2];db(a+152|0);db(a+144|0);break Y;case 2:c=a+128|0;ic(c,1166212,977380);d=a+136|0;Xb(d,c,1166236);c=a+144|0;Xb(c,d,a+168|0);Xb(a+152|0,c,1166224);c=v[a+152>>2];ca:{if(c){Qa[v[v[c>>2]+28>>2]](a+120|0,c,1);break ca}v[a+120>>2]=0}jb(a+160|0,a+120|0);c=v[a+120>>2];v[a+120>>2]=0;da:{if(!c){break da}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break da}d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}}c=v[a+160>>2];v[a+164>>2]=v[(c?c+12|0:1117e3)>>2];db(a+152|0);db(a+144|0);db(a+136|0);db(a+128|0);break Y;case 3:c=a+128|0;ic(c,1166212,977387);d=a+136|0;Xb(d,c,1166236);c=a+144|0;h=d;d=Qe(a+120|0,v[g+44>>2]);Xb(c,h,d);Xb(a+152|0,c,1166224);c=v[a+152>>2];ea:{if(c){Qa[v[v[c>>2]+28>>2]](a+112|0,c,1);break ea}v[a+112>>2]=0}jb(a+160|0,a+112|0);c=v[a+112>>2];v[a+112>>2]=0;fa:{if(!c){break fa}e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(e){break fa}e=v[c+4>>2];if(!e){v[c+4>>2]=-32767}if(!e){Qa[v[v[c>>2]+4>>2]](c)}}c=v[a+160>>2];v[a+164>>2]=v[(c?c+12|0:1117e3)>>2];db(a+152|0);db(a+144|0);db(d);db(a+136|0);db(a+128|0);break Y;case 4:c=a+128|0;ic(c,1166212,977397);d=a+136|0;Xb(d,c,1166236);c=a+144|0;h=d;d=Qe(a+120|0,v[g+44>>2]);Xb(c,h,d);Xb(a+152|0,c,1166224);c=v[a+152>>2];ga:{if(c){Qa[v[v[c>>2]+28>>2]](a+112|0,c,1);break ga}v[a+112>>2]=0}jb(a+160|0,a+112|0);c=v[a+112>>2];v[a+112>>2]=0;ha:{if(!c){break ha}e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(e){break ha}e=v[c+4>>2];if(!e){v[c+4>>2]=-32767}if(!e){Qa[v[v[c>>2]+4>>2]](c)}}c=v[a+160>>2];v[a+164>>2]=v[(c?c+12|0:1117e3)>>2];db(a+152|0);db(a+144|0);db(d);db(a+136|0);db(a+128|0);break Y;case 5:c=a+128|0;ic(c,1166212,977408);d=a+136|0;Xb(d,c,1166236);c=a+144|0;h=d;d=Qe(a+120|0,v[g+44>>2]);Xb(c,h,d);Xb(a+152|0,c,1166224);c=v[a+152>>2];ia:{if(c){Qa[v[v[c>>2]+28>>2]](a+112|0,c,1);break ia}v[a+112>>2]=0}jb(a+160|0,a+112|0);c=v[a+112>>2];v[a+112>>2]=0;ja:{if(!c){break ja}e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(e){break ja}e=v[c+4>>2];if(!e){v[c+4>>2]=-32767}if(!e){Qa[v[v[c>>2]+4>>2]](c)}}c=v[a+160>>2];v[a+164>>2]=v[(c?c+12|0:1117e3)>>2];db(a+152|0);db(a+144|0);db(d);db(a+136|0);db(a+128|0);break Y;case 6:c=a+128|0;ic(c,1166212,977419);d=a+136|0;Xb(d,c,1166236);c=a+144|0;h=d;d=Qe(a+120|0,v[g+44>>2]);Xb(c,h,d);Xb(a+152|0,c,1166224);c=v[a+152>>2];ka:{if(c){Qa[v[v[c>>2]+28>>2]](a+112|0,c,1);break ka}v[a+112>>2]=0}jb(a+160|0,a+112|0);c=v[a+112>>2];v[a+112>>2]=0;la:{if(!c){break la}e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(e){break la}e=v[c+4>>2];if(!e){v[c+4>>2]=-32767}if(!e){Qa[v[v[c>>2]+4>>2]](c)}}c=v[a+160>>2];v[a+164>>2]=v[(c?c+12|0:1117e3)>>2];db(a+152|0);db(a+144|0);db(d);db(a+136|0);db(a+128|0);break Y;default:break Z}}c=a+144|0;ic(c,1166212,977376);Xb(a+152|0,c,1166224);c=v[a+152>>2];ma:{if(c){Qa[v[v[c>>2]+28>>2]](a+136|0,c,1);break ma}v[a+136>>2]=0}jb(a+160|0,a+136|0);c=v[a+136>>2];v[a+136>>2]=0;na:{if(!c){break na}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break na}d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}}c=v[a+160>>2];v[a+164>>2]=v[(c?c+12|0:1117e3)>>2];db(a+152|0);db(a+144|0)}v[a+152>>2]=0;c=v[279250];v[a+156>>2]=c;d=a;e=v[g+48>>2];if((e|0)!=-1){v[a+32>>2]=977443;v[a+44>>2]=e&255;v[a+40>>2]=e>>>8&255;v[a+36>>2]=e>>>16&255;Gd(a+152|0,331002,a+32|0);c=v[279250]}v[d+148>>2]=c;v[a+144>>2]=0;oa:{if(!Hb(a+192|0,977454,-1)){c=a+128|0;Xb(c,1166248,a+200|0);Xb(a+136|0,c,1166248);c=v[a+136>>2];pa:{if(c){Qa[v[v[c>>2]+28>>2]](a+120|0,c,1);break pa}v[a+120>>2]=0}jb(a+144|0,a+120|0);c=v[a+120>>2];v[a+120>>2]=0;qa:{if(!c){break qa}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break qa}d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}}c=v[a+144>>2];v[a+148>>2]=v[(c?c+12|0:1117e3)>>2];db(a+136|0);db(a+128|0);break oa}c=a- -64|0;ic(c,1166212,977450);d=a+72|0;Xb(d,c,1166236);c=a+80|0;Xb(c,d,1166248);d=a+88|0;Xb(d,c,a+200|0);c=a+96|0;Xb(c,d,1166248);d=a+104|0;Xb(d,c,1166236);c=a+112|0;Xb(c,d,1166248);d=a+120|0;Xb(d,c,a+192|0);c=a+128|0;Xb(c,d,1166248);Xb(a+136|0,c,1166224);c=v[a+136>>2];ra:{if(c){Qa[v[v[c>>2]+28>>2]](a+232|0,c,1);break ra}v[a+232>>2]=0}jb(a+144|0,a+232|0);c=v[a+232>>2];v[a+232>>2]=0;sa:{if(!c){break sa}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break sa}d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}}c=v[a+144>>2];v[a+148>>2]=v[(c?c+12|0:1117e3)>>2];db(a+136|0);db(a+128|0);db(a+120|0);db(a+112|0);db(a+104|0);db(a+96|0);db(a+88|0);db(a+80|0);db(a+72|0);db(a- -64|0)}c=a+72|0;ic(c,1166212,977348);d=a+80|0;Xb(d,c,1166236);e=a+88|0;Xb(e,d,a+144|0);i=a+96|0;Xb(i,e,1166236);h=a+104|0;Xb(h,i,1166248);n=a+112|0;Xb(n,h,a+184|0);r=a+120|0;Xb(r,n,1166248);s=a+128|0;Xb(s,r,1166236);u=a- -64|0;Qa[v[v[g>>2]+72>>2]](u,g);x=a+136|0;Xb(x,s,u);Xb(m,x,a+160|0);db(x);db(u);db(s);db(r);db(n);db(h);db(i);db(e);db(d);db(c);if(w[g+36|0]){c=a+120|0;Xb(c,1166236,1166212);d=a+128|0;ic(d,c,977431);e=a+136|0;Xb(e,d,1166224);Cd(m,e);db(e);db(d);db(c)}v[a+136>>2]=0;v[a+140>>2]=v[279250];c=v[g+60>>2];v[a+24>>2]=c&255;v[a+16>>2]=c>>>16&255;v[a+20>>2]=c>>>8&255;Gd(a+136|0,308660,a+16|0);ta:{if(w[g+56|0]){v[a+128>>2]=0;v[a+132>>2]=v[279250];c=v[g+48>>2];if((c|0)!=-1){v[a+8>>2]=c&255;v[a+4>>2]=c>>>8&255;v[a>>2]=c>>>16&255;Gd(a+128|0,308660,a)}c=a+88|0;Xb(c,1166236,1166212);d=a+96|0;ic(d,c,977506);e=a+104|0;Xb(e,d,1166236);i=a+112|0;Xb(i,e,a+136|0);h=a+120|0;Xb(h,i,1166224);Cd(m,h);db(h);db(i);db(e);db(d);db(c);c=v[a+128>>2];if(!(!c|!v[c+8>>2])){c=a+88|0;Xb(c,1166236,1166212);d=a+96|0;ic(d,c,977498);e=a+104|0;Xb(e,d,1166236);i=a+112|0;Xb(i,e,a+128|0);h=a+120|0;Xb(h,i,1166224);Cd(m,h);db(h);db(i);db(e);db(d);db(c)}if(w[g+57|0]){c=a+104|0;Xb(c,1166236,1166212);d=a+112|0;ic(d,c,977514);e=a+120|0;Xb(e,d,1166224);Cd(m,e);db(e);db(d);db(c)}db(a+128|0);break ta}if(w[g+64|0]){n=a+96|0;h=n;Xb(h,1166236,1166212);c=a+104|0;ic(c,h,977490);d=a+112|0;Xb(d,c,1166236);e=a+120|0;Xb(e,d,a+136|0);i=a+128|0;Xb(i,e,1166224);Cd(m,i);db(i);db(e);db(d);db(c);db(h);Xb(h,1166236,1166212);ic(c,h,977484);Xb(d,c,1166236);h=Qe(a+88|0,v[g+68>>2]);Xb(e,d,h);Xb(i,e,1166224);Cd(m,i);db(i);db(e);db(h);db(d);db(c);db(n);if(!w[g+65|0]){break ta}c=a+112|0;Xb(c,1166236,1166212);d=a+120|0;ic(d,c,977478);e=a+128|0;Xb(e,d,1166224);Cd(m,e);db(e);db(d);db(c);break ta}if((Qa[v[v[g>>2]+12>>2]](g)|0)==1){c=a+96|0;Xb(c,1166236,1166212);d=a+104|0;ic(d,c,977470);e=a+112|0;Xb(e,d,1166236);i=a+120|0;h=Qe(a+88|0,v[g+52>>2]);Xb(i,e,h);g=a+128|0;Xb(g,i,1166224);Cd(m,g);db(g);db(i);db(h);db(e);db(d);db(c)}c=v[a+152>>2];if(!c|!v[c+8>>2]){break ta}c=a+128|0;Xb(c,1166236,a+152|0);Cd(m,c);db(c)}Cd(m,1166224);db(a+136|0);db(a+144|0);db(a+152|0);db(a+160|0);db(a+168|0);db(a+176|0);db(a+184|0);db(a+192|0);db(a+200|0);db(a+208|0);Ma=a+240|0;break K}e=w[v[c+12>>2]+d|0];if((e|0)!=34){break S}Pd(a+184|0,92);e=34}Pd(a+184|0,e<<24>>24);d=d+1|0;continue}}ua:{va:{if(d){if(!c|v[c+8>>2]<(d|0)){break R}break va}if(c){break va}e=0;break ua}e=w[v[c+12>>2]+d|0];if((e|0)!=34){break ua}Pd(a+192|0,92);e=34}Pd(a+192|0,e<<24>>24);d=d+1|0;continue}}if(!d){break Q}if(!e){break R}if(v[e+8>>2]>=(d|0)){break P}}ni();L()}if(e){break P}e=0;break O}e=w[v[e+12>>2]+d|0];if((e|0)!=34){break O}Pd(a+200|0,92);e=34}Pd(a+200|0,e<<24>>24);d=d+1|0;e=v[a+176>>2];continue}}lb(mb(a+208|0,c,241030,266,332562));L()}a=v[f+88>>2];a=v[(a?a+12|0:1117e3)>>2];v[f+48>>2]=a;wa:{if(!a){break wa}e=w[a|0];if(!e){break wa}d=0;if(w[f+72|0]){break wa}while(1){xa:{c=a;ya:{if((d|0)!=92){if((d|0)!=34){if(d){break ya}d=(e|0)==34?34:0;break ya}if((e|0)==34){d=0;break ya}if((e|0)==92){d=92;break ya}if(e>>>0<32){break xa}d=34;if((e|0)!=127){break ya}break xa}d=34;if(!ag(308332,e<<24>>24,18)){break xa}}a=c+1|0;e=w[c+1|0];if(e){continue}break wa}break}t[f+72|0]=1}a=f+56|0;bn(a,260392,a,f+48|0);db(f+88|0);o=v[o>>2];if(o){continue}break}}lg(f+88|0);a=v[f+88>>2];d=v[f+64>>2];if(d){while(1){yS(v[d+8>>2],a,1,0,0);d=v[d>>2];if(d){continue}break}}v[q>>2]=0;v[q+4>>2]=v[279250];c=Qa[v[v[a>>2]+28>>2]](a)|0;Qa[v[v[a>>2]+20>>2]](a,0,0,0)|0;z=a,A=cm(q,c),B=c,y=v[v[a>>2]+8>>2],Qa[y](z|0,A|0,B|0)|0;a=v[f+88>>2];v[f+88>>2]=0;za:{if(!a){break za}c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(c){break za}c=v[a+4>>2];if(!c){v[a+4>>2]=-32767}if(!c){Qa[v[v[a>>2]+4>>2]](a)}}ac(l);db(f+80|0);Ma=f+96|0;break B}wd(f+48|0,a);L()}a=v[k+48>>2];f=AS(k+16|0,v[(a?a+12|0:1117e3)>>2]);db(p);a=0;v[k+8>>2]=0;v[k+12>>2]=v[279250];c=k;d=Qa[v[v[b>>2]+8>>2]](b,p,1024)|0;if(d){while(1){a=k+40|0;e=k+48|0;d=eg(a,e,d);Cd(k+8|0,a);db(d);d=Qa[v[v[b>>2]+8>>2]](b,e,1024)|0;if(d){continue}break}a=v[k+8>>2]}a=v[(a?a+12|0:1117e3)>>2];v[c+48>>2]=a;Aa:{if(!a){break Aa}d=w[a|0];if(w[f+16|0]|!d){break Aa}b=0;while(1){Ba:{c=a;Ca:{if((b|0)!=92){if((b|0)!=34){if(b){break Ca}b=(d|0)==34?34:0;break Ca}if((d|0)==34){b=0;break Ca}if((d|0)==92){b=92;break Ca}if(d>>>0<32){break Ba}b=34;if((d|0)!=127){break Ca}break Ba}b=34;if(!ag(308332,d<<24>>24,18)){break Ba}}a=c+1|0;d=w[c+1|0];if(d){continue}break Aa}break}t[f+16|0]=1}bn(f,260392,f,k+48|0);uS(j,f);db(k+8|0);ac(f);Ma=k+1072|0}function j2a(a,b){a=a|0;b=b|0;var 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,u=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,P=0,Q=0,R=0,T=0;m=Ma-2784|0;Ma=m;a:{n=v[a+52>>2];if(!n){d=-1;break a}b:{c:{d:{e:{f:{g:{if(!v[n+40>>2]){k=v[n+32>>2];if((v[k>>2]&3)!=3){d=-1;break a}c=v[k+20>>2];h:{if(!c){break h}d=v[k+24>>2];b=c;while(1){e=v[d+12>>2];i:{if(w[d+9|0]!=1){if((e|0)>=(B(w[d+5|0],3)-2|0)){break i}d=-1;break a}if((e|0)==1){break i}d=-1;break a}d=d+488|0;b=b-1|0;if(b){continue}break}if((c|0)<1){break h}b=v[k+24>>2];while(1){if(!(t[b+4|0]&1)){eb(b+419|0,15,66)}j:{if(w[b+9|0]!=1){break j}e=B(w[b+5|0],3);if(e>>>0<3){break j}c=v[b+16>>2];if(c>>>0>65535){break g}i=c&2047;c=c>>>11|0;e=e-2|0;d=0;while(1){j=0;if(d){j=(d+2>>>0)/3|0;if(c+j>>>0>31){break g}}v[((d<<2)+b|0)+16>>2]=i|c+j<<11&63488;d=d+1|0;if((e|0)!=(d|0)){continue}break}}b=b+488|0;o=o+1|0;if((o|0)>2]){continue}break}k=v[n+32>>2]}v[n+48>>2]=w[k+16|0]==1;k:{if(v[a+56>>2]<1){break k}q=v[n+36>>2];x=v[a+88>>2];while(1){p=v[k+24>>2]+B(H,488)|0;if(!w[p+8|0]){v[n+48>>2]=1}b=w[p+5|0];v[q+20>>2]=b;b=gb(B(b,60));v[q+24>>2]=b;if(!b){break c}b=v[x>>2];e=b-1|0;c=v[x+4>>2];i=c-1|0;b=Sn((e+v[n+4>>2]>>>0)/(b>>>0)|0,(i+v[n+8>>2]>>>0)/(c>>>0)|0,(e+v[n+12>>2]>>>0)/(b>>>0)|0,(i+v[n+16>>2]>>>0)/(c>>>0)|0);v[q+16>>2]=b;if(!b){break c}b=QL(w[p+8|0],v[q+20>>2]-1|0);v[q+28>>2]=b;if(!b){break c}c=b;b=v[q+16>>2];PL(c,v[b+4>>2],v[b+8>>2],v[b+12>>2],v[b+16>>2],m+224|0);d=v[q+20>>2];if((d|0)>=1){f=v[q+24>>2];s=0;while(1){v[f+4>>2]=0;b=(s^-1)+d|0;c=-1<>2]>>>b|0;v[f+8>>2]=i;g=c+v[q+4>>2]>>>b|0;v[f+12>>2]=g;h=c+v[q+8>>2]>>>b|0;v[f+16>>2]=h;b=c+v[q+12>>2]>>>b|0;v[f+20>>2]=b;c=p+s|0;d=w[c+419|0];v[f+24>>2]=d;j=w[c+452|0];v[f+28>>2]=j;c=-1<>>d|0;v[f+32>>2]=c;k=-1<>>j|0;v[f+36>>2]=k;v[f+40>>2]=B(c,k);l:{if(!(h>>>0>i>>>0&b>>>0>g>>>0)){v[f+40>>2]=0;v[f+4>>2]=0;v[f+32>>2]=0;v[f+36>>2]=0;break l}if(s){j=j-1|0;d=d-1|0;y=y+1>>>1|0;l=l+1>>>1|0;e=e+1>>>1|0;b=3}else{b=1}v[f+48>>2]=j;v[f+44>>2]=d;c=w[p+6|0];v[f+52>>2]=(c|0)<(d|0)?c:d;c=w[p+7|0];v[f>>2]=b;v[f+56>>2]=(c|0)<(j|0)?c:j;o=gb(b<<5);v[f+4>>2]=o;if(!o){break c}if(v[f>>2]<1){break l}J=B(s,3)-2|0;C=0;while(1){c=s?C+J|0:0;b=(m+224|0)+B(c,40)|0;i=v[b+16>>2];v[o+8>>2]=i;v[o+12>>2]=v[(p+(c<<2)|0)+16>>2];c=vC(w[p+8|0],s,i);v[o+24>>2]=c;i=v[o+12>>2];d=i<<2&8188|8192;i=i>>11;c=(c+v[x+16>>2]|0)-i|0;v[o+16>>2]=(c|0)>-1?d<>>0-c|0;i=i+w[p+416|0]|0;d=i-1|0;v[o+20>>2]=d;c=w[p+417|0];v[o>>2]=0;v[o+4>>2]=0;v[o+28>>2]=(c+d|0)>31?32-i|0:c;m:{if(v[b>>2]==v[b+8>>2]|v[b+4>>2]==v[b+12>>2]){break m}c=Sn(0,0,0,0);v[o+4>>2]=c;if(!c){break c}cx(c,v[q+16>>2],v[b+20>>2],v[b+24>>2],v[b+28>>2],v[b+32>>2]);c=v[o+4>>2];i=v[b>>2];v[c+4>>2]=i;b=v[(b|4)>>2];v[c+8>>2]=b;v[c+12>>2]=i+v[c+24>>2];v[c+16>>2]=b+v[c+20>>2];b=v[f+40>>2];if(!b){break f}d=gb(B(b,40));v[o>>2]=d;if(!d){break c}F=v[f+40>>2];if((F|0)<1){break m}h=v[f+44>>2];i=l;c=e;while(1){k=v[f+48>>2];b=v[o+4>>2];g=v[b+4>>2];g=c>>>0>g>>>0?c:g;v[d>>2]=g;j=v[b+8>>2];j=i>>>0>j>>>0?i:j;v[d+4>>2]=j;I=(1<>2];h=h>>>0>I>>>0?I:h;v[d+8>>2]=h;k=(1<>2];k=b>>>0>k>>>0?k:b;v[d+12>>2]=k;n:{if(!(g>>>0>=h>>>0|j>>>0>=k>>>0)){b=v[f+52>>2];r=v[f+56>>2];z=-1<>>r|0;v[d+20>>2]=j;u=(h+(1<>>b|0;v[d+16>>2]=b;g=B(b,j);v[d+24>>2]=g;if((g|0)<=0){break e}b=Qt(b,j);v[d+32>>2]=b;if(!b){break c}b=Qt(v[d+16>>2],v[d+20>>2]);v[d+36>>2]=b;if(!b){break c}j=gb(B(v[d+24>>2],44));v[d+28>>2]=j;if(!j){break c}k=v[d+24>>2];if((k|0)<1){break n}r=v[f+52>>2];g=i;b=c;while(1){h=(1<>2];z=h>>>0>>0?h:z;D=v[d>>2];D=b>>>0>D>>>0?b:D;o:{if(z>>>0<=D>>>0){break o}E=(1<>2])+g|0;A=v[d+12>>2];E=A>>>0>E>>>0?E:A;A=v[d+4>>2];A=g>>>0>A>>>0?g:A;if(E>>>0<=A>>>0){break o}v[j+28>>2]=0;v[j+32>>2]=0;v[j+20>>2]=3;v[j+24>>2]=-1;v[j>>2]=0;v[j+4>>2]=0;v[j+36>>2]=0;v[j+8>>2]=0;v[j+12>>2]=0;v[j+16>>2]=0;h=Sn(0,0,0,0);v[j+40>>2]=h;if(!h){break c}cx(h,v[o+4>>2],D,A,z,E);k=k-1|0;j=j+44|0;r=v[f+52>>2];h=(1<>>0>>0){b=h}else{g=(1<>2])+g|0;b=c}if((k|0)>0){continue}break}break n}v[d+36>>2]=0;v[d+28>>2]=0;v[d+32>>2]=0}h=v[f+44>>2];c=(1<>>0<=c>>>0){i=(1<>2])+i|0;c=e}d=d+40|0;b=(F|0)>1;F=F-1|0;if(b){continue}break}}o=o+32|0;C=C+1|0;if((C|0)>2]){continue}break}}f=f+60|0;d=v[q+20>>2];s=s+1|0;if((d|0)>(s|0)){continue}break}}H=H+1|0;if((H|0)>=v[a+56>>2]){break k}q=q+32|0;x=x+32|0;k=v[n+32>>2];continue}}u=n;l=0;e=w5();b=0;p:{if(!e){break p}b=v[a+56>>2];v[e+8>>2]=b;i=gb(b<<4);v[e+12>>2]=i;q:{if(!i){break q}r:{s:{d=v[e+8>>2];if((d|0)<1){break s}c=d&7;b=i;if(d-1>>>0>=7){h=d&-8;while(1){v[b+4>>2]=0;v[b+116>>2]=0;v[b+100>>2]=0;v[b+84>>2]=0;v[b+68>>2]=0;v[b+52>>2]=0;v[b+36>>2]=0;v[b+20>>2]=0;b=b+128|0;h=h-8|0;if(h){continue}break}}if(c){while(1){v[b+4>>2]=0;b=b+16|0;c=c-1|0;if(c){continue}break}}if((d|0)<1){break s}g=v[n+36>>2];while(1){b=v[g+20>>2];v[i>>2]=b;c=gb(B(b,20));v[i+4>>2]=c;if(!c){break q}d=v[i>>2];f=(d|0)<1;t:{if(f){break t}h=d&7;b=c;if(d-1>>>0>=7){d=d&-8;while(1){v[b+4>>2]=0;v[b+144>>2]=0;v[b+124>>2]=0;v[b+104>>2]=0;v[b+84>>2]=0;v[b- -64>>2]=0;v[b+44>>2]=0;v[b+24>>2]=0;b=b+160|0;d=d-8|0;if(d){continue}break}}if(h){while(1){v[b+4>>2]=0;b=b+20|0;h=h-1|0;if(h){continue}break}}if(f){break t}b=v[g+24>>2];d=0;while(1){f=v[b+40>>2];v[c>>2]=f;f=gb(f<<2);v[c+4>>2]=f;if(!f){break q}b=b+60|0;c=c+20|0;d=d+1|0;if((d|0)>2]){continue}break}}i=i+16|0;g=g+32|0;d=v[e+8>>2];l=l+1|0;if((d|0)>(l|0)){continue}break}l=v[n+36>>2];c=0;v[e+4>>2]=0;if((d|0)<1){break r}g=v[e+12>>2];f=v[a+88>>2];j=0;while(1){v[g+8>>2]=v[f>>2];v[g+12>>2]=v[f+4>>2];b=v[g>>2];if((b|0)>=1){h=v[g+4>>2];d=v[l+24>>2];i=0;while(1){v[h+8>>2]=v[d+24>>2];v[h+12>>2]=v[d+28>>2];if(v[h>>2]>=1){b=v[h+4>>2];c=0;while(1){v[b>>2]=0;b=b+4|0;c=c+1|0;if((c|0)>2]){continue}break}b=v[g>>2]}v[h+16>>2]=v[d+32>>2];d=d+60|0;h=h+20|0;i=i+1|0;if((i|0)<(b|0)){continue}break}c=v[e+4>>2]}b=v[l+20>>2];if((b|0)>(c|0)){v[e+4>>2]=b;c=b}f=f+32|0;g=g+16|0;l=l+32|0;d=v[e+8>>2];j=j+1|0;if((d|0)>(j|0)){continue}break}break r}c=0;v[e+4>>2]=0}b=v[n+32>>2];i=v[b+12>>2];v[e>>2]=i;v[e+56>>2]=v[n+4>>2];v[e+60>>2]=v[n+8>>2];v[e+64>>2]=v[n+12>>2];f=v[n+16>>2];v[e+16>>2]=0;v[e+20>>2]=0;v[e+68>>2]=f;v[e+24>>2]=0;v[e+28>>2]=0;v[e+32>>2]=0;v[e+36>>2]=0;v[e+40>>2]=0;v[e+44>>2]=0;v[e+48>>2]=0;v[e+52>>2]=0;v[e+96>>2]=-1;b=w[b+8|0];v[e+88>>2]=d;v[e+84>>2]=0;t[e+80|0]=b;v[e+92>>2]=i;t[e+82|0]=c;t[e+81|0]=0;t[e+101|0]=0;v[e+72>>2]=0;b=e;break p}rC(e);b=0}v[u+52>>2]=b;if(!b){break c}if(v[v[v[n+32>>2]+4>>2]>>2]>=1){d=0;while(1){l=LL(v[v[v[v[n+32>>2]+4>>2]+8>>2]+(d<<2)>>2]);if(!l){break d}b=v[v[n+52>>2]+76>>2];c=v[b>>2];h=c;e=v[b+4>>2];u:{v:{if((e|0)>(c|0)){break v}i=e+128|0;e=ph(v[b+8>>2],i<<2);if(!e){break u}v[b+8>>2]=e;v[b+4>>2]=i;h=v[b>>2];if((c|0)>=(h|0)){break v}i=h-1|0;v[e+(h<<2)>>2]=v[e+(i<<2)>>2];if((c|0)>=(i|0)){break v}g=(c^-1)+h&3;if(g){while(1){e=v[b+8>>2];f=e+(i<<2)|0;i=i-1|0;v[f>>2]=v[e+(i<<2)>>2];g=g-1|0;if(g){continue}break}}if((h-c|0)-2>>>0<3){break v}while(1){e=i<<2;f=e-4|0;g=v[b+8>>2];v[e+g>>2]=v[f+g>>2];g=f;f=v[b+8>>2];u=g+f|0;g=f;f=e-8|0;v[u>>2]=v[g+f>>2];g=f;f=v[b+8>>2];e=e-12|0;v[g+f>>2]=v[e+f>>2];f=e;e=v[b+8>>2];i=i-4|0;v[f+e>>2]=v[e+(i<<2)>>2];if((c|0)<(i|0)){continue}break}}v[v[b+8>>2]+(c<<2)>>2]=l;v[b>>2]=h+1}d=d+1|0;if((d|0)>2]+4>>2]>>2]){continue}break}}t5(v[n+52>>2])}c=v[a+96>>2];if(c){e=v[c>>2];if((e|0)<=0){break b}b=v[c+8>>2];i=v[b>>2];w:{if((e|0)==1){break w}v[b>>2]=v[b+4>>2];d=2;if((e|0)==2){break w}g=e-2|0;f=g&3;b=1;if(e-3>>>0>=3){h=g&-4;while(1){g=b<<2;b=v[c+8>>2];l=g+b|0;g=b;b=d<<2;v[l>>2]=v[g+b>>2];g=v[c+8>>2];u=g+b|0;l=g;g=b|4;v[u>>2]=v[l+g>>2];l=g;g=v[c+8>>2];b=b+8|0;v[l+g>>2]=v[b+g>>2];g=v[c+8>>2];l=g+b|0;b=d+3|0;v[l>>2]=v[g+(b<<2)>>2];d=d+4|0;h=h-4|0;if(h){continue}break}}if(!f){break w}while(1){g=v[c+8>>2];h=g+(b<<2)|0;b=d;v[h>>2]=v[g+(b<<2)>>2];d=b+1|0;f=f-1|0;if(f){continue}break}}d=-1;v[c>>2]=e-1;v[n+24>>2]=i;if(!i){break a}}if(v[n+20>>2]){x:{d=v[n+24>>2];if(d){break x}d=fi(0,0);v[n+24>>2]=d;if(d){break x}d=-1;break a}e=Ei(d);d=0;af(v[n+24>>2],0,2);f=v[n+24>>2];b=v[n+20>>2];if(v[b>>2]>0){y:{while(1){c=v[v[b+8>>2]+(d<<2)>>2];if((Un(f,v[c+8>>2],v[c+4>>2])|0)==v[c+4>>2]){d=d+1|0;if((d|0)>2]){continue}break y}break}d=-1;break a}f=v[n+24>>2]}d=0;af(f,e,0);b=v[n+20>>2];if(v[b>>2]>=1){while(1){c=v[v[b+8>>2]+(d<<2)>>2];e=v[c+8>>2];if(e){$a(e)}$a(c);d=d+1|0;if((d|0)>2]){continue}break}}c=v[b+8>>2];if(c){$a(c)}$a(b);v[n+20>>2]=0}z:{if(v[279756]<10){break z}b=v[a+44>>2];if((b|0)<1){break z}d=v[a+56>>2];if((d|0)<1){break z}e=v[249419];i=v[a+48>>2];o=0;while(1){if((d|0)>=1){c=v[i+36>>2];q=0;while(1){if(v[c+20>>2]>=1){k=v[c+24>>2];g=0;while(1){v[m+208>>2]=g;vb(e,44302,m+208|0);b=v[k+16>>2];d=v[k+8>>2];f=v[k+20>>2];h=v[k+12>>2];v[m+196>>2]=f-h;v[m+192>>2]=b-d;v[m+188>>2]=f;v[m+184>>2]=b;v[m+180>>2]=h;v[m+176>>2]=d;vb(e,45084,m+176|0);if(v[k>>2]>=1){b=v[k+4>>2];l=0;while(1){v[m+160>>2]=l;vb(e,45759,m+160|0);d=v[b+4>>2];f=v[d+12>>2];h=v[d+4>>2];j=v[d+16>>2];d=v[d+8>>2];v[m+148>>2]=j-d;v[m+144>>2]=f-h;v[m+140>>2]=j;v[m+136>>2]=f;v[m+132>>2]=d;v[m+128>>2]=h;vb(e,45084,m+128|0);if(v[k+40>>2]>=1){d=v[b>>2];r=0;while(1){v[m+112>>2]=r;vb(e,46580,m+112|0);f=v[d+8>>2];h=v[d>>2];j=v[d+12>>2];p=v[d+4>>2];v[m+100>>2]=j-p;v[m+96>>2]=f-h;v[m+92>>2]=j;v[m+88>>2]=f;v[m+84>>2]=p;v[m+80>>2]=h;vb(e,45084,m+80|0);if(v[d+24>>2]>=1){f=v[d+28>>2];h=0;while(1){v[m+64>>2]=h;vb(e,47249,m- -64|0);j=v[f+40>>2];p=v[j+12>>2];x=v[j+4>>2];s=v[j+16>>2];j=v[j+8>>2];v[m+52>>2]=s-j;v[m+48>>2]=p-x;v[m+44>>2]=s;v[m+40>>2]=p;v[m+36>>2]=j;v[m+32>>2]=x;vb(e,45084,m+32|0);f=f+44|0;h=h+1|0;if((h|0)>2]){continue}break}}d=d+40|0;r=r+1|0;if((r|0)>2]){continue}break}}b=b+32|0;l=l+1|0;if((l|0)>2]){continue}break}}k=k+60|0;g=g+1|0;if((g|0)>2]){continue}break}d=v[a+56>>2]}c=c+32|0;q=q+1|0;if((q|0)<(d|0)){continue}break}b=v[a+44>>2]}i=i+56|0;o=o+1|0;if((o|0)<(b|0)){continue}break}}b=v[n+24>>2];p=v[a+60>>2];s=b?b:p;k=Ma+-64|0;Ma=k;i=a;P=v[a+52>>2];o=v[P+52>>2];A:{while(1){B:{C:{D:{E:{F:{a=v[P+24>>2];if(a){if(v[a+28>>2]>0){break F}if((Eb(a,0)|0)!=-1){break F}}if(qf(p,k+60|0)){break E}if((nj(p,w[k+60|0])|0)==-1){break E}if((nj(p,v[k+60>>2]>>>8|0)|0)==-1){break E}a=v[k+60>>2];if((a&-128)!=65408|a-65425>>>0<2){break F}d=0;if((a|0)==65424){break B}b=-1;if((a|0)!=65497){break A}break B}d=OL(o);if(d){break B}a=v[i+72>>2];if(!((a|0)<0|(a|0)>v[i+76>>2])){b=0;Nb(4532,0);break A}G:{if(v[279756]>=1){if(!w[o+101|0]){break G}a=v[p+60>>2];b=v[o+24>>2];c=v[o+28>>2];e=w[v[o+72>>2]];d=v[o+36>>2];v[k+48>>2]=v[o+32>>2];v[k+52>>2]=d;v[k+36>>2]=e;v[k+40>>2]=b;v[k+44>>2]=c;v[k+32>>2]=a;Nb(8652,k+32|0)}if(w[o+101|0]){H=v[i+68>>2];C=v[o+36>>2];I=v[o+32>>2];z=v[o+28>>2];F=v[o+24>>2];J=v[i+52>>2];D=v[J+32>>2];b=v[D+24>>2];H:{if(!(w[D+17|0]&2)){break H}if(qf(p,k+60|0)){break H}if((nj(p,w[k+60|0])|0)==-1){break H}if((nj(p,v[k+60>>2]>>>8|0)|0)==-1){break H}a=v[k+60>>2];if((a&-128)!=65408|(a|0)!=65425){break H}a=WL(p,v[i+104>>2]);if(!a){b=-1;break A}c=v[a>>2];ci(a);if((c|0)==65425){break H}Nb(17185,0);b=-1;break A}R=v[s+60>>2];d=-1;l=uC(s,18130);if(!l){break B}if(t[l+16|0]&1){a=v[l+8>>2];c=a-1|0;v[l+8>>2]=c;I:{if((a|0)>=1){a=v[l+4>>2]>>>c&1;break I}a=zf(l);if((a|0)<0){break B}}if(!a){break D}J:{K:{E=v[(v[J+36>>2]+(F<<5)|0)+24>>2]+B(z,60)|0;j=v[E>>2];L:{if((j|0)<1){q=0;break L}T=C+1|0;A=b+B(F,488)|0;r=v[E+4>>2];q=0;M=0;while(1){M:{if(!v[r+4>>2]){break M}y=v[r>>2]+B(I,40)|0;g=v[y+28>>2];if(!g|v[y+24>>2]<1){break M}x=0;while(1){N:{if(!v[g>>2]){a=v[y+32>>2];a=IL(a,v[a+12>>2]+(x<<4)|0,T,l);if((a|0)>=0){break N}b=-1;break A}if(t[l+16|0]&1){a=v[l+8>>2];b=a-1|0;v[l+8>>2]=b;if((a|0)>=1){a=v[l+4>>2]>>>b&1;break N}a=zf(l);if((a|0)>=0){break N}b=-1;break A}O(21378,13808,258,189550);L()}if(a){if(!v[g>>2]){a=1;b=-1;e=v[y+36>>2];c=v[e+12>>2]+(x<<4)|0;j=IL(e,c,1,l);if((j|0)<0){break A}while(1){if(!j){a=a+1|0;j=IL(v[y+36>>2],c,a,l);if((j|0)>=0){continue}break A}break}a=a-1|0;v[g+16>>2]=a;v[g+24>>2]=B(a,3)}if(!(t[l+16|0]&1)){break J}a=v[l+8>>2];b=a-1|0;v[l+8>>2]=b;O:{P:{Q:{if((a|0)>=1){a=v[l+4>>2]>>>b&1}else{a=zf(l)}if((a|0)>=1){if(!(t[l+16|0]&1)){break K}a=v[l+8>>2];b=a-1|0;v[l+8>>2]=b;if((a|0)>=1){a=v[l+4>>2]>>>b&1}else{a=zf(l)}if((a|0)>=1){a=sC(l,2);if((a|0)==3){a=sC(l,5);if((a|0)!=31){break Q}a=sC(l,7);e=(a|0)>-1?a+37|0:a;break P}e=(a|0)>-1?a+3|0:a;break P}e=2;if(!a){break O}b=-1;break A}e=1;if(!a){break O}b=-1;break A}e=(a|0)>-1?a+6|0:a}if((e|0)>=0){break O}b=-1;break A}R:{if(t[l+16|0]&1){f=v[g+12>>2];j=0;while(1){a=v[l+8>>2];b=a-1|0;v[l+8>>2]=b;S:{if((a|0)>=1){a=v[l+4>>2]>>>b&1;break S}a=zf(l);if((a|0)>=0){break S}b=-1;break A}b=-1;if(w[l|0]&2){break A}if(!a){break R}j=j+1|0;if(t[l+16|0]&1){continue}break}}O(32183,13808,114,189588);L()}v[g+20>>2]=v[g+20>>2]+j;if((e|0)>=1){Q=g+4|0;j=0;a=e;while(1){G=v[g+24>>2];N=v[g>>2]+(G+j|0)|0;h=N;K=w[A+418|0];c=K&1;T:{U:{u=1;V:{if(K>>>2&1){break V}u=94;if(!c){break V}u=(G-h|0)+10|0;if((h|0)<(G+10|0)){break V}c=(h|0)%3|0;if(c>>>0>=3){break U}u=v[(c<<2)+189024>>2]}c=u;h=1e4-h|0;h=(c|0)<(h|0)?c:h;break T}O(3794,7464,130,188981);L()}K=(C|0)>=(H|0);if(!(f|K)){c=gb(40);if(c){v[c+12>>2]=0;v[c+16>>2]=0;v[c+8>>2]=-1;v[c>>2]=0;v[c+4>>2]=0;v[c+36>>2]=-1;v[c+20>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+32>>2]=0}else{c=0}f=c;if(!c){break A}W:{X:{c=v[g+8>>2];if(!c){v[f>>2]=0;v[f+4>>2]=0;v[Q>>2]=f;break X}G=v[c>>2];v[f>>2]=G;v[f+4>>2]=c;v[c>>2]=f;if(!G){break X}v[G+4>>2]=f;break W}v[Q+4>>2]=f}if(!v[g+12>>2]){v[g+12>>2]=f}v[f+8>>2]=N;c=B5(N,v[g+24>>2],t[A+418|0]&1);v[f+16>>2]=h;v[f+20>>2]=c}c=(a|0)<(h|0)?a:h;h=sC(l,v[g+20>>2]+kp(c)|0);if((h|0)<0){break A}a=a-c|0;if(!K){v[f+36>>2]=C;v[f+28>>2]=h;v[f+12>>2]=c+v[f+12>>2];f=v[f>>2]}j=c+j|0;q=h+q|0;if((a|0)>0){continue}break}}v[g>>2]=v[g>>2]+e}g=g+44|0;x=x+1|0;if((x|0)>2]){continue}break}j=v[E>>2]}r=r+32|0;M=M+1|0;if((M|0)<(j|0)){continue}break}}tC(l,0,0);break C}O(32183,13808,134,189568);L()}O(32183,13808,133,189568);L()}O(21378,13808,227,189550);L()}O(10276,13808,454,189531);L()}O(10276,13808,451,189531);L()}b=-1;break A}q=0;if(!tC(l,127,0)){break C}Nb(24259,0);b=-1;break A}St(l);a=v[s+60>>2];if(v[279756]>=5){v[k+20>>2]=q;v[k+16>>2]=a-R;Nb(26459,k+16|0)}Y:{if(!(w[D+17|0]&4)){break Y}if(qf(s,k+60|0)){break Y}if((nj(s,w[k+60|0])|0)==-1){break Y}if((nj(s,v[k+60>>2]>>>8|0)|0)==-1){break Y}a=v[k+60>>2];if((a&-128)!=65408|(a|0)!=65426){break Y}a=WL(s,v[i+104>>2]);if(!a){Nb(27729,0);b=-1;break A}b=v[a>>2];ci(a);if((b|0)==65426){break Y}Nb(29439,0);b=-1;break A}if(v[279756]>=1){v[k>>2]=v[p+60>>2];Nb(31016,k)}Z:{if((C|0)<(H|0)){c=v[(v[J+36>>2]+(F<<5)|0)+24>>2]+B(z,60)|0;a=v[c>>2];if((a|0)<1){break Z}b=v[c+4>>2];f=0;while(1){_:{if(!v[b+4>>2]){break _}d=v[b>>2]+B(I,40)|0;g=v[d+28>>2];if(!g){break _}j=v[d+24>>2];if((j|0)<1){break _}r=0;while(1){e=v[g+12>>2];if(e){while(1){$:{a=v[e+24>>2];if(a){break $}a=fi(0,0);v[e+24>>2]=a;if(a){break $}b=-1;break A}h=v[e+28>>2];if((h|0)>=1){if((Pm(a,p,h)|0)<0){b=-1;break A}v[e+28>>2]=0}if(v[e+12>>2]>=v[e+16>>2]){v[g+12>>2]=v[e>>2]}e=v[e>>2];if(e){continue}break}j=v[d+24>>2]}g=g+44|0;r=r+1|0;if((r|0)<(j|0)){continue}break}a=v[c>>2]}b=b+32|0;f=f+1|0;if((f|0)<(a|0)){continue}break}break Z}if((Xt(p,q)|0)!=(q|0)){break B}}v[i+76>>2]=v[i+76>>2]+1;continue}break}b=d}Ma=k- -64|0;if(b){Nb(34066,0);d=-1;break a}a=v[i+100>>2];aa:{if((a|0)<1){break aa}b=v[v[i+60>>2]+60>>2];if((b|0)<(a|0)){j=a-b|0;v[m>>2]=j;Nb(35555,m);while(1){if(!j){break aa}a=v[i+60>>2];b=v[a+8>>2];ba:{if(b&7){break ba}c=v[a+64>>2];if(!((c|0)<0|(c|0)>v[a+60>>2])){v[a+8>>2]=b|4;break ba}b=v[a+28>>2];v[a+28>>2]=b-1;j=j-1|0;ca:{if((b|0)<=0){a=Eb(a,1);break ca}v[a+60>>2]=v[a+60>>2]+1;b=a;a=v[a+24>>2];v[b+24>>2]=a+1;a=w[a|0]}if((a|0)!=-1){continue}}break}Nb(37011,0);d=-1;break a}if((a|0)>=(b|0)){break aa}v[m+16>>2]=b-a;Nb(38211,m+16|0)}a=v[n+44>>2];da:{if((a|0)<1){break da}d=-1;if(v[n+40>>2]!=(a-1|0)){break da}if(G5(i,n)){break a}F5(i,n)}d=0;v[i+52>>2]=0;v[n+40>>2]=v[n+40>>2]+1;v[i+84>>2]=8;break a}O(40630,16151,1597,188916);L()}O(41062,16151,798,188930);L()}O(42361,16151,829,188930);L()}O(42994,16151,901,188930);L()}d=-1;break a}S();L()}Ma=m+2784|0;return d|0}function aF(a){var 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=C(0),p=0,q=0,r=C(0),s=0,y=0,z=0,A=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,O=0,P=0,Q=0,R=0;d=Ma-1120|0;Ma=d;z=v[a+156>>2];if(z){K=a+148|0;M=d+1096|0;while(1){p=0;c=v[z+8>>2];if(c){v[c+4>>2]=v[c+4>>2]+1;p=v[z+8>>2]}H=p+24|0;b=0;c=v[p+24>>2];if(!(!c|!(v[c+148>>2]&16))){b=v[H>>2];c=v[b+108>>2];a:{if(!c){th(d+1080|0,0);break a}v[c+4>>2]=v[c+4>>2]+1;c=v[b+108>>2];th(d+1080|0,c);if(!c){break a}b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(b){break a}b=v[c+4>>2];if(!b){v[c+4>>2]=-32767}if(!b){Qa[v[v[c>>2]+4>>2]](c)}}Ve(d+1072|0,d+1080|0);c=v[d+1072>>2];v[d+1064>>2]=0;v[d+1068>>2]=v[279250];b:{c:{d:{if(!Ad(c,d+1064|0,0)){break d}if(Hb(d+1064|0,310915,-1)){break d}b=0;if(v[p+20>>2]<=0){break b}while(1){if(!Ad(c,d+1064|0,0)){break c}Od(c);b=b+1|0;if((b|0)>2]){continue}break}break b}lb(mb(d+32|0,301146,240864,1146,332617));L()}lb(mb(d+32|0,301146,240864,1150,332617));L()}e:{if(Ad(c,d+1064|0,0)){if(!Hb(d+1064|0,316745,-1)){break e}}lb(mb(d+32|0,301146,240864,1154,332617));L()}b=Qa[v[v[c>>2]+8>>2]](c,d+32|0,1024)|0;if(b){while(1){f=d+32|0;eT(v[p+12>>2],f,b);b=Qa[v[v[c>>2]+8>>2]](c,f,1024)|0;if(b){continue}break}}By(v[p+12>>2]);if(v[a+100>>2]){v[d+1112>>2]=0;c=d+1104|0;v[c>>2]=0;v[c+4>>2]=0;v[M>>2]=0;v[M+4>>2]=0;v[d+1088>>2]=0;v[d+1092>>2]=0;c=d+1088|0;b=jd(c,971432);$E(H,c,v[a+100>>2]);vd(b)}qb(H,0);qb(p+16|0,0);db(d+1064|0);c=v[d+1072>>2];v[d+1072>>2]=0;f:{if(!c){break f}b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(b){break f}b=v[c+4>>2];if(!b){v[c+4>>2]=-32767}if(!b){Qa[v[v[c>>2]+4>>2]](c)}}c=v[d+1080>>2];v[d+1080>>2]=0;g:{if(!c){break g}b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(b){break g}b=v[c+4>>2];if(!b){v[c+4>>2]=-32767}if(!b){Qa[v[v[c>>2]+4>>2]](c)}}b=1}h:{i:{c=v[p+16>>2];j:{if(!(!c|v[c+148>>2]&1)){F=p+16|0;if(v[v[F>>2]+148>>2]&2){c=Sp(20);QR(c);v[d+1080>>2]=0;qb(d+1080|0,c);PR(v[d+1080>>2],F);sy(v[d+1080>>2]);b=160;f=160;if(NR(v[d+1080>>2])){f=NR(v[d+1080>>2])}if(uy(v[d+1080>>2])){b=uy(v[d+1080>>2])}v[d+32>>2]=0;v[d+36>>2]=0;v[d+40>>2]=160;v[d+44>>2]=(B(b,160)|0)/(f|0);c=d+32|0;TE(d+1072|0,v[d+1080>>2],c,c,2.200000047683716);b=v[d+1072>>2];if(!b){c=d+32|0;SE(d+1088|0,v[d+1080>>2],c,c);e=v[d+1088>>2];k:{if(e){f=ab(24);c=f;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c>>2]=978308;v[c+4>>2]=0;g=Ma-48|0;Ma=g;b=x[e+10>>1];h=x[e+8>>1];c=v[c+20>>2];if(c){$a(c)}v[f+16>>2]=0;v[f+20>>2]=0;u[f+12>>1]=b;u[f+10>>1]=b;u[f+8>>1]=h;c=B(b,h);if(c){c=ab((P=-1,Q=x3a(c,0,3,0),R=Pa,R?P:Q));v[f+16>>2]=c;v[f+20>>2]=c}n=pc(g+8|0,g+20|0,0,3);l:{m:{n:{if(!x[f+8>>1]|!x[f+10>>1]){break n}Sc(n,256,3);h=0;Rh(n,3,0);b=x[e+16>>1];i=16711680/(b-1|0)|0;j=v[g+20>>2];o:{if(!b){break o}c=255;if((b|0)!=1){c=b&65534;m=16711680;while(1){k=j+B(h,3)|0;l=m>>>16|0;t[k+2|0]=l;t[k+1|0]=l;t[k|0]=l;k=j+B(h|1,3)|0;l=m-i|0;m=l>>>16|0;t[k+2|0]=m;t[k+1|0]=m;t[k|0]=m;h=h+2|0;m=l-i|0;c=c-2|0;if(c){continue}break}c=m>>>16|0}if(!(b&1)){break o}b=j+B(h,3)|0;t[b+2|0]=c;t[b+1|0]=c;t[b|0]=c}if(!x[f+8>>1]){break n}c=0;while(1){m=x[f+12>>1];h=v[f+16>>2];if(!v[e+20>>2]){Re(e)}p:{if(x[e+8>>1]<=c>>>0){b=x[e+12>>1];if(v[279246]<(b+x[e+14>>1]|0)){break m}b=b+v[279245]|0;break p}b=v[e+20>>2]+(x[e+12>>1]+B(x[e+14>>1],c)|0)|0}if(x[f+10>>1]){k=h?h+B(B(c,m),3)|0:0;h=0;while(1){m=k+B(h,3)|0;i=j+B(w[b+h|0],3)|0;l=w[i|0]|w[i+1|0]<<8;t[m|0]=l;t[m+1|0]=l>>>8;t[m+2|0]=w[i+2|0];h=h+1|0;if(h>>>0>1]){continue}break}}c=c+1|0;if(c>>>0>1]){continue}break}}ec(n);Ma=g+48|0;break l}lb(mb(g+24|0,260021,271561,592,225834));L()}v[d+1064>>2]=0;c=d+1064|0;qb(c,f);jb(d+1072|0,c);c=v[d+1064>>2];v[d+1064>>2]=0;if(!c){break k}b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(b){break k}b=v[c+4>>2];if(!b){v[c+4>>2]=-32767}if(!b){Qa[v[v[c>>2]+4>>2]](c)}break k}c=v[d+32>>2];b=v[d+40>>2];f=v[d+36>>2];h=v[d+44>>2];c=BE(ab(24),h-f|0,b-c|0,978296);v[d+1064>>2]=0;b=d+1064|0;qb(b,c);jb(d+1072|0,b);c=v[d+1064>>2];v[d+1064>>2]=0;if(!c){break k}b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(b){break k}b=v[c+4>>2];if(!b){v[c+4>>2]=-32767}if(!b){Qa[v[v[c>>2]+4>>2]](c)}}c=v[d+1088>>2];v[d+1088>>2]=0;q:{if(!c){break q}b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(b){break q}b=v[c+4>>2];if(!b){v[c+4>>2]=-32767}if(!b){Qa[v[v[c>>2]+4>>2]](c)}}b=v[d+1072>>2]}v[d+16>>2]=0;qb(d+16|0,0);I=Ma-16|0;Ma=I;k=ab(68);c=k;v[c+12>>2]=0;v[c+16>>2]=0;v[c+8>>2]=1065353216;v[c+4>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+36>>2]=10;v[c>>2]=983864;v[c+20>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+32>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+64>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[c>>2]=979272;f=d+24|0;v[f>>2]=0;qb(f,c);A=0;c=v[d+16>>2];if(c){v[c+4>>2]=v[c+4>>2]+1;A=v[d+16>>2]}v[I+8>>2]=A;s=0;G=0;i=Ma-3088|0;Ma=i;Qa[v[v[k>>2]+48>>2]](k);c=v[k+12>>2];if(c){$a(tu(c))}c=v[k+16>>2];if(c){$a(tu(c))}c=v[k+20>>2];if(c){$a(tu(c))}v[k+20>>2]=0;v[k+12>>2]=0;v[k+16>>2]=0;j=b;l=x[b+10>>1];E=x[b+8>>1];e=B(l,E);N=pc(i,i+12|0,e,1);n=ab(32);P=k,Q=Or(n,l,E),v[P+12>>2]=Q;v[k+36>>2]=v[244858];v[k+40>>2]=v[244854];r:{s:{b=v[I+8>>2];m=0;t:{if(!b){break t}if(!v[b+20>>2]){Re(b)}if(!x[b+8>>1]){G=x[b+14>>1];c=x[b+12>>1];if(v[279246]<(G+c|0)){break s}m=c+v[279245]|0;break t}G=x[b+14>>1];m=v[b+20>>2]+x[b+12>>1]|0}b=0;c=x[j+8>>1]?v[j+16>>2]:0;q=x[j+12>>1];h=v[i+12>>2];while(1){f=b<<2;y=f+(i+1040|0)|0;o=C(b<<16);r=C(o*C(.6086959838867188));u:{if(C(D(r))>2]=g;y=f+(i+2064|0)|0;r=C(o*C(.3043479919433594));v:{if(C(D(r))>2]=g;g=f+(i+16|0)|0;o=C(o*C(.08695600181818008));w:{if(C(D(o))>2]=f;b=b+1|0;if((b|0)!=256){continue}break}break r}lb(mb(i+2064|0,260021,271561,577,327329));L()}y=(E|0)!=0&(l|0)!=0;if(y){g=B(q,3);while(1){q=0;f=h;b=c;while(1){t[f|0]=(v[(i+16|0)+(w[b|0]<<2)>>2]+(v[(i+2064|0)+(w[b+2|0]<<2)>>2]+v[(i+1040|0)+(w[b+1|0]<<2)>>2]|0)|0)+32768>>>16^128;f=f+1|0;b=b+3|0;q=q+1|0;if((q|0)!=(l|0)){continue}break}h=h+l|0;c=c+g|0;s=s+1|0;if((E|0)!=(s|0)){continue}break}}if(!(!e|v[k+36>>2]>-1)){b=v[i+12>>2];c=e+b|0;while(1){t[b|0]=w[b|0]^-1;b=b+1|0;if(c>>>0>b>>>0){continue}break}}nE(n,v[i+12>>2],l,m,G);b=0;x:{if(v[k+36>>2]<0){break x}e=ab(32);P=k,Q=Or(e,l,E),v[P+16>>2]=Q;g=ab(32);P=k,Q=Or(g,l,E),v[P+20>>2]=Q;h=x[j+8>>1]?v[j+16>>2]:0;q=x[j+12>>1];c=v[i+12>>2];while(1){f=b<<2;s=f+(i+1040|0)|0;o=C(b<<16);r=C(o*C(-.3478260040283203));y:{if(C(D(r))>2]=n;s=f+(i+2064|0)|0;r=C(o*C(-.17391300201416016));z:{if(C(D(r))>2]=n;n=f+(i+16|0)|0;o=C(o*C(.5217390060424805));A:{if(C(D(o))>2]=f;b=b+1|0;if((b|0)!=256){continue}break}n=e;if(y){s=0;O=B(q,3);while(1){q=0;f=c;b=h;while(1){J=(v[(i+16|0)+(w[b|0]<<2)>>2]+(v[(i+2064|0)+(w[b+2|0]<<2)>>2]+v[(i+1040|0)+(w[b+1|0]<<2)>>2]|0)|0)+32768>>16;J=(J|0)<127?J:127;t[f|0]=(J|0)>-128?J:-128;f=f+1|0;b=b+3|0;q=q+1|0;if((q|0)!=(l|0)){continue}break}c=c+l|0;h=h+O|0;s=s+1|0;if((E|0)!=(s|0)){continue}break}c=v[i+12>>2]}nE(n,c,l,m,G);b=0;h=x[j+8>>1]?v[j+16>>2]:0;n=x[j+12>>1];c=v[i+12>>2];while(1){f=b<<2;q=f+(i+1040|0)|0;o=C(b<<16);r=C(o*C(-.40579700469970703));B:{if(C(D(r))>2]=j;q=f+(i+2064|0)|0;r=C(o*C(.46376800537109375));C:{if(C(D(r))>2]=j;j=f+(i+16|0)|0;o=C(o*C(-.05797100067138672));D:{if(C(D(o))>2]=f;b=b+1|0;if((b|0)!=256){continue}break}j=g;if(y){s=0;n=B(n,3);while(1){q=0;f=c;b=h;while(1){y=(v[(i+16|0)+(w[b|0]<<2)>>2]+(v[(i+2064|0)+(w[b+2|0]<<2)>>2]+v[(i+1040|0)+(w[b+1|0]<<2)>>2]|0)|0)+32768>>16;y=(y|0)<127?y:127;t[f|0]=(y|0)>-128?y:-128;f=f+1|0;b=b+3|0;q=q+1|0;if((q|0)!=(l|0)){continue}break}c=c+l|0;h=h+n|0;s=s+1|0;if((E|0)!=(s|0)){continue}break}c=v[i+12>>2]}nE(j,c,l,m,G);if(!v[k+40>>2]){break x}if(v[e+20>>2]>=1){f=0;while(1){c=f<<4;b=v[(c+v[e>>2]|0)+4>>2];if(b){v[b>>2]=0}b=v[(c+v[e>>2]|0)+4>>2];if(b){v[b+4>>2]=0}b=v[(c+v[e>>2]|0)+4>>2];if(b){v[b+8>>2]=0}b=v[(c+v[e>>2]|0)+4>>2];if(b){v[b+12>>2]=0}b=v[(c+v[e>>2]|0)+4>>2];if(b){v[b+16>>2]=0}b=v[(c+v[e>>2]|0)+4>>2];if(b){v[b+20>>2]=0}b=v[(c+v[e>>2]|0)+4>>2];if(b){v[b+24>>2]=0}b=v[(c+v[e>>2]|0)+4>>2];if(b){v[b+28>>2]=0}b=v[(c+v[e>>2]|0)+4>>2];if(b){v[b+32>>2]=0}b=v[(c+v[e>>2]|0)+4>>2];if(b){v[b+36>>2]=0}b=v[(c+v[e>>2]|0)+4>>2];if(b){v[b+40>>2]=0}b=v[(c+v[e>>2]|0)+4>>2];if(b){v[b+44>>2]=0}b=v[(c+v[e>>2]|0)+4>>2];if(b){v[b+48>>2]=0}b=v[(c+v[e>>2]|0)+4>>2];if(b){v[b+52>>2]=0}b=v[(c+v[e>>2]|0)+4>>2];if(b){v[b+56>>2]=0}b=v[(c+v[e>>2]|0)+4>>2];if(b){v[b+60>>2]=0}b=v[(c+v[e>>2]|0)+8>>2];if(b){v[b>>2]=0}b=v[(c+v[e>>2]|0)+8>>2];if(b){v[b+4>>2]=0}b=v[(c+v[e>>2]|0)+8>>2];if(b){v[b+8>>2]=0}b=v[(c+v[e>>2]|0)+8>>2];if(b){v[b+12>>2]=0}b=v[(c+v[e>>2]|0)+8>>2];if(b){v[b+16>>2]=0}b=v[(c+v[e>>2]|0)+8>>2];if(b){v[b+20>>2]=0}b=v[(c+v[e>>2]|0)+8>>2];if(b){v[b+24>>2]=0}b=v[(c+v[e>>2]|0)+8>>2];if(b){v[b+28>>2]=0}b=v[(c+v[e>>2]|0)+8>>2];if(b){v[b+32>>2]=0}b=v[(c+v[e>>2]|0)+8>>2];if(b){v[b+36>>2]=0}b=v[(c+v[e>>2]|0)+8>>2];if(b){v[b+40>>2]=0}b=v[(c+v[e>>2]|0)+8>>2];if(b){v[b+44>>2]=0}b=v[(c+v[e>>2]|0)+8>>2];if(b){v[b+48>>2]=0}b=v[(c+v[e>>2]|0)+8>>2];if(b){v[b+52>>2]=0}b=v[(c+v[e>>2]|0)+8>>2];if(b){v[b+56>>2]=0}b=v[(c+v[e>>2]|0)+8>>2];if(b){v[b+60>>2]=0}b=v[(c+v[e>>2]|0)+12>>2];if(b){v[b>>2]=0}b=v[(c+v[e>>2]|0)+12>>2];if(b){v[b+4>>2]=0}b=v[(c+v[e>>2]|0)+12>>2];if(b){v[b+8>>2]=0}b=v[(c+v[e>>2]|0)+12>>2];if(b){v[b+12>>2]=0}b=v[(c+v[e>>2]|0)+12>>2];if(b){v[b+16>>2]=0}b=v[(c+v[e>>2]|0)+12>>2];if(b){v[b+20>>2]=0}b=v[(c+v[e>>2]|0)+12>>2];if(b){v[b+24>>2]=0}b=v[(c+v[e>>2]|0)+12>>2];if(b){v[b+28>>2]=0}b=v[(c+v[e>>2]|0)+12>>2];if(b){v[b+32>>2]=0}b=v[(c+v[e>>2]|0)+12>>2];if(b){v[b+36>>2]=0}b=v[(c+v[e>>2]|0)+12>>2];if(b){v[b+40>>2]=0}b=v[(c+v[e>>2]|0)+12>>2];if(b){v[b+44>>2]=0}b=v[(c+v[e>>2]|0)+12>>2];if(b){v[b+48>>2]=0}b=v[(c+v[e>>2]|0)+12>>2];if(b){v[b+52>>2]=0}b=v[(c+v[e>>2]|0)+12>>2];if(b){v[b+56>>2]=0}c=v[(c+v[e>>2]|0)+12>>2];if(c){v[c+60>>2]=0}f=f+1|0;if((f|0)>2]){continue}break}}if(v[g+20>>2]<1){break x}f=0;while(1){c=f<<4;b=v[(c+v[g>>2]|0)+4>>2];if(b){v[b>>2]=0}b=v[(c+v[g>>2]|0)+4>>2];if(b){v[b+4>>2]=0}b=v[(c+v[g>>2]|0)+4>>2];if(b){v[b+8>>2]=0}b=v[(c+v[g>>2]|0)+4>>2];if(b){v[b+12>>2]=0}b=v[(c+v[g>>2]|0)+4>>2];if(b){v[b+16>>2]=0}b=v[(c+v[g>>2]|0)+4>>2];if(b){v[b+20>>2]=0}b=v[(c+v[g>>2]|0)+4>>2];if(b){v[b+24>>2]=0}b=v[(c+v[g>>2]|0)+4>>2];if(b){v[b+28>>2]=0}b=v[(c+v[g>>2]|0)+4>>2];if(b){v[b+32>>2]=0}b=v[(c+v[g>>2]|0)+4>>2];if(b){v[b+36>>2]=0}b=v[(c+v[g>>2]|0)+4>>2];if(b){v[b+40>>2]=0}b=v[(c+v[g>>2]|0)+4>>2];if(b){v[b+44>>2]=0}b=v[(c+v[g>>2]|0)+4>>2];if(b){v[b+48>>2]=0}b=v[(c+v[g>>2]|0)+4>>2];if(b){v[b+52>>2]=0}b=v[(c+v[g>>2]|0)+4>>2];if(b){v[b+56>>2]=0}b=v[(c+v[g>>2]|0)+4>>2];if(b){v[b+60>>2]=0}b=v[(c+v[g>>2]|0)+8>>2];if(b){v[b>>2]=0}b=v[(c+v[g>>2]|0)+8>>2];if(b){v[b+4>>2]=0}b=v[(c+v[g>>2]|0)+8>>2];if(b){v[b+8>>2]=0}b=v[(c+v[g>>2]|0)+8>>2];if(b){v[b+12>>2]=0}b=v[(c+v[g>>2]|0)+8>>2];if(b){v[b+16>>2]=0}b=v[(c+v[g>>2]|0)+8>>2];if(b){v[b+20>>2]=0}b=v[(c+v[g>>2]|0)+8>>2];if(b){v[b+24>>2]=0}b=v[(c+v[g>>2]|0)+8>>2];if(b){v[b+28>>2]=0}b=v[(c+v[g>>2]|0)+8>>2];if(b){v[b+32>>2]=0}b=v[(c+v[g>>2]|0)+8>>2];if(b){v[b+36>>2]=0}b=v[(c+v[g>>2]|0)+8>>2];if(b){v[b+40>>2]=0}b=v[(c+v[g>>2]|0)+8>>2];if(b){v[b+44>>2]=0}b=v[(c+v[g>>2]|0)+8>>2];if(b){v[b+48>>2]=0}b=v[(c+v[g>>2]|0)+8>>2];if(b){v[b+52>>2]=0}b=v[(c+v[g>>2]|0)+8>>2];if(b){v[b+56>>2]=0}b=v[(c+v[g>>2]|0)+8>>2];if(b){v[b+60>>2]=0}b=v[(c+v[g>>2]|0)+12>>2];if(b){v[b>>2]=0}b=v[(c+v[g>>2]|0)+12>>2];if(b){v[b+4>>2]=0}b=v[(c+v[g>>2]|0)+12>>2];if(b){v[b+8>>2]=0}b=v[(c+v[g>>2]|0)+12>>2];if(b){v[b+12>>2]=0}b=v[(c+v[g>>2]|0)+12>>2];if(b){v[b+16>>2]=0}b=v[(c+v[g>>2]|0)+12>>2];if(b){v[b+20>>2]=0}b=v[(c+v[g>>2]|0)+12>>2];if(b){v[b+24>>2]=0}b=v[(c+v[g>>2]|0)+12>>2];if(b){v[b+28>>2]=0}b=v[(c+v[g>>2]|0)+12>>2];if(b){v[b+32>>2]=0}b=v[(c+v[g>>2]|0)+12>>2];if(b){v[b+36>>2]=0}b=v[(c+v[g>>2]|0)+12>>2];if(b){v[b+40>>2]=0}b=v[(c+v[g>>2]|0)+12>>2];if(b){v[b+44>>2]=0}b=v[(c+v[g>>2]|0)+12>>2];if(b){v[b+48>>2]=0}b=v[(c+v[g>>2]|0)+12>>2];if(b){v[b+52>>2]=0}b=v[(c+v[g>>2]|0)+12>>2];if(b){v[b+56>>2]=0}c=v[(c+v[g>>2]|0)+12>>2];if(c){v[c+60>>2]=0}f=f+1|0;if((f|0)>2]){continue}break}}ec(N);Ma=i+3088|0;v[I+8>>2]=0;E:{if(!A){break E}c=v[A+4>>2]-1|0;v[A+4>>2]=c;if(c){break E}c=v[A+4>>2];if(!c){v[A+4>>2]=-32767}if(!c){Qa[v[v[A>>2]+4>>2]](A)}}Ma=I+16|0;c=v[d+16>>2];v[d+16>>2]=0;F:{if(!c){break F}b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(b){break F}b=v[c+4>>2];if(!b){v[c+4>>2]=-32767}if(!b){Qa[v[v[c>>2]+4>>2]](c)}}lg(d+8|0);b=d+1088|0;v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;v[d+1096>>2]=0;v[d+1088>>2]=97;v[d+1092>>2]=0;f=v[d+24>>2];c=d;j=c;h=v[c+8>>2];if(h){v[h+4>>2]=v[h+4>>2]+1;c=v[d+8>>2]}else{c=0}v[j>>2]=c;Qa[v[v[f>>2]+32>>2]](f,d,b)|0;c=v[d>>2];v[d>>2]=0;G:{if(!c){break G}b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(b){break G}b=v[c+4>>2];if(!b){v[c+4>>2]=-32767}if(!b){Qa[v[v[c>>2]+4>>2]](c)}}e=d+1064|0;c=v[d+8>>2];g=Qa[v[v[c>>2]+28>>2]](c)|0;H:{if((g|0)>=1){v[e>>2]=969572;v[e+4>>2]=0;b=ab(52);v[b+48>>2]=3585;v[b+44>>2]=3586;v[b+40>>2]=3586;v[b+36>>2]=3587;v[b+32>>2]=3588;v[b+28>>2]=1;v[b+20>>2]=0;v[b+24>>2]=-1;v[b+12>>2]=0;v[b+16>>2]=-1;v[b>>2]=969512;v[b+4>>2]=0;v[b+8>>2]=0;Zp(b,0,g-1|0);h=v[b+4>>2];v[b+4>>2]=h+1;v[e+4>>2]=b;f=c;if((h|0)>=1){b=ab(52);h=v[e+4>>2];v[b+20>>2]=0;v[b+24>>2]=-1;v[b+12>>2]=0;v[b+16>>2]=-1;v[b>>2]=969512;v[b+4>>2]=0;v[b+8>>2]=0;v[b+28>>2]=v[h+28>>2];v[b+32>>2]=v[h+32>>2];v[b+36>>2]=v[h+36>>2];v[b+40>>2]=v[h+40>>2];v[b+44>>2]=v[h+44>>2];v[b+48>>2]=v[h+48>>2];Zp(b,v[h+20>>2],v[h+24>>2]);j=v[b+12>>2];k=v[b+20>>2]-j|0;m=v[b+24>>2]-j|0;j=v[h+12>>2];Qa[v[h+44>>2]](v[b+8>>2],k,m,v[h+8>>2],v[h+20>>2]-j|0,v[h+24>>2]-j|0);v[b+4>>2]=v[b+4>>2]+1;h=v[e+4>>2];I:{if(!h){break I}j=v[h+4>>2]-1|0;v[h+4>>2]=j;if(j){break I}Qa[v[v[h>>2]+4>>2]](h)}v[e+4>>2]=b;b=v[e+4>>2]}Qa[v[v[c>>2]+32>>2]](f,v[b+8>>2]-v[b+12>>2]|0,g,0)|0;break H}v[e>>2]=969572;v[e+4>>2]=0;c=ab(52);v[c+48>>2]=3585;v[c+44>>2]=3586;v[c+40>>2]=3586;v[c+36>>2]=3587;v[c+32>>2]=3588;v[c+28>>2]=1;v[c>>2]=969512;$a(0);v[c+20>>2]=0;v[c+24>>2]=-1;v[c+12>>2]=0;v[c+16>>2]=-1;v[c+4>>2]=1;v[c+8>>2]=0;v[e+4>>2]=c}f=v[p+12>>2];b=v[d+1068>>2];if(v[b+4>>2]>=2){b=Yp(ab(52),b);v[b+4>>2]=v[b+4>>2]+1;c=v[d+1068>>2];J:{if(!c){break J}h=v[c+4>>2]-1|0;v[c+4>>2]=h;if(h){break J}Qa[v[v[c>>2]+4>>2]](c)}v[d+1068>>2]=b}eT(f,v[b+8>>2]-v[b+12>>2]|0,(v[b+24>>2]-v[b+20>>2]|0)+1|0);By(v[p+12>>2]);qb(H,0);qb(F,0);v[d+1064>>2]=969432;c=v[d+1068>>2];K:{if(!c){break K}b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(b){break K}Qa[v[v[c>>2]+4>>2]](c)}c=v[d+8>>2];v[d+8>>2]=0;L:{if(!c){break L}b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(b){break L}b=v[c+4>>2];if(!b){v[c+4>>2]=-32767}if(!b){Qa[v[v[c>>2]+4>>2]](c)}}c=v[d+24>>2];v[d+24>>2]=0;M:{if(!c){break M}b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(b){break M}b=v[c+4>>2];if(!b){v[c+4>>2]=-32767}if(!b){Qa[v[v[c>>2]+4>>2]](c)}}c=v[d+1072>>2];v[d+1072>>2]=0;N:{if(!c){break N}b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(b){break N}b=v[c+4>>2];if(!b){v[c+4>>2]=-32767}if(!b){Qa[v[v[c>>2]+4>>2]](c)}}c=v[d+1080>>2];v[d+1080>>2]=0;if(!c){break j}b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(b){break j}b=v[c+4>>2];if(!b){v[c+4>>2]=-32767}if(!b){Qa[v[v[c>>2]+4>>2]](c)}break j}if(v[v[F>>2]+148>>2]&4){qb(H,0);qb(F,0);By(v[p+12>>2]);break j}XE(v[F>>2])}if(!b){break i}}v[d+36>>2]=K;v[d+32>>2]=z;z=v[z>>2];Ag(K,d+32|0);break h}z=v[z>>2]}c=v[p+4>>2]-1|0;v[p+4>>2]=c;if(!c){c=v[p+4>>2];if(!c){v[p+4>>2]=-32767}if(!c){Qa[v[v[p>>2]+4>>2]](p)}}if(z){continue}break}}Ma=d+1120|0}function Uja(a){a=a|0;var 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,u=0,x=0,z=0;s=Ma-16|0;Ma=s;v[s+8>>2]=0;qb(s+8|0,a);qb(a+168|0,0);f=Ma-128|0;Ma=f;r=Mf();b=f+120|0;th(b,v[a+44>>2]);Ve(f+112|0,b);m=v[f+112>>2];v[f+104>>2]=0;v[f+108>>2]=v[279250];a:{b:{c:{d:{e:{f:{g:{h:{b=Ad(m,f+104|0,0);if(b){if((b|0)<=-1){break h}if((b|0)<=7){break g}i:{if(!Hb(f+104|0,310900,-1)){b=f+104|0;Ad(m,b,0);j:{if(!Hb(b,310925,-1)){c=ab(136);v[c+12>>2]=0;v[c+16>>2]=0;v[c>>2]=970956;v[c+4>>2]=0;v[c+20>>2]=0;v[c+24>>2]=0;v[c+12>>2]=970612;v[c+16>>2]=0;v[c+20>>2]=0;v[c+24>>2]=0;v[c+48>>2]=-1;v[c+40>>2]=-1;v[c+44>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+28>>2]=970988;v[c+76>>2]=0;v[c+68>>2]=0;v[c+72>>2]=0;v[c+60>>2]=0;v[c+64>>2]=0;v[c+52>>2]=0;v[c+56>>2]=0;jd(c+52|0,971008);v[c+104>>2]=0;v[c+96>>2]=0;v[c+100>>2]=0;v[c+88>>2]=0;v[c+92>>2]=0;v[c+80>>2]=0;v[c+84>>2]=0;jd(c+80|0,971008);v[c+132>>2]=0;v[c+124>>2]=0;v[c+128>>2]=0;v[c+116>>2]=0;v[c+120>>2]=0;v[c+108>>2]=0;v[c+112>>2]=0;jd(c+108|0,971008);v[f+64>>2]=0;b=f- -64|0;qb(b,c);jb(a+48|0,b);c=v[f+64>>2];v[f+64>>2]=0;k:{if(!c){break k}b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(b){break k}b=v[c+4>>2];if(!b){v[c+4>>2]=-32767}if(!b){Qa[v[v[c>>2]+4>>2]](c)}}l=v[a+48>>2];v[f+64>>2]=0;j=f- -64|0;qb(j,m);e=Ma-1104|0;Ma=e;z=v[j>>2];i=l+12|0;ac(i);q=l+28|0;pi(q,0,-1);o=l+52|0;ly(o);n=l+80|0;ly(n);p=l+108|0;ly(p);l:{m:{n:{o:{p:{q:{b=Me(z);x=b&127;if(x>>>0<2){h=yj(z);if(!h){break p}if((h|0)<=0){break q}g=b&128;while(1){c=ab(60);v[c+20>>2]=0;v[c>>2]=970764;v[c+4>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;t[c+16|0]=0;b=v[279250];v[c+56>>2]=-1;t[c+52|0]=0;v[c+48>>2]=b;v[c+44>>2]=0;v[c+40>>2]=b;v[c+36>>2]=0;v[c+32>>2]=b;v[c+28>>2]=0;v[c+24>>2]=b;v[e+1080>>2]=0;qb(e+1080|0,c);c=ab(12);v[c>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;b=c;k=v[e+1080>>2];if(k){v[k+4>>2]=v[k+4>>2]+1;k=v[e+1080>>2]}else{k=0}v[b+8>>2]=k;de(i,c);r:{if(g){c=hs(z);b=v[e+1080>>2];v[b+8>>2]=c;if(!x){c=Wp(z);b=v[e+1080>>2];v[b+12>>2]=c;c=v[b+8>>2]}if(c){break r}lb(mb(e,233557,241117,259,335302));L()}b=v[e+1080>>2];v[b+8>>2]=0;v[b+12>>2]=0}v[e+1080>>2]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}d=d+1|0;if((h|0)!=(d|0)){continue}break}break q}b=e+1072|0;Rc(b,348300,Qe(e+1064|0,1));a=e+1024|0;ic(a,b,349014);Xb(e+1080|0,a,Qe(e+1056|0,x));a=v[e+1080>>2];lb(mb(e,v[(a?a+12|0:1117e3)>>2],241117,238,335302));L()}b=e;c=v[j>>2];if(c){v[c+4>>2]=v[c+4>>2]+1;c=v[j>>2]}else{c=0}v[b+1048>>2]=c;Vu(e+1064|0,e+1048|0);c=v[e+1048>>2];v[e+1048>>2]=0;s:{if(!c){break s}b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(b){break s}b=v[c+4>>2];if(!b){v[c+4>>2]=-32767}if(!b){Qa[v[v[c>>2]+4>>2]](c)}}d=v[e+1064>>2];t:{if(!x){break t}h=v[l+20>>2];if(!h){break t}while(1){b=Wp(d);v[v[h+8>>2]+12>>2]=b;h=v[h>>2];if(h){continue}break}}h=v[l+20>>2];if(h){while(1){b=Me(d);t[v[h+8>>2]+52|0]=b;h=v[h>>2];if(h){continue}break}}u:{if(x){break u}h=v[l+20>>2];if(!h){break u}while(1){b=v[h+8>>2];c=w[b+52|0];t[b+52|0]=c<<4&64|(c<<6&128|c&1);h=v[h>>2];if(h){continue}break}}c=e+1024|0;v[c+20>>2]=-1;v[c+12>>2]=-1;v[c+16>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;v[c>>2]=970800;h=Qa[v[v[d>>2]+8>>2]](d,e,1024)|0;if(h){while(1){b=(v[e+1044>>2]-v[e+1040>>2]|0)+1|0;pi(c,0,(b+h|0)-1|0);cb(b+(v[e+1028>>2]-v[e+1032>>2]|0)|0,e,h);h=Qa[v[v[d>>2]+8>>2]](d,e,1024)|0;if(h){continue}break}}v:{w:{x:{d=v[l+20>>2];y:{if(!d){i=-1;break y}h=v[e+1028>>2]-v[e+1032>>2]|0;while(1){b=0;g=v[d+8>>2];if(g){v[g+4>>2]=v[g+4>>2]+1;b=v[d+8>>2]}oi(b+36|0,h);z:{A:{B:{g=v[b+36>>2];C:{if(g){h=(v[g+8>>2]+h|0)+1|0;if(t[b+52|0]<=-1){break C}Qa[v[v[g>>2]+28>>2]](e+1080|0,g,1);break A}h=h+1|0;if(t[b+52|0]>-1){break B}}oi(b+20|0,h);g=v[b+20>>2];if(g){k=v[g+8>>2]}else{k=0}h=(k+h|0)+1|0;break z}v[e+1080>>2]=0}jb(b+20|0,e+1080|0);i=v[e+1080>>2];v[e+1080>>2]=0;D:{if(!i){break D}g=v[i+4>>2]-1|0;v[i+4>>2]=g;if(g){break D}g=v[i+4>>2];if(!g){v[i+4>>2]=-32767}if(!g){Qa[v[v[i>>2]+4>>2]](i)}}g=v[b+20>>2];v[b+24>>2]=v[(g?g+12|0:1117e3)>>2]}i=b+44|0;E:{if(w[b+52|0]&64){oi(i,h);g=v[i>>2];if(g){k=v[g+8>>2]}else{k=0}h=(k+h|0)+1|0;break E}g=v[b+36>>2];F:{if(g){Qa[v[v[g>>2]+28>>2]](e+1080|0,g,1);break F}v[e+1080>>2]=0}jb(i,e+1080|0);k=v[e+1080>>2];v[e+1080>>2]=0;G:{if(!k){break G}g=v[k+4>>2]-1|0;v[k+4>>2]=g;if(g){break G}g=v[k+4>>2];if(!g){v[k+4>>2]=-32767}if(!g){Qa[v[v[k>>2]+4>>2]](k)}}g=v[i>>2];v[i+4>>2]=v[(g?g+12|0:1117e3)>>2]}g=v[b+4>>2]-1|0;v[b+4>>2]=g;if(!g){g=v[b+4>>2];if(!g){v[b+4>>2]=-32767}if(!g){Qa[v[v[b>>2]+4>>2]](b)}}d=v[d>>2];if(d){continue}break}i=-1;d=v[l+20>>2];if(!d){break y}h=0;b=d;while(1){h=((w[v[b+8>>2]+52|0]&63)==3)+h|0;b=v[b>>2];if(b){continue}break}if(h>>>0>1){break x}if(!d){break y}b=0;while(1){b=((w[v[d+8>>2]+52|0]&63)==1)+b|0;d=v[d>>2];if(d){continue}break}i=b-1|0}d=0;pi(q,0,i);h=v[l+20>>2];if(!h){break v}while(1){b=0;g=v[h+8>>2];if(g){v[g+4>>2]=v[g+4>>2]+1;b=v[h+8>>2]}v[e+1072>>2]=b;if((w[b+52|0]&63)==1){if(!(v[l+44>>2]<=(d|0)&v[l+48>>2]>=(d|0))){lb(mb(e+1080|0,227376,271519,619,307978));L()}jb(v[l+32>>2]+(d-v[l+36>>2]<<2)|0,e+1072|0);b=v[e+1072>>2];v[b+56>>2]=d;d=d+1|0}v[e+1072>>2]=0;H:{if(!b){break H}g=v[b+4>>2]-1|0;v[b+4>>2]=g;if(g){break H}g=v[b+4>>2];if(!g){v[b+4>>2]=-32767}if(!g){Qa[v[v[b>>2]+4>>2]](b)}}h=v[h>>2];if(h){continue}break}break w}lb(mb(e+1080|0,227331,241117,345,335302));L()}i=v[l+20>>2];if(!i){break v}while(1){b=0;d=v[i+8>>2];if(d){v[d+4>>2]=v[d+4>>2]+1;b=v[i+8>>2]}v[e+1056>>2]=b;d=b+20|0;g=Bd(d);b=v[v[o+12>>2]+((g>>>0)%y[o+8>>2]<<2)>>2];if(b){while(1){if((g|0)==v[b+12>>2]){if(!ld(b+16|0,d,-1)){break o}}b=v[b+8>>2];if(b){continue}break}}jb(xj(o,v[e+1056>>2]+20|0)+24|0,e+1056|0);d=v[e+1056>>2];v[e+1056>>2]=0;I:{if(!d){break I}b=v[d+4>>2]-1|0;v[d+4>>2]=b;if(b){break I}b=v[d+4>>2];if(!b){v[d+4>>2]=-32767}if(!b){Qa[v[v[d>>2]+4>>2]](d)}}i=v[i>>2];if(i){continue}break}i=v[l+20>>2];if(!i){break v}while(1){b=0;d=v[i+8>>2];if(d){v[d+4>>2]=v[d+4>>2]+1;b=v[i+8>>2]}v[e+1056>>2]=b;d=b+36|0;g=Bd(d);b=v[v[n+12>>2]+((g>>>0)%y[n+8>>2]<<2)>>2];if(b){while(1){if((g|0)==v[b+12>>2]){if(!ld(b+16|0,d,-1)){break n}}b=v[b+8>>2];if(b){continue}break}}jb(xj(n,v[e+1056>>2]+36|0)+24|0,e+1056|0);d=v[e+1056>>2];v[e+1056>>2]=0;J:{if(!d){break J}b=v[d+4>>2]-1|0;v[d+4>>2]=b;if(b){break J}b=v[d+4>>2];if(!b){v[d+4>>2]=-32767}if(!b){Qa[v[v[d>>2]+4>>2]](d)}}i=v[i>>2];if(i){continue}break}i=v[l+20>>2];if(!i){break v}while(1){b=v[i+8>>2];v[b+4>>2]=v[b+4>>2]+1;b=v[i+8>>2];v[e+1056>>2]=b;d=v[b+44>>2];if(!(!d|!v[d+8>>2])){d=b+44|0;g=Bd(d);b=v[v[p+12>>2]+((g>>>0)%y[p+8>>2]<<2)>>2];if(b){while(1){if((g|0)==v[b+12>>2]){if(!ld(b+16|0,d,-1)){break m}}b=v[b+8>>2];if(b){continue}break}}jb(xj(p,v[e+1056>>2]+44|0)+24|0,e+1056|0);b=v[e+1056>>2]}v[e+1056>>2]=0;K:{if(!b){break K}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break K}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}i=v[i>>2];if(i){continue}break}}xd(c);c=v[e+1064>>2];v[e+1064>>2]=0;if(!c){break p}b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(b){break p}b=v[c+4>>2];if(!b){v[c+4>>2]=-32767}if(!b){Qa[v[v[c>>2]+4>>2]](c)}}Ma=e+1104|0;break l}Rc(e+1072|0,348597,v[e+1056>>2]+20|0);a=v[e+1072>>2];lb(mb(e+1080|0,v[(a?a+12|0:1117e3)>>2],241117,369,335302));L()}Rc(e+1072|0,348767,v[e+1056>>2]+36|0);a=v[e+1072>>2];lb(mb(e+1080|0,v[(a?a+12|0:1117e3)>>2],241117,378,335302));L()}Rc(e+1072|0,348647,v[e+1056>>2]+44|0);a=v[e+1072>>2];lb(mb(e+1080|0,v[(a?a+12|0:1117e3)>>2],241117,389,335302));L()}c=v[f+64>>2];v[f+64>>2]=0;L:{if(!c){break L}b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(b){break L}b=v[c+4>>2];if(!b){v[c+4>>2]=-32767}if(!b){Qa[v[v[c>>2]+4>>2]](c)}}Od(m);b=a;e=b;M:{N:{c=v[b+48>>2];if(v[c+16>>2]){d=v[c+20>>2];c=c+12|0;v[f+68>>2]=c;v[f+64>>2]=d;if(!d){break f}c=v[d+8>>2];if(c){break N}}b=3;break M}b=v[c+8>>2]?3:4}v[e+56>>2]=b;mi(a+92|0,0,3,0);Qa[v[v[r>>2]+44>>2]](r,a,3,0);as(a);if(!Ad(m,f+104|0,0)){break j}if(Hb(f+104|0,310910,-1)){break j}b=f- -64|0;CS(b);jb(a+52|0,b);c=v[f+64>>2];v[f+64>>2]=0;O:{if(!c){break O}b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(b){break O}b=v[c+4>>2];if(!b){v[c+4>>2]=-32767}if(!b){Qa[v[v[c>>2]+4>>2]](c)}}c=v[a+52>>2];v[f+64>>2]=0;b=f- -64|0;qb(b,m);BS(c,b);c=v[f+64>>2];v[f+64>>2]=0;P:{if(!c){break P}b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(b){break P}b=v[c+4>>2];if(!b){v[c+4>>2]=-32767}if(!b){Qa[v[v[c>>2]+4>>2]](c)}}Od(m);break j}if(Hb(f+104|0,325087,-1)){break e}v[a+56>>2]=1;mi(a+92|0,0,1,0);Qa[v[v[r>>2]+44>>2]](r,a,1,0);as(a)}if(v[a+56>>2]==1){c=ab(60);v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=971608;v[c+4>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+32>>2]=0;jd(c+8|0,971640);v[c+56>>2]=-1;v[c+48>>2]=-1;v[c+52>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+36>>2]=970988;v[f+64>>2]=0;b=f- -64|0;qb(b,c);jb(a+108|0,b);c=v[f+64>>2];v[f+64>>2]=0;Q:{if(!c){break Q}b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(b){break Q}b=v[c+4>>2];if(!b){v[c+4>>2]=-32767}if(!b){Qa[v[v[c>>2]+4>>2]](c)}}o=v[a+108>>2];v[f+64>>2]=0;qb(f- -64|0,m);h=v[f+64>>2];p=Ma-16|0;Ma=p;ly(o+8|0);xd(o+36|0);b=yj(h);if((b|0)>0){while(1){c=b;v[p+8>>2]=0;v[p+12>>2]=v[279250];R:{if(!(Qa[v[v[h>>2]+8>>2]](h,p+7|0,1)|0)){break R}b=w[p+7|0];if(!b){break R}while(1){Pd(p+8|0,b<<24>>24);if(!(Qa[v[v[h>>2]+8>>2]](h,p+7|0,1)|0)){break R}b=w[p+7|0];if(b){continue}break}}i=(Me(h)|0)!=0;q=hs(h);g=hs(h);j=Ma-32|0;Ma=j;S:{T:{e=p+8|0;k=e;b=v[e>>2];if(b){if((an(b,47,0)|0)>-1){break T}b=v[k>>2]}n=ab(28);v[n+8>>2]=0;v[n>>2]=970868;v[n+4>>2]=0;v[n+12>>2]=v[279250];d=n+8|0;U:{if(b){Qa[v[v[b>>2]+28>>2]](j+8|0,b,1);break U}v[j+8>>2]=0}jb(d,j+8|0);d=v[j+8>>2];v[j+8>>2]=0;V:{if(!d){break V}b=v[d+4>>2]-1|0;v[d+4>>2]=b;if(b){break V}b=v[d+4>>2];if(!b){v[d+4>>2]=-32767}if(!b){Qa[v[v[d>>2]+4>>2]](d)}}b=v[n+8>>2];b=v[(b?b+12|0:1117e3)>>2];v[n+24>>2]=g;v[n+20>>2]=q;t[n+16|0]=i;v[n+12>>2]=b;v[j>>2]=0;qb(j,n);jb(xj(o+8|0,k)+24|0,j);pi(o+36|0,0,(v[o+56>>2]-v[o+52>>2]|0)+1|0);d=v[o+56>>2];b=v[o+52>>2];g=d-b|0;if((d|0)<(g|0)|(b|0)>(g|0)){break a}jb(v[o+40>>2]+(g-v[o+44>>2]<<2)|0,j);d=v[j>>2];v[j>>2]=0;W:{if(!d){break W}b=v[d+4>>2]-1|0;v[d+4>>2]=b;if(b){break W}b=v[d+4>>2];if(!b){v[d+4>>2]=-32767}if(!b){Qa[v[v[d>>2]+4>>2]](d)}}Ma=j+32|0;break S}lb(mb(j+8|0,269780,242209,157,328299));L()}b=c-1|0;db(e);if((c|0)>1){continue}break}}Ma=p+16|0;c=v[f+64>>2];v[f+64>>2]=0;X:{if(!c){break X}b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(b){break X}b=v[c+4>>2];if(!b){v[c+4>>2]=-32767}if(!b){Qa[v[v[c>>2]+4>>2]](c)}}Od(m);while(1){if(!Ad(m,f+104|0,f+8|0)){break d}Y:{Z:{if(!Hb(f+104|0,309208,-1)){break Z}if(!Hb(f+104|0,316701,-1)){break Z}c=0;if(Hb(f+104|0,316735,-1)){break Y}}c=v[f+8>>2]}Od(m);if(!c){continue}break}b=v[a+108>>2];_:{if(((v[b+56>>2]-v[b+52>>2]|0)+1|0)<=0){break _}while(1){g=f- -64|0;j=Ma-32|0;Ma=j;e=v[b+56>>2];d=v[b+52>>2];$:{if(((e-d|0)+1|0)>(u|0)){if((e|0)<(u|0)|(d|0)>(u|0)){break a}b=v[b+40>>2]+(u-v[b+44>>2]<<2)|0;d=v[b>>2];if(!d){v[g>>2]=0;break $}v[d+4>>2]=v[d+4>>2]+1;v[g>>2]=v[b>>2];break $}v[g>>2]=0;qb(g,0)}Ma=j+32|0;d=v[f+64>>2];v[f+64>>2]=0;aa:{if(!d){break aa}b=v[d+4>>2]-1|0;v[d+4>>2]=b;if(b){break aa}b=v[d+4>>2];if(!b){v[d+4>>2]=-32767}if(!b){Qa[v[v[d>>2]+4>>2]](d)}}if((c|0)!=v[d+20>>2]){u=u+1|0;b=v[a+108>>2];if((u|0)>=((v[b+56>>2]-v[b+52>>2]|0)+1|0)){break _}continue}break}b=a+116|0;c=v[d+8>>2];ba:{if(c){Qa[v[v[c>>2]+28>>2]](f- -64|0,c,1);break ba}v[f+64>>2]=0}jb(b,f- -64|0);c=v[f+64>>2];v[f+64>>2]=0;ca:{if(!c){break ca}b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(b){break ca}b=v[c+4>>2];if(!b){v[c+4>>2]=-32767}if(!b){Qa[v[v[c>>2]+4>>2]](c)}}b=v[a+116>>2];v[a+120>>2]=v[(b?b+12|0:1117e3)>>2]}b=v[a+116>>2];if(!b|!v[b+8>>2]){break c}mi(a+92|0,0,2,0);Qa[v[v[r>>2]+44>>2]](r,a,2,0);as(a)}if(!Ad(m,f+104|0,0)){break i}while(1){if(!Hb(f+104|0,310910,-1)){b=f- -64|0;CS(b);jb(a+52|0,b);c=v[f+64>>2];v[f+64>>2]=0;da:{if(!c){break da}b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(b){break da}b=v[c+4>>2];if(!b){v[c+4>>2]=-32767}if(!b){Qa[v[v[c>>2]+4>>2]](c)}}c=v[a+52>>2];v[f+64>>2]=0;b=f- -64|0;qb(b,m);BS(c,b);c=v[f+64>>2];v[f+64>>2]=0;ea:{if(!c){break ea}b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(b){break ea}b=v[c+4>>2];if(!b){v[c+4>>2]=-32767}if(!b){Qa[v[v[c>>2]+4>>2]](c)}}Od(m);break i}Od(m);if(Ad(m,f+104|0,0)){continue}break}break i}v[a+56>>2]=5;mi(a+92|0,0,1,0);Qa[v[v[r>>2]+44>>2]](r,a,1,0);as(a)}fa:{switch(v[a+56>>2]-1|0){case 0:case 4:b=f- -64|0;$r(b,a,-1,0);e=a+124|0;jb(e,b);c=v[f+64>>2];v[f+64>>2]=0;ga:{if(!c){break ga}b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(b){break ga}b=v[c+4>>2];if(!b){v[c+4>>2]=-32767}if(!b){Qa[v[v[c>>2]+4>>2]](c)}}d=v[e>>2];ha:{if(!d){break ha}g=Ma-32|0;Ma=g;v[g+24>>2]=0;v[g+16>>2]=0;v[g+20>>2]=0;v[g+8>>2]=0;v[g+12>>2]=0;v[g>>2]=0;v[g+4>>2]=0;c=jd(g,971432);b=f- -64|0;XR(b,d,g);vd(c);Ma=g+32|0;jb(a+112|0,b);c=v[f+64>>2];v[f+64>>2]=0;if(!c){break ha}b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(b){break ha}b=v[c+4>>2];if(!b){v[c+4>>2]=-32767}if(!b){Qa[v[v[c>>2]+4>>2]](c)}}qb(e,0);b=v[a+56>>2];ia:{if(!v[a+112>>2]){g=a+112|0;if((b|0)==1){d=Oc(f+8|0,217905);e=ki(f- -64|0,d,a+8|0);c=qy(ab(128),e);v[f+48>>2]=0;b=f+48|0;qb(b,c);jb(g,b);c=v[f+48>>2];v[f+48>>2]=0;ja:{if(!c){break ja}b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(b){break ja}b=v[c+4>>2];if(!b){v[c+4>>2]=-32767}if(!b){Qa[v[v[c>>2]+4>>2]](c)}}v[e+24>>2]=969432;v[e>>2]=969400;c=v[e+28>>2];if(c){b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(!b){Qa[v[v[c>>2]+4>>2]](c)}v[e+28>>2]=0}v[e+16>>2]=969432;c=v[e+20>>2];if(c){b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(!b){Qa[v[v[c>>2]+4>>2]](c)}v[e+20>>2]=0}db(e+8|0);db(d);b=v[a+116>>2];ER(v[a+112>>2],v[(b?b+12|0:1117e3)>>2]);break ia}e=Oc(f+48|0,217905);b=f+8|0;d=a+8|0;vj(b,d);q=ki(f- -64|0,e,b);c=qy(ab(128),q);v[f+56>>2]=0;b=f+56|0;qb(b,c);jb(g,b);c=v[f+56>>2];v[f+56>>2]=0;ka:{if(!c){break ka}b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(b){break ka}b=v[c+4>>2];if(!b){v[c+4>>2]=-32767}if(!b){Qa[v[v[c>>2]+4>>2]](c)}}v[q+24>>2]=969432;v[q>>2]=969400;c=v[q+28>>2];if(c){b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(!b){Qa[v[v[c>>2]+4>>2]](c)}v[q+28>>2]=0}v[q+16>>2]=969432;c=v[q+20>>2];if(c){b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(!b){Qa[v[v[c>>2]+4>>2]](c)}v[q+20>>2]=0}db(q+8|0);v[f+32>>2]=969432;v[f+8>>2]=969400;c=v[f+36>>2];if(c){b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(!b){Qa[v[v[c>>2]+4>>2]](c)}v[f+36>>2]=0}v[f+24>>2]=969432;c=v[f+28>>2];if(c){b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(!b){Qa[v[v[c>>2]+4>>2]](c)}v[f+28>>2]=0}db(f+16|0);db(e);b=v[g>>2];c=f- -64|0;fh(c,d);e=b;b=v[f+64>>2];ER(e,v[(b?b+12|0:1117e3)>>2]);db(c);break ia}if((b|0)!=5){break ia}v[a+56>>2]=2}mi(a+92|0,0,4,0);Qa[v[v[r>>2]+44>>2]](r,a,4,0);as(a);break;default:break fa}}mi(a+92|0,0,8,0);Qa[v[v[r>>2]+44>>2]](r,a,8,0);as(a);mi(a+96|0,0,2,0);db(f+104|0);b=v[f+112>>2];v[f+112>>2]=0;la:{if(!b){break la}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break la}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}}b=v[f+120>>2];v[f+120>>2]=0;ma:{if(!b){break ma}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break ma}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}}Ma=f+128|0;break b}lb(mb(f- -64|0,v[279242],240864,336,333140));L()}lb(mb(f- -64|0,280477,240864,338,333140));L()}lb(mb(f- -64|0,225101,240864,340,333140));L()}wd(f- -64|0,c);L()}lb(mb(f- -64|0,233994,240864,385,333140));L()}lb(mb(f- -64|0,283014,240864,403,333140));L()}lb(mb(f- -64|0,283014,240864,425,333140));L()}b=v[s+8>>2];v[s+8>>2]=0;na:{if(!b){break na}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break na}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}}Ma=s+16|0;return}lb(mb(j+8|0,227376,271519,619,308068));L()}function dQa(a,b){a=a|0;b=b|0;var 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,u=0,x=0,y=0,z=0,B=0,C=0;k=Ma-96|0;Ma=k;a:{if(!v[a+16>>2]){b=1;break a}b=v[b>>2];n=b&1;b:{c:{d:{e:{b=b&65280;if((b|0)!=512){if((b|0)!=256){break b}b=0;t[v[v[a+20>>2]+4>>2]+24|0]=0;if((v[a+96>>2]&-2)==3008){g=a+116|0;f=(v[a+132>>2]-1>>>0>1)<<2;b=v[a+660>>2];f:{if(b){b=Qa[v[v[b>>2]+20>>2]](b,g)|0;d=Cw(ab(40),Qa[v[v[b>>2]+16>>2]](b)|0,f);break f}b=0;d=w[a+127|0];e=d<<24>>24<0;d=e?v[a+120>>2]:d;c=0;if((d|0)<5){break d}e=e?v[a+116>>2]:g;j=e+(d<<2)|0;b=e;while(1){c=d-4|0;if(!c){break e}d=xe(b,100,c);if(!d){break e}if(lc(d,351228,5)){b=d+4|0;c=j-b|0;d=c>>2;if((c|0)>=20){continue}break e}break}b=0;c=0;if((d|0)==(j|0)){break d}c=0;if((d|0)!=(e|0)){break d}d=0;j=xt(g,351252,0);hK(g,sj(g,44,0)+1|0);c=k+80|0;b=w[a+127|0];e=b<<24>>24<0;g=e?v[a+116>>2]:g;e=F2(c,g,g+((e?v[a+120>>2]:b)<<2)|0);b=w[e+11|0];b=b<<24>>24<0?v[e+4>>2]:b;v[k+76>>2]=b;g=ab(b- -64|0);r=c;b=w[e+11|0];c=b<<24>>24<0;if((tZ(c?v[e>>2]:r,c?v[e+4>>2]:b,g,k+76|0)|0)==1){b=k+24|0;c=b;v[c>>2]=0;v[c+4>>2]=0;t[c+40|0]=0;v[c+32>>2]=0;v[c+36>>2]=-1074790400;t[c+21|0]=0;t[c+22|0]=0;t[c+23|0]=0;t[c+24|0]=0;t[c+25|0]=0;t[c+26|0]=0;t[c+27|0]=0;t[c+28|0]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;g:{if((j|0)!=-1){c=k;d=c;h=K(+(v[c+76>>2]>>2));h:{if(D(h)<2147483648){c=~~h;break h}c=-2147483648}v[d+20>>2]=c;t[k+16|0]=1;t[b+40|0]=w[k+16|0];v[b+16>>2]=g;v[b+4>>2]=v[k+20>>2];v[b+8>>2]=v[k+20>>2];v[k+16>>2]=v[k+20>>2]<<2;v[b+12>>2]=v[k+16>>2];break g}t[k+20|0]=0;t[b+40|0]=w[k+20|0];IM(b,g,v[k+76>>2]);$a(g)}d=ab(32);c=d;v[c+12>>2]=0;v[c+16>>2]=0;v[c+4>>2]=1;v[c+8>>2]=8;v[c>>2]=360452;v[c+20>>2]=0;v[c+24>>2]=0;t[c+28|0]=0;g=v[b+16>>2];v[k+20>>2]=v[b+4>>2];v[k+16>>2]=v[b+8>>2];v[k+12>>2]=v[b+12>>2];Uo(c,g,k+20|0,k+16|0,k+12|0);v[b>>2]=0;v[b+4>>2]=0;t[b+40|0]=0;v[b+32>>2]=0;v[b+36>>2]=-1074790400;t[b+21|0]=0;t[b+22|0]=0;t[b+23|0]=0;t[b+24|0]=0;t[b+25|0]=0;t[b+26|0]=0;t[b+27|0]=0;t[b+28|0]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;d=Cw(ab(40),c,f);v[d+12>>2]=1;un(b)}if(t[e+11|0]<=-1){$a(v[e>>2])}b=0;c=0;if(!d){break d}}if(v[a+96>>2]==3009){v[d+24>>2]=1;v[d+28>>2]=v[a+100>>2]|v[a+108>>2]<<24;v[d+32>>2]=v[a+104>>2]|v[a+112>>2]<<24}t[d+36|0]=v[a+128>>2];c=d;break d}c=Hw(a,a+88|0);break d}t[v[v[a+20>>2]+4>>2]+24|0]=1;i:{j:{if((v[a+96>>2]&-2)==3008){g=a+116|0;f=(v[a+132>>2]-1>>>0>1)<<2;b=v[a+660>>2];k:{if(b){b=Qa[v[v[b>>2]+20>>2]](b,g)|0;c=Cw(ab(40),Qa[v[v[b>>2]+16>>2]](b)|0,f);break k}b=0;d=w[a+127|0];e=d<<24>>24<0;d=e?v[a+120>>2]:d;if((d|0)<5){break i}e=e?v[a+116>>2]:g;j=e+(d<<2)|0;b=e;while(1){d=d-4|0;if(!d){break j}d=xe(b,100,d);if(!d){break j}if(lc(d,351228,5)){b=d+4|0;l=j-b|0;d=l>>2;if((l|0)>=20){continue}break j}break}if((d|0)==(j|0)){b=0;break i}b=0;if((d|0)!=(e|0)){break i}j=xt(g,351252,0);hK(g,sj(g,44,0)+1|0);l=k+80|0;b=w[a+127|0];d=b<<24>>24<0;e=d?v[a+116>>2]:g;d=F2(l,e,e+((d?v[a+120>>2]:b)<<2)|0);b=w[d+11|0];b=b<<24>>24<0?v[d+4>>2]:b;v[k+76>>2]=b;e=ab(b- -64|0);b=w[d+11|0];g=b<<24>>24<0;if((tZ(g?v[d>>2]:l,g?v[d+4>>2]:b,e,k+76|0)|0)==1){b=k+24|0;c=b;v[c>>2]=0;v[c+4>>2]=0;t[c+40|0]=0;v[c+32>>2]=0;v[c+36>>2]=-1074790400;t[c+21|0]=0;t[c+22|0]=0;t[c+23|0]=0;t[c+24|0]=0;t[c+25|0]=0;t[c+26|0]=0;t[c+27|0]=0;t[c+28|0]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;l:{if((j|0)!=-1){c=k;g=c;h=K(+(v[c+76>>2]>>2));m:{if(D(h)<2147483648){c=~~h;break m}c=-2147483648}v[g+20>>2]=c;t[k+16|0]=1;t[b+40|0]=w[k+16|0];v[b+16>>2]=e;v[b+4>>2]=v[k+20>>2];v[b+8>>2]=v[k+20>>2];v[k+16>>2]=v[k+20>>2]<<2;v[b+12>>2]=v[k+16>>2];break l}t[k+20|0]=0;t[b+40|0]=w[k+20|0];IM(b,e,v[k+76>>2]);$a(e)}e=ab(32);c=e;v[c+12>>2]=0;v[c+16>>2]=0;v[c+4>>2]=1;v[c+8>>2]=8;v[c>>2]=360452;v[c+20>>2]=0;v[c+24>>2]=0;t[c+28|0]=0;g=v[b+16>>2];v[k+20>>2]=v[b+4>>2];v[k+16>>2]=v[b+8>>2];v[k+12>>2]=v[b+12>>2];Uo(c,g,k+20|0,k+16|0,k+12|0);v[b>>2]=0;v[b+4>>2]=0;t[b+40|0]=0;v[b+32>>2]=0;v[b+36>>2]=-1074790400;t[b+21|0]=0;t[b+22|0]=0;t[b+23|0]=0;t[b+24|0]=0;t[b+25|0]=0;t[b+26|0]=0;t[b+27|0]=0;t[b+28|0]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;c=Cw(ab(40),c,f);v[c+12>>2]=1;un(b)}if(t[d+11|0]<=-1){$a(v[d>>2])}b=0}if(!c|v[a+96>>2]!=3009){break i}v[c+24>>2]=1;v[c+28>>2]=v[a+100>>2]|v[a+108>>2]<<24;v[c+32>>2]=v[a+104>>2]|v[a+112>>2]<<24;break i}b=0;c=Hw(a,a+88|0);break i}b=0}break c}b=0;c=0}}u2(v[a+16>>2],c,v[a+20>>2]);if(c){Qa[v[v[c>>2]+4>>2]](c)}if(!b){break b}Qa[v[v[b>>2]+12>>2]](b)|0}b=0;if(!n){break a}n=v[a+16>>2];d=Ma-1040|0;Ma=d;e=v[a+20>>2];if(!(!e|(a|0)==-24)){v[n+2800>>2]=0;c=n+1716|0;v[c>>2]=-2147483647;v[c+4>>2]=-2147483647;c=n+1708|0;v[c>>2]=2147483647;v[c+4>>2]=2147483647;t[n+1724|0]=0;c=n+1700|0;v[c>>2]=0;v[c+4>>2]=0;c=n+1692|0;v[c>>2]=2147483647;v[c+4>>2]=2147483647;c=n+1684|0;v[c>>2]=0;v[c+4>>2]=0;c=n+1676|0;v[c>>2]=2147483647;v[c+4>>2]=2147483647;c=n+1636|0;v[c>>2]=0;v[c+4>>2]=0;g=2;c=t[a+51|0];if(c>>>0<=3){g=v[(c<<2)+360040>>2]}B=A[a+80>>3];h=A[a+40>>3];f=w[a+49|0];c=v[n+44>>2];i=A[c+24>>3];q=A[c>>3];y=A[c+16>>3];C=A[c+8>>3];c=v[e+4>>2];v[d+1032>>2]=0;e=d+1024|0;v[e>>2]=0;v[e+4>>2]=0;v[d+1016>>2]=0;v[d+1020>>2]=0;e=d+1016|0;t2(e,c);v[d+1036>>2]=v[c+20>>2];v[d+600>>2]=0;v[d+604>>2]=0;v[d+608>>2]=0;v[d+612>>2]=0;v[d+752>>2]=0;v[d+756>>2]=0;v[d+736>>2]=0;v[d+740>>2]=1072693248;v[d+616>>2]=0;v[d+620>>2]=1072693248;v[d+760>>2]=0;v[d+764>>2]=0;v[d+768>>2]=0;v[d+772>>2]=0;v[d+776>>2]=0;v[d+968>>2]=0;v[d+972>>2]=0;v[d+952>>2]=0;v[d+956>>2]=1072693248;v[d+800>>2]=0;v[d+804>>2]=1072693248;v[d+780>>2]=64;v[d+784>>2]=1;v[d+976>>2]=0;v[d+980>>2]=0;v[d+984>>2]=0;v[d+988>>2]=0;v[d+992>>2]=0;v[d+996>>2]=0;v[d+1e3>>2]=0;v[d+592>>2]=0;v[d+596>>2]=0;v[d+792>>2]=0;v[d+796>>2]=0;v[d+584>>2]=e;v[d+1004>>2]=64;v[d+1008>>2]=1;A[d+616>>3]=25;v[d+736>>2]=0;v[d+740>>2]=1077477376;A[d+800>>3]=25;v[d+1008>>2]=0;v[d+784>>2]=0;v[d+952>>2]=0;v[d+956>>2]=1077477376;j=(f|0)==1;c=w[a+48|0];n:{if((c|0)!=5){break n}e=v[a+56>>2];if(!e){c=0;break n}c=0;l=v[a+52>>2];if(!l|(e|0)<=0){break n}o:{while(1){if(D(A[l+(c<<3)>>3])>1e-4){break o}c=c+1|0;if((e|0)!=(c|0)){continue}break}c=0;break n}c=5}j=j?1:2;p:{if(!w[n+2820|0]){r=v[n+56>>2];break p}r=ab(48);e=r;v[e+8>>2]=0;v[e+12>>2]=0;v[e>>2]=0;v[e+4>>2]=1072693248;v[e+32>>2]=0;v[e+36>>2]=0;v[e+24>>2]=0;v[e+28>>2]=1072693248;v[e+16>>2]=0;v[e+20>>2]=0;v[e+40>>2]=0;v[e+44>>2]=0}e=n+1628|0;o=f?j:0;q:{if(!c){v[d+192>>2]=d+584;L0(d+200|0);v[d+264>>2]=3;v[d+260>>2]=g;v[d+256>>2]=o;A[d+232>>3]=B;v[d+248>>2]=0;v[d+252>>2]=1077477376;h=h*.5;A[d+200>>3]=h;A[d+216>>3]=h*.0009765625;c=h<0;v[d+224>>2]=c?-1:1;A[d+208>>3]=c?-h:h;v[d+348>>2]=0;v[d+12>>2]=r;v[d+8>>2]=d+192;l=Ma-16|0;Ma=l;g=v[d+8>>2];c=v[g>>2];v[v[c>>2]+20>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c+24>>2]=0;v[c+28>>2]=-1;v[c+208>>2]=0;v[c+212>>2]=-1;v[c+176>>2]=0;v[c+180>>2]=0;v[c+400>>2]=0;v[c+404>>2]=0;v[g+156>>2]=0;if(w[e+96|0]){t[e+96|0]=0;v[e+64>>2]=2147483647;v[e+68>>2]=2147483647;v[e+48>>2]=2147483647;v[e+52>>2]=2147483647;v[e+8>>2]=0;v[e+12>>2]=0;v[e+1172>>2]=0;v[e+88>>2]=-2147483647;v[e+92>>2]=-2147483647;v[e+80>>2]=2147483647;v[e+84>>2]=2147483647;v[e+72>>2]=0;v[e+76>>2]=0;v[e+56>>2]=0;v[e+60>>2]=0}g=e+100|0;while(1){r:{o=l+8|0;f=v[d+8>>2];j=f+8|0;m=f+176|0;p=f+168|0;while(1){s:{t:{u:{v:{switch(v[f+156>>2]){case 1:c=v[f+160>>2];break u;case 2:break t;case 0:break v;default:continue}}c=ut(v[f>>2],p,m);v[f+156>>2]=1;v[f+160>>2]=c}if(!c){c=0;break s}v[j+120>>2]=0;v[j+124>>2]=0;v[j+72>>2]=0;ot(j,A[p>>3],A[m>>3],1);w:{while(1){c=ut(v[f>>2],o,l);if(c-1>>>0<=13){v[f+160>>2]=c;h=A[o>>3];if((c|0)==1){A[p>>3]=h;A[m>>3]=A[l>>3];break w}ot(j,h,A[l>>3],c);continue}if(!c){v[f+160>>2]=0;break w}if((c&15)!=15){continue}break}ot(j,A[o>>3],A[l>>3],c)}K0(j);v[f+156>>2]=2}c=J0(j,o,l);if(c){break s}v[f+156>>2]=1;continue}break}if(c-1>>>0>=14){if(!c){break r}if((c&-49)!=79|v[e+1172>>2]!=2){continue}rc(g,e,v[e+1164>>2],v[e+1168>>2]);v[e+1172>>2]=3;continue}f=v[d+12>>2];i=A[l+8>>3];q=A[l>>3];h=A[f+32>>3]+(i*A[f>>3]+q*A[f+16>>3]);A[l+8>>3]=h;i=A[f+40>>3]+(i*A[f+8>>3]+q*A[f+24>>3]);A[l>>3]=i;if((c|0)==1){dK(e,h,i)}else{i=i*256;i=i+(i<0?-.5:.5);x:{if(D(i)<2147483648){c=~~i;break x}c=-2147483648}f=g;j=e;h=h*256;h=h+(h<0?-.5:.5);y:{if(D(h)<2147483648){m=~~h;break y}m=-2147483648}rc(f,j,m,c);v[e+1172>>2]=2}continue}break}Ma=l+16|0;e=v[d+296>>2];if(e){c=e-1|0;v[d+296>>2]=c;f=v[d+304>>2]+(e<<2)|0;while(1){g=d;f=f-4|0;e=v[f>>2];if(e){$a(e);c=v[d+296>>2]}e=c;c=e-1|0;v[g+296>>2]=c;if(e){continue}break}}c=v[d+304>>2];if(c){$a(c)}e=v[d+276>>2];if(e){c=e-1|0;v[d+276>>2]=c;f=v[d+284>>2]+(e<<2)|0;while(1){g=d;f=f-4|0;e=v[f>>2];if(e){$a(e);c=v[d+276>>2]}e=c;c=e-1|0;v[g+276>>2]=c;if(e){continue}break}}c=v[d+284>>2];if(!c){break q}$a(c);break q}q=1/K(q*i-C*y);v[d+192>>2]=d+584;f=d+200|0;v[f+272>>2]=0;v[f+276>>2]=0;v[f+264>>2]=0;v[f+256>>2]=0;v[f+260>>2]=0;v[f+320>>2]=0;v[f+324>>2]=0;v[f+344>>2]=0;v[f+348>>2]=0;v[f+280>>2]=0;v[f+284>>2]=0;v[f+288>>2]=0;v[f+292>>2]=0;v[f+296>>2]=0;v[f+328>>2]=0;v[f+332>>2]=0;v[f+336>>2]=64;v[f+340>>2]=0;v[d+556>>2]=0;v[d+8>>2]=d+192;L0(d+16|0);v[d+164>>2]=0;z:{A:{switch(c-1|0){case 0:Bm(f,h*3,h);break z;case 1:Bm(f,h,h);break z;case 2:Bm(f,h*3,h);Bm(f,h,h);break z;case 3:Bm(f,h*3,h);Bm(f,h,h);Bm(f,h,h);break z;default:break A}}i=A[n+24>>3];i=w[n+2820|0]?1:i>1?25.4/i:.352777778;j=v[a+56>>2];m=(j|0)/2|0;l=v[a+52>>2];y=A[a+64>>3];B:{if((j|0)<2){break B}Bm(f,i*A[l>>3],i*A[l+8>>3]);if((j&-2)==2){break B}c=1;while(1){p=l+(c<<4)|0;Bm(f,i*A[p>>3],i*A[p+8>>3]);c=c+1|0;if((m|0)!=(c|0)){continue}break}}if((j-(m<<1)|0)==1){Bm(f,i*A[(l+(j<<3)|0)-8>>3],0)}c=0;v[f+296>>2]=0;i=y*i;A[f+272>>3]=i;v[f+288>>2]=0;v[f+292>>2]=0;C:{D:{if(i<0|i>0){j=v[f+264>>2];i=D(i);while(1){y=A[f+(c<<3)>>3];if(!(y>2]=0;v[f+292>>2]=0;c=c+1|0;v[f+296>>2]=c;i=i-y;if(c>>>0>=j>>>0){v[f+296>>2]=0;c=0}if(i>0){continue}break}}break C}A[f+288>>3]=i}}c=w[n+2820|0];v[d+76>>2]=g;v[d+72>>2]=o;A[d+48>>3]=B;i=h>3]=h;A[d+32>>3]=h*.0009765625;c=h<0;v[d+40>>2]=c?-1:1;A[d+24>>3]=c?-h:h;v[d+4>>2]=r;v[d>>2]=d+8;l=Ma-16|0;Ma=l;g=v[d>>2];f=v[g>>2];c=v[f>>2];v[v[c>>2]+20>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c+24>>2]=0;v[c+28>>2]=-1;v[c+208>>2]=0;v[c+212>>2]=-1;v[c+176>>2]=0;v[c+180>>2]=0;v[c+400>>2]=0;v[c+404>>2]=0;v[f+364>>2]=0;v[g+156>>2]=0;if(w[e+96|0]){t[e+96|0]=0;v[e+64>>2]=2147483647;v[e+68>>2]=2147483647;v[e+48>>2]=2147483647;v[e+52>>2]=2147483647;v[e+8>>2]=0;v[e+12>>2]=0;v[e+1172>>2]=0;v[e+88>>2]=-2147483647;v[e+92>>2]=-2147483647;v[e+80>>2]=2147483647;v[e+84>>2]=2147483647;v[e+72>>2]=0;v[e+76>>2]=0;v[e+56>>2]=0;v[e+60>>2]=0}f=e+100|0;while(1){E:{p=l+8|0;j=v[d>>2];o=j+8|0;s=j+176|0;z=j+168|0;while(1){F:{G:{H:{I:{switch(v[j+156>>2]){case 1:c=v[j+160>>2];break H;case 2:break G;case 0:break I;default:continue}}c=v[j>>2];m=c+8|0;u=c+384|0;x=c+376|0;while(1){J:{K:{L:{M:{switch(v[c+364>>2]){case 1:g=v[c+368>>2];break L;case 2:break K;case 0:break M;default:continue}}g=ut(v[c>>2],x,u);v[c+364>>2]=1;v[c+368>>2]=g}if(!g){g=0;break J}v[m+320>>2]=0;v[m+340>>2]=0;v[m+344>>2]=0;nt(m,A[x>>3],A[u>>3],1);N:{while(1){g=ut(v[c>>2],z,s);if(g-1>>>0<=13){v[c+368>>2]=g;h=A[z>>3];if((g|0)==1){A[x>>3]=h;A[u>>3]=A[s>>3];break N}nt(m,h,A[s>>3],g);continue}if(!g){v[c+368>>2]=0;break N}if((g&15)!=15){continue}break}nt(m,A[z>>3],A[s>>3],g)}F0(m);v[c+364>>2]=2}g=E0(m,z,s);if(g){break J}v[c+364>>2]=1;continue}break}v[j+156>>2]=1;c=g;v[j+160>>2]=c}if(!c){c=0;break F}v[o+120>>2]=0;v[o+124>>2]=0;v[o+72>>2]=0;ot(o,A[z>>3],A[s>>3],1);O:{while(1){g=v[j>>2];m=g+8|0;u=g+384|0;x=g+376|0;c=v[g+364>>2];P:{Q:{while(1){R:{S:{T:{switch(c|0){case 1:c=v[g+368>>2];break S;case 2:break R;case 0:break T;default:continue}}c=ut(v[g>>2],x,u);v[g+364>>2]=1;v[g+368>>2]=c}if(!c){break Q}v[m+320>>2]=0;v[m+340>>2]=0;v[m+344>>2]=0;nt(m,A[x>>3],A[u>>3],1);U:{while(1){c=ut(v[g>>2],p,l);if(c-1>>>0<=13){v[g+368>>2]=c;h=A[p>>3];if((c|0)==1){A[x>>3]=h;A[u>>3]=A[l>>3];break U}nt(m,h,A[l>>3],c);continue}if(!c){v[g+368>>2]=0;break U}if((c&15)!=15){continue}break}nt(m,A[p>>3],A[l>>3],c)}F0(m);v[g+364>>2]=2}c=E0(m,p,l);if(!c){c=1;v[g+364>>2]=1;continue}break}if(c-1>>>0>13){break P}v[j+160>>2]=c;h=A[p>>3];if((c|0)==1){A[z>>3]=h;A[s>>3]=A[l>>3];break O}ot(o,h,A[l>>3],c);continue}v[j+160>>2]=0;break O}if((c&15)!=15){continue}break}ot(o,A[p>>3],A[l>>3],c)}K0(o);v[j+156>>2]=2}c=J0(o,p,l);if(c){break F}v[j+156>>2]=1;continue}break}if(c-1>>>0>=14){if(!c){break E}if((c&-49)!=79|v[e+1172>>2]!=2){continue}rc(f,e,v[e+1164>>2],v[e+1168>>2]);v[e+1172>>2]=3;continue}g=v[d+4>>2];i=A[l+8>>3];q=A[l>>3];h=A[g+32>>3]+(i*A[g>>3]+q*A[g+16>>3]);A[l+8>>3]=h;i=A[g+40>>3]+(i*A[g+8>>3]+q*A[g+24>>3]);A[l>>3]=i;if((c|0)==1){dK(e,h,i)}else{i=i*256;i=i+(i<0?-.5:.5);V:{if(D(i)<2147483648){c=~~i;break V}c=-2147483648}g=f;j=e;h=h*256;h=h+(h<0?-.5:.5);W:{if(D(h)<2147483648){m=~~h;break W}m=-2147483648}rc(g,j,m,c);v[e+1172>>2]=2}continue}break}Ma=l+16|0;e=v[d+112>>2];if(e){c=e-1|0;v[d+112>>2]=c;f=v[d+120>>2]+(e<<2)|0;while(1){g=d;f=f-4|0;e=v[f>>2];if(e){$a(e);c=v[d+112>>2]}e=c;c=e-1|0;v[g+112>>2]=c;if(e){continue}break}}c=v[d+120>>2];if(c){$a(c)}e=v[d+92>>2];if(e){c=e-1|0;v[d+92>>2]=c;f=v[d+100>>2]+(e<<2)|0;while(1){g=d;f=f-4|0;e=v[f>>2];if(e){$a(e);c=v[d+92>>2]}e=c;c=e-1|0;v[g+92>>2]=c;if(e){continue}break}}c=v[d+100>>2];if(c){$a(c)}e=v[d+524>>2];if(e){c=e-1|0;v[d+524>>2]=c;f=v[d+532>>2]+(e<<2)|0;while(1){g=d;f=f-4|0;e=v[f>>2];if(e){$a(e);c=v[d+524>>2]}e=c;c=e-1|0;v[g+524>>2]=c;if(e){continue}break}}c=v[d+532>>2];if(!c){break q}$a(c)}h=A[n+2824>>3]*+v[a+32>>2];X:{if(h<4294967296&h>=0){e=~~h>>>0;break X}e=0}g=v[a+28>>2];c=0;f=d+192|0;v[f+8>>2]=w[n+2832|0]?g<<16&16711680|(g>>>16&255|(g&65280|e<<24)):g|e<<24;v[f>>2]=360080;v[f+4>>2]=0;v[n+2784>>2]=0;h=A[a+680>>3];if(h>=0){e=n+1760|0;while(1){j=e+(c<<2)|0;i=h>+(c|0)/255?.5:255.5;Y:{if(i<4294967296&i>=0){g=~~i>>>0;break Y}g=0}v[j>>2]=g;g=c|1;j=e+(g<<2)|0;i=h>+(g|0)/255?.5:255.5;Z:{if(i<4294967296&i>=0){g=~~i>>>0;break Z}g=0}v[j>>2]=g;c=c+2|0;if((c|0)!=256){continue}break}}s2(n,f);if(A[a+680>>3]>=0){c=0;a=n+1760|0;while(1){f=a+(c<<2)|0;h=+(c|0)/255*255+.5;_:{if(h<4294967296&h>=0){e=~~h>>>0;break _}e=0}v[f>>2]=e;e=c|1;f=a+(e<<2)|0;h=+(e|0)/255*255+.5;$:{if(h<4294967296&h>=0){e=~~h>>>0;break $}e=0}v[f>>2]=e;c=c+2|0;if((c|0)!=256){continue}break}}if(!(!w[n+2820|0]|!r)){$a(r)}a=v[d+992>>2];if(a){c=a-1|0;v[d+992>>2]=c;f=v[d+1e3>>2]+(a<<2)|0;while(1){e=d;f=f-4|0;a=v[f>>2];if(a){$a(a);a=v[d+992>>2]}else{a=c}c=a-1|0;v[e+992>>2]=c;if(a){continue}break}}a=v[d+1e3>>2];if(a){$a(a)}a=v[d+768>>2];if(a){c=a-1|0;v[d+768>>2]=c;f=v[d+776>>2]+(a<<2)|0;while(1){e=d;f=f-4|0;a=v[f>>2];if(a){$a(a);a=v[d+768>>2]}else{a=c}c=a-1|0;v[e+768>>2]=c;if(a){continue}break}}a=v[d+776>>2];if(a){$a(a)}a=v[d+1020>>2];aa:{if(!a){break aa}c=a-1|0;v[d+1020>>2]=c;f=v[d+1028>>2]+(a<<2)|0;while(1){e=d;f=f-4|0;a=v[f>>2];if(a){$a(a);a=v[d+1020>>2]}else{a=c}c=a-1|0;v[e+1020>>2]=c;if(a){continue}break}a=v[d+1028>>2];if(!a){break aa}$a(a)}}Ma=d+1040|0}Ma=k+96|0;return b|0}function HSa(a){a=a|0;var b=0,c=0,d=0,e=C(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,w=0,E=0,F=0,G=0,H=C(0),I=0,J=0,M=0,N=0,O=0,P=C(0),Q=0,R=C(0),S=0,T=C(0),U=0,V=0,W=0,X=0,Y=0,Z=C(0),_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=C(0),ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0;h=Ma-176|0;Ma=h;if(z[a+60>>2]!=C(0)){b=v[a+64>>2];v[a+59284>>2]=v[a+60>>2];v[a+59288>>2]=b;b=v[a+72>>2];d=a+59292|0;v[d>>2]=v[a+68>>2];v[d+4>>2]=b}a:{b:{if(!v[a+216>>2]){if(!v[a+220>>2]){break a}if(z[a+59268>>2]!=C(-1)){break b}}b=v[a+204>>2];c=b+v[a+212>>2]|0;d=x[a+26308>>1];ba=c>>>0>>0?c:d;c:{if(b>>>0>=ba>>>0){break c}l=v[a+200>>2];d=l+v[a+208>>2]|0;fa=x[a+26310>>1];s=d>>>0>>0?d:fa;if(l>>>0>=s>>>0){break c}q=v[a+26124>>2]-25|0;t=v[a+26352>>2];U=v[a+26028>>2];while(1){o=b+8|0;f=l;while(1){v[h+168>>2]=0;v[h+172>>2]=0;v[h+160>>2]=0;v[h+164>>2]=0;v[h+152>>2]=0;v[h+156>>2]=0;v[h+144>>2]=0;v[h+148>>2]=0;c=f;f=c+8|0;d:{e:{if(!U){J=0;F=0;S=0;Y=0;Q=0;V=0;m=0;N=0;g=b;while(1){i=B(g,fa);d=c;while(1){k=t+(d+i<<3)|0;j=x[k>>1];if((j|0)>(q|0)){break d}G=v[a+26120>>2];m=m+1|0;v[h+160>>2]=m;j=j-G|0;N=((j|0)>0?j:0)+N|0;v[h+144>>2]=N;j=x[k+2>>1];if((j|0)>(q|0)){break d}Q=Q+1|0;v[h+164>>2]=Q;j=j-G|0;V=((j|0)>0?j:0)+V|0;v[h+148>>2]=V;j=x[k+4>>1];if((j|0)>(q|0)){break d}S=S+1|0;v[h+168>>2]=S;j=j-G|0;Y=((j|0)>0?j:0)+Y|0;v[h+152>>2]=Y;j=x[k+6>>1];if((j|0)>(q|0)){break d}J=J+1|0;v[h+172>>2]=J;j=j-G|0;F=((j|0)>0?j:0)+F|0;v[h+156>>2]=F;d=d+1|0;if(f>>>0>d>>>0&d>>>0>>0){continue}break}g=g+1|0;if(o>>>0<=g>>>0){break e}if(g>>>0>>0){continue}break}break e}N=c+7|0;ia=N>>>0>>0&s>>>0>N>>>0;j=c+6|0;ja=j>>>0>>0&j>>>0>>0;G=c+5|0;ka=G>>>0>>0&s>>>0>G>>>0;g=c+4|0;la=g>>>0>>0&g>>>0>>0;k=c+3|0;ma=k>>>0>>0&k>>>0>>0;d=c+2|0;na=d>>>0>>0&d>>>0>>0;i=c+1|0;oa=i>>>0>>0&i>>>0>>0;ga=c&1;M=x[a+26316>>1];pa=N>>>M|0;m=N&1;J=j>>>M|0;Y=G>>>M|0;F=G&1;S=g>>>M|0;Q=k>>>M|0;V=k&1;N=d>>>M|0;G=i>>>M|0;k=i&1;i=c>>>M|0;j=x[a+26320>>1];c=b;while(1){_=c<<1&14;g=U>>>((_|ga)<<1)&3;ca=g<<1;O=B(j,c>>>M|0);d=x[ca+(t+(O+i<<3)|0)>>1];if((d|0)>(q|0)){break d}r=h+144|g<<2;$=r;g=v[r+16>>2];d=d-v[a+26120>>2]|0;v[r>>2]=v[r>>2]+((d|0)>0?d:0);v[r+16>>2]=g+1;f:{if(!oa){break f}g=U>>>((k|_)<<1)&3;d=x[(t+(G+O<<3)|0)+(g<<1)>>1];if((d|0)>(q|0)){break d}w=h+144|g<<2;g=v[w+16>>2];d=d-v[a+26120>>2]|0;v[w>>2]=v[w>>2]+((d|0)>0?d:0);v[w+16>>2]=g+1;if(!na){break f}d=x[ca+(t+(N+O<<3)|0)>>1];if((d|0)>(q|0)){break d}g=v[$+16>>2];d=d-v[a+26120>>2]|0;v[r>>2]=v[r>>2]+((d|0)>0?d:0);v[$+16>>2]=g+1;if(!ma){break f}g=U>>>((V|_)<<1)&3;d=x[(t+(O+Q<<3)|0)+(g<<1)>>1];if((d|0)>(q|0)){break d}w=h+144|g<<2;g=v[w+16>>2];d=d-v[a+26120>>2]|0;v[w>>2]=v[w>>2]+((d|0)>0?d:0);v[w+16>>2]=g+1;if(!la){break f}d=x[ca+(t+(O+S<<3)|0)>>1];if((d|0)>(q|0)){break d}g=v[$+16>>2];d=d-v[a+26120>>2]|0;v[r>>2]=v[r>>2]+((d|0)>0?d:0);v[$+16>>2]=g+1;if(!ka){break f}g=U>>>((F|_)<<1)&3;d=x[(t+(O+Y<<3)|0)+(g<<1)>>1];if((d|0)>(q|0)){break d}w=h+144|g<<2;g=v[w+16>>2];d=d-v[a+26120>>2]|0;v[w>>2]=v[w>>2]+((d|0)>0?d:0);v[w+16>>2]=g+1;if(!ja){break f}d=x[ca+(t+(J+O<<3)|0)>>1];if((d|0)>(q|0)){break d}g=v[$+16>>2];d=d-v[a+26120>>2]|0;v[r>>2]=v[r>>2]+((d|0)>0?d:0);v[$+16>>2]=g+1;if(!ia){break f}g=U>>>((m|_)<<1)&3;d=x[(t+(O+pa<<3)|0)+(g<<1)>>1];if((d|0)>(q|0)){break d}w=h+144|g<<2;g=v[w+16>>2];d=d-v[a+26120>>2]|0;v[w>>2]=v[w>>2]+((d|0)>0?d:0);v[w+16>>2]=g+1}c=c+1|0;if(o>>>0>c>>>0&c>>>0>>0){continue}break}J=v[h+172>>2];S=v[h+168>>2];Q=v[h+164>>2];m=v[h+160>>2];F=v[h+156>>2];Y=v[h+152>>2];V=v[h+148>>2];N=v[h+144>>2]}da=da+ +(J>>>0);ea=ea+ +(S>>>0);W=W+ +(Q>>>0);n=n+ +(m>>>0);qa=qa+ +(F>>>0);ra=ra+ +(Y>>>0);X=X+ +(V>>>0);aa=aa+ +(N>>>0)}if(f>>>0>>0){continue}break}b=o;if(ba>>>0>b>>>0){continue}break}if(aa!=0){z[a+59284>>2]=n/aa}if(X!=0){z[a+59288>>2]=W/X}if(ra!=0){z[a+59292>>2]=ea/ra}if(qa==0){break c}z[a+59296>>2]=da/qa}if(!v[a+220>>2]){break a}}e=z[a+59268>>2];if(e==C(-1)){break a}o=a+59268|0;v[h+168>>2]=0;v[h+172>>2]=0;v[h+160>>2]=0;v[h+164>>2]=0;v[h+152>>2]=0;v[h+156>>2]=0;v[h+144>>2]=0;v[h+148>>2]=0;i=v[a+26120>>2];l=v[a+26028>>2];m=0;while(1){c=m<<2;f=l>>>c&3;g=(m<<4)+a|0;d=x[g+26356>>1]-i|0;if((d|0)>=1){b=h+144|f<<2;v[b>>2]=d+v[b>>2]}j=h+144|f<<2;f=j;v[f+16>>2]=v[f+16>>2]+1;c=l>>>(c|2)&3;d=x[g+26358>>1]-i|0;if((d|0)>0){b=h+144|c<<2;v[b>>2]=d+v[b>>2]}d=h+144|c<<2;c=d;v[c+16>>2]=v[c+16>>2]+1;b=x[g+26360>>1]-i|0;if((b|0)>=1){v[j>>2]=b+v[j>>2]}v[f+16>>2]=v[f+16>>2]+1;b=x[g+26362>>1]-i|0;if((b|0)>=1){v[d>>2]=b+v[d>>2]}v[c+16>>2]=v[c+16>>2]+1;b=x[g+26364>>1]-i|0;if((b|0)>=1){v[j>>2]=b+v[j>>2]}v[f+16>>2]=v[f+16>>2]+1;b=x[g+26366>>1]-i|0;if((b|0)>=1){v[d>>2]=b+v[d>>2]}v[c+16>>2]=v[c+16>>2]+1;b=x[g+26368>>1]-i|0;if((b|0)>=1){v[j>>2]=b+v[j>>2]}v[f+16>>2]=v[f+16>>2]+1;b=x[g+26370>>1]-i|0;if((b|0)>=1){v[d>>2]=b+v[d>>2]}v[c+16>>2]=v[c+16>>2]+1;m=m+1|0;if((m|0)!=8){continue}break}g:{f=v[h+144>>2];if(!f){break g}c=v[h+148>>2];if(!c){break g}d=v[h+152>>2];if(!d){break g}b=v[h+156>>2];if(!b){break g}z[a+59284>>2]=C(y[h+160>>2])/C(f>>>0);z[a+59288>>2]=C(y[h+164>>2])/C(c>>>0);z[a+59292>>2]=C(y[h+168>>2])/C(d>>>0);z[a+59296>>2]=C(y[h+172>>2])/C(b>>>0);break a}if(!(e==C(0)|z[a+59276>>2]==C(0))){b=v[o+4>>2];v[a+59284>>2]=v[o>>2];v[a+59288>>2]=b;b=v[o+12>>2];d=a+59292|0;v[d>>2]=v[o+8>>2];v[d+4>>2]=b;break a}v[h+112>>2]=v[a+25208>>2];vb(v[249419],55868,h+112|0)}R=z[a+59296>>2];if(R==C(0)){R=C(1);R=v[a+26336>>2]<=3?z[a+59288>>2]:R;z[a+59296>>2]=R}ca=v[a+26124>>2];c=ca;w=v[a+26120>>2];b=w;h:{if(z[a+52>>2]!=C(0)){M=0;q=Ma-32|0;Ma=q;if(v[a+188>>2]){Lb(55266,21,1,v[249419])}d=v[a+26124>>2];k=1;while(1){b=k;k=b+1|0;if(d<>>0<65536){continue}break}O=b-1|0;v[a+26124>>2]=d<>2]<>2]=U;i:{d=x[a+26320>>1];b=x[a+26318>>1];s=B(d,b);if(s>>>0<=357892095){m=gb((b+d|0)+B(s,3)<<2);if(m){break i}}d=v[a+190640>>2];j:{if(d){b=v[a+25208>>2];v[q+20>>2]=55580;v[q+16>>2]=b;Dc(d,4338,q+16|0);break j}b=v[a+25208>>2];v[q+4>>2]=55580;v[q>>2]=b;vb(v[249419],4338,q)}break h}S=v[a+26336>>2];k:{l:{if((S|0)==3){Y=v[a+26028>>2]?4:3;break l}Y=S;if((S|0)<1){break k}}I=m+B(s,12)|0;o=s&-2;$=s&1;ba=s-1|0;T=z[a+52>>2];while(1){m:{if(!s){break m}c=v[a+26352>>2];k=0;i=o;if(ba){while(1){d=M<<1;z[m+(k<<2)>>2]=C(K(+(x[d+(c+(k<<3)|0)>>1]<>2]=C(K(+(x[d+(c+(b<<3)|0)>>1]<>2]=C(K(+(x[(c+(k<<3)|0)+(M<<1)>>1]<>1];Q=r&65534;fa=r&1;p=x[a+26320>>1];V=p&65532;N=p&3;ia=1-p|0;ja=p&1;ka=p-1|0;la=(r<<1)-2|0;ma=(p<<1)-2|0;j=0;t=0;n:{while(1){f=1<>2];z[b+I>>2]=C(C(e+e)+z[(f-c<<2)+E>>2])+z[(c+f<<2)+E>>2];_=c|1;b=_<<2;e=z[b+E>>2];z[b+I>>2]=C(C(e+e)+z[(f-_<<2)+E>>2])+z[(f+_<<2)+E>>2];c=c+2|0;d=d-2|0;if(d){continue}break}}if(!t){b=c<<2;e=z[b+E>>2];z[b+I>>2]=C(C(e+e)+z[(f-c<<2)+E>>2])+z[(c+f<<2)+E>>2]}c=f;o:{if((p|0)<=(F|0)){break o}d=F;b=f;if(ja){e=z[E+ga>>2];z[pa>>2]=C(C(e+e)+z[E>>2])+z[(F<<2)+E>>2];d=k;b=l}c=l;if((ia|0)==(oa|0)){break o}while(1){c=b<<2;e=z[c+E>>2];z[c+I>>2]=C(C(e+e)+z[(b-f<<2)+E>>2])+z[(d<<2)+E>>2];c=b+1|0;d=c<<2;e=z[d+E>>2];z[d+I>>2]=C(C(e+e)+z[(c-f<<2)+E>>2])+z[(c+f<<2)+E>>2];c=b+2|0;b=c;d=c+f|0;if((p|0)>(d|0)){continue}break}}if((c|0)<(p|0)){while(1){b=c<<2;e=z[b+E>>2];z[b+I>>2]=C(C(e+e)+z[(c-f<<2)+E>>2])+z[(ma-(c+f|0)<<2)+E>>2];c=c+1|0;if((p|0)!=(c|0)){continue}break}}p:{if(!p){break p}c=i+g|0;i=0;b=V;if(ka>>>0>=3){while(1){z[m+(c+i<<2)>>2]=z[I+(i<<2)>>2]*C(.25);d=i|1;z[m+(d+c<<2)>>2]=z[I+(d<<2)>>2]*C(.25);d=i|2;z[m+(d+c<<2)>>2]=z[I+(d<<2)>>2]*C(.25);d=i|3;z[m+(d+c<<2)>>2]=z[I+(d<<2)>>2]*C(.25);i=i+4|0;b=b-4|0;if(b){continue}break}}b=N;if(!b){break p}while(1){z[m+(c+i<<2)>>2]=z[I+(i<<2)>>2]*C(.25);i=i+1|0;b=b-1|0;if(b){continue}break}}J=J+1|0;if((r|0)!=(J|0)){continue}break}}if(p){k=m+(g<<2)|0;d=f<<1;l=0;while(1){i=k+(l<<2)|0;c=0;while(1){e=z[i+(B(c,p)<<2)>>2];z[I+(c<<2)>>2]=C(C(e+e)+z[i+(B(f-c|0,p)<<2)>>2])+z[i+(B(c+f|0,p)<<2)>>2];c=c+1|0;if((f|0)!=(c|0)){continue}break}c=f;b=d;if((r|0)>(b|0)){while(1){e=z[i+(B(c,p)<<2)>>2];z[I+(c<<2)>>2]=C(C(e+e)+z[i+(B(c-f|0,p)<<2)>>2])+z[i+(B(b,p)<<2)>>2];c=c+1|0;b=f+c|0;if((r|0)>(b|0)){continue}break}}if((c|0)<(r|0)){while(1){e=z[i+(B(c,p)<<2)>>2];z[I+(c<<2)>>2]=C(C(e+e)+z[i+(B(c-f|0,p)<<2)>>2])+z[i+(B(la-(c+f|0)|0,p)<<2)>>2];c=c+1|0;if((r|0)!=(c|0)){continue}break}}q:{if(!r){break q}G=g+l|0;i=0;b=Q;if((r|0)!=1){while(1){z[m+(G+B(i,p)<<2)>>2]=z[I+(i<<2)>>2]*C(.25);c=i|1;z[m+(G+B(c,p)<<2)>>2]=z[I+(c<<2)>>2]*C(.25);i=i+2|0;b=b-2|0;if(b){continue}break}}if(!fa){break q}z[m+(G+B(i,p)<<2)>>2]=z[I+(i<<2)>>2]*C(.25)}l=l+1|0;if((p|0)!=(l|0)){continue}break}}r:{if(s){P=C(T*z[(t<<2)+198064>>2]);Z=C(-P);k=0;while(1){b=m+(k+j<<2)|0;H=C(z[b>>2]-z[m+(g+k<<2)>>2]);s:{if(HP)){break s}e=C(H-P)}z[b>>2]=e;if(j){b=m+(k<<2)|0;z[b>>2]=e+z[b>>2]}k=k+1|0;if((s|0)!=(k|0)){continue}break}j=g;t=t+1|0;if((t|0)==5){break r}continue}j=g;t=t+1|0;if((t|0)!=5){continue}break n}break}if(!s){break n}l=v[a+26352>>2];k=0;c=o;if(ba){while(1){d=M<<1;f=d+(l+(k<<3)|0)|0;e=C(z[m+(k<<2)>>2]+z[m+(k+j<<2)>>2]);e=C(C(e*e)*C(152587890625e-16));e=e=C(0)){b=~~e>>>0;break t}b=0}u[f>>1]=b;f=k|1;e=C(z[m+(f<<2)>>2]+z[m+(f+j<<2)>>2]);e=C(C(e*e)*C(152587890625e-16));e=e=C(0)){b=~~e>>>0;break u}b=0}u[d+(l+(f<<3)|0)>>1]=b;k=k+2|0;c=c-2|0;if(c){continue}break}}if(!$){break n}c=(l+(k<<3)|0)+(M<<1)|0;e=C(z[m+(k<<2)>>2]+z[m+(k+j<<2)>>2]);e=C(C(e*e)*C(152587890625e-16));e=e=C(0)){b=~~e>>>0;break v}b=0}u[c>>1]=b}M=M+1|0;if((M|0)!=(Y|0)){continue}break}F=v[a+26028>>2];if(!F|(S|0)!=3){break k}b=a+59284|0;e=z[(b+(F>>>2&8)|0)+4>>2];z[q+24>>2]=C(e*C(.125))/z[(b+((F&2)<<2)|0)+4>>2];z[q+28>>2]=C(z[(b+(F>>>6&8)|0)+4>>2]*C(.125))/e;if(x[a+26308>>1]<3){break k}V=0-(U<<2)|0;H=C(U>>>0);j=x[a+26310>>1];l=m+(j<<1)|0;c=m+(j<<2)|0;ha=C(z[a+52>>2]*C(.001953125));T=C(-ha);d=m;J=2;i=-1;b=1;while(1){o=b;if((b|0)>=(i|0)){while(1){b=d;d=l;l=c;i=i+1|0;c=i<<1&14;k=F>>>(c<<1|2)&1;if(k>>>0>>0){g=F>>>((c|k)<<1)&3;f=v[a+26352>>2];while(1){c=x[a+26316>>1];u[b+(k<<1)>>1]=x[(f+(B(x[a+26320>>1],i>>c)+(k>>>c|0)<<3)|0)+(g<<1)>>1];j=x[a+26310>>1];k=k+2|0;if(j>>>0>k>>>0){continue}break}}c=b;if((i|0)!=(J|0)){continue}break}i=J}b=o+1|0;g=o<<1&14;f=F>>>(g<<1)&1;k=f+1|0;if((k|0)<(j-1|0)){N=F>>>((f|g)<<1^2)&3;Z=z[(q+24|0)+((o&1)<<2)>>2];G=v[a+26352>>2];while(1){f=x[a+26316>>1];f=(G+(B(x[a+26320>>1],o>>>f|0)+(k>>>f|0)<<3)|0)+(N<<1)|0;Q=k<<1;j=Q-2|0;g=Q+2|0;e=C(C(C(Z*C((((V+x[j+d>>1]|0)+x[g+d>>1]|0)+x[c+j>>1]|0)+x[c+g>>1]>>>0))+C(C(x[l+Q>>1]-U>>>0)*C(.5)))+H);e=e>1]))-e);w:{if(Rha)){break w}P=C(R-ha)}e=C(e+P);e=C(C(e*e)+C(.5));e=e=C(0)){g=~~e>>>0;break x}g=0}u[f>>1]=g;k=k+2|0;j=x[a+26310>>1];if((k|0)<(j-1|0)){continue}break}}J=J+1|0;if((x[a+26308>>1]-1|0)>(b|0)){continue}break}}$a(m);Ma=q+32|0;R=z[a+59296>>2];c=v[a+26124>>2];b=v[a+26120>>2]}c=c-b|0;v[a+26124>>2]=c;d=a+59292|0;T=z[d>>2];aa=+T;b=a+59288|0;Z=z[b>>2];da=+Z;e=z[a+59284>>2];ea=+e;n=ea>0?ea:0;n=nda?da:n;n=n>aa?aa:n;P=C(v[a+156>>2]?X:n>W?W:n);e=C(e/P);z[a+59284>>2]=e;H=C(c>>>0);z[h+128>>2]=C(e*C(65535))/H;e=C(Z/P);z[b>>2]=e;z[h+132>>2]=C(e*C(65535))/H;e=C(T/P);z[d>>2]=e;z[h+136>>2]=C(e*C(65535))/H;e=C(R/P);z[a+59296>>2]=e;z[h+140>>2]=C(e*C(65535))/H;if(v[a+188>>2]){v[h+100>>2]=ca;v[h+96>>2]=w;b=v[249419];vb(b,55983,h+96|0);A[h+80>>3]=z[a+59284>>2];Ph(b,56360,h+80|0);A[h+64>>3]=z[a+59288>>2];Ph(b,56360,h- -64|0);A[h+48>>3]=z[a+59292>>2];Ph(b,56360,h+48|0);A[h+32>>3]=z[a+59296>>2];Ph(b,56360,h+32|0);Ee(10,b)}k=B(x[a+26320>>1],x[a+26318>>1]);l=k<<2;if(l){f=v[a+26352>>2];c=0;while(1){b=f+(c<<1)|0;d=x[b>>1];if(d){o=b;e=C(z[(h+128|(c&3)<<2)>>2]*C(d-v[a+26120>>2]|0));y:{if(C(D(e))>1]=(b|0)>0?b:0}c=c+1|0;if((l|0)!=(c|0)){continue}break}}z:{X=A[a+80>>3];A:{if(X==1&A[a+96>>3]==1|v[a+26336>>2]!=3){break A}g=k<<1;if(v[a+188>>2]){Lb(56948,35,1,v[249419]);X=A[a+80>>3]}if(X!=1){i=gb(g);if(!i){break z}B:{if(!k){break B}f=k&3;l=v[a+26352>>2];c=0;if(k-1>>>0>=3){d=k&-4;while(1){u[i+(c<<1)>>1]=x[l+(c<<3)>>1];b=c|1;u[i+(b<<1)>>1]=x[l+(b<<3)>>1];b=c|2;u[i+(b<<1)>>1]=x[l+(b<<3)>>1];b=c|3;u[i+(b<<1)>>1]=x[l+(b<<3)>>1];c=c+4|0;d=d-4|0;if(d){continue}break}}if(!f){break B}while(1){u[i+(c<<1)>>1]=x[l+(c<<3)>>1];c=c+1|0;f=f-1|0;if(f){continue}break}}c=x[a+26318>>1];if(c){j=0;b=c;while(1){n=+((c&65535)>>>0)*.5;e=C(n+X*(+(j>>>0)-n));C:{if(e=C(0)){l=~~e>>>0;break C}l=0}D:{if((l|0)>(b-2|0)){break D}d=x[a+26320>>1];if(!d){break D}T=C(e-C(l>>>0));Z=C(C(1)-T);c=0;b=d;while(1){n=+((d&65535)>>>0)*.5;e=C(n+X*(+(c>>>0)-n));E:{if(e=C(0)){f=~~e>>>0;break E}f=0}if((f|0)<=(b-2|0)){d=v[a+26352>>2]+(B(b,j)+c<<3)|0;o=(i+(B(b,l)<<1)|0)+(f<<1)|0;b=o+(b<<1)|0;H=C(e-C(f>>>0));e=C(C(1)-H);e=C(C(Z*C(C(e*C(x[o>>1]))+C(H*C(x[o+2>>1]))))+C(T*C(C(e*C(x[b>>1]))+C(H*C(x[b+2>>1])))));F:{if(e=C(0)){b=~~e>>>0;break F}b=0}u[d>>1]=b;d=x[a+26320>>1]}c=c+1|0;b=d&65535;if(c>>>0>>0){continue}break}c=x[a+26318>>1]}b=c&65535;j=j+1|0;if(b>>>0>j>>>0){continue}break}}$a(i)}W=A[a+96>>3];if(W==1){break A}g=gb(g);if(!g){break z}G:{if(!k){break G}f=k&3;l=v[a+26352>>2];c=0;if(k-1>>>0>=3){d=k&-4;while(1){u[g+(c<<1)>>1]=x[(l+(c<<3)|0)+4>>1];b=c|1;u[g+(b<<1)>>1]=x[(l+(b<<3)|0)+4>>1];b=c|2;u[g+(b<<1)>>1]=x[(l+(b<<3)|0)+4>>1];b=c|3;u[g+(b<<1)>>1]=x[(l+(b<<3)|0)+4>>1];c=c+4|0;d=d-4|0;if(d){continue}break}}if(!f){break G}while(1){u[g+(c<<1)>>1]=x[(l+(c<<3)|0)+4>>1];c=c+1|0;f=f-1|0;if(f){continue}break}}c=x[a+26318>>1];if(c){j=0;b=c;while(1){n=+((c&65535)>>>0)*.5;e=C(n+W*(+(j>>>0)-n));H:{if(e=C(0)){l=~~e>>>0;break H}l=0}I:{if((l|0)>(b-2|0)){break I}d=x[a+26320>>1];if(!d){break I}T=C(e-C(l>>>0));Z=C(C(1)-T);c=0;b=d;while(1){n=+((d&65535)>>>0)*.5;e=C(n+W*(+(c>>>0)-n));J:{if(e=C(0)){f=~~e>>>0;break J}f=0}if((f|0)<=(b-2|0)){d=v[a+26352>>2]+(B(b,j)+c<<3)|0;o=(g+(B(b,l)<<1)|0)+(f<<1)|0;b=o+(b<<1)|0;H=C(e-C(f>>>0));e=C(C(1)-H);e=C(C(Z*C(C(e*C(x[o>>1]))+C(H*C(x[o+2>>1]))))+C(T*C(C(e*C(x[b>>1]))+C(H*C(x[b+2>>1])))));K:{if(e=C(0)){b=~~e>>>0;break K}b=0}u[d+4>>1]=b;d=x[a+26320>>1]}c=c+1|0;b=d&65535;if(c>>>0>>0){continue}break}c=x[a+26318>>1]}b=c&65535;j=j+1|0;if(b>>>0>j>>>0){continue}break}}$a(g)}Ma=h+176|0;return}d=v[a+190640>>2];L:{if(d){b=v[a+25208>>2];v[h+20>>2]=57173;v[h+16>>2]=b;Dc(d,4338,h+16|0);break L}b=v[a+25208>>2];v[h+4>>2]=57173;v[h>>2]=b;vb(v[249419],4338,h)}}tc(a+190484|0,1);L()}function RD(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,r=0,s=0,u=0,x=0,z=0,A=0,D=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,O=0;r=Ma-48|0;Ma=r;a:{if(c>>>0<=2){c=c<<2;H=v[c+998300>>2];I=v[c+998288>>2];while(1){c=v[b+4>>2];b:{if(c>>>0>2]){v[b+4>>2]=c+1;c=w[c|0];break b}c=ke(b)}if((c|0)==32|c-9>>>0<5){continue}break}n=1;c:{d:{switch(c-43|0){case 0:case 2:break d;default:break c}}n=(c|0)==45?-1:1;c=v[b+4>>2];if(c>>>0>2]){v[b+4>>2]=c+1;c=w[c|0];break c}c=ke(b)}e:{f:{while(1){if(t[g+217774|0]==(c|32)){g:{if(g>>>0>6){break g}c=v[b+4>>2];if(c>>>0>2]){v[b+4>>2]=c+1;c=w[c|0];break g}c=ke(b)}g=g+1|0;if((g|0)!=8){continue}break f}break}if((g|0)!=3){if((g|0)==8){break f}if(!d|g>>>0<4){break e}if((g|0)==8){break f}}c=v[b+104>>2];if(c){v[b+4>>2]=v[b+4>>2]-1}if(!d|g>>>0<4){break f}while(1){if(c){v[b+4>>2]=v[b+4>>2]-1}g=g-1|0;if(g>>>0>3){continue}break}}k=Ma-16|0;Ma=k;d=(q(C(C(n|0)*C(N))),j(2));b=d&2147483647;h:{if(b-8388608>>>0<=2130706431){c=b;b=b>>>7|0;l=c<<25;c=b+1065353216|0;break h}c=d;g=c>>>7|0;l=c<<25;c=g|2147418112;if(b>>>0>=2139095040){break h}l=0;c=0;if(!b){break h}c=b;b=E(b);Oh(k,c,0,0,0,b+81|0);i=v[k>>2];h=v[k+4>>2];l=v[k+8>>2];c=v[k+12>>2]^65536|16265-b<<16}v[r>>2]=i;v[r+4>>2]=h;i=r;v[i+8>>2]=l;v[i+12>>2]=d&-2147483648|c;Ma=k+16|0;i=v[i+8>>2];h=v[r+12>>2];l=v[r>>2];k=v[r+4>>2];break a}i:{j:{k:{if(g){break k}g=0;while(1){if(t[g+249440|0]!=(c|32)){break k}l:{if(g>>>0>1){break l}c=v[b+4>>2];if(c>>>0>2]){v[b+4>>2]=c+1;c=w[c|0];break l}c=ke(b)}g=g+1|0;if((g|0)!=3){continue}break}break j}m:{switch(g|0){case 0:n:{if((c|0)!=48){break n}g=v[b+4>>2];o:{if(g>>>0>2]){v[b+4>>2]=g+1;g=w[g|0];break o}g=ke(b)}if((g&-33)==88){f=Ma-432|0;Ma=f;c=v[b+4>>2];p:{if(c>>>0>2]){v[b+4>>2]=c+1;g=w[c|0];break p}g=ke(b)}q:{r:{while(1){if((g|0)!=48){s:{if((g|0)!=46){break q}c=v[b+4>>2];if(c>>>0>=y[b+104>>2]){break s}v[b+4>>2]=c+1;g=w[c|0];break r}}else{c=v[b+4>>2];if(c>>>0>2]){J=1;v[b+4>>2]=c+1;g=w[c|0]}else{J=1;g=ke(b)}continue}break}g=ke(b)}e=1;if((g|0)!=48){break q}while(1){c=u;u=c-1|0;x=x-(c>>>0<1)|0;c=v[b+4>>2];t:{if(c>>>0>2]){v[b+4>>2]=c+1;g=w[c|0];break t}g=ke(b)}if((g|0)==48){continue}break}J=1}k=1073676288;u:{while(1){v:{c=g|32;w:{x:{z=g-48|0;if(z>>>0<10){break x}if((g|0)!=46&c-97>>>0>=6){break u}if((g|0)!=46){break x}if(e){break v}e=1;u=i;x=h;break w}c=(g|0)>57?c-87|0:z;y:{if((h|0)<=0&i>>>0<=7|(h|0)<0){s=c+(s<<4)|0;break y}if((h|0)<=0&i>>>0<=28|(h|0)<0){uj(f+48|0,c);Le(f+32|0,F,G,l,k,0,0,0,1073414144);F=v[f+32>>2];G=v[f+36>>2];l=v[f+40>>2];k=v[f+44>>2];Le(f+16|0,F,G,l,k,v[f+48>>2],v[f+52>>2],v[f+56>>2],v[f+60>>2]);Zi(f,m,p,A,D,v[f+16>>2],v[f+20>>2],v[f+24>>2],v[f+28>>2]);A=v[f+8>>2];D=v[f+12>>2];m=v[f>>2];p=v[f+4>>2];break y}if(o|!c){break y}Le(f+80|0,F,G,l,k,0,0,0,1073610752);Zi(f- -64|0,m,p,A,D,v[f+80>>2],v[f+84>>2],v[f+88>>2],v[f+92>>2]);A=v[f+72>>2];D=v[f+76>>2];o=1;m=v[f+64>>2];p=v[f+68>>2]}c=i+1|0;h=c>>>0<1?h+1|0:h;i=c;J=1}c=v[b+4>>2];if(c>>>0>2]){v[b+4>>2]=c+1;g=w[c|0]}else{g=ke(b)}continue}break}g=46}z:{A:{B:{if(!J){if(!v[b+104>>2]){if(d){break A}break B}c=v[b+4>>2];v[b+4>>2]=c-1;if(!d){break B}v[b+4>>2]=c-2;if(!e){break A}v[b+4>>2]=c-3;break A}if((h|0)<=0&i>>>0<=7|(h|0)<0){l=i;k=h;while(1){s=s<<4;c=l+1|0;k=c>>>0<1?k+1|0:k;l=c;if((c|0)!=8|k){continue}break}}C:{D:{E:{if((g&-33)==80){l=FP(b,d);c=Pa;k=c;if(l|(c|0)!=-2147483648){break C}if(d){if(v[b+104>>2]){break E}break D}m=0;p=0;Rj(b,0,0);c=0;b=0;break z}if(!v[b+104>>2]){break D}}v[b+4>>2]=v[b+4>>2]-1}l=0;k=0}if(!s){cl(f+112|0,+(n|0)*0);m=v[f+112>>2];p=v[f+116>>2];c=v[f+124>>2];b=v[f+120>>2];break z}c=e?u:i;b=(e?x:h)<<2|c>>>30;c=l+(c<<2)|0;b=b+k|0;b=c>>>0>>0?b+1|0:b;i=c-32|0;h=b-(c>>>0<32)|0;b=h;if(i>>>0>0-H>>>0&(b|0)>=0|(b|0)>0){v[296206]=68;uj(f+160|0,n);Le(f+144|0,v[f+160>>2],v[f+164>>2],v[f+168>>2],v[f+172>>2],-1,-1,-1,2147418111);Le(f+128|0,v[f+144>>2],v[f+148>>2],v[f+152>>2],v[f+156>>2],-1,-1,-1,2147418111);m=v[f+128>>2];p=v[f+132>>2];c=v[f+140>>2];b=v[f+136>>2];break z}b=H-226|0;c=b;b=b>>31;if(c>>>0<=i>>>0&(h|0)>=(b|0)|(b|0)<(h|0)){if((s|0)>-1){while(1){Zi(f+416|0,m,p,A,D,0,0,0,-1073807360);c=JD(m,p,A,D,1073610752);b=(c|0)<0;Zi(f+400|0,m,p,A,D,b?m:v[f+416>>2],b?p:v[f+420>>2],b?A:v[f+424>>2],b?D:v[f+428>>2]);b=i;i=b-1|0;h=h-(b>>>0<1)|0;A=v[f+408>>2];D=v[f+412>>2];m=v[f+400>>2];p=v[f+404>>2];s=s<<1|(c|0)>-1;if((s|0)>-1){continue}break}}b=i;c=H;d=(b-c|0)+32|0;b=h-((c>>31)+(b>>>0>>0)|0)|0;b=d>>>0<32?b+1|0:b;c=d;c=c>>>0>>0&(b|0)<=0|(b|0)<0?(c|0)>0?c:0:I;F:{if((c|0)>=113){uj(f+384|0,n);u=v[f+392>>2];x=v[f+396>>2];F=v[f+384>>2];G=v[f+388>>2];h=0;b=0;break F}cl(f+352|0,Zk(1,144-c|0));uj(f+336|0,n);F=v[f+336>>2];G=v[f+340>>2];u=v[f+344>>2];x=v[f+348>>2];HP(f+368|0,v[f+352>>2],v[f+356>>2],v[f+360>>2],v[f+364>>2],F,G,u,x);K=v[f+376>>2];M=v[f+380>>2];h=v[f+372>>2];b=v[f+368>>2]}c=!(s&1)&((Ep(m,p,A,D,0,0,0,0)|0)!=0&(c|0)<32);Hr(f+320|0,c+s|0);Le(f+304|0,F,G,u,x,v[f+320>>2],v[f+324>>2],v[f+328>>2],v[f+332>>2]);d=b;Zi(f+272|0,v[f+304>>2],v[f+308>>2],v[f+312>>2],v[f+316>>2],b,h,K,M);b=c;Le(f+288|0,b?0:m,b?0:p,b?0:A,b?0:D,F,G,u,x);Zi(f+256|0,v[f+288>>2],v[f+292>>2],v[f+296>>2],v[f+300>>2],v[f+272>>2],v[f+276>>2],v[f+280>>2],v[f+284>>2]);ID(f+240|0,v[f+256>>2],v[f+260>>2],v[f+264>>2],v[f+268>>2],d,h,K,M);b=v[f+240>>2];c=v[f+244>>2];d=v[f+248>>2];h=v[f+252>>2];if(!Ep(b,c,d,h,0,0,0,0)){v[296206]=68}GP(f+224|0,b,c,d,h,i);m=v[f+224>>2];p=v[f+228>>2];c=v[f+236>>2];b=v[f+232>>2];break z}v[296206]=68;uj(f+208|0,n);Le(f+192|0,v[f+208>>2],v[f+212>>2],v[f+216>>2],v[f+220>>2],0,0,0,65536);Le(f+176|0,v[f+192>>2],v[f+196>>2],v[f+200>>2],v[f+204>>2],0,0,0,65536);m=v[f+176>>2];p=v[f+180>>2];c=v[f+188>>2];b=v[f+184>>2];break z}Rj(b,0,0)}cl(f+96|0,+(n|0)*0);m=v[f+96>>2];p=v[f+100>>2];c=v[f+108>>2];b=v[f+104>>2]}v[r+16>>2]=m;v[r+20>>2]=p;v[r+24>>2]=b;v[r+28>>2]=c;Ma=f+432|0;i=v[r+24>>2];h=v[r+28>>2];l=v[r+16>>2];k=v[r+20>>2];break a}if(!v[b+104>>2]){break n}v[b+4>>2]=v[b+4>>2]-1}g=b;f=n;s=d;n=0;d=0;e=Ma-8976|0;Ma=e;J=H+I|0;K=0-J|0;G:{H:{while(1){if((c|0)!=48){I:{if((c|0)!=46){break G}b=v[g+4>>2];if(b>>>0>=y[g+104>>2]){break I}v[g+4>>2]=b+1;c=w[b|0];break H}}else{b=v[g+4>>2];if(b>>>0>2]){n=1;v[g+4>>2]=b+1;c=w[b|0]}else{n=1;c=ke(g)}continue}break}c=ke(g)}o=1;if((c|0)!=48){break G}while(1){b=i;i=b-1|0;h=h-(b>>>0<1)|0;b=v[g+4>>2];J:{if(b>>>0>2]){v[g+4>>2]=b+1;c=w[b|0];break J}c=ke(g)}if((c|0)==48){continue}break}n=1}v[e+784>>2]=0;K:{L:{b=(c|0)==46;m=c-48|0;M:{N:{O:{P:{if(!(!b&m>>>0>9)){while(1){Q:{if(b&1){if(!o){i=l;h=k;o=1;break Q}b=!n;break P}b=l+1|0;k=b>>>0<1?k+1|0:k;l=b;if((d|0)<=2044){L=(c|0)==48?L:l;b=(e+784|0)+(d<<2)|0;n=b;if(z){m=(B(v[b>>2],10)+c|0)-48|0}v[n>>2]=m;n=1;c=z+1|0;b=(c|0)==9;z=b?0:c;d=b+d|0;break Q}if((c|0)==48){break Q}v[e+8960>>2]=v[e+8960>>2]|1;L=18396}b=v[g+4>>2];R:{if(b>>>0>2]){v[g+4>>2]=b+1;c=w[b|0];break R}c=ke(g)}b=(c|0)==46;m=c-48|0;if(b|m>>>0<10){continue}break}}i=o?i:l;h=o?h:k;if(!(!n|(c&-33)!=69)){m=FP(g,s);b=Pa;p=b;S:{if(m|(b|0)!=-2147483648){break S}if(!s){break M}m=0;p=0;if(!v[g+104>>2]){break S}v[g+4>>2]=v[g+4>>2]-1}if(!n){break N}g=h+p|0;b=i+m|0;g=b>>>0>>0?g+1|0:g;i=b;h=g;break L}b=!n;if((c|0)<0){break O}}if(!v[g+104>>2]){break O}v[g+4>>2]=v[g+4>>2]-1}if(!b){break L}}v[296206]=28}l=0;k=0;Rj(g,0,0);c=0;b=0;break K}b=v[e+784>>2];if(!b){cl(e,+(f|0)*0);l=v[e>>2];k=v[e+4>>2];c=v[e+12>>2];b=v[e+8>>2];break K}if(!(l>>>0>9&(k|0)>=0|(k|0)>0|((i|0)!=(l|0)|(h|0)!=(k|0))|(b>>>I|0?(I|0)<=30:0))){uj(e+48|0,f);Hr(e+32|0,b);Le(e+16|0,v[e+48>>2],v[e+52>>2],v[e+56>>2],v[e+60>>2],v[e+32>>2],v[e+36>>2],v[e+40>>2],v[e+44>>2]);l=v[e+16>>2];k=v[e+20>>2];c=v[e+28>>2];b=v[e+24>>2];break K}if(i>>>0>(H|0)/-2>>>0&(h|0)>=0|(h|0)>0){v[296206]=68;uj(e+96|0,f);Le(e+80|0,v[e+96>>2],v[e+100>>2],v[e+104>>2],v[e+108>>2],-1,-1,-1,2147418111);Le(e- -64|0,v[e+80>>2],v[e+84>>2],v[e+88>>2],v[e+92>>2],-1,-1,-1,2147418111);l=v[e+64>>2];k=v[e+68>>2];c=v[e+76>>2];b=v[e+72>>2];break K}b=H-226|0;c=i>>>0>>0;b=b>>31;if(c&(h|0)<=(b|0)|(b|0)>(h|0)){v[296206]=68;uj(e+144|0,f);Le(e+128|0,v[e+144>>2],v[e+148>>2],v[e+152>>2],v[e+156>>2],0,0,0,65536);Le(e+112|0,v[e+128>>2],v[e+132>>2],v[e+136>>2],v[e+140>>2],0,0,0,65536);l=v[e+112>>2];k=v[e+116>>2];c=v[e+124>>2];b=v[e+120>>2];break K}if(z){if((z|0)<=8){b=(e+784|0)+(d<<2)|0;g=v[b>>2];while(1){g=B(g,10);z=z+1|0;if((z|0)!=9){continue}break}v[b>>2]=g}d=d+1|0}T:{o=i;if((L|0)>(i|0)|(L|0)>=9|(i|0)>17){break T}if((o|0)==9){uj(e+192|0,f);Hr(e+176|0,v[e+784>>2]);Le(e+160|0,v[e+192>>2],v[e+196>>2],v[e+200>>2],v[e+204>>2],v[e+176>>2],v[e+180>>2],v[e+184>>2],v[e+188>>2]);l=v[e+160>>2];k=v[e+164>>2];c=v[e+172>>2];b=v[e+168>>2];break K}if((o|0)<=8){uj(e+272|0,f);Hr(e+256|0,v[e+784>>2]);Le(e+240|0,v[e+272>>2],v[e+276>>2],v[e+280>>2],v[e+284>>2],v[e+256>>2],v[e+260>>2],v[e+264>>2],v[e+268>>2]);uj(e+224|0,v[(0-o<<2)+998288>>2]);qP(e+208|0,v[e+240>>2],v[e+244>>2],v[e+248>>2],v[e+252>>2],v[e+224>>2],v[e+228>>2],v[e+232>>2],v[e+236>>2]);l=v[e+208>>2];k=v[e+212>>2];c=v[e+220>>2];b=v[e+216>>2];break K}b=(B(o,-3)+I|0)+27|0;c=v[e+784>>2];if(c>>>b|0?(b|0)<=30:0){break T}uj(e+352|0,f);Hr(e+336|0,c);Le(e+320|0,v[e+352>>2],v[e+356>>2],v[e+360>>2],v[e+364>>2],v[e+336>>2],v[e+340>>2],v[e+344>>2],v[e+348>>2]);uj(e+304|0,v[(o<<2)+998216>>2]);Le(e+288|0,v[e+320>>2],v[e+324>>2],v[e+328>>2],v[e+332>>2],v[e+304>>2],v[e+308>>2],v[e+312>>2],v[e+316>>2]);l=v[e+288>>2];k=v[e+292>>2];c=v[e+300>>2];b=v[e+296>>2];break K}while(1){c=d;d=c-1|0;if(!v[(e+784|0)+(d<<2)>>2]){continue}break}z=0;b=(o|0)%9|0;U:{if(!b){b=0;break U}d=(o|0)>-1?b:b+9|0;V:{if(!c){b=0;c=0;break V}i=v[(0-d<<2)+998288>>2];k=1e9/(i|0)|0;m=0;g=0;b=0;while(1){h=m;l=(e+784|0)+(g<<2)|0;n=v[l>>2];m=(n>>>0)/(i>>>0)|0;h=h+m|0;v[l>>2]=h;h=!h&(b|0)==(g|0);b=h?b+1&2047:b;o=h?o-9|0:o;m=B(k,n-B(i,m)|0);g=g+1|0;if((g|0)!=(c|0)){continue}break}if(!m){break V}v[(e+784|0)+(c<<2)>>2]=m;c=c+1|0}o=(o-d|0)+9|0}while(1){s=(e+784|0)+(b<<2)|0;W:{while(1){if(((o|0)!=36|y[s>>2]>=10384593)&(o|0)>=36){break W}n=c+2047|0;m=0;while(1){l=n&2047;n=(e+784|0)+(l<<2)|0;d=v[n>>2];g=d>>>3|0;i=d<<29;d=i+m|0;k=d>>>0>>0?g+1|0:g;i=d;h=k;if(!h&i>>>0<1000000001){m=0}else{m=z3a(i,h,1e9,0);i=i-x3a(m,Pa,1e9,0)|0}v[n>>2]=i;c=(l|0)!=(c-1&2047)?c:(b|0)==(l|0)?c:i?c:l;n=l-1|0;if((b|0)!=(l|0)){continue}break}z=z-29|0;if(!m){continue}break}b=b-1&2047;if((c|0)==(b|0)){d=e+784|0;i=d+((c+2046&2047)<<2)|0;c=c-1&2047;v[i>>2]=v[i>>2]|v[d+(c<<2)>>2]}o=o+9|0;v[(e+784|0)+(b<<2)>>2]=m;continue}break}X:{Y:while(1){d=c+1&2047;h=(e+784|0)+((c-1&2047)<<2)|0;while(1){i=(o|0)>45?9:1;Z:{while(1){n=b;g=0;_:{while(1){$:{b=g+n&2047;if((b|0)==(c|0)){break $}b=v[(e+784|0)+(b<<2)>>2];k=v[(g<<2)+998240>>2];if(b>>>0>>0){break $}if(b>>>0>k>>>0){break _}g=g+1|0;if((g|0)!=4){continue}}break}if((o|0)!=36){break _}i=0;h=0;g=0;l=0;k=0;while(1){b=g+n&2047;if((b|0)==(c|0)){c=c+1&2047;v[(e+(c<<2)|0)+780>>2]=0}Le(e+768|0,i,h,l,k,0,0,1342177280,1075633366);Hr(e+752|0,v[(e+784|0)+(b<<2)>>2]);Zi(e+736|0,v[e+768>>2],v[e+772>>2],v[e+776>>2],v[e+780>>2],v[e+752>>2],v[e+756>>2],v[e+760>>2],v[e+764>>2]);l=v[e+744>>2];k=v[e+748>>2];i=v[e+736>>2];h=v[e+740>>2];g=g+1|0;if((g|0)!=4){continue}break}uj(e+720|0,f);Le(e+704|0,i,h,l,k,v[e+720>>2],v[e+724>>2],v[e+728>>2],v[e+732>>2]);l=v[e+712>>2];k=v[e+716>>2];i=0;h=0;m=v[e+704>>2];p=v[e+708>>2];s=z+113|0;d=s-H|0;g=(d|0)<(I|0);b=g?(d|0)>0?d:0:I;if((b|0)<=112){break Z}break X}z=i+z|0;b=c;if((n|0)==(b|0)){continue}break}k=1e9>>>i|0;l=-1<>2];g=(s>>>i|0)+g|0;v[m>>2]=g;g=!g&(b|0)==(n|0);b=g?b+1&2047:b;o=g?o-9|0:o;g=B(k,l&s);n=n+1&2047;if((n|0)!=(c|0)){continue}break}if(!g){continue}if((b|0)!=(d|0)){v[(e+784|0)+(c<<2)>>2]=g;c=d;continue Y}v[h>>2]=v[h>>2]|1;b=d;continue}break}break}cl(e+656|0,Zk(1,225-b|0));HP(e+688|0,v[e+656>>2],v[e+660>>2],v[e+664>>2],v[e+668>>2],m,p,l,k);F=v[e+696>>2];G=v[e+700>>2];A=v[e+688>>2];D=v[e+692>>2];cl(e+640|0,Zk(1,113-b|0));iN(e+672|0,m,p,l,k,v[e+640>>2],v[e+644>>2],v[e+648>>2],v[e+652>>2]);i=v[e+672>>2];h=v[e+676>>2];u=v[e+680>>2];x=v[e+684>>2];ID(e+624|0,m,p,l,k,i,h,u,x);Zi(e+608|0,A,D,F,G,v[e+624>>2],v[e+628>>2],v[e+632>>2],v[e+636>>2]);l=v[e+616>>2];k=v[e+620>>2];m=v[e+608>>2];p=v[e+612>>2]}o=n+4&2047;aa:{if((o|0)==(c|0)){break aa}o=v[(e+784|0)+(o<<2)>>2];ba:{if(o>>>0<=499999999){if(!o&(n+5&2047)==(c|0)){break ba}cl(e+496|0,+(f|0)*.25);Zi(e+480|0,i,h,u,x,v[e+496>>2],v[e+500>>2],v[e+504>>2],v[e+508>>2]);u=v[e+488>>2];x=v[e+492>>2];i=v[e+480>>2];h=v[e+484>>2];break ba}if((o|0)!=5e8){cl(e+592|0,+(f|0)*.75);Zi(e+576|0,i,h,u,x,v[e+592>>2],v[e+596>>2],v[e+600>>2],v[e+604>>2]);u=v[e+584>>2];x=v[e+588>>2];i=v[e+576>>2];h=v[e+580>>2];break ba}O=+(f|0);if((n+5&2047)==(c|0)){cl(e+528|0,O*.5);Zi(e+512|0,i,h,u,x,v[e+528>>2],v[e+532>>2],v[e+536>>2],v[e+540>>2]);u=v[e+520>>2];x=v[e+524>>2];i=v[e+512>>2];h=v[e+516>>2];break ba}cl(e+560|0,O*.75);Zi(e+544|0,i,h,u,x,v[e+560>>2],v[e+564>>2],v[e+568>>2],v[e+572>>2]);u=v[e+552>>2];x=v[e+556>>2];i=v[e+544>>2];h=v[e+548>>2]}if((b|0)>111){break aa}iN(e+464|0,i,h,u,x,0,0,0,1073676288);if(Ep(v[e+464>>2],v[e+468>>2],v[e+472>>2],v[e+476>>2],0,0,0,0)){break aa}Zi(e+448|0,i,h,u,x,0,0,0,1073676288);u=v[e+456>>2];x=v[e+460>>2];i=v[e+448>>2];h=v[e+452>>2]}Zi(e+432|0,m,p,l,k,i,h,u,x);ID(e+416|0,v[e+432>>2],v[e+436>>2],v[e+440>>2],v[e+444>>2],A,D,F,G);l=v[e+424>>2];k=v[e+428>>2];m=v[e+416>>2];p=v[e+420>>2];ca:{if((-2-J|0)>=(s&2147483647)){break ca}v[e+408>>2]=l;v[e+412>>2]=k&2147483647;v[e+400>>2]=m;v[e+404>>2]=p;Le(e+384|0,m,p,l,k,0,0,0,1073610752);o=v[e+400>>2];f=v[e+404>>2];H=v[e+408>>2];s=v[e+412>>2];c=JD(o,f,H,s,1081081856);n=(c|0)<0;l=n?l:v[e+392>>2];k=n?k:v[e+396>>2];m=n?m:v[e+384>>2];p=n?p:v[e+388>>2];z=((c|0)>-1)+z|0;if((z+110|0)<=(K|0)){if((((JD(o,f,H,s,1081081856)|0)<0?g:g&(b|0)!=(d|0))|0)!=1){break ca}if(!Ep(i,h,u,x,0,0,0,0)){break ca}}v[296206]=68}GP(e+368|0,m,p,l,k,z);l=v[e+368>>2];k=v[e+372>>2];c=v[e+380>>2];b=v[e+376>>2]}v[r+32>>2]=l;v[r+36>>2]=k;v[r+40>>2]=b;v[r+44>>2]=c;Ma=e+8976|0;i=v[r+40>>2];h=v[r+44>>2];l=v[r+32>>2];k=v[r+36>>2];break a;case 3:break j;default:break m}}if(v[b+104>>2]){v[b+4>>2]=v[b+4>>2]-1}break i}da:{c=v[b+4>>2];ea:{if(c>>>0>2]){v[b+4>>2]=c+1;c=w[c|0];break ea}c=ke(b)}if((c|0)==40){g=1;break da}h=2147450880;if(!v[b+104>>2]){break a}v[b+4>>2]=v[b+4>>2]-1;break a}while(1){fa:{c=v[b+4>>2];ga:{if(c>>>0>2]){v[b+4>>2]=c+1;c=w[c|0];break ga}c=ke(b)}if(!(c-48>>>0<10|c-65>>>0<26|(c|0)==95)){if(c-97>>>0>=26){break fa}}g=g+1|0;continue}break}h=2147450880;if((c|0)==41){break a}c=v[b+104>>2];if(c){v[b+4>>2]=v[b+4>>2]-1}if(d){if(!g){break a}while(1){g=g-1|0;if(c){v[b+4>>2]=v[b+4>>2]-1}if(g){continue}break}break a}}v[296206]=28;Rj(b,0,0)}h=0}v[a>>2]=l;v[a+4>>2]=k;v[a+8>>2]=i;v[a+12>>2]=h;Ma=r+48|0}function I3(a){var b=0,c=0,d=0,e=0,f=0,g=C(0),h=0,i=0,j=0,k=0,m=0,n=0,o=0,q=0,r=0,s=0,y=0,A=C(0),E=0,F=0,H=C(0),I=0,J=0,K=0,M=C(0),N=0,O=C(0),P=0,Q=0,R=0,S=0,T=0,U=0;b=Ma-131200|0;Ma=b;a:{b:{if(v[a+180>>2]|!v[a+26084>>2]){break b}if(v[a+188>>2]){Lb(39182,24,1,v[249419])}Qa[v[v[a>>2]+8>>2]](v[a+4>>2],v[a+26064>>2],0)|0;u[b+32>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+32|0,1,2)|0;f=w[b+32|0];c=a;if(x[a+25204>>1]==18761){d=f|w[b+33|0]<<8}else{d=w[b+33|0]|f<<8}u[c+25204>>1]=d;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],6,1)|0;i=v[a+26064>>2];d=v[a>>2];f=v[d+8>>2];c=v[a+4>>2];v[b+32>>2]=-1;Qa[v[d>>2]](c,b+32|0,1,4)|0;d=w[b+32|0];if(x[a+25204>>1]==18761){d=d|w[b+33|0]<<8|w[b+34|0]<<16|w[b+35|0]<<24}else{d=w[b+35|0]|(w[b+33|0]<<16|d<<24|w[b+34|0]<<8)}Qa[f|0](c,d+i|0,0)|0;v[b+32>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+32|0,1,4)|0;c=w[b+32|0];if(x[a+25204>>1]==18761){c=c|w[b+33|0]<<8|w[b+34|0]<<16|w[b+35|0]<<24}else{c=w[b+35|0]|(w[b+33|0]<<16|c<<24|w[b+34|0]<<8)}v[b+32>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+32|0,1,4)|0;s=c;if(!c){break b}f=2147483647;while(1){v[b+131104>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+131104|0,1,4)|0;c=w[b+131104|0];if(x[a+25204>>1]==18761){h=c|w[b+131105|0]<<8|w[b+131106|0]<<16|w[b+131107|0]<<24}else{h=w[b+131107|0]|(w[b+131105|0]<<16|c<<24|w[b+131106|0]<<8)}v[b+131104>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+131104|0,1,4)|0;c=w[b+131104|0];if(x[a+25204>>1]==18761){c=c|w[b+131105|0]<<8|w[b+131106|0]<<16|w[b+131107|0]<<24}else{c=w[b+131107|0]|(w[b+131105|0]<<16|c<<24|w[b+131106|0]<<8)}v[b+131104>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+131104|0,1,4)|0;d=w[b+131104|0];if(x[a+25204>>1]==18761){d=d|w[b+131105|0]<<8|w[b+131106|0]<<16|w[b+131107|0]<<24}else{d=w[b+131107|0]|(w[b+131105|0]<<16|d<<24|w[b+131106|0]<<8)}s=s-1|0;U=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],d+v[a+26064>>2]|0,0)|0;c:{d:{e:{f:{g:{h:{switch(h-1024|0){case 26:v[b+131104>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+131104|0,1,4)|0;c=w[b+131104|0];if(x[a+25204>>1]==18761){break g}d=w[b+131107|0]|(w[b+131105|0]<<16|c<<24|w[b+131106|0]<<8);break f;case 0:if((c|0)<=7){break c}while(1){i=c;u[b+131104>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+131104|0,1,2)|0;c=w[b+131104|0];if(x[a+25204>>1]==18761){c=c|w[b+131105|0]<<8}else{c=w[b+131105|0]|c<<8}h=x[a+26314>>1];u[b+131104>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+131104|0,1,2)|0;c=c&65535;d=w[b+131104|0];if(x[a+25204>>1]==18761){d=d|w[b+131105|0]<<8}else{d=w[b+131105|0]|d<<8}E=c-h|0;h=x[a+26312>>1];u[b+131104>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+131104|0,1,2)|0;c=w[b+131104|0];if(x[a+25204>>1]==18761){c=c|w[b+131105|0]<<8}else{c=w[b+131105|0]|c<<8}u[b+131104>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+131104|0,1,2)|0;N=x[a+26310>>1];i:{if(N>>>0<=E>>>0){break i}j:{switch((c&65535)-129|0){case 2:n=x[a+26308>>1];if(!n){break i}P=E+2|0;Q=E-2|0;R=E&1;S=E-1|0;y=S&1;T=E+1|0;o=T&1;I=v[a+26028>>2];c=0;while(1){k:{l:{m:{n:{o:{e=I>>>((R|c<<1&14)<<1)&3;if((e|0)!=1){r=0;k=0;j=0;h=c-2|0;p:{if(h>>>0>=n>>>0){break p}if(Q>>>0>1]){d=x[a+26316>>1];k=x[(v[a+26352>>2]+(B(x[a+26320>>1],h>>>d|0)+(Q>>>d|0)<<3)|0)+((I>>>((R|h<<1&14)<<1)&3)<<1)>>1]}if(P>>>0>=x[a+26310>>1]){break p}d=x[a+26316>>1];j=x[(v[a+26352>>2]+(B(x[a+26320>>1],h>>>d|0)+(P>>>d|0)<<3)|0)+((I>>>((R|h<<1&14)<<1)&3)<<1)>>1]}j=j+k|0;k=x[a+26310>>1];h=c+2|0;q:{if(h>>>0>=n>>>0){break q}if(k>>>0>Q>>>0){d=x[a+26316>>1];d=x[(v[a+26352>>2]+(B(x[a+26320>>1],h>>>d|0)+(Q>>>d|0)<<3)|0)+((I>>>((R|h<<1&14)<<1)&3)<<1)>>1]}else{d=0}j=d+j|0;k=x[a+26310>>1];if(P>>>0>=k>>>0){break q}d=x[a+26316>>1];r=x[(v[a+26352>>2]+(B(x[a+26320>>1],h>>>d|0)+(P>>>d|0)<<3)|0)+((I>>>((R|h<<1&14)<<1)&3)<<1)>>1]}F=+(j+r|0)*.0732233;j=0;if(k>>>0>Q>>>0){d=x[a+26316>>1];j=x[(v[a+26352>>2]+(B(x[a+26320>>1],c>>>d|0)+(Q>>>d|0)<<3)|0)+(e<<1)>>1]}F=F+.5;m=x[a+26316>>1];d=v[a+26352>>2];if(k>>>0>P>>>0){break o}k=B(x[a+26320>>1],c>>>m|0);h=0;break n}e=c-1|0;if(e>>>0>=n>>>0){break m}d=0;j=0;if(S>>>0>1]){h=x[a+26316>>1];j=x[(v[a+26352>>2]+(B(x[a+26320>>1],e>>>h|0)+(S>>>h|0)<<3)|0)+((I>>>((e<<1&14|y)<<1)&3)<<1)>>1]}v[b+131168>>2]=j;if(T>>>0>=x[a+26310>>1]){break l}d=x[a+26316>>1];d=x[(v[a+26352>>2]+(B(x[a+26320>>1],e>>>d|0)+(T>>>d|0)<<3)|0)+((I>>>((e<<1&14|o)<<1)&3)<<1)>>1];break l}k=B(x[a+26320>>1],c>>>m|0);h=x[(d+(k+(P>>>m|0)<<3)|0)+(e<<1)>>1]}e=(d+((E>>>m|0)+k<<3)|0)+(e<<1)|0;F=F+ +(h+j|0)*.3535534;r:{if(F<4294967296&F>=0){d=~~F>>>0;break r}d=0}u[e>>1]=d;c=c+1|0;break k}j=0;v[b+131168>>2]=0;d=0}v[b+131172>>2]=d;m=d+j|0;h=c+1|0;s:{if(h>>>0>>0){k=0;r=0;if(S>>>0>1]){e=x[a+26316>>1];r=x[(v[a+26352>>2]+(B(x[a+26320>>1],h>>>e|0)+(S>>>e|0)<<3)|0)+((I>>>((h<<1&14|y)<<1)&3)<<1)>>1]}v[b+131176>>2]=r;m=m+r|0;if(T>>>0>=x[a+26310>>1]){break s}e=x[a+26316>>1];k=x[(v[a+26352>>2]+(B(x[a+26320>>1],h>>>e|0)+(T>>>e|0)<<3)|0)+((I>>>((h<<1&14|o)<<1)&3)<<1)>>1];break s}r=0;v[b+131176>>2]=0;k=0}v[b+131180>>2]=k;e=j<<2;j=k+m|0;e=e-j|0;m=e>>31;m=m^e+m;v[b+131152>>2]=m;d=(d<<2)-j|0;e=d>>31;e=e^d+e;v[b+131156>>2]=e;d=(r<<2)-j|0;q=d>>31;K=q^d+q;v[b+131160>>2]=K;q=b+131152|0;N=e>>>0>m>>>0;m=v[(q|N<<2)>>2];d=(k<<2)-j|0;e=d>>31;e=e^d+e;v[b+131164>>2]=e;d=c;c=x[a+26316>>1];d=v[a+26352>>2]+(B(x[a+26320>>1],d>>>c|0)+(E>>>c|0)<<3)|0;c=(m|0)<(K|0)?2:N;F=+(j-v[(b+131168|((e|0)>v[(q|c<<2)>>2]?3:c)<<2)>>2]|0)/3+.5;t:{if(F<4294967296&F>=0){c=~~F>>>0;break t}c=0}u[d+2>>1]=c;c=h}n=x[a+26308>>1];if(c>>>0>>0){continue}break};break i;case 0:break j;default:break i}}j=(d&65535)-h|0;q=x[a+26308>>1];if(j>>>0>=q>>>0){break i}m=v[a+26028>>2];e=m>>>((j<<1&14|E&1)<<1)&3;n=((e|0)!=1)<<2;h=n|8;d=0;while(1){c=n<<1;o=j+t[c+196192|0]|0;k=0;u:{if(o>>>0>=q>>>0){break u}K=E+t[c+196193|0]|0;k=0;if(K>>>0>=N>>>0){break u}c=x[a+26316>>1];k=x[(v[a+26352>>2]+(B(x[a+26320>>1],o>>>c|0)+(K>>>c|0)<<3)|0)+((m>>>((o<<1&14|K&1)<<1)&3)<<1)>>1]}d=k+d|0;n=n+1|0;if((h|0)!=(n|0)){continue}break}c=x[a+26316>>1];u[(v[a+26352>>2]+(B(x[a+26320>>1],j>>>c|0)+(E>>>c|0)<<3)|0)+(e<<1)>>1]=d+4>>>3}c=i-8|0;if((i|0)>15){continue}break};break c;case 25:v[b+131104>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+131104|0,1,4)|0;v[b+131104>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+131104|0,1,4)|0;v[b+131104>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+131104|0,1,4)|0;c=w[b+131104|0];if(x[a+25204>>1]!=18761){i=w[b+131107|0]|(w[b+131105|0]<<16|c<<24|w[b+131106|0]<<8)}else{i=c|w[b+131105|0]<<8|w[b+131106|0]<<16|w[b+131107|0]<<24}v[b+131104>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+131104|0,1,4)|0;v[b+131104>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+131104|0,1,4)|0;c=w[b+131104|0];if(x[a+25204>>1]!=18761){d=w[b+131107|0]|(w[b+131105|0]<<16|c<<24|w[b+131106|0]<<8)}else{d=c|w[b+131105|0]<<8|w[b+131106|0]<<16|w[b+131107|0]<<24}v[b+131104>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+131104|0,1,4)|0;v[b+131104>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+131104|0,1,4)|0;c=w[b+131104|0];if(x[a+25204>>1]!=18761){c=w[b+131107|0]|(w[b+131105|0]<<16|c<<24|w[b+131106|0]<<8)}else{c=c|w[b+131105|0]<<8|w[b+131106|0]<<16|w[b+131107|0]<<24}v[b+131104>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+131104|0,1,4)|0;e=w[b+131104|0];if(x[a+25204>>1]!=18761){e=w[b+131107|0]|(w[b+131105|0]<<16|e<<24|w[b+131106|0]<<8)}else{e=e|w[b+131105|0]<<8|w[b+131106|0]<<16|w[b+131107|0]<<24}A=(l(2,d),p());v[b+131104>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+131104|0,1,4)|0;M=(l(2,e),p());d=w[b+131104|0];H=(l(2,i),p());O=(l(2,c),p());g=z[a+25200>>2];if(x[a+25204>>1]!=18761){c=w[b+131107|0]|(w[b+131105|0]<<16|d<<24|w[b+131106|0]<<8)}else{c=d|w[b+131105|0]<<8|w[b+131106|0]<<16|w[b+131107|0]<<24}M=C(C(C(C(g-(l(2,c),p()))*M)+C(1))+A);c=0;break e;case 18:Qa[v[v[a>>2]+8>>2]](v[a+4>>2],36,1)|0;u[b+131104>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+131104|0,1,2)|0;d=w[b+131104|0];c=f;if(x[a+25204>>1]==18761){d=d|w[b+131105|0]<<8}else{d=w[b+131105|0]|d<<8}d=(d&65535)-v[a+25196>>2]|0;i=d>>31;h=c;c=i^d+i;if((h|0)<=(c|0)){break c}J=(Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0)-38|0;f=c;break c;case 11:XK(a,0,4);break c;case 16:case 22:XK(a,0,2);break c;case 1:break h;default:break c}}XK(a,1,2);break c}d=c|w[b+131105|0]<<8|w[b+131106|0]<<16|w[b+131107|0]<<24}v[b+131104>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+131104|0,1,4)|0;c=w[b+131104|0];if(x[a+25204>>1]!=18761){c=w[b+131107|0]|(w[b+131105|0]<<16|c<<24|w[b+131106|0]<<8)}else{c=c|w[b+131105|0]<<8|w[b+131106|0]<<16|w[b+131107|0]<<24}v[b+131104>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+131104|0,1,4)|0;i=w[b+131104|0];if(x[a+25204>>1]!=18761){e=w[b+131107|0]|(w[b+131105|0]<<16|i<<24|w[b+131106|0]<<8)}else{e=i|w[b+131105|0]<<8|w[b+131106|0]<<16|w[b+131107|0]<<24}v[b+131104>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+131104|0,1,4)|0;i=w[b+131104|0];H=(l(2,d),p());O=(l(2,c),p());A=(l(2,e),p());if(x[a+25204>>1]!=18761){c=w[b+131107|0]|(w[b+131105|0]<<16|i<<24|w[b+131106|0]<<8)}else{c=i|w[b+131105|0]<<8|w[b+131106|0]<<16|w[b+131107|0]<<24}M=(l(2,c),p());c=0;while(1){i=(b+32|0)+(c<<1)|0;g=C(c|0);g=C(C(C(C(C(C(C(C(C(g*C(0))+M)*g)+A)*g)+O)*g)+H)+g);g=C(G(g=C(0)){d=~~g>>>0;break v}d=0}u[i>>1]=d;c=c+1|0;if((c|0)!=65536){continue}break}break d}while(1){i=(b+32|0)+(c<<1)|0;g=C(c|0);g=C(C(C(M+C(O*g))*g)+H);g=C(G(g=C(0)){d=~~g>>>0;break w}d=0}u[i>>1]=d;d=c|1;g=C(d|0);g=C(C(C(M+C(O*g))*g)+H);g=C(G(g=C(0)){i=~~g>>>0;break x}i=0}u[(b+32|0)+(d<<1)>>1]=i;c=c+2|0;if((c|0)!=65536){continue}break}}c=x[a+26308>>1];if(!c){break c}d=B(v[a+25192>>2],h&1);n=x[a+26310>>1];q=0;while(1){if(d>>>0<(n&65535)>>>0){m=q<<1&14;e=v[a+26028>>2];h=v[a+26352>>2];c=d;while(1){i=x[a+26316>>1];i=(h+(B(x[a+26320>>1],q>>>i|0)+(c>>>i|0)<<3)|0)+((e>>>((m|c&1)<<1)&3)<<1)|0;u[i>>1]=x[(b+32|0)+(x[i>>1]<<1)>>1];c=c+1|0;n=x[a+26310>>1];if(c>>>0>>0){continue}break}c=x[a+26308>>1]}q=q+1|0;if(q>>>0<(c&65535)>>>0){continue}break}}Qa[v[v[a>>2]+8>>2]](v[a+4>>2],U,0)|0;if(s){continue}break}if(!J){break b}Qa[v[v[a>>2]+8>>2]](v[a+4>>2],J,0)|0;v[b+131196>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+131196|0,1,4)|0;f=w[b+131196|0];c=b;if(x[a+25204>>1]==18761){d=f|w[b+131197|0]<<8}else{d=w[b+131199|0]|(f<<24|w[b+131198|0]<<8)}v[c+131104>>2]=d&32767;v[b+131196>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+131196|0,1,4)|0;f=w[b+131196|0];c=b;if(x[a+25204>>1]!=18761){d=w[b+131199|0]|(f<<24|w[b+131198|0]<<8)}else{d=f|w[b+131197|0]<<8}v[c+131108>>2]=d&32767;v[b+131196>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+131196|0,1,4)|0;f=w[b+131196|0];c=b;if(x[a+25204>>1]!=18761){d=w[b+131199|0]|(f<<24|w[b+131198|0]<<8)}else{d=f|w[b+131197|0]<<8}v[c+131112>>2]=d&32767;v[b+131196>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+131196|0,1,4)|0;f=w[b+131196|0];c=b;if(x[a+25204>>1]!=18761){d=w[b+131199|0]|(f<<24|w[b+131198|0]<<8)}else{d=f|w[b+131197|0]<<8}v[c+131116>>2]=d&32767;v[b+131196>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+131196|0,1,4)|0;f=w[b+131196|0];c=b;if(x[a+25204>>1]!=18761){d=w[b+131199|0]|(f<<24|w[b+131198|0]<<8)}else{d=f|w[b+131197|0]<<8}v[c+131120>>2]=d&32767;v[b+131196>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+131196|0,1,4)|0;f=w[b+131196|0];c=b;if(x[a+25204>>1]!=18761){d=w[b+131199|0]|(f<<24|w[b+131198|0]<<8)}else{d=f|w[b+131197|0]<<8}v[c+131124>>2]=d&32767;v[b+131196>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+131196|0,1,4)|0;f=w[b+131196|0];c=b;if(x[a+25204>>1]!=18761){d=w[b+131199|0]|(f<<24|w[b+131198|0]<<8)}else{d=f|w[b+131197|0]<<8}v[c+131128>>2]=d&32767;v[b+131196>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+131196|0,1,4)|0;f=w[b+131196|0];c=b;if(x[a+25204>>1]!=18761){d=w[b+131199|0]|(f<<24|w[b+131198|0]<<8)}else{d=f|w[b+131197|0]<<8}v[c+131132>>2]=d&32767;v[b+131196>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+131196|0,1,4)|0;f=w[b+131196|0];c=b;if(x[a+25204>>1]!=18761){d=w[b+131199|0]|(f<<24|w[b+131198|0]<<8)}else{d=f|w[b+131197|0]<<8}v[c+131136>>2]=d&32767;s=B(v[b+131120>>2],v[b+131112>>2]);i=v[b+131116>>2];o=v[b+131108>>2];e=B(i,o);y=Yb(s+e|0,6);if(!y){break a}u[b+131196>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+131196|0,1,2)|0;c=0;if((e|0)>0){while(1){v[b+131196>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+131196|0,1,4)|0;d=w[b+131196|0];f=y+(c<<2)|0;if(x[a+25204>>1]==18761){d=d|w[b+131197|0]<<8|w[b+131198|0]<<16|w[b+131199|0]<<24}else{d=w[b+131199|0]|(w[b+131197|0]<<16|d<<24|w[b+131198|0]<<8)}v[f>>2]=d;c=c+1|0;if((e|0)!=(c|0)){continue}break}}h=y+(e<<2)|0;c=0;if((s|0)>0){while(1){v[b+131196>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+131196|0,1,4)|0;d=w[b+131196|0];f=h+(c<<2)|0;if(x[a+25204>>1]!=18761){d=w[b+131199|0]|(w[b+131197|0]<<16|d<<24|w[b+131198|0]<<8)}else{d=d|w[b+131197|0]<<8|w[b+131198|0]<<16|w[b+131199|0]<<24}v[f>>2]=d;c=c+1|0;if((s|0)!=(c|0)){continue}break}}J=h+(s<<2)|0;c=0;if((e|0)>0){while(1){u[b+131196>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+131196|0,1,2)|0;d=w[b+131196|0];f=J+(c<<1)|0;if(x[a+25204>>1]==18761){d=d|w[b+131197|0]<<8}else{d=w[b+131197|0]|d<<8}u[f>>1]=d;c=c+1|0;if((e|0)!=(c|0)){continue}break}}c=0;if((s|0)>0){d=J+(e<<1)|0;while(1){u[b+131196>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+131196|0,1,2)|0;h=w[b+131196|0];e=d+(c<<1)|0;if(x[a+25204>>1]!=18761){f=w[b+131197|0]|h<<8}else{f=h|w[b+131197|0]<<8}u[e>>1]=f;c=c+1|0;if((s|0)!=(c|0)){continue}break}}k=x[a+26308>>1];if(k){U=y-4|0;M=C(i|0);c=x[a+26310>>1];j=0;while(1){f=c&65535;c=0;if(f){K=j<<1&14;N=v[a+26028>>2];q=v[a+26352>>2];r=0;while(1){g=C(C(M*C(r>>>0))/C(x[a+26306>>1]));if(C(D(g))>1];i=(q+(B(x[a+26320>>1],j>>>c|0)+(r>>>c|0)<<3)|0)+((N>>>((K|r&1)<<1)&3)<<1)|0;H=C(+x[i>>1]*.5);y:{z:{A:{if((o|0)>=1){m=B(h,o);e=B(o,h+1|0);f=e-1|0;c=0;B:{C:{while(1){d=c+m|0;s=J+(d<<1)|0;if(H>1])){break C}c=c+1|0;if((o|0)!=(c|0)){continue}break}d=f;break B}if(!c){break B}if((c|0)!=(o|0)){break A}}c=d-1|0;g=C(0);break z}A=C(C(z[U>>2]*C(0))+z[y>>2]);g=A;break y}c=x[s>>1];g=C(C(c>>>0)-H);f=c;c=d-1|0;g=C(g/C(f-x[J+(c<<1)>>1]|0))}g=C(C(g*z[y+(c<<2)>>2])+C(C(C(1)-g)*z[y+(d<<2)>>2]));f=B(o,h+2|0)-1|0;c=0;D:{E:{F:{G:{while(1){d=c+e|0;h=J+(d<<1)|0;if(H>1])){break G}c=c+1|0;if((o|0)!=(c|0)){continue}break}d=f;break F}if(!c){break F}if((c|0)!=(o|0)){break E}}c=d-1|0;A=C(0);break D}c=x[h>>1];A=C(C(c>>>0)-H);f=c;c=d-1|0;A=C(A/C(f-x[J+(c<<1)>>1]|0))}A=C(C(A*z[y+(c<<2)>>2])+C(C(C(1)-A)*z[y+(d<<2)>>2]))}g=C(C(C(C(C(C(1)-O)*g)+C(O*A))*C(x[a+26312>>1]+j>>>0))+H);g=C(g+g);H:{if(C(D(g))>1]=(c|0)>0?c:0;c=x[a+26310>>1];r=r+1|0;if(c>>>0>r>>>0){continue}break}k=x[a+26308>>1]}j=j+1|0;if(j>>>0<(k&65535)>>>0){continue}break}}$a(y)}Ma=b+131200|0;return}f=v[a+190640>>2];I:{if(f){c=v[a+25208>>2];v[b+20>>2]=40728;v[b+16>>2]=c;Dc(f,4338,b+16|0);break I}c=v[a+25208>>2];v[b+4>>2]=40728;v[b>>2]=c;vb(v[249419],4338,b)}tc(a+190484|0,1);L()}function XRa(a,b){a=a|0;b=b|0;var 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;i=ab(24);v[i>>2]=354280;v[i+4>>2]=1;v[i+20>>2]=1;c=i+12|0;v[c>>2]=0;v[c+4>>2]=0;v[i+8>>2]=c;c=v[290698];if(!(!c|(c|0)==(i|0))){Qa[v[v[c>>2]+12>>2]](c)|0}v[290698]=i;i=ab(8);v[i>>2]=0;e=ab(120);v[e+4>>2]=1;v[e>>2]=353828;v[e>>2]=361632;m=e+8|0;v[m+4>>2]=1;v[m>>2]=353432;c=m+12|0;v[c>>2]=0;v[c+4>>2]=0;v[m>>2]=360652;v[m+8>>2]=c;v[e+32>>2]=1;v[e+28>>2]=353572;h=e+40|0;v[h>>2]=0;v[h+4>>2]=0;v[e+28>>2]=360884;c=e+52|0;v[e+56>>2]=c;v[e+36>>2]=h;v[e+60>>2]=0;v[e+64>>2]=-1;v[e+48>>2]=0;v[e+52>>2]=c;v[e+72>>2]=1;v[e+68>>2]=353792;v[e+76>>2]=0;v[e+80>>2]=0;v[e+68>>2]=362100;v[e+84>>2]=0;v[e+88>>2]=0;v[e+92>>2]=0;v[e+96>>2]=0;v[e+116>>2]=0;c=e+108|0;v[e+112>>2]=c;v[e+100>>2]=0;v[e+104>>2]=0;v[e+48>>2]=m;v[e+108>>2]=c;v[i+4>>2]=e;c=0;a:{if(Cc(a,326422)){break a}b:{if(w[a|0]!=65|(b|0)<8|(w[a+1|0]!=84|w[a+2|0]!=38)){break b}if(w[a+3|0]!=84|w[a+4|0]!=70|(w[a+5|0]!=79|w[a+6|0]!=82)){break b}c=1;if(w[a+7|0]==77){break a}}c=2}j=Ma-48|0;Ma=j;m=i;c:{d:{e:{f:{switch(c|0){case 1:c=ab(8);h=v[i+4>>2];v[c>>2]=969040;e=ab(20);v[e>>2]=0;v[e+4>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;qb(e+12|0,0);v[e+16>>2]=h;v[c+4>>2]=e;break e;case 2:c=ab(16);l=v[i+4>>2];e=Ma-16|0;Ma=e;v[c+4>>2]=-1;v[c+8>>2]=-1;v[c>>2]=960464;g=ab(16);v[g>>2]=l;v[g+12>>2]=0;h=Qa[v[v[l>>2]+48>>2]](l)|0;v[g+4>>2]=h;k=Fm();q=k,r=Qa[v[v[l>>2]+24>>2]](l)|0,p=v[v[k>>2]+24>>2],Qa[p](q|0,r|0);Qa[v[v[h>>2]+68>>2]](h,k);v[e+12>>2]=16;Qa[v[v[k>>2]+20>>2]](k,e+12|0);v[g+8>>2]=0;v[c+12>>2]=g;Ma=e+16|0;break e;default:c=v[i>>2];if(c){break d}c=0;break c;case 0:break f}}k=ab(12);n=v[i+4>>2];o=Ma-16|0;Ma=o;v[k>>2]=875700;c=ab(40);v[c+8>>2]=0;v[c+12>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[k+4>>2]=c;t[c+27|0]=0;t[c+15|0]=0;v[c+16>>2]=0;v[c+32>>2]=0;v[c>>2]=0;v[c+4>>2]=0;h=ab(464);f=h;c=ab(8);Aj(c,1031808,315);v[257846]=c;c=ab(8);Aj(c,1035600,315);v[257853]=c;c=ab(8);Aj(c,1039392,315);v[257860]=c;c=ab(8);Aj(c,1043184,315);v[257867]=c;c=ab(8);Aj(c,1046976,315);v[257874]=c;c=ab(8);Aj(c,1050768,316);v[257881]=c;c=ab(8);Aj(c,1054560,315);v[257888]=c;c=ab(8);Aj(c,1058352,315);v[257895]=c;c=ab(8);Aj(c,1062144,190);v[257902]=c;c=ab(8);Aj(c,1064432,315);v[257909]=c;c=ab(8);Aj(c,1068224,315);v[257916]=c;c=ab(8);Aj(c,1072016,315);v[257923]=c;c=ab(8);Aj(c,1075808,315);v[257930]=c;c=ab(8);Aj(c,1079600,202);v[257937]=c;c=ab(12);IU(c);v[f>>2]=c;c=255;while(1){e=c;c=v[(c<<2)+1082096>>2];if(c){GU(v[f>>2],c,e)}c=e-1|0;if(e){continue}break}p=f,r=hn(aH(),273492),v[p+4>>2]=r;c=ab(16);Wg(c,1);v[f+8>>2]=c;c=ab(8);Rb(c,303548);ti(v[f+8>>2],Rb(ab(8),310389),c);c=ab(12);IU(c);v[f+12>>2]=c;c=ab(16);Wg(c,1);v[f+16>>2]=c;c=ab(16);Wg(c,1);v[f+20>>2]=c;c=ab(16);Wg(c,0);v[f+24>>2]=c;c=ab(16);Wg(c,1);v[f+28>>2]=c;c=ab(16);Wg(c,1);v[f+32>>2]=c;c=ab(16);hc(c);v[f+36>>2]=c;g=ab(1036);d=g;c=0;while(1){v[d+(c<<2)>>2]=c;e=c|1;v[d+(e<<2)>>2]=e;e=c|2;v[d+(e<<2)>>2]=e;e=c|3;v[d+(e<<2)>>2]=e;e=c|4;v[d+(e<<2)>>2]=e;e=c|5;v[d+(e<<2)>>2]=e;e=c|6;v[d+(e<<2)>>2]=e;e=c|7;v[d+(e<<2)>>2]=e;c=c+8|0;if((c|0)!=256){continue}break}v[d+1032>>2]=0;v[d+1024>>2]=0;v[d+1028>>2]=0;v[f+40>>2]=g;c=ab(16);Wg(c,1);v[f+44>>2]=c;c=ab(16);hc(c);v[f+48>>2]=c;c=ab(16);Wg(c,1);v[f+52>>2]=c;c=ab(16);Wg(c,1);v[f+56>>2]=c;e=ab(4);c=ab(16);hc(c);v[e>>2]=c;v[f+64>>2]=612;v[f+68>>2]=792;v[f+60>>2]=e;v[f+112>>2]=2;v[f+104>>2]=1;v[f+108>>2]=0;v[f+96>>2]=0;v[f+100>>2]=1;v[f+88>>2]=1;v[f+92>>2]=0;v[f+80>>2]=612;v[f+84>>2]=792;v[f+72>>2]=0;v[f+76>>2]=0;c=ab(16);Wg(c,1);v[f+116>>2]=c;c=ab(16);hc(c);v[f+120>>2]=c;c=ab(16);hc(c);v[f+144>>2]=0;v[f+148>>2]=0;v[f+136>>2]=1;v[f+140>>2]=1;v[f+128>>2]=1;v[f+132>>2]=1;v[f+124>>2]=c;v[f+152>>2]=0;v[f+156>>2]=0;v[f+192>>2]=0;v[f+196>>2]=0;v[f+184>>2]=0;v[f+188>>2]=2e7;v[f+176>>2]=0;v[f+180>>2]=1081262080;v[f+168>>2]=0;v[f+172>>2]=0;v[f+160>>2]=1;v[f+164>>2]=0;c=ab(8);Rb(c,v[274894]);v[f+212>>2]=1;v[f+204>>2]=0;v[f+208>>2]=1;v[f+200>>2]=c;c=ab(8);Rb(c,316179);v[f+220>>2]=0;v[f+216>>2]=c;c=ab(8);Rb(c,234197);v[f+236>>2]=0;v[f+228>>2]=1;v[f+232>>2]=1;v[f+224>>2]=c;c=ab(8);Rb(c,240234);v[f+336>>2]=1;v[f+340>>2]=0;v[f+328>>2]=0;v[f+332>>2]=1;v[f+320>>2]=0;v[f+324>>2]=0;v[f+312>>2]=0;v[f+316>>2]=1072693248;v[f+304>>2]=0;v[f+308>>2]=0;v[f+296>>2]=0;v[f+300>>2]=1072693248;v[f+292>>2]=-1;v[f+284>>2]=0;v[f+288>>2]=-1;v[f+276>>2]=0;v[f+280>>2]=1;v[f+268>>2]=1;v[f+272>>2]=1;v[f+260>>2]=1;v[f+264>>2]=0;v[f+252>>2]=10;v[f+256>>2]=1;v[f+244>>2]=1500;v[f+248>>2]=1500;v[f+240>>2]=c;c=ab(8);Rb(c,273349);v[f+344>>2]=c;c=ab(8);Rb(c,325197);v[f+348>>2]=c;c=ab(8);Rb(c,326148);v[f+352>>2]=c;c=ab(8);Rb(c,273375);v[f+360>>2]=0;v[f+364>>2]=0;v[f+356>>2]=c;v[f+368>>2]=0;v[f+372>>2]=0;v[f+384>>2]=1;v[f+376>>2]=1;v[f+380>>2]=0;c=ab(16);Wg(c,1);v[f+388>>2]=c;c=ab(16);g=hc(c);v[f+392>>2]=c;d=ab(16);v[d+8>>2]=0;v[d>>2]=8193;v[d+4>>2]=0;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,246948);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=8193;v[d+4>>2]=1;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,246976);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=8449;v[d+4>>2]=0;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,246963);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=8449;v[d+4>>2]=1;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,246963);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=8961;v[d+4>>2]=0;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,286317);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=9217;v[d+4>>2]=0;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,279773);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=8705;v[d+4>>2]=0;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,260512);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=16;v[d>>2]=8706;v[d+4>>2]=0;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,302418);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=8194;v[d+4>>2]=0;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,253223);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=8450;v[d+4>>2]=0;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,253232);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=8195;v[d+4>>2]=0;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,225072);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=8196;v[d+4>>2]=0;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,331412);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=8197;v[d+4>>2]=0;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,331433);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=8198;v[d+4>>2]=0;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,331369);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=8199;v[d+4>>2]=0;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,331353);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=8196;v[d+4>>2]=2;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,253255);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=8197;v[d+4>>2]=2;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,225578);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=111;v[d+4>>2]=2;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,249308);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=114;v[d+4>>2]=2;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,291682);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=102;v[d+4>>2]=2;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,287494);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=103;v[d+4>>2]=2;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,225333);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=99;v[d+4>>2]=2;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,219478);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=112;v[d+4>>2]=2;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,228443);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=48;v[d+4>>2]=2;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,331456);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=43;v[d+4>>2]=2;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,253255);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=61;v[d+4>>2]=2;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,253255);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=45;v[d+4>>2]=2;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,225578);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=115;v[d+4>>2]=2;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,237039);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=116;v[d+4>>2]=2;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,302411);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=110;v[d+4>>2]=2;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,222388);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=119;v[d+4>>2]=2;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,231500);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=108;v[d+4>>2]=2;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,283994);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=113;v[d+4>>2]=2;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,231495);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=4096;v[d+4>>2]=2;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,302445);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=4096;v[d+4>>2]=3;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,302437);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=63;v[d+4>>2]=2;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,242371);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=4107;v[d+4>>2]=4;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,286392);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=4108;v[d+4>>2]=4;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,286337);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=4103;v[d+4>>2]=2;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,331473);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=4103;v[d+4>>2]=0;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,232776);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=4104;v[d+4>>2]=2;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,283173);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=4104;v[d+4>>2]=0;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,232157);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=4105;v[d+4>>2]=0;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,243209);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=4106;v[d+4>>2]=0;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,244516);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=4105;v[d+4>>2]=2;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,283155);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=4106;v[d+4>>2]=2;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,283164);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=256;v[d>>2]=4105;v[d+4>>2]=2;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,258710);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=256;v[d>>2]=4106;v[d+4>>2]=2;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,258727);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=1;v[d>>2]=4100;v[d+4>>2]=0;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,283983);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=4107;v[d+4>>2]=0;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,331369);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=4108;v[d+4>>2]=0;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,331353);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=4109;v[d+4>>2]=0;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,331384);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=4110;v[d+4>>2]=0;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,331397);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=4109;v[d+4>>2]=2;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,283155);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=4110;v[d+4>>2]=2;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,283164);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=256;v[d>>2]=4109;v[d+4>>2]=2;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,258710);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=256;v[d>>2]=4110;v[d+4>>2]=2;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,258727);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=32;v[d+4>>2]=0;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,244516);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=103;v[d+4>>2]=0;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,255362);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=122;v[d+4>>2]=0;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,283186);Ib(e,c);Ib(g,d);g=v[f+392>>2];d=ab(16);v[d+8>>2]=0;v[d>>2]=119;v[d+4>>2]=0;c=ab(16);e=hc(c);v[d+12>>2]=c;c=ab(8);Rb(c,269370);Ib(e,c);Ib(g,d);c=ab(16);hc(c);v[f+396>>2]=c;c=hn(aH(),276449);v[f+412>>2]=0;v[f+404>>2]=0;v[f+408>>2]=0;v[f+400>>2]=c;c=ab(8);WV(c);v[f+416>>2]=c;c=ab(8);WV(c);v[f+420>>2]=c;c=ab(16);v[c>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[f+424>>2]=c;c=ab(16);v[c>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[f+428>>2]=c;c=336810;while(1){GU(v[f+12>>2],c,v[(l<<3)+889072>>2]);l=l+1|0;c=v[(l<<3)+889076>>2];if(c){continue}break}e=ab(32);c=$y(e,324199,1099584,61);ti(v[f+24>>2],v[c>>2],e);e=ab(32);c=$y(e,314601,1100560,131);ti(v[f+24>>2],v[c>>2],e);e=ab(32);c=$y(e,258585,1102656,121);ti(v[f+24>>2],v[c>>2],e);e=ab(32);c=$y(e,234690,1104592,30);ti(v[f+24>>2],v[c>>2],e);e=ab(32);c=jU(e,314541,3187);ti(v[f+24>>2],v[c>>2],e);e=ab(32);c=jU(e,320601,3188);ti(v[f+24>>2],v[c>>2],e);v[h+448>>2]=0;v[h+452>>2]=0;v[h+440>>2]=0;v[h+444>>2]=0;v[h+432>>2]=0;v[h+436>>2]=0;v[291134]=f;e=ab(16);v[e+4>>2]=0;v[e+8>>2]=0;h=e+4|0;v[e>>2]=h;p1(e+12|0);c=Ma-16|0;Ma=c;Ma=c+16|0;yv(e,v[e+4>>2]);v[e>>2]=h;v[e+4>>2]=0;v[e+8>>2]=0;c=v[k+4>>2];v[c+28>>2]=n;v[c+36>>2]=e;c=Qa[v[v[n>>2]+48>>2]](n)|0;v[v[k+4>>2]+32>>2]=c;h=Fm();r=h,q=Qa[v[v[n>>2]+24>>2]](n)|0,p=v[v[h>>2]+24>>2],Qa[p](r|0,q|0);c=v[v[k+4>>2]+32>>2];Qa[v[v[c>>2]+68>>2]](c,h);v[o+12>>2]=1;Qa[v[v[h>>2]+20>>2]](h,o+12|0);v[v[291134]+456>>2]=v[v[k+4>>2]+32>>2];v[k+8>>2]=0;Ma=o+16|0;c=k}v[m>>2]=c}t[j+43|0]=0;v[j+32>>2]=0;t[j+27|0]=0;v[j+16>>2]=0;t[j+11|0]=0;v[j>>2]=0;c=Qa[v[v[c>>2]+12>>2]](c,a,b,j+32|0,j+16|0,j)|0;if(t[j+11|0]<=-1){$a(v[j>>2])}if(t[j+27|0]<=-1){$a(v[j+16>>2])}if(t[j+43|0]>-1){break c}$a(v[j+32>>2])}Ma=j+48|0;if(!c){a=v[i>>2];if(a){Qa[v[v[a>>2]+4>>2]](a);v[i>>2]=0}a=v[i+4>>2];if(a){Qa[v[v[a>>2]+4>>2]](a)}$a(i);i=0}return i|0}function dM(a){var 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;n=Ma-16|0;Ma=n;p=gb(120);a:{if(!p){p=0;break a}b=gb(12);b:{if(b){v[b+8>>2]=0;v[b>>2]=0;v[b+4>>2]=0;c:{d:{e:{d=gb(256);if(!d){a=v[b+8>>2];if(!a){break c}c=v[b>>2];if((c|0)<1){break d}while(1){d=v[a+4>>2];a=v[d>>2];v[d>>2]=a-1;if((a|0)<=1){a=v[v[d+8>>2]>>2];if(a){Qa[a|0](d)}$a(d);c=v[b>>2]}d=c-1|0;if((d|0)<=0){v[b>>2]=d;break e}a=v[b+8>>2];id(a,a+8|0,d<<3);a=v[b>>2];c=a-1|0;v[b>>2]=c;if((a|0)<2){break e}a=v[b+8>>2];continue}}v[b+4>>2]=32;v[b+8>>2]=d;v[p+112>>2]=b;k=eb(p,0,112);d=12147;c=v[a+8>>2];f:{if(c&7){break f}e=a;j=a;g:{l=a- -64|0;a=v[l>>2];if((a|0)>=0&(a|0)<=v[e+60>>2]){break g}a=e;b=v[a+28>>2];v[a+28>>2]=b-1;h:{if((b|0)>=1){v[e+60>>2]=v[e+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;i=w[b|0];break h}i=Eb(a,1);if((i|0)==-1){break f}c=v[j+8>>2]}if(c&7){break f}h=a;b=v[l>>2];if((b|0)>=0&(b|0)<=v[e+60>>2]){break g}b=v[h+28>>2];v[h+28>>2]=b-1;i:{if((b|0)>=1){v[e+60>>2]=v[e+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;f=w[b|0];break i}f=Eb(a,1);if((f|0)==-1){break f}c=v[j+8>>2]}if(c&7){break f}b=v[l>>2];if((b|0)>=0&(b|0)<=v[e+60>>2]){break g}b=v[h+28>>2];v[h+28>>2]=b-1;j:{if((b|0)>=1){v[e+60>>2]=v[e+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;m=w[b|0];break j}m=Eb(a,1);if((m|0)==-1){break f}c=v[j+8>>2]}if(c&7){break f}b=v[l>>2];if((b|0)>=0&(b|0)<=v[e+60>>2]){break g}c=v[h+28>>2];v[h+28>>2]=c-1;k:{if((c|0)>=1){v[e+60>>2]=v[e+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;c=w[c|0];break k}c=Eb(a,1);if((c|0)==-1){break f}}v[k>>2]=(f<<8|i<<16|m)<<8|c;c=v[j+8>>2];if(c&7){break f}l:{b=v[l>>2];if((b|0)>=0&(b|0)<=v[e+60>>2]){break l}b=v[h+28>>2];v[h+28>>2]=b-1;m:{if((b|0)>=1){v[e+60>>2]=v[e+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;i=w[b|0];break m}i=Eb(a,1);if((i|0)==-1){break f}c=v[j+8>>2]}if(c&7){break f}b=v[l>>2];if((b|0)>=0&(b|0)<=v[e+60>>2]){break l}b=v[h+28>>2];v[h+28>>2]=b-1;n:{if((b|0)>=1){v[e+60>>2]=v[e+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;f=w[b|0];break n}f=Eb(a,1);if((f|0)==-1){break f}c=v[j+8>>2]}if(c&7){break f}b=v[l>>2];if((b|0)>=0&(b|0)<=v[e+60>>2]){break l}b=v[h+28>>2];v[h+28>>2]=b-1;o:{if((b|0)>=1){v[e+60>>2]=v[e+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;m=w[b|0];break o}m=Eb(a,1);if((m|0)==-1){break f}c=v[j+8>>2]}if(c&7){break f}b=v[l>>2];if((b|0)>=0&(b|0)<=v[e+60>>2]){break l}c=v[h+28>>2];v[h+28>>2]=c-1;p:{if((c|0)>=1){v[e+60>>2]=v[e+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;c=w[c|0];break p}c=Eb(a,1);if((c|0)==-1){break f}}v[k+4>>2]=(f<<8|i<<16|m)<<8|c;c=v[j+8>>2];if(c&7){break f}q:{b=v[l>>2];if((b|0)>=0&(b|0)<=v[e+60>>2]){break q}b=v[h+28>>2];v[h+28>>2]=b-1;r:{if((b|0)>=1){v[e+60>>2]=v[e+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;i=w[b|0];break r}i=Eb(a,1);if((i|0)==-1){break f}c=v[j+8>>2]}if(c&7){break f}b=v[l>>2];if((b|0)>=0&(b|0)<=v[e+60>>2]){break q}b=v[h+28>>2];v[h+28>>2]=b-1;s:{if((b|0)>=1){v[e+60>>2]=v[e+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;f=w[b|0];break s}f=Eb(a,1);if((f|0)==-1){break f}c=v[j+8>>2]}if(c&7){break f}b=v[l>>2];if((b|0)>=0&(b|0)<=v[e+60>>2]){break q}b=v[h+28>>2];v[h+28>>2]=b-1;t:{if((b|0)>=1){v[e+60>>2]=v[e+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;m=w[b|0];break t}m=Eb(a,1);if((m|0)==-1){break f}c=v[j+8>>2]}if(c&7){break f}b=v[l>>2];if((b|0)>=0&(b|0)<=v[e+60>>2]){break q}c=v[h+28>>2];v[h+28>>2]=c-1;u:{if((c|0)>=1){v[e+60>>2]=v[e+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;c=w[c|0];break u}c=Eb(a,1);if((c|0)==-1){break f}}v[k+8>>2]=(f<<8|i<<16|m)<<8|c;c=v[j+8>>2];if(c&7){break f}v:{b=v[l>>2];if((b|0)>=0&(b|0)<=v[e+60>>2]){break v}b=v[h+28>>2];v[h+28>>2]=b-1;w:{if((b|0)>=1){v[e+60>>2]=v[e+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;i=w[b|0];break w}i=Eb(a,1);if((i|0)==-1){break f}c=v[j+8>>2]}if(c&7){break f}b=v[l>>2];if((b|0)>=0&(b|0)<=v[e+60>>2]){break v}b=v[h+28>>2];v[h+28>>2]=b-1;x:{if((b|0)>=1){v[e+60>>2]=v[e+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;f=w[b|0];break x}f=Eb(a,1);if((f|0)==-1){break f}c=v[j+8>>2]}if(c&7){break f}b=v[l>>2];if((b|0)>=0&(b|0)<=v[e+60>>2]){break v}b=v[h+28>>2];v[h+28>>2]=b-1;y:{if((b|0)>=1){v[e+60>>2]=v[e+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;m=w[b|0];break y}m=Eb(a,1);if((m|0)==-1){break f}c=v[j+8>>2]}if(c&7){break f}b=v[l>>2];if((b|0)>=0&(b|0)<=v[e+60>>2]){break v}c=v[h+28>>2];v[h+28>>2]=c-1;z:{if((c|0)>=1){v[e+60>>2]=v[e+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;c=w[c|0];break z}c=Eb(a,1);if((c|0)==-1){break f}}v[k+12>>2]=(f<<8|i<<16|m)<<8|c;if(qh(a,4,n+8|0)){break f}v[k+16>>2]=v[n+8>>2];if(qh(a,4,n+8|0)){break f}v[k+20>>2]=v[n+8>>2];g=Ma-16|0;Ma=g;c=-1;b=v[a+8>>2];A:{if(b&7){break A}B:{c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break B}c=-1;f=v[a+28>>2];v[a+28>>2]=f-1;C:{if((f|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;i=w[c|0];break C}i=Eb(a,1);if((i|0)==-1){break A}b=v[a+8>>2]}c=-1;if(b&7){break A}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break B}c=-1;b=v[a+28>>2];v[a+28>>2]=b-1;D:{if((b|0)>=1){v[a+60>>2]=v[a+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;b=w[b|0];break D}b=Eb(a,1);if((b|0)==-1){break A}}v[k+24>>2]=i<<8|b;b=v[a+8>>2];if(b&7){break A}E:{c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break E}c=-1;f=v[a+28>>2];v[a+28>>2]=f-1;F:{if((f|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;i=w[c|0];break F}i=Eb(a,1);if((i|0)==-1){break A}b=v[a+8>>2]}c=-1;if(b&7){break A}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break E}c=-1;b=v[a+28>>2];v[a+28>>2]=b-1;G:{if((b|0)>=1){v[a+60>>2]=v[a+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;b=w[b|0];break G}b=Eb(a,1);if((b|0)==-1){break A}}v[k+28>>2]=i<<8|b;b=v[a+8>>2];if(b&7){break A}H:{c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break H}c=-1;f=v[a+28>>2];v[a+28>>2]=f-1;I:{if((f|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;i=w[c|0];break I}i=Eb(a,1);if((i|0)==-1){break A}b=v[a+8>>2]}c=-1;if(b&7){break A}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break H}c=-1;b=v[a+28>>2];v[a+28>>2]=b-1;J:{if((b|0)>=1){v[a+60>>2]=v[a+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;b=w[b|0];break J}b=Eb(a,1);if((b|0)==-1){break A}}v[k+32>>2]=i<<8|b;b=v[a+8>>2];if(b&7){break A}K:{c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break K}c=-1;f=v[a+28>>2];v[a+28>>2]=f-1;L:{if((f|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;i=w[c|0];break L}i=Eb(a,1);if((i|0)==-1){break A}b=v[a+8>>2]}c=-1;if(b&7){break A}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break K}c=-1;b=v[a+28>>2];v[a+28>>2]=b-1;M:{if((b|0)>=1){v[a+60>>2]=v[a+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;b=w[b|0];break M}b=Eb(a,1);if((b|0)==-1){break A}}v[k+36>>2]=i<<8|b;b=v[a+8>>2];if(b&7){break A}N:{c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break N}c=-1;f=v[a+28>>2];v[a+28>>2]=f-1;O:{if((f|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;i=w[c|0];break O}i=Eb(a,1);if((i|0)==-1){break A}b=v[a+8>>2]}c=-1;if(b&7){break A}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break N}c=-1;b=v[a+28>>2];v[a+28>>2]=b-1;P:{if((b|0)>=1){v[a+60>>2]=v[a+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;b=w[b|0];break P}b=Eb(a,1);if((b|0)==-1){break A}}v[k+40>>2]=i<<8|b;if(qh(a,2,g+8|0)){break A}v[k+44>>2]=v[g+8>>2];c=0;break A}v[a+8>>2]=b|4;c=-1;break A}v[a+8>>2]=b|4;c=-1;break A}v[a+8>>2]=b|4;c=-1;break A}v[a+8>>2]=b|4;c=-1;break A}v[a+8>>2]=b|4;c=-1}Ma=g+16|0;if(c){break f}if(qh(a,4,n+8|0)){break f}v[k+48>>2]=v[n+8>>2];if(qh(a,4,n+8|0)){break f}v[k+52>>2]=v[n+8>>2];if(qh(a,4,n+8|0)){break f}v[k+56>>2]=v[n+8>>2];if(qh(a,4,n+8|0)){break f}v[k+60>>2]=v[n+8>>2];if(qh(a,4,n+8|0)){break f}v[k+64>>2]=v[n+8>>2];if(qh(a,8,n+8|0)){break f}c=v[n+12>>2];v[k+72>>2]=v[n+8>>2];v[k+76>>2]=c;if(qh(a,4,n+8|0)){break f}v[k+80>>2]=v[n+8>>2];b=-1;g=a;a=k+84|0;Q:{if(Xf(g,a)){break Q}if(Xf(g,a+4|0)){break Q}b=Xf(g,a+8|0)?-1:0}if(b){break f}if(qh(g,4,n+8|0)){break f}v[k+96>>2]=v[n+8>>2];if((Xt(g,44)|0)!=44){break f}a=v[k+108>>2];if(a){$a(a);v[k+108>>2]=0}d=v[j+8>>2];R:{S:{if(d&7){break S}T:{a=v[l>>2];if((a|0)>=0&(a|0)<=v[e+60>>2]){break T}a=v[h+28>>2];v[h+28>>2]=a-1;U:{if((a|0)>=1){v[e+60>>2]=v[e+60>>2]+1;a=v[g+24>>2];v[g+24>>2]=a+1;c=w[a|0];break U}c=Eb(g,1);if((c|0)==-1){break S}d=v[j+8>>2]}if(d&7){break S}a=v[l>>2];if((a|0)>=0&(a|0)<=v[e+60>>2]){break T}a=v[h+28>>2];v[h+28>>2]=a-1;V:{if((a|0)>=1){v[e+60>>2]=v[e+60>>2]+1;a=v[g+24>>2];v[g+24>>2]=a+1;i=w[a|0];break V}i=Eb(g,1);if((i|0)==-1){break S}d=v[j+8>>2]}if(d&7){break S}a=v[l>>2];if((a|0)>=0&(a|0)<=v[e+60>>2]){break T}a=v[h+28>>2];v[h+28>>2]=a-1;W:{if((a|0)>=1){v[e+60>>2]=v[e+60>>2]+1;a=v[g+24>>2];v[g+24>>2]=a+1;f=w[a|0];break W}f=Eb(g,1);if((f|0)==-1){break S}d=v[j+8>>2]}if(d&7){break S}a=v[l>>2];if((a|0)>=0&(a|0)<=v[e+60>>2]){break T}a=v[h+28>>2];v[h+28>>2]=a-1;X:{if((a|0)>=1){v[e+60>>2]=v[e+60>>2]+1;a=v[g+24>>2];v[g+24>>2]=a+1;d=w[a|0];break X}d=Eb(g,1);if((d|0)==-1){break S}}a=(i<<8|c<<16|f)<<8|d;v[k+104>>2]=a;c=gb(B(a,20));v[k+108>>2]=c;if(!c){break R}d=v[k+104>>2];if((d|0)>=1){i=0;while(1){d=v[j+8>>2];if(d&7){break S}a=v[l>>2];if((a|0)>=0&(a|0)<=v[e+60>>2]){break T}a=v[h+28>>2];v[h+28>>2]=a-1;Y:{if((a|0)>=1){v[e+60>>2]=v[e+60>>2]+1;a=v[g+24>>2];v[g+24>>2]=a+1;f=w[a|0];break Y}f=Eb(g,1);if((f|0)==-1){break S}d=v[j+8>>2]}if(d&7){break S}a=v[l>>2];if((a|0)>=0&(a|0)<=v[e+60>>2]){break T}a=v[h+28>>2];v[h+28>>2]=a-1;Z:{if((a|0)>=1){v[e+60>>2]=v[e+60>>2]+1;a=v[g+24>>2];v[g+24>>2]=a+1;m=w[a|0];break Z}m=Eb(g,1);if((m|0)==-1){break S}d=v[j+8>>2]}if(d&7){break S}a=v[l>>2];if((a|0)>=0&(a|0)<=v[e+60>>2]){break T}a=v[h+28>>2];v[h+28>>2]=a-1;_:{if((a|0)>=1){v[e+60>>2]=v[e+60>>2]+1;a=v[g+24>>2];v[g+24>>2]=a+1;o=w[a|0];break _}o=Eb(g,1);if((o|0)==-1){break S}d=v[j+8>>2]}if(d&7){break S}a=v[l>>2];if((a|0)>=0&(a|0)<=v[e+60>>2]){break T}a=v[h+28>>2];v[h+28>>2]=a-1;$:{if((a|0)>=1){v[e+60>>2]=v[e+60>>2]+1;a=v[g+24>>2];v[g+24>>2]=a+1;d=w[a|0];break $}d=Eb(g,1);if((d|0)==-1){break S}}v[c>>2]=(m<<8|f<<16|o)<<8|d;d=v[j+8>>2];if(d&7){break S}a=v[l>>2];if((a|0)>=0&(a|0)<=v[e+60>>2]){break T}a=v[h+28>>2];v[h+28>>2]=a-1;aa:{if((a|0)>=1){v[e+60>>2]=v[e+60>>2]+1;a=v[g+24>>2];v[g+24>>2]=a+1;f=w[a|0];break aa}f=Eb(g,1);if((f|0)==-1){break S}d=v[j+8>>2]}if(d&7){break S}a=v[l>>2];if((a|0)>=0&(a|0)<=v[e+60>>2]){break T}a=v[h+28>>2];v[h+28>>2]=a-1;ba:{if((a|0)>=1){v[e+60>>2]=v[e+60>>2]+1;a=v[g+24>>2];v[g+24>>2]=a+1;m=w[a|0];break ba}m=Eb(g,1);if((m|0)==-1){break S}d=v[j+8>>2]}if(d&7){break S}a=v[l>>2];if((a|0)>=0&(a|0)<=v[e+60>>2]){break T}a=v[h+28>>2];v[h+28>>2]=a-1;ca:{if((a|0)>=1){v[e+60>>2]=v[e+60>>2]+1;a=v[g+24>>2];v[g+24>>2]=a+1;o=w[a|0];break ca}o=Eb(g,1);if((o|0)==-1){break S}d=v[j+8>>2]}if(d&7){break S}a=v[l>>2];if((a|0)>=0&(a|0)<=v[e+60>>2]){break T}a=v[h+28>>2];v[h+28>>2]=a-1;da:{if((a|0)>=1){v[e+60>>2]=v[e+60>>2]+1;a=v[g+24>>2];v[g+24>>2]=a+1;d=w[a|0];break da}d=Eb(g,1);if((d|0)==-1){break S}}v[c+4>>2]=(m<<8|f<<16|o)<<8|d;d=v[j+8>>2];if(d&7){break S}a=v[l>>2];if((a|0)>=0&(a|0)<=v[e+60>>2]){break T}a=v[h+28>>2];v[h+28>>2]=a-1;ea:{if((a|0)>=1){v[e+60>>2]=v[e+60>>2]+1;a=v[g+24>>2];v[g+24>>2]=a+1;f=w[a|0];break ea}f=Eb(g,1);if((f|0)==-1){break S}d=v[j+8>>2]}if(d&7){break S}a=v[l>>2];if((a|0)>=0&(a|0)<=v[e+60>>2]){break T}a=v[h+28>>2];v[h+28>>2]=a-1;fa:{if((a|0)>=1){v[e+60>>2]=v[e+60>>2]+1;a=v[g+24>>2];v[g+24>>2]=a+1;m=w[a|0];break fa}m=Eb(g,1);if((m|0)==-1){break S}d=v[j+8>>2]}if(d&7){break S}a=v[l>>2];if((a|0)>=0&(a|0)<=v[e+60>>2]){break T}a=v[h+28>>2];v[h+28>>2]=a-1;ga:{if((a|0)>=1){v[e+60>>2]=v[e+60>>2]+1;a=v[g+24>>2];v[g+24>>2]=a+1;o=w[a|0];break ga}o=Eb(g,1);if((o|0)==-1){break S}d=v[j+8>>2]}if(d&7){break S}a=v[l>>2];if((a|0)>=0&(a|0)<=v[e+60>>2]){break T}a=v[h+28>>2];v[h+28>>2]=a-1;ha:{if((a|0)>=1){v[e+60>>2]=v[e+60>>2]+1;a=v[g+24>>2];v[g+24>>2]=a+1;d=w[a|0];break ha}d=Eb(g,1);if((d|0)==-1){break S}}v[c+8>>2]=(m<<8|f<<16|o)<<8|d;c=c+20|0;d=v[k+104>>2];i=i+1|0;if((d|0)>(i|0)){continue}break}c=v[k+108>>2]}$l(c,d,20,620);r=v[k+104>>2];if((r|0)<1){break a}c=B(r,12)+132|0;o=0;d=0;a=0;i=0;ia:{ja:{ka:{while(1){la:{q=v[k+108>>2]+B(o,20)|0;b=v[q+4>>2];ma:{if((i|0)==(b|0)){if(!d){d=0;break ma}v[d>>2]=v[d>>2]+1;if(cM(k,v[q>>2],d)){break la}a=v[d>>2];v[d>>2]=a-1;if((a|0)>1){a=d;break ma}a=v[v[d+8>>2]>>2];if(a){Qa[a|0](d)}$a(d);a=d;break ma}na:{oa:{d=b-c|0;pa:{if((d|0)>=1){if((Xt(g,d)|0)==(d|0)){break pa}break ja}b=c;if((d|0)<=-1){break oa}}d=v[j+8>>2];if(d&7){break ja}c=v[l>>2];if((c|0)>=0&(c|0)<=v[e+60>>2]){break ka}c=v[h+28>>2];v[h+28>>2]=c-1;qa:{if((c|0)>=1){v[e+60>>2]=v[e+60>>2]+1;c=v[g+24>>2];v[g+24>>2]=c+1;c=w[c|0];break qa}c=Eb(g,1);if((c|0)==-1){break ja}d=v[j+8>>2]}if(d&7){break ja}f=v[l>>2];if((f|0)>=0&(f|0)<=v[e+60>>2]){break ka}f=v[h+28>>2];v[h+28>>2]=f-1;ra:{if((f|0)>=1){v[e+60>>2]=v[e+60>>2]+1;f=v[g+24>>2];v[g+24>>2]=f+1;i=w[f|0];break ra}i=Eb(g,1);if((i|0)==-1){break ja}d=v[j+8>>2]}if(d&7){break ja}f=v[l>>2];if((f|0)>=0&(f|0)<=v[e+60>>2]){break ka}f=v[h+28>>2];v[h+28>>2]=f-1;sa:{if((f|0)>=1){v[e+60>>2]=v[e+60>>2]+1;f=v[g+24>>2];v[g+24>>2]=f+1;m=w[f|0];break sa}m=Eb(g,1);if((m|0)==-1){break ja}d=v[j+8>>2]}if(d&7){break ja}f=v[l>>2];if((f|0)>=0&(f|0)<=v[e+60>>2]){break ka}d=v[h+28>>2];v[h+28>>2]=d-1;ta:{if((d|0)>=1){v[e+60>>2]=v[e+60>>2]+1;d=v[g+24>>2];v[g+24>>2]=d+1;d=w[d|0];break ta}d=Eb(g,1);if((d|0)==-1){break ja}}if((Xt(g,4)|0)==4){break na}break ja}S();L()}ua:{va:{f=v[253884];if(f){m=(c<<16|i<<8|m)<<8|d;i=1015536;d=f;c=1015536;while(1){if((d|0)==(m|0)){break va}d=v[c+28>>2];c=c+28|0;if(d){continue}break}}c=b+8|0;d=0;break ua}while(1){if((f|0)!=(m|0)){f=v[i+28>>2];i=i+28|0;if(f){continue}break b}break}d=gb(108);if(!d){break b}v[d+4>>2]=m;v[d>>2]=1;v[d+8>>2]=i+4;eb(d+12|0,0,96);a=v[q+8>>2];if(Qa[v[i+12>>2]](d,g,a-8|0)|0){break la}if(cM(k,v[q>>2],d)){break la}f=v[d>>2];v[d>>2]=f-1;c=a+b|0;a=0;if((f|0)>1){break ua}f=v[v[d+8>>2]>>2];if(f){Qa[f|0](d)}$a(d)}i=b}o=o+1|0;if((r|0)!=(o|0)){continue}break a}break}a=d;Om(k);break ia}v[j+8>>2]=d|4}Om(k);if(a){break ia}p=0;break a}d=v[a>>2];v[a>>2]=d-1;p=0;if((d|0)>1){break a}d=v[v[a+8>>2]>>2];if(d){Qa[d|0](a)}$a(a);break a}v[j+8>>2]=d|4}c=v[k+108>>2]}d=14827;if(!c){break f}$a(c);v[k+108>>2]=0;break f}v[j+8>>2]=c|4;break f}v[j+8>>2]=c|4;break f}v[j+8>>2]=c|4;break f}v[j+8>>2]=c|4}Nb(d,0);break b}a=v[b+8>>2]}$a(a)}$a(b)}v[p+112>>2]=0}Om(p);p=0}Ma=n+16|0;return p}function zF(a,b,c){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,p=0,q=0,r=0,s=0,u=0,y=0;m=Ma-32|0;Ma=m;a=v[a+12>>2];a:{if(!a){break a}bF(m+24|0,a,c);sy(v[m+24>>2]);v[v[m+24>>2]+12>>2]=0;v[m+20>>2]=0;Qa[v[v[b>>2]+16>>2]](b,m+20|0)|0;c=0;a=v[m+24>>2];if(a){v[a+4>>2]=v[a+4>>2]+1;c=v[m+24>>2]}v[m+8>>2]=c;d=Ma+-64|0;Ma=d;j=m+16|0;v[j>>2]=0;a=ab(12);v[a+8>>2]=0;v[a>>2]=969472;v[a+4>>2]=0;v[d+56>>2]=0;qb(d+56|0,a);OR(d+48|0,v[m+8>>2]);b:{c:{a=v[d+48>>2];if(a){tR(v[d+56>>2],d+48|0);a=d+40|0;pR(a,v[d+56>>2],uy(v[m+8>>2]));h=d+32|0;v[h>>2]=0;e=d+24|0;v[e>>2]=0;f=d+16|0;v[f>>2]=0;g=cm(a,-1);n=zb(g);if(n>>>0>=4294967280){break c}d:{e:{if(n>>>0>=11){k=n+16&-16;a=ab(k);v[d+8>>2]=k|-2147483648;v[d>>2]=a;v[d+4>>2]=n;break e}t[d+11|0]=n;a=d;if(!n){break d}}cb(a,g,n)}t[a+n|0]=0;UH(h,d);if(t[d+11|0]<=-1){$a(v[d>>2])}a=ab(48);v[d>>2]=a;v[d+4>>2]=10;v[d+8>>2]=-2147483636;rb(a,969156,10);v[a+40>>2]=0;Zv(h,d,e);if(t[d+11|0]<=-1){$a(v[d>>2])}a=ab(32);v[d>>2]=a;v[d+4>>2]=6;v[d+8>>2]=-2147483640;rb(a,969200,6);v[a+24>>2]=0;Zv(e,d,f);if(t[d+11|0]<=-1){$a(v[d>>2])}a=ab(48);v[d>>2]=a;v[d+4>>2]=9;v[d+8>>2]=-2147483636;rb(a,969228,9);v[a+36>>2]=0;Zv(f,d,j);if(t[d+11|0]<=-1){$a(v[d>>2])}a=v[f>>2];v[f>>2]=0;if(a){Qa[v[v[a>>2]+12>>2]](a)|0}a=v[e>>2];v[e>>2]=0;if(a){Qa[v[v[a>>2]+12>>2]](a)|0}a=v[h>>2];v[h>>2]=0;if(a){Qa[v[v[a>>2]+12>>2]](a)|0}db(d+40|0);a=v[d+48>>2]}v[d+48>>2]=0;f:{if(!a){break f}h=v[a+4>>2]-1|0;v[a+4>>2]=h;if(h){break f}h=v[a+4>>2];if(!h){v[a+4>>2]=-32767}if(!h){Qa[v[v[a>>2]+4>>2]](a)}}a=v[d+56>>2];v[d+56>>2]=0;g:{if(!a){break g}h=v[a+4>>2]-1|0;v[a+4>>2]=h;if(h){break g}h=v[a+4>>2];if(!h){v[a+4>>2]=-32767}if(!h){Qa[v[v[a>>2]+4>>2]](a)}}Ma=d- -64|0;break b}sc();L()}v[m+8>>2]=0;h:{if(!c){break h}a=v[c+4>>2]-1|0;v[c+4>>2]=a;if(a){break h}a=v[c+4>>2];if(!a){v[c+4>>2]=-32767}if(!a){Qa[v[v[c>>2]+4>>2]](c)}}a=0;g=Ma-144|0;Ma=g;MR(v[m+24>>2]);LR(v[m+24>>2]);y=KR(v[m+24>>2]);v[g+112>>2]=0;v[g+116>>2]=0;v[g+104>>2]=0;v[g+108>>2]=0;n=b;Qa[v[v[b>>2]+40>>2]](b,g+112|0)|0;Qa[v[v[b>>2]+44>>2]](b,g+104|0)|0;if(A[g+112>>3]<=0){v[g+112>>2]=0;v[g+116>>2]=1079115776}if(A[g+104>>3]<=0){v[g+104>>2]=0;v[g+108>>2]=1079115776}v[g+96>>2]=0;v[g+100>>2]=0;v[g+88>>2]=0;v[g+92>>2]=0;Qa[v[v[n>>2]+32>>2]](n,g+96|0)|0;Qa[v[v[n>>2]+24>>2]](n,g+88|0)|0;p=A[g+96>>3];if(p<=0){v[g+96>>2]=0;v[g+100>>2]=1080623104;p=200}q=A[g+88>>3];if(q<=0){v[g+88>>2]=0;v[g+92>>2]=1081262080;q=300}r=A[g+104>>3];s=A[g+112>>3];v[g+84>>2]=0;Qa[v[v[n>>2]+16>>2]](n,g+84|0)|0;i:{if(v[g+84>>2]==1){h=MR(v[m+24>>2]);b=LR(v[m+24>>2]);break i}p=s*p/25.4;j:{if(D(p)<2147483648){h=~~p;break j}h=-2147483648}p=r*q/25.4;if(D(p)<2147483648){b=~~p;break i}b=-2147483648}k=ab(B(b,h)<<2);u=g+48|0;c=u;v[c+12>>2]=0;v[c+16>>2]=0;v[c+4>>2]=1;v[c+8>>2]=8;v[c>>2]=360452;v[c+20>>2]=0;v[c+24>>2]=0;t[c+28|0]=0;v[g+120>>2]=h;v[g+24>>2]=b;v[g+40>>2]=h<<2;Uo(c,k,g+120|0,g+24|0,g+40|0);d=Ma-48|0;Ma=d;e=v[m+24>>2];c=e+8|0;k:{if(v[e+8>>2]){gf(d+40|0,e,c);break k}v[d+40>>2]=0;qb(d+40|0,0)}l:{if(v[c>>2]){Tp(d+32|0,e,c);break l}v[d+32>>2]=0;qb(d+32|0,0)}m:{if(v[c>>2]){Iu(d+24|0,e,c);break m}v[d+24>>2]=0;qb(d+24|0,0)}n:{if(v[c>>2]){Hu(d+16|0,e,c);break n}v[d+16>>2]=0;qb(d+16|0,0)}o:{if(v[c>>2]){Gu(d+8|0,e,c);break o}v[d+8>>2]=0;qb(d+8|0,0)}e=v[d+40>>2];c=0;p:{if(!e){break p}f=v[e+8>>2];c=0;if((f|0)<1){break p}e=v[e+12>>2];c=0;if((e|0)<1){break p}c=0;if(v[d+32>>2]){break p}c=0;if(v[d+8>>2]){break p}c=v[d+24>>2];q:{if(!c){break q}c=v[c+12>>2];if(c){c=v[c+4>>2]}else{c=0}if((c|0)!=(f|0)){break q}c=v[v[d+24>>2]+12>>2];if(c){j=v[c+8>>2]}else{j=0}c=1;if((e|0)==(j|0)){break p}}j=v[d+16>>2];if(!(!j|(f|0)!=x[j+10>>1])){c=1;if((e|0)==x[j+8>>1]){break p}}c=0}e=v[d+8>>2];v[d+8>>2]=0;r:{if(!e){break r}f=v[e+4>>2]-1|0;v[e+4>>2]=f;if(f){break r}f=v[e+4>>2];if(!f){v[e+4>>2]=-32767}if(!f){Qa[v[v[e>>2]+4>>2]](e)}}e=v[d+16>>2];v[d+16>>2]=0;s:{if(!e){break s}f=v[e+4>>2]-1|0;v[e+4>>2]=f;if(f){break s}f=v[e+4>>2];if(!f){v[e+4>>2]=-32767}if(!f){Qa[v[v[e>>2]+4>>2]](e)}}e=v[d+24>>2];v[d+24>>2]=0;t:{if(!e){break t}f=v[e+4>>2]-1|0;v[e+4>>2]=f;if(f){break t}f=v[e+4>>2];if(!f){v[e+4>>2]=-32767}if(!f){Qa[v[v[e>>2]+4>>2]](e)}}e=v[d+32>>2];v[d+32>>2]=0;u:{if(!e){break u}f=v[e+4>>2]-1|0;v[e+4>>2]=f;if(f){break u}f=v[e+4>>2];if(!f){v[e+4>>2]=-32767}if(!f){Qa[v[v[e>>2]+4>>2]](e)}}e=v[d+40>>2];v[d+40>>2]=0;v:{if(!e){break v}f=v[e+4>>2]-1|0;v[e+4>>2]=f;if(f){break v}f=v[e+4>>2];if(!f){v[e+4>>2]=-32767}if(!f){Qa[v[v[e>>2]+4>>2]](e)}}Ma=d+48|0;w:{x:{y:{z:{if(!c){i=Ma-48|0;Ma=i;d=v[m+24>>2];c=d+8|0;A:{if(v[d+8>>2]){gf(i+40|0,d,c);break A}v[i+40>>2]=0;qb(i+40|0,0)}B:{if(v[c>>2]){Tp(i+32|0,d,c);break B}v[i+32>>2]=0;qb(i+32|0,0)}C:{if(v[c>>2]){Iu(i+24|0,d,c);break C}v[i+24>>2]=0;qb(i+24|0,0)}D:{if(v[c>>2]){Hu(i+16|0,d,c);break D}v[i+16>>2]=0;qb(i+16|0,0)}E:{if(v[c>>2]){Gu(i+8|0,d,c);break E}v[i+8>>2]=0;qb(i+8|0,0)}F:{if(v[c>>2]){VE(i,d,c);break F}v[i>>2]=0;qb(i,0)}e=v[i+40>>2];c=0;G:{if(!e){break G}d=v[e+8>>2];c=0;if((d|0)<1){break G}e=v[e+12>>2];c=0;if((e|0)<1){break G}f=v[i+32>>2];c=0;if(!f){break G}c=0;if((d|0)!=v[f+72>>2]){break G}c=0;if((e|0)!=v[f+76>>2]){break G}c=v[i+24>>2];H:{if(c){f=d;j=e;c=v[c+12>>2];if(c){c=v[c+4>>2]}else{c=0}o=v[v[i+24>>2]+12>>2];if(o){l=v[o+8>>2]}else{l=0}f=Yr(f,j,c,l);break H}f=v[i+16>>2];c=0;if(!f){break G}f=Yr(d,e,x[f+10>>1],x[f+8>>1])}c=0;if(f-1>>>0>11){break G}if(!v[i>>2]){f=v[i+8>>2];c=0;if(!f){break G}c=0;if(Yr(d,e,x[f+10>>1],x[f+8>>1])-1>>>0>11){break G}}c=v[i+32>>2]!=0}d=v[i>>2];v[i>>2]=0;I:{if(!d){break I}e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(e){break I}e=v[d+4>>2];if(!e){v[d+4>>2]=-32767}if(!e){Qa[v[v[d>>2]+4>>2]](d)}}d=v[i+8>>2];v[i+8>>2]=0;J:{if(!d){break J}e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(e){break J}e=v[d+4>>2];if(!e){v[d+4>>2]=-32767}if(!e){Qa[v[v[d>>2]+4>>2]](d)}}d=v[i+16>>2];v[i+16>>2]=0;K:{if(!d){break K}e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(e){break K}e=v[d+4>>2];if(!e){v[d+4>>2]=-32767}if(!e){Qa[v[v[d>>2]+4>>2]](d)}}d=v[i+24>>2];v[i+24>>2]=0;L:{if(!d){break L}e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(e){break L}e=v[d+4>>2];if(!e){v[d+4>>2]=-32767}if(!e){Qa[v[v[d>>2]+4>>2]](d)}}d=v[i+32>>2];v[i+32>>2]=0;M:{if(!d){break M}e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(e){break M}e=v[d+4>>2];if(!e){v[d+4>>2]=-32767}if(!e){Qa[v[v[d>>2]+4>>2]](d)}}d=v[i+40>>2];v[i+40>>2]=0;N:{if(!d){break N}e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(e){break N}e=v[d+4>>2];if(!e){v[d+4>>2]=-32767}if(!e){Qa[v[v[d>>2]+4>>2]](d)}}Ma=i+48|0;if(!c){break z}}v[g+128>>2]=h;v[g+120>>2]=0;v[g+124>>2]=0;v[g+132>>2]=b;a=g+120|0;TE(g+24|0,v[m+24>>2],a,a,0);if(!((b|0)<1|(h|0)<1)){e=h&-2;f=h&1;while(1){c=b-1|0;d=0;a=v[g+24>>2];O:{if(x[a+8>>1]<(b|0)){break O}j=v[a+16>>2];if(!j){break O}d=j+B(B(c,x[a+12>>1]),3)|0}a=e;if((h|0)!=1){while(1){t[k|0]=w[d|0];t[k+1|0]=w[d+1|0];j=w[d+2|0];t[k+3|0]=255;t[k+2|0]=j;t[k+4|0]=w[d+3|0];t[k+5|0]=w[d+4|0];j=w[d+5|0];t[k+7|0]=255;t[k+6|0]=j;d=d+6|0;k=k+8|0;a=a-2|0;if(a){continue}break}}if(f){t[k|0]=w[d|0];t[k+1|0]=w[d+1|0];a=w[d+2|0];t[k+3|0]=255;t[k+2|0]=a;k=k+4|0}a=(b|0)>1;b=c;if(a){continue}break}}a=v[g+24>>2];v[g+24>>2]=0;if(!a){break y}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break y}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}break y}d=Ma-48|0;Ma=d;e=v[m+24>>2];c=e+8|0;P:{if(v[e+8>>2]){gf(d+40|0,e,c);break P}v[d+40>>2]=0;qb(d+40|0,0)}Q:{if(v[c>>2]){Tp(d+32|0,e,c);break Q}v[d+32>>2]=0;qb(d+32|0,0)}R:{if(v[c>>2]){Iu(d+24|0,e,c);break R}v[d+24>>2]=0;qb(d+24|0,0)}S:{if(v[c>>2]){Hu(d+16|0,e,c);break S}v[d+16>>2]=0;qb(d+16|0,0)}T:{if(v[c>>2]){Gu(d+8|0,e,c);break T}v[d+8>>2]=0;qb(d+8|0,0)}e=v[d+40>>2];c=0;U:{if(!e){break U}f=v[e+8>>2];c=0;if((f|0)<1){break U}j=v[e+12>>2];c=0;if((j|0)<1){break U}e=v[d+32>>2];c=0;if(!e){break U}c=0;if((f|0)!=v[e+72>>2]){break U}c=0;if((j|0)!=v[e+76>>2]){break U}c=0;if(v[d+24>>2]){break U}c=0;if(v[d+16>>2]){break U}c=!v[d+8>>2]}e=v[d+8>>2];v[d+8>>2]=0;V:{if(!e){break V}f=v[e+4>>2]-1|0;v[e+4>>2]=f;if(f){break V}f=v[e+4>>2];if(!f){v[e+4>>2]=-32767}if(!f){Qa[v[v[e>>2]+4>>2]](e)}}e=v[d+16>>2];v[d+16>>2]=0;W:{if(!e){break W}f=v[e+4>>2]-1|0;v[e+4>>2]=f;if(f){break W}f=v[e+4>>2];if(!f){v[e+4>>2]=-32767}if(!f){Qa[v[v[e>>2]+4>>2]](e)}}e=v[d+24>>2];v[d+24>>2]=0;X:{if(!e){break X}f=v[e+4>>2]-1|0;v[e+4>>2]=f;if(f){break X}f=v[e+4>>2];if(!f){v[e+4>>2]=-32767}if(!f){Qa[v[v[e>>2]+4>>2]](e)}}e=v[d+32>>2];v[d+32>>2]=0;Y:{if(!e){break Y}f=v[e+4>>2]-1|0;v[e+4>>2]=f;if(f){break Y}f=v[e+4>>2];if(!f){v[e+4>>2]=-32767}if(!f){Qa[v[v[e>>2]+4>>2]](e)}}e=v[d+40>>2];v[d+40>>2]=0;Z:{if(!e){break Z}f=v[e+4>>2]-1|0;v[e+4>>2]=f;if(f){break Z}f=v[e+4>>2];if(!f){v[e+4>>2]=-32767}if(!f){Qa[v[v[e>>2]+4>>2]](e)}}Ma=d+48|0;if(c){v[g+36>>2]=b;v[g+32>>2]=h;v[g+24>>2]=0;v[g+28>>2]=0;c=g+24|0;SE(g+40|0,v[m+24>>2],c,c);c=-1;d=v[g+40>>2];j=x[d+16>>1];f=16711680/(j-1|0)|0;i=ab(j<<2);_:{if(!j){break _}if((j|0)!=1){e=j&65534;c=16711680;while(1){o=a<<2;v[o+i>>2]=B(c>>>16&255,65793)-16777216;c=c-f|0;v[i+(o|4)>>2]=B(c>>>16&255,65793)-16777216;a=a+2|0;c=c-f|0;e=e-2|0;if(e){continue}break}c=B(c>>>16&255,65793)-16777216|0}if(!(j&1)){break _}v[i+(a<<2)>>2]=c}$:{if((b|0)<1){break $}e=h&-4;f=h&3;o=(h|0)<1;h=h-1>>>0<3;while(1){if(!v[d+20>>2]){Re(d)}c=b-1|0;aa:{if(x[d+8>>1]<(b|0)){a=x[d+12>>1];if(v[279246]<(a+x[d+14>>1]|0)){break x}d=a+v[279245]|0;break aa}d=v[d+20>>2]+(x[d+12>>1]+B(c,x[d+14>>1])|0)|0}ba:{if(o){break ba}a=e;if(!h){while(1){l=w[d|0];v[k>>2]=v[i+((j>>>0>l>>>0?l:0)<<2)>>2];l=w[d+1|0];v[k+4>>2]=v[i+((j>>>0>l>>>0?l:0)<<2)>>2];l=w[d+2|0];v[k+8>>2]=v[i+((j>>>0>l>>>0?l:0)<<2)>>2];l=w[d+3|0];v[k+12>>2]=v[i+((j>>>0>l>>>0?l:0)<<2)>>2];d=d+4|0;k=k+16|0;a=a-4|0;if(a){continue}break}}a=f;if(!a){break ba}while(1){l=w[d|0];v[k>>2]=v[i+((j>>>0>l>>>0?l:0)<<2)>>2];d=d+1|0;k=k+4|0;a=a-1|0;if(a){continue}break}}if((b|0)<2){break $}d=v[g+40>>2];b=c;continue}}$a(i);a=v[g+40>>2];v[g+40>>2]=0;if(!a){break y}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break y}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}break y}v[g+36>>2]=b;v[g+32>>2]=h;v[g+24>>2]=0;v[g+28>>2]=0;a=g+24|0;TE(g+40|0,v[m+24>>2],a,a,0);a=v[g+40>>2];ca:{if(a){if((b|0)<1|(h|0)<1){break ca}e=h&-2;f=h&1;while(1){c=b-1|0;d=0;da:{if(x[a+8>>1]<(b|0)){break da}j=v[a+16>>2];if(!j){break da}d=j+B(B(c,x[a+12>>1]),3)|0}a=e;if((h|0)!=1){while(1){t[k|0]=w[d|0];t[k+1|0]=w[d+1|0];j=w[d+2|0];t[k+3|0]=255;t[k+2|0]=j;t[k+4|0]=w[d+3|0];t[k+5|0]=w[d+4|0];j=w[d+5|0];t[k+7|0]=255;t[k+6|0]=j;d=d+6|0;k=k+8|0;a=a-2|0;if(a){continue}break}}if(f){t[k|0]=w[d|0];t[k+1|0]=w[d+1|0];a=w[d+2|0];t[k+3|0]=255;t[k+2|0]=a;k=k+4|0}if((b|0)<2){break ca}a=v[g+40>>2];b=c;continue}}a=g+24|0;SE(g+16|0,v[m+24>>2],a,a);d=v[g+16>>2];if(d){c=-1;j=x[d+16>>1];f=16711680/(j-1|0)|0;i=ab(j<<2);ea:{if(!j){break ea}a=0;if((j|0)!=1){e=j&65534;c=16711680;while(1){o=a<<2;v[o+i>>2]=B(c>>>16&255,65793)-16777216;c=c-f|0;v[i+(o|4)>>2]=B(c>>>16&255,65793)-16777216;a=a+2|0;c=c-f|0;e=e-2|0;if(e){continue}break}c=B(c>>>16&255,65793)-16777216|0}if(!(j&1)){break ea}v[i+(a<<2)>>2]=c}fa:{if((b|0)<1){break fa}e=h&-4;f=h&3;o=(h|0)<1;h=h-1>>>0<3;while(1){if(!v[d+20>>2]){Re(d)}c=b-1|0;ga:{if(x[d+8>>1]<(b|0)){a=x[d+12>>1];if(v[279246]<(a+x[d+14>>1]|0)){break x}d=a+v[279245]|0;break ga}d=v[d+20>>2]+(x[d+12>>1]+B(c,x[d+14>>1])|0)|0}ha:{if(o){break ha}a=e;if(!h){while(1){l=w[d|0];v[k>>2]=v[i+((j>>>0>l>>>0?l:0)<<2)>>2];l=w[d+1|0];v[k+4>>2]=v[i+((j>>>0>l>>>0?l:0)<<2)>>2];l=w[d+2|0];v[k+8>>2]=v[i+((j>>>0>l>>>0?l:0)<<2)>>2];l=w[d+3|0];v[k+12>>2]=v[i+((j>>>0>l>>>0?l:0)<<2)>>2];d=d+4|0;k=k+16|0;a=a-4|0;if(a){continue}break}}a=f;if(!a){break ha}while(1){l=w[d|0];v[k>>2]=v[i+((j>>>0>l>>>0?l:0)<<2)>>2];d=d+1|0;k=k+4|0;a=a-1|0;if(a){continue}break}}if((b|0)<2){break fa}d=v[g+16>>2];b=c;continue}}$a(i);d=v[g+16>>2]}v[g+16>>2]=0;if(!d){break ca}a=v[d+4>>2]-1|0;v[d+4>>2]=a;if(a){break ca}a=v[d+4>>2];if(!a){v[d+4>>2]=-32767}if(!a){Qa[v[v[d>>2]+4>>2]](d)}}a=v[g+40>>2];v[g+40>>2]=0;if(!a){break y}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break y}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}v[g+120>>2]=1;Qa[v[v[n>>2]+288>>2]](n,g+120|0)|0;a=v[g+84>>2];if(!(1<>>0<=16:0)){a=g+8|0;v[a>>2]=0;b=v[m+16>>2];v[a>>2]=b;if(b){Qa[v[v[b>>2]+8>>2]](b)|0}b=a;f=0;c=Ma-144|0;Ma=c;d=ab(64);v[c>>2]=d;v[c+4>>2]=13;v[c+8>>2]=-2147483632;rb(d,969336,13);v[d+52>>2]=0;Qa[v[v[n>>2]+220>>2]](n,c)|0;if(t[c+11|0]<=-1){$a(v[c>>2])}d=c+96|0;v[d+8>>2]=0;v[d>>2]=0;v[d+4>>2]=0;h=ab(32);v[c>>2]=h;v[c+4>>2]=4;v[c+8>>2]=-2147483640;rb(h,969268,4);v[h+16>>2]=0;Yv(b,c,d);if(t[c+11|0]<=-1){$a(v[c>>2])}p=25.4/+(y|0);if(v[d+4>>2]-v[d>>2]>>2>0){while(1){e=c+88|0;v[e>>2]=0;_v(d,f,e);b=c+72|0;v[b+8>>2]=0;v[b>>2]=0;v[b+4>>2]=0;h=ab(32);v[c>>2]=h;v[c+4>>2]=4;v[c+8>>2]=-2147483640;rb(h,969288,4);v[h+16>>2]=0;Yv(e,c,b);if(t[c+11|0]<=-1){$a(v[c>>2])}k=0;if(v[b+4>>2]-v[b>>2]>>2>0){while(1){h=c- -64|0;v[h>>2]=0;_v(b,k,h);oY(c+48|0,h);v[c>>2]=0;t[c+11|0]=0;nY(c+32|0,h,c);if(t[c+11|0]<=-1){$a(v[c>>2])}vT(c+32|0,c,p);q=A[c+24>>3];r=A[c+8>>3]-q;A[c+136>>3]=r;j=c+136|0;Qa[v[v[n>>2]+236>>2]](n,j)|0;s=A[c>>3];A[c+136>>3]=C(s);A[c+128>>3]=C(q);A[c+120>>3]=C(A[c+16>>3]-s);A[c+112>>3]=C(r);Qa[v[v[n>>2]+276>>2]](n,c+48|0,j,c+128|0,c+120|0,c+112|0)|0;if(t[c+43|0]<=-1){$a(v[c+32>>2])}if(t[c+59|0]<=-1){$a(v[c+48>>2])}j=v[h>>2];v[h>>2]=0;if(j){Qa[v[v[j>>2]+12>>2]](j)|0}k=k+1|0;if((k|0)>2]-v[b>>2]>>2){continue}break}}$v(b);b=v[e>>2];v[e>>2]=0;if(b){Qa[v[v[b>>2]+12>>2]](b)|0}f=f+1|0;if((f|0)>2]-v[d>>2]>>2){continue}break}}$v(d);Ma=c+144|0;b=v[a>>2];v[a>>2]=0;if(b){Qa[v[v[b>>2]+12>>2]](b)|0}}v[g+120>>2]=0;v[g+124>>2]=0;v[g+24>>2]=0;v[g+28>>2]=0;a=g+120|0;Qa[v[v[n>>2]+356>>2]](n,u,a,g+24|0,g+96|0,g+88|0)|0;v[g+120>>2]=1;Qa[v[v[n>>2]+292>>2]](n,a)|0;Vo(u);Ma=g+144|0;break w}lb(mb(g+120|0,260021,271600,577,327329));L()}a=v[m+16>>2];v[m+16>>2]=0;if(a){Qa[v[v[a>>2]+12>>2]](a)|0}a=v[m+24>>2];v[m+24>>2]=0;if(!a){break a}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break a}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=m+32|0}function VT(a,b){var 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;c=Ma-240|0;Ma=c;_u(a);v[a+24>>2]=b;f=Ss(c+224|0);d=v[a+24>>2];b=ab(48);v[c+208>>2]=b;v[c+212>>2]=11;v[c+216>>2]=-2147483636;rb(b,960820,11);v[b+44>>2]=0;b=c+56|0;po(b,d,c+208|0);b=mn(f,b);if(t[c+67|0]<=-1){$a(v[c+56>>2])}if(t[c+219|0]<=-1){$a(v[c+208>>2])}a:{if(!b){break a}if(!Yg(f)){break a}Xc(c+208|0,f);b=w[c+219|0];b:{if(((b<<24>>24<0?v[c+212>>2]:b)|0)!=13){break b}if(Vc(c+208|0,960868,13)){break b}v[c+200>>2]=0;v[c+192>>2]=0;v[c+196>>2]=0;c:{if(!Yg(f)){break c}while(1){Xc(c+56|0,f);if(t[c+219|0]<=-1){$a(v[c+208>>2])}b=c- -64|0;v[c+216>>2]=v[b>>2];d=v[c+60>>2];v[c+208>>2]=v[c+56>>2];v[c+212>>2]=d;d=t[c+219|0];d:{if((((d|0)<0?v[c+212>>2]:d&255)|0)!=12){break d}if(Vc(c+208|0,960924,12)){break d}v[b>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;Uj(f,960976,c+56|0);d=w[c+67|0];b=d<<24>>24<0;e:{d=b?v[c+60>>2]:d;if((d|0)<19){break e}e=b?v[c+56>>2]:c+56|0;g=e+(d<<2)|0;b=e;while(1){d=d-18|0;if(!d){break e}b=xe(b,102,d);if(!b){break e}if(lc(b,960996,19)){b=b+4|0;h=g-b|0;d=h>>2;if((h|0)>=76){continue}break e}break}if((b|0)==(g|0)|(b-e|0)==-4){break e}d=w[c+67|0];b=d<<24>>24<0;d=b?v[c+60>>2]:d;f:{g:{if((d|0)<5){break g}e=b?v[c+56>>2]:c+56|0;g=e+(d<<2)|0;b=e;while(1){d=d-4|0;if(!d){break g}b=xe(b,47,d);if(!b){break g}if(lc(b,961076,5)){b=b+4|0;h=g-b|0;d=h>>2;if((h|0)>=20){continue}break g}break}if((b|0)==(g|0)){break g}if((b-e|0)!=-4){break f}}d=w[c+67|0];b=d<<24>>24<0;d=b?v[c+60>>2]:d;if((d|0)<6){break e}e=b?v[c+56>>2]:c+56|0;g=e+(d<<2)|0;b=e;while(1){d=d-5|0;if(!d){break e}b=xe(b,47,d);if(!b){break e}if(lc(b,961100,6)){b=b+4|0;h=g-b|0;d=h>>2;if((h|0)<24){break e}continue}break}if((b|0)==(g|0)|(b-e|0)==-4){break e}}Uj(f,961128,c+192|0);if(t[c+67|0]>-1){break c}$a(v[c+56>>2]);break c}if(t[c+67|0]>-1){break d}$a(v[c+56>>2])}if(Yg(f)){continue}break}}b=w[c+203|0];h:{if(!(b<<24>>24<0?v[c+196>>2]:b)){break h}nA(f);b=v[a+24>>2];if(!(Qa[v[v[b>>2]+32>>2]](b,c+192|0)|0)){b=ab(48);v[c+176>>2]=b;v[c+180>>2]=11;v[c+184>>2]=-2147483636;rb(b,960820,11);v[b+44>>2]=0;b=c+56|0;Xu(b,c+176|0);e=b;b=w[c+203|0];d=b<<24>>24<0;b=bd(e,d?v[c+192>>2]:c+192|0,d?v[c+196>>2]:b);e=v[b>>2];v[c+160>>2]=v[b+4>>2];d=w[b+7|0]|w[b+8|0]<<8|(w[b+9|0]<<16|w[b+10|0]<<24);t[c+163|0]=d;t[c+164|0]=d>>>8;t[c+165|0]=d>>>16;t[c+166|0]=d>>>24;v[b>>2]=0;v[b+4>>2]=0;g=w[b+11|0];v[b+8>>2]=0;if(t[c+203|0]<=-1){$a(v[c+192>>2])}v[c+192>>2]=e;b=c+192|4;d=w[c+163|0]|w[c+164|0]<<8|(w[c+165|0]<<16|w[c+166|0]<<24);t[b+3|0]=d;t[b+4|0]=d>>>8;t[b+5|0]=d>>>16;t[b+6|0]=d>>>24;v[b>>2]=v[c+160>>2];t[c+203|0]=g;if(t[c+67|0]<=-1){$a(v[c+56>>2])}if(t[c+187|0]<=-1){$a(v[c+176>>2])}b=v[a+24>>2];if(!(Qa[v[v[b>>2]+32>>2]](b,c+192|0)|0)){break h}}b=c+56|0;po(b,v[a+24>>2],c+192|0);b=mn(f,b);if(t[c+67|0]<=-1){$a(v[c+56>>2])}if(!b){break h}if(!Yg(f)){break h}Xc(c+56|0,f);if(t[c+219|0]<=-1){$a(v[c+208>>2])}v[c+216>>2]=v[c- -64>>2];b=v[c+60>>2];v[c+208>>2]=v[c+56>>2];v[c+212>>2]=b;if(yo(961156,c+208|0)){break h}v[c+184>>2]=0;v[c+176>>2]=0;v[c+180>>2]=0;i:{if(!Yg(f)){break i}while(1){Xc(c+56|0,f);if(t[c+219|0]<=-1){$a(v[c+208>>2])}v[c+216>>2]=v[c- -64>>2];b=v[c+60>>2];v[c+208>>2]=v[c+56>>2];v[c+212>>2]=b;j:{b=t[c+219|0];if((((b|0)<0?v[c+212>>2]:b&255)|0)==17){if(!Vc(c+208|0,961244,17)){break j}}if(Yg(f)){continue}break i}break}Uj(f,961316,c+176|0)}b=w[c+187|0];k:{if(!(b<<24>>24<0?v[c+180>>2]:b)){break k}b=v[a+24>>2];if(!(Qa[v[v[b>>2]+32>>2]](b,c+176|0)|0)){b=c+56|0;Xu(b,c+192|0);e=b;b=w[c+187|0];d=b<<24>>24<0;b=bd(e,d?v[c+176>>2]:c+176|0,d?v[c+180>>2]:b);e=v[b>>2];v[c+160>>2]=v[b+4>>2];d=w[b+7|0]|w[b+8|0]<<8|(w[b+9|0]<<16|w[b+10|0]<<24);t[c+163|0]=d;t[c+164|0]=d>>>8;t[c+165|0]=d>>>16;t[c+166|0]=d>>>24;v[b>>2]=0;v[b+4>>2]=0;g=w[b+11|0];v[b+8>>2]=0;if(t[c+187|0]<=-1){$a(v[c+176>>2])}v[c+176>>2]=e;b=c+176|4;d=w[c+163|0]|w[c+164|0]<<8|(w[c+165|0]<<16|w[c+166|0]<<24);t[b+3|0]=d;t[b+4|0]=d>>>8;t[b+5|0]=d>>>16;t[b+6|0]=d>>>24;v[b>>2]=v[c+160>>2];t[c+187|0]=g;if(t[c+67|0]<=-1){$a(v[c+56>>2])}b=v[a+24>>2];if(!(Qa[v[v[b>>2]+32>>2]](b,c+176|0)|0)){break k}}b=c+160|0;d=c+176|0;Xu(b,d);nA(f);e=c+128|0;gH(e,b,961344);b=c+112|0;gw(b,d);h=b;b=w[c+123|0];d=b<<24>>24<0;b=bd(e,d?v[c+112>>2]:h,d?v[c+116>>2]:b);v[c- -64>>2]=v[b+8>>2];d=v[b+4>>2];v[c+56>>2]=v[b>>2];v[c+60>>2]=d;v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;b=kc(c+56|0,961372);v[c+152>>2]=v[b+8>>2];d=v[b+4>>2];v[c+144>>2]=v[b>>2];v[c+148>>2]=d;v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;if(t[c+67|0]<=-1){$a(v[c+56>>2])}if(t[c+123|0]<=-1){$a(v[c+112>>2])}if(t[c+139|0]<=-1){$a(v[c+128>>2])}v[c+136>>2]=0;v[c+128>>2]=0;v[c+132>>2]=0;b=v[a+24>>2];l:{if(!(Qa[v[v[b>>2]+32>>2]](b,c+144|0)|0)){break l}b=c+56|0;po(b,v[a+24>>2],c+144|0);d=0;m:{if(!mn(f,b)){break m}if(!Yg(f)){break m}b=c+112|0;Xc(b,f);d=Uy(b,960868);if(t[c+123|0]>-1){break m}$a(v[c+112>>2])}if(t[c+67|0]<=-1){$a(v[c+56>>2])}if(!d){break l}if(!Yg(f)){break l}e=c- -64|0;while(1){Xc(c+56|0,f);d=0;g=w[c+67|0];b=g<<24>>24;if((((b|0)<0?v[c+60>>2]:g)|0)==12){d=!Vc(c+56|0,960924,12);b=w[c+67|0]}if(b<<24>>24<=-1){$a(v[c+56>>2])}n:{if(!d){break n}v[e>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;b=c+56|0;Uj(f,960976,b);if(Oi(961396,b)){Uj(f,961128,c+128|0);if(t[c+67|0]>-1){break l}$a(v[c+56>>2]);break l}if(t[c+67|0]>-1){break n}$a(v[c+56>>2])}if(Yg(f)){continue}break}}v[c+120>>2]=0;v[c+112>>2]=0;v[c+116>>2]=0;b=t[c+139|0];o:{if(!((b|0)<0?v[c+132>>2]:b&255)){break o}b=v[a+24>>2];if(Qa[v[v[b>>2]+32>>2]](b,c+128|0)|0){Yo(c+112|0,c+128|0);break o}b=v[a+24>>2];d=c+56|0;Rq(d,c+160|0,c+128|0);b=Qa[v[v[b>>2]+32>>2]](b,d)|0;if(t[c+67|0]<=-1){$a(v[c+56>>2])}if(b){Rq(c+56|0,c+160|0,c+128|0);if(t[c+123|0]<=-1){$a(v[c+112>>2])}v[c+120>>2]=v[c- -64>>2];b=v[c+60>>2];v[c+112>>2]=v[c+56>>2];v[c+116>>2]=b;break o}b=c+56|0;Xu(b,c+144|0);e=b;b=w[c+139|0];d=b<<24>>24<0;b=bd(e,d?v[c+128>>2]:c+128|0,d?v[c+132>>2]:b);e=v[b>>2];v[c+96>>2]=v[b+4>>2];d=w[b+7|0]|w[b+8|0]<<8|(w[b+9|0]<<16|w[b+10|0]<<24);t[c+99|0]=d;t[c+100|0]=d>>>8;t[c+101|0]=d>>>16;t[c+102|0]=d>>>24;v[b>>2]=0;v[b+4>>2]=0;g=w[b+11|0];v[b+8>>2]=0;if(t[c+139|0]<=-1){$a(v[c+128>>2])}v[c+128>>2]=e;b=c+128|4;d=w[c+99|0]|w[c+100|0]<<8|(w[c+101|0]<<16|w[c+102|0]<<24);t[b+3|0]=d;t[b+4|0]=d>>>8;t[b+5|0]=d>>>16;t[b+6|0]=d>>>24;v[b>>2]=v[c+96>>2];t[c+139|0]=g;if(t[c+67|0]<=-1){$a(v[c+56>>2])}b=v[a+24>>2];if(!(Qa[v[v[b>>2]+32>>2]](b,c+128|0)|0)){break o}Yo(c+112|0,c+128|0)}b=0;d=w[c+123|0];p:{if(!(d<<24>>24<0?v[c+116>>2]:d)){break p}nA(f);d=c+56|0;po(d,v[a+24>>2],c+112|0);q:{if(!mn(f,d)){break q}if(!Yg(f)){break q}b=c+96|0;Xc(b,f);b=Uy(b,961632);if(t[c+107|0]>-1){break q}$a(v[c+96>>2])}if(t[c+67|0]<=-1){$a(v[c+56>>2])}if(!b){break p}if(!Yg(f)){break p}while(1){b=c+56|0;Xc(b,f);d=0;r:{if(!Oi(961704,b)){break r}if(!Yg(f)){break r}b=c+96|0;Xc(b,f);d=Uy(b,961808);if(t[c+107|0]>-1){break r}$a(v[c+96>>2])}if(t[c+67|0]<=-1){$a(v[c+56>>2])}s:{if(!d){break s}if(!Yg(f)){break s}while(1){Xc(c+56|0,f);d=0;e=w[c+67|0];b=e<<24>>24;if((((b|0)<0?v[c+60>>2]:e)|0)==12){d=!Vc(c+56|0,961872,12);b=w[c+67|0]}if(b<<24>>24<=-1){$a(v[c+56>>2])}t:{if(!d){break t}v[c+72>>2]=0;v[c+76>>2]=0;v[c+88>>2]=0;v[c+92>>2]=0;v[c+80>>2]=0;v[c+84>>2]=0;v[c+64>>2]=0;v[c+68>>2]=0;v[c+56>>2]=1;v[c+60>>2]=0;if(Pi(f)){while(1){Xc(c+96|0,f);_c(c+40|0,f);d=w[c+107|0];h=d<<24>>24;u:{v:{w:{b=v[c+100>>2];if((((h|0)<0?b:d)|0)==12){if(!Vc(c+96|0,961924,12)){break v}d=w[c+107|0];h=d;b=v[c+100>>2]}if(((h<<24>>24<0?b:d)|0)==11){if(!Vc(c+96|0,961976,11)){break w}d=w[c+107|0];h=d;b=v[c+100>>2]}if(((h<<24>>24<0?b:d)|0)!=13){break u}if(Vc(c+96|0,962024,13)){break u}b=sj(c+40|0,35,0);if((b|0)==-1){break u}d=c+40|0;bf(c+24|0,d,b+1|0,-1);if(t[c+95|0]<=-1){$a(v[c+84>>2])}b=v[c+28>>2];v[c+84>>2]=v[c+24>>2];v[c+88>>2]=b;v[c+92>>2]=v[c+32>>2];break u}b=t[c+51|0];d=(b|0)<0;Ti(c+24|0,d?v[c+40>>2]:c+40|0,d?v[c+44>>2]:b&255);if(t[c+83|0]<=-1){$a(v[c+72>>2])}b=v[c+28>>2];v[c+72>>2]=v[c+24>>2];v[c+76>>2]=b;v[c+80>>2]=v[c+32>>2];break u}q=c,r=LT(c+40|0),v[q+56>>2]=r}if(t[c+51|0]<=-1){$a(v[c+40>>2])}if(t[c+107|0]<=-1){$a(v[c+96>>2])}if(Pi(f)){continue}break}}Ej(f);b=v[a+4>>2];x:{if((b|0)!=v[a+8>>2]){d=v[c+60>>2];v[b>>2]=v[c+56>>2];v[b+4>>2]=d;d=c- -64|0;e=v[d+4>>2];v[b+8>>2]=v[d>>2];v[b+12>>2]=e;d=b+16|0;y:{if(t[c+83|0]>=0){e=v[c+76>>2];v[d>>2]=v[c+72>>2];v[d+4>>2]=e;v[d+8>>2]=v[c+80>>2];break y}Sl(d,v[c+72>>2],v[c+76>>2])}d=b+28|0;z:{if(t[c+95|0]>=0){e=v[c+88>>2];v[d>>2]=v[c+84>>2];v[d+4>>2]=e;v[d+8>>2]=v[c+92>>2];break z}vc(d,v[c+84>>2],v[c+88>>2])}v[a+4>>2]=b+40;break x}e=0;A:{B:{C:{d=v[a>>2];h=(v[a+4>>2]-d|0)/40|0;b=h+1|0;if(b>>>0<107374183){d=(v[a+8>>2]-d|0)/40|0;g=d<<1;g=d>>>0<53687091?b>>>0>g>>>0?b:g:107374182;if(g){if(g>>>0>=107374183){break C}e=ab(B(g,40))}b=v[c+60>>2];d=B(h,40)+e|0;v[d>>2]=v[c+56>>2];v[d+4>>2]=b;b=v[c+68>>2];v[d+8>>2]=v[c+64>>2];v[d+12>>2]=b;b=d+16|0;D:{if(t[c+83|0]>=0){i=v[c+76>>2];v[b>>2]=v[c+72>>2];v[b+4>>2]=i;v[b+8>>2]=v[c+80>>2];break D}Sl(b,v[c+72>>2],v[c+76>>2])}g=B(g,40);b=(B(h,40)+e|0)+28|0;E:{if(t[c+95|0]>=0){h=v[c+88>>2];v[b>>2]=v[c+84>>2];v[b+4>>2]=h;v[b+8>>2]=v[c+92>>2];break E}vc(b,v[c+84>>2],v[c+88>>2])}g=e+g|0;h=d+40|0;b=v[a+4>>2];e=v[a>>2];if((b|0)==(e|0)){break B}while(1){b=b-40|0;i=v[b+4>>2];d=d-40|0;v[d>>2]=v[b>>2];v[d+4>>2]=i;i=v[b+12>>2];v[d+8>>2]=v[b+8>>2];v[d+12>>2]=i;v[d+24>>2]=v[b+24>>2];i=v[b+20>>2];v[d+16>>2]=v[b+16>>2];v[d+20>>2]=i;v[b+16>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[d+36>>2]=v[b+36>>2];i=v[b+32>>2];v[d+28>>2]=v[b+28>>2];v[d+32>>2]=i;v[b+36>>2]=0;v[b+28>>2]=0;v[b+32>>2]=0;if((b|0)!=(e|0)){continue}break}v[a+8>>2]=g;b=v[a+4>>2];v[a+4>>2]=h;e=v[a>>2];v[a>>2]=d;if((b|0)==(e|0)){break A}while(1){if(t[b-1|0]<=-1){$a(v[b-12>>2])}if(t[b-13|0]<=-1){$a(v[b-24>>2])}b=b-40|0;if((e|0)!=(b|0)){continue}break}break A}Jc();L()}Zd(273730);L()}v[a+8>>2]=g;v[a+4>>2]=h;v[a>>2]=d}if(e){$a(e)}}if(t[c+95|0]<=-1){$a(v[c+84>>2])}if(t[c+83|0]>-1){break t}$a(v[c+72>>2])}if(Yg(f)){continue}break}}if(Yg(f)){continue}break}}nA(f);b=c+56|0;po(b,v[a+24>>2],c+176|0);b=mn(f,b);if(t[c+67|0]<=-1){$a(v[c+56>>2])}F:{if(!b){break F}if(!Yg(f)){break F}Xc(c+56|0,f);if(t[c+219|0]<=-1){$a(v[c+208>>2])}v[c+216>>2]=v[c- -64>>2];b=v[c+60>>2];v[c+208>>2]=v[c+56>>2];v[c+212>>2]=b;if(yo(962080,c+208|0)){break F}h=0;v[c+104>>2]=0;v[c+96>>2]=0;v[c+100>>2]=0;G:{if(!Yg(f)){break G}p=a+40|0;i=a+28|0;m=a+12|0;while(1){Xc(c+56|0,f);if(t[c+219|0]<=-1){$a(v[c+208>>2])}e=c- -64|0;v[c+216>>2]=v[e>>2];b=v[c+60>>2];v[c+208>>2]=v[c+56>>2];v[c+212>>2]=b;H:{if(Oi(962136,c+208|0)){Uj(f,961316,c+96|0);I:{if(t[c+107|0]>=0){v[c+48>>2]=v[c+104>>2];b=v[c+100>>2];v[c+40>>2]=v[c+96>>2];v[c+44>>2]=b;break I}vc(c+40|0,v[c+96>>2],v[c+100>>2])}b=v[a+24>>2];if(!(Qa[v[v[b>>2]+32>>2]](b,c+40|0)|0)){Rq(c+56|0,c+160|0,c+96|0);if(t[c+51|0]<=-1){$a(v[c+40>>2])}v[c+48>>2]=v[e>>2];b=v[c+60>>2];v[c+40>>2]=v[c+56>>2];v[c+44>>2]=b;b=v[a+24>>2];if(!(Qa[v[v[b>>2]+32>>2]](b,c+40|0)|0)){break H}}n=rg(f);if(qe(f,n)){while(1){Xc(c+56|0,f);d=0;g=w[c+67|0];b=g<<24>>24;if((((b|0)<0?v[c+60>>2]:g)|0)==23){d=!Vc(c+56|0,962184,23);b=w[c+67|0]}if(b<<24>>24<=-1){$a(v[c+56>>2])}J:{if(!d){break J}o=rg(f);if(!qe(f,o)){break J}while(1){Xc(c+56|0,f);d=0;g=w[c+67|0];b=g<<24>>24;if((((b|0)<0?v[c+60>>2]:g)|0)==10){d=!Vc(c+56|0,962280,10);b=w[c+67|0]}if(b<<24>>24<=-1){$a(v[c+56>>2])}K:{if(!d){break K}v[c+32>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;Uj(f,962324,c+24|0);b=w[c+35|0];g=b<<24>>24<0;j=v[c+28>>2];L:{if(!(g?j:b)){break L}b=v[a+4>>2];d=v[a>>2];M:{if(!g){v[c+16>>2]=v[c+32>>2];g=v[c+28>>2];v[c+8>>2]=v[c+24>>2];v[c+12>>2]=g;break M}vc(c+8|0,v[c+24>>2],j)}N:{if((b|0)==(d|0)){break N}while(1){k=w[d+39|0];g=k<<24>>24<0;l=w[c+19|0];j=l<<24>>24<0;k=g?v[d+32>>2]:k;if((k|0)==((j?v[c+12>>2]:l)|0)){if(!k){break N}l=d+28|0;if(!lc(g?v[l>>2]:l,j?v[c+8>>2]:c+8|0,k)){break N}}d=d+40|0;if((b|0)!=(d|0)){continue}break}d=b}if(t[c+19|0]<=-1){$a(v[c+8>>2])}if(v[a+4>>2]!=(d|0)){v[d+4>>2]=h;break L}O:{if(t[c+35|0]>=0){v[e>>2]=v[c+32>>2];b=v[c+28>>2];v[c+56>>2]=v[c+24>>2];v[c+60>>2]=b;break O}vc(c+56|0,v[c+24>>2],v[c+28>>2])}v[c+68>>2]=h;b=ug(m,c+236|0,c+56|0);if(!v[b>>2]){d=ab(32);v[d+24>>2]=v[e>>2];g=v[c+60>>2];v[d+16>>2]=v[c+56>>2];v[d+20>>2]=g;v[e>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[d+28>>2]=v[c+68>>2];v[d+8>>2]=v[c+236>>2];v[d>>2]=0;v[d+4>>2]=0;v[b>>2]=d;g=v[v[m>>2]>>2];if(g){v[m>>2]=g;d=v[b>>2]}Ob(v[a+16>>2],d);v[a+20>>2]=v[a+20>>2]+1}if(t[c+67|0]>-1){break L}$a(v[c+56>>2])}if(t[c+35|0]>-1){break K}$a(v[c+24>>2])}if(qe(f,o)){continue}break}}if(qe(f,n)){continue}break}}e=ab(52);b=e;g=v[a+24>>2];j=v[a+56>>2];v[b+24>>2]=0;v[b+28>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b+32>>2]=0;d=b+24|0;P:{if((d|0)==(c+40|0)){break P}if(t[c+51|0]>=0){k=v[c+44>>2];v[d>>2]=v[c+40>>2];v[d+4>>2]=k;v[d+8>>2]=v[c+48>>2];break P}De(d,v[c+40>>2],v[c+44>>2])}v[b+48>>2]=a;v[b+44>>2]=j;v[b+40>>2]=p;v[b+36>>2]=g;v[b+16>>2]=-1;v[b+20>>2]=-1;v[b>>2]=0;v[c+60>>2]=e;v[c+56>>2]=h;b=v[i+4>>2];Q:{R:{if(b){d=i+4|0;g=v[c+56>>2];while(1){e=v[b+16>>2];S:{if((e|0)>(g|0)){e=v[b>>2];if(e){break S}break R}if((e|0)>=(g|0)){break Q}d=b+4|0;e=v[b+4>>2];if(!e){break Q}b=d}d=b;b=e;continue}}b=i+4|0}d=b}g=c;e=v[d>>2];if(e){b=0}else{e=ab(24);v[e+16>>2]=v[c+56>>2];j=v[c+60>>2];v[e+8>>2]=b;v[e>>2]=0;v[e+4>>2]=0;v[e+20>>2]=j;v[d>>2]=e;b=v[v[i>>2]>>2];if(b){v[i>>2]=b;b=v[d>>2]}else{b=e}Ob(v[i+4>>2],b);v[i+8>>2]=v[i+8>>2]+1;b=1}t[g+28|0]=b;v[c+24>>2]=e;if(t[c+51|0]<=-1){$a(v[c+40>>2])}h=h+1|0}if(Yg(f)){continue}break G}if(t[c+51|0]<=-1){$a(v[c+40>>2])}if(Yg(f)){continue}break}}if(t[c+107|0]<=-1){$a(v[c+96>>2])}}if(t[c+123|0]<=-1){$a(v[c+112>>2])}if(t[c+139|0]<=-1){$a(v[c+128>>2])}if(t[c+155|0]<=-1){$a(v[c+144>>2])}if(t[c+171|0]>-1){break k}$a(v[c+160>>2])}if(t[c+187|0]>-1){break h}$a(v[c+176>>2])}if(t[c+203|0]>-1){break b}$a(v[c+192>>2])}if(t[c+219|0]>-1){break a}$a(v[c+208>>2])}v[f>>2]=869240;a=v[f+4>>2];if(a){Qa[v[v[a>>2]+4>>2]](a)}Ma=c+240|0}function bz(a){var 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,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;a:{if(v[a+34092>>2]){f=v[a+34068>>2];if((f|0)!=v[279204]){tb(f)}v[a+34068>>2]=0;f=v[a+34076>>2];if((f|0)!=v[279240]){tb(f)}v[a+34076>>2]=0;f=v[a+32792>>2];b:{c:{d:{if((f|0)<3){while(1){f=-1;b=v[a+4>>2];e=Qa[v[v[b>>2]+28>>2]](b)|0;if((e|0)==-1){break c}d=v[a+32792>>2];f=d+8|0;v[a+32792>>2]=f;b=v[a+34108>>2];g=v[a+34104>>2]+1|0;b=g>>>0<1?b+1|0:b;v[a+34104>>2]=g;v[a+34108>>2]=b;b=v[a+32788>>2]|(e&255)<>2]=b;if((d|0)<-5){continue}break d}}b=v[a+32788>>2]}v[a+32792>>2]=f-3;v[a+32788>>2]=b>>3;f=b&7;if(!(b&1)){break b}}v[a+34096>>2]=1}F=a;e:{f:{g:{if(f>>>0<=1){v[a+34084>>2]=0;f=v[a+4>>2];f=Qa[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break g}v[a+34088>>2]=f&255;f=v[a+4>>2];f=Qa[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break g}v[a+34088>>2]=v[a+34088>>2]|f<<8&65280;f=v[a+4>>2];f=Qa[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break g}b=v[a+4>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break g}if((b<<8&65280|f&255)!=(x[a+34088>>1]^65535)){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,256928,0)}v[a+32788>>2]=0;v[a+32792>>2]=0;i=v[a+34108>>2];b=v[a+34104>>2]+4|0;i=b>>>0<4?i+1|0:i;v[a+34104>>2]=b;v[a+34108>>2]=i;v[a+34092>>2]=0;f=1;break e}h:{switch((f>>1)-1|0){case 0:v[a+34084>>2]=1;v[a+34068>>2]=v[279204];v[a+34072>>2]=v[279205];v[a+34076>>2]=v[279240];v[a+34080>>2]=v[279241];v[a+34092>>2]=0;f=1;break e;case 1:break h;default:break g}}f=1;v[a+34084>>2]=1;C=Ma-80|0;Ma=C;i:{j:{b=v[a+32792>>2];k:{if((b|0)<5){while(1){b=v[a+4>>2];g=Qa[v[v[b>>2]+28>>2]](b)|0;if((g|0)==-1){break j}e=v[a+32792>>2];b=e+8|0;v[a+32792>>2]=b;d=v[a+34108>>2];h=v[a+34104>>2]+1|0;d=h>>>0<1?d+1|0:d;v[a+34104>>2]=h;v[a+34108>>2]=d;h=v[a+32788>>2]|(g&255)<>2]=h;if((e|0)<-3){continue}break k}}h=v[a+32788>>2]}n=b-5|0;v[a+32792>>2]=n;c=h>>5;v[a+32788>>2]=c;if((b|0)<=9){while(1){b=v[a+4>>2];e=Qa[v[v[b>>2]+28>>2]](b)|0;if((e|0)==-1){break j}d=v[a+32792>>2];n=d+8|0;v[a+32792>>2]=n;b=v[a+34108>>2];g=v[a+34104>>2]+1|0;b=g>>>0<1?b+1|0:b;v[a+34104>>2]=g;v[a+34108>>2]=b;c=v[a+32788>>2]|(e&255)<>2]=c;if((d|0)<-3){continue}break}}b=n-5|0;v[a+32792>>2]=b;e=c>>5;v[a+32788>>2]=e;if((n|0)<=8){while(1){b=v[a+4>>2];e=Qa[v[v[b>>2]+28>>2]](b)|0;if((e|0)==-1){break j}g=v[a+32792>>2];b=g+8|0;v[a+32792>>2]=b;i=v[a+34108>>2];j=v[a+34104>>2]+1|0;i=j>>>0<1?i+1|0:i;v[a+34104>>2]=j;v[a+34108>>2]=i;e=v[a+32788>>2]|(e&255)<>2]=e;if((g|0)<-4){continue}break}}b=b-4|0;v[a+32792>>2]=b;d=e>>4;v[a+32788>>2]=d;c=c&31;if(c>>>0>29){break j}D=(h&31)+257|0;E=c+1|0;h=0;m=eb(C,0,76);g=(e&15)+3|0;while(1){if((b|0)<=2){while(1){b=v[a+4>>2];i=Qa[v[v[b>>2]+28>>2]](b)|0;if((i|0)==-1){v[m+(v[(h<<2)+1114192>>2]<<2)>>2]=-1;break j}e=v[a+32792>>2];b=e+8|0;v[a+32792>>2]=b;d=v[a+34108>>2];j=v[a+34104>>2]+1|0;d=j>>>0<1?d+1|0:d;v[a+34104>>2]=j;v[a+34108>>2]=d;d=v[a+32788>>2]|(i&255)<>2]=d;if((e|0)<-5){continue}break}}b=b-3|0;v[a+32792>>2]=b;c=d>>3;v[a+32788>>2]=c;v[m+(v[(h<<2)+1114192>>2]<<2)>>2]=d&7;e=(h|0)!=(g|0);d=c;h=h+1|0;if(e){continue}break}b=v[m+72>>2];c=v[m+68>>2];d=v[m+64>>2];e=v[m+60>>2];g=v[m+56>>2];h=v[m+52>>2];i=v[m+48>>2];j=v[m+44>>2];l=v[m+40>>2];n=v[m+36>>2];o=v[m+32>>2];p=v[m+28>>2];q=v[m+24>>2];r=v[m+20>>2];s=v[m+16>>2];y=v[m+12>>2];z=v[m+8>>2];A=v[m+4>>2];B=v[m>>2];B=(B|0)>0?B:0;A=(A|0)>(B|0)?A:B;z=(z|0)>(A|0)?z:A;y=(y|0)>(z|0)?y:z;s=(s|0)>(y|0)?s:y;r=(r|0)>(s|0)?r:s;q=(q|0)>(r|0)?q:r;p=(p|0)>(q|0)?p:q;o=(o|0)>(p|0)?o:p;n=(n|0)>(o|0)?n:o;l=(l|0)>(n|0)?l:n;j=(j|0)>(l|0)?j:l;i=(i|0)>(j|0)?i:j;h=(h|0)>(i|0)?h:i;g=(h|0)<(g|0)?g:h;e=(e|0)>(g|0)?e:g;d=(d|0)>(e|0)?d:e;c=(c|0)>(d|0)?c:d;o=(b|0)>(c|0)?b:c;p=1<1?p:1)<<2);if((o|0)<1){break l}}e=2;g=0;n=1;while(1){i=k+1|0;j=i&-4;l=i&3;h=0;while(1){if(v[m+(h<<2)>>2]==(n|0)){d=0;c=g;b=j;if(k>>>0>=3){while(1){d=c>>>3&1|(c>>>2&1|(c&2|(c<<2&4|d<<3)))<<1;c=c>>4;b=b-4|0;if(b){continue}break}}b=l;if(b){while(1){d=c&1|d<<1;c=c>>1;b=b-1|0;if(b){continue}break}}if((d|0)<(p|0)){while(1){b=(d<<2)+q|0;u[b+2>>1]=h;u[b>>1]=n;d=d+e|0;if((p|0)>(d|0)){continue}break}}g=g+1|0}h=h+1|0;if((h|0)!=19){continue}break}e=e<<1;g=g<<1;b=(n|0)!=(o|0);k=i;n=n+1|0;if(b){continue}break}}l=a+32796|0;g=D+E|0;m=-1<>2];m:{if((o|0)<=(c|0)){break m}while(1){b=v[a+4>>2];k=Qa[v[v[b>>2]+28>>2]](b)|0;if((k|0)==-1){c=v[a+32792>>2];break m}i=v[a+32792>>2];c=i+8|0;v[a+32792>>2]=c;b=v[a+34108>>2];j=v[a+34104>>2]+1|0;b=j>>>0<1?b+1|0:b;v[a+34104>>2]=j;v[a+34108>>2]=b;v[a+32788>>2]=v[a+32788>>2]|(k&255)<>2];i=((d&m)<<2)+q|0;b=x[i>>1];if(!b|(b|0)>(c|0)){break j}c=c-b|0;v[a+32792>>2]=c;d=d>>b;v[a+32788>>2]=d;k=g;n:{o:{p:{q:{r:{s:{b=x[i+2>>1];switch(b-16|0){case 2:break q;case 1:break r;case 0:break s;default:break p}}if((c|0)<=1){while(1){b=v[a+4>>2];d=Qa[v[v[b>>2]+28>>2]](b)|0;if((d|0)==-1){break j}j=v[a+32792>>2];c=j+8|0;v[a+32792>>2]=c;i=v[a+34108>>2];n=v[a+34104>>2]+1|0;i=n>>>0<1?i+1|0:i;v[a+34104>>2]=n;v[a+34108>>2]=i;d=v[a+32788>>2]|(d&255)<>2]=d;if((j|0)<-6){continue}break}}v[a+32792>>2]=c-2;v[a+32788>>2]=d>>2;c=d&3;if((g|0)<((c+h|0)+3|0)){break j}b=(h<<2)+a|0;v[b+32800>>2]=e;v[b+32796>>2]=e;v[b+32804>>2]=e;b=h+3|0;if(c){break o}break n}if((c|0)<=2){while(1){b=v[a+4>>2];i=Qa[v[v[b>>2]+28>>2]](b)|0;if((i|0)==-1){break j}e=v[a+32792>>2];c=e+8|0;v[a+32792>>2]=c;d=v[a+34108>>2];j=v[a+34104>>2]+1|0;d=j>>>0<1?d+1|0:d;v[a+34104>>2]=j;v[a+34108>>2]=d;d=v[a+32788>>2]|(i&255)<>2]=d;if((e|0)<-5){continue}break}}v[a+32792>>2]=c-3;v[a+32788>>2]=d>>3;c=d&7;b=(c+h|0)+3|0;if((b|0)>(g|0)){break j}e=0;eb(((h<<2)+a|0)+32796|0,0,(c<<2)+12|0);break n}if((c|0)<=6){while(1){b=v[a+4>>2];i=Qa[v[v[b>>2]+28>>2]](b)|0;if((i|0)==-1){break j}e=v[a+32792>>2];c=e+8|0;v[a+32792>>2]=c;b=v[a+34108>>2];j=v[a+34104>>2]+1|0;b=j>>>0<1?b+1|0:b;v[a+34104>>2]=j;v[a+34108>>2]=b;d=v[a+32788>>2]|(i&255)<>2]=d;if((e|0)<-1){continue}break}}v[a+32792>>2]=c-7;v[a+32788>>2]=d>>7;c=d&127;b=(c+h|0)+11|0;if((b|0)>(g|0)){break j}e=0;eb(((h<<2)+a|0)+32796|0,0,(c<<2)+44|0);break n}v[((h<<2)+a|0)+32796>>2]=b;e=b;b=h+1|0;break n}v[((b<<2)+a|0)+32796>>2]=e;d=h+4|0;b=d;if((c|0)==1){break n}v[((d<<2)+a|0)+32796>>2]=e;d=h+5|0;b=d;if((c|0)!=3){break n}v[((d<<2)+a|0)+32796>>2]=e;b=h+6|0}h=b;if((k|0)>(b|0)){continue}break}nU(l,D,a+34068|0);nU(((D<<2)+a|0)+32796|0,E,a+34076|0);b=1;break i}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,257013,0);b=0}tb(q);Ma=C+80|0;c=0;if(b){break f}}f=0;fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,256895,0);v[a+34096>>2]=1;c=1}v[F+34092>>2]=c}if(!f){break a}}t:{u:{if(v[a+34084>>2]){c=v[a+32792>>2];f=v[a+34072>>2];v:{if((c|0)>=(f|0)){break v}while(1){f=v[a+4>>2];b=Qa[v[v[f>>2]+28>>2]](f)|0;if((b|0)==-1){c=v[a+32792>>2];f=v[a+34072>>2];break v}d=v[a+32792>>2];c=d+8|0;v[a+32792>>2]=c;i=v[a+34108>>2];e=v[a+34104>>2]+1|0;i=e>>>0<1?i+1|0:i;v[a+34104>>2]=e;v[a+34108>>2]=i;v[a+32788>>2]=v[a+32788>>2]|(b&255)<>2];if((f|0)>(c|0)){continue}break}}e=256974;if(!c){break t}g=v[a+34068>>2];b=v[a+32788>>2];d=b&(-1<>1];if(!f|(c|0)<(f|0)){break t}c=c-f|0;v[a+32792>>2]=c;f=b>>f;v[a+32788>>2]=f;b=x[(g+(d<<2)|0)+2>>1];if(b>>>0<=255){t[(v[a+32780>>2]+a|0)+12|0]=b;f=1;v[a+32784>>2]=1;break u}if((b|0)==256){f=0;v[a+32784>>2]=0;v[a+34092>>2]=1;break u}g=b-257<<3;k=v[g+1114272>>2];w:{if((k|0)<1){b=f;break w}if((c|0)<(k|0)){while(1){f=v[a+4>>2];b=Qa[v[v[f>>2]+28>>2]](f)|0;if((b|0)==-1){break t}h=v[a+32792>>2];c=h+8|0;v[a+32792>>2]=c;d=v[a+34108>>2];i=v[a+34104>>2]+1|0;d=i>>>0<1?d+1|0:d;v[a+34104>>2]=i;v[a+34108>>2]=d;f=v[a+32788>>2]|(b&255)<>2]=f;if((c|0)<(k|0)){continue}break}}c=c-k|0;v[a+32792>>2]=c;b=f>>k;v[a+32788>>2]=b;k=(-1<>2];f=v[a+34080>>2];x:{if((f|0)<=(c|0)){break x}while(1){f=v[a+4>>2];d=Qa[v[v[f>>2]+28>>2]](f)|0;if((d|0)==-1){b=v[a+32788>>2];c=v[a+32792>>2];f=v[a+34080>>2];break x}g=v[a+32792>>2];c=g+8|0;v[a+32792>>2]=c;b=v[a+34108>>2];h=v[a+34104>>2]+1|0;b=h>>>0<1?b+1|0:b;v[a+34104>>2]=h;v[a+34108>>2]=b;b=v[a+32788>>2]|(d&255)<>2]=b;f=v[a+34080>>2];if((f|0)>(c|0)){continue}break}}if(!c){break t}g=v[a+34076>>2];d=(-1<>1];if(!f|(c|0)<(f|0)){break t}c=c-f|0;v[a+32792>>2]=c;f=b>>f;v[a+32788>>2]=f;b=x[(g+(d<<2)|0)+2>>1]<<3;d=v[b+1114528>>2];if((d|0)>=1){if((c|0)<(d|0)){while(1){f=v[a+4>>2];g=Qa[v[v[f>>2]+28>>2]](f)|0;if((g|0)==-1){break t}h=v[a+32792>>2];c=h+8|0;v[a+32792>>2]=c;i=v[a+34108>>2];j=v[a+34104>>2]+1|0;i=j>>>0<1?i+1|0:i;v[a+34104>>2]=j;v[a+34108>>2]=i;f=v[a+32788>>2]|(g&255)<>2]=f;if((c|0)<(d|0)){continue}break}}v[a+32792>>2]=c-d;v[a+32788>>2]=f>>d;d=(-1<>2];l=c-(v[b+1114532>>2]+d|0)|0;e=l&32767;i=f+e|0;j=c+f|0;y:{if((j|0)<=32768){if((i|0)<=32768){if((f|0)<1){break y}d=f&3;b=0;if(f-1>>>0>=3){g=f&-4;h=a+12|0;while(1){t[h+(b+c|0)|0]=w[h+(b+e|0)|0];k=b|1;t[h+(k+c|0)|0]=w[h+(e+k|0)|0];k=b|2;t[h+(k+c|0)|0]=w[h+(e+k|0)|0];k=b|3;t[h+(k+c|0)|0]=w[h+(e+k|0)|0];b=b+4|0;g=g-4|0;if(g){continue}break}}if(!d){break y}g=a+12|0;while(1){t[g+(b+c|0)|0]=w[g+(b+e|0)|0];b=b+1|0;d=d-1|0;if(d){continue}break}break y}j=32768-e|0;g=j&3;b=0;if((e^32767)>>>0>=3){d=j&65532;h=a+12|0;while(1){t[h+(b+c|0)|0]=w[h+(b+e|0)|0];l=b|1;t[h+(l+c|0)|0]=w[h+(e+l|0)|0];l=b|2;t[h+(l+c|0)|0]=w[h+(e+l|0)|0];l=b|3;t[h+(l+c|0)|0]=w[h+(e+l|0)|0];b=b+4|0;d=d-4|0;if(d){continue}break}}if(g){d=a+12|0;while(1){t[d+(b+c|0)|0]=w[d+(b+e|0)|0];b=b+1|0;g=g-1|0;if(g){continue}break}}if((f|0)<=(j|0)){break y}g=c+j|0;d=i&3;c=0;if((e+(k+o|0)|0)-32769>>>0>=3){k=i-32768&-4;b=a+12|0;while(1){t[b+(c+g|0)|0]=w[b+c|0];e=c|1;t[b+(e+g|0)|0]=w[b+e|0];e=c|2;t[b+(e+g|0)|0]=w[b+e|0];e=c|3;t[b+(e+g|0)|0]=w[b+e|0];c=c+4|0;k=k-4|0;if(k){continue}break}}if(!d){break y}b=a+12|0;while(1){t[b+(c+g|0)|0]=w[b+c|0];c=c+1|0;d=d-1|0;if(d){continue}break}break y}if((i|0)<=32768){i=32768-c|0;z:{if((c|0)>32767){break z}d=(i|0)>1?i:1;g=d&3;b=0;if(d-1>>>0>=3){d=d&2147483644;h=a+12|0;while(1){t[h+(b+c|0)|0]=w[h+(b+e|0)|0];l=b|1;t[h+(l+c|0)|0]=w[h+(e+l|0)|0];l=b|2;t[h+(l+c|0)|0]=w[h+(e+l|0)|0];l=b|3;t[h+(l+c|0)|0]=w[h+(e+l|0)|0];b=b+4|0;d=d-4|0;if(d){continue}break}}if(!g){break z}d=a+12|0;while(1){t[d+(b+c|0)|0]=w[d+(b+e|0)|0];b=b+1|0;g=g-1|0;if(g){continue}break}}if((f|0)<=(i|0)){break y}g=e+i|0;d=j&3;e=0;if((c+(k+o|0)|0)-32769>>>0>=3){k=j-32768&-4;b=a+12|0;while(1){t[b+e|0]=w[b+(e+g|0)|0];c=e|1;t[c+b|0]=w[b+(c+g|0)|0];c=e|2;t[c+b|0]=w[b+(c+g|0)|0];c=e|3;t[c+b|0]=w[b+(c+g|0)|0];e=e+4|0;k=k-4|0;if(k){continue}break}}if(!d){break y}b=a+12|0;while(1){t[b+e|0]=w[b+(e+g|0)|0];e=e+1|0;d=d-1|0;if(d){continue}break}break y}if((c|0)>(e|0)){h=c-e|0;l=j-h|0;j=32768-c|0;A:{if((c|0)>32767){break A}g=(j|0)>1?j:1;d=g&3;b=0;if(g-1>>>0>=3){g=g&2147483644;i=a+12|0;while(1){t[i+(b+c|0)|0]=w[i+(b+e|0)|0];m=b|1;t[i+(m+c|0)|0]=w[i+(e+m|0)|0];m=b|2;t[i+(m+c|0)|0]=w[i+(e+m|0)|0];m=b|3;t[i+(m+c|0)|0]=w[i+(e+m|0)|0];b=b+4|0;g=g-4|0;if(g){continue}break}}if(!d){break A}g=a+12|0;while(1){t[g+(b+c|0)|0]=w[g+(b+e|0)|0];b=b+1|0;d=d-1|0;if(d){continue}break}}l=l-32768|0;B:{if((h|0)<1){break B}i=e+j|0;d=h&3;b=0;if(c+(e^-1)>>>0>=3){g=h&-4;c=a+12|0;while(1){t[b+c|0]=w[c+(b+i|0)|0];j=b|1;t[j+c|0]=w[c+(i+j|0)|0];j=b|2;t[j+c|0]=w[c+(i+j|0)|0];j=b|3;t[j+c|0]=w[c+(i+j|0)|0];b=b+4|0;g=g-4|0;if(g){continue}break}}if(!d){break B}c=a+12|0;while(1){t[b+c|0]=w[c+(b+i|0)|0];b=b+1|0;d=d-1|0;if(d){continue}break}}if((l|0)<1){break y}b=l&3;c=0;if((e+(k+o|0)|0)-32769>>>0>=3){k=l&-4;d=a+12|0;while(1){t[d+(c+h|0)|0]=w[c+d|0];e=c|1;t[d+(e+h|0)|0]=w[d+e|0];e=c|2;t[d+(e+h|0)|0]=w[d+e|0];e=c|3;t[d+(e+h|0)|0]=w[d+e|0];c=c+4|0;k=k-4|0;if(k){continue}break}}if(!b){break y}d=a+12|0;while(1){t[d+(c+h|0)|0]=w[c+d|0];c=c+1|0;b=b-1|0;if(b){continue}break}break y}i=32768-e|0;d=i&3;b=0;if((e^32767)>>>0>=3){g=i&65532;h=a+12|0;while(1){t[h+(b+c|0)|0]=w[h+(b+e|0)|0];j=b|1;t[h+(j+c|0)|0]=w[h+(e+j|0)|0];j=b|2;t[h+(j+c|0)|0]=w[h+(e+j|0)|0];j=b|3;t[h+(j+c|0)|0]=w[h+(e+j|0)|0];b=b+4|0;g=g-4|0;if(g){continue}break}}if(d){g=a+12|0;while(1){t[g+(b+c|0)|0]=w[g+(b+e|0)|0];b=b+1|0;d=d-1|0;if(d){continue}break}}m=l|-32768;h=e-c|0;j=m+(f-h|0)|0;C:{if((h|0)<1){break C}i=c+i|0;g=h&3;b=0;if(e+(c^-1)>>>0>=3){l=h&-4;d=a+12|0;while(1){t[d+(b+i|0)|0]=w[b+d|0];n=b|1;t[d+(n+i|0)|0]=w[d+n|0];n=b|2;t[d+(n+i|0)|0]=w[d+n|0];n=b|3;t[d+(n+i|0)|0]=w[d+n|0];b=b+4|0;l=l-4|0;if(l){continue}break}}if(!g){break C}d=a+12|0;while(1){t[d+(b+i|0)|0]=w[b+d|0];b=b+1|0;g=g-1|0;if(g){continue}break}}if((j|0)<1){break y}d=j&3;b=0;if((m+(c+(k+o|0)|0)|0)+(e^-1)>>>0>=3){e=j&-4;c=a+12|0;while(1){t[b+c|0]=w[c+(b+h|0)|0];g=b|1;t[g+c|0]=w[c+(h+g|0)|0];g=b|2;t[g+c|0]=w[c+(h+g|0)|0];g=b|3;t[g+c|0]=w[c+(h+g|0)|0];b=b+4|0;e=e-4|0;if(e){continue}break}}if(!d){break y}c=a+12|0;while(1){t[b+c|0]=w[c+(b+h|0)|0];b=b+1|0;d=d-1|0;if(d){continue}break}}v[a+32784>>2]=f;break u}f=v[a+34088>>2];d=(f|0)<32768?f:32768;D:{if((f|0)<1){f=0;break D}b=(d|0)>1?d:1;c=v[a+32780>>2];f=0;while(1){e=v[a+4>>2];e=Qa[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){v[a+34092>>2]=1;v[a+34096>>2]=1;break D}t[(a+c|0)+12|0]=e;c=c+1&32767;f=f+1|0;if((b|0)!=(f|0)){continue}break}f=b}v[a+32784>>2]=f;b=v[a+34088>>2]-d|0;v[a+34088>>2]=b;if(!b){v[a+34092>>2]=1}d=v[a+34108>>2];c=f;e=c+v[a+34104>>2]|0;v[a+34104>>2]=e;v[a+34108>>2]=c>>>0>e>>>0?d+1|0:d}d=f;e=d+v[a+34112>>2]|0;b=v[a+34116>>2]+(d>>31)|0;b=d>>>0>e>>>0?b+1|0:b;d=e;f=b;v[a+34112>>2]=d;v[a+34116>>2]=b;if(!b&d>>>0<50000001){break a}e=257095;c=v[a+34104>>2];b=v[a+34108>>2];f=z3a(d,f,250,0);d=Pa;if((d|0)==(b|0)&c>>>0>=f>>>0|b>>>0>d>>>0){break a}}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,e,0);v[a+34092>>2]=1;v[a+34096>>2]=1;v[a+32784>>2]=0}}function AAa(a,b){a=a|0;b=b|0;var 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,u=0,w=0,x=0;c=v[a+20>>2];if((c|0)!=100){d=v[a>>2];v[d+24>>2]=c;v[d+20>>2]=21;Qa[v[v[a>>2]>>2]](a)}if(b){AI(a,0)}Qa[v[v[a>>2]+16>>2]](a);Qa[v[v[a+24>>2]+8>>2]](a);k=Ma-2608|0;Ma=k;i=Qa[v[v[a+4>>2]>>2]](a,1,36)|0;v[a+388>>2]=i;v[i+16>>2]=0;v[i+8>>2]=281;v[i+4>>2]=282;v[i>>2]=283;if(!(y[a+32>>2]<16777216&y[a+28>>2]<=16777215)){b=v[a>>2];v[b+20>>2]=42;v[b+24>>2]=65500;Qa[v[v[a>>2]>>2]](a)}d=v[a+56>>2];c=v[a+376>>2];e=B(c,v[a+60>>2]);a:{if(d>>>0>=e>>>0){v[a+64>>2]=B(c,v[a+28>>2]);b=1;c=B(c,v[a+32>>2]);break a}if(e>>>0<=d<<1>>>0){b=2;v[a+64>>2]=(B(c,v[a+28>>2])+1|0)/2;c=(B(v[a+376>>2],v[a+32>>2])+1|0)/2|0;break a}b=3;if(e>>>0<=B(d,3)>>>0){v[a+64>>2]=(B(c,v[a+28>>2])+2|0)/3;c=(B(v[a+376>>2],v[a+32>>2])+2|0)/3|0;break a}if(e>>>0<=d<<2>>>0){b=4;v[a+64>>2]=(B(c,v[a+28>>2])+3|0)/4;c=(B(v[a+376>>2],v[a+32>>2])+3|0)/4|0;break a}b=5;if(e>>>0<=B(d,5)>>>0){v[a+64>>2]=(B(c,v[a+28>>2])+4|0)/5;c=(B(v[a+376>>2],v[a+32>>2])+4|0)/5|0;break a}b=6;if(e>>>0<=B(d,6)>>>0){v[a+64>>2]=(B(c,v[a+28>>2])+5|0)/6;c=(B(v[a+376>>2],v[a+32>>2])+5|0)/6|0;break a}b=7;if(e>>>0<=B(d,7)>>>0){v[a+64>>2]=(B(c,v[a+28>>2])+6|0)/7;c=(B(v[a+376>>2],v[a+32>>2])+6|0)/7|0;break a}if(e>>>0<=d<<3>>>0){b=8;v[a+64>>2]=(B(c,v[a+28>>2])+7|0)/8;c=(B(v[a+376>>2],v[a+32>>2])+7|0)/8|0;break a}b=9;if(e>>>0<=B(d,9)>>>0){v[a+64>>2]=(B(c,v[a+28>>2])+8|0)/9;c=(B(v[a+376>>2],v[a+32>>2])+8|0)/9|0;break a}b=10;if(e>>>0<=B(d,10)>>>0){v[a+64>>2]=(B(c,v[a+28>>2])+9|0)/10;c=(B(v[a+376>>2],v[a+32>>2])+9|0)/10|0;break a}b=11;if(e>>>0<=B(d,11)>>>0){v[a+64>>2]=(B(c,v[a+28>>2])+10|0)/11;c=(B(v[a+376>>2],v[a+32>>2])+10|0)/11|0;break a}b=12;if(e>>>0<=B(d,12)>>>0){v[a+64>>2]=(B(c,v[a+28>>2])+11|0)/12;c=(B(v[a+376>>2],v[a+32>>2])+11|0)/12|0;break a}b=13;if(e>>>0<=B(d,13)>>>0){v[a+64>>2]=(B(c,v[a+28>>2])+12|0)/13;c=(B(v[a+376>>2],v[a+32>>2])+12|0)/13|0;break a}b=14;if(e>>>0<=B(d,14)>>>0){v[a+64>>2]=(B(c,v[a+28>>2])+13|0)/14;c=(B(v[a+376>>2],v[a+32>>2])+13|0)/14|0;break a}c=B(c,v[a+28>>2]);b=15;if(e>>>0<=B(d,15)>>>0){v[a+64>>2]=(c+14|0)/15;c=(B(v[a+376>>2],v[a+32>>2])+14|0)/15|0;break a}b=16;v[a+64>>2]=(c+15|0)/16;c=(B(v[a+376>>2],v[a+32>>2])+15|0)/16|0}v[a+280>>2]=b;v[a+276>>2]=b;v[a+68>>2]=c;c=a;b=v[a+376>>2];if(b-1>>>0>=16){d=v[a>>2];v[d+24>>2]=b;v[d+20>>2]=7;v[v[a>>2]+28>>2]=v[a+376>>2];Qa[v[v[a>>2]>>2]](a);b=v[a+376>>2]}d=b-2|0;if(d>>>0<=5){d=v[(d<<2)+74180>>2]}else{d=70032}v[c+380>>2]=d;v[a+384>>2]=(b|0)<8?B(b,b)-1|0:63;b=v[a+68>>2];b:{if(!(!b|!v[a+64>>2]|v[a+76>>2]<1)){if(v[a+36>>2]>0){break b}}b=v[a>>2];v[b+20>>2]=33;Qa[v[b>>2]](a);b=v[a+68>>2]}if(!(v[a+64>>2]<65501&(b|0)<=65500)){b=v[a>>2];v[b+20>>2]=42;v[b+24>>2]=65500;Qa[v[v[a>>2]>>2]](a)}b=v[a+72>>2];if((b|0)!=8){c=v[a>>2];v[c+24>>2]=b;v[c+20>>2]=16;Qa[v[v[a>>2]>>2]](a)}e=v[a+76>>2];if((e|0)>=11){b=v[a>>2];v[b+24>>2]=e;v[b+20>>2]=27;v[v[a>>2]+28>>2]=10;Qa[v[v[a>>2]>>2]](a);e=v[a+76>>2]}v[a+268>>2]=1;v[a+272>>2]=1;f=1;c:{if((e|0)<1){break c}b=v[a+84>>2];h=1;while(1){d=v[b+8>>2];d:{if(d-1>>>0<=3){c=v[b+12>>2];if(c-1>>>0<4){break d}}c=v[a>>2];v[c+20>>2]=19;Qa[v[c>>2]](a);e=v[a+76>>2];c=v[b+12>>2];f=v[a+272>>2];d=v[b+8>>2];h=v[a+268>>2]}f=(c|0)<(f|0)?f:c;v[a+272>>2]=f;h=(d|0)<(h|0)?h:d;v[a+268>>2]=h;b=b+88|0;g=g+1|0;if((g|0)<(e|0)){continue}break}if((e|0)<1){break c}b=v[a+84>>2];h=0;while(1){v[b+4>>2]=h;c=v[a+276>>2];g=v[a+224>>2]?8:4;e:{if((c|0)>(g|0)){d=c;break e}e=v[a+268>>2];j=v[b+8>>2];if((e|0)%(j<<1)|0){d=c;break e}f=2;while(1){d=B(c,f);if((g|0)<(d|0)){break e}f=f<<1;if(!((e|0)%(B(j,f)|0)|0)){continue}break}}v[b+36>>2]=d;e=v[a+280>>2];f:{if((e|0)>(g|0)){c=e;break f}j=v[a+272>>2];n=v[b+12>>2];if((j|0)%(n<<1)|0){c=e;break f}f=2;while(1){c=B(e,f);if((g|0)<(c|0)){break f}f=f<<1;if(!((j|0)%(B(n,f)|0)|0)){continue}break}}v[b+40>>2]=c;e=c<<1;g:{if((e|0)<(d|0)){v[b+36>>2]=e;break g}e=c;c=d<<1;if((e|0)<=(c|0)){break g}v[b+40>>2]=c}c=B(v[a+376>>2],v[a+268>>2]);v[b+28>>2]=((c+B(v[b+8>>2],v[a+64>>2])|0)-1|0)/(c|0);c=B(v[a+376>>2],v[a+272>>2]);v[b+32>>2]=((c+B(v[b+12>>2],v[a+68>>2])|0)-1|0)/(c|0);c=B(v[a+376>>2],v[a+268>>2]);v[b+44>>2]=((c+B(v[b+36>>2],B(v[b+8>>2],v[a+64>>2]))|0)-1|0)/(c|0);c=B(v[a+376>>2],v[a+272>>2]);c=((c+B(v[b+40>>2],B(v[b+12>>2],v[a+68>>2]))|0)-1|0)/(c|0)|0;v[b+52>>2]=1;v[b+48>>2]=c;b=b+88|0;h=h+1|0;if((h|0)>2]){continue}break}f=v[a+272>>2]}b=B(v[a+376>>2],f);v[a+284>>2]=((b+v[a+68>>2]|0)-1|0)/(b|0);g=v[a+204>>2];h:{if(g){if(v[a+200>>2]<=0){b=v[a>>2];v[b+20>>2]=20;v[b+24>>2]=0;Qa[v[v[a>>2]>>2]](a);g=v[a+204>>2]}i:{if(!(v[g+24>>2]==63?!v[g+20>>2]:0)){h=1;v[a+264>>2]=1;f=v[a+76>>2];if((f|0)<1){break i}eb(k,255,f<<8);break i}h=0;v[a+264>>2]=0;f=v[a+76>>2];if((f|0)<1){break i}eb(k+2560|0,0,f<<2)}b=1;if(v[a+200>>2]>=1){while(1){d=b;j:{k:{n=v[g>>2];if(n-1>>>0<4){break k}b=v[a>>2];v[b+24>>2]=n;v[b+20>>2]=27;v[v[a>>2]+28>>2]=4;Qa[v[v[a>>2]>>2]](a);if((n|0)>=1){break k}h=0;break j}b=v[g+4>>2];if(!((b|0)>=0&(b|0)>2])){b=v[a>>2];v[b+24>>2]=d;v[b+20>>2]=20;Qa[v[v[a>>2]>>2]](a)}b=1;h=1;if((n|0)==1){break j}while(1){e=(b<<2)+g|0;c=v[e+4>>2];if(!((c|0)>=0&(c|0)>2])){f=v[a>>2];v[f+24>>2]=d;v[f+20>>2]=20;Qa[v[v[a>>2]>>2]](a)}if((c|0)<=v[e>>2]){c=v[a>>2];v[c+24>>2]=d;v[c+20>>2]=20;Qa[v[v[a>>2]>>2]](a)}b=b+1|0;if((n|0)!=(b|0)){continue}break}}f=v[g+32>>2];q=v[g+28>>2];j=v[g+24>>2];e=v[g+20>>2];l:{if(v[a+264>>2]){m:{n:{if((e|0)>(j|0)|e>>>0>63|((q|0)<0|(j|0)>63)){break n}if((f|0)<0|(q|0)>10){break n}if((f|0)<11){break m}}b=v[a>>2];v[b+24>>2]=d;v[b+20>>2]=18;Qa[v[v[a>>2]>>2]](a)}o:{p:{if(!e){if(j){break p}break o}if((n|0)==1){break o}}b=v[a>>2];v[b+24>>2]=d;v[b+20>>2]=18;Qa[v[v[a>>2]>>2]](a)}if(!h){break l}r=q-1|0;c=e+1|0;p=j-e|0;u=p+1&1;s=0;while(1){h=v[((s<<2)+g|0)+4>>2];if(!(!e|v[k+(h<<8)>>2]>-1)){b=v[a>>2];v[b+24>>2]=d;v[b+20>>2]=18;Qa[v[v[a>>2]>>2]](a)}q:{if((e|0)>(j|0)){break q}b=e;if(!q){if((f|0)!=(r|0)){if(u){b=(k+(h<<8)|0)+(e<<2)|0;if(v[b>>2]>=0){l=v[a>>2];v[l+24>>2]=d;v[l+20>>2]=18;Qa[v[v[a>>2]>>2]](a)}v[b>>2]=f;b=c}if(!p){break q}while(1){l=k+(h<<8)|0;m=l+(b<<2)|0;if(v[m>>2]>=0){o=v[a>>2];v[o+24>>2]=d;v[o+20>>2]=18;Qa[v[v[a>>2]>>2]](a)}v[m>>2]=f;m=b+1|0;l=l+(m<<2)|0;if(v[l>>2]>=0){o=v[a>>2];v[o+24>>2]=d;v[o+20>>2]=18;Qa[v[v[a>>2]>>2]](a)}v[l>>2]=f;b=b+2|0;if((j|0)!=(m|0)){continue}break}break q}if(u){b=(k+(h<<8)|0)+(e<<2)|0;if(v[b>>2]>=1){l=v[a>>2];v[l+24>>2]=d;v[l+20>>2]=18;Qa[v[v[a>>2]>>2]](a)}v[b>>2]=f;b=c}if(!p){break q}while(1){l=k+(h<<8)|0;m=l+(b<<2)|0;if(v[m>>2]>=1){o=v[a>>2];v[o+24>>2]=d;v[o+20>>2]=18;Qa[v[v[a>>2]>>2]](a)}v[m>>2]=f;m=b+1|0;l=l+(m<<2)|0;if(v[l>>2]>=1){o=v[a>>2];v[o+24>>2]=d;v[o+20>>2]=18;Qa[v[v[a>>2]>>2]](a)}v[l>>2]=f;b=b+2|0;if((j|0)!=(m|0)){continue}break}break q}while(1){l=(k+(h<<8)|0)+(b<<2)|0;m=v[l>>2];if(!(!((m|0)<0|(m|0)!=(q|0))&(f|0)==(r|0))){m=v[a>>2];v[m+24>>2]=d;v[m+20>>2]=18;Qa[v[v[a>>2]>>2]](a)}v[l>>2]=f;l=(b|0)!=(j|0);b=b+1|0;if(l){continue}break}}s=s+1|0;if((n|0)!=(s|0)){continue}break}break l}r:{if(!(q|((j|0)!=63|e))){if(!f){break r}}b=v[a>>2];v[b+24>>2]=d;v[b+20>>2]=18;Qa[v[v[a>>2]>>2]](a)}b=0;if(!h){break l}while(1){c=(k+2560|0)+(v[((b<<2)+g|0)+4>>2]<<2)|0;if(v[c>>2]){e=v[a>>2];v[e+24>>2]=d;v[e+20>>2]=20;Qa[v[v[a>>2]>>2]](a)}v[c>>2]=1;b=b+1|0;if((n|0)!=(b|0)){continue}break}}b=d+1|0;g=g+36|0;if((d|0)>2]){continue}break}h=v[a+264>>2];f=v[a+76>>2]}s:{if(h){b=0;if((f|0)<=0){break s}while(1){if(v[k+(b<<8)>>2]<=-1){c=v[a>>2];v[c+20>>2]=46;Qa[v[c>>2]](a);f=v[a+76>>2]}b=b+1|0;if((f|0)>(b|0)){continue}break}break s}b=0;if((f|0)<=0){break s}while(1){if(!v[(k+2560|0)+(b<<2)>>2]){c=v[a>>2];v[c+20>>2]=46;Qa[v[c>>2]](a);f=v[a+76>>2]}b=b+1|0;if((f|0)>(b|0)){continue}break}}if(v[a+376>>2]>7){break h}f=0;if(v[a+200>>2]<1){v[a+200>>2]=0;break h}e=v[a+204>>2];b=0;while(1){if((b|0)!=(f|0)){d=e+B(f,36)|0;g=v[d+4>>2];c=e+B(b,36)|0;v[c>>2]=v[d>>2];v[c+4>>2]=g;v[c+32>>2]=v[d+32>>2];g=v[d+28>>2];v[c+24>>2]=v[d+24>>2];v[c+28>>2]=g;g=v[d+20>>2];v[c+16>>2]=v[d+16>>2];v[c+20>>2]=g;g=v[d+12>>2];v[c+8>>2]=v[d+8>>2];v[c+12>>2]=g}d=v[a+384>>2];c=e+B(b,36)|0;if((d|0)>=v[c+20>>2]){if((d|0)>2]){v[c+24>>2]=d}b=b+1|0}f=f+1|0;if((f|0)>2]){continue}break}v[a+200>>2]=b;break h}v[a+200>>2]=1;v[a+264>>2]=0}if(!(v[a+212>>2]|!v[a+264>>2]&v[a+376>>2]>7)){v[a+216>>2]=1}b=i;d=b;v[b+20>>2]=0;c=v[a+216>>2];v[b+24>>2]=0;v[b+32>>2]=0;b=v[a+200>>2]<<1;t:{if(c){break t}b=v[a+200>>2]}v[d+28>>2]=b;Ma=k+2608|0;if(!v[a+208>>2]){b=Qa[v[v[a+4>>2]>>2]](a,1,12)|0;v[a+408>>2]=b;v[b>>2]=284;u:{v:{w:{switch(v[a+40>>2]-1|0){case 0:if(v[a+36>>2]!=1){break v}break u;case 1:case 2:if(v[a+36>>2]!=3){break v}break u;case 3:case 4:if(v[a+36>>2]!=4){break v}break u;default:break w}}if(v[a+36>>2]>0){break u}}c=v[a>>2];v[c+20>>2]=10;Qa[v[c>>2]](a)}x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{c=v[a+80>>2];switch(c-1|0){case 4:break C;case 3:break D;case 2:break E;case 1:break F;case 0:break G;default:break B}}if(v[a+76>>2]!=1){c=v[a>>2];v[c+20>>2]=11;Qa[v[c>>2]](a)}H:{switch(v[a+40>>2]-1|0){case 0:v[b+4>>2]=285;break x;case 1:v[b+4>>2]=286;break A;case 2:v[b+4>>2]=285;break x;default:break H}}break z}if(v[a+76>>2]!=3){c=v[a>>2];v[c+20>>2]=11;Qa[v[c>>2]](a)}if(v[a+40>>2]==2){break y}break z}if(v[a+76>>2]!=3){c=v[a>>2];v[c+20>>2]=11;Qa[v[c>>2]](a)}I:{switch(v[a+40>>2]-2|0){case 0:v[b+4>>2]=289;break A;case 1:break y;default:break I}}break z}if(v[a+76>>2]!=4){c=v[a>>2];v[c+20>>2]=11;Qa[v[c>>2]](a)}if(v[a+40>>2]==4){break y}break z}if(v[a+76>>2]!=4){c=v[a>>2];v[c+20>>2]=11;Qa[v[c>>2]](a)}J:{switch(v[a+40>>2]-4|0){case 0:v[b+4>>2]=290;break A;case 1:break y;default:break J}}break z}if(!((c|0)==v[a+40>>2]&v[a+76>>2]==v[a+36>>2])){c=v[a>>2];v[c+20>>2]=28;Qa[v[c>>2]](a)}v[b+4>>2]=288;break x}v[b>>2]=287;break x}b=v[a>>2];v[b+20>>2]=28;Qa[v[b>>2]](a);break x}v[b+4>>2]=288}e=0;b=Qa[v[v[a+4>>2]>>2]](a,1,112)|0;v[a+412>>2]=b;v[b+8>>2]=0;v[b+4>>2]=298;v[b>>2]=299;if(v[a+220>>2]){c=v[a>>2];v[c+20>>2]=26;Qa[v[c>>2]](a)}K:{if(v[a+76>>2]<1){break K}n=b+102|0;q=b+92|0;g=b+12|0;s=b+52|0;c=v[a+84>>2];f=1;while(1){d=v[a+272>>2];h=v[a+268>>2];j=v[a+276>>2];r=v[c+36>>2];p=v[c+8>>2];k=e<<2;i=(B(v[c+40>>2],v[c+12>>2])|0)/v[a+280>>2]|0;v[k+s>>2]=i;j=(B(r,p)|0)/(j|0)|0;L:{if(!((j|0)!=(h|0)|(d|0)!=(i|0))){d=g+k|0;if(v[a+228>>2]){v[d>>2]=300;v[b+8>>2]=1;break L}v[d>>2]=301;break L}r=(h|0)!=j<<1;if(!(r|(d|0)!=(i|0))){v[g+k>>2]=302;f=0;break L}if(!((d|0)!=i<<1|r)){d=g+k|0;if(v[a+228>>2]){v[d>>2]=303;v[b+8>>2]=1;break L}v[d>>2]=304;break L}M:{u=h;h=(h|0)/(j|0)|0;if(u-B(h,j)|0){break M}j=d;d=(d|0)/(i|0)|0;if(j-B(d,i)|0){break M}v[g+k>>2]=305;t[e+q|0]=h;t[e+n|0]=d;f=0;break L}d=v[a>>2];v[d+20>>2]=39;Qa[v[d>>2]](a)}c=c+88|0;e=e+1|0;if((e|0)>2]){continue}break}if(f|!v[a+228>>2]){break K}b=v[a>>2];v[b+20>>2]=101;Qa[v[b+4>>2]](a,0)}c=0;e=0;f=0;h=Qa[v[v[a+4>>2]>>2]](a,1,64)|0;v[a+396>>2]=h;v[h>>2]=306;N:{if(v[v[a+412>>2]+8>>2]){v[h+4>>2]=307;i=v[a+272>>2];e=Qa[v[v[a+4>>2]>>2]](a,1,B(B(i,v[a+76>>2]),20))|0;if(v[a+76>>2]<1){break N}q=B(i,5);s=B(i,12);r=B(i,3);g=v[a+84>>2];if((i|0)<1){while(1){w=h+(c<<2)|0,x=cb((i<<2)+e|0,Qa[v[v[a+4>>2]+8>>2]](a,1,(B(v[a+268>>2],B(v[a+276>>2],v[g+28>>2]))|0)/v[g+8>>2]|0,r)|0,s),v[w+8>>2]=x;g=g+88|0;e=(q<<2)+e|0;c=c+1|0;if((c|0)>2]){continue}break}break N}u=i<<2;j=u;n=i<<1;d=i&-2;l=i&1;while(1){k=Qa[v[v[a+4>>2]+8>>2]](a,1,(B(v[a+268>>2],B(v[a+276>>2],v[g+28>>2]))|0)/v[g+8>>2]|0,r)|0;m=cb(e+u|0,k,s);c=0;b=d;if((i|0)!=1){while(1){p=c<<2;v[p+e>>2]=v[k+(c+n<<2)>>2];v[(c+j<<2)+e>>2]=v[k+p>>2];p=c|1;o=p<<2;v[o+e>>2]=v[k+(n+p<<2)>>2];v[(j+p<<2)+e>>2]=v[k+o>>2];c=c+2|0;b=b-2|0;if(b){continue}break}}if(l){b=c<<2;v[b+e>>2]=v[k+(c+n<<2)>>2];v[(c+j<<2)+e>>2]=v[b+k>>2]}v[(h+(f<<2)|0)+8>>2]=m;g=g+88|0;e=(q<<2)+e|0;f=f+1|0;if((f|0)>2]){continue}break}break N}v[h+4>>2]=308;if(v[a+76>>2]<1){break N}b=h+8|0;c=v[a+84>>2];while(1){w=b+(e<<2)|0,x=Qa[v[v[a+4>>2]+8>>2]](a,1,(B(v[a+268>>2],B(v[a+276>>2],v[c+28>>2]))|0)/v[c+8>>2]|0,v[a+272>>2])|0,v[w>>2]=x;c=c+88|0;e=e+1|0;if((e|0)>2]){continue}break}}}b=Qa[v[v[a+4>>2]>>2]](a,1,156)|0;v[a+416>>2]=b;v[b+84>>2]=0;v[b+88>>2]=0;v[b>>2]=309;v[b+92>>2]=0;v[b+96>>2]=0;v[b+140>>2]=0;v[b+144>>2]=0;v[b+148>>2]=0;v[b+152>>2]=0;O:{if(v[a+212>>2]){b=Qa[v[v[a+4>>2]>>2]](a,1,208)|0;v[a+420>>2]=b;v[b+8>>2]=346;v[b>>2]=347;eb(b+76|0,0,128);t[b+204|0]=113;break O}b=Qa[v[v[a+4>>2]>>2]](a,1,140)|0;v[a+420>>2]=b;v[b+44>>2]=0;v[b+48>>2]=0;v[b>>2]=353;v[b+52>>2]=0;v[b+56>>2]=0;v[b+60>>2]=0;v[b+64>>2]=0;v[b+68>>2]=0;v[b+72>>2]=0;v[b+76>>2]=0;v[b+80>>2]=0;v[b+84>>2]=0;v[b+88>>2]=0;v[b+92>>2]=0;v[b+96>>2]=0;v[b+100>>2]=0;v[b+104>>2]=0;if(v[a+264>>2]){v[b+136>>2]=0}}c=v[a+200>>2]<=1?v[a+216>>2]!=0:1;b=Qa[v[v[a+4>>2]>>2]](a,1,104)|0;v[a+400>>2]=b;v[b>>2]=362;P:{if(c){if(v[a+76>>2]<1){break P}e=b- -64|0;b=v[a+84>>2];d=0;while(1){c=v[b+8>>2];i=(c+v[b+28>>2]|0)-1|0;h=i-((i|0)%(c|0)|0)|0;c=v[b+12>>2];i=(c+v[b+32>>2]|0)-1|0;w=e+(d<<2)|0,x=Qa[v[v[a+4>>2]+20>>2]](a,1,0,h,i-((i|0)%(c|0)|0)|0,c)|0,v[w>>2]=x;b=b+88|0;d=d+1|0;if((d|0)>2]){continue}break}break P}c=Qa[v[v[a+4>>2]+4>>2]](a,1,1280)|0;v[b+64>>2]=0;v[b+24>>2]=c;v[b+60>>2]=c+1152;v[b+56>>2]=c+1024;v[b+52>>2]=c+896;v[b+48>>2]=c+768;v[b+44>>2]=c+640;v[b+40>>2]=c+512;v[b+36>>2]=c+384;v[b+32>>2]=c+256;v[b+28>>2]=c+128}d=0;b=Qa[v[v[a+4>>2]>>2]](a,1,64)|0;v[a+392>>2]=b;v[b>>2]=366;if(!(v[a+208>>2]|v[a+76>>2]<1)){c=b+24|0;b=v[a+84>>2];while(1){w=c+(d<<2)|0,x=Qa[v[v[a+4>>2]+8>>2]](a,1,B(v[b+36>>2],v[b+28>>2]),B(v[b+40>>2],v[b+12>>2]))|0,v[w>>2]=x;b=b+88|0;d=d+1|0;if((d|0)>2]){continue}break}}BY(a);Qa[v[v[a+4>>2]+24>>2]](a);Qa[v[v[a+404>>2]>>2]](a);Qa[v[v[a+388>>2]>>2]](a);v[a+260>>2]=0;v[a+20>>2]=v[a+208>>2]?102:101}function Gwa(a,b){a=a|0;b=b|0;var 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,w=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;A=Ma-256|0;Ma=A;e=v[a+420>>2];c=v[a+24>>2];v[e+112>>2]=v[c>>2];v[e+116>>2]=v[c+4>>2];if(!(v[e+36>>2]|!v[a+236>>2])){Bz(e,v[e+40>>2])}a:{b:{c:{d=v[a+360>>2];G=v[a+364>>2];h=(d|0)>(G|0);if(!h){H=v[b>>2];I=v[a+380>>2];r=v[a+372>>2];b=(G-d|0)+1|0;B=b&1;if((d|0)!=(G|0)){break c}b=d;break b}y=e+12|0;C=e+16|0;D=e+108|0;K=e+124|0;m=e+120|0;E=e+128|0;F=e+132|0;L=e+136|0;break a}m=b&-2;b=d;while(1){f=b<<2;c=u[(v[f+I>>2]<<1)+H>>1];g=c>>31;k=((g^c+g)&65535)>>>r|0;v[f+A>>2]=k;g=b+1|0;f=g<<2;c=u[(v[f+I>>2]<<1)+H>>1];w=c>>31;c=((w^c+w)&65535)>>>r|0;v[f+A>>2]=c;J=(c|0)==1?g:(k|0)==1?b:J;b=b+2|0;m=m-2|0;if(m){continue}break}}if(B){f=b<<2;c=u[(v[f+I>>2]<<1)+H>>1];g=c>>31;c=((g^c+g)&65535)>>>r|0;v[f+A>>2]=c;J=(c|0)==1?b:J}l=e;y=e+12|0;o=e;C=e+16|0;n=e;D=e+108|0;B=e;K=e+124|0;i=e;m=e+120|0;r=e;E=e+128|0;w=e;F=e+132|0;L=e+136|0;if(h){f=0;break a}s=v[e+136>>2]+v[w+132>>2]|0;f=0;while(1){k=d;M=d<<2;q=v[M+A>>2];d:{if(q){if(!((f|0)<16|(k|0)>(J|0))){while(1){g=f;b=0;e:{f:{g:{d=v[r+128>>2];switch(d|0){case 0:break e;case 1:break f;default:break g}}while(1){c=b;b=c+1|0;d=d>>1;if(d>>>0>1){continue}break}if(c>>>0<14){break f}d=v[i+120>>2];c=v[d>>2];v[c+20>>2]=41;Qa[v[c>>2]](d)}d=b<<4;c=v[B+124>>2];h:{if(v[n+108>>2]){c=v[((c<<2)+e|0)+92>>2]+(d<<2)|0;v[c>>2]=v[c>>2]+1;break h}c=v[((c<<2)+e|0)+60>>2];h=v[c+(d<<2)>>2];f=v[e+16>>2];j=t[(c+d|0)+1024|0];if(!j){d=v[i+120>>2];c=v[d>>2];v[c+20>>2]=41;Qa[v[c>>2]](d);if(v[n+108>>2]){break h}}f=f+j|0;d=v[l+12>>2]|(h&(-1<=8){while(1){c=v[e+112>>2];v[e+112>>2]=c+1;t[c|0]=d>>>16;c=v[e+116>>2]-1|0;v[e+116>>2]=c;if(!c){c=v[i+120>>2];j=v[c+24>>2];if(!(Qa[v[j+12>>2]](c)|0)){h=v[i+120>>2];c=v[h>>2];v[c+20>>2]=25;Qa[v[c>>2]](h)}v[e+112>>2]=v[j>>2];v[e+116>>2]=v[j+4>>2]}c=f;i:{if((d&16711680)!=16711680){break i}f=v[e+112>>2];v[e+112>>2]=f+1;t[f|0]=0;f=v[e+116>>2]-1|0;v[e+116>>2]=f;if(f){break i}f=v[i+120>>2];j=v[f+24>>2];if(!(Qa[v[j+12>>2]](f)|0)){h=v[i+120>>2];f=v[h>>2];v[f+20>>2]=25;Qa[v[f>>2]](h)}v[e+112>>2]=v[j>>2];v[e+116>>2]=v[j+4>>2]}f=c-8|0;d=d<<8;if((c|0)>15){continue}break}}v[l+12>>2]=d;v[o+16>>2]=f}if(!(v[n+108>>2]|!b)){c=v[o+16>>2]+b|0;b=v[l+12>>2]|(v[r+128>>2]&(-1<=8){while(1){d=v[e+112>>2];v[e+112>>2]=d+1;t[d|0]=b>>>16;d=v[e+116>>2]-1|0;v[e+116>>2]=d;if(!d){d=v[i+120>>2];h=v[d+24>>2];if(!(Qa[v[h+12>>2]](d)|0)){f=v[i+120>>2];d=v[f>>2];v[d+20>>2]=25;Qa[v[d>>2]](f)}v[e+112>>2]=v[h>>2];v[e+116>>2]=v[h+4>>2]}d=c;j:{if((b&16711680)!=16711680){break j}c=v[e+112>>2];v[e+112>>2]=c+1;t[c|0]=0;c=v[e+116>>2]-1|0;v[e+116>>2]=c;if(c){break j}c=v[i+120>>2];h=v[c+24>>2];if(!(Qa[v[h+12>>2]](c)|0)){f=v[i+120>>2];c=v[f>>2];v[c+20>>2]=25;Qa[v[c>>2]](f)}v[e+112>>2]=v[h>>2];v[e+116>>2]=v[h+4>>2]}c=d-8|0;b=b<<8;if((d|0)>15){continue}break}}v[l+12>>2]=b;v[o+16>>2]=c}v[r+128>>2]=0;k:{if(v[n+108>>2]){break k}h=v[w+132>>2];if(!h){break k}f=v[e+136>>2];b=0;while(1){if(!b){d=v[o+16>>2];b=v[l+12>>2]|(t[f|0]&1)<<23-d;c=d+1|0;if((d|0)>=7){while(1){d=v[e+112>>2];v[e+112>>2]=d+1;t[d|0]=b>>>16;d=v[e+116>>2]-1|0;v[e+116>>2]=d;if(!d){d=v[i+120>>2];z=v[d+24>>2];if(!(Qa[v[z+12>>2]](d)|0)){j=v[i+120>>2];d=v[j>>2];v[d+20>>2]=25;Qa[v[d>>2]](j)}v[e+112>>2]=v[z>>2];v[e+116>>2]=v[z+4>>2]}d=c;l:{if((b&16711680)!=16711680){break l}c=v[e+112>>2];v[e+112>>2]=c+1;t[c|0]=0;c=v[e+116>>2]-1|0;v[e+116>>2]=c;if(c){break l}c=v[i+120>>2];z=v[c+24>>2];if(!(Qa[v[z+12>>2]](c)|0)){j=v[i+120>>2];c=v[j>>2];v[c+20>>2]=25;Qa[v[c>>2]](j)}v[e+112>>2]=v[z>>2];v[e+116>>2]=v[z+4>>2]}c=d-8|0;b=b<<8;if((d|0)>15){continue}break}}v[l+12>>2]=b;v[o+16>>2]=c}h=h-1|0;if(!h){break k}f=f+1|0;b=v[n+108>>2];continue}}v[w+132>>2]=0}b=v[B+124>>2];m:{if(v[n+108>>2]){b=v[((b<<2)+e|0)+92>>2];v[b+960>>2]=v[b+960>>2]+1;break m}b=v[((b<<2)+e|0)+60>>2];f=v[b+960>>2];d=v[e+16>>2];h=t[b+1264|0];if(!h){c=v[i+120>>2];b=v[c>>2];v[b+20>>2]=41;Qa[v[b>>2]](c);if(v[n+108>>2]){break m}}c=d+h|0;b=v[l+12>>2]|(f&(-1<=8){while(1){d=v[e+112>>2];v[e+112>>2]=d+1;t[d|0]=b>>>16;d=v[e+116>>2]-1|0;v[e+116>>2]=d;if(!d){d=v[i+120>>2];j=v[d+24>>2];if(!(Qa[v[j+12>>2]](d)|0)){h=v[i+120>>2];d=v[h>>2];v[d+20>>2]=25;Qa[v[d>>2]](h)}v[e+112>>2]=v[j>>2];v[e+116>>2]=v[j+4>>2]}d=c;n:{if((b&16711680)!=16711680){break n}c=v[e+112>>2];v[e+112>>2]=c+1;t[c|0]=0;c=v[e+116>>2]-1|0;v[e+116>>2]=c;if(c){break n}c=v[i+120>>2];j=v[c+24>>2];if(!(Qa[v[j+12>>2]](c)|0)){h=v[i+120>>2];c=v[h>>2];v[c+20>>2]=25;Qa[v[c>>2]](h)}v[e+112>>2]=v[j>>2];v[e+116>>2]=v[j+4>>2]}c=d-8|0;b=b<<8;if((d|0)>15){continue}break}d=v[n+108>>2]}v[l+12>>2]=b;v[o+16>>2]=c;if(!p|d){break m}while(1){if(!f){d=v[o+16>>2];b=v[l+12>>2]|(t[s|0]&1)<<23-d;c=d+1|0;if((d|0)>=7){while(1){d=v[e+112>>2];v[e+112>>2]=d+1;t[d|0]=b>>>16;d=v[e+116>>2]-1|0;v[e+116>>2]=d;if(!d){d=v[i+120>>2];h=v[d+24>>2];if(!(Qa[v[h+12>>2]](d)|0)){f=v[i+120>>2];d=v[f>>2];v[d+20>>2]=25;Qa[v[d>>2]](f)}v[e+112>>2]=v[h>>2];v[e+116>>2]=v[h+4>>2]}d=c;o:{if((b&16711680)!=16711680){break o}c=v[e+112>>2];v[e+112>>2]=c+1;t[c|0]=0;c=v[e+116>>2]-1|0;v[e+116>>2]=c;if(c){break o}c=v[i+120>>2];h=v[c+24>>2];if(!(Qa[v[h+12>>2]](c)|0)){f=v[i+120>>2];c=v[f>>2];v[c+20>>2]=25;Qa[v[c>>2]](f)}v[e+112>>2]=v[h>>2];v[e+116>>2]=v[h+4>>2]}c=d-8|0;b=b<<8;if((d|0)>15){continue}break}}v[l+12>>2]=b;v[o+16>>2]=c}p=p-1|0;if(!p){break m}s=s+1|0;f=v[n+108>>2];continue}}f=g-16|0;s=v[e+136>>2];p=0;if((g|0)>31){continue}break}}if((q|0)>=2){t[p+s|0]=q&1;p=p+1|0;break d}b=0;p:{q:{r:{d=v[r+128>>2];switch(d|0){case 0:break p;case 1:break q;default:break r}}while(1){c=b;b=c+1|0;d=d>>1;if(d>>>0>1){continue}break}if(c>>>0<14){break q}d=v[i+120>>2];c=v[d>>2];v[c+20>>2]=41;Qa[v[c>>2]](d)}d=b<<4;c=v[B+124>>2];s:{if(v[n+108>>2]){c=v[((c<<2)+e|0)+92>>2]+(d<<2)|0;v[c>>2]=v[c>>2]+1;break s}c=v[((c<<2)+e|0)+60>>2];h=v[c+(d<<2)>>2];g=v[e+16>>2];j=t[(c+d|0)+1024|0];if(!j){d=v[i+120>>2];c=v[d>>2];v[c+20>>2]=41;Qa[v[c>>2]](d);if(v[n+108>>2]){break s}}c=h&(-1<>2]|c<<24-h;if((h|0)>=8){while(1){c=v[e+112>>2];v[e+112>>2]=c+1;t[c|0]=d>>>16;c=v[e+116>>2]-1|0;v[e+116>>2]=c;if(!c){c=v[i+120>>2];j=v[c+24>>2];if(!(Qa[v[j+12>>2]](c)|0)){g=v[i+120>>2];c=v[g>>2];v[c+20>>2]=25;Qa[v[c>>2]](g)}v[e+112>>2]=v[j>>2];v[e+116>>2]=v[j+4>>2]}c=h;t:{if((d&16711680)!=16711680){break t}g=v[e+112>>2];v[e+112>>2]=g+1;t[g|0]=0;g=v[e+116>>2]-1|0;v[e+116>>2]=g;if(g){break t}g=v[i+120>>2];j=v[g+24>>2];if(!(Qa[v[j+12>>2]](g)|0)){h=v[i+120>>2];g=v[h>>2];v[g+20>>2]=25;Qa[v[g>>2]](h)}v[e+112>>2]=v[j>>2];v[e+116>>2]=v[j+4>>2]}h=c-8|0;d=d<<8;if((c|0)>15){continue}break}}v[l+12>>2]=d;v[o+16>>2]=h}if(!(v[n+108>>2]|!b)){c=v[o+16>>2]+b|0;b=v[l+12>>2]|(v[r+128>>2]&(-1<=8){while(1){d=v[e+112>>2];v[e+112>>2]=d+1;t[d|0]=b>>>16;d=v[e+116>>2]-1|0;v[e+116>>2]=d;if(!d){d=v[i+120>>2];h=v[d+24>>2];if(!(Qa[v[h+12>>2]](d)|0)){g=v[i+120>>2];d=v[g>>2];v[d+20>>2]=25;Qa[v[d>>2]](g)}v[e+112>>2]=v[h>>2];v[e+116>>2]=v[h+4>>2]}d=c;u:{if((b&16711680)!=16711680){break u}c=v[e+112>>2];v[e+112>>2]=c+1;t[c|0]=0;c=v[e+116>>2]-1|0;v[e+116>>2]=c;if(c){break u}c=v[i+120>>2];h=v[c+24>>2];if(!(Qa[v[h+12>>2]](c)|0)){g=v[i+120>>2];c=v[g>>2];v[c+20>>2]=25;Qa[v[c>>2]](g)}v[e+112>>2]=v[h>>2];v[e+116>>2]=v[h+4>>2]}c=d-8|0;b=b<<8;if((d|0)>15){continue}break}}v[l+12>>2]=b;v[o+16>>2]=c}v[r+128>>2]=0;v:{if(v[n+108>>2]){break v}j=v[w+132>>2];if(!j){break v}h=v[e+136>>2];b=0;while(1){if(!b){d=v[o+16>>2];b=v[l+12>>2]|(t[h|0]&1)<<23-d;c=d+1|0;if((d|0)>=7){while(1){d=v[e+112>>2];v[e+112>>2]=d+1;t[d|0]=b>>>16;d=v[e+116>>2]-1|0;v[e+116>>2]=d;if(!d){d=v[i+120>>2];q=v[d+24>>2];if(!(Qa[v[q+12>>2]](d)|0)){g=v[i+120>>2];d=v[g>>2];v[d+20>>2]=25;Qa[v[d>>2]](g)}v[e+112>>2]=v[q>>2];v[e+116>>2]=v[q+4>>2]}d=c;w:{if((b&16711680)!=16711680){break w}c=v[e+112>>2];v[e+112>>2]=c+1;t[c|0]=0;c=v[e+116>>2]-1|0;v[e+116>>2]=c;if(c){break w}c=v[i+120>>2];q=v[c+24>>2];if(!(Qa[v[q+12>>2]](c)|0)){g=v[i+120>>2];c=v[g>>2];v[c+20>>2]=25;Qa[v[c>>2]](g)}v[e+112>>2]=v[q>>2];v[e+116>>2]=v[q+4>>2]}c=d-8|0;b=b<<8;if((d|0)>15){continue}break}}v[l+12>>2]=b;v[o+16>>2]=c}j=j-1|0;if(!j){break v}h=h+1|0;b=v[n+108>>2];continue}}v[w+132>>2]=0}c=f<<4|1;b=v[B+124>>2];x:{if(v[n+108>>2]){b=v[((b<<2)+e|0)+92>>2]+(c<<2)|0;v[b>>2]=v[b>>2]+1;break x}b=v[((b<<2)+e|0)+60>>2];f=v[b+(c<<2)>>2];d=v[e+16>>2];g=t[(b+c|0)+1024|0];if(!g){c=v[i+120>>2];b=v[c>>2];v[b+20>>2]=41;Qa[v[b>>2]](c);if(v[n+108>>2]){break x}}c=d+g|0;b=v[l+12>>2]|(f&(-1<>2]=b;v[o+16>>2]=c;break y}while(1){d=v[e+112>>2];v[e+112>>2]=d+1;t[d|0]=b>>>16;d=v[e+116>>2]-1|0;v[e+116>>2]=d;if(!d){d=v[i+120>>2];g=v[d+24>>2];if(!(Qa[v[g+12>>2]](d)|0)){f=v[i+120>>2];d=v[f>>2];v[d+20>>2]=25;Qa[v[d>>2]](f)}v[e+112>>2]=v[g>>2];v[e+116>>2]=v[g+4>>2]}d=c;z:{if((b&16711680)!=16711680){break z}c=v[e+112>>2];v[e+112>>2]=c+1;t[c|0]=0;c=v[e+116>>2]-1|0;v[e+116>>2]=c;if(c){break z}c=v[i+120>>2];g=v[c+24>>2];if(!(Qa[v[g+12>>2]](c)|0)){f=v[i+120>>2];c=v[f>>2];v[c+20>>2]=25;Qa[v[c>>2]](f)}v[e+112>>2]=v[g>>2];v[e+116>>2]=v[g+4>>2]}c=d-8|0;b=b<<8;if((d|0)>15){continue}break}d=v[n+108>>2];v[l+12>>2]=b;v[o+16>>2]=c;if(d){break x}}d=v[l+12>>2]|((x[(v[I+M>>2]<<1)+H>>1]^-1)&32768)>>>15<<23-c;b=0;A:{if((c|0)<7){f=0;c=c+1|0;break A}c=v[e+112>>2];v[e+112>>2]=c+1;t[c|0]=d>>>16;c=v[e+116>>2]-1|0;v[e+116>>2]=c;if(!c){c=v[i+120>>2];g=v[c+24>>2];if(!(Qa[v[g+12>>2]](c)|0)){f=v[i+120>>2];c=v[f>>2];v[c+20>>2]=25;Qa[v[c>>2]](f)}v[e+112>>2]=v[g>>2];v[e+116>>2]=v[g+4>>2]}B:{if((d&16711680)!=16711680){break B}c=v[e+112>>2];v[e+112>>2]=c+1;t[c|0]=0;c=v[e+116>>2]-1|0;v[e+116>>2]=c;if(c){break B}c=v[i+120>>2];g=v[c+24>>2];if(!(Qa[v[g+12>>2]](c)|0)){f=v[i+120>>2];c=v[f>>2];v[c+20>>2]=25;Qa[v[c>>2]](f)}v[e+112>>2]=v[g>>2];v[e+116>>2]=v[g+4>>2]}d=d<<8;f=v[n+108>>2];c=0}v[l+12>>2]=d;v[o+16>>2]=c;if(!p|f){break x}while(1){if(!b){d=v[o+16>>2];b=v[l+12>>2]|(t[s|0]&1)<<23-d;c=d+1|0;if((d|0)>=7){while(1){d=v[e+112>>2];v[e+112>>2]=d+1;t[d|0]=b>>>16;d=v[e+116>>2]-1|0;v[e+116>>2]=d;if(!d){d=v[i+120>>2];g=v[d+24>>2];if(!(Qa[v[g+12>>2]](d)|0)){f=v[i+120>>2];d=v[f>>2];v[d+20>>2]=25;Qa[v[d>>2]](f)}v[e+112>>2]=v[g>>2];v[e+116>>2]=v[g+4>>2]}d=c;C:{if((b&16711680)!=16711680){break C}c=v[e+112>>2];v[e+112>>2]=c+1;t[c|0]=0;c=v[e+116>>2]-1|0;v[e+116>>2]=c;if(c){break C}c=v[i+120>>2];g=v[c+24>>2];if(!(Qa[v[g+12>>2]](c)|0)){f=v[i+120>>2];c=v[f>>2];v[c+20>>2]=25;Qa[v[c>>2]](f)}v[e+112>>2]=v[g>>2];v[e+116>>2]=v[g+4>>2]}c=d-8|0;b=b<<8;if((d|0)>15){continue}break}}v[l+12>>2]=b;v[o+16>>2]=c}p=p-1|0;if(!p){break x}s=s+1|0;b=v[n+108>>2];continue}}s=v[e+136>>2];p=0;f=0;break d}f=f+1|0}d=k+1|0;if((k|0)!=(G|0)){continue}break}}D:{if(p?0:(f|0)<=0){break D}f=v[E>>2];b=f+1|0;v[E>>2]=b;c=v[F>>2]+p|0;v[F>>2]=c;if((b|0)!=32767&c>>>0<938){break D}d=0;E:{switch(f+1|0){default:while(1){c=d;d=c+1|0;b=b>>1;if(b>>>0>1){continue}break};if(c>>>0>=14){c=v[m>>2];b=v[c>>2];v[b+20>>2]=41;Qa[v[b>>2]](c)}f=d;break;case 0:break D;case 1:break E}}c=f<<4;b=v[K>>2];F:{if(v[D>>2]){b=v[((b<<2)+e|0)+92>>2]+(c<<2)|0;v[b>>2]=v[b>>2]+1;break F}b=v[((b<<2)+e|0)+60>>2];g=v[b+(c<<2)>>2];d=v[e+16>>2];k=t[(b+c|0)+1024|0];if(!k){c=v[m>>2];b=v[c>>2];v[b+20>>2]=41;Qa[v[b>>2]](c);if(v[D>>2]){break F}}c=d+k|0;b=v[y>>2]|(g&(-1<=8){while(1){d=v[e+112>>2];v[e+112>>2]=d+1;t[d|0]=b>>>16;d=v[e+116>>2]-1|0;v[e+116>>2]=d;if(!d){d=v[m>>2];k=v[d+24>>2];if(!(Qa[v[k+12>>2]](d)|0)){g=v[m>>2];d=v[g>>2];v[d+20>>2]=25;Qa[v[d>>2]](g)}v[e+112>>2]=v[k>>2];v[e+116>>2]=v[k+4>>2]}d=c;G:{if((b&16711680)!=16711680){break G}c=v[e+112>>2];v[e+112>>2]=c+1;t[c|0]=0;c=v[e+116>>2]-1|0;v[e+116>>2]=c;if(c){break G}c=v[m>>2];k=v[c+24>>2];if(!(Qa[v[k+12>>2]](c)|0)){g=v[m>>2];c=v[g>>2];v[c+20>>2]=25;Qa[v[c>>2]](g)}v[e+112>>2]=v[k>>2];v[e+116>>2]=v[k+4>>2]}c=d-8|0;b=b<<8;if((d|0)>15){continue}break}}v[y>>2]=b;v[C>>2]=c}if(!(v[D>>2]|!f)){c=v[C>>2]+f|0;b=v[y>>2]|(v[E>>2]&(-1<=8){while(1){d=v[e+112>>2];v[e+112>>2]=d+1;t[d|0]=b>>>16;d=v[e+116>>2]-1|0;v[e+116>>2]=d;if(!d){d=v[m>>2];g=v[d+24>>2];if(!(Qa[v[g+12>>2]](d)|0)){f=v[m>>2];d=v[f>>2];v[d+20>>2]=25;Qa[v[d>>2]](f)}v[e+112>>2]=v[g>>2];v[e+116>>2]=v[g+4>>2]}d=c;H:{if((b&16711680)!=16711680){break H}c=v[e+112>>2];v[e+112>>2]=c+1;t[c|0]=0;c=v[e+116>>2]-1|0;v[e+116>>2]=c;if(c){break H}c=v[m>>2];g=v[c+24>>2];if(!(Qa[v[g+12>>2]](c)|0)){f=v[m>>2];c=v[f>>2];v[c+20>>2]=25;Qa[v[c>>2]](f)}v[e+112>>2]=v[g>>2];v[e+116>>2]=v[g+4>>2]}c=d-8|0;b=b<<8;if((d|0)>15){continue}break}}v[y>>2]=b;v[C>>2]=c}v[E>>2]=0;I:{if(v[D>>2]){break I}h=v[F>>2];if(!h){break I}f=v[L>>2];b=0;while(1){if(!b){d=v[C>>2];b=v[y>>2]|(t[f|0]&1)<<23-d;c=d+1|0;if((d|0)>=7){while(1){d=v[e+112>>2];v[e+112>>2]=d+1;t[d|0]=b>>>16;d=v[e+116>>2]-1|0;v[e+116>>2]=d;if(!d){d=v[m>>2];k=v[d+24>>2];if(!(Qa[v[k+12>>2]](d)|0)){g=v[m>>2];d=v[g>>2];v[d+20>>2]=25;Qa[v[d>>2]](g)}v[e+112>>2]=v[k>>2];v[e+116>>2]=v[k+4>>2]}d=c;J:{if((b&16711680)!=16711680){break J}c=v[e+112>>2];v[e+112>>2]=c+1;t[c|0]=0;c=v[e+116>>2]-1|0;v[e+116>>2]=c;if(c){break J}c=v[m>>2];k=v[c+24>>2];if(!(Qa[v[k+12>>2]](c)|0)){g=v[m>>2];c=v[g>>2];v[c+20>>2]=25;Qa[v[c>>2]](g)}v[e+112>>2]=v[k>>2];v[e+116>>2]=v[k+4>>2]}c=d-8|0;b=b<<8;if((d|0)>15){continue}break}}v[y>>2]=b;v[C>>2]=c}h=h-1|0;if(!h){break I}f=f+1|0;b=v[D>>2];continue}}v[F>>2]=0}b=v[a+24>>2];v[b>>2]=v[e+112>>2];v[b+4>>2]=v[e+116>>2];c=v[a+236>>2];if(c){b=e;a=v[e+36>>2];if(!a){v[e+36>>2]=c;v[e+40>>2]=v[e+40>>2]+1&7;a=c}v[b+36>>2]=a-1}Ma=A+256|0;return 1}function YW(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;i=Ma-176|0;Ma=i;h=v[a+36>>2];f=v[h+16>>2];e=0;a:{if(w[f|0]!=60){break a}J=v[a+328>>2];u=v[a+304>>2];p=v[a+300>>2];v[h+16>>2]=f+1;v[h+32>>2]=v[h+32>>2]+1;v[a+200>>2]=v[a+200>>2]+1;if(!w[f+1|0]){Zb(h)}F=a+320|0;b:{while(1){c:{if(v[a+292>>2]){break c}f=v[a+36>>2];e=v[f+16>>2];if((e-v[f+12>>2]|0)<501|(v[f+20>>2]-e|0)>499){break c}Xg(f);e=v[a+36>>2];if(w[v[e+16>>2]]){break c}if((Zb(e)|0)>0){break c}while(1){e=v[a+40>>2];if((e|0)<2){break c}d:{e:{f:{if(!v[291060]){f=e-1|0;v[a+40>>2]=f;g=v[a+48>>2];break f}v[i+144>>2]=e;g=0;Qa[v[256654]](v[291043],344907,i+144|0);e=v[a+40>>2];if((e|0)<1){break d}f=e-1|0;v[a+40>>2]=f;g=v[a+48>>2];k=0;h=0;if((e|0)==1){break e}}k=v[((e<<2)+g|0)-8>>2];h=f}v[a+36>>2]=k;e=(h<<2)+g|0;g=v[e>>2];v[e>>2]=0}Vh(g);e=v[a+36>>2];if(w[v[e+16>>2]]){break c}if((Zb(e)|0)<1){continue}break}}e=v[a+36>>2];r=v[e+32>>2];x=v[e+28>>2];f=v[e+16>>2];A=v[e+12>>2];v[a+328>>2]=J;C=v[a+40>>2];q=iH(a,i+172|0);g:{if(!q){Pc(a,68,343183);break g}e=v[a+36>>2];z=f-A|0;v[d>>2]=v[e+16>>2]-(z+v[e+12>>2]|0);Fc(a);h:{if(v[a+292>>2]){break h}e=v[a+36>>2];if((v[e+20>>2]-v[e+16>>2]|0)>249){break h}oc(a)}e=v[a+36>>2];i:{if((A|0)!=v[e+12>>2]){break i}H=0;n=0;o=0;D=0;if((C|0)!=v[a+40>>2]){break i}while(1){j:{k:{I=v[e+16>>2];h=w[I|0];f=h-47|0;if(f){if((f|0)==15){break b}else{break k}}if(w[I+1|0]!=62){break j}break b}if((h|0)==13|(h-9&255)>>>0<2){break j}if(h>>>0<32){break b}}if(v[a+172>>2]==-1){break b}G=v[e+36>>2];v[i+164>>2]=-1;v[i+160>>2]=0;f=v[i+172>>2];if(!(v[a+292>>2]|(v[e+20>>2]-I|0)>249)){oc(a)}l:{m:{n:{o:{p:{q:{l=iH(a,i+168|0);if(!l){if(v[a+172>>2]==-1?v[a+212>>2]:0){break m}v[a+84>>2]=68;v[i+80>>2]=343372;f=0;nb(0,0,0,a,0,1,68,3,0,0,0,0,237230,i+80|0);v[a+12>>2]=0;if(!v[a+288>>2]){break q}l=0;break l}m=v[a+352>>2];if(m){k=v[i+168>>2];j=l;e=f;s=e;h=q;r:{s:{if(!m|!h){break s}g=B(w[(s?s:h)|0],30);if(s){f=w[s|0];if(f){while(1){g=((f<<24>>24)+(g>>>3|0)|0)+(g<<5)^g;f=w[e+1|0];e=e+1|0;if(f){continue}break}}g=((g<<5)+(g>>>3|0)|0)+58^g}f=w[h|0];if(f){e=h;while(1){g=((f<<24>>24)+(g>>>3|0)|0)+(g<<5)^g;f=w[e+1|0];e=e+1|0;if(f){continue}break}}g=(g<<5)+(g>>>3|0)^g;if(k){f=w[k|0];if(f){e=k;while(1){g=((f<<24>>24)+(g>>>3|0)|0)+(g<<5)^g;f=w[e+1|0];e=e+1|0;if(f){continue}break}}g=((g<<5)+(g>>>3|0)|0)+58^g}t:{if(!j){break t}f=w[j|0];if(!f){break t}e=j;while(1){g=((f<<24>>24)+(g>>>3|0)|0)+(g<<5)^g;f=w[e+1|0];e=e+1|0;if(f){continue}break}}f=v[m>>2];e=(((g<<5)+(g>>>3|0)^g)>>>0)%y[m+4>>2]|0;if(!v[(f+B(e,24)|0)+20>>2]|!f){break s}E=f+B(e,24)|0;while(1){g=v[E+4>>2];u:{v:{if(!s){if((g|0)==(h|0)){break v}f=h;if(!g){break u}while(1){e=w[f|0];if((e|0)!=w[g|0]){break u}g=g+1|0;f=f+1|0;if(e){continue}break}break v}if(!g){break u}f=w[s|0];e=s;while(1){m=g;f=f&255;if((f|0)!=w[g|0]){break u}g=m+1|0;if(f){e=e+1|0;f=w[e|0];if(f){continue}}break}if(w[g|0]!=58){break u}g=m+2|0;f=h;while(1){e=w[f|0];if((e|0)!=w[g|0]){break u}g=g+1|0;f=f+1|0;if(e){continue}break}}g=v[E+8>>2];w:{if(!k){if((g|0)==(j|0)){break w}if(!j){break u}f=j;if(!g){break u}while(1){e=w[f|0];if((e|0)!=w[g|0]){break u}g=g+1|0;f=f+1|0;if(e){continue}break}break w}if(!j|!g){break u}f=w[k|0];e=k;while(1){m=g;f=f&255;if((f|0)!=w[g|0]){break u}g=m+1|0;if(f){e=e+1|0;f=w[e|0];if(f){continue}}break}if(w[g|0]!=58){break u}g=m+2|0;f=j;while(1){e=w[f|0];if((e|0)!=w[g|0]){break u}g=g+1|0;f=f+1|0;if(e){continue}break}}if(v[E+12>>2]){break u}e=v[E+16>>2];break r}E=v[E>>2];if(E){continue}break}}e=0}e=(e|0)!=0}else{e=0}Fc(a);if(w[v[v[a+36>>2]+16>>2]]==61){Bc(a);Fc(a);f=nH(a,i+164|0,i+160|0,e);x:{if(!e|!v[i+160>>2]){break x}if(!f){f=0;break x}k=v[i+164>>2];if((k|0)<1){break x}h=0;e=f;g=w[e|0];if((g|0)==32){while(1){h=h+1|0;g=w[e+1|0];e=e+1|0;if((g|0)==32){continue}break}}y:{z:{while(1){j=g&255;if((j|0)!=32){if(!j){break z}g=w[e+1|0];e=e+1|0;continue}g=w[e+1|0];e=e+1|0;if((g|32)!=32){continue}break}j=Ek(f+h|0,(k-h|0)+1|0);h=j;if(!h){Yc(a,0);break x}while(1){e=h;h=e+1|0;g=w[e|0];if((g|0)==32){continue}break}h=j;while(1){k=g&255;A:{if((k|0)!=32){if(!k){break y}e=e+1|0;k=g;break A}while(1){k=32;m=g&255;if((m|0)==32){g=w[e+1|0];e=e+1|0;continue}break}if(!m){continue}}t[h|0]=k;h=h+1|0;g=w[e|0];continue}}if(!h){break x}e=k-h|0;v[i+164>>2]=e;id(f,f+h|0,e+1|0);break x}t[h|0]=0;K=i,L=zb(j),v[K+164>>2]=L;if((f|0)==(j|0)){break x}Qa[v[256556]](f);f=j}v[a+172>>2]=7;if(v[i+168>>2]!=v[a+312>>2]){break l}e=0;if(!v[a+268>>2]){break n}if(!Ef(l,272750)){break n}e=Ek(f,v[i+164>>2]);if(qX(e)|(v[a+172>>2]==-1?v[a+212>>2]:0)){break n}h=v[a>>2];if(h){break p}k=0;h=0;break o}if(v[a+172>>2]==-1?v[a+212>>2]:0){break m}v[a+84>>2]=41;v[i+128>>2]=l;f=0;nb(0,0,0,a,0,1,41,3,l,0,0,0,340318,i+128|0);v[a+12>>2]=0;if(!v[a+288>>2]){break q}l=0;break l}v[a+212>>2]=1;l=0;break l}k=v[h+84>>2];h=v[h+108>>2]==-554844497?v[h+124>>2]:0}j=v[a+4>>2];v[i+116>>2]=0;v[i+112>>2]=e;nb(h,k,j,a,0,1,98,1,e,0,0,0,340654,i+112|0)}B:{if(!Ef(l,286126)){break B}e=Ek(f,v[i+164>>2]);if(Ef(e,231473)){v[v[a+232>>2]>>2]=0;break B}if(Ef(e,273842)){v[v[a+232>>2]>>2]=1;break B}if(v[a+172>>2]==-1?v[a+212>>2]:0){break B}h=v[a>>2];C:{if(!h){g=0;h=0;break C}g=v[h+84>>2];h=v[h+108>>2]==-554844497?v[h+124>>2]:0}j=v[a+4>>2];v[i+100>>2]=0;v[i+96>>2]=e;nb(h,g,j,a,0,1,102,1,e,0,0,0,344160,i+96|0)}if(!e){break l}Qa[v[256556]](e);break l}f=0;l=0}D:{if(!((A|0)==v[v[a+36>>2]+12>>2]&(C|0)==v[a+40>>2])){if(!f|!v[i+160>>2]){break D}Qa[v[256556]](f);break D}E:{F:{G:{H:{I:{if(!(!l|!f)){g=v[i+164>>2];if((g|0)<=-1){g=yl(f);v[i+164>>2]=g}e=v[i+168>>2];k=v[a+316>>2];if(!(e|(k|0)!=(l|0))){k=Zc(v[a+296>>2],f,g);if(!k){Yc(a,277051);if(!v[i+160>>2]){break g}Qa[v[256556]](f);break g}J:{K:{if(!w[k|0]){break K}e=Os(k);L:{if(!e){if(v[a+172>>2]==-1?v[a+212>>2]:0){break L}v[a+84>>2]=99;v[i+68>>2]=0;v[i+72>>2]=0;v[i+64>>2]=k;nb(0,0,0,a,0,3,99,2,k,0,0,0,345854,i- -64|0);v[a+356>>2]=0;break L}if(!v[e>>2]){VW(a,342744,k,0)}wi(e)}if((k|0)==v[F>>2]){if(v[a+312>>2]==(l|0)){break J}qm(a,200,343590,0,0);break J}if(v[i+164>>2]!=29){break K}if(!Ef(k,326196)){break K}qm(a,200,341652,0,0);break J}M:{if((n|0)<1){break M}g=v[a+328>>2];j=v[a+336>>2];e=1;while(1){if(v[j+(g-(e<<1)<<2)>>2]){h=(e|0)==(n|0);e=e+1|0;if(!h){continue}break M}break}jH(a,0,l);break J}n=((zv(a,0,k)|0)>0)+n|0}if(v[i+160>>2]){Qa[v[256556]](f)}N:{O:{P:{e=v[v[a+36>>2]+16>>2];switch(w[e|0]-9|0){case 0:case 1:case 4:case 23:break N;case 38:break P;case 53:break b;default:break O}}if(w[e+1|0]==62){break b}}Pc(a,65,340849);break b}Fc(a);e=v[a+36>>2];if((A|0)!=v[e+12>>2]){break D}if((C|0)==v[a+40>>2]){continue}break D}if((e|0)==(k|0)){m=Zc(v[a+296>>2],f,g);e=v[a+320>>2];Q:{if(v[a+312>>2]==(l|0)){if((e|0)==(m|0)){break Q}qm(a,200,345800,0,0);break Q}if((e|0)==(m|0)){qm(a,200,338383,0,0);break Q}if(v[a+316>>2]==(l|0)){qm(a,200,341605,0,0);break Q}R:{if(v[i+164>>2]!=29){break R}if(!Ef(m,326196)){break R}qm(a,200,341652,0,0);break Q}if(!(w[m|0]?m:0)){qm(a,200,343861,l,0);break Q}e=Os(m);S:{if(!e){qm(a,99,345886,l,m);break S}if(!(v[e>>2]|!v[a+268>>2])){VW(a,342775,l,m)}wi(e)}T:{if((n|0)<1){break T}g=v[a+328>>2];j=v[a+336>>2];e=1;while(1){if(v[j+(g-(e<<1)<<2)>>2]!=(l|0)){h=(e|0)==(n|0);e=e+1|0;if(!h){continue}break T}break}jH(a,k,l);break Q}n=((zv(a,l,m)|0)>0)+n|0}if(v[i+160>>2]){Qa[v[256556]](f)}U:{V:{W:{e=v[v[a+36>>2]+16>>2];switch(w[e|0]-9|0){case 0:case 1:case 4:case 23:break U;case 38:break W;case 53:break b;default:break V}}if(w[e+1|0]==62){break b}}Pc(a,65,340849);break b}Fc(a);e=v[a+36>>2];if((A|0)!=v[e+12>>2]){break D}if((C|0)==v[a+40>>2]){continue}break D}h=o+5|0;if((h|0)<=(u|0)?p:0){break F}j=v[a+300>>2];if(!j){e=Qa[v[256552]](220)|0;if(!e){break I}v[a+300>>2]=e;j=Qa[v[256552]](44)|0;if(!j){break I}e=55;v[a+304>>2]=55;v[a+340>>2]=j;break G}e=v[a+304>>2];g=o+10|0;if((e|0)<(g|0)){e=Qa[v[256557]](j,g<<3)|0;if(!e){break I}v[a+300>>2]=e;e=g<<1;j=Qa[v[256557]](v[a+340>>2],(e|0)/5<<2)|0;if(!j){break I}v[a+304>>2]=e;v[a+340>>2]=j}if((e|0)>-1){break G}break H}if(!f){f=0;break E}if(w[v[i+164>>2]+f|0]){break E}Qa[v[256556]](f);break E}Yc(a,0)}if(w[v[i+164>>2]+f|0]){break E}Qa[v[256556]](f);break E}p=v[a+300>>2];u=e}v[v[a+340>>2]+(D<<2)>>2]=v[i+160>>2];j=(o<<2)+p|0;v[j>>2]=l;e=v[i+168>>2];v[j+12>>2]=f;v[j+8>>2]=0;v[j+4>>2]=e;f=v[i+164>>2]+f|0;v[j+16>>2]=f;H=v[i+160>>2]?1:H;D=D+1|0;o=h}X:{if(v[a+292>>2]){break X}e=v[a+36>>2];if((v[e+20>>2]-v[e+16>>2]|0)>249){break X}oc(a)}if(v[a+172>>2]==-1){break b}e=v[a+36>>2];if((A|0)!=v[e+12>>2]|(C|0)!=v[a+40>>2]){break D}Y:{Z:{_:{e=v[e+16>>2];switch(w[e|0]-9|0){case 0:case 1:case 4:case 23:break Y;case 38:break _;case 53:break b;default:break Z}}if(w[e+1|0]==62){break b}}Pc(a,65,340849);break b}Fc(a);e=v[a+36>>2];if(!(v[e+36>>2]!=(G|0)|(I|0)!=v[e+16>>2]|(f|l))){Md(a,1,339663);break b}if(!(v[a+292>>2]|(v[e+20>>2]-v[e+16>>2]|0)>249)){oc(a);e=v[a+36>>2]}if((A|0)!=v[e+12>>2]){break D}if((C|0)==v[a+40>>2]){continue}}break}if(!H|(D|0)<1){break i}e=0;g=3;while(1){$:{if(!v[v[a+340>>2]+(e<<2)>>2]){break $}f=v[(g<<2)+p>>2];if(!f){break $}Qa[v[256556]](f)}g=g+5|0;e=e+1|0;if((D|0)!=(e|0)){continue}break}}if((C|0)!=v[a+40>>2]){Pc(a,90,338252);break g}e=v[a+36>>2];v[e+32>>2]=r;v[e+28>>2]=x;v[e+16>>2]=v[e+12>>2]+z;if(v[a+12>>2]==1){continue}}break}e=0;break a}g=0;aa:{ba:{ca:{d=v[a+348>>2];da:{if(!d){k=0;break da}z=sm(d,q,v[i+172>>2]);if(!z){k=0;break da}k=0;if(v[z>>2]<1){break da}m=z+8|0;l=0;while(1){x=m+(B(l,5)<<2)|0;r=v[x>>2];f=v[x+4>>2];v[i+168>>2]=f;d=v[a+316>>2];ea:{if(!(f|(d|0)!=(r|0))){if((n|0)>=1){h=v[a+328>>2];f=v[a+336>>2];e=1;while(1){if(!v[f+(h-(e<<1)<<2)>>2]){break ea}d=(e|0)==(n|0);e=e+1|0;if(!d){continue}break}}h=v[F>>2];fa:{if(!v[a+312>>2]){break fa}e=v[a+328>>2];while(1){d=e;h=0;if((e|0)<2){break fa}f=v[a+336>>2];e=d-2|0;if(v[f+(e<<2)>>2]){continue}break}d=v[(f+(d<<2)|0)-4>>2];h=w[d|0]?d:0}d=v[x+8>>2];if((h|0)==(d|0)){break ea}n=((zv(a,0,d)|0)>0)+n|0;break ea}ga:{ha:{ia:{if((d|0)!=(f|0)){e=0;if((o|0)>0){while(1){d=(e<<2)+p|0;if((r|0)==v[d>>2]&(f|0)==v[d+4>>2]){break ea}e=e+5|0;if((o|0)>(e|0)){continue}break}}f=o+5|0;if((f|0)<=(u|0)?p:0){break ga}d=v[a+300>>2];if(d){break ia}d=Qa[v[256552]](220)|0;if(!d){break ca}v[a+300>>2]=d;d=Qa[v[256552]](44)|0;if(!d){break ca}u=55;v[a+304>>2]=55;v[a+340>>2]=d;break ha}if((n|0)>=1){h=v[a+328>>2];f=v[a+336>>2];e=1;while(1){if((r|0)==v[f+(h-(e<<1)<<2)>>2]){break ea}d=(e|0)==(n|0);e=e+1|0;if(!d){continue}break}}ja:{if((r|0)==v[a+312>>2]){f=v[F>>2];break ja}e=v[a+328>>2];while(1){f=0;d=e;if((e|0)<2){break ja}h=v[a+336>>2];e=d-2|0;if((r|0)!=v[h+(e<<2)>>2]){continue}break}d=v[(h+(d<<2)|0)-4>>2];if(!(w[d|0]?1:r)){break ja}f=d}if(v[z+16>>2]==(f|0)){break ea}n=((zv(a,r,v[x+8>>2])|0)>0)+n|0;break ea}u=v[a+304>>2];e=o+10|0;if((u|0)<(e|0)){d=Qa[v[256557]](d,e<<3)|0;if(!d){break ca}v[a+300>>2]=d;u=e<<1;d=Qa[v[256557]](v[a+340>>2],(u|0)/5<<2)|0;if(!d){break ca}v[a+304>>2]=u;v[a+340>>2]=d}e=0;if((u|0)<0){break a}}p=v[a+300>>2]}G=(o<<2)+p|0;v[G>>2]=r;v[G+4>>2]=v[i+168>>2];o=o+2|0;d=0;s=v[i+168>>2];ka:{if(!s){break ka}if((s|0)!=v[a+312>>2]){e=v[a+328>>2];while(1){h=e;if((e|0)<2){break ka}j=v[a+336>>2];e=h-2|0;if((s|0)!=v[j+(e<<2)>>2]){continue}break}d=(j+(h<<2)|0)-4|0}else{d=F}d=v[d>>2]}v[(o<<2)+p>>2]=d;v[G+12>>2]=v[x+8>>2];v[G+16>>2]=v[x+12>>2];if(!(!v[x+16>>2]|v[a+28>>2]!=1)){gj(a,538,339337,r,q)}k=k+1|0;o=f}l=l+1|0;if((l|0)>2]){continue}break}}if((o|0)>=1){while(1){la:{ma:{m=(g<<2)+p|0;j=m;h=v[j+4>>2];na:{if(h){oa:{pa:{if((h|0)!=v[a+312>>2]){e=v[a+328>>2];while(1){d=e;if((e|0)<2){break pa}f=v[a+336>>2];e=d-2|0;if((h|0)!=v[f+(e<<2)>>2]){continue}break}d=(f+(d<<2)|0)-4|0}else{d=F}l=v[d>>2];if(l){break oa}}d=v[m>>2];if(!(!v[a+212>>2]|v[a+172>>2]!=-1)){l=0;break oa}v[a+84>>2]=201;v[i+56>>2]=q;v[i+52>>2]=d;v[i+48>>2]=h;l=0;nb(0,0,0,a,0,3,201,2,h,d,q,0,344620,i+48|0);v[a+356>>2]=0}v[m+8>>2]=l;if(!g){break la}e=0;h=v[m>>2];d=h;if(!l){break na}while(1){qa:{d=(e<<2)+p|0;if(v[d>>2]!=(h|0)){break qa}f=v[j+4>>2];if((f|0)==v[d+4>>2]){break ma}if(v[d+8>>2]!=(l|0)){break qa}if(a){if(v[a+172>>2]==-1?v[a+212>>2]:0){break la}v[a+84>>2]=203;v[i+40>>2]=0;v[i+36>>2]=l;v[i+32>>2]=h;nb(0,0,0,a,0,3,203,2,h,l,0,0,344499,i+32|0);v[a+356>>2]=0;break la}v[i+24>>2]=0;v[i+20>>2]=l;v[i+16>>2]=h;nb(0,0,0,0,0,3,203,2,h,l,0,0,344499,i+16|0);break la}e=e+5|0;if(g>>>0>e>>>0){continue}break}break la}if(!g){break la}d=v[m>>2]}h=d;e=0;while(1){d=(e<<2)+p|0;if(v[d>>2]==(h|0)){f=v[j+4>>2];if((f|0)==v[d+4>>2]){break ma}}e=e+5|0;if(g>>>0>e>>>0){continue}break}break la}jH(a,f,h)}g=g+5|0;if((o|0)>(g|0)){continue}break}}h=v[i+172>>2];if((h|0)==v[a+312>>2]){e=v[F>>2];break ba}e=v[a+328>>2];while(1){d=e;if((e|0)<2){e=0;break ba}f=v[a+336>>2];e=d-2|0;if((h|0)!=v[f+(e<<2)>>2]){continue}break}e=v[(f+(d<<2)|0)-4>>2];if(h){break ba}e=w[e|0]?e:0;break aa}Yc(a,0);e=0;break a}if(e|!h){break aa}if(!(!v[a+212>>2]|v[a+172>>2]!=-1)){e=0;break aa}v[a+84>>2]=201;e=0;v[i+8>>2]=0;v[i+4>>2]=q;v[i>>2]=h;nb(0,0,0,a,0,3,201,2,h,q,0,0,344578,i);v[a+356>>2]=0}v[b>>2]=h;v[c>>2]=e;b=v[a>>2];ra:{if(!b){break ra}c=v[b+116>>2];if(v[a+212>>2]|!c){break ra}b=v[a+4>>2];if((n|0)>=1){Qa[c|0](b,q,h,e,n,v[a+336>>2]+(v[a+328>>2]-(n<<1)<<2)|0,(o|0)/5|0,k,p);break ra}Qa[c|0](b,q,h,e,0,0,(o|0)/5|0,k,p)}e=q;if(!H){break a}e=q;if((D|0)<1){break a}e=0;g=3;while(1){sa:{if(!v[v[a+340>>2]+(e<<2)>>2]){break sa}b=v[(g<<2)+p>>2];if(!b){break sa}Qa[v[256556]](b)}g=g+5|0;e=e+1|0;if((D|0)!=(e|0)){continue}break}e=q}Ma=i+176|0;return e}function aZ(a,b){a=a|0;b=b|0;var 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,z=0,A=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;e=Ma-16|0;Ma=e;l=v[a+4>>2];a:{if(v[l+180>>2]>=0){f=Ma-48|0;Ma=f;v[f+12>>2]=0;g=l+184|0;c=v[a+8>>2];c=jI(v[v[l+24>>2]+224>>2],v[l+180>>2],g,t[l+253|0],c,v[a+12>>2]-c>>1,f+12|0,t[l+35|0],t[a+2|0]);b:{if((c|0)>=2){c=c-2|0;d=t[l+253|0];c:{if((c|0)>=(d|0)){v[a+8>>2]=v[a+8>>2]+(c-d<<1);c=0;break c}m=((c<<1)+l|0)+184|0;c=d-c|0;d=c;if((c|0)>=1){id(g,m,d<<1)}c=0-c|0}v[l+180>>2]=-1;t[l+253|0]=c;g=v[f+12>>2];m=g>>>24&31;d:{if(m>>>0<=3){d=f+16|1;h=d;c=d;e:{switch(m-1|0){case 2:t[f+17|0]=g>>>16;h=f+16|2;case 1:t[h|0]=g>>>8;c=h+1|0;break;case 0:break e;default:break d}}t[c|0]=g;break d}c=v[v[l+24>>2]+224>>2];d=(v[c+32>>2]+c|0)+(g&16777215)|0}q=a+24|0;r=a+16|0;z=v[a+20>>2];g=v[l+52>>2];f:{if(!g){break f}c=2;g:{if(!((m|0)!=1|(g|0)<2)){h=15;c=1;break g}if((g|0)!=1){break f}h=14;if(m>>>0<2){break f}}v[l+52>>2]=c;t[f+16|0]=h;c=f+16|1;if((c|0)!=(d|0)){cb(c,d,m)}m=m+1|0;d=f+16|0}zh(l,d,m,r,z,q,-1,b);break b}if((c|0)<=-1){m=v[a+8>>2];d=t[l+253|0];h=-2-c|0;h:{if((d|0)>=(h|0)){break h}c=c+d|0;q=-3-c|0;g=2-c&3;if(g){while(1){u[((d<<1)+l|0)+184>>1]=x[m>>1];d=d+1|0;m=m+2|0;g=g-1|0;if(g){continue}break}}if(q>>>0<3){break h}while(1){c=(d<<1)+l|0;u[c+184>>1]=x[m>>1];u[c+186>>1]=x[m+2>>1];u[c+188>>1]=x[m+4>>1];u[c+190>>1]=x[m+6>>1];m=m+8|0;d=d+4|0;if((h|0)!=(d|0)){continue}break}}v[a+8>>2]=m;t[l+253|0]=h;break b}if((c|0)==1){t[l+67|0]=1}c=v[l+180>>2];v[l+180>>2]=-1;v[l+56>>2]=c;t[l+253|0]=0-w[l+253|0];v[b>>2]=10}Ma=f+48|0;if(t[l+253|0]<0|v[b>>2]>0){break a}}c=v[l+24>>2];I=w[c+201|0];i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{A=w[c+200|0];switch(A|0){case 1:break s;case 0:break t;default:break r}}if(I&2){break r}if(!(I&1)){c=v[a+4>>2];d=v[a+12>>2];m=v[a+8>>2];j=v[a+16>>2];v[e+8>>2]=j;i=v[a+20>>2];v[e+4>>2]=v[a+24>>2];k=d-m>>1;j=i-j|0;g=(j|0)>(k|0)?k:j;k=v[c+56>>2];f=k?-1:0;s=w[c+35|0];j=v[c+24>>2];h=v[j+208>>2];o=v[j+52>>2];l=v[(j+(w[c+28|0]&16?164:160)|0)+28>>2];if(k){n=m;if((g|0)>0){break q}}i=0;break j}o=v[a+12>>2];g=v[a+8>>2];i=v[a+4>>2];n=v[a+16>>2];v[e+8>>2]=n;m=v[a+20>>2];v[e+4>>2]=v[a+24>>2];f=v[i+56>>2];c=f?-1:0;h=w[i+35|0];d=v[i+24>>2];p=w[d+201|0];s=v[d+52>>2];l=v[(d+(w[i+28|0]&16?164:160)|0)+28>>2];n=m-n|0;if((n|0)>0?f:0){break p}break k}if(!w[c+202|0]){break r}i=v[a+4>>2];c=v[i+24>>2];s=w[c+201|0];o=v[a+12>>2];f=v[a+8>>2];d=v[a+16>>2];v[e+8>>2]=d;k=v[a+20>>2];v[e+4>>2]=v[a+24>>2];g=v[i+56>>2];j=g?-1:0;l=v[c+208>>2];q=v[c+56>>2];m=v[c+52>>2];h=v[c+(w[i+28|0]&16?192:188)>>2];k=k-d|0;if((k|0)>0?g:0){break o}break l}g=v[a+8>>2];v[e+12>>2]=g;G=v[a+12>>2];h=v[a+16>>2];v[e+8>>2]=h;p=v[a+20>>2];r=v[a+24>>2];v[e+4>>2]=r;J=w[c+202|0]?v[c+56>>2]:J;d=v[l+28>>2];k=d&16?192:188;if((A|0)==12){o=v[l+52>>2];o=o?o:1}q=c+k|0;f=v[l+56>>2];m=-1;u:{if(d&4096){z=10;K=4325376;F=65;C=2;D=10;H=2;break u}if(d&8192){D=40;z=41;C=1;H=1;break u}H=1;k=d&16384;C=k?2:1;D=26;z=k?26:15;F=d<<17>>31&113;if(k){K=7340032;H=2;break u}D=14}k=p-h|0;L=v[c+52>>2];M=v[c+208>>2];q=v[q>>2];h=f?-1:0;v:{if(!f){d=0;break v}d=0;j=h;s=o;if((k|0)>0){break n}}c=0;break m}i=1;break j}j=1;break k}p=1;break l}c=1}w:while(1){x:{y:{z:{A:{B:{C:{if(!c){if(g>>>0>=G>>>0){c=k;break y}c=k>>31&k;E=15;if((k|0)<=0){break z}j=h;while(1){v[e+12>>2]=g+2;n=n+1|0;D:{f=x[g>>1];if(!(f>>>0>127|!(M>>>(f>>>2)&1))){g=v[e+8>>2];v[e+8>>2]=g+1;t[g|0]=f;f=0;g=v[e+4>>2];E:{if(!g){r=0;break E}r=g+4|0;v[e+4>>2]=r;v[g>>2]=j;m=j;j=n}p=k-1|0;g=v[e+12>>2];if(G>>>0>g>>>0){break D}c=p;break y}g=g+2|0;F:{G:{H:{if(!(!J|f>>>0>55295)){p=x[(f>>>5&2046)+J>>1];h=0;c=0;I:{J:{K:{L:{M:{N:{O:{P:{switch(A-1|0){default:if((A|0)==219){break O}break A;case 0:h=x[(p+(f&63)<<1)+q>>1];if(h>>>0<=255){break J}break G;case 3:case 4:case 5:case 6:case 9:case 10:break A;case 8:break K;case 7:break L;case 2:break M;case 1:break N;case 11:break P}}v[l+52>>2]=o;h=x[(p+(f&63)<<1)+q>>1];if(h>>>0<=255){if(!h){i=d;break B}c=1;if((o|0)<2){break A}o=1;c=d;Q:{switch(C-1|0){case 0:break H;case 1:break Q;default:break A}}h=F<<8|h|z<<16;c=3;break A}c=2;if((o|0)==2){o=2;break A}c=d;o=2;R:{switch(H-1|0){case 0:h=D<<16|h;c=3;break A;case 1:break R;default:break A}}h=h|K|D<<24;c=4;break A}h=x[(p+(f&63)<<1)+q>>1];if(h>>>0>=256){break G}i=d;break B}c=B(p+(f&63)|0,3)+q|0;h=w[c+1|0]<<8|w[c|0]<<16|w[c+2|0];if(h>>>0<=255){break J}c=h>>>0<65536?2:3;break A}c=2;h=v[(p+(f&63)<<2)+q>>2];if(h>>>0<=255){break J}if(h>>>0<65536){break A}c=h>>>0<16777216?3:4;break A}h=x[(p+(f&63)<<1)+q>>1];if(h>>>0<=255){break J}if(!(h&32768)){h=h|9338880;c=3;break A}c=h&128;h=c?h:h|9371776;c=c?2:3;break A}c=B(p+(f&63)|0,3)+q|0;p=w[c+1|0];E=w[c|0];h=p<<8|E<<16|w[c+2|0];if(h>>>0>255){break I}}c=1;i=d;if(!h){break B}break A}c=2;if(h>>>0<65536){break A}if(!(E&128)){h=h|-1904214016;c=4;break A}c=p&128;h=c?h:h|-1895792640;c=c?3:4;break A}if(!(I&2?0:(f&63488)==55296)){i=d;s=o;break C}if(f&1024){break F}i=d;s=o;c=1;continue w}h=z<<8|h}c=2;break A}E=12;c=k;break z}N=(k|0)<2;k=p;if(!N){continue}break}break z}if(g>>>0>=G>>>0){o=s;c=k;break y}c=x[g>>1];if((c&64512)!=56320){E=12;o=s;c=k;break z}g=g+2|0;v[e+12>>2]=g;n=n+1|0;f=(c+(f<<10)|0)-56613888|0;if(I&1){c=0}else{v[l+52>>2]=s;c=6}switch(c|0){case 6:break B;case 0:break C;default:break a}}c=v[L+(x[L+(f>>10<<1)>>1]+(f>>>4&63)<<2)>>2];S:{T:{U:{V:{W:{X:{Y:{Z:{_:{$:{aa:{ba:{ca:{switch(A-1|0){default:if((A|0)==219){break _}case 3:case 4:case 5:case 6:case 9:case 10:d=f&15;c=0;break ba;case 0:d=f&15;h=x[((d|c<<4&1048560)<<1)+q>>1];i=h>>>0<256?1:2;break T;case 8:break W;case 7:break X;case 2:break Y;case 1:break Z;case 11:break ca}}v[l+52>>2]=s;d=f&15;h=x[((d|c<<4&1048560)<<1)+q>>1];if(h>>>0>255){break $}if(c>>>(d|16)&1|h){break aa}}h=0;i=0;break T}if((s|0)<2){break V}o=1;da:{switch(C-1|0){case 0:h=z<<8|h;i=2;break S;case 1:break da;default:break S}}h=F<<8|h|z<<16;i=3;break S}o=2;if((s|0)==2){i=2;break S}ea:{switch(H-1|0){case 0:h=D<<16|h;i=3;break S;case 1:break ea;default:break S}}h=h|K|D<<24;i=4;break S}i=0;d=f&15;h=x[((d|c<<4&1048560)<<1)+q>>1];if(h>>>0<256){c=0;h=0;break T}i=2;break T}d=f&15;i=B(d|c<<4&1048560,3)+q|0;h=w[i+1|0]<<8|w[i|0]<<16|w[i+2|0];if(h>>>0<256){break V}i=h>>>0<65536?2:3;break T}d=f&15;h=v[((d|c<<4&1048560)<<2)+q>>2];if(h>>>0<256){break V}i=2;if(h>>>0<65536){break T}i=h>>>0<16777216?3:4;break T}i=1;d=f&15;h=x[((d|c<<4&1048560)<<1)+q>>1];if(h>>>0<256){break T}if(!(h&32768)){h=h|9338880;i=3;break T}i=h&128;h=i?h:h|9371776;i=i?2:3;break T}d=f&15;i=B(d|c<<4&1048560,3)+q|0;o=w[i+1|0];p=w[i|0];h=o<<8|p<<16|w[i+2|0];if(h>>>0>=256){break U}}i=1;break T}i=2;if(h>>>0<65536){break T}if(!(p&128)){h=h|-1904214016;i=4;break T}i=o&128;h=i?h:h|-1895792640;i=i?3:4}o=s}if(c>>>(d|16)&1){c=i;break A}if(!(w[l+35|0]|f-57344>>>0<6400)&f-983040>>>0>131071){break B}c=i;if(h){break A}}v[a+8>>2]=g;f=Ws(l,v[v[l+24>>2]+224>>2],f,e+12|0,G,e+8|0,v[e+8>>2]+k|0,e+4|0,j,t[a+2|0],b);o=v[l+52>>2];if(v[b>>2]>0){c=k;break y}g=v[e+12>>2];n=(g-v[a+8>>2]>>1)+n|0;r=v[e+4>>2];h=r?n:j;m=r?j:m;k=v[a+20>>2]-v[e+8>>2]|0;d=i;break x}if((c|0)<=(k|0)){fa:{if(!r){r=0;ga:{switch(c-1|0){case 3:d=v[e+8>>2];v[e+8>>2]=d+1;t[d|0]=h>>>24;case 2:d=v[e+8>>2];v[e+8>>2]=d+1;t[d|0]=h>>>16;case 1:d=v[e+8>>2];v[e+8>>2]=d+1;t[d|0]=h>>>8;break;case 0:break ga;default:break fa}}d=v[e+8>>2];v[e+8>>2]=d+1;t[d|0]=h;r=v[e+4>>2];break fa}ha:{switch(c-1|0){case 3:d=v[e+8>>2];v[e+8>>2]=d+1;t[d|0]=h>>>24;d=v[e+4>>2];v[e+4>>2]=d+4;v[d>>2]=j;case 2:d=v[e+8>>2];v[e+8>>2]=d+1;t[d|0]=h>>>16;d=v[e+4>>2];v[e+4>>2]=d+4;v[d>>2]=j;case 1:d=v[e+8>>2];v[e+8>>2]=d+1;t[d|0]=h>>>8;d=v[e+4>>2];v[e+4>>2]=d+4;v[d>>2]=j;break;case 0:break ha;default:break fa}}d=v[e+8>>2];v[e+8>>2]=d+1;t[d|0]=h;d=v[e+4>>2];r=d+4|0;v[e+4>>2]=r;v[d>>2]=j}h=r?n:j;m=r?j:m;k=k-c|0;f=0;g=v[e+12>>2];d=c;break x}f=l+76|0;ia:{ja:{ka:{la:{c=c-k|0;switch(c-1|0){case 0:break ja;case 1:break ka;case 2:break la;default:break ia}}t[l+76|0]=h>>>16;f=l+77|0}t[f|0]=h>>>8;f=f+1|0}t[f|0]=h}t[l+63|0]=c;d=h>>>(c<<3)|0;f=0;E=15;c=0;ma:{na:{oa:{switch(k-1|0){case 0:break ma;case 1:break na;case 2:break oa;default:break z}}i=v[e+8>>2];v[e+8>>2]=i+1;t[i|0]=d>>>16;i=v[e+4>>2];if(!i){break na}v[e+4>>2]=i+4;v[i>>2]=j}i=v[e+8>>2];v[e+8>>2]=i+1;t[i|0]=d>>>8;i=v[e+4>>2];if(!i){break ma}v[e+4>>2]=i+4;v[i>>2]=j}i=v[e+8>>2];v[e+8>>2]=i+1;t[i|0]=d;d=v[e+4>>2];if(d){v[e+4>>2]=d+4;v[d>>2]=j}}v[b>>2]=E}pa:{if((A|0)!=12|v[b>>2]>0|(o|0)!=2){break pa}if(!w[a+2|0]){o=2;break pa}if(y[e+12>>2]>>0){o=2;break pa}o=2;if(f){break pa}if((c|0)>=1){d=v[e+8>>2];v[e+8>>2]=d+1;t[d|0]=z;qa:{if((C|0)!=2){break qa}if((c|0)<=1){t[l+63|0]=1;t[l+76|0]=F;v[b>>2]=15;break qa}b=v[e+8>>2];v[e+8>>2]=b+1;t[b|0]=F}o=1;b=v[e+4>>2];if(!b){break pa}v[e+4>>2]=b+4;v[b>>2]=m;break pa}t[l+76|0]=z;if((C|0)==2){t[l+77|0]=F}t[l+63|0]=C;v[b>>2]=15;o=1}v[l+52>>2]=o;v[l+56>>2]=f;v[a+8>>2]=v[e+12>>2];v[a+16>>2]=v[e+8>>2];v[a+24>>2]=v[e+4>>2];break a}c=0;continue}}while(1){d=e;ra:{sa:{ta:{ua:{va:{wa:{xa:{ya:{za:{Aa:{Ba:{Ca:{Da:{if(!p){if(f>>>0>=o>>>0){break i}Ea:{Fa:{if((k|0)>0){while(1){v[e+12>>2]=f+2;n=n+1|0;g=x[f>>1];if(g>>>0>127){break Ea}if(!(l>>>(g>>>2)&1)){break Ca}c=v[e+8>>2];v[e+8>>2]=c+1;t[c|0]=g;c=v[e+4>>2];if(c){v[e+4>>2]=c+4;v[c>>2]=j;j=n}f=v[e+12>>2];if(o>>>0<=f>>>0){break Fa}c=(k|0)<2;k=k-1|0;if(!c){continue}break}g=0}v[b>>2]=15;break i}g=0;break i}f=f+2|0;c=f;if(g>>>0<55296){break Ba}if(s&2|(g&63488)!=55296){break Da}if(g&1024){break za}p=1;continue}if(f>>>0>=o>>>0){break i}c=x[f>>1];if((c&64512)!=56320){break Aa}f=f+2|0;v[e+12>>2]=f;n=n+1|0;g=(c+(g<<10)|0)-56613888|0;if(!(s&1)){break wa}}r=g&15;c=v[m+(x[m+(g>>10<<1)>>1]+(g>>>4&63)<<2)>>2];p=x[h+((r|c<<4&1048560)<<1)>>1];if(c>>>(r|16)&1){break xa}if(w[i+35|0]|g-57344>>>0<6400){break ya}if(!(p&65535)|g-983040>>>0>131071){break wa}break xa}c=f+2|0}f=c;p=x[h+(x[q+(g>>>5&2046)>>1]+(g&63)<<1)>>1];if(p){break xa}break wa}v[b>>2]=12;break i}v[b>>2]=12;break i}if(!(p&65535)){break wa}}if((p&65535)>>>0>255){break va}c=v[e+8>>2];v[e+8>>2]=c+1;t[c|0]=p;g=v[e+4>>2];if(g){break ua}f=-1;break sa}v[a+8>>2]=f;g=Ws(i,v[v[i+24>>2]+224>>2],g,e+12|0,o,e+8|0,v[e+8>>2]+k|0,e+4|0,j,t[a+2|0],b);f=v[e+12>>2];if(v[b>>2]>0){break i}k=v[a+20>>2]-v[e+8>>2]|0;n=(f-v[a+8>>2]>>1)+n|0;j=n;break ra}c=v[e+8>>2];v[e+8>>2]=c+1;t[c|0]=p>>>8;if((k|0)>=2){c=v[e+8>>2];v[e+8>>2]=c+1;t[c|0]=p;c=v[e+4>>2];if(!c){f=-2;break sa}v[c>>2]=j;g=c+4|0;f=-2;c=c+8|0;break ta}c=v[e+4>>2];if(c){v[e+4>>2]=c+4;v[c>>2]=j}t[i+63|0]=1;t[i+76|0]=p;v[b>>2]=15;g=0;f=v[e+12>>2];break i}f=-1;c=g+4|0}v[d+4>>2]=c;v[g>>2]=j}k=f+k|0;g=0;f=v[e+12>>2];j=n}p=0;continue}}while(1){d=b;Ga:{Ha:{Ia:{Ja:{Ka:{La:{if(!j){if(g>>>0>=o>>>0){break Ha}j=15;if((n|0)<1){break Ia}j=g+2|0;v[e+12>>2]=j;k=k+1|0;f=x[g>>1];if((f&63488)!=55296){break La}if(f&1024){break Ja}g=j;j=1;continue}if(g>>>0>=o>>>0){break Ha}m=x[g>>1];j=12;if((m&64512)!=56320){break Ia}j=g+2|0;v[e+12>>2]=j;k=k+1|0;f=(m+(f<<10)|0)-56613888|0;if(!(p&1)){break Ka}}d=x[l+(x[s+(x[s+(f>>10<<1)>>1]+(f>>>4&63)<<1)>>1]+(f&15)<<1)>>1];if(d>>>0<(h?2048:3072)>>>0){break Ka}j=v[e+8>>2];v[e+8>>2]=j+1;t[j|0]=d;d=v[e+4>>2];if(d){v[e+4>>2]=d+4;v[d>>2]=c}n=n-1|0;f=0;g=v[e+12>>2];c=k;break Ga}v[a+8>>2]=j;f=Ws(i,v[v[i+24>>2]+224>>2],f,e+12|0,o,e+8|0,v[e+8>>2]+n|0,e+4|0,c,t[a+2|0],b);g=v[e+12>>2];if(v[b>>2]>0){break Ha}n=v[a+20>>2]-v[e+8>>2]|0;c=(g-v[a+8>>2]>>1)+k|0;k=c;break Ga}g=j;j=12}v[d>>2]=j}v[i+56>>2]=f;v[a+8>>2]=g;v[a+16>>2]=v[e+8>>2];v[a+24>>2]=v[e+4>>2];break a}j=0;continue}}Ma:while(1){Na:{Oa:{Pa:{if(!i){if((g|0)<1){n=m;break Oa}j=s?2048:3072;n=m;while(1){v[e+12>>2]=n+2;Qa:{k=x[n>>1];if(!(k>>>0>127|!(h>>>(k>>>2)&1))){i=v[e+8>>2];v[e+8>>2]=i+1;t[i|0]=k;break Qa}i=x[l+(x[o+(x[o+(k>>>9&126)>>1]+(k>>>4&63)<<1)>>1]+(k&15)<<1)>>1];if(i>>>0>=j>>>0){k=v[e+8>>2];v[e+8>>2]=k+1;t[k|0]=i;break Qa}n=n+2|0;if((k&63488)!=55296){break Pa}if(!(k&1024)){i=1;continue Ma}v[b>>2]=12;break Oa}if((g|0)>=2){g=g-1|0;n=v[e+12>>2];continue}break}k=0;n=v[e+12>>2];break Oa}Ra:{if(d>>>0>n>>>0){j=x[n>>1];if((j&64512)==56320){break Ra}v[b>>2]=12;break Oa}if(!w[a+2|0]){break Oa}v[b>>2]=11;break Oa}n=n+2|0;v[e+12>>2]=n;k=(j+(k<<10)|0)-56613888|0}j=k>>>0<65536?1:2;g=v[e+4>>2];Sa:{if(!g){break Sa}i=n-m>>1;p=i-j|0;if((p|0)<1){break Sa}m=i-j&7;if(m){while(1){v[g>>2]=f;p=p-1|0;g=g+4|0;f=f+1|0;m=m-1|0;if(m){continue}break}}if(i+(j^-1)>>>0>=7){while(1){v[g>>2]=f;v[g+28>>2]=f+7;v[g+24>>2]=f+6;v[g+20>>2]=f+5;v[g+16>>2]=f+4;v[g+12>>2]=f+3;v[g+8>>2]=f+2;v[g+4>>2]=f+1;g=g+32|0;f=f+8|0;i=(p|0)>8;p=p-8|0;if(i){continue}break}}v[e+4>>2]=g}k=Ws(c,v[v[c+24>>2]+224>>2],k,e+12|0,d,e+8|0,v[a+20>>2],e+4|0,f,t[a+2|0],b);m=v[e+12>>2];f=(f+j|0)+(m-n>>1)|0;if(v[b>>2]>0){n=m;break Oa}j=d-m>>1;i=v[a+20>>2]-v[e+8>>2]|0;g=(i|0)>(j|0)?j:i;break Na}g=0;j=v[b>>2];if(!(d>>>0<=n>>>0|(j|0)>0|y[e+8>>2]>2])){j=15;v[b>>2]=15}b=v[e+4>>2];Ta:{if(!b){break Ta}d=n-m|0;if(!d){g=b;break Ta}d=d>>1;i=(j|0)==11;j=d-i|0;if(!j){g=b;break Ta}d=d+(i?-1:0)|0;o=d-1|0;i=d&7;Ua:{if(!i){g=b;break Ua}g=b;while(1){v[g>>2]=f;j=j-1|0;g=g+4|0;f=f+1|0;i=i-1|0;if(i){continue}break}}if(o>>>0<7){break Ta}while(1){v[g>>2]=f;v[g+28>>2]=f+7;v[g+24>>2]=f+6;v[g+20>>2]=f+5;v[g+16>>2]=f+4;v[g+12>>2]=f+3;v[g+8>>2]=f+2;v[g+4>>2]=f+1;g=g+32|0;f=f+8|0;j=j-8|0;if(j){continue}break}}v[c+56>>2]=k;v[a+8>>2]=n;b=v[e+8>>2];v[a+24>>2]=g;v[a+16>>2]=b;break a}i=0;continue}}v[i+56>>2]=g;v[a+8>>2]=f;v[a+16>>2]=v[e+8>>2];v[a+24>>2]=v[e+4>>2]}Ma=e+16|0}function aSa(a){a=a|0;var 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,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0;n=Ma-256|0;Ma=n;c=v[a+436>>2];while(1){a:{b:{if(c){break b}if(!v[v[a+460>>2]+12>>2]){d=v[a+24>>2];c=v[d+4>>2];if(!c){if(!(Qa[v[d+12>>2]](a)|0)){c=0;break a}c=v[d+4>>2]}b=v[d>>2];e=w[b|0];f=c-1|0;if(f){c=b+1|0}else{if(!(Qa[v[d+12>>2]](a)|0)){c=0;break a}f=v[d+4>>2];c=v[d>>2]}b=c+1|0;c=w[c|0];if(!((e|0)==255&(c|0)==216)){h=v[a>>2];v[h+24>>2]=e;v[h+20>>2]=55;v[v[a>>2]+28>>2]=c;Qa[v[v[a>>2]>>2]](a)}v[a+436>>2]=c;v[d+4>>2]=f-1;v[d>>2]=b;break b}if(!uK(a)){c=0;break a}c=v[a+436>>2]}c:{d:{switch(c-1|0){case 215:c=v[a>>2];v[c+20>>2]=104;Qa[v[c+4>>2]](a,1);c=v[a+460>>2];if(v[c+12>>2]){c=v[a>>2];v[c+20>>2]=63;Qa[v[c>>2]](a);c=v[a+460>>2]}t[a+232|0]=0;t[a+233|0]=0;t[a+234|0]=0;t[a+235|0]=0;t[a+236|0]=0;t[a+237|0]=0;t[a+238|0]=0;t[a+239|0]=0;t[a+240|0]=0;t[a+241|0]=0;t[a+242|0]=0;t[a+243|0]=0;t[a+244|0]=0;t[a+245|0]=0;t[a+246|0]=0;t[a+247|0]=0;t[a+256|0]=1;t[a+257|0]=1;t[a+258|0]=1;t[a+259|0]=1;t[a+260|0]=1;t[a+261|0]=1;t[a+262|0]=1;t[a+263|0]=1;t[a+248|0]=1;t[a+249|0]=1;t[a+250|0]=1;t[a+251|0]=1;t[a+252|0]=1;t[a+253|0]=1;t[a+254|0]=1;t[a+255|0]=1;t[a+272|0]=5;t[a+273|0]=5;t[a+274|0]=5;t[a+275|0]=5;t[a+276|0]=5;t[a+277|0]=5;t[a+278|0]=5;t[a+279|0]=5;t[a+264|0]=5;t[a+265|0]=5;t[a+266|0]=5;t[a+267|0]=5;t[a+268|0]=5;t[a+269|0]=5;t[a+270|0]=5;t[a+271|0]=5;v[a+304>>2]=0;v[a+40>>2]=0;v[a+280>>2]=0;v[a+284>>2]=0;t[a+300|0]=0;v[a+292>>2]=65537;v[a+296>>2]=0;t[a+290|0]=0;u[a+288>>1]=257;v[c+12>>2]=1;break c;case 192:c=0;if(Iw(a,0,0,0)){break c}break a;case 193:c=0;if(Iw(a,0,1,0)){break c}break a;case 200:c=0;if(Iw(a,0,0,1)){break c}break a;case 201:c=0;if(Iw(a,0,1,1)){break c}break a;case 194:case 196:case 197:case 198:case 199:case 202:case 204:case 205:case 206:d=v[a>>2];v[d+24>>2]=c;v[d+20>>2]=62;Qa[v[v[a>>2]>>2]](a);break c;case 217:g=v[a+24>>2];c=v[g+4>>2];b=v[g>>2];if(!v[v[a+460>>2]+16>>2]){d=v[a>>2];v[d+20>>2]=64;Qa[v[d>>2]](a)}if(!c){if(!(Qa[v[g+12>>2]](a)|0)){c=0;break a}b=v[g>>2];c=v[g+4>>2]}d=w[b|0];e=c-1|0;if(e){c=b+1|0}else{if(!(Qa[v[g+12>>2]](a)|0)){c=0;break a}e=v[g+4>>2];c=v[g>>2]}f=w[c|0];e=e-1|0;if(e){c=c+1|0}else{if(!(Qa[v[g+12>>2]](a)|0)){c=0;break a}e=v[g+4>>2];c=v[g>>2]}b=v[a>>2];i=w[c|0];v[b+24>>2]=i;v[b+20>>2]=105;h=1;Qa[v[v[a>>2]+4>>2]](a,1);e:{f:{g:{if(((i<<1)+6|0)!=(f|d<<8)|i>>>0>4){break g}if(i){v[a+336>>2]=i;b=c+1|0;c=e-1|0;j=g+12|0;break f}if(!v[a+224>>2]){break g}v[a+336>>2]=i;b=c+1|0;c=e-1|0;j=g+12|0;break e}d=v[a>>2];v[d+20>>2]=12;Qa[v[d>>2]](a);v[a+336>>2]=i;b=c+1|0;c=e-1|0;j=g+12|0;if(!i){break e}}h=0;while(1){if(!c){if(!(Qa[v[j>>2]](a)|0)){c=0;break a}b=v[g>>2];c=v[g+4>>2]}k=w[b|0];d=c-1|0;if(d){e=b+1|0}else{if(!(Qa[v[j>>2]](a)|0)){c=0;break a}d=v[g+4>>2];e=v[g>>2]}c=v[a+216>>2];m=w[e|0];l=v[a+36>>2];h:{if((l|0)>=1){f=B(l,88)+c|0;b=0;while(1){if((k|0)==v[c>>2]){break h}c=c+88|0;b=b+1|0;if((l|0)!=(b|0)){continue}break}c=f}f=v[a>>2];v[f+24>>2]=k;v[f+20>>2]=4;Qa[v[v[a>>2]>>2]](a)}v[((h<<2)+a|0)+340>>2]=c;v[c+24>>2]=m&15;v[c+20>>2]=m>>>4;f=v[a>>2];v[f+24>>2]=k;v[f+28>>2]=v[c+20>>2];c=v[c+24>>2];v[f+20>>2]=106;v[f+32>>2]=c;Qa[v[f+4>>2]](a,1);b=e+1|0;c=d-1|0;h=h+1|0;if((i|0)!=(h|0)){continue}break}h=0}if(!c){if(!(Qa[v[j>>2]](a)|0)){c=0;break a}b=v[g>>2];c=v[g+4>>2]}v[a+408>>2]=w[b|0];d=a;e=c-1|0;if(e){c=b+1|0}else{if(!(Qa[v[j>>2]](a)|0)){c=0;break a}e=v[g+4>>2];c=v[g>>2]}v[d+412>>2]=w[c|0];b=a;f=e-1|0;if(f){d=c+1|0}else{if(!(Qa[v[j>>2]](a)|0)){c=0;break a}f=v[g+4>>2];d=v[g>>2]}c=w[d|0];v[b+420>>2]=c&15;v[a+416>>2]=c>>>4;e=v[a>>2];v[e+24>>2]=v[a+408>>2];v[e+28>>2]=v[a+412>>2];v[e+32>>2]=v[a+416>>2];v[e+36>>2]=v[a+420>>2];v[e+20>>2]=107;c=1;Qa[v[e+4>>2]](a,1);v[v[a+460>>2]+20>>2]=0;if(!h){v[a+144>>2]=v[a+144>>2]+1}v[g+4>>2]=f-1;v[g>>2]=d+1;v[a+436>>2]=0;break a;case 216:c=v[a>>2];v[c+20>>2]=87;Qa[v[c+4>>2]](a,1);v[a+436>>2]=0;c=2;break a;case 203:f=v[a+24>>2];c=v[f+4>>2];if(!c){if(!(Qa[v[f+12>>2]](a)|0)){c=0;break a}c=v[f+4>>2]}d=v[f>>2];h=w[d|0];b=c-1|0;if(b){c=d+1|0}else{if(!(Qa[v[f+12>>2]](a)|0)){c=0;break a}b=v[f+4>>2];c=v[f>>2]}e=c+1|0;b=b-1|0;d=w[c|0]|h<<8;c=d-2|0;if(d>>>0>=3){while(1){d=c;if(!b){if(!(Qa[v[f+12>>2]](a)|0)){c=0;break a}b=v[f+4>>2];e=v[f>>2]}h=w[e|0];j=b-1|0;if(j){c=e+1|0}else{if(!(Qa[v[f+12>>2]](a)|0)){c=0;break a}j=v[f+4>>2];c=v[f>>2]}e=w[c|0];b=v[a>>2];v[b+24>>2]=h;v[b+20>>2]=81;v[v[a>>2]+28>>2]=e;Qa[v[v[a>>2]+4>>2]](a,1);i:{j:{k:{if(h>>>0>=32){b=v[a>>2];v[b+24>>2]=h;v[b+20>>2]=29;Qa[v[v[a>>2]>>2]](a);break k}if(h>>>0<16){break j}}t[(a+h|0)+248|0]=e;break i}b=a+h|0;h=e>>>4|0;t[b+248|0]=h;g=b;b=e&15;t[g+232|0]=b;if(b>>>0<=h>>>0){break i}b=v[a>>2];v[b+24>>2]=e;v[b+20>>2]=30;Qa[v[v[a>>2]>>2]](a)}e=c+1|0;b=j-1|0;c=d-2|0;if((d|0)>2){continue}break}}if(c){c=v[a>>2];v[c+20>>2]=12;Qa[v[c>>2]](a)}v[f+4>>2]=b;v[f>>2]=e;break c;case 195:l:{d=v[a+24>>2];c=v[d+4>>2];if(!c){if(!(Qa[v[d+12>>2]](a)|0)){break l}c=v[d+4>>2]}e=v[d>>2];f=w[e|0];c=c-1|0;if(c){e=e+1|0}else{if(!(Qa[v[d+12>>2]](a)|0)){break l}c=v[d+4>>2];e=v[d>>2]}b=e+1|0;c=c-1|0;e=w[e|0]|f<<8;h=e-2|0;if(e>>>0>=19){while(1){if(!c){if(!(Qa[v[d+12>>2]](a)|0)){break l}b=v[d>>2];c=v[d+4>>2]}e=v[a>>2];g=w[b|0];v[e+24>>2]=g;v[e+20>>2]=82;Qa[v[v[a>>2]+4>>2]](a,1);e=c-1|0;if(e){c=b+1|0}else{if(!(Qa[v[d+12>>2]](a)|0)){break l}e=v[d+4>>2];c=v[d>>2]}j=w[c|0];b=e-1|0;if(b){c=c+1|0}else{if(!(Qa[v[d+12>>2]](a)|0)){break l}b=v[d+4>>2];c=v[d>>2]}i=w[c|0];b=b-1|0;if(b){c=c+1|0}else{if(!(Qa[v[d+12>>2]](a)|0)){break l}b=v[d+4>>2];c=v[d>>2]}k=w[c|0];b=b-1|0;if(b){c=c+1|0}else{if(!(Qa[v[d+12>>2]](a)|0)){break l}b=v[d+4>>2];c=v[d>>2]}m=w[c|0];b=b-1|0;if(b){c=c+1|0}else{if(!(Qa[v[d+12>>2]](a)|0)){break l}b=v[d+4>>2];c=v[d>>2]}l=w[c|0];b=b-1|0;if(b){c=c+1|0}else{if(!(Qa[v[d+12>>2]](a)|0)){break l}b=v[d+4>>2];c=v[d>>2]}o=w[c|0];b=b-1|0;if(b){c=c+1|0}else{if(!(Qa[v[d+12>>2]](a)|0)){break l}b=v[d+4>>2];c=v[d>>2]}p=w[c|0];b=b-1|0;if(b){c=c+1|0}else{if(!(Qa[v[d+12>>2]](a)|0)){break l}b=v[d+4>>2];c=v[d>>2]}q=w[c|0];b=b-1|0;if(b){c=c+1|0}else{if(!(Qa[v[d+12>>2]](a)|0)){break l}b=v[d+4>>2];c=v[d>>2]}r=w[c|0];b=b-1|0;if(b){c=c+1|0}else{if(!(Qa[v[d+12>>2]](a)|0)){break l}b=v[d+4>>2];c=v[d>>2]}s=w[c|0];b=b-1|0;if(b){c=c+1|0}else{if(!(Qa[v[d+12>>2]](a)|0)){break l}b=v[d+4>>2];c=v[d>>2]}y=w[c|0];b=b-1|0;if(b){c=c+1|0}else{if(!(Qa[v[d+12>>2]](a)|0)){break l}b=v[d+4>>2];c=v[d>>2]}z=w[c|0];b=b-1|0;if(b){c=c+1|0}else{if(!(Qa[v[d+12>>2]](a)|0)){break l}b=v[d+4>>2];c=v[d>>2]}A=w[c|0];b=b-1|0;if(b){c=c+1|0}else{if(!(Qa[v[d+12>>2]](a)|0)){break l}b=v[d+4>>2];c=v[d>>2]}C=w[c|0];b=b-1|0;if(b){c=c+1|0}else{if(!(Qa[v[d+12>>2]](a)|0)){break l}b=v[d+4>>2];c=v[d>>2]}D=w[c|0];e=b-1|0;if(e){c=c+1|0}else{if(!(Qa[v[d+12>>2]](a)|0)){break l}e=v[d+4>>2];c=v[d>>2]}E=w[c|0];f=v[a>>2];v[f+24>>2]=j;v[f+20>>2]=88;v[f+52>>2]=q;v[f+48>>2]=p;v[f+44>>2]=o;v[f+40>>2]=l;v[f+36>>2]=m;v[f+32>>2]=k;v[f+28>>2]=i;Qa[v[f+4>>2]](a,2);f=v[a>>2];v[f+24>>2]=r;v[f+20>>2]=88;v[f+52>>2]=E;v[f+48>>2]=D;v[f+44>>2]=C;v[f+40>>2]=A;v[f+36>>2]=z;v[f+32>>2]=y;v[f+28>>2]=s;Qa[v[f+4>>2]](a,2);f=(((((((((((l+(m+(k+(i+j|0)|0)|0)|0)+o|0)+p|0)+q|0)+r|0)+s|0)+y|0)+z|0)+A|0)+C|0)+D|0)+E|0;h=h-17|0;if(!(f>>>0<=256&(h|0)>=(f|0))){b=v[a>>2];v[b+20>>2]=9;Qa[v[b>>2]](a)}b=c+1|0;c=e-1|0;e=0;if(f){while(1){if(!c){if(!(Qa[v[d+12>>2]](a)|0)){break l}b=v[d>>2];c=v[d+4>>2]}t[e+n|0]=w[b|0];b=b+1|0;c=c-1|0;e=e+1|0;if(f>>>0>e>>>0){continue}break}}e=g-16|0;G=g&16;F=G?((e<<2)+a|0)+196|0:((g<<2)+a|0)+180|0;e=G?e:g;if(e>>>0>=4){g=v[a>>2];v[g+24>>2]=e;v[g+20>>2]=31;Qa[v[v[a>>2]>>2]](a)}h=h-f|0;e=v[F>>2];if(!e){e=Qa[v[v[a+4>>2]>>2]](a,0,280)|0;v[e+276>>2]=0;v[F>>2]=e}t[e+16|0]=E;t[e+15|0]=D;t[e+14|0]=C;t[e+13|0]=A;t[e+12|0]=z;t[e+11|0]=y;t[e+10|0]=s;t[e+9|0]=r;t[e+8|0]=q;t[e+7|0]=p;t[e+6|0]=o;t[e+5|0]=l;t[e+4|0]=m;t[e+3|0]=k;t[e+2|0]=i;t[e+1|0]=j;t[e|0]=0;cb(v[F>>2]+17|0,n,256);if((h|0)>16){continue}break}}if(h){e=v[a>>2];v[e+20>>2]=12;Qa[v[e>>2]](a)}v[d+4>>2]=c;v[d>>2]=b;break c}c=0;break a;case 191:c=0;if(Iw(a,1,0,0)){break c}break a;default:d=v[a>>2];v[d+24>>2]=c;v[d+20>>2]=70;Qa[v[v[a>>2]>>2]](a);break c;case 219:c=v[a+24>>2];b=v[c+4>>2];if(!b){if(!(Qa[v[c+12>>2]](a)|0)){c=0;break a}b=v[c+4>>2]}d=v[c>>2];f=w[d|0];e=b-1|0;if(e){d=d+1|0}else{if(!(Qa[v[c+12>>2]](a)|0)){c=0;break a}e=v[c+4>>2];d=v[c>>2]}b=w[d|0];h=v[a>>2];v[h+20>>2]=93;v[h+24>>2]=v[a+436>>2];f=b|f<<8;b=f-2|0;v[v[a>>2]+28>>2]=b;Qa[v[v[a>>2]+4>>2]](a,1);v[c+4>>2]=e-1;v[c>>2]=d+1;if(f>>>0<3){break c}Qa[v[v[a+24>>2]+16>>2]](a,b);break c;case 0:case 207:case 208:case 209:case 210:case 211:case 212:case 213:case 214:d=v[a>>2];v[d+24>>2]=c;v[d+20>>2]=94;Qa[v[v[a>>2]+4>>2]](a,1);break c;case 253:if(Qa[v[v[a+460>>2]+28>>2]](a)|0){break c}c=0;break a;case 223:case 224:case 225:case 226:case 227:case 228:case 229:case 230:case 231:case 232:case 233:case 234:case 235:case 236:case 237:case 238:if(Qa[v[(v[a+460>>2]+(c<<2)|0)-864>>2]](a)|0){break c}c=0;break a;case 220:d=v[a+24>>2];b=v[d+4>>2];if(!b){if(!(Qa[v[d+12>>2]](a)|0)){c=0;break a}b=v[d+4>>2]}c=v[d>>2];e=w[c|0];b=b-1|0;if(b){c=c+1|0}else{if(!(Qa[v[d+12>>2]](a)|0)){c=0;break a}b=v[d+4>>2];c=v[d>>2]}b=b-1|0;if((w[c|0]|e<<8)!=4){e=v[a>>2];v[e+20>>2]=12;Qa[v[e>>2]](a)}if(b){c=c+1|0}else{if(!(Qa[v[d+12>>2]](a)|0)){c=0;break a}b=v[d+4>>2];c=v[d>>2]}e=w[c|0];f=b-1|0;if(f){c=c+1|0}else{if(!(Qa[v[d+12>>2]](a)|0)){c=0;break a}f=v[d+4>>2];c=v[d>>2]}b=w[c|0];h=v[a>>2];v[h+20>>2]=84;e=b|e<<8;v[h+24>>2]=e;Qa[v[v[a>>2]+4>>2]](a,1);v[a+280>>2]=e;v[d+4>>2]=f-1;v[d>>2]=c+1;break c;case 218:break d}}g=v[a+24>>2];c=v[g+4>>2];if(!c){if(!(Qa[v[g+12>>2]](a)|0)){c=0;break a}c=v[g+4>>2]}d=v[g>>2];e=w[d|0];b=c-1|0;if(b){c=d+1|0}else{if(!(Qa[v[g+12>>2]](a)|0)){c=0;break a}b=v[g+4>>2];c=v[g>>2]}h=c+1|0;f=b-1|0;d=w[c|0]|e<<8;c=d-2|0;if(d>>>0>=3){while(1){if(!f){if(!(Qa[v[g+12>>2]](a)|0)){c=0;break a}h=v[g>>2];f=v[g+4>>2]}i=w[h|0];d=v[a>>2];v[d+20>>2]=83;e=d;d=i&15;v[e+24>>2]=d;v[v[a>>2]+28>>2]=i>>>4;Qa[v[v[a>>2]+4>>2]](a,1);if(d>>>0>=4){e=v[a>>2];v[e+24>>2]=d;v[e+20>>2]=32;Qa[v[v[a>>2]>>2]](a)}d=(d<<2)+a|0;b=v[d+164>>2];if(!b){b=Qa[v[v[a+4>>2]>>2]](a,0,132)|0;v[b+128>>2]=0;v[d+164>>2]=b}e=c-1|0;m:{n:{o:{p:{k=i>>>0<16;q:{if(!k){if((c|0)>128){break p}u[b+120>>1]=1;u[b+122>>1]=1;u[b+124>>1]=1;u[b+126>>1]=1;u[b+112>>1]=1;u[b+114>>1]=1;u[b+116>>1]=1;u[b+118>>1]=1;u[b+104>>1]=1;u[b+106>>1]=1;u[b+108>>1]=1;u[b+110>>1]=1;u[b+96>>1]=1;u[b+98>>1]=1;u[b+100>>1]=1;u[b+102>>1]=1;u[b+88>>1]=1;u[b+90>>1]=1;u[b+92>>1]=1;u[b+94>>1]=1;u[b+80>>1]=1;u[b+82>>1]=1;u[b+84>>1]=1;u[b+86>>1]=1;u[b+72>>1]=1;u[b+74>>1]=1;u[b+76>>1]=1;u[b+78>>1]=1;u[b+64>>1]=1;u[b+66>>1]=1;u[b+68>>1]=1;u[b+70>>1]=1;u[b+56>>1]=1;u[b+58>>1]=1;u[b+60>>1]=1;u[b+62>>1]=1;u[b+48>>1]=1;u[b+50>>1]=1;u[b+52>>1]=1;u[b+54>>1]=1;u[b+40>>1]=1;u[b+42>>1]=1;u[b+44>>1]=1;u[b+46>>1]=1;u[b+32>>1]=1;u[b+34>>1]=1;u[b+36>>1]=1;u[b+38>>1]=1;u[b+24>>1]=1;u[b+26>>1]=1;u[b+28>>1]=1;u[b+30>>1]=1;u[b+16>>1]=1;u[b+18>>1]=1;u[b+20>>1]=1;u[b+22>>1]=1;u[b+8>>1]=1;u[b+10>>1]=1;u[b+12>>1]=1;u[b+14>>1]=1;u[b>>1]=1;u[b+2>>1]=1;u[b+4>>1]=1;u[b+6>>1]=1;c=e>>1;break q}if((c|0)>64){break p}u[b+120>>1]=1;u[b+122>>1]=1;u[b+124>>1]=1;u[b+126>>1]=1;u[b+112>>1]=1;u[b+114>>1]=1;u[b+116>>1]=1;u[b+118>>1]=1;u[b+104>>1]=1;u[b+106>>1]=1;u[b+108>>1]=1;u[b+110>>1]=1;u[b+96>>1]=1;u[b+98>>1]=1;u[b+100>>1]=1;u[b+102>>1]=1;u[b+88>>1]=1;u[b+90>>1]=1;u[b+92>>1]=1;u[b+94>>1]=1;u[b+80>>1]=1;u[b+82>>1]=1;u[b+84>>1]=1;u[b+86>>1]=1;u[b+72>>1]=1;u[b+74>>1]=1;u[b+76>>1]=1;u[b+78>>1]=1;u[b+64>>1]=1;u[b+66>>1]=1;u[b+68>>1]=1;u[b+70>>1]=1;u[b+56>>1]=1;u[b+58>>1]=1;u[b+60>>1]=1;u[b+62>>1]=1;u[b+48>>1]=1;u[b+50>>1]=1;u[b+52>>1]=1;u[b+54>>1]=1;u[b+40>>1]=1;u[b+42>>1]=1;u[b+44>>1]=1;u[b+46>>1]=1;u[b+32>>1]=1;u[b+34>>1]=1;u[b+36>>1]=1;u[b+38>>1]=1;u[b+24>>1]=1;u[b+26>>1]=1;u[b+28>>1]=1;u[b+30>>1]=1;u[b+16>>1]=1;u[b+18>>1]=1;u[b+20>>1]=1;u[b+22>>1]=1;u[b+8>>1]=1;u[b+10>>1]=1;u[b+12>>1]=1;u[b+14>>1]=1;u[b>>1]=1;u[b+2>>1]=1;u[b+4>>1]=1;u[b+6>>1]=1;c=e}j=71248;r:{s:{t:{u:{v:{w:{d=c;switch(c-4|0){case 0:break r;case 45:break s;case 32:break t;case 21:break u;case 12:break v;case 5:break w;default:break o}}j=71136;break r}j=71008;break r}j=70832;break r}j=70624;break r}j=70352}h=h+1|0;f=f-1|0;break n}h=h+1|0;f=f-1|0;d=64;j=70032;break n}h=h+1|0;f=f-1|0;j=70032;if((d|0)<1){break m}}c=0;if(i>>>0<=15){while(1){if(!f){if(!(Qa[v[g+12>>2]](a)|0)){c=0;break a}h=v[g>>2];f=v[g+4>>2]}u[(v[(c<<2)+j>>2]<<1)+b>>1]=w[h|0];h=h+1|0;f=f-1|0;c=c+1|0;if((d|0)!=(c|0)){continue}break m}}while(1){if(!f){if(!(Qa[v[g+12>>2]](a)|0)){c=0;break a}h=v[g>>2];f=v[g+4>>2]}i=w[h|0];f=f-1|0;if(f){h=h+1|0}else{if(!(Qa[v[g+12>>2]](a)|0)){c=0;break a}f=v[g+4>>2];h=v[g>>2]}u[(v[(c<<2)+j>>2]<<1)+b>>1]=w[h|0]|i<<8;h=h+1|0;f=f-1|0;c=c+1|0;if((d|0)!=(c|0)){continue}break}}j=0;x:{c=v[a>>2];if(v[c+104>>2]<2){break x}while(1){i=j<<1;v[c+24>>2]=x[i+b>>1];v[c+28>>2]=x[(i|2)+b>>1];v[c+32>>2]=x[(i|4)+b>>1];v[c+36>>2]=x[(i|6)+b>>1];v[c+40>>2]=x[(i|8)+b>>1];v[c+44>>2]=x[(i|10)+b>>1];v[c+48>>2]=x[(i|12)+b>>1];i=x[(i|14)+b>>1];v[c+20>>2]=95;v[c+52>>2]=i;Qa[v[c+4>>2]](a,2);if(j>>>0>55){break x}j=j+8|0;c=v[a>>2];continue}}c=e-((k?0:d)+d|0)|0;if((c|0)>0){continue}break}}if(c){c=v[a>>2];v[c+20>>2]=12;Qa[v[c>>2]](a)}v[g+4>>2]=f;v[g>>2]=h}c=0;v[a+436>>2]=0;continue}break}Ma=n+256|0;return c|0}function mm(a,b){var 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;j=Ma-32|0;Ma=j;v[j+16>>2]=13;a:{if((b|0)>=9){fb(1,-1,234641,0);break a}b:{c:{switch(v[a>>2]-4|0){case 0:d:{a=v[a+8>>2];if(hb(a,220215)){if(hb(a,311629)){break d}}c=ab(12);v[c+4>>2]=15;v[c+8>>2]=0;v[c>>2]=887480;break a}e:{if(hb(a,313008)){if(hb(a,313014)){break e}}c=ab(12);v[c+4>>2]=15;v[c+8>>2]=0;v[c>>2]=887584;break a}f:{if(hb(a,311188)){if(hb(a,311194)){break f}}c=ab(12);v[c+4>>2]=15;v[c+8>>2]=0;v[c>>2]=887688;break a}if(!hb(a,245390)){c=ab(16);v[c+4>>2]=15;v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=888e3;break a}v[j>>2]=a;fb(1,-1,336283,j);break a;case 2:break c;default:break b}}d=v[a+8>>2];if(v[d+12>>2]<1){break b}ub(d,0,j+16|0,0);g:{h:{if(v[j+16>>2]!=4){break h}i:{d=v[j+24>>2];if(hb(d,220215)){if(hb(d,311629)){break i}}c=ab(12);v[c+4>>2]=15;v[c+8>>2]=0;v[c>>2]=887480;break g}j:{if(hb(d,313008)){if(hb(d,313014)){break j}}c=ab(12);v[c+4>>2]=15;v[c+8>>2]=0;v[c>>2]=887584;break g}k:{if(hb(d,311188)){if(hb(d,311194)){break k}}c=ab(12);v[c+4>>2]=15;v[c+8>>2]=0;v[c>>2]=887688;break g}if(!hb(d,220207)){c=v[a+8>>2];b=0;a=Ma-48|0;Ma=a;v[a+32>>2]=13;v[a+16>>2]=13;v[a>>2]=13;l:{if(v[c+12>>2]<=1){fb(1,-1,285875,0);break l}ub(c,1,a+32|0,0);if(v[a+32>>2]!=7){fb(1,-1,285875,0);bb(a+32|0);break l}b=ab(72);v[b+4>>2]=15;v[b+8>>2]=0;v[b+32>>2]=0;v[b+36>>2]=1072693248;v[b>>2]=887532;v[b+24>>2]=0;v[b+28>>2]=1072693248;v[b+40>>2]=0;v[b+44>>2]=0;v[b+16>>2]=0;v[b+20>>2]=1072693248;v[b+64>>2]=0;v[b+68>>2]=1072693248;v[b+48>>2]=0;v[b+52>>2]=0;v[b+56>>2]=0;v[b+60>>2]=0;m:{if(v[ib(v[a+40>>2],228472,a+16|0,0)>>2]!=6){break m}c=v[a+24>>2];if(v[c+12>>2]!=3){break m}ub(c,0,a,0);A[b+16>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];bb(a);ub(v[a+24>>2],1,a,0);A[b+24>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];bb(a);ub(v[a+24>>2],2,a,0);A[b+32>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];bb(a)}c=a+16|0;bb(c);n:{if(v[ib(v[a+40>>2],228461,c,0)>>2]!=6){break n}c=v[a+24>>2];if(v[c+12>>2]!=3){break n}ub(c,0,a,0);A[b+40>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];bb(a);ub(v[a+24>>2],1,a,0);A[b+48>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];bb(a);ub(v[a+24>>2],2,a,0);A[b+56>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];bb(a)}c=a+16|0;bb(c);if(v[ib(v[a+40>>2],305889,c,0)>>2]-1>>>0<=1){A[b+64>>3]=v[a+16>>2]==1?+v[a+24>>2]:A[a+24>>3]}bb(a+16|0);bb(a+32|0)}Ma=a+48|0;c=b;break g}if(!hb(d,313001)){c=v[a+8>>2];b=0;a=Ma-48|0;Ma=a;v[a+32>>2]=13;v[a+16>>2]=13;v[a>>2]=13;o:{if(v[c+12>>2]<=1){fb(1,-1,286092,0);break o}ub(c,1,a+32|0,0);if(v[a+32>>2]!=7){fb(1,-1,286092,0);bb(a+32|0);break o}b=ab(160);v[b+4>>2]=15;v[b+8>>2]=0;v[b+32>>2]=0;v[b+36>>2]=1072693248;v[b>>2]=887636;v[b+24>>2]=0;v[b+28>>2]=1072693248;v[b+40>>2]=0;v[b+44>>2]=0;v[b+16>>2]=0;v[b+20>>2]=1072693248;v[b+80>>2]=0;v[b+84>>2]=1072693248;v[b+72>>2]=0;v[b+76>>2]=1072693248;v[b+88>>2]=0;v[b+92>>2]=1072693248;v[b+64>>2]=0;v[b+68>>2]=1072693248;v[b+48>>2]=0;v[b+52>>2]=0;v[b+56>>2]=0;v[b+60>>2]=0;v[b+96>>2]=0;v[b+100>>2]=0;v[b+104>>2]=0;v[b+108>>2]=0;v[b+112>>2]=0;v[b+116>>2]=0;v[b+128>>2]=0;v[b+132>>2]=0;v[b+120>>2]=0;v[b+124>>2]=1072693248;v[b+136>>2]=0;v[b+140>>2]=0;v[b+144>>2]=0;v[b+148>>2]=0;v[b+152>>2]=0;v[b+156>>2]=1072693248;p:{if(v[ib(v[a+40>>2],228472,a+16|0,0)>>2]!=6){break p}c=v[a+24>>2];if(v[c+12>>2]!=3){break p}ub(c,0,a,0);A[b+16>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];bb(a);ub(v[a+24>>2],1,a,0);A[b+24>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];bb(a);ub(v[a+24>>2],2,a,0);A[b+32>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];bb(a)}c=a+16|0;bb(c);q:{if(v[ib(v[a+40>>2],228461,c,0)>>2]!=6){break q}c=v[a+24>>2];if(v[c+12>>2]!=3){break q}ub(c,0,a,0);A[b+40>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];bb(a);ub(v[a+24>>2],1,a,0);A[b+48>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];bb(a);ub(v[a+24>>2],2,a,0);A[b+56>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];bb(a)}c=a+16|0;bb(c);r:{if(v[ib(v[a+40>>2],305889,c,0)>>2]!=6){break r}c=v[a+24>>2];if(v[c+12>>2]!=3){break r}ub(c,0,a,0);A[b+64>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];bb(a);ub(v[a+24>>2],1,a,0);A[b+72>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];bb(a);ub(v[a+24>>2],2,a,0);A[b+80>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];bb(a)}c=a+16|0;bb(c);s:{if(v[ib(v[a+40>>2],220530,c,0)>>2]!=6){break s}c=v[a+24>>2];if(v[c+12>>2]!=9){break s}ub(c,0,a,0);A[b+88>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];bb(a);ub(v[a+24>>2],1,a,0);A[b+96>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];bb(a);ub(v[a+24>>2],2,a,0);A[b+104>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];bb(a);ub(v[a+24>>2],3,a,0);A[b+112>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];bb(a);ub(v[a+24>>2],4,a,0);A[b+120>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];bb(a);ub(v[a+24>>2],5,a,0);A[b+128>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];bb(a);ub(v[a+24>>2],6,a,0);A[b+136>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];bb(a);ub(v[a+24>>2],7,a,0);A[b+144>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];bb(a);ub(v[a+24>>2],8,a,0);A[b+152>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];bb(a)}bb(a+16|0);bb(a+32|0)}Ma=a+48|0;c=b;break g}if(!hb(d,302453)){c=v[a+8>>2];b=0;a=Ma-48|0;Ma=a;v[a+32>>2]=13;v[a+16>>2]=13;v[a>>2]=13;t:{if(v[c+12>>2]<=1){fb(1,-1,286048,0);break t}ub(c,1,a+32|0,0);if(v[a+32>>2]!=7){fb(1,-1,286048,0);bb(a+32|0);break t}b=ab(120);v[b+4>>2]=15;v[b+8>>2]=0;v[b+32>>2]=0;v[b+36>>2]=1072693248;v[b>>2]=887740;v[b+24>>2]=0;v[b+28>>2]=1072693248;v[b+40>>2]=0;v[b+44>>2]=0;v[b+16>>2]=0;v[b+20>>2]=1072693248;v[b+80>>2]=0;v[b+84>>2]=-1067909120;v[b+88>>2]=0;v[b+92>>2]=1079574528;v[b+64>>2]=0;v[b+68>>2]=-1067909120;v[b+72>>2]=0;v[b+76>>2]=1079574528;v[b+48>>2]=0;v[b+52>>2]=0;v[b+56>>2]=0;v[b+60>>2]=0;n=1;u:{if(v[ib(v[a+40>>2],228472,a+16|0,0)>>2]!=6){l=1;m=1;break u}l=1;m=1;c=v[a+24>>2];if(v[c+12>>2]!=3){break u}ub(c,0,a,0);m=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];A[b+16>>3]=m;bb(a);ub(v[a+24>>2],1,a,0);l=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];A[b+24>>3]=l;bb(a);ub(v[a+24>>2],2,a,0);n=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];A[b+32>>3]=n;bb(a)}c=a+16|0;bb(c);v:{if(v[ib(v[a+40>>2],228461,c,0)>>2]!=6){break v}c=v[a+24>>2];if(v[c+12>>2]!=3){break v}ub(c,0,a,0);A[b+40>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];bb(a);ub(v[a+24>>2],1,a,0);A[b+48>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];bb(a);ub(v[a+24>>2],2,a,0);A[b+56>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];bb(a)}c=a+16|0;bb(c);w:{if(v[ib(v[a+40>>2],282952,c,0)>>2]!=6){break w}c=v[a+24>>2];if(v[c+12>>2]!=4){break w}ub(c,0,a,0);A[b+64>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];bb(a);ub(v[a+24>>2],1,a,0);A[b+72>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];bb(a);ub(v[a+24>>2],2,a,0);A[b+80>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];bb(a);ub(v[a+24>>2],3,a,0);A[b+88>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];bb(a)}bb(a+16|0);bb(a+32|0);A[b+112>>3]=1/(m*.055643+l*-.204026+n*1.057229);A[b+104>>3]=1/(l*1.876011+m*-.969265+n*.041556);A[b+96>>3]=1/(m*3.240449+l*-1.537136+n*-.498531)}Ma=a+48|0;c=b;break g}if(!hb(d,290353)){d=v[a+8>>2];a=Ma+-64|0;Ma=a;v[a+48>>2]=13;v[a+32>>2]=13;v[a+16>>2]=13;x:{if(v[d+12>>2]<=1){fb(1,-1,286007,0);break x}e=a+48|0;Nf(d,1,e);f=v[a+56>>2];g=v[a+60>>2];h=v[a+48>>2];bb(e);ub(d,1,e,0);if(v[a+48>>2]!=8){fb(1,-1,329916,0);bb(a+48|0);break x}d=v[a+56>>2];e=Qa[v[v[d>>2]+76>>2]](d)|0;if(v[ib(e,310866,a+32|0,0)>>2]!=1){fb(1,-1,331048,0);bb(a+32|0);bb(a+48|0);break x}d=v[a+40>>2];bb(a+32|0);if((d|0)>=5){v[a>>2]=d;fb(1,-1,234500,a);d=4}y:{if(v[ib(e,276647,a+32|0,0)>>2]!=5){b=mm(a+32|0,b+1|0);if(b){break y}}z:{switch(d-1|0){case 2:b=ab(12);v[b+4>>2]=15;v[b+8>>2]=0;v[b>>2]=887584;break y;case 3:b=ab(12);v[b+4>>2]=15;v[b+8>>2]=0;v[b>>2]=887688;break y;default:fb(1,-1,310831,0);bb(a+32|0);bb(a+48|0);break x;case 0:break z}}b=ab(12);v[b+4>>2]=15;v[b+8>>2]=0;v[b>>2]=887480}i=a+32|0;bb(i);c=ab(96);v[c+4>>2]=15;v[c+8>>2]=0;v[c+16>>2]=b;v[c+12>>2]=d;v[c>>2]=887792;v[c+24>>2]=0;v[c+28>>2]=0;v[c+56>>2]=0;v[c+60>>2]=1072693248;b=(h|0)==9;v[c+88>>2]=b?f:0;v[c+92>>2]=b?g:0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+80>>2]=0;v[c+84>>2]=1072693248;v[c+72>>2]=0;v[c+76>>2]=1072693248;b=c- -64|0;v[b>>2]=0;v[b+4>>2]=1072693248;A:{if(v[ib(e,282952,i,0)>>2]!=6){break A}b=v[a+40>>2];if(v[b+12>>2]!=d<<1|(d|0)<1){break A}f=0;while(1){g=b;e=f<<1;b=a+16|0;ub(g,e,b,0);g=(f<<3)+c|0;A[g+24>>3]=v[a+16>>2]==1?+v[a+24>>2]:A[a+24>>3];bb(b);ub(v[a+40>>2],e|1,b,0);A[g+56>>3]=v[a+16>>2]==1?+v[a+24>>2]:A[a+24>>3];bb(b);f=f+1|0;if((f|0)==(d|0)){break A}b=v[a+40>>2];continue}}bb(a+32|0);bb(a+48|0)}Ma=a- -64|0;break g}B:{if(hb(d,288760)){if(hb(d,311375)){break B}}a=v[a+8>>2];g=Ma-16|0;Ma=g;v[g>>2]=13;C:{if(v[a+12>>2]!=4){fb(1,-1,285983,0);break C}ub(a,1,g,0);f=mm(g,b+1|0);D:{if(!f){fb(1,-1,330959,0);break D}bb(g);if(v[ub(a,2,g,0)>>2]!=1){fb(1,-1,330459,0);Qa[v[v[f>>2]+4>>2]](f);break D}b=v[g+8>>2];if(b>>>0>=256){fb(1,-1,330491,0);Qa[v[v[f>>2]+4>>2]](f);break D}bb(g);e=ab(24);v[e+4>>2]=15;v[e+8>>2]=0;v[e+16>>2]=b;v[e+12>>2]=f;v[e>>2]=887844;c=b+1|0;q=e,r=Pb(B(Qa[v[v[f>>2]+28>>2]](f)|0,c),1),v[q+20>>2]=r;v[e+4>>2]=v[f+4>>2];ub(a,3,g,0);i=Qa[v[v[f>>2]+28>>2]](f)|0;E:{F:{G:{switch(v[g>>2]-3|0){case 5:a=v[g+8>>2];Qa[v[v[a>>2]+20>>2]](a);if((i|0)>=1){while(1){c=B(i,k);h=0;H:{if(k){a=k-1|0;while(1){d=v[g+8>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){fb(1,-1,327126,0);v[e+16>>2]=a;b=a}t[v[e+20>>2]+(c+h|0)|0]=d;h=h+1|0;if((i|0)!=(h|0)){continue}break}break H}while(1){a=v[g+8>>2];a=Qa[v[v[a>>2]+28>>2]](a)|0;if((a|0)!=-1){t[v[e+20>>2]+(c+h|0)|0]=a;h=h+1|0;if((i|0)!=(h|0)){continue}break H}break}fb(1,-1,327126,0);f=v[e+12>>2];if(!f){break E}break F}a=(b|0)>(k|0);k=k+1|0;if(a){continue}break}}a=v[g+8>>2];Qa[v[v[a>>2]+24>>2]](a);bb(g);break C;default:fb(1,-1,330747,0);break F;case 0:break G}}h=v[g+8>>2];if(v[h>>2]<(B(c,i)|0)){fb(1,-1,327182,0);h=v[g+8>>2];a=v[h>>2]/(i|0)|0;b=a-1|0;v[e+16>>2]=b;if((a|0)<1){break F}}if((i|0)>=1){c=i&-4;d=i&3;f=v[h+4>>2];p=i-1>>>0<3;while(1){o=B(i,k);h=0;a=c;if(!p){while(1){t[v[e+20>>2]+(h+o|0)|0]=w[f|0];t[v[e+20>>2]+((h|1)+o|0)|0]=w[f+1|0];t[v[e+20>>2]+((h|2)+o|0)|0]=w[f+2|0];t[v[e+20>>2]+((h|3)+o|0)|0]=w[f+3|0];h=h+4|0;f=f+4|0;a=a-4|0;if(a){continue}break}}a=d;if(a){while(1){t[v[e+20>>2]+(h+o|0)|0]=w[f|0];h=h+1|0;f=f+1|0;a=a-1|0;if(a){continue}break}}a=(b|0)==(k|0);k=k+1|0;if(!a){continue}break}}bb(g);break C}Qa[v[v[f>>2]+4>>2]](f)}tb(v[e+20>>2]);$a(e)}bb(g);e=0}Ma=g+16|0;c=e;break g}if(!hb(d,247316)){a=v[a+8>>2];d=Ma-32|0;Ma=d;v[d+16>>2]=13;v[d>>2]=13;I:{if(v[a+12>>2]!=4){fb(1,-1,285956,0);a=0;break I}J:{if(v[ub(a,1,d+16|0,0)>>2]!=4){fb(1,-1,330541,0);break J}f=ab(8);c=Rb(f,v[d+24>>2]);e=d+16|0;bb(e);ub(a,2,e,0);K:{if(v[d+16>>2]!=8){break K}e=v[d+24>>2];if(v[ib(Qa[v[v[e>>2]+76>>2]](e)|0,276647,d,0)>>2]==5){break K}bb(d+16|0);e=v[d+12>>2];v[d+24>>2]=v[d+8>>2];v[d+28>>2]=e;e=v[d+4>>2];v[d+16>>2]=v[d>>2];v[d+20>>2]=e}b=mm(d+16|0,b+1|0);L:{if(!b){fb(1,-1,330860,0);break L}e=d+16|0;bb(e);ub(a,3,e,0);e=gg(e,1,Qa[v[v[b>>2]+28>>2]](b)|0,0);if(e){bb(d+16|0);a=ab(28);v[a+4>>2]=15;v[a+8>>2]=0;v[a+20>>2]=e;v[a+16>>2]=b;v[a+12>>2]=c;v[a>>2]=887896;q=a,r=!Ec(c,279480),v[q+24>>2]=r;b=a;c=1;M:{N:{if(!Ec(v[a+12>>2],249407)){break N}c=2;if(!Ec(v[a+12>>2],303426)){break N}c=4;if(!Ec(v[a+12>>2],221214)){break N}if(Ec(v[a+12>>2],263335)){break M}c=8}v[b+4>>2]=c}break I}Qa[v[v[b>>2]+4>>2]](b)}Bb(c);$a(f)}bb(d+16|0);a=0}c=a;Ma=d+32|0;break g}if(!hb(d,310687)){f=v[a+8>>2];d=0;c=Ma-192|0;Ma=c;v[c+48>>2]=13;v[c+32>>2]=13;v[c+16>>2]=13;O:{if((v[f+12>>2]&-2)!=4){fb(1,-1,286068,0);break O}P:{if(v[ub(f,1,c+32|0,0)>>2]!=6){fb(1,-1,329838,0);break P}a=v[v[c+40>>2]+12>>2];Q:{R:{if((a|0)>=33){v[c+4>>2]=32;v[c>>2]=a;fb(1,-1,234439,c);a=32;g=c+24|0;break R}if((a|0)<1){break Q}g=c+24|0}while(1){if(v[ub(v[c+40>>2],d,c+16|0,0)>>2]!=4){fb(1,-1,329838,0);bb(c+16|0);break P}e=ab(8);Rb(e,v[g>>2]);v[(c- -64|0)+(d<<2)>>2]=e;e=1;bb(c+16|0);d=d+1|0;if((d|0)!=(a|0)){continue}break}}d=c+32|0;bb(d);ub(f,2,d,0);S:{if(v[c+32>>2]!=8){break S}d=v[c+40>>2];if(v[ib(Qa[v[v[d>>2]+76>>2]](d)|0,276647,c+16|0,0)>>2]==5){break S}bb(c+32|0);d=v[c+28>>2];v[c+40>>2]=v[c+24>>2];v[c+44>>2]=d;d=v[c+20>>2];v[c+32>>2]=v[c+16>>2];v[c+36>>2]=d}b=mm(c+32|0,b+1|0);T:{if(!b){fb(1,-1,330911,0);break T}d=c+32|0;bb(d);ub(f,3,d,0);g=gg(d,a,Qa[v[v[b>>2]+28>>2]](b)|0,0);if(g){bb(c+32|0);U:{if(v[f+12>>2]==5){ub(f,4,c+48|0,0);break U}v[c+48>>2]=5}h=c- -64|0;d=ab(176);v[d+4>>2]=15;v[d+8>>2]=0;v[d+152>>2]=13;v[d>>2]=887948;v[d+148>>2]=g;v[d+144>>2]=b;v[d+12>>2]=a;g=c+48|0;ee(g,d+152|0);e=0;v[d+4>>2]=0;v[d+168>>2]=1;if(v[d+12>>2]>=1){while(1){a=e<<2;f=a+d|0;a=v[a+h>>2];v[f+16>>2]=a;if(Ec(a,279480)){v[d+168>>2]=0}a=d;V:{if(!Ec(v[f+16>>2],249407)){b=v[d+4>>2]|1;break V}if(!Ec(v[f+16>>2],303426)){b=v[d+4>>2]|2;break V}if(!Ec(v[f+16>>2],221214)){b=v[d+4>>2]|4;break V}b=15;if(Ec(v[f+16>>2],263335)){break V}b=v[d+4>>2]|8}v[a+4>>2]=b;e=e+1|0;if((e|0)>2]){continue}break}}bb(g);break O}Qa[v[v[b>>2]+4>>2]](b)}if(!e){break P}d=0;while(1){b=v[(c- -64|0)+(d<<2)>>2];if(b){$a(Bb(b))}d=d+1|0;if((d|0)!=(a|0)){continue}break}}bb(c+32|0);d=0}Ma=c+192|0;c=d;break g}if(hb(d,245390)){break h}d=v[a+8>>2];a=Ma-16|0;Ma=a;v[a>>2]=13;W:{X:{switch(v[d+12>>2]-1|0){default:fb(1,-1,285899,0);break W;case 1:ub(d,1,a,0);f=mm(a,b+1|0);if(!f){fb(1,-1,330811,0);bb(a);break W}bb(a);break;case 0:break X}}c=ab(16);v[c+4>>2]=15;v[c+8>>2]=0;v[c+12>>2]=f;v[c>>2]=888e3}Ma=a+16|0;break g}fb(1,-1,286032,0)}bb(j+16|0);break a}fb(1,-1,219706,0)}Ma=j+32|0;return c}function dG(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=Ma-192|0;Ma=i;b=0;a:{if(v[a+40>>2]){break a}v[a+76>>2]=0;e=v[a+60>>2];b:{if(v[a+44>>2]){c=v[a+64>>2];b=v[e>>2];f=v[a+20>>2];if((b|0)<(f|0)){while(1){v[c+(d<<2)>>2]=b;d=d+1|0;b=v[e+(d<<2)>>2];f=v[a+20>>2];if((b|0)<(f|0)){continue}break}}d=c+(d<<2)|0;v[d>>2]=f;v[d+4>>2]=v[a+20>>2];v[d+8>>2]=v[a+20>>2];v[e>>2]=0;v[a+72>>2]=0;if(v[e>>2]>=v[a+20>>2]){break b}d=0;while(1){f=Ma-16|0;Ma=f;b=v[a+56>>2];c:{d:{if(!v[a+28>>2]){e=1;while(1){e:{f:{if((b|0)>=(e|0)){c=v[a+52>>2];break f}while(1){b=v[a+4>>2];c=Qa[v[v[b>>2]+28>>2]](b)|0;if((c|0)==-1){b=v[a+56>>2];if(!b){c=-1;break d}g=v[a+52>>2]<>2]+8|0;v[a+56>>2]=b;c=c+(v[a+52>>2]<<8)|0;v[a+52>>2]=c;if((b|0)<(e|0)){continue}break}}g=c>>>b-e|0}c=-1;g=g&-1>>>32-e;if((g&65535)==65535){break d}c=g<<16>>16<<7-e;if(u[(c<<2)+953648>>1]==(e|0)){b=b-e|0;v[a+56>>2]=(b|0)>0?b:0;b=x[(c<<2)+953650>>1];break c}e=e+1|0;if((e|0)!=8){continue}break}break d}g:{h:{if((b|0)<7){while(1){b=v[a+4>>2];c=Qa[v[v[b>>2]+28>>2]](b)|0;if((c|0)==-1){b=v[a+56>>2];if(!b){c=-1;break d}c=v[a+52>>2]<<7-b;break g}e=v[a+56>>2];b=e+8|0;v[a+56>>2]=b;c=c+(v[a+52>>2]<<8)|0;v[a+52>>2]=c;if((e|0)<-1){continue}break h}}c=v[a+52>>2]}c=c>>>b-7|0}c=c&127;if(c>>>0<2){break d}e=b;b=c<<2;c=e-u[b+953648>>1]|0;v[a+56>>2]=(c|0)>0?c:0;b=x[b+953650>>1];break c}b=Qa[v[v[a>>2]+52>>2]](a)|0;v[f>>2]=c;fb(1,b,256044,f);v[a+80>>2]=v[a+80>>2]+1;b=65535}Ma=f+16|0;i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{b=b<<16>>16;switch(b+1|0){case 0:break k;case 5:break l;case 7:break m;case 9:break n;case 3:break o;case 4:break p;case 6:break q;case 8:break r;case 2:break s;case 1:break t;default:break j}}h=d+2|0;g=d;f=d+1<<2;b=v[f+v[a+64>>2]>>2];e=v[a+60>>2];c=v[a+72>>2];if((b|0)>v[e+(c<<2)>>2]){if(v[a+20>>2]<(b|0)){c=Qa[v[v[a>>2]+52>>2]](a)|0;v[i+32>>2]=b;fb(1,c,326898,i+32|0);v[a+76>>2]=1;v[a+80>>2]=v[a+80>>2]+1;c=v[a+72>>2];b=v[a+20>>2]}if((c&1)!=(j|0)){c=c+1|0;v[a+72>>2]=c}e=v[a+60>>2];v[e+(c<<2)>>2]=b;b=v[f+v[a+64>>2]>>2]}d=(b|0)>2]?h:g;break i}b=0;c=0;e=0;u:{if(j){while(1){e=cG(a);c=e+c|0;if((e|0)>63){continue}break}while(1){e=bG(a);b=e+b|0;if((e|0)>63){continue}break}break u}while(1){c=bG(a);e=c+e|0;if((c|0)>63){continue}break}while(1){c=cG(a);b=c+b|0;if((c|0)>63){continue}break}c=e}e=v[a+60>>2];g=v[a+72>>2];f=v[e+(g<<2)>>2];if((c|0)>=1){c=c+f|0;if((c|0)>v[a+20>>2]){e=Qa[v[v[a>>2]+52>>2]](a)|0;v[i+64>>2]=c;fb(1,e,326898,i- -64|0);v[a+76>>2]=1;v[a+80>>2]=v[a+80>>2]+1;g=v[a+72>>2];c=v[a+20>>2]}if((g&1)!=(j|0)){g=g+1|0;v[a+72>>2]=g}e=v[a+60>>2];v[e+(g<<2)>>2]=c;g=v[a+72>>2];f=v[(g<<2)+e>>2]}h=v[a+20>>2];if(!((b|0)<1|(h|0)<=(f|0))){b=b+f|0;if((h|0)<(b|0)){c=Qa[v[v[a>>2]+52>>2]](a)|0;v[i+48>>2]=b;fb(1,c,326898,i+48|0);v[a+76>>2]=1;v[a+80>>2]=v[a+80>>2]+1;g=v[a+72>>2];b=v[a+20>>2]}if((g&1)!=(j^1)){g=g+1|0;v[a+72>>2]=g}e=v[a+60>>2];v[e+(g<<2)>>2]=b;h=v[a+20>>2];f=v[(v[a+72>>2]<<2)+e>>2]}c=v[a+64>>2];while(1){b=d;g=v[c+(b<<2)>>2];if((g|0)>(f|0)){break i}d=b+2|0;if((g|0)<(h|0)){continue}break}d=b;break i}c=v[v[a+64>>2]+(d<<2)>>2]+3|0;e=v[a+60>>2];b=v[a+72>>2];f=v[e+(b<<2)>>2];if((c|0)>(f|0)){if(v[a+20>>2]<(c|0)){b=Qa[v[v[a>>2]+52>>2]](a)|0;v[i+80>>2]=c;fb(1,b,326898,i+80|0);v[a+76>>2]=1;v[a+80>>2]=v[a+80>>2]+1;c=v[a+20>>2];b=v[a+72>>2]}if((b&1)!=(j|0)){b=b+1|0;v[a+72>>2]=b}e=v[a+60>>2];v[e+(b<<2)>>2]=c;f=v[(v[a+72>>2]<<2)+e>>2]}j=j^1;c=v[a+20>>2];if((c|0)<=(f|0)){break i}b=d+1|0;g=v[a+64>>2];while(1){d=b;h=v[g+(b<<2)>>2];if((h|0)>(f|0)){break i}b=d+2|0;if((c|0)>(h|0)){continue}break}break i}c=v[v[a+64>>2]+(d<<2)>>2]+2|0;e=v[a+60>>2];b=v[a+72>>2];f=v[e+(b<<2)>>2];if((c|0)>(f|0)){if(v[a+20>>2]<(c|0)){b=Qa[v[v[a>>2]+52>>2]](a)|0;v[i+96>>2]=c;fb(1,b,326898,i+96|0);v[a+76>>2]=1;v[a+80>>2]=v[a+80>>2]+1;c=v[a+20>>2];b=v[a+72>>2]}if((b&1)!=(j|0)){b=b+1|0;v[a+72>>2]=b}e=v[a+60>>2];v[e+(b<<2)>>2]=c;f=v[(v[a+72>>2]<<2)+e>>2]}j=j^1;c=v[a+20>>2];if((c|0)<=(f|0)){break i}b=d+1|0;g=v[a+64>>2];while(1){d=b;h=v[g+(b<<2)>>2];if((h|0)>(f|0)){break i}b=d+2|0;if((c|0)>(h|0)){continue}break}break i}e=v[a+60>>2];b=v[a+72>>2];f=v[e+(b<<2)>>2];c=v[v[a+64>>2]+(d<<2)>>2];if((f|0)<=(c|0)){f=c+1|0;if((c|0)>=v[a+20>>2]){b=Qa[v[v[a>>2]+52>>2]](a)|0;v[i+112>>2]=f;fb(1,b,326898,i+112|0);v[a+76>>2]=1;v[a+80>>2]=v[a+80>>2]+1;f=v[a+20>>2];b=v[a+72>>2]}if((b&1)!=(j|0)){b=b+1|0;v[a+72>>2]=b}e=v[a+60>>2];v[e+(b<<2)>>2]=f;f=v[(v[a+72>>2]<<2)+e>>2]}j=j^1;c=v[a+20>>2];if((c|0)<=(f|0)){break i}b=d+1|0;g=v[a+64>>2];while(1){d=b;h=v[g+(b<<2)>>2];if((h|0)>(f|0)){break i}b=d+2|0;if((c|0)>(h|0)){continue}break}break i}c=v[v[a+64>>2]+(d<<2)>>2];e=v[a+60>>2];b=v[a+72>>2];f=v[e+(b<<2)>>2];if((c|0)>(f|0)){if(v[a+20>>2]<(c|0)){b=Qa[v[v[a>>2]+52>>2]](a)|0;v[i+128>>2]=c;fb(1,b,326898,i+128|0);v[a+76>>2]=1;v[a+80>>2]=v[a+80>>2]+1;c=v[a+20>>2];b=v[a+72>>2]}if((b&1)!=(j|0)){b=b+1|0;v[a+72>>2]=b}e=v[a+60>>2];v[e+(b<<2)>>2]=c;f=v[(v[a+72>>2]<<2)+e>>2]}j=j^1;c=v[a+20>>2];if((c|0)<=(f|0)){break i}b=d+1|0;g=v[a+64>>2];while(1){d=b;h=v[g+(b<<2)>>2];if((h|0)>(f|0)){break i}b=d+2|0;if((c|0)>(h|0)){continue}break}break i}c=v[v[a+64>>2]+(d<<2)>>2];f=c-3|0;e=v[a+60>>2];b=v[a+72>>2];g=v[e+(b<<2)>>2];v:{if((f|0)>(g|0)){if(v[a+20>>2]<(f|0)){b=Qa[v[v[a>>2]+52>>2]](a)|0;v[i+144>>2]=f;fb(1,b,326898,i+144|0);v[a+76>>2]=1;v[a+80>>2]=v[a+80>>2]+1;f=v[a+20>>2];b=v[a+72>>2]}if((b&1)!=(j|0)){b=b+1|0;v[a+72>>2]=b}e=v[a+60>>2];v[e+(b<<2)>>2]=f;break v}if((f|0)>=(g|0)){break v}if((c|0)<=2){f=0;fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,283796,0);v[a+76>>2]=1;v[a+80>>2]=v[a+80>>2]+1;e=v[a+60>>2];b=v[a+72>>2]}w:{if((b|0)<1){break w}while(1){c=b-1|0;if(v[(c<<2)+e>>2]<(f|0)){break w}v[a+72>>2]=c;g=(b|0)>1;b=c;if(g){continue}break}b=0}v[(b<<2)+e>>2]=f}j=j^1;c=v[(v[a+72>>2]<<2)+e>>2];f=v[a+20>>2];if((c|0)>=(f|0)){break i}b=((d|0)<1?1:-1)+d|0;g=v[a+64>>2];while(1){d=b;h=v[g+(b<<2)>>2];if((h|0)>(c|0)){break i}b=d+2|0;if((f|0)>(h|0)){continue}break}break i}c=v[v[a+64>>2]+(d<<2)>>2];f=c-2|0;e=v[a+60>>2];b=v[a+72>>2];g=v[e+(b<<2)>>2];x:{if((f|0)>(g|0)){if(v[a+20>>2]<(f|0)){b=Qa[v[v[a>>2]+52>>2]](a)|0;v[i+160>>2]=f;fb(1,b,326898,i+160|0);v[a+76>>2]=1;v[a+80>>2]=v[a+80>>2]+1;f=v[a+20>>2];b=v[a+72>>2]}if((b&1)!=(j|0)){b=b+1|0;v[a+72>>2]=b}e=v[a+60>>2];v[e+(b<<2)>>2]=f;break x}if((f|0)>=(g|0)){break x}if((c|0)<=1){f=0;fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,283796,0);v[a+76>>2]=1;v[a+80>>2]=v[a+80>>2]+1;e=v[a+60>>2];b=v[a+72>>2]}y:{if((b|0)<1){break y}while(1){c=b-1|0;if(v[(c<<2)+e>>2]<(f|0)){break y}v[a+72>>2]=c;g=(b|0)>1;b=c;if(g){continue}break}b=0}v[(b<<2)+e>>2]=f}j=j^1;c=v[(v[a+72>>2]<<2)+e>>2];f=v[a+20>>2];if((c|0)>=(f|0)){break i}b=((d|0)<1?1:-1)+d|0;g=v[a+64>>2];while(1){d=b;h=v[g+(b<<2)>>2];if((h|0)>(c|0)){break i}b=d+2|0;if((f|0)>(h|0)){continue}break}break i}c=v[v[a+64>>2]+(d<<2)>>2];f=c-1|0;e=v[a+60>>2];b=v[a+72>>2];g=v[e+(b<<2)>>2];z:{if((f|0)>(g|0)){if(v[a+20>>2]<(f|0)){b=Qa[v[v[a>>2]+52>>2]](a)|0;v[i+176>>2]=f;fb(1,b,326898,i+176|0);v[a+76>>2]=1;v[a+80>>2]=v[a+80>>2]+1;f=v[a+20>>2];b=v[a+72>>2]}if((b&1)!=(j|0)){b=b+1|0;v[a+72>>2]=b}e=v[a+60>>2];v[e+(b<<2)>>2]=f;break z}if((c|0)>(g|0)){break z}if((c|0)<=0){f=0;fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,283796,0);v[a+76>>2]=1;v[a+80>>2]=v[a+80>>2]+1;e=v[a+60>>2];b=v[a+72>>2]}A:{if((b|0)<1){break A}while(1){c=b-1|0;if(v[(c<<2)+e>>2]<(f|0)){break A}v[a+72>>2]=c;g=(b|0)>1;b=c;if(g){continue}break}b=0}v[(b<<2)+e>>2]=f}j=j^1;c=v[(v[a+72>>2]<<2)+e>>2];f=v[a+20>>2];if((c|0)>=(f|0)){break i}b=((d|0)<1?1:-1)+d|0;g=v[a+64>>2];while(1){d=b;h=v[g+(b<<2)>>2];if((h|0)>(c|0)){break i}b=d+2|0;if((f|0)>(h|0)){continue}break}break i}c=v[a+20>>2];e=v[a+60>>2];b=v[a+72>>2];if((c|0)>v[e+(b<<2)>>2]){if(b&1){b=b+1|0;v[a+72>>2]=b}v[(b<<2)+e>>2]=c}v[a+76>>2]=1;break i}c=Qa[v[v[a>>2]+52>>2]](a)|0;v[i+16>>2]=b;fb(1,c,255973,i+16|0);c=v[a+20>>2];e=v[a+60>>2];b=v[a+72>>2];if((c|0)>v[e+(b<<2)>>2]){if(b&1){b=b+1|0;v[a+72>>2]=b}v[(b<<2)+e>>2]=c}v[a+76>>2]=1;v[a+80>>2]=v[a+80>>2]+1}if(v[(v[a+72>>2]<<2)+e>>2]>2]){continue}break}break b}v[e>>2]=0;v[a+72>>2]=0;if(v[e>>2]>=v[a+20>>2]){break b}while(1){d=0;B:{if(c){while(1){b=cG(a);d=b+d|0;if((b|0)>63){continue}break B}}while(1){b=bG(a);d=b+d|0;if((b|0)>63){continue}break}}e=v[a+72>>2];b=v[v[a+60>>2]+(e<<2)>>2];if((d|0)>=1){d=b+d|0;if((d|0)>v[a+20>>2]){b=Qa[v[v[a>>2]+52>>2]](a)|0;v[i>>2]=d;fb(1,b,326898,i);v[a+76>>2]=1;v[a+80>>2]=v[a+80>>2]+1;e=v[a+72>>2];d=v[a+20>>2]}if((e&1)!=(c|0)){e=e+1|0;v[a+72>>2]=e}b=v[a+60>>2];v[b+(e<<2)>>2]=d;b=v[b+(v[a+72>>2]<<2)>>2]}c=c^1;if(v[a+20>>2]>(b|0)){continue}break}}C:{D:{if(!(v[a+28>>2]|v[a+48>>2]!=(v[a+24>>2]-1|0))){v[a+40>>2]=1;break D}if(!(v[a+16>>2]?v[a+12>>2]:1)){break D}E:{F:{d=v[a+56>>2];G:{H:{I:{if((d|0)<12){while(1){J:{d=v[a+4>>2];b=Qa[v[v[d>>2]+28>>2]](d)|0;if((b|0)==-1){d=v[a+56>>2];if(!d){break J}b=v[a+52>>2]<<12-d;break H}c=v[a+56>>2];d=c+8|0;v[a+56>>2]=d;b=b+(v[a+52>>2]<<8)|0;v[a+52>>2]=b;if((c|0)<4){continue}break I}break}if(!v[a+12>>2]){break D}b=-1;d=0;break G}b=v[a+52>>2]}b=b>>>d-12|0}b=b&4095;if(!v[a+12>>2]){break F}}K:while(1){L:{switch(b+1|0){case 0:case 2:break E;default:break L}}d=d-1|0;b=(d|0)>0?d:0;v[a+56>>2]=b;M:{if((b|0)>=12){b=v[a+52>>2];break M}while(1){d=v[a+4>>2];b=Qa[v[v[d>>2]+28>>2]](d)|0;if((b|0)==-1){b=-1;d=0;c=v[a+56>>2];if(!c){continue K}b=v[a+52>>2]<<12-c&4095;d=c;continue K}c=v[a+56>>2];d=c+8|0;v[a+56>>2]=d;b=b+(v[a+52>>2]<<8)|0;v[a+52>>2]=b;if((c|0)<4){continue}break}}b=b>>>d-12&4095;continue}}if(b){break E}while(1){d=d-1|0;b=(d|0)>0?d:0;v[a+56>>2]=b;N:{O:{if((b|0)>=12){b=v[a+52>>2];break O}while(1){d=v[a+4>>2];b=Qa[v[v[d>>2]+28>>2]](d)|0;if((b|0)==-1){d=v[a+56>>2];if(!d){break D}b=v[a+52>>2]<<12-d;break N}c=v[a+56>>2];d=c+8|0;v[a+56>>2]=d;b=b+(v[a+52>>2]<<8)|0;v[a+52>>2]=b;if((c|0)<4){continue}break}}b=b>>>d-12|0}b=b&4095;if(!b){continue}break}}h=1;if((b|0)!=1){break D}c=((d|0)>12?d:12)-12|0;v[a+56>>2]=c;break C}c=v[a+56>>2];if(v[a+16>>2]){c=c&-8;v[a+56>>2]=c}h=0}P:{Q:{if((c|0)>0){break Q}while(1){d=v[a+4>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){c=v[a+56>>2];if(c){break Q}v[a+40>>2]=1;g=a+8|0;c=0;break P}v[a+52>>2]=d+(v[a+52>>2]<<8);d=v[a+56>>2];c=d+8|0;v[a+56>>2]=c;if((d|0)<-7){continue}break}}g=a+8|0;if(v[a+40>>2]|v[a+8>>2]<=0){break P}b=a;d=a;R:{S:{T:{if((c|0)<1){while(1){c=v[a+4>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;if((c|0)==-1){c=v[a+56>>2];if(!c){v[a+44>>2]=0;d=1;break R}e=v[a+52>>2]<<1-c;break S}f=c+(v[a+52>>2]<<8)|0;v[a+52>>2]=f;e=v[a+56>>2];c=e+8|0;v[a+56>>2]=c;if((e|0)<-7){continue}break T}}f=v[a+52>>2]}e=f>>>c-1|0}v[d+44>>2]=(e^-1)&1;d=(c|0)>1?c:1}c=d-1|0;v[b+56>>2]=c}U:{V:{W:{X:{Y:{Z:{_:{$:{aa:{ba:{if(!v[a+16>>2]|(v[a+12>>2]|!v[a+28>>2])){break ba}ca:{da:{if((c|0)<24){while(1){ea:{d=v[a+4>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){c=v[a+56>>2];if(!c){break ea}b=v[a+52>>2]<<24-c&16777215;break ca}f=d+(v[a+52>>2]<<8)|0;v[a+52>>2]=f;d=v[a+56>>2];c=d+8|0;v[a+56>>2]=c;if((d|0)<16){continue}break da}break}c=0;if(v[a+28>>2]!=0&h){break aa}break Z}f=v[a+52>>2]}b=f>>>c-24|0}if((b&65535)!=4097){break ba}c=((c|0)>12?c:12)-12|0;v[a+56>>2]=c;h=1}if(!h|!v[a+28>>2]){break Z}if((c|0)<=11){break aa}f=v[a+52>>2];break $}while(1){d=v[a+4>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){c=v[a+56>>2];if(!c){break U}b=v[a+52>>2]<<12-c;break _}f=d+(v[a+52>>2]<<8)|0;v[a+52>>2]=f;d=v[a+56>>2];c=d+8|0;v[a+56>>2]=c;if((d|0)<4){continue}break}}b=f>>>c-12|0}if((b&4095)!=1){break U}b=(c|0)>12?c:12;d=b-12|0;v[a+56>>2]=d;if(v[g>>2]<1){break V}if((b|0)>=13){break Y}while(1){fa:{d=v[a+4>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){e=v[a+56>>2];break fa}v[a+52>>2]=d+(v[a+52>>2]<<8);d=v[a+56>>2];e=d+8|0;v[a+56>>2]=e;if((d|0)<-7){continue}}break}d=v[g>>2];c=((e|0)>1?e:1)-1|0;v[a+56>>2]=c;if((d|0)<1){break V}break W}if(!v[a+76>>2]|!v[a+12>>2]){break U}while(1){ga:{ha:{if((c|0)>=13){f=v[a+52>>2];break ha}while(1){d=v[a+4>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){c=v[a+56>>2];if(!c){break X}d=v[a+52>>2]<<13-c;break ga}f=d+(v[a+52>>2]<<8)|0;v[a+52>>2]=f;d=v[a+56>>2];c=d+8|0;v[a+56>>2]=c;if((d|0)<5){continue}break}}d=f>>>c-13|0}if((d&8190)!=2){c=((c|0)>1?c:1)-1|0;v[a+56>>2]=c;continue}break}b=(c|0)>12?c:12;v[a+56>>2]=b-12;if(v[g>>2]<1){break U}v[a+44>>2]=(d^-1)&1;v[a+56>>2]=(b|0)>13?c-13|0:0;break U}c=((d|0)>1?d:1)-1|0;v[a+56>>2]=c;break W}v[a+40>>2]=1;b=0;break a}h=0;while(1){ia:{ja:{ka:{la:{if((c|0)>=12){f=v[a+52>>2];break la}while(1){d=v[a+4>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){c=v[a+56>>2];if(!c){break ja}b=v[a+52>>2]<<12-c;break ka}f=d+(v[a+52>>2]<<8)|0;v[a+52>>2]=f;d=v[a+56>>2];c=d+8|0;v[a+56>>2]=c;if((d|0)<4){continue}break}}b=f>>>c-12|0}if((b&4095)==1){break ia}}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,256012,0);v[a+80>>2]=v[a+80>>2]+1;c=v[a+56>>2]}d=(c|0)>12?c:12;c=d-12|0;v[a+56>>2]=c;if(v[g>>2]>=1){ma:{if((d|0)>12){break ma}while(1){d=v[a+4>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){c=v[a+56>>2];break ma}v[a+52>>2]=d+(v[a+52>>2]<<8);d=v[a+56>>2];c=d+8|0;v[a+56>>2]=c;if((d|0)<-7){continue}break}}c=((c|0)>1?c:1)-1|0;v[a+56>>2]=c}h=h+1|0;if((h|0)!=4){continue}break}}v[a+40>>2]=1}if(v[a+80>>2]>=1001){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,283630,0);v[a+40>>2]=1;b=0;break a}v[a+68>>2]=0;d=v[v[a+60>>2]>>2];v[a+48>>2]=v[a+48>>2]+1;v[a+72>>2]=(d|0)<1;b=1}Ma=i+192|0;return b}function ck(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;d=-2;a:{b:{c:{d:{if(!v[a+36>>2]|(!a|!v[a+32>>2])){break d}c=v[a+28>>2];if(!c|v[c>>2]!=(a|0)){break d}e:{f:{e=v[c+4>>2];switch(e-57|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 13:case 14:case 15:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 47:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:break d;case 0:case 12:case 16:case 34:case 46:case 56:break e;default:break f}}if((e|0)==666){break e}if((e|0)!=42){break d}}if(b>>>0>5){break d}g:{h:{if(!v[a+12>>2]){break h}f=v[a+4>>2];if(v[a>>2]?0:f){break h}if((b|0)==4|(e|0)!=666){break g}}v[a+24>>2]=v[217296];return-2}if(!v[a+16>>2]){break b}d=v[c+40>>2];v[c+40>>2]=b;i:{if(v[c+20>>2]){mh(c);e=v[a+16>>2];h=v[c+20>>2];d=e>>>0>>0?e:h;j:{if(!d){break j}cb(v[a+12>>2],v[c+16>>2],d);v[a+12>>2]=d+v[a+12>>2];v[c+16>>2]=d+v[c+16>>2];v[a+20>>2]=d+v[a+20>>2];e=v[a+16>>2]-d|0;v[a+16>>2]=e;h=v[c+20>>2]-d|0;v[c+20>>2]=h;if(h){break j}v[c+16>>2]=v[c+8>>2];h=0}if(e){e=v[c+4>>2];break i}break a}if(((b<<1)+((b|0)>4?-9:0)|0)>((d<<1)+((d|0)>4?-9:0)|0)|f|(b|0)==4){break i}break b}k:{l:{m:{n:{if((e|0)!=42){if((e|0)!=666){break n}if(!v[a+4>>2]){break m}break b}f=(v[c+48>>2]<<12)-30720|0;d=0;o:{if(v[c+136>>2]>1){break o}e=v[c+132>>2];if((e|0)<2){break o}d=64;if((e|0)<6){break o}d=(e|0)==6?128:192}v[c+20>>2]=h+1;d=d|f;d=v[c+108>>2]?d|32:d;t[v[c+8>>2]+h|0]=d>>>8;e=v[c+20>>2];v[c+20>>2]=e+1;t[e+v[c+8>>2]|0]=(d|(d>>>0)%31)^31;if(v[c+108>>2]){d=v[a+48>>2];e=v[c+20>>2];v[c+20>>2]=e+1;t[e+v[c+8>>2]|0]=d>>>24;e=v[c+20>>2];v[c+20>>2]=e+1;t[e+v[c+8>>2]|0]=d>>>16;d=v[a+48>>2];e=v[c+20>>2];v[c+20>>2]=e+1;t[e+v[c+8>>2]|0]=d>>>8;e=v[c+20>>2];v[c+20>>2]=e+1;t[e+v[c+8>>2]|0]=d}m=a,n=on(0,0,0),v[m+48>>2]=n;v[c+4>>2]=113;Ts(a);if(v[c+20>>2]){break a}e=v[c+4>>2]}p:{q:{r:{s:{t:{u:{if((e|0)==57){m=a,n=lf(0,0,0),v[m+48>>2]=n;d=v[c+20>>2];v[c+20>>2]=d+1;t[d+v[c+8>>2]|0]=31;d=v[c+20>>2];v[c+20>>2]=d+1;t[d+v[c+8>>2]|0]=139;d=v[c+20>>2];v[c+20>>2]=d+1;t[d+v[c+8>>2]|0]=8;d=v[c+28>>2];if(d){break u}d=v[c+20>>2];v[c+20>>2]=d+1;t[d+v[c+8>>2]|0]=0;d=v[c+20>>2];v[c+20>>2]=d+1;t[d+v[c+8>>2]|0]=0;d=v[c+20>>2];v[c+20>>2]=d+1;t[d+v[c+8>>2]|0]=0;d=v[c+20>>2];v[c+20>>2]=d+1;t[d+v[c+8>>2]|0]=0;d=v[c+20>>2];v[c+20>>2]=d+1;t[d+v[c+8>>2]|0]=0;d=2;e=v[c+132>>2];if((e|0)!=9){d=v[c+136>>2]>1?4:((e|0)<2)<<2}e=v[c+20>>2];v[c+20>>2]=e+1;t[e+v[c+8>>2]|0]=d;d=v[c+20>>2];v[c+20>>2]=d+1;t[d+v[c+8>>2]|0]=3;v[c+4>>2]=113;Ts(a);if(v[c+20>>2]){break a}e=v[c+4>>2]}switch(e-69|0){case 34:break q;case 22:break r;case 4:break s;case 0:break t;default:break p}}e=v[d+36>>2];f=v[d+28>>2];g=v[d+16>>2];h=v[d+44>>2];i=v[d>>2];j=v[c+20>>2];v[c+20>>2]=j+1;d=2;t[j+v[c+8>>2]|0]=((h|0)!=0)<<1|(i|0)!=0|((g|0)!=0)<<2|((f|0)!=0)<<3|((e|0)!=0)<<4;e=v[v[c+28>>2]+4>>2];f=v[c+20>>2];v[c+20>>2]=f+1;t[f+v[c+8>>2]|0]=e;e=v[v[c+28>>2]+4>>2];f=v[c+20>>2];v[c+20>>2]=f+1;t[f+v[c+8>>2]|0]=e>>>8;e=x[v[c+28>>2]+6>>1];f=v[c+20>>2];v[c+20>>2]=f+1;t[f+v[c+8>>2]|0]=e;e=w[v[c+28>>2]+7|0];f=v[c+20>>2];v[c+20>>2]=f+1;t[f+v[c+8>>2]|0]=e;e=v[c+132>>2];if((e|0)!=9){d=v[c+136>>2]>1?4:((e|0)<2)<<2}e=v[c+20>>2];v[c+20>>2]=e+1;t[e+v[c+8>>2]|0]=d;d=v[v[c+28>>2]+12>>2];e=v[c+20>>2];v[c+20>>2]=e+1;t[e+v[c+8>>2]|0]=d;d=v[c+28>>2];if(v[d+16>>2]){d=v[d+20>>2];e=v[c+20>>2];v[c+20>>2]=e+1;t[e+v[c+8>>2]|0]=d;d=v[v[c+28>>2]+20>>2];e=v[c+20>>2];v[c+20>>2]=e+1;t[e+v[c+8>>2]|0]=d>>>8;d=v[c+28>>2]}if(v[d+44>>2]){m=a,n=lf(v[a+48>>2],v[c+8>>2],v[c+20>>2]),v[m+48>>2]=n}v[c+4>>2]=69;v[c+32>>2]=0}f=v[c+28>>2];e=v[f+16>>2];if(e){h=v[c+12>>2];d=v[c+20>>2];g=v[c+32>>2];f=x[f+20>>1]-g|0;if(h>>>0>>0){while(1){h=h-d|0;cb(v[c+8>>2]+d|0,e+g|0,h);e=v[c+12>>2];v[c+20>>2]=e;if(!(!v[v[c+28>>2]+44>>2]|d>>>0>=e>>>0)){m=a,n=lf(v[a+48>>2],v[c+8>>2]+d|0,e-d|0),v[m+48>>2]=n}v[c+32>>2]=h+v[c+32>>2];d=v[a+28>>2];mh(d);e=v[a+16>>2];g=v[d+20>>2];e=e>>>0>>0?e:g;v:{if(!e){break v}cb(v[a+12>>2],v[d+16>>2],e);v[a+12>>2]=e+v[a+12>>2];v[d+16>>2]=e+v[d+16>>2];v[a+20>>2]=e+v[a+20>>2];v[a+16>>2]=v[a+16>>2]-e;e=v[d+20>>2]-e|0;v[d+20>>2]=e;if(e){break v}v[d+16>>2]=v[d+8>>2]}if(v[c+20>>2]){break a}g=v[c+32>>2];e=v[v[c+28>>2]+16>>2];d=0;f=f-h|0;h=v[c+12>>2];if(f>>>0>h>>>0){continue}break}}cb(v[c+8>>2]+d|0,e+g|0,f);e=v[c+20>>2]+f|0;v[c+20>>2]=e;if(!(!v[v[c+28>>2]+44>>2]|d>>>0>=e>>>0)){m=a,n=lf(v[a+48>>2],v[c+8>>2]+d|0,e-d|0),v[m+48>>2]=n}v[c+32>>2]=0}v[c+4>>2]=73}if(v[v[c+28>>2]+28>>2]){d=v[c+20>>2];f=d;while(1){w:{if(v[c+12>>2]!=(d|0)){break w}if(!(!v[v[c+28>>2]+44>>2]|d>>>0<=f>>>0)){m=a,n=lf(v[a+48>>2],v[c+8>>2]+f|0,d-f|0),v[m+48>>2]=n}d=v[a+28>>2];mh(d);e=v[a+16>>2];f=v[d+20>>2];e=e>>>0>>0?e:f;x:{if(!e){break x}cb(v[a+12>>2],v[d+16>>2],e);v[a+12>>2]=e+v[a+12>>2];v[d+16>>2]=e+v[d+16>>2];v[a+20>>2]=e+v[a+20>>2];v[a+16>>2]=v[a+16>>2]-e;e=v[d+20>>2]-e|0;v[d+20>>2]=e;if(e){break x}v[d+16>>2]=v[d+8>>2]}d=0;f=0;if(!v[c+20>>2]){break w}break a}e=v[v[c+28>>2]+28>>2];g=v[c+32>>2];v[c+32>>2]=g+1;e=w[e+g|0];v[c+20>>2]=d+1;t[v[c+8>>2]+d|0]=e;if(e){d=v[c+20>>2];continue}break}y:{if(!v[v[c+28>>2]+44>>2]){break y}d=v[c+20>>2];if(d>>>0<=f>>>0){break y}m=a,n=lf(v[a+48>>2],v[c+8>>2]+f|0,d-f|0),v[m+48>>2]=n}v[c+32>>2]=0}v[c+4>>2]=91}z:{if(!v[v[c+28>>2]+36>>2]){break z}d=v[c+20>>2];f=d;while(1){A:{if(v[c+12>>2]!=(d|0)){break A}if(!(!v[v[c+28>>2]+44>>2]|d>>>0<=f>>>0)){m=a,n=lf(v[a+48>>2],v[c+8>>2]+f|0,d-f|0),v[m+48>>2]=n}d=v[a+28>>2];mh(d);e=v[a+16>>2];f=v[d+20>>2];e=e>>>0>>0?e:f;B:{if(!e){break B}cb(v[a+12>>2],v[d+16>>2],e);v[a+12>>2]=e+v[a+12>>2];v[d+16>>2]=e+v[d+16>>2];v[a+20>>2]=e+v[a+20>>2];v[a+16>>2]=v[a+16>>2]-e;e=v[d+20>>2]-e|0;v[d+20>>2]=e;if(e){break B}v[d+16>>2]=v[d+8>>2]}d=0;f=0;if(!v[c+20>>2]){break A}break a}e=v[v[c+28>>2]+36>>2];g=v[c+32>>2];v[c+32>>2]=g+1;e=w[e+g|0];v[c+20>>2]=d+1;t[v[c+8>>2]+d|0]=e;if(e){d=v[c+20>>2];continue}break}if(!v[v[c+28>>2]+44>>2]){break z}d=v[c+20>>2];if(d>>>0<=f>>>0){break z}m=a,n=lf(v[a+48>>2],v[c+8>>2]+f|0,d-f|0),v[m+48>>2]=n}v[c+4>>2]=103}if(v[v[c+28>>2]+44>>2]){d=v[c+20>>2];if(y[c+12>>2]>>0){Ts(a);if(v[c+20>>2]){break c}d=0}e=v[a+48>>2];v[c+20>>2]=d+1;t[v[c+8>>2]+d|0]=e;d=v[a+48>>2];e=v[c+20>>2];v[c+20>>2]=e+1;t[e+v[c+8>>2]|0]=d>>>8;m=a,n=lf(0,0,0),v[m+48>>2]=n}v[c+4>>2]=113;Ts(a);if(!v[c+20>>2]){break p}break a}if(v[a+4>>2]){break l}}if(v[c+116>>2]){break l}if(!b|v[c+4>>2]==666){break k}}d=v[c+132>>2];C:{if(!d){d=AY(c,b);break C}D:{switch(v[c+136>>2]-2|0){case 0:E:{F:{while(1){G:{if(v[c+116>>2]){break G}pA(c);if(v[c+116>>2]){break G}if(b){break F}d=0;break E}v[c+96>>2]=0;d=w[v[c+56>>2]+v[c+108>>2]|0];e=v[c+5792>>2];u[v[c+5796>>2]+(e<<1)>>1]=0;v[c+5792>>2]=e+1;t[e+v[c+5784>>2]|0]=d;d=(d<<2)+c|0;u[d+148>>1]=x[d+148>>1]+1;v[c+116>>2]=v[c+116>>2]-1;g=v[c+108>>2]+1|0;v[c+108>>2]=g;if(v[c+5792>>2]!=(v[c+5788>>2]-1|0)){continue}d=c;e=v[c+92>>2];if((e|0)>=0){f=e+v[c+56>>2]|0}else{f=0}ak(d,f,g-e|0,0);v[c+92>>2]=v[c+108>>2];d=v[c>>2];e=v[d+28>>2];mh(e);f=v[d+16>>2];g=v[e+20>>2];f=f>>>0>>0?f:g;H:{if(!f){break H}cb(v[d+12>>2],v[e+16>>2],f);v[d+12>>2]=f+v[d+12>>2];v[e+16>>2]=f+v[e+16>>2];v[d+20>>2]=f+v[d+20>>2];v[d+16>>2]=v[d+16>>2]-f;d=v[e+20>>2]-f|0;v[e+20>>2]=d;if(d){break H}v[e+16>>2]=v[e+8>>2]}if(v[v[c>>2]+16>>2]){continue}break}d=0;break E}v[c+5812>>2]=0;if((b|0)==4){d=c;e=v[c+92>>2];if((e|0)>=0){f=e+v[c+56>>2]|0}else{f=0}ak(d,f,v[c+108>>2]-e|0,1);v[c+92>>2]=v[c+108>>2];d=v[c>>2];e=v[d+28>>2];mh(e);f=v[d+16>>2];g=v[e+20>>2];f=f>>>0>>0?f:g;I:{if(!f){break I}cb(v[d+12>>2],v[e+16>>2],f);v[d+12>>2]=f+v[d+12>>2];v[e+16>>2]=f+v[e+16>>2];v[d+20>>2]=f+v[d+20>>2];v[d+16>>2]=v[d+16>>2]-f;d=v[e+20>>2]-f|0;v[e+20>>2]=d;if(d){break I}v[e+16>>2]=v[e+8>>2]}d=v[v[c>>2]+16>>2]?3:2;break E}J:{if(!v[c+5792>>2]){break J}d=c;e=v[c+92>>2];if((e|0)>=0){f=e+v[c+56>>2]|0}else{f=0}ak(d,f,v[c+108>>2]-e|0,0);v[c+92>>2]=v[c+108>>2];d=v[c>>2];e=v[d+28>>2];mh(e);f=v[d+16>>2];g=v[e+20>>2];f=f>>>0>>0?f:g;K:{if(!f){break K}cb(v[d+12>>2],v[e+16>>2],f);v[d+12>>2]=f+v[d+12>>2];v[e+16>>2]=f+v[e+16>>2];v[d+20>>2]=f+v[d+20>>2];v[d+16>>2]=v[d+16>>2]-f;d=v[e+20>>2]-f|0;v[e+20>>2]=d;if(d){break K}v[e+16>>2]=v[e+8>>2]}if(v[v[c>>2]+16>>2]){break J}d=0;break E}d=1}break C;case 1:L:{while(1){M:{N:{O:{j=v[c+116>>2];if(j>>>0>=259){v[c+96>>2]=0;break O}pA(c);j=v[c+116>>2];d=0;if(!(b|j>>>0>258)){break L}if(j){v[c+96>>2]=0;if(j>>>0>2){break O}i=v[c+108>>2];break N}v[c+5812>>2]=0;if((b|0)==4){d=c;e=v[c+92>>2];if((e|0)>=0){f=e+v[c+56>>2]|0}else{f=0}ak(d,f,v[c+108>>2]-e|0,1);v[c+92>>2]=v[c+108>>2];d=v[c>>2];e=v[d+28>>2];mh(e);f=v[d+16>>2];g=v[e+20>>2];f=f>>>0>>0?f:g;P:{if(!f){break P}cb(v[d+12>>2],v[e+16>>2],f);v[d+12>>2]=f+v[d+12>>2];v[e+16>>2]=f+v[e+16>>2];v[d+20>>2]=f+v[d+20>>2];v[d+16>>2]=v[d+16>>2]-f;d=v[e+20>>2]-f|0;v[e+20>>2]=d;if(d){break P}v[e+16>>2]=v[e+8>>2]}d=v[v[c>>2]+16>>2]?3:2;break L}Q:{if(!v[c+5792>>2]){break Q}d=c;e=v[c+92>>2];if((e|0)>=0){f=e+v[c+56>>2]|0}else{f=0}ak(d,f,v[c+108>>2]-e|0,0);v[c+92>>2]=v[c+108>>2];d=v[c>>2];e=v[d+28>>2];mh(e);f=v[d+16>>2];g=v[e+20>>2];f=f>>>0>>0?f:g;R:{if(!f){break R}cb(v[d+12>>2],v[e+16>>2],f);v[d+12>>2]=f+v[d+12>>2];v[e+16>>2]=f+v[e+16>>2];v[d+20>>2]=f+v[d+20>>2];v[d+16>>2]=v[d+16>>2]-f;d=v[e+20>>2]-f|0;v[e+20>>2]=d;if(d){break R}v[e+16>>2]=v[e+8>>2]}if(v[v[c>>2]+16>>2]){break Q}d=0;break L}d=1;break L}i=v[c+108>>2];if(!i){i=0;break N}k=v[c+56>>2]+i|0;d=k-1|0;h=w[d|0];if((h|0)!=w[k|0]|(h|0)!=w[d+2|0]|(h|0)!=w[d+3|0]){break N}l=k+258|0;d=-1;S:{T:{U:{V:{W:{X:{while(1){f=d+k|0;if((h|0)==w[f+4|0]){if((h|0)!=w[f+5|0]){break X}if((h|0)!=w[f+6|0]){break W}if((h|0)!=w[f+7|0]){break V}e=d+8|0;g=e+k|0;if((h|0)!=w[g|0]){break S}if((h|0)!=w[f+9|0]){break U}if((h|0)!=w[f+10|0]){break T}g=f+11|0;if((h|0)!=w[g|0]){break S}f=(d|0)<247;d=e;if(f){continue}break S}break}g=f+4|0;break S}g=f+5|0;break S}g=f+6|0;break S}g=f+7|0;break S}g=f+9|0;break S}g=f+10|0}d=(g-l|0)+258|0;d=d>>>0>j>>>0?j:d;v[c+96>>2]=d;if(d>>>0<3){break N}e=v[c+5792>>2];u[v[c+5796>>2]+(e<<1)>>1]=1;v[c+5792>>2]=e+1;d=d-3|0;t[e+v[c+5784>>2]|0]=d;d=((w[(d&255)+866944|0]<<2)+c|0)+1176|0;u[d>>1]=x[d>>1]+1;d=((w[866432]<<2)+c|0)+2440|0;u[d>>1]=x[d>>1]+1;d=v[c+96>>2];v[c+96>>2]=0;v[c+116>>2]=v[c+116>>2]-d;i=d+v[c+108>>2]|0;v[c+108>>2]=i;break M}d=w[v[c+56>>2]+i|0];e=v[c+5792>>2];u[v[c+5796>>2]+(e<<1)>>1]=0;v[c+5792>>2]=e+1;t[e+v[c+5784>>2]|0]=d;d=(d<<2)+c|0;u[d+148>>1]=x[d+148>>1]+1;v[c+116>>2]=v[c+116>>2]-1;i=v[c+108>>2]+1|0;v[c+108>>2]=i}if(v[c+5792>>2]!=(v[c+5788>>2]-1|0)){continue}d=c;e=v[c+92>>2];if((e|0)>=0){f=e+v[c+56>>2]|0}else{f=0}ak(d,f,i-e|0,0);v[c+92>>2]=v[c+108>>2];d=v[c>>2];e=v[d+28>>2];mh(e);f=v[d+16>>2];g=v[e+20>>2];f=f>>>0>>0?f:g;Y:{if(!f){break Y}cb(v[d+12>>2],v[e+16>>2],f);v[d+12>>2]=f+v[d+12>>2];v[e+16>>2]=f+v[e+16>>2];v[d+20>>2]=f+v[d+20>>2];v[d+16>>2]=v[d+16>>2]-f;d=v[e+20>>2]-f|0;v[e+20>>2]=d;if(d){break Y}v[e+16>>2]=v[e+8>>2]}if(v[v[c>>2]+16>>2]){continue}break}d=0}break C;default:break D}}d=Qa[v[B(d,12)+863832>>2]](c,b)|0}if((d&-2)==2){v[c+4>>2]=666}if(!(d&-3)){d=0;if(v[a+16>>2]){break d}break a}if((d|0)!=1){break k}Z:{_:{switch(b-1|0){case 0:e=v[c+5820>>2];d=x[c+5816>>1]|2<>1]=d;f=c;$:{if((e|0)>=14){e=v[c+20>>2];v[c+20>>2]=e+1;t[e+v[c+8>>2]|0]=d;d=v[c+20>>2];v[c+20>>2]=d+1;t[d+v[c+8>>2]|0]=w[c+5817|0];e=v[c+5820>>2];d=2>>>16-e|0;u[c+5816>>1]=d;e=e-13|0;break $}e=e+3|0}v[f+5820>>2]=e;f=c;aa:{if((e|0)>=10){e=v[c+20>>2];v[c+20>>2]=e+1;t[e+v[c+8>>2]|0]=d;d=v[c+20>>2];v[c+20>>2]=d+1;t[d+v[c+8>>2]|0]=w[c+5817|0];d=0;u[c+5816>>1]=0;e=v[c+5820>>2]-9|0;break aa}e=e+7|0}v[f+5820>>2]=e;f=c;ba:{ca:{if((e|0)==16){e=v[c+20>>2];v[c+20>>2]=e+1;t[e+v[c+8>>2]|0]=d;d=v[c+20>>2];v[c+20>>2]=d+1;t[d+v[c+8>>2]|0]=w[c+5817|0];u[c+5816>>1]=0;d=0;break ca}if((e|0)<8){break ba}e=v[c+20>>2];v[c+20>>2]=e+1;t[e+v[c+8>>2]|0]=d;u[c+5816>>1]=w[c+5817|0];d=v[c+5820>>2]-8|0}v[f+5820>>2]=d}break Z;case 4:break Z;default:break _}}oA(c,0,0,0);if((b|0)!=3){break Z}d=v[c+68>>2];e=(v[c+76>>2]<<1)-2|0;u[d+e>>1]=0;eb(d,0,e);if(v[c+116>>2]){break Z}v[c+5812>>2]=0;v[c+92>>2]=0;v[c+108>>2]=0}Ts(a);if(v[a+16>>2]){break k}break a}d=0;if((b|0)!=4){break d}d=1;e=v[c+24>>2];if((e|0)<1){break d}b=v[a+48>>2];da:{if((e|0)==2){d=v[c+20>>2];v[c+20>>2]=d+1;t[d+v[c+8>>2]|0]=b;b=v[a+48>>2];d=v[c+20>>2];v[c+20>>2]=d+1;t[d+v[c+8>>2]|0]=b>>>8;b=x[a+50>>1];d=v[c+20>>2];v[c+20>>2]=d+1;t[d+v[c+8>>2]|0]=b;b=w[a+51|0];d=v[c+20>>2];v[c+20>>2]=d+1;t[d+v[c+8>>2]|0]=b;b=v[a+8>>2];d=v[c+20>>2];v[c+20>>2]=d+1;t[d+v[c+8>>2]|0]=b;b=v[a+8>>2];d=v[c+20>>2];v[c+20>>2]=d+1;t[d+v[c+8>>2]|0]=b>>>8;b=x[a+10>>1];d=v[c+20>>2];v[c+20>>2]=d+1;t[d+v[c+8>>2]|0]=b;b=w[a+11|0];break da}d=v[c+20>>2];v[c+20>>2]=d+1;t[d+v[c+8>>2]|0]=b>>>24;d=v[c+20>>2];v[c+20>>2]=d+1;t[d+v[c+8>>2]|0]=b>>>16;b=v[a+48>>2];d=v[c+20>>2];v[c+20>>2]=d+1;t[d+v[c+8>>2]|0]=b>>>8}d=v[c+20>>2];v[c+20>>2]=d+1;t[d+v[c+8>>2]|0]=b;Ts(a);a=v[c+24>>2];if((a|0)>=1){v[c+24>>2]=0-a}d=!v[c+20>>2]}return d}v[c+40>>2]=-1;return 0}v[a+24>>2]=v[217299];return-5}v[c+40>>2]=-1;return 0}function JS(a,b,c){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,p=0,q=0,r=0,s=0,t=0;e=Ma-208|0;Ma=e;xy(e+176|0,v[a+8>>2],1);d=v[c+24>>2];v[e+172>>2]=c;v[e+168>>2]=d;v[e+160>>2]=0;v[e+152>>2]=0;v[e+156>>2]=0;v[e+144>>2]=0;v[e+148>>2]=0;v[e+136>>2]=0;v[e+140>>2]=0;r=jd(e+136|0,971028);a:{if(!v[e+168>>2]){n=e+176|0;break a}d=v[e+184>>2];v[e+168>>2]=d;n=e+176|0;v[e+172>>2]=n;if(!d){break a}v[e+128>>2]=d;v[e+132>>2]=e+176;b:{while(1){f=0;h=v[d+8>>2];if(h){v[h+4>>2]=v[h+4>>2]+1;f=v[d+8>>2]}g=f+36|0;h=Bd(g);d=v[v[c+12>>2]+((h>>>0)%y[c+8>>2]<<2)>>2];c:{if(d){while(1){d:{if((h|0)!=v[d+12>>2]){break d}if(ld(d+16|0,g,-1)){break d}g=1;d=0;break c}d=v[d+8>>2];if(d){continue}break}}h=0;d=v[f+20>>2];if(!d|!v[d+8>>2]){g=f+36|0}else{g=f+20|0}i=Bd(g);d=v[v[c+12>>2]+((i>>>0)%y[c+8>>2]<<2)>>2];e:{if(!d){break e}while(1){f:{if((i|0)!=v[d+12>>2]){break f}if(ld(d+16|0,g,-1)){break f}h=d;break e}d=v[d+8>>2];if(d){continue}break}}g=(h|0)!=0;d=!h}g:{if(!f){break g}h=v[f+4>>2]-1|0;v[f+4>>2]=h;if(h){break g}h=v[f+4>>2];if(!h){v[f+4>>2]=-32767}if(!h){Qa[v[v[f>>2]+4>>2]](f)}}if(!d){break b}d=v[e+168>>2];if(!d){break b}d=v[d>>2];v[e+168>>2]=d;if(!d){break b}f=v[e+172>>2];v[e+132>>2]=f;v[e+128>>2]=d;if((f|0)==(e+176|0)){continue}break}wd(e+128|0,e+176|0);L()}if(!g){h=(g|0)!=0;break a}v[e+120>>2]=0;v[e+112>>2]=0;v[e+116>>2]=0;v[e+104>>2]=0;v[e+108>>2]=0;v[e+96>>2]=0;v[e+100>>2]=0;m=jd(e+96|0,970820);d=v[e+184>>2];v[e+168>>2]=d;v[e+172>>2]=e+176;h:{if(d){while(1){v[e+88>>2]=d;v[e+92>>2]=e+176;i:{while(1){f=v[d+8>>2];if(f){v[f+4>>2]=v[f+4>>2]+1;f=v[d+8>>2]}else{f=0}d=f;h=v[d+20>>2];j:{if(!(!h|!v[h+8>>2])){d=d+20|0;break j}d=d+36|0}v[e+192>>2]=0;v[e+196>>2]=v[279250];d=v[d>>2];k:{if(d){Qa[v[v[d>>2]+28>>2]](e+80|0,d,1);break k}v[e+80>>2]=0}jb(e+192|0,e+80|0);d=v[e+80>>2];v[e+80>>2]=0;l:{if(!d){break l}h=v[d+4>>2]-1|0;v[d+4>>2]=h;if(h){break l}h=v[d+4>>2];if(!h){v[d+4>>2]=-32767}if(!h){Qa[v[v[d>>2]+4>>2]](d)}}d=v[e+192>>2];v[e+196>>2]=v[(d?d+12|0:1117e3)>>2];m:{if(d){h=e+192|0;if(v[d+8>>2]){break m}}h=f+36|0}v[e+80>>2]=0;v[e+84>>2]=v[279250];d=v[h>>2];n:{if(d){Qa[v[v[d>>2]+28>>2]](e- -64|0,d,1);break n}v[e+64>>2]=0}jb(e+80|0,e- -64|0);d=v[e+64>>2];v[e+64>>2]=0;o:{if(!d){break o}h=v[d+4>>2]-1|0;v[d+4>>2]=h;if(h){break o}h=v[d+4>>2];if(!h){v[d+4>>2]=-32767}if(!h){Qa[v[v[d>>2]+4>>2]](d)}}d=v[e+80>>2];v[e+84>>2]=v[(d?d+12|0:1117e3)>>2];db(e+192|0);h=Bd(e+80|0);d=v[v[m+12>>2]+((h>>>0)%y[m+8>>2]<<2)>>2];p:{if(d){while(1){if((h|0)==v[d+12>>2]){if(!ld(d+16|0,e+80|0,-1)){break p}}d=v[d+8>>2];if(d){continue}break}}d=ab(28);v[d>>2]=0;v[d+4>>2]=0;v[d+24>>2]=0;g=d+16|0;v[g>>2]=0;v[g+4>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d+20>>2]=v[279250];h=v[e+80>>2];q:{if(h){Qa[v[v[h>>2]+28>>2]](e+192|0,h,1);break q}v[e+192>>2]=0}jb(g,e+192|0);h=v[e+192>>2];v[e+192>>2]=0;r:{if(!h){break r}i=v[h+4>>2]-1|0;v[h+4>>2]=i;if(i){break r}i=v[h+4>>2];if(!i){v[h+4>>2]=-32767}if(!i){Qa[v[v[h>>2]+4>>2]](h)}}h=v[d+16>>2];h=v[(h?h+12|0:1117e3)>>2];v[d+24>>2]=0;v[d+20>>2]=h;s=d,t=Bd(g),v[s+12>>2]=t;bj(m,d)}v[d+24>>2]=0;db(e+80|0);s:{if(!f){break s}d=v[f+4>>2]-1|0;v[f+4>>2]=d;if(d){break s}d=v[f+4>>2];if(!d){v[f+4>>2]=-32767}if(!d){Qa[v[v[f>>2]+4>>2]](f)}}d=v[e+168>>2];if(!d){break i}d=v[d>>2];v[e+168>>2]=d;if(!d){break i}f=v[e+172>>2];v[e+92>>2]=f;v[e+88>>2]=d;if((f|0)==(e+176|0)){continue}break}wd(e+88|0,e+176|0);L()}d=v[e+184>>2];v[e+168>>2]=d;v[e+172>>2]=e+176;if(!d){break h}v[e+72>>2]=d;v[e+76>>2]=e+176;f=0;t:{while(1){h=0;g=v[d+8>>2];if(g){v[g+4>>2]=v[g+4>>2]+1;h=v[d+8>>2]}d=v[h+20>>2];u:{if(!(!d|!v[d+8>>2])){d=h+20|0;break u}d=h+36|0}v[e+192>>2]=0;v[e+196>>2]=v[279250];d=v[d>>2];v:{if(d){Qa[v[v[d>>2]+28>>2]](e+80|0,d,1);break v}v[e+80>>2]=0}jb(e+192|0,e+80|0);d=v[e+80>>2];v[e+80>>2]=0;w:{if(!d){break w}g=v[d+4>>2]-1|0;v[d+4>>2]=g;if(g){break w}g=v[d+4>>2];if(!g){v[d+4>>2]=-32767}if(!g){Qa[v[v[d>>2]+4>>2]](d)}}d=v[e+192>>2];v[e+196>>2]=v[(d?d+12|0:1117e3)>>2];x:{if(d){g=e+192|0;if(v[d+8>>2]){break x}}g=h+36|0}v[e+80>>2]=0;v[e+84>>2]=v[279250];d=v[g>>2];y:{if(d){Qa[v[v[d>>2]+28>>2]](e- -64|0,d,1);break y}v[e+64>>2]=0}jb(e+80|0,e- -64|0);d=v[e+64>>2];v[e+64>>2]=0;z:{if(!d){break z}g=v[d+4>>2]-1|0;v[d+4>>2]=g;if(g){break z}g=v[d+4>>2];if(!g){v[d+4>>2]=-32767}if(!g){Qa[v[v[d>>2]+4>>2]](d)}}d=v[e+80>>2];v[e+84>>2]=v[(d?d+12|0:1117e3)>>2];db(e+192|0);g=Bd(e+80|0);d=v[v[c+12>>2]+((g>>>0)%y[c+8>>2]<<2)>>2];A:{if(!d){break A}while(1){B:{if((g|0)==v[d+12>>2]){if(!ld(d+16|0,e+80|0,-1)){break B}}d=v[d+8>>2];if(d){continue}break A}break}f=0;v[e+192>>2]=0;v[e+196>>2]=v[279250];C:while(1){D:{E:{d=v[e+80>>2];if(!d){break E}d=DQ(d);if((d|0)<1){break E}g=e+40|0;i=e+80|0;We(g,i,0,d);j=e+48|0;ic(j,g,306613);g=e+56|0;l=j;f=f+1|0;j=Qe(e+32|0,f);Xb(g,l,j);l=e+24|0;We(l,i,d,-1);Xb(e- -64|0,g,l);d=v[e+64>>2];F:{if(d){Qa[v[v[d>>2]+28>>2]](e+200|0,d,1);break F}v[e+200>>2]=0}jb(e+192|0,e+200|0);d=v[e+200>>2];v[e+200>>2]=0;G:{if(!d){break G}g=v[d+4>>2]-1|0;v[d+4>>2]=g;if(g){break G}g=v[d+4>>2];if(!g){v[d+4>>2]=-32767}if(!g){Qa[v[v[d>>2]+4>>2]](d)}}d=v[e+192>>2];v[e+196>>2]=v[(d?d+12|0:1117e3)>>2];db(e- -64|0);db(e+24|0);db(e+56|0);db(j);db(e+48|0);db(e+40|0);break D}d=e+56|0;ic(d,e+80|0,306613);f=f+1|0;g=Qe(e+48|0,f);Xb(e- -64|0,d,g);d=v[e+64>>2];H:{if(d){Qa[v[v[d>>2]+28>>2]](e+40|0,d,1);break H}v[e+40>>2]=0}jb(e+192|0,e+40|0);d=v[e+40>>2];v[e+40>>2]=0;I:{if(!d){break I}i=v[d+4>>2]-1|0;v[d+4>>2]=i;if(i){break I}i=v[d+4>>2];if(!i){v[d+4>>2]=-32767}if(!i){Qa[v[v[d>>2]+4>>2]](d)}}d=v[e+192>>2];v[e+196>>2]=v[(d?d+12|0:1117e3)>>2];db(e- -64|0);db(g);db(e+56|0)}g=Bd(e+192|0);d=v[v[c+12>>2]+((g>>>0)%y[c+8>>2]<<2)>>2];if(d){while(1){if((g|0)==v[d+12>>2]){if(!ld(d+16|0,e+192|0,-1)){continue C}}d=v[d+8>>2];if(d){continue}break}}g=Bd(e+192|0);d=v[v[m+12>>2]+((g>>>0)%y[m+8>>2]<<2)>>2];if(d){while(1){if((g|0)==v[d+12>>2]){if(!ld(d+16|0,e+192|0,-1)){continue C}}d=v[d+8>>2];if(d){continue}break}}break}f=h+36|0;p=e+192|0;l=p;g=Ma-48|0;Ma=g;J:{K:{j=v[a+8>>2];i=v[j+20>>2];if(i){while(1){d=v[i+8>>2];if(d){v[d+4>>2]=v[d+4>>2]+1;d=v[i+8>>2]}else{d=0}if(ld(d+36|0,f,-1)){if(!ld(d+20|0,l,-1)){break K}}L:{if(!d){break L}k=v[d+4>>2]-1|0;v[d+4>>2]=k;if(k){break L}k=v[d+4>>2];if(!k){v[d+4>>2]=-32767}if(!k){Qa[v[v[d>>2]+4>>2]](d)}}i=v[i>>2];if(i){continue}break}}i=Bd(f);M:{d=v[v[j+92>>2]+((i>>>0)%y[j+88>>2]<<2)>>2];if(d){while(1){if((i|0)==v[d+12>>2]){if(!ld(d+16|0,f,-1)){break M}}d=v[d+8>>2];if(d){continue}break}}Rc(g+16|0,348345,XS(g+8|0,f));a=v[g+16>>2];lb(mb(g+24|0,v[(a?a+12|0:1117e3)>>2],241117,776,334635));L()}f=0;i=0;k=v[d+24>>2];if(k){v[k+4>>2]=v[k+4>>2]+1;i=v[d+24>>2]}v[g+16>>2]=i;k=i+20|0;o=Bd(k);j=j+52|0;d=v[v[j+12>>2]+((o>>>0)%y[j+8>>2]<<2)>>2];N:{if(!d){break N}while(1){O:{if((o|0)!=v[d+12>>2]){break O}if(ld(d+16|0,k,-1)){break O}f=d;break N}d=v[d+8>>2];if(d){continue}break}}if(f){o=y[f+12>>2]%y[j+8>>2]|0;d=v[f>>2];if(d){v[d+4>>2]=v[f+4>>2]}q=v[f+4>>2];v[(q?q:j+24|0)>>2]=d;d=v[j+12>>2]+(o<<2)|0;P:{if(v[d>>2]==(f|0)){v[d>>2]=v[f+8>>2];break P}d=v[f>>2];if(!d){break P}v[d+8>>2]=v[f+8>>2]}Qa[v[v[j>>2]+16>>2]](f,1);$a(f);v[j+4>>2]=v[j+4>>2]-1}d=v[l>>2];Q:{if(d){Qa[v[v[d>>2]+28>>2]](g+24|0,d,1);break Q}v[g+24>>2]=0}jb(k,g+24|0);d=v[g+24>>2];v[g+24>>2]=0;R:{if(!d){break R}f=v[d+4>>2]-1|0;v[d+4>>2]=f;if(f){break R}f=v[d+4>>2];if(!f){v[d+4>>2]=-32767}if(!f){Qa[v[v[d>>2]+4>>2]](d)}}d=v[i+20>>2];v[i+24>>2]=v[(d?d+12|0:1117e3)>>2];jb(xj(j,l)+24|0,g+16|0);d=v[g+16>>2];v[g+16>>2]=0;S:{if(!d){break S}f=v[d+4>>2]-1|0;v[d+4>>2]=f;if(f){break S}f=v[d+4>>2];if(!f){v[d+4>>2]=-32767}if(!f){Qa[v[v[d>>2]+4>>2]](d)}}Ma=g+48|0;break J}Rc(g+16|0,348575,XS(g+8|0,l));a=v[g+16>>2];lb(mb(g+24|0,v[(a?a+12|0:1117e3)>>2],241117,771,334635));L()}db(p);f=1}db(e+80|0);T:{if(!h){break T}d=v[h+4>>2]-1|0;v[h+4>>2]=d;if(d){break T}d=v[h+4>>2];if(!d){v[h+4>>2]=-32767}if(!d){Qa[v[v[h>>2]+4>>2]](h)}}d=v[e+168>>2];if(!d){break t}d=v[d>>2];v[e+168>>2]=d;if(!d){break t}h=v[e+172>>2];v[e+76>>2]=h;v[e+72>>2]=d;if((h|0)==(e+176|0)){continue}break}wd(e+72|0,e+176|0);L()}h=1;g=vd(m);if(!(f&1)){break a}d=e+96|0;xy(d,v[a+8>>2],1);f=e+176|0;GE(f,d);ac(d);v[e+120>>2]=0;v[e+112>>2]=0;v[e+116>>2]=0;v[e+104>>2]=0;v[e+108>>2]=0;v[e+96>>2]=0;v[e+100>>2]=0;jd(g,970820);d=v[e+184>>2];v[e+168>>2]=d;v[e+172>>2]=f;if(d){continue}break}}v[e+168>>2]=0;v[e+172>>2]=e+176}vd(m);h=1}v[e+172>>2]=n;d=v[e+184>>2];v[e+168>>2]=d;U:{V:{if(!d){break V}v[e+16>>2]=d;v[e+20>>2]=e+176;while(1){f=0;c=v[d+8>>2];if(c){v[c+4>>2]=v[c+4>>2]+1;f=v[d+8>>2]}v[f+8>>2]=-1;c=f+36|0;g=Bd(c);W:{d=v[v[a+28>>2]+((g>>>0)%y[a+24>>2]<<2)>>2];if(d){while(1){if((g|0)==v[d+12>>2]){if(!ld(d+16|0,c,-1)){break W}}d=v[d+8>>2];if(d){continue}break}}Rc(e+192|0,348804,c);a=v[e+192>>2];lb(mb(e+96|0,v[(a?a+12|0:1117e3)>>2],242035,360,335497));L()}X:{if(!h){break X}lg(e+96|0);c=e+80|0;th(c,v[d+24>>2]);Ve(e+192|0,c);c=v[e+80>>2];v[e+80>>2]=0;Y:{if(!c){break Y}g=v[c+4>>2]-1|0;v[c+4>>2]=g;if(g){break Y}g=v[c+4>>2];if(!g){v[c+4>>2]=-32767}if(!g){Qa[v[v[c>>2]+4>>2]](c)}}Ve(e+80|0,e+96|0);IS(v[e+192>>2],v[e+80>>2],v[a+8>>2],e+136|0);c=v[e+80>>2];v[e+80>>2]=0;Z:{if(!c){break Z}g=v[c+4>>2]-1|0;v[c+4>>2]=g;if(g){break Z}g=v[c+4>>2];if(!g){v[c+4>>2]=-32767}if(!g){Qa[v[v[c>>2]+4>>2]](c)}}g=d+24|0;c=v[e+192>>2];v[e+192>>2]=0;_:{if(!c){break _}i=v[c+4>>2]-1|0;v[c+4>>2]=i;if(i){break _}i=v[c+4>>2];if(!i){v[c+4>>2]=-32767}if(!i){Qa[v[v[c>>2]+4>>2]](c)}}c=v[e+96>>2];Qa[v[v[c>>2]+20>>2]](c,0,0,0)|0;c=e+192|0;Cy(c,e+96|0);jb(g,c);c=v[e+192>>2];v[e+192>>2]=0;$:{if(!c){break $}g=v[c+4>>2]-1|0;v[c+4>>2]=g;if(g){break $}g=v[c+4>>2];if(!g){v[c+4>>2]=-32767}if(!g){Qa[v[v[c>>2]+4>>2]](c)}}c=v[e+96>>2];v[e+96>>2]=0;if(!c){break X}g=v[c+4>>2]-1|0;v[c+4>>2]=g;if(g){break X}g=v[c+4>>2];if(!g){v[c+4>>2]=-32767}if(!g){Qa[v[v[c>>2]+4>>2]](c)}}c=Su(v[d+24>>2]);v[f+12>>2]=c;if(!c){break U}c=v[f+4>>2]-1|0;v[f+4>>2]=c;if(!c){c=v[f+4>>2];if(!c){v[f+4>>2]=-32767}if(!c){Qa[v[v[f>>2]+4>>2]](f)}}c=v[e+168>>2];if(!c){break V}d=v[c>>2];v[e+168>>2]=d;if(!d){break V}c=v[e+172>>2];v[e+20>>2]=c;v[e+16>>2]=d;if((c|0)==(e+176|0)){continue}break}wd(e+16|0,e+176|0);L()}c=e+192|0;lg(c);Ve(e+80|0,c);c=v[e+80>>2];Uf(c,310900,1);Uf(c,310925,0);d=v[a+8>>2];v[e+96>>2]=0;f=e+96|0;qb(f,c);sF(d,f,h);d=v[e+96>>2];v[e+96>>2]=0;aa:{if(!d){break aa}f=v[d+4>>2]-1|0;v[d+4>>2]=f;if(f){break aa}f=v[d+4>>2];if(!f){v[d+4>>2]=-32767}if(!f){Qa[v[v[d>>2]+4>>2]](d)}}Od(c);if(v[a+12>>2]){Uf(c,310910,0);d=v[a+12>>2];v[e+96>>2]=0;f=e+96|0;qb(f,c);jF(d,f);d=v[e+96>>2];v[e+96>>2]=0;ba:{if(!d){break ba}f=v[d+4>>2]-1|0;v[d+4>>2]=f;if(f){break ba}f=v[d+4>>2];if(!f){v[d+4>>2]=-32767}if(!f){Qa[v[v[d>>2]+4>>2]](d)}}Od(c)}Od(c);g=Qa[v[v[c>>2]+16>>2]](c)|0;v[e+172>>2]=n;d=v[e+184>>2];v[e+168>>2]=d;if(d){while(1){c=v[d+8>>2];f=(g&1)+g|0;v[c+8>>2]=f;g=f+v[c+12>>2]|0;d=v[d>>2];if(d){continue}break}v[e+168>>2]=0}Ve(e- -64|0,b);b=v[e+64>>2];Uf(b,310900,1);Uf(b,310925,0);c=v[a+8>>2];v[e+96>>2]=0;d=e+96|0;qb(d,b);sF(c,d,h);c=v[e+96>>2];v[e+96>>2]=0;ca:{if(!c){break ca}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break ca}d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}}Od(b);if(v[a+12>>2]){Uf(b,310910,0);c=v[a+12>>2];v[e+96>>2]=0;d=e+96|0;qb(d,b);jF(c,d);c=v[e+96>>2];v[e+96>>2]=0;da:{if(!c){break da}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break da}d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}}Od(b)}v[e+172>>2]=n;g=v[e+184>>2];v[e+168>>2]=g;ea:{if(!g){break ea}v[e+8>>2]=g;v[e+12>>2]=e+176;while(1){nF(e+56|0,a,v[g+8>>2]+36|0);d=v[e+56>>2];th(e+48|0,d);fa:{if(!(Qa[v[v[b>>2]+16>>2]](b)&1)){break fa}v[e+96>>2]=0;qb(e+96|0,b);mg(v[e+96>>2],0);c=v[e+96>>2];v[e+96>>2]=0;if(!c){break fa}f=v[c+4>>2]-1|0;v[c+4>>2]=f;if(f){break fa}f=v[c+4>>2];if(!f){v[c+4>>2]=-32767}if(!f){Qa[v[v[c>>2]+4>>2]](c)}}c=v[e+48>>2];v[e+96>>2]=0;qb(e+96|0,b);Rg(v[e+96>>2],c);c=v[e+96>>2];v[e+96>>2]=0;ga:{if(!c){break ga}f=v[c+4>>2]-1|0;v[c+4>>2]=f;if(f){break ga}f=v[c+4>>2];if(!f){v[c+4>>2]=-32767}if(!f){Qa[v[v[c>>2]+4>>2]](c)}}c=v[e+48>>2];v[e+48>>2]=0;ha:{if(!c){break ha}f=v[c+4>>2]-1|0;v[c+4>>2]=f;if(f){break ha}f=v[c+4>>2];if(!f){v[c+4>>2]=-32767}if(!f){Qa[v[v[c>>2]+4>>2]](c)}}c=v[d+4>>2]-1|0;v[d+4>>2]=c;if(!c){c=v[d+4>>2];if(!c){v[d+4>>2]=-32767}if(!c){Qa[v[v[d>>2]+4>>2]](d)}}c=v[e+168>>2];if(!c){break ea}g=v[c>>2];v[e+168>>2]=g;if(!g){break ea}c=v[e+172>>2];v[e+12>>2]=c;v[e+8>>2]=g;if((c|0)==(e+176|0)){continue}break}wd(e+8|0,e+176|0);L()}Od(b);Qa[v[v[b>>2]+24>>2]](b);a=v[e+64>>2];v[e+64>>2]=0;ia:{if(!a){break ia}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break ia}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}a=v[e+80>>2];v[e+80>>2]=0;ja:{if(!a){break ja}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break ja}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}a=v[e+192>>2];v[e+192>>2]=0;ka:{if(!a){break ka}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break ka}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}vd(r);ac(e+176|0);Ma=e+208|0;return}lb(mb(e+96|0,280458,242035,375,335497));L()}function b5(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,x=0,z=0,A=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;I=Ma-128|0;Ma=I;Y=v[a+4>>2];D=d;E=v[a+8>>2];l=E;h=v[l+88>>2];s=h+B(d,1876)|0;d=B(v[s+420>>2],112)+112|0;i=gb(d);k=0;a:{if(!i){break a}t=Y;i=eb(i,0,d);b:{if(v[s+420>>2]>=0){V=s+8|0;N=s+12|0;F=s+1872|0;g=v[t+4>>2];k=v[l+32>>2];j=v[l+40>>2];n=v[l+48>>2];d=(D|0)/(n|0)|0;o=k+B(j,d)|0;J=(g|0)>(o|0)?g:o;g=v[t+12>>2];j=k+B(j,d+1|0)|0;O=(g|0)<(j|0)?g:j;g=v[t>>2];j=v[l+36>>2];d=D-B(d,n)|0;n=v[l+28>>2];k=B(j,d)+n|0;K=(g|0)>(k|0)?g:k;g=v[t+8>>2];d=n+B(j,d+1|0)|0;P=(d|0)>(g|0)?g:d;n=v[t+16>>2];z=n<<4;u=h+B(D,1876)|0;while(1){o=i+B(m,112)|0;v[o+92>>2]=O;v[o+88>>2]=P;v[o+84>>2]=J;v[o+80>>2]=K;v[o+72>>2]=n;d=gb(z);if(!d){v[o+76>>2]=0;break b}v[o+76>>2]=d;j=0;C=eb(d,0,z);d=0;L=v[i+72>>2];if((L|0)>=1){Q=v[t+24>>2];f=0;while(1){q=v[F>>2];g=C+(f<<4)|0;k=Q+B(f,48)|0;h=v[k>>2];v[g>>2]=h;k=v[k+4>>2];v[g+4>>2]=k;A=q+B(f,1076)|0;q=v[A+4>>2];v[g+8>>2]=q;p=q<<4;r=gb(p);if(!r){v[(C+(f<<4)|0)+12>>2]=0;break b}R=eb(r,0,p);v[g+12>>2]=R;g=k-1|0;S=(g+v[i+92>>2]|0)/(k|0)|0;p=h-1|0;W=(p+v[i+88>>2]|0)/(h|0)|0;T=(g+v[i+84>>2]|0)/(k|0)|0;U=(p+v[i+80>>2]|0)/(h|0)|0;if((q|0)>=1){X=v[A>>2]&1;g=0;while(1){p=R+(g<<4)|0;M=p;c:{if(X){k=A+(g<<2)|0;h=v[k+812>>2];v[p>>2]=h;k=v[k+944>>2];break c}h=15;v[p>>2]=15;k=15}v[M+4>>2]=k;M=-1<>r;Z=x+T>>r;k=(G|0)==(Z|0)?0:(M&(G+(1<>k;v[p+12>>2]=k;M=p;G=-1<>r;r=x+U>>r;h=(p|0)==(r|0)?0:(G&(p+(1<>h;v[M+8>>2]=h;h=B(h,k);d=(d|0)<(h|0)?h:d;g=g+1|0;if((q|0)!=(g|0)){continue}break}}j=(j|0)<(q|0)?q:j;f=f+1|0;if((L|0)!=(f|0)){continue}break}}v[o+12>>2]=d;v[o+16>>2]=1;d=B(d,n);v[o+8>>2]=d;d=B(d,j);v[o+4>>2]=d;d:{if(!m){d=B(d,v[N>>2])<<1;g=gb(d);if(g){_=o,$=eb(g,0,d),v[_>>2]=$;break d}v[o>>2]=0;break b}v[o>>2]=v[o-112>>2]}e:{if(!v[s+424>>2]){f=0;d=N;g=n;h=V;k=0;break e}k=u+(m<<5)|0;h=k+448|0;d=k+436|0;g=v[k+444>>2];j=v[k+440>>2];f=v[k+432>>2];k=v[k+428>>2]}d=v[d>>2];h=v[h>>2];v[o+40>>2]=k;v[o+36>>2]=1;v[o+60>>2]=h;v[o+56>>2]=g;v[o+52>>2]=j;v[o+48>>2]=d;v[o+44>>2]=f;d=v[s+420>>2]>(m|0);m=m+1|0;if(d){continue}break}}k=i;break a}EL(i,l,D);k=0}f:{if(!k){break f}L=B(D,1876);g:{if(v[(L+v[E+88>>2]|0)+420>>2]>-1){W=b+c|0;c=0;V=e;o=a;t=b;while(1){N=c;r=k+B(c,112)|0;h:{if(!c5(r)){break h}while(1){x=v[r+32>>2];i:{j:{a=v[E+16>>2];if(a){H=0;if((a|0)<=(x|0)){break j}}J=v[r+20>>2];h=v[(v[V+20>>2]+(J<<5)|0)+20>>2];p=v[o+8>>2];O=v[r+28>>2];j=v[r+24>>2];m=v[E+88>>2];k:{if(x){break k}l=0;n=h+B(j,124)|0;s=v[n+24>>2];if((s|0)<1){break k}while(1){a=n+(l<<5)|0;l:{if(v[a+36>>2]==v[a+28>>2]|v[a+40>>2]==v[a+32>>2]){break l}d=v[a+48>>2]+B(O,36)|0;a=v[d+28>>2];m:{if(!a){break m}e=v[a+8>>2];if((e|0)<1){break m}b=e&3;a=v[a+12>>2];c=0;if(e-1>>>0>=3){g=e&-4;while(1){e=c<<4;i=e+a|0;v[i+12>>2]=0;v[i+4>>2]=999;v[i+8>>2]=0;i=a+(e|16)|0;v[i+4>>2]=999;v[i+8>>2]=0;v[i+12>>2]=0;i=a+(e|32)|0;v[i+4>>2]=999;v[i+8>>2]=0;v[i+12>>2]=0;e=a+(e|48)|0;v[e+4>>2]=999;v[e+8>>2]=0;v[e+12>>2]=0;c=c+4|0;g=g-4|0;if(g){continue}break}}if(!b){break m}while(1){e=a+(c<<4)|0;v[e+12>>2]=0;v[e+4>>2]=999;v[e+8>>2]=0;c=c+1|0;b=b-1|0;if(b){continue}break}}a=v[d+32>>2];n:{if(!a){break n}e=v[a+8>>2];if((e|0)<1){break n}b=e&3;a=v[a+12>>2];c=0;if(e-1>>>0>=3){g=e&-4;while(1){e=c<<4;i=e+a|0;v[i+12>>2]=0;v[i+4>>2]=999;v[i+8>>2]=0;i=a+(e|16)|0;v[i+4>>2]=999;v[i+8>>2]=0;v[i+12>>2]=0;i=a+(e|32)|0;v[i+4>>2]=999;v[i+8>>2]=0;v[i+12>>2]=0;e=a+(e|48)|0;v[e+4>>2]=999;v[e+8>>2]=0;v[e+12>>2]=0;c=c+4|0;g=g-4|0;if(g){continue}break}}if(!b){break n}while(1){e=a+(c<<4)|0;v[e+12>>2]=0;v[e+4>>2]=999;v[e+8>>2]=0;c=c+1|0;b=b-1|0;if(b){continue}break}}b=B(v[d+20>>2],v[d+16>>2]);if((b|0)<1){break l}e=b&7;a=v[d+24>>2];c=0;if(b-1>>>0>=7){b=b&-8;while(1){v[(a+B(c,15448)|0)+36>>2]=0;v[(a+B(c|1,15448)|0)+36>>2]=0;v[(a+B(c|2,15448)|0)+36>>2]=0;v[(a+B(c|3,15448)|0)+36>>2]=0;v[(a+B(c|4,15448)|0)+36>>2]=0;v[(a+B(c|5,15448)|0)+36>>2]=0;v[(a+B(c|6,15448)|0)+36>>2]=0;v[(a+B(c|7,15448)|0)+36>>2]=0;c=c+8|0;b=b-8|0;if(b){continue}break}}if(!e){break l}while(1){v[(a+B(c,15448)|0)+36>>2]=0;c=c+1|0;e=e-1|0;if(e){continue}break}}l=l+1|0;if((s|0)!=(l|0)){continue}break}}q=m+L|0;Q=v[q+4>>2];a=t;o:{if(!(Q&2)){break o}i=t;a=i;if(w[i|0]!=255){break o}a=(w[t+1|0]==145?6:0)+t|0}i=a;H=-999;f=gb(20);if(!f){break j}R=W-t|0;v[f>>2]=0;v[f+4>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;S=v[p+72>>2]!=1;p:{if(!S){a=v[p+84>>2];c=v[p+64>>2];v[f>>2]=c;a=a+c|0;break p}if(v[q+1460>>2]==1){a=v[q+1468>>2];c=v[q+1452>>2];v[f>>2]=c;a=a+c|0;break p}v[f>>2]=i;c=i;a=t+R|0}v[f+12>>2]=0;v[f+16>>2]=8;v[f+8>>2]=c;v[f+4>>2]=a;q:{r:{if(a>>>0<=c>>>0){break r}b=c+1|0;v[f+8>>2]=b;e=w[c|0];v[f+12>>2]=e;v[f+16>>2]=7;if(e&128){K=0;C=h+B(j,124)|0;T=v[C+24>>2];if((T|0)>0){P=q+1872|0;c=7;d=b;while(1){z=C+(K<<5)|0;s:{if(v[z+36>>2]==v[z+28>>2]|v[z+40>>2]==v[z+32>>2]){break s}A=v[z+48>>2]+B(O,36)|0;U=B(v[A+20>>2],v[A+16>>2]);if((U|0)<1){break s}X=v[A+24>>2];F=0;while(1){t:{u:{v:{w:{x:{n=X+B(F,15448)|0;u=v[n+36>>2];if(!u){g=0;l=0;j=F<<4;h=j+v[v[A+28>>2]+12>>2]|0;a=v[h>>2];if(a){while(1){v[(l<<2)+I>>2]=h;l=l+1|0;h=a;a=v[a>>2];if(a){continue}break}}while(1){a=v[h+8>>2];if((g|0)>(a|0)){v[h+8>>2]=g;a=g}y:{if((a|0)>(x|0)){g=a;break y}m=v[h+4>>2];if((m|0)<=(a|0)){g=a;break y}s=v[f+4>>2];while(1){z:{if(c){break z}e=e<<8&65280;v[f+12>>2]=e;c=(e|0)==65280?7:8;v[f+16>>2]=c;if(d>>>0>=s>>>0){break z}b=d+1|0;v[f+8>>2]=b;e=w[d|0]|e;v[f+12>>2]=e;d=b}c=c-1|0;v[f+16>>2]=c;if(e>>>c&1){v[h+4>>2]=a;g=a;break y}g=a+1|0;if((a|0)>=(x|0)){break y}a=g;if((m|0)>(a|0)){continue}break}}v[h+8>>2]=g;if(!l){break x}l=l-1|0;h=v[(l<<2)+I>>2];continue}}A:{if(c){break A}a=v[f+4>>2];e=e<<8&65280;v[f+12>>2]=e;c=(e|0)==65280?7:8;v[f+16>>2]=c;if(a>>>0<=d>>>0){break A}b=d+1|0;v[f+8>>2]=b;e=w[d|0]|e;v[f+12>>2]=e;d=b}c=c-1|0;v[f+16>>2]=c;if(!(e>>>c&1)){break w}break u}if((x|0)>=v[h+4>>2]){break v}}v[n+32>>2]=0;break t}l=j+v[v[A+32>>2]+12>>2]|0;s=v[l>>2];a=0;while(1){m=a;h=l;j=0;a=s;if(a){while(1){v[(j<<2)+I>>2]=h;j=j+1|0;h=a;a=v[a>>2];if(a){continue}break}}g=0;while(1){a=v[h+8>>2];if((g|0)>(a|0)){v[h+8>>2]=g;a=g}B:{if((a|0)>=(m|0)){break B}G=v[f+4>>2];g=v[h+4>>2];while(1){if((a|0)>=(g|0)){break B}C:{if(c){break C}e=e<<8&65280;v[f+12>>2]=e;c=(e|0)==65280?7:8;v[f+16>>2]=c;if(d>>>0>=G>>>0){break C}b=d+1|0;v[f+8>>2]=b;e=w[d|0]|e;v[f+12>>2]=e;d=b}c=c-1|0;v[f+16>>2]=c;D:{if(e>>>c&1){v[h+4>>2]=a;g=a;break D}a=a+1|0}if((a|0)<(m|0)){continue}break}}v[h+8>>2]=a;if(j){j=j-1|0;h=v[(j<<2)+I>>2];g=a;continue}break}a=m+1|0;if((m|0)<=v[h+4>>2]){continue}break}a=v[z+52>>2];v[n+20>>2]=3;v[n+16>>2]=(a-m|0)+1}E:{if(c){break E}e=e<<8&65280;v[f+12>>2]=e;c=(e|0)==65280?7:8;v[f+16>>2]=c;if(y[f+4>>2]<=d>>>0){break E}b=d+1|0;v[f+8>>2]=b;e=w[d|0]|e;v[f+12>>2]=e;d=b}a=n;c=c-1|0;m=1;F:{if(!(e>>>c&1)){break F}G:{if(c){break G}e=e<<8&65280;v[f+12>>2]=e;c=(e|0)==65280?7:8;v[f+16>>2]=c;if(y[f+4>>2]<=d>>>0){break G}b=d+1|0;v[f+8>>2]=b;e=w[d|0]|e;v[f+12>>2]=e;d=b}c=c-1|0;m=2;if(!(e>>>c&1)){break F}H:{if(c){break H}e=e<<8&65280;v[f+12>>2]=e;c=(e|0)==65280?7:8;v[f+16>>2]=c;if(y[f+4>>2]<=d>>>0){break H}b=d+1|0;v[f+8>>2]=b;e=w[d|0]|e;v[f+12>>2]=e;d=b}c=c-1|0;g=e>>>c<<1&2;I:{if(c){break I}e=e<<8&65280;v[f+12>>2]=e;c=(e|0)==65280?7:8;v[f+16>>2]=c;if(y[f+4>>2]<=d>>>0){break I}b=d+1|0;v[f+8>>2]=b;e=w[d|0]|e;v[f+12>>2]=e;d=b}J:{c=c-1|0;g=g|e>>>c&1;if((g|0)==3){K:{if(c){break K}e=e<<8&65280;v[f+12>>2]=e;c=(e|0)==65280?7:8;v[f+16>>2]=c;if(y[f+4>>2]<=d>>>0){break K}b=d+1|0;v[f+8>>2]=b;e=w[d|0]|e;v[f+12>>2]=e;d=b}c=c-1|0;g=e>>>c<<4&16;L:{if(c){break L}e=e<<8&65280;v[f+12>>2]=e;c=(e|0)==65280?7:8;v[f+16>>2]=c;if(y[f+4>>2]<=d>>>0){break L}b=d+1|0;v[f+8>>2]=b;e=w[d|0]|e;v[f+12>>2]=e;d=b}c=c-1|0;g=g|e>>>c<<3&8;M:{if(c){break M}e=e<<8&65280;v[f+12>>2]=e;c=(e|0)==65280?7:8;v[f+16>>2]=c;if(y[f+4>>2]<=d>>>0){break M}b=d+1|0;v[f+8>>2]=b;e=w[d|0]|e;v[f+12>>2]=e;d=b}c=c-1|0;g=g|e>>>c<<2&4;N:{if(c){break N}e=e<<8&65280;v[f+12>>2]=e;c=(e|0)==65280?7:8;v[f+16>>2]=c;if(y[f+4>>2]<=d>>>0){break N}b=d+1|0;v[f+8>>2]=b;e=w[d|0]|e;v[f+12>>2]=e;d=b}c=c-1|0;g=g|e>>>c<<1&2;O:{if(c){break O}e=e<<8&65280;v[f+12>>2]=e;c=(e|0)==65280?7:8;v[f+16>>2]=c;if(y[f+4>>2]<=d>>>0){break O}b=d+1|0;v[f+8>>2]=b;e=w[d|0]|e;v[f+12>>2]=e;d=b}c=c-1|0;g=g|e>>>c&1;if((g|0)!=31){break J}P:{if(c){break P}e=e<<8&65280;v[f+12>>2]=e;c=(e|0)==65280?7:8;v[f+16>>2]=c;if(y[f+4>>2]<=d>>>0){break P}b=d+1|0;v[f+8>>2]=b;e=w[d|0]|e;v[f+12>>2]=e;d=b}c=c-1|0;g=e>>>c<<6;Q:{if(c){break Q}e=e<<8&65280;v[f+12>>2]=e;c=(e|0)==65280?7:8;v[f+16>>2]=c;if(y[f+4>>2]<=d>>>0){break Q}b=d+1|0;v[f+8>>2]=b;e=w[d|0]|e;v[f+12>>2]=e;d=b}g=g&64;c=c-1|0;h=e>>>c<<5&32;R:{if(c){break R}e=e<<8&65280;v[f+12>>2]=e;c=(e|0)==65280?7:8;v[f+16>>2]=c;if(y[f+4>>2]<=d>>>0){break R}b=d+1|0;v[f+8>>2]=b;e=w[d|0]|e;v[f+12>>2]=e;d=b}g=g|h;c=c-1|0;h=e>>>c<<4&16;S:{if(c){break S}e=e<<8&65280;v[f+12>>2]=e;c=(e|0)==65280?7:8;v[f+16>>2]=c;if(y[f+4>>2]<=d>>>0){break S}b=d+1|0;v[f+8>>2]=b;e=w[d|0]|e;v[f+12>>2]=e;d=b}g=g|h;c=c-1|0;h=e>>>c<<3&8;T:{if(c){break T}e=e<<8&65280;v[f+12>>2]=e;c=(e|0)==65280?7:8;v[f+16>>2]=c;if(y[f+4>>2]<=d>>>0){break T}b=d+1|0;v[f+8>>2]=b;e=w[d|0]|e;v[f+12>>2]=e;d=b}g=g|h;c=c-1|0;h=e>>>c<<2&4;U:{if(c){break U}e=e<<8&65280;v[f+12>>2]=e;c=(e|0)==65280?7:8;v[f+16>>2]=c;if(y[f+4>>2]<=d>>>0){break U}b=d+1|0;v[f+8>>2]=b;e=w[d|0]|e;v[f+12>>2]=e;d=b}g=g|h;c=c-1|0;h=e>>>c<<1&2;V:{if(c){break V}e=e<<8&65280;v[f+12>>2]=e;c=(e|0)==65280?7:8;v[f+16>>2]=c;if(y[f+4>>2]<=d>>>0){break V}b=d+1|0;v[f+8>>2]=b;e=w[d|0]|e;v[f+12>>2]=e;d=b}c=c-1|0;m=(e>>>c&1)+(h|g+37)|0;break F}m=g+3|0;break F}m=g+6|0}v[a+32>>2]=m;h=v[f+4>>2];a=0;while(1){g=a;W:{if(c){break W}e=e<<8&65280;v[f+12>>2]=e;c=(e|0)==65280?7:8;v[f+16>>2]=c;if(d>>>0>=h>>>0){break W}b=d+1|0;v[f+8>>2]=b;e=w[d|0]|e;v[f+12>>2]=e;d=b}c=c-1|0;v[f+16>>2]=c;a=g+1|0;if(e>>>c&1){continue}break}s=g+v[n+20>>2]|0;v[n+20>>2]=s;l=n+B(u,24)|0;X:{Y:{if(!u){a=v[(v[P>>2]+B(J,1076)|0)+16>>2];v[n+40>>2]=0;v[n+44>>2]=0;j=n+40|0;g=a&4?1:a&1?10:109;break Y}g=n+B(u,24)|0;j=g+16|0;a=v[j>>2];if((a|0)!=v[g+28>>2]){break X}h=v[(v[P>>2]+B(J,1076)|0)+16>>2];j=g+40|0;v[j>>2]=0;v[j+4>>2]=0;g=1;if(h&4){break Y}g=109;if(!(h&1)){break Y}g=(a|0)==1?2:(a|0)==10?2:1}v[l+52>>2]=g;a=0}while(1){l=v[j+12>>2];a=l-a|0;n=(a|0)>(m|0)?m:a;v[j+16>>2]=n;g=0;h=0;a=n;if((a|0)>=2){while(1){h=h+1|0;u=a>>>0>3;a=a>>>1|0;if(u){continue}break}}a=h+s|0;if((a|0)>=1){u=v[f+4>>2];while(1){h=a;a=a-1|0;Z:{if(c){break Z}e=e<<8&65280;v[f+12>>2]=e;c=(e|0)==65280?7:8;v[f+16>>2]=c;if(b>>>0>=u>>>0){d=b;break Z}d=b+1|0;v[f+8>>2]=d;e=w[b|0]|e;v[f+12>>2]=e;b=d}c=c-1|0;v[f+16>>2]=c;g=((e>>>c&1)<1){continue}break}}v[j+20>>2]=g;m=m-n|0;if((m|0)<1){break t}h=v[(v[P>>2]+B(J,1076)|0)+16>>2];v[j+24>>2]=0;v[j+28>>2]=0;a=j;g=1;_:{if(h&4){break _}g=109;if(!(h&1)){break _}g=(l|0)==1?2:(l|0)==10?2:1}v[a+36>>2]=g;a=0;j=j+24|0;continue}}F=F+1|0;if((U|0)!=(F|0)){continue}break}}K=K+1|0;if((T|0)!=(K|0)){continue}break}}v[f+16>>2]=0;$:{if((e&255)==255){a=e<<8&65280;v[f+12>>2]=a;v[f+16>>2]=(a|0)==65280?7:8;if(y[f+4>>2]<=b>>>0){break $}b=b+1|0}$a(f);b=!(Q&4)|w[b|0]!=255?b:((w[b+1|0]==146)<<1)+b|0;aa:{ba:{if(!S){c=p+84|0;e=v[p+64>>2]-b|0;a=p- -64|0;break ba}if(v[q+1460>>2]!=1){i=b;break aa}c=q+1468|0;e=v[q+1452>>2]-b|0;a=q+1452|0}v[c>>2]=v[c>>2]+e;v[a>>2]=b}a=v[C+24>>2];if((a|0)<1){break q}h=t+R|0;j=0;while(1){b=C+(j<<5)|0;ca:{if(v[b+36>>2]==v[b+28>>2]|v[b+40>>2]==v[b+32>>2]){break ca}g=v[b+48>>2]+B(O,36)|0;e=v[g+20>>2];b=v[g+16>>2];if((B(e,b)|0)<1){break ca}m=0;while(1){d=v[g+24>>2]+B(m,15448)|0;a=v[d+36>>2];if((a|0)>=0){if(v[d+32>>2]){da:{if(!a){v[d+36>>2]=1;v[d+24>>2]=0;c=d+40|0;break da}b=d+B(a,24)|0;c=b+16|0;if(v[c>>2]!=v[b+28>>2]){break da}v[d+36>>2]=a+1;c=b+40|0}l=v[c+20>>2];if(h>>>0>>0){break j}a=c+20|0;e=v[d+24>>2];while(1){cb((d+e|0)+2440|0,i,l);b=v[d+24>>2];n=v[c>>2];if(!n){v[c+8>>2]=(b+d|0)+2440}a=v[a>>2];e=a+b|0;v[d+24>>2]=e;v[c+4>>2]=a+v[c+4>>2];b=v[c+16>>2];v[c>>2]=b+n;b=v[d+32>>2]-b|0;v[d+32>>2]=b;i=a+i|0;if((b|0)>=1){v[d+36>>2]=v[d+36>>2]+1;b=c;a=c+44|0;c=c+24|0;l=v[b+44>>2];if(h>>>0>=i+l>>>0){continue}break j}break}e=v[g+20>>2];b=v[g+16>>2]}m=m+1|0;if((m|0)<(B(b,e)|0)){continue}}break}a=v[C+24>>2]}j=j+1|0;if((j|0)<(a|0)){continue}break}break q}$a(f);break j}if((e|0)!=255){c=b;break r}v[f+12>>2]=e<<8;c=a>>>0>b>>>0?c+2|0:b}$a(f);c=!(Q&4)|w[c|0]!=255?c:((w[c+1|0]==146)<<1)+c|0;ea:{if(!S){e=p- -64|0;b=v[p+64>>2]-c|0;a=p+84|0;break ea}if(v[q+1460>>2]!=1){i=c;break q}e=q+1452|0;b=v[q+1452>>2]-c|0;a=q+1468|0}v[a>>2]=v[a>>2]+b;v[e>>2]=c}H=i-t|0;if((H|0)<1){break j}b=v[Y+24>>2]+B(v[r+20>>2],48)|0;a=v[b+36>>2];c=b;b=v[r+24>>2];v[c+36>>2]=(a|0)>(b|0)?a:b;break i}if((H|0)!=-999){break i}H=-999;break h}t=t+H|0;if(c5(r)){continue}break}}c=N+1|0;if((N|0)>2]|0)+420>>2]){continue}break}EL(k,E,D);if((H|0)!=-999){break g}break f}EL(k,E,D)}}Ma=I+128|0}function Pz(a,b,c,d,e,f,g){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,u=0,x=0,A=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=C(0);j=Ma-48|0;Ma=j;a:{if((g|0)>=5){t[a+60|0]=w[36909];b=w[36905]|w[36906]<<8|(w[36907]<<16|w[36908]<<24);c=w[36901]|w[36902]<<8|(w[36903]<<16|w[36904]<<24);t[a+52|0]=c;t[a+53|0]=c>>>8;t[a+54|0]=c>>>16;t[a+55|0]=c>>>24;t[a+56|0]=b;t[a+57|0]=b>>>8;t[a+58|0]=b>>>16;t[a+59|0]=b>>>24;b=w[36897]|w[36898]<<8|(w[36899]<<16|w[36900]<<24);c=w[36893]|w[36894]<<8|(w[36895]<<16|w[36896]<<24);t[a+44|0]=c;t[a+45|0]=c>>>8;t[a+46|0]=c>>>16;t[a+47|0]=c>>>24;t[a+48|0]=b;t[a+49|0]=b>>>8;t[a+50|0]=b>>>16;t[a+51|0]=b>>>24;b=w[36889]|w[36890]<<8|(w[36891]<<16|w[36892]<<24);c=w[36885]|w[36886]<<8|(w[36887]<<16|w[36888]<<24);t[a+36|0]=c;t[a+37|0]=c>>>8;t[a+38|0]=c>>>16;t[a+39|0]=c>>>24;t[a+40|0]=b;t[a+41|0]=b>>>8;t[a+42|0]=b>>>16;t[a+43|0]=b>>>24;b=w[36881]|w[36882]<<8|(w[36883]<<16|w[36884]<<24);c=w[36877]|w[36878]<<8|(w[36879]<<16|w[36880]<<24);t[a+28|0]=c;t[a+29|0]=c>>>8;t[a+30|0]=c>>>16;t[a+31|0]=c>>>24;t[a+32|0]=b;t[a+33|0]=b>>>8;t[a+34|0]=b>>>16;t[a+35|0]=b>>>24;b=w[36873]|w[36874]<<8|(w[36875]<<16|w[36876]<<24);c=w[36869]|w[36870]<<8|(w[36871]<<16|w[36872]<<24);t[a+20|0]=c;t[a+21|0]=c>>>8;t[a+22|0]=c>>>16;t[a+23|0]=c>>>24;t[a+24|0]=b;t[a+25|0]=b>>>8;t[a+26|0]=b>>>16;t[a+27|0]=b>>>24;b=w[36865]|w[36866]<<8|(w[36867]<<16|w[36868]<<24);c=w[36861]|w[36862]<<8|(w[36863]<<16|w[36864]<<24);t[a+12|0]=c;t[a+13|0]=c>>>8;t[a+14|0]=c>>>16;t[a+15|0]=c>>>24;t[a+16|0]=b;t[a+17|0]=b>>>8;t[a+18|0]=b>>>16;t[a+19|0]=b>>>24;b=w[36857]|w[36858]<<8|(w[36859]<<16|w[36860]<<24);c=w[36853]|w[36854]<<8|(w[36855]<<16|w[36856]<<24);t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+8|0]=b;t[a+9|0]=b>>>8;t[a+10|0]=b>>>16;t[a+11|0]=b>>>24;break a}b:{c:{k=v[b>>2];q=k;i=v[b+4>>2];if(i>>>0>=2){p=v[a+264>>2];s=w[!p+k|0]<<8|w[((p|0)!=0)+k|0]}u=B(s,12);x=u+4|0;if(q+x>>>0<=v[c>>2]+d>>>0){A=g+1|0;h=a+4|0;p=0;if(s){break c}break b}k=0;b=w[37108]|w[37109]<<8;t[a+28|0]=b;t[a+29|0]=b>>>8;b=w[37104]|w[37105]<<8|(w[37106]<<16|w[37107]<<24);c=w[37100]|w[37101]<<8|(w[37102]<<16|w[37103]<<24);t[a+20|0]=c;t[a+21|0]=c>>>8;t[a+22|0]=c>>>16;t[a+23|0]=c>>>24;t[a+24|0]=b;t[a+25|0]=b>>>8;t[a+26|0]=b>>>16;t[a+27|0]=b>>>24;b=w[37096]|w[37097]<<8|(w[37098]<<16|w[37099]<<24);c=w[37092]|w[37093]<<8|(w[37094]<<16|w[37095]<<24);t[a+12|0]=c;t[a+13|0]=c>>>8;t[a+14|0]=c>>>16;t[a+15|0]=c>>>24;t[a+16|0]=b;t[a+17|0]=b>>>8;t[a+18|0]=b>>>16;t[a+19|0]=b>>>24;b=w[37088]|w[37089]<<8|(w[37090]<<16|w[37091]<<24);c=w[37084]|w[37085]<<8|(w[37086]<<16|w[37087]<<24);t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+8|0]=b;t[a+9|0]=b>>>8;t[a+10|0]=b>>>16;t[a+11|0]=b>>>24;break a}H=e+5|0;I=e+37|0;J=e+77|0;E=e+196|0;while(1){v[j+40>>2]=0;v[j+44>>2]=0;g=B(p,12)|2;m=g>>>0>i>>>0?i:g;o=m+k|0;n=0;k=0;g=0;d:{i=i-m|0;if(i>>>0<2){break d}m=v[a+264>>2];g=!m;F=(m|0)!=0;k=w[g+o|0]<<8|w[o+F|0];if(i>>>0<4){g=0;break d}q=g;g=o+2|0;g=w[q+g|0]<<8|w[g+F|0];if(i>>>0>=8){n=o+4|0;e:{if(m){m=w[n+1|0]<<16|w[n|0]<<24|w[n+2|0]<<8;n=n+3|0;break e}m=w[n+2|0]<<16|w[n+3|0]<<24|w[n+1|0]<<8}n=w[n|0]|m}if(g>>>0<13){break d}k=0;a=w[38447]|w[38448]<<8|(w[38449]<<16|w[38450]<<24);b=w[38443]|w[38444]<<8|(w[38445]<<16|w[38446]<<24);t[h+24|0]=b;t[h+25|0]=b>>>8;t[h+26|0]=b>>>16;t[h+27|0]=b>>>24;t[h+28|0]=a;t[h+29|0]=a>>>8;t[h+30|0]=a>>>16;t[h+31|0]=a>>>24;a=w[38439]|w[38440]<<8|(w[38441]<<16|w[38442]<<24);b=w[38435]|w[38436]<<8|(w[38437]<<16|w[38438]<<24);t[h+16|0]=b;t[h+17|0]=b>>>8;t[h+18|0]=b>>>16;t[h+19|0]=b>>>24;t[h+20|0]=a;t[h+21|0]=a>>>8;t[h+22|0]=a>>>16;t[h+23|0]=a>>>24;a=w[38431]|w[38432]<<8|(w[38433]<<16|w[38434]<<24);b=w[38427]|w[38428]<<8|(w[38429]<<16|w[38430]<<24);t[h+8|0]=b;t[h+9|0]=b>>>8;t[h+10|0]=b>>>16;t[h+11|0]=b>>>24;t[h+12|0]=a;t[h+13|0]=a>>>8;t[h+14|0]=a>>>16;t[h+15|0]=a>>>24;a=w[38423]|w[38424]<<8|(w[38425]<<16|w[38426]<<24);b=w[38419]|w[38420]<<8|(w[38421]<<16|w[38422]<<24);t[h|0]=b;t[h+1|0]=b>>>8;t[h+2|0]=b>>>16;t[h+3|0]=b>>>24;t[h+4|0]=a;t[h+5|0]=a>>>8;t[h+6|0]=a>>>16;t[h+7|0]=a>>>24;break a}n=B(v[(g<<2)+39792>>2],n);f:{if((n|0)>=5){m=0;if(i>>>0>=12){i=o+8|0;g:{if(v[a+264>>2]){m=w[i+1|0]<<16|w[i|0]<<24|w[i+2|0]<<8;i=i+3|0;break g}m=w[i+2|0]<<16|w[i+3|0]<<24|w[i+1|0]<<8}m=w[i|0]|m}if(m+n>>>0>d>>>0){k=0;a=w[40626]|w[40627]<<8|(w[40628]<<16|w[40629]<<24);b=w[40622]|w[40623]<<8|(w[40624]<<16|w[40625]<<24);t[h+30|0]=b;t[h+31|0]=b>>>8;t[h+32|0]=b>>>16;t[h+33|0]=b>>>24;t[h+34|0]=a;t[h+35|0]=a>>>8;t[h+36|0]=a>>>16;t[h+37|0]=a>>>24;a=w[40620]|w[40621]<<8|(w[40622]<<16|w[40623]<<24);b=w[40616]|w[40617]<<8|(w[40618]<<16|w[40619]<<24);t[h+24|0]=b;t[h+25|0]=b>>>8;t[h+26|0]=b>>>16;t[h+27|0]=b>>>24;t[h+28|0]=a;t[h+29|0]=a>>>8;t[h+30|0]=a>>>16;t[h+31|0]=a>>>24;a=w[40612]|w[40613]<<8|(w[40614]<<16|w[40615]<<24);b=w[40608]|w[40609]<<8|(w[40610]<<16|w[40611]<<24);t[h+16|0]=b;t[h+17|0]=b>>>8;t[h+18|0]=b>>>16;t[h+19|0]=b>>>24;t[h+20|0]=a;t[h+21|0]=a>>>8;t[h+22|0]=a>>>16;t[h+23|0]=a>>>24;a=w[40604]|w[40605]<<8|(w[40606]<<16|w[40607]<<24);b=w[40600]|w[40601]<<8|(w[40602]<<16|w[40603]<<24);t[h+8|0]=b;t[h+9|0]=b>>>8;t[h+10|0]=b>>>16;t[h+11|0]=b>>>24;t[h+12|0]=a;t[h+13|0]=a>>>8;t[h+14|0]=a>>>16;t[h+15|0]=a>>>24;a=w[40596]|w[40597]<<8|(w[40598]<<16|w[40599]<<24);b=w[40592]|w[40593]<<8|(w[40594]<<16|w[40595]<<24);t[h|0]=b;t[h+1|0]=b>>>8;t[h+2|0]=b>>>16;t[h+3|0]=b>>>24;t[h+4|0]=a;t[h+5|0]=a>>>8;t[h+6|0]=a>>>16;t[h+7|0]=a>>>24;break a}i=v[c+4>>2];o=i>>>0>>0?i:m;m=i-o|0;i=o+v[c>>2]|0;break f}q=i;i=i>>>0<8?i:8;m=q-i|0;i=i+o|0}v[j+44>>2]=m;v[j+40>>2]=i;o=i+n|0;if(o>>>0>y[f>>2]){v[f>>2]=o}h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{if((k|0)<=37376){if((k|0)<=33433){Q:{switch(k-271|0){case 2:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:break h;case 12:break o;case 11:break p;case 25:break x;case 3:break B;case 1:break O;case 0:break P;default:break Q}}switch(k-513|0){case 1:break m;case 0:break n;default:break h}}if((k|0)<=34849){R:{switch(k-33434|0){case 1:case 2:break h;case 0:break E;case 3:break J;default:break R}}if((k|0)!=34665){break h}break i}S:{switch(k-34850|0){case 1:case 2:case 3:case 4:break h;case 5:break r;case 0:break s;default:break S}}T:{switch(k-36864|0){case 1:case 2:break h;case 3:break M;case 0:break N;default:break T}}if((k|0)!=37122){break h}l=hg(a,j+40|0,g);if(!(D(l)<2147483648)){break q}v[e+164>>2]=~~l;break h}if((k|0)<=37509){switch(k-37377|0){case 6:break t;case 7:break u;case 3:break v;case 8:break C;case 0:break D;case 5:break F;case 9:break G;case 2:break H;case 1:case 4:break I;default:break h}}U:{switch(k-40962|0){case 2:break h;case 3:break i;case 0:case 1:break A;default:break U}}V:{switch(k-41486|0){case 2:break w;case 1:break y;case 0:break z;default:break V}}if((k|0)!=37510){break h}W:{if(m>>>0>>0){break W}g=n-1|0;if(w[i+g|0]!=32){break W}while(1){X:{t[g+i|0]=0;if(!g){break X}g=g-1|0;i=v[j+40>>2];if(w[g+i|0]==32){continue}}break}m=v[j+44>>2]}if(m>>>0<5){break j}g=v[j+40>>2];if(Jb(g,41369,5)){break K}if(!(w[g+5|0]&223)){break L}i=204;g=g+5|0;break k}if(m>>>0<31){break h}Sb(H,i,31);break h}if(m>>>0<39){break h}Sb(I,i,39);break h}if(m>>>0<4){break h}Sb(e,i,4);break h}if(m>>>0<19){break h}Sb(J,i,19);break h}if(!(w[g+6|0]&223)){break l}i=205;g=g+6|0;break k}if(m>>>0<199){break j}Sb(E,g,199);break j}K=e,L=C(hg(a,j+40|0,g)),z[K+132>>2]=L;break h}if(z[e+132>>2]!=C(0)){break j}K=e,L=C(Lp(hg(a,j+40|0,g)*.6931471824645996*.5)),z[K+132>>2]=L;break j}K=e,L=C(hg(a,j+40|0,g)),z[K+192>>2]=L;break h}K=e,L=C(hg(a,j+40|0,g)),z[K+124>>2]=L;break h}K=e,L=C(hg(a,j+40|0,g)),z[K+136>>2]=L;break h}K=e,L=C(hg(a,j+40|0,g)),z[K+128>>2]=L;break h}if(z[e+128>>2]!=C(0)){break h}K=e,L=C(1/Lp(hg(a,j+40|0,g)*.6931471824645996)),z[K+128>>2]=L;break h}l=hg(a,j+40|0,g);Y:{if(D(l)<2147483648){g=~~l;break Y}g=-2147483648}if(g&7){v[e+120>>2]=1;break h}v[e+120>>2]=0;break h}i=e;l=hg(a,j+40|0,g);Z:{if(D(l)<2147483648){g=~~l;break Z}g=-2147483648}v[i+108>>2]=g;if(g-1>>>0<8){break h}t[h+24|0]=w[42004];g=w[42e3]|w[42001]<<8|(w[42002]<<16|w[42003]<<24);i=w[41996]|w[41997]<<8|(w[41998]<<16|w[41999]<<24);t[h+16|0]=i;t[h+17|0]=i>>>8;t[h+18|0]=i>>>16;t[h+19|0]=i>>>24;t[h+20|0]=g;t[h+21|0]=g>>>8;t[h+22|0]=g>>>16;t[h+23|0]=g>>>24;g=w[41992]|w[41993]<<8|(w[41994]<<16|w[41995]<<24);i=w[41988]|w[41989]<<8|(w[41990]<<16|w[41991]<<24);t[h+8|0]=i;t[h+9|0]=i>>>8;t[h+10|0]=i>>>16;t[h+11|0]=i>>>24;t[h+12|0]=g;t[h+13|0]=g>>>8;t[h+14|0]=g>>>16;t[h+15|0]=g>>>24;g=w[41984]|w[41985]<<8|(w[41986]<<16|w[41987]<<24);i=w[41980]|w[41981]<<8|(w[41982]<<16|w[41983]<<24);t[h|0]=i;t[h+1|0]=i>>>8;t[h+2|0]=i>>>16;t[h+3|0]=i>>>24;t[h+4|0]=g;t[h+5|0]=g>>>8;t[h+6|0]=g>>>16;t[h+7|0]=g>>>24;v[e+108>>2]=0;break h}l=hg(a,j+40|0,g);_:{if(D(l)<2147483648){g=~~l;break _}g=-2147483648}if((g|0)<=v[a+260>>2]){break j}v[a+260>>2]=g;break j}K=e,L=C(hg(a,j+40|0,g)),z[K+168>>2]=L;break h}K=e,L=C(hg(a,j+40|0,g)),z[K+172>>2]=L;break h}$:{aa:{ba:{ca:{l=hg(a,j+40|0,g);da:{if(D(l)<2147483648){g=~~l;break da}g=-2147483648}switch(g-1|0){case 4:break $;case 3:break aa;case 2:break ba;case 0:case 1:break ca;default:break h}}v[e+188>>2]=1065353216;break h}v[e+188>>2]=1053397798;break h}v[e+188>>2]=1025589893;break h}v[e+188>>2]=941957453;break h}ea:{fa:{ga:{ha:{l=hg(a,j+40|0,g);ia:{if(D(l)<2147483648){g=~~l;break ia}g=-2147483648}switch(g-1|0){case 4:break ea;case 3:break fa;case 2:break ga;case 0:case 1:break ha;default:break h}}v[e+176>>2]=1065353216;break h}v[e+176>>2]=1053397798;break h}v[e+176>>2]=1025589893;break h}v[e+176>>2]=941957453;break h}K=e,L=C(hg(a,j+40|0,g)),z[K+144>>2]=L;break h}l=hg(a,j+40|0,g);if(D(l)<2147483648){v[e+148>>2]=~~l;break h}v[e+148>>2]=-2147483648;break h}l=hg(a,j+40|0,g);if(D(l)<2147483648){v[e+152>>2]=~~l;break h}v[e+152>>2]=-2147483648;break h}l=hg(a,j+40|0,g);if(D(l)<2147483648){v[e+156>>2]=~~l;break h}v[e+156>>2]=-2147483648;break h}i=e;l=hg(a,j+40|0,g);ja:{if(D(l)<2147483648){g=~~l;break ja}g=-2147483648}v[i+160>>2]=g;if((g|0)>49){break h}v[e+160>>2]=B(g,200);break h}v[e+164>>2]=-2147483648;break h}K=e,L=C(hg(a,j+40|0,g)),z[K+180>>2]=L;break h}K=e,L=C(hg(a,j+40|0,g)),z[K+184>>2]=L;break h}l=hg(a,j+40|0,g);if(l<4294967296&l>=0){r=~~l>>>0;break h}r=0;break h}l=hg(a,j+40|0,g);if(l<4294967296&l>=0){G=~~l>>>0;break h}G=0;break h}if(w[g+7|0]&223){i=206;g=g+7|0;break k}if(w[g+8|0]&223){i=207;g=g+8|0;break k}if(!(w[g+9|0]&223)){break j}i=208;g=g+9|0}if(i>>>0>m>>>0){break j}Sb(E,g,199)}if((k|0)==40965){break i}if((k|0)!=34665){break h}}if(m>>>0<4){break h}k=v[j+40>>2];ka:{if(v[a+264>>2]){i=w[k+1|0]<<16|w[k|0]<<24|w[k+2|0]<<8;k=k+3|0;break ka}i=w[k+2|0]<<16|w[k+3|0]<<24|w[k+1|0]<<8}g=w[k|0]|i;if(g>>>0<9){break h}i=v[c+4>>2];if(i>>>0>>0){k=0;a=w[42874]|w[42875]<<8;t[h+24|0]=a;t[h+25|0]=a>>>8;a=w[42870]|w[42871]<<8|(w[42872]<<16|w[42873]<<24);b=w[42866]|w[42867]<<8|(w[42868]<<16|w[42869]<<24);t[h+16|0]=b;t[h+17|0]=b>>>8;t[h+18|0]=b>>>16;t[h+19|0]=b>>>24;t[h+20|0]=a;t[h+21|0]=a>>>8;t[h+22|0]=a>>>16;t[h+23|0]=a>>>24;a=w[42862]|w[42863]<<8|(w[42864]<<16|w[42865]<<24);b=w[42858]|w[42859]<<8|(w[42860]<<16|w[42861]<<24);t[h+8|0]=b;t[h+9|0]=b>>>8;t[h+10|0]=b>>>16;t[h+11|0]=b>>>24;t[h+12|0]=a;t[h+13|0]=a>>>8;t[h+14|0]=a>>>16;t[h+15|0]=a>>>24;a=w[42854]|w[42855]<<8|(w[42856]<<16|w[42857]<<24);b=w[42850]|w[42851]<<8|(w[42852]<<16|w[42853]<<24);t[h|0]=b;t[h+1|0]=b>>>8;t[h+2|0]=b>>>16;t[h+3|0]=b>>>24;t[h+4|0]=a;t[h+5|0]=a>>>8;t[h+6|0]=a>>>16;t[h+7|0]=a>>>24;break a}k=v[c>>2];v[j+24>>2]=k;v[j+32>>2]=g+k;v[j+28>>2]=i;v[j+36>>2]=i-g;Pz(a,j+32|0,j+24|0,d,e,f,A)}i=v[b+4>>2];p=p+1|0;if((s|0)==(p|0)){g=G}else{k=v[b>>2];continue}break}p=g}la:{if(i>>>0>>0){break la}b=v[b>>2]+(u|2)|0;g=v[a+264>>2];b=w[b+!g|0]<<8|w[b+((g|0)!=0)|0];if(!b){break la}g=v[c+4>>2];if(g>>>0>>0){k=0;a=w[42874]|w[42875]<<8;t[h+24|0]=a;t[h+25|0]=a>>>8;a=w[42870]|w[42871]<<8|(w[42872]<<16|w[42873]<<24);b=w[42866]|w[42867]<<8|(w[42868]<<16|w[42869]<<24);t[h+16|0]=b;t[h+17|0]=b>>>8;t[h+18|0]=b>>>16;t[h+19|0]=b>>>24;t[h+20|0]=a;t[h+21|0]=a>>>8;t[h+22|0]=a>>>16;t[h+23|0]=a>>>24;a=w[42862]|w[42863]<<8|(w[42864]<<16|w[42865]<<24);b=w[42858]|w[42859]<<8|(w[42860]<<16|w[42861]<<24);t[h+8|0]=b;t[h+9|0]=b>>>8;t[h+10|0]=b>>>16;t[h+11|0]=b>>>24;t[h+12|0]=a;t[h+13|0]=a>>>8;t[h+14|0]=a>>>16;t[h+15|0]=a>>>24;a=w[42854]|w[42855]<<8|(w[42856]<<16|w[42857]<<24);b=w[42850]|w[42851]<<8|(w[42852]<<16|w[42853]<<24);t[h|0]=b;t[h+1|0]=b>>>8;t[h+2|0]=b>>>16;t[h+3|0]=b>>>24;t[h+4|0]=a;t[h+5|0]=a>>>8;t[h+6|0]=a>>>16;t[h+7|0]=a>>>24;break a}i=v[c>>2];v[j+8>>2]=i;v[j+16>>2]=b+i;v[j+12>>2]=g;v[j+20>>2]=g-b;Pz(a,j+16|0,j+8|0,d,e,f,A)}k=1;if(!p|!r|p+r>>>0>d>>>0){break a}a=v[c>>2];v[e+456>>2]=p;v[e+452>>2]=a+r}Ma=j+48|0;return k}function PPa(a){a=a|0;var 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,u=0,w=0,x=0,y=0;u=a;a:{b:{c:{d:{e:{f:{g:{b=v[a+20>>2];switch(b-202|0){case 2:break c;case 1:break f;case 0:break g;default:break e}}l=Qa[v[v[a+4>>2]>>2]](a,1,28)|0;v[a+440>>2]=l;v[l+8>>2]=0;v[l+4>>2]=171;v[l>>2]=172;H2(a);e=Qa[v[v[a+4>>2]>>2]](a,1,1408)|0;b=e+256|0;v[a+332>>2]=b;e=eb(e,0,256);while(1){t[b+c|0]=c;d=c|1;t[d+b|0]=d;d=c|2;t[d+b|0]=d;d=c|3;t[d+b|0]=d;d=c|4;t[d+b|0]=d;d=c|5;t[d+b|0]=d;d=c|6;t[d+b|0]=d;d=c|7;t[d+b|0]=d;c=c+8|0;if((c|0)!=256){continue}break}eb(e+512|0,255,384);eb(e+896|0,0,384);cb(e+1280|0,v[a+332>>2],128);v[l+12>>2]=0;b=G2(a);v[l+20>>2]=0;v[l+24>>2]=0;v[l+16>>2]=b;h:{if(!v[a+84>>2]){v[a+108>>2]=0;v[a+100>>2]=0;v[a+104>>2]=0;break h}if(!v[a+64>>2]){v[a+108>>2]=0;v[a+100>>2]=0;v[a+104>>2]=0}if(v[a+68>>2]){b=v[a>>2];v[b+20>>2]=48;Qa[v[b>>2]](a)}i:{if(v[a+120>>2]!=3){v[a+136>>2]=0;v[a+108>>2]=0;v[a+100>>2]=1;v[a+104>>2]=0;break i}if(v[a+136>>2]){v[a+104>>2]=1;break i}if(v[a+92>>2]){v[a+108>>2]=1;break i}v[a+100>>2]=1}if(v[a+100>>2]){b=Qa[v[v[a+4>>2]>>2]](a,1,88)|0;v[a+480>>2]=b;v[b+68>>2]=0;v[b+12>>2]=192;v[b+8>>2]=193;v[b>>2]=194;v[b+52>>2]=0;if(v[a+120>>2]>=5){b=v[a>>2];v[b+20>>2]=57;v[b+24>>2]=4;Qa[v[v[a>>2]>>2]](a)}d=v[a+96>>2];if((d|0)>=257){b=v[a>>2];v[b+20>>2]=59;v[b+24>>2]=256;Qa[v[v[a>>2]>>2]](a);d=v[a+96>>2]}i=v[a+120>>2];j:{if((i|0)>=2){b=i-1|0;e=b&-8;g=b&7;j=i-2>>>0<7;f=1;while(1){b=f;f=b+1|0;h=f;c=e;if(!j){while(1){h=B(B(B(B(B(B(B(B(f,h),f),f),f),f),f),f),f);c=c-8|0;if(c){continue}break}}c=g;if(c){while(1){h=B(f,h);c=c-1|0;if(c){continue}break}}if((d|0)>=(h|0)){continue}break}break j}b=(d|0)>1?d:1;h=b+1|0}j=v[a+480>>2];e=1;if(b>>>0<=1){c=v[a>>2];v[c+24>>2]=h;v[c+20>>2]=58;Qa[v[v[a>>2]>>2]](a)}k:{if((i|0)<1){break k}g=i&3;l:{if(i-1>>>0<3){f=0;break l}c=i&-4;f=0;h=j+32|0;while(1){k=f<<2;v[k+h>>2]=b;v[h+(k|4)>>2]=b;v[h+(k|8)>>2]=b;v[h+(k|12)>>2]=b;f=f+4|0;e=B(B(B(B(b,e),b),b),b);c=c-4|0;if(c){continue}break}}if(g){while(1){v[(j+(f<<2)|0)+32>>2]=b;f=f+1|0;e=B(b,e);g=g-1|0;if(g){continue}break}}i=i-1|0;m:{if(v[a+44>>2]!=2){g=j+32|0;b=v[g>>2];h=b+1|0;c=B(h,(e|0)/(b|0)|0);if((d|0)<(c|0)){break k}f=0;b=g;break m}g=j+36|0;b=v[g>>2];h=b+1|0;c=B(h,(e|0)/(b|0)|0);if((d|0)<(c|0)){break k}f=0;b=g;while(1){e=c;v[b>>2]=h;if((f|0)!=(i|0)){f=f+1|0;b=(j+(v[(f<<2)+71600>>2]<<2)|0)+32|0;c=v[b>>2];h=c+1|0;c=B(h,(e|0)/(c|0)|0);if((d|0)>=(c|0)){continue}}f=0;b=g;c=v[b>>2];h=c+1|0;c=B(h,(e|0)/(c|0)|0);if((d|0)>=(c|0)){continue}break}break k}while(1){e=c;v[b>>2]=h;if((f|0)!=(i|0)){f=f+1|0;b=(j+(f<<2)|0)+32|0;c=v[b>>2];h=c+1|0;c=B(h,(e|0)/(c|0)|0);if((d|0)>=(c|0)){continue}}f=0;b=g;c=v[b>>2];h=c+1|0;c=B(h,(e|0)/(c|0)|0);if((d|0)>=(c|0)){continue}break}}c=v[a+120>>2];b=v[a>>2];v[b+24>>2]=e;n:{if((c|0)==3){v[b+28>>2]=v[j+32>>2];v[b+32>>2]=v[j+36>>2];v[b+36>>2]=v[j+40>>2];h=96;c=b;break n}h=97;c=v[a>>2]}v[b+20>>2]=h;Qa[v[c+4>>2]](a,1);q=Qa[v[v[a+4>>2]+8>>2]](a,1,e,v[a+120>>2])|0;f=v[a+120>>2];if((f|0)>=1){b=e;while(1){c=b;d=r<<2;m=v[(d+j|0)+32>>2];b=(b|0)/(m|0)|0;s=m-1|0;w=(s|0)/2|0;if(!((m|0)<1|(b|0)<1)){n=d+q|0;g=b&-4;i=b&3;o=b-1|0;k=0;while(1){p=(B(k,255)+w|0)/(s|0)|0;h=B(b,k);if((h|0)<(e|0)){while(1){f=0;d=g;if(o>>>0>=3){while(1){t[v[n>>2]+(f+h|0)|0]=p;t[v[n>>2]+((f|1)+h|0)|0]=p;t[v[n>>2]+((f|2)+h|0)|0]=p;t[v[n>>2]+((f|3)+h|0)|0]=p;f=f+4|0;d=d-4|0;if(d){continue}break}}d=i;if(d){while(1){t[v[n>>2]+(f+h|0)|0]=p;f=f+1|0;d=d-1|0;if(d){continue}break}}h=c+h|0;if((h|0)<(e|0)){continue}break}}k=k+1|0;if((m|0)!=(k|0)){continue}break}f=v[a+120>>2]}r=r+1|0;if((r|0)<(f|0)){continue}break}}v[j+20>>2]=e;v[j+16>>2]=q;Z0(a);if(!(v[a+88>>2]!=2|v[a+120>>2]<1)){b=(v[a+112>>2]<<1)+4|0;c=v[a+480>>2];f=0;while(1){x=c+(f<<2)|0,y=Qa[v[v[a+4>>2]+4>>2]](a,1,b)|0,v[x+68>>2]=y;f=f+1|0;if((f|0)>2]){continue}break}}v[l+20>>2]=v[a+480>>2]}if(!(v[a+104>>2]?1:v[a+108>>2])){break h}e=0;b=Qa[v[v[a+4>>2]>>2]](a,1,44)|0;v[a+480>>2]=b;v[b+40>>2]=0;v[b+32>>2]=0;v[b+12>>2]=200;v[b>>2]=201;if(v[a+120>>2]!=3){c=v[a>>2];v[c+20>>2]=48;Qa[v[c>>2]](a)}x=b,y=Qa[v[v[a+4>>2]>>2]](a,1,128)|0,v[x+24>>2]=y;while(1){c=Qa[v[v[a+4>>2]+4>>2]](a,1,4096)|0;d=e<<2;v[d+v[b+24>>2]>>2]=c;c=Qa[v[v[a+4>>2]+4>>2]](a,1,4096)|0;v[v[b+24>>2]+(d|4)>>2]=c;e=e+2|0;if((e|0)!=32){continue}break}v[b+28>>2]=1;o:{if(v[a+108>>2]){e=8;c=58;d=v[a+96>>2];p:{if((d|0)>=8){if((d|0)<257){break p}e=256;c=59}g=v[a>>2];v[g+24>>2]=e;v[g+20>>2]=c;Qa[v[v[a>>2]>>2]](a)}c=Qa[v[v[a+4>>2]+8>>2]](a,1,d,3)|0;v[b+20>>2]=d;v[b+16>>2]=c;break o}v[b+16>>2]=0}if(v[a+88>>2]){v[a+88>>2]=2;x=b,y=Qa[v[v[a+4>>2]+4>>2]](a,1,B(v[a+112>>2],6)+12|0)|0,v[x+32>>2]=y;A0(a)}v[l+24>>2]=v[a+480>>2]}if(!v[a+68>>2]){q:{if(v[l+16>>2]){f=Qa[v[v[a+4>>2]>>2]](a,1,48)|0;v[a+472>>2]=f;v[f+8>>2]=0;v[f>>2]=207;b=B(v[a+120>>2],v[a+112>>2]);v[f+40>>2]=b;r:{if(v[a+316>>2]==2){v[f+12>>2]=208;v[f+4>>2]=209;x=f,y=Qa[v[v[a+4>>2]+4>>2]](a,1,b)|0,v[x+32>>2]=y;f=v[a+472>>2];break r}v[f+32>>2]=0;v[f+12>>2]=210;v[f+4>>2]=211}x=f,y=Qa[v[v[a+4>>2]>>2]](a,1,1024)|0,v[x+16>>2]=y;x=f,y=Qa[v[v[a+4>>2]>>2]](a,1,1024)|0,v[x+20>>2]=y;x=f,y=Qa[v[v[a+4>>2]>>2]](a,1,1024)|0,v[x+24>>2]=y;c=Qa[v[v[a+4>>2]>>2]](a,1,1024)|0;v[f+28>>2]=c;e=v[f+24>>2];d=v[f+20>>2];i=v[f+16>>2];f=0;g=-128;while(1){b=f<<2;v[b+i>>2]=B(g,91881)+32768>>16;v[b+d>>2]=B(g,116130)+32768>>16;v[b+e>>2]=B(g,-46802);v[b+c>>2]=B(g,-22554)+32768;g=g+1|0;f=f+1|0;if((f|0)!=256){continue}break}break q}b=Qa[v[v[a+4>>2]>>2]](a,1,24)|0;v[a+476>>2]=b;v[b>>2]=212;s:{t:{u:{switch(v[a+40>>2]-1|0){case 0:if(v[a+36>>2]!=1){break t}break s;case 1:case 2:if(v[a+36>>2]!=3){break t}break s;case 3:case 4:if(v[a+36>>2]!=4){break t}break s;default:break u}}if(v[a+36>>2]>0){break s}}c=v[a>>2];v[c+20>>2]=11;Qa[v[c>>2]](a)}v:{w:{x:{y:{z:{c=v[a+44>>2];switch(c-1|0){case 3:break x;case 1:break y;case 0:break z;default:break w}}v[a+120>>2]=1;A:{switch(v[a+40>>2]-1|0){case 0:case 2:v[b+4>>2]=213;c=v[a+36>>2];if((c|0)<2){break v}e=c-1|0;f=e&7;d=v[a+216>>2];b=1;if(c-2>>>0>=7){c=e&-8;while(1){e=d+B(b,88)|0;v[e+52>>2]=0;v[e+140>>2]=0;v[e+228>>2]=0;v[e+316>>2]=0;v[e+404>>2]=0;v[e+492>>2]=0;v[e+580>>2]=0;v[e+668>>2]=0;b=b+8|0;c=c-8|0;if(c){continue}break}}if(!f){break v}while(1){v[(d+B(b,88)|0)+52>>2]=0;b=b+1|0;f=f-1|0;if(f){continue}break};break v;default:break A}}b=v[a>>2];v[b+20>>2]=28;Qa[v[b>>2]](a);break v}v[a+120>>2]=3;B:{switch(v[a+40>>2]-1|0){case 2:v[b+4>>2]=214;b=v[a+476>>2];x=b,y=Qa[v[v[a+4>>2]>>2]](a,1,1024)|0,v[x+8>>2]=y;x=b,y=Qa[v[v[a+4>>2]>>2]](a,1,1024)|0,v[x+12>>2]=y;x=b,y=Qa[v[v[a+4>>2]>>2]](a,1,1024)|0,v[x+16>>2]=y;e=Qa[v[v[a+4>>2]>>2]](a,1,1024)|0;v[b+20>>2]=e;d=v[b+16>>2];g=v[b+12>>2];i=v[b+8>>2];f=0;b=-128;while(1){c=f<<2;v[c+i>>2]=B(b,91881)+32768>>16;v[c+g>>2]=B(b,116130)+32768>>16;v[c+d>>2]=B(b,-46802);v[c+e>>2]=B(b,-22554)+32768;b=b+1|0;f=f+1|0;if((f|0)!=256){continue}break};break v;case 0:v[b+4>>2]=215;break v;case 1:v[b+4>>2]=216;break v;default:break B}}b=v[a>>2];v[b+20>>2]=28;Qa[v[b>>2]](a);break v}v[a+120>>2]=4;C:{switch(v[a+40>>2]-4|0){case 1:v[b+4>>2]=217;b=v[a+476>>2];x=b,y=Qa[v[v[a+4>>2]>>2]](a,1,1024)|0,v[x+8>>2]=y;x=b,y=Qa[v[v[a+4>>2]>>2]](a,1,1024)|0,v[x+12>>2]=y;x=b,y=Qa[v[v[a+4>>2]>>2]](a,1,1024)|0,v[x+16>>2]=y;e=Qa[v[v[a+4>>2]>>2]](a,1,1024)|0;v[b+20>>2]=e;d=v[b+16>>2];g=v[b+12>>2];i=v[b+8>>2];f=0;b=-128;while(1){c=f<<2;v[c+i>>2]=B(b,91881)+32768>>16;v[c+g>>2]=B(b,116130)+32768>>16;v[c+d>>2]=B(b,-46802);v[c+e>>2]=B(b,-22554)+32768;b=b+1|0;f=f+1|0;if((f|0)!=256){continue}break};break v;case 0:v[b+4>>2]=216;break v;default:break C}}b=v[a>>2];v[b+20>>2]=28;Qa[v[b>>2]](a);break v}if((c|0)==v[a+40>>2]){v[a+120>>2]=v[a+36>>2];v[b+4>>2]=216;break v}b=v[a>>2];v[b+20>>2]=28;Qa[v[b>>2]](a)}v[a+124>>2]=v[a+84>>2]?1:v[a+120>>2];c=0;b=Qa[v[v[a+4>>2]>>2]](a,1,160)|0;v[a+472>>2]=b;v[b+8>>2]=0;v[b+4>>2]=218;v[b>>2]=219;if(v[a+304>>2]){e=v[a>>2];v[e+20>>2]=26;Qa[v[e>>2]](a)}if(v[a+36>>2]>=1){h=b+12|0;j=b+150|0;n=b+140|0;e=b+52|0;p=b+100|0;k=v[a+216>>2];while(1){d=v[a+316>>2];f=v[a+312>>2];i=v[a+320>>2];m=v[k+36>>2];q=v[k+8>>2];b=c<<2;g=(B(v[k+40>>2],v[k+12>>2])|0)/v[a+324>>2]|0;v[b+p>>2]=g;i=(B(m,q)|0)/(i|0)|0;D:{if(!v[k+52>>2]){v[b+e>>2]=220;break D}if(!((f|0)!=(i|0)|(d|0)!=(g|0))){v[b+e>>2]=221;break D}m=(f|0)!=i<<1;E:{if(!(m|(d|0)!=(g|0))){v[b+e>>2]=222;break E}if(!((d|0)!=g<<1|m)){v[b+e>>2]=223;break E}F:{o=f;f=(f|0)/(i|0)|0;if(o-B(f,i)|0){break F}o=d;d=(d|0)/(g|0)|0;if(o-B(d,g)|0){break F}v[b+e>>2]=224;t[c+n|0]=f;t[c+j|0]=d;break E}d=v[a>>2];v[d+20>>2]=39;Qa[v[d>>2]](a)}g=b+h|0;b=v[a+312>>2];d=(b+v[a+112>>2]|0)-1|0;x=g,y=Qa[v[v[a+4>>2]+8>>2]](a,1,d-((d|0)%(b|0)|0)|0,v[a+316>>2])|0,v[x>>2]=y}k=k+88|0;c=c+1|0;if((c|0)>2]){continue}break}}}d=v[a+108>>2];b=Qa[v[v[a+4>>2]>>2]](a,1,28)|0;v[a+452>>2]=b;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=225;if(v[a+84>>2]){G:{c=v[a+316>>2];v[b+16>>2]=c;e=v[a+4>>2];if(d){d=(c+v[a+116>>2]|0)-1|0;x=b,y=Qa[v[e+16>>2]](a,1,0,B(v[a+120>>2],v[a+112>>2]),d-((d|0)%(c|0)|0)|0,v[b+16>>2])|0,v[x+8>>2]=y;break G}x=b,y=Qa[v[e+8>>2]](a,1,B(v[a+120>>2],v[a+112>>2]),c)|0,v[x+12>>2]=y}}}d=0;b=Qa[v[v[a+4>>2]>>2]](a,1,84)|0;v[a+468>>2]=b;v[b>>2]=229;if(v[a+36>>2]>=1){b=b+44|0;c=v[a+216>>2];while(1){e=Qa[v[v[a+4>>2]>>2]](a,1,256)|0;v[c+84>>2]=e;eb(e,0,256);v[b+(d<<2)>>2]=-1;c=c+88|0;d=d+1|0;if((d|0)>2]){continue}break}}H:{if(v[a+228>>2]){c=0;b=Qa[v[v[a+4>>2]>>2]](a,1,188)|0;v[a+464>>2]=b;v[b>>2]=261;eb(b+56|0,0,128);t[b+184|0]=113;I:{if(!v[a+224>>2]){break I}b=Qa[v[v[a+4>>2]>>2]](a,1,v[a+36>>2]<<8)|0;v[a+160>>2]=b;if(v[a+36>>2]<1){break I}while(1){b=eb(b,255,256)+256|0;c=c+1|0;if((c|0)>2]){continue}break}}break H}c=0;e=Qa[v[v[a+4>>2]>>2]](a,1,216)|0;v[a+464>>2]=e;v[e>>2]=267;J:{if(!v[a+224>>2]){v[e+64>>2]=0;v[e+68>>2]=0;v[e+88>>2]=0;v[e+92>>2]=0;v[e+80>>2]=0;v[e+84>>2]=0;v[e+72>>2]=0;v[e+76>>2]=0;break J}b=Qa[v[v[a+4>>2]>>2]](a,1,v[a+36>>2]<<8)|0;v[a+160>>2]=b;if(v[a+36>>2]>=1){while(1){b=eb(b,255,256)+256|0;c=c+1|0;if((c|0)>2]){continue}break}}v[e+44>>2]=0;v[e+48>>2]=0;v[e+52>>2]=0;v[e+56>>2]=0}}c=v[v[a+456>>2]+16>>2]?1:v[a+64>>2]!=0;d=0;b=Qa[v[v[a+4>>2]>>2]](a,1,116)|0;v[a+448>>2]=b;v[b+112>>2]=0;v[b+8>>2]=274;v[b>>2]=275;K:{if(c){e=b+72|0;if(v[a+36>>2]>=1){g=v[a+216>>2];while(1){c=v[g+8>>2];f=(c+v[g+28>>2]|0)-1|0;o=f-((f|0)%(c|0)|0)|0;c=v[g+12>>2];f=(c+v[g+32>>2]|0)-1|0;x=e+(d<<2)|0,y=Qa[v[v[a+4>>2]+20>>2]](a,1,1,o,f-((f|0)%(c|0)|0)|0,v[a+224>>2]?B(c,3):c)|0,v[x>>2]=y;g=g+88|0;d=d+1|0;if((d|0)>2]){continue}break}}v[b+16>>2]=e;v[b+12>>2]=276;v[b+4>>2]=277;break K}c=Qa[v[v[a+4>>2]+4>>2]](a,1,1280)|0;v[b+32>>2]=c;v[b+16>>2]=0;v[b+12>>2]=278;v[b+4>>2]=279;v[b+68>>2]=c+1152;v[b+64>>2]=c+1024;v[b+60>>2]=c+896;v[b+56>>2]=c+768;v[b+52>>2]=c+640;v[b+48>>2]=c+512;v[b+44>>2]=c+384;v[b+40>>2]=c+256;v[b+36>>2]=c+128}if(!v[a+68>>2]){b=0;f=Qa[v[v[a+4>>2]>>2]](a,1,80)|0;v[a+444>>2]=f;v[f>>2]=177;c=v[a+324>>2];L:{if(v[v[a+472>>2]+8>>2]){if((c|0)<=1){c=v[a>>2];v[c+20>>2]=48;Qa[v[c>>2]](a);c=v[a+324>>2]}g=v[a+444>>2];d=Qa[v[v[a+4>>2]>>2]](a,1,v[a+36>>2]<<3)|0;v[g+56>>2]=d;e=v[a+36>>2];v[g+60>>2]=d+(e<<2);if((e|0)>=1){c=c+4|0;d=v[a+216>>2];while(1){e=(B(v[d+40>>2],v[d+12>>2])|0)/v[a+324>>2]|0;i=B(e,c);h=Qa[v[v[a+4>>2]>>2]](a,1,i<<3)|0;j=b<<2;e=h+(e<<2)|0;v[j+v[g+56>>2]>>2]=e;v[j+v[g+60>>2]>>2]=e+(i<<2);d=d+88|0;b=b+1|0;e=v[a+36>>2];if((b|0)<(e|0)){continue}break}}c=v[a+324>>2];g=c+2|0;break L}e=v[a+36>>2];g=c}M:{if((e|0)<1){break M}e=f+8|0;d=v[a+216>>2];b=0;while(1){x=e+(b<<2)|0,y=Qa[v[v[a+4>>2]+8>>2]](a,1,B(v[d+36>>2],v[d+28>>2]),B(g,(B(v[d+40>>2],v[d+12>>2])|0)/(c|0)|0))|0,v[x>>2]=y;b=b+1|0;if((b|0)>=v[a+36>>2]){break M}d=d+88|0;c=v[a+324>>2];continue}}}Qa[v[v[a+4>>2]+24>>2]](a);Qa[v[v[a+456>>2]+8>>2]](a);b=v[a+8>>2];if(!(!v[v[a+456>>2]+16>>2]|(v[a+64>>2]|!b))){e=v[a+224>>2];c=v[a+36>>2];v[b+4>>2]=0;d=v[a+328>>2];v[b+12>>2]=0;v[b+8>>2]=B(d,e?B(c,3)+2|0:c);v[b+16>>2]=v[a+108>>2]?3:2;v[l+12>>2]=v[l+12>>2]+1}b=207;if(v[a+64>>2]){break b}v[a+20>>2]=203}N:{if(!v[v[a+456>>2]+16>>2]){break N}b=v[a+8>>2];while(1){if(b){Qa[v[b>>2]](a)}O:{c=Qa[v[v[a+456>>2]>>2]](a)|0;switch(c|0){case 0:break a;case 2:break N;default:break O}}b=v[a+8>>2];if(!b|(c&-3)!=1){continue}c=v[b+4>>2]+1|0;v[b+4>>2]=c;g=c;c=v[b+8>>2];if((g|0)<(c|0)){continue}v[b+8>>2]=c+v[a+328>>2];continue}}v[a+152>>2]=v[a+144>>2];break d}c=v[a>>2];v[c+24>>2]=b;v[c+20>>2]=21;Qa[v[v[a>>2]>>2]](a)}if(v[a+20>>2]==204){break c}Qa[v[v[a+440>>2]>>2]](a);v[a+20>>2]=204;v[a+140>>2]=0}if(v[v[a+440>>2]+8>>2]){d=a+140|0;b=v[d>>2];while(1){e=v[a+116>>2];if(e>>>0>b>>>0){c=v[a+8>>2];if(c){v[c+8>>2]=e;v[c+4>>2]=b;Qa[v[c>>2]](a);b=v[a+140>>2]}c=0;Qa[v[v[a+444>>2]+4>>2]](a,0,d,0);e=b;b=v[a+140>>2];if((e|0)!=(b|0)){continue}break a}Qa[v[v[a+440>>2]+4>>2]](a);Qa[v[v[a+440>>2]>>2]](a);b=0;v[a+140>>2]=0;if(v[v[a+440>>2]+8>>2]){continue}break}}b=v[a+68>>2]?206:205}v[u+20>>2]=b;c=1}return c|0}function nV(a,b,c){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,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0,y=0,z=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;e=Ma-1952|0;Ma=e;v[e+16>>2]=13;v[e>>2]=13;g=219174;a:{b:{if(v[ib(b,276657,e+16|0,0)>>2]!=1){break b}g=219233;r=v[e+24>>2];if(r-1>>>0>31){break b}f=e+16|0;bb(f);g=218887;if(v[ib(b,228634,f,0)>>2]!=1){break b}g=218945;z=v[e+24>>2];if(z-1>>>0>15){break b}f=e+16|0;bb(f);g=219079;if(v[ib(b,272889,f,0)>>2]!=1){break b}g=219132;E=v[e+24>>2];if(E-2>>>0>6){break b}f=e+16|0;bb(f);g=218701;if(v[ib(b,283789,f,0)>>2]!=6){break b}f=v[e+24>>2];if(v[f+12>>2]<6){break b}f=ub(f,0,e,0);F=A[f+8>>3];w=v[f+8>>2];G=v[f>>2];bb(e);f=ub(v[e+24>>2],1,e,0);C=A[f+8>>3];D=v[f+8>>2];H=v[f>>2];bb(e);I=ju(r);f=ub(v[e+24>>2],2,e,0);J=v[f>>2];x=A[f+8>>3];K=v[f+8>>2];bb(e);f=ub(v[e+24>>2],3,e,0);d=v[f>>2];s=A[f+8>>3];L=v[f+8>>2];bb(e);U=-1<>2];c:{if(v[h+12>>2]<6){break c}u=+(U|0);k=5;g=0;while(1){i=g<<3;f=ub(h,j+4|0,e,0);o=v[f>>2]==1?+v[f+8>>2]:A[f+8>>3];A[i+(e+1568|0)>>3]=o;bb(e);f=ub(v[e+24>>2],k,e,0);k=v[f>>2];m=A[f+8>>3];f=v[f+8>>2];bb(e);A[i+(e+1312|0)>>3]=(((k|0)==1?+(f|0):m)-o)/u;n=g+1|0;j=n<<1;k=j+5|0;h=v[e+24>>2];if((k|0)>=v[h+12>>2]){break c}f=g>>>0<31;g=n;if(f){continue}break}}f=e+16|0;bb(f);d:{if(v[ib(b,246828,f,0)>>2]==5){break d}if(v[e+16>>2]==6){f=v[e+24>>2];y=v[f+12>>2];if((y|0)<=32){if((y|0)<1){break d}g=0;ub(f,0,e,0);f=gg(e,1,1,0);v[e+1824>>2]=f;if(f){while(1){bb(e);g=g+1|0;if((y|0)==(g|0)){break d}ub(v[e+24>>2],g,e,0);f=gg(e,1,1,0);v[(e+1824|0)+(g<<2)>>2]=f;if(f){continue}break}}bb(e+16|0);bb(e);h=0;break a}h=0;fb(1,-1,218656,0);break a}h=0;y=1;f=gg(e+16|0,1,-1,0);v[e+1824>>2]=f;if(f){break d}bb(e+16|0);break a}o=(d|0)==1?+(L|0):s;s=(J|0)==1?+(K|0):x;m=I+-1;u=(o-s)/m;o=(G|0)==1?+(w|0):F;m=(((H|0)==1?+(D|0):C)-o)/m;bb(e+16|0);l=ab(12);v[l>>2]=c;Qa[v[v[c>>2]+20>>2]](c);v[l+4>>2]=0;L=0-E|0;G=-1<>2]=0;g=0;f=L;j=0;f:{g:{h:{i:{j:{if(J){break j}h=v[l>>2];c=E;while(1){g=Qa[v[v[h>>2]+28>>2]](h)|0;v[l+4>>2]=g;if((g|0)==-1){break h}if((c|0)<=7){f=8-c|0;j=j<>f;break j}j=j<<8|g;f=(c|0)==8;c=c-8|0;if(!f){continue}break}f=0;break i}v[l+8>>2]=f}w=j&3;if(p?0:w){break g}d=K?w?8:12:w?12:16;H=w?2:4;t=0;while(1){k:{if((f|0)>=(r|0)){i=f-r|0;j=G&g>>i;v[l+8>>2]=i;break k}j=0;l:{if((f|0)<1){i=f;c=r;break l}i=0;v[l+8>>2]=0;j=(-1<>2];while(1){g=Qa[v[v[h>>2]+28>>2]](h)|0;v[l+4>>2]=g;if((g|0)==-1){break h}if((c|0)<=7){i=8-c|0;j=j<>i;v[l+8>>2]=i;break k}j=j<<8|g;f=(c|0)==8;c=c-8|0;if(!f){continue}break}}m:{if((i|0)>=(r|0)){f=i-r|0;k=G&g>>f;v[l+8>>2]=f;break m}k=0;n:{if((i|0)<1){f=i;c=r;break n}f=0;v[l+8>>2]=0;k=(-1<>2];while(1){g=Qa[v[v[h>>2]+28>>2]](h)|0;v[l+4>>2]=g;if((g|0)==-1){break h}if((c|0)<=7){f=8-c|0;k=k<>f;v[l+8>>2]=f;break m}k=k<<8|g;i=(c|0)==8;c=c-8|0;if(!i){continue}break}}c=t<<3;A[c+(e+1056|0)>>3]=s+u*+(k>>>0);A[c+(e+1184|0)>>3]=o+m*+(j>>>0);t=t+1|0;if((d|0)!=(t|0)){continue}break}break f}v[l+8>>2]=0;break e}h=0;fb(1,-1,272654,0);a=v[l>>2];Qa[v[v[a>>2]+24>>2]](a);$a(l);if(!q){break a}tb(q);break a}t=0;d=1;o:{if(!n){break o}while(1){i=0;p:{while(1){q:{if((f|0)>=(z|0)){f=f-z|0;j=g>>f&U;v[l+8>>2]=f;break q}j=0;r:{if((f|0)<1){k=f;c=z;break r}k=0;v[l+8>>2]=0;j=(-1<=1){h=v[l>>2];while(1){g=Qa[v[v[h>>2]+28>>2]](h)|0;v[l+4>>2]=g;if((g|0)==-1){break p}if((c|0)<=7){f=8-c|0;j=j<>f;v[l+8>>2]=f;break q}j=j<<8|g;f=(c|0)!=8;c=c-8|0;if(f){continue}break}}f=k}c=i<<3;A[c+((e+32|0)+(t<<8)|0)>>3]=A[c+(e+1568|0)>>3]+A[c+(e+1312|0)>>3]*+(j>>>0);i=i+1|0;if((n|0)!=(i|0)){continue}break}t=t+1|0;d=H>>>0>t>>>0;if((t|0)!=(H|0)){continue}break o}break}v[l+8>>2]=0;if(d){break e}}if((p|0)==(D|0)){D=p?p<<1:16;q=yc(q,D,1280)}d=B(p,1280)+q|0;s:{if((a|0)==6){t:{switch(w-1|0){default:A[d>>3]=A[e+1184>>3];A[d+128>>3]=A[e+1056>>3];A[d+8>>3]=A[e+1192>>3];A[d+136>>3]=A[e+1064>>3];A[d+16>>3]=A[e+1200>>3];A[d+144>>3]=A[e+1072>>3];A[d+24>>3]=A[e+1208>>3];A[d+152>>3]=A[e+1080>>3];A[d+56>>3]=A[e+1216>>3];A[d+184>>3]=A[e+1088>>3];A[d+88>>3]=A[e+1224>>3];A[d+216>>3]=A[e+1096>>3];A[d+120>>3]=A[e+1232>>3];A[d+248>>3]=A[e+1104>>3];A[d+112>>3]=A[e+1240>>3];A[d+240>>3]=A[e+1112>>3];A[d+104>>3]=A[e+1248>>3];A[d+232>>3]=A[e+1120>>3];A[d+96>>3]=A[e+1256>>3];A[d+224>>3]=A[e+1128>>3];A[d+64>>3]=A[e+1264>>3];A[d+192>>3]=A[e+1136>>3];A[d+32>>3]=A[e+1272>>3];A[d+160>>3]=A[e+1144>>3];j=0;if(!n){break s}while(1){c=j<<3;f=c+d|0;c=c+(e+32|0)|0;A[f+256>>3]=A[c>>3];A[f+512>>3]=A[c+256>>3];A[f+1024>>3]=A[c+512>>3];A[f+768>>3]=A[c+768>>3];j=j+1|0;if((n|0)!=(j|0)){continue}break};break s;case 0:A[d>>3]=A[d-1256>>3];A[d+128>>3]=A[d-1128>>3];A[d+8>>3]=A[d-1224>>3];A[d+136>>3]=A[d-1096>>3];A[d+16>>3]=A[d-1192>>3];A[d+144>>3]=A[d-1064>>3];A[d+24>>3]=A[d-1160>>3];A[d+152>>3]=A[d-1032>>3];A[d+56>>3]=A[e+1184>>3];A[d+184>>3]=A[e+1056>>3];A[d+88>>3]=A[e+1192>>3];A[d+216>>3]=A[e+1064>>3];A[d+120>>3]=A[e+1200>>3];A[d+248>>3]=A[e+1072>>3];A[d+112>>3]=A[e+1208>>3];A[d+240>>3]=A[e+1080>>3];A[d+104>>3]=A[e+1216>>3];A[d+232>>3]=A[e+1088>>3];A[d+96>>3]=A[e+1224>>3];A[d+224>>3]=A[e+1096>>3];A[d+64>>3]=A[e+1232>>3];A[d+192>>3]=A[e+1104>>3];A[d+32>>3]=A[e+1240>>3];A[d+160>>3]=A[e+1112>>3];if(!n){break s}k=p-1|0;c=0;while(1){i=c<<3;g=i+d|0;f=i+(B(k,1280)+q|0)|0;A[g+256>>3]=A[f+512>>3];A[g+512>>3]=A[f+1024>>3];f=i+(e+32|0)|0;A[g+1024>>3]=A[f>>3];A[g+768>>3]=A[f+256>>3];c=c+1|0;if((n|0)!=(c|0)){continue}break};break s;case 1:A[d>>3]=A[d-1160>>3];A[d+128>>3]=A[d-1032>>3];A[d+8>>3]=A[d-1168>>3];A[d+136>>3]=A[d-1040>>3];A[d+16>>3]=A[d-1176>>3];A[d+144>>3]=A[d-1048>>3];A[d+24>>3]=A[d-1184>>3];A[d+152>>3]=A[d-1056>>3];A[d+56>>3]=A[e+1184>>3];A[d+184>>3]=A[e+1056>>3];A[d+88>>3]=A[e+1192>>3];A[d+216>>3]=A[e+1064>>3];A[d+120>>3]=A[e+1200>>3];A[d+248>>3]=A[e+1072>>3];A[d+112>>3]=A[e+1208>>3];A[d+240>>3]=A[e+1080>>3];A[d+104>>3]=A[e+1216>>3];A[d+232>>3]=A[e+1088>>3];A[d+96>>3]=A[e+1224>>3];A[d+224>>3]=A[e+1096>>3];A[d+64>>3]=A[e+1232>>3];A[d+192>>3]=A[e+1104>>3];A[d+32>>3]=A[e+1240>>3];A[d+160>>3]=A[e+1112>>3];if(!n){break s}k=p-1|0;c=0;while(1){i=c<<3;g=i+d|0;f=i+(B(k,1280)+q|0)|0;A[g+256>>3]=A[f+1024>>3];A[g+512>>3]=A[f+768>>3];f=i+(e+32|0)|0;A[g+1024>>3]=A[f>>3];A[g+768>>3]=A[f+256>>3];c=c+1|0;if((n|0)!=(c|0)){continue}break};break s;case 2:break t}}c=d-1280|0;A[d>>3]=A[c+96>>3];A[d+8>>3]=A[c+64>>3];A[d+128>>3]=A[c+224>>3];A[d+136>>3]=A[c+192>>3];A[d+16>>3]=A[c+32>>3];A[d+144>>3]=A[c+160>>3];A[d+24>>3]=A[c>>3];A[d+152>>3]=A[c+128>>3];A[d+56>>3]=A[e+1184>>3];A[d+184>>3]=A[e+1056>>3];A[d+88>>3]=A[e+1192>>3];A[d+216>>3]=A[e+1064>>3];A[d+120>>3]=A[e+1200>>3];A[d+248>>3]=A[e+1072>>3];A[d+112>>3]=A[e+1208>>3];A[d+240>>3]=A[e+1080>>3];A[d+104>>3]=A[e+1216>>3];A[d+232>>3]=A[e+1088>>3];A[d+96>>3]=A[e+1224>>3];A[d+224>>3]=A[e+1096>>3];A[d+64>>3]=A[e+1232>>3];A[d+192>>3]=A[e+1104>>3];A[d+32>>3]=A[e+1240>>3];A[d+160>>3]=A[e+1112>>3];if(!n){break s}k=p-1|0;c=0;while(1){i=c<<3;g=i+d|0;f=i+(B(k,1280)+q|0)|0;A[g+256>>3]=A[f+768>>3];A[g+512>>3]=A[f+256>>3];f=i+(e+32|0)|0;A[g+1024>>3]=A[f>>3];A[g+768>>3]=A[f+256>>3];c=c+1|0;if((n|0)!=(c|0)){continue}break}break s}u:{switch(w-1|0){default:A[d>>3]=A[e+1184>>3];A[d+128>>3]=A[e+1056>>3];A[d+8>>3]=A[e+1192>>3];A[d+136>>3]=A[e+1064>>3];A[d+16>>3]=A[e+1200>>3];A[d+144>>3]=A[e+1072>>3];A[d+24>>3]=A[e+1208>>3];A[d+152>>3]=A[e+1080>>3];A[d+56>>3]=A[e+1216>>3];A[d+184>>3]=A[e+1088>>3];A[d+88>>3]=A[e+1224>>3];A[d+216>>3]=A[e+1096>>3];A[d+120>>3]=A[e+1232>>3];A[d+248>>3]=A[e+1104>>3];A[d+112>>3]=A[e+1240>>3];A[d+240>>3]=A[e+1112>>3];A[d+104>>3]=A[e+1248>>3];A[d+232>>3]=A[e+1120>>3];A[d+96>>3]=A[e+1256>>3];A[d+224>>3]=A[e+1128>>3];A[d+64>>3]=A[e+1264>>3];A[d+192>>3]=A[e+1136>>3];A[d+32>>3]=A[e+1272>>3];A[d+160>>3]=A[e+1144>>3];A[d+40>>3]=A[e+1280>>3];A[d+168>>3]=A[e+1152>>3];A[d+48>>3]=A[e+1288>>3];A[d+176>>3]=A[e+1160>>3];A[d+80>>3]=A[e+1296>>3];A[d+208>>3]=A[e+1168>>3];A[d+72>>3]=A[e+1304>>3];A[d+200>>3]=A[e+1176>>3];j=0;if(!n){break s}while(1){c=j<<3;f=c+d|0;c=c+(e+32|0)|0;A[f+256>>3]=A[c>>3];A[f+512>>3]=A[c+256>>3];A[f+1024>>3]=A[c+512>>3];A[f+768>>3]=A[c+768>>3];j=j+1|0;if((n|0)!=(j|0)){continue}break};break s;case 0:A[d>>3]=A[d-1256>>3];A[d+128>>3]=A[d-1128>>3];A[d+8>>3]=A[d-1224>>3];A[d+136>>3]=A[d-1096>>3];A[d+16>>3]=A[d-1192>>3];A[d+144>>3]=A[d-1064>>3];A[d+24>>3]=A[d-1160>>3];A[d+152>>3]=A[d-1032>>3];A[d+56>>3]=A[e+1184>>3];A[d+184>>3]=A[e+1056>>3];A[d+88>>3]=A[e+1192>>3];A[d+216>>3]=A[e+1064>>3];A[d+120>>3]=A[e+1200>>3];A[d+248>>3]=A[e+1072>>3];A[d+112>>3]=A[e+1208>>3];A[d+240>>3]=A[e+1080>>3];A[d+104>>3]=A[e+1216>>3];A[d+232>>3]=A[e+1088>>3];A[d+96>>3]=A[e+1224>>3];A[d+224>>3]=A[e+1096>>3];A[d+64>>3]=A[e+1232>>3];A[d+192>>3]=A[e+1104>>3];A[d+32>>3]=A[e+1240>>3];A[d+160>>3]=A[e+1112>>3];A[d+40>>3]=A[e+1248>>3];A[d+168>>3]=A[e+1120>>3];A[d+48>>3]=A[e+1256>>3];A[d+176>>3]=A[e+1128>>3];A[d+80>>3]=A[e+1264>>3];A[d+208>>3]=A[e+1136>>3];A[d+72>>3]=A[e+1272>>3];A[d+200>>3]=A[e+1144>>3];if(!n){break s}k=p-1|0;c=0;while(1){i=c<<3;g=i+d|0;f=i+(B(k,1280)+q|0)|0;A[g+256>>3]=A[f+512>>3];A[g+512>>3]=A[f+1024>>3];f=i+(e+32|0)|0;A[g+1024>>3]=A[f>>3];A[g+768>>3]=A[f+256>>3];c=c+1|0;if((n|0)!=(c|0)){continue}break};break s;case 1:A[d>>3]=A[d-1160>>3];A[d+128>>3]=A[d-1032>>3];A[d+8>>3]=A[d-1168>>3];A[d+136>>3]=A[d-1040>>3];A[d+16>>3]=A[d-1176>>3];A[d+144>>3]=A[d-1048>>3];A[d+24>>3]=A[d-1184>>3];A[d+152>>3]=A[d-1056>>3];A[d+56>>3]=A[e+1184>>3];A[d+184>>3]=A[e+1056>>3];A[d+88>>3]=A[e+1192>>3];A[d+216>>3]=A[e+1064>>3];A[d+120>>3]=A[e+1200>>3];A[d+248>>3]=A[e+1072>>3];A[d+112>>3]=A[e+1208>>3];A[d+240>>3]=A[e+1080>>3];A[d+104>>3]=A[e+1216>>3];A[d+232>>3]=A[e+1088>>3];A[d+96>>3]=A[e+1224>>3];A[d+224>>3]=A[e+1096>>3];A[d+64>>3]=A[e+1232>>3];A[d+192>>3]=A[e+1104>>3];A[d+32>>3]=A[e+1240>>3];A[d+160>>3]=A[e+1112>>3];A[d+40>>3]=A[e+1248>>3];A[d+168>>3]=A[e+1120>>3];A[d+48>>3]=A[e+1256>>3];A[d+176>>3]=A[e+1128>>3];A[d+80>>3]=A[e+1264>>3];A[d+208>>3]=A[e+1136>>3];A[d+72>>3]=A[e+1272>>3];A[d+200>>3]=A[e+1144>>3];if(!n){break s}k=p-1|0;c=0;while(1){i=c<<3;g=i+d|0;f=i+(B(k,1280)+q|0)|0;A[g+256>>3]=A[f+1024>>3];A[g+512>>3]=A[f+768>>3];f=i+(e+32|0)|0;A[g+1024>>3]=A[f>>3];A[g+768>>3]=A[f+256>>3];c=c+1|0;if((n|0)!=(c|0)){continue}break};break s;case 2:break u}}c=d-1280|0;A[d>>3]=A[c+96>>3];A[d+8>>3]=A[c+64>>3];A[d+128>>3]=A[c+224>>3];A[d+136>>3]=A[c+192>>3];A[d+16>>3]=A[c+32>>3];A[d+144>>3]=A[c+160>>3];A[d+24>>3]=A[c>>3];A[d+152>>3]=A[c+128>>3];A[d+56>>3]=A[e+1184>>3];A[d+184>>3]=A[e+1056>>3];A[d+88>>3]=A[e+1192>>3];A[d+216>>3]=A[e+1064>>3];A[d+120>>3]=A[e+1200>>3];A[d+248>>3]=A[e+1072>>3];A[d+112>>3]=A[e+1208>>3];A[d+240>>3]=A[e+1080>>3];A[d+104>>3]=A[e+1216>>3];A[d+232>>3]=A[e+1088>>3];A[d+96>>3]=A[e+1224>>3];A[d+224>>3]=A[e+1096>>3];A[d+64>>3]=A[e+1232>>3];A[d+192>>3]=A[e+1104>>3];A[d+32>>3]=A[e+1240>>3];A[d+160>>3]=A[e+1112>>3];A[d+40>>3]=A[e+1248>>3];A[d+168>>3]=A[e+1120>>3];A[d+48>>3]=A[e+1256>>3];A[d+176>>3]=A[e+1128>>3];A[d+80>>3]=A[e+1264>>3];A[d+208>>3]=A[e+1136>>3];A[d+72>>3]=A[e+1272>>3];A[d+200>>3]=A[e+1144>>3];if(!n){break s}k=p-1|0;c=0;while(1){i=c<<3;g=i+d|0;f=i+(B(k,1280)+q|0)|0;A[g+256>>3]=A[f+768>>3];A[g+512>>3]=A[f+256>>3];f=i+(e+32|0)|0;A[g+1024>>3]=A[f>>3];A[g+768>>3]=A[f+256>>3];c=c+1|0;if((n|0)!=(c|0)){continue}break}}v[l+4>>2]=0;p=p+1|0;continue}break}Qa[v[v[h>>2]+24>>2]](h);$a(l);if(!(!p|(a|0)!=6)){h=0;while(1){c=B(h,1280)+q|0;V=A[c+8>>3];x=A[c+32>>3];M=A[c>>3];N=A[c+24>>3];O=A[c+96>>3];m=N+O;W=m+m;X=A[c+104>>3];o=A[c+56>>3];P=A[c+120>>3];A[c+40>>3]=((V+x)*6-M*4-W+(X+o)*3-P)/9;Y=A[c+136>>3];s=A[c+160>>3];Q=A[c+128>>3];R=A[c+152>>3];S=A[c+224>>3];m=R+S;Z=m+m;_=A[c+232>>3];u=A[c+184>>3];T=A[c+248>>3];A[c+168>>3]=((Y+s)*6-Q*4-Z+(_+u)*3-T)/9;$=A[c+112>>3];F=A[c+16>>3];C=(o+F)*6-N*4;m=M+P;o=m+m;A[c+48>>3]=((x+$)*3+(C-o)-O)/9;C=A[c+240>>3];I=A[c+144>>3];m=Q+T;x=m+m;A[c+176>>3]=((s+C)*3+((u+I)*6-R*4-x)-S)/9;s=A[c+88>>3];u=A[c+64>>3];A[c+72>>3]=((V+s)*3+((X+u)*6-O*4-o)-N)/9;o=A[c+216>>3];m=A[c+192>>3];A[c+200>>3]=((Y+o)*3+((_+m)*6-S*4-x)-R)/9;A[c+80>>3]=((F+u)*3+(($+s)*6-P*4-W)-M)/9;A[c+208>>3]=((I+m)*3+((C+o)*6-T*4-Z)-Q)/9;h=h+1|0;if((p|0)!=(h|0)){continue}break}}h=ab(328);v[h+8>>2]=0;v[h+4>>2]=a;v[h+320>>2]=y;v[h+316>>2]=n;v[h+184>>2]=p;v[h+180>>2]=q;v[h>>2]=888192;if((y|0)>=1){cb(h+188|0,e+1824|0,y<<2)}v:{if(iv(h,b)){a=v[h+320>>2];if((a|0)<1){break a}b=v[h+8>>2];g=0;break v}Qa[v[v[h>>2]+4>>2]](h);h=0;break a}while(1){if(v[v[((g<<2)+h|0)+188>>2]+8>>2]==(Qa[v[v[b>>2]+28>>2]](b)|0)){g=g+1|0;if((a|0)>(g|0)){continue}break a}break}fb(1,-1,219040,0);Qa[v[v[h>>2]+4>>2]](h);h=0;break a}fb(1,-1,g,0);bb(e+16|0)}Ma=e+1952|0;return h}function a2(a,b){var c=0,d=C(0),e=C(0),f=0,g=C(0),h=C(0),i=0,j=0,k=C(0),l=C(0),m=0,n=C(0),o=C(0),p=C(0),q=0,r=C(0),s=C(0),u=0,x=C(0),y=0,A=0,E=C(0),F=C(0),G=C(0),H=C(0),I=C(0),J=C(0),K=0,M=0,N=0,O=C(0),P=0,Q=C(0),R=0,S=C(0),T=C(0),U=C(0),V=0,W=C(0);q=Ma-32|0;Ma=q;v[a+2928>>2]=4;if(b){M=Ma-16|0;Ma=M;u=a+208|0;m=_J(M,u);b=v[m>>2];f=v[b+36>>2];d=z[f+28>>2];i=v[b+12>>2];g=z[i+28>>2];k=z[f+12>>2];h=z[f+4>>2];j=v[b>>2];e=z[j+28>>2];l=z[j+4>>2];r=z[i+4>>2];x=z[j+12>>2];s=C(z[j+24>>2]+z[f>>2]);z[i+8>>2]=C(C(C(C(C(C(z[j+8>>2]+z[i>>2])*C(6))-C(z[j>>2]*C(4)))-C(s+s))+C(C(z[f+8>>2]+z[i+24>>2])*C(3)))-z[f+24>>2])*C(.1111111119389534);h=C(e+h);z[i+12>>2]=C(C(C(C(C(C(x+r)*C(6))-C(l*C(4)))-C(h+h))+C(C(k+g)*C(3)))-d)*C(.1111111119389534);f=v[b+36>>2];d=z[f+4>>2];i=v[b+12>>2];g=z[i+4>>2];k=z[f+20>>2];j=v[b>>2];h=z[j+4>>2];e=z[f+28>>2];l=z[j+28>>2];r=z[i+28>>2];x=z[j+20>>2];s=C(z[j>>2]+z[f+24>>2]);z[i+16>>2]=C(C(C(C(C(C(z[j+16>>2]+z[i+24>>2])*C(6))-C(z[j+24>>2]*C(4)))-C(s+s))+C(C(z[f+16>>2]+z[i>>2])*C(3)))-z[f>>2])*C(.1111111119389534);h=C(h+e);z[i+20>>2]=C(C(C(C(C(C(x+r)*C(6))-C(l*C(4)))-C(h+h))+C(C(k+g)*C(3)))-d)*C(.1111111119389534);f=v[b>>2];d=z[f+28>>2];i=v[b+24>>2];g=z[i+28>>2];k=z[f+12>>2];h=z[f+4>>2];j=v[b+36>>2];e=z[j+28>>2];l=z[j+4>>2];r=z[i+4>>2];x=z[j+12>>2];s=C(z[j+24>>2]+z[f>>2]);z[i+8>>2]=C(C(C(C(C(C(z[j+8>>2]+z[i>>2])*C(6))-C(z[j>>2]*C(4)))-C(s+s))+C(C(z[f+8>>2]+z[i+24>>2])*C(3)))-z[f+24>>2])*C(.1111111119389534);h=C(e+h);z[i+12>>2]=C(C(C(C(C(C(x+r)*C(6))-C(l*C(4)))-C(h+h))+C(C(k+g)*C(3)))-d)*C(.1111111119389534);f=v[b>>2];d=z[f+4>>2];i=v[b+24>>2];g=z[i+4>>2];k=z[f+20>>2];j=v[b+36>>2];h=z[j+4>>2];e=z[f+28>>2];l=z[j+28>>2];r=z[i+28>>2];x=z[j+20>>2];s=C(z[j>>2]+z[f+24>>2]);z[i+16>>2]=C(C(C(C(C(C(z[j+16>>2]+z[i+24>>2])*C(6))-C(z[j+24>>2]*C(4)))-C(s+s))+C(C(z[f+16>>2]+z[i>>2])*C(3)))-z[f>>2])*C(.1111111119389534);h=C(h+e);z[i+20>>2]=C(C(C(C(C(C(x+r)*C(6))-C(l*C(4)))-C(h+h))+C(C(k+g)*C(3)))-d)*C(.1111111119389534);if((m|0)!=(u|0)){CB(u,b,v[m+4>>2])}b=v[m>>2];if(b){f=v[m+4>>2];if((b|0)==(f|0)){f=b}else{while(1){i=f-12|0;j=v[i>>2];if(j){v[f-8>>2]=j;$a(j)}f=i;if((b|0)!=(f|0)){continue}break}f=v[m>>2]}v[m+4>>2]=b;$a(f)}Ma=M+16|0}b=a;u=b;j=v[b+208>>2];f=v[j+36>>2];d=z[f+28>>2];g=z[f+20>>2];k=z[f+12>>2];h=z[f+4>>2];i=v[j+24>>2];e=z[i+28>>2];l=z[i+20>>2];r=z[i+12>>2];x=z[i+4>>2];m=v[j+12>>2];s=z[m+28>>2];E=z[m+20>>2];F=z[m+12>>2];G=z[m+4>>2];j=v[j>>2];H=z[j+28>>2];I=z[j+20>>2];J=z[j+12>>2];p=z[j+4>>2];n=pn?l:n;n=e>n?e:n;n=h>n?h:n;n=k>n?k:n;n=g>n?g:n;J=p>J?J:p;I=Ih?h:e;k=h>k?k:h;g=gn?d:n)-(d>2];g=z[f+16>>2];k=z[f+8>>2];h=z[f>>2];e=z[i+24>>2];l=z[i+16>>2];r=z[i+8>>2];x=z[i>>2];s=z[m+24>>2];E=z[m+16>>2];F=z[m+8>>2];G=z[m>>2];H=z[j+24>>2];I=z[j+16>>2];J=z[j+8>>2];p=z[j>>2];o=po?l:o;o=e>o?e:o;o=h>o?h:o;o=k>o?k:o;o=g>o?g:o;J=p>J?J:p;I=Ih?h:e;k=h>k?k:h;g=go?d:o)-(dC(1)?d:C(1);a:{if(d=C(0)){f=~~d>>>0;break a}f=0}v[u+2948>>2]=f;g=C(0);i=v[a+2928>>2];b:{if(!i){k=C(0);break b}m=v[a+208>>2];k=C(0);while(1){d=z[(c<<2)+360056>>2];j=v[m+B(c,12)>>2];b=0;while(1){M=j+(b<<3)|0;h=z[(b<<2)+360056>>2];g=C(g+C(C(d*z[M+4>>2])*h));k=C(k+C(C(d*z[M>>2])*h));b=b+1|0;if((i|0)!=(b|0)){continue}break}c=c+1|0;if((i|0)!=(c|0)){continue}break}}z[a+2944>>2]=g;z[a+2940>>2]=g;z[a+2936>>2]=k;z[a+2932>>2]=k;v[q+8>>2]=0;v[q>>2]=0;v[q+4>>2]=0;c:{d:{e:{f:{if(f){if(f>>>0>=1073741824){break f}b=f<<2;i=ab(b);v[q>>2]=i;m=b+i|0;v[q+8>>2]=m;eb(i,0,b);v[q+4>>2]=m}m=C1(q+16|0,f,q);b=v[a+2916>>2];if(b){f=v[a+2920>>2];if((b|0)==(f|0)){f=b}else{while(1){i=f-12|0;c=v[i>>2];if(c){v[f-8>>2]=c;$a(c)}f=i;if((b|0)!=(f|0)){continue}break}f=v[a+2916>>2]}v[a+2920>>2]=b;$a(f)}v[a+2916>>2]=v[m>>2];v[a+2920>>2]=v[m+4>>2];v[a+2924>>2]=v[m+8>>2];v[m+8>>2]=0;v[m>>2]=0;v[m+4>>2]=0;b=v[q>>2];if(b){v[q+4>>2]=b;$a(b)}d=z[a+2936>>2];c=v[a+208>>2];m=v[c>>2];h=z[m>>2];if(d>2]=h;d=h}b=a+2944|0;g=z[b>>2];e=z[m+4>>2];if(g>2]=e;g=e}f=a+2932|0;k=z[f>>2];if(h>2]=h;k=h}i=a+2940|0;h=z[i>>2];if(e>2]=e;h=e}e=z[m+8>>2];if(e>d){z[a+2936>>2]=e;d=e}l=z[m+12>>2];if(l>g){z[b>>2]=l;g=l}if(e>2]=e;k=e}if(h>l){z[i>>2]=l;h=l}e=z[m+16>>2];if(e>d){z[a+2936>>2]=e;d=e}l=z[m+20>>2];if(l>g){z[b>>2]=l;g=l}if(e>2]=e;k=e}if(h>l){z[i>>2]=l;h=l}e=z[m+24>>2];if(e>d){z[a+2936>>2]=e;d=e}l=g;g=z[m+28>>2];if(l>2]=g}if(e>2]=e}if(g>2]=g}m=v[c+12>>2];h=z[m>>2];if(h>d){z[a+2936>>2]=h;d=h}g=z[b>>2];e=z[m+4>>2];if(g>2]=e;g=e}k=z[f>>2];if(h>2]=h;k=h}h=z[i>>2];if(e>2]=e;h=e}e=z[m+8>>2];if(e>d){z[a+2936>>2]=e;d=e}l=z[m+12>>2];if(l>g){z[b>>2]=l;g=l}if(e>2]=e;k=e}if(h>l){z[i>>2]=l;h=l}e=z[m+16>>2];if(e>d){z[a+2936>>2]=e;d=e}l=z[m+20>>2];if(l>g){z[b>>2]=l;g=l}if(e>2]=e;k=e}if(h>l){z[i>>2]=l;h=l}e=z[m+24>>2];if(e>d){z[a+2936>>2]=e;d=e}l=g;g=z[m+28>>2];if(l>2]=g}if(e>2]=e}if(g>2]=g}m=v[c+24>>2];h=z[m>>2];if(h>d){z[a+2936>>2]=h;d=h}g=z[b>>2];e=z[m+4>>2];if(g>2]=e;g=e}k=z[f>>2];if(h>2]=h;k=h}h=z[i>>2];if(e>2]=e;h=e}e=z[m+8>>2];if(e>d){z[a+2936>>2]=e;d=e}l=z[m+12>>2];if(l>g){z[b>>2]=l;g=l}if(e>2]=e;k=e}if(h>l){z[i>>2]=l;h=l}e=z[m+16>>2];if(e>d){z[a+2936>>2]=e;d=e}l=z[m+20>>2];if(l>g){z[b>>2]=l;g=l}if(e>2]=e;k=e}if(h>l){z[i>>2]=l;h=l}e=z[m+24>>2];if(e>d){z[a+2936>>2]=e;d=e}l=g;g=z[m+28>>2];if(l>2]=g}if(e>2]=e}if(g>2]=g}m=v[c+36>>2];h=z[m>>2];if(h>d){z[a+2936>>2]=h;d=h}g=z[b>>2];e=z[m+4>>2];if(g>2]=e;g=e}k=z[f>>2];if(h>2]=h;k=h}h=z[i>>2];if(e>2]=e;h=e}e=z[m+8>>2];if(e>d){z[a+2936>>2]=e;d=e}l=z[m+12>>2];if(l>g){z[b>>2]=l;g=l}if(e>2]=e;k=e}if(h>l){z[i>>2]=l;h=l}e=z[m+16>>2];if(e>d){z[a+2936>>2]=e;d=e}l=z[m+20>>2];if(l>g){z[b>>2]=l;g=l}if(e>2]=e;k=e}if(h>l){z[i>>2]=l;h=l}e=d;d=z[m+24>>2];if(e>2]=d}e=g;g=z[m+28>>2];if(e>2]=g}if(d>2]=d}if(g>2]=g}b=a;c=b;d=C(z[b+336>>2]-z[b+332>>2]);g=C(z[b+344>>2]-z[b+340>>2]);d=d>g?d:g;g:{if(C(D(d))1?f:1;v[c+2948>>2]=b;v[q+8>>2]=0;v[q>>2]=0;v[q+4>>2]=0;if(b>>>0>1073741823){break f}f=b<<2;i=ab(f);v[q>>2]=i;m=f+i|0;v[q+8>>2]=m;eb(i,0,f);v[q+4>>2]=m;m=C1(q+16|0,b,q);b=v[a+2916>>2];if(b){f=v[a+2920>>2];if((b|0)==(f|0)){f=b}else{while(1){i=f-12|0;c=v[i>>2];if(c){v[f-8>>2]=c;$a(c)}f=i;if((b|0)!=(f|0)){continue}break}f=v[a+2916>>2]}v[a+2920>>2]=b;$a(f)}v[a+2916>>2]=v[m>>2];v[a+2920>>2]=v[m+4>>2];v[a+2924>>2]=v[m+8>>2];v[m+8>>2]=0;v[m>>2]=0;v[m+4>>2]=0;b=v[q>>2];if(b){v[q+4>>2]=b;$a(b)}j=v[a+2948>>2];v[q+24>>2]=0;v[q+16>>2]=0;v[q+20>>2]=0;h:{b=j+1|0;if(b>>>0>=j>>>0){if(b>>>0>=536870912){break h}f=b<<3;b=ab(f);v[q+16>>2]=b;i=b+f|0;v[q+24>>2]=i;eb(b,0,f);v[q+20>>2]=i;if(!j){break d}}Q=C(C(1)/C(j>>>0));T=C(Q*C(.5));l=C(0);while(1){v[q+8>>2]=0;v[q>>2]=0;v[q+4>>2]=0;b=0;f=0;i=j+1|0;if(i>>>0>=j>>>0){if(i>>>0>=536870912){break f}i=i<<3;b=ab(i);v[q>>2]=b;f=b+i|0;v[q+8>>2]=f;eb(b,0,i);v[q+4>>2]=f}h=C(Q+l);V=q+16|0;if(j){x=C(h*C(h*h));d=C(T+l);s=C(d*C(d*d));g=C(C(1)-h);E=C(g*C(g*g));k=C(h*C(3));F=C(g*C(g*k));G=C(g*C(h*k));g=C(C(1)-d);H=C(g*C(g*g));k=C(d*C(3));I=C(g*C(g*k));J=C(g*C(d*k));U=C(C(1)-l);r=C(0);M=0;while(1){i:{if(!(M?R:0)){u=v[a+208>>2];g=C(0);k=C(0);f=v[a+2928>>2];if(f){d=C(T+r);e=C(d*C(d*d));g=C(C(1)-d);p=C(g*C(g*g));o=C(d*C(3));n=C(g*C(g*o));o=C(g*C(d*o));i=0;g=C(0);while(1){m=v[B(i,12)+u>>2];b=0;while(1){d=H;j:{k:{switch(i-1|0){case 0:d=I;break j;case 1:d=J;break j;case 2:break k;default:break j}}d=s}c=m+(b<<3)|0;O=C(d*z[c+4>>2]);S=C(d*z[c>>2]);d=p;l:{m:{switch(b-1|0){case 0:d=n;break l;case 1:d=o;break l;case 2:break m;default:break l}}d=e}k=C(k+C(O*d));g=C(g+C(S*d));b=b+1|0;if((f|0)!=(b|0)){continue}break}i=i+1|0;if((i|0)!=(f|0)){continue}break}}d=z[a+2940>>2];e=C(k-d);k=C(j-1>>>0);d=C(C(e*k)/C(z[a+2944>>2]-d));n:{if(d=C(0)){i=~~d>>>0;break n}i=0}d=z[a+2932>>2];d=C(C(C(g-d)*k)/C(z[a+2936>>2]-d));if(d=C(0)){m=~~d>>>0;break i}m=0;break i}b=v[q+16>>2]+(M<<3)|0;i=v[b+4>>2];u=v[a+208>>2];f=v[a+2928>>2];m=v[b>>2]}e=C(Q+r);g=C(0);k=C(0);if(f){p=C(e*C(e*e));d=C(C(1)-e);n=C(d*C(d*d));O=C(e*C(3));o=C(d*C(d*O));O=C(d*C(e*O));c=0;while(1){N=v[B(c,12)+u>>2];b=0;while(1){d=E;o:{p:{switch(c-1|0){case 0:d=F;break o;case 1:d=G;break o;case 2:break p;default:break o}}d=x}A=N+(b<<3)|0;S=C(d*z[A+4>>2]);W=C(d*z[A>>2]);d=n;q:{r:{switch(b-1|0){case 0:d=o;break q;case 1:d=O;break q;case 2:break r;default:break q}}d=p}k=C(k+C(S*d));g=C(g+C(W*d));b=b+1|0;if((f|0)!=(b|0)){continue}break}c=c+1|0;if((c|0)!=(f|0)){continue}break}}p=z[a+2936>>2];d=z[a+2932>>2];M=M+1|0;f=v[q>>2]+(M<<3)|0;c=f;o=k;k=z[a+2940>>2];n=C(j-1>>>0);k=C(C(C(o-k)*n)/C(z[a+2944>>2]-k));s:{if(k=C(0)){b=~~k>>>0;break s}b=0}v[c+4>>2]=b;c=f;d=C(C(C(g-d)*n)/C(p-d));t:{if(d=C(0)){f=~~d>>>0;break t}f=0}v[c>>2]=f;d=C(U*r);N=v[a+220>>2];c=v[N+12>>2];j=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);g=C(d*C(j>>>24>>>0));u:{if(C(D(g))0?u:0;g=C(l*r);u=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);k=C(g*C(u>>>24>>>0));v:{if(C(D(k))0?c:0)|0;c=c>>>0<255?c:255;K=(c|0)>0?c:0;r=C(C(1)-r);k=C(l*r);c=v[N>>2];N=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);p=C(k*C(N>>>24>>>0));w:{if(C(D(p))0?A:0)|0;K=A>>>0<255?A:255;y=(K|0)>0;r=C(U*r);A=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);p=C(r*C(A>>>24>>>0));x:{if(C(D(p))0;K=(y?K:0)+(c?P:0)|0;y=K>>>0<255;K=y?K:255;p=C(d*C((j>>>16&255)>>>0));y:{if(C(D(p))0?c:0;p=C(g*C((u>>>16&255)>>>0));z:{if(C(D(p))0?c:0)|0;c=c>>>0<255?c:255;y=(c|0)>0?c:0;p=C(k*C((N>>>16&255)>>>0));A:{if(C(D(p))0?c:0)|0;c=c>>>0<255?c:255;y=(c|0)>0?c:0;p=C(r*C((A>>>16&255)>>>0));B:{if(C(D(p))0?c:0)|0;y=c>>>0<255?c:255;c=(y|0)>0;K=((K|0)>0?K:0)<<24|(c?y:0)<<16;p=C(d*C((j>>>8&255)>>>0));C:{if(C(D(p))0?c:0;p=C(g*C((u>>>8&255)>>>0));D:{if(C(D(p))0?c:0)|0;c=c>>>0<255?c:255;y=(c|0)>0?c:0;p=C(k*C((N>>>8&255)>>>0));E:{if(C(D(p))0?c:0)|0;c=c>>>0<255?c:255;y=(c|0)>0?c:0;p=C(r*C((A>>>8&255)>>>0));F:{if(C(D(p))0?c:0)|0;c=c>>>0<255?c:255;y=((c|0)>0?c:0)<<8;d=C(d*C((j&255)>>>0));G:{if(C(D(d))0?c:0;K=K|y;d=C(g*C((u&255)>>>0));H:{if(C(D(d))0?j:0)+P|0;j=j>>>0<255?j:255;c=(j|0)>0?j:0;d=C(k*C((N&255)>>>0));I:{if(C(D(d))0?j:0)|0;j=j>>>0<255?j:255;u=(j|0)>0?j:0;d=C(r*C((A&255)>>>0));J:{if(C(D(d))0?c:0)|0;c=c>>>0<255?c:255;j=K|((c|0)>0?c:0);u=(f|0)>(m|0)?f:m;c=(f|0)<(m|0)?f:m;while(1){f=(b|0)<(i|0)?b:i;while(1){m=f;f=v[a+2948>>2];if(!(f>>>0<=c>>>0|f>>>0<=m>>>0)){f=v[v[a+2916>>2]+B(c,12)>>2]+(m<<2)|0;t[f|0]=j;t[f+1|0]=j>>>8;t[f+2|0]=j>>>16;t[f+3|0]=j>>>24}f=m+1|0;if((m|0)<(((b|0)>(i|0)?b:i)|0)){continue}break}f=(c|0)==(u|0);c=c+1|0;if(!f){continue}break}r=e;j=v[a+2948>>2];if(M>>>0>>0){continue}break}f=v[q+4>>2];b=v[q>>2]}B1(V,b,f);if(b){v[q+4>>2]=b;$a(b)}l=h;j=v[a+2948>>2];R=R+1|0;if(j>>>0>R>>>0){continue}break}break e}Jc();L()}Jc();L()}b=v[q+16>>2];if(!b){break c}}v[q+20>>2]=b;$a(b)}Ma=q+32|0}function XB(a,b,c){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,p=0;v[a+980>>2]=0;e=v[a+20>>2];v[a+984>>2]=e-1;v[a+988>>2]=B(e,v[a+16>>2]);Qa[v[v[b>>2]+44>>2]](b,44)|0;e=v[a+392>>2];Qa[v[v[b>>2]+44>>2]](b,e&255)|0;Qa[v[v[b>>2]+44>>2]](b,e>>>8&255)|0;e=v[a+396>>2];Qa[v[v[b>>2]+44>>2]](b,e&255)|0;Qa[v[v[b>>2]+44>>2]](b,e>>>8&255)|0;e=v[a+16>>2];Qa[v[v[b>>2]+44>>2]](b,e&255)|0;Qa[v[v[b>>2]+44>>2]](b,e>>>8&255)|0;e=v[a+20>>2];Qa[v[v[b>>2]+44>>2]](b,e&255)|0;Qa[v[v[b>>2]+44>>2]](b,e>>>8&255)|0;Qa[v[v[b>>2]+44>>2]](b,(c?w[a+26|0]-1|128:0)&255)|0;a:{if(!c){break a}c=v[a+44>>2];if(!c){break a}e=v[a+4>>2];e=e?c?e+40|0:0:0;while(1){c=e+(h<<2)|0;Qa[v[v[b>>2]+44>>2]](b,w[c+2|0])|0;Qa[v[v[b>>2]+44>>2]](b,w[c+1|0])|0;Qa[v[v[b>>2]+44>>2]](b,w[c|0])|0;h=h+1|0;if(h>>>0>2]){continue}break}}c=x[a+26>>1];c=c>>>0>2?c:2;Qa[v[v[b>>2]+44>>2]](b,c&255)|0;b:{c:{switch(Tm(a,2)-1|0){case 0:v[a+1096>>2]=b;c=c+1|0;v[a+1092>>2]=c;v[a+1088>>2]=0;v[a+1080>>2]=c;v[a+992>>2]=0;v[a+996>>2]=0;v[a+1108>>2]=0;e=1<>2]=e;u[a+1084>>1]=-1<>2]=e+1;u[a+1086>>1]=e+2;c=v[a+988>>2];d:{if(c){v[a+988>>2]=c-1;c=Vk(a,v[a+980>>2],v[a+984>>2]);e=v[a+980>>2]+1|0;v[a+980>>2]=e;if((e|0)==v[a+16>>2]){v[a+980>>2]=0;v[a+984>>2]=v[a+984>>2]-1}Km(a,u[a+1100>>1]);while(1){h=-1;e=v[a+988>>2];e:{if(!e){break e}v[a+988>>2]=e-1;h=Vk(a,v[a+980>>2],v[a+984>>2]);e=v[a+980>>2]+1|0;v[a+980>>2]=e;if((e|0)!=v[a+16>>2]){break e}v[a+980>>2]=0;v[a+984>>2]=v[a+984>>2]-1}Km(a,c<<16>>16);c=u[a+1086>>1];f:{if((c|0)<=4095){u[a+1086>>1]=c+1;break f}v[a+1088>>2]=1;c=u[a+1100>>1];u[a+1086>>1]=c+2;Km(a,c)}c=h;if((c|0)!=-1){continue}break}break d}Km(a,u[a+1100>>1])}Km(a,u[a+1104>>1]);break b;case 1:d=Ma-336|0;Ma=d;v[a+1096>>2]=b;c=c+1|0;v[a+1092>>2]=c;g=1<>2]=g;v[d+28>>2]=c;v[d+24>>2]=c;h=0;v[d+8>>2]=0;v[d+32>>2]=0;v[d+328>>2]=0;v[d+16>>2]=0;v[d+20>>2]=1;v[d+68>>2]=c;v[d+64>>2]=g;v[d+60>>2]=g+1;e=g-1|0;v[d+40>>2]=e;v[d+4>>2]=g+2;v[d+52>>2]=4093-g;v[d+36>>2]=e;e=(c|0)<4?9:g-2|0;v[d+48>>2]=e;v[d+44>>2]=e;p=d+72|0;if((c|0)>=8){while(1){v[d+328>>2]=h+1;t[(d+h|0)+72|0]=g;h=v[d+328>>2];if((h|0)>=255){c=v[a+1096>>2];Qa[v[v[c>>2]+44>>2]](c,h&255)|0;c=v[a+1096>>2];Qa[v[v[c>>2]+16>>2]](c,p,1,v[d+328>>2])|0;v[d+328>>2]=0;h=0}g=v[d+64>>2]>>>8|0;v[d+64>>2]=g;c=v[d+68>>2];v[d+68>>2]=c-8;if((c|0)>15){continue}break}}while(1){c=v[a+988>>2];g:{if(!c){h=-1;break g}v[a+988>>2]=c-1;h=Vk(a,v[a+980>>2],v[a+984>>2]);c=v[a+980>>2]+1|0;v[a+980>>2]=c;if((c|0)!=v[a+16>>2]){break g}v[a+980>>2]=0;v[a+984>>2]=v[a+984>>2]-1}g=v[d+8>>2];h:{if((g|0)<1){break h}c=v[d>>2];if((c|0)==(h|0)){break h}i:{if((g|0)==1){Mn(a,c,d);break i}if(v[d+20>>2]){WB(a,g,d);break i}if(!((c|0)==v[d+12>>2]&v[d+16>>2]>=2)){j=0;f=1;e=w[d+52|0]|w[d+53|0]<<8|(w[d+54|0]<<16|w[d+55|0]<<24);i=B(e+1|0,e)>>>1|0;j:{if(i>>>0>g>>>0){c=g;break j}c=g;while(1){j=e+j|0;c=c-i|0;if(i>>>0<=c>>>0){continue}break}}i=c;e=c;k:{l:{m:{switch(c|0){case 0:break k;case 1:break l;default:break m}}while(1){f=f<<1;e=i>>>0>3;i=i>>>2|0;if(e){continue}break}while(1){e=f;f=e+((c>>>0)/(e>>>0)|0)>>>1|0;if((e|0)==(f|0)){break l}if((e+1|0)!=(f|0)){continue}break}}f=c<<1;while(1){c=e;e=c-1|0;if(f>>>0<=B(c+1|0,c)>>>0){continue}break}while(1){e=c;c=c+1|0;if(f>>>0>B(e,c)>>>0){continue}break}j=e+j|0}n:{if((j+1|0)>=(g|0)){if((g|0)<=0){break n}while(1){Mn(a,w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24),d);c=(g|0)>1;g=g-1|0;if(c){continue}break}break n}e=w[d+68|0]|w[d+69|0]<<8|(w[d+70|0]<<16|w[d+71|0]<<24);c=e+(w[d+24|0]|w[d+25|0]<<8|(w[d+26|0]<<16|w[d+27|0]<<24))|0;t[d+68|0]=c;t[d+69|0]=c>>>8;t[d+70|0]=c>>>16;t[d+71|0]=c>>>24;e=w[d+64|0]|w[d+65|0]<<8|(w[d+66|0]<<16|w[d+67|0]<<24)|(w[d+56|0]|w[d+57|0]<<8|(w[d+58|0]<<16|w[d+59|0]<<24))<>>8;t[d+66|0]=e>>>16;t[d+67|0]=e>>>24;if((c|0)>=8){i=d+72|0;c=w[d+328|0]|w[d+329|0]<<8|(w[d+330|0]<<16|w[d+331|0]<<24);while(1){f=c+1|0;t[d+328|0]=f;t[d+329|0]=f>>>8;t[d+330|0]=f>>>16;t[d+331|0]=f>>>24;t[(c+d|0)+72|0]=e;c=w[d+328|0]|w[d+329|0]<<8|(w[d+330|0]<<16|w[d+331|0]<<24);if((c|0)>=255){e=v[a+1096>>2];Qa[v[v[e>>2]+44>>2]](e,c&255)|0;c=v[a+1096>>2];Qa[v[v[c>>2]+16>>2]](c,i,1,w[d+328|0]|w[d+329|0]<<8|(w[d+330|0]<<16|w[d+331|0]<<24))|0;t[d+328|0]=0;t[d+329|0]=0;t[d+330|0]=0;t[d+331|0]=0;c=0}e=(w[d+64|0]|w[d+65|0]<<8|(w[d+66|0]<<16|w[d+67|0]<<24))>>>8|0;t[d+64|0]=e;t[d+65|0]=e>>>8;t[d+66|0]=e>>>16;t[d+67|0]=e>>>24;j=w[d+68|0]|w[d+69|0]<<8|(w[d+70|0]<<16|w[d+71|0]<<24);f=j-8|0;t[d+68|0]=f;t[d+69|0]=f>>>8;t[d+70|0]=f>>>16;t[d+71|0]=f>>>24;if((j|0)>15){continue}break}}t[d+32|0]=0;t[d+33|0]=0;t[d+34|0]=0;t[d+35|0]=0;t[d+16|0]=0;t[d+17|0]=0;t[d+18|0]=0;t[d+19|0]=0;t[d+20|0]=1;t[d+21|0]=0;t[d+22|0]=0;t[d+23|0]=0;c=w[d+28|0]|w[d+29|0]<<8|(w[d+30|0]<<16|w[d+31|0]<<24);t[d+24|0]=c;t[d+25|0]=c>>>8;t[d+26|0]=c>>>16;t[d+27|0]=c>>>24;c=w[d+40|0]|w[d+41|0]<<8|(w[d+42|0]<<16|w[d+43|0]<<24);t[d+36|0]=c;t[d+37|0]=c>>>8;t[d+38|0]=c>>>16;t[d+39|0]=c>>>24;c=w[d+48|0]|w[d+49|0]<<8|(w[d+50|0]<<16|w[d+51|0]<<24);t[d+44|0]=c;t[d+45|0]=c>>>8;t[d+46|0]=c>>>16;t[d+47|0]=c>>>24;WB(a,g,d)}break i}k=0;l=w[d+52|0]|w[d+53|0]<<8|(w[d+54|0]<<16|w[d+55|0]<<24);o=w[d+16|0]|w[d+17|0]<<8|(w[d+18|0]<<16|w[d+19|0]<<24);n=(g|0)/(o|0)|0;i=g-B(n,o)|0;j=(i|0)!=0;c=w[d+32|0]|w[d+33|0]<<8|(w[d+34|0]<<16|w[d+35|0]<<24);o:{if((l|0)>=(j+(c+n|0)|0)){f=B(l+1|0,l)>>>1|0;break o}m=1;f=B(l+1|0,l)>>>1|0;n=l-c|0;i=g-B(o,n)|0;p:{if(f>>>0>i>>>0){c=i;break p}c=i;while(1){k=k+l|0;c=c-f|0;if(f>>>0<=c>>>0){continue}break}}j=c;e=c;q:{r:{s:{switch(c|0){case 0:break q;case 1:break r;default:break s}}while(1){m=m<<1;e=j>>>0>3;j=j>>>2|0;if(e){continue}break}while(1){e=m;m=e+((c>>>0)/(e>>>0)|0)>>>1|0;if((e|0)==(m|0)){break r}if((e+1|0)!=(m|0)){continue}break}}j=c<<1;while(1){c=e;e=c-1|0;if(j>>>0<=B(c+1|0,c)>>>0){continue}break}while(1){e=c;c=c+1|0;if(j>>>0>B(e,c)>>>0){continue}break}k=e+k|0}j=k+1|0}m=0;t:{if(f>>>0>g>>>0){c=g;break t}c=g;while(1){m=m+l|0;c=c-f|0;if(f>>>0<=c>>>0){continue}break}}e=1;k=c;f=c;u:{v:{w:{switch(c|0){case 0:break u;case 1:break v;default:break w}}while(1){e=e<<1;f=k>>>0>3;k=k>>>2|0;if(f){continue}break}while(1){f=e;e=e+((c>>>0)/(e>>>0)|0)>>>1|0;if((e|0)==(f|0)){break v}if((f+1|0)!=(e|0)){continue}break}}k=c<<1;while(1){c=f;f=c-1|0;if(k>>>0<=B(c+1|0,c)>>>0){continue}break}while(1){e=c;c=c+1|0;if(k>>>0>B(e,c)>>>0){continue}break}m=e+m|0}x:{if(m+1>>>0>>0){e=w[d+68|0]|w[d+69|0]<<8|(w[d+70|0]<<16|w[d+71|0]<<24);c=e+(w[d+24|0]|w[d+25|0]<<8|(w[d+26|0]<<16|w[d+27|0]<<24))|0;t[d+68|0]=c;t[d+69|0]=c>>>8;t[d+70|0]=c>>>16;t[d+71|0]=c>>>24;f=w[d+64|0]|w[d+65|0]<<8|(w[d+66|0]<<16|w[d+67|0]<<24)|(w[d+56|0]|w[d+57|0]<<8|(w[d+58|0]<<16|w[d+59|0]<<24))<>>8;t[d+66|0]=f>>>16;t[d+67|0]=f>>>24;if((c|0)>=8){i=d+72|0;c=w[d+328|0]|w[d+329|0]<<8|(w[d+330|0]<<16|w[d+331|0]<<24);while(1){e=c+1|0;t[d+328|0]=e;t[d+329|0]=e>>>8;t[d+330|0]=e>>>16;t[d+331|0]=e>>>24;t[(c+d|0)+72|0]=f;c=w[d+328|0]|w[d+329|0]<<8|(w[d+330|0]<<16|w[d+331|0]<<24);if((c|0)>=255){e=v[a+1096>>2];Qa[v[v[e>>2]+44>>2]](e,c&255)|0;c=v[a+1096>>2];Qa[v[v[c>>2]+16>>2]](c,i,1,w[d+328|0]|w[d+329|0]<<8|(w[d+330|0]<<16|w[d+331|0]<<24))|0;t[d+328|0]=0;t[d+329|0]=0;t[d+330|0]=0;t[d+331|0]=0;c=0}f=(w[d+64|0]|w[d+65|0]<<8|(w[d+66|0]<<16|w[d+67|0]<<24))>>>8|0;t[d+64|0]=f;t[d+65|0]=f>>>8;t[d+66|0]=f>>>16;t[d+67|0]=f>>>24;j=w[d+68|0]|w[d+69|0]<<8|(w[d+70|0]<<16|w[d+71|0]<<24);e=j-8|0;t[d+68|0]=e;t[d+69|0]=e>>>8;t[d+70|0]=e>>>16;t[d+71|0]=e>>>24;if((j|0)>15){continue}break}}t[d+32|0]=0;t[d+33|0]=0;t[d+34|0]=0;t[d+35|0]=0;t[d+16|0]=0;t[d+17|0]=0;t[d+18|0]=0;t[d+19|0]=0;t[d+20|0]=1;t[d+21|0]=0;t[d+22|0]=0;t[d+23|0]=0;c=w[d+28|0]|w[d+29|0]<<8|(w[d+30|0]<<16|w[d+31|0]<<24);t[d+24|0]=c;t[d+25|0]=c>>>8;t[d+26|0]=c>>>16;t[d+27|0]=c>>>24;c=w[d+40|0]|w[d+41|0]<<8|(w[d+42|0]<<16|w[d+43|0]<<24);t[d+36|0]=c;t[d+37|0]=c>>>8;t[d+38|0]=c>>>16;t[d+39|0]=c>>>24;c=w[d+48|0]|w[d+49|0]<<8|(w[d+50|0]<<16|w[d+51|0]<<24);t[d+44|0]=c;t[d+45|0]=c>>>8;t[d+46|0]=c>>>16;t[d+47|0]=c>>>24;WB(a,g,d);break x}t[d+44|0]=l;t[d+45|0]=l>>>8;t[d+46|0]=l>>>16;t[d+47|0]=l>>>24;y:{if((n|0)<1){break y}Mn(a,((w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24))+o|0)-2|0,d);if((n|0)==1){break y}while(1){Mn(a,((w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24))+(w[d+16|0]|w[d+17|0]<<8|(w[d+18|0]<<16|w[d+19|0]<<24))|0)-2|0,d);c=(n|0)>2;n=n-1|0;if(c){continue}break}}z:{if(!i){break z}if(w[d+20|0]|w[d+21|0]<<8|(w[d+22|0]<<16|w[d+23|0]<<24)){WB(a,i,d);break z}if((i|0)==1){Mn(a,w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24),d);break z}Mn(a,((w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24))+i|0)-2|0,d)}c=w[d+48|0]|w[d+49|0]<<8|(w[d+50|0]<<16|w[d+51|0]<<24);t[d+44|0]=c;t[d+45|0]=c>>>8;t[d+46|0]=c>>>16;t[d+47|0]=c>>>24;if((c|0)<=(w[d+32|0]|w[d+33|0]<<8|(w[d+34|0]<<16|w[d+35|0]<<24))){e=w[d+68|0]|w[d+69|0]<<8|(w[d+70|0]<<16|w[d+71|0]<<24);g=e+(w[d+24|0]|w[d+25|0]<<8|(w[d+26|0]<<16|w[d+27|0]<<24))|0;t[d+68|0]=g;t[d+69|0]=g>>>8;t[d+70|0]=g>>>16;t[d+71|0]=g>>>24;f=w[d+64|0]|w[d+65|0]<<8|(w[d+66|0]<<16|w[d+67|0]<<24)|(w[d+56|0]|w[d+57|0]<<8|(w[d+58|0]<<16|w[d+59|0]<<24))<>>8;t[d+66|0]=f>>>16;t[d+67|0]=f>>>24;e=d;if((g|0)>=8){i=d+72|0;c=w[d+328|0]|w[d+329|0]<<8|(w[d+330|0]<<16|w[d+331|0]<<24);while(1){g=c+1|0;t[d+328|0]=g;t[d+329|0]=g>>>8;t[d+330|0]=g>>>16;t[d+331|0]=g>>>24;t[(c+d|0)+72|0]=f;c=w[d+328|0]|w[d+329|0]<<8|(w[d+330|0]<<16|w[d+331|0]<<24);if((c|0)>=255){f=v[a+1096>>2];Qa[v[v[f>>2]+44>>2]](f,c&255)|0;c=v[a+1096>>2];Qa[v[v[c>>2]+16>>2]](c,i,1,w[d+328|0]|w[d+329|0]<<8|(w[d+330|0]<<16|w[d+331|0]<<24))|0;t[d+328|0]=0;t[d+329|0]=0;t[d+330|0]=0;t[d+331|0]=0;c=0}f=(w[d+64|0]|w[d+65|0]<<8|(w[d+66|0]<<16|w[d+67|0]<<24))>>>8|0;t[d+64|0]=f;t[d+65|0]=f>>>8;t[d+66|0]=f>>>16;t[d+67|0]=f>>>24;j=w[d+68|0]|w[d+69|0]<<8|(w[d+70|0]<<16|w[d+71|0]<<24);g=j-8|0;t[d+68|0]=g;t[d+69|0]=g>>>8;t[d+70|0]=g>>>16;t[d+71|0]=g>>>24;if((j|0)>15){continue}break}c=w[d+48|0]|w[d+49|0]<<8|(w[d+50|0]<<16|w[d+51|0]<<24)}t[e+44|0]=c;t[e+45|0]=c>>>8;t[e+46|0]=c>>>16;t[e+47|0]=c>>>24;t[d+32|0]=0;t[d+33|0]=0;t[d+34|0]=0;t[d+35|0]=0;t[d+16|0]=0;t[d+17|0]=0;t[d+18|0]=0;t[d+19|0]=0;t[d+20|0]=1;t[d+21|0]=0;t[d+22|0]=0;t[d+23|0]=0;c=w[d+28|0]|w[d+29|0]<<8|(w[d+30|0]<<16|w[d+31|0]<<24);t[d+24|0]=c;t[d+25|0]=c>>>8;t[d+26|0]=c>>>16;t[d+27|0]=c>>>24;c=w[d+40|0]|w[d+41|0]<<8|(w[d+42|0]<<16|w[d+43|0]<<24);t[d+36|0]=c;t[d+37|0]=c>>>8;t[d+38|0]=c>>>16;t[d+39|0]=c>>>24}}}g=0;v[d+8>>2]=0}if((h|0)!=-1){if(v[d>>2]==(h|0)){v[d+8>>2]=g+1;continue}v[d>>2]=h;v[d+8>>2]=1;continue}break};c=v[d+68>>2];e=c+v[d+24>>2]|0;v[d+68>>2]=e;g=v[d+64>>2]|v[d+60>>2]<>2]=g;if((e|0)>=8){h=v[d+328>>2];while(1){v[d+328>>2]=h+1;t[(d+h|0)+72|0]=g;h=v[d+328>>2];if((h|0)>=255){c=v[a+1096>>2];Qa[v[v[c>>2]+44>>2]](c,h&255)|0;c=v[a+1096>>2];Qa[v[v[c>>2]+16>>2]](c,p,1,v[d+328>>2])|0;v[d+328>>2]=0;h=0}g=v[d+64>>2]>>>8|0;v[d+64>>2]=g;c=v[d+68>>2];e=c-8|0;v[d+68>>2]=e;if((c|0)>15){continue}break}}A:{B:{C:{if((e|0)<=0){h=v[d+328>>2];break C}c=v[d+328>>2];v[d+328>>2]=c+1;t[(c+d|0)+72|0]=g;h=v[d+328>>2];if((h|0)>254){break B}}if((h|0)<1){break A}}c=v[a+1096>>2];Qa[v[v[c>>2]+44>>2]](c,h&255)|0;a=v[a+1096>>2];Qa[v[v[a>>2]+16>>2]](a,p,1,v[d+328>>2])|0}Ma=d+336|0;break b;default:break c}}v[a+1096>>2]=b;c=c+1|0;v[a+1092>>2]=c;v[a+1088>>2]=0;v[a+1080>>2]=c;v[a+992>>2]=0;v[a+996>>2]=0;v[a+1108>>2]=0;h=-1;e=1<>2]=e;u[a+1084>>1]=-1<>2]=e+1;u[a+1086>>1]=e+2;c=v[a+988>>2];D:{if(!c){break D}v[a+988>>2]=c-1;h=Vk(a,v[a+980>>2],v[a+984>>2]);c=v[a+980>>2]+1|0;v[a+980>>2]=c;if((c|0)!=v[a+16>>2]){break D}v[a+980>>2]=0;v[a+984>>2]=v[a+984>>2]-1}eb(v[a+1072>>2],255,20012);Km(a,u[a+1100>>1]);c=v[a+988>>2];if(c){while(1){v[a+988>>2]=c-1;e=Vk(a,v[a+980>>2],v[a+984>>2]);c=v[a+980>>2]+1|0;v[a+980>>2]=c;if((c|0)==v[a+16>>2]){v[a+980>>2]=0;v[a+984>>2]=v[a+984>>2]-1}g=v[a+1072>>2];c=e<<4^h;i=v[g+(c<<2)>>2];f=(e<<12)+h|0;E:{if((i|0)==(f|0)){e=x[v[a+1076>>2]+(c<<1)>>1];break E}if((i|0)>=0){i=c?c-5003|0:-1;while(1){c=c+i|0;c=(c|0)<0?c+5003|0:c;d=v[g+(c<<2)>>2];if((d|0)==(f|0)){e=x[v[a+1076>>2]+(c<<1)>>1];break E}if((d|0)>0){continue}break}}Km(a,h<<16>>16);g=u[a+1086>>1];if((g|0)<=4095){u[a+1086>>1]=g+1;u[v[a+1076>>2]+(c<<1)>>1]=g;v[v[a+1072>>2]+(c<<2)>>2]=f;break E}eb(v[a+1072>>2],255,20012);v[a+1088>>2]=1;c=u[a+1100>>1];u[a+1086>>1]=c+2;Km(a,c)}h=e;c=v[a+988>>2];if(c){continue}break}}Km(a,h<<16>>16);Km(a,u[a+1104>>1])}Qa[v[v[b>>2]+44>>2]](b,0)|0}function x_(a,b,c){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,p=0,q=0,r=0,s=0,z=0,A=0;f=Ma-32|0;Ma=f;o=v[b+100>>2];d=1;a:{b:{c:{d:{e:{f:{g:{if(Mb(a,0)){break g}g=Dd(a,454672,b+184|0);v[f+28>>2]=g;if(g){break g}d=3;if(v[b+184>>2]!=1885562369){break g}e=v[b+188>>2];if(!e){break g}g=v[a+4>>2];if(g>>>0<16){break g}d=g>>>4|0;if(!(e>>>0<=9&d>>>0>=e>>>0)){e=g>>>0<144?d:9;v[b+188>>2]=e}g=0;e=yb(o,16,0,e,0,f+28|0);v[b+192>>2]=e;d=v[f+28>>2];if(d){break g}if(v[b+188>>2]){while(1){d=Dd(a,454688,e);v[f+28>>2]=d;if(d){break d}e=e+16|0;g=g+1|0;d=v[b+188>>2];if(g>>>0>>0){continue}break}e=v[b+192>>2];if((d|0)==1){break f}g=d}d=0;h:{i:{while(1){n=d+1|0;if((n|0)==(g|0)){k=g-1|0;g=v[a+4>>2];e=v[b+192>>2];break i}i=d^-1;h=v[e+12>>2];l=0;k=0;while(1){m=(k<<4)+e|0;k=k+1|0;j=(k<<4)+e|0;g=v[j+12>>2];if(h>>>0>g>>>0){d=v[m+12>>2];v[f+16>>2]=v[m+8>>2];v[f+20>>2]=d;d=v[m+4>>2];v[f+8>>2]=v[m>>2];v[f+12>>2]=d;d=v[j+12>>2];v[m+8>>2]=v[j+8>>2];v[m+12>>2]=d;d=v[j+4>>2];v[m>>2]=v[j>>2];v[m+4>>2]=d;d=v[f+20>>2];v[j+8>>2]=v[f+16>>2];v[j+12>>2]=d;d=v[f+12>>2];v[j>>2]=v[f+8>>2];v[j+4>>2]=d;l=1;g=v[j+12>>2]}d=v[m+8>>2];if(d>>>0>g>>>0|y[m+12>>2]>g-d>>>0){break h}h=g;g=v[b+188>>2];if(i+g>>>0>k>>>0){continue}break}k=g-1|0;if(l){d=n;if(k>>>0>d>>>0){continue}}break}g=v[a+4>>2];e=v[b+192>>2];n=e;if(!k){break e}}n=(k<<4)+e|0;h=0;d=e;while(1){i=v[d+8>>2];if(!(i>>>0<=g>>>0&y[d+12>>2]<=g-i>>>0)){v[f+28>>2]=8;break d}d=d+16|0;h=h+1|0;if((k|0)!=(h|0)){continue}break}break e}v[f+28>>2]=9;break d}v[f+4>>2]=d;break b}g=v[a+4>>2];n=e}d=v[n+12>>2];if(d>>>0>g>>>0){v[f+28>>2]=8;break d}d=g-d|0;if(d>>>0>2]){v[n+8>>2]=d}v[f+4>>2]=0;break c}d=v[b+192>>2];if(d){Qa[v[o+8>>2]](o,d)}e=0;v[b+192>>2]=0;d=v[f+28>>2];v[f+4>>2]=d;if(d){break b}}v[b>>2]=1;v[b+4>>2]=0;d=0;if((c|0)<0){break a}m=v[b+100>>2];k=3;j:{k:{c=v[b+188>>2];l:{if(!c){break l}d=0;while(1){if(v[(d<<4)+e>>2]==1){k=83;g=v[((d<<4)+e|0)+12>>2];c=v[a+8>>2];if(g>>>0>>0){break l}if(re(a,g-c|0)){break l}n=v[((d<<4)+e|0)+8>>2];c=0;v[f+8>>2]=0;d=xi(a,f+8|0);if(!v[f+8>>2]){break k}d=0;break j}d=d+1|0;if((c|0)!=(d|0)){continue}break}}v[f+8>>2]=k;c=0;d=0;break j}if(d>>>0>255){d=0;break j}e=d&4;m:{if(e){h=Id(a,f+8|0);break m}h=xi(a,f+8|0)}if(v[f+8>>2]){d=0;break j}if(h>>>0>(n>>>0)/9>>>0){v[f+8>>2]=8;d=0;break j}j=h>>>0<256?h:256;v[b+280>>2]=j;d=yb(m,12,0,j,0,f+8|0);if(v[f+8>>2]){break j}n:{if(!j){break n}k=0;if(!e){while(1){g=Dd(a,454752,B(k,12)+d|0);v[f+8>>2]=g;if(g){break j}k=k+1|0;if((j|0)!=(k|0)){continue}break n}}while(1){g=Dd(a,454720,B(k,12)+d|0);v[f+8>>2]=g;if(g){break j}k=k+1|0;if((j|0)!=(k|0)){continue}break}}g=re(a,B(h-j|0,9));v[f+8>>2]=g;if(g){v[f+8>>2]=83;break j}o:{g=h&3;if(!g){break o}g=re(a,4-g|0);v[f+8>>2]=g;if(!g){break o}v[f+8>>2]=83;break j}p:{if(e){g=Id(a,f+8|0);break p}g=xi(a,f+8|0)}if(v[f+8>>2]){break j}if(g>>>0>n+B(h,-9)>>>0){v[f+8>>2]=8;break j}l=g>>>0<16777472?g:16777472;c=yb(m,1,0,l+1|0,0,f+8|0);if(v[f+8>>2]){break j}g=_e(a,c,l);v[f+8>>2]=g;if(g){break j}k=0;n=yb(m,12,0,j,0,f+8|0);if(v[f+8>>2]){break j}v[b+284>>2]=n;if(j){while(1){g=B(k,12);e=g+d|0;h=v[e>>2];if(!((h|0)>=0&h>>>0<=l>>>0)){v[f+8>>2]=9;break j}i=g+n|0;z=i,A=Ij(m,c+h|0,f+8|0),v[z>>2]=A;if(v[f+8>>2]){break j}g=w[e+4|0];t[i+4|0]=g;h=v[e+8>>2];q:{if(g){if(!(h>>>0<=l>>>0&(h|0)>=0)){v[f+8>>2]=9;break j}z=i,A=Ij(m,c+h|0,f+8|0),v[z+8>>2]=A;if(!v[f+8>>2]){break q}break j}v[i+8>>2]=h}k=k+1|0;if((j|0)!=(k|0)){continue}break}}v[f+8>>2]=0}if(d){Qa[v[m+8>>2]](m,d)}if(c){Qa[v[m+8>>2]](m,c)}c=v[f+8>>2];v[f+4>>2]=c;if(c){break b}r:{s:{c=v[b+188>>2];if(!c){break s}e=v[b+192>>2];d=0;while(1){if(v[(d<<4)+e>>2]!=256){d=d+1|0;if((d|0)!=(c|0)){continue}break s}break}n=0;break r}c=w_(a,b,2);v[f+4>>2]=c;if(c){break b}c=v[b+188>>2];e=v[b+192>>2];n=1}if(!c){v[f+4>>2]=3;break b}i=v[b+100>>2];d=0;t:{u:{while(1){if(v[(d<<4)+e>>2]==4){c=83;h=v[((d<<4)+e|0)+12>>2];g=v[a+8>>2];if(h>>>0>>0){break t}if(re(a,h-g|0)){break t}g=v[((d<<4)+e|0)+8>>2];v[f+28>>2]=0;l=xi(a,f+28|0);c=v[f+28>>2];if(c){break t}if(((l|256)&-256)==256){break u}v[f+4>>2]=3;break b}d=d+1|0;if((d|0)!=(c|0)){continue}break}v[f+4>>2]=3;break b}h=l&4;v:{if(l>>>0<=255){if(h){d=Id(a,f+28|0);break v}d=xi(a,f+28|0);break v}if(h){d=Ac(a,f+28|0);break v}d=_$(a,f+28|0)}c=3;if(v[f+28>>2]){break t}w:{if(l>>>0<=255){c=8;if(d-1>>>0<(g>>>0)/12>>>0){break w}break t}c=8;if(d-1>>>0>=(g>>>0)/5>>>0){break t}}c=(d>>>0<65534?d:65534)+1|0;v[b+288>>2]=c;d=yb(i,16,0,c,0,f+28|0);v[b+292>>2]=d;c=v[f+28>>2];if(c){break t}x:{y:{z:{A:{if(y[b+288>>2]<2){break A}c=d+16|0;e=1;if(l>>>0<=255){g=h?454912:454944;while(1){d=Dd(a,g,c);v[f+28>>2]=d;v[c+12>>2]=0;if(d){break y}if(!(u[c+2>>1]>=u[c>>1]&u[c+6>>1]>=(0-u[c+8>>1]|0))){v[c>>2]=0;v[c+4>>2]=0;u[c+8>>1]=0}c=c+16|0;e=e+1|0;if(e>>>0>2]){continue}break}break A}while(1){d=Dd(a,454976,f+8|0);if(d){break z}u[c>>1]=w[f+8|0]-128;u[c+2>>1]=w[f+9|0]-128;u[c+4>>1]=w[f+10|0]-128;d=w[f+11|0]-128|0;u[c+6>>1]=d;g=w[f+12|0];u[c+10>>1]=0;u[c+8>>1]=g-128;v[f+28>>2]=0;v[c+12>>2]=0;if(!((d|0)>=(128-g|0)&u[c+2>>1]>=u[c>>1])){v[c>>2]=0;v[c+4>>2]=0;u[c+8>>1]=0}c=c+16|0;e=e+1|0;if(e>>>0>2]){continue}break}}v[f+4>>2]=0;break x}v[f+28>>2]=d;v[c+12>>2]=0}c=v[b+292>>2];if(c){Qa[v[i+8>>2]](i,c)}v[b+292>>2]=0;c=v[f+28>>2];v[f+4>>2]=c;if(c){break b}}c=v[b+188>>2];if(!c){v[f+4>>2]=3;break b}h=v[b+192>>2];d=0;B:{C:{D:{E:{while(1){if(v[h+(d<<4)>>2]==8){e=83;g=v[(h+(d<<4)|0)+12>>2];c=v[a+8>>2];if(g>>>0>>0){break C}if(re(a,g-c|0)){break C}l=v[(h+(d<<4)|0)+8>>2];e=Ed(a,8);v[f+8>>2]=e;if(e){break C}i=$$(a);h=i&4;if(!h){break E}c=Ig(a);break D}d=d+1|0;if((c|0)!=(d|0)){continue}break}v[f+4>>2]=3;break b}c=$$(a)}dd(a);if(i>>>0>255){v[f+4>>2]=3;break b}e=3;j=c>>>0<65534?c:65534;if((j|0)!=(v[b+288>>2]-1|0)){break C}F:{if(!j){break F}g=(v[a+8>>2]+(j<<2)|0)+16|0;d=1;if(!h){while(1){c=xi(a,f+8|0);v[(v[b+292>>2]+(d<<4)|0)+12>>2]=g+(c>>>0>l>>>0?0:c);c=(d|0)==(j|0);d=d+1|0;if(!c){continue}break F}}while(1){c=Id(a,f+8|0);v[(v[b+292>>2]+(d<<4)|0)+12>>2]=g+(c>>>0>l>>>0?0:c);c=(d|0)!=(j|0);d=d+1|0;if(c){continue}break}}e=v[f+8>>2];if(e){break C}G:{if(h){Id(a,f+8|0);e=v[f+8>>2];if(e){break C}Id(a,f+8|0);e=v[f+8>>2];if(e){break C}Id(a,f+8|0);e=v[f+8>>2];if(e){break C}Id(a,f+8|0);break G}xi(a,f+8|0);e=v[f+8>>2];if(e){break C}xi(a,f+8|0);e=v[f+8>>2];if(e){break C}xi(a,f+8|0);e=v[f+8>>2];if(e){break C}xi(a,f+8|0)}e=v[f+8>>2];if(!e){break B}}v[f+4>>2]=e;break b}v[b+312>>2]=i;v[f+4>>2]=0;e=0;i=Ma-16|0;Ma=i;h=3;c=v[b+188>>2];H:{if(!c){break H}m=b+296|0;d=v[b+192>>2];j=v[b+100>>2];while(1){if(v[d+(e<<4)>>2]==32){h=83;d=v[(d+(e<<4)|0)+12>>2];c=v[a+8>>2];if(d>>>0>>0){break H}if(re(a,d-c|0)){break H}v[i+12>>2]=0;d=xi(a,i+12|0);h=v[i+12>>2];if(h){break H}h=3;if(d>>>0>255){break H}c=i;l=d&4;I:{if(l){h=Dd(a,455008,m);break I}h=Dd(a,455040,m)}v[c+12>>2]=h;if(h){break H}h=8;e=x[b+298>>1];d=x[b+296>>1];if(e>>>0>>0|e>>>0>255){break H}g=x[b+302>>1];c=x[b+300>>1];if(g>>>0>>0|g>>>0>255){break H}c=B((g-c|0)+1|0,(e-d|0)+1|0);z=b,A=yb(j,2,0,c,0,i+12|0),v[z+308>>2]=A;h=v[i+12>>2];if(h){break H}c=Ed(a,c<<1);v[i+12>>2]=c;J:{if(!c){g=x[b+304>>1];c=g>>>8|0;e=x[b+300>>1];K:{L:{if(c>>>0>>0|x[b+302>>1]>>0){break L}d=x[m>>1];g=g&255;if(d>>>0>g>>>0){break L}k=x[b+298>>1];if(k>>>0>=g>>>0){break K}}d=x[b+296>>1];u[b+304>>1]=d+(e<<8);k=x[b+298>>1];c=e;g=d}h=1;c=v[a+32>>2]+(((g&65535)-d|0)+B((k-d|0)+1|0,c-e|0)<<1)|0;c=w[c+!l|0]<<8|w[c+((l|0)!=0)|0];if((c|0)!=65535){c=c+1&65535;h=c>>>0>2]?c:1}g=v[b+292>>2];d=(h<<4)+g|0;c=v[d+4>>2];v[g>>2]=v[d>>2];v[g+4>>2]=c;c=v[d+12>>2];v[g+8>>2]=v[d+8>>2];v[g+12>>2]=c;M:{h=x[b+300>>1];if(h>>>0>x[b+302>>1]){break M}c=x[b+296>>1];d=x[b+298>>1];if(c>>>0>d>>>0){break M}e=v[b+308>>2];while(1){N:{if((c&65535)>>>0>d>>>0){break N}if(!l){while(1){d=Lq(a);u[e>>1]=(d|0)==65535?-1:d+1|0;e=e+2|0;d=x[b+298>>1];c=c+1|0;if(d>>>0>=(c&65535)>>>0){continue}break N}}while(1){d=ae(a);u[e>>1]=(d|0)==65535?-1:d+1|0;e=e+2|0;d=x[b+298>>1];c=c+1|0;if(d>>>0>=(c&65535)>>>0){continue}break}}h=h+1|0;if(x[b+302>>1]<(h&65535)>>>0){break M}c=x[m>>1];continue}}dd(a);break J}c=v[b+308>>2];if(c){Qa[v[j+8>>2]](j,c)}v[b+308>>2]=0}h=v[i+12>>2];break H}e=e+1|0;if((c|0)!=(e|0)){continue}break}}Ma=i+16|0;v[f+4>>2]=h;if(h){break b}if(!n){a=w_(a,b,256);v[f+4>>2]=a;if(a){break b}}a=v[b+8>>2];v[b+8>>2]=a|18;if(w[b+199|0]){v[b+8>>2]=a|22}a=0;d=0;n=0;k=0;m=0;p=Ma-16|0;Ma=p;v[p+12>>2]=0;i=b;v[b+12>>2]=0;h=1;l=v[b+100>>2];e=v[b+280>>2];O:{P:{if((e|0)<1){g=1;j=1;break P}j=v[i+284>>2];while(1){Q:{b=a;c=hb(v[j+B(b,12)>>2],309402);a=b+1|0;if((e|0)<=(a|0)){break Q}if(c){continue}}break}a=0;d=2;R:{if(c){h=0;break R}b=j+B(b,12)|0;if(!w[b+4|0]){h=0;break R}h=0;S:{switch(w[v[b+8>>2]]-73|0){case 0:case 6:case 32:case 38:break S;default:break R}}v[i+12>>2]=1;h=(w[v[b+8>>2]]&223)==79?275194:296463;d=3}while(1){T:{b=a;c=hb(v[j+B(b,12)>>2],312068);a=b+1|0;if((e|0)<=(a|0)){break T}if(c){continue}}break}a=0;g=1;U:{if(c){break U}b=j+B(b,12)|0;g=1;if(!w[b+4|0]){break U}g=1;if((w[v[b+8>>2]]|32)!=98){break U}v[i+12>>2]=d;k=288358;g=0}while(1){V:{b=a;d=hb(v[j+B(b,12)>>2],312090);a=b+1|0;if((e|0)<=(a|0)){break V}if(d){continue}}break}a=0;c=0;W:{if(d){break W}b=j+B(b,12)|0;c=0;if(!w[b+4|0]){break W}b=v[b+8>>2];d=w[b|0];c=0;if(!d){break W}c=0;if((d|0)==78){break W}c=0;if((d|0)==110){break W}c=b}while(1){X:{d=a;r=hb(v[j+B(d,12)>>2],312104);a=d+1|0;if((e|0)<=(a|0)){break X}if(r){continue}}break}b=0;e=0;Y:{if(r){break Y}Z:{a=j+B(d,12)|0;if(!w[a+4|0]){break Z}a=v[a+8>>2];d=w[a|0];if(!d|(d|0)==78){break Z}e=0;if((d|0)==110){break Y}b=a;n=zb(b);e=n+1|0;break Y}e=0}_:{if(g){k=0;break _}m=zb(k);e=(m+e|0)+1|0}d=0;if(h){s=zb(h);e=(s+e|0)+1|0;a=h}else{a=0}r=a;$:{if(!c){a=0;break $}a=zb(c);e=(e+a|0)+1|0;d=c}h=!h;j=!c;if(e){break O}}e=8;n=7;b=240100}c=cc(l,e,p+12|0);v[i+24>>2]=c;e=v[p+12>>2];if(!e){if(b){q=cb(c,b,n);aa:{if(!n){break aa}e=n&3;c=0;if(n-1>>>0>=3){b=n&-4;while(1){l=c+q|0;if(w[l|0]==32){t[l|0]=45}l=q+(c|1)|0;if(w[l|0]==32){t[l|0]=45}l=q+(c|2)|0;if(w[l|0]==32){t[l|0]=45}l=q+(c|3)|0;if(w[l|0]==32){t[l|0]=45}c=c+4|0;b=b-4|0;if(b){continue}break}}if(!e){break aa}while(1){b=c+q|0;if(w[b|0]==32){t[b|0]=45}c=c+1|0;e=e-1|0;if(e){continue}break}}c=n+q|0}if(!g){if(v[i+24>>2]!=(c|0)){t[c|0]=32;c=c+1|0}c=cb(c,k,m)+m|0}if(!h){if(v[i+24>>2]!=(c|0)){t[c|0]=32;c=c+1|0}c=cb(c,r,s)+s|0}if(!j){if(v[i+24>>2]!=(c|0)){t[c|0]=32;c=c+1|0}g=cb(c,d,a);ba:{if(!a){a=0;break ba}e=a&3;c=0;if(a-1>>>0>=3){b=a&-4;while(1){d=c+g|0;if(w[d|0]==32){t[d|0]=45}d=g+(c|1)|0;if(w[d|0]==32){t[d|0]=45}d=g+(c|2)|0;if(w[d|0]==32){t[d|0]=45}d=g+(c|3)|0;if(w[d|0]==32){t[d|0]=45}c=c+4|0;b=b-4|0;if(b){continue}break}}if(!e){break ba}while(1){b=c+g|0;if(w[b|0]==32){t[b|0]=45}c=c+1|0;e=e-1|0;if(e){continue}break}}c=a+g|0}t[c|0]=0;e=v[p+12>>2]}Ma=p+16|0;v[f+4>>2]=e;if(e){break b}a=tn(i,312039);ca:{if(!(!a|!w[a+4|0])){z=i,A=Ij(o,v[a+8>>2],f+4|0),v[z+20>>2]=A;if(!v[f+4>>2]){break ca}break b}v[i+20>>2]=0}v[i+28>>2]=1;v[i+16>>2]=v[i+288>>2];a=yb(o,16,0,1,0,f+4|0);v[i+32>>2]=a;if(v[f+4>>2]){break b}v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;c=32767;b=v[i+208>>2]+v[i+204>>2]|0;g=b&32768?0-b|0:b;d=b;b=b>>31;d=d+b^b;u[a>>1]=d>>>0>32767?32767:g;b=tn(i,311469);da:{if(b){d=v[b+8>>2];b=d>>31;if((b^b+d)>>>0>327665){break da}b=(d+5|0)/10|0;c=b&32768?0-b|0:b;break da}c=fc(d>>>0>32767?32767:g<<16>>16,2,3)}u[a+2>>1]=c;c=tn(i,311842);if(c){c=v[c+8>>2];d=c>>31;b=a;c=d^c+d;if(c>>>0<=328898){c=fc(c,460800,72270)}else{c=32767}v[b+4>>2]=c}c=tn(i,311876);if(c){d=v[c+8>>2];c=d>>31;b=a;if((c^c+d)>>>0<=32767){d=d<<16;c=d>>16;c=((d|0)<0?0-c|0:c)<<6}else{c=2097088}v[b+12>>2]=c}c=tn(i,308527);b=0;ea:{if(!c){break ea}d=v[c+8>>2];c=d>>31;b=32767;if((c^c+d)>>>0>32767){break ea}b=(d&32768?0-d|0:d)<<16>>16}fa:{ga:{ha:{ia:{c=tn(i,308401);if(c){e=32767;d=v[c+8>>2];c=d>>31;if((c^c+d)>>>0>32767){break ia}e=d&32768?0-d|0:d;d=v[a+12>>2];if(d){break ga}d=v[a+4>>2];v[a+12>>2]=d;if(!(e&65535)){break fa}c=a+12|0;break ha}d=v[a+12>>2];if(d){break fa}d=v[a+4>>2];v[a+12>>2]=d;break fa}d=v[a+12>>2];if(d){break ga}d=v[a+4>>2];v[a+12>>2]=d;c=a+12|0}d=fc(d,e<<16>>16,72);v[c>>2]=d}if(!b|!(e&65535)){break fa}d=fc(d,b,e<<16>>16)}v[a+8>>2]=d;b=tn(i,308417);a=tn(i,311567);if(!(!b|!w[b+4|0]|(!a|!w[a+4|0]))){z=i,A=Ij(o,v[a+8>>2],f+4|0),v[z+176>>2]=A;if(v[f+4>>2]){break b}z=i,A=Ij(o,v[b+8>>2],f+4|0),v[z+180>>2]=A}if(v[f+4>>2]){break b}d=0;break a}v[f+4>>2]=c}d=3}Ma=f+32|0;return d}function iJ(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;f=Ma-176|0;Ma=f;v[f+172>>2]=0;p=v[a+12>>2];n=v[a>>2];if(x[n+290>>1]>>0){u[n+290>>1]=c}v[a+20>>2]=b;q=65536;m=65536;if(!(t[a+16|0]&1)){e=v[v[a+4>>2]+44>>2];q=v[e+8>>2];m=v[e+4>>2]}A=v[v[n+128>>2]+52>>2];a:{b:{if(A){e=Qa[v[v[A>>2]>>2]](v[A+4>>2],b,f+120|0)|0;v[f+172>>2]=e;if(e){break a}g=v[f+124>>2];v[a+28>>2]=g;v[f+160>>2]=0;v[f+164>>2]=0;v[f+152>>2]=0;v[f+156>>2]=0;v[f+144>>2]=0;v[f+148>>2]=0;v[f+136>>2]=0;v[f+140>>2]=0;v[f+128>>2]=0;v[f+132>>2]=0;h=v[f+120>>2];e=f+128|0;v[e+32>>2]=0;v[e+8>>2]=0;v[e+4>>2]=g;v[e>>2]=h;v[e+20>>2]=0;v[e+24>>2]=0;v[a+24>>2]=e;e=0;break b}e=hJ(n,b,a+28|0)}g=v[a+28>>2];c:{if((g|0)>=1){h=v[n+728>>2];if(!(h|v[v[n+128>>2]+52>>2])){v[f+172>>2]=8;break c}g=Qa[v[n+520>>2]](a,b,e+h|0,g)|0;v[f+172>>2]=g;if(g){break c}I=f,J=Qa[v[n+528>>2]](a)|0,v[I+172>>2]=J;Qa[v[n+524>>2]](a);if(v[f+172>>2]){break c}g=v[a+28>>2]}if(!(x[a+32>>1]?g:0)){v[a+36>>2]=0;v[a+40>>2]=0;v[a+44>>2]=0;v[a+48>>2]=0}g=v[a>>2];h=v[a+24>>2];u[f+80>>1]=0;u[f>>1]=0;u[f+40>>1]=0;u[f+64>>1]=0;k=v[h+8>>2];Qa[v[v[g+540>>2]+140>>2]](g,0,b,f+80|0,f+40|0);d:{if(w[g+292|0]){Qa[v[v[g+540>>2]+140>>2]](g,1,b,f,f- -64|0);break d}j=v[a+48>>2];if(x[g+372>>1]!=65535){o=u[g+442>>1];u[f>>1]=o-j;j=o-u[g+444>>1]|0;g=j>>31;u[f+64>>1]=g^g+j;break d}o=u[g+220>>1];u[f>>1]=o-j;j=o-u[g+222>>1]|0;g=j>>31;u[f+64>>1]=g^g+j}g=Mb(h,k);if(g){v[f+172>>2]=g;break c}h=u[f+80>>1];v[a+52>>2]=h;g=x[f+40>>1];v[a+56>>2]=g;k=u[f>>1];v[a+172>>2]=k;o=x[f+64>>1];v[a+176>>2]=o;if(!w[a+64|0]){v[a+60>>2]=g;t[a+64|0]=1}v[f+172>>2]=0;if(d){break c}d=v[a+28>>2];if(!(x[a+32>>1]?d:0)){e=v[a>>2];c=0;e:{if(v[v[e+96>>2]+64>>2]!=40){break e}d=v[a+156>>2];c=0;if(!d){break e}c=w[d+613|0]!=0&w[d+618|0]!=0}v[a+80>>2]=0;v[a+72>>2]=0;c=c?g>>>1|0:0;v[a+188>>2]=c;d=k+v[a+48>>2]|0;v[a+184>>2]=d;v[a+180>>2]=c;c=v[a+36>>2]-h|0;v[a+68>>2]=c;v[a+192>>2]=d-o;v[a+76>>2]=c+g;c=v[v[e+128>>2]+52>>2];f:{if(!c){break f}d=v[v[c>>2]+8>>2];if(!d){break f}v[f+92>>2]=0;v[f+88>>2]=g;v[f+84>>2]=0;v[f+80>>2]=h;if(Qa[d|0](v[c+4>>2],b,0,f+80|0)|0){break f}d=u[f+80>>1];c=x[f+88>>1];v[a+172>>2]=0;v[a+176>>2]=0;v[a+56>>2]=c;v[a+52>>2]=d;if(w[a+64|0]){break f}v[a+60>>2]=c;t[a+64|0]=1}g:{if(!(w[n+9|0]&128?1:x[n+6>>1]&32767)){break g}v[f+76>>2]=16843009;v[f+64>>2]=65536;v[f+68>>2]=196610;v[f+24>>2]=0;v[f+28>>2]=0;v[f+16>>2]=0;v[f+20>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;v[f>>2]=0;v[f+4>>2]=0;v[f+80>>2]=v[a+68>>2];v[f+84>>2]=v[a+72>>2];v[f+88>>2]=v[a+76>>2];v[f+92>>2]=v[a+80>>2];v[f+96>>2]=v[a+180>>2];v[f+100>>2]=v[a+184>>2];v[f+104>>2]=v[a+188>>2];v[f+108>>2]=v[a+192>>2];v[f+40>>2]=262148;v[f+52>>2]=f- -64;v[f+48>>2]=f+76;v[f+44>>2]=f+80;b=dJ(v[a>>2],b,f+40|0,f,4);v[f+172>>2]=b;if(b){break c}v[a+68>>2]=v[f+80>>2];v[a+72>>2]=v[f+84>>2];v[a+76>>2]=v[f+88>>2];v[a+80>>2]=v[f+92>>2];v[a+180>>2]=v[f+96>>2];v[a+184>>2]=v[f+100>>2];v[a+188>>2]=v[f+104>>2];v[a+192>>2]=v[f+108>>2];b=v[v[a>>2]+740>>2];if(!(b&2)){v[a+60>>2]=((v[f+8>>2]-v[f>>2]|0)+32&-64)/64}if(b&16){break g}v[a+176>>2]=((v[f+24>>2]-v[f+16>>2]|0)+32&-64)/64}if(!(t[a+16|0]&1)){I=a,J=xb(v[a+68>>2],m),v[I+68>>2]=J;I=a,J=xb(v[a+76>>2],m),v[I+76>>2]=J;I=a,J=xb(v[a+180>>2],m),v[I+180>>2]=J;I=a,J=xb(v[a+184>>2],q),v[I+184>>2]=J;I=a,J=xb(v[a+188>>2],m),v[I+188>>2]=J;I=a,J=xb(v[a+192>>2],q),v[I+192>>2]=J}v[f+172>>2]=0;break c}s=v[a>>2];j=0;h:{if(v[v[s+96>>2]+64>>2]!=40){break h}z=v[a+156>>2];j=0;if(!z){break h}j=w[z+613|0]!=0&w[z+618|0]!=0}v[a+80>>2]=0;v[a+72>>2]=0;j=j?g>>>1|0:0;v[a+188>>2]=j;k=k+v[a+48>>2]|0;v[a+184>>2]=k;v[a+180>>2]=j;j=v[a+36>>2]-h|0;v[a+68>>2]=j;v[a+192>>2]=k-o;v[a+76>>2]=g+j;j=v[v[s+128>>2]+52>>2];i:{if(!j){break i}k=v[v[j>>2]+8>>2];if(!k){break i}v[f+92>>2]=0;v[f+88>>2]=g;v[f+84>>2]=0;v[f+80>>2]=h;j:{if(Qa[k|0](v[j+4>>2],b,0,f+80|0)|0){break j}g=u[f+80>>1];d=x[f+88>>1];v[a+172>>2]=0;v[a+176>>2]=0;v[a+56>>2]=d;v[a+52>>2]=g;if(w[a+64|0]){break j}v[a+60>>2]=d;t[a+64|0]=1}d=v[a+28>>2]}d=Qa[v[n+520>>2]](a,b,(e+v[n+728>>2]|0)+10|0,d-10|0)|0;v[f+172>>2]=d;if(d){break c}k:{d=u[a+32>>1];if((d|0)>=1){b=Qa[v[n+532>>2]](a)|0;v[f+172>>2]=b;if(b){break k}Qa[v[n+524>>2]](a);b=0;l=Ma-16|0;Ma=l;g=v[a+12>>2];v[l+12>>2]=0;d=v[v[a>>2]+100>>2];e=v[a+72>>2];h=u[g+58>>1];c=v[g+60>>2]+(h<<3)|0;v[c>>2]=v[a+68>>2];v[c+4>>2]=e;e=v[a+80>>2];j=h+1|0;c=v[g+60>>2]+(j<<3)|0;v[c>>2]=v[a+76>>2];v[c+4>>2]=e;e=v[a+184>>2];k=h+2|0;c=v[g+60>>2]+(k<<3)|0;v[c>>2]=v[a+180>>2];v[c+4>>2]=e;e=v[a+192>>2];o=h+3|0;c=v[g+60>>2]+(o<<3)|0;v[c>>2]=v[a+188>>2];v[c+4>>2]=e;c=g- -64|0;t[h+v[c>>2]|0]=0;t[j+v[c>>2]|0]=0;t[k+v[c>>2]|0]=0;t[o+v[c>>2]|0]=0;q=h+4|0;c=v[a>>2];l:{if(w[c+9|0]&128?1:x[c+6>>1]&32767){b=yb(d,8,0,q,0,l+12|0);if(v[l+12>>2]){break l}c=dJ(v[a>>2],v[a+20>>2],g+56|0,b,q);v[l+12>>2]=c;e=v[v[a>>2]+740>>2];if(!(e&2)){v[a+60>>2]=((v[(j<<3)+b>>2]-v[(h<<3)+b>>2]|0)+32&-64)/64}if(!(e&16)){v[a+176>>2]=((v[(o<<3)+b>>2]-v[(k<<3)+b>>2]|0)+32&-64)/64}if(c){break l}}m=0;c=v[a+16>>2];if(!(c&2)){c=x[g+58>>1];u[a+128>>1]=c;u[a+130>>1]=x[g+56>>1];v[a+132>>2]=v[g+76>>2];e=v[g+60>>2];v[a+136>>2]=e;z=v[g+80>>2];v[a+140>>2]=z;v[a+144>>2]=v[g+64>>2];s=v[g+68>>2];u[a+152>>1]=0;v[a+148>>2]=s;cb(z,e,(c<<3)+32|0);c=v[a+16>>2]}m:{if(c&1){break m}e=v[g+60>>2];q=e+(q<<3)|0;c=v[v[a+4>>2]+44>>2];m=v[c+8>>2];i=v[c+4>>2];c=v[a>>2];if(!(x[c+6>>1]&32767|w[c+9|0]&128)){if((h|0)<=-4){break m}while(1){I=e,J=xb(v[e>>2],i),v[I>>2]=J;I=e,J=xb(v[e+4>>2],m),v[I+4>>2]=J;e=e+8|0;if(q>>>0>e>>>0){continue}break}break m}if((h|0)<-3){break m}c=b;while(1){I=e,J=xb(v[c>>2],i)+32>>6,v[I>>2]=J;I=e,J=xb(v[c+4>>2],m)+32>>6,v[I+4>>2]=J;c=c+8|0;e=e+8|0;if(q>>>0>e>>>0){continue}break}}e=v[a>>2];n:{if(!(!(w[e+740|0]&2)|w[a+16|0]&2)){I=a,J=xb(v[a+68>>2],i),v[I+68>>2]=J;I=a,J=xb(v[a+76>>2],i),v[I+76>>2]=J;e=v[a>>2];break n}c=v[g+60>>2]+(h<<3)|0;h=v[c+4>>2];v[a+68>>2]=v[c>>2];v[a+72>>2]=h;c=v[g+60>>2]+(j<<3)|0;h=v[c+4>>2];v[a+76>>2]=v[c>>2];v[a+80>>2]=h}o:{if(!(!(w[e+740|0]&16)|w[a+16|0]&2)){I=a,J=xb(v[a+180>>2],i),v[I+180>>2]=J;I=a,J=xb(v[a+184>>2],m),v[I+184>>2]=J;I=a,J=xb(v[a+188>>2],i),v[I+188>>2]=J;I=a,J=xb(v[a+192>>2],m),v[I+192>>2]=J;break o}c=v[g+60>>2]+(k<<3)|0;e=v[c+4>>2];v[a+180>>2]=v[c>>2];v[a+184>>2]=e;c=v[g+60>>2]+(o<<3)|0;e=v[c+4>>2];v[a+188>>2]=v[c>>2];v[a+192>>2]=e}if(w[a+16|0]&2){break l}u[a+128>>1]=x[a+128>>1]+4;I=l,J=s$(a,0),v[I+12>>2]=J}if(b){Qa[v[d+8>>2]](d,b)}Ma=l+16|0;a=v[l+12>>2];v[f+172>>2]=a;if(a){break c}sw(p);break c}if((d|0)>-1){break k}h=v[n+100>>2];u[a+32>>1]=65535;g=a+204|0;p:{q:{d=v[a+204>>2];r:{if(d){e=c;while(1){if(!e){e=d;while(1){v[e+8>>2]=-1;e=v[e+4>>2];if(e){continue}break}if(wn(g,b)){break r}v[d+8>>2]=b;break p}e=e-1|0;d=v[d+4>>2];if(d){continue}break}}if(!wn(g,b)){break q}}v[f+172>>2]=21;break k}d=cc(h,12,f+172|0);if(v[f+172>>2]){break k}v[d+8>>2]=b;iB(g,d)}d=u[p+22>>1];z=u[p+20>>1];e=Qa[v[n+536>>2]](a)|0;v[f+172>>2]=e;if(e){break k}F=v[a+164>>2];Qa[v[n+524>>2]](a);if(w[n+9|0]&128?1:x[n+6>>1]&32767){g=v[p+84>>2];v[f+92>>2]=0;v[f+84>>2]=0;v[f+88>>2]=0;e=g+4|0;u[f+80>>1]=e;u[f+82>>1]=e;j=yb(h,8,0,e<<16>>16,0,f+172|0);e=0;s:{if(v[f+172>>2]){break s}k=yb(h,1,0,u[f+82>>1],0,f+172|0);if(v[f+172>>2]){break s}o=yb(h,2,0,u[f+82>>1],0,f+172|0);if(v[f+172>>2]){break s}e=yb(h,8,0,u[f+82>>1],0,f+172|0);if(v[f+172>>2]){break s}s=g<<16;B=s>>16;if((s|0)>=1){g=v[p+88>>2];while(1){r=j+(i<<3)|0;v[r>>2]=v[g+8>>2];v[r+4>>2]=v[g+12>>2];t[i+k|0]=1;u[o+(i<<1)>>1]=l;g=g+32|0;l=l+1|0;i=l<<16>>16;if((B|0)>(i|0)){continue}break}}g=j+(i<<3)|0;v[g>>2]=v[a+68>>2];v[g+4>>2]=v[a+72>>2];t[i+k|0]=1;u[o+(i<<1)>>1]=l;i=l+1|0;g=i<<16>>16;r=j+(g<<3)|0;v[r>>2]=v[a+76>>2];v[r+4>>2]=v[a+80>>2];t[g+k|0]=1;u[o+(g<<1)>>1]=i;i=l+2|0;g=i<<16>>16;r=j+(g<<3)|0;v[r>>2]=v[a+180>>2];v[r+4>>2]=v[a+184>>2];t[g+k|0]=1;u[o+(g<<1)>>1]=i;i=l+3|0;g=i<<16>>16;l=j+(g<<3)|0;v[l>>2]=v[a+188>>2];v[l+4>>2]=v[a+192>>2];t[g+k|0]=1;u[o+(g<<1)>>1]=i;v[f+92>>2]=o;v[f+88>>2]=k;v[f+84>>2]=j;b=dJ(n,b,f+80|0,e,u[f+82>>1]);v[f+172>>2]=b;if(b){break s}t:{if((s|0)<1){g=0;break t}b=v[p+88>>2];g=0;i=0;while(1){if(w[b+4|0]&2){g=j+(g<<3)|0;v[b+8>>2]=u[g>>1];v[b+12>>2]=u[g+4>>1]}b=b+32|0;i=i+1|0;g=i<<16>>16;if((B|0)>(g|0)){continue}break}}b=j+(g<<3)|0;v[a+68>>2]=v[b>>2];v[a+72>>2]=v[b+4>>2];v[a+76>>2]=v[b+8>>2];v[a+80>>2]=v[b+12>>2];v[a+180>>2]=v[b+16>>2];v[a+184>>2]=v[b+20>>2];v[a+188>>2]=v[b+24>>2];v[a+192>>2]=v[b+28>>2];b=v[n+740>>2];if(!(b&2)){g=(u[f+82>>1]<<3)+e|0;v[a+60>>2]=((v[g-24>>2]-v[g-32>>2]|0)+32&-64)/64}if(b&16){break s}b=(u[f+82>>1]<<3)+e|0;v[a+176>>2]=((v[b-8>>2]-v[b-16>>2]|0)+32&-64)/64}b=v[f+84>>2];if(b){Qa[v[h+8>>2]](h,b)}v[f+84>>2]=0;b=v[f+88>>2];if(b){Qa[v[h+8>>2]](h,b)}v[f+88>>2]=0;b=v[f+92>>2];if(b){Qa[v[h+8>>2]](h,b)}v[f+92>>2]=0;if(e){Qa[v[h+8>>2]](h,e)}if(v[f+172>>2]){break c}}b=v[a+16>>2];if(!(b&1)){I=a,J=xb(v[a+68>>2],m),v[I+68>>2]=J;I=a,J=xb(v[a+76>>2],m),v[I+76>>2]=J;I=a,J=xb(v[a+180>>2],m),v[I+180>>2]=J;I=a,J=xb(v[a+184>>2],q),v[I+184>>2]=J;I=a,J=xb(v[a+188>>2],m),v[I+188>>2]=J;I=a,J=xb(v[a+192>>2],q),v[I+192>>2]=J;b=v[a+16>>2]}if(b&1024){sw(p);v[v[a+8>>2]+72>>2]=1668246896;break c}o=v[p+48>>2];k=v[p+84>>2];q=v[a+28>>2];s=v[a+24>>2];sw(p);b=0;if(k){B=c+1|0;while(1){m=u[p+22>>1];e=v[a+176>>2];g=v[a+60>>2];i=v[a+188>>2];h=v[a+192>>2];l=v[a+180>>2];j=v[a+184>>2];r=v[a+76>>2];C=v[a+80>>2];G=v[a+68>>2];H=v[a+72>>2];D=b<<5;c=o<<5;E=iJ(a,v[D+(c+v[p+52>>2]|0)>>2],B,0);v[f+172>>2]=E;if(E){break c}c=D+(c+v[p+52>>2]|0)|0;if(!(w[c+5|0]&2)){v[a+188>>2]=i;v[a+192>>2]=h;v[a+180>>2]=l;v[a+184>>2]=j;v[a+76>>2]=r;v[a+80>>2]=C;v[a+68>>2]=G;v[a+72>>2]=H;v[a+176>>2]=e;v[a+60>>2]=g}r=x[p+22>>1];if((r|0)!=(m&65535)){g=0;h=Ma-32|0;Ma=h;j=v[a+12>>2];v[h+12>>2]=v[j+24>>2]+(m<<3);u[h+10>>1]=x[j+22>>1]-m;l=x[c+4>>1];C=l&200;if(C){xn(h+8|0,c+16|0);l=x[c+4>>1]}i=v[c+12>>2];e=v[c+8>>2];u:{v:{if(!(l&2)){g=21;e=d+e|0;if(e>>>0>=m>>>0){break u}i=i+m|0;if(i>>>0>=u[j+22>>1]>>>0){break u}g=e<<3;e=v[j+24>>2];g=g+e|0;e=e+(i<<3)|0;i=v[g+4>>2]-v[e+4>>2]|0;e=v[g>>2]-v[e>>2]|0;break v}if(!(e|i)){break u}if(!(!C|!(l&2048))){g=vJ(v[c+16>>2],v[c+20>>2]);m=vJ(v[c+28>>2],v[c+24>>2]);e=xb(e,g);i=xb(i,m)}if(t[a+16|0]&1){break v}g=v[v[a+4>>2]+44>>2];m=v[g+8>>2];e=xb(e,v[g+4>>2]);i=xb(i,m);if(!(w[c+4|0]&4)|w[a+16|0]&2){break v}e=v[v[v[a>>2]+96>>2]+64>>2]==35?e+32&-64:e;i=i+32&-64}g=0;if(!(e|i)){break u}Jg(h+8|0,e,i)}Ma=h+32|0;v[f+172>>2]=g;if(g){break c}}b=b+1|0;if((k|0)!=(b|0)){continue}break}b=c;c=r<<16>>16}else{c=d}v[a+164>>2]=F;v[a+28>>2]=q;v[a+24>>2]=s;if(!(!b|w[a+16|0]&2|(!(t[b+5|0]&1)|c>>>0<=d>>>0))){g=Ma-16|0;Ma=g;b=v[a+12>>2];e=u[b+22>>1];c=e+4|0;w:{if(!(!c|y[b+4>>2]>=u[b+58>>1]+(c+e|0)>>>0)){e=Ch(b,c,0);if(e){break w}e=u[b+22>>1]}c=v[b+24>>2]+(e<<3)|0;e=v[a+72>>2];v[c>>2]=v[a+68>>2];v[c+4>>2]=e;e=v[a+80>>2];c=v[b+24>>2]+(u[b+22>>1]<<3)|0;v[c+8>>2]=v[a+76>>2];v[c+12>>2]=e;e=v[a+184>>2];c=v[b+24>>2]+(u[b+22>>1]<<3)|0;v[c+16>>2]=v[a+180>>2];v[c+20>>2]=e;e=v[a+192>>2];c=v[b+24>>2]+(u[b+22>>1]<<3)|0;v[c+24>>2]=v[a+188>>2];v[c+28>>2]=e;t[v[b+28>>2]+u[b+22>>1]|0]=0;t[(u[b+22>>1]+v[b+28>>2]|0)+1|0]=0;t[(u[b+22>>1]+v[b+28>>2]|0)+2|0]=0;t[(u[b+22>>1]+v[b+28>>2]|0)+3|0]=0;c=v[a+24>>2];e=Mb(c,v[a+164>>2]);v[g+12>>2]=e;if(e){break w}b=Ac(c,g+12|0);e=v[g+12>>2];if(e){break w}x:{if(b>>>0>x[v[a>>2]+286>>1]){e=22;if((b|0)>v[a+28>>2]){break w}e=v[a+156>>2];v[g+8>>2]=v[e+392>>2];e=b$(v[e+8>>2],g+8|0,e+396|0,b);v[g+12>>2]=e;i=v[a+156>>2];v[i+392>>2]=x[g+8>>1];if(!e){break x}break w}if(!b){e=0;break w}i=v[a+156>>2]}e=_e(c,v[i+396>>2],b);v[g+12>>2]=e;if(e){break w}c=v[v[a+156>>2]+396>>2];e=v[a+8>>2];v[e+140>>2]=b;v[e+136>>2]=c;b=v[a+12>>2];i=x[b+22>>1]-d|0;u[a+128>>1]=i;u[a+130>>1]=x[b+20>>1]-z;c=d<<3;v[a+132>>2]=c+v[b+40>>2];v[a+136>>2]=c+v[b+24>>2];v[a+140>>2]=c+v[b+44>>2];e=d+v[b+28>>2]|0;v[a+144>>2]=e;b=v[b+32>>2];u[a+152>>1]=d;c=1;v[a+148>>2]=b+(z<<1);b=a;if(i&65535){t[e|0]=w[e|0]&231;e=x[a+128>>1];if(e>>>0>=2){while(1){d=v[a+144>>2]+c|0;t[d|0]=w[d|0]&231;c=c+1|0;e=x[a+128>>1];if(c>>>0>>0){continue}break}}c=e+4|0}else{c=4}u[b+128>>1]=c;e=s$(a,1)}Ma=g+16|0;v[f+172>>2]=e;if(e){break c}}if(!v[p+48>>2]|!(w[v[p+52>>2]+5|0]&4)){break c}v[p+36>>2]=v[p+36>>2]|64;break c}Qa[v[n+524>>2]](a)}if(!A){break a}a=v[v[n+128>>2]+52>>2];Qa[v[v[a>>2]+4>>2]](v[a+4>>2],f+120|0)}Ma=f+176|0;return v[f+172>>2]}function J5(a,b,c){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,p=0,q=0,r=0,s=0,u=0,x=0,z=0,A=0,C=0;x=Ma-4e3|0;Ma=x;l=gb(56);a:{if(l){v[l+40>>2]=0;v[l+48>>2]=0;e=v[a+48>>2];v[l+32>>2]=0;v[l+44>>2]=e;v[l>>2]=c;f=v[a+36>>2];e=(c>>>0)/(f>>>0)|0;h=v[a+28>>2];c=c-B(e,f)|0;f=v[a+20>>2];i=B(h,c)+f|0;g=v[a+4>>2];v[l+4>>2]=g>>>0>>0?i:g;g=v[a+24>>2];i=v[a+32>>2];j=g+B(i,e)|0;k=v[a+8>>2];v[l+8>>2]=j>>>0>k>>>0?j:k;c=f+B(h,c+1|0)|0;f=v[a+12>>2];v[l+12>>2]=c>>>0>>0?c:f;c=g+B(i,e+1|0)|0;e=v[a+16>>2];v[l+16>>2]=c>>>0>>0?c:e;t[l+36|0]=w[a+56|0];t[l+20|0]=w[a+57|0];t[l+21|0]=w[a+58|0];t[l+28|0]=w[a+59|0];c=v[a+60>>2];v[l+24>>2]=c;c=gb(c<<2);v[l+40>>2]=c;b:{if(!c){break b}if(v[l+24>>2]){while(1){v[c+(d<<2)>>2]=0;d=d+1|0;if(d>>>0>2]){continue}break}}e=gb(B(v[a+48>>2],716));v[l+48>>2]=e;if(!e){break b}c:{d:{f=v[a+48>>2];if(!f){break d}c=f&3;d=e;if(f-1>>>0>=3){h=f&-4;while(1){v[d+20>>2]=0;v[d+4>>2]=0;v[d+8>>2]=0;v[d+736>>2]=0;v[d+1452>>2]=0;v[d+720>>2]=0;v[d+724>>2]=0;v[d+2168>>2]=0;i=d+1436|0;v[i>>2]=0;v[i+4>>2]=0;i=d+2152|0;v[i>>2]=0;v[i+4>>2]=0;d=d+2864|0;h=h-4|0;if(h){continue}break}}if(c){while(1){v[d+20>>2]=0;v[d+4>>2]=0;v[d+8>>2]=0;d=d+716|0;c=c-1|0;if(c){continue}break}}if(!f){break d}j=e;e:{f:{g:{h:{i:{j:{while(1){v[j+20>>2]=0;v[j+712>>2]=l;v[j+4>>2]=0;v[j+8>>2]=0;i=(j-e|0)/716|0;c=v[a+52>>2]+B(i,412)|0;d=w[c|0];g=d-1|0;e=(g+v[l+4>>2]>>>0)/(d>>>0)|0;f=w[c+1|0];k=f-1|0;h=(k+v[l+8>>2]>>>0)/(f>>>0)|0;g=(g+v[l+12>>2]>>>0)/(d>>>0)|0;f=(k+v[l+16>>2]>>>0)/(f>>>0)|0;d=Sn(e,h,g,f);v[j+8>>2]=d;if(!d){break f}n=i;i=w[c|0];c=w[c+1|0];if(pk(b,n,e-(((i+v[a+4>>2]|0)-1>>>0)/(i>>>0)|0)|0,h-(((c+v[a+8>>2]|0)-1>>>0)/(c>>>0)|0)|0,g-e|0,f-h|0,d)){break f}v[j+24>>2]=0;d=w[a+81|0];v[j+12>>2]=d;c=w[a+69|0];v[j>>2]=c;v[j+16>>2]=B(c,3)-2;c=QL(d,c-1|0);v[j+20>>2]=c;if(!c){break f}d=0;if(v[j>>2]){while(1){e=d<<2;f=e+j|0;e=a+e|0;v[f+28>>2]=v[e+84>>2];v[f+160>>2]=v[e+216>>2];d=d+1|0;if(d>>>0>2]){continue}break}}v[j+292>>2]=v[a+72>>2];v[j+296>>2]=v[a+76>>2];v[j+304>>2]=w[a+80|0];v[j+300>>2]=w[a+68|0];d=v[j+16>>2];v[j+308>>2]=d;if((d|0)<101){v[j+312>>2]=0;d=c;c=v[j+8>>2];PL(d,v[c+4>>2],v[c+8>>2],v[c+12>>2],v[c+16>>2],x);e=gb(v[j>>2]<<6);v[j+4>>2]=e;if(!e){break e}k:{f=v[j>>2];if(!f){break k}c=f&7;d=e;if(f-1>>>0>=7){h=f&-8;while(1){v[d+60>>2]=j;v[d+56>>2]=0;v[d+508>>2]=j;v[d+504>>2]=0;v[d+444>>2]=j;v[d+440>>2]=0;v[d+380>>2]=j;v[d+376>>2]=0;v[d+316>>2]=j;v[d+312>>2]=0;v[d+252>>2]=j;v[d+248>>2]=0;v[d+188>>2]=j;v[d+184>>2]=0;v[d+124>>2]=j;v[d+120>>2]=0;d=d+512|0;h=h-8|0;if(h){continue}break}}if(c){while(1){v[d+60>>2]=j;v[d+56>>2]=0;d=d- -64|0;c=c-1|0;if(c){continue}break}}z=0;i=e;while(1){v[i+60>>2]=j;v[i+56>>2]=0;g=i-e|0;h=g>>6;c=(h^-1)+f|0;f=-1<>2];k=f+v[d+4>>2]>>c;v[i>>2]=k;r=f+v[d+8>>2]>>c;v[i+4>>2]=r;e=f+v[d+12>>2]>>c;v[i+8>>2]=e;c=f+v[d+16>>2]>>c;v[i+12>>2]=c;l:{if(!(c>>>0>r>>>0&e>>>0>k>>>0)){v[i+32>>2]=0;v[i+24>>2]=0;v[i+28>>2]=0;break l}s=g?3:1;v[i+52>>2]=s;d=(h<<2)+a|0;h=v[d+84>>2];v[i+16>>2]=h;f=v[d+216>>2];g=(g|0)!=0;d=h-g|0;v[i+36>>2]=d;v[i+20>>2]=f;g=f-g|0;v[i+40>>2]=g;m=v[a+72>>2];v[i+44>>2]=d>>>0>m>>>0?m:d;d=v[a+76>>2];v[i+48>>2]=d>>>0>>0?d:g;if((h|0)>=1){d=1<=1){g=c;c=1<0?-1<>>f|0;v[d+28>>2]=c;d=e-(k&((h|0)>0?-1<>>h|0;v[i+24>>2]=d;v[i+32>>2]=B(c,d);h=gb(B(s,36));v[i+56>>2]=h;if(!h){break f}e=v[i+52>>2];if(!e){break l}c=e&3;d=h;if(e-1>>>0>=3){e=e&-4;while(1){v[d+108>>2]=0;v[d+112>>2]=0;v[d+72>>2]=0;v[d+76>>2]=0;v[d+36>>2]=0;v[d+40>>2]=0;v[d+32>>2]=i;v[d>>2]=0;v[d+4>>2]=0;v[d+140>>2]=i;v[d+104>>2]=i;v[d+68>>2]=i;d=d+144|0;e=e-4|0;if(e){continue}break}}if(c){while(1){v[d+32>>2]=i;v[d>>2]=0;v[d+4>>2]=0;d=d+36|0;c=c-1|0;if(c){continue}break}}r=0;while(1){e=v[i+60>>2];v[h+32>>2]=i;v[h>>2]=0;v[h+4>>2]=0;d=i-v[e+4>>2]|0;f=d>>6;c=B(d?(B(f,3)+((h-v[i+56>>2]|0)/36|0)|0)-2|0:0,40)+x|0;if(!(v[c>>2]==v[c+8>>2]|v[c+4>>2]==v[c+12>>2])){d=Sn(0,0,0,0);v[h+4>>2]=d;if(!d){break h}cx(d,v[e+8>>2],v[c+20>>2],v[c+24>>2],v[c+28>>2],v[c+32>>2]);d=v[h+4>>2];g=v[c>>2];v[d+4>>2]=g;k=v[(c|4)>>2];v[d+8>>2]=k;v[d+12>>2]=g+v[d+24>>2];v[d+16>>2]=k+v[d+20>>2]}d=v[c+16>>2];v[h+8>>2]=d;d=vC(w[a+81|0],f,d);v[h+20>>2]=0;v[h+12>>2]=0;v[h+16>>2]=0;v[h+28>>2]=d;v[h+24>>2]=v[c+36>>2];m:{if(!v[h+4>>2]){break m}f=gb(B(v[i+32>>2],52));v[h>>2]=f;if(!f){break g}e=v[i+32>>2];if(!e){break m}c=e&3;d=f;if(e-1>>>0>=3){e=e&-4;while(1){v[d+44>>2]=0;v[d+48>>2]=0;v[d+36>>2]=0;v[d+28>>2]=0;v[d+32>>2]=0;v[d+40>>2]=h;v[d+96>>2]=0;v[d+100>>2]=0;v[d+88>>2]=0;v[d+80>>2]=0;v[d+84>>2]=0;v[d+148>>2]=0;v[d+152>>2]=0;v[d+140>>2]=0;v[d+132>>2]=0;v[d+136>>2]=0;v[d+92>>2]=h;v[d+200>>2]=0;v[d+204>>2]=0;v[d+192>>2]=0;v[d+184>>2]=0;v[d+188>>2]=0;v[d+144>>2]=h;v[d+196>>2]=h;d=d+208|0;e=e-4|0;if(e){continue}break}}if(c){while(1){v[d+44>>2]=0;v[d+48>>2]=0;v[d+36>>2]=0;v[d+28>>2]=0;v[d+32>>2]=0;v[d+40>>2]=h;d=d+52|0;c=c-1|0;if(c){continue}break}}s=0;c=f;while(1){v[c+28>>2]=0;v[c+32>>2]=0;v[c+44>>2]=0;v[c+48>>2]=0;v[c+36>>2]=0;e=v[h+32>>2];g=v[e+24>>2];p=v[v[e+60>>2]+4>>2];v[c+40>>2]=h;k=v[e+40>>2];q=v[e+4>>2];m=v[e+20>>2];o=(c-f|0)/52|0;f=(o>>>0)/(g>>>0)|0;d=v[h+4>>2];n=v[d+4>>2];A=o-B(f,g)|0;o=v[e+36>>2];g=v[e+16>>2];g=v[e>>2]&((g|0)>0?-1<>>1|0)|0;p=g>>>0>>0?n:g;v[c>>2]=p;n=v[d+8>>2];A=f<0?-1<>>1|0)|0;q=m>>>0>>0?n:m;v[c+4>>2]=q;f=v[d+12>>2];g=g+(1<>>0>>0?f:g;v[c+8>>2]=f;d=v[d+16>>2];g=m+(1<>>0>>0?d:g;v[c+12>>2]=d;n:{if(!(f>>>0<=p>>>0|d>>>0<=q>>>0)){g=v[e+48>>2];m=-1<>2];o=-1<>>g|0;v[e+20>>2]=d;e=f-(o&p)>>>k|0;v[c+16>>2]=e;v[c+24>>2]=B(d,e);d=Qt(e,d);v[c+32>>2]=d;if(!d){break i}d=Qt(v[c+16>>2],v[c+20>>2]);v[c+36>>2]=d;if(!d){break i}d=Qt(v[c+16>>2],v[c+20>>2]);v[c+44>>2]=d;if(!d){break i}d=Qt(v[c+16>>2],v[c+20>>2]);v[c+48>>2]=d;if(!d){break i}g=gb(B(v[c+24>>2],60));v[c+28>>2]=g;if(!g){break i}f=v[c+24>>2];if(!f){break n}e=f&3;d=g;if(f-1>>>0>=3){f=f&-4;while(1){v[d+20>>2]=0;v[d+24>>2]=0;v[d+4>>2]=0;v[d+44>>2]=c;v[d+28>>2]=0;v[d+32>>2]=0;v[d+80>>2]=0;v[d+84>>2]=0;v[d- -64>>2]=0;v[d+88>>2]=0;v[d+92>>2]=0;v[d+140>>2]=0;v[d+144>>2]=0;v[d+124>>2]=0;v[d+104>>2]=c;v[d+148>>2]=0;v[d+152>>2]=0;v[d+200>>2]=0;v[d+204>>2]=0;v[d+184>>2]=0;v[d+164>>2]=c;v[d+208>>2]=0;v[d+212>>2]=0;v[d+224>>2]=c;d=d+240|0;f=f-4|0;if(f){continue}break}}if(e){while(1){v[d+20>>2]=0;v[d+24>>2]=0;v[d+4>>2]=0;v[d+44>>2]=c;v[d+28>>2]=0;v[d+32>>2]=0;d=d+60|0;e=e-1|0;if(e){continue}break}}e=0;d=g;while(1){n=v[c+40>>2];k=v[n+32>>2];m=v[c+16>>2];v[d+56>>2]=0;v[d+48>>2]=0;v[d+52>>2]=0;v[d+44>>2]=c;v[d>>2]=0;v[d+4>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+32>>2]=0;v[d+36>>2]=0;v[d+40>>2]=0;q=v[c>>2];p=v[k+44>>2];o=q&-1<>>0)/(m>>>0)|0;g=g-B(f,m)|0;m=o+(g<>>0>q>>>0?m:q;g=o+(g+1<>2];p=g>>>0>>0?g:m;if(q>>>0>=p>>>0){break j}g=v[k+48>>2];k=v[c+4>>2];m=-1<>>0>>0?o:k;f=m+(f+1<>2];g=f>>>0>>0?f:g;if(k>>>0>=g>>>0){break j}f=Sn(0,0,0,0);v[d+28>>2]=f;if(!f){a=v[d+4>>2];if(a){$a(a)}a=v[d+20>>2];if(a){ne(a)}a=v[d+24>>2];if(a){Pt(a)}a=v[d+28>>2];if(a){ve(a)}a=v[d+32>>2];if(!a){break i}ve(a);break i}cx(f,v[n+4>>2],q,k,p,g);e=e+1|0;if(e>>>0>=y[c+24>>2]){break n}d=d+60|0;g=v[c+28>>2];continue}}v[c+44>>2]=0;v[c+48>>2]=0;v[c+4>>2]=d;v[c>>2]=f;v[c+16>>2]=0;v[c+20>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0}s=s+1|0;if(s>>>0>=y[i+32>>2]){break m}c=c+52|0;f=v[h>>2];continue}}h=h+36|0;r=r+1|0;if(r>>>0>2]){continue}break}}f=v[j>>2];z=z+1|0;if(f>>>0<=z>>>0){break k}i=i- -64|0;e=v[j+4>>2];continue}}e=v[a+48>>2];u=u+1|0;if(e>>>0<=u>>>0){break c}j=j+716|0;e=v[l+48>>2];continue}break}O(66090,52387,2104,188871);L()}O(66135,52387,2535,188884);L()}I5(c)}d=v[h>>2];if(!d){break g}a=v[h+32>>2];if(v[a+32>>2]){c=0;while(1){I5(d);d=d+52|0;c=c+1|0;if(c>>>0>2]){continue}break}d=v[h>>2]}$a(d)}a=v[h+4>>2];if(a){ve(a)}b=v[i+56>>2];if(!b){break f}if(v[i+52>>2]){h=0;while(1){a=v[b>>2];if(a){e=0;f=v[b+32>>2];if(v[f+32>>2]){while(1){d=v[a+28>>2];if(d){c=0;if(v[a+24>>2]){while(1){g=v[d+4>>2];if(g){$a(g)}g=v[d+20>>2];if(g){ne(g)}g=v[d+24>>2];if(g){Pt(g)}g=v[d+28>>2];if(g){ve(g)}g=v[d+32>>2];if(g){ve(g)}d=d+60|0;c=c+1|0;if(c>>>0>2]){continue}break}d=v[a+28>>2]}$a(d)}c=v[a+32>>2];if(c){bi(c)}c=v[a+36>>2];if(c){bi(c)}c=v[a+44>>2];if(c){bi(c)}c=v[a+48>>2];if(c){bi(c)}a=a+52|0;e=e+1|0;if(e>>>0>2]){continue}break}a=v[b>>2]}$a(a)}a=v[b+4>>2];if(a){ve(a)}b=b+36|0;h=h+1|0;if(h>>>0>2]){continue}break}b=v[i+56>>2]}$a(b)}h=v[j+4>>2];if(!h){break e}d=v[j>>2];if(d){g=0;while(1){f=v[h+56>>2];if(f){b=0;if(v[h+52>>2]){while(1){a=v[f>>2];if(a){e=0;i=v[f+32>>2];if(v[i+32>>2]){while(1){d=v[a+28>>2];if(d){c=0;if(v[a+24>>2]){while(1){k=v[d+4>>2];if(k){$a(k)}k=v[d+20>>2];if(k){ne(k)}k=v[d+24>>2];if(k){Pt(k)}k=v[d+28>>2];if(k){ve(k)}k=v[d+32>>2];if(k){ve(k)}d=d+60|0;c=c+1|0;if(c>>>0>2]){continue}break}d=v[a+28>>2]}$a(d)}c=v[a+32>>2];if(c){bi(c)}c=v[a+36>>2];if(c){bi(c)}c=v[a+44>>2];if(c){bi(c)}c=v[a+48>>2];if(c){bi(c)}a=a+52|0;e=e+1|0;if(e>>>0>2]){continue}break}a=v[f>>2]}$a(a)}a=v[f+4>>2];if(a){ve(a)}f=f+36|0;b=b+1|0;if(b>>>0>2]){continue}break}f=v[h+56>>2]}$a(f);d=v[j>>2]}h=h- -64|0;g=g+1|0;if(g>>>0>>0){continue}break}h=v[j+4>>2]}$a(h)}a=v[j+8>>2];if(a){ve(a)}a=v[j+20>>2];if(!a){break b}$a(a);break b}e=0}c=6792;h=6792;o:{p:{switch(w[l+28|0]-1|0){default:if(!e){break o}c=e&7;d=v[l+48>>2];if(e-1>>>0>=7){h=e&-8;while(1){v[d+24>>2]=8192;v[d+5036>>2]=8192;v[d+4320>>2]=8192;v[d+3604>>2]=8192;v[d+2888>>2]=8192;v[d+2172>>2]=8192;v[d+1456>>2]=8192;v[d+740>>2]=8192;d=d+5728|0;h=h-8|0;if(h){continue}break}}if(!c){break o}while(1){v[d+24>>2]=8192;d=d+716|0;c=c-1|0;if(c){continue}break};break o;case 0:h=12889;c=14787;break;case 1:break p}}b=v[l+48>>2];v[b+24>>2]=14188;v[b+1456>>2]=h;v[b+740>>2]=c}n=l;i=0;e=w5();b=0;q:{if(!e){break q}v[e+104>>2]=-1;d=a;a=v[d+48>>2];v[e+8>>2]=a;c=gb(a<<4);v[e+12>>2]=c;r:{if(!c){break r}s:{t:{f=v[e+8>>2];if((f|0)<1){break t}b=f&7;a=c;if(f-1>>>0>=7){g=f&-8;while(1){v[a+4>>2]=0;v[a+116>>2]=0;v[a+100>>2]=0;v[a+84>>2]=0;v[a+68>>2]=0;v[a+52>>2]=0;v[a+36>>2]=0;v[a+20>>2]=0;a=a+128|0;g=g-8|0;if(g){continue}break}}if(b){while(1){v[a+4>>2]=0;a=a+16|0;b=b-1|0;if(b){continue}break}}if((f|0)<1){break t}h=v[l+48>>2];while(1){a=v[h>>2];v[c>>2]=a;b=gb(B(a,20));v[c+4>>2]=b;if(!b){break r}j=v[c>>2];u=(j|0)<1;u:{if(u){break u}g=j&7;a=b;if(j-1>>>0>=7){f=j&-8;while(1){v[a+4>>2]=0;v[a+144>>2]=0;v[a+124>>2]=0;v[a+104>>2]=0;v[a+84>>2]=0;v[a- -64>>2]=0;v[a+44>>2]=0;v[a+24>>2]=0;a=a+160|0;f=f-8|0;if(f){continue}break}}if(g){while(1){v[a+4>>2]=0;a=a+20|0;g=g-1|0;if(g){continue}break}}if(u){break u}a=v[h+4>>2];f=0;while(1){g=v[a+32>>2];v[b>>2]=g;v:{if(g){g=gb(g<<2);v[b+4>>2]=g;if(!g){break r}j=v[c>>2];break v}v[b+4>>2]=0}a=a- -64|0;b=b+20|0;f=f+1|0;if((j|0)>(f|0)){continue}break}}c=c+16|0;h=h+716|0;f=v[e+8>>2];i=i+1|0;if((f|0)>(i|0)){continue}break}b=0;v[e+4>>2]=0;if((f|0)<1){break s}i=v[d+52>>2];h=v[l+48>>2];c=v[e+12>>2];d=0;while(1){a=i+B(d,412)|0;v[c+8>>2]=w[a|0];v[c+12>>2]=w[a+1|0];a=v[c>>2];if((a|0)>=1){g=v[c+4>>2];f=v[h+4>>2];j=0;while(1){v[g+8>>2]=v[f+16>>2];v[g+12>>2]=v[f+20>>2];if(v[g>>2]>=1){a=v[g+4>>2];b=0;while(1){v[a>>2]=0;a=a+4|0;b=b+1|0;if((b|0)>2]){continue}break}a=v[c>>2]}v[g+16>>2]=v[f+24>>2];f=f- -64|0;g=g+20|0;j=j+1|0;if((j|0)<(a|0)){continue}break}b=v[e+4>>2]}a=v[h>>2];if((a|0)>(b|0)){v[e+4>>2]=a;b=a}c=c+16|0;h=h+716|0;d=d+1|0;f=v[e+8>>2];if((d|0)<(f|0)){continue}break}break s}b=0;v[e+4>>2]=0}a=v[l+24>>2];v[e>>2]=a;v[e+56>>2]=v[l+4>>2];v[e+60>>2]=v[l+8>>2];v[e+64>>2]=v[l+12>>2];c=v[l+16>>2];v[e+16>>2]=0;v[e+20>>2]=0;v[e+68>>2]=c;v[e+24>>2]=0;v[e+28>>2]=0;v[e+32>>2]=0;v[e+36>>2]=0;v[e+40>>2]=0;v[e+44>>2]=0;v[e+48>>2]=0;v[e+52>>2]=0;v[e+96>>2]=-1;c=w[l+21|0];v[e+88>>2]=f;v[e+84>>2]=0;t[e+80|0]=c;v[e+92>>2]=a;t[e+82|0]=b;t[e+81|0]=0;t[e+101|0]=0;v[e+72>>2]=0;b=e;break q}rC(e);b=0}v[n+32>>2]=b;if(b){break a}}SL(l)}l=0}Ma=x+4e3|0;return l}function S0(a,b,c){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,p=0,q=0,r=0,s=0,z=0,A=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=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;g=Ma-160|0;Ma=g;e=v[b>>2];f=v[b+4>>2];v[g+156>>2]=0;if(!x0(g+156|0)){S=gb(32);d=S;v[d+24>>2]=1768386675;v[d+28>>2]=0;v[d+16>>2]=1768386662;v[d+20>>2]=0;v[d+8>>2]=1768386675;v[d+12>>2]=0;v[d>>2]=1768386662;v[d+4>>2]=0;d=f-e|0;if(d){O=(d|0)/12|0;while(1){f=g+104|0;v[f+12>>2]=0;v[f+4>>2]=0;v[f+8>>2]=0;v[f>>2]=520704;d=B(l,12);if(Ik(f,d+v[b>>2]|0,0)){i=v[f+12>>2];if((i|0)>=100000001){d=d+v[b>>2]|0;j=d+12|0;e=v[b+4>>2];a:{if((j|0)!=(e|0)){while(1){if(t[d+11|0]<=-1){$a(v[d>>2])}m=v[j+4>>2];v[d>>2]=v[j>>2];v[d+4>>2]=m;v[d+8>>2]=v[j+8>>2];t[j+11|0]=0;v[j>>2]=0;d=d+12|0;j=j+12|0;if((e|0)!=(j|0)){continue}break}j=v[b+4>>2];if((j|0)==(d|0)){break a}}while(1){e=j-12|0;if(t[j-1|0]<=-1){$a(v[e>>2])}j=e;if((e|0)!=(d|0)){continue}break}}v[b+4>>2]=d;O=O-1|0;l=l-1|0}F=(i|0)>(F|0)?i:F}Xh(f);l=l+1|0;if(O>>>0>l>>>0){continue}break}}T=ab(F);if(O){$=c&1;aa=c&2;while(1){b:{c:{if(!aa){break c}f=B(R,12);c=f+v[b>>2]|0;e=w[c+11|0];d=e<<24>>24<0;j=d?v[c+4>>2]:e;if((j|0)<6){break c}c=d?v[c>>2]:c;e=c+(j<<2)|0;d=c;while(1){i=j-5|0;if(!i){break c}d=xe(d,46,i);if(!d){break c}if(lc(d,361516,6)){d=d+4|0;i=e-d|0;j=i>>2;if((i|0)>=24){continue}break c}break}if((d|0)==(e|0)){break c}d=d-c|0;if((d|0)==-4){break c}e=f+v[b>>2]|0;c=w[e+11|0];if(((c<<24>>24<0?v[e+4>>2]:c)-6|0)==d>>2){break b}}c=g+136|0;v[c+4>>2]=1;v[c>>2]=353400;v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=360620;t[c+16|0]=0;ba=c;U=B(R,12);d:{if(!SJ(c,U+v[b>>2]|0,T)){break d}v[g+104>>2]=17;v[g+132>>2]=S;v[g+128>>2]=4;c=v[g+148>>2];v[g+108>>2]=v[g+144>>2];v[g+112>>2]=c;v[g+100>>2]=0;if(mB(v[g+156>>2],g+104|0,0,g+100|0)){break d}c=v[g+100>>2];if(!(t[c+8|0]&1)){Pq(c);break d}V=v[c>>2];if(Pq(c)){break d}F=0;if((V|0)<1){break d}while(1){e:{if(mB(v[g+156>>2],g+104|0,F,g+100|0)){break e}c=v[g+100>>2];A=v[c+12>>2];c=o0(c);t[g+88|0]=0;t[g+99|0]=0;if(c){sN(g+88|0,o0(v[g+100>>2]))}c=v[g+100>>2];G=v[c+8>>2];d=zn(c,2);f:{if(!d){J=0;c=v[g+100>>2];j=0;s=0;m=0;P=0;n=0;h=0;k=0;o=0;r=0;i=0;l=0;K=0;M=0;N=0;p=0;break f}N=d+32|0;n=u[d+30>>1];m=x[d+6>>1];P=x[d+4>>1];s=v[d+84>>2];j=v[d+80>>2];J=v[d+56>>2];l=v[d+52>>2];K=v[d+48>>2];M=v[d+44>>2];c=v[g+100>>2];e=x[c+68>>1];if(e){H=1e3/+(e>>>0);C=H*+u[d+90>>1];g:{if(D(C)<2147483648){i=~~C;break g}i=-2147483648}C=H*+u[d+88>>1];h:{if(D(C)<2147483648){r=~~C;break h}r=-2147483648}C=H*+u[d+74>>1];i:{if(D(C)<2147483648){o=~~C;break i}o=-2147483648}C=H*+u[d+72>>1];j:{if(D(C)<2147483648){k=~~C;break j}k=-2147483648}C=H*+u[d+70>>1];k:{if(D(C)<2147483648){h=~~C;break k}h=-2147483648}H=H*+u[d+2>>1];if(D(H)<2147483648){p=~~H;break f}p=-2147483648;break f}i=u[d+90>>1];r=u[d+88>>1];o=u[d+74>>1];k=u[d+72>>1];h=u[d+70>>1];p=u[d+2>>1]}d=0;e=v[c+36>>2];if((e|0)>0){while(1){l:{if((j|0)<0){break l}f=v[v[c+40>>2]+(d<<2)>>2];if(x[f+10>>1]){break l}j=x[f+8>>1]==3?j|-2147483648:j}m:{if(j&131072){break m}f=v[v[c+40>>2]+(d<<2)>>2];if(x[f+10>>1]!=2){break m}j=x[f+8>>1]==3?j|131072:j}n:{if(j&262144){break n}f=v[v[c+40>>2]+(d<<2)>>2];if(x[f+10>>1]!=3){break n}j=x[f+8>>1]==3?j|262144:j}o:{if(j&1048576){break o}f=v[v[c+40>>2]+(d<<2)>>2];if(x[f+10>>1]!=4){break o}j=x[f+8>>1]==3?j|1048576:j}p:{if(j&524288){break p}f=v[v[c+40>>2]+(d<<2)>>2];if(x[f+10>>1]!=5){break p}j=x[f+8>>1]==3?j|524288:j}q:{if(j&2097152){break q}f=v[v[c+40>>2]+(d<<2)>>2];if(x[f+10>>1]!=6){break q}j=x[f+8>>1]==3?j|2097152:j}d=d+1|0;if((e|0)!=(d|0)){continue}break}}f=0;q=0;d=Ma-16|0;Ma=d;r:{if(!c){break r}c=v[c+96>>2];e=v[v[c>>2]+32>>2];if(!e){break r}f=Qa[e|0](c,234019)|0}s:{e=zb(f);if(e>>>0<4294967280){t:{u:{if(e>>>0>=11){E=e+16&-16;c=ab(E);v[d+8>>2]=E|-2147483648;v[d>>2]=c;v[d+4>>2]=e;break u}t[d+11|0]=e;c=d;if(!e){break t}}cb(c,f,e)}t[c+e|0]=0;e=w[d+11|0];f=e<<24>>24;c=v[d+4>>2];v:{if((((f|0)<0?c:e)|0)==11){if(!_k(d,309291,11)){break v}e=w[d+11|0];f=e;c=v[d+4>>2]}if(((f<<24>>24<0?c:e)|0)==8){if(!_k(d,279280,8)){q=1;break v}e=w[d+11|0];f=e;c=v[d+4>>2]}q=3;if(((f<<24>>24<0?c:e)|0)!=3){break v}q=_k(d,311677,3)?3:2}if(t[d+11|0]<=-1){$a(v[d>>2])}Ma=d+16|0;c=q;break s}sc();L()}f=c;w:{if(!((c|0)==2&$|(c|0)==1)){Pq(v[g+100>>2]);break w}E=A>>>1|0;G=G>>>2|0;e=v[v[g+100>>2]+20>>2];x:{if(e){c=0;y:{d=e;I=w[d|0];if(!I){break y}while(1){q=c;c=c+1|0;z=w[d+1|0];d=d+1|0;if(z){continue}break}if((I|0)!=60|q>>>0<6|(w[e+1|0]!=117|w[e+2|0]!=116)){break y}if(w[e+3|0]!=102|w[e+4|0]!=56|w[e+5|0]!=62){break y}Zg(g+72|0,e+6|0,q-5|0);break x}Zs(g+72|0,e,c);break x}v[g+72>>2]=0;t[g+83|0]=0}A=A&1;E=E&1;G=G&1;e=v[v[g+100>>2]+24>>2];z:{if(e){c=0;A:{d=e;I=w[d|0];if(!I){break A}while(1){q=c;c=c+1|0;z=w[d+1|0];d=d+1|0;if(z){continue}break}if((I|0)!=60|q>>>0<6|(w[e+1|0]!=117|w[e+2|0]!=116)){break A}if(w[e+3|0]!=102|w[e+4|0]!=56|w[e+5|0]!=62){break A}Zg(g+56|0,e+6|0,q-5|0);break z}Zs(g+56|0,e,c);break z}v[g+56>>2]=0;t[g+67|0]=0}c=g+72|0;d=sj(c,63,0);A=T0(ab(124),c,g+56|0,v[b>>2]+U|0,F,E,A,G,N,M,K,l,J,j,s,P,m,n<<16>>16,f,p<<16>>16,h<<16>>16,k<<16>>16,o<<16>>16,r<<16>>16,i<<16>>16);J=v[g+100>>2];B:{if(!J|!(w[J+8|0]&8)){break B}W=x[J+340>>1];if(!W){break B}P=(d|0)!=-1;K=A+112|0;ca=v[J+356>>2];j=0;while(1){c=B(j,20)+ca|0;C:{if(x[c+6>>1]!=1|!x[c+8>>1]){break C}t[g+40|0]=0;t[g+51|0]=0;D:{E:{switch(x[c>>1]){case 0:break D;case 3:break E;default:break C}}switch(x[c+2>>1]){case 0:case 1:case 10:break D;default:break C}}v[g+40>>2]=759583829;v[g+44>>2]=1161967153;t[g+51|0]=8;t[g+48|0]=0;e=v[J+368>>2];d=v[v[g+100>>2]+100>>2];v[g+36>>2]=0;ea=c,fa=yb(d,1,0,x[c+8>>1],0,g+36|0),v[ea+16>>2]=fa;F:{G:{H:{if(v[g+36>>2]){break H}f=Mb(e,v[c+12>>2]);v[g+36>>2]=f;if(f){break H}e=_e(e,v[c+16>>2],x[c+8>>1]);v[g+36>>2]=e;if(!e){break G}}e=v[c+16>>2];if(e){Qa[v[d+8>>2]](d,e)}v[c+16>>2]=0;u[c+8>>1]=0;break F}ea=g,fa=ab(1),v[ea+32>>2]=fa;d=v[c+16>>2];v[g+12>>2]=x[c+8>>1];c=t[g+51|0]<0?v[g+40>>2]:g+40|0;o=Ma-48|0;Ma=o;r=g+16|0;v[r>>2]=0;t[r+11|0]=0;v[o+44>>2]=0;l=AA(c,o+44|0);if(v[o+44>>2]<=0){v[o+24>>2]=d;e=v[g+12>>2];c=(e>>>0)/w[v[v[l+24>>2]+12>>2]+70|0]<<1;f=c+c|0;q=ab(c>>>0>f>>>0?-1:f);v[o+8>>2]=q;s=o+8|0;c=c+q|0;G=o+24|0;f=d+e|0;i=0;h=Ma-32|0;Ma=h;v[h+28>>2]=0;p=o+44|0;I:{if(!p|v[p>>2]>0){break I}if(G?!l|!s:1){v[p>>2]=1;break I}J:{m=v[G>>2];K:{if(m>>>0>f>>>0){break K}e=(c|0)==((c>>>0<2147483649?c+2147483647|0:-1)|0)?c-1|0:c;c=v[s>>2];if((f-m|0)<=-1&f>>>0>m>>>0|e>>>0>>0){break K}d=c>>>0>=e>>>0;c=e-c|0;if(!(d|(c|0)>-1)){break K}if(!(c&1)){break J}}v[p>>2]=1;break I}if(t[l+65|0]>=1){d=0;d=h+28|0?v[h+28>>2]:d;c=v[s>>2];k=t[l+65|0];L:{if((k|0)>=1){while(1){if((c|0)==(e|0)){c=0;n=l+116|0;while(1){u[n+(c<<1)>>1]=x[n+(i<<1)>>1];c=c+1|0;i=i+1|0;if((k|0)>(i|0)){continue}break}t[l+65|0]=c;v[s>>2]=e;if(d){v[h+28>>2]=d}v[p>>2]=15;c=1;break L}u[c>>1]=x[(l+(i<<1)|0)+116>>1];i=i+1|0;if(d){v[d>>2]=-1;d=d+4|0}else{d=0}c=c+2|0;if((i|0)!=(k|0)){continue}break}}t[l+65|0]=0;v[s>>2]=c;if(d){v[h+28>>2]=d}c=0}if(c){break I}}t[h+2|0]=1;v[h+4>>2]=l;v[h+24>>2]=v[h+28>>2];v[h+12>>2]=f;v[h+8>>2]=m;v[h+16>>2]=v[s>>2];u[h>>1]=28;v[h+20>>2]=e;c=0;N=0;M=0;E=Ma-32|0;Ma=E;k=v[h+4>>2];e=v[v[k+24>>2]+20>>2];d=v[h+24>>2];M:{if(d){I=v[e+28>>2];if(I){break M}c=-1}else{c=0}I=v[e+24>>2]}z=v[h+16>>2];m=v[h+8>>2];e=t[k+254|0];N:{if((e|0)>-1){e=c;c=0;i=0;break N}M=w[h+2|0];N=v[h+12>>2];e=cb(E,k+222|0,0-e|0);v[h+8>>2]=e;f=t[k+254|0];t[h+2|0]=0;v[h+12>>2]=e-f;t[k+254|0]=0;e=-1;i=m}da=k+37|0;X=k+68|0;Y=k+222|0;O:while(1){P:{n=0;Z=0;Q:{if(v[p>>2]>0){break Q}Qa[I|0](h,p);if(!w[h+2|0]|v[p>>2]>0|v[h+8>>2]!=v[h+12>>2]){break Q}Z=!w[k+36|0]}_=1;while(1){Q=0;R:{if(!d){break R}f=v[h+16>>2]-z|0;S:{if((f|0)<1){f=d;break S}z=f<<1;f=z+d|0;n=(e|0)>-1?e-n|0:-1;T:{if(!n){break T}if((n|0)<=0){n=d+z|0;z=d+4|0;eb(d,255,((n>>>0>z>>>0?n:z)-d|0)+3&-4);break T}while(1){z=v[d>>2];if((z|0)>=0){v[d>>2]=n+z}d=d+4|0;if(f>>>0>d>>>0){continue}break}}v[h+24>>2]=f}Q=f;if((e|0)<0){break R}e=v[h+8>>2]+(e-m|0)|0;Q=f}d=Q;f=t[k+254|0];if((f|0)<=-1){U:{if(!i){M=w[h+2|0];N=v[h+12>>2];i=v[h+8>>2];c=cb(E,Y,0-f|0);v[h+8>>2]=c;f=t[k+254|0];t[h+2|0]=0;v[h+12>>2]=c-f;t[k+254|0]=0;c=e;e=f+c|0;e=(e|0)>-1?e:-1;break U}v[p>>2]=5}}z=v[h+16>>2];m=v[h+8>>2];V:{f=v[p>>2];W:{if((f|0)<=0){if(y[h+12>>2]>m>>>0){continue O}if(i){v[h+12>>2]=N;v[h+8>>2]=i;t[h+2|0]=M;i=0;e=c;continue O}if(!w[h+2|0]){break W}if(t[k+36|0]>=1){v[p>>2]=11;break V}i=0;if(!Z){continue O}qZ(k,1);break W}if(!(1<>>0>19:1)){break V}if(!i){break W}c=v[h+12>>2]-m|0;if((c|0)>=1){cb(Y,m,c);t[k+254|0]=0-c}v[h+12>>2]=N;v[h+8>>2]=i;t[h+2|0]=M}Ma=E+32|0;break P}n=t[k+36|0];t[k+62|0]=n;if((n|0)>=1){cb(X,da,n)}t[k+36|0]=0;f=v[k+256>>2];X:{if((f|0)!=1){break X}f=1;if(v[p>>2]!=10){break X}f=0;v[k+256>>2]=0}Qa[v[k+4>>2]](v[k+16>>2],h,X,n,f,p);v[k+256>>2]=1;_=0;continue}}break}v[G>>2]=v[h+8>>2];v[s>>2]=v[h+16>>2]}Ma=h+32|0;Y:{if(v[o+44>>2]>0){break Y}d=v[o+8>>2]-q|0;_t(r,d);v[o+40>>2]=0;c=w[r+11|0];e=c<<24>>24<0;f=e?v[r>>2]:r;k=e?v[r+4>>2]:c;p=o+40|0;c=q;d=d>>1;s=0;m=o+44|0;Z:{if(!m){break Z}if(v[m>>2]<=0){_:{if(!(!c&(d|0)!=0|(d|0)<-1|(k|0)<0)){if((k|0)<1|f){break _}}v[m>>2]=1;break Z}$:{aa:{if(v[m>>2]<=0){ba:{if(!(!c&(d|0)!=0|(d|0)<-1|(!f&(k|0)>0|(k|0)<0))){break ba}v[m>>2]=1;f=0;break $}n=f?f+(k<<2)|0:0;ca:{da:{ea:{fa:{if((d|0)<=-1){e=x[c>>1];i=(e|0)!=0;if(!e|(e&63488)==55296){break fa}d=f;while(1){c=c+2|0;ga:{if(d>>>0>>0){v[d>>2]=e;d=d+4|0;break ga}s=s+1|0}e=x[c>>1];i=(e|0)!=0;if(!e){break ea}if((e&63488)!=55296){continue}break}break ea}i=c?(d<<1)+c|0:0;d=f;break da}d=f}if(!i){break ca}e=c;while(1){h=x[e+2>>1];i=e+2|0;e=i;if(h){continue}break}}if(c>>>0>=i>>>0){break ca}while(1){h=c+2|0;e=x[c>>1];if((e&63488)!=55296){c=h}else{if(e&1024|h>>>0>=i>>>0){break aa}h=x[h>>1];if((h&64512)!=56320){break aa}e=(h+(e<<10)|0)-56613888|0;c=c+4|0}ha:{if(d>>>0>=n>>>0){s=s+1|0;break ha}v[d>>2]=e;d=d+4|0}if(c>>>0>>0){continue}break}}c=(d-f>>2)+s|0;if(p){v[p>>2]=c}ia:{if(!m){break ia}d=v[m>>2];if((c|0)<0|(d|0)>0){break ia}ja:{if((c|0)<(k|0)){v[f+(c<<2)>>2]=0;c=0;if((d|0)==-124){break ja}break ia}c=(c|0)==(k|0)?-124:15}v[m>>2]=c}}else{f=0}break $}v[m>>2]=10;f=0}}}if(v[o+44>>2]<=0){_t(r,v[o+40>>2]);break Y}if(t[r+11|0]<=-1){v[v[r>>2]>>2]=0;v[r+4>>2]=0;break Y}t[r+11|0]=0;v[r>>2]=0}$a(q);Cq(l)}Ma=o+48|0;d=t[g+83|0];c=(d|0)<0;e=c?v[g+76>>2]:d&255;ka:{if(!e){break ka}f=w[g+27|0];d=f<<24>>24<0;l=d?v[g+20>>2]:f;la:{if((e|0)>(l|0)){break la}d=d?v[g+16>>2]:g+16|0;f=d+(l<<2)|0;m=c?v[g+72>>2]:g+72|0;q=v[m>>2];c=d;while(1){h=l-e|0;i=h+1|0;if(h>>>0>i>>>0){break la}c=xe(c,q,i);if(!c){break la}if(lc(c,m,e)){c=c+4|0;l=f-c>>2;if((e|0)<=(l|0)){continue}break la}break}if((c|0)==(f|0)){break la}if((c-d|0)!=-4){break ka}}d=w[g+27|0];c=d<<24>>24<0;e=c?v[g+20>>2]:d;if(!e){break ka}f=w[g+83|0];d=f<<24>>24<0;l=d?v[g+76>>2]:f;ma:{if((e|0)>(l|0)){break ma}d=d?v[g+72>>2]:g+72|0;f=d+(l<<2)|0;m=c?v[g+16>>2]:g+16|0;q=v[m>>2];c=d;while(1){h=l-e|0;i=h+1|0;if(h>>>0>i>>>0){break ma}c=xe(c,q,i);if(!c){break ma}if(lc(c,m,e)){c=c+4|0;l=f-c>>2;if((e|0)<=(l|0)){continue}break ma}break}if((c|0)==(f|0)){break ma}if((c-d|0)!=-4){break ka}}i=v[A+112>>2];d=i;l=v[A+116>>2];na:{if((d|0)==(l|0)){break na}while(1){f=w[d+11|0];c=f<<24>>24<0;m=w[g+27|0];e=m<<24>>24<0;f=c?v[d+4>>2]:f;if((f|0)==((e?v[g+20>>2]:m)|0)){if(!f){break na}if(!lc(c?v[d>>2]:d,e?v[g+16>>2]:g+16|0,f)){break na}l=v[A+116>>2]}d=d+12|0;if((l|0)!=(d|0)){continue}break}}oa:{if(!(P&1)){d=v[A+116>>2];break oa}d=v[A+116>>2];if((d|0)!=v[A+112>>2]){break oa}c=g+72|0;Yo(c,g+16|0);Yo(A,c);P=0;break ka}if((d|0)!=(i|0)){break ka}c=g+16|0;d=v[K+4>>2];pa:{if((d|0)!=v[K+8>>2]){qa:{if(t[c+11|0]>=0){e=v[c+4>>2];v[d>>2]=v[c>>2];v[d+4>>2]=e;v[d+8>>2]=v[c+8>>2];break qa}vc(d,v[c>>2],v[c+4>>2])}v[K+4>>2]=d+12;break pa}yw(K,c)}}if(t[g+27|0]<=-1){$a(v[g+16>>2])}c=v[g+32>>2];if(c){$a(c)}}if(t[g+51|0]>-1){break C}$a(v[g+40>>2])}j=j+1|0;if((W|0)!=(j|0)){continue}break}}R0(a,A);Pq(v[g+100>>2]);if(t[g+67|0]<=-1){$a(v[g+56>>2])}if(t[g+83|0]>-1){break w}$a(v[g+72>>2])}if(t[g+99|0]>-1){break e}$a(v[g+88>>2])}F=F+1|0;if((V|0)!=(F|0)){continue}break}}k1(ba)}R=R+1|0;if((R|0)!=(O|0)){continue}break}}$a(T);$a(S);a=v[g+156>>2];if(a){WC(a)}}Ma=g+160|0}function FV(a,b){var 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,w=0,x=0,y=0,z=0,C=0,E=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;R=Ma-512|0;Ma=R;c=v[a+8>>2];a:{if(Qa[v[v[c>>2]+216>>2]](c,v[a+28>>2],b)|0){break a}b:{switch(v[b+4>>2]-1|0){case 0:f=A[b+200>>3];d=A[b+208>>3];h=A[b+184>>3];g=A[b+192>>3];pl(b,h,g,R);pl(b,h,d,R+128|0);pl(b,f,g,R+256|0);pl(b,f,d,R+384|0);mv(a,b,h,g,f,d,R,0);break a;case 1:k=Ma-32800|0;Ma=k;c=a;hv(v[a+28>>2],k+32792|0,k+32784|0,k+32776|0,k+32768|0);w=A[b+184>>3];n=A[b+200>>3]-w;E=D(n);z=A[b+192>>3];o=A[b+208>>3]-z;H=D(o);I=E<1e-4&H<1e-4;c:{if(I){p=z+o*0;t=w+n*0;a=v[b+364>>2];O=A[b+224>>3];f=A[b+216>>3];break c}g=1/(n*n+o*o);i=A[k+32792>>3];f=n*(i-w);l=A[k+32768>>3];s=o*(l-z);d=g*(f+s);y=A[k+32784>>3];p=o*(y-z);f=g*(f+p);d:{if(df)){h=f;break d}h=d}d=p;u=A[k+32776>>3];p=n*(u-w);d=g*(d+p);e:{if(dh)){break e}h=d}d=g*(s+p);f:{if(dh)){break f}h=d}P=F(h,1);e=v[b+368>>2];a=v[b+364>>2];s=G(f,0);p=z+o*s;t=w+n*s;g:{if(E>H){d=(l-p)/n;l=(y-p)/n;break g}g=-o;d=(u-t)/g;l=(i-t)/g}L=e?h:P;i=a?f:s;O=A[b+224>>3];f=A[b+216>>3];if(!(dH){i=(A[k+32768>>3]-y)/n;g=(A[k+32784>>3]-y)/n;break i}d=-o;i=(A[k+32776>>3]-u)/d;g=(A[k+32792>>3]-u)/d}if(!(g>i)){d=g;g=i;break h}d=i}cb(v[c+28>>2]+124|0,k,128);a=v[c+8>>2];Qa[v[v[a>>2]+116>>2]](a,v[c+28>>2]);a=v[c+28>>2];i=y+n*d;A[a+608>>3]=i;d=u-o*d;A[a+600>>3]=d;a=v[a+596>>2];A[a+16>>3]=i;A[a+8>>3]=d;v[a>>2]=1;a=v[c+28>>2];d=y+n*g;A[a+608>>3]=d;g=u-o*g;A[a+600>>3]=g;cd(v[a+596>>2],g,d);a=v[c+28>>2];A[a+608>>3]=h;A[a+600>>3]=l;cd(v[a+596>>2],l,h);a=v[c+28>>2];A[a+608>>3]=p;A[a+600>>3]=t;cd(v[a+596>>2],t,p);a=v[c+28>>2];kf(v[a+596>>2]);e=v[a+596>>2];e=v[((v[e+28>>2]<<2)+v[e+24>>2]|0)-4>>2];q=(v[e+12>>2]<<3)-8|0;A[a+600>>3]=A[q+v[e>>2]>>3];A[a+608>>3]=A[q+v[e+4>>2]>>3];a=v[c+8>>2];Qa[v[v[a>>2]+204>>2]](a,v[c+28>>2]);Ae(v[c+28>>2])}d=O-f;M=P-s;a=0;while(1){oz(b,f+d*(s+M*(+(a|0)+.5)*.00390625),k+(a<<7)|0);a=a+1|0;if((a|0)!=256){continue}break};g=-o;a=0;e=v[b+8>>2];m=Qa[v[v[e>>2]+28>>2]](e)|0;while(1){j:{q=a;a=v[c+116>>2];k:{if(!a){break k}if((V|0)<100){V=V+1|0;break k}V=0;if(Qa[a|0](v[c+120>>2])|0){break j}}e=q+1|0;j=(q|0)>254;a=j?e:256;l:{if((m|0)<1|j){break l}while(1){a=0;m:{while(1){j=a<<2;C=v[j+(k+(e<<7)|0)>>2]-v[j+(k+(q<<7)|0)>>2]|0;j=C>>31;if((j^j+C)>>>0<=256){a=a+1|0;if((m|0)!=(a|0)){continue}break m}break}a=e;break l}a=256;e=e+1|0;if((e|0)!=256){continue}break}}f=s+M*+(a|0)*.00390625;y=z+o*f;u=w+n*f;d=0;f=0;n:{if(I){break n}o:{if(E>H){i=(A[k+32768>>3]-y)/n;f=(A[k+32784>>3]-y)/n;break o}i=(A[k+32776>>3]-u)/g;f=(A[k+32792>>3]-u)/g}if(!(f>i)){d=f;f=i;break n}d=i}cb(v[c+28>>2]+124|0,k+(q<<7)|0,128);e=v[c+8>>2];Qa[v[v[e>>2]+116>>2]](e,v[c+28>>2]);e=v[c+28>>2];A[e+608>>3]=p;A[e+600>>3]=t;e=v[e+596>>2];A[e+16>>3]=p;A[e+8>>3]=t;v[e>>2]=1;e=v[c+28>>2];A[e+608>>3]=h;A[e+600>>3]=l;cd(v[e+596>>2],l,h);e=v[c+28>>2];h=y+n*f;A[e+608>>3]=h;l=u-o*f;A[e+600>>3]=l;cd(v[e+596>>2],l,h);e=v[c+28>>2];p=y+n*d;A[e+608>>3]=p;t=u-o*d;A[e+600>>3]=t;cd(v[e+596>>2],t,p);e=v[c+28>>2];kf(v[e+596>>2]);q=v[e+596>>2];q=v[((v[q+28>>2]<<2)+v[q+24>>2]|0)-4>>2];j=(v[q+12>>2]<<3)-8|0;A[e+600>>3]=A[j+v[q>>2]>>3];A[e+608>>3]=A[j+v[q+4>>2]>>3];e=v[c+8>>2];Qa[v[v[e>>2]+204>>2]](e,v[c+28>>2]);Ae(v[c+28>>2]);if((a|0)<256){continue}}break};if(!(!v[b+368>>2]|!(L>P))){oz(b,O,k);i=z+o*L;w=w+n*L;d=0;f=0;p:{if(I){break p}q:{if(E>H){s=(A[k+32768>>3]-i)/n;f=(A[k+32784>>3]-i)/n;break q}s=(A[k+32776>>3]-w)/g;f=(A[k+32792>>3]-w)/g}if(!(f>s)){d=f;f=s;break p}d=s}cb(v[c+28>>2]+124|0,k,128);a=v[c+8>>2];Qa[v[v[a>>2]+116>>2]](a,v[c+28>>2]);a=v[c+28>>2];A[a+608>>3]=p;A[a+600>>3]=t;a=v[a+596>>2];A[a+16>>3]=p;A[a+8>>3]=t;v[a>>2]=1;a=v[c+28>>2];A[a+608>>3]=h;A[a+600>>3]=l;cd(v[a+596>>2],l,h);a=v[c+28>>2];h=i+n*f;A[a+608>>3]=h;f=w-o*f;A[a+600>>3]=f;cd(v[a+596>>2],f,h);a=v[c+28>>2];f=i+n*d;A[a+608>>3]=f;d=w-o*d;A[a+600>>3]=d;cd(v[a+596>>2],d,f);a=v[c+28>>2];kf(v[a+596>>2]);b=v[a+596>>2];b=v[((v[b+28>>2]<<2)+v[b+24>>2]|0)-4>>2];e=(v[b+12>>2]<<3)-8|0;A[a+600>>3]=A[e+v[b>>2]>>3];A[a+608>>3]=A[e+v[b+4>>2]>>3];a=v[c+8>>2];Qa[v[v[a>>2]+204>>2]](a,v[c+28>>2]);Ae(v[c+28>>2])}Ma=k+32800|0;break a;case 2:e=a;c=0;m=Ma-288|0;Ma=m;w=A[b+192>>3];E=A[b+216>>3];z=A[b+184>>3];H=A[b+208>>3];y=A[b+240>>3];t=A[b+232>>3];p=A[b+224>>3];o=A[b+200>>3];a=v[b+8>>2];q=Qa[v[v[a>>2]+28>>2]](a)|0;r:{s:{O=H-z;P=E-w;f=K(O*O+P*P);if(f==0){break s}n=p-o;if(n!=0){if(D(n)>=f+-1e-4){break s}M=ku(n/f)}s=ef(P,O);hv(v[e+28>>2],m+280|0,m+272|0,m+264|0,m+256|0);f=0;d=z+o;i=H+p-d;L=D(i);if(L>1e-6){f=(A[m+280>>3]-d)/i}d=z-o;i=H-p-d;r=D(i);if(r>1e-6){h=(A[m+264>>3]-d)/i}i=0;d=w+o;l=E+p-d;x=D(l);if(x>1e-6){i=(A[m+272>>3]-d)/l}d=w-o;l=E-p-d;S=D(l);if(S>1e-6){g=(A[m+256>>3]-d)/l}d=0;l=0;T=D(n);if(T>1e-6){u=-o/n;l=A[m+264>>3]-A[m+280>>3];J=l*l;l=A[m+256>>3]-A[m+272>>3];l=(K(J+l*l)-o)/n}t:{if(!v[b+380>>2]){break t}u:{if(!(!(f<0)|(!(z1e-6)))){c=1;d=f;break u}j=1;if(!(h<0)|(!(z>H)|!(r>1e-6))){break u}c=1;j=0;d=h}v:{w:{if(!(!(i<0)|(!(w1e-6)))){d=j?i:dE)|!(S>1e-6))){break v}d=j?g:d1e-6)|!(u<=0)){break t}d=c?d>2]){f=1;W=1;break r}x:{if(!(!(f>1)|(!(z>H)|!(L>1e-6)))){c=1;j=0;break x}c=0;j=1;f=1;if(!(h>1)|(!(z1e-6))){break x}c=1;j=0;f=h}y:{z:{if(!(!(i>1)|(!(w>E)|!(x>1e-6)))){f=j?i:f>i?i:f;break z}if(!(g>1)|(!(w1e-6))){break y}f=j?g:f>g?g:f}c=1}W=1;if(!(T>1e-6)|!(l>1)){break r}f=c?f>l?l:f:l;break r}hv(v[e+28>>2],m+280|0,m+272|0,m+264|0,m+256|0);C=e+28|0;f=1}U=o>p;L=U?o:p;a=v[C>>2];h=D(A[a+40>>3]);g=D(A[a+32>>3]);i=D(A[a+24>>3]);l=D(A[a+16>>3]);i=i>l?i:l;g=g>i?g:i;h=L*(gy?y:h,m+128|0);h=t+S*f;$=hy?y:h;V=q&-2;aa=q&1;ba=f-d;h=M+M;ca=3.141592653589793-h;da=h+-3.141592653589793;T=s-M+-1.5707963267948966;Y=h+3.141592653589793;g=w+P*d;l=z+O*d;Z=p-o;i=o+Z*d;u=+(k|0);a=0;M=s+M+1.5707963267948966;ea=_d(M);fa=oe(M);while(1){C:{c=v[e+116>>2];D:{if(!c){break D}if((X|0)<100){X=X+1|0;break D}X=0;if(Qa[c|0](v[e+120>>2])|0){break C}}ys(b,$,m);I=256;s=f;E:{if((a|0)>254){break E}while(1){c=0;F:{if((q|0)<1){break F}while(1){j=c<<2;N=v[j+m>>2]-v[j+(m+128|0)>>2]|0;j=N>>31;if((j^j+N)>>>0>256){break F}c=c+1|0;if((q|0)!=(c|0)){continue}break}c=q}if((c|0)==(q|0)&(I|0)<256){break E}I=(a+I|0)/2|0;s=d+ba*(+(I|0)*.00390625);h=t+S*s;ys(b,hy?y:h,m);if((I-a|0)>1){continue}break}}h=Z*s;n=P*s;r=O*s;G:{if((q|0)<1){break G}c=0;a=V;if((q|0)!=1){while(1){j=c<<2;N=m+128|0;_=j+N|0;v[_>>2]=(v[j+m>>2]+v[_>>2]|0)/2;j=j|4;N=j+N|0;v[N>>2]=(v[j+m>>2]+v[N>>2]|0)/2;c=c+2|0;a=a-2|0;if(a){continue}break}}if(!aa){break G}a=c<<2;c=a+(m+128|0)|0;v[c>>2]=(v[a+m>>2]+v[c>>2]|0)/2}h=o+h;s=w+n;n=z+r;cb(v[e+28>>2]+124|0,m+128|0,128);a=v[e+8>>2];Qa[v[v[a>>2]+116>>2]](a,v[e+28>>2]);a=v[e+28>>2];H:{if(!W){A[a+608>>3]=g;r=i+l;A[a+600>>3]=r;a=v[a+596>>2];A[a+16>>3]=g;A[a+8>>3]=r;v[a>>2]=1;c=1;while(1){r=+(c|0)/u;r=(r+r)*3.141592653589793;x=_d(r);a=v[C>>2];x=g+i*x;A[a+608>>3]=x;r=l+i*oe(r);A[a+600>>3]=r;cd(v[a+596>>2],r,x);c=c+1|0;if((k|0)!=(c|0)){continue}break}a=v[C>>2];kf(v[a+596>>2]);c=v[a+596>>2];c=v[((v[c+28>>2]<<2)+v[c+24>>2]|0)-4>>2];j=(v[c+12>>2]<<3)-8|0;A[a+600>>3]=A[j+v[c>>2]>>3];A[a+608>>3]=A[j+v[c+4>>2]>>3];a=v[C>>2];A[a+608>>3]=s;g=n+h;A[a+600>>3]=g;a=v[a+596>>2];A[a+16>>3]=s;A[a+8>>3]=g;v[a>>2]=1;c=1;while(1){g=+(c|0)/u;g=(g+g)*-3.141592653589793;i=_d(g);a=v[C>>2];i=s+h*i;A[a+608>>3]=i;g=n+h*oe(g);A[a+600>>3]=g;cd(v[a+596>>2],g,i);c=c+1|0;if((k|0)!=(c|0)){continue}break}c=v[C>>2];kf(v[c+596>>2]);a=v[c+596>>2];j=v[((v[a+28>>2]<<2)+v[a+24>>2]|0)-4>>2];a=v[j+12>>2]-1|0;N=v[j>>2]+(a<<3)|0;break H}r=g+ea*i;A[a+608>>3]=r;x=fa*i+l;A[a+600>>3]=x;a=v[a+596>>2];A[a+16>>3]=r;A[a+8>>3]=x;v[a>>2]=1;c=0;j=0;while(1){J=M-Y*(+(j|0)/u);Q=_d(J);a=v[C>>2];Q=s+h*Q;A[a+608>>3]=Q;J=n+h*oe(J);A[a+600>>3]=J;cd(v[a+596>>2],J,Q);j=j+1|0;if((k|0)!=(j|0)){continue}break}while(1){J=T+da*(+(c|0)/u);Q=_d(J);a=v[C>>2];Q=g+i*Q;A[a+608>>3]=Q;J=l+i*oe(J);A[a+600>>3]=J;cd(v[a+596>>2],J,Q);c=c+1|0;if((k|0)!=(c|0)){continue}break}a=v[C>>2];kf(v[a+596>>2]);c=v[a+596>>2];c=v[((v[c+28>>2]<<2)+v[c+24>>2]|0)-4>>2];j=(v[c+12>>2]<<3)-8|0;A[a+600>>3]=A[j+v[c>>2]>>3];A[a+608>>3]=A[j+v[c+4>>2]>>3];a=v[C>>2];A[a+608>>3]=r;A[a+600>>3]=x;a=v[a+596>>2];A[a+16>>3]=r;A[a+8>>3]=x;v[a>>2]=1;c=0;j=0;while(1){r=M+ca*(+(j|0)/u);x=_d(r);a=v[C>>2];x=s+h*x;A[a+608>>3]=x;r=n+h*oe(r);A[a+600>>3]=r;cd(v[a+596>>2],r,x);j=j+1|0;if((k|0)!=(j|0)){continue}break}while(1){r=T+Y*(+(c|0)/u);x=_d(r);a=v[C>>2];x=g+i*x;A[a+608>>3]=x;r=l+i*oe(r);A[a+600>>3]=r;cd(v[a+596>>2],r,x);c=c+1|0;if((k|0)!=(c|0)){continue}break}c=v[C>>2];kf(v[c+596>>2]);a=v[c+596>>2];j=v[((v[a+28>>2]<<2)+v[a+24>>2]|0)-4>>2];a=v[j+12>>2]-1|0;N=v[j>>2]+(a<<3)|0}A[c+600>>3]=A[N>>3];A[c+608>>3]=A[v[j+4>>2]+(a<<3)>>3];a=v[e+8>>2];Qa[v[v[a>>2]+204>>2]](a,v[e+28>>2]);Ae(v[e+28>>2]);cb(m+128|0,m,128);l=n;g=s;i=h;a=I;if((a|0)<256){continue}}break};I:{if(W){break I}J:{K:{c=v[b+380>>2];L:{if(!(o<=p?c:0)){if(!v[b+384>>2]){break L}if(!U){break K}}a=o<=p;c=m+128|0;ys(b,a?t:y,c);cb(v[e+28>>2]+124|0,c,128);c=v[e+8>>2];Qa[v[v[c>>2]+116>>2]](c,v[e+28>>2]);c=v[e+28>>2];f=a?w:E;A[c+608>>3]=f;h=a?z:H;d=a?o:p;g=h+d;A[c+600>>3]=g;a=v[c+596>>2];A[a+16>>3]=f;A[a+8>>3]=g;v[a>>2]=1;c=1;while(1){g=+(c|0)/u;g=(g+g)*3.141592653589793;i=_d(g);a=v[C>>2];i=f+d*i;A[a+608>>3]=i;g=h+d*oe(g);A[a+600>>3]=g;cd(v[a+596>>2],g,i);c=c+1|0;if((k|0)!=(c|0)){continue}break}a=v[e+28>>2];kf(v[a+596>>2]);c=v[a+596>>2];c=v[((v[c+28>>2]<<2)+v[c+24>>2]|0)-4>>2];q=(v[c+12>>2]<<3)-8|0;A[a+600>>3]=A[q+v[c>>2]>>3];A[a+608>>3]=A[q+v[c+4>>2]>>3];a=v[e+8>>2];Qa[v[v[a>>2]+204>>2]](a,v[e+28>>2]);Ae(v[e+28>>2]);c=v[b+380>>2]}if(U?c:0){break J}if(!v[b+384>>2]){break I}if(o<=p){break J}break I}if(!(o<=p)){break I}}a=m+128|0;ys(b,U?t:y,a);cb(v[e+28>>2]+124|0,a,128);a=v[e+8>>2];Qa[v[v[a>>2]+116>>2]](a,v[e+28>>2]);f=A[m+280>>3];a=v[e+28>>2];d=A[m+272>>3];A[a+608>>3]=d;A[a+600>>3]=f;a=v[a+596>>2];A[a+16>>3]=d;A[a+8>>3]=f;v[a>>2]=1;f=A[m+280>>3];a=v[e+28>>2];d=A[m+256>>3];A[a+608>>3]=d;A[a+600>>3]=f;cd(v[a+596>>2],f,d);f=A[m+264>>3];a=v[e+28>>2];d=A[m+256>>3];A[a+608>>3]=d;A[a+600>>3]=f;cd(v[a+596>>2],f,d);f=A[m+264>>3];a=v[e+28>>2];d=A[m+272>>3];A[a+608>>3]=d;A[a+600>>3]=f;cd(v[a+596>>2],f,d);a=v[e+28>>2];kf(v[a+596>>2]);b=v[a+596>>2];b=v[((v[b+28>>2]<<2)+v[b+24>>2]|0)-4>>2];c=(v[b+12>>2]<<3)-8|0;A[a+600>>3]=A[c+v[b>>2]>>3];A[a+608>>3]=A[c+v[b+4>>2]>>3];a=v[e+28>>2];f=U?w:E;A[a+608>>3]=f;d=U?z:H;h=d+L;A[a+600>>3]=h;a=v[a+596>>2];A[a+16>>3]=f;A[a+8>>3]=h;v[a>>2]=1;c=1;while(1){h=+(c|0)/u;h=(h+h)*3.141592653589793;g=_d(h);a=v[C>>2];g=f+L*g;A[a+608>>3]=g;h=d+L*oe(h);A[a+600>>3]=h;cd(v[a+596>>2],h,g);c=c+1|0;if((k|0)!=(c|0)){continue}break}a=v[e+28>>2];kf(v[a+596>>2]);b=v[a+596>>2];b=v[((v[b+28>>2]<<2)+v[b+24>>2]|0)-4>>2];c=(v[b+12>>2]<<3)-8|0;A[a+600>>3]=A[c+v[b>>2]>>3];A[a+608>>3]=A[c+v[b+4>>2]>>3];a=v[e+8>>2];Qa[v[v[a>>2]+204>>2]](a,v[e+28>>2]);Ae(v[e+28>>2])}Ma=m+288|0;break a;case 3:case 4:c=Ma-816|0;Ma=c;M:{if(v[b+192>>2]<1){break M}while(1){k=v[a+116>>2];N:{if(!k){break N}if((q|0)<25){q=q+1|0;break N}q=0;if(Qa[k|0](v[a+120>>2])|0){break M}}k=c+512|0;I=c+256|0;mV(b,e,c+808|0,c+800|0,k,c+792|0,c+784|0,I,c+776|0,c+768|0,c);kv(a,A[c+808>>3],A[c+800>>3],k,A[c+792>>3],A[c+784>>3],I,A[c+776>>3],A[c+768>>3],c,b,0);e=e+1|0;if((e|0)>2]){continue}break}}Ma=c+816|0;break a;case 5:case 6:break b;default:break a}}e=v[b+184>>2];c=3;O:{if((e|0)>128){break O}c=2;if((e|0)>64){break O}if((e|0)<1){break a}c=(e|0)>16}e=c;c=0;while(1){k=v[a+116>>2];P:{if(!k){break P}if((c|0)<25){c=c+1|0;break P}c=0;if(Qa[k|0](v[a+120>>2])|0){break a}}lv(a,v[b+180>>2]+B(q,1280)|0,b,e);q=q+1|0;if((q|0)>2]){continue}break}}Ma=R+512|0}function mG(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0,A=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;oa=ab(24);v[oa+12>>2]=c;v[oa+8>>2]=b;v[oa>>2]=927256;v[oa+4>>2]=0;ga=b+7>>3;v[oa+16>>2]=ga;a:{if(!((b|0)<1|(c|0)<1)){ra=c;if((ra|0)<(2147483646/(ga|0)|0)){break a}}v[oa+12>>2]=-1;v[oa+16>>2]=2;ra=-1;ga=2}o=B(ga,ra);p=si(o+1|0);v[oa+20>>2]=p;t[o+p|0]=0;p=eb(p,0,o);if((c|0)>=1){na=g&7;ma=(g|0)>-1;W=ma?7:na;ua=W-1|0;Aa=W?ua:7;Da=d?8:16;Ba=!W;xa=2-g|0;I=1-g|0;za=g-1&7;C=(g|0)>0;va=C?7:za;Ea=va?va-1|0:7;ja=g^-1;pa=ma?0:ja>>>3|0;o=0-g|0;Fa=o>>>3|0;Ga=C?0:Fa;Ha=(b|0)==1?7:6;Ia=!va;qa=p;C=p;ha=p;fa=p;ia=p;while(1){G=X-1|0;b:{c:{d:{e:{if(d){K=0;if(!X|(X|0)>(ra|0)){break e}Z=0;_=0;P=0;ka=0;if((b|0)<1){break c}_=7;if(!ia){break d}Z=1;l=B(G,ga)+ia|0;P=(b|0)==1?0:l;_=Ha;ka=w[l|0]>>>7|0;break c}da=0;f:{g:{if(!(!X|(X|0)>(ra|0))){T=0;la=0;ba=0;ka=0;if((b|0)<1){break f}if(!p){qa=0;C=0;ha=0;fa=0;ia=0;la=7;break g}T=1;C=B(G,ga)+p|0;ba=(b|0)==1?0:C;ka=w[C|0]>>>7|0;qa=p;C=p;ha=p;fa=p;ia=p;la=Ha;break f}T=0;la=0}ba=0;ka=0}h:{if((X|0)>=(ra|0)){wa=0;J=0;break h}wa=0;J=0;if((b|0)<0){break h}da=B(X,ga)+p|0;wa=7;qa=p;C=p;ha=p;fa=p;ia=p;J=-1}k=v[f+8>>2];E=0;K=G-h|0;H=v[f+12>>2];m=(K|0)>-1&(H|0)>(K|0);i:{if(!m){L=0;Z=0;ea=0;G=0;break i}L=0;Z=0;ea=0;G=0;if((k|0)<=(o|0)){break i}l=v[f+20>>2];if(!l){L=va;G=o;break i}l=l+(B(K,v[f+16>>2])+Ga|0)|0;L=7;if((g|0)>0){Z=l;G=I;break i}r=(k|0)==(I|0);Z=r?0:l+Ia|0;L=r?za:Ea;ea=w[l|0]>>>va&1;G=I}j:{k:{l:{m:{s=(k|0)>(ja|0);F=X-h|0;y=s&((F|0)>-1&(F|0)<(H|0));n:{if(!y){Q=0;u=0;break n}Q=W;l=v[f+20>>2];u=ja;if(!l){break n}P=l+(B(F,v[f+16>>2])+pa|0)|0;if(ma){break m}E=w[P|0]>>>W&1;if((k|0)!=(o|0)){break l}Q=na;u=o}Ca=E<<1;P=0;ca=0;break j}Ca=0;Q=7;u=I;ca=0;if((o|0)<0){break j}break k}Ca=E<<1;P=P+Ba|0;Q=Aa;E=o}ca=w[P|0]>>>Q&1;u=E+1|0;if((k|0)==(u|0)){u=k;P=0;break j}if(!Q){P=P+1|0;Q=7;break j}Q=Q-1|0}U=0;V=0;z=0;o:{p:{q:{r:{Ja=X+1|0;$=Ja-h|0;N=s&(($|0)>-1&(H|0)>($|0));q=0;s:{if(!N){break s}V=W;l=v[f+20>>2];q=ja;if(!l){break s}x=l+(B($,v[f+16>>2])+pa|0)|0;if(ma){break r}z=w[x|0]>>>W&1;if((k|0)!=(o|0)){break q}V=na;q=o}R=z<<1;aa=0;break o}R=0;V=7;q=I;U=x;aa=0;if((o|0)<0){break o}break p}R=z<<1;x=x+Ba|0;V=Aa;z=o}aa=w[x|0]>>>V&1;U=0;q=z+1|0;if((k|0)==(q|0)){q=k;break o}if(!V){U=x+1|0;V=7;break o}V=V-1|0;U=x}S=0;r=v[j>>2]+X|0;t:{if(!((r|0)<0|(r|0)>=(ra|0))){_=0;sa=0;l=v[i>>2];A=0;if((l|0)>=(b|0)){break t}C=B(r,ga);u:{if((l|0)<=-1){sa=7;_=p+C|0;break u}sa=(l^-1)&7;_=(C+(l>>>3|0)|0)+p|0}qa=p;C=p;ha=p;fa=p;ia=p;A=l;break t}_=0;sa=0;A=0}r=F+v[j+4>>2]|0;v:{if(!((r|0)<0|(r|0)>=(H|0))){ta=0;l=v[i+4>>2]-g|0;D=0;if((l|0)>=(k|0)){break v}H=B(r,v[f+16>>2]);r=v[f+20>>2];w:{if((l|0)<=-1){ta=7;S=r+H|0;break w}ta=(l^-1)&7;S=r+(H+(l>>>3|0)|0)|0}D=l;break v}ta=0;D=0}x:{if(!e){H=0;M=0;l=0;r=0;O=0;s=0;N=0;y=0;K=0;n=0;E=0;F=0;break x}l=0;H=0;M=0;n=0;y:{z:{if(!(m&s)){break z}H=ja;M=W;r=v[f+20>>2];if(!r){break z}m=r+(B(K,v[f+16>>2])+pa|0)|0;A:{B:{C:{D:{E:{if(!ma){H=o;M=na;if((k|0)==(o|0)){break z}M=ua;Y=o;if(W){break E}M=7;n=w[m+1|0]>>>7|0;if((k|0)!=(I|0)){break D}H=I;break z}Y=0;M=7;if((o|0)<0){break B}}n=w[m|0]>>>M&1;x=Y+1|0;if((k|0)==(x|0)){H=k;break z}if(M){break C}m=m+1|0;M=7;z=n<<1;break A}m=m+1|0;x=I}M=M-1|0;z=n<<1;break A}z=0;x=0;H=xa;l=m;if((I|0)<0){break y}}Y=w[m|0]>>>M&1;l=0;H=x+1|0;if((k|0)==(H|0)){H=k;break y}if(!M){l=m+1|0;M=7;break y}M=M-1|0;l=m;break y}z=n<<1;Y=0}s=0;r=0;O=0;n=0;F:{G:{if(!y){break G}r=ja;O=W;m=v[f+20>>2];if(!m){break G}m=m+(B(F,v[f+16>>2])+pa|0)|0;H:{I:{J:{K:{L:{if(!ma){r=o;O=na;if((k|0)==(o|0)){break G}O=ua;F=o;if(W){break L}O=7;n=w[m+1|0]>>>7|0;if((k|0)!=(I|0)){break K}r=I;break G}F=0;O=7;if((o|0)<0){break I}}n=w[m|0]>>>O&1;K=F+1|0;if((k|0)==(K|0)){r=k;break G}if(O){break J}m=m+1|0;O=7;x=n<<1;break H}m=m+1|0;K=I}O=O-1|0;x=n<<1;break H}x=0;K=0;r=xa;s=m;if((I|0)<0){break F}}F=w[m|0]>>>O&1;s=0;r=K+1|0;if((k|0)==(r|0)){r=k;break F}if(!O){s=m+1|0;O=7;break F}O=O-1|0;s=m;break F}x=n<<1;F=0}K=0;y=0;n=0;M:{N:{O:{P:{Q:{R:{m=0;S:{if(!N){break S}y=W;N=v[f+20>>2];m=ja;if(!N){break S}$=N+(B($,v[f+16>>2])+pa|0)|0;T:{if(!ma){y=na;m=o;if((k|0)==(o|0)){break S}y=ua;m=o;if(W){break T}y=7;n=w[$+1|0]>>>7|0;if((k|0)!=(I|0)){break Q}m=I;break S}m=0;y=7;if((o|0)<0){break O}}n=w[$|0]>>>y&1;ya=m+1|0;if((k|0)!=(ya|0)){break R}m=k}N=m;E=n<<1;m=0;break M}if(y){break P}$=$+1|0;y=7;E=n<<1;break N}$=$+1|0;ya=I}y=y-1|0;E=n<<1;break N}E=0;ya=0;N=xa;K=$;if((I|0)<0){break M}}m=w[$|0]>>>y&1;K=0;N=ya+1|0;if((k|0)==(N|0)){N=k;break M}if(!y){K=$+1|0;y=7;break M}y=y-1|0;K=$}n=z|Y;E=m|E;F=x|F}if((b|0)>=1){Y=ca|Ca;m=R|aa;ya=B(X,ga);R=0;while(1){U:{if(!ba){ba=0;x=0;break U}if((T|0)<=-1){T=T+1|0;x=0;break U}x=w[ba|0]>>>la&1;T=T+1|0;if((T|0)==(b|0)){T=b;ba=0;break U}if(!la){ba=ba+1|0;la=7;break U}la=la-1|0}z=0;V:{if(!Z){Z=0;ca=0;break V}if((G|0)<=-1){G=G+1|0;ca=0;break V}ca=w[Z|0]>>>L&1;G=G+1|0;if((G|0)==v[f+8>>2]){Z=0;break V}if(!L){Z=Z+1|0;L=7;break V}L=L-1|0}aa=ka<<1;$=ea<<1;k=Y<<1;W:{if(!P){P=0;break W}if((u|0)<=-1){u=u+1|0;break W}z=w[P|0]>>>Q&1;u=u+1|0;if((u|0)==v[f+8>>2]){P=0;break W}if(!Q){P=P+1|0;Q=7;break W}Q=Q-1|0}Y=aa&2;aa=$&2;$=m<<1;k=k&6;m=0;X:{if(!U){U=0;break X}if((q|0)<=-1){q=q+1|0;break X}m=w[U|0]>>>V&1;q=q+1|0;if((q|0)==v[f+8>>2]){U=0;break X}if(!V){U=U+1|0;V=7;break X}V=V-1|0}ka=x|Y;ea=aa|ca;Y=k|z;m=$&6|m;Y:{Z:{if(!e){break Z}k=n<<1;z=0;_:{if(!l){l=0;x=0;break _}if((H|0)<=-1){H=H+1|0;x=0;break _}x=w[l|0]>>>M&1;H=H+1|0;if((H|0)==v[f+8>>2]){l=0;break _}if(!M){l=l+1|0;M=7;break _}M=M-1|0}F=F<<1;k=k&6;$:{if(!s){s=0;break $}if((r|0)<=-1){r=r+1|0;break $}z=w[s|0]>>>O&1;r=r+1|0;if((r|0)==v[f+8>>2]){s=0;break $}if(!O){s=s+1|0;O=7;break $}O=O-1|0}n=k|x;x=E<<1;k=F&6;E=0;aa:{if(!K){K=0;break aa}if((N|0)<=-1){N=N+1|0;break aa}E=w[K|0]>>>y&1;N=N+1|0;if((N|0)==v[f+8>>2]){K=0;break aa}if(!y){K=K+1|0;y=7;break aa}y=y-1|0}Tc(v[a+76>>2],Da,v[a+84>>2]);E=x&6|E;F=k|z;if(!(E|(F|n))){C=(B(X,ga)+(R>>>3|0)|0)+p|0;t[C|0]=w[C|0]&32639>>>(R&7);n=0;qa=p;C=p;ha=p;fa=p;ia=p;F=0;E=0;break Y}if((n|0)!=7|(F|0)!=7|(E|0)!=7){break Z}n=7;C=(B(X,ga)+(R>>>3|0)|0)+p|0;t[C|0]=w[C|0]|1<<((R^-1)&7);qa=p;C=p;ha=p;fa=p;ia=p;F=7;E=7;break Y}k=ka<<11;z=0;ba:{if(!da){da=0;ca=0;break ba}if((J|0)<=-1){J=J+1|0;ca=0;break ba}ca=w[da|0]>>>wa&1;J=J+1|0;if((J|0)==(b|0)){J=b;da=0;break ba}if(!wa){da=da+1|0;wa=7;break ba}wa=wa-1|0}k=k|ca<<10|ea<<8|Y<<5|m<<2;ca:{if(!_){_=0;break ca}if((A|0)<=-1){A=A+1|0;break ca}z=w[_|0]>>>sa&1;A=A+1|0;if((A|0)==(b|0)){A=b;_=0;break ca}if(!sa){_=_+1|0;sa=7;break ca}sa=sa-1|0}k=k|z<<1;z=0;da:{if(!S){S=0;break da}if((D|0)<=-1){D=D+1|0;break da}z=w[S|0]>>>ta&1;D=D+1|0;if((D|0)==v[f+8>>2]){S=0;break da}if(!ta){S=S+1|0;ta=7;break da}ta=ta-1|0}if(!Tc(v[a+76>>2],k|z,v[a+84>>2])){break Y}C=(ya+(R>>>3|0)|0)+p|0;t[C|0]=w[C|0]|1<<((R^-1)&7);qa=p;C=p;ha=p;fa=p;ia=p}R=R+1|0;if((R|0)!=(b|0)){continue}break}}k=Ja;break b}_=0}Z=0;P=0;ka=0}ea:{if((X|0)>=(ra|0)){V=0;r=0;break ea}V=0;r=0;if((b|0)<0){break ea}K=B(X,ga)+fa|0;V=7;ia=fa;r=-1}k=v[f+8>>2];ea=0;A=G-h|0;q=v[f+12>>2];s=(A|0)>-1&(q|0)>(A|0);fa:{if(!s){Q=0;N=0;H=0;break fa}Q=0;N=0;H=0;if((k|0)<=(o|0)){break fa}G=B(A,v[f+16>>2]);l=v[f+20>>2];N=o;ga:{if((g|0)>=1){Q=7;H=l+G|0;break ga}Q=za;H=l+(G+Fa|0)|0}}ha:{ia:{ja:{ka:{y=(k|0)>(ja|0);D=X-h|0;u=y&((D|0)>-1&(q|0)>(D|0));la:{if(!u){S=0;x=0;break la}S=W;l=v[f+20>>2];x=ja;if(!l){break la}z=l+(B(D,v[f+16>>2])+pa|0)|0;if(ma){break ka}ea=w[z|0]>>>W&1;if((k|0)!=(o|0)){break ja}S=na;x=o}M=ea<<1;z=0;U=0;break ha}M=0;S=7;x=I;U=0;if((o|0)<0){break ha}break ia}M=ea<<1;z=z+Ba|0;S=Aa;ea=o}U=w[z|0]>>>S&1;x=ea+1|0;if((k|0)==(x|0)){x=k;z=0;break ha}if(!S){z=z+1|0;S=7;break ha}S=S-1|0}G=0;la=X+1|0;L=la-h|0;m=(L|0)>-1&(q|0)>(L|0);ma:{if(!m){da=0;ba=0;ea=0;l=0;break ma}da=0;ba=0;ea=0;l=0;if((k|0)<=(o|0)){break ma}l=v[f+20>>2];if(!l){da=va;l=o;break ma}l=l+(B(L,v[f+16>>2])+Ga|0)|0;da=7;if((g|0)>0){ba=l;l=I;break ma}q=(k|0)==(I|0);ba=q?0:l+Ia|0;da=q?za:Ea;ea=w[l|0]>>>va&1;l=I}ca=l;na:{if(!e){J=0;aa=0;l=0;A=0;q=0;s=0;D=0;u=0;n=0;F=0;m=0;break na}aa=0;J=0;n=0;oa:{pa:{if(!(y&s)){break pa}G=ja;J=W;l=v[f+20>>2];if(!l){break pa}q=l+(B(A,v[f+16>>2])+pa|0)|0;qa:{ra:{sa:{ta:{ua:{if(!ma){G=o;J=na;if((k|0)==(o|0)){break pa}J=ua;F=o;if(W){break ua}J=7;n=w[q+1|0]>>>7|0;if((k|0)!=(I|0)){break ta}G=I;break pa}F=0;J=7;if((o|0)<0){break ra}}n=w[q|0]>>>J&1;l=F+1|0;if((k|0)==(l|0)){G=k;break pa}if(J){break sa}q=q+1|0;J=7;T=n<<1;break qa}q=q+1|0;l=I}J=J-1|0;T=n<<1;break qa}T=0;l=0;G=xa;aa=q;if((I|0)<0){break oa}}F=w[q|0]>>>J&1;aa=0;G=l+1|0;if((k|0)==(G|0)){G=k;break oa}if(!J){aa=q+1|0;J=7;break oa}J=J-1|0;aa=q;break oa}T=n<<1;F=0}q=0;l=0;A=0;n=0;va:{wa:{if(!u){break wa}l=ja;A=W;u=v[f+20>>2];if(!u){break wa}u=u+(B(D,v[f+16>>2])+pa|0)|0;xa:{ya:{za:{Aa:{Ba:{if(!ma){l=o;A=na;if((k|0)==(o|0)){break wa}A=ua;Y=o;if(W){break Ba}A=7;n=w[u+1|0]>>>7|0;if((k|0)!=(I|0)){break Aa}l=I;break wa}Y=0;A=7;if((o|0)<0){break ya}}n=w[u|0]>>>A&1;s=Y+1|0;if((k|0)==(s|0)){l=k;break wa}if(A){break za}u=u+1|0;A=7;O=n<<1;break xa}u=u+1|0;s=I}A=A-1|0;O=n<<1;break xa}O=0;s=0;l=xa;q=u;if((I|0)<0){break va}}Y=w[u|0]>>>A&1;q=0;l=s+1|0;if((k|0)==(l|0)){l=k;break va}if(!A){q=u+1|0;A=7;break va}A=A-1|0;q=u;break va}O=n<<1;Y=0}u=0;D=0;n=0;Ca:{Da:{Ea:{Fa:{Ga:{Ha:{s=0;Ia:{if(!(m&y)){break Ia}D=W;m=v[f+20>>2];s=ja;if(!m){break Ia}L=m+(B(L,v[f+16>>2])+pa|0)|0;Ja:{if(!ma){D=na;s=o;if((k|0)==(o|0)){break Ia}D=ua;m=o;if(W){break Ja}D=7;n=w[L+1|0]>>>7|0;if((k|0)!=(I|0)){break Ga}s=I;break Ia}m=0;D=7;if((o|0)<0){break Ea}}n=w[L|0]>>>D&1;y=m+1|0;if((k|0)!=(y|0)){break Ha}s=k}E=n<<1;m=0;break Ca}if(D){break Fa}L=L+1|0;D=7;E=n<<1;break Da}L=L+1|0;y=I}D=D-1|0;E=n<<1;break Da}E=0;y=0;s=xa;u=L;if((I|0)<0){break Ca}}m=w[L|0]>>>D&1;u=0;s=y+1|0;if((k|0)==(s|0)){s=k;break Ca}if(!D){u=L+1|0;D=7;break Ca}D=D-1|0;u=L}n=F|T;F=O|Y;m=m|E}k=la;if((b|0)<1){break b}Y=M|U;M=B(X,ga);R=0;while(1){Ka:{if(!P){P=0;U=0;break Ka}if((Z|0)<=-1){Z=Z+1|0;U=0;break Ka}U=w[P|0]>>>_&1;Z=Z+1|0;if((Z|0)==(b|0)){Z=b;P=0;break Ka}if(!_){P=P+1|0;_=7;break Ka}_=_-1|0}y=ka<<1;k=Y<<1;E=0;La:{if(!z){z=0;T=0;break La}if((x|0)<=-1){x=x+1|0;T=0;break La}T=w[z|0]>>>S&1;x=x+1|0;if((x|0)==v[f+8>>2]){z=0;break La}if(!S){z=z+1|0;S=7;break La}S=S-1|0}L=y&6;y=ea<<1;k=k&6;Ma:{if(!ba){ba=0;break Ma}if((ca|0)<=-1){ca=ca+1|0;break Ma}E=w[ba|0]>>>da&1;ca=ca+1|0;if((ca|0)==v[f+8>>2]){ba=0;break Ma}if(!da){ba=ba+1|0;da=7;break Ma}da=da-1|0}ka=L|U;Y=k|T;ea=y&2|E;Na:{Oa:{if(!e){break Oa}k=n<<1;E=0;Pa:{if(!aa){aa=0;U=0;break Pa}if((G|0)<=-1){G=G+1|0;U=0;break Pa}U=w[aa|0]>>>J&1;G=G+1|0;if((G|0)==v[f+8>>2]){aa=0;break Pa}if(!J){aa=aa+1|0;J=7;break Pa}J=J-1|0}L=F<<1;k=k&6;Qa:{if(!q){q=0;break Qa}if((l|0)<=-1){l=l+1|0;break Qa}E=w[q|0]>>>A&1;l=l+1|0;if((l|0)==v[f+8>>2]){q=0;break Qa}if(!A){q=q+1|0;A=7;break Qa}A=A-1|0}n=k|U;y=m<<1;k=L&6;m=0;Ra:{if(!u){u=0;break Ra}if((s|0)<=-1){s=s+1|0;break Ra}m=w[u|0]>>>D&1;s=s+1|0;if((s|0)==v[f+8>>2]){u=0;break Ra}if(!D){u=u+1|0;D=7;break Ra}D=D-1|0}Tc(v[a+76>>2],Da,v[a+84>>2]);m=y&6|m;F=k|E;if(!(m|(F|n))){ha=(B(X,ga)+(R>>>3|0)|0)+C|0;t[ha|0]=w[ha|0]&32639>>>(R&7);n=0;ha=C;fa=C;ia=C;F=0;m=0;break Na}if((n|0)!=7|(F|0)!=7|(m|0)!=7){break Oa}n=7;fa=(B(X,ga)+(R>>>3|0)|0)+ha|0;t[fa|0]=w[fa|0]|1<<((R^-1)&7);fa=ha;ia=fa;F=7;m=7;break Na}k=ka<<7;E=0;Sa:{if(!K){K=0;T=0;break Sa}if((r|0)<=-1){r=r+1|0;T=0;break Sa}T=w[K|0]>>>V&1;r=r+1|0;if((r|0)==(b|0)){r=b;K=0;break Sa}if(!V){K=K+1|0;V=7;break Sa}V=V-1|0}k=k|T<<6;Ta:{if(!H){H=0;break Ta}if((N|0)<=-1){N=N+1|0;break Ta}E=w[H|0]>>>Q&1;N=N+1|0;if((N|0)==v[f+8>>2]){H=0;break Ta}if(!Q){H=H+1|0;Q=7;break Ta}Q=Q-1|0}if(!Tc(v[a+76>>2],k|E<<5|Y<<2|ea,v[a+84>>2])){break Na}C=(M+(R>>>3|0)|0)+qa|0;t[C|0]=w[C|0]|1<<((R^-1)&7);C=qa;ha=C;fa=C;ia=C}R=R+1|0;if((R|0)!=(b|0)){continue}break}k=la}X=k;if((X|0)!=(c|0)){continue}break}}return oa}function xI(a,b){a=a|0;b=b|0;var 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,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;e=Ma-16|0;Ma=e;j=v[a+4>>2];a:{if(t[j+254|0]>=1){g=Ma-16|0;Ma=g;v[g+12>>2]=0;c=v[j+24>>2];l=v[c+224>>2];c=w[c+200|0];if((c|0)==12){d=v[j+48>>2]}else{d=(c|0)==219?1:-1}h=j+222|0;c=v[a+8>>2];d=kI(l,d<<24>>24,h,t[j+254|0],c,v[a+12>>2]-c|0,g+12|0,t[a+2|0]);b:{if((d|0)>=1){c=j;l=c;i=t[c+254|0];c:{if((i|0)<=(d|0)){v[a+8>>2]=v[a+8>>2]+(d-i|0);c=0;break c}c=h;h=i-d|0;id(c,(d+j|0)+222|0,h);c=0-h|0}t[l+254|0]=c;h=a+24|0;d=a+16|0;i=v[a+20>>2];c=v[g+12>>2];if(c>>>0<=3145727){mI(j,c-2031616|0,d,i,h,-1,b);break b}l=v[v[j+24>>2]+224>>2];nI(j,(v[l+12>>2]+l|0)+((c&262143)<<1)|0,(c>>>18|0)-12|0,d,i,h,-1,b);break b}if((d|0)<=-1){c=v[a+8>>2];h=t[j+254|0];i=0-d|0;d:{if((h|0)>=(i|0)){break d}l=(d^-1)-h|0;d=i-h&3;if(d){while(1){t[(h+j|0)+222|0]=w[c|0];h=h+1|0;c=c+1|0;d=d-1|0;if(d){continue}break}}if(l>>>0<3){break d}while(1){d=h+j|0;t[d+222|0]=w[c|0];t[d+223|0]=w[c+1|0];t[d+224|0]=w[c+2|0];t[d+225|0]=w[c+3|0];c=c+4|0;h=h+4|0;if((i|0)!=(h|0)){continue}break}}v[a+8>>2]=c;t[j+254|0]=i;break b}cb(j+37|0,h,t[j+255|0]);c=t[j+255|0];t[j+36|0]=c;d=t[j+254|0]-c|0;if((d|0)>=1){id(h,(c+j|0)+222|0,d)}t[j+254|0]=0-d;v[b>>2]=10}Ma=g+16|0;if(t[j+254|0]<0|v[b>>2]>0){break a}}e:{d=v[j+24>>2];if(w[d+28|0]==1){if(t[d+201|0]&1){break e}j=v[a+4>>2];c=v[a+8>>2];v[e+12>>2]=c;o=v[a+12>>2];g=v[a+16>>2];v[e+8>>2]=g;h=v[a+20>>2];v[e+4>>2]=v[a+24>>2];d=o-c|0;h=h-g>>1;i=(d|0)<(h|0)?d:h;m=v[v[j+24>>2]+(w[j+28|0]&16?40:36)>>2];h=c;f:{g:while(1){h:{if((i|0)<16){d=h;break h}s=i>>>4|0;k=s;i:{while(1){v[e+12>>2]=c+1;n=v[m+(w[c|0]<<2)>>2];v[e+8>>2]=g+2;u[g>>1]=n;v[e+12>>2]=c+2;p=v[m+(w[c+1|0]<<2)>>2];v[e+8>>2]=g+4;u[g+2>>1]=p;v[e+12>>2]=c+3;q=v[m+(w[c+2|0]<<2)>>2];v[e+8>>2]=g+6;u[g+4>>1]=q;v[e+12>>2]=c+4;z=v[m+(w[c+3|0]<<2)>>2];u[g+6>>1]=z;A=v[m+(w[c+4|0]<<2)>>2];u[g+8>>1]=A;C=v[m+(w[c+5|0]<<2)>>2];u[g+10>>1]=C;D=v[m+(w[c+6|0]<<2)>>2];u[g+12>>1]=D;E=v[m+(w[c+7|0]<<2)>>2];u[g+14>>1]=E;F=v[m+(w[c+8|0]<<2)>>2];u[g+16>>1]=F;G=v[m+(w[c+9|0]<<2)>>2];u[g+18>>1]=G;H=v[m+(w[c+10|0]<<2)>>2];u[g+20>>1]=H;I=v[m+(w[c+11|0]<<2)>>2];u[g+22>>1]=I;J=v[m+(w[c+12|0]<<2)>>2];u[g+24>>1]=J;K=v[m+(w[c+13|0]<<2)>>2];u[g+26>>1]=K;L=v[m+(w[c+14|0]<<2)>>2];u[g+28>>1]=L;d=c+16|0;v[e+12>>2]=d;r=v[m+(w[c+15|0]<<2)>>2];l=g+32|0;v[e+8>>2]=l;u[g+30>>1]=r;if((r|(q|(n|p)|z|A|C|D|E|F|G|H|I|J|K|L))>=-2146435072){v[e+8>>2]=g;v[e+12>>2]=c;break i}n=(k|0)>1;g=l;c=d;k=k-1|0;if(n){continue}break}k=0}k=s-k|0;d=k<<4;i=i-d|0;c=v[e+4>>2];if(!c){d=h;break h}d=d+h|0;if((k|0)<1){break h}while(1){v[c>>2]=f;v[c+60>>2]=f+15;v[c+56>>2]=f+14;v[c+52>>2]=f+13;v[c+48>>2]=f+12;v[c+44>>2]=f+11;v[c+40>>2]=f+10;v[c+36>>2]=f+9;v[c+32>>2]=f+8;v[c+28>>2]=f+7;v[c+24>>2]=f+6;v[c+20>>2]=f+5;v[c+16>>2]=f+4;v[c+12>>2]=f+3;v[c+8>>2]=f+2;v[c+4>>2]=f+1;c=c- -64|0;f=f+16|0;h=(k|0)>1;k=k-1|0;if(h){continue}break}v[e+4>>2]=c}if((i|0)<1){h=d;break f}while(1){c=g;n=i;h=v[e+12>>2];j:{k:{while(1){l=h;if(h>>>0>=o>>>0){h=d;break f}h=l+1|0;v[e+12>>2]=h;i=v[m+(w[l|0]<<2)>>2];if((i|0)<=-2146435073){break j}l:{switch((i>>>20&15)-2|0){case 0:break j;case 4:break k;case 5:break l;default:continue}}break}v[b>>2]=12}c=v[e+4>>2];m:{if(!c){break m}g=h-d|0;if((g|0)<2){break m}i=(d^-1)+h&7;if(i){while(1){v[c>>2]=f;c=c+4|0;f=f+1|0;g=g-1|0;i=i-1|0;if(i){continue}break}}if((h-d|0)-2>>>0>=7){while(1){v[c>>2]=f;v[c+28>>2]=f+7;v[c+24>>2]=f+6;v[c+20>>2]=f+5;v[c+16>>2]=f+4;v[c+12>>2]=f+3;v[c+8>>2]=f+2;v[c+4>>2]=f+1;c=c+32|0;f=f+8|0;i=(g|0)>9;g=g-8|0;if(i){continue}break}}v[e+4>>2]=c}if(v[b>>2]>0){h=d;break f}t[j+37|0]=w[l|0];n:{c=v[v[j+24>>2]+224>>2];if(c){if(lI(j,c,1,e+12|0,o,e+8|0,v[a+20>>2],e+4|0,f,t[a+2|0],b)){break n}}v[b>>2]=10;t[j+36|0]=1;f=(v[e+12>>2]+(f-h|0)|0)+1|0;break f}d=v[b>>2];t[j+36|0]=0;c=v[e+12>>2];f=(c+(f-h|0)|0)+1|0;if((d|0)>0){break f}d=o-c|0;g=v[e+8>>2];i=v[a+20>>2]-g>>1;i=(d|0)<(i|0)?d:i;continue g}g=c+2|0;v[e+8>>2]=g;u[c>>1]=i;i=n-1|0;if((n|0)>1){continue}break}break}h=d}c=0;d=v[e+12>>2];if(!(v[b>>2]>0|d>>>0>=o>>>0|y[e+8>>2]>2])){v[b>>2]=15}b=v[e+4>>2];o:{if(!b){break o}g=d-h|0;if(!g){c=b;break o}i=d+(h^-1)|0;h=g&7;p:{if(!h){c=b;break p}c=b;while(1){v[c>>2]=f;g=g-1|0;c=c+4|0;f=f+1|0;h=h-1|0;if(h){continue}break}}if(i>>>0<7){break o}while(1){v[c>>2]=f;v[c+28>>2]=f+7;v[c+24>>2]=f+6;v[c+20>>2]=f+5;v[c+16>>2]=f+4;v[c+12>>2]=f+3;v[c+8>>2]=f+2;v[c+4>>2]=f+1;c=c+32|0;f=f+8|0;g=g-8|0;if(g){continue}break}}v[a+8>>2]=d;b=v[e+8>>2];v[a+24>>2]=c;v[a+16>>2]=b;break a}c=v[a+8>>2];v[e+12>>2]=c;p=v[a+12>>2];g=v[a+16>>2];v[e+8>>2]=g;o=v[a+20>>2];v[e+4>>2]=v[a+24>>2];h=w[j+48|0];if(!h){h=w[d+29|0]}i=w[j+36|0];k=v[j+44>>2];q:{if(c>>>0>=p>>>0){break q}if(g>>>0>>0){q=v[d+44>>2];r=v[d+(w[j+28|0]&16?40:36)>>2];l=i&255?-1:0;while(1){r:{s:{t:{u:{if(!(i&255)){d=v[e+4>>2];if(!d){break u}m=d;while(1){v:{f=v[(r+((h&255)<<10)|0)+(w[c|0]<<2)>>2];w:{if((f|0)>=0){i=c+1|0;v[e+12>>2]=i;k=f&16777215;h=f>>>24|0;if(i>>>0>=p>>>0){break v}f=v[(r+(h<<10)|0)+(w[i|0]<<2)>>2];if((f&-2131755008)!=-2143289344){break v}m=x[q+((f&65535)+k<<1)>>1];if(m>>>0>65533){break v}v[e+8>>2]=g+2;c=c+2|0;v[e+12>>2]=c;u[g>>1]=m;k=0;h=f>>>24&127;if(d){g=d+4|0;v[e+4>>2]=g;v[d>>2]=l;l=n+2|0;n=l;d=g}else{d=0}g=d;break w}if((f|0)>-2146435073){i=0;break s}v[e+8>>2]=g+2;c=c+1|0;v[e+12>>2]=c;u[g>>1]=f;h=0;g=0;if(!m){break w}d=m+4|0;v[e+4>>2]=d;v[m>>2]=l;l=n+1|0;n=l;g=d}m=g;i=0;g=v[e+8>>2];if(c>>>0>=p>>>0){break s}if(g>>>0>>0){continue}break s}break}n=n+1|0;d=c;break t}v[e+12>>2]=c+1;c=w[c|0];t[(j+(i<<24>>24)|0)+37|0]=c;f=v[(r+((h&255)<<10)|0)+(c<<2)>>2];break r}while(1){x:{f=v[(r+((h&255)<<10)|0)+(w[c|0]<<2)>>2];y:{if((f|0)>=0){i=c+1|0;v[e+12>>2]=i;k=f&16777215;h=f>>>24|0;if(i>>>0>=p>>>0){break x}f=v[(r+(h<<10)|0)+(w[i|0]<<2)>>2];if((f&-2131755008)!=-2143289344){break x}d=x[q+((f&65535)+k<<1)>>1];if(d>>>0>65533){break x}v[e+8>>2]=g+2;c=c+2|0;v[e+12>>2]=c;u[g>>1]=d;k=0;h=f>>>24&127;break y}if((f|0)>-2146435073){i=0;break s}v[e+8>>2]=g+2;c=c+1|0;v[e+12>>2]=c;u[g>>1]=f;h=0}i=0;g=v[e+8>>2];if(c>>>0>=p>>>0){break s}if(g>>>0>>0){continue}break s}break}d=c}c=i;t[j+37|0]=w[d|0];i=1}if(c>>>0>=p>>>0){break q}if(g>>>0>=o>>>0){v[b>>2]=15;break q}v[e+12>>2]=c+1;t[(i+j|0)+37|0]=w[c|0]}m=l;d=h;n=n+1|0;g=(i<<24)+16777216>>24;z:{if((f|0)>=0){h=f>>>24|0;k=(f&16777215)+k|0;i=g;break z}v[j+48>>2]=d&255;h=f>>>24&127;A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{s=f>>>20&15;switch(s|0){case 5:break H;case 0:break I;case 4:break J;default:break G}}c=(f&65535)+k|0;d=x[q+(c<<1)>>1];if(d>>>0<=65533){c=v[e+8>>2];v[e+8>>2]=c+2;u[c>>1]=d;c=v[e+4>>2];if(!c){break A}v[e+4>>2]=c+4;v[c>>2]=m;break A}if((d|0)!=65534){c=h;break C}d=v[j+24>>2];f=v[d+32>>2];if(!f){break B}d=v[d+48>>2];k=0;if((f|0)!=1){while(1){i=f+k>>>1|0;l=c>>>0>2];k=l?k:i;f=l?i:f;if(k>>>0>>0){continue}break}}d=d+(k<<3)|0;if((c|0)!=v[d>>2]){break B}c=v[d+4>>2];if((c|0)==65534){break B}d=v[e+8>>2];v[e+8>>2]=d+2;u[d>>1]=c;c=v[e+4>>2];if(!c){break A}v[e+4>>2]=c+4;v[c>>2]=m;break A}c=v[e+8>>2];v[e+8>>2]=c+2;u[c>>1]=f;c=v[e+4>>2];if(!c){break A}v[e+4>>2]=c+4;v[c>>2]=m;break A}c=(f&65535)+k|0;d=x[q+(c<<1)>>1];if(d>>>0<=55295){c=v[e+8>>2];v[e+8>>2]=c+2;u[c>>1]=d;c=v[e+4>>2];if(!c){break A}v[e+4>>2]=c+4;v[c>>2]=m;break A}i=c+1|0;if(d>>>0<=57343){c=v[e+8>>2];g=c+2|0;v[e+8>>2]=g;u[c>>1]=d&56319;K:{d=v[e+4>>2];if(d){v[e+4>>2]=d+4;v[d>>2]=m;if(g>>>0>=o>>>0){break K}g=x[q+(i<<1)>>1];v[e+8>>2]=c+4;u[c+2>>1]=g;v[e+4>>2]=d+8;v[d+4>>2]=m;break A}if(g>>>0>=o>>>0){break K}d=x[q+(i<<1)>>1];v[e+8>>2]=c+4;u[c+2>>1]=d;break A}c=x[q+(i<<1)>>1];t[j+65|0]=1;u[j+116>>1]=c;break F}if((d&65534)!=57344){break D}c=x[q+(i<<1)>>1];d=v[e+8>>2];v[e+8>>2]=d+2;u[d>>1]=c;c=v[e+4>>2];if(!c){break A}v[e+4>>2]=c+4;v[c>>2]=m;break A}if((f&13631488)!=1048576){break E}c=v[e+8>>2];g=c+2|0;v[e+8>>2]=g;u[c>>1]=f>>>10&1023|55296;L:{d=v[e+4>>2];if(d){v[e+4>>2]=d+4;v[d>>2]=m;f=f&1023|-9216;if(g>>>0>=o>>>0){break L}v[e+8>>2]=c+4;u[c+2>>1]=f;v[e+4>>2]=d+8;v[d+4>>2]=m;break A}f=f&1023|-9216;if(g>>>0>=o>>>0){break L}v[e+8>>2]=c+4;u[c+2>>1]=f;break A}t[j+65|0]=1;u[j+116>>1]=f}v[b>>2]=15;i=0;k=0;break q}i=0;l=n;k=0;c=h;M:{switch(s-2|0){case 6:c=d;if(!w[v[j+24>>2]+29|0]){break A}break C;case 4:break B;case 5:break C;case 0:break M;default:break z}}c=v[e+8>>2];v[e+8>>2]=c+2;u[c>>1]=f;c=v[e+4>>2];if(!c){break A}v[e+4>>2]=c+4;v[c>>2]=m;break A}c=h;if((d|0)!=65535){break B}}v[b>>2]=12;h=c}if(!g){break A}if(v[b>>2]>=1){k=0;if((g|0)<2){i=g;break q}c=g&255;d=r+((h&255)<<10)|0;l=!w[v[j+24>>2]+29|0];i=1;N:{while(1){n=(i+j|0)+37|0;b=v[d+(w[n|0]<<2)>>2];O:{if((b|0)>=0){b=wI(r,b>>>24|0);break O}b=b>>>20&15;b=(b|0)!=7&(l|(b|0)!=8)}if(b){break N}i=i+1|0;if((c|0)!=(i|0)){continue}break}i=g;break q}b=e;c=v[e+12>>2];d=c-v[a+8>>2]|0;g=g-i|0;l=g<<24>>24;P:{if((d|0)>=(l|0)){c=c-l|0;break P}c=d-g|0;t[j+254|0]=c;cb(j+222|0,n,0-(c<<24>>24)|0);c=v[a+8>>2]}v[b+12>>2]=c;break q}v[a+8>>2]=v[e+12>>2];c=v[v[j+24>>2]+224>>2];Q:{if(c){i=0;if(lI(j,c,g,e+12|0,p,e+8|0,o,e+4|0,m,t[a+2|0],b)){break Q}}R:{S:{if(!(w[j+29|0]&128)|(g|0)!=4){break S}c=w[j+40|0]+B(w[j+39|0]+B(w[j+38|0]+B(w[j+37|0],10)|0,126)|0,10)|0;if(c>>>0>=1876218){if(c>>>0>2924793){break S}k=-1876218;d=837152;break R}T:{U:{V:{W:{X:{if(c>>>0>=1706261){if(c>>>0>1720686){break X}k=-1706261;d=837168;break R}if(c>>>0<1688038){break S}if(c>>>0<1694675){k=-1688038;d=837184;break R}if((c|0)==1694675){break S}if(c>>>0>1695139){break W}k=-1694676;d=837200;break R}if(c>>>0<1720768){break S}if(c>>>0>1725062){break V}k=-1720768;d=837216;break R}if(c>>>0<1696437){break S}if(c>>>0>1698546){break U}k=-1696437;d=837232;break R}if(c>>>0<1725296){break S}if(c>>>0>1726325){break T}k=-1725296;d=837248;break R}Y:{if(c>>>0>=1701916){if(c>>>0>1702800){break Y}k=-1701916;d=837264;break R}k=-1700191;d=837280;if(c-1700191>>>0<=764){break R}break S}if(c>>>0>=1705179){if(c>>>0>1705881){break S}k=-1705179;d=837296;break R}if(c>>>0<1703065){break S}if(c>>>0<1703536){k=-1703065;d=837312;break R}if(c>>>0>=1704636){if(c>>>0>1705076){break S}k=-1704636;d=837328;break R}k=-1703947;d=837344;if(c-1703947>>>0<=372){break R}break S}k=-1726612;d=837360;if(c-1726612>>>0<=25){break R}}v[b>>2]=10;i=g;break Q}v[b>>2]=0;mI(j,v[d>>2]+(c+k|0)|0,e+8|0,o,e+4|0,m,b);i=0}k=0;if(v[b>>2]>=1){break q}l=(v[e+12>>2]+n|0)-v[a+8>>2]|0;n=l;break z}i=0;l=n;k=0}c=v[e+12>>2];if(p>>>0<=c>>>0){break q}g=v[e+8>>2];if(o>>>0>g>>>0){continue}break}}v[b>>2]=15}v[j+44>>2]=k;t[j+36|0]=i;v[j+48>>2]=h&255;v[a+8>>2]=v[e+12>>2];v[a+16>>2]=v[e+8>>2];v[a+24>>2]=v[e+4>>2];break a}d=v[a+4>>2];n=v[a+12>>2];c=v[a+8>>2];f=v[a+16>>2];v[e+8>>2]=f;i=v[a+20>>2];v[e+4>>2]=v[a+24>>2];Z:{if(c>>>0>=n>>>0){g=c;break Z}_:{if(f>>>0>=i>>>0){g=c;break _}m=v[v[d+24>>2]+(w[d+28|0]&16?40:36)>>2];while(1){$:{g=c+1|0;v[e+12>>2]=g;aa:{ba:{h=v[m+(w[c|0]<<2)>>2];if((h|0)<=-2146435073){v[e+8>>2]=f+2;u[f>>1]=h;c=v[e+4>>2];if(!c){break ba}v[e+4>>2]=c+4;v[c>>2]=k;break ba}ca:{if((h&13631488)==1048576){u[f>>1]=h>>>10&1023|55296;c=f+2|0;l=v[e+4>>2];if(l){v[e+4>>2]=l+4;v[l>>2]=k;h=h&1023|-9216;if(c>>>0>=i>>>0){break ca}v[e+8>>2]=f+4;u[f+2>>1]=h;v[e+4>>2]=l+8;v[l+4>>2]=k;break ba}h=h&1023|-9216;if(c>>>0>=i>>>0){break ca}v[e+8>>2]=f+4;u[f+2>>1]=h;break ba}da:{switch((h>>>20&15)-2|0){case 0:v[e+8>>2]=f+2;u[f>>1]=h;c=v[e+4>>2];if(!c){break ba}v[e+4>>2]=c+4;v[c>>2]=k;break ba;case 5:v[b>>2]=12;break Z;case 4:break da;default:break ba}}if(v[b>>2]>0){break $}v[a+8>>2]=g;t[d+37|0]=w[c|0];c=d;g=c;ea:{fa:{h=v[v[c+24>>2]+224>>2];if(!h){break fa}if(!lI(d,h,1,e+12|0,n,e+8|0,i,e+4|0,k,t[a+2|0],b)){break fa}f=v[b>>2];c=0;break ea}f=10;v[b>>2]=10;c=1}t[g+36|0]=c;g=v[e+12>>2];if((f|0)>=1){break $}k=((g+k|0)-v[a+8>>2]|0)+1|0;break aa}t[d+65|0]=1;u[d+116>>1]=h;v[b>>2]=15;f=c;break Z}k=k+1|0}if(g>>>0>=n>>>0){break $}c=g;f=v[e+8>>2];if(i>>>0>f>>>0){continue}break _}break}f=v[e+8>>2];break Z}v[b>>2]=15}v[a+16>>2]=f;v[a+8>>2]=g;v[a+24>>2]=v[e+4>>2]}Ma=e+16|0}function gg(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0,y=0,z=0;q=Ma-32|0;Ma=q;v[q+16>>2]=13;a:{if((d|0)>=9){fb(1,-1,234607,0);break a}b:{c:{d:{e:{switch(v[a>>2]-4|0){case 3:i=v[a+8>>2];break b;case 4:break c;case 0:break e;default:break d}}if(hb(v[a+8>>2],217754)){break d}if((b|0)!=(c|0)){fb(1,-1,246275,0);break a}n=ab(1048);v[n+8>>2]=b;v[n>>2]=886680;v[n+4>>2]=b;f:{if((b|0)<1){break f}c=b&3;d=0;if(b-1>>>0>=3){b=b&-4;while(1){a=n+16|0;g=d<<4;e=a+g|0;v[e+8>>2]=0;v[e+12>>2]=1072693248;v[e>>2]=0;v[e+4>>2]=0;e=a+(g|16)|0;v[e+8>>2]=0;v[e+12>>2]=1072693248;v[e>>2]=0;v[e+4>>2]=0;e=a+(g|32)|0;v[e+8>>2]=0;v[e+12>>2]=1072693248;v[e>>2]=0;v[e+4>>2]=0;a=a+(g|48)|0;v[a+8>>2]=0;v[a+12>>2]=1072693248;v[a>>2]=0;v[a+4>>2]=0;d=d+4|0;b=b-4|0;if(b){continue}break}}if(!c){break f}while(1){a=(d<<4)+n|0;v[a+24>>2]=0;v[a+28>>2]=1072693248;v[a+16>>2]=0;v[a+20>>2]=0;d=d+1|0;c=c-1|0;if(c){continue}break}}v[n+1040>>2]=0;break a}fb(1,-1,256527,0);break a}g=v[a+8>>2];i=Qa[v[v[g>>2]+76>>2]](g)|0}g:{if(v[ib(i,279226,q+16|0,0)>>2]!=1){fb(1,-1,279114,0);bb(q+16|0);break g}g=v[q+24>>2];bb(q+16|0);h:{i:{switch(g|0){case 2:n=ab(1576);f=n;e=Ma-48|0;Ma=e;v[f>>2]=886744;v[e+32>>2]=13;v[e+16>>2]=13;v[f+1568>>2]=0;j:{if(!rz(f,i)){break j}if(v[f+4>>2]!=1){fb(1,-1,225351,0);break j}a=ib(i,325092,e+32|0,0);d=v[f+1040>>2];k:{l:{m:{n:{o:{if(v[a>>2]==6){h=v[e+40>>2];a=v[h+12>>2];if(!(!d|(a|0)==v[f+8>>2])){fb(1,-1,268149,0);break k}v[f+8>>2]=a;if((a|0)>32){break n}if((a|0)<1){break o}g=0;ub(h,0,e+16|0,0);a=220146;d=v[e+16>>2];if(d-1>>>0>1){break l}while(1){A[(f+(g<<3)|0)+1048>>3]=(d|0)==1?+v[e+24>>2]:A[e+24>>3];bb(e+16|0);g=g+1|0;if((g|0)>=v[f+8>>2]){break o}ub(v[e+40>>2],g,e+16|0,0);d=v[e+16>>2];if(d-1>>>0<=1){continue}break}break l}if(!(!d|v[f+8>>2]==1)){fb(1,-1,268149,0);break k}v[f+1048>>2]=0;v[f+1052>>2]=0;v[f+8>>2]=1}a=e+32|0;bb(a);p:{if(v[ib(i,324349,a,0)>>2]==6){a=v[e+40>>2];d=v[a+12>>2];if((d|0)!=v[f+8>>2]){break m}if((d|0)<1){break p}g=0;ub(a,0,e+16|0,0);a=220111;d=v[e+16>>2];if(d-1>>>0>1){break l}while(1){A[(f+(g<<3)|0)+1304>>3]=(d|0)==1?+v[e+24>>2]:A[e+24>>3];bb(e+16|0);g=g+1|0;if((g|0)>=v[f+8>>2]){break p}ub(v[e+40>>2],g,e+16|0,0);d=v[e+16>>2];if(d-1>>>0<=1){continue}break}break l}if(v[f+8>>2]!=1){fb(1,-1,268113,0);break k}v[f+1304>>2]=0;v[f+1308>>2]=1072693248}a=e+32|0;bb(a);if(v[ib(i,310866,a,0)>>2]-1>>>0>=2){fb(1,-1,310797,0);break k}A[f+1560>>3]=v[e+32>>2]==1?+v[e+40>>2]:A[e+40>>3];bb(e+32|0);v[f+1568>>2]=1;break j}v[e>>2]=32;fb(1,-1,288840,e);break k}fb(1,-1,268113,0);break k}fb(1,-1,a,0);bb(e+16|0)}bb(e+32|0)}Ma=e+48|0;break h;case 3:n=ab(1072);e=n;f=Ma-32|0;Ma=f;v[e>>2]=886776;v[f+16>>2]=13;v[f>>2]=13;v[e+1064>>2]=0;a=e+1056|0;v[a>>2]=0;v[a+4>>2]=0;v[e+1048>>2]=0;v[e+1052>>2]=0;q:{r:{if(!rz(e,i)){break r}if(v[e+4>>2]!=1){fb(1,-1,225397,0);break r}s:{if(v[ib(i,235422,f+16|0,0)>>2]==6){a=v[v[f+24>>2]+12>>2];if((a|0)>0){break s}}fb(1,-1,246514,0);break r}v[e+1044>>2]=a;y=e,z=Pb(a,4),v[y+1048>>2]=z;y=e,z=Pb(v[e+1044>>2]+1|0,8),v[y+1052>>2]=z;y=e,z=Pb(v[e+1044>>2]<<1,8),v[y+1056>>2]=z;y=e,z=Pb(v[e+1044>>2],8),v[y+1060>>2]=z;t:{u:{j=v[e+1044>>2];v:{if((j|0)<1){break v}l=e+1048|0;h=j&3;g=0;if(j-1>>>0>=3){a=j&-4;while(1){k=g<<2;v[k+v[l>>2]>>2]=0;v[v[l>>2]+(k|4)>>2]=0;v[v[l>>2]+(k|8)>>2]=0;v[v[l>>2]+(k|12)>>2]=0;g=g+4|0;a=a-4|0;if(a){continue}break}}if(h){while(1){v[v[l>>2]+(g<<2)>>2]=0;g=g+1|0;h=h-1|0;if(h){continue}break}}g=0;if((j|0)<=0){break v}d=d+1|0;while(1){a=gg(ub(v[f+24>>2],g,f,0),b,c,d);j=g<<2;v[j+v[l>>2]>>2]=a;if(!a){break t}a=v[l>>2];if(!g){v[e+8>>2]=v[v[a>>2]+8>>2]}h=246780;a=v[a+j>>2];if(v[a+4>>2]!=1|v[a+8>>2]!=v[e+8>>2]){break u}bb(f);g=g+1|0;if((g|0)>2]){continue}break}}a=f+16|0;bb(a);w:{if(v[ib(i,236857,a,0)>>2]==6){a=v[e+1044>>2];if(v[v[f+24>>2]+12>>2]==(a-1|0)){break w}}fb(1,-1,246562,0);break r}g=v[e+1052>>2];A[g>>3]=A[e+16>>3];if((a|0)>=2){g=1;while(1){if(v[ub(v[f+24>>2],g-1|0,f,0)>>2]-1>>>0>1){h=246674;break u}A[v[e+1052>>2]+(g<<3)>>3]=v[f>>2]==1?+v[f+8>>2]:A[f+8>>3];bb(f);a=v[e+1044>>2];g=g+1|0;if((a|0)>(g|0)){continue}break}g=v[e+1052>>2]}A[g+(a<<3)>>3]=A[e+24>>3];a=f+16|0;bb(a);x:{if(v[ib(i,283593,a,0)>>2]!=6){break x}a=v[f+24>>2];d=v[e+1044>>2];if(v[a+12>>2]!=d<<1){break x}y:{if((d|0)<1){break y}g=0;h=246727;if(v[ub(a,0,f,0)>>2]-1>>>0>1){break u}while(1){A[v[e+1056>>2]+(g<<3)>>3]=v[f>>2]==1?+v[f+8>>2]:A[f+8>>3];bb(f);g=g+1|0;if((g|0)>=v[e+1044>>2]<<1){break y}if(v[ub(v[f+24>>2],g,f,0)>>2]-1>>>0<=1){continue}break}break u}bb(f+16|0);i=v[e+1044>>2];if((i|0)>=1){h=v[e+1060>>2];l=v[e+1056>>2];d=v[e+1052>>2];g=0;while(1){o=0;j=g<<3;r=A[j+d>>3];a=g+1|0;s=A[d+(a<<3)>>3];if(r!=s){g=l+(g<<4)|0;o=(A[g+8>>3]-A[g>>3])/(s-r)}A[h+j>>3]=o;g=a;if((a|0)!=(i|0)){continue}break}}v[e+1064>>2]=1;break q}fb(1,-1,246618,0);break r}fb(1,-1,h,0)}bb(f)}bb(f+16|0)}Ma=f+32|0;break h;case 4:n=ab(1584);d=n;f=Ma-272|0;Ma=f;v[d>>2]=886808;v[d+1576>>2]=0;v[d+1056>>2]=0;v[d+1044>>2]=0;v[d+1048>>2]=0;z:{if(!rz(d,i)){break z}if(!v[d+1040>>2]){fb(1,-1,282837,0);break z}if(v[a>>2]!=8){fb(1,-1,257192,0);break z}i=v[a+8>>2];a=ab(8);Qd(a);v[d+1044>>2]=a;k=ab(16);l=hc(k);Qa[v[v[i>>2]+20>>2]](i);while(1){g=0;h=ab(8);a=Qd(h);A:{B:{e=Qa[v[v[i>>2]+28>>2]](i)|0;if((e|0)!=-1){while(1){$b(v[d+1044>>2],e<<24>>24);C:{if(g){g=(e|0)!=13&(e|0)!=10;break C}g=1;if((e|0)==37){break C}g=0;if(!((e|0)==32|e-9>>>0<5)){break B}}e=Qa[v[v[i>>2]+28>>2]](i)|0;if((e|0)!=-1){continue}break}}Bb(a);$a(h);a=0;break A}D:{switch(e-123|0){case 0:case 2:$b(a,e<<24>>24);break A;default:break D}}$b(a,e<<24>>24);g=Qa[v[v[i>>2]+32>>2]](i)|0;E:{if(!(e-45>>>0<2|e-48>>>0<10)){if((g|0)==-1){break E}while(1){if(!(g-48>>>0<10|(g|32)-97>>>0<26)){break E}Qa[v[v[i>>2]+28>>2]](i)|0;g=g<<24>>24;$b(v[d+1044>>2],g);$b(a,g);g=Qa[v[v[i>>2]+32>>2]](i)|0;if((g|0)!=-1){continue}break}break E}if((g|0)==-1){break E}while(1){if(g-48>>>0>9&g-45>>>0>=2){break E}Qa[v[v[i>>2]+28>>2]](i)|0;g=g<<24>>24;$b(v[d+1044>>2],g);$b(a,g);g=Qa[v[v[i>>2]+32>>2]](i)|0;if((g|0)!=-1){continue}break}}}if(a){Ib(l,a);continue}break}Qa[v[v[i>>2]+24>>2]](i);F:{G:{if(v[l+8>>2]>=1){if(!Ec(v[v[k>>2]>>2],217551)){break G}}fb(1,-1,246468,0);break F}v[f+8>>2]=0;v[f+12>>2]=1;if(!QG(d,l,f+12|0,f+8|0)){break F}v[d+1052>>2]=v[f+8>>2];a=v[d+4>>2];H:{if((a|0)<1){break H}if((a|0)!=1){h=a&-2;g=d+16|0;e=d+1064|0;while(1){i=j<<3;m=f+16|0;o=A[g+(j<<4)>>3];A[i+m>>3]=o;A[e+i>>3]=o+-1;p=m;i=j|1;m=i<<3;o=A[g+(i<<4)>>3];A[p+m>>3]=o;A[e+m>>3]=o+-1;j=j+2|0;h=h-2|0;if(h){continue}break}}if(!(a&1)){break H}a=j<<3;o=A[(d+(j<<4)|0)+16>>3];A[a+(f+16|0)>>3]=o;A[(a+d|0)+1064>>3]=o+-1}Qa[v[v[d>>2]+16>>2]](d,f+16|0,d+1320|0);v[d+1576>>2]=1}d=v[l+8>>2];if((d|0)>=1){j=0;while(1){a=v[v[l>>2]+(j<<2)>>2];if(a){Bb(a);$a(a);d=v[l+8>>2]}j=j+1|0;if((j|0)<(d|0)){continue}break}}mc(l);$a(k)}Ma=f+272|0;break h;default:v[q>>2]=g;fb(1,-1,326973,q);break g;case 0:break i}}n=ab(2992);f=n;g=0;h=Ma-304|0;Ma=h;v[f>>2]=886712;v[h+288>>2]=13;v[h+272>>2]=13;v[f+2984>>2]=0;v[f+2468>>2]=0;v[f+2456>>2]=0;v[f+2460>>2]=0;I:{if(!rz(f,i)){break I}if(!v[f+1040>>2]){fb(1,-1,282870,0);break I}d=v[f+4>>2];if((d|0)>=17){v[h>>2]=16;fb(1,-1,288895,h);break I}y=f,z=Pb(1<>2]=z;if(v[a>>2]!=8){fb(1,-1,257223,0);break I}l=v[a+8>>2];J:{K:{L:{M:{N:{if(v[ib(i,273805,h+288|0,0)>>2]!=6){break N}a=v[h+296>>2];d=v[a+12>>2];if((d|0)!=v[f+4>>2]){break N}O:{if((d|0)<1){break O}ub(a,0,h+272|0,0);a=219786;if(v[h+272>>2]!=1){break K}while(1){d=v[h+280>>2];v[(f+(e<<2)|0)+1044>>2]=d;if((d|0)<1){a=219823;break K}bb(h+272|0);e=e+1|0;if((e|0)>=v[f+4>>2]){break O}ub(v[h+296>>2],e,h+272|0,0);if(v[h+272>>2]==1){continue}break}break K}bb(h+288|0);t=Pb(1<>2],4);v[f+2456>>2]=t;d=v[f+4>>2];if((d|0)!=31){while(1){m=d-1|0;e=g;j=0;P:{if((d|0)<2){break P}x=m&1;k=v[(f+(m<<2)|0)+1044>>2];Q:{if((d|0)==2){a=d;break Q}p=m&-2;while(1){u=f+1044|0;a=d-2|0;w=v[u+(a<<2)>>2];j=((w|0)==1?0:e<<1>>>m&1)+B(((k|0)==1?0:e>>>m&1)+j|0,w)|0;k=v[((d<<2)+u|0)-12>>2];j=B(j,k);e=e<<2;d=a;p=p-2|0;if(p){continue}break}}if(!x){break P}j=B(v[(f+(a<<2)|0)+1036>>2],((k|0)==1?0:e>>>m&1)+j|0);e=e<<1}v[(g<<2)+t>>2]=B(v[f+8>>2],(v[f+1044>>2]==1?0:e>>>m&1)+j|0);g=g+1|0;d=v[f+4>>2];if((g|0)<1<>2]!=1){fb(1,-1,280314,0);break J}g=v[h+296>>2];o=ju(g);a=h+288|0;bb(a);if(v[ib(i,283593,a,0)>>2]!=6){d=v[f+4>>2];break M}a=v[h+296>>2];d=v[f+4>>2];if(v[a+12>>2]!=d<<1){break M}if((d|0)<1){break L}d=0;ub(a,0,h+272|0,0);a=219954;k=v[h+272>>2];if(k-1>>>0>1){break K}e=0;while(1){j=f+(e<<4)|0;A[j+1176>>3]=(k|0)==1?+v[h+280>>2]:A[h+280>>3];k=h+272|0;bb(k);ub(v[h+296>>2],d|1,k,0);d=v[h+272>>2];if(d-1>>>0>1){break K}A[j+1184>>3]=(d|0)==1?+v[h+280>>2]:A[h+280>>3];bb(h+272|0);e=e+1|0;if((e|0)>=v[f+4>>2]){break L}d=e<<1;ub(v[h+296>>2],d,h+272|0,0);k=v[h+272>>2];if(k-1>>>0<=1){continue}break}break K}fb(1,-1,219873,0);break J}if((d|0)<1){break L}m=d&1;e=0;if((d|0)!=1){d=d&-2;a=f+1176|0;j=f+1044|0;while(1){k=a+(e<<4)|0;v[k>>2]=0;v[k+4>>2]=0;A[k+8>>3]=v[j+(e<<2)>>2]-1|0;p=e|1;k=a+(p<<4)|0;v[k>>2]=0;v[k+4>>2]=0;A[k+8>>3]=v[j+(p<<2)>>2]-1|0;e=e+2|0;d=d-2|0;if(d){continue}break}}if(!m){break L}a=f+(e<<4)|0;d=a+1176|0;v[d>>2]=0;v[d+4>>2]=0;A[a+1184>>3]=v[(f+(e<<2)|0)+1044>>2]-1|0}bb(h+288|0);d=v[f+4>>2];if((d|0)>=1){e=0;while(1){a=f+(e<<4)|0;A[(f+(e<<3)|0)+2200>>3]=(A[a+1184>>3]-A[a+1176>>3])/(A[a+24>>3]-A[a+16>>3]);e=e+1|0;if((d|0)!=(e|0)){continue}break}}R:{S:{if(v[ib(i,283789,h+288|0,0)>>2]!=6){d=v[f+8>>2];break S}a=v[h+296>>2];d=v[f+8>>2];if(v[a+12>>2]!=d<<1){break S}if((d|0)<1){break R}d=0;ub(a,0,h+272|0,0);a=219993;k=v[h+272>>2];if(k-1>>>0>1){break K}e=0;while(1){i=f+(e<<4)|0;A[i+1688>>3]=(k|0)==1?+v[h+280>>2]:A[h+280>>3];j=h+272|0;bb(j);ub(v[h+296>>2],d|1,j,0);d=v[h+272>>2];if(d-1>>>0>1){break K}A[i+1696>>3]=(d|0)==1?+v[h+280>>2]:A[h+280>>3];bb(h+272|0);e=e+1|0;if((e|0)>=v[f+8>>2]){break R}d=e<<1;ub(v[h+296>>2],d,h+272|0,0);k=v[h+272>>2];if(k-1>>>0<=1){continue}break}break K}if((d|0)<1){break R}e=0;if((d|0)!=1){a=d&-2;i=f+1688|0;j=f+528|0;while(1){k=e<<4;m=k+i|0;p=j+k|0;A[m>>3]=A[p>>3];A[m+8>>3]=A[p+8>>3];k=k|16;m=k+i|0;k=j+k|0;A[m>>3]=A[k>>3];A[m+8>>3]=A[k+8>>3];e=e+2|0;a=a-2|0;if(a){continue}break}}if(!(d&1)){break R}a=f+(e<<4)|0;A[a+1688>>3]=A[a+528>>3];A[a+1696>>3]=A[a+536>>3]}bb(h+288|0);e=v[f+8>>2];v[f+2464>>2]=e;a=v[f+4>>2];if((a|0)>=1){d=0;while(1){i=v[(f+(d<<2)|0)+1044>>2];if((2147483647/(i|0)|0)<(e|0)){fb(1,-1,240396,0);break I}e=B(e,i);v[f+2464>>2]=e;d=d+1|0;if((a|0)!=(d|0)){continue}break}}y=f,z=Pb(e,8),v[y+2460>>2]=z;Qa[v[v[l>>2]+20>>2]](l);if(v[f+2464>>2]>=1){o=1/(o+-1);j=(g|0)<32?-1<>2]+28>>2]](l)|0;break T;case 8:i=Qa[v[v[l>>2]+28>>2]](l)|0;i=(Qa[v[v[l>>2]+28>>2]](l)|0)+(i<<8)|0;break T;case 24:i=Qa[v[v[l>>2]+28>>2]](l)|0;m=Qa[v[v[l>>2]+28>>2]](l)|0;p=Qa[v[v[l>>2]+28>>2]](l)|0;i=(Qa[v[v[l>>2]+28>>2]](l)|0)+(p+(m+(i<<8)<<8)<<8)|0;break T;default:break U}}if((e|0)<(g|0)){while(1){d=Qa[v[v[l>>2]+28>>2]](l)&255|d<<8;e=e+8|0;if((g|0)>(e|0)){continue}break}}e=e-g|0;i=j&d>>>e}A[v[f+2460>>2]+(a<<3)>>3]=o*+(i>>>0);a=a+1|0;if((a|0)>2]){continue}break}}Qa[v[v[l>>2]+24>>2]](l);a=v[f+4>>2];V:{if((a|0)<1){break V}e=0;if((a|0)!=1){d=a&-2;g=f+16|0;i=f+2472|0;while(1){l=e<<3;j=h+16|0;o=A[g+(e<<4)>>3];A[l+j>>3]=o;A[i+l>>3]=o+-1;m=j;l=e|1;j=l<<3;o=A[g+(l<<4)>>3];A[m+j>>3]=o;A[i+j>>3]=o+-1;e=e+2|0;d=d-2|0;if(d){continue}break}}if(!(a&1)){break V}a=e<<3;o=A[(f+(e<<4)|0)+16>>3];A[a+(h+16|0)>>3]=o;A[(a+f|0)+2472>>3]=o+-1}Qa[v[v[f>>2]+16>>2]](f,h+16|0,f+2728|0);v[f+2984>>2]=1;break I}fb(1,-1,a,0);bb(h+272|0)}bb(h+288|0)}Ma=h+304|0}if(!(Qa[v[v[n>>2]+20>>2]](n)|0)){Qa[v[v[n>>2]+4>>2]](n);break g}if((v[n+8>>2]==(c|0)|(c|0)<0)&v[n+4>>2]==(b|0)){break a}fb(1,-1,234285,0);Qa[v[v[n>>2]+4>>2]](n)}n=0}Ma=q+32|0;return n}function aG(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;i=Ma-96|0;Ma=i;a:{b:{while(1){c=v[a+4>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;if((c|0)!=255&(c|0)!=-1){continue}while(1){c=v[a+4>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;if((c|0)==255){continue}break}j=0;c:{d:{e:{switch(c-192|0){case 26:c=-4;b=v[a+4>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;f:{if((b|0)==-1){break f}d=v[a+4>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break f}c=(d+(b<<8)|0)-3|0}b=v[a+4>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;v[a+136>>2]=b;g:{if(b-1>>>0>=4){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,257808,0);v[a+136>>2]=0;b=0;break g}if(((b<<1)+3|0)!=(c|0)){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,263050,0);b=0;break g}c=v[a+188>>2];v[a+12>>2]=(c|0)==(b|0);b=0;h:{if((c|0)>0){while(1){v[((b<<2)+a|0)+120>>2]=0;b=b+1|0;if((b|0)>2]){continue}break}if(v[a+136>>2]<1){break h}}c=0;while(1){b=v[a+4>>2];d=Qa[v[v[b>>2]+28>>2]](b)|0;i:{b=c;if((d|0)==v[(B(c,20)+a|0)+40>>2]){break i}b=0;j:{k:{f=v[a+188>>2];if((f|0)<1){break k}while(1){if((d|0)==v[(B(b,20)+a|0)+40>>2]){break k}b=b+1|0;if((f|0)!=(b|0)){continue}break}break j}if((b|0)!=(f|0)){break i}}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,263010,0);b=0;break g}b=(b<<2)+a|0;d=b;if(v[d+120>>2]){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,262966,0);b=0;break g}v[d+120>>2]=1;d=v[a+4>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;v[b+156>>2]=d&15;v[b+140>>2]=d>>>4&15;c=c+1|0;if((c|0)>2]){continue}break}}b=v[a+4>>2];l=a,m=Qa[v[v[b>>2]+28>>2]](b)|0,v[l+172>>2]=m;b=v[a+4>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;v[a+176>>2]=b;c=v[a+172>>2];if(!(!((c|0)<0|(b|0)>63)&(b|0)>=(c|0))){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,262919,0);b=0;break g}b=v[a+4>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;v[a+184>>2]=b&15;v[a+180>>2]=b>>>4&15;b=1}if(!b){break a}b=v[a+188>>2];if((b|0)>0){break b}j=1;break a;default:switch(c+1|0){case 1:continue;case 0:break d;default:break c};case 0:case 1:if(!b){a=Qa[v[v[a>>2]+52>>2]](a)|0;v[i+16>>2]=c;fb(1,a,313277,i+16|0);break a}f=Ma-16|0;Ma=f;c=-1;d=v[a+4>>2];if((Qa[v[v[d>>2]+28>>2]](d)|0)!=-1){d=v[a+4>>2];Qa[v[v[d>>2]+28>>2]](d)|0}d=v[a+4>>2];e=Qa[v[v[d>>2]+28>>2]](d)|0;d=v[a+4>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;l:{if((d|0)==-1){break l}g=v[a+4>>2];g=Qa[v[v[g>>2]+28>>2]](g)|0;if((g|0)==-1){break l}c=g+(d<<8)|0}v[a+20>>2]=c;c=a;g=v[a+4>>2];g=Qa[v[v[g>>2]+28>>2]](g)|0;d=-1;m:{if((g|0)==-1){break m}h=v[a+4>>2];h=Qa[v[v[h>>2]+28>>2]](h)|0;d=-1;if((h|0)==-1){break m}d=h+(g<<8)|0}v[c+16>>2]=d;c=v[a+4>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;v[a+188>>2]=c;n:{if(c-1>>>0>=4){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,257808,0);v[a+188>>2]=0;c=0;break n}o:{if((e|0)==8){d=0;break o}c=Qa[v[v[a>>2]+52>>2]](a)|0;v[f>>2]=e;fb(1,c,217482,f);c=0;break n}p:{while(1){c=B(d,20)+a|0;e=v[a+4>>2];l=c,m=Qa[v[v[e>>2]+28>>2]](e)|0,v[l+40>>2]=m;e=v[a+4>>2];e=Qa[v[v[e>>2]+28>>2]](e)|0;v[c+48>>2]=e&15;v[c+44>>2]=e>>>4&15;e=v[a+4>>2];e=Qa[v[v[e>>2]+28>>2]](e)|0;v[c+52>>2]=e;q:{g=v[c+44>>2];r:{if(g>>>0>4|!(1<>2];if(c>>>0>4){break r}if(1<>2]+52>>2]](a)|0,237579,0);c=0;break n}if(e>>>0<4){d=d+1|0;if((d|0)>=v[a+188>>2]){break p}continue}break}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,237491,0);c=0;break n}v[a+8>>2]=0;c=1}Ma=f+16|0;if(c){continue}break a;case 2:if(!b){a=Qa[v[v[a>>2]+52>>2]](a)|0;v[i+32>>2]=194;fb(1,a,313277,i+32|0);break a}f=Ma-16|0;Ma=f;c=-1;d=v[a+4>>2];if((Qa[v[v[d>>2]+28>>2]](d)|0)!=-1){d=v[a+4>>2];Qa[v[v[d>>2]+28>>2]](d)|0}d=v[a+4>>2];e=Qa[v[v[d>>2]+28>>2]](d)|0;d=v[a+4>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;s:{if((d|0)==-1){break s}g=v[a+4>>2];g=Qa[v[v[g>>2]+28>>2]](g)|0;if((g|0)==-1){break s}c=g+(d<<8)|0}v[a+20>>2]=c;c=a;g=v[a+4>>2];g=Qa[v[v[g>>2]+28>>2]](g)|0;d=-1;t:{if((g|0)==-1){break t}h=v[a+4>>2];h=Qa[v[v[h>>2]+28>>2]](h)|0;d=-1;if((h|0)==-1){break t}d=h+(g<<8)|0}v[c+16>>2]=d;c=v[a+4>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;v[a+188>>2]=c;u:{if(c-1>>>0>=4){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,257808,0);v[a+188>>2]=0;c=0;break u}v:{if((e|0)==8){d=0;break v}c=Qa[v[v[a>>2]+52>>2]](a)|0;v[f>>2]=e;fb(1,c,217482,f);c=0;break u}w:{while(1){c=B(d,20)+a|0;e=v[a+4>>2];l=c,m=Qa[v[v[e>>2]+28>>2]](e)|0,v[l+40>>2]=m;e=v[a+4>>2];e=Qa[v[v[e>>2]+28>>2]](e)|0;v[c+48>>2]=e&15;v[c+44>>2]=e>>>4&15;e=v[a+4>>2];e=Qa[v[v[e>>2]+28>>2]](e)|0;v[c+52>>2]=e;x:{g=v[c+44>>2];y:{if(g>>>0>4|!(1<>2];if(c>>>0>4){break y}if(1<>2]+52>>2]](a)|0,237579,0);c=0;break u}if(e>>>0<4){d=d+1|0;if((d|0)>=v[a+188>>2]){break w}continue}break}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,237491,0);c=0;break u}v[a+8>>2]=1;c=1}Ma=f+16|0;if(c){continue}break a;case 4:c=v[a+4>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;z:{A:{if((c|0)==-1){break A}d=v[a+4>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break A}d=(d+(c<<8)|0)-2|0;if((d|0)<1){break A}while(1){c=v[a+4>>2];f=Qa[v[v[c>>2]+28>>2]](c)|0;c=f&15;if(c>>>0>=4){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,282240,0);c=0;break z}B:{if(f&16){if((c|0)>=v[a+3464>>2]){v[a+3464>>2]=c+1}c=(B(c,342)+a|0)+2092|0;break B}if((c|0)>=v[a+3460>>2]){v[a+3460>>2]=c+1}c=(B(c,342)+a|0)+724|0}f=v[a+4>>2];f=Qa[v[v[f>>2]+28>>2]](f)|0;u[c+54>>1]=f;u[c+20>>1]=0;t[c+1|0]=0;e=v[a+4>>2];e=Qa[v[v[e>>2]+28>>2]](e)|0;u[c+56>>1]=e;h=f<<1;u[c+22>>1]=h;t[c+2|0]=f;g=v[a+4>>2];g=Qa[v[v[g>>2]+28>>2]](g)|0;u[c+58>>1]=g;h=e+h<<1;u[c+24>>1]=h;e=e+f|0;t[c+3|0]=e;f=v[a+4>>2];f=Qa[v[v[f>>2]+28>>2]](f)|0;u[c+60>>1]=f;h=g+h<<1;u[c+26>>1]=h;g=e+g|0;t[c+4|0]=g;e=v[a+4>>2];e=Qa[v[v[e>>2]+28>>2]](e)|0;u[c+62>>1]=e;h=f+h<<1;u[c+28>>1]=h;g=f+g|0;t[c+5|0]=g;f=v[a+4>>2];f=Qa[v[v[f>>2]+28>>2]](f)|0;u[c- -64>>1]=f;h=e+h<<1;u[c+30>>1]=h;g=e+g|0;t[c+6|0]=g;e=v[a+4>>2];e=Qa[v[v[e>>2]+28>>2]](e)|0;u[c+66>>1]=e;h=f+h<<1;u[c+32>>1]=h;g=f+g|0;t[c+7|0]=g;f=v[a+4>>2];f=Qa[v[v[f>>2]+28>>2]](f)|0;u[c+68>>1]=f;h=e+h<<1;u[c+34>>1]=h;g=e+g|0;t[c+8|0]=g;e=v[a+4>>2];e=Qa[v[v[e>>2]+28>>2]](e)|0;u[c+70>>1]=e;h=f+h<<1;u[c+36>>1]=h;g=f+g|0;t[c+9|0]=g;f=v[a+4>>2];f=Qa[v[v[f>>2]+28>>2]](f)|0;u[c+72>>1]=f;h=e+h<<1;u[c+38>>1]=h;g=e+g|0;t[c+10|0]=g;e=v[a+4>>2];e=Qa[v[v[e>>2]+28>>2]](e)|0;u[c+74>>1]=e;h=f+h<<1;u[c+40>>1]=h;g=f+g|0;t[c+11|0]=g;f=v[a+4>>2];f=Qa[v[v[f>>2]+28>>2]](f)|0;u[c+76>>1]=f;h=e+h<<1;u[c+42>>1]=h;g=e+g|0;t[c+12|0]=g;e=v[a+4>>2];e=Qa[v[v[e>>2]+28>>2]](e)|0;u[c+78>>1]=e;h=f+h<<1;u[c+44>>1]=h;g=f+g|0;t[c+13|0]=g;f=v[a+4>>2];f=Qa[v[v[f>>2]+28>>2]](f)|0;u[c+80>>1]=f;h=e+h<<1;u[c+46>>1]=h;g=e+g|0;t[c+14|0]=g;e=v[a+4>>2];e=Qa[v[v[e>>2]+28>>2]](e)|0;u[c+82>>1]=e;h=f+h<<1;u[c+48>>1]=h;f=f+g|0;t[c+15|0]=f;g=v[a+4>>2];g=Qa[v[v[g>>2]+28>>2]](g)|0;u[c+84>>1]=g;u[c+50>>1]=e+h<<1;f=e+f|0;t[c+16|0]=f;h=d-17|0;e=f+g&255;C:{if(!e){break C}f=0;if((e|0)!=1){d=e&254;while(1){g=c+86|0;k=v[a+4>>2];l=g+f|0,m=Qa[v[v[k>>2]+28>>2]](k)|0,t[l|0]=m;k=g+(f|1)|0;g=v[a+4>>2];l=k,m=Qa[v[v[g>>2]+28>>2]](g)|0,t[l|0]=m;f=f+2|0;d=d-2|0;if(d){continue}break}}if(!(e&1)){break C}d=c+f|0;c=v[a+4>>2];l=d,m=Qa[v[v[c>>2]+28>>2]](c)|0,t[l+86|0]=m}d=h-e|0;if((d|0)>0){continue}break}}c=1}if(c){continue}break a;case 24:if(b){continue}a=Qa[v[v[a>>2]+52>>2]](a)|0;v[i+48>>2]=216;fb(1,a,313277,i+48|0);break a;case 27:c=v[a+4>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;D:{E:{if((c|0)==-1){break E}d=v[a+4>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break E}d=(d+(c<<8)|0)-2|0;if((d|0)<1){break E}while(1){F:{c=v[a+4>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;e=c>>>4&15;if(e>>>0<=1){f=c&15;if(f>>>0<4){break F}}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,282213,0);c=0;break D}if((f|0)>=v[a+720>>2]){v[a+720>>2]=f+1}c=0;G:{if(!e){while(1){g=((f<<7)+a|0)+208|0;e=c<<2;h=v[a+4>>2];l=g+(v[e+957984>>2]<<1)|0,m=Qa[v[v[h>>2]+28>>2]](h)|0,u[l>>1]=m;g=g+(v[(e|4)+957984>>2]<<1)|0;e=v[a+4>>2];l=g,m=Qa[v[v[e>>2]+28>>2]](e)|0,u[l>>1]=m;c=c+2|0;if((c|0)!=64){continue}break}c=-65;break G}while(1){g=v[a+4>>2];g=Qa[v[v[g>>2]+28>>2]](g)|0;e=-1;H:{if((g|0)==-1){break H}h=v[a+4>>2];h=Qa[v[v[h>>2]+28>>2]](h)|0;e=-1;if((h|0)==-1){break H}e=h+(g<<8)|0}u[(((f<<7)+a|0)+(v[(c<<2)+957984>>2]<<1)|0)+208>>1]=e;c=c+1|0;if((c|0)!=64){continue}break}c=-129}d=c+d|0;if((d|0)>0){continue}break}}c=1}if(c){continue}break a;case 29:I:{c=v[a+4>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;J:{if((c|0)==-1){break J}d=v[a+4>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break J}if((d+(c<<8)|0)==4){break I}}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,260605,0);break a}c=a;f=v[a+4>>2];f=Qa[v[v[f>>2]+28>>2]](f)|0;d=-1;K:{if((f|0)==-1){break K}j=v[a+4>>2];j=Qa[v[v[j>>2]+28>>2]](j)|0;d=-1;if((j|0)==-1){break K}d=j+(f<<8)|0}v[c+204>>2]=d;continue;case 32:if(!b){a=Qa[v[v[a>>2]+52>>2]](a)|0;v[i+64>>2]=224;fb(1,a,313277,i- -64|0);break a}c=Ma-16|0;Ma=c;d=1;f=v[a+4>>2];f=Qa[v[v[f>>2]+28>>2]](f)|0;L:{if((f|0)==-1){break L}e=v[a+4>>2];e=Qa[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){break L}M:{f=e+(f<<8)|0;N:{if((f|0)<7){f=f-2|0;break N}e=v[a+4>>2];e=Qa[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){break M}t[c+11|0]=e;e=v[a+4>>2];e=Qa[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){break M}t[c+12|0]=e;e=v[a+4>>2];e=Qa[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){break M}t[c+13|0]=e;e=v[a+4>>2];e=Qa[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){break M}t[c+14|0]=e;e=v[a+4>>2];e=Qa[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){break M}t[c+15|0]=e;f=f-7|0;if(Jb(c+11|0,958496,5)){break N}v[a+196>>2]=1}if((f|0)<=0){break L}while(1){e=v[a+4>>2];if((Qa[v[v[e>>2]+28>>2]](e)|0)==-1){break M}e=(f|0)<2;f=f-1|0;if(!e){continue}break}break L}d=0;fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,239598,0)}Ma=c+16|0;if(d){continue}break a;case 25:break a;case 3:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 28:case 30:case 31:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:break c;case 46:break e}}if(!b){a=Qa[v[v[a>>2]+52>>2]](a)|0;v[i+80>>2]=238;fb(1,a,313277,i+80|0);break a}c=Ma-16|0;Ma=c;O:{P:{d=v[a+4>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break P}f=v[a+4>>2];f=Qa[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break P}e=f+(d<<8)|0;if((e|0)<14){break P}d=v[a+4>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break P}t[c+4|0]=d;d=v[a+4>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break P}t[c+5|0]=d;d=v[a+4>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break P}t[c+6|0]=d;d=v[a+4>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break P}t[c+7|0]=d;d=v[a+4>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break P}t[c+8|0]=d;d=v[a+4>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break P}t[c+9|0]=d;d=v[a+4>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break P}t[c+10|0]=d;d=v[a+4>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break P}t[c+11|0]=d;d=v[a+4>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break P}t[c+12|0]=d;d=v[a+4>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break P}t[c+13|0]=d;d=v[a+4>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break P}t[c+14|0]=d;d=v[a+4>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break P}t[c+15|0]=d;if(!Jb(c+4|0,286237,5)){v[a+200>>2]=1;v[a+192>>2]=d<<24>>24}d=14;f=1;if((e|0)<=14){break O}while(1){f=v[a+4>>2];if((Qa[v[v[f>>2]+28>>2]](f)|0)==-1){break P}f=1;d=d+1|0;if((e|0)!=(d|0)){continue}break}break O}f=0;fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,239571,0)}Ma=c+16|0;if(f){continue}break a}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,239961,0);break a}if((c|0)>=224){d=v[a+4>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;c=-1;Q:{if((d|0)==-1){break Q}f=v[a+4>>2];f=Qa[v[v[f>>2]+28>>2]](f)|0;c=-1;if((f|0)==-1){break Q}c=f+(d<<8)|0}d=v[a+4>>2];Qa[v[v[d>>2]+48>>2]](d,c-2|0)|0;continue}break}a=Qa[v[v[a>>2]+52>>2]](a)|0;v[i>>2]=c;fb(1,a,313248,i);break a}c=v[a+720>>2];R:{while(1){if((c|0)<=v[(B(j,20)+a|0)+52>>2]){break R}j=j+1|0;if((b|0)!=(j|0)){continue}break}j=1;break a}j=0;fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,237458,0)}Ma=i+96|0;return j}function w1(a,b){var 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,u=0,x=0,y=0,z=0,A=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;m=Ma-48|0;Ma=m;c=v[a+24>>2];if(!(w[a+28|0]|!c)){$a(c)}v[a+12>>2]=0;v[a+16>>2]=0;v[a+8>>2]=8;v[a+20>>2]=0;v[a+24>>2]=0;t[a+28|0]=0;c=m;v[c>>2]=0;v[c+4>>2]=0;t[c+40|0]=0;v[c+32>>2]=0;v[c+36>>2]=-1074790400;t[c+21|0]=0;t[c+22|0]=0;t[c+23|0]=0;t[c+24|0]=0;t[c+25|0]=0;t[c+26|0]=0;t[c+27|0]=0;t[c+28|0]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;l=c;k=Ma-1008|0;Ma=k;v[c>>2]=0;r=b;a:{if(t[b+11|0]>=0){v[k+1e3>>2]=v[r+8>>2];b=v[r+4>>2];v[k+992>>2]=v[r>>2];v[k+996>>2]=b;break a}vc(k+992|0,v[r>>2],v[r+4>>2])}v[k>>2]=0;o=Ma-32|0;Ma=o;v[k>>2]=0;n=o+16|0;v[n+12>>2]=0;v[n+4>>2]=0;v[n+8>>2]=0;v[n>>2]=520704;p=k+992|0;b:{if(!Ik(n,p,0)){break b}g=ab(4096);v[o+12>>2]=0;if(!Ys(n,g,4096,o+12|0)){$a(g);break b}Si(n);e=1;h=v[o+12>>2];c:{d:{if(H5(k,g,h)){break d}b=v[k>>2];if(b){break c}e:{f:{g:{h:{if(h>>>0>=4){e=2;if((w[g|0]|w[g+1|0]<<8|(w[g+2|0]<<16|w[g+3|0]<<24))==944130375){break d}i:{j:{if(h>>>0>=6){if(!Jb(g,7905,6)){break d}if(!Jb(g,11005,6)){break d}if(h>>>0>15){break j}}b=w[g+1|0];f=w[g|0];break i}j=w[g+2|0];f=w[g|0];c=w[g+1|0];k:{if((f|0)!=137|(c|0)!=80|((j|0)!=78|w[g+3|0]!=71)){break k}if(w[g+4|0]!=13|w[g+5|0]!=10|(w[g+6|0]!=26|w[g+7|0]!=10)){break k}if(w[g+8|0]|w[g+9|0]|(w[g+10|0]|w[g+11|0]!=13)){break k}if(w[g+12|0]!=73|w[g+13|0]!=72|w[g+14|0]!=68){break k}e=4;if(w[g+15|0]==82){break d}}if(h>>>0<17){b=c;break i}l:{m:{n:{b=c;switch(c|0){case 0:break m;case 1:break n;default:break i}}b=1;switch(j-1|0){case 0:case 8:break l;default:break i}}b=0;if(!(1<>>0>11){break i}}e=7;b=c;c=w[g+16|0]-8|0;if(((c<<5|(c&248)>>>3)&255)>>>0<4){break d}}if((f|0)!=10|(b&255)>>>0>5){break h}e=8;f=10;b=w[g+3|0]-1&255;if(b>>>0>=8|!(139>>>b&1)){break f}break d}f=w[g|0];if((h|0)!=3|(f|0)!=255){break e}b=w[g+1|0];break g}if((f|0)!=255){break f}}f=255;if((b&255)!=216){break f}e=3;if(w[g+2|0]==255){break d}}o:{if((f|0)!=1|h>>>0<44|(w[g+1|0]|w[g+2|0])){break o}if(w[g+3|0]|w[g+40|0]!=32|(w[g+41|0]!=69|w[g+42|0]!=77)){break o}e=21;if(w[g+43|0]==70){break d}}if((f|0)!=215|h>>>0<6){break e}b=0;if(w[g+1|0]!=205|w[g+2|0]!=198|(w[g+4|0]|w[g+3|0]!=154)){break c}e=10;if(!w[g+5|0]){break d}break c}c=w[g+3|0];j=w[g+2|0];i=w[g+1|0];p:{if(i|(f|0)!=1|(c|(j|0)!=9)){break p}if(w[g+4|0]){break p}e=10;if(w[g+5|0]==3){break d}}q:{if(!((f|0)!=73|h>>>0<4)){if((i|0)!=73|(j|0)!=42){break q}e=6;if(!c){break d}break q}b=0;r:{switch(f-73|0){case 0:break q;case 4:break r;default:break c}}if(j|(i|0)!=77){break c}e=6;if((c|0)!=42){break c}break d}b=0;if((i|0)!=73|(j|0)!=42){break c}e=6;if(c){break c}}v[k>>2]=e;b=e}c=w[g+1|0];j=w[g|0];s:{t:{u:{v:{if(h>>>0<16|b|(c|j)){break v}b=0;e=v[g+18>>2];if(e>>>0>=h-40>>>0){break v}f=v[(e+g|0)+4>>2];e=w[g+6|0];if((f|0)==((e?e:256)|0)){break u}}e=22;if(mC(k,g,h)){break t}if(b){break s}w:{if(h>>>0<=11){f=w[g+3|0];i=w[g+2|0];break w}f=w[g+3|0];i=w[g+2|0];if((j|0)!=56|(c|0)!=66|((i|0)!=80|(f|0)!=83)){break w}if(w[g+6|0]|w[g+7|0]|(w[g+9|0]|w[g+8|0]!=24)){break w}if(w[g+10|0]){break w}e=20;if(w[g+11|0]==24){break t}}x:{if((j|0)!=89|h>>>0<16|((c|0)!=166|(i|0)!=106)){break x}if(w[g+5|0]|(w[g+4|0]|(f|0)!=149)){break x}e=15;if(w[g+15|0]==24){break t}}b=0;if((j|0)!=255|h>>>0<52|((c|0)!=79|(i|0)!=255)){break s}e=11;if((f|0)!=81){break s}break t}b=5;v[k>>2]=5;e=22;if(!mC(k,g,h)){break s}}v[k>>2]=e;b=e}if(N4(k,g,h)){v[k>>2]=11;b=11}y:{z:{A:{if(!G4(k,g,h)){if(cC(k,g,h)){break A}if(!b){break z}break y}v[k>>2]=11;if(!cC(k,g,h)){break y}}v[k>>2]=0}b=w[g+9|0];e=w[g+2|0];B:{C:{if((j|0)!=86|h>>>0<6|((c|0)!=67|(e|0)!=76)){break C}if(w[g+3|0]!=77|w[g+4|0]!=84|(b|w[g+5|0]!=70)){break C}if(w[g+10|0]){break C}if(!w[g+11|0]){break B}}if(h>>>0<10){break y}D:{switch(j-67|0){case 3:if((c|0)!=87|(e|0)!=83){break y}if(!b){break B}break y;case 0:break D;default:break y}}if((c|0)!=87|(e|0)!=83|(w[g+8|0]!=120|(b|0)!=156)){break y}}v[k>>2]=0}f=0;q=Ma-32|0;Ma=q;i=q+16|0;v[i+12>>2]=0;v[i+4>>2]=0;v[i+8>>2]=0;v[i>>2]=520704;E:{if(!Ik(i,p,0)){break E}b=v[i+12>>2];b=b>>>0<100?b:100;j=ab(b);v[q+12>>2]=0;F:{if(!Ys(i,j,b,q+12|0)){break F}Si(i);if(w[j|0]!=60){break F}c=w[j+1|0];if((c|0)!=63){if((c|0)!=115|w[j+2|0]!=118|w[j+3|0]!=103){break F}$a(j);f=1;break E}if(w[j+2|0]!=120|w[j+3|0]!=109|w[j+4|0]!=108){break F}s=o4(q,j,b);c=s;h=v[c>>2];p=zb(15770);b=w[c+11|0];e=b<<24>>24<0;u=e?v[c+4>>2]:b;b=0;G:{if(!p){break G}h=e?h:c;e=h+u|0;b=h;c=e-b|0;H:{I:{if((p|0)>(c|0)){break I}u=w[15770];while(1){x=c-p|0;c=x+1|0;if(c>>>0>>0){break I}c=ag(b,u,c);if(!c){break I}if(!Jb(c,15770,p)){break H}b=c+1|0;c=e-b|0;if((p|0)<=(c|0)){continue}break}}c=e}b=(c|0)==(e|0)?-1:c-h|0}if((b|0)!=-1){$a(j);if(t[s+11|0]<=-1){$a(v[s>>2])}f=1;break E}if(t[s+11|0]>-1){break F}$a(v[s>>2])}$a(j)}Xh(i);Ma=q+32|0;if(f){v[k>>2]=24}$a(g)}Xh(n);Ma=o+32|0;if(t[k+1003|0]<=-1){$a(v[k+992>>2])}b=v[k>>2];v[l>>2]=b;J:{if((b|0)==11){t[k+11|0]=0;v[k>>2]=0;j=!w[l+40|0];b=0;h=Ma-8256|0;Ma=h;eb(h+40|0,0,8212);g=h+24|0;v[g+12>>2]=0;v[g+4>>2]=0;v[g+8>>2]=0;v[g>>2]=520704;K:{if(!Ik(g,r,0)){break K}c=v[g+4>>2];if(c){d=ab(1024);e=kg(d,1,1024,c);G=w[d+15|0];H=w[d+28|0];I=w[d+29|0];J=w[d+30|0];K=w[d+31|0];f=w[d+27|0];i=w[d+26|0];n=w[d+25|0];o=w[d+24|0];q=w[d+23|0];p=w[d+22|0];s=w[d+21|0];u=w[d+20|0];y=w[d+19|0];z=w[d+18|0];A=w[d+17|0];C=w[d+16|0];L=w[d+14|0];M=w[d+13|0];N=w[d+12|0];O=w[d+11|0];P=w[d+10|0];Q=w[d+9|0];R=w[d+8|0];S=w[d+7|0];T=w[d+6|0];U=w[d+5|0];V=w[d+4|0];x=w[d+3|0];D=w[d+2|0];E=w[d+1|0];F=w[d|0];$a(d);dh(c,0,0);y=(y|0)==112;z=(z|0)==121;A=(A|0)==116;c=!L&(!M&(!N&(!D&(!E&(!F&e>>>0>31))&(x|0)==12&(V|0)==106&(U|0)==80&(T|0)==32&(S|0)==32&(R|0)==13&(Q|0)==10&(P|0)==135&(O|0)==10)));C=(C|0)==102;d=!f&(!i&(!n&(!o&(y&(z&(A&(c&C)))&(u|0)==106&(s|0)==112&(p|0)==50&(q|0)==32))));d=e>>>0>3?(F|0)==255?(E|0)==79?(D|0)==255?(x|0)==81?2:d:d:d:d:d;d=c?(G|0)==24?C?A?z?y?(u|0)==109?(s|0)==106?(p|0)==112?(q|0)==50?o|(n|(f|i))?d:(H|0)==109?(I|0)==106?(J|0)==112?(K|0)==50?3:d:d:d:d:d:d:d:d:d:d:d:d:d:d}else{d=0}Si(g);L:{M:{switch(d-1|0){case 0:c=gb(24);d=0;N:{if(!c){break N}v[c>>2]=0;v[c+4>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;t[c|0]=1;e=Z4(c);v[c+12>>2]=e;if(!e){$a(c);d=0;break N}v[c+4>>2]=2;v[c+8>>2]=0;f=v[e+4>>2];d=h+40|0;O:{if(!f|!d){break O}i=gb(96);if(!i){v[v[f>>2]+20>>2]=1;break O}i=eb(i,0,96);v[i+12>>2]=v[d>>2];v[i+16>>2]=v[d+4>>2];v[i+20>>2]=v[d+8>>2];v[f+44>>2]=i}P:{Q:{R:{if(v[c+20>>2]){Nn(f);d=v[e+80>>2];if(d){$a(d);v[e+80>>2]=0}d=v[e+68>>2];if(d){$a(d);v[e+68>>2]=0}f=0;d=v[e+64>>2];if(d){break R}break Q}e=ab(36);d=BL(e,r);f=Y4(v[c+12>>2],d);Qa[v[v[e>>2]+4>>2]](d);e=v[c+12>>2];if(!e){break P}Nn(v[e+4>>2]);d=v[e+80>>2];if(d){$a(d);v[e+80>>2]=0}d=v[e+68>>2];if(d){$a(d);v[e+68>>2]=0}d=v[e+64>>2];if(!d){break Q}}$a(d)}$a(e)}$a(c);d=f}if(d){break L}break K;case 2:d=0;c=gb(24);S:{if(!c){break S}v[c>>2]=0;v[c+4>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;t[c|0]=1;d=gb(104);if(!d){$a(c);d=0;break S}f=h+40|0;e=eb(d,0,104);v[e>>2]=c;T:{d=gb(56);if(d){v[d>>2]=0;v[d+4>>2]=0;v[d+48>>2]=0;v[d+52>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=0;v[d+36>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=c;i=gb(1876);if(i){break T}$a(d)}v[e+4>>2]=0;v[c+20>>2]=1;Ot(e);$a(c);d=0;break S}W=d,X=eb(i,0,1876),v[W+36>>2]=X;v[e+4>>2]=d;v[c+8>>2]=d;v[c+16>>2]=e;v[c+4>>2]=3;v[e+52>>2]=0;v[e+44>>2]=0;v[e+48>>2]=0;U:{if(f){i=gb(96);if(!i){break U}e=eb(i,0,96);v[e+12>>2]=v[f>>2];v[e+16>>2]=v[f+4>>2];v[e+20>>2]=v[f+8>>2];v[d+44>>2]=e}f=ab(36);e=BL(f,r);d=W4(v[c+16>>2],e);Qa[v[v[f>>2]+4>>2]](e);Ot(v[c+16>>2]);$a(c);break S}v[c+20>>2]=1;Ot(e);$a(c);d=0}if(d){break L}break K;case 1:break M;default:break K}}f=0;c=gb(24);d=0;V:{if(!c){break V}e=h+40|0;v[c>>2]=0;v[c+4>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;t[c|0]=1;W:{d=gb(56);if(d){v[d>>2]=0;v[d+4>>2]=0;v[d+48>>2]=0;v[d+52>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=0;v[d+36>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=c;f=gb(1876);if(!f){$a(d);$a(c);d=0;break V}W=d,X=eb(f,0,1876),v[W+36>>2]=X;v[c+12>>2]=0;v[c+8>>2]=d;v[c+4>>2]=0;if(e){f=gb(96);if(!f){break W}f=eb(f,0,96);v[f+12>>2]=v[e>>2];v[f+16>>2]=v[e+4>>2];v[f+20>>2]=v[e+8>>2];v[d+44>>2]=f}e=ab(36);d=BL(e,r);f=lC(v[c+8>>2],d);Qa[v[v[e>>2]+4>>2]](d);Nn(v[c+8>>2])}$a(c);d=f;break V}v[c+20>>2]=1;Nn(d);$a(c);d=0}if(!d){break K}}f=v[d+24>>2];c=v[f+8>>2];v[h+20>>2]=c;e=v[f+12>>2];v[h+16>>2]=e;r=B(c,e)<<2;X:{Y:{if((r|0)<=0){c=v[d+16>>2];if((c|0)<=0){break Y}while(1){e=B(b,48)+f|0;l=v[e+44>>2];if(l){$a(l);v[e+44>>2]=0;f=v[d+24>>2];c=v[d+16>>2]}b=b+1|0;if((c|0)>(b|0)){continue}break}if(f){break Y}break X}v[l+4>>2]=v[h+20>>2];v[l+8>>2]=v[h+16>>2];v[h+12>>2]=v[h+20>>2]<<2;v[l+12>>2]=v[h+12>>2];f=ab(r);v[l+16>>2]=f;Z:{_:{b=v[d+16>>2];if((b|0)==3){c=v[d+24>>2];b=v[c>>2];if((b|0)!=v[c+48>>2]|(b|0)!=v[c+96>>2]){break _}b=v[c+4>>2];if((b|0)!=v[c+52>>2]|(b|0)!=v[c+100>>2]){break _}b=v[c+24>>2];if((b|0)!=v[c+72>>2]|(b|0)!=v[c+120>>2]){break _}b=v[c+40>>2];e=-1<>2]>>b;e=e+v[c+8>>2]>>b;q=B(o,e);if((q|0)<1){break Z}b=0;p=v[h+20>>2];while(1){l=(b|0)/(e|0)|0;l=B(p,o+(l^-1)|0)+(b-B(e,l)|0)<<2;i=w[l+v[c+140>>2]|0];n=w[l+v[c+44>>2]|0];c=v[l+v[c+92>>2]>>2];t[f+3|0]=255;t[f+1|0]=c;t[f+2|0]=j?n:i;t[f|0]=j?i:n;b=b+1|0;if((q|0)==(b|0)){break Z}f=f+4|0;c=v[d+24>>2];continue}}c=v[d+24>>2];if((b|0)<4){break _}b=v[c>>2];if((b|0)!=v[c+48>>2]|(b|0)!=v[c+96>>2]|(b|0)!=v[c+144>>2]){break _}b=v[c+4>>2];if((b|0)!=v[c+52>>2]|(b|0)!=v[c+100>>2]|(b|0)!=v[c+148>>2]){break _}b=v[c+24>>2];if((b|0)!=v[c+72>>2]|(b|0)!=v[c+120>>2]|(b|0)!=v[c+168>>2]){break _}b=v[c+40>>2];e=-1<>2]>>b;l=e+v[c+8>>2]>>b;q=B(o,l);if((q|0)<1){break Z}b=0;p=v[h+20>>2];while(1){e=(b|0)/(l|0)|0;e=B(p,o+(e^-1)|0)+(b-B(e,l)|0)<<2;i=w[e+v[c+140>>2]|0];n=w[e+v[c+44>>2]|0];s=v[e+v[c+92>>2]>>2];t[f+3|0]=v[e+v[c+188>>2]>>2];t[f+1|0]=s;t[f+2|0]=j?n:i;t[f|0]=j?i:n;b=b+1|0;if((q|0)==(b|0)){break Z}f=f+4|0;c=v[d+24>>2];continue}}b=v[c+40>>2];e=-1<>2]>>b;e=e+v[c+8>>2]>>b;j=B(l,e);if((j|0)<1){break Z}b=0;i=v[h+20>>2];while(1){s=v[c+44>>2];c=(b|0)/(e|0)|0;c=w[s+(B(i,l+(c^-1)|0)+(b-B(c,e)|0)<<2)|0];t[f+3|0]=255;t[f+2|0]=c;t[f+1|0]=c;t[f|0]=c;b=b+1|0;if((j|0)==(b|0)){break Z}f=f+4|0;c=v[d+24>>2];continue}}f=v[d+24>>2];if(!f){break X}b=0;c=v[d+16>>2];if((c|0)<=0){break Y}while(1){e=B(b,48)+f|0;l=v[e+44>>2];if(l){$a(l);v[e+44>>2]=0;f=v[d+24>>2];c=v[d+16>>2]}b=b+1|0;if((c|0)>(b|0)){continue}break}if(!f){break X}}$a(f)}$a(d);b=(r|0)>0}Xh(g);Ma=h+8256|0;d=b;if(t[k+11|0]>-1){break J}$a(v[k>>2]);break J}c=k+976|0;v[c+12>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;v[c>>2]=520704;if(Ik(c,r,0)){e=Ge(k,0);d=v[c+4>>2];f=v[l>>2];b=Ma-16|0;Ma=b;v[b>>2]=39232;v[b+4>>2]=d;t[b+8|0]=!d;d=EB(e,b,f);v[b>>2]=39232;f=v[b+4>>2];if(!(!f|!w[b+8|0])){Fe(f)}Ma=b+16|0;if(d){W5(e,l);W=l,X=jp(e),t[W+28|0]=X}v[e>>2]=1032;Tg(e);Cg(e)}Xh(c)}Ma=k+1008|0;if(d){v[a+24>>2]=v[m+16>>2];v[a+12>>2]=v[m+4>>2];v[a+16>>2]=v[m+8>>2];b=v[m+12>>2];v[a+8>>2]=0;v[a+20>>2]=b}v[m>>2]=0;v[m+4>>2]=0;t[m+40|0]=0;v[m+32>>2]=0;v[m+36>>2]=-1074790400;t[m+21|0]=0;t[m+22|0]=0;t[m+23|0]=0;t[m+24|0]=0;t[m+25|0]=0;t[m+26|0]=0;t[m+27|0]=0;t[m+28|0]=0;v[m+16>>2]=0;v[m+20>>2]=0;v[m+8>>2]=0;v[m+12>>2]=0;un(m);Ma=m+48|0}function pfa(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;f=Ma-160|0;Ma=f;v[f+156>>2]=c;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{switch(b-254|0){default:switch(b-32995|0){case 2:break p;case 1:break r;case 3:break s;case 0:break v;default:break h};case 0:v[f+156>>2]=c+4;v[a+80>>2]=v[c>>2];d=1;break g;case 2:v[f+156>>2]=c+4;v[a+56>>2]=v[c>>2];d=1;break g;case 3:v[f+156>>2]=c+4;v[a+60>>2]=v[c>>2];d=1;break g;case 4:v[f+156>>2]=c+4;c=v[c>>2];u[a+84>>1]=c;d=1;if(!(w[a+12|0]&128)){break g}x:{y:{z:{A:{B:{c=c&65535;switch(c-16|0){case 16:break y;case 8:break z;case 0:break A;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break g;default:break B}}if((c|0)==64){break x}if((c|0)!=128){break g}v[a+652>>2]=391;break g}v[a+652>>2]=392;break g}v[a+652>>2]=393;break g}v[a+652>>2]=394;break g}v[a+652>>2]=391;break g;case 5:v[f+156>>2]=c+4;c=x[c>>1];if(w[a+40|0]&128){d=1;if((c|0)==x[a+88>>1]){break g}Qa[v[a+572>>2]](a);v[a+12>>2]=v[a+12>>2]&-33}d=v[279424];C:{if(d){while(1){e=v[d+4>>2];if((c|0)==x[e+4>>1]){break C}d=v[d>>2];if(d){continue}break}}if(v[253816]){e=1015264;while(1){if((c|0)==x[e+4>>1]){break C}d=v[e+12>>2];e=e+12|0;if(d){continue}break}}e=0}v[a+556>>2]=434;v[a+548>>2]=435;v[a+540>>2]=436;v[a+520>>2]=437;v[a+516>>2]=438;v[a+512>>2]=1;v[a+528>>2]=1;v[a+580>>2]=439;v[a+576>>2]=440;v[a+572>>2]=441;v[a+568>>2]=442;v[a+564>>2]=441;v[a+560>>2]=443;v[a+552>>2]=444;v[a+544>>2]=445;v[a+536>>2]=438;v[a+532>>2]=437;v[a+524>>2]=438;v[a+12>>2]=v[a+12>>2]&-131329;if(e){d=Qa[v[e+8>>2]](a,c)|0}else{d=1}if(!d){break c}u[a+88>>1]=c;break g;case 8:v[f+156>>2]=c+4;u[a+90>>1]=v[c>>2];d=1;break g;case 9:v[f+156>>2]=c+4;u[a+92>>1]=v[c>>2];d=1;break g;case 12:v[f+156>>2]=c+4;d=1;e=v[c>>2];if(e-1>>>0>1){break b}u[a+94>>1]=e;break g;case 20:v[f+156>>2]=c+4;e=v[c>>2];if(e-1>>>0>7){break b}u[a+96>>1]=e;d=1;break g;case 23:v[f+156>>2]=c+4;c=v[c>>2];if(!c){break b}u[a+98>>1]=c;d=1;break g;case 24:v[f+156>>2]=c+4;c=v[c>>2];if(!c){break e}v[a+100>>2]=c;d=1;if(w[a+40|0]&4){break g}v[a+72>>2]=c;v[a+68>>2]=v[a+56>>2];break g;case 26:v[f+156>>2]=c+4;u[a+104>>1]=v[c>>2];d=1;break g;case 27:v[f+156>>2]=c+4;u[a+106>>1]=v[c>>2];d=1;break g;case 86:c=c+7&-8;v[f+156>>2]=c+8;A[a+112>>3]=A[c>>3];d=1;break g;case 87:c=c+7&-8;v[f+156>>2]=c+8;A[a+120>>3]=A[c>>3];d=1;break g;case 28:c=c+7&-8;v[f+156>>2]=c+8;z[a+128>>2]=A[c>>3];d=1;break g;case 29:c=c+7&-8;v[f+156>>2]=c+8;z[a+132>>2]=A[c>>3];d=1;break g;case 30:v[f+156>>2]=c+4;d=1;e=v[c>>2];if(e-1>>>0>1){break b}u[a+138>>1]=e;break g;case 32:c=c+7&-8;v[f+156>>2]=c+8;z[a+140>>2]=A[c>>3];d=1;break g;case 33:c=c+7&-8;v[f+156>>2]=c+8;z[a+144>>2]=A[c>>3];d=1;break g;case 42:v[f+156>>2]=c+4;e=v[c>>2];if(e-1>>>0>2){break b}u[a+136>>1]=e;d=1;break g;case 43:u[a+148>>1]=v[c>>2];v[f+156>>2]=c+8;u[a+150>>1]=v[c+4>>2];d=1;break g;case 67:u[a+164>>1]=v[c>>2];v[f+156>>2]=c+8;u[a+166>>1]=v[c+4>>2];d=1;break g;case 66:e=x[a+84>>1];v[f+156>>2]=c+4;d=v[c>>2];g=v[a+152>>2];if(g){$a(g);v[a+152>>2]=0}e=1<>>0>>0){break D}h=gb(g);v[a+152>>2]=h;if(!h){break D}Fd(h,d,g)}d=v[c+4>>2];g=v[a+156>>2];if(g){$a(g);v[a+156>>2]=0}E:{if(!d){break E}g=e+e|0;if(g>>>0>>0){break E}h=gb(g);v[a+156>>2]=h;if(!h){break E}Fd(h,d,g)}v[f+156>>2]=c+12;c=v[c+8>>2];d=v[a+160>>2];if(d){$a(d);v[a+160>>2]=0}d=1;if(!c){break g}g=e;e=e+e|0;if(g>>>0>e>>>0){break g}g=gb(e);v[a+160>>2]=g;if(!g){break g}Fd(g,c,e);break g;case 278:break j;case 47:break l;case 276:break m;case 277:break n;case 76:break o;case 85:break q;case 69:break t;case 68:break u;case 84:break w;case 1:case 6:case 7:case 10:case 11:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 21:case 22:case 25:case 31:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 44:case 45:case 46:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 65:case 70:case 71:case 72:case 73:case 74:case 75:case 77:case 78:case 80:case 81:case 82:case 83:case 88:case 89:case 90:case 91:case 92:case 93:case 94:case 95:case 96:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:case 123:case 124:case 125:case 126:case 127:case 128:case 129:case 130:case 131:case 132:case 133:case 134:case 135:case 136:case 137:case 138:case 139:case 140:case 141:case 142:case 143:case 144:case 145:case 146:case 147:case 148:case 149:case 150:case 151:case 152:case 153:case 154:case 155:case 156:case 157:case 158:case 159:case 160:case 161:case 162:case 163:case 164:case 165:case 166:case 167:case 168:case 169:case 170:case 171:case 172:case 173:case 174:case 175:case 176:case 177:case 178:case 179:case 180:case 181:case 182:case 183:case 184:case 185:case 186:case 187:case 188:case 189:case 190:case 191:case 192:case 193:case 194:case 195:case 196:case 197:case 198:case 199:case 200:case 201:case 202:case 203:case 204:case 205:case 206:case 207:case 208:case 209:case 210:case 211:case 212:case 213:case 214:case 215:case 216:case 217:case 218:case 219:case 220:case 221:case 222:case 223:case 224:case 225:case 226:case 227:case 228:case 229:case 230:case 231:case 232:case 233:case 234:case 235:case 236:case 237:case 238:case 239:case 240:case 241:case 242:case 243:case 244:case 245:case 246:case 247:case 248:case 249:case 250:case 251:case 252:case 253:case 254:case 255:case 256:case 257:case 258:case 259:case 260:case 261:case 262:case 263:case 264:case 265:case 266:case 267:case 268:case 269:case 270:case 271:case 272:case 273:case 274:case 275:break h;case 79:break i}}e=v[c>>2];h=e&65535;if(h>>>0>x[a+98>>1]){break b}g=v[c+4>>2];if(g?0:e){break b}if(e){c=0;while(1){d=g+(c<<1)|0;j=x[d>>1];if(j>>>0>=3){if((j|0)!=999){break b}u[d>>1]=2}c=c+1|0;if((e|0)!=(c|0)){continue}break}}u[a+168>>1]=e;c=v[a+172>>2];if(c){$a(c);v[a+172>>2]=0}if(!g){break k}d=1;e=h<<1;c=gb(e);v[a+172>>2]=c;if(!c){break g}Fd(c,g,e);break g}v[f+156>>2]=c+4;c=v[c>>2];u[a+168>>1]=(c|0)!=0;if(!c){break k}d=1;u[f+144>>1]=1;c=f+144|0;e=v[a+172>>2];if(e){$a(e);v[a+172>>2]=0}F:{if(!c){break F}e=gb(2);v[a+172>>2]=e;if(!e){break F}Fd(e,c,2)}break g}v[f+156>>2]=c+4;c=v[c>>2];if(c&15){if(v[a+8>>2]){break d}e=v[a>>2];d=v[a+628>>2];v[f+80>>2]=c;Nc(d,e,25196,f+80|0)}v[a+68>>2]=c;v[a+12>>2]=v[a+12>>2]|1024;d=1;break g}v[f+156>>2]=c+4;c=v[c>>2];if(c&15){if(v[a+8>>2]){break d}e=v[a>>2];d=v[a+628>>2];v[f+96>>2]=c;Nc(d,e,26875,f+96|0)}v[a+72>>2]=c;v[a+12>>2]=v[a+12>>2]|1024;d=1;break g}v[f+156>>2]=c+4;c=v[c>>2];if(!c){break e}v[a+76>>2]=c;d=1;break g}v[f+156>>2]=c+4;e=v[c>>2];if(e>>>0>3){break b}e=e<<4;c=e&31;u[a+86>>1]=(e&63)>>>0>=32?196609>>>c|0:((1<>>c;d=1;break g}v[f+156>>2]=c+4;e=v[c>>2];if(e-1>>>0>5){break b}u[a+86>>1]=e;G:{if((e|0)==5){if(x[a+84>>1]!=32|v[a+652>>2]!=394){break G}v[a+652>>2]=392;d=1;break g}d=1;if((e-5&65535)>>>0>1){break g}}d=1;if(x[a+84>>1]!=64|v[a+652>>2]!=391){break g}v[a+652>>2]=394;break g}v[f+156>>2]=c+4;v[a- -64>>2]=v[c>>2];d=1;break g}if(!(w[a+13|0]&32)){e=v[c>>2];u[a+196>>1]=e;v[f+156>>2]=c+8;c=v[c+4>>2];e=e&65535;d=v[a+200>>2];if(d){$a(d);v[a+200>>2]=0}H:{if(!c){break H}d=e<<2;e=gb(d);v[a+200>>2]=e;if(!e){break H}Fd(e,c,d)}d=1;break g}b=v[a+628>>2];v[f+112>>2]=v[a>>2];wb(b,76712,28262,f+112|0);break a}v[f+156>>2]=c+4;u[a+208>>1]=v[c>>2];d=1;break g}u[a+204>>1]=v[c>>2];v[f+156>>2]=c+8;u[a+206>>1]=v[c+4>>2];d=1;break g}i=(x[a+98>>1]-x[a+168>>1]|0)>1?3:1;while(1){e=x[a+84>>1];g=v[c>>2];h=(d<<2)+a|0;j=v[h+216>>2];if(j){$a(j);v[h+216>>2]=0}I:{if(!g){break I}j=1<>>0>>0){break I}j=h;h=gb(e);v[j+216>>2]=h;if(!h){break I}Fd(h,g,e)}c=c+4|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}v[f+156>>2]=c}d=1;break g}v[f+156>>2]=c+4;c=v[c>>2];e=v[a+212>>2];if(e){$a(e);v[a+212>>2]=0}d=1;if(!c){break g}e=gb(24);v[a+212>>2]=e;if(!e){break g}Fd(e,c,24);break g}h=v[c>>2];v[f+156>>2]=c+8;d=x[a+98>>1];e=d;if(!h){break f}g=v[c+4>>2];c=g;if(d){h=g+h|0;c=g;e=d;while(1){if(w[c|0]){while(1){if(c>>>0>=h>>>0){break f}j=w[c+1|0];c=c+1|0;if(j){continue}break}}c=c+1|0;e=e-1|0;if(e&65535){continue}break}}c=c-g|0;if(!c){break c}yQ(a+232|0,g,c);v[a+228>>2]=c;d=1;break g}J:{K:{L:{h=or(a,b);M:{if(!h){c=b>>>0>65535?19338:22352;b=31573;break M}if(x[h+12>>1]==65){c=0;g=v[a+236>>2];if((g|0)>0){break L}d=v[a+240>>2];break K}c=b>>>0>65535?19338:22352;b=v[h+16>>2]}e=v[a+628>>2];a=v[a>>2];v[f+8>>2]=b;v[f+4>>2]=c;v[f>>2]=a;wb(e,76712,30614,f);break a}d=v[a+240>>2];while(1){e=B(c,12)+d|0;if(v[v[e>>2]>>2]==(b|0)){c=B(c,12)+d|0;d=v[c+8>>2];if(!d){break J}$a(d);v[c+8>>2]=0;break J}c=c+1|0;if((g|0)!=(c|0)){continue}break}}c=g+1|0;v[a+236>>2]=c;c=ph(d,B(c,12));if(!c){b=v[a+628>>2];v[f+32>>2]=v[a>>2];wb(b,76712,32922,f+32|0);d=0;break a}v[a+240>>2]=c;e=(c+B(v[a+236>>2],12)|0)-12|0;v[e>>2]=h;v[e+4>>2]=0;v[e+8>>2]=0}c=v[h+8>>2]-1|0;if(c>>>0<=12){g=v[(c<<2)+81980>>2]}else{g=0}if(!g){b=v[a+628>>2];a=v[a>>2];c=v[h+8>>2];v[f+24>>2]=v[h+16>>2];v[f+20>>2]=c;v[f+16>>2]=a;wb(b,76712,35363,f+16|0);d=0;break a}N:{if(w[h+15|0]){c=v[f+156>>2];v[f+156>>2]=c+4;c=v[c>>2];break N}c=1;O:{P:{d=u[h+6>>1];switch((d&65535)-65533|0){case 0:case 2:break N;case 1:break P;default:break O}}c=x[a+98>>1];break N}c=d}v[e+4>>2]=c;if(v[h+8>>2]==2){c=v[f+156>>2];v[f+156>>2]=c+4;uu(e+8|0,v[c>>2]);d=1;break g}c=Tf(a,g,c,36225);v[e+8>>2]=c;if(!c){break c}Q:{if(!(w[h+15|0]|x[h+6>>1]>65532)){j=v[e+4>>2];if((j|0)<2){break Q}}R:{S:{T:{d=v[h>>2];switch(d-321|0){case 0:case 15:break R;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:break S;default:break T}}if((d|0)==297|(d|0)==530){break R}}d=v[f+156>>2];v[f+156>>2]=d+4;Fd(c,v[d>>2],B(g,v[e+4>>2]));d=1;break g}j=v[e+4>>2]}d=1;if((j|0)<1){break g}j=0;while(1){U:{V:{switch(v[h+8>>2]-1|0){case 0:case 6:i=v[f+156>>2];v[f+156>>2]=i+4;t[f+144|0]=v[i>>2];Fd(c,f+144|0,g);break U;case 5:i=v[f+156>>2];v[f+156>>2]=i+4;t[f+144|0]=v[i>>2];Fd(c,f+144|0,g);break U;case 2:i=v[f+156>>2];v[f+156>>2]=i+4;u[f+144>>1]=v[i>>2];Fd(c,f+144|0,g);break U;case 7:i=v[f+156>>2];v[f+156>>2]=i+4;u[f+144>>1]=v[i>>2];Fd(c,f+144|0,g);break U;case 3:case 12:i=v[f+156>>2];v[f+156>>2]=i+4;v[f+144>>2]=v[i>>2];Fd(c,f+144|0,g);break U;case 8:i=v[f+156>>2];v[f+156>>2]=i+4;v[f+144>>2]=v[i>>2];Fd(c,f+144|0,g);break U;case 4:case 9:case 10:i=v[f+156>>2]+7&-8;v[f+156>>2]=i+8;z[f+144>>2]=A[i>>3];Fd(c,f+144|0,g);break U;case 11:i=v[f+156>>2]+7&-8;v[f+156>>2]=i+8;A[f+144>>3]=A[i>>3];Fd(c,f+144|0,g);break U;default:break V}}d=0;Hf(c,0,g)}c=c+g|0;j=j+1|0;if((j|0)>2]){continue}break}if(!d){break c}}c=x[Pe(a,b)+12>>1];b=(x[Pe(a,b)+12>>1]>>>3&8188)+a|0;v[b+40>>2]=v[b+40>>2]|1<>2]=v[a+12>>2]|8;break a}b=v[a+628>>2];v[f+128>>2]=v[a>>2];v[f+132>>2]=d;v[f+136>>2]=d-(e&65535);wb(b,13501,40313,f+128|0);d=0;break a}c=0}e=v[a+628>>2];d=v[a>>2];k=f,l=v[Pe(a,b)+16>>2],v[k+72>>2]=l;v[f+68>>2]=c;v[f+64>>2]=d;wb(e,76712,38526,f- -64|0)}d=0;break a}c=v[a+628>>2];d=v[a>>2];k=f,l=v[Pe(a,b)+16>>2],v[k+56>>2]=l;v[f+52>>2]=e;v[f+48>>2]=d;wb(c,76712,37624,f+48|0);d=0}Ma=f+160|0;return d|0}function RK(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,q=0,r=0,s=0,y=0,A=0,B=C(0),D=0,E=0,F=0,G=0,H=0,I=0,J=C(0);d=Ma-16|0;Ma=d;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],(b+c|0)-4|0,0)|0;v[d+12>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,4)|0;e=w[d+12|0];g=v[a+4>>2];if(x[a+25204>>1]==18761){c=e|w[d+13|0]<<8|w[d+14|0]<<16|w[d+15|0]<<24}else{c=w[d+15|0]|(w[d+13|0]<<16|e<<24|w[d+14|0]<<8)}Qa[v[v[a>>2]+8>>2]](g,c+b|0,0)|0;u[d+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;c=w[d+12|0];if(x[a+25204>>1]==18761){c=c|w[d+13|0]<<8}else{c=w[d+13|0]|c<<8}e=c&65535;if(!(e>>>0>100|!e)){D=a+25925|0;y=a+25733|0;A=a+25797|0;r=c&65535;q=1040;s=17907;k=-1;while(1){u[d+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;c=w[d+12|0];if(x[a+25204>>1]==18761){g=c|w[d+13|0]<<8}else{g=w[d+13|0]|c<<8}v[d+12>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,4)|0;c=w[d+12|0];if(x[a+25204>>1]==18761){h=c|w[d+13|0]<<8|w[d+14|0]<<16|w[d+15|0]<<24}else{h=w[d+15|0]|(w[d+13|0]<<16|c<<24|w[d+14|0]<<8)}j=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;i=v[a>>2];e=v[i+8>>2];c=v[a+4>>2];v[d+12>>2]=-1;Qa[v[i>>2]](c,d+12|0,1,4)|0;i=w[d+12|0];if(x[a+25204>>1]==18761){i=i|w[d+13|0]<<8|w[d+14|0]<<16|w[d+15|0]<<24}else{i=w[d+15|0]|(w[d+13|0]<<16|i<<24|w[d+14|0]<<8)}Qa[e|0](c,i+b|0,0)|0;if((((g&65280)>>>8|0)+8&503)==48){RK(a,Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0,h)}r=r-1|0;E=j+4|0;n=a;m=a;a:{b:{c:{j=a;d:{e:{f:{i=a;g:{h:{e=a;i:{j:{c=a;k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{g=g&65535;if(g>>>0<=6157){if(g>>>0<=4137){switch(g-2058|0){case 1:case 2:case 3:case 4:case 5:break a;case 0:break D;case 6:break E;default:break w}}F:{switch(g-4138|0){case 1:case 3:case 4:case 5:break a;case 7:break s;case 6:break t;case 2:break x;case 0:break y;default:break F}}if((g|0)!=4265){break a}k=(h|0)>=67?t[k+76631|0]-48|0:k;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],k<<3|2,1)|0;u[d+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;e=w[d+12|0];if(x[a+25204>>1]!=18761){break v}e=e|w[d+13|0]<<8;break u}if(g>>>0<=22541){G:{switch(g-6158|0){case 1:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break a;case 0:break m;case 10:break z;case 39:break B;case 2:break C;default:break G}}if((g|0)==8199){break A}if((g|0)!=20521){break a}B=C(h>>16);z[a+26012>>2]=B;if((h&65535)!=2){break a}z[a+26012>>2]=B*C(.03125);break a}switch(g-22542|0){case 0:break n;case 38:break o;case 9:break p;case 6:break q;case 5:break r;default:break a}}Qa[v[v[a>>2]>>2]](v[a+4>>2],D,64,1)|0;break a}Qa[v[v[a>>2]>>2]](v[a+4>>2],y,64,1)|0;G=v[a+4>>2],H=zb(y)-63|0,I=1,F=v[v[a>>2]+8>>2],Qa[F](G|0,H|0,I|0)|0;Qa[v[v[a>>2]>>2]](v[a+4>>2],A,64,1)|0;break a}Qa[v[v[a>>2]+8>>2]](v[a+4>>2],12,1)|0;v[d+12>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,4)|0;c=w[d+12|0];if(x[a+25204>>1]==18761){v[a+26328>>2]=c|w[d+13|0]<<8|w[d+14|0]<<16|w[d+15|0]<<24;break a}v[a+26328>>2]=w[d+15|0]|(w[d+13|0]<<16|c<<24|w[d+14|0]<<8);break a}v[d+12>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,4)|0;c=w[d+12|0];if(x[a+25204>>1]==18761){v[a+26116>>2]=c|w[d+13|0]<<8|w[d+14|0]<<16|w[d+15|0]<<24;break a}v[a+26116>>2]=w[d+15|0]|(w[d+13|0]<<16|c<<24|w[d+14|0]<<8);break a}c=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[a+26080>>2]=h;v[a+26056>>2]=c;v[a+26060>>2]=c>>31;break a}v[d+12>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,4)|0;v[d+12>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,4)|0;e=w[d+12|0];c=a;if(x[a+25204>>1]==18761){e=e|w[d+13|0]<<8|w[d+14|0]<<16|w[d+15|0]<<24}else{e=w[d+15|0]|(w[d+13|0]<<16|e<<24|w[d+14|0]<<8)}F=c,J=C(Ol(+(l(2,e^-2147483648),p()))),z[F+26004>>2]=J;v[d+12>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,4)|0;e=w[d+12|0];c=a;if(x[a+25204>>1]==18761){e=e|w[d+13|0]<<8|w[d+14|0]<<16|w[d+15|0]<<24}else{e=w[d+15|0]|(w[d+13|0]<<16|e<<24|w[d+14|0]<<8)}F=c,J=C(Ol(+C((l(2,e),p())*C(.5)))),z[F+26008>>2]=J;break a}v[d+12>>2]=-1;c=d+12|0;Qa[v[v[a>>2]>>2]](v[a+4>>2],c,1,4)|0;u[d+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c,1,2)|0;e=w[d+12|0];c=a;if(x[a+25204>>1]==18761){e=e|w[d+13|0]<<8}else{e=w[d+13|0]|e<<8}F=c,J=C(C(Ol(+C(C(C((e&65535)>>>0)*C(.03125))+C(-4))))*C(50)),z[F+26e3>>2]=J;u[d+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;u[d+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;e=w[d+12|0];c=a;if(x[a+25204>>1]==18761){e=e|w[d+13|0]<<8}else{e=w[d+13|0]|e<<8}F=c,J=C(Ol(+C(C(e<<16>>16)*C(.015625)))),z[F+26008>>2]=J;u[d+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;e=w[d+12|0];c=a;if(x[a+25204>>1]==18761){e=e|w[d+13|0]<<8}else{e=w[d+13|0]|e<<8}F=c,J=C(Ol(+C(C(0-(e<<16>>16)|0)*C(.03125)))),z[F+26004>>2]=J;u[d+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;u[d+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;c=w[d+12|0];if(x[a+25204>>1]==18761){c=c|w[d+13|0]<<8}else{c=w[d+13|0]|c<<8}Qa[v[v[a>>2]+8>>2]](v[a+4>>2],32,1)|0;k=((c&65535)>>>0>17?0:c)&65535;if(!(z[a+26004>>2]>C(1e6))){break a}u[d+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;e=w[d+12|0];c=a;if(x[a+25204>>1]==18761){e=e|w[d+13|0]<<8}else{e=w[d+13|0]|e<<8}z[c+26004>>2]=C((e&65535)>>>0)/C(10);break a}u[d+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;c=w[d+12|0];m=v[a+4>>2];j=v[v[a>>2]+8>>2];if(x[a+25204>>1]==18761){c=c|w[d+13|0]<<8}else{c=w[d+13|0]|c<<8}if((c&65535)>>>0>=513){Qa[j|0](m,118,1)|0;u[d+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;e=w[d+12|0];c=a;if(x[a+25204>>1]==18761){e=e|w[d+13|0]<<8}else{e=w[d+13|0]|e<<8}z[c+59276>>2]=(e&65535)>>>0;u[d+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;c=w[d+12|0];if(x[a+25204>>1]==18761){break j}c=w[d+13|0]|c<<8;break i}Qa[j|0](m,98,1)|0;u[d+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;i=w[d+12|0];c=a;if(x[a+25204>>1]==18761){g=i|w[d+13|0]<<8}else{g=w[d+13|0]|i<<8}z[c+59272>>2]=(g&65535)>>>0;u[d+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;c=w[d+12|0];if(x[a+25204>>1]==18761){break l}c=w[d+13|0]|c<<8;break k}if((g|0)!=50){break a}if((h|0)==768){Qa[v[v[a>>2]+8>>2]](v[a+4>>2],72,1)|0;u[d+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;e=w[d+12|0];c=a;if(x[a+25204>>1]==18761){e=e|w[d+13|0]<<8}else{e=w[d+13|0]|e<<8}z[c+59268>>2]=C(1024)/C((e&65535)>>>0);u[d+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;c=w[d+12|0];if(x[a+25204>>1]==18761){break f}c=w[d+13|0]|c<<8;break e}if(z[a+59268>>2]!=C(0)){break a}u[d+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;e=w[d+12|0];if(x[a+25204>>1]==18761){c=e|w[d+13|0]<<8}else{c=w[d+13|0]|e<<8}H:{if((c&65535)==(q|0)){e=(Cc(A,76343)?76427:76495)+k|0;c=-46;break H}s=0;q=0;e=k+76562|0;c=-48}Qa[v[v[a>>2]+8>>2]](v[a+4>>2],(t[e|0]+c<<3)+78|0,1)|0;u[d+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;e=w[d+12|0];c=a;if(x[a+25204>>1]==18761){e=e|w[d+13|0]<<8}else{e=w[d+13|0]|e<<8}z[c+59272>>2]=((e^q)&65535)>>>0;u[d+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;c=w[d+12|0];if(x[a+25204>>1]==18761){break h}c=w[d+13|0]|c<<8;break g}e=w[d+13|0]|e<<8}z[c+59268>>2]=(e&65535)>>>0;u[d+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;c=w[d+12|0];if(x[a+25204>>1]==18761){break c}c=w[d+13|0]|c<<8;break b}if(!(98368>>>k&1)){break a}e=0;h=0;g=0;f=Ma-16|0;Ma=f;u[f+2>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],f+2|0,1,2)|0;v[f+4>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],f+4|0,1,4)|0;c=w[f+4|0];if(x[a+25204>>1]==18761){c=c|w[f+5|0]<<8|w[f+6|0]<<16|w[f+7|0]<<24}else{c=w[f+7|0]|(w[f+5|0]<<16|c<<24|w[f+6|0]<<8)}I:{if((c|0)!=524296){break I}v[f+8>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],f+8|0,1,4)|0;c=w[f+8|0];if(x[a+25204>>1]==18761){c=c|w[f+9|0]<<8|w[f+10|0]<<16|w[f+11|0]<<24}else{c=w[f+11|0]|(w[f+9|0]<<16|c<<24|w[f+10|0]<<8)}if(!c){break I}u[f+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],f+12|0,1,2)|0;c=w[f+12|0];J:{if(x[a+25204>>1]==18761){c=c|w[f+13|0]<<8}else{c=w[f+13|0]|c<<8}n=c&65535;switch(n-10|0){case 0:case 2:break J;default:break I}}i=32-n|0;o=0;while(1){m=0;while(1){if((o|0)<(n|0)){u[f+14>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],f+14|0,1,2)|0;j=w[f+14|0];c=x[((g&1)<<1)+199440>>1];g=g+1|0;o=o+16|0;if(x[a+25204>>1]==18761){j=j|w[f+15|0]<<8}else{j=w[f+15|0]|j<<8}e=j&65535^c|e<<16}u[(((h<<4)+a|0)+(m<<1)|0)+26356>>1]=e<<32-o>>>i;o=o-n|0;m=m+1|0;if((m|0)!=8){continue}break}h=h+1|0;if((h|0)!=8){continue}break}}Ma=f+16|0;break a}u[d+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;u[d+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;e=w[d+12|0];c=a;if(x[a+25204>>1]==18761){e=e|w[d+13|0]<<8}else{e=w[d+13|0]|e<<8}u[c+26306>>1]=e;u[d+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;c=w[d+12|0];if(x[a+25204>>1]==18761){u[a+26304>>1]=c|w[d+13|0]<<8;break a}u[a+26304>>1]=w[d+13|0]|c<<8;break a}v[a+25992>>2]=h;break a}v[a+25996>>2]=h;break a}v[a+26020>>2]=h;break a}v[a+26036>>2]=h;break a}v[a+26016>>2]=h;break a}v[d+12>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,4)|0;e=w[d+12|0];c=a;if(x[a+25204>>1]==18761){e=e|w[d+13|0]<<8|w[d+14|0]<<16|w[d+15|0]<<24}else{e=w[d+15|0]|(w[d+13|0]<<16|e<<24|w[d+14|0]<<8)}v[c+26016>>2]=e;break a}c=c|w[d+13|0]<<8}z[e+59268>>2]=(c&65535)>>>0;u[d+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;e=w[d+12|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+13|0]|e<<8}else{e=e|w[d+13|0]<<8}z[c+59276>>2]=(e&65535)>>>0;u[d+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;e=w[d+12|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+13|0]|e<<8}else{e=e|w[d+13|0]<<8}z[c+59280>>2]=(e&65535)>>>0;break a}c=c|w[d+13|0]<<8}z[i+59280>>2]=(c&65535)>>>0;u[d+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;e=w[d+12|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+13|0]|e<<8}else{e=e|w[d+13|0]<<8}z[c+59268>>2]=(e&65535)>>>0;u[d+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;e=w[d+12|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+13|0]|e<<8}else{e=e|w[d+13|0]<<8}z[c+59272>>2]=(e&65535)>>>0;break a}c=c|w[d+13|0]<<8}z[j+59268>>2]=((c^s)&65535)>>>0;u[d+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;e=w[d+12|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+13|0]|e<<8}else{e=e|w[d+13|0]<<8}z[c+59276>>2]=((e^q)&65535)>>>0;u[d+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;e=w[d+12|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+13|0]|e<<8}else{e=e|w[d+13|0]<<8}z[c+59280>>2]=((e^s)&65535)>>>0;break d}c=c|w[d+13|0]<<8}z[m+59272>>2]=C(1024)/C((c&65535)>>>0);u[d+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;e=w[d+12|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+13|0]|e<<8}else{e=e|w[d+13|0]<<8}z[c+59280>>2]=C(1024)/C((e&65535)>>>0);u[d+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;e=w[d+12|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+13|0]|e<<8}else{e=e|w[d+13|0]<<8}z[c+59276>>2]=C(1024)/C((e&65535)>>>0)}if(k){break a}v[a+59268>>2]=-1082130432;k=0;break a}c=c|w[d+13|0]<<8}z[n+59272>>2]=(c&65535)>>>0;u[d+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;e=w[d+12|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+13|0]|e<<8}else{e=e|w[d+13|0]<<8}z[c+59280>>2]=(e&65535)>>>0;u[d+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;e=w[d+12|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+13|0]|e<<8}else{e=e|w[d+13|0]<<8}z[c+59276>>2]=(e&65535)>>>0}Qa[v[v[a>>2]+8>>2]](v[a+4>>2],E,0)|0;if(r){continue}break}}Ma=d+16|0}function yla(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;o=Ma-16|0;Ma=o;v[o+8>>2]=d;v[o+12>>2]=c;a=v[a+4>>2];if(a){c=0;h=Ma-48|0;Ma=h;d=v[a+12>>2];v[h+8>>2]=0;v[h>>2]=0;v[h+40>>2]=0;Nu(d,b,h+8|0,h,h+40|0);q=v[h>>2];A=v[h+8>>2];bF(h+32|0,v[a+12>>2],b);sy(v[h+32>>2]);a=Ma-112|0;Ma=a;e=v[h+32>>2];f=e+8|0;a:{if(v[e+8>>2]){gf(a+104|0,e,f);break a}v[a+104>>2]=0;qb(a+104|0,0)}b=ab(12);v[b+8>>2]=0;v[b>>2]=971360;v[b+4>>2]=0;v[a+96>>2]=0;qb(a+96|0,b);lg(a+88|0);l=v[a+88>>2];m=v[f>>2];if(m){j=Ma-32|0;Ma=j;v[j+24>>2]=0;v[j+28>>2]=0;v[j+16>>2]=0;v[j+20>>2]=0;d=j+16|0;g=d;v[d>>2]=971412;v[d+4>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;b=Ma-48|0;Ma=b;n=j+8|0;lg(n);v[b+40>>2]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;s=b+16|0;B=jd(s,971432);v[b+12>>2]=0;v[b+8>>2]=0;u=b+8|0;qb(u,m);WR(u,n,d,0,b+12|0,s);d=v[b+8>>2];v[b+8>>2]=0;b:{if(!d){break b}m=v[d+4>>2]-1|0;v[d+4>>2]=m;if(m){break b}m=v[d+4>>2];if(!m){v[d+4>>2]=-32767}if(!m){Qa[v[v[d>>2]+4>>2]](d)}}d=v[n>>2];c:{if(!(Qa[v[v[d>>2]+16>>2]](d)|0)){qb(n,0);break c}Qa[v[v[d>>2]+20>>2]](d,0,0,0)|0}vd(B);Ma=b+48|0;ac(g);d=v[j+8>>2];if(d){Qa[v[v[d>>2]+20>>2]](d,0,0,0)|0;if(Qa[v[v[l>>2]+16>>2]](l)|0){Qa[v[v[l>>2]+12>>2]](l,349015,1)|0}Rg(l,v[j+8>>2]);d=v[j+8>>2]}v[j+8>>2]=0;d:{if(!d){break d}b=v[d+4>>2]-1|0;v[d+4>>2]=b;if(b){break d}b=v[d+4>>2];if(!b){v[d+4>>2]=-32767}if(!b){Qa[v[v[d>>2]+4>>2]](d)}}Ma=j+32|0}Qa[v[v[l>>2]+20>>2]](l,0,0,0)|0;if(!(Qa[v[v[l>>2]+28>>2]](l)|0)){qb(a+88|0,0)}n=h+24|0;e:{if(v[a+88>>2]){b=v[e+12>>2];j=(b|0)>0?b:0;b=v[a+104>>2];if(b){j=j-v[b+32>>2]|0}d=v[a+96>>2];b=Ma-48|0;Ma=b;v[b+40>>2]=0;v[b+44>>2]=v[279250];Ve(b+32|0,a+88|0);m=v[b+32>>2];if(Ad(m,b+40|0,0)){l=d+8|0;while(1){f:{if(!Hb(b+40|0,306565,-1)){d=v[l>>2];if(d){v[b+24>>2]=0;qb(b+24|0,m);sS(d,v[b+24>>2]);d=v[b+24>>2];v[b+24>>2]=0;if(!d){break f}g=v[d+4>>2]-1|0;v[d+4>>2]=g;if(g){break f}g=v[d+4>>2];if(!g){v[d+4>>2]=-32767}if(!g){Qa[v[v[d>>2]+4>>2]](d)}break f}d=ab(72);v[d+28>>2]=0;v[d+32>>2]=0;v[d>>2]=971196;v[d+4>>2]=0;v[d+36>>2]=0;v[d+40>>2]=0;v[d+28>>2]=970612;v[d+32>>2]=0;v[d+36>>2]=0;v[d+40>>2]=0;v[d+68>>2]=0;v[d+60>>2]=0;v[d+64>>2]=0;v[d+52>>2]=0;v[d+56>>2]=0;v[d+44>>2]=0;v[d+48>>2]=0;jd(d+44|0,971028);v[d+12>>2]=0;v[d+16>>2]=0;v[d+8>>2]=-1;v[d+20>>2]=0;v[d+24>>2]=0;v[b+24>>2]=0;g=b+24|0;qb(g,d);jb(l,g);d=v[b+24>>2];v[b+24>>2]=0;g:{if(!d){break g}g=v[d+4>>2]-1|0;v[d+4>>2]=g;if(g){break g}g=v[d+4>>2];if(!g){v[d+4>>2]=-32767}if(!g){Qa[v[v[d>>2]+4>>2]](d)}}d=v[l>>2];v[b+24>>2]=0;qb(b+24|0,m);tS(d,v[b+24>>2]);d=v[b+24>>2];v[b+24>>2]=0;if(!d){break f}g=v[d+4>>2]-1|0;v[d+4>>2]=g;if(g){break f}g=v[d+4>>2];if(!g){v[d+4>>2]=-32767}if(!g){Qa[v[v[d>>2]+4>>2]](d)}break f}if(Hb(b+40|0,217592,-1)){break f}v[b+16>>2]=0;d=b+16|0;qb(d,v[b+32>>2]);Vu(b+24|0,d);d=v[b+16>>2];v[b+16>>2]=0;h:{if(!d){break h}g=v[d+4>>2]-1|0;v[d+4>>2]=g;if(g){break h}g=v[d+4>>2];if(!g){v[d+4>>2]=-32767}if(!g){Qa[v[v[d>>2]+4>>2]](d)}}d=v[l>>2];i:{if(d){sS(d,v[b+24>>2]);break i}d=ab(72);v[d+28>>2]=0;v[d+32>>2]=0;v[d>>2]=971196;v[d+4>>2]=0;v[d+36>>2]=0;v[d+40>>2]=0;v[d+28>>2]=970612;v[d+32>>2]=0;v[d+36>>2]=0;v[d+40>>2]=0;v[d+68>>2]=0;v[d+60>>2]=0;v[d+64>>2]=0;v[d+52>>2]=0;v[d+56>>2]=0;v[d+44>>2]=0;v[d+48>>2]=0;jd(d+44|0,971028);v[d+12>>2]=0;v[d+16>>2]=0;v[d+8>>2]=-1;v[d+20>>2]=0;v[d+24>>2]=0;v[b+8>>2]=0;g=b+8|0;qb(g,d);jb(l,g);d=v[b+8>>2];v[b+8>>2]=0;j:{if(!d){break j}g=v[d+4>>2]-1|0;v[d+4>>2]=g;if(g){break j}g=v[d+4>>2];if(!g){v[d+4>>2]=-32767}if(!g){Qa[v[v[d>>2]+4>>2]](d)}}tS(v[l>>2],v[b+24>>2])}d=v[b+24>>2];v[b+24>>2]=0;if(!d){break f}g=v[d+4>>2]-1|0;v[d+4>>2]=g;if(g){break f}g=v[d+4>>2];if(!g){v[d+4>>2]=-32767}if(!g){Qa[v[v[d>>2]+4>>2]](d)}}Od(m);if(Ad(m,b+40|0,0)){continue}break}}d=v[b+32>>2];v[b+32>>2]=0;k:{if(!d){break k}l=v[d+4>>2]-1|0;v[d+4>>2]=l;if(l){break k}l=v[d+4>>2];if(!l){v[d+4>>2]=-32767}if(!l){Qa[v[v[d>>2]+4>>2]](d)}}db(b+40|0);Ma=b+48|0;l:{if(!(j&3)){break l}v[a+80>>2]=0;v[a+84>>2]=0;v[a+72>>2]=0;v[a+76>>2]=0;b=a- -64|0;v[b>>2]=0;v[b+4>>2]=0;v[a+56>>2]=0;v[a+60>>2]=0;m:{if(v[f>>2]){gf(a,e,f);break m}v[a>>2]=0;qb(a,0)}b=v[a>>2];n:{if(!b){break n}i=v[b+(v[e+12>>2]&1?12:8)>>2];v[a>>2]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break n}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}o:{if(v[f>>2]){gf(a,e,f);break o}v[a>>2]=0;qb(a,0)}b=v[a>>2];p:{if(!b){break p}C=v[b+(v[e+12>>2]&1?8:12)>>2];v[a>>2]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break p}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}v[a+84>>2]=C;v[a+80>>2]=i;v[a+72>>2]=0;v[a+76>>2]=0;q:{if(j&1){r:{if(v[f>>2]){gf(a,e,f);break r}v[a>>2]=0;qb(a,0)}b=v[a>>2];s:{if(!b){i=0;break s}i=v[b+(v[e+12>>2]&1?8:12)>>2];v[a>>2]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break s}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}t:{if(v[f>>2]){gf(a,e,f);break t}v[a>>2]=0;qb(a,0)}d=0;b=v[a>>2];u:{if(!b){break u}d=v[b+(v[e+12>>2]&1?12:8)>>2];v[a>>2]=0;e=v[b+4>>2]-1|0;v[b+4>>2]=e;if(e){break u}e=v[b+4>>2];if(!e){v[b+4>>2]=-32767}if(!e){Qa[v[v[b>>2]+4>>2]](b)}}break q}v:{if(v[f>>2]){gf(a,e,f);break v}v[a>>2]=0;qb(a,0)}b=v[a>>2];w:{if(!b){i=0;break w}i=v[b+(v[e+12>>2]&1?12:8)>>2];v[a>>2]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break w}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}x:{if(v[f>>2]){gf(a,e,f);break x}v[a>>2]=0;qb(a,0)}d=0;b=v[a>>2];y:{if(!b){break y}d=v[b+(v[e+12>>2]&1?8:12)>>2];v[a>>2]=0;e=v[b+4>>2]-1|0;v[b+4>>2]=e;if(e){break y}e=v[b+4>>2];if(!e){v[b+4>>2]=-32767}if(!e){Qa[v[v[b>>2]+4>>2]](b)}}}v[a+56>>2]=0;v[a+68>>2]=d;v[a+64>>2]=i;v[a+60>>2]=0;b=zE(a);v[b+32>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=1;v[b+12>>2]=1;v[b>>2]=0;v[b+4>>2]=0;v[b+24>>2]=1;v[b+28>>2]=1;d=Ma-32|0;Ma=d;z:{if(!(v[a+72>>2]>=v[a+80>>2]|v[a+76>>2]>=v[a+84>>2])){e=v[a+76>>2];v[b>>2]=v[a+72>>2];v[b+4>>2]=e;e=v[a+84>>2];v[b+8>>2]=v[a+80>>2];v[b+12>>2]=e;if(w[b+32|0]&4){D=b,E=D3a(v[b>>2],v[b+4>>2],32),v[D>>2]=E;v[b+4>>2]=Pa;D=b,E=D3a(v[b+8>>2],v[b+12>>2],32),v[D+8>>2]=E;v[b+12>>2]=Pa}v[b+36>>2]=0;v[b+40>>2]=1;v[b+44>>2]=0;v[b+48>>2]=1;Ma=d+32|0;break z}lb(mb(d+8|0,320707,240910,334,333880));L()}d=Ma-32|0;Ma=d;if(!(v[a+56>>2]>2]&v[a+60>>2]>2])){lb(mb(d+8|0,319206,240910,348,333836));L()}e=v[a+60>>2];v[b+16>>2]=v[a+56>>2];v[b+20>>2]=e;e=v[a+68>>2];v[b+24>>2]=v[a+64>>2];v[b+28>>2]=e;v[b+44>>2]=0;v[b+48>>2]=1;v[b+36>>2]=0;v[b+40>>2]=1;Ma=d+32|0;yE(b,0-j|0);d=v[v[v[a+96>>2]+8>>2]+36>>2];if(!d){break l}while(1){e=v[d+8>>2];Qa[v[v[e>>2]+32>>2]](e,b);d=v[d>>2];if(d){continue}break}}b=v[a+96>>2];if(!b){v[n>>2]=0;break e}v[b+4>>2]=v[b+4>>2]+1;v[n>>2]=v[a+96>>2];break e}v[n>>2]=0;qb(n,0)}b=v[a+88>>2];v[a+88>>2]=0;A:{if(!b){break A}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break A}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}b=v[a+96>>2];v[a+96>>2]=0;B:{if(!b){break B}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break B}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}b=v[a+104>>2];v[a+104>>2]=0;C:{if(!b){break C}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break C}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}Ma=a+112|0;a=v[h+24>>2];D:{if(!a){break D}d=1e3;l=Lf(h+8|0,v[a+8>>2]+28|0);c=gb(1e3);v[c>>2]=0;i=4;j=v[h+16>>2];if(j){x=+v[o+8>>2]/+(q|0);y=+v[o+12>>2]/+(A|0);a=c;while(1){b=v[j+8>>2];v[h>>2]=0;v[h+4>>2]=v[279250];b=v[b+8>>2];E:{if(b){Qa[v[v[b>>2]+28>>2]](h+40|0,b,1);break E}v[h+40>>2]=0}jb(h,h+40|0);b=v[h+40>>2];v[h+40>>2]=0;F:{if(!b){break F}e=v[b+4>>2]-1|0;v[b+4>>2]=e;if(e){break F}e=v[b+4>>2];if(!e){v[b+4>>2]=-32767}if(!e){Qa[v[v[b>>2]+4>>2]](b)}}b=v[h>>2];v[h+4>>2]=v[(b?b+12|0:1117e3)>>2];f=cm(h,-1);b=v[h>>2];if(b){b=v[b+8>>2]}else{b=0}e=b+4|0;G:{if(!a){i=0;d=e>>>0>1e3?e:1e3;a=gb(d);c=a;break G}n=e+i|0;c=c+4|0;if(n>>>0<=d>>>0){break G}while(1){d=d<<1;if(n>>>0>d>>>0){continue}break}c=Wd(a,d);if(c){a=c;c=a+i|0;break G}c=cb(gb(d),a,i);$a(a);a=c;c=a+i|0}t[c|0]=b;t[c+1|0]=b>>>8;t[c+2|0]=b>>>16;t[c+3|0]=b>>>24;n=cb(c+4|0,f,b);c=v[j+8>>2];if(!w[c+88|0]){D=c,E=Qa[v[v[c>>2]+36>>2]](c)|0,v[D+72>>2]=E;D=c,E=Qa[v[v[c>>2]+44>>2]](c)|0,v[D+76>>2]=E;D=c,E=Qa[v[v[c>>2]+40>>2]](c)|0,v[D+80>>2]=E;f=Qa[v[v[c>>2]+48>>2]](c)|0;t[c+88|0]=1;v[c+84>>2]=f}f=v[c+72>>2];m=v[o+8>>2];c=v[j+8>>2];if(!w[c+88|0]){D=c,E=Qa[v[v[c>>2]+36>>2]](c)|0,v[D+72>>2]=E;D=c,E=Qa[v[v[c>>2]+44>>2]](c)|0,v[D+76>>2]=E;D=c,E=Qa[v[v[c>>2]+40>>2]](c)|0,v[D+80>>2]=E;q=Qa[v[v[c>>2]+48>>2]](c)|0;t[c+88|0]=1;v[c+84>>2]=q}p=x*+v[c+80>>2];r=+(m|0);z=y*+(f|0);k=z*100;H:{if(k<4294967296&k>=0){c=~~k>>>0;break H}c=0}p=r-p;I:{J:{K:{L:{if(!a){f=0;d=1e3;b=gb(1e3);a=b;break L}f=e+i|0;i=f+4|0;if(i>>>0<=d>>>0){b=b+n|0;t[b|0]=c;t[b+1|0]=c>>>8;t[b+2|0]=c>>>16;t[b+3|0]=c>>>24;e=b+4|0;k=p*100;if(!(k<4294967296&k>=0)){break K}c=~~k>>>0;break J}while(1){d=d<<1;if(i>>>0>d>>>0){continue}break}b=Wd(a,d);if(b){a=b+f|0;t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;e=a+4|0;k=p*100;if(k<4294967296&k>=0){c=~~k>>>0;a=b;break J}c=0;a=b;break J}b=gb(d);e=cb(b,a,f);$a(a);a=e+f|0}t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;k=p*100;M:{if(k<4294967296&k>=0){c=~~k>>>0;break M}c=0}if(b){i=f+4|0;e=a+4|0;a=b;break J}i=0;d=1e3;b=gb(1e3);e=b;break I}c=0}b=f+8|0;if(b>>>0<=d>>>0){b=a;break I}while(1){d=d<<1;if(b>>>0>d>>>0){continue}break}b=Wd(a,d);if(!b){b=gb(d);cb(b,a,i);$a(a)}e=b+i|0}t[e|0]=c;t[e+1|0]=c>>>8;t[e+2|0]=c>>>16;t[e+3|0]=c>>>24;a=v[j+8>>2];if(!w[a+88|0]){D=a,E=Qa[v[v[a>>2]+36>>2]](a)|0,v[D+72>>2]=E;D=a,E=Qa[v[v[a>>2]+44>>2]](a)|0,v[D+76>>2]=E;D=a,E=Qa[v[v[a>>2]+40>>2]](a)|0,v[D+80>>2]=E;c=Qa[v[v[a>>2]+48>>2]](a)|0;t[a+88|0]=1;v[a+84>>2]=c}k=(y*+v[a+76>>2]-z)*100;N:{if(k<4294967296&k>=0){c=~~k>>>0;break N}c=0}O:{if(!b){a=0;d=1e3;b=gb(1e3);e=b;break O}a=i+4|0;f=i+8|0;e=e+4|0;if(f>>>0<=d>>>0){break O}while(1){d=d<<1;if(f>>>0>d>>>0){continue}break}e=Wd(b,d);if(e){b=e;e=b+a|0;break O}e=cb(gb(d),b,a);$a(b);b=e;e=b+a|0}t[e|0]=c;t[e+1|0]=c>>>8;t[e+2|0]=c>>>16;t[e+3|0]=c>>>24;r=+v[o+8>>2];k=x;f=v[j+8>>2];P:{if(w[f+88|0]){c=v[f+84>>2];break P}D=f,E=Qa[v[v[f>>2]+36>>2]](f)|0,v[D+72>>2]=E;D=f,E=Qa[v[v[f>>2]+44>>2]](f)|0,v[D+76>>2]=E;D=f,E=Qa[v[v[f>>2]+40>>2]](f)|0,v[D+80>>2]=E;c=Qa[v[v[f>>2]+48>>2]](f)|0;t[f+88|0]=1;v[f+84>>2]=c}k=(r-k*+(c|0)-p)*100;Q:{if(k<4294967296&k>=0){f=~~k>>>0;break Q}f=0}R:{if(!b){i=0;d=1e3;a=gb(1e3);c=a;break R}i=a+4|0;a=a+8|0;if(a>>>0<=d>>>0){a=b;c=e+4|0;break R}while(1){d=d<<1;if(a>>>0>d>>>0){continue}break}a=Wd(b,d);if(!a){a=gb(d);cb(a,b,i);$a(b)}c=a+i|0}t[c|0]=f;t[c+1|0]=f>>>8;t[c+2|0]=f>>>16;t[c+3|0]=f>>>24;i=i+4|0;db(h);j=v[j>>2];if(j){continue}break}c=a}t[c|0]=i;t[c+1|0]=i>>>8;t[c+2|0]=i>>>16;t[c+3|0]=i>>>24;ac(l);a=v[h+24>>2];v[h+24>>2]=0;if(!a){break D}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break D}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}a=v[h+32>>2];v[h+32>>2]=0;S:{if(!a){break S}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break S}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=h+48|0}else{c=0}Ma=o+16|0;return c|0}function Xsa(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,p=0;c=Ma-240|0;Ma=c;v[c+224>>2]=13;v[c+208>>2]=13;v[c+192>>2]=13;v[c+176>>2]=13;v[c+160>>2]=13;v[c+144>>2]=13;v[c+128>>2]=13;v[c+112>>2]=13;v[c+96>>2]=13;e=v[b+8>>2];f=v[a+20>>2];a:{b:{while(1){if(v[f+72>>2]==7){if(v[ib(v[f+80>>2],e,c+224|0,0)>>2]!=5){break b}bb(c+224|0)}f=v[f+104>>2];if(f){continue}break}v[c>>2]=e;fb(1,-1,244390,c);break a}if(v[c+224>>2]!=7){f=-1;a=v[a+108>>2];c:{if(!a){break c}a=v[a+4>>2];if(v[a+8>>2]==13){break c}a=v[a+16>>2];f=Qa[v[v[a>>2]+52>>2]](a)|0}v[c+48>>2]=v[b+8>>2];fb(1,f,279041,c+48|0);bb(c+224|0);break a}if(v[a+16>>2]){yp(337235,0);jm(c+224|0,v[249421]);bo(10)}if(v[ib(v[c+232>>2],308702,c+208|0,0)>>2]-1>>>0<=1){f=v[a+28>>2];A[f+440>>3]=v[c+208>>2]==1?+v[c+216>>2]:A[c+216>>3];b=v[a+8>>2];Qa[v[v[b>>2]+100>>2]](b,f)}b=c+208|0;bb(b);if(v[ib(v[c+232>>2],312747,b,0)>>2]==1){f=v[a+28>>2];b=v[c+216>>2];v[f+476>>2]=b>>>0>2?0:b;b=v[a+8>>2];Qa[v[v[b>>2]+92>>2]](b,f)}b=c+208|0;bb(b);if(v[ib(v[c+232>>2],311236,b,0)>>2]==1){f=v[a+28>>2];b=v[c+216>>2];v[f+472>>2]=b>>>0>2?0:b;b=v[a+8>>2];Qa[v[v[b>>2]+88>>2]](b,f)}b=c+208|0;bb(b);if(v[ib(v[c+232>>2],311037,b,0)>>2]-1>>>0<=1){f=v[a+28>>2];A[f+480>>3]=v[c+208>>2]==1?+v[c+216>>2]:A[c+216>>3];b=v[a+8>>2];Qa[v[v[b>>2]+96>>2]](b,f)}b=c+208|0;bb(b);d:{if(v[ib(v[c+232>>2],312444,b,0)>>2]!=6){break d}f=v[c+216>>2];if(v[f+12>>2]!=2){break d}ub(f,0,c+96|0,0);f=c+112|0;ub(v[c+216>>2],1,f,0);if(!(v[c+96>>2]!=6|v[c+112>>2]-1>>>0>1)){GV(a,c+96|0,f)}bb(c+96|0);bb(f)}b=c+208|0;bb(b);if(v[ib(v[c+232>>2],311158,b,0)>>2]-1>>>0<=1){e=v[a+28>>2];b=e;i=v[c+208>>2]==1?+v[c+216>>2]:A[c+216>>3];e:{if(D(i)<2147483648){g=~~i;break e}g=-2147483648}A[b+464>>3]=g|0;f=v[a+8>>2];Qa[v[v[f>>2]+84>>2]](f,e)}b=c+208|0;bb(b);if(v[ib(v[c+232>>2],311353,b,0)>>2]==4){PG(a,c+208|0,f)}b=c+208|0;bb(b);f:{if(v[ib(v[c+232>>2],228438,b,0)>>2]!=6){break f}b=v[c+216>>2];if(v[b+12>>2]!=2){break f}Nf(b,0,c+192|0);Nf(v[c+216>>2],1,c+160|0);g:{if(v[c+192>>2]!=9|v[c+160>>2]-1>>>0>1){break g}b=v[c+204>>2];k=b;g=b;f=v[a+20>>2];d=v[c+200>>2];h=d;h:{while(1){b=v[f+4>>2];if(b){v[c+40>>2]=d;v[c+44>>2]=k;v[c+64>>2]=d;v[c+68>>2]=k;b=v[b+4>>2];l=v[b+8>>2];i:{if((l|0)>=1){j=v[c+44>>2];m=v[c+40>>2];n=v[b>>2];b=0;while(1){e=v[n+(b<<2)>>2];if((m|0)==v[e+8>>2]&(j|0)==v[e+12>>2]){break i}b=b+1|0;if((l|0)!=(b|0)){continue}break}}e=0}b=e;if(b){break h}}f=v[f+104>>2];if(f){continue}break}v[c+36>>2]=g;v[c+32>>2]=h;fb(1,-1,217453,c+32|0);b=0}if(!b){b=v[a+28>>2];v[b+496>>2]=0;v[b+500>>2]=0;v[b+492>>2]=0;break g}i=v[c+160>>2]==1?+v[c+168>>2]:A[c+168>>3];if(v[a+16>>2]){d=v[v[b+4>>2]+4>>2];e=v[b+16>>2];if(e){e=v[e+4>>2]}else{e=313241}A[c+24>>3]=i;v[c+20>>2]=e;v[c+16>>2]=d;mx(342378,c+16|0);$i(v[249421])}e=v[a+28>>2];A[e+496>>3]=i;v[e+492>>2]=b;v[a+32>>2]=1}bb(c+192|0);bb(c+160|0)}b=c+208|0;bb(b);j:{if(v[ib(v[c+232>>2],310951,b,0)>>2]==5){break j}e=0;f=Ma-16|0;Ma=f;v[f>>2]=13;b=0;k:{l:{m:{n:{switch(v[c+208>>2]-4|0){case 2:b=v[c+216>>2];if(v[b+12>>2]>0){while(1){ub(b,e,f,0);o:{if(v[f>>2]==4){b=v[f+8>>2];if(!hb(b,261023)){b=0;break m}if(!hb(b,282191)){b=1;break m}if(!hb(b,219503)){b=2;break m}if(!hb(b,249364)){b=3;break m}if(!hb(b,220226)){b=4;break m}if(!hb(b,249313)){b=5;break m}if(!hb(b,248162)){b=6;break m}if(!hb(b,282958)){b=7;break m}if(!hb(b,244622)){b=8;break m}if(!hb(b,232187)){b=9;break m}if(!hb(b,232177)){b=10;break m}if(!hb(b,284395)){b=11;break m}if(!hb(b,247451)){b=12;break m}if(!hb(b,275317)){b=13;break m}if(!hb(b,247144)){b=14;break m}if(!hb(b,238245)){b=15;break m}if(hb(b,217763)){break o}b=16;break m}bb(f);b=0;break k}bb(f);e=e+1|0;b=v[c+216>>2];if((e|0)>2]){continue}break}}v[c+92>>2]=0;break l;case 0:break n;default:break k}}e=c;h=v[c+216>>2];g=0;p:{if(!hb(h,261023)){break p}g=1;if(!hb(h,282191)){break p}g=2;if(!hb(h,219503)){break p}g=3;if(!hb(h,249364)){break p}g=4;if(!hb(h,220226)){break p}g=5;if(!hb(h,249313)){break p}g=6;if(!hb(h,248162)){break p}g=7;if(!hb(h,282958)){break p}g=8;if(!hb(h,244622)){break p}g=9;if(!hb(h,232187)){break p}g=10;if(!hb(h,232177)){break p}g=11;if(!hb(h,284395)){break p}g=12;if(!hb(h,247451)){break p}g=13;if(!hb(h,275317)){break p}g=14;if(!hb(h,247144)){break p}g=15;if(!hb(h,238245)){break p}if(hb(h,217763)){break k}g=16}v[e+92>>2]=v[(g<<3)+888212>>2];break l}bb(f);v[c+92>>2]=v[(b<<3)+888212>>2]}b=1}Ma=f+16|0;if(b){b=v[a+28>>2];v[b+388>>2]=v[c+92>>2];e=v[a+8>>2];Qa[v[v[e>>2]+124>>2]](e,b);break j}f=-1;b=v[a+108>>2];q:{if(!b){break q}b=v[b+4>>2];if(v[b+8>>2]==13){break q}b=v[b+16>>2];f=Qa[v[v[b>>2]+52>>2]](b)|0}fb(1,f,276615,0)}b=c+208|0;bb(b);if(v[ib(v[c+232>>2],306557,b,0)>>2]-1>>>0<=1){b=v[a+28>>2];i=v[c+208>>2]==1?+v[c+216>>2]:A[c+216>>3];A[b+392>>3]=i<0?0:F(i,1);e=v[a+8>>2];Qa[v[v[e>>2]+128>>2]](e,b)}b=c+208|0;bb(b);if(v[ib(v[c+232>>2],313174,b,0)>>2]-1>>>0<=1){b=v[a+28>>2];i=v[c+208>>2]==1?+v[c+216>>2]:A[c+216>>3];A[b+400>>3]=i<0?0:F(i,1);e=v[a+8>>2];Qa[v[v[e>>2]+132>>2]](e,b)}b=c+208|0;bb(b);e=v[ib(v[c+232>>2],242353,b,0)>>2];r:{if(e){break r}b=v[a+28>>2];if(!v[b+664>>2]){v[b+408>>2]=v[c+216>>2];d=v[a+8>>2];Qa[v[v[d>>2]+136>>2]](d,b);break r}b=-1;d=v[a+108>>2];s:{if(!d){break s}d=v[d+4>>2];if(v[d+8>>2]==13){break s}b=v[d+16>>2];b=Qa[v[v[b>>2]+52>>2]](b)|0}fb(0,b,244969,0)}b=c+208|0;bb(b);t:{if(v[ib(v[c+232>>2],310546,b,0)>>2]){break t}b=v[a+28>>2];if(!v[b+664>>2]){v[b+412>>2]=v[c+216>>2];d=v[a+8>>2];Qa[v[v[d>>2]+140>>2]](d,b);if(!e){break t}b=v[a+28>>2];v[b+408>>2]=v[c+216>>2];e=v[a+8>>2];Qa[v[v[e>>2]+136>>2]](e,b);break t}f=-1;b=v[a+108>>2];u:{if(!b){break u}b=v[b+4>>2];if(v[b+8>>2]==13){break u}b=v[b+16>>2];f=Qa[v[v[b>>2]+52>>2]](b)|0}fb(0,f,244969,0)}b=c+208|0;bb(b);v:{if(v[ib(v[c+232>>2],310930,b,0)>>2]!=1){break v}b=v[a+28>>2];if(!v[b+664>>2]){v[b+416>>2]=v[c+216>>2];e=v[a+8>>2];Qa[v[v[e>>2]+144>>2]](e,b);break v}f=-1;b=v[a+108>>2];w:{if(!b){break w}b=v[b+4>>2];if(v[b+8>>2]==13){break w}b=v[b+16>>2];f=Qa[v[v[b>>2]+52>>2]](b)|0}fb(0,f,244969,0)}b=c+208|0;bb(b);if(!v[ib(v[c+232>>2],313164,b,0)>>2]){b=v[a+28>>2];v[b+488>>2]=v[c+216>>2];e=v[a+8>>2];Qa[v[v[e>>2]+104>>2]](e,b)}b=c+208|0;bb(b);if(v[ib(v[c+232>>2],320022,b,0)>>2]==5){b=c+208|0;bb(b);ib(v[c+232>>2],310340,b,0)}b=v[c+208>>2];x:{if((b|0)==5){break x}e=v[a+28>>2];if(!v[e+664>>2]){y:{z:{A:{switch(b-4|0){case 0:b=v[c+216>>2];if(hb(b,231481)){if(hb(b,217754)){break z}}v[c+72>>2]=0;v[c+76>>2]=0;v[c+64>>2]=0;v[c+68>>2]=0;CG(e,c- -64|0);b=v[a+8>>2];Qa[v[v[b>>2]+152>>2]](b,v[a+28>>2]);break x;case 3:case 4:break z;case 2:break A;default:break y}}b=v[c+216>>2];if(v[b+12>>2]!=4){break y}e=b;b=c+192|0;ub(e,0,b,0);o=c,p=gg(b,1,1,0),v[o+64>>2]=p;bb(b);if(!v[c+64>>2]){break x}b=c+192|0;ub(v[c+216>>2],1,b,0);o=c,p=gg(b,1,1,0),v[o+68>>2]=p;bb(b);if(!v[c+68>>2]){break x}b=c+192|0;ub(v[c+216>>2],2,b,0);o=c,p=gg(b,1,1,0),v[o+72>>2]=p;bb(b);if(!v[c+72>>2]){break x}b=c+192|0;ub(v[c+216>>2],3,b,0);o=c,p=gg(b,1,1,0),v[o+76>>2]=p;bb(b);if(!v[c+76>>2]){break x}CG(v[a+28>>2],c- -64|0);b=v[a+8>>2];Qa[v[v[b>>2]+152>>2]](b,v[a+28>>2]);break x}b=gg(c+208|0,1,1,0);v[c+64>>2]=b;if(!b){break x}v[c+76>>2]=0;v[c+68>>2]=0;v[c+72>>2]=0;CG(v[a+28>>2],c- -64|0);b=v[a+8>>2];Qa[v[v[b>>2]+152>>2]](b,v[a+28>>2]);break x}f=-1;b=v[a+108>>2];B:{if(!b){break B}b=v[b+4>>2];if(v[b+8>>2]==13){break B}b=v[b+16>>2];f=Qa[v[v[b>>2]+52>>2]](b)|0}fb(1,f,276493,0);break x}f=-1;b=v[a+108>>2];C:{if(!b){break C}b=v[b+4>>2];if(v[b+8>>2]==13){break C}b=v[b+16>>2];f=Qa[v[v[b>>2]+52>>2]](b)|0}fb(0,f,245182,0)}b=c+208|0;bb(b);D:{if(v[ib(v[c+232>>2],261664,b,0)>>2]==5){break D}E:{F:{switch(v[c+208>>2]-4|0){case 0:if(hb(v[c+216>>2],279480)){break E}b=v[a+8>>2];Qa[v[v[b>>2]+332>>2]](b,v[a+28>>2]);break D;case 1:break D;case 3:break F;default:break E}}ib(v[c+216>>2],310327,c+192|0,0);G:{H:{if(v[c+192>>2]!=4){break H}e=v[c+200>>2];b=1;if(!hb(e,306473)){break G}if(hb(e,217763)){break H}b=0;break G}f=-1;b=v[a+108>>2];I:{if(!b){break I}b=v[b+4>>2];if(v[b+8>>2]==13){break I}b=v[b+16>>2];f=Qa[v[v[b>>2]+52>>2]](b)|0}fb(1,f,261615,0);b=0}e=c+192|0;bb(e);v[c+64>>2]=0;J:{if(v[ib(v[c+216>>2],310340,e,0)>>2]==5){break J}K:{if(v[c+192>>2]!=4){break K}e=v[c+200>>2];if(hb(e,231481)){if(hb(e,217754)){break K}}v[c+64>>2]=0;break J}e=gg(c+192|0,1,1,0);v[c+64>>2]=e;if(e){break J}f=-1;e=v[a+108>>2];L:{if(!e){break L}e=v[e+4>>2];if(v[e+8>>2]==13){break L}e=v[e+16>>2];f=Qa[v[v[e>>2]+52>>2]](e)|0}fb(1,f,276532,0);e=v[c+64>>2];if(e){Qa[v[v[e>>2]+4>>2]](e)}v[c+64>>2]=0}e=c+192|0;bb(e);ib(v[c+216>>2],312768,c+128|0,0);M:{if(v[ib(v[c+216>>2],311629,e,0)>>2]==8){e=v[c+200>>2];N:{if(v[ib(Qa[v[v[e>>2]+76>>2]](e)|0,240508,c+160|0,0)>>2]==7){e=c+144|0;d=v[ib(v[c+168>>2],311231,e,0)>>2];f=v[c+152>>2];bb(e);h=c+176|0;Yd(v[c+216>>2],311629,h);k=d?0:f;g=v[c+64>>2];l=c+128|0;d=Ma-112|0;Ma=d;v[d+16>>2]=13;v[d>>2]=13;O:{if(v[a+96>>2]>20){break O}e=v[c+200>>2];e=Qa[v[v[e>>2]+76>>2]](e)|0;ib(e,279248,d+16|0,0);f=v[d+16>>2];if(!((f|0)==5|(f|0)==1&v[d+24>>2]==1)){f=-1;j=v[a+108>>2];P:{if(!j){break P}j=v[j+4>>2];if(v[j+8>>2]==13){break P}f=v[j+16>>2];f=Qa[v[v[f>>2]+52>>2]](f)|0}fb(1,f,278578,0)}f=d+16|0;bb(f);ib(e,220495,f,0);Q:{R:{if(v[d+16>>2]==6){ub(v[d+24>>2],0,d,0);A[d+32>>3]=v[d>>2]==1?+v[d+8>>2]:A[d+8>>3];bb(d);ub(v[d+24>>2],1,d,0);A[d+40>>3]=v[d>>2]==1?+v[d+8>>2]:A[d+8>>3];bb(d);ub(v[d+24>>2],2,d,0);A[d+48>>3]=v[d>>2]==1?+v[d+8>>2]:A[d+8>>3];bb(d);ub(v[d+24>>2],3,d,0);A[d+56>>3]=v[d>>2]==1?+v[d+8>>2]:A[d+8>>3];bb(d);f=d+16|0;bb(f);ib(e,220530,f,0);if(v[d+16>>2]!=6){break R}ub(v[d+24>>2],0,d,0);A[d+64>>3]=v[d>>2]==1?+v[d+8>>2]:A[d+8>>3];bb(d);ub(v[d+24>>2],1,d,0);A[d+72>>3]=v[d>>2]==1?+v[d+8>>2]:A[d+8>>3];bb(d);ub(v[d+24>>2],2,d,0);A[d+80>>3]=v[d>>2]==1?+v[d+8>>2]:A[d+8>>3];bb(d);ub(v[d+24>>2],3,d,0);A[d+88>>3]=v[d>>2]==1?+v[d+8>>2]:A[d+8>>3];bb(d);ub(v[d+24>>2],4,d,0);A[d+96>>3]=v[d>>2]==1?+v[d+8>>2]:A[d+8>>3];bb(d);ub(v[d+24>>2],5,d,0);A[d+104>>3]=v[d>>2]==1?+v[d+8>>2]:A[d+8>>3];bb(d);break Q}bb(d+16|0);e=-1;a=v[a+108>>2];S:{if(!a){break S}a=v[a+4>>2];if(v[a+8>>2]==13){break S}a=v[a+16>>2];e=Qa[v[v[a>>2]+52>>2]](a)|0}fb(1,e,220428,0);break O}v[d+80>>2]=0;v[d+84>>2]=0;v[d+104>>2]=0;v[d+108>>2]=0;v[d+72>>2]=0;v[d+76>>2]=0;v[d+64>>2]=0;v[d+68>>2]=1072693248;v[d+96>>2]=0;v[d+100>>2]=0;v[d+88>>2]=0;v[d+92>>2]=1072693248}f=d+16|0;bb(f);ib(e,236775,f,0);e=v[d+24>>2];j=v[d+16>>2];v[a+96>>2]=v[a+96>>2]+1;pz(a,h,(j|0)==7?e:0,d- -64|0,d+32|0,1,1,1,k,b,g,l);v[a+96>>2]=v[a+96>>2]-1;bb(f)}Ma=d+112|0;bb(h);a=v[c+64>>2];if(!a){break N}Qa[v[v[a>>2]+4>>2]](a);break N}f=-1;a=v[a+108>>2];T:{if(!a){break T}a=v[a+4>>2];if(v[a+8>>2]==13){break T}a=v[a+16>>2];f=Qa[v[v[a>>2]+52>>2]](a)|0}fb(1,f,240443,0)}bb(c+160|0);break M}f=-1;a=v[a+108>>2];U:{if(!a){break U}a=v[a+4>>2];if(v[a+8>>2]==13){break U}a=v[a+16>>2];f=Qa[v[v[a>>2]+52>>2]](a)|0}fb(1,f,240443,0)}bb(c+192|0);bb(c+128|0);break D}f=-1;a=v[a+108>>2];V:{if(!a){break V}a=v[a+4>>2];if(v[a+8>>2]==13){break V}a=v[a+16>>2];f=Qa[v[v[a>>2]+52>>2]](a)|0}fb(1,f,276584,0)}bb(c+208|0);bb(c+224|0)}Ma=c+240|0}function PM(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=Ma-32|0;Ma=f;g=v[a+584>>2];b=v[g+168>>2];if(!b){b=Qa[v[a+648>>2]](v[a+628>>2])|0;v[g+168>>2]=b}c=v[g+196>>2];a:{if(!c){break a}if(b>>>0<=c>>>0){v[g+196>>2]=0;v[g+200>>2]=0;break a}d=v[g+200>>2];if(c+d>>>0<=b>>>0?d:0){break a}v[g+200>>2]=b-c}v[g+1124>>2]=0;v[g+1128>>2]=0;b=v[a+180>>2];v[g+1144>>2]=0;u[g+1148>>1]=0;v[g+1132>>2]=b;b=0;b:{c:{while(1){d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{if(!(b&65535)){if(!oj(g)){c=0;break f}b=x[g+1148>>1];if(!b){break t}}c=v[g+1152>>2];if(w[c|0]!=255){break q}b=b-1|0;u[g+1148>>1]=b;c=c+1|0;v[g+1152>>2]=c;u:{v:{w:{x:{y:{while(1){if(!(b&65535)){if(!oj(g)){c=0;break f}b=x[g+1148>>1];if(!b){break u}c=v[g+1152>>2]}i=w[c|0];b=b-1|0;u[g+1148>>1]=b;c=c+1|0;v[g+1152>>2]=c;z:{switch(i-192|0){case 26:break r;case 0:case 1:case 3:break v;case 4:break w;case 27:break x;case 29:break y;case 63:continue;case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 62:break z;case 24:break e;default:break s}}break}c=0;if(!Rm(g,f+10|0)){break f}b=x[f+10>>1];if(b>>>0<=1){if(w[g+205|0]){break f}wb(v[a+628>>2],87024,40373,0);break f}if((b|0)==2){break e}c=x[g+1148>>1];d=b-2|0;b=c>>>0<(d&65535)>>>0?c:d;c=c-b|0;u[g+1148>>1]=c;v[g+1152>>2]=v[g+1152>>2]+(b&65535);d=d-b|0;e=d&65535;if(!e){break e}if(c&65535){break b}t[g+1140|0]=0;b=v[g+1144>>2];c=(b>>>0>>0?b:d)&65535;v[g+1144>>2]=b-c;v[g+1136>>2]=c+v[g+1136>>2];break e}A:{b=v[a+584>>2];if(!Rm(b,f+16|0)){break A}if(x[f+16>>1]!=4){wb(v[a+628>>2],87120,48113,0);c=0;break f}if(!Rm(b,f+16|0)){break A}u[b+300>>1]=x[f+16>>1];break e}c=0;break f}b=v[a+584>>2];if(!Rm(b,f+16|0)){break g}c=w[b+205|0];d=x[f+16>>1];if(d>>>0<=2){if(c){break g}j=48589;break h}i=d-2|0;if(c){d=x[b+1148>>1];c=d>>>0<(i&65535)>>>0?d:i;d=d-c|0;u[b+1148>>1]=d;v[b+1152>>2]=v[b+1152>>2]+(c&65535);e=i-c|0;i=e&65535;if(!i){break e}if(d&65535){break b}t[b+1140|0]=0;c=v[b+1144>>2];d=(c>>>0>>0?c:e)&65535;v[b+1144>>2]=c-d;v[b+1136>>2]=d+v[b+1136>>2];break e}while(1){j=48589;if((i&65535)>>>0<65){break h}h=gb(73);if(!h){j=48831;break h}v[h>>2]=73;v[h+4>>2]=1124129791;c=x[b+1148>>1];e=65;d=h+8|0;while(1){if(!(c&65535)){if(!oj(b)){break g}c=x[b+1148>>1];if(!c){break c}}k=(e&65535)>>>0>(c&65535)>>>0?c:e;l=k&65535;Fd(d,v[b+1152>>2],l);v[b+1152>>2]=v[b+1152>>2]+l;c=x[b+1148>>1]-k|0;u[b+1148>>1]=c;d=d+l|0;e=e-k|0;if(e&65535){continue}break}c=w[h+8|0]&15;if(c>>>0>3){break h}c=b+(c<<2)|0;d=v[c+252>>2];if(d){$a(d)}v[c+252>>2]=h;i=i-65|0;if(i&65535){continue}break}break e}b=v[a+584>>2];if(!Rm(b,f+16|0)){break i}d=w[b+205|0];c=x[f+16>>1];if(c>>>0<=2){if(d){break i}e=49933;break j}if(d){d=x[b+1148>>1];e=c-2|0;c=d>>>0<(e&65535)>>>0?d:e;d=d-c|0;u[b+1148>>1]=d;v[b+1152>>2]=v[b+1152>>2]+(c&65535);e=e-c|0;i=e&65535;if(!i){break e}if(d&65535){break b}t[b+1140|0]=0;c=v[b+1144>>2];d=(c>>>0>>0?c:e)&65535;v[b+1144>>2]=c-d;v[b+1136>>2]=d+v[b+1136>>2];break e}d=c+6|0;i=gb(d);if(!i){e=48831;break j}t[i+7|0]=c;t[i+4|0]=255;t[i+5|0]=196;v[i>>2]=d;t[i+6|0]=c>>>8;e=c-2|0;c=x[b+1148>>1];d=i+8|0;while(1){if(!(c&65535)){if(!oj(b)){break i}c=x[b+1148>>1];if(!c){break c}}j=(e&65535)>>>0>(c&65535)>>>0?c:e;h=j&65535;Fd(d,v[b+1152>>2],h);v[b+1152>>2]=h+v[b+1152>>2];c=x[b+1148>>1]-j|0;u[b+1148>>1]=c;d=d+h|0;e=e-j|0;if(e&65535){continue}break}e=49933;B:{c=w[i+8|0];d=c&240;if(d){if((d|0)==16){break B}break j}if(c>>>0>3){break j}b=b+(c<<2)|0;c=v[b+268>>2];if(c){$a(c)}v[b+268>>2]=i;break e}c=c&15;if(c>>>0>3){break j}b=b+(c<<2)|0;c=v[b+284>>2];if(c){$a(c)}v[b+284>>2]=i;break e}b=v[a+584>>2];if(w[b+303|0]){b=40373;break k}if(!w[b+205|0]){t[b+304|0]=i}if(!Rm(b,f+16|0)){break l}c=x[f+16>>1];if(c>>>0<=10){if(w[b+205|0]){break l}b=50530;break k}c=c-8|0;e=((c&65535)>>>0)/3|0;if(c-B(e,3)&65535){if(w[b+205|0]){break l}b=50530;break k}c=w[b+205|0];if(!(c|(e|0)==w[b+192|0])){b=50860;break k}C:{d=x[b+1148>>1];if(!d){if(!oj(b)){break l}d=x[b+1148>>1];if(!d){break C}c=w[b+205|0]}j=v[b+1152>>2];h=w[j|0];t[f+15|0]=h;u[b+1148>>1]=d-1;v[b+1152>>2]=j+1;if((h|0)!=8){if(c&255){break l}b=51304;break k}D:{if(c&255){c=x[b+1148>>1];d=c>>>0<4?c:4;v[b+1152>>2]=d+v[b+1152>>2];c=c-d|0;u[b+1148>>1]=c;E:{d=4-d|0;j=d&65535;if(j){if(c&65535){break E}t[b+1140|0]=0;c=v[b+1144>>2];d=(c>>>0>>0?c:d)&65535;v[b+1144>>2]=c-d;v[b+1136>>2]=d+v[b+1136>>2]}break D}break b}if(!Rm(b,f+12|0)){break l}c=x[f+12>>1];if(!(c>>>0>=y[b+176>>2]|c>>>0>=y[b+188>>2])){b=51813;break k}v[b+312>>2]=c;if(!Rm(b,f+12|0)){break l}c=x[f+12>>1];if(!(c>>>0>=y[b+172>>2]|c>>>0>=y[b+180>>2])){b=52255;break k}v[b+308>>2]=c}if(!Zt(b,f+15|0)){break l}if((e|0)!=w[f+15|0]){break m}c=0;if(!Zt(b,f+15|0)){break l}while(1){if(!w[b+205|0]){t[(b+c|0)+316|0]=w[f+15|0]}if(!Zt(b,f+15|0)){break l}F:{G:{H:{if(w[b+205|0]){d=w[f+15|0];if(c){break H}j=d&15;t[b+209|0]=j;d=d>>>4|0;t[b+208|0]=d;if(!(1<>>0>4|(!(1<>>0>4)){break G}break F}d=w[f+15|0];t[(b+c|0)+319|0]=d;if(w[b+210|0]){break F}if(!c){if((d|0)==(w[b+209|0]|w[b+208|0]<<4)){break F}b=52674;break k}if((d|0)==17){break F}b=52674;break k}if((d|0)==17){break F}}t[b+210|0]=1}if(!Zt(b,f+15|0)){break l}I:{J:{if(w[b+205|0]){c=c+1|0;if((e|0)==(c|0)){break J}break I}t[(b+c|0)+322|0]=w[f+15|0];c=c+1|0;if((e|0)!=(c|0)){break I}t[b+303|0]=1}if(w[g+205|0]){c=1;break f}if((i|0)!=218){break e}break p}if(Zt(b,f+15|0)){continue}break}break l}break d}break d}O(43294,7087,1964,87047);L()}a=v[a+628>>2];v[f>>2]=i;wb(a,87024,42255,f);c=0;break f}c=1;if(w[g+205|0]){break f}if(w[g+193|0]){break o}if(OM(a)){break q}c=0;break f}c=1;if(w[g+205|0]){break f}}c=1;if(w[g+303|0]){break f}h=v[a+584>>2];c=v[h+216>>2];if(!c){j=a+628|0;b=54561;break n}b=0;t[h+1140|0]=0;j=a+628|0;K:{d=w[h+192|0];if(!d){break K}k=h+322|0;while(1){L:{M:{if(!c){e=b-1|0;break M}N:{if(!b){break N}e=b-1|0;if(v[(h+(e<<2)|0)+216>>2]==(c|0)){break M}d=0;i=0;if(b>>>0<=1){break N}while(1){if(v[(h+(d<<2)|0)+216>>2]!=(c|0)){i=i+1|0;d=i&255;if((e|0)>(d|0)){continue}break N}break}b=55020;break n}d=gb(73);if(!d){b=48831;break n}t[d+8|0]=b;v[d>>2]=73;v[d+4>>2]=1124129791;c=0;e=h+(b<<2)|0;Qa[v[a+640>>2]](v[a+628>>2],v[e+216>>2],0)|0;if((Qa[v[a+632>>2]](v[a+628>>2],d+9|0,64)|0)!=64){break f}v[e+252>>2]=d;t[(b+h|0)+322|0]=b;d=w[h+192|0];break L}t[b+k|0]=w[e+k|0]}b=b+1|0;if(b>>>0>=(d&255)>>>0){break K}c=v[(h+(b<<2)|0)+216>>2];continue}}t[g+304|0]=192;i=w[g+192|0];O:{if(!i){t[g+319|0]=w[g+209|0]|w[g+208|0]<<4;break O}e=i&7;b=0;j=i-1|0;if(j>>>0>=7){d=i&248;c=g+316|0;while(1){t[b+c|0]=b;h=b|1;t[h+c|0]=h;h=b|2;t[h+c|0]=h;h=b|3;t[h+c|0]=h;h=b|4;t[h+c|0]=h;h=b|5;t[h+c|0]=h;h=b|6;t[h+c|0]=h;h=b|7;t[h+c|0]=h;b=b+8|0;d=d-8|0;if(d){continue}break}}if(e){while(1){t[(b+g|0)+316|0]=b;b=b+1|0;e=e-1|0;if(e){continue}break}}t[g+319|0]=w[g+209|0]|w[g+208|0]<<4;if(i>>>0<2){break O}c=j&7;b=1;if(i-2>>>0>=7){e=j&-8;while(1){d=b+g|0;t[d+319|0]=17;t[d+320|0]=17;t[d+321|0]=17;t[d+322|0]=17;t[d+323|0]=17;t[d+324|0]=17;t[d+325|0]=17;t[d+326|0]=17;b=b+8|0;e=e-8|0;if(e){continue}break}}if(!c){break O}while(1){t[(b+g|0)+319|0]=17;b=b+1|0;c=c-1|0;if(c){continue}break}}t[g+303|0]=1;v[g+308>>2]=v[g+180>>2];v[g+312>>2]=v[g+188>>2];j=v[a+584>>2];b=v[j+228>>2];if(!b){wb(v[a+628>>2],87344,54561,0);c=0;break f}t[j+1140|0]=0;P:{d=w[j+192|0];if(!d){break P}h=j+328|0;c=0;while(1){Q:{R:{if(!b){e=c-1|0;break R}S:{T:{if(!c){break T}e=c-1|0;if(v[(j+(e<<2)|0)+228>>2]==(b|0)){break R}d=0;i=0;if(c>>>0<=1){break T}while(1){if(v[(j+(d<<2)|0)+228>>2]!=(b|0)){i=i+1|0;d=i&255;if((e|0)>(d|0)){continue}break T}break}wb(v[a+628>>2],87344,55462,0);break S}Qa[v[a+640>>2]](v[a+628>>2],b,0)|0;if((Qa[v[a+632>>2]](v[a+628>>2],f+16|0,16)|0)!=16){break S}d=w[f+31|0]+(w[f+30|0]+(w[f+29|0]+(w[f+28|0]+(w[f+27|0]+(w[f+26|0]+(w[f+25|0]+(w[f+24|0]+(w[f+23|0]+(w[f+22|0]+(w[f+21|0]+(w[f+20|0]+(w[f+19|0]+(w[f+18|0]+(w[f+17|0]+w[f+16|0]|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0;e=d+25|0;b=gb(e);if(!b){wb(v[a+628>>2],87344,48831,0);c=0;break f}t[b+8|0]=c;t[b+4|0]=255;t[b+5|0]=196;v[b>>2]=e;e=d+19|0;t[b+7|0]=e;t[b+6|0]=e>>>8;t[b+9|0]=w[f+16|0];t[b+10|0]=w[f+17|0];t[b+11|0]=w[f+18|0];t[b+12|0]=w[f+19|0];t[b+13|0]=w[f+20|0];t[b+14|0]=w[f+21|0];t[b+15|0]=w[f+22|0];t[b+16|0]=w[f+23|0];t[b+17|0]=w[f+24|0];t[b+18|0]=w[f+25|0];t[b+19|0]=w[f+26|0];t[b+20|0]=w[f+27|0];t[b+21|0]=w[f+28|0];t[b+22|0]=w[f+29|0];t[b+23|0]=w[f+30|0];t[b+24|0]=w[f+31|0];if((Qa[v[a+632>>2]](v[a+628>>2],b+25|0,d)|0)!=(d|0)){break S}v[(j+(c<<2)|0)+268>>2]=b;t[(c+j|0)+328|0]=c<<4;d=w[j+192|0];break Q}c=0;break f}t[c+h|0]=w[e+h|0]}c=c+1|0;if(c>>>0>=(d&255)>>>0){break P}b=v[(j+(c<<2)|0)+228>>2];continue}}d=0;i=0;b=Ma-16|0;Ma=b;U:{h=v[a+584>>2];c=v[h+240>>2];if(!c){wb(v[a+628>>2],87392,54561,0);break U}t[h+1140|0]=0;e=w[h+192|0];if(!e){i=1;break U}k=h+328|0;while(1){V:{W:{if(!c){j=d-1|0;break W}X:{if(!d){break X}j=d-1|0;if(v[(h+(j<<2)|0)+240>>2]==(c|0)){break W}i=0;e=0;if(d>>>0<=1){break X}while(1){if(v[(h+(i<<2)|0)+240>>2]!=(c|0)){e=e+1|0;i=e&255;if((j|0)>(i|0)){continue}break X}break}i=0;wb(v[a+628>>2],87392,55666,0);break U}i=0;Qa[v[a+640>>2]](v[a+628>>2],c,0)|0;if((Qa[v[a+632>>2]](v[a+628>>2],b,16)|0)!=16){break U}e=w[b+15|0]+(w[b+14|0]+(w[b+13|0]+(w[b+12|0]+(w[b+11|0]+(w[b+10|0]+(w[b+9|0]+(w[b+8|0]+(w[b+7|0]+(w[b+6|0]+(w[b+5|0]+(w[b+4|0]+(w[b+3|0]+(w[b+2|0]+(w[b|0]+w[b+1|0]|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0;j=e+25|0;c=gb(j);if(!c){wb(v[a+628>>2],87392,48831,0);break U}t[c+4|0]=255;t[c+5|0]=196;v[c>>2]=j;t[c+8|0]=d|16;j=e+19|0;t[c+7|0]=j;t[c+6|0]=j>>>8;t[c+9|0]=w[b|0];t[c+10|0]=w[b+1|0];t[c+11|0]=w[b+2|0];t[c+12|0]=w[b+3|0];t[c+13|0]=w[b+4|0];t[c+14|0]=w[b+5|0];t[c+15|0]=w[b+6|0];t[c+16|0]=w[b+7|0];t[c+17|0]=w[b+8|0];t[c+18|0]=w[b+9|0];t[c+19|0]=w[b+10|0];t[c+20|0]=w[b+11|0];t[c+21|0]=w[b+12|0];t[c+22|0]=w[b+13|0];t[c+23|0]=w[b+14|0];t[c+24|0]=w[b+15|0];if((Qa[v[a+632>>2]](v[a+628>>2],c+25|0,e)|0)!=(e|0)){break U}v[(h+(d<<2)|0)+284>>2]=c;c=d+h|0;t[c+328|0]=w[c+328|0]|d;e=w[h+192|0];break V}c=d+k|0;t[c|0]=w[c|0]|w[j+k|0]&15}i=1;d=d+1|0;if(d>>>0>=(e&255)>>>0){break U}c=v[(h+(d<<2)|0)+240>>2];continue}}Ma=b+16|0;if(!i){c=0;break f}c=1;a=w[g+192|0];if(a>>>0<2){break f}e=a-1|0;d=e&7;b=1;if(a-2>>>0>=7){i=e&-8;a=g+325|0;while(1){e=b+7|0;t[e+a|0]=e;e=b+6|0;t[e+a|0]=e;e=b+5|0;t[e+a|0]=e;e=b+4|0;t[e+a|0]=e;e=b+3|0;t[e+a|0]=e;e=b+2|0;t[e+a|0]=e;e=b+1|0;t[e+a|0]=e;t[a+b|0]=b;b=b+8|0;i=i-8|0;if(i){continue}break}}if(!d){break f}while(1){t[(b+g|0)+325|0]=b;b=b+1|0;d=d-1|0;if(d){continue}break}break f}O(41439,7087,1298,87024);L()}c=0;wb(v[j>>2],87296,b,0);break f}if(w[b+205|0]){break l}b=50530;break k}c=0;break f}wb(v[a+628>>2],87232,b,0);c=0;break f}wb(v[a+628>>2],87200,e,0)}c=0;break f}wb(v[a+628>>2],87152,j,0)}c=0}Ma=f+32|0;return c}b=x[g+1148>>1];continue}break}O(43294,7087,1949,87085);L()}O(43294,7087,2006,87184);L()}O(47616,7087,2034,87099);L()}function O8(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,x=0;j=Ma-416|0;Ma=j;f=v[a+608>>2];d=v[a+604>>2];x=1;q=v[a+584>>2];e=v[q+72>>2];h=v[q+68>>2];m=v[q+64>>2];a:{b:{c:{if((c|0)<1){b=d}else{s=d+f|0;t=v[q+60>>2];n=v[q+12>>2];r=v[q+88>>2];while(1){d:{e:{f:{g:{h:{i:{if(e){break i}while(1){j:{k:{l:{if((h|0)>10){f=d;break l}if(d>>>0>=s>>>0){if(!h){break k}h=11;f=d;break l}i=h+8|0;f=d+1|0;m=w[w[d|0]+t|0]<2){h=i;break l}if(f>>>0>=s>>>0){h=11;break l}h=h+16|0;f=d+2|0;m=w[w[d+1|0]+t|0]<>>1|0;h=h-1|0;d=f;continue}}while(1){f=h;m:{if((h|0)>7){break m}if(d>>>0>=s>>>0){f=8;if(h){break m}break h}m=w[w[d|0]+t|0]<>>1|0;if(!e){continue}break}}l=m>>>1|0;e=f-1|0;n:{if((f|0)>1){h=e;i=d;break n}if(d>>>0>=s>>>0){h=1;i=d;if(e){break n}e=0;m=l;break h}h=f+7|0;l=w[w[d|0]+t|0]<>>1|0;h=h-1|0;k=0;if(!(l&1)){break f}d=i;g=r;o:{p:{while(1){p=0;q:{while(1){r:{if((h|0)>11){f=h;break r}if(d>>>0>=s>>>0){f=12;if(h){break r}break g}i=h+8|0;e=d+1|0;m=w[w[d|0]+t|0]<3){f=i;d=e;break r}f=12;if(e>>>0>=s>>>0){d=e;break r}f=h+16|0;m=w[w[d+1|0]+t|0]<>>e|0;h=f-e|0;e=1;f=g;s:{t:{switch(w[i|0]-7|0){case 0:i=v[i+4>>2];u=i+p|0;v[g>>2]=u;f=g+4|0;p=0;k=i+k|0;if((n|0)>(k|0)){break s}e=0;break o;case 5:break p;case 2:case 4:break t;default:break q}}e=v[i+4>>2];p=e+p|0;k=e+k|0;continue}break}while(1){u:{if((h|0)>12){i=h;break u}if(d>>>0>=s>>>0){i=13;if(h){break u}g=f;break g}o=h+8|0;l=d+1|0;m=w[w[d|0]+t|0]<4){i=o;d=l;break u}i=13;if(l>>>0>=s>>>0){d=l;break u}i=h+16|0;m=w[w[d+1|0]+t|0]<>>h|0;h=i-h|0;i=w[l|0];if(i-10>>>0<2){i=v[l+4>>2];p=i+p|0;k=i+k|0;continue}break}v:{w:{switch(i-8|0){case 0:e=v[l+4>>2];i=e+p|0;v[g+4>>2]=i;f=g+8|0;k=e+k|0;if((n|0)>(k|0)){break v}e=0;break o;case 4:break p;default:break w}}e=v[a+12>>2]&1024;i=v[(e?504:480)+a>>2];g=v[a+628>>2];l=v[a>>2];o=v[q+108>>2];v[j+304>>2]=k;v[j+300>>2]=i;v[j+296>>2]=e?56103:56298;v[j+292>>2]=o;v[j+288>>2]=l;wb(g,86117,55737,j+288|0);e=0;break p}g=i|u?f:g;continue}break}e=v[a+12>>2]&1024;i=v[(e?504:480)+a>>2];f=v[a+628>>2];l=v[a>>2];o=v[q+108>>2];v[j+272>>2]=k;v[j+268>>2]=i;v[j+264>>2]=e?56103:56298;v[j+260>>2]=o;v[j+256>>2]=l;wb(f,86117,55737,j+256|0);e=0;f=g}if(!p){break o}v[f>>2]=p;f=f+4|0}if((k|0)==(n|0)){break d}i=v[a+12>>2]&1024;g=v[(i?504:480)+a>>2];l=v[a+628>>2];o=v[a>>2];u=v[q+108>>2];v[j+248>>2]=n;v[j+244>>2]=k;v[j+240>>2]=g;v[j+236>>2]=i?56103:56298;v[j+232>>2]=u;v[j+228>>2]=k>>>0>>0?57394:57552;v[j+224>>2]=o;Nc(l,86117,57124,j+224|0);l=(k|0)>(n|0);x:{if((k|0)<=(n|0)|f>>>0<=r>>>0){break x}while(1){f=f-4|0;k=k-v[f>>2]|0;l=(n|0)<(k|0);if((k|0)<=(n|0)){break x}if(f>>>0>r>>>0){continue}break}}if((k|0)<(n|0)){if(f-r&4){v[f>>2]=0;f=f+4|0}v[f>>2]=n-((k|0)>0?k:0);f=f+4|0;break d}if(l){break e}break d}else{m=m>>>8|0;h=f-8|0;continue}}}if(!n){g=r;break b}c=v[a+12>>2]&1024;i=v[(c?504:480)+a>>2];f=v[a+628>>2];g=v[a>>2];h=v[q+108>>2];v[j+408>>2]=n;v[j+404>>2]=0;v[j+400>>2]=i;v[j+396>>2]=c?56103:56298;v[j+392>>2]=h;v[j+388>>2]=57394;v[j+384>>2]=g;Nc(f,86117,57124,j+384|0);v[r>>2]=n;if((n|0)>0){g=r+4|0;break b}v[r+4>>2]=0;g=r+8|0;break b}c=v[a+12>>2]&1024;e=v[(c?504:480)+a>>2];i=v[a+628>>2];f=v[a>>2];h=v[q+108>>2];v[j+368>>2]=k;v[j+364>>2]=e;v[j+360>>2]=c?56103:56298;v[j+356>>2]=h;v[j+352>>2]=f;Nc(i,86117,56754,j+352|0);if(p){v[g>>2]=p;g=g+4|0}e=0;if((k|0)==(n|0)){break b}c=v[a+12>>2]&1024;i=v[(c?504:480)+a>>2];f=v[a+628>>2];h=v[a>>2];l=v[q+108>>2];v[j+344>>2]=n;v[j+340>>2]=k;v[j+336>>2]=i;v[j+332>>2]=c?56103:56298;v[j+328>>2]=l;v[j+324>>2]=k>>>0>>0?57394:57552;v[j+320>>2]=h;Nc(f,86117,57124,j+320|0);h=(k|0)>(n|0);y:{if((k|0)<=(n|0)|g>>>0<=r>>>0){break y}while(1){g=g-4|0;k=k-v[g>>2]|0;h=(n|0)<(k|0);if((k|0)<=(n|0)){break y}if(g>>>0>r>>>0){continue}break}}if((k|0)<(n|0)){if(g-r&4){v[g>>2]=0;g=g+4|0}v[g>>2]=n-((k|0)>0?k:0);g=g+4|0;break b}if(!h){break b}v[g+4>>2]=0;v[g>>2]=n;g=g+8|0;break b}z:{if((n|0)<1){e=0;g=0;d=i;f=r;break z}e=v[q+84>>2];d=e+4|0;l=v[e>>2];o=0;g=0;f=r;p=0;A:{B:{C:{D:{E:{F:{G:{H:{I:{while(1){k=g;e=h;J:{if((h|0)>6){break J}if(i>>>0>=s>>>0){e=7;if(h){break J}break c}m=w[w[i|0]+t|0]<>>h|0;h=e-h|0;K:{L:{M:{N:{O:{switch(w[g|0]-1|0){case 0:P:{if((f|0)==(r|0)){e=d;break P}if((k|0)<(l|0)){e=d;break P}e=d;if((l|0)>=(n|0)){break P}while(1){e=d+8|0;l=v[d+4>>2]+(v[d>>2]+l|0)|0;if((l|0)>(k|0)){break P}d=e;if((l|0)<(n|0)){continue}break}}g=v[e>>2]+l|0;p=g+(o+p|0)|0;d=e+8|0;l=v[e+4>>2]+g|0;break K;case 1:if(!(f-r&4)){break M}while(1){Q:{if((h|0)>12){e=h;break Q}if(i>>>0>=s>>>0){e=13;if(!h){break c}break Q}o=h+8|0;g=i+1|0;m=w[w[i|0]+t|0]<4){e=o;i=g;break Q}e=13;if(g>>>0>=s>>>0){i=g;break Q}e=h+16|0;m=w[w[i+1|0]+t|0]<>>h|0;h=e-h|0;e=w[g|0];if(e-10>>>0>=2){if((e|0)!=8){break D}e=v[g+4>>2];v[f>>2]=e+p;o=f+4|0;k=e+k|0;p=0;while(1){R:{if((h|0)>11){e=h;break R}if(i>>>0>=s>>>0){e=12;if(h){break R}f=o;break c}u=h+8|0;g=i+1|0;m=w[w[i|0]+t|0]<3){e=u;i=g;break R}e=12;if(g>>>0>=s>>>0){i=g;break R}e=h+16|0;m=w[w[i+1|0]+t|0]<>>h|0;h=e-h|0;S:{switch(w[g|0]-7|0){case 2:case 4:e=v[g+4>>2];p=e+p|0;k=e+k|0;continue;case 0:break S;default:break I}}break}e=v[g+4>>2];v[o>>2]=e+p;g=e+k|0;break L}else{e=v[g+4>>2];p=e+p|0;k=e+k|0;continue}};case 5:v[f>>2]=n-k;d=v[a+12>>2]&1024;e=v[(d?504:480)+a>>2];g=v[a+628>>2];l=v[a>>2];o=v[q+108>>2];v[j+208>>2]=k;v[j+204>>2]=e;v[j+200>>2]=d?56103:56298;v[j+196>>2]=o;v[j+192>>2]=l;wb(g,86117,58059,j+192|0);f=f+4|0;break C;case 11:v[f>>2]=n-k;f=f+4|0;T:{if((h|0)>3){d=h;break T}if(i>>>0>=s>>>0){d=4;if(!h){break c}break T}d=h+8|0;m=w[w[i|0]+t|0]<>2];e=Ma-32|0;Ma=e;h=v[a+12>>2]&1024;l=v[(h?504:480)+a>>2];o=v[a+628>>2];u=v[a>>2];v[e+16>>2]=k;v[e+12>>2]=l;v[e+8>>2]=h?56103:56298;v[e+4>>2]=g;v[e>>2]=u;wb(o,86117,55737,e);Ma=e+32|0}m=m>>>4|0;h=d-4|0;e=1;break B;case 4:U:{if((f|0)==(r|0)){e=d;break U}if((k|0)<(l|0)){e=d;break U}e=d;if((l|0)>=(n|0)){break U}while(1){e=d+8|0;l=v[d+4>>2]+(v[d>>2]+l|0)|0;if((l|0)>(k|0)){break U}d=e;if((l|0)<(n|0)){continue}break}}d=(l+o|0)-v[g+4>>2]|0;v[f>>2]=d+p;g=d+k|0;d=e-4|0;l=l-v[d>>2]|0;f=f+4|0;break N;case 3:V:{if((f|0)==(r|0)){e=d;break V}if((k|0)<(l|0)){e=d;break V}e=d;if((l|0)>=(n|0)){break V}while(1){e=d+8|0;l=v[d+4>>2]+(v[d>>2]+l|0)|0;if((l|0)>(k|0)){break V}d=e;if((l|0)<(n|0)){continue}break}}g=v[g+4>>2];v[f>>2]=g+((o+p|0)+l|0);d=e+4|0;g=g+l|0;l=v[e>>2]+l|0;f=f+4|0;break N;case 2:break O;default:break G}}W:{if(!((f|0)==(r|0)|(k|0)<(l|0))){e=d;g=l;if((n|0)<=(g|0)){break W}while(1){e=d+8|0;g=v[d+4>>2]+(v[d>>2]+g|0)|0;if((k|0)<(g|0)){break W}d=e;if((g|0)<(n|0)){continue}break}break W}g=l;e=d}v[f>>2]=(o+p|0)+g;d=e+4|0;l=v[e>>2]+g|0;f=f+4|0}p=0;break K}while(1){X:{if((h|0)>11){e=h;break X}if(i>>>0>=s>>>0){e=12;if(!h){break c}break X}o=h+8|0;g=i+1|0;m=w[w[i|0]+t|0]<3){e=o;i=g;break X}e=12;if(g>>>0>=s>>>0){i=g;break X}e=h+16|0;m=w[w[i+1|0]+t|0]<>>h|0;h=e-h|0;o=f;Y:{switch(w[g|0]-7|0){case 2:case 4:e=v[g+4>>2];p=e+p|0;k=e+k|0;continue;case 0:break Y;default:break I}}break}e=v[g+4>>2];v[f>>2]=e+p;g=f+4|0;k=e+k|0;p=0;while(1){Z:{if((h|0)>12){e=h;break Z}if(i>>>0>=s>>>0){e=13;if(h){break Z}f=g;break c}u=h+8|0;o=i+1|0;m=w[w[i|0]+t|0]<4){e=u;i=o;break Z}e=13;if(o>>>0>=s>>>0){i=o;break Z}e=h+16|0;m=w[w[i+1|0]+t|0]<>>h|0;h=e-h|0;e=w[o|0];if(e-10>>>0>=2){if((e|0)!=8){f=g;break D}e=v[o+4>>2];v[g>>2]=e+p;g=e+k|0}else{e=v[o+4>>2];p=e+p|0;k=e+k|0;continue}break}}p=0;f=f+8|0;if((r|0)==(f|0)){f=r;break K}if((g|0)<(l|0)|(l|0)>=(n|0)){break K}while(1){e=d+8|0;l=v[d+4>>2]+(v[d>>2]+l|0)|0;if((l|0)>(g|0)){d=e;break K}d=e;if((l|0)<(n|0)){continue}break}}o=0-g|0;if((g|0)<(n|0)){continue}break}e=0;if(!p){break A}if((g+p|0)<(n|0)){break H}d=i;break E}d=v[a+12>>2]&1024;e=v[(d?504:480)+a>>2];f=v[a+628>>2];g=v[a>>2];l=v[q+108>>2];v[j+144>>2]=k;v[j+140>>2]=e;v[j+136>>2]=d?56103:56298;v[j+132>>2]=l;v[j+128>>2]=g;wb(f,86117,55737,j+128|0);f=o;e=0;break B}_:{if((h|0)>0){l=h;d=i;break _}if(i>>>0>=s>>>0){l=1;d=i;if(h){break _}k=g;break c}l=h+8|0;m=w[w[i|0]+t|0]<>2]&1024;e=v[(d?504:480)+a>>2];g=v[a+628>>2];l=v[a>>2];o=v[q+108>>2];v[j+48>>2]=k;v[j+44>>2]=e;v[j+40>>2]=d?56103:56298;v[j+36>>2]=o;v[j+32>>2]=l;wb(g,86117,55737,j+32|0);break C}m=m>>>1|0;h=l-1|0}v[f>>2]=p;f=f+4|0;break z}d=v[a+12>>2]&1024;e=v[(d?504:480)+a>>2];g=v[a+628>>2];l=v[a>>2];o=v[q+108>>2];v[j+176>>2]=k;v[j+172>>2]=e;v[j+168>>2]=d?56103:56298;v[j+164>>2]=o;v[j+160>>2]=l;wb(g,86117,55737,j+160|0)}e=0}if(p){v[f>>2]=p;f=f+4|0}g=k}d=i}if((g|0)==(n|0)){break d}i=v[a+12>>2]&1024;l=v[(i?504:480)+a>>2];k=v[a+628>>2];o=v[a>>2];u=v[q+108>>2];v[j+24>>2]=n;v[j+20>>2]=g;v[j+16>>2]=l;v[j+12>>2]=i?56103:56298;v[j+8>>2]=u;v[j+4>>2]=g>>>0>>0?57394:57552;v[j>>2]=o;Nc(k,86117,57124,j);k=(g|0)>(n|0);$:{if((g|0)<=(n|0)|f>>>0<=r>>>0){break $}while(1){f=f-4|0;g=g-v[f>>2]|0;k=(n|0)<(g|0);if((g|0)<=(n|0)){break $}if(f>>>0>r>>>0){continue}break}}if((g|0)<(n|0)){if(f-r&4){v[f>>2]=0;f=f+4|0}v[f>>2]=n-((g|0)>0?g:0);f=f+4|0;break d}if(!k){break d}}v[f+4>>2]=0;v[f>>2]=n;f=f+8|0}Qa[v[q+76>>2]](b,r,f,n);v[f>>2]=0;i=v[q+88>>2];r=v[q+84>>2];v[q+88>>2]=r;v[q+84>>2]=i;v[q+108>>2]=v[q+108>>2]+1;i=v[q+8>>2];b=i+b|0;c=c-i|0;if((c|0)>0){continue}break}f=v[a+608>>2];b=v[a+604>>2]}v[q+72>>2]=e;v[q+64>>2]=m;v[q+68>>2]=h;b=(b-d|0)+f|0;break a}d=i;c=v[a+12>>2]&1024;e=v[(c?504:480)+a>>2];i=v[a+628>>2];g=v[a>>2];h=v[q+108>>2];v[j+112>>2]=k;v[j+108>>2]=e;v[j+104>>2]=c?56103:56298;v[j+100>>2]=h;v[j+96>>2]=g;Nc(i,86117,56754,j+96|0);if(p){v[f>>2]=p;f=f+4|0}e=0;if((k|0)==(n|0)){g=f;break b}c=v[a+12>>2]&1024;i=v[(c?504:480)+a>>2];g=v[a+628>>2];h=v[a>>2];l=v[q+108>>2];v[j+88>>2]=n;v[j+84>>2]=k;v[j+80>>2]=i;v[j+76>>2]=c?56103:56298;v[j+72>>2]=l;v[j+68>>2]=k>>>0>>0?57394:57552;v[j+64>>2]=h;Nc(g,86117,57124,j- -64|0);h=(k|0)>(n|0);aa:{if((k|0)<=(n|0)|f>>>0<=r>>>0){break aa}while(1){f=f-4|0;k=k-v[f>>2]|0;h=(n|0)<(k|0);if((k|0)<=(n|0)){break aa}if(f>>>0>r>>>0){continue}break}}if((k|0)<(n|0)){if(f-r&4){v[f>>2]=0;f=f+4|0}v[f>>2]=n-((k|0)>0?k:0);g=f+4|0;break b}if(!h){g=f;break b}v[f+4>>2]=0;v[f>>2]=n;g=f+8|0}Qa[v[q+76>>2]](b,r,g,n);v[q+72>>2]=e;v[q+64>>2]=m;v[q+68>>2]=0;x=-1;b=v[a+608>>2]+(v[a+604>>2]-d|0)|0}v[a+604>>2]=d;v[a+608>>2]=b;Ma=j+416|0;return x|0}function gb(a){a=a|0;var 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;l=Ma-16|0;Ma=l;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{if(a>>>0<=244){e=v[297312];h=a>>>0<11?16:a+11&-8;c=h>>>3|0;b=e>>>c|0;if(b&3){d=c+((b^-1)&1)|0;b=d<<3;f=v[b+1189296>>2];a=f+8|0;c=v[f+8>>2];b=b+1189288|0;l:{if((c|0)==(b|0)){m=1189248,n=C3a(-2,d)&e,v[m>>2]=n;break l}v[c+12>>2]=b;v[b+8>>2]=c}b=d<<3;v[f+4>>2]=b|3;b=b+f|0;v[b+4>>2]=v[b+4>>2]|1;break a}k=v[297314];if(k>>>0>=h>>>0){break k}if(b){a=2<>>12&16;c=a;b=b>>>a|0;a=b>>>5&8;c=c|a;b=b>>>a|0;a=b>>>2&4;c=c|a;b=b>>>a|0;a=b>>>1&2;c=c|a;b=b>>>a|0;a=b>>>1&1;c=(c|a)+(b>>>a|0)|0;a=c<<3;g=v[a+1189296>>2];b=v[g+8>>2];a=a+1189288|0;m:{if((b|0)==(a|0)){e=C3a(-2,c)&e;v[297312]=e;break m}v[b+12>>2]=a;v[a+8>>2]=b}a=g+8|0;v[g+4>>2]=h|3;d=g+h|0;b=c<<3;f=b-h|0;v[d+4>>2]=f|1;v[b+g>>2]=f;if(k){b=k>>>3|0;c=(b<<3)+1189288|0;g=v[297317];b=1<>2]}v[c+8>>2]=g;v[b+12>>2]=g;v[g+12>>2]=c;v[g+8>>2]=b}v[297317]=d;v[297314]=f;break a}j=v[297313];if(!j){break k}b=(j&0-j)-1|0;a=b>>>12&16;c=a;b=b>>>a|0;a=b>>>5&8;c=c|a;b=b>>>a|0;a=b>>>2&4;c=c|a;b=b>>>a|0;a=b>>>1&2;c=c|a;b=b>>>a|0;a=b>>>1&1;b=v[((c|a)+(b>>>a|0)<<2)+1189552>>2];d=(v[b+4>>2]&-8)-h|0;c=b;while(1){o:{a=v[c+16>>2];if(!a){a=v[c+20>>2];if(!a){break o}}c=(v[a+4>>2]&-8)-h|0;f=c>>>0>>0;d=f?c:d;b=f?a:b;c=a;continue}break}i=v[b+24>>2];f=v[b+12>>2];if((f|0)!=(b|0)){a=v[b+8>>2];v[a+12>>2]=f;v[f+8>>2]=a;break b}c=b+20|0;a=v[c>>2];if(!a){a=v[b+16>>2];if(!a){break j}c=b+16|0}while(1){g=c;f=a;c=a+20|0;a=v[c>>2];if(a){continue}c=f+16|0;a=v[f+16>>2];if(a){continue}break}v[g>>2]=0;break b}h=-1;if(a>>>0>4294967231){break k}a=a+11|0;h=a&-8;j=v[297313];if(!j){break k}d=0-h|0;e=0;p:{if(h>>>0<256){break p}e=31;if(h>>>0>16777215){break p}a=a>>>8|0;g=a+1048320>>>16&8;a=a<>>16&4;a=a<>>16&2;a=(a<>>15|0)-(b|(c|g))|0;e=(a<<1|h>>>a+21&1)+28|0}c=v[(e<<2)+1189552>>2];q:{r:{s:{if(!c){a=0;break s}a=0;b=h<<((e|0)==31?0:25-(e>>>1|0)|0);while(1){t:{g=(v[c+4>>2]&-8)-h|0;if(g>>>0>=d>>>0){break t}f=c;d=g;if(d){break t}d=0;a=c;break r}g=v[c+20>>2];c=v[((b>>>29&4)+c|0)+16>>2];a=g?(g|0)==(c|0)?a:g:a;b=b<<1;if(c){continue}break}}if(!(a|f)){f=0;a=2<>>12&16;c=a;b=b>>>a|0;a=b>>>5&8;c=c|a;b=b>>>a|0;a=b>>>2&4;c=c|a;b=b>>>a|0;a=b>>>1&2;c=c|a;b=b>>>a|0;a=b>>>1&1;a=v[((c|a)+(b>>>a|0)<<2)+1189552>>2]}if(!a){break q}}while(1){b=(v[a+4>>2]&-8)-h|0;c=b>>>0>>0;d=c?b:d;f=c?a:f;b=v[a+16>>2];if(b){a=b}else{a=v[a+20>>2]}if(a){continue}break}}if(!f|v[297314]-h>>>0<=d>>>0){break k}e=v[f+24>>2];b=v[f+12>>2];if((f|0)!=(b|0)){a=v[f+8>>2];v[a+12>>2]=b;v[b+8>>2]=a;break c}c=f+20|0;a=v[c>>2];if(!a){a=v[f+16>>2];if(!a){break i}c=f+16|0}while(1){g=c;b=a;c=a+20|0;a=v[c>>2];if(a){continue}c=b+16|0;a=v[b+16>>2];if(a){continue}break}v[g>>2]=0;break c}c=v[297314];if(c>>>0>=h>>>0){d=v[297317];b=c-h|0;u:{if(b>>>0>=16){v[297314]=b;a=d+h|0;v[297317]=a;v[a+4>>2]=b|1;v[c+d>>2]=b;v[d+4>>2]=h|3;break u}v[297317]=0;v[297314]=0;v[d+4>>2]=c|3;a=c+d|0;v[a+4>>2]=v[a+4>>2]|1}a=d+8|0;break a}i=v[297315];if(i>>>0>h>>>0){b=i-h|0;v[297315]=b;c=v[297318];a=c+h|0;v[297318]=a;v[a+4>>2]=b|1;v[c+4>>2]=h|3;a=c+8|0;break a}a=0;j=h+47|0;b=j;if(v[297430]){c=v[297432]}else{v[297433]=-1;v[297434]=-1;v[297431]=4096;v[297432]=4096;v[297430]=l+12&-16^1431655768;v[297435]=0;v[297423]=0;c=4096}g=b+c|0;f=0-c|0;c=g&f;if(c>>>0<=h>>>0){break a}d=v[297422];if(d){b=v[297420];e=b+c|0;if(d>>>0>>0|b>>>0>=e>>>0){break a}}if(w[1189692]&4){break f}v:{w:{d=v[297318];if(d){a=1189696;while(1){b=v[a>>2];if(b>>>0<=d>>>0&d>>>0>2]>>>0){break w}a=v[a+8>>2];if(a){continue}break}}b=zp(0);if((b|0)==-1){break g}e=c;d=v[297431];a=d-1|0;if(a&b){e=(c-b|0)+(a+b&0-d)|0}if(e>>>0<=h>>>0|e>>>0>2147483646){break g}d=v[297422];if(d){a=v[297420];f=a+e|0;if(d>>>0>>0|a>>>0>=f>>>0){break g}}a=zp(e);if((b|0)!=(a|0)){break v}break e}e=f&g-i;if(e>>>0>2147483646){break g}b=zp(e);if((b|0)==(v[a>>2]+v[a+4>>2]|0)){break h}a=b}if(!((a|0)==-1|h+48>>>0<=e>>>0)){b=v[297432];b=b+(j-e|0)&0-b;if(b>>>0>2147483646){b=a;break e}if((zp(b)|0)!=-1){e=b+e|0;b=a;break e}zp(0-e|0);break g}b=a;if((a|0)!=-1){break e}break g}f=0;break b}b=0;break c}if((b|0)!=-1){break e}}v[297423]=v[297423]|4}if(c>>>0>2147483646){break d}b=zp(c);a=zp(0);if((b|0)==-1|(a|0)==-1|a>>>0<=b>>>0){break d}e=a-b|0;if(e>>>0<=h+40>>>0){break d}}a=v[297420]+e|0;v[297420]=a;if(a>>>0>y[297421]){v[297421]=a}x:{y:{z:{g=v[297318];if(g){a=1189696;while(1){d=v[a>>2];c=v[a+4>>2];if((d+c|0)==(b|0)){break z}a=v[a+8>>2];if(a){continue}break}break y}a=v[297316];if(!(a>>>0<=b>>>0?a:0)){v[297316]=b}a=0;v[297425]=e;v[297424]=b;v[297320]=-1;v[297321]=v[297430];v[297427]=0;while(1){d=a<<3;c=d+1189288|0;v[d+1189296>>2]=c;v[d+1189300>>2]=c;a=a+1|0;if((a|0)!=32){continue}break}d=e-40|0;a=b+8&7?-8-b&7:0;c=d-a|0;v[297315]=c;a=a+b|0;v[297318]=a;v[a+4>>2]=c|1;v[(b+d|0)+4>>2]=40;v[297319]=v[297434];break x}if(w[a+12|0]&8|d>>>0>g>>>0|b>>>0<=g>>>0){break y}v[a+4>>2]=c+e;a=g+8&7?-8-g&7:0;c=a+g|0;v[297318]=c;b=v[297315]+e|0;a=b-a|0;v[297315]=a;v[c+4>>2]=a|1;v[(b+g|0)+4>>2]=40;v[297319]=v[297434];break x}if(y[297316]>b>>>0){v[297316]=b}c=b+e|0;a=1189696;A:{B:{C:{D:{E:{F:{while(1){if((c|0)!=v[a>>2]){a=v[a+8>>2];if(a){continue}break F}break}if(!(w[a+12|0]&8)){break E}}a=1189696;while(1){c=v[a>>2];if(c>>>0<=g>>>0){f=c+v[a+4>>2]|0;if(f>>>0>g>>>0){break D}}a=v[a+8>>2];continue}}v[a>>2]=b;v[a+4>>2]=v[a+4>>2]+e;j=(b+8&7?-8-b&7:0)+b|0;v[j+4>>2]=h|3;e=c+(c+8&7?-8-c&7:0)|0;i=h+j|0;c=e-i|0;if((e|0)==(g|0)){v[297318]=i;a=v[297315]+c|0;v[297315]=a;v[i+4>>2]=a|1;break B}if(v[297317]==(e|0)){v[297317]=i;a=v[297314]+c|0;v[297314]=a;v[i+4>>2]=a|1;v[a+i>>2]=a;break B}a=v[e+4>>2];if((a&3)==1){g=a&-8;G:{if(a>>>0<=255){d=v[e+8>>2];a=a>>>3|0;b=v[e+12>>2];if((b|0)==(d|0)){m=1189248,n=v[297312]&C3a(-2,a),v[m>>2]=n;break G}v[d+12>>2]=b;v[b+8>>2]=d;break G}h=v[e+24>>2];b=v[e+12>>2];H:{if((e|0)!=(b|0)){a=v[e+8>>2];v[a+12>>2]=b;v[b+8>>2]=a;break H}I:{a=e+20|0;d=v[a>>2];if(d){break I}a=e+16|0;d=v[a>>2];if(d){break I}b=0;break H}while(1){f=a;b=d;a=b+20|0;d=v[a>>2];if(d){continue}a=b+16|0;d=v[b+16>>2];if(d){continue}break}v[f>>2]=0}if(!h){break G}d=v[e+28>>2];a=(d<<2)+1189552|0;J:{if(v[a>>2]==(e|0)){v[a>>2]=b;if(b){break J}m=1189252,n=v[297313]&C3a(-2,d),v[m>>2]=n;break G}v[h+(v[h+16>>2]==(e|0)?16:20)>>2]=b;if(!b){break G}}v[b+24>>2]=h;a=v[e+16>>2];if(a){v[b+16>>2]=a;v[a+24>>2]=b}a=v[e+20>>2];if(!a){break G}v[b+20>>2]=a;v[a+24>>2]=b}e=e+g|0;c=c+g|0}v[e+4>>2]=v[e+4>>2]&-2;v[i+4>>2]=c|1;v[c+i>>2]=c;if(c>>>0<=255){a=c>>>3|0;b=(a<<3)+1189288|0;c=v[297312];a=1<>2]}v[b+8>>2]=i;v[a+12>>2]=i;v[i+12>>2]=b;v[i+8>>2]=a;break B}a=31;if(c>>>0<=16777215){a=c>>>8|0;f=a+1048320>>>16&8;a=a<>>16&4;a=a<>>16&2;a=(a<>>15|0)-(b|(d|f))|0;a=(a<<1|c>>>a+21&1)+28|0}v[i+28>>2]=a;v[i+16>>2]=0;v[i+20>>2]=0;f=(a<<2)+1189552|0;d=v[297313];b=1<>2]=i;v[i+24>>2]=f;break L}a=c<<((a|0)==31?0:25-(a>>>1|0)|0);b=v[f>>2];while(1){d=b;if((v[b+4>>2]&-8)==(c|0)){break C}b=a>>>29|0;a=a<<1;f=d+(b&4)|0;b=v[f+16>>2];if(b){continue}break}v[f+16>>2]=i;v[i+24>>2]=d}v[i+12>>2]=i;v[i+8>>2]=i;break B}d=e-40|0;a=b+8&7?-8-b&7:0;c=d-a|0;v[297315]=c;a=a+b|0;v[297318]=a;v[a+4>>2]=c|1;v[(b+d|0)+4>>2]=40;v[297319]=v[297434];a=(f+(f-39&7?39-f&7:0)|0)-47|0;c=a>>>0>>0?g:a;v[c+4>>2]=27;a=v[297427];v[c+16>>2]=v[297426];v[c+20>>2]=a;a=v[297425];v[c+8>>2]=v[297424];v[c+12>>2]=a;v[297426]=c+8;v[297425]=e;v[297424]=b;v[297427]=0;a=c+24|0;while(1){v[a+4>>2]=7;b=a+8|0;a=a+4|0;if(b>>>0>>0){continue}break}if((c|0)==(g|0)){break x}v[c+4>>2]=v[c+4>>2]&-2;f=c-g|0;v[g+4>>2]=f|1;v[c>>2]=f;if(f>>>0<=255){a=f>>>3|0;b=(a<<3)+1189288|0;c=v[297312];a=1<>2]}v[b+8>>2]=g;v[a+12>>2]=g;v[g+12>>2]=b;v[g+8>>2]=a;break x}a=31;v[g+16>>2]=0;v[g+20>>2]=0;if(f>>>0<=16777215){a=f>>>8|0;d=a+1048320>>>16&8;a=a<>>16&4;a=a<>>16&2;a=(a<>>15|0)-(b|(c|d))|0;a=(a<<1|f>>>a+21&1)+28|0}v[g+28>>2]=a;d=(a<<2)+1189552|0;c=v[297313];b=1<>2]=g;v[g+24>>2]=d;break N}a=f<<((a|0)==31?0:25-(a>>>1|0)|0);b=v[d>>2];while(1){c=b;if((f|0)==(v[b+4>>2]&-8)){break A}b=a>>>29|0;a=a<<1;d=c+(b&4)|0;b=v[d+16>>2];if(b){continue}break}v[d+16>>2]=g;v[g+24>>2]=c}v[g+12>>2]=g;v[g+8>>2]=g;break x}a=v[d+8>>2];v[a+12>>2]=i;v[d+8>>2]=i;v[i+24>>2]=0;v[i+12>>2]=d;v[i+8>>2]=a}a=j+8|0;break a}a=v[c+8>>2];v[a+12>>2]=g;v[c+8>>2]=g;v[g+24>>2]=0;v[g+12>>2]=c;v[g+8>>2]=a}a=v[297315];if(a>>>0<=h>>>0){break d}b=a-h|0;v[297315]=b;c=v[297318];a=c+h|0;v[297318]=a;v[a+4>>2]=b|1;v[c+4>>2]=h|3;a=c+8|0;break a}v[296206]=48;a=0;break a}O:{if(!e){break O}c=v[f+28>>2];a=(c<<2)+1189552|0;P:{if(v[a>>2]==(f|0)){v[a>>2]=b;if(b){break P}j=C3a(-2,c)&j;v[297313]=j;break O}v[e+(v[e+16>>2]==(f|0)?16:20)>>2]=b;if(!b){break O}}v[b+24>>2]=e;a=v[f+16>>2];if(a){v[b+16>>2]=a;v[a+24>>2]=b}a=v[f+20>>2];if(!a){break O}v[b+20>>2]=a;v[a+24>>2]=b}Q:{if(d>>>0<=15){a=d+h|0;v[f+4>>2]=a|3;a=a+f|0;v[a+4>>2]=v[a+4>>2]|1;break Q}v[f+4>>2]=h|3;e=f+h|0;v[e+4>>2]=d|1;v[d+e>>2]=d;if(d>>>0<=255){a=d>>>3|0;b=(a<<3)+1189288|0;c=v[297312];a=1<>2]}v[b+8>>2]=e;v[a+12>>2]=e;v[e+12>>2]=b;v[e+8>>2]=a;break Q}a=31;if(d>>>0<=16777215){a=d>>>8|0;g=a+1048320>>>16&8;a=a<>>16&4;a=a<>>16&2;a=(a<>>15|0)-(b|(c|g))|0;a=(a<<1|d>>>a+21&1)+28|0}v[e+28>>2]=a;v[e+16>>2]=0;v[e+20>>2]=0;b=(a<<2)+1189552|0;S:{c=1<>2]=e;break T}a=d<<((a|0)==31?0:25-(a>>>1|0)|0);h=v[b>>2];while(1){b=h;if((v[b+4>>2]&-8)==(d|0)){break S}c=a>>>29|0;a=a<<1;c=(c&4)+b|0;h=v[c+16>>2];if(h){continue}break}v[c+16>>2]=e}v[e+24>>2]=b;v[e+12>>2]=e;v[e+8>>2]=e;break Q}a=v[b+8>>2];v[a+12>>2]=e;v[b+8>>2]=e;v[e+24>>2]=0;v[e+12>>2]=b;v[e+8>>2]=a}a=f+8|0;break a}U:{if(!i){break U}c=v[b+28>>2];a=(c<<2)+1189552|0;V:{if(v[a>>2]==(b|0)){v[a>>2]=f;if(f){break V}m=1189252,n=C3a(-2,c)&j,v[m>>2]=n;break U}v[i+(v[i+16>>2]==(b|0)?16:20)>>2]=f;if(!f){break U}}v[f+24>>2]=i;a=v[b+16>>2];if(a){v[f+16>>2]=a;v[a+24>>2]=f}a=v[b+20>>2];if(!a){break U}v[f+20>>2]=a;v[a+24>>2]=f}W:{if(d>>>0<=15){a=d+h|0;v[b+4>>2]=a|3;a=a+b|0;v[a+4>>2]=v[a+4>>2]|1;break W}v[b+4>>2]=h|3;f=b+h|0;v[f+4>>2]=d|1;v[d+f>>2]=d;if(k){a=k>>>3|0;c=(a<<3)+1189288|0;g=v[297317];a=1<>2]}v[c+8>>2]=g;v[a+12>>2]=g;v[g+12>>2]=c;v[g+8>>2]=a}v[297317]=f;v[297314]=d}a=b+8|0}Ma=l+16|0;return a|0}function rxa(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=C(0);a:{b:{if((Qa[v[v[b>>2]+48>>2]](b)|0)!=255){break b}if((Qa[v[v[b>>2]+48>>2]](b)|0)!=216){break b}if(v[a+508>>2]<=19){n=c&1;while(1){c:{g=Qa[v[v[b>>2]+48>>2]](b)|0;if((g|0)!=255){break c}g=Qa[v[v[b>>2]+48>>2]](b)|0;if((g|0)!=255){break c}g=Qa[v[v[b>>2]+48>>2]](b)|0;if((g|0)!=255){break c}g=Qa[v[v[b>>2]+48>>2]](b)|0;if((g|0)!=255){break c}g=Qa[v[v[b>>2]+48>>2]](b)|0;if((g|0)!=255){break c}g=Qa[v[v[b>>2]+48>>2]](b)|0;if((g|0)!=255){break c}g=Qa[v[v[b>>2]+48>>2]](b)|0;if((g|0)!=255){break c}YC(44406);break a}v[(B(v[a+508>>2],12)+a|0)+272>>2]=g;e=Qa[v[v[b>>2]+48>>2]](b)|0;i=Qa[v[v[b>>2]+48>>2]](b)|0;f=e<<8|i;if((f|0)<=1){b=w[13024]|w[13025]<<8|(w[13026]<<16|w[13027]<<24);c=w[13020]|w[13021]<<8|(w[13022]<<16|w[13023]<<24);t[a+11|0]=c;t[a+12|0]=c>>>8;t[a+13|0]=c>>>16;t[a+14|0]=c>>>24;t[a+15|0]=b;t[a+16|0]=b>>>8;t[a+17|0]=b>>>16;t[a+18|0]=b>>>24;b=w[13017]|w[13018]<<8|(w[13019]<<16|w[13020]<<24);c=w[13013]|w[13014]<<8|(w[13015]<<16|w[13016]<<24);t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+8|0]=b;t[a+9|0]=b>>>8;t[a+10|0]=b>>>16;t[a+11|0]=b>>>24;break a}h=B(v[a+508>>2],12)+a|0;v[h+276>>2]=f;d=gb(f);if(!d){b=w[15131]|w[15132]<<8;t[a+28|0]=b;t[a+29|0]=b>>>8;b=w[15127]|w[15128]<<8|(w[15129]<<16|w[15130]<<24);c=w[15123]|w[15124]<<8|(w[15125]<<16|w[15126]<<24);t[a+20|0]=c;t[a+21|0]=c>>>8;t[a+22|0]=c>>>16;t[a+23|0]=c>>>24;t[a+24|0]=b;t[a+25|0]=b>>>8;t[a+26|0]=b>>>16;t[a+27|0]=b>>>24;b=w[15119]|w[15120]<<8|(w[15121]<<16|w[15122]<<24);c=w[15115]|w[15116]<<8|(w[15117]<<16|w[15118]<<24);t[a+12|0]=c;t[a+13|0]=c>>>8;t[a+14|0]=c>>>16;t[a+15|0]=c>>>24;t[a+16|0]=b;t[a+17|0]=b>>>8;t[a+18|0]=b>>>16;t[a+19|0]=b>>>24;b=w[15111]|w[15112]<<8|(w[15113]<<16|w[15114]<<24);c=w[15107]|w[15108]<<8|(w[15109]<<16|w[15110]<<24);t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+8|0]=b;t[a+9|0]=b>>>8;t[a+10|0]=b>>>16;t[a+11|0]=b>>>24;break a}v[h+268>>2]=d;t[d+1|0]=i;t[d|0]=e;e=d+2|0;i=f-2|0;if((Qa[v[v[b>>2]+12>>2]](b,e,1,i,0,0)|0)!=(i|0)){b=w[19027]|w[19028]<<8|(w[19029]<<16|w[19030]<<24);c=w[19023]|w[19024]<<8|(w[19025]<<16|w[19026]<<24);t[a+19|0]=c;t[a+20|0]=c>>>8;t[a+21|0]=c>>>16;t[a+22|0]=c>>>24;t[a+23|0]=b;t[a+24|0]=b>>>8;t[a+25|0]=b>>>16;t[a+26|0]=b>>>24;b=w[19020]|w[19021]<<8|(w[19022]<<16|w[19023]<<24);c=w[19016]|w[19017]<<8|(w[19018]<<16|w[19019]<<24);t[a+12|0]=c;t[a+13|0]=c>>>8;t[a+14|0]=c>>>16;t[a+15|0]=c>>>24;t[a+16|0]=b;t[a+17|0]=b>>>8;t[a+18|0]=b>>>16;t[a+19|0]=b>>>24;b=w[19012]|w[19013]<<8|(w[19014]<<16|w[19015]<<24);c=w[19008]|w[19009]<<8|(w[19010]<<16|w[19011]<<24);t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+8|0]=b;t[a+9|0]=b>>>8;t[a+10|0]=b>>>16;t[a+11|0]=b>>>24;break a}j=v[a+508>>2];h=j+1|0;v[a+508>>2]=h;d:{e:{f:{switch(g-192|0){case 26:d=1;if(!(c&2)){break b}c=Qa[v[v[b>>2]+24>>2]](b)|0;Qa[v[v[b>>2]+20>>2]](b,0,2)|0;d=Qa[v[v[b>>2]+24>>2]](b)|0;Qa[v[v[b>>2]+20>>2]](b,c,0)|0;c=d-c|0;d=gb(c);if(!d){t[a+44|0]=w[20795];b=w[20791]|w[20792]<<8|(w[20793]<<16|w[20794]<<24);c=w[20787]|w[20788]<<8|(w[20789]<<16|w[20790]<<24);t[a+36|0]=c;t[a+37|0]=c>>>8;t[a+38|0]=c>>>16;t[a+39|0]=c>>>24;t[a+40|0]=b;t[a+41|0]=b>>>8;t[a+42|0]=b>>>16;t[a+43|0]=b>>>24;b=w[20783]|w[20784]<<8|(w[20785]<<16|w[20786]<<24);c=w[20779]|w[20780]<<8|(w[20781]<<16|w[20782]<<24);t[a+28|0]=c;t[a+29|0]=c>>>8;t[a+30|0]=c>>>16;t[a+31|0]=c>>>24;t[a+32|0]=b;t[a+33|0]=b>>>8;t[a+34|0]=b>>>16;t[a+35|0]=b>>>24;b=w[20775]|w[20776]<<8|(w[20777]<<16|w[20778]<<24);c=w[20771]|w[20772]<<8|(w[20773]<<16|w[20774]<<24);t[a+20|0]=c;t[a+21|0]=c>>>8;t[a+22|0]=c>>>16;t[a+23|0]=c>>>24;t[a+24|0]=b;t[a+25|0]=b>>>8;t[a+26|0]=b>>>16;t[a+27|0]=b>>>24;b=w[20767]|w[20768]<<8|(w[20769]<<16|w[20770]<<24);c=w[20763]|w[20764]<<8|(w[20765]<<16|w[20766]<<24);t[a+12|0]=c;t[a+13|0]=c>>>8;t[a+14|0]=c>>>16;t[a+15|0]=c>>>24;t[a+16|0]=b;t[a+17|0]=b>>>8;t[a+18|0]=b>>>16;t[a+19|0]=b>>>24;b=w[20759]|w[20760]<<8|(w[20761]<<16|w[20762]<<24);c=w[20755]|w[20756]<<8|(w[20757]<<16|w[20758]<<24);t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+8|0]=b;t[a+9|0]=b>>>8;t[a+10|0]=b>>>16;t[a+11|0]=b>>>24;break a}if((Qa[v[v[b>>2]+12>>2]](b,d,1,c,0,0)|0)!=(c|0)){b=w[22917]|w[22918]<<8|(w[22919]<<16|w[22920]<<24);c=w[22913]|w[22914]<<8|(w[22915]<<16|w[22916]<<24);t[a+33|0]=c;t[a+34|0]=c>>>8;t[a+35|0]=c>>>16;t[a+36|0]=c>>>24;t[a+37|0]=b;t[a+38|0]=b>>>8;t[a+39|0]=b>>>16;t[a+40|0]=b>>>24;b=w[22912]|w[22913]<<8|(w[22914]<<16|w[22915]<<24);c=w[22908]|w[22909]<<8|(w[22910]<<16|w[22911]<<24);t[a+28|0]=c;t[a+29|0]=c>>>8;t[a+30|0]=c>>>16;t[a+31|0]=c>>>24;t[a+32|0]=b;t[a+33|0]=b>>>8;t[a+34|0]=b>>>16;t[a+35|0]=b>>>24;b=w[22904]|w[22905]<<8|(w[22906]<<16|w[22907]<<24);c=w[22900]|w[22901]<<8|(w[22902]<<16|w[22903]<<24);t[a+20|0]=c;t[a+21|0]=c>>>8;t[a+22|0]=c>>>16;t[a+23|0]=c>>>24;t[a+24|0]=b;t[a+25|0]=b>>>8;t[a+26|0]=b>>>16;t[a+27|0]=b>>>24;b=w[22896]|w[22897]<<8|(w[22898]<<16|w[22899]<<24);c=w[22892]|w[22893]<<8|(w[22894]<<16|w[22895]<<24);t[a+12|0]=c;t[a+13|0]=c>>>8;t[a+14|0]=c>>>16;t[a+15|0]=c>>>24;t[a+16|0]=b;t[a+17|0]=b>>>8;t[a+18|0]=b>>>16;t[a+19|0]=b>>>24;b=w[22888]|w[22889]<<8|(w[22890]<<16|w[22891]<<24);c=w[22884]|w[22885]<<8|(w[22886]<<16|w[22887]<<24);t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+8|0]=b;t[a+9|0]=b>>>8;t[a+10|0]=b>>>16;t[a+11|0]=b>>>24;break a}g=v[a+508>>2];b=B(g,12)+a|0;v[b+276>>2]=c;v[b+268>>2]=d;v[b+272>>2]=291;v[a+508>>2]=g+1;return 1;case 25:YC(44388);break a;case 62:if(!(!k&n)){v[a+508>>2]=j;d=a+268|0;$a(v[d+B(j,12)>>2]);h=v[a+508>>2];v[d+B(h,12)>>2]=0;break d}g=0;e=Ma-256|0;Ma=e;h=(f|0)<255?f:255;if((h|0)>=3){j=h-1|0;f=2;while(1){k=d+f|0;i=w[k|0];if(!(!((i|0)!=13|(f|0)>=(j|0))&w[k+1|0]==10)){t[e+g|0]=i-32>>>0<95?i:(i-9&255)>>>0<2?i:63;g=g+1|0}f=f+1|0;if((h|0)!=(f|0)){continue}break}}t[e+g|0]=0;od(v[a>>2]+196|0,e);Ma=e+256|0;k=1;break e;case 32:v[a+508>>2]=j;d=a+268|0;$a(v[d+B(j,12)>>2]);h=v[a+508>>2];v[d+B(h,12)>>2]=0;break d;case 33:if(!(!n|(f|0)<6|(w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24))!=1718188101)){g=0;f=Ma-48|0;Ma=f;d=v[a>>2];t[d+196|0]=0;v[d+120>>2]=0;g:{if(i>>>0<6){break g}v[a+260>>2]=0;if(Jb(e,39772,6)){d=w[28385]|w[28386]<<8|(w[28387]<<16|w[28388]<<24);e=w[28381]|w[28382]<<8|(w[28383]<<16|w[28384]<<24);t[a+18|0]=e;t[a+19|0]=e>>>8;t[a+20|0]=e>>>16;t[a+21|0]=e>>>24;t[a+22|0]=d;t[a+23|0]=d>>>8;t[a+24|0]=d>>>16;t[a+25|0]=d>>>24;d=w[28379]|w[28380]<<8|(w[28381]<<16|w[28382]<<24);e=w[28375]|w[28376]<<8|(w[28377]<<16|w[28378]<<24);t[a+12|0]=e;t[a+13|0]=e>>>8;t[a+14|0]=e>>>16;t[a+15|0]=e>>>24;t[a+16|0]=d;t[a+17|0]=d>>>8;t[a+18|0]=d>>>16;t[a+19|0]=d>>>24;d=w[28371]|w[28372]<<8|(w[28373]<<16|w[28374]<<24);e=w[28367]|w[28368]<<8|(w[28369]<<16|w[28370]<<24);t[a+4|0]=e;t[a+5|0]=e>>>8;t[a+6|0]=e>>>16;t[a+7|0]=e>>>24;t[a+8|0]=d;t[a+9|0]=d>>>8;t[a+10|0]=d>>>16;t[a+11|0]=d>>>24;break g}if(i>>>0<8){break g}j=e+6|0;h:{m=a;l=w[e+6|0]|w[e+7|0]<<8;if((l|0)!=18761){if((w[e+6|0]|w[e+7|0]<<8)!=19789){break h}d=1}else{d=0}v[m+264>>2]=d;if(i>>>0<14){break g}d=(l|0)!=18761;if((w[e+(d?8:9)|0]<<8|w[e+(d?9:8)|0])!=42){d=w[35294]|w[35295]<<8|(w[35296]<<16|w[35297]<<24);e=w[35290]|w[35291]<<8|(w[35292]<<16|w[35293]<<24);t[a+19|0]=e;t[a+20|0]=e>>>8;t[a+21|0]=e>>>16;t[a+22|0]=e>>>24;t[a+23|0]=d;t[a+24|0]=d>>>8;t[a+25|0]=d>>>16;t[a+26|0]=d>>>24;d=w[35287]|w[35288]<<8|(w[35289]<<16|w[35290]<<24);e=w[35283]|w[35284]<<8|(w[35285]<<16|w[35286]<<24);t[a+12|0]=e;t[a+13|0]=e>>>8;t[a+14|0]=e>>>16;t[a+15|0]=e>>>24;t[a+16|0]=d;t[a+17|0]=d>>>8;t[a+18|0]=d>>>16;t[a+19|0]=d>>>24;d=w[35279]|w[35280]<<8|(w[35281]<<16|w[35282]<<24);e=w[35275]|w[35276]<<8|(w[35277]<<16|w[35278]<<24);t[a+4|0]=e;t[a+5|0]=e>>>8;t[a+6|0]=e>>>16;t[a+7|0]=e>>>24;t[a+8|0]=d;t[a+9|0]=d>>>8;t[a+10|0]=d>>>16;t[a+11|0]=d>>>24;break g}d=e+10|0;i:{if(v[a+264>>2]){h=w[d+1|0]<<16|w[d|0]<<24|w[d+2|0]<<8;d=d+3|0;break i}h=w[d+2|0]<<16|w[d+3|0]<<24|w[d+1|0]<<8}l=w[d|0];v[f+36>>2]=i-14;v[f+32>>2]=e+14;d=i-6|0;v[f+28>>2]=d;v[f+24>>2]=j;v[f+44>>2]=e;if(!Pz(a,f+32|0,f+24|0,d,v[a>>2],f+44|0,0)){break g}h=h|l;if((h|0)>=9){v[f+12>>2]=d;v[f+8>>2]=j;m=i;h=h+6|0;i=i>>>0>>0?i:h;v[f+20>>2]=m-i;v[f+16>>2]=e+i;if(!Pz(a,f+16|0,f+8|0,d,v[a>>2],f+44|0,0)){break g}}g=1;d=v[a>>2];o=z[d+168>>2];if(o==C(0)){break g}z[d+140>>2]=C(z[d+176>>2]*C(v[a+260>>2]))/o;break g}d=w[33900]|w[33901]<<8|(w[33902]<<16|w[33903]<<24);e=w[33896]|w[33897]<<8|(w[33898]<<16|w[33899]<<24);t[a+27|0]=e;t[a+28|0]=e>>>8;t[a+29|0]=e>>>16;t[a+30|0]=e>>>24;t[a+31|0]=d;t[a+32|0]=d>>>8;t[a+33|0]=d>>>16;t[a+34|0]=d>>>24;d=w[33893]|w[33894]<<8|(w[33895]<<16|w[33896]<<24);e=w[33889]|w[33890]<<8|(w[33891]<<16|w[33892]<<24);t[a+20|0]=e;t[a+21|0]=e>>>8;t[a+22|0]=e>>>16;t[a+23|0]=e>>>24;t[a+24|0]=d;t[a+25|0]=d>>>8;t[a+26|0]=d>>>16;t[a+27|0]=d>>>24;d=w[33885]|w[33886]<<8|(w[33887]<<16|w[33888]<<24);e=w[33881]|w[33882]<<8|(w[33883]<<16|w[33884]<<24);t[a+12|0]=e;t[a+13|0]=e>>>8;t[a+14|0]=e>>>16;t[a+15|0]=e>>>24;t[a+16|0]=d;t[a+17|0]=d>>>8;t[a+18|0]=d>>>16;t[a+19|0]=d>>>24;d=w[33877]|w[33878]<<8|(w[33879]<<16|w[33880]<<24);e=w[33873]|w[33874]<<8|(w[33875]<<16|w[33876]<<24);t[a+4|0]=e;t[a+5|0]=e>>>8;t[a+6|0]=e>>>16;t[a+7|0]=e>>>24;t[a+8|0]=d;t[a+9|0]=d>>>8;t[a+10|0]=d>>>16;t[a+11|0]=d>>>24}Ma=f+48|0;t[v[a>>2]+460|0]=g;break e}v[a+508>>2]=j;d=a+268|0;$a(v[d+B(j,12)>>2]);h=v[a+508>>2];v[d+B(h,12)>>2]=0;break d;case 0:case 1:case 2:case 3:case 5:case 6:case 7:case 9:case 10:case 11:case 13:case 14:case 15:break f;default:break d}}if((f|0)<8){break a}e=v[a>>2];v[e+100>>2]=w[d+4|0]|w[d+3|0]<<8;v[e+104>>2]=w[d+6|0]|w[d+5|0]<<8;d=w[d+7|0];v[e+116>>2]=g;v[e+112>>2]=(d|0)==3}h=v[a+508>>2]}if((h|0)<=19){continue}break}}d=0;b=w[2277]|w[2278]<<8|(w[2279]<<16|w[2280]<<24);c=w[2273]|w[2274]<<8|(w[2275]<<16|w[2276]<<24);t[a+26|0]=c;t[a+27|0]=c>>>8;t[a+28|0]=c>>>16;t[a+29|0]=c>>>24;t[a+30|0]=b;t[a+31|0]=b>>>8;t[a+32|0]=b>>>16;t[a+33|0]=b>>>24;b=w[2271]|w[2272]<<8|(w[2273]<<16|w[2274]<<24);c=w[2267]|w[2268]<<8|(w[2269]<<16|w[2270]<<24);t[a+20|0]=c;t[a+21|0]=c>>>8;t[a+22|0]=c>>>16;t[a+23|0]=c>>>24;t[a+24|0]=b;t[a+25|0]=b>>>8;t[a+26|0]=b>>>16;t[a+27|0]=b>>>24;b=w[2263]|w[2264]<<8|(w[2265]<<16|w[2266]<<24);c=w[2259]|w[2260]<<8|(w[2261]<<16|w[2262]<<24);t[a+12|0]=c;t[a+13|0]=c>>>8;t[a+14|0]=c>>>16;t[a+15|0]=c>>>24;t[a+16|0]=b;t[a+17|0]=b>>>8;t[a+18|0]=b>>>16;t[a+19|0]=b>>>24;b=w[2255]|w[2256]<<8|(w[2257]<<16|w[2258]<<24);c=w[2251]|w[2252]<<8|(w[2253]<<16|w[2254]<<24);t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+8|0]=b;t[a+9|0]=b>>>8;t[a+10|0]=b>>>16;t[a+11|0]=b>>>24}return d|0}return 0}function dj(a,b){var 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;m=Ma-32|0;Ma=m;a:{b:{if(v[a+8>>2]==13){break b}d=a+8|0;while(1){c=v[a+16>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;if((c|0)==-1){c=v[a+16>>2];Qa[v[v[c>>2]+24>>2]](c);bb(d);c=v[a+4>>2]+1|0;v[a+4>>2]=c;f=v[a>>2];if((c|0)>2]){ub(f,c,d,0);c=v[a+16>>2];Qa[v[v[c>>2]+20>>2]](c)}if(v[d>>2]!=13){continue}break b}c:{d:{if(h){h=(c|0)!=13&(c|0)!=10;break d}h=1;if((c|0)==37){break d}h=0;if(w[c+928528|0]!=1){break c}}if(v[d>>2]!=13){continue}break b}break}i=1;j=1;f=0;e:{f:{g:{h:{i:{j:{k:{switch(c-40|0){case 5:if(v[a+8>>2]==13){break i}c=v[a+16>>2];if((Qa[v[v[c>>2]+32>>2]](c)|0)!=45){break i}if(v[d>>2]==13){i=0;e=1;break j}while(1){c=v[a+16>>2];if((Qa[v[v[c>>2]+28>>2]](c)|0)==-1){c=v[a+16>>2];Qa[v[v[c>>2]+24>>2]](c);bb(d);c=v[a+4>>2]+1|0;v[a+4>>2]=c;f=v[a>>2];if((c|0)>2]){ub(f,c,d,0);c=v[a+16>>2];Qa[v[v[c>>2]+20>>2]](c)}i=0;e=1;if(v[d>>2]!=13){continue}break j}e=1;if(v[a+8>>2]==13){i=0;break j}i=0;c=v[a+16>>2];if((Qa[v[v[c>>2]+32>>2]](c)|0)!=45){break j}if(v[d>>2]!=13){continue}break};break j;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:f=c-48|0;l=+(f|0);break h;case 0:g=a+28|0;l:{m:{if(v[a+8>>2]==13){j=0;break m}e=1;j=0;f=g;while(1){c=v[a+16>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;if((c|0)!=-1){n:{o:{p:{switch(c-13|0){default:if((c|0)!=92){break o}if(v[d>>2]==13){break m}q:{r:{s:{t:{u:{v:{while(1){w:{x:{c=v[a+16>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;switch(c+1|0){case 11:break n;case 103:break q;case 99:break r;case 117:break s;case 115:break t;case 111:break u;case 14:break v;case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:break w;case 0:break x;default:break o}}c=v[a+16>>2];Qa[v[v[c>>2]+24>>2]](c);bb(d);c=v[a+4>>2]+1|0;v[a+4>>2]=c;i=v[a>>2];if((c|0)>2]){ub(i,c,d,0);c=v[a+16>>2];Qa[v[v[c>>2]+20>>2]](c)}if(v[d>>2]!=13){continue}break m}break}c=c-48|0;if(v[a+8>>2]==13){break o}i=v[a+16>>2];i=Qa[v[v[i>>2]+32>>2]](i)|0;if((i&-8)!=48){break o}c=(i+(c<<3)|0)-48|0;ri(a);if(v[a+8>>2]==13){break o}i=v[a+16>>2];i=Qa[v[v[i>>2]+32>>2]](i)|0;if((i&-8)!=48){break o}ri(a);c=(i+(c<<3)|0)-48|0;break o}if(v[a+8>>2]==13){break n}c=v[a+16>>2];if((Qa[v[v[c>>2]+32>>2]](c)|0)!=10){break n}ri(a);break n}c=10;break o}c=13;break o}c=9;break o}c=8;break o}c=12;break o;case 0:c=10;if(v[a+8>>2]==13){break o}i=v[a+16>>2];if((Qa[v[v[i>>2]+32>>2]](i)|0)!=10){break o}ri(a);break o;case 28:c=41;e=e-1|0;if(e){break o}break l;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:break o;case 27:break p}}e=e+1|0;c=40}if((h|0)==128){y:{if(!j){j=Uh(ab(8),g,128);break y}Wj(j,g,128)}h=0;f=g}t[f|0]=c;h=h+1|0;f=f+1|0}if(v[d>>2]!=13){continue}break m}c=v[a+16>>2];Qa[v[v[c>>2]+24>>2]](c);bb(d);c=v[a+4>>2]+1|0;v[a+4>>2]=c;i=v[a>>2];if((c|0)>2]){ub(i,c,d,0);c=v[a+16>>2];Qa[v[v[c>>2]+20>>2]](c)}if(v[d>>2]!=13){continue}break}}fb(1,-1,272187,0)}z:{if(!j){j=Uh(ab(8),g,h);break z}Wj(j,g,h)}v[b+8>>2]=j;v[b>>2]=3;break a;default:t[a+28|0]=c;h=a+29|0;c=a+28|0;A:{if(v[a+8>>2]==13){break A}while(1){f=v[a+16>>2];f=Qa[v[v[f>>2]+32>>2]](f)|0;if((f|0)==-1|w[f+928528|0]){break A}B:{if(v[d>>2]==13){break B}while(1){g=v[a+16>>2];if((Qa[v[v[g>>2]+28>>2]](g)|0)!=-1){break B}g=v[a+16>>2];Qa[v[v[g>>2]+24>>2]](g);bb(d);g=v[a+4>>2]+1|0;v[a+4>>2]=g;e=v[a>>2];if((g|0)>2]){ub(e,g,d,0);g=v[a+16>>2];Qa[v[v[g>>2]+20>>2]](g)}if(v[d>>2]!=13){continue}break}}j=j+1|0;if((j|0)==128){if(v[a+8>>2]!=13){a=v[a+16>>2];a=Qa[v[v[a>>2]+52>>2]](a)|0}else{a=-1}fb(1,a,271837,0);break A}t[h|0]=f;h=h+1|0;if(v[a+8>>2]!=13){continue}break}}t[h|0]=0;C:{D:{switch(w[c|0]-102|0){case 14:if(Jb(c,275107,5)){break C}v[b+8>>2]=1;v[b>>2]=0;break a;case 0:if(Jb(c,276877,6)){break C}v[b+8>>2]=0;v[b>>2]=0;break a;case 8:break D;default:break C}}if(Jb(c,258688,5)){break C}v[b>>2]=5;break a}v[b>>2]=10;q=b,r=qc(c),v[q+8>>2]=r;break a;case 1:case 83:case 85:f=-1;if(v[a+8>>2]!=13){a=v[a+16>>2];f=Qa[v[v[a>>2]+52>>2]](a)|0}v[m>>2]=c;fb(1,f,336334,m);v[b>>2]=11;break a;case 22:f=-1;E:{if(v[a+8>>2]==13){break E}c=v[a+16>>2];if((Qa[v[v[c>>2]+32>>2]](c)|0)==62){ri(a);t[a+30|0]=0;u[a+28>>1]=15934;v[b>>2]=10;q=b,r=qc(a+28|0),v[q+8>>2]=r;break a}if(v[a+8>>2]==13){break E}a=v[a+16>>2];f=Qa[v[v[a>>2]+52>>2]](a)|0}fb(1,f,336418,0);v[b>>2]=11;break a;case 20:F:{G:{if(v[a+8>>2]==13){f=a+28|0;i=0;j=0;break G}c=v[a+16>>2];if((Qa[v[v[c>>2]+32>>2]](c)|0)==60){ri(a);t[a+30|0]=0;u[a+28>>1]=15420;v[b>>2]=10;q=b,r=qc(a+28|0),v[q+8>>2]=r;break a}f=a+28|0;j=0;if(v[a+8>>2]==13){i=0;break G}i=0;c=f;while(1){H:{I:{J:{g=v[a+16>>2];g=Qa[v[v[g>>2]+28>>2]](g)|0;if((g|0)!=-1){if((g|0)==62){break F}if(w[g+928528|0]==1){break H}e=e<<4;h=g-48|0;if(h>>>0>9){break J}e=e+h|0;break I}g=v[a+16>>2];Qa[v[v[g>>2]+24>>2]](g);bb(d);g=v[a+4>>2]+1|0;v[a+4>>2]=g;h=v[a>>2];if((g|0)>2]){ub(h,g,d,0);g=v[a+16>>2];Qa[v[v[g>>2]+20>>2]](g)}if(v[d>>2]!=13){continue}break G}if(g-65>>>0<=5){e=(e+g|0)-55|0;break I}if(g-97>>>0<=5){e=(e+g|0)-87|0;break I}h=-1;if(v[a+8>>2]!=13){h=v[a+16>>2];h=Qa[v[v[h>>2]+52>>2]](h)|0}v[m+16>>2]=g;fb(1,h,272068,m+16|0)}if((j|0)!=1){j=1;break H}if((i|0)==128){K:{if(!k){k=Uh(ab(8),f,128);break K}Wj(k,f,128)}i=0;c=f}t[c|0]=e;i=i+1|0;c=c+1|0;e=0;j=0}if(v[d>>2]!=13){continue}break}}fb(1,-1,272110,0)}L:{if(!k){k=Uh(ab(8),f,i);break L}Wj(k,f,i)}if((j|0)==1){$b(k,e<<28>>24)}v[b+8>>2]=k;v[b>>2]=3;break a;case 51:case 53:t[a+28|0]=c;t[a+29|0]=0;v[b>>2]=10;q=b,r=qc(a+28|0),v[q+8>>2]=r;break a;case 6:break g;case 3:break h;case 7:break k}}g=a+28|0;j=g;M:{if(v[a+8>>2]!=13){c=0;i=0;j=g;while(1){N:{f=c;c=v[a+16>>2];h=Qa[v[v[c>>2]+32>>2]](c)|0;if((h|0)==-1){c=f;break N}if(w[h+928528|0]){c=f;break N}O:{if(v[d>>2]==13){break O}while(1){c=v[a+16>>2];if((Qa[v[v[c>>2]+28>>2]](c)|0)!=-1){break O}c=v[a+16>>2];Qa[v[v[c>>2]+24>>2]](c);bb(d);c=v[a+4>>2]+1|0;v[a+4>>2]=c;e=v[a>>2];if((c|0)>2]){ub(e,c,d,0);c=v[a+16>>2];Qa[v[v[c>>2]+20>>2]](c)}if(v[d>>2]!=13){continue}break}}P:{if((h|0)!=35){break P}c=-1;Q:{R:{S:{if(v[a+8>>2]==13){break S}T:{h=v[a+16>>2];e=Qa[v[v[h>>2]+32>>2]](h)|0;h=e-48|0;U:{if(h>>>0<10){break U}if(e-65>>>0<=5){h=e-55|0;break U}if(e-97>>>0>5){break T}h=e-87|0}if(v[d>>2]==13){break Q}while(1){e=v[a+16>>2];if((Qa[v[v[e>>2]+28>>2]](e)|0)!=-1){break R}e=v[a+16>>2];Qa[v[v[e>>2]+24>>2]](e);bb(d);e=v[a+4>>2]+1|0;v[a+4>>2]=e;k=v[a>>2];if((e|0)>2]){ub(k,e,d,0);e=v[a+16>>2];Qa[v[v[e>>2]+20>>2]](e)}if(v[d>>2]!=13){continue}break}break Q}if(v[a+8>>2]==13){break S}c=v[a+16>>2];c=Qa[v[v[c>>2]+52>>2]](c)|0}fb(1,c,279968,0);h=35;break P}if(v[a+8>>2]==13){break Q}V:{e=v[a+16>>2];k=Qa[v[v[e>>2]+32>>2]](e)|0;e=k-48|0;W:{if(e>>>0<=9){e=e+(h<<4)|0;break W}e=(k+(h<<4)|0)-55|0;if(k-65>>>0<=5){break W}if(k-97>>>0>5){break V}e=(k+(h<<4)|0)-87|0}h=e;X:{if(v[d>>2]==13){break X}while(1){c=v[a+16>>2];if((Qa[v[v[c>>2]+28>>2]](c)|0)!=-1){break X}c=v[a+16>>2];Qa[v[v[c>>2]+24>>2]](c);bb(d);c=v[a+4>>2]+1|0;v[a+4>>2]=c;e=v[a>>2];if((c|0)>2]){ub(e,c,d,0);c=v[a+16>>2];Qa[v[v[c>>2]+20>>2]](c)}if(v[d>>2]!=13){continue}break}}n=h?n:1;break P}if(v[a+8>>2]==13){break Q}c=v[a+16>>2];c=Qa[v[v[c>>2]+52>>2]](c)|0}fb(1,c,279968,0)}c=f+1|0;Y:{if(f>>>0<=126){t[j|0]=h;j=j+1|0;break Y}if((c|0)==128){t[j|0]=h;i=Uh(ab(8),g,128);break Y}$b(i,h<<24>>24)}if(v[a+8>>2]!=13){continue}}break}if(n){if(v[a+8>>2]!=13){a=v[a+16>>2];a=Qa[v[v[a>>2]+52>>2]](a)|0}else{a=-1}fb(1,a,279945,0);v[b>>2]=11;if(!i){break a}$a(Bb(i));break a}if(c>>>0>127){break M}}t[j|0]=0;v[b>>2]=4;q=b,r=qc(g),v[q+8>>2]=r;break a}a=v[i+4>>2];v[b>>2]=4;q=b,r=qc(a),v[q+8>>2]=r;$a(Bb(i));break a}j=0;f=0;break h}i=0;e=1}Z:{_:{if(v[a+8>>2]==13){break _}while(1){c=v[a+16>>2];c=Qa[v[v[c>>2]+32>>2]](c)|0;g=c-48|0;if(g>>>0<=9){c=13;$:{if(v[d>>2]==13){break $}while(1){c=v[a+16>>2];if((Qa[v[v[c>>2]+28>>2]](c)|0)!=-1){c=v[a+8>>2];break $}c=v[a+16>>2];Qa[v[v[c>>2]+24>>2]](c);bb(d);c=v[a+4>>2]+1|0;v[a+4>>2]=c;h=v[a>>2];if((c|0)>2]){ub(h,c,d,0);c=v[a+16>>2];Qa[v[v[c>>2]+20>>2]](c)}c=13;if(v[d>>2]!=13){continue}break}}l=l<1e20?l*10+ +(g|0):l;f=g+B(f,10)|0;if((c|0)!=13){continue}break _}break}if((c|0)==46){break Z}}aa:while(1){c=-1;if(v[a+8>>2]!=13){c=v[a+16>>2];c=Qa[v[v[c>>2]+32>>2]](c)|0}if((c|0)!=45&c-48>>>0>9){break f}if(v[d>>2]==13){continue}while(1){c=v[a+16>>2];if((Qa[v[v[c>>2]+28>>2]](c)|0)!=-1){continue aa}c=v[a+16>>2];Qa[v[v[c>>2]+24>>2]](c);bb(d);c=v[a+4>>2]+1|0;v[a+4>>2]=c;g=v[a>>2];if((c|0)>2]){ub(g,c,d,0);c=v[a+16>>2];Qa[v[v[c>>2]+20>>2]](c)}if(v[d>>2]!=13){continue}break}continue}}if(v[d>>2]==13){break g}while(1){c=v[a+16>>2];if((Qa[v[v[c>>2]+28>>2]](c)|0)!=-1){break g}c=v[a+16>>2];Qa[v[v[c>>2]+24>>2]](c);bb(d);c=v[a+4>>2]+1|0;v[a+4>>2]=c;f=v[a>>2];if((c|0)>2]){ub(f,c,d,0);c=v[a+16>>2];Qa[v[v[c>>2]+20>>2]](c)}if(v[d>>2]!=13){continue}break}}if(v[a+8>>2]==13){break e}o=.1;while(1){p=o;while(1){c=v[a+16>>2];c=Qa[v[v[c>>2]+32>>2]](c)|0;if((c|0)==45){if(v[a+8>>2]!=13){c=v[a+16>>2];f=Qa[v[v[c>>2]+52>>2]](c)|0}else{f=-1}fb(0,f,240005,0);if(v[d>>2]==13){break e}while(1){c=v[a+16>>2];if((Qa[v[v[c>>2]+28>>2]](c)|0)==-1){c=v[a+16>>2];Qa[v[v[c>>2]+24>>2]](c);bb(d);c=v[a+4>>2]+1|0;v[a+4>>2]=c;f=v[a>>2];if((c|0)>2]){ub(f,c,d,0);c=v[a+16>>2];Qa[v[v[c>>2]+20>>2]](c)}if(v[d>>2]!=13){continue}break e}break}if(v[a+8>>2]!=13){continue}break e}break}f=c-48|0;if(f>>>0>=10){break e}ba:{if(v[d>>2]==13){break ba}while(1){c=v[a+16>>2];if((Qa[v[v[c>>2]+28>>2]](c)|0)!=-1){break ba}c=v[a+16>>2];Qa[v[v[c>>2]+24>>2]](c);bb(d);c=v[a+4>>2]+1|0;v[a+4>>2]=c;g=v[a>>2];if((c|0)>2]){ub(g,c,d,0);c=v[a+16>>2];Qa[v[v[c>>2]+20>>2]](c)}if(v[d>>2]!=13){continue}break}}o=p*.1;l=l+p*+(f|0);if(v[a+8>>2]!=13){continue}break}break e}v[b>>2]=1;v[b+8>>2]=j?i?f:0-f|0:0;break a}ca:while(1){c=-1;if(v[a+8>>2]!=13){c=v[a+16>>2];c=Qa[v[v[c>>2]+32>>2]](c)|0}if(!((c|0)!=45&c-48>>>0>9)){if(v[d>>2]==13){continue}while(1){c=v[a+16>>2];if((Qa[v[v[c>>2]+28>>2]](c)|0)!=-1){continue ca}c=v[a+16>>2];Qa[v[v[c>>2]+24>>2]](c);bb(d);c=v[a+4>>2]+1|0;v[a+4>>2]=c;f=v[a>>2];if((c|0)>2]){ub(f,c,d,0);c=v[a+16>>2];Qa[v[v[c>>2]+20>>2]](c)}if(v[d>>2]!=13){continue}break}continue}break}v[b>>2]=2;A[b+8>>3]=e?-l:l;break a}v[b>>2]=12}Ma=m+32|0}function Kpa(a,b){a=a|0;b=b|0;var 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,u=0,x=0,y=0,z=0,A=0;if(!v[a+88>>2]){return 0}o=v[a+56>>2];d=v[a+48>>2];q=v[a+68>>2];p=v[a+72>>2];m=v[a+76>>2];n=v[a+80>>2];s=v[a+8>>2];u=v[a+84>>2];if(b){c=v[b+4>>2];b=v[b>>2]}else{b=0}k=c;g=a+16|0;x=v[a+64>>2];e=Ma-544|0;Ma=e;v[a+12>>2]=0;a:{if(o-5>>>0<=1){b:{if(!b){break b}l=e+48|0;c=v[b>>2];j=(c|0)<127?c:127;cb(l,v[b+4>>2],j);f=v[q+4>>2];h=w[f+36|0]|w[f+37|0]<<8|(w[f+38|0]<<16|w[f+39|0]<<24);d=j+l|0;c=d;f=w[f+32|0]|w[f+33|0]<<8|(w[f+34|0]<<16|w[f+35|0]<<24);t[c|0]=f;t[c+1|0]=f>>>8;t[c+2|0]=f>>>16;t[c+3|0]=f>>>24;t[c+4|0]=h;t[c+5|0]=h>>>8;t[c+6|0]=h>>>16;t[c+7|0]=h>>>24;c=v[p+4>>2];f=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);h=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);t[d+8|0]=h;t[d+9|0]=h>>>8;t[d+10|0]=h>>>16;t[d+11|0]=h>>>24;t[d+12|0]=f;t[d+13|0]=f>>>8;t[d+14|0]=f>>>16;t[d+15|0]=f>>>24;f=w[c+44|0]|w[c+45|0]<<8|(w[c+46|0]<<16|w[c+47|0]<<24);h=w[c+40|0]|w[c+41|0]<<8|(w[c+42|0]<<16|w[c+43|0]<<24);t[d+48|0]=h;t[d+49|0]=h>>>8;t[d+50|0]=h>>>16;t[d+51|0]=h>>>24;t[d+52|0]=f;t[d+53|0]=f>>>8;t[d+54|0]=f>>>16;t[d+55|0]=f>>>24;f=w[c+36|0]|w[c+37|0]<<8|(w[c+38|0]<<16|w[c+39|0]<<24);h=w[c+32|0]|w[c+33|0]<<8|(w[c+34|0]<<16|w[c+35|0]<<24);t[d+40|0]=h;t[d+41|0]=h>>>8;t[d+42|0]=h>>>16;t[d+43|0]=h>>>24;t[d+44|0]=f;t[d+45|0]=f>>>8;t[d+46|0]=f>>>16;t[d+47|0]=f>>>24;f=w[c+28|0]|w[c+29|0]<<8|(w[c+30|0]<<16|w[c+31|0]<<24);h=w[c+24|0]|w[c+25|0]<<8|(w[c+26|0]<<16|w[c+27|0]<<24);t[d+32|0]=h;t[d+33|0]=h>>>8;t[d+34|0]=h>>>16;t[d+35|0]=h>>>24;t[d+36|0]=f;t[d+37|0]=f>>>8;t[d+38|0]=f>>>16;t[d+39|0]=f>>>24;f=w[c+20|0]|w[c+21|0]<<8|(w[c+22|0]<<16|w[c+23|0]<<24);h=w[c+16|0]|w[c+17|0]<<8|(w[c+18|0]<<16|w[c+19|0]<<24);t[d+24|0]=h;t[d+25|0]=h>>>8;t[d+26|0]=h>>>16;t[d+27|0]=h>>>24;t[d+28|0]=f;t[d+29|0]=f>>>8;t[d+30|0]=f>>>16;t[d+31|0]=f>>>24;f=w[c+12|0]|w[c+13|0]<<8|(w[c+14|0]<<16|w[c+15|0]<<24);c=w[c+8|0]|w[c+9|0]<<8|(w[c+10|0]<<16|w[c+11|0]<<24);t[d+16|0]=c;t[d+17|0]=c>>>8;t[d+18|0]=c>>>16;t[d+19|0]=c>>>24;t[d+20|0]=f;t[d+21|0]=f>>>8;t[d+22|0]=f>>>16;t[d+23|0]=f>>>24;i=j+56|0;pv(l,i,l);if((o|0)==6){tz(e+48|0,v[b+4>>2],j,v[p+4>>2])}c=v[q+4>>2];if(Jb(e+48|0,c,32)){break b}h=e+48|0;cb(h,v[b+4>>2],j);f=w[c+44|0]|w[c+45|0]<<8|(w[c+46|0]<<16|w[c+47|0]<<24);c=w[c+40|0]|w[c+41|0]<<8|(w[c+42|0]<<16|w[c+43|0]<<24);t[d|0]=c;t[d+1|0]=c>>>8;t[d+2|0]=c>>>16;t[d+3|0]=c>>>24;t[d+4|0]=f;t[d+5|0]=f>>>8;t[d+6|0]=f>>>16;t[d+7|0]=f>>>24;c=v[p+4>>2];f=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);k=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);t[d+8|0]=k;t[d+9|0]=k>>>8;t[d+10|0]=k>>>16;t[d+11|0]=k>>>24;t[d+12|0]=f;t[d+13|0]=f>>>8;t[d+14|0]=f>>>16;t[d+15|0]=f>>>24;f=w[c+44|0]|w[c+45|0]<<8|(w[c+46|0]<<16|w[c+47|0]<<24);k=w[c+40|0]|w[c+41|0]<<8|(w[c+42|0]<<16|w[c+43|0]<<24);t[d+48|0]=k;t[d+49|0]=k>>>8;t[d+50|0]=k>>>16;t[d+51|0]=k>>>24;t[d+52|0]=f;t[d+53|0]=f>>>8;t[d+54|0]=f>>>16;t[d+55|0]=f>>>24;f=w[c+36|0]|w[c+37|0]<<8|(w[c+38|0]<<16|w[c+39|0]<<24);k=w[c+32|0]|w[c+33|0]<<8|(w[c+34|0]<<16|w[c+35|0]<<24);t[d+40|0]=k;t[d+41|0]=k>>>8;t[d+42|0]=k>>>16;t[d+43|0]=k>>>24;t[d+44|0]=f;t[d+45|0]=f>>>8;t[d+46|0]=f>>>16;t[d+47|0]=f>>>24;f=w[c+28|0]|w[c+29|0]<<8|(w[c+30|0]<<16|w[c+31|0]<<24);k=w[c+24|0]|w[c+25|0]<<8|(w[c+26|0]<<16|w[c+27|0]<<24);t[d+32|0]=k;t[d+33|0]=k>>>8;t[d+34|0]=k>>>16;t[d+35|0]=k>>>24;t[d+36|0]=f;t[d+37|0]=f>>>8;t[d+38|0]=f>>>16;t[d+39|0]=f>>>24;f=w[c+20|0]|w[c+21|0]<<8|(w[c+22|0]<<16|w[c+23|0]<<24);k=w[c+16|0]|w[c+17|0]<<8|(w[c+18|0]<<16|w[c+19|0]<<24);t[d+24|0]=k;t[d+25|0]=k>>>8;t[d+26|0]=k>>>16;t[d+27|0]=k>>>24;t[d+28|0]=f;t[d+29|0]=f>>>8;t[d+30|0]=f>>>16;t[d+31|0]=f>>>24;f=w[c+12|0]|w[c+13|0]<<8|(w[c+14|0]<<16|w[c+15|0]<<24);c=w[c+8|0]|w[c+9|0]<<8|(w[c+10|0]<<16|w[c+11|0]<<24);t[d+16|0]=c;t[d+17|0]=c>>>8;t[d+18|0]=c>>>16;t[d+19|0]=c>>>24;t[d+20|0]=f;t[d+21|0]=f>>>8;t[d+22|0]=f>>>16;t[d+23|0]=f>>>24;pv(h,i,h);if((o|0)==6){tz(e+48|0,v[b+4>>2],j,v[p+4>>2])}d=e+240|0;TG(d,e+48|0);v[e+504>>2]=0;v[e+508>>2]=0;v[e+496>>2]=0;v[e+500>>2]=0;As(d,v[m+4>>2],0);b=v[e+524>>2];c=v[e+520>>2];t[g+8|0]=c;t[g+9|0]=c>>>8;t[g+10|0]=c>>>16;t[g+11|0]=c>>>24;t[g+12|0]=b;t[g+13|0]=b>>>8;t[g+14|0]=b>>>16;t[g+15|0]=b>>>24;b=v[e+516>>2];c=v[e+512>>2];t[g|0]=c;t[g+1|0]=c>>>8;t[g+2|0]=c>>>16;t[g+3|0]=c>>>24;t[g+4|0]=b;t[g+5|0]=b>>>8;t[g+6|0]=b>>>16;t[g+7|0]=b>>>24;As(d,v[m+4>>2]+16|0,0);b=v[e+524>>2];c=v[e+520>>2];t[g+24|0]=c;t[g+25|0]=c>>>8;t[g+26|0]=c>>>16;t[g+27|0]=c>>>24;t[g+28|0]=b;t[g+29|0]=b>>>8;t[g+30|0]=b>>>16;t[g+31|0]=b>>>24;b=v[e+516>>2];c=v[e+512>>2];t[g+16|0]=c;t[g+17|0]=c>>>8;t[g+18|0]=c>>>16;t[g+19|0]=c>>>24;t[g+20|0]=b;t[g+21|0]=b>>>8;t[g+22|0]=b>>>16;t[g+23|0]=b>>>24;v[a+12>>2]=1;d=1;break a}c:{if(!k){i=349015;c=0;break c}i=v[k+4>>2];a=v[k>>2];c=(a|0)<127?a:127}j=e+48|0;cb(j,i,c);d=v[p+4>>2];f=w[d+36|0]|w[d+37|0]<<8|(w[d+38|0]<<16|w[d+39|0]<<24);a=c+j|0;b=a;d=w[d+32|0]|w[d+33|0]<<8|(w[d+34|0]<<16|w[d+35|0]<<24);t[b|0]=d;t[b+1|0]=d>>>8;t[b+2|0]=d>>>16;t[b+3|0]=d>>>24;t[b+4|0]=f;t[b+5|0]=f>>>8;t[b+6|0]=f>>>16;t[b+7|0]=f>>>24;k=c+8|0;pv(j,k,j);if((o|0)==6){tz(e+48|0,i,c,0)}b=v[p+4>>2];d=0;if(Jb(e+48|0,b,32)){break a}f=e+48|0;cb(f,i,c);d=w[b+44|0]|w[b+45|0]<<8|(w[b+46|0]<<16|w[b+47|0]<<24);b=w[b+40|0]|w[b+41|0]<<8|(w[b+42|0]<<16|w[b+43|0]<<24);t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;t[a+4|0]=d;t[a+5|0]=d>>>8;t[a+6|0]=d>>>16;t[a+7|0]=d>>>24;pv(f,k,f);if((o|0)==6){tz(e+48|0,i,c,0)}c=e+240|0;TG(c,e+48|0);v[e+504>>2]=0;v[e+508>>2]=0;v[e+496>>2]=0;v[e+500>>2]=0;As(c,v[n+4>>2],0);a=v[e+524>>2];b=v[e+520>>2];t[g+8|0]=b;t[g+9|0]=b>>>8;t[g+10|0]=b>>>16;t[g+11|0]=b>>>24;t[g+12|0]=a;t[g+13|0]=a>>>8;t[g+14|0]=a>>>16;t[g+15|0]=a>>>24;a=v[e+516>>2];b=v[e+512>>2];t[g|0]=b;t[g+1|0]=b>>>8;t[g+2|0]=b>>>16;t[g+3|0]=b>>>24;t[g+4|0]=a;t[g+5|0]=a>>>8;t[g+6|0]=a>>>16;t[g+7|0]=a>>>24;As(c,v[n+4>>2]+16|0,0);a=v[e+524>>2];b=v[e+520>>2];t[g+24|0]=b;t[g+25|0]=b>>>8;t[g+26|0]=b>>>16;t[g+27|0]=b>>>24;t[g+28|0]=a;t[g+29|0]=a>>>8;t[g+30|0]=a>>>16;t[g+31|0]=a>>>24;a=v[e+516>>2];b=v[e+512>>2];t[g+16|0]=b;t[g+17|0]=b>>>8;t[g+18|0]=b>>>16;t[g+19|0]=b>>>24;t[g+20|0]=a;t[g+21|0]=a>>>8;t[g+22|0]=a>>>16;t[g+23|0]=a>>>24;d=1;break a}if(b){c=v[b+4>>2];b=v[b>>2];d:{if((b|0)<=31){j=e+48|0;cb(j,c,b);cb(b+j|0,1082032,32-b|0);break d}b=c;c=w[b+28|0]|w[b+29|0]<<8|(w[b+30|0]<<16|w[b+31|0]<<24);v[e+72>>2]=w[b+24|0]|w[b+25|0]<<8|(w[b+26|0]<<16|w[b+27|0]<<24);v[e+76>>2]=c;j=w[b+20|0]|w[b+21|0]<<8|(w[b+22|0]<<16|w[b+23|0]<<24);c=e- -64|0;v[c>>2]=w[b+16|0]|w[b+17|0]<<8|(w[b+18|0]<<16|w[b+19|0]<<24);v[c+4>>2]=j;c=w[b+4|0]|w[b+5|0]<<8|(w[b+6|0]<<16|w[b+7|0]<<24);v[e+48>>2]=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);v[e+52>>2]=c;c=w[b+12|0]|w[b+13|0]<<8|(w[b+14|0]<<16|w[b+15|0]<<24);v[e+56>>2]=w[b+8|0]|w[b+9|0]<<8|(w[b+10|0]<<16|w[b+11|0]<<24);v[e+60>>2]=c}b=v[e+60>>2];v[e+264>>2]=v[e+56>>2];v[e+268>>2]=b;b=e- -64|0;c=v[b+4>>2];v[e+272>>2]=v[b>>2];v[e+276>>2]=c;b=v[e+76>>2];v[e+280>>2]=v[e+72>>2];v[e+284>>2]=b;v[e+248>>2]=-1732584194;v[e+252>>2]=271733878;v[e+240>>2]=1732584193;v[e+244>>2]=-271733879;b=v[e+52>>2];v[e+256>>2]=v[e+48>>2];v[e+260>>2]=b;v[e+320>>2]=32;v[e+324>>2]=32;mq(e+240|0);b=v[e+340>>2];v[e+56>>2]=v[e+336>>2];v[e+60>>2]=b;b=v[e+332>>2];v[e+48>>2]=v[e+328>>2];v[e+52>>2]=b;c=0;b=0;e:{f:{g:{h:{switch(o-2|0){case 0:break f;case 1:break h;default:break g}}j=0;if((d|0)<0){break g}l=(d|0)<64;while(1){v[e+320>>2]=0;v[e+324>>2]=0;v[e+248>>2]=-1732584194;v[e+252>>2]=271733878;v[e+240>>2]=1732584193;v[e+244>>2]=-271733879;b=0;c=e+48|0;f=d;if(!l){while(1){h=64-b|0;cb((b+e|0)+256|0,c,h);v[e+320>>2]=64;c=c+h|0;wo(e+240|0);b=v[e+320>>2];f=f-h|0;if((b+f|0)>63){continue}break}}if((f|0)>=1){cb((b+e|0)+256|0,c,f);v[e+320>>2]=v[e+320>>2]+f}v[e+324>>2]=d+v[e+324>>2];mq(e+240|0);b=v[e+340>>2];v[e+56>>2]=v[e+336>>2];v[e+60>>2]=b;b=v[e+332>>2];v[e+48>>2]=v[e+328>>2];v[e+52>>2]=b;j=j+1|0;if((j|0)!=50){continue}break}}b=v[q+4>>2];c=w[b+28|0]|w[b+29|0]<<8|(w[b+30|0]<<16|w[b+31|0]<<24);v[e+40>>2]=w[b+24|0]|w[b+25|0]<<8|(w[b+26|0]<<16|w[b+27|0]<<24);v[e+44>>2]=c;c=w[b+20|0]|w[b+21|0]<<8|(w[b+22|0]<<16|w[b+23|0]<<24);v[e+32>>2]=w[b+16|0]|w[b+17|0]<<8|(w[b+18|0]<<16|w[b+19|0]<<24);v[e+36>>2]=c;c=w[b+4|0]|w[b+5|0]<<8|(w[b+6|0]<<16|w[b+7|0]<<24);v[e+16>>2]=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);v[e+20>>2]=c;c=w[b+12|0]|w[b+13|0]<<8|(w[b+14|0]<<16|w[b+15|0]<<24);v[e+24>>2]=w[b+8|0]|w[b+9|0]<<8|(w[b+10|0]<<16|w[b+11|0]<<24);v[e+28>>2]=c;h=d&-4;l=d&3;b=19;r=(d|0)<1;A=d-1>>>0<3;while(1){j=b;i:{if(r){break i}b=0;c=h;if(!A){while(1){f=e+48|0;t[b+e|0]=j^w[f+b|0];i=b|1;t[i+e|0]=j^w[f+i|0];i=b|2;t[i+e|0]=j^w[f+i|0];i=b|3;t[i+e|0]=j^w[f+i|0];b=b+4|0;c=c-4|0;if(c){continue}break}}c=l;if(!c){break i}while(1){t[b+e|0]=j^w[(e+48|0)+b|0];b=b+1|0;c=c-1|0;if(c){continue}break}}c=0;b=0;while(1){f=e+240|0;t[f+b|0]=b;i=b|1;t[i+f|0]=i;i=b|2;t[i+f|0]=i;i=b|3;t[i+f|0]=i;i=b|4;t[i+f|0]=i;i=b|5;t[i+f|0]=i;i=b|6;t[i+f|0]=i;i=f;f=b|7;t[i+f|0]=f;b=b+8|0;if((b|0)!=256){continue}break}b=0;i=0;while(1){f=b&255;b=e+240|0;m=b+c|0;n=w[m|0];i=(w[f+e|0]+(i&255)|0)+n|0;b=(i&255)+b|0;t[m|0]=w[b|0];t[b|0]=n;b=(f+1|0)%(d|0)|0;c=c+1|0;if((c|0)!=256){continue}break}b=0;f=0;while(1){c=b+1|0;i=e+240|0;y=c+i|0;m=w[y|0];f=m+f|0;z=(f&255)+i|0;n=w[z|0];t[y|0]=n;t[z|0]=m;b=(e+16|0)+b|0;t[b|0]=w[i+(m+n&255)|0]^w[b|0];b=c;if((b|0)!=32){continue}break}b=j-1|0;if(j){continue}break}break e}while(1){j=e+240|0;t[j+b|0]=b;h=b|1;t[h+j|0]=h;h=b|2;t[h+j|0]=h;h=b|3;t[h+j|0]=h;h=b|4;t[h+j|0]=h;h=b|5;t[h+j|0]=h;h=b|6;t[h+j|0]=h;h=j;j=b|7;t[h+j|0]=j;b=b+8|0;if((b|0)!=256){continue}break}b=0;while(1){j=b&255;b=e+240|0;h=b+c|0;l=w[h|0];i=(w[j+(e+48|0)|0]+(i&255)|0)+l|0;b=(i&255)+b|0;t[h|0]=w[b|0];t[b|0]=l;b=(j+1|0)%(d|0)|0;c=c+1|0;if((c|0)!=256){continue}break}i=v[q+4>>2];b=0;while(1){m=w[b+i|0];c=b+1|0;j=e+240|0;n=c+j|0;h=w[n|0];f=h+f|0;r=(f&255)+j|0;l=w[r|0];t[n|0]=l;t[r|0]=h;t[(e+16|0)+b|0]=m^w[j+(h+l&255)|0];b=c;if((b|0)!=32){continue}break}}b=ab(8);c=Uh(b,e+16|0,32);if(NV(o,d,q,p,s,u,c,g,x)){v[a+12>>2]=1;Bb(c);$a(b);d=1;break a}Bb(c);$a(b)}d=NV(o,d,q,p,s,u,k,g,x)}Ma=e+544|0;return(d|0)!=0|0}function Ufa(a,b,c){a=a|0;b=b|0;c=c|0;var d=C(0),e=0,f=C(0),g=0,h=0,i=C(0),k=0,m=0,n=C(0),o=0,r=0,s=0,t=0,x=0,y=C(0),A=0,B=0,E=0,F=0,G=0,I=0,J=0,K=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=C(0),ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0;t=Ma-48|0;Ma=t;a:{if(!(!(v[c>>2]|v[c+4>>2])&z[c+8>>2]==C(0))){g=v[a+12>>2];if(!g){break a}b:{if(v[a+56>>2]){break b}v[a+32>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;e=ab(540);mE(e,g);v[e>>2]=979108;Or(e+508|0,v[g+4>>2],v[g+8>>2]);v[a+56>>2]=e;if(!v[a+20>>2]){break b}g=v[a+16>>2];if(!g){break b}e=ab(540);mE(e,g);v[e>>2]=979108;Or(e+508|0,v[g+4>>2],v[g+8>>2]);v[a+60>>2]=e;g=ab(540);e=v[a+20>>2];mE(g,e);v[g>>2]=979108;Or(g+508|0,v[e+4>>2],v[e+8>>2]);v[a+64>>2]=g}e=v[a+32>>2];v[a+32>>2]=e+2;if(!v[a+28>>2]){v[a+32>>2]=e+9}lg(t+24|0);e=t;k=e;B=v[e+24>>2];if(B){v[B+4>>2]=v[B+4>>2]+1;e=v[t+24>>2]}else{e=0}v[k+8>>2]=e;G=1;Mr(t+16|0,t+8|0,1);g=v[t+8>>2];v[t+8>>2]=0;c:{if(!g){break c}e=v[g+4>>2]-1|0;v[g+4>>2]=e;if(e){break c}e=v[g+4>>2];if(!e){v[g+4>>2]=-32767}if(!e){Qa[v[v[g>>2]+4>>2]](g)}}n=C(-1);ia=v[t+16>>2];d=z[c+8>>2];d:{if(d>C(0)&d<=C(-1)){break d}while(1){if(v[c+4>>2]>=1){if(((Qa[v[v[B>>2]+16>>2]](B)|0)+v[a+32>>2]|0)>=v[c+4>>2]){break d}}e=v[c>>2];if((e|0)>=1&(e|0)<=(v[a+24>>2]+J|0)){break d}e=v[a+56>>2];G=Qa[v[v[e>>2]+8>>2]](e,ia)|0;e:{if(!G){break e}d=z[c+8>>2];if(!(d>C(0))){break e}g=v[a+56>>2];if(+n>=+d+-5?0:v[g+8>>2]){break e}n=z[a+8>>2];r=0;s=Ma+-64|0;Ma=s;v[s+16>>2]=0;e=v[244792];v[s+36>>2]=v[244791];v[s+40>>2]=e;e=v[244794];v[s+44>>2]=v[244793];v[s+48>>2]=e;v[s+52>>2]=v[244795];e=v[244788];v[s+20>>2]=v[244787];v[s+24>>2]=e;e=v[244790];v[s+28>>2]=v[244789];v[s+32>>2]=e;ka=pc(s,s+12|0,v[v[g+4>>2]+20>>2],4);A=v[s+12>>2];e=v[g+4>>2];E=v[e+20>>2];if((E|0)>=1){la=v[g+508>>2];ma=v[e>>2];while(1){I=0;d=C(0);while(1){g=I<<3;e=v[g+979188>>2];na=(e|0)>1?e:1;i=z[(s+16|0)+(I<<2)>>2];oa=v[g+979184>>2];g=0;while(1){k=g+oa|0;o=k>>4<<2;x=r<<4;e=v[o+(x+ma|0)>>2];f:{if(!e){break f}k=(k&15)<<2;h=v[k+e>>2];e=v[o+(x+la|0)>>2];g:{if(e){if(!h){break f}m=v[e+k>>2];if(!m){break g}e=u[h>>1];k=e>>31;y=C(C(((k^e+k)&65535)>>>0)-C(u[m>>1]));if(I){K=u[h+2>>1];M=K>>31;N=u[h+4>>1];O=N>>31;P=u[h+6>>1];Q=P>>31;R=u[h+8>>1];S=R>>31;T=u[h+10>>1];U=T>>31;V=u[h+12>>1];W=V>>31;X=u[h+14>>1];Y=X>>31;Z=u[h+16>>1];_=Z>>31;$=u[h+18>>1];aa=$>>31;ba=u[h+20>>1];ca=ba>>31;F=u[h+22>>1];da=F>>31;x=u[h+24>>1];ea=x>>31;o=u[h+26>>1];fa=o>>31;k=u[h+28>>1];ga=k>>31;e=u[h+30>>1];h=e>>31;f=C(d+C(y*C(i*y)));d=C(C(((M^M+K)&65535)>>>0)-C(u[m+2>>1]));f=C(f+C(d*C(i*d)));d=C(C(((O^O+N)&65535)>>>0)-C(u[m+4>>1]));f=C(f+C(d*C(i*d)));d=C(C(((Q^Q+P)&65535)>>>0)-C(u[m+6>>1]));f=C(f+C(d*C(i*d)));d=C(C(((S^S+R)&65535)>>>0)-C(u[m+8>>1]));f=C(f+C(d*C(i*d)));d=C(C(((U^U+T)&65535)>>>0)-C(u[m+10>>1]));f=C(f+C(d*C(i*d)));d=C(C(((W^W+V)&65535)>>>0)-C(u[m+12>>1]));f=C(f+C(d*C(i*d)));d=C(C(((Y^Y+X)&65535)>>>0)-C(u[m+14>>1]));f=C(f+C(d*C(i*d)));d=C(C(((_^_+Z)&65535)>>>0)-C(u[m+16>>1]));f=C(f+C(d*C(i*d)));d=C(C(((aa^aa+$)&65535)>>>0)-C(u[m+18>>1]));f=C(f+C(d*C(i*d)));d=C(C(((ca^ca+ba)&65535)>>>0)-C(u[m+20>>1]));f=C(f+C(d*C(i*d)));d=C(C(((da^F+da)&65535)>>>0)-C(u[m+22>>1]));f=C(f+C(d*C(i*d)));d=C(C(((ea^x+ea)&65535)>>>0)-C(u[m+24>>1]));f=C(f+C(d*C(i*d)));d=C(C(((fa^o+fa)&65535)>>>0)-C(u[m+26>>1]));f=C(f+C(d*C(i*d)));d=C(C(((ga^k+ga)&65535)>>>0)-C(u[m+28>>1]));f=C(f+C(d*C(i*d)));d=C(C(((h^e+h)&65535)>>>0)-C(u[m+30>>1]));d=C(f+C(d*C(i*d)));break f}i=C(12.79224967956543);K=u[h+2>>1];M=K>>31;N=u[h+4>>1];O=N>>31;P=u[h+6>>1];Q=P>>31;R=u[h+8>>1];S=R>>31;T=u[h+10>>1];U=T>>31;V=u[h+12>>1];W=V>>31;X=u[h+14>>1];Y=X>>31;Z=u[h+16>>1];_=Z>>31;$=u[h+18>>1];aa=$>>31;ba=u[h+20>>1];ca=ba>>31;F=u[h+22>>1];da=F>>31;x=u[h+24>>1];ea=x>>31;o=u[h+26>>1];fa=o>>31;k=u[h+28>>1];ga=k>>31;e=u[h+30>>1];h=e>>31;f=C(d+C(y*C(y*C(2627.989013671875))));d=C(C(((M^M+K)&65535)>>>0)-C(u[m+2>>1]));f=C(f+C(d*C(d*C(183.289306640625))));d=C(C(((O^O+N)&65535)>>>0)-C(u[m+4>>1]));f=C(f+C(d*C(d*C(183.2958984375))));d=C(C(((Q^Q+P)&65535)>>>0)-C(u[m+6>>1]));f=C(f+C(d*C(d*C(51.14690017700195))));d=C(C(((S^S+R)&65535)>>>0)-C(u[m+8>>1]));f=C(f+C(d*C(d*C(45.833438873291016))));d=C(C(((U^U+T)&65535)>>>0)-C(u[m+10>>1]));f=C(f+C(d*C(d*C(45.833438873291016))));d=C(C(((W^W+V)&65535)>>>0)-C(u[m+12>>1]));f=C(f+C(d*C(d*C(45.833438873291016))));d=C(C(((Y^Y+X)&65535)>>>0)-C(u[m+14>>1]));f=C(f+C(d*C(d*C(45.833438873291016))));d=C(C(((_^_+Z)&65535)>>>0)-C(u[m+16>>1]));f=C(f+C(d*C(d*C(45.83462142944336))));d=C(C(((aa^aa+$)&65535)>>>0)-C(u[m+18>>1]));f=C(f+C(d*C(d*C(45.83462142944336))));d=C(C(((ca^ca+ba)&65535)>>>0)-C(u[m+20>>1]));f=C(f+C(d*C(d*C(45.83462142944336))));d=C(C(((da^F+da)&65535)>>>0)-C(u[m+22>>1]));f=C(f+C(d*C(d*C(45.83462142944336))));d=C(C(((ea^x+ea)&65535)>>>0)-C(u[m+24>>1]));f=C(f+C(d*C(d*C(12.79224967956543))));d=C(C(((fa^o+fa)&65535)>>>0)-C(u[m+26>>1]));f=C(f+C(d*C(d*C(12.79224967956543))));d=C(C(((ga^k+ga)&65535)>>>0)-C(u[m+28>>1]));f=C(f+C(d*C(d*C(12.79224967956543))));d=C(C(((h^e+h)&65535)>>>0)-C(u[m+30>>1]));d=C(f+C(d*C(d*C(12.79224967956543))));break f}if(!h){break f}}y=C(u[h>>1]);if(I){f=C(d+C(C(i*y)*y));d=C(u[h+2>>1]);f=C(f+C(C(i*d)*d));d=C(u[h+4>>1]);f=C(f+C(C(i*d)*d));d=C(u[h+6>>1]);f=C(f+C(C(i*d)*d));d=C(u[h+8>>1]);f=C(f+C(C(i*d)*d));d=C(u[h+10>>1]);f=C(f+C(C(i*d)*d));d=C(u[h+12>>1]);f=C(f+C(C(i*d)*d));d=C(u[h+14>>1]);f=C(f+C(C(i*d)*d));d=C(u[h+16>>1]);f=C(f+C(C(i*d)*d));d=C(u[h+18>>1]);f=C(f+C(C(i*d)*d));d=C(u[h+20>>1]);f=C(f+C(C(i*d)*d));d=C(u[h+22>>1]);f=C(f+C(C(i*d)*d));d=C(u[h+24>>1]);f=C(f+C(C(i*d)*d));d=C(u[h+26>>1]);f=C(f+C(C(i*d)*d));d=C(u[h+28>>1]);f=C(f+C(C(i*d)*d));d=C(u[h+30>>1]);d=C(f+C(C(i*d)*d));break f}i=C(12.79224967956543);f=C(d+C(C(y*C(2627.989013671875))*y));d=C(u[h+2>>1]);f=C(f+C(C(d*C(183.289306640625))*d));d=C(u[h+4>>1]);f=C(f+C(C(d*C(183.2958984375))*d));d=C(u[h+6>>1]);f=C(f+C(C(d*C(51.14690017700195))*d));d=C(u[h+8>>1]);f=C(f+C(C(d*C(45.833438873291016))*d));d=C(u[h+10>>1]);f=C(f+C(C(d*C(45.833438873291016))*d));d=C(u[h+12>>1]);f=C(f+C(C(d*C(45.833438873291016))*d));d=C(u[h+14>>1]);f=C(f+C(C(d*C(45.833438873291016))*d));d=C(u[h+16>>1]);f=C(f+C(C(d*C(45.83462142944336))*d));d=C(u[h+18>>1]);f=C(f+C(C(d*C(45.83462142944336))*d));d=C(u[h+20>>1]);f=C(f+C(C(d*C(45.83462142944336))*d));d=C(u[h+22>>1]);f=C(f+C(C(d*C(45.83462142944336))*d));d=C(u[h+24>>1]);f=C(f+C(C(d*C(12.79224967956543))*d));d=C(u[h+26>>1]);f=C(f+C(C(d*C(12.79224967956543))*d));d=C(u[h+28>>1]);f=C(f+C(C(d*C(12.79224967956543))*d));d=C(u[h+30>>1]);d=C(f+C(C(d*C(12.79224967956543))*d))}g=g+1|0;if((na|0)!=(g|0)){continue}break}I=I+1|0;if((I|0)!=10){continue}break}z[(r<<2)+A>>2]=d*C(.0009765625);r=r+1|0;if((E|0)!=(r|0)){continue}break}A=v[s+12>>2]}o=0;r=E-1|0;ja=H((1-+n)*+(r|0)+.5);h:{if(D(ja)<2147483648){e=~~ja;break h}e=-2147483648}e=(e|0)<(E|0)?(e|0)>0?e:0:r;if((e|0)>0){while(1){g=(r<<2)+A|0;i=z[g>>2];x=(o<<2)+A|0;d=z[x>>2];if(i>2]=i;z[g>>2]=d;i=d;d=z[x>>2]}n=z[((r+o|0)/2<<2)+A>>2];i:{if(!(n>2]=n;i=z[g>>2]}j:{if(!(d>i)){n=i;i=d;break j}z[g>>2]=d;n=d}k=o;if((r|0)>(k|0)){d=z[x>>2];g=r;while(1){if(d>n){z[(k<<2)+A>>2]=n;z[(g<<2)+A>>2]=d;n=d}while(1){d=z[(k<<2)+A>>2];if(i>d|(g|0)>(k|0)&d==i){k=k+1|0;continue}else{k:{if(!(i>2];if(n>i){continue}break}}}break}if((g|0)>(k|0)){continue}break}}g=(e|0)<(k|0);r=g?k-1|0:r;o=g?o:k;if((e|0)>(o|0)){continue}break}A=v[s+12>>2]}i=C(0);l:{if((e|0)>=(E|0)){break l}r=(e^-1)+E|0;o=E-e&3;m:{if(!o){k=e;break m}g=e;while(1){i=C(i+z[(g<<2)+A>>2]);k=g+1|0;g=k;o=o-1|0;if(o){continue}break}}if(r>>>0<3){break l}while(1){g=(k<<2)+A|0;i=C(C(C(C(i+z[g>>2])+z[g+4>>2])+z[g+8>>2])+z[g+12>>2]);k=k+4|0;if((E|0)!=(k|0)){continue}break}}ec(ka);Ma=s- -64|0;n=C(C(266342400)/C(i/C(E-e|0)));k=(q(n),j(2));n:{o:{p:{if(!(k>>>0>=8388608&(k|0)>-1)){d=C(C(-1)/C(n*n));if(!(k&2147483647)){break n}d=C(C(n-n)/C(0));if((k|0)<=-1){break n}k=(q(C(n*C(33554432))),j(2));g=-152;break p}if(k>>>0>2139095039){break o}g=-127;n=C(0);if((k|0)==1065353216){break o}}e=k+4913933|0;i=C((e>>>23|0)+g|0);ha=C((l(2,(e&8388607)+1060439283|0),p())+C(-1));d=C(ha/C(ha+C(2)));n=C(d*d);y=C(n*n);f=d;d=C(ha*C(ha*C(.5)));n=C(C(i*C(.6931381225585938))+C(ha+C(C(C(i*C(905800061445916e-20))+C(f*C(d+C(C(n*C(C(y*C(.2849878668785095))+C(.6666666269302368)))+C(y*C(C(y*C(.24279078841209412))+C(.40000972151756287)))))))-d)))}d=n}n=C(+d*10/2.302585125)}q:{if(!v[a+64>>2]){break q}e=v[a+60>>2];if(!e|v[a+36>>2]>(v[a+24>>2]+J|0)){break q}k=Qa[v[v[e>>2]+8>>2]](e,ia)|G;e=v[a+64>>2];G=k|Qa[v[v[e>>2]+8>>2]](e,ia)}J=J+1|0;if(G){d=z[c+8>>2];if(!(d>C(0))){continue}if(d<=n){break d}continue}break}G=0}g=v[t+16>>2];c=0;v[t+16>>2]=0;r:{if(!g){break r}e=v[g+4>>2]-1|0;v[g+4>>2]=e;if(e){break r}e=v[g+4>>2];if(!e){v[g+4>>2]=-32767}if(!e){Qa[v[v[g>>2]+4>>2]](g)}}e=w[a+28|0];g=v[b>>2];if(g){v[g+4>>2]=v[g+4>>2]+1;c=v[b>>2]}mg(c,e);mg(c,J&255);s:{if(!c){break s}e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(e){break s}e=v[c+4>>2];if(!e){v[c+4>>2]=-32767}if(!e){Qa[v[v[c>>2]+4>>2]](c)}}t:{if(v[a+28>>2]){break t}e=!v[a+20>>2]|!v[a+16>>2];c=v[b>>2];if(c){v[c+4>>2]=v[c+4>>2]+1;c=v[b>>2]}else{c=0}mg(c,e?129:1);mg(c,2);u:{if(!c){break u}e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(e){break u}e=v[c+4>>2];if(!e){v[c+4>>2]=-32767}if(!e){Qa[v[v[c>>2]+4>>2]](c)}}c=0;e=v[a+36>>2];x=(e|0)>0?e:0;r=!v[a+40>>2]<<7;e=v[a+12>>2];o=v[e+8>>2];k=o>>>8|0;g=v[e+4>>2];e=g>>>8|0;F=v[b>>2];if(F){v[F+4>>2]=v[F+4>>2]+1;c=v[b>>2]}mg(c,e&255);mg(c,g&255);mg(c,k&255);mg(c,o&255);mg(c,r|x&255);if(!c){break t}e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(e){break t}e=v[c+4>>2];if(!e){v[c+4>>2]=-32767}if(!e){Qa[v[v[c>>2]+4>>2]](c)}}Qa[v[v[B>>2]+20>>2]](B,0,0,0)|0;Rg(v[b>>2],B);pa=a,qa=(Qa[v[v[B>>2]+16>>2]](B)|0)+v[a+32>>2]|0,v[pa+32>>2]=qa;v[a+24>>2]=v[a+24>>2]+J;v[a+28>>2]=v[a+28>>2]+1;b=v[t+24>>2];v[t+24>>2]=0;v:{if(!b){break v}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break v}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}}Ma=t+48|0;return G|0}lb(mb(t+24|0,319566,242076,1683,334062));L()}lb(mb(t+24|0,319246,242076,1685,334062));L()}function IM(a,b,c){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,p=0,q=0,r=0,s=0;m=Ma-992|0;Ma=m;v[a>>2]=0;j=m+8|0;v[j>>2]=0;v[j>>2]=0;a:{if(!b|!c){break a}d=1;b:{c:{d:{e:{f:{if(H5(j,b,c)){break f}g:{h:{i:{j:{k:{l:{if(c>>>0>=4){d=2;if(!Kb(b,3238,4)){break f}m:{n:{if(c>>>0>=6){if(!Kb(b,7905,6)){break f}if(!Kb(b,11005,6)){break f}if(c>>>0>15){break n}}e=w[b|0];break m}e=w[b|0];o:{if((e|0)!=137|w[b+1|0]!=80|(w[b+2|0]!=78|w[b+3|0]!=71)){break o}if(w[b+4|0]!=13|w[b+5|0]!=10|(w[b+6|0]!=26|w[b+7|0]!=10)){break o}if(w[b+8|0]|w[b+9|0]|(w[b+10|0]|w[b+11|0]!=13)){break o}if(w[b+12|0]!=73|w[b+13|0]!=72|w[b+14|0]!=68){break o}d=4;if(w[b+15|0]==82){break f}}if(c>>>0<17){break m}p:{q:{switch(w[b+1|0]){case 1:switch(w[b+2|0]-1|0){case 0:case 8:break p;default:break m};case 0:break q;default:break m}}d=w[b+2|0];if(d>>>0>11|!(1<>>3)&255)>>>0<4){break f}}if((e|0)!=10|w[b+1|0]>5){break l}d=8;e=w[b+3|0]-1&255;if(e>>>0>=8|!(139>>>e&1)){break l}break f}if((c|0)!=3){break k}}if(!(w[b|0]!=255|w[b+1|0]!=216|w[b+2|0]!=255)){d=3;break f}if(c>>>0>43){break j}}d=w[b|0];break i}d=w[b|0];if((d|0)!=1){break i}if(w[b+1|0]|w[b+2|0]|(w[b+3|0]|w[b+40|0]!=32)){break h}if(w[b+41|0]!=69|w[b+42|0]!=77){break h}d=21;if(w[b+43|0]!=70){break h}break f}if(!((d&255)!=215|c>>>0<6)){if(w[b+1|0]!=205|w[b+2|0]!=198|(w[b+4|0]|w[b+3|0]!=154)){break e}if(w[b+5|0]){break e}d=10;break f}if((d&255)!=1){break g}}if(w[b+1|0]|w[b+2|0]!=9|(w[b+3|0]|w[b+4|0])){break e}d=10;if(w[b+5|0]!=3){break e}break f}r:{s:{if(!((d&255)!=73|c>>>0<4)){if(w[b+1|0]!=73){break e}if(w[b+3|0]|w[b+2|0]!=42){break s}break r}t:{switch((d&255)-73|0){case 4:if(w[b+2|0]|w[b+1|0]!=77){break e}d=6;if(w[b+3|0]==42){break f}break e;case 0:break t;default:break e}}if(w[b+1|0]!=73){break e}}if(w[b+3|0]|w[b+2|0]!=42){break e}}d=6}v[j>>2]=d;g=c>>>0>15;break d}g=c>>>0>15;d=0;if(w[b+1|0]|(w[b|0]|c>>>0<16)){break d}e=v[b+18>>2];if(e>>>0>=c-40>>>0){break d}f=v[(b+e|0)+4>>2];e=w[b+6|0];if((f|0)!=((e?e:256)|0)){break d}d=5;v[j>>2]=5;e=22;if(mC(j,b,c)){break c}break b}e=22;if(mC(j,b,c)){break c}if(d){break b}u:{if(w[b|0]!=56|c>>>0<12|(w[b+1|0]!=66|w[b+2|0]!=80)){break u}if(w[b+6|0]|w[b+3|0]!=83|(w[b+7|0]|w[b+8|0]!=24)){break u}if(w[b+9|0]|w[b+10|0]){break u}e=20;if(w[b+11|0]==24){break c}}v:{if(!g|w[b|0]!=89|(w[b+1|0]!=166|w[b+2|0]!=106)){break v}if(w[b+5|0]|(w[b+4|0]|w[b+3|0]!=149)){break v}e=15;if(w[b+15|0]==24){break c}}d=0;if(w[b|0]!=255|c>>>0<52|(w[b+1|0]!=79|w[b+2|0]!=255)){break b}e=11;if(w[b+3|0]!=81){break b}}v[j>>2]=e;d=e}if(N4(j,b,c)){v[j>>2]=11;d=11}w:{x:{y:{if(!G4(j,b,c)){if(cC(j,b,c)){break y}if(d){break w}if(c>>>0>=6){break x}break w}v[j>>2]=11;if(!cC(j,b,c)){break w}}v[j>>2]=0;if(c>>>0<=5){break w}}z:{A:{if(w[b|0]!=86|w[b+1|0]!=67|(w[b+2|0]!=76|w[b+3|0]!=77)){break A}if(w[b+4|0]!=84|w[b+5|0]!=70|(w[b+9|0]|w[b+10|0])){break A}if(w[b+11|0]){break A}v[j>>2]=0;if(c>>>0>9){break z}break w}if(c>>>0<10){break w}}B:{C:{switch(w[b|0]-67|0){case 3:if(w[b+1|0]!=87|w[b+2|0]!=83){break w}if(!w[b+9|0]){break B}break w;case 0:break C;default:break w}}if(w[b+1|0]!=87|w[b+2|0]!=83|(w[b+8|0]!=120|w[b+9|0]!=156)){break w}}v[j>>2]=0}l=Ma-32|0;Ma=l;e=0;D:{if(v[j>>2]){break D}E:{if(w[b|0]!=60|c>>>0<6|(w[b+1|0]!=63|w[b+2|0]!=120)){break E}if(w[b+3|0]!=109|w[b+4|0]!=108|w[b+5|0]!=32){break E}n=o4(l+16|0,b,c);e=n;o=lj(l,13289);i=o;d=w[e+11|0];g=d<<24>>24<0;f=g?v[e+4>>2]:d;k=w[i+11|0];p=k<<24>>24<0;k=p?v[i+4>>2]:k;d=0;F:{if(!k){break F}g=g?v[e>>2]:e;e=g+f|0;f=g;d=e-f|0;G:{H:{if((k|0)>(d|0)){break H}i=p?v[i>>2]:i;p=w[i|0];while(1){d=d-k|0;q=d+1|0;if(q>>>0>>0){break H}d=ag(f,p,q);if(!d){break H}if(!Jb(d,i,k)){break G}f=d+1|0;d=e-f|0;if((k|0)<=(d|0)){continue}break}}d=e}d=(d|0)==(e|0)?-1:d-g|0}if(t[o+11|0]<=-1){$a(v[o>>2])}if(t[n+11|0]<=-1){$a(v[n>>2])}e=1;if((d|0)!=-1){break D}}e=0}Ma=l+32|0;if(!e){break a}v[j>>2]=24}d=v[j>>2];v[a>>2]=d;I:{if((d|0)==11){t[m+19|0]=0;v[m+8>>2]=0;j=!w[a+40|0];g=Ma-8240|0;Ma=g;eb(g+24|0,0,8212);d=0;J:{if(!b){break J}K:{L:{if((c|0)>=32){e=w[b|0];if(e){break L}if(w[b+1|0]|w[b+2|0]|(w[b+3|0]!=12|w[b+4|0]!=106)){break K}if(w[b+5|0]!=80|w[b+6|0]!=32|(w[b+7|0]!=32|w[b+8|0]!=13)){break K}if(w[b+9|0]!=10|w[b+10|0]!=135|(w[b+12|0]|w[b+11|0]!=10)){break K}if(w[b+13|0]|w[b+14|0]|(w[b+16|0]!=102|w[b+17|0]!=116)){break K}if(w[b+18|0]!=121|w[b+19|0]!=112|(w[b+20|0]!=106|w[b+21|0]!=112)){break K}if(w[b+22|0]!=50|w[b+23|0]!=32|(w[b+24|0]|w[b+25|0])){break K}if(w[b+26|0]){break K}d=!w[b+27|0];break K}if((c|0)<4){break J}e=w[b|0]}M:{if((e|0)!=255){break M}if(w[b+1|0]!=79){e=255;break M}e=255;if(w[b+2|0]!=255){break M}d=(w[b+3|0]==81)<<1}if(e|(c|0)<32){break J}}if(w[b+1|0]|w[b+2|0]|(w[b+3|0]!=12|w[b+4|0]!=106)){break J}if(w[b+5|0]!=80|w[b+6|0]!=32|(w[b+7|0]!=32|w[b+8|0]!=13)){break J}if(w[b+9|0]!=10|w[b+10|0]!=135|(w[b+12|0]|w[b+11|0]!=10)){break J}if(w[b+13|0]|w[b+14|0]|(w[b+15|0]!=24|w[b+16|0]!=102)){break J}if(w[b+17|0]!=116|w[b+18|0]!=121|(w[b+19|0]!=112|w[b+20|0]!=109)){break J}if(w[b+21|0]!=106|w[b+22|0]!=112|(w[b+24|0]|w[b+23|0]!=50)){break J}if(w[b+25|0]|w[b+26|0]|(w[b+27|0]|w[b+28|0]!=109)){break J}if(w[b+29|0]!=106|w[b+30|0]!=112){break J}d=w[b+31|0]==50?3:d}N:{O:{P:{switch(d-1|0){case 0:e=gb(24);d=0;Q:{if(!e){break Q}v[e>>2]=0;v[e+4>>2]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;t[e|0]=1;d=Z4(e);v[e+12>>2]=d;if(!d){$a(e);d=0;break Q}v[e+4>>2]=2;v[e+8>>2]=0;h=v[d+4>>2];f=g+24|0;R:{if(!h|!f){break R}i=gb(96);if(!i){v[v[h>>2]+20>>2]=1;break R}i=eb(i,0,96);v[i+12>>2]=v[f>>2];v[i+16>>2]=v[f+4>>2];v[i+20>>2]=v[f+8>>2];v[h+44>>2]=i}S:{T:{U:{if(v[e+20>>2]){Nn(h);b=v[d+80>>2];if(b){$a(b);v[d+80>>2]=0}b=v[d+68>>2];if(b){$a(b);v[d+68>>2]=0}b=0;c=v[d+64>>2];if(c){break U}break T}d=ab(20);c=CL(d,b,c);b=Y4(v[e+12>>2],c);Qa[v[v[d>>2]+4>>2]](c);d=v[e+12>>2];if(!d){break S}Nn(v[d+4>>2]);c=v[d+80>>2];if(c){$a(c);v[d+80>>2]=0}c=v[d+68>>2];if(c){$a(c);v[d+68>>2]=0}c=v[d+64>>2];if(!c){break T}}$a(c)}$a(d)}$a(e);d=b}if(d){break O}break N;case 2:d=0;e=gb(24);V:{if(!e){break V}v[e>>2]=0;v[e+4>>2]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;t[e|0]=1;d=gb(104);if(!d){$a(e);d=0;break V}h=g+24|0;f=eb(d,0,104);v[f>>2]=e;W:{d=gb(56);if(d){v[d>>2]=0;v[d+4>>2]=0;v[d+48>>2]=0;v[d+52>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=0;v[d+36>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=e;i=gb(1876);if(i){break W}$a(d)}v[f+4>>2]=0;v[e+20>>2]=1;Ot(f);$a(e);d=0;break V}r=d,s=eb(i,0,1876),v[r+36>>2]=s;v[f+4>>2]=d;v[e+8>>2]=d;v[e+16>>2]=f;v[e+4>>2]=3;v[f+52>>2]=0;v[f+44>>2]=0;v[f+48>>2]=0;X:{if(h){i=gb(96);if(!i){break X}f=eb(i,0,96);v[f+12>>2]=v[h>>2];v[f+16>>2]=v[h+4>>2];v[f+20>>2]=v[h+8>>2];v[d+44>>2]=f}f=ab(20);b=CL(f,b,c);d=W4(v[e+16>>2],b);Qa[v[v[f>>2]+4>>2]](b);Ot(v[e+16>>2]);$a(e);break V}v[e+20>>2]=1;Ot(f);$a(e);d=0}if(d){break O}break N;case 1:break P;default:break N}}e=gb(24);d=0;Y:{if(!e){break Y}f=g+24|0;v[e>>2]=0;v[e+4>>2]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;t[e|0]=1;Z:{d=gb(56);if(d){v[d>>2]=0;v[d+4>>2]=0;v[d+48>>2]=0;v[d+52>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=0;v[d+36>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=e;h=gb(1876);if(!h){$a(d);$a(e);d=0;break Y}r=d,s=eb(h,0,1876),v[r+36>>2]=s;v[e+12>>2]=0;v[e+8>>2]=d;v[e+4>>2]=0;if(f){h=gb(96);if(!h){break Z}h=eb(h,0,96);v[h+12>>2]=v[f>>2];v[h+16>>2]=v[f+4>>2];v[h+20>>2]=v[f+8>>2];v[d+44>>2]=h}d=ab(20);b=CL(d,b,c);h=lC(v[e+8>>2],b);Qa[v[v[d>>2]+4>>2]](b);Nn(v[e+8>>2])}$a(e);d=h;break Y}v[e+20>>2]=1;Nn(d);$a(e);d=0}if(!d){break N}}b=v[d+24>>2];e=v[b+8>>2];v[g+20>>2]=e;f=v[b+12>>2];v[g+16>>2]=f;c=0;e=B(e,f)<<2;_:{$:{if((e|0)<=0){a=v[d+16>>2];if((a|0)<=0){break $}while(1){e=B(c,48)+b|0;f=v[e+44>>2];if(f){$a(f);v[e+44>>2]=0;b=v[d+24>>2];a=v[d+16>>2]}c=c+1|0;if((c|0)<(a|0)){continue}break}if(b){break $}break _}v[a+4>>2]=v[g+20>>2];v[a+8>>2]=v[g+16>>2];v[g+12>>2]=v[g+20>>2]<<2;v[a+12>>2]=v[g+12>>2];b=ab(e);v[a+16>>2]=b;aa:{ba:{c=v[d+16>>2];if((c|0)==3){a=v[d+24>>2];c=v[a>>2];if((c|0)!=v[a+48>>2]|(c|0)!=v[a+96>>2]){break ba}c=v[a+4>>2];if((c|0)!=v[a+52>>2]|(c|0)!=v[a+100>>2]){break ba}c=v[a+24>>2];if((c|0)!=v[a+72>>2]|(c|0)!=v[a+120>>2]){break ba}c=v[a+40>>2];e=-1<>2]>>c;e=e+v[a+8>>2]>>c;l=B(k,e);if((l|0)<1){break aa}c=0;n=v[g+20>>2];while(1){f=(c|0)/(e|0)|0;f=B(n,k+(f^-1)|0)+(c-B(e,f)|0)<<2;h=w[f+v[a+140>>2]|0];i=w[f+v[a+44>>2]|0];a=v[f+v[a+92>>2]>>2];t[b+3|0]=255;t[b+1|0]=a;t[b+2|0]=j?i:h;t[b|0]=j?h:i;c=c+1|0;if((l|0)==(c|0)){break aa}b=b+4|0;a=v[d+24>>2];continue}}a=v[d+24>>2];if((c|0)<4){break ba}c=v[a>>2];if((c|0)!=v[a+48>>2]|(c|0)!=v[a+96>>2]|(c|0)!=v[a+144>>2]){break ba}c=v[a+4>>2];if((c|0)!=v[a+52>>2]|(c|0)!=v[a+100>>2]|(c|0)!=v[a+148>>2]){break ba}c=v[a+24>>2];if((c|0)!=v[a+72>>2]|(c|0)!=v[a+120>>2]|(c|0)!=v[a+168>>2]){break ba}c=v[a+40>>2];e=-1<>2]>>c;f=e+v[a+8>>2]>>c;l=B(k,f);if((l|0)<1){break aa}c=0;n=v[g+20>>2];while(1){e=(c|0)/(f|0)|0;e=B(n,k+(e^-1)|0)+(c-B(e,f)|0)<<2;h=w[e+v[a+140>>2]|0];i=w[e+v[a+44>>2]|0];o=v[e+v[a+92>>2]>>2];t[b+3|0]=v[e+v[a+188>>2]>>2];t[b+1|0]=o;t[b+2|0]=j?i:h;t[b|0]=j?h:i;c=c+1|0;if((l|0)==(c|0)){break aa}b=b+4|0;a=v[d+24>>2];continue}}c=v[a+40>>2];e=-1<>2]>>c;e=e+v[a+8>>2]>>c;h=B(f,e);if((h|0)<1){break aa}c=0;j=v[g+20>>2];while(1){i=v[a+44>>2];a=(c|0)/(e|0)|0;a=w[i+(B(j,f+(a^-1)|0)+(c-B(a,e)|0)<<2)|0];t[b+3|0]=255;t[b+2|0]=a;t[b+1|0]=a;t[b|0]=a;c=c+1|0;if((h|0)==(c|0)){break aa}b=b+4|0;a=v[d+24>>2];continue}}b=v[d+24>>2];if(!b){break _}c=0;a=v[d+16>>2];if((a|0)<=0){break $}while(1){e=B(c,48)+b|0;f=v[e+44>>2];if(f){$a(f);v[e+44>>2]=0;b=v[d+24>>2];a=v[d+16>>2]}c=c+1|0;if((c|0)<(a|0)){continue}break}if(!b){break _}}$a(b)}$a(d)}Ma=g+8240|0;if(t[m+19|0]>-1){break I}$a(v[m+8>>2]);break I}d=Ge(m+8|0,0);g=v[a>>2];e=Ma-32|0;Ma=e;b=DL(e,b,c);c=EB(d,b,g);kC(b);Ma=e+32|0;if(c){W5(d,a);r=a,s=jp(d),t[r+28|0]=s}v[d>>2]=1032;Tg(d);Cg(d)}Ma=m+992|0}function dn(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;m=Ma+-64|0;Ma=m;v[m+48>>2]=13;v[m+32>>2]=13;v[m+16>>2]=13;a:{b:{c:{d:{if((b|0)<0){break d}h=v[a+12>>2];if((h|0)<=(b|0)){break d}e:{f:{if(!(v[a+1168>>2]==(b|0)&v[a+1172>>2]==(c|0))){j=a+1192|0;if(v[j>>2]==(b|0)){f=1;if(v[a+1196>>2]==(c|0)){break b}}g:{p=a+1216|0;if(v[p>>2]!=(b|0)){break g}f=2;if(v[a+1220>>2]!=(c|0)){break g}j=p;break b}h:{q=a+1240|0;if(v[q>>2]!=(b|0)){break h}f=3;if(v[a+1244>>2]!=(c|0)){break h}j=q;break b}i:{r=a+1264|0;if(v[r>>2]!=(b|0)){break i}f=4;if(v[a+1268>>2]!=(c|0)){break i}j=r;break b}j:{n=a+1288|0;if(v[n>>2]!=(b|0)){break j}f=5;if(v[a+1292>>2]!=(c|0)){break j}j=n;break b}k:{l=a+1312|0;if(v[l>>2]!=(b|0)){break k}f=6;if(v[a+1316>>2]!=(c|0)){break k}j=l;break b}l:{s=a+1336|0;if(v[s>>2]!=(b|0)){break l}f=7;if(v[a+1340>>2]!=(c|0)){break l}j=s;break b}m:{t=a+1360|0;if(v[t>>2]!=(b|0)){break m}f=8;if(v[a+1364>>2]!=(c|0)){break m}j=t;break b}n:{u=a+1384|0;if(v[u>>2]!=(b|0)){break n}f=9;if(v[a+1388>>2]!=(c|0)){break n}j=u;break b}o:{w=a+1408|0;if(v[w>>2]!=(b|0)){break o}f=10;if(v[a+1412>>2]!=(c|0)){break o}j=w;break b}p:{x=a+1432|0;if(v[x>>2]!=(b|0)){break p}f=11;if(v[a+1436>>2]!=(c|0)){break p}j=x;break b}q:{y=a+1456|0;if(v[y>>2]!=(b|0)){break q}f=12;if(v[a+1460>>2]!=(c|0)){break q}j=y;break b}r:{z=a+1480|0;if(v[z>>2]!=(b|0)){break r}f=13;if(v[a+1484>>2]!=(c|0)){break r}j=z;break b}s:{A=a+1504|0;if(v[A>>2]!=(b|0)){break s}f=14;if(v[a+1508>>2]!=(c|0)){break s}j=A;break b}t:{E=a+1528|0;if(v[E>>2]!=(b|0)){break t}f=15;if(v[a+1532>>2]!=(c|0)){break t}j=E;break b}g=v[a+8>>2];f=g+B(b,12)|0;switch(v[f+8>>2]-1|0){case 0:break e;case 1:break f;default:break d}}ee(a+1176|0,d);break a}f=v[f>>2];if(!((f|0)<(h|0)&v[(g+B(f,12)|0)+8>>2]==1)){fb(1,-1,256461,0);break d}G=v[(g+B(b,12)|0)+4>>2];e=v[a+80>>2];u:{if(!(!e|(f|0)!=v[e>>2])){f=v[a+1108>>2];v[a+596>>2]=f;v[a+1108>>2]=f+1;break u}h=v[a+592>>2];if((h|0)>=2){e=1;while(1){g=v[((e<<2)+a|0)+80>>2];if(!(!g|(f|0)!=v[g>>2])){f=e;if(e&1){f=a+80|0;h=e<<2;F=f+h|0;k=f;f=e-1|0;i=f<<2;v[F>>2]=v[k+i>>2];k=h;h=a+596|0;v[k+h>>2]=v[i+h>>2]}if((e|0)!=1){h=a+80|0;i=a+596|0;while(1){e=f<<2;o=e-4|0;k=o+h|0;v[e+h>>2]=v[k>>2];o=i+o|0;v[e+i>>2]=v[o>>2];F=k;e=f-2|0;k=e<<2;v[F>>2]=v[k+h>>2];v[o>>2]=v[i+k>>2];k=(f|0)>2;f=e;if(k){continue}break}}v[a+80>>2]=g;e=v[a+1108>>2];v[a+596>>2]=e;v[a+1108>>2]=e+1;e=g;break u}e=e+1|0;if((h|0)!=(e|0)){continue}break}}F=ab(20);g=F;i=Ma-48|0;Ma=i;v[i+32>>2]=13;v[i+16>>2]=13;v[i>>2]=13;v[g+4>>2]=0;v[g+8>>2]=0;v[g>>2]=f;v[g+12>>2]=0;v[g+16>>2]=0;v:{if(v[dn(a,f,0,i+32|0,0)>>2]!=8){break v}e=v[i+40>>2];if(v[ib(Qa[v[v[e>>2]+76>>2]](e)|0,310866,i+16|0,0)>>2]!=1){bb(i+16|0);break v}v[g+4>>2]=v[i+24>>2];bb(i+16|0);if(v[g+4>>2]<1){break v}e=v[i+40>>2];if(v[ib(Qa[v[v[e>>2]+76>>2]](e)|0,225626,i+16|0,0)>>2]!=1){bb(i+16|0);break v}o=v[i+24>>2];bb(i+16|0);if((o|0)<0){break v}k=v[g+4>>2];if((k|0)>=1000001){fb(1,-1,256424,0);break v}C=k<<4;f=ab((k|0)!=(k&268435455)?-1:C);w:{if(!k){break w}D=C-16|0;h=(D>>>4|0)+1&7;x:{if(!h){e=f;break x}e=f;while(1){v[e>>2]=13;e=e+16|0;h=h-1|0;if(h){continue}break}}if(D>>>0<112){break w}h=f+C|0;while(1){v[e+112>>2]=13;v[e+96>>2]=13;v[e+80>>2]=13;v[e+64>>2]=13;v[e+48>>2]=13;v[e+32>>2]=13;v[e+16>>2]=13;v[e>>2]=13;e=e+128|0;if((h|0)!=(e|0)){continue}break}}v[g+8>>2]=f;I=g,J=Pb(k,4),v[I+12>>2]=J;f=Pb(v[g+4>>2],4);e=v[i+40>>2];Qa[v[v[e>>2]+20>>2]](e);v[i+16>>2]=5;e=0;h=dz(ab(40),v[i+40>>2],i+16|0,1,o);k=eq(ab(160),a,h);C=ab(56);h=so(C,a,k,0);y:{if(v[g+4>>2]>=1){while(1){Bg(h,i+16|0,1,0,0,0,0,0,0);Bg(h,i,1,0,0,0,0,0,0);z:{A:{if(!(v[i+16>>2]==1&v[i>>2]==1)){bb(i+16|0);bb(i);break A}D=e<<2;v[D+v[g+12>>2]>>2]=v[i+24>>2];H=f+D|0;v[H>>2]=v[i+8>>2];bb(i+16|0);bb(i);B:{if(v[D+v[g+12>>2]>>2]<0){break B}D=v[H>>2];if((D|0)<0){break B}if(!e|(D|0)>=v[H-4>>2]){break z}}}ml(h);$a(C);tb(f);break y}e=e+1|0;if((e|0)>2]){continue}break}}NU(k);ml(h);$a(C);e=v[f>>2];if((e|0)>(o|0)){h=v[i+40>>2];Qa[v[v[h>>2]+48>>2]](h,e-o|0)|0}h=v[g+4>>2];if((h|0)>=1){e=0;while(1){v[i+16>>2]=5;k=ab(40);o=v[i+40>>2];C:{if((h-1|0)==(e|0)){dz(k,o,i+16|0,0,0);h=e+1|0;break C}h=e+1|0;dz(k,o,i+16|0,1,v[f+(h<<2)>>2]-v[f+(e<<2)>>2]|0)}k=eq(ab(160),a,k);o=ab(56);C=so(o,a,k,0);Bg(C,v[g+8>>2]+(e<<4)|0,0,0,0,0,0,0,0);NU(k);ml(C);$a(o);e=h;h=v[g+4>>2];if((e|0)<(h|0)){continue}break}}tb(f);v[g+16>>2]=1}e=v[i+40>>2];Qa[v[v[e>>2]+24>>2]](e)}bb(i+32|0);Ma=i+48|0;if(!v[g+16>>2]){f=v[g+8>>2];D:{if(!f){break D}if(v[g+4>>2]>=1){e=0;while(1){bb((e<<4)+f|0);f=v[g+8>>2];e=e+1|0;if((e|0)>2]){continue}break}if(!f){break D}}$a(f)}tb(v[g+12>>2]);$a(F);e=0;break u}f=v[a+592>>2];if((f|0)==128){h=a;i=v[a+588>>2];if(i){f=v[i+8>>2];E:{if(!f){break E}if(v[i+4>>2]>=1){e=0;while(1){bb((e<<4)+f|0);f=v[i+8>>2];e=e+1|0;if((e|0)>2]){continue}break}if(!f){break E}}$a(f)}tb(v[i+12>>2]);$a(i);f=v[a+592>>2]-1|0}else{f=127}v[h+592>>2]=f}if((f|0)>=1){e=f;if(e&1){e=a+80|0;h=f<<2;C=e+h|0;k=e;e=f-1|0;i=e<<2;v[C>>2]=v[k+i>>2];k=h;h=a+596|0;v[k+h>>2]=v[i+h>>2]}if((f|0)!=1){h=a+80|0;i=a+596|0;while(1){f=e<<2;o=f-4|0;k=o+h|0;v[f+h>>2]=v[k>>2];o=i+o|0;v[f+i>>2]=v[o>>2];C=k;f=e-2|0;k=f<<2;v[C>>2]=v[k+h>>2];v[o>>2]=v[i+k>>2];k=(e|0)>2;e=f;if(k){continue}break}}f=v[a+592>>2]}v[a+80>>2]=F;v[a+592>>2]=f+1;e=v[a+1108>>2];v[a+596>>2]=e;v[a+1108>>2]=e+1;e=g}f=e;g=0;F:{if(!e){break F}e=v[a+592>>2];G:{if((e|0)<2){break G}e=e-1|0;if(v[a+1108>>2]-v[((e<<2)+a|0)+596>>2]>>>0<1001){break G}g=v[((e<<2)+a|0)+80>>2];if(g){h=v[g+8>>2];H:{if(!h){break H}if(v[g+4>>2]>=1){e=0;while(1){bb((e<<4)+h|0);h=v[g+8>>2];e=e+1|0;if((e|0)>2]){continue}break}if(!h){break H}}$a(h)}tb(v[g+12>>2]);$a(g);e=v[a+592>>2]-1|0}v[((e<<2)+a|0)+80>>2]=0;v[a+592>>2]=e}if(!(!((G|0)<0|v[f+4>>2]<=(G|0))&v[v[f+12>>2]+(G<<2)>>2]==(b|0))){v[d>>2]=5;g=1;break F}ee(v[f+8>>2]+(G<<4)|0,d);g=1}if(!g){break d}break c}if(v[f+4>>2]!=(c|0)){break d}v[m+48>>2]=5;g=ab(56);k=ab(160);h=v[a>>2];i=m+48|0;f=so(g,a,eq(k,a,Qa[v[v[h>>2]+92>>2]](h,v[f>>2]+v[a+4>>2]|0,0,0,i)|0),1);Bg(f,i,1,0,0,0,0,0,0);Bg(f,m+32|0,1,0,0,0,0,0,0);Bg(f,m+16|0,1,0,0,0,0,0,0);I:{J:{if(v[m+48>>2]!=1|v[m+56>>2]!=(b|0)|(v[m+32>>2]!=1|v[m+40>>2]!=(c|0))){break J}if(v[m+16>>2]!=10){break J}if(!hb(v[m+24>>2],263405)){break I}}bb(m+48|0);bb(m+32|0);bb(m+16|0);ml(f);$a(g);break d}Bg(f,d,0,v[a+1112>>2]?a+1124|0:0,v[a+1164>>2],v[a+1156>>2],b,c,e);bb(m+48|0);bb(m+32|0);bb(m+16|0);ml(f);$a(g);break c}v[d>>2]=5;break a}if(v[a+1528>>2]>=0){bb(a+1536|0)}e=v[A+4>>2];v[E>>2]=v[A>>2];v[E+4>>2]=e;e=v[A+20>>2];v[E+16>>2]=v[A+16>>2];v[E+20>>2]=e;e=v[A+12>>2];v[E+8>>2]=v[A+8>>2];v[E+12>>2]=e;e=v[z+20>>2];v[A+16>>2]=v[z+16>>2];v[A+20>>2]=e;e=v[z+12>>2];v[A+8>>2]=v[z+8>>2];v[A+12>>2]=e;e=v[z+4>>2];v[A>>2]=v[z>>2];v[A+4>>2]=e;e=v[y+20>>2];v[z+16>>2]=v[y+16>>2];v[z+20>>2]=e;e=v[y+12>>2];v[z+8>>2]=v[y+8>>2];v[z+12>>2]=e;e=v[y+4>>2];v[z>>2]=v[y>>2];v[z+4>>2]=e;e=v[x+20>>2];v[y+16>>2]=v[x+16>>2];v[y+20>>2]=e;e=v[x+12>>2];v[y+8>>2]=v[x+8>>2];v[y+12>>2]=e;e=v[x+4>>2];v[y>>2]=v[x>>2];v[y+4>>2]=e;e=v[w+20>>2];v[x+16>>2]=v[w+16>>2];v[x+20>>2]=e;e=v[w+12>>2];v[x+8>>2]=v[w+8>>2];v[x+12>>2]=e;e=v[w+4>>2];v[x>>2]=v[w>>2];v[x+4>>2]=e;e=v[u+20>>2];v[w+16>>2]=v[u+16>>2];v[w+20>>2]=e;e=v[u+12>>2];v[w+8>>2]=v[u+8>>2];v[w+12>>2]=e;e=v[u+4>>2];v[w>>2]=v[u>>2];v[w+4>>2]=e;e=v[t+20>>2];v[u+16>>2]=v[t+16>>2];v[u+20>>2]=e;e=v[t+12>>2];v[u+8>>2]=v[t+8>>2];v[u+12>>2]=e;e=v[t+4>>2];v[u>>2]=v[t>>2];v[u+4>>2]=e;e=v[s+20>>2];v[t+16>>2]=v[s+16>>2];v[t+20>>2]=e;e=v[s+12>>2];v[t+8>>2]=v[s+8>>2];v[t+12>>2]=e;e=v[s+4>>2];v[t>>2]=v[s>>2];v[t+4>>2]=e;e=v[l+20>>2];v[s+16>>2]=v[l+16>>2];v[s+20>>2]=e;e=v[l+12>>2];v[s+8>>2]=v[l+8>>2];v[s+12>>2]=e;e=v[l+4>>2];v[s>>2]=v[l>>2];v[s+4>>2]=e;e=v[n+20>>2];v[l+16>>2]=v[n+16>>2];v[l+20>>2]=e;e=v[n+12>>2];v[l+8>>2]=v[n+8>>2];v[l+12>>2]=e;e=v[n+4>>2];v[l>>2]=v[n>>2];v[l+4>>2]=e;e=v[r+20>>2];v[n+16>>2]=v[r+16>>2];v[n+20>>2]=e;e=v[r+12>>2];v[n+8>>2]=v[r+8>>2];v[n+12>>2]=e;e=v[r+4>>2];v[n>>2]=v[r>>2];v[n+4>>2]=e;e=v[q+20>>2];v[r+16>>2]=v[q+16>>2];v[r+20>>2]=e;e=v[q+12>>2];v[r+8>>2]=v[q+8>>2];v[r+12>>2]=e;e=v[q+4>>2];v[r>>2]=v[q>>2];v[r+4>>2]=e;e=v[p+20>>2];v[q+16>>2]=v[p+16>>2];v[q+20>>2]=e;e=v[p+12>>2];v[q+8>>2]=v[p+8>>2];v[q+12>>2]=e;e=v[p+4>>2];v[q>>2]=v[p>>2];v[q+4>>2]=e;e=v[j+20>>2];v[p+16>>2]=v[j+16>>2];v[p+20>>2]=e;e=v[j+12>>2];v[p+8>>2]=v[j+8>>2];v[p+12>>2]=e;e=v[j+4>>2];v[p>>2]=v[j>>2];v[p+4>>2]=e;e=v[a+1172>>2];v[j>>2]=v[a+1168>>2];v[j+4>>2]=e;e=a+1176|0;g=v[e+4>>2];v[j+8>>2]=v[e>>2];v[j+12>>2]=g;f=a+1184|0;g=v[f+4>>2];v[j+16>>2]=v[f>>2];v[j+20>>2]=g;v[a+1172>>2]=c;v[a+1168>>2]=b;ee(d,e);break a}p=v[(B(f,24)+a|0)+1176>>2];q=v[j>>2];r=v[j+4>>2];v[m+8>>2]=v[j+20>>2];b=v[j+16>>2];v[m>>2]=v[j+12>>2];v[m+4>>2]=b;e=f-1|0;c=f&3;if(c){while(1){b=B(f,24)+a|0;j=b+1184|0;g=b+1160|0;n=v[g+4>>2];v[j>>2]=v[g>>2];v[j+4>>2]=n;g=b+1152|0;n=v[g+4>>2];j=b+1176|0;v[j>>2]=v[g>>2];v[j+4>>2]=n;j=b+1168|0;b=b+1144|0;g=v[b+4>>2];v[j>>2]=v[b>>2];v[j+4>>2]=g;f=f-1|0;c=c-1|0;if(c){continue}break}}if(e>>>0>=3){while(1){b=B(f,24)+a|0;c=b+1160|0;j=v[c+4>>2];e=b+1184|0;v[e>>2]=v[c>>2];v[e+4>>2]=j;e=b+1152|0;n=v[e+4>>2];j=b+1176|0;v[j>>2]=v[e>>2];v[j+4>>2]=n;j=b+1144|0;l=v[j+4>>2];g=b+1168|0;v[g>>2]=v[j>>2];v[g+4>>2]=l;g=b+1136|0;l=v[g+4>>2];v[c>>2]=v[g>>2];v[c+4>>2]=l;c=b+1128|0;l=v[c+4>>2];v[e>>2]=v[c>>2];v[e+4>>2]=l;e=b+1120|0;l=v[e+4>>2];v[j>>2]=v[e>>2];v[j+4>>2]=l;j=b+1112|0;l=v[j+4>>2];v[g>>2]=v[j>>2];v[g+4>>2]=l;g=b+1104|0;l=v[g+4>>2];v[c>>2]=v[g>>2];v[c+4>>2]=l;c=b+1096|0;l=v[c+4>>2];v[e>>2]=v[c>>2];v[e+4>>2]=l;e=b+1072|0;n=v[e+4>>2];v[c>>2]=v[e>>2];v[c+4>>2]=n;c=b+1088|0;e=v[c+4>>2];v[j>>2]=v[c>>2];v[j+4>>2]=e;b=b+1080|0;c=v[b+4>>2];v[g>>2]=v[b>>2];v[g+4>>2]=c;b=(f|0)>4;f=f-4|0;if(b){continue}break}}v[a+1168>>2]=q;v[a+1172>>2]=r;b=a+1176|0;v[b>>2]=p;c=v[m+4>>2];v[a+1180>>2]=v[m>>2];v[a+1184>>2]=c;v[a+1188>>2]=v[m+8>>2];ee(b,d)}Ma=m- -64|0;return d}function Iz(a){var 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;j=Ma-48|0;Ma=j;a:{if(v[a+292>>2]){break a}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break a}oc(a)}c=v[a+36>>2];b:{while(1){c:{d:{i=v[c+16>>2];b=w[i|0];if((b|0)!=60){if(!b|v[a+172>>2]==-1){break b}m=v[c+36>>2];if((b|0)!=38){break d}dX(a);break c}b=w[i+1|0];if((b|0)==47|v[a+172>>2]==-1){break b}m=v[c+36>>2];e:{if((b|0)!=33){if((b|0)!=63){break e}Hs(a);break c}f:{if(w[i+2|0]!=91|w[i+3|0]!=67|(w[i+4|0]!=68|w[i+5|0]!=65)){break f}if(w[i+6|0]!=84|w[i+7|0]!=65|w[i+8|0]!=91){break f}h=0;k=0;g=Ma-16|0;Ma=g;e=v[a+36>>2];b=v[e+16>>2];g:{if(w[b|0]!=60|w[b+1|0]!=33|(w[b+2|0]!=91|w[b+3|0]!=67)){break g}if(w[b+4|0]!=68|w[b+5|0]!=65|(w[b+6|0]!=84|w[b+7|0]!=65)){break g}if(w[b+8|0]!=91){break g}v[a+200>>2]=v[a+200>>2]+9;v[e+16>>2]=b+9;v[e+32>>2]=v[e+32>>2]+9;b=w[b+9|0];if((b|0)==37){zc(a);e=v[a+36>>2];b=w[v[e+16>>2]]}h:{if(b&255){break h}if((Zb(e)|0)>0){break h}xc(a)}v[a+172>>2]=8;i:{e=Be(a,g+12|0);j:{if((e|0)<=255){if((e|0)>31){break i}if(!(1<>>0>13){break j}break i}if((e|0)<55296|e-65536>>>0<1048576|e-57344>>>0<8190){break i}}Md(a,63,0);v[a+172>>2]=7;break g}b=v[a+36>>2];c=v[b+16>>2];k:{if(w[c|0]==10){v[b+32>>2]=1;v[b+28>>2]=v[b+28>>2]+1;break k}v[b+32>>2]=v[b+32>>2]+1}d=b;b=c+v[g+12>>2]|0;v[d+16>>2]=b;if(w[b|0]==37){zc(a)}l:{c=Be(a,g+8|0);m:{if((c|0)<=255){if((c|0)>31){break l}if(!(1<>>0>13){break m}break l}if((c|0)<55296|c-65536>>>0<1048576|c-57344>>>0<8190){break l}}Md(a,63,0);v[a+172>>2]=7;break g}b=v[a+36>>2];d=v[b+16>>2];n:{if(w[d|0]==10){v[b+32>>2]=1;v[b+28>>2]=v[b+28>>2]+1;break n}v[b+32>>2]=v[b+32>>2]+1}f=b;b=d+v[g+8>>2]|0;v[f+16>>2]=b;if(w[b|0]==37){zc(a)}f=Be(a,g+4|0);l=100;d=Qa[v[256555]](100)|0;if(d){while(1){o:{p:{q:{r:{s:{if((f|0)<=255){if((f|0)>31){break r}if(!(1<>>0>13){break s}break q}if((f|0)<55296|f-65536>>>0<1048576|f-57344>>>0<8190){break q}}t[d+h|0]=0;v[a+172>>2]=7;He(a,63,339881,d);Qa[v[256556]](d);break g}if((e|0)!=93|(c|0)!=93){break q}if((f|0)==62){break p}}if((h+5|0)<(l|0)){b=d;break o}if(!(w[a+362|0]&8|(l|0)<10000001)){He(a,63,287245,0);Qa[v[256556]](d);break g}l=l<<1;b=Qa[v[256557]](d,l)|0;if(b){break o}Qa[v[256556]](d);Yc(a,0);break g}t[d+h|0]=0;v[a+172>>2]=7;b=v[a+36>>2];c=v[b+16>>2];t:{if(w[c|0]==10){v[b+32>>2]=1;v[b+28>>2]=v[b+28>>2]+1;break t}v[b+32>>2]=v[b+32>>2]+1}f=b;b=c+v[g+4>>2]|0;v[f+16>>2]=b;if(w[b|0]==37){zc(a)}b=v[a>>2];u:{if(v[a+212>>2]|!b){break u}e=v[b+100>>2];if(!e){e=v[b+68>>2];if(!e){break u}}Qa[e|0](v[a+4>>2],d,h)}Qa[v[256556]](d);break g}v:{if(v[g+12>>2]==1){t[b+h|0]=e;h=h+1|0;break v}h=ui(b+h|0,e)+h|0}v[g+12>>2]=v[g+8>>2];v[g+8>>2]=v[g+4>>2];w:{if((k|0)<50){k=k+1|0;break w}x:{if(v[a+292>>2]){break x}d=v[a+36>>2];if((v[d+20>>2]-v[d+16>>2]|0)>249){break x}oc(a)}k=0;if(v[a+172>>2]!=-1){break w}Qa[v[256556]](b);break g}d=v[a+36>>2];e=v[d+16>>2];y:{if(w[e|0]==10){v[d+32>>2]=1;v[d+28>>2]=v[d+28>>2]+1;break y}v[d+32>>2]=v[d+32>>2]+1}n=d;d=e+v[g+4>>2]|0;v[n+16>>2]=d;if(w[d|0]==37){zc(a)}e=c;c=f;f=Be(a,g+4|0);d=b;continue}}Yc(a,0)}Ma=g+16|0;break c}if(w[i+2|0]!=45|w[i+3|0]!=45){break e}Is(a);v[a+172>>2]=7;break c}d=Ma+-64|0;Ma=d;v[d+60>>2]=0;v[d+56>>2]=0;v[d+28>>2]=0;f=v[a+328>>2];b=v[256690];z:{if(!(w[a+362|0]&8|b>>>0>=y[a+188>>2])){Bk(a,1,341259,b);v[a+212>>2]=1;v[a+172>>2]=-1;c=v[a+36>>2];if(!c){break z}b=v[c+40>>2];if(b){Qa[b|0](v[c+12>>2]);c=v[a+36>>2];v[c+40>>2]=0}v[c+12>>2]=349015;v[c+16>>2]=349015;break z}if(v[a+68>>2]){b=v[a+36>>2];v[d+36>>2]=(v[b+36>>2]+v[b+16>>2]|0)-v[b+12>>2];v[d+40>>2]=v[b+28>>2]}c=v[a+236>>2];A:{if(!c){b=v[a+240>>2];B:{if((b|0)>=1){c=v[a+244>>2];b=0;break B}v[a+240>>2]=b<<1;c=Qa[v[256557]](v[a+244>>2],b<<3)|0;if(!c){Yc(a,0);v[a+240>>2]=v[a+240>>2]/2;break A}v[a+244>>2]=c;b=v[a+236>>2]}v[(b<<2)+c>>2]=-1;b=v[a+236>>2];v[a+236>>2]=b+1;v[a+232>>2]=(b<<2)+c;break A}b=v[a+240>>2];e=v[v[a+232>>2]>>2];if((e|0)==-2){C:{if((b|0)>(c|0)){b=v[a+244>>2];break C}v[a+240>>2]=b<<1;b=Qa[v[256557]](v[a+244>>2],b<<3)|0;if(!b){Yc(a,0);v[a+240>>2]=v[a+240>>2]/2;break A}v[a+244>>2]=b;c=v[a+236>>2]}v[(c<<2)+b>>2]=-1;c=v[a+236>>2];v[a+236>>2]=c+1;v[a+232>>2]=(c<<2)+b;break A}D:{if((b|0)>(c|0)){b=v[a+244>>2];break D}v[a+240>>2]=b<<1;b=Qa[v[256557]](v[a+244>>2],b<<3)|0;if(!b){Yc(a,0);v[a+240>>2]=v[a+240>>2]/2;break A}v[a+244>>2]=b;c=v[a+236>>2]}v[(c<<2)+b>>2]=e;c=v[a+236>>2];v[a+236>>2]=c+1;v[a+232>>2]=(c<<2)+b}g=v[v[a+36>>2]+28>>2];E:{if(v[a+324>>2]){c=YW(a,d+60|0,d+56|0,d+28|0);break E}c=$W(a)}if(v[a+172>>2]==-1){break z}if(!c){b=v[a+236>>2];if((b|0)<1){break z}c=b-1|0;v[a+236>>2]=c;f=((b|0)==1?0:b-2|0)<<2;b=v[a+244>>2];v[a+232>>2]=f+b;v[b+(c<<2)>>2]=-1;break z}F:{G:{e=v[a+188>>2];b=v[a+192>>2];H:{if((e|0)<(b|0)){b=v[a+196>>2];break H}b=Qa[v[256557]](v[a+196>>2],b<<3)|0;if(!b){break G}v[a+196>>2]=b;v[a+192>>2]=v[a+192>>2]<<1;e=v[a+188>>2]}v[(e<<2)+b>>2]=c;v[a+188>>2]=e+1;v[a+184>>2]=c;break F}Yc(a,0)}h=v[a+52>>2];I:{J:{K:{e=v[a+36>>2];b=v[e+16>>2];k=w[b|0]-47|0;if(k){if((k|0)==15){break K}else{break J}}if(w[b+1|0]!=62){break J}v[a+200>>2]=v[a+200>>2]+2;v[e+16>>2]=b+2;v[e+32>>2]=v[e+32>>2]+2;b=w[b+2|0];if((b|0)==37){zc(a);e=v[a+36>>2];b=w[v[e+16>>2]]}L:{if(b&255){break L}if((Zb(e)|0)>0){break L}xc(a)}b=v[a>>2];M:{if(v[a+324>>2]){if(!b){break M}b=v[b+120>>2];if(v[a+212>>2]|!b){break M}Qa[b|0](v[a+4>>2],c,v[d+60>>2],v[d+56>>2]);break M}if(!b){break M}b=v[b+60>>2];if(v[a+212>>2]|!b){break M}Qa[b|0](v[a+4>>2],c)}c=v[a+188>>2];if((c|0)>=1){g=c-1|0;v[a+188>>2]=g;e=v[a+196>>2];v[a+184>>2]=(c|0)!=1?v[(e+(c<<2)|0)-8>>2]:0;v[e+(g<<2)>>2]=0}b=v[a+236>>2];if((b|0)>=1){c=b-1|0;v[a+236>>2]=c;e=((b|0)==1?0:b-2|0)<<2;b=v[a+244>>2];v[a+232>>2]=e+b;v[b+(c<<2)>>2]=-1}c=v[a+328>>2];N:{if(!v[a+336>>2]|(f|0)==(c|0)){break N}b=c-f|0;if((f|0)<=-1){v[d+16>>2]=b;Qa[v[256654]](v[291043],345520,d+16|0);c=v[a+328>>2];b=c}if((c|0)<1|(b|0)<1){break N}f=b&3;if(b-1>>>0>=3){e=b&-4;while(1){b=c<<2;v[(b+v[a+336>>2]|0)-4>>2]=0;v[(b+v[a+336>>2]|0)-8>>2]=0;v[(b+v[a+336>>2]|0)-12>>2]=0;c=c-4|0;v[v[a+336>>2]+(c<<2)>>2]=0;e=e-4|0;if(e){continue}break}}if(f){while(1){c=c-1|0;v[v[a+336>>2]+(c<<2)>>2]=0;f=f-1|0;if(f){continue}break}}v[a+328>>2]=c}if(!h|!v[a+68>>2]){break z}b=v[a+36>>2];v[d+44>>2]=(v[b+36>>2]+v[b+16>>2]|0)-v[b+12>>2];b=v[b+28>>2];v[d+32>>2]=h;v[d+48>>2]=b;Qv(a,d+32|0);break z}v[e+16>>2]=b+1;v[e+32>>2]=v[e+32>>2]+1;v[a+200>>2]=v[a+200>>2]+1;if(!w[b+1|0]){Zb(e)}Iz(a);if(v[a+172>>2]==-1){break z}b=w[v[v[a+36>>2]+16>>2]];if((b-9&255)>>>0<2|(b|0)==13|b>>>0>31){break I}Hz(a,77,345135,c,g,0);Nz(a);O:{if(!a){break O}c=v[a+188>>2];if((c|0)<1){break O}h=c-1|0;v[a+188>>2]=h;e=v[a+196>>2];v[a+184>>2]=(c|0)!=1?v[(e+(c<<2)|0)-8>>2]:0;v[e+(h<<2)>>2]=0}b=v[a+236>>2];if((b|0)>=1){c=b-1|0;v[a+236>>2]=c;e=((b|0)==1?0:b-2|0)<<2;b=v[a+244>>2];v[a+232>>2]=e+b;v[b+(c<<2)>>2]=-1}b=v[a+328>>2];if((b|0)==(f|0)){break z}XW(a,b-f|0);break z}Hz(a,73,345176,c,g,0);c=v[a+56>>2];if((c|0)>=1){g=c-1|0;v[a+56>>2]=g;e=v[a+64>>2];v[a+52>>2]=(c|0)!=1?v[(e+(c<<2)|0)-8>>2]:0;v[e+(g<<2)>>2]=0}c=v[a+188>>2];if((c|0)>=1){g=c-1|0;v[a+188>>2]=g;e=v[a+196>>2];v[a+184>>2]=(c|0)!=1?v[(e+(c<<2)|0)-8>>2]:0;v[e+(g<<2)>>2]=0}b=v[a+236>>2];if((b|0)>=1){c=b-1|0;v[a+236>>2]=c;e=((b|0)==1?0:b-2|0)<<2;b=v[a+244>>2];v[a+232>>2]=e+b;v[b+(c<<2)>>2]=-1}c=v[a+328>>2];P:{if(!v[a+336>>2]|(f|0)==(c|0)){break P}b=c-f|0;if((f|0)<=-1){v[d>>2]=b;Qa[v[256654]](v[291043],345520,d);c=v[a+328>>2];b=c}if((c|0)<1|(b|0)<1){break P}f=b&3;if(b-1>>>0>=3){e=b&-4;while(1){b=c<<2;v[(b+v[a+336>>2]|0)-4>>2]=0;v[(b+v[a+336>>2]|0)-8>>2]=0;v[(b+v[a+336>>2]|0)-12>>2]=0;c=c-4|0;v[v[a+336>>2]+(c<<2)>>2]=0;e=e-4|0;if(e){continue}break}}if(f){while(1){c=c-1|0;v[v[a+336>>2]+(c<<2)>>2]=0;f=f-1|0;if(f){continue}break}}v[a+328>>2]=c}if(!h|!v[a+68>>2]){break z}b=v[a+36>>2];v[d+44>>2]=(v[b+36>>2]+v[b+16>>2]|0)-v[b+12>>2];b=v[b+28>>2];v[d+32>>2]=h;v[d+48>>2]=b;Qv(a,d+32|0);break z}Q:{if(v[a+324>>2]){WW(a,v[d+60>>2],v[d+56>>2],g,v[a+328>>2]-f|0,v[d+28>>2]);c=v[a+188>>2];if((c|0)<1){break Q}f=c-1|0;v[a+188>>2]=f;e=v[a+196>>2];v[a+184>>2]=(c|0)!=1?v[(e+(c<<2)|0)-8>>2]:0;v[e+(f<<2)>>2]=0;break Q}_W(a,g)}if(!h|!v[a+68>>2]){break z}b=v[a+36>>2];v[d+44>>2]=(v[b+36>>2]+v[b+16>>2]|0)-v[b+12>>2];b=v[b+28>>2];v[d+32>>2]=h;v[d+48>>2]=b;Qv(a,d+32|0)}Ma=d- -64|0;break c}gX(a)}R:{if(v[a+292>>2]){break R}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break R}oc(a)}d=v[a+36>>2];b=v[d+16>>2];S:{if(w[b|0]){break S}c=v[a+40>>2];if((c|0)<=1){break S}while(1){e=a;T:{U:{V:{if(!v[291060]){b=c-1|0;v[a+40>>2]=b;d=v[a+48>>2];break V}v[j+32>>2]=c;d=0;Qa[v[256654]](v[291043],344907,j+32|0);c=v[a+40>>2];if((c|0)<1){break T}b=c-1|0;v[a+40>>2]=b;d=v[a+48>>2];f=0;h=0;if((c|0)==1){break U}}f=b;h=v[((c<<2)+d|0)-8>>2]}v[e+36>>2]=h;b=(f<<2)+d|0;d=v[b>>2];v[b>>2]=0}Vh(d);b=v[a+36>>2];W:{if(w[v[b+16>>2]]){break W}if((Zb(b)|0)>=1){break W}c=v[a+40>>2];if((c|0)>=2){continue}}d=v[a+36>>2];b=v[d+16>>2];if(w[b|0]){break S}c=v[a+40>>2];if((c|0)>1){continue}break}}X:{if(v[a+292>>2]|(b-v[d+12>>2]|0)<501|(v[d+20>>2]-b|0)>499){break X}Xg(d);b=v[a+36>>2];if(w[v[b+16>>2]]){break X}if((Zb(b)|0)>0){break X}while(1){c=v[a+40>>2];if((c|0)<2){break X}e=a;Y:{Z:{_:{if(!v[291060]){b=c-1|0;v[a+40>>2]=b;d=v[a+48>>2];break _}v[j+16>>2]=c;d=0;Qa[v[256654]](v[291043],344907,j+16|0);c=v[a+40>>2];if((c|0)<1){break Y}b=c-1|0;v[a+40>>2]=b;d=v[a+48>>2];f=0;h=0;if((c|0)==1){break Z}}f=b;h=v[((c<<2)+d|0)-8>>2]}v[e+36>>2]=h;b=(f<<2)+d|0;d=v[b>>2];v[b>>2]=0}Vh(d);b=v[a+36>>2];if(w[v[b+16>>2]]){break X}if((Zb(b)|0)<1){continue}break}}c=v[a+36>>2];if(v[c+36>>2]!=(m|0)|v[c+16>>2]!=(i|0)){continue}break}if(!(v[a+172>>2]==-1?v[a+212>>2]:0)){v[a+84>>2]=1;v[j+4>>2]=338623;v[j>>2]=238031;nb(0,0,0,a,0,1,1,3,338623,0,0,0,340574,j);v[a+12>>2]=0}v[a+212>>2]=1;v[a+172>>2]=-1;c=v[a+36>>2];if(!c){break b}b=v[c+40>>2];if(b){Qa[b|0](v[c+12>>2]);c=v[a+36>>2];v[c+40>>2]=0}v[c+12>>2]=349015;v[c+16>>2]=349015}Ma=j+48|0}function JT(a,b){var 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,x=0,y=0,z=0,B=0,C=0,E=0,F=0,G=0,H=0,I=0;c=Ma-128|0;Ma=c;h=a;a:{b:{if(!w[a+8|0]){break b}h=v[h>>2];if(h){break b}h=0;break a}h=v[h>>2]}n=v[a+4>>2];v[c+12>>2]=n;a=0;c:{if((n|0)<1){break c}while(1){u=v[(a<<2)+h>>2];g=u-32|0;if(!((g|0)!=12?g:0)){a=a+1|0;if(!((g|0)!=12?g:0)){if((a|0)<(n|0)){continue}break c}u=v[(a<<2)+h>>2]}a=a+1|0;v[c+8>>2]=a;d:{e:{f:{g:{h:{i:{j:{switch(u-65|0){case 5:if((a|0)>=(n|0)){break d}while(1){k:{g=v[(a<<2)+h>>2]-32|0;if((g|0)!=12?g:0){break k}a=a+1|0;v[c+8>>2]=a;if((g|0)!=12?g:0){break k}if((a|0)!=(n|0)){continue}break d}break};x=0;I=JF(h,c+8|0,c+12|0);break d;case 44:e=Ld(h,c+8|0,c+12|0);i=Ld(h,c+8|0,c+12|0);f=f+e;A[c+120>>3]=f*25.4/96;d=d+i;A[c+112>>3]=d*25.4/96;Qa[v[v[b>>2]+296>>2]](b,c+120|0,c+112|0)|0;break i;case 12:f=Ld(h,c+8|0,c+12|0);d=Ld(h,c+8|0,c+12|0);A[c+120>>3]=f*25.4/96;A[c+112>>3]=d*25.4/96;Qa[v[v[b>>2]+296>>2]](b,c+120|0,c+112|0)|0;break i;case 7:case 11:case 21:case 39:case 43:case 53:x=0;if((a|0)>=(n|0)){break d}while(1){j=v[(a<<2)+h>>2];g=j-32|0;if(!((g|0)!=12?g:0)){a=a+1|0;v[c+8>>2]=a;if(!((g|0)!=12?g:0)){if((a|0)<(n|0)){continue}break d}j=v[(a<<2)+h>>2]}l:{if(j-48>>>0<10){break l}a=j-45|0;if(1<>>0<=24:0){break l}if((j|0)!=101){break d}}m:{n:{switch(u-72|0){case 4:f=Ld(h,c+8|0,c+12|0);d=Ld(h,c+8|0,c+12|0);break m;case 36:f=f+Ld(h,c+8|0,c+12|0);d=d+Ld(h,c+8|0,c+12|0);break m;case 0:f=Ld(h,c+8|0,c+12|0);break m;case 32:f=f+Ld(h,c+8|0,c+12|0);break m;case 14:d=Ld(h,c+8|0,c+12|0);break m;case 46:break n;default:break m}}d=d+Ld(h,c+8|0,c+12|0)}A[c+120>>3]=f*25.4/96;A[c+112>>3]=d*25.4/96;Qa[v[v[b>>2]+300>>2]](b,c+120|0,c+112|0)|0;a=v[c+8>>2];n=v[c+12>>2];if((a|0)<(n|0)){continue}break};break d;case 0:case 32:break e;case 2:case 34:break f;case 16:case 48:break g;case 18:case 50:break h;case 25:case 57:break j;default:break d}}Qa[v[v[b>>2]+320>>2]](b)|0}x=0;break d}if((a|0)>=(n|0)){break d}while(1){j=v[(a<<2)+h>>2];g=j-32|0;if(!((g|0)!=12?g:0)){a=a+1|0;v[c+8>>2]=a;if(!((g|0)!=12?g:0)){if((a|0)<(n|0)){continue}break d}j=v[(a<<2)+h>>2]}o:{if(j-48>>>0<10){break o}a=j-45|0;if(1<>>0<=24:0){break o}if((j|0)!=101){break d}}e=x?d+d-z:d;i=x?f+f-y:f;y=Ld(h,c+8|0,c+12|0);p:{if((u|0)==115){y=f+y;z=f+Ld(h,c+8|0,c+12|0);f=f+Ld(h,c+8|0,c+12|0);d=d+Ld(h,c+8|0,c+12|0);break p}z=Ld(h,c+8|0,c+12|0);f=Ld(h,c+8|0,c+12|0);d=Ld(h,c+8|0,c+12|0)}A[c+120>>3]=i*25.4/96;A[c+112>>3]=e*25.4/96;A[c+104>>3]=y*25.4/96;A[c+96>>3]=z*25.4/96;A[c+88>>3]=f*25.4/96;A[c+80>>3]=d*25.4/96;Qa[v[v[b>>2]+308>>2]](b,c+120|0,c+112|0,c+104|0,c+96|0,c+88|0,c+80|0)|0;x=1;a=v[c+8>>2];n=v[c+12>>2];if((a|0)<(n|0)){continue}break}break d}x=0;if((a|0)>=(n|0)){break d}while(1){e=f;q:{r:{while(1){j=v[(a<<2)+h>>2];g=j-32|0;if((g|0)!=12?g:0){break r}a=a+1|0;v[c+8>>2]=a;if(!((g|0)!=12?g:0)){if((a|0)<(n|0)){continue}break q}break}j=v[(a<<2)+h>>2]}s:{if(j-48>>>0<10){break s}a=j-45|0;if(1<>>0<=24:0){break s}if((j|0)!=101){break q}}i=Ld(h,c+8|0,c+12|0);t:{if((u|0)==113){i=e+i;m=d+Ld(h,c+8|0,c+12|0);f=e+Ld(h,c+8|0,c+12|0);r=d+Ld(h,c+8|0,c+12|0);break t}m=Ld(h,c+8|0,c+12|0);f=Ld(h,c+8|0,c+12|0);r=Ld(h,c+8|0,c+12|0)}s=e/3;e=(i+i)/3;A[c+120>>3]=(s+e)*25.4/96;s=d/3;d=(m+m)/3;A[c+112>>3]=(s+d)*25.4/96;A[c+104>>3]=(e+f/3)*25.4/96;e=d;d=r;A[c+96>>3]=(e+d/3)*25.4/96;A[c+88>>3]=f*25.4/96;A[c+80>>3]=d*25.4/96;Qa[v[v[b>>2]+308>>2]](b,c+120|0,c+112|0,c+104|0,c+96|0,c+88|0,c+80|0)|0;a=v[c+8>>2];n=v[c+12>>2];if((a|0)<(n|0)){continue}break d}break}f=e;break d}if((a|0)>=(n|0)){break d}while(1){j=v[(a<<2)+h>>2];g=j-32|0;if(!((g|0)!=12?g:0)){a=a+1|0;v[c+8>>2]=a;if(!((g|0)!=12?g:0)){if((a|0)<(n|0)){continue}break d}j=v[(a<<2)+h>>2]}u:{if(j-48>>>0<10){break u}a=j-45|0;if(1<>>0<=24:0){break u}if((j|0)!=101){break d}}r=Ld(h,c+8|0,c+12|0);v:{if((u|0)==99){r=f+r;s=d+Ld(h,c+8|0,c+12|0);y=f+Ld(h,c+8|0,c+12|0);z=d+Ld(h,c+8|0,c+12|0);f=f+Ld(h,c+8|0,c+12|0);d=d+Ld(h,c+8|0,c+12|0);break v}s=Ld(h,c+8|0,c+12|0);y=Ld(h,c+8|0,c+12|0);z=Ld(h,c+8|0,c+12|0);f=Ld(h,c+8|0,c+12|0);d=Ld(h,c+8|0,c+12|0)}A[c+120>>3]=r*25.4/96;A[c+112>>3]=s*25.4/96;A[c+104>>3]=y*25.4/96;A[c+96>>3]=z*25.4/96;A[c+88>>3]=f*25.4/96;A[c+80>>3]=d*25.4/96;Qa[v[v[b>>2]+308>>2]](b,c+120|0,c+112|0,c+104|0,c+96|0,c+88|0,c+80|0)|0;x=1;a=v[c+8>>2];n=v[c+12>>2];if((a|0)<(n|0)){continue}break}break d}x=0;if((a|0)>=(n|0)){break d}while(1){j=v[(a<<2)+h>>2];g=j-32|0;if(!((g|0)!=12?g:0)){a=a+1|0;v[c+8>>2]=a;if(!((g|0)!=12?g:0)){if((a|0)<(n|0)){continue}break d}j=v[(a<<2)+h>>2]}w:{if(j-48>>>0<10){break w}a=j-45|0;if(1<>>0<=24:0){break w}if((j|0)!=101){break d}}a=c+8|0;g=a;k=c+12|0;j=k;i=Ld(h,a,j);A[c+120>>3]=i;l=Ld(h,a,j);A[c+112>>3]=l;e=Ld(h,a,j);a=JF(h,a,j);j=JF(h,g,j);r=Ld(h,c+8|0,c+12|0);A[c+104>>3]=r;s=Ld(h,c+8|0,c+12|0);A[c+96>>3]=s;if((u|0)==97){s=d+s;A[c+96>>3]=s;r=f+r;A[c+104>>3]=r}A[c+88>>3]=r;A[c+80>>3]=s;x:{if(D(i)<.001|D(l)<.001){Qa[v[v[b>>2]+300>>2]](b,c+88|0,c+80|0)|0;d=A[c+96>>3];f=A[c+104>>3];break x}n=_h(c+72|0);g=_h(c- -64|0);VJ(n,-e,0);Bw(n,-f,-d,0);Bw(g,f,d,0);VJ(g,e,0);v[c+56>>2]=0;v[c+60>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;zd(n,c+104|0,c+96|0);zd(g,c+56|0,c+48|0);y:{z:{A:{B:{if(D(A[c+96>>3])>.001){i=A[c+104>>3];e=A[c+96>>3];o=A[c+112>>3];d=o*o;q=A[c+120>>3];p=q*q;f=-i/e*d/p;i=d*(e*e/d+i*i/p)/(e+e);t=(f+f)*i;m=t/d;B=f*f;l=1/p+B/d;H=i*i;e=m*m+l*-4*(H/d+-1);C:{D:{if(!(e<0)){break D}d=H+t*t/((d/p+B)*-4);k=0;if(d<0){break C}d=K(d)/o;if(!(d>1)){break D}A[c+120>>3]=q*d;d=d*A[c+112>>3];A[c+112>>3]=d;d=d*d;i=A[c+104>>3];e=A[c+96>>3];f=A[c+120>>3];l=f*f;f=d*(-i/e)/l;i=d*(e*e/d+i*i/l)/(e+e);m=(f+f)*i/d;l=1/l+f*f/d;e=m*m+l*-4*(i*i/d+-1)}k=0;if(e<-.001){break C}E:{if(e<0){d=-m/(l+l);A[c+40>>3]=d;break E}d=K(e);e=l+l;A[c+40>>3]=(d-m)/e;d=(-m-d)/e}A[c+24>>3]=d;A[c+32>>3]=i+f*A[c+40>>3];A[c+16>>3]=i+f*A[c+24>>3];k=1}if(!k){break B}d=A[c+32>>3];f=A[c+40>>3];break z}d=A[c+104>>3];if(D(d)<.001){break B}f=d*.5;A[c+24>>3]=f;A[c+40>>3]=f;i=A[c+112>>3];d=i*i;p=f*f;e=A[c+120>>3];d=d-p*(d/(e*e));F:{if(!(d<0)){break F}l=f/e;if(!(l>1)){break F}d=e*l;A[c+120>>3]=d;e=i*l;A[c+112>>3]=e;e=e*e;d=e-p*(e/(d*d))}if(d<-.001){break B}if(!(d<0)){break A}v[c+32>>2]=0;v[c+36>>2]=0;d=0;A[c+16>>3]=0;break z}Qa[v[v[b>>2]+300>>2]](b,c+88|0,c+80|0)|0;f=A[c+88>>3];d=A[c+80>>3];break y}d=K(d);A[c+32>>3]=d;A[c+16>>3]=-d}e=0-d;l=D(e);p=e*e;e=0-f;i=ku(l/K(p+e*e))*180/3.141592653589793;G:{H:{I:{J:{K:{if(f<=0){k=3;if(d>=0){break K}k=0;break K}k=2;if(d>=0){break K}k=1}switch(k-1|0){case 2:break H;case 1:break I;case 0:break J;default:break G}}i=180-i;break G}i=i+180;break G}i=360-i}q=A[c+96>>3];t=A[c+104>>3];L:{if(t>=f){k=3;if(d>=q){break L}k=0;break L}k=2;if(d>=q){break L}k=1}e=q-d;l=t-f;m=ku(D(e)/K(l*l+e*e))*180/3.141592653589793;M:{N:{switch(k-1|0){case 0:m=180-m;break M;case 1:m=m+180;break M;case 2:break N;default:break M}}m=360-m}l=A[c+16>>3];p=A[c+24>>3];O:{if(p<=0){k=3;if(l>=0){break O}k=0;break O}k=2;if(l>=0){break O}k=1}e=0-l;o=0-p;e=ku(D(e)/K(o*o+e*e))*180/3.141592653589793;P:{Q:{switch(k-1|0){case 0:e=180-e;break P;case 1:e=e+180;break P;case 2:break Q;default:break P}}e=360-e}o=i>m?m+360:m;m=q-l;B=t-p;m=ku(D(m)/K(B*B+m*m))*180/3.141592653589793;R:{S:{T:{U:{V:{if(p<=t){k=3;if(l>=q){break V}k=0;break V}k=2;if(l>=q){break V}k=1}switch(k-1|0){case 2:break S;case 1:break T;case 0:break U;default:break R}}m=180-m;break R}m=m+180;break R}m=360-m}k=j^1;q=o-i;if(!(((a|k)!=1|(j|a^1)!=1)&q>180|(a&j|(a|j)!=1?q<=180:0))){o=e>m?m+360:m;f=p;d=l;i=e}e=A[c+120>>3];W:{if(e<=0){break W}l=A[c+112>>3];if(l<=0){break W}if(D(o-i)>=360){a=Ma-96|0;Ma=a;i=f-e;A[a+88>>3]=i;A[a+80>>3]=d;j=a+88|0;k=a+80|0;zd(g,j,k);A[a+72>>3]=A[a+88>>3]*25.4/96;A[a+64>>3]=A[a+80>>3]*25.4/96;C=a+72|0;E=a- -64|0;Qa[v[v[b>>2]+296>>2]](b,C,E)|0;A[a+88>>3]=i;m=l*.552;o=m+d;A[a+80>>3]=o;q=e*.552;t=f-q;A[a+72>>3]=t;p=d+l;A[a+64>>3]=p;A[a+56>>3]=f;A[a+48>>3]=p;zd(g,j,k);zd(g,C,E);F=a+56|0;G=a+48|0;zd(g,F,G);A[a+40>>3]=A[a+88>>3]*25.4/96;A[a+32>>3]=A[a+80>>3]*25.4/96;A[a+24>>3]=A[a+72>>3]*25.4/96;A[a+16>>3]=A[a+64>>3]*25.4/96;A[a+8>>3]=A[a+56>>3]*25.4/96;A[a>>3]=A[a+48>>3]*25.4/96;Qa[v[v[b>>2]+308>>2]](b,a+40|0,a+32|0,a+24|0,a+16|0,a+8|0,a)|0;q=q+f;A[a+88>>3]=q;A[a+80>>3]=p;e=f+e;A[a+72>>3]=e;A[a+64>>3]=o;A[a+56>>3]=e;A[a+48>>3]=d;zd(g,j,k);zd(g,C,E);zd(g,F,G);A[a+40>>3]=A[a+88>>3]*25.4/96;A[a+32>>3]=A[a+80>>3]*25.4/96;A[a+24>>3]=A[a+72>>3]*25.4/96;A[a+16>>3]=A[a+64>>3]*25.4/96;A[a+8>>3]=A[a+56>>3]*25.4/96;A[a>>3]=A[a+48>>3]*25.4/96;Qa[v[v[b>>2]+308>>2]](b,a+40|0,a+32|0,a+24|0,a+16|0,a+8|0,a)|0;A[a+88>>3]=e;p=d-m;A[a+80>>3]=p;A[a+72>>3]=q;e=d-l;A[a+64>>3]=e;A[a+56>>3]=f;A[a+48>>3]=e;zd(g,j,k);zd(g,C,E);zd(g,F,G);A[a+40>>3]=A[a+88>>3]*25.4/96;A[a+32>>3]=A[a+80>>3]*25.4/96;A[a+24>>3]=A[a+72>>3]*25.4/96;A[a+16>>3]=A[a+64>>3]*25.4/96;A[a+8>>3]=A[a+56>>3]*25.4/96;A[a>>3]=A[a+48>>3]*25.4/96;Qa[v[v[b>>2]+308>>2]](b,a+40|0,a+32|0,a+24|0,a+16|0,a+8|0,a)|0;A[a+88>>3]=t;A[a+80>>3]=e;A[a+72>>3]=i;A[a+64>>3]=p;A[a+56>>3]=i;A[a+48>>3]=d;zd(g,j,k);zd(g,C,E);zd(g,F,G);A[a+40>>3]=A[a+88>>3]*25.4/96;A[a+32>>3]=A[a+80>>3]*25.4/96;A[a+24>>3]=A[a+72>>3]*25.4/96;A[a+16>>3]=A[a+64>>3]*25.4/96;A[a+8>>3]=A[a+56>>3]*25.4/96;A[a>>3]=A[a+48>>3]*25.4/96;Qa[v[v[b>>2]+308>>2]](b,a+40|0,a+32|0,a+24|0,a+16|0,a+8|0,a)|0;Ma=a+96|0;break W}if(i<0){while(1){i=i+360;if(i<0){continue}break}}if(i>360){while(1){i=i+-360;if(i>360){continue}break}}if(o<0){while(1){o=o+360;if(o<0){continue}break}}if(o>=360){while(1){o=o+-360;if(o>=360){continue}break}}X:{if(!k){if(i<=o){ms(b,g,f,d,e,l,i,o,0);break X}ms(b,g,f,d,e,l,i,360,0);ms(b,g,f,d,e,l,0,o,0);break X}if(i>=o){ms(b,g,f,d,e,l,i,o,1);break X}ms(b,g,f,d,e,l,i,0,1);ms(b,g,f,d,e,l,360,o,1)}}f=r;d=s}me(g);me(n)}a=v[c+8>>2];n=v[c+12>>2];if((a|0)<(n|0)){continue}break}}a=v[c+8>>2];n=v[c+12>>2];if((a|0)<(n|0)){continue}break}}Ma=c+128|0;return I&1}function rIa(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,n=0,o=0,p=0,q=0,r=0,s=0;d=Ma-16|0;Ma=d;v[b>>2]=1;q=fk(v[b+96>>2],235125,1);v[b+488>>2]=q;p=zm(v[v[b+96>>2]+4>>2],220369);v[b+492>>2]=p;a:{if(!p){a=11;break a}r=b,s=zm(v[v[b+96>>2]+4>>2],239159),v[r+552>>2]=s;h=Ma-400|0;Ma=h;g=v[b+492>>2];i=h+16|0;eb(i,0,380);v[b+544>>2]=0;v[b+536>>2]=-1;v[b+540>>2]=-1;v[b+284>>2]=1;v[b+348>>2]=3932;v[b+172>>2]=4;v[b+276>>2]=2596864;v[b+280>>2]=7;m=v[b+104>>2];n=Ma-16|0;Ma=n;j=v[b+100>>2];Qa[v[v[g+4>>2]>>2]](i,0,0,j);v[i+76>>2]=0;v[i+80>>2]=0;v[i+72>>2]=m;v[i+84>>2]=0;v[i+88>>2]=0;t[i+91|0]=0;t[i+92|0]=0;t[i+93|0]=0;t[i+94|0]=0;f=S_(m,228370,14);v[n+8>>2]=f;b:{c:{if(f){if((f&255)!=2){break c}f=S_(m,279184,10);v[n+8>>2]=f;if(f){break c}}f=Mb(m,0);v[n+8>>2]=f;if(f){break c}a=Ac(m,n+12|0);d:{e:{f:{g:{f=v[n+12>>2];if(!f){if((a+32767&65535)>>>0>=2){break f}k=xi(m,n+12|0);f=v[n+12>>2];if(!f){break g}}v[n+8>>2]=f;break c}v[n+8>>2]=0;if((a|0)==32769){break e}}f=Mb(m,0);v[n+8>>2]=f;if(f){break c}k=v[m+4>>2];break d}t[i+92|0]=1}h:{if(!v[m+20>>2]){e=v[m+8>>2];a=v[m>>2];t[i+93|0]=1;v[i+80>>2]=k;v[i+76>>2]=a+e;f=re(m,k);v[n+8>>2]=f;if(f){break c}k=v[i+80>>2];break h}a=cc(j,k,n+8|0);v[i+76>>2]=a;f=v[n+8>>2];if(f){break c}f=_e(m,a,k);v[n+8>>2]=f;if(f){break c}v[i+80>>2]=k}a=v[i+76>>2];v[i+4>>2]=a;v[i>>2]=a;v[i+8>>2]=a+k;f=0;break b}if(w[i+93|0]){break b}a=v[i+76>>2];if(a){Qa[v[j+8>>2]](j,a)}v[i+76>>2]=0;f=v[n+8>>2]}Ma=n+16|0;v[h+12>>2]=f;i:{if(f){break i}a=T_(b,h+16|0,v[h+92>>2],v[h+96>>2]);v[h+12>>2]=a;if(a){break i}l=Ma-16|0;Ma=l;f=h+16|0;n=v[f+16>>2];i=v[f+72>>2];v[l+8>>2]=0;j:{k:{l:{if(w[f+92|0]){a=v[i+8>>2];v[f+88>>2]=0;while(1){j=Ac(i,l+12|0);m:{k=v[l+12>>2];if(!k){if((j+32767&65535)>>>0>=2){v[l+8>>2]=0;break l}e=xi(i,l+12|0);k=v[l+12>>2];if(!k){break m}}v[l+8>>2]=k;break j}v[l+8>>2]=0;if((j|0)!=32770){break l}v[f+88>>2]=e+v[f+88>>2];k=re(i,e);v[l+8>>2]=k;if(!k){continue}break}break j}e=v[f+76>>2];j=v[f+80>>2];m=e+j|0;a=e;while(1){n:{o:{if(w[a|0]!=101|a+9>>>0>=m>>>0|(w[a+1|0]!=101|w[a+2|0]!=120)){break o}if(w[a+3|0]!=101){break o}if(w[a+4|0]==99){break n}}a=a+1|0;if(m>>>0>a>>>0){continue}k=3;break j}v[f>>2]=e;a=a+10|0;v[f+8>>2]=a;p:{if(a>>>0>e>>>0){while(1){q:{if(w[e|0]!=101|e+5>>>0>=a>>>0|(w[e+1|0]!=101|w[e+2|0]!=120)){break q}if(w[e+3|0]!=101){break q}if(w[e+4|0]==99){break p}}Qa[v[f+32>>2]](f);if(!v[f+12>>2]){Qa[v[f+28>>2]](f);e=v[f>>2];if(e>>>0>>0){continue}}break}j=v[f+80>>2];e=v[f+76>>2]}k=3;m=e+j|0;if(m>>>0>a>>>0){continue}break j}break}v[f+8>>2]=v[f+76>>2]+v[f+80>>2];Qa[v[f+32>>2]](f);m=v[f+8>>2];a=v[f>>2];j=m-a|0;e=ag(a,10,j);if(e){e=ag(a,13,j)>>>0>>0}else{e=1}k=3;if(a>>>0>=m>>>0){break j}j=a+j|0;while(1){r:{i=w[a|0];if(!((i|0)==9|(i|0)==32|e&(i|0)==13)){if((i|0)!=10){break r}}a=a+1|0;if((j|0)!=(a|0)){continue}break j}break}e=v[f+76>>2];i=v[f+80>>2]+(e-a|0)|0;s:{if(w[f+93|0]){e=cc(n,i+1|0,l+8|0);v[f+84>>2]=e;k=v[l+8>>2];if(k){break j}v[f+88>>2]=i;break s}v[f+88>>2]=i;v[f+84>>2]=e;t[f+94|0]=1;v[f+76>>2]=0;v[f+80>>2]=0}t:{if(m>>>0<=a+3>>>0){break t}u:{j=w[a|0];if(j-48>>>0<10){break u}switch(j-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break u;default:break t}}v:{j=w[a+1|0];if(j-48>>>0<10){break v}switch(j-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break v;default:break t}}w:{j=w[a+2|0];if(j-48>>>0<10){break w}switch(j-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break w;default:break t}}x:{j=w[a+3|0];if(j-48>>>0<10){break x}switch(j-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break x;default:break t}}v[f>>2]=a;Qa[v[v[g+4>>2]+24>>2]](f,e,i,l+12|0,0)|0;a=v[l+12>>2];v[f+88>>2]=a;t[a+v[f+84>>2]|0]=0;break k}id(e,a,i);break k}if(!v[f+88>>2]){k=3;break j}k=Mb(i,a);v[l+8>>2]=k;if(k){break j}r=f,s=cc(n,v[f+88>>2],l+8|0),v[r+84>>2]=s;k=v[l+8>>2];if(k){break j}v[f+88>>2]=0;m=Ac(i,l+12|0);y:{if(v[l+12>>2]){break y}while(1){if((m+32767&65535)>>>0>1){break y}a=xi(i,l+12|0);if(v[l+12>>2]){break y}v[l+8>>2]=0;if((m&65535)!=32770){break y}k=_e(i,v[f+84>>2]+v[f+88>>2]|0,a);v[l+8>>2]=k;if(k){break j}v[f+88>>2]=a+v[f+88>>2];m=Ac(i,l+12|0);if(!v[l+12>>2]){continue}break}}v[l+8>>2]=0}Qa[v[g+16>>2]](v[f+84>>2],v[f+88>>2],55665);k=3;if(y[f+88>>2]<4){break j}t[v[f+84>>2]]=32;t[v[f+84>>2]+1|0]=32;t[v[f+84>>2]+2|0]=32;t[v[f+84>>2]+3|0]=32;a=v[f+84>>2];v[f+4>>2]=a;v[f>>2]=a;v[f+8>>2]=a+v[f+88>>2];k=v[l+8>>2]}Ma=l+16|0;v[h+12>>2]=k;if(k){break i}a=T_(b,h+16|0,v[h+100>>2],v[h+104>>2]);v[h+12>>2]=a;if(a){break i}t[b+176|0]=w[b+176|0]&254;z:{A:{a=v[b+532>>2];if(!a){break A}if(v[a>>2]!=1<>2]){ow(b);a=v[b+532>>2];if(!a){break A}}e=v[a+416>>2];if(!(!e|(e|0)==v[a+4>>2])){v[a+416>>2]=0}if(!(v[a+4>>2]?v[a>>2]:0)){ow(b);a=v[b+532>>2];if(!a){break A}}g=v[a+4>>2];B:{if(!g){break B}e=0;while(1){if(w[(B(e,12)+a|0)+88|0]){e=e+1|0;if((g|0)!=(e|0)){continue}break B}break}ow(b);if(!v[b+532>>2]){break A}}a=v[b+544>>2];if(!a){break z}r=b,s=yb(v[b+100>>2],4,0,a,0,h+12|0),v[r+548>>2]=s;if(!v[h+12>>2]){break z}v[b+544>>2]=0;break i}v[b+544>>2]=0}l=v[h+168>>2];v[b+420>>2]=l;if(v[h+344>>2]){v[b+404>>2]=v[h+328>>2];v[b+392>>2]=v[h+332>>2];v[b+408>>2]=v[h+356>>2];v[b+412>>2]=v[h+360>>2];v[b+416>>2]=v[h+384>>2];v[h+384>>2]=0;v[h+344>>2]=0}if(!(v[v[b+128>>2]+52>>2]|v[h+236>>2])){v[h+12>>2]=3}f=0;v[h+236>>2]=0;v[b+396>>2]=v[h+224>>2];v[b+428>>2]=v[h+248>>2];v[b+432>>2]=v[h+252>>2];v[b+400>>2]=v[h+172>>2];v[b+424>>2]=v[h+196>>2];v[h+196>>2]=0;v[h+172>>2]=0;if(v[b+368>>2]==1){k=v[h+132>>2];C:{if((k|0)<1){break C}if((l|0)>0){a=0;while(1){i=a<<2;n=v[i+v[h+140>>2]>>2];j=a<<1;u[j+v[b+384>>2]>>1]=0;v[i+v[b+388>>2]>>2]=273443;D:{if(!n){break D}g=v[b+424>>2];e=0;while(1){m=v[g+(e<<2)>>2];if(hb(n,m)){e=e+1|0;if((l|0)!=(e|0)){continue}break D}break}u[j+v[b+384>>2]>>1]=e;v[i+v[b+388>>2]>>2]=m;if(!hb(273443,m)){break D}o=(a|0)<(o|0)?o:a+1|0;f=(a|0)<(f|0)?a:f}a=a+1|0;if((k|0)!=(a|0)){continue}break}break C}a=k&3;e=0;if(k-1>>>0>=3){o=k&-4;while(1){u[v[b+384>>2]+(e<<1)>>1]=0;v[v[b+388>>2]+(e<<2)>>2]=273443;g=e|1;u[v[b+384>>2]+(g<<1)>>1]=0;v[v[b+388>>2]+(g<<2)>>2]=273443;g=e|2;u[v[b+384>>2]+(g<<1)>>1]=0;v[v[b+388>>2]+(g<<2)>>2]=273443;g=e|3;u[v[b+384>>2]+(g<<1)>>1]=0;v[v[b+388>>2]+(g<<2)>>2]=273443;e=e+4|0;o=o-4|0;if(o){continue}break}}o=0;if(!a){break C}while(1){u[v[b+384>>2]+(e<<1)>>1]=0;v[v[b+388>>2]+(e<<2)>>2]=273443;e=e+1|0;a=a-1|0;if(a){continue}break}}v[b+380>>2]=o;v[b+376>>2]=f;v[b+372>>2]=v[h+112>>2]}if(y[b+280>>2]>=1001){v[b+280>>2]=7}if(y[b+284>>2]<1001){break i}v[b+284>>2]=1}e=v[h+32>>2];a=v[h+164>>2];if(a){Qa[a|0](h+116|0)}a=v[h+272>>2];if(a){Qa[a|0](h+224|0)}a=v[h+220>>2];if(a){Qa[a|0](h+172|0)}a=v[h+324>>2];if(a){Qa[a|0](h+276|0)}a=v[h+380>>2];if(a){Qa[a|0](h+332|0)}eB(v[h+384>>2],e);a=v[h+384>>2];if(a){Qa[v[e+8>>2]](e,a)}v[h+384>>2]=0;j=h+16|0;g=v[j+16>>2];e=g;a=v[j+84>>2];if(a){Qa[v[e+8>>2]](e,a)}v[j+84>>2]=0;if(!w[j+93|0]){a=v[j+76>>2];if(a){Qa[v[g+8>>2]](g,a)}v[j+76>>2]=0}Qa[v[j+24>>2]](j);Ma=h+400|0;a=v[h+12>>2];if(a|(c|0)<0){break a}a=6;if(c&65535){break a}v[b+4>>2]=0;v[b+16>>2]=v[b+420>>2];c=v[b+8>>2];a=c|2577;v[b+8>>2]=a;if(w[b+156|0]){a=c|2581;v[b+8>>2]=a}if(v[b+532>>2]){v[b+8>>2]=a|256}v[b+24>>2]=0;c=v[b+144>>2];v[b+20>>2]=c;E:{F:{if(c){a=v[b+140>>2];if(!a){break F}e=w[a|0];if(!e){a=240100;break E}while(1){G:{H:{e=e&255;g=w[c|0];if((e|0)==(g|0)){a=a+1|0;break H}e=e-32|0;if(!((e|0)!=13?e:0)){a=a+1|0;break G}I:{switch(g-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break F;case 0:case 13:break H;default:break I}}if(g){break F}break E}c=c+1|0}e=w[a|0];if(e){continue}break}a=240100;break E}a=v[b+364>>2];if(!a){break F}v[b+20>>2]=a}a=v[b+148>>2];a=a?a:240100}v[b+24>>2]=a;a=v[b+152>>2]!=0;v[b+12>>2]=a;c=v[b+148>>2];J:{if(!c){break J}if(hb(c,288358)){if(hb(c,263335)){break J}}v[b+12>>2]=a|2}v[b+28>>2]=0;v[b+32>>2]=0;v[b+52>>2]=v[b+464>>2]>>16;g=v[b+468>>2]>>16;v[b+56>>2]=g;a=v[b+472>>2]+65535>>16;v[b+60>>2]=a;c=v[b+476>>2]+65535>>16;v[b- -64>>2]=c;e=x[b+68>>1];if(!e){u[b+68>>1]=1e3;e=1e3}u[b+76>>1]=a;u[b+72>>1]=g;u[b+70>>1]=c;c=c-g|0;a=(B(e,12)>>>0)/10|0;u[b+74>>1]=(c|0)>a<<16>>16?c:a;g=Ma-1536|0;Ma=g;e=v[b+492>>2];v[d>>2]=0;c=Qa[v[v[e+12>>2]>>2]](g+8|0,b,0,0,v[b+424>>2],v[b+532>>2],0,0,2091)|0;if(!c){t[g+76|0]=0;t[g+78|0]=1;v[g+1372>>2]=v[b+404>>2];v[g+1376>>2]=v[b+408>>2];v[g+1380>>2]=v[b+412>>2];v[g+1384>>2]=v[b+416>>2];v[g+1504>>2]=v[b+548>>2];v[g+1508>>2]=v[b+544>>2];v[d>>2]=0;K:{if(v[b+420>>2]<1){break K}t[g+1527|0]=0;L:{if(nw(g+8|0,0,g+1528|0,g+1527|0)){break L}a=v[v[v[g+12>>2]+128>>2]+52>>2];if(!a){break L}Qa[v[v[a>>2]+4>>2]](v[a+4>>2],g+1528|0)}v[d>>2]=v[g+48>>2];if(v[b+420>>2]<2){break K}c=1;while(1){t[g+1527|0]=0;M:{if(nw(g+8|0,c,g+1528|0,g+1527|0)){break M}a=v[v[v[g+12>>2]+128>>2]+52>>2];if(!a){break M}Qa[v[v[a>>2]+4>>2]](v[a+4>>2],g+1528|0)}a=v[g+48>>2];if((a|0)>v[d>>2]){v[d>>2]=a}c=c+1|0;if((c|0)>2]){continue}break}}Qa[v[v[e+12>>2]+4>>2]](g+8|0);c=0}Ma=g+1536|0;if(!c){a=v[d>>2];u[b+76>>1]=(((a>>31)+a|0)+32768&-65536)>>>16}u[b+78>>1]=x[b+74>>1];v[b+80>>2]=x[b+158>>1]|x[b+160>>1]<<16;if(!q){a=0;break a}c=v[p+32>>2];v[d>>2]=b;v[d+4>>2]=1970170211;v[d+8>>2]=65539;a=gk(v[c+12>>2],0,d,0);N:{if(!a){break N}e=a&255;if((e|0)==163){break N}if((e|0)!=7){break a}}u[d+8>>1]=7;a=0;O:{P:{switch(v[b+368>>2]-1|0){case 1:u[d+10>>1]=0;v[d+4>>2]=1094995778;break O;case 3:u[d+10>>1]=1;v[d+4>>2]=1094992453;c=c+4|0;break O;case 0:u[d+10>>1]=2;v[d+4>>2]=1094992451;c=c+8|0;break O;case 2:break P;default:break a}}c=c+12|0;u[d+10>>1]=3;v[d+4>>2]=1818326065}b=v[c>>2];if(!b){break a}a=gk(b,0,d,0)}Ma=d+16|0;return a|0}function Mz(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,z=0;i=Ma-144|0;Ma=i;a:{if(!a|!b|(c|0)<0){break a}j=v[a+248>>2];if(!((j|0)<41|((j|0)<1025?w[a+362|0]&8:0))){if(!(!v[a+212>>2]|v[a+172>>2]!=-1)){break a}v[a+84>>2]=89;v[i>>2]=242322;nb(0,0,0,a,0,1,89,3,0,0,0,0,340716,i);v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1;break a}b:{c:{d:{g=Qa[v[256555]](300)|0;if(!g){break d}if((c|0)>=1){e=tl(a,b,i+136|0)}e:{if(!e){break e}u=b+c|0;x=d&1;z=d&2;c=300;l=g;while(1){f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{if((e|0)==38){if(w[b+1|0]==35){if(w[b|0]==38){j=b+2|0;f=0;g=w[b+2|0];t:{u:{if((g|0)==59){m=1;break u}e=0;if((g|0)==120){j=b+3|0;m=1;b=w[b+3|0];v:{if((b|0)==59){break v}while(1){g=j;j=-48;w:{if((b-48&255)>>>0<10){break w}j=-87;if((b-97&255)>>>0<6){break w}j=-55;if((b-65&255)>>>0<6){break w}m=0;Md(a,6,0);j=g;e=0;break v}e=((b&255)+(e<<4)|0)+j|0;f=e>>>0>1114111?e:f;j=g+1|0;b=w[g+1|0];if((b|0)!=59){continue}break}}j=j+m|0;break i}while(1){if((g-48&255)>>>0<=9){e=(B(e,10)+(g&255)|0)-48|0;f=e>>>0>1114111?e:f;m=1;g=w[j+1|0];b=j+1|0;j=b;if((g|0)!=59){continue}break t}break}if(!(!v[a+212>>2]|v[a+172>>2]!=-1)){m=0;break u}v[a+84>>2]=7;v[i+16>>2]=275237;m=0;nb(0,0,0,a,0,1,7,3,0,0,0,0,340716,i+16|0);v[a+12>>2]=0;if(v[a+288>>2]){break u}v[a+212>>2]=1}b=j;e=0}j=b+m|0;break i}if(!(!v[a+212>>2]|v[a+172>>2]!=-1)){j=b;break h}v[a+84>>2]=8;v[i+32>>2]=275268;nb(0,0,0,a,0,1,8,3,0,0,0,0,340716,i+32|0);v[a+12>>2]=0;if(v[a+288>>2]){j=b;break h}v[a+212>>2]=1;j=b;break h}if(!x){break s}if(v[291060]){v[i+64>>2]=b;Qa[v[256654]](v[291043],339915,i- -64|0)}v[i+140>>2]=b;e=0;if(w[b|0]!=38){j=b;break j}v[i+140>>2]=b+1;g=pH(a,i+140|0);if(!g){Pc(a,68,343244);j=v[i+140>>2];break j}j=v[i+140>>2];if(w[j|0]!=59){x:{if(v[a+172>>2]==-1?v[a+212>>2]:0){break x}v[a+84>>2]=23;v[i+48>>2]=336466;nb(0,0,0,a,0,1,23,3,0,0,0,0,340716,i+48|0);v[a+12>>2]=0;if(v[a+288>>2]){break x}v[a+212>>2]=1}Qa[v[256556]](g);break j}j=j+1|0;y:{if(w[a+362|0]&16){break y}e=vi(g);if(!e){break y}Qa[v[256556]](g);break j}v[a+440>>2]=v[a+440>>2]+1;e=0;f=v[a>>2];z:{if(!f){break z}f=v[f+20>>2];if(f){e=Qa[f|0](v[a+4>>2],g)|0;if(e){break z}}if(w[a+362|0]&16){e=vi(g);if(e){break z}}e=0;if(v[a+4>>2]!=(a|0)){break z}e=iA(a,g)}f=v[a+172>>2];if((f|0)==-1){e=0;Qa[v[256556]](g);j=b;break j}if(!e){if(!(v[a+88>>2]|v[a+92>>2]?v[a+28>>2]!=1:0)){He(a,26,344721,g);Dj(a,0,0,0);break k}Ks(a,27,344721,g);Dj(a,0,0,0);break k}b=v[e+48>>2];if((b|0)==3){He(a,28,340073,g);break k}f=(f|0)!=12;if(!(f|(b|0)!=2)){He(a,29,346445,g);break k}A:{if(f){break A}f=v[e+40>>2];if(!f|(b|0)==6){break A}if(Ko(f,60)){break r}b=v[e+48>>2]}if((b&-2)!=4){break k}He(a,30,346397,g);break k}if(!z|(e|0)!=37){break s}if(v[291060]){v[i+128>>2]=b;Qa[v[256654]](v[291043],339956,i+128|0)}g=0;B:{if(!b){j=0;break B}v[i+140>>2]=b;if(w[b|0]!=37){j=b;break B}v[i+140>>2]=b+1;f=pH(a,i+140|0);if(!f){Pc(a,68,343306);j=v[i+140>>2];break B}j=v[i+140>>2];if(w[j|0]!=59){C:{if(v[a+172>>2]==-1?v[a+212>>2]:0){break C}v[a+84>>2]=23;v[i+112>>2]=336466;nb(0,0,0,a,0,1,23,3,0,0,0,0,340716,i+112|0);v[a+12>>2]=0;if(v[a+288>>2]){break C}v[a+212>>2]=1}Qa[v[256556]](f);break B}v[a+440>>2]=v[a+440>>2]+1;e=v[a>>2];D:{if(!e){break D}e=v[e+96>>2];if(!e){break D}g=Qa[e|0](v[a+4>>2],f)|0}if(v[a+172>>2]==-1){g=0;Qa[v[256556]](f);j=b;break B}E:{if(!g){if(!(v[a+88>>2]|v[a+92>>2]?v[a+28>>2]!=1:0)){He(a,26,343716,f);Dj(a,0,0,0);break E}rm(a,27,343716,f);v[a+100>>2]=0;Dj(a,0,0,0);break E}if((v[g+48>>2]&-2)==4){break E}rm(a,27,337625,f)}j=j+1|0;v[a+92>>2]=1;Qa[v[256556]](f)}if(v[a+388>>2]==89){break b}Dj(a,0,g,0);if(!g){break g}v[a+440>>2]=v[a+440>>2]+(v[g+72>>2]/2|0);e=v[g+40>>2];if(e){v[a+248>>2]=v[a+248>>2]+1;break l}if(v[a+104>>2]?1:w[a+360|0]&18){F:{switch(v[g+48>>2]-2|0){default:if(v[a+172>>2]==-1?v[a+212>>2]:0){break m}v[a+84>>2]=1;v[i+84>>2]=237941;v[i+80>>2]=238031;nb(0,0,0,a,0,1,1,3,237941,0,0,0,340574,i+80|0);v[a+12>>2]=0;if(v[a+288>>2]){break m}v[a+212>>2]=1;break m;case 0:case 3:break F}}if(v[291060]){v[i+96>>2]=v[g+8>>2];Qa[v[256654]](v[291043],338527,i+96|0)}f=0;e=Ma-32|0;Ma=e;b=Qa[v[256552]](20)|0;G:{if(!b){v[e>>2]=239706;nb(0,0,0,0,0,2,2,3,239706,0,0,0,340689,e);break G}v[b+4>>2]=0;f=v[256553];v[b+8>>2]=f;v[b+12>>2]=v[256554];f=Qa[v[256555]](f)|0;v[b>>2]=f;if(!f){v[e+16>>2]=239706;f=0;nb(0,0,0,0,0,2,2,3,239706,0,0,0,340689,e+16|0);Qa[v[256556]](b);break G}t[f|0]=0;v[b+16>>2]=0;f=b}Ma=e+32|0;k=f;if(!f){Md(a,1,237941);break m}o=BH(a,g);if(!o){Md(a,1,237890);mA(k);break m}if((Ls(a,o)|0)<=-1){break n}H:{if(v[a+292>>2]){break H}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break H}oc(a)}e=Be(a,i+140|0);I:{J:{if(v[a+36>>2]==(o|0)){m=0;while(1){b=v[o+16>>2];if(b>>>0>=y[o+20>>2]){break I}K:{if((e|0)<=255){if((e|0)>31|(1<>>0<=13:0)){break K}break q}if((e|0)<55296){break K}f=e-57344|0;if(f>>>0<8190){break K}p=e-65536|0;if(p>>>0>1048575){break J}}n=v[i+140>>2];q=0;L:{if(!b|!k|(v[k+12>>2]==2|(n|0)<-1)){break L}if(!n){break L}p=b;if((n|0)<=-1){n=0;if(!w[p|0]){break L}while(1){n=n+1|0;f=w[b+1|0];b=b+1|0;if(f){continue}break}}M:{b=v[k+4>>2];f=(b+n|0)+2|0;if(f>>>0>y[k+8>>2]){r=Ma-32|0;Ma=r;N:{if(!k){break N}s=v[k+12>>2];if((s|0)==2){break N}q=1;e=v[k+8>>2];if(e>>>0>f>>>0){break N}O:{P:{Q:{R:{S:{T:{switch(s|0){case 0:case 3:b=e?e<<1:f+10|0;if(f>>>0<=b>>>0){break S}while(1){if((b|0)<=-1){v[r+16>>2]=239691;q=0;nb(0,0,0,0,0,2,2,3,239691,0,0,0,340689,r+16|0);break N}b=b<<1;if(f>>>0>b>>>0){continue}break};break S;case 4:if(y[k+4>>2]<4096){b=f;break Q}b=e;while(1){b=b<<1;if(f>>>0<=b>>>0){break S}if((b|0)>-1){continue}break};q=0;Io(2,2,0,239691);break N;case 1:break R;default:break T}}b=f+10|0}if((s|0)!=3){break Q}f=v[k+16>>2];if(!f){break Q}s=v[k>>2];e=s-f|0;if(e>>>0>b>>>0){id(f,s,v[k+4>>2]);f=v[k+16>>2];v[k>>2]=f;t[f+v[k+4>>2]|0]=0;break P}f=Qa[v[256557]](f,b+e|0)|0;if(!f){Io(2,2,0,239691);q=0;break N}v[k+16>>2]=f;v[k>>2]=e+f;break P}b=f+10|0}U:{V:{f=v[k>>2];W:{if(!f){e=Qa[v[256555]](b)|0;break W}if(e-v[k+4>>2]>>>0>99){break V}e=Qa[v[256557]](f,b)|0}if(e){break U}break O}e=Qa[v[256555]](b)|0;if(!e){break O}f=cb(e,v[k>>2],v[k+4>>2]);Qa[v[256556]](v[k>>2]);t[f+v[k+4>>2]|0]=0}v[k>>2]=e}v[k+8>>2]=b;break N}v[r>>2]=239691;q=0;nb(0,0,0,0,0,2,2,3,239691,0,0,0,340689,r)}Ma=r+32|0;if(!q){break M}b=v[k+4>>2]}id(v[k>>2]+b|0,p,n);b=v[k+4>>2]+n|0;v[k+4>>2]=b;t[b+v[k>>2]|0]=0;break L}Io(2,2,0,239691)}X:{if((m|0)<101){m=m+1|0;break X}Y:{if(v[a+292>>2]){break Y}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break Y}oc(a)}m=0;if(v[a+172>>2]==-1){break n}}b=v[a+36>>2];f=v[b+16>>2];Z:{if(w[f|0]==10){v[b+32>>2]=1;v[b+28>>2]=v[b+28>>2]+1;break Z}v[b+32>>2]=v[b+32>>2]+1}e=b;b=f+v[i+140>>2]|0;v[e+16>>2]=b;if(w[b|0]==37){zc(a)}e=Be(a,i+140|0);if(!e){_:{if(v[a+292>>2]){break _}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break _}oc(a)}if(v[a+172>>2]==-1){break n}m=0;e=Be(a,i+140|0)}if(v[a+36>>2]==(o|0)){continue}break}}if((e|0)<256){break q}p=e-65536|0;f=e-57344|0}if((e|0)<55296|p>>>0<1048576|f>>>0<8190){break o}break p}xc(a);break o}rm(a,104,340113,v[g+8>>2]);break m}$:{if(v[i+136>>2]==1){t[h+l|0]=e;h=h+1|0;break $}h=ui(h+l|0,e)+h|0}j=v[i+136>>2]+b|0;if(h+100>>>0<=c>>>0){break g}f=0;b=(c<<1)+100|0;if(c>>>0>b>>>0){break d}g=Qa[v[256557]](l,b)|0;if(!g){break d}break f}He(a,38,339607,g);break k}if((e|0)>31){break o}if(e>>>0>13){break p}if(1<>2]=v[k>>2];v[k>>2]=0}mA(k)}e=v[g+40>>2];b=v[a+248>>2];v[a+248>>2]=b+1;if(e){break l}v[a+248>>2]=b;break g}f=Mz(a,e,yl(e),d);v[a+248>>2]=v[a+248>>2]-1;if(!f){break g}b=f;e=w[b|0];if(e){while(1){t[h+l|0]=e;e=h+1|0;aa:{if(h+101>>>0<=c>>>0){h=l;break aa}if(Dj(a,e,g,0)){break c}h=c;c=(h<<1)+100|0;if(h>>>0>c>>>0){break d}h=Qa[v[256557]](l,c)|0;if(!h){break d}}l=h;h=e;b=b+1|0;e=w[b|0];if(e){continue}break}}Qa[v[256556]](f);break g}Qa[v[256556]](g)}b=v[a+388>>2];if((b|0)==1|(b|0)==89){break b}Dj(a,0,e,0);if(!e){break g}v[a+440>>2]=v[a+440>>2]+(v[e+72>>2]/2|0);b=v[e+40>>2];if(v[e+48>>2]==6){if(b){h=ui(h+l|0,w[b|0])+h|0;if(h+100>>>0<=c>>>0){break g}f=0;b=(c<<1)+100|0;if(c>>>0>b>>>0){break d}g=Qa[v[256557]](l,b)|0;if(g){break f}break d}Pc(a,1,338661);break g}if(b){v[a+248>>2]=v[a+248>>2]+1;f=Mz(a,b,yl(b),d);v[a+248>>2]=v[a+248>>2]-1;b=v[a+388>>2];if((b|0)==1|(b|0)==89){break c}if(!f){break g}g=f;b=w[f|0];if(b){while(1){t[h+l|0]=b;b=h+1|0;ba:{if(h+101>>>0<=c>>>0){h=l;break ba}if(Dj(a,b,e,0)){break c}h=c;c=(h<<1)+100|0;if(h>>>0>c>>>0){break d}h=Qa[v[256557]](l,c)|0;if(!h){break d}}l=h;h=b;g=g+1|0;b=w[g|0];if(b){continue}break}}Qa[v[256556]](f);break g}m=yl(v[e+8>>2]);e=v[e+8>>2];t[h+l|0]=38;h=h+1|0;b=m+100|0;ca:{if(h+b>>>0<=c>>>0){b=c;g=l;break ca}f=0;b=b+(c<<1)|0;if(c>>>0>b>>>0){break d}g=Qa[v[256557]](l,b)|0;if(!g){break d}}da:{if((m|0)<1){break da}c=m-1|0;l=m&3;if(l){while(1){t[g+h|0]=w[e|0];m=m-1|0;h=h+1|0;e=e+1|0;l=l-1|0;if(l){continue}break}}if(c>>>0<3){break da}while(1){c=g+h|0;t[c|0]=w[e|0];t[c+1|0]=w[e+1|0];t[c+2|0]=w[e+2|0];t[c+3|0]=w[e+3|0];h=h+4|0;e=e+4|0;c=(m|0)>4;m=m-4|0;if(c){continue}break}}t[g+h|0]=59;h=h+1|0;break f}ea:{fa:{if(e>>>0<=255){if(f|(!(1<>>0>13)&e>>>0<=31){break fa}if(!e){break h}break ea}if(e>>>0>55295&e-57344>>>0>8189&e-65536>>>0>1048575){break fa}if(!f){break ea}}Bk(a,9,345013,e);break h}h=ui(h+l|0,e)+h|0}if(h+100>>>0<=c>>>0){break g}f=0;b=(c<<1)+100|0;if(c>>>0>b>>>0){break d}g=Qa[v[256557]](l,b)|0;if(!g){break d}break f}b=c;g=l}e=0;if(j>>>0>>0){e=tl(a,j,i+136|0)}if(!e){break e}l=g;c=b;b=j;if(e){continue}break}}t[g+h|0]=0;break a}Yc(a,0)}if(!f){break b}Qa[v[256556]](f)}g=0;if(!l){break a}Qa[v[256556]](l)}Ma=i+144|0;return g}function BU(a,b,c){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,p=0,q=0,r=0,s=0,t=0,u=0,x=0,y=0,z=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;d=v[a+8>>2];Qa[v[v[d>>2]+20>>2]](d);m=Ma-1056|0;Ma=m;v[a+16>>2]=0;v[a+20>>2]=0;n=m+16|0;eb(n,0,1025);d=v[a+8>>2];Qa[v[v[d>>2]+40>>2]](d,n,1024)|0;a:{b:{while(1){if(!Kb((m+16|0)+i|0,326422,5)){break b}i=i+1|0;if((i|0)!=1019){continue}break}fb(0,-1,327078,0);break a}d=v[a+8>>2];Qa[v[v[d>>2]+104>>2]](d,i);d=i+m|0;i=$f(d+21|0,337472);if(!i){fb(0,-1,327078,0);break a}E=Ue(i);A[a+16>>3]=E;if(E>2.0001?0:(w[d+21|0]-48&255)>>>0<=9){break a}v[m+4>>2]=326164;v[m>>2]=i;fb(0,-1,327009,m)}Ma=m+1056|0;c:{if(!AU(a,b,c,0)){if((v[a+44>>2]&-2)!=2){break c}fb(0,-1,326350,0);if(!AU(a,b,c,1)){break c}}F=ab(4);m=F;b=v[a+28>>2];G=v[a+24>>2];o=Ma-32|0;Ma=o;v[o+16>>2]=13;v[o>>2]=13;v[m>>2]=0;if(v[b+96>>2]==7){Yd(v[b+104>>2],225626,o+16|0);Yd(v[b+104>>2],227122,o);if(!(v[o+16>>2]!=9|v[o>>2]!=9)){r=Ma-16|0;Ma=r;v[r>>2]=13;x=hc(ab(16));q=o+16|0;d:{if(v[q>>2]!=9|v[o>>2]!=9){break d}while(1){if(v[ue(q,G,r,0)>>2]!=7){bb(r);break d}B=ab(96);g=B;s=v[r+8>>2];k=Ma-16|0;Ma=k;v[g+64>>2]=13;v[g+48>>2]=13;v[g+32>>2]=13;v[g+16>>2]=13;v[k>>2]=13;v[g+92>>2]=0;v[g+88>>2]=0;v[g+4>>2]=0;v[g+8>>2]=0;v[g>>2]=G;if(v[ib(s,280302,k,0)>>2]==3){b=ab(12);kl(b,v[k+8>>2]);v[g+4>>2]=b}H=g- -64|0;e=g+48|0;p=g+32|0;y=g+16|0;bb(k);n=g;e:{f:{if(v[ib(s,227110,k,0)>>2]!=5){c=ab(12);b=MU(c,k);if(!(Qa[v[v[c>>2]+8>>2]](b)|0)){Qa[v[v[c>>2]+4>>2]](b);b=0}break f}bb(k);if(v[ib(s,313222,k,0)>>2]==5){break e}z=0;i=0;l=Ma+-64|0;Ma=l;v[l+48>>2]=13;v[l+32>>2]=13;v[l+16>>2]=13;v[l>>2]=13;g:{if(v[k>>2]!=7){fb(0,-1,247008,0);break g}ib(v[k+8>>2],310327,l+48|0,0);h:{i:{if(v[l+48>>2]==4){d=v[l+56>>2];if(!hb(d,244319)){c=l+32|0;ib(v[k+8>>2],312444,c,0);b=MU(ab(12),c);bb(c);break h}if(!hb(d,310334)){f=l+32|0;ib(v[k+8>>2],311732,f,0);h=l+16|0;ib(v[k+8>>2],312444,h,0);b=ab(16);v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=928816;I=b,J=jG(f),v[I+4>>2]=J;j:{k:{switch(v[h>>2]-3|0){case 1:c=ab(8);Rb(c,v[h+8>>2]);v[b+12>>2]=c;break j;case 0:d=v[h+8>>2];c=ab(8);Hc(c,d);v[b+12>>2]=c;break j;case 3:d=ab(72);c=LU(d,v[h+8>>2]);v[b+8>>2]=d;if(v[c+68>>2]){break j}$a(d);v[b+8>>2]=0;break j;default:break k}}fb(0,-1,247370,0)}bb(f);bb(h);break h}if(!hb(d,270038)){b=ab(12);f=Ma-32|0;Ma=f;v[b>>2]=928840;v[f+16>>2]=13;v[f>>2]=13;v[b+4>>2]=0;v[b+8>>2]=0;if(v[k>>2]==7){l:{if(v[ib(v[k+8>>2],311732,f+16|0,0)>>2]!=5){I=b,J=jG(f+16|0),v[I+4>>2]=J;break l}c=f+16|0;bb(c);if(v[ib(v[k+8>>2],220537,c,0)>>2]==7){ib(v[f+24>>2],311732,f,0);I=b,J=jG(f),v[I+4>>2]=J;bb(f);if(v[ib(v[f+24>>2],310603,f,0)>>2]==3){d=v[f+8>>2];c=ab(8);Hc(c,d);v[b+8>>2]=c}bb(f);break l}fb(0,-1,247030,0)}bb(f+16|0)}Ma=f+32|0;break h}if(!hb(d,311352)){C=l+32|0;ib(v[k+8>>2],311352,C,0);c=ab(8);v[c+4>>2]=0;v[c>>2]=928864;m:{n:{if(v[C>>2]==3){t=v[C+8>>2];b=v[t+4>>2];d=KD(b,313511);if(!(w[b+d|0]!=58|(d|0)>=v[t>>2])){break n}b=326328;u=v[t>>2];o:{p:{if((u|0)<1){u=0;break p}d=u+326328|0;D=v[t+4>>2];while(1){f=(z|0)!=4;h=w[b|0];if(!((z|0)<4?h:0)){break o}f=w[D|0]-h|0;if(f){break o}b=b+1|0;D=D+1|0;z=z+1|0;if((z|0)!=(u|0)){continue}break}b=d}f=(u|0)!=4;if((u|0)==4){break o}f=w[b|0]?-1:0}if(!f){d=ab(8);b=Rb(d,326290);v[c+4>>2]=d;Ug(b,t);break m}break n}fb(0,-1,262366,0);break m}b=ab(8);Hc(b,t);v[c+4>>2]=b}b=c;bb(C);break h}if(!hb(d,290729)){d=l+32|0;ib(v[k+8>>2],310866,d,0);b=ab(8);v[b+4>>2]=0;v[b>>2]=928888;if(v[d>>2]==4){c=ab(8);Rb(c,v[d+8>>2]);v[b+4>>2]=c}bb(d);break h}if(!hb(d,282629)){h=l+32|0;Yd(v[k+8>>2],227591,h);f=l+16|0;ib(v[k+8>>2],309958,f,0);b=ab(16);v[b+12>>2]=0;v[b+4>>2]=-1;v[b>>2]=928912;q:{if(v[h>>2]==9){c=v[h+12>>2];v[b+4>>2]=v[h+8>>2];v[b+8>>2]=c;break q}if(v[f>>2]==3){d=v[f+8>>2];c=ab(8);Hc(c,d);v[b+12>>2]=c;break q}fb(1,-1,234134,0)}bb(h);bb(f);break h}if(!hb(d,227468)){h=l+32|0;ib(v[k+8>>2],310127,h,0);c=ab(8);f=Ma-4096|0;Ma=f;v[c>>2]=928936;r:{s:{switch(v[h>>2]-3|0){case 0:d=v[h+8>>2];b=ab(8);Hc(b,d);v[c+4>>2]=b;break r;case 5:b=ab(8);Qd(b);v[c+4>>2]=b;b=v[h+8>>2];Qa[v[v[b>>2]+20>>2]](b);b=v[h+8>>2];b=Qa[v[v[b>>2]+40>>2]](b,f,4096)|0;if((b|0)>=1){while(1){Wj(v[c+4>>2],f,b);b=v[h+8>>2];b=Qa[v[v[b>>2]+40>>2]](b,f,4096)|0;if((b|0)>0){continue}break}}b=v[h+8>>2];Qa[v[v[b>>2]+24>>2]](b);break r;default:break s}}fb(1,-1,278651,0);v[c+4>>2]=0}Ma=f+4096|0;b=c;bb(h);break h}if(!hb(d,255482)){h=l+32|0;ib(v[k+8>>2],311732,h,0);f=l+16|0;ib(v[k+8>>2],236864,f,0);ib(v[k+8>>2],236281,l,0);b=ab(32);v[b+8>>2]=13;v[b>>2]=928960;t:{if(v[h>>2]==3){d=v[h+8>>2];c=ab(8);Hc(c,d);v[b+4>>2]=c;break t}fb(1,-1,278975,0);v[b+4>>2]=0}c=b+8|0;u:{v:{switch(v[f>>2]-5|0){case 1:ee(f,c);break u;default:fb(1,-1,278862,0);break;case 0:break v}}v[c>>2]=5}w:{x:{switch(v[l>>2]-1|0){case 0:v[b+24>>2]=v[l+8>>2];break w;default:fb(1,-1,278818,0);break;case 4:break x}}v[b+24>>2]=0}bb(h);bb(f);bb(l);break h}if(hb(d,284343)){break i}h=l+32|0;Yd(v[k+8>>2],309958,h);f=l+16|0;ib(v[k+8>>2],311562,f,0);b=ab(32);v[b+8>>2]=13;v[b>>2]=928984;d=b+8|0;c=v[h>>2];y:{if(!(c>>>0>9|!(1<>2]=5}z:{if(!v[f>>2]){v[b+24>>2]=v[f+8>>2];break z}fb(1,-1,278941,0);v[b+24>>2]=0}bb(h);bb(f);break h}fb(0,-1,247008,0);bb(l+48|0);break g}b=ab(8);v[b>>2]=929008;c=ab(8);Rb(c,d);v[b+4>>2]=c}bb(l+48|0);if(Qa[v[v[b>>2]+8>>2]](b)|0){i=b;break g}Qa[v[v[b>>2]+4>>2]](b)}Ma=l- -64|0;b=i}v[n+8>>2]=b}bb(k);ee(q,y);Yd(s,225626,p);Yd(s,227122,e);Yd(s,225337,H);v[g+80>>2]=0;if(!(v[ib(s,227781,k,0)>>2]!=1|v[k+8>>2]<1)){v[g+80>>2]=1}bb(k);v[g+84>>2]=-1;Ma=k+16|0;bb(r);A:{B:{f=v[x+8>>2];if((f|0)<1){b=0;break B}i=v[q+8>>2];d=v[x>>2];b=0;while(1){c=v[d+(b<<2)>>2];if(!((i|0)!=v[c+24>>2]|v[q+12>>2]!=v[c+28>>2])){fb(1,-1,279529,0);f=v[x+8>>2];break B}b=b+1|0;if((f|0)!=(b|0)){continue}break}break A}if((b|0)>=(f|0)){break A}hG(B);$a(B);break d}Ib(x,B);b=v[o+12>>2];if(v[q+8>>2]==v[o+8>>2]&(b|0)==v[q+12>>2]){break d}q=g- -64|0;if(v[g+64>>2]==9){continue}break}}Ma=r+16|0;v[m>>2]=x}bb(o+16|0);bb(o)}Ma=o+32|0;v[a+32>>2]=F;h=ab(12);p=h;e=Ma-128|0;Ma=e;v[e+112>>2]=13;v[e+96>>2]=13;v[e+80>>2]=13;v[e+64>>2]=13;v[e+48>>2]=13;v[e+32>>2]=13;v[e+16>>2]=13;v[h>>2]=v[a+24>>2];b=ab(16);hc(b);v[h+8>>2]=0;v[h+4>>2]=b;f=v[a+28>>2];C:{if(v[f+136>>2]==7){if(v[ib(v[f+144>>2],237034,e+112|0,0)>>2]==6){i=v[e+120>>2];if(v[i+12>>2]>=1){while(1){if(v[Nf(i,j,e- -64|0)>>2]==9){b=v[e+76>>2];v[e+8>>2]=v[e+72>>2];v[e+12>>2]=b;ue(e- -64|0,v[p>>2],e+48|0,0);b=0;g=Ma-48|0;Ma=g;v[g+32>>2]=13;v[g+16>>2]=13;v[g>>2]=13;D:{if(v[e+48>>2]!=7){break D}if(v[ib(v[e+56>>2],280105,g+32|0,0)>>2]!=3){fb(1,-1,311597,0);bb(g+32|0);break D}m=ab(12);kl(m,v[g+40>>2]);b=g+32|0;bb(b);d=2;c=2;if(v[ib(v[e+56>>2],283008,b,0)>>2]==7){if(v[ib(v[g+40>>2],224757,g+16|0,0)>>2]==7){d=2;E:{if(v[ib(v[g+24>>2],276472,g,0)>>2]!=4){break E}F:{if(v[g>>2]!=4){break F}if(hb(v[g+8>>2],310762)){break F}d=0;break E}d=1}bb(g)}b=g+16|0;bb(b);if(v[ib(v[g+40>>2],228455,b,0)>>2]==7){c=2;G:{if(v[ib(v[g+24>>2],276482,g,0)>>2]!=4){break G}H:{if(v[g>>2]!=4){break H}if(hb(v[g+8>>2],310762)){break H}c=0;break G}c=1}bb(g)}bb(g+16|0)}bb(g+32|0);b=ab(28);n=v[e+8>>2];i=v[e+12>>2];v[b+20>>2]=1;v[b+24>>2]=0;v[b+16>>2]=c;v[b+12>>2]=d;v[b+8>>2]=m;v[b>>2]=n;v[b+4>>2]=i}Ma=g+48|0;if(b){Ib(v[p+4>>2],b)}bb(e+48|0)}bb(e- -64|0);j=j+1|0;i=v[e+120>>2];if((j|0)>2]){continue}break}}I:{if(v[ib(v[f+144>>2],312444,e+96|0,0)>>2]==7){J:{if(v[ib(v[e+104>>2],310317,e- -64|0,0)>>2]!=6){break J}j=v[e+72>>2];if(v[j+12>>2]<1){break J}d=v[e+8>>2];c=v[e+12>>2];b=0;while(1){if(v[ub(j,b,e+80|0,0)>>2]==7){i=ib(v[e+88>>2],228488,e+48|0,0);K:{if(v[i>>2]!=4){break K}if(hb(v[i+8>>2],224757)){break K}L:{if(v[ib(v[e+88>>2],237034,e+32|0,0)>>2]!=6){break L}i=0;j=v[e+40>>2];if(v[j+12>>2]<1){break L}while(1){M:{if(v[Nf(j,i,e+16|0)>>2]!=9){break M}d=v[e+24>>2];c=v[e+28>>2];m=v[p+4>>2];g=v[m+8>>2];if((g|0)<1){break M}f=c;n=d;m=v[m>>2];j=0;while(1){y=v[m+(j<<2)>>2];if(!((n|0)==v[y>>2]&(f|0)==v[y+4>>2])){j=j+1|0;if((g|0)!=(j|0)){continue}break M}break}v[y+24>>2]=1}bb(e+16|0);i=i+1|0;j=v[e+40>>2];if((i|0)>2]){continue}break}}bb(e+32|0)}bb(e+48|0)}bb(e+80|0);b=b+1|0;j=v[e+72>>2];if((b|0)>2]){continue}break}v[e+8>>2]=d;v[e+12>>2]=c}b=e- -64|0;bb(b);N:{if(v[ib(v[e+104>>2],311673,b,0)>>2]!=6){break N}j=v[e+72>>2];if(v[j+12>>2]<1){break N}d=v[e+8>>2];c=v[e+12>>2];b=0;while(1){O:{if(v[Nf(j,b,e+48|0)>>2]!=9){break O}d=v[e+56>>2];c=v[e+60>>2];P:{n=v[p+4>>2];f=v[n+8>>2];if((f|0)>=1){m=c;i=d;n=v[n>>2];j=0;while(1){g=v[n+(j<<2)>>2];if((i|0)==v[g>>2]&(m|0)==v[g+4>>2]){break P}j=j+1|0;if((f|0)!=(j|0)){continue}break}}fb(1,-1,312315,0);break O}v[g+20>>2]=0}bb(e+48|0);b=b+1|0;j=v[e+72>>2];if((b|0)>2]){continue}break}v[e+8>>2]=d;v[e+12>>2]=c}bb(e- -64|0);b=v[p+4>>2];m=v[b+8>>2];Q:{if((m|0)<1){break Q}n=v[b>>2];j=0;if((m|0)!=1){b=m&-2;while(1){d=j<<2;i=v[d+n>>2];R:{if(!v[i+24>>2]){break R}c=v[i+12>>2];if((c|0)==2){break R}v[i+20>>2]=!c}d=v[n+(d|4)>>2];S:{if(!v[d+24>>2]){break S}c=v[d+12>>2];if((c|0)==2){break S}v[d+20>>2]=!c}j=j+2|0;b=b-2|0;if(b){continue}break}}if(!(m&1)){break Q}c=v[n+(j<<2)>>2];if(!v[c+24>>2]){break Q}b=v[c+12>>2];if((b|0)==2){break Q}v[c+20>>2]=!b}if(v[ib(v[e+104>>2],239813,e- -64|0,0)>>2]==6){I=p,J=EU(e- -64|0,p,v[p>>2],0),v[I+8>>2]=J}bb(e- -64|0);break I}fb(1,-1,312374,0)}bb(e+96|0)}bb(e+112|0);if(v[p+8>>2]){break C}}c=ab(16);b=ab(12);v[b+8>>2]=0;v[b>>2]=0;v[b+4>>2]=0;v[c+12>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;v[c>>2]=b;v[p+8>>2]=c}Ma=e+128|0;v[a+36>>2]=h;j=1}return j}function gA(a,b,c){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;h=Ma-96|0;Ma=h;a:{b:{c:{d:{e:{f:{g:{if(v[a+32>>2]){h:{if(!b){break h}e=b;while(1){d=e;e=d+1|0;if(w[d|0]){continue}break}d=d-b|0;if((d|0)<0){break h}g=Qa[v[256555]](d+1|0)|0;if(g){break e}nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0)}v[h+92>>2]=0;break g}g=oH(a,b,h+92|0);if(!g){break g}if(w[g|0]){break d}e=235503;i:{j:{k:{l:{d=v[h+92>>2];m:{if((d|0)!=235503){if(!d){break k}while(1){f=w[d|0];if((f|0)!=w[e|0]){break l}e=e+1|0;d=d+1|0;if(f){continue}break}if(!a){break m}}if(v[a+172>>2]==-1?v[a+212>>2]:0){break i}v[a+84>>2]=35}v[h+68>>2]=0;v[h+64>>2]=b;nb(0,0,0,a,0,3,35,2,b,0,0,0,346623,h- -64|0);break i}if(!a){break j}}if(v[a+172>>2]==-1?v[a+212>>2]:0){break i}v[a+84>>2]=106}v[h+84>>2]=0;v[h+80>>2]=b;nb(0,0,0,a,0,3,106,1,b,0,0,0,346713,h+80|0)}d=v[h+92>>2];if(d){Qa[v[256556]](d)}v[h+92>>2]=0;Qa[v[256556]](g);if(!b){break g}d=b;while(1){e=d;d=d+1|0;if(w[e|0]){continue}break}d=e-b|0;if((d|0)<0){break g}g=Qa[v[256555]](d+1|0)|0;if(g){break f}nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0)}Zj(a,230695);break c}n=cb(g,b,d)+d|0,o=0,t[n|0]=o;break d}n=cb(g,b,d)+d|0,o=0,t[n|0]=o;v[h+92>>2]=0}n:{if(c|!v[a+32>>2]){break n}c=b;d=0;o:{if(!b){break o}e=291264;p:{if((b|0)==291264){break p}d=b;while(1){f=w[d|0];if(w[w[e|0]+874496|0]==w[f+874496|0]){d=d+1|0;e=e+1|0;if(f){continue}break p}break}e=233871;if((c|0)==233871){break p}d=c;while(1){f=w[d|0];if(w[w[e|0]+874496|0]==w[f+874496|0]){d=d+1|0;e=e+1|0;if(f){continue}break p}break}e=278415;if((c|0)==278415){break p}d=c;while(1){f=w[d|0];if(w[w[e|0]+874496|0]==w[f+874496|0]){d=d+1|0;e=e+1|0;if(f){continue}break p}break}e=239760;if((c|0)==239760){break p}d=c;while(1){f=w[d|0];if(w[w[e|0]+874496|0]==w[f+874496|0]){d=d+1|0;e=e+1|0;if(f){continue}break p}break}e=291255;if((c|0)==291255){break p}d=c;while(1){f=w[d|0];if(w[w[e|0]+874496|0]==w[f+874496|0]){d=d+1|0;e=e+1|0;if(f){continue}break p}break}e=242477;if((c|0)==242477){break p}d=c;while(1){f=w[d|0];if(w[w[e|0]+874496|0]==w[f+874496|0]){d=d+1|0;e=e+1|0;if(f){continue}break p}break}e=280360;if((c|0)==280360){break p}d=c;while(1){f=w[d|0];if(w[w[e|0]+874496|0]==w[f+874496|0]){d=d+1|0;e=e+1|0;if(f){continue}break p}break}e=273427;if((c|0)==273427){break p}d=c;while(1){f=w[d|0];if(w[w[e|0]+874496|0]==w[f+874496|0]){d=d+1|0;e=e+1|0;if(f){continue}break p}break}e=273587;if((c|0)==273587){break p}d=c;while(1){f=w[d|0];if(w[w[e|0]+874496|0]==w[f+874496|0]){d=d+1|0;e=e+1|0;if(f){continue}break p}break}e=284379;if((c|0)==284379){break p}d=c;while(1){f=w[d|0];if(w[w[e|0]+874496|0]==w[f+874496|0]){d=d+1|0;e=e+1|0;if(f){continue}break p}break}e=242429;if((c|0)==242429){break p}d=c;while(1){f=w[d|0];if(w[w[e|0]+874496|0]==w[f+874496|0]){d=d+1|0;e=e+1|0;if(f){continue}break p}break}e=219512;if((c|0)==219512){break p}d=c;while(1){f=w[d|0];if(w[w[e|0]+874496|0]==w[f+874496|0]){d=d+1|0;e=e+1|0;if(f){continue}break p}break}e=289575;if((c|0)==289575){break p}while(1){f=w[c|0];d=0;if(w[w[e|0]+874496|0]!=w[f+874496|0]){break o}c=c+1|0;e=e+1|0;if(f){continue}break}}d=1}if(!d){c=0;break n}c=0;if(!b){break n}d=b;while(1){e=d;d=d+1|0;if(w[e|0]){continue}break}d=e-b|0;if((d|0)<0){break n}c=Qa[v[256555]](d+1|0)|0;if(!c){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);c=0;break n}l=cb(c,b,d);t[d+l|0]=0}q:{e=v[a+32>>2];d=v[h+92>>2];if(!(e|d)){if(w[g|0]!=120|w[g+1|0]!=109|(w[g+2|0]!=108|w[g+3|0]!=110)){break q}if(w[g+5|0]|w[g+4|0]!=115){break q}d=c;r:{if(v[a+16>>2]){break r}v[a+248>>2]=v[a+248>>2]+1;d=Bv(a,c);v[a+248>>2]=v[a+248>>2]-1;if(d){break r}Zj(a,230695);d=g;break b}s:{if(!w[d|0]){break s}b=Os(d);if(!b){b=v[a>>2];if(!b){break s}b=v[b+84>>2];if(!b){break s}e=v[a+4>>2];v[h>>2]=d;Qa[b|0](e,345921,h);break s}t:{if(v[b>>2]){break t}e=v[a>>2];if(!e){break t}e=v[e+84>>2];if(!e){break t}f=v[a+4>>2];v[h+16>>2]=d;Qa[e|0](f,342744,h+16|0)}wi(b)}Dk(v[a+52>>2],d,0);Qa[v[256556]](g);if(l){Qa[v[256556]](l)}if((c|0)!=(d|0)){break b}break a}if(!d|e|(w[d|0]!=120|w[d+1|0]!=109)){break q}if(w[d+2|0]!=108|w[d+3|0]!=110|(w[d+5|0]|w[d+4|0]!=115)){break q}d=c;u:{if(v[a+16>>2]){break u}v[a+248>>2]=v[a+248>>2]+1;d=Bv(a,c);v[a+248>>2]=v[a+248>>2]-1;if(d){break u}Zj(a,230695);Qa[v[256556]](v[h+92>>2]);d=g;break b}if(!w[d|0]){b=Ma-16|0;Ma=b;v:{if(a){if(v[a+172>>2]==-1?v[a+212>>2]:0){break v}v[a+84>>2]=204}v[b+4>>2]=0;v[b>>2]=g;nb(0,0,0,a,0,3,204,2,g,0,0,0,340168,b)}Ma=b+16|0}w:{if(!v[a+268>>2]|!w[d|0]){break w}b=Os(d);if(!b){Vz(a,99,345948,g,c);break w}if(!v[b>>2]){Vz(a,100,342775,g,c)}wi(b)}Dk(v[a+52>>2],d,g);Qa[v[256556]](v[h+92>>2]);Qa[v[256556]](g);if(l){Qa[v[256556]](l)}if((c|0)!=(d|0)){break b}break a}x:{y:{if(!d){break y}j=Fk(v[a+8>>2],v[a+52>>2],d);if(!j){d=v[h+92>>2];if(v[a+212>>2]){j=0;if(v[a+172>>2]==-1){break y}}v[a+84>>2]=201;v[h+36>>2]=g;v[h+32>>2]=d;j=0;nb(0,0,0,a,0,3,201,2,d,g,0,0,344669,h+32|0);break y}i=v[v[a+52>>2]+44>>2];if(!i){break y}while(1){z:{k=v[i+36>>2];if(!k){break z}d=v[i+8>>2];if((g|0)!=(d|0)){e=g;if(!d){break z}while(1){f=w[e|0];if((f|0)!=w[d|0]){break z}d=d+1|0;e=e+1|0;if(f){continue}break}}f=v[j+8>>2];A:{if((j|0)==(k|0)){break A}d=v[k+8>>2];if((f|0)==(d|0)){break A}if(!f){break z}e=f;if(!d){break z}while(1){k=w[e|0];if((k|0)!=w[d|0]){break z}d=d+1|0;e=e+1|0;if(k){continue}break}}B:{if(a){if(v[a+172>>2]==-1?v[a+212>>2]:0){break B}v[a+84>>2]=42}v[h+52>>2]=f;v[h+48>>2]=g;nb(0,0,0,a,0,3,42,2,g,f,0,0,344445,h+48|0)}v[a+12>>2]=0;if(v[a+288>>2]){break x}v[a+212>>2]=1;break x}i=v[i+24>>2];if(i){continue}break}}j=VX(v[a+52>>2],j,g,1);C:{if(!j){break C}if(!(v[a+16>>2]|v[a+32>>2])){d=Yz(v[a+8>>2],c);v[j+12>>2]=d;if(!d){break C}while(1){e=d;v[d+20>>2]=j;d=v[d+24>>2];if(d){continue}break}v[j+16>>2]=e;break C}if(!c){break C}e=v[a+8>>2];d=RX(c);if(!d){v[j+12>>2]=0;v[j+16>>2]=0;break C}v[d+32>>2]=e;v[j+16>>2]=d;v[j+12>>2]=d;v[d+20>>2]=j}if(w[a+276|0]&8){break x}D:{if(!v[a+16>>2]){if(v[a+96>>2]!=2){break D}break x}if(v[a+216>>2]){break x}}d=288686;E:{if((b|0)!=288686){if(!b){break E}while(1){e=w[b|0];if((e|0)!=w[d|0]){break E}d=d+1|0;b=b+1|0;if(e){continue}break}}f=Ma-16|0;Ma=f;b=c;F:{if(!b){d=-1;break F}e=b;while(1){d=w[e|0];g=d-9|0;if(!(g>>>0>23|!(1<>>0<26)&(d-65&255)>>>0>25){break G}while(1){g=w[e+1|0];d=e+1|0;e=d;if(((g&223)-65&255)>>>0<26){continue}e=d;if((g-48&255)>>>0<10|g-45>>>0<2|(g|0)==95){continue}break}while(1){e=(g&255)-9|0;if(!(e>>>0>23|!(1<255){break I}J:{while(1){d=e-9|0;if(d>>>0>23|!(1<>2]+b|0;e=tl(0,b,f+12|0);if((e|0)<256){continue}break}break I}if((e&-33)-65>>>0<26|e-192>>>0<23|((e|0)==95|(e|0)>247)){break H}d=1;if(e-216>>>0<31){break H}break F}if(e>>>0<=65535){d=196;g=0;while(1){i=(d+g|0)/2|0;k=i<<2;K:{if(x[k+869824>>1]>e>>>0){d=i-1|0;break K}if(x[k+869826>>1]>=e>>>0){break H}g=i+1|0}if((d|0)>=(g|0)){continue}break}}if((e|0)==12295|e-12321>>>0<9){break H}d=1;if(e-19968>>>0>20901){break F}}d=v[f+12>>2]+b|0;e=tl(0,d,f+12|0);L:{while(1){M:{b=d;N:{O:{if((e|0)<=255){if((e&-33)-65>>>0<26|e-192>>>0<23|(e-48>>>0<10|(e|0)>247)){break N}if(e-216>>>0>=31){break O}break N}k=e>>>0>65535;if(!k){d=196;g=0;while(1){i=(d+g|0)/2|0;m=i<<2;P:{if(x[m+869824>>1]>e>>>0){d=i-1|0;break P}if(x[m+869826>>1]>=e>>>0){break N}g=i+1|0}if((d|0)>=(g|0)){continue}break}}if((e|0)==12295|e-12321>>>0<9|e-19968>>>0<20902){break N}if(k){break O}d=13;g=0;while(1){i=(d+g|0)/2|0;k=i<<2;Q:{if(x[k+871040>>1]>e>>>0){d=i-1|0;break Q}if(x[k+871042>>1]>=e>>>0){break N}g=i+1|0}if((d|0)>=(g|0)){continue}break}}if((e|0)==95|e-45>>>0<2){break N}if((e|0)>=256){if(e>>>0>65535){e=1;break L}d=94;g=0;while(1){i=(d+g|0)/2|0;k=i<<2;R:{if(x[k+870640>>1]>e>>>0){d=i-1|0;break R}if(x[k+870642>>1]>=e>>>0){break N}g=i+1|0}if((d|0)>=(g|0)){continue}break}d=9;g=0;while(1){i=(d+g|0)/2|0;k=i<<2;S:{if(x[k+871120>>1]>e>>>0){d=i-1|0;break S}if(x[k+871122>>1]>=e>>>0){break N}g=i+1|0}if((d|0)>=(g|0)){continue}break}break M}if((e|0)!=183){break M}}d=v[f+12>>2]+b|0;e=0;if(!b){continue}T:{b=w[d|0];if(b&128){if((w[d+1|0]&192)!=128){break T}U:{if((b&224)==224){if((w[d+2|0]&192)!=128){break T}if((b&240)==240){if((b&248)!=240|(w[d+3|0]&192)!=128){break T}v[f+12>>2]=4;g=(w[d+1|0]&63)<<12|(w[d|0]&7)<<18|(w[d+2|0]&63)<<6;b=d+3|0;break U}v[f+12>>2]=3;g=(w[d+1|0]&63)<<6|(w[d|0]&15)<<12;b=d+2|0;break U}v[f+12>>2]=2;g=(w[d|0]&31)<<6;b=d+1|0}e=w[b|0]&63|g;V:{if(e>>>0<=255){if(e>>>0>31){continue}if(e>>>0>13){break V}if(1<>>0<55296|e-57344>>>0<8190|e-65536>>>0<1048576){continue}}v[f>>2]=e;nb(0,0,0,0,0,1,9,3,0,0,0,e,343527,f);continue}v[f+12>>2]=1;e=w[d|0];continue}v[f+12>>2]=0;continue}break}if((e|0)>255){break L}while(1){d=e-9|0;if(d>>>0>23|!(1<>2]+b|0;e=tl(0,b,f+12|0);if((e|0)<256){continue}break}}d=(e|0)!=0}Ma=f+16|0;if(d){gj(a,539,343443,c,0)}Ev(a+108|0,v[a+8>>2],c,j);break x}if(Rz(v[a+8>>2],v[a+52>>2],j)){Ev(a+108|0,v[a+8>>2],c,j);break x}if(!rX(v[a+8>>2],v[a+52>>2],j)){break x}tX(a+108|0,v[a+8>>2],c,j)}if(!l){break c}Qa[v[256556]](l)}d=v[h+92>>2];if(!d){break a}}Qa[v[256556]](d)}Ma=h+96|0}function VZ(a,b){var 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;j=Ma-16|0;Ma=j;c=v[a+1008>>2];e=0;a:{if((c|0)<0){break a}b:{while(1){d=v[a+4>>2];e=(c<<2)+a|0;v[a+72>>2]=B(d,u[e+946>>1]);e=u[e+944>>1];v[a+40>>2]=0;v[a+44>>2]=0;v[a+84>>2]=0;c=v[a+24>>2];v[a+36>>2]=c;u[a+78>>1]=0;v[a+80>>2]=c;g=v[a+28>>2]-32|0;v[a+32>>2]=g;v[a+68>>2]=B(d,e);v[c+8>>2]=c;u[a+76>>1]=0;c:{d:{e:{f:{g:{if(u[a+120>>1]<1){break g}d=v[a+8>>2];f=v[a+132>>2];i=0;q=0;while(1){v[a+88>>2]=0;v[a+92>>2]=0;e=v[a+12>>2];h=v[a+124>>2];l=i&65535;c=h+(l<<3)|0;g=B(e,v[c+4>>2])-d|0;k=B(e,v[c>>2])-d|0;r=q<<1;i=x[r+f>>1];n=h+(i<<3)|0;f=B(e,v[n+4>>2])-d|0;e=B(e,v[n>>2])-d|0;h:{if(!b){h=k;k=g;g=e;e=f;break h}h=g;g=f}d=l;l=v[a+128>>2];d=d+l|0;f=w[d|0];if(f&4){t[a+164|0]=f>>>5;f=w[d|0]}f=f&3;i:{if((f|0)==3){break i}j:{switch(f-1|0){case 0:break i;case 1:break b;default:break j}}k:{if((w[i+l|0]&3)==1){n=n-8|0;break k}g=(g+h|0)/2|0;e=(e+k|0)/2|0}k=e;h=g;d=d-1|0;c=c-8|0}v[a+64>>2]=k;v[a+60>>2]=h;l:{if(c>>>0>>0){while(1){i=d+1|0;g=c+8|0;m:{n:{o:{switch(w[d+1|0]&3){case 1:f=v[c+8>>2];e=c;d=i;c=g;l=v[e+12>>2];e=v[a+12>>2];g=v[a+8>>2];l=B(l,e)-g|0;e=B(e,f)-g|0;if(UZ(a,b?l:e,b?e:l)){break f}break m;case 0:e=v[a+12>>2];d=v[a+8>>2];f=B(e,v[c+8>>2])-d|0;d=B(e,v[c+12>>2])-d|0;e=b?f:d;f=b?d:f;c=g;while(1){if(c>>>0>=n>>>0){break n}d=v[a+12>>2];g=v[a+8>>2];l=B(d,v[c+8>>2])-g|0;d=B(d,v[c+12>>2])-g|0;g=b?l:d;l=b?d:l;d=i+1|0;c=c+8|0;i=w[i+1|0]&3;if(i){if((i|0)!=1){break b}if(!OI(a,f,e,l,g)){break m}break f}m=OI(a,f,e,(f+l|0)/2|0,(e+g|0)/2|0);i=d;f=l;e=g;if(!m){continue}break};break f;default:break o}}if((w[d+2|0]&3)!=2|c+16>>>0>n>>>0){break b}m=c+24|0;o=v[a+12>>2];p=v[a+8>>2];e=B(o,v[c+16>>2])-p|0;g=B(o,v[c+8>>2])-p|0;i=B(o,v[c+20>>2])-p|0;f=B(o,v[c+12>>2])-p|0;p:{if(!b){l=g;g=f;f=e;e=i;break p}l=f;f=i}if(m>>>0<=n>>>0){i=e;e=B(o,v[c+28>>2])-p|0;c=B(o,v[c+24>>2])-p|0;if(TZ(a,l,g,f,i,b?e:c,b?c:e)){break f}d=d+3|0;c=m;break m}if(!TZ(a,l,g,f,e,h,k)){break l}break f}if(OI(a,f,e,h,k)){break f}break l}if(c>>>0>>0){continue}break}}if(UZ(a,h,k)){break f}}f=v[a+132>>2];l=x[r+f>>1];g=v[a+4>>2];k=g-1|0;c=v[a+64>>2];i=k&c;q:{if(i|(c|0)>2]|(c|0)>v[a+72>>2]){break q}e=v[a+88>>2];if(!e|(x[v[a+80>>2]+12>>1]^x[e+12>>1])&8){break q}v[a+36>>2]=v[a+36>>2]-4}e=v[a+36>>2];h=v[a+80>>2];m=v[h+8>>2];r:{if(!((e|0)==(m|0)|!(w[h+12|0]&8))){d=v[a+8>>2];c=(i|0)>=(d|0);break r}d=v[a+8>>2];c=(d|0)<=((c+k&0-g)-c|0)}g=e-m|0;if((g|0)<=-1){v[a+40>>2]=99;e=1;break a}s:{if(!g){c=e;break s}v[h+16>>2]=g>>2;if(c){c=x[h+12>>1];u[h+12>>1]=(c&8?16:32)|c}v[a+80>>2]=e;c=e+32|0;v[a+36>>2]=c;v[e+8>>2]=c;v[e+16>>2]=0;v[h+28>>2]=e;u[a+76>>1]=x[a+76>>1]+1}g=v[a+32>>2];if(g>>>0<=c>>>0){break e}t[a+79|0]=0;e=v[a+88>>2];if(e){v[h+28>>2]=e}i=l+1|0;q=q+1|0;if((q|0)>1]){continue}break}q=x[a+76>>1];if(q>>>0<2){break g}n=v[a+84>>2];if(!n){break g}p=v[a+28>>2];d=n;while(1){t:{if((q&65535)>>>0>=2){e=v[d+16>>2];l=v[d+8>>2]+(e<<2)|0;v[d+4>>2]=l;break t}l=0;v[d+4>>2]=0;e=v[d+16>>2]}h=v[d+20>>2];u:{if(w[d+12|0]&8){f=h;h=(f+e|0)-1|0;break u}f=(h-e|0)+1|0;v[d+20>>2]=f;v[d+8>>2]=(v[d+8>>2]+(e<<2)|0)-4}o=h;k=v[a+44>>2];m=0-k|0;r=p-(k<<2)|0;d=k;v:{w:{while(1){h=d;if((d|0)<1){break w}d=h-1|0;i=r+(d<<2)|0;e=v[i>>2];if((f|0)<(e|0)){continue}break}if((e|0)>=(f|0)){h=k;break v}v[i>>2]=f;if((h|0)<2){f=e;break w}m=h-2|0;d=m;i=h-1&3;if(i){while(1){h=r+(d<<2)|0;f=v[h>>2];v[h>>2]=e;d=d-1|0;e=f;i=i-1|0;if(i){continue}break}}if(m>>>0<3){break w}while(1){f=r+(d<<2)|0;h=v[f>>2];v[f>>2]=e;e=f-8|0;i=v[e+4>>2];m=v[e>>2];v[f-4>>2]=h;f=f-12|0;e=v[f>>2];v[f>>2]=m;v[f+4>>2]=i;h=(d|0)>3;d=d-4|0;f=e;if(h){continue}break}}g=g-4|0;v[a+32>>2]=g;if(c>>>0>=g>>>0){break e}h=k+1|0;v[a+44>>2]=h;m=k^-1;v[p+(m<<2)>>2]=f}f=o+1|0;m=p+(m<<2)|0;d=h;x:{y:{while(1){k=d;if((d|0)<1){break y}d=k-1|0;i=m+(d<<2)|0;e=v[i>>2];if((f|0)<(e|0)){continue}break}if((e|0)>(o|0)){break x}v[i>>2]=f;if((k|0)<2){f=e;break y}o=k-2|0;d=o;i=k-1&3;if(i){while(1){k=m+(d<<2)|0;f=v[k>>2];v[k>>2]=e;d=d-1|0;e=f;i=i-1|0;if(i){continue}break}}if(o>>>0<3){break y}while(1){f=m+(d<<2)|0;k=v[f>>2];v[f>>2]=e;e=f-8|0;i=v[e+4>>2];o=v[e>>2];v[f-4>>2]=k;f=f-12|0;e=v[f>>2];v[f>>2]=o;v[f+4>>2]=i;k=(d|0)>3;d=d-4|0;f=e;if(k){continue}break}}g=g-4|0;v[a+32>>2]=g;if(c>>>0>=g>>>0){break e}v[a+44>>2]=h+1;v[p+((h^-1)<<2)>>2]=f}d=l;q=q-1|0;if(q&65535){continue}break}if(c>>>0>=g>>>0){break f}v[j+8>>2]=0;v[j+4>>2]=0;v[j>>2]=0;d=v[a>>2];e=v[a+68>>2]>>d;u[j+12>>1]=e;f=v[a+72>>2]>>d;u[j+14>>1]=f;while(1){d=n;c=v[d+20>>2];g=(c+v[d+16>>2]<<16)-65536>>16;if(c<<16>>16>16){u[j+14>>1]=c;f=c}if((g|0)>e<<16>>16){u[j+12>>1]=g;e=g}n=v[d+4>>2];v[d>>2]=0;i=j+8|0;c=v[j+8>>2];z:{if(!c){c=0;break z}if(v[c>>2]>0){break z}A:{while(1){g=c;c=v[c+4>>2];if(c){if(v[c>>2]<=0){continue}break A}break}c=0}i=g+4|0}v[d+4>>2]=c;v[i>>2]=d;if(n){continue}break}B:{if(v[a+44>>2]){Qa[v[a+148>>2]](a,j+14|0,j+12|0);l=u[j+14>>1];c=v[j+8>>2];d=c;if(c){while(1){v[d+24>>2]=v[d+20>>2]-l;d=v[d+4>>2];if(d){continue}break}}e=v[a+44>>2];if((e|0)<1){break B}C:{if(v[v[a+28>>2]-(e<<2)>>2]!=(l|0)){g=e;break C}g=e-1|0;v[a+44>>2]=g;if((e|0)<2){break B}}d=0;while(1){if(c){k=d<<16>>16;while(1){e=v[c+24>>2]-k|0;v[c+24>>2]=e;f=v[c+4>>2];if(!e){d=v[j+8>>2];D:{if(!d){break D}if((c|0)==(d|0)){v[j+8>>2]=f;break D}while(1){e=d;d=v[d+4>>2];if(!d){break D}if((c|0)!=(d|0)){continue}break}v[e+4>>2]=f}h=v[c>>2];E:{if(w[c+12|0]&8){e=j+4|0;d=v[j+4>>2];if(!d){d=0;break E}if((h|0)>2]){break E}F:{while(1){e=d;d=v[d+4>>2];if(d){if((h|0)>=v[d>>2]){continue}break F}break}d=0}e=e+4|0;break E}e=j;d=v[e>>2];if(!d){d=0;break E}if((h|0)>2]){break E}G:{while(1){e=d;d=v[d+4>>2];if(d){if((h|0)>=v[d>>2]){continue}break G}break}d=0}e=e+4|0}v[c+4>>2]=d;v[e>>2]=c}c=f;if(c){continue}break}}d=v[j+4>>2];c=d;H:{if(!c){break H}while(1){e=v[c+8>>2];v[c>>2]=v[e>>2];v[c+16>>2]=v[c+16>>2]-1;v[c+8>>2]=e+(x[c+12>>1]&8?4:-4);c=v[c+4>>2];if(c){continue}break}c=v[d+4>>2];if(!c){break H}i=d+4|0;e=j+4|0;while(1){I:{if(v[d>>2]<=v[c>>2]){d=c;e=i;break I}v[e>>2]=c;v[i>>2]=v[c+4>>2];v[c+4>>2]=d;d=v[j+4>>2];e=j+4|0}i=d+4|0;c=v[d+4>>2];if(c){continue}break}}h=v[j>>2];c=h;J:{if(!c){h=0;break J}while(1){e=v[c+8>>2];v[c>>2]=v[e>>2];v[c+16>>2]=v[c+16>>2]-1;v[c+8>>2]=e+(x[c+12>>1]&8?4:-4);c=v[c+4>>2];if(c){continue}break}d=v[h+4>>2];if(!d){break J}i=h+4|0;e=j;c=h;while(1){K:{if(v[c>>2]<=v[d>>2]){e=i;break K}v[e>>2]=d;v[i>>2]=v[d+4>>2];v[d+4>>2]=c;e=j;h=v[e>>2];d=h}c=d;i=c+4|0;d=v[c+4>>2];if(d){continue}break}}v[a+44>>2]=g-1;r=v[v[a+28>>2]-(g<<2)>>2];s=r<<16>>16;L:{if((s|0)>l<<16>>16){m=h;g=h;k=l;while(1){d=v[j+4>>2];M:{if(!d){break M}q=0;c=d;i=g;if(!g){break M}while(1){f=v[c>>2];n=v[i>>2];o=(f|0)>(n|0);N:{O:{e=o?f:n;f=o?n:f;n=v[a+4>>2];if((e-f|0)>(n|0)){break O}p=0-n|0;o=p&f;if((o|0)==(f|0)){break O}p=p&(e+n|0)-1;if((p|0)==(e|0)|(p|0)!=(n+o|0)&(o|0)<=(p|0)){break O}if((x[c+12>>1]&7)==2){break N}v[c>>2]=f;v[i>>2]=e;v[c+24>>2]=1;q=q+1|0;break N}Qa[v[a+152>>2]](a,k<<16>>16,f,e,c,i)}c=v[c+4>>2];if(c){i=v[i+4>>2];if(i){continue}}break}c=d;if(q<<16>>16<=0){break M}while(1){if(v[c+24>>2]){v[c+24>>2]=0;Qa[v[a+156>>2]](a,k<<16>>16,v[c>>2],v[g>>2],c,g)}c=v[c+4>>2];if(!c){break M}g=v[g+4>>2];if(g){continue}break}}Qa[v[a+160>>2]](a);k=k+1|0;if((s|0)<=k<<16>>16){break L}c=d;f=m;P:{if(!c){break P}while(1){e=v[c+8>>2];v[c>>2]=v[e>>2];v[c+16>>2]=v[c+16>>2]-1;v[c+8>>2]=e+(x[c+12>>1]&8?4:-4);c=v[c+4>>2];if(c){continue}break}c=v[d+4>>2];f=m;if(!c){break P}i=d+4|0;e=j+4|0;while(1){Q:{if(v[d>>2]<=v[c>>2]){d=c;e=i;break Q}v[e>>2]=c;v[i>>2]=v[c+4>>2];v[c+4>>2]=d;d=v[j+4>>2];e=j+4|0}i=d+4|0;c=v[d+4>>2];if(c){continue}break}h=v[j>>2];f=h}m=0;g=0;c=f;if(!c){continue}while(1){e=v[c+8>>2];v[c>>2]=v[e>>2];v[c+16>>2]=v[c+16>>2]-1;v[c+8>>2]=e+(x[c+12>>1]&8?4:-4);c=v[c+4>>2];if(c){continue}break}i=f+4|0;e=j;m=f;g=f;c=f;d=v[c+4>>2];if(!d){continue}while(1){R:{if(v[c>>2]<=v[d>>2]){e=i;break R}v[e>>2]=d;v[i>>2]=v[d+4>>2];v[d+4>>2]=c;e=j;h=v[e>>2];f=h;d=f}c=d;i=c+4|0;d=v[c+4>>2];if(d){continue}break}m=f;g=f;continue}}d=v[j+4>>2];k=l}S:{c=d;if(!c){break S}while(1){e=v[c+4>>2];T:{if(v[c+16>>2]|!d){break T}if((c|0)==(d|0)){v[j+4>>2]=e;break T}while(1){f=d;d=v[d+4>>2];if(!d){break T}if((c|0)!=(d|0)){continue}break}v[f+4>>2]=e}if(!e){break S}d=v[j+4>>2];c=e;continue}}U:{if(!h){break U}while(1){e=h;h=v[e+4>>2];V:{if(v[e+16>>2]){break V}c=v[j>>2];if(!c){break V}if((c|0)==(e|0)){v[j>>2]=h;if(!h){break U}continue}while(1){d=c;c=v[c+4>>2];if(!c){break V}if((c|0)!=(e|0)){continue}break}v[d+4>>2]=h;if(!h){break U}continue}if(h){continue}break}}g=v[a+44>>2];if((g|0)<1){l=k;break B}else{d=r-l|0;c=v[j+8>>2];l=k;continue}}}v[a+40>>2]=20;e=20;break a}if(u[j+12>>1]>16){break d}while(1){Qa[v[a+160>>2]](a);l=(l<<16)+65536>>16;if((l|0)<=u[j+12>>1]){continue}break}break d}v[a+84>>2]=0;if(c>>>0>>0){break d}}if(v[a+40>>2]==98){break e}e=1;break a}v[a+40>>2]=0;d=v[a+1008>>2];e=(d<<2)+a|0;f=e;g=u[e+946>>1];c=u[e+944>>1];e=(g+c|0)/2|0;if(!((d|0)<=6&(c|0)<=(e|0))){v[a+40>>2]=20;v[a+1008>>2]=0;e=20;break a}c=d+1|0;d=(c<<2)+a|0;u[d+946>>1]=g;u[d+944>>1]=e;u[f+946>>1]=e-1;break c}c=v[a+1008>>2]-1|0}v[a+1008>>2]=c;if((c|0)>-1){continue}break}e=0;break a}v[a+40>>2]=20;e=1}Ma=j+16|0;return e}function cHa(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,n=0,o=0,p=0,q=0,r=0,s=0,z=0,A=0,C=0,D=0,E=0,F=0;v[b>>2]=1;if(!v[b+136>>2]){d=zm(v[v[b+96>>2]+4>>2],220369);if(!d){return 11}v[b+136>>2]=d}if(!v[b+320>>2]){E=b,F=zm(v[v[b+96>>2]+4>>2],239159),v[E+320>>2]=F}a=Mb(a,0);a:{if(a){break a}s=c;f=Ma-128|0;Ma=f;e=b;m=v[b+100>>2];a=f+16|0;eb(a,0,104);h=v[b+104>>2];b=v[b+136>>2];g=Ma-272|0;Ma=g;i=eb(a,0,100);Qa[v[v[b+4>>2]>>2]](i,0,0,m);v[i+72>>2]=h;j=v[h+8>>2];c=Ed(h,31);b:{if(c){break b}a=Kb(v[h+32>>2],228395,31);dd(h);if(a){c=2;break b}l=i+76|0;n=g-6|0;o=g|9;while(1){b=v[h+8>>2];d=b;a=0;b=v[h+4>>2]-b|0;b=b>>>0<265?b:265;c=_e(h,g,b);if(c){break b}while(1){c:{k=(a+g|0)+b|0;t[k|0]=0;b=a+b|0;if(g>>>0>>0){p=b+n|0;c=w[g|0];a=g;while(1){d:{if((c&255)!=83){break d}if(Kb(a,303679,9)){break d}b=10;break c}e:{c=w[a+1|0];if((c|0)!=115){break e}if(Kb(a,234423,6)){break e}b=7;break c}a=a+1|0;if((p|0)!=(a|0)){continue}break}}if(b>>>0<9){c=3;break b}a=k-9|0;b=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);c=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);t[g+8|0]=w[a+8|0];v[g>>2]=c;v[g+4>>2]=b;d=d+256|0;a=9;b=v[h+4>>2]-v[h+8>>2]|0;b=b>>>0<256?b:256;c=_e(h,o,b);if(!c){continue}break b}break}c=Mb(h,j);if(c){break b}k=((b-g|0)+a|0)+d|0;a=k-j|0;c=Zh(h,a,l);if(c){break b}v[i+80>>2]=a;v[i+84>>2]=k;v[i+96>>2]=-1;d=v[i+76>>2];v[i+4>>2]=d;v[i>>2]=d;v[i+8>>2]=a+d;Qa[v[i+32>>2]](i);Qa[v[i+28>>2]](i);a=v[i>>2];Qa[v[i+32>>2]](i);Qa[v[i+28>>2]](i);c=v[i>>2];b=v[i+8>>2];p=b-6|0;if(c>>>0<=p>>>0){q=b-9|0;while(1){b=a;a=c;c=v[i+12>>2];if(c){break b}f:{if(w[a|0]!=83|a>>>0>q>>>0){break f}if(Kb(a,303679,9)){break f}c=0;if(Kb(d,327120,5)){break b}a=Af(b,0,10);if((a|0)<0){c=3;break b}v[i+88>>2]=a;break b}g:{if(w[a+1|0]!=115){break g}if(Kb(a,234423,6)){break g}c=2;break b}Qa[v[i+32>>2]](i);Qa[v[i+28>>2]](i);d=b;c=v[i>>2];if(p>>>0>=c>>>0){continue}break}}Oe(h,l);c=Mb(h,k);if(!c){continue}break}}Ma=g+272|0;v[f+12>>2]=c;h:{if(c){break h}v[f+28>>2]=0;g=v[f+92>>2];l=g+v[f+96>>2]|0;v[f+24>>2]=l;d=e+164|0;i=e+312|0;h=e+196|0;j=e+140|0;p=l-1|0;i:{j:{k:while(1){v[f+16>>2]=g;Qa[v[f+44>>2]](f+16|0);a=v[f+16>>2];b=(a>>>0>>0?a:p)-17|0;if(b>>>0>g>>>0){while(1){l:{if(w[g|0]!=37){break l}if(Kb(g,233534,17)|v[e+300>>2]<1){break l}v[f+112>>2]=v[f+112>>2]+1}g=g+1|0;if((b|0)!=(g|0)){continue}break}}m:{if(a>>>0>=l>>>0){break m}Qa[v[f+48>>2]](f+16|0);g=v[f+16>>2];if(v[f+28>>2]|l>>>0<=g>>>0){break m}if(w[a|0]!=47|l>>>0<=a+2>>>0){continue}n=a+1|0;k=g-n|0;if(k-1>>>0>20){continue}o=w[n|0];b=450768;a=280048;n:{if(k>>>0>=2){while(1){c=b;o:{if((o|0)!=w[a|0]){break o}b=1;if((zb(a)|0)!=(k|0)){break o}while(1){if(w[b+n|0]!=w[a+b|0]){break o}b=b+1|0;if((k|0)!=(b|0)){continue}break}b=c;break n}b=c+36|0;a=v[c+36>>2];if(a){continue}continue k}}while(1){if((o|0)==w[a|0]){if((zb(a)|0)==(k|0)){break n}}a=v[b+36>>2];b=b+36|0;if(a){continue}break}continue}c=f;g=v[b+8>>2];p:{if((g|0)==11){Qa[v[b+12>>2]](e,f+16|0);g=v[f+28>>2];break p}a=j;q:{r:{s:{t:{switch(v[b+4>>2]){case 3:a=d;break s;case 2:a=i;break s;case 5:a=h;break s;case 0:break s;default:break t}}a=v[f+112>>2];if((a|0)<0|(a|0)>=v[e+300>>2]){break r}a=v[e+304>>2]+B(a,252)|0}v[f+124>>2]=a;if(g-9>>>0>1){break q}g=Qa[v[f+84>>2]](f+16|0,b,f+124|0,0,0)|0;break p}v[f+28>>2]=160;v[f+12>>2]=160;break h}g=Qa[v[f+80>>2]](f+16|0,b,f+124|0,0,0)|0}v[c+28>>2]=g;if(g){break j}g=v[f+16>>2];continue}break}if(v[e+300>>2]){break i}g=3}v[f+12>>2]=g;break h}a=v[f+28>>2];v[f+12>>2]=a;if((s|0)<0|a){break h}b=cc(m,40,f+12|0);v[e+328>>2]=b;if(v[f+12>>2]){break h}i=e;a=v[f+104>>2];u:{if(a){c=e;b=v[v[e+104>>2]+4>>2]-v[f+100>>2]|0;if(b>>>0>>0){v[f+104>>2]=b;a=b}b=c;c=cc(m,a,f+12|0);v[b+324>>2]=c;if(v[f+12>>2]){break h}a=v[f+104>>2];b=Ma-256|0;Ma=b;l=v[e+104>>2];d=Mb(l,v[f+100>>2]);v:{if(d){break v}g=1;if((a|0)>=1){n=a+c|0;a=b;h=a;while(1){if(a>>>0>=h>>>0){m=v[l+8>>2];a=v[l+4>>2]-m|0;if(!a){d=160;break v}d=_e(l,b,a>>>0<256?a:256);if(d){break v}h=(b+v[l+8>>2]|0)-m|0;a=b}m=w[a|0];j=m-48|0;w:{x:{if(j>>>0<10){break x}y:{if((m-97&255)>>>0>=6){if((m-65&255)>>>0<6){break y}j=0;d=160;k=0;z:{switch(m|0){case 62:break w;case 0:case 9:case 10:case 12:case 13:case 32:break z;default:break v}}a=a+1|0;continue}j=m-87|0;break x}j=m-55|0}k=1}A:{if(g&255){t[c|0]=j<<4;break A}t[c|0]=w[c|0]+j;c=c+1|0}a=a+1|0;g=1-g|0;if(c>>>0>>0&k){continue}break}}d=0}Ma=b+256|0;v[f+12>>2]=d;if(d){break h}b=v[e+324>>2];c=v[f+104>>2];a=v[e+328>>2];v[a+32>>2]=0;v[a+8>>2]=0;v[a+4>>2]=c;v[a>>2]=b;v[a+20>>2]=0;v[a+24>>2]=0;a=0;break u}a=v[e+104>>2];c=v[a+4>>2];v[b>>2]=v[a>>2];v[b+4>>2]=c;c=v[a+36>>2];v[b+32>>2]=v[a+32>>2];v[b+36>>2]=c;c=v[a+28>>2];v[b+24>>2]=v[a+24>>2];v[b+28>>2]=c;c=v[a+20>>2];v[b+16>>2]=v[a+16>>2];v[b+20>>2]=c;c=v[a+12>>2];v[b+8>>2]=v[a+8>>2];v[b+12>>2]=c;a=v[f+100>>2]}v[i+308>>2]=a;B:{g=v[e+288>>2];if((g|0)>=0){m=v[e+292>>2];if((m|0)>0){break B}}v[f+12>>2]=3;break h}if(!((m|0)<5&(g|0)<=4)){v[f+12>>2]=3;break h}c=v[v[e+328>>2]+4>>2]-a|0;h=v[e+300>>2];if((h|0)>=1){j=v[e+304>>2];b=0;while(1){a=j+B(b,252)|0;if(y[a+112>>2]>=1001){v[a+112>>2]=7}if(y[a+116>>2]>=1001){v[a+116>>2]=1}C:{d=v[a+248>>2];if((d|0)>=0){i=v[a+240>>2];if(d|!i){break C}}v[f+12>>2]=3;break h}if((d|0)>=5){v[f+12>>2]=3;break h}a=v[a+244>>2];if(a>>>0>c>>>0){v[f+12>>2]=3;break h}if(!((!d|i>>>0<=(c-a>>>0)/(d>>>0)>>>0)&(i|0)>=0)){v[f+12>>2]=3;break h}b=b+1|0;if((h|0)!=(b|0)){continue}break}}a=v[e+284>>2];if(a>>>0>c>>>0){v[f+12>>2]=3;break h}if(y[e+296>>2]>(c-a>>>0)/(g+m>>>0)>>>0){v[f+12>>2]=3;break h}h=0;d=0;p=0;j=Ma-16|0;Ma=j;o=v[e+328>>2];q=v[e+136>>2];l=v[e+100>>2];n=yb(l,8,0,v[e+300>>2],0,j+12|0);v[e+316>>2]=n;D:{if(v[j+12>>2]){break D}c=v[e+300>>2];if((c|0)<1){break D}while(1){E:{b=v[e+304>>2]+B(p,252)|0;k=v[b+240>>2];if(k){C=v[b+4>>2];z=k+1|0;if(z>>>0>d>>>0){a=k+4&-4;if(a>>>0<=d>>>0){v[j+12>>2]=160;break E}h=yb(l,4,d,a,h,j+12|0);d=a;if(v[j+12>>2]){break E}}a=Mb(o,v[b+244>>2]+v[e+308>>2]|0);v[j+12>>2]=a;if(a){break E}a=Ed(o,B(v[b+248>>2],z));v[j+12>>2]=a;if(a){break E}a=v[b+248>>2];F:{if(!(a&255)){a=0;while(1){v[(a<<2)+h>>2]=0;a=a+1|0;if(k>>>0>=a>>>0){continue}break}break F}A=a-1&255;D=A+1|0;m=a&252;i=a&3;g=v[o+32>>2];r=0;while(1){a=g;b=m;c=0;if(A>>>0>=3){while(1){c=a;a=a+4|0;b=b-4|0;if(b&255){continue}break}b=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);c=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24)}b=i;if(b){while(1){c=w[a|0]|c<<8;a=a+1|0;b=b-1|0;if(b&255){continue}break}}v[(r<<2)+h>>2]=c;g=g+D|0;r=r+1|0;if(k>>>0>=r>>>0){continue}break}}dd(o);c=v[h>>2];a=1;G:{while(1){b=c;c=v[(a<<2)+h>>2];if(b>>>0<=c>>>0){a=a+1|0;if(k>>>0>=a>>>0){continue}break G}break}v[j+12>>2]=3;break E}a=v[(k<<2)+h>>2];if(a>>>0>v[o+4>>2]-v[e+308>>2]>>>0){v[j+12>>2]=3;break E}b=v[h>>2];E=n,F=yb(l,4,0,z,0,j+12|0),v[E+4>>2]=F;if(v[j+12>>2]){break E}a=a-b|0;b=cc(l,a,j+12|0);v[v[n+4>>2]>>2]=b;if(v[j+12>>2]){break E}b=Mb(o,v[h>>2]+v[e+308>>2]|0);v[j+12>>2]=b;if(b){break E}a=_e(o,v[v[n+4>>2]>>2],a);v[j+12>>2]=a;if(a){break E}c=v[h>>2];a=1;while(1){b=a<<2;g=b+v[n+4>>2]|0;b=v[b+h>>2];v[g>>2]=v[g-4>>2]+(b-c|0);c=b;a=a+1|0;if(k>>>0>=a>>>0){continue}break}H:{if((C|0)<0){break H}b=k>>>0>1?k:1;m=b&1;a=0;if(k>>>0>=2){b=b&-2;while(1){c=a<<2;i=c|4;g=i+h|0;Qa[v[q+16>>2]](v[c+v[n+4>>2]>>2],v[g>>2]-v[c+h>>2]|0,4330);a=a+2|0;Qa[v[q+16>>2]](v[i+v[n+4>>2]>>2],v[(a<<2)+h>>2]-v[g>>2]|0,4330);b=b-2|0;if(b){continue}break}}if(!m){break H}b=a<<2;a=b+h|0;Qa[v[q+16>>2]](v[b+v[n+4>>2]>>2],v[a+4>>2]-v[a>>2]|0,4330)}v[n>>2]=k;c=v[e+300>>2]}n=n+8|0;p=p+1|0;if((p|0)<(c|0)){continue}break D}break}a=v[e+316>>2];if(!a){break D}if(v[e+300>>2]>=1){b=0;while(1){c=b<<3;d=v[(c+a|0)+4>>2];if(d){a=v[d>>2];if(a){Qa[v[l+8>>2]](l,a)}v[v[(c+v[e+316>>2]|0)+4>>2]>>2]=0;a=v[e+316>>2]}a=v[(a+c|0)+4>>2];if(a){Qa[v[l+8>>2]](l,a)}a=v[e+316>>2];v[(c+a|0)+4>>2]=0;b=b+1|0;if((b|0)>2]){continue}break}}if(a){Qa[v[l+8>>2]](l,a)}v[e+316>>2]=0}if(h){Qa[v[l+8>>2]](l,h)}Ma=j+16|0;v[f+12>>2]=v[j+12>>2]}a=f+16|0;if(v[a+76>>2]){Oe(v[a+72>>2],a+76|0)}Qa[v[a+24>>2]](a);Ma=f+128|0;a=v[f+12>>2];if(a|(s|0)<0){break a}a=6;if(s&65535){break a}v[e+36>>2]=0;v[e+4>>2]=0;v[e+16>>2]=v[e+296>>2];a=v[e+8>>2];v[e+8>>2]=a|2065;if(w[e+188|0]){v[e+8>>2]=a|2069}v[e+24>>2]=240100;c=v[e+176>>2];v[e+20>>2]=c;I:{if(c){a=v[e+172>>2];if(!a){break I}d=w[a|0];if(!d){break I}while(1){d=d&255;b=w[c|0];J:{if((d|0)==(b|0)){a=a+1|0;c=c+1|0;break J}d=d-32|0;if(!(!d|(d|0)==13)){K:{switch(b-32|0){case 0:case 13:c=c+1|0;break J;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break I;default:break K}}if(b){break I}v[e+24>>2]=a;break I}a=a+1|0}d=w[a|0];if(d){continue}break}break I}a=v[e+140>>2];if(!a){break I}v[e+20>>2]=a}b=v[e+184>>2]!=0;v[e+12>>2]=b;a=v[e+180>>2];L:{if(!a){break L}if(hb(a,288358)){if(hb(a,263335)){break L}}v[e+12>>2]=b|2}v[e+28>>2]=0;v[e+32>>2]=0;v[e+52>>2]=v[e+196>>2]>>16;a=v[e+200>>2]>>16;v[e+56>>2]=a;v[e+60>>2]=v[e+204>>2]+65535>>16;b=v[e+208>>2]+65535>>16;v[e- -64>>2]=b;d=x[e+68>>1];if(!d){u[e+68>>1]=1e3;d=1e3}u[e+72>>1]=a;u[e+70>>1]=b;v[e+80>>2]=x[e+190>>1]|x[e+192>>1]<<16;a=b-a|0;b=(B(d,12)>>>0)/10|0;u[e+74>>1]=(a|0)>b<<16>>16?a:b;a=0}return a|0}function QDa(a){a=a|0;var 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;e=Ma-48|0;Ma=e;f=v[a+720>>2];a:{if(f){break a}b:{c:{if(!(!v[a+736>>2]|!(w[a+9|0]&128?1:x[a+6>>1]&32767))){n=v[a+548>>2];d=v[a+100>>2];if(!v[a+744>>2]){v[e+16>>2]=-1;v[e+20>>2]=-1;i=x[a+340>>1];if(!i){f=0;break b}h=v[a+356>>2];while(1){c=h+B(b,20)|0;d:{if(x[c+6>>1]!=25|!x[c+8>>1]){break d}e:{f:{switch(x[c>>1]-1|0){case 2:if(x[c+2>>1]>1){break d}f=e+20|0;if(x[c+4>>1]==1033|v[e+20>>2]==-1){break e}break d;case 0:break f;default:break d}}if(x[c+2>>1]){break d}f=e+16|0;if(!x[c+4>>1]){break e}if(v[e+16>>2]!=-1){break d}}v[f>>2]=b}b=b+1|0;if((i|0)!=(b|0)){continue}break}g:{h:{b=v[e+20>>2];if((b|0)>-1){break h}c=v[e+16>>2];i:{if((c|0)>-1){break i}v[e+16>>2]=-1;v[e+20>>2]=-1;b=0;while(1){c=h+B(b,20)|0;j:{if(x[c+6>>1]!=16|!x[c+8>>1]){break j}k:{l:{switch(x[c>>1]-1|0){case 2:if(x[c+2>>1]>1){break j}f=e+20|0;if(x[c+4>>1]==1033|v[e+20>>2]==-1){break k}break j;case 0:break l;default:break j}}if(x[c+2>>1]){break j}f=e+16|0;if(!x[c+4>>1]){break k}if(v[e+16>>2]!=-1){break j}}v[f>>2]=b}b=b+1|0;if((i|0)!=(b|0)){continue}break}b=v[e+20>>2];if((b|0)>-1){break h}c=v[e+16>>2];if((c|0)>-1){break i}v[e+16>>2]=-1;v[e+20>>2]=-1;b=0;while(1){c=h+B(b,20)|0;m:{if(x[c+6>>1]!=1|!x[c+8>>1]){break m}n:{o:{switch(x[c>>1]-1|0){case 2:if(x[c+2>>1]>1){break m}f=e+20|0;if(x[c+4>>1]==1033|v[e+20>>2]==-1){break n}break m;case 0:break o;default:break m}}if(x[c+2>>1]){break m}f=e+16|0;if(!x[c+4>>1]){break n}if(v[e+16>>2]!=-1){break m}}v[f>>2]=b}b=b+1|0;if((i|0)!=(b|0)){continue}break}b=v[e+20>>2];if((b|0)>-1){break h}f=0;c=v[e+16>>2];if((c|0)<0){break b}}if((b|0)!=-1){break h}b=0;break g}b=RZ(d,v[a+368>>2],h+B(b,20)|0,2354);c=v[e+16>>2]}p:{if((c|0)==-1|b){break p}i=v[a+368>>2];g=v[a+100>>2];l=v[a+356>>2];b=0;v[e+40>>2]=0;j=l+B(c,20)|0;f=cc(g,x[j+8>>1]+1|0,e+40|0);if(v[e+40>>2]){break p}b=Mb(i,v[j+12>>2]);v[e+40>>2]=b;q:{if(b){break q}b=Ed(i,x[j+8>>1]);v[e+40>>2]=b;if(b){break q}b=f;r:{k=x[j+8>>1];if(k){h=v[i+32>>2];while(1){m=t[h|0];if(m-48>>>0>=10&(m&-33)-65>>>0>25){break r}t[b|0]=m;h=h+1|0;b=b+1|0;k=k-1|0;if(k){continue}break}}t[b|0]=0;dd(i);b=f;break p}dd(i)}if(f){Qa[v[g+8>>2]](g,f)}b=0;v[j+12>>2]=0;u[j+8>>1]=0;f=l+B(c,20)|0;c=v[f+16>>2];if(c){Qa[v[g+8>>2]](g,c)}v[f+16>>2]=0}if(!b){f=0;break b}c=a;f=zb(b);if(f>>>0>=92){t[b+91|0]=0;f=91}v[c+748>>2]=f;v[a+744>>2]=b}f=0;Qa[v[n+40>>2]](a,e+32|0,e+28|0,0,e+24|0)|0;s:{t:{u:{b=v[a+4>>2];if(!(b&2147418112)|w[a+9|0]&128){break u}g=(b>>>16&32767)-1|0;b=v[v[e+24>>2]+16>>2];h=v[(B(g,12)+b|0)+8>>2];i=v[a+540>>2];v[e+40>>2]=0;c=a;if(!((h|0)!=6&h-256>>>0>32511)){Qa[v[i+144>>2]](a,h&65535,e+40|0)|0;b=v[e+40>>2];if(b){break t}b=v[v[e+24>>2]+16>>2]}Qa[v[i+144>>2]](c,x[(B(g,12)+b|0)+4>>1],e+12|0)|0;b=v[e+12>>2];if(!b){break u}b=cc(d,(v[a+748>>2]+zb(b)|0)+2|0,e+36|0);if(v[e+36>>2]){break b}f=od(b,v[a+744>>2]);b=f+v[a+748>>2]|0;t[b|0]=45;h=b+1|0;c=v[e+12>>2];b=w[c|0];if(b){while(1){i=b<<24>>24;if(!(!(i-48>>>0<10|i-65>>>0<26)&i-97>>>0>25)){t[h|0]=b;h=h+1|0}b=w[c+1|0];c=c+1|0;if(b){continue}break}}t[h|0]=0;b=v[e+12>>2];if(b){Qa[v[d+8>>2]](d,b)}d=h+1|0;break s}j=v[v[e+24>>2]+12>>2];b=cc(d,(v[a+748>>2]+B(v[e+32>>2],17)|0)+1|0,e+36|0);if(v[e+36>>2]){break b}f=od(b,v[a+744>>2]);d=f+v[a+748>>2]|0;if(!v[e+32>>2]){break s}b=v[e+28>>2];h=0;while(1){v:{if(v[b>>2]==v[j+8>>2]){break v}t[d|0]=95;b=v[v[e+28>>2]>>2];w:{if(!b){t[d+1|0]=48;d=d+2|0;break w}if((b|0)>-1){d=d+1|0}else{t[d+1|0]=45;b=0-b|0;d=d+2|0}g=b&65535;if(b>>>0>=65536){c=b>>>16|0;b=0;while(1){i=(c>>>0)/10|0;t[(e+40|0)+b|0]=c-B(i,10)|48;b=b+1|0;k=c>>>0>9;c=i;if(k){continue}break}while(1){c=b-1|0;t[d|0]=w[c+(e+40|0)|0];d=d+1|0;i=(b|0)>1;b=c;if(i){continue}break}}if(!g){break w}t[d|0]=46;b=B(g,10)+5|0;t[d+1|0]=(b>>>16|0)+48;b=B(b&65535,10);t[d+2|0]=b>>>16|48;b=B(b&65534,10);c=b>>>16|48;t[d+3|0]=c;x:{y:{z:{A:{B:{C:{D:{b=b&65532;if(!b){b=d+3|0;break D}b=B(b,10);c=b>>>16|48;t[d+4|0]=c;b=b&65528;if(!b){b=d+4|0;break D}g=B(b,10);i=g>>>16|0;c=i|48;t[d+5|0]=c;b=d+5|0;g=g&65520;if(!g){break D}d=B(g,10);if(d>>>0>=344800){break z}if((c|0)==49){break C}if((g|0)==17232){if(!(i&1)){break z}c=i+47|0;break A}if(d>>>0>172319){break z}break B}if((b-d|0)!=5){break z}if((c|0)!=49){break B}}t[b|0]=48;break y}if((c|0)==48){break y}c=c-1|0}t[b|0]=c}if((c|0)!=48){break x}}while(1){t[b|0]=0;b=b-1|0;if(w[b|0]==48){continue}break}}d=b+1|0}b=v[j+16>>2];c=b>>24;if(!((c|0)==32|!(c-48>>>0<10|c-65>>>0<26)&c-97>>>0>25)){t[d|0]=b>>>24;d=d+1|0;b=v[j+16>>2]}i=b>>>16|0;c=i<<24;E:{if((c|0)==536870912){break E}c=c>>24;if(!(c-48>>>0<10|c-65>>>0<26)&c-97>>>0>25){break E}t[d|0]=i;d=d+1|0;b=v[j+16>>2]}i=b>>>8|0;c=i<<24;F:{if((c|0)==536870912){break F}c=c>>24;if(!(c-48>>>0<10|c-65>>>0<26)&c-97>>>0>25){break F}t[d|0]=i;d=d+1|0;b=v[j+16>>2]}c=b<<24;if((c|0)==536870912){break v}c=c>>24;if(!(c-48>>>0<10|c-65>>>0<26)&c-97>>>0>25){break v}t[d|0]=b;d=d+1|0}b=v[e+28>>2]+4|0;v[e+28>>2]=b;j=j+24|0;h=h+1|0;if(h>>>0>2]){continue}break}break s}d=(zb(b)+b|0)+1|0;f=b}l=d-f|0;if((l|0)<128){break b}b=0-(l>>>4|0)|0;g=(l&-16)+f|0;j=123456789;d=123456789;h=123456789;m=123456789;break c}v[e+32>>2]=-1;v[e+36>>2]=-1;c=x[a+340>>1];G:{if(c){d=v[a+356>>2];while(1){f=d+B(b,20)|0;H:{if(x[f+6>>1]!=6|!x[f+8>>1]){break H}I:{J:{switch(x[f>>1]-1|0){case 2:if(x[f+2>>1]>1){break H}m=e+36|0;if(x[f+4>>1]==1033|v[e+36>>2]==-1){break I}break H;case 0:break J;default:break H}}if(x[f+2>>1]){break H}m=e+32|0;if(!x[f+4>>1]){break I}if(v[e+32>>2]!=-1){break H}}v[m>>2]=b}b=b+1|0;if((c|0)!=(b|0)){continue}break}b=v[e+32>>2];K:{c=v[e+36>>2];if((c|0)>-1){break K}f=0;if((b|0)<0){break a}if((c|0)!=-1){break K}break G}f=RZ(v[a+100>>2],v[a+368>>2],v[a+356>>2]+B(c,20)|0,2355);break G}f=0;b=v[e+32>>2];if((b|0)<0){break a}}if((b|0)==-1|f){break b}d=v[a+368>>2];l=v[a+356>>2];i=v[a+100>>2];f=0;v[e+40>>2]=0;g=l+B(b,20)|0;c=cc(i,x[g+8>>1]+1|0,e+40|0);if(v[e+40>>2]){break b}f=Mb(d,v[g+12>>2]);v[e+40>>2]=f;L:{if(f){break L}f=Ed(d,x[g+8>>1]);v[e+40>>2]=f;if(f){break L}h=c;M:{k=x[g+8>>1];if(k){f=v[d+32>>2];while(1){j=t[f|0];if((j|0)<0|!(w[(j>>>3|0)+518752|0]>>>(j&7)&1)){break M}t[h|0]=j;f=f+1|0;h=h+1|0;k=k-1|0;if(k){continue}break}}t[h|0]=0;dd(d);f=c;break b}dd(d)}if(c){Qa[v[i+8>>2]](i,c)}f=0;v[g+12>>2]=0;u[g+8>>1]=0;b=l+B(b,20)|0;c=v[b+16>>2];if(c){Qa[v[i+8>>2]](i,c)}v[b+16>>2]=0;break b}while(1){c=g+(b<<4)|0;i=v[c>>2];i=C3a(B(B(i,597399067)>>>17|B(i,-888307712),-1425107063)^j,19)+d|0;k=d;d=v[c+4>>2];d=B(C3a(k^B(B(d,-1425107063)>>>16|B(d,-1752629248),951274213),17)+h|0,5)+197830471|0;k=h;h=v[c+8>>2];k=B(C3a(k^B(B(h,951274213)>>>15|B(h,-1781923840),-1578923117),15)+m|0,5)-1764942795|0;h=k;c=v[c+12>>2];j=B(i,5)+1444728091|0;c=B(C3a(B(B(c,-1578923117)>>>14|B(c,776732672),597399067)^m,13)+j|0,5)+850148119|0;m=c;i=b;b=b+1|0;if(i>>>0<=b>>>0){continue}break}b=0;N:{switch((l&15)-1|0){case 14:b=w[g+14|0]<<16;case 13:b=w[g+13|0]<<8|b;case 12:b=w[g+12|0]^b;c=B(B(b,-1578923117)>>>14|B(b,776732672),597399067)^c;case 11:b=w[g+11|0]<<24;case 10:b=w[g+10|0]<<16|b;case 9:b=w[g+9|0]<<8^b;case 8:b=w[g+8|0]^b;k=B(B(b,951274213)>>>15|B(b,-1781923840),-1578923117)^k;case 7:b=w[g+7|0]<<24;case 6:b=w[g+6|0]<<16|b;case 5:b=w[g+5|0]<<8^b;case 4:b=w[g+4|0]^b;d=B(B(b,-1425107063)>>>16|B(b,-1752629248),951274213)^d;case 3:b=w[g+3|0]<<24;case 2:b=w[g+2|0]<<16|b;case 1:b=w[g+1|0]<<8^b;case 0:b=w[g|0]^b;j=B(B(b,597399067)>>>17|B(b,-888307712),-1425107063)^j;break;default:break N}}b=v[a+748>>2]+f|0;t[b|0]=45;t[b+33|0]=46;t[b+34|0]=46;t[b+35|0]=46;t[b+36|0]=0;d=d^l;h=l^k;i=c^l;c=(d+(h+i|0)|0)+(j^l)|0;g=B(c>>>16^c,-2048144789);g=B(g>>>13^g,-1028477387);k=g>>>16^g;d=c+d|0;d=B(d>>>16^d,-2048144789);d=B(d>>>13^d,-1028477387);g=d>>>16^d;d=c+h|0;d=B(d>>>16^d,-2048144789);d=B(d>>>13^d,-1028477387);h=d>>>16^d;c=c+i|0;c=B(c>>>16^c,-2048144789);c=B(c>>>13^c,-1028477387);d=c>>>16^c;c=((k+g|0)+h|0)+d|0;d=c+d|0;t[b+32|0]=w[(d&15)+518736|0];t[b+25|0]=w[(d>>>28|0)+518736|0];h=c+h|0;t[b+24|0]=w[(h&15)+518736|0];t[b+31|0]=w[(d>>>4&15)+518736|0];t[b+30|0]=w[(d>>>8&15)+518736|0];t[b+29|0]=w[(d>>>12&15)+518736|0];t[b+28|0]=w[(d>>>16&15)+518736|0];t[b+27|0]=w[(d>>>20&15)+518736|0];t[b+26|0]=w[(d>>>24&15)+518736|0];t[b+23|0]=w[(h>>>4&15)+518736|0];t[b+22|0]=w[(h>>>8&15)+518736|0];t[b+21|0]=w[(h>>>12&15)+518736|0];t[b+20|0]=w[(h>>>16&15)+518736|0];t[b+19|0]=w[(h>>>20&15)+518736|0];t[b+18|0]=w[(h>>>24&15)+518736|0];d=c+g|0;t[b+16|0]=w[(d&15)+518736|0];t[b+17|0]=w[(h>>>28|0)+518736|0];t[b+15|0]=w[(d>>>4&15)+518736|0];t[b+14|0]=w[(d>>>8&15)+518736|0];t[b+13|0]=w[(d>>>12&15)+518736|0];t[b+12|0]=w[(d>>>16&15)+518736|0];t[b+11|0]=w[(d>>>20&15)+518736|0];t[b+10|0]=w[(d>>>24&15)+518736|0];t[b+9|0]=w[(d>>>28|0)+518736|0];t[b+8|0]=w[(c&15)+518736|0];t[b+7|0]=w[(c>>>4&15)+518736|0];t[b+6|0]=w[(c>>>8&15)+518736|0];t[b+5|0]=w[(c>>>12&15)+518736|0];t[b+4|0]=w[(c>>>16&15)+518736|0];t[b+3|0]=w[(c>>>20&15)+518736|0];t[b+2|0]=w[(c>>>24&15)+518736|0];t[b+1|0]=w[(c>>>28|0)+518736|0]}v[a+720>>2]=f}Ma=e+48|0;return f|0}function Do(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Ma-448|0;Ma=e;a:{if(!a){break a}v[e+444>>2]=80;c=Qa[v[256555]](81)|0;if(!c){v[e>>2]=345842;nb(0,0,0,0,0,30,2,3,345842,0,0,0,340689,e);break a}b:{d=v[a>>2];c:{if(d){g=w[d|0];d:{if(!g){break d}h=80;while(1){if((f|0)>=(h|0)){if((h|0)>=1048577){v[e+416>>2]=338944;nb(0,0,0,0,0,30,2,3,338944,0,0,0,340689,e+416|0);break c}g=h<<1;b=Qa[v[256557]](c,g|1)|0;if(!b){v[e+432>>2]=345842;nb(0,0,0,0,0,30,2,3,345842,0,0,0,340689,e+432|0);break c}v[e+444>>2]=g;g=w[d|0];c=b}t[c+f|0]=g;f=f+1|0;g=w[d+1|0];h=v[e+444>>2];d=d+1|0;if(g){continue}break}if((f|0)<(h|0)){break d}if((h|0)>=1048577){v[e+384>>2]=338944;nb(0,0,0,0,0,30,2,3,338944,0,0,0,340689,e+384|0);break c}g=h<<1;b=Qa[v[256557]](c,g|1)|0;if(!b){v[e+400>>2]=345842;nb(0,0,0,0,0,30,2,3,345842,0,0,0,340689,e+400|0);break c}v[e+444>>2]=g;c=b}t[c+f|0]=58;f=f+1|0}h=v[a+4>>2];e:{if(h){d=w[h|0];if(!d){g=f;break e}while(1){g=f+3|0;b=v[e+444>>2];if((g|0)>=(b|0)){if((b|0)>=1048577){v[e+352>>2]=338944;nb(0,0,0,0,0,30,2,3,338944,0,0,0,340689,e+352|0);break c}d=b<<1;b=Qa[v[256557]](c,d|1)|0;if(!b){v[e+368>>2]=345842;nb(0,0,0,0,0,30,2,3,345842,0,0,0,340689,e+368|0);break c}v[e+444>>2]=d;d=w[h|0];c=b}f:{g:{h:{i:{b=d&255;switch(b-36|0){case 0:case 2:case 7:case 8:case 11:case 22:case 23:case 25:case 27:case 28:case 55:case 57:break h;default:break i}}if(((d&223)-65&255)>>>0<26|(d-48&255)>>>0<10){break h}j:{switch(b-33|0){case 1:case 2:case 3:case 4:case 5:case 10:case 11:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 58:case 59:case 60:case 61:break g;case 0:case 6:case 7:case 8:case 9:case 12:case 13:case 62:break h;default:break j}}if((b|0)!=126){break g}}g=f+1|0;break f}i=c+f|0;t[i|0]=37;t[i+1|0]=(b>>>4|0)+(b>>>0>159?55:48);b=d&15;d=(b>>>0>9?55:48)+b|0;f=f+2|0}t[c+f|0]=d;d=w[h+1|0];h=h+1|0;f=g;if(d){continue}break}break e}k:{if(!(!v[a+12>>2]&v[a+20>>2]!=-1)){b=v[e+444>>2];l:{if((b|0)>(f+3|0)){b=c;break l}if((b|0)>=1048577){v[e+288>>2]=338944;nb(0,0,0,0,0,30,2,3,338944,0,0,0,340689,e+288|0);break c}g=b<<1;b=Qa[v[256557]](c,g|1)|0;if(!b){v[e+304>>2]=345842;nb(0,0,0,0,0,30,2,3,345842,0,0,0,340689,e+304|0);break c}v[e+444>>2]=g}c=b+f|0;t[c|0]=47;t[c+1|0]=47;f=f+2|0;g=v[a+16>>2];if(g){d=w[g|0];m:{if(!d){h=f;c=b;break m}c=b;while(1){h=f+3|0;b=v[e+444>>2];if((h|0)>=(b|0)){if((b|0)>=1048577){v[e+256>>2]=338944;nb(0,0,0,0,0,30,2,3,338944,0,0,0,340689,e+256|0);break c}d=b<<1;b=Qa[v[256557]](c,d|1)|0;if(!b){v[e+272>>2]=345842;nb(0,0,0,0,0,30,2,3,345842,0,0,0,340689,e+272|0);break c}v[e+444>>2]=d;d=w[g|0];c=b}n:{o:{p:{if(((d&223)-65&255)>>>0<26|(d-48&255)>>>0<10){break p}b=d&255;switch(b-33|0){case 0:case 3:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 25:case 26:case 28:case 62:case 93:break p;default:break o}}h=f+1|0;break n}i=c+f|0;t[i|0]=37;t[i+1|0]=(b>>>4|0)+(b>>>0>159?55:48);b=d&15;d=(b>>>0>9?55:48)+b|0;f=f+2|0}t[c+f|0]=d;d=w[g+1|0];g=g+1|0;f=h;if(d){continue}break}}q:{if(v[e+444>>2]>(h+3|0)){b=c;break q}b=uq(c,e+444|0);if(!b){break c}}t[b+h|0]=64;f=h+1|0}d=v[a+12>>2];if(!d){break k}g=w[d|0];r:{if(!g){c=b;break r}c=b;while(1){b=v[e+444>>2];if((b|0)<=(f|0)){if((b|0)>=1048577){v[e+224>>2]=338944;nb(0,0,0,0,0,30,2,3,338944,0,0,0,340689,e+224|0);break c}g=b<<1;b=Qa[v[256557]](c,g|1)|0;if(!b){v[e+240>>2]=345842;nb(0,0,0,0,0,30,2,3,345842,0,0,0,340689,e+240|0);break c}v[e+444>>2]=g;g=w[d|0];c=b}t[c+f|0]=g;f=f+1|0;g=w[d+1|0];d=d+1|0;if(g){continue}break}}d=v[a+20>>2];if((d|0)<1){b=c;break k}g=v[e+444>>2];s:{if((g|0)>(f+10|0)){b=c;break s}b=uq(c,e+444|0);if(!b){break c}d=v[a+20>>2];g=v[e+444>>2]}v[e+208>>2]=d;f=_i(b+f|0,g-f|0,291771,e+208|0)+f|0;break k}if(v[a+8>>2]){t:{if(v[e+444>>2]>(f+3|0)){b=c;break t}b=uq(c,e+444|0);if(!b){break c}}c=b+f|0;t[c|0]=47;t[c+1|0]=47;d=f+2|0;g=v[a+8>>2];c=w[g|0];if(!c){f=d;break k}while(1){f=d+3|0;h=v[e+444>>2];if((f|0)>=(h|0)){if((h|0)>=1048577){v[e+320>>2]=338944;nb(0,0,0,0,0,30,2,3,338944,0,0,0,340689,e+320|0);c=b;break c}h=h<<1;c=Qa[v[256557]](b,h|1)|0;if(!c){v[e+336>>2]=345842;nb(0,0,0,0,0,30,2,3,345842,0,0,0,340689,e+336|0);c=b;break c}v[e+444>>2]=h;b=c;c=w[g|0]}u:{v:{w:{if(((c&223)-65&255)>>>0<26|(c-48&255)>>>0<10){break w}h=c&255;switch(h-33|0){case 0:case 3:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 25:case 26:case 28:case 31:case 62:case 93:break w;default:break v}}f=d+1|0;break u}i=b+d|0;t[i|0]=37;t[i+1|0]=(h>>>4|0)+(h>>>0>159?55:48);c=c&15;c=(c>>>0>9?55:48)+c|0;d=d+2|0}t[b+d|0]=c;c=w[g+1|0];g=g+1|0;d=f;if(c){continue}break}break k}if(!v[a>>2]){b=c;break k}if(v[e+444>>2]>(f+3|0)){b=c;break k}b=uq(c,e+444|0);if(!b){break c}}h=v[a+24>>2];x:{if(!h){c=b;break x}y:{z:{A:{c=v[a>>2];if(!c){break A}d=w[h|0];if((d|0)!=47){g=f;break y}if(w[h+2|0]!=58|((w[h+1|0]&223)-65&255)>>>0>25){break A}d=280544;if((c|0)!=280544){while(1){g=w[c|0];if((g|0)!=w[d|0]){break A}d=d+1|0;c=c+1|0;if(g){continue}break}}d=47;g=f+3|0;if((g|0)>=v[e+444>>2]){c=b;b=uq(b,e+444|0);if(!b){break c}d=w[h|0]}c=b+f|0;t[c|0]=d;t[c+1|0]=w[h+1|0];t[c+2|0]=w[h+2|0];h=h+3|0;break z}g=f}d=w[h|0]}if(!(d&255)){f=g;c=b;break x}c=b;while(1){f=g+3|0;b=v[e+444>>2];if((f|0)>=(b|0)){if((b|0)>=1048577){v[e+176>>2]=338944;nb(0,0,0,0,0,30,2,3,338944,0,0,0,340689,e+176|0);break c}d=b<<1;b=Qa[v[256557]](c,d|1)|0;if(!b){v[e+192>>2]=345842;nb(0,0,0,0,0,30,2,3,345842,0,0,0,340689,e+192|0);break c}v[e+444>>2]=d;d=w[h|0];c=b}B:{C:{D:{if(((d&223)-65&255)>>>0<26|(d-48&255)>>>0<10){break D}b=d&255;switch(b-33|0){case 0:case 3:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 26:case 28:case 31:case 62:case 93:break D;default:break C}}f=g+1|0;break B}i=c+g|0;t[i|0]=37;t[i+1|0]=(b>>>4|0)+(b>>>0>159?55:48);b=d&15;d=(b>>>0>9?55:48)+b|0;g=g+2|0}t[c+g|0]=d;d=w[h+1|0];h=h+1|0;g=f;if(d){continue}break}}if(v[a+40>>2]){h=f+1|0;E:{if((h|0)>2]){b=c;break E}b=uq(c,e+444|0);if(!b){break c}}t[b+f|0]=63;f=v[a+40>>2];d=w[f|0];if(!d){g=h;c=b;break e}c=b;while(1){g=h+1|0;b=v[e+444>>2];if((g|0)>=(b|0)){if((b|0)>=1048577){v[e+144>>2]=338944;nb(0,0,0,0,0,30,2,3,338944,0,0,0,340689,e+144|0);break c}d=b<<1;b=Qa[v[256557]](c,d|1)|0;if(!b){v[e+160>>2]=345842;nb(0,0,0,0,0,30,2,3,345842,0,0,0,340689,e+160|0);break c}v[e+444>>2]=d;d=w[f|0];c=b}t[c+h|0]=d;d=w[f+1|0];f=f+1|0;h=g;if(d){continue}break}break e}if(!v[a+28>>2]){g=f;break e}F:{if(v[e+444>>2]>(f+3|0)){b=c;break F}b=uq(c,e+444|0);if(!b){break c}}t[b+f|0]=63;d=f+1|0;h=v[a+28>>2];f=w[h|0];if(!f){g=d;c=b;break e}c=b;while(1){g=d+3|0;b=v[e+444>>2];if((g|0)>=(b|0)){if((b|0)>=1048577){v[e+112>>2]=338944;nb(0,0,0,0,0,30,2,3,338944,0,0,0,340689,e+112|0);break c}f=b<<1;b=Qa[v[256557]](c,f|1)|0;if(!b){v[e+128>>2]=345842;nb(0,0,0,0,0,30,2,3,345842,0,0,0,340689,e+128|0);break c}v[e+444>>2]=f;f=w[h|0];c=b}G:{H:{I:{if(((f&223)-65&255)>>>0<26|(f-48&255)>>>0<10){break I}b=f&255;switch(b-33|0){case 0:case 3:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 25:case 26:case 28:case 30:case 31:case 58:case 60:case 62:case 93:break I;default:break H}}g=d+1|0;break G}i=c+d|0;t[i|0]=37;t[i+1|0]=(b>>>4|0)+(b>>>0>159?55:48);b=f&15;f=(b>>>0>9?55:48)+b|0;d=d+2|0}t[c+d|0]=f;f=w[h+1|0];h=h+1|0;d=g;if(f){continue}break}}J:{K:{if(!v[a+32>>2]){h=c;break K}b=v[e+444>>2];L:{if((b|0)>(g+3|0)){h=c;break L}if((b|0)>=1048577){v[e+80>>2]=338944;nb(0,0,0,0,0,30,2,3,338944,0,0,0,340689,e+80|0);break c}b=b<<1;h=Qa[v[256557]](c,b|1)|0;if(!h){v[e+96>>2]=345842;nb(0,0,0,0,0,30,2,3,345842,0,0,0,340689,e+96|0);break c}v[e+444>>2]=b}t[g+h|0]=35;f=g+1|0;d=v[a+32>>2];c=w[d|0];if(!c){g=f;break K}while(1){g=f+3|0;a=v[e+444>>2];if((g|0)>=(a|0)){if((a|0)>=1048577){v[e+48>>2]=338944;nb(0,0,0,0,0,30,2,3,338944,0,0,0,340689,e+48|0);break J}c=a<<1;a=Qa[v[256557]](h,c|1)|0;if(!a){v[e+64>>2]=345842;nb(0,0,0,0,0,30,2,3,345842,0,0,0,340689,e- -64|0);break J}v[e+444>>2]=c;h=a;c=w[d|0]}M:{N:{O:{if(((c&223)-65&255)>>>0<26|(c-48&255)>>>0<10){break O}a=c&255;switch(a-33|0){case 0:case 3:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 25:case 26:case 28:case 30:case 31:case 58:case 60:case 62:case 93:break O;default:break N}}g=f+1|0;break M}b=f+h|0;t[b|0]=37;t[b+1|0]=(a>>>4|0)+(a>>>0>159?55:48);a=c&15;c=(a>>>0>9?55:48)+a|0;f=f+2|0}t[f+h|0]=c;c=w[d+1|0];d=d+1|0;f=g;if(c){continue}break}}a=v[e+444>>2];if((a|0)>(g|0)){f=h;break b}if((a|0)>=1048577){v[e+16>>2]=338944;nb(0,0,0,0,0,30,2,3,338944,0,0,0,340689,e+16|0);break J}f=Qa[v[256557]](h,a<<1|1)|0;if(f){break b}v[e+32>>2]=345842;nb(0,0,0,0,0,30,2,3,345842,0,0,0,340689,e+32|0)}c=h}f=0;Qa[v[256556]](c);break a}t[f+g|0]=0}Ma=e+448|0;return f}function cg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Ma-80|0;Ma=e;t[a+32|0]=1;a:{b:{c=v[a+8>>2];c:{if(!c|!v[c+8>>2]){break c}v[e>>2]=0;v[e+4>>2]=v[279250];g=e+72|0;Qa[v[v[c>>2]+28>>2]](g,c,1);jb(e,g);c=v[e+72>>2];v[e+72>>2]=0;d:{if(!c){break d}g=v[c+4>>2]-1|0;v[c+4>>2]=g;if(g){break d}g=v[c+4>>2];if(!g){v[c+4>>2]=-32767}if(!g){Qa[v[v[c>>2]+4>>2]](c)}}g=a+8|0;c=v[e>>2];v[e+4>>2]=v[(c?c+12|0:1117e3)>>2];Lr(e+56|0,e);db(e);e:{c=v[e+56>>2];if(!(y[c+8>>2]>1?c:0)){t[a+32|0]=0;if(b){break e}Rc(e+72|0,348452,g);a=v[e+72>>2];lb(mb(e,v[(a?a+12|0:1117e3)>>2],242166,373,329950));L()}f:{if(Hb(e+56|0,280544,-1)){break f}c=v[g>>2];d=v[c+8>>2];if((d|0)<=4){break b}f=v[c+12>>2];if(w[f+5|0]!=47){break f}if((d|0)<=5){break b}if(w[f+6|0]==47){if(Hb(g,987856,18)){break f}c=v[g>>2]}v[e+72>>2]=0;v[e+76>>2]=v[279250];f=v[(c?c+12|0:1117e3)>>2];c=f;while(1){d=w[c|0];if(!(!d|(d|0)==35|(d|0)==63)){c=c+1|0;continue}break}oi(e+72|0,c);We(e,g,0,c-f|0);c=v[e>>2];g:{if(c){Qa[v[v[c>>2]+28>>2]](e+48|0,c,1);break g}v[e+48>>2]=0}jb(g,e+48|0);c=v[e+48>>2];v[e+48>>2]=0;h:{if(!c){break h}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break h}d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}}c=v[a+8>>2];v[a+12>>2]=v[(c?c+12|0:1117e3)>>2];db(e);h=e+48|0;c=Ma-48|0;Ma=c;v[c+24>>2]=0;f=v[279250];v[c+28>>2]=f;i:{j:{k:{l:{d=v[a+8>>2];if(!d|!v[d+8>>2]){break l}m:{n:{o:{if(w[a+32|0]){v[c+36>>2]=f;v[c+32>>2]=0;f=a+8|0;break o}cg(a,0);d=v[a+8>>2];v[c+36>>2]=v[279250];v[c+32>>2]=0;f=a+8|0;if(!d){break n}}Qa[v[v[d>>2]+28>>2]](c+16|0,d,1);break m}v[c+16>>2]=0}jb(c+32|0,c+16|0);d=v[c+16>>2];v[c+16>>2]=0;p:{if(!d){break p}i=v[d+4>>2]-1|0;v[d+4>>2]=i;if(i){break p}i=v[d+4>>2];if(!i){v[d+4>>2]=-32767}if(!i){Qa[v[v[d>>2]+4>>2]](d)}}d=v[c+32>>2];v[c+36>>2]=v[(d?d+12|0:1117e3)>>2];if(!d){db(c+32|0);break l}d=v[d+8>>2];db(c+32|0);if(!d){break l}Wx(c+32|0,f);d=v[c+32>>2];f=v[(d?d+12|0:1117e3)>>2];if(!sE(987964,f,5)){d=f+5|0;q:{if(!sE(987970,d,12)){d=f+17|0;break q}if(!sE(987983,d,3)){d=f+8|0;break q}i=zb(d);if(i>>>0>=5){if(w[d|0]!=47){break q}if(w[f+6|0]!=47){d=f+6|0;break q}if((t[f+7|0]|32)-97>>>0>=26){break q}i=w[f+8|0];if((i|0)!=124&(i|0)!=58|w[f+9|0]!=47){break q}d=f+7|0;break q}if(w[d|0]!=47|i>>>0<3|w[f+6|0]==47){break q}d=f+6|0}f=Oc(c+8|0,d);v[c+16>>2]=0;v[c+20>>2]=v[279250];v[c+40>>2]=0;jb(c+24|0,c+40|0);d=v[c+40>>2];v[c+40>>2]=0;r:{if(!d){break r}i=v[d+4>>2]-1|0;v[d+4>>2]=i;if(i){break r}i=v[d+4>>2];if(!i){v[d+4>>2]=-32767}if(!i){Qa[v[v[d>>2]+4>>2]](d)}}d=v[c+24>>2];v[c+28>>2]=v[(d?d+12|0:1117e3)>>2];db(c+16|0);db(f);db(c+32|0);d=v[c+24>>2];v[h>>2]=0;v[h+4>>2]=v[279250];if(!d){break k}Qa[v[v[d>>2]+28>>2]](c+32|0,d,1);break j}d=Oc(c+16|0,f);v[h>>2]=0;v[h+4>>2]=v[279250];db(d);db(c+32|0);break i}v[h>>2]=0;v[h+4>>2]=v[279250]}v[c+32>>2]=0}jb(h,c+32|0);d=v[c+32>>2];v[c+32>>2]=0;s:{if(!d){break s}f=v[d+4>>2]-1|0;v[d+4>>2]=f;if(f){break s}f=v[d+4>>2];if(!f){v[d+4>>2]=-32767}if(!f){Qa[v[v[d>>2]+4>>2]](d)}}d=v[h>>2];v[h+4>>2]=v[(d?d+12|0:1117e3)>>2]}db(c+24|0);Ma=c+48|0;t:{c=v[e+48>>2];u:{if(!(v[c+8>>2]?c:0)){t[a+32|0]=0;if(b){break u}lb(mb(e,280417,242166,400,329950));L()}dQ(e,e+48|0);v[e>>2]=987956;if(!w[e+32|0]){cg(e,0)}v[e+40>>2]=0;v[e+44>>2]=v[279250];c=v[e+8>>2];v:{if(c){Qa[v[v[c>>2]+28>>2]](e- -64|0,c,1);break v}v[e+64>>2]=0}jb(e+40|0,e- -64|0);c=v[e+64>>2];v[e+64>>2]=0;w:{if(!c){break w}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break w}d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}}c=v[e+40>>2];v[e+44>>2]=v[(c?c+12|0:1117e3)>>2];x:{if(c){Qa[v[v[c>>2]+28>>2]](e- -64|0,c,1);break x}v[e+64>>2]=0}jb(g,e- -64|0);c=v[e+64>>2];v[e+64>>2]=0;y:{if(!c){break y}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break y}d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}}c=v[a+8>>2];v[a+12>>2]=v[(c?c+12|0:1117e3)>>2];db(e+40|0);v[e+24>>2]=969432;v[e>>2]=969400;c=v[e+28>>2];if(c){d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(!d){Qa[v[v[c>>2]+4>>2]](c)}v[e+28>>2]=0}v[e+16>>2]=969432;c=v[e+20>>2];if(c){d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(!d){Qa[v[v[c>>2]+4>>2]](c)}v[e+20>>2]=0}db(e+8|0);c=v[g>>2];if(v[c+8>>2]?c:0){break t}t[a+32|0]=0;if(!b){break a}}db(e+48|0);db(e+72|0);db(e+56|0);break c}b=e+72|0;Cd(g,b);db(e+48|0);db(b)}if(!w[a+32|0]){cg(a,0)}v[e>>2]=0;v[e+4>>2]=v[279250];b=v[g>>2];z:{if(b){Qa[v[v[b>>2]+28>>2]](e+72|0,b,1);break z}v[e+72>>2]=0}jb(e,e+72|0);b=v[e+72>>2];v[e+72>>2]=0;A:{if(!b){break A}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break A}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[e>>2];v[e+4>>2]=v[(b?b+12|0:1117e3)>>2];db(e);if(!w[a+32|0]){cg(a,0)}v[e+72>>2]=0;v[e+76>>2]=v[279250];b=v[g>>2];B:{if(b){Qa[v[v[b>>2]+28>>2]](e,b,1);break B}v[e>>2]=0}jb(e+72|0,e);b=v[e>>2];v[e>>2]=0;C:{if(!b){break C}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break C}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[e+72>>2];v[e+76>>2]=v[(b?b+12|0:1117e3)>>2];eQ(e,e+72|0);b=v[e>>2];D:{if(b){Qa[v[v[b>>2]+28>>2]](e+48|0,b,1);break D}v[e+48>>2]=0}jb(g,e+48|0);b=v[e+48>>2];v[e+48>>2]=0;E:{if(!b){break E}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break E}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[a+8>>2];v[a+12>>2]=v[(b?b+12|0:1117e3)>>2];db(e);db(e+72|0);g=Ma+-64|0;Ma=g;if(!w[a+32|0]){cg(a,0)}c=v[a+20>>2];if(v[c+4>>2]>=2){c=Yp(ab(52),c);v[c+4>>2]=v[c+4>>2]+1;b=v[a+20>>2];F:{if(!b){break F}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break F}Qa[v[v[b>>2]+4>>2]](b)}v[a+20>>2]=c}Zp(c,0,-1);c=v[a+28>>2];if(v[c+4>>2]>=2){c=Yp(ab(52),c);v[c+4>>2]=v[c+4>>2]+1;b=v[a+28>>2];G:{if(!b){break G}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break G}Qa[v[v[b>>2]+4>>2]](b)}v[a+28>>2]=c}Zp(c,0,-1);b=v[a+8>>2];d=v[(b?b+12|0:1117e3)>>2];H:{I:{J:{while(1){b=w[d|0];if(!b){break J}d=d+1|0;if((b|0)!=63){continue}break}if(!w[d|0]){break J}K:{L:while(1){v[g+32>>2]=0;v[g+36>>2]=v[279250];while(1){M:{N:{b=w[d|0];if(b){if((b|0)!=59&(b|0)!=38){break N}d=d+1|0}b=v[g+32>>2];if(!(!b|!v[b+8>>2])){f=v[b+12>>2];c=f;while(1){h=w[c|0];if(!(!h|(h|0)==61)){c=c+1|0;continue}break}v[g+24>>2]=0;h=v[279250];v[g+28>>2]=h;v[g+20>>2]=h;v[g+16>>2]=0;O:{if(w[c|0]){f=eg(g+40|0,f,c-f|0);b=v[g+40>>2];P:{if(b){Qa[v[v[b>>2]+28>>2]](g+8|0,b,1);break P}v[g+8>>2]=0}jb(g+24|0,g+8|0);b=v[g+8>>2];v[g+8>>2]=0;Q:{if(!b){break Q}h=v[b+4>>2]-1|0;v[b+4>>2]=h;if(h){break Q}h=v[b+4>>2];if(!h){v[b+4>>2]=-32767}if(!h){Qa[v[v[b>>2]+4>>2]](b)}}b=v[g+24>>2];v[g+28>>2]=v[(b?b+12|0:1117e3)>>2];db(f);b=0;f=v[g+32>>2];if(f){b=v[f+8>>2]}i=g+40|0;f=c+1|0;c=v[g+24>>2];if(c){c=v[c+8>>2]}else{c=0}c=eg(i,f,(c^-1)+b|0);b=v[g+40>>2];R:{if(b){Qa[v[v[b>>2]+28>>2]](g+8|0,b,1);break R}v[g+8>>2]=0}jb(g+16|0,g+8|0);b=v[g+8>>2];v[g+8>>2]=0;S:{if(!b){break S}f=v[b+4>>2]-1|0;v[b+4>>2]=f;if(f){break S}f=v[b+4>>2];if(!f){v[b+4>>2]=-32767}if(!f){Qa[v[v[b>>2]+4>>2]](b)}}b=v[g+16>>2];v[g+20>>2]=v[(b?b+12|0:1117e3)>>2];db(c);break O}c=g+40|0;Qa[v[v[b>>2]+28>>2]](c,b,1);jb(g+24|0,c);b=v[g+40>>2];v[g+40>>2]=0;T:{if(!b){break T}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break T}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[g+24>>2];v[g+28>>2]=v[(b?b+12|0:1117e3)>>2]}c=v[a+20>>2];b=(v[c+24>>2]-v[c+20>>2]|0)+1|0;if(v[c+4>>2]>=2){c=Yp(ab(52),c);v[c+4>>2]=v[c+4>>2]+1;f=v[a+20>>2];U:{if(!f){break U}h=v[f+4>>2]-1|0;v[f+4>>2]=h;if(h){break U}Qa[v[v[f>>2]+4>>2]](f)}v[a+20>>2]=c}Zp(c,0,b);c=v[a+28>>2];if(v[c+4>>2]>=2){c=Yp(ab(52),c);v[c+4>>2]=v[c+4>>2]+1;f=v[a+28>>2];V:{if(!f){break V}h=v[f+4>>2]-1|0;v[f+4>>2]=h;if(h){break V}Qa[v[v[f>>2]+4>>2]](f)}v[a+28>>2]=c}Zp(c,0,b);Wx(g+8|0,g+24|0);c=v[a+20>>2];if(v[c+4>>2]>=2){c=Yp(ab(52),c);v[c+4>>2]=v[c+4>>2]+1;f=v[a+20>>2];W:{if(!f){break W}h=v[f+4>>2]-1|0;v[f+4>>2]=h;if(h){break W}Qa[v[v[f>>2]+4>>2]](f)}v[a+20>>2]=c}if((b|0)>2]|(b|0)>v[c+24>>2]){break M}f=v[c+8>>2]+(b-v[c+12>>2]<<3)|0;c=v[g+8>>2];X:{if(c){Qa[v[v[c>>2]+28>>2]](g+40|0,c,1);break X}v[g+40>>2]=0}jb(f,g+40|0);c=v[g+40>>2];v[g+40>>2]=0;Y:{if(!c){break Y}h=v[c+4>>2]-1|0;v[c+4>>2]=h;if(h){break Y}h=v[c+4>>2];if(!h){v[c+4>>2]=-32767}if(!h){Qa[v[v[c>>2]+4>>2]](c)}}c=v[f>>2];v[f+4>>2]=v[(c?c+12|0:1117e3)>>2];c=g+8|0;db(c);Wx(c,g+16|0);c=v[a+28>>2];if(v[c+4>>2]>=2){c=Yp(ab(52),c);v[c+4>>2]=v[c+4>>2]+1;f=v[a+28>>2];Z:{if(!f){break Z}h=v[f+4>>2]-1|0;v[f+4>>2]=h;if(h){break Z}Qa[v[v[f>>2]+4>>2]](f)}v[a+28>>2]=c}if((b|0)>2]|(b|0)>v[c+24>>2]){break K}c=v[c+8>>2]+(b-v[c+12>>2]<<3)|0;b=v[g+8>>2];_:{if(b){Qa[v[v[b>>2]+28>>2]](g+40|0,b,1);break _}v[g+40>>2]=0}jb(c,g+40|0);b=v[g+40>>2];v[g+40>>2]=0;$:{if(!b){break $}f=v[b+4>>2]-1|0;v[b+4>>2]=f;if(f){break $}f=v[b+4>>2];if(!f){v[b+4>>2]=-32767}if(!f){Qa[v[v[b>>2]+4>>2]](b)}}b=v[c>>2];v[c+4>>2]=v[(b?b+12|0:1117e3)>>2];db(g+8|0);db(g+16|0);db(g+24|0)}db(g+32|0);if(w[d|0]){continue L}break J}Pd(g+32|0,b<<24>>24);d=d+1|0;continue}break}break}break I}break I}Ma=g- -64|0;break H}lb(mb(g+40|0,300435,271460,545,307425));L()}db(e+56|0);break c}db(e+56|0)}Ma=e+80|0;return}ni();L()}lb(mb(e,310984,242166,408,329950));L()}function hEa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,z=0,A=0,C=0;g=Ma-144|0;Ma=g;e=u[b+2>>1];if(!(!e|!x[b>>1])){eb(g+8|0,0,128);s=v[c>>2];v[g+24>>2]=s;A=g,C=yb(s,40,0,e,0,g+140|0),v[A+16>>2]=C;m=v[g+140>>2];a:{if(m){break a}f=yb(s,8,0,u[b>>1],0,g+140|0);v[g+20>>2]=f;m=v[g+140>>2];if(m){break a}p=u[b+2>>1];v[g+8>>2]=p;e=u[b>>1];v[g+12>>2]=e;l=v[g+16>>2];if(e){q=e>>>0>1?e:1;n=v[b+12>>2];m=0;while(1){o=u[n+(m<<1)>>1];j=l+B(k,40)|0;v[f>>2]=j;r=o+1|0;h=r-k|0;v[f+4>>2]=h;if(h){v[j>>2]=l+B(o,40);v[j+8>>2]=f;i=j;b:{if((h|0)==1){break b}z=o+(k^-1)|0;e=j;k=o-k&3;if(k){while(1){v[e+48>>2]=f;i=e+40|0;v[e+4>>2]=i;v[e+40>>2]=e;h=h-1|0;e=i;k=k-1|0;if(k){continue}break}}if(z>>>0<3){break b}while(1){v[e+48>>2]=f;i=e+40|0;v[e+4>>2]=i;v[e+88>>2]=f;v[e+80>>2]=i;i=e+80|0;v[e+44>>2]=i;v[e+128>>2]=f;v[e+120>>2]=i;i=e+120|0;v[e+84>>2]=i;v[e+168>>2]=f;v[e+160>>2]=i;i=e+160|0;v[e+124>>2]=i;v[e+40>>2]=e;e=i;h=h-4|0;if(h>>>0>1){continue}break}}v[i+4>>2]=j}f=f+8|0;k=r;m=m+1|0;if((q|0)!=(m|0)){continue}break}}c:{if(p){k=v[b+4>>2];f=0;e=l;while(1){o=(v[e+4>>2]-l|0)/40|0;h=(v[e>>2]-l|0)/40|0;if(!(t[v[b+8>>2]+f|0]&1)){v[e+12>>2]=1}z=e;j=k+(f<<3)|0;p=v[j+4>>2];m=k+(h<<3)|0;r=p-v[m+4>>2]|0;h=r>>31;q=v[j>>2];m=q-v[m>>2]|0;j=m>>31;j=j^j+m;n=h^h+r;i=(m|0)>-1?2:-2;d:{if(j>>>0>B(n,12)>>>0){break d}i=4;if(n>>>0<=B(j,12)>>>0){break d}i=(r|0)>-1?-1:1}t[z+20|0]=i;j=e;n=k+(o<<3)|0;o=v[n+4>>2]-p|0;h=o>>31;p=v[n>>2]-q|0;q=p>>31;q=q^p+q;n=h^h+o;h=(p|0)>-1?2:-2;e:{if(q>>>0>B(n,12)>>>0){break e}h=4;if(n>>>0<=B(q,12)>>>0){break e}h=(o|0)>-1?-1:1}t[j+21|0]=h;j=v[e+12>>2];f:{g:{if(j&1){break g}if((h|0)!=(i|0)){break f}if((h|0)!=4){break g}if(!b0(m,r,p,o)){break f}j=v[e+12>>2]}v[e+12>>2]=j|2}e=e+40|0;f=f+1|0;i=v[g+8>>2];if(f>>>0>>0){continue}break}f=v[b+4>>2];v[g+32>>2]=c;v[g+28>>2]=b;if(!i){break c}e=v[g+16>>2];b=i-1|0;h=i&3;if(h){while(1){v[e+24>>2]=0;v[e+16>>2]=0;v[e+28>>2]=v[f>>2];v[e+32>>2]=v[f+4>>2];f=f+8|0;e=e+40|0;i=i-1|0;h=h-1|0;if(h){continue}break}}if(b>>>0<3){break c}while(1){v[e+24>>2]=0;v[e+16>>2]=0;v[e+28>>2]=v[f>>2];b=v[f+4>>2];v[e- -64>>2]=0;v[e+56>>2]=0;v[e+32>>2]=b;v[e+68>>2]=v[f+8>>2];b=v[f+12>>2];v[e+104>>2]=0;v[e+96>>2]=0;v[e+72>>2]=b;v[e+108>>2]=v[f+16>>2];b=v[f+20>>2];v[e+144>>2]=0;v[e+136>>2]=0;v[e+112>>2]=b;v[e+148>>2]=v[f+24>>2];v[e+152>>2]=v[f+28>>2];f=f+32|0;e=e+160|0;i=i-4|0;if(i){continue}break}break c}v[g+32>>2]=c;v[g+28>>2]=b}if(v[g+12>>2]){z=0;while(1){b=v[g+20>>2]+(z<<3)|0;h:{if(y[b+4>>2]<4){break h}b=v[b>>2];e=b;while(1){e=v[e+4>>2];if((b|0)==(e|0)){break h}j=v[e+28>>2]-v[b+28>>2]|0;k=v[e+32>>2]-v[b+32>>2]|0;if(!(j|k)){continue}break}l=b;while(1){r=l;l=v[l>>2];if((b|0)==(l|0)){break h}f=v[r+28>>2]-v[l+28>>2]|0;h=v[r+32>>2]-v[l+32>>2]|0;if(!(f|h)){continue}i=c0(j,k,f,h);if(!i){continue}break}b=r;while(1){m=i;o=h;p=f;j=b;l=0;while(1){i=v[e+32>>2];k=v[e+28>>2];while(1){b=e;e=v[e+4>>2];q=v[e+32>>2];h=q-i|0;n=v[e+28>>2];f=n-k|0;l=(e|0)==(r|0)?1:l;i=q;k=n;if(!(f|h)){continue}break}i=c0(p,o,f,h);if(!i){continue}break}if((i^m)<=-1){while(1){v[j+12>>2]=v[j+12>>2]|4;j=v[j+4>>2];if((j|0)!=(b|0)){continue}break}v[b+12>>2]=v[b+12>>2]|4}if(!l){continue}break}}z=z+1|0;if(z>>>0>2]){continue}break}}m=a_(g+36|0,a+16|0,a+28|0,s);v[g+140>>2]=m;if(m){break a}m=a_(g+76|0,a+52|0,a- -64|0,s);if(m){break a}a=v[g+32>>2];o=v[a+200>>2];r=c+416|0;p=v[a+404>>2];a=xb(v[r>>2],p);b=a+32&-64;q=!b|(a|0)==(b|0);if(!q){e=fc(p,b,a);PI(v[g+32>>2],(a|0)>(b|0)?o+((o|0)/-50|0)|0:o,e,0,0)}u[g+128>>1]=257;t[g+132|0]=(d|0)!=1;t[g+131|0]=(d|0)==2|(d|0)==4;t[g+130|0]=(d&-2)==2;m=1;k=0;while(1){j=v[g+16>>2];a=v[g+8>>2];i:{if(!a){break i}e=v[v[g+28>>2]+4>>2];if(!(m&1)){f=j;h=a;i=a&3;if(i){while(1){v[f+24>>2]=0;v[f+16>>2]=0;v[f+28>>2]=v[e+4>>2];v[f+32>>2]=v[e>>2];e=e+8|0;f=f+40|0;h=h-1|0;i=i-1|0;if(i){continue}break}}if(a-1>>>0<3){break i}while(1){v[f+24>>2]=0;v[f+16>>2]=0;v[f+28>>2]=v[e+4>>2];b=v[e>>2];v[f- -64>>2]=0;v[f+56>>2]=0;v[f+32>>2]=b;v[f+68>>2]=v[e+12>>2];b=v[e+8>>2];v[f+104>>2]=0;v[f+96>>2]=0;v[f+72>>2]=b;v[f+108>>2]=v[e+20>>2];b=v[e+16>>2];v[f+144>>2]=0;v[f+136>>2]=0;v[f+112>>2]=b;v[f+148>>2]=v[e+28>>2];v[f+152>>2]=v[e+24>>2];e=e+32|0;f=f+160|0;h=h-4|0;if(h){continue}break}break i}f=j;h=a;i=a&3;if(i){while(1){v[f+24>>2]=0;v[f+16>>2]=0;v[f+28>>2]=v[e>>2];v[f+32>>2]=v[e+4>>2];e=e+8|0;f=f+40|0;h=h-1|0;i=i-1|0;if(i){continue}break}}if(a-1>>>0<3){break i}while(1){v[f+24>>2]=0;v[f+16>>2]=0;v[f+28>>2]=v[e>>2];b=v[e+4>>2];v[f- -64>>2]=0;v[f+56>>2]=0;v[f+32>>2]=b;v[f+68>>2]=v[e+8>>2];b=v[e+12>>2];v[f+104>>2]=0;v[f+96>>2]=0;v[f+72>>2]=b;v[f+108>>2]=v[e+16>>2];b=v[e+20>>2];v[f+144>>2]=0;v[f+136>>2]=0;v[f+112>>2]=b;v[f+148>>2]=v[e+24>>2];v[f+152>>2]=v[e+28>>2];e=e+32|0;f=f+160|0;h=h-4|0;if(h){continue}break}}l=v[g+12>>2];j:{if(!l){b=0;break j}d=0;n=v[g+20>>2];while(1){k:{b=n+(d<<3)|0;if(!v[b+4>>2]){break k}b=v[b>>2];f=b;while(1){f=v[f>>2];if((b|0)==(f|0)){b=d+1|0;break j}if(v[f+28>>2]==v[b+28>>2]){continue}break}s=v[f+4>>2];e=s;while(1){h=e;while(1){e=v[e+4>>2];if((s|0)==(e|0)){break k}i=v[e+28>>2];b=v[h+28>>2];if((i|0)==(b|0)){continue}break}l:{m:{if((b|0)>v[f+28>>2]){if((b|0)>(i|0)){break m}break l}if((b|0)>=(i|0)){break l}}while(1){v[h+16>>2]=v[h+16>>2]|64;h=v[h+4>>2];if((h|0)!=(e|0)){continue}break}}f=v[e>>2];continue}}b=0;d=d+1|0;if((l|0)!=(d|0)){continue}break}}while(1){if(a>>>0>b>>>0){e=B(b,40);d=e+j|0;l=v[d+16>>2];n:{if(!(l&64)){break n}f=e+j|0;e=d;while(1){e=v[e>>2];if((d|0)==(e|0)){break n}i=v[e+32>>2];h=v[f+32>>2];if((i|0)==(h|0)){continue}break}e=d;while(1){e=v[e+4>>2];if((d|0)==(e|0)){break n}f=v[e+32>>2];if((f|0)==(h|0)){continue}break}o:{if((h|0)>(i|0)){e=128;if((f|0)>(h|0)){break o}}if((h|0)>=(i|0)){break n}e=256;if((f|0)>=(h|0)){break n}}v[d+16>>2]=e|l}b=b+1|0;continue}break}h=v[g+32>>2];b=(g+8|0)+B(k,40)|0;d=b+28|0;f=v[d>>2];if(f){e=v[b+36>>2];while(1){$Z(e,h,k,g+8|0);e=e+28|0;f=f-1|0;if(f){continue}break}h=v[g+32>>2]}a=v[b+60>>2];e=v[a+8>>2];l=v[a>>2];a=Ub(32,v[(B(k,204)+h|0)+200>>2]);i=(a|0)<30?a:30;j=m&1?1:2;p:{q:{r:{if(l>>>0>=2){f=v[g+8>>2];if(!f){j=0;break p}a=v[e+12>>2];h=a>>>0>f>>>0?f:a;while(1){a=v[e+28>>2];a=a>>>0>>0?a:f;if(a>>>0>h>>>0){f=v[g+16>>2];_Z(d,v[e+16>>2],v[e+24>>2]);ZZ(v[b+32>>2],v[b+40>>2],f+B(h,40)|0,a-h|0,i,j)}l=l-1|0;if(l>>>0<2){break r}e=e+16|0;f=v[g+8>>2];h=a;continue}}if((l|0)!=1){break q}}a=v[g+16>>2];e=v[g+8>>2];h=d;d=v[v[b+60>>2]+8>>2];_Z(h,v[d>>2],v[d+8>>2]);ZZ(v[b+32>>2],v[b+40>>2],a,e,i,j)}j=v[g+8>>2];if(!j){j=0;break p}e=v[g+16>>2];if(j&1){s:{if(!v[e+24>>2]){break s}a=v[e+16>>2];if(a&16){break s}v[e+16>>2]=a|16}e=e+40|0;f=j-1|0}else{f=j}if((j|0)==1){break p}while(1){t:{if(!v[e+24>>2]){break t}a=v[e+16>>2];if(a&16){break t}v[e+16>>2]=a|16}u:{if(!v[e- -64>>2]){break u}a=v[e+56>>2];if(a&16){break u}v[e+56>>2]=a|16}e=e+80|0;f=f-2|0;if(f){continue}break}}a=v[g+16>>2];v:{if(!(k&1)){YZ(j,a,v[g+32>>2],0);XZ(g+8|0,0);WZ(v[g+12>>2],v[g+20>>2],v[g+32>>2],0);h=v[g+8>>2];if(!h){break v}a=v[g+28>>2];b=v[a+8>>2];a=v[a+4>>2];f=0;e=v[g+16>>2];while(1){v[a+(f<<3)>>2]=v[e+36>>2];if(w[e+16|0]&16){d=b+f|0;t[d|0]=w[d|0]|32;h=v[g+8>>2]}e=e+40|0;f=f+1|0;if(h>>>0>f>>>0){continue}break}break v}h=a;b=j;if(b){while(1){d=w[h+20|0];w:{x:{if((d|0)==2|(d|0)==254){break x}d=w[h+21|0];if((d|0)==254){break x}if((d|0)!=2){break w}}k=v[h+16>>2];if(k&16){break w}d=v[h+28>>2];i=v[c+412>>2];y:{if(!i){break y}f=v[c+2488>>2];l=0-f|0;e=r;while(1){n=d-v[e+12>>2]|0;if((n|0)<(l|0)){break y}if(!(!w[c+2492|0]&(n|0)>v[c+2484>>2]|(d|0)>(f+v[e+8>>2]|0))){n=v[e+24>>2];k=k|48;v[h+16>>2]=k;v[h+36>>2]=n}e=e+32|0;i=i-1|0;if(i){continue}break}}i=v[c+928>>2];if(!i){break w}f=v[c+2488>>2];l=0-f|0;e=((i<<5)+c|0)+932|0;while(1){n=v[e-24>>2]-d|0;if((n|0)<(l|0)){break w}if(!(!w[c+2492|0]&(n|0)>=v[c+2484>>2]|(d|0)<(v[e-20>>2]-f|0))){n=v[e-4>>2];k=k|48;v[h+16>>2]=k;v[h+36>>2]=n}e=e-32|0;i=i-1|0;if(i){continue}break}}h=h+40|0;b=b-1|0;if(b){continue}break}}YZ(j,a,v[g+32>>2],1);XZ(g+8|0,1);WZ(v[g+12>>2],v[g+20>>2],v[g+32>>2],1);h=v[g+8>>2];if(!h){break v}a=v[g+28>>2];b=v[a+8>>2];a=v[a+4>>2];f=0;e=v[g+16>>2];while(1){v[(a+(f<<3)|0)+4>>2]=v[e+36>>2];if(w[e+16|0]&16){d=b+f|0;t[d|0]=w[d|0]|64;h=v[g+8>>2]}e=e+40|0;f=f+1|0;if(h>>>0>f>>>0){continue}break}}if(!q){PI(v[g+32>>2],o,p,0,0)}k=1;a=m&1;m=0;if(a){continue}break}}a=v[g+24>>2];b=a;c=v[g+100>>2];if(c){Qa[v[b+8>>2]](b,c)}v[g+104>>2]=0;v[g+96>>2]=0;v[g+100>>2]=0;b=v[g+88>>2];if(b){Qa[v[a+8>>2]](a,b)}v[g+88>>2]=0;b=v[g+84>>2];if(b){Qa[v[a+8>>2]](a,b)}v[g+84>>2]=0;v[g+92>>2]=0;v[g+76>>2]=0;v[g+80>>2]=0;b=v[g+60>>2];if(b){Qa[v[a+8>>2]](a,b)}v[g- -64>>2]=0;v[g+56>>2]=0;v[g+60>>2]=0;b=v[g+48>>2];if(b){Qa[v[a+8>>2]](a,b)}v[g+48>>2]=0;b=v[g+44>>2];if(b){Qa[v[a+8>>2]](a,b)}v[g+44>>2]=0;v[g+52>>2]=0;v[g+36>>2]=0;v[g+40>>2]=0;b=v[g+16>>2];if(b){Qa[v[a+8>>2]](a,b)}v[g+16>>2]=0;b=v[g+20>>2];if(b){Qa[v[a+8>>2]](a,b)}}Ma=g+144|0;return m|0}function Y1a(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,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((e|0)>=1){m=b&1;o=f<<2;b=a;while(1){i=b;a:{if((d|0)>=2){l=(d-m|0)+1>>1;h=(l<<2)+i|0;g=i;if(!m){v[i>>2]=v[i>>2]-(v[h>>2]+1>>1);g=i+4|0}p=d&1;n=(p|0)!=(m|0);j=(l-!m|0)-n|0;b:{if((j|0)<1){k=h;break b}q=(l+(m?0:-1)|0)+(n?-1:0)|0;if(q&1){v[g>>2]=v[g>>2]-((v[h>>2]+v[h+4>>2]|0)+2>>2);g=g+4|0;j=j-1|0;k=h+4|0}else{k=h}if((q|0)==1){break b}while(1){v[g>>2]=v[g>>2]-((v[k>>2]+v[k+4>>2]|0)+2>>2);v[g+4>>2]=v[g+4>>2]-((v[k+4>>2]+v[k+8>>2]|0)+2>>2);g=g+8|0;k=k+8|0;q=(j|0)>2;j=j-2|0;if(q){continue}break}}j=(m|0)==(p|0);if(!j){v[g>>2]=v[g>>2]-(v[k>>2]+1>>1)}if(m){v[h>>2]=v[h>>2]+v[i>>2];h=h+4|0}k=l+m|0;g=(d-k|0)-j|0;c:{if((g|0)<1){break c}if(g&1){v[h>>2]=v[h>>2]+(v[i+4>>2]+v[i>>2]>>1);g=g-1|0;h=h+4|0;i=i+4|0}if((k+1|0)==((j?-1:0)+d|0)){break c}while(1){v[h>>2]=v[h>>2]+(v[i+4>>2]+v[i>>2]>>1);v[h+4>>2]=v[h+4>>2]+(v[i+8>>2]+v[i+4>>2]>>1);h=h+8|0;i=i+8|0;k=(g|0)>2;g=g-2|0;if(k){continue}break}}if(n){break a}v[h>>2]=v[h>>2]+v[i>>2];break a}if(!m){break a}v[i>>2]=v[i>>2]>>1}j5(b,d,m);b=b+o|0;r=r+1|0;if((r|0)!=(e|0)){continue}break}}l=c&1;j=(d|0)/16<<4;if((d|0)>=16){m=0;while(1){b=a;d:{if((e|0)>=2){o=(e-l|0)+1>>1;c=(B(o,f)<<2)+b|0;g=b;if(!l){v[b>>2]=v[b>>2]-(v[c>>2]+1>>1);v[b+4>>2]=v[b+4>>2]-(v[c+4>>2]+1>>1);v[b+8>>2]=v[b+8>>2]-(v[c+8>>2]+1>>1);v[b+12>>2]=v[b+12>>2]-(v[c+12>>2]+1>>1);v[b+16>>2]=v[b+16>>2]-(v[c+16>>2]+1>>1);v[b+20>>2]=v[b+20>>2]-(v[c+20>>2]+1>>1);v[b+24>>2]=v[b+24>>2]-(v[c+24>>2]+1>>1);v[b+28>>2]=v[b+28>>2]-(v[c+28>>2]+1>>1);v[b+32>>2]=v[b+32>>2]-(v[c+32>>2]+1>>1);v[b+36>>2]=v[b+36>>2]-(v[c+36>>2]+1>>1);v[b+40>>2]=v[b+40>>2]-(v[c+40>>2]+1>>1);v[b+44>>2]=v[b+44>>2]-(v[c+44>>2]+1>>1);v[b+48>>2]=v[b+48>>2]-(v[c+48>>2]+1>>1);v[b+52>>2]=v[b+52>>2]-(v[c+52>>2]+1>>1);v[b+56>>2]=v[b+56>>2]-(v[c+56>>2]+1>>1);v[b+60>>2]=v[b+60>>2]-(v[c+60>>2]+1>>1);g=(f<<2)+b|0}p=e&1;q=(p|0)!=(l|0);n=(o-!l|0)-q|0;e:{if((n|0)<1){i=c;break e}h=c;while(1){k=f<<2;i=k+h|0;v[g>>2]=v[g>>2]-((v[h>>2]+v[i>>2]|0)+2>>2);v[g+4>>2]=v[g+4>>2]-((v[h+4>>2]+v[k+(h+4|0)>>2]|0)+2>>2);v[g+8>>2]=v[g+8>>2]-((v[h+8>>2]+v[k+(h+8|0)>>2]|0)+2>>2);v[g+12>>2]=v[g+12>>2]-((v[h+12>>2]+v[k+(h+12|0)>>2]|0)+2>>2);v[g+16>>2]=v[g+16>>2]-((v[h+16>>2]+v[k+(h+16|0)>>2]|0)+2>>2);v[g+20>>2]=v[g+20>>2]-((v[h+20>>2]+v[k+(h+20|0)>>2]|0)+2>>2);v[g+24>>2]=v[g+24>>2]-((v[h+24>>2]+v[k+(h+24|0)>>2]|0)+2>>2);v[g+28>>2]=v[g+28>>2]-((v[h+28>>2]+v[k+(h+28|0)>>2]|0)+2>>2);v[g+32>>2]=v[g+32>>2]-((v[h+32>>2]+v[k+(h+32|0)>>2]|0)+2>>2);v[g+36>>2]=v[g+36>>2]-((v[h+36>>2]+v[k+(h+36|0)>>2]|0)+2>>2);v[g+40>>2]=v[g+40>>2]-((v[h+40>>2]+v[k+(h+40|0)>>2]|0)+2>>2);v[g+44>>2]=v[g+44>>2]-((v[h+44>>2]+v[k+(h+44|0)>>2]|0)+2>>2);v[g+48>>2]=v[g+48>>2]-((v[h+48>>2]+v[k+(h+48|0)>>2]|0)+2>>2);v[g+52>>2]=v[g+52>>2]-((v[h+52>>2]+v[k+(h+52|0)>>2]|0)+2>>2);v[g+56>>2]=v[g+56>>2]-((v[h+56>>2]+v[k+(h+56|0)>>2]|0)+2>>2);v[g+60>>2]=v[g+60>>2]-((v[h+60>>2]+v[k+(h+60|0)>>2]|0)+2>>2);g=g+k|0;k=(n|0)>1;n=n-1|0;h=i;if(k){continue}break}}h=(l|0)==(p|0);if(!h){v[g>>2]=v[g>>2]-(v[i>>2]+1>>1);v[g+4>>2]=v[g+4>>2]-(v[i+4>>2]+1>>1);v[g+8>>2]=v[g+8>>2]-(v[i+8>>2]+1>>1);v[g+12>>2]=v[g+12>>2]-(v[i+12>>2]+1>>1);v[g+16>>2]=v[g+16>>2]-(v[i+16>>2]+1>>1);v[g+20>>2]=v[g+20>>2]-(v[i+20>>2]+1>>1);v[g+24>>2]=v[g+24>>2]-(v[i+24>>2]+1>>1);v[g+28>>2]=v[g+28>>2]-(v[i+28>>2]+1>>1);v[g+32>>2]=v[g+32>>2]-(v[i+32>>2]+1>>1);v[g+36>>2]=v[g+36>>2]-(v[i+36>>2]+1>>1);v[g+40>>2]=v[g+40>>2]-(v[i+40>>2]+1>>1);v[g+44>>2]=v[g+44>>2]-(v[i+44>>2]+1>>1);v[g+48>>2]=v[g+48>>2]-(v[i+48>>2]+1>>1);v[g+52>>2]=v[g+52>>2]-(v[i+52>>2]+1>>1);v[g+56>>2]=v[g+56>>2]-(v[i+56>>2]+1>>1);v[g+60>>2]=v[g+60>>2]-(v[i+60>>2]+1>>1)}if(l){v[c>>2]=v[c>>2]+v[b>>2];v[c+4>>2]=v[c+4>>2]+v[b+4>>2];v[c+8>>2]=v[c+8>>2]+v[b+8>>2];v[c+12>>2]=v[c+12>>2]+v[b+12>>2];v[c+16>>2]=v[c+16>>2]+v[b+16>>2];v[c+20>>2]=v[c+20>>2]+v[b+20>>2];v[c+24>>2]=v[c+24>>2]+v[b+24>>2];v[c+28>>2]=v[c+28>>2]+v[b+28>>2];v[c+32>>2]=v[c+32>>2]+v[b+32>>2];v[c+36>>2]=v[c+36>>2]+v[b+36>>2];v[c+40>>2]=v[c+40>>2]+v[b+40>>2];v[c+44>>2]=v[c+44>>2]+v[b+44>>2];v[c+48>>2]=v[c+48>>2]+v[b+48>>2];v[c+52>>2]=v[c+52>>2]+v[b+52>>2];v[c+56>>2]=v[c+56>>2]+v[b+56>>2];v[c+60>>2]=v[c+60>>2]+v[b+60>>2];c=(f<<2)+c|0}h=(e-(l+o|0)|0)-h|0;f:{if((h|0)<1){i=b;break f}g=f<<2;while(1){i=b+g|0;v[c>>2]=v[c>>2]+(v[i>>2]+v[b>>2]>>1);v[c+4>>2]=v[c+4>>2]+(v[g+(b+4|0)>>2]+v[b+4>>2]>>1);v[c+8>>2]=v[c+8>>2]+(v[g+(b+8|0)>>2]+v[b+8>>2]>>1);v[c+12>>2]=v[c+12>>2]+(v[g+(b+12|0)>>2]+v[b+12>>2]>>1);v[c+16>>2]=v[c+16>>2]+(v[g+(b+16|0)>>2]+v[b+16>>2]>>1);v[c+20>>2]=v[c+20>>2]+(v[g+(b+20|0)>>2]+v[b+20>>2]>>1);v[c+24>>2]=v[c+24>>2]+(v[g+(b+24|0)>>2]+v[b+24>>2]>>1);v[c+28>>2]=v[c+28>>2]+(v[g+(b+28|0)>>2]+v[b+28>>2]>>1);v[c+32>>2]=v[c+32>>2]+(v[g+(b+32|0)>>2]+v[b+32>>2]>>1);v[c+36>>2]=v[c+36>>2]+(v[g+(b+36|0)>>2]+v[b+36>>2]>>1);v[c+40>>2]=v[c+40>>2]+(v[g+(b+40|0)>>2]+v[b+40>>2]>>1);v[c+44>>2]=v[c+44>>2]+(v[g+(b+44|0)>>2]+v[b+44>>2]>>1);v[c+48>>2]=v[c+48>>2]+(v[g+(b+48|0)>>2]+v[b+48>>2]>>1);v[c+52>>2]=v[c+52>>2]+(v[g+(b+52|0)>>2]+v[b+52>>2]>>1);v[c+56>>2]=v[c+56>>2]+(v[g+(b+56|0)>>2]+v[b+56>>2]>>1);v[c+60>>2]=v[c+60>>2]+(v[g+(b+60|0)>>2]+v[b+60>>2]>>1);c=c+g|0;k=(h|0)>1;h=h-1|0;b=i;if(k){continue}break}}if(q){break d}v[c>>2]=v[c>>2]+v[i>>2];v[c+4>>2]=v[c+4>>2]+v[i+4>>2];v[c+8>>2]=v[c+8>>2]+v[i+8>>2];v[c+12>>2]=v[c+12>>2]+v[i+12>>2];v[c+16>>2]=v[c+16>>2]+v[i+16>>2];v[c+20>>2]=v[c+20>>2]+v[i+20>>2];v[c+24>>2]=v[c+24>>2]+v[i+24>>2];v[c+28>>2]=v[c+28>>2]+v[i+28>>2];v[c+32>>2]=v[c+32>>2]+v[i+32>>2];v[c+36>>2]=v[c+36>>2]+v[i+36>>2];v[c+40>>2]=v[c+40>>2]+v[i+40>>2];v[c+44>>2]=v[c+44>>2]+v[i+44>>2];v[c+48>>2]=v[c+48>>2]+v[i+48>>2];v[c+52>>2]=v[c+52>>2]+v[i+52>>2];v[c+56>>2]=v[c+56>>2]+v[i+56>>2];v[c+60>>2]=v[c+60>>2]+v[i+60>>2];break d}if(!l){break d}v[b>>2]=v[b>>2]>>1;v[b+4>>2]=v[b+4>>2]>>1;v[b+8>>2]=v[b+8>>2]>>1;v[b+12>>2]=v[b+12>>2]>>1;v[b+16>>2]=v[b+16>>2]>>1;v[b+20>>2]=v[b+20>>2]>>1;v[b+24>>2]=v[b+24>>2]>>1;v[b+28>>2]=v[b+28>>2]>>1;v[b+32>>2]=v[b+32>>2]>>1;v[b+36>>2]=v[b+36>>2]>>1;v[b+40>>2]=v[b+40>>2]>>1;v[b+44>>2]=v[b+44>>2]>>1;v[b+48>>2]=v[b+48>>2]>>1;v[b+52>>2]=v[b+52>>2]>>1;v[b+56>>2]=v[b+56>>2]>>1;v[b+60>>2]=v[b+60>>2]>>1}i5(a,e,f,l);a=a- -64|0;m=m+16|0;if((j|0)>(m|0)){continue}break}}if((d|0)>(j|0)){b=a;r=d-j|0;j=r;g=f;m=0;k=e;g:{if((e|0)>=2){p=(k-l|0)+1>>1;c=(B(p,g)<<2)+b|0;h=b;if(!l){h:{if((j|0)<1){break h}f=j&3;e=c;d=b;if(j-1>>>0>=3){i=j&-4;while(1){v[d>>2]=v[d>>2]-(v[e>>2]+1>>1);v[d+4>>2]=v[d+4>>2]-(v[e+4>>2]+1>>1);v[d+8>>2]=v[d+8>>2]-(v[e+8>>2]+1>>1);v[d+12>>2]=v[d+12>>2]-(v[e+12>>2]+1>>1);e=e+16|0;d=d+16|0;i=i-4|0;if(i){continue}break}}if(!f){break h}while(1){v[d>>2]=v[d>>2]-(v[e>>2]+1>>1);e=e+4|0;d=d+4|0;f=f-1|0;if(f){continue}break}}h=(g<<2)+b|0}q=k&1;o=(p-!l|0)-((q|0)!=(l|0))|0;i:{j:{if((o|0)<1){f=c;break j}if((j|0)<1){break i}m=j&-2;s=j&1;n=g<<2;f=c;while(1){d=f;e=h;i=m;if((j|0)!=1){while(1){v[e>>2]=v[e>>2]-((v[d>>2]+v[d+n>>2]|0)+2>>2);v[e+4>>2]=v[e+4>>2]-((v[d+4>>2]+v[n+(d+4|0)>>2]|0)+2>>2);d=d+8|0;e=e+8|0;i=i-2|0;if(i){continue}break}}if(s){v[e>>2]=v[e>>2]-((v[d>>2]+v[d+n>>2]|0)+2>>2)}f=f+n|0;h=h+n|0;d=(o|0)>1;o=o-1|0;if(d){continue}break}}m=(j|0)>0;if((l|0)==(q|0)|(j|0)<1){break i}d=j&3;if(j-1>>>0>=3){e=j&-4;while(1){v[h>>2]=v[h>>2]-(v[f>>2]+1>>1);v[h+4>>2]=v[h+4>>2]-(v[f+4>>2]+1>>1);v[h+8>>2]=v[h+8>>2]-(v[f+8>>2]+1>>1);v[h+12>>2]=v[h+12>>2]-(v[f+12>>2]+1>>1);f=f+16|0;h=h+16|0;e=e-4|0;if(e){continue}break}}if(!d){break i}while(1){v[h>>2]=v[h>>2]-(v[f>>2]+1>>1);f=f+4|0;h=h+4|0;d=d-1|0;if(d){continue}break}}if(l){k:{if(!m){break k}f=j&3;d=c;e=b;if(j-1>>>0>=3){i=j&-4;while(1){v[d>>2]=v[d>>2]+v[e>>2];v[d+4>>2]=v[d+4>>2]+v[e+4>>2];v[d+8>>2]=v[d+8>>2]+v[e+8>>2];v[d+12>>2]=v[d+12>>2]+v[e+12>>2];e=e+16|0;d=d+16|0;i=i-4|0;if(i){continue}break}}if(!f){break k}while(1){v[d>>2]=v[d>>2]+v[e>>2];e=e+4|0;d=d+4|0;f=f-1|0;if(f){continue}break}}c=(g<<2)+c|0}o=(l|0)==(q|0);h=(k-(l+p|0)|0)-o|0;if((h|0)>=1){if(!m){break g}f=j&-2;p=j&1;n=g<<2;while(1){d=c;e=b;i=f;if((j|0)!=1){while(1){v[d>>2]=v[d>>2]+(v[e+n>>2]+v[e>>2]>>1);v[d+4>>2]=v[d+4>>2]+(v[n+(e+4|0)>>2]+v[e+4>>2]>>1);d=d+8|0;e=e+8|0;i=i-2|0;if(i){continue}break}}if(p){v[d>>2]=v[d>>2]+(v[e+n>>2]+v[e>>2]>>1)}b=b+n|0;c=c+n|0;d=(h|0)>1;h=h-1|0;if(d){continue}break}}if(!(m&o)){break g}d=j&3;if(j-1>>>0>=3){e=j&-4;while(1){v[c>>2]=v[c>>2]+v[b>>2];v[c+4>>2]=v[c+4>>2]+v[b+4>>2];v[c+8>>2]=v[c+8>>2]+v[b+8>>2];v[c+12>>2]=v[c+12>>2]+v[b+12>>2];c=c+16|0;b=b+16|0;e=e-4|0;if(e){continue}break}}if(!d){break g}while(1){v[c>>2]=v[c>>2]+v[b>>2];c=c+4|0;b=b+4|0;d=d-1|0;if(d){continue}break}break g}if(!l|(j|0)<1){break g}d=j&3;if(j-1>>>0>=3){e=j&-4;while(1){v[b>>2]=v[b>>2]>>1;v[b+4>>2]=v[b+4>>2]>>1;v[b+8>>2]=v[b+8>>2]>>1;v[b+12>>2]=v[b+12>>2]>>1;b=b+16|0;e=e-4|0;if(e){continue}break}}if(!d){break g}while(1){v[b>>2]=v[b>>2]>>1;b=b+4|0;d=d-1|0;if(d){continue}break}}h5(a,k,r,g,l)}return 0}function Z1a(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,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;j=c&1;o=(d|0)/16<<4;c=a;if((d|0)>=16){while(1){m5(c,e,f,j);g=c;a:{if((e|0)>=2){p=(e-j|0)+1>>1;i=(B(p,f)<<2)+g|0;h=i;if(j){v[i>>2]=v[i>>2]-v[g>>2];v[i+4>>2]=v[i+4>>2]-v[g+4>>2];v[i+8>>2]=v[i+8>>2]-v[g+8>>2];v[i+12>>2]=v[i+12>>2]-v[g+12>>2];v[i+16>>2]=v[i+16>>2]-v[g+16>>2];v[i+20>>2]=v[i+20>>2]-v[g+20>>2];v[i+24>>2]=v[i+24>>2]-v[g+24>>2];v[i+28>>2]=v[i+28>>2]-v[g+28>>2];v[i+32>>2]=v[i+32>>2]-v[g+32>>2];v[i+36>>2]=v[i+36>>2]-v[g+36>>2];v[i+40>>2]=v[i+40>>2]-v[g+40>>2];v[i+44>>2]=v[i+44>>2]-v[g+44>>2];v[i+48>>2]=v[i+48>>2]-v[g+48>>2];v[i+52>>2]=v[i+52>>2]-v[g+52>>2];v[i+56>>2]=v[i+56>>2]-v[g+56>>2];v[i+60>>2]=v[i+60>>2]-v[g+60>>2];h=(f<<2)+i|0}q=e&1;r=(q|0)==(j|0);n=(e-(j+p|0)|0)-r|0;b:{if((n|0)<1){k=g;break b}m=f<<2;l=g;while(1){k=l+m|0;v[h>>2]=v[h>>2]-(v[k>>2]+v[l>>2]>>1);v[h+4>>2]=v[h+4>>2]-(v[m+(l+4|0)>>2]+v[l+4>>2]>>1);v[h+8>>2]=v[h+8>>2]-(v[m+(l+8|0)>>2]+v[l+8>>2]>>1);v[h+12>>2]=v[h+12>>2]-(v[m+(l+12|0)>>2]+v[l+12>>2]>>1);v[h+16>>2]=v[h+16>>2]-(v[m+(l+16|0)>>2]+v[l+16>>2]>>1);v[h+20>>2]=v[h+20>>2]-(v[m+(l+20|0)>>2]+v[l+20>>2]>>1);v[h+24>>2]=v[h+24>>2]-(v[m+(l+24|0)>>2]+v[l+24>>2]>>1);v[h+28>>2]=v[h+28>>2]-(v[m+(l+28|0)>>2]+v[l+28>>2]>>1);v[h+32>>2]=v[h+32>>2]-(v[m+(l+32|0)>>2]+v[l+32>>2]>>1);v[h+36>>2]=v[h+36>>2]-(v[m+(l+36|0)>>2]+v[l+36>>2]>>1);v[h+40>>2]=v[h+40>>2]-(v[m+(l+40|0)>>2]+v[l+40>>2]>>1);v[h+44>>2]=v[h+44>>2]-(v[m+(l+44|0)>>2]+v[l+44>>2]>>1);v[h+48>>2]=v[h+48>>2]-(v[m+(l+48|0)>>2]+v[l+48>>2]>>1);v[h+52>>2]=v[h+52>>2]-(v[m+(l+52|0)>>2]+v[l+52>>2]>>1);v[h+56>>2]=v[h+56>>2]-(v[m+(l+56|0)>>2]+v[l+56>>2]>>1);v[h+60>>2]=v[h+60>>2]-(v[m+(l+60|0)>>2]+v[l+60>>2]>>1);h=h+m|0;s=(n|0)>1;n=n-1|0;l=k;if(s){continue}break}}l=(j|0)!=(q|0);if(!l){v[h>>2]=v[h>>2]-v[k>>2];v[h+4>>2]=v[h+4>>2]-v[k+4>>2];v[h+8>>2]=v[h+8>>2]-v[k+8>>2];v[h+12>>2]=v[h+12>>2]-v[k+12>>2];v[h+16>>2]=v[h+16>>2]-v[k+16>>2];v[h+20>>2]=v[h+20>>2]-v[k+20>>2];v[h+24>>2]=v[h+24>>2]-v[k+24>>2];v[h+28>>2]=v[h+28>>2]-v[k+28>>2];v[h+32>>2]=v[h+32>>2]-v[k+32>>2];v[h+36>>2]=v[h+36>>2]-v[k+36>>2];v[h+40>>2]=v[h+40>>2]-v[k+40>>2];v[h+44>>2]=v[h+44>>2]-v[k+44>>2];v[h+48>>2]=v[h+48>>2]-v[k+48>>2];v[h+52>>2]=v[h+52>>2]-v[k+52>>2];v[h+56>>2]=v[h+56>>2]-v[k+56>>2];v[h+60>>2]=v[h+60>>2]-v[k+60>>2]}if(!j){v[g>>2]=v[g>>2]+(v[i>>2]+1>>1);v[g+4>>2]=v[g+4>>2]+(v[i+4>>2]+1>>1);v[g+8>>2]=v[g+8>>2]+(v[i+8>>2]+1>>1);v[g+12>>2]=v[g+12>>2]+(v[i+12>>2]+1>>1);v[g+16>>2]=v[g+16>>2]+(v[i+16>>2]+1>>1);v[g+20>>2]=v[g+20>>2]+(v[i+20>>2]+1>>1);v[g+24>>2]=v[g+24>>2]+(v[i+24>>2]+1>>1);v[g+28>>2]=v[g+28>>2]+(v[i+28>>2]+1>>1);v[g+32>>2]=v[g+32>>2]+(v[i+32>>2]+1>>1);v[g+36>>2]=v[g+36>>2]+(v[i+36>>2]+1>>1);v[g+40>>2]=v[g+40>>2]+(v[i+40>>2]+1>>1);v[g+44>>2]=v[g+44>>2]+(v[i+44>>2]+1>>1);v[g+48>>2]=v[g+48>>2]+(v[i+48>>2]+1>>1);v[g+52>>2]=v[g+52>>2]+(v[i+52>>2]+1>>1);v[g+56>>2]=v[g+56>>2]+(v[i+56>>2]+1>>1);v[g+60>>2]=v[g+60>>2]+(v[i+60>>2]+1>>1);g=(f<<2)+g|0}l=(p-!j|0)-l|0;c:{if((l|0)<1){k=i;break c}while(1){h=f<<2;k=h+i|0;v[g>>2]=v[g>>2]+((v[i>>2]+v[k>>2]|0)+2>>2);v[g+4>>2]=v[g+4>>2]+((v[i+4>>2]+v[h+(i+4|0)>>2]|0)+2>>2);v[g+8>>2]=v[g+8>>2]+((v[i+8>>2]+v[h+(i+8|0)>>2]|0)+2>>2);v[g+12>>2]=v[g+12>>2]+((v[i+12>>2]+v[h+(i+12|0)>>2]|0)+2>>2);v[g+16>>2]=v[g+16>>2]+((v[i+16>>2]+v[h+(i+16|0)>>2]|0)+2>>2);v[g+20>>2]=v[g+20>>2]+((v[i+20>>2]+v[h+(i+20|0)>>2]|0)+2>>2);v[g+24>>2]=v[g+24>>2]+((v[i+24>>2]+v[h+(i+24|0)>>2]|0)+2>>2);v[g+28>>2]=v[g+28>>2]+((v[i+28>>2]+v[h+(i+28|0)>>2]|0)+2>>2);v[g+32>>2]=v[g+32>>2]+((v[i+32>>2]+v[h+(i+32|0)>>2]|0)+2>>2);v[g+36>>2]=v[g+36>>2]+((v[i+36>>2]+v[h+(i+36|0)>>2]|0)+2>>2);v[g+40>>2]=v[g+40>>2]+((v[i+40>>2]+v[h+(i+40|0)>>2]|0)+2>>2);v[g+44>>2]=v[g+44>>2]+((v[i+44>>2]+v[h+(i+44|0)>>2]|0)+2>>2);v[g+48>>2]=v[g+48>>2]+((v[i+48>>2]+v[h+(i+48|0)>>2]|0)+2>>2);v[g+52>>2]=v[g+52>>2]+((v[i+52>>2]+v[h+(i+52|0)>>2]|0)+2>>2);v[g+56>>2]=v[g+56>>2]+((v[i+56>>2]+v[h+(i+56|0)>>2]|0)+2>>2);v[g+60>>2]=v[g+60>>2]+((v[i+60>>2]+v[h+(i+60|0)>>2]|0)+2>>2);g=g+h|0;h=(l|0)>1;l=l-1|0;i=k;if(h){continue}break}}if(r){break a}v[g>>2]=v[g>>2]+(v[k>>2]+1>>1);v[g+4>>2]=v[g+4>>2]+(v[k+4>>2]+1>>1);v[g+8>>2]=v[g+8>>2]+(v[k+8>>2]+1>>1);v[g+12>>2]=v[g+12>>2]+(v[k+12>>2]+1>>1);v[g+16>>2]=v[g+16>>2]+(v[k+16>>2]+1>>1);v[g+20>>2]=v[g+20>>2]+(v[k+20>>2]+1>>1);v[g+24>>2]=v[g+24>>2]+(v[k+24>>2]+1>>1);v[g+28>>2]=v[g+28>>2]+(v[k+28>>2]+1>>1);v[g+32>>2]=v[g+32>>2]+(v[k+32>>2]+1>>1);v[g+36>>2]=v[g+36>>2]+(v[k+36>>2]+1>>1);v[g+40>>2]=v[g+40>>2]+(v[k+40>>2]+1>>1);v[g+44>>2]=v[g+44>>2]+(v[k+44>>2]+1>>1);v[g+48>>2]=v[g+48>>2]+(v[k+48>>2]+1>>1);v[g+52>>2]=v[g+52>>2]+(v[k+52>>2]+1>>1);v[g+56>>2]=v[g+56>>2]+(v[k+56>>2]+1>>1);v[g+60>>2]=v[g+60>>2]+(v[k+60>>2]+1>>1);break a}if(!j){break a}v[g>>2]=v[g>>2]<<1;v[g+4>>2]=v[g+4>>2]<<1;v[g+8>>2]=v[g+8>>2]<<1;v[g+12>>2]=v[g+12>>2]<<1;v[g+16>>2]=v[g+16>>2]<<1;v[g+20>>2]=v[g+20>>2]<<1;v[g+24>>2]=v[g+24>>2]<<1;v[g+28>>2]=v[g+28>>2]<<1;v[g+32>>2]=v[g+32>>2]<<1;v[g+36>>2]=v[g+36>>2]<<1;v[g+40>>2]=v[g+40>>2]<<1;v[g+44>>2]=v[g+44>>2]<<1;v[g+48>>2]=v[g+48>>2]<<1;v[g+52>>2]=v[g+52>>2]<<1;v[g+56>>2]=v[g+56>>2]<<1;v[g+60>>2]=v[g+60>>2]<<1}c=c- -64|0;t=t+16|0;if((o|0)>(t|0)){continue}break}}if((d|0)>(o|0)){m=d-o|0;l5(c,e,m,f,j);o=j;n=0;d:{if((e|0)>=2){r=(e-o|0)+1>>1;l=(B(r,f)<<2)+c|0;h=l;if(o){e:{if((m|0)<1){break e}k=m&3;j=l;g=c;if(m-1>>>0>=3){i=m&-4;while(1){v[j>>2]=v[j>>2]-v[g>>2];v[j+4>>2]=v[j+4>>2]-v[g+4>>2];v[j+8>>2]=v[j+8>>2]-v[g+8>>2];v[j+12>>2]=v[j+12>>2]-v[g+12>>2];g=g+16|0;j=j+16|0;i=i-4|0;if(i){continue}break}}if(!k){break e}while(1){v[j>>2]=v[j>>2]-v[g>>2];g=g+4|0;j=j+4|0;k=k-1|0;if(k){continue}break}}h=(f<<2)+l|0}s=e&1;q=(e-(o+r|0)|0)-((s|0)==(o|0))|0;f:{g:{if((q|0)<1){k=c;break g}if((m|0)<1){break f}n=m&-2;t=m&1;p=f<<2;k=c;while(1){j=h;g=k;i=n;if((m|0)!=1){while(1){v[j>>2]=v[j>>2]-(v[g+p>>2]+v[g>>2]>>1);v[j+4>>2]=v[j+4>>2]-(v[p+(g+4|0)>>2]+v[g+4>>2]>>1);j=j+8|0;g=g+8|0;i=i-2|0;if(i){continue}break}}if(t){v[j>>2]=v[j>>2]-(v[g+p>>2]+v[g>>2]>>1)}k=k+p|0;h=h+p|0;g=(q|0)>1;q=q-1|0;if(g){continue}break}}n=(m|0)>0;if((o|0)!=(s|0)|(m|0)<1){break f}j=m&3;if(m-1>>>0>=3){g=m&-4;while(1){v[h>>2]=v[h>>2]-v[k>>2];v[h+4>>2]=v[h+4>>2]-v[k+4>>2];v[h+8>>2]=v[h+8>>2]-v[k+8>>2];v[h+12>>2]=v[h+12>>2]-v[k+12>>2];h=h+16|0;k=k+16|0;g=g-4|0;if(g){continue}break}}if(!j){break f}while(1){v[h>>2]=v[h>>2]-v[k>>2];h=h+4|0;k=k+4|0;j=j-1|0;if(j){continue}break}}if(!o){h:{if(!n){break h}k=m&3;g=l;j=c;if(m-1>>>0>=3){i=m&-4;while(1){v[j>>2]=v[j>>2]+(v[g>>2]+1>>1);v[j+4>>2]=v[j+4>>2]+(v[g+4>>2]+1>>1);v[j+8>>2]=v[j+8>>2]+(v[g+8>>2]+1>>1);v[j+12>>2]=v[j+12>>2]+(v[g+12>>2]+1>>1);g=g+16|0;j=j+16|0;i=i-4|0;if(i){continue}break}}if(!k){break h}while(1){v[j>>2]=v[j>>2]+(v[g>>2]+1>>1);g=g+4|0;j=j+4|0;k=k-1|0;if(k){continue}break}}c=(f<<2)+c|0}p=(o|0)!=(s|0);h=(r-!o|0)-p|0;if((h|0)>=1){if(!n){break d}k=m&-2;q=m&1;o=f<<2;while(1){j=l;g=c;i=k;if((m|0)!=1){while(1){v[g>>2]=v[g>>2]+((v[j>>2]+v[j+o>>2]|0)+2>>2);v[g+4>>2]=v[g+4>>2]+((v[j+4>>2]+v[o+(j+4|0)>>2]|0)+2>>2);j=j+8|0;g=g+8|0;i=i-2|0;if(i){continue}break}}if(q){v[g>>2]=v[g>>2]+((v[j>>2]+v[j+o>>2]|0)+2>>2)}l=l+o|0;c=c+o|0;g=(h|0)>1;h=h-1|0;if(g){continue}break}}if(!(n&p)){break d}j=m&3;if(m-1>>>0>=3){g=m&-4;while(1){v[c>>2]=v[c>>2]+(v[l>>2]+1>>1);v[c+4>>2]=v[c+4>>2]+(v[l+4>>2]+1>>1);v[c+8>>2]=v[c+8>>2]+(v[l+8>>2]+1>>1);v[c+12>>2]=v[c+12>>2]+(v[l+12>>2]+1>>1);l=l+16|0;c=c+16|0;g=g-4|0;if(g){continue}break}}if(!j){break d}while(1){v[c>>2]=v[c>>2]+(v[l>>2]+1>>1);l=l+4|0;c=c+4|0;j=j-1|0;if(j){continue}break}break d}if(!o|(m|0)<1){break d}j=m&3;if(m-1>>>0>=3){g=m&-4;while(1){v[c>>2]=v[c>>2]<<1;v[c+4>>2]=v[c+4>>2]<<1;v[c+8>>2]=v[c+8>>2]<<1;v[c+12>>2]=v[c+12>>2]<<1;c=c+16|0;g=g-4|0;if(g){continue}break}}if(!j){break d}while(1){v[c>>2]=v[c>>2]<<1;c=c+4|0;j=j-1|0;if(j){continue}break}}}if((e|0)>=1){k=b&1;c=0;m=f<<2;while(1){k5(a,d,k);b=a;i:{if((d|0)>=2){l=(d-k|0)+1>>1;g=(l<<2)+b|0;n=g;if(k){v[g>>2]=v[g>>2]-v[b>>2];n=g+4|0}f=k+l|0;j=d&1;i=(j|0)==(k|0);h=(d-f|0)-i|0;j:{if((h|0)<1){f=b;break j}o=f+1|0;p=(i?-1:0)+d|0;if(h&1){v[n>>2]=v[n>>2]-(v[b+4>>2]+v[b>>2]>>1);n=n+4|0;h=h-1|0;f=b+4|0}else{f=b}if((o|0)==(p|0)){break j}while(1){v[n>>2]=v[n>>2]-(v[f+4>>2]+v[f>>2]>>1);v[n+4>>2]=v[n+4>>2]-(v[f+8>>2]+v[f+4>>2]>>1);n=n+8|0;f=f+8|0;o=(h|0)>2;h=h-2|0;if(o){continue}break}}j=(j|0)!=(k|0);if(!j){v[n>>2]=v[n>>2]-v[f>>2]}if(!k){v[b>>2]=v[b>>2]+(v[g>>2]+1>>1);b=b+4|0}n=(l-!k|0)-j|0;k:{if((n|0)<1){break k}if(n&1){v[b>>2]=v[b>>2]+((v[g>>2]+v[g+4>>2]|0)+2>>2);g=g+4|0;n=n-1|0;b=b+4|0}if(((l+(k?0:-1)|0)+(j?-1:0)|0)==1){break k}while(1){v[b>>2]=v[b>>2]+((v[g>>2]+v[g+4>>2]|0)+2>>2);v[b+4>>2]=v[b+4>>2]+((v[g+4>>2]+v[g+8>>2]|0)+2>>2);b=b+8|0;g=g+8|0;f=(n|0)>2;n=n-2|0;if(f){continue}break}}if(i){break i}v[b>>2]=v[b>>2]+(v[g>>2]+1>>1);break i}if(!k){break i}v[b>>2]=v[b>>2]<<1}a=a+m|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}return 0}function $1(a,b,c){var d=0,e=C(0),f=0,g=0,h=C(0),i=0,j=C(0),k=C(0),l=0,m=C(0),n=C(0),o=C(0),p=0,q=C(0),r=C(0),s=0,t=C(0),w=C(0),x=C(0),y=C(0),A=C(0),E=C(0),F=C(0),G=0,H=C(0),I=C(0),J=0,K=0,M=C(0),N=0,O=0,P=0,Q=0,R=C(0),S=C(0),T=0,U=C(0),V=C(0),W=0,X=0,Y=0,Z=0,_=0,$=C(0),aa=0;i=Ma-32|0;Ma=i;v[a>>2]=359944;v[a+12>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;v[a+44>>2]=0;v[a+48>>2]=0;v[a+36>>2]=0;v[a+40>>2]=1065353216;v[a+52>>2]=0;v[a+56>>2]=0;v[a+96>>2]=1;v[a+88>>2]=0;v[a+92>>2]=1;v[a+80>>2]=0;v[a+84>>2]=0;v[a+72>>2]=1056964608;v[a+76>>2]=1065353216;u[a+68>>1]=0;v[a+60>>2]=1065353216;v[a+64>>2]=1065353216;v[a+100>>2]=0;v[a+104>>2]=0;v[a+108>>2]=0;v[a+112>>2]=0;v[a+116>>2]=0;v[a+120>>2]=0;v[a+148>>2]=0;v[a+152>>2]=0;v[a+140>>2]=0;v[a+144>>2]=0;v[a+132>>2]=0;v[a+136>>2]=0;d=ab(24);v[a+144>>2]=d;s=d+24|0;v[a+152>>2]=s;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=0;v[d+4>>2]=0;v[a+148>>2]=s;eb(a+160|0,0,100);v[a+260>>2]=4;cb(a+12|0,b,80);yt(a+92|0,b+80|0);if(c){p=Ma-16|0;Ma=p;l=a+212|0;s=_J(p,l);b=v[s>>2];c=v[b+36>>2];e=z[c+28>>2];d=v[b+12>>2];h=z[d+28>>2];k=z[c+12>>2];n=z[c+4>>2];f=v[b>>2];y=z[f+28>>2];w=z[f+4>>2];A=z[d+4>>2];E=z[f+12>>2];t=C(z[f+24>>2]+z[c>>2]);z[d+8>>2]=C(C(C(C(C(C(z[f+8>>2]+z[d>>2])*C(6))-C(z[f>>2]*C(4)))-C(t+t))+C(C(z[c+8>>2]+z[d+24>>2])*C(3)))-z[c+24>>2])*C(.1111111119389534);n=C(y+n);z[d+12>>2]=C(C(C(C(C(C(E+A)*C(6))-C(w*C(4)))-C(n+n))+C(C(k+h)*C(3)))-e)*C(.1111111119389534);c=v[b+36>>2];e=z[c+4>>2];d=v[b+12>>2];h=z[d+4>>2];k=z[c+20>>2];f=v[b>>2];n=z[f+4>>2];y=z[c+28>>2];w=z[f+28>>2];A=z[d+28>>2];E=z[f+20>>2];t=C(z[f>>2]+z[c+24>>2]);z[d+16>>2]=C(C(C(C(C(C(z[f+16>>2]+z[d+24>>2])*C(6))-C(z[f+24>>2]*C(4)))-C(t+t))+C(C(z[c+16>>2]+z[d>>2])*C(3)))-z[c>>2])*C(.1111111119389534);n=C(n+y);z[d+20>>2]=C(C(C(C(C(C(E+A)*C(6))-C(w*C(4)))-C(n+n))+C(C(k+h)*C(3)))-e)*C(.1111111119389534);c=v[b>>2];e=z[c+28>>2];d=v[b+24>>2];h=z[d+28>>2];k=z[c+12>>2];n=z[c+4>>2];f=v[b+36>>2];y=z[f+28>>2];w=z[f+4>>2];A=z[d+4>>2];E=z[f+12>>2];t=C(z[f+24>>2]+z[c>>2]);z[d+8>>2]=C(C(C(C(C(C(z[f+8>>2]+z[d>>2])*C(6))-C(z[f>>2]*C(4)))-C(t+t))+C(C(z[c+8>>2]+z[d+24>>2])*C(3)))-z[c+24>>2])*C(.1111111119389534);n=C(y+n);z[d+12>>2]=C(C(C(C(C(C(E+A)*C(6))-C(w*C(4)))-C(n+n))+C(C(k+h)*C(3)))-e)*C(.1111111119389534);c=v[b>>2];e=z[c+4>>2];d=v[b+24>>2];h=z[d+4>>2];k=z[c+20>>2];f=v[b+36>>2];n=z[f+4>>2];y=z[c+28>>2];w=z[f+28>>2];A=z[d+28>>2];E=z[f+20>>2];t=C(z[f>>2]+z[c+24>>2]);z[d+16>>2]=C(C(C(C(C(C(z[f+16>>2]+z[d+24>>2])*C(6))-C(z[f+24>>2]*C(4)))-C(t+t))+C(C(z[c+16>>2]+z[d>>2])*C(3)))-z[c>>2])*C(.1111111119389534);n=C(n+y);z[d+20>>2]=C(C(C(C(C(C(E+A)*C(6))-C(w*C(4)))-C(n+n))+C(C(k+h)*C(3)))-e)*C(.1111111119389534);if((l|0)!=(s|0)){CB(l,b,v[s+4>>2])}b=v[s>>2];if(b){c=v[s+4>>2];if((b|0)==(c|0)){c=b}else{while(1){d=c-12|0;f=v[d>>2];if(f){v[c-8>>2]=f;$a(f)}c=d;if((d|0)!=(b|0)){continue}break}c=v[s>>2]}v[s+4>>2]=b;$a(c)}Ma=p+16|0}b=v[a+100>>2];v[a+280>>2]=b;H=C(1/+(b>>>0));f=v[a+260>>2];a:{b:{if(f){p=v[a+212>>2];while(1){e=z[(g<<2)+360056>>2];b=v[p+B(g,12)>>2];d=0;while(1){c=b+(d<<3)|0;h=z[(d<<2)+360056>>2];j=C(j+C(C(e*z[c+4>>2])*h));m=C(m+C(C(e*z[c>>2])*h));d=d+1|0;if((f|0)!=(d|0)){continue}break}g=g+1|0;if((f|0)!=(g|0)){continue}break}z[a+276>>2]=j;z[a+272>>2]=j;z[a+268>>2]=m;z[a+264>>2]=m;g=a;O=a+276|0;N=a+272|0;P=a+268|0;s=a+264|0;b=s;if(!f){break b}k=j;h=m;while(1){e=C(C(1)-q);n=C(e*C(e*e));w=C(q*C(3));y=C(e*C(e*w));w=C(e*C(q*w));A=C(q*C(q*q));o=C(0);while(1){e=C(C(1)-o);E=C(e*C(e*e));M=C(o*C(3));t=C(e*C(e*M));M=C(e*C(o*M));S=C(o*C(o*o));c=0;r=C(0);x=C(0);while(1){b=v[p+B(c,12)>>2];d=0;while(1){e=n;c:{d:{switch(c-1|0){case 0:e=y;break c;case 1:e=w;break c;case 2:break d;default:break c}}e=A}l=b+(d<<3)|0;I=C(e*z[l+4>>2]);F=C(e*z[l>>2]);e=E;e:{f:{switch(d-1|0){case 0:e=t;break e;case 1:e=M;break e;case 2:break f;default:break e}}e=S}r=C(r+C(I*e));x=C(x+C(F*e));d=d+1|0;if((f|0)!=(d|0)){continue}break}c=c+1|0;if((f|0)!=(c|0)){continue}break}h=h>x?h:x;z[a+268>>2]=h;k=k>r?k:r;z[g+276>>2]=k;m=m>2]=m;j=j>2]=j;o=C(o+H);if(o<=C(1)){continue}break}q=C(q+H);if(q<=C(1)){continue}break}break a}v[a+264>>2]=0;v[a+268>>2]=0;N=a+272|0;b=N;v[b>>2]=0;v[b+4>>2]=0;O=a+276|0;P=a+268|0;b=a+264|0}s=b;k=j;h=m;while(1){e=C(0);while(1){j=jC(0)?k:C(0);h=h>C(0)?h:C(0);e=C(e+H);if(e<=C(1)){continue}break}r=C(r+H);if(r<=C(1)){continue}break}z[P>>2]=h;z[O>>2]=k;z[s>>2]=m;z[N>>2]=j}b=a;e=C(h-m);j=C(k-j);e=e>j?e:j;g:{if(C(D(e))1?c:1;v[b+280>>2]=g;v[i+8>>2]=0;v[i>>2]=0;v[i+4>>2]=0;h:{i:{j:{k:{if(g>>>0>=1073741824){break k}b=g<<2;c=ab(b);v[i>>2]=c;f=b+c|0;v[i+8>>2]=f;p=b-4|0;b=(p>>>2|0)+1&7;l:{if(!b){d=c;break l}d=c;while(1){v[d>>2]=2143289344;d=d+4|0;b=b-1|0;if(b){continue}break}}if(p>>>0>=28){while(1){v[d+24>>2]=2143289344;v[d+28>>2]=2143289344;v[d+16>>2]=2143289344;v[d+20>>2]=2143289344;v[d+8>>2]=2143289344;v[d+12>>2]=2143289344;v[d>>2]=2143289344;v[d+4>>2]=2143289344;d=d+32|0;if((f|0)!=(d|0)){continue}break}}v[i+24>>2]=0;v[i+16>>2]=0;v[i+20>>2]=0;if(g>>>0<357913942){b=B(g,12);g=ab(b);p=b+g|0;v[i+24>>2]=p;m:{l=f-c|0;n:{if(!l){b=b-12|0;eb(g,0,(b-((b>>>0)%12|0)|0)+12|0);break n}if((l|0)<=-1){break m}J=l>>2<<2;G=(l|0)<1;K=l>>>2<<2;d=g;while(1){v[d+8>>2]=0;v[d>>2]=0;v[d+4>>2]=0;b=ab(l);v[d>>2]=b;v[d+8>>2]=b+J;f=d;if(!G){b=cb(b,c,l)+K|0}v[f+4>>2]=b;d=d+12|0;if((p|0)!=(d|0)){continue}break}}d=p;f=v[a+248>>2];if(f){b=v[a+252>>2];if((f|0)==(b|0)){b=f}else{while(1){d=b-12|0;l=v[d>>2];if(l){v[b-8>>2]=l;$a(l)}b=d;if((d|0)!=(f|0)){continue}break}d=v[i+24>>2];b=v[a+248>>2]}v[a+252>>2]=f;$a(b)}v[a+256>>2]=d;v[a+252>>2]=p;v[a+248>>2]=g;$a(c);d=v[a+280>>2];v[i+24>>2]=0;v[i+16>>2]=0;v[i+20>>2]=0;o:{b=d+1|0;if(b>>>0>=d>>>0){if(b>>>0>=536870912){break o}c=b<<3;b=ab(c);v[i+16>>2]=b;g=b+c|0;v[i+24>>2]=g;eb(b,0,c);v[i+20>>2]=g;if(!d){break i}}V=C(C(1)/C(d>>>0));j=C(0);while(1){J=0;v[i+8>>2]=0;v[i>>2]=0;v[i+4>>2]=0;Q=0;K=0;b=d+1|0;if(b>>>0>=d>>>0){if(b>>>0>=536870912){break k}b=b<<3;K=ab(b);v[i>>2]=K;Q=b+K|0;v[i+8>>2]=Q;eb(K,0,b);v[i+4>>2]=Q}k=C(V+j);n=C(k*C(k*k));F=C(C(1)-j);y=C(F*C(F*F));e=C(j*C(3));w=C(F*C(F*e));A=C(F*C(j*e));e=C(C(1)-k);E=C(e*C(e*e));h=C(k*C(3));t=C(e*C(e*h));M=C(e*C(k*h));Z=d>>>0>1?d:1;S=C(j*C(j*j));R=C(d-1|0);W=v[a+236>>2];l=v[a+260>>2];h=C(0);_=v[i+16>>2];while(1){p:{if(!(J?T:0)){f=v[a+212>>2];r=C(0);x=C(0);if(l){e=C(C(1)-h);m=C(e*C(e*e));q=C(h*C(3));o=C(e*C(e*q));q=C(e*C(h*q));H=C(h*C(h*h));b=0;while(1){c=v[B(b,12)+f>>2];d=0;while(1){e=y;q:{r:{switch(b-1|0){case 0:e=w;break q;case 1:e=A;break q;case 2:break r;default:break q}}e=S}g=c+(d<<3)|0;I=C(e*z[g+4>>2]);U=C(e*z[g>>2]);e=m;s:{t:{switch(d-1|0){case 0:e=o;break s;case 1:e=q;break s;case 2:break t;default:break s}}e=H}r=C(r+C(I*e));x=C(x+C(U*e));d=d+1|0;if((l|0)!=(d|0)){continue}break}b=b+1|0;if((l|0)!=(b|0)){continue}break}}e=z[N>>2];e=C(C(C(r-e)*R)/C(z[O>>2]-e));u:{if(e=C(0)){c=~~e>>>0;break u}c=0}e=z[s>>2];e=C(C(C(x-e)*R)/C(z[P>>2]-e));if(e=C(0)){g=~~e>>>0;break p}g=0;break p}b=(J<<3)+_|0;c=v[b+4>>2];f=v[a+212>>2];g=v[b>>2]}m=C(V+h);r=C(0);x=C(0);if(l){o=C(m*C(m*m));e=C(C(1)-m);q=C(e*C(e*e));I=C(m*C(3));H=C(e*C(e*I));I=C(e*C(m*I));b=0;while(1){p=v[B(b,12)+f>>2];d=0;while(1){e=E;v:{w:{switch(b-1|0){case 0:e=t;break v;case 1:e=M;break v;case 2:break w;default:break v}}e=n}G=p+(d<<3)|0;U=C(e*z[G+4>>2]);$=C(e*z[G>>2]);e=q;x:{y:{switch(d-1|0){case 0:e=H;break x;case 1:e=I;break x;case 2:break y;default:break x}}e=o}r=C(r+C(U*e));x=C(x+C($*e));d=d+1|0;if((l|0)!=(d|0)){continue}break}b=b+1|0;if((l|0)!=(b|0)){continue}break}}q=z[P>>2];e=z[s>>2];J=J+1|0;d=(J<<3)+K|0;f=d;o=z[N>>2];o=C(C(C(r-o)*R)/C(z[O>>2]-o));z:{if(o=C(0)){b=~~o>>>0;break z}b=0}v[f+4>>2]=b;e=C(C(C(x-e)*R)/C(q-e));A:{if(e=C(0)){f=~~e>>>0;break A}f=0}v[d>>2]=f;X=(b|0)>(c|0)?b:c;c=(b|0)<(c|0)?b:c;Y=X-c|0;p=Y+1&3;d=(f|0)<(g|0)?f:g;aa=(f|0)>(g|0)?f:g;e=C(C(1)-h);b=v[W>>2];e=C(C(F*C(e*z[b>>2]))+C(j*C(e*z[b+4>>2])));b=v[W+12>>2];e=C(C(e+C(F*C(h*z[b>>2])))+C(j*C(h*z[b+4>>2])));while(1){b=d;f=v[a+280>>2];B:{if(f>>>0<=d>>>0){break B}G=v[a+248>>2]+B(b,12)|0;d=c;g=p;if(g){while(1){if(d>>>0>>0){z[v[G>>2]+(d<<2)>>2]=e}d=d+1|0;g=g-1|0;if(g){continue}break}}if(Y>>>0<=2){break B}while(1){if(d>>>0>>0){z[v[G>>2]+(d<<2)>>2]=e}g=d+1|0;if(g>>>0>>0){z[v[G>>2]+(g<<2)>>2]=e}g=d+2|0;if(g>>>0>>0){z[v[G>>2]+(g<<2)>>2]=e}g=d+3|0;if(g>>>0>>0){z[v[G>>2]+(g<<2)>>2]=e}d=d+4|0;if((g|0)!=(X|0)){continue}break}}d=b+1|0;if((b|0)!=(aa|0)){continue}break}h=m;if((J|0)!=(Z|0)){continue}break}b=v[i>>2];B1(i+16|0,b,Q);if(b){v[i+4>>2]=b;$a(b)}j=k;d=v[a+280>>2];T=T+1|0;if(d>>>0>T>>>0){continue}break}break j}Jc();L()}v[g+8>>2]=0;v[g>>2]=0;v[g+4>>2]=0;Jc();L()}Jc();L()}Jc();L()}b=v[i+16>>2];if(!b){break h}}v[i+20>>2]=b;$a(b)}Ma=i+32|0;return a}function kKa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,z=0,A=0,C=0;if(!b){return 36}g=v[a+4>>2];if(!g){return 35}if(!(v[v[g+128>>2]+52>>2]|y[g+16>>2]>c>>>0)){return 6}f=b;if(d&2){d=w[g+9|0]&32?d&-3:d;d=d>>>14&2|d}if(d&1025){d=(w[g+9|0]&32?9:11)|d}v[f+44>>2]=(d&2?12:48)+b;m=c;e=Ma-256|0;Ma=e;c=b;f=v[b+116>>2];a:{b:{if(d&8|(f|0)==-1){break b}b=v[a+4>>2];if(x[b+6>>1]&32767|w[b+9|0]&128){break b}g=v[c+20>>2];h=v[c+16>>2];c:{b=Qa[v[v[b+540>>2]+72>>2]](b,f,m,d,v[b+104>>2],a+76|0,e+8|0)|0;if(b){f=v[a+4>>2];i=v[f+8>>2]&1;if((b&255)!=157){break c}if(i){break b}u[e+8>>1]=0;u[e+240>>1]=0;u[e+224>>1]=0;u[e+6>>1]=0;if(!v[f+752>>2]){break a}Qa[v[v[f+540>>2]+140>>2]](f,0,m,e+8|0,e+224|0);t$(f,m,e+240|0,e+6|0);v[a+108>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;b=xb(u[e+8>>1],h);v[a+36>>2]=0;v[a+32>>2]=b;b=xb(x[e+224>>1],h);v[a+44>>2]=0;v[a+40>>2]=b;A=a,C=xb(u[e+240>>1],g),v[A+48>>2]=C;b=xb(x[e+6>>1],g);v[a+100>>2]=0;v[a+104>>2]=0;t[a+94|0]=1;v[a+72>>2]=1651078259;v[a+52>>2]=b;b=0;break a}b=0;v[a+108>>2]=0;v[a+24>>2]=x[e+10>>1]<<6;v[a+28>>2]=x[e+8>>1]<<6;f=u[e+12>>1];v[a+32>>2]=f<<6;i=u[e+14>>1];v[a+36>>2]=i<<6;v[a+40>>2]=x[e+16>>1]<<6;l=u[e+18>>1];v[a+44>>2]=l<<6;k=u[e+20>>1];v[a+48>>2]=k<<6;j=x[e+22>>1];n=i;i=d&16;v[a+104>>2]=i?k:n;v[a+100>>2]=i?l:f;v[a+72>>2]=1651078259;v[a+52>>2]=j<<6;f=v[a+4>>2];if(!(t[f+8|0]&1)){break a}i=v[f+104>>2];eb(e+20|0,0,192);v[e+212>>2]=0;v[e+216>>2]=0;v[e+32>>2]=i;v[e+16>>2]=a;v[e+12>>2]=c;v[e+8>>2]=f;v[e+24>>2]=d;iJ(e+8|0,m,0,1);hB(e+212|0,0,v[v[e+8>>2]+100>>2],0);c=v[e+68>>2];v[a+56>>2]=c;v[a+60>>2]=v[e+184>>2];if(!(v[a+40>>2]|!c)){A=a,C=xb(c,h),v[A+40>>2]=C}if(v[a+52>>2]){break a}c=v[a+60>>2];if(!c){break a}A=a,C=xb(c,g),v[A+52>>2]=C;break a}if(!i){break a}}q=d&1;if(!(q|w[c+112|0])){b=36;break a}b=6;if(d&16384){break a}o=v[a+4>>2];z=v[o+104>>2];r=v[o+96>>2];eb(e+8|0,0,212);s=d&2;if(!s){p=d>>>7&1;d:{e:{b=v[c+304>>2];if((b|0)>=0){f=v[c+308>>2];if((f|0)>-1){break e}}l=Ma-16|0;Ma=l;b=v[c+304>>2];f:{if((b|0)>-1){break f}k=v[c>>2];g=v[k+100>>2];b=g;f=v[c+132>>2];if(f){Qa[v[b+8>>2]](b,f)}v[c+132>>2]=0;b=v[c+144>>2];if(b){Qa[v[g+8>>2]](g,b)}v[c+144>>2]=0;b=v[c+252>>2];if(b){Qa[v[g+8>>2]](g,b)}v[c+252>>2]=0;b=v[c+260>>2];if(b){Qa[v[g+8>>2]](g,b)}v[c+260>>2]=0;b=v[c+300>>2];if(b){c$(b)}f=c+264|0;b=v[c+264>>2];if(b){h=v[c+292>>2];if(h){Qa[v[b+8>>2]](b,h)}v[c+292>>2]=0;h=v[c+288>>2];if(h){Qa[v[b+8>>2]](b,h)}v[c+288>>2]=0;h=v[c+280>>2];if(h){Qa[v[b+8>>2]](b,h)}v[c+280>>2]=0;h=v[c+276>>2];if(h){Qa[v[b+8>>2]](b,h)}v[c+276>>2]=0;h=v[c+284>>2];if(h){Qa[v[b+8>>2]](b,h)}v[c+284>>2]=0;v[f+8>>2]=0;v[f>>2]=0;v[f+4>>2]=0}v[c+304>>2]=-1;v[c+308>>2]=-1;h=Ma-16|0;Ma=h;b=v[k+96>>2];g:{h:{if(!b){break h}i=v[b+8>>2];b=cc(i,636,h+8|0);if(v[h+8>>2]){break h}v[b+436>>2]=32;v[b+8>>2]=i;A=b,C=yb(i,16,0,32,0,h+12|0),v[A+440>>2]=C;if(!v[h+12>>2]){v[b+444>>2]=0;v[b+392>>2]=0;v[b+396>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b>>2]=0;v[b+4>>2]=0;break g}v[b+444>>2]=0;i=v[b+8>>2];j=i;n=v[b+24>>2];if(n){Qa[v[j+8>>2]](j,n)}v[b+20>>2]=0;v[b+24>>2]=0;j=v[b+440>>2];if(j){Qa[v[i+8>>2]](i,j)}v[b+440>>2]=0;v[b+432>>2]=0;v[b+436>>2]=0;j=v[b+396>>2];if(j){Qa[v[i+8>>2]](i,j)}v[b+392>>2]=0;v[b+396>>2]=0;v[b>>2]=0;v[b+4>>2]=0;if(b){Qa[v[i+8>>2]](i,b)}if(!v[h+12>>2]){break g}}b=0}Ma=h+16|0;v[c+300>>2]=b;b=x[k+280>>1];v[c+128>>2]=b;h=x[k+282>>1];v[c+148>>2]=0;v[c+152>>2]=0;v[c+136>>2]=0;v[c+124>>2]=0;v[c+140>>2]=h;v[c+248>>2]=v[k+700>>2];h=x[k+278>>1];t[c+113|0]=0;t[c+114|0]=0;u[c+256>>1]=h;v[c+96>>2]=0;v[c+100>>2]=0;v[c+104>>2]=0;v[c+108>>2]=0;A=c,C=yb(g,24,0,b,0,l+12|0),v[A+132>>2]=C;i:{if(v[l+12>>2]){break i}A=c,C=yb(g,24,0,v[c+140>>2],0,l+12|0),v[A+144>>2]=C;if(v[l+12>>2]){break i}A=c,C=yb(g,4,0,v[c+248>>2],0,l+12|0),v[A+252>>2]=C;if(v[l+12>>2]){break i}A=c,C=yb(g,4,0,x[c+256>>1],0,l+12|0),v[A+260>>2]=C;if(v[l+12>>2]){break i}n=x[k+276>>1]+4|0;j=n&65535;i=Ma-16|0;Ma=i;b=f;v[b+4>>2]=0;v[b+8>>2]=0;v[b>>2]=g;v[b+28>>2]=0;v[b+32>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+12>>2]=0;v[b+16>>2]=0;A=b,C=yb(g,8,0,j,0,i+12|0),v[A+12>>2]=C;j:{k:{h=v[i+12>>2];l:{if(h){break l}A=b,C=yb(g,8,0,j,0,i+12|0),v[A+16>>2]=C;h=v[i+12>>2];if(h){break l}A=b,C=yb(g,8,0,j,0,i+12|0),v[A+20>>2]=C;h=v[i+12>>2];if(h){break l}A=b,C=yb(g,1,0,j,0,i+12|0),v[A+24>>2]=C;h=v[i+12>>2];if(h){break l}A=b,C=yb(g,2,0,0,0,i+12|0),v[A+28>>2]=C;h=v[i+12>>2];if(!h){break k}}f=v[b>>2];if(!f){break j}g=v[b+28>>2];if(g){Qa[v[f+8>>2]](f,g)}v[b+28>>2]=0;g=v[b+24>>2];if(g){Qa[v[f+8>>2]](f,g)}v[b+24>>2]=0;g=v[b+16>>2];if(g){Qa[v[f+8>>2]](f,g)}v[b+16>>2]=0;g=v[b+12>>2];if(g){Qa[v[f+8>>2]](f,g)}v[b+12>>2]=0;g=v[b+20>>2];if(g){Qa[v[f+8>>2]](f,g)}v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;h=v[i+12>>2];break j}u[b+6>>1]=0;u[b+4>>1]=j;h=0}Ma=i+16|0;v[l+12>>2]=h;if(h){break i}u[c+272>>1]=n;cb(c+180|0,443284,68);b=v[v[v[k+96>>2]+4>>2]+164>>2];v[k+708>>2]=b?b:2014;b=v[c+300>>2];g=v[c>>2];f=bJ(b,g,c);m:{if(f){break m}v[b+484>>2]=0;v[b+488>>2]=0;v[b+480>>2]=64;v[b+16>>2]=0;v[b+432>>2]=0;v[b+568>>2]=16384;t[b+565|0]=p;v[b+220>>2]=0;v[b+224>>2]=0;t[b+492|0]=0;u[b+256>>1]=0;v[b+228>>2]=0;v[b+260>>2]=65536;v[b+264>>2]=0;f=v[g+688>>2];v[b+452>>2]=v[g+684>>2];v[b+448>>2]=f;v[b+456>>2]=0;v[b+460>>2]=0;v[b+464>>2]=0;v[b+468>>2]=0;n:{if(!v[g+684>>2]){v[c+304>>2]=0;break n}d$(b,1);f=Qa[v[g+708>>2]](b)|0;v[c+304>>2]=f;if(f){break m}}a$(b,c);f=0}b=f;break f}p$(c);b=v[l+12>>2]}o:{if(b){break o}b=v[c+308>>2];if((b|0)>-1){break o}f=x[c+272>>1];p:{if(!f){break p}g=v[c+280>>2];h=v[c+276>>2];b=0;if((f|0)!=1){i=f&65534;while(1){k=b<<3;j=k+h|0;v[j>>2]=0;v[j+4>>2]=0;j=g+k|0;v[j>>2]=0;v[j+4>>2]=0;k=k|8;j=k+h|0;v[j>>2]=0;v[j+4>>2]=0;k=g+k|0;v[k>>2]=0;v[k+4>>2]=0;b=b+2|0;i=i-2|0;if(i){continue}break}}if(!(f&1)){break p}b=b<<3;f=b+h|0;v[f>>2]=0;v[f+4>>2]=0;b=b+g|0;v[b>>2]=0;v[b+4>>2]=0}b=x[c+256>>1];if(b){eb(v[c+260>>2],0,b<<2)}cb(c+180|0,443284,68);b=q$(c,p)}Ma=l+16|0;if(!b){break d}break a}if(b){break a}b=f;if(b){break a}}i=v[c+300>>2];if(!i){b=153;break a}b=d&983040;q:{if(v[r+64>>2]!=40){f=(b|0)!=131072;b=0;h=0;g=0;break q}h=(b|0)!=131072;b=h&(d&262144)>>>18;f=0;g=!(d&458752)&h}t[i+614|0]=b;b=bJ(i,o,c);if(b){break a}r:{s:{t:{u:{if(v[r+64>>2]==40){b=w[i+613|0]==(h|0);if(!b){t[i+613|0]=h}if((g|0)!=w[i+618|0]){break u}if(w[i+612|0]==(f|0)){break t}t[i+612|0]=f;break s}if(w[i+612|0]==(f|0)){break r}t[i+612|0]=f;break s}t[i+618|0]=g;if(w[i+612|0]==(f|0)){break s}t[i+612|0]=f;break s}if(b){break r}}b=q$(c,p);if(b){break a}}b=w[i+340|0];f=b<<1&2;if(b&2){cb(i+288|0,443284,68)}t[i+565|0]=p;v[e+164>>2]=i;v[e+168>>2]=v[i+396>>2];d=d|f}b=v[v[a+156>>2]>>2];it(b);v[e+24>>2]=d;v[e+20>>2]=b;v[e+212>>2]=0;v[e+216>>2]=0;v[e+32>>2]=z;v[e+16>>2]=a;v[e+12>>2]=c;v[e+8>>2]=o;v[a+124>>2]=0;v[a+128>>2]=0;v[a+72>>2]=1869968492;b=iJ(e+8|0,m,0,0);v:{if(b){break v}b=v[e+20>>2];w:{if(v[a+72>>2]==1668246896){v[a+128>>2]=v[b+48>>2];v[a+132>>2]=v[b+52>>2];break w}g=v[b+24>>2];d=a+108|0;f=d;v[f>>2]=v[b+20>>2];v[f+4>>2]=g;v[f+16>>2]=v[b+36>>2];f=v[b+32>>2];v[d+8>>2]=v[b+28>>2];v[d+12>>2]=f;v[a+124>>2]=v[a+124>>2]&-513;b=v[e+76>>2];if(!b){break w}Jg(d,0-b|0,0)}x:{if(s){break x}d=8;b=v[e+164>>2];y:{if(!w[b+341|0]){break y}d=32;z:{switch(v[b+344>>2]){case 4:d=48;break y;case 5:d=16;break y;case 1:break x;case 0:break y;default:break z}}d=8}v[a+124>>2]=v[a+124>>2]|d}g=v[e+8>>2];f=65536;b=v[e+12>>2];d=v[e+16>>2];f=t[e+24|0]&1?f:v[v[b+44>>2]+8>>2];h=v[g+96>>2];A:{if(v[d+72>>2]!=1668246896){yn(d+108|0,e+240|0);break A}i=v[e+56>>2];v[e+248>>2]=v[e+52>>2];v[e+252>>2]=i;i=v[e+48>>2];v[e+240>>2]=v[e+44>>2];v[e+244>>2]=i}v[d+56>>2]=v[e+68>>2];v[d+32>>2]=v[e+240>>2];v[d+36>>2]=v[e+252>>2];v[d+40>>2]=v[e+84>>2]-v[e+76>>2];B:{C:{if(v[h+64>>2]!=40){break C}h=v[e+164>>2];if(!h){break C}if(w[h+615|0]){break B}}if(v[g+488>>2]|v[e+24>>2]&2097154){break B}i=x[v[b+44>>2]>>1];l=v[g+776>>2];D:{E:{if(!l){break E}b=v[g+768>>2];k=b?b+8|0:0;h=v[g+780>>2];j=v[g+784>>2];b=0;while(1){if((i|0)==w[b+j|0]){i=m+2|0;if(i>>>0>=h>>>0){break E}b=i+(k+B(b,h)|0)|0;break D}b=b+1|0;if((l|0)!=(b|0)){continue}break}}b=0}if(!b){break B}v[d+40>>2]=w[b|0]<<6}v[d+24>>2]=v[e+248>>2]-v[e+240>>2];b=v[e+252>>2];h=b-v[e+244>>2]|0;v[d+28>>2]=h;F:{if(!(!w[g+292|0]|!x[g+330>>1])){h=Ub(v[e+192>>2]-b|0,f)<<16>>16;b=0;i=v[e+192>>2];l=v[e+200>>2];if((i|0)<=(l|0)){break F}b=Ub(i-l|0,f)&65535;break F}h=Ub(h,f);b=x[g+372>>1]==65535;b=u[g+(b?220:442)>>1]-u[g+(b?222:444)>>1]|0;h=(b-(h<<16>>16)|0)/2|0}g=v[v[g+128>>2]+52>>2];G:{if(!g){break G}i=v[v[g>>2]+8>>2];if(!i){break G}v[e+232>>2]=b;v[e+228>>2]=h;v[e+224>>2]=0;b=Qa[i|0](v[g+4>>2],m,1,e+224|0)|0;if(b){break v}b=v[e+232>>2];h=v[e+228>>2]}v[d+60>>2]=b;m=d;if(!(t[e+24|0]&1)){h=xb(h,f);b=xb(b,f)}v[m+52>>2]=b;v[d+48>>2]=h;v[d+44>>2]=v[d+32>>2]+(v[d+40>>2]/-2|0);b=0}if(!(x[v[c+44>>2]+2>>1]>23|q)){v[a+124>>2]=v[a+124>>2]|256}hB(e+212|0,0,v[v[e+8>>2]+100>>2],0)}Ma=e+256|0;return b|0}function hua(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,k=0,m=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0,y=0,z=0,B=0,C=0,E=0,F=0,G=0,J=0,L=0;h=Ma-800|0;Ma=h;a:{b:{c:{d:{e:{i=v[a+4>>2];if((i|0)>=1){while(1){e=d<<3;if(A[e+b>>3]!=A[(a+e|0)+1064>>3]){break e}d=d+1|0;if((i|0)!=(d|0)){continue}break}break d}if(!i){break d}break b}if((d|0)!=(i|0)){break c}}d=v[a+8>>2];if((d|0)<1){break a}i=d&3;b=0;if(d-1>>>0>=3){e=d&-4;d=a+1320|0;while(1){g=b<<3;A[g+c>>3]=A[d+g>>3];p=g|8;A[p+c>>3]=A[d+p>>3];p=g|16;A[p+c>>3]=A[d+p>>3];g=g|24;A[g+c>>3]=A[d+g>>3];b=b+4|0;e=e-4|0;if(e){continue}break}}if(!i){break a}while(1){d=b<<3;A[d+c>>3]=A[(a+d|0)+1320>>3];b=b+1|0;i=i-1|0;if(i){continue}break}break a}if((i|0)<1){break b}e=i&3;d=0;if(i-1>>>0>=3){k=i&-4;while(1){g=d<<3;A[(99-d<<3)+h>>3]=A[g+b>>3];A[(98-d<<3)+h>>3]=A[(g|8)+b>>3];A[(97-d<<3)+h>>3]=A[(g|16)+b>>3];A[(96-d<<3)+h>>3]=A[(g|24)+b>>3];d=d+4|0;k=k-4|0;if(k){continue}break}}if(!e){break b}while(1){A[(99-d<<3)+h>>3]=A[(d<<3)+b>>3];d=d+1|0;e=e-1|0;if(e){continue}break}}d=100-i|0;t=Ma-800|0;Ma=t;p=a;z=v[a+1052>>2];f:{if((z|0)<1){break f}r=v[p+1048>>2];G=h+16|0;i=0;g:{while(1){h:{a=i;i=a+1|0;i:{j:{switch(v[r+(a<<4)>>2]){case 0:if((d|0)>99){break h}a=(d<<3)+h|0;A[a>>3]=D(A[a>>3]);break i;case 1:if((d|0)>98){break h}a=d+1|0;e=(a<<3)+h|0;A[e>>3]=A[e>>3]+A[(d<<3)+h>>3];d=a;break i;case 2:if((d|0)>98){break h}e=d+1|0;g=(e<<3)+h|0;f=A[g>>3];k:{if(D(f)<2147483648){a=~~f;break k}a=-2147483648}f=A[(d<<3)+h>>3];l:{if(D(f)<2147483648){d=~~f;break l}d=-2147483648}A[g>>3]=d&a;d=e;break i;case 3:if((d|0)>98){break h}a=d+1|0;e=(a<<3)+h|0;J=e,L=ef(A[e>>3],A[(d<<3)+h>>3]),A[J>>3]=L;d=a;break i;case 4:if((d|0)>98){break h}a=d+1|0;f=A[(d<<3)+h>>3];m:{if(D(f)<2147483648){d=~~f;break m}d=-2147483648}k=(d|0)<1;g=(a<<3)+h|0;f=A[g>>3];n:{if(D(f)<2147483648){e=~~f;break n}e=-2147483648}if(!k){A[g>>3]=e<>3]=e>>0-d;d=a;break i}A[g>>3]=e|0;d=a;break i;case 5:if((d|0)>99){break h}a=(d<<3)+h|0;A[a>>3]=I(A[a>>3]);break i;case 6:e=246346;if((d|0)>99){break g}a=d+1|0;f=A[(d<<3)+h>>3];o:{if(D(f)<2147483648){g=~~f;break o}g=-2147483648}if((g|0)<0){e=246385;d=a;break g}if((a+g|0)>100){d=a;break g}d=a-g|0;if((d|0)<0){e=246308;d=a;break g}if((g|0)<1){break i}e=g&3;k=0;if(g-1>>>0>=3){g=g&-4;while(1){A[(d+k<<3)+h>>3]=A[(a+k<<3)+h>>3];m=k|1;A[(m+d<<3)+h>>3]=A[(a+m<<3)+h>>3];m=k|2;A[(m+d<<3)+h>>3]=A[(a+m<<3)+h>>3];m=k|3;A[(m+d<<3)+h>>3]=A[(a+m<<3)+h>>3];k=k+4|0;g=g-4|0;if(g){continue}break}}if(!e){break i}while(1){A[(d+k<<3)+h>>3]=A[(a+k<<3)+h>>3];k=k+1|0;e=e-1|0;if(e){continue}break};break i;case 7:if((d|0)>99){break h}a=(d<<3)+h|0;J=a,L=oe(A[a>>3]),A[J>>3]=L;break i;case 8:if((d|0)>99){break h}e=(d<<3)+h|0;f=A[e>>3];p:{if(D(f)<2147483648){a=~~f;break p}a=-2147483648}A[e>>3]=a|0;break i;case 9:if((d|0)>99){break h}break i;case 10:if((d|0)>98){break h}f=A[(d<<3)+h>>3];if(f==0){e=246385;break g}d=d+1|0;a=(d<<3)+h|0;A[a>>3]=A[a>>3]/f;break i;case 11:if((d|0)>99){break h}if((d|0)<1){e=246308;break g}a=d-1|0;A[(a<<3)+h>>3]=A[(d<<3)+h>>3];d=a;break i;case 12:if((d|0)>98){break h}a=d+1|0;e=(a<<3)+h|0;A[e>>3]=A[e>>3]==A[(d<<3)+h>>3]?1:0;d=a;break i;case 13:if((d|0)>98){break h}a=(d<<3)+h|0;f=A[a>>3];A[a>>3]=A[a+8>>3];A[a+8>>3]=f;break i;case 14:if((d|0)>98){break h}a=d+1|0;e=(a<<3)+h|0;J=e,L=pd(A[e>>3],A[(d<<3)+h>>3]),A[J>>3]=L;d=a;break i;case 15:if((d|0)<1){e=246308;break g}d=d-1|0;a=(d<<3)+h|0;v[a>>2]=0;v[a+4>>2]=0;break i;case 16:if((d|0)>99){break h}a=(d<<3)+h|0;A[a>>3]=H(A[a>>3]);break i;case 17:if((d|0)>98){break h}a=d+1|0;e=(a<<3)+h|0;A[e>>3]=A[e>>3]>=A[(d<<3)+h>>3]?1:0;d=a;break i;case 18:if((d|0)>98){break h}a=d+1|0;e=(a<<3)+h|0;A[e>>3]=A[e>>3]>A[(d<<3)+h>>3]?1:0;d=a;break i;case 19:if((d|0)>98){break h}f=A[(d<<3)+h>>3];q:{if(D(f)<2147483648){a=~~f;break q}a=-2147483648}if(!a){e=246385;break g}d=d+1|0;g=(d<<3)+h|0;f=A[g>>3];r:{if(D(f)<2147483648){e=~~f;break r}e=-2147483648}A[g>>3]=(e|0)/(a|0)|0;break i;case 20:e=246346;if((d|0)>99){break g}g=(d<<3)+h|0;f=A[g>>3];s:{if(D(f)<2147483648){a=~~f;break s}a=-2147483648}if((a|0)<0){e=246385;break g}a=(a+d|0)+1|0;if((a|0)>99){break g}A[g>>3]=A[(a<<3)+h>>3];break i;case 21:if((d|0)>98){break h}a=d+1|0;e=(a<<3)+h|0;A[e>>3]=A[e>>3]<=A[(d<<3)+h>>3]?1:0;d=a;break i;case 22:if((d|0)>99){break h}a=(d<<3)+h|0;J=a,L=Kr(A[a>>3]),A[J>>3]=L;break i;case 23:if((d|0)>99){break h}a=(d<<3)+h|0;m=a;f=A[a>>3];o(+f);g=j(1)|0;a=j(0)|0;t:{u:{v:{w:{e=g;g=e;if(!(e>>>0>=1048576&(e|0)>-1)){s=-1/(f*f);if(!(e&2147483647|a)){break t}if((e|0)>-1){break w}s=(f-f)/0;break t}if(g>>>0>2146435071){break u}e=1072693248;k=-1023;if((g|0)!=1072693248){e=g;break v}if(a){break v}s=0;break t}o(+(f*0x40000000000000));e=j(1)|0;a=j(0)|0;k=-1077}e=e+614242|0;B=+((e>>>20|0)+k|0);u=B*.30102999566361177;l(0,a|0);l(1,(e&1048575)+1072079006|0);q=+n()+-1;w=q*(q*.5);x=q/(q+2);y=x*x;f=y*y;o(+(q-w));a=j(1)|0;j(0)|0;l(0,0);l(1,a|0);s=+n();C=s*.4342944818781689;E=u+C;f=q-s-w+x*(w+(f*(f*(f*.15313837699209373+.22222198432149784)+.3999999999940942)+y*(f*(f*(f*.14798198605116586+.1818357216161805)+.2857142874366239)+.6666666666666735)));f=E+(C+(u-E)+(f*.4342944818781689+(B*3.694239077158931e-13+(f+s)*2.5082946711645275e-11)))}s=f}A[m>>3]=s;break i;case 24:if((d|0)>98){break h}a=d+1|0;e=(a<<3)+h|0;A[e>>3]=A[e>>3]>3]?1:0;d=a;break i;case 25:if((d|0)>98){break h}f=A[(d<<3)+h>>3];x:{if(D(f)<2147483648){a=~~f;break x}a=-2147483648}if(!a){e=246385;break g}d=d+1|0;g=(d<<3)+h|0;f=A[g>>3];y:{if(D(f)<2147483648){e=~~f;break y}e=-2147483648}A[g>>3]=(e|0)%(a|0)|0;break i;case 26:if((d|0)>98){break h}a=d+1|0;e=(a<<3)+h|0;A[e>>3]=A[e>>3]*A[(d<<3)+h>>3];d=a;break i;case 27:if((d|0)>98){break h}a=d+1|0;e=(a<<3)+h|0;A[e>>3]=A[e>>3]!=A[(d<<3)+h>>3]?1:0;d=a;break i;case 28:if((d|0)>99){break h}a=(d<<3)+h|0;A[a>>3]=-A[a>>3];break i;case 29:if((d|0)>99){break h}a=(d<<3)+h|0;A[a>>3]=A[a>>3]==0?1:0;break i;case 30:if((d|0)>98){break h}e=d+1|0;g=(e<<3)+h|0;f=A[g>>3];z:{if(D(f)<2147483648){a=~~f;break z}a=-2147483648}f=A[(d<<3)+h>>3];A:{if(D(f)<2147483648){d=~~f;break A}d=-2147483648}A[g>>3]=d|a;d=e;break i;case 31:if((d|0)>99){break h}d=d+1|0;break i;case 32:e=246346;if((d|0)>98){break g}a=(d<<3)+h|0;f=A[a+8>>3];B:{if(D(f)<2147483648){g=~~f;break B}g=-2147483648}m=(g|0)<0;f=A[a>>3];C:{if(D(f)<2147483648){k=~~f;break C}k=-2147483648}a=d+2|0;if(m){e=246385;d=a;break g}D:{if(!g){break D}if((a+g|0)>100){d=a;break g}if((k|0)>=0){e=(k>>>0)%(g>>>0)|0}else{e=(0-k>>>0)%(g>>>0)|0;e=e?g-e|0:0}k=cb(t,(d<<3)+G|0,g<<3);d=0;if((g|0)!=1){m=g&-2;while(1){A[(a+d<<3)+h>>3]=A[k+((d+e|0)%(g|0)<<3)>>3];F=d|1;A[(a+F<<3)+h>>3]=A[k+((e+F|0)%(g|0)<<3)>>3];d=d+2|0;m=m-2|0;if(m){continue}break}}if(!(g&1)){break D}A[(a+d<<3)+h>>3]=A[k+((d+e|0)%(g|0)<<3)>>3]}d=a;break i;case 33:if((d|0)>99){break h}a=(d<<3)+h|0;f=A[a>>3];A[a>>3]=f>=0?H(f+.5):I(f+-.5);break i;case 34:if((d|0)>99){break h}a=(d<<3)+h|0;J=a,L=_d(A[a>>3]),A[J>>3]=L;break i;case 35:if((d|0)>99){break h}a=(d<<3)+h|0;A[a>>3]=K(A[a>>3]);break i;case 36:if((d|0)>98){break h}a=d+1|0;e=(a<<3)+h|0;A[e>>3]=A[e>>3]-A[(d<<3)+h>>3];d=a;break i;case 37:if((d|0)<1){e=246308;break g}d=d-1|0;a=(d<<3)+h|0;v[a>>2]=0;v[a+4>>2]=1072693248;break i;case 38:if((d|0)>99){break h}a=(d<<3)+h|0;f=A[a>>3];A[a>>3]=f>=0?H(f):I(f);break i;case 39:if((d|0)>98){break h}e=d+1|0;g=(e<<3)+h|0;f=A[g>>3];E:{if(D(f)<2147483648){a=~~f;break E}a=-2147483648}f=A[(d<<3)+h>>3];F:{if(D(f)<2147483648){d=~~f;break F}d=-2147483648}A[g>>3]=d^a;d=e;break i;case 40:if((d|0)<1){e=246308;break g}d=d-1|0;A[(d<<3)+h>>3]=A[(r+(a<<4)|0)+8>>3];break i;case 41:i=v[(r+(a<<4)|0)+8>>2];break i;case 42:break j;default:break i}}if((d|0)>99){break h}f=A[(d<<3)+h>>3];G:{if(D(f)<2147483648){e=~~f;break G}e=-2147483648}d=d+1|0;if(e){break i}i=v[(r+(a<<4)|0)+8>>2]}if((i|0)<(z|0)){continue}break f}break}e=246346}fb(1,-1,e,0)}Ma=t+800|0;e=d;i=v[p+8>>2];if((d|0)>(100-i|0)){fb(1,-1,246346,0);i=v[p+8>>2];e=100-i|0}d=0;if((i|0)>0){while(1){f=A[(((d^-1)+e|0)+i<<3)+h>>3];g=p+(d<<4)|0;q=A[g+528>>3];H:{if(f>3]=q;break H}a=(d<<3)+c|0;q=A[g+536>>3];if(q>3]=q;break H}A[a>>3]=f}d=d+1|0;if((i|0)!=(d|0)){continue}break}}a=v[p+4>>2];I:{if((a|0)<1){break I}k=a&3;d=0;if(a-1>>>0>=3){g=a&-4;a=p+1064|0;while(1){e=d<<3;A[e+a>>3]=A[b+e>>3];r=e|8;A[r+a>>3]=A[b+r>>3];r=e|16;A[r+a>>3]=A[b+r>>3];e=e|24;A[e+a>>3]=A[b+e>>3];d=d+4|0;g=g-4|0;if(g){continue}break}}if(!k){break I}while(1){a=d<<3;A[(a+p|0)+1064>>3]=A[a+b>>3];d=d+1|0;k=k-1|0;if(k){continue}break}}if((i|0)<1){break a}e=i&3;b=0;if(i-1>>>0>=3){i=i&-4;a=p+1320|0;while(1){d=b<<3;A[d+a>>3]=A[c+d>>3];g=d|8;A[g+a>>3]=A[c+g>>3];g=d|16;A[g+a>>3]=A[c+g>>3];d=d|24;A[d+a>>3]=A[c+d>>3];b=b+4|0;i=i-4|0;if(i){continue}break}}if(!e){break a}while(1){a=b<<3;A[(a+p|0)+1320>>3]=A[a+c>>3];b=b+1|0;e=e-1|0;if(e){continue}break}}Ma=h+800|0}function ZSa(a){a=a|0;var 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,w=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;i=Ma-7072|0;Ma=i;u[i+7068>>1]=x[98954];v[i+7064>>2]=x[98952]|x[98953]<<16;K=a,L=eb(a+232|0,0,24576),v[K+24812>>2]=L;v[285944]=0;v[285945]=0;v[285943]=0;while(1){d=(i+96|0)+(b<<1)|0;u[d>>1]=2048;u[d+2>>1]=2048;u[d+4>>1]=2048;u[d+6>>1]=2048;u[d+16>>1]=2048;u[d+8>>1]=2048;u[d+10>>1]=2048;u[d+12>>1]=2048;u[d+14>>1]=2048;b=b+9|0;if((b|0)!=3474){continue}break}a:{if(!x[a+26308>>1]){break a}o=v[249419];b=0;while(1){b:{if(b){m=0;u[i+7060>>1]=0;v[i+7056>>2]=0;break b}c:{d:{e:{c=v[285944];if((c|0)>=6){b=v[285943];break e}while(1){f:{b=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;g:{if((b|0)==-1){if(!v[a+26160>>2]){v[i+80>>2]=v[a+25208>>2];vb(o,8292,i+80|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,o);v[a+26160>>2]=1;v[285945]=0;break g}d=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[i+64>>2]=d;v[i+68>>2]=d>>31;vb(o,14622,i- -64|0)}v[a+26160>>2]=1;v[285945]=0;break g}if(!((b|0)==255?v[a+26144>>2]:0)){v[285945]=0;break g}d=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[285945]=(d|0)!=0;if(d){break f}}d=v[285944];c=d+8|0;v[285944]=c;b=b&255|v[285943]<<8;v[285943]=b;if((d|0)<-2){continue}break e}break}m=0;u[i+7056>>1]=0;break d}e=c-6|0;v[285944]=e;m=b<<32-c>>>26|0;u[i+7056>>1]=m;if((c|0)>=12){b=v[285943];break c}while(1){b=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;h:{i:{if((b|0)!=-1){if(!v[a+26144>>2]|(b|0)!=255){break i}d=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[285945]=(d|0)!=0;if(!d){break h}break d}j:{if(v[a+26160>>2]){break j}v[i+48>>2]=v[a+25208>>2];vb(o,8292,i+48|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,o);break j}d=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[i+32>>2]=d;v[i+36>>2]=d>>31;vb(o,14622,i+32|0)}v[a+26160>>2]=1}v[285945]=0}d=v[285944];e=d+8|0;v[285944]=e;b=b&255|v[285943]<<8;v[285943]=b;if((d|0)<-2){continue}break}break c}u[i+7058>>1]=0;u[i+7060>>1]=0;break b}c=e-6|0;v[285944]=c;u[i+7058>>1]=b<<32-e>>>26;k:{l:{if((e|0)>=12){b=v[285943];break l}while(1){b=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;m:{n:{if((b|0)!=-1){if(!v[a+26144>>2]|(b|0)!=255){break n}c=0;d=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[285945]=(d|0)!=0;if(!d){break m}break k}o:{if(v[a+26160>>2]){break o}v[i+16>>2]=v[a+25208>>2];vb(o,8292,i+16|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,o);break o}d=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[i>>2]=d;v[i+4>>2]=d>>31;vb(o,14622,i)}v[a+26160>>2]=1}v[285945]=0}d=v[285944];c=d+8|0;v[285944]=c;b=b&255|v[285943]<<8;v[285943]=b;if((d|0)<-2){continue}break}}v[285944]=c-6;c=b<<32-c>>>26|0}u[i+7060>>1]=c}E=p-1|0;w=0;l=0;while(1){q=m<<16>>16;e=(i+7064|0)+(l<<1)|0;d=B(q,(16777216/u[e>>1]|0)+2047>>12);b=(d|0)>65564?10:12;c=d<<12-b;g=-1<>1]=g+B(c,u[f>>1])>>b;u[f+2>>1]=g+B(c,u[f+2>>1])>>b;u[f+4>>1]=g+B(c,u[f+4>>1])>>b;d=d+3|0;if((d|0)!=1158){continue}break}u[e>>1]=m;F=l?1:2;G=l?772:770;H=!l<<1|k;A=2-l|0;C=m<<7;y=k+1544|0;z=l+E|0;I=(h|z<<1&14)<<1;D=z+2|0;J=(h|D<<1&14)<<1;c=x[a+26310>>1];t=0;while(1){r=1;d=c&65535;b=d>>>1|0;f=(b<<1)+k|0;u[f+772>>1]=C;u[f+1544>>1]=C;if(d>>>0>1){while(1){r=Fl(a,r);p:{if(!r){if(!l){while(1){d=1;if((b|0)>=3){d=Fl(a,9)+1|0}h=0;f=b;while(1){q:{if((d|0)<=(h|0)){b=f;break q}if((f|0)<1){b=f;break q}b=f-2|0;j=(i+96|0)+(f<<1)|0;e=x[j>>1];g=x[j+772>>1];c=f;while(1){n=e<<16;c=c-1|0;s=(i+96|0)+(c<<1)|0;e=u[s>>1];g=(((e<<1)+(n>>16)|0)+(g<<16>>16)|0)/4|0;u[s+772>>1]=g;if((b|0)<(c|0)){continue}break}e=x[j+1544>>1];g=x[j+772>>1];c=f;while(1){j=g<<16;c=c-1|0;n=(i+96|0)+(c<<1)|0;g=u[n+772>>1];e=(((g<<1)+(j>>16)|0)+(e<<16>>16)|0)/4|0;u[n+1544>>1]=e;if((b|0)<(c|0)){continue}break}if(h&1){g=Fl(a,10)<<4;c=f;while(1){c=c-1|0;e=(c<<1)+i|0;u[e+868>>1]=g+x[e+868>>1];if((b|0)<(c|0)){continue}break}while(1){f=f-1|0;c=((f<<1)+i|0)+1640|0;u[c>>1]=g+x[c>>1];if((b|0)<(f|0)){continue}break}}f=b;h=h+1|0;if((h|0)!=8){continue}}break}if((d|0)==9){continue}break p}}while(1){j=1;if((b|0)>=3){j=Fl(a,9)+1|0}f=0;d=b;while(1){r:{if((f|0)>=(j|0)){b=d;break r}if((d|0)<1){b=d;break r}g=(d<<1)+k|0;e=x[g+772>>1];b=d-2|0;c=d;while(1){c=c-1|0;h=(c<<1)+k|0;e=(u[h>>1]+(e<<16>>16)|0)/2|0;u[h+772>>1]=e;if((b|0)<(c|0)){continue}break}e=x[g+1544>>1];c=d;while(1){c=c-1|0;g=(c<<1)+k|0;e=(u[g+772>>1]+(e<<16>>16)|0)/2|0;u[g+1544>>1]=e;if((b|0)<(c|0)){continue}break}if(f&1){g=Fl(a,10)<<4;c=d;while(1){c=c-1|0;h=(c<<1)+k|0;u[h+772>>1]=g+x[h+772>>1];if((b|0)<(c|0)){continue}break}while(1){d=d-1|0;c=((d<<1)+k|0)+1544|0;u[c>>1]=g+x[c>>1];if((b|0)<(d|0)){continue}break}}d=b;f=f+1|0;if((f|0)!=8){continue}}break}if((j|0)==9){continue}break}break p}c=b-2|0;e=b;s:{if((r|0)!=8){e=r+10|0;g=b-1|0;j=g;f=g;d=b;h=b;if(l){break s}while(1){n=Fl(a,e);h=i+868|0;f=j;s=f<<1;d=d<<1;j=i+96|0;u[h+s>>1]=(((u[d+j>>1]+(u[j+s>>1]<<1)|0)+u[d+h>>1]|0)/4|0)+(n<<4);j=f-1|0;d=f;if((d|0)>(c|0)){continue}break}while(1){f=Fl(a,e);j=i+1640|0;d=g;n=d<<1;b=b<<1;u[j+n>>1]=(((u[b+h>>1]+(u[h+n>>1]<<1)|0)+u[b+j>>1]|0)/4|0)+(f<<4);g=d-1|0;b=d;if((c|0)<(b|0)){continue}break}b=c;break p}while(1){e=e-1|0;K=(e<<1)+k|0,L=B(Fl(a,18),m),u[K+772>>1]=L;if((c|0)<(e|0)){continue}break}while(1){b=b-1|0;K=((b<<1)+k|0)+1544|0,L=B(Fl(a,18),m),u[K>>1]=L;if((b|0)>(c|0)){continue}break}b=c;break p}while(1){d=Fl(a,e);j=k+772|0;n=f<<1;u[j+n>>1]=((u[j+(h<<1)>>1]+u[k+n>>1]|0)/2|0)+(d<<4);h=f;f=f-1|0;if((c|0)<(h|0)){continue}break}while(1){f=Fl(a,e);d=g;h=d<<1;u[h+y>>1]=((u[(b<<1)+y>>1]+u[(h+k|0)+772>>1]|0)/2|0)+(f<<4);g=d-1|0;b=d;if((c|0)<(b|0)){continue}break}b=c}if((b|0)>0){continue}break}}c=x[a+26310>>1];t:{u:{if(l){if((c&65535)>>>0<2){break t}f=v[a+26028>>2]>>>I&3;g=v[a+26352>>2];b=0;while(1){c=b<<1;d=(u[(c+k|0)+772>>1]<<4)/(q|0)|0;h=x[a+26316>>1];u[(g+(B(x[a+26320>>1],z>>h)+(c+A>>h)<<3)|0)+(f<<1)>>1]=(d|0)>0?d:0;b=b+1|0;c=x[a+26310>>1];if(b>>>0>>1>>>0){continue}break}if(c>>>0>1){break u}break t}if((c&65535)>>>0<2){break t}d=(t<<1)+p|0;g=v[a+26028>>2]>>>(d<<2&24)&3;h=v[a+26352>>2];b=0;while(1){c=b<<1;f=(u[(c+i|0)+868>>1]<<4)/(q|0)|0;e=x[a+26316>>1];u[(h+(B(x[a+26320>>1],d>>>e|0)+(c>>>e|0)<<3)|0)+(g<<1)>>1]=(f|0)>0?f:0;b=b+1|0;c=x[a+26310>>1];if(b>>>0>>1>>>0){continue}break}if(c>>>0<2){break t}f=d|1;g=v[a+26028>>2]>>>(f<<2&28|2)&3;h=v[a+26352>>2];b=0;while(1){c=b<<1;d=(u[(c+i|0)+1640>>1]<<4)/(q|0)|0;e=x[a+26316>>1];u[(h+(B(x[a+26320>>1],f>>>e|0)+((c|1)>>>e|0)<<3)|0)+(g<<1)>>1]=(d|0)>0?d:0;b=b+1|0;c=x[a+26310>>1];if(b>>>0>>1>>>0){continue}break}break t}f=v[a+26028>>2]>>>J&3;g=v[a+26352>>2];b=0;while(1){c=b<<1;d=(u[(c+k|0)+1544>>1]<<4)/(q|0)|0;h=x[a+26316>>1];u[(g+(B(x[a+26320>>1],D>>h)+(c+A>>h)<<3)|0)+(f<<1)>>1]=(d|0)>0?d:0;b=b+1|0;c=x[a+26310>>1];if(b>>>0>>1>>>0){continue}break}}cb(H,y,G);t=t+1|0;if((F|0)!=(t|0)){continue}break}l=l+1|0;if((l|0)!=3){w=w^1;m=x[(i+7056|0)+(l<<1)>>1];continue}break}e=c&65535;v:{if(!e){break v}f=p<<1&8;b=0;while(1){d=b&1;if(d){c=x[a+26316>>1];g=B(x[a+26320>>1],p>>>c|0);h=v[a+26352>>2];j=v[a+26028>>2];k=(h+(g+(b>>>c|0)<<3)|0)+((j>>>((d|f)<<1)&3)<<1)|0;d=b+1|0;b=b-1|0;e=d>>>0>>0?d:b;b=((x[k>>1]<<1)+(x[(h+(g+(e>>c)<<3)|0)+((j>>>((f|e&1)<<1)&3)<<1)>>1]+x[(h+(g+(b>>c)<<3)|0)+((j>>>((f|b&1)<<1)&3)<<1)>>1]>>>1|0)|0)-4096|0;u[k>>1]=(b|0)>0?b:0;c=x[a+26310>>1];b=d}else{b=b+1|0}e=c&65535;if(b>>>0>>0){continue}break}e=c&65535;if(!e){break v}k=p|1;f=k<<1&10;b=0;while(1){d=b&1;if(d){b=b+1|0}else{c=x[a+26316>>1];g=B(x[a+26320>>1],k>>>c|0);h=v[a+26352>>2];j=v[a+26028>>2];l=(h+(g+(b>>>c|0)<<3)|0)+((j>>>((d|f)<<1)&3)<<1)|0;d=b+1|0;m=b-1|0;e=d>>>0>>0?d:m;b=b?m:1;b=((x[l>>1]<<1)+(x[(h+(g+(e>>c)<<3)|0)+((j>>>((f|e&1)<<1)&3)<<1)>>1]+x[(h+(g+(b>>c)<<3)|0)+((j>>>((f|b&1)<<1)&3)<<1)>>1]>>>1|0)|0)-4096|0;u[l>>1]=(b|0)>0?b:0;c=x[a+26310>>1];b=d}e=c&65535;if(b>>>0>>0){continue}break}e=c&65535;if(!e){break v}k=p|2;f=k<<1&12;b=0;while(1){d=b&1;if(d){c=x[a+26316>>1];g=B(x[a+26320>>1],k>>>c|0);h=v[a+26352>>2];j=v[a+26028>>2];l=(h+(g+(b>>>c|0)<<3)|0)+((j>>>((d|f)<<1)&3)<<1)|0;d=b+1|0;b=b-1|0;e=d>>>0>>0?d:b;b=((x[l>>1]<<1)+(x[(h+(g+(e>>c)<<3)|0)+((j>>>((f|e&1)<<1)&3)<<1)>>1]+x[(h+(g+(b>>c)<<3)|0)+((j>>>((f|b&1)<<1)&3)<<1)>>1]>>>1|0)|0)-4096|0;u[l>>1]=(b|0)>0?b:0;c=x[a+26310>>1];b=d}else{b=b+1|0}e=c&65535;if(b>>>0>>0){continue}break}e=c&65535;if(!e){break v}k=p|3;f=k<<1&14;b=0;while(1){d=b&1;if(d){b=b+1|0}else{c=x[a+26316>>1];g=B(x[a+26320>>1],k>>>c|0);h=v[a+26352>>2];j=v[a+26028>>2];l=(h+(g+(b>>>c|0)<<3)|0)+((j>>>((d|f)<<1)&3)<<1)|0;d=b+1|0;m=b-1|0;e=d>>>0>>0?d:m;b=b?m:1;b=((x[l>>1]<<1)+(x[(h+(g+(e>>c)<<3)|0)+((j>>>((f|e&1)<<1)&3)<<1)>>1]+x[(h+(g+(b>>c)<<3)|0)+((j>>>((f|b&1)<<1)&3)<<1)>>1]>>>1|0)|0)-4096|0;u[l>>1]=(b|0)>0?b:0;c=x[a+26310>>1];b=d}e=c&65535;if(b>>>0>>0){continue}break}}p=p+4|0;if(p>>>0>=x[a+26308>>1]){break a}b=v[285945];continue}}v[a+26136>>2]=0;v[a+26124>>2]=4095;Ma=i+7072|0}function AL(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=2;if(!(!a|v[a>>2]!=1381173770)){c=v[a+548>>2];a:{if(!c){break a}b=v[c+1120>>2];b:{if(!b){break b}d=v[c+1124>>2];if(!d){break b}Qa[v[a+156>>2]](d,b);c=v[a+548>>2];if(!c){break a}}Qa[v[a+156>>2]](c,1136);v[a+548>>2]=0}c=gb(40);v[c>>2]=0;e=be(a+2568|0,1,c,4);f=P()|0;g=a+2532|0;c=0;c:{d:{while(1){e:{f:{g:{if(c){v[296803]=0;V(755,a|0,6,c|0,0)|0;c=v[296803];v[296803]=0;b=-1;h:{if(!c){break h}d=v[296804];if(!d){break h}b=pb(v[c>>2],e,f);if(!b){break g}Q(d|0)}c=P()|0;if((b|0)==1){continue}break c}if(w[a+2533|0]){c=v[a+2452>>2];v[296803]=0;U(35,c|0);c=v[296803];v[296803]=0;b=-1;i:{if(!c){break i}d=v[296804];if(!d){break i}b=pb(v[c>>2],e,f);if(!b){break g}Q(d|0)}c=P()|0;if((b|0)==1){continue}}if(w[a+2539|0]){c=v[a+2464>>2];v[296803]=0;U(35,c|0);c=v[296803];v[296803]=0;b=-1;j:{if(!c){break j}d=v[296804];if(!d){break j}b=pb(v[c>>2],e,f);if(!b){break g}Q(d|0)}c=P()|0;if((b|0)==1){continue}}if(w[a+2532|0]){c=v[a+2444>>2];v[296803]=0;U(40,c|0);c=v[296803];v[296803]=0;b=-1;k:{if(!c){break k}d=v[296804];if(!d){break k}b=pb(v[c>>2],e,f);if(!b){break g}Q(d|0)}c=P()|0;if((b|0)==1){continue}}c=v[a+2496>>2];if(c){b=v[a+2500>>2];d=v[a+156>>2];v[296803]=0;R(d|0,c|0,b|0);c=v[296803];v[296803]=0;b=-1;l:{if(!c){break l}d=v[296804];if(!d){break l}b=pb(v[c>>2],e,f);if(!b){break g}Q(d|0)}c=P()|0;if((b|0)==1){continue}v[a+2496>>2]=0}c=v[a+2476>>2];if(c){b=v[a+2480>>2];d=v[a+156>>2];v[296803]=0;R(d|0,c|0,b|0);c=v[296803];v[296803]=0;b=-1;m:{if(!c){break m}d=v[296804];if(!d){break m}b=pb(v[c>>2],e,f);if(!b){break g}Q(d|0)}c=P()|0;if((b|0)==1){continue}v[a+2476>>2]=0}c=v[a+2444>>2];if(c){b=v[a+156>>2];v[296803]=0;R(b|0,c|0,432);c=v[296803];v[296803]=0;b=-1;n:{if(!c){break n}d=v[296804];if(!d){break n}b=pb(v[c>>2],e,f);if(!b){break g}Q(d|0)}c=P()|0;if((b|0)==1){continue}v[a+2444>>2]=0}c=v[a+2448>>2];if(c){b=v[a+156>>2];v[296803]=0;R(b|0,c|0,132);c=v[296803];v[296803]=0;b=-1;o:{if(!c){break o}d=v[296804];if(!d){break o}b=pb(v[c>>2],e,f);if(!b){break g}Q(d|0)}c=P()|0;if((b|0)==1){continue}v[a+2448>>2]=0}c=v[a+2452>>2];if(c){b=v[a+156>>2];v[296803]=0;R(b|0,c|0,488);c=v[296803];v[296803]=0;b=-1;p:{if(!c){break p}d=v[296804];if(!d){break p}b=pb(v[c>>2],e,f);if(!b){break g}Q(d|0)}c=P()|0;if((b|0)==1){continue}v[a+2452>>2]=0}c=v[a+2460>>2];if(c){b=v[a+156>>2];v[296803]=0;R(b|0,c|0,28);c=v[296803];v[296803]=0;b=-1;q:{if(!c){break q}d=v[296804];if(!d){break q}b=pb(v[c>>2],e,f);if(!b){break g}Q(d|0)}c=P()|0;if((b|0)==1){continue}v[a+2460>>2]=0}c=v[a+2456>>2];if(c){b=v[a+156>>2];v[296803]=0;R(b|0,c|0,132);c=v[296803];v[296803]=0;b=-1;r:{if(!c){break r}d=v[296804];if(!d){break r}b=pb(v[c>>2],e,f);if(!b){break g}Q(d|0)}c=P()|0;if((b|0)==1){continue}v[a+2456>>2]=0}c=v[a+2464>>2];if(c){b=v[a+156>>2];v[296803]=0;R(b|0,c|0,488);c=v[296803];v[296803]=0;b=-1;s:{if(!c){break s}d=v[296804];if(!d){break s}b=pb(v[c>>2],e,f);if(!b){break g}Q(d|0)}c=P()|0;if((b|0)==1){continue}v[a+2464>>2]=0}c=v[a+2472>>2];if(c){b=v[a+156>>2];v[296803]=0;R(b|0,c|0,28);c=v[296803];v[296803]=0;b=-1;t:{if(!c){break t}d=v[296804];if(!d){break t}b=pb(v[c>>2],e,f);if(!b){break g}Q(d|0)}c=P()|0;if((b|0)==1){continue}v[a+2472>>2]=0}c=v[a+2468>>2];if(c){b=v[a+156>>2];v[296803]=0;R(b|0,c|0,132);c=v[296803];v[296803]=0;b=-1;u:{if(!c){break u}d=v[296804];if(!d){break u}b=pb(v[c>>2],e,f);if(!b){break g}Q(d|0)}c=P()|0;if((b|0)==1){continue}v[a+2468>>2]=0}c=v[a+2524>>2];if(c){b=v[a+2528>>2];d=v[a+156>>2];v[296803]=0;R(d|0,c|0,b|0);c=v[296803];v[296803]=0;b=-1;v:{if(!c){break v}d=v[296804];if(!d){break v}b=pb(v[c>>2],e,f);if(!b){break g}Q(d|0)}c=P()|0;if((b|0)==1){continue}v[a+2524>>2]=0}c=v[a+2516>>2];if(!c){break d}b=v[a+2520>>2];d=v[a+156>>2];v[296803]=0;R(d|0,c|0,b|0);c=v[296803];v[296803]=0;b=-1;if(!c){break e}d=v[296804];if(!d){break e}b=pb(v[c>>2],e,f);if(b){break f}}$a(e);tc(c,d);L()}Q(d|0)}c=P()|0;if((b|0)==1){continue}break}v[a+2516>>2]=0}v[g>>2]=0;u[g+4>>1]=0;t[a+2539|0]=0;t[a+2540|0]=0;t[a+2541|0]=0;t[a+2542|0]=0}$a(e);if(w[a+2420|0]){bC(a);uL(a)}if(!(w[a+346|0]|!w[a+344|0])){t4(a)}c=v[a+352>>2];if(c){Qa[v[a+156>>2]](c,v[a+348>>2]);v[a+352>>2]=0}c=v[a+360>>2];if(c){Qa[v[a+156>>2]](c,v[a+356>>2]);v[a+360>>2]=0}c=v[a+376>>2];if(c){Qa[v[a+156>>2]](c,v[a+372>>2]);v[a+376>>2]=0}if(v[a+408>>2]){while(1){s4(a);if(v[a+408>>2]){continue}break}}if(v[a+400>>2]){while(1){c=v[a+400>>2];b=v[c>>2];v[a+400>>2]=b;if(!b){v[a+404>>2]=0}w:{x:{if(!w[c+12|0]){break x}b=v[a+160>>2];if(!b){break x}Qa[b|0](a,v[c+4>>2],v[c+8>>2]);break w}b=v[c+4>>2];if(!b){break w}Qa[v[a+156>>2]](b,v[c+8>>2])}Qa[v[a+156>>2]](c,24);if(v[a+400>>2]){continue}break}}c=v[a+428>>2];if(c){Qa[v[a+156>>2]](c,v[a+424>>2]);v[a+428>>2]=0}b=a;a=v[b+276>>2];if(a){while(1){c=v[a+24>>2];Qa[v[a+8>>2]](b,a)|0;a=c;if(a){continue}break}}v[b+276>>2]=0;v[b+280>>2]=0;c=v[b+688>>2];if(c){while(1){a=v[c+8>>2];Qa[v[c>>2]](b,c)|0;c=a;if(a){continue}break}}v[b+688>>2]=0;v[b+692>>2]=0;c=v[b+696>>2];if(c){while(1){a=v[c+8>>2];Qa[v[c>>2]](b,c)|0;c=a;if(a){continue}break}}v[b+696>>2]=0;v[b+700>>2]=0;d=b+2232|0;a=v[b+2232>>2];y:{if(!a){break y}c=v[b+2236>>2];if(!c){break y}Qa[v[b+156>>2]](c,a)}v[b+8>>2]=0;v[b+12>>2]=0;t[b+264|0]=0;v[b+148>>2]=0;v[b+140>>2]=0;v[b+144>>2]=0;t[b+136|0]=0;v[b+132>>2]=0;t[b+60|0]=0;v[b+48>>2]=0;t[b+44|0]=16;v[b+64>>2]=0;v[b+68>>2]=0;v[b+268>>2]=1077952576;v[b+272>>2]=0;v[b+276>>2]=0;v[b+40>>2]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+72>>2]=0;v[b+76>>2]=0;v[b+304>>2]=0;v[b+308>>2]=0;v[b+296>>2]=0;v[b+300>>2]=0;v[b+288>>2]=0;v[b+292>>2]=0;v[b+280>>2]=0;v[b+284>>2]=0;t[b+321|0]=0;t[b+322|0]=0;t[b+323|0]=0;t[b+324|0]=0;t[b+325|0]=0;t[b+326|0]=0;t[b+327|0]=0;t[b+328|0]=0;v[b+316>>2]=0;v[b+320>>2]=0;v[b+336>>2]=0;v[b+340>>2]=0;t[b+343|0]=0;t[b+344|0]=0;t[b+345|0]=0;t[b+346|0]=0;v[b+348>>2]=0;v[b+352>>2]=0;v[b+356>>2]=0;v[b+360>>2]=0;u[b+362>>1]=0;u[b+364>>1]=0;u[b+366>>1]=0;u[b+368>>1]=0;v[b+384>>2]=0;u[b+416>>1]=0;v[b+420>>2]=0;v[b+424>>2]=0;t[b+425|0]=0;t[b+426|0]=0;t[b+427|0]=0;t[b+428|0]=0;t[b+429|0]=0;t[b+430|0]=0;t[b+431|0]=0;t[b+432|0]=0;v[b+436>>2]=0;v[b+440>>2]=0;v[b+444>>2]=0;v[b+448>>2]=0;v[b+452>>2]=0;v[b+456>>2]=0;t[b+460|0]=0;u[b+470>>1]=0;u[b+472>>1]=0;u[b+474>>1]=0;u[b+476>>1]=0;v[b+464>>2]=0;v[b+468>>2]=0;v[b+380>>2]=v[b+376>>2];t[b+504|0]=0;v[b+496>>2]=0;v[b+500>>2]=0;v[b+488>>2]=0;v[b+492>>2]=0;v[b+480>>2]=0;v[b+484>>2]=0;v[b+516>>2]=0;v[b+520>>2]=0;v[b+508>>2]=0;v[b+512>>2]=0;v[b+564>>2]=0;v[b+556>>2]=0;v[b+560>>2]=0;v[b+548>>2]=0;v[b+552>>2]=0;v[b+540>>2]=0;v[b+544>>2]=0;v[b+532>>2]=0;v[b+536>>2]=0;t[b+568|0]=255;v[b+580>>2]=0;v[b+584>>2]=1;v[b+572>>2]=0;v[b+576>>2]=1;v[b+612>>2]=0;v[b+604>>2]=0;v[b+608>>2]=0;v[b+596>>2]=0;v[b+600>>2]=0;v[b+588>>2]=0;v[b+592>>2]=0;v[b+616>>2]=1;v[b+644>>2]=0;v[b+636>>2]=0;v[b+640>>2]=0;v[b+628>>2]=0;v[b+632>>2]=0;v[b+620>>2]=0;v[b+624>>2]=0;v[b+652>>2]=1;u[b+648>>1]=257;t[b+1062|0]=0;u[b+1060>>1]=0;v[b+332>>2]=0;v[b+696>>2]=0;v[b+700>>2]=0;v[b+688>>2]=0;v[b+692>>2]=0;v[b+680>>2]=0;v[b+684>>2]=0;v[b+672>>2]=0;v[b+676>>2]=0;v[b+664>>2]=0;v[b+668>>2]=0;v[b+656>>2]=0;v[b+660>>2]=0;t[b+1015|0]=0;t[b+1016|0]=0;t[b+1017|0]=0;t[b+1018|0]=0;t[b+1019|0]=0;t[b+1020|0]=0;t[b+1021|0]=0;t[b+1022|0]=0;v[b+1008>>2]=0;v[b+1012>>2]=0;v[b+1e3>>2]=0;v[b+1004>>2]=0;v[b+992>>2]=0;v[b+996>>2]=0;v[b+984>>2]=0;v[b+988>>2]=0;v[b+976>>2]=0;v[b+980>>2]=0;v[b+968>>2]=0;v[b+972>>2]=0;t[b+1032|0]=0;v[b+1024>>2]=0;v[b+1028>>2]=0;a=b+1051|0;t[a|0]=0;t[a+1|0]=0;t[a+2|0]=0;t[a+3|0]=0;t[a+4|0]=0;t[a+5|0]=0;t[a+6|0]=0;t[a+7|0]=0;a=b+1044|0;v[a>>2]=0;v[a+4>>2]=0;v[b+1036>>2]=0;v[b+1040>>2]=0;t[b+1092|0]=0;v[b+1084>>2]=1;v[b+1088>>2]=2147483647;t[b+1080|0]=1;a=b+1104|0;v[a>>2]=0;v[a+4>>2]=0;v[b+1096>>2]=0;v[b+1100>>2]=0;t[b+1124|0]=0;v[b+1116>>2]=1;v[b+1120>>2]=2147483647;t[b+1112|0]=1;a=b+1136|0;v[a>>2]=0;v[a+4>>2]=0;v[b+1128>>2]=0;v[b+1132>>2]=0;u[b+2420>>1]=0;v[b+2336>>2]=0;v[b+2328>>2]=0;v[b+2332>>2]=0;u[b+2324>>1]=0;u[b+2252>>1]=0;v[b+2248>>2]=0;v[b+1932>>2]=0;v[b+1160>>2]=0;t[b+1148|0]=0;v[b+1144>>2]=1;u[b+1150>>1]=0;u[b+1152>>1]=0;u[b+1154>>1]=0;u[b+1156>>1]=0;a=b+2221|0;t[a|0]=0;t[a+1|0]=0;t[a+2|0]=0;t[a+3|0]=0;t[a+4|0]=0;t[a+5|0]=0;t[a+6|0]=0;t[a+7|0]=0;a=b+2216|0;v[a>>2]=0;v[a+4>>2]=0;a=b+2208|0;v[a>>2]=0;v[a+4>>2]=0;a=b+2200|0;v[a>>2]=0;v[a+4>>2]=0;v[b+2192>>2]=0;v[b+2196>>2]=0;u[d+6>>1]=0;u[d+8>>1]=0;u[d+10>>1]=0;u[d+12>>1]=0;v[d>>2]=0;v[d+4>>2]=0;t[b+2272|0]=0;a=b+2264|0;v[a>>2]=0;v[a+4>>2]=0;v[b+2256>>2]=0;v[b+2260>>2]=0;v[b+2276>>2]=0;v[b+2280>>2]=0;a=b+2284|0;v[a>>2]=0;v[a+4>>2]=0;a=b+2292|0;v[a>>2]=0;v[a+4>>2]=0;a=b+2299|0;t[a|0]=0;t[a+1|0]=0;t[a+2|0]=0;t[a+3|0]=0;t[a+4|0]=0;t[a+5|0]=0;t[a+6|0]=0;t[a+7|0]=0;v[b+2308>>2]=0;v[b+2312>>2]=0;a=b+2314|0;u[a>>1]=0;u[a+2>>1]=0;u[a+4>>1]=0;u[a+6>>1]=0;m4(b);c=0}return c}function RA(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;k=Ma-1312|0;Ma=k;if(c>>>0>=4){l=v[a>>2];v[l+24>>2]=c;v[l+20>>2]=52;Qa[v[v[a>>2]>>2]](a)}i=v[((b?180:196)+a|0)+(c<<2)>>2];if(!i){l=v[a>>2];v[l+24>>2]=c;v[l+20>>2]=52;Qa[v[v[a>>2]>>2]](a)}l=v[d>>2];if(!l){l=Qa[v[v[a+4>>2]>>2]](a,1,1424)|0;v[d>>2]=l}v[l+140>>2]=i;c=w[i+1|0];a:{if(!c){c=0;break a}eb(k+1040|0,1,c)}j=w[i+2|0];d=j+c|0;if(d>>>0>256){f=v[a>>2];v[f+20>>2]=9;Qa[v[f>>2]](a)}b:{if(!j){d=c;break b}eb((k+1040|0)+c|0,2,j)}j=w[i+3|0];c=j+d|0;if((c|0)>=257){f=v[a>>2];v[f+20>>2]=9;Qa[v[f>>2]](a)}c:{if(!j){c=d;break c}eb((k+1040|0)+d|0,3,j)}j=w[i+4|0];d=j+c|0;if((d|0)>=257){f=v[a>>2];v[f+20>>2]=9;Qa[v[f>>2]](a)}d:{if(!j){d=c;break d}eb((k+1040|0)+c|0,4,j)}j=w[i+5|0];c=j+d|0;if((c|0)>=257){f=v[a>>2];v[f+20>>2]=9;Qa[v[f>>2]](a)}e:{if(!j){c=d;break e}eb((k+1040|0)+d|0,5,j)}j=w[i+6|0];d=j+c|0;if((d|0)>=257){f=v[a>>2];v[f+20>>2]=9;Qa[v[f>>2]](a)}f:{if(!j){d=c;break f}eb((k+1040|0)+c|0,6,j)}j=w[i+7|0];c=j+d|0;if((c|0)>=257){f=v[a>>2];v[f+20>>2]=9;Qa[v[f>>2]](a)}g:{if(!j){c=d;break g}eb((k+1040|0)+d|0,7,j)}j=w[i+8|0];d=j+c|0;if((d|0)>=257){f=v[a>>2];v[f+20>>2]=9;Qa[v[f>>2]](a)}h:{if(!j){d=c;break h}eb((k+1040|0)+c|0,8,j)}j=w[i+9|0];c=j+d|0;if((c|0)>=257){f=v[a>>2];v[f+20>>2]=9;Qa[v[f>>2]](a)}i:{if(!j){c=d;break i}eb((k+1040|0)+d|0,9,j)}j=w[i+10|0];d=j+c|0;if((d|0)>=257){f=v[a>>2];v[f+20>>2]=9;Qa[v[f>>2]](a)}j:{if(!j){d=c;break j}eb((k+1040|0)+c|0,10,j)}j=w[i+11|0];c=j+d|0;if((c|0)>=257){f=v[a>>2];v[f+20>>2]=9;Qa[v[f>>2]](a)}k:{if(!j){c=d;break k}eb((k+1040|0)+d|0,11,j)}j=w[i+12|0];d=j+c|0;if((d|0)>=257){f=v[a>>2];v[f+20>>2]=9;Qa[v[f>>2]](a)}l:{if(!j){d=c;break l}eb((k+1040|0)+c|0,12,j)}j=w[i+13|0];c=j+d|0;if((c|0)>=257){f=v[a>>2];v[f+20>>2]=9;Qa[v[f>>2]](a)}m:{if(!j){c=d;break m}eb((k+1040|0)+d|0,13,j)}j=w[i+14|0];d=j+c|0;if((d|0)>=257){f=v[a>>2];v[f+20>>2]=9;Qa[v[f>>2]](a)}n:{if(!j){d=c;break n}eb((k+1040|0)+c|0,14,j)}j=w[i+15|0];c=j+d|0;if((c|0)>=257){f=v[a>>2];v[f+20>>2]=9;Qa[v[f>>2]](a)}o:{if(!j){c=d;break o}eb((k+1040|0)+d|0,15,j)}d=w[i+16|0];j=d+c|0;if((j|0)>=257){f=v[a>>2];v[f+20>>2]=9;Qa[v[f>>2]](a)}p:{if(!d){j=c;break p}eb((k+1040|0)+c|0,16,d)}d=0;t[(k+1040|0)+j|0]=0;g=w[k+1040|0];if(g){f=g<<24>>24;c=0;while(1){if(g<<24>>24==(f|0)){while(1){v[(d<<2)+k>>2]=c;c=c+1|0;d=d+1|0;g=t[d+(k+1040|0)|0];if((g|0)==(f|0)){continue}break}}if(1<>2];v[h+20>>2]=9;Qa[v[h>>2]](a)}f=f+1|0;c=c<<1;if(g&255){continue}break}}d=-1;e=l;q:{if(!w[i+1|0]){c=0;f=-1;break q}v[l+76>>2]=0-v[k>>2];c=w[i+1|0];f=v[((c<<2)+k|0)-4>>2]}v[e+4>>2]=f;e=l;if(w[i+2|0]){v[l+80>>2]=c-v[(c<<2)+k>>2];c=w[i+2|0]+c|0;f=v[((c<<2)+k|0)-4>>2]}else{f=-1}v[e+8>>2]=f;e=l;if(w[i+3|0]){v[l+84>>2]=c-v[(c<<2)+k>>2];c=w[i+3|0]+c|0;f=v[((c<<2)+k|0)-4>>2]}else{f=-1}v[e+12>>2]=f;e=l;if(w[i+4|0]){v[l+88>>2]=c-v[(c<<2)+k>>2];c=w[i+4|0]+c|0;f=v[((c<<2)+k|0)-4>>2]}else{f=-1}v[e+16>>2]=f;e=l;if(w[i+5|0]){v[l+92>>2]=c-v[(c<<2)+k>>2];c=w[i+5|0]+c|0;f=v[((c<<2)+k|0)-4>>2]}else{f=-1}v[e+20>>2]=f;e=l;if(w[i+6|0]){v[l+96>>2]=c-v[(c<<2)+k>>2];c=w[i+6|0]+c|0;f=v[((c<<2)+k|0)-4>>2]}else{f=-1}v[e+24>>2]=f;e=l;if(w[i+7|0]){v[l+100>>2]=c-v[(c<<2)+k>>2];c=w[i+7|0]+c|0;f=v[((c<<2)+k|0)-4>>2]}else{f=-1}v[e+28>>2]=f;e=l;if(w[i+8|0]){v[l+104>>2]=c-v[(c<<2)+k>>2];c=w[i+8|0]+c|0;f=v[((c<<2)+k|0)-4>>2]}else{f=-1}v[e+32>>2]=f;e=l;if(w[i+9|0]){v[l+108>>2]=c-v[(c<<2)+k>>2];c=w[i+9|0]+c|0;f=v[((c<<2)+k|0)-4>>2]}else{f=-1}v[e+36>>2]=f;e=l;if(w[i+10|0]){v[l+112>>2]=c-v[(c<<2)+k>>2];c=w[i+10|0]+c|0;f=v[((c<<2)+k|0)-4>>2]}else{f=-1}v[e+40>>2]=f;e=l;if(w[i+11|0]){v[l+116>>2]=c-v[(c<<2)+k>>2];c=w[i+11|0]+c|0;f=v[((c<<2)+k|0)-4>>2]}else{f=-1}v[e+44>>2]=f;e=l;if(w[i+12|0]){v[l+120>>2]=c-v[(c<<2)+k>>2];c=w[i+12|0]+c|0;f=v[((c<<2)+k|0)-4>>2]}else{f=-1}v[e+48>>2]=f;e=l;if(w[i+13|0]){v[l+124>>2]=c-v[(c<<2)+k>>2];c=w[i+13|0]+c|0;f=v[((c<<2)+k|0)-4>>2]}else{f=-1}v[e+52>>2]=f;e=l;if(w[i+14|0]){v[l+128>>2]=c-v[(c<<2)+k>>2];c=w[i+14|0]+c|0;f=v[((c<<2)+k|0)-4>>2]}else{f=-1}v[e+56>>2]=f;e=l;if(w[i+15|0]){v[l+132>>2]=c-v[(c<<2)+k>>2];c=w[i+15|0]+c|0;f=v[((c<<2)+k|0)-4>>2]}else{f=-1}v[e+60>>2]=f;if(w[i+16|0]){v[l+136>>2]=c-v[(c<<2)+k>>2];d=v[((w[i+16|0]+c<<2)+k|0)-4>>2]}v[l+68>>2]=1048575;v[l+64>>2]=d;d=0;g=eb(l+144|0,0,1024);if(w[i+1|0]){f=1;h=l+1168|0;while(1){e=d+i|0;c=v[(d<<2)+k>>2]<<7;m=128;while(1){v[g+(c<<2)>>2]=1;t[c+h|0]=w[e+17|0];n=c|1;v[g+(n<<2)>>2]=1;t[h+n|0]=w[e+17|0];n=c|2;v[g+(n<<2)>>2]=1;t[h+n|0]=w[e+17|0];n=c|3;v[g+(n<<2)>>2]=1;t[h+n|0]=w[e+17|0];c=c+4|0;n=(m|0)!=4;m=m-4|0;if(n){continue}break}d=d+1|0;c=w[i+1|0]>f>>>0;f=f+1|0;if(c){continue}break}}if(w[i+2|0]){f=1;g=l+144|0;h=l+1168|0;while(1){e=d+i|0;c=v[(d<<2)+k>>2]<<6;m=64;while(1){v[g+(c<<2)>>2]=2;t[c+h|0]=w[e+17|0];n=c|1;v[g+(n<<2)>>2]=2;t[h+n|0]=w[e+17|0];n=c|2;v[g+(n<<2)>>2]=2;t[h+n|0]=w[e+17|0];n=c|3;v[g+(n<<2)>>2]=2;t[h+n|0]=w[e+17|0];c=c+4|0;n=(m|0)!=4;m=m-4|0;if(n){continue}break}d=d+1|0;c=w[i+2|0]>f>>>0;f=f+1|0;if(c){continue}break}}if(w[i+3|0]){m=1;c=l+144|0;f=l+1168|0;while(1){g=v[(d<<2)+k>>2];v[c+(g<<7)>>2]=3;g=g<<5;h=d+i|0;t[g+f|0]=w[h+17|0];e=g|1;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|2;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|3;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|4;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|5;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|6;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|7;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|8;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|9;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|10;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|11;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|12;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|13;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|14;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|15;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|16;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|17;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|18;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|19;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|20;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|21;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|22;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|23;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|24;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|25;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|26;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|27;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|28;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|29;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|30;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];g=g|31;v[c+(g<<2)>>2]=3;t[f+g|0]=w[h+17|0];d=d+1|0;g=w[i+3|0]>m>>>0;m=m+1|0;if(g){continue}break}}if(w[i+4|0]){m=1;c=l+144|0;f=l+1168|0;while(1){g=v[(d<<2)+k>>2];v[c+(g<<6)>>2]=4;g=g<<4;h=d+i|0;t[g+f|0]=w[h+17|0];e=g|1;v[c+(e<<2)>>2]=4;t[f+e|0]=w[h+17|0];e=g|2;v[c+(e<<2)>>2]=4;t[f+e|0]=w[h+17|0];e=g|3;v[c+(e<<2)>>2]=4;t[f+e|0]=w[h+17|0];e=g|4;v[c+(e<<2)>>2]=4;t[f+e|0]=w[h+17|0];e=g|5;v[c+(e<<2)>>2]=4;t[f+e|0]=w[h+17|0];e=g|6;v[c+(e<<2)>>2]=4;t[f+e|0]=w[h+17|0];e=g|7;v[c+(e<<2)>>2]=4;t[f+e|0]=w[h+17|0];e=g|8;v[c+(e<<2)>>2]=4;t[f+e|0]=w[h+17|0];e=g|9;v[c+(e<<2)>>2]=4;t[f+e|0]=w[h+17|0];e=g|10;v[c+(e<<2)>>2]=4;t[f+e|0]=w[h+17|0];e=g|11;v[c+(e<<2)>>2]=4;t[f+e|0]=w[h+17|0];e=g|12;v[c+(e<<2)>>2]=4;t[f+e|0]=w[h+17|0];e=g|13;v[c+(e<<2)>>2]=4;t[f+e|0]=w[h+17|0];e=g|14;v[c+(e<<2)>>2]=4;t[f+e|0]=w[h+17|0];g=g|15;v[c+(g<<2)>>2]=4;t[f+g|0]=w[h+17|0];d=d+1|0;g=w[i+4|0]>m>>>0;m=m+1|0;if(g){continue}break}}if(w[i+5|0]){m=1;c=l+144|0;f=l+1168|0;while(1){g=v[(d<<2)+k>>2];v[c+(g<<5)>>2]=5;g=g<<3;h=d+i|0;t[g+f|0]=w[h+17|0];e=g|1;v[c+(e<<2)>>2]=5;t[f+e|0]=w[h+17|0];e=g|2;v[c+(e<<2)>>2]=5;t[f+e|0]=w[h+17|0];e=g|3;v[c+(e<<2)>>2]=5;t[f+e|0]=w[h+17|0];e=g|4;v[c+(e<<2)>>2]=5;t[f+e|0]=w[h+17|0];e=g|5;v[c+(e<<2)>>2]=5;t[f+e|0]=w[h+17|0];e=g|6;v[c+(e<<2)>>2]=5;t[f+e|0]=w[h+17|0];g=g|7;v[c+(g<<2)>>2]=5;t[f+g|0]=w[h+17|0];d=d+1|0;g=w[i+5|0]>m>>>0;m=m+1|0;if(g){continue}break}}if(w[i+6|0]){m=1;c=l+144|0;f=l+1168|0;while(1){g=v[(d<<2)+k>>2];v[c+(g<<4)>>2]=6;g=g<<2;h=d+i|0;t[g+f|0]=w[h+17|0];e=g|1;v[c+(e<<2)>>2]=6;t[f+e|0]=w[h+17|0];e=g|2;v[c+(e<<2)>>2]=6;t[f+e|0]=w[h+17|0];g=g|3;v[c+(g<<2)>>2]=6;t[f+g|0]=w[h+17|0];d=d+1|0;g=w[i+6|0]>m>>>0;m=m+1|0;if(g){continue}break}}if(w[i+7|0]){c=1;f=l+144|0;g=l+1168|0;while(1){h=v[(d<<2)+k>>2];v[f+(h<<3)>>2]=7;h=h<<1;m=d+i|0;t[h+g|0]=w[m+17|0];h=h|1;v[f+(h<<2)>>2]=7;t[g+h|0]=w[m+17|0];d=d+1|0;h=w[i+7|0]>c>>>0;c=c+1|0;if(h){continue}break}}if(w[i+8|0]){c=1;while(1){f=v[(d<<2)+k>>2];v[((f<<2)+l|0)+144>>2]=8;t[(f+l|0)+1168|0]=w[(d+i|0)+17|0];d=d+1|0;f=w[i+8|0]>c>>>0;c=c+1|0;if(f){continue}break}}r:{if(!b|(j|0)<1){break r}c=0;if((j|0)!=1){d=j&8388606;while(1){if(w[(c+i|0)+17|0]>=16){b=v[a>>2];v[b+20>>2]=9;Qa[v[b>>2]](a)}if(w[((c|1)+i|0)+17|0]>15){b=v[a>>2];v[b+20>>2]=9;Qa[v[b>>2]](a)}c=c+2|0;d=d-2|0;if(d){continue}break}}if(!(j&1)|w[(c+i|0)+17|0]<16){break r}b=v[a>>2];v[b+20>>2]=9;Qa[v[b>>2]](a)}Ma=k+1312|0}function wza(a,b){a=a|0;b=b|0;var 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,u=0,y=0;m=Ma-16|0;Ma=m;u=v[a+4>>2];d=v[u+56>>2];r=d?-1:0;j=v[a+16>>2];n=v[a+20>>2]-j|0;g=v[u+8>>2];o=w[g+73|0];i=v[((o<<2)+g|0)+32>>2];k=v[a+24>>2];s=v[a+12>>2];l=v[a+8>>2];p=w[g+72|0];a:{b:{while(1){c:{f=(d|0)!=0&(n|0)>0;d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{if(p){c=l;q=r;if(f){break q}f=0;break p}r:{s:{t:{u:{if(f){q=r;break u}if(l>>>0>=s>>>0){break l}p=0;f=15;c=l;q=r;r=e;if((n|0)<1){break b}v:{w:{while(1){r=r+1|0;l=c+2|0;d=x[c>>1];c=d-13312|0;if(c>>>0>41983){break v}if((n|0)<2){break r}c=d<<8|d>>>8;t[j|0]=c;t[j+1|0]=c>>>8;d=0;if(k){v[k+4>>2]=q;v[k>>2]=q;d=k+8|0}j=j+2|0;if(l>>>0>=s>>>0){break w}e=(n|0)<3;c=l;n=n-2|0;k=d;q=r;if(!e){continue}break}d=0;break b}c=l;k=d;d=0;break a}if(c>>>0>=48896){f=2;if(!(l>>>0>=s>>>0|x[l>>1]-13312>>>0>=41984)){break d}if(!(!(d-48>>>0<10|d-97>>>0<26)&d-65>>>0>25)){d=((o&255)<<8)+57344|d;p=1;f=2;break d}f=0;x:{h=v[g+32>>2];y:{if(d-h>>>0<128){break y}f=1;h=v[g+36>>2];if(d-h>>>0<128){break y}f=2;h=v[g+40>>2];if(d-h>>>0<128){break y}f=3;h=v[g+44>>2];if(d-h>>>0<128){break y}f=4;h=v[g+48>>2];if(d-h>>>0<128){break y}f=5;h=v[g+52>>2];if(d-h>>>0<128){break y}f=6;h=v[g+56>>2];if(d-h>>>0<128){break y}f=7;h=v[g+60>>2];if(d-h>>>0>127){break x}}i=t[g+75|0];c=i;while(1){c=(c|0)<1?7:c-1|0;if(w[(g+c|0)+76|0]!=(f|0)){continue}break}e=c+1|0;e=(e|0)==8?0:e;if((i|0)!=(e|0)){while(1){i=c;c=g+76|0;t[i+c|0]=w[c+e|0];c=e;e=c+1|0;e=(e|0)==8?0:e;if((e|0)!=t[g+75|0]){continue}break}}t[(c+g|0)+76|0]=f;d=d-h|f<<8|57472;p=1;o=f;i=h;f=2;break d}c=uA(d,m+12|0);if((c|0)<0){break e}p=1;e=t[g+75|0];o=t[(e+g|0)+76|0];e=e+1|0;t[g+75|0]=(e&255)==8?0:e;e=o&255;i=v[m+12>>2];v[((e<<2)+g|0)+32>>2]=i;tA(g,o);d=d-i|((e<<16)+15204352|c<<8)|128;f=3;break d}if(d>>>0>57343){break t}if(d&1024){break s}e=r}if(l>>>0>=s>>>0){break l}p=x[l>>1];if((p&64512)!=56320){p=0;break f}r=e+1|0;l=l+2|0;e=0;z:{c=p+(d<<10)|0;h=c-56613888|0;f=v[g+32>>2];A:{if(h-f>>>0<128){break A}e=1;f=v[g+36>>2];if(h-f>>>0<128){break A}e=2;f=v[g+40>>2];if(h-f>>>0<128){break A}e=3;f=v[g+44>>2];if(h-f>>>0<128){break A}e=4;f=v[g+48>>2];if(h-f>>>0<128){break A}e=5;f=v[g+52>>2];if(h-f>>>0<128){break A}e=6;f=v[g+56>>2];if(h-f>>>0<128){break A}e=7;f=v[g+60>>2];if(h-f>>>0>127){break z}}if(l>>>0>>0&x[l>>1]-13312>>>0<41984){break z}i=t[g+75|0];d=i;while(1){d=(d|0)<1?7:d-1|0;if(w[(g+d|0)+76|0]!=(e|0)){continue}break}c=d+1|0;c=(c|0)==8?0:c;if((i|0)!=(c|0)){while(1){i=d;d=g+76|0;t[i+d|0]=w[d+c|0];d=c;c=d+1|0;c=(c|0)==8?0:c;if((c|0)!=t[g+75|0]){continue}break}}t[(d+g|0)+76|0]=e;d=h-f|e<<8|57472;p=1;o=e;i=f;f=2;break d}if(x[l>>1]!=(d&65535)|l>>>0>=s>>>0){break m}if(c-56614080>>>0<=127){i=192;v[m+12>>2]=192;e=249;break n}if(c-56614480>>>0<128){i=592;v[m+12>>2]=592;e=250;break n}if(c-56614768>>>0<128){i=880;v[m+12>>2]=880;e=251;break n}if(c-56615216>>>0<128){i=1328;v[m+12>>2]=1328;e=252;break n}if(c-56626240>>>0<128){i=12352;v[m+12>>2]=12352;e=253;break n}if(c-56626336>>>0<128){i=12448;v[m+12>>2]=12448;e=254;break n}if(c-56679264>>>0<128){i=65376;v[m+12>>2]=65376;e=255;break n}if(h>>>0>=128){break o}break m}d=d|15728640;break k}f=12;c=l;break b}n=1;f=2;break c}f=1}while(1){B:{C:{D:{E:{F:{G:{if(!f){if(c>>>0>=s>>>0){break a}if((n|0)<1){f=15;break b}r=e+1|0;l=c+2|0;H:{I:{d=x[c>>1];if(d-32>>>0>95){if(d>>>0>31){break H}if(!(1<>>0<=127){t[j|0]=e|128;if(!k){break G}break F}if((d&63488)!=55296){break C}if(d&1024){break f}e=r;f=1;continue}if(l>>>0>=s>>>0){c=l;break a}y=x[l>>1];if((y&64512)!=56320){break f}r=e+1|0;l=l+2|0;c=y+(d<<10)|0;f=c-56613888|0;e=f-i|0;if(e>>>0>=128){break D}t[j|0]=e|128;if(k){break F}}k=0;break E}v[k>>2]=q;k=k+4|0}c=l;j=j+1|0;n=n-1|0;d=0;q=r;e=q;break B}e=0;J:{h=v[g+32>>2];K:{if(f-h>>>0<128){break K}e=1;h=v[g+36>>2];if(f-h>>>0<128){break K}e=2;h=v[g+40>>2];if(f-h>>>0<128){break K}e=3;h=v[g+44>>2];if(f-h>>>0<128){break K}e=4;h=v[g+48>>2];if(f-h>>>0<128){break K}e=5;h=v[g+52>>2];if(f-h>>>0<128){break K}e=6;h=v[g+56>>2];if(f-h>>>0<128){break K}e=7;h=v[g+60>>2];if(f-h>>>0>127){break J}}i=t[g+75|0];d=i;while(1){d=(d|0)<1?7:d-1|0;if(w[(g+d|0)+76|0]!=(e|0)){continue}break}c=d+1|0;c=(c|0)==8?0:c;if((i|0)!=(c|0)){while(1){i=d;d=g+76|0;t[i+d|0]=w[d+c|0];d=c;c=d+1|0;c=(c|0)==8?0:c;if((c|0)!=t[g+75|0]){continue}break}}t[(d+g|0)+76|0]=e;d=f-h|e<<8|4224;o=e;i=h;f=2;break d}if(c-56614080>>>0<=127){i=192;v[m+12>>2]=192;e=249;break h}if(c-56614480>>>0<128){i=592;v[m+12>>2]=592;e=250;break h}if(c-56614768>>>0<128){i=880;v[m+12>>2]=880;e=251;break h}if(c-56615216>>>0<128){i=1328;v[m+12>>2]=1328;e=252;break h}if(c-56626240>>>0<128){i=12352;v[m+12>>2]=12352;e=253;break h}if(c-56626336>>>0<128){i=12448;v[m+12>>2]=12448;e=254;break h}if(c-56679264>>>0<128){i=65376;v[m+12>>2]=65376;e=255;break h}if(f>>>0>=128){break i}break g}if(d>>>0<=159){d=d&127|512;f=2;break d}if((d|0)==65279|d>>>0>=65520){break j}f=0;L:{h=v[g+32>>2];M:{if(d-h>>>0<128){break M}f=1;h=v[g+36>>2];if(d-h>>>0<128){break M}f=2;h=v[g+40>>2];if(d-h>>>0<128){break M}f=3;h=v[g+44>>2];if(d-h>>>0<128){break M}f=4;h=v[g+48>>2];if(d-h>>>0<128){break M}f=5;h=v[g+52>>2];if(d-h>>>0<128){break M}f=6;h=v[g+56>>2];if(d-h>>>0<128){break M}f=7;h=v[g+60>>2];if(d-h>>>0>127){break L}}N:{O:{if(l>>>0>=s>>>0){break O}c=x[l>>1];if(c>>>0>h+127>>>0){break N}if(c>>>0>=h>>>0){break O}if(c>>>0>127){break N}if(c>>>0>31){break O}if(!(1<=0){d=(c<<8)+256|d-v[(c<<2)+852960>>2];f=2;break d}c=uA(d,m+12|0);if((c|0)>=0){e=t[g+75|0];o=t[(e+g|0)+76|0];e=e+1|0;t[g+75|0]=(e&255)==8?0:e;e=o&255;i=v[m+12>>2];v[((e<<2)+g|0)+32>>2]=i;tA(g,o);d=d-i|((e<<16)+1572864|c<<8)|128;f=3;break d}if(l>>>0>>0&x[l>>1]-13312>>>0>41983|d-13312>>>0>41983){break j}d=d|983040;break k}f=0;continue}}if(!(!(c-56732672>>>0<12288|h>>>0<13312)&(h&-16384)!=65536)){i=h&2147483520;v[m+12>>2]=i;e=h>>>7|0;break n}if((h|0)==65279|c-56671232>>>0>8175){break m}i=h&2147483520;v[m+12>>2]=i;e=c-56657920>>>7|0}c=t[g+75|0];o=w[(c+g|0)+76|0];c=c+1|0;c=(c&255)==8?0:c;t[g+75|0]=c;v[((o<<2)+g|0)+32>>2]=i;f=c<<24>>24;d=f;while(1){d=(d|0)<1?7:d-1|0;if(w[(g+d|0)+76|0]!=(o|0)){continue}break}c=d+1|0;c=(c|0)==8?0:c;if((f|0)!=(c|0)){while(1){f=d;d=g+76|0;t[f+d|0]=w[d+c|0];d=c;c=d+1|0;c=(c|0)==8?0:c;if((c|0)!=t[g+75|0]){continue}break}}t[(d+g|0)+76|0]=o;d=h-i|((e<<8)+268304384|o<<21)|-251658112;p=1;f=4;break d}d=p|d<<16;p=0;f=4;break d}p=0;c=l;break a}p=0;f=3;break d}d=d|917504;f=3;break d}if(!(!(c-56732672>>>0<12288|f>>>0<13312)&(f&-16384)!=65536)){i=f&2147483520;v[m+12>>2]=i;e=f>>>7|0;break h}if((f|0)==65279|c-56671232>>>0>8175){break g}i=f&2147483520;v[m+12>>2]=i;e=c-56657920>>>7|0}c=t[g+75|0];o=w[(c+g|0)+76|0];c=c+1|0;c=(c&255)==8?0:c;t[g+75|0]=c;v[((o<<2)+g|0)+32>>2]=i;h=c<<24>>24;d=h;while(1){d=(d|0)<1?7:d-1|0;if(w[(g+d|0)+76|0]!=(o|0)){continue}break}c=d+1|0;c=(c|0)==8?0:c;if((h|0)!=(c|0)){while(1){h=d;d=g+76|0;t[h+d|0]=w[d+c|0];d=c;c=d+1|0;c=(c|0)==8?0:c;if((c|0)!=t[g+75|0]){continue}break}}t[(d+g|0)+76|0]=o;d=f-i|((e<<8)-131072|o<<21)|184549504;f=4;break d}t[j|0]=15;p=0;j=j+1|0;n=n-1|0;d=y|d<<16;if(k){v[k>>2]=q;k=k+4|0}else{k=0}f=4;break d}f=12;c=l;break b}f=2}if((f|0)>(n|0)){break c}P:{Q:{if(!k){k=0;R:{switch(f-2|0){case 2:t[j|0]=d>>>24;j=j+1|0;case 1:t[j|0]=d>>>16;j=j+1|0;break;case 0:break R;default:break P}}c=d<<8|(d&65280)>>>8;t[j|0]=c;t[j+1|0]=c>>>8;break Q}S:{switch(f-2|0){case 2:t[j|0]=d>>>24;v[k>>2]=q;k=k+4|0;j=j+1|0;case 1:t[j|0]=d>>>16;v[k>>2]=q;k=k+4|0;j=j+1|0;break;case 0:break S;default:break P}}t[j|0]=d>>>8;v[k>>2]=q;t[j+1|0]=d;v[k+4>>2]=q;k=k+8|0}j=j+2|0}n=n-f|0;d=0;e=r;continue}break}c=l;e=u+76|0;T:{U:{V:{W:{X:{l=f-n|0;switch(l-1|0){case 0:break U;case 1:break V;case 2:break W;case 3:break X;default:break T}}t[u+76|0]=d>>>24;e=u+77|0}t[e|0]=d>>>16;e=e+1|0}t[e|0]=d>>>8;e=e+1|0}t[e|0]=d}t[u+63|0]=l;l=d>>>(l<<3)|0;d=0;f=15;Y:{Z:{_:{$:{aa:{ba:{switch(n-1|0){case 2:t[j|0]=l>>>16;if(!k){t[j+1|0]=l>>>8;n=j+2|0;break Z}v[k>>2]=q;t[j+1|0]=l>>>8;n=j+2|0;k=k+4|0;break aa;case 0:break $;case 1:break ba;default:break b}}t[j|0]=l>>>8;n=j+1|0;if(!k){break Z}}v[k>>2]=q;t[n|0]=l;j=n+1|0;k=k+4|0;break _}t[j|0]=l;j=j+1|0;e=j;if(!k){break Y}}v[k>>2]=q;k=k+4|0;break b}t[n|0]=l;e=n+1|0}j=e;k=0}v[b>>2]=f}t[g+73|0]=o;t[g+72|0]=p;v[u+56>>2]=d;v[a+24>>2]=k;v[a+16>>2]=j;v[a+8>>2]=c;Ma=m+16|0} -function cK(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,x=0,z=0,A=0,C=0,D=0,E=0,F=0;i=Ma-176|0;Ma=i;g=v[d+88>>2];a:{if(!g){break a}f=v[d+76>>2];k=f+b|0;if((k|0)<0){break a}h=v[a+1548>>2];if((h|0)<=(b|0)){break a}n=v[d+80>>2];d=n+c|0;if((d|0)<0){break a}j=v[a+1552>>2];b:{if(w[(a+96|0)+1432|0]|(b|0)<0|((c|0)<0|(h|0)<=(k|0))){break b}if((d|0)>=(j|0)){break b}d=b;k=c;b=g;o=Ma-16|0;Ma=o;v[o+8>>2]=-16777216;v[o+8>>2]=v[e+8>>2];j=v[o+8>>2];g=a;c:{if(v[a+2860>>2]==3){if((n|0)<1){break c}f=(f|0)/3|0;x=B(f,3);r=j&255;l=j>>>24|0;z=j>>>16&255;s=j>>>8&255;A=j>>>0<16777216;while(1){d:{j=k+p|0;if((j|0)>v[g+1580>>2]|(j|0)>2]){break d}c=f;a=b;e=d;h=v[g+1568>>2];if((d|0)<(h|0)){c=f+(d-h|0)|0;if((c|0)<1){break d}e=h;a=B(e-d|0,3)+b|0}h=v[g+1576>>2];if((h|0)<(c+e|0)){c=h-e|0;if((c|0)<0){break d}c=c+1|0}if(A){break d}h=v[v[g+1564>>2]>>2];m=v[h+4>>2];q=v[h+16>>2];e:{f:{if((q|0)>=0){h=B(j,q);break f}C=m-v[h>>2]|0;h=B(j,q);j=0;if((C|0)<(0-h|0)){break e}}j=h+m|0}h=j+(e<<2)|0;while(1){e=w[a+2|0];j=w[a+1|0];m=w[h+2|0];t[h+2|0]=B(r-m|0,B(l,w[a|0]+1|0)>>>8|0)+(m<<8)>>>8;m=w[h+1|0];t[h+1|0]=B(s-m|0,B(l,j+1|0)>>>8|0)+(m<<8)>>>8;j=w[h|0];t[h|0]=B(z-j|0,B(l,e+1|0)>>>8|0)+(j<<8)>>>8;c=c-1|0;if(!c){break d}a=a+3|0;h=h+4|0;continue}}b=b+x|0;p=p+1|0;if((p|0)!=(n|0)){continue}break}break c}if((n|0)<1|j>>>0<16777216){break c}C=j&255;x=j>>>24|0;r=j>>>16|0;z=r&255;s=j>>>8|0;A=s&255;while(1){g:{l=k+m|0;if((l|0)>v[g+1580>>2]|(l|0)>2]){break g}c=f;e=b;a=d;h=v[g+1568>>2];if((a|0)<(h|0)){c=f+(d-h|0)|0;if((c|0)<1){break g}e=(h-d|0)+b|0;a=h}h=v[g+1576>>2];if((h|0)<(a+c|0)){c=h-a|0;if((c|0)<0){break g}c=c+1|0}h=v[v[g+1564>>2]>>2];p=v[h+4>>2];q=v[h+16>>2];h:{if((q|0)>=0){h=B(l,q);break h}D=p-v[h>>2]|0;h=B(l,q);if((D|0)<(0-h|0)){break g}}if(!p){break g}h=(h+p|0)+(a<<2)|0;while(1){a=B(x,w[e|0]+1|0)>>>8|0;i:{if((a|0)==255){t[h+1|0]=s;t[h+2|0]=j;t[h+3|0]=255;t[h|0]=r;break i}l=w[h+2|0];t[h+2|0]=B(a,C-l|0)+(l<<8)>>>8;l=w[h+1|0];t[h+1|0]=B(a,A-l|0)+(l<<8)>>>8;l=w[h+3|0];t[h+3|0]=l+a-(B(a,l)+255>>>8);l=w[h|0];t[h|0]=B(a,z-l|0)+(l<<8)>>>8}c=c-1|0;if(!c){break g}h=h+4|0;e=e+1|0;continue}}b=b+f|0;m=m+1|0;if((n|0)!=(m|0)){continue}break}}Ma=o+16|0;break a}v[i+56>>2]=0;v[i+60>>2]=0;v[i+76>>2]=0;v[i+80>>2]=0;v[i+84>>2]=64;v[i+96>>2]=0;v[i+100>>2]=0;v[i+104>>2]=254;v[i+116>>2]=0;v[i+120>>2]=0;v[i+124>>2]=256;v[i+144>>2]=0;v[i+148>>2]=0;v[i+136>>2]=0;v[i+140>>2]=0;v[i+48>>2]=0;v[i+52>>2]=0;v[i+68>>2]=0;v[i+72>>2]=0;v[i+64>>2]=126;v[i+88>>2]=0;v[i+92>>2]=0;v[i+108>>2]=0;v[i+112>>2]=0;v[i+168>>2]=0;v[i+160>>2]=-2147483647;v[i+164>>2]=-2147483647;v[i+152>>2]=2147483647;v[i+156>>2]=2147483647;v[i+128>>2]=0;v[i+132>>2]=0;if((n|0)>=1){h=f+3|0;o=(h|0)!=(h&536870911)?-1:h<<3;l=k-1|0;k=0;while(1){v[i+24>>2]=0;v[i+28>>2]=0;v[i+40>>2]=0;v[i+32>>2]=0;v[i+36>>2]=0;v[i+40>>2]=h;d=ab(o);v[i+28>>2]=h;v[i+36>>2]=d;j=ab(h);v[i+24>>2]=j;u[d+2>>1]=0;j=cb(j,g+B(f,k)|0,f);v[i+44>>2]=d+8;u[d+10>>1]=f;u[d+8>>1]=b;v[d+12>>2]=j;v[i+20>>2]=c+k;v[i+16>>2]=l;v[i+32>>2]=f+j;jj(i+48|0,i+16|0);d=v[i+36>>2];if(d){$a(d)}d=v[i+24>>2];if(d){$a(d)}k=k+1|0;if((n|0)!=(k|0)){continue}break}}if(!v[e+4>>2]){v[i+8>>2]=-16777216;v[i+8>>2]=v[e+8>>2];v[i+16>>2]=a+1564;v[i+20>>2]=v[i+8>>2];c=i+48|0;h=i+16|0;b=Ma-96|0;Ma=b;d=a+96|0;j:{if(!w[d+1432|0]){v[c+120>>2]=0;if(!v[c+60>>2]){break j}e=a+1596|0;g=v[c+104>>2];d=(v[c+112>>2]-g|0)+2|0;k:{if(d>>>0<=y[a+1620>>2]){break k}f=v[a+1616>>2];if(f){$a(f)}v[a+1620>>2]=d;E=a,F=ab((d|0)!=(d&536870911)?-1:d<<3),v[E+1616>>2]=F;if((d|0)==v[a+1612>>2]){break k}f=v[a+1608>>2];if(f){$a(f)}v[a+1612>>2]=d;E=a,F=ab(d),v[E+1608>>2]=F}v[a+1596>>2]=g;v[a+1600>>2]=2147483632;v[a+1624>>2]=v[a+1616>>2];if(!c2(c,e)){break j}a=h+4|0;while(1){b2(e,v[h>>2],a);if(c2(c,e)){continue}break}break j}if(!w[d+1433|0]){v[b+80>>2]=0;v[b+84>>2]=0;v[b+88>>2]=0;v[b+92>>2]=0;v[b+72>>2]=0;v[b+76>>2]=0;v[b+64>>2]=2147483632;v[b+48>>2]=0;v[b+52>>2]=0;v[b+56>>2]=0;v[b+60>>2]=0;v[b+40>>2]=0;v[b+44>>2]=0;v[b+32>>2]=2147483632;v[b+16>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=2147483632;a=b+32|0;e=b- -64|0;v[c+120>>2]=0;l:{if(!v[c+60>>2]){break l}if(!(!w[d+1160|0]|v[d+1172>>2]!=2)){rc(d+100|0,d,v[d+1164>>2],v[d+1168>>2]);v[d+1172>>2]=3}Gc(d);if(!v[d+12>>2]){break l}g=v[d+84>>2];v[d+1176>>2]=g;f=v[d+88>>2];k=v[c+112>>2];f=(f|0)<(k|0)?f:k;k=v[d+80>>2];j=v[c+104>>2];k=(j|0)<(k|0)?k:j;if((f|0)<(k|0)){break l}j=v[c+108>>2];l=(g|0)>(j|0)?g:j;g=v[d+92>>2];j=v[c+116>>2];if((l|0)>(((g|0)<(j|0)?g:j)|0)){break l}g=(f-k|0)+3|0;m:{if(g>>>0<=y[e+24>>2]){break m}f=v[e+20>>2];if(f){$a(f)}v[e+24>>2]=g;E=e,F=ab((g|0)!=(g&536870911)?-1:g<<3),v[E+20>>2]=F;if((g|0)==v[e+12>>2]){break m}f=v[e+8>>2];if(f){$a(f)}v[e+12>>2]=g;E=e,F=ab(g),v[E+8>>2]=F}v[e>>2]=2147483632;v[e+16>>2]=v[e+8>>2];g=v[e+20>>2];v[e+28>>2]=g;u[g+2>>1]=0;g=(v[c+112>>2]-v[c+104>>2]|0)+3|0;n:{if(g>>>0<=y[a+24>>2]){break n}f=v[a+20>>2];if(f){$a(f)}v[a+24>>2]=g;E=a,F=ab((g|0)!=(g&536870911)?-1:g<<3),v[E+20>>2]=F;if((g|0)==v[a+12>>2]){break n}f=v[a+8>>2];if(f){$a(f)}v[a+12>>2]=g;E=a,F=ab(g),v[E+8>>2]=F}v[a>>2]=2147483632;v[a+16>>2]=v[a+8>>2];g=v[a+20>>2];v[a+28>>2]=g;u[g+2>>1]=0;g=(v[d+88>>2]-v[d+80>>2]|0)+3|0;o:{if(g>>>0<=y[b+24>>2]){break o}f=v[b+20>>2];if(f){$a(f)}v[b+24>>2]=g;E=b,F=ab((g|0)!=(g&536870911)?-1:g<<3),v[E+20>>2]=F;if((g|0)==v[b+12>>2]){break o}f=v[b+8>>2];if(f){$a(f)}v[b+12>>2]=g;E=b,F=ab(g),v[E+8>>2]=F}v[b>>2]=2147483632;v[b+16>>2]=v[b+8>>2];g=v[b+20>>2];v[b+28>>2]=g;u[g+2>>1]=0;if(!Uc(c,a)){break l}if(!Gb(d,b)){break l}k=h+4|0;while(1){g=v[a+4>>2];f=v[b+4>>2];if((g|0)>=(f|0)){if((g|0)>(f|0)){while(1){if(!Gb(d,b)){break l}g=v[a+4>>2];f=v[b+4>>2];if((g|0)>(f|0)){continue}break}}if((g|0)!=(f|0)){continue}Se(a,b,e);if(v[e+28>>2]!=v[e+20>>2]){v[e+4>>2]=v[a+4>>2];xB(e,v[h>>2],k)}if(!Uc(c,a)){break l}if(Gb(d,b)){continue}break l}if(Uc(c,a)){continue}break}}a=v[b+20>>2];if(a){$a(a)}a=v[b+8>>2];if(a){$a(a)}a=v[b+52>>2];if(a){$a(a)}a=v[b+40>>2];if(a){$a(a)}a=v[b+84>>2];if(a){$a(a)}a=v[b+72>>2];if(!a){break j}$a(a);break j}v[b+80>>2]=0;v[b+84>>2]=0;v[b+88>>2]=0;v[b+92>>2]=0;v[b+72>>2]=0;v[b+76>>2]=0;v[b+64>>2]=2147483632;v[b+48>>2]=0;v[b+52>>2]=0;v[b+56>>2]=0;v[b+60>>2]=0;v[b+40>>2]=0;v[b+44>>2]=0;v[b+32>>2]=2147483632;v[b+16>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=2147483632;g=((v[a+1524>>2]==1?1180:1304)+a|0)+96|0;a=b+32|0;d=b- -64|0;v[c+120>>2]=0;p:{if(!v[c+60>>2]){break p}v[g+120>>2]=0;if(!v[g+60>>2]){break p}e=v[g+112>>2];f=v[c+112>>2];e=(e|0)<(f|0)?e:f;f=v[g+104>>2];k=v[c+104>>2];f=(f|0)>(k|0)?f:k;if((e|0)<(f|0)){break p}k=v[g+108>>2];j=v[c+108>>2];l=(j|0)<(k|0)?k:j;k=v[g+116>>2];j=v[c+116>>2];if((l|0)>(((j|0)>(k|0)?k:j)|0)){break p}e=(e-f|0)+3|0;q:{if(e>>>0<=y[d+24>>2]){break q}f=v[d+20>>2];if(f){$a(f)}v[d+24>>2]=e;E=d,F=ab((e|0)!=(e&536870911)?-1:e<<3),v[E+20>>2]=F;if((e|0)==v[d+12>>2]){break q}f=v[d+8>>2];if(f){$a(f)}v[d+12>>2]=e;E=d,F=ab(e),v[E+8>>2]=F}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];e=v[d+20>>2];v[d+28>>2]=e;u[e+2>>1]=0;e=(v[c+112>>2]-v[c+104>>2]|0)+3|0;r:{if(e>>>0<=y[a+24>>2]){break r}f=v[a+20>>2];if(f){$a(f)}v[a+24>>2]=e;E=a,F=ab((e|0)!=(e&536870911)?-1:e<<3),v[E+20>>2]=F;if((e|0)==v[a+12>>2]){break r}f=v[a+8>>2];if(f){$a(f)}v[a+12>>2]=e;E=a,F=ab(e),v[E+8>>2]=F}v[a>>2]=2147483632;v[a+16>>2]=v[a+8>>2];e=v[a+20>>2];v[a+28>>2]=e;u[e+2>>1]=0;e=(v[g+112>>2]-v[g+104>>2]|0)+3|0;s:{if(e>>>0<=y[b+24>>2]){break s}f=v[b+20>>2];if(f){$a(f)}v[b+24>>2]=e;E=b,F=ab((e|0)!=(e&536870911)?-1:e<<3),v[E+20>>2]=F;if((e|0)==v[b+12>>2]){break s}f=v[b+8>>2];if(f){$a(f)}v[b+12>>2]=e;E=b,F=ab(e),v[E+8>>2]=F}v[b>>2]=2147483632;v[b+16>>2]=v[b+8>>2];e=v[b+20>>2];v[b+28>>2]=e;u[e+2>>1]=0;if(!Uc(c,a)){break p}if(!Uc(g,b)){break p}k=h+4|0;while(1){e=v[b+4>>2];f=v[a+4>>2];if((e|0)<=(f|0)){if((e|0)<(f|0)){while(1){if(!Uc(g,b)){break p}e=v[b+4>>2];f=v[a+4>>2];if((e|0)<(f|0)){continue}break}}if((e|0)!=(f|0)){continue}Se(a,b,d);if(v[d+28>>2]!=v[d+20>>2]){v[d+4>>2]=v[a+4>>2];xB(d,v[h>>2],k)}if(!Uc(c,a)){break p}if(Uc(g,b)){continue}break p}if(Uc(c,a)){continue}break}}a=v[b+20>>2];if(a){$a(a)}a=v[b+8>>2];if(a){$a(a)}a=v[b+52>>2];if(a){$a(a)}a=v[b+40>>2];if(a){$a(a)}a=v[b+84>>2];if(a){$a(a)}a=v[b+72>>2];if(!a){break j}$a(a)}Ma=b+96|0}a=v[i+112>>2];if(a){d=a-1|0;v[i+112>>2]=d;b=v[i+120>>2]+(a<<2)|0;while(1){c=i;b=b-4|0;a=v[b>>2];if(a){$a(a);a=v[i+112>>2]}else{a=d}d=a-1|0;v[c+112>>2]=d;if(a){continue}break}}a=v[i+120>>2];if(a){$a(a)}a=v[i+92>>2];if(a){d=a-1|0;v[i+92>>2]=d;b=v[i+100>>2]+(a<<2)|0;while(1){c=i;b=b-4|0;a=v[b>>2];if(a){$a(a);a=v[i+92>>2]}else{a=d}d=a-1|0;v[c+92>>2]=d;if(a){continue}break}}a=v[i+100>>2];if(a){$a(a)}bK(i+48|0)}Ma=i+176|0}function Nwa(a,b){a=a|0;b=b|0;var 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;c=v[a+420>>2];d=v[a+24>>2];v[c+112>>2]=v[d>>2];v[c+116>>2]=v[d+4>>2];if(!(v[c+36>>2]|!v[a+236>>2])){Bz(c,v[c+40>>2])}f=v[a+360>>2];m=v[a+364>>2];a:{if((f|0)>(m|0)){break a}r=v[b>>2];s=v[a+380>>2];n=v[a+372>>2];while(1){k=f;d=u[(v[(f<<2)+s>>2]<<1)+r>>1];b=g+1|0;b:{if(!d){break b}o=0-d>>n;p=d>>n;q=(d|0)<0;i=q?o:p;b=g+1|0;if(!i){break b}f=0;c:{d:{e:{b=v[c+128>>2];switch(b|0){case 0:break c;case 1:break d;default:break e}}while(1){d=f;f=d+1|0;b=b>>1;if(b>>>0>1){continue}break}if(d>>>0<14){break d}b=v[c+120>>2];d=v[b>>2];v[d+20>>2]=41;Qa[v[d>>2]](b)}b=f<<4;d=v[c+124>>2];f:{if(v[c+108>>2]){b=v[((d<<2)+c|0)+92>>2]+(b<<2)|0;v[b>>2]=v[b>>2]+1;break f}d=v[((d<<2)+c|0)+60>>2];e=v[d+(b<<2)>>2];h=v[c+16>>2];b=t[(b+d|0)+1024|0];if(!b){d=v[c+120>>2];j=v[d>>2];v[j+20>>2]=41;Qa[v[j>>2]](d);if(v[c+108>>2]){break f}}d=e&(-1<>2]|d<<24-e;if((e|0)>=8){while(1){d=v[c+112>>2];v[c+112>>2]=d+1;t[d|0]=b>>>16;d=v[c+116>>2]-1|0;v[c+116>>2]=d;if(!d){h=v[c+120>>2];d=v[h+24>>2];if(!(Qa[v[d+12>>2]](h)|0)){h=v[c+120>>2];j=v[h>>2];v[j+20>>2]=25;Qa[v[j>>2]](h)}v[c+112>>2]=v[d>>2];v[c+116>>2]=v[d+4>>2]}d=e;g:{if((b&16711680)!=16711680){break g}e=v[c+112>>2];v[c+112>>2]=e+1;t[e|0]=0;e=v[c+116>>2]-1|0;v[c+116>>2]=e;if(e){break g}h=v[c+120>>2];e=v[h+24>>2];if(!(Qa[v[e+12>>2]](h)|0)){h=v[c+120>>2];j=v[h>>2];v[j+20>>2]=25;Qa[v[j>>2]](h)}v[c+112>>2]=v[e>>2];v[c+116>>2]=v[e+4>>2]}e=d-8|0;b=b<<8;if((d|0)>15){continue}break}}v[c+16>>2]=e;v[c+12>>2]=b}if(!(v[c+108>>2]|!f)){d=v[c+16>>2]+f|0;f=v[c+12>>2]|(v[c+128>>2]&(-1<=8){while(1){b=v[c+112>>2];v[c+112>>2]=b+1;t[b|0]=f>>>16;b=v[c+116>>2]-1|0;v[c+116>>2]=b;if(!b){e=v[c+120>>2];b=v[e+24>>2];if(!(Qa[v[b+12>>2]](e)|0)){e=v[c+120>>2];h=v[e>>2];v[h+20>>2]=25;Qa[v[h>>2]](e)}v[c+112>>2]=v[b>>2];v[c+116>>2]=v[b+4>>2]}b=d;h:{if((f&16711680)!=16711680){break h}d=v[c+112>>2];v[c+112>>2]=d+1;t[d|0]=0;d=v[c+116>>2]-1|0;v[c+116>>2]=d;if(d){break h}e=v[c+120>>2];d=v[e+24>>2];if(!(Qa[v[d+12>>2]](e)|0)){e=v[c+120>>2];h=v[e>>2];v[h+20>>2]=25;Qa[v[h>>2]](e)}v[c+112>>2]=v[d>>2];v[c+116>>2]=v[d+4>>2]}d=b-8|0;f=f<<8;if((b|0)>15){continue}break}}v[c+16>>2]=d;v[c+12>>2]=f}v[c+128>>2]=0;i:{if(v[c+108>>2]){break i}h=v[c+132>>2];if(!h){break i}e=v[c+136>>2];f=0;while(1){if(!f){b=v[c+16>>2];f=v[c+12>>2]|(t[e|0]&1)<<23-b;d=b+1|0;if((b|0)>=7){while(1){b=v[c+112>>2];v[c+112>>2]=b+1;t[b|0]=f>>>16;b=v[c+116>>2]-1|0;v[c+116>>2]=b;if(!b){j=v[c+120>>2];b=v[j+24>>2];if(!(Qa[v[b+12>>2]](j)|0)){j=v[c+120>>2];l=v[j>>2];v[l+20>>2]=25;Qa[v[l>>2]](j)}v[c+112>>2]=v[b>>2];v[c+116>>2]=v[b+4>>2]}b=d;j:{if((f&16711680)!=16711680){break j}d=v[c+112>>2];v[c+112>>2]=d+1;t[d|0]=0;d=v[c+116>>2]-1|0;v[c+116>>2]=d;if(d){break j}j=v[c+120>>2];d=v[j+24>>2];if(!(Qa[v[d+12>>2]](j)|0)){j=v[c+120>>2];l=v[j>>2];v[l+20>>2]=25;Qa[v[l>>2]](j)}v[c+112>>2]=v[d>>2];v[c+116>>2]=v[d+4>>2]}d=b-8|0;f=f<<8;if((b|0)>15){continue}break}}v[c+16>>2]=d;v[c+12>>2]=f}h=h-1|0;if(!h){break i}e=e+1|0;f=v[c+108>>2];continue}}v[c+132>>2]=0}if((g|0)>15){while(1){b=g;d=v[c+124>>2];k:{if(v[c+108>>2]){d=v[((d<<2)+c|0)+92>>2];v[d+960>>2]=v[d+960>>2]+1;break k}d=v[((d<<2)+c|0)+60>>2];f=v[d+960>>2];e=v[c+16>>2];d=t[d+1264|0];if(!d){g=v[c+120>>2];h=v[g>>2];v[h+20>>2]=41;Qa[v[h>>2]](g);if(v[c+108>>2]){break k}}f=f&(-1<>2]|f<<24-d;if((d|0)>=8){while(1){e=v[c+112>>2];v[c+112>>2]=e+1;t[e|0]=f>>>16;e=v[c+116>>2]-1|0;v[c+116>>2]=e;if(!e){g=v[c+120>>2];e=v[g+24>>2];if(!(Qa[v[e+12>>2]](g)|0)){g=v[c+120>>2];h=v[g>>2];v[h+20>>2]=25;Qa[v[h>>2]](g)}v[c+112>>2]=v[e>>2];v[c+116>>2]=v[e+4>>2]}e=d;l:{if((f&16711680)!=16711680){break l}d=v[c+112>>2];v[c+112>>2]=d+1;t[d|0]=0;d=v[c+116>>2]-1|0;v[c+116>>2]=d;if(d){break l}g=v[c+120>>2];d=v[g+24>>2];if(!(Qa[v[d+12>>2]](g)|0)){g=v[c+120>>2];h=v[g>>2];v[h+20>>2]=25;Qa[v[h>>2]](g)}v[c+112>>2]=v[d>>2];v[c+116>>2]=v[d+4>>2]}d=e-8|0;f=f<<8;if((e|0)>15){continue}break}}v[c+16>>2]=d;v[c+12>>2]=f}g=b-16|0;if((b|0)>31){continue}break}}f=1;m:{if(i>>>0<2){break m}while(1){b=f;f=b+1|0;i=i>>1;if(i>>>0>1){continue}break}if(b>>>0<10){break m}b=v[a>>2];v[b+20>>2]=6;Qa[v[b>>2]](a)}b=(g<<4)+f|0;d=v[c+124>>2];n:{if(v[c+108>>2]){b=v[((d<<2)+c|0)+92>>2]+(b<<2)|0;v[b>>2]=v[b>>2]+1;break n}d=v[((d<<2)+c|0)+60>>2];e=v[d+(b<<2)>>2];g=v[c+16>>2];d=t[(b+d|0)+1024|0];if(!d){b=v[c+120>>2];i=v[b>>2];v[i+20>>2]=41;Qa[v[i>>2]](b);b=0;if(v[c+108>>2]){break b}}b=e&(-1<>2]|b<<24-e;o:{if((e|0)<=7){v[c+16>>2]=e;v[c+12>>2]=b;break o}while(1){d=v[c+112>>2];v[c+112>>2]=d+1;t[d|0]=b>>>16;d=v[c+116>>2]-1|0;v[c+116>>2]=d;if(!d){g=v[c+120>>2];d=v[g+24>>2];if(!(Qa[v[d+12>>2]](g)|0)){g=v[c+120>>2];i=v[g>>2];v[i+20>>2]=25;Qa[v[i>>2]](g)}v[c+112>>2]=v[d>>2];v[c+116>>2]=v[d+4>>2]}d=e;p:{if((b&16711680)!=16711680){break p}e=v[c+112>>2];v[c+112>>2]=e+1;t[e|0]=0;e=v[c+116>>2]-1|0;v[c+116>>2]=e;if(e){break p}g=v[c+120>>2];e=v[g+24>>2];if(!(Qa[v[e+12>>2]](g)|0)){g=v[c+120>>2];i=v[g>>2];v[i+20>>2]=25;Qa[v[i>>2]](g)}v[c+112>>2]=v[e>>2];v[c+116>>2]=v[e+4>>2]}e=d-8|0;b=b<<8;if((d|0)>15){continue}break}v[c+16>>2]=e;v[c+12>>2]=b;b=0;if(v[c+108>>2]){break b}}d=v[c+16>>2]+f|0;f=v[c+12>>2]|((-1<=8){while(1){b=v[c+112>>2];v[c+112>>2]=b+1;t[b|0]=f>>>16;b=v[c+116>>2]-1|0;v[c+116>>2]=b;if(!b){e=v[c+120>>2];b=v[e+24>>2];if(!(Qa[v[b+12>>2]](e)|0)){e=v[c+120>>2];g=v[e>>2];v[g+20>>2]=25;Qa[v[g>>2]](e)}v[c+112>>2]=v[b>>2];v[c+116>>2]=v[b+4>>2]}b=d;q:{if((f&16711680)!=16711680){break q}d=v[c+112>>2];v[c+112>>2]=d+1;t[d|0]=0;d=v[c+116>>2]-1|0;v[c+116>>2]=d;if(d){break q}e=v[c+120>>2];d=v[e+24>>2];if(!(Qa[v[d+12>>2]](e)|0)){e=v[c+120>>2];g=v[e>>2];v[g+20>>2]=25;Qa[v[g>>2]](e)}v[c+112>>2]=v[d>>2];v[c+116>>2]=v[d+4>>2]}d=b-8|0;f=f<<8;if((b|0)>15){continue}break}}v[c+16>>2]=d;v[c+12>>2]=f}b=0}g=b;f=k+1|0;if((k|0)!=(m|0)){continue}break}if((g|0)<1){break a}b=v[c+128>>2]+1|0;v[c+128>>2]=b;if((b|0)!=32767){break a}b=v[c+124>>2];r:{s:{if(v[c+108>>2]){b=v[((b<<2)+c|0)+92>>2];v[b+896>>2]=v[b+896>>2]+1;break s}b=v[((b<<2)+c|0)+60>>2];d=v[b+896>>2];f=v[c+16>>2];b=t[b+1248|0];if(!b){e=v[c+120>>2];g=v[e>>2];v[g+20>>2]=41;Qa[v[g>>2]](e);if(v[c+108>>2]){break s}}e=d&(-1<>2]|e<<24-d;t:{if((d|0)>7){while(1){b=v[c+112>>2];v[c+112>>2]=b+1;t[b|0]=f>>>16;b=v[c+116>>2]-1|0;v[c+116>>2]=b;if(!b){e=v[c+120>>2];b=v[e+24>>2];if(!(Qa[v[b+12>>2]](e)|0)){e=v[c+120>>2];g=v[e>>2];v[g+20>>2]=25;Qa[v[g>>2]](e)}v[c+112>>2]=v[b>>2];v[c+116>>2]=v[b+4>>2]}b=d;u:{if((f&16711680)!=16711680){break u}d=v[c+112>>2];v[c+112>>2]=d+1;t[d|0]=0;d=v[c+116>>2]-1|0;v[c+116>>2]=d;if(d){break u}e=v[c+120>>2];d=v[e+24>>2];if(!(Qa[v[d+12>>2]](e)|0)){e=v[c+120>>2];g=v[e>>2];v[g+20>>2]=25;Qa[v[g>>2]](e)}v[c+112>>2]=v[d>>2];v[c+116>>2]=v[d+4>>2]}d=b-8|0;f=f<<8;if((b|0)>15){continue}break}v[c+16>>2]=d;v[c+12>>2]=f;if(v[c+108>>2]){break s}break t}v[c+16>>2]=d;v[c+12>>2]=f}f=v[c+12>>2]|(v[c+128>>2]&16383)<<10-d;e=d+14|0;b=1;if((d|0)>=-6){while(1){b=v[c+112>>2];v[c+112>>2]=b+1;t[b|0]=f>>>16;b=v[c+116>>2]-1|0;v[c+116>>2]=b;if(!b){d=v[c+120>>2];b=v[d+24>>2];if(!(Qa[v[b+12>>2]](d)|0)){d=v[c+120>>2];g=v[d>>2];v[g+20>>2]=25;Qa[v[g>>2]](d)}v[c+112>>2]=v[b>>2];v[c+116>>2]=v[b+4>>2]}b=e;v:{if((f&16711680)!=16711680){break v}d=v[c+112>>2];v[c+112>>2]=d+1;t[d|0]=0;d=v[c+116>>2]-1|0;v[c+116>>2]=d;if(d){break v}e=v[c+120>>2];d=v[e+24>>2];if(!(Qa[v[d+12>>2]](e)|0)){e=v[c+120>>2];g=v[e>>2];v[g+20>>2]=25;Qa[v[g>>2]](e)}v[c+112>>2]=v[d>>2];v[c+116>>2]=v[d+4>>2]}e=b-8|0;f=f<<8;if((b|0)>15){continue}break}b=!v[c+108>>2]}v[c+128>>2]=0;v[c+16>>2]=e;v[c+12>>2]=f;if(!b){break r}g=v[c+132>>2];if(!g){break r}e=v[c+136>>2];f=0;while(1){if(!f){b=v[c+16>>2];f=v[c+12>>2]|(t[e|0]&1)<<23-b;d=b+1|0;if((b|0)>=7){while(1){b=v[c+112>>2];v[c+112>>2]=b+1;t[b|0]=f>>>16;b=v[c+116>>2]-1|0;v[c+116>>2]=b;if(!b){k=v[c+120>>2];b=v[k+24>>2];if(!(Qa[v[b+12>>2]](k)|0)){k=v[c+120>>2];i=v[k>>2];v[i+20>>2]=25;Qa[v[i>>2]](k)}v[c+112>>2]=v[b>>2];v[c+116>>2]=v[b+4>>2]}b=d;w:{if((f&16711680)!=16711680){break w}d=v[c+112>>2];v[c+112>>2]=d+1;t[d|0]=0;d=v[c+116>>2]-1|0;v[c+116>>2]=d;if(d){break w}k=v[c+120>>2];d=v[k+24>>2];if(!(Qa[v[d+12>>2]](k)|0)){k=v[c+120>>2];i=v[k>>2];v[i+20>>2]=25;Qa[v[i>>2]](k)}v[c+112>>2]=v[d>>2];v[c+116>>2]=v[d+4>>2]}d=b-8|0;f=f<<8;if((b|0)>15){continue}break}}v[c+16>>2]=d;v[c+12>>2]=f}g=g-1|0;if(!g){break r}e=e+1|0;f=v[c+108>>2];continue}}v[c+128>>2]=0}v[c+132>>2]=0}b=v[a+24>>2];v[b>>2]=v[c+112>>2];v[b+4>>2]=v[c+116>>2];a=v[a+236>>2];if(a){b=c;d=v[c+36>>2];if(d){a=d}else{v[c+36>>2]=a;v[c+40>>2]=v[c+40>>2]+1&7}v[b+36>>2]=a-1}return 1}function nMa(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,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,y=0,z=0;k=Ma+-64|0;Ma=k;j=v[a+12>>2];i=v[a+8>>2];y=j-i>>2;p=4;a:{if((i|0)==(j|0)){break a}if(!f){j=i;while(1){l=v[j>>2];b:{if(t[d+11|0]>=0){v[k+56>>2]=v[d+8>>2];i=v[d+4>>2];v[k+48>>2]=v[d>>2];v[k+52>>2]=i;break b}vc(k+48|0,v[d>>2],v[d+4>>2])}o=k+48|0;g=Ma-32|0;Ma=g;c:{if(t[l+23|0]>=0){v[g+24>>2]=v[l+20>>2];i=v[l+16>>2];v[g+16>>2]=v[l+12>>2];v[g+20>>2]=i;break c}vc(g+16|0,v[l+12>>2],v[l+16>>2])}i=w[o+11|0];h=i<<24>>24<0;d:{e:{m=h?v[o+4>>2]:i;if(!m){break e}n=w[g+27|0];i=n<<24>>24<0;n=i?v[g+20>>2]:n;if((m|0)>(n|0)){break e}i=i?v[g+16>>2]:g+16|0;q=i+(n<<2)|0;s=h?v[o>>2]:o;r=v[s>>2];h=i;while(1){z=n-m|0;n=z+1|0;if(n>>>0>>0){break e}h=xe(h,r,n);if(!h){break e}if(lc(h,s,m)){h=h+4|0;n=q-h>>2;if((m|0)<=(n|0)){continue}break e}break}if((h|0)==(q|0)|(h|0)!=(i|0)){break e}i=g+16|0;h=w[o+11|0];bf(g,i,h<<24>>24<0?v[o+4>>2]:h,-1);if(t[g+27|0]<=-1){$a(v[g+16>>2])}v[g+24>>2]=v[g+8>>2];i=v[g+4>>2];v[g+16>>2]=v[g>>2];v[g+20>>2]=i;break d}if(!e){break d}gw(g,g+16|0);if(t[g+27|0]<=-1){$a(v[g+16>>2])}v[g+24>>2]=v[g+8>>2];i=v[g+4>>2];v[g+16>>2]=v[g>>2];v[g+20>>2]=i}v[g>>2]=0;v[g+4>>2]=0;i=t[l+11|0];h=(i|0)<0;DA(h?v[l>>2]:l,h?v[l+4>>2]:i&255,g);i=v[g+4>>2];h=v[g>>2];if(h){$a(h)}v[g>>2]=0;v[g+4>>2]=0;h=t[g+27|0];l=(h|0)<0;DA(l?v[g+16>>2]:g+16|0,l?v[g+20>>2]:h&255,g);h=v[g+4>>2];l=v[g>>2];if(l){$a(l)}if(t[g+27|0]<=-1){$a(v[g+16>>2])}Ma=g+32|0;i=(h+i<<1)+86|0;if(t[k+59|0]<=-1){$a(v[k+48>>2])}p=i+p|0;j=j+4|0;if((j|0)!=v[a+12>>2]){continue}break}break a}j=i;while(1){o=v[j>>2];f:{if(t[d+11|0]>=0){v[k+40>>2]=v[d+8>>2];i=v[d+4>>2];v[k+32>>2]=v[d>>2];v[k+36>>2]=i;break f}vc(k+32|0,v[d>>2],v[d+4>>2])}l=k+32|0;g=Ma-32|0;Ma=g;g:{if(t[o+23|0]>=0){v[g+8>>2]=v[o+20>>2];i=v[o+16>>2];v[g>>2]=v[o+12>>2];v[g+4>>2]=i;break g}vc(g,v[o+12>>2],v[o+16>>2])}h=w[l+11|0];i=h<<24>>24<0;h:{i:{n=i?v[l+4>>2]:h;if(!n){break i}m=w[g+11|0];h=m<<24>>24<0;m=h?v[g+4>>2]:m;if((n|0)>(m|0)){break i}h=h?v[g>>2]:g;q=h+(m<<2)|0;s=i?v[l>>2]:l;r=v[s>>2];i=h;while(1){z=m-n|0;m=z+1|0;if(m>>>0>>0){break i}i=xe(i,r,m);if(!i){break i}if(lc(i,s,n)){i=i+4|0;m=q-i>>2;if((n|0)<=(m|0)){continue}break i}break}if((i|0)==(q|0)|(h|0)!=(i|0)){break i}i=w[l+11|0];bf(g+16|0,g,i<<24>>24<0?v[l+4>>2]:i,-1);if(t[g+11|0]<=-1){$a(v[g>>2])}v[g+8>>2]=v[g+24>>2];i=v[g+20>>2];v[g>>2]=v[g+16>>2];v[g+4>>2]=i;break h}if(!e){break h}gw(g+16|0,g);if(t[g+11|0]<=-1){$a(v[g>>2])}v[g+8>>2]=v[g+24>>2];i=v[g+20>>2];v[g>>2]=v[g+16>>2];v[g+4>>2]=i}i=w[o+11|0];h=i<<24>>24<0;Ti(g+16|0,h?v[o>>2]:o,h?v[o+4>>2]:i);i=t[g+27|0];j:{if((i|0)>-1){l=i&255;break j}l=v[g+20>>2];$a(v[g+16>>2])}i=l+8|0;k:{l=v[o+112>>2];h=v[o+116>>2]-l|0;if((h|0)<1){break k}h=(h>>>0)/12|0;n=h>>>0>1?h:1;m=0;while(1){h=B(m,12)+l|0;q=w[h+11|0];l=q<<24>>24<0;Ti(g+16|0,l?v[h>>2]:h,l?v[h+4>>2]:q);h=t[g+27|0];l:{if((h|0)>-1){l=h&255;break l}l=v[g+20>>2];$a(v[g+16>>2])}i=(i+l|0)+4|0;m=m+1|0;if((n|0)==(m|0)){break k}l=v[o+112>>2];continue}}h=t[g+11|0];l=(h|0)<0;Ti(g+16|0,l?v[g>>2]:g,l?v[g+4>>2]:h&255);h=t[g+27|0];m:{if((h|0)>-1){l=h&255;break m}l=v[g+20>>2];$a(v[g+16>>2])}if(t[g+11|0]<=-1){$a(v[g>>2])}Ma=g+32|0;if(t[k+43|0]<=-1){$a(v[k+32>>2])}p=((i+l|0)+78|0)+p|0;j=j+4|0;if((j|0)!=v[a+12>>2]){continue}break}}o=ab(p);v[o>>2]=y;v[k+28>>2]=o+4;p=v[a+8>>2];n:{if((p|0)==(j|0)){break n}if(!f){while(1){g=v[p>>2];o:{if(t[d+11|0]>=0){v[k+24>>2]=v[d+8>>2];f=v[d+4>>2];v[k+16>>2]=v[d>>2];v[k+20>>2]=f;break o}vc(k+16|0,v[d>>2],v[d+4>>2])}j=k+16|0;h=Ma-32|0;Ma=h;p:{if(t[g+23|0]>=0){v[h+24>>2]=v[g+20>>2];f=v[g+16>>2];v[h+16>>2]=v[g+12>>2];v[h+20>>2]=f;break p}vc(h+16|0,v[g+12>>2],v[g+16>>2])}f=w[j+11|0];i=f<<24>>24<0;q:{r:{l=i?v[j+4>>2]:f;if(!l){break r}m=w[h+27|0];f=m<<24>>24<0;m=f?v[h+20>>2]:m;if((l|0)>(m|0)){break r}f=f?v[h+16>>2]:h+16|0;n=f+(m<<2)|0;q=i?v[j>>2]:j;y=v[q>>2];i=f;while(1){s=m-l|0;m=s+1|0;if(m>>>0>>0){break r}i=xe(i,y,m);if(!i){break r}if(lc(i,q,l)){i=i+4|0;m=n-i>>2;if((l|0)<=(m|0)){continue}break r}break}if((i|0)==(n|0)|(f|0)!=(i|0)){break r}f=h+16|0;i=v[j+4>>2];j=w[j+11|0];bf(h,f,j<<24>>24<0?i:j,-1);if(t[h+27|0]<=-1){$a(v[h+16>>2])}v[h+24>>2]=v[h+8>>2];f=v[h+4>>2];v[h+16>>2]=v[h>>2];v[h+20>>2]=f;break q}if(!e){break q}gw(h,h+16|0);if(t[h+27|0]<=-1){$a(v[h+16>>2])}v[h+24>>2]=v[h+8>>2];f=v[h+4>>2];v[h+16>>2]=v[h>>2];v[h+20>>2]=f}v[h>>2]=0;v[h+4>>2]=0;f=t[g+11|0];j=(f|0)<0;DA(j?v[g>>2]:g,j?v[g+4>>2]:f&255,h);j=v[k+28>>2];f=v[h+4>>2]+2|0;v[j>>2]=f;j=j+4|0;v[k+28>>2]=j;i=j;j=v[h>>2];cb(i,j,f);v[k+28>>2]=f+v[k+28>>2];if(j){$a(j)}v[h>>2]=0;v[h+4>>2]=0;f=t[h+27|0];j=(f|0)<0;DA(j?v[h+16>>2]:h+16|0,j?v[h+20>>2]:f&255,h);j=v[k+28>>2];f=v[h+4>>2]+2|0;v[j>>2]=f;j=j+4|0;v[k+28>>2]=j;i=v[h>>2];cb(j,i,f);j=f+v[k+28>>2]|0;v[k+28>>2]=j;if(i){$a(i);j=v[k+28>>2]}v[j>>2]=v[g+24>>2];v[j+4>>2]=v[g+44>>2];v[j+8>>2]=v[g+40>>2];f=v[g+48>>2];v[j+16>>2]=10;v[j+12>>2]=f;v[k+28>>2]=j+20;f=w[g+60|0]|w[g+61|0]<<8;t[j+28|0]=f;t[j+29|0]=f>>>8;f=w[g+56|0]|w[g+57|0]<<8|(w[g+58|0]<<16|w[g+59|0]<<24);i=w[g+52|0]|w[g+53|0]<<8|(w[g+54|0]<<16|w[g+55|0]<<24);t[j+20|0]=i;t[j+21|0]=i>>>8;t[j+22|0]=i>>>16;t[j+23|0]=i>>>24;t[j+24|0]=f;t[j+25|0]=f>>>8;t[j+26|0]=f>>>16;t[j+27|0]=f>>>24;f=v[k+28>>2];v[f+10>>2]=v[g+64>>2];v[f+14>>2]=v[g+68>>2];v[f+18>>2]=v[g+72>>2];v[f+22>>2]=v[g+76>>2];v[f+26>>2]=v[g+80>>2];v[f+30>>2]=v[g+84>>2];u[f+34>>1]=x[g+88>>1];u[f+36>>1]=x[g+90>>1];u[f+38>>1]=x[g+92>>1];u[f+40>>1]=v[g+96>>2];u[f+42>>1]=x[g+100>>1];u[f+44>>1]=x[g+102>>1];u[f+46>>1]=x[g+104>>1];u[f+48>>1]=x[g+106>>1];u[f+50>>1]=x[g+108>>1];u[f+52>>1]=x[g+110>>1];v[k+28>>2]=f+54;if(t[h+27|0]<=-1){$a(v[h+16>>2])}Ma=h+32|0;if(t[k+27|0]<=-1){$a(v[k+16>>2])}p=p+4|0;if((p|0)!=v[a+12>>2]){continue}break n}}while(1){h=v[p>>2];s:{if(t[d+11|0]>=0){v[k+8>>2]=v[d+8>>2];f=v[d+4>>2];v[k>>2]=v[d>>2];v[k+4>>2]=f;break s}vc(k,v[d>>2],v[d+4>>2])}i=Ma-32|0;Ma=i;t:{if(t[h+23|0]>=0){v[i+8>>2]=v[h+20>>2];f=v[h+16>>2];v[i>>2]=v[h+12>>2];v[i+4>>2]=f;break t}vc(i,v[h+12>>2],v[h+16>>2])}f=w[k+11|0];j=f<<24>>24<0;u:{v:{g=j?v[k+4>>2]:f;if(!g){break v}l=w[i+11|0];f=l<<24>>24<0;l=f?v[i+4>>2]:l;if((g|0)>(l|0)){break v}f=f?v[i>>2]:i;m=f+(l<<2)|0;n=j?v[k>>2]:k;q=v[n>>2];j=f;while(1){y=l-g|0;l=y+1|0;if(l>>>0>>0){break v}j=xe(j,q,l);if(!j){break v}if(lc(j,n,g)){j=j+4|0;l=m-j>>2;if((g|0)<=(l|0)){continue}break v}break}if((j|0)==(m|0)|(f|0)!=(j|0)){break v}f=w[k+11|0];bf(i+16|0,i,f<<24>>24<0?v[k+4>>2]:f,-1);if(t[i+11|0]<=-1){$a(v[i>>2])}v[i+8>>2]=v[i+24>>2];f=v[i+20>>2];v[i>>2]=v[i+16>>2];v[i+4>>2]=f;break u}if(!e){break u}gw(i+16|0,i);if(t[i+11|0]<=-1){$a(v[i>>2])}v[i+8>>2]=v[i+24>>2];f=v[i+20>>2];v[i>>2]=v[i+16>>2];v[i+4>>2]=f}j=i+16|0;f=w[h+11|0];g=f<<24>>24<0;Ti(j,g?v[h>>2]:h,g?v[h+4>>2]:f);g=v[k+28>>2];f=w[i+27|0];f=f<<24>>24<0?v[i+20>>2]:f;v[g>>2]=f;g=g+4|0;v[k+28>>2]=g;r=g;g=v[i+16>>2];cb(r,t[i+27|0]<0?g:j,f);j=f+v[k+28>>2]|0;v[k+28>>2]=j;if(t[i+27|0]<=-1){$a(g);j=v[k+28>>2]}g=v[h+116>>2]-v[h+112>>2]|0;f=(g|0)/12|0;v[j>>2]=f;v[k+28>>2]=j+4;if((g|0)>=1){g=(f|0)>1?f:1;l=0;while(1){f=v[h+112>>2]+B(l,12)|0;m=w[f+11|0];j=m<<24>>24<0;n=i+16|0;Ti(n,j?v[f>>2]:f,j?v[f+4>>2]:m);j=v[k+28>>2];f=w[i+27|0];f=f<<24>>24<0?v[i+20>>2]:f;v[j>>2]=f;j=j+4|0;v[k+28>>2]=j;r=j;j=v[i+16>>2];cb(r,t[i+27|0]<0?j:n,f);v[k+28>>2]=f+v[k+28>>2];if(t[i+27|0]<=-1){$a(j)}l=l+1|0;if((g|0)!=(l|0)){continue}break}}j=i+16|0;f=t[i+11|0];g=(f|0)<0;Ti(j,g?v[i>>2]:i,g?v[i+4>>2]:f&255);g=v[k+28>>2];f=w[i+27|0];f=f<<24>>24<0?v[i+20>>2]:f;v[g>>2]=f;g=g+4|0;v[k+28>>2]=g;r=g;g=v[i+16>>2];cb(r,t[i+27|0]<0?g:j,f);j=f+v[k+28>>2]|0;v[k+28>>2]=j;if(t[i+27|0]<=-1){$a(g);j=v[k+28>>2]}v[j>>2]=v[h+24>>2];v[j+4>>2]=v[h+44>>2];v[j+8>>2]=v[h+40>>2];f=v[h+48>>2];v[j+16>>2]=10;v[j+12>>2]=f;v[k+28>>2]=j+20;f=w[h+60|0]|w[h+61|0]<<8;t[j+28|0]=f;t[j+29|0]=f>>>8;f=w[h+56|0]|w[h+57|0]<<8|(w[h+58|0]<<16|w[h+59|0]<<24);g=w[h+52|0]|w[h+53|0]<<8|(w[h+54|0]<<16|w[h+55|0]<<24);t[j+20|0]=g;t[j+21|0]=g>>>8;t[j+22|0]=g>>>16;t[j+23|0]=g>>>24;t[j+24|0]=f;t[j+25|0]=f>>>8;t[j+26|0]=f>>>16;t[j+27|0]=f>>>24;f=v[k+28>>2];v[f+10>>2]=v[h+64>>2];v[f+14>>2]=v[h+68>>2];v[f+18>>2]=v[h+72>>2];v[f+22>>2]=v[h+76>>2];v[f+26>>2]=v[h+80>>2];v[f+30>>2]=v[h+84>>2];u[f+34>>1]=x[h+88>>1];u[f+36>>1]=x[h+90>>1];u[f+38>>1]=x[h+92>>1];u[f+40>>1]=v[h+96>>2];u[f+42>>1]=x[h+100>>1];u[f+44>>1]=x[h+102>>1];u[f+46>>1]=x[h+104>>1];u[f+48>>1]=x[h+106>>1];u[f+50>>1]=x[h+108>>1];u[f+52>>1]=x[h+110>>1];v[k+28>>2]=f+54;if(t[i+11|0]<=-1){$a(v[i>>2])}Ma=i+32|0;if(t[k+11|0]<=-1){$a(v[k>>2])}p=p+4|0;if((p|0)!=v[a+12>>2]){continue}break}}v[b>>2]=o;v[c>>2]=v[k+28>>2]-o;Ma=k- -64|0}function JKa(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,n=0,o=0,p=0,q=0,r=0,s=0,z=0,A=0,C=0,D=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=Ma-6704|0;Ma=c;J=c- -64|0;nJ(J,v[v[a+4>>2]>>2]);h=c;v[h+8>>2]=0;v[h+12>>2]=0;v[h>>2]=0;v[h+4>>2]=0;v[h+56>>2]=0;v[h+48>>2]=0;v[h+52>>2]=0;v[h+40>>2]=0;v[h+44>>2]=0;v[h+32>>2]=0;v[h+36>>2]=0;v[h+24>>2]=0;v[h+28>>2]=0;v[h+16>>2]=0;v[h+20>>2]=0;v[h+8>>2]=J;g=a;j=Ma+-64|0;Ma=j;A=v[h+8>>2];i=v[b+4>>2];l=v[i+84>>2];F=v[l+156>>2];H=v[F>>2];a=v[i+88>>2];p=v[a+40>>2];f=v[p+12>>2];a:{b:{if(!f){b=e>>>16&15;break b}b=e>>>16&15;if((b|0)==v[p+4>>2]){break a}}v[p+4>>2]=b;v[p+32>>2]=v[a+36>>2];f=v[a+32>>2];v[p+24>>2]=v[a+28>>2];v[p+28>>2]=f;f=v[a+24>>2];v[p+16>>2]=v[a+20>>2];v[p+20>>2]=f;f=v[a+16>>2];v[p+8>>2]=v[a+12>>2];v[p+12>>2]=f;f=v[p+12>>2]}v[j+44>>2]=0;v[j+36>>2]=f;v[j+32>>2]=i;a=v[p+16>>2];v[j+56>>2]=0;v[j+52>>2]=b;v[j+48>>2]=0;v[j+40>>2]=a;v[h>>2]=i;a=v[i+116>>2];v[h+4>>2]=a;K=h+4|0;c:{if(!a){a=aB(i,K,g);if(a){break c}a=v[K>>2];v[i+120>>2]=1958;v[i+116>>2]=a}f=0;k=Ma-16|0;Ma=k;v[k+12>>2]=0;b=6;p=d;d:{if(y[a+4>>2]<=d>>>0){break d}b=0;d=x[v[a+8>>2]+(p<<1)>>1]&16383;m=((d<<2)+a|0)+16|0;f=v[m>>2];if(f){break d}D=p<<1;e:{while(1){q=v[v[a>>2]+100>>2];r=v[(d<<2)+429248>>2];C=v[(v[r+4>>2]<<2)+428960>>2];f=cc(q,v[C+4>>2],k+12|0);d=v[k+12>>2];if(d){break e}v[f+36>>2]=a;v[f>>2]=r;f:{g:{d=v[C+8>>2];if(!d){break g}d=Qa[d|0](f,v[a>>2])|0;v[k+12>>2]=d;if(!d){break g}d=v[C+16>>2];if(d){Qa[d|0](f)}if(f){Qa[v[q+8>>2]](q,f)}d=v[k+12>>2];if((d|0)==-1){break f}f=0;b=d;break d}v[m>>2]=f;break d}d=x[D+v[a+8>>2]>>1]&16383;m=((d<<2)+a|0)+16|0;f=v[m>>2];if(!f){continue}break}b=-1;break d}b=d}v[j+28>>2]=f;Ma=k+16|0;a=b;if(a){break c}a=v[j+28>>2];b=v[v[a>>2]+4>>2];v[h+12>>2]=a;L=v[(b<<2)+428960>>2];b=v[L+12>>2];h:{if(b){Qa[b|0](a,j+32|0);break h}b=v[j+36>>2];v[a+4>>2]=v[j+32>>2];v[a+8>>2]=b;v[a+28>>2]=v[j+56>>2];b=v[j+52>>2];v[a+20>>2]=v[j+48>>2];v[a+24>>2]=b;b=v[j+44>>2];v[a+12>>2]=v[j+40>>2];v[a+16>>2]=b}a=v[L+24>>2];if(a){a=Qa[a|0](A,v[j+28>>2])|0;if(a){break c}}a=Am(i,p,e&-10246|10241);if(a){break c}i:{if(v[j+52>>2]!=1){break i}a=t[v[i+128>>2]+56|0];if(w[g+21|0]|(a|0)>-1?a:0){break i}a=v[j+28>>2];n=Ma-32|0;Ma=n;k=v[i+84>>2];b=v[v[i+88>>2]+40>>2];o=v[h+4>>2];v[n+28>>2]=0;v[n+24>>2]=0;d=x[o+364>>1];e=x[b+8>>1];g=x[i+68>>1]<<16;f=Ub(65536e3,g);v[n+16>>2]=v[106500];m=v[106499];v[n+8>>2]=v[106498];v[n+12>>2]=m;j:{if(!x[i+68>>1]){break j}m=v[v[(v[v[a>>2]+4>>2]<<2)+428960>>2]+20>>2];if(!m){break j}Qa[m|0](a,n+24|0,n+28|0);a=v[n+28>>2];k:{l:{m:{if(((a|0)==v[o+368>>2]|(a|0)<1)&(d|0)==(e|0)){break m}a=Ub(xb(I$(h,i,a)<<16,v[b+12>>2]),f);v[o+368>>2]=v[n+28>>2];m=x[b+8>>1];v[o+376>>2]=a+32768>>16;u[o+364>>1]=m;if((d|0)==(e|0)){break m}a=v[n+24>>2];break l}a=v[n+24>>2];if((a|0)<1|v[o+372>>2]==(a|0)){break k}}a=I$(h,i,a)<<16;d=Ub(xb(a,v[b+16>>2]),f);v[o+372>>2]=v[n+24>>2];b=x[b+8>>1];v[o+380>>2]=d+32768>>16;u[o+364>>1]=b;U=o,V=Ub((g-a|0)-524288|0,g),v[U+384>>2]=V}a=v[o+376>>2];b=v[o+380>>2];i=0;s=Ma-16|0;Ma=s;Q=k+108|0;G=Q;n:{if(!G|b+1>>>0<3&a+1>>>0<=2){break n}I=h0(G);if((I|0)==2){break n}d=u[G>>1];if((d|0)<1){break n}M=(b|0)/2|0;N=(a|0)/2|0;O=v[G+4>>2];while(1){m=u[v[G+12>>2]+(P<<1)>>1];o:{if((m|0)==(i|0)){break o}q=-1;e=i;g=0;a=0;C=0;D=0;f=0;k=0;b=m;if((b|0)==-1){break o}while(1){p:{q:{if((e|0)!=(q|0)){d=(e<<3)+O|0;r=(b<<3)+O|0;v[s+8>>2]=v[d>>2]-v[r>>2];v[s+12>>2]=v[d+4>>2]-v[r+4>>2];d=Mq(s+8|0);if(d){break q}d=a;break p}v[s+12>>2]=D;v[s+8>>2]=C;d=g}r:{if(!a){break r}if((q|0)<=-1){D=k;C=f;q=b;g=a}r=0;R=xb(f,v[s+8>>2])+xb(k,v[s+12>>2])|0;z=0;s:{if((R|0)<-61439){break s}r=v[s+12>>2]+k|0;r=I?r:0-r|0;z=v[s+8>>2];S=z+f|0;T=0-S|0;f=xb(z,k)-xb(v[s+12>>2],f)|0;f=I?f:0-f|0;a=(a|0)<(d|0)?a:d;k=R+65536|0;t:{if((xb(N,f)|0)<=(xb(a,k)|0)){z=fc(r,N,k);break t}z=fc(r,a,f)}r=z;z=I?T:S;if((xb(M,f)|0)<=(xb(a,k)|0)){z=fc(z,M,k);break s}z=fc(z,a,f)}if((b|0)==(e|0)){break r}f=z+M|0;k=r+N|0;while(1){a=(b<<3)+O|0;v[a>>2]=k+v[a>>2];v[a+4>>2]=f+v[a+4>>2];b=(b|0)<(m|0)?b+1|0:i;if((e|0)!=(b|0)){continue}break}}k=v[s+12>>2];f=v[s+8>>2];b=e}e=(e|0)<(m|0)?e+1|0:i;if((e|0)!=(b|0)){a=d;if((b|0)!=(q|0)){continue}}break}d=x[G>>1]}i=m+1|0;P=P+1|0;if((P|0)>16){continue}break}}Ma=s+16|0;v[n+20>>2]=v[o+384>>2];xn(Q,n+8|0)}Ma=n+32|0}a=w[F+8|0];t[h+16|0]=a;u:{if(!a){break u}a=F;b=v[a+16>>2];e=v[a+12>>2];v[h+20>>2]=e;v[h+24>>2]=b;d=v[a+24>>2];g=v[a+20>>2];v[h+28>>2]=g;v[h+32>>2]=d;f=v[a+32>>2];v[h+36>>2]=v[a+28>>2];v[h+40>>2]=f;v[j+16>>2]=g;v[j+20>>2]=d;v[j+8>>2]=e;v[j+12>>2]=b;e=6;f=j+8|0;v:{if(!f){break v}F=v[f>>2];a=F>>31;C=v[f+12>>2];b=C>>31;m=a^a+F;i=b^b+C;w:{if(m+(i>>>8|0)>>>0<=8190){a=B(i,m)+32768>>>16|0;break w}a=m&65535;a=B(a,i>>>16|0)+B(i,m>>>16|0)+(B(a,i&65535)+32768>>>16)|0}g=(F|0)<0^(C|0)<0?0-a|0:a;D=v[f+4>>2];a=D>>31;r=v[f+8>>2];b=r>>31;d=a^a+D;k=b^b+r;x:{if(d+(k>>>8|0)>>>0<=8190){a=B(d,k)+32768>>>16|0;break x}a=d&65535;a=B(a,k>>>16|0)+B(k,d>>>16|0)+(B(a,k&65535)+32768>>>16)|0}q=g+((D|0)<0^(r|0)<0?a:0-a|0)|0;if(!q){break v}a=q>>31;a=a+q^a;n=a>>>17^65535;y:{if(n>>>0>=d>>>0){b=((d<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break y}b=2147483647;e=a>>>1|0;o=e+(d<<16)|0;d=(d>>>16|0)+(e>>>0>o>>>0)|0;if(d>>>0>=a>>>0){break y}s=E(d);e=32-s|0;d=o>>>e|d<>>0)/(a>>>0)|0;g=d-B(a,b)|0;d=o<>>31;g=o-(a>>>0>o>>>0?0:a)|0;b=b<<1|a>>>0<=o>>>0;d=d<<1;e=e-1|0;if(e){continue}break}}v[f+4>>2]=(D|0)<0^(q|0)<0?b:0-b|0;z:{if(k>>>0<=n>>>0){b=((k<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break z}b=2147483647;e=a>>>1|0;d=e+(k<<16)|0;g=(k>>>16|0)+(d>>>0>>0)|0;if(g>>>0>=a>>>0){break z}k=E(g);e=32-k|0;g=d>>>e|g<>>0)/(a>>>0)|0;g=g-B(a,b)|0;d=d<>>31;g=k-(a>>>0>k>>>0?0:a)|0;b=b<<1|a>>>0<=k>>>0;d=d<<1;e=e-1|0;if(e){continue}break}}v[f+8>>2]=(r|0)<0^(q|0)<0?b:0-b|0;A:{if(i>>>0<=n>>>0){b=((i<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break A}b=2147483647;e=a>>>1|0;d=e+(i<<16)|0;g=(i>>>16|0)+(d>>>0>>0)|0;if(g>>>0>=a>>>0){break A}i=E(g);e=32-i|0;g=d>>>e|g<>>0)/(a>>>0)|0;g=g-B(a,b)|0;d=d<>>31;g=i-(a>>>0>i>>>0?0:a)|0;b=b<<1|a>>>0<=i>>>0;d=d<<1;e=e-1|0;if(e){continue}break}}v[f>>2]=(C|0)<0^(q|0)<0?0-b|0:b;B:{if(m>>>0<=n>>>0){b=((m<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break B}b=2147483647;e=a>>>1|0;d=e+(m<<16)|0;g=(m>>>16|0)+(d>>>0>>0)|0;if(g>>>0>=a>>>0){break B}i=E(g);e=32-i|0;g=d>>>e|g<>>0)/(a>>>0)|0;g=g-B(a,b)|0;d=d<>>31;g=i-(a>>>0>i>>>0?0:a)|0;b=b<<1|a>>>0<=i>>>0;d=d<<1;e=e-1|0;if(e){continue}break}}e=0;v[f+12>>2]=(F|0)<0^(q|0)<0?0-b|0:b}if(e){break u}xJ(h+36|0,j+8|0)}b=7;C:{if(v[l+72>>2]!=1869968492){break C}if(w[h+16|0]){Jg(l+108|0,v[h+36>>2],v[h+40>>2])}v[h+44>>2]=v[A+8>>2];v[h+48>>2]=v[A+16>>2];U=h,V=xb(v[l+40>>2],v[A+4>>2])+v[A+8>>2]|0,v[U+52>>2]=V;v[h+56>>2]=v[A+16>>2];b=0;if(!x[l+110>>1]){break C}a=v[L+28>>2];if(a){a=Qa[a|0](p,A,H+20|0,v[j+28>>2])|0;if(a){break c}}d=l;D:{if(v[j+52>>2]!=1){a=v[A+56>>2];if(!(w[A+2740|0]&4|(a|0)<2)){e=B(a,44);a=v[A- -64>>2];e=e+a|0;g=v[e-36>>2];i=v[e-40>>2];k=v[a+8>>2];f=v[a+4>>2];a=k-f|0;m=(f|0)<24?a-8|0:a;e=m+32&-64;v[h+44>>2]=e;i=v[h+52>>2]-i|0;a=i+g|0;q=(i|0)<24?a+8|0:a;a=q+32&-64;v[h+52>>2]=a;if(!((e|0)<(k|0)|(f|0)<1)){e=e+-64|0;v[h+44>>2]=e}if(!((i|0)<1|(a|0)>(g|0))){a=a- -64|0;v[h+52>>2]=a}v[l+144>>2]=e-m;a=a-q|0;break D}a=v[h+44>>2];e=(a+v[A+2752>>2]|0)+32&-64;v[h+44>>2]=e;g=v[h+52>>2];f=(g+v[A+2756>>2]|0)+32&-64;v[h+52>>2]=f;v[l+144>>2]=e-a;a=f-g|0;break D}a=v[h+52>>2];e=a+32&-64;v[h+52>>2]=e;g=v[h+44>>2];f=g+32&-64;v[h+44>>2]=f;v[l+144>>2]=f-g;a=e-a|0}v[d+148>>2]=a}a=v[l+36>>2];d=v[l+48>>2];U=j,V=xb(v[l+44>>2]-v[l+32>>2]|0,v[v[j+28>>2]+8>>2]),v[U>>2]=V;U=j,V=xb(d-a|0,v[v[j+28>>2]+12>>2]),v[U+4>>2]=V;if(w[h+16|0]){a=h+20|0;xn(H+20|0,a);xJ(j,a)}a=v[h+44>>2];if(a){Jg(H+20|0,0-a|0,0)}yn(H+20|0,j+8|0);a=v[j+8>>2]&-64;v[j+8>>2]=a;d=v[j+20>>2]+63&-64;v[j+20>>2]=d;e=v[j+16>>2]+63&-64;v[j+16>>2]=e;g=v[j+12>>2]&-64;v[j+12>>2]=g;v[l+36>>2]=d;v[l+32>>2]=a;v[l+28>>2]=d-g;v[l+24>>2]=e-a;v[l+44>>2]=a+v[j>>2]&-64;v[l+48>>2]=d+v[j+4>>2]&-64;E:{F:{if(v[j+52>>2]==1){break F}G:{if(w[v[l+4>>2]+8|0]&4){e=v[j+28>>2];break G}a=v[K>>2];if(p>>>0>2]){a=x[v[a+8>>2]+(p<<1)>>1]>>>15|0}else{a=0}if(!a){break F}e=v[j+28>>2];if(!w[e+32|0]){break F}}a=xb(v[l+40>>2],v[e+8>>2]);v[l+144>>2]=0;v[l+148>>2]=0;v[l+40>>2]=a;break E}if(!v[l+40>>2]){break E}v[l+40>>2]=v[h+52>>2]-v[h+44>>2]}a=xb(v[l+52>>2],v[v[j+28>>2]+12>>2]);v[l+72>>2]=1869968492;v[l+52>>2]=a+32&-64;v[l+40>>2]=v[l+40>>2]+32&-64;a=b}Ma=j- -64|0;v[c+8>>2]=0;v[c>>2]=0;v[c+4>>2]=0;mJ(J);Ma=c+6704|0;return a|0}function vSa(a){a=a|0;var 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=C(0),r=C(0),s=C(0),y=0,B=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=C(0),T=0,U=0,V=0,W=0;e=Ma-320|0;Ma=e;v[e+184>>2]=0;v[e+188>>2]=0;v[e+176>>2]=0;v[e+180>>2]=0;cb(e+48|0,213696,124);l=A[a+120>>3];b=e+176|(l>=1)<<3;v[b>>2]=0;v[b+4>>2]=1072693248;a:{if(l==0){j=A[a+112>>3];break a}j=A[a+112>>3];if(!((l+-1)*(j+-1)<=0)){break a}y=-j;while(1){o=(A[e+176>>3]+A[e+184>>3])*.5;F=o/l;U=e+176|((pd(F,y)+-1)/j+-1/o>-1)<<3,V=o,A[U>>3]=V;f=f+1|0;if((f|0)!=36){continue}break}A[a+128>>3]=F;A[a+136>>3]=(1/j+-1)*o}k=l*.5;l=A[a+128>>3];o=A[a+136>>3];j=j+1;j=1/(k*(l*l)-o*(1-l)+(o+1)*(1-pd(l,j))/j)+-1;A[a+144>>3]=j;b=a+59388|0;c=v[b+4>>2];v[e+312>>2]=v[b>>2];v[e+316>>2]=c;b=a+59380|0;c=v[b+4>>2];v[e+304>>2]=v[b>>2];v[e+308>>2]=c;b=a+59372|0;c=v[b+4>>2];v[e+296>>2]=v[b>>2];v[e+300>>2]=c;b=a+59364|0;c=v[b+4>>2];v[e+288>>2]=v[b>>2];v[e+292>>2]=c;b=a+59356|0;c=v[b+4>>2];v[e+280>>2]=v[b>>2];v[e+284>>2]=c;b=v[a+59352>>2];v[e+272>>2]=v[a+59348>>2];v[e+276>>2]=b;f=1;b=v[a+26132>>2]|(v[a+192>>2]|v[a+26336>>2]==1?f:v[a+168>>2]-1>>>0>4);v[a+26132>>2]=b;b:{if(b){break b}b=Yb(1024,1);v[a+26096>>2]=b;if(!b){b=v[a+190640>>2];c:{if(b){c=v[a+25208>>2];v[e+20>>2]=213856;v[e+16>>2]=c;Dc(b,4338,e+16|0);break c}b=v[a+25208>>2];v[e+4>>2]=213856;v[e>>2]=b;vb(v[249419],4338,e)}tc(a+190484|0,1);L()}g=cb(b,213616,80);b=v[a+168>>2];if((b|0)==5){v[g+16>>2]=1482250784}v[g+252>>2]=1952807028;v[g>>2]=252;v[e+56>>2]=252;c=(v[e+60>>2]+3&-4)+252|0;v[g>>2]=c;v[c+g>>2]=1684370275;c=v[e+72>>2];d=v[g>>2];v[e+68>>2]=d;c=d+(c+3&-4)|0;v[g>>2]=c;v[g+(c&-4)>>2]=1482250784;c=v[e+84>>2];d=v[g>>2];v[e+80>>2]=d;c=d+(c+3&-4)|0;v[g>>2]=c;v[g+(c&-4)>>2]=1482250784;c=v[e+96>>2];d=v[g>>2];v[e+92>>2]=d;c=d+(c+3&-4)|0;v[g>>2]=c;v[g+(c&-4)>>2]=1482250784;c=v[e+108>>2];d=v[g>>2];v[e+104>>2]=d;c=d+(c+3&-4)|0;v[g>>2]=c;v[g+(c&-4)>>2]=1482250784;c=v[e+120>>2];d=v[g>>2];v[e+116>>2]=d;c=d+(c+3&-4)|0;v[g>>2]=c;v[g+(c&-4)>>2]=1482250784;c=v[e+132>>2];d=v[g>>2];v[e+128>>2]=d;c=d+(c+3&-4)|0;v[g>>2]=c;v[g+(c&-4)>>2]=1482250784;c=v[e+144>>2];d=v[g>>2];v[e+140>>2]=d;c=d+(c+3&-4)|0;v[g>>2]=c;v[g+(c&-4)>>2]=1482250784;c=v[e+156>>2];d=v[g>>2];v[e+152>>2]=d;c=d+(c+3&-4)|0;v[g>>2]=c;v[g+(c&-4)>>2]=1482250784;c=v[e+168>>2];d=v[g>>2];v[e+164>>2]=d;v[g>>2]=d+(c+3&-4);c=v[e+80>>2];B=v[e+68>>2];cb(g+128|0,e+48|0,124);i=b-1<<2;U=g+(B&-4)|0,W=zb(v[i+213536>>2])+1|0,v[U+8>>2]=W;f=0;b=c+g|0;c=v[53457];t[b+16|0]=c;t[b+17|0]=c>>>8;t[b+18|0]=c>>>16;t[b+19|0]=c>>>24;c=v[53456];d=v[53455];t[b+8|0]=d;t[b+9|0]=d>>>8;t[b+10|0]=d>>>16;t[b+11|0]=d>>>24;t[b+12|0]=c;t[b+13|0]=c>>>8;t[b+14|0]=c>>>16;t[b+15|0]=c>>>24;b=16777216;if(v[a+172>>2]==8){j=256/j+.5;d:{if(D(j)<2147483648){b=~~j;break d}b=-2147483648}b=b<<16}p=v[53461];d=g+v[e+104>>2]|0;c=v[53460];t[d|0]=c;t[d+1|0]=c>>>8;t[d+2|0]=c>>>16;t[d+3|0]=c>>>24;t[d+4|0]=p;n=p>>>8|0;t[d+5|0]=n;G=p>>>16|0;t[d+6|0]=G;H=p>>>24|0;t[d+7|0]=H;t[d+12|0]=b;I=b>>>8|0;t[d+13|0]=I;J=b>>>16|0;t[d+14|0]=J;K=b>>>24|0;t[d+15|0]=K;m=v[53462];t[d+8|0]=m;M=m>>>8|0;t[d+9|0]=M;N=m>>>16|0;t[d+10|0]=N;O=m>>>24|0;t[d+11|0]=O;h=g+v[e+116>>2]|0;t[h|0]=c;t[h+1|0]=c>>>8;t[h+2|0]=c>>>16;t[h+3|0]=c>>>24;t[h+4|0]=p;t[h+5|0]=n;t[h+6|0]=G;t[h+7|0]=H;t[h+12|0]=b;t[h+13|0]=I;t[h+14|0]=J;t[h+15|0]=K;t[h+8|0]=m;t[h+9|0]=M;t[h+10|0]=N;t[h+11|0]=O;d=g+v[e+128>>2]|0;t[d|0]=c;t[d+1|0]=c>>>8;t[d+2|0]=c>>>16;t[d+3|0]=c>>>24;t[d+4|0]=p;t[d+5|0]=n;t[d+6|0]=G;t[d+7|0]=H;t[d+12|0]=b;t[d+13|0]=I;t[d+14|0]=J;t[d+15|0]=K;t[d+8|0]=m;t[d+9|0]=M;t[d+10|0]=N;t[d+11|0]=O;E3(v[i+213504>>2],e+192|0,3);d=v[a+26096>>2];b=d+(v[e+140>>2]&-4)|0;c=b;j=A[e+192>>3];l=A[e+200>>3];o=A[e+208>>3];y=(j*.436083+0+l*.385083+o*.143055)*65536+.5;e:{if(y<4294967296&y>=0){h=~~y>>>0;break e}h=0}v[c+8>>2]=h;c=d+(v[e+152>>2]&-4)|0;h=c;y=A[e+216>>3];F=A[e+224>>3];P=A[e+232>>3];E=(y*.436083+0+F*.385083+P*.143055)*65536+.5;f:{if(E<4294967296&E>=0){i=~~E>>>0;break f}i=0}v[h+8>>2]=i;d=d+(v[e+164>>2]&-4)|0;h=d;E=A[e+240>>3];Q=A[e+248>>3];R=A[e+256>>3];k=(E*.436083+0+Q*.385083+R*.143055)*65536+.5;g:{if(k<4294967296&k>=0){i=~~k>>>0;break g}i=0}v[h+8>>2]=i;h=b;k=(j*.222507+0+l*.716888+o*.060608)*65536+.5;h:{if(k<4294967296&k>=0){i=~~k>>>0;break h}i=0}v[h+12>>2]=i;h=c;k=(y*.222507+0+F*.716888+P*.060608)*65536+.5;i:{if(k<4294967296&k>=0){i=~~k>>>0;break i}i=0}v[h+12>>2]=i;h=d;k=(E*.222507+0+Q*.716888+R*.060608)*65536+.5;j:{if(k<4294967296&k>=0){i=~~k>>>0;break j}i=0}v[h+12>>2]=i;j=(j*.01393+0+l*.097097+o*.714022)*65536+.5;k:{if(j<4294967296&j>=0){h=~~j>>>0;break k}h=0}v[b+16>>2]=h;j=(y*.01393+0+F*.097097+P*.714022)*65536+.5;l:{if(j<4294967296&j>=0){b=~~j>>>0;break l}b=0}v[c+16>>2]=b;j=(E*.01393+0+Q*.097097+R*.714022)*65536+.5;m:{if(j<4294967296&j>=0){b=~~j>>>0;break m}b=0}v[d+16>>2]=b;c=v[a+26096>>2];while(1){d=c+(f<<2)|0;b=v[d>>2];v[d>>2]=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);f=f+1|0;if((f|0)!=256){continue}break}f=0;b=c+v[e+56>>2]|0;c=w[213877]|w[213878]<<8|(w[213879]<<16|w[213880]<<24);d=w[213873]|w[213874]<<8|(w[213875]<<16|w[213876]<<24);t[b+8|0]=d;t[b+9|0]=d>>>8;t[b+10|0]=d>>>16;t[b+11|0]=d>>>24;t[b+12|0]=c;t[b+13|0]=c>>>8;t[b+14|0]=c>>>16;t[b+15|0]=c>>>24;c=w[213893]|w[213894]<<8|(w[213895]<<16|w[213896]<<24);d=w[213889]|w[213890]<<8|(w[213891]<<16|w[213892]<<24);t[b+24|0]=d;t[b+25|0]=d>>>8;t[b+26|0]=d>>>16;t[b+27|0]=d>>>24;t[b+28|0]=c;t[b+29|0]=c>>>8;t[b+30|0]=c>>>16;t[b+31|0]=c>>>24;c=w[213885]|w[213886]<<8|(w[213887]<<16|w[213888]<<24);d=w[213881]|w[213882]<<8|(w[213883]<<16|w[213884]<<24);t[b+16|0]=d;t[b+17|0]=d>>>8;t[b+18|0]=d>>>16;t[b+19|0]=d>>>24;t[b+20|0]=c;t[b+21|0]=c>>>8;t[b+22|0]=c>>>16;t[b+23|0]=c>>>24;od((B+v[a+26096>>2]|0)+12|0,v[(v[a+168>>2]<<2)+213532>>2]);c=v[a+26336>>2];if((c|0)<1){break b}b=v[(v[a+168>>2]<<2)+213500>>2];q=C(A[b+16>>3]);r=C(A[b+8>>3]);s=C(A[b>>3]);while(1){g=f<<2;d=g+a|0;z[g+(e+272|0)>>2]=C(C(C(z[d+59348>>2]*s)+C(0))+C(z[d+59364>>2]*r))+C(z[d+59380>>2]*q);f=f+1|0;if((c|0)!=(f|0)){continue}break}q=C(A[b+40>>3]);r=C(A[b+32>>3]);s=C(A[b+24>>3]);f=0;while(1){g=f<<2;d=g+a|0;z[(e+g|0)+288>>2]=C(C(C(z[d+59348>>2]*s)+C(0))+C(z[d+59364>>2]*r))+C(z[d+59380>>2]*q);f=f+1|0;if((c|0)!=(f|0)){continue}break}q=C(A[b- -64>>3]);r=C(A[b+56>>3]);s=C(A[b+48>>3]);f=0;while(1){d=f<<2;b=d+a|0;z[(d+e|0)+304>>2]=C(C(C(z[b+59348>>2]*s)+C(0))+C(z[b+59364>>2]*r))+C(z[b+59380>>2]*q);f=f+1|0;if((c|0)!=(f|0)){continue}break}}if(v[a+188>>2]){b=v[a+26132>>2];v[e+32>>2]=v[(v[a+168>>2]<<2)+213532>>2];vb(v[249419],b?213897:213921,e+32|0)}p=eb(a+59396|0,0,131072);if(x[a+26308>>1]){c=v[a+26352>>2];f=x[a+26310>>1];b=f;while(1){n:{if(!(b&65535)){b=0;break n}g=v[a+26336>>2];if(!v[a+26132>>2]){m=g-1|0;d=m&-2;B=m&1;h=0;while(1){q=C(0);f=0;r=C(0);s=C(0);if((g|0)>0){while(1){b=(e+272|0)+(f<<2)|0;S=C(x[(f<<1)+c>>1]);s=C(s+C(z[b+32>>2]*S));r=C(r+C(z[b+16>>2]*S));q=C(q+C(z[b>>2]*S));f=f+1|0;if((g|0)!=(f|0)){continue}break}}i=c;if(C(D(s))>1]=(b|0)>0?b:0;i=c;if(C(D(r))>1]=(b|0)>0?b:0;i=c;if(C(D(q))0?b:0;u[i>>1]=b;o:{if((g|0)<1){break o}f=1;b=((b>>>1&32764)+a|0)+59396|0;v[b>>2]=v[b>>2]+1;b=d;p:{switch(m|0){default:while(1){i=(p+(f<<15)|0)+(x[(f<<1)+c>>1]>>>1&32764)|0;v[i>>2]=v[i>>2]+1;i=f+1|0;i=(p+(i<<15)|0)+(x[(i<<1)+c>>1]>>>1&32764)|0;v[i>>2]=v[i>>2]+1;f=f+2|0;b=b-2|0;if(b){continue}break};break;case 0:break o;case 1:break p}}if(!B){break o}b=(((f<<15)+a|0)+(x[(f<<1)+c>>1]>>>1&32764)|0)+59396|0;v[b>>2]=v[b>>2]+1}c=c+8|0;f=x[a+26310>>1];b=f;h=h+1|0;if(b>>>0>h>>>0){continue}break}break n}m=T<<1&14;B=v[a+192>>2];if((g|0)>=1){d=g&-2;i=g&1;h=0;while(1){if(B){u[c>>1]=x[((v[a+26028>>2]>>>((m|h&1)<<1)&3)<<1)+c>>1]}f=0;b=d;if((g|0)!=1){while(1){n=(p+(f<<15)|0)+(x[(f<<1)+c>>1]>>>1&32764)|0;v[n>>2]=v[n>>2]+1;n=f|1;n=(p+(n<<15)|0)+(x[(n<<1)+c>>1]>>>1&32764)|0;v[n>>2]=v[n>>2]+1;f=f+2|0;b=b-2|0;if(b){continue}break}}if(i){b=(((f<<15)+a|0)+(x[(f<<1)+c>>1]>>>1&32764)|0)+59396|0;v[b>>2]=v[b>>2]+1}c=c+8|0;f=x[a+26310>>1];b=f;h=h+1|0;if(b>>>0>h>>>0){continue}break}break n}if(!B){b=f&65535;c=((b>>>0>1?b:1)<<3)+c|0;b=f;break n}g=v[a+26028>>2];d=0;while(1){u[c>>1]=x[((g>>>((m|d&1)<<1)&3)<<1)+c>>1];c=c+8|0;f=x[a+26310>>1];b=f;d=d+1|0;if(b>>>0>d>>>0){continue}break}}T=T+1|0;if(T>>>0>1]){continue}break}}if(!(!v[a+168>>2]|v[a+26336>>2]!=4)){v[a+26336>>2]=3}if(!(!v[a+192>>2]|!v[a+26028>>2])){v[a+26336>>2]=1}Ma=e+320|0}function Jw(a,b){var 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;d=Ma-128|0;Ma=d;a:{if(!a|!b){break a}h=Yb(1,16);b:{if(!h){break b}e=Yb(50,4);v[h+12>>2]=e;if(!e){break b}v[h+8>>2]=1;v[h>>2]=50;c=h}j=c;v[d+84>>2]=c;q=Ma-16|0;Ma=q;if(!(!c|!b)){h=0;c:{if(!b){break c}g=zb(b);c=Yb(g+1|0,1);if(!c){break c}d:{if((g|0)<1){break d}while(1){e=w[b+h|0];if(e){t[c+h|0]=e;h=h+1|0;if((g|0)!=(h|0)){continue}break d}break}if((g|0)<=(h|0)){break d}eb(c+h|0,0,g-h|0)}h=c}e=h;h=sK(e,q+12|0);if(h){g=j+12|0;c=v[j+4>>2];b=v[j>>2];e:{if((c|0)<(b|0)){b=v[g>>2];break e}b=Kj(g,b<<2,b<<3);v[g>>2]=b;if(!b){break e}v[j>>2]=v[j>>2]<<1}v[(c<<2)+b>>2]=h;v[j+4>>2]=v[j+4>>2]+1}l=sK(0,q+12|0);if(l){h=j+12|0;while(1){c=v[j+4>>2];b=v[j>>2];f:{if((c|0)<(b|0)){b=v[h>>2];break f}b=Kj(h,b<<2,b<<3);v[h>>2]=b;if(!b){break f}v[j>>2]=v[j>>2]<<1}v[(c<<2)+b>>2]=l;v[j+4>>2]=v[j+4>>2]+1;l=sK(0,q+12|0);if(l){continue}break}}$a(e)}Ma=q+16|0;q=j?v[j+4>>2]:0;l=0;f=Ma-400|0;Ma=f;g:{if(j){n=1;e=j?v[j+4>>2]:0;if((e|0)<1){break g}k=v[249419];h:{i:{j:{k:{l:{m:{n:{o:{b=rK(kK(j,0));switch(t[b|0]-66|0){case 1:case 2:case 3:case 13:case 33:case 34:case 35:case 45:break l;case 16:case 48:break m;case 22:case 54:break n;case 0:case 32:break o;default:break k}}v[f+384>>2]=f+396;if((df(b+1|0,13805,f+384|0)|0)!=1){v[f+368>>2]=b;vb(k,26086,f+368|0);break j}p=v[f+396>>2];if((p|0)>0){break h}v[f+356>>2]=p;v[f+352>>2]=b;vb(k,27896,f+352|0);break j}v[f+336>>2]=f+396;if((df(b+1|0,13805,f+336|0)|0)!=1){v[f+320>>2]=b;vb(k,26086,f+320|0);break j}h=v[f+396>>2];c=C3a(h-2|0,31);if(!(c>>>0>7|!(1<>2]|0;break h}v[f+308>>2]=h;v[f+304>>2]=b;vb(k,27896,f+304|0);break j}c=zb(b);o=c-1|0;if(c-2>>>0<=3){if((o|0)<1){break h}n=0;m=w[b+1|0];p:{if((m-49&255)>>>0>3){break p}c=(o|0)>0?o:0;if((c|0)==1){n=1;break h}m=w[b+2|0];if((m-49&255)>>>0>3){l=1;break p}l=2;if((c|0)==2){n=1;break h}m=w[b+3|0];if((m-49&255)>>>0>3){break p}if((c|0)==3){n=1;break h}l=3;m=w[b+4|0];if((m-49&255)>>>0>3){break p}l=4;if((c|0)==4){n=1;break h}m=t[b+5|0]}v[f+292>>2]=l;v[f+288>>2]=b;v[f+296>>2]=(m<<24>>24)-48;vb(k,24219,f+288|0);break i}v[f+276>>2]=o;v[f+272>>2]=b;vb(k,21939,f+272|0);n=0;break i}v[f+260>>2]=f+388;v[f+256>>2]=f+392;if((df(b+1|0,10611,f+256|0)|0)!=2){v[f+240>>2]=b;vb(k,17345,f+240|0);break j}h=v[f+388>>2];c=v[f+392>>2];if((h|0)>0&(c|0)>=1){break h}v[f+232>>2]=h;v[f+228>>2]=c;v[f+224>>2]=b;vb(k,19798,f+224|0);break j}v[f+208>>2]=b;vb(k,30954,f+208|0)}n=0}p=0}$a(b);g=1;if((e|0)!=1){while(1){q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{b=rK(kK(j,g));switch(t[b|0]-66|0){case 0:case 32:break w;case 22:case 54:break x;case 16:case 48:break y;case 1:case 2:case 3:case 13:case 33:case 34:case 35:case 45:break z;default:break v}}v[f+68>>2]=f+388;v[f+64>>2]=f+392;if((df(b+1|0,10611,f- -64|0)|0)!=2){v[f+48>>2]=b;vb(k,17345,f+48|0);break r}h=v[f+388>>2];c=v[f+392>>2];if((h|0)>0&(c|0)>=1){break q}v[f+40>>2]=h;v[f+36>>2]=c;v[f+32>>2]=b;vb(k,19798,f+32|0);break r}c=zb(b);h=c-1|0;o=h+o|0;if(c-2>>>0>3){break t}if((h|0)<1){break q}m=0;l=w[b+1|0];if((l-49&255)>>>0<4){break u}break s}v[f+144>>2]=f+396;if((df(b+1|0,13805,f+144|0)|0)!=1){v[f+128>>2]=b;vb(k,26086,f+128|0);break r}h=v[f+396>>2];c=C3a(h-2|0,31);if(!(1<>>0<=7:0)){v[f+116>>2]=h;v[f+112>>2]=b;vb(k,27896,f+112|0);break r}o=o-v[((h|0)/4<<2)+215040>>2]|0;break q}v[f+192>>2]=f+396;if((df(b+1|0,13805,f+192|0)|0)!=1){v[f+176>>2]=b;vb(k,26086,f+176|0);break r}v[f+160>>2]=b;vb(k,29498,f+160|0);break r}v[f+16>>2]=b;vb(k,30954,f+16|0);break r}c=(h|0)>0?h:0;if((c|0)==1){break q}l=w[b+2|0];if((l-49&255)>>>0>3){m=1;break s}if((c|0)==2){break q}l=w[b+3|0];if((l-49&255)>>>0>3){m=2;break s}if((c|0)==3){break q}m=3;l=w[b+4|0];if((l-49&255)>>>0>3){break s}if((c|0)==4){break q}l=w[b+5|0];m=4;break s}v[f+84>>2]=h;v[f+80>>2]=b;vb(k,21939,f+80|0);break r}v[f+100>>2]=m;v[f+96>>2]=b;v[f+104>>2]=(l<<24>>24)-48;vb(k,24219,f+96|0)}n=0}$a(b);g=g+1|0;if((e|0)!=(g|0)){continue}break}}if(!p|!o){break g}v[f>>2]=b;vb(k,32560,f)}n=0}Ma=f+400|0;if(!n){lK(d+84|0);break a}v[d+112>>2]=0;a=se(0,a);v[d+88>>2]=0;v[d+92>>2]=a;A:{if((q|0)<1){break A}h=d+92|0;b=0;while(1){B:{C:{D:{E:{F:{G:{H:{I:{m=rK(kK(j,b));switch(t[m|0]-66|0){case 0:case 32:break C;case 22:case 54:break D;case 16:case 48:break E;case 1:case 33:break F;case 13:case 45:break G;case 3:case 35:break H;case 2:case 34:break I;default:break B}}v[d+4>>2]=d+116;v[d>>2]=d+120;df(m+1|0,10611,d);l=0;e=Ma-16|0;Ma=e;i=v[d+92>>2];a=v[d+120>>2];c=v[d+116>>2];J:{if(!i|(((i?v[i+8>>2]:-1)|0)!=1|(a|0)<1)|(c|0)<1){break J}if(!((a|0)!=1|(c|0)!=1)){l=se(0,i);break J}if(!((a|0)!=1&(c|0)!=1)){a=Ai(c,a,c>>>1|0,a>>>1|0);v[e+12>>2]=a;l=Rk(0,i,a);Vi(e+12|0);break J}a=Ai(1,a,0,a>>>1|0);v[e+8>>2]=a;c=Ai(c,1,c>>>1|0,0);v[e+4>>2]=c;a=Rk(0,i,a);v[e+12>>2]=a;l=Rk(0,a,c);_b(e+12|0);Vi(e+8|0);Vi(e+4|0)}Ma=e+16|0;v[d+88>>2]=l;_b(d+92|0);a=v[d+88>>2];if(a){v[a+16>>2]=v[a+16>>2]+1}v[d+92>>2]=a;_b(d+88|0);break B}v[d+20>>2]=d+116;v[d+16>>2]=d+120;df(m+1|0,10611,d+16|0);l=0;e=Ma-16|0;Ma=e;i=v[d+92>>2];a=v[d+120>>2];c=v[d+116>>2];K:{if(!i|(((i?v[i+8>>2]:-1)|0)!=1|(a|0)<1)|(c|0)<1){break K}if(!((a|0)!=1|(c|0)!=1)){l=se(0,i);break K}if(!((a|0)!=1&(c|0)!=1)){a=Ai(c,a,c>>>1|0,a>>>1|0);v[e+12>>2]=a;l=Qk(0,i,a);Vi(e+12|0);break K}a=Ai(1,a,0,a>>>1|0);v[e+8>>2]=a;c=Ai(c,1,c>>>1|0,0);v[e+4>>2]=c;a=Qk(0,i,a);v[e+12>>2]=a;l=Qk(0,a,c);_b(e+12|0);Vi(e+8|0);Vi(e+4|0)}Ma=e+16|0;v[d+88>>2]=l;_b(d+92|0);a=v[d+88>>2];if(a){v[a+16>>2]=v[a+16>>2]+1}v[d+92>>2]=a;_b(d+88|0);break B}v[d+36>>2]=d+116;v[d+32>>2]=d+120;df(m+1|0,10611,d+32|0);e=v[d+92>>2];j=e;g=Ma-16|0;Ma=g;c=v[d+120>>2];a=v[d+116>>2];L:{if(!e|(((e?v[e+8>>2]:-1)|0)!=1|(c|0)<1)|(a|0)<1){break L}if(!((c|0)!=1|(a|0)!=1)){se(j,e);break L}if(!((c|0)!=1&(a|0)!=1)){c=Ai(a,c,a>>>1|0,c>>>1|0);v[g+12>>2]=c;i=Ma-16|0;Ma=i;M:{N:{O:{P:{if(!e|!c|((e?v[e+8>>2]:-1)|0)!=1){break P}Uq(c,i+12|0,i+8|0,0,0);if(!v[i+12>>2]|!v[i+8>>2]){break P}if(j){break O}j=Ct(e)}if(j){break N}break M}BK(j,e)}a=Qk(0,e,c);v[i+4>>2]=a;if(!a){break M}Rk(j,a,c);_b(i+4|0)}Ma=i+16|0;Vi(g+12|0);break L}i=Ai(1,c,0,c>>>1|0);v[g+8>>2]=i;c=Ai(a,1,a>>>1|0,0);v[g+4>>2]=c;e=Qk(0,e,i);v[g+12>>2]=e;a=Qk(j,e,c);Rk(e,a,i);Rk(a,e,c);_b(g+12|0);Vi(g+8|0);Vi(g+4|0)}Ma=g+16|0;break B}v[d+52>>2]=d+116;v[d+48>>2]=d+120;df(m+1|0,10611,d+48|0);e=v[d+92>>2];p=e;k=Ma-32|0;Ma=k;n=v[d+120>>2];o=v[d+116>>2];Q:{if(!e|(((e?v[e+8>>2]:-1)|0)!=1|(n|0)<1)|(o|0)<1){break Q}if(!((n|0)!=1|(o|0)!=1)){se(p,e);break Q}if(!v[256545]){g=Ma-16|0;Ma=g;R:{if(!e|(((e?v[e+8>>2]:-1)|0)!=1|(n|0)<1)|(o|0)<1){break R}if(!((n|0)!=1|(o|0)!=1)){se(p,e);break R}if(!((n|0)!=1&(o|0)!=1)){a=Ai(o,n,o>>>1|0,n>>>1|0);v[g+12>>2]=a;K2(p,e,a);Vi(g+12|0);break R}i=Ai(1,n,0,n>>>1|0);v[g+8>>2]=i;c=Ai(o,1,o>>>1|0,0);v[g+4>>2]=c;e=Rk(0,e,i);v[g+12>>2]=e;a=Rk(p,e,c);Qk(e,a,i);Qk(a,e,c);_b(g+12|0);Vi(g+8|0);Vi(g+4|0)}Ma=g+16|0;break Q}i=n>>>1|0;a=o>>>1|0;c=(a>>>0>>0?i:a)+31&-32;g=c3(e,c);v[k+28>>2]=g;S:{if(!((n|0)!=1&(o|0)!=1)){a=Ai(o,n,a,i);v[k+16>>2]=a;a=K2(0,g,a);v[k+20>>2]=a;e=k+16|0;break S}e=Ai(1,n,0,i);v[k+16>>2]=e;i=Ai(o,1,a,0);v[k+12>>2]=i;g=Rk(0,g,e);v[k+24>>2]=g;a=Rk(0,g,i);v[k+20>>2]=a;Qk(g,a,e);Qk(a,g,i);_b(k+24|0);Vi(k+16|0);e=k+12|0}Vi(e);r=k,s=yK(a,c),v[r+24>>2]=s;_b(k+28|0);_b(k+20|0);if(!p){break Q}se(p,v[k+24>>2]);_b(k+24|0)}Ma=k+32|0;break B}i=zb(m);g=i-1|0;T:{if((g|0)>=1){a=g&3;j=0;if(i-2>>>0>=3){l=g&-4;while(1){e=d+96|0;c=j|1;v[e+(j<<2)>>2]=t[c+m|0]-48;p=e+(c<<2)|0;c=j|2;v[p>>2]=t[c+m|0]-48;p=e+(c<<2)|0;c=j|3;v[p>>2]=t[c+m|0]-48;j=j+4|0;v[e+(c<<2)>>2]=t[m+j|0]-48;l=l-4|0;if(l){continue}break}}if(a){while(1){e=(d+96|0)+(j<<2)|0;j=j+1|0;v[e>>2]=t[m+j|0]-48;a=a-1|0;if(a){continue}break}}if((g|0)>3){break T}}a=i<<2;eb(a+h|0,0,20-a|0)}r=d,s=mK(v[d+92>>2],v[d+96>>2],v[d+100>>2],v[d+104>>2],v[d+108>>2]),v[r+88>>2]=s;_b(d+92|0);a=v[d+88>>2];if(a){v[a+16>>2]=v[a+16>>2]+1}v[d+92>>2]=a;_b(d+88|0);break B}v[d+64>>2]=d+124;df(m+1|0,13805,d- -64|0);r=d,s=f3(v[d+92>>2],v[d+124>>2]),v[r+88>>2]=s;_b(d+92|0);a=v[d+88>>2];if(a){v[a+16>>2]=v[a+16>>2]+1}v[d+92>>2]=a;_b(d+88|0);break B}v[d+80>>2]=d+112;df(m+1|0,13805,d+80|0);r=d,s=c3(v[d+92>>2],v[d+112>>2]),v[r+88>>2]=s;_b(d+92|0);a=v[d+88>>2];if(a){v[a+16>>2]=v[a+16>>2]+1}v[d+92>>2]=a;_b(d+88|0)}$a(m);b=b+1|0;if((q|0)!=(b|0)){j=v[d+84>>2];continue}break}a=v[d+112>>2];if((a|0)<1){break A}r=d,s=yK(v[d+92>>2],a),v[r+88>>2]=s;_b(d+92|0);a=v[d+88>>2];if(a){v[a+16>>2]=v[a+16>>2]+1}v[d+92>>2]=a;_b(d+88|0)}lK(d+84|0);i=v[d+92>>2]}Ma=d+128|0;return i}function Hva(a,b,c,d,e,f,g,h,i,k,l,m){a=a|0;b=b|0;c=+c;d=+d;e=+e;f=+f;g=+g;h=+h;i=i|0;k=k|0;l=l|0;m=m|0;var n=0,p=0,q=0,r=0,s=0,u=0,z=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,L=0;k=Ma-272|0;Ma=k;a:{if(w[a+203|0]){break a}p=v[a+168>>2];if(!p){break a}v[k+240>>2]=0;v[k+244>>2]=0;v[k+232>>2]=0;v[k+236>>2]=0;v[k+224>>2]=0;v[k+228>>2]=0;b:{if(!NW(p,v[b+492>>2]+8|0,k+216|0)){break b}q=v[b+592>>2];if((q|0)==3){break b}h=A[b+512>>3];C=A[b+520>>3];r=A[b+528>>3];g=A[b+504>>3];v[k+152>>2]=0;v[k+156>>2]=1076101120;p=v[a+104>>2];Qa[v[v[p>>2]+232>>2]](p,k+152|0)|0;h=K(g*g+h*h);g=K(C*C+r*r);r=g>h?h:g;u=1/r;p=v[a+104>>2];h=A[k+152>>3];g=r*h;c:{if(g>0){A[k+160>>3]=g;Qa[v[v[p>>2]+236>>2]](p,k+160|0)|0;h=-A[b+520>>3];g=-A[b+528>>3];break c}A[k+160>>3]=r*-h;Qa[v[v[p>>2]+236>>2]](p,k+160|0)|0;h=A[b+520>>3];g=A[b+528>>3]}C=u*A[b+504>>3];F=A[b+16>>3];r=u*A[b+512>>3];G=A[b+32>>3];D=C*F+r*G;A[k+160>>3]=D;H=A[b+24>>3];I=A[b+40>>3];h=u*h;g=u*g;E=F*h+G*g;A[k+176>>3]=E;u=h*H+g*I;h=-u;A[k+184>>3]=h;r=C*H+r*I;g=-r;A[k+168>>3]=g;A[k+192>>3]=F*c+G*d+A[b+48>>3];A[k+200>>3]=A[b+104>>3]-(H*c+I*d+A[b+56>>3]);d=K(E*E+u*u);c=K(D*D+r*r);c=c>d?d:c;if(c>.001){A[k+184>>3]=h/c;A[k+176>>3]=E/c;A[k+168>>3]=g/c;A[k+160>>3]=D/c;v[k>>2]=0;v[k+4>>2]=1072693248;p=v[a+104>>2];Qa[v[v[p>>2]+232>>2]](p,k)|0;p=v[a+104>>2];A[k+120>>3]=c*A[k>>3];Qa[v[v[p>>2]+236>>2]](p,k+120|0)|0}v[k+144>>2]=0;v[k+148>>2]=0;v[k+136>>2]=0;v[k+140>>2]=0;Es(a,k+160|0,k+144|0,k+136|0,1);v[k+128>>2]=0;v[k+120>>2]=0;v[k+124>>2]=0;p=v[k+252>>2];d:{if(!(!p|y[k+260>>2]<=i>>>0)){qN(k+120|0,x[p+(i<<2)>>1]);break d}p=v[b+492>>2];if(Qa[v[v[p>>2]+8>>2]](p)|0){qN(k+120|0,i);break d}Rd(k+120|0,875884)}p=v[k+248>>2];e:{if(!(!p|y[k+256>>2]<=i>>>0)){p=v[p+(i<<2)>>2];v[k+116>>2]=p;p=(p|0)!=0;break e}v[k+116>>2]=i?i:65534;p=1}v[k+112>>2]=0;v[k+104>>2]=0;v[k+108>>2]=0;f:{if(v[a+108>>2]!=1){break f}i=i?i:65534;b=v[b+492>>2];if(Qa[v[v[b>>2]+8>>2]](b)|0){v[k+8>>2]=0;v[k>>2]=0;v[k+4>>2]=0;b=sb(k+88|0,879180);wc(k,b,1);if(t[b+11|0]<=-1){$a(v[b>>2])}n=sb(k+88|0,879216);s=i;i=sb(k+72|0,875884);b=sb(k+56|0,875884);Wc(k,n,s,i,b);if(t[b+11|0]<=-1){$a(v[b>>2])}if(t[i+11|0]<=-1){$a(v[i>>2])}if(t[n+11|0]<=-1){$a(v[n>>2])}n=sb(k+88|0,879232);l=x[l>>1];i=sb(k+72|0,875884);b=sb(k+56|0,875884);Wc(k,n,l,i,b);if(t[b+11|0]<=-1){$a(v[b>>2])}if(t[i+11|0]<=-1){$a(v[i>>2])}if(t[n+11|0]<=-1){$a(v[n>>2])}l=sb(k+88|0,879252);i=sb(k+72|0,875884);b=sb(k+56|0,875884);Wc(k,l,m,i,b);if(t[b+11|0]<=-1){$a(v[b>>2])}if(t[i+11|0]<=-1){$a(v[i>>2])}if(t[l+11|0]<=-1){$a(v[l>>2])}b=sb(k+88|0,879180);kc(k,879360);if(t[b+11|0]<=-1){$a(v[b>>2])}Rd(k+104|0,t[k+11|0]<0?v[k>>2]:k);if(t[k+11|0]>-1){break f}$a(v[k>>2]);break f}v[k+8>>2]=0;v[k>>2]=0;v[k+4>>2]=0;b=sb(k+88|0,879180);wc(k,b,1);if(t[b+11|0]<=-1){$a(v[b>>2])}l=sb(k+88|0,879232);m=i;i=sb(k+72|0,875884);b=sb(k+56|0,875884);Wc(k,l,m,i,b);if(t[b+11|0]<=-1){$a(v[b>>2])}if(t[i+11|0]<=-1){$a(v[i>>2])}if(t[l+11|0]<=-1){$a(v[l>>2])}b=sb(k+88|0,879180);kc(k,879360);if(t[b+11|0]<=-1){$a(v[b>>2])}Rd(k+104|0,t[k+11|0]<0?v[k>>2]:k);if(t[k+11|0]>-1){break f}$a(v[k>>2])}if(!(!(1<>>0>6|v[a+108>>2]==1)){b=v[a+104>>2];A[k>>3]=(A[k+144>>3]+0)/72*25.4;A[k+88>>3]=A[k+136>>3]/72*25.4;A[k+72>>3]=e/72*25.4;A[k+56>>3]=f/72*25.4;Qa[v[v[b>>2]+284>>2]](b,k+120|0,k+116|0,p,k,k+88|0,k+72|0,k+56|0)|0}if((q&-5)-1>>>0<=1){b=v[a+104>>2];v[k>>2]=256;Qa[v[v[b>>2]+288>>2]](b,k)|0;b=v[a+104>>2];v[k>>2]=256;Qa[v[v[b>>2]+292>>2]](b,k)|0}g:{if((q|0)<4){break g}v[k+96>>2]=0;v[k+88>>2]=0;v[k+92>>2]=0;v[k+80>>2]=0;v[k+72>>2]=0;v[k+76>>2]=0;v[k- -64>>2]=0;v[k+56>>2]=0;v[k+60>>2]=0;Ap(k+56|0,v[k+116>>2]);b=v[a+104>>2];Qa[v[v[b>>2]+216>>2]](b,k+88|0)|0;b=v[a+104>>2];Qa[v[v[b>>2]+224>>2]](b,k+72|0)|0;b=v[a+104>>2];Qa[v[v[b>>2]+232>>2]](b,k+48|0)|0;b=v[a+104>>2];Qa[v[v[b>>2]+240>>2]](b,k+44|0)|0;b=v[a+196>>2];if(!b){v[k+32>>2]=0;v[k+24>>2]=0;v[k+28>>2]=0;v[k+16>>2]=0;v[k+20>>2]=0;v[k+8>>2]=0;v[k+12>>2]=0;v[k>>2]=0;v[k+4>>2]=0;b=ab(16);v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[k+40>>2]=b;i=0;n=a+176|0;l=v[n+20>>2]+v[n+16>>2]|0;p=v[n+8>>2];m=v[n+4>>2];b=p-m|0;if((l|0)==((b?B(b>>2,93)-1|0:0)|0)){Dz(n);p=v[n+8>>2];m=v[n+4>>2];l=v[n+16>>2]+v[n+20>>2]|0}if((m|0)!=(p|0)){b=(l>>>0)/93|0;i=v[(b<<2)+m>>2]+B(l-B(b,93)|0,44)|0}v[i>>2]=0;v[i+4>>2]=0;v[i+32>>2]=0;v[i+24>>2]=0;v[i+28>>2]=0;v[i+16>>2]=0;v[i+20>>2]=0;v[i+8>>2]=0;v[i+12>>2]=0;b=ab(16);Cz(b,v[k+40>>2]);v[i+40>>2]=b;v[n+20>>2]=v[n+20>>2]+1;b=v[k+40>>2];if(b){$a(Fs(b))}b=v[k+24>>2];if(b){v[k+28>>2]=b;$a(b)}b=v[k+12>>2];if(b){$a(b)}b=v[k>>2];if(b){v[k+4>>2]=b;$a(b)}b=v[a+196>>2]}e=A[k+48>>3];p=v[k+44>>2];d=A[k+144>>3]+0;c=A[k+136>>3];i=0;m=0;l=(v[a+192>>2]+b|0)-1|0;b=(l>>>0)/93|0;s=v[(v[v[a+180>>2]+(b<<2)>>2]+B(l-B(b,93)|0,44)|0)+40>>2];n=s;l=v[n+8>>2]+1|0;b=v[n+12>>2];if((l|0)>(b|0)){if(!b){v[n+12>>2]=32;b=32}if((b|0)<(l|0)){while(1){b=b<<1;if((l|0)>(b|0)){continue}break}v[n+12>>2]=b}l=v[n>>2];h:{if(!b){if(!l){break h}$a(l);break h}if((b|0)<=0){if(!l){break h}$a(l);break h}b=b<<6;if(l){m=Wd(l,b);break h}m=gb(b)}v[n>>2]=m;l=v[n+4>>2];b=v[n+12>>2];i:{if(!b){m=0;if(!l){break i}$a(l);break i}m=0;if((b|0)<=0){if(!l){break i}$a(l);break i}b=B(b,48);if(l){m=Wd(l,b);break i}m=gb(b)}v[n+4>>2]=m}l=k+88|0;b=w[l+11|0];m=b<<24>>24<0?v[l+4>>2]:b;b=m+1|0;n=ab((b|0)!=(b&1073741823)?-1:b<<2);v[n+(m<<2)>>2]=0;if((m|0)>=1){while(1){J=n+(i<<2)|0,L=v[Qj(l,i)>>2],v[J>>2]=L;i=i+1|0;if((m|0)!=(i|0)){continue}break}}m=v[s>>2];l=v[s+8>>2];b=m+(l<<6)|0;t[b|0]=n;t[b+1|0]=n>>>8;t[b+2|0]=n>>>16;t[b+3|0]=n>>>24;i=0;n=k+72|0;b=w[n+11|0];q=b<<24>>24<0?v[n+4>>2]:b;b=q+1|0;z=ab((b|0)!=(b&1073741823)?-1:b<<2);v[z+(q<<2)>>2]=0;if((q|0)>=1){while(1){J=z+(i<<2)|0,L=v[Qj(n,i)>>2],v[J>>2]=L;i=i+1|0;if((q|0)!=(i|0)){continue}break}m=v[s>>2];l=v[s+8>>2]}n=(l<<6)+m|0;t[n+16|0]=p;t[n+17|0]=p>>>8;t[n+18|0]=p>>>16;t[n+19|0]=p>>>24;o(+e);i=j(1)|0;b=j(0)|0;t[n+8|0]=b;t[n+9|0]=b>>>8;t[n+10|0]=b>>>16;t[n+11|0]=b>>>24;t[n+12|0]=i;t[n+13|0]=i>>>8;t[n+14|0]=i>>>16;t[n+15|0]=i>>>24;t[n+4|0]=z;t[n+5|0]=z>>>8;t[n+6|0]=z>>>16;t[n+7|0]=z>>>24;i=0;p=k+56|0;b=w[p+11|0];n=b<<24>>24<0?v[p+4>>2]:b;b=n+1|0;q=ab((b|0)!=(b&1073741823)?-1:b<<2);v[q+(n<<2)>>2]=0;if((n|0)>=1){while(1){J=q+(i<<2)|0,L=v[Qj(p,i)>>2],v[J>>2]=L;i=i+1|0;if((n|0)!=(i|0)){continue}break}m=v[s>>2];l=v[s+8>>2]}o(0);i=j(1)|0;m=(l<<6)+m|0;b=j(0)|0;t[m+56|0]=b;t[m+57|0]=b>>>8;t[m+58|0]=b>>>16;t[m+59|0]=b>>>24;t[m+60|0]=i;t[m+61|0]=i>>>8;t[m+62|0]=i>>>16;t[m+63|0]=i>>>24;o(0);i=j(1)|0;b=j(0)|0;t[m+48|0]=b;t[m+49|0]=b>>>8;t[m+50|0]=b>>>16;t[m+51|0]=b>>>24;t[m+52|0]=i;t[m+53|0]=i>>>8;t[m+54|0]=i>>>16;t[m+55|0]=i>>>24;o(0);i=j(1)|0;b=j(0)|0;t[m+40|0]=b;t[m+41|0]=b>>>8;t[m+42|0]=b>>>16;t[m+43|0]=b>>>24;t[m+44|0]=i;t[m+45|0]=i>>>8;t[m+46|0]=i>>>16;t[m+47|0]=i>>>24;o(+c);i=j(1)|0;b=j(0)|0;t[m+32|0]=b;t[m+33|0]=b>>>8;t[m+34|0]=b>>>16;t[m+35|0]=b>>>24;t[m+36|0]=i;t[m+37|0]=i>>>8;t[m+38|0]=i>>>16;t[m+39|0]=i>>>24;o(+d);i=j(1)|0;b=j(0)|0;t[m+24|0]=b;t[m+25|0]=b>>>8;t[m+26|0]=b>>>16;t[m+27|0]=b>>>24;t[m+28|0]=i;t[m+29|0]=i>>>8;t[m+30|0]=i>>>16;t[m+31|0]=i>>>24;t[m+20|0]=q;t[m+21|0]=q>>>8;t[m+22|0]=q>>>16;t[m+23|0]=q>>>24;m=v[s+4>>2]+B(l,48)|0;o(+A[k+160>>3]);i=j(1)|0;b=j(0)|0;t[m|0]=b;t[m+1|0]=b>>>8;t[m+2|0]=b>>>16;t[m+3|0]=b>>>24;t[m+4|0]=i;t[m+5|0]=i>>>8;t[m+6|0]=i>>>16;t[m+7|0]=i>>>24;o(+A[k+168>>3]);i=j(1)|0;b=j(0)|0;t[m+8|0]=b;t[m+9|0]=b>>>8;t[m+10|0]=b>>>16;t[m+11|0]=b>>>24;t[m+12|0]=i;t[m+13|0]=i>>>8;t[m+14|0]=i>>>16;t[m+15|0]=i>>>24;o(+A[k+176>>3]);i=j(1)|0;b=j(0)|0;t[m+16|0]=b;t[m+17|0]=b>>>8;t[m+18|0]=b>>>16;t[m+19|0]=b>>>24;t[m+20|0]=i;t[m+21|0]=i>>>8;t[m+22|0]=i>>>16;t[m+23|0]=i>>>24;o(+A[k+184>>3]);i=j(1)|0;b=j(0)|0;t[m+24|0]=b;t[m+25|0]=b>>>8;t[m+26|0]=b>>>16;t[m+27|0]=b>>>24;t[m+28|0]=i;t[m+29|0]=i>>>8;t[m+30|0]=i>>>16;t[m+31|0]=i>>>24;o(+A[k+192>>3]);i=j(1)|0;b=j(0)|0;t[m+32|0]=b;t[m+33|0]=b>>>8;t[m+34|0]=b>>>16;t[m+35|0]=b>>>24;t[m+36|0]=i;t[m+37|0]=i>>>8;t[m+38|0]=i>>>16;t[m+39|0]=i>>>24;o(+A[k+200>>3]);i=j(1)|0;b=j(0)|0;t[m+40|0]=b;t[m+41|0]=b>>>8;t[m+42|0]=b>>>16;t[m+43|0]=b>>>24;t[m+44|0]=i;t[m+45|0]=i>>>8;t[m+46|0]=i>>>16;t[m+47|0]=i>>>24;v[s+8>>2]=l+1;t[a+200|0]=1;if(t[k+67|0]<=-1){$a(v[k+56>>2])}if(t[k+83|0]<=-1){$a(v[k+72>>2])}if(t[k+99|0]>-1){break g}$a(v[k+88>>2])}a=v[a+104>>2];Qa[v[v[a>>2]+236>>2]](a,k+152|0)|0;if(t[k+115|0]<=-1){$a(v[k+104>>2])}if(t[k+131|0]>-1){break b}$a(v[k+120>>2])}if(t[k+247|0]<=-1){$a(v[k+236>>2])}if(t[k+235|0]>-1){break a}$a(v[k+224>>2])}Ma=k+272|0}function OL(a){var 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,u=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=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;I=a+16|0;J=a+12|0;ca=a+80|0;h=v[a+72>>2];while(1){t[a+101|0]=0;if(!h){b=v[a+96>>2]+1|0;v[a+96>>2]=b;v[a+32>>2]=0;v[a+36>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;t[a+100|0]=1;a:{c=v[a+76>>2];d=v[c>>2];if((d|0)>(b|0)){h=v[v[c+8>>2]+(b<<2)>>2];break a}h=ca;if((b|0)==(d|0)){break a}return 1}v[a+72>>2]=h}b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{switch(w[h|0]){case 0:if(!w[a+100|0]){P=v[a+20>>2];K=v[a+32>>2];n=v[P+4>>2]+(K<<2)|0;break m}T=0;t[a+100|0]=0;b=0;break d;case 1:if(!w[a+100|0]){y=v[a+32>>2];M=v[a+20>>2];if((y|0)>=v[M>>2]){break n}n=v[M+4>>2]+(y<<2)|0;break l}t[a+100|0]=0;U=w[h+1|0];b=0;break e;case 2:if(!w[a+100|0]){z=v[a+36>>2]+1|0;break k}v[a+48>>2]=0;v[a+52>>2]=0;k=v[a+8>>2];if((k|0)>=1){e=v[J>>2];b=0;c=0;l=0;while(1){q=v[e>>2];if((q|0)>=1){j=v[e+12>>2];i=v[e+8>>2];d=v[e+4>>2];f=0;while(1){m=q+(f^-1)|0;g=j<>2];b=b?(b|0)<(g|0)?b:g:g;g=i<>2];c=c?(c|0)<(g|0)?c:g:g;d=d+20|0;f=f+1|0;if((q|0)!=(f|0)){continue}break}v[a+52>>2]=b;v[a+48>>2]=c}e=e+16|0;l=l+1|0;if((k|0)!=(l|0)){continue}break}}t[a+100|0]=0;q=w[h+1|0];b=0;break f;case 3:if(!w[a+100|0]){A=v[a+36>>2]+1|0;break j}v[a+48>>2]=0;v[a+52>>2]=0;V=v[a+8>>2];if((V|0)>=1){e=v[J>>2];b=0;c=0;l=0;while(1){C=v[e>>2];if((C|0)>=1){k=v[e+12>>2];j=v[e+8>>2];d=v[e+4>>2];f=0;while(1){i=C+(f^-1)|0;g=k<>2];b=b?(b|0)<(g|0)?b:g:g;g=j<>2];c=c?(c|0)<(g|0)?c:g:g;d=d+20|0;f=f+1|0;if((C|0)!=(f|0)){continue}break}v[a+52>>2]=b;v[a+48>>2]=c}e=e+16|0;l=l+1|0;if((V|0)!=(l|0)){continue}break}}t[a+100|0]=0;C=v[a+60>>2];b=0;break g;case 4:break o;default:break b}}if(!w[a+100|0]){D=v[a+36>>2]+1|0;break i}t[a+100|0]=0;Q=v[h+4>>2];v[a+24>>2]=Q;o=v[a+12>>2]+(Q<<4)|0;b=0;break h}O(9530,7424,190,189382);L()}b=1;break d}b=1;break e}b=1;break f}b=1;break g}b=1}p:while(1){q:{r:{if(!b){v[I>>2]=o;if(v[h+8>>2]<=(Q|0)){break b}l=v[o+8>>2];e=v[o>>2];r=e-1|0;b=v[o+4>>2];d=l<>2];v[a+48>>2]=d;g=v[o+12>>2];f=g<>2];v[a+52>>2]=f;if((e|0)>=2){c=1;if((e|0)!=2){k=r&-2;while(1){j=e+(c^-1)|0;i=g<>2];f=(f|0)<(i|0)?f:i;i=(e-c|0)-2|0;m=g<>2];f=(f|0)<(m|0)?f:m;j=l<>2];d=(d|0)<(j|0)?d:j;j=l<>2];d=(d|0)<(j|0)?d:j;c=c+2|0;b=b+40|0;k=k-2|0;if(k){continue}break}}if(r&1){c=e+(c^-1)|0;e=g<>2];f=(e|0)>(f|0)?f:e;b=l<>2];d=(b|0)>(d|0)?d:b}v[a+52>>2]=f;v[a+48>>2]=d}r=v[a+60>>2];b=0;break r}v[a+36>>2]=D;if(!(v[a>>2]<=(D|0)|v[h+12>>2]<=(D|0))){n=v[v[a+20>>2]+4>>2]+(v[a+32>>2]<<2)|0;b=v[n>>2];if((D|0)>=(b|0)){break c}D=D+1|0;break q}b=1}s:while(1){t:{u:{v:{if(!b){v[a+44>>2]=r;if(v[a+68>>2]<=(r|0)){break v}Y=v[a+56>>2];b=0;break t}E=v[a+28>>2]+1|0;v[a+28>>2]=E;F=v[a+20>>2]+20|0;v[a+20>>2]=F;o=v[a+16>>2];break u}Q=v[a+24>>2]+1|0;v[a+24>>2]=Q;o=o+16|0;b=0;continue p}b=1}while(1){w:{x:{y:{z:{A:{if(!b){v[a+40>>2]=Y;if(v[a+64>>2]<=(Y|0)){break A}E=w[h+1|0];v[a+28>>2]=E;F=v[o+4>>2]+B(E,20)|0;v[a+20>>2]=F;b=1;continue}b=v[o>>2];if(!((b|0)<=(E|0)|w[h+2|0]<=(E|0))){m=v[F>>2];if(!m){break x}s=v[o+12>>2];b=b+(E^-1)|0;d=s<>2];f=(u+i|0)/(d|0)|0;x=v[o+8>>2];e=x<>2];l=(R+j|0)/(e|0)|0;c=v[F+12>>2];p=j;j=v[a+40>>2];g=v[F+8>>2];k=g+b|0;if(!((j|0)%(x<>2];k=b+c|0;if(!((i|0)%(s<>g)-(l>>>g|0)|0)+B(v[F+16>>2],((i+u|0)/(d|0)>>c)-(f>>>c|0)|0)|0;v[a+32>>2]=b;D=0;if((b|0)>=(m|0)){break z}break q}b=v[a+40>>2];c=v[a+48>>2];Y=b+c-(b|0)%(c|0)|0;break w}b=v[a+44>>2];c=v[a+52>>2];r=b+c-(b|0)%(c|0)|0;break y}O(9530,7424,478,189430);L()}b=0;continue s}b=1;continue s}b=0;continue}}}b=1;continue}}B:while(1){C:{D:{if(!b){v[a+44>>2]=C;if(v[a+68>>2]<=(C|0)){break b}Z=v[a+56>>2];b=0;break D}v[a+36>>2]=A;if(!(v[a>>2]<=(A|0)|v[h+12>>2]<=(A|0))){n=v[v[a+20>>2]+4>>2]+(v[a+32>>2]<<2)|0;b=v[n>>2];if((A|0)>=(b|0)){break c}A=A+1|0;break C}b=1}E:while(1){F:{G:{H:{if(!b){v[a+40>>2]=Z;if(v[a+64>>2]<=(Z|0)){break H}N=v[h+4>>2];v[a+24>>2]=N;b=v[J>>2]+(N<<4)|0;v[I>>2]=b;c=0;break F}G=v[a+28>>2]+1|0;v[a+28>>2]=G;H=v[a+20>>2]+20|0;v[a+20>>2]=H;b=v[a+16>>2];break G}b=v[a+44>>2];c=v[a+52>>2];C=b+c-(b|0)%(c|0)|0;b=0;continue B}c=1}while(1){I:{J:{K:{L:{M:{if(!c){if(v[h+8>>2]<=(N|0)|(N|0)>=(V|0)){break M}G=w[h+1|0];v[a+28>>2]=G;H=v[b+4>>2]+B(G,20)|0;v[a+20>>2]=H;c=1;continue}c=v[b>>2];if(!((c|0)<=(G|0)|w[h+2|0]<=(G|0))){m=v[H>>2];if(!m){break J}s=v[b+12>>2];c=c+(G^-1)|0;d=s<>2];f=(u+i|0)/(d|0)|0;x=v[b+8>>2];e=x<>2];l=(R+j|0)/(e|0)|0;b=v[H+12>>2];p=j;j=v[a+40>>2];g=v[H+8>>2];k=g+c|0;if(!((j|0)%(x<>2];k=b+c|0;if(!((i|0)%(s<>g)-(l>>>g|0)|0)+B(v[H+16>>2],((i+u|0)/(d|0)>>b)-(f>>>b|0)|0)|0;v[a+32>>2]=b;A=0;if((b|0)>=(m|0)){break L}break C}b=b+16|0;v[a+16>>2]=b;N=v[a+24>>2]+1|0;v[a+24>>2]=N;V=v[a+8>>2];break I}b=v[a+40>>2];c=v[a+48>>2];Z=b+c-(b|0)%(c|0)|0;break K}O(9530,7424,391,189414);L()}b=0;continue E}b=1;continue E}c=0;continue}}}b=1;continue}}N:while(1){O:{P:{if(!b){v[a+28>>2]=q;if(w[h+2|0]<=(q|0)|v[a+4>>2]<=(q|0)){break b}_=v[a+60>>2];b=0;break P}v[a+36>>2]=z;if(!(v[a>>2]<=(z|0)|v[h+12>>2]<=(z|0))){n=v[v[a+20>>2]+4>>2]+(v[a+32>>2]<<2)|0;b=v[n>>2];if((z|0)>=(b|0)){break c}z=z+1|0;break O}b=1}Q:while(1){R:{S:{T:{if(!b){v[a+44>>2]=_;if(v[a+68>>2]<=(_|0)){break T}$=v[a+56>>2];b=0;break R}aa=1;S=v[a+24>>2]+1|0;ba=I;break S}q=v[a+28>>2]+1|0;b=0;continue N}b=1}while(1){U:{V:{W:{X:{Y:{if(!b){v[a+40>>2]=$;if(v[a+64>>2]<=($|0)){break Y}ba=J;S=v[h+4>>2];aa=S;b=1;continue}v[a+24>>2]=S;c=v[ba>>2]+(aa<<4)|0;v[I>>2]=c;if(!(v[h+8>>2]<=(S|0)|v[a+8>>2]<=(S|0))){b=v[a+28>>2];f=v[c>>2];if((b|0)>=(f|0)){break V}d=v[c+4>>2]+B(b,20)|0;v[a+20>>2]=d;s=v[d>>2];if(!s){break V}b=f+(b^-1)|0;e=v[c+12>>2]<>2];l=(u+m|0)/(e|0)|0;g=v[c+8>>2]<>2];k=(x+i|0)/(g|0)|0;f=v[d+12>>2];j=v[d+8>>2];c=j+b|0;p=i;i=v[a+40>>2];Z:{_:{if((p|0)!=(i|0)){c=-1<>2];$:{aa:{if((p|0)!=(m|0)){c=-1<>j)-(k>>>j|0)|0)+B(v[d+16>>2],((m+u|0)/(e|0)>>f)-(l>>>f|0)|0)|0;v[a+32>>2]=b;z=0;if((b|0)>=(s|0)){break X}break O}b=v[a+40>>2];c=v[a+48>>2];$=b+c-(b|0)%(c|0)|0;break U}b=v[a+44>>2];c=v[a+52>>2];_=b+c-(b|0)%(c|0)|0;break W}O(9530,7424,297,189398);L()}b=0;continue Q}b=1;continue Q}b=0;continue}}}b=1;continue}}ba:while(1){ca:{if(!b){v[a+28>>2]=U;if(v[a+4>>2]<=(U|0)){break b}W=0;if(w[h+2|0]<=(U|0)){break b}b=0;break ca}y=y+1|0;v[a+32>>2]=y;n=n+4|0;b=1}da:while(1){ea:{fa:{if(!b){v[a+36>>2]=W;if(v[a>>2]<=(W|0)|v[h+12>>2]<=(W|0)){break fa}b=v[h+4>>2];v[a+24>>2]=b;c=v[J>>2]+(b<<4)|0;d=0;break ea}if(v[M>>2]<=(y|0)){c=v[I>>2];b=v[a+24>>2];d=1;break ea}b=v[a+36>>2];if((b|0)>=v[n>>2]){break c}b=1;continue ba}U=v[a+28>>2]+1|0;b=0;continue ba}while(1){ga:{ha:{ia:{if(!d){v[a+16>>2]=c;if(v[a+8>>2]<=(b|0)|v[h+8>>2]<=(b|0)){break ia}d=v[a+28>>2];if((d|0)>=v[c>>2]){break ga}b=v[c+4>>2];y=0;v[a+32>>2]=0;M=b+B(d,20)|0;v[a+20>>2]=M;n=v[M+4>>2];b=1;continue da}b=b+1|0;v[a+24>>2]=b;c=c+16|0;break ha}W=v[a+36>>2]+1|0;b=0;continue da}d=0;continue}d=1;continue}}}}ja:while(1){ka:{if(!b){v[a+36>>2]=T;if(v[a>>2]<=(T|0)|v[h+12>>2]<=(T|0)){break b}X=w[h+1|0];b=0;break ka}K=K+1|0;v[a+32>>2]=K;n=n+4|0;b=1}la:while(1){ma:{na:{if(!b){v[a+28>>2]=X;if(v[a+4>>2]<=(X|0)|w[h+2|0]<=(X|0)){break na}b=v[h+4>>2];v[a+24>>2]=b;c=v[J>>2]+(b<<4)|0;d=0;break ma}if(v[P>>2]<=(K|0)){c=v[I>>2];b=v[a+24>>2];d=1;break ma}b=v[a+36>>2];if((b|0)>=v[n>>2]){break c}b=1;continue ja}T=v[a+36>>2]+1|0;b=0;continue ja}while(1){oa:{pa:{qa:{if(!d){v[a+16>>2]=c;if(v[a+8>>2]<=(b|0)|v[h+8>>2]<=(b|0)){break qa}d=v[a+28>>2];if((d|0)>=v[c>>2]){break oa}b=v[c+4>>2];K=0;v[a+32>>2]=0;P=b+B(d,20)|0;v[a+20>>2]=P;n=v[P+4>>2];b=1;continue la}b=b+1|0;v[a+24>>2]=b;c=c+16|0;break pa}X=v[a+28>>2]+1|0;b=0;continue la}d=0;continue}d=1;continue}}}}v[n>>2]=b+1;t[a+101|0]=1;v[a+104>>2]=v[a+104>>2]+1;return 0}h=0;v[a+72>>2]=0;continue}}function JV(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0;e=Ma-352|0;Ma=e;v[e+328>>2]=13;v[e+312>>2]=13;v[e+296>>2]=13;v[e+16>>2]=13;v[e>>2]=13;f=1;a:{if(!(v[a+100>>2]|d)){break a}v[e+344>>2]=0;v[e+348>>2]=0;Qa[v[v[c>>2]+84>>2]](c,e+348|0,e+344|0);i=Qa[v[v[c>>2]+76>>2]](c)|0;r=v[v[a+28>>2]+420>>2];ib(i,269433,e+16|0,0);f=v[e+16>>2];if((f|0)==5){f=e+16|0;bb(f);ib(i,309129,f,0);f=v[e+16>>2]}b:{c:{if((f|0)!=1){break c}n=v[e+24>>2];bb(e+16|0);if((n|0)<1){break b}ib(i,232150,e+16|0,0);f=v[e+16>>2];if((f|0)==5){f=e+16|0;bb(f);ib(i,311562,f,0);f=v[e+16>>2]}if((f|0)!=1){break c}o=v[e+24>>2];bb(e+16|0);if((o|0)<1){break b}ib(i,261654,e+16|0,0);f=v[e+16>>2];if((f|0)==5){f=e+16|0;bb(f);ib(i,310934,f,0);f=v[e+16>>2]}d:{switch(f|0){case 0:g=v[e+24>>2];break;case 5:break d;default:break c}}bb(e+16|0);if(!v[e+348>>2]){ib(i,228634,e+16|0,0);f=v[e+16>>2];if((f|0)==5){f=e+16|0;bb(f);ib(i,312740,f,0);f=v[e+16>>2]}e:{if((f|0)==1){f=v[e+24>>2];v[e+348>>2]=f;if(f-1>>>0<=15){break e}break c}if(!g){break c}v[e+348>>2]=1}bb(e+16|0)}ib(i,276684,e+16|0,0);f=v[e+16>>2];if((f|0)==5){f=e+16|0;bb(f);ib(i,311375,f,0);f=v[e+16>>2]}q=!f&v[e+24>>2]!=0;bb(e+16|0);f:{g:{if(g){if(v[e+348>>2]!=1){break b}g=0;ib(i,283789,e+16|0,0);f=v[e+16>>2];if((f|0)==5){f=e+16|0;bb(f);ib(i,312444,f,0);f=v[e+16>>2]}h:{switch(f-5|0){case 1:ub(v[e+24>>2],0,e,0);f=v[e>>2];if(f-1>>>0<=1){g=((f|0)==1?+v[e+8>>2]:A[e+8>>3])==1}bb(e);break;case 0:break h;default:break c}}bb(e+16|0);if(!v[a+100>>2]){Qa[v[v[c>>2]+20>>2]](c);b=B(n+7>>>3|0,o);i:{if((b|0)<1){break i}f=b&3;if(b-1>>>0>=3){d=b&-4;while(1){Qa[v[v[c>>2]+28>>2]](c)|0;Qa[v[v[c>>2]+28>>2]](c)|0;Qa[v[v[c>>2]+28>>2]](c)|0;Qa[v[v[c>>2]+28>>2]](c)|0;d=d-4|0;if(d){continue}break}}if(!f){break i}while(1){Qa[v[v[c>>2]+28>>2]](c)|0;f=f-1|0;if(f){continue}break}}Qa[v[v[c>>2]+24>>2]](c);break g}f=v[v[a+28>>2]+116>>2];if((Qa[v[v[f>>2]+12>>2]](f)|0)==10){f=v[a+8>>2];Qa[v[v[f>>2]+64>>2]](f,v[a+28>>2]);f=gv(v[a+28>>2]);v[a+28>>2]=f;i=v[a+8>>2];Qa[v[v[i>>2]+284>>2]](i,f,b,c,n,o,g,d,q);Ae(v[a+28>>2]);b=v[a+28>>2];v[b+600>>2]=0;v[b+604>>2]=0;v[b+608>>2]=0;v[b+612>>2]=0;b=v[b+596>>2];A[b+16>>3]=0;A[b+8>>3]=0;v[b>>2]=1;b=v[a+28>>2];v[b+608>>2]=0;v[b+612>>2]=0;v[b+600>>2]=0;v[b+604>>2]=1072693248;cd(v[b+596>>2],1,0);b=v[a+28>>2];v[b+608>>2]=0;v[b+612>>2]=1072693248;v[b+600>>2]=0;v[b+604>>2]=1072693248;cd(v[b+596>>2],1,1);b=v[a+28>>2];v[b+608>>2]=0;v[b+612>>2]=1072693248;v[b+600>>2]=0;v[b+604>>2]=0;cd(v[b+596>>2],0,1);b=v[a+28>>2];kf(v[b+596>>2]);c=v[b+596>>2];c=v[((v[c+28>>2]<<2)+v[c+24>>2]|0)-4>>2];d=(v[c+12>>2]<<3)-8|0;A[b+600>>3]=A[d+v[c>>2]>>3];A[b+608>>3]=A[d+v[c+4>>2]>>3];jq(a,1);Ae(v[a+28>>2]);b=nl(v[a+28>>2]);v[a+28>>2]=b;c=v[a+8>>2];Qa[v[v[c>>2]+68>>2]](c,b);break g}f=v[a+8>>2];Qa[v[v[f>>2]+280>>2]](f,v[a+28>>2],b,c,n,o,g,d,q);break g}if(v[ib(i,228542,e+16|0,0)>>2]==4){PG(a,e+16|0,e)}f=e+16|0;bb(f);ib(i,286132,f,0);f=v[e+16>>2];if((f|0)==5){f=e+16|0;bb(f);ib(i,310304,f,0);f=v[e+16>>2]}j:{if((f|0)!=4){break j}EV(v[a+20>>2],v[e+24>>2],e);if(v[e>>2]!=5){bb(e+16|0);f=v[e+12>>2];v[e+24>>2]=v[e+8>>2];v[e+28>>2]=f;f=v[e+4>>2];v[e+16>>2]=v[e>>2];v[e+20>>2]=f;break j}bb(e)}k:{if(v[e+16>>2]!=5){f=mm(e+16|0,0);break k}l:{switch(v[e+344>>2]-1|0){default:bb(e+16|0);break b;case 0:f=xk(0);break k;case 1:f=xk(2);break k;case 2:break l}}f=xk(4)}bb(e+16|0);if(!f){break b}if((Qa[v[v[f>>2]+12>>2]](f)|0)==10){c=-1;b=v[a+108>>2];m:{if(!b){break m}b=v[b+4>>2];if(v[b+8>>2]==13){break m}b=v[b+16>>2];c=Qa[v[v[b>>2]+52>>2]](b)|0}fb(1,c,285923,0);Qa[v[v[f>>2]+4>>2]](f);break b}ib(i,283789,e+16|0,0);if(v[e+16>>2]==5){g=e+16|0;bb(g);ib(i,312444,g,0)}p=ab(800);g=e+16|0;k=lV(p,v[e+348>>2],g,f);bb(g);if(!v[k+792>>2]){lm(k);$a(p);break b}ib(i,261665,e+328|0,0);ib(i,261664,e+312|0,0);n:{o:{p:{if(v[e+312>>2]==8){if(d){lm(k);$a(p);bb(e+328|0);bb(e+312|0);break b}s=v[e+320>>2];h=Qa[v[v[s>>2]+76>>2]](s)|0;ib(h,269433,e+16|0,0);g=v[e+16>>2];if((g|0)==5){g=e+16|0;bb(g);ib(h,309129,g,0);g=v[e+16>>2]}if((g|0)!=1){break f}u=v[e+24>>2];g=e+16|0;bb(g);ib(h,232150,g,0);g=v[e+16>>2];if((g|0)==5){g=e+16|0;bb(g);ib(h,311562,g,0);g=v[e+16>>2]}if((g|0)!=1){break f}w=v[e+24>>2];bb(e+16|0);if(!((w|0)>0&(u|0)>=1)){lm(k);$a(p);bb(e+328|0);bb(e+312|0);break b}ib(h,228634,e+16|0,0);g=v[e+16>>2];if((g|0)==5){g=e+16|0;bb(g);ib(h,312740,g,0);g=v[e+16>>2]}if((g|0)!=1){break f}j=v[e+24>>2];bb(e+16|0);if(j-1>>>0>=16){lm(k);$a(p);bb(e+328|0);bb(e+312|0);break b}ib(h,286132,e+16|0,0);g=v[e+16>>2];if((g|0)==5){g=e+16|0;bb(g);ib(h,310304,g,0);g=v[e+16>>2]}if((g|0)!=4){break f}EV(v[a+20>>2],v[e+24>>2],e);q:{if(v[e>>2]!=5){bb(e+16|0);g=v[e+12>>2];v[e+24>>2]=v[e+8>>2];v[e+28>>2]=g;g=v[e+4>>2];v[e+16>>2]=v[e>>2];v[e+20>>2]=g;break q}bb(e)}if(v[e+16>>2]!=4){break f}if(hb(v[e+24>>2],220215)){break f}g=ab(12);v[g+4>>2]=15;v[g+8>>2]=0;v[g>>2]=887480;l=e+16|0;bb(l);ib(h,283789,l,0);if(v[e+16>>2]==5){l=e+16|0;bb(l);ib(h,312444,l,0)}t=ab(800);m=j;j=e+16|0;l=lV(t,m,j,g);bb(j);if(!v[l+792>>2]){lm(l);$a(t);lm(k);$a(p);bb(e+328|0);bb(e+312|0);break b}m=1;r:{if(v[ib(h,276061,e+16|0,0)>>2]!=6){break r}if(v[v[e+24>>2]+12>>2]==(Qa[v[v[f>>2]+28>>2]](f)|0)){j=0;h=v[e+24>>2];m=0;if(v[h+12>>2]<1){break r}while(1){f=(e+32|0)+(j<<3)|0;s:{if(v[ub(h,j,e,0)>>2]-1>>>0<=1){x=v[e>>2]==1?+v[e+8>>2]:A[e+8>>3];break s}h=-1;g=v[a+108>>2];t:{if(!g){break t}g=v[g+4>>2];if(v[g+8>>2]==13){break t}g=v[g+16>>2];h=Qa[v[v[g>>2]+52>>2]](g)|0}fb(1,h,261582,0);x=0}A[f>>3]=x;bb(e);j=j+1|0;h=v[e+24>>2];if((j|0)>2]){continue}break}m=0;break r}h=-1;f=v[a+108>>2];u:{if(!f){break u}f=v[f+4>>2];if(v[f+8>>2]==13){break u}f=v[f+16>>2];h=Qa[v[v[f>>2]+52>>2]](f)|0}fb(1,h,261582,0);m=1}bb(e+16|0);g=v[v[a+28>>2]+664>>2];if(g|!v[a+100>>2]){break p}d=e+296|0;Yd(i,261665,d);f=v[a+8>>2];Qa[v[v[f>>2]+296>>2]](f,v[a+28>>2],b,c,n,o,k,d,s,u,w,l,m?0:e+32|0,q);bb(d);lm(l);$a(t);break n}h=1;v:{w:{x:{y:{switch(v[e+328>>2]-6|0){case 0:g=1;f=0;j=v[e+336>>2];if(v[j+12>>2]<=1){h=0;break v}while(1){ub(j,f,e+16|0,0);if(v[e+16>>2]!=1){break x}i=v[e+24>>2];v[(e+32|0)+(f<<2)>>2]=i;bb(e+16|0);if((i|0)<0){break w}h=1;if((i|0)>=1<>2]){break v}ub(v[e+336>>2],g,e+16|0,0);if(v[e+16>>2]!=1){break x}j=(e+32|0)+(g<<2)|0;g=v[e+24>>2];v[j>>2]=g;bb(e+16|0);if((g|0)<0|(g|0)>=1<>2]|(g|0)<(i|0)){break v}h=0;f=f+2|0;g=f|1;if(g>>>0>63){break v}j=v[e+336>>2];if(v[j+12>>2]>(g|0)){continue}break};break v;case 2:break y;default:break v}}if(d){lm(k);$a(p);bb(e+328|0);bb(e+312|0);break b}h=v[e+336>>2];g=Qa[v[v[h>>2]+76>>2]](h)|0;ib(g,269433,e+16|0,0);f=v[e+16>>2];if((f|0)==5){f=e+16|0;bb(f);ib(g,309129,f,0);f=v[e+16>>2]}if((f|0)!=1){break f}l=v[e+24>>2];f=e+16|0;bb(f);ib(g,232150,f,0);f=v[e+16>>2];if((f|0)==5){f=e+16|0;bb(f);ib(g,311562,f,0);f=v[e+16>>2]}if((f|0)!=1){break f}m=v[e+24>>2];bb(e+16|0);if((l|0)<1|(m|0)<1){break f}ib(g,261654,e+16|0,0);f=v[e+16>>2];if((f|0)==5){f=e+16|0;bb(f);ib(g,310934,f,0);f=v[e+16>>2]}if(!v[e+24>>2]|f){break f}f=e+16|0;bb(f);ib(g,283789,f,0);f=v[e+16>>2];if((f|0)==5){f=e+16|0;bb(f);ib(g,312444,f,0);f=v[e+16>>2]}z:{switch(f-5|0){case 1:ub(v[e+24>>2],0,e,0);f=v[e>>2];if(f-1>>>0<=1){j=((f|0)==1?+v[e+8>>2]:A[e+8>>3])==1}bb(e);break;case 0:break z;default:break f}}bb(e+16|0);g=v[v[a+28>>2]+664>>2];if(g|!v[a+100>>2]){break p}d=e+296|0;Yd(i,261665,d);f=v[a+8>>2];Qa[v[v[f>>2]+292>>2]](f,v[a+28>>2],b,c,n,o,k,d,h,l,m,j,q);bb(d);break n}bb(e+16|0)}h=1}f=v[a+28>>2];g=v[f+664>>2];if(g){break p}if(v[a+100>>2]){break o}}if(g){f=-1;b=v[a+108>>2];A:{if(!b){break A}b=v[b+4>>2];if(v[b+8>>2]==13){break A}b=v[b+16>>2];f=Qa[v[v[b>>2]+52>>2]](b)|0}fb(0,f,245332,0)}if(!d){break n}Qa[v[v[c>>2]+20>>2]](c);Qa[v[v[c>>2]+48>>2]](c,B((B(v[k+4>>2],B(v[k+8>>2],n))+7|0)/8|0,o))|0;Qa[v[v[c>>2]+24>>2]](c);break n}g=v[a+8>>2];Qa[v[v[g>>2]+288>>2]](g,f,b,c,n,o,k,h?0:e+32|0,d,q)}lm(k);$a(p);bb(e+328|0);bb(e+312|0)}b=v[a+28>>2];if(v[b+420>>2]!=(r|0)){v[b+420>>2]=r;c=v[a+8>>2];Qa[v[v[c>>2]+148>>2]](c,b)}b=a;c=v[a+24>>2];a=B(n,o);v[b+24>>2]=c+((a|0)<1e3?a:1e3);f=1;break a}lm(k);$a(p);bb(e+328|0);bb(e+312|0)}bb(e+16|0)}c=-1;b=v[a+108>>2];B:{if(!b){break B}b=v[b+4>>2];if(v[b+8>>2]==13){break B}b=v[b+16>>2];c=Qa[v[v[b>>2]+52>>2]](b)|0}f=0;fb(1,c,235047,0);b=v[a+28>>2];if(v[b+420>>2]==(r|0)){break a}v[b+420>>2]=r;a=v[a+8>>2];Qa[v[v[a>>2]+148>>2]](a,b)}Ma=e+352|0;return f}function nH(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;n=Ma+-64|0;Ma=n;a:{if(v[a+292>>2]){break a}e=v[a+36>>2];if((v[e+20>>2]-v[e+16>>2]|0)>249){break a}oc(a)}b:{c:{d:{k=v[a+36>>2];i=v[k+16>>2];switch(w[i|0]-34|0){case 0:case 5:break c;default:break d}}if(!(!v[a+212>>2]|v[a+172>>2]!=-1)){e=0;break b}v[a+84>>2]=39;v[n>>2]=289531;e=0;nb(0,0,0,a,0,1,39,3,0,0,0,0,340716,n);v[a+12>>2]=0;if(v[a+288>>2]){break b}v[a+212>>2]=1;break b}l=v[k+28>>2];h=v[k+32>>2];v[a+172>>2]=12;q=w[i|0];f=i+1|0;j=v[k+20>>2];if(f>>>0>=j>>>0){e=v[k+12>>2];g=e;e:{if(v[a+292>>2]){break e}g=e;if((j-i|0)>249){break e}oc(a);k=v[a+36>>2];j=v[k+20>>2];g=v[k+12>>2]}f=((e|0)==(g|0)?0:g-e|0)+f|0}o=h+1|0;f:{g:{if(d){h:{if(f>>>0>=j>>>0){break h}while(1){h=w[f|0];if((h|0)==(q|0)){break h}e=h-9|0;if(e>>>0>23|!(1<>>0<=f>>>0){g=v[k+12>>2];if(!(v[a+292>>2]|(v[k+20>>2]-v[k+16>>2]|0)>249)){oc(a)}if(v[a+172>>2]==-1){e=0;break b}k=v[a+36>>2];e=v[k+12>>2];f=((e|0)==(g|0)?0:e-g|0)+f|0;j=v[k+20>>2]}e=(h|0)==10;o=e?1:o+1|0;l=e+l|0;if(f>>>0>>0){continue}break}}i:{if(f>>>0>=j>>>0){h=f;g=f;break i}g=f;h=f;while(1){e=t[g|0];f=e&255;if(!((f|0)!=(q|0)&f>>>0>31&(e|0)>-1)|(f|0)==38|(f|0)==60){break i}o=o+1|0;g=g+1|0;if((e|0)==32&w[g|0]==32){break i}j:{if(g>>>0>>0){break j}i=v[k+12>>2];if(!(v[a+292>>2]|(v[k+20>>2]-v[k+16>>2]|0)>249)){oc(a)}e=0;if(v[a+172>>2]==-1){break b}k=v[a+36>>2];j=v[k+20>>2];f=v[k+12>>2];f=(f|0)==(i|0)?0:f-i|0;g=f+g|0;h=f+h|0;if(w[a+362|0]&8|(g-h|0)<10000001){break j}Pc(a,40,342221);break b}if(g>>>0>>0){continue}break}}i=g;while(1){f=i;i=f-1|0;if(w[i|0]==32&f>>>0>h>>>0){continue}break}k:{if(g>>>0>=j>>>0){break k}while(1){m=w[g|0];if((m|0)==(q|0)){break k}e=m-9|0;if(e>>>0>23|!(1<>>0>g>>>0){break l}i=v[k+12>>2];if(!(v[a+292>>2]|(v[k+20>>2]-v[k+16>>2]|0)>249)){oc(a)}e=0;if(v[a+172>>2]==-1){break b}j=f;k=v[a+36>>2];f=v[k+12>>2];i=(f|0)==(i|0)?0:f-i|0;f=j+i|0;j=v[k+20>>2];g=g+i|0;h=h+i|0;if(w[a+362|0]&8|(g-h|0)<10000001){break l}Pc(a,40,342221);break b}e=(m|0)==10;o=e?1:o+1|0;l=e+l|0;if(g>>>0>>0){continue}break}}if(!(w[a+362|0]&8|(g-h|0)<10000001)){Pc(a,40,342221);e=0;break b}if((q|0)==w[g|0]){break g}break f}m:{if(f>>>0>=j>>>0){h=f;break m}h=f;while(1){e=t[f|0];g=e&255;if(!((g|0)!=(q|0)&g>>>0>31&(e|0)>-1)|(g|0)==38|(g|0)==60){break m}n:{f=f+1|0;if(j>>>0>f>>>0){break n}g=v[k+12>>2];if(!(v[a+292>>2]|(v[k+20>>2]-v[k+16>>2]|0)>249)){oc(a)}e=0;if(v[a+172>>2]==-1){break b}k=v[a+36>>2];j=v[k+20>>2];i=f;f=v[k+12>>2];g=(f|0)==(g|0)?0:f-g|0;f=i+g|0;h=g+h|0;if(w[a+362|0]&8|(f-h|0)<10000001){break n}Pc(a,40,342221);break b}o=o+1|0;if(f>>>0>>0){continue}break}}if(!(w[a+362|0]&8|(f-h|0)<10000001)){Pc(a,40,342221);e=0;break b}g=f;if((q|0)!=w[f|0]){break f}}e=o+1|0;d=g+1|0;o:{if(b){v[b>>2]=f-h;break o}if(c){v[c>>2]=1}h=Ek(h,f-h|0);k=v[a+36>>2]}v[k+32>>2]=e;v[k+28>>2]=l;v[k+16>>2]=d;if(!c){e=h;break b}v[c>>2]=0;e=h;break b}if(c){v[c>>2]=1}o=34;p:{switch(w[v[k+16>>2]]-34|0){default:if(!(!v[a+212>>2]|v[a+172>>2]!=-1)){e=0;break b}v[a+84>>2]=39;v[n+16>>2]=289531;e=0;nb(0,0,0,a,0,1,39,3,0,0,0,0,340716,n+16|0);v[a+12>>2]=0;if(v[a+288>>2]){break b}v[a+212>>2]=1;break b;case 5:o=39;break;case 0:break p}}v[a+172>>2]=12;Bc(a);f=100;j=0;g=0;q:{r:{e=Qa[v[256555]](100)|0;s:{if(!e){break s}g=Be(a,n+60|0);t:{u:{j=v[v[a+36>>2]+16>>2];v:{if(w[j|0]==(o|0)){k=0;i=0;break v}i=0;k=0;while(1){w:{x:{if((g|0)<=255){if((g|0)>31){break x}if(g>>>0>13){break v}if(1<>>0<1048576){break w}if(g-57344>>>0>=8190){break v}break w}if((g|0)!=60){break w}g=60;break v}if(v[a+172>>2]==-1){break r}if(w[a+362|0]&8?0:i>>>0>=10000001){break t}y:{z:{A:{B:{C:{switch(g|0){case 38:if(w[j+1|0]==35){h=oX(a);if(!h){k=h;break y}if((h|0)==38){c=i+10|0;if(v[a+16>>2]){D:{if(c>>>0<=f>>>0){l=f;h=e;break D}l=(f<<1)+10|0;if(l>>>0>>0){break u}j=0;g=e;h=Qa[v[256557]](g,l)|0;if(!h){break s}}t[h+i|0]=38;i=i+1|0;k=0;f=l;e=h;break y}E:{if(c>>>0<=f>>>0){l=f;h=e;break E}l=(f<<1)+10|0;if(l>>>0>>0){break u}j=0;g=e;h=Qa[v[256557]](g,l)|0;if(!h){break s}}c=h+i|0;t[c|0]=38;t[c+1|0]=35;t[c+2|0]=51;t[c+3|0]=56;t[c+4|0]=59;i=i+5|0;k=0;f=l;e=h;break y}F:{if(i+10>>>0<=f>>>0){c=f;l=e;break F}c=(f<<1)+10|0;if(f>>>0>c>>>0){break u}j=0;g=e;l=Qa[v[256557]](g,c)|0;if(!l){break s}}k=0;f=0;g=0;q=Ma-16|0;Ma=q;p=i+l|0;j=0;G:{if(!p){break G}H:{I:{if((h|0)>=128){J:{if((h|0)<2048){j=192;m=6;e=0;break J}if((h|0)<65536){f=1;j=224;m=12;e=6;break J}if((h|0)>=1114112){break H}f=1;j=240;m=18;g=1;e=12}t[p|0]=h>>>m|j;t[p+1|0]=h>>e&63|128;if(f){break I}j=(p+2|0)-p|0;break G}t[p|0]=h;j=1;break G}t[p+2|0]=h>>e-6&63|128;j=(p+3|0)-p|0;if(!g){break G}t[p+3|0]=h>>e-12&63|128;j=(p+4|0)-p|0;break G}v[q>>2]=h;nb(0,0,0,0,0,1,9,3,0,0,0,h,343805,q);j=0}Ma=q+16|0;i=i+j|0;f=c;e=l;break y}m=iX(a);c=v[a+440>>2]+1|0;v[a+440>>2]=c;k=0;if(!m){break y}v[a+440>>2]=c+v[m+68>>2];if(v[m+48>>2]==6){K:{if(i+10>>>0<=f>>>0){c=f;l=e;break K}c=(f<<1)+10|0;if(f>>>0>c>>>0){break u}j=0;g=e;l=Qa[v[256557]](g,c)|0;if(!l){break s}}g=i+l|0;e=i+1|0;f=w[v[m+40>>2]];if(!(v[a+16>>2]|(f|0)!=38)){t[g|0]=38;t[e+l|0]=35;t[g+4|0]=59;t[g+2|0]=51;t[g+3|0]=56;i=i+5|0;f=c;e=l;break y}t[g|0]=f;f=c;i=e;e=l;break y}if(v[a+16>>2]){v[a+248>>2]=v[a+248>>2]+1;j=Bv(a,v[m+40>>2]);v[a+248>>2]=v[a+248>>2]-1;h=j;if(!h){break y}while(1){g=e;L:{while(1){k=32;M:{N:{c=w[h|0];switch(c|0){case 0:break L;case 9:case 10:case 13:break M;default:break N}}k=c}t[g+i|0]=k;h=h+1|0;c=i+11|0;e=i+1|0;i=e;if(c>>>0<=f>>>0){continue}break}c=f;f=(f<<1)+10|0;if(c>>>0>f>>>0){break s}i=e;e=Qa[v[256557]](g,f)|0;if(e){continue}break s}break}k=0;Qa[v[256556]](j);e=g;break y}c=yl(v[m+8>>2]);l=v[m+8>>2];O:{if(v[m+48>>2]==6){break O}h=v[m+40>>2];if(v[m+72>>2]|!h){break O}v[a+248>>2]=v[a+248>>2]+1;g=v[a+440>>2];h=Bv(a,h);v[a+248>>2]=v[a+248>>2]-1;v[m+72>>2]=(v[a+440>>2]-g<<1)+2;if(!h){break O}if(Ko(h,60)){v[m+72>>2]=v[m+72>>2]|1}Qa[v[256556]](h)}t[e+i|0]=38;h=i+1|0;m=c+10|0;i=h+m|0;while(1){g=e;if(f>>>0>=i>>>0){P:{if((c|0)<1){break P}e=c-1|0;i=c&3;if(i){while(1){t[g+h|0]=w[l|0];c=c-1|0;h=h+1|0;l=l+1|0;i=i-1|0;if(i){continue}break}}if(e>>>0<3){break P}while(1){e=g+h|0;t[e|0]=w[l|0];t[e+1|0]=w[l+1|0];t[e+2|0]=w[l+2|0];t[e+3|0]=w[l+3|0];h=h+4|0;l=l+4|0;e=(c|0)>4;c=c-4|0;if(e){continue}break}}t[g+h|0]=59;i=h+1|0;e=g;break y}j=0;e=f;f=m+(f<<1)|0;if(e>>>0>f>>>0){break s}e=Qa[v[256557]](g,f)|0;if(e){continue}break};break s;case 9:case 10:case 13:case 32:if(!(!d|i)){j=k;h=f;i=0;l=e;break z}if(!(!d|!k)){j=1;break B}Q:{if(v[n+60>>2]==1){t[e+i|0]=32;i=i+1|0;break Q}i=ui(e+i|0,32)+i|0}h=i+10|0;while(1){g=e;if(f>>>0>=h>>>0){j=1;h=f;l=g;break z}j=0;c=f;f=(f<<1)+10|0;if(c>>>0>f>>>0){break s}e=Qa[v[256557]](g,f)|0;if(e){continue}break};break s;case 0:break v;default:break C}}j=0;R:{if(v[n+60>>2]==1){t[e+i|0]=g;i=i+1|0;break R}i=ui(e+i|0,g)+i|0}if(i+10>>>0>f>>>0){break A}}h=f;l=e;break z}h=(f<<1)+10|0;if(h>>>0>>0){break u}g=e;l=Qa[v[256557]](g,h)|0;if(!l){break s}}e=v[a+36>>2];c=v[e+16>>2];S:{if(w[c|0]==10){v[e+32>>2]=1;v[e+28>>2]=v[e+28>>2]+1;break S}v[e+32>>2]=v[e+32>>2]+1}c=c+v[n+60>>2]|0;v[e+16>>2]=c;if(w[c|0]==37){zc(a)}k=j;f=h;e=l}T:{if(v[a+292>>2]){break T}c=v[a+36>>2];if((v[c+20>>2]-v[c+16>>2]|0)>249){break T}oc(a)}g=Be(a,n+60|0);j=v[v[a+36>>2]+16>>2];if(w[j|0]!=(o|0)){continue}break}}if(v[a+172>>2]==-1){break r}U:{if(!i|(!k|!d)){break U}while(1){c=i-1|0;if(w[c+e|0]!=32){break U}i=c;if(i){continue}break}i=0}t[e+i|0]=0;c=w[v[v[a+36>>2]+16>>2]];V:{if((c|0)==60){if(v[a+172>>2]==-1?v[a+212>>2]:0){break V}v[a+84>>2]=38;v[n+48>>2]=236291;nb(0,0,0,a,0,1,38,3,0,0,0,0,340716,n+48|0);v[a+12>>2]=0;if(v[a+288>>2]){break V}v[a+212>>2]=1;break V}W:{if((c|0)!=(o|0)){if(!g){break W}X:{if((g|0)<=255){if((g|0)>31){break W}if(!(1<>>0>13){break X}break W}if((g|0)<55296|g-65536>>>0<1048576|g-57344>>>0<8190){break W}}Pc(a,9,342684);break V}Bc(a);break V}Pc(a,40,344138)}if(i>>>0>2147483646){break t}if(!b){break b}v[b>>2]=i;break b}j=0;g=e;break s}g=e;if(!(!v[a+212>>2]|v[a+172>>2]!=-1)){j=0;break s}v[a+84>>2]=40;v[n+32>>2]=342221;j=0;nb(0,0,0,a,0,1,40,3,0,0,0,0,237230,n+32|0);v[a+12>>2]=0;if(v[a+288>>2]){break s}v[a+212>>2]=1}Yc(a,0);break q}j=0;g=e}if(g){Qa[v[256556]](g)}e=0;if(!j){break b}Qa[v[256556]](j)}Ma=n- -64|0;return e}function lv(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0,y=0,z=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;f=Ma-5632|0;Ma=f;uo(c,b+256|0,f+384|0);a:{b:{c:{if((d|0)==6){break c}n=v[c+8>>2];Z=Qa[v[v[n>>2]+28>>2]](n)|0;uo(c,b+512|0,f+256|0);uo(c,b+768|0,f+128|0);uo(c,b+1024|0,f);d:{if((Z|0)<1){break d}while(1){G=F<<2;R=v[G+(f+384|0)>>2];o=v[G+(f+256|0)>>2];n=R-o|0;r=n>>31;if((r^n+r)>>>0>256){break d}r=o;o=v[f+G>>2];n=r-o|0;r=n>>31;if((r^n+r)>>>0>256){break d}r=o;o=v[G+(f+128|0)>>2];n=r-o|0;r=n>>31;if((r^n+r)>>>0>256){break d}n=o-R|0;o=n>>31;if((o^o+n)>>>0>256){break d}F=F+1|0;if((Z|0)!=(F|0)){continue}break}break c}if((F|0)==(Z|0)){break c}t=A[b+32>>3];n=v[a+28>>2];p=A[n+24>>3];H=A[b+160>>3];q=A[n+40>>3];e=t*p+H*q;u=A[b>>3];w=A[b+128>>3];g=u*p+w*q;l=A[n+16>>3];m=A[n+32>>3];i=t*l+H*m;k=u*l+w*m;e:{if(ik)){j=k;break e}j=i}f:{if(eg)){i=g;e=g;break f}i=g}I=A[b+64>>3];J=A[b+192>>3];g=I*p+J*q;h=I*l+J*m;g:{if(hj)){break g}j=h}h:{i:{if(g>3];z=A[b+224>>3];e=s*p+z*q;h=s*l+z*m;j:{if(hj)){break j}j=h}k:{l:{if(eg){break k}}e=g}x=A[b+8>>3];E=A[b+136>>3];g=x*p+E*q;h=x*l+E*m;m:{if(hj)){break m}j=h}n:{o:{if(g>3];C=A[b+168>>3];e=B*p+C*q;h=B*l+C*m;p:{if(hj)){break p}j=h}q:{r:{if(eg){break q}}e=g}K=A[b+72>>3];L=A[b+200>>3];g=K*p+L*q;h=K*l+L*m;s:{if(hj)){break s}j=h}t:{u:{if(g>3];h=A[b+232>>3];e=M*p+h*q;h=M*l+h*m;v:{if(hj)){break v}j=h}w:{x:{if(eg){break w}}e=g}y=A[b+16>>3];N=A[b+144>>3];g=y*p+N*q;h=y*l+N*m;y:{if(hj)){break y}j=h}z:{A:{if(g>3];P=A[b+176>>3];e=O*p+P*q;h=O*l+P*m;B:{if(hj)){break B}j=h}C:{D:{if(eg){break C}}e=g}Q=A[b+80>>3];Y=A[b+208>>3];g=Q*p+Y*q;h=Q*l+Y*m;E:{if(hj)){break E}j=h}F:{G:{if(g>3];h=A[b+240>>3];e=D*p+h*q;h=D*l+h*m;H:{if(hj)){break H}j=h}I:{J:{if(eg){break I}}e=g}S=A[b+24>>3];T=A[b+152>>3];g=S*p+T*q;h=S*l+T*m;K:{if(hj)){break K}j=h}L:{M:{if(g>3];V=A[b+184>>3];e=U*p+V*q;h=U*l+V*m;N:{if(hj)){break N}j=h}O:{P:{if(eg){break O}}e=g}W=A[b+88>>3];X=A[b+216>>3];g=W*p+X*q;h=W*l+X*m;Q:{if(hj)){break Q}j=h}R:{S:{if(g>3];h=A[b+248>>3];e=D*p+h*q;h=D*l+h*m;T:{if(hj)){break T}j=h}U:{V:{if(eg){break U}}e=g}if(!(j-k<1)|!(e-i<1)){break b}}cb(v[a+28>>2]+124|0,f+384|0,128);c=v[a+8>>2];Qa[v[v[c>>2]+116>>2]](c,v[a+28>>2]);g=A[b>>3];c=v[a+28>>2];e=A[b+128>>3];A[c+608>>3]=e;A[c+600>>3]=g;c=v[c+596>>2];A[c+16>>3]=e;A[c+8>>3]=g;v[c>>2]=1;k=A[b+144>>3];j=A[b+136>>3];i=A[b+16>>3];g=A[b+8>>3];h=A[b+24>>3];c=v[a+28>>2];e=A[b+152>>3];A[c+608>>3]=e;A[c+600>>3]=h;ol(v[c+596>>2],g,j,i,k,h,e);k=A[b+216>>3];j=A[b+88>>3];i=A[b+184>>3];g=A[b+56>>3];h=A[b+120>>3];c=v[a+28>>2];e=A[b+248>>3];A[c+608>>3]=e;A[c+600>>3]=h;ol(v[c+596>>2],g,i,j,k,h,e);k=A[b+232>>3];j=A[b+104>>3];i=A[b+240>>3];g=A[b+112>>3];h=A[b+96>>3];c=v[a+28>>2];e=A[b+224>>3];A[c+608>>3]=e;A[c+600>>3]=h;ol(v[c+596>>2],g,i,j,k,h,e);k=A[b+160>>3];j=A[b+192>>3];i=A[b+32>>3];g=A[b+64>>3];h=A[b>>3];c=v[a+28>>2];e=A[b+128>>3];A[c+608>>3]=e;A[c+600>>3]=h;ol(v[c+596>>2],g,j,i,k,h,e);d=v[a+28>>2];kf(v[d+596>>2]);b=v[d+596>>2];c=v[((v[b+28>>2]<<2)+v[b+24>>2]|0)-4>>2];b=(v[c+12>>2]<<3)-8|0;A[d+600>>3]=A[b+v[c>>2]>>3];A[d+608>>3]=A[b+v[c+4>>2]>>3];b=v[a+8>>2];Qa[v[v[b>>2]+204>>2]](b,v[a+28>>2]);Ae(v[a+28>>2]);break a}_=A[b+248>>3];$=A[b+120>>3];ea=A[b+112>>3];fa=A[b+240>>3];l=A[b+232>>3];e=(J+z)*.5;A[f+1984>>3]=e;A[f+2016>>3]=z;i=(H+J)*.5;g=(i+e)*.5;A[f+1952>>3]=g;A[f+4480>>3]=w;e=(w+H)*.5;A[f+4512>>3]=e;e=(e+i)*.5;A[f+4544>>3]=e;e=(e+g)*.5;A[f+4576>>3]=e;A[f+1920>>3]=e;A[f+4352>>3]=u;j=(u+x)*.5;A[f+4360>>3]=j;e=(x+y)*.5;m=(j+e)*.5;A[f+4368>>3]=m;aa=(y+S)*.5;ba=(e+aa)*.5;ca=(m+ba)*.5;A[f+4376>>3]=ca;A[f+1888>>3]=s;e=(I+s)*.5;A[f+1856>>3]=e;i=(t+I)*.5;g=(i+e)*.5;A[f+1824>>3]=g;e=(u+t)*.5;A[f+4384>>3]=e;e=(e+i)*.5;A[f+4416>>3]=e;e=(e+g)*.5;A[f+4448>>3]=e;A[f+1792>>3]=e;t=(t+B)*.5;g=(j+t)*.5;A[f+4392>>3]=g;u=(w+E)*.5;A[f+4488>>3]=u;w=(H+C)*.5;e=(u+w)*.5;A[f+4520>>3]=e;x=(I+K)*.5;s=(s+M)*.5;h=(x+s)*.5;A[f+1864>>3]=h;y=(J+L)*.5;D=(z+l)*.5;k=(y+D)*.5;A[f+1992>>3]=k;i=g;g=(t+x)*.5;i=(i+g)*.5;A[f+4424>>3]=i;j=e;e=(w+y)*.5;j=(j+e)*.5;A[f+4552>>3]=j;g=(g+h)*.5;A[f+1832>>3]=g;e=(e+k)*.5;A[f+1960>>3]=e;i=(i+g)*.5;A[f+4456>>3]=i;e=(j+e)*.5;A[f+4584>>3]=e;A[f+1928>>3]=e;A[f+1896>>3]=s;A[f+2024>>3]=D;E=(E+N)*.5;z=(u+E)*.5;A[f+4496>>3]=z;g=m;m=(B+O)*.5;B=(t+m)*.5;g=(g+B)*.5;A[f+4400>>3]=g;t=(C+P)*.5;C=(w+t)*.5;e=(z+C)*.5;A[f+4528>>3]=e;A[f+1800>>3]=i;u=(L+Y)*.5;p=(y+u)*.5;w=(l+fa)*.5;q=(D+w)*.5;k=(p+q)*.5;A[f+2e3>>3]=k;h=x;x=(K+Q)*.5;l=(h+x)*.5;y=(M+ea)*.5;s=(s+y)*.5;j=(l+s)*.5;A[f+1872>>3]=j;i=(B+l)*.5;D=(g+i)*.5;A[f+4432>>3]=D;g=e;e=(C+p)*.5;g=(g+e)*.5;A[f+4560>>3]=g;h=(i+j)*.5;A[f+1840>>3]=h;e=(e+k)*.5;A[f+1968>>3]=e;e=(g+e)*.5;A[f+4592>>3]=e;A[f+1936>>3]=e;A[f+1904>>3]=s;A[f+2032>>3]=q;H=(N+T)*.5;I=(E+H)*.5;J=(z+I)*.5;K=(P+V)*.5;L=(t+K)*.5;g=(C+L)*.5;M=(J+g)*.5;A[f+4536>>3]=M;A[f+4504>>3]=J;N=(O+U)*.5;O=(m+N)*.5;k=(B+O)*.5;P=(ca+k)*.5;A[f+4408>>3]=P;Q=(Q+W)*.5;z=(x+Q)*.5;j=(l+z)*.5;B=(ea+$)*.5;C=(y+B)*.5;l=(s+C)*.5;s=(j+l)*.5;A[f+1880>>3]=s;E=(Y+X)*.5;m=(u+E)*.5;e=(p+m)*.5;t=(fa+_)*.5;u=(w+t)*.5;w=(q+u)*.5;x=(e+w)*.5;A[f+2008>>3]=x;i=(g+e)*.5;y=(M+i)*.5;A[f+4568>>3]=y;g=(D+h)*.5;A[f+4464>>3]=g;e=(k+j)*.5;j=(P+e)*.5;A[f+4440>>3]=j;A[f+1808>>3]=g;g=(i+x)*.5;A[f+1976>>3]=g;e=(e+s)*.5;A[f+1848>>3]=e;k=(y+g)*.5;A[f+4600>>3]=k;i=(j+e)*.5;A[f+4472>>3]=i;A[f+1944>>3]=k;A[f+1816>>3]=i;A[f+2040>>3]=w;A[f+1912>>3]=l;A[f+3200>>3]=J;A[f+3072>>3]=ca;A[f+3232>>3]=M;A[f+3104>>3]=P;A[f+704>>3]=x;A[f+576>>3]=s;A[f+3264>>3]=y;A[f+3136>>3]=j;A[f+672>>3]=g;A[f+544>>3]=e;A[f+3296>>3]=k;A[f+3168>>3]=i;A[f+640>>3]=k;A[f+512>>3]=i;A[f+736>>3]=w;A[f+608>>3]=l;A[f+3208>>3]=I;A[f+3080>>3]=ba;g=(I+L)*.5;A[f+3240>>3]=g;e=(ba+O)*.5;A[f+3112>>3]=e;h=(m+u)*.5;A[f+712>>3]=h;k=(z+C)*.5;A[f+584>>3]=k;i=g;g=(L+m)*.5;j=(i+g)*.5;A[f+3272>>3]=j;i=e;e=(O+z)*.5;i=(i+e)*.5;A[f+3144>>3]=i;g=(g+h)*.5;A[f+680>>3]=g;e=(e+k)*.5;A[f+552>>3]=e;g=(j+g)*.5;A[f+3304>>3]=g;e=(i+e)*.5;A[f+3176>>3]=e;A[f+648>>3]=g;A[f+520>>3]=e;A[f+744>>3]=u;A[f+616>>3]=C;A[f+3216>>3]=H;A[f+3088>>3]=aa;g=(H+K)*.5;A[f+3248>>3]=g;e=(aa+N)*.5;A[f+3120>>3]=e;h=(E+t)*.5;A[f+720>>3]=h;k=(Q+B)*.5;A[f+592>>3]=k;i=g;g=(K+E)*.5;j=(i+g)*.5;A[f+3280>>3]=j;i=e;e=(N+Q)*.5;i=(i+e)*.5;A[f+3152>>3]=i;g=(g+h)*.5;A[f+688>>3]=g;e=(e+k)*.5;A[f+560>>3]=e;g=(j+g)*.5;A[f+3312>>3]=g;e=(i+e)*.5;A[f+3184>>3]=e;A[f+656>>3]=g;A[f+528>>3]=e;A[f+752>>3]=t;A[f+624>>3]=B;A[f+3224>>3]=T;A[f+3096>>3]=S;g=(T+V)*.5;A[f+3256>>3]=g;e=(S+U)*.5;A[f+3128>>3]=e;h=(X+_)*.5;A[f+728>>3]=h;k=(W+$)*.5;A[f+600>>3]=k;i=g;g=(V+X)*.5;j=(i+g)*.5;A[f+3288>>3]=j;i=e;e=(U+W)*.5;i=(i+e)*.5;A[f+3160>>3]=i;g=(g+h)*.5;A[f+696>>3]=g;e=(e+k)*.5;A[f+568>>3]=e;g=(j+g)*.5;A[f+3320>>3]=g;e=(i+e)*.5;A[f+3192>>3]=e;A[f+664>>3]=g;A[f+536>>3]=e;A[f+760>>3]=_;A[f+632>>3]=$;n=v[c+316>>2];if((n|0)>0){while(1){o=da<<3;F=o+(f+4352|0)|0;G=b+o|0;j=A[G+256>>3];A[F+256>>3]=j;r=o+(f+3072|0)|0;g=A[G+512>>3];A[r+512>>3]=g;e=(j+g)*.5;A[r+256>>3]=e;A[F+512>>3]=e;R=o+(f+512|0)|0;e=A[G+1024>>3];A[R+1024>>3]=e;i=(g+e)*.5;A[R+512>>3]=i;A[r+1024>>3]=i;o=o+(f+1792|0)|0;g=A[G+768>>3];A[o+768>>3]=g;e=(e+g)*.5;A[o+1024>>3]=e;A[R+768>>3]=e;e=(j+g)*.5;A[o+256>>3]=e;A[F+768>>3]=e;e=(i+e)*.5;A[F+1024>>3]=e;A[r+768>>3]=e;A[R+256>>3]=e;A[o+512>>3]=e;da=da+1|0;if((n|0)!=(da|0)){continue}break}}b=d+1|0;lv(a,f+4352|0,c,b);lv(a,f+1792|0,c,b);lv(a,f+3072|0,c,b);lv(a,f+512|0,c,b)}Ma=f+5632|0}function d6(a,b){a=a|0;b=b|0;var 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,x=0,y=0,z=0,A=0,C=0,D=0,E=0;h=Ma-112|0;Ma=h;if(b){Nb(4311,0)}b=v[a+8>>2];a:{b:{if(b&7){break b}g=a;c:{d:{e:{a=v[a+64>>2];if((a|0)>=0&(a|0)<=v[g+60>>2]){break e}a=v[g+28>>2];v[g+28>>2]=a-1;f:{if((a|0)>=1){v[g+60>>2]=v[g+60>>2]+1;a=v[g+24>>2];v[g+24>>2]=a+1;a=w[a|0];break f}a=Eb(g,1);if((a|0)==-1){break b}b=v[g+8>>2]}if(b&7){break b}c=v[g+64>>2];if((c|0)>=0&(c|0)<=v[g+60>>2]){break e}b=g;c=v[b+28>>2];v[b+28>>2]=c-1;g:{if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;c=w[c|0];break g}c=Eb(b,1);if((c|0)==-1){break b}}if(DC(b,h+100|0)){break b}if(DC(b,h+96|0)){break b}r=v[h+96>>2];j=v[h+100>>2];k=c&255|a<<8&65280;if((CC(k)|0)==2){break d}if(DC(b,h)){break b}a=v[h>>2];c=a>>31;e=c^a+c;q=a>>>31|0;break c}v[g+8>>2]=b|4;break b}e=1;v[h>>2]=1;q=0}c=0;s=1;o=1;h:{i:{j:{k:{l:{m:{a=CC(k);if(a-1>>>0>=2){if(a){break m}o=3;s=0;f=1}a=h;while(1){v[a+20>>2]=r;v[a+16>>2]=j;v[a+8>>2]=1;v[a+12>>2]=1;v[a>>2]=0;v[a+4>>2]=0;p=BC(e);v[a+28>>2]=q;v[a+24>>2]=p;a=a+32|0;c=c+1|0;if((o|0)!=(c|0)){continue}break}p=ir(o,h);if(!p){break b}a=0;d=v[p+24>>2];v[v[d>>2]+40>>2]=0;c=p;if(f){v[v[d+4>>2]+40>>2]=1;v[v[d+8>>2]+40>>2]=2;d=1025}else{d=769}v[c+28>>2]=d;f=_L(k);l=CC(k);k=BC(e);v[h+108>>2]=0;v[h+100>>2]=0;v[h+104>>2]=0;while(1){c=Oj(1,j);v[(h+100|0)+(a<<2)>>2]=c;if(!c){break k}a=a+1|0;if((o|0)!=(a|0)){continue}break}e=1;if((r|0)<1){break h}c=b;d=c;if((l|0)!=2){break l}q=v[h+100>>2];l=(f|0)==1;break j}S();L()}if((j|0)>=1){break i}b=0;while(1){e=0;a=0;while(1){if(mj(p,a,0,b,j,1,v[(h+100|0)+(a<<2)>>2])){break h}a=a+1|0;if((o|0)!=(a|0)){continue}break}e=1;b=b+1|0;if((r|0)!=(b|0)){continue}break}break h}e=0;break h}while(1){n:{if(!l){f=0;if((j|0)<=0){break n}o:while(1){e=0;a=Ci(d);if((a|0)!=35){if((a|0)==-1){break h}if((a&-2)!=48){continue}v[v[v[q+28>>2]>>2]+(f<<2)>>2]=49-a;f=f+1|0;if((j|0)!=(f|0)){continue}break n}while(1)switch(Ci(d)+1|0){case 0:break h;case 11:continue o;default:continue}}}e=0;a=0;if((j|0)<=0){break n}while(1){b=v[g+8>>2];if(b&7){break h}p:{q:{k=v[d+64>>2];if(!((k|0)>=0&(k|0)<=v[d+60>>2])){b=v[c+28>>2];v[c+28>>2]=b-1;r:{if((b|0)>=1){v[d+60>>2]=v[d+60>>2]+1;b=v[c+24>>2];v[c+24>>2]=b+1;f=w[b|0];break r}f=Eb(d,1);if((f|0)==-1){break h}}if((a|0)>=(j|0)){break p}k=v[v[q+28>>2]>>2];v[k+(a<<2)>>2]=(f>>>7^-1)&1;b=a+1|0;if((b|0)<(j|0)){break q}a=b;break p}v[g+8>>2]=b|4;break h}v[k+(b<<2)>>2]=(f>>>6^-1)&1;b=a+2|0;if((b|0)>=(j|0)){a=b;break p}v[k+(b<<2)>>2]=(f>>>5^-1)&1;b=a+3|0;if((b|0)>=(j|0)){a=b;break p}v[k+(b<<2)>>2]=(f>>>4^-1)&1;b=a+4|0;if((b|0)>=(j|0)){a=b;break p}v[k+(b<<2)>>2]=(f>>>3^-1)&1;b=a+5|0;if((b|0)>=(j|0)){a=b;break p}v[k+(b<<2)>>2]=(f>>>2^-1)&1;b=a+6|0;if((b|0)>=(j|0)){a=b;break p}v[k+(b<<2)>>2]=(f>>>1^-1)&1;b=a+7|0;if((b|0)>=(j|0)){a=b;break p}v[k+(b<<2)>>2]=(f^-1)&1;a=a+8|0}if((a|0)<(j|0)){continue}break}}e=0;a=0;while(1){if(mj(p,a,0,i,j,1,v[(h+100|0)+(a<<2)>>2])){break h}a=a+1|0;if((o|0)!=(a|0)){continue}break}e=1;i=i+1|0;if((r|0)!=(i|0)){continue}break}break h}D=1<>>3|0;a=k;x=((a&63)>>>0>=32?0:-1<>2];z=v[h+104>>2];A=v[h+100>>2];E=(f|0)==1;while(1){s:{if(!E){l=0;if(q){while(1){i=0;t:while(1){f=0;e=v[g+8>>2];u:{if(e&7){break u}v:{w:{while(1){a=v[d+64>>2];if(!((a|0)<0|(a|0)>v[d+60>>2])){v[g+8>>2]=e|4;break u}a=v[c+28>>2];v[c+28>>2]=a-1;x:{y:{if((a|0)>=1){v[d+60>>2]=v[d+60>>2]+1;a=v[c+24>>2];v[c+24>>2]=a+1;a=w[a|0];break y}a=Eb(d,1)}if((a|0)!=35){if((a|0)==-1){break u}if((a|0)==32|a-9>>>0<5){continue t}e=1;switch(a-43|0){case 0:break w;case 2:break x;default:break v}}while(1){a=v[g+8>>2];if(a&7){break u}e=v[d+64>>2];if(!((e|0)<0|(e|0)>v[d+60>>2])){v[g+8>>2]=a|4;break u}a=v[c+28>>2];v[c+28>>2]=a-1;z:{A:{if((a|0)>=1){v[d+60>>2]=v[d+60>>2]+1;a=v[c+24>>2];v[c+24>>2]=a+1;a=w[a|0];break A}a=Eb(d,1)}switch(a+1|0){case 0:break u;case 11:case 14:break z;default:continue}}break}e=v[g+8>>2];if(!(e&7)){continue}break u}break}a=Ci(d);if((a|0)==-1){break u}e=0;break v}a=Ci(d);if((a|0)==-1){break u}}n=0;B:while(1){C=a-48|0;if(C>>>0>=10){if(!((a|0)==32|a-9>>>0<5)){break u}f=e?n:0-n|0;break u}m=v[g+8>>2];if(m&7){break u}n=B(n,10)+C|0;while(1){a=v[d+64>>2];if(!((a|0)<0|(a|0)>v[d+60>>2])){v[g+8>>2]=m|4;break u}a=v[c+28>>2];v[c+28>>2]=a-1;C:{if((a|0)>=1){v[d+60>>2]=v[d+60>>2]+1;a=v[c+24>>2];v[c+24>>2]=a+1;a=w[a|0];break C}a=Eb(d,1)}if((a|0)!=35){if((a|0)==-1){break u}if((a|0)>-1){continue B}break u}while(1){a=v[g+8>>2];if(a&7){break u}m=v[d+64>>2];if(!((m|0)<0|(m|0)>v[d+60>>2])){v[g+8>>2]=a|4;break u}a=v[c+28>>2];v[c+28>>2]=a-1;D:{E:{if((a|0)>=1){v[d+60>>2]=v[d+60>>2]+1;a=v[c+24>>2];v[c+24>>2]=a+1;a=w[a|0];break E}a=Eb(d,1)}switch(a+1|0){case 0:break u;case 11:case 14:break D;default:continue}}break}m=v[g+8>>2];if(!(m&7)){continue}break}break}}v[v[v[v[(h+100|0)+(i<<2)>>2]+28>>2]>>2]+(l<<2)>>2]=f;i=i+1|0;if((o|0)!=(i|0)){continue}break}l=l+1|0;if((j|0)!=(l|0)){continue}break s}}while(1){i=0;F:while(1){e=v[g+8>>2];G:{H:{if(e&7){break H}while(1){I:{a=v[d+64>>2];if((a|0)>=0&(a|0)<=v[d+60>>2]){break I}a=v[c+28>>2];v[c+28>>2]=a-1;J:{if((a|0)>=1){v[d+60>>2]=v[d+60>>2]+1;a=v[c+24>>2];v[c+24>>2]=a+1;a=w[a|0];break J}a=Eb(d,1)}if((a|0)!=35){if((a|0)==-1){break H}if((a|0)==32|a-9>>>0<5){continue F}f=0;K:while(1){n=a-48|0;if(n>>>0>=10){if(!((a|0)==32|a-9>>>0<5)){break H}break G}e=v[g+8>>2];if(e&7){break H}f=n+B(f,10)|0;while(1){a=v[d+64>>2];if((a|0)>=0&(a|0)<=v[d+60>>2]){break I}a=v[c+28>>2];v[c+28>>2]=a-1;L:{if((a|0)>=1){v[d+60>>2]=v[d+60>>2]+1;a=v[c+24>>2];v[c+24>>2]=a+1;a=w[a|0];break L}a=Eb(d,1)}if((a|0)!=35){if((a|0)==-1){break H}if((a|0)>-1){continue K}break H}while(1){e=v[g+8>>2];if(e&7){break H}a=v[d+64>>2];if((a|0)>=0&(a|0)<=v[d+60>>2]){break I}a=v[c+28>>2];v[c+28>>2]=a-1;M:{N:{if((a|0)>=1){v[d+60>>2]=v[d+60>>2]+1;a=v[c+24>>2];v[c+24>>2]=a+1;a=w[a|0];break N}a=Eb(d,1)}switch(a+1|0){case 0:break H;case 11:case 14:break M;default:continue}}break}e=v[g+8>>2];if(!(e&7)){continue}break}break}break H}while(1){e=v[g+8>>2];if(e&7){break H}a=v[d+64>>2];if((a|0)>=0&(a|0)<=v[d+60>>2]){break I}a=v[c+28>>2];v[c+28>>2]=a-1;O:{P:{if((a|0)>=1){v[d+60>>2]=v[d+60>>2]+1;a=v[c+24>>2];v[c+24>>2]=a+1;a=w[a|0];break P}a=Eb(d,1)}switch(a+1|0){case 11:case 14:break O;case 0:break H;default:continue}}break}e=v[g+8>>2];if(!(e&7)){continue}break H}break}v[g+8>>2]=e|4}f=0}v[v[v[v[(h+100|0)+(i<<2)>>2]+28>>2]>>2]+(l<<2)>>2]=f;i=i+1|0;if((o|0)!=(i|0)){continue}break}l=l+1|0;if((j|0)!=(l|0)){continue}break}break s}Q:{R:{if(q){m=0;if((k|0)>0){break R}f=v[v[A+28>>2]>>2];a=0;break Q}m=0;if((k|0)<=0){f=v[v[A+28>>2]>>2];a=0;while(1){e=a<<2;v[e+f>>2]=0;if(!s){v[e+v[v[z+28>>2]>>2]>>2]=0;v[e+v[v[y+28>>2]>>2]>>2]=0}a=a+1|0;if((j|0)!=(a|0)){continue}break}break s}while(1){l=0;while(1){n=0;a=b;e=0;S:{while(1){f=v[g+8>>2];if(f&7){break S}i=v[d+64>>2];if(!((i|0)<0|(i|0)>v[d+60>>2])){v[g+8>>2]=f|4;break S}f=v[c+28>>2];v[c+28>>2]=f-1;T:{if((f|0)>=1){v[d+60>>2]=v[d+60>>2]+1;f=v[c+24>>2];v[c+24>>2]=f+1;i=w[f|0];break T}i=Eb(d,1);if((i|0)==-1){break S}}e=e<<8|i;f=(a|0)>1;a=a-1|0;if(f){continue}break}n=e&x}v[v[v[v[(h+100|0)+(l<<2)>>2]+28>>2]>>2]+(m<<2)>>2]=n;l=l+1|0;if((o|0)!=(l|0)){continue}break}m=m+1|0;if((m|0)!=(j|0)){continue}break}break s}while(1){l=0;while(1){n=0;a=b;e=0;U:{while(1){f=v[g+8>>2];if(f&7){break U}i=v[d+64>>2];if(!((i|0)<0|(i|0)>v[d+60>>2])){v[g+8>>2]=f|4;break U}f=v[c+28>>2];v[c+28>>2]=f-1;V:{if((f|0)>=1){v[d+60>>2]=v[d+60>>2]+1;f=v[c+24>>2];v[c+24>>2]=f+1;i=w[f|0];break V}i=Eb(d,1);if((i|0)==-1){break U}}e=e<<8|i;f=(a|0)>1;a=a-1|0;if(f){continue}break}n=e&x;if(!(D&n)){break U}O(8092,10893,397,188498);L()}v[v[v[v[(h+100|0)+(l<<2)>>2]+28>>2]>>2]+(m<<2)>>2]=n;l=l+1|0;if((o|0)!=(l|0)){continue}break}m=m+1|0;if((m|0)!=(j|0)){continue}break}break s}while(1){e=a<<2;v[e+f>>2]=0;if(!s){v[e+v[v[z+28>>2]>>2]>>2]=0;v[e+v[v[y+28>>2]>>2]>>2]=0}a=a+1|0;if((j|0)!=(a|0)){continue}break}}e=0;a=0;while(1){if(mj(p,a,0,t,j,1,v[(h+100|0)+(a<<2)>>2])){break h}a=a+1|0;if((o|0)!=(a|0)){continue}break}e=1;t=t+1|0;if((t|0)!=(r|0)){continue}break}}while(1){a=v[(h+100|0)+(u<<2)>>2];if(a){ve(a)}u=u+1|0;if((u|0)<(o|0)){continue}break}if(e){break a}Og(p)}p=0}Ma=h+112|0;return p|0}function nE(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,y=0,z=0,A=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;k=Ma-2080|0;Ma=k;Q=pc(k+2048|0,k+2060|0,B(v[a+16>>2],v[a+12>>2]),2);o=v[a+12>>2];s=v[k+2060>>2];r=v[a+8>>2];a:{if((r|0)<1){g=s;break a}l=v[a+4>>2];b:{if((l|0)>=1){n=l&-4;m=l&3;j=o-l<<1;p=l-1>>>0<3;g=s;while(1){f=0;h=n;if(!p){while(1){u[g>>1]=t[b+f|0]<<6;u[g+2>>1]=t[(f|1)+b|0]<<6;u[g+4>>1]=t[(f|2)+b|0]<<6;u[g+6>>1]=t[(f|3)+b|0]<<6;f=f+4|0;g=g+8|0;h=h-4|0;if(h){continue}break}}h=m;if(h){while(1){u[g>>1]=t[b+f|0]<<6;f=f+1|0;g=g+2|0;h=h-1|0;if(h){continue}break}}if((l|0)<(o|0)){g=eb(g,0,j)+j|0}b=b+c|0;i=i+1|0;if((r|0)!=(i|0)){continue}break}break b}g=s;if((l|0)>=(o|0)){break b}b=o-l|0;c=b<<1;g=(eb(s,0,B(c,r))+c|0)+(B(b,r-1|0)<<1)|0}o=v[a+12>>2]}b=v[a+16>>2];if(!((o|0)<1|(b|0)<=(r|0))){eb(g,0,B(b-r|0,o)<<1)}I=v[a+12>>2];q=v[a+4>>2];c:{if(d){m=B(q,r);R=pc(k,k+2076|0,m,2);d:{if(!((r|0)<=0|(q|0)<=0)){i=q&-4;n=q&3;l=q-1|0;c=0;f=v[k+2076>>2];b=d;while(1){g=0;h=i;if(l>>>0>=3){while(1){u[(g<<1)+f>>1]=!w[b+g|0]<<12;j=g|1;u[(j<<1)+f>>1]=!w[b+j|0]<<12;j=g|2;u[(j<<1)+f>>1]=!w[b+j|0]<<12;j=g|3;u[(j<<1)+f>>1]=!w[b+j|0]<<12;g=g+4|0;h=h-4|0;if(h){continue}break}}h=n;if(h){while(1){u[(g<<1)+f>>1]=!w[b+g|0]<<12;g=g+1|0;h=h-1|0;if(h){continue}break}}b=b+e|0;f=(q<<1)+f|0;c=c+1|0;if((r|0)!=(c|0)){continue}break}pc(k+2064|0,k+2072|0,m,2);c=q&-4;n=q&3;f=s;E=v[k+2072>>2];b=E;while(1){g=0;i=c;if(l>>>0>=3){while(1){h=g<<1;u[h+b>>1]=x[f+h>>1];m=h|2;u[m+b>>1]=x[f+m>>1];m=h|4;u[m+b>>1]=x[f+m>>1];h=h|6;u[h+b>>1]=x[f+h>>1];g=g+4|0;i=i-4|0;if(i){continue}break}}h=n;if(h){while(1){i=g<<1;u[i+b>>1]=x[f+i>>1];g=g+1|0;h=h-1|0;if(h){continue}break}}f=(I<<1)+f|0;b=(q<<1)+b|0;y=y+1|0;if((r|0)!=(y|0)){continue}break}if((q|0)<3|(r|0)<3){break d}y=1;g=2;L=v[k+2076>>2];while(1){f=g;S=B(f,I);T=B(q,y);O=B(f,q);U=0-O|0;m=0;j=E;z=s;b=L;l=0;while(1){h=0;c=(r|0)<(l+y|0);F=l-(c?f:0)|0;C=f+l|0;e:{if(!((F|0)>=(C|0)|(r|0)<=(F|0))){c=(c?U:0)<<1;J=c+b|0;K=c+j|0;while(1){D=m;M=0;m=1;p=h;G=h-((q|0)<(h+y|0)?f:0)|0;h=f+h|0;g=b;f:{if((G|0)>=(h|0)){break f}H=K;c=J;i=0;o=0;n=0;A=F;g=b;if((q|0)<=(G|0)){break f}while(1){g=G;while(1){P=g<<1;N=u[P+c>>1];g:{if((N|0)<=0){n=(l|0)>(A|0)?n:(g|0)<(p|0)?n:1;break g}i=i+N|0;o=B(u[H+P>>1],N)+o|0}g=g+y|0;if((h|0)>(g|0)&(g|0)<(q|0)){continue}break}A=y+A|0;if((C|0)>(A|0)){g=T<<1;H=g+H|0;c=c+g|0;if((r|0)>(A|0)){continue}}break}g=b;if(!i){break f}M=(o|0)/(i|0)|0;h:{if(!n){break h}n=z;o=b;c=l;if((f|0)<1){break h}while(1){g=p;while(1){m=g<<1;A=m+o|0;if(!x[A>>1]){u[n+m>>1]=M;u[A>>1]=1}g=g+1|0;if((h|0)>(g|0)&(g|0)<(q|0)){continue}break}c=c+1|0;if((C|0)<=(c|0)){break h}n=(I<<1)+n|0;o=(q<<1)+o|0;if((c|0)<(r|0)){continue}break}}u[(p<<1)+b>>1]=i>>>2;m=D;g=j}u[g+(p<<1)>>1]=M;if((h|0)<(q|0)){continue}break}break e}while(1){m=1;u[(h<<1)+b>>1]=0;h=f+h|0;if((q|0)>(h|0)){continue}break}}z=(S<<1)+z|0;c=O<<1;j=c+j|0;b=b+c|0;l=C;if((r|0)>(l|0)){continue}break}if(!m){break d}g=f<<1;if((q|0)<=(g|0)){break d}y=f;if((g|0)<(r|0)){continue}break}break d}pc(k+2064|0,k+2072|0,m,2)}b=k+2064|0;ec(b);ec(R);G=v[a+12>>2];s=v[k+2060>>2];p=v[a+8>>2];j=v[a+4>>2];c=B(p,j);H=pc(k,k+2076|0,c,2);F=pc(b,k+2072|0,c,1);E=(p|0)<1;i:{if(E){break i}f=p&3;g=v[k+2072>>2];if(p-1>>>0>=3){b=p&-4;while(1){c=cb(g,d,j);h=d+e|0;g=h+e|0;i=g+e|0;d=i+e|0;g=cb(cb(cb(c+j|0,h,j)+j|0,g,j)+j|0,i,j)+j|0;b=b-4|0;if(b){continue}break}}if(!f){break i}while(1){b=cb(g,d,j);d=d+e|0;g=b+j|0;f=f-1|0;if(f){continue}break}}L=(p|0)>0&(j|0)>0;D=j-1|0;n=1;while(1){e=n;z=B(e,j);A=B(e,G);g=v[k+2076>>2];if(L){m=(D>>>0)/(e>>>0)|0;b=m+1|0;i=b&-4;n=b&3;c=0;b=g;h=s;while(1){f=0;d=i;if(m>>>0>=3){while(1){l=f<<1;u[l+b>>1]=x[h+l>>1];f=e+f|0;l=f<<1;u[l+b>>1]=x[h+l>>1];f=e+f|0;l=f<<1;u[l+b>>1]=x[h+l>>1];f=e+f|0;l=f<<1;u[l+b>>1]=x[h+l>>1];f=e+f|0;d=d-4|0;if(d){continue}break}}d=n;if(d){while(1){l=f<<1;u[l+b>>1]=x[h+l>>1];f=e+f|0;d=d-1|0;if(d){continue}break}}b=(z<<1)+b|0;h=(A<<1)+h|0;c=c+e|0;if((p|0)>(c|0)){continue}break}}n=e<<1;by(g,j,p,j,e,n);c=v[k+2076>>2];j:{k:{l:{if(E){su(c,j,p,j,n,e);m=v[k+2076>>2];break l}J=(D>>>0)/(e>>>0)|0;o=J+1|0;g=o&-2;C=o&1;i=0;b=v[k+2072>>2];h=c;while(1){f=e;K=(j|0)<=(f|0);if(!K){while(1){if(w[b+f|0]){u[(f<<1)+h>>1]=0}f=f+n|0;if((j|0)>(f|0)){continue}break}}b=b+z|0;y=z<<1;h=y+h|0;if((p|0)>(e+i|0)){m:{if((j|0)<1){break m}f=0;d=g;if(e>>>0<=D>>>0){while(1){if(w[b+f|0]){u[(f<<1)+h>>1]=0}f=e+f|0;if(w[f+b|0]){u[(f<<1)+h>>1]=0}f=e+f|0;d=d-2|0;if(d){continue}break}}if(!C|!w[b+f|0]){break m}u[(f<<1)+h>>1]=0}h=h+y|0;b=b+z|0}i=i+n|0;if((p|0)>(i|0)){continue}break}su(c,j,p,j,n,e);m=v[k+2076>>2];q=(j|0)<1;if(!q){break k}}by(m,j,p,j,e,n);break j}c=o&-2;l=0;b=v[k+2072>>2];d=m;i=s;while(1){f=0;h=c;if(e>>>0<=D>>>0){while(1){if(!w[b+f|0]){g=f<<1;u[g+d>>1]=x[g+i>>1]}g=e+f|0;if(!w[g+b|0]){f=g<<1;u[f+d>>1]=x[f+i>>1]}f=e+g|0;h=h-2|0;if(h){continue}break}}if(!(w[b+f|0]|!C)){h=f<<1;u[h+d>>1]=x[h+i>>1]}b=b+z|0;d=d+y|0;r=A<<1;i=r+i|0;l=e+l|0;if((p|0)>(l|0)){continue}break}by(m,j,p,j,e,n);c=o&-4;g=o&3;m=0;b=v[k+2076>>2];h=s;while(1){f=0;d=c;if(J>>>0>=3){while(1){i=f<<1;u[i+h>>1]=x[b+i>>1];f=e+f|0;i=f<<1;u[i+h>>1]=x[b+i>>1];f=e+f|0;i=f<<1;u[i+h>>1]=x[b+i>>1];f=e+f|0;i=f<<1;u[i+h>>1]=x[b+i>>1];f=e+f|0;d=d-4|0;if(d){continue}break}}d=g;if(g){while(1){i=f<<1;u[i+h>>1]=x[b+i>>1];f=e+f|0;d=d-1|0;if(d){continue}break}}b=b+y|0;h=h+r|0;m=e+m|0;if((p|0)>(m|0)){continue}break}if(q){break j}m=0;i=v[k+2072>>2];d=i;while(1){c=(p|0)>(e+m|0)?d+z|0:i;b=d;n:{if(!(!w[c|0]|(!w[d|0]|!w[i|0]))){g=1;if(w[d+e|0]|K){break n}}g=0}t[b|0]=g;f=n;if((j|0)>(f|0)){while(1){h=d+f|0;o:{if(!(!w[h|0]|!w[f+i|0]|(!w[c+f|0]|!w[(f-e|0)+d|0]))){g=e+f|0;b=1;if((g|0)>=(j|0)|w[d+g|0]){break o}}b=0}t[h|0]=b;f=f+n|0;if((j|0)>(f|0)){continue}break}}d=c+z|0;i=c;m=n+m|0;if((p|0)>(m|0)){continue}break}}if((n|0)<=31){continue}break}ec(F);ec(H);break c}by(s,q,r,I,1,32)}g=v[a+16>>2];p:{if((g|0)<1){break p}h=v[a+12>>2];if((h|0)<1){break p}i=v[a>>2];n=0;o=v[k+2060>>2];while(1){d=0;if((h|0)>=1){while(1){g=(d<<1)+o|0;b=0;f=k;while(1){u[f>>1]=x[g>>1];u[f+2>>1]=x[g+2>>1];u[f+4>>1]=x[g+4>>1];u[f+6>>1]=x[g+6>>1];u[f+8>>1]=x[g+8>>1];u[f+10>>1]=x[g+10>>1];u[f+12>>1]=x[g+12>>1];u[f+14>>1]=x[g+14>>1];u[f+16>>1]=x[g+16>>1];u[f+18>>1]=x[g+18>>1];u[f+20>>1]=x[g+20>>1];u[f+22>>1]=x[g+22>>1];u[f+24>>1]=x[g+24>>1];u[f+26>>1]=x[g+26>>1];u[f+28>>1]=x[g+28>>1];u[f+30>>1]=x[g+30>>1];u[f+32>>1]=x[g+32>>1];u[f+34>>1]=x[g+34>>1];u[f+36>>1]=x[g+36>>1];u[f+38>>1]=x[g+38>>1];u[f+40>>1]=x[g+40>>1];u[f+42>>1]=x[g+42>>1];u[f+44>>1]=x[g+44>>1];u[f+46>>1]=x[g+46>>1];u[f+48>>1]=x[g+48>>1];u[f+50>>1]=x[g+50>>1];u[f+52>>1]=x[g+52>>1];u[f+54>>1]=x[g+54>>1];u[f+56>>1]=x[g+56>>1];u[f+58>>1]=x[g+58>>1];u[f+60>>1]=x[g+60>>1];u[f+62>>1]=x[g+62>>1];f=f- -64|0;g=(h<<1)+g|0;b=b+1|0;if((b|0)!=32){continue}break}e=0;g=0;while(1){s=(e>>>2&1073741820)+i|0;c=v[s>>2];if(!c){c=v[a+28>>2];q:{if((c|0)<=4046){b=v[a+24>>2];break q}b=ab(8164);v[b>>2]=v[a+24>>2];c=0;eb(b+4|0,0,8160);v[a+24>>2]=b}v[a+28>>2]=c+34;b=((c<<1)+b|0)+4|0;while(1){c=b;b=b+2|0;if(c&3){continue}break}v[s>>2]=c}f=(e&15)<<2;b=v[f+c>>2];if(!b){b=v[a+28>>2];r:{if((b|0)<=4064){h=v[a+24>>2];break r}h=ab(8164);v[h>>2]=v[a+24>>2];b=0;eb(h+4|0,0,8160);v[a+24>>2]=h;c=v[s>>2]}v[a+28>>2]=b+16;v[c+f>>2]=((b<<1)+h|0)+4;b=v[f+v[s>>2]>>2]}c=g<<2;u[b>>1]=x[(v[c+979440>>2]<<1)+k>>1];u[b+2>>1]=x[(v[(c|4)+979440>>2]<<1)+k>>1];u[b+4>>1]=x[(v[(c|8)+979440>>2]<<1)+k>>1];u[b+6>>1]=x[(v[(c|12)+979440>>2]<<1)+k>>1];u[b+8>>1]=x[(v[(c|16)+979440>>2]<<1)+k>>1];u[b+10>>1]=x[(v[(c|20)+979440>>2]<<1)+k>>1];u[b+12>>1]=x[(v[(c|24)+979440>>2]<<1)+k>>1];u[b+14>>1]=x[(v[(c|28)+979440>>2]<<1)+k>>1];u[b+16>>1]=x[(v[(c|32)+979440>>2]<<1)+k>>1];u[b+18>>1]=x[(v[(c|36)+979440>>2]<<1)+k>>1];u[b+20>>1]=x[(v[(c|40)+979440>>2]<<1)+k>>1];u[b+22>>1]=x[(v[(c|44)+979440>>2]<<1)+k>>1];u[b+24>>1]=x[(v[(c|48)+979440>>2]<<1)+k>>1];u[b+26>>1]=x[(v[(c|52)+979440>>2]<<1)+k>>1];u[b+28>>1]=x[(v[(c|56)+979440>>2]<<1)+k>>1];u[b+30>>1]=x[(v[(c|60)+979440>>2]<<1)+k>>1];g=g+16|0;e=e+1|0;if((e|0)!=64){continue}break}i=i+16|0;d=d+32|0;h=v[a+12>>2];if((d|0)<(h|0)){continue}break}g=v[a+16>>2]}o=(h<<6)+o|0;n=n+32|0;if((n|0)<(g|0)){continue}break}}ec(Q);Ma=k+2080|0}function rza(a,b){a=a|0;b=b|0;var 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=v[a+4>>2];if(!k){v[b>>2]=1;return}h=v[k+8>>2];e=v[a+16>>2];f=v[b>>2];j=v[a+8>>2];l=v[a+12>>2];a:{b:{if((f|0)>0|j>>>0>=l>>>0){break b}n=v[a+20>>2];while(1){c:{d:{e:{if(e>>>0>>0){i=x[h>>1];c=j;f:{g:{h:{i:{while(1){j:{j=c+1|0;c=w[c|0];d=i&65535;if((d|0)!=239){if((d|0)==217){break g}if((d|0)!=240){break f}if((-18-c&255)>>>0>=78){break h}switch(c-184|0){case 0:case 7:break j;default:break i}}d=h;k:{l:{if((75-c&255)>>>0>=10){if((c|0)!=64){if((c-33&255)>>>0<31){break k}v[b>>2]=12;u[h>>1]=65534;break e}u[h+8>>1]=x[h+4>>1];c=v[h+20>>2];break l}c=(c&15)<<2;u[h+8>>1]=x[c+853536>>1]<<7;c=x[c+853538>>1]}v[d+16>>2]=c}i=65534;u[h>>1]=65534;f=v[b>>2];if((f|0)>0){break b}c=j;if(l>>>0>c>>>0){continue}break b}break}f=(c|0)==191?2416:2386;if(!(v[h+16>>2]&w[(f&114)+854160|0])){break i}u[h>>1]=65534;c=v[h+44>>2];if(c){m:{if(y[a+20>>2]>e>>>0){u[e>>1]=c;e=e+2|0;c=v[a+24>>2];if(!c){break m}v[a+24>>2]=c+4;v[c>>2]=(v[a+8>>2]^-1)+j;break m}d=v[a+4>>2];g=t[d+65|0];t[d+65|0]=g+1;u[(d+(g<<1)|0)+116>>1]=c;v[b>>2]=15}v[h+44>>2]=0}c=f+x[h+8>>1]|0;if(y[a+20>>2]>e>>>0){u[e>>1]=c;e=e+2|0;c=v[a+24>>2];if(!c){break c}v[a+24>>2]=c+4;v[c>>2]=(j-v[a+8>>2]|0)-2;break c}d=v[a+4>>2];g=t[d+65|0];t[d+65|0]=g+1;u[(d+(g<<1)|0)+116>>1]=c;break d}v[b>>2]=10;break e}u[h>>1]=65534;v[b>>2]=12;break e}d=v[h+44>>2];if(d){n:{if(y[a+20>>2]>e>>>0){u[e>>1]=d;e=e+2|0;d=v[a+24>>2];if(!d){break n}v[a+24>>2]=d+4;v[d>>2]=(v[a+8>>2]^-1)+j;break n}g=v[a+4>>2];f=t[g+65|0];t[g+65|0]=f+1;u[(g+(f<<1)|0)+116>>1]=d;v[b>>2]=15}v[h+44>>2]=0}d=(c|0)==232?32:8205;o:{if(y[a+20>>2]>e>>>0){u[e>>1]=d;e=e+2|0;d=v[a+24>>2];if(!d){break o}v[a+24>>2]=d+4;v[d>>2]=(j-v[a+8>>2]|0)-2;break o}g=v[a+4>>2];f=t[g+65|0];t[g+65|0]=f+1;u[(g+(f<<1)|0)+116>>1]=d;v[b>>2]=15}i=65534;u[h>>1]=65534}g=h;p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{switch(c-217|0){default:switch(c-10|0){case 0:case 3:break y;default:break v};case 0:case 22:case 23:u[h>>1]=c;c=v[k+44>>2];if((c|0)==65535){break c}d=v[h+44>>2];if(d){A:{if(y[a+20>>2]>e>>>0){u[e>>1]=d;e=e+2|0;c=v[a+24>>2];if(!c){break A}v[a+24>>2]=c+4;v[c>>2]=(v[a+8>>2]^-1)+j;break A}c=v[a+4>>2];g=t[c+65|0];t[c+65|0]=g+1;u[(c+(g<<1)|0)+116>>1]=d;v[b>>2]=15}v[h+44>>2]=0;c=v[k+44>>2]}if(!((c|0)<161|c-2404>>>0<2|c-8204>>>0<2)){c=x[h+8>>1]+c|0}B:{if(y[a+20>>2]>e>>>0){u[e>>1]=c;e=e+2|0;c=v[a+24>>2];if(!c){break B}v[a+24>>2]=c+4;v[c>>2]=(j-v[a+8>>2]|0)-2;v[k+44>>2]=65535;break c}d=v[a+4>>2];g=t[d+65|0];t[d+65|0]=g+1;u[(d+(g<<1)|0)+116>>1]=c;v[b>>2]=15}v[k+44>>2]=65535;break c;case 17:f=2405;if((i&65535)==234){break q}f=w[h+16|0]&128?2404:65535;d=234;break s;case 1:case 2:case 3:case 4:case 5:case 6:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 18:case 19:case 20:case 21:break v;case 16:break w;case 7:break x;case 15:break z}}if((i&65535)==232){f=8204;d=65534;break s}f=w[h+16|0]?2381:65535;d=232;break s}t[h+25|0]=1;f=x[(c<<1)+853584>>1];break t}d=v[h+16>>2];if((i&255)==164){f=2308;if(d&128){break q}}f=d&135?2374:65535;d=224;break s}d=i&65535;if((d|0)==232){f=8205;d=65534;break s}C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{m=x[h+8>>1]!=256;if(!(!m&(d|0)==192)){f=1;switch((i&255)-161|0){case 5:break D;case 59:break E;case 58:break F;case 6:break G;case 9:break H;case 40:break I;case 31:break J;case 30:break K;case 25:break L;case 20:break M;case 19:break N;case 18:break O;case 0:break P;case 62:break Q;case 73:break R;default:break C}}c=v[h+44>>2];if(c){S:{if(y[a+20>>2]>e>>>0){u[e>>1]=c;e=e+2|0;c=v[a+24>>2];if(!c){break S}v[a+24>>2]=c+4;v[c>>2]=(v[a+8>>2]^-1)+j;break S}d=v[a+4>>2];g=t[d+65|0];t[d+65|0]=g+1;u[(d+(g<<1)|0)+116>>1]=c;v[b>>2]=15}v[h+44>>2]=0}g=v[a+20>>2];T:{U:{if(g>>>0>e>>>0){u[e>>1]=2652;c=v[a+24>>2];V:{if(!c){f=0;break V}f=c+4|0;v[a+24>>2]=f;v[c>>2]=(j-v[a+8>>2]|0)-2}c=e+2|0;if(v[b>>2]>0){e=c;break U}W:{if(c>>>0>>0){u[e+2>>1]=2637;X:{if(!f){i=0;break X}i=f+4|0;v[a+24>>2]=i;v[f>>2]=(j-v[a+8>>2]|0)-2}d=e+4|0;c=d;if(v[b>>2]>0){break W}if(d>>>0>>0){u[e+4>>1]=2617;e=e+6|0;if(!i){break T}v[a+24>>2]=i+4;v[i>>2]=(j-v[a+8>>2]|0)-2;break T}e=v[a+4>>2];c=t[e+65|0];t[e+65|0]=c+1;u[(e+(c<<1)|0)+116>>1]=2617;v[b>>2]=15;e=d;break T}e=v[a+4>>2];d=t[e+65|0];t[e+65|0]=d+1;u[(e+(d<<1)|0)+116>>1]=2637;v[b>>2]=15}e=c;c=v[a+4>>2];d=t[c+65|0];t[c+65|0]=d+1;u[(c+(d<<1)|0)+116>>1]=2617;break T}c=v[a+4>>2];d=t[c+65|0];t[c+65|0]=d+1;u[(c+(d<<1)|0)+116>>1]=2652;v[b>>2]=15}c=v[a+4>>2];d=c+116|0;g=t[c+65|0];u[d+(g<<1)>>1]=2637;t[c+65|0]=g+2;u[d+((g<<24)+16777216>>24<<1)>>1]=2617}v[k+44>>2]=65535;u[h>>1]=65534;break c}f=2;break D}f=3;break D}f=4;break D}f=5;break D}f=6;break D}f=7;break D}f=8;break D}f=9;break D}f=10;break D}f=11;break D}f=12;break D}f=13;break D}f=14;break D}f=15}f=x[(f<<2)+854098>>1];if(!(v[h+16>>2]&w[(f&255)+854160|0])){break C}u[h>>1]=65534;v[k+44>>2]=65535;if(m){break r}c=v[h+44>>2];if(c){Y:{if(y[a+20>>2]>e>>>0){u[e>>1]=c;e=e+2|0;c=v[a+24>>2];if(!c){break Y}v[a+24>>2]=c+4;v[c>>2]=(v[a+8>>2]^-1)+j;break Y}d=v[a+4>>2];g=t[d+65|0];t[d+65|0]=g+1;u[(d+(g<<1)|0)+116>>1]=c;v[b>>2]=15}v[h+44>>2]=0}f=f-2404>>>0<2|f-8204>>>0<2?f:x[h+8>>1]+f|0;if(y[a+20>>2]>e>>>0){u[e>>1]=f;e=e+2|0;c=v[a+24>>2];if(!c){break c}v[a+24>>2]=c+4;v[c>>2]=(j-v[a+8>>2]|0)-2;break c}c=v[a+4>>2];d=t[c+65|0];t[c+65|0]=d+1;u[(c+(d<<1)|0)+116>>1]=f;break d}f=x[(c<<1)+853584>>1];break u}f=x[(c<<1)+853584>>1];if(c>>>0<161){break t}}if(v[h+16>>2]&w[(f&127)+854160|0]){break t}f=x[h+8>>1]!=768?65535:(c|0)!=208?65535:2353}d=c}u[g>>1]=d;g=v[k+44>>2];if((g|0)==65535){break r}d=v[h+44>>2];Z:{_:{$:{i=x[h+8>>1];if((i|0)!=256){break $}if(!d){i=256;break Z}m=d-2560|0;if(m>>>0>79){break $}if(!(t[m+854288|0]&1)|(g|0)!=2381|(d|0)!=(f+256|0)){break _}d=(j-v[a+8>>2]|0)-3|0;c=v[a+20>>2];aa:{if(e>>>0>>0){u[e>>1]=2673;e=e+2|0;g=v[a+24>>2];if(!g){break aa}v[a+24>>2]=g+4;v[g>>2]=d;break aa}c=v[a+4>>2];g=t[c+65|0];t[c+65|0]=g+1;u[(c+(g<<1)|0)+116>>1]=2673;v[b>>2]=15;c=v[a+20>>2]}g=v[h+44>>2];ba:{if(c>>>0>e>>>0){u[e>>1]=g;e=e+2|0;c=v[a+24>>2];if(!c){break ba}v[a+24>>2]=c+4;v[c>>2]=d;break ba}c=v[a+4>>2];d=t[c+65|0];t[c+65|0]=d+1;u[(c+(d<<1)|0)+116>>1]=g;v[b>>2]=15}v[h+44>>2]=0;v[k+44>>2]=65535;break c}if(!d){break Z}}ca:{if(y[a+20>>2]>e>>>0){u[e>>1]=d;e=e+2|0;d=v[a+24>>2];if(!d){break ca}v[a+24>>2]=d+4;v[d>>2]=(v[a+8>>2]^-1)+j;break ca}g=v[a+4>>2];i=t[g+65|0];t[g+65|0]=i+1;u[(g+(i<<1)|0)+116>>1]=d;v[b>>2]=15}v[h+44>>2]=0;i=x[h+8>>1]}da:{ea:{d=i&65535;g=(d|0)!=256;if(!(g|(f|0)!=2306)){f=2306;i=v[k+44>>2];g=i-2304|0;if(g>>>0>79|w[g+854288|0]<2){break ea}if(!((i|0)<161|i-2404>>>0<2|i-8204>>>0<2)){i=i+256|0;v[k+44>>2]=i}if(y[a+20>>2]>e>>>0){u[e>>1]=i;e=e+2|0;f=2416;d=v[a+24>>2];if(!d){break da}v[a+24>>2]=d+4;v[d>>2]=(j-v[a+8>>2]|0)-2;break da}d=v[a+4>>2];g=t[d+65|0];t[d+65|0]=g+1;u[(d+(g<<1)|0)+116>>1]=i;v[b>>2]=15;f=2416;break da}i=v[k+44>>2];if((f|0)!=2381|g){break ea}f=2381;g=i-2304|0;if(g>>>0>79|!(t[g+854288|0]&1)){break ea}v[h+44>>2]=i+256;break da}if(!((i|0)<161|i-2404>>>0<2|i-8204>>>0<2)){i=d+i|0;v[k+44>>2]=i}if(y[a+20>>2]>e>>>0){u[e>>1]=i;e=e+2|0;d=v[a+24>>2];if(!d){break da}v[a+24>>2]=d+4;v[d>>2]=(j-v[a+8>>2]|0)-2;break da}d=v[a+4>>2];g=t[d+65|0];t[d+65|0]=g+1;u[(d+(g<<1)|0)+116>>1]=i;v[b>>2]=15}v[k+44>>2]=65535}if((f|0)!=65535){break p}v[b>>2]=10;break e}u[h>>1]=65534}v[k+44>>2]=f;if(w[h+25|0]!=1){break c}t[h+25|0]=0;u[h+8>>1]=x[h+4>>1];v[h+16>>2]=v[h+20>>2];break c}v[b>>2]=15;l=j;break a}t[v[a+4>>2]+37|0]=c;t[v[a+4>>2]+36|0]=1;f=v[b>>2];break b}v[b>>2]=15}f=v[b>>2];if((f|0)>0){break b}if(j>>>0>>0){continue}break}}if((f|0)>0){l=j;break a}if(!w[a+2|0]){l=j;break a}if((j|0)!=(l|0)){l=j;break a}j=v[a+4>>2];c=x[h>>1];d=c-217|0;fa:{if(!(d>>>0>23|!(1<>1]=65534;break fa}t[j+36|0]=0}c=v[k+44>>2];if((c|0)==65535){break a}if(!((c|0)<161|c-2404>>>0<2|c-8204>>>0<2)){c=x[h+8>>1]+c|0;v[k+44>>2]=c}ga:{if(y[a+20>>2]>e>>>0){u[e>>1]=c;e=e+2|0;b=v[a+24>>2];if(!b){break ga}v[a+24>>2]=b+4;v[b>>2]=(v[a+8>>2]^-1)+l;break ga}j=v[a+4>>2];h=t[j+65|0];t[j+65|0]=h+1;u[(j+(h<<1)|0)+116>>1]=c;v[b>>2]=15}v[k+44>>2]=65535}v[a+8>>2]=l;v[a+16>>2]=e}function bFa(a){a=a|0;var 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;f=Ma-80|0;Ma=f;k=v[a+8>>2];a:{if(!k){b=6;break a}m=v[a>>2];g=v[a+4>>2];b:{if(v[g+12>>2]>1){break b}sn(g);if(v[g+12>>2]>1){break b}c=v[g+8>>2];b=v[g>>2];while(1){if(b>>>0>=c>>>0){break b}e=b+1|0;v[g>>2]=e;h=w[b|0];b=e;if(!(1<>>0>26){continue}break}}while(1){c:{v[g+12>>2]=0;e=lw(g);if(e){break c}b=2;if(v[g+12>>2]==2){continue}break a}break}b=2;if((v[g>>2]+(e^-1)|0)!=16){break a}if(Kb(e,236910,16)){break a}h=160;d:while(1){d=v[a+4>>2];e:{if(v[d+12>>2]>1){break e}sn(d);if(v[d+12>>2]>1){break e}c=v[d+8>>2];b=v[d>>2];while(1){if(b>>>0>=c>>>0){break e}e=b+1|0;v[d>>2]=e;g=w[b|0];b=e;if(!(1<>>0>26){continue}break}}f:{while(1){g:{v[d+12>>2]=0;j=lw(d);if(j){break g}if(v[d+12>>2]==2){continue}break f}break}g=v[d>>2]+(j^-1)|0;d=w[j|0];e=0;while(1){h:{i=v[(e<<2)+455456>>2];if((d|0)==w[i|0]){c=e;break h}c=e|1;i=v[(c<<2)+455456>>2];if((d|0)==w[i|0]){break h}e=e+2|0;if((e|0)!=74){continue}continue d}break}b=(c|0)>73?c:73;while(1){if(Kb(i,j,g)){if((b|0)==(c|0)){continue d}c=c+1|0;i=v[(c<<2)+455456>>2];if((d|0)==w[i|0]){continue}continue d}break}b=0;i:{j:{k:{l:{switch(c|0){case 40:v[f+32>>2]=3;if((ym(a,f+32|0,1)|0)!=1){break f}if(!(v[f+36>>2]&-3)){continue}h=7;break f;case 30:v[f>>2]=4;if((ym(a,f,1)|0)!=1){break f}t[k|0]=w[f+4|0];continue;case 26:v[f+24>>2]=2;v[f+16>>2]=2;v[f+8>>2]=2;v[f>>2]=2;if((ym(a,f,4)|0)!=4){break f}v[k+4>>2]=v[f+4>>2];v[k+8>>2]=v[f+12>>2];v[k+12>>2]=v[f+20>>2];v[k+16>>2]=v[f+28>>2];continue;case 0:v[f>>2]=2;if((ym(a,f,1)|0)!=1){break f}v[k+20>>2]=v[f+4>>2];continue;case 14:v[f>>2]=2;if((ym(a,f,1)|0)!=1){break f}v[k+24>>2]=v[f+4>>2];continue;case 45:v[f+32>>2]=3;if((ym(a,f+32|0,1)|0)!=1){break f}h=v[f+36>>2];if((h|0)<1){break i}m:while(1){j=v[a+4>>2];n:{if(v[j+12>>2]>1){break n}sn(j);if(v[j+12>>2]>1){break n}c=v[j+8>>2];e=v[j>>2];while(1){if(c>>>0<=e>>>0){break n}b=e+1|0;v[j>>2]=b;g=w[e|0];e=b;if(!(1<>>0>26){continue}break}}e=v[j>>2];d=v[j+8>>2];if(e>>>0>>0){g=h-1|0;v[j+12>>2]=0;while(1){c=1;b=e+1|0;v[j>>2]=b;o:{switch(w[e|0]-9|0){default:p:{q:{r:{while(1){c=3;if(b>>>0>=d>>>0){break q}e=b;b=b+1|0;v[j>>2]=b;s:{switch(w[e|0]-9|0){case 0:case 23:break p;case 17:break q;case 50:break r;case 1:case 4:break s;default:continue}}break}c=2;break q}c=1}v[j+12>>2]=c}b=(h|0)>1;h=g;if(b){continue m}break i;case 0:case 23:e=b;if((b|0)!=(d|0)){continue}break k;case 50:break j;case 17:break k;case 1:case 4:break o}}v[j+12>>2]=0;e=b;if(b>>>0>>0){continue}break}break k}break};v[j+12>>2]=3;b=160;break a;case 20:break a;case 49:break l;default:continue}}t:while(1){d=v[a+4>>2];u:{if(v[d+12>>2]>1){break u}sn(d);if(v[d+12>>2]>1){break u}c=v[d+8>>2];e=v[d>>2];while(1){if(c>>>0<=e>>>0){break u}b=e+1|0;v[d>>2]=b;h=w[e|0];e=b;if(!(1<>>0>26){continue}break}}v[d+12>>2]=0;c=3;v:{w:{e=v[d>>2];g=v[d+8>>2];x:{if(e>>>0>=g>>>0){break x}while(1){y:{b=e+1|0;v[d>>2]=b;z:{switch(w[e|0]-9|0){case 0:case 23:e=b;if((b|0)!=(g|0)){continue}break x;default:A:{B:{C:{while(1){h=3;c=b;if(b>>>0>=g>>>0){break B}b=c+1|0;v[d>>2]=b;D:{switch(w[c|0]-9|0){case 0:case 23:break A;case 17:break B;case 50:break C;case 1:case 4:break D;default:continue}}break}h=2;break B}h=1}v[d+12>>2]=h}h=(e^-1)+b|0;g=w[e|0];b=0;while(1){i=v[(b<<2)+455456>>2];if((g|0)==w[i|0]){c=b;break w}c=b|1;i=v[(c<<2)+455456>>2];if((g|0)==w[i|0]){break w}b=b+2|0;if((b|0)!=74){continue}break};continue t;case 17:break x;case 50:break y;case 1:case 4:break z}}v[d+12>>2]=0;e=b;if(b>>>0>>0){continue}break x}break}c=1}v[d+12>>2]=c;break v}b=(c|0)>73?c:73;while(1){if(Kb(i,e,h)){if((b|0)==(c|0)){continue t}c=c+1|0;i=v[(c<<2)+455456>>2];if((g|0)==w[i|0]){continue}continue t}break}b=0;h=160;E:{switch(c-20|0){case 33:l=v[a+8>>2];v[f+32>>2]=3;if((ym(a,f+32|0,1)|0)!=1){break v}b=v[f+36>>2];if((b|0)<0){break v}v[l+32>>2]=b;if(b){n=l,o=yb(v[a>>2],20,0,b,0,f+32|0),v[n+28>>2]=o;h=v[f+32>>2];if(h){break f}}h=-1;F:while(1){d=v[a+4>>2];G:{if(v[d+12>>2]>1){break G}sn(d);if(v[d+12>>2]>1){break G}c=v[d+8>>2];b=v[d>>2];while(1){if(b>>>0>=c>>>0){break G}e=b+1|0;v[d>>2]=e;g=w[b|0];b=e;if(!(1<>>0>26){continue}break}}while(1){H:{v[d+12>>2]=0;j=lw(d);if(j){break H}if(v[d+12>>2]==2){continue}break v}break}g=v[d>>2]+(j^-1)|0;d=w[j|0];e=0;while(1){I:{i=v[(e<<2)+455456>>2];if((d|0)==w[i|0]){c=e;break I}c=e|1;i=v[(c<<2)+455456>>2];if((d|0)==w[i|0]){break I}e=e+2|0;if((e|0)!=74){continue}continue F}break}b=(c|0)>73?c:73;while(1){if(Kb(i,j,g)){if((b|0)==(c|0)){continue F}c=c+1|0;i=v[(c<<2)+455456>>2];if((d|0)==w[i|0]){continue}continue F}break}J:{switch(c-20|0){case 36:h=h+1|0;if((h|0)>=v[l+32>>2]){break v}b=v[l+28>>2];v[f+64>>2]=2;v[f+56>>2]=2;v[f+48>>2]=2;v[f+40>>2]=2;v[f+32>>2]=3;if((ym(a,f+32|0,5)|0)!=5){break v}b=b+B(h,20)|0;v[b>>2]=v[f+36>>2];v[b+4>>2]=v[f+44>>2];v[b+8>>2]=v[f+52>>2];v[b+12>>2]=v[f+60>>2];v[b+16>>2]=v[f+68>>2];continue;default:if((c|0)==75){continue}break v;case 2:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:break v;case 0:case 1:case 3:break J}}break};v[l+32>>2]=h+1;continue;case 0:case 1:break a;case 55:continue;case 30:case 31:break E;default:break f}}l=v[a+8>>2];v[f+32>>2]=3;if((ym(a,f+32|0,1)|0)!=1){break v}b=v[f+36>>2];if((b|0)<0){break v}v[l+40>>2]=b;if(b){n=l,o=yb(v[a>>2],16,0,b,0,f+32|0),v[n+36>>2]=o;h=v[f+32>>2];if(h){break f}}h=-1;K:while(1){d=v[a+4>>2];L:{if(v[d+12>>2]>1){break L}sn(d);if(v[d+12>>2]>1){break L}c=v[d+8>>2];b=v[d>>2];while(1){if(b>>>0>=c>>>0){break L}e=b+1|0;v[d>>2]=e;g=w[b|0];b=e;if(!(1<>>0>26){continue}break}}while(1){M:{v[d+12>>2]=0;j=lw(d);if(j){break M}if(v[d+12>>2]==2){continue}break v}break}g=v[d>>2]+(j^-1)|0;d=w[j|0];e=0;while(1){N:{i=v[(e<<2)+455456>>2];if((d|0)==w[i|0]){c=e;break N}c=e|1;i=v[(c<<2)+455456>>2];if((d|0)==w[i|0]){break N}e=e+2|0;if((e|0)!=74){continue}continue K}break}b=(c|0)>73?c:73;while(1){if(Kb(i,j,g)){if((b|0)==(c|0)){continue K}c=c+1|0;i=v[(c<<2)+455456>>2];if((d|0)==w[i|0]){continue}continue K}break}if((c|0)==75){continue}b=c-20|0;if(b>>>0>17){break v}b=1<=v[l+40>>2]){break v}b=v[l+36>>2];v[f+56>>2]=3;v[f+48>>2]=3;v[f+40>>2]=5;v[f+32>>2]=5;j=ym(a,f+32|0,4);if((j|0)<3){break v}d=b+(h<<4)|0;v[d>>2]=v[f+36>>2];v[d+4>>2]=v[f+44>>2];b=0;e=v[f+52>>2];g=d;if((c|0)!=37){b=e;e=(c|0)==34?(j|0)==4?v[f+60>>2]:0:0}v[g+12>>2]=e;v[d+8>>2]=b;continue}break}b=h+1|0;v[l+40>>2]=b;$l(v[l+36>>2],b,16,2293);continue}break}h=160;break f}c=3}v[j+12>>2]=c;b=160;break a}O:while(1){d=v[a+4>>2];P:{if(v[d+12>>2]>1){break P}sn(d);if(v[d+12>>2]>1){break P}c=v[d+8>>2];e=v[d>>2];while(1){if(c>>>0<=e>>>0){break P}b=e+1|0;v[d>>2]=b;h=w[e|0];e=b;if(!(1<>>0>26){continue}break}}Q:{e=v[d>>2];g=v[d+8>>2];if(e>>>0>>0){v[d+12>>2]=0;R:{while(1){S:{c=1;b=e+1|0;v[d>>2]=b;T:{switch(w[e|0]-9|0){default:U:{V:{W:{while(1){h=3;c=b;if(b>>>0>=g>>>0){break V}b=c+1|0;v[d>>2]=b;X:{switch(w[c|0]-9|0){case 0:case 23:break U;case 17:break V;case 50:break W;case 1:case 4:break X;default:continue}}break}h=2;break V}h=1}v[d+12>>2]=h}h=(e^-1)+b|0;g=w[e|0];b=0;while(1){i=v[(b<<2)+455456>>2];if((g|0)==w[i|0]){c=b;break Q}c=b|1;i=v[(c<<2)+455456>>2];if((g|0)==w[i|0]){break Q}b=b+2|0;if((b|0)!=74){continue}break};continue O;case 1:case 4:v[d+12>>2]=0;e=b;if(b>>>0>>0){continue}break S;case 50:break R;case 17:break S;case 0:case 23:break T}}e=b;if((b|0)!=(g|0)){continue}}break}c=3}v[d+12>>2]=c;b=160;break a}v[d+12>>2]=3;b=160;break a}b=(c|0)>73?c:73;while(1){if(Kb(i,e,h)){if((b|0)==(c|0)){continue O}c=c+1|0;i=v[(c<<2)+455456>>2];if((g|0)==w[i|0]){continue}continue O}break}h=0;if(!((c|0)==20^(c|0)==17)){continue}break}continue}break}a=v[k+28>>2];if(a){Qa[v[m+8>>2]](m,a)}v[k+28>>2]=0;v[k+32>>2]=0;a=v[k+36>>2];if(a){Qa[v[m+8>>2]](m,a)}v[k+36>>2]=0;v[k+40>>2]=0;t[k|0]=0;b=h}Ma=f+80|0;return b|0}function pq(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){var q=0,r=0,s=0,t=0,u=0,x=0,y=0,z=0,B=0,C=0,D=0,E=0,G=0;q=Ma-368|0;Ma=q;t=a;a:{if(v[t>>2]<2){break a}s=v[a+4>>2];if(w[s|0]!=254|w[s+1|0]!=255){break a}t=Qd(ab(8));if(v[a>>2]<4){break a}r=2;y=3;while(1){s=t;D=v[a+4>>2];if(w[D+r|0]){y=63}else{y=w[y+D|0]}$b(s,y<<24>>24);r=r+2|0;y=r|1;if((y|0)>2]){continue}break}}b:{c:{if(!v[t>>2]){if((a|0)!=(t|0)){break c}break b}d:{e:{if(b){y=-1;f:{s=XG(b);if(v[s+8>>2]<3){break f}b=Ec(v[v[s>>2]+8>>2],273522)?-1:0;g:{if(v[s+8>>2]<4){break g}b=Ec(v[v[s>>2]+12>>2],273522)?b:1;if(v[s+8>>2]<5){break g}b=Ec(v[v[s>>2]+16>>2],273522)?b:2;r=6;if(v[s+8>>2]<6){break g}b=Ec(v[v[s>>2]+20>>2],273522)?b:3;if(v[s+8>>2]<7){break g}while(1){D=r<<2;h:{if(!Ec(v[D+v[s>>2]>>2],273522)){b=r-2|0;break h}y=Ec(v[v[s>>2]+D>>2],258361)?y:r-6|0}r=r+1|0;if((r|0)>2]){continue}break}}i:{j:{if(!i|(b|0)<0){break j}i=v[v[s>>2]+(b<<2)>>2];if(!Ec(i,302457)){break j}ih(i);Wb(i,302457);break i}if((b|0)<0){break f}}k:{l:{r=v[v[s>>2]+(b<<2)>>2];if(v[r>>2]<1){break l}i=v[r+4>>2];if(w[i|0]!=47){break l}if(c){i=FG(c,i+1|0);if(i){break k}}i=0;fb(1,-1,272255,0);ih(r);Wb(r,227794);break k}i=0;fb(1,-1,272289,0)}u=Ue(v[v[(v[s>>2]+(b<<2)|0)+4>>2]+4>>2]);break d}fb(1,-1,272345,0);break e}y=-1;fb(1,-1,272345,0);s=hc(ab(16))}b=v[s+8>>2];c=ab(8);Rb(c,227794);Ib(s,c);c=ab(8);Rb(c,325709);Ib(s,c);c=ab(8);Rb(c,273522);Ib(s,c);i=0;u=0}if(h){Wb(p,346309)}Wb(p,341233);m:{n:{o:{if((j|0)!=270){if((j|0)!=180){if((j|0)!=90){break n}A[q+304>>3]=l;Fb(p,341833,q+304|0);break o}A[q+328>>3]=m;A[q+320>>3]=l;Fb(p,341780,q+320|0);break n}A[q+336>>3]=m;Fb(p,341810,q+336|0)}C=m;break m}C=l;l=m}p:{q:{r:{s:{t:{u:{v:{w:{if(d){E=m>15?5:2;z=C-(n+n)+-4;if(u!=0){break q}if(v[t>>2]<1){break v}r=0;x=l-E;m=x;while(1){rl(t,r,i,10,z,q+356|0,q+360|0,q+352|0);m=m+-10;c=v[t>>2];r=v[q+352>>2];if((c|0)>(r|0)){continue}break}B=A[q+360>>3];if(m>=2.5){u=10;if(B<=z){break r}}r=0;m=x;if((c|0)>0){while(1){rl(t,r,i,9,z,q+356|0,q+360|0,q+352|0);m=m+-9;c=v[t>>2];r=v[q+352>>2];if((c|0)>(r|0)){continue}break}B=A[q+360>>3]}if(!(m>=2.25)){break w}u=9;if(!(B<=z)){break w}break r}if((e|0)>=1){x=C/+(e|0);A[q+360>>3]=x;m=0;x:{if(u!=0){break x}n=l-(n+n);u=F(H(n>x?x:n),10);if((b|0)<0){break x}b=v[(v[s>>2]+(b<<2)|0)+4>>2];ih(b);A[q+80>>3]=u;Fb(b,217437,q+80|0)}y:{z:{switch(f-1|0){case 0:m=x*+((e-v[t>>2]|0)/2|0);break y;case 1:break z;default:break y}}m=x*+(e-v[t>>2]|0)}n=u;A:{if(!i){z=-.25;C=.75;break A}z=A[i+136>>3];C=A[i+144>>3]}n=n*C;C=u*z;B:{C:{switch(g-1|0){default:l=l-n;break B;case 0:l=(l-n-C)*.5;break B;case 1:l=(l-n)*.5;break B;case 2:break C}}l=-C}Wb(p,345516);r=0;if((y|0)>=0){b=y<<2;c=v[(b+v[s>>2]|0)+16>>2];ih(c);A[q+64>>3]=m+0;Fb(c,217437,q- -64|0);b=v[(b+v[s>>2]|0)+20>>2];ih(b);A[q+48>>3]=l+k;Fb(b,217437,q+48|0)}if(v[s+8>>2]>=1){while(1){$b(Ug(p,v[v[s>>2]+(r<<2)>>2]),32);r=r+1|0;if((r|0)>2]){continue}break}}if((y|0)<=-1){A[q+40>>3]=l+k;A[q+32>>3]=m+0;Fb(p,341894,q+32|0)}b=345512;y=v[t>>2];if((y|0)<1){break s}m=0;c=0;while(1){d=w[v[t+4>>2]+c|0];D:{if(!(d>>>0<32|d<<24>>24<0)){l=.5;E:{if(!i){break E}if(Qa[v[v[i>>2]+8>>2]](i)|0){break E}l=A[((d<<3)+i|0)+1464>>3]}k=(x-u*l)*.5;A[q+16>>3]=m+k;Fb(p,344893,q+16|0);y=342114;v[q>>2]=d;Fb(p,(d|0)==92|d-40>>>0<2?y:342127,q);y=v[t>>2];m=x-k;break D}m=m+x}c=c+1|0;if((y|0)>(c|0)){continue}break}break s}if(!i){break u}if(Qa[v[v[i>>2]+8>>2]](i)|0){break u}v[q+360>>2]=0;v[q+364>>2]=0;e=v[t>>2];if((e|0)<1){m=0;break t}d=e&3;c=v[t+4>>2];F:{if(e-1>>>0<3){r=0;m=0;break F}e=e&-4;r=0;m=0;j=i+1464|0;while(1){m=A[j+(w[c+r|0]<<3)>>3]+m;A[q+360>>3]=m;m=A[j+(w[c+(r|1)|0]<<3)>>3]+m;A[q+360>>3]=m;m=A[j+(w[c+(r|2)|0]<<3)>>3]+m;A[q+360>>3]=m;m=A[j+(w[c+(r|3)|0]<<3)>>3]+m;A[q+360>>3]=m;r=r+4|0;e=e-4|0;if(e){continue}break}}if(!d){break t}while(1){m=A[((w[c+r|0]<<3)+i|0)+1464>>3]+m;A[q+360>>3]=m;r=r+1|0;d=d-1|0;if(d){continue}break}break t}m=x;if((c|0)>=1){r=0;while(1){rl(t,r,i,8,z,q+356|0,q+360|0,q+352|0);m=m+-8;c=v[t>>2];r=v[q+352>>2];if((c|0)>(r|0)){continue}break}B=A[q+360>>3]}if(m>=2){u=8;if(B<=z){break r}}m=x;if((c|0)>=1){r=0;while(1){rl(t,r,i,7,z,q+356|0,q+360|0,q+352|0);m=m+-7;c=v[t>>2];r=v[q+352>>2];if((c|0)>(r|0)){continue}break}B=A[q+360>>3]}if(m>=1.75){u=7;if(B<=z){break r}}m=x;if((c|0)>=1){r=0;while(1){rl(t,r,i,6,z,q+356|0,q+360|0,q+352|0);m=m+-6;c=v[t>>2];r=v[q+352>>2];if((c|0)>(r|0)){continue}break}B=A[q+360>>3]}if(m>=1.5){u=6;if(B<=z){break r}}m=x;if((c|0)>=1){r=0;while(1){rl(t,r,i,5,z,q+356|0,q+360|0,q+352|0);m=m+-5;c=v[t>>2];r=v[q+352>>2];if((c|0)>(r|0)){continue}break}B=A[q+360>>3]}if(m>=1.25){u=5;if(B<=z){break r}}m=x;if((c|0)>=1){r=0;while(1){rl(t,r,i,4,z,q+356|0,q+360|0,q+352|0);m=m+-4;c=v[t>>2];r=v[q+352>>2];if((c|0)>(r|0)){continue}break}B=A[q+360>>3]}if(m>=1){u=4;if(B<=z){break r}}m=x;if((c|0)>=1){r=0;while(1){rl(t,r,i,3,z,q+356|0,q+360|0,q+352|0);m=m+-3;c=v[t>>2];r=v[q+352>>2];if((c|0)>(r|0)){continue}break}B=A[q+360>>3]}if(m>=.75){u=3;if(B<=z){break r}}if((c|0)>=1){r=0;while(1){rl(t,r,i,2,z,q+356|0,q+360|0,q+352|0);x=x+-2;r=v[q+352>>2];if((r|0)>2]){continue}break}B=A[q+360>>3]}if(!(x>=.5)){break v}u=2;if(B<=z){break r}}u=1;break r}m=+v[t>>2]*.5}G:{if(u!=0){break G}x=n+n;u=(C+-4-x)/m;x=l-x;u=F(H(u>2]+(b<<2)|0)+4>>2];ih(b);A[q+192>>3]=u;Fb(b,217437,q+192|0)}x=u*m;A[q+360>>3]=x;H:{I:{switch(f-1|0){default:m=n+2;break H;case 0:m=(C-x)*.5;break H;case 1:break I}}m=C-n+-2-x}n=u;J:{if(!i){C=-.25;B=.75;break J}C=A[i+136>>3];B=A[i+144>>3]}n=n*B;C=u*C;K:{L:{switch(g-1|0){default:l=l-n;break K;case 0:l=(l-n-C)*.5;break K;case 1:l=(l-n)*.5;break K;case 2:break L}}l=-C}if(o){A[q+184>>3]=u*1.2;A[q+176>>3]=u*.5+x;A[q+168>>3]=l+u*-.35;A[q+160>>3]=m+u*-.25;Fb(p,345539,q+160|0)}Wb(p,345516);r=0;if((y|0)>=0){b=y<<2;c=v[(b+v[s>>2]|0)+16>>2];ih(c);A[q+144>>3]=m+0;Fb(c,217437,q+144|0);b=v[(b+v[s>>2]|0)+20>>2];ih(b);A[q+128>>3]=l+k;Fb(b,217437,q+128|0)}if(v[s+8>>2]>=1){while(1){$b(Ug(p,v[v[s>>2]+(r<<2)>>2]),32);r=r+1|0;if((r|0)>2]){continue}break}}if((y|0)<=-1){A[q+120>>3]=l+k;A[q+112>>3]=m+0;Fb(p,341894,q+112|0)}$b(p,40);b=342133;if(v[t>>2]<1){break s}r=0;while(1){c=w[v[t+4>>2]+r|0];M:{if(!(c-40>>>0>=2&(c|0)!=92)){$b(p,92);$b(p,c<<24>>24);break M}N:{if(c>>>0>=32){d=c<<24>>24;if((d|0)>-1){break N}}v[q+96>>2]=c;Fb(p,217427,q+96|0);break M}$b(p,d)}r=r+1|0;if((r|0)>2]){continue}break}}Wb(p,b);break p}if((b|0)<0){break q}b=v[(v[s>>2]+(b<<2)|0)+4>>2];ih(b);A[q+288>>3]=u;Fb(b,217445,q+288|0)}c=0;O:{if(v[t>>2]<1){r=0;break O}r=0;while(1){rl(t,c,i,u,z,q+356|0,q+360|0,q+352|0);r=r+1|0;c=v[q+352>>2];if((c|0)>2]){continue}break}}m=u;P:{if(!i){x=-.25;B=.75;break P}x=A[i+136>>3];B=A[i+144>>3]}Wb(p,345516);G=u;m=m*x;x=2-m;Q:{R:{switch(g-1|0){default:m=l-u*B-E;break Q;case 0:m=u*+(r-1|0)+(l-u*+(r|0))*.5-m;break Q;case 1:m=u*+(r-1|0)+(l-u*+(r|0))*.5;break Q;case 2:break R}}m=u*+(r-1|0)-m}l=G+(E+u>l?x:m);r=0;if((y|0)>=0){b=y<<2;c=v[(b+v[s>>2]|0)+16>>2];ih(c);A[q+272>>3]=0;Fb(c,217437,q+272|0);b=v[(b+v[s>>2]|0)+20>>2];ih(b);A[q+256>>3]=l+k;Fb(b,217437,q+256|0)}if(v[s+8>>2]>=1){while(1){$b(Ug(p,v[v[s>>2]+(r<<2)>>2]),32);r=r+1|0;if((r|0)>2]){continue}break}}if((y|0)<=-1){A[q+240>>3]=0;A[q+248>>3]=l+k;Fb(p,341894,q+240|0)}if(v[t>>2]<1){break p}k=n+2;n=C-n+-2;x=-u;l=0;r=0;c=f-1|0;while(1){rl(t,r,i,u,z,q+356|0,q+360|0,q+352|0);m=k;S:{T:{switch(c|0){case 0:m=(C-A[q+360>>3])*.5;break S;case 1:break T;default:break S}}m=n-A[q+360>>3]}A[q+232>>3]=x;A[q+224>>3]=m-l;Fb(p,344873,q+224|0);$b(p,40);d=v[q+356>>2];if((d|0)>(r|0)){while(1){b=w[v[t+4>>2]+r|0];U:{if(!(b-40>>>0>=2&(b|0)!=92)){$b(p,92);$b(p,b<<24>>24);break U}V:{if(b>>>0>=32){e=b<<24>>24;if((e|0)>-1){break V}}v[q+208>>2]=b;Fb(p,217427,q+208|0);break U}$b(p,e)}r=r+1|0;if((d|0)!=(r|0)){continue}break}}Wb(p,342133);l=m;r=v[q+352>>2];if((r|0)>2]){continue}break}}Wb(p,345512);Wb(p,345582);if(h){Wb(p,346304)}p=v[s+8>>2];if((p|0)>=1){r=0;while(1){b=v[v[s>>2]+(r<<2)>>2];if(b){Bb(b);$a(b);p=v[s+8>>2]}r=r+1|0;if((r|0)<(p|0)){continue}break}}$a(mc(s));if((a|0)==(t|0)){break b}}$a(Bb(t))}Ma=q+368|0}function nAa(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;h=Ma-272|0;Ma=h;u[h+268>>1]=8224;v[h+264>>2]=538976288;d=Fg(104);v[a+8>>2]=d;a:{b:{if(d){v[h+32>>2]=v[210966];g=v[210965];v[h+24>>2]=v[210964];v[h+28>>2]=g;g=v[210963];v[h+16>>2]=v[210962];v[h+20>>2]=g;g=v[210961];v[h+8>>2]=v[210960];v[h+12>>2]=g;f=w[b+8|0];t[h+16|0]=f;d=eb(d,0,104);v[a+52>>2]=0;g=v[b+24>>2];if(!g){v[d+64>>2]=v[b+12>>2]&15;break b}g=w[Sb(h+264|0,g,6)|0];e=v[b+12>>2]&15;v[d+64>>2]=e;c:{d:{switch(g-106|0){case 0:g=w[h+265|0]-97|0;if(!(!g|(g|0)==15)){break b}g=w[h+266|0];if(g?(g|0)!=95:0){break b}if(e>>>0>=5){v[c>>2]=2;break a}e:{f:{if(e>>>0<=1){i=d,j=Ze(310154,h+40|0,h+8|0,c),v[i+16>>2]=j;if(!e){break e}e=20;g=320539;break f}g=h+40|0;e=h+8|0;i=d,j=Ze(314591,g,e,c),v[i+8>>2]=j;i=d,j=Ze(310154,g,e,c),v[i+16>>2]=j;i=d,j=Ze(320539,g,e,c),v[i+20>>2]=j;i=d,j=Ze(314175,g,e,c),v[i+24>>2]=j;e=28;g=324933}i=d+e|0,j=Ze(g,h+40|0,h+8|0,c),v[i>>2]=j}g=843880;v[a+24>>2]=843880;t[d+101|0]=w[306173];e=w[306171]|w[306172]<<8;t[d+99|0]=e;t[d+100|0]=e>>>8;e=w[313366]|w[313367]<<8|(w[313368]<<16|w[313369]<<24);f=w[313362]|w[313363]<<8|(w[313364]<<16|w[313365]<<24);t[d+69|0]=f;t[d+70|0]=f>>>8;t[d+71|0]=f>>>16;t[d+72|0]=f>>>24;t[d+73|0]=e;t[d+74|0]=e>>>8;t[d+75|0]=e>>>16;t[d+76|0]=e>>>24;e=w[313374]|w[313375]<<8|(w[313376]<<16|w[313377]<<24);f=w[313370]|w[313371]<<8|(w[313372]<<16|w[313373]<<24);t[d+77|0]=f;t[d+78|0]=f>>>8;t[d+79|0]=f>>>16;t[d+80|0]=f>>>24;t[d+81|0]=e;t[d+82|0]=e>>>8;t[d+83|0]=e>>>16;t[d+84|0]=e>>>24;e=w[313382]|w[313383]<<8|(w[313384]<<16|w[313385]<<24);f=w[313378]|w[313379]<<8|(w[313380]<<16|w[313381]<<24);t[d+85|0]=f;t[d+86|0]=f>>>8;t[d+87|0]=f>>>16;t[d+88|0]=f>>>24;t[d+89|0]=e;t[d+90|0]=e>>>8;t[d+91|0]=e>>>16;t[d+92|0]=e>>>24;e=w[313386]|w[313387]<<8|(w[313388]<<16|w[313389]<<24);t[d+93|0]=e;t[d+94|0]=e>>>8;t[d+95|0]=e>>>16;t[d+96|0]=e>>>24;e=w[d+64|0];d=d+69|0;d=zb(d)+d|0;t[d+1|0]=0;t[d|0]=e+48;break c;case 1:g:{switch(w[h+265|0]-111|0){case 0:case 3:break g;default:break b}}g=w[h+266|0];if(g?(g|0)!=95:0){break b}if(e>>>0>=2){v[c>>2]=2;break a}g=315413;if((e|0)!=1){v[d+64>>2]=0;g=313762}if(f){nZ(g,c);Nd(v[a+8>>2]);v[a+8>>2]=0;break a}g=AA(g,c);v[d+40>>2]=g;if(v[c>>2]>=1){qI(a);break a}h:{if((e|0)==1){e=w[324410]|w[324411]<<8|(w[324412]<<16|w[324413]<<24);f=w[324406]|w[324407]<<8|(w[324408]<<16|w[324409]<<24);t[d+90|0]=f;t[d+91|0]=f>>>8;t[d+92|0]=f>>>16;t[d+93|0]=f>>>24;t[d+94|0]=e;t[d+95|0]=e>>>8;t[d+96|0]=e>>>16;t[d+97|0]=e>>>24;e=w[324405]|w[324406]<<8|(w[324407]<<16|w[324408]<<24);f=w[324401]|w[324402]<<8|(w[324403]<<16|w[324404]<<24);t[d+85|0]=f;t[d+86|0]=f>>>8;t[d+87|0]=f>>>16;t[d+88|0]=f>>>24;t[d+89|0]=e;t[d+90|0]=e>>>8;t[d+91|0]=e>>>16;t[d+92|0]=e>>>24;e=w[324397]|w[324398]<<8|(w[324399]<<16|w[324400]<<24);f=w[324393]|w[324394]<<8|(w[324395]<<16|w[324396]<<24);t[d+77|0]=f;t[d+78|0]=f>>>8;t[d+79|0]=f>>>16;t[d+80|0]=f>>>24;t[d+81|0]=e;t[d+82|0]=e>>>8;t[d+83|0]=e>>>16;t[d+84|0]=e>>>24;e=w[324389]|w[324390]<<8|(w[324391]<<16|w[324392]<<24);f=w[324385]|w[324386]<<8|(w[324387]<<16|w[324388]<<24);t[d+69|0]=f;t[d+70|0]=f>>>8;t[d+71|0]=f>>>16;t[d+72|0]=f>>>24;t[d+73|0]=e;t[d+74|0]=e>>>8;t[d+75|0]=e>>>16;t[d+76|0]=e>>>24;e=v[a+20>>2];g=v[g+20>>2];g=w[g|0]|w[g+1|0]<<8|(w[g+2|0]<<16|w[g+3|0]<<24);t[e|0]=g;t[e+1|0]=g>>>8;t[e+2|0]=g>>>16;t[e+3|0]=g>>>24;g=v[d+40>>2];t[a+61|0]=w[g+61|0];break h}e=w[325120]|w[325121]<<8|(w[325122]<<16|w[325123]<<24);f=w[325116]|w[325117]<<8|(w[325118]<<16|w[325119]<<24);t[d+90|0]=f;t[d+91|0]=f>>>8;t[d+92|0]=f>>>16;t[d+93|0]=f>>>24;t[d+94|0]=e;t[d+95|0]=e>>>8;t[d+96|0]=e>>>16;t[d+97|0]=e>>>24;e=w[325115]|w[325116]<<8|(w[325117]<<16|w[325118]<<24);f=w[325111]|w[325112]<<8|(w[325113]<<16|w[325114]<<24);t[d+85|0]=f;t[d+86|0]=f>>>8;t[d+87|0]=f>>>16;t[d+88|0]=f>>>24;t[d+89|0]=e;t[d+90|0]=e>>>8;t[d+91|0]=e>>>16;t[d+92|0]=e>>>24;e=w[325107]|w[325108]<<8|(w[325109]<<16|w[325110]<<24);f=w[325103]|w[325104]<<8|(w[325105]<<16|w[325106]<<24);t[d+77|0]=f;t[d+78|0]=f>>>8;t[d+79|0]=f>>>16;t[d+80|0]=f>>>24;t[d+81|0]=e;t[d+82|0]=e>>>8;t[d+83|0]=e>>>16;t[d+84|0]=e>>>24;e=w[325099]|w[325100]<<8|(w[325101]<<16|w[325102]<<24);f=w[325095]|w[325096]<<8|(w[325097]<<16|w[325098]<<24);t[d+69|0]=f;t[d+70|0]=f>>>8;t[d+71|0]=f>>>16;t[d+72|0]=f>>>24;t[d+73|0]=e;t[d+74|0]=e>>>8;t[d+75|0]=e>>>16;t[d+76|0]=e>>>24}e=v[d+64>>2];if((e|0)==1){v[g+44>>2]=0;v[g+48>>2]=0;t[g+36|0]=0}if(!w[a+63|0]){v[a+76>>2]=1126769691;t[a+63|0]=4}if((e|0)==1){v[g+52>>2]=1;v[g+56>>2]=0}g=844108;v[a+24>>2]=844108;t[d+101|0]=w[243803];e=w[243801]|w[243802]<<8;t[d+99|0]=e;t[d+100|0]=e>>>8;break c;default:break d}}f=w[h+265|0];if(!((g|0)==122&(f|0)==104)&((g|0)!=99|(f|0)!=110)){break b}g=w[h+266|0];if(g?(g|0)!=95:0){break b}if(e>>>0>=3){v[c>>2]=2;break a}i=d,j=Ze(314175,h+40|0,h+8|0,c),v[i+4>>2]=j;if((e|0)==1){i=d,j=Ze(316017,h+40|0,h+8|0,c),v[i+8>>2]=j}i=d,j=Ze(320087,h+40|0,h+8|0,c),v[i+12>>2]=j;g=844336;v[a+24>>2]=844336;t[d+101|0]=w[249406];f=w[249404]|w[249405]<<8;t[d+99|0]=f;t[d+100|0]=f>>>8;if(!e){v[d+64>>2]=0;e=w[325128]|w[325129]<<8|(w[325130]<<16|w[325131]<<24);f=w[325124]|w[325125]<<8|(w[325126]<<16|w[325127]<<24);t[d+69|0]=f;t[d+70|0]=f>>>8;t[d+71|0]=f>>>16;t[d+72|0]=f>>>24;t[d+73|0]=e;t[d+74|0]=e>>>8;t[d+75|0]=e>>>16;t[d+76|0]=e>>>24;e=w[325136]|w[325137]<<8|(w[325138]<<16|w[325139]<<24);f=w[325132]|w[325133]<<8|(w[325134]<<16|w[325135]<<24);t[d+77|0]=f;t[d+78|0]=f>>>8;t[d+79|0]=f>>>16;t[d+80|0]=f>>>24;t[d+81|0]=e;t[d+82|0]=e>>>8;t[d+83|0]=e>>>16;t[d+84|0]=e>>>24;e=w[325144]|w[325145]<<8|(w[325146]<<16|w[325147]<<24);f=w[325140]|w[325141]<<8|(w[325142]<<16|w[325143]<<24);t[d+85|0]=f;t[d+86|0]=f>>>8;t[d+87|0]=f>>>16;t[d+88|0]=f>>>24;t[d+89|0]=e;t[d+90|0]=e>>>8;t[d+91|0]=e>>>16;t[d+92|0]=e>>>24;e=w[325149]|w[325150]<<8|(w[325151]<<16|w[325152]<<24);f=w[325145]|w[325146]<<8|(w[325147]<<16|w[325148]<<24);t[d+90|0]=f;t[d+91|0]=f>>>8;t[d+92|0]=f>>>16;t[d+93|0]=f>>>24;t[d+94|0]=e;t[d+95|0]=e>>>8;t[d+96|0]=e>>>16;t[d+97|0]=e>>>24;break c}i:{if((e|0)==1){v[d+64>>2]=1;e=w[324418]|w[324419]<<8|(w[324420]<<16|w[324421]<<24);f=w[324414]|w[324415]<<8|(w[324416]<<16|w[324417]<<24);t[d+69|0]=f;t[d+70|0]=f>>>8;t[d+71|0]=f>>>16;t[d+72|0]=f>>>24;t[d+73|0]=e;t[d+74|0]=e>>>8;t[d+75|0]=e>>>16;t[d+76|0]=e>>>24;e=w[324426]|w[324427]<<8|(w[324428]<<16|w[324429]<<24);f=w[324422]|w[324423]<<8|(w[324424]<<16|w[324425]<<24);t[d+77|0]=f;t[d+78|0]=f>>>8;t[d+79|0]=f>>>16;t[d+80|0]=f>>>24;t[d+81|0]=e;t[d+82|0]=e>>>8;t[d+83|0]=e>>>16;t[d+84|0]=e>>>24;e=w[324434]|w[324435]<<8|(w[324436]<<16|w[324437]<<24);f=w[324430]|w[324431]<<8|(w[324432]<<16|w[324433]<<24);t[d+85|0]=f;t[d+86|0]=f>>>8;t[d+87|0]=f>>>16;t[d+88|0]=f>>>24;t[d+89|0]=e;t[d+90|0]=e>>>8;t[d+91|0]=e>>>16;t[d+92|0]=e>>>24;e=w[324439]|w[324440]<<8|(w[324441]<<16|w[324442]<<24);f=w[324435]|w[324436]<<8|(w[324437]<<16|w[324438]<<24);t[d+90|0]=f;t[d+91|0]=f>>>8;t[d+92|0]=f>>>16;t[d+93|0]=f>>>24;t[d+94|0]=e;t[d+95|0]=e>>>8;t[d+96|0]=e>>>16;t[d+97|0]=e>>>24;break i}v[d+64>>2]=2;e=w[320041]|w[320042]<<8|(w[320043]<<16|w[320044]<<24);f=w[320037]|w[320038]<<8|(w[320039]<<16|w[320040]<<24);t[d+69|0]=f;t[d+70|0]=f>>>8;t[d+71|0]=f>>>16;t[d+72|0]=f>>>24;t[d+73|0]=e;t[d+74|0]=e>>>8;t[d+75|0]=e>>>16;t[d+76|0]=e>>>24;e=w[320049]|w[320050]<<8|(w[320051]<<16|w[320052]<<24);f=w[320045]|w[320046]<<8|(w[320047]<<16|w[320048]<<24);t[d+77|0]=f;t[d+78|0]=f>>>8;t[d+79|0]=f>>>16;t[d+80|0]=f>>>24;t[d+81|0]=e;t[d+82|0]=e>>>8;t[d+83|0]=e>>>16;t[d+84|0]=e>>>24;e=w[320057]|w[320058]<<8|(w[320059]<<16|w[320060]<<24);f=w[320053]|w[320054]<<8|(w[320055]<<16|w[320056]<<24);t[d+85|0]=f;t[d+86|0]=f>>>8;t[d+87|0]=f>>>16;t[d+88|0]=f>>>24;t[d+89|0]=e;t[d+90|0]=e>>>8;t[d+91|0]=e>>>16;t[d+92|0]=e>>>24;e=w[320062]|w[320063]<<8|(w[320064]<<16|w[320065]<<24);f=w[320058]|w[320059]<<8|(w[320060]<<16|w[320061]<<24);t[d+90|0]=f;t[d+91|0]=f>>>8;t[d+92|0]=f>>>16;t[d+93|0]=f>>>24;t[d+94|0]=e;t[d+95|0]=e>>>8;t[d+96|0]=e>>>16;t[d+97|0]=e>>>24}}t[a+60|0]=w[v[g+12>>2]+71|0];if(w[b+8|0]?0:v[c>>2]<=0){break a}qI(a);break a}v[c>>2]=7;break a}v[c>>2]=2}Ma=h+272|0}function NV(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;k=Ma-416|0;Ma=k;j=si(v[f>>2]+72|0);a:{if(g){l=v[g+4>>2];g=v[g>>2];if((g|0)<=31){cb(cb(j,l,g)+g|0,1082032,32-g|0);break a}m=w[l+4|0]|w[l+5|0]<<8|(w[l+6|0]<<16|w[l+7|0]<<24);g=w[l|0]|w[l+1|0]<<8|(w[l+2|0]<<16|w[l+3|0]<<24);t[j|0]=g;t[j+1|0]=g>>>8;t[j+2|0]=g>>>16;t[j+3|0]=g>>>24;t[j+4|0]=m;t[j+5|0]=m>>>8;t[j+6|0]=m>>>16;t[j+7|0]=m>>>24;m=w[l+28|0]|w[l+29|0]<<8|(w[l+30|0]<<16|w[l+31|0]<<24);g=w[l+24|0]|w[l+25|0]<<8|(w[l+26|0]<<16|w[l+27|0]<<24);t[j+24|0]=g;t[j+25|0]=g>>>8;t[j+26|0]=g>>>16;t[j+27|0]=g>>>24;t[j+28|0]=m;t[j+29|0]=m>>>8;t[j+30|0]=m>>>16;t[j+31|0]=m>>>24;m=w[l+20|0]|w[l+21|0]<<8|(w[l+22|0]<<16|w[l+23|0]<<24);g=w[l+16|0]|w[l+17|0]<<8|(w[l+18|0]<<16|w[l+19|0]<<24);t[j+16|0]=g;t[j+17|0]=g>>>8;t[j+18|0]=g>>>16;t[j+19|0]=g>>>24;t[j+20|0]=m;t[j+21|0]=m>>>8;t[j+22|0]=m>>>16;t[j+23|0]=m>>>24;m=w[l+12|0]|w[l+13|0]<<8|(w[l+14|0]<<16|w[l+15|0]<<24);g=w[l+8|0]|w[l+9|0]<<8|(w[l+10|0]<<16|w[l+11|0]<<24);t[j+8|0]=g;t[j+9|0]=g>>>8;t[j+10|0]=g>>>16;t[j+11|0]=g>>>24;t[j+12|0]=m;t[j+13|0]=m>>>8;t[j+14|0]=m>>>16;t[j+15|0]=m>>>24;break a}l=v[270515];g=v[270514];t[j+24|0]=g;t[j+25|0]=g>>>8;t[j+26|0]=g>>>16;t[j+27|0]=g>>>24;t[j+28|0]=l;t[j+29|0]=l>>>8;t[j+30|0]=l>>>16;t[j+31|0]=l>>>24;l=v[270513];g=v[270512];t[j+16|0]=g;t[j+17|0]=g>>>8;t[j+18|0]=g>>>16;t[j+19|0]=g>>>24;t[j+20|0]=l;t[j+21|0]=l>>>8;t[j+22|0]=l>>>16;t[j+23|0]=l>>>24;l=v[270511];g=v[270510];t[j+8|0]=g;t[j+9|0]=g>>>8;t[j+10|0]=g>>>16;t[j+11|0]=g>>>24;t[j+12|0]=l;t[j+13|0]=l>>>8;t[j+14|0]=l>>>16;t[j+15|0]=l>>>24;l=v[270509];g=v[270508];t[j|0]=g;t[j+1|0]=g>>>8;t[j+2|0]=g>>>16;t[j+3|0]=g>>>24;t[j+4|0]=l;t[j+5|0]=l>>>8;t[j+6|0]=l>>>16;t[j+7|0]=l>>>24}l=v[c+4>>2];g=w[l+4|0]|w[l+5|0]<<8|(w[l+6|0]<<16|w[l+7|0]<<24);c=w[l|0]|w[l+1|0]<<8|(w[l+2|0]<<16|w[l+3|0]<<24);t[j+32|0]=c;t[j+33|0]=c>>>8;t[j+34|0]=c>>>16;t[j+35|0]=c>>>24;t[j+36|0]=g;t[j+37|0]=g>>>8;t[j+38|0]=g>>>16;t[j+39|0]=g>>>24;g=w[l+28|0]|w[l+29|0]<<8|(w[l+30|0]<<16|w[l+31|0]<<24);c=w[l+24|0]|w[l+25|0]<<8|(w[l+26|0]<<16|w[l+27|0]<<24);t[j+56|0]=c;t[j+57|0]=c>>>8;t[j+58|0]=c>>>16;t[j+59|0]=c>>>24;t[j+60|0]=g;t[j+61|0]=g>>>8;t[j+62|0]=g>>>16;t[j+63|0]=g>>>24;g=w[l+20|0]|w[l+21|0]<<8|(w[l+22|0]<<16|w[l+23|0]<<24);c=w[l+16|0]|w[l+17|0]<<8|(w[l+18|0]<<16|w[l+19|0]<<24);t[j+48|0]=c;t[j+49|0]=c>>>8;t[j+50|0]=c>>>16;t[j+51|0]=c>>>24;t[j+52|0]=g;t[j+53|0]=g>>>8;t[j+54|0]=g>>>16;t[j+55|0]=g>>>24;g=w[l+12|0]|w[l+13|0]<<8|(w[l+14|0]<<16|w[l+15|0]<<24);c=w[l+8|0]|w[l+9|0]<<8|(w[l+10|0]<<16|w[l+11|0]<<24);t[j+40|0]=c;t[j+41|0]=c>>>8;t[j+42|0]=c>>>16;t[j+43|0]=c>>>24;t[j+44|0]=g;t[j+45|0]=g>>>8;t[j+46|0]=g>>>16;t[j+47|0]=g>>>24;t[j+64|0]=e;t[j+65|0]=e>>>8;t[j+66|0]=e>>>16;t[j+67|0]=e>>>24;cb(j+68|0,v[f+4>>2],v[f>>2]);e=v[f>>2];c=e+68|0;g=0;if(!i){t[c+j|0]=255;c=e+j|0;t[c+71|0]=255;t[c+69|0]=255;t[c+70|0]=255;c=e+72|0}if((c|0)>=0){v[k+96>>2]=0;v[k+100>>2]=0;v[k+24>>2]=-1732584194;v[k+28>>2]=271733878;v[k+16>>2]=1732584193;v[k+20>>2]=-271733879;b:{if((c|0)<64){e=c;i=j;break b}i=j;e=c;while(1){l=(g+k|0)+32|0;g=64-g|0;cb(l,i,g);v[k+96>>2]=64;i=g+i|0;wo(k+16|0);e=e-g|0;g=v[k+96>>2];if((e+g|0)>63){continue}break}}if((e|0)>=1){cb((g+k|0)+32|0,i,e);v[k+96>>2]=v[k+96>>2]+e}v[k+100>>2]=v[k+100>>2]+c;mq(k+16|0);e=v[k+116>>2];c=v[k+112>>2];t[h+8|0]=c;t[h+9|0]=c>>>8;t[h+10|0]=c>>>16;t[h+11|0]=c>>>24;t[h+12|0]=e;t[h+13|0]=e>>>8;t[h+14|0]=e>>>16;t[h+15|0]=e>>>24;e=v[k+108>>2];c=v[k+104>>2];t[h|0]=c;t[h+1|0]=c>>>8;t[h+2|0]=c>>>16;t[h+3|0]=c>>>24;t[h+4|0]=e;t[h+5|0]=e>>>8;t[h+6|0]=e>>>16;t[h+7|0]=e>>>24}i=0;g=0;c:{d:{e:{f:{g:{switch(a-2|0){case 1:c=0;if((b|0)>=0){a=(b|0)<64;while(1){v[k+96>>2]=0;v[k+100>>2]=0;v[k+24>>2]=-1732584194;v[k+28>>2]=271733878;v[k+16>>2]=1732584193;v[k+20>>2]=-271733879;g=0;i=h;e=b;if(!a){while(1){l=(g+k|0)+32|0;g=64-g|0;cb(l,i,g);v[k+96>>2]=64;i=g+i|0;wo(k+16|0);e=e-g|0;g=v[k+96>>2];if((e+g|0)>63){continue}break}}if((e|0)>=1){cb((g+k|0)+32|0,i,e);v[k+96>>2]=v[k+96>>2]+e}v[k+100>>2]=v[k+100>>2]+b;mq(k+16|0);g=w[k+116|0]|w[k+117|0]<<8|(w[k+118|0]<<16|w[k+119|0]<<24);e=w[k+112|0]|w[k+113|0]<<8|(w[k+114|0]<<16|w[k+115|0]<<24);t[h+8|0]=e;t[h+9|0]=e>>>8;t[h+10|0]=e>>>16;t[h+11|0]=e>>>24;t[h+12|0]=g;t[h+13|0]=g>>>8;t[h+14|0]=g>>>16;t[h+15|0]=g>>>24;g=w[k+108|0]|w[k+109|0]<<8|(w[k+110|0]<<16|w[k+111|0]<<24);e=w[k+104|0]|w[k+105|0]<<8|(w[k+106|0]<<16|w[k+107|0]<<24);t[h|0]=e;t[h+1|0]=e>>>8;t[h+2|0]=e>>>16;t[h+3|0]=e>>>24;t[h+4|0]=g;t[h+5|0]=g>>>8;t[h+6|0]=g>>>16;t[h+7|0]=g>>>24;c=c+1|0;if((c|0)!=50){continue}break}}q=j+32|0;c=v[d+4>>2];a=w[c+28|0]|w[c+29|0]<<8|(w[c+30|0]<<16|w[c+31|0]<<24);v[k+296>>2]=w[c+24|0]|w[c+25|0]<<8|(w[c+26|0]<<16|w[c+27|0]<<24);v[k+300>>2]=a;a=w[c+20|0]|w[c+21|0]<<8|(w[c+22|0]<<16|w[c+23|0]<<24);v[k+288>>2]=w[c+16|0]|w[c+17|0]<<8|(w[c+18|0]<<16|w[c+19|0]<<24);v[k+292>>2]=a;a=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);v[k+272>>2]=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);v[k+276>>2]=a;a=w[c+12|0]|w[c+13|0]<<8|(w[c+14|0]<<16|w[c+15|0]<<24);v[k+280>>2]=w[c+8|0]|w[c+9|0]<<8|(w[c+10|0]<<16|w[c+11|0]<<24);v[k+284>>2]=a;l=b&-4;d=b&3;g=19;r=(b|0)<1;s=b-1>>>0<3;while(1){m=g;h:{if(r){break h}g=0;i=l;if(!s){while(1){t[g+k|0]=m^w[g+h|0];a=g|1;t[a+k|0]=m^w[a+h|0];a=g|2;t[a+k|0]=m^w[a+h|0];a=g|3;t[a+k|0]=m^w[a+h|0];g=g+4|0;i=i-4|0;if(i){continue}break}}i=d;if(!i){break h}while(1){t[g+k|0]=m^w[g+h|0];g=g+1|0;i=i-1|0;if(i){continue}break}}i=0;g=0;while(1){c=k+16|0;t[c+g|0]=g;a=g|1;t[a+c|0]=a;a=g|2;t[a+c|0]=a;a=g|3;t[a+c|0]=a;a=g|4;t[a+c|0]=a;a=g|5;t[a+c|0]=a;a=g|6;t[a+c|0]=a;a=g|7;t[a+c|0]=a;g=g+8|0;if((g|0)!=256){continue}break}g=0;c=0;while(1){n=g&255;g=k+16|0;a=g+i|0;e=w[a|0];c=(w[n+k|0]+(c&255)|0)+e|0;o=a;a=(c&255)+g|0;t[o|0]=w[a|0];t[a|0]=e;g=(n+1|0)%(b|0)|0;i=i+1|0;if((i|0)!=256){continue}break}g=0;e=0;while(1){a=g+1|0;o=k+16|0;i=a+o|0;p=w[i|0];e=p+e|0;c=(e&255)+o|0;n=w[c|0];t[i|0]=n;t[c|0]=p;c=(k+272|0)+g|0;t[c|0]=w[o+(n+p&255)|0]^w[c|0];g=a;if((g|0)!=32){continue}break}g=m-1|0;if(m){continue}break};g=0;b=v[270515];a=v[270514];t[j+24|0]=a;t[j+25|0]=a>>>8;t[j+26|0]=a>>>16;t[j+27|0]=a>>>24;t[j+28|0]=b;t[j+29|0]=b>>>8;t[j+30|0]=b>>>16;t[j+31|0]=b>>>24;b=v[270513];a=v[270512];t[j+16|0]=a;t[j+17|0]=a>>>8;t[j+18|0]=a>>>16;t[j+19|0]=a>>>24;t[j+20|0]=b;t[j+21|0]=b>>>8;t[j+22|0]=b>>>16;t[j+23|0]=b>>>24;b=v[270511];a=v[270510];t[j+8|0]=a;t[j+9|0]=a>>>8;t[j+10|0]=a>>>16;t[j+11|0]=a>>>24;t[j+12|0]=b;t[j+13|0]=b>>>8;t[j+14|0]=b>>>16;t[j+15|0]=b>>>24;b=v[270509];a=v[270508];t[j|0]=a;t[j+1|0]=a>>>8;t[j+2|0]=a>>>16;t[j+3|0]=a>>>24;t[j+4|0]=b;t[j+5|0]=b>>>8;t[j+6|0]=b>>>16;t[j+7|0]=b>>>24;cb(q,v[f+4>>2],v[f>>2]);b=v[f>>2];if((b|0)<-32){break d}a=b+32|0;v[k+392>>2]=0;v[k+396>>2]=0;v[k+320>>2]=-1732584194;v[k+324>>2]=271733878;v[k+312>>2]=1732584193;v[k+316>>2]=-271733879;if((b|0)>=32){break f}e=a;i=j;break e;case 0:break g;default:break c}}while(1){c=k+16|0;t[c+g|0]=g;a=g|1;t[a+c|0]=a;a=g|2;t[a+c|0]=a;a=g|3;t[a+c|0]=a;a=g|4;t[a+c|0]=a;a=g|5;t[a+c|0]=a;a=g|6;t[a+c|0]=a;a=g|7;t[a+c|0]=a;g=g+8|0;if((g|0)!=256){continue}break}g=0;c=0;while(1){f=k+16|0;e=f+i|0;a=w[e|0];g=g&255;c=a+(w[g+h|0]+(c&255)|0)|0;f=(c&255)+f|0;t[e|0]=w[f|0];t[f|0]=a;g=(g+1|0)%(b|0)|0;i=i+1|0;if((i|0)!=256){continue}break}f=v[d+4>>2];g=0;e=0;while(1){d=w[f+g|0];a=g+1|0;l=k+16|0;c=a+l|0;i=w[c|0];e=i+e|0;b=(e&255)+l|0;h=w[b|0];t[c|0]=h;t[b|0]=i;t[(k+272|0)+g|0]=d^w[l+(h+i&255)|0];g=a;if((g|0)!=32){continue}break}i=!Jb(k+272|0,1082032,32);break c}i=j;e=a;while(1){b=64-g|0;cb((g+k|0)+328|0,i,b);v[k+392>>2]=64;i=b+i|0;wo(k+312|0);e=e-b|0;g=v[k+392>>2];if((e+g|0)>63){continue}break}}if((e|0)>=1){cb((g+k|0)+328|0,i,e);v[k+392>>2]=v[k+392>>2]+e}v[k+396>>2]=a+v[k+396>>2];mq(k+312|0);b=v[k+412>>2];a=v[k+408>>2];t[j+8|0]=a;t[j+9|0]=a>>>8;t[j+10|0]=a>>>16;t[j+11|0]=a>>>24;t[j+12|0]=b;t[j+13|0]=b>>>8;t[j+14|0]=b>>>16;t[j+15|0]=b>>>24;b=v[k+404>>2];a=v[k+400>>2];t[j|0]=a;t[j+1|0]=a>>>8;t[j+2|0]=a>>>16;t[j+3|0]=a>>>24;t[j+4|0]=b;t[j+5|0]=b>>>8;t[j+6|0]=b>>>16;t[j+7|0]=b>>>24}i=!Jb(k+272|0,j,16)}tb(j);Ma=k+416|0;return i}function SE(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,y=0,z=0,A=0,C=0;f=Ma-128|0;Ma=f;g=v[c+12>>2];v[f+120>>2]=v[c+8>>2];v[f+124>>2]=g;g=v[c+4>>2];v[f+112>>2]=v[c>>2];v[f+116>>2]=g;c=v[d+12>>2];v[f+104>>2]=v[d+8>>2];v[f+108>>2]=c;c=v[d+4>>2];v[f+96>>2]=v[d>>2];v[f+100>>2]=c;g=b+8|0;a:{if(v[b+8>>2]){gf(f+40|0,b,g);break a}v[f+40>>2]=0;qb(f+40|0,0)}c=v[f+40>>2];v[f+40>>2]=0;b:{c:{d:{e:{if(c){d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(!d){d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}}if(v[b+12>>2]>=1){c=zE(f+40|0);d=v[b+12>>2];yE(c,0-((d|0)>0?d:0)|0);Tr(c,f+112|0);Tr(c,f+96|0)}c=v[f+96>>2];d=v[f+112>>2];if((c|0)>(d|0)){break e}i=d;d=v[f+104>>2];if((i|0)>=(d|0)){break e}e=v[f+100>>2];i=v[f+116>>2];if((e|0)>(i|0)){break e}h=i;i=v[f+108>>2];if((h|0)>=(i|0)){break e}h=c;c=v[f+120>>2];if((h|0)>=(c|0)|(c|0)>(d|0)){break e}c=v[f+124>>2];if((c|0)<=(e|0)|(c|0)>(i|0)){break e}f:{if(v[g>>2]){gf(f+40|0,b,g);break f}v[f+40>>2]=0;qb(f+40|0,0)}d=v[f+40>>2];g:{if(!d){c=0;break g}c=v[d+8>>2];v[f+40>>2]=0;e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(e){break g}e=v[d+4>>2];if(!e){v[d+4>>2]=-32767}if(!e){Qa[v[v[d>>2]+4>>2]](d)}}h:{if(v[g>>2]){gf(f+40|0,b,g);break h}v[f+40>>2]=0;qb(f+40|0,0)}d=0;g=v[f+40>>2];i:{if(!g){break i}d=v[g+12>>2];v[f+40>>2]=0;e=v[g+4>>2]-1|0;v[g+4>>2]=e;if(e){break i}e=v[g+4>>2];if(!e){v[g+4>>2]=-32767}if(!e){Qa[v[v[g>>2]+4>>2]](g)}}i=v[f+104>>2];h=v[f+108>>2];e=v[f+96>>2];g=v[f+100>>2];j=v[f+124>>2];v[f+48>>2]=v[f+120>>2];v[f+52>>2]=j;j=v[f+116>>2];v[f+40>>2]=v[f+112>>2];v[f+44>>2]=j;go(f+40|0,0-e|0,0-g|0);g=h-g|0;i=i-e|0;if((i|0)==(c|0)){h=1;if((d|0)==(g|0)){break c}}r=i<<1;j:{if((r|0)<=(c-2|0)|(r|0)>=(c+2|0)){break j}e=g<<1;if((e|0)<=(d-2|0)){break j}h=2;if((e|0)<(d+2|0)){break c}}l=B(i,3);k:{if((l|0)<=(c-3|0)|(l|0)>=(c+3|0)){break k}h=3;e=B(g,3);if((e|0)<=(d-3|0)){break k}if((e|0)<(d+3|0)){break c}}k=i<<2;l:{if((k|0)<=(c-4|0)|(k|0)>=(c+4|0)){break l}e=g<<2;if((e|0)<=(d-4|0)){break l}h=4;if((e|0)<(d+4|0)){break c}}y=B(i,5);m:{if((y|0)<=(c-5|0)|(y|0)>=(c+5|0)){break m}h=5;e=B(g,5);if((e|0)<=(d-5|0)){break m}if((e|0)<(d+5|0)){break c}}s=B(i,6);n:{if((s|0)<=(c-6|0)|(s|0)>=(c+6|0)){break n}h=6;e=B(g,6);if((e|0)<=(d-6|0)){break n}if((e|0)<(d+6|0)){break c}}u=B(i,7);o:{if((u|0)<=(c-7|0)|(u|0)>=(c+7|0)){break o}h=7;e=B(g,7);if((e|0)<=(d-7|0)){break o}if((e|0)<(d+7|0)){break c}}z=i<<3;p:{if((z|0)<=(c-8|0)|(z|0)>=(c+8|0)){break p}e=g<<3;if((e|0)<=(d-8|0)){break p}h=8;if((e|0)<(d+8|0)){break c}}n=B(i,9);q:{if((n|0)<=(c-9|0)|(n|0)>=(c+9|0)){break q}h=9;e=B(g,9);if((e|0)<=(d-9|0)){break q}if((e|0)<(d+9|0)){break c}}o=B(i,10);r:{if((o|0)<=(c-10|0)|(o|0)>=(c+10|0)){break r}h=10;e=B(g,10);if((e|0)<=(d-10|0)){break r}if((e|0)<(d+10|0)){break c}}m=B(i,11);s:{if((m|0)<=(c-11|0)|(m|0)>=(c+11|0)){break s}h=11;e=B(g,11);if((e|0)<=(d-11|0)){break s}if((e|0)<(d+11|0)){break c}}q=B(i,12);t:{if((q|0)<=(c-12|0)|(q|0)>=(c+12|0)){break t}h=12;e=B(g,12);if((e|0)<=(d-12|0)){break t}if((e|0)<(d+12|0)){break c}}p=B(i,13);u:{if((p|0)<=(c-13|0)|(p|0)>=(c+13|0)){break u}h=13;e=B(g,13);if((e|0)<=(d-13|0)){break u}if((e|0)<(d+13|0)){break c}}A=B(i,14);v:{if((A|0)<=(c-14|0)|(c+14|0)<=(A|0)){break v}h=14;e=B(g,14);if((e|0)<=(d-14|0)){break v}if((e|0)<(d+14|0)){break c}}e=15;j=B(g,15);C=B(i,15);if(!((C|0)<=(c-15|0)|(c+15|0)<=(C|0)|(j|0)<=(d-15|0))){h=15;if((j|0)<(d+15|0)){break c}}h=(c|0)>(C|0);j=(d|0)>(j|0);if(h&j|(B(i,45)|0)<(c|0)|(B(g,45)|0)<(d|0)){break d}e=14;if((B(g,14)|0)<(d|0)&(c|0)>(A|0)|(B(i,42)|0)<(c|0)|(B(g,42)|0)<(d|0)){break d}e=13;if((B(g,13)|0)<(d|0)&(c|0)>(p|0)|(B(i,39)|0)<(c|0)|(B(g,39)|0)<(d|0)){break d}e=12;q=(c|0)>(q|0);p=(B(g,12)|0)<(d|0);if(q&p|(B(i,36)|0)<(c|0)|(B(g,36)|0)<(d|0)){break d}e=11;if((B(g,11)|0)<(d|0)&(c|0)>(m|0)|(B(i,33)|0)<(c|0)|(B(g,33)|0)<(d|0)){break d}e=10;if((B(g,10)|0)<(d|0)&(c|0)>(o|0)|(B(i,30)|0)<(c|0)|(B(g,30)|0)<(d|0)){break d}e=9;n=(c|0)>(n|0);o=(B(g,9)|0)<(d|0);if(n&o|(B(i,27)|0)<(c|0)|(B(g,27)|0)<(d|0)){break d}e=8;if(g<<3<(d|0)&(c|0)>(z|0)|(B(i,24)|0)<(c|0)|(B(g,24)|0)<(d|0)){break d}e=7;if((B(g,7)|0)<(d|0)&(c|0)>(u|0)|(B(i,21)|0)<(c|0)|(B(g,21)|0)<(d|0)){break d}e=6;s=(c|0)>(s|0);u=(B(g,6)|0)<(d|0);if(s&u|(B(i,18)|0)<(c|0)|(B(g,18)|0)<(d|0)){break d}e=5;if(j|(h|(B(g,5)|0)<(d|0)&(c|0)>(y|0))){break d}e=4;if(p|(q|g<<2<(d|0)&(c|0)>(k|0))){break d}e=3;if(o|(n|(B(g,3)|0)<(d|0)&(c|0)>(l|0))){break d}e=s?2:u?2:1;e=(c|0)>(r|0)?g<<1<(d|0)?2:e:e;break d}v[a>>2]=0;qb(a,0);break b}lb(mb(f+40|0,233611,241907,1106,328996));L()}if(!((d|0)>0&(c|0)>=1)){v[a>>2]=0;qb(a,0);break b}h=ab(120);v[h+8>>2]=0;v[h+12>>2]=0;v[h>>2]=978348;v[h+4>>2]=0;v[h+16>>2]=0;v[h+20>>2]=0;v[h+24>>2]=0;v[h+28>>2]=0;v[h+32>>2]=0;v[h+36>>2]=0;pc(h+44|0,h+40|0,0,4);pc(h+56|0,h+52|0,0,4);v[h>>2]=978364;pc(h+68|0,h- -64|0,0,1);pc(h+80|0,h+76|0,0,1);pc(h+92|0,h+88|0,0,1);pc(h+104|0,h+100|0,0,1);v[f+32>>2]=0;qb(f+32|0,h);h=v[f+32>>2];j=e-1|0;ZQ(h,(j+c|0)/(e|0)|0,(d+j|0)/(e|0)|0);YQ(h,i,g);Sr(h,B(e,i),c);Rr(h,B(e,g),d);v[f+24>>2]=0;v[f+28>>2]=0;v[f+16>>2]=0;v[f+20>>2]=0;c=f+16|0;uE(h,f+40|0,c);JR(f+8|0,b,c,e,1);w:{if(!v[f+8>>2]){v[a>>2]=0;qb(a,0);break w}d=v[f+44>>2];g=v[f+52>>2];c=v[f+48>>2]-v[f+40>>2]|0;c=Rp(ab(72),g-d|0,c,(c+3&-4)-c|0);v[f>>2]=0;qb(f,c);j=v[f+8>>2];g=v[f>>2];c=Ma+-64|0;Ma=c;v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;vE(h,f+40|0,c+8|0,c+24|0);x:{y:{z:{A:{r=f+16|0;d=v[r+8>>2];e=v[r>>2];if(x[j+10>>1]!=(d-e|0)){break A}i=v[r+12>>2];l=v[r+4>>2];if(x[j+8>>1]!=(i-l|0)){break A}if((e|0)>v[c+24>>2]|(l|0)>v[c+28>>2]|((d|0)>2]|(i|0)>2])){break z}e=v[f+48>>2]-v[f+40>>2]|0;d=v[f+52>>2]-v[f+44>>2]|0;if(!((e|0)==x[g+10>>1]&(d|0)==x[g+8>>1])){Wr(g,d,e,0)}Vr(g,256);d=0;y=h+92|0;Sc(y,0,1);s=h+104|0;Sc(s,0,1);u=h+68|0;Sc(u,0,1);WQ();m=v[c+8>>2];l=v[c+16>>2]-m|0;Sc(u,l+2|0,1);Sc(y,l,1);Sc(s,l,1);v[h+112>>2]=-1;v[h+116>>2]=-1;z=h+80|0;Sc(z,0,1);Sc(z,256,1);e=x[j+16>>1];k=e-1|0;n=k>>1;while(1){i=255;t[v[h+76>>2]+d|0]=d>>>0>>0?(n+B(d,255)|0)/(k|0)|0:255;o=d|1;if(o>>>0>>0){i=(n+B(o,255)|0)/(k|0)|0}t[o+v[h+76>>2]|0]=i;d=d+2|0;if((d|0)!=256){continue}break}k=v[f+44>>2];if((k|0)>2]){o=0-m|0;n=l+1|0;while(1){m=v[v[h+40>>2]+(k<<2)>>2];e=m>>4;i=c+8|0;d=XQ(h,e,i,r,j);i=XQ(h,e+1|0,i,r,j);e=v[h+64>>2];if((l|0)>=1){m=((m&15)<<10)+1168608|0;q=e+n|0;e=e+1|0;while(1){p=w[d|0];t[e|0]=w[m+(w[i|0]-p<<1)|0]+p;d=d+1|0;i=i+1|0;e=e+1|0;if(q>>>0>e>>>0){continue}break}e=v[h+64>>2]}t[e|0]=w[e+1|0];d=v[h+64>>2];t[d+n|0]=w[d+l|0];d=k-v[f+44>>2]|0;e=v[h+64>>2];if(!v[g+20>>2]){Re(g)}B:{if(!((d|0)>1]&(d|0)>=0)){d=x[g+12>>1];if(v[279246]<(d+x[g+14>>1]|0)){break y}d=d+v[279245]|0;break B}d=v[g+20>>2]+(x[g+12>>1]+B(d,x[g+14>>1])|0)|0}i=v[f+40>>2];if((i|0)>2]){m=(e+o|0)+1|0;while(1){q=v[v[h+52>>2]+(i<<2)>>2];p=m+(q>>4)|0;e=w[p|0];t[d|0]=e+w[(((q&15)<<10)+(w[p+1|0]-e<<1)|0)+1168608|0];d=d+1|0;i=i+1|0;if((i|0)>2]){continue}break}}k=k+1|0;if((k|0)>2]){continue}break}}Sc(y,0,1);Sc(s,0,1);Sc(u,0,1);Sc(z,0,1);Ma=c- -64|0;break x}lb(mb(c+40|0,270001,241249,416,334329));L()}lb(mb(c+40|0,260041,241249,421,334329));L()}lb(mb(c+40|0,260021,271561,577,327329));L()}c=v[f>>2];C:{if(c){d=a;a=v[b+12>>2];nR(d,c,(a|0)>0?a:0);break C}v[a>>2]=0;qb(a,0)}a=v[f>>2];v[f>>2]=0;if(!a){break w}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break w}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}a=v[f+8>>2];v[f+8>>2]=0;D:{if(!a){break D}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break D}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}a=v[f+32>>2];v[f+32>>2]=0;if(!a){break b}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break b}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}break b}JR(f+16|0,b,f+40|0,h,4);c=v[f+16>>2];E:{if(c){d=a;a=v[b+12>>2];nR(d,c,(a|0)>0?a:0);break E}v[a>>2]=0;qb(a,0)}a=v[f+16>>2];v[f+16>>2]=0;if(!a){break b}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break b}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=f+128|0}function mLa(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,n=0,o=0,p=0,q=0,r=0,s=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;f=Ma-48|0;Ma=f;m=v[b+100>>2];v[f+40>>2]=0;e=Mb(a,0);v[f+44>>2]=e;a:{if(e){break a}v[f+32>>2]=0;v[f+36>>2]=8;v[f+24>>2]=1;v[f+28>>2]=1;l=a;d=f+24|0;j=Ma-16|0;Ma=j;v[j+4>>2]=0;g=cc(m,64,j+4|0);b:{c:{d:{a=v[j+4>>2];if(!a){u[g+12>>1]=32767;v[g+36>>2]=d?d:425568;a=v[l+4>>2];v[g+56>>2]=m;v[g+60>>2]=a;v[g+40>>2]=0;v[g+44>>2]=0;v[g+48>>2]=0;v[g+52>>2]=m;s=v[l+28>>2];v[j+8>>2]=0;a=1024;n=yb(s,1,0,1024,0,j+8|0);if(v[j+8>>2]){break d}v[j+12>>2]=1929;t[n|0]=0;q=256;d=0;y=1;e:while(1){e=a;f:while(1){o=0;a=0;while(1){if(!(o&1)){i=tJ(l,d+n|0,e-d|0);k=i+d|0;d=0}g:{h:{i:{j:{if((a|0)>=(k|0)){break j}z=a+n|0;o=t[z|0];if((q|0)==(o|0)){break g}h=a;while(1){k:{C=o&255;switch(C-10|0){case 0:case 3:break i;default:break k}}h=h+1|0;if((h|0)==(k|0)){break j}o=w[h+n|0];continue}}if(!i){break d}if(!a){if(e>>>0<65536){break h}v[j+8>>2]=6;break d}i=k-a|0;id(n,a+n|0,i);d=i;k=a;continue f}q=h+n|0;t[q|0]=0;l:{m:{switch(w[z|0]-26|0){case 0:case 9:break l;default:break m}}if((a|0)>=(h|0)){break l}F=h-a|0;a=Qa[v[j+12>>2]](z,F,y,j+12|0,g)|0;v[j+8>>2]=a;if((a|0)==-1){a=Qa[v[j+12>>2]](z,F,y,j+12|0,g)|0;v[j+8>>2]=a}if(a){break d}}t[q|0]=o;q=(C|0)==10?13:(C|0)==13?10:256;o=1;a=h+1|0;y=y+1|0;continue}a=e<<1;n=yb(s,1,e,a,n,j+8|0);d=e;if(!v[j+8>>2]){continue e}break d}o=1;a=a+1|0;q=256;continue}}}}if(!g){break b}break c}if(n){Qa[v[s+8>>2]](s,n)}d=v[j+8>>2];v[j+4>>2]=d;a=v[g+32>>2];n:{if(d){break n}o:{p:{q:{r:{if(a){if(v[a+28>>2]!=8){u[a+32>>1]=x[a+4>>1]}s:{if(!v[v[g+36>>2]>>2]|!(v[a+52>>2]|v[a+64>>2])){break s}d=u[g+12>>1];e=u[g+16>>1]-d|0;if((e|0)!=x[a+4>>1]){u[a+4>>1]=e}if(x[a+8>>1]!=(d&65535)){u[a+8>>1]=d}d=x[g+18>>1];e=d<<16;if((d|0)!=x[a+12>>1]){u[a+12>>1]=d}d=x[g+20>>1];i=d<<16>>16;if((d|0)!=x[a+14>>1]){u[a+14>>1]=d;u[a+10>>1]=0-d}d=i+(e>>16)|0;if((d|0)==x[a+6>>1]){break s}u[a+6>>1]=d}d=v[g>>2];if(d&1){break r}d=v[a+88>>2];if(!d){break p}d=yb(v[a+100>>2],1,d,d+1|0,v[a+84>>2],j+4|0);a=v[g+32>>2];v[a+84>>2]=d;if(v[j+4>>2]){break n}t[d+v[a+88>>2]|0]=0;v[f+40>>2]=v[g+32>>2];break c}d=v[g>>2];if(!(d&1)){break q}}if(d&32){break o}v[j+4>>2]=185;break n}v[j+4>>2]=3;a=0}v[f+40>>2]=a;break c}v[j+4>>2]=186}V$(a);a=v[g+32>>2];if(a){Qa[v[m+8>>2]](m,a)}v[g+32>>2]=0}a=v[g+52>>2];if(a){d=v[g+40>>2];if(d){Qa[v[a+8>>2]](a,d)}v[g+48>>2]=0;v[g+52>>2]=0;v[g+40>>2]=0;v[g+44>>2]=0}a=m;d=v[g+24>>2];if(d){Qa[v[a+8>>2]](a,d)}v[g+24>>2]=0;if(g){Qa[v[m+8>>2]](m,g)}a=v[j+4>>2]}Ma=j+16|0;e=a;v[f+44>>2]=a;t:{u:{if((a&255)!=176){if(e){break a}a=v[f+40>>2];v[b+140>>2]=a;if(!(!(c&65535)|(c|0)<1)){pJ(b);e=6;break a}v[b>>2]=1;v[b+4>>2]=0;v[b+8>>2]=v[b+8>>2]|18;a=Hj(a,311584);v:{if(!a|v[a+4>>2]!=1){break v}a=v[a+12>>2];if(!a){break v}w:{x:{a=w[a|0];switch(a-67|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break v;case 0:case 10:break w;default:break x}}switch(a-99|0){case 0:case 10:break w;default:break v}}v[b+8>>2]=v[b+8>>2]|4}y:{z:{a=Hj(v[f+40>>2],312039);if(!a){break z}a=v[a+12>>2];if(!a){break z}H=b,I=Ij(m,a,f+44|0),v[H+20>>2]=I;e=v[f+44>>2];if(!e){break y}break a}v[b+20>>2]=0}v[f+8>>2]=0;v[b+12>>2]=0;e=v[b+100>>2];h=v[b+140>>2];a=Hj(h,309402);A:{if(!a|v[a+4>>2]!=1){break A}c=v[a+12>>2];if(!c){break A}B:{switch(w[c|0]-73|0){case 0:case 6:case 32:case 38:break B;default:break A}}v[b+12>>2]=v[b+12>>2]|1;A=(w[v[a+12>>2]]&223)==79?275194:296463}a=Hj(h,312068);C:{if(!a){i=1;break C}i=1;if(v[a+4>>2]!=1){break C}a=v[a+12>>2];if(!a|(w[a|0]|32)!=98){break C}v[b+12>>2]=v[b+12>>2]|2;G=288358;i=0}d=0;c=Hj(h,312090);a=0;D:{if(!c){break D}a=0;if(v[c+4>>2]!=1){break D}c=v[c+12>>2];a=0;if(!c){break D}k=w[c|0];a=0;if(!k){break D}a=0;if((k|0)==78){break D}a=0;if((k|0)==110){break D}a=c}k=a;c=Hj(h,312104);if(!c){break u}a=0;if(v[c+4>>2]!=1){break t}c=v[c+12>>2];if(!c){break u}h=w[c|0];if(!h|(h|0)==78){break u}a=0;if((h|0)==110){break t}d=c;r=zb(d);a=r+1|0;break t}pJ(b);e=2;break a}a=0}if(!i){D=zb(G);a=(D+a|0)+1|0}if(A){E=zb(A);a=(E+a|0)+1|0}h=b;if(k){p=zb(k);a=(p+a|0)+1|0}c=cc(e,a?a:8,f+8|0);v[h+24>>2]=c;e=v[f+8>>2];if(e){break a}d=a?d:240100;if(d){h=a?r:7;a=cb(c,d,h);E:{if(!h){break E}c=h&3;e=0;if(h-1>>>0>=3){d=h&-4;while(1){l=a+e|0;if(w[l|0]==32){t[l|0]=45}l=a+(e|1)|0;if(w[l|0]==32){t[l|0]=45}l=a+(e|2)|0;if(w[l|0]==32){t[l|0]=45}l=a+(e|3)|0;if(w[l|0]==32){t[l|0]=45}e=e+4|0;d=d-4|0;if(d){continue}break}}if(!c){break E}while(1){d=a+e|0;if(w[d|0]==32){t[d|0]=45}e=e+1|0;c=c-1|0;if(c){continue}break}}c=a+h|0}if(!i){if(v[b+24>>2]!=(c|0)){t[c|0]=32;c=c+1|0}c=cb(c,G,D)+D|0}if(A){if(v[b+24>>2]!=(c|0)){t[c|0]=32;c=c+1|0}c=cb(c,A,E)+E|0}if(k){if(v[b+24>>2]!=(c|0)){t[c|0]=32;c=c+1|0}a=cb(c,k,p);F:{if(!p){break F}c=p&3;e=0;if(p-1>>>0>=3){d=p&-4;while(1){i=a+e|0;if(w[i|0]==32){t[i|0]=45}i=a+(e|1)|0;if(w[i|0]==32){t[i|0]=45}i=a+(e|2)|0;if(w[i|0]==32){t[i|0]=45}i=a+(e|3)|0;if(w[i|0]==32){t[i|0]=45}e=e+4|0;d=d-4|0;if(d){continue}break}}if(!c){break F}while(1){d=a+e|0;if(w[d|0]==32){t[d|0]=45}e=e+1|0;c=c-1|0;if(c){continue}break}}c=a+p|0}t[c|0]=0;e=v[f+8>>2];v[f+44>>2]=e;if(e){break a}a=v[v[f+40>>2]+48>>2];v[b+28>>2]=1;v[b+16>>2]=a+1;a=yb(m,16,0,1,0,f+44|0);v[b+32>>2]=a;e=v[f+44>>2];if(e){break a}v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;e=v[f+40>>2];c=v[e+40>>2];if(c+32767>>>0>=65535){c=(c|0)<0?-32767:32767;v[e+40>>2]=c}d=v[e+44>>2];if(d+32767>>>0>=65535){d=(d|0)<0?-32767:32767;v[e+44>>2]=d}u[a>>1]=c+d;c=a;e=Hj(e,311469);G:{if(e){e=v[e+12>>2];d=32767;if(e+327665>>>0>655330){break G}e=(e+5|0)/10|0;d=e>>31;d=d^d+e;break G}d=fc(u[a>>1],2,3)}u[c+2>>1]=d;c=a;e=Hj(v[f+40>>2],311842);H:{if(e){e=v[e+12>>2];d=32767;if(e+328898>>>0>657796){break H}d=e>>31;d=fc(d+e^d,460800,72270);break H}d=v[v[f+40>>2]+16>>2];if(d){d=d>>>0>32767?32767:d<<6;break H}d=u[a+2>>1]<<6}v[c+4>>2]=d;c=Hj(v[f+40>>2],311876);if(c){c=v[c+12>>2];d=c>>31;v[a+12>>2]=c+32767>>>0>65534?2097088:(d^c+d)<<6}d=Hj(v[f+40>>2],308527);e=v[f+40>>2];d=v[(d?d+12|0:e+20|0)>>2];c=0;I:{if(!d){break I}c=2147418112;if(d+32767>>>0>65534){break I}c=d>>31;c=(c+d^c)<<16}J:{K:{L:{M:{d=Hj(e,308401);e=v[(d?d+12|0:v[f+40>>2]+24|0)>>2];if(e){d=32767;if(e+32767>>>0>65534){break M}d=e>>31;d=d+e^d;e=v[a+12>>2];if(e){break K}e=v[a+4>>2];v[a+12>>2]=e;if(!(d&65535)){break J}k=a+12|0;break L}e=v[a+12>>2];if(e){break J}e=v[a+4>>2];v[a+12>>2]=e;break J}e=v[a+12>>2];if(e){break K}e=v[a+4>>2];v[a+12>>2]=e;k=a+12|0}e=fc(e,d&65535,72);v[k>>2]=e}if(!c){break J}d=d&65535;if(!d){break J}e=fc(e,c>>>16|0,d)}v[a+8>>2]=e;c=v[f+40>>2];a=v[c+56>>2];c=yb(m,8,0,v[c+48>>2],0,f+44|0);v[b+144>>2]=c;e=v[f+44>>2];if(e){break a}v[b+148>>2]=0;h=v[f+40>>2];d=v[h+48>>2];N:{if(!d){break N}i=v[h+36>>2];e=0;if((d|0)!=1){r=d&-2;while(1){k=v[(a+B(e,36)|0)+4>>2];l=c+(e<<3)|0;u[l+4>>1]=e;v[l>>2]=k;if((i|0)==(k|0)){v[b+148>>2]=e}k=e|1;l=v[(a+B(k,36)|0)+4>>2];g=c+(k<<3)|0;u[g+4>>1]=k;v[g>>2]=l;if((i|0)==(l|0)){v[b+148>>2]=k}e=e+2|0;r=r-2|0;if(r){continue}break}}if(!(d&1)){break N}a=v[(a+B(e,36)|0)+4>>2];c=c+(e<<3)|0;u[c+4>>1]=e;v[c>>2]=a;if((a|0)!=(i|0)){break N}v[b+148>>2]=e}O:{a=Hj(h,308417);c=Hj(v[f+40>>2],311567);if(!a|!c|(v[a+4>>2]!=1|v[c+4>>2]!=1)){break O}if(!v[a+12>>2]){break O}c=v[c+12>>2];if(!c){break O}H=b,I=Ij(m,c,f+44|0),v[H+132>>2]=I;e=v[f+44>>2];if(e){break a}a=Ij(m,v[a+12>>2],f+44|0);v[b+136>>2]=a;e=v[f+44>>2];if(e){break a}P:{Q:{R:{S:{if(!((w[a|0]|32)!=105|(w[a+1|0]|32)!=115|(w[a+2|0]|32)!=111)){a=a+3|0;if(!hb(a,315407)){break S}if(!hb(a,313726)){if(!hb(v[b+132>>2],325053)){break S}}if(!hb(a,324518)){break R}}v[f+12>>2]=0;v[f+16>>2]=0;v[f+8>>2]=b;break P}v[f+12>>2]=0;v[f+16>>2]=0;v[f+8>>2]=b;break Q}a=hb(v[b+132>>2],309164);v[f+12>>2]=0;v[f+16>>2]=0;v[f+8>>2]=b;if(a){break P}}v[f+12>>2]=1970170211;v[f+16>>2]=65539}e=gk(424192,0,f+8|0,0);break a}v[f+12>>2]=1094995778;v[f+16>>2]=7;v[f+8>>2]=b;e=gk(424192,0,f+8|0,0);v[f+44>>2]=e;if(!v[b+36>>2]){break a}v[b+92>>2]=v[v[b+40>>2]>>2]}Ma=f+48|0;return e|0}function mQ(a){var 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,y=0,z=0;r=Ma-32|0;Ma=r;a:{b=0;b:{if(v[a+16>>2]>=v[a+12>>2]){break b}if(v[a+20>>2]==v[a+24>>2]){v[a+20>>2]=0;b=x[a+8>>1];u[v[a+52>>2]>>1]=b;u[v[a+40>>2]>>1]=b;c=v[a+64>>2];i=c+16|0;d=v[c+96>>2];if((d|0)>=1){while(1){b=(d|0)<64?d:64;em(v[c+12>>2],i,b);d=v[c+96>>2]-b|0;v[c+96>>2]=d;if((d|0)>0){continue}break}}v[c+88>>2]=0;v[c+92>>2]=0;b=i;v[b+56>>2]=0;v[b+60>>2]=0;v[b+48>>2]=0;v[b+52>>2]=0;v[b+40>>2]=0;v[b+44>>2]=0;j=32;v[b+32>>2]=0;v[b+36>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=0;v[b+4>>2]=0;g=hs(v[c+12>>2]);v[c+80>>2]=0;v[c+84>>2]=32;v[c+96>>2]=g;f=v[c+92>>2];b=v[c+88>>2];while(1){c:{k=c;d:{if((b|0)<(f|0)){h=j;break d}v[c+88>>2]=0;v[c+92>>2]=0;b=g>>>0<64?g:64;if((b|0)<1){break c}d=v[c+12>>2];f=Qa[v[v[d>>2]+8>>2]](d,i,b)|0;v[c+92>>2]=f;g=v[c+96>>2]-f|0;v[c+96>>2]=g;if((f|0)<1){break c}e=v[c+80>>2];h=v[c+84>>2];b=v[c+88>>2]}d=b;b=d+1|0;v[k+88>>2]=b;j=h-8|0;v[c+84>>2]=j;e=w[(c+d|0)+16|0]<>2]=e;if((h|0)>15){continue}}break}}k=v[a+52>>2];b=v[a+40>>2];v[a+52>>2]=b;v[a+40>>2]=k;d=v[a+8>>2];e:{if((d|0)<1){break e}t=a+72|0;y=a+76|0;j=b+2|0;i=x[b>>1];while(1){b=v[a+68>>2];c=v[a+64>>2];d=v[c+80>>2];o=v[b+8>>2]+B(w[v[b+16>>2]+(d>>>v[b+12>>2]|0)|0],6)|0;b=u[o+2>>1];f=d<>2]=f;b=b+v[c+84>>2]|0;v[c+84>>2]=b;f:{if((b|0)<16){break f}q=c+16|0;g=v[c+92>>2];d=v[c+88>>2];while(1){if((d|0)>=(g|0)){v[c+88>>2]=0;v[c+92>>2]=0;b=v[c+96>>2];b=b>>>0<64?b:64;if((b|0)<1){break f}d=v[c+12>>2];g=Qa[v[v[d>>2]+8>>2]](d,q,b)|0;v[c+92>>2]=g;v[c+96>>2]=v[c+96>>2]-g;if((g|0)<1){break f}f=v[c+80>>2];d=v[c+88>>2];b=v[c+84>>2]}h=d+1|0;v[c+88>>2]=h;e=b-8|0;v[c+84>>2]=e;f=w[(c+d|0)+16|0]<>2]=f;s=(b|0)>15;b=e;d=h;if(s){continue}break}}g:{h:{i:{j:{k:{l:{m:{switch(u[o+4>>1]){case 1:o=p&1;l=v[(o?y:t)>>2];while(1){c=v[a+64>>2];d=v[c+80>>2];q=v[l+8>>2]+B(w[v[l+16>>2]+(d>>>v[l+12>>2]|0)|0],6)|0;b=u[q+2>>1];f=d<>2]=f;b=b+v[c+84>>2]|0;v[c+84>>2]=b;n:{if((b|0)<16){break n}s=c+16|0;g=v[c+92>>2];d=v[c+88>>2];while(1){if((d|0)>=(g|0)){v[c+88>>2]=0;v[c+92>>2]=0;b=v[c+96>>2];b=b>>>0<64?b:64;if((b|0)<1){break n}d=v[c+12>>2];g=Qa[v[v[d>>2]+8>>2]](d,s,b)|0;v[c+92>>2]=g;v[c+96>>2]=v[c+96>>2]-g;if((g|0)<1){break n}f=v[c+80>>2];d=v[c+88>>2];b=v[c+84>>2]}h=d+1|0;v[c+88>>2]=h;e=b-8|0;v[c+84>>2]=e;f=w[(c+d|0)+16|0]<>2]=f;z=(b|0)>15;b=e;d=h;if(z){continue}break}}b=u[q+4>>1];m=b+m|0;n=b+n|0;if((b|0)>63){continue}break};u[k>>1]=m;c=v[(o?t:y)>>2];l=0;while(1){h=v[a+64>>2];d=v[h+80>>2];o=v[c+8>>2]+B(w[v[c+16>>2]+(d>>>v[c+12>>2]|0)|0],6)|0;b=u[o+2>>1];f=d<>2]=f;b=b+v[h+84>>2]|0;v[h+84>>2]=b;o:{if((b|0)<16){break o}q=h+16|0;g=v[h+92>>2];d=v[h+88>>2];while(1){if((d|0)>=(g|0)){v[h+88>>2]=0;v[h+92>>2]=0;b=v[h+96>>2];b=b>>>0<64?b:64;if((b|0)<1){break o}d=v[h+12>>2];g=Qa[v[v[d>>2]+8>>2]](d,q,b)|0;v[h+92>>2]=g;v[h+96>>2]=v[h+96>>2]-g;if((g|0)<1){break o}f=v[h+80>>2];d=v[h+88>>2];b=v[h+84>>2]}m=d+1|0;v[h+88>>2]=m;e=b-8|0;v[h+84>>2]=e;f=w[(d+h|0)+16|0]<>2]=f;s=(b|0)>15;b=e;d=m;if(s){continue}break}}b=u[o+4>>1];l=b+l|0;n=b+n|0;if((b|0)>63){continue}break};u[k+2>>1]=l;k=k+4|0;m=0;b=i;break i;case 2:b=x[j>>1]+i|0;j=j+2|0;break l;case 5:b=x[j>>1]+i|0;j=j+2|0;i=i+3|0;break l;case 4:b=x[j>>1]+i|0;j=j+2|0;i=i+2|0;break l;case 3:b=x[j>>1]+i|0;j=j+2|0;i=i+1|0;break l;case 8:j=j-2|0;b=i-x[j>>1]|0;i=i-3|0;break l;case 7:j=j-2|0;b=i-x[j>>1]|0;i=i-2|0;break l;case 0:break j;case 6:break m;default:break k}}j=j-2|0;b=i-x[j>>1]|0;i=i-1|0}n=i;u[k>>1]=i+(l+m|0);p=p^1;k=k+2|0;m=0;break i}e=v[a+64>>2];b=v[e+84>>2];if((b|0)>=8){g=e+16|0;f=v[e+92>>2];d=v[e+88>>2];while(1){p:{if((d|0)>=(f|0)){v[e+88>>2]=0;v[e+92>>2]=0;b=v[e+96>>2];b=b>>>0<64?b:64;if((b|0)<1){break p}d=v[e+12>>2];f=Qa[v[v[d>>2]+8>>2]](d,g,b)|0;v[e+92>>2]=f;v[e+96>>2]=v[e+96>>2]-f;if((f|0)<1){break p}d=v[e+88>>2];b=v[e+84>>2]}c=d+1|0;v[e+88>>2]=c;h=b-8|0;v[e+84>>2]=h;v[e+80>>2]=v[e+80>>2]|w[(d+e|0)+16|0]<15;b=h;d=c;if(l){continue}}break}e=v[a+64>>2]}b=v[e+80>>2];if((b&-256)==1048832){v[a+16>>2]=v[a+12>>2];b=0;break b}if((b&-4194304)==62914560){f=b<<10;v[e+80>>2]=f;d=v[e+84>>2];b=d+10|0;v[e+84>>2]=b;q:{if((d|0)<6){break q}l=e+16|0;g=v[e+92>>2];d=v[e+88>>2];while(1){if((d|0)>=(g|0)){v[e+88>>2]=0;v[e+92>>2]=0;b=v[e+96>>2];b=b>>>0<64?b:64;if((b|0)<1){break q}d=v[e+12>>2];g=Qa[v[v[d>>2]+8>>2]](d,l,b)|0;v[e+92>>2]=g;v[e+96>>2]=v[e+96>>2]-g;if((g|0)<1){break q}f=v[e+80>>2];d=v[e+88>>2];b=v[e+84>>2]}c=d+1|0;v[e+88>>2]=c;h=b-8|0;v[e+84>>2]=h;f=w[(d+e|0)+16|0]<>2]=f;o=(b|0)>15;b=h;d=c;if(o){continue}break}}r:{while(1){c=v[a+64>>2];l=v[c+80>>2];b=l&-67108864;s:{if((b|0)!=67108864){if(!b){break r}f=l<<1;v[c+80>>2]=f;d=v[c+84>>2];b=d+1|0;v[c+84>>2]=b;t:{if((d|0)<15){break t}o=c+16|0;g=v[c+92>>2];d=v[c+88>>2];while(1){if((d|0)>=(g|0)){v[c+88>>2]=0;v[c+92>>2]=0;b=v[c+96>>2];b=b>>>0<64?b:64;if((b|0)<1){break t}d=v[c+12>>2];g=Qa[v[v[d>>2]+8>>2]](d,o,b)|0;v[c+92>>2]=g;v[c+96>>2]=v[c+96>>2]-g;if((g|0)<1){break t}f=v[c+80>>2];d=v[c+88>>2];b=v[c+84>>2]}h=d+1|0;v[c+88>>2]=h;e=b-8|0;v[c+84>>2]=e;f=w[(c+d|0)+16|0]<>2]=f;q=(b|0)>15;b=e;d=h;if(q){continue}break}}if((p&1)==((l^-1)>>>31|0)){u[k>>1]=m;k=k+2|0;p=p^1;m=0}m=m+1|0;b=1;break s}f=l<<6;v[c+80>>2]=f;d=v[c+84>>2];b=d+6|0;v[c+84>>2]=b;u:{if((d|0)<10){break u}l=c+16|0;g=v[c+92>>2];d=v[c+88>>2];while(1){if((d|0)>=(g|0)){v[c+88>>2]=0;v[c+92>>2]=0;b=v[c+96>>2];b=b>>>0<64?b:64;if((b|0)<1){break u}d=v[c+12>>2];g=Qa[v[v[d>>2]+8>>2]](d,l,b)|0;v[c+92>>2]=g;v[c+96>>2]=v[c+96>>2]-g;if((g|0)<1){break u}f=v[c+80>>2];d=v[c+88>>2];b=v[c+84>>2]}h=d+1|0;v[c+88>>2]=h;e=b-8|0;v[c+84>>2]=e;f=w[(c+d|0)+16|0]<>2]=f;o=(b|0)>15;b=e;d=h;if(o){continue}break}}if(p&1){u[k>>1]=m;k=k+2|0;m=0}m=m+5|0;p=0;b=5}n=b+n|0;if((n|0)<=v[a+8>>2]){continue}break}lb(mb(r+8|0,984448,241290,721,331485));L()}f=l<<8;v[c+80>>2]=f;d=v[c+84>>2];b=d+8|0;v[c+84>>2]=b;v:{if((d|0)<8){break v}o=c+16|0;g=v[c+92>>2];d=v[c+88>>2];while(1){if((d|0)>=(g|0)){v[c+88>>2]=0;v[c+92>>2]=0;b=v[c+96>>2];b=b>>>0<64?b:64;if((b|0)<1){break v}d=v[c+12>>2];g=Qa[v[v[d>>2]+8>>2]](d,o,b)|0;v[c+92>>2]=g;v[c+96>>2]=v[c+96>>2]-g;if((g|0)<1){break v}f=v[c+80>>2];d=v[c+88>>2];b=v[c+84>>2]}h=d+1|0;v[c+88>>2]=h;e=b-8|0;v[c+84>>2]=e;f=w[(c+d|0)+16|0]<>2]=f;q=(b|0)>15;b=e;d=h;if(q){continue}break}}if((l&-33554432)!=33554432){break h}if(m){u[k>>1]=m;p=p^1;k=k+2|0}m=0;if(((l>>>24^-1)&1)!=(p&1)){b=i;break i}u[k>>1]=0;p=p^1;k=k+2|0;b=i;break i}lb(mb(r+8|0,984448,241290,747,331485));L()}n=x[j>>1]+i|0;m=n+(l+m|0)|0;b=x[j+2>>1]+n|0;j=j+4|0}d=v[a+8>>2];if((b|0)>(n|0)){i=b;break g}e=j;i=b;if((b|0)>=(d|0)){break g}while(1){j=e+4|0;i=x[e+2>>1]+(x[e>>1]+i|0)|0;if((n|0)<(i|0)){break g}e=j;if((d|0)>(i|0)){continue}break}break g}lb(mb(r+8|0,984448,241290,727,331485));L()}l=0-n|0;if((d|0)>(n|0)){continue}break}if((m|0)<1){break e}b=v[a+68>>2];e=v[a+64>>2];d=v[e+80>>2];h=v[b+8>>2]+B(w[v[b+16>>2]+(d>>>v[b+12>>2]|0)|0],6)|0;b=u[h+2>>1];f=d<>2]=f;b=b+v[e+84>>2]|0;v[e+84>>2]=b;w:{if((b|0)<16){break w}c=e+16|0;g=v[e+92>>2];d=v[e+88>>2];while(1){if((d|0)>=(g|0)){v[e+88>>2]=0;v[e+92>>2]=0;b=v[e+96>>2];b=b>>>0<64?b:64;if((b|0)<1){break w}d=v[e+12>>2];g=Qa[v[v[d>>2]+8>>2]](d,c,b)|0;v[e+92>>2]=g;v[e+96>>2]=v[e+96>>2]-g;if((g|0)<1){break w}f=v[e+80>>2];d=v[e+88>>2];b=v[e+84>>2]}j=d+1|0;v[e+88>>2]=j;i=b-8|0;v[e+84>>2]=i;f=w[(d+e|0)+16|0]<>2]=f;p=(b|0)>15;b=i;d=j;if(p){continue}break}}if(x[h+4>>1]!=2){break a}u[k>>1]=m;k=k+2|0;d=v[a+8>>2]}x:{if((d|0)>=(n|0)){break x}b=v[a+40>>2];y:{if(b>>>0>=k>>>0){break y}while(1){k=k-2|0;n=n-x[k>>1]|0;if((n|0)<=(d|0)){break y}if(b>>>0>>0){continue}break}}if((d|0)<=(n|0)){break x}u[k>>1]=d-n;k=k+2|0}u[k>>1]=0;u[k+2>>1]=0;v[a+20>>2]=v[a+20>>2]+1;v[a+16>>2]=v[a+16>>2]+1;b=v[a+40>>2]}Ma=r+32|0;return b}lb(mb(r+8|0,984448,241290,761,331485));L()}function xza(a,b){a=a|0;b=b|0;var 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;n=Ma-16|0;Ma=n;l=v[a+16>>2];p=v[a+20>>2]-l|0;r=v[a+4>>2];g=v[r+8>>2];i=w[g+73|0];j=v[((i<<2)+g|0)+32>>2];q=v[a+12>>2];c=v[a+8>>2];d=v[r+56>>2];m=w[g+72|0];a:{b:{while(1){c:{k=(d|0)!=0&(p|0)>0;d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{if(m){if(k){break q}e=0;break p}r:{s:{if(!k){if(c>>>0>=q>>>0){m=0;break a}m=0;e=15;if((p|0)<1){break b}t:{u:{while(1){k=c+2|0;d=x[c>>1];c=d-13312|0;if(c>>>0>41983){break t}if((p|0)<2){break r}c=d<<8|d>>>8;t[l|0]=c;t[l+1|0]=c>>>8;l=l+2|0;if(k>>>0>=q>>>0){break u}d=(p|0)<3;c=k;p=p-2|0;if(!d){continue}break}d=0;break b}c=k;d=0;break a}if(c>>>0>=48896){f=2;if(!(k>>>0>=q>>>0|x[k>>1]-13312>>>0>=41984)){break d}if(!(!(d-48>>>0<10|d-97>>>0<26)&d-65>>>0>25)){d=((i&255)<<8)+57344|d;m=1;f=2;break d}h=0;v:{f=v[g+32>>2];w:{if(d-f>>>0<128){break w}h=1;f=v[g+36>>2];if(d-f>>>0<128){break w}h=2;f=v[g+40>>2];if(d-f>>>0<128){break w}h=3;f=v[g+44>>2];if(d-f>>>0<128){break w}h=4;f=v[g+48>>2];if(d-f>>>0<128){break w}h=5;f=v[g+52>>2];if(d-f>>>0<128){break w}h=6;f=v[g+56>>2];if(d-f>>>0<128){break w}h=7;f=v[g+60>>2];if(d-f>>>0>127){break v}}i=t[g+75|0];c=i;while(1){c=(c|0)<1?7:c-1|0;if(w[(g+c|0)+76|0]!=(h|0)){continue}break}e=c+1|0;e=(e|0)==8?0:e;if((i|0)!=(e|0)){while(1){i=c;c=g+76|0;t[i+c|0]=w[c+e|0];c=e;e=c+1|0;e=(e|0)==8?0:e;if((e|0)!=t[g+75|0]){continue}break}}t[(c+g|0)+76|0]=h;d=d-f|h<<8|57472;m=1;i=h;j=f;f=2;break d}e=uA(d,n+12|0);if((e|0)<0){break o}m=1;c=t[g+75|0];i=t[(c+g|0)+76|0];c=c+1|0;t[g+75|0]=(c&255)==8?0:c;c=i&255;j=v[n+12>>2];v[((c<<2)+g|0)+32>>2]=j;tA(g,i);d=d-j|((c<<16)+15204352|e<<8)|128;f=3;break d}if(d>>>0>57343){break s}if(d&1024){break n}c=k}if(c>>>0>=q>>>0){m=0;break a}f=x[c>>1];if((f&64512)!=56320){m=0;e=12;break b}k=c+2|0;e=0;x:{c=f+(d<<10)|0;m=c-56613888|0;h=v[g+32>>2];y:{if(m-h>>>0<128){break y}e=1;h=v[g+36>>2];if(m-h>>>0<128){break y}e=2;h=v[g+40>>2];if(m-h>>>0<128){break y}e=3;h=v[g+44>>2];if(m-h>>>0<128){break y}e=4;h=v[g+48>>2];if(m-h>>>0<128){break y}e=5;h=v[g+52>>2];if(m-h>>>0<128){break y}e=6;h=v[g+56>>2];if(m-h>>>0<128){break y}e=7;h=v[g+60>>2];if(m-h>>>0>127){break x}}if(k>>>0>>0&x[k>>1]-13312>>>0<41984){break x}i=t[g+75|0];d=i;while(1){d=(d|0)<1?7:d-1|0;if(w[(g+d|0)+76|0]!=(e|0)){continue}break}c=d+1|0;c=(c|0)==8?0:c;if((i|0)!=(c|0)){while(1){i=d;d=g+76|0;t[i+d|0]=w[c+d|0];d=c;c=c+1|0;c=(c|0)==8?0:c;if((c|0)!=t[g+75|0]){continue}break}}t[(d+g|0)+76|0]=e;d=m-h|e<<8|57472;m=1;i=e;j=h;f=2;break d}if(x[k>>1]!=(d&65535)|k>>>0>=q>>>0){break k}if(c-56614080>>>0<=127){j=192;v[n+12>>2]=192;e=249;break l}if(c-56614480>>>0<128){j=592;v[n+12>>2]=592;e=250;break l}if(c-56614768>>>0<128){j=880;v[n+12>>2]=880;e=251;break l}if(c-56615216>>>0<128){j=1328;v[n+12>>2]=1328;e=252;break l}if(c-56626240>>>0<128){j=12352;v[n+12>>2]=12352;e=253;break l}if(c-56626336>>>0<128){j=12448;v[n+12>>2]=12448;e=254;break l}if(c-56679264>>>0<128){j=65376;v[n+12>>2]=65376;e=255;break l}if(m>>>0>=128){break m}break k}d=d|15728640;break j}p=1;f=2;break c}e=1}while(1){z:{A:{B:{C:{D:{if(!e){if(c>>>0>=q>>>0){break a}if((p|0)<1){e=15;break b}k=c+2|0;E:{F:{d=x[c>>1];if(d-32>>>0>95){if(d>>>0>31){break E}if(!(1<>>0<128){break D}if((d&63488)!=55296){break A}if(d&1024){break n}c=k;e=1;continue}if(c>>>0>=q>>>0){break a}h=x[c>>1];if((h&64512)!=56320){e=12;break b}k=c+2|0;c=h+(d<<10)|0;o=c-56613888|0;e=o-j|0;if(e>>>0>=128){break B}}t[l|0]=e|128}c=k;l=l+1|0;p=p-1|0;d=0;break z}e=0;G:{f=v[g+32>>2];H:{if(o-f>>>0<128){break H}e=1;f=v[g+36>>2];if(o-f>>>0<128){break H}e=2;f=v[g+40>>2];if(o-f>>>0<128){break H}e=3;f=v[g+44>>2];if(o-f>>>0<128){break H}e=4;f=v[g+48>>2];if(o-f>>>0<128){break H}e=5;f=v[g+52>>2];if(o-f>>>0<128){break H}e=6;f=v[g+56>>2];if(o-f>>>0<128){break H}e=7;f=v[g+60>>2];if(o-f>>>0>127){break G}}i=t[g+75|0];d=i;while(1){d=(d|0)<1?7:d-1|0;if(w[(g+d|0)+76|0]!=(e|0)){continue}break}c=d+1|0;c=(c|0)==8?0:c;if((i|0)!=(c|0)){while(1){i=d;d=g+76|0;t[i+d|0]=w[c+d|0];d=c;c=c+1|0;c=(c|0)==8?0:c;if((c|0)!=t[g+75|0]){continue}break}}t[(d+g|0)+76|0]=e;d=o-f|e<<8|4224;i=e;j=f;f=2;break d}if(c-56614080>>>0<=127){j=192;v[n+12>>2]=192;e=249;break g}if(c-56614480>>>0<128){j=592;v[n+12>>2]=592;e=250;break g}if(c-56614768>>>0<128){j=880;v[n+12>>2]=880;e=251;break g}if(c-56615216>>>0<128){j=1328;v[n+12>>2]=1328;e=252;break g}if(c-56626240>>>0<128){j=12352;v[n+12>>2]=12352;e=253;break g}if(c-56626336>>>0<128){j=12448;v[n+12>>2]=12448;e=254;break g}if(c-56679264>>>0<128){j=65376;v[n+12>>2]=65376;e=255;break g}if(o>>>0>=128){break h}break f}if(d>>>0<=159){d=d&127|512;break o}if((d|0)==65279|d>>>0>=65520){break i}h=0;I:{J:{f=v[g+32>>2];K:{if(d-f>>>0<128){break K}h=1;f=v[g+36>>2];if(d-f>>>0<128){break K}h=2;f=v[g+40>>2];if(d-f>>>0<128){break K}h=3;f=v[g+44>>2];if(d-f>>>0<128){break K}h=4;f=v[g+48>>2];if(d-f>>>0<128){break K}h=5;f=v[g+52>>2];if(d-f>>>0<128){break K}h=6;f=v[g+56>>2];if(d-f>>>0<128){break K}h=7;f=v[g+60>>2];if(d-f>>>0>127){break J}}L:{if(k>>>0>=q>>>0){break L}c=x[k>>1];if(c>>>0>f+127>>>0){break I}if(c>>>0>=f>>>0){break L}if(c>>>0>127){break I}if(c>>>0>31){break L}if(!(1<=0){d=(c<<8)+256|d-v[(c<<2)+852960>>2];f=2;break d}e=uA(d,n+12|0);if((e|0)>=0){c=t[g+75|0];i=t[(c+g|0)+76|0];c=c+1|0;t[g+75|0]=(c&255)==8?0:c;c=i&255;j=v[n+12>>2];v[((c<<2)+g|0)+32>>2]=j;tA(g,i);d=d-j|((c<<16)+1572864|e<<8)|128;f=3;break d}if(k>>>0>>0&x[k>>1]-13312>>>0>41983|d-13312>>>0>41983){break i}d=d|983040;break j}d=(h<<8)+256|d-f|128;break o}e=0;continue}}f=2;break d}e=12;c=k;break b}if(!(!(c-56732672>>>0<12288|m>>>0<13312)&(m&-16384)!=65536)){j=m&2147483520;v[n+12>>2]=j;e=m>>>7|0;break l}if((m|0)==65279|c-56671232>>>0>8175){break k}j=m&2147483520;v[n+12>>2]=j;e=c-56657920>>>7|0}c=t[g+75|0];i=w[(c+g|0)+76|0];c=c+1|0;c=(c&255)==8?0:c;t[g+75|0]=c;v[((i<<2)+g|0)+32>>2]=j;f=c<<24>>24;d=f;while(1){d=(d|0)<1?7:d-1|0;if(w[(g+d|0)+76|0]!=(i|0)){continue}break}c=d+1|0;c=(c|0)==8?0:c;if((f|0)!=(c|0)){while(1){f=d;d=g+76|0;t[f+d|0]=w[c+d|0];d=c;c=c+1|0;c=(c|0)==8?0:c;if((c|0)!=t[g+75|0]){continue}break}}t[(d+g|0)+76|0]=i;d=m-j|((e<<8)+268304384|i<<21)|-251658112;m=1;f=4;break d}d=f|d<<16;break e}m=0;f=3;break d}d=d|917504;f=3;break d}if(!(!(c-56732672>>>0<12288|o>>>0<13312)&(o&-16384)!=65536)){j=o&2147483520;v[n+12>>2]=j;e=o>>>7|0;break g}if((o|0)==65279|c-56671232>>>0>8175){break f}j=o&2147483520;v[n+12>>2]=j;e=c-56657920>>>7|0}c=t[g+75|0];i=w[(c+g|0)+76|0];c=c+1|0;c=(c&255)==8?0:c;t[g+75|0]=c;v[((i<<2)+g|0)+32>>2]=j;f=c<<24>>24;d=f;while(1){d=(d|0)<1?7:d-1|0;if(w[(g+d|0)+76|0]!=(i|0)){continue}break}c=d+1|0;c=(c|0)==8?0:c;if((f|0)!=(c|0)){while(1){f=d;d=g+76|0;t[f+d|0]=w[c+d|0];d=c;c=c+1|0;c=(c|0)==8?0:c;if((c|0)!=t[g+75|0]){continue}break}}t[(d+g|0)+76|0]=i;d=o-j|((e<<8)-131072|i<<21)|184549504;f=4;break d}t[l|0]=15;p=p-1|0;l=l+1|0;d=h|d<<16}m=0;f=4}if((f|0)>(p|0)){break c}M:{switch(f-2|0){case 2:t[l|0]=d>>>24;l=l+1|0;case 1:t[l|0]=d>>>16;l=l+1|0;case 0:c=d<<8|(d&65280)>>>8;t[l|0]=c;t[l+1|0]=c>>>8;l=l+2|0;break;default:break M}}p=p-f|0;d=0;c=k;continue}break}c=k;e=r+76|0;N:{O:{P:{Q:{R:{k=f-p|0;switch(k-1|0){case 0:break O;case 1:break P;case 2:break Q;case 3:break R;default:break N}}t[r+76|0]=d>>>24;e=r+77|0}t[e|0]=d>>>16;e=e+1|0}t[e|0]=d>>>8;e=e+1|0}t[e|0]=d}t[r+63|0]=k;k=d>>>(k<<3)|0;d=0;e=15;S:{switch(p-1|0){case 2:t[l|0]=k>>>16;l=l+1|0;case 1:t[l|0]=k>>>8;l=l+1|0;break;case 0:break S;default:break b}}t[l|0]=k;l=l+1|0}v[b>>2]=e}t[g+73|0]=i;t[g+72|0]=m;v[r+56>>2]=d;v[a+16>>2]=l;v[a+8>>2]=c;Ma=n+16|0}function xKa(a,b){a=a|0;b=b|0;var 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,z=0,A=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;i=Ma-464|0;Ma=i;V=v[b+92>>2];v[a+40>>2]=x[b+68>>1];c=0;a:{if(lB(b)){break a}c=Ma-26320|0;Ma=c;nJ(c+19680|0,v[b+100>>2]);k=a;v[a+9856>>2]=0;v[a+52>>2]=0;a=v[v[(v[v[a>>2]+8>>2]<<2)+428992>>2]+16>>2];b:{while(1){d=w[a|0];if(!d){break b}if((d|0)==32){while(1){d=w[a+1|0];a=a+1|0;if((d|0)==32){continue}break}}a=Iq(a,k,c+12|0,c+16|0);if(y[c+16>>2]>1){continue}d=Hq(k,c+12|0,0,0);if(!d){continue}break}if(Am(b,d,1)|u[v[b+84>>2]+110>>1]<1){break b}d=c+16|0;eb(d,0,19652);a=v[k+40>>2];v[c+32>>2]=0;v[c+36>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+24>>2]=65536;v[c+28>>2]=65536;v[c+56>>2]=a;v[c+20>>2]=b;a=c+19680|0;v[a+2748>>2]=d;v[a+2740>>2]=v[c+44>>2];if(qw(a,v[b+84>>2]+108|0)){break b}v[c+8>>2]=0;if(So(c+19680|0,0)){break b}ft(c+19680|0,0,0,0);d=v[c+19724>>2];if((d|0)>=1){a=v[c+19732>>2];g=a+B(d,44)|0;f=v[c+8>>2];d=0;while(1){e=v[a+20>>2];if(!(!e|v[e+20>>2]!=(a|0)|(d>>>0>15|a>>>0>=e>>>0))){f=u[a+2>>1]-u[e+2>>1]|0;e=f>>31;v[(B(d,12)+k|0)+56>>2]=e^e+f;f=d+1|0;d=f}a=a+44|0;if(g>>>0>a>>>0){continue}break}v[c+8>>2]=f}ZA(c+8|0,k+56|0,y[c+56>>2]/100|0);v[k+52>>2]=v[c+8>>2];v[c+8>>2]=0;if(So(c+19680|0,1)){break b}ft(c+19680|0,0,0,1);d=v[c+21072>>2];if((d|0)>=1){a=v[c+21080>>2];f=a+B(d,44)|0;while(1){d=v[a+20>>2];c:{if(!d|v[d+20>>2]!=(a|0)|a>>>0>=d>>>0){break c}e=v[c+8>>2];if(e>>>0>15){break c}d=u[d+2>>1];g=u[a+2>>1];v[c+8>>2]=e+1;g=g-d|0;d=g>>31;v[(B(e,12)+k|0)+9860>>2]=d^d+g}a=a+44|0;if(f>>>0>a>>>0){continue}break}}ZA(c+8|0,k+9860|0,y[c+56>>2]/100|0);v[k+9856>>2]=v[c+8>>2]}if(v[k+52>>2]){a=v[k+56>>2]}else{a=(B(v[k+40>>2],50)|0)/2048|0}t[k+256|0]=0;v[k+252>>2]=a;v[k+248>>2]=(a|0)/5;if(v[k+9856>>2]){a=v[k+9860>>2]}else{a=(B(v[k+40>>2],50)|0)/2048|0}t[k+10060|0]=0;v[k+10056>>2]=a;v[k+10052>>2]=(a|0)/5;mJ(c+19680|0);Ma=c+26320|0;W=y[k+40>>2]/14|0;S=v[k>>2];a=(v[S+12>>2]<<3)+439296|0;c=v[a>>2];if((c|0)!=5531){while(1){r=a;I=0;E=0;m=0;n=0;J=c+433760|0;a=w[J|0];if(a){while(1){if((a&255)==32){while(1){a=w[J+1|0];J=J+1|0;if((a|0)==32){continue}break}}J=Iq(J,k,i+460|0,i+44|0);d:{if(!v[i+44>>2]){break d}F=t[r+4|0]&1?-2147483648:2147483647;P=0;N=0;while(1){a=Hq(k,i+460|0,0,i);e:{if(!a){break e}if(Am(b,a,1)){break e}a=v[b+84>>2];if(u[a+110>>1]<3){break e}Q=0;G=u[a+108>>1];f:{if((G|0)<1){d=0;j=x[r+4>>1];break f}L=v[a+120>>2];H=v[a+116>>2];p=v[a+112>>2];e=-1;K=v[i>>2];z=0;A=0;j=0;h=0;d=0;while(1){l=u[L+(h<<1)>>1];g:{if((l|0)<=(j|0)){a=e;break g}h:{if(w[r+4|0]&3){i:{if(!((l-j|0)+1&1)){f=j;c=d;a=e;break i}c=v[((j<<3)+p|0)+4>>2];a=K+c|0;f=j+1|0;j:{if(!((e|0)<0|(c|0)>(d|0))){n=(a|0)>(n|0)?n:a;c=d;a=e;break j}m=(a|0)<(m|0)?m:a;d=c;a=j}}if((j|0)==(l|0)){break h}while(1){d=v[((f<<3)+p|0)+4>>2];g=K+d|0;k:{if(!((a|0)>=0&(c|0)>=(d|0))){m=(g|0)<(m|0)?m:g;a=f;break k}n=(g|0)>(n|0)?n:g;d=c}g=f+1|0;c=v[((g<<3)+p|0)+4>>2];o=K+c|0;l:{if(!((a|0)<0|(c|0)>(d|0))){n=(n|0)<(o|0)?n:o;c=d;break l}m=(m|0)>(o|0)?m:o;a=g}f=f+2|0;d=c;if((g|0)!=(l|0)){continue}break}break h}m:{if(!((l-j|0)+1&1)){f=j;c=d;a=e;break m}c=v[((j<<3)+p|0)+4>>2];a=K+c|0;f=j+1|0;n:{if(!((e|0)<0|(c|0)<(d|0))){m=(a|0)<(m|0)?m:a;c=d;a=e;break n}n=(a|0)>(n|0)?n:a;d=c;a=j}}if((j|0)==(l|0)){break h}while(1){d=v[((f<<3)+p|0)+4>>2];g=K+d|0;o:{if(!((c|0)<=(d|0)&(a|0)>=0)){n=(g|0)>(n|0)?n:g;a=f;break o}m=(g|0)<(m|0)?m:g;d=c}g=f+1|0;c=v[((g<<3)+p|0)+4>>2];o=K+c|0;p:{if(!((a|0)<0|(c|0)<(d|0))){m=(m|0)>(o|0)?m:o;c=d;break p}n=(n|0)<(o|0)?n:o;a=g}f=f+2|0;d=c;if((g|0)!=(l|0)){continue}break}}c=(a|0)==(e|0);z=c?z:j;A=c?A:l;e=a}j=l+1|0;h=h+1|0;if((G|0)!=(h|0)){continue}break}if((a|0)<=-1){j=x[r+4>>1];break f}L=v[(a<<3)+p>>2];g=a;c=(w[a+H|0]&3)==1?a:-1;f=c;q:{while(1){e=(g|0)>(z|0)?g-1|0:A;l=(e<<3)+p|0;h=v[l+4>>2]-d|0;j=h>>31;h=j^j+h;if(h>>>0>=6){l=v[l>>2]-L|0;j=l>>31;if(B(h,20)>>>0>=(j^j+l)>>>0){break q}}g=(w[e+H|0]&3)==1;f=g?(f|0)<0?e:f:f;c=g?e:c;g=e;if((e|0)!=(a|0)){continue}break}g=a}e=a;r:{while(1){j=(e|0)<(A|0)?e+1|0:z;R=(j<<3)+p|0;h=v[R+4>>2]-d|0;l=h>>31;h=l^h+l;if(h>>>0>=6){o=v[R>>2]-L|0;l=o>>31;if(B(h,20)>>>0>=(l^l+o)>>>0){break r}}e=(w[j+H|0]&3)==1;c=e?(c|0)<0?j:c:c;f=e?j:f;e=j;if((e|0)!=(a|0)){continue}break}e=a}j=x[r+4>>1];s:{t:{if(!(j&16)){break t}h=v[(e<<3)+p>>2]-v[(g<<3)+p>>2]|0;l=h>>31;o=v[k+40>>2];T=(o>>>0)/25|0;if((T|0)<=(l^h+l)){break t}h=a;if(((e-g|0)+2|0)>(A-z|0)){break t}while(1){h=(h|0)>(z|0)?h-1|0:A;U=v[(h<<3)+p>>2];if((L|0)==(U|0)&(a|0)!=(h|0)){continue}break}if((a|0)==(h|0)){break e}X=o>>>2|0;M=0;l=e;a=e;h=0;o=0;while(1){if(!M){h=(w[a+H|0]&3)==1?a:-1;o=h;l=a}a=(a|0)<(A|0)?a+1|0:z;M=0;C=(l<<3)+p|0;G=v[C+4>>2];D=d-G|0;s=D>>31;u:{if((s^s+D)>>>0>X>>>0){break u}s=(a<<3)+p|0;q=v[s+4>>2]-G|0;D=q>>31;D=D^q+D;v:{if(D>>>0<=5){s=v[s>>2];C=v[C>>2];q=s-C|0;M=q>>31;q=M^q+M;break v}s=v[s>>2];C=v[C>>2];O=s-C|0;q=O>>31;q=q^q+O;if(q>>>0<=B(D,20)>>>0){break u}}M=1;O=(w[a+H|0]&3)==1;h=O?(h|0)<0?a:h:h;o=O?a:o;if((s|0)>(C|0)^(L|0)>(U|0)|(q|0)<(T|0)){break u}d=B(D,20);while(1){a=(a|0)<(A|0)?a+1|0:z;e=v[((a<<3)+p|0)+4>>2]-G|0;c=e>>31;w:{if((c^c+e)>>>0<6){break w}e=v[R>>2]-C|0;c=e>>31;if(d>>>0<(c^c+e)>>>0){break w}e=(a|0)>(z|0)?a-1|0:A;break s}h=(w[a+H|0]&3)==1?(h|0)<0?a:h:h;o=a;if((a|0)!=(g|0)){continue}break}e=g;o=e;break s}if((a|0)!=(g|0)){continue}break}}G=d;l=g;h=c;o=f}d=K+G|0;if(!((h|0)<0|(o|0)<0)){c=v[(o<<3)+p>>2]-v[(h<<3)+p>>2]|0;a=c>>31;if((a^a+c)>>>0>W>>>0){break f}}if((w[l+H|0]&3)==1&(w[e+H|0]&3)==1){break f}Q=1;if(j&4){break e}}if(j&1){a=(d|0)>(F|0);F=a?d:F;N=a?Q:N;break e}a=(d|0)<(F|0);F=a?d:F;N=a?Q:N}P=P+1|0;if(P>>>0>2]){continue}break}if(F-2147483647>>>0<2){break d}a=N&255;v[(a?(i+48|0)+(E<<2)|0:(i+256|0)+(I<<2)|0)>>2]=F;I=!a+I|0;E=((a|0)!=0)+E|0}a=w[J|0];if(a){continue}break}}x:{if(!(E|I)){break x}_A(E,i+48|0);_A(I,i+256|0);a=v[k+10064>>2];v[k+10064>>2]=a+1;a=B(a,36)+k|0;d=a+10080|0;f=a+10068|0;y:{z:{if(!I){c=v[(i+48|0)+(E<<1&-4)>>2];break z}c=v[(i+256|0)+(I<<1&-4)>>2];if(!E){break z}v[f>>2]=c;g=v[(i+48|0)+(E<<1&-4)>>2];v[d>>2]=g;if((c|0)==(g|0)){e=x[r+4>>1];break y}e=x[r+4>>1];if(((e&3)!=0|0)==((c|0)<(g|0)|0)){break y}c=(c+g|0)/2|0;v[d>>2]=c;v[f>>2]=c;break y}v[d>>2]=c;v[f>>2]=c;e=x[r+4>>1]}c=a+10100|0;d=e<<1&2;v[c>>2]=d;v[a+10096>>2]=n;v[a+10092>>2]=m;a=x[r+4>>1];if(!(a&14)){break x}a=a<<1;v[c>>2]=d|a&4|a&8|a&16}a=r+8|0;c=v[r+8>>2];if((c|0)!=5531){continue}break}}d=v[k+10064>>2];if(d){n=d&3;a=0;if(d-1>>>0>=3){c=d&-4;e=k+10068|0;while(1){v[(a<<2)+i>>2]=e+B(a,36);f=a|1;v[(f<<2)+i>>2]=e+B(f,36);f=a|2;v[(f<<2)+i>>2]=e+B(f,36);f=a|3;v[(f<<2)+i>>2]=e+B(f,36);a=a+4|0;c=c-4|0;if(c){continue}break}}if(n){while(1){v[(a<<2)+i>>2]=(B(a,36)+k|0)+10068;a=a+1|0;n=n-1|0;if(n){continue}break}}if(d>>>0>=2){e=1;while(1){f=v[(e<<2)+i>>2];j=v[(w[f+32|0]&6?0:12)+f>>2];a=e;while(1){c=a-1|0;l=(c<<2)+i|0;g=v[l>>2];if((j|0)>2]){v[(a<<2)+i>>2]=g;v[l>>2]=f;a=c;if(a){continue}}break}e=e+1|0;if((d|0)!=(e|0)){continue}break}}c=d-1|0;if(c){m=v[i>>2];n=v[m+32>>2];a=0;while(1){d=(n&6?12:0)+m|0;a=a+1|0;m=v[(a<<2)+i>>2];n=v[m+32>>2];e=v[(n&6?12:0)+m>>2];if(v[d>>2]>(e|0)){v[d>>2]=e}if((a|0)!=(c|0)){continue}break}}v[i+48>>2]=0;v[i+272>>2]=v[108404];a=v[108403];v[i+264>>2]=v[108402];v[i+268>>2]=a;a=v[108401];v[i+256>>2]=v[108400];v[i+260>>2]=a;a=i+256|0;m=0;f=0;d=k;A:{while(1){a=Iq(a,k,i,i+460|0);B:{if(y[i+460>>2]>1){break B}if(!Hq(k,i,i+48|0,0)){break B}e=m&255;m=1;c=v[i+48>>2];if(!e){f=c;break B}if((c|0)==(f|0)){break B}a=0;break A}if(w[a|0]){continue}break}a=1}t[d+32|0]=a;c=0;break a}a=v[k+36>>2];d=v[a+4>>2];C:{if((d|0)<1){break C}e=v[a+8>>2];f=v[S>>2];a=0;if((d|0)!=1){c=d&-2;while(1){g=a<<1;j=g+e|0;if((f|0)==(x[j>>1]&16383)){u[j>>1]=66}g=e+(g|2)|0;if((f|0)==(x[g>>1]&16383)){u[g>>1]=66}a=a+2|0;c=c-2|0;if(c){continue}break}}if(!(d&1)){break C}a=e+(a<<1)|0;if((f|0)!=(x[a>>1]&16383)){break C}u[a>>1]=66}c=-1}Nq(b,V);Ma=i+464|0;return c|0}function xy(a,b,c){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,p=0,q=0,r=0,s=0,u=0,x=0,z=0;d=Ma-176|0;Ma=d;v[d+152>>2]=0;v[d+156>>2]=0;v[d+144>>2]=0;v[d+136>>2]=0;v[d+140>>2]=0;v[d+128>>2]=0;v[d+132>>2]=0;v[d+120>>2]=0;v[d+124>>2]=0;m=jd(d+120|0,970820);v[d+112>>2]=0;v[d+104>>2]=0;v[d+108>>2]=0;v[d+96>>2]=0;v[d+100>>2]=0;v[d+88>>2]=0;v[d+92>>2]=0;p=b+12|0;o=jd(d+88|0,970840);a:{b:{e=v[b+20>>2];c:{if(!e){break c}while(1){q=d+80|0;r=q;g=Ma-48|0;Ma=g;j=v[e+8>>2];if(!(w[j+16|0]|c)){l=j+20|0;f=v[j+20>>2];d:{if(f){b=l;if(v[f+8>>2]){break d}}b=j+36|0}v[g+24>>2]=0;v[g+28>>2]=v[279250];b=v[b>>2];e:{if(b){Qa[v[v[b>>2]+28>>2]](g+16|0,b,1);break e}v[g+16>>2]=0}jb(g+24|0,g+16|0);b=v[g+16>>2];f=0;v[g+16>>2]=0;f:{if(!b){break f}h=v[b+4>>2]-1|0;v[b+4>>2]=h;if(h){break f}h=v[b+4>>2];if(!h){v[b+4>>2]=-32767}if(!h){Qa[v[v[b>>2]+4>>2]](b)}}b=v[g+24>>2];v[g+28>>2]=v[(b?b+12|0:1117e3)>>2];h=YS(g+8|0,g+24|0);v[g+16>>2]=0;v[g+20>>2]=v[279250];b=v[h>>2];g:{if(b){if(v[b+8>>2]){Qa[v[v[b>>2]+28>>2]](g+32|0,b,1);f=v[g+32>>2];break g}v[b+4>>2]=v[b+4>>2]+1;f=v[h>>2]}v[g+32>>2]=f}h:{if(f){Qa[v[v[f>>2]+28>>2]](g+40|0,f,1);break h}v[g+40>>2]=0}jb(g+16|0,g+40|0);b=v[g+40>>2];v[g+40>>2]=0;i:{if(!b){break i}f=v[b+4>>2]-1|0;v[b+4>>2]=f;if(f){break i}f=v[b+4>>2];if(!f){v[b+4>>2]=-32767}if(!f){Qa[v[v[b>>2]+4>>2]](b)}}b=v[g+16>>2];v[g+20>>2]=v[(b?b+12|0:1117e3)>>2];b=v[g+32>>2];v[g+32>>2]=0;j:{if(!b){break j}f=v[b+4>>2]-1|0;v[b+4>>2]=f;if(f){break j}f=v[b+4>>2];if(!f){v[b+4>>2]=-32767}if(!f){Qa[v[v[b>>2]+4>>2]](b)}}b=g+16|0;f=ld(b,g+24|0,-1);db(b);db(h);if(f){t[j+16|0]=1;f=1;h=g+16|0;k=g+40|0;b=v[g+24>>2];if(b){b=v[b+8>>2]<<1|1}else{b=1}s=pc(h,k,b,1);k=v[g+40>>2];i=v[g+24>>2];k:{if(!i){break k}h=w[v[i+12>>2]];if(!h){break k}while(1){l:{m:{n:{o:{if(i){b=Ma-16|0;Ma=b;v[b+12>>2]=v[i+12>>2]+f;Qa[v[v[i>>2]+60>>2]](i,b+12|0)|0;Ma=b+16|0;b=v[b+12>>2]-v[i+12>>2]|0}else{b=0}n=b-f|0;if(!((n|0)<=1&((n|0)!=1|h<<24>>24>-1))){while(1){t[k+1|0]=w[(h&15)+970736|0];t[k|0]=w[((h&240)>>>4|0)+970736|0];k=k+2|0;p:{if(f){i=v[g+24>>2];u=!i;b=f;h=b;q:{if((b|0)>-1){break q}h=f;if(!i){break q}h=v[i+8>>2]+f|0}if(u|(h|0)<0|v[i+8>>2]<(h|0)){break o}b=v[i+12>>2];break p}i=v[g+24>>2];if(!i){break k}h=0;b=v[i+12>>2]}h=w[b+h|0];if(!h){break k}f=f+1|0;b=(n|0)>1;n=n-1|0;if(b){continue}break}break l}t[k|0]=h;k=k+1|0;if(!f){break n}i=v[g+24>>2];n=!i;b=f;h=b;r:{if((b|0)>-1){break r}h=f;if(!i){break r}h=v[i+8>>2]+f|0}if(n|(h|0)<0|v[i+8>>2]<(h|0)){break o}b=v[i+12>>2];break m}ni();L()}i=v[g+24>>2];if(!i){break k}h=0;b=v[i+12>>2]}f=f+1|0;h=w[b+h|0]}if(h&255){continue}break}}t[k|0]=0;f=j+28|0;b=v[g+24>>2];s:{if(b){Qa[v[v[b>>2]+28>>2]](g+8|0,b,1);break s}v[g+8>>2]=0}jb(f,g+8|0);b=v[g+8>>2];v[g+8>>2]=0;t:{if(!b){break t}f=v[b+4>>2]-1|0;v[b+4>>2]=f;if(f){break t}f=v[b+4>>2];if(!f){v[b+4>>2]=-32767}if(!f){Qa[v[v[b>>2]+4>>2]](b)}}b=v[j+28>>2];v[j+32>>2]=v[(b?b+12|0:1117e3)>>2];oi(l,v[g+40>>2]);ec(s)}t[j+16|0]=1;db(g+24|0)}Ma=g+48|0;b=v[j+20>>2];if(!b|!v[b+8>>2]){b=j+36|0}else{b=j+20|0}rF(r,b);f=Bd(q);u:{v:{b=v[v[m+12>>2]+((f>>>0)%y[m+8>>2]<<2)>>2];if(b){while(1){if((f|0)==v[b+12>>2]){if(!ld(b+16|0,d+80|0,-1)){break v}}b=v[b+8>>2];if(b){continue}break}}b=d+80|0;x=xj(d+120|0,b),z=0,v[x+24>>2]=z;db(b);if(e){break u}break c}l=SS(d+88|0,d+80|0);v[d+76>>2]=p;v[d+72>>2]=e;if(!e){break b}b=ab(12);v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;f=b;h=v[e+8>>2];if(h){v[h+4>>2]=v[h+4>>2]+1;h=v[e+8>>2]}else{h=0}v[f+8>>2]=h;de(l+24|0,b);db(d+80|0)}e=v[e>>2];if(e){continue}break}}b=v[o+24>>2];v[d+84>>2]=o;v[d+80>>2]=b;f=v[d+84>>2];c=f;b=v[d+80>>2];v[d+152>>2]=b;v[d+156>>2]=f;w:{f=b;if(b){k=c;b=k;while(1){if((d+88|0)!=(b|0)){break w}b=v[f+16>>2];if(b){l=DQ(b)}else{l=-1}if((k|0)!=(d+88|0)){break a}c=v[f+32>>2];if(c){g=f+16|0;h=1;while(1){b=v[c+8>>2];v[d+80>>2]=0;v[d+84>>2]=v[279250];b=v[b+36>>2];x:{if(b){Qa[v[v[b>>2]+28>>2]](d- -64|0,b,1);break x}v[d+64>>2]=0}jb(d+80|0,d- -64|0);b=v[d+64>>2];v[d+64>>2]=0;y:{if(!b){break y}e=v[b+4>>2]-1|0;v[b+4>>2]=e;if(e){break y}e=v[b+4>>2];if(!e){v[b+4>>2]=-32767}if(!e){Qa[v[v[b>>2]+4>>2]](b)}}b=v[d+80>>2];v[d+84>>2]=v[(b?b+12|0:1117e3)>>2];b=0;i=YS(d+56|0,d+80|0);v[d+64>>2]=0;v[d+68>>2]=v[279250];e=v[d+56>>2];z:{if(e){if(v[e+8>>2]){Qa[v[v[e>>2]+28>>2]](d+160|0,e,1);b=v[d+160>>2];break z}v[e+4>>2]=v[e+4>>2]+1;b=v[d+56>>2]}v[d+160>>2]=b}A:{if(b){Qa[v[v[b>>2]+28>>2]](d+168|0,b,1);break A}v[d+168>>2]=0}jb(d- -64|0,d+168|0);b=v[d+168>>2];v[d+168>>2]=0;B:{if(!b){break B}e=v[b+4>>2]-1|0;v[b+4>>2]=e;if(e){break B}e=v[b+4>>2];if(!e){v[b+4>>2]=-32767}if(!e){Qa[v[v[b>>2]+4>>2]](b)}}b=v[d+64>>2];v[d+68>>2]=v[(b?b+12|0:1117e3)>>2];b=v[d+160>>2];v[d+160>>2]=0;C:{if(!b){break C}e=v[b+4>>2]-1|0;v[b+4>>2]=e;if(e){break C}e=v[b+4>>2];if(!e){v[b+4>>2]=-32767}if(!e){Qa[v[v[b>>2]+4>>2]](b)}}D:{E:{if(!ld(d+80|0,d- -64|0,-1)){e=0;j=Bd(d+80|0);b=v[v[o+12>>2]+((j>>>0)%y[o+8>>2]<<2)>>2];F:{if(!b){break F}while(1){G:{if((j|0)!=v[b+12>>2]){break G}if(ld(b+16|0,d+80|0,-1)){break G}e=b;break F}b=v[b+8>>2];if(b){continue}break}}db(d- -64|0);db(i);if(e){break E}break D}db(d- -64|0);db(i)}while(1){H:{if((l|0)<=-1){b=d+48|0;ic(b,g,326440);Xb(d- -64|0,b,Qe(d+40|0,h));break H}b=d+16|0;We(b,g,0,l);e=d+24|0;ic(e,b,326440);b=d+32|0;Xb(b,e,Qe(d+8|0,h));We(d,g,l,-1);Xb(d- -64|0,b,d)}b=v[d+64>>2];I:{if(b){Qa[v[v[b>>2]+28>>2]](d+56|0,b,1);break I}v[d+56>>2]=0}jb(d+80|0,d+56|0);b=v[d+56>>2];v[d+56>>2]=0;J:{if(!b){break J}e=v[b+4>>2]-1|0;v[b+4>>2]=e;if(e){break J}e=v[b+4>>2];if(!e){v[b+4>>2]=-32767}if(!e){Qa[v[v[b>>2]+4>>2]](b)}}b=v[d+80>>2];v[d+84>>2]=v[(b?b+12|0:1117e3)>>2];db(d- -64|0);K:{if((l|0)>=0){db(d);db(d+32|0);db(d+8|0);db(d+24|0);db(d+16|0);break K}db(d+40|0);db(d+48|0)}L:{M:{N:{b=v[d+80>>2];if(b){RQ(d+160|0,b);v[d+64>>2]=0;v[d+68>>2]=v[279250];b=v[d+160>>2];if(!b){v[d+168>>2]=0;break N}Qa[v[v[b>>2]+28>>2]](d+168|0,b,1);b=v[d+168>>2];if(!b){break N}Qa[v[v[b>>2]+28>>2]](d+56|0,b,1);break M}v[d+64>>2]=0;v[d+68>>2]=v[279250];v[d+56>>2]=0;jb(d- -64|0,d+56|0);b=v[d+56>>2];v[d+56>>2]=0;O:{if(!b){break O}e=v[b+4>>2]-1|0;v[b+4>>2]=e;if(e){break O}e=v[b+4>>2];if(!e){v[b+4>>2]=-32767}if(!e){Qa[v[v[b>>2]+4>>2]](b)}}b=v[d+64>>2];v[d+68>>2]=v[(b?b+12|0:1117e3)>>2];break L}v[d+56>>2]=0}jb(d- -64|0,d+56|0);b=v[d+56>>2];v[d+56>>2]=0;P:{if(!b){break P}e=v[b+4>>2]-1|0;v[b+4>>2]=e;if(e){break P}e=v[b+4>>2];if(!e){v[b+4>>2]=-32767}if(!e){Qa[v[v[b>>2]+4>>2]](b)}}b=v[d+64>>2];v[d+68>>2]=v[(b?b+12|0:1117e3)>>2];b=v[d+168>>2];v[d+168>>2]=0;Q:{if(!b){break Q}e=v[b+4>>2]-1|0;v[b+4>>2]=e;if(e){break Q}e=v[b+4>>2];if(!e){v[b+4>>2]=-32767}if(!e){Qa[v[v[b>>2]+4>>2]](b)}}b=v[d+160>>2];v[d+160>>2]=0;if(!b){break L}e=v[b+4>>2]-1|0;v[b+4>>2]=e;if(e){break L}e=v[b+4>>2];if(!e){v[b+4>>2]=-32767}if(!e){Qa[v[v[b>>2]+4>>2]](b)}}h=h+1|0;e=Bd(d- -64|0);R:{b=v[v[m+12>>2]+((e>>>0)%y[m+8>>2]<<2)>>2];if(b){while(1){if((e|0)==v[b+12>>2]){if(!ld(b+16|0,d- -64|0,-1)){break R}}b=v[b+8>>2];if(b){continue}break}}db(d- -64|0);break D}db(d- -64|0);continue}}b=d+80|0;ZS(v[c+8>>2],b);e=Bd(b);b=v[v[m+12>>2]+((e>>>0)%y[m+8>>2]<<2)>>2];S:{if(b){while(1){if((e|0)==v[b+12>>2]){if(!ld(b+16|0,d+80|0,-1)){break S}}b=v[b+8>>2];if(b){continue}break}}b=ab(28);v[b>>2]=0;v[b+4>>2]=0;v[b+24>>2]=0;i=b+16|0;v[i>>2]=0;v[i+4>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b+20>>2]=v[279250];e=v[d+80>>2];T:{if(e){Qa[v[v[e>>2]+28>>2]](d- -64|0,e,1);break T}v[d+64>>2]=0}jb(i,d- -64|0);e=v[d+64>>2];v[d+64>>2]=0;U:{if(!e){break U}j=v[e+4>>2]-1|0;v[e+4>>2]=j;if(j){break U}j=v[e+4>>2];if(!j){v[e+4>>2]=-32767}if(!j){Qa[v[v[e>>2]+4>>2]](e)}}e=v[b+16>>2];e=v[(e?e+12|0:1117e3)>>2];v[b+24>>2]=0;v[b+20>>2]=e;x=b,z=Bd(i),v[x+12>>2]=z;bj(m,b)}v[b+24>>2]=0;db(d+80|0);c=v[c>>2];if(c){continue}break}}f=v[f>>2];v[d+152>>2]=f;b=d+88|0;if(f){continue}break}}Lf(a,p);vd(o);vd(m);Ma=d+176|0;return}break a}wd(d+72|0,p);L()}wd(d+152|0,d+88|0);L()}function _E(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=Ma-112|0;Ma=f;a:{b:{c:{d:{if(w[b+89|0]){if(!(v[b+92>>2]&24)){break d}g=ab(44);v[g+8>>2]=0;v[g+12>>2]=0;v[g>>2]=970916;v[g+4>>2]=0;c=g+16|0;v[c>>2]=0;v[c+4>>2]=0;v[g+24>>2]=0;v[g+28>>2]=0;v[g+32>>2]=0;v[g+36>>2]=0;v[g+40>>2]=0;jd(c,971008);v[a>>2]=0;qb(a,g);d=Ma-16|0;Ma=d;e=ab(136);v[e+12>>2]=0;v[e+16>>2]=0;v[e>>2]=970956;v[e+4>>2]=0;v[e+20>>2]=0;v[e+24>>2]=0;v[e+12>>2]=970612;v[e+16>>2]=0;v[e+20>>2]=0;v[e+24>>2]=0;v[e+48>>2]=-1;v[e+40>>2]=-1;v[e+44>>2]=0;v[e+32>>2]=0;v[e+36>>2]=0;v[e+28>>2]=970988;v[e+76>>2]=0;v[e+68>>2]=0;v[e+72>>2]=0;v[e+60>>2]=0;v[e+64>>2]=0;v[e+52>>2]=0;v[e+56>>2]=0;jd(e+52|0,971008);v[e+104>>2]=0;v[e+96>>2]=0;v[e+100>>2]=0;v[e+88>>2]=0;v[e+92>>2]=0;v[e+80>>2]=0;v[e+84>>2]=0;jd(e+80|0,971008);v[e+132>>2]=0;v[e+124>>2]=0;v[e+128>>2]=0;v[e+116>>2]=0;v[e+120>>2]=0;v[e+108>>2]=0;v[e+112>>2]=0;jd(e+108|0,971008);v[d+8>>2]=0;c=d+8|0;qb(c,e);jb(g+8|0,c);g=v[d+8>>2];v[d+8>>2]=0;e:{if(!g){break e}c=v[g+4>>2]-1|0;v[g+4>>2]=c;if(c){break e}c=v[g+4>>2];if(!c){v[g+4>>2]=-32767}if(!c){Qa[v[v[g>>2]+4>>2]](g)}}Ma=d+16|0;f:{switch(v[b+56>>2]-3|0){case 0:case 1:yy(f+8|0,v[b+48>>2]);j=v[f+16>>2];if(j){g=f- -64|0;while(1){h=ab(60);e=v[j+8>>2];i=Ma-16|0;Ma=i;v[h>>2]=970764;v[h+4>>2]=0;c=v[e+12>>2];v[h+8>>2]=v[e+8>>2];v[h+12>>2]=c;t[h+16|0]=w[e+16|0];v[h+20>>2]=0;v[h+24>>2]=v[279250];c=h+20|0;d=v[e+20>>2];g:{if(d){Qa[v[v[d>>2]+28>>2]](i+8|0,d,1);break g}v[i+8>>2]=0}jb(c,i+8|0);d=v[i+8>>2];v[i+8>>2]=0;h:{if(!d){break h}c=v[d+4>>2]-1|0;v[d+4>>2]=c;if(c){break h}c=v[d+4>>2];if(!c){v[d+4>>2]=-32767}if(!c){Qa[v[v[d>>2]+4>>2]](d)}}c=v[h+20>>2];c=v[(c?c+12|0:1117e3)>>2];v[h+28>>2]=0;v[h+24>>2]=c;v[h+32>>2]=v[279250];c=h+28|0;d=v[e+28>>2];i:{if(d){Qa[v[v[d>>2]+28>>2]](i+8|0,d,1);break i}v[i+8>>2]=0}jb(c,i+8|0);d=v[i+8>>2];v[i+8>>2]=0;j:{if(!d){break j}c=v[d+4>>2]-1|0;v[d+4>>2]=c;if(c){break j}c=v[d+4>>2];if(!c){v[d+4>>2]=-32767}if(!c){Qa[v[v[d>>2]+4>>2]](d)}}c=v[h+28>>2];c=v[(c?c+12|0:1117e3)>>2];v[h+36>>2]=0;v[h+32>>2]=c;v[h+40>>2]=v[279250];c=h+36|0;d=v[e+36>>2];k:{if(d){Qa[v[v[d>>2]+28>>2]](i+8|0,d,1);break k}v[i+8>>2]=0}jb(c,i+8|0);d=v[i+8>>2];v[i+8>>2]=0;l:{if(!d){break l}c=v[d+4>>2]-1|0;v[d+4>>2]=c;if(c){break l}c=v[d+4>>2];if(!c){v[d+4>>2]=-32767}if(!c){Qa[v[v[d>>2]+4>>2]](d)}}c=v[h+36>>2];c=v[(c?c+12|0:1117e3)>>2];v[h+44>>2]=0;v[h+40>>2]=c;v[h+48>>2]=v[279250];c=h+44|0;d=v[e+44>>2];m:{if(d){Qa[v[v[d>>2]+28>>2]](i+8|0,d,1);break m}v[i+8>>2]=0}jb(c,i+8|0);d=v[i+8>>2];v[i+8>>2]=0;n:{if(!d){break n}c=v[d+4>>2]-1|0;v[d+4>>2]=c;if(c){break n}c=v[d+4>>2];if(!c){v[d+4>>2]=-32767}if(!c){Qa[v[v[d>>2]+4>>2]](d)}}c=v[h+44>>2];v[h+48>>2]=v[(c?c+12|0:1117e3)>>2];c=v[e+56>>2];v[h+52>>2]=v[e+52>>2];v[h+56>>2]=c;Ma=i+16|0;v[f+104>>2]=0;qb(f+104|0,h);c=f+56|0;Ou(c,b,v[f+104>>2]+36|0);Qa[v[v[b>>2]+84>>2]](f+96|0,b,c,0);v[f+80>>2]=969432;v[f+56>>2]=969400;d=v[f+84>>2];if(d){c=v[d+4>>2]-1|0;v[d+4>>2]=c;if(!c){Qa[v[v[d>>2]+4>>2]](d)}v[f+84>>2]=0}v[f+72>>2]=969432;d=v[f+76>>2];if(d){c=v[d+4>>2]-1|0;v[d+4>>2]=c;if(!c){Qa[v[v[d>>2]+4>>2]](d)}v[f+76>>2]=0}db(g);v[f+56>>2]=0;o:{if(v[v[f+96>>2]+148>>2]&128){c=f+48|0;SR(c,v[f+96>>2]);jb(f+56|0,c);d=v[f+48>>2];v[f+48>>2]=0;if(!d){break o}c=v[d+4>>2]-1|0;v[d+4>>2]=c;if(c){break o}c=v[d+4>>2];if(!c){v[d+4>>2]=-32767}if(!c){Qa[v[v[d>>2]+4>>2]](d)}break o}c=f;d=v[f+96>>2];e=v[d+108>>2];if(e){v[e+4>>2]=v[e+4>>2]+1;d=v[d+108>>2]}else{d=0}v[c+48>>2]=d;jb(f+56|0,f+48|0);d=v[f+48>>2];v[f+48>>2]=0;if(!d){break o}c=v[d+4>>2]-1|0;v[d+4>>2]=c;if(c){break o}c=v[d+4>>2];if(!c){v[d+4>>2]=-32767}if(!c){Qa[v[v[d>>2]+4>>2]](d)}}d=v[a>>2];c=f;e=v[f+56>>2];if(e){v[e+4>>2]=v[e+4>>2]+1;e=v[f+56>>2]}else{e=0}v[c+40>>2]=e;LS(d,f+104|0,f+40|0);d=v[f+40>>2];v[f+40>>2]=0;p:{if(!d){break p}c=v[d+4>>2]-1|0;v[d+4>>2]=c;if(c){break p}c=v[d+4>>2];if(!c){v[d+4>>2]=-32767}if(!c){Qa[v[v[d>>2]+4>>2]](d)}}d=v[f+56>>2];v[f+56>>2]=0;q:{if(!d){break q}c=v[d+4>>2]-1|0;v[d+4>>2]=c;if(c){break q}c=v[d+4>>2];if(!c){v[d+4>>2]=-32767}if(!c){Qa[v[v[d>>2]+4>>2]](d)}}d=v[f+96>>2];v[f+96>>2]=0;r:{if(!d){break r}c=v[d+4>>2]-1|0;v[d+4>>2]=c;if(c){break r}c=v[d+4>>2];if(!c){v[d+4>>2]=-32767}if(!c){Qa[v[v[d>>2]+4>>2]](d)}}d=v[f+104>>2];v[f+104>>2]=0;s:{if(!d){break s}c=v[d+4>>2]-1|0;v[d+4>>2]=c;if(c){break s}c=v[d+4>>2];if(!c){v[d+4>>2]=-32767}if(!c){Qa[v[v[d>>2]+4>>2]](d)}}j=v[j>>2];if(j){continue}break}}ac(f+8|0);break a;case 2:v[f+80>>2]=0;v[f+72>>2]=0;v[f+76>>2]=0;c=f- -64|0;v[c>>2]=0;v[c+4>>2]=0;v[f+56>>2]=0;v[f+60>>2]=0;g=jd(f+56|0,971432);$r(f+8|0,b,0,0);d=v[a>>2];t:{if(w[b+60|0]){break t}c=b+61|0;u:{if(v[v[f+8>>2]+148>>2]&4096){t[b+61|0]=1;c=b+60|0;break u}if(!(v[v[f+8>>2]+148>>2]&2048)){break t}}t[c|0]=1}vy(f+8|0,1,d,f+56|0);d=v[f+8>>2];v[f+8>>2]=0;v:{if(!d){break v}c=v[d+4>>2]-1|0;v[d+4>>2]=c;if(c){break v}c=v[d+4>>2];if(!c){v[d+4>>2]=-32767}if(!c){Qa[v[v[d>>2]+4>>2]](d)}}vd(g);break a;default:break f}}v[f+32>>2]=0;v[f+24>>2]=0;v[f+28>>2]=0;v[f+16>>2]=0;v[f+20>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;h=jd(f+8|0,971432);if(!v[b+84>>2]){break c}c=v[b+112>>2];if(((v[c+68>>2]-v[c- -64>>2]|0)+1|0)<=0){break b}g=b+61|0;d=b+60|0;i=f- -64|0;while(1){c=f+56|0;py(c,v[b+112>>2],j);Qa[v[v[b>>2]+84>>2]](f+104|0,b,c,0);v[f+80>>2]=969432;v[f+56>>2]=969400;e=v[f+84>>2];if(e){c=v[e+4>>2]-1|0;v[e+4>>2]=c;if(!c){Qa[v[v[e>>2]+4>>2]](e)}v[f+84>>2]=0}v[f+72>>2]=969432;e=v[f+76>>2];if(e){c=v[e+4>>2]-1|0;v[e+4>>2]=c;if(!c){Qa[v[v[e>>2]+4>>2]](e)}v[f+76>>2]=0}db(i);e=v[a>>2];w:{if(w[d|0]){break w}x:{if(v[v[f+104>>2]+148>>2]&4096){t[g|0]=1;c=d;break x}c=g;if(!(v[v[f+104>>2]+148>>2]&2048)){break w}}t[c|0]=1}vy(f+104|0,1,e,f+8|0);e=v[f+104>>2];v[f+104>>2]=0;y:{if(!e){break y}c=v[e+4>>2]-1|0;v[e+4>>2]=c;if(c){break y}c=v[e+4>>2];if(!c){v[e+4>>2]=-32767}if(!c){Qa[v[v[e>>2]+4>>2]](e)}}j=j+1|0;c=v[b+112>>2];if((j|0)<((v[c+68>>2]-v[c- -64>>2]|0)+1|0)){continue}break}break b}lb(mb(f+56|0,231515,240864,286,226712));L()}lb(mb(f+56|0,279452,240864,1714,333181));L()}c=v[b+112>>2];if(((v[c+68>>2]-v[c- -64>>2]|0)+1|0)<1){break b}g=b+61|0;d=b+60|0;i=f- -64|0;while(1){c=f+56|0;py(c,v[b+112>>2],j);Qa[v[v[b>>2]+84>>2]](f+104|0,b,c,0);v[f+80>>2]=969432;v[f+56>>2]=969400;e=v[f+84>>2];if(e){c=v[e+4>>2]-1|0;v[e+4>>2]=c;if(!c){Qa[v[v[e>>2]+4>>2]](e)}v[f+84>>2]=0}v[f+72>>2]=969432;e=v[f+76>>2];if(e){c=v[e+4>>2]-1|0;v[e+4>>2]=c;if(!c){Qa[v[v[e>>2]+4>>2]](e)}v[f+76>>2]=0}db(i);e=v[a>>2];z:{if(w[d|0]){break z}A:{if(v[v[f+104>>2]+148>>2]&4096){t[g|0]=1;c=d;break A}c=g;if(!(v[v[f+104>>2]+148>>2]&2048)){break z}}t[c|0]=1}vy(f+104|0,1,e,f+8|0);e=v[f+104>>2];v[f+104>>2]=0;B:{if(!e){break B}c=v[e+4>>2]-1|0;v[e+4>>2]=c;if(c){break B}c=v[e+4>>2];if(!c){v[e+4>>2]=-32767}if(!c){Qa[v[v[e>>2]+4>>2]](e)}}j=j+1|0;c=v[b+112>>2];if((j|0)<((v[c+68>>2]-v[c- -64>>2]|0)+1|0)){continue}break}}vd(h)}d=v[b+52>>2];C:{if(!d){break C}c=v[a>>2];v[d+4>>2]=v[d+4>>2]+1;v[f>>2]=v[b+52>>2];g=0;d=Ma-32|0;Ma=d;a=v[f>>2];if(a){D:{k=Ma-32|0;Ma=k;h=v[a+16>>2];v[k+8>>2]=0;i=gb(h<<2);E:{if((h|0)>0){e=a+12|0;a=0;while(1){FE(k+24|0,e,a);g=v[k+24>>2];F:{if(g){v[k+16>>2]=g;b=v[k+28>>2];v[k+20>>2]=b;if((b|0)!=(e|0)){break E}jb(k+8|0,g+8|0);break F}qb(k+8|0,0)}g=v[k+8>>2];v[i+(a<<2)>>2]=v[g+8>>2];a=a+1|0;if((h|0)!=(a|0)){continue}break}}b=0;while(1){G:{j=0;a=b;if((b|0)>=(h|0)){break G}while(1){H:{j=v[i+(a<<2)>>2]+j|0;if(!j){j=1;break H}if((a-b|0)==(j|0)){break H}a=a+1|0;if((h|0)!=(a|0)){continue}break G}break}b=b+j|0;if((j|0)>0){continue}}break}$a(i);v[k+8>>2]=0;I:{if(!g){break I}a=v[g+4>>2]-1|0;v[g+4>>2]=a;if(a){break I}a=v[g+4>>2];if(!a){v[g+4>>2]=-32767}if(!a){Qa[v[v[g>>2]+4>>2]](g)}}Ma=k+32|0;break D}wd(k+16|0,e);L()}}jb(c+12|0,f);Ma=d+32|0;b=v[f>>2];v[f>>2]=0;if(!b){break C}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break C}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}}Ma=f+112|0}function hWa(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,n=0,o=0,p=0,q=0,r=0,s=0,x=0,z=0;o=Ma-16|0;Ma=o;v[o+12>>2]=0;a:{if(!(w[a+289|0]|w[a+288|0])){b=1029;ob(a,1029,0,0);break a}if(!c){b=1028;ob(a,1028,0,0);break a}t[a+292|0]=1;q=c;s=d;g=a;b:{if(w[g+477|0]){t[g+477|0]=0;f=gp(g);v[g+440>>2]=v[g+440>>2]+1;if(f){break b}}if(!w[g+2533|0]){f=v[g+1012>>2];if(f){f=Qa[f|0](g)|0;v[g+1012>>2]=0;if(f){break b}}i=gb(40);v[i>>2]=0;f=v[g+2456>>2];v[296803]=0;k=cp(f);h=v[296803];v[296803]=0;j=-1;p=4;c:{d:{e:{if(!h){break e}f=v[296804];if(!f){break e}j=pb(v[h>>2],i,4);if(!j){break d}Q(f|0)}h=P()|0;if((j|0)!=1){v[v[g+2452>>2]>>2]=k;f=v[g+2456>>2];v[f+8>>2]=756;v[f>>2]=757;i=be(g+2568|0,1,i,4);p=P()|0;h=0;k=g+2452|0}while(1){if(h){v[296803]=0;V(755,g|0,6,h|0,0)|0;h=v[296803];v[296803]=0;j=-1;f:{if(!h){break f}f=v[296804];if(!f){break f}j=pb(v[h>>2],i,p);if(!j){break d}Q(f|0)}h=P()|0;if((j|0)==1){continue}$a(i);f=6;break c}f=v[k>>2];v[296803]=0;X(16,f|0,80,488);h=v[296803];v[296803]=0;j=-1;g:{if(!h){break g}f=v[296804];if(!f){break g}j=pb(v[h>>2],i,p);if(!j){break d}Q(f|0)}h=P()|0;if((j|0)==1){continue}break}t[g+2533|0]=1;f=v[g+2460>>2];v[v[k>>2]+24>>2]=f;v[f+24>>2]=758;v[f+16>>2]=759;v[f+12>>2]=760;v[f+8>>2]=761;v[f+20>>2]=8;v[f>>2]=v[g+2484>>2];v[f+4>>2]=v[g+2488>>2];$a(i);f=0;break c}$a(i);tc(h,f);L()}if(f){break b}}f=0;r=Ma-16|0;Ma=r;k=gb(40);v[k>>2]=0;l=be(g+2568|0,1,k,4);m=P()|0;h:{i:{j:{k:while(1){if(f){v[296803]=0;V(755,g|0,6,f|0,0)|0;f=v[296803];v[296803]=0;h=-1;l:{if(!f){break l}j=v[296804];if(!j){break l}h=pb(v[f>>2],l,m);if(!h){break i}Q(j|0)}f=P()|0;if((h|0)==1){continue}i=6;break j}k=q;p=s;m:{n:{f=v[g+2492>>2];if(f){v[g+2484>>2]=v[g+2476>>2];k=f-q|0;v[g+2492>>2]=f>>>0>>0?0:k;p=(f>>>0>>0?f:0)+s|0;f=q-f|0;k=f>>>0>q>>>0?0:f}if(k){while(1){f=v[g+2476>>2];i=v[g+2484>>2];o:{if(f>>>0>=i>>>0){f=i;break o}h=v[g+2488>>2];if(y[g+2480>>2]>=h+((i+k|0)-f|0)>>>0){f=i;break o}if(h){cb(f,i,h);f=v[g+2476>>2]}v[g+2484>>2]=f}i=v[g+2480>>2];h=v[g+2488>>2];p:{if(i>>>0>=h+k>>>0){cb(f+h|0,p,k);n=v[g+2488>>2]+k|0;v[g+2488>>2]=n;k=0;break p}i=i-h|0;if(!i){v[296803]=0;V(755,g|0,13,0,0)|0;f=v[296803];v[296803]=0;h=-1;q:{if(!f){break q}j=v[296804];if(!j){break q}h=pb(v[f>>2],l,m);if(!h){break i}Q(j|0)}f=P()|0;if((h|0)==1){continue k}i=13;break j}cb(f+h|0,p,i);n=i+v[g+2488>>2]|0;v[g+2488>>2]=n;p=i+p|0;k=k-i|0}i=v[g+2484>>2];f=v[g+2452>>2];h=v[f+24>>2];v[h+4>>2]=n;v[h>>2]=i;r:{if(!w[g+2534|0]){v[296803]=0;i=Y(17,f|0,1)|0;f=v[296803];v[296803]=0;h=-1;s:{if(!f){break s}j=v[296804];if(!j){break s}h=pb(v[f>>2],l,m);if(!h){break i}Q(j|0)}f=P()|0;if((h|0)==1){continue k}if(i){t[g+2534|0]=1;f=v[g+2452>>2];if(!(v[f+28>>2]==v[g+316>>2]&v[f+32>>2]==v[g+320>>2])){v[296803]=0;V(755,g|0,1056,0,0)|0;f=v[296803];v[296803]=0;h=-1;t:{if(!f){break t}j=v[296804];if(!j){break t}h=pb(v[f>>2],l,m);if(!h){break i}Q(j|0)}f=P()|0;if((h|0)==1){continue k}i=1056;break j}u:{v:{w:{i=w[g+336|0];switch(i-8|0){case 2:case 6:break v;case 0:case 4:break w;default:break u}}if(v[f+40>>2]!=1){v[296803]=0;V(755,g|0,1056,0,0)|0;f=v[296803];v[296803]=0;h=-1;x:{if(!f){break x}j=v[296804];if(!j){break x}h=pb(v[f>>2],l,m);if(!h){break i}Q(j|0)}f=P()|0;if((h|0)==1){continue k}i=1056;break j}if((i|0)!=10){break u}}if(v[f+40>>2]==3){break u}v[296803]=0;V(755,g|0,1056,0,0)|0;f=v[296803];v[296803]=0;h=-1;y:{if(!f){break y}j=v[296804];if(!j){break y}h=pb(v[f>>2],l,m);if(!h){break i}Q(j|0)}f=P()|0;if((h|0)==1){continue k}i=1056;break j}v[296803]=0;i=T(762,f|0)|0;f=v[296803];v[296803]=0;n=-1;z:{if(!f){break z}j=v[296804];if(!j){break z}n=pb(v[f>>2],l,m);if(!n){break i}Q(j|0)}f=P()|0;if((n|0)==1){continue k}t[g+2538|0]=i;A:{if(!(i&255)){break A}B:{switch(w[g+336|0]-12|0){case 0:case 2:break B;default:break A}}v[g+968>>2]=0}f=v[g+2452>>2];i=v[f+28>>2];f=v[f+40>>2]==3?B(i,3):i;v[g+2520>>2]=f;i=v[g+152>>2];v[296803]=0;i=T(i|0,f|0)|0;f=v[296803];v[296803]=0;n=-1;C:{if(!f){break C}j=v[296804];if(!j){break C}n=pb(v[f>>2],l,m);if(!n){break i}Q(j|0)}f=P()|0;if((n|0)==1){continue k}v[g+2516>>2]=i;if(!i){v[296803]=0;V(755,g|0,1,0,0)|0;f=v[296803];v[296803]=0;h=-1;D:{if(!f){break D}j=v[296804];if(!j){break D}h=pb(v[f>>2],l,m);if(!h){break i}Q(j|0)}f=P()|0;if((h|0)==1){continue k}i=1;break j}v[g+2560>>2]=0}f=v[g+2452>>2];i=v[f+24>>2];v[g+2484>>2]=v[i>>2];v[g+2488>>2]=v[i+4>>2];if(!w[g+2534|0]){break r}}if(!w[g+2535|0]){if(w[g+2538|0]){v[f+64>>2]=1}v[296803]=0;i=T(22,f|0)|0;f=v[296803];v[296803]=0;h=-1;E:{if(!f){break E}j=v[296804];if(!j){break E}h=pb(v[f>>2],l,m);if(!h){break i}Q(j|0)}f=P()|0;if((h|0)==1){continue k}if((i|0)==1){t[g+2535|0]=1}f=v[g+2452>>2];i=v[f+24>>2];v[g+2484>>2]=v[i>>2];v[g+2488>>2]=v[i+4>>2];if(!w[g+2534|0]|!w[g+2535|0]){break r}}v[296803]=0;i=T(763,f|0)|0;f=v[296803];v[296803]=0;h=-1;F:{if(!f){break F}j=v[296804];if(!j){break F}h=pb(v[f>>2],l,m);if(!h){break i}Q(j|0)}f=P()|0;if((h|0)==1){continue k}G:{H:{if(!i){break H}f=v[g+2452>>2];if(y[f+140>>2]>2]){break H}if(!w[g+2538|0]|!w[g+2537|0]){break G}}n=0;while(1){v[r+12>>2]=v[g+2516>>2];I:{J:{K:{if(!w[g+2538|0]){break K}if(!w[g+2536|0]){t[g+2536|0]=1;f=v[g+2452>>2];i=v[f+144>>2];v[296803]=0;Y(764,f|0,i|0)|0;f=v[296803];v[296803]=0;h=-1;L:{if(!f){break L}j=v[296804];if(!j){break L}h=pb(v[f>>2],l,m);if(!h){break i}Q(j|0)}f=P()|0;if((h|0)==1){continue k}v[g+2552>>2]=0;if(!w[g+2538|0]){break K}}if(w[g+2537|0]){break J}}f=v[g+2452>>2];while(1){v[296803]=0;n=W(32,f|0,r+12|0,1)|0;f=v[296803];v[296803]=0;h=-1;M:{if(!f){break M}j=v[296804];if(!j){break M}h=pb(v[f>>2],l,m);if(!h){break i}Q(j|0)}f=P()|0;if((h|0)==1){continue k}f=v[g+2452>>2];i=v[f+24>>2];v[g+2484>>2]=v[i>>2];v[g+2488>>2]=v[i+4>>2];if((n|0)>=1){i=v[g+2544>>2];if(i){v[296803]=0;i=T(i|0,g|0)|0;f=v[296803];v[296803]=0;h=-1;N:{if(!f){break N}j=v[296804];if(!j){break N}h=pb(v[f>>2],l,m);if(!h){break i}Q(j|0)}f=P()|0;if((h|0)==1){continue k}if(i){break j}f=v[g+2452>>2]}if(y[f+140>>2]>2]){continue}}break}if(!w[g+2538|0]){break I}}f=v[g+2452>>2];if(y[f+140>>2]>2]){break I}v[296803]=0;i=T(765,f|0)|0;f=v[296803];v[296803]=0;h=-1;O:{if(!f){break O}j=v[296804];if(!j){break O}h=pb(v[f>>2],l,m);if(!h){break i}Q(j|0)}f=P()|0;if((h|0)==1){continue k}f=g;if(i){t[g+2536|0]=0;i=0}else{i=1}t[f+2537|0]=i}f=v[g+2452>>2];v[296803]=0;i=T(763,f|0)|0;f=v[296803];v[296803]=0;h=-1;P:{if(!f){break P}j=v[296804];if(!j){break P}h=pb(v[f>>2],l,m);if(!h){break i}Q(j|0)}f=P()|0;if((h|0)==1){continue k}if((n|0)<1|i){break G}if(!w[g+2537|0]){continue}break}}if(w[g+2537|0]|(!w[g+2534|0]|!w[g+2535|0])){break r}f=v[g+2452>>2];v[296803]=0;i=T(763,f|0)|0;f=v[296803];v[296803]=0;h=-1;Q:{if(!f){break Q}j=v[296804];if(!j){break Q}h=pb(v[f>>2],l,m);if(!h){break i}Q(j|0)}f=P()|0;if((h|0)==1){continue k}if(!i){break r}f=v[g+2452>>2];if(v[f+144>>2]!=v[f+152>>2]){break r}v[296803]=0;i=T(33,f|0)|0;f=v[296803];v[296803]=0;h=-1;R:{if(!f){break R}j=v[296804];if(!j){break R}h=pb(v[f>>2],l,m);if(!h){break i}Q(j|0)}f=P()|0;if((h|0)==1){continue k}if((i|0)!=1){break r}i=0;u[g+2534>>1]=0;f=v[v[g+2452>>2]+24>>2];v[g+2484>>2]=v[f>>2];f=v[f+4>>2];v[g+2488>>2]=f;if(!(f|k)){break j}v[296803]=0;V(755,g|0,1055,0,0)|0;f=v[296803];v[296803]=0;h=-1;if(!f){break m}j=v[296804];if(!j){break m}h=pb(v[f>>2],l,m);if(h){break n}break i}if(k){continue}break}}i=0;break j}Q(j|0)}f=P()|0;if((h|0)==1){continue}break}i=1055}$a(l);Ma=r+16|0;f=i;break h}$a(l);tc(f,j);L()}}v[o+12>>2]=f;if(v[o+12>>2]){b=v[o+12>>2];break a}if(!w[a+112|0]){b=0;break a}x=o,z=Qa[v[b+4>>2]](a,b,e)|0,v[x+12>>2]=z;if(v[o+12>>2]){b=v[o+12>>2];break a}f=v[e>>2];v[f+36>>2]=c;b=0;t[f+32|0]=0;f=Qa[v[a+152>>2]](c)|0;v[v[e>>2]+40>>2]=f;e=v[v[e>>2]+40>>2];if(!e){b=1;ob(a,1,0,0);break a}cb(e,d,c)}Ma=o+16|0;return b|0}function vy(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,z=0,A=0;k=Ma-128|0;Ma=k;n=ze(k+88|0,v[a>>2]+72|0);f=eh(n);h=v[v[d+12>>2]+((f>>>0)%y[d+8>>2]<<2)>>2];a:{if(h){while(1){if((f|0)==v[h+12>>2]){if(ff(h+16|0,n)){break a}}h=v[h+8>>2];if(h){continue}break}}z=il(d,n),A=0,v[z+52>>2]=A;f=Ma-48|0;Ma=f;b:{c:{g=v[a>>2];h=v[g+140>>2];if((h|0)<=-1){e=f+40|0;th(e,v[g+108>>2]);h=0;v[f+32>>2]=0;v[f+36>>2]=v[279250];Ve(f+24|0,e);e=v[f+24>>2];if(!Ad(e,f+32|0,0)){break c}if(Ad(e,f+32|0,0)){while(1){eo(e);h=h+1|0;if(Ad(e,f+32|0,0)){continue}break}}v[g+140>>2]=h;vk(v[g+108>>2]);h=v[f+24>>2];v[f+24>>2]=0;d:{if(!h){break d}e=v[h+4>>2]-1|0;v[h+4>>2]=e;if(e){break d}e=v[h+4>>2];if(!e){v[h+4>>2]=-32767}if(!e){Qa[v[v[h>>2]+4>>2]](h)}}db(f+32|0);h=v[f+40>>2];v[f+40>>2]=0;e:{if(!h){break e}e=v[h+4>>2]-1|0;v[h+4>>2]=e;if(e){break e}e=v[h+4>>2];if(!e){v[h+4>>2]=-32767}if(!e){Qa[v[v[h>>2]+4>>2]](h)}}h=v[g+140>>2]}Ma=f+48|0;break b}lb(mb(f,v[279242],241865,2058,332720));L()}if((h|0)<1){break a}f=v[a>>2];h=Oc(k+8|0,310384);f=UR(f,h);db(h);if(f){break a}mo(k+72|0,v[a>>2],0);SR(k- -64|0,v[a>>2]);j=v[k+80>>2];if(j){x=k+16|0;while(1){h=v[j+8>>2];if(h){v[h+4>>2]=v[h+4>>2]+1;h=v[j+8>>2]}else{h=0}f=Oc(k+8|0,310384);g=UR(h,f);db(f);if(g){r=k+48|0;fh(r,ze(k+8|0,h+72|0));s=k+56|0;f=s;g=Ma-1104|0;Ma=g;e=g+1088|0;lg(e);Ve(g+1080|0,e);m=v[g+1080>>2];e=g+1072|0;u=k- -64|0;o=u;th(e,v[o>>2]);Ve(g+1064|0,e);i=v[g+1064>>2];v[g+1056>>2]=0;v[g+1060>>2]=v[279250];f:{g:{h:{if(!Ad(i,g+1056|0,0)){e=v[o>>2];if(e){v[e+4>>2]=v[e+4>>2]+1;l=v[o>>2]}else{l=0}v[f>>2]=l;break h}e=v[g+1056>>2];Uf(m,v[(e?e+12|0:1117e3)>>2],0);if(Ad(i,g+1056|0,0)){while(1){i:{j:{k:{l:{m:{if(!Hb(g+1056|0,311183,-1)){v[g+1048>>2]=0;v[g+1052>>2]=v[279250];e=Qa[v[v[i>>2]+8>>2]](i,g+16|0,1024)|0;if(e){break m}break j}e=v[g+1056>>2];Uf(m,v[(e?e+12|0:1117e3)>>2],0);v[g+1048>>2]=0;qb(g+1048|0,m);e=Qa[v[v[i>>2]+8>>2]](i,g+16|0,1024)|0;if(e){break l}break k}while(1){l=g+8|0;p=g+16|0;e=eg(l,p,e);Cd(g+1048|0,l);db(e);e=Qa[v[v[i>>2]+8>>2]](i,p,1024)|0;if(e){continue}break}break j}while(1){l=g+16|0;Xp(v[g+1048>>2],l,e);e=Qa[v[v[i>>2]+8>>2]](i,l,1024)|0;if(e){continue}break}}e=v[g+1048>>2];v[g+1048>>2]=0;n:{if(!e){break n}l=v[e+4>>2]-1|0;v[e+4>>2]=l;if(l){break n}l=v[e+4>>2];if(!l){v[e+4>>2]=-32767}if(!l){Qa[v[v[e>>2]+4>>2]](e)}}Od(m);break i}o:{while(1){e=v[g+1048>>2];if(!e){break o}if(!(!v[e+8>>2]|w[v[e+12>>2]]!=10)){We(g+8|0,g+1048|0,1,-1);e=v[g+8>>2];p:{if(e){Qa[v[v[e>>2]+28>>2]](g+1096|0,e,1);break p}v[g+1096>>2]=0}jb(g+1048|0,g+1096|0);e=v[g+1096>>2];v[g+1096>>2]=0;q:{if(!e){break q}l=v[e+4>>2]-1|0;v[e+4>>2]=l;if(l){break q}l=v[e+4>>2];if(!l){v[e+4>>2]=-32767}if(!l){Qa[v[v[e>>2]+4>>2]](e)}}e=v[g+1048>>2];v[g+1052>>2]=v[(e?e+12|0:1117e3)>>2];db(g+8|0);continue}break}while(1){l=v[e+8>>2];if(!l){break o}q=l-1|0;r:{if(!q){p=0;break r}p=((l|0)>0?0:e?l:0)+q|0;if(!e|(p|0)<0|(l|0)<(p|0)){break g}}if(w[v[e+12>>2]+p|0]!=10){break o}dy(g+1048|0,q,0);e=v[g+1048>>2];if(e){continue}break}}if(ld(g+1048|0,r,-1)){e=v[g+1056>>2];Uf(m,v[(e?e+12|0:1117e3)>>2],0);v[g+8>>2]=0;qb(g+8|0,m);Li(v[g+8>>2],g+1048|0);e=v[g+8>>2];v[g+8>>2]=0;s:{if(!e){break s}l=v[e+4>>2]-1|0;v[e+4>>2]=l;if(l){break s}l=v[e+4>>2];if(!l){v[e+4>>2]=-32767}if(!l){Qa[v[v[e>>2]+4>>2]](e)}}Od(m)}db(g+1048|0)}Od(i);if(Ad(i,g+1056|0,0)){continue}break}}Od(m);Qa[v[v[m>>2]+24>>2]](m);e=v[g+1088>>2];Qa[v[v[e>>2]+20>>2]](e,0,0,0)|0;vk(v[o>>2]);Cy(f,g+1088|0)}db(g+1056|0);f=v[g+1064>>2];v[g+1064>>2]=0;t:{if(!f){break t}e=v[f+4>>2]-1|0;v[f+4>>2]=e;if(e){break t}e=v[f+4>>2];if(!e){v[f+4>>2]=-32767}if(!e){Qa[v[v[f>>2]+4>>2]](f)}}f=v[g+1072>>2];v[g+1072>>2]=0;u:{if(!f){break u}e=v[f+4>>2]-1|0;v[f+4>>2]=e;if(e){break u}e=v[f+4>>2];if(!e){v[f+4>>2]=-32767}if(!e){Qa[v[v[f>>2]+4>>2]](f)}}f=v[g+1080>>2];v[g+1080>>2]=0;v:{if(!f){break v}e=v[f+4>>2]-1|0;v[f+4>>2]=e;if(e){break v}e=v[f+4>>2];if(!e){v[f+4>>2]=-32767}if(!e){Qa[v[v[f>>2]+4>>2]](f)}}f=v[g+1088>>2];v[g+1088>>2]=0;w:{if(!f){break w}e=v[f+4>>2]-1|0;v[f+4>>2]=e;if(e){break w}e=v[f+4>>2];if(!e){v[f+4>>2]=-32767}if(!e){Qa[v[v[f>>2]+4>>2]](f)}}Ma=g+1104|0;break f}ni();L()}jb(u,s);f=v[k+56>>2];v[k+56>>2]=0;x:{if(!f){break x}g=v[f+4>>2]-1|0;v[f+4>>2]=g;if(g){break x}g=v[f+4>>2];if(!g){v[f+4>>2]=-32767}if(!g){Qa[v[v[f>>2]+4>>2]](f)}}db(k+48|0);v[k+32>>2]=969432;v[k+8>>2]=969400;f=v[k+36>>2];if(f){g=v[f+4>>2]-1|0;v[f+4>>2]=g;if(!g){Qa[v[v[f>>2]+4>>2]](f)}v[k+36>>2]=0}v[k+24>>2]=969432;f=v[k+28>>2];if(f){g=v[f+4>>2]-1|0;v[f+4>>2]=g;if(!g){Qa[v[v[f>>2]+4>>2]](f)}v[k+28>>2]=0}db(x)}y:{if(!h){break y}f=v[h+4>>2]-1|0;v[h+4>>2]=f;if(f){break y}f=v[h+4>>2];if(!f){v[h+4>>2]=-32767}if(!f){Qa[v[v[h>>2]+4>>2]](h)}}j=v[j>>2];if(j){continue}break}}a=ze(k+8|0,v[a>>2]+72|0);fh(k+48|0,a);v[a+24>>2]=969432;v[a>>2]=969400;h=v[a+28>>2];if(h){f=v[h+4>>2]-1|0;v[h+4>>2]=f;if(!f){Qa[v[v[h>>2]+4>>2]](h)}v[a+28>>2]=0}v[a+16>>2]=969432;h=v[a+20>>2];if(h){f=v[h+4>>2]-1|0;v[h+4>>2]=f;if(!f){Qa[v[v[h>>2]+4>>2]](h)}v[a+20>>2]=0}db(a+8|0);a=k+48|0;l=a;m=Ma-16|0;Ma=m;f=ab(60);v[f+20>>2]=0;v[f>>2]=970764;v[f+4>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;t[f+16|0]=0;h=v[279250];v[f+56>>2]=-1;t[f+52|0]=0;v[f+48>>2]=h;v[f+44>>2]=0;v[f+40>>2]=h;v[f+36>>2]=0;v[f+32>>2]=h;v[f+28>>2]=0;v[f+24>>2]=h;h=k+8|0;v[h>>2]=0;qb(h,f);e=Ma-96|0;Ma=e;h=a;i=Ux(e+8|0,a);g=ze(e+48|0,i);v[i+24>>2]=969432;v[i>>2]=969400;j=v[i+28>>2];if(j){o=v[j+4>>2]-1|0;v[j+4>>2]=o;if(!o){Qa[v[v[j>>2]+4>>2]](j)}v[i+28>>2]=0}v[i+16>>2]=969432;j=v[i+20>>2];if(j){o=v[j+4>>2]-1|0;v[j+4>>2]=o;if(!o){Qa[v[v[j>>2]+4>>2]](j)}v[i+20>>2]=0}db(i+8|0);z:{if(w[g+32|0]){break z}cg(g,1);if(w[g+32|0]){break z}i=$D(e+8|0,l);Rf(g,i);v[i+24>>2]=969432;v[i>>2]=969400;j=v[i+28>>2];if(j){l=v[j+4>>2]-1|0;v[j+4>>2]=l;if(!l){Qa[v[v[j>>2]+4>>2]](j)}v[i+28>>2]=0}v[i+16>>2]=969432;j=v[i+20>>2];if(j){l=v[j+4>>2]-1|0;v[j+4>>2]=l;if(!l){Qa[v[v[j>>2]+4>>2]](j)}v[i+20>>2]=0}db(i+8|0)}fh(e+8|0,g);j=f+36|0;i=v[e+8>>2];A:{if(i){Qa[v[v[i>>2]+28>>2]](e+88|0,i,1);break A}v[e+88>>2]=0}jb(j,e+88|0);i=v[e+88>>2];v[e+88>>2]=0;B:{if(!i){break B}j=v[i+4>>2]-1|0;v[i+4>>2]=j;if(j){break B}j=v[i+4>>2];if(!j){v[i+4>>2]=-32767}if(!j){Qa[v[v[i>>2]+4>>2]](i)}}i=v[f+36>>2];v[f+40>>2]=v[(i?i+12|0:1117e3)>>2];db(e+8|0);v[g+24>>2]=969432;v[g>>2]=969400;i=v[g+28>>2];if(i){j=v[i+4>>2]-1|0;v[i+4>>2]=j;if(!j){Qa[v[v[i>>2]+4>>2]](i)}v[g+28>>2]=0}v[g+16>>2]=969432;i=v[g+20>>2];if(i){j=v[i+4>>2]-1|0;v[i+4>>2]=j;if(!j){Qa[v[v[i>>2]+4>>2]](i)}v[g+20>>2]=0}db(g+8|0);Ma=e+96|0;ZS(f,a);g=f+44|0;a=v[h>>2];C:{if(a){Qa[v[v[a>>2]+28>>2]](m+8|0,a,1);break C}v[m+8>>2]=0}jb(g,m+8|0);a=v[m+8>>2];v[m+8>>2]=0;D:{if(!a){break D}h=v[a+4>>2]-1|0;v[a+4>>2]=h;if(h){break D}h=v[a+4>>2];if(!h){v[a+4>>2]=-32767}if(!h){Qa[v[v[a>>2]+4>>2]](a)}}a=v[f+44>>2];a=v[(a?a+12|0:1117e3)>>2];t[f+52|0]=b&63;v[f+48>>2]=a;Ma=m+16|0;a=k;f=a;b=v[a+64>>2];if(b){v[b+4>>2]=v[b+4>>2]+1;a=v[k+64>>2]}else{a=0}v[f>>2]=a;LS(c,k+8|0,k);a=v[k>>2];v[k>>2]=0;E:{if(!a){break E}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break E}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}h=v[k+80>>2];if(h){while(1){vy(h+8|0,0,c,d);h=v[h>>2];if(h){continue}break}}a=v[k+8>>2];v[k+8>>2]=0;F:{if(!a){break F}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break F}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}db(k+48|0);a=v[k+64>>2];v[k+64>>2]=0;G:{if(!a){break G}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break G}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}ac(k+72|0)}v[n+24>>2]=969432;v[n>>2]=969400;a=v[n+28>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Qa[v[v[a>>2]+4>>2]](a)}v[n+28>>2]=0}v[n+16>>2]=969432;a=v[n+20>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Qa[v[v[a>>2]+4>>2]](a)}v[n+20>>2]=0}db(n+8|0);Ma=k+128|0}function v0(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,z=0;f=Ma-272|0;Ma=f;v[f+4>>2]=0;v[f>>2]=0;h=6;a:{if(!b|!d&(c|0)>-1){break a}s=w[b|0]&2?v[b+16>>2]!=0:s;h=uw(a,b,f+4|0);v[f+8>>2]=h;b:{c:{d:{e:{f:{g:{if(h){break g}x=v[a>>2];h:{k=v[b>>2];if(!(k&8)){break h}o=v[b+20>>2];if(!o){break h}i:{if(t[v[o>>2]]&1){h=f;g=o;l=f+4|0;e=s;a=c;if(k&16){j=v[b+28>>2];b=v[b+24>>2]}else{b=0}a=CJ(g,l,e,a,b,j,f);v[h+8>>2]=a;if(a){break i}break d}v[f+8>>2]=32}a=v[f+4>>2];if(!a){break c}b=v[a+28>>2];j:{if(!a){break j}c=v[a+24>>2];if(!c){break j}Qa[c|0](a)}if(s){break c}if(a){Qa[v[b+8>>2]](b,a)}break c}h=11;v[f+8>>2]=11;o=v[a+16>>2];if((o|0)<1){o=0;break f}k=((o<<2)+a|0)+20|0;j=a+20|0;k:{if(!e){while(1){o=v[j>>2];if(t[v[o>>2]]&1){h=0;g=0;if(w[b|0]&16){h=v[b+24>>2];g=v[b+28>>2]}h=CJ(o,f+4|0,s,c,h,g,f);v[f+8>>2]=h;if(!h){break d}if((h&255)!=2){break g}g=o}j=j+4|0;if(k>>>0>j>>>0){continue}break k}}while(1){o=v[j>>2];if(t[v[o>>2]]&1){h=0;g=0;if(w[b|0]&16){h=v[b+24>>2];g=v[b+28>>2]}h=CJ(o,f+4|0,s,c,h,g,f);v[f+8>>2]=h;if(!h){break d}g=h&255;if(!(hb(v[v[v[j>>2]>>2]+8>>2],278441)|(g|0)!=142)){g=v[f+4>>2];h=Mb(g,0);v[f+8>>2]=h;if(h){break g}h=u0(a,g,c,d);v[f+8>>2]=h;if(!h){break e}g=h&255}if((g|0)!=2){break g}g=o}j=j+4|0;if(k>>>0>j>>>0){continue}break}}o=g}l:{m:{g=h&255;switch(g-81|0){case 0:case 4:break l;case 1:case 2:case 3:break f;default:break m}}if((g|0)!=2){break f}}n:{o:{if(!e){break o}p:{q:{m=v[f+4>>2];r:{if(!m){h=85;break r}h=Mb(m,0);s:{t:{u:{if(h){break u}h=_e(m,f+144|0,128);if(h){break u}if(w[f+226|0]|(w[f+144|0]|w[f+218|0])){break t}e=w[f+145|0];if(!e|e>>>0>33|(w[f+207|0]|w[(e+f|0)+146|0])){break t}e=t[f+227|0];if((e|0)<0){break t}h=BJ(a,m,(w[f+230|0]|(w[f+228|0]<<16|(e&255)<<24|w[f+229|0]<<8))+255&-128,c,d)}if((h&255)!=2){break s}}h=BJ(a,m,0,c,d)}e=h&255;if((e|0)==85){break r}if((e|0)!=2){break q}}if(!(w[b|0]&4)){break q}p=v[a>>2];j=0;v[f+12>>2]=0;h=v[b+12>>2];k=f+96|0;q=Ma-16|0;Ma=q;g=f+144|0;v[g>>2]=0;v:{if(m){e=Mb(m,0);v[f+48>>2]=e;if(!e){v[g>>2]=0;y=f,z=Kq(m,333319,k),v[y+48>>2]=z}v[g+4>>2]=0;e=Mb(m,0);v[f+52>>2]=e;if(!e){v[g+4>>2]=0;y=f,z=Kq(m,333312,k+4|0),v[y+52>>2]=z}v[g+8>>2]=0;e=Mb(m,0);v[f+56>>2]=e;if(!e){y=f,z=sJ(a,m,h,g+8|0,k+8|0),v[y+56>>2]=z}v[g+12>>2]=0;e=Mb(m,0);v[f+60>>2]=e;if(!e){l=v[a>>2];e=zb(h);i=cc(l,e+18|0,q+12|0);r=v[q+12>>2];if(!r){l=cb(i,h,e);e=l+e|0;i=w[292284]|w[292285]<<8;t[e+16|0]=i;t[e+17|0]=i>>>8;i=w[292280]|w[292281]<<8|(w[292282]<<16|w[292283]<<24);n=w[292276]|w[292277]<<8|(w[292278]<<16|w[292279]<<24);t[e+8|0]=n;t[e+9|0]=n>>>8;t[e+10|0]=n>>>16;t[e+11|0]=n>>>24;t[e+12|0]=i;t[e+13|0]=i>>>8;t[e+14|0]=i>>>16;t[e+15|0]=i>>>24;i=w[292272]|w[292273]<<8|(w[292274]<<16|w[292275]<<24);n=w[292268]|w[292269]<<8|(w[292270]<<16|w[292271]<<24);t[e|0]=n;t[e+1|0]=n>>>8;t[e+2|0]=n>>>16;t[e+3|0]=n>>>24;t[e+4|0]=i;t[e+5|0]=i>>>8;t[e+6|0]=i>>>16;t[e+7|0]=i>>>24;v[g+12>>2]=l;v[k+12>>2]=0}v[f+60>>2]=r}v[g+16>>2]=0;e=Mb(m,0);v[f+64>>2]=e;if(!e){l=v[a>>2];e=zb(h);i=cc(l,e+6|0,q+12|0);n=v[q+12>>2];if(!n){r=cb(i,h,e);e=r+e|0;i=w[292284]|w[292285]<<8;t[e+4|0]=i;t[e+5|0]=i>>>8;i=w[292280]|w[292281]<<8|(w[292282]<<16|w[292283]<<24);t[e|0]=i;t[e+1|0]=i>>>8;t[e+2|0]=i>>>16;t[e+3|0]=i>>>24;v[g+16>>2]=r;v[k+16>>2]=0}v[f+64>>2]=n}v[g+20>>2]=0;e=Mb(m,0);v[f+68>>2]=e;if(!e){e=f;i=vn(v[a>>2],h,326226);if(i){v[g+20>>2]=i;v[k+20>>2]=0;l=0}else{l=64}v[e+68>>2]=l}v[g+24>>2]=0;e=Mb(m,0);v[f+72>>2]=e;if(!e){e=f;i=vn(v[a>>2],h,326254);if(i){v[g+24>>2]=i;v[k+24>>2]=0;l=0}else{l=64}v[e+72>>2]=l}v[g+28>>2]=0;e=Mb(m,0);v[f+76>>2]=e;if(!e){y=f,z=rJ(a,m,h,g+28|0,k+28|0),v[y+76>>2]=z}v[g+32>>2]=0;e=Mb(m,0);v[f+80>>2]=e;if(e){break v}y=f,z=qJ(a,m,h,g+32|0,k+32|0),v[y+80>>2]=z;break v}v[g>>2]=0;v[f+48>>2]=81;v[g+4>>2]=0;v[f+52>>2]=81;v[g+8>>2]=0;v[f+56>>2]=0;y=f,z=sJ(a,0,h,g+8|0,k+8|0),v[y+56>>2]=z;v[g+12>>2]=0;v[f+60>>2]=0;l=v[a>>2];e=zb(h);i=cc(l,e+18|0,q+12|0);r=v[q+12>>2];if(!r){l=cb(i,h,e);e=l+e|0;i=w[292284]|w[292285]<<8;t[e+16|0]=i;t[e+17|0]=i>>>8;i=w[292280]|w[292281]<<8|(w[292282]<<16|w[292283]<<24);n=w[292276]|w[292277]<<8|(w[292278]<<16|w[292279]<<24);t[e+8|0]=n;t[e+9|0]=n>>>8;t[e+10|0]=n>>>16;t[e+11|0]=n>>>24;t[e+12|0]=i;t[e+13|0]=i>>>8;t[e+14|0]=i>>>16;t[e+15|0]=i>>>24;i=w[292272]|w[292273]<<8|(w[292274]<<16|w[292275]<<24);n=w[292268]|w[292269]<<8|(w[292270]<<16|w[292271]<<24);t[e|0]=n;t[e+1|0]=n>>>8;t[e+2|0]=n>>>16;t[e+3|0]=n>>>24;t[e+4|0]=i;t[e+5|0]=i>>>8;t[e+6|0]=i>>>16;t[e+7|0]=i>>>24;v[g+12>>2]=l;v[k+12>>2]=0}v[f+60>>2]=r;v[g+16>>2]=0;v[f+64>>2]=0;l=v[a>>2];e=zb(h);i=cc(l,e+6|0,q+12|0);n=v[q+12>>2];if(!n){r=cb(i,h,e);e=r+e|0;i=w[292284]|w[292285]<<8;t[e+4|0]=i;t[e+5|0]=i>>>8;i=w[292280]|w[292281]<<8|(w[292282]<<16|w[292283]<<24);t[e|0]=i;t[e+1|0]=i>>>8;t[e+2|0]=i>>>16;t[e+3|0]=i>>>24;v[g+16>>2]=r;v[k+16>>2]=0}v[f+64>>2]=n;v[g+20>>2]=0;v[f+68>>2]=0;e=f;i=vn(v[a>>2],h,326226);if(i){v[g+20>>2]=i;v[k+20>>2]=0;l=0}else{l=64}v[e+68>>2]=l;v[g+24>>2]=0;v[f+72>>2]=0;e=f;i=vn(v[a>>2],h,326254);if(i){v[g+24>>2]=i;v[k+24>>2]=0;l=0}else{l=64}v[e+72>>2]=l;v[g+28>>2]=0;v[f+76>>2]=0;y=f,z=rJ(a,0,h,g+28|0,k+28|0),v[y+76>>2]=z;v[g+32>>2]=0;v[f+80>>2]=0;y=f,z=qJ(a,0,h,g+32|0,k+32|0),v[y+80>>2]=z}Ma=q+16|0;g=2;h=0;while(1){w:{e=h;if(e>>>0<=8){h=v[(e<<3)+423988>>2]-3>>>0<2}else{h=0}x:{if(j&255?h:0){break x}q=e<<2;if(v[q+(f+48|0)>>2]){break x}v[f+16>>2]=4;k=f;g=v[q+(f+144|0)>>2];if(!g){g=v[b+12>>2]}v[k+28>>2]=g;g=uw(a,f+16|0,f+12|0);j=h?(g&255)==81?1:j:j;if(g){break x}k=v[f+12>>2];g=BJ(a,k,v[q+(f+96|0)>>2],c,d);if(k){q=v[k+28>>2];y:{if(!k){break y}i=v[k+24>>2];if(!i){break y}Qa[i|0](k)}if(k){Qa[v[q+8>>2]](q,k)}}if(!g){g=0;break w}j=h?1:j}h=e+1|0;if((h|0)!=9){continue}}break}a=v[f+144>>2];if(a){if(a){Qa[v[p+8>>2]](p,a)}v[f+144>>2]=0}a=v[f+148>>2];if(a){if(a){Qa[v[p+8>>2]](p,a)}v[f+148>>2]=0}a=v[f+152>>2];if(a){if(a){Qa[v[p+8>>2]](p,a)}v[f+152>>2]=0}a=v[f+156>>2];if(a){if(a){Qa[v[p+8>>2]](p,a)}v[f+156>>2]=0}a=v[f+160>>2];if(a){if(a){Qa[v[p+8>>2]](p,a)}v[f+160>>2]=0}a=v[f+164>>2];if(a){if(a){Qa[v[p+8>>2]](p,a)}v[f+164>>2]=0}a=v[f+168>>2];if(a){if(a){Qa[v[p+8>>2]](p,a)}v[f+168>>2]=0}a=v[f+172>>2];if(a){if(a){Qa[v[p+8>>2]](p,a)}v[f+172>>2]=0}a=v[f+176>>2];if(a?a:0){Qa[v[p+8>>2]](p,a)}if(g){break n}v[f+8>>2]=0;break p}v[f+8>>2]=h;if(h){break o}}if(!m){break b}a=v[m+28>>2];z:{if(!m){break z}b=v[m+24>>2];if(!b){break z}Qa[b|0](m)}if(s){break b}if(m){Qa[v[a+8>>2]](a,m)}break b}if((h&255)!=2){break f}}v[f+8>>2]=2}a=v[f+4>>2];if(!a){break c}b=v[a+28>>2];A:{if(!a){break A}c=v[a+24>>2];if(!c){break A}Qa[c|0](a)}if(s){break c}if(a){Qa[v[b+8>>2]](b,a)}break c}An(g,s);h=0;break a}a=cc(x,12,f+8|0);B:{if(!v[f+8>>2]){j=v[f>>2];v[a+8>>2]=j;iB(v[j+96>>2]+16|0,a);if((c|0)>=0){a=DJ(j,0);v[f+8>>2]=a;if(a){break B}a=t0(j,f+144|0);v[f+8>>2]=a;if(a){break B}v[j+88>>2]=v[f+144>>2]}b=v[j+8>>2];C:{if(!(b&1)){break C}a=u[j+74>>1];if((a|0)<=-1){a=0-a|0;u[j+74>>1]=a}if(b&32){break C}u[j+78>>1]=a}D:{if(!(b&2)){break D}e=v[j+28>>2];if((e|0)<1){break D}o=v[j+32>>2];a=0;while(1){c=o+(a<<4)|0;b=u[c>>1];if((b|0)<=-1){b=0-b|0;u[c>>1]=b}g=v[c+8>>2];if((g|0)<=-1){v[c+8>>2]=0-g}g=v[c+12>>2];if((g|0)<=-1){v[c+12>>2]=0-g}if(b<<16>>16<=-1){v[c>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0}a=a+1|0;if((e|0)!=(a|0)){continue}break}}a=v[j+128>>2];v[a+64>>2]=1;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=65536;v[a>>2]=65536;v[a+4>>2]=0;t[a+56|0]=255;if(d){v[d>>2]=j;break b}Pq(j);break b}if(!a){break c}j=v[f>>2];if(!j){break b}}a=v[j+96>>2];if(!a){break b}c=v[j+128>>2];b=v[c+64>>2];v[c+64>>2]=b-1;if((b|0)>1){break b}b=v[a+8>>2];d=a+16|0;c=wn(d,j);if(!c){break b}jt(d,c);if(c){Qa[v[b+8>>2]](b,c)}lt(b,j,a);break b}a=v[f>>2];if(!a){break b}lt(x,a,o)}h=v[f+8>>2]}Ma=f+272|0;return h}function TGa(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,n=0,o=0,p=0,q=0,r=0,s=0,t=0;e=Ma-16|0;Ma=e;f=b+132|0;d=Mb(a,0);a:{if(d){break a}d=Dd(a,452832,f);if(d){break a}v[f+36>>2]=v[f+36>>2]+(v[f+72>>2]<<16);d=0}b:{if(d){break b}c:{if(!(v[b+132>>2]!=1346785840|y[b+136>>2]>4|y[b+144>>2]<58)){d=1;if(v[b+140>>2]==3338){break c}}d=0}if(!d){d=2;break b}g=Ma-16|0;Ma=g;i=v[b+152>>2];d=Mb(a,i);v[g+12>>2]=d;d:{e:{if(d){break e}f=Ac(a,g+12|0);d=v[g+12>>2];if(d){break e}f:{if(f>>>0>13106){break f}h=v[a+4>>2];if(B(f,5)+2>>>0>=h-i>>>0){break f}d=0;if(h>>>0>B(f,23)+95>>>0){break d}}d=8}f=0}v[e>>2]=f;Ma=g+16|0;if(d){break b}f=v[e>>2];v[b>>2]=f;d=0;if((c|0)<0){break b}d=6;r=c&65535;if((f|0)<=(r|0)){break b}j=v[b+204>>2]!=0;g=Ma-16|0;Ma=g;f=Mb(a,v[b+152>>2]);v[g+12>>2]=f;g:{if(f){break g}c=Ac(a,g+12|0);f=v[g+12>>2];if(f){break g}f=6;if(c>>>0<=r>>>0){break g}f=re(a,B(r,5));v[g+12>>2]=f;if(f){break g}i=Ac(a,g+12|0);f=v[g+12>>2];if(f){break g}c=0;f=Ma-16|0;Ma=f;v[g+12>>2]=0;h:{i:{j:{k:{d=v[a+8>>2];if(y[a+4>>2]<=d+2>>>0){break k}h=v[a+20>>2];l:{if(h){if((Qa[h|0](a,d,f+13|0,3)|0)!=3){break k}d=v[a+8>>2];c=f+13|0;break l}c=v[a>>2];if(!c){break j}c=c+d|0}c=w[c+2|0]|(w[c+1|0]<<8|w[c|0]<<16);break i}v[g+12>>2]=85;break h}c=0}v[a+8>>2]=d+3}Ma=f+16|0;f=v[g+12>>2];if(f){break g}v[b+244>>2]=c;v[b+240>>2]=i;f=Mb(a,c);v[g+12>>2]=f;if(f){break g}f=Ed(a,i);v[g+12>>2]=f;if(f){break g}m:{n:{if(i>>>0<13){break n}f=v[a+32>>2];h=f+i|0;v[b+248>>2]=w[f+2|0]|(w[f+1|0]<<8|w[f|0]<<16);v[b+252>>2]=w[f+5|0]|(w[f+4|0]<<8|w[f+3|0]<<16);v[b+256>>2]=w[f+8|0]|(w[f+7|0]<<8|w[f+6|0]<<16);v[b+260>>2]=w[f+11|0]|(w[f+10|0]<<8|w[f+9|0]<<16);c=0;q=h;d=f+13|0;l=d;i=w[f+12|0];k=i&4;if(k){c=i&8?2:1;c=i&3?c:c+3|0}m=i&32;if(q>>>0>31&(m?2:1))|0)>>>0){break n}l=i&16;o:{if(!k){break o}c=b;p:{if(i&8){d=f+15|0;f=w[f+13|0]|w[f+14|0]<<8;f=(f<<8|f>>>8)<<16>>16;break p}d=f+14|0;f=w[f+13|0]}v[c+268>>2]=f;if(i&3){break o}v[b+276>>2]=w[d+2|0]|(w[d+1|0]<<8|w[d|0]<<16);d=d+3|0}q:{if(!l){c=d;break q}r:{if(m){c=w[d|0]|w[d+1|0]<<8;f=(c<<8|c>>>8)<<16>>16;c=d+2|0;break r}f=w[d|0];c=d+1|0}v[b+272>>2]=f}s:{t:{if(!(i&64)){f=c;break t}f=c+1|0;if(h>>>0>>0){break s}c=w[c|0];if(c){while(1){d=f+2|0;if(d>>>0>h>>>0){break s}f=d+w[f|0]|0;if(h>>>0>>0){break s}c=c-1|0;if(c){continue}break}}v[g+12>>2]=0}if(h>>>0>>0){break n}c=w[f+1|0]|w[f|0]<<8;v[b+280>>2]=c;v[b+284>>2]=w[f+4|0]|(w[f+3|0]<<8|w[f+2|0]<<16);if(!j){break m}if(h>>>0>>0){break n}v[b+280>>2]=c|w[f+5|0]<<16;break m}v[g+12>>2]=8;break m}v[g+12>>2]=8}dd(a);f=v[g+12>>2]}Ma=g+16|0;d=f;if(f){break b}p=v[b+284>>2];f=v[b+280>>2];d=Ma-16|0;Ma=d;i=a;n=v[a+28>>2];h=b+288|0;v[h+140>>2]=h+136;v[h+136>>2]=0;v[h+4>>2]=p;v[h>>2]=n;c=Mb(a,p);u:{if(c){break u}c=Ed(i,f);v[d+12>>2]=c;if(c){break u}c=v[i+32>>2];v[h+148>>2]=c;v:{w:{x:{y:{if((f|0)<15){break y}v[h+8>>2]=w[c+1|0]|w[c|0]<<8;v[h+12>>2]=w[c+3|0]|w[c+2|0]<<8;v[h+16>>2]=w[c+5|0]|w[c+4|0]<<8;a=w[c+6|0]|w[c+7|0]<<8;v[h+20>>2]=(a<<8|a>>>8)<<16>>16;a=w[c+8|0]|w[c+9|0]<<8;v[h+24>>2]=(a<<8|a>>>8)<<16>>16;a=w[c+10|0]|w[c+11|0]<<8;v[h+28>>2]=(a<<8|a>>>8)<<16>>16;a=w[c+12|0]|w[c+13|0]<<8;v[h+32>>2]=(a<<8|a>>>8)<<16>>16;m=w[c+14|0];v[h+36>>2]=m;t=m&4;if(t){a=c+15|0}else{if((f|0)<17){break y}a=w[c+15|0]|w[c+16|0]<<8;v[h+40>>2]=(a<<8|a>>>8)<<16>>16;a=c+17|0}k=c+f|0;if(m&128){c=a+1|0;if(k>>>0>>0){break x}j=w[a|0];z:{if(!j){a=c;break z}while(1){f=c+2|0;if(f>>>0>k>>>0){break x}a=f+w[c|0]|0;if(k>>>0>>0){break x}c=w[c+1|0]-1|0;if((c&255)>>>0<=3){c=Qa[v[(c<<24>>24<<2)+452948>>2]](f,a,h)|0;if(c){break w}}c=a;j=j-1|0;if(j){continue}break}}v[d+12>>2]=0}f=a+3|0;if(k>>>0>>0){break y}j=w[a+2|0]|(w[a+1|0]<<8|w[a|0]<<16);if(j){a=f+j|0;if(a>>>0>k>>>0){break y}o=h+84|0;s=h+88|0;while(1){A:{c=f+4|0;if(c>>>0>a>>>0){break A}l=w[f+1|0]|w[f|0]<<8;if(l>>>0<4|j>>>0>>0){break A}q=d;B:{C:{D:{E:{F:{g=w[f+2|0]|w[f+3|0]<<8;switch(((g<<8|g>>>8)&65535)-1|0){case 2:break D;case 1:break E;case 0:break F;default:break B}}c=z_(c,l-4|0,n,o);break C}if(l>>>0<36){break B}c=w[f+14|0]|w[f+15|0]<<8;v[h+44>>2]=(c<<8|c>>>8)<<16>>16;c=w[f+16|0]|w[f+17|0]<<8;v[h+48>>2]=(c<<8|c>>>8)<<16>>16;c=w[f+18|0]|w[f+19|0]<<8;v[h+52>>2]=(c<<8|c>>>8)<<16>>16;break B}c=z_(c,l-4|0,n,s)}v[q+12>>2]=c;if(c){break u}}f=f+l|0;j=j-l|0;if(j){continue}}break}f=a}c=f+1|0;if(k>>>0>>0){break y}a=w[f|0];v[h+104>>2]=a;if(k>>>0<(a<<1)+c>>>0){break y}g=yb(n,4,0,a,0,d+12|0);v[h+108>>2]=g;if(v[d+12>>2]){break v}G:{if(!a){break G}l=a&1;H:{if((a|0)==1){f=0;break H}j=a&254;f=0;while(1){a=f<<2;o=w[c|0]|w[c+1|0]<<8;v[a+g>>2]=(o<<8|o>>>8)<<16>>16;q=g+(a|4)|0;a=w[c+2|0]|w[c+3|0]<<8;v[q>>2]=(a<<8|a>>>8)<<16>>16;f=f+2|0;c=c+4|0;j=j-2|0;if(j){continue}break}}if(!l){break G}a=w[c|0]|w[c+1|0]<<8;v[g+(f<<2)>>2]=(a<<8|a>>>8)<<16>>16;c=c+2|0}f=c+8|0;if(k>>>0>>0){break y}v[h+112>>2]=w[c|0];v[h+116>>2]=w[c+1|0];v[h+68>>2]=w[c+3|0]|w[c+2|0]<<8;v[h+56>>2]=w[c+5|0]|w[c+4|0]<<8;l=w[c+7|0]|w[c+6|0]<<8;v[h+120>>2]=l;v[h+124>>2]=(f+p|0)-v[i+32>>2];o=m>>>3&1;p=m&2;s=m&16;m=m&32;if(k>>>0>>1|(p?5:4))+(s>>>4)+(m>>>5)|0)+f>>>0){break y}a=0;n=yb(n,16,0,l,0,d+12|0);v[h+128>>2]=n;if(v[d+12>>2]|!l){break v}while(1){I:{if(p){j=w[f+1|0]|w[f|0]<<8;f=f+2|0;break I}j=w[f|0];f=f+1|0}k=n+(a<<4)|0;v[k>>2]=j;J:{if(t){c=w[f|0]|w[f+1|0]<<8;j=(c<<8|c>>>8)<<16>>16;f=f+2|0;break J}j=v[h+40>>2]}v[k+4>>2]=j;c=f+o|0;K:{if(s){j=w[c+1|0]|w[c|0]<<8;g=c+2|0;break K}j=w[c|0];g=c+1|0}v[k+8>>2]=j;L:{if(m){j=w[g+1|0]<<8|w[g|0]<<16;f=g+3|0;c=2;break L}j=w[g|0]<<8;f=g+2|0;c=1}v[k+12>>2]=w[c+g|0]|j;a=a+1|0;if((l|0)!=(a|0)){continue}break}break v}v[d+12>>2]=8;break v}c=8}v[d+12>>2]=c}dd(i);a=v[i+8>>2];v[h+148>>2]=0;v[h+144>>2]=a;c=v[d+12>>2]}Ma=d+16|0;d=c;v[e+12>>2]=c;if(c){break b}v[b+4>>2]=r;a=v[b+408>>2];v[b+16>>2]=a+1;c=v[b+8>>2]|1;v[b+8>>2]=c;M:{N:{O:{if(!a){d=0;break O}f=v[b+416>>2];d=0;while(1){if(v[(f+(d<<4)|0)+12>>2]){break O}d=d+1|0;if((a|0)!=(d|0)){continue}break}break N}if((a|0)!=(d|0)){break M}}c=0;if(v[b+380>>2]){break M}d=3;break b}a=v[b+324>>2];d=(a^-1)&4|c|(a&1?32:16);v[b+8>>2]=d;f=v[b+380>>2];if(f){d=d|2;v[b+8>>2]=d}if(v[b+420>>2]){v[b+8>>2]=d|64}c=v[b+372>>2];v[b+20>>2]=c;if(!c){v[b+20>>2]=v[b+368>>2]}v[b+28>>2]=0;v[b+32>>2]=0;v[b+24>>2]=v[b+376>>2];c=v[b+316>>2];d=v[b+320>>2];g=v[b+312>>2];i=v[b+308>>2];h=v[b+300>>2];u[b+68>>1]=h;j=v[b+320>>2];u[b+70>>1]=j;k=v[b+312>>2];u[b+72>>1]=k;v[b+52>>2]=i;v[b+56>>2]=g;v[b+60>>2]=c;v[b+64>>2]=d;c=(j<<16>>16)-(k<<16>>16)|0;d=(B(h&65535,12)>>>0)/10|0;u[b+74>>1]=(c|0)>d<<16>>16?c:d;if(f){a=yb(v[v[b+104>>2]+28>>2],16,0,f,0,e+12|0);v[b+32>>2]=a;d=v[e+12>>2];if(d){break b}d=v[b+388>>2];if((f|0)!=1){c=f&-2;while(1){i=v[d+4>>2];u[a>>1]=i;g=v[d>>2];i=i<<6;v[a+12>>2]=i;v[a+4>>2]=i;u[a+2>>1]=g;v[a+8>>2]=g<<6;i=v[d+40>>2];u[a+16>>1]=i;g=v[d+36>>2];i=i<<6;v[a+28>>2]=i;v[a+20>>2]=i;u[a+18>>1]=g;v[a+24>>2]=g<<6;d=d+72|0;a=a+32|0;c=c-2|0;if(c){continue}break}}if(f&1){g=v[d+4>>2];u[a>>1]=g;c=v[d>>2];d=g<<6;v[a+12>>2]=d;v[a+4>>2]=d;u[a+2>>1]=c;v[a+8>>2]=c<<6}v[b+28>>2]=f;a=v[b+324>>2]}P:{if(!(a&4)){a=v[b+328>>2];break P}a=v[b+408>>2];if(!a){a=0;break P}f=a&3;d=v[b+416>>2];Q:{if(a-1>>>0<3){a=0;break Q}c=a&-4;a=0;while(1){g=v[d+52>>2];i=v[d+36>>2];h=v[d+20>>2];j=v[d+4>>2];a=(a|0)<(j|0)?j:a;a=(a|0)<(h|0)?h:a;a=(a|0)<(i|0)?i:a;a=(a|0)<(g|0)?g:a;d=d- -64|0;c=c-4|0;if(c){continue}break}}if(!f){break P}while(1){c=v[d+4>>2];a=(a|0)<(c|0)?c:a;d=d+16|0;f=f-1|0;if(f){continue}break}}u[b+76>>1]=a;u[b+78>>1]=x[b+74>>1];a=x[b+68>>1];u[b+82>>1]=(a>>>0)/30;u[b+80>>1]=0-((a>>>0)/10|0);v[e>>2]=b;v[e+4>>2]=1970170211;v[e+8>>2]=65539;d=gk(452964,0,e,0);if(!v[b+420>>2]){break b}v[b+8>>2]=v[b+8>>2]|64}Ma=e+16|0;return d|0}function m0(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0;o=Ma-1408|0;Ma=o;e=d<<3;q=e&-32|4;f=c<<2;r=f&-32|2;g=b<<3;s=g&-32|4;D=v[v[a+480>>2]+24>>2];j=v[a+132>>2];a:{if((j|0)<1){j=0;break a}m=e|28;y=m+q>>1;n=f|30;x=n+r>>1;p=g|28;z=p+s>>1;e=v[a+136>>2];h=v[e+8>>2];A=v[e+4>>2];C=v[e>>2];f=0;l=2147483647;while(1){e=w[f+C|0];b:{if((e|0)<(s|0)){g=e-p<<1;g=B(g,g);e=e-s<<1;e=B(e,e);break b}if((e|0)>(p|0)){g=e-s<<1;g=B(g,g);e=e-p<<1;e=B(e,e);break b}c:{if((e|0)<=(z|0)){e=e-p<<1;g=B(e,e);break c}e=e-s<<1;g=B(e,e)}e=0}i=w[f+A|0];d:{if((i|0)<(r|0)){k=e;e=B(i-r|0,3);e=k+B(e,e)|0;i=B(i-n|0,3);k=B(i,i);break d}if((i|0)>(n|0)){k=e;e=B(i-n|0,3);e=k+B(e,e)|0;i=B(i-r|0,3);k=B(i,i);break d}if((i|0)<=(x|0)){i=B(i-n|0,3);k=B(i,i);break d}i=B(i-r|0,3);k=B(i,i)}i=k+g|0;g=w[f+h|0];e:{if((g|0)<(q|0)){k=e;e=g-q|0;e=k+B(e,e)|0;g=g-m|0;g=B(g,g);break e}if((g|0)>(m|0)){k=e;e=g-m|0;e=k+B(e,e)|0;g=g-q|0;g=B(g,g);break e}if((g|0)<=(y|0)){g=g-m|0;g=B(g,g);break e}g=g-q|0;g=B(g,g)}v[(o+384|0)+(f<<2)>>2]=e;e=g+i|0;l=(e|0)<(l|0)?e:l;f=f+1|0;if((j|0)!=(f|0)){continue}break}g=j&1;f:{if((j|0)==1){j=0;f=0;break f}e=j&-2;j=0;f=0;while(1){if(v[(o+384|0)+(f<<2)>>2]<=(l|0)){t[(o+128|0)+j|0]=f;j=j+1|0}i=f|1;if(v[(o+384|0)+(i<<2)>>2]<=(l|0)){t[(o+128|0)+j|0]=i;j=j+1|0}f=f+2|0;e=e-2|0;if(e){continue}break}}if(!g|v[(o+384|0)+(f<<2)>>2]>(l|0)){break a}t[(o+128|0)+j|0]=f;j=j+1|0}e=o;v[e+888>>2]=2147483647;v[e+892>>2]=2147483647;v[e+880>>2]=2147483647;v[e+884>>2]=2147483647;v[e+872>>2]=2147483647;v[e+876>>2]=2147483647;v[e+864>>2]=2147483647;v[e+868>>2]=2147483647;v[e+856>>2]=2147483647;v[e+860>>2]=2147483647;v[e+848>>2]=2147483647;v[e+852>>2]=2147483647;v[e+840>>2]=2147483647;v[e+844>>2]=2147483647;v[e+832>>2]=2147483647;v[e+836>>2]=2147483647;v[e+824>>2]=2147483647;v[e+828>>2]=2147483647;v[e+816>>2]=2147483647;v[e+820>>2]=2147483647;v[e+808>>2]=2147483647;v[e+812>>2]=2147483647;v[e+800>>2]=2147483647;v[e+804>>2]=2147483647;v[e+792>>2]=2147483647;v[e+796>>2]=2147483647;v[e+784>>2]=2147483647;v[e+788>>2]=2147483647;v[e+776>>2]=2147483647;v[e+780>>2]=2147483647;v[e+768>>2]=2147483647;v[e+772>>2]=2147483647;v[e+760>>2]=2147483647;v[e+764>>2]=2147483647;v[e+752>>2]=2147483647;v[e+756>>2]=2147483647;v[e+744>>2]=2147483647;v[e+748>>2]=2147483647;v[e+736>>2]=2147483647;v[e+740>>2]=2147483647;v[e+728>>2]=2147483647;v[e+732>>2]=2147483647;v[e+720>>2]=2147483647;v[e+724>>2]=2147483647;v[e+712>>2]=2147483647;v[e+716>>2]=2147483647;v[e+704>>2]=2147483647;v[e+708>>2]=2147483647;v[e+696>>2]=2147483647;v[e+700>>2]=2147483647;v[e+688>>2]=2147483647;v[e+692>>2]=2147483647;v[e+680>>2]=2147483647;v[e+684>>2]=2147483647;v[e+672>>2]=2147483647;v[e+676>>2]=2147483647;v[e+664>>2]=2147483647;v[e+668>>2]=2147483647;v[e+656>>2]=2147483647;v[e+660>>2]=2147483647;v[e+648>>2]=2147483647;v[e+652>>2]=2147483647;v[e+640>>2]=2147483647;v[e+644>>2]=2147483647;v[e+632>>2]=2147483647;v[e+636>>2]=2147483647;v[e+624>>2]=2147483647;v[e+628>>2]=2147483647;v[e+616>>2]=2147483647;v[e+620>>2]=2147483647;v[e+608>>2]=2147483647;v[e+612>>2]=2147483647;v[e+600>>2]=2147483647;v[e+604>>2]=2147483647;v[e+592>>2]=2147483647;v[e+596>>2]=2147483647;v[e+584>>2]=2147483647;v[e+588>>2]=2147483647;v[e+576>>2]=2147483647;v[e+580>>2]=2147483647;v[e+568>>2]=2147483647;v[e+572>>2]=2147483647;v[e+560>>2]=2147483647;v[e+564>>2]=2147483647;v[e+552>>2]=2147483647;v[e+556>>2]=2147483647;v[e+544>>2]=2147483647;v[e+548>>2]=2147483647;v[e+536>>2]=2147483647;v[e+540>>2]=2147483647;v[e+528>>2]=2147483647;v[e+532>>2]=2147483647;v[e+520>>2]=2147483647;v[e+524>>2]=2147483647;v[e+512>>2]=2147483647;v[e+516>>2]=2147483647;v[e+504>>2]=2147483647;v[e+508>>2]=2147483647;v[e+496>>2]=2147483647;v[e+500>>2]=2147483647;v[e+488>>2]=2147483647;v[e+492>>2]=2147483647;v[e+480>>2]=2147483647;v[e+484>>2]=2147483647;v[e+472>>2]=2147483647;v[e+476>>2]=2147483647;v[e+464>>2]=2147483647;v[e+468>>2]=2147483647;v[e+456>>2]=2147483647;v[e+460>>2]=2147483647;v[e+448>>2]=2147483647;v[e+452>>2]=2147483647;v[e+440>>2]=2147483647;v[e+444>>2]=2147483647;v[e+432>>2]=2147483647;v[e+436>>2]=2147483647;v[e+424>>2]=2147483647;v[e+428>>2]=2147483647;v[e+416>>2]=2147483647;v[e+420>>2]=2147483647;v[e+408>>2]=2147483647;v[e+412>>2]=2147483647;v[e+400>>2]=2147483647;v[e+404>>2]=2147483647;v[e+392>>2]=2147483647;v[e+396>>2]=2147483647;v[e+384>>2]=2147483647;v[e+388>>2]=2147483647;if((j|0)>=1){y=v[a+136>>2];x=0;while(1){a=3;i=w[(o+128|0)+x|0];e=r-w[i+v[y+4>>2]|0]|0;f=B(e,3);k=B(f,f);g=s-w[i+v[y>>2]|0]|0;f=g<<1;k=k+B(f,f)|0;f=q-w[i+v[y+8>>2]|0]|0;p=k+B(f,f)|0;e=B(e,72);A=e+1872|0;C=e+1584|0;E=e+1296|0;F=e+1008|0;G=e+720|0;H=e+432|0;f=f<<4;l=f+320|0;m=f+192|0;n=f- -64|0;k=e+144|0;z=(g<<6)+256|0;e=o;f=e+384|0;while(1){if(v[f>>2]>(p|0)){v[f>>2]=p;t[e|0]=i}g=n+p|0;if((g|0)>2]){v[f+4>>2]=g;t[e+1|0]=i}g=g+m|0;if((g|0)>2]){v[f+8>>2]=g;t[e+2|0]=i}g=g+l|0;if((g|0)>2]){v[f+12>>2]=g;t[e+3|0]=i}g=p+k|0;if((g|0)>2]){v[f+16>>2]=g;t[e+4|0]=i}h=g+n|0;if((h|0)>2]){v[f+20>>2]=h;t[e+5|0]=i}h=h+m|0;if((h|0)>2]){v[f+24>>2]=h;t[e+6|0]=i}h=h+l|0;if((h|0)>2]){v[f+28>>2]=h;t[e+7|0]=i}g=g+H|0;if((g|0)>2]){v[f+32>>2]=g;t[e+8|0]=i}h=g+n|0;if((h|0)>2]){v[f+36>>2]=h;t[e+9|0]=i}h=h+m|0;if((h|0)>2]){v[f+40>>2]=h;t[e+10|0]=i}h=h+l|0;if((h|0)>2]){v[f+44>>2]=h;t[e+11|0]=i}g=g+G|0;if((g|0)>2]){v[f+48>>2]=g;t[e+12|0]=i}h=g+n|0;if((h|0)>2]){v[f+52>>2]=h;t[e+13|0]=i}h=h+m|0;if((h|0)>2]){v[f+56>>2]=h;t[e+14|0]=i}h=h+l|0;if((h|0)>2]){v[f+60>>2]=h;t[e+15|0]=i}g=g+F|0;if((g|0)>2]){v[f+64>>2]=g;t[e+16|0]=i}h=g+n|0;if((h|0)>2]){v[f+68>>2]=h;t[e+17|0]=i}h=h+m|0;if((h|0)>2]){v[f+72>>2]=h;t[e+18|0]=i}h=h+l|0;if((h|0)>2]){v[f+76>>2]=h;t[e+19|0]=i}g=g+E|0;if((g|0)>2]){v[f+80>>2]=g;t[e+20|0]=i}h=g+n|0;if((h|0)>2]){v[f+84>>2]=h;t[e+21|0]=i}h=h+m|0;if((h|0)>2]){v[f+88>>2]=h;t[e+22|0]=i}h=h+l|0;if((h|0)>2]){v[f+92>>2]=h;t[e+23|0]=i}g=g+C|0;if((g|0)>2]){v[f+96>>2]=g;t[e+24|0]=i}h=g+n|0;if((h|0)>2]){v[f+100>>2]=h;t[e+25|0]=i}h=h+m|0;if((h|0)>2]){v[f+104>>2]=h;t[e+26|0]=i}h=h+l|0;if((h|0)>2]){v[f+108>>2]=h;t[e+27|0]=i}g=g+A|0;if((g|0)>2]){v[f+112>>2]=g;t[e+28|0]=i}g=g+n|0;if((g|0)>2]){v[f+116>>2]=g;t[e+29|0]=i}g=g+m|0;if((g|0)>2]){v[f+120>>2]=g;t[e+30|0]=i}g=g+l|0;if((g|0)>2]){v[f+124>>2]=g;t[e+31|0]=i}g=a;a=g-1|0;p=p+z|0;e=e+32|0;f=f+128|0;z=z+512|0;if(g){continue}break}x=x+1|0;if((x|0)!=(j|0)){continue}break}}e=b&-4;g=0;f=o;a=(d&-4)<<1;d=c&-8;i=(d|1)<<6;j=(d|2)<<6;l=(d|3)<<6;m=(d|4)<<6;n=(d|5)<<6;q=(d|6)<<6;r=(c|7)<<6;while(1){b=v[(e+g<<2)+D>>2];c=a+(b+(d<<6)|0)|0;u[c>>1]=w[f|0]+1;u[c+2>>1]=w[f+1|0]+1;u[c+4>>1]=w[f+2|0]+1;u[c+6>>1]=w[f+3|0]+1;c=a+(b+i|0)|0;u[c>>1]=w[f+4|0]+1;u[c+2>>1]=w[f+5|0]+1;u[c+4>>1]=w[f+6|0]+1;u[c+6>>1]=w[f+7|0]+1;c=a+(b+j|0)|0;u[c>>1]=w[f+8|0]+1;u[c+2>>1]=w[f+9|0]+1;u[c+4>>1]=w[f+10|0]+1;u[c+6>>1]=w[f+11|0]+1;c=a+(b+l|0)|0;u[c>>1]=w[f+12|0]+1;u[c+2>>1]=w[f+13|0]+1;u[c+4>>1]=w[f+14|0]+1;u[c+6>>1]=w[f+15|0]+1;c=a+(b+m|0)|0;u[c>>1]=w[f+16|0]+1;u[c+2>>1]=w[f+17|0]+1;u[c+4>>1]=w[f+18|0]+1;u[c+6>>1]=w[f+19|0]+1;c=a+(b+n|0)|0;u[c>>1]=w[f+20|0]+1;u[c+2>>1]=w[f+21|0]+1;u[c+4>>1]=w[f+22|0]+1;u[c+6>>1]=w[f+23|0]+1;c=a+(b+q|0)|0;u[c>>1]=w[f+24|0]+1;u[c+2>>1]=w[f+25|0]+1;u[c+4>>1]=w[f+26|0]+1;u[c+6>>1]=w[f+27|0]+1;b=a+(b+r|0)|0;u[b>>1]=w[f+28|0]+1;u[b+2>>1]=w[f+29|0]+1;u[b+4>>1]=w[f+30|0]+1;u[b+6>>1]=w[f+31|0]+1;f=f+32|0;g=g+1|0;if((g|0)!=4){continue}break}Ma=o+1408|0}function iWa(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,n=0,o=0,p=0,q=0,r=0,s=0,x=0,z=0;n=Ma-16|0;Ma=n;v[n+12>>2]=0;a:{if(!(w[a+289|0]|w[a+288|0])){b=1029;ob(a,1029,0,0);break a}if(w[a+290|0]){b=1029;ob(a,1029,0,0);break a}if(w[a+341|0]!=8){b=1029;ob(a,1029,0,0);break a}if(!c){b=1028;ob(a,1028,0,0);break a}t[a+291|0]=1;p=c;r=d;i=a;b:{if(!w[i+2539|0]){f=v[i+1012>>2];if(f){f=Qa[f|0](i)|0;v[i+1012>>2]=0;if(f){break b}}j=gb(40);v[j>>2]=0;f=v[i+2468>>2];v[296803]=0;k=cp(f);h=v[296803];v[296803]=0;g=-1;o=4;c:{d:{e:{if(!h){break e}f=v[296804];if(!f){break e}g=pb(v[h>>2],j,4);if(!g){break d}Q(f|0)}h=P()|0;if((g|0)!=1){v[v[i+2464>>2]>>2]=k;f=v[i+2468>>2];v[f+8>>2]=756;v[f>>2]=757;j=be(i+2568|0,1,j,4);o=P()|0;h=0;k=i+2464|0}while(1){if(h){v[296803]=0;V(755,i|0,6,h|0,0)|0;h=v[296803];v[296803]=0;g=-1;f:{if(!h){break f}f=v[296804];if(!f){break f}g=pb(v[h>>2],j,o);if(!g){break d}Q(f|0)}h=P()|0;if((g|0)==1){continue}$a(j);f=6;break c}f=v[k>>2];v[296803]=0;X(16,f|0,80,488);h=v[296803];v[296803]=0;g=-1;g:{if(!h){break g}f=v[296804];if(!f){break g}g=pb(v[h>>2],j,o);if(!g){break d}Q(f|0)}h=P()|0;if((g|0)==1){continue}break}t[i+2539|0]=1;f=v[i+2472>>2];v[v[k>>2]+24>>2]=f;v[f+24>>2]=758;v[f+16>>2]=766;v[f+12>>2]=760;v[f+8>>2]=761;v[f+20>>2]=8;v[f>>2]=v[i+2504>>2];v[f+4>>2]=v[i+2508>>2];$a(j);f=0;break c}$a(j);tc(h,f);L()}if(f){break b}}f=0;q=Ma-16|0;Ma=q;k=gb(40);v[k>>2]=0;h=i;l=be(h+2568|0,1,k,4);m=P()|0;h:{i:{j:{k:while(1){if(f){v[296803]=0;V(755,h|0,6,f|0,0)|0;f=v[296803];v[296803]=0;g=-1;l:{if(!f){break l}j=v[296804];if(!j){break l}g=pb(v[f>>2],l,m);if(!g){break i}Q(j|0)}f=P()|0;if((g|0)==1){continue}i=6;break j}k=p;o=r;f=v[h+2512>>2];if(f){v[h+2504>>2]=v[h+2496>>2];k=f-p|0;v[h+2512>>2]=f>>>0>>0?0:k;o=(f>>>0

>>0?f:0)+r|0;f=p-f|0;k=f>>>0>p>>>0?0:f}if(k){while(1){f=v[h+2496>>2];i=v[h+2504>>2];m:{if(f>>>0>=i>>>0){f=i;break m}g=v[h+2508>>2];if(y[h+2500>>2]>=g+((i+k|0)-f|0)>>>0){f=i;break m}if(g){cb(f,i,g);f=v[h+2496>>2]}v[h+2504>>2]=f}g=v[h+2500>>2];i=v[h+2508>>2];n:{if(g>>>0>=i+k>>>0){cb(f+i|0,o,k);i=v[h+2508>>2]+k|0;v[h+2508>>2]=i;k=0;break n}g=g-i|0;if(!g){v[296803]=0;V(755,h|0,13,0,0)|0;f=v[296803];v[296803]=0;g=-1;o:{if(!f){break o}j=v[296804];if(!j){break o}g=pb(v[f>>2],l,m);if(!g){break i}Q(j|0)}f=P()|0;if((g|0)==1){continue k}i=13;break j}cb(f+i|0,o,g);i=g+v[h+2508>>2]|0;v[h+2508>>2]=i;o=g+o|0;k=k-g|0}g=v[h+2504>>2];f=v[h+2464>>2];j=v[f+24>>2];v[j+4>>2]=i;v[j>>2]=g;p:{if(!w[h+2540|0]){v[296803]=0;i=Y(17,f|0,1)|0;f=v[296803];v[296803]=0;g=-1;q:{if(!f){break q}j=v[296804];if(!j){break q}g=pb(v[f>>2],l,m);if(!g){break i}Q(j|0)}f=P()|0;if((g|0)==1){continue k}if(i){t[h+2540|0]=1;f=v[h+2464>>2];if(!(v[f+28>>2]==v[h+316>>2]&v[f+32>>2]==v[h+320>>2])){v[296803]=0;V(755,h|0,1056,0,0)|0;f=v[296803];v[296803]=0;g=-1;r:{if(!f){break r}j=v[296804];if(!j){break r}g=pb(v[f>>2],l,m);if(!g){break i}Q(j|0)}f=P()|0;if((g|0)==1){continue k}i=1056;break j}if(v[f+40>>2]!=1){v[296803]=0;V(755,h|0,1056,0,0)|0;f=v[296803];v[296803]=0;g=-1;s:{if(!f){break s}j=v[296804];if(!j){break s}g=pb(v[f>>2],l,m);if(!g){break i}Q(j|0)}f=P()|0;if((g|0)==1){continue k}i=1056;break j}v[296803]=0;g=T(762,f|0)|0;f=v[296803];v[296803]=0;i=-1;t:{if(!f){break t}j=v[296804];if(!j){break t}i=pb(v[f>>2],l,m);if(!i){break i}Q(j|0)}f=P()|0;if((i|0)==1){continue k}t[h+2543|0]=g;if(g&255){v[296803]=0;V(755,h|0,1056,0,0)|0;f=v[296803];v[296803]=0;g=-1;u:{if(!f){break u}j=v[296804];if(!j){break u}g=pb(v[f>>2],l,m);if(!g){break i}Q(j|0)}f=P()|0;if((g|0)==1){continue k}i=1056;break j}f=v[h+2464>>2];i=v[f+28>>2];f=v[f+40>>2]==3?B(i,3):i;v[h+2528>>2]=f;i=v[h+152>>2];v[296803]=0;g=T(i|0,f|0)|0;f=v[296803];v[296803]=0;i=-1;v:{if(!f){break v}j=v[296804];if(!j){break v}i=pb(v[f>>2],l,m);if(!i){break i}Q(j|0)}f=P()|0;if((i|0)==1){continue k}v[h+2524>>2]=g;if(!g){v[296803]=0;V(755,h|0,1,0,0)|0;f=v[296803];v[296803]=0;g=-1;w:{if(!f){break w}j=v[296804];if(!j){break w}g=pb(v[f>>2],l,m);if(!g){break i}Q(j|0)}f=P()|0;if((g|0)==1){continue k}i=1;break j}v[h+2556>>2]=0}f=v[h+2464>>2];i=v[f+24>>2];v[h+2504>>2]=v[i>>2];v[h+2508>>2]=v[i+4>>2];if(!w[h+2540|0]){break p}}if(!w[h+2541|0]){if(w[h+2543|0]){v[f+64>>2]=1}v[296803]=0;i=T(22,f|0)|0;f=v[296803];v[296803]=0;g=-1;x:{if(!f){break x}j=v[296804];if(!j){break x}g=pb(v[f>>2],l,m);if(!g){break i}Q(j|0)}f=P()|0;if((g|0)==1){continue k}if((i|0)==1){t[h+2541|0]=1}f=v[h+2464>>2];i=v[f+24>>2];v[h+2504>>2]=v[i>>2];v[h+2508>>2]=v[i+4>>2];if(!w[h+2540|0]|!w[h+2541|0]){break p}}v[296803]=0;i=T(763,f|0)|0;f=v[296803];v[296803]=0;g=-1;y:{if(!f){break y}j=v[296804];if(!j){break y}g=pb(v[f>>2],l,m);if(!g){break i}Q(j|0)}f=P()|0;if((g|0)==1){continue k}z:{if(i){f=v[h+2464>>2];if(y[f+140>>2]>=y[f+116>>2]){break z}}while(1){v[q+12>>2]=v[h+2524>>2];A:{if(!w[h+2543|0]){break A}f=v[h+2464>>2];if(y[f+140>>2]>2]?w[h+2542|0]:0){break A}t[h+2542|0]=1;i=v[f+144>>2];v[296803]=0;Y(764,f|0,i|0)|0;f=v[296803];v[296803]=0;g=-1;B:{if(!f){break B}j=v[296804];if(!j){break B}g=pb(v[f>>2],l,m);if(!g){break i}Q(j|0)}f=P()|0;if((g|0)==1){continue k}v[h+2552>>2]=0}f=v[h+2464>>2];C:{while(1){v[296803]=0;i=W(32,f|0,q+12|0,1)|0;f=v[296803];v[296803]=0;g=-1;D:{if(!f){break D}j=v[296804];if(!j){break D}g=pb(v[f>>2],l,m);if(!g){break i}Q(j|0)}f=P()|0;if((g|0)==1){continue k}f=v[h+2464>>2];g=v[f+24>>2];v[h+2504>>2]=v[g>>2];v[h+2508>>2]=v[g+4>>2];s=(i|0)>0;i=y[f+140>>2]>2];if(!s){break C}i=v[h+2548>>2];if(i){v[296803]=0;i=T(i|0,h|0)|0;f=v[296803];v[296803]=0;g=-1;E:{if(!f){break E}j=v[296804];if(!j){break E}g=pb(v[f>>2],l,m);if(!g){break i}Q(j|0)}f=P()|0;if((g|0)==1){continue k}if(i){break j}f=v[h+2464>>2]}if(y[f+140>>2]>2]){continue}break}i=0}if(!(i|!w[h+2543|0])){v[296803]=0;i=T(765,f|0)|0;f=v[296803];v[296803]=0;g=-1;F:{if(!f){break F}j=v[296804];if(!j){break F}g=pb(v[f>>2],l,m);if(!g){break i}Q(j|0)}f=P()|0;if((g|0)==1){continue k}if(!i){f=v[h+2464>>2];v[296803]=0;T(765,f|0)|0;f=v[296803];v[296803]=0;g=-1;G:{if(!f){break G}j=v[296804];if(!j){break G}g=pb(v[f>>2],l,m);if(!g){break i}Q(j|0)}f=P()|0;if((g|0)==1){continue k}}t[h+2542|0]=0;f=v[h+2464>>2]}v[296803]=0;i=T(763,f|0)|0;f=v[296803];v[296803]=0;g=-1;H:{if(!f){break H}j=v[296804];if(!j){break H}g=pb(v[f>>2],l,m);if(!g){break i}Q(j|0)}f=P()|0;if((g|0)==1){continue k}if(i){break z}if(s){continue}break}}if(!w[h+2540|0]|!w[h+2541|0]){break p}f=v[h+2464>>2];v[296803]=0;i=T(763,f|0)|0;f=v[296803];v[296803]=0;g=-1;I:{if(!f){break I}j=v[296804];if(!j){break I}g=pb(v[f>>2],l,m);if(!g){break i}Q(j|0)}f=P()|0;if((g|0)==1){continue k}if(!i){break p}f=v[h+2464>>2];if(v[f+144>>2]!=v[f+152>>2]){break p}v[296803]=0;i=T(33,f|0)|0;f=v[296803];v[296803]=0;g=-1;J:{if(!f){break J}j=v[296804];if(!j){break J}g=pb(v[f>>2],l,m);if(!g){break i}Q(j|0)}f=P()|0;if((g|0)==1){continue k}if((i|0)!=1){break p}i=0;u[h+2540>>1]=0;f=v[v[h+2464>>2]+24>>2];v[h+2504>>2]=v[f>>2];f=v[f+4>>2];v[h+2508>>2]=f;if(!(f|k)){break j}v[296803]=0;V(755,h|0,1055,0,0)|0;f=v[296803];v[296803]=0;g=-1;K:{if(!f){break K}j=v[296804];if(!j){break K}g=pb(v[f>>2],l,m);if(!g){break i}Q(j|0)}f=P()|0;if((g|0)==1){continue k}i=1055;break j}if(k){continue}break}}break}i=0}$a(l);Ma=q+16|0;f=i;break h}$a(l);tc(f,j);L()}}v[n+12>>2]=f;if(v[n+12>>2]){b=v[n+12>>2];break a}if(!w[a+112|0]){b=0;break a}x=n,z=Qa[v[b+4>>2]](a,b,e)|0,v[x+12>>2]=z;if(v[n+12>>2]){b=v[n+12>>2];break a}f=v[e>>2];v[f+36>>2]=c;b=0;t[f+32|0]=0;f=Qa[v[a+152>>2]](c)|0;v[v[e>>2]+40>>2]=f;e=v[v[e>>2]+40>>2];if(!e){b=1;ob(a,1,0,0);break a}cb(e,d,c)}Ma=n+16|0;return b|0}function Bg(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;n=Ma-16|0;Ma=n;v[n>>2]=13;j=v[a+48>>2];if((j|0)==2){j=a+16|0;bb(j);k=a+32|0;bb(k);dj(v[a+4>>2],j);dj(v[a+4>>2],k);v[a+48>>2]=0;j=0}a:{b:{c:{if(!(!c&(i|0)<500)){c=v[a+16>>2];break c}c=v[a+16>>2];if((c|0)!=10){break c}k=a+16|0;c=v[a+24>>2];if(!hb(c,308358)){c=a;d:{if((j|0)>=1){l=((j|0)==1)<<1}else{if(v[a+32>>2]!=10){break d}if(hb(v[a+40>>2],312300)){break d}ri(v[a+4>>2]);l=1}v[c+48>>2]=l}bb(k);c=v[a+44>>2];v[k+8>>2]=v[a+40>>2];v[k+12>>2]=c;c=v[a+36>>2];v[k>>2]=v[a+32>>2];v[k+4>>2]=c;j=a+32|0;e:{if(v[a+48>>2]>=1){v[j>>2]=5;break e}dj(v[a+4>>2],j)}rs(b,v[a>>2]);c=i+1|0;f:{while(1){g:{switch(v[k>>2]-10|0){case 0:if(!hb(v[a+24>>2],308330)){break f}default:i=Bg(a,n,0,d,e,f,g,h,c);og(v[b+8>>2],i);continue;case 2:break g}}break}c=v[a+4>>2];if(v[c+8>>2]!=13){c=v[c+16>>2];c=Qa[v[v[c>>2]+52>>2]](c)|0}else{c=-1}fb(1,c,220066,0)}c=a;d=v[a+48>>2];h:{i:{if((d|0)>=1){d=((d|0)==1)<<1;break i}if(v[a+32>>2]!=10){break h}if(hb(v[a+40>>2],312300)){break h}ri(v[a+4>>2]);d=1}v[c+48>>2]=d}bb(k);c=v[j+12>>2];v[k+8>>2]=v[j+8>>2];v[k+12>>2]=c;c=v[j+4>>2];v[k>>2]=v[j>>2];v[k+4>>2]=c;if(v[a+48>>2]>=1){v[j>>2]=5;break a}dj(v[a+4>>2],j);break a}if(hb(c,313438)){i=a+16|0;break b}c=a;j:{if((j|0)>=1){l=((j|0)==1)<<1}else{if(v[a+32>>2]!=10){break j}if(hb(v[a+40>>2],312300)){break j}ri(v[a+4>>2]);l=1}v[c+48>>2]=l}bb(k);c=v[a+44>>2];v[k+8>>2]=v[a+40>>2];v[k+12>>2]=c;c=v[a+36>>2];v[k>>2]=v[a+32>>2];v[k+4>>2]=c;j=a+32|0;k:{if(v[a+48>>2]>=1){v[j>>2]=5;break k}dj(v[a+4>>2],j)}hf(b,v[a>>2]);q=i+1|0;l:{m:{while(1){n:{switch(v[k>>2]-4|0){case 6:if(!hb(v[a+24>>2],313352)){break l}default:c=v[a+4>>2];if(v[c+8>>2]!=13){c=v[c+16>>2];c=Qa[v[v[c>>2]+52>>2]](c)|0}else{c=-1}fb(1,c,233821,0);c=a;i=v[a+48>>2];o:{p:{if((i|0)>=1){i=((i|0)==1)<<1;break p}if(v[a+32>>2]!=10){break o}if(hb(v[a+40>>2],312300)){break o}ri(v[a+4>>2]);i=1}v[c+48>>2]=i}bb(k);c=v[j+12>>2];v[k+8>>2]=v[j+8>>2];v[k+12>>2]=c;c=v[j+4>>2];v[k>>2]=v[j>>2];v[k+4>>2]=c;if(v[a+48>>2]>=1){v[j>>2]=5;continue}dj(v[a+4>>2],j);continue;case 8:break m;case 0:break n}}i=qc(v[a+24>>2]);c=a;l=v[a+48>>2];q:{r:{if((l|0)>=1){l=((l|0)==1)<<1;break r}if(v[a+32>>2]!=10){break q}if(hb(v[a+40>>2],312300)){break q}ri(v[a+4>>2]);l=1}v[c+48>>2]=l}bb(k);c=v[j+12>>2];v[k+8>>2]=v[j+8>>2];v[k+12>>2]=c;c=v[j+4>>2];v[k>>2]=v[j>>2];v[k+4>>2]=c;s:{if(v[a+48>>2]>=1){v[j>>2]=5;break s}dj(v[a+4>>2],j)}if(v[k>>2]-11>>>0>=2){c=Bg(a,n,0,d,e,f,g,h,q);rd(v[b+8>>2],i,c);continue}break}tb(i);if(v[k>>2]!=12){break l}}c=v[a+4>>2];if(v[c+8>>2]!=13){c=v[c+16>>2];c=Qa[v[v[c>>2]+52>>2]](c)|0}else{c=-1}fb(1,c,219398,0)}t:{i=v[a+32>>2];if(!v[a+8>>2]|(i|0)!=10){break t}if(hb(v[a+40>>2],258186)){break t}i=0;c=Ma-32|0;Ma=c;v[c+16>>2]=13;j=v[a+4>>2];u:{if(v[j+8>>2]==13){break u}k=j+8|0;while(1){v:{w:{x:{l=v[j+16>>2];switch((Qa[v[v[l>>2]+28>>2]](l)|0)+1|0){case 11:break u;case 14:break v;case 0:break w;default:break x}}if(v[k>>2]==13){break u}continue}l=v[j+16>>2];Qa[v[v[l>>2]+24>>2]](l);bb(k);l=v[j+4>>2]+1|0;v[j+4>>2]=l;m=v[j>>2];if((l|0)>2]){ub(m,l,k,0);l=v[j+16>>2];Qa[v[v[l>>2]+20>>2]](l)}if(v[k>>2]!=13){continue}break u}break}if(v[j+8>>2]==13){break u}l=v[j+16>>2];if((Qa[v[v[l>>2]+32>>2]](l)|0)!=10|v[j+8>>2]==13){break u}while(1){l=v[j+16>>2];if((Qa[v[v[l>>2]+28>>2]](l)|0)!=-1){break u}l=v[j+16>>2];Qa[v[v[l>>2]+24>>2]](l);bb(k);l=v[j+4>>2]+1|0;v[j+4>>2]=l;m=v[j>>2];if((l|0)>2]){ub(m,l,k,0);l=v[j+16>>2];Qa[v[v[l>>2]+20>>2]](l)}if(v[k>>2]!=13){continue}break}}j=v[a+4>>2];y:{if(v[j+8>>2]==13){break y}j=v[j+16>>2];if(!j){break y}o=Qa[v[v[j>>2]+52>>2]](j)|0;z:{A:{k=v[a>>2];if(!k){break A}l=0;p=v[k+76>>2];B:{if(!p){break B}m=-1;r=v[k+72>>2];j=p-1|0;k=v[r+(j<<2)>>2];if((o|0)>(k|0)){break B}l=c;if((p|0)>=2){while(1){k=(j+m|0)/2|0;p=(o|0)>v[r+(k<<2)>>2];j=p?j:k;m=p?k:m;if((j-m|0)>1){continue}break}k=v[r+(j<<2)>>2]}v[l+12>>2]=k;l=1}if(!l){break A}m=v[c+12>>2]-o|0;break z}ib(v[b+8>>2],268228,c+16|0,q);if(v[c+16>>2]==1){m=v[c+24>>2];bb(c+16|0);break z}a=v[a+4>>2];if(v[a+8>>2]!=13){a=v[a+16>>2];a=Qa[v[v[a>>2]+52>>2]](a)|0}else{a=-1}fb(1,a,256832,0);bb(c+16|0);break y}j=v[a+4>>2];if(v[j+8>>2]==13){break y}j=v[j+16>>2];if(!j){break y}i=Qa[v[v[j>>2]+68>>2]](j)|0;i=Qa[v[v[i>>2]+8>>2]](i)|0;j=Qa[v[v[i>>2]+92>>2]](i,o,1,m,b)|0;C:{D:{E:{k=v[a+4>>2];F:{if(v[k+8>>2]==13){break F}k=v[k+16>>2];Qa[v[v[k>>2]+56>>2]](k,m+o|0,0);k=v[a+4>>2];if(v[k+8>>2]==13){break F}k=v[k+16>>2];if(!k){break F}while(1){l=Qa[v[v[k>>2]+28>>2]](k)|0;if(w[l+928528|0]==1&l>>>0<=255){s=s+1|0;if((s|0)!=100){continue}}break}if((l|0)!=101){break F}if((Qa[v[v[k>>2]+40>>2]](k,c+4|0,8)|0)==8|(w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24))==1953719406&(w[c+8|0]|w[c+9|0]<<8|(w[c+10|0]<<16|w[c+11|0]<<24))==1835099506){break E}}a=v[a+4>>2];if(v[a+8>>2]!=13){a=v[a+16>>2];a=Qa[v[v[a>>2]+52>>2]](a)|0}else{a=-1}fb(1,a,336398,0);ee(b,c+16|0);if(j){Qa[v[v[j>>2]+4>>2]](j)}j=Qa[v[v[i>>2]+92>>2]](i,o,1,m+5e3|0,c+16|0)|0;break D}if(!i){break C}}Qa[v[v[i>>2]+4>>2]](i)}if(d){j=RG(ab(384),j,d,e,f,g,h)}i=yU(j,b,q)}Ma=c+32|0;if(i){v[b+8>>2]=i;v[b>>2]=8;break a}bb(b);v[b>>2]=11;break a}c=a;d=v[a+48>>2];G:{H:{if((d|0)>=1){d=((d|0)==1)<<1;break H}if((i|0)!=10){break G}if(hb(v[a+40>>2],312300)){break G}ri(v[a+4>>2]);d=1}v[c+48>>2]=d}bb(k);c=v[j+12>>2];v[k+8>>2]=v[j+8>>2];v[k+12>>2]=c;c=v[j+4>>2];v[k>>2]=v[j>>2];v[k+4>>2]=c;if(v[a+48>>2]>=1){v[j>>2]=5;break a}dj(v[a+4>>2],j);break a}i=a+16|0;if((c|0)==1){e=v[a+24>>2];c=a;I:{if((j|0)>=1){d=((j|0)==1)<<1}else{if(v[a+32>>2]!=10){break I}if(hb(v[a+40>>2],312300)){break I}ri(v[a+4>>2]);d=1}v[c+48>>2]=d}bb(i);c=v[a+44>>2];v[i+8>>2]=v[a+40>>2];v[i+12>>2]=c;c=v[a+36>>2];v[i>>2]=v[a+32>>2];v[i+4>>2]=c;d=a+32|0;J:{if(v[a+48>>2]>=1){v[d>>2]=5;break J}dj(v[a+4>>2],d)}K:{if(v[i>>2]!=1|v[d>>2]!=10){break K}if(hb(v[a+40>>2],310530)){break K}v[b+12>>2]=v[a+24>>2];v[b+8>>2]=e;v[b>>2]=9;c=a;e=v[a+48>>2];L:{M:{if((e|0)>=1){e=((e|0)==1)<<1;break M}if(v[a+32>>2]!=10){break L}if(hb(v[a+40>>2],312300)){break L}ri(v[a+4>>2]);e=1}v[c+48>>2]=e}bb(i);c=v[d+12>>2];v[i+8>>2]=v[d+8>>2];v[i+12>>2]=c;c=v[d+4>>2];v[i>>2]=v[d>>2];v[i+4>>2]=c;c=a;N:{O:{P:{j=v[a+48>>2];Q:{if((j|0)>=1){v[d>>2]=5;break Q}dj(v[a+4>>2],d);j=v[a+48>>2];if((j|0)<1){break P}}e=((j|0)==1)<<1;break O}if(v[a+32>>2]!=10){break N}if(hb(v[a+40>>2],312300)){break N}ri(v[a+4>>2]);e=1}v[c+48>>2]=e}bb(i);c=v[d+12>>2];v[i+8>>2]=v[d+8>>2];v[i+12>>2]=c;c=v[d+4>>2];v[i>>2]=v[d>>2];v[i+4>>2]=c;if(v[a+48>>2]>=1){v[d>>2]=5;break a}dj(v[a+4>>2],d);break a}v[b+8>>2]=e;v[b>>2]=1;break a}if(!d|(c|0)!=3){break b}c=v[a+24>>2];k=ab(8);l=Qd(k);v[n>>2]=5;j=ab(384);d=RG(j,aq(ab(48),v[c+4>>2],v[c>>2],n),d,e,f,g,h);Qa[v[v[j>>2]+20>>2]](d);c=Qa[v[v[j>>2]+28>>2]](d)|0;if((c|0)!=-1){while(1){$b(l,c<<24>>24);c=Qa[v[v[j>>2]+28>>2]](d)|0;if((c|0)!=-1){continue}break}}Qa[v[v[j>>2]+4>>2]](d);v[b+8>>2]=k;v[b>>2]=3;c=a;d=v[a+48>>2];R:{S:{if((d|0)>=1){d=((d|0)==1)<<1;break S}if(v[a+32>>2]!=10){break R}if(hb(v[a+40>>2],312300)){break R}ri(v[a+4>>2]);d=1}v[c+48>>2]=d}bb(i);c=v[a+44>>2];v[i+8>>2]=v[a+40>>2];v[i+12>>2]=c;c=v[a+36>>2];v[i>>2]=v[a+32>>2];v[i+4>>2]=c;c=a+32|0;if(v[a+48>>2]>=1){v[c>>2]=5;break a}dj(v[a+4>>2],c);break a}ee(i,b);c=a;d=v[a+48>>2];T:{U:{if((d|0)>=1){d=((d|0)==1)<<1;break U}if(v[a+32>>2]!=10){break T}if(hb(v[a+40>>2],312300)){break T}ri(v[a+4>>2]);d=1}v[c+48>>2]=d}bb(i);c=v[a+44>>2];v[i+8>>2]=v[a+40>>2];v[i+12>>2]=c;c=v[a+36>>2];v[i>>2]=v[a+32>>2];v[i+4>>2]=c;c=a+32|0;if(v[a+48>>2]>=1){v[c>>2]=5;break a}dj(v[a+4>>2],c)}Ma=n+16|0;return b}function p2(a,b){var 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,x=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=C(0),O=0,P=C(0),Q=0,R=0,S=0,T=0;d=Ma-96|0;Ma=d;e=a+96|0;a:{if(!w[e+1432|0]){i=a+1596|0;j=a+1628|0;if(!(!w[j+1160|0]|v[j+1172>>2]!=2)){rc(j+100|0,j,v[j+1164>>2],v[j+1168>>2]);v[j+1172>>2]=3}Gc(j);b:{if(!v[j+12>>2]){break b}v[j+1176>>2]=v[j+84>>2];e=v[j+80>>2];a=(v[j+88>>2]-e|0)+2|0;c:{if(a>>>0<=y[i+24>>2]){break c}g=v[i+20>>2];if(g){$a(g)}v[i+24>>2]=a;S=i,T=ab((a|0)!=(a&536870911)?-1:a<<3),v[S+20>>2]=T;if((a|0)==v[i+16>>2]){break c}g=v[i+12>>2];if(g){$a(g)}v[i+16>>2]=a;S=i,T=ab(a),v[S+12>>2]=T}v[i>>2]=e;v[i+4>>2]=2147483632;v[i+28>>2]=v[i+20>>2];a=v[b+8>>2];if(v[a>>2]!=1){v[a>>2]=1;eb(a+2168|0,0,513)}if(!wf(j,i)){break b}while(1){r=v[b>>2];s=v[b+4>>2];f=v[b+8>>2];q=v[i+20>>2];H=v[i+28>>2]-q>>3;F=v[i+8>>2];J=+(F|0);while(1){K=v[q+12>>2];a=u[q+8>>1];e=u[q+10>>1];g=e>>31;l=(g^e+g)&65535;g=v[s+4>>2];d:{if(l>>>0<=g>>>0){break d}c=g;g=l+255&130816;if((c|0)==(g|0)){break d}h=v[s>>2];if(h){$a(h)}v[s+4>>2]=g;S=s,T=ab(g<<2),v[S>>2]=T}I=0;G=v[s>>2];c=G;g=a;if(e){while(1){k=+(g|0);x=(A[f+88>>3]+(A[f+56>>3]*k+A[f+72>>3]*J))*A[f+24>>3]+A[f+32>>3]*(A[f+96>>3]+(A[f+64>>3]*k+A[f+80>>3]*J));k=D(A[f+40>>3]+x);x=D(x+A[f+48>>3]);L=k>x?0:1;k=(k>=1?L:x>=1?L:k)*512+.5;e:{if(D(k)<2147483648){h=~~k;break e}h=-2147483648}M=(h+f|0)+2168|0;if(!w[M|0]){m=v[f+112>>2];f:{if((m|0)>=2){k=+(h|0)*.001953125;n=v[f+108>>2];e=1;while(1){o=e<<2;N=z[o+n>>2];if(k<+N){if(!(!(k<+z[n>>2])|(e|0)!=1)){e=v[f+104>>2];v[(f+(h<<2)|0)+116>>2]=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24);break f}e=v[f+104>>2];m=e+o|0;p=e;e=o-4|0;o=p+e|0;O=w[o+3|0];Q=w[m+3|0]-O|0;R=f+(h<<2)|0;p=w[o|0];E=p;P=z[e+n>>2];k=(k-+P)/+C(N-P)*256+.5;g:{if(k<4294967296&k>=0){e=~~k>>>0;break g}e=0}p=E+(B(e,w[m|0]-p|0)>>>8|0)&255;n=w[o+2|0];E=(B(e,Q)>>>8|0)+O<<24|((B(e,w[m+2|0]-n|0)>>>8|0)+n&255)<<16;n=w[m+1|0];m=w[o+1|0];v[R+116>>2]=p|(E|((B(e,n-m|0)>>>8|0)+m&255)<<8);break f}e=e+1|0;if((m|0)!=(e|0)){continue}break}}e=v[f+104>>2];if(!e|(m|0)<1){break f}e=(e+(m<<2)|0)-4|0;v[(f+(h<<2)|0)+116>>2]=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24)}t[M|0]=1}h=v[(f+(h<<2)|0)+116>>2];t[c|0]=h;t[c+1|0]=h>>>8;t[c+2|0]=h>>>16;t[c+3|0]=h>>>24;g=g+1|0;c=c+4|0;I=I+1|0;if((I|0)!=(l|0)){continue}break}}h:{if(v[r+16>>2]<(F|0)|v[r+8>>2]>(F|0)){break h}h=u[q+10>>1]<0;g=h?0:K;c=w[K|0];e=v[r+4>>2];i:{if((a|0)>=(e|0)){e=a;break i}a=e-a|0;l=l-a|0;if((l|0)<1){break h}g=h?0:a+g|0;G=(a<<2)+G|0}E=v[r>>2];h=e;p=F;a=v[r+12>>2];if((a|0)<(e+l|0)){a=a-e|0;if((a|0)<0){break h}l=a+1|0}Pf(E,h,p,l,G,g,c)}q=q+8|0;H=H-1|0;if(H){continue}break}if(wf(j,i)){continue}break}}break a}if(!w[e+1433|0]){v[d+80>>2]=0;v[d+84>>2]=0;v[d+88>>2]=0;v[d+92>>2]=0;v[d+72>>2]=0;v[d+76>>2]=0;v[d+64>>2]=2147483632;v[d+48>>2]=0;v[d+52>>2]=0;v[d+56>>2]=0;v[d+60>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=2147483632;v[d+16>>2]=0;v[d+20>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=2147483632;g=d+32|0;h=d- -64|0;a=a+1628|0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){rc(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Gc(a);j:{if(!v[a+12>>2]){break j}v[a+1176>>2]=v[a+84>>2];if(!(!w[e+1160|0]|v[e+1172>>2]!=2)){rc(e+100|0,e,v[e+1164>>2],v[e+1168>>2]);v[e+1172>>2]=3}Gc(e);if(!v[e+12>>2]){break j}c=v[e+84>>2];v[e+1176>>2]=c;f=v[e+88>>2];i=v[a+88>>2];f=(f|0)<(i|0)?f:i;i=v[e+80>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((f|0)<(i|0)){break j}j=v[a+84>>2];l=(c|0)>(j|0)?c:j;c=v[e+92>>2];j=v[a+92>>2];if((l|0)>(((c|0)<(j|0)?c:j)|0)){break j}c=(f-i|0)+3|0;k:{if(c>>>0<=y[h+24>>2]){break k}f=v[h+20>>2];if(f){$a(f)}v[h+24>>2]=c;S=h,T=ab((c|0)!=(c&536870911)?-1:c<<3),v[S+20>>2]=T;if((c|0)==v[h+12>>2]){break k}f=v[h+8>>2];if(f){$a(f)}v[h+12>>2]=c;S=h,T=ab(c),v[S+8>>2]=T}v[h>>2]=2147483632;v[h+16>>2]=v[h+8>>2];c=v[h+20>>2];v[h+28>>2]=c;u[c+2>>1]=0;c=(v[a+88>>2]-v[a+80>>2]|0)+3|0;l:{if(c>>>0<=y[g+24>>2]){break l}f=v[g+20>>2];if(f){$a(f)}v[g+24>>2]=c;S=g,T=ab((c|0)!=(c&536870911)?-1:c<<3),v[S+20>>2]=T;if((c|0)==v[g+12>>2]){break l}f=v[g+8>>2];if(f){$a(f)}v[g+12>>2]=c;S=g,T=ab(c),v[S+8>>2]=T}v[g>>2]=2147483632;v[g+16>>2]=v[g+8>>2];c=v[g+20>>2];v[g+28>>2]=c;u[c+2>>1]=0;c=(v[e+88>>2]-v[e+80>>2]|0)+3|0;m:{if(c>>>0<=y[d+24>>2]){break m}f=v[d+20>>2];if(f){$a(f)}v[d+24>>2]=c;S=d,T=ab((c|0)!=(c&536870911)?-1:c<<3),v[S+20>>2]=T;if((c|0)==v[d+12>>2]){break m}f=v[d+8>>2];if(f){$a(f)}v[d+12>>2]=c;S=d,T=ab(c),v[S+8>>2]=T}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];c=v[d+20>>2];v[d+28>>2]=c;u[c+2>>1]=0;if(!Gb(a,g)){break j}if(!Gb(e,d)){break j}c=v[b+8>>2];if(v[c>>2]!=1){v[c>>2]=1;eb(c+2168|0,0,513)}while(1){c=v[g+4>>2];f=v[d+4>>2];if((c|0)>=(f|0)){if((c|0)>(f|0)){while(1){if(!Gb(e,d)){break j}c=v[g+4>>2];f=v[d+4>>2];if((c|0)>(f|0)){continue}break}}if((c|0)!=(f|0)){continue}Se(g,d,h);if(v[h+28>>2]!=v[h+20>>2]){v[h+4>>2]=v[g+4>>2];Y1(h,v[b>>2],v[b+4>>2],v[b+8>>2])}if(!Gb(a,g)){break j}if(Gb(e,d)){continue}break j}if(Gb(a,g)){continue}break}}a=v[d+20>>2];if(a){$a(a)}a=v[d+8>>2];if(a){$a(a)}a=v[d+52>>2];if(a){$a(a)}a=v[d+40>>2];if(a){$a(a)}a=v[d+84>>2];if(a){$a(a)}a=v[d+72>>2];if(!a){break a}$a(a);break a}v[d+80>>2]=0;v[d+84>>2]=0;v[d+88>>2]=0;v[d+92>>2]=0;v[d+72>>2]=0;v[d+76>>2]=0;v[d+64>>2]=2147483632;v[d+48>>2]=0;v[d+52>>2]=0;v[d+56>>2]=0;v[d+60>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=2147483632;v[d+16>>2]=0;v[d+20>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=2147483632;h=((v[a+1524>>2]==1?1180:1304)+a|0)+96|0;e=d+32|0;g=d- -64|0;a=a+1628|0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){rc(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Gc(a);n:{if(!v[a+12>>2]){break n}c=v[a+84>>2];v[a+1176>>2]=c;v[h+120>>2]=0;if(!v[h+60>>2]){break n}f=v[h+112>>2];i=v[a+88>>2];f=(f|0)<(i|0)?f:i;i=v[h+104>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((f|0)<(i|0)){break n}j=v[h+108>>2];l=(c|0)<(j|0)?j:c;c=v[h+116>>2];j=v[a+92>>2];if((l|0)>(((c|0)<(j|0)?c:j)|0)){break n}c=(f-i|0)+3|0;o:{if(c>>>0<=y[g+24>>2]){break o}f=v[g+20>>2];if(f){$a(f)}v[g+24>>2]=c;S=g,T=ab((c|0)!=(c&536870911)?-1:c<<3),v[S+20>>2]=T;if((c|0)==v[g+12>>2]){break o}f=v[g+8>>2];if(f){$a(f)}v[g+12>>2]=c;S=g,T=ab(c),v[S+8>>2]=T}v[g>>2]=2147483632;v[g+16>>2]=v[g+8>>2];c=v[g+20>>2];v[g+28>>2]=c;u[c+2>>1]=0;c=(v[a+88>>2]-v[a+80>>2]|0)+3|0;p:{if(c>>>0<=y[e+24>>2]){break p}f=v[e+20>>2];if(f){$a(f)}v[e+24>>2]=c;S=e,T=ab((c|0)!=(c&536870911)?-1:c<<3),v[S+20>>2]=T;if((c|0)==v[e+12>>2]){break p}f=v[e+8>>2];if(f){$a(f)}v[e+12>>2]=c;S=e,T=ab(c),v[S+8>>2]=T}v[e>>2]=2147483632;v[e+16>>2]=v[e+8>>2];c=v[e+20>>2];v[e+28>>2]=c;u[c+2>>1]=0;c=(v[h+112>>2]-v[h+104>>2]|0)+3|0;q:{if(c>>>0<=y[d+24>>2]){break q}f=v[d+20>>2];if(f){$a(f)}v[d+24>>2]=c;S=d,T=ab((c|0)!=(c&536870911)?-1:c<<3),v[S+20>>2]=T;if((c|0)==v[d+12>>2]){break q}f=v[d+8>>2];if(f){$a(f)}v[d+12>>2]=c;S=d,T=ab(c),v[S+8>>2]=T}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];c=v[d+20>>2];v[d+28>>2]=c;u[c+2>>1]=0;if(!Gb(a,e)){break n}if(!Uc(h,d)){break n}c=v[b+8>>2];if(v[c>>2]!=1){v[c>>2]=1;eb(c+2168|0,0,513)}while(1){c=v[e+4>>2];f=v[d+4>>2];if((c|0)>=(f|0)){if((c|0)>(f|0)){while(1){if(!Uc(h,d)){break n}c=v[e+4>>2];f=v[d+4>>2];if((c|0)>(f|0)){continue}break}}if((c|0)!=(f|0)){continue}Se(e,d,g);if(v[g+28>>2]!=v[g+20>>2]){v[g+4>>2]=v[e+4>>2];Y1(g,v[b>>2],v[b+4>>2],v[b+8>>2])}if(!Gb(a,e)){break n}if(Uc(h,d)){continue}break n}if(Gb(a,e)){continue}break}}a=v[d+20>>2];if(a){$a(a)}a=v[d+8>>2];if(a){$a(a)}a=v[d+52>>2];if(a){$a(a)}a=v[d+40>>2];if(a){$a(a)}a=v[d+84>>2];if(a){$a(a)}a=v[d+72>>2];if(!a){break a}$a(a)}Ma=d+96|0}function c5(a){var 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,w=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{switch(v[a+60>>2]){case 0:if(!v[a+36>>2]){c=v[a+20>>2];d=v[a+24>>2];r=v[(v[a+76>>2]+(c<<4)|0)+12>>2]+(d<<4)|0;l=v[a+28>>2];break l}v[a+32>>2]=0;v[a+36>>2]=0;break c;case 1:if(!v[a+36>>2]){b=v[a+20>>2];d=v[a+24>>2];s=v[(v[a+76>>2]+(b<<4)|0)+12>>2]+(d<<4)|0;i=v[a+28>>2];break k}v[a+36>>2]=0;d=v[a+40>>2];break d;case 2:if(!v[a+36>>2]){n=v[a+32>>2];break j}v[a+104>>2]=0;v[a+108>>2]=0;v[a+36>>2]=0;f=v[a+72>>2];if((f|0)>=1){m=v[a+76>>2];while(1){e=m+(g<<4)|0;j=v[e+8>>2];if((j|0)>=1){l=v[e+4>>2];i=v[e>>2];q=v[e+12>>2];d=0;while(1){h=j+(d^-1)|0;o=q+(d<<4)|0;e=l<>2];b=b?(b|0)>(e|0)?e:b:e;e=i<>2];c=c?(c|0)>(e|0)?e:c:e;d=d+1|0;if((j|0)!=(d|0)){continue}break}v[a+108>>2]=b;v[a+104>>2]=c}g=g+1|0;if((f|0)!=(g|0)){continue}break}}y=v[a+40>>2];b=0;break e;case 3:if(!v[a+36>>2]){f=v[a+20>>2];j=v[a+76>>2]+(f<<4)|0;q=v[a+32>>2];break i}v[a+104>>2]=0;v[a+108>>2]=0;v[a+36>>2]=0;g=v[a+72>>2];if((g|0)>=1){l=v[a+76>>2];while(1){e=l+(p<<4)|0;k=v[e+8>>2];if((k|0)>=1){i=v[e+4>>2];n=v[e>>2];o=v[e+12>>2];d=0;while(1){r=k+(d^-1)|0;h=o+(d<<4)|0;e=i<>2];b=b?(b|0)>(e|0)?e:b:e;e=n<>2];c=c?(c|0)>(e|0)?e:c:e;d=d+1|0;if((k|0)!=(d|0)){continue}break}v[a+108>>2]=b;v[a+104>>2]=c}p=p+1|0;if((g|0)!=(p|0)){continue}break}}w=v[a+84>>2];b=0;break f;case 4:break m;default:break a}}if(!v[a+36>>2]){j=v[a+20>>2];g=v[a+76>>2]+(j<<4)|0;o=v[a+32>>2];break h}v[a+36>>2]=0;j=v[a+44>>2];b=0;break g}b=1;break c}c=1;break d}b=1;break e}b=1;break f}b=1}n:while(1){o:{if(!b){v[a+20>>2]=j;if(v[a+56>>2]<=(j|0)){break a}v[a+104>>2]=0;v[a+108>>2]=0;g=v[a+76>>2]+(j<<4)|0;k=v[g+8>>2];if((k|0)>=1){m=v[g+4>>2];p=v[g+12>>2];l=v[g>>2];b=0;c=0;d=0;while(1){n=k+(d^-1)|0;i=p+(d<<4)|0;f=m<>2];b=b?(b|0)>(f|0)?f:b:f;f=l<>2];c=c?(c|0)>(f|0)?f:c:f;d=d+1|0;if((k|0)!=(d|0)){continue}break}v[a+108>>2]=b;v[a+104>>2]=c}t=v[a+84>>2];b=0;break o}o=o+1|0;v[a+32>>2]=o;b=1}p:while(1){q:{r:{if(!b){v[a+100>>2]=t;if(v[a+92>>2]<=(t|0)){break r}z=v[a+80>>2];b=0;break q}if(v[a+48>>2]<=(o|0)){e=v[a+24>>2];b=1;break q}h=v[a>>2]+(((B(v[a+8>>2],v[a+24>>2])+B(v[a+4>>2],o)|0)+B(v[a+12>>2],j)|0)+B(v[a+16>>2],v[a+28>>2])<<1)|0;if(!x[h>>1]){break b}b=1;continue n}j=j+1|0;b=0;continue n}while(1){s:{t:{u:{c=a;v:{if(!b){v[a+96>>2]=z;if(v[a+88>>2]<=(z|0)){break u}e=v[a+40>>2];break v}e=e+1|0}v[c+24>>2]=e;b=v[g+8>>2];c=v[a+52>>2];if((((b|0)<(c|0)?b:c)|0)>(e|0)){p=v[a+96>>2];c=v[g>>2];b=b+(e^-1)|0;r=v[g+12>>2];d=r+(e<<4)|0;l=v[d>>2];i=b+l|0;if((p|0)%(c<>2];c=c<>2];k=(n+m|0)/(c|0)|0;d=v[d+4>>2];if((-1<>2];if((q|0)%(f<>2]|0)/(f|0)|0;y=(n+v[a+88>>2]|0)/(c|0)|0;w=v[a+84>>2];m=(w+h|0)/(f|0)|0;if((-1<>2];if(!b|(k|0)==(y|0)|(m|0)==(s|0)){break s}o=0;v[a+32>>2]=0;v[a+28>>2]=(((n+p|0)/(c|0)>>l)-(k>>l)|0)+B(b,((h+q|0)/(f|0)>>d)-(m>>d)|0);b=1;continue p}b=v[a+96>>2];c=v[a+104>>2];z=b+c-(b|0)%(c|0)|0;break t}b=v[a+100>>2];c=v[a+108>>2];t=b+c-(b|0)%(c|0)|0;b=0;continue p}b=0;continue}b=1;continue}}}}w:while(1){x:{if(!b){v[a+100>>2]=w;if(v[a+92>>2]<=(w|0)){break a}A=v[a+80>>2];b=0;break x}q=q+1|0;v[a+32>>2]=q;b=1}y:while(1){z:{A:{if(!b){v[a+96>>2]=A;if(v[a+88>>2]<=(A|0)){break A}f=v[a+44>>2];b=0;break z}if(v[a+48>>2]<=(q|0)){m=v[a+24>>2];b=1;break z}h=v[a>>2]+(((B(v[a+8>>2],v[a+24>>2])+B(v[a+4>>2],q)|0)+B(v[a+12>>2],f)|0)+B(v[a+16>>2],v[a+28>>2])<<1)|0;if(!x[h>>1]){break b}b=1;continue w}b=v[a+100>>2];c=v[a+108>>2];w=b+c-(b|0)%(c|0)|0;b=0;continue w}while(1){B:{C:{D:{E:{if(!b){v[a+20>>2]=f;if(v[a+56>>2]<=(f|0)){break D}m=v[a+40>>2];v[a+24>>2]=m;j=v[a+76>>2]+(f<<4)|0;break E}m=m+1|0;v[a+24>>2]=m}b=v[j+8>>2];c=v[a+52>>2];if((((b|0)<(c|0)?b:c)|0)>(m|0)){p=v[a+96>>2];c=v[j>>2];b=b+(m^-1)|0;r=v[j+12>>2];k=r+(m<<4)|0;l=v[k>>2];i=b+l|0;if((p|0)%(c<>2];c=c<>2];e=(n+g|0)/(c|0)|0;k=v[k+4>>2];if((-1<>2];if((o|0)%(d<>2]|0)/(d|0)|0;y=(n+v[a+88>>2]|0)/(c|0)|0;t=v[a+84>>2];g=(t+h|0)/(d|0)|0;if((-1<>2];if(!b|(e|0)==(y|0)|(g|0)==(s|0)){break B}q=0;v[a+32>>2]=0;v[a+28>>2]=(((n+p|0)/(c|0)>>l)-(e>>l)|0)+B(b,((h+o|0)/(d|0)>>k)-(g>>k)|0);b=1;continue y}f=f+1|0;break C}b=v[a+96>>2];c=v[a+104>>2];A=b+c-(b|0)%(c|0)|0;b=0;continue y}b=0;continue}b=1;continue}}}}F:while(1){G:{if(!b){v[a+24>>2]=y;if(v[a+52>>2]<=(y|0)){break a}C=v[a+84>>2];b=0;break G}n=n+1|0;v[a+32>>2]=n;b=1}H:while(1){I:{J:{if(!b){v[a+100>>2]=C;if(v[a+92>>2]<=(C|0)){break J}p=v[a+80>>2];b=0;break I}if(v[a+48>>2]<=(n|0)){k=v[a+20>>2];b=1;break I}h=v[a>>2]+(((B(v[a+8>>2],v[a+24>>2])+B(v[a+4>>2],n)|0)+B(v[a+12>>2],v[a+20>>2])|0)+B(v[a+16>>2],v[a+28>>2])<<1)|0;if(!x[h>>1]){break b}b=1;continue F}y=v[a+24>>2]+1|0;b=0;continue F}while(1){K:{L:{M:{c=a;N:{if(!b){v[a+96>>2]=p;if(v[a+88>>2]<=(p|0)){break M}k=v[a+44>>2];break N}k=k+1|0}v[c+20>>2]=k;if(v[a+56>>2]>(k|0)){c=v[a+24>>2];e=v[a+76>>2]+(k<<4)|0;b=v[e+8>>2];if((c|0)>=(b|0)){break K}m=v[a+96>>2];d=v[e>>2];b=b+(c^-1)|0;r=v[e+12>>2];j=r+(c<<4)|0;l=v[j>>2];i=b+l|0;if((m|0)%(d<>2];e=d<>2];d=(q+f|0)/(e|0)|0;j=v[j+4>>2];if((-1<>2];if((o|0)%(g<>2]|0)/(g|0)|0;w=(q+v[a+88>>2]|0)/(e|0)|0;t=v[a+84>>2];f=(t+h|0)/(g|0)|0;if((-1<>2];if(!b|(d|0)==(w|0)|(f|0)==(s|0)){break K}n=0;v[a+32>>2]=0;v[a+28>>2]=(((m+q|0)/(e|0)>>l)-(d>>l)|0)+B(b,((h+o|0)/(g|0)>>j)-(f>>j)|0);b=1;continue H}b=v[a+96>>2];c=v[a+104>>2];p=b+c-(b|0)%(c|0)|0;break L}b=v[a+100>>2];c=v[a+108>>2];C=b+c-(b|0)%(c|0)|0;b=0;continue H}b=0;continue}b=1;continue}}}}O:while(1){P:{if(!c){v[a+24>>2]=d;if(v[a+52>>2]<=(d|0)){break a}D=0;c=0;break P}i=i+1|0;v[a+28>>2]=i;c=1}Q:while(1){R:{S:{T:{if(!c){v[a+32>>2]=D;if(v[a+48>>2]<=(D|0)){break T}b=v[a+44>>2];c=0;break R}if((B(v[s+12>>2],v[s+8>>2])|0)<=(i|0)){break S}h=v[a>>2]+(((B(v[a+8>>2],d)+B(v[a+4>>2],v[a+32>>2])|0)+B(v[a+12>>2],b)|0)+B(v[a+16>>2],i)<<1)|0;if(!x[h>>1]){break b}c=1;continue O}d=d+1|0;c=0;continue O}c=1}while(1){U:{V:{W:{if(!c){v[a+20>>2]=b;if(v[a+56>>2]<=(b|0)){break W}c=v[a+76>>2]+(b<<4)|0;if(v[c+8>>2]<=(d|0)){break U}c=v[c+12>>2];i=0;v[a+28>>2]=0;s=c+(d<<4)|0;c=1;continue Q}b=b+1|0;break V}D=v[a+32>>2]+1|0;c=0;continue Q}c=0;continue}c=1;continue}}}}X:while(1){Y:{if(!b){if(v[a+48>>2]<=(E|0)){break a}d=v[a+40>>2];b=0;break Y}l=l+1|0;v[a+28>>2]=l;b=1}Z:while(1){_:{$:{aa:{if(!b){v[a+24>>2]=d;if(v[a+52>>2]<=(d|0)){break aa}c=v[a+44>>2];b=0;break _}if((B(v[r+12>>2],v[r+8>>2])|0)<=(l|0)){break $}h=v[a>>2]+(((B(v[a+8>>2],d)+B(v[a+4>>2],v[a+32>>2])|0)+B(v[a+12>>2],c)|0)+B(v[a+16>>2],l)<<1)|0;if(!x[h>>1]){break b}b=1;continue X}E=v[a+32>>2]+1|0;v[a+32>>2]=E;b=0;continue X}b=1}while(1){ba:{ca:{da:{if(!b){v[a+20>>2]=c;if(v[a+56>>2]<=(c|0)){break da}b=v[a+76>>2]+(c<<4)|0;if(v[b+8>>2]<=(d|0)){break ba}b=v[b+12>>2];l=0;v[a+28>>2]=0;r=b+(d<<4)|0;b=1;continue Z}c=c+1|0;break ca}d=d+1|0;b=0;continue Z}b=0;continue}b=1;continue}}}}F=1;u[h>>1]=1}return F}function o2(a,b){var 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,x=0,E=0,G=0,H=0,I=0,J=0,L=0,M=0,N=0,O=0,P=C(0),Q=C(0),R=0,S=0,T=0,U=0;d=Ma-96|0;Ma=d;e=a+96|0;a:{if(!w[e+1432|0]){i=a+1596|0;j=a+1628|0;if(!(!w[j+1160|0]|v[j+1172>>2]!=2)){rc(j+100|0,j,v[j+1164>>2],v[j+1168>>2]);v[j+1172>>2]=3}Gc(j);b:{if(!v[j+12>>2]){break b}v[j+1176>>2]=v[j+84>>2];e=v[j+80>>2];a=(v[j+88>>2]-e|0)+2|0;c:{if(a>>>0<=y[i+24>>2]){break c}g=v[i+20>>2];if(g){$a(g)}v[i+24>>2]=a;T=i,U=ab((a|0)!=(a&536870911)?-1:a<<3),v[T+20>>2]=U;if((a|0)==v[i+16>>2]){break c}g=v[i+12>>2];if(g){$a(g)}v[i+16>>2]=a;T=i,U=ab(a),v[T+12>>2]=U}v[i>>2]=e;v[i+4>>2]=2147483632;v[i+28>>2]=v[i+20>>2];a=v[b+8>>2];if(v[a>>2]!=1){v[a>>2]=1;eb(a+2144|0,0,513)}if(!wf(j,i)){break b}while(1){r=v[b>>2];s=v[b+4>>2];f=v[b+8>>2];p=v[i+20>>2];H=v[i+28>>2]-p>>3;x=v[i+8>>2];L=+(x|0);while(1){M=v[p+12>>2];a=u[p+8>>1];e=u[p+10>>1];g=e>>31;l=(g^e+g)&65535;g=v[s+4>>2];d:{if(l>>>0<=g>>>0){break d}c=g;g=l+255&130816;if((c|0)==(g|0)){break d}h=v[s>>2];if(h){$a(h)}v[s+4>>2]=g;T=s,U=ab(g<<2),v[T>>2]=U}I=0;E=v[s>>2];c=E;g=a;if(e){while(1){k=+(g|0);N=A[f+64>>3]+(A[f+32>>3]*k+A[f+48>>3]*L)-A[f+8>>3];k=A[f+72>>3]+(A[f+40>>3]*k+A[f+56>>3]*L)-A[f+16>>3];k=F(A[f+24>>3]*K(N*N+k*k),1)*512+.5;e:{if(D(k)<2147483648){h=~~k;break e}h=-2147483648}O=(h+f|0)+2144|0;if(!w[O|0]){n=v[f+88>>2];f:{if((n|0)>=2){k=+(h|0)*.001953125;m=v[f+84>>2];e=1;while(1){if(!(!(k<+z[m>>2])|(e|0)!=1)){e=v[f+80>>2];v[(f+(h<<2)|0)+92>>2]=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24);break f}o=e<<2;P=z[o+m>>2];if(k<+P){e=v[f+80>>2];n=e+o|0;q=e;e=o-4|0;o=q+e|0;G=w[o+3|0];R=w[n+3|0]-G|0;S=f+(h<<2)|0;q=w[o|0];J=q;Q=z[e+m>>2];k=(k-+Q)/+C(P-Q)*256+.5;g:{if(k<4294967296&k>=0){e=~~k>>>0;break g}e=0}m=w[o+2|0];G=(B(e,R)>>>8|0)+G<<24|((B(e,w[n+2|0]-m|0)>>>8|0)+m&255)<<16;m=w[o+1|0];v[S+92>>2]=J+(B(e,w[n|0]-q|0)>>>8|0)&255|(G|((B(e,w[n+1|0]-m|0)>>>8|0)+m&255)<<8);break f}e=e+1|0;if((n|0)!=(e|0)){continue}break}}e=(v[f+80>>2]+(n<<2)|0)-4|0;v[(f+(h<<2)|0)+92>>2]=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24)}t[O|0]=1}h=v[(f+(h<<2)|0)+92>>2];t[c|0]=h;t[c+1|0]=h>>>8;t[c+2|0]=h>>>16;t[c+3|0]=h>>>24;g=g+1|0;c=c+4|0;I=I+1|0;if((I|0)!=(l|0)){continue}break}}h:{if(v[r+16>>2]<(x|0)|v[r+8>>2]>(x|0)){break h}h=u[p+10>>1]<0;g=h?0:M;c=w[M|0];e=v[r+4>>2];i:{if((a|0)>=(e|0)){e=a;break i}a=e-a|0;l=l-a|0;if((l|0)<1){break h}g=h?0:a+g|0;E=(a<<2)+E|0}J=v[r>>2];h=e;q=x;a=v[r+12>>2];if((a|0)<(e+l|0)){a=a-e|0;if((a|0)<0){break h}l=a+1|0}Pf(J,h,q,l,E,g,c)}p=p+8|0;H=H-1|0;if(H){continue}break}if(wf(j,i)){continue}break}}break a}if(!w[e+1433|0]){v[d+80>>2]=0;v[d+84>>2]=0;v[d+88>>2]=0;v[d+92>>2]=0;v[d+72>>2]=0;v[d+76>>2]=0;v[d+64>>2]=2147483632;v[d+48>>2]=0;v[d+52>>2]=0;v[d+56>>2]=0;v[d+60>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=2147483632;v[d+16>>2]=0;v[d+20>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=2147483632;g=d+32|0;h=d- -64|0;a=a+1628|0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){rc(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Gc(a);j:{if(!v[a+12>>2]){break j}v[a+1176>>2]=v[a+84>>2];if(!(!w[e+1160|0]|v[e+1172>>2]!=2)){rc(e+100|0,e,v[e+1164>>2],v[e+1168>>2]);v[e+1172>>2]=3}Gc(e);if(!v[e+12>>2]){break j}c=v[e+84>>2];v[e+1176>>2]=c;f=v[e+88>>2];i=v[a+88>>2];f=(f|0)<(i|0)?f:i;i=v[e+80>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((f|0)<(i|0)){break j}j=v[a+84>>2];l=(c|0)>(j|0)?c:j;c=v[e+92>>2];j=v[a+92>>2];if((l|0)>(((c|0)<(j|0)?c:j)|0)){break j}c=(f-i|0)+3|0;k:{if(c>>>0<=y[h+24>>2]){break k}f=v[h+20>>2];if(f){$a(f)}v[h+24>>2]=c;T=h,U=ab((c|0)!=(c&536870911)?-1:c<<3),v[T+20>>2]=U;if((c|0)==v[h+12>>2]){break k}f=v[h+8>>2];if(f){$a(f)}v[h+12>>2]=c;T=h,U=ab(c),v[T+8>>2]=U}v[h>>2]=2147483632;v[h+16>>2]=v[h+8>>2];c=v[h+20>>2];v[h+28>>2]=c;u[c+2>>1]=0;c=(v[a+88>>2]-v[a+80>>2]|0)+3|0;l:{if(c>>>0<=y[g+24>>2]){break l}f=v[g+20>>2];if(f){$a(f)}v[g+24>>2]=c;T=g,U=ab((c|0)!=(c&536870911)?-1:c<<3),v[T+20>>2]=U;if((c|0)==v[g+12>>2]){break l}f=v[g+8>>2];if(f){$a(f)}v[g+12>>2]=c;T=g,U=ab(c),v[T+8>>2]=U}v[g>>2]=2147483632;v[g+16>>2]=v[g+8>>2];c=v[g+20>>2];v[g+28>>2]=c;u[c+2>>1]=0;c=(v[e+88>>2]-v[e+80>>2]|0)+3|0;m:{if(c>>>0<=y[d+24>>2]){break m}f=v[d+20>>2];if(f){$a(f)}v[d+24>>2]=c;T=d,U=ab((c|0)!=(c&536870911)?-1:c<<3),v[T+20>>2]=U;if((c|0)==v[d+12>>2]){break m}f=v[d+8>>2];if(f){$a(f)}v[d+12>>2]=c;T=d,U=ab(c),v[T+8>>2]=U}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];c=v[d+20>>2];v[d+28>>2]=c;u[c+2>>1]=0;if(!Gb(a,g)){break j}if(!Gb(e,d)){break j}c=v[b+8>>2];if(v[c>>2]!=1){v[c>>2]=1;eb(c+2144|0,0,513)}while(1){c=v[g+4>>2];f=v[d+4>>2];if((c|0)>=(f|0)){if((c|0)>(f|0)){while(1){if(!Gb(e,d)){break j}c=v[g+4>>2];f=v[d+4>>2];if((c|0)>(f|0)){continue}break}}if((c|0)!=(f|0)){continue}Se(g,d,h);if(v[h+28>>2]!=v[h+20>>2]){v[h+4>>2]=v[g+4>>2];X1(h,v[b>>2],v[b+4>>2],v[b+8>>2])}if(!Gb(a,g)){break j}if(Gb(e,d)){continue}break j}if(Gb(a,g)){continue}break}}a=v[d+20>>2];if(a){$a(a)}a=v[d+8>>2];if(a){$a(a)}a=v[d+52>>2];if(a){$a(a)}a=v[d+40>>2];if(a){$a(a)}a=v[d+84>>2];if(a){$a(a)}a=v[d+72>>2];if(!a){break a}$a(a);break a}v[d+80>>2]=0;v[d+84>>2]=0;v[d+88>>2]=0;v[d+92>>2]=0;v[d+72>>2]=0;v[d+76>>2]=0;v[d+64>>2]=2147483632;v[d+48>>2]=0;v[d+52>>2]=0;v[d+56>>2]=0;v[d+60>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=2147483632;v[d+16>>2]=0;v[d+20>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=2147483632;h=((v[a+1524>>2]==1?1180:1304)+a|0)+96|0;e=d+32|0;g=d- -64|0;a=a+1628|0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){rc(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Gc(a);n:{if(!v[a+12>>2]){break n}c=v[a+84>>2];v[a+1176>>2]=c;v[h+120>>2]=0;if(!v[h+60>>2]){break n}f=v[h+112>>2];i=v[a+88>>2];f=(f|0)<(i|0)?f:i;i=v[h+104>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((f|0)<(i|0)){break n}j=v[h+108>>2];l=(c|0)<(j|0)?j:c;c=v[h+116>>2];j=v[a+92>>2];if((l|0)>(((c|0)<(j|0)?c:j)|0)){break n}c=(f-i|0)+3|0;o:{if(c>>>0<=y[g+24>>2]){break o}f=v[g+20>>2];if(f){$a(f)}v[g+24>>2]=c;T=g,U=ab((c|0)!=(c&536870911)?-1:c<<3),v[T+20>>2]=U;if((c|0)==v[g+12>>2]){break o}f=v[g+8>>2];if(f){$a(f)}v[g+12>>2]=c;T=g,U=ab(c),v[T+8>>2]=U}v[g>>2]=2147483632;v[g+16>>2]=v[g+8>>2];c=v[g+20>>2];v[g+28>>2]=c;u[c+2>>1]=0;c=(v[a+88>>2]-v[a+80>>2]|0)+3|0;p:{if(c>>>0<=y[e+24>>2]){break p}f=v[e+20>>2];if(f){$a(f)}v[e+24>>2]=c;T=e,U=ab((c|0)!=(c&536870911)?-1:c<<3),v[T+20>>2]=U;if((c|0)==v[e+12>>2]){break p}f=v[e+8>>2];if(f){$a(f)}v[e+12>>2]=c;T=e,U=ab(c),v[T+8>>2]=U}v[e>>2]=2147483632;v[e+16>>2]=v[e+8>>2];c=v[e+20>>2];v[e+28>>2]=c;u[c+2>>1]=0;c=(v[h+112>>2]-v[h+104>>2]|0)+3|0;q:{if(c>>>0<=y[d+24>>2]){break q}f=v[d+20>>2];if(f){$a(f)}v[d+24>>2]=c;T=d,U=ab((c|0)!=(c&536870911)?-1:c<<3),v[T+20>>2]=U;if((c|0)==v[d+12>>2]){break q}f=v[d+8>>2];if(f){$a(f)}v[d+12>>2]=c;T=d,U=ab(c),v[T+8>>2]=U}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];c=v[d+20>>2];v[d+28>>2]=c;u[c+2>>1]=0;if(!Gb(a,e)){break n}if(!Uc(h,d)){break n}c=v[b+8>>2];if(v[c>>2]!=1){v[c>>2]=1;eb(c+2144|0,0,513)}while(1){c=v[e+4>>2];f=v[d+4>>2];if((c|0)>=(f|0)){if((c|0)>(f|0)){while(1){if(!Uc(h,d)){break n}c=v[e+4>>2];f=v[d+4>>2];if((c|0)>(f|0)){continue}break}}if((c|0)!=(f|0)){continue}Se(e,d,g);if(v[g+28>>2]!=v[g+20>>2]){v[g+4>>2]=v[e+4>>2];X1(g,v[b>>2],v[b+4>>2],v[b+8>>2])}if(!Gb(a,e)){break n}if(Uc(h,d)){continue}break n}if(Gb(a,e)){continue}break}}a=v[d+20>>2];if(a){$a(a)}a=v[d+8>>2];if(a){$a(a)}a=v[d+52>>2];if(a){$a(a)}a=v[d+40>>2];if(a){$a(a)}a=v[d+84>>2];if(a){$a(a)}a=v[d+72>>2];if(!a){break a}$a(a)}Ma=d+96|0}function vqa(a){a=a|0;var 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;v[a+144>>2]=0;b=v[a+8>>2];Qa[v[v[b>>2]+20>>2]](b);h=Ma-16|0;Ma=h;v[a+32>>2]=0;b=v[a+8>>2];a:{if((Qa[v[v[b>>2]+32>>2]](b)|0)!=255){b:{if(gz(a,h+12|0,h+8|0,h+4|0)){while(1){c:{d:{e:{f:{g:{h:{i:{j:{k:{b=v[h+12>>2];if((b|0)<=1768449137){if((b|0)<=1668112751){if((b|0)==1651532643){break k}if((b|0)!=1667523942){break f}b=v[a+8>>2];c=Qa[v[v[b>>2]+28>>2]](b)|0;if((c|0)!=-1){b=v[a+8>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)!=-1){break h}}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,257779,0);c=2;break a}if((b|0)==1668112752){break i}if((b|0)!=1668246642){break f}i=v[h+4>>2];d=Ma-48|0;Ma=d;l:{m:{n:{b=v[a+8>>2];c=Qa[v[v[b>>2]+28>>2]](b)|0;o:{if((c|0)==-1){break o}v[d+8>>2]=c;b=v[a+8>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break o}v[d+12>>2]=b&128?b|-256:b;b=v[a+8>>2];if((Qa[v[v[b>>2]+28>>2]](b)|0)==-1){break o}e=1;p:{switch(c-1|0){case 0:b=v[a+8>>2];f=Qa[v[v[b>>2]+28>>2]](b)|0;if((f|0)==-1){break o}b=v[a+8>>2];e=Qa[v[v[b>>2]+28>>2]](b)|0;if((e|0)==-1){break o}b=v[a+8>>2];c=Qa[v[v[b>>2]+28>>2]](b)|0;if((c|0)==-1){break o}b=v[a+8>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break o}b=b|(e<<16|f<<24|c<<8);v[d+16>>2]=b;if(b>>>0>24){break o}if(1<>>0<4){break l}c=v[a+8>>2];b=i-3|0;if((Qa[v[v[c>>2]+48>>2]](c,b)|0)==(b|0)){break l}}e=0;fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,300269,0);break l}v[d+44>>2]=4470064;v[d+36>>2]=255;v[d+40>>2]=96;v[d+28>>2]=255;v[d+32>>2]=128;v[d+20>>2]=100;v[d+24>>2]=0}if(v[a+76>>2]){e=1;if(v[d+12>>2]<=v[a+40>>2]){break l}}b=v[d+12>>2];v[a+36>>2]=v[d+8>>2];v[a+40>>2]=b;b=v[d+44>>2];v[a+68>>2]=v[d+40>>2];v[a+72>>2]=b;b=v[d+36>>2];v[a+60>>2]=v[d+32>>2];v[a+64>>2]=b;b=v[d+28>>2];v[a+52>>2]=v[d+24>>2];v[a+56>>2]=b;b=v[d+20>>2];v[a+44>>2]=v[d+16>>2];v[a+48>>2]=b;e=1;v[a+76>>2]=1}Ma=d+48|0;if(e){break c}c=2;break a}q:{switch(b-1785737827|0){case 0:break g;case 5:break c;case 1:case 2:case 3:case 4:break f;default:break q}}if((b|0)==1885564018){break j}if((b|0)!=1768449138){break f}r:{b=v[a+8>>2];m=Qa[v[v[b>>2]+28>>2]](b)|0;s:{if((m|0)==-1){break s}b=v[a+8>>2];n=Qa[v[v[b>>2]+28>>2]](b)|0;if((n|0)==-1){break s}b=v[a+8>>2];o=Qa[v[v[b>>2]+28>>2]](b)|0;if((o|0)==-1){break s}b=v[a+8>>2];g=Qa[v[v[b>>2]+28>>2]](b)|0;if((g|0)==-1){break s}b=v[a+8>>2];j=Qa[v[v[b>>2]+28>>2]](b)|0;if((j|0)==-1){break s}b=v[a+8>>2];k=Qa[v[v[b>>2]+28>>2]](b)|0;if((k|0)==-1){break s}b=v[a+8>>2];l=Qa[v[v[b>>2]+28>>2]](b)|0;if((l|0)==-1){break s}b=v[a+8>>2];d=Qa[v[v[b>>2]+28>>2]](b)|0;if((d|0)==-1){break s}b=v[a+8>>2];i=Qa[v[v[b>>2]+28>>2]](b)|0;if((i|0)==-1){break s}b=v[a+8>>2];f=Qa[v[v[b>>2]+28>>2]](b)|0;if((f|0)==-1){break s}b=v[a+8>>2];e=Qa[v[v[b>>2]+28>>2]](b)|0;if((e|0)==-1){break s}b=v[a+8>>2];c=Qa[v[v[b>>2]+28>>2]](b)|0;if((c|0)==-1){break s}b=v[a+8>>2];if((Qa[v[v[b>>2]+28>>2]](b)|0)==-1){break s}b=v[a+8>>2];if((Qa[v[v[b>>2]+28>>2]](b)|0)!=-1){break r}}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,257779,0);c=2;break a}if((c|0)!=7){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,257740,0);c=2;break a}v[a+20>>2]=d|(k<<16|j<<24|l<<8);v[a+24>>2]=g|(n<<16|m<<24|o<<8);b=f|i<<8;v[a+12>>2]=b;b=Pb(b,4);v[a+16>>2]=b;c=0;if(v[a+12>>2]){while(1){v[b+(c<<2)>>2]=e;c=c+1|0;if(c>>>0>2]){continue}break}}v[a+32>>2]=1;break c}if(!v[a+32>>2]){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,257344,0);c=2;break a}b=v[h+4>>2];if((b|0)!=v[a+12>>2]){break e}c=0;if(!b){break c}while(1){e=v[a+16>>2];b=v[a+8>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,257779,0);c=2;break a}v[e+(c<<2)>>2]=b;c=c+1|0;if(c>>>0>2]){continue}break}break c}t:{b=v[a+8>>2];c=Qa[v[v[b>>2]+28>>2]](b)|0;u:{if((c|0)==-1){break u}b=v[a+8>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break u}v[a+80>>2]=b|c<<8;b=v[a+8>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)!=-1){break t}}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,257779,0);c=2;break a}v[a+96>>2]=1;v[a+84>>2]=b;q=a,r=Pb(b,4),v[q+88>>2]=r;q=a,r=Pb(B(v[a+84>>2],v[a+80>>2]),4),v[q+92>>2]=r;if(!v[a+84>>2]){break c}g=v[a+88>>2];c=0;while(1){b=v[a+8>>2];e=Qa[v[v[b>>2]+28>>2]](b)|0;if((e|0)!=-1){b=c<<2;v[b+g>>2]=e;g=v[a+88>>2];b=b+g|0;v[b>>2]=v[b>>2]+1;c=c+1|0;j=v[a+84>>2];if(c>>>0>>0){continue}break d}break}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,257779,0);c=2;break a}v[a+116>>2]=1;b=v[h+4>>2]>>>2|0;v[a+100>>2]=b;q=a,r=Pb(b,4),v[q+104>>2]=r;q=a,r=Pb(v[a+100>>2],4),v[q+108>>2]=r;q=a,r=Pb(v[a+100>>2],4),v[q+112>>2]=r;c=0;if(!v[a+100>>2]){break c}while(1){f=v[a+104>>2];v:{b=v[a+8>>2];e=Qa[v[v[b>>2]+28>>2]](b)|0;w:{if((e|0)==-1){break w}b=v[a+8>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break w}d=f;f=c<<2;v[d+f>>2]=b|e<<8;e=v[a+108>>2];b=v[a+8>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break w}v[e+f>>2]=b;e=v[a+112>>2];b=v[a+8>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)!=-1){break v}}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,257779,0);c=2;break a}v[e+f>>2]=b;c=c+1|0;if(c>>>0>2]){continue}break}break c}v[a+136>>2]=1;b=b|c<<8;v[a+120>>2]=b;q=a,r=Pb(b,4),v[q+124>>2]=r;q=a,r=Pb(v[a+120>>2],4),v[q+128>>2]=r;q=a,r=Pb(v[a+120>>2],4),v[q+132>>2]=r;c=0;if(!v[a+120>>2]){break c}while(1){f=v[a+124>>2];x:{b=v[a+8>>2];e=Qa[v[v[b>>2]+28>>2]](b)|0;y:{if((e|0)==-1){break y}b=v[a+8>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break y}i=c<<2;v[i+f>>2]=b|e<<8;f=v[a+128>>2];b=v[a+8>>2];e=Qa[v[v[b>>2]+28>>2]](b)|0;if((e|0)==-1){break y}b=v[a+8>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break y}v[f+i>>2]=b|e<<8;f=v[a+132>>2];b=v[a+8>>2];e=Qa[v[v[b>>2]+28>>2]](b)|0;if((e|0)==-1){break y}b=v[a+8>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)!=-1){break x}}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,257779,0);c=2;break a}v[f+i>>2]=b|e<<8;c=c+1|0;if(c>>>0>2]){continue}break}break c}if(!v[a+16>>2]){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,220385,0)}if(!v[a+76>>2]){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,300230,0)}p=1;c=SU(a);if(c){break a}break c}c=v[a+8>>2];b=v[h+4>>2];if((Qa[v[v[c>>2]+48>>2]](c,b)|0)==(b|0)){break c}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,257779,0);c=p?1:2;break a}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,257299,0);c=2;break a}c=v[a+80>>2];if(!c){break c}k=0;if(!j){break c}while(1){g=0;z:{if(!j){j=0;break z}while(1){i=v[a+92>>2];f=v[v[a+88>>2]+(g<<2)>>2];b=f&127;l=b+7|0;c=0;if(b){e=l>>>3|0;d=0;while(1){b=v[a+8>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break b}c=b+(c<<8)|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}}e=i+(B(j,k)+g<<2)|0;A:{if(!(f&128)){break A}b=l&248;if(!(c>>>b-1&1)){break A}c=-1<>2]=c;g=g+1|0;j=v[a+84>>2];if(g>>>0>>0){continue}break}c=v[a+80>>2]}k=k+1|0;if(k>>>0>>0){continue}break}}if(gz(a,h+12|0,h+8|0,h+4|0)){continue}break}}c=0;break a}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,257779,0);c=2;break a}fb(0,Qa[v[v[a>>2]+52>>2]](a)|0,239284,0);c=2;b=SU(a);if((b|0)==2){break a}c=v[a+188>>2];v[a+12>>2]=c;e=Pb(c,4);v[a+16>>2]=e;if(v[a+12>>2]){c=v[v[a+200>>2]+60>>2];while(1){v[e+(g<<2)>>2]=v[(c+B(g,88)|0)+4>>2];g=g+1|0;if(g>>>0>2]){continue}break}}v[a+20>>2]=v[a+140>>2]-v[a+148>>2];v[a+24>>2]=v[a+144>>2]-v[a+152>>2];c=b}Ma=h+16|0;v[a+236>>2]=0;v[a+228>>2]=0;v[a+220>>2]=v[a+180>>2];v[a+224>>2]=(c|0)==2?v[a+144>>2]>>>v[a+28>>2]|0:v[a+184>>2]}function DSa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=C(0),m=0,n=0,o=0,p=0,q=0,r=0,s=0,y=0,A=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,O=0,P=C(0),Q=0,R=0,S=0,T=0,U=0,V=0,W=C(0),X=C(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;p=Ma-262224|0;Ma=p;if(v[a+188>>2]){Lb(59036,21,1,v[249419])}while(1){d=(p+80|0)+(g<<2)|0;l=C(C(g|0)/C(65535));a:{if(l>C(.008856000378727913)){l=C(pd(+l,.3333333432674408));break a}l=C(C(l*C(7.7870001792907715))+C(.13793103396892548))}z[d>>2]=l;g=g+1|0;if((g|0)!=65536){continue}break}b=v[a+26336>>2];if((b|0)>=1){while(1){i=c<<2;d=i+a|0;z[i+(p+32|0)>>2]=C(C(C(+z[d+59348>>2]*.412453/.9504560232162476)+C(0))+C(+z[d+59364>>2]*.35758/.9504560232162476))+C(+z[d+59380>>2]*.180423/.9504560232162476);c=c+1|0;if((b|0)!=(c|0)){continue}break}c=0;while(1){i=c<<2;d=i+a|0;z[(i+p|0)+48>>2]=C(C(C(+z[d+59348>>2]*.212671)+C(0))+C(+z[d+59364>>2]*.71516))+C(+z[d+59380>>2]*.072169);c=c+1|0;if((b|0)!=(c|0)){continue}break}c=0;while(1){i=c<<2;d=i+a|0;z[(i+p|0)- -64>>2]=C(C(C(+z[d+59348>>2]*.019334/1.0887540578842163)+C(0))+C(+z[d+59364>>2]*.119193/1.0887540578842163))+C(+z[d+59380>>2]*.950227/1.0887540578842163);c=c+1|0;if((b|0)!=(c|0)){continue}break}}UK(a,5);O=gb(1703936);if(!O){i=v[a+190640>>2];b:{if(i){c=v[a+25208>>2];v[p+20>>2]=59264;v[p+16>>2]=c;Dc(i,4338,p+16|0);break b}c=v[a+25208>>2];v[p+4>>2]=59264;v[p>>2]=c;vb(v[249419],4338,p)}tc(a+190484|0,1);L()}g=x[a+26308>>1];if(g>>>0>=8){ma=O+1572864|0;ka=O+786432|0;c=x[a+26310>>1];ba=258;ca=257;da=255;ea=256;F=2;while(1){i=c&65535;if(i>>>0>=8){na=F+3|0;oa=F+2|0;pa=F|1;r=2;fa=255;while(1){R=0-i|0;n=i-2|0;A=r+256|0;S=g&65535;I=S-2|0;s=i<<1;K=0-s|0;d=F;while(1){if((d|0)<(I|0)){j=v[a+26028>>2];e=d<<1&14;b=j>>>(e<<1)&1;c=b|r;c:{if(A>>>0<=c>>>0|(c|0)>=(n|0)){break c}g=j>>>((b|e)<<1)&3;f=d-F|0;j=v[a+26352>>2]+(B(d,i)<<3)|0;while(1){G=j+(c<<3)|0;q=g<<1;b=G+q|0;e=x[b>>1];o=x[G-6>>1];k=x[G+10>>1];b=((e+o|0)+k<<1)-(x[b+16>>1]+x[b-16>>1]|0)>>2;d:{if(k>>>0>o>>>0){b=(b|0)<(k|0)?b:k;k=(b|0)<(o|0)?o:b;break d}b=(b|0)<(o|0)?b:o;k=(b|0)<(k|0)?k:b}b=(B(f,1536)+O|0)+B(c-r|0,6)|0;u[b+2>>1]=k;o=x[(G+(i<<3)|0)+2>>1];J=x[(G+(R<<3)|0)+2>>1];k=(o+(J+e|0)<<1)-(x[q+(G+(s<<3)|0)>>1]+x[q+(G+(K<<3)|0)>>1]|0)>>2;e=b+393218|0;e:{if(o>>>0>J>>>0){b=(k|0)<(o|0)?k:o;b=(b|0)<(J|0)?J:b;break e}b=(k|0)<(J|0)?k:J;b=(b|0)<(o|0)?o:b}u[e>>1]=b;c=c+2|0;if(A>>>0<=c>>>0){break c}if((c|0)<(n|0)){continue}break}}d=d+1|0;if((ba|0)!=(d|0)){continue}}break}e=1;b=r|1;h=i-3|0;if((b|0)<(h|0)){H=S-3|0;V=i+1|0;ga=i-1|0;ha=1-i|0;ia=i^-1;G=r+255|0;T=0;while(1){j=pa;while(1){if((j|0)<(H|0)){J=j-F|0;c=j<<1;o=c&14;n=v[a+26352>>2]+(B(i,j)<<3)|0;A=c+2&14;y=v[a+26336>>2];M=v[a+26028>>2];f=b;while(1){I=B(f-r|0,6);k=B(J,1536);q=B(T,393216);m=I+(k+(q+O|0)|0)|0;E=n+(f<<3)|0;c=f&1;s=M>>>((c|o)<<1)&3;d=2-s|0;f:{if((d|0)!=1){c=d<<1;c=x[m+2>>1]+((((x[c+(E+(ia<<3)|0)>>1]+x[c+(E+(ha<<3)|0)>>1]|0)+x[c+(E+(ga<<3)|0)>>1]|0)+x[c+(E+(V<<3)|0)>>1]-(x[m+1544>>1]+(x[m+1532>>1]+(x[m-1540>>1]+x[m-1528>>1]|0)|0))|0)+1>>2)|0;break f}g=x[E+2>>1];d=M>>>((c|A)<<1)&3;K=2-d<<1;c=K+E|0;c=g+(x[c+8>>1]+x[c-8>>1]-(x[m-4>>1]+x[m+8>>1])>>1)|0;c=(c|0)<65535?c:65535;u[m+K>>1]=(c|0)>0?c:0;c=d<<1;c=g+(x[c+(E+(i<<3)|0)>>1]+x[c+(E+(R<<3)|0)>>1]-(x[m-1534>>1]+x[m+1538>>1])>>1)|0}g=0;c=(c|0)<65535?c:65535;u[m+(d<<1)>>1]=(c|0)>0?c:0;c=s<<1;u[c+m>>1]=x[c+E>>1];W=C(.5);P=C(.5);X=C(.5);if((y|0)>0){while(1){c=(p+32|0)+(g<<2)|0;l=C(x[m+(g<<1)>>1]);W=C(W+C(z[c+32>>2]*l));P=C(P+C(z[c+16>>2]*l));X=C(X+C(z[c>>2]*l));g=g+1|0;if((y|0)!=(g|0)){continue}break}}g=p+80|0;if(C(D(W))0?c:0)<<2)>>2];g=p+80|0;if(C(D(P))0?c:0)<<2)>>2];l=C(C(P-l)*C(12800));g:{if(C(D(l))0?c:0)<<2)>>2];c=I+(k+(q+ka|0)|0)|0;u[c+4>>1]=d;d=c;l=C(C(l-P)*C(32e3));h:{if(C(D(l))>1]=g;l=C(C(C(P*C(116))+C(-16))*C(64));i:{if(C(D(l))>1]=d;f=f+1|0;if(G>>>0>f>>>0&(f|0)<(h|0)){continue}break}j=j+1|0;if((ca|0)!=(j|0)){continue}}break}T=1;c=e;e=0;if(c){continue}break}}U=eb(ma,0,131072);d=r+2|0;V=i-4|0;j:{if((d|0)>=(V|0)){break j}ga=S-4|0;ha=r+254|0;c=oa;while(1){if((c|0)>=(ga|0)){break j}la=c-F|0;i=d;while(1){j=i-r|0;h=(B(la,1536)+ka|0)+B(j,6)|0;Y=u[h+4>>1];f=h-6|0;b=Y-u[f+4>>1]|0;e=B(b,b);Z=u[h+2>>1];b=Z-u[f+2>>1]|0;ja=e+B(b,b)|0;b=Y-u[h+10>>1]|0;e=B(b,b);b=Z-u[h+8>>1]|0;m=e+B(b,b)|0;e=m>>>0>>0?ja:m;_=u[h+393220>>1];b=_-u[h+391684>>1]|0;g=B(b,b);$=u[h+393218>>1];b=$-u[h+391682>>1]|0;E=g+B(b,b)|0;b=_-u[h+394756>>1]|0;g=B(b,b);b=$-u[h+394754>>1]|0;R=g+B(b,b)|0;b=E>>>0>R>>>0?E:R;Q=b>>>0>e>>>0?e:b;ia=u[h+393224>>1];G=u[h+393226>>1];J=u[h+393212>>1];o=u[h+393214>>1];n=u[h+1538>>1];A=u[h+1540>>1];e=u[h>>1];q=e-u[h+1536>>1]|0;S=q>>31;b=h-1536|0;k=u[b+2>>1];I=u[b+4>>1];s=u[h+393222>>1];aa=u[h+393216>>1];T=aa-u[h+393210>>1]|0;b=e-u[b>>1]|0;K=b>>31;g=K+b|0;N=j+(U+(la<<8)|0)|0;f=e-u[f>>1]|0;H=f>>31;e=e-u[h+6>>1]|0;y=e>>31;j=aa-u[h+391680>>1]|0;M=j>>31;b=aa-u[h+394752>>1]|0;h=b>>31;H=H^f+H;f=y^e+y;e=f>>>0>>0?H:f;M=M^j+M;h=h^b+h;b=h>>>0>>0?M:h;y=b>>>0>e>>>0?e:b;if(!(y>>>0>>0|Q>>>0>>0)){t[N|0]=w[N|0]+1}H=aa-s|0;s=T>>31;e=q+S|0;b=g^K;if(!(f>>>0>y>>>0|m>>>0>Q>>>0)){t[N|0]=w[N|0]+1}g=H>>31;j=s+T|0;f=e^S;k:{if(b>>>0>y>>>0){break k}b=Y-I|0;e=B(b,b);b=Z-k|0;if(Q>>>0>>0){break k}t[N|0]=w[N|0]+1}e=g+H|0;j=j^s;l:{if(f>>>0>y>>>0){break l}b=Y-A|0;f=B(b,b);b=Z-n|0;if(Q>>>0>>0){break l}t[N|0]=w[N|0]+1}e=e^g;f=N+65536|0;m:{if(j>>>0>y>>>0){break m}b=_-o|0;g=B(b,b);b=$-J|0;if(Q>>>0>>0){break m}t[f|0]=w[f|0]+1}n:{if(e>>>0>y>>>0){break n}b=_-G|0;e=B(b,b);b=$-ia|0;if(Q>>>0>>0){break n}t[f|0]=w[f|0]+1}if(!(y>>>0>>0|E>>>0>Q>>>0)){t[f|0]=w[f|0]+1}if(!(Q>>>0>>0|h>>>0>y>>>0)){t[f|0]=w[f|0]+1}i=i+1|0;if(ha>>>0>i>>>0&(i|0)<(V|0)){continue}break}c=c+1|0;if((ea|0)!=(c|0)){continue}break}}i=r+3|0;d=na;while(1){if((x[a+26308>>1]-5|0)>(d|0)){k=d-F|0;K=k+1|0;g=k-1|0;c=i;while(1){I=x[a+26310>>1];if((I-5|0)>(c|0)){f=g<<8;b=f+U|0;n=c-r|0;A=n-1|0;q=n+1|0;e=(t[b+A|0]+t[b+n|0]|0)+t[q+b|0]|0;j=k<<8;b=j+U|0;h=((e+t[b+A|0]|0)+t[b+n|0]|0)+t[b+q|0]|0;b=K<<8;e=b+U|0;e=((h+t[e+A|0]|0)+t[e+n|0]|0)+t[e+q|0]|0;s=U+65536|0;f=s+f|0;j=j+s|0;b=b+s|0;b=(((((((t[f+A|0]+t[f+n|0]|0)+t[f+q|0]|0)+t[j+A|0]|0)+t[j+n|0]|0)+t[j+q|0]|0)+t[b+A|0]|0)+t[b+n|0]|0)+t[b+q|0]|0;o:{if((e|0)==(b|0)){f=v[a+26352>>2];b=(B(k,1536)+O|0)+B(n,6)|0;u[f+(B(d,I)+c<<3)>>1]=x[b+393216>>1]+x[b>>1]>>>1;u[((B(x[a+26310>>1],d)+c<<3)+f|0)+2>>1]=x[b+393218>>1]+x[b+2>>1]>>>1;b=x[b+393220>>1]+x[b+4>>1]>>>1|0;break o}f=v[a+26352>>2];b=((B((b|0)>(e|0),393216)+O|0)+B(k,1536)|0)+B(n,6)|0;u[f+(B(d,I)+c<<3)>>1]=x[b>>1];u[((B(x[a+26310>>1],d)+c<<3)+f|0)+2>>1]=x[b+2>>1];b=x[b+4>>1]}u[((B(x[a+26310>>1],d)+c<<3)+f|0)+4>>1]=b;c=c+1|0;if((fa|0)!=(c|0)){continue}}break}d=d+1|0;if((da|0)!=(d|0)){continue}}break}r=r+250|0;i=x[a+26310>>1];if((r|0)<(i-5|0)){fa=fa+250|0;g=x[a+26308>>1];continue}break}g=x[a+26308>>1];c=i}da=da+250|0;ea=ea+250|0;ca=ca+250|0;ba=ba+250|0;F=F+250|0;if((F|0)<((g&65535)-5|0)){continue}break}}$a(O);Ma=p+262224|0}function qP(a,b,c,d,e,f,g,h,i){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,w=0,x=0,z=0,A=0,B=0,C=0,D=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;k=Ma-336|0;Ma=k;m=h;n=i&65535;o=d;q=e&65535;t=(e^i)&-2147483648;B=i>>>16&32767;F=e>>>16&32767;a:{b:{if(B-1>>>0<32766&F-1>>>0<=32765){break b}u=e&2147483647;l=u;j=d;if(!(!j&(l|0)==2147418112?!(b|c):l>>>0<2147418112)){G=d;t=e|32768;break a}u=i&2147483647;e=u;d=h;if(!(!d&(e|0)==2147418112?!(f|g):e>>>0<2147418112)){G=h;t=i|32768;b=f;c=g;break a}if(!(b|j|(l^2147418112|c))){if(!(d|f|(e^2147418112|g))){b=0;c=0;t=2147450880;break a}t=t|2147418112;b=0;c=0;break a}if(!(d|f|(e^2147418112|g))){b=0;c=0;break a}if(!(b|j|(c|l))){b=!(d|f|(e|g));G=b?0:G;t=b?2147450880:t;b=0;c=0;break a}if(!(d|f|(e|g))){t=t|2147418112;b=0;c=0;break a}if((l|0)==65535|l>>>0<65535){i=b;d=!(o|q);h=d<<6;j=E(d?b:o)+32|0;b=E(d?c:q);b=h+((b|0)==32?j:b)|0;Oh(k+320|0,i,c,o,q,b-15|0);p=16-b|0;o=v[k+328>>2];q=v[k+332>>2];c=v[k+324>>2];b=v[k+320>>2]}if(e>>>0>65535){break b}d=!(m|n);e=d<<6;h=E(d?f:m)+32|0;d=E(d?g:n);d=e+((d|0)==32?h:d)|0;Oh(k+304|0,f,g,m,n,d-15|0);p=(d+p|0)-16|0;m=v[k+312>>2];n=v[k+316>>2];f=v[k+304>>2];g=v[k+308>>2]}e=n|65536;D=e;u=m;d=m;j=e<<15|d>>>17;d=d<<15|g>>>17;h=0-d|0;e=j;i=1963258675-(j+((d|0)!=0)|0)|0;rh(k+288|0,d,j,0,0,h,i,0,0);j=v[k+296>>2];rh(k+272|0,0-j|0,0-(v[k+300>>2]+((j|0)!=0)|0)|0,0,0,h,i,0,0);h=v[k+280>>2];i=h<<1|v[k+276>>2]>>>31;h=v[k+284>>2]<<1|h>>>31;rh(k+256|0,i,h,0,0,d,e,0,0);j=h;h=v[k+264>>2];rh(k+240|0,i,j,0,0,0-h|0,0-(v[k+268>>2]+((h|0)!=0)|0)|0,0,0);h=v[k+248>>2];l=v[k+252>>2]<<1|h>>>31;i=h<<1|v[k+244>>2]>>>31;h=l;rh(k+224|0,i,h,0,0,d,e,0,0);h=v[k+232>>2];rh(k+208|0,i,l,0,0,0-h|0,0-(v[k+236>>2]+((h|0)!=0)|0)|0,0,0);h=v[k+216>>2];i=h<<1|v[k+212>>2]>>>31;h=v[k+220>>2]<<1|h>>>31;rh(k+192|0,i,h,0,0,d,e,0,0);j=h;h=v[k+200>>2];rh(k+176|0,i,j,0,0,0-h|0,0-(v[k+204>>2]+((h|0)!=0)|0)|0,0,0);j=d;h=v[k+184>>2];l=v[k+188>>2]<<1|h>>>31;d=h<<1|v[k+180>>2]>>>31;i=d-1|0;l=l-(d>>>0<1)|0;rh(k+160|0,j,e,0,0,i,l,0,0);e=f;rh(k+144|0,e<<15,g<<15|e>>>17,0,0,i,l,0,0);h=v[k+172>>2];n=v[k+160>>2];e=v[k+152>>2];d=n+e|0;m=v[k+164>>2];j=m+v[k+156>>2]|0;j=d>>>0>>0?j+1|0:j;e=d;d=j;n=(m|0)==(j|0)&n>>>0>e>>>0|j>>>0>>0;m=n+v[k+168>>2]|0;j=h;j=m>>>0>>0?j+1|0:j;h=m;m=!d&e>>>0>1|(d|0)!=0;h=h+m|0;j=h>>>0>>0?j+1|0:j;rh(k+112|0,i,l,0,0,0-h|0,0-(((h|0)!=0)+j|0)|0,0,0);rh(k+128|0,1-e|0,0-((e>>>0>1)+d|0)|0,0,0,i,l,0,0);P=(F-B|0)+p|0;e=v[k+116>>2];z=e;d=v[k+112>>2];j=e<<1|d>>>31;m=d<<1;n=j;e=j;i=v[k+140>>2];H=i;h=v[k+136>>2];j=i<<1|h>>>31;i=h<<1|v[k+132>>2]>>>31;d=i+m|0;l=e+j|0;l=d>>>0>>0?l+1|0:l;i=d;d=l;e=i;j=d-(e>>>0<13927)|0;e=e-13927|0;l=j;I=j;h=0;p=h;j=q|65536;B=j;F=o;w=(j&2147483647)<<1|o>>>31;A=x3a(l,h,w,0);h=Pa;r=A;s=h;h=c;L=(h&2147483647)<<1|b>>>31;J=L;x=0;l=(d|0)==(l|0)&e>>>0>>0|d>>>0>l>>>0;m=(d|0)==(n|0)&i>>>0>>0|d>>>0>>0;d=v[k+120>>2];j=v[k+124>>2]<<1|d>>>31;i=H>>>31|0;d=i+(d<<1|z>>>31)|0;j=d>>>0>>0?j+1|0:j;h=d;d=m+d|0;j=d>>>0>>0?j+1|0:j;i=d;d=l+d|0;h=d>>>0>>0?j+1|0:j;i=d-1|0;C=h-(d>>>0<1)|0;m=0;h=x3a(J,x,C,m);d=h+r|0;j=Pa+s|0;j=d>>>0>>0?j+1|0:j;h=j;r=(s|0)==(j|0)&d>>>0>>0|j>>>0>>0;j=0;A=j;z=j;R=0;j=o;Q=c>>>31|0;J=Q|j<<1;M=0;q=x3a(i,z,J,M);l=q+d|0;j=Pa+h|0;j=l>>>0>>0?j+1|0:j;n=l;q=j;j=(h|0)==(j|0)&d>>>0>l>>>0|h>>>0>j>>>0;d=j+r|0;h=0;h=d>>>0>>0?1:h;l=x3a(w,K,C,m);d=l+d|0;j=Pa+h|0;h=d>>>0>>0?j+1|0:j;o=x3a(w,K,i,z);l=Pa;s=d;z=x3a(C,m,J,M);d=z+o|0;j=Pa+l|0;j=d>>>0>>0?j+1|0:j;r=d;d=j;j=(l|0)==(j|0)&o>>>0>r>>>0|j>>>0>>0;o=s+d|0;l=h+j|0;l=o>>>0>>0?l+1|0:l;s=o;o=0;d=o+n|0;j=q+r|0;j=d>>>0>>0?j+1|0:j;h=j;o=(q|0)==(j|0)&n>>>0>d>>>0|j>>>0>>0;q=s+o|0;j=l;N=q;l=o>>>0>q>>>0?j+1|0:j;s=d;n=h;o=b<<1;q=c<<1|b>>>31;O=o&-2;r=x3a(i,A,O,0);h=Pa;z=e;e=x3a(e,0,J,M);d=e+r|0;j=Pa+h|0;j=d>>>0>>0?j+1|0:j;r=(h|0)==(j|0)&d>>>0>>0|h>>>0>j>>>0;h=d;e=j;S=r;H=x3a(I,p,L,x);d=H+d|0;j=Pa+j|0;j=d>>>0>>0?j+1|0:j;H=d;r=d;d=j;j=(j|0)==(e|0)&h>>>0>r>>>0|e>>>0>j>>>0;e=S+j|0;h=0;h=e>>>0>>0?1:h;r=e;e=s+e|0;j=h+n|0;j=e>>>0>>0?j+1|0:j;r=e;h=e;e=j;n=(j|0)==(n|0)&h>>>0>>0|j>>>0>>0;h=n+N|0;j=l;N=h;n=h>>>0>>0?j+1|0:j;K=x3a(w,K,z,T);w=Pa;l=x3a(C,m,O,U);h=l+K|0;j=Pa+w|0;j=h>>>0>>0?j+1|0:j;C=h;l=x3a(L,x,i,A);i=h+l|0;h=j;j=j+Pa|0;j=i>>>0>>0?j+1|0:j;m=i;A=x3a(I,p,J,M);i=i+A|0;l=j+Pa|0;l=i>>>0>>0?l+1|0:l;A=i;i=l;l=0;s=(i|0)==(j|0)&A>>>0>>0|i>>>0>>0;m=(h|0)==(j|0)&C>>>0>m>>>0|h>>>0>j>>>0;j=m+((h|0)==(w|0)&K>>>0>C>>>0|h>>>0>>0)|0;h=0;m=s+j|0;j=m;h=r+i|0;j=(j|l)+e|0;j=h>>>0>>0?j+1|0:j;s=h;m=j;h=(e|0)==(j|0)&h>>>0>>0|e>>>0>j>>>0;e=h+N|0;j=n;C=e;n=e>>>0>>0?j+1|0:j;r=s;w=H;I=x3a(I,p,O,U);p=Pa;h=x3a(L,x,z,T);e=h+I|0;j=Pa+p|0;j=e>>>0>>0?j+1|0:j;l=j;j=0;h=(l|0)==(p|0)&e>>>0>>0|l>>>0

>>0;e=l+w|0;j=(h|j)+d|0;j=e>>>0>>0?j+1|0:j;h=e;s=(d|0)==(j|0)&h>>>0>>0|d>>>0>j>>>0;l=j+A|0;p=0;i=p+h|0;d=i;l=d>>>0

>>0?l+1|0:l;e=(j|0)==(l|0)&d>>>0>>0|j>>>0>l>>>0;d=s+e|0;j=0;j=d>>>0>>0?1:j;e=d;d=d+r|0;j=j+m|0;j=d>>>0>>0?j+1|0:j;e=j;i=(m|0)==(j|0)&d>>>0>>0|j>>>0>>0;h=i+C|0;l=n;l=h>>>0>>0?l+1|0:l;i=l;c:{if((i|0)==131071|i>>>0<131071){j=F;l=B<<1|j>>>31;F=Q|j<<1;B=l|R;rh(k+80|0,d,e,h,i,f,g,u,D);l=b<<17;b=0;c=v[k+88>>2];m=b-c|0;j=v[k+80>>2];s=(j|0)!=0;n=v[k+84>>2];p=s|(n|0)!=0;x=m-p|0;p=(l-(v[k+92>>2]+(b>>>0>>0)|0)|0)-(m>>>0

>>0)|0;m=0-j|0;n=0-(n+s|0)|0;b=P+16382|0;break c}d=(e&1)<<31|d>>>1;j=h<<31|e>>>1;e=j;h=(i&1)<<31|h>>>1;i=i>>>1|0;rh(k+96|0,d,j,h,i,f,g,u,D);o=0;m=v[k+104>>2];n=o-m|0;j=v[k+96>>2];l=(j|0)!=0;q=v[k+100>>2];p=l|(q|0)!=0;x=n-p|0;p=((b<<16)-(v[k+108>>2]+(m>>>0>o>>>0)|0)|0)-(n>>>0

>>0)|0;m=0-j|0;n=0-(l+q|0)|0;o=b;q=c;b=P+16383|0}if((b|0)>=32767){t=t|2147418112;b=0;c=0;break a}d:{if((b|0)>=1){c=x;j=p<<1|c>>>31;x=c<<1|n>>>31;p=j;o=h;q=i&65535|b<<16;b=m;j=n<<1|b>>>31;b=b<<1;break d}if((b|0)<=-113){b=0;c=0;break a}Dp(k- -64|0,d,e,h,i,1-b|0);Oh(k+48|0,o,q,F,B,b+112|0);d=v[k+64>>2];e=v[k+68>>2];o=v[k+72>>2];q=v[k+76>>2];rh(k+32|0,f,g,u,D,d,e,o,q);c=v[k+40>>2];i=c<<1;c=v[k+44>>2]<<1|c>>>31;m=v[k+36>>2];h=m;b=v[k+56>>2];m=h>>>31|i;i=b-m|0;l=v[k+60>>2]-((b>>>0>>0)+c|0)|0;c=v[k+32>>2];h=h<<1|c>>>31;c=c<<1;B=v[k+52>>2];j=B;b=v[k+48>>2];j=(h|0)==(j|0)&c>>>0>b>>>0|h>>>0>j>>>0;x=i-j|0;p=l-(i>>>0>>0)|0;i=b;b=i-c|0;j=B-((c>>>0>i>>>0)+h|0)|0}rh(k+16|0,f,g,u,D,3,0,0,0);rh(k,f,g,u,D,5,0,0,0);i=d;c=e;l=f;f=g;r=o;m=0;h=j+m|0;n=d&1;d=b+n|0;h=d>>>0>>0?h+1|0:h;o=d;g=h;l=(h|0)==(f|0)&d>>>0>l>>>0|f>>>0>>0;d=(h|0)==(m|0)&n>>>0>d>>>0|h>>>0>>0;b=d+x|0;j=p;j=b>>>0>>0?j+1|0:j;h=b;f=j;d=(h|0)==(u|0)&(j|0)==(D|0)?l:(D|0)==(j|0)&h>>>0>u>>>0|j>>>0>D>>>0;b=i+d|0;j=e;j=b>>>0>>0?j+1|0:j;d=b;b=j;e=(j|0)==(c|0)&d>>>0>>0|c>>>0>j>>>0;c=r+e|0;j=q;i=c;j=i>>>0>>0?j+1|0:j;c=j;e=d;l=i;d=v[k+20>>2];m=(d|0)==(g|0)&y[k+16>>2]>>0|d>>>0>>0;d=v[k+28>>2];i=v[k+24>>2];i=j>>>0<2147418112&((h|0)==(i|0)&(d|0)==(f|0)?m:(d|0)==(f|0)&i>>>0>>0|d>>>0>>0);d=e+i|0;j=b;j=d>>>0>>0?j+1|0:j;i=d;d=j;e=(j|0)==(b|0)&e>>>0>i>>>0|b>>>0>j>>>0;b=l+e|0;j=c;j=b>>>0>>0?j+1|0:j;e=j;l=b;b=v[k+4>>2];g=(b|0)==(g|0)&y[k>>2]>>0|b>>>0>>0;b=v[k+12>>2];c=v[k+8>>2];c=j>>>0<2147418112&((c|0)==(h|0)&(b|0)==(f|0)?g:(b|0)==(f|0)&c>>>0>>0|b>>>0>>0);b=c+i|0;j=d;j=b>>>0>>0?j+1|0:j;c=j;f=(d|0)==(j|0)&b>>>0>>0|d>>>0>j>>>0;d=l+f|0;j=e;G=d|G;t=t|(d>>>0>>0?j+1|0:j)}v[a>>2]=b;v[a+4>>2]=c;v[a+8>>2]=G;v[a+12>>2]=t;Ma=k+336|0}function dJ(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,z=0,A=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;m=Ma-16|0;Ma=m;q=v[a+736>>2];l=v[a+104>>2];n=v[l+28>>2];v[m+4>>2]=0;s=6;a:{if(!w[a+733|0]|!q){break a}b:{if(!e){break b}h=v[c+4>>2];s=0;if((e|0)!=1){f=e&-2;while(1){j=s<<3;k=j+d|0;i=h+j|0;v[k>>2]=v[i>>2]<<6;v[k+4>>2]=v[i+4>>2]<<6;j=j|8;k=j+d|0;j=h+j|0;v[k>>2]=v[j>>2]<<6;v[k+4>>2]=v[j+4>>2]<<6;s=s+2|0;f=f-2|0;if(f){continue}break}}if(!(e&1)){break b}f=s<<3;j=f+d|0;f=f+h|0;v[j>>2]=v[f>>2]<<6;v[j+4>>2]=v[f+4>>2]<<6}s=0;if(y[q+68>>2]<=b>>>0){break a}f=v[q+72>>2];h=b+1|0;if(v[f+(b<<2)>>2]==v[f+(h<<2)>>2]){break a}r=yb(n,8,0,e,0,m+12|0);c:{if(v[m+12>>2]){break c}p=yb(n,8,0,e,0,m+12|0);if(v[m+12>>2]){break c}s=yb(n,1,0,e,0,m+12|0);if(v[m+12>>2]){break c}f=v[q+72>>2];h=v[f+(h<<2)>>2];b=v[f+(b<<2)>>2];f=Mb(l,b);v[m+12>>2]=f;if(f){break c}f=h-b|0;b=Ed(l,f);v[m+12>>2]=b;if(b){break c}j=v[l>>2];k=v[l+32>>2];I=yb(n,4,0,v[q>>2],0,m+12|0);b=0;d:{e:{if(v[m+12>>2]){break e}R=yb(n,4,0,v[q>>2],0,m+12|0);if(v[m+12>>2]){break e}S=yb(n,4,0,v[q>>2],0,m+12|0);if(v[m+12>>2]){break e}h=ae(l);f:{i=ae(l);if(i>>>0<=f>>>0){V=h&4095;if(f>>>0>=V<<2>>>0){break f}}v[m+12>>2]=8;break e}F=i+(k-j|0)|0;if(h&32768){j=v[l+32>>2];f=v[l>>2];b=v[l+36>>2];v[l+32>>2]=b-f>>>0>F>>>0?f+F|0:b;b=WA(l,v[q+76>>2],m+4|0);k=v[l+32>>2];h=v[l>>2];f=j-f|0;j=v[l+36>>2];v[l+32>>2]=f>>>0>>0?h+f|0:j;F=k-h|0}J=yb(n,4,0,e,0,m+12|0);g:{if(v[m+12>>2]){break g}K=yb(n,4,0,e,0,m+12|0);if(v[m+12>>2]){break g}h:{if(!e){break h}h=v[c+4>>2];if((e|0)!=1){f=e&-2;while(1){j=g<<3;k=j+r|0;i=h+j|0;v[k>>2]=v[i>>2]<<16;v[k+4>>2]=v[i+4>>2]<<16;j=j|8;k=j+r|0;j=h+j|0;v[k>>2]=v[j>>2]<<16;v[k+4>>2]=v[j+4>>2]<<16;g=g+2|0;f=f-2|0;if(f){continue}break}}if(!(e&1)){break h}f=g<<3;g=f+r|0;f=f+h|0;v[g>>2]=v[f>>2]<<16;v[g+4>>2]=v[f+4>>2]<<16}if(V){_=e-2|0;$=e-3|0;T=e-4|0;aa=v[m+4>>2];ea=e&-4;fa=e&3;W=e-1|0;ga=W>>>0<3;i=0;while(1){ha=ae(l);i:{j:{k:{l:{m:{f=ae(l);n:{if(f&32768){g=0;if(!v[q>>2]){break n}while(1){la=(g<<2)+I|0,ma=ae(l)<<16>>16<<2,v[la>>2]=ma;g=g+1|0;if(g>>>0>2]){continue}break}break n}h=f&4095;if(h>>>0>=y[q+60>>2]){break m}g=h;h=v[q>>2];cb(I,v[q+64>>2]+(B(g,h)<<2)|0,h<<2)}o:{if(!(f&16384)){break o}g=0;if(!v[q>>2]){break o}while(1){la=(g<<2)+R|0,ma=ae(l)<<16>>16<<2,v[la>>2]=ma;g=g+1|0;h=v[q>>2];if(g>>>0>>0){continue}break}g=0;if(!h){break o}while(1){la=(g<<2)+S|0,ma=ae(l)<<16>>16<<2,v[la>>2]=ma;g=g+1|0;if(g>>>0>2]){continue}break}}k=g$(q,f,I,R,S);if(!k){break i}ia=v[l+32>>2];X=v[l>>2];h=v[l+36>>2];v[l+32>>2]=h-X>>>0>F>>>0?X+F|0:h;p:{if(f&8192){L=WA(l,v[q+76>>2],m+8|0);h=v[m+8>>2];f=L;break p}v[m+8>>2]=aa;h=aa;L=i;f=b}g=h?h:e;M=eJ(l,v[q+76>>2],g);j=f;N=eJ(l,v[q+76>>2],g);if(!M|(!f|!N)){break j}q:{if((j|0)!=-1){if(!e){break k}g=0;f=ea;if(!ga){break q}break l}g=0;if(!e){break j}while(1){f=g<<2;h=f+K|0;j=v[h>>2];i=f+J|0;o=v[i>>2];A=xb(v[f+M>>2],k);f=xb(v[f+N>>2],k);r:{if(g>>>0>>0){v[i>>2]=o+A;v[h>>2]=f+j;break r}if(!(w[a+740|0]&4|(g|0)!=(T|0))){v[i>>2]=o+A;break r}if(!(w[a+740|0]&2|(g|0)!=($|0))){v[i>>2]=o+A;break r}if(!(w[a+740|0]&32|(g|0)!=(_|0))){v[h>>2]=f+j;break r}if(w[a+740|0]&16|(g|0)!=(W|0)){break r}v[h>>2]=f+j}g=g+1|0;if((g|0)!=(e|0)){continue}break}break j}while(1){t[g+s|0]=0;i=g<<3;o=i+p|0;i=i+r|0;A=v[i+4>>2];v[o>>2]=v[i>>2];v[o+4>>2]=A;i=g|1;t[i+s|0]=0;i=i<<3;o=i+p|0;i=i+r|0;A=v[i+4>>2];v[o>>2]=v[i>>2];v[o+4>>2]=A;i=g|2;t[i+s|0]=0;i=i<<3;o=i+p|0;i=i+r|0;A=v[i+4>>2];v[o>>2]=v[i>>2];v[o+4>>2]=A;i=g|3;t[i+s|0]=0;i=i<<3;o=i+p|0;i=i+r|0;A=v[i+4>>2];v[o>>2]=v[i>>2];v[o+4>>2]=A;g=g+4|0;f=f-4|0;if(f){continue}break}break l}v[m+12>>2]=8;break g}f=fa;if(!f){break k}while(1){t[g+s|0]=0;i=g<<3;o=i+p|0;i=i+r|0;A=v[i+4>>2];v[o>>2]=v[i>>2];v[o+4>>2]=A;g=g+1|0;f=f-1|0;if(f){continue}break}}g=0;if(h){while(1){f=x[j+(g<<1)>>1];if(f>>>0>>0){t[f+s|0]=1;f=(f<<3)+p|0;i=g<<2;la=f,ma=xb(v[i+M>>2],k)+v[f>>2]|0,v[la>>2]=ma;la=f,ma=xb(v[i+N>>2],k)+v[f+4>>2]|0,v[la+4>>2]=ma}g=g+1|0;if((h|0)!=(g|0)){continue}break}}h=0;U=0;if(x[c>>1]){Y=p+4|0;O=r+4|0;while(1){D=u[v[c+12>>2]+(U<<1)>>1];s:{if((D|0)<(h|0)){break s}o=D+1|0;i=h;while(1){t:{f=i+1|0;if(w[i+s|0]){g=i;j=g;u:{v:{if((g|0)<(D|0)){while(1){A=g;g=f;k=j;w:{if(!w[s+f|0]){break w}f=j;k=g;if((f|0)>=(A|0)){break w}j=f+1|0;z=v[r+(f<<3)>>2]>v[r+(g<<3)>>2];P=z?f:g;Q=P<<3;k=v[Q+p>>2];H=z?g:f;Z=H<<3;E=v[Z+p>>2];C=v[r+Q>>2];z=v[r+Z>>2];if(!((C|0)==(z|0)&(k|0)!=(E|0))){ba=0;if((z|0)!=(C|0)){ba=Ub(k-E|0,C-z|0)}ja=k-C|0;ka=E-z|0;f=j;while(1){k=f;ca=f<<3;f=v[r+ca>>2];x:{if((f|0)<=(z|0)){G=f+ka|0;break x}G=f+ja|0;if((f|0)>=(C|0)){break x}G=xb(f-z|0,ba)+E|0}v[p+ca>>2]=G;f=k+1|0;if((k|0)!=(A|0)){continue}break}}k=v[O+Z>>2]>v[O+Q>>2];z=(k?H:P)<<3;f=v[z+Y>>2];k=(k?P:H)<<3;E=v[k+Y>>2];C=v[z+O>>2];z=v[k+O>>2];if((C|0)==(z|0)){k=g;if((f|0)!=(E|0)){break w}}G=0;if((z|0)!=(C|0)){G=Ub(f-E|0,C-z|0)}P=f-C|0;Q=E-z|0;while(1){f=j;H=f<<3;j=v[H+O>>2];y:{if((j|0)<=(z|0)){k=j+Q|0;break y}k=j+P|0;if((j|0)>=(C|0)){break y}k=xb(j-z|0,G)+E|0}v[H+Y>>2]=k;j=f+1|0;if((f|0)!=(A|0)){continue}break}k=g}j=k;f=g+1|0;if((g|0)!=(D|0)){continue}break}if((i|0)!=(j|0)){break v}f=o}g=i<<3;k=g+p|0;g=g+r|0;j=v[k>>2]-v[g>>2]|0;k=v[k+4>>2]-v[g+4>>2]|0;if(!(j|k)){h=f;break s}if((h|0)>=(i|0)){break u}g=h+1|0;if(i-h&1){h=(h<<3)+p|0;v[h>>2]=j+v[h>>2];v[h+4>>2]=k+v[h+4>>2];h=g}if((g|0)==(i|0)){break u}while(1){g=(h<<3)+p|0;v[g>>2]=j+v[g>>2];v[g+4>>2]=k+v[g+4>>2];v[g+12>>2]=k+v[g+12>>2];v[g+8>>2]=j+v[g+8>>2];h=h+2|0;if((i|0)!=(h|0)){continue}break}break u}f$(j+1|0,D,j,i,r,p);if((i|0)<1){break t}f$(h,i-1|0,j,i,r,p);break t}if((i|0)>=(D|0)){h=f;break s}g=i^-1;if(D-i&1){i=i+1|0;h=(i<<3)+p|0;v[h>>2]=j+v[h>>2];v[h+4>>2]=k+v[h+4>>2]}if((g|0)==(0-D|0)){h=f;break s}while(1){h=(i<<3)+p|0;v[h+8>>2]=j+v[h+8>>2];v[h+12>>2]=k+v[h+12>>2];i=i+2|0;h=(i<<3)+p|0;v[h>>2]=j+v[h>>2];v[h+4>>2]=k+v[h+4>>2];if((i|0)!=(D|0)){continue}break}h=f;break s}g=(i|0)==(D|0);i=f;if(!g){continue}}break}h=o}U=U+1|0;if((U|0)>1]){continue}break}}g=0;if(!e){break j}while(1){f=g<<3;h=f+p|0;j=f+r|0;f=v[h+4>>2]-v[j+4>>2]|0;h=v[h>>2]-v[j>>2]|0;i=g<<2;j=i+K|0;k=v[j>>2];i=i+J|0;o=v[i>>2];z:{if(g>>>0>>0){v[i>>2]=h+o;v[j>>2]=f+k;break z}if(!(w[a+740|0]&4|(g|0)!=(T|0))){v[i>>2]=h+o;break z}if(!(w[a+740|0]&2|(g|0)!=($|0))){v[i>>2]=h+o;break z}if(!(w[a+740|0]&32|(g|0)!=(_|0))){v[j>>2]=f+k;break z}if(w[a+740|0]&16|(g|0)!=(W|0)){break z}v[j>>2]=f+k}g=g+1|0;if((g|0)!=(e|0)){continue}break}}i=-1;if((L|0)!=-1){if(L){Qa[v[n+8>>2]](n,L)}i=0}f=n;if(M){Qa[v[f+8>>2]](f,M)}if(N){Qa[v[n+8>>2]](n,N)}f=ia-X|0;h=v[l>>2];g=v[l+36>>2];v[l+32>>2]=f>>>0>>0?f+h|0:g}F=F+ha|0;da=da+1|0;if((da|0)!=(V|0)){continue}break}}if(!e){break g}c=v[c+4>>2];g=0;while(1){f=g<<3;a=f+d|0;h=g<<2;j=h+J|0;v[a>>2]=v[a>>2]+(v[j>>2]+512>>10);h=h+K|0;v[a+4>>2]=v[a+4>>2]+(v[h>>2]+512>>10);a=c+f|0;v[a>>2]=v[a>>2]+(v[j>>2]+32768>>16);v[a+4>>2]=v[a+4>>2]+(v[h>>2]+32768>>16);g=g+1|0;if((g|0)!=(e|0)){continue}break}}a=n;if(J){Qa[v[a+8>>2]](a,J)}if(K){Qa[v[n+8>>2]](n,K)}if((b|0)==-1){break d}}if(b){Qa[v[n+8>>2]](n,b)}}a=n;if(I){Qa[v[a+8>>2]](a,I)}if(R){Qa[v[a+8>>2]](a,R)}if(S){Qa[v[n+8>>2]](n,S)}dd(l)}if(r){Qa[v[n+8>>2]](n,r)}if(p){Qa[v[n+8>>2]](n,p)}if(s){Qa[v[n+8>>2]](n,s)}s=v[m+12>>2]}Ma=m+16|0;return s}function AH(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0,A=0,C=0,D=0;u=Ma-16|0;Ma=u;if(c){g=Fk(v[a+8>>2],v[a+52>>2],c)}else{g=0}a:{b:{k=v[a+380>>2];if(k){v[a+380>>2]=v[k+24>>2];v[a+376>>2]=v[a+376>>2]-1;v[k>>2]=0;v[k+4>>2]=0;v[k+40>>2]=0;v[k+44>>2]=0;v[k+32>>2]=0;v[k+36>>2]=0;v[k+24>>2]=0;v[k+28>>2]=0;v[k+16>>2]=0;v[k+20>>2]=0;v[k+8>>2]=0;v[k+12>>2]=0;v[k+4>>2]=2;f=v[a+52>>2];v[k+20>>2]=f;i=v[a+8>>2];v[k+36>>2]=g;v[k+32>>2]=i;c:{if(v[a+364>>2]){v[k+8>>2]=b;break c}d:{if(!b){g=0;break d}g=b;while(1){f=g;g=f+1|0;if(w[f|0]){continue}break}g=0;f=f-b|0;if((f|0)<0){break d}i=Qa[v[256555]](f+1|0)|0;if(!i){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break d}g=cb(i,b,f);t[f+g|0]=0}v[k+8>>2]=g;f=v[a+52>>2]}g=v[f+44>>2];e:{if(!g){v[f+44>>2]=k;break e}while(1){f=g;g=v[f+24>>2];if(g){continue}break}v[f+24>>2]=k;v[k+28>>2]=f}if(!v[291069]){break b}g=v[291066];if(!g){break b}Qa[g|0](k);break b}if(b){k=VX(v[a+52>>2],g,b,v[a+364>>2]!=0);if(k){break b}}if(v[a+172>>2]==-1?v[a+212>>2]:0){break a}v[a+212>>2]=1;v[a+172>>2]=-1;v[a+84>>2]=2;v[u>>2]=237015;nb(0,0,0,a,0,1,2,3,237015,0,0,0,340689,u);break a}f:{if(v[a+32>>2]?1:v[a+16>>2]){if(!d){break f}g=fA(a,d,e-d|0);v[k+16>>2]=g;v[k+12>>2]=g;if(!g){break f}f=v[k+32>>2];v[g+20>>2]=k;v[g+32>>2]=f;break f}if(w[e|0]){g=fA(a,d,e-d|0);v[k+16>>2]=g;v[k+12>>2]=g;if(!g){break f}f=v[k+32>>2];v[g+20>>2]=k;v[g+32>>2]=f;break f}o=v[a+8>>2];f=e-d|0;m=Ma-112|0;Ma=m;g=d;g:{if(!g){break g}h=Qa[v[256552]](36)|0;if(!h){v[m>>2]=239706;nb(0,0,0,0,0,29,2,3,239706,0,0,0,340689,m);break g}v[h+20>>2]=0;v[h+4>>2]=0;v[h+28>>2]=0;v[h+32>>2]=0;i=v[256554];v[h+24>>2]=0;v[h+12>>2]=i;v[h+8>>2]=0;v[h+16>>2]=0;v[h>>2]=0;if((i&-2)!=2){v[h+12>>2]=4}h:{i:{j:{if((f|0)<1){break j}s=d+f|0;y=m+103|0;z=m+106|0;A=m+105|0;x=m+104|0;l=d;while(1){k:{f=w[l|0];l:{if((f|0)!=38){if(!f){break k}l=l+1|0;break l}if((g|0)!=(l|0)){if(ij(h,g,l-g|0)){break i}}j=l+2|0;q=s>>>0<=j>>>0;m:{if(!(q|w[l+1|0]!=35|w[j|0]!=120)){g=0;j=0;n:{i=l+3|0;if(s>>>0<=i>>>0){break n}j=w[i|0];if((j|0)!=59){break n}i=i+1|0;break m}while(1){l=-48;o:{if((j-48&255)>>>0<10){break o}if((j-97&255)>>>0<6){l=-87;break o}l=-55;if((j-65&255)>>>0<6){break o}v[m+48>>2]=0;nb(0,0,0,0,o,2,1300,2,0,0,0,0,342614,m+48|0);g=0;break m}f=j&255;j=0;g=f+((g<<4)+l|0)|0;i=i+1|0;if(s>>>0>i>>>0){j=w[i|0]}if((j&255)!=59){continue}break}i=i+1|0;break m}p:{q:{r:{s:{f=l+1|0;if(f>>>0>=s>>>0){break s}i=w[f|0];if((i|0)==35){g=0;l=0;t:{u:{if(q){break u}l=w[j|0];if((l|0)!=59){break u}break t}while(1){if((l-48&255)>>>0>9){break q}g=B(g,10)+(l&255)|0;l=0;g=g-48|0;j=j+1|0;if(s>>>0>j>>>0){l=w[j|0]}if((l&255)!=59){continue}break}}f=1;break p}q=s-l|0;g=1;while(1){i=i&255;if(!i){break s}if((i|0)==59){break r}g=g+1|0;if((q|0)==(g|0)){break s}i=w[g+l|0];continue}}v[m+80>>2]=f;nb(0,0,0,0,o,2,1302,2,f,0,0,0,339769,m+80|0);break i}if((g|0)!=1){n=Qa[v[256555]](g)|0;v:{if(!n){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break v}i=f;f=g-1|0;C=cb(n,i,f)+f|0,D=0,t[C|0]=D}w:{x:{if(!o){break x}f=v[o+44>>2];y:{if(!f){break y}f=v[f+48>>2];if(!f){break y}j=le(f,n,0,0);if(j){break w}}if(v[o+40>>2]==1){break x}f=v[o+48>>2];if(!f){break x}f=v[f+48>>2];if(!f){break x}j=le(f,n,0,0);if(j){break w}}j=vi(n)}z:{if(!(!j|v[j+48>>2]!=6)){if(v[h+32>>2]){break i}f=v[j+40>>2];i=v[h+8>>2];if(!((i|0)==v[h+24>>2]|i>>>0>2147483646)){v[h+24>>2]=i}i=v[h+4>>2];if(!((i|0)==v[h+20>>2]|i>>>0>2147483646)){v[h+20>>2]=i}j=v[h+12>>2];if(!f|(j|0)==2){break h}if(!ij(h,f,-1)){break z}break i}A:{if(v[h+32>>2]){f=p;break A}f=v[h+8>>2];if(!((f|0)==v[h+24>>2]|f>>>0>2147483646)){v[h+24>>2]=f}f=v[h+20>>2];i=v[h+4>>2];if(!((f|0)==(i|0)|i>>>0>2147483646)){v[h+20>>2]=i;f=i}if(!f){f=p;break A}B:{f=Qa[v[256552]](60)|0;if(f){v[f>>2]=0;v[f+4>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;v[f+4>>2]=3;v[f+56>>2]=0;v[f+48>>2]=0;v[f+52>>2]=0;v[f+40>>2]=0;v[f+44>>2]=0;v[f+32>>2]=0;v[f+36>>2]=0;v[f+24>>2]=0;v[f+28>>2]=0;v[f+16>>2]=0;v[f+20>>2]=0;v[f+8>>2]=874220;C:{if(!v[291069]){break C}i=v[291066];if(!i){break C}Qa[i|0](f)}v[f+32>>2]=o;i=0;if(!(v[h+32>>2]|(v[h+28>>2]|v[h+12>>2]==2))){v[h+20>>2]=0;v[h+24>>2]=0;v[h+4>>2]=0;v[h+8>>2]=0;i=v[h>>2];v[h>>2]=0}v[f+40>>2]=i;if(p){break B}r=f;break A}v[m+96>>2]=225270;nb(0,0,0,0,0,2,2,3,225270,0,0,0,340689,m+96|0);if(!n){break i}Qa[v[256556]](n);break i}f=Ms(p,f)}p=LH(o,n);if(!p){if(!n){break i}Qa[v[256556]](n);break i}D:{if(v[j+12>>2]|!j){break D}i=Yz(o,v[p+40>>2]);v[j+68>>2]=1;v[j+12>>2]=i;if(!i){break D}while(1){q=i;v[i+20>>2]=j;i=v[i+24>>2];if(i){continue}break}v[j+16>>2]=q}if(!f){r=p;break z}p=Ms(f,p)}Qa[v[256556]](n)}l=(g+l|0)+1|0;g=l;break l}v[m+64>>2]=0;nb(0,0,0,0,o,2,1301,2,0,0,0,0,342651,m- -64|0);g=0;f=0}i=f+j|0}l=i;if(!g){g=l;break l}E:{F:{G:{H:{if((g|0)>=128){f=m;q=g;I:{if((g|0)<2048){j=0;i=192;n=6;break I}if((g|0)<65536){j=6;i=224;n=12;break I}if((g|0)>=1114112){break G}j=12;i=240;n=18}t[f+102|0]=q>>>n|i;t[m+103|0]=g>>j&63|128;i=x;f=(j>>>0)/6|0;if(f){break H}break F}t[m+102|0]=g;f=1;break E}t[m+104|0]=g>>j-6&63|128;i=A;if((f+y|0)==(x|0)){break F}t[m+105|0]=g>>j-12&63|128;i=z;break F}v[m+32>>2]=g;nb(0,0,0,0,0,1,9,3,0,0,0,g,343805,m+32|0);f=0;break E}f=i-(m+102|0)|0}t[f+(m+102|0)|0]=0;if(v[h+32>>2]){break i}g=v[h+8>>2];if(!((g|0)==v[h+24>>2]|g>>>0>2147483646)){v[h+24>>2]=g}g=v[h+4>>2];if(!((g|0)==v[h+20>>2]|g>>>0>2147483646)){v[h+20>>2]=g}if(v[h+12>>2]==2){break i}g=l;if(ij(h,m+102|0,-1)){break i}}if(l>>>0>>0){continue}}break}if((g|0)==(l|0)){break j}if(ij(h,g,l-g|0)){break i}}J:{K:{if(v[h+32>>2]){break K}g=v[h+8>>2];if(!((g|0)==v[h+24>>2]|g>>>0>2147483646)){v[h+24>>2]=g}g=v[h+20>>2];f=v[h+4>>2];if((g|0)==(f|0)|f>>>0>2147483646){f=g}else{v[h+20>>2]=f}if(!f){break K}f=Qa[v[256552]](60)|0;if(!f){break J}v[f>>2]=0;v[f+4>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;v[f+4>>2]=3;v[f+56>>2]=0;v[f+48>>2]=0;v[f+52>>2]=0;v[f+40>>2]=0;v[f+44>>2]=0;v[f+32>>2]=0;v[f+36>>2]=0;v[f+24>>2]=0;v[f+28>>2]=0;v[f+16>>2]=0;v[f+20>>2]=0;v[f+8>>2]=874220;L:{if(!v[291069]){break L}g=v[291066];if(!g){break L}Qa[g|0](f)}v[f+32>>2]=o;g=0;if(!(v[h+32>>2]|(v[h+28>>2]|v[h+12>>2]==2))){v[h+20>>2]=0;v[h+24>>2]=0;v[h+4>>2]=0;v[h+8>>2]=0;g=v[h>>2];v[h>>2]=0}v[f+40>>2]=g;if(!p){r=f;break i}Ms(p,f);break i}if(r){break i}r=RX(349015);if(!r){r=0;break i}v[r+32>>2]=o;break i}v[m+16>>2]=225270;nb(0,0,0,0,0,2,2,3,225270,0,0,0,340689,m+16|0)}j=v[h+12>>2]}M:{N:{if((j|0)==3){l=v[h+16>>2];if(l){break N}l=v[h>>2];if(l){break N}break M}l=v[h>>2];if(!l|(j|0)==2){break M}}Qa[v[256556]](l)}Qa[v[256556]](h)}Ma=m+112|0;f=r;v[k+12>>2]=f;if(!f){break f}i=v[k+32>>2];while(1){g=f;v[f+20>>2]=k;v[f+32>>2]=i;f=v[f+24>>2];if(f){continue}break}v[k+16>>2]=g}if(w[a+276|0]&8){break a}O:{if(!v[a+16>>2]){if(v[a+96>>2]!=2){break O}break a}if(v[a+216>>2]){break a}}P:{if(!(v[a+312>>2]!=(c|0)|w[b|0]!=105|(w[b+2|0]|w[b+1|0]!=100))){g=Ek(d,e-d|0);Ev(a+108|0,v[a+8>>2],g,k);break P}if(Rz(v[a+8>>2],v[a+52>>2],k)){g=0;Q:{if(!d){break Q}b=e-d|0;if((b|0)<0){break Q}g=Qa[v[256555]](b+1|0)|0;if(!g){g=0;nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break Q}C=cb(g,d,b)+b|0,D=0,t[C|0]=D}Ev(a+108|0,v[a+8>>2],g,k);break P}if(!rX(v[a+8>>2],v[a+52>>2],k)){break a}g=0;R:{if(!d){break R}b=e-d|0;if((b|0)<0){break R}g=Qa[v[256555]](b+1|0)|0;if(!g){g=0;nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break R}C=cb(g,d,b)+b|0,D=0,t[C|0]=D}tX(a+108|0,v[a+8>>2],g,k)}if(!g){break a}Qa[v[256556]](g)}Ma=u+16|0}function DTa(a){a=a|0;var 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=C(0),p=0,q=0,r=0,s=0,t=0,A=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=C(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;j=Ma-2944|0;Ma=j;i=x[a+26306>>1];a:{if(x[a+26308>>1]){k=j+2944|0;m=v[249419];while(1){b:{if((Qa[v[v[a>>2]>>2]](v[a+4>>2],j+1824|0,1,B(i,5)>>>2|0)|0)>=(B(x[a+26306>>1],5)>>>2|0)){break b}if(!v[a+26160>>2]){v[j+16>>2]=v[a+25208>>2];vb(m,8292,j+16|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,m);v[a+26160>>2]=1;break b}b=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[j>>2]=b;v[j+4>>2]=b>>31;vb(m,14622,j)}v[a+26160>>2]=1}c=j+1824|0;b=j+32|0;while(1){d=w[c+1|0];u[b>>1]=w[c|0]<<2|d>>>6;u[b+2>>1]=d>>>4&3|w[c+2|0]<<2;u[b+4>>1]=d>>>2&3|w[c+3|0]<<2;u[b+6>>1]=d&3|w[c+4|0]<<2;d=w[c+9|0];u[b+8>>1]=d&3|w[c+5|0]<<2;u[b+10>>1]=d>>>2&3|w[c+6|0]<<2;u[b+12>>1]=d>>>4&3|w[c+7|0]<<2;u[b+14>>1]=w[c+8|0]<<2|d>>>6;b=b+16|0;c=c+10|0;if(k>>>0>c>>>0){continue}break}c:{if(!x[a+26310>>1]){b=0;break c}f=n<<1&14;g=v[a+26028>>2];d=v[a+26352>>2];c=0;while(1){b=x[a+26316>>1];u[(d+(B(x[a+26320>>1],n>>b)+(c>>>b|0)<<3)|0)+((g>>>((f|c&1)<<1)&3)<<1)>>1]=x[(j+32|0)+(c<<1)>>1];c=c+1|0;b=x[a+26310>>1];if(c>>>0>>0){continue}break}}i=x[a+26306>>1];if(i>>>0>b>>>0){d=v[a+26120>>2];c=b;g=i-b&3;if(g){while(1){d=x[(j+32|0)+(c<<1)>>1]+d|0;c=c+1|0;g=g-1|0;if(g){continue}break}}if((b^-1)+i>>>0>=3){while(1){f=d;d=(j+32|0)+(c<<1)|0;d=(((f+x[d>>1]|0)+x[d+2>>1]|0)+x[d+4>>1]|0)+x[d+6>>1]|0;c=c+4|0;if((i|0)!=(c|0)){continue}break}}v[a+26120>>2]=d}d=n+2|0;c=x[a+26308>>1];n=(d|0)>(c|0)?1:d;h=h+1|0;if(h>>>0>>0){continue}break}break a}b=x[a+26310>>1]}d=b&65535;if(d>>>0>>0){v[a+26120>>2]=(y[a+26120>>2]/(B(i-d|0,c)>>>0)|0)-4}if(c){i=0;while(1){d=b&65535;b=0;if(d){m=i&3;k=i<<1&14;f=v[a+26120>>2];g=v[a+26028>>2];h=v[a+26352>>2];c=0;while(1){b=x[a+26316>>1];d=c&1;b=(h+(B(x[a+26320>>1],i>>>b|0)+(c>>>b|0)<<3)|0)+((g>>>((d|k)<<1)&3)<<1)|0;l=x[b>>1]-f|0;u[b>>1]=B(u[(m<<2|d<<1)+195200>>1],(l|0)>0?l:0)>>>9;c=c+1|0;b=x[a+26310>>1];if(c>>>0>>0){continue}break}c=x[a+26308>>1]}i=i+1|0;if(i>>>0<(c&65535)>>>0){continue}break}}v[a+59284>>2]=990864727;v[a+59288>>2]=992074238;b=a+59292|0;v[b>>2]=990247735;v[b+4>>2]=986488926;e=Ma-112|0;v[e+104>>2]=0;v[e+108>>2]=0;v[e+56>>2]=0;v[e+60>>2]=0;v[e+48>>2]=0;v[e+52>>2]=0;v[e+40>>2]=0;v[e+44>>2]=0;v[e+32>>2]=0;v[e+36>>2]=0;v[e+24>>2]=0;v[e+28>>2]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;v[e>>2]=0;v[e+4>>2]=0;f=a;N=+z[a+25996>>2]+.5;d:{if(D(N)<2147483648){a=~~N;break d}a=-2147483648}b=150;e:{if((a|0)<10){break e}b=20;if((a|0)>12){break e}b=B(a,-20)+280|0}a=0;d=x[f+26308>>1];c=0;f:{if(d>>>0<29){break f}T=x[f+26310>>1];c=0;if(T>>>0<11){break f}da=d-14|0;o=z[f+25992>>2];E=o!=C(0)?80:b;U=E<<2;p=v[f+26028>>2];Q=x[f+26320>>1];H=x[f+26316>>1];q=v[f+26352>>2];r=14;while(1){V=B(r>>>H|0,Q);b=r+3|0;W=B(b>>>H|0,Q);a=r+2|0;X=B(a>>>H|0,Q);c=r|1;Y=B(c>>>H|0,Q);d=e- -64|0;b=b<<2;Z=p>>>b&3;ea=d|Z<<2;a=a<<2&24;_=p>>>a&3;fa=d|_<<2;$=p>>>(b&28|2)&3;ga=d|$<<2;aa=p>>>(a|2)&3;ha=d|aa<<2;b=c<<2;ba=p>>>b&3;ia=d|ba<<2;a=r<<2&24;ca=p>>>a&3;ja=d|ca<<2;n=p>>>(a|2)&3;i=d|n<<2;l=p>>>(b&28|2)&3;m=d|l<<2;O=10;while(1){b=O>>>H|0;v[ja>>2]=x[(q+(b+V<<3)|0)+(ca<<1)>>1];a=(O|1)>>>H|0;v[i>>2]=x[(q+(a+V<<3)|0)+(n<<1)>>1];v[ia>>2]=x[(q+(b+Y<<3)|0)+(ba<<1)>>1];v[m>>2]=x[(q+(a+Y<<3)|0)+(l<<1)>>1];v[fa+16>>2]=x[(q+(b+X<<3)|0)+(_<<1)>>1];v[ha+16>>2]=x[(q+(a+X<<3)|0)+(aa<<1)>>1];v[ea+16>>2]=x[(q+(b+W<<3)|0)+(Z<<1)>>1];v[ga+16>>2]=x[(q+(a+W<<3)|0)+($<<1)>>1];I=v[e+64>>2];g:{if(I-150>>>0>1350){break g}J=v[e+68>>2];if(J-150>>>0>1350){break g}K=v[e+72>>2];if(K-150>>>0>1350){break g}L=v[e+76>>2];if(L-150>>>0>1350){break g}s=v[e+80>>2];if(s-150>>>0>1350){break g}F=v[e+84>>2];if(F-150>>>0>1350){break g}t=v[e+88>>2];if(t-150>>>0>1350){break g}G=v[e+92>>2];if(G-150>>>0>1350){break g}a=I-s|0;b=a>>31;if((b^a+b)>>>0>50){break g}a=J-F|0;b=a>>31;if((b^a+b)>>>0>50){break g}a=K-t|0;b=a>>31;if((b^a+b)>>>0>50){break g}a=L-G|0;b=a>>31;if((b^a+b)>>>0>50){break g}c=(L-K<<10)/(K|0)|0;h:{i:{j:{k:{l:{P=(J-I<<10)/(I|0)|0;M=P;m:{n:{o:{h=o!=C(0);if(h){a=-104;if((c|0)<-104){break o}a=12;b=0;if((c|0)<13){break n}break o}if(c+264>>>0>=726){b=(G-t<<10)/(t|0)|0;g=(F-s<<10)/(s|0)|0;R=0;d=2;break l}a=-50;if((c|0)<-50){break o}d=307;g=1;if((c|0)<=307){d=c;g=0;b=0;if((c|0)<197){break n}}c=d;a=(B(c,48)>>>10|0)-123|0;break m}c=a;b=1}g=b;a=-38-(B(c,398)>>10)|0}p:{if(!((M|0)<(a-E|0)|g|(a+20|0)<(P|0))){R=1;d=0;break p}R=0;g=a-P|0;b=g>>31;d=2;if((b^b+g)>=(U|0)){break p}b=a;a=(g|0)>-20?g:-20;P=b-((a|0)>(E|0)?E:a)|0;d=1}a=(G-t<<10)/(t|0)|0;g=(F-s<<10)/(s|0)|0;if(!h){b=a;break l}h=-104;if((a|0)<-104){break k}A=0;h=12;if((a|0)<13){break j}break k}if(b+264>>>0>725){h=2;A=0;break h}h=-50;if((b|0)<-50){break k}a=307;A=1;q:{if((b|0)>307){break q}A=0;a=b;if((a|0)>=197){break q}break j}b=(B(a,48)>>>10|0)-123|0;break i}A=1;a=h}b=-38-(B(a,398)>>10)|0}r:{if(!(A|(b-E|0)>(g|0)|(b+20|0)<(g|0))){A=1;M=0;break r}A=0;h=b-g|0;k=h>>31;M=2;if((k^h+k)>=(U|0)){break r}g=b;b=(h|0)>-20?h:-20;g=g-((b|0)>(E|0)?E:b)|0;M=1}h=M;b=a}a=d|h;if(a>>>0>1){break g}if(!R){L=B(c+1024|0,K)>>10;v[e+76>>2]=L;J=B(P+1024|0,I)>>10;v[e+68>>2]=J}if(!A){G=B(b+1024|0,t)>>10;v[e+92>>2]=G;F=B(g+1024|0,s)>>10;v[e+84>>2]=F}b=e+(a<<5)|0;v[b>>2]=v[b>>2]+I;v[b+4>>2]=v[b+4>>2]+J;v[b+8>>2]=v[b+8>>2]+K;v[b+12>>2]=v[b+12>>2]+L;v[b+16>>2]=v[b+16>>2]+s;v[b+20>>2]=v[b+20>>2]+F;v[b+24>>2]=v[b+24>>2]+t;v[b+28>>2]=v[b+28>>2]+G;a=(e+104|0)+(a<<2)|0;v[a>>2]=v[a>>2]+1}O=O+2|0;if(T>>>0>O>>>0){continue}break}r=r+4|0;if((da|0)>(r|0)){continue}break}a=v[e+108>>2];c=v[e+104>>2]}b=c;if(b|a){a=e+(((B(b,200)|0)<(a|0))<<5)|0;z[f+59284>>2]=C(1)/C(v[a+16>>2]+v[a>>2]|0);z[f+59288>>2]=C(1)/C(v[a+20>>2]+v[a+4>>2]|0);z[f+59292>>2]=C(1)/C(v[a+24>>2]+v[a+8>>2]|0);z[f+59296>>2]=C(1)/C(v[a+28>>2]+v[a+12>>2]|0)}o=z[f+59292>>2];S=C(z[f+59288>>2]/o);N=+S;o=C(z[f+59296>>2]/o);d=+o<.8789;b=d&(S>C(1)&N<=1.28);c=!(S<=C(2))|!(N>1.28);a=c?b:3;s:{if(c|d){break s}a=b;if(!(o<=C(2))){break s}a=4}c=0;v[f+26132>>2]=0;i=v[f+26336>>2];t:{if((i|0)<1){break t}l=z[f+25992>>2]!=C(0)?5:a;n=i&3;m=i-1|0;if(m>>>0>=3){b=i&-4;h=f+59348|0;d=B(l,24)+195056|0;while(1){z[h+(c<<2)>>2]=C(u[d+(c<<1)>>1])*C(.0009765625);a=c|1;z[h+(a<<2)>>2]=C(u[d+(a<<1)>>1])*C(.0009765625);a=c|2;z[h+(a<<2)>>2]=C(u[d+(a<<1)>>1])*C(.0009765625);a=c|3;z[h+(a<<2)>>2]=C(u[d+(a<<1)>>1])*C(.0009765625);c=c+4|0;b=b-4|0;if(b){continue}break}}if(n){a=B(l,24);while(1){z[(f+(c<<2)|0)+59348>>2]=C(u[(a+(c<<1)|0)+195056>>1])*C(.0009765625);c=c+1|0;n=n-1|0;if(n){continue}break}}g=i&1;u:{if(!m){c=0;break u}a=i&-2;c=0;k=f+59364|0;h=B(l,24);while(1){d=c<<2;b=h+(c<<1)|0;z[d+k>>2]=C(u[b+195064>>1])*C(.0009765625);z[k+(d|4)>>2]=C(u[b+195066>>1])*C(.0009765625);c=c+2|0;a=a-2|0;if(a){continue}break}}if(g){z[(f+(c<<2)|0)+59364>>2]=C(u[(B(l,24)+(c<<1)|0)+195064>>1])*C(.0009765625)}g=i&1;v:{if(!m){c=0;break v}a=i&-2;c=0;k=f+59380|0;h=B(l,24);while(1){d=c<<2;b=h+(c<<1)|0;z[d+k>>2]=C(u[b+195072>>1])*C(.0009765625);z[k+(d|4)>>2]=C(u[b+195074>>1])*C(.0009765625);c=c+2|0;a=a-2|0;if(a){continue}break}}if(!g){break t}z[(f+(c<<2)|0)+59380>>2]=C(u[(B(l,24)+(c<<1)|0)+195072>>1])*C(.0009765625)}a=v[f+26120>>2];v[f+26120>>2]=0;v[f+26124>>2]=B(1023-a|0,1109)>>>9;Ma=j+2944|0}function DDa(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,n=0,o=0,p=0,q=0;f=Ma-32|0;Ma=f;o=1;j=v[b+540>>2];a:{if((d|0)<1){c=0;break a}i=d&3;b:{if(d-1>>>0<3){c=0;d=0;break b}n=d&-4;c=0;d=0;while(1){h=1;l=d<<3;m=v[l+e>>2]-1768386662|0;if(m){if((m|0)==13){k=1}}else{c=1}g=c;c=v[(l|8)+e>>2]-1768386662|0;if(c){if((c|0)==13){k=1}h=g}c=1;m=v[(l|16)+e>>2]-1768386662|0;if(m){if((m|0)==13){k=1}g=h}else{g=1}h=v[(l|24)+e>>2]-1768386662|0;if(h){if((h|0)==13){k=1}c=g}d=d+4|0;n=n-4|0;if(n){continue}break}}if(!i){break a}g=c;while(1){h=v[(d<<3)+e>>2]-1768386662|0;if(h){if((h|0)==13){k=1}c=g}else{c=1}d=d+1|0;g=c;i=i-1|0;if(i){continue}break}}c:{if(v[v[b+128>>2]+52>>2]){break c}if(_s(b,1735162214)){break c}if(_s(b,1128678944)){break c}o=(_s(b,1128678962)|0)!=0}d=1;e=Qa[v[b+516>>2]](b,1935829368,a,0)|0;h=(e|0)!=0&o;d:{e:{f:{if(h){break f}i=v[j+68>>2];if(!i){break f}g=0;i=Qa[i|0](b,a)|0;d=(i|0)!=0;if(i){break f}if(e){break e}}e=Qa[v[j+24>>2]](b,a)|0;v[f+28>>2]=e;g=d;if(e){break d}}d=Qa[v[b+516>>2]](b,1128418371,a,0)|0;e=Qa[v[b+516>>2]](b,1128416340,a,0)|0;if((x[b+178>>1]-16&65535)>>>0>=16369){v[f+28>>2]=8;break d}d=h&((d|0)!=0&(e|0)!=0);Qa[v[j+36>>2]](b,a)|0;Qa[v[j+32>>2]](b,a)|0;Qa[v[j+48>>2]](b,a)|0;i=Qa[v[j+44>>2]](b,a)|0;g:{if(!g){e=d;break g}e=Qa[v[j+28>>2]](b,a,0)|0;v[f+28>>2]=e;h:{i:{j:{if(!e){g=Qa[v[j+92>>2]](b,a,0)|0;v[f+28>>2]=g;if((g&255)!=142){break i}v[f+28>>2]=147;e=v[v[b+128>>2]+52>>2];if(!e){break d}if(v[v[e>>2]+8>>2]){break j}break d}if((e&255)!=142){break d}e=0;if(v[b+148>>2]==1953658213){break h}v[f+28>>2]=143;e=v[v[b+128>>2]+52>>2];if(!e|!v[v[e>>2]+8>>2]){break d}}u[b+250>>1]=0;e=d;break h}e=d;if(g){break d}}d=Qa[v[j+28>>2]](b,a,1)|0;v[f+28>>2]=d;k:{l:{if(d){break l}d=Qa[v[j+92>>2]](b,a,1)|0;v[f+28>>2]=d;if(d){break l}t[b+292|0]=1;break k}if((d&255)!=142){break d}}if(!(Qa[v[j+40>>2]](b,a)|0)){break g}u[b+372>>1]=65535}d=v[j+96>>2];if(d){Qa[d|0](b,a)|0}d=v[j+112>>2];if(d){Qa[d|0](b,a)|0;Qa[v[j+116>>2]](b,a)|0}Qa[v[j+64>>2]](b,a)|0;Qa[v[j+60>>2]](b,a)|0;Qa[v[j+56>>2]](b,a)|0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+16>>2]=x[b+264>>1];a=b+24|0;d=b+20|0;m:{if(!(!(t[b+437|0]&1)|x[b+372>>1]==65535)){n:{if(!(c&255)){c=zl(b,16,d);v[f+28>>2]=c;if(c){break d}if(v[d>>2]){break n}}c=zl(b,1,d);v[f+28>>2]=c;if(c){break d}}if(!(k&255)){c=zl(b,17,a);v[f+28>>2]=c;if(c){break d}}if(v[a>>2]){break m}a=zl(b,2,a);v[f+28>>2]=a;if(!a){break m}break d}g=zl(b,21,d);v[f+28>>2]=g;if(g){break d}h=v[d>>2];if(!(h|c&255)){c=zl(b,16,d);v[f+28>>2]=c;if(c){break d}h=v[d>>2]}if(!h){c=zl(b,1,d);v[f+28>>2]=c;if(c){break d}}c=zl(b,22,a);v[f+28>>2]=c;if(c){break d}d=v[a>>2];if(!(d|k&255)){c=zl(b,17,a);v[f+28>>2]=c;if(c){break d}d=v[a>>2]}if(d){break m}a=zl(b,2,a);v[f+28>>2]=a;if(a){break d}}d=v[b+8>>2];a=e|((v[b+872>>2]?0:(v[b+796>>2]&-2)!=2)?d:d|16384);d=a|24;d=i?d:v[b+476>>2]==196608?d:a|536;a=v[b+488>>2]?d|4:d;a=w[b+292|0]?a|32:a;d=v[b+820>>2]?a|64:a;a=b;if(t[a+740|0]&1){if(_s(b,1735162214)){d=_s(b,1735811442)?d|256:d}d=_s(b,1128678962)?d|256:d}v[a+8>>2]=d;a=b;o:{if(!(!e|x[b+372>>1]==65535)){c=x[b+436>>1];c=c>>>4&2|(c&513)!=0;break o}c=x[b+204>>1];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=c>>>4&252645135|(c&252645135)<<4;c=c>>>2&858993459|(c&858993459)<<2;c=(c>>>1|(c&1073741824)<<1)>>>30|0}v[a+12>>2]=c|v[b+12>>2];a=Ma-224|0;Ma=a;e=gb(40);v[e>>2]=0;i=v[b+508>>2];v[a+216>>2]=i;p:{q:{r:{if(!v[a+216>>2]){break r}c=v[b+512>>2];if(c>>>0<4){break r}v[a+216>>2]=v[a+216>>2]+2;v[a+216>>2]=v[a+216>>2]+2;v[a+220>>2]=w[v[a+216>>2]-1|0]|w[v[a+216>>2]-2|0]<<8;if(!v[a+220>>2]){break r}h=4;k=c+i|0;while(1){if(k>>>0>2]+8>>>0){break r}v[a+216>>2]=v[a+216>>2]+2;c=w[v[a+216>>2]-2|0];d=w[v[a+216>>2]-1|0];v[a+216>>2]=v[a+216>>2]+2;u[a+208>>1]=d|c<<8;c=w[v[a+216>>2]-2|0];d=w[v[a+216>>2]-1|0];v[a+216>>2]=v[a+216>>2]+4;v[a+200>>2]=b;v[a+204>>2]=0;u[a+210>>1]=d|c<<8;c=w[v[a+216>>2]-1|0]|(w[v[a+216>>2]-3|0]<<16|w[v[a+216>>2]-4|0]<<24|w[v[a+216>>2]-2|0]<<8);if(!(!c|c>>>0>v[b+512>>2]-2>>>0)){v[a+196>>2]=c+i;c=v[a+196>>2];v[a+192>>2]=w[c+1|0]|w[c|0]<<8;v[a+188>>2]=520320;s:{if(!v[v[a+188>>2]>>2]){break s}while(1){t:{v[a+184>>2]=v[v[a+188>>2]>>2];if(v[v[a+184>>2]+40>>2]==v[a+192>>2]){v[a+4>>2]=0;v[296803]=0;v[a+164>>2]=v[a+196>>2];v[a+168>>2]=k;v[a+172>>2]=0;v[a+176>>2]=0;c=v[296803];v[296803]=0;d=-1;u:{if(!c){break u}g=v[296804];if(!g){break u}d=pb(v[c>>2],e,h);if(!d){break q}Q(g|0)}c=P()|0;if((d|0)!=1){v[a+180>>2]=x[b+264>>1];e=be(a+8|0,1,e,h);h=P()|0;c=0}while(1){if(!c){c=v[v[a+184>>2]+44>>2];v[296803]=0;l=Y(c|0,v[a+196>>2],a+8|0)|0;c=v[296803];v[296803]=0;d=-1;v:{if(!c){break v}g=v[296804];if(!g){break v}d=pb(v[c>>2],e,h);if(!d){break q}Q(g|0)}c=P()|0;if((d|0)==1){continue}v[a+4>>2]=l}if(v[a+176>>2]){break s}v[296803]=0;l=V(2408,v[a+184>>2],v[a+196>>2],a+200|0,a|0)|0;c=v[296803];v[296803]=0;d=-1;w:{if(!c){break w}g=v[296804];if(!g){break w}d=pb(v[c>>2],e,h);if(!d){break q}Q(g|0)}c=P()|0;if((d|0)==1){continue}break}break t}v[a+188>>2]=v[a+188>>2]+4;if(v[v[a+188>>2]>>2]){continue}break s}break}if(l){break s}v[v[a>>2]+20>>2]=v[a+4>>2]}}v[a+220>>2]=v[a+220>>2]-1;if(v[a+220>>2]){continue}break}}$a(e);Ma=a+224|0;break p}$a(e);tc(c,g);L()}g=v[b+36>>2];x:{if((g|0)>=1){i=v[b+40>>2];h=0;d=0;while(1){a=v[i+(d<<2)>>2];c=u[a+10>>1];e=518784;y:{z:{A:{B:{switch(x[a+8>>1]){case 0:e=518796;break A;case 1:if(c){break z}e=518808;break A;case 2:break A;case 3:break B;default:break z}}e=c&65535;if(e>>>0>=11|!(1151>>>e&1)){break z}e=v[(c<<2)+518916>>2]}c=a;a=v[e+8>>2];v[c+4>>2]=a;if((a|0)!=1970170211&(a|0)!=1937337698){break y}h=1;break y}v[a+4>>2]=0}d=d+1|0;if((g|0)!=(d|0)){continue}break}if(h&255){break x}}v[f>>2]=b;v[f+4>>2]=1970170211;v[f+8>>2]=65539;a=gk(520256,0,f,0);v[f+28>>2]=a;C:{if(!a){break C}a=a&255;if((a|0)==163){break C}if((a|0)!=7){break d}}v[f+28>>2]=0}a=v[b+800>>2];D:{if(!a){break D}e=v[v[b+104>>2]+28>>2];k=x[b+178>>1];if(!k|x[b+372>>1]==65535){k=1;c=1}else{c=x[b+374>>1]}p=b,q=yb(e,16,0,a,0,f+28|0),v[p+32>>2]=q;if(v[f+28>>2]){break d}g=yb(e,4,0,a,0,f+28|0);if(v[f+28>>2]){break d}l=k>>>1|0;o=c<<16>>16;i=0;d=0;while(1){c=v[b+32>>2];h=Qa[v[j+108>>2]](b,d,f)|0;v[f+28>>2]=h;E:{if(h){break E}c=c+(i<<4)|0;u[c>>1]=v[f+20>>2]>>>6;h=x[f>>1];v[c+8>>2]=h<<6;u[c+2>>1]=(l+B(h,o)|0)/(k|0);n=x[f+2>>1];m=n<<6;v[c+4>>2]=m;v[c+12>>2]=m;if(!h|!n){break E}v[g+(i<<2)>>2]=d;i=i+1|0}d=d+1|0;if((a|0)!=(d|0)){continue}break}a=yb(e,4,a,i,g,f+28|0);if(!i){break D}v[b+804>>2]=a;v[b+28>>2]=i;v[b+8>>2]=v[b+8>>2]|2}d=v[b+8>>2];if(!(d&3)){d=d|1;v[b+8>>2]=d}if(!(d&1)){break d}u[b+68>>1]=x[b+178>>1];v[b+52>>2]=u[b+196>>1];v[b+56>>2]=u[b+198>>1];v[b+60>>2]=u[b+200>>1];v[b- -64>>2]=u[b+202>>1];d=x[b+372>>1];F:{if(!(!(w[b+436|0]&128)|(d|0)==65535)){a=x[b+442>>1];u[b+70>>1]=a;c=x[b+444>>1];u[b+72>>1]=c;u[b+74>>1]=x[b+446>>1]+(a-c|0);break F}a=x[b+220>>1];u[b+70>>1]=a;c=x[b+222>>1];u[b+72>>1]=c;u[b+74>>1]=x[b+224>>1]+(a-c|0);if(a|c|(d|0)==65535){break F}a=x[b+442>>1];c=x[b+444>>1];if(a|c){u[b+72>>1]=c;u[b+70>>1]=a;u[b+74>>1]=x[b+446>>1]+(a-c|0);break F}a=x[b+448>>1];u[b+70>>1]=a;c=a;a=x[b+450>>1];u[b+74>>1]=c+a;u[b+72>>1]=0-a}u[b+76>>1]=x[b+226>>1];u[b+78>>1]=x[(w[b+292|0]?306:74)+b>>1];a=u[b+486>>1];u[b+82>>1]=a;u[b+80>>1]=x[b+484>>1]+((a|0)/-2|0)}Ma=f+32|0;return v[f+28>>2]}function HL(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{c:{d:{switch(b|0){case 1:b=v[a+8>>2];f=12-b|0;e:{if((f|0)<=0){c=v[a+28>>2];break e}c=v[a+28>>2];d=v[a>>2];while(1){v[a+8>>2]=0;b=d<>2]=b;g=a;f:{g:{if((c|0)!=255){if(b&134217728){d=c+1|0;v[a+28>>2]=d;if((d|0)==255){v[a>>2]=b&134217727;b=v[a+24>>2];c=v[b+8>>2];h:{i:{if(c&7){break i}d=v[b+64>>2];if(!((d|0)<0|(d|0)>v[b+60>>2])){v[b+8>>2]=c|4;break i}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=b;b=v[b+24>>2];v[c+24>>2]=b+1;t[b|0]=255;break h}if((Cb(b,255)|0)!=-1){break h}}v[a+36>>2]=v[a+36>>2]|1}v[a+32>>2]=v[a+28>>2];b=v[a>>2];c=b>>>20&255;v[a+28>>2]=c;d=b&1048575;break g}j:{if((c|0)<-1){break j}b=v[a+24>>2];c=v[b+8>>2];k:{if(c&7){break k}e=v[b+64>>2];if(!((e|0)<0|(e|0)>v[b+60>>2])){v[b+8>>2]=c|4;break k}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=b;b=v[b+24>>2];v[c+24>>2]=b+1;t[b|0]=d;break j}if((Cb(b,d&255)|0)!=-1){break j}}v[a+36>>2]=v[a+36>>2]|1}v[a+32>>2]=v[a+28>>2];b=v[a>>2];c=b>>>19&255;v[a+28>>2]=c;d=b&524287;b=8;break f}l:{if((c|0)<0){break l}b=v[a+24>>2];d=v[b+8>>2];m:{if(d&7){break m}e=v[b+64>>2];if(!((e|0)<0|(e|0)>v[b+60>>2])){v[b+8>>2]=d|4;break m}v[b+4>>2]=v[b+4>>2]|32;d=v[b+28>>2];v[b+28>>2]=d-1;if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=b;b=v[b+24>>2];v[d+24>>2]=b+1;t[b|0]=c;break l}if((Cb(b,c&255)|0)!=-1){break l}}v[a+36>>2]=v[a+36>>2]|1}v[a+32>>2]=v[a+28>>2];b=v[a>>2];c=b>>>19&255;v[a+28>>2]=c;d=b&524287;b=8;break f}b=v[a+24>>2];c=v[b+8>>2];n:{o:{if(c&7){break o}d=v[b+64>>2];if(!((d|0)<0|(d|0)>v[b+60>>2])){v[b+8>>2]=c|4;break o}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=b;b=v[b+24>>2];v[c+24>>2]=b+1;t[b|0]=255;break n}if((Cb(b,255)|0)!=-1){break n}}v[a+36>>2]=v[a+36>>2]|1}v[a+32>>2]=v[a+28>>2];b=v[a>>2];c=b>>>20&255;v[a+28>>2]=c;d=b&1048575}b=7}v[g+8>>2]=b;v[a>>2]=d;f=f-b|0;if((f|0)>0){continue}break}}if((c|0)==255){break c}b=v[a>>2];if(b&134217728){d=c+1|0;v[a+28>>2]=d;if((d|0)==255){v[a>>2]=b&134217727;b=v[a+24>>2];c=v[b+8>>2];p:{q:{if(c&7){break q}d=v[b+64>>2];if(!((d|0)<0|(d|0)>v[b+60>>2])){v[b+8>>2]=c|4;break q}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=b;b=v[b+24>>2];v[c+24>>2]=b+1;t[b|0]=255;break p}if((Cb(b,255)|0)!=-1){break p}}v[a+36>>2]=v[a+36>>2]|1}v[a+8>>2]=7;v[a+32>>2]=v[a+28>>2];b=v[a>>2];v[a>>2]=b&1048575;v[a+28>>2]=b>>>20&255;return}r:{if((c|0)<-1){break r}b=v[a+24>>2];c=v[b+8>>2];s:{if(c&7){break s}e=v[b+64>>2];if(!((e|0)<0|(e|0)>v[b+60>>2])){v[b+8>>2]=c|4;break s}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=b;b=v[b+24>>2];v[c+24>>2]=b+1;t[b|0]=d;break r}if((Cb(b,d&255)|0)!=-1){break r}}v[a+36>>2]=v[a+36>>2]|1}break a}t:{if((c|0)<0){break t}b=v[a+24>>2];d=v[b+8>>2];u:{if(d&7){break u}e=v[b+64>>2];if(!((e|0)<0|(e|0)>v[b+60>>2])){v[b+8>>2]=d|4;break u}v[b+4>>2]=v[b+4>>2]|32;d=v[b+28>>2];v[b+28>>2]=d-1;if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=b;b=v[b+24>>2];v[d+24>>2]=b+1;t[b|0]=c;break t}if((Cb(b,c&255)|0)!=-1){break t}}v[a+36>>2]=v[a+36>>2]|1}break a;case 0:break d;default:break b}}c=v[a>>2];b=c|65535;c=(b>>>0>2]>>>0?b:b-32768|0)<>2];v[a>>2]=c;b=a;g=b;d=v[b+28>>2];v:{w:{if((d|0)!=255){if(c&134217728){e=d+1|0;v[a+28>>2]=e;if((e|0)==255){v[a>>2]=c&134217727;c=v[a+24>>2];d=v[c+8>>2];x:{y:{if(d&7){break y}e=v[c+64>>2];if(!((e|0)<0|(e|0)>v[c+60>>2])){v[c+8>>2]=d|4;break y}v[c+4>>2]=v[c+4>>2]|32;d=v[c+28>>2];v[c+28>>2]=d-1;if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=c;c=v[c+24>>2];v[b+24>>2]=c+1;t[c|0]=255;break x}if((Cb(c,255)|0)!=-1){break x}}v[a+36>>2]=v[a+36>>2]|1}v[a+32>>2]=v[a+28>>2];c=v[a>>2];d=c>>>20&255;v[a+28>>2]=d;c=c&1048575;break w}z:{if((d|0)<-1){break z}c=v[a+24>>2];d=v[c+8>>2];A:{if(d&7){break A}f=v[c+64>>2];if(!((f|0)<0|(f|0)>v[c+60>>2])){v[c+8>>2]=d|4;break A}v[c+4>>2]=v[c+4>>2]|32;d=v[c+28>>2];v[c+28>>2]=d-1;if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=c;c=v[c+24>>2];v[b+24>>2]=c+1;t[c|0]=e;break z}if((Cb(c,e&255)|0)!=-1){break z}}v[a+36>>2]=v[a+36>>2]|1}v[a+32>>2]=v[a+28>>2];c=v[a>>2];d=c>>>19&255;v[a+28>>2]=d;c=c&524287;e=8;break v}B:{if((d|0)<0){break B}c=v[a+24>>2];e=v[c+8>>2];C:{if(e&7){break C}f=v[c+64>>2];if(!((f|0)<0|(f|0)>v[c+60>>2])){v[c+8>>2]=e|4;break C}v[c+4>>2]=v[c+4>>2]|32;e=v[c+28>>2];v[c+28>>2]=e-1;if((e|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=c;c=v[c+24>>2];v[b+24>>2]=c+1;t[c|0]=d;break B}if((Cb(c,d&255)|0)!=-1){break B}}v[a+36>>2]=v[a+36>>2]|1}v[a+32>>2]=v[a+28>>2];c=v[a>>2];d=c>>>19&255;v[a+28>>2]=d;c=c&524287;e=8;break v}c=v[a+24>>2];d=v[c+8>>2];D:{E:{if(d&7){break E}e=v[c+64>>2];if(!((e|0)<0|(e|0)>v[c+60>>2])){v[c+8>>2]=d|4;break E}v[c+4>>2]=v[c+4>>2]|32;d=v[c+28>>2];v[c+28>>2]=d-1;if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=c;c=v[c+24>>2];v[b+24>>2]=c+1;t[c|0]=255;break D}if((Cb(c,255)|0)!=-1){break D}}v[a+36>>2]=v[a+36>>2]|1}v[a+32>>2]=v[a+28>>2];c=v[a>>2];d=c>>>20&255;v[a+28>>2]=d;c=c&1048575}e=7}v[g+8>>2]=e;b=c<>2]=b;e=a;F:{G:{if((d|0)!=255){if(b&134217728){c=d+1|0;v[a+28>>2]=c;if((c|0)==255){v[a>>2]=b&134217726;b=v[a+24>>2];c=v[b+8>>2];H:{I:{if(c&7){break I}d=v[b+64>>2];if(!((d|0)<0|(d|0)>v[b+60>>2])){v[b+8>>2]=c|4;break I}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=b;b=v[b+24>>2];v[c+24>>2]=b+1;t[b|0]=255;break H}if((Cb(b,255)|0)!=-1){break H}}v[a+36>>2]=v[a+36>>2]|1}v[a+32>>2]=v[a+28>>2];c=v[a>>2];b=c>>>20&255;v[a+28>>2]=b;c=c&1048575;break G}b=v[a+24>>2];d=v[b+8>>2];J:{K:{if(d&7){break K}f=v[b+64>>2];if(!((f|0)<0|(f|0)>v[b+60>>2])){v[b+8>>2]=d|4;break K}v[b+4>>2]=v[b+4>>2]|32;d=v[b+28>>2];v[b+28>>2]=d-1;if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=b;b=v[b+24>>2];v[d+24>>2]=b+1;t[b|0]=c;break J}if((Cb(b,c)|0)!=-1){break J}}v[a+36>>2]=v[a+36>>2]|1}v[a+32>>2]=v[a+28>>2];c=v[a>>2];b=c>>>19&255;v[a+28>>2]=b;c=c&524287;d=8;break F}b=v[a+24>>2];c=v[b+8>>2];L:{M:{if(c&7){break M}f=v[b+64>>2];if(!((f|0)<0|(f|0)>v[b+60>>2])){v[b+8>>2]=c|4;break M}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=b;b=v[b+24>>2];v[c+24>>2]=b+1;t[b|0]=d;break L}if((Cb(b,d)|0)!=-1){break L}}v[a+36>>2]=v[a+36>>2]|1}v[a+32>>2]=v[a+28>>2];c=v[a>>2];b=c>>>19&255;v[a+28>>2]=b;c=c&524287;d=8;break F}b=v[a+24>>2];c=v[b+8>>2];N:{O:{if(c&7){break O}d=v[b+64>>2];if(!((d|0)<0|(d|0)>v[b+60>>2])){v[b+8>>2]=c|4;break O}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=b;b=v[b+24>>2];v[c+24>>2]=b+1;t[b|0]=255;break N}if((Cb(b,255)|0)!=-1){break N}}v[a+36>>2]=v[a+36>>2]|1}v[a+32>>2]=v[a+28>>2];c=v[a>>2];b=c>>>20&255;v[a+28>>2]=b;c=c&1048575}d=7}v[e+8>>2]=d;v[a>>2]=c;if((b|0)==255){break c}c=v[a+24>>2];d=v[c+8>>2];P:{Q:{if(d&7){break Q}e=v[c+64>>2];if(!((e|0)<0|(e|0)>v[c+60>>2])){v[c+8>>2]=d|4;break Q}v[c+4>>2]=v[c+4>>2]|32;d=v[c+28>>2];v[c+28>>2]=d-1;if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;d=c;c=v[c+24>>2];v[d+24>>2]=c+1;t[c|0]=b;break P}if((Cb(c,b)|0)!=-1){break P}}v[a+36>>2]=v[a+36>>2]|1}v[a+8>>2]=8;v[a+32>>2]=v[a+28>>2];b=v[a>>2];v[a>>2]=b&524287;v[a+28>>2]=b>>>19&255}return}S();L()}v[a+8>>2]=8;v[a+32>>2]=v[a+28>>2];b=v[a>>2];v[a>>2]=b&524287;v[a+28>>2]=b>>>19&255}function pE(a,b){var 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;h=Ma+-64|0;Ma=h;v[h+56>>2]=0;v[h+48>>2]=0;v[h+52>>2]=0;v[h+40>>2]=0;v[h+44>>2]=0;v[h+32>>2]=0;v[h+36>>2]=0;o=jd(h+32|0,971028);l=o;f=v[l>>2];v[h+4>>2]=0;v[h+8>>2]=0;v[h>>2]=f;pc(h+16|0,h+12|0,0,4);v[h+24>>2]=0;p=kR(h,l);l=a;a=0;f=Ma-48|0;Ma=f;v[f+40>>2]=0;v[f+44>>2]=v[279250];c=v[b>>2];a:{if(c){while(1){d=v[c+8>>2];if((a|0)<0|(d|0)<=(a|0)){break a}c=v[c+12>>2];j=ye(c+a|0,38);if(!j){break a}j=j-c|0;if((j|0)<0|(d|0)<=(j|0)){break a}k=ye(c+j|0,59);if(!k){break a}m=k-c|0;if((m|0)<0){break a}c=f+32|0;Pp(c,b,a,j-a|0);k=Cd(f+40|0,c);a=v[f+32>>2];v[f+32>>2]=0;b:{if(!a){break b}c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(c){break b}c=v[a+4>>2];if(!c){v[a+4>>2]=-32767}if(!c){Qa[v[v[a>>2]+4>>2]](a)}}c:{d:{e:{f:{n=m-j|0;a=n-1|0;if(a){Pp(f+32|0,b,j+1|0,a);a=0;c=v[f+32>>2];c=v[(c?c+12|0:1117e3)>>2];d=w[c|0];if(d){if((d|0)==35){v[f+28>>2]=0;g:{if((w[c+1|0]|32)==120){a=Hx(c+2|0,f+28|0,16);break g}a=Hx(c+1|0,f+28|0,10)}if(v[f+28>>2]){d=f+8|0;c=f+21|0;eg(d,c,Sj(a,c)-c|0);Cd(k,d);a=v[f+8>>2];v[f+8>>2]=0;if(!a){break d}c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(c){break d}c=v[a+4>>2];if(!c){v[a+4>>2]=-32767}if(!c){Qa[v[v[a>>2]+4>>2]](a)}break d}a=f+8|0;Pp(a,b,j,n+1|0);Cd(k,a);a=v[f+8>>2];v[f+8>>2]=0;if(!a){break d}c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(c){break d}c=v[a+4>>2];if(!c){v[a+4>>2]=-32767}if(!c){Qa[v[v[a>>2]+4>>2]](a)}break d}while(1){a=d&255^a^a<<6;d=w[c+1|0];c=c+1|0;if(d){continue}break}}c=v[v[h+12>>2]+((a>>>0)%y[h+8>>2]<<2)>>2];if(c){while(1){if(v[c+12>>2]==(a|0)){d=v[c+16>>2];h:{if(d){d=Qa[v[v[d>>2]+36>>2]](d,f+32|0,-1)|0;break h}d=v[f+32>>2];if(!d){break f}d=v[d+12>>2];if(!d){break f}d=w[d|0]?-1:0}if(!d){break f}}c=v[c+8>>2];if(c){continue}break}}i:{if(t[1184756]&1){break i}if(!ie(1184756)){break i}a=Ma-32|0;Ma=a;j:{if(t[1184788]&1){break j}if(!ie(1184788)){break j}v[296194]=0;v[296195]=0;v[296192]=0;v[296193]=0;v[296190]=0;v[296191]=0;v[296196]=0;jd(1184760,971028);he(1184788)}k:{if(v[296191]){break k}d=wj(a+16|0,60);i=Oc(a+8|0,231492);e=no(1184760,i)+24|0;c=v[d>>2];l:{if(c){Qa[v[v[c>>2]+28>>2]](a+24|0,c,1);break l}v[a+24>>2]=0}jb(e,a+24|0);c=v[a+24>>2];v[a+24>>2]=0;m:{if(!c){break m}g=v[c+4>>2]-1|0;v[c+4>>2]=g;if(g){break m}g=v[c+4>>2];if(!g){v[c+4>>2]=-32767}if(!g){Qa[v[v[c>>2]+4>>2]](c)}}c=v[e>>2];v[e+4>>2]=v[(c?c+12|0:1117e3)>>2];c=v[i>>2];v[i>>2]=0;n:{if(!c){break n}e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(e){break n}e=v[c+4>>2];if(!e){v[c+4>>2]=-32767}if(!e){Qa[v[v[c>>2]+4>>2]](c)}}c=v[d>>2];v[d>>2]=0;o:{if(!c){break o}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break o}d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}}d=wj(a+16|0,62);i=Oc(a+8|0,232363);e=no(1184760,i)+24|0;c=v[d>>2];p:{if(c){Qa[v[v[c>>2]+28>>2]](a+24|0,c,1);break p}v[a+24>>2]=0}jb(e,a+24|0);c=v[a+24>>2];v[a+24>>2]=0;q:{if(!c){break q}g=v[c+4>>2]-1|0;v[c+4>>2]=g;if(g){break q}g=v[c+4>>2];if(!g){v[c+4>>2]=-32767}if(!g){Qa[v[v[c>>2]+4>>2]](c)}}c=v[e>>2];v[e+4>>2]=v[(c?c+12|0:1117e3)>>2];c=v[i>>2];v[i>>2]=0;r:{if(!c){break r}e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(e){break r}e=v[c+4>>2];if(!e){v[c+4>>2]=-32767}if(!e){Qa[v[v[c>>2]+4>>2]](c)}}c=v[d>>2];v[d>>2]=0;s:{if(!c){break s}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break s}d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}}d=wj(a+16|0,38);i=Oc(a+8|0,242367);e=no(1184760,i)+24|0;c=v[d>>2];t:{if(c){Qa[v[v[c>>2]+28>>2]](a+24|0,c,1);break t}v[a+24>>2]=0}jb(e,a+24|0);c=v[a+24>>2];v[a+24>>2]=0;u:{if(!c){break u}g=v[c+4>>2]-1|0;v[c+4>>2]=g;if(g){break u}g=v[c+4>>2];if(!g){v[c+4>>2]=-32767}if(!g){Qa[v[v[c>>2]+4>>2]](c)}}c=v[e>>2];v[e+4>>2]=v[(c?c+12|0:1117e3)>>2];c=v[i>>2];v[i>>2]=0;v:{if(!c){break v}e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(e){break v}e=v[c+4>>2];if(!e){v[c+4>>2]=-32767}if(!e){Qa[v[v[c>>2]+4>>2]](c)}}c=v[d>>2];v[d>>2]=0;w:{if(!c){break w}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break w}d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}}d=wj(a+16|0,39);i=Oc(a+8|0,235142);e=no(1184760,i)+24|0;c=v[d>>2];x:{if(c){Qa[v[v[c>>2]+28>>2]](a+24|0,c,1);break x}v[a+24>>2]=0}jb(e,a+24|0);c=v[a+24>>2];v[a+24>>2]=0;y:{if(!c){break y}g=v[c+4>>2]-1|0;v[c+4>>2]=g;if(g){break y}g=v[c+4>>2];if(!g){v[c+4>>2]=-32767}if(!g){Qa[v[v[c>>2]+4>>2]](c)}}c=v[e>>2];v[e+4>>2]=v[(c?c+12|0:1117e3)>>2];c=v[i>>2];v[i>>2]=0;z:{if(!c){break z}e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(e){break z}e=v[c+4>>2];if(!e){v[c+4>>2]=-32767}if(!e){Qa[v[v[c>>2]+4>>2]](c)}}c=v[d>>2];v[d>>2]=0;A:{if(!c){break A}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break A}d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}}d=wj(a+16|0,34);i=Oc(a+8|0,227560);e=no(1184760,i)+24|0;c=v[d>>2];B:{if(c){Qa[v[v[c>>2]+28>>2]](a+24|0,c,1);break B}v[a+24>>2]=0}jb(e,a+24|0);c=v[a+24>>2];v[a+24>>2]=0;C:{if(!c){break C}g=v[c+4>>2]-1|0;v[c+4>>2]=g;if(g){break C}g=v[c+4>>2];if(!g){v[c+4>>2]=-32767}if(!g){Qa[v[v[c>>2]+4>>2]](c)}}c=v[e>>2];v[e+4>>2]=v[(c?c+12|0:1117e3)>>2];c=v[i>>2];v[i>>2]=0;D:{if(!c){break D}e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(e){break D}e=v[c+4>>2];if(!e){v[c+4>>2]=-32767}if(!e){Qa[v[v[c>>2]+4>>2]](c)}}c=v[d>>2];v[d>>2]=0;if(!c){break k}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break k}d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}}Ma=a+32|0;v[296188]=1184760;he(1184756)}a=0;e=v[296188];c=v[f+32>>2];c=v[(c?c+12|0:1117e3)>>2];d=w[c|0];if(d){while(1){a=d&255^a^a<<6;d=w[c+1|0];c=c+1|0;if(d){continue}break}}E:{c=v[v[e+12>>2]+((a>>>0)%y[e+8>>2]<<2)>>2];if(c){while(1){if(v[c+12>>2]==(a|0)){d=v[c+16>>2];F:{if(d){d=Qa[v[v[d>>2]+36>>2]](d,f+32|0,-1)|0;break F}d=v[f+32>>2];if(!d){break E}d=v[d+12>>2];if(!d){break E}d=w[d|0]?-1:0}if(!d){break E}}c=v[c+8>>2];if(c){continue}break}}a=f+8|0;Pp(a,b,j,n+1|0);Cd(k,a);a=v[f+8>>2];v[f+8>>2]=0;if(!a){break d}c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(c){break d}c=v[a+4>>2];if(!c){v[a+4>>2]=-32767}if(!c){Qa[v[v[a>>2]+4>>2]](a)}break d}v[f+8>>2]=c;v[f+12>>2]=e;a=v[296188];if((a|0)!=(e|0)){break e}Cd(k,c+24|0);break d}a=f+32|0;Pp(a,b,j,2);Cd(k,a);a=v[f+32>>2];v[f+32>>2]=0;if(!a){break c}c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(c){break c}c=v[a+4>>2];if(!c){v[a+4>>2]=-32767}if(!c){Qa[v[v[a>>2]+4>>2]](a)}break c}Cd(k,c+24|0);break d}wd(f+8|0,a);L()}a=v[f+32>>2];v[f+32>>2]=0;if(!a){break c}c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(c){break c}c=v[a+4>>2];if(!c){v[a+4>>2]=-32767}if(!c){Qa[v[v[a>>2]+4>>2]](a)}}a=m+1|0;c=v[b>>2];if(c){continue}break}}d=0}d=Pp(f+32|0,b,a,d-a|0);a=Cd(f+40|0,d);c=v[d>>2];v[d>>2]=0;G:{if(!c){break G}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break G}d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}}c=v[a>>2];H:{I:{J:{if(c){c=Qa[v[v[c>>2]+36>>2]](c,b,-1)|0;break J}c=v[b>>2];if(!c){break I}c=v[c+12>>2];if(!c){break I}c=w[c|0]?-1:0}if(c){break H}}a=b}v[l>>2]=0;v[l+4>>2]=v[279250];a=v[a>>2];K:{if(a){Qa[v[v[a>>2]+28>>2]](f+32|0,a,1);break K}v[f+32>>2]=0}jb(l,f+32|0);a=v[f+32>>2];v[f+32>>2]=0;L:{if(!a){break L}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break L}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}a=v[l>>2];v[l+4>>2]=v[(a?a+12|0:1117e3)>>2];a=v[f+40>>2];v[f+40>>2]=0;M:{if(!a){break M}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break M}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=f+48|0;vd(p);vd(o);Ma=h- -64|0}function y_(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,z=0,A=0,C=0;h=Ma-48|0;Ma=h;d=Mb(b,c+d|0);a:{if(d){break a}d=Ed(b,e);if(d){break a}f=v[b+32>>2];b:{c:{if(!e){v[h+44>>2]=f;v[h+40>>2]=0;break c}l=e+f|0;if(t[f|0]<=-1){j=v[a+16>>2];n=v[a+28>>2];v[h+44>>2]=0;d=8;if((e|0)<1){break b}m=v[n>>2];v[h>>2]=f+1;e=w[f|0];if(!(e&128)){break b}f=j;if(e&64){d=A_(h,l);v[h+44>>2]=d;if(d){break b}f=v[a+16>>2]}p=e&63;e=p+f|0;i=v[a+20>>2];d:{if(e>>>0<=i>>>0){e=v[a+24>>2];break d}d=8;g=e+3&-4;if(g>>>0>64){break b}e=yb(m,24,i,g,v[a+24>>2],h+44|0);v[a+24>>2]=e;d=v[h+44>>2];if(d){break b}v[a+20>>2]=g}if(p){e=B(f,24)+e|0;f=v[h>>2];d=8;while(1){g=f+1|0;if(l>>>0>>0){break b}v[h>>2]=g;k=w[f|0];v[e>>2]=65536;if(k&16){g=f+3|0;if(l>>>0>>0){break b}v[h>>2]=g;f=w[f+1|0]|w[f+2|0]<<8;v[e>>2]=(f<<8|f>>>8)<<16>>16<<4}v[e+4>>2]=65536;e:{if(!(k&32)){f=g;break e}f=g+2|0;if(l>>>0>>0){break b}v[h>>2]=f;g=w[g|0]|w[g+1|0]<<8;v[e+4>>2]=(g<<8|g>>>8)<<16>>16<<4}m=0;g=0;f:{g:{switch((k&3)-1|0){case 0:i=f+2|0;if(i>>>0>l>>>0){break b}v[h>>2]=i;f=w[f|0]|w[f+1|0]<<8;g=(f<<8|f>>>8)<<16>>16;f=i;break f;case 1:break g;default:break f}}i=f+1|0;if(i>>>0>l>>>0){break b}v[h>>2]=i;g=t[f|0];f=i}h:{i:{switch((k>>>2&3)-1|0){case 0:i=f+2|0;if(i>>>0>l>>>0){break b}v[h>>2]=i;f=w[f|0]|w[f+1|0]<<8;m=(f<<8|f>>>8)<<16>>16;f=i;break h;case 1:break i;default:break h}}i=f+1|0;if(i>>>0>l>>>0){break b}v[h>>2]=i;m=t[f|0];f=i}v[e+12>>2]=m;v[e+8>>2]=g;i=e;j:{if(k&64){g=f+2|0;if(l>>>0>>0){break b}v[h>>2]=g;f=w[f+1|0]|w[f|0]<<8;break j}g=f+1|0;if(l>>>0>>0){break b}v[h>>2]=g;f=w[f|0]}v[i+20>>2]=f;m=e;k:{if(k&128){f=g+3|0;if(l>>>0>>0){break b}v[h>>2]=f;i=w[g+1|0]<<8|w[g|0]<<16;k=2;break k}f=g+2|0;if(l>>>0>>0){break b}v[h>>2]=f;i=w[g|0]<<8;k=1}v[m+16>>2]=w[k+g|0]|i;v[a+16>>2]=v[a+16>>2]+1;e=e+24|0;o=o+1|0;if((p|0)!=(o|0)){continue}break}}dd(b);l=v[a+16>>2]-j|0;if(!l){d=0;break a}m=0;while(1){k=u[n+22>>1];f=B(m,24);e=B(j,24);d=f+(e+v[a+24>>2]|0)|0;d=y_(a,b,c,v[d+16>>2],v[d+20>>2]);if(d){break a}o=u[n+22>>1];i=o-k|0;e=f+(e+v[a+24>>2]|0)|0;f=v[e>>2];l:{if(!((f|0)==65536&v[e+4>>2]==65536)){if((i|0)<1){break l}d=v[n+24>>2]+(k<<3)|0;g=0;while(1){A=d,C=xb(v[d>>2],f)+v[e+8>>2]|0,v[A>>2]=C;A=d,C=xb(v[d+4>>2],v[e+4>>2])+v[e+12>>2]|0,v[A+4>>2]=C;g=g+1|0;if((i|0)==(g|0)){break l}d=d+8|0;f=v[e>>2];continue}}if((i|0)<1){break l}g=i&3;d=v[n+24>>2]+(k<<3)|0;f=v[e+12>>2];e=v[e+8>>2];if(o+(k^-1)>>>0>=3){i=i&-4;while(1){v[d>>2]=e+v[d>>2];v[d+4>>2]=f+v[d+4>>2];v[d+8>>2]=e+v[d+8>>2];v[d+16>>2]=e+v[d+16>>2];v[d+24>>2]=e+v[d+24>>2];v[d+12>>2]=f+v[d+12>>2];v[d+20>>2]=f+v[d+20>>2];v[d+28>>2]=f+v[d+28>>2];d=d+32|0;i=i-4|0;if(i){continue}break}}if(!g){break l}while(1){v[d>>2]=e+v[d>>2];v[d+4>>2]=f+v[d+4>>2];d=d+8|0;g=g-1|0;if(g){continue}break}}m=m+1|0;if((l|0)!=(m|0)){continue}break}d=0;break a}v[h+44>>2]=f;v[h+40>>2]=0;d=8;if((e|0)<1){break b}j=v[v[a+28>>2]>>2];c=f+1|0;v[h+44>>2]=c;k=w[f|0];if(k&128){break b}m:{if(k&4){if((e|0)<2){break b}v[h+44>>2]=f+2;c=w[f+1|0];o=c>>>4|0;m=c&15;break m}n:{if(!(k&2)){e=c;m=0;break n}if((e|0)<2){break b}e=f+2|0;v[h+44>>2]=e;m=w[c|0]}if(!(k&1)){break m}c=e+1|0;if(c>>>0>l>>>0){break b}v[h+44>>2]=c;o=w[e|0]}n=m+o|0;c=v[a+4>>2];o:{p:{if(n>>>0>c>>>0){d=c;c=n+7&1016;g=yb(j,4,d,c,v[a+8>>2],h+40|0);v[a+8>>2]=g;d=v[h+40>>2];if(d){break b}p=a+8|0;v[a+4>>2]=c;v[a+12>>2]=(m<<2)+g;r=a+12|0;break p}g=v[a+8>>2];v[a+12>>2]=g+(m<<2);r=a+12|0;p=a+8|0;if(!n){break o}}f=0;c=0;d=0;while(1){j=v[h+44>>2];q:{if(d&7){e=j;break q}e=j+1|0;if(l>>>0>>0){break c}v[h+44>>2]=e;c=w[j|0]}j=(d<<2)+g|0;r:{if(c&1){f=e+2|0;if(f>>>0>l>>>0){break c}v[h+44>>2]=f;e=w[e|0]|w[e+1|0]<<8;f=(e<<8|e>>>8)<<16>>16;break r}q=e+1|0;if(q>>>0>l>>>0){break c}v[h+44>>2]=q;f=w[e|0]+f|0}v[j>>2]=f;c=c>>>1|0;d=d+1|0;if((n|0)!=(d|0)){continue}break}}if(k&8){d=A_(h+44|0,l);v[h+40>>2]=d;if(d){break b}}t[a+32|0]=0;v[h+24>>2]=0;v[h+28>>2]=0;v[h>>2]=0;v[h+4>>2]=0;q=h+16|0;s=h|8;f=0;while(1){c=v[h+44>>2];d=c+1|0;if(l>>>0>>0){break c}v[h+44>>2]=d;c=w[c|0];e=c&15;g=1;s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{z=c>>>4|0;switch(z|0){case 0:break v;case 1:case 4:case 5:break w;case 7:break y;case 6:break z;case 3:break B;case 2:break C;default:break x}}if(e>>>0>=m>>>0){break c}v[h>>2]=v[v[p>>2]+(e<<2)>>2];break A}if(e>>>0>=o>>>0){break c}v[h>>2]=f;i=v[v[r>>2]+(e<<2)>>2]}v[h+4>>2]=i;c=v[h+4>>2];f=v[h>>2];v[h+24>>2]=f;v[h+28>>2]=c;i=c;break u}e=2958;g=3;break w}e=3627;g=3;break w}g=4}n=0;c=h;while(1){D:{E:{switch(e&3){case 0:j=d+1|0;if(j>>>0>l>>>0){break c}v[h+44>>2]=j;d=w[d|0];if(d>>>0>=m>>>0){break c}f=v[v[p>>2]+(d<<2)>>2];d=j;break D;case 1:j=d+2|0;if(j>>>0>l>>>0){break c}v[h+44>>2]=j;d=w[d|0]|w[d+1|0]<<8;f=(d<<8|d>>>8)<<16>>16;d=j;break D;case 2:break E;default:break D}}j=d+1|0;if(j>>>0>l>>>0){break c}v[h+44>>2]=j;f=t[d|0]+f|0;d=j}v[c>>2]=f;F:{G:{switch(e>>>2&3){case 0:f=d+1|0;if(f>>>0>l>>>0){break c}v[h+44>>2]=f;d=w[d|0];if(d>>>0>=o>>>0){break c}i=v[v[r>>2]+(d<<2)>>2];d=f;break F;case 1:f=d+2|0;if(f>>>0>l>>>0){break c}v[h+44>>2]=f;d=w[d|0]|w[d+1|0]<<8;i=(d<<8|d>>>8)<<16>>16;d=f;break F;case 2:break G;default:break F}}f=d+1|0;if(f>>>0>l>>>0){break c}v[h+44>>2]=f;i=t[d|0]+i|0;d=f}v[c+4>>2]=i;H:{if(!((g|0)!=4|n)){f=d+1|0;if(f>>>0>l>>>0){break c}v[h+44>>2]=f;e=w[d|0];g=3;d=f;break H}e=e>>>4|0}f=v[c+4>>2];j=v[c>>2];v[h+24>>2]=j;v[h+28>>2]=f;c=c+8|0;k=f;i=f;f=j;n=n+1|0;if(n>>>0>>0){continue}break}i=k;I:{switch(z|0){case 4:case 5:c=v[a+28>>2];J:{if(!w[a+32|0]){break J}j=u[c+58>>1];d=j-1|0;k=d;e=x[c+56>>1];g=e<<16>>16;if((g|0)<1){e=0}else{e=u[(v[c+68>>2]+(e<<1)|0)-2>>1]}K:{if((k|0)<=(e|0)){break K}k=v[c+60>>2];n=k+(e<<3)|0;k=k+(d<<3)|0;if(v[n>>2]!=v[k>>2]|v[n+4>>2]!=v[k+4>>2]){break K}u[c+58>>1]=j-1;d=j-2|0}if((d|0)<(e|0)){break J}u[c+56>>1]=g+1;u[v[c+68>>2]+(g<<1)>>1]=d}t[a+32|0]=1;d=u[c+58>>1];e=(d+u[c+22>>1]|0)+1|0;n=v[c+4>>2];if(!(e>>>0<=n>>>0&y[c+8>>2]>=(u[c+20>>1]+u[c+56>>1]|0)+1>>>0)){d=Ch(c,1,1);if(d){break s}if(!w[a+32|0]){d=8;break s}c=v[a+28>>2];d=u[c+58>>1];e=(d+u[c+22>>1]|0)+1|0;n=v[c+4>>2]}if(e>>>0>n>>>0){d=Ch(c,1,0);if(d){break s}d=u[c+58>>1]}break t;case 1:case 2:case 3:break u;case 0:break v;default:break I}}d=8;if(w[a+32|0]){c=v[a+28>>2];d=u[c+58>>1];L:{if(y[c+4>>2]<(u[c+22>>1]+d|0)+3>>>0){d=Ch(c,3,0);if(d){break L}d=u[c+58>>1]}j=v[c- -64>>2];g=v[h+4>>2];e=v[c+60>>2]+(d<<3)|0;v[e>>2]=v[h>>2];v[e+4>>2]=g;g=v[s+4>>2];v[e+8>>2]=v[s>>2];v[e+12>>2]=g;g=v[q+4>>2];v[e+16>>2]=v[q>>2];v[e+20>>2]=g;d=d+j|0;t[d+2|0]=1;t[d|0]=2;t[d+1|0]=2;u[c+58>>1]=x[c+58>>1]+3;d=0}}break s}if(w[a+32|0]){e=v[a+28>>2];f=u[e+58>>1];d=f-1|0;i=d;c=x[e+56>>1];j=c<<16>>16;if((j|0)<1){c=0}else{c=u[(v[e+68>>2]+(c<<1)|0)-2>>1]}M:{if((i|0)<=(c|0)){break M}g=v[e+60>>2];m=g+(c<<3)|0;g=g+(d<<3)|0;if(v[m>>2]!=v[g>>2]|v[m+4>>2]!=v[g+4>>2]){break M}u[e+58>>1]=f-1;d=f-2|0}if((c|0)<=(d|0)){u[e+56>>1]=j+1;u[v[e+68>>2]+(j<<1)>>1]=d}t[a+32|0]=0}sw(v[a+28>>2]);d=v[h+40>>2];break b}if(!w[a+32|0]){d=8;break s}c=v[a+28>>2];d=u[c+58>>1];if(y[c+4>>2]<(d+u[c+22>>1]|0)+1>>>0){d=Ch(c,1,0);if(d){break s}d=u[c+58>>1]}}j=v[h+4>>2];e=v[c+60>>2]+(d<<3)|0;v[e>>2]=v[h>>2];v[e+4>>2]=j;t[d+v[c- -64>>2]|0]=1;u[c+58>>1]=x[c+58>>1]+1;d=0}v[h+40>>2]=d;if(!d){continue}break}break b}d=8}dd(b)}Ma=h+48|0;return d}function L8(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;l=Ma-16|0;Ma=l;i=v[a+584>>2];if(!w[i+206|0]){QM(a)}a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{if(!w[i+392|0]){e=v[a+584>>2];if(w[e+392|0]){break p}g=v[a+56>>2];v[e+172>>2]=g;c=v[a+60>>2];v[e+176>>2]=c;k=e;q:{if(w[a+13|0]&4){g=v[a+68>>2];d=v[a+72>>2];f=(c+d|0)-1|0;j=f-((f>>>0)%(d>>>0)|0)|0;break q}d=v[a+100>>2];j=c}v[k+188>>2]=j;v[e+184>>2]=d;v[e+180>>2]=g;f=x[a+98>>1];t[e+192|0]=f;r:{s:{t:{u:{f=f&255;switch(f-1|0){case 2:break s;case 0:break u;default:break t}}u[e+208>>1]=257;t[e+193|0]=0;t[e+194|0]=1;break r}a=v[a+628>>2];v[l>>2]=f;wb(a,87504,60464,l);e=0;break c}t[e+193|0]=0;if(x[a+138>>1]==1){t[e+194|0]=3;break r}t[e+194|0]=1}if(c>>>0>d>>>0){f=w[e+209|0]<<3;c=(d>>>0)/(f>>>0)|0;if((B(c,f)|0)!=(d|0)){e=0;wb(v[a+628>>2],87504,60713,0);break c}f=w[e+208|0]<<3;u[e+300>>1]=B(c,((f+g|0)-1>>>0)/(f>>>0)|0)}if(!PM(a)){e=0;break c}t[e+332|0]=1;t[e+392|0]=1;c=v[e+1128>>2];v[e+336>>2]=v[e+1124>>2];v[e+340>>2]=c;c=x[e+1148>>1];v[e+344>>2]=v[e+1136>>2]-c;v[e+348>>2]=c+v[e+1144>>2]}v:{if(w[(B(b,20)+i|0)+332|0]){break v}if(!b){break o}if(b>>>0>=3){break n}c=v[a+584>>2];if(!w[c+332|0]){break m}if(w[(c+B(b,20)|0)+332|0]){break l}e=b;while(1){e=e-1|0;f=e&255;if(!w[(c+B(f,20)|0)+332|0]){continue}break}t[c+193|0]=e;f=c+B(f,20)|0;v[c+1124>>2]=v[f+336>>2];v[c+1128>>2]=v[f+340>>2];h=v[f+344>>2];d=0;t[c+1140|0]=0;v[c+1136>>2]=h;f=v[f+348>>2];v[c+1152>>2]=0;u[c+1148>>1]=0;v[c+1144>>2]=f;if((e&255)>>>0>=b>>>0){break v}while(1){if(!(d&65535)){if(!oj(c)){e=0;break c}d=x[c+1148>>1];if(!d){break b}}e=v[c+1152>>2];f=w[e|0];d=d-1|0;u[c+1148>>1]=d;e=e+1|0;v[c+1152>>2]=e;if((f|0)!=255){continue}while(1){if(!(d&65535)){if(!oj(c)){e=0;break c}d=x[c+1148>>1];if(!d){break b}e=v[c+1152>>2]}f=w[e|0];d=d-1|0;u[c+1148>>1]=d;e=e+1|0;v[c+1152>>2]=e;if((f|0)==255){continue}break}if((f|0)!=218){continue}t[c+193|0]=w[c+193|0]+1;if(!OM(a)){e=0;break c}f=w[c+193|0];e=c+B(f,20)|0;t[e+332|0]=1;v[e+336>>2]=v[c+1124>>2];v[e+340>>2]=v[c+1128>>2];d=x[c+1148>>1];v[e+344>>2]=v[c+1136>>2]-d;v[e+348>>2]=v[c+1144>>2]+d;if(b>>>0>f>>>0){continue}break}}n=v[(w[a+13|0]&4?504:480)+a>>2];if(w[i+393|0]){if(x[i+394>>1]==(b|0)){c=v[i+396>>2];if(n>>>0>=c>>>0){break d}}if(w[i+400|0]){c=v[a+584>>2];if(!w[c+400|0]){break k}e=c+536|0;f=v[e+4>>2];if(f){Qa[v[f+40>>2]](e)}v[e+20>>2]=0;v[e+4>>2]=0;t[c+400|0]=0}t[i+393|0]=0}u[i+394>>1]=b;t[i+193|0]=b;v[i+396>>2]=B(v[a+176>>2],b);w:{x:{if(!w[i+1140|0]){d=v[(B(b,20)+i|0)+344>>2];break x}d=v[(B(b,20)+i|0)+344>>2];if((d|0)==(v[i+1136>>2]-x[i+1148>>1]|0)){break w}}b=B(b,20)+i|0;v[i+1124>>2]=v[b+336>>2];e=v[b+340>>2];t[i+1140|0]=0;v[i+1136>>2]=d;v[i+1128>>2]=e;b=v[b+348>>2];v[i+1152>>2]=0;u[i+1148>>1]=0;v[i+1144>>2]=b}c=v[a+584>>2];if(w[c+400|0]){break j}e=0;t[c+302|0]=0;v[c+3204>>2]=0;b=c+404|0;cp(b);v[c+548>>2]=a;v[c+536>>2]=b;v[c+404>>2]=509;v[c+412>>2]=510;k=c+536|0;j=k;g=0;b=gb(40);v[b>>2]=0;b=be(c+4|0,1,b,4);m=P()|0;d=0;y:{while(1){if(d){break y}v[296803]=0;X(16,j|0,80,488);d=v[296803];v[296803]=0;f=-1;z:{if(!d){break z}h=v[296804];if(!h){break z}f=pb(v[d>>2],b,m);if(!f){break a}Q(h|0)}d=P()|0;if((f|0)==1){continue}break}g=1}$a(b);if(!g){break c}t[c+400|0]=1;v[c+1048>>2]=511;v[c+1044>>2]=512;v[c+1040>>2]=513;v[c+1036>>2]=514;v[c+1032>>2]=515;v[c+1028>>2]=0;v[c+560>>2]=c+1024;g=0;b=gb(40);v[b>>2]=0;b=be(c+4|0,1,b,4);j=P()|0;d=0;A:{while(1){if(d){break A}v[296803]=0;Y(17,k|0,1)|0;d=v[296803];v[296803]=0;f=-1;B:{if(!d){break B}h=v[296804];if(!h){break B}f=pb(v[d>>2],b,j);if(!f){break a}Q(h|0)}d=P()|0;if((f|0)==1){continue}break}g=1}$a(b);if(!g){break c}b=w[c+194|0];if(!(w[c+210|0]|b>>>0<2)){t[c+401|0]=0;v[c+612>>2]=0;v[c+604>>2]=1;if(w[c+1052|0]){break e}if(v[c+1084>>2]){break i}if(v[c+1104>>2]){break h}v[c+1068>>2]=8;f=w[c+209|0]<<3;v[c+1060>>2]=f;h=w[c+208|0];b=h<<3;d=(b+v[c+180>>2]|0)-1|0;b=d-((d>>>0)%(b>>>0)|0)|0;v[c+1056>>2]=b;f=B(b,f);v[c+1072>>2]=f;b=(b>>>0)/(h>>>0)|0;v[c+1064>>2]=b;v[c+1076>>2]=b<<3;b=f+(b<<4)|0;v[c+1080>>2]=b;b=gb(b);v[c+1084>>2]=b;if(!b){wb(v[a+628>>2],87584,48831,0);break c}v[c+1088>>2]=b;b=b+v[c+1072>>2]|0;v[c+1092>>2]=b;v[c+1096>>2]=b+v[c+1076>>2];b=(v[c+1060>>2]+(v[c+1068>>2]<<1)|0)+3|0;v[c+1100>>2]=b;b=gb(b<<2);v[c+1104>>2]=b;if(!b){wb(v[a+628>>2],87584,48831,0);break c}d=b+12|0;v[b>>2]=d;h=v[c+1060>>2];f=h<<2;v[b+4>>2]=(f+v[c+1104>>2]|0)+12;j=v[c+1068>>2];v[b+8>>2]=((f+v[c+1104>>2]|0)+(j<<2)|0)+12;if(!h){break f}f=h&3;b=v[c+1056>>2];if(h-1>>>0<3){g=0;break g}h=h&-4;g=0;while(1){v[d>>2]=v[c+1088>>2]+B(b,g);v[d+4>>2]=v[c+1088>>2]+B(b,g|1);v[d+8>>2]=v[c+1088>>2]+B(b,g|2);v[d+12>>2]=v[c+1088>>2]+B(b,g|3);g=g+4|0;d=d+16|0;h=h-4|0;if(h){continue}break}break g}t[c+401|0]=1;v[c+576>>2]=0;v[c+580>>2]=0;v[c+1120>>2]=v[c+184>>2];v[c+1116>>2]=B(b,v[c+180>>2]);break e}O(60220,7087,994,87504);L()}O(60998,7087,1055,87524);L()}O(61204,7087,1056,87524);L()}O(61382,7087,1057,87524);L()}O(61539,7087,1058,87524);L()}O(61687,7087,1196,87546);L()}O(61849,7087,1107,87584);L()}O(62055,7087,1136,87584);L()}O(62261,7087,1137,87584);L()}if(!f){break f}while(1){v[d>>2]=v[c+1088>>2]+B(b,g);g=g+1|0;d=d+4|0;f=f-1|0;if(f){continue}break}}C:{if(!j){break C}f=j&3;g=v[c+1064>>2];m=j-1|0;D:{if(m>>>0<3){b=0;break D}h=j&-4;b=0;while(1){v[d>>2]=v[c+1092>>2]+B(b,g);v[d+4>>2]=v[c+1092>>2]+B(g,b|1);v[d+8>>2]=v[c+1092>>2]+B(g,b|2);v[d+12>>2]=v[c+1092>>2]+B(g,b|3);b=b+4|0;d=d+16|0;h=h-4|0;if(h){continue}break}}if(f){while(1){v[d>>2]=v[c+1092>>2]+B(b,g);b=b+1|0;d=d+4|0;f=f-1|0;if(f){continue}break}}f=j&3;b=0;if(m>>>0>=3){h=j&-4;while(1){v[d>>2]=v[c+1096>>2]+B(b,g);v[d+4>>2]=v[c+1096>>2]+B(g,b|1);v[d+8>>2]=v[c+1096>>2]+B(g,b|2);v[d+12>>2]=v[c+1096>>2]+B(g,b|3);b=b+4|0;d=d+16|0;h=h-4|0;if(h){continue}break}}if(!f){break C}while(1){v[d>>2]=v[c+1096>>2]+B(b,g);b=b+1|0;d=d+4|0;f=f-1|0;if(f){continue}break}}v[c+1112>>2]=0;t[c+1052|0]=1;b=w[c+208|0];h=((b+v[c+180>>2]|0)-1>>>0)/(b>>>0)|0;v[c+1108>>2]=h;f=w[c+209|0];v[c+1120>>2]=((f+v[c+184>>2]|0)-1>>>0)/(f>>>0);v[c+1116>>2]=B(h,B(b,f)+2|0)}g=0;b=gb(40);v[b>>2]=0;b=be(c+4|0,1,b,4);j=P()|0;d=0;E:{while(1){if(d){break E}v[296803]=0;T(22,k|0)|0;d=v[296803];v[296803]=0;f=-1;F:{if(!d){break F}h=v[296804];if(!h){break F}f=pb(v[d>>2],b,j);if(!f){break a}Q(h|0)}d=P()|0;if((f|0)==1){continue}break}g=1}$a(b);if(!g){break c}t[c+393|0]=1;c=v[i+396>>2]}e=1;if(c>>>0>=n>>>0){break c}while(1){b=v[a+584>>2];G:{H:{if(!w[i+401|0]){e=v[b+1068>>2];d=v[b+1120>>2];c=v[b+1112>>2];if(c){f=e-c|0;if(f>>>0>=d>>>0){c=c+d|0;d=(c|0)==(e|0)?0:c;break H}v[b+1112>>2]=0;d=d-f|0}c=b+536|0;if(d>>>0>=e>>>0){while(1){if(!PC(b,c,v[b+1104>>2],w[b+209|0]<<3)){e=0;break c}e=v[b+1068>>2];d=d-e|0;if(d>>>0>=e>>>0){continue}break}}if(!d){break G}if(PC(b,c,v[b+1104>>2],w[b+209|0]<<3)){break H}e=0;break c}I:{if(v[b+5256>>2]){break I}e=gb(v[b+1116>>2]);v[b+5256>>2]=e;if(e){break I}e=0;wb(v[a+628>>2],87696,48831,0);break c}if(!v[b+1120>>2]){break G}c=b+5256|0;f=b+536|0;e=0;d=0;while(1){if(!NM(b,f,c)){break c}d=d+1|0;if(d>>>0>2]){continue}break}break G}v[b+1112>>2]=d}e=1;b=v[i+396>>2]+1|0;v[i+396>>2]=b;if(b>>>0>>0){continue}break}}Ma=l+16|0;return e|0}O(43294,7087,1949,87085);L()}$a(b);tc(d,h);L()}function t3a(a,b){a=a|0;b=b|0;var 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,u=0,x=0,z=0,A=0,C=0,D=0;n=Ma-128|0;Ma=n;d=gb(36);if(d){v[d>>2]=0;v[d+4>>2]=0;v[d+32>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+24>>2]=0;e=zC(a);a:{if(!e){Nb(4051,0);break a}g=8303;b:{if(v[e+8>>2]!=1783636e3){break b}g=12166;if(v[e+20>>2]!=218793738){break b}Ng(e);e=zC(a);if(!e){break a}g=14597;if(v[e+8>>2]!=1718909296){break b}Ng(e);c=zC(a);if(c){while(1){if(v[279756]>=1){v[n+16>>2]=v[v[c+4>>2]+4>>2];Nb(17213,n+16|0)}c:{d:{e:{f:{g:{h:{i:{e=v[c+8>>2];if((e|0)<=1668246641){if((e|0)==1651532643){break i}if((e|0)==1667523942){break h}if(v[d+16>>2]|(e|0)!=1668112752){break d}v[d+16>>2]=c;break c}if((e|0)<=1785737826){if((e|0)==1668246642){break f}if(v[d+8>>2]|(e|0)!=1768449138){break d}v[d+8>>2]=c;break c}if((e|0)==1885564018){break g}if((e|0)==1785737827){break e}break d}if(v[d+12>>2]){break d}v[d+12>>2]=c;break c}if(v[d+4>>2]){break d}v[d+4>>2]=c;break c}if(v[d>>2]){break d}v[d>>2]=c;break c}if(v[d+20>>2]){break d}v[d+20>>2]=c;break c}Ng(c);c=C5(a,b);v[d+24>>2]=c;if(!c){c=0;Nb(22188,0);break a}a=v[d+8>>2];if(!a){c=0;Nb(24052,0);break a}a=v[a+28>>2];if((a|0)!=v[c+16>>2]){Nb(26046,0);c=v[d+24>>2];a=v[c+16>>2]}if(!a){c=0;Nb(27762,0);break a}c=v[c+24>>2];b=v[c>>2];g=v[b+24>>2]&127;f=v[b+28>>2]<<7&128;e=0;j:{k:{if((a|0)!=1){e=1;l:{h=f|g;b=v[c+4>>2];if((h|0)==(v[b+28>>2]<<7&128|v[b+24>>2]&127)){e=2;while(1){b=e;if((b|0)==(a|0)){break l}e=b+1|0;i=v[c+(b<<2)>>2];if((h|0)==(v[i+28>>2]<<7&128|v[i+24>>2]&127)){continue}break}e=a>>>0>b>>>0}c=v[d+8>>2];if(w[c+32|0]!=255){break k}break j}e=a>>>0>b>>>0}c=v[d+8>>2];if(w[c+32|0]==(f|g-1)){break j}}Nb(29529,0);c=v[d+8>>2]}m:{n:{o:{p:{q:{if(w[c+33|0]==7){a=v[d+12>>2];r:{if(!a){break r}if(v[a+20>>2]!=v[v[d+24>>2]+16>>2]){Nb(26046,0)}if(e){a=v[d+24>>2];if(!v[a+16>>2]){break r}c=0;while(1){b=v[v[a+24>>2]+(c<<2)>>2];e=v[b+28>>2]<<7&128|v[b+24>>2]&127;b=w[v[v[d+12>>2]+24>>2]+c|0];if((e|0)!=(b+1&127|b&128)){Nb(29529,0);a=v[d+24>>2]}c=c+1|0;if(c>>>0>2]){continue}break}break r}Nb(32388,0)}b=v[d+20>>2];if(!b){c=0;Nb(34012,0);break a}s:{t:{switch(w[b+20|0]-1|0){case 0:c=v[d+24>>2];a=v[b+24>>2]-16|0;if(a>>>0<=2){a=v[(a<<2)+188640>>2]}else{a=16384}v[c+28>>2]=a;break s;case 1:break t;default:break s}}a=0;c=fi(v[b+28>>2],v[b+32>>2]);u:{if(!c){break u}b=dM(c);if(!b){break u}ne(c);a=b}if(!a){break q}bM(a,n+24|0);v[n>>2]=v[n+40>>2];Nb(38129,n);e=v[d+24>>2];v:{w:{c=v[n+40>>2];if((c|0)!=1196573017){b=1024;if((c|0)==1380401696){break v}if((c|0)!=1497588338){break w}b=1280;break v}b=768;break v}b=16384}v[e+28>>2]=b;b=IC(a);v[v[d+24>>2]+32>>2]=b;if(!b){break p}Om(a)}c=v[d+16>>2];if(c){b=v[d>>2];if(b){break o}Nb(40793,0);Ng(v[d+16>>2]);v[d+16>>2]=0}x:{if(v[d>>2]){b=0;Nb(41658,0);Ng(v[d>>2]);v[d>>2]=0;c=v[d+16>>2];if(c){break x}}e=v[v[d+24>>2]+16>>2];v[d+28>>2]=e;g=d+28|0;break m}e=v[c+20>>2];v[d+28>>2]=e;g=d+28|0;break n}c=0;Nb(30979,0);break a}O(34726,36387,294,188627);L()}O(38786,36387,299,188627);L()}e=v[c+20>>2];v[d+28>>2]=e;g=d+28|0}if(!e){e=0;break m}a=v[c+24>>2];f=v[v[d+24>>2]+16>>2];c=0;while(1){h=a+(c<<3)|0;if(f>>>0<=y[h>>2]){c=0;Nb(42494,0);break a}if(w[h+5|0]>=w[b+24|0]){c=0;Nb(43430,0);break a}c=c+1|0;if((e|0)!=(c|0)){continue}break}}a=gb(e<<2);v[d+32>>2]=a;if(!a){c=0;Nb(44241,0);break a}s=v[d+16>>2];y:{if(!s){if(!v[g>>2]){break y}c=0;while(1){v[a+(c<<2)>>2]=c;c=c+1|0;if(c>>>0>2]){continue}break}break y}if(!v[s+20>>2]){break y}o=v[d>>2];e=0;while(1){z:{A:{B:{f=v[s+24>>2]+(e<<3)|0;switch(w[f+4|0]){case 1:break A;case 0:break B;default:break z}}v[v[d+32>>2]+(e<<2)>>2]=e;break z}a=gb(v[o+20>>2]<<2);C:{if(!v[o+20>>2]){b=w[f+5|0];g=0;break C}h=w[o+24|0];b=w[f+5|0];i=v[o+28>>2];c=0;while(1){v[(c<<2)+a>>2]=v[i+(B(c,h)+b<<2)>>2];c=c+1|0;g=v[o+20>>2];if(c>>>0>>0){continue}break}}c=v[d+24>>2];p=c;b=w[v[o+32>>2]+b|0];b=b+1&127|b&128;x=v[c+16>>2];u=x;q=0;i=Ma-32|0;Ma=i;m=v[c+24>>2];c=v[f>>2];h=v[m+(c<<2)>>2];v[i>>2]=v[h>>2];v[i+4>>2]=v[h+4>>2];v[i+8>>2]=v[h+8>>2];v[i+12>>2]=v[h+12>>2];v[i+16>>2]=v[h+16>>2];f=v[h+20>>2];v[i+28>>2]=b>>>7;v[i+24>>2]=b&127;v[i+20>>2]=f;D:{if(hr(p,u,i)){break D}if((c|0)>=(u|0)){c=c+1|0;h=v[v[p+24>>2]+(c<<2)>>2]}j=v[h+20>>2];if((j|0)>=1){b=v[h+16>>2];if((b|0)<1){break D}z=g-1|0;A=c<<2;while(1){r=0;if((b|0)>=1){while(1){E:{F:{k=v[v[p+24>>2]+A>>2];if((af(v[k+32>>2],B(v[k+36>>2],B(v[k+16>>2],q)+r|0),0)|0)<0){break F}c=0;j=v[k+36>>2];if((j|0)>=1){while(1){b=v[k+32>>2];l=v[b+8>>2];if(l&7){break F}m=v[b+64>>2];if(!((m|0)<0|(m|0)>v[b+60>>2])){v[b+8>>2]=l|4;break F}l=v[b+28>>2];v[b+28>>2]=l-1;G:{if((l|0)>=1){v[b+60>>2]=v[b+60>>2]+1;m=b;b=v[b+24>>2];v[m+24>>2]=b+1;b=w[b|0];break G}b=Eb(b,1);if((b|0)==-1){break F}}c=b&255|c<<8;b=(j|0)>1;j=j-1|0;if(b){continue}break}}b=c;c=v[k+24>>2];j=1<>2]?b-(j&0-(b>>>c-1&1))|0:b;if((b|0)<=-1){break F}b=(b|0)<(g|0)?b:z;break E}b=0}j=v[(b<<2)+a>>2];f=v[v[p+24>>2]+(u<<2)>>2];H:{if((af(v[f+32>>2],B(v[f+36>>2],B(v[f+16>>2],q)+r|0),0)|0)<0){break H}c=v[f+36>>2];if((c|0)<1){break H}b=v[f+32>>2];k=v[b+8>>2];if(k&7){break H}l=v[f+24>>2];l=j+(v[f+28>>2]?1<>31:0)&(-1<>>(c<<3)-8|0;while(1){m=v[b+64>>2];if(!((m|0)<0|v[b+60>>2]<(m|0))){v[b+8>>2]=k|4;break H}v[b+4>>2]=v[b+4>>2]|32;k=v[b+28>>2];v[b+28>>2]=k-1;I:{if((k|0)>=1){v[b+60>>2]=v[b+60>>2]+1;m=b;b=v[b+24>>2];v[m+24>>2]=b+1;t[b|0]=j;if((c|0)>1){break I}break H}if((Cb(b,j&255)|0)==-1|(c|0)<2){break H}}l=l<<8;j=l>>>(v[f+36>>2]<<3)-8|0;c=c-1|0;b=v[f+32>>2];k=v[b+8>>2];if(!(k&7)){continue}break}}b=v[h+16>>2];r=r+1|0;if((b|0)>(r|0)){continue}break}j=v[h+20>>2]}q=q+1|0;if((q|0)<(j|0)){continue}break}}}Ma=i+32|0;v[v[d+32>>2]+(e<<2)>>2]=x;$a(a)}e=e+1|0;if(e>>>0>2]){continue}break}}c=v[d+24>>2];a=v[c+16>>2];J:{if(!a){break J}h=a&3;b=v[c+24>>2];e=0;if(a-1>>>0>=3){g=a&-4;while(1){f=e<<2;v[v[f+b>>2]+40>>2]=65536;v[v[b+(f|4)>>2]+40>>2]=65536;v[v[b+(f|8)>>2]+40>>2]=65536;v[v[b+(f|12)>>2]+40>>2]=65536;e=e+4|0;g=g-4|0;if(g){continue}break}}if(!h){break J}while(1){v[v[b+(e<<2)>>2]+40>>2]=65536;e=e+1|0;h=h-1|0;if(h){continue}break}}b=v[d+28>>2];f=v[d+4>>2];K:{if(f){if(!b){break K}h=v[d+32>>2];i=v[c+24>>2];o=v[c+28>>2];e=0;while(1){g=v[f+24>>2]+B(e,12)|0;C=v[i+(v[h+(v[g>>2]<<2)>>2]<<2)>>2],D=V5(o,v[g+4>>2],v[g+8>>2]),v[C+40>>2]=D;e=e+1|0;if((b|0)!=(e|0)){continue}break}break K}if(!b){break K}g=v[d+32>>2];f=v[c+24>>2];h=v[c+28>>2];e=0;while(1){p=v[f+(v[g+(e<<2)>>2]<<2)>>2];e=e+1|0;C=p,D=V5(h,0,e),v[C+40>>2]=D;if((b|0)!=(e|0)){continue}break}}L:{if(a){while(1){a=a-1|0;if(v[v[v[c+24>>2]+(a<<2)>>2]+40>>2]==65536&v[c+16>>2]>(a|0)){b=v[v[c+24>>2]+(a<<2)>>2];e=v[b+32>>2];if(e){ne(e)}$a(b);e=c;b=v[c+16>>2];if((b|0)>(a|0)){g=v[c+24>>2]+(a<<2)|0;id(g,g+4|0,b+(a^-1)<<2);b=v[c+16>>2]}v[e+16>>2]=b-1;Wt(c)}c=v[d+24>>2];if(a){continue}break}if(v[c+16>>2]){break L}}c=0;Nb(27762,0);break a}v[d+24>>2]=0;break a}Ng(c)}c=zC(a);if(c){continue}break}}c=0;Nb(19552,0);break a}Nb(g,0);Ng(e)}a=v[d+8>>2];if(a){Ng(a)}a=v[d+12>>2];if(a){Ng(a)}a=v[d+4>>2];if(a){Ng(a)}a=v[d>>2];if(a){Ng(a)}a=v[d+24>>2];if(a){Og(a)}a=v[d+16>>2];if(a){Ng(a)}a=v[d+20>>2];if(a){Ng(a)}a=v[d+32>>2];if(a){$a(a)}$a(d)}Ma=n+128|0;return c|0}function OT(a,b,c){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,p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0,B=0,C=0;d=Ma-128|0;Ma=d;e=d+96|0;Xc(e,a);n=qd(d+112|0,e);if(t[d+107|0]<=-1){$a(v[d+96>>2])}a:{b:{c:{d:{if(nc(n,966236)){e=0;v[d+56>>2]=0;v[d+48>>2]=255;v[d+8>>2]=0;v[d+12>>2]=1072693248;o=255;m=1;e:{if((Bq(a)|0)<1){break e}if(!$j(a)){break e}e=d+80|0;Xc(e,a);e=qd(d+96|0,e);if(t[d+91|0]<=-1){$a(v[d+80>>2])}f:{if(!v[e+4>>2]){break f}while(1){g:{if(nc(e,966612)){f=d- -64|0;_c(f,a);f=qd(d+80|0,f);GF(f,d+56|0,d+48|0);Qb(f);if(t[d+75|0]>-1){break g}$a(v[d+64>>2]);break g}if(nc(e,966636)){f=d- -64|0;_c(f,a);f=qd(d+80|0,f);Wu(f,d+8|0);Qb(f);if(t[d+75|0]>-1){break g}$a(v[d+64>>2]);break g}if(!nc(e,966668)|!c){break g}f=d+80|0;_c(f,a);hh(c,f);if(t[d+91|0]>-1){break g}$a(v[d+80>>2])}if(!Pi(a)){break f}f=d- -64|0;Xc(f,a);f=qd(d+80|0,f);Xe(e,f);Qb(f);if(t[d+75|0]<=-1){$a(v[d+64>>2])}if(v[e+4>>2]){continue}break}}Ej(a);Qb(e);o=+v[d+48>>2];m=A[d+8>>3];e=v[d+56>>2]}h=ab(12);p=A[b>>3];v[h+4>>2]=e;v[h>>2]=967252;m=p*o*m;if(!(D(m)<2147483648)){break d}v[h+8>>2]=~~m;break a}if(nc(n,966300)){if((Bq(a)|0)<1){break a}if(!$j(a)){break a}b=d+80|0;Xc(b,a);b=qd(d+96|0,b);if(t[d+91|0]<=-1){$a(v[d+80>>2])}h:{if(!v[b+4>>2]){break h}while(1){i:{if(nc(b,966692)){h=ab(32);f=d+80|0;_c(f,a);i=v[d+80>>2];g=t[d+91|0];v[h>>2]=967332;e=h+4|0;v[e>>2]=0;v[e+4>>2]=0;t[e+8|0]=0;j=h+20|0;v[j>>2]=0;v[j+4>>2]=0;t[h+28|0]=0;ls(e,(g|0)<0?i:f,1,-1);if(t[d+91|0]>-1){break i}$a(v[d+80>>2]);break i}if(!nc(b,966668)|!c){break i}e=d+80|0;_c(e,a);hh(c,e);if(t[d+91|0]>-1){break i}$a(v[d+80>>2])}if(!Pi(a)){break h}e=d- -64|0;Xc(e,a);e=qd(d+80|0,e);Xe(b,e);Qb(e);if(t[d+75|0]<=-1){$a(v[d+64>>2])}if(v[b+4>>2]){continue}break}}Ej(a);Qb(b);break a}if(!nc(n,966344)){if(!nc(n,966424)){break a}}r=nc(n,966344);j:{if(r){v[d+8>>2]=0;v[d+12>>2]=0;v[d+56>>2]=0;v[d+60>>2]=0;v[d+48>>2]=0;v[d+52>>2]=1072693248;v[d+40>>2]=0;v[d+44>>2]=1072693248;o=1;k:{if((Bq(a)|0)<1){break k}if(!$j(a)){break k}e=d+80|0;Xc(e,a);f=qd(d+96|0,e);if(t[d+91|0]<=-1){$a(v[d+80>>2])}l:{if(!v[f+4>>2]){break l}while(1){m:{if(nc(f,966740)){e=d- -64|0;_c(e,a);e=qd(d+80|0,e);Ny(e,d+8|0,d+56|0);Qb(e);if(t[d+75|0]>-1){break m}$a(v[d+64>>2]);break m}if(nc(f,966784)){e=d- -64|0;_c(e,a);e=qd(d+80|0,e);Ny(e,d+48|0,d+40|0);Qb(e);if(t[d+75|0]>-1){break m}$a(v[d+64>>2]);break m}if(nc(f,966636)){_c(d+80|0,a);i=w[d+91|0];e=i<<24>>24;if((e|0)<0?v[d+84>>2]:i){o=ng(d+80|0);e=w[d+91|0]}if(e<<24>>24>-1){break m}$a(v[d+80>>2]);break m}if(!nc(f,966668)|!c){break m}e=d+80|0;_c(e,a);hh(c,e);if(t[d+91|0]>-1){break m}$a(v[d+80>>2])}if(!Pi(a)){break l}e=d- -64|0;Xc(e,a);e=qd(d+80|0,e);Xe(f,e);Qb(e);if(t[d+75|0]<=-1){$a(v[d+64>>2])}if(v[f+4>>2]){continue}break}}Ej(a);Qb(f)}h=ab(48);m=A[d+8>>3];p=A[d+56>>3];s=A[d+48>>3];u=A[d+40>>3];v[h+12>>2]=0;v[h+4>>2]=0;v[h+8>>2]=0;v[h>>2]=967388;break j}v[d+8>>2]=0;v[d+12>>2]=0;v[d+56>>2]=0;v[d+60>>2]=0;v[d+48>>2]=0;v[d+52>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=0;v[d+36>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;o=1;n:{if((Bq(a)|0)<1){break n}if(!$j(a)){break n}e=d+80|0;Xc(e,a);f=qd(d+96|0,e);if(t[d+91|0]<=-1){$a(v[d+80>>2])}o:{if(!v[f+4>>2]){break o}while(1){p:{if(nc(f,966820)){e=d- -64|0;_c(e,a);e=qd(d+80|0,e);Ny(e,d+8|0,d+56|0);Qb(e);if(t[d+75|0]>-1){break p}$a(v[d+64>>2]);break p}if(nc(f,966848)){e=d- -64|0;_c(e,a);e=qd(d+80|0,e);Ny(e,d+32|0,d+24|0);Qb(e);if(t[d+75|0]>-1){break p}$a(v[d+64>>2]);break p}if(nc(f,966636)){_c(d+80|0,a);i=w[d+91|0];e=i<<24>>24;if((e|0)<0?v[d+84>>2]:i){o=ng(d+80|0);e=w[d+91|0]}if(e<<24>>24>-1){break p}$a(v[d+80>>2]);break p}if(nc(f,966908)){e=d- -64|0;_c(e,a);e=qd(d+80|0,e);Wu(e,d+48|0);Qb(e);if(t[d+75|0]>-1){break p}$a(v[d+64>>2]);break p}if(nc(f,966940)){e=d- -64|0;_c(e,a);e=qd(d+80|0,e);Wu(e,d+40|0);Qb(e);if(t[d+75|0]>-1){break p}$a(v[d+64>>2]);break p}if(!nc(f,966668)|!c){break p}e=d+80|0;_c(e,a);hh(c,e);if(t[d+91|0]>-1){break p}$a(v[d+80>>2])}if(!Pi(a)){break o}e=d- -64|0;Xc(e,a);e=qd(d+80|0,e);Xe(f,e);Qb(e);if(t[d+75|0]<=-1){$a(v[d+64>>2])}if(v[f+4>>2]){continue}break}}Ej(a);Qb(f)}h=ab(64);m=A[d+8>>3];p=A[d+56>>3];s=A[d+32>>3];u=A[d+24>>3];z=A[d+48>>3];B=A[d+40>>3];v[h+12>>2]=0;v[h+4>>2]=0;v[h+8>>2]=0;v[h>>2]=967488;A[h+56>>3]=B*25.4/96;A[h+48>>3]=z*25.4/96}A[h+40>>3]=u*25.4/96;A[h+32>>3]=s*25.4/96;A[h+24>>3]=p*25.4/96;A[h+16>>3]=m*25.4/96;e=0;v[d+104>>2]=0;v[d+96>>2]=0;v[d+100>>2]=0;v[d+88>>2]=0;v[d+80>>2]=0;v[d+84>>2]=0;if(yh(a)){break c}x=rg(a);if(!qe(a,x)){break c}while(1){c=d+8|0;Xc(c,a);c=qd(d- -64|0,c);Xe(n,c);Qb(c);if(t[d+19|0]<=-1){$a(v[d+8>>2])}q:{if(!(nc(n,966972)&r)){if(nc(n,967108)^1|r){break q}}A[d+64>>3]=o*A[b>>3];C=d- -64|0;g=Ma-80|0;Ma=g;r:{s:{t:{u:{v:{if(!yh(a)){c=g+56|0;v[c>>2]=0;v[c+4>>2]=0;t[c+8|0]=0;f=c;c=g+40|0;v[c>>2]=0;v[c+4>>2]=0;t[c+8|0]=0;y=rg(a);if(qe(a,y)){while(1){e=g+8|0;Xc(e,a);e=qd(g+24|0,e);Xe(f,e);Qb(e);if(t[g+19|0]<=-1){$a(v[g+8>>2])}w:{if(!nc(f,968868)){break w}x:{if(!$j(a)){j=0;m=0;break x}e=g+8|0;Xc(e,a);e=qd(g+24|0,e);Xe(c,e);Qb(e);if(t[g+19|0]<=-1){$a(v[g+8>>2])}j=0;m=0;y:{if(!v[c+4>>2]){break y}while(1){z:{if(nc(c,968920)){e=g+8|0;_c(e,a);e=qd(g+24|0,e);GF(e,g+76|0,g+72|0);Qb(e);if(t[g+19|0]<=-1){$a(v[g+8>>2])}e=v[g+76>>2]&16777215;p=A[C>>3]*+v[g+72>>2];A:{if(D(p)<2147483648){i=~~p;break A}i=-2147483648}j=e|i<<24;break z}if(!nc(c,968944)){break z}e=g+8|0;_c(e,a);i=qd(g+24|0,e);v[g+76>>2]=0;B:{C:{e=i;if(!w[e+8|0]){break C}e=v[e>>2];if(e){break C}e=0;break B}e=v[e>>2]}v[g+72>>2]=v[i+4>>2];m=Ld(e,g+76|0,g+72|0);Qb(i);if(t[g+19|0]>-1){break z}$a(v[g+8>>2])}if(!Pi(a)){break y}e=g+8|0;Xc(e,a);e=qd(g+24|0,e);Xe(c,e);Qb(e);if(t[g+19|0]<=-1){$a(v[g+8>>2])}if(v[c+4>>2]){continue}break}}Ej(a)}e=v[d+100>>2];D:{if((e|0)!=v[d+104>>2]){v[e>>2]=j;v[d+100>>2]=e+4;break D}i=v[d+96>>2];k=e-i|0;q=k>>2;e=q+1|0;if(e>>>0>=1073741824){break v}l=k>>1;l=q>>>0<536870911?e>>>0>l>>>0?e:l:1073741823;if(l){if(l>>>0>=1073741824){break u}e=ab(l<<2)}else{e=0}q=e+(q<<2)|0;v[q>>2]=j;if((k|0)>=1){cb(e,i,k)}v[d+104>>2]=e+(l<<2);v[d+100>>2]=q+4;v[d+96>>2]=e;if(!i){break D}$a(i)}e=v[d+84>>2];if((e|0)!=v[d+88>>2]){A[e>>3]=m;v[d+84>>2]=e+8;break w}i=v[d+80>>2];j=e-i|0;l=j>>3;e=l+1|0;if(e>>>0>=536870912){break t}k=j>>2;k=l>>>0<268435455?e>>>0>k>>>0?e:k:536870911;if(k){if(k>>>0>=536870912){break s}e=ab(k<<3)}else{e=0}l=e+(l<<3)|0;A[l>>3]=m;if((j|0)>=1){cb(e,i,j)}v[d+88>>2]=e+(k<<3);v[d+84>>2]=l+8;v[d+80>>2]=e;if(!i){break w}$a(i)}if(qe(a,y)){continue}break}}Qb(c);Qb(f)}Ma=g+80|0;break r}Jc();L()}Zd(273730);L()}Jc();L()}Zd(273730);L()}}if(qe(a,x)){continue}break}c=v[d+100>>2];e=v[d+80>>2];b=v[d+96>>2];a=v[d+84>>2];break b}v[h+8>>2]=-2147483648;break a}b=0;c=0;a=0}a=a-e>>3;c=c-b>>2;c=a>>>0>>0?a:c;E:{F:{if((c|0)>=1){a=0;f=ab(c<<2);i=ab(c<<3);if((c|0)!=1){j=c&-2;while(1){g=a<<2;v[g+f>>2]=v[b+g>>2];g=a<<3;A[g+i>>3]=A[e+g>>3];g=a|1;k=g<<2;v[k+f>>2]=v[b+k>>2];g=g<<3;A[g+i>>3]=A[e+g>>3];a=a+2|0;j=j-2|0;if(j){continue}break}}if(c&1){g=a<<2;v[g+f>>2]=v[b+g>>2];a=a<<3;A[a+i>>3]=A[a+e>>3]}v[h+12>>2]=c;v[h+8>>2]=i;v[h+4>>2]=f;break F}Qa[v[v[h>>2]+4>>2]](h);e=v[d+80>>2];if(!e){break E}}v[d+84>>2]=e;$a(e)}a=v[d+96>>2];if(a){v[d+100>>2]=a;$a(a)}if((c|0)>=1){break a}h=0}Qb(n);Ma=d+128|0;return h}function U8(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,x=0,y=0,z=0;j=Ma-256|0;Ma=j;h=v[a+608>>2];i=v[a+604>>2];y=1;p=v[a+584>>2];u=v[p+72>>2];f=v[p+68>>2];m=v[p+64>>2];a:{b:{c:{d:{e:{if((c|0)<1){b=i}else{s=h+i|0;t=v[p+60>>2];k=v[p+84>>2];r=v[p+88>>2];o=v[p+12>>2];z=(o|0)<1;while(1){f:{if(z){e=0;g=r;break f}h=k+4|0;l=v[k>>2];n=0;g=r;e=0;q=0;g:{h:{i:{j:{k:{l:{m:{n:{while(1){k=e;d=f;o:{if((f|0)>6){break o}if(i>>>0>=s>>>0){d=7;if(f){break o}break d}m=w[w[i|0]+t|0]<>>f|0;f=d-f|0;p:{q:{r:{s:{t:{switch(w[e|0]-1|0){case 0:u:{if((g|0)==(r|0)){d=h;break u}if((k|0)<(l|0)){d=h;break u}d=h;if((l|0)>=(o|0)){break u}while(1){d=h+8|0;l=v[h+4>>2]+(v[h>>2]+l|0)|0;if((l|0)>(k|0)){break u}h=d;if((l|0)<(o|0)){continue}break}}e=v[d>>2]+l|0;q=e+(n+q|0)|0;h=d+8|0;l=v[d+4>>2]+e|0;break p;case 1:if(!(g-r&4)){break r}while(1){v:{if((f|0)>12){d=f;break v}if(i>>>0>=s>>>0){d=13;if(f){break v}break d}n=f+8|0;e=i+1|0;m=w[w[i|0]+t|0]<4){d=n;i=e;break v}d=13;if(e>>>0>=s>>>0){i=e;break v}d=f+16|0;m=w[w[i+1|0]+t|0]<>>f|0;f=d-f|0;d=w[e|0];if(d-10>>>0>=2){if((d|0)!=8){break h}e=v[e+4>>2];v[g>>2]=e+q;d=g+4|0;k=e+k|0;q=0;while(1){w:{if((f|0)>11){n=f;break w}if(i>>>0>=s>>>0){n=12;if(f){break w}g=d;break d}x=f+8|0;e=i+1|0;m=w[w[i|0]+t|0]<3){n=x;i=e;break w}n=12;if(e>>>0>=s>>>0){i=e;break w}n=f+16|0;m=w[w[i+1|0]+t|0]<>>f|0;f=n-f|0;x:{switch(w[e|0]-7|0){case 2:case 4:e=v[e+4>>2];q=e+q|0;k=e+k|0;continue;case 0:break x;default:break n}}break}n=d;d=v[e+4>>2];v[n>>2]=d+q;e=d+k|0;break q}else{d=v[e+4>>2];q=d+q|0;k=d+k|0;continue}};case 5:v[g>>2]=o-k;d=v[a+12>>2]&1024;h=v[(d?504:480)+a>>2];e=v[a+628>>2];l=v[a>>2];n=v[p+108>>2];v[j+208>>2]=k;v[j+204>>2]=h;v[j+200>>2]=d?56103:56298;v[j+196>>2]=n;v[j+192>>2]=l;wb(e,86806,58059,j+192|0);g=g+4|0;break g;case 11:v[g>>2]=o-k;g=g+4|0;y:{if((f|0)>3){h=f;break y}if(i>>>0>=s>>>0){h=4;if(!f){break d}break y}h=f+8|0;m=w[w[i|0]+t|0]<>2]&1024;f=v[(d?504:480)+a>>2];e=v[a+628>>2];l=v[a>>2];n=v[p+108>>2];v[j+240>>2]=k;v[j+236>>2]=f;v[j+232>>2]=d?56103:56298;v[j+228>>2]=n;v[j+224>>2]=l;wb(e,86806,55737,j+224|0)}m=m>>>4|0;f=h-4|0;u=1;break g;case 4:z:{if((g|0)==(r|0)){d=h;break z}if((k|0)<(l|0)){d=h;break z}d=h;if((l|0)>=(o|0)){break z}while(1){d=h+8|0;l=v[h+4>>2]+(v[h>>2]+l|0)|0;if((l|0)>(k|0)){break z}h=d;if((l|0)<(o|0)){continue}break}}h=(l+n|0)-v[e+4>>2]|0;v[g>>2]=h+q;e=h+k|0;h=d-4|0;l=l-v[h>>2]|0;g=g+4|0;break s;case 3:A:{if((g|0)==(r|0)){d=h;break A}if((k|0)<(l|0)){d=h;break A}d=h;if((l|0)>=(o|0)){break A}while(1){d=h+8|0;l=v[h+4>>2]+(v[h>>2]+l|0)|0;if((l|0)>(k|0)){break A}h=d;if((l|0)<(o|0)){continue}break}}e=v[e+4>>2];v[g>>2]=e+((n+q|0)+l|0);h=d+4|0;e=e+l|0;l=v[d>>2]+l|0;g=g+4|0;break s;case 2:break t;default:break k}}B:{if(!((g|0)==(r|0)|(k|0)<(l|0))){d=h;e=l;if((o|0)<=(e|0)){break B}while(1){d=h+8|0;e=v[h+4>>2]+(v[h>>2]+e|0)|0;if((k|0)<(e|0)){break B}h=d;if((e|0)<(o|0)){continue}break}break B}e=l;d=h}v[g>>2]=(n+q|0)+e;h=d+4|0;l=v[d>>2]+e|0;g=g+4|0}q=0;break p}while(1){C:{if((f|0)>11){d=f;break C}if(i>>>0>=s>>>0){d=12;if(!f){break d}break C}n=f+8|0;e=i+1|0;m=w[w[i|0]+t|0]<3){d=n;i=e;break C}d=12;if(e>>>0>=s>>>0){i=e;break C}d=f+16|0;m=w[w[i+1|0]+t|0]<>>f|0;f=d-f|0;d=g;D:{switch(w[e|0]-7|0){case 2:case 4:d=v[e+4>>2];q=d+q|0;k=d+k|0;continue;case 0:break D;default:break n}}break}d=v[e+4>>2];v[g>>2]=d+q;e=g+4|0;k=d+k|0;q=0;while(1){E:{if((f|0)>12){d=f;break E}if(i>>>0>=s>>>0){d=13;if(f){break E}g=e;break d}x=f+8|0;n=i+1|0;m=w[w[i|0]+t|0]<4){d=x;i=n;break E}d=13;if(n>>>0>=s>>>0){i=n;break E}d=f+16|0;m=w[w[i+1|0]+t|0]<>>f|0;f=d-f|0;d=w[n|0];if(d-10>>>0>=2){if((d|0)!=8){g=e;break h}d=v[n+4>>2];v[e>>2]=d+q;e=d+k|0}else{d=v[n+4>>2];q=d+q|0;k=d+k|0;continue}break}}q=0;g=g+8|0;if((r|0)==(g|0)){g=r;break p}if((e|0)<(l|0)|(l|0)>=(o|0)){break p}while(1){d=h+8|0;l=v[h+4>>2]+(v[h>>2]+l|0)|0;if((l|0)>(e|0)){h=d;break p}h=d;if((l|0)<(o|0)){continue}break}}n=0-e|0;if((e|0)<(o|0)){continue}break}if(!q){break f}if((e+q|0)>=(o|0)){break i}if((f|0)<=0){break m}h=f;d=i;break l}h=v[a+12>>2]&1024;g=v[(h?504:480)+a>>2];e=v[a+628>>2];l=v[a>>2];n=v[p+108>>2];v[j+144>>2]=k;v[j+140>>2]=g;v[j+136>>2]=h?56103:56298;v[j+132>>2]=n;v[j+128>>2]=l;wb(e,86806,55737,j+128|0);g=d;break g}if(i>>>0>=s>>>0){h=1;d=i;if(f){break l}k=e;break d}h=f+8|0;m=w[w[i|0]+t|0]<>2]&1024;h=v[(d?504:480)+a>>2];e=v[a+628>>2];l=v[a>>2];n=v[p+108>>2];v[j+48>>2]=k;v[j+44>>2]=h;v[j+40>>2]=d?56103:56298;v[j+36>>2]=n;v[j+32>>2]=l;wb(e,86806,55737,j+32|0);break g}m=m>>>1|0;f=h-1|0}v[g>>2]=q;g=g+4|0;break f}d=v[a+12>>2]&1024;h=v[(d?504:480)+a>>2];e=v[a+628>>2];l=v[a>>2];n=v[p+108>>2];v[j+176>>2]=k;v[j+172>>2]=h;v[j+168>>2]=d?56103:56298;v[j+164>>2]=n;v[j+160>>2]=l;wb(e,86806,55737,j+160|0)}if(q){v[g>>2]=q;g=g+4|0}e=k}F:{if((e|0)==(o|0)){break F}d=v[a+12>>2]&1024;h=v[(d?504:480)+a>>2];k=v[a+628>>2];l=v[a>>2];n=v[p+108>>2];v[j+24>>2]=o;v[j+20>>2]=e;v[j+16>>2]=h;v[j+12>>2]=d?56103:56298;v[j+8>>2]=n;v[j+4>>2]=e>>>0>>0?57394:57552;v[j>>2]=l;Nc(k,86806,57124,j);h=(e|0)>(o|0);G:{if((e|0)<=(o|0)|g>>>0<=r>>>0){break G}while(1){g=g-4|0;e=e-v[g>>2]|0;h=(o|0)<(e|0);if((e|0)<=(o|0)){break G}if(g>>>0>r>>>0){continue}break}}if((e|0)<(o|0)){if(g-r&4){v[g>>2]=0;g=g+4|0}v[g>>2]=o-((e|0)>0?e:0);g=g+4|0;break F}if(!h){break F}v[g+4>>2]=0;v[g>>2]=o;g=g+8|0}if(u){break e}Qa[v[p+76>>2]](b,r,g,o);u=0;v[g>>2]=0;k=v[p+88>>2];r=v[p+84>>2];v[p+88>>2]=r;v[p+84>>2]=k;v[p+108>>2]=v[p+108>>2]+1;d=v[p+8>>2];b=d+b|0;c=c-d|0;if((c|0)>0){continue}break}h=v[a+608>>2];b=v[a+604>>2]}v[p+72>>2]=u;v[p+64>>2]=m;v[p+68>>2]=f;v[a+604>>2]=i;v[a+608>>2]=(b-i|0)+h;break a}if((f|0)>12){break b}break c}c=v[a+12>>2]&1024;d=v[(c?504:480)+a>>2];h=v[a+628>>2];f=v[a>>2];e=v[p+108>>2];v[j+112>>2]=k;v[j+108>>2]=d;v[j+104>>2]=c?56103:56298;v[j+100>>2]=e;v[j+96>>2]=f;Nc(h,86806,56754,j+96|0);if(q){v[g>>2]=q;g=g+4|0}f=0;if((k|0)==(o|0)){break c}c=v[a+12>>2]&1024;d=v[(c?504:480)+a>>2];h=v[a+628>>2];e=v[a>>2];l=v[p+108>>2];v[j+88>>2]=o;v[j+84>>2]=k;v[j+80>>2]=d;v[j+76>>2]=c?56103:56298;v[j+72>>2]=l;v[j+68>>2]=k>>>0>>0?57394:57552;v[j+64>>2]=e;Nc(h,86806,57124,j- -64|0);h=(k|0)>(o|0);H:{if((k|0)<=(o|0)|g>>>0<=r>>>0){break H}while(1){g=g-4|0;k=k-v[g>>2]|0;h=(o|0)<(k|0);if((k|0)<=(o|0)){break H}if(g>>>0>r>>>0){continue}break}}if((k|0)<(o|0)){if(g-r&4){v[g>>2]=0;g=g+4|0}v[g>>2]=o-((k|0)>0?k:0);g=g+4|0;break c}if(!h){break c}v[g+4>>2]=0;v[g>>2]=o;g=g+8|0}if(i>>>0>=s>>>0){f=f?13:0;break b}d=f+8|0;c=i+1|0;m=w[w[i|0]+t|0]<4){f=d;i=c;break b}if(c>>>0>=s>>>0){f=13;i=c;break b}f=f+16|0;m=w[w[i+1|0]+t|0]<>2]](b,r,g,o);v[p+72>>2]=u;v[p+64>>2]=m>>>13;v[p+68>>2]=f-13;b=v[a+604>>2];v[a+604>>2]=i;v[a+608>>2]=v[a+608>>2]+(b-i|0);y=v[p+108>>2]?1:-1}Ma=j+256|0;return y|0}function pt(a,b,c,d,e,f){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,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=C(0),O=0;h=Ma-224|0;Ma=h;H=h+196|0;v[H>>2]=0;v[H+4>>2]=0;v[H+24>>2]=1;v[H+16>>2]=0;v[H+20>>2]=0;v[H+8>>2]=0;v[H+12>>2]=0;v[h+136>>2]=0;g=v[c>>2];u[h+132>>1]=65535;v[h+120>>2]=g;v[h+124>>2]=2;v[h+116>>2]=0;a:{b:{c:{d:{e:{f:{if(v[b+208>>2]){break f}g=Qa[v[v[b>>2]+84>>2]](b,g,h+116|0)|0;if((g|0)>0|v[b+208>>2]|v[b+196>>2]==-1){break f}g=v[c>>2];if((g|0)>61439){break e}g=Qa[v[v[b>>2]+84>>2]](b,g+61440|0,h+116|0)|0}if((g|0)>0){break d}}if(w[f|0]){cb(a,h+120|0,104);break a}if(!v[b+208>>2]){r=v[c>>2];l=Ma+-64|0;Ma=l;G=l+48|0;s=v[b+2228512>>2];E=v[s+164>>2]+68|0;o=v[E+48>>2];i=v[E+44>>2];I=E+40|0;g:{if(!(!o|(i|0)==(I|0))){g=i;while(1){if(!((r|0)>2]|(r|0)>v[g+24>>2])){if(t[g+19|0]>=0){i=v[g+12>>2];v[G>>2]=v[g+8>>2];v[G+4>>2]=i;v[G+8>>2]=v[g+16>>2];break g}vc(G,v[g+8>>2],v[g+12>>2]);break g}g=v[g+4>>2];if((I|0)!=(g|0)){continue}break}}h:{m=v[E+36>>2];if((m|0)<1){break h}K=v[E+32>>2];if(!K){break h}g=0;i:{j:{k:{l:{if((m|0)>=2){F=m-1|0;while(1){n=g+F>>1;j=B(n,20)+K|0;m:{if((r|0)>2]){F=n-1|0;break m}if((r|0)<=v[j+16>>2]){break l}g=n+1|0}if((g|0)<(F|0)){continue}break}}if((g|0)<=(F|0)){break k}break h}r=ab(28);v[r>>2]=0;m=r+8|0;F=B(n,20)+K|0;n:{if(t[F+11|0]>=0){g=v[F+4>>2];v[m>>2]=v[F>>2];v[m+4>>2]=g;v[m+8>>2]=v[F+8>>2];break n}vc(m,v[F>>2],v[F+4>>2]);K=v[E+32>>2];o=v[E+48>>2];i=v[E+44>>2]}m=v[j+16>>2];g=v[j+12>>2];v[r+4>>2]=i;v[r>>2]=I;v[r+20>>2]=g;v[r+24>>2]=m;v[i>>2]=r;v[E+48>>2]=o+1;v[E+44>>2]=r;g=B(n,20)+K|0;if(t[g+11|0]>=0){break j}break i}o=B(g,20)+K|0;if(!((r|0)>=v[o+12>>2]&(r|0)<=v[o+16>>2])){break h}j=ab(28);v[j>>2]=0;m=j+8|0;o:{if(t[o+11|0]>=0){i=v[o+4>>2];v[m>>2]=v[o>>2];v[m+4>>2]=i;v[m+8>>2]=v[o+8>>2];break o}vc(m,v[o>>2],v[o+4>>2])}m=v[o+16>>2];i=v[o+12>>2];v[j>>2]=I;v[j+20>>2]=i;v[j+24>>2]=m;i=v[I+4>>2];v[j+4>>2]=i;v[i>>2]=j;v[I+4>>2]=j;v[I+8>>2]=v[I+8>>2]+1;g=v[E+32>>2]+B(g,20)|0;if(t[g+11|0]>=0){break j}break i}i=v[g+4>>2];v[G>>2]=v[g>>2];v[G+4>>2]=i;v[G+8>>2]=v[g+8>>2];break g}vc(G,v[g>>2],v[g+4>>2]);break g}v[G>>2]=0;t[G+11|0]=0}g=0;m=w[l+59|0];i=m<<24>>24;if((i|0)<0?v[l+52>>2]:m){i=v[s+12>>2];v[s+12>>2]=0;j=s+112|0;p:{if(t[s+123|0]>=0){v[l+40>>2]=v[j+8>>2];g=v[j+4>>2];v[l+32>>2]=v[j>>2];v[l+36>>2]=g;break p}vc(l+32|0,v[s+112>>2],v[s+116>>2])}v[l+28>>2]=0;q:{if(!v[b+132>>2]){g=2;if(!(Qa[v[v[b>>2]+52>>2]](b)|0)){break q}}v[l+28>>2]=1;g=3}r:{if(!v[b+128>>2]){if(!(Qa[v[v[b>>2]+48>>2]](b)|0)){break r}}v[l+28>>2]=g}A[l+16>>3]=y[b+120>>2];A[l+8>>3]=y[b+124>>2];Qa[v[v[s>>2]+140>>2]](s,l+48|0,b+112|0,l+28|0,l+16|0,l+8|0)|0;g=v[s+12>>2];v[s+12>>2]=i;if(g){s:{if((j|0)==(l+32|0)){break s}m=w[l+43|0];i=m<<24>>24;if(t[s+123|0]>=0){if((i|0)>=0){i=v[l+36>>2];v[j>>2]=v[l+32>>2];v[j+4>>2]=i;v[j+8>>2]=v[l+40>>2];break s}De(j,v[l+32>>2],v[l+36>>2]);break s}i=(i|0)<0;mf(j,i?v[l+32>>2]:l+32|0,i?v[l+36>>2]:m)}i=v[b+60>>2];v[g+56>>2]=v[b+56>>2];v[g+60>>2]=i;i=v[b+100>>2];v[g+96>>2]=v[b+96>>2];v[g+100>>2]=i;i=v[b+92>>2];v[g+88>>2]=v[b+88>>2];v[g+92>>2]=i;i=v[b+84>>2];v[g+80>>2]=v[b+80>>2];v[g+84>>2]=i;i=v[b+76>>2];v[g+72>>2]=v[b+72>>2];v[g+76>>2]=i;m=b- -64|0;i=v[m+4>>2];j=g- -64|0;v[j>>2]=v[m>>2];v[j+4>>2]=i;i=g;p=A[g+8>>3];L=A[g+56>>3];q=A[g+16>>3];M=A[g+72>>3];k=(p*L+q*M)*65536;t:{if(D(k)<2147483648){j=~~k;break t}j=-2147483648}v[i+212>>2]=j;i=g;k=p;p=A[g- -64>>3];J=q;q=A[g+80>>3];k=(k*p+J*q)*65536;u:{if(D(k)<2147483648){j=~~k;break u}j=-2147483648}v[i+220>>2]=j;i=g;k=p;p=A[g+24>>3];J=q;q=A[g+32>>3];k=(k*p+J*q)*65536;v:{if(D(k)<2147483648){j=~~k;break v}j=-2147483648}v[i+224>>2]=j;i=g;k=(L*p+M*q)*65536;w:{if(D(k)<2147483648){j=~~k;break w}j=-2147483648}v[i+216>>2]=j;tw(v[g+180>>2],g+212|0)}if(t[l+43|0]<=-1){$a(v[l+32>>2])}i=t[l+59|0]}if(i<<24>>24<=-1){$a(v[l+48>>2])}Ma=l- -64|0;if(!g){cb(a,h+120|0,104);break a}t[h+4|0]=1;pt(h+8|0,g,c,d,e,h+4|0);if(!v[h+12>>2]){break c}Dh(h+84|0)}o=1;g=v[b+192>>2];if((g|0)>-1){break d}u[h+132>>1]=65535;N=C(C(v[v[v[b+180>>2]+88>>2]+36>>2]>>6)*C(.5));z[h+140>>2]=N;z[h+136>>2]=N;cb(a,h+120|0,104);break a}u[h+132>>1]=g;v[h+124>>2]=o;v[h+128>>2]=v[h+116>>2];if(v[b+2228508>>2]){c=b;p=A[b+8>>3];L=A[b+56>>3];q=A[b+16>>3];M=A[b+72>>3];k=(p*L+q*M)*65536;x:{if(D(k)<2147483648){i=~~k;break x}i=-2147483648}v[c+212>>2]=i;c=b;k=p;p=A[b- -64>>3];J=q;q=A[b+80>>3];k=(k*p+J*q)*65536;y:{if(D(k)<2147483648){i=~~k;break y}i=-2147483648}v[c+220>>2]=i;c=b;k=p;p=A[b+24>>3];J=q;q=A[b+32>>3];k=(k*p+J*q)*65536;z:{if(D(k)<2147483648){i=~~k;break z}i=-2147483648}v[c+224>>2]=i;c=b;k=(L*p+M*q)*65536;A:{if(D(k)<2147483648){i=~~k;break A}i=-2147483648}v[c+216>>2]=i;tw(v[b+180>>2],b+212|0)}m=v[b+180>>2];c=Am(m,g,v[b+2228516>>2]?v[v[b+2228512>>2]+156>>2]:40970);B:{if(!(v[b+2228516>>2]!=1|(c|0)<17|(c|0)>39)){if(Am(m,g,40970)){break B}v[b+2228516>>2]=0;break b}if(!c){break b}}cb(a,h+120|0,104);break a}cb(a,h+8|0,104);Dh(h+84|0);break a}v[h+4>>2]=0;if(l0(v[v[b+180>>2]+84>>2],h+4|0)){cb(a,h+120|0,104);break a}if(e){k0(v[h+4>>2]+20|0,v[e>>2],v[e+4>>2]);cb(a,h+120|0,104);break a}e=v[h+4>>2];g=h+8|0;C:{if(!g){break C}v[g>>2]=0;v[g+4>>2]=0;v[g+8>>2]=0;v[g+12>>2]=0;if(!e){break C}c=v[e+4>>2];if(!c){break C}c=v[c+24>>2];if(!c){break C}Qa[c|0](e,g);v[g>>2]=v[g>>2]&-64;v[g+4>>2]=v[g+4>>2]&-64;v[g+8>>2]=v[g+8>>2]+63&-64;v[g+12>>2]=v[g+12>>2]+63&-64}n0(v[h+4>>2]);e=zn(v[b+180>>2],2);c=v[b+132>>2];g=(c|0)==1;D:{if(!e|(c|0)!=1){break D}if(x[e>>1]==65535){g=1;break D}g=x[e+4>>1]<800}c=v[b+180>>2];e=x[c+68>>1];k=A[b+184>>3];n=v[c+84>>2];c=v[n+56>>2];z[h+148>>2]=v[h+16>>2]>>6;z[h+152>>2]=v[h+12>>2]>>6;z[h+156>>2]=v[h+20>>2]>>6;z[h+144>>2]=v[h+8>>2]>>6;N=C(k*+(c|0)/+(e>>>0));z[h+136>>2]=g?C(N+C(1)):N;e=v[n+24>>2];z[h+160>>2]=e>>6;z[h+164>>2]=v[n+28>>2]>>6;c=v[n+40>>2];z[h+176>>2]=c>>6;z[h+168>>2]=v[n+32>>2]>>6;z[h+172>>2]=v[n+36>>2]>>6;z[h+188>>2]=v[n+52>>2]>>6;z[h+180>>2]=v[n+44>>2]>>6;z[h+184>>2]=v[n+48>>2]>>6;E:{if(!(!w[f|0]|c>>>0>63|e>>>0>63)){v[h+124>>2]=2;break E}if(!w[d|0]){break E}t[h+192|0]=1;e=v[v[b+2228512>>2]+160>>2];d=6;F:{if(!n){break F}c=v[n+4>>2];if(!c){break F}d=w0(v[v[c+96>>2]+4>>2],n,e)}if(d){break E}v[h+196>>2]=v[n+100>>2];v[h+200>>2]=v[n+104>>2];e=v[n+80>>2];v[h+204>>2]=e;j=v[n+76>>2];v[h+208>>2]=j;d=w[b+104|0];v[h+212>>2]=d;G:{if(d){c=e;if(!g){break G}e=e+1|0;v[h+204>>2]=e;c=e;break G}c=e+7>>3}b=B(c,j);if(!b){v[h+216>>2]=0;v[h+220>>2]=0;break E}f=gb(b);v[h+220>>2]=0;v[h+216>>2]=f;if(!f){break E}if(!(d?g:0)){if((j|0)<1){break E}b=v[n+88>>2];if((j|0)!=1){g=j&-2;while(1){d=cb(f,b,c)+c|0;b=v[n+84>>2]+b|0;f=cb(d,b,c)+c|0;b=b+v[n+84>>2]|0;g=g-2|0;if(g){continue}break}}if(!(j&1)){break E}cb(f,b,c);break E}if((j|0)<1|(e|0)<1){break E}o=v[n+88>>2];while(1){if((e|0)>=1){g=e-1|0;H:{if(!g){break H}I:{if(e&1){b=g;g=e;break I}b=e-2|0;d=w[o+b|0];t[f+g|0]=d>>>0<255?d:255}if((e|0)==2){break H}while(1){d=0;g=w[(g+o|0)-2|0]+((e|0)!=(g|0)?w[b+o|0]:0)|0;t[b+f|0]=g>>>0<255?g:255;g=b-1|0;d=(b|0)!=(e|0)?w[g+o|0]:d;b=b-2|0;d=d+w[o+b|0]|0;t[g+f|0]=d>>>0<255?d:255;if(b){continue}break}}t[f|0]=w[o|0]}f=c+f|0;o=v[n+84>>2]+o|0;O=O+1|0;if((j|0)>(O|0)){continue}break}}cb(a,h+120|0,104)}Dh(H);Ma=h+224|0}function qz(a,b){var 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,x=0,y=0,z=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0;e=Ma-144|0;Ma=e;v[e+32>>2]=13;v[e+16>>2]=13;h=v[v[a+28>>2]+492>>2];p=Qa[v[v[h>>2]+12>>2]](h)|0;i=v[v[291134]+388>>2];c=v[h+16>>2];if(c){c=v[c+4>>2]}else{c=349015}t=(yz(i,c)|0)!=0;c=v[a+8>>2];i=v[c>>2];a:{if(t){if(!(Qa[v[i+32>>2]](c)|0)){break a}a=v[a+8>>2];Qa[v[v[a>>2]+268>>2]](a,v[b>>2]);break a}if(Qa[v[i+12>>2]](c)|0){c=v[a+8>>2];Qa[v[v[c>>2]+240>>2]](c,v[a+28>>2],b)}F=1;i=v[a+28>>2];c=v[i+592>>2];b:{if(c&1){break b}i=v[i+116>>2];if((Qa[v[v[i>>2]+12>>2]](i)|0)!=10){break b}i=v[a+8>>2];Qa[v[v[i>>2]+64>>2]](i,v[a+28>>2]);i=gv(v[a+28>>2]);v[a+28>>2]=i;v[i+592>>2]=(c^c>>>1)&1?5:7;c=v[a+8>>2];Qa[v[v[c>>2]+168>>2]](c,i);F=0}c=v[a+28>>2];d=A[c+584>>3];m=A[c+512>>3]*0+d*A[c+528>>3];G=A[c+608>>3];n=A[c+504>>3]*0+d*A[c+520>>3];H=A[c+600>>3];c:{d:{if(v[h+20>>2]!=4){break d}c=v[a+8>>2];if(!(Qa[v[v[c>>2]+24>>2]](c)|0)){break d}I=v[a+108>>2];i=v[b>>2];if((i|0)>=1){c=v[a+28>>2];d=A[c+496>>3];f=A[c+24>>3];g=A[c+520>>3];q=A[c+40>>3];l=A[c+528>>3];j=f*g+q*l;o=A[h+56>>3];k=A[c+504>>3];u=A[c+512>>3];x=A[h+40>>3];y=A[h+48>>3];f=(k*f+u*q)*x+y*j;z=A[h- -64>>3];j=d*(o*f+j*z);q=f*d;C=A[c+16>>3];f=C*g;g=A[c+32>>3];f=f+g*l;g=(k*C+u*g)*x+y*f;k=A[c+568>>3];l=g*d*k;o=k*(d*(o*g+f*z));g=A[c+600>>3];f=A[c+608>>3];r=v[b+4>>2];while(1){s=Qa[v[v[h>>2]+16>>2]](h,r,i,e+140|0,e+96|0,8,e+12|0,e+88|0,e+80|0,e+56|0,e+48|0)|0;c=v[a+28>>2];k=A[c+496>>3];d=A[e+88>>3]*k+A[c+552>>3];A[e+88>>3]=d;u=A[c+568>>3]*((s|0)!=1|w[r|0]!=32?d:d+A[c+560>>3]);A[e+88>>3]=u;x=k*A[e+80>>3];A[e+80>>3]=x;J=A[c+520>>3];K=A[c+512>>3];L=A[c+528>>3];d=A[c+48>>3];k=A[c+32>>3];C=A[c+56>>3];M=A[c+24>>3];N=A[c+40>>3];O=A[c+504>>3];y=A[c+16>>3];t=v[a+8>>2];Qa[v[v[t>>2]+64>>2]](t,c);t=v[a+28>>2];p=ab(672);c=vs(p,t,1);v[a+28>>2]=p;P=y;y=n+g;z=m+f;k=d+(P*y+k*z);A[c+16>>3]=l;C=C+(y*M+z*N);A[c+56>>3]=C;A[c+48>>3]=k;A[c+40>>3]=j;A[c+32>>3]=o;A[c+24>>3]=q;d=1e10;e:{if(!(l>1e10)){d=-1e10;if(!(l<-1e10)){break e}}A[c+16>>3]=d}d=1e10;f:{if(!(q>1e10)){d=-1e10;if(!(q<-1e10)){break f}}A[c+24>>3]=d}d=1e10;g:{if(!(o>1e10)){d=-1e10;if(!(o<-1e10)){break g}}A[c+32>>3]=d}d=1e10;h:{if(!(j>1e10)){d=-1e10;if(!(j<-1e10)){break h}}A[c+40>>3]=d}d=1e10;i:{if(!(k>1e10)){d=-1e10;if(!(k<-1e10)){break i}}A[c+48>>3]=d}d=1e10;j:{if(!(C>1e10)){d=-1e10;if(!(C<-1e10)){break j}}A[c+56>>3]=d}c=v[a+8>>2];Qa[v[v[c>>2]+76>>2]](c,v[a+28>>2],1,0,0,1,0,0);p=v[a+8>>2];c=v[a+28>>2];d=A[e+88>>3];k=A[e+80>>3];if(!(Qa[v[v[p>>2]+256>>2]](p,c,y,z,d*A[c+16>>3]+k*A[c+32>>3],d*A[c+24>>3]+k*A[c+40>>3],v[e+140>>2],e+96|0,v[e+12>>2])|0)){p=e+32|0;c=p;E=v[(h+(v[e+140>>2]<<2)|0)+164>>2];k:{if(!(!E|v[h+3512>>2]!=7)){Yd(v[h+3520>>2],E,c);break k}v[c>>2]=5}ue(p,v[a+4>>2],e+16|0,0);p=v[h+3528>>2]==7?v[h+3536>>2]:0;if(p){c=ab(112);OG(c,v[a+4>>2],p,v[a+20>>2]);v[a+20>>2]=c}l:{if(v[e+16>>2]==8){MG(a,e+32|0);break l}c=-1;E=v[a+108>>2];m:{if(!E){break m}E=v[E+4>>2];if(v[E+8>>2]==13){break m}c=v[E+16>>2];c=Qa[v[v[c>>2]+52>>2]](c)|0}fb(1,c,217822,0)}c=v[a+8>>2];Qa[v[v[c>>2]+260>>2]](c,v[a+28>>2]);if(p){c=v[a+20>>2];p=v[c+104>>2];$a(NG(c));v[a+20>>2]=p}bb(e+16|0);bb(e+32|0)}c=v[a+28>>2];if(v[c+668>>2]){while(1){c=nl(c);v[a+28>>2]=c;p=v[a+8>>2];Qa[v[v[p>>2]+68>>2]](p,c);c=v[a+28>>2];if(v[c+668>>2]){continue}break}}$a(hq(c));v[a+28>>2]=t;c=v[a+8>>2];Qa[v[v[c>>2]+68>>2]](c,t);c=v[a+28>>2];f=f+(u*K+x*L);A[c+608>>3]=f;g=g+(u*O+x*J);A[c+600>>3]=g;c=v[c+596>>2];A[c+16>>3]=f;A[c+8>>3]=g;v[c>>2]=1;r=r+s|0;i=i-s|0;if((i|0)>0){continue}break}}v[a+108>>2]=I;break c}c=v[a+8>>2];if(Qa[v[v[c>>2]+12>>2]](c)|0){s=v[b>>2];if((s|0)<1){break c}i=v[b+4>>2];while(1){r=Qa[v[v[h>>2]+16>>2]](h,i,s,e+140|0,e+96|0,8,e+12|0,e+88|0,e+80|0,e+56|0,e+48|0)|0;n:{if(p){c=v[a+28>>2];g=A[c+496>>3];d=g*A[e+88>>3];A[e+88>>3]=d;f=g*A[e+80>>3]+A[c+552>>3];A[e+80>>3]=f;if((r|0)!=1|w[i|0]!=32){break n}f=f+A[c+560>>3];A[e+80>>3]=f;break n}c=v[a+28>>2];g=A[c+496>>3];d=A[e+88>>3]*g+A[c+552>>3];A[e+88>>3]=d;d=(r|0)!=1|w[i|0]!=32?d:d+A[c+560>>3];j=A[c+568>>3];f=g*A[e+80>>3];A[e+80>>3]=f;d=j*d;A[e+88>>3]=d}j=A[c+520>>3];q=A[c+512>>3];l=A[c+528>>3];o=A[c+504>>3];k=g*A[e+48>>3];A[e+48>>3]=k;g=g*A[e+56>>3];A[e+56>>3]=g;t=v[a+8>>2];u=d*o+f*j;d=d*q+f*l;Qa[v[v[t>>2]+248>>2]](t,c,n+A[c+600>>3],m+A[c+608>>3],u,d,o*g+j*k,q*g+l*k,v[e+140>>2],r,e+96|0,v[e+12>>2]);c=v[a+28>>2];A[c+600>>3]=A[c+600>>3]+u;A[c+608>>3]=A[c+608>>3]+d;i=i+r|0;s=s-r|0;if((s|0)>0){continue}break}break c}v[e+88>>2]=0;v[e+92>>2]=0;v[e+80>>2]=0;v[e+84>>2]=0;i=v[b>>2];if((i|0)<1){d=0}else{c=v[b+4>>2];while(1){t=Qa[v[v[h>>2]+16>>2]](h,c,i,e+140|0,e+96|0,8,e+12|0,e+72|0,e- -64|0,e+56|0,e+48|0)|0;f=A[e+72>>3]+A[e+88>>3];A[e+88>>3]=f;g=A[e+64>>3]+A[e+80>>3];A[e+80>>3]=g;r=(t|0)==1?(w[c|0]==32)+r|0:r;c=c+t|0;s=s+1|0;i=i-t|0;if((i|0)>0){continue}break}d=+(s|0)}h=v[a+28>>2];j=A[h+496>>3];c=e;o:{if(p){f=j*f;A[e+88>>3]=f;d=j*g+A[h+552>>3]*d+A[h+560>>3]*+(r|0);break o}f=(f*j+A[h+552>>3]*d+A[h+560>>3]*+(r|0))*A[h+568>>3];A[e+88>>3]=f;d=j*g}A[c+80>>3]=d;j=A[h+520>>3];g=A[h+512>>3];q=A[h+528>>3];l=A[h+504>>3];c=v[a+8>>2];Qa[v[v[c>>2]+252>>2]](c,h,b);c=v[a+28>>2];A[c+600>>3]=A[c+600>>3]+(f*l+d*j);A[c+608>>3]=A[c+608>>3]+(f*g+d*q)}c=v[a+8>>2];if(Qa[v[v[c>>2]+12>>2]](c)|0){c=v[a+8>>2];Qa[v[v[c>>2]+244>>2]](c,v[a+28>>2])}if(!F){c=v[a+8>>2];Qa[v[v[c>>2]+192>>2]](c,v[a+28>>2]);c=v[a+8>>2];Qa[v[v[c>>2]+264>>2]](c,v[a+28>>2]);c=v[a+28>>2];f=A[c+512>>3];q=A[c+528>>3];k=A[c+600>>3];o=A[c+608>>3];j=A[c+496>>3];g=A[c+504>>3];l=A[c+520>>3];d=D(j*g+l*0);A[e+72>>3]=d;g=D(g*0+j*l);A[e+88>>3]=g;l=G+m;m=m+o;h=l>m;o=n+H;n=n+k;i=o>n;if(d>g){A[e+88>>3]=d;g=d}d=D(j*f+q*0);A[e+64>>3]=d;f=D(f*0+j*q);A[e+80>>3]=f;k=g+g;j=(i?n:o)-k;if(d>f){A[e+80>>3]=d;f=d}f=f+f;d=(h?m:l)-f;g=(h?l:m)+f;q=A[c+56>>3];f=A[c+24>>3];n=(i?o:n)+k;o=f*n;k=A[c+40>>3];l=k*d;m=q+(o+l);u=f*j;f=q+(u+l);l=A[c+48>>3];x=A[c+16>>3];y=x*n;z=A[c+32>>3];n=z*d;d=l+(y+n);x=x*j;j=l+(x+n);p:{if(dj)){n=j;d=j;break p}n=j}q:{if(f>m){j=m;m=f;break q}if(!(fg){n=g;break s}if(dm){break t}}f=m}m=q+(u+o);d=l+(x+k);v:{w:{if(dg){break v}}d=g}x:{y:{if(j>m){j=m;break y}if(f>3]>3]=n}if(A[c+640>>3]>3]=j}if(A[c+648>>3]>d){A[c+648>>3]=d}if(A[c+656>>3]>m){A[c+656>>3]=m}c=v[a+28>>2];v[c+592>>2]=0;h=v[a+8>>2];Qa[v[v[h>>2]+168>>2]](h,c);h=Ma-16|0;Ma=h;c=v[a+8>>2];z:{if(!(Qa[v[v[c>>2]+28>>2]](c)|0)){break z}c=v[v[a+28>>2]+380>>2];if(!c){break z}i=-1;A:{B:{C:{r=v[c+4>>2];switch(r-1|0){case 1:break B;case 0:break C;default:break A}}LG(a,c,0,0,1);break z}KG(a,c,0,0,1);break z}s=v[a+108>>2];D:{if(!s){break D}s=v[s+4>>2];if(v[s+8>>2]==13){break D}i=v[s+16>>2];i=Qa[v[v[i>>2]+52>>2]](i)|0;r=v[c+4>>2]}v[h>>2]=r;fb(1,i,258987,h)}Ma=h+16|0;c=nl(v[a+28>>2]);v[a+28>>2]=c;h=v[a+8>>2];Qa[v[v[h>>2]+68>>2]](h,c);c=v[a+8>>2];Qa[v[v[c>>2]+196>>2]](c,v[a+28>>2])}v[a+24>>2]=v[a+24>>2]+B(v[b>>2],10)}Ma=e+144|0}function FSa(a){a=a|0;var 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,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;f=Ma-1136|0;Ma=f;C3(a);if(v[a+188>>2]){Lb(58230,21,1,v[249419])}c=v[a+26028>>2]==1;E=c?15:7;F=c?15:1;c=Yb(B(E+1|0,F+1|0),1280);a:{if(c){m=x[a+26310>>1];while(1){y=g+1|0;b=g<<1;D=b&14;o=b+2&14;l=0;while(1){v[((f+112|0)+(g<<6)|0)+(l<<2)>>2]=c;z=l+1|0;q=l&1;H=(q|o)<<1;G=(q|D)<<1;I=G^2;e=198096;r=0;while(1){A=t[e+1|0];b=A+l|0;C=t[e|0];h=C+g|0;n=w[e+5|0];s=t[e+4|0];k=t[e+3|0];j=t[e+2|0];d=v[a+26028>>2];b:{c:{d:{if((d|0)==1){d=x[a+26314>>1];i=x[a+26312>>1];p=w[(d+b&15|(i+h&15)<<4)+194800|0];if((p|0)!=w[(d+(k+l|0)&15|(i+(g+j|0)&15)<<4)+194800|0]){break b}h=p<<24>>24;b=1;if((p|0)!=w[(d+z&15|(g+i&15)<<4)+194800|0]){break c}b=t[(d+l&15|(i+y&15)<<4)+194800|0];break d}h=d>>>((b&1|h<<1&14)<<1)&3;if((h|0)!=(d>>>((k+l&1|g+j<<1&14)<<1)&3)){break b}b=1;if((d>>>I&3)!=(h|0)){break c}b=d>>>H&3}b=(b|0)==(h|0)?2:1}i=C-j|0;d=i>>31;if((b|0)==(d^d+i)){i=A-k|0;d=i>>31;if((d^d+i)==(b|0)){break b}}v[c+8>>2]=s;v[c+4>>2]=(k+B(j,m)<<2)+h;v[c>>2]=(A+B(m,C)<<2)+h;if(n&1){v[c+12>>2]=0;c=c+16|0}else{c=c+12|0}if(n&2){v[c>>2]=1;c=c+4|0}if(n&4){v[c>>2]=2;c=c+4|0}if(n&8){v[c>>2]=3;c=c+4|0}if(n&16){v[c>>2]=4;c=c+4|0}if(n&32){v[c>>2]=5;c=c+4|0}if(n&64){v[c>>2]=6;c=c+4|0}if(n&128){v[c>>2]=7;c=c+4|0}v[c>>2]=-1;c=c+4|0}e=e+6|0;r=r+1|0;if((r|0)!=64){continue}break}v[c>>2]=2147483647;c=c+4|0;e=198480;r=0;while(1){j=t[e+1|0];n=t[e|0];p=j+B(n,m)|0;v[c>>2]=p<<2;e=e+2|0;b=c;d=v[a+26028>>2];e:{f:{if((d|0)==1){d=x[a+26314>>1];i=x[a+26312>>1];h=w[(d+l&15|(i+g&15)<<4)+194800|0];s=0;if((h|0)==w[(d+(j+l|0)&15|(i+(g+n|0)&15)<<4)+194800|0]){break e}h=h<<24>>24;n=t[(d+((j<<1)+l|0)&15|(i+((n<<1)+g|0)&15)<<4)+194800|0];break f}h=d>>>G&3;s=0;if((h|0)==(d>>>((j+l&1|g+n<<1&14)<<1)&3)){break e}n=d>>>((q|(n<<1)+g<<1&14)<<1)&3}s=0;if((h|0)!=(n|0)){break e}s=(p<<3)+h|0}v[b+4>>2]=s;c=c+8|0;r=r+1|0;if((r|0)!=8){continue}break}b=(l|0)!=(F|0);l=z;if(b){continue}break}b=(g|0)!=(E|0);g=y;if(b){continue}break}v[290201]=e;g:{h:{n=Yb(B(m,3),8);if(n){r=n+(m<<3)|0;if(x[a+26308>>1]>4){break h}p=2;y=n;break g}c=v[a+190640>>2];i:{if(c){b=v[a+25208>>2];v[f+52>>2]=58426;v[f+48>>2]=b;Dc(c,4338,f+48|0);break i}c=v[a+25208>>2];v[f+36>>2]=58426;v[f+32>>2]=c;vb(v[249419],4338,f+32|0)}break a}e=n+(m<<4)|0;z=n;p=2;while(1){y=r;r=e;e=m&65535;if(e>>>0>=5){A=p&E;C=p<<1&14;q=2;while(1){g=v[((f+112|0)+(A<<6)|0)+((q&F)<<2)>>2];c=v[a+26352>>2];v[f+104>>2]=0;v[f+108>>2]=0;v[f+96>>2]=0;v[f+100>>2]=0;v[f+88>>2]=0;v[f+92>>2]=0;v[f+80>>2]=0;v[f+84>>2]=0;k=c+(B(e,p)+q<<3)|0;c=0;l=0;i=0;h=0;j=0;b=0;m=0;d=0;e=v[g>>2];if((e|0)!=2147483647){while(1){b=x[k+(e<<1)>>1]-x[k+(v[g+4>>2]<<1)>>1]|0;c=b>>31;e=(f+80|0)+(v[g+12>>2]<<2)|0;b=(c^c+b)<>2];v[e>>2]=b+v[e>>2];c=v[g+16>>2];j:{if((c|0)==-1){g=g+20|0;break j}c=(f+80|0)+(c<<2)|0;v[c>>2]=b+v[c>>2];e=v[g+20>>2];c=g+24|0;g=c;if((e|0)==-1){break j}while(1){e=(f+80|0)+(e<<2)|0;v[e>>2]=b+v[e>>2];e=v[c>>2];g=c+4|0;c=g;if((e|0)!=-1){continue}break}}e=v[g>>2];if((e|0)!=2147483647){continue}break}i=v[f+100>>2];h=v[f+96>>2];j=v[f+92>>2];b=v[f+88>>2];m=v[f+84>>2];d=v[f+80>>2];l=v[f+104>>2];c=v[f+108>>2]}e=(d|0)<(m|0)?m:d;e=(b|0)>(e|0)?b:e;e=(e|0)<(j|0)?j:e;e=(e|0)<(h|0)?h:e;e=(e|0)<(i|0)?i:e;e=(e|0)<(l|0)?l:e;e=(c|0)>(e|0)?c:e;k:{if(!e){b=x[k+4>>1]|x[k+6>>1]<<16;c=(q<<3)+r|0;e=x[k>>1]|x[k+2>>1]<<16;u[c>>1]=e;u[c+2>>1]=e>>>16;u[c+4>>1]=b;u[c+6>>1]=b>>>16;break k}v[f+72>>2]=0;v[f+76>>2]=0;v[f+64>>2]=0;v[f+68>>2]=0;s=e>>1;e=(d|0)>(m|0)?m:d;b=(b|0)<(e|0)?b:e;b=(b|0)>(j|0)?j:b;b=(b|0)>(h|0)?h:b;b=(b|0)>(i|0)?i:b;b=(b|0)>(l|0)?l:b;m=s+((c|0)<(b|0)?c:b)|0;b=v[a+26028>>2];l:{if((b|0)!=1){e=b>>>((C|q&1)<<1)&3;break l}e=t[(x[a+26314>>1]+q&15|(x[a+26312>>1]+p&15)<<4)+194800|0]}l=(e<<1)+k|0;D=e<<2;c=D+(f- -64|0)|0;i=0;m:{if((d|0)>(m|0)){break m}i=1;d=0;h=v[a+26336>>2];if((h|0)<1){break m}while(1){n:{o:{if((d|0)!=(e|0)){break o}b=v[g+8>>2];if(!b){break o}i=x[k+(b<<1)>>1]+x[l>>1]>>>1|0;j=c;b=v[c>>2];break n}j=(f- -64|0)+(d<<2)|0;i=v[j>>2];b=x[k+(v[g+4>>2]+d<<1)>>1]}v[j>>2]=b+i;i=1;d=d+1|0;if((h|0)!=(d|0)){continue}break}}if((m|0)>=v[f+84>>2]){d=0;o=v[a+26336>>2];if((o|0)>=1){while(1){p:{q:{if((d|0)!=(e|0)){break q}b=v[g+16>>2];if(!b){break q}h=x[k+(b<<1)>>1]+x[l>>1]>>>1|0;b=c;j=v[c>>2];break p}b=(f- -64|0)+(d<<2)|0;h=v[b>>2];j=x[k+(v[g+12>>2]+d<<1)>>1]}v[b>>2]=h+j;d=d+1|0;if((o|0)!=(d|0)){continue}break}}i=i+1|0}if((m|0)>=v[f+88>>2]){d=0;o=v[a+26336>>2];if((o|0)>=1){while(1){r:{s:{if((d|0)!=(e|0)){break s}b=v[g+24>>2];if(!b){break s}h=x[k+(b<<1)>>1]+x[l>>1]>>>1|0;b=c;j=v[c>>2];break r}b=(f- -64|0)+(d<<2)|0;h=v[b>>2];j=x[k+(v[g+20>>2]+d<<1)>>1]}v[b>>2]=h+j;d=d+1|0;if((o|0)!=(d|0)){continue}break}}i=i+1|0}if((m|0)>=v[f+92>>2]){d=0;o=v[a+26336>>2];if((o|0)>=1){while(1){t:{u:{if((d|0)!=(e|0)){break u}b=v[g+32>>2];if(!b){break u}h=x[k+(b<<1)>>1]+x[l>>1]>>>1|0;b=c;j=v[c>>2];break t}b=(f- -64|0)+(d<<2)|0;h=v[b>>2];j=x[k+(v[g+28>>2]+d<<1)>>1]}v[b>>2]=h+j;d=d+1|0;if((o|0)!=(d|0)){continue}break}}i=i+1|0}if((m|0)>=v[f+96>>2]){d=0;o=v[a+26336>>2];if((o|0)>=1){while(1){v:{w:{if((d|0)!=(e|0)){break w}b=v[g+40>>2];if(!b){break w}h=x[k+(b<<1)>>1]+x[l>>1]>>>1|0;b=c;j=v[c>>2];break v}b=(f- -64|0)+(d<<2)|0;h=v[b>>2];j=x[k+(v[g+36>>2]+d<<1)>>1]}v[b>>2]=h+j;d=d+1|0;if((o|0)!=(d|0)){continue}break}}i=i+1|0}if((m|0)>=v[f+100>>2]){d=0;o=v[a+26336>>2];if((o|0)>=1){while(1){x:{y:{if((d|0)!=(e|0)){break y}b=v[g+48>>2];if(!b){break y}h=x[k+(b<<1)>>1]+x[l>>1]>>>1|0;b=c;j=v[c>>2];break x}b=(f- -64|0)+(d<<2)|0;h=v[b>>2];j=x[k+(v[g+44>>2]+d<<1)>>1]}v[b>>2]=h+j;d=d+1|0;if((o|0)!=(d|0)){continue}break}}i=i+1|0}if((m|0)>=v[f+104>>2]){d=0;o=v[a+26336>>2];if((o|0)>=1){while(1){z:{A:{if((d|0)!=(e|0)){break A}b=v[g+56>>2];if(!b){break A}h=x[k+(b<<1)>>1]+x[l>>1]>>>1|0;b=c;j=v[c>>2];break z}b=(f- -64|0)+(d<<2)|0;h=v[b>>2];j=x[k+(v[g+52>>2]+d<<1)>>1]}v[b>>2]=h+j;d=d+1|0;if((o|0)!=(d|0)){continue}break}}i=i+1|0}if((m|0)>=v[f+108>>2]){d=0;m=v[a+26336>>2];if((m|0)>=1){while(1){B:{C:{if((d|0)!=(e|0)){break C}b=v[g+64>>2];if(!b){break C}h=x[k+(b<<1)>>1]+x[l>>1]>>>1|0;b=c;j=v[c>>2];break B}b=(f- -64|0)+(d<<2)|0;h=v[b>>2];j=x[k+(v[g+60>>2]+d<<1)>>1]}v[b>>2]=h+j;d=d+1|0;if((m|0)!=(d|0)){continue}break}}i=i+1|0}c=0;b=v[a+26336>>2];if((b|0)<=0){break k}k=D+(f- -64|0)|0;while(1){g=x[l>>1];g=(c|0)!=(e|0)?((v[(f- -64|0)+(c<<2)>>2]-v[k>>2]|0)/(i|0)|0)+g|0:g;g=(g|0)<65535?g:65535;u[((q<<3)+r|0)+(c<<1)>>1]=(g|0)>0?g:0;c=c+1|0;if((b|0)!=(c|0)){continue}break}}q=q+1|0;e=x[a+26310>>1];if((q|0)<(e-2|0)){continue}break}}if(p>>>0>=4){cb((v[a+26352>>2]+(B(p-2|0,e)<<3)|0)+16|0,z+16|0,(e<<3)-32|0)}m=x[a+26310>>1];e=z;z=y;p=p+1|0;if((p|0)<(x[a+26308>>1]-2|0)){continue}break}}cb((v[a+26352>>2]+(B(p-2|0,m)<<3)|0)+16|0,y+16|0,(m<<3)-32|0);c=v[a+26352>>2];a=x[a+26310>>1];cb((c+(B(a,p-1|0)<<3)|0)+16|0,r+16|0,(a<<3)-32|0);$a(n);$a(v[f+112>>2]);Ma=f+1136|0;return}c=v[a+190640>>2];D:{if(c){b=v[a+25208>>2];v[f+20>>2]=58426;v[f+16>>2]=b;Dc(c,4338,f+16|0);break D}c=v[a+25208>>2];v[f+4>>2]=58426;v[f>>2]=c;vb(v[249419],4338,f)}}tc(a+190484|0,1);L()}function rG(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=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;h=Ma-608|0;Ma=h;a:{b:{c:{f=v[a+56>>2];r=Qa[v[v[f>>2]+28>>2]](f)|0;if((r|0)==-1){break c}f=v[a+56>>2];z=Qa[v[v[f>>2]+28>>2]](f)|0;if((z|0)==-1){break c}f=v[a+56>>2];A=Qa[v[v[f>>2]+28>>2]](f)|0;if((A|0)==-1){break c}f=v[a+56>>2];D=Qa[v[v[f>>2]+28>>2]](f)|0;if((D|0)==-1){break c}v[a+68>>2]=v[a+68>>2]+4;f=v[a+56>>2];m=Qa[v[v[f>>2]+28>>2]](f)|0;if((m|0)==-1){break c}f=v[a+56>>2];B=Qa[v[v[f>>2]+28>>2]](f)|0;if((B|0)==-1){break c}f=v[a+56>>2];F=Qa[v[v[f>>2]+28>>2]](f)|0;if((F|0)==-1){break c}f=v[a+56>>2];i=Qa[v[v[f>>2]+28>>2]](f)|0;if((i|0)==-1){break c}v[a+68>>2]=v[a+68>>2]+4;f=v[a+56>>2];E=Qa[v[v[f>>2]+28>>2]](f)|0;if((E|0)==-1){break c}f=v[a+56>>2];C=Qa[v[v[f>>2]+28>>2]](f)|0;if((C|0)==-1){break c}f=v[a+56>>2];o=Qa[v[v[f>>2]+28>>2]](f)|0;if((o|0)==-1){break c}f=v[a+56>>2];G=Qa[v[v[f>>2]+28>>2]](f)|0;if((G|0)==-1){break c}v[a+68>>2]=v[a+68>>2]+4;f=v[a+56>>2];H=Qa[v[v[f>>2]+28>>2]](f)|0;if((H|0)==-1){break c}f=v[a+56>>2];s=Qa[v[v[f>>2]+28>>2]](f)|0;if((s|0)==-1){break c}f=v[a+56>>2];w=Qa[v[v[f>>2]+28>>2]](f)|0;if((w|0)==-1){break c}f=v[a+56>>2];k=Qa[v[v[f>>2]+28>>2]](f)|0;if((k|0)==-1){break c}v[a+68>>2]=v[a+68>>2]+4;f=v[a+56>>2];K=Qa[v[v[f>>2]+28>>2]](f)|0;if((K|0)==-1){break c}v[a+68>>2]=v[a+68>>2]+1;d:{D=D|(z<<16|r<<24|A<<8);if(D){B=i|(B<<16|m<<24|F<<8);if(B){break d}}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229895,0);break a}e:{i=v[a+24>>2];f:{if(i>>>0<(D>>>0)/10>>>0){break f}F=k|(s<<16|H<<24|w<<8);f=v[a+28>>2];G=G|(C<<16|E<<24|o<<8);if(f>>>0<(B>>>0)/10>>>0|(G>>>0)/10>>>0>i>>>0){break f}if(f>>>0>=(F>>>0)/10>>>0){break e}}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229845,0);v[a+72>>2]=1;break a}if(!jz(a,h+28|0)){break c}t=v[h+28>>2];s=t&1;if(s){if(!jz(a,h+24|0)){break c}f=v[h+24>>2];j=f&3;L=f>>>10&3;M=f>>>8&3;N=f>>>6&3;I=f>>>4&3;J=f>>>2&3;p=f>>>14&1;n=f>>>12&3}E=t>>>15&1;H=t&2;if(!(E|!H)){f=v[a+56>>2];f=Qa[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break c}v[a+68>>2]=v[a+68>>2]+1;v[h+12>>2]=f&128?f|-256:f;f=v[a+56>>2];f=Qa[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break c}v[a+68>>2]=v[a+68>>2]+1;v[h+4>>2]=f&128?f|-256:f;f=v[a+56>>2];f=Qa[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break c}v[a+68>>2]=v[a+68>>2]+1;v[h+16>>2]=f&128?f|-256:f;f=v[a+56>>2];f=Qa[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break c}v[a+68>>2]=v[a+68>>2]+1;v[h+8>>2]=f&128?f|-256:f}if(!ts(a,h+20|0)){break c}f=0;C=ab(16);l=hc(C);g:{h:{if(e){i=0;while(1){k=hz(a,v[(f<<2)+d>>2]);if(!k){break b}i:{if((Qa[v[v[k>>2]+8>>2]](k)|0)==1){i=v[k+8>>2]+i|0;break i}if((Qa[v[v[k>>2]+8>>2]](k)|0)!=3){break i}Ib(l,k)}f=f+1|0;if((f|0)!=(e|0)){continue}break}if(i>>>0>1){break h}f=i}w=s;break g}g=i-1|0;w=0;while(1){w=w+1|0;f=g>>>0>1;g=g>>>1|0;if(f){continue}break}f=i}r=Pb(f,4);if(e){i=0;while(1){m=hz(a,v[(x<<2)+d>>2]);j:{if(!m){break j}if((Qa[v[v[m>>2]+8>>2]](m)|0)!=1){break j}k=v[m+8>>2];if(!k){break j}q=k&3;g=0;if(k-1>>>0>=3){u=k&-4;while(1){o=r+(i<<2)|0;k=g<<2;v[o>>2]=v[k+v[m+12>>2]>>2];v[o+4>>2]=v[v[m+12>>2]+(k|4)>>2];v[o+8>>2]=v[v[m+12>>2]+(k|8)>>2];v[o+12>>2]=v[v[m+12>>2]+(k|12)>>2];g=g+4|0;i=i+4|0;u=u-4|0;if(u){continue}break}}if(!q){break j}while(1){v[r+(i<<2)>>2]=v[v[m+12>>2]+(g<<2)>>2];g=g+1|0;i=i+1|0;q=q-1|0;if(q){continue}break}}x=x+1|0;if((x|0)!=(e|0)){continue}break}}z=0;A=0;m=0;x=0;u=0;q=0;o=0;k:{d=0;l:{if(!s){break l}o=1106464;m:{n:{switch(j|0){case 1:j=0;o=1106704;break m;case 0:break m;default:break n}}if(!v[l+8>>2]){break k}o=v[v[v[C>>2]>>2]+8>>2];j=1}q=1106960;o:{p:{switch(J|0){case 1:q=1107312;break o;case 2:q=1107680;break o;case 0:break o;default:break p}}if(y[l+8>>2]<=j>>>0){break k}q=v[v[v[l>>2]+(j<<2)>>2]+8>>2];j=j+1|0}u=1108032;q:{r:{switch(I|0){case 1:u=1108256;break q;case 2:u=1108480;break q;case 0:break q;default:break r}}if(y[l+8>>2]<=j>>>0){break k}u=v[v[v[l>>2]+(j<<2)>>2]+8>>2];j=j+1|0}m=1108704;x=1108704;s:{t:{switch(N|0){case 1:x=1108800;break s;case 0:break s;default:break t}}if(y[l+8>>2]<=j>>>0){break k}x=v[v[v[l>>2]+(j<<2)>>2]+8>>2];j=j+1|0}u:{v:{switch(M|0){case 1:m=1108800;break u;case 0:break u;default:break v}}if(y[l+8>>2]<=j>>>0){break k}m=v[v[v[l>>2]+(j<<2)>>2]+8>>2];j=j+1|0}z=1108704;A=1108704;w:{x:{switch(L|0){case 1:A=1108800;break w;case 0:break w;default:break x}}if(y[l+8>>2]<=j>>>0){break k}A=v[v[v[l>>2]+(j<<2)>>2]+8>>2];j=j+1|0}y:{z:{switch(n|0){case 1:z=1108800;break y;case 0:break y;default:break z}}if(y[l+8>>2]<=j>>>0){break k}z=v[v[v[l>>2]+(j<<2)>>2]+8>>2];j=j+1|0}d=1105840;if(!p){break l}if(y[l+8>>2]<=j>>>0){break k}d=v[v[v[l>>2]+(j<<2)>>2]+8>>2]}k=d;mc(l);$a(C);A:{if(s){d=v[a+144>>2];v[d+4>>2]=0;v[d+8>>2]=0;v[h+32>>2]=0;d=us(d,4);v[h+40>>2]=0;v[h+44>>2]=0;v[h+36>>2]=d;g=1;while(1){d=v[a+144>>2];e=(h+32|0)+(g<<4)|0;v[e>>2]=g;d=us(d,4);v[e+8>>2]=0;v[e+12>>2]=0;v[e+4>>2]=d;g=g+1|0;if((g|0)!=32){continue}break}v[h+544>>2]=259;d=us(v[a+144>>2],4);v[h+552>>2]=2;v[h+556>>2]=0;v[h+548>>2]=d;v[h+560>>2]=515;d=us(v[a+144>>2],4);v[h+568>>2]=3;v[h+572>>2]=0;v[h+564>>2]=d;v[h+576>>2]=523;g=0;d=us(v[a+144>>2],4);v[h+604>>2]=0;v[h+596>>2]=0;v[h+600>>2]=-1;v[h+584>>2]=7;v[h+588>>2]=0;v[h+580>>2]=d;tG(h+32|0,35);i=Pb(f+1|0,16);B:{if(!f){break B}e=f&3;if(f-1>>>0>=3){d=f&-4;while(1){n=(g<<4)+i|0;v[n+8>>2]=0;v[n>>2]=g;p=g|1;n=(p<<4)+i|0;v[n+8>>2]=0;v[n>>2]=p;p=g|2;n=(p<<4)+i|0;v[n+8>>2]=0;v[n>>2]=p;p=g|3;n=(p<<4)+i|0;v[n+8>>2]=0;v[n>>2]=p;g=g+4|0;d=d-4|0;if(d){continue}break}}if(e){while(1){d=(g<<4)+i|0;v[d+8>>2]=0;v[d>>2]=g;g=g+1|0;e=e-1|0;if(e){continue}break}}if(!f){break B}g=0;while(1){uh(v[a+144>>2],h,h+32|0);d=v[h>>2];C:{if((d|0)>=513){e=d-512|0;D:{if(f>>>0<=g>>>0){break D}while(1){v[((g<<4)+i|0)+4>>2]=0;g=g+1|0;e=e-1|0;if(!e){break D}if(f>>>0>g>>>0){continue}break}}v[h>>2]=e;break C}if((d|0)>=257){if(!g){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,247790,0);tb(r);tb(i);break a}e=d-256|0;E:{if(f>>>0<=g>>>0){break E}while(1){d=(g<<4)+i|0;v[d+4>>2]=v[d-12>>2];g=g+1|0;e=e-1|0;if(!e){break E}if(f>>>0>g>>>0){continue}break}}v[h>>2]=e;break C}v[((g<<4)+i|0)+4>>2]=d;g=g+1|0}if(f>>>0>g>>>0){continue}break}}d=(f<<4)+i|0;v[d+4>>2]=0;v[d+8>>2]=-1;tG(i,f);d=v[a+144>>2];v[d+4>>2]=0;v[d+8>>2]=0;break A}TU(a,w);km(v[a+76>>2]);i=0}d=t>>>10|0;I=t&16384?d|-16:d&31;J=t>>>9&1;p=t>>>7&3;n=t>>>6&1;e=t>>>4&3;d=t>>>2&3;F:{if(!H){d=lG(a,s,0,D,B,v[h+20>>2],d,f,i,w,r,J,p,n,e,I,o,q,u,x,m,A,z,k,E,h+12|0,h+4|0);break F}iz(a,E,0);d=lG(a,s,1,D,B,v[h+20>>2],d,f,i,w,r,J,p,n,e,I,o,q,u,x,m,A,z,k,E,h+12|0,h+4|0)}tb(r);G:{if(c){c=K&7;H:{if(v[a+28>>2]!=-1){break H}b=B+F|0;if(b>>>0<=y[a+32>>2]){break H}kz(v[a+40>>2],b,v[a+36>>2])}wk(v[a+40>>2],d,G,F,c);if(!d){break G}Qa[v[v[d>>2]+4>>2]](d);break G}v[d+4>>2]=b;Ib(v[a+48>>2],d)}if(!s){break a}tb(i);break a}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,247750,0);mc(l);$a(C);tb(r);break a}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,258162,0);break a}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,247824,0);mc(l);$a(C)}Ma=h+608|0}function f3(a,b){var 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,y=0,z=0,A=0,D=0,E=0,F=0,G=C(0),H=C(0);o=Ma-16|0;Ma=o;a:{if(!a){break a}d=o+12|0;r=o+8|0;p=o+4|0;e=a;if(a){if(d){v[d>>2]=v[e>>2]}if(r){v[r>>2]=v[e+4>>2]}if(p){v[p>>2]=v[e+8>>2]}}a=v[o+4>>2];d=a-1|0;if(d>>>0>31|!(1<>2]=v[e>>2]}if(d){v[d>>2]=v[e+4>>2]}if(r){v[r>>2]=v[e+8>>2]}}if(v[f+4>>2]!=1|(c|0)<1){break b}c:{d:{if(c>>>0>16){break d}if(1<>2]:-1;r=e?v[e+40>>2]:0;b=Mg(B(c,v[f+12>>2]),B(c,v[f+8>>2]),1);if(!b){break b}a=b;if(!(!e|!a|(a|0)==(e|0))){v[a+20>>2]=v[e+20>>2];v[a+24>>2]=v[e+24>>2]}G=C(c|0);H=G;if(a){nr(a,H,G)}e=a?v[a+12>>2]:-1;p=a?v[b+40>>2]:0;if(v[f+8>>2]<1){break b}j=e<<2;q=B(c,e);F=c&-2;y=c&1;m=c-1|0;z=m&-4;D=m&3;E=c-2>>>0<3;while(1){g=p+(B(h,q)<<2)|0;n=v[f+12>>2];if((n|0)>0){A=r+(B(d,h)<<2)|0;i=0;while(1){if(v[A+(i>>>3&536870908)>>2]>>>(i^-1)&1){k=B(c,i);n=0;a=F;if(m){while(1){l=k+n|0;s=g+(l>>5<<2)|0;v[s>>2]=v[s>>2]|-2147483648>>>l;l=k+(n|1)|0;s=g+(l>>5<<2)|0;v[s>>2]=v[s>>2]|-2147483648>>>l;n=n+2|0;a=a-2|0;if(a){continue}break}}if(y){a=k+n|0;n=g+(a>>5<<2)|0;v[n>>2]=v[n>>2]|-2147483648>>>a}n=v[f+12>>2]}i=i+1|0;if((i|0)<(n|0)){continue}break}}e:{if((c|0)<2){break e}n=1;a=z;if(!E){while(1){cb(g+(B(e,n)<<2)|0,g,j);cb(g+(B(e,n+1|0)<<2)|0,g,j);cb(g+(B(e,n+2|0)<<2)|0,g,j);cb(g+(B(e,n+3|0)<<2)|0,g,j);n=n+4|0;a=a-4|0;if(a){continue}break}}a=D;if(!a){break e}while(1){cb(g+(B(e,n)<<2)|0,g,j);n=n+1|0;a=a-1|0;if(a){continue}break}}h=h+1|0;if((h|0)>2]){continue}break}a=b;break b}b=0;p=Ma-16|0;Ma=p;f:{if(!e){break f}a=p+12|0;d=p+8|0;r=p+4|0;if(e){if(a){v[a>>2]=v[e>>2]}if(d){v[d>>2]=v[e+4>>2]}if(r){v[r>>2]=v[e+8>>2]}}if(v[p+4>>2]!=1|c>>>0>16){break f}if(!(1<>2]:-1;r=e?v[e+40>>2]:0;F=B(c,v[p+12>>2]);z=B(c,v[p+8>>2]);a=Mg(F,z,1);if(!a){break f}if(!(!e|!a|(a|0)==(e|0))){v[a+20>>2]=v[e+20>>2];v[a+24>>2]=v[e+24>>2]}G=C(c|0);H=G;if(a){nr(a,H,G)}b=a?v[a+12>>2]:-1;_2(a?v[a+40>>2]:0,b,r,v[p+12>>2],v[p+8>>2],d,c);b=a}Ma=p+16|0;a=b}Ma=f+16|0;c=a;break a}a=Mg(B(v[o+12>>2],b),B(v[o+8>>2],b),a);if(!a){break a}KB(a,e);if(!(!e|!a|(a|0)==(e|0))){v[a+20>>2]=v[e+20>>2];v[a+24>>2]=v[e+24>>2]}G=C(b|0);H=G;if(a){nr(a,H,G)}r=e?v[e+40>>2]:0;p=e?v[e+12>>2]:-1;F=a?v[a+40>>2]:0;e=a;d=a?v[a+12>>2]:-1;g:{h:{switch(v[o+4>>2]-2|0){case 30:if(v[o+8>>2]<1){break g}q=d<<2;E=B(b,d);z=b&-8;D=b&7;y=b-1|0;n=y&-4;g=y&3;A=b-2>>>0<3;while(1){j=F+(B(f,E)<<2)|0;if(v[o+12>>2]>=1){l=r+(B(f,p)<<2)|0;i=0;while(1){a=j+(B(b,i)<<2)|0;k=v[l+(i<<2)>>2];h=0;c=z;if(y>>>0>=7){while(1){m=h<<2;v[m+a>>2]=k;v[a+(m|4)>>2]=k;v[a+(m|8)>>2]=k;v[a+(m|12)>>2]=k;v[a+(m|16)>>2]=k;v[a+(m|20)>>2]=k;v[a+(m|24)>>2]=k;v[a+(m|28)>>2]=k;h=h+8|0;c=c-8|0;if(c){continue}break}}c=D;if(c){while(1){v[a+(h<<2)>>2]=k;h=h+1|0;c=c-1|0;if(c){continue}break}}i=i+1|0;if((i|0)>2]){continue}break}}a=1;c=n;if(!A){while(1){cb(j+(B(a,d)<<2)|0,j,q);cb(j+(B(d,a+1|0)<<2)|0,j,q);cb(j+(B(d,a+2|0)<<2)|0,j,q);cb(j+(B(d,a+3|0)<<2)|0,j,q);a=a+4|0;c=c-4|0;if(c){continue}break}}c=g;if(c){while(1){cb(j+(B(a,d)<<2)|0,j,q);a=a+1|0;c=c-1|0;if(c){continue}break}}f=f+1|0;if((f|0)>2]){continue}break};break g;case 14:if(v[o+8>>2]<1){break g}j=d<<2;y=B(b,d);z=b&-4;D=b&3;q=b-1|0;n=q&-4;g=q&3;E=b-2>>>0<3;while(1){h=F+(B(f,y)<<2)|0;A=v[o+12>>2];if((A|0)>=1){l=r+(B(f,p)<<2)|0;i=0;while(1){k=B(b,i);m=x[(l+(i<<1)^2)>>1];a=0;c=z;if(q>>>0>=3){while(1){u[(h+(a+k<<1)^2)>>1]=m;u[(h+(k+(a|1)<<1)^2)>>1]=m;u[(h+(k+(a|2)<<1)^2)>>1]=m;u[(h+(k+(a|3)<<1)^2)>>1]=m;a=a+4|0;c=c-4|0;if(c){continue}break}}c=D;if(c){while(1){u[(h+(a+k<<1)^2)>>1]=m;a=a+1|0;c=c-1|0;if(c){continue}break}}i=i+1|0;if((A|0)!=(i|0)){continue}break}}a=1;c=n;if(!E){while(1){cb(h+(B(a,d)<<2)|0,h,j);cb(h+(B(d,a+1|0)<<2)|0,h,j);cb(h+(B(d,a+2|0)<<2)|0,h,j);cb(h+(B(d,a+3|0)<<2)|0,h,j);a=a+4|0;c=c-4|0;if(c){continue}break}}c=g;if(c){while(1){cb(h+(B(a,d)<<2)|0,h,j);a=a+1|0;c=c-1|0;if(c){continue}break}}f=f+1|0;if((f|0)>2]){continue}break};break g;case 6:if(v[o+8>>2]<1){break g}j=d<<2;y=B(b,d);z=b&-4;D=b&3;q=b-1|0;n=q&-4;g=q&3;E=b-2>>>0<3;while(1){f=F+(B(h,y)<<2)|0;if(v[o+12>>2]>=1){A=r+(B(h,p)<<2)|0;i=0;while(1){k=B(b,i);m=w[i+A^3];a=0;c=z;if(q>>>0>=3){while(1){t[f+(a+k|0)^3]=m;t[f+(k+(a|1)|0)^3]=m;t[f+(k+(a|2)|0)^3]=m;t[f+(k+(a|3)|0)^3]=m;a=a+4|0;c=c-4|0;if(c){continue}break}}c=D;if(c){while(1){t[f+(a+k|0)^3]=m;a=a+1|0;c=c-1|0;if(c){continue}break}}i=i+1|0;if((i|0)>2]){continue}break}}a=1;c=n;if(!E){while(1){cb(f+(B(a,d)<<2)|0,f,j);cb(f+(B(d,a+1|0)<<2)|0,f,j);cb(f+(B(d,a+2|0)<<2)|0,f,j);cb(f+(B(d,a+3|0)<<2)|0,f,j);a=a+4|0;c=c-4|0;if(c){continue}break}}c=g;if(c){while(1){cb(f+(B(a,d)<<2)|0,f,j);a=a+1|0;c=c-1|0;if(c){continue}break}}h=h+1|0;if((h|0)>2]){continue}break};break g;case 2:if(v[o+8>>2]<1){break g}h=d<<2;q=B(b,d);z=b&-2;y=b&1;m=b-1|0;D=m&-4;n=m&3;E=b-2>>>0<3;while(1){g=F+(B(f,q)<<2)|0;if(v[o+12>>2]>=1){A=r+(B(f,p)<<2)|0;i=0;while(1){j=v[A+(i>>>1&2147483644)>>2]>>>((i<<2^-1)&28)&15;k=B(b,i);a=0;c=z;if(m){while(1){l=a+k|0;s=g+(l>>3<<2)|0;l=l<<2;v[s>>2]=v[s>>2]&(-268435456>>>l^-1)|j<<28-(l&28);l=k+(a|1)|0;s=g+(l>>3<<2)|0;l=l<<2;v[s>>2]=v[s>>2]&(-268435456>>>l^-1)|j<<28-(l&28);a=a+2|0;c=c-2|0;if(c){continue}break}}if(y){a=a+k|0;c=g+(a>>3<<2)|0;a=a<<2;v[c>>2]=v[c>>2]&(-268435456>>>a^-1)|j<<28-(a&28)}i=i+1|0;if((i|0)>2]){continue}break}}a=1;c=D;if(!E){while(1){cb(g+(B(a,d)<<2)|0,g,h);cb(g+(B(d,a+1|0)<<2)|0,g,h);cb(g+(B(d,a+2|0)<<2)|0,g,h);cb(g+(B(d,a+3|0)<<2)|0,g,h);a=a+4|0;c=c-4|0;if(c){continue}break}}c=n;if(c){while(1){cb(g+(B(a,d)<<2)|0,g,h);a=a+1|0;c=c-1|0;if(c){continue}break}}f=f+1|0;if((f|0)>2]){continue}break};break g;case 0:if(v[o+8>>2]<1){break g}h=d<<2;q=B(b,d);z=b&-2;y=b&1;m=b-1|0;D=m&-4;n=m&3;E=b-2>>>0<3;while(1){g=F+(B(f,q)<<2)|0;if(v[o+12>>2]>=1){A=r+(B(f,p)<<2)|0;i=0;while(1){j=v[A+(i>>>2&1073741820)>>2]>>>((i<<1^-1)&30)&3;k=B(b,i);a=0;c=z;if(m){while(1){l=a+k|0;s=g+(l>>4<<2)|0;l=l<<1;v[s>>2]=v[s>>2]&(-1073741824>>>l^-1)|j<<30-(l&30);l=k+(a|1)|0;s=g+(l>>4<<2)|0;l=l<<1;v[s>>2]=v[s>>2]&(-1073741824>>>l^-1)|j<<30-(l&30);a=a+2|0;c=c-2|0;if(c){continue}break}}if(y){a=a+k|0;c=g+(a>>4<<2)|0;a=a<<1;v[c>>2]=v[c>>2]&(-1073741824>>>a^-1)|j<<30-(a&30)}i=i+1|0;if((i|0)>2]){continue}break}}a=1;c=D;if(!E){while(1){cb(g+(B(a,d)<<2)|0,g,h);cb(g+(B(d,a+1|0)<<2)|0,g,h);cb(g+(B(d,a+2|0)<<2)|0,g,h);cb(g+(B(d,a+3|0)<<2)|0,g,h);a=a+4|0;c=c-4|0;if(c){continue}break}}c=n;if(c){while(1){cb(g+(B(a,d)<<2)|0,g,h);a=a+1|0;c=c-1|0;if(c){continue}break}}f=f+1|0;if((f|0)>2]){continue}break};break g;default:break h}}Lb(4422,14,1,v[249419])}c=e}Ma=o+16|0;return c}function xya(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=Ma-32|0;Ma=e;j=v[a+404>>2];a:{if(!v[a+212>>2]){if(v[a+288>>2]<=0){break a}while(1){c=v[((b<<2)+a|0)+292>>2];if(!(v[a+360>>2]|v[a+368>>2])){vm(a,v[c+20>>2],0)}if(v[a+364>>2]){vm(a,v[c+24>>2],1)}b=b+1|0;if((b|0)>2]){continue}break}break a}v[e+16>>2]=0;v[e+20>>2]=0;v[e+24>>2]=0;v[e+28>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;v[e>>2]=0;v[e+4>>2]=0;c=v[a+288>>2];b:{if((c|0)<1){break b}b=v[a+364>>2];if(!v[a+360>>2]){if(!v[a+368>>2]){if(b){b=0;if((c|0)!=1){d=c&-2;f=a+292|0;while(1){g=e+16|0;h=b<<2;i=v[h+f>>2];t[g+v[i+20>>2]|0]=1;t[v[i+24>>2]+e|0]=1;i=g;g=v[f+(h|4)>>2];t[i+v[g+20>>2]|0]=1;t[v[g+24>>2]+e|0]=1;b=b+2|0;d=d-2|0;if(d){continue}break}}if(!(c&1)){break b}b=v[((b<<2)+a|0)+292>>2];t[v[b+20>>2]+(e+16|0)|0]=1;t[v[b+24>>2]+e|0]=1;break b}d=c&3;b=0;if(c-1>>>0>=3){c=c&-4;f=a+292|0;while(1){h=e+16|0;g=b<<2;t[h+v[v[g+f>>2]+20>>2]|0]=1;t[h+v[v[f+(g|4)>>2]+20>>2]|0]=1;t[h+v[v[f+(g|8)>>2]+20>>2]|0]=1;t[h+v[v[f+(g|12)>>2]+20>>2]|0]=1;b=b+4|0;c=c-4|0;if(c){continue}break}}if(!d){break b}while(1){t[v[v[((b<<2)+a|0)+292>>2]+20>>2]+(e+16|0)|0]=1;b=b+1|0;d=d-1|0;if(d){continue}break}break b}if(!b){break b}d=c&3;b=0;if(c-1>>>0>=3){c=c&-4;f=a+292|0;while(1){g=b<<2;t[v[v[g+f>>2]+24>>2]+e|0]=1;t[v[v[f+(g|4)>>2]+24>>2]+e|0]=1;t[v[v[f+(g|8)>>2]+24>>2]+e|0]=1;t[v[v[f+(g|12)>>2]+24>>2]+e|0]=1;b=b+4|0;c=c-4|0;if(c){continue}break}}if(!d){break b}while(1){t[v[v[((b<<2)+a|0)+292>>2]+24>>2]+e|0]=1;b=b+1|0;d=d-1|0;if(d){continue}break}break b}if(!b){break b}d=c&3;b=0;if(c-1>>>0>=3){c=c&-4;f=a+292|0;while(1){g=b<<2;t[v[v[g+f>>2]+24>>2]+e|0]=1;t[v[v[f+(g|4)>>2]+24>>2]+e|0]=1;t[v[v[f+(g|8)>>2]+24>>2]+e|0]=1;t[v[v[f+(g|12)>>2]+24>>2]+e|0]=1;b=b+4|0;c=c-4|0;if(c){continue}break}}if(!d){break b}while(1){t[v[v[((b<<2)+a|0)+292>>2]+24>>2]+e|0]=1;b=b+1|0;d=d-1|0;if(d){continue}break}}d=t[e+15|0]+(t[e+31|0]+(t[e+14|0]+(t[e+30|0]+(t[e+13|0]+(t[e+29|0]+(t[e+12|0]+(t[e+28|0]+(t[e+11|0]+(t[e+27|0]+(t[e+10|0]+(t[e+26|0]+(t[e+9|0]+(t[e+25|0]+(t[e+8|0]+(t[e+24|0]+(t[e+7|0]+(t[e+23|0]+(t[e+6|0]+(t[e+22|0]+(t[e+5|0]+(t[e+21|0]+(t[e+4|0]+(t[e+20|0]+(t[e+3|0]+(t[e+19|0]+(t[e+2|0]+(t[e+18|0]+(t[e+1|0]+(t[e+17|0]+(t[e|0]+t[e+16|0]|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0;if(!d){break a}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=255;c=v[b+4>>2]-1|0;v[b+4>>2]=c;c:{if(c){break c}if(Qa[v[b+12>>2]](a)|0){break c}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=204;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d:{if(c){break d}if(Qa[v[b+12>>2]](a)|0){break d}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;d=(d<<1)+2|0;t[c|0]=d>>>8;c=v[b+4>>2]-1|0;v[b+4>>2]=c;e:{if(c){break e}if(Qa[v[b+12>>2]](a)|0){break e}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=d;c=v[b+4>>2]-1|0;v[b+4>>2]=c;f:{if(c){break f}if(Qa[v[b+12>>2]](a)|0){break f}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=0;while(1){g:{if(!w[(e+16|0)+b|0]){break g}c=v[a+24>>2];d=v[c>>2];v[c>>2]=d+1;t[d|0]=b;d=v[c+4>>2]-1|0;v[c+4>>2]=d;h:{if(d){break h}if(Qa[v[c+12>>2]](a)|0){break h}c=v[a>>2];v[c+20>>2]=25;Qa[v[c>>2]](a)}c=a+b|0;f=w[c+152|0];g=w[c+168|0];c=v[a+24>>2];d=v[c>>2];v[c>>2]=d+1;t[d|0]=f+(g<<4);d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break g}if(Qa[v[c+12>>2]](a)|0){break g}c=v[a>>2];v[c+20>>2]=25;Qa[v[c>>2]](a)}i:{if(!w[b+e|0]){break i}c=v[a+24>>2];d=v[c>>2];v[c>>2]=d+1;t[d|0]=b+16;d=v[c+4>>2]-1|0;v[c+4>>2]=d;j:{if(d){break j}if(Qa[v[c+12>>2]](a)|0){break j}c=v[a>>2];v[c+20>>2]=25;Qa[v[c>>2]](a)}f=w[(a+b|0)+184|0];c=v[a+24>>2];d=v[c>>2];v[c>>2]=d+1;t[d|0]=f;d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break i}if(Qa[v[c+12>>2]](a)|0){break i}c=v[a>>2];v[c+20>>2]=25;Qa[v[c>>2]](a)}b=b+1|0;if((b|0)!=16){continue}break}}if(v[a+236>>2]!=v[j+28>>2]){b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=255;c=v[b+4>>2]-1|0;v[b+4>>2]=c;k:{if(c){break k}if(Qa[v[b+12>>2]](a)|0){break k}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=221;c=v[b+4>>2]-1|0;v[b+4>>2]=c;l:{if(c){break l}if(Qa[v[b+12>>2]](a)|0){break l}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;m:{if(c){break m}if(Qa[v[b+12>>2]](a)|0){break m}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=4;c=v[b+4>>2]-1|0;v[b+4>>2]=c;n:{if(c){break n}if(Qa[v[b+12>>2]](a)|0){break n}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}c=v[a+236>>2];b=v[a+24>>2];d=v[b>>2];v[b>>2]=d+1;t[d|0]=c>>>8;d=v[b+4>>2]-1|0;v[b+4>>2]=d;o:{if(d){break o}if(Qa[v[b+12>>2]](a)|0){break o}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];d=v[b>>2];v[b>>2]=d+1;t[d|0]=c;c=v[b+4>>2]-1|0;v[b+4>>2]=c;p:{if(c){break p}if(Qa[v[b+12>>2]](a)|0){break p}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}v[j+28>>2]=v[a+236>>2]}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=255;c=v[b+4>>2]-1|0;v[b+4>>2]=c;q:{if(c){break q}if(Qa[v[b+12>>2]](a)|0){break q}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=218;c=v[b+4>>2]-1|0;v[b+4>>2]=c;r:{if(c){break r}if(Qa[v[b+12>>2]](a)|0){break r}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}d=v[a+288>>2];b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;d=(d<<1)+6|0;t[c|0]=d>>>8;c=v[b+4>>2]-1|0;v[b+4>>2]=c;s:{if(c){break s}if(Qa[v[b+12>>2]](a)|0){break s}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=d;c=v[b+4>>2]-1|0;v[b+4>>2]=c;t:{if(c){break t}if(Qa[v[b+12>>2]](a)|0){break t}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}d=v[a+288>>2];b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=d;c=v[b+4>>2]-1|0;v[b+4>>2]=c;u:{if(c){break u}if(Qa[v[b+12>>2]](a)|0){break u}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}if(v[a+288>>2]>=1){d=0;while(1){c=v[((d<<2)+a|0)+292>>2];g=v[c>>2];b=v[a+24>>2];f=v[b>>2];v[b>>2]=f+1;t[f|0]=g;f=v[b+4>>2]-1|0;v[b+4>>2]=f;v:{if(f){break v}if(Qa[v[b+12>>2]](a)|0){break v}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}f=0;b=0;w:{if(v[a+360>>2]){break w}b=0;if(v[a+368>>2]){break w}b=v[c+20>>2]}f=v[a+364>>2]?v[c+24>>2]:f;c=v[a+24>>2];g=v[c>>2];v[c>>2]=g+1;t[g|0]=(b<<4)+f;b=v[c+4>>2]-1|0;v[c+4>>2]=b;x:{if(b){break x}if(Qa[v[c+12>>2]](a)|0){break x}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}d=d+1|0;if((d|0)>2]){continue}break}}d=v[a+360>>2];b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=d;c=v[b+4>>2]-1|0;v[b+4>>2]=c;y:{if(c){break y}if(Qa[v[b+12>>2]](a)|0){break y}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}d=v[a+364>>2];b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=d;c=v[b+4>>2]-1|0;v[b+4>>2]=c;z:{if(c){break z}if(Qa[v[b+12>>2]](a)|0){break z}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}d=v[a+372>>2];f=v[a+368>>2];b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=d+(f<<4);c=v[b+4>>2]-1|0;v[b+4>>2]=c;A:{if(c){break A}if(Qa[v[b+12>>2]](a)|0){break A}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}Ma=e+32|0}function gp(a){var 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,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;a:{b:{if(w[a+476|0]?1:w[a+496|0]){if(w[a+460|0]){break b}n=v[a+544>>2];o=v[a+512>>2];p=v[a+980>>2];q=v[a+968>>2];r=v[a+976>>2];s=w[a+649|0];z=w[a+648|0];A=v[a+644>>2];B=v[a+640>>2];C=v[a+604>>2];D=v[a+588>>2];E=v[a+584>>2];F=v[a+580>>2];G=v[a+576>>2];H=v[a+572>>2];I=w[a+568|0];J=v[a+668>>2];K=v[a+664>>2];L=v[a+660>>2];M=v[a+656>>2];N=v[a+684>>2];O=v[a+680>>2];P=v[a+676>>2];Q=v[a+672>>2];v[a+680>>2]=0;v[a+672>>2]=0;c=v[a+16>>2];v[a+676>>2]=c;e=v[a+20>>2];v[a+684>>2]=e;c:{if(!w[a+1124|0]){b=c;break c}b=v[a+1128>>2];h=(b|0)>0?b:0;v[a+672>>2]=h;b=v[a+1136>>2];d=(b|0)>0?b:0;v[a+680>>2]=d;b=v[a+1132>>2];b=(b|0)>(c|0)?c:b;v[a+676>>2]=b;g=v[a+1140>>2];e=(e|0)<(g|0)?e:g;v[a+684>>2]=e}d:{if((b|0)<(h|0)|(d|0)>(e|0)){break d}v[a+664>>2]=0;v[a+656>>2]=0;u[a+648>>1]=256;v[a+588>>2]=c;v[a+580>>2]=0;v[a+584>>2]=1;v[a+572>>2]=0;v[a+576>>2]=1;t[a+568|0]=255;v[a+668>>2]=e-d;v[a+660>>2]=b-h;v[a+604>>2]=c<<2;Yw(a);v[a+972>>2]=827;e=1;e:{f:{switch(v[a+12>>2]-1|0){case 0:case 2:break f;default:break e}}if(!w[a+86|0]){break e}b=v[a+512>>2];if(!b){b=v[a+528>>2];v[a+512>>2]=b}if(!w[v[b+88>>2]+61|0]){break e}v[a+972>>2]=828;e=0}g:{if(!v[a+224>>2]){break g}b=829;h:{i:{j:{k:{l:{d=v[a+56>>2];switch(d|0){case 2:case 3:case 4:break g;case 0:break h;case 5:break i;case 6:break j;case 1:break l;default:break k}}b=830;break h}if((d|0)!=65537){break g}b=831;break h}b=832;break h}b=833}v[a+972>>2]=b}m:{n:{o:{if(!w[a+302|0]){break o}b=w[a+1058|0];p:{if(b&2){if(x[a+1060>>1]|b&1){break p}break o}if(!(b&1)){break o}}v[a+976>>2]=0;v[a+972>>2]=834;break n}v[a+976>>2]=0;if(e){break m}}e=Kt(a,1,0,0);if(e){break b}}b=Qa[v[a+152>>2]](v[a+604>>2])|0;v[a+644>>2]=b;if(!b){break a}b=v[a+680>>2];while(1){q:{d=b;c=v[a+684>>2];if((c|0)<=(b|0)){e=0;break q}e=Qa[v[a+972>>2]](a)|0;if(e){break q}b=v[a+976>>2];if(b){e=Qa[b|0](a)|0;if(e){break q}}e=Qa[v[a+968>>2]](a)|0;if(e){break q}b=d+1|0;e=_q(a);if(!e){continue}}break}b=v[a+644>>2];if(b){Qa[v[a+156>>2]](b,v[a+604>>2]);v[a+644>>2]=0}if((c|0)>(d|0)){break b}if(!w[a+302|0]|!(w[a+1058|0]&2)){break d}b=x[a+1060>>1];if(!b){break d}i=ig(a,b);v[a+544>>2]=i;if(!w[i+31|0]|(!i|!w[i+32|0])){break d}d=v[a+676>>2];h=v[i+36>>2];if((d|0)<=(h|0)){break d}b=v[a+684>>2];g=v[i+40>>2];if((b|0)<=(g|0)){break d}l=w[a+1062|0];if(!l){c=v[i+88>>2];if(v[a+672>>2]>(h+v[c+36>>2]|0)|v[a+680>>2]>(g+v[c+40>>2]|0)){break d}}r:{if(!w[i+44|0]){e=v[a+672>>2];break r}c=v[i+48>>2];j=v[i+52>>2];if((c|0)>(j|0)){break d}k=v[i+56>>2];f=v[i+60>>2];if((k|0)>(f|0)|(c|0)>=(d|0)){break d}e=v[a+672>>2];if((j|0)<(e|0)|(b|0)<=(k|0)){break d}m=v[a+680>>2];if((f|0)<(m|0)){break d}if((c|0)>(e|0)){v[a+672>>2]=c;e=c}if((d|0)>(j|0)){v[a+676>>2]=j;d=j}if((k|0)>(m|0)){v[a+680>>2]=k}if((b|0)<=(f|0)){break r}v[a+684>>2]=f;b=f}if((e|0)<(h|0)){v[a+672>>2]=h;e=h}c=v[a+680>>2];if((g|0)>(c|0)){v[a+680>>2]=g;c=g}f=v[i+88>>2];i=v[f+36>>2];s:{if(l){k=v[f+40>>2];break s}j=h+i|0;if((j|0)<(d|0)){v[a+676>>2]=j;d=j}k=v[f+40>>2];j=g+k|0;if((j|0)>=(b|0)){break s}v[a+684>>2]=j;b=j}j=0;v[a+664>>2]=0;v[a+656>>2]=0;v[a+668>>2]=b-c;v[a+660>>2]=d-e;b=w[f+44|0];v[a+1076>>2]=k;v[a+1072>>2]=i;v[a+1068>>2]=g;v[a+1064>>2]=h;v[a+572>>2]=0;b=b>>>0>8;t[a+648|0]=b;t:{u:{v:{switch(w[f+45|0]){case 0:v[a+980>>2]=b?820:821;j=!w[f+56|0];break u;case 2:v[a+980>>2]=b?822:823;j=!w[f+56|0];break u;case 3:v[a+980>>2]=824;j=!w[f+56|0];break u;case 4:v[a+980>>2]=b?825:826;break u;case 6:v[a+980>>2]=b?693:694;break u;case 8:v[a+980>>2]=b?820:821;j=1;break u;case 10:v[a+980>>2]=b?822:823;j=1;break u;case 12:v[a+980>>2]=b?825:826;break u;case 14:break v;default:break t}}v[a+980>>2]=b?693:694}t[a+649|0]=j}e=Kt(a,0,0,1);if(e){break b}b=Qa[v[a+152>>2]](v[a+604>>2])|0;v[a+640>>2]=b;if(!b){break a}b=Qa[v[a+152>>2]](v[a+604>>2])|0;v[a+644>>2]=b;if(!b){break a}b=v[a+680>>2];while(1){w:{j=b;k=v[a+684>>2];if((k|0)<=(b|0)){e=0;break w}l=v[a+572>>2];b=v[a+1068>>2]+(l+v[a+680>>2]|0)|0;c=v[a+1076>>2];m=v[a+588>>2];h=v[a+644>>2];while(1){d=b;b=b-c|0;if((c|0)<=(d|0)){continue}break}v[a+572>>2]=d;v[a+588>>2]=v[a+1072>>2];v[a+644>>2]=v[a+640>>2];e=Qa[v[a+980>>2]](a)|0;if(!e){d=v[a+672>>2];e=d-v[a+1064>>2]|0;c=v[a+1072>>2];while(1){b=e;e=b-c|0;if(b>>>0>=c>>>0){continue}break}g=v[a+676>>2];e=g-d|0;x:{if(w[a+648|0]){if((e|0)<1){break x}i=d+1|0;c=v[a+640>>2]+(b<<3)|0;if(g-d&1){d=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);f=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);t[h|0]=f;t[h+1|0]=f>>>8;t[h+2|0]=f>>>16;t[h+3|0]=f>>>24;t[h+4|0]=d;t[h+5|0]=d>>>8;t[h+6|0]=d>>>16;t[h+7|0]=d>>>24;b=b+1|0;if(b>>>0>2]){c=c+8|0}else{b=0;c=v[a+640>>2]}e=e-1|0;d=h+8|0}else{d=h}if((g|0)==(i|0)){break x}while(1){g=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);f=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);t[d|0]=f;t[d+1|0]=f>>>8;t[d+2|0]=f>>>16;t[d+3|0]=f>>>24;t[d+4|0]=g;t[d+5|0]=g>>>8;t[d+6|0]=g>>>16;t[d+7|0]=g>>>24;b=b+1|0;if(b>>>0>2]){c=c+8|0}else{b=0;c=v[a+640>>2]}f=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);i=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);t[d+8|0]=i;t[d+9|0]=i>>>8;t[d+10|0]=i>>>16;t[d+11|0]=i>>>24;t[d+12|0]=f;t[d+13|0]=f>>>8;t[d+14|0]=f>>>16;t[d+15|0]=f>>>24;b=b+1|0;if(b>>>0>2]){c=c+8|0}else{b=0;c=v[a+640>>2]}d=d+16|0;g=(e|0)>2;e=e-2|0;if(g){continue}break}break x}if((e|0)<1){break x}f=d+1|0;c=v[a+640>>2]+(b<<2)|0;if(g-d&1){d=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);t[h|0]=d;t[h+1|0]=d>>>8;t[h+2|0]=d>>>16;t[h+3|0]=d>>>24;b=b+1|0;if(b>>>0>2]){c=c+4|0}else{b=0;c=v[a+640>>2]}e=e-1|0;d=h+4|0}else{d=h}if((g|0)==(f|0)){break x}while(1){g=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);t[d|0]=g;t[d+1|0]=g>>>8;t[d+2|0]=g>>>16;t[d+3|0]=g>>>24;g=d;i=d;b=b+1|0;if(b>>>0>2]){c=c+4|0}else{b=0;c=v[a+640>>2]}f=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);t[i+4|0]=f;t[g+5|0]=f>>>8;t[g+6|0]=f>>>16;t[g+7|0]=f>>>24;b=b+1|0;if(b>>>0>2]){c=c+4|0}else{b=0;c=v[a+640>>2]}d=d+8|0;g=(e|0)>2;e=e-2|0;if(g){continue}break}}v[a+588>>2]=m;v[a+572>>2]=l;v[a+644>>2]=h;e=0}if(e){break w}b=v[a+976>>2];if(b){e=Qa[b|0](a)|0;if(e){break w}}e=Qa[v[a+968>>2]](a)|0;if(e){break w}b=j+1|0;e=_q(a);if(!e){continue}}break}b=v[a+644>>2];if(b){Qa[v[a+156>>2]](b,v[a+604>>2]);v[a+644>>2]=0}b=v[a+640>>2];if(b){Qa[v[a+156>>2]](b,v[a+604>>2]);v[a+640>>2]=0}if((j|0)<(k|0)){break b}}v[a+684>>2]=N;v[a+680>>2]=O;v[a+676>>2]=P;v[a+672>>2]=Q;v[a+668>>2]=J;v[a+664>>2]=K;v[a+660>>2]=L;v[a+656>>2]=M;v[a+976>>2]=r;t[a+649|0]=s;t[a+648|0]=z;v[a+644>>2]=A;v[a+640>>2]=B;v[a+604>>2]=C;v[a+588>>2]=D;v[a+584>>2]=E;v[a+580>>2]=F;v[a+576>>2]=G;v[a+572>>2]=H;t[a+568|0]=I;v[a+980>>2]=p;v[a+968>>2]=q;v[a+512>>2]=o;v[a+544>>2]=n}e=0}return e}ob(a,1,0,0);return 1}function dH(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;v[d+552>>2]=0;v[d+556>>2]=0;v[d+544>>2]=-343597384;v[d+548>>2]=1068415057;v[d+536>>2]=0;v[d+528>>2]=0;v[d+532>>2]=0;v[d+520>>2]=0;v[d+512>>2]=0;v[d+408>>2]=0;v[d+304>>2]=0;v[d+288>>2]=0;v[d+272>>2]=7;v[d+276>>2]=1;v[d+264>>2]=1580547965;v[d+268>>2]=1067731386;v[d+256>>2]=0;v[d+212>>2]=0;v[d+152>>2]=0;v[d+108>>2]=0;v[d+48>>2]=0;v[d+560>>2]=0;v[d+564>>2]=0;v[d+584>>2]=1;v[d+576>>2]=0;v[d+580>>2]=0;v[d+568>>2]=1;a:{if(!b|!c){break a}v[a+1144>>2]=0;if((c|0)<1){break a}m=b+c|0;n=a+352|0;c=b;while(1){c=bH(a,c,n);if(!v[a+352>>2]){break a}f=v[a+1144>>2];e=f-1|0;i=(e<<4)+a|0;if(!v[i+360>>2]){b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{i=v[i+368>>2];switch(i-3081|0){case 8:break h;case 6:break i;case 5:break j;case 4:break k;case 3:break l;case 2:break o;case 1:break p;case 0:break q;case 7:break b;case 10:break f;case 9:break g;default:break r}}s:{switch(i-6|0){case 0:j=(e|0)<14?e:14;e=0;i=0;if((f|0)>=2){while(1){f=0;t:{u:{v:{w:{h=(e<<4)+a|0;switch(v[h+360>>2]-1|0){case 2:break u;case 1:break v;case 0:break w;default:break t}}f=v[h+368>>2];break t}g=A[h+368>>3];h=g>2e9;if(D(g)<2147483648){f=~~g}else{f=-2147483648}f=g<-2e9?0:h?0:f;break t}k=v[h+372>>2];if(!k){break t}f=v[h+368>>2]/(k|0)|0}i=f+i|0;v[((e<<2)+d|0)+52>>2]=i;e=e+1|0;if((j|0)!=(e|0)){continue}break}}v[d+108>>2]=j;break b;case 1:j=(e|0)<10?e:10;e=0;i=0;if((f|0)>=2){while(1){f=0;x:{y:{z:{A:{h=(e<<4)+a|0;switch(v[h+360>>2]-1|0){case 2:break y;case 1:break z;case 0:break A;default:break x}}f=v[h+368>>2];break x}g=A[h+368>>3];h=g>2e9;if(D(g)<2147483648){f=~~g}else{f=-2147483648}f=g<-2e9?0:h?0:f;break x}k=v[h+372>>2];if(!k){break x}f=v[h+368>>2]/(k|0)|0}i=f+i|0;v[((e<<2)+d|0)+112>>2]=i;e=e+1|0;if((j|0)!=(e|0)){continue}break}}v[d+152>>2]=j;break b;case 2:j=(e|0)<14?e:14;e=0;i=0;if((f|0)>=2){while(1){f=0;B:{C:{D:{E:{h=(e<<4)+a|0;switch(v[h+360>>2]-1|0){case 2:break C;case 1:break D;case 0:break E;default:break B}}f=v[h+368>>2];break B}g=A[h+368>>3];h=g>2e9;if(D(g)<2147483648){f=~~g}else{f=-2147483648}f=g<-2e9?0:h?0:f;break B}k=v[h+372>>2];if(!k){break B}f=v[h+368>>2]/(k|0)|0}i=f+i|0;v[((e<<2)+d|0)+156>>2]=i;e=e+1|0;if((j|0)!=(e|0)){continue}break}}v[d+212>>2]=j;break b;case 5:break m;case 4:break n;case 3:break s;case 15:break c;case 14:break d;case 13:break e;default:break b}}j=(e|0)<10?e:10;e=0;i=0;if((f|0)>=2){while(1){f=0;F:{G:{H:{I:{h=(e<<4)+a|0;switch(v[h+360>>2]-1|0){case 2:break G;case 1:break H;case 0:break I;default:break F}}f=v[h+368>>2];break F}g=A[h+368>>3];h=g>2e9;if(D(g)<2147483648){f=~~g}else{f=-2147483648}f=g<-2e9?0:h?0:f;break F}k=v[h+372>>2];if(!k){break F}f=v[h+368>>2]/(k|0)|0}i=f+i|0;v[((e<<2)+d|0)+216>>2]=i;e=e+1|0;if((j|0)!=(e|0)){continue}break}}v[d+256>>2]=j;break b}g=0;J:{K:{switch(v[a+360>>2]-1|0){case 0:A[d+264>>3]=v[a+368>>2];break b;case 1:A[d+264>>3]=A[a+368>>3];break b;case 2:break K;default:break J}}e=v[a+372>>2];if(!e){break J}g=+v[a+368>>2]/+(e|0)}A[d+264>>3]=g;break b}e=0;L:{M:{switch(v[a+360>>2]-1|0){case 0:v[d+272>>2]=v[a+368>>2];break b;case 1:g=A[a+368>>3];i=g>2e9;e=d;if(D(g)<2147483648){f=~~g}else{f=-2147483648}v[e+272>>2]=g<-2e9?0:i?0:f;break b;case 2:break M;default:break L}}f=v[a+372>>2];if(!f){break L}e=v[a+368>>2]/(f|0)|0}v[d+272>>2]=e;break b}e=0;N:{O:{switch(v[a+360>>2]-1|0){case 0:v[d+276>>2]=v[a+368>>2];break b;case 1:g=A[a+368>>3];i=g>2e9;e=d;if(D(g)<2147483648){f=~~g}else{f=-2147483648}v[e+276>>2]=g<-2e9?0:i?0:f;break b;case 2:break O;default:break N}}f=v[a+372>>2];if(!f){break N}e=v[a+368>>2]/(f|0)|0}v[d+276>>2]=e;break b}g=0;P:{Q:{switch(v[a+360>>2]-1|0){case 0:g=+v[a+368>>2];break P;case 1:g=A[a+368>>3];break P;case 2:break Q;default:break P}}e=v[a+372>>2];if(!e){break P}g=+v[a+368>>2]/+(e|0)}v[d+288>>2]=1;A[d+280>>3]=g;break b}g=0;R:{S:{switch(v[a+360>>2]-1|0){case 0:g=+v[a+368>>2];break R;case 1:g=A[a+368>>3];break R;case 2:break S;default:break R}}e=v[a+372>>2];if(!e){break R}g=+v[a+368>>2]/+(e|0)}v[d+304>>2]=1;A[d+296>>3]=g;break b}i=(e|0)<12?e:12;l=0;e=0;if((f|0)>=2){while(1){g=0;T:{U:{V:{W:{f=(e<<4)+a|0;switch(v[f+360>>2]-1|0){case 2:break U;case 1:break V;case 0:break W;default:break T}}g=+v[f+368>>2];break T}g=A[f+368>>3];break T}h=v[f+372>>2];if(!h){break T}g=+v[f+368>>2]/+(h|0)}l=l+g;A[((e<<3)+d|0)+312>>3]=l;e=e+1|0;if((i|0)!=(e|0)){continue}break}}v[d+408>>2]=i;break b}i=(e|0)<12?e:12;l=0;e=0;if((f|0)>=2){while(1){g=0;X:{Y:{Z:{_:{f=(e<<4)+a|0;switch(v[f+360>>2]-1|0){case 2:break Y;case 1:break Z;case 0:break _;default:break X}}g=+v[f+368>>2];break X}g=A[f+368>>3];break X}h=v[f+372>>2];if(!h){break X}g=+v[f+368>>2]/+(h|0)}l=l+g;A[((e<<3)+d|0)+416>>3]=l;e=e+1|0;if((i|0)!=(e|0)){continue}break}}v[d+512>>2]=i;break b}e=0;$:{aa:{switch(v[a+360>>2]-1|0){case 0:e=!v[a+368>>2];break $;case 1:e=A[a+368>>3]==0;break $;case 2:break aa;default:break $}}e=!v[a+368>>2]}v[d+520>>2]=1;v[d+516>>2]=e^1;break b}g=0;ba:{ca:{switch(v[a+360>>2]-1|0){case 0:A[d+528>>3]=v[a+368>>2];break b;case 1:A[d+528>>3]=A[a+368>>3];break b;case 2:break ca;default:break ba}}e=v[a+372>>2];if(!e){break ba}g=+v[a+368>>2]/+(e|0)}A[d+528>>3]=g;break b}e=0;da:{ea:{switch(v[a+360>>2]-1|0){case 0:v[d+536>>2]=v[a+368>>2];break b;case 1:g=A[a+368>>3];i=g>2e9;e=d;if(D(g)<2147483648){f=~~g}else{f=-2147483648}v[e+536>>2]=g<-2e9?0:i?0:f;break b;case 2:break ea;default:break da}}f=v[a+372>>2];if(!f){break da}e=v[a+368>>2]/(f|0)|0}v[d+536>>2]=e;break b}g=0;fa:{ga:{switch(v[a+360>>2]-1|0){case 0:A[d+544>>3]=v[a+368>>2];break b;case 1:A[d+544>>3]=A[a+368>>3];break b;case 2:break ga;default:break fa}}e=v[a+372>>2];if(!e){break fa}g=+v[a+368>>2]/+(e|0)}A[d+544>>3]=g;break b}e=0;ha:{ia:{switch(v[a+360>>2]-1|0){case 0:v[d+552>>2]=v[a+368>>2];break b;case 1:g=A[a+368>>3];i=g>2e9;e=d;if(D(g)<2147483648){f=~~g}else{f=-2147483648}v[e+552>>2]=g<-2e9?0:i?0:f;break b;case 2:break ia;default:break ha}}f=v[a+372>>2];if(!f){break ha}e=v[a+368>>2]/(f|0)|0}v[d+552>>2]=e;break b}e=0;ja:{ka:{switch(v[a+360>>2]-1|0){case 0:e=v[a+368>>2];break ja;case 1:g=A[a+368>>3];f=g>2e9;if(D(g)<2147483648){e=~~g}else{e=-2147483648}e=g<-2e9?0:f?0:e;break ja;case 2:break ka;default:break ja}}f=v[a+372>>2];if(!f){break ja}e=v[a+368>>2]/(f|0)|0}v[d+556>>2]=b+e;break b}g=0;la:{ma:{na:{oa:{e=v[a+360>>2];switch(e-1|0){case 2:break ma;case 1:break na;case 0:break oa;default:break la}}g=+v[a+368>>2];break la}g=A[a+368>>3];break la}f=v[a+372>>2];if(!f){break la}g=+v[a+368>>2]/+(f|0)}A[d+560>>3]=g;v[d+568>>2]=(e|0)==1;break b}g=0;pa:{qa:{ra:{sa:{e=v[a+360>>2];switch(e-1|0){case 2:break qa;case 1:break ra;case 0:break sa;default:break pa}}g=+v[a+368>>2];break pa}g=A[a+368>>3];break pa}f=v[a+372>>2];if(!f){break pa}g=+v[a+368>>2]/+(f|0)}A[d+576>>3]=g;v[d+584>>2]=(e|0)==1}v[a+1144>>2]=0}if((c|0)<(m|0)){continue}break}}}function _S(a,b,c){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,p=0,q=0,r=0,s=0,t=0,x=0,y=0,z=0,A=0,B=0,C=0,E=0,F=0,G=0,I=0,J=0;e=Ma-368|0;Ma=e;a:{b:{f=v[a+200>>2];if(f&1){c:{if(f&4){Db(a,50584);uc(a,c);break c}if(f&2){Db(a,50975)}if(!(!b|(v[b+8>>2]&2052)!=4)){Db(a,51279);uc(a,c);break c}if((c|0)!=32){Db(a,51926);uc(a,c);break c}c=e+336|0;Ye(a,c,32);gc(a,c,32);if(uc(a,0)){break c}d:{c=v[e+336>>2];f=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);e:{if((f|0)<0){break e}c=v[e+340>>2];h=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if((h|0)<0){break e}c=v[e+344>>2];i=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if((i|0)<0){break e}c=v[e+348>>2];j=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if((j|0)<0){break e}c=v[e+352>>2];l=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if((l|0)<0){break e}c=v[e+356>>2];n=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if((n|0)<0){break e}c=v[e+360>>2];o=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if((o|0)<0){break e}c=v[e+364>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if((c|0)>-1){break d}}Db(a,52184);break c}r=(c|0)>-1?c:-1;s=(o|0)>-1?o:-1;t=(n|0)>-1?n:-1;x=(l|0)>-1?l:-1;y=(j|0)>-1?j:-1;z=(i|0)>-1?i:-1;A=(h|0)>-1?h:-1;F=(f|0)>-1?f:-1;if(!(!b|!(w[b+9|0]&8))){f:{if((A|0)<31900|F-30270>>>0>2e3|((z|0)<63e3|(A|0)>33900)){break f}if((y|0)<32e3|(z|0)>65e3|((x|0)<29e3|(y|0)>34e3)){break f}if((t|0)<59e3|(x|0)>31e3|((s|0)<14e3|(t|0)>61e3)){break f}if((r|0)<5e3|(s|0)>16e3){break f}if((r|0)<7001){break c}}b=e+80|0;Vj(b,1,5,F);Vj(b,2,5,A);Vj(b,3,5,z);Vj(b,4,5,y);Vj(b,5,5,x);Vj(b,6,5,t);Vj(b,7,5,s);Vj(b,8,5,r);dq(a,b,52586);break c}g:{if(w[a+654|0]){break g}v[e+56>>2]=x;c=e- -64|0;v[c>>2]=s;v[e+72>>2]=F;v[e+60>>2]=t;f=v[e+60>>2];v[e+8>>2]=v[e+56>>2];v[e+12>>2]=f;v[e+68>>2]=r;f=v[c+4>>2];v[e+16>>2]=v[c>>2];v[e+20>>2]=f;v[e+76>>2]=A;c=v[e+76>>2];v[e+24>>2]=v[e+72>>2];v[e+28>>2]=c;v[e+52>>2]=y;v[e+48>>2]=z;c=v[e+52>>2];v[e>>2]=v[e+48>>2];v[e+4>>2]=c;j=Ma-32|0;Ma=j;c=v[e+28>>2];v[j+24>>2]=v[e+24>>2];v[j+28>>2]=c;c=v[e+20>>2];v[j+16>>2]=v[e+16>>2];v[j+20>>2]=c;c=v[e+12>>2];v[j+8>>2]=v[e+8>>2];v[j+12>>2]=c;c=v[e+4>>2];v[j>>2]=v[e>>2];v[j+4>>2]=c;l=1;h:{i:{p=v[j>>2];if(p>>>0>1e5){break i}B=v[j+4>>2];if((B|0)<0|(1e5-p|0)<(B|0)){break i}C=v[j+8>>2];if(C>>>0>1e5){break i}E=v[j+12>>2];if((E|0)<0|(1e5-C|0)<(E|0)){break i}n=v[j+16>>2];if(n>>>0>1e5){break i}o=v[j+20>>2];if((o|0)<0|(1e5-n|0)<(o|0)){break i}m=v[j+24>>2];if(m>>>0>1e5){break i}f=v[j+28>>2];if((f|0)<5|(1e5-m|0)<(f|0)){break i}i=B-o|0;h=C-n|0;k=0;j:{k:{if(!h){break k}k=0;if(!i){break k}c=2;d=H(+(h|0)*+(i|0)/7+.5);if(!(d<=2147483647)|!(d>=-2147483648)){break j}k=~~d;if(D(d)<2147483648){break k}k=-2147483648}I=E-o|0;q=p-n|0;l:{if(!I|!q){break l}c=2;d=H(+(q|0)*+(I|0)/7+.5);if(!(d<=2147483647)|!(d>=-2147483648)){break j}if(D(d)<2147483648){g=~~d;break l}g=-2147483648}J=f-o|0;c=0;m:{if(!h){break m}c=0;if(!J){break m}c=2;d=H(+(h|0)*+(J|0)/7+.5);if(!(d<=2147483647)|!(d>=-2147483648)){break j}c=~~d;if(D(d)<2147483648){break m}c=-2147483648}h=c;m=m-n|0;n:{if(!I|!m){break n}c=2;d=H(+(I|0)*+(m|0)/7+.5);if(!(d<=2147483647)|!(d>=-2147483648)){break j}if(D(d)<2147483648){G=~~d;break n}G=-2147483648}G=h-G|0;if(!G){break i}k=k-g|0;h=0;o:{if(!k){break o}d=H(+(f|0)*+(k|0)/+(G|0)+.5);if(!(d<=2147483647)|!(d>=-2147483648)){break i}h=~~d;if(D(d)<2147483648){break o}h=-2147483648}if((h|0)<=(f|0)){break i}g=0;c=0;p:{if(!i){break p}c=0;if(!m){break p}c=2;d=H(+(i|0)*+(m|0)/7+.5);if(!(d<=2147483647)|!(d>=-2147483648)){break j}c=~~d;if(D(d)<2147483648){break p}c=-2147483648}i=c;q:{if(!q|!J){break q}c=2;d=H(+(q|0)*+(J|0)/7+.5);if(!(d<=2147483647)|!(d>=-2147483648)){break j}if(D(d)<2147483648){g=~~d;break q}g=-2147483648}c=i-g|0;if(!c){break i}i=0;r:{if(!k){break r}d=H(+(f|0)*+(k|0)/+(c|0)+.5);if(!(d<=2147483647)|!(d>=-2147483648)){break i}i=~~d;if(D(d)<2147483648){break r}i=-2147483648}c=1;if((f|0)>=(i|0)){break j}d=H(1e10/+(f|0)+.5);f=d>=-2147483648;if(D(d)<2147483648){g=~~d}else{g=-2147483648}g=f?g:0;k=d<=2147483647;s:{t:{if(!h){break t}d=H(1e10/+(h|0)+.5);q=d<=2147483647;if(D(d)<2147483648){f=~~d}else{f=-2147483648}if(!q){break t}if(d>=-2147483648){break s}}f=0}k=k?g:0;u:{v:{if(!i){break v}d=H(1e10/+(i|0)+.5);q=d<=2147483647;if(D(d)<2147483648){g=~~d}else{g=-2147483648}if(!q){break v}if(d>=-2147483648){break u}}g=0}k=k-(f+g|0)|0;if(!h|(k|0)<1){break j}f=0;g=e;m=0;w:{if(!p){break w}d=H(+(p|0)*1e5/+(h|0)+.5);if(!(d<=2147483647)|!(d>=-2147483648)){break j}m=~~d;if(D(d)<2147483648){break w}m=-2147483648}v[g+80>>2]=m;x:{if(!B){break x}d=H(+(B|0)*1e5/+(h|0)+.5);if(!(d<=2147483647)|!(d>=-2147483648)){break j}if(D(d)<2147483648){f=~~d;break x}f=-2147483648}v[e+84>>2]=f;f=e;p=1e5-(p+B|0)|0;g=0;y:{if(!p){break y}d=H(+(p|0)*1e5/+(h|0)+.5);if(!(d<=2147483647)|!(d>=-2147483648)){break j}g=~~d;if(D(d)<2147483648){break y}g=-2147483648}v[f+88>>2]=g;if(!i){break j}g=0;h=e;f=0;z:{if(!C){break z}d=H(+(C|0)*1e5/+(i|0)+.5);if(!(d<=2147483647)|!(d>=-2147483648)){break j}f=~~d;if(D(d)<2147483648){break z}f=-2147483648}v[h+92>>2]=f;A:{if(!E){break A}d=H(+(E|0)*1e5/+(i|0)+.5);if(!(d<=2147483647)|!(d>=-2147483648)){break j}if(D(d)<2147483648){g=~~d;break A}g=-2147483648}v[e+96>>2]=g;g=0;h=e;p=1e5-(C+E|0)|0;f=0;B:{if(!p){break B}d=H(+(p|0)*1e5/+(i|0)+.5);if(!(d<=2147483647)|!(d>=-2147483648)){break j}f=~~d;if(D(d)<2147483648){break B}f=-2147483648}v[h+100>>2]=f;C:{if(!n){break C}d=H(+(n|0)*+(k|0)/1e5+.5);if(!(d<=2147483647)|!(d>=-2147483648)){break j}if(D(d)<2147483648){g=~~d;break C}g=-2147483648}v[e+104>>2]=g;g=0;h=e;i=0;D:{if(!o){break D}d=H(+(o|0)*+(k|0)/1e5+.5);if(!(d<=2147483647)|!(d>=-2147483648)){break j}i=~~d;if(D(d)<2147483648){break D}i=-2147483648}v[h+108>>2]=i;f=1e5-(n+o|0)|0;E:{if(!f){break E}d=H(+(f|0)*+(k|0)/1e5+.5);if(!(d<=2147483647)|!(d>=-2147483648)){break j}if(D(d)<2147483648){g=~~d;break E}g=-2147483648}v[e+112>>2]=g;c=0}break h}c=1}F:{switch(c|0){default:dc(a,38265);L();case 1:Db(a,37250);l=0;break;case 0:break F}}Ma=j+32|0;if(!l){break g}if(!Xy(e+44|0,v[e+84>>2],32768)){break a}c=v[e+44>>2];if((c|0)<0|(c|0)>32768){break a}if(!Xy(e+40|0,v[e+96>>2],32768)){break a}c=v[e+40>>2];if((c|0)<0|(c|0)>32768){break a}if(!Xy(e+36|0,v[e+108>>2],32768)){break a}c=v[e+36>>2];if((c|0)<0|(c|0)>32768){break a}f=v[e+40>>2];l=v[e+44>>2];h=f+(l+c|0)|0;if((h|0)>32769){break a}g=-1;G:{if((h|0)!=32769){g=1;if((h|0)>32767){break G}}if(!((f|0)<(l|0)|(c|0)>(f|0))){f=f+g|0;v[e+40>>2]=f;break G}if(!((f|0)>(l|0)|(c|0)>(l|0))){l=g+l|0;v[e+44>>2]=l;break G}c=c+g|0;v[e+36>>2]=c}if(((f+l|0)+c|0)!=32768){break b}u[a+658>>1]=f;u[a+656>>1]=l}H:{if(!a|!b){break H}if(!WF(a,F,A,z,y,x,t,s,r)){break H}v[b+156>>2]=r;v[b+152>>2]=s;v[b+148>>2]=t;v[b+144>>2]=x;v[b+140>>2]=y;v[b+136>>2]=z;v[b+132>>2]=A;v[b+128>>2]=F;v[b+8>>2]=v[b+8>>2]|4}}Ma=e+368|0;return}dc(a,50032);L()}dc(a,53160);L()}dc(a,53722);L()}function g6(a,b){a=a|0;b=b|0;var 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;i=Ma-4112|0;Ma=i;a:{b:{if((Hh(a,i+4108|0,4)|0)!=4){break b}c:{if(!(w[i+4108|0]!=77|w[i+4109|0]!=73|w[i+4110|0]!=70)){if(w[i+4111|0]==10){break c}}Nb(37035,0);break a}g=gb(16);if(!g){break b}v[g+12>>2]=0;v[g+4>>2]=0;v[g+8>>2]=0;d=gb(0);d:{if(d){v[g+12>>2]=d;v[g+8>>2]=0;b=v[g+4>>2];e:{if((b|0)>-1){break e}v[d+(b<<2)>>2]=0;c=b+1|0;if(b>>>0>c>>>0){break e}d=b&3;if((d|0)!=3){f=d^3;while(1){v[v[g+12>>2]+(c<<2)>>2]=0;c=c+1|0;f=f-1|0;if(f){continue}break}}if(-2-b>>>0<3){break e}while(1){b=c<<2;v[b+v[g+12>>2]>>2]=0;v[(b+v[g+12>>2]|0)+4>>2]=0;v[(b+v[g+12>>2]|0)+8>>2]=0;v[(b+v[g+12>>2]|0)+12>>2]=0;c=c+4|0;if(c){continue}break}}d=4096;j=i;f:{g:{h:{i:{j:{k:while(1){b=j;l:{m:while(1){c=v[a+8>>2];n:{if(c&7){break n}while(1){o:{e=v[a+64>>2];if((e|0)>=0&(e|0)<=v[a+60>>2]){break o}c=v[a+28>>2];v[a+28>>2]=c-1;p:{q:{r:{if((c|0)<=0){c=Eb(a,1);break r}v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;c=w[c|0]}if((c|0)!=35){if((c|0)==92){break q}if((c|0)==-1){break n}t[b|0]=c;b=b+1|0;if((c|0)==10){break n}c=d>>>0>2;d=d-1|0;if(c){continue m}break n}while(1){c=v[a+8>>2];if(c&7){break n}e=v[a+64>>2];if((e|0)>=0&(e|0)<=v[a+60>>2]){break o}c=v[a+28>>2];v[a+28>>2]=c-1;s:{if((c|0)<=0){c=Eb(a,1);break s}v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;c=w[c|0]}switch(c+1|0){case 0:break n;case 11:break p;default:continue}}}t:{if(v[a+28>>2]<=0){c=Eb(a,0);break t}c=w[v[a+24>>2]]}if((c|0)!=10){break p}c=v[a+8>>2];if(c&7){break p}e=v[a+64>>2];if(!((e|0)<0|(e|0)>v[a+60>>2])){v[a+8>>2]=c|4;break p}c=v[a+28>>2];v[a+28>>2]=c-1;if((c|0)<=0){Eb(a,1);break p}v[a+60>>2]=v[a+60>>2]+1;v[a+24>>2]=v[a+24>>2]+1}c=v[a+8>>2];if(!(c&7)){continue}break n}break}v[a+8>>2]=c|4}t[b|0]=0;b=ye(i,10);if(!b){break l}t[b|0]=0;d=4096;b=j;if(!w[i|0]){continue}b=Vt(i);if(!b){break l}if(Nm(b)){break i}c=rp(1019312,v[b+4>>2]);c=v[(c?c:1019296)>>2];gr(b);b=j;u:{switch(c|0){case 0:break j;case 1:break u;default:continue}}e=gb(36);if(!e){continue}v[e>>2]=0;v[e+4>>2]=0;v[e+32>>2]=0;d=e+16|0;v[d>>2]=0;v[d+4>>2]=0;k=e+8|0;b=k;v[b>>2]=0;v[b+4>>2]=0;c=e+24|0;v[c>>2]=0;v[c+4>>2]=-1;v:{l=Vt(i);if(!l){break v}f=e+20|0;if(!Nm(l)){h=e+28|0;m=e+12|0;n=e+4|0;while(1){b=e;w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{o=rp(1019344,v[l+4>>2]);switch(v[(o?o:1019296)>>2]){case 0:break x;case 1:break y;case 8:break z;case 7:break A;case 6:break B;case 5:break C;case 4:break D;case 3:break E;case 2:break F;default:break w}}b=k;break x}b=m;break x}b=d;break x}b=f;break x}b=c;break x}b=h;break x}b=tp(v[l+8>>2]);v[e+32>>2]=b;if(b){break w}d=4096;continue k}b=n}p=b,q=td(v[l+8>>2]),v[p>>2]=q}if(!Nm(l)){continue}break}}gr(l);if(!v[d>>2]|!v[f>>2]){break v}b=v[g+4>>2];if((b|0)>=v[g+8>>2]){f=b+128|0;d=v[g+12>>2];G:{if(!d){c=gb(f<<2);break G}c=ph(d,f<<2)}if(!c){break v}v[g+12>>2]=c;v[g+8>>2]=f;d=v[g+4>>2];H:{if((d|0)>=(f|0)){break H}v[c+(d<<2)>>2]=0;c=d+1|0;if((f|0)==(c|0)){break H}b=b-d|0;k=b+126|0;b=b-1&3;if(b){while(1){v[v[g+12>>2]+(c<<2)>>2]=0;c=c+1|0;b=b-1|0;if(b){continue}break}}if(k>>>0<3){break H}while(1){b=c<<2;v[b+v[g+12>>2]>>2]=0;v[(b+v[g+12>>2]|0)+4>>2]=0;v[(b+v[g+12>>2]|0)+8>>2]=0;v[(b+v[g+12>>2]|0)+12>>2]=0;c=c+4|0;if((f|0)!=(c|0)){continue}break}}b=d}v[v[g+12>>2]+(b<<2)>>2]=e;v[g+4>>2]=b+1;d=4096;continue k}b=v[e+32>>2];if(b){$a(b)}$a(e);d=4096;b=j;if(!l){continue}break}gr(l);continue}break}c=v[g+12>>2];if(!c){break d}if(v[g+4>>2]>=1){a=0;while(1){b=v[(a<<2)+c>>2];d=v[b+32>>2];if(d){$a(d)}$a(b);a=a+1|0;if((a|0)>2]){c=v[g+12>>2];continue}break}c=v[g+12>>2]}$a(c);break d}m=KC();if(!m){e=0;d=0;k=0;break f}f=v[g+4>>2];if((f|0)>=1){n=0;while(1){d=a;h=v[v[g+12>>2]+(n<<2)>>2];k=v[h+32>>2];if(k){f=0;d=30276;c=Ma-16|0;Ma=c;e=gb(68);I:{if(!e){e=0;break I}v[e+52>>2]=0;v[e+56>>2]=0;v[e>>2]=0;v[e+4>>2]=0;v[e+60>>2]=0;v[e+64>>2]=-1;v[e+8>>2]=0;v[e+12>>2]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[e+24>>2]=0;v[e+28>>2]=0;j=w[30276];J:{K:{if(j){while(1){b=d;L:{M:{N:{O:{P:{Q:{d=j<<24>>24;switch(d-97|0){case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 18:case 19:case 20:case 21:break L;case 0:break M;case 1:break N;case 22:break O;case 17:break P;default:break Q}}if((d|0)!=43){break L}f=f|3;break L}f=f|1;break L}f=f|18;break L}f=f|8;break L}f=f|4}d=b+1|0;j=w[b+1|0];if(j){continue}break}v[e>>2]=f;b=f&3;if(!b){break K}b=f&1?((b|0)==3)<<1:1;break J}v[e>>2]=0}b=0}R:{d=gb(32);if(!d){if(!(w[e+4|0]&8)){break R}b=v[e+12>>2];if(!b){break R}$a(b);v[e+12>>2]=0;break R}t[d+8|0]=0;v[d>>2]=-1;v[d+4>>2]=0;v[e+52>>2]=1015496;v[e+56>>2]=d;v[c>>2]=438;b=b|f<<8&1024;b=mu(k,f&16?b|576:b,c);v[d>>2]=b;if((b|0)<=-1){if(!(w[e+4|0]&8)){break R}b=v[e+12>>2];if(!b){break R}$a(b);v[e+12>>2]=0;break R}if(!v[e+12>>2]){b=gb(8208);v[e+12>>2]=b;S:{if(b){j=8192;d=v[e+4>>2]|8;break S}b=e+32|0;v[e+12>>2]=b;j=1;d=v[e+4>>2]}v[e+28>>2]=0;v[e+20>>2]=j;b=b+16|0;v[e+24>>2]=b;v[e+16>>2]=b;v[e+4>>2]=d|2;break I}O(36522,6782,703,188128);L()}$a(e);e=0}Ma=c+16|0;d=e}if(!d){e=0;d=0;k=0;break g}k=0;e=uM(d,-1);if(!e){e=0;break g}j=a;if((a|0)!=(d|0)){ne(d);j=0}c=v[h+8>>2];if(!c){c=v[v[v[e+24>>2]>>2]+16>>2];v[h+8>>2]=c}f=v[h+12>>2];if(!f){f=v[v[v[e+24>>2]>>2]+16>>2];v[h+12>>2]=f}b=v[h+24>>2];if(!b){b=v[v[v[e+24>>2]>>2]+24>>2];v[h+24>>2]=b}d=v[h+28>>2];if((d|0)<=-1){d=v[v[v[e+24>>2]>>2]+28>>2];v[h+28>>2]=d}v[i>>2]=v[h>>2];v[i+4>>2]=v[h+4>>2];v[i+8>>2]=v[h+16>>2];l=v[h+20>>2];v[i+28>>2]=d;v[i+24>>2]=b;v[i+20>>2]=f;v[i+16>>2]=c;v[i+12>>2]=l;if(hr(m,v[m+16>>2],i)){d=j;break g}f=Sn(0,0,v[h+8>>2],v[h+12>>2]);if(!f){d=j;break g}if(pk(e,0,0,0,v[h+8>>2],v[h+12>>2],f)){break h}T:{if(!v[h+28>>2]){c=v[h+12>>2];break T}c=v[h+12>>2];if((c|0)<1){break T}b=v[h+8>>2];if((b|0)<1){break T}k=-1<>2]-1;d=0;while(1){if((b|0)>=1){l=v[f+28>>2];c=0;while(1){b=v[l+(d-v[f+8>>2]<<2)>>2]+(c-v[f+4>>2]<<2)|0;v[b>>2]=k+v[b>>2];b=v[h+8>>2];c=c+1|0;if((b|0)>(c|0)){continue}break}c=v[h+12>>2]}d=d+1|0;if((d|0)<(c|0)){continue}break}}if(mj(m,v[m+16>>2]-1|0,0,0,v[h+8>>2],c,f)){break h}ve(f);Og(e);f=v[g+4>>2];n=n+1|0;if((f|0)>(n|0)){continue}break}}c=v[g+12>>2];if(c){if((f|0)>=1){a=0;while(1){b=v[(a<<2)+c>>2];d=v[b+32>>2];if(d){$a(d)}$a(b);a=a+1|0;if((a|0)>2]){c=v[g+12>>2];continue}break}c=v[g+12>>2]}$a(c)}$a(g);break a}S();L()}d=j;k=f}Og(m)}f=v[g+12>>2];if(f){if(v[g+4>>2]>=1){c=0;while(1){b=v[(c<<2)+f>>2];j=v[b+32>>2];if(j){$a(j)}$a(b);c=c+1|0;if((c|0)>2]){f=v[g+12>>2];continue}break}f=v[g+12>>2]}$a(f)}$a(g);if(!(!d|(a|0)==(d|0))){ne(d)}if(e){Og(e)}m=0;if(!k){break a}ve(k);break a}c=v[g+12>>2];if(!c){break d}if(v[g+4>>2]>=1){a=0;while(1){b=v[(a<<2)+c>>2];d=v[b+32>>2];if(d){$a(d)}$a(b);a=a+1|0;if((a|0)>2]){c=v[g+12>>2];continue}break}c=v[g+12>>2]}$a(c)}$a(g)}m=0}Ma=i+4112|0;return m|0}function Zza(a,b){a=a|0;b=b|0;var 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;h=Ma-32|0;Ma=h;e=v[a+8>>2];a:{if(e>>>0>=y[a+12>>2]){break a}r=h+26|0;l=v[v[a+4>>2]+8>>2];while(1){if(v[b>>2]>0){break a}if(y[a+16>>2]>=y[a+20>>2]){v[b>>2]=15;break a}s=w[l+81|0];b:{c:{d:{d=x[e>>1];if((d&65408)==128){f=h+25|0;e:{switch(d-167|0){default:if((d|0)==247){break c}break;case 0:case 1:case 9:case 10:case 13:case 15:case 48:break c;case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 11:case 12:case 14:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:break e}}t[l+81|0]=1;break d}if((d-32&65535)>>>0>95){break d}t[h+25|0]=d;g=1;break b}f=h+25|0;if(!(1<>>0>25){break c}t[h+25|0]=d;f=r}e=851312;m=d;if(d>>>0<=25){g=1;if(1<>1]>>0){continue}break}f:{g:{h:{i:{j:{if(x[d>>1]>m>>>0){break j}e=w[d+4|0];switch(e-15|0){case 0:break i;case 5:break j;default:break h}}e=20;t[f|0]=20;c=m>>>8|0;d=m&255;t[f+2|0]=d?m:c;t[f+1|0]=d?c:-10;f=f+3|0;g=f-(h+25|0)|0;break g}k:{l:{if(m>>>0<=31){t[f|0]=15;t[f+1|0]=m+32;break l}if((m-128&65535)>>>0>32){break k}t[f+1|0]=m;t[f|0]=15}f=f+2|0}e=15;g=f-(h+25|0)|0;break g}if(e>>>0>19){break f}d=Eg(v[(e<<2)+l>>2],m,h+28|0,0);if((d|0)>=1){c=f;m:{if(!e|w[l+80|0]==(e|0)){break m}t[f|0]=e;c=f+1|0;if((d|0)!=1|e>>>0<16){break m}t[f+1|0]=e;c=f+2|0}n=v[h+28>>2];if((d|0)==1){i=e;g=0;if(!(224<<(d<<3)-8&n)){break g}}n:{switch(d-1|0){case 3:t[c|0]=n>>>24;c=c+1|0;case 2:t[c|0]=n>>>16;c=c+1|0;n=v[h+28>>2];case 1:t[c|0]=n>>>8;c=c+1|0;n=v[h+28>>2];case 0:t[c|0]=n;c=c+1|0;break;default:break n}}i=e;g=c-f|0;break g}t[e+h|0]=1;g=0}if(g){break b}}v[h+16>>2]=0;v[h+8>>2]=0;v[h+12>>2]=0;v[h>>2]=0;v[h+4>>2]=0;d=w[l+80|0];o:{if((d|0)==1){break o}p:{if((e|0)==128&d>>>0<16){break p}q:{switch(e-129|0){case 1:break p;case 0:break q;default:break o}}if(d>>>0<16){break o}}r:{s:{c=w[l+81|0];if(c>>>0<=15){g=Eg(v[l+4>>2],m,h+28|0,0);t:{if((g|0)>=1){d=v[h+28>>2];c=f;if(w[l+80|0]!=1){t[f|0]=1;c=f+1|0}i=1;if(224<<(g<<3)-8&d?0:(g|0)==1){break t}u:{switch(g-1|0){case 3:t[c|0]=d>>>24;c=c+1|0;case 2:t[c|0]=d>>>16;c=c+1|0;d=v[h+28>>2];case 1:t[c|0]=d>>>8;c=c+1|0;d=v[h+28>>2];case 0:t[c|0]=d;c=c+1|0;break;default:break u}}g=c-f|0;if(!g){break t}break b}t[h+1|0]=1}c=Eg(v[l>>2],m,h+28|0,0);v:{if((c|0)>=1){g=v[h+28>>2];if((c|0)==1){i=0;if(!(224<<(c<<3)-8&g)){break v}}k=f;i=f;d=f;n=d;w:{switch(c-1|0){case 3:t[f|0]=g>>>24;k=f+1|0;case 2:t[k|0]=g>>>16;i=k+1|0;g=v[h+28>>2];case 1:t[i|0]=g>>>8;d=i+1|0;g=v[h+28>>2];case 0:t[d|0]=g;n=d+1|0;break;default:break w}}i=0;g=n-f|0;if(!g){break v}break b}t[h|0]=1}d=w[l+81|0];j=Eg(v[(d<<2)+l>>2],m,h+28|0,0);if((j|0)<1){break s}i=v[h+28>>2];c=f;x:{if(!d|(d|0)==w[l+80|0]){break x}t[f|0]=d;c=f+1|0;if((j|0)!=1|d>>>0<16){break x}t[f+1|0]=d;c=f+2|0}y:{if((j|0)==1){g=0;if(!(224<<(j<<3)-8&i)){break y}}z:{switch(j-1|0){case 3:t[c|0]=i>>>24;c=c+1|0;case 2:t[c|0]=i>>>16;c=c+1|0;i=v[h+28>>2];case 1:t[c|0]=i>>>8;c=c+1|0;i=v[h+28>>2];case 0:t[c|0]=i;c=c+1|0;break;default:break z}}g=c-f|0}i=d;break r}j=Eg(v[(c<<2)+l>>2],m,h+28|0,0);if((j|0)<=0){t[c+h|0]=1;g=0;break r}i=v[h+28>>2];d=f;A:{B:{if((c|0)!=w[l+80|0]){t[f|0]=c;if((j|0)!=1){d=f+1|0;break B}t[f+1|0]=c;d=f+2|0}if((j|0)!=1){break B}g=0;if(!(224<<(j<<3)-8&i)){break A}}C:{switch(j-1|0){case 3:t[d|0]=i>>>24;d=d+1|0;case 2:t[d|0]=i>>>16;d=d+1|0;i=v[h+28>>2];case 1:t[d|0]=i>>>8;d=d+1|0;i=v[h+28>>2];case 0:t[d|0]=i;d=d+1|0;break;default:break C}}g=d-f|0}i=c;break r}t[d+h|0]=1;g=0}if(g){break b}}g=0;c=w[l+81|0];D:{if(!c){break D}d=128;E:{if((e|0)==128&c>>>0<16){break E}F:{d=e;switch(d-129|0){case 1:break E;case 0:break F;default:break D}}d=129;if(c>>>0>=16){break E}e=129;break D}j=Eg(v[(c<<2)+l>>2],m,h+28|0,0);G:{if((j|0)<=0){t[c+h|0]=1;break G}i=v[h+28>>2];e=f;H:{if((c|0)==w[l+80|0]){break H}t[f|0]=c;e=f+1|0;if((j|0)!=1|c>>>0<16){break H}t[f+1|0]=c;e=f+2|0}I:{if((j|0)==1){g=0;if(!(224<<(j<<3)-8&i)){break I}}J:{switch(j-1|0){case 3:t[e|0]=i>>>24;e=e+1|0;case 2:t[e|0]=i>>>16;e=e+1|0;i=v[h+28>>2];case 1:t[e|0]=i>>>8;e=e+1|0;i=v[h+28>>2];case 0:t[e|0]=i;e=e+1|0;break;default:break J}}g=e-f|0}i=c}e=d}K:{L:{if(g){break L}j=i&255;if(!j){break L}if(!((e|0)==129&j>>>0>15?1:(e|0)==128&j>>>0<16|(e|0)==130)){break K}c=Eg(v[(j<<2)+l>>2],m,h+28|0,0);if((c|0)<=0){t[h+j|0]=1;g=0;break L}k=v[h+28>>2];d=f;M:{if((j|0)==w[l+80|0]){break M}t[f|0]=i;d=f+1|0;if((c|0)!=1|j>>>0<16){break M}t[f+1|0]=i;d=f+2|0}if((c|0)==1){g=0;if(!(224<<(c<<3)-8&k)){break L}}N:{switch(c-1|0){case 3:t[d|0]=k>>>24;d=d+1|0;case 2:t[d|0]=k>>>16;d=d+1|0;k=v[h+28>>2];case 1:t[d|0]=k>>>8;d=d+1|0;k=v[h+28>>2];case 0:t[d|0]=k;d=d+1|0;break;default:break N}}g=d-f|0}if(g){break b}}d=1;j=f+1|0;g=0;p=(e+127&255)>>>0<2?19:11;o=(e|0)==130?1:(e|0)==129?16:1;O:{if(p>>>0>>0){break O}n=f+2|0;e=o;c=e;while(1){g=0;d=v[(e<<2)+l>>2];P:{if(!d){break P}e=e+h|0;if(w[e|0]){break P}d=Eg(d,m,h+28|0,0);if((d|0)>=1){k=v[h+28>>2];i=c&255;e=f;Q:{if(!i){break Q}e=f;if((i|0)==w[l+80|0]){break Q}t[f|0]=c;e=j;if((d|0)!=1){break Q}e=j;if(i>>>0<16){break Q}t[j|0]=c;e=n}if((d|0)==1){i=c;if(!(224<<(d<<3)-8&k)){break P}}R:{switch(d-1|0){case 3:t[e|0]=k>>>24;e=e+1|0;case 2:t[e|0]=k>>>16;e=e+1|0;k=v[h+28>>2];case 1:t[e|0]=k>>>8;e=e+1|0;k=v[h+28>>2];case 0:t[e|0]=k;e=e+1|0;break;default:break R}}g=e-f|0;i=c;break P}t[e|0]=1}d=!g;c=c+1|0;e=c&255;if(p>>>0>>0){break O}if(!g){continue}break}}S:{if(!d|(o|0)!=1){break S}e=Eg(v[l>>2],m,h+28|0,0);if((e|0)>=1){c=v[h+28>>2];if((e|0)==1){i=0;g=0;if(!(224<<(e<<3)-8&c)){break S}}n=f;d=f;g=d;k=d;T:{switch(e-1|0){case 3:t[f|0]=c>>>24;n=j;case 2:t[n|0]=c>>>16;d=n+1|0;c=v[h+28>>2];case 1:t[d|0]=c>>>8;g=d+1|0;c=v[h+28>>2];case 0:t[g|0]=c;k=g+1|0;break;default:break T}}g=k-f|0;i=0;break S}t[h|0]=1;g=0}if(g){break b}t[f|0]=20;d=m>>>8|0;e=m&255;t[f+2|0]=e?m:d;t[f+1|0]=e?d:-10;g=(f-h|0)-22|0}v[a+8>>2]=v[a+8>>2]+2;e=h+25|0;c=v[a+16>>2];U:{if(c>>>0>2]){while(1){if(!g){break U}f=w[e|0];v[a+16>>2]=c+1;t[c|0]=f;f=v[a+24>>2];if(f){v[a+24>>2]=f+4;v[f>>2]=q}g=g-1|0;e=e+1|0;c=v[a+16>>2];if(c>>>0>2]){continue}break}}if((g|0)<1){break U}d=v[a+4>>2];v[b>>2]=15;t[v[a+4>>2]+63|0]=g;f=g-1|0;c=d+76|0;k=g&7;if(k){while(1){t[c|0]=w[e|0];c=c+1|0;e=e+1|0;g=g-1|0;k=k-1|0;if(k){continue}break}}if(f>>>0<7){break U}while(1){t[c|0]=w[e|0];t[c+1|0]=w[e+1|0];t[c+2|0]=w[e+2|0];t[c+3|0]=w[e+3|0];t[c+4|0]=w[e+4|0];t[c+5|0]=w[e+5|0];t[c+6|0]=w[e+6|0];t[c+7|0]=w[e+7|0];c=c+8|0;e=e+8|0;g=g-8|0;if(g){continue}break}}t[l+81|0]=s;q=q+1|0;e=v[a+8>>2];if(e>>>0>2]){continue}break}}Ma=h+32|0}function QGa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0;C=Ma-16|0;Ma=C;z=6;A=v[a+4>>2];a:{if(!A){break a}D=c?c-1|0:0;if(D>>>0>=y[A+408>>2]){break a}b:{if(!(d&9)){E=d>>>22&1;m=Ma-32|0;Ma=m;c=6;o=v[a+4>>2];f=v[o+380>>2];c:{if(!f){break c}r=v[o+416>>2];s=v[o+104>>2];g=v[o+388>>2];e=x[b+12>>1];while(1){if(!((e|0)==v[g>>2]&v[g+4>>2]==x[b+14>>1])){g=g+36|0;h=h+1|0;if((f|0)!=(h|0)){continue}break c}break}f=v[g+8>>2];c=Mb(s,v[g+24>>2]+v[o+432>>2]|0);if(c){break c}c=f&1;c=Ed(s,B(v[g+28>>2],(f>>>2&1)+(f&2?c+5|0:c|4)|0));if(c){break c}i=v[g+8>>2];p=i&1;l=(i&2?p+5|0:p|4)+(i>>>2&1)|0;k=v[r+(D<<4)>>2];h=v[g+28>>2];e=v[s+32>>2];if(!(i&64)){c=v[s+36>>2];n=i|128;v[g+8>>2]=n;d:{e:{f:{f=c;c=B(h,l);q=c+e|0;if(f>>>0>=q>>>0){if((c|0)<1){break d}c=-1;if(p){break f}f=e;while(1){j=c;c=w[f|0];if((j|0)>=(c|0)){break e}f=f+l|0;if(q>>>0>f>>>0){continue}break}break d}n=i&-129;break d}f=e;while(1){j=c;c=w[f+1|0]|w[f|0]<<8;if((j|0)>=(c|0)){break e}f=f+l|0;if(q>>>0>f>>>0){continue}break}break d}n=i&-129}i=n|64;v[g+8>>2]=i}g:{h:{i:{if(!(i&128)){break i}j:{if(!p){g=0;while(1){if(g>>>0>=h>>>0){break i}c=g+h>>>1|0;p=e+B(c,l)|0;f=w[p|0];j=f>>>0>k>>>0;h=j?c:h;g=j?g:f>>>0>>0?c+1|0:g;if((f|0)!=(k|0)){continue}break}c=p+1|0;break j}p=e+2|0;g=0;while(1){if(g>>>0>=h>>>0){break i}f=g+h>>>1|0;c=p+B(f,l)|0;e=c-2|0;e=w[e|0]<<8|w[e+1|0];j=e>>>0>k>>>0;g=j?g:e>>>0>>0?f+1|0:g;h=j?f:h;if((e|0)!=(k|0)){continue}break}}k:{if(i&2){h=w[c+1|0]|w[c|0]<<8;c=c+2|0;break k}h=w[c|0];c=c+1|0}f=w[c|0];if(!(i&4)){break h}e=2;f=w[c+1|0]<<8|f<<16;break g}dd(s);c=6;break c}e=1;f=f<<8}e=w[c+e|0];dd(s);c=6;if(!h){break c}e=e|f;v[m+28>>2]=0;v[m+24>>2]=0;v[m+16>>2]=0;v[m+12>>2]=0;v[m+8>>2]=0;i=r+(D<<4)|0;g=v[i+4>>2];f=v[o+304>>2];c=v[o+300>>2];l:{if((f|0)==(c|0)){c=g;break l}c=fc(g,c,f);f=v[o+304>>2];g=v[i+4>>2]}v[a+56>>2]=c;f=fc(x[b+12>>1]<<8,g,f);v[m+20>>2]=f;c=Mb(s,e+v[o+188>>2]|0);if(c){break c}c=Ed(s,h);if(c){break c}v[m+4>>2]=v[s+32>>2];g=8;l=v[s+36>>2];e=v[m+4>>2];m:{if(l>>>0>>0){break m}i=e;n:{o:{p:{q:{r:{r=w[e|0];switch((r&3)-1|0){case 2:break o;case 1:break p;case 0:break q;default:break r}}c=e+2|0;if(l>>>0>>0){break m}e=t[i+1|0];i=e>>4;k=e<<28>>28;break n}c=e+3|0;if(l>>>0>>0){break m}k=t[e+2|0];i=t[e+1|0];break n}c=e+5|0;if(l>>>0>>0){break m}i=w[e+3|0]|w[e+4|0]<<8;k=(i<<8|i>>>8)<<16>>16;e=w[e+1|0]|w[e+2|0]<<8;i=(e<<8|e>>>8)<<16>>16;break n}c=e+7|0;if(l>>>0>>0){break m}k=w[e+6|0]|(w[e+5|0]<<8|w[e+4|0]<<16);i=w[e+3|0]|(w[e+2|0]<<8|w[e+1|0]<<16)}j=r>>>2&3;p=j;s:{t:{switch(j-1|0){case 0:e=c+1|0;if(e>>>0>l>>>0){break m}c=w[c|0];p=c&15;j=c>>>4|0;c=e;break s;case 1:e=c+2|0;if(e>>>0>l>>>0){break m}p=w[c+1|0];j=w[c|0];c=e;break s;case 2:break t;default:break s}}e=c+4|0;if(e>>>0>l>>>0){break m}p=w[c+3|0]|w[c+2|0]<<8;j=w[c+1|0]|w[c|0]<<8;c=e}u:{v:{w:{x:{r=r>>>4|0;switch((r&3)-1|0){case 2:break v;case 1:break w;case 0:break x;default:break u}}e=c+1|0;if(e>>>0>l>>>0){break m}f=t[c|0]<<8;c=e;break u}e=c+2|0;if(e>>>0>l>>>0){break m}c=w[c|0]|w[c+1|0]<<8;f=(c<<8|c>>>8)<<16>>16;c=e;break u}e=c+3|0;if(e>>>0>l>>>0){break m}f=w[c+2|0]|(w[c+1|0]<<8|w[c|0]<<16);c=e}v[m+28>>2]=i;v[m+24>>2]=k;v[m+16>>2]=j;v[m+12>>2]=p;v[m+20>>2]=f;v[m+8>>2]=r>>>2;v[m+4>>2]=c;g=0}c=g;y:{if(c){break y}c=8;z:{A:{B:{C:{i=v[m+8>>2];switch(i|0){case 2:break A;case 1:break B;case 0:break C;default:break y}}f=v[m+16>>2];g=v[m+12>>2];if(B(f,g)+7>>>3>>>0<=h>>>0){break z}break y}f=v[m+16>>2];g=v[m+12>>2];if(B(f,g)>>>0<=B(h,15)>>>0){break z}break y}f=v[m+16>>2];g=v[m+12>>2];if(B(f,g)>>>0>B(h+1>>>1|0,255)>>>0){break y}}c=23;if((g|0)<0){break y}e=v[m+24>>2];if((e|0)>(2147483647-g|0)){break y}v[a+72>>2]=1651078259;v[a+76>>2]=g;v[a+80>>2]=f;t[a+94|0]=1;v[a+28>>2]=g<<6;h=f<<6;v[a+24>>2]=h;j=f+7>>3;v[a+84>>2]=j;f=v[m+28>>2];v[a+36>>2]=e<<6;v[a+32>>2]=f<<6;k=v[m+20>>2];c=0;v[a+48>>2]=0;v[a+44>>2]=0-h>>1;v[a+40>>2]=(k>>2)+32&-64;h=v[b+32>>2];v[a+104>>2]=e+g;v[a+100>>2]=f;v[a+52>>2]=h;if(E){break y}c=oB(a,B(g,j));if(c){break y}f=v[m+4>>2];p=v[s+36>>2];c=v[o+208>>2]>>>1&1;n=0;g=v[a+76>>2];D:{if(!g){break D}e=v[a+80>>2];if(!e){break D}h=v[a+84>>2];E=c?h:0-h|0;q=B(e,g);l=v[a+88>>2]+(c?0:B(h,g-1|0))|0;E:{F:{switch(i|0){case 0:c=p-f<<3;o=c>>>0>q>>>0?q:c;if(!o){break D}k=128;i=0;g=l;c=e;j=o;while(1){if(!((j^o)&7)){i=w[f|0];f=f+1|0}n=i<<24>>31&k|n;c=c-1|0;G:{if(!c){t[g|0]=n;n=0;c=e;l=l+E|0;g=l;h=128;break G}h=k>>>1|0;if(k>>>0>1){break G}t[g|0]=n;g=g+1|0;n=0;h=128}k=h;i=i<<1;j=j-1|0;if(j){continue}break};if((k|0)!=128){break E}break D;case 1:if(!q){break D}k=1;o=128;g=l;c=e;i=0;h=0;j=1;while(1){H:{I:{if(k){k=h;J:{while(1){K:{if(j){j=i;break K}k=0;j=0;h=i;if(h){break J}}i=j;h=k;if(f>>>0>=p>>>0){break J}h=w[f|0];i=h&15;j=0;k=0;r=f+1|0;f=r;if(h>>>0<16){continue}break}h=h>>>4|0;f=r;break I}n=n|o;j=1;break H}if(!j){break I}n=n|o;break H}j=0}c=c-1|0;L:{if(!c){t[g|0]=n;n=0;c=e;l=l+E|0;g=l;k=128;break L}k=o>>>1|0;if(o>>>0>1){break L}t[g|0]=n;g=g+1|0;n=0;k=128}o=k;k=(h|0)<2;h=h-1|0;q=q-1|0;if(q){continue}break};if((o|0)!=128){break E}break D;case 2:break F;default:break D}}if(!q){break D}i=1;h=128;g=l;c=e;j=0;k=1;while(1){M:{if(!i|f>>>0>=p>>>0){break M}N:{while(1){k=k^1;i=f+1|0;j=w[f|0];if(j){break N}f=i;if((p|0)!=(f|0)){continue}break}j=0;f=p;break M}f=i}n=(k?h:0)|n;c=c-1|0;O:{if(!c){t[g|0]=n;n=0;c=e;l=l+E|0;g=l;i=128;break O}i=h>>>1|0;if(h>>>0>1){break O}t[g|0]=n;g=g+1|0;n=0;i=128}h=i;i=(j|0)<2;j=j-1|0;q=q-1|0;if(q){continue}break}if((h|0)==128){break D}}t[g|0]=n}c=0}dd(s)}Ma=m+32|0;if(!c){break b}}if(d&16384){break a}f=v[A+416>>2];v[a+72>>2]=1869968492;v[a+108>>2]=0;e=v[A+104>>2];g=v[A+188>>2];c=f+(D<<4)|0;h=v[c+12>>2];i=v[c+8>>2];c=a+160|0;it(v[c+28>>2]);v[c+16>>2]=0;z=y_(c,e,g,h,i);if(z){break a}c=v[a+188>>2];g=v[c+24>>2];e=a+108|0;v[e>>2]=v[c+20>>2];v[e+4>>2]=g;v[e+16>>2]=v[c+36>>2];g=v[c+32>>2];v[e+8>>2]=v[c+28>>2];v[e+12>>2]=g;c=v[a+124>>2]&-6;v[a+124>>2]=c|4;if(x[b+14>>1]<=23){v[a+124>>2]=c|260}v[a+52>>2]=0;v[a+40>>2]=0;c=v[(f+(D<<4)|0)+4>>2];f=v[A+304>>2];g=v[A+300>>2];if((f|0)!=(g|0)){c=fc(c,g,f)}P:{if(t[A+324|0]&1){v[a+52>>2]=c;f=c;c=v[a+40>>2];break P}v[a+40>>2]=c;f=v[a+52>>2]}v[a+60>>2]=f;v[a+56>>2]=c;v[a+44>>2]=0;v[a+48>>2]=0;if(!(d&1)){d=v[b+20>>2];f=v[b+16>>2];b=a;if(u[a+110>>1]>=1){c=v[a+112>>2];z=0;while(1){F=c,G=xb(v[c>>2],f),v[F>>2]=G;F=c,G=xb(v[c+4>>2],d),v[F+4>>2]=G;c=c+8|0;z=z+1|0;if((z|0)>1]){continue}break}c=v[a+40>>2]}F=b,G=xb(c,f),v[F+40>>2]=G;F=a,G=xb(v[a+52>>2],d),v[F+52>>2]=G}yn(e,C);b=v[C>>2];v[a+24>>2]=v[C+8>>2]-b;c=v[C+12>>2];d=v[C+4>>2];v[a+36>>2]=d;v[a+32>>2]=b;v[a+28>>2]=c-d}z=0}Ma=C+16|0;return z|0}function bU(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;l=Ma-128|0;Ma=l;g=v[b>>2];a:{b:{i=v[c+8>>2];if((i|0)<1){break b}h=v[c>>2];f=-1;e=i;while(1){c:{j=(e+f|0)/2|0;k=v[h+(j<<2)>>2];d:{if((k|0)<(g|0)){f=j;break d}e=j;if((g|0)>=(k|0)){break c}}if((e-f|0)>1){continue}}break}if((g|0)!=v[h+(e<<2)>>2]|(e|0)>=(i|0)){break b}f=0;fb(0,-1,282262,0);break a}h=v[c>>2];f=v[c+8>>2];e=f;e:{f:{if((e|0)<1){break f}i=-1;e=f;while(1){g:{j=(e+i|0)/2|0;k=v[(j<<2)+h>>2];h:{if((k|0)<(g|0)){i=j;break h}e=j;if((g|0)>=(k|0)){break g}}if((e-i|0)>1){continue}}break}if((e|0)>=(f|0)){break f}if((g|0)==v[(e<<2)+h>>2]){break e}}if(v[c+4>>2]==(f|0)){j=c;if((f|0)>=1073741824){jh(333078);h=v[c>>2];f=v[c+4>>2]}f=f<<1;v[j+4>>2]=f;h=yc(h,f,4);v[c>>2]=h;f=v[c+8>>2]}if((e|0)<(f|0)){j=(e<<2)+h|0;id(j+4|0,j,f-e<<2);h=v[c>>2];f=v[c+8>>2]}v[(e<<2)+h>>2]=g;v[c+8>>2]=f+1}e=0;f=v[a>>2];Qa[v[v[f>>2]+56>>2]](f,v[b>>2]+v[a+4>>2]|0,0);f=v[a>>2];f=Qa[v[v[f>>2]+40>>2]](f,l,100)|0;i:{if((f|0)<1){break i}while(1){j=t[e+l|0];if(j>>>0<=255){j=w[j+928528|0]==1}else{j=0}if(!j){break i}e=e+1|0;if((f|0)!=(e|0)){continue}break}e=f}j:{if(d){break j}d=f;f=e+4|0;if(w[e+l|0]!=120|(d|0)<=(f|0)){break j}d=e+l|0;if(w[d+1|0]!=114|w[d+2|0]!=101|w[d+3|0]!=102){break j}d=t[f+l|0];if(d>>>0<=255){d=w[d+928528|0]==1}else{d=0}if(!d){break j}f=c;g=Ma-48|0;Ma=g;v[g+16>>2]=13;j=b;c=v[a>>2];Qa[v[v[c>>2]+56>>2]](c,v[b>>2]+(v[a+4>>2]+(e+5|0)|0)|0,0);k:{l:{m:{n:{o:{while(1){b=v[a>>2];e=Qa[v[v[b>>2]+28>>2]](b)|0;if(w[e+928528|0]==1&e>>>0<=255){continue}p:{if((e|0)==116){b=v[a>>2];if((Qa[v[v[b>>2]+40>>2]](b,g+10|0,6)|0)!=6){break m}if(Jb(g+10|0,239410,6)){break m}v[g+32>>2]=5;e=0;c=ab(56);d=ab(160);b=v[a>>2];i=Qa[v[v[b>>2]+52>>2]](b)|0;k=d;d=g+32|0;b=so(c,0,eq(k,0,Qa[v[v[b>>2]+92>>2]](b,i,0,0,d)|0),1);Bg(b,d,0,0,0,0,0,0,0);ml(b);$a(c);if(v[g+32>>2]!=7){break n}Yd(v[g+40>>2],224852,g+16|0);switch(v[g+16>>2]-1|0){case 0:case 8:break p;default:break o}}b=0;if(e-48>>>0>9){break m}while(1){b=(B(b,10)+e|0)-48|0;c=v[a>>2];e=Qa[v[v[c>>2]+28>>2]](c)|0;if(e-48>>>0<10){continue}break}if(!(w[e+928528|0]==1&e>>>0<=255)){break m}while(1){c=v[a>>2];e=Qa[v[v[c>>2]+28>>2]](c)|0;c=e;if(e>>>0<=255){c=w[c+928528|0]==1}else{c=0}if(c){continue}break}i=0;while(1){i=(B(i,10)+e|0)-48|0;c=v[a>>2];e=Qa[v[v[c>>2]+28>>2]](c)|0;if(e-48>>>0<10){continue}break}if(!(w[e+928528|0]==1&e>>>0<=255)|(b|0)<0|((i|0)<0|(2147483647-i|0)<(b|0))){break m}e=b+i|0;c=v[a+12>>2];if((e|0)>(c|0)){c=c?c<<1:1024;while(1){d=c;if((c|0)<(e|0)){c=d<<1;if((d|0)>0){continue}}break}if((d|0)<0){break m}k=yc(v[a+8>>2],d,12);v[a+8>>2]=k;c=v[a+12>>2];q:{if((d|0)<=(c|0)){break q}e=d+(c^-1)|0;h=d-c&3;if(h){while(1){m=k+B(c,12)|0;v[m+8>>2]=0;v[m>>2]=-1;c=c+1|0;h=h-1|0;if(h){continue}break}}if(e>>>0<3){break q}while(1){e=k+B(c,12)|0;v[e>>2]=-1;v[e+8>>2]=0;v[e+12>>2]=-1;v[e+20>>2]=0;v[e+24>>2]=-1;v[e+44>>2]=0;v[e+32>>2]=0;v[e+36>>2]=-1;c=c+4|0;if((d|0)!=(c|0)){continue}break}}v[a+12>>2]=d}d=b;if((i|0)<1){continue}while(1){c=v[a>>2];e=Qa[v[v[c>>2]+28>>2]](c)|0;if(w[e+928528|0]==1&e>>>0<=255){continue}c=0;while(1){c=(B(c,10)+e|0)-48|0;e=v[a>>2];e=Qa[v[v[e>>2]+28>>2]](e)|0;if(e-48>>>0<10){continue}break}if(!(w[e+928528|0]==1&e>>>0<=255)){break m}while(1){e=v[a>>2];e=Qa[v[v[e>>2]+28>>2]](e)|0;if(w[e+928528|0]==1&e>>>0<=255){continue}break}h=0;while(1){h=(B(h,10)+e|0)-48|0;e=v[a>>2];e=Qa[v[v[e>>2]+28>>2]](e)|0;if(e-48>>>0<10){continue}break}if(!(w[e+928528|0]==1&e>>>0<=255)){break m}while(1){e=v[a>>2];e=Qa[v[v[e>>2]+28>>2]](e)|0;if(w[e+928528|0]==1&e>>>0<=255){continue}break}k=1;r:{switch(e-102|0){case 0:k=0;break;case 8:break r;default:break m}}e=v[a>>2];e=Qa[v[v[e>>2]+28>>2]](e)|0;if(e>>>0<=255){e=w[e+928528|0]==1}else{e=0}if(!e){break m}e=v[a+8>>2]+B(b,12)|0;s:{if(v[e>>2]!=-1){break s}v[e>>2]=c;v[e+8>>2]=k;v[e+4>>2]=h;t:{if((b|0)!=1|(d|0)!=1){break t}d=1;c=v[a+8>>2];if(v[c+12>>2]){b=1;break t}if(v[c+16>>2]!=65535){b=1;break t}b=1;if(v[c+20>>2]){break t}b=v[c+16>>2];v[c>>2]=v[c+12>>2];v[c+4>>2]=b;v[c+8>>2]=v[c+20>>2];v[v[a+8>>2]+12>>2]=-1;d=0;b=0}if(v[a+16>>2]>=(b|0)){break s}v[a+16>>2]=b}b=b+1|0;if((b|0)<(d+i|0)){continue}break}continue}break}v[j>>2]=v[g+24>>2];e=1}bb(g+16|0);if(v[a+40>>2]==13){ee(g+32|0,a+40|0)}if(v[ib(v[g+40>>2],255384,g+16|0,0)>>2]!=1){break l}v[g+4>>2]=v[g+24>>2];bU(a,g+4|0,f,1);if(v[a+28>>2]){break l}bb(g+16|0)}bb(g+32|0)}e=0;v[a+28>>2]=0;break k}bb(g+16|0);bb(g+32|0)}Ma=g+48|0;f=e;break a}v[l+112>>2]=5;f=0;u:{k=ab(56);e=ab(160);c=v[a>>2];d=l+112|0;h=so(k,0,eq(e,0,Qa[v[v[c>>2]+92>>2]](c,v[b>>2]+v[a+4>>2]|0,0,0,d)|0),1);if(v[Bg(h,d,1,0,0,0,0,0,0)>>2]!=1){break u}c=l+112|0;bb(c);if(v[Bg(h,c,1,0,0,0,0,0,0)>>2]!=1){break u}c=l+112|0;bb(c);c=Bg(h,c,1,0,0,0,0,0,0);if(v[c>>2]!=10){break u}if(hb(v[c+8>>2],263405)){break u}c=l+112|0;bb(c);if(v[Bg(h,c,0,0,0,0,0,0,0)>>2]!=8){break u}c=a;i=v[l+120>>2];e=b;a=Ma+-64|0;Ma=a;v[a+32>>2]=13;v[a+16>>2]=13;v[a>>2]=13;b=a+32|0;j=b;g=Qa[v[v[i>>2]+76>>2]](i)|0;v:{w:{x:{y:{if(v[Yd(g,273805,b)>>2]!=1){break y}f=v[a+40>>2];bb(a+32|0);if((f|0)<0){break y}if((f|0)>v[c+12>>2]){m=yc(v[c+8>>2],f,12);v[c+8>>2]=m;b=v[c+12>>2];z:{if((f|0)<=(b|0)){break z}n=f+(b^-1)|0;d=f-b&3;if(d){while(1){o=m+B(b,12)|0;v[o+8>>2]=0;v[o>>2]=-1;b=b+1|0;d=d-1|0;if(d){continue}break}}if(n>>>0<3){break z}while(1){d=m+B(b,12)|0;v[d>>2]=-1;v[d+8>>2]=0;v[d+12>>2]=-1;v[d+20>>2]=0;v[d+24>>2]=-1;v[d+44>>2]=0;v[d+32>>2]=0;v[d+36>>2]=-1;b=b+4|0;if((f|0)!=(b|0)){continue}break}}v[c+12>>2]=f}if(v[Yd(g,309129,a+32|0)>>2]!=6){break y}b=v[a+40>>2];if(v[b+12>>2]<3){break y}A:{d=a+16|0;if(v[ub(b,0,d,0)>>2]!=1){break A}m=v[a+24>>2];v[a+52>>2]=m;b=a+16|0;bb(b);if(v[ub(v[a+40>>2],1,b,0)>>2]!=1){break A}b=v[a+24>>2];v[a+56>>2]=b;n=a+16|0;bb(n);if(v[ub(v[a+40>>2],2,n,0)>>2]!=1){break A}d=v[a+24>>2];v[a+60>>2]=d;bb(a+16|0);bb(a+32|0);if((b|0)<0|m>>>0>8|((d|0)<0|(b|0)>8)){break w}if((d|0)>8){break w}Qa[v[v[i>>2]+20>>2]](i);Yd(g,221121,a);B:{if(v[a>>2]==6){m=1;b=v[a+8>>2];if(v[b+12>>2]<=1){break B}f=0;while(1){d=a;if(v[ub(b,f,a+32|0,0)>>2]!=1){break A}n=v[a+40>>2];b=a+32|0;bb(b);if(v[ub(v[a+8>>2],m,b,0)>>2]!=1){break A}d=v[a+40>>2];bb(a+32|0);b=a;if((n|0)<0|(d|0)<0){break x}if(!$T(c,i,a+52|0,n,d)){break x}f=f+2|0;m=f|1;b=v[a+8>>2];if((m|0)>2]){continue}break}break B}if($T(c,i,a+52|0,0,f)){break B}b=a;break x}bb(a);Yd(g,224852,a+32|0);b=0;if(v[a+32>>2]==1){v[e>>2]=v[a+40>>2];b=1}bb(a+32|0);if(v[c+40>>2]!=13){break v}v[c+48>>2]=g;v[c+40>>2]=7;v[g+20>>2]=v[g+20>>2]+1;break v}bb(d)}b=j}bb(b)}b=0;v[c+28>>2]=0}Ma=a- -64|0;f=b;bb(l+112|0);ml(h);$a(k);break a}bb(l+112|0);ml(h);$a(k);v[a+28>>2]=0}Ma=l+128|0;return f}function pV(a){var 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,w=0,x=0,y=0,z=0,B=0,C=0,D=0,E=0;l=Ma-32|0;Ma=l;v[l+16>>2]=13;a:{b:{c:{switch(v[a>>2]-7|0){case 0:g=v[a+8>>2];break b;case 1:break c;default:break a}}g=v[a+8>>2];g=Qa[v[v[g>>2]+76>>2]](g)|0}if(v[ib(g,279268,l+16|0,0)>>2]!=1){fb(1,-1,219281,0);bb(l+16|0);break a}h=v[l+24>>2];bb(l+16|0);d:{switch(h-1|0){case 0:c=Ma-160|0;Ma=c;v[c+16>>2]=13;v[c>>2]=13;C=1;t=1;q=1;k=0;e:{if(v[ib(g,248044,c+16|0,0)>>2]!=6){break e}a=v[c+24>>2];k=0;if(v[a+12>>2]!=4){break e}a=ub(a,0,c,0);j=A[a+8>>3];h=v[a+8>>2];a=v[a>>2];bb(c);f=ub(v[c+24>>2],1,c,0);t=v[f>>2]==1?+v[f+8>>2]:A[f+8>>3];bb(c);f=ub(v[c+24>>2],2,c,0);r=v[f>>2]==1?+v[f+8>>2]:A[f+8>>3];bb(c);f=ub(v[c+24>>2],3,c,0);q=v[f>>2]==1?+v[f+8>>2]:A[f+8>>3];bb(c);k=(a|0)==1?+(h|0):j}a=c+16|0;bb(a);j=1;f:{if(v[ib(g,220530,a,0)>>2]!=6){break f}a=v[c+24>>2];j=1;if(v[a+12>>2]!=6){break f}a=ub(a,0,c,0);j=A[a+8>>3];h=v[a+8>>2];a=v[a>>2];bb(c);f=ub(v[c+24>>2],1,c,0);o=v[f>>2]==1?+v[f+8>>2]:A[f+8>>3];bb(c);f=ub(v[c+24>>2],2,c,0);m=v[f>>2]==1?+v[f+8>>2]:A[f+8>>3];bb(c);f=ub(v[c+24>>2],3,c,0);C=v[f>>2]==1?+v[f+8>>2]:A[f+8>>3];bb(c);f=ub(v[c+24>>2],4,c,0);p=v[f>>2]==1?+v[f+8>>2]:A[f+8>>3];bb(c);f=ub(v[c+24>>2],5,c,0);n=v[f>>2]==1?+v[f+8>>2]:A[f+8>>3];bb(c);j=(a|0)==1?+(h|0):j}a=c+16|0;bb(a);ib(g,246828,a,0);g:{h:{i:{j:{k:{if(v[c+16>>2]==6){a=v[c+24>>2];i=v[a+12>>2];if((i|0)>32){break j}if((i|0)<1){break k}ub(a,0,c,0);a=gg(c,2,1,0);v[c+32>>2]=a;bb(c);if(!a){break i}while(1){b=b+1|0;if((i|0)==(b|0)){break k}ub(v[c+24>>2],b,c,0);a=gg(c,2,1,0);v[(c+32|0)+(b<<2)>>2]=a;bb(c);if(a){continue}break}break i}a=gg(c+16|0,2,-1,0);v[c+32>>2]=a;i=1;if(!a){break i}}bb(c+16|0);b=ab(400);v[b+4>>2]=1;v[b+8>>2]=0;v[b+392>>2]=i;A[b+216>>3]=j;A[b+208>>3]=q;A[b+200>>3]=t;A[b+192>>3]=r;A[b+184>>3]=k;v[b>>2]=888112;A[b+256>>3]=n;A[b+248>>3]=p;A[b+240>>3]=C;A[b+232>>3]=m;A[b+224>>3]=o;if((i|0)>=1){cb(b+264|0,c+32|0,i<<2)}l:{if(iv(b,g)){a=v[b+392>>2];if((a|0)<1){break g}g=v[b+8>>2];h=0;break l}Qa[v[v[b>>2]+4>>2]](b);break h}while(1){if(v[v[((h<<2)+b|0)+264>>2]+8>>2]==(Qa[v[v[g>>2]+28>>2]](g)|0)){h=h+1|0;if((a|0)>(h|0)){continue}break g}break}fb(1,-1,219040,0);Qa[v[v[b>>2]+4>>2]](b);break h}fb(1,-1,218656,0)}bb(c+16|0)}b=0}Ma=c+160|0;break a;case 1:e=Ma-160|0;Ma=e;v[e+16>>2]=13;v[e>>2]=13;m:{n:{if(v[ib(g,236840,e+16|0,0)>>2]!=6){break n}a=v[e+24>>2];if(v[a+12>>2]!=4){break n}a=ub(a,0,e,0);o=A[a+8>>3];u=v[a+8>>2];w=v[a>>2];bb(e);a=ub(v[e+24>>2],1,e,0);x=v[a>>2];m=A[a+8>>3];y=v[a+8>>2];bb(e);a=ub(v[e+24>>2],2,e,0);z=v[a>>2];n=A[a+8>>3];B=v[a+8>>2];bb(e);a=ub(v[e+24>>2],3,e,0);c=v[a>>2];k=A[a+8>>3];f=v[a+8>>2];bb(e);a=e+16|0;bb(a);p=1;o:{if(v[ib(g,248044,a,0)>>2]!=6){break o}a=v[e+24>>2];if(v[a+12>>2]!=2){break o}a=ub(a,0,e,0);j=A[a+8>>3];h=v[a+8>>2];a=v[a>>2];bb(e);s=ub(v[e+24>>2],1,e,0);p=v[s>>2]==1?+v[s+8>>2]:A[s+8>>3];r=(a|0)==1?+(h|0):j;bb(e)}a=e+16|0;bb(a);ib(g,246828,a,0);p:{q:{if(v[e+16>>2]==6){a=v[e+24>>2];i=v[a+12>>2];if((i|0)<=32){if((i|0)<1){break q}ub(a,0,e,0);a=gg(e,1,1,0);v[e+32>>2]=a;if(a){while(1){bb(e);b=b+1|0;if((i|0)==(b|0)){break q}ub(v[e+24>>2],b,e,0);a=gg(e,1,1,0);v[(e+32|0)+(b<<2)>>2]=a;if(a){continue}break}}bb(e+16|0);bb(e);break p}fb(1,-1,218656,0);break m}i=1;a=gg(e+16|0,1,-1,0);v[e+32>>2]=a;if(a){break q}bb(e+16|0);break m}m=(x|0)==1?+(y|0):m;n=(z|0)==1?+(B|0):n;k=(c|0)==1?+(f|0):k;j=(w|0)==1?+(u|0):o;a=e+16|0;bb(a);h=0;r:{if(v[ib(g,287504,a,0)>>2]!=6){f=0;break r}f=0;a=v[e+24>>2];if(v[a+12>>2]!=2){break r}h=v[ub(a,0,e,0)+8>>2];bb(e);f=v[ub(v[e+24>>2],1,e,0)+8>>2];bb(e)}bb(e+16|0);b=ab(376);v[b+4>>2]=2;v[b+8>>2]=0;v[b+360>>2]=i;A[b+224>>3]=p;A[b+216>>3]=r;A[b+208>>3]=k;A[b+200>>3]=n;A[b+192>>3]=m;A[b+184>>3]=j;v[b>>2]=888132;if((i|0)>=1){cb(b+232|0,e+32|0,i<<2)}v[b+368>>2]=f;v[b+364>>2]=h;s:{if(iv(b,g)){a=v[b+360>>2];if((a|0)<1){break m}g=v[b+8>>2];h=0;break s}Qa[v[v[b>>2]+4>>2]](b);break p}while(1){if(v[v[((h<<2)+b|0)+232>>2]+8>>2]==(Qa[v[v[g>>2]+28>>2]](g)|0)){h=h+1|0;if((a|0)>(h|0)){continue}break m}break}fb(1,-1,219040,0);Qa[v[v[b>>2]+4>>2]](b)}b=0;break m}fb(1,-1,218992,0);bb(e+16|0)}Ma=e+160|0;break a;case 2:d=Ma-160|0;Ma=d;v[d+16>>2]=13;v[d>>2]=13;t:{u:{if(v[ib(g,236840,d+16|0,0)>>2]!=6){break u}a=v[d+24>>2];if(v[a+12>>2]!=6){break u}a=ub(a,0,d,0);t=A[a+8>>3];D=v[a+8>>2];E=v[a>>2];bb(d);a=ub(v[d+24>>2],1,d,0);e=v[a>>2];q=A[a+8>>3];s=v[a+8>>2];bb(d);a=ub(v[d+24>>2],2,d,0);u=v[a>>2];o=A[a+8>>3];w=v[a+8>>2];bb(d);a=ub(v[d+24>>2],3,d,0);x=v[a>>2];m=A[a+8>>3];y=v[a+8>>2];bb(d);a=ub(v[d+24>>2],4,d,0);z=v[a>>2];n=A[a+8>>3];B=v[a+8>>2];bb(d);a=ub(v[d+24>>2],5,d,0);c=v[a>>2];k=A[a+8>>3];f=v[a+8>>2];bb(d);a=d+16|0;bb(a);p=1;v:{if(v[ib(g,248044,a,0)>>2]!=6){break v}a=v[d+24>>2];if(v[a+12>>2]!=2){break v}a=ub(a,0,d,0);j=A[a+8>>3];h=v[a+8>>2];a=v[a>>2];bb(d);i=ub(v[d+24>>2],1,d,0);p=v[i>>2]==1?+v[i+8>>2]:A[i+8>>3];r=(a|0)==1?+(h|0):j;bb(d)}a=d+16|0;bb(a);ib(g,246828,a,0);w:{x:{if(v[d+16>>2]==6){a=v[d+24>>2];i=v[a+12>>2];if((i|0)<=32){if((i|0)<1){break x}ub(a,0,d,0);a=gg(d,1,1,0);v[d+32>>2]=a;if(a){while(1){bb(d);b=b+1|0;if((i|0)==(b|0)){break x}ub(v[d+24>>2],b,d,0);a=gg(d,1,1,0);v[(d+32|0)+(b<<2)>>2]=a;if(a){continue}break}}bb(d+16|0);bb(d);break w}fb(1,-1,218656,0);break t}i=1;a=gg(d+16|0,1,-1,0);v[d+32>>2]=a;if(a){break x}bb(d+16|0);break t}q=(e|0)==1?+(s|0):q;o=(u|0)==1?+(w|0):o;m=(x|0)==1?+(y|0):m;n=(z|0)==1?+(B|0):n;k=(c|0)==1?+(f|0):k;j=(E|0)==1?+(D|0):t;a=d+16|0;bb(a);h=0;y:{if(v[ib(g,287504,a,0)>>2]!=6){f=0;break y}f=0;a=v[d+24>>2];if(v[a+12>>2]!=2){break y}h=v[ub(a,0,d,0)+8>>2];bb(d);f=v[ub(v[d+24>>2],1,d,0)+8>>2];bb(d)}bb(d+16|0);b=ab(392);v[b+4>>2]=3;v[b+8>>2]=0;v[b+376>>2]=i;A[b+240>>3]=p;A[b+232>>3]=r;A[b+224>>3]=k;A[b+216>>3]=n;A[b+208>>3]=m;A[b+200>>3]=o;A[b+192>>3]=q;A[b+184>>3]=j;v[b>>2]=888152;if((i|0)>=1){cb(b+248|0,d+32|0,i<<2)}v[b+384>>2]=f;v[b+380>>2]=h;z:{if(iv(b,g)){a=v[b+376>>2];if((a|0)<1){break t}g=v[b+8>>2];h=0;break z}Qa[v[v[b>>2]+4>>2]](b);break w}while(1){if(v[v[((h<<2)+b|0)+248>>2]+8>>2]==(Qa[v[v[g>>2]+28>>2]](g)|0)){h=h+1|0;if((a|0)>(h|0)){continue}break t}break}fb(1,-1,219040,0);Qa[v[v[b>>2]+4>>2]](b)}b=0;break t}fb(1,-1,218992,0)}Ma=d+160|0;break a;case 3:if(v[a>>2]==8){b=oV(4,g,v[a+8>>2]);break a}fb(1,-1,233741,0);break a;case 4:if(v[a>>2]==8){b=oV(5,g,v[a+8>>2]);break a}fb(1,-1,233711,0);break a;case 5:if(v[a>>2]==8){b=nV(6,g,v[a+8>>2]);break a}fb(1,-1,233681,0);break a;case 6:if(v[a>>2]==8){b=nV(7,g,v[a+8>>2]);break a}fb(1,-1,233651,0);break a;default:break d}}v[l>>2]=h;fb(1,-1,217506,l)}Ma=l+32|0;return b}function kFa(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,p=0,q=0,r=0,s=0,u=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0;i=Ma+-64|0;Ma=i;v[i+60>>2]=0;f=w[a+48|0];a:{if(!(v[a+536>>2]|!f)){q=8;break a}h=v[a+540>>2];d=v[h>>2];if(!d){e=v[a>>2];v[h+4>>2]=2289;d=cc(e,552,i+60|0);v[v[a+540>>2]>>2]=d;q=64;if(v[i+60>>2]){break a}v[d>>2]=e;if(!f){v[d+548>>2]=v[v[a+532>>2]+3088>>2]}v[d+152>>2]=0;v[d+156>>2]=0;v[d+168>>2]=0;v[d+172>>2]=0;v[d+160>>2]=0;v[d+164>>2]=0;v[d+148>>2]=2290;v[d+144>>2]=2291;v[d+156>>2]=2292;v[d+168>>2]=d+4;v[d+164>>2]=e}v[d+176>>2]=a;v[d+172>>2]=a;m=v[a+4>>2];q=t[v[m+128>>2]+56|0];e=v[m+96>>2];o=w[e+32|0];v[i+24>>2]=0;v[i+28>>2]=0;v[i+32>>2]=0;v[i+36>>2]=0;v[i+52>>2]=b;v[i+44>>2]=b;v[i+16>>2]=0;v[i+20>>2]=0;v[i+40>>2]=0;v[i+48>>2]=b?b+c|0:0;h=v[a+8>>2];r=w[h+161|0];b=i;l=w[h+160|0];b:{if(l){c=(v[h+164>>2]+32|0)/64|0;v[i+16>>2]=c;k=(v[h+168>>2]+32|0)/64|0;break b}c=1024;v[i+16>>2]=1024;k=1024}v[b+28>>2]=k;b=0;b=f?b:w[m+732|0];t[d+8|0]=f;t[d+9|0]=b;b=(l|0)!=0;v[d+12>>2]=b;if(!(!r|(o|(q|0)>-1?q:0))){v[d+12>>2]=b|2}v[d+188>>2]=v[e+36>>2];v[d+192>>2]=v[e+40>>2];v[d+196>>2]=v[e+44>>2];v[d+200>>2]=v[e+48>>2];v[d+204>>2]=v[e+52>>2];v[d+208>>2]=v[e+56>>2];v[d+212>>2]=v[e+60>>2];v[d+216>>2]=v[e- -64>>2];a=x[v[a+4>>2]+68>>1];v[d+132>>2]=a;if(r){q=36;if((c|0)<1){break a}b=v[i+28>>2];if((b|0)<1){break a}q=164;if(a<<16>>16<0){break a}a=Ub(131072e3,a<<16);if((a|0)<(c|0)|(a|0)<(b|0)){break a}}q=3;h=Ma-32|0;Ma=h;v[h+12>>2]=0;a=i+16|0;v[h+16>>2]=v[a+16>>2];v[h+20>>2]=v[a+20>>2];m=v[d+140>>2];f=v[d+136>>2];b=v[d+176>>2];v[h+28>>2]=0;v[h+24>>2]=0;v[d+4>>2]=0;c=v[b+536>>2];if((c|0)!=v[d+180>>2]){v[d+180>>2]=c;g=1}A=i+40|0;r=d+4|0;c:{if(!(w[d+8|0]|!v[v[b+532>>2]+3112>>2])){e=v[d+548>>2];o=v[b+4>>2];o=Qa[v[v[o+548>>2]+40>>2]](o,h+28|0,0,h+24|0,0)|0;v[d+4>>2]=o;if(o){break c}if(Qa[v[e+12>>2]](c+556|0,v[c+548>>2],v[h+28>>2],v[h+24>>2])|0){Qa[v[e+4>>2]](v[b+532>>2],c,v[h+28>>2],v[h+24>>2])|0;g=1}e=v[c+560>>2];t[d+93|0]=0;v[d+96>>2]=e;v[d+120>>2]=v[c+548>>2];v[d+124>>2]=v[h+28>>2];v[d+128>>2]=v[h+24>>2]}e=x[v[v[b+4>>2]+88>>2]+14>>1]<<16;if((e|0)!=v[d+88>>2]){v[d+88>>2]=e;g=1}c=v[d+12>>2];t[d+184|0]=c&1;d:{e:{f:{g:{if(!Jb(a,d+16|0,16)){a=c&2;if((a|0)==w[d+186|0]){break f}c=d+186|0;break g}g=v[a+4>>2];v[d+16>>2]=v[a>>2];v[d+20>>2]=g;g=v[a+12>>2];v[d+24>>2]=v[a+8>>2];v[d+28>>2]=g;v[d+32>>2]=0;v[d+36>>2]=0;g=v[a+4>>2];v[d+40>>2]=v[a>>2];v[d+44>>2]=g;g=v[a+12>>2];v[d+48>>2]=v[a+8>>2];v[d+52>>2]=g;g=v[a+20>>2];v[d+56>>2]=v[a+16>>2];v[d+60>>2]=g;v[d+72>>2]=0;v[d+76>>2]=65536;v[d+64>>2]=65536;v[d+68>>2]=0;a=c&2;if((a|0)==w[d+186|0]){break e}c=d+186|0}t[c|0]=a>>>1;break e}if(!g){break d}}a=v[d+132>>2];g=v[v[b+536>>2]+400>>2]<<16;v[d+220>>2]=g;a=a?a:1e3;c=65536e3/(a|0)|0;if((g|0)<=0){g=Ub(4915200,c);v[d+220>>2]=g}e=(e|0)>262144?e:262144;h:{if((f|0)>=1){a=a<<16;if((Ub(a,e)|0)>=(f|0)){f=Ub(a,e)}v[d+228>>2]=0;if(!f|(c|0)<655){break h}v[d+228>>2]=(f|0)/2;break h}j_(c,e,g,d+228|0,0,w[d+186|0],d+188|0)}k=d;f=v[v[b+536>>2]+396>>2]<<16;i:{if((f|0)>=1){a=4915200;if(v[d+220>>2]>f<<1){break i}}a=7208960}a=Ub(a,c);v[k+224>>2]=a;j_(c,e,a,d+232|0,m,w[d+186|0],d+188|0);a=1;a=v[d+228>>2]?a:v[d+232>>2]!=0;t[d+236|0]=0;t[d+185|0]=a;m=0;g=Ma-32|0;Ma=g;a=v[d+176>>2];e=eb(d+240|0,0,308);v[e>>2]=v[d+52>>2];G=e,H=Ub(v[v[a+536>>2]+384>>2],65536e3),v[G+12>>2]=H;b=v[a+536>>2];v[e+16>>2]=v[b+388>>2]<<16;v[e+20>>2]=v[b+392>>2]<<16;b=v[a+536>>2];v[g+28>>2]=w[b+188|0];v[g+12>>2]=b+192;b=v[a+536>>2];v[g+24>>2]=w[b+189|0];v[g+8>>2]=b+248;b=v[a+536>>2];v[g+20>>2]=w[b+190|0];v[g+4>>2]=b+288;b=v[a+536>>2];v[g+16>>2]=w[b+191|0];v[g>>2]=b+344;f=v[g+28>>2];j:{k:{l:{m:{if(v[v[a+536>>2]+524>>2]!=1){break m}n:{o:{switch(f|0){case 4:a=v[g+12>>2];if(v[a>>2]<<16>-7864321|v[a+4>>2]<<16>-7864321|(v[a+8>>2]<<16<57671681|v[a+12>>2]<<16<57671681)){break n}break;case 0:break o;default:break m}}v[e+56>>2]=-7864321;a=xb(-7864321,v[e>>2]);v[e+48>>2]=49;b=v[e>>2];v[e- -64>>2]=b;v[e+60>>2]=(a+32768&-65536)-32768;a=(v[d+232>>2]<<1)+57671681|0;v[e+36>>2]=a;a=xb(a,b);v[e+28>>2]=50;t[e+9|0]=1;v[e+44>>2]=v[e>>2];v[e+40>>2]=a+32768&-65536|32768;break j}o=d+232|0;f=4;k=e+4|0;break l}o=d+232|0;k=e+4|0;if(!f){break k}}a=v[e+4>>2];b=e+B(a,20)|0;l=v[g+12>>2];j=v[l>>2]<<16;v[b+68>>2]=j;c=v[l+4>>2]<<16;v[b+72>>2]=c;j=c-j|0;if((j|0)>=0){v[b+76>>2]=c;t[b+84|0]=1;a=a+1|0;v[e+4>>2]=a;m=(j|0)>0?j:0}c=2;if(f>>>0<=2){break k}while(1){b=e+B(a,20)|0;u=b;n=c<<2;j=v[n+l>>2]<<16;v[b+68>>2]=j;n=v[l+(n|4)>>2]<<16;v[b+72>>2]=n;s=n-j|0;if((s|0)>=0){p=n;n=v[o>>2]<<1;v[b+72>>2]=p+n;j=j+n|0;v[u+68>>2]=j;v[b+76>>2]=j;t[b+84|0]=0;a=a+1|0;v[e+4>>2]=a;m=(m|0)<(s|0)?s:m}c=c+2|0;if(f>>>0>c>>>0){continue}break}}j=v[g+24>>2];if(j){f=v[g+8>>2];a=v[k>>2];c=0;while(1){b=e+B(a,20)|0;l=c<<2;k=v[l+f>>2]<<16;v[b+68>>2]=k;l=v[f+(l|4)>>2]<<16;v[b+72>>2]=l;k=l-k|0;if((k|0)>=0){v[b+76>>2]=l;t[b+84|0]=1;a=a+1|0;v[e+4>>2]=a;m=(m|0)<(k|0)?k:m}c=c+2|0;if(j>>>0>c>>>0){continue}break}}c=Ub(65536,v[e>>2]);C=v[e+4>>2];if(C){l=0;n=v[g+4>>2];E=v[g>>2];s=v[g+16>>2];u=v[g+20>>2];F=u>>>0<3;while(1){a=e+B(l,20)|0;k=a;j=v[a+76>>2];p:{if(w[a+84|0]){f=0;a=2147483647;q:{if(!s){break q}while(1){z=v[(f<<2|4)+E>>2]<<16;p=j-z|0;b=p>>31;r:{b=b^b+p;if((b|0)>=(a|0)|(b|0)>=(c|0)){break r}v[k+76>>2]=z;a=b;if(p){break r}a=0;break q}f=f+2|0;if(s>>>0>f>>>0){continue}break}}if(u>>>0<2){break p}f=v[n+4>>2]<<16;j=j-f|0;b=j>>31;p=a;a=b^b+j;if((p|0)<=(a|0)|(a|0)>=(c|0)){break p}v[k+76>>2]=f;break p}if(F){break p}z=v[o>>2]<<1;f=2;a=2147483647;while(1){D=z+(v[n+(f<<2)>>2]<<16)|0;p=j-D|0;b=p>>31;b=b^b+p;if(!((b|0)>=(a|0)|(b|0)>=(c|0))){v[k+76>>2]=D;a=b;if(!p){break p}}f=f+2|0;if(u>>>0>f>>>0){continue}break}}l=l+1|0;if((C|0)!=(l|0)){continue}break}}s:{if((m|0)<1){break s}if(v[e+12>>2]<=(Ub(65536,m)|0)){break s}G=e,H=Ub(65536,m),v[G+12>>2]=H}a=v[e>>2];b=v[e+12>>2];if((a|0)<(b|0)){t[e+8|0]=1;a=fc(39322,a,b);v[e+24>>2]=(a|0)<6555?32767:39322-a|0}if(w[d+186|0]){v[e+24>>2]=0}if(!v[e+4>>2]){break j}f=0;while(1){a=e+B(f,20)|0;b=w[a+84|0];c=a;k=xb(v[a+76>>2],v[e>>2]);a=v[e+24>>2];v[c+80>>2]=(k+(b?0-a|0:a)|0)+32768&-65536;f=f+1|0;if(f>>>0>2]){continue}break}}Ma=g+32|0}if(v[r>>2]){break c}t[d+236|0]=0;b=w[d+185|0];a=d+144|0;l_(a);bt(d,A,a,h+16|0,0,0,0,h+12|0);if(v[d+4>>2]){break c}if(!(!b|v[d+160>>2]>-1)){t[d+236|0]=1;l_(a);bt(d,A,a,h+16|0,0,0,0,h+12|0);if(v[d+4>>2]){break c}}a=v[a+28>>2];OA(a);sw(v[a+12>>2])}v[i+12>>2]=v[h+12>>2];if(!(v[r>>2]|!r)){v[r>>2]=0}Ma=h+32|0;if(v[r>>2]){break a}q=0;a=v[d+172>>2];if(w[a+48|0]){break a}v[v[a+544>>2]>>2]=v[i+12>>2]+32768>>16}Ma=i- -64|0;return q|0}function Tfa(a,b){a=a|0;b=b|0;var 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,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;if(v[a+12>>2]>=0){a:{if(xQ(a,v[a+8>>2])){break a}d=v[a+4>>2];if(v[d+20>>2]<1){break a}while(1){j=v[a+8>>2];s=j;c=v[d>>2];d=J<<4;z=c+d|0;y=d+v[a+508>>2]|0;d=j<<3;I=v[d+979184>>2];j=0;l=0;o=v[d+979188>>2];p=(o|0)>=16;b:{if(s){if((o|0)<1){break b}g=v[((s<<2)+a|0)+16>>2];h=0-g|0;e=a+120|0;while(1){K=a+l|0;c=l+I|0;f=c>>4<<2;i=v[f+z>>2];d=8;c:{if(!i){break c}d=i;i=(c&15)<<2;c=v[d+i>>2];f=v[f+y>>2];d:{if(f){d=8;if(!c){break c}i=v[f+i>>2];if(!i){break d}d=2;f=2;if(!x[i>>1]){f=u[c>>1];f=(g|0)>(f|0)?(f|0)>(h|0)?8:12:12}t[e|0]=f;if(!x[i+2>>1]){d=u[c+2>>1];d=(d|0)<(g|0)?(d|0)>(h|0)?8:12:12}t[e+1|0]=d;k=d|f;d=2;f=2;if(!x[i+4>>1]){f=u[c+4>>1];f=(g|0)>(f|0)?(f|0)>(h|0)?8:12:12}t[e+2|0]=f;if(!x[i+6>>1]){d=u[c+6>>1];d=(d|0)<(g|0)?(d|0)>(h|0)?8:12:12}t[e+3|0]=d;k=f|k|d;d=2;f=2;if(!x[i+8>>1]){f=u[c+8>>1];f=(g|0)>(f|0)?(f|0)>(h|0)?8:12:12}t[e+4|0]=f;if(!x[i+10>>1]){d=u[c+10>>1];d=(d|0)<(g|0)?(d|0)>(h|0)?8:12:12}t[e+5|0]=d;k=f|k|d;d=2;f=2;if(!x[i+12>>1]){f=u[c+12>>1];f=(g|0)>(f|0)?(f|0)>(h|0)?8:12:12}t[e+6|0]=f;if(!x[i+14>>1]){d=u[c+14>>1];d=(d|0)<(g|0)?(d|0)>(h|0)?8:12:12}t[e+7|0]=d;k=f|k|d;d=2;f=2;if(!x[i+16>>1]){f=u[c+16>>1];f=(g|0)>(f|0)?(f|0)>(h|0)?8:12:12}t[e+8|0]=f;if(!x[i+18>>1]){d=u[c+18>>1];d=(d|0)<(g|0)?(d|0)>(h|0)?8:12:12}t[e+9|0]=d;k=f|k|d;d=2;f=2;if(!x[i+20>>1]){f=u[c+20>>1];f=(g|0)>(f|0)?(f|0)>(h|0)?8:12:12}t[e+10|0]=f;if(!x[i+22>>1]){d=u[c+22>>1];d=(d|0)<(g|0)?(d|0)>(h|0)?8:12:12}t[e+11|0]=d;k=f|k|d;d=2;f=2;if(!x[i+24>>1]){f=u[c+24>>1];f=(g|0)>(f|0)?(f|0)>(h|0)?8:12:12}t[e+12|0]=f;if(!x[i+26>>1]){d=u[c+26>>1];d=(d|0)<(g|0)?(d|0)>(h|0)?8:12:12}t[e+13|0]=d;k=f|k|d;d=2;f=2;if(!x[i+28>>1]){f=u[c+28>>1];f=(g|0)>(f|0)?(f|0)>(h|0)?8:12:12}t[e+14|0]=f;if(!x[i+30>>1]){d=u[c+30>>1];d=(d|0)<(g|0)?(d|0)>(h|0)?8:12:12}t[e+15|0]=d;d=f|k|d;break c}d=8;if(!c){break c}}d=u[c>>1];d=(d|0)<(g|0)?(d|0)>(h|0)?8:12:12;t[e|0]=d;f=u[c+2>>1];f=(g|0)>(f|0)?(f|0)>(h|0)?8:12:12;t[e+1|0]=f;i=u[c+4>>1];i=(g|0)>(i|0)?(i|0)>(h|0)?8:12:12;t[e+2|0]=i;k=u[c+6>>1];k=(g|0)>(k|0)?(k|0)>(h|0)?8:12:12;t[e+3|0]=k;n=u[c+8>>1];n=(g|0)>(n|0)?(n|0)>(h|0)?8:12:12;t[e+4|0]=n;q=u[c+10>>1];q=(g|0)>(q|0)?(q|0)>(h|0)?8:12:12;t[e+5|0]=q;r=u[c+12>>1];r=(g|0)>(r|0)?(r|0)>(h|0)?8:12:12;t[e+6|0]=r;m=u[c+14>>1];m=(g|0)>(m|0)?(m|0)>(h|0)?8:12:12;t[e+7|0]=m;A=u[c+16>>1];A=(g|0)>(A|0)?(A|0)>(h|0)?8:12:12;t[e+8|0]=A;C=u[c+18>>1];C=(g|0)>(C|0)?(C|0)>(h|0)?8:12:12;t[e+9|0]=C;D=u[c+20>>1];D=(g|0)>(D|0)?(D|0)>(h|0)?8:12:12;t[e+10|0]=D;E=u[c+22>>1];E=(g|0)>(E|0)?(E|0)>(h|0)?8:12:12;t[e+11|0]=E;F=u[c+24>>1];F=(g|0)>(F|0)?(F|0)>(h|0)?8:12:12;t[e+12|0]=F;G=u[c+26>>1];G=(g|0)>(G|0)?(G|0)>(h|0)?8:12:12;t[e+13|0]=G;H=u[c+28>>1];H=(g|0)>(H|0)?(H|0)>(h|0)?8:12:12;t[e+14|0]=H;c=u[c+30>>1];c=(c|0)<(g|0)?(c|0)>(h|0)?8:12:12;t[e+15|0]=c;d=c|(H|(G|(F|(E|(D|(C|(A|(m|(r|(q|(n|(k|(i|(d|f))))))))))))))}t[K+376|0]=d;e=e+16|0;j=d|j;l=l+1|0;if((o|0)!=(l|0)){continue}break}break b}c=v[a+4>>2];e=v[z>>2];if(!e){e=$x(c);v[z>>2]=e}d=v[e>>2];if(!d){d=ay(c);v[v[z>>2]>>2]=d;d=v[v[z>>2]>>2]}c=a+508|0;e=v[y>>2];if(!e){e=$x(c);v[y>>2]=e}l=v[e>>2];if(!l){c=ay(c);v[v[y>>2]>>2]=c;l=v[v[y>>2]>>2]}e=0;while(1){g=a+e|0;c=1;e:{if(w[g+120|0]==1){break e}f=e<<1;c=2;if(x[f+l>>1]){break e}f=u[d+f>>1];c=v[((e<<2)+a|0)+56>>2];c=(c|0)>(f|0)?(f|0)>(0-c|0)?8:12:12}t[g+120|0]=c;j=c|j;e=e+1|0;if((e|0)!=16){continue}break}t[a+376|0]=j}d=j;f:{if(!(d&2?0:p)){d=d|4;break f}if(!(d&8)){break f}c=a+505|0;g=w[a+505|0];j=v[((g<<2)+b|0)+44>>2]+v[b+20>>2]|0;if((g^d>>>2)&1){Pg(b,c,j);break f}if(j>>>0>=32768){Qg(b,c,j);break f}v[b+20>>2]=j}g:{if(!(d&4)|(o|0)<1){break g}c=d<<1&4;h:{if((s|0)>=1){h=0;f=(s<<3)+a|0;while(1){i=w[(a+h|0)+376|0];i:{if(!(i&8)){break i}e=0;j=h+I|0;g=j<<2;l=v[(g>>8<<2)+y>>2];j:{if(!l){break j}j=v[l+(j&60)>>2];if(!j){break j}e=3;l=(g&12)<<1;g=l+j|0;p=x[g>>1];g=(x[g+2>>1]?p?2:1:(p|0)!=0)+(x[g+4>>1]!=0)|0;if(g>>>0>2){break j}e=g+(x[j+(l|6)>>1]!=0)|0}g=(f+(c|e)|0)+424|0;e=w[g|0];j=v[((e<<2)+b|0)+44>>2]+v[b+20>>2]|0;if((e&1)!=(i>>>2&1)){Pg(b,g,j);break i}if(j>>>0<=32767){v[b+20>>2]=j;break i}Qg(b,g,j)}h=h+1|0;if((o|0)!=(h|0)){continue}break}break h}c=(c+((s<<3)+a|0)|0)+424|0;h=0;while(1){g=w[(a+h|0)+376|0];k:{if(!(g&8)){break k}e=w[c|0];j=v[((e<<2)+b|0)+44>>2]+v[b+20>>2]|0;if((e&1)!=(g>>>2&1)){Pg(b,c,j);break k}if(j>>>0>=32768){Qg(b,c,j);break k}v[b+20>>2]=j}h=h+1|0;if((o|0)!=(h|0)){continue}break}}if((o|0)<1){break g}p=a+508|0;e=a+120|0;l=v[((s<<2)+a|0)+16>>2];f=0;while(1){n=a+f|0;if(w[n+376|0]&4){m=((((((((((((w[e|0]>>>3&1)+(w[e+1|0]>>>3&1)|0)+(w[e+2|0]>>>3&1)|0)+(w[e+3|0]>>>3&1)|0)+(w[e+4|0]>>>3&1)|0)+(w[e+5|0]>>>3&1)|0)+(w[e+6|0]>>>3&1)|0)+(w[e+7|0]>>>3&1)|0)+(w[e+8|0]>>>3&1)|0)+(w[e+9|0]>>>3&1)|0)+(w[e+10|0]>>>3&1)|0)+(w[e+11|0]>>>3&1)|0)+(w[e+12|0]>>>3&1)|0;k=w[e+13|0]>>>3&1;q=w[e+14|0]>>>3|0;r=w[e+15|0];h=f+I|0;c=h>>4<<2;j=v[c+z>>2];if(j){g=v[j+((h&15)<<2)>>2]}else{g=0}c=c+y|0;i=v[c>>2];if(!i){i=$x(p);v[c>>2]=i}h=(h&15)<<2;j=v[h+i>>2];if(!j){j=ay(p);v[h+v[c>>2]>>2]=j;j=v[h+v[c>>2]>>2]}i=((k+m|0)+(q&1)|0)+(r>>>3&1)|0;h=0;while(1){m=e+h|0;q=w[m|0];l:{if(!(q&8)){break l}k=((w[n+376|0]<<2&8|((i|0)<7?i:7))+a|0)+392|0;r=w[k|0];c=v[((r<<2)+b|0)+44>>2]+v[b+20>>2]|0;m:{if((r&1)!=(q>>>2&1)){Pg(b,k,c);break m}if(c>>>0>=32768){Qg(b,k,c);break m}v[b+20>>2]=c}c=w[m|0];if(c&4){c=(B(v[b+20>>2],3)>>>3|0)+32768|0;k=h<<1;n:{if(u[k+g>>1]<=-1){nu(b,c);break n}of(b,c)}l=s?l:v[((h<<2)+a|0)+56>>2];u[j+k>>1]=l+(l>>>1|0);c=w[m|0]}if(c&4){i=0;break l}i=i-((i|0)>0)|0}h=h+1|0;if((h|0)!=16){continue}break}}e=e+16|0;f=f+1|0;if((o|0)!=(f|0)){continue}break}}if(!(!(d&2)|(o|0)<1)){f=a+504|0;p=a+508|0;l=a+120|0;e=v[((s<<2)+a|0)+16>>2];d=0;while(1){if(w[(a+d|0)+376|0]&2){g=d+I|0;c=g>>4<<2;j=v[c+z>>2];if(j){j=v[j+((g&15)<<2)>>2]}else{j=0}c=c+y|0;i=v[c>>2];if(!i){i=$x(p);v[c>>2]=i}g=(g&15)<<2;m=v[g+i>>2];if(!m){h=ay(p);v[g+v[c>>2]>>2]=h;m=v[g+v[c>>2]>>2]}h=0;while(1){if(w[h+l|0]&2){c=h<<1;i=u[c+j>>1];g=i>>31;k=c+m|0;c=u[k>>1];i=(g^g+i)&65535;g=v[b+20>>2];e=s?e:v[((h<<2)+a|0)+56>>2];o:{if((c|0)<=(B(e,3)|0)){n=w[f|0];g=g+v[((n<<2)+b|0)+44>>2]|0;if(!(!(n&1)^(c|0)<=(i|0))){Pg(b,f,g);break o}if(g>>>0>=32768){Qg(b,f,g);break o}v[b+20>>2]=g;break o}g=(B(g,3)>>>3|0)+32768|0;if((c|0)<=(i|0)){nu(b,g);break o}of(b,g)}u[k>>1]=c-((c|0)<=(i|0)?0:e)+(e>>>1)}h=h+1|0;if((h|0)!=16){continue}break}}l=l+16|0;d=d+1|0;if((o|0)!=(d|0)){continue}break}}J=J+1|0;d=v[a+4>>2];if((J|0)>2]){continue}break}}a=wQ(a)}else{a=0}return a|0}function $F(a){var 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,u=0,x=0,y=0,z=0,A=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;h=Ma-320|0;Ma=h;f=v[a+188>>2];a:{if((f|0)>0){d=v[a+720>>2];j=v[a+3464>>2];c=v[a+3460>>2];while(1){g=(b<<2)+a|0;if(!((c|0)>v[g+140>>2]&(j|0)>v[g+156>>2])){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,221079,0);d=0;break a}if((d|0)>2]){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,221039,0);d=0;break a}b=b+1|0;if((f|0)!=(b|0)){continue}break}}g=v[a+16>>2];if((g|0)>=1){d=v[a+3508>>2];p=a+40|0;while(1){if(!(d|v[a+204>>2]<1)){while(1){d=v[a+4>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;if((d|0)!=255&(d|0)!=-1){continue}while(1){d=v[a+4>>2];j=Qa[v[v[d>>2]+28>>2]](d)|0;if((j|0)==255){continue}break}if(!j){continue}break}if((j|0)!=v[a+3512>>2]){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,239532,0);d=0;break a}v[a+3524>>2]=0;d=v[a+204>>2];v[a+3508>>2]=d;j=j+1|0;v[a+3512>>2]=(j|0)==216?208:j;f=v[a+188>>2];b:{if((f|0)<1){break b}g=f&7;b=0;if(f-1>>>0>=7){c=f&-8;while(1){v[(B(b,20)+p|0)+16>>2]=0;v[(B(b|1,20)+p|0)+16>>2]=0;v[(B(b|2,20)+p|0)+16>>2]=0;v[(B(b|3,20)+p|0)+16>>2]=0;v[(B(b|4,20)+p|0)+16>>2]=0;v[(B(b|5,20)+p|0)+16>>2]=0;v[(B(b|6,20)+p|0)+16>>2]=0;v[(B(b|7,20)+p|0)+16>>2]=0;b=b+8|0;c=c-8|0;if(c){continue}break}}if(!g){break b}while(1){v[(B(b,20)+a|0)+56>>2]=0;b=b+1|0;g=g-1|0;if(g){continue}break}}v[a+3516>>2]=0}g=v[a+24>>2];j=a;if((f|0)>=1){c=v[a+28>>2];q=0;while(1){y=B(q,20)+a|0;z=(c|0)/v[y+48>>2]|0;o=(z|0)/8|0;A=(g|0)/v[y+44>>2]|0;l=(A|0)/8|0;if(!((c|0)<1|(g|0)<1)){d=A&-8;b=z&-8;D=(d|0)==16&(b|0)==16;E=(d|0)==8&(b|0)==8;F=y+56|0;C=(q<<2)+a|0;G=C;H=(z|0)<8|(A|0)<8;I=B(l,7);J=B(l,6);K=B(l,5);L=l<<2;M=B(l,3);N=l<<1;r=0;while(1){s=0;if((g|0)>=1){while(1){d=0;if(!pU(a,(B(v[C+140>>2],342)+a|0)+724|0,(B(v[G+156>>2],342)+a|0)+2092|0,F,h- -64|0)){break a}oU(((v[y+52>>2]<<7)+a|0)+208|0,h- -64|0,h);c:{d:{if(E){f=0;d=0;c=v[a+16>>2];g=s+u|0;if((c|0)<(g+8|0)){break d}while(1){b=v[a+3468>>2]+(B(v[a+188>>2],B(d+r|0,c)+g|0)+q|0)|0;t[b|0]=w[f+h|0];t[b+v[a+188>>2]|0]=w[(f|1)+h|0];t[b+(v[a+188>>2]<<1)|0]=w[(f|2)+h|0];t[b+B(v[a+188>>2],3)|0]=w[(f|3)+h|0];t[b+(v[a+188>>2]<<2)|0]=w[(f|4)+h|0];t[b+B(v[a+188>>2],5)|0]=w[(f|5)+h|0];t[b+B(v[a+188>>2],6)|0]=w[(f|6)+h|0];t[b+B(v[a+188>>2],7)|0]=w[(f|7)+h|0];d=d+1|0;if((d|0)==8){break c}f=f+8|0;c=v[a+16>>2];continue}}if(!D){g=s+u|0;c=v[a+16>>2];break d}d=0;f=0;c=v[a+16>>2];g=s+u|0;if((c|0)<(g+16|0)){break d}while(1){e=v[a+188>>2];b=v[a+3468>>2]+(B(e,B(f+r|0,c)+g|0)+q|0)|0;c=b+B(c,e)|0;x=c+e|0;e=w[d+h|0];t[x|0]=e;t[c|0]=e;t[b+v[a+188>>2]|0]=e;t[b|0]=e;e=w[(d|1)+h|0];t[c+B(v[a+188>>2],3)|0]=e;t[c+(v[a+188>>2]<<1)|0]=e;t[b+B(v[a+188>>2],3)|0]=e;t[b+(v[a+188>>2]<<1)|0]=e;e=w[(d|2)+h|0];t[c+B(v[a+188>>2],5)|0]=e;t[c+(v[a+188>>2]<<2)|0]=e;t[b+B(v[a+188>>2],5)|0]=e;t[b+(v[a+188>>2]<<2)|0]=e;e=w[(d|3)+h|0];t[c+B(v[a+188>>2],7)|0]=e;t[c+B(v[a+188>>2],6)|0]=e;t[b+B(v[a+188>>2],7)|0]=e;t[b+B(v[a+188>>2],6)|0]=e;e=w[(d|4)+h|0];t[c+B(v[a+188>>2],9)|0]=e;t[c+(v[a+188>>2]<<3)|0]=e;t[b+B(v[a+188>>2],9)|0]=e;t[b+(v[a+188>>2]<<3)|0]=e;e=w[(d|5)+h|0];t[c+B(v[a+188>>2],11)|0]=e;t[c+B(v[a+188>>2],10)|0]=e;t[b+B(v[a+188>>2],11)|0]=e;t[b+B(v[a+188>>2],10)|0]=e;e=w[(d|6)+h|0];t[c+B(v[a+188>>2],13)|0]=e;t[c+B(v[a+188>>2],12)|0]=e;t[b+B(v[a+188>>2],13)|0]=e;t[b+B(v[a+188>>2],12)|0]=e;e=w[(d|7)+h|0];t[c+B(v[a+188>>2],15)|0]=e;t[c+B(v[a+188>>2],14)|0]=e;t[b+B(v[a+188>>2],15)|0]=e;t[b+B(v[a+188>>2],14)|0]=e;if(f>>>0>13){break c}f=f+2|0;d=d+8|0;c=v[a+16>>2];continue}}if(H){break c}e=v[a+3468>>2]+(B(v[a+188>>2],B(c,r)+g|0)+q|0)|0;f=0;d=0;x=0;while(1){m=f+h|0;b=0;while(1){n=b+d|0;c=0;while(1){i=v[a+16>>2];if((i|0)>(c+g|0)){t[e+B(v[a+188>>2],B(n,i)+c|0)|0]=w[m|0];c=c+1|0;if((l|0)!=(c|0)){continue}}break}b=b+1|0;if((o|0)!=(b|0)){continue}break}m=(f|1)+h|0;b=0;while(1){n=b+d|0;c=0;while(1){k=v[a+16>>2];i=c+l|0;if((k|0)>(i+g|0)){t[e+B(v[a+188>>2],i+B(n,k)|0)|0]=w[m|0];c=c+1|0;if((l|0)!=(c|0)){continue}}break}b=b+1|0;if((o|0)!=(b|0)){continue}break}m=(f|2)+h|0;b=0;while(1){n=b+d|0;c=0;while(1){k=v[a+16>>2];i=c+N|0;if((k|0)>(i+g|0)){t[e+B(v[a+188>>2],i+B(n,k)|0)|0]=w[m|0];c=c+1|0;if((l|0)!=(c|0)){continue}}break}b=b+1|0;if((o|0)!=(b|0)){continue}break}m=(f|3)+h|0;b=0;while(1){n=b+d|0;c=0;while(1){k=v[a+16>>2];i=c+M|0;if((k|0)>(i+g|0)){t[e+B(v[a+188>>2],i+B(n,k)|0)|0]=w[m|0];c=c+1|0;if((l|0)!=(c|0)){continue}}break}b=b+1|0;if((o|0)!=(b|0)){continue}break}m=(f|4)+h|0;b=0;while(1){n=b+d|0;c=0;while(1){k=v[a+16>>2];i=c+L|0;if((k|0)>(i+g|0)){t[e+B(v[a+188>>2],i+B(n,k)|0)|0]=w[m|0];c=c+1|0;if((l|0)!=(c|0)){continue}}break}b=b+1|0;if((o|0)!=(b|0)){continue}break}m=(f|5)+h|0;b=0;while(1){n=b+d|0;c=0;while(1){k=v[a+16>>2];i=c+K|0;if((k|0)>(i+g|0)){t[e+B(v[a+188>>2],i+B(n,k)|0)|0]=w[m|0];c=c+1|0;if((l|0)!=(c|0)){continue}}break}b=b+1|0;if((o|0)!=(b|0)){continue}break}m=(f|6)+h|0;b=0;while(1){n=b+d|0;c=0;while(1){k=v[a+16>>2];i=c+J|0;if((k|0)>(i+g|0)){t[e+B(v[a+188>>2],i+B(n,k)|0)|0]=w[m|0];c=c+1|0;if((l|0)!=(c|0)){continue}}break}b=b+1|0;if((o|0)!=(b|0)){continue}break}m=(f|7)+h|0;b=0;while(1){n=b+d|0;c=0;while(1){k=v[a+16>>2];i=c+I|0;if((k|0)>(i+g|0)){t[e+B(v[a+188>>2],i+B(n,k)|0)|0]=w[m|0];c=c+1|0;if((l|0)!=(c|0)){continue}}break}b=b+1|0;if((o|0)!=(b|0)){continue}break}d=d+o|0;f=f+8|0;x=x+1|0;if((x|0)!=8){continue}break}}g=v[a+24>>2];s=s+A|0;if((g|0)>(s|0)){continue}break}c=v[a+28>>2]}r=r+z|0;if((r|0)<(c|0)){continue}break}f=v[a+188>>2]}q=q+1|0;if((q|0)<(f|0)){continue}break}d=v[a+3508>>2]}d=d-1|0;v[j+3508>>2]=d;u=g+u|0;g=v[a+16>>2];if((u|0)<(g|0)){continue}break}}e:{if(!v[a+192>>2]){break e}f:{switch(f-3|0){case 0:if((B(v[a+28>>2],g)|0)<1){break e}b=v[a+3468>>2];f=0;while(1){d=w[b|0]<<16|32768;j=w[b+2|0]-128|0;t[b|0]=w[(d+B(j,91881)>>16)+1164928|0];c=w[b+1|0]-128|0;t[b+1|0]=w[((d+B(c,-22553)|0)+B(j,-46802)>>16)+1164928|0];t[b+2|0]=w[(d+B(c,116130)>>16)+1164928|0];b=b+3|0;f=f+1|0;g=v[a+16>>2];if((f|0)<(B(g,v[a+28>>2])|0)){continue}break};break e;case 1:break f;default:break e}}if((B(v[a+28>>2],g)|0)<1){break e}b=v[a+3468>>2];f=0;while(1){d=w[b|0]<<16|32768;j=w[b+2|0]-128|0;t[b|0]=w[(d+B(j,91881)>>16)+1164928|0]^-1;c=w[b+1|0]-128|0;t[b+1|0]=w[((d+B(c,-22553)|0)+B(j,-46802)>>16)+1164928|0]^-1;t[b+2|0]=w[(d+B(c,116130)>>16)+1164928|0]^-1;b=b+4|0;f=f+1|0;g=v[a+16>>2];if((f|0)<(B(g,v[a+28>>2])|0)){continue}break}}d=v[a+3468>>2];v[a+3472>>2]=d;j=v[a+188>>2];f=v[a+20>>2];b=v[a+28>>2];c=v[a+3504>>2];g:{if((f|0)>=(b+c|0)){v[a+3476>>2]=d+B(B(b,j),g);break g}v[a+3476>>2]=d+B(B(j,f-c|0),g)}d=1}Ma=h+320|0;return d}function z1(a,b,c,d,e){var f=0,g=0,h=C(0),i=0,j=0,k=C(0),l=0,m=C(0),n=0,o=C(0),p=0,q=0,r=0,s=0,u=C(0),x=0,y=C(0),A=C(0),E=C(0),F=C(0),G=0;p=Ma-16|0;Ma=p;if(e){y=C(d|0);d=0;while(1){a:{b:{c:{switch(v[a+88>>2]){case 0:j=v[a+140>>2];h=C(z[j+20>>2]+y);m=C(C(C(z[j+16>>2]+C(c|0))*z[j>>2])+C(h*z[j+8>>2]));o=z[a+112>>2];i=v[a+96>>2];f=i-1|0;k=C(f|0);o=C(C(C(m-o)*k)/C(z[a+116>>2]-o));d:{if(C(D(o))>2];r=n;q=f;u=C(C(z[j+4>>2]*m)+C(h*z[j+12>>2]));h=z[a+120>>2];h=C(C(C(u-h)*k)/C(z[a+124>>2]-h));e:{if(C(D(h))>>0>(v[a+104>>2]-n|0)/12>>>0?0:(j|0)<0?0:f>>>0>>0?q:j,12)>>2]+(((g|0)<0?0:f>>>0>>0?f:g)<<2)|0;f=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);g=b;if(!w[a+2913|0]){f=f<<16&16711680|(f&-16711936|f>>>16&255)}t[g|0]=f;t[g+1|0]=f>>>8;t[g+2|0]=f>>>16;t[g+3|0]=f>>>24;break b;case 2:f=v[a+172>>2];h=z[f+20>>2];m=z[f+16>>2];o=C(C(c|0)-m);k=C(z[f+12>>2]-h);A=C(z[f>>2]-m);E=C(m-z[f+8>>2]);F=z[f+4>>2];m=C(C(k*A)+C(E*C(F-h)));f:{g:{u=C(y-h);k=C(C(C(k*o)+C(u*E))/m);h:{if(k>2];j=w[g+4|0]|w[g+5|0]<<8|(w[g+6|0]<<16|w[g+7|0]<<24);o=C(h*C((j&255)>>>0));i:{if(C(D(o))0?f:0;q=p;m=C(D(m));l=w[g+8|0]|w[g+9|0]<<8|(w[g+10|0]<<16|w[g+11|0]<<24);o=C(m*C((l&255)>>>0));j:{if(C(D(o))0?i:0)+n|0;i=i>>>0<255?i:255;r=(i|0)>0?i:0;o=C(D(k));g=w[g|0]|w[g+1|0]<<8|(w[g+2|0]<<16|w[g+3|0]<<24);k=C(o*C((g&255)>>>0));k:{if(C(D(k))0?f:0)|0;f=f>>>0<255?f:255;t[q+12|0]=(f|0)>0?f:0;k=C(h*C((j>>>16&255)>>>0));l:{if(C(D(k))0?f:0;q=p;k=C(m*C((l>>>16&255)>>>0));m:{if(C(D(k))0?i:0)+n|0;i=i>>>0<255?i:255;r=(i|0)>0?i:0;k=C(o*C((g>>>16&255)>>>0));n:{if(C(D(k))0?f:0)|0;f=f>>>0<255?f:255;t[q+14|0]=(f|0)>0?f:0;k=C(h*C((j>>>8&255)>>>0));o:{if(C(D(k))0?f:0;q=p;k=C(m*C((l>>>8&255)>>>0));p:{if(C(D(k))0?i:0)+n|0;i=i>>>0<255?i:255;r=(i|0)>0?i:0;k=C(o*C((g>>>8&255)>>>0));q:{if(C(D(k))0?f:0)|0;f=f>>>0<255?f:255;t[q+13|0]=(f|0)>0?f:0;h=C(h*C(j>>>24>>>0));r:{if(C(D(h))0?f:0;q=p;h=C(m*C(l>>>24>>>0));s:{if(C(D(h))0?j:0)+i|0;j=j>>>0<255?j:255;i=(j|0)>0?j:0;h=C(o*C(g>>>24>>>0));t:{if(C(D(h))0?f:0)|0;f=f>>>0<255?f:255;t[q+15|0]=(f|0)>0?f:0}if(w[a+2913|0]){f=v[p+12>>2];t[b|0]=f;t[b+1|0]=f>>>8;t[b+2|0]=f>>>16;t[b+3|0]=f>>>24;break b}f=w[p+14|0]|w[p+13|0]<<8|w[p+12|0]<<16|w[p+15|0]<<24;t[b|0]=f;t[b+1|0]=f>>>8;t[b+2|0]=f>>>16;t[b+3|0]=f>>>24;break b;case 3:h=z[a+2932>>2];s=v[a+2948>>2]-1|0;m=C(s>>>0);h=C(C(C(C(c|0)-h)*m)/C(z[a+2936>>2]-h));u:{if(h=C(0)){f=~~h>>>0;break u}f=0}j=f;i=f>>>0>s>>>0;h=z[a+2940>>2];h=C(C(C(y-h)*m)/C(z[a+2944>>2]-h));v:{if(h=C(0)){g=~~h>>>0;break v}g=0}l=0;w:{if(i){n=0;i=0;f=0;break w}n=0;i=0;f=0;if(g>>>0>s>>>0){break w}f=v[v[a+2916>>2]+B(j,12)>>2]+(g<<2)|0;l=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);i=l&-16777216;n=l>>>8|0;f=l>>>16|0}if(w[a+2913|0]){f=l&255|((f&255)<<16|i|(n&255)<<8);t[b|0]=f;t[b+1|0]=f>>>8;t[b+2|0]=f>>>16;t[b+3|0]=f>>>24;break b}f=f&255|(n&255)<<8|(l&255)<<16|i;t[b|0]=f;t[b+1|0]=f>>>8;t[b+2|0]=f>>>16;t[b+3|0]=f>>>24;break b;case 4:h=z[a+2932>>2];s=v[a+2948>>2]-1|0;m=C(s>>>0);h=C(C(C(C(c|0)-h)*m)/C(z[a+2936>>2]-h));x:{if(h=C(0)){f=~~h>>>0;break x}f=0}j=f;l=f>>>0>s>>>0;h=z[a+2940>>2];h=C(C(C(y-h)*m)/C(z[a+2944>>2]-h));y:{if(h=C(0)){g=~~h>>>0;break y}g=0}n=0;z:{if(l){l=0;i=0;f=0;break z}l=0;i=0;f=0;if(g>>>0>s>>>0){break z}f=v[v[a+2916>>2]+B(j,12)>>2]+(g<<2)|0;l=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);i=l&-16777216;n=l>>>8|0;f=l>>>16|0}if(w[a+2913|0]){f=l&255|((f&255)<<16|i|(n&255)<<8);t[b|0]=f;t[b+1|0]=f>>>8;t[b+2|0]=f>>>16;t[b+3|0]=f>>>24;break b}f=f&255|(n&255)<<8|(l&255)<<16|i;t[b|0]=f;t[b+1|0]=f>>>8;t[b+2|0]=f>>>16;t[b+3|0]=f>>>24;break b;case 1:break c;default:break a}}f=v[a+268>>2];h=C(Qa[v[v[f>>2]>>2]](f,C(c|0),y));if(!(!(h!=h|z[a+80>>2]==C(0)&h>2])&(!(h>z[a+116>>2])|z[a+84>>2]!=C(0)))){t[b|0]=0;t[b+1|0]=0;t[b+2|0]=0;t[b+3|0]=0;break b}A:{switch(v[a+92>>2]){case 1:u=h;h=z[a+112>>2];g=v[a+96>>2]-1|0;h=C(C(C(u-h)*C(g|0))/C(z[a+116>>2]-h));B:{if(C(D(h))>2]>>2]+(((f|0)<0?0:f>>>0>g>>>0?g:f)<<2)|0;f=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);g=b;if(!w[a+2913|0]){f=f<<16&16711680|(f&-16711936|f>>>16&255)}t[g|0]=f;t[g+1|0]=f>>>8;t[g+2|0]=f>>>16;t[g+3|0]=f>>>24;break b;case 0:break A;default:break a}}x=+C(h*C(512))+.5;C:{if(D(x)<2147483648){f=~~x;break C}f=-2147483648}if(!w[(f+a|0)+2400|0]){l=v[a+328>>2];D:{if((l|0)>=2){h=C(+(f|0)*.001953125);j=v[a+324>>2];g=1;while(1){if(!(!(h>2])|(g|0)!=1)){g=v[a+320>>2];v[((f<<2)+a|0)+348>>2]=w[g|0]|w[g+1|0]<<8|(w[g+2|0]<<16|w[g+3|0]<<24);break D}m=z[(g<<2)+j>>2];if(m>h){i=v[a+320>>2];g=g<<2;l=i+g|0;g=g-4|0;i=g+i|0;n=w[i+3|0];s=w[l+3|0]-n|0;G=(f<<2)+a|0;r=w[i|0];q=r;u=h;h=z[g+j>>2];x=+C(C(u-h)/C(m-h))*256+.5;E:{if(x<4294967296&x>=0){g=~~x>>>0;break E}g=0}j=w[i+2|0];n=n+(B(g,s)>>>8|0)<<24|((B(g,w[l+2|0]-j|0)>>>8|0)+j&255)<<16;j=w[i+1|0];v[G+348>>2]=q+(B(g,w[l|0]-r|0)>>>8|0)&255|(n|((B(g,w[l+1|0]-j|0)>>>8|0)+j&255)<<8);break D}g=g+1|0;if((l|0)!=(g|0)){continue}break}}g=(v[a+320>>2]+(l<<2)|0)-4|0;v[((f<<2)+a|0)+348>>2]=w[g|0]|w[g+1|0]<<8|(w[g+2|0]<<16|w[g+3|0]<<24)}t[(a+f|0)+2400|0]=1}g=(f<<2)+a|0;j=g;f=b;i=f;if(w[a+2913|0]){g=v[j+348>>2]}else{g=w[g+350|0]|w[g+349|0]<<8|w[j+348|0]<<16|w[g+351|0]<<24}t[i|0]=g;t[f+1|0]=g>>>8;t[f+2|0]=g>>>16;t[f+3|0]=g>>>24}b=b+4|0}c=c+1|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}}Ma=p+16|0}function aW(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;i=Ma-144|0;Ma=i;v[i+128>>2]=13;v[i+112>>2]=13;v[i+96>>2]=13;v[i+80>>2]=13;v[i+64>>2]=13;v[i+48>>2]=13;a:{b:{if(v[d+8>>2]<=(c|0)){fb(1,-1,283300,0);break b}k=v[d+16>>2];if(!k){e=v[d>>2];k=v[d+12>>2];if(k){while(1){if(!((e|0)!=v[k>>2]|v[d+4>>2]!=v[k+4>>2])){fb(1,-1,283203,0);break b}k=v[k+12>>2];if(k){continue}break}}v[i+140>>2]=v[d+4>>2];v[i+136>>2]=e;v[i+128>>2]=9;if(v[ue(i+128|0,v[a+4>>2],i+112|0,0)>>2]!=7){c=i+112|0;v[i+32>>2]=v[(v[c>>2]<<2)+1109024>>2];fb(1,-1,326769,i+32|0);bb(c);bb(i+128|0);break b}e=ab(296);g=v[d+12>>2];if(g){f=v[g+20>>2]}k=0;p=v[i+120>>2];l=Ma-16|0;Ma=l;v[e>>2]=0;v[e+4>>2]=0;v[e+56>>2]=0;v[e+60>>2]=0;v[e+48>>2]=0;v[e+52>>2]=0;v[e+40>>2]=0;v[e+44>>2]=0;g=e+32|0;v[g>>2]=0;v[g+4>>2]=0;v[e+24>>2]=0;v[e+28>>2]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;j=eb(e+72|0,0,96);v[e+280>>2]=13;v[e+256>>2]=13;v[e+240>>2]=13;v[e+224>>2]=13;v[e+208>>2]=13;v[e+192>>2]=13;v[e+176>>2]=13;v[l>>2]=13;s=e+280|0;c:{if(f){n=v[f+4>>2];v[e>>2]=v[f>>2];v[e+4>>2]=n;n=v[f+28>>2];v[e+24>>2]=v[f+24>>2];v[e+28>>2]=n;n=v[f+20>>2];v[e+16>>2]=v[f+16>>2];v[e+20>>2]=n;n=v[f+12>>2];v[e+8>>2]=v[f+8>>2];v[e+12>>2]=n;n=v[f+60>>2];v[g+24>>2]=v[f+56>>2];v[g+28>>2]=n;n=v[f+52>>2];v[g+16>>2]=v[f+48>>2];v[g+20>>2]=n;n=v[f+44>>2];v[g+8>>2]=v[f+40>>2];v[g+12>>2]=n;n=v[f+36>>2];v[g>>2]=v[f+32>>2];v[g+4>>2]=n;v[e+64>>2]=v[f+64>>2];v[e+168>>2]=v[f+168>>2];ee(f+280|0,s);break c}v[e+168>>2]=0;v[e+24>>2]=0;v[e+28>>2]=1082703872;v[e+16>>2]=0;v[e+20>>2]=1082335232;v[e>>2]=0;v[e+4>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;v[g+8>>2]=0;v[g+12>>2]=0;v[g+16>>2]=0;v[g+20>>2]=0;v[g+24>>2]=0;v[g+28>>2]=0;v[g+32>>2]=0;v[g>>2]=0;v[g+4>>2]=0;v[e+280>>2]=5}f=e+136|0;n=e+104|0;ev(p,220482,e);d:{if(ev(p,220457,g)){v[e+64>>2]=1;break d}if(v[e+64>>2]){break d}q=v[e+4>>2];v[g>>2]=v[e>>2];v[g+4>>2]=q;q=v[e+28>>2];v[g+24>>2]=v[e+24>>2];v[g+28>>2]=q;q=v[e+20>>2];v[g+16>>2]=v[e+16>>2];v[g+20>>2]=q;q=v[e+12>>2];v[g+8>>2]=v[e+8>>2];v[g+12>>2]=q}q=v[g+4>>2];v[j>>2]=v[g>>2];v[j+4>>2]=q;q=v[g+28>>2];v[j+24>>2]=v[g+24>>2];v[j+28>>2]=q;q=v[g+20>>2];v[j+16>>2]=v[g+16>>2];v[j+20>>2]=q;q=v[g+12>>2];v[j+8>>2]=v[g+8>>2];v[j+12>>2]=q;ev(p,220473,j);j=v[g+28>>2];v[n+24>>2]=v[g+24>>2];v[n+28>>2]=j;j=v[g+20>>2];v[n+16>>2]=v[g+16>>2];v[n+20>>2]=j;j=v[g+12>>2];v[n+8>>2]=v[g+8>>2];v[n+12>>2]=j;j=v[g+4>>2];v[n>>2]=v[g>>2];v[n+4>>2]=j;ev(p,220465,n);j=v[g+28>>2];v[f+24>>2]=v[g+24>>2];v[f+28>>2]=j;j=v[g+20>>2];v[f+16>>2]=v[g+16>>2];v[f+20>>2]=j;j=v[g+12>>2];v[f+8>>2]=v[g+8>>2];v[f+12>>2]=j;j=v[g+4>>2];v[f>>2]=v[g>>2];v[f+4>>2]=j;ev(p,220450,f);ib(p,276465,l,0);if(v[l>>2]==1){v[e+168>>2]=v[l+8>>2]}bb(l);f=v[e+168>>2];if((f|0)<=-1){j=((f|0)>-360?f:-360)-f|0;g=(j|0)!=0;f=(B(g+((j-g>>>0)/360|0)|0,360)+f|0)+360|0;v[e+168>>2]=f}if((f|0)>=360){j=f;f=(f-((f|0)<719?f:719)|0)+359|0;v[e+168>>2]=(j+(((f>>>0)%360|0)-f|0)|0)-360}ib(p,291290,e+176|0,0);ib(p,244258,e+192|0,0);ib(p,240508,e+208|0,0);ib(p,303511,e+224|0,0);ib(p,244300,e+240|0,0);ib(p,244271,e+256|0,0);e:{f:{if(v[ib(p,231617,l,0)>>2]-1>>>0<=1){h=v[l>>2]==1?+v[l+8>>2]:A[l+8>>3];A[e+272>>3]=h;if(!(h<1)){break e}f=e+272|0;break f}f=e+272|0}v[f>>2]=0;v[f+4>>2]=1072693248}bb(l);ib(p,236775,l,0);if(v[l>>2]==7){bb(s);ee(l,s)}bb(l);Ma=l+16|0;g:{if(v[ib(v[i+120>>2],236871,i+96|0,0)>>2]==6){v[d+20>>2]=e;f=ab(16);hc(f);v[d+16>>2]=f;f=v[i+104>>2];if(v[f+12>>2]<1){break g}while(1){h:{if(v[Nf(f,k,i+80|0)>>2]==9){i:{if(v[ue(i+80|0,v[a+4>>2],i- -64|0,0)>>2]==7){f=i+48|0;e=v[ib(v[i+72>>2],227781,f,0)>>2];g=v[i+56>>2];bb(f);l=v[d+16>>2];f=ab(24);p=v[i+88>>2];j=v[i+92>>2];v[f+16>>2]=0;v[f+20>>2]=0;v[f+12>>2]=d;v[f+8>>2]=(e|0)==1?g:1;v[f>>2]=p;v[f+4>>2]=j;Ib(l,f);break i}v[i>>2]=v[(v[i- -64>>2]<<2)+1109024>>2];fb(1,-1,326769,i)}bb(i- -64|0);break h}v[i+16>>2]=v[(v[i+80>>2]<<2)+1109024>>2];fb(1,-1,326856,i+16|0)}bb(i+80|0);k=k+1|0;f=v[i+104>>2];if((k|0)>2]){continue}break}break g}g=v[d+4>>2];p=b-1|0;f=v[a+16>>2]+(p<<3)|0;v[f>>2]=v[d>>2];v[f+4>>2]=g;j=ab(72);f=j;l=v[a>>2];k=v[i+120>>2];g=Ma-32|0;Ma=g;v[f+64>>2]=1;v[f+48>>2]=13;v[f+32>>2]=13;v[f+16>>2]=13;v[f>>2]=l;l=v[l+24>>2];v[f+12>>2]=e;v[f+8>>2]=b;v[f+4>>2]=l;r=A[e>>3];o=r;h=A[e+32>>3];j:{if(!(o>h)){o=A[e+16>>3];if(!(h>o)){break j}}A[e+32>>3]=o}o=r;h=A[e+48>>3];k:{if(!(o>h)){o=A[e+16>>3];if(!(h>o)){break k}}A[e+48>>3]=o}o=A[e+8>>3];h=o;m=A[e+40>>3];l:{if(!(h>m)){h=A[e+24>>3];if(!(m>h)){break l}}A[e+40>>3]=h}h=o;m=A[e+56>>3];m:{if(!(h>m)){h=A[e+24>>3];if(!(m>h)){break m}}A[e+56>>3]=h}h=r;m=A[e+72>>3];n:{if(!(h>m)){h=A[e+16>>3];if(!(m>h)){break n}}A[e+72>>3]=h}h=r;m=A[e+88>>3];o:{if(!(h>m)){h=A[e+16>>3];if(!(m>h)){break o}}A[e+88>>3]=h}h=o;m=A[e+80>>3];p:{if(!(h>m)){h=A[e+24>>3];if(!(m>h)){break p}}A[e+80>>3]=h}h=o;m=A[e+96>>3];q:{if(!(h>m)){h=A[e+24>>3];if(!(m>h)){break q}}A[e+96>>3]=h}h=r;m=A[e+104>>3];r:{if(!(h>m)){h=A[e+16>>3];if(!(m>h)){break r}}A[e+104>>3]=h}h=r;m=A[e+120>>3];s:{if(!(h>m)){h=A[e+16>>3];if(!(m>h)){break s}}A[e+120>>3]=h}h=o;m=A[e+112>>3];t:{if(!(h>m)){h=A[e+24>>3];if(!(m>h)){break t}}A[e+112>>3]=h}h=o;m=A[e+128>>3];u:{if(!(h>m)){h=A[e+24>>3];if(!(m>h)){break u}}A[e+128>>3]=h}h=r;m=A[e+136>>3];v:{if(!(h>m)){h=A[e+16>>3];if(!(m>h)){break v}}A[e+136>>3]=h}h=A[e+152>>3];w:{if(!(h>3];if(!(h>r)){break w}}A[e+152>>3]=r}r=o;h=A[e+144>>3];x:{if(!(h>3];if(!(h>r)){break x}}A[e+144>>3]=r}h=A[e+160>>3];y:{if(!(h>3];if(!(h>o)){break y}}A[e+160>>3]=o}e=f+16|0;Yd(k,234391,e);z:{A:{l=v[f+16>>2];B:{if(!(1<>>0<=9:0)){k=v[f+8>>2];v[g+4>>2]=v[(v[e>>2]<<2)+1109024>>2];v[g>>2]=k;fb(1,-1,326571,g);bb(e);v[f+16>>2]=5;break B}e=f+32|0;Yd(k,234430,e);l=v[e>>2];if(1<>>0<=9:0){break A}k=v[f+8>>2];v[g+20>>2]=v[(v[e>>2]<<2)+1109024>>2];v[g+16>>2]=k;fb(1,-1,326515,g+16|0);bb(e)}v[f+64>>2]=0;v[f+48>>2]=5;v[f+32>>2]=5;break z}f=f+48|0;Yd(k,301170,f);C:{switch(v[f>>2]-5|0){case 0:case 4:break z;default:break C}}bb(f);v[f>>2]=5}Ma=g+32|0;f=p<<2;v[f+v[a+12>>2]>>2]=j;e=v[f+v[a+12>>2]>>2];if(v[e+64>>2]){break g}$a(CU(e));e=ab(72);DU(e,v[a>>2],b);v[f+v[a+12>>2]>>2]=e}bb(i+96|0);bb(i+112|0);bb(i+128|0);k=v[d+16>>2];if(!k){break a}}D:{E:{f=v[k+8>>2];if((f|0)<1){k=0;break E}e=v[k>>2];k=0;while(1){g=v[e+(k<<2)>>2];l=v[g+8>>2];if((l|0)>(c|0)){aW(a,b,c,g);f=v[v[d+16>>2]+8>>2];break E}c=c-l|0;k=k+1|0;if((k|0)!=(f|0)){continue}break}break D}if((f|0)!=(k|0)){break a}}fb(1,-1,283268,0)}c=ab(72);DU(c,v[a>>2],b);v[(v[a+12>>2]+(b<<2)|0)-4>>2]=c}Ma=i+144|0}function Qwa(a,b){a=a|0;b=b|0;var 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,w=0,y=0,z=0,A=0;c=Ma-48|0;Ma=c;j=v[a+420>>2];d=v[a+24>>2];i=v[d>>2];v[c+8>>2]=i;f=v[d+4>>2];v[c+12>>2]=f;d=v[j+24>>2];v[c+24>>2]=v[j+20>>2];v[c+28>>2]=d;d=v[j+32>>2];v[c+32>>2]=v[j+28>>2];v[c+36>>2]=d;d=v[j+16>>2];v[c+16>>2]=v[j+12>>2];v[c+20>>2]=d;v[c+40>>2]=a;a:{b:{if(!v[a+236>>2]){e=a;break b}e=a;if(v[j+36>>2]){break b}e=v[j+40>>2];g=v[c+20>>2];if((g|0)>=1){d=g+7|0;f=v[c+16>>2]|127<<17-g;while(1){v[c+8>>2]=i+1;t[i|0]=f>>>16;g=v[c+12>>2]-1|0;v[c+12>>2]=g;if(!g){h=v[c+40>>2];g=v[h+24>>2];if(!(Qa[v[g+12>>2]](h)|0)){break a}v[c+8>>2]=v[g>>2];v[c+12>>2]=v[g+4>>2]}c:{if((f&16711680)!=16711680){break c}g=v[c+8>>2];v[c+8>>2]=g+1;t[g|0]=0;g=v[c+12>>2]-1|0;v[c+12>>2]=g;if(g){break c}h=v[c+40>>2];g=v[h+24>>2];if(!(Qa[v[g+12>>2]](h)|0)){break a}v[c+8>>2]=v[g>>2];v[c+12>>2]=v[g+4>>2]}if((d|0)>=16){f=f<<8;d=d-8|0;i=v[c+8>>2];continue}break}i=v[c+8>>2]}v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=i+1;t[i|0]=255;d=v[c+12>>2]-1|0;v[c+12>>2]=d;d:{if(d){f=v[c+8>>2];break d}g=v[c+40>>2];d=v[g+24>>2];if(!(Qa[v[d+12>>2]](g)|0)){break a}f=v[d>>2];v[c+12>>2]=v[d+4>>2]}v[c+8>>2]=f+1;t[f|0]=e-48;f=v[c+12>>2]-1|0;v[c+12>>2]=f;e=v[c+40>>2];if(!f){d=v[e+24>>2];if(!(Qa[v[d+12>>2]](e)|0)){break a}v[c+8>>2]=v[d>>2];f=v[d+4>>2];v[c+12>>2]=f}if(v[e+288>>2]<1){break b}i=0;while(1){v[((i<<2)+c|0)+24>>2]=0;i=i+1|0;if((i|0)>2]){continue}break}}m=1;e:{if(v[a+316>>2]<1){break e}while(1){d=r<<2;w=d+b|0;y=v[w>>2];g=v[(a+d|0)+320>>2]<<2;z=g+c|0;d=u[y>>1]-v[z+24>>2]|0;h=d>>31;k=d+h|0;g=v[(a+g|0)+292>>2];n=v[((v[g+24>>2]<<2)+j|0)+60>>2];l=v[((v[g+20>>2]<<2)+j|0)+44>>2];A=v[e+380>>2];s=v[e+384>>2];g=0;f:{if(!d){break f}i=h^k;while(1){d=g;g=d+1|0;h=i>>>0>1;i=i>>>1|0;if(h){continue}break}if(d>>>0<11){break f}d=v[e>>2];v[d+20>>2]=6;Qa[v[d>>2]](e)}h=v[l+(g<<2)>>2];i=v[c+20>>2];d=t[(g+l|0)+1024|0];if(!d){l=v[e>>2];v[l+20>>2]=41;Qa[v[l>>2]](e)}e=h&(-1<>2]|e<<24-d;if((d|0)>=8){while(1){e=v[c+8>>2];v[c+8>>2]=e+1;t[e|0]=i>>>16;f=v[c+12>>2]-1|0;v[c+12>>2]=f;if(!f){h=v[c+40>>2];e=v[h+24>>2];if(!(Qa[v[e+12>>2]](h)|0)){m=0;break a}v[c+8>>2]=v[e>>2];f=v[e+4>>2];v[c+12>>2]=f}e=d;g:{if((i&16711680)!=16711680){break g}d=v[c+8>>2];v[c+8>>2]=d+1;t[d|0]=0;f=v[c+12>>2]-1|0;v[c+12>>2]=f;if(f){break g}h=v[c+40>>2];d=v[h+24>>2];if(!(Qa[v[d+12>>2]](h)|0)){m=0;break a}v[c+8>>2]=v[d>>2];f=v[d+4>>2];v[c+12>>2]=f}d=e-8|0;i=i<<8;if((e|0)>15){continue}break}}v[c+20>>2]=d;v[c+16>>2]=i;if(g){d=d+g|0;i=(k&(-1<=8){while(1){g=v[c+8>>2];v[c+8>>2]=g+1;t[g|0]=i>>>16;f=v[c+12>>2]-1|0;v[c+12>>2]=f;if(!f){e=v[c+40>>2];g=v[e+24>>2];if(!(Qa[v[g+12>>2]](e)|0)){m=0;break a}v[c+8>>2]=v[g>>2];f=v[g+4>>2];v[c+12>>2]=f}g=d;h:{if((i&16711680)!=16711680){break h}d=v[c+8>>2];v[c+8>>2]=d+1;t[d|0]=0;f=v[c+12>>2]-1|0;v[c+12>>2]=f;if(f){break h}e=v[c+40>>2];d=v[e+24>>2];if(!(Qa[v[d+12>>2]](e)|0)){m=0;break a}v[c+8>>2]=v[d>>2];f=v[d+4>>2];v[c+12>>2]=f}d=g-8|0;i=i<<8;if((g|0)>15){continue}break}}v[c+20>>2]=d;v[c+16>>2]=i}h=1;i:{if((s|0)<1){break i}j:while(1){e=0;g=h;while(1){l=x[(v[(g<<2)+A>>2]<<1)+y>>1];if(l){if(e>>>0>=16){while(1){k=v[n+960>>2];h=t[n+1264|0];if(!h){o=v[c+40>>2];p=v[o>>2];v[p+20>>2]=41;Qa[v[p>>2]](o)}d=d+h|0;i=(k&(-1<=8){while(1){h=v[c+8>>2];v[c+8>>2]=h+1;t[h|0]=i>>>16;f=v[c+12>>2]-1|0;v[c+12>>2]=f;if(!f){k=v[c+40>>2];h=v[k+24>>2];if(!(Qa[v[h+12>>2]](k)|0)){m=0;break a}v[c+8>>2]=v[h>>2];f=v[h+4>>2];v[c+12>>2]=f}h=d;k:{if((i&16711680)!=16711680){break k}d=v[c+8>>2];v[c+8>>2]=d+1;t[d|0]=0;f=v[c+12>>2]-1|0;v[c+12>>2]=f;if(f){break k}k=v[c+40>>2];d=v[k+24>>2];if(!(Qa[v[d+12>>2]](k)|0)){m=0;break a}v[c+8>>2]=v[d>>2];f=v[d+4>>2];v[c+12>>2]=f}d=h-8|0;i=i<<8;if((h|0)>15){continue}break}}v[c+20>>2]=d;v[c+16>>2]=i;h=(e|0)>31;e=e-16|0;if(h){continue}break}}k=1;p=l<<16;o=p>>16;h=o>>31;h=h^h+o;l:{if(h>>>0<2){break l}while(1){l=k;k=k+1|0;q=h>>>0>3;h=h>>>1|0;if(q){continue}break}if(l>>>0<10){break l}h=v[c+40>>2];l=v[h>>2];v[l+20>>2]=6;Qa[v[l>>2]](h)}e=(e<<4)+k|0;h=v[(e<<2)+n>>2];e=t[(e+n|0)+1024|0];if(!e){l=v[c+40>>2];q=v[l>>2];v[q+20>>2]=41;Qa[v[q>>2]](l)}l=h&(-1<=8){while(1){d=v[c+8>>2];v[c+8>>2]=d+1;t[d|0]=i>>>16;f=v[c+12>>2]-1|0;v[c+12>>2]=f;if(!f){e=v[c+40>>2];d=v[e+24>>2];if(!(Qa[v[d+12>>2]](e)|0)){m=0;break a}v[c+8>>2]=v[d>>2];f=v[d+4>>2];v[c+12>>2]=f}d=h;m:{if((i&16711680)!=16711680){break m}e=v[c+8>>2];v[c+8>>2]=e+1;t[e|0]=0;f=v[c+12>>2]-1|0;v[c+12>>2]=f;if(f){break m}h=v[c+40>>2];e=v[h+24>>2];if(!(Qa[v[e+12>>2]](h)|0)){m=0;break a}v[c+8>>2]=v[e>>2];f=v[e+4>>2];v[c+12>>2]=f}h=d-8|0;i=i<<8;if((d|0)>15){continue}break}}d=h+k|0;i=(o+(p>>31)&(-1<=8){while(1){e=v[c+8>>2];v[c+8>>2]=e+1;t[e|0]=i>>>16;f=v[c+12>>2]-1|0;v[c+12>>2]=f;if(!f){h=v[c+40>>2];e=v[h+24>>2];if(!(Qa[v[e+12>>2]](h)|0)){m=0;break a}v[c+8>>2]=v[e>>2];f=v[e+4>>2];v[c+12>>2]=f}e=d;n:{if((i&16711680)!=16711680){break n}d=v[c+8>>2];v[c+8>>2]=d+1;t[d|0]=0;f=v[c+12>>2]-1|0;v[c+12>>2]=f;if(f){break n}h=v[c+40>>2];d=v[h+24>>2];if(!(Qa[v[d+12>>2]](h)|0)){m=0;break a}v[c+8>>2]=v[d>>2];f=v[d+4>>2];v[c+12>>2]=f}d=e-8|0;i=i<<8;if((e|0)>15){continue}break}}v[c+20>>2]=d;v[c+16>>2]=i;h=g+1|0;if((g|0)!=(s|0)){continue j}break i}e=e+1|0;h=(g|0)==(s|0);g=g+1|0;if(!h){continue}break}break}e=v[n>>2];g=t[n+1024|0];if(!g){h=v[c+40>>2];k=v[h>>2];v[k+20>>2]=41;Qa[v[k>>2]](h)}e=e&(-1<=8){while(1){d=v[c+8>>2];v[c+8>>2]=d+1;t[d|0]=i>>>16;f=v[c+12>>2]-1|0;v[c+12>>2]=f;if(!f){e=v[c+40>>2];d=v[e+24>>2];if(!(Qa[v[d+12>>2]](e)|0)){m=0;break a}v[c+8>>2]=v[d>>2];f=v[d+4>>2];v[c+12>>2]=f}d=g;o:{if((i&16711680)!=16711680){break o}g=v[c+8>>2];v[c+8>>2]=g+1;t[g|0]=0;f=v[c+12>>2]-1|0;v[c+12>>2]=f;if(f){break o}e=v[c+40>>2];g=v[e+24>>2];if(!(Qa[v[g+12>>2]](e)|0)){m=0;break a}v[c+8>>2]=v[g>>2];f=v[g+4>>2];v[c+12>>2]=f}g=d-8|0;i=i<<8;if((d|0)>15){continue}break}}v[c+20>>2]=g;v[c+16>>2]=i}v[z+24>>2]=u[v[w>>2]>>1];r=r+1|0;if((r|0)>=v[a+316>>2]){break e}e=v[c+40>>2];continue}}b=v[c+8>>2];d=v[a+24>>2];v[d+4>>2]=f;v[d>>2]=b;b=v[c+36>>2];v[j+28>>2]=v[c+32>>2];v[j+32>>2]=b;b=v[c+28>>2];v[j+20>>2]=v[c+24>>2];v[j+24>>2]=b;b=v[c+20>>2];v[j+12>>2]=v[c+16>>2];v[j+16>>2]=b;a=v[a+236>>2];if(!a){break a}b=j;d=v[j+36>>2];if(d){a=d}else{v[j+36>>2]=a;v[j+40>>2]=v[j+40>>2]+1&7}v[b+36>>2]=a-1}Ma=c+48|0;return m|0}function sya(a){a=a|0;var b=0,c=0,d=0;d=v[a+404>>2];b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=255;c=v[b+4>>2]-1|0;v[b+4>>2]=c;a:{if(c){break a}if(Qa[v[b+12>>2]](a)|0){break a}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=216;c=v[b+4>>2]-1|0;v[b+4>>2]=c;b:{if(c){break b}if(Qa[v[b+12>>2]](a)|0){break b}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}v[d+28>>2]=0;c:{if(!v[a+244>>2]){break c}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=255;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d:{if(c){break d}if(Qa[v[b+12>>2]](a)|0){break d}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=224;c=v[b+4>>2]-1|0;v[b+4>>2]=c;e:{if(c){break e}if(Qa[v[b+12>>2]](a)|0){break e}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;f:{if(c){break f}if(Qa[v[b+12>>2]](a)|0){break f}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=16;c=v[b+4>>2]-1|0;v[b+4>>2]=c;g:{if(c){break g}if(Qa[v[b+12>>2]](a)|0){break g}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=74;c=v[b+4>>2]-1|0;v[b+4>>2]=c;h:{if(c){break h}if(Qa[v[b+12>>2]](a)|0){break h}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=70;c=v[b+4>>2]-1|0;v[b+4>>2]=c;i:{if(c){break i}if(Qa[v[b+12>>2]](a)|0){break i}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=73;c=v[b+4>>2]-1|0;v[b+4>>2]=c;j:{if(c){break j}if(Qa[v[b+12>>2]](a)|0){break j}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=70;c=v[b+4>>2]-1|0;v[b+4>>2]=c;k:{if(c){break k}if(Qa[v[b+12>>2]](a)|0){break k}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;l:{if(c){break l}if(Qa[v[b+12>>2]](a)|0){break l}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}d=w[a+248|0];b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=d;c=v[b+4>>2]-1|0;v[b+4>>2]=c;m:{if(c){break m}if(Qa[v[b+12>>2]](a)|0){break m}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}d=w[a+249|0];b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=d;c=v[b+4>>2]-1|0;v[b+4>>2]=c;n:{if(c){break n}if(Qa[v[b+12>>2]](a)|0){break n}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}d=w[a+250|0];b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=d;c=v[b+4>>2]-1|0;v[b+4>>2]=c;o:{if(c){break o}if(Qa[v[b+12>>2]](a)|0){break o}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}c=x[a+252>>1];b=v[a+24>>2];d=v[b>>2];v[b>>2]=d+1;t[d|0]=c>>>8;d=v[b+4>>2]-1|0;v[b+4>>2]=d;p:{if(d){break p}if(Qa[v[b+12>>2]](a)|0){break p}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];d=v[b>>2];v[b>>2]=d+1;t[d|0]=c;c=v[b+4>>2]-1|0;v[b+4>>2]=c;q:{if(c){break q}if(Qa[v[b+12>>2]](a)|0){break q}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}c=x[a+254>>1];b=v[a+24>>2];d=v[b>>2];v[b>>2]=d+1;t[d|0]=c>>>8;d=v[b+4>>2]-1|0;v[b+4>>2]=d;r:{if(d){break r}if(Qa[v[b+12>>2]](a)|0){break r}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];d=v[b>>2];v[b>>2]=d+1;t[d|0]=c;c=v[b+4>>2]-1|0;v[b+4>>2]=c;s:{if(c){break s}if(Qa[v[b+12>>2]](a)|0){break s}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;t:{if(c){break t}if(Qa[v[b+12>>2]](a)|0){break t}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break c}if(Qa[v[b+12>>2]](a)|0){break c}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}u:{if(!v[a+256>>2]){break u}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=255;c=v[b+4>>2]-1|0;v[b+4>>2]=c;v:{if(c){break v}if(Qa[v[b+12>>2]](a)|0){break v}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=238;c=v[b+4>>2]-1|0;v[b+4>>2]=c;w:{if(c){break w}if(Qa[v[b+12>>2]](a)|0){break w}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;x:{if(c){break x}if(Qa[v[b+12>>2]](a)|0){break x}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=14;c=v[b+4>>2]-1|0;v[b+4>>2]=c;y:{if(c){break y}if(Qa[v[b+12>>2]](a)|0){break y}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=65;c=v[b+4>>2]-1|0;v[b+4>>2]=c;z:{if(c){break z}if(Qa[v[b+12>>2]](a)|0){break z}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=100;c=v[b+4>>2]-1|0;v[b+4>>2]=c;A:{if(c){break A}if(Qa[v[b+12>>2]](a)|0){break A}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=111;c=v[b+4>>2]-1|0;v[b+4>>2]=c;B:{if(c){break B}if(Qa[v[b+12>>2]](a)|0){break B}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=98;c=v[b+4>>2]-1|0;v[b+4>>2]=c;C:{if(c){break C}if(Qa[v[b+12>>2]](a)|0){break C}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=101;c=v[b+4>>2]-1|0;v[b+4>>2]=c;D:{if(c){break D}if(Qa[v[b+12>>2]](a)|0){break D}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;E:{if(c){break E}if(Qa[v[b+12>>2]](a)|0){break E}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=100;c=v[b+4>>2]-1|0;v[b+4>>2]=c;F:{if(c){break F}if(Qa[v[b+12>>2]](a)|0){break F}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;G:{if(c){break G}if(Qa[v[b+12>>2]](a)|0){break G}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;H:{if(c){break H}if(Qa[v[b+12>>2]](a)|0){break H}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;I:{if(c){break I}if(Qa[v[b+12>>2]](a)|0){break I}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;J:{if(c){break J}if(Qa[v[b+12>>2]](a)|0){break J}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}K:{L:{switch(v[a+80>>2]-3|0){case 0:b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=1;c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break u}if(!(Qa[v[b+12>>2]](a)|0)){break K}break u;case 2:b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=2;c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break u}if(!(Qa[v[b+12>>2]](a)|0)){break K}break u;default:break L}}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break u}if(Qa[v[b+12>>2]](a)|0){break u}}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}}function W5(a,b){var 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,y=0;f=Ma-256|0;Ma=f;a:{if(!v[a+4>>2]){break a}m=v[a+20>>2];g=v[a+16>>2];p=B(m,g);h=ab(p<<2);e=0-(g<<2)|0;v[b+12>>2]=e;v[b+8>>2]=m;v[b+4>>2]=g;v[b+16>>2]=h;k=x[a+26>>1];o=v[a+52>>2];c=Ud(a,0);i=v[a+4>>2];i=i?v[a+44>>2]?i+40|0:0:0;n=w[a+389|0];j=w[b+40|0];b:{c:{switch(k-1|0){case 0:if(!i){t[f+6|0]=255;u[f+4>>1]=65535;t[f+2|0]=0;u[f>>1]=0;i=f}if((m|0)>=1){k=0;b=h;while(1){d=0;if((g|0)>0){while(1){e=((w[(d>>>3|0)+c|0]>>>((d^-1)&7)&1)<<2)+i|0;n=e+2|0;t[b|0]=w[(j?n:e)|0];t[b+1|0]=w[e+1|0];t[b+2|0]=w[(j?e:n)|0];b=b+4|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}c=c+o|0;k=k+1|0;if((m|0)!=(k|0)){continue}break}}d=0;break b;default:a=v[b+16>>2];if(a){$a(a)}a=v[b+20>>2];if(a){$a(a)}v[b>>2]=0;v[b+4>>2]=0;t[b+40|0]=0;v[b+32>>2]=0;v[b+36>>2]=-1074790400;t[b+21|0]=0;t[b+22|0]=0;t[b+23|0]=0;t[b+24|0]=0;t[b+25|0]=0;t[b+26|0]=0;t[b+27|0]=0;t[b+28|0]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;break a;case 31:if((m|0)<1|(g|0)<1){break b}k=e+o|0;i=g&-2;o=g&1;e=0;b=h;while(1){d=i;if((g|0)!=1){while(1){n=c+2|0;t[b|0]=w[(j?n:c)|0];t[b+1|0]=w[c+1|0];t[b+2|0]=w[(j?c:n)|0];t[b+4|0]=w[(j?6:4)+c|0];t[b+5|0]=w[c+5|0];t[b+6|0]=w[(j?4:6)+c|0];b=b+8|0;c=c+8|0;d=d-2|0;if(d){continue}break}}if(o){d=c+2|0;t[b|0]=w[(j?d:c)|0];t[b+1|0]=w[c+1|0];t[b+2|0]=w[(j?c:d)|0];c=c+4|0;b=b+4|0}c=c+k|0;e=e+1|0;if((m|0)!=(e|0)){continue}break};d=0;break b;case 23:if((m|0)<1|(g|0)<1){break b}k=o+B(g,-3)|0;i=g&-2;o=g&1;e=0;b=h;while(1){d=i;if((g|0)!=1){while(1){n=c+2|0;t[b|0]=w[(j?n:c)|0];t[b+1|0]=w[c+1|0];t[b+2|0]=w[(j?c:n)|0];t[b+4|0]=w[(j?5:3)+c|0];t[b+5|0]=w[c+4|0];t[b+6|0]=w[(j?3:5)+c|0];b=b+8|0;c=c+6|0;d=d-2|0;if(d){continue}break}}if(o){d=c+2|0;t[b|0]=w[(j?d:c)|0];t[b+1|0]=w[c+1|0];t[b+2|0]=w[(j?c:d)|0];c=c+3|0;b=b+4|0}c=c+k|0;e=e+1|0;if((m|0)!=(e|0)){continue}break};d=0;break b;case 7:o=o-g|0;q=v[a+336>>2];if(i){d:{if((m|0)<1|(g|0)<1){break d}if(n){k=0;b=h;while(1){d=0;while(1){e=(w[c|0]<<2)+i|0;l=e+2|0;t[b|0]=w[(j?l:e)|0];t[b+1|0]=w[e+1|0];t[b+2|0]=w[(j?e:l)|0];t[b+3|0]=w[e+3|0];b=b+4|0;c=c+1|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}c=c+o|0;k=k+1|0;if((m|0)!=(k|0)){continue}break}break d}if((q|0)==-1){d=g&-2;s=g&1;k=0;b=h;while(1){e=d;if((g|0)!=1){while(1){l=(w[c|0]<<2)+i|0;r=l+2|0;t[b|0]=w[(j?r:l)|0];t[b+1|0]=w[l+1|0];t[b+2|0]=w[(j?l:r)|0];l=(w[c+1|0]<<2)+i|0;r=l+2|0;t[b+4|0]=w[(j?r:l)|0];t[b+5|0]=w[l+1|0];t[b+6|0]=w[(j?l:r)|0];b=b+8|0;c=c+2|0;e=e-2|0;if(e){continue}break}}if(s){e=(w[c|0]<<2)+i|0;l=e+2|0;t[b|0]=w[(j?l:e)|0];t[b+1|0]=w[e+1|0];t[b+2|0]=w[(j?e:l)|0];c=c+1|0;b=b+4|0}c=c+o|0;k=k+1|0;if((m|0)!=(k|0)){continue}break}break d}l=(q<<2)+i|0;b=h;while(1){e=0;while(1){k=w[c|0];d=(k<<2)+i|0;s=d+2|0;t[b|0]=w[(j?s:d)|0];t[b+1|0]=w[d+1|0];t[b+2|0]=w[(j?d:s)|0];t[b+3|0]=(k|0)==(q|0)?w[l+3|0]:255;b=b+4|0;c=c+1|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}c=c+o|0;r=r+1|0;if((r|0)!=(m|0)){continue}break}}d=n|(q|0)!=-1;break b}if((m|0)<1|(g|0)<1){break b}i=g&-4;j=g&3;e=0;k=g-1>>>0<3;b=h;while(1){d=i;if(!k){while(1){g=w[c|0];t[b+2|0]=g;t[b+1|0]=g;t[b|0]=g;g=w[c+1|0];t[b+6|0]=g;t[b+5|0]=g;t[b+4|0]=g;g=w[c+2|0];t[b+10|0]=g;t[b+9|0]=g;t[b+8|0]=g;g=w[c+3|0];t[b+14|0]=g;t[b+13|0]=g;t[b+12|0]=g;b=b+16|0;c=c+4|0;d=d-4|0;if(d){continue}break}}d=j;if(d){while(1){g=w[c|0];t[b+2|0]=g;t[b+1|0]=g;t[b|0]=g;b=b+4|0;c=c+1|0;d=d-1|0;if(d){continue}break}}c=c+o|0;e=e+1|0;if((m|0)!=(e|0)){continue}break};d=0;break b;case 3:if(!i){t[f+62|0]=255;t[f+58|0]=238;t[f+54|0]=221;t[f+50|0]=204;t[f+46|0]=187;t[f+42|0]=170;t[f+38|0]=153;t[f+30|0]=119;t[f+26|0]=102;t[f+22|0]=85;t[f+18|0]=68;t[f+10|0]=34;t[f+34|0]=136;u[f+60>>1]=65535;u[f+56>>1]=61166;u[f+52>>1]=56797;u[f+48>>1]=52428;u[f+44>>1]=48059;u[f+40>>1]=43690;u[f+36>>1]=39321;u[f+32>>1]=34952;u[f+28>>1]=30583;u[f+24>>1]=26214;u[f+20>>1]=21845;u[f+16>>1]=17476;t[f+14|0]=51;u[f+12>>1]=13107;u[f+8>>1]=8738;t[f+6|0]=17;u[f+4>>1]=4369;t[f+2|0]=0;u[f>>1]=0;i=f}k=v[a+336>>2];if((m|0)>=1){l=(k<<2)+i|0;s=(g|0)<1;b=h;while(1){e:{if(s){break e}d=0;if(n){while(1){e=((w[(d>>>1|0)+c|0]>>>((d<<2^-1)&4)&15)<<2)+i|0;q=e+2|0;t[b|0]=w[(j?q:e)|0];t[b+1|0]=w[e+1|0];t[b+2|0]=w[(j?e:q)|0];t[b+3|0]=w[e+3|0];b=b+4|0;d=d+1|0;if((g|0)!=(d|0)){continue}break e}}if((k|0)==-1){while(1){e=((w[(d>>>1|0)+c|0]>>>((d<<2^-1)&4)&15)<<2)+i|0;q=e+2|0;t[b|0]=w[(j?q:e)|0];t[b+1|0]=w[e+1|0];t[b+2|0]=w[(j?e:q)|0];b=b+4|0;d=d+1|0;if((g|0)!=(d|0)){continue}break e}}while(1){q=w[(d>>>1|0)+c|0]>>>((d<<2^-1)&4)&15;e=(q<<2)+i|0;r=e+2|0;t[b|0]=w[(j?r:e)|0];t[b+1|0]=w[e+1|0];t[b+2|0]=w[(j?e:r)|0];t[b+3|0]=(k|0)==(q|0)?w[l+3|0]:255;b=b+4|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}c=c+o|0;y=y+1|0;if((y|0)!=(m|0)){continue}break}}d=n|(k|0)!=-1;break b;case 1:break c}}if(!i){t[f+14|0]=255;u[f+12>>1]=65535;t[f+10|0]=170;u[f+8>>1]=43690;t[f+6|0]=85;u[f+4>>1]=21845;t[f+2|0]=0;u[f>>1]=0;i=f}if((m|0)>=1){k=0;b=h;while(1){d=0;if((g|0)>0){while(1){e=((w[(d>>>2|0)+c|0]>>>((d<<1^-1)&6)&3)<<2)+i|0;n=e+2|0;t[b|0]=w[(j?n:e)|0];t[b+1|0]=w[e+1|0];t[b+2|0]=w[(j?e:n)|0];b=b+4|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}c=c+o|0;k=k+1|0;if((m|0)!=(k|0)){continue}break}}d=0}f:{if(v[a+964>>2]){b=0;c=HC(a);a=w[a+388|0];if((a|0)==255){if((p|0)<1){break a}b=p&7;if(p-1>>>0>=7){d=p&-8;while(1){t[h+3|0]=w[c|0];t[h+7|0]=w[c+1|0];t[h+11|0]=w[c+2|0];t[h+15|0]=w[c+3|0];t[h+19|0]=w[c+4|0];t[h+23|0]=w[c+5|0];t[h+27|0]=w[c+6|0];t[h+31|0]=w[c+7|0];h=h+32|0;c=c+8|0;d=d-8|0;if(d){continue}break}}if(!b){break a}while(1){t[h+3|0]=w[c|0];h=h+4|0;c=c+1|0;b=b-1|0;if(b){continue}break}break a}d=a>>>1|0;while(1){i=(d+B(b,255)>>>0)/(a>>>0)|0;t[b+f|0]=i>>>0<255?i:255;e=b|1;i=(d+B(e,255)>>>0)/(a>>>0)|0;t[f+e|0]=i>>>0<255?i:255;b=b+2|0;if((b|0)!=256){continue}break}break f}if((p|0)<1|d){break a}c=p&7;if(p-1>>>0>=7){b=p&-8;while(1){t[h+31|0]=255;t[h+27|0]=255;t[h+23|0]=255;t[h+19|0]=255;t[h+15|0]=255;t[h+11|0]=255;t[h+7|0]=255;t[h+3|0]=255;h=h+32|0;b=b-8|0;if(b){continue}break}}if(!c){break a}while(1){t[h+3|0]=255;h=h+4|0;c=c-1|0;if(c){continue}break}break a}if((p|0)<1){break a}b=p&3;if(p-1>>>0>=3){d=p&-4;while(1){t[h+3|0]=w[w[c|0]+f|0];t[h+7|0]=w[w[c+1|0]+f|0];t[h+11|0]=w[w[c+2|0]+f|0];t[h+15|0]=w[w[c+3|0]+f|0];h=h+16|0;c=c+4|0;d=d-4|0;if(d){continue}break}}if(!b){break a}while(1){t[h+3|0]=w[w[c|0]+f|0];h=h+4|0;c=c+1|0;b=b-1|0;if(b){continue}break}}Ma=f+256|0}function cna(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,n=0,o=0,p=0,q=0,r=0,s=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0;c=Ma-48|0;Ma=c;Qa[v[v[a>>2]+16>>2]](a);g=c+40|0;v[g>>2]=0;e=v[v[a+12>>2]+8>>2];t[c+19|0]=0;v[c+8>>2]=0;d=c+24|0;Qa[v[v[e>>2]+12>>2]](d,e,c+8|0);j=Ma-32|0;Ma=j;a:{if(t[b+11|0]>=0){v[j+24>>2]=v[b+8>>2];e=v[b+4>>2];v[j+16>>2]=v[b>>2];v[j+20>>2]=e;break a}vc(j+16|0,v[b>>2],v[b+4>>2])}b:{if(t[d+11|0]>=0){v[j+8>>2]=v[d+8>>2];b=v[d+4>>2];v[j>>2]=v[d>>2];v[j+4>>2]=b;break b}vc(j,v[d>>2],v[d+4>>2])}s=v[g>>2];l=Ma-48|0;Ma=l;d=-1;e=t[j+27|0]<0?v[j+16>>2]:j+16|0;b=t[j+11|0]<0?v[j>>2]:j;c:{if(!e|!b){break c}v[l+24>>2]=0;v[l+8>>2]=0;No(e,ce(e),l+24|0,l+8|0);n=gI(v[l+24>>2],0);e=v[l+24>>2];if(e){$a(e)}if(!n){break c}C=eu(0,0);v[l+44>>2]=0;v[l+40>>2]=0;No(b,ce(b),l+44|0,l+40|0);d=tP(v[l+44>>2]);b=v[l+44>>2];if(b){$a(b);v[l+44>>2]=0}d:{if(d){break d}f=Ma-1472|0;Ma=f;if(n){v[f+8>>2]=v[n+56>>2];v[f+12>>2]=v[n+64>>2];r=0}else{r=-102}e:{f:{g:{h:{if(!v[f+8>>2]){break h}while(1){p=f+160|0;v[p+12>>2]=0;v[p+4>>2]=0;v[p+8>>2]=0;v[p>>2]=520704;h=f+1200|0;d=dw(n,f+80|0,h,256);q=f- -64|0;e=q;i=Ma-16|0;Ma=i;i:{j:{b=zb(h);if(b>>>0<4294967280){k:{l:{if(b>>>0>=11){k=b+16&-16;g=ab(k);v[i+8>>2]=k|-2147483648;v[i>>2]=g;v[i+4>>2]=b;break l}t[i+11|0]=b;g=i;if(!b){break k}}cb(g,h,b)}t[b+g|0]=0;b=w[i+11|0];o=b<<24>>24;g=(o|0)<0;k=g?v[i+4>>2]:b;if(k>>>0>=1073741808){break j}m=v[i>>2];m:{n:{if(k>>>0>=2){h=k+4&-4;b=ab(h<<2);v[e+8>>2]=h|-2147483648;v[e>>2]=b;v[e+4>>2]=k;e=b;break n}t[e+11|0]=k;if(!k){break m}}h=g?m:i;z=k-1|0;g=k&7;o:{if(!g){b=h;break o}b=h;while(1){v[e>>2]=t[b|0];e=e+4|0;b=b+1|0;g=g-1|0;if(g){continue}break}}if(z>>>0<7){break m}g=h+k|0;while(1){v[e>>2]=t[b|0];v[e+4>>2]=t[b+1|0];v[e+8>>2]=t[b+2|0];v[e+12>>2]=t[b+3|0];v[e+16>>2]=t[b+4|0];v[e+20>>2]=t[b+5|0];v[e+24>>2]=t[b+6|0];v[e+28>>2]=t[b+7|0];e=e+32|0;b=b+8|0;if((g|0)!=(b|0)){continue}break}}v[e>>2]=0;if((o|0)<=-1){$a(m)}Ma=i+16|0;break i}sc();L()}sc();L()}vP(f+176|0,t[f+75|0]<0?v[f+64>>2]:q);p:{if(d){break p}e=0;d=-104;q=gb(8192);if(!q){break p}while(1){b=e;q:{while(1){g=v[(f+176|0)+(b<<2)>>2];if(!g){break q}if(!((g|0)==47|(g|0)==92)){b=b+1|0;continue}break}e=b+1|0;continue}break}z=(f+176|0)+(e<<2)|0;r:{if(!v[z>>2]){hI(f+176|0);b=0;break r}s:{t:{u:{b=GY(n);v:{if(b){break v}k=f+176|0;b=ce(k);if(b>>>0>=1073741808){break f}w:{x:{if(b>>>0>=2){h=b+4&-4;g=ab(h<<2);v[f+1464>>2]=h|-2147483648;v[f+1456>>2]=g;v[f+1460>>2]=b;break x}t[f+1467|0]=b;g=f+1456|0;if(!b){break w}}rb(g,k,b)}v[(b<<2)+g>>2]=0;b=Eq(p,f+1456|0);if(t[f+1467|0]<=-1){$a(v[f+1456>>2])}y:{if(b){g=v[p+4>>2];if(g){break y}}if(!e){break s}e=eu(0,0);if(e){b=zb(e);if(b>>>0>=4294967280){break f}z:{A:{if(b>>>0>=11){h=b+16&-16;g=ab(h);v[f+1464>>2]=h|-2147483648;v[f+1456>>2]=g;v[f+1460>>2]=b;break A}t[f+1467|0]=b;g=f+1456|0;if(!b){break z}}cb(g,e,b)}t[b+g|0]=0;$a(e);b=f+1456|0;Sm(b,326326);u[f+48>>1]=47;t[f+59|0]=1;u[f+32>>1]=47;t[f+43|0]=1;rA(b,f+48|0,f+32|0);if(t[f+43|0]<=-1){$a(v[f+32>>2])}u[f+48>>1]=92;t[f+59|0]=1;u[f+32>>1]=47;t[f+43|0]=1;rA(f+1456|0,f+48|0,f+32|0);if(t[f+43|0]<=-1){$a(v[f+32>>2])}b=zb(f+1200|0);if(b>>>0>=4294967280){break u}B:{C:{if(b>>>0>=11){g=b+16&-16;e=ab(g);v[f+56>>2]=g|-2147483648;v[f+48>>2]=e;v[f+52>>2]=b;break C}t[f+59|0]=b;e=f+48|0;if(!b){break B}}cb(e,f+1200|0,b)}t[b+e|0]=0;u[f+32>>1]=47;t[f+43|0]=1;u[f+16>>1]=47;t[f+27|0]=1;rA(f+48|0,f+32|0,f+16|0);if(t[f+27|0]<=-1){$a(v[f+16>>2])}u[f+32>>1]=92;t[f+43|0]=1;u[f+16>>1]=47;t[f+27|0]=1;rA(f+48|0,f+32|0,f+16|0);if(t[f+27|0]<=-1){$a(v[f+16>>2])}g=v[f+1456>>2];h=v[f+52>>2];b=t[f+59|0];i=v[f+1460>>2];e=t[f+1467|0];v[f+24>>2]=0;v[f+16>>2]=0;v[f+20>>2]=0;D=h;h=(b|0)<0;m=h?D:b&255;b=i;i=(e|0)<0;b=i?b:e&255;e=m+b|0;if(e>>>0>=4294967280){break t}D:{if(e>>>0<=10){t[f+27|0]=b;e=f+16|0;break D}o=e+16&-16;e=ab(o);v[f+24>>2]=o|-2147483648;v[f+16>>2]=e;v[f+20>>2]=b}if(b){cb(e,i?g:f+1456|0,b)}t[b+e|0]=0;b=f+16|0;Bp(b,h?v[f+48>>2]:f+48|0,m);KY(f+32|0,b);if(t[f+27|0]<=-1){$a(v[f+16>>2])}KY(f+16|0,f+1456|0);b=0;o=v[f+16>>2];h=w[f+43|0];i=h<<24>>24;e=w[f+27|0];E=e<<24>>24;g=(E|0)<0;m=g?v[f+20>>2]:e;if(m){b=(i|0)<0;e=b?v[f+32>>2]:f+32|0;b=b?v[f+36>>2]:h;h=e+b|0;E:{F:{if((b|0)<(m|0)){break F}F=g?o:f+16|0;D=w[F|0];g=e;while(1){G=b-m|0;b=G+1|0;if(b>>>0>>0){break F}b=ag(g,D,b);if(!b){break F}if(!Jb(b,F,m)){break E}g=b+1|0;b=h-g|0;if((m|0)<=(b|0)){continue}break}}b=h}b=(b|0)==(h|0)?-1:b-e|0}if((E|0)<=-1){$a(o);i=w[f+43|0]}if(i<<24>>24<=-1){$a(v[f+32>>2])}if(t[f+59|0]<=-1){$a(v[f+48>>2])}if(t[f+1467|0]<=-1){$a(v[f+1456>>2])}if((b|0)==-1){break p}}i=z-4|0;m=v[i>>2];v[i>>2]=0;b=ce(k);if((b|0)>=1){d=b+1|0;e=ab((d|0)!=(d&1073741823)?-1:d<<2);vP(e,k);b=(e+(b<<2)|0)-4|0;if(v[b>>2]==47){v[b>>2]=0}d=e;G:{if(!hI(e)){break G}while(1){b=d+4|0;h=v[d+4>>2];if(!(!h|(h|0)==92)){d=b;if((h|0)!=47){continue}}v[b>>2]=0;if((hI(e)|0)==-1){d=ce(e);if(d>>>0>=1073741808){break f}H:{I:{if(d>>>0>=2){o=d+4&-4;g=ab(o<<2);v[f+1464>>2]=o|-2147483648;v[f+1456>>2]=g;v[f+1460>>2]=d;break I}t[f+1467|0]=d;g=f+1456|0;if(!d){break H}}rb(g,e,d)}v[(d<<2)+g>>2]=0;d=Xs(f+1456|0);if(t[f+1467|0]<=-1){$a(v[f+1456>>2])}if(!d){break G}}if(!h){break G}v[b>>2]=h;d=b;continue}}$a(e)}v[i>>2]=m<<24>>24;d=ce(k);if(d>>>0>=1073741808){break f}J:{K:{if(d>>>0>=2){e=d+4&-4;b=ab(e<<2);v[f+1464>>2]=e|-2147483648;v[f+1456>>2]=b;v[f+1460>>2]=d;break K}t[f+1467|0]=d;b=f+1456|0;if(!d){break J}}rb(b,k,d)}v[(d<<2)+b>>2]=0;b=Eq(p,f+1456|0);if(t[f+1467|0]<=-1){$a(v[f+1456>>2])}if(!b){break s}g=v[p+4>>2];if(!g){break s}}while(1){b=FY(n,q,8192);if((b|0)<0){break v}if(!b){break s}if((Lb(q,b,1,g)|0)==1){continue}break}b=-1}dI(n);break r}sc();L()}sc();L()}b=dI(n)}d=b;$a(q)}if(t[f+75|0]<=-1){$a(v[f+64>>2])}Xh(p);if(d){r=-1;break h}if(s){u[f+176>>1]=0;Qa[v[s>>2]](0,B(1e6/y[f+8>>2]|0,A),f+176|0);if(x[f+176>>1]){break g}}A=A+1|0;b=v[f+8>>2];if(A>>>0>>0){r=cI(n);if(r){break h}r=0;b=v[f+8>>2]}if(b>>>0>A>>>0){continue}break}}if(!s){break g}u[f+176>>1]=0;Qa[v[s>>2]](0,1e6,f+176|0)}Ma=f+1472|0;d=r;break e}sc();L()}if(d){break d}d=eI(n)}if(!C){break c}tP(C);$a(C)}Ma=l+48|0;if(t[j+11|0]<=-1){$a(v[j>>2])}if(t[j+27|0]<=-1){$a(v[j+16>>2])}Ma=j+32|0;b=(d|0)!=0;if(t[c+35|0]<=-1){$a(v[c+24>>2])}if(t[c+19|0]<=-1){$a(v[c+8>>2])}if(!b){d=ab(72);e=WT(d,v[v[a+12>>2]+4>>2]);a=v[a+12>>2];v[a+12>>2]=d;VT(e,v[a+8>>2])}Ma=c+48|0;return!b|0}function a6(a,b){a=a|0;b=b|0;var 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,u=0,x=0;h=Ma-128|0;Ma=h;if(b){Nb(4272,0)}b=0;Nb(8946,0);a:{b:{c:{if(Ut(a,h+104|0)|v[h+104>>2]!=19778){break c}if(Uk(a,h+104|4)){break c}if(Ut(a,h+112|0)){break c}if(Ut(a,h+116|0)){break c}if(!Uk(a,h+120|0)){break b}}Nb(12147,0);break a}f=ZL();if(f){d:{if(Uk(a,f)|v[f>>2]!=40){break d}if(Uk(a,f+4|0)){break d}if(Uk(a,f+8|0)){break d}if(Ut(a,f+16|0)){break d}if(Ut(a,f+20|0)){break d}if(Uk(a,f+24|0)){break d}if(Uk(a,f+28|0)){break d}if(Uk(a,f+32|0)){break d}if(Uk(a,f+36|0)){break d}if(Uk(a,f+40|0)){break d}if(Uk(a,f+44|0)){break d}b=f;c=v[f+8>>2];if((c|0)<=-1){c=0-c|0;v[f+8>>2]=c;d=1}else{d=0}t[b+12|0]=d;if(v[f+4>>2]<1|(c|0)<1|(v[f+16>>2]<1|v[f+20>>2]<1)){break d}b=v[f+40>>2];if((b|0)<0|v[f+44>>2]<0){break d}if(v[f+24>>2]){Nb(24193,0);break d}e:{f:{g:{if((b|0)>=1){e=gb(b<<4);v[f+48>>2]=e;if(!e){break d}b=v[f+40>>2];if((b|0)<1){break g}c=0;b=v[a+8>>2];if(b&7){break f}while(1){d=v[a+64>>2];if(!((d|0)<0|(d|0)>v[a+60>>2])){v[a+8>>2]=b|4;break f}d=v[a+28>>2];v[a+28>>2]=d-1;h:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;d=v[a+24>>2];v[a+24>>2]=d+1;v[((c<<4)+e|0)+8>>2]=w[d|0];break h}b=Eb(a,1);v[((c<<4)+e|0)+8>>2]=b;if((b|0)==-1){break d}b=v[a+8>>2]}i:{if(!(b&7)){d=v[a+64>>2];if((d|0)<0|(d|0)>v[a+60>>2]){break i}v[a+8>>2]=b|4}a=((c<<4)+e|0)+4|0;break e}d=v[a+28>>2];v[a+28>>2]=d-1;j:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;d=v[a+24>>2];v[a+24>>2]=d+1;v[((c<<4)+e|0)+4>>2]=w[d|0];break j}b=Eb(a,1);v[((c<<4)+e|0)+4>>2]=b;if((b|0)==-1){break d}b=v[a+8>>2]}k:{if(!(b&7)){d=v[a+64>>2];if((d|0)<0|(d|0)>v[a+60>>2]){break k}v[a+8>>2]=b|4}a=(c<<4)+e|0;break e}d=v[a+28>>2];v[a+28>>2]=d-1;l:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;d=v[a+24>>2];v[a+24>>2]=d+1;v[(c<<4)+e>>2]=w[d|0];break l}b=Eb(a,1);v[(c<<4)+e>>2]=b;if((b|0)==-1){break d}b=v[a+8>>2]}m:{if(!(b&7)){d=v[a+64>>2];if((d|0)<0|(d|0)>v[a+60>>2]){break m}v[a+8>>2]=b|4}a=((c<<4)+e|0)+12|0;break e}b=v[a+28>>2];v[a+28>>2]=b-1;n:{if((b|0)>=1){v[a+60>>2]=v[a+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;v[((c<<4)+e|0)+12>>2]=w[b|0];break n}b=Eb(a,1);v[((c<<4)+e|0)+12>>2]=b;if((b|0)==-1){break d}}b=v[f+40>>2];c=c+1|0;if((b|0)<=(c|0)){break g}e=v[f+48>>2];b=v[a+8>>2];if(!(b&7)){continue}break}break f}b=0;v[f+48>>2]=0}o:{p:{if(v[h+112>>2]|v[h+104>>2]!=19778|(v[h+116>>2]|v[f+16>>2]!=1)){break p}c=v[f+20>>2]-8|0;if((c|0)!=16?c:0){break p}if(!v[f+24>>2]){break o}}b=0;Nb(17226,0);fr(f);break a}e=(v[h+120>>2]-(b<<2)|0)-54|0;if((e|0)<=-1){b=0;Nb(19706,0);break a}q:{if(!e){break q}b=0;Nb(22236,0);r:{while(1){c=0;if((e|0)<1){break r}c=v[a+8>>2];if(!(c&7)){d=v[a+64>>2];if(!((d|0)<0|(d|0)>v[a+60>>2])){v[a+8>>2]=c|4;c=-1;break r}c=v[a+28>>2];v[a+28>>2]=c-1;e=e-1|0;s:{if((c|0)<=0){c=Eb(a,1);break s}v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;c=w[c|0]}if((c|0)!=-1){continue}}break}c=-1}if(!c){break q}fr(f);break a}t:{u:{v:{c=YL(f);w:{if(c){d=v[f+8>>2];i=v[f+4>>2];b=h;if((c|0)!=1){e=c&-2;while(1){v[b+32>>2]=0;v[b+36>>2]=0;v[b+24>>2]=8;v[b+28>>2]=0;v[b+20>>2]=d;v[b+16>>2]=i;v[b+8>>2]=1;v[b+12>>2]=1;v[b>>2]=0;v[b+4>>2]=0;v[b+56>>2]=8;v[b+60>>2]=0;v[b+52>>2]=d;v[b+48>>2]=i;v[b+40>>2]=1;v[b+44>>2]=1;b=b- -64|0;e=e-2|0;if(e){continue}break}}if(c&1){v[b+24>>2]=8;v[b+28>>2]=0;v[b+20>>2]=d;v[b+16>>2]=i;v[b+8>>2]=1;v[b+12>>2]=1;v[b>>2]=0;v[b+4>>2]=0}b=ir(c,h);if(!b){break w}if((c|0)!=3){break v}c=v[b+24>>2];v[v[c>>2]+40>>2]=0;v[v[c+4>>2]+40>>2]=1;i=1025;e=2;c=c+8|0;break u}b=ir(c,h);if(b){break v}}fr(f);break t}i=769;e=0;c=v[b+24>>2]}v[v[c>>2]+40>>2]=e;v[b+28>>2]=i;e=0;i=0;k=Ma-16|0;Ma=k;c=v[f+20>>2]-8|0;if(!(!c|(c|0)==16)){O(25751,27137,328,188560);L()}x:{if(!v[f+24>>2]){l=YL(f);d=v[f+20>>2];y:{z:{A:{if((l|0)<=0){m=f+4|0;e=d;break A}eb(k+4|0,0,l<<2);m=f+4|0;while(1){c=Oj(1,v[f+4>>2]);v[(k+4|0)+(e<<2)>>2]=c;if(!c){break z}e=e+1|0;if((l|0)!=(e|0)){continue}break}e=v[f+20>>2]}c=v[f+4>>2];j=(B(l,c)|0)%4|0;if(v[f+8>>2]<1){break y}r=j?4-j|0:0;s=-1<>2];o=v[k+8>>2];p=v[k+4>>2];u=(d|0)!=8;x=(l|0)!=3;while(1){e=0;B:{C:{if((c|0)>0){while(1){d=v[a+8>>2];c=d&7;D:{if(!u){if(c){break z}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break C}c=v[a+28>>2];v[a+28>>2]=c-1;g=-1;E:{if((c|0)<=0){c=Eb(a,1);break E}v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;c=w[c|0]}if((c|0)==-1|(c|0)>(s|0)){break y}if(v[f+40>>2]<=(c|0)){j=c;d=c;break D}d=v[f+48>>2]+(c<<4)|0;c=v[d+8>>2];j=v[d+4>>2];d=v[d>>2];break D}if(c){break z}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break C}c=v[a+28>>2];v[a+28>>2]=c-1;F:{if((c|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;c=w[c|0];break F}g=-1;c=Eb(a,1);if((c|0)==-1){break y}d=v[a+8>>2]}if(d&7){break z}g=v[a+64>>2];if((g|0)>=0&(g|0)<=v[a+60>>2]){break C}g=v[a+28>>2];v[a+28>>2]=g-1;G:{if((g|0)>=1){v[a+60>>2]=v[a+60>>2]+1;g=v[a+24>>2];v[a+24>>2]=g+1;j=w[g|0];break G}g=-1;j=Eb(a,1);if((j|0)==-1){break y}d=v[a+8>>2]}g=-1;if(d&7){break y}g=v[a+64>>2];if((g|0)>=0&(g|0)<=v[a+60>>2]){break C}d=v[a+28>>2];v[a+28>>2]=d-1;if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;d=v[a+24>>2];v[a+24>>2]=d+1;d=w[d|0];break D}g=-1;d=Eb(a,1);if((d|0)==-1){break y}}g=v[p+28>>2];q=v[p+20>>2];H:{if(!x){if((q|0)==1){g=v[g>>2]+(e<<2)|0}else{g=v[g+(e<<2)>>2]}v[g>>2]=d;d=v[o+28>>2];if(v[o+20>>2]==1){d=v[d>>2]+(e<<2)|0}else{d=v[d+(e<<2)>>2]}v[d>>2]=j;d=v[n+28>>2];if(v[n+20>>2]==1){v[v[d>>2]+(e<<2)>>2]=c;break H}v[v[d+(e<<2)>>2]>>2]=c;break H}if((q|0)==1){v[v[g>>2]+(e<<2)>>2]=d;break H}v[v[g+(e<<2)>>2]>>2]=d}e=e+1|0;if((e|0)>2]){continue}break}}e=r;if((e|0)<=0){break B}while(1){d=v[a+8>>2];if(d&7){break z}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break C}c=v[a+28>>2];v[a+28>>2]=c-1;I:{if((c|0)>=1){v[a+60>>2]=v[a+60>>2]+1;v[a+24>>2]=v[a+24>>2]+1;break I}g=-1;if((Eb(a,1)|0)==-1){break y}}c=(e|0)>1;e=e-1|0;if(c){continue}break}break B}v[a+8>>2]=d|4;break z}e=0;if((l|0)>0){j=i^-1;while(1){if(mj(b,e,0,w[f+12|0]?i:j+v[f+8>>2]|0,v[m>>2],1,v[(k+4|0)+(e<<2)>>2])){break z}e=e+1|0;if((l|0)!=(e|0)){continue}break}}i=i+1|0;if((i|0)>=v[f+8>>2]){g=0;break y}else{c=v[m>>2];continue}}}g=-1}if((l|0)>=1){a=0;while(1){c=v[(k+4|0)+(a<<2)>>2];if(c){ve(c)}a=a+1|0;if((l|0)!=(a|0)){continue}break}}Ma=k+16|0;break x}O(29130,27137,329,188560);L()}fr(f);if(!g){break a}Og(b)}b=0;break a}a=((c<<4)+e|0)+8|0}v[a>>2]=-1}fr(f)}b=0;Nb(14697,0)}Ma=h+128|0;return b|0}function ufa(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;h=Ma-16|0;Ma=h;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{switch(b-254|0){default:switch(b-32995|0){case 1:break k;case 3:break l;case 0:break p;case 2:break i;default:break b};case 0:v[v[c>>2]>>2]=v[a+80>>2];d=1;break a;case 2:v[v[c>>2]>>2]=v[a+56>>2];d=1;break a;case 3:v[v[c>>2]>>2]=v[a+60>>2];d=1;break a;case 4:u[v[c>>2]>>1]=x[a+84>>1];d=1;break a;case 5:u[v[c>>2]>>1]=x[a+88>>1];d=1;break a;case 8:u[v[c>>2]>>1]=x[a+90>>1];d=1;break a;case 9:u[v[c>>2]>>1]=x[a+92>>1];d=1;break a;case 12:u[v[c>>2]>>1]=x[a+94>>1];d=1;break a;case 20:u[v[c>>2]>>1]=x[a+96>>1];d=1;break a;case 23:u[v[c>>2]>>1]=x[a+98>>1];d=1;break a;case 24:v[v[c>>2]>>2]=v[a+100>>2];d=1;break a;case 26:u[v[c>>2]>>1]=x[a+104>>1];d=1;break a;case 27:u[v[c>>2]>>1]=x[a+106>>1];d=1;break a;case 86:A[v[c>>2]>>3]=A[a+112>>3];d=1;break a;case 87:A[v[c>>2]>>3]=A[a+120>>3];d=1;break a;case 28:z[v[c>>2]>>2]=z[a+128>>2];d=1;break a;case 29:z[v[c>>2]>>2]=z[a+132>>2];d=1;break a;case 30:u[v[c>>2]>>1]=x[a+138>>1];d=1;break a;case 32:z[v[c>>2]>>2]=z[a+140>>2];d=1;break a;case 33:z[v[c>>2]>>2]=z[a+144>>2];d=1;break a;case 42:u[v[c>>2]>>1]=x[a+136>>1];d=1;break a;case 43:u[v[c>>2]>>1]=x[a+148>>1];u[v[c+4>>2]>>1]=x[a+150>>1];d=1;break a;case 67:u[v[c>>2]>>1]=x[a+164>>1];u[v[c+4>>2]>>1]=x[a+166>>1];d=1;break a;case 66:v[v[c>>2]>>2]=v[a+152>>2];v[v[c+4>>2]>>2]=v[a+156>>2];v[v[c+8>>2]>>2]=v[a+160>>2];d=1;break a;case 19:case 70:v[v[c>>2]>>2]=v[a+184>>2];d=1;break a;case 85:break j;case 69:break m;case 68:break n;case 84:break o;case 25:case 71:break q;case 1:case 6:case 7:case 10:case 11:case 13:case 14:case 15:case 16:case 17:case 18:case 21:case 22:case 31:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 44:case 45:case 46:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 65:case 72:case 73:case 74:case 75:case 77:case 78:case 80:case 81:case 82:case 83:case 88:case 89:case 90:case 91:case 92:case 93:case 94:case 95:case 96:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:case 123:case 124:case 125:case 126:case 127:case 128:case 129:case 130:case 131:case 132:case 133:case 134:case 135:case 136:case 137:case 138:case 139:case 140:case 141:case 142:case 143:case 144:case 145:case 146:case 147:case 148:case 149:case 150:case 151:case 152:case 153:case 154:case 155:case 156:case 157:case 158:case 159:case 160:case 161:case 162:case 163:case 164:case 165:case 166:case 167:case 168:case 169:case 170:case 171:case 172:case 173:case 174:case 175:case 176:case 177:case 178:case 179:case 180:case 181:case 182:case 183:case 184:case 185:case 186:case 187:case 188:case 189:case 190:case 191:case 192:case 193:case 194:case 195:case 196:case 197:case 198:case 199:case 200:case 201:case 202:case 203:case 204:case 205:case 206:case 207:case 208:case 209:case 210:case 211:case 212:case 213:case 214:case 215:case 216:case 217:case 218:case 219:case 220:case 221:case 222:case 223:case 224:case 225:case 226:case 227:case 228:case 229:case 230:case 231:case 232:case 233:case 234:case 235:case 236:case 237:case 238:case 239:case 240:case 241:case 242:case 243:case 244:case 245:case 246:case 247:case 248:case 249:case 250:case 251:case 252:case 253:case 254:case 255:case 256:case 257:case 258:case 259:case 260:case 261:case 262:case 263:case 264:case 265:case 266:case 267:case 268:case 269:case 270:case 271:case 272:case 273:case 274:case 275:break b;case 79:break c;case 278:break d;case 47:break e;case 276:break f;case 277:break g;case 76:break h}}v[v[c>>2]>>2]=v[a+188>>2];d=1;break a}d=1;u[v[c>>2]>>1]=x[v[a+172>>2]>>1]==1&x[a+168>>1]==1;break a}u[v[c>>2]>>1]=x[a+168>>1];v[v[c+4>>2]>>2]=v[a+172>>2];d=1;break a}v[v[c>>2]>>2]=v[a+68>>2];d=1;break a}v[v[c>>2]>>2]=v[a+72>>2];d=1;break a}v[v[c>>2]>>2]=v[a+76>>2];d=1;break a}d=1;r:{switch(x[a+86>>1]-1|0){case 0:u[v[c>>2]>>1]=2;break a;case 1:u[v[c>>2]>>1]=1;break a;case 2:u[v[c>>2]>>1]=3;break a;case 3:break r;default:break a}}u[v[c>>2]>>1]=0;break a}u[v[c>>2]>>1]=x[a+86>>1];d=1;break a}v[v[c>>2]>>2]=v[a- -64>>2];d=1;break a}u[v[c>>2]>>1]=x[a+196>>1];v[v[c+4>>2]>>2]=v[a+200>>2];d=1;break a}u[v[c>>2]>>1]=x[a+208>>1];d=1;break a}u[v[c>>2]>>1]=x[a+204>>1];u[v[c+4>>2]>>1]=x[a+206>>1];d=1;break a}v[v[c>>2]>>2]=v[a+216>>2];d=1;if((x[a+98>>1]-x[a+168>>1]|0)<2){break a}v[v[c+4>>2]>>2]=v[a+220>>2];v[v[c+8>>2]>>2]=v[a+224>>2];break a}v[v[c>>2]>>2]=v[a+212>>2];d=1;break a}v[v[c>>2]>>2]=v[a+232>>2];d=1;break a}s:{g=or(a,b);t:{if(!g){d=31573;b=b>>>0>65535?19338:22352;break t}if(x[g+12>>1]==65){e=v[a+236>>2];if((e|0)>=1){break s}break a}d=v[g+16>>2];b=b>>>0>65535?19338:22352}c=v[a+628>>2];a=v[a>>2];v[h+8>>2]=d;v[h+4>>2]=b;v[h>>2]=a;wb(c,41298,30614,h);d=0;break a}f=v[a+240>>2];a=0;while(1){i=f+B(a,12)|0;if(v[v[i>>2]>>2]==(b|0)){if(w[g+15|0]){b=v[(f+B(a,12)|0)+4>>2];u:{if(x[g+4>>1]==65533){v[v[c>>2]>>2]=b;break u}u[v[c>>2]>>1]=b}v[v[c+4>>2]>>2]=v[(f+B(a,12)|0)+8>>2];d=1;break a}v:{e=v[g+8>>2];if(!((e|0)==2|x[g+4>>1]>65532)&v[(f+B(a,12)|0)+4>>2]<2){break v}w:{x:{b=v[g>>2];switch(b-321|0){case 0:case 15:break v;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:break w;default:break x}}if((b|0)==297|(b|0)==530){break v}}v[v[c>>2]>>2]=v[(f+B(a,12)|0)+8>>2];d=1;break a}f=f+B(a,12)|0;if(v[f+4>>2]<1){break a}a=v[f+8>>2];b=0;while(1){d=0;y:{z:{A:{switch(e-1|0){case 0:case 6:t[v[c>>2]]=w[a|0];break z;case 5:t[v[c>>2]]=w[a|0];break z;case 2:u[v[c>>2]>>1]=x[a>>1];break z;case 7:u[v[c>>2]>>1]=x[a>>1];break z;case 3:case 12:v[v[c>>2]>>2]=v[a>>2];break z;case 8:v[v[c>>2]>>2]=v[a>>2];break z;case 4:case 9:case 10:z[v[c>>2]>>2]=z[a>>2];break z;case 11:break A;default:break y}}A[v[c>>2]>>3]=A[a>>3]}c=c+4|0;d=1}e=v[v[i>>2]+8>>2]-1|0;if(e>>>0<=12){e=v[(e<<2)+81980>>2]}else{e=0}b=b+1|0;if((b|0)>=v[f+4>>2]){break a}a=a+e|0;e=v[g+8>>2];continue}}a=a+1|0;if((e|0)>(a|0)){continue}break}}Ma=h+16|0;return d|0}function d2(a,b){var 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,x=0;d=Ma-96|0;Ma=d;f=a+96|0;a:{if(!w[f+1432|0]){g=a+1596|0;h=a+1628|0;if(!(!w[h+1160|0]|v[h+1172>>2]!=2)){rc(h+100|0,h,v[h+1164>>2],v[h+1168>>2]);v[h+1172>>2]=3}Gc(h);b:{if(!v[h+12>>2]){break b}v[h+1176>>2]=v[h+84>>2];f=v[h+80>>2];a=(v[h+88>>2]-f|0)+2|0;c:{if(a>>>0<=y[g+24>>2]){break c}c=v[g+20>>2];if(c){$a(c)}v[g+24>>2]=a;t=g,x=ab((a|0)!=(a&536870911)?-1:a<<3),v[t+20>>2]=x;if((a|0)==v[g+16>>2]){break c}c=v[g+12>>2];if(c){$a(c)}v[g+16>>2]=a;t=g,x=ab(a),v[t+12>>2]=x}v[g>>2]=f;v[g+4>>2]=2147483632;v[g+28>>2]=v[g+20>>2];a=v[b+8>>2];if(v[a+4>>2]!=1){v[a+4>>2]=1;eb(a+2400|0,0,513)}if(!wf(h,g)){break b}while(1){i=v[b>>2];j=v[b+4>>2];p=v[b+8>>2];e=v[g+20>>2];o=v[g+28>>2]-e>>3;n=v[g+8>>2];while(1){a=v[e+12>>2];f=u[e+8>>1];k=u[e+10>>1];c=k>>31;c=(c^c+k)&65535;k=v[j+4>>2];d:{if(c>>>0<=k>>>0){break d}l=k;k=c+255&130816;if((l|0)==(k|0)){break d}m=v[j>>2];if(m){$a(m)}v[j+4>>2]=k;t=j,x=ab(k<<2),v[t>>2]=x}k=v[j>>2];z1(p,k,f,n,c);e:{if(v[i+16>>2]<(n|0)|v[i+8>>2]>(n|0)){break e}l=u[e+10>>1]<0;m=l?0:a;q=w[a|0];a=v[i+4>>2];f:{if((f|0)>=(a|0)){a=f;break f}f=a-f|0;c=c-f|0;if((c|0)<1){break e}m=l?0:f+m|0;k=(f<<2)+k|0}r=v[i>>2];l=a;s=n;f=v[i+12>>2];if((f|0)<(a+c|0)){f=f-a|0;if((f|0)<0){break e}c=f+1|0}Pf(r,l,s,c,k,m,q)}e=e+8|0;o=o-1|0;if(o){continue}break}if(wf(h,g)){continue}break}}break a}if(!w[f+1433|0]){v[d+80>>2]=0;v[d+84>>2]=0;v[d+88>>2]=0;v[d+92>>2]=0;v[d+72>>2]=0;v[d+76>>2]=0;v[d+64>>2]=2147483632;v[d+48>>2]=0;v[d+52>>2]=0;v[d+56>>2]=0;v[d+60>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=2147483632;v[d+16>>2]=0;v[d+20>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=2147483632;g=d+32|0;h=d- -64|0;a=a+1628|0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){rc(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Gc(a);g:{if(!v[a+12>>2]){break g}v[a+1176>>2]=v[a+84>>2];if(!(!w[f+1160|0]|v[f+1172>>2]!=2)){rc(f+100|0,f,v[f+1164>>2],v[f+1168>>2]);v[f+1172>>2]=3}Gc(f);if(!v[f+12>>2]){break g}c=v[f+84>>2];v[f+1176>>2]=c;e=v[f+88>>2];i=v[a+88>>2];e=(e|0)<(i|0)?e:i;i=v[f+80>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((e|0)<(i|0)){break g}j=v[a+84>>2];k=(c|0)>(j|0)?c:j;c=v[f+92>>2];j=v[a+92>>2];if((k|0)>(((c|0)<(j|0)?c:j)|0)){break g}c=(e-i|0)+3|0;h:{if(c>>>0<=y[h+24>>2]){break h}e=v[h+20>>2];if(e){$a(e)}v[h+24>>2]=c;t=h,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[h+12>>2]){break h}e=v[h+8>>2];if(e){$a(e)}v[h+12>>2]=c;t=h,x=ab(c),v[t+8>>2]=x}v[h>>2]=2147483632;v[h+16>>2]=v[h+8>>2];c=v[h+20>>2];v[h+28>>2]=c;u[c+2>>1]=0;c=(v[a+88>>2]-v[a+80>>2]|0)+3|0;i:{if(c>>>0<=y[g+24>>2]){break i}e=v[g+20>>2];if(e){$a(e)}v[g+24>>2]=c;t=g,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[g+12>>2]){break i}e=v[g+8>>2];if(e){$a(e)}v[g+12>>2]=c;t=g,x=ab(c),v[t+8>>2]=x}v[g>>2]=2147483632;v[g+16>>2]=v[g+8>>2];c=v[g+20>>2];v[g+28>>2]=c;u[c+2>>1]=0;c=(v[f+88>>2]-v[f+80>>2]|0)+3|0;j:{if(c>>>0<=y[d+24>>2]){break j}e=v[d+20>>2];if(e){$a(e)}v[d+24>>2]=c;t=d,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[d+12>>2]){break j}e=v[d+8>>2];if(e){$a(e)}v[d+12>>2]=c;t=d,x=ab(c),v[t+8>>2]=x}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];c=v[d+20>>2];v[d+28>>2]=c;u[c+2>>1]=0;if(!Gb(a,g)){break g}if(!Gb(f,d)){break g}c=v[b+8>>2];if(v[c+4>>2]!=1){v[c+4>>2]=1;eb(c+2400|0,0,513)}while(1){c=v[g+4>>2];e=v[d+4>>2];if((c|0)>=(e|0)){if((c|0)>(e|0)){while(1){if(!Gb(f,d)){break g}c=v[g+4>>2];e=v[d+4>>2];if((c|0)>(e|0)){continue}break}}if((c|0)!=(e|0)){continue}Se(g,d,h);if(v[h+28>>2]!=v[h+20>>2]){v[h+4>>2]=v[g+4>>2];y1(h,v[b>>2],v[b+4>>2],v[b+8>>2])}if(!Gb(a,g)){break g}if(Gb(f,d)){continue}break g}if(Gb(a,g)){continue}break}}a=v[d+20>>2];if(a){$a(a)}a=v[d+8>>2];if(a){$a(a)}a=v[d+52>>2];if(a){$a(a)}a=v[d+40>>2];if(a){$a(a)}a=v[d+84>>2];if(a){$a(a)}a=v[d+72>>2];if(!a){break a}$a(a);break a}v[d+80>>2]=0;v[d+84>>2]=0;v[d+88>>2]=0;v[d+92>>2]=0;v[d+72>>2]=0;v[d+76>>2]=0;v[d+64>>2]=2147483632;v[d+48>>2]=0;v[d+52>>2]=0;v[d+56>>2]=0;v[d+60>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=2147483632;v[d+16>>2]=0;v[d+20>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=2147483632;h=((v[a+1524>>2]==1?1180:1304)+a|0)+96|0;f=d+32|0;g=d- -64|0;a=a+1628|0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){rc(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Gc(a);k:{if(!v[a+12>>2]){break k}c=v[a+84>>2];v[a+1176>>2]=c;v[h+120>>2]=0;if(!v[h+60>>2]){break k}e=v[h+112>>2];i=v[a+88>>2];e=(e|0)<(i|0)?e:i;i=v[h+104>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((e|0)<(i|0)){break k}j=v[h+108>>2];k=(c|0)<(j|0)?j:c;c=v[h+116>>2];j=v[a+92>>2];if((k|0)>(((c|0)<(j|0)?c:j)|0)){break k}c=(e-i|0)+3|0;l:{if(c>>>0<=y[g+24>>2]){break l}e=v[g+20>>2];if(e){$a(e)}v[g+24>>2]=c;t=g,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[g+12>>2]){break l}e=v[g+8>>2];if(e){$a(e)}v[g+12>>2]=c;t=g,x=ab(c),v[t+8>>2]=x}v[g>>2]=2147483632;v[g+16>>2]=v[g+8>>2];c=v[g+20>>2];v[g+28>>2]=c;u[c+2>>1]=0;c=(v[a+88>>2]-v[a+80>>2]|0)+3|0;m:{if(c>>>0<=y[f+24>>2]){break m}e=v[f+20>>2];if(e){$a(e)}v[f+24>>2]=c;t=f,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[f+12>>2]){break m}e=v[f+8>>2];if(e){$a(e)}v[f+12>>2]=c;t=f,x=ab(c),v[t+8>>2]=x}v[f>>2]=2147483632;v[f+16>>2]=v[f+8>>2];c=v[f+20>>2];v[f+28>>2]=c;u[c+2>>1]=0;c=(v[h+112>>2]-v[h+104>>2]|0)+3|0;n:{if(c>>>0<=y[d+24>>2]){break n}e=v[d+20>>2];if(e){$a(e)}v[d+24>>2]=c;t=d,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[d+12>>2]){break n}e=v[d+8>>2];if(e){$a(e)}v[d+12>>2]=c;t=d,x=ab(c),v[t+8>>2]=x}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];c=v[d+20>>2];v[d+28>>2]=c;u[c+2>>1]=0;if(!Gb(a,f)){break k}if(!Uc(h,d)){break k}c=v[b+8>>2];if(v[c+4>>2]!=1){v[c+4>>2]=1;eb(c+2400|0,0,513)}while(1){c=v[f+4>>2];e=v[d+4>>2];if((c|0)>=(e|0)){if((c|0)>(e|0)){while(1){if(!Uc(h,d)){break k}c=v[f+4>>2];e=v[d+4>>2];if((c|0)>(e|0)){continue}break}}if((c|0)!=(e|0)){continue}Se(f,d,g);if(v[g+28>>2]!=v[g+20>>2]){v[g+4>>2]=v[f+4>>2];y1(g,v[b>>2],v[b+4>>2],v[b+8>>2])}if(!Gb(a,f)){break k}if(Uc(h,d)){continue}break k}if(Gb(a,f)){continue}break}}a=v[d+20>>2];if(a){$a(a)}a=v[d+8>>2];if(a){$a(a)}a=v[d+52>>2];if(a){$a(a)}a=v[d+40>>2];if(a){$a(a)}a=v[d+84>>2];if(a){$a(a)}a=v[d+72>>2];if(!a){break a}$a(a)}Ma=d+96|0}function ZJa(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,n=0,o=0,p=0,q=0,r=0;g=zm(v[v[b+96>>2]+4>>2],228483);if(!g){return 11}f=Mb(a,0);a:{if(f){break a}f=Qa[v[g+4>>2]](a,b,c,d,e)|0;if(f){break a}i=v[b+104>>2];f=2;a=v[b+148>>2];b:{if((a|0)<=65535){if((a|0)==-1519689116|(a|0)==-1519619212){break b}break a}if((a|0)==65536|(a|0)==1953658213){break b}if((a|0)!=131072){break a}}v[b+8>>2]=v[b+8>>2]|2048;f=0;if((c|0)<0){break a}f=Qa[v[g+8>>2]](i,b,c,d,e)|0;if(f){break a}l=Ma-128|0;Ma=l;c:{d:{e:{if(!b){break e}a=v[b+20>>2];if(a){j=1;if(Cc(a,441936)){break c}if(Cc(a,441956)){break c}if(Cc(a,441976)){break c}if(Cc(a,441996)){break c}if(Cc(a,442016)){break c}if(Cc(a,442036)){break c}if(Cc(a,442056)){break c}if(Cc(a,442076)){break c}if(Cc(a,442096)){break c}if(Cc(a,442116)){break c}if(Cc(a,442136)){break c}if(Cc(a,442156)){break c}if(Cc(a,442176)){break c}if(Cc(a,442196)){break c}if(Cc(a,442216)){break c}if(Cc(a,442236)){break c}if(Cc(a,442256)){break c}if(Cc(a,442276)){break c}if(Cc(a,442296)){break c}if(Cc(a,442316)){break c}if(Cc(a,442336)){break c}if(Cc(a,442356)){break c}if(Cc(a,442376)){break c}if(Cc(a,442396)){break c}if(Cc(a,442416)){break c}if(Cc(a,442436)){break c}}f=eb(l,0,116);f:{g=x[b+152>>1];if(g){d=0;while(1){j=0;e=1;a=0;h=v[b+156>>2];n=m<<4;k=v[h+n>>2];g:{if((k|0)!=1668707360){h:{if((k|0)!=1886545264){if((k|0)!=1718642541){break g}a=1;break h}a=2}e=d}g=0;while(1){d=h+n|0;p=B(j,24)+(a<<3)|0;if(v[d+12>>2]==v[p+442468>>2]){i:{if(g){break i}h=v[b+516>>2];if(!h){g=0;break i}g=0;if(Qa[h|0](b,v[d>>2],v[b+104>>2],0)|0){break i}k=v[b+104>>2];h=v[(v[b+156>>2]+n|0)+12>>2];if(Ed(k,h)){break i}if(h>>>0>3){while(1){g=Ig(k)+g|0;h=h-4|0;if(h>>>0>3){continue}break}}d=3;if(h){while(1){o=g;g=v[k+32>>2];if(g>>>0>2]){v[k+32>>2]=g+1;g=t[g|0]}else{g=0}g=o+((g<<24>>24&255)<<(d<<3))|0;d=d-1|0;h=h-1|0;if(h){continue}break}}dd(k)}d=f+(j<<2)|0;h=v[d>>2];if(v[p+442464>>2]==(g|0)){h=h+1|0;v[d>>2]=h}if((h|0)==3){break d}}j=j+1|0;if((j|0)!=29){h=v[b+156>>2];continue}break}g=x[b+152>>1];d=e}m=m+1|0;if(m>>>0>>0){continue}break}if(d&255){break f}}j=0;while(1){a=f+(j<<2)|0;g=v[a>>2];if(j-16>>>0<=11){g=g+1|0;v[a>>2]=g}if((g|0)==3){break d}a=j|1;if((a|0)==29){break e}a=f+(a<<2)|0;g=v[a>>2];if(j-15>>>0<=11){g=g+1|0;v[a>>2]=g}if((g|0)==3){break d}j=j+2|0;continue}}j=1;if(v[f>>2]==3|v[f+4>>2]==3|(v[f+8>>2]==3|v[f+12>>2]==3)){break c}if(v[f+16>>2]==3|v[f+20>>2]==3|(v[f+24>>2]==3|v[f+28>>2]==3)){break c}if(v[f+32>>2]==3|v[f+36>>2]==3|(v[f+40>>2]==3|v[f+44>>2]==3)){break c}if(v[f+48>>2]==3|v[f+52>>2]==3|(v[f+56>>2]==3|v[f+60>>2]==3)){break c}if(v[f+64>>2]==3|v[f+68>>2]==3|(v[f+72>>2]==3|v[f+76>>2]==3)){break c}if(v[f+80>>2]==3|v[f+84>>2]==3|(v[f+88>>2]==3|v[f+92>>2]==3)){break c}if(v[f+96>>2]==3|v[f+100>>2]==3|(v[f+104>>2]==3|v[f+108>>2]==3)){break c}if(v[f+112>>2]==3){break c}}j=0;break c}j=1}Ma=l+128|0;if(j){v[b+8>>2]=v[b+8>>2]|8192}e=0;g=Ma-16|0;Ma=g;k=v[i+28>>2];j:{if(Qa[v[b+516>>2]](b,1751412088,i,g+8|0)|0){break j}a=v[g+8>>2];if(a>>>0<8){break j}h=b+768|0;a=Zh(i,a,h);v[g+12>>2]=a;k:{if(a){break k}l:{m:{d=v[h>>2];a=w[d+2|0]<<8|w[d+3|0];if(a>>>0<=255){l=v[g+8>>2];f=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);j=f>>>0>4294901759?f&65535:f;if(!a|j-4>>>0<65534){break m}}v[g+12>>2]=3;break l}q=b,r=yb(k,1,0,a,0,g+12|0),v[q+784>>2]=r;if(v[g+12>>2]){break l}n:{if(!a){break n}f=d+8|0;h=d+l|0;while(1){d=f+j|0;if(d>>>0>h>>>0){break n}t[v[b+784>>2]+e|0]=w[f|0];f=d;e=e+1|0;if((a|0)!=(e|0)){continue}break}e=a}v[b+776>>2]=e;a=v[g+8>>2];v[b+780>>2]=j;v[b+772>>2]=a;break k}Oe(i,h);v[b+772>>2]=0}e=v[g+12>>2]}Ma=g+16|0;f=e;if(f){break a}f=0;o:{if(!(t[b+8|0]&1)){break o}p:{if(v[v[b+128>>2]+52>>2]){break p}f=Ma-16|0;Ma=f;a=b;d=Qa[v[b+516>>2]](b,1735162214,i,b+724|0)|0;q:{r:{if((d&255)==142){v[b+724>>2]=0;d=0;break r}if(d){break q}d=0;if(v[v[b+128>>2]+52>>2]){break r}d=v[i+8>>2]}v[a+728>>2]=d;d=144;if(Qa[v[b+516>>2]](b,1819239265,i,f+12|0)|0){break q}a=v[f+12>>2];d=b;s:{if(x[b+210>>1]){e=2;if(a>>>0>=262144){v[f+12>>2]=262143;a=262143}break s}e=1;if(a>>>0>=131072){v[f+12>>2]=131071;a=131071}}g=d;d=a>>>e|0;v[g+760>>2]=d;g=v[b+16>>2];t:{if(g>>>0>>0){break t}o=d;d=g+1|0;if((o|0)==(d|0)){break t}a=d<>2];j=v[i+8>>2];d=x[b+152>>1];u:{if(d){k=(d<<4)+e|0;d=2147483647;g=0;while(1){h=v[e+8>>2]-j|0;l=(h|0)>0&(d|0)>(h|0);g=l?1:g;d=l?h:d;e=e+16|0;if(k>>>0>e>>>0){continue}break}if(g&255){break u}}d=v[i+4>>2]-j|0}if(a>>>0<=d>>>0){v[b+760>>2]=v[b+16>>2]+1;v[f+12>>2]=a;break t}a=v[b+760>>2];v[b+16>>2]=a?a-1|0:0;a=v[f+12>>2]}d=Zh(i,a,b+764|0)}Ma=f+16|0;f=d;if(v[b+724>>2]){if(f){break a}if((f&255)!=142){break p}break a}if(f){break a}}f=r$(b,i);if((f&255)!=142?f:0){break a}a=Ma-16|0;Ma=a;v:{if(Qa[v[b+516>>2]](b,1718642541,i,a+12|0)|0){v[b+684>>2]=0;v[b+688>>2]=0;f=0;break v}d=v[a+12>>2];v[b+684>>2]=d;f=Zh(i,d,b+688|0)}Ma=a+16|0;if((f&255)!=142?f:0){break a}a=Ma-16|0;Ma=a;w:{if(Qa[v[b+516>>2]](b,1886545264,i,a+12|0)|0){v[b+692>>2]=0;v[b+696>>2]=0;f=0;break w}d=v[a+12>>2];v[b+692>>2]=d;f=Zh(i,d,b+696|0)}Ma=a+16|0;if((f&255)!=142?f:0){break a}if(!v[b+764>>2]|(v[v[b+128>>2]+52>>2]|!v[b+28>>2])){break o}e=0;a=0;d=0;i=Ma-16|0;Ma=i;x:{if(!v[b+760>>2]){break x}while(1){hJ(b,a,i+12|0);y:{if(!v[i+12>>2]){break y}g=e+1|0;d=a;e=1;if(g>>>0<=1){break y}e=0;break x}a=a+1|0;if(a>>>0>2]){continue}break}a=!e;e=0;if(a){break x}e=1;if(!d){break x}e=0;g=35;z:{if(!b){break z}g=6;j=i+4|0;if(!j){break z}t[j|0]=0;g=16;A:{if(v[b+16>>2]<=(d|0)){break A}g=6;if(!(w[b+9|0]&2)){break z}B:{C:{h=v[b+128>>2];a=v[h+40>>2];switch(a+2|0){case 0:break A;case 2:break C;default:break B}}a=v[b+96>>2];g=v[v[a>>2]+32>>2];D:{if(!g){a=0;break D}a=Qa[g|0](a,233523)|0;h=v[b+128>>2]}v[h+40>>2]=a?a:-2}g=6;if(!a){break z}a=v[a>>2];if(!a){break A}g=Qa[a|0](b,d,j,8)|0}}if(w[i+4|0]!=46|g){break x}e=(w[i+4|0]|w[i+5|0]<<8|(w[i+6|0]<<16|w[i+7|0]<<24))==1953459758&(w[i+8|0]|w[i+9|0]<<8|(w[i+10|0]<<16|w[i+11|0]<<24))==6710628}Ma=i+16|0;if(!e){break o}v[b+8>>2]=v[b+8>>2]&-2}if(!(!(t[b+9|0]&1)|c>>>0<65536)){f=h$(b,c>>>16|0);if(f){break a}n$(b);f=0}v[b+536>>2]=2009;v[b+532>>2]=2010;v[b+528>>2]=2011;v[b+520>>2]=2012;v[b+524>>2]=2013}return f|0}function eO(a,b,c,d,e,f,g,h,i,j,k){var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0,A=0;l=Ma-560|0;Ma=l;v[l+548>>2]=k;v[l+552>>2]=b;v[l+96>>2]=4175;k=l+96|0;q=nf(l+136|0,l+144|0,k);b=v[q>>2];v[l+132>>2]=b;v[l+128>>2]=b+400;s=ud(k);p=ud(l+80|0);m=ud(l- -64|0);n=ud(l+48|0);r=ud(l+32|0);k=Ma-16|0;Ma=k;b=l;a:{if(c){d=cO(d);Qa[v[v[d>>2]+44>>2]](k,d);c=v[k>>2];t[l+120|0]=c;t[l+121|0]=c>>>8;t[l+122|0]=c>>>16;t[l+123|0]=c>>>24;Qa[v[v[d>>2]+32>>2]](k,d);Ul(n,k);Vb(k);Qa[v[v[d>>2]+28>>2]](k,d);Ul(m,k);Vb(k);z=l,A=Qa[v[v[d>>2]+12>>2]](d)|0,v[z+116>>2]=A;z=l,A=Qa[v[v[d>>2]+16>>2]](d)|0,v[z+112>>2]=A;Qa[v[v[d>>2]+20>>2]](k,d);Kh(s,k);Vb(k);Qa[v[v[d>>2]+24>>2]](k,d);Ul(p,k);Vb(k);c=Qa[v[v[d>>2]+36>>2]](d)|0;break a}d=bO(d);Qa[v[v[d>>2]+44>>2]](k,d);c=v[k>>2];t[l+120|0]=c;t[l+121|0]=c>>>8;t[l+122|0]=c>>>16;t[l+123|0]=c>>>24;Qa[v[v[d>>2]+32>>2]](k,d);Ul(n,k);Vb(k);Qa[v[v[d>>2]+28>>2]](k,d);Ul(m,k);Vb(k);z=l,A=Qa[v[v[d>>2]+12>>2]](d)|0,v[z+116>>2]=A;z=l,A=Qa[v[v[d>>2]+16>>2]](d)|0,v[z+112>>2]=A;Qa[v[v[d>>2]+20>>2]](k,d);Kh(s,k);Vb(k);Qa[v[v[d>>2]+24>>2]](k,d);Ul(p,k);Vb(k);c=Qa[v[v[d>>2]+36>>2]](d)|0}v[b+28>>2]=c;Ma=k+16|0;v[j>>2]=v[i>>2];u=e&512;x=u>>>9|0;b=0;c=0;while(1){k=c;b:{c:{d:{e:{if((b|0)==4){break e}if(!Lh(a,l+552|0)){break e}e=0;f:{g:{h:{i:{j:{switch(t[(l+120|0)+b|0]){case 1:if((b|0)==3){break c}c=h;e=v[a>>2];d=v[e+12>>2];k:{if((d|0)==v[e+16>>2]){d=Qa[v[v[e>>2]+36>>2]](e)|0;break k}d=v[d>>2]}if(Qa[v[v[h>>2]+12>>2]](c,8192,d)|0){dO(l+16|0,a);Ap(r,v[l+16>>2]);break i}v[f>>2]=v[f>>2]|4;a=0;break d;case 3:break h;case 0:break j;case 4:break f;case 2:break g;default:break b}}if((b|0)==3){break c}}while(1){if(!Lh(a,l+552|0)){break c}c=h;e=v[a>>2];d=v[e+12>>2];l:{if((d|0)==v[e+16>>2]){d=Qa[v[v[e>>2]+36>>2]](e)|0;break l}d=v[d>>2]}if(!(Qa[v[v[h>>2]+12>>2]](c,8192,d)|0)){break c}dO(l+16|0,a);Ap(r,v[l+16>>2]);continue}}if(w[m+11|0]>>>7|0){c=v[m+4>>2]}else{c=w[m+11|0]}if(w[n+11|0]>>>7|0){d=v[n+4>>2]}else{d=w[n+11|0]}if((c|0)==(0-d|0)){break c}if(w[m+11|0]>>>7|0){c=v[m+4>>2]}else{c=w[m+11|0]}if(w[n+11|0]>>>7|0){d=v[n+4>>2]}else{d=w[n+11|0]}if(!(d?c:0)){if(w[m+11|0]>>>7|0){d=v[m+4>>2]}else{d=w[m+11|0]}e=v[a>>2];c=v[e+12>>2];m:{if((c|0)==v[e+16>>2]){c=Qa[v[v[e>>2]+36>>2]](e)|0;break m}c=v[c>>2]}if(d){if(w[m+11|0]>>>7|0){d=v[m>>2]}else{d=m}if((c|0)==v[d>>2]){Yf(a);c=m;d=c;if(w[c+11|0]>>>7|0){c=v[m+4>>2]}else{c=w[m+11|0]}c=c>>>0>1?d:k;break b}t[g|0]=1;break c}if(w[n+11|0]>>>7|0){d=v[n>>2]}else{d=n}if(v[d>>2]!=(c|0)){break c}Yf(a);t[g|0]=1;c=n;d=c;if(w[c+11|0]>>>7|0){c=v[n+4>>2]}else{c=w[n+11|0]}c=c>>>0>1?d:k;break b}d=v[a>>2];c=v[d+12>>2];n:{if((c|0)==v[d+16>>2]){c=Qa[v[v[d>>2]+36>>2]](d)|0;break n}c=v[c>>2]}if(w[m+11|0]>>>7|0){d=v[m>>2]}else{d=m}if((c|0)==v[d>>2]){Yf(a);c=m;d=c;if(w[c+11|0]>>>7|0){c=v[m+4>>2]}else{c=w[m+11|0]}c=c>>>0>1?d:k;break b}d=v[a>>2];c=v[d+12>>2];o:{if((c|0)==v[d+16>>2]){c=Qa[v[v[d>>2]+36>>2]](d)|0;break o}c=v[c>>2]}if(w[n+11|0]>>>7|0){d=v[n>>2]}else{d=n}if((c|0)==v[d>>2]){Yf(a);t[g|0]=1;c=n;d=c;if(w[c+11|0]>>>7|0){c=v[n+4>>2]}else{c=w[n+11|0]}c=c>>>0>1?d:k;break b}v[f>>2]=v[f>>2]|4;a=0;break d}if(!(b>>>0<2|k)){c=0;if(!((b|0)==2&w[l+123|0]!=0|x)){break b}}z=l,A=Hi(p),v[z+8>>2]=A;v[l+16>>2]=v[l+8>>2];p:{if(!b|w[(b+l|0)+119|0]>1){break p}while(1){q:{z=l,A=Zn(p),v[z+8>>2]=A;if(v[l+16>>2]==v[l+8>>2]){break q}if(!(Qa[v[v[h>>2]+12>>2]](h,8192,v[v[l+16>>2]>>2])|0)){break q}v[l+16>>2]=v[l+16>>2]+4;continue}break}z=l,A=Hi(p),v[z+8>>2]=A;if(w[r+11|0]>>>7|0){d=v[r+4>>2]}else{d=w[r+11|0]}c=v[l+16>>2]-v[l+8>>2]>>2;if(d>>>0>=c>>>0){z=l,A=Zn(r),v[z+8>>2]=A;e=oD(l+8|0,0-c|0);d=Zn(r);c=Hi(p);o=Ma-32|0;Ma=o;v[o+16>>2]=d;v[o+24>>2]=e;v[o+8>>2]=c;while(1){c=v[o+24>>2]!=v[o+16>>2];if(!(!c|v[v[o+24>>2]>>2]!=v[v[o+8>>2]>>2])){v[o+24>>2]=v[o+24>>2]+4;v[o+8>>2]=v[o+8>>2]+4;continue}break}Ma=o+32|0;if(!c){break p}}z=l,A=Hi(p),v[z>>2]=A;v[l+8>>2]=v[l>>2];v[l+16>>2]=v[l+8>>2]}v[l+8>>2]=v[l+16>>2];while(1){r:{z=l,A=Zn(p),v[z>>2]=A;if(v[l+8>>2]==v[l>>2]){break r}if(!Lh(a,l+552|0)){break r}d=v[a>>2];c=v[d+12>>2];s:{if((c|0)==v[d+16>>2]){c=Qa[v[v[d>>2]+36>>2]](d)|0;break s}c=v[c>>2]}if((c|0)!=v[v[l+8>>2]>>2]){break r}Yf(a);v[l+8>>2]=v[l+8>>2]+4;continue}break}if(!u){break c}z=l,A=Zn(p),v[z>>2]=A;if(v[l+8>>2]==v[l>>2]){break c}v[f>>2]=v[f>>2]|4;a=0;break d}while(1){t:{if(!Lh(a,l+552|0)){break t}y=h;o=v[a>>2];d=v[o+12>>2];u:{if((d|0)==v[o+16>>2]){c=Qa[v[v[o>>2]+36>>2]](o)|0;break u}c=v[d>>2]}v:{if(Qa[v[v[h>>2]+12>>2]](y,2048,c)|0){d=v[j>>2];if((d|0)==v[l+548>>2]){xr(i,j,l+548|0);d=v[j>>2]}v[j>>2]=d+4;v[d>>2]=c;e=e+1|0;break v}if(w[s+11|0]>>>7|0){d=v[s+4>>2]}else{d=w[s+11|0]}if(!d|!e|(c|0)!=v[l+112>>2]){break t}c=v[l+132>>2];if((c|0)==v[l+128>>2]){xr(q,l+132|0,l+128|0);c=v[l+132>>2]}v[l+132>>2]=c+4;v[c>>2]=e;e=0}Yf(a);continue}break}c=v[l+132>>2];if(!(!e|(c|0)==v[q>>2])){if(v[l+128>>2]==(c|0)){xr(q,l+132|0,l+128|0);c=v[l+132>>2]}v[l+132>>2]=c+4;v[c>>2]=e}w:{if(v[l+28>>2]<1){break w}x:{if(!jg(a,l+552|0)){d=v[a>>2];c=v[d+12>>2];y:{if((c|0)==v[d+16>>2]){c=Qa[v[v[d>>2]+36>>2]](d)|0;break y}c=v[c>>2]}if((c|0)==v[l+116>>2]){break x}}v[f>>2]=v[f>>2]|4;a=0;break d}while(1){Yf(a);if(v[l+28>>2]<1){break w}z:{if(!jg(a,l+552|0)){c=h;e=v[a>>2];d=v[e+12>>2];A:{if((d|0)==v[e+16>>2]){d=Qa[v[v[e>>2]+36>>2]](e)|0;break A}d=v[d>>2]}if(Qa[v[v[h>>2]+12>>2]](c,2048,d)|0){break z}}v[f>>2]=v[f>>2]|4;a=0;break d}if(v[j>>2]==v[l+548>>2]){xr(i,j,l+548|0)}d=v[a>>2];c=v[d+12>>2];B:{if((c|0)==v[d+16>>2]){d=Qa[v[v[d>>2]+36>>2]](d)|0;break B}d=v[c>>2]}c=v[j>>2];v[j>>2]=c+4;v[c>>2]=d;v[l+28>>2]=v[l+28>>2]-1;continue}}c=k;if(v[i>>2]!=v[j>>2]){break b}v[f>>2]=v[f>>2]|4;a=0;break d}C:{if(!k){break C}e=1;while(1){if(w[k+11|0]>>>7|0){b=v[k+4>>2]}else{b=w[k+11|0]}if(b>>>0<=e>>>0){break C}D:{if(!jg(a,l+552|0)){c=v[a>>2];b=v[c+12>>2];E:{if((b|0)==v[c+16>>2]){b=Qa[v[v[c>>2]+36>>2]](c)|0;break E}b=v[b>>2]}if(w[k+11|0]>>>7|0){c=v[k>>2]}else{c=k}if((b|0)==v[c+(e<<2)>>2]){break D}}v[f>>2]=v[f>>2]|4;a=0;break d}Yf(a);e=e+1|0;continue}}a=1;if(v[q>>2]==v[l+132>>2]){break d}a=0;v[l+16>>2]=0;Jh(s,v[q>>2],v[l+132>>2],l+16|0);if(v[l+16>>2]){v[f>>2]=v[f>>2]|4;break d}a=1}Vb(r);Vb(n);Vb(m);Vb(p);Vb(s);b=v[q>>2];v[q>>2]=0;if(b){Qa[v[q+4>>2]](b)}Ma=l+560|0;return a}c=k}b=b+1|0;continue}}function wma(a){a=a|0;var 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;j=Ma-16|0;Ma=j;v[j+12>>2]=0;v[j+8>>2]=0;k=v[a+4>>2];m=Ma-32|0;Ma=m;l=ab(24);v[l+12>>2]=0;v[l+20>>2]=1;aI(m,l);c=Ma-48|0;Ma=c;a:{if(m){JY(c,m);b=EY(c);break a}b=EY(0)}Ma=c+48|0;b:{c:{i=v[k+8>>2];c=v[k+12>>2];if((i|0)==(c|0)){break c}while(1){if(!v[i+16>>2]){LY(k,i,i+12|0,i+16|0)}i=i+20|0;if((c|0)!=(i|0)){continue}break}i=v[k+8>>2];o=v[k+12>>2];if((i|0)==(o|0)){break c}while(1){d:{d=t[i+11|0]<0?v[i>>2]:i;n=Ma-32|0;Ma=n;c=-102;e:{if(!b){break e}if(v[b+56>>2]==1){c=bI(b);if(c){break e}}h=d?d:326440;e=zb(h);v[b+65700>>2]=0;v[b+152>>2]=0;v[b+156>>2]=8;v[b+65704>>2]=0;v[b+65708>>2]=0;v[b+160>>2]=0;v[b+120>>2]=0;v[b+124>>2]=0;c=Mo(b,v[b+44>>2]);d=Pa;g=d;v[b+148>>2]=32;v[b+128>>2]=c;v[b+132>>2]=d;v[b+144>>2]=e+46;d=gb(e+78|0);v[b+140>>2]=0;v[b+136>>2]=d;t[d+5|0]=0;t[d+4|0]=0;v[d>>2]=33639248;u[d+6>>1]=20;f=v[b+152>>2];u[d+8>>1]=f;if(f>>>0>=65536){u[d+8>>1]=65535}f=v[b+156>>2];u[d+10>>1]=f;if(f>>>0>=65536){u[d+10>>1]=65535}f=v[b+65700>>2];t[d+29|0]=e>>>8;t[d+28|0]=e;v[d+24>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;t[d+12|0]=f;t[d+15|0]=f>>>24;t[d+14|0]=f>>>16;t[d+13|0]=f>>>8;if(e>>>0>=65536){u[d+28>>1]=65535}u[d+30>>1]=0;u[d+32>>1]=0;u[d+34>>1]=0;u[d+38>>1]=0;u[d+40>>1]=0;u[d+36>>1]=0;f:{if(!g&c>>>0<=4294967294){f=v[b+65776>>2];g=g-(v[b+65780>>2]+(f>>>0>c>>>0)|0)|0;c=c-f|0;u[d+42>>1]=c;u[d+44>>1]=c>>>16;if(g>>>0<1){break f}}u[d+42>>1]=65535;u[d+44>>1]=65535}g:{if(!e){break g}t[d+46|0]=w[h|0];c=1;if((e|0)==1){break g}d=e-1|0;f=d&3;if(e-2>>>0>=3){d=d&-4;while(1){t[(v[b+136>>2]+c|0)+46|0]=w[c+h|0];e=c+1|0;t[(e+v[b+136>>2]|0)+46|0]=w[e+h|0];e=c+2|0;t[(e+v[b+136>>2]|0)+46|0]=w[e+h|0];e=c+3|0;t[(e+v[b+136>>2]|0)+46|0]=w[e+h|0];c=c+4|0;d=d-4|0;if(d){continue}break}}if(!f){break g}while(1){t[(v[b+136>>2]+c|0)+46|0]=w[c+h|0];c=c+1|0;f=f-1|0;if(f){continue}break}}if(!v[b+136>>2]){c=-104;break e}v[b+65720>>2]=0;v[b+65724>>2]=0;v[b+65712>>2]=0;c=b+65728|0;v[c>>2]=0;v[c+4>>2]=0;c=b+65736|0;v[c>>2]=0;v[c+4>>2]=0;c=Ma-16|0;Ma=c;e=zb(h);f=v[b+44>>2];v[c+8>>2]=67324752;d=-1;h:{if((Qa[v[b+8>>2]](v[b+28>>2],f,c+8|0,4)|0)!=4){break h}f=v[b+44>>2];i:{if(v[b+65712>>2]){u[c+8>>1]=45;g=Qa[v[b+8>>2]](v[b+28>>2],f,c+8|0,2)|0;break i}u[c+8>>1]=20;g=Qa[v[b+8>>2]](v[b+28>>2],f,c+8|0,2)|0}if((g|0)!=2){break h}f=v[b+44>>2];g=v[b+152>>2];u[c+8>>1]=g;if(g>>>0>=65536){u[c+8>>1]=65535}if((Qa[v[b+8>>2]](v[b+28>>2],f,c+8|0,2)|0)!=2){break h}f=v[b+44>>2];g=v[b+156>>2];u[c+8>>1]=g;if(g>>>0>=65536){u[c+8>>1]=65535}if((Qa[v[b+8>>2]](v[b+28>>2],f,c+8|0,2)|0)!=2){break h}f=v[b+44>>2];v[c+8>>2]=v[b+65700>>2];if((Qa[v[b+8>>2]](v[b+28>>2],f,c+8|0,4)|0)!=4){break h}f=v[b+44>>2];v[c+8>>2]=0;if((Qa[v[b+8>>2]](v[b+28>>2],f,c+8|0,4)|0)!=4){break h}f=v[b+44>>2];j:{if(v[b+65712>>2]){v[c+8>>2]=-1;g=Qa[v[b+8>>2]](v[b+28>>2],f,c+8|0,4)|0;break j}v[c+8>>2]=0;g=Qa[v[b+8>>2]](v[b+28>>2],f,c+8|0,4)|0}if((g|0)!=4){break h}f=v[b+44>>2];k:{if(v[b+65712>>2]){v[c+8>>2]=-1;g=Qa[v[b+8>>2]](v[b+28>>2],f,c+8|0,4)|0;break k}v[c+8>>2]=0;g=Qa[v[b+8>>2]](v[b+28>>2],f,c+8|0,4)|0}if((g|0)!=4){break h}f=v[b+44>>2];u[c+8>>1]=e;if(e>>>0>=65536){u[c+8>>1]=65535}if((Qa[v[b+8>>2]](v[b+28>>2],f,c+8|0,2)|0)!=2){break h}f=v[b+44>>2];g=v[b+65712>>2]?20:0;u[c+8>>1]=g;if(g>>>0>=65536){u[c+8>>1]=65535}f=(Qa[v[b+8>>2]](v[b+28>>2],f,c+8|0,2)|0)!=2;if(!(f|!e)){f=(Qa[v[b+8>>2]](v[b+28>>2],v[b+44>>2],h,e)|0)!=(e|0)}l:{if(f){break l}}if(f){break h}if(!v[b+65712>>2]){d=0;break h}d=b+65720|0;r=d,s=Mo(b,v[b+44>>2]),v[r>>2]=s;v[d+4>>2]=Pa;d=v[b+44>>2];u[c+8>>1]=1;e=d;d=c+8|0;Qa[v[b+8>>2]](v[b+28>>2],e,d,2)|0;e=v[b+44>>2];u[c+8>>1]=16;Qa[v[b+8>>2]](v[b+28>>2],e,d,2)|0;e=v[b+44>>2];v[c+8>>2]=0;v[c+12>>2]=0;Qa[v[b+8>>2]](v[b+28>>2],e,d,8)|0;e=v[b+44>>2];v[c+8>>2]=0;v[c+12>>2]=0;d=(Qa[v[b+8>>2]](v[b+28>>2],e,d,8)|0)!=8?-1:0}Ma=c+16|0;v[b+68>>2]=0;v[b+72>>2]=0;v[b+76>>2]=b+164;v[b+108>>2]=0;v[b+80>>2]=65536;v[b+84>>2]=0;m:{c=d;if(c){break m}if(!(v[b+160>>2]|v[b+156>>2]!=8)){v[b+104>>2]=0;v[b+96>>2]=0;v[b+100>>2]=0;c=cw(b- -64|0,-1,8,-15,8,0,324916);if(c){break m}v[b+120>>2]=8}v[b+65760>>2]=0;v[b+56>>2]=1;c=0;break e}v[b+65760>>2]=0}Ma=n+32|0;if(c){break d}e=v[i+12>>2];c=v[i+16>>2];d=-102;n:{if(!b|!v[b+56>>2]){break n}d=lf(v[b+65704>>2],e,c);v[b+68>>2]=c;v[b+64>>2]=e;v[b+65704>>2]=d;if(c){g=b+164|0;p=b- -64|0;n=b+65752|0;while(1){o:{d=v[b+80>>2];if(d){break o}e=v[b+124>>2];p:{if(!v[b+65708>>2]){c=e;break p}d=0;c=0;if(!e){break p}while(1){h=v[b+65756>>2];c=b+d|0;e=v[b+65744>>2];e=v[h+((w[c+164|0]^e&255)<<2)>>2]^e>>>8;v[b+65744>>2]=e;f=B(v[b+65748>>2]+(e&255)|0,134775813)+1|0;v[b+65748>>2]=f;e=v[n>>2];v[n>>2]=v[h+((e&255^f>>>24)<<2)>>2]^e>>>8;f=c;h=w[c+164|0];c=e&65533;t[f+164|0]=h^B(c|2,c^3)>>>8;c=v[b+124>>2];d=d+1|0;if(c>>>0>d>>>0){continue}break}}d=65536;q=Qa[v[b+8>>2]](v[b+28>>2],v[b+44>>2],g,c)|0;v[b+80>>2]=65536;v[b+76>>2]=g;h=v[b+72>>2];v[b+72>>2]=0;c=v[b+124>>2];v[b+124>>2]=0;e=v[b+65736>>2];f=e+h|0;h=v[b+65740>>2];v[b+65736>>2]=f;v[b+65740>>2]=e>>>0>f>>>0?h+1|0:h;f=v[b+65732>>2];e=c+v[b+65728>>2]|0;v[b+65728>>2]=e;v[b+65732>>2]=c>>>0>e>>>0?f+1|0:f;if((c|0)==(q|0)){break o}d=-1;break n}q:{if(!(v[b+160>>2]?0:v[b+156>>2]==8)){c=v[b+68>>2];e=c>>>0>>0?c:d;if(e){c=e&3;d=0;if(e-1>>>0>=3){h=e&-4;while(1){t[v[b+76>>2]+d|0]=w[v[b+64>>2]+d|0];f=d|1;t[f+v[b+76>>2]|0]=w[f+v[b+64>>2]|0];f=d|2;t[f+v[b+76>>2]|0]=w[f+v[b+64>>2]|0];f=d|3;t[f+v[b+76>>2]|0]=w[f+v[b+64>>2]|0];d=d+4|0;h=h-4|0;if(h){continue}break}}if(c){while(1){t[v[b+76>>2]+d|0]=w[v[b+64>>2]+d|0];d=d+1|0;c=c-1|0;if(c){continue}break}}d=v[b+80>>2];c=v[b+68>>2]}v[b+80>>2]=d-e;v[b+68>>2]=c-e;v[b+64>>2]=e+v[b+64>>2];v[b+76>>2]=e+v[b+76>>2];v[b+72>>2]=e+v[b+72>>2];v[b+84>>2]=e+v[b+84>>2];v[b+124>>2]=e+v[b+124>>2];break q}c=v[b+84>>2];d=ck(p,0);v[b+124>>2]=v[b+124>>2]+(v[b+84>>2]-c|0);if(d){break n}}if(v[b+68>>2]){continue}break}}d=0}if(d){break d}if(bI(b)){break d}i=i+20|0;if((o|0)!=(i|0)){continue}break c}break}DY(b);v[j+12>>2]=0;v[j+8>>2]=0;break b}DY(b);b=v[l>>2];v[k>>2]=b;v[j+12>>2]=b;b=v[l+12>>2];v[k+4>>2]=b;v[j+8>>2]=b;$a(l)}Ma=m+32|0;iI(v[a+4>>2]);a=ab(12);b=v[j+12>>2];c=v[j+8>>2];t[a+8|0]=1;v[a+4>>2]=c;v[a>>2]=b;Ma=j+16|0;return a|0}function Hw(a,b){var 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=C(0),s=C(0),x=0,y=0;k=Ma-32|0;Ma=k;a:{if(!b){break a}d=v[a+16>>2];if(d){f=w[d+2832|0]!=0}else{f=0}o=v[b+8>>2];if(!(o?(o|0)!=1e3:0)){g=A[a+664>>3]*+v[b+20>>2];b:{if(g<4294967296&g>=0){a=~~g>>>0;break b}a=0}b=v[b+12>>2];c=ab(12);v[c+8>>2]=f?b<<16&16711680|(b>>>16&255|(b&65280|a<<24)):b|a<<24;v[c>>2]=360080;v[c+4>>2]=0;break a}c:{d:{e:{if(!(o-2001>>>0<9|o-6e3>>>0<8)){if((o|0)!=4009){break c}g=A[a+664>>3];m=g*+v[b+20>>2];if(!(m<4294967296&m>=0)){break e}a=~~m>>>0;break d}g=A[a+664>>3];m=g*+v[b+20>>2];f:{if(m<4294967296&m>=0){d=~~m>>>0;break f}d=0}e=v[b+12>>2];j=k;g:{if(!f){d=e|d<<24;c=v[b+16>>2];g=g*+v[b+24>>2];h:{if(g<4294967296&g>=0){e=~~g>>>0;break h}e=0}e=c|e<<24;break g}c=v[b+16>>2];i=c&65280;d=e<<16&16711680|(e>>>16&255|(e&65280|d<<24));h=c<<16&16711680;c=c>>>16&255;g=g*+v[b+24>>2];i:{if(g<4294967296&g>=0){e=~~g>>>0;break i}e=0}e=h|(c|(i|e<<24))}v[j+16>>2]=e;v[k+24>>2]=d;c=ab(336);v[k+8>>2]=1065353216;v[k+12>>2]=1065353216;v[k>>2]=0;v[k+4>>2]=0;g=A[b+104>>3];v[c>>2]=360120;v[c+4>>2]=4;v[c+8>>2]=0;v[c+12>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=0;v[c+36>>2]=1065353216;v[c+48>>2]=0;v[c+52>>2]=0;v[c+92>>2]=1;v[c+84>>2]=0;v[c+88>>2]=1;v[c+76>>2]=0;v[c+80>>2]=0;v[c+68>>2]=1056964608;v[c+72>>2]=1065353216;u[c- -64>>1]=0;v[c+56>>2]=1065353216;v[c+60>>2]=1065353216;v[c+96>>2]=0;v[c+100>>2]=0;v[c+104>>2]=0;v[c+108>>2]=0;v[c+112>>2]=0;v[c+116>>2]=0;v[c+144>>2]=0;v[c+148>>2]=0;v[c+136>>2]=0;v[c+140>>2]=0;v[c+128>>2]=0;v[c+132>>2]=0;d=ab(24);v[c+140>>2]=d;j=d+24|0;v[c+148>>2]=j;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=0;v[d+4>>2]=0;v[c+144>>2]=j;eb(c+156|0,0,88);v[c+252>>2]=0;v[c+256>>2]=0;v[c+244>>2]=-16777216;v[c+248>>2]=-16777216;v[c+260>>2]=0;v[c+264>>2]=0;v[c+268>>2]=0;v[c+272>>2]=0;v[c+276>>2]=0;_h(c+280|0);v[c+312>>2]=0;v[c+316>>2]=0;v[c+304>>2]=0;v[c+308>>2]=0;v[c+296>>2]=0;v[c+300>>2]=0;v[c+288>>2]=0;v[c+292>>2]=0;r=z[k>>2];z[c+252>>2]=r;s=z[k+4>>2];z[c+256>>2]=s;z[c+260>>2]=r+z[k+8>>2];z[c+264>>2]=s+z[k+12>>2];v[c+244>>2]=v[k+24>>2];d=v[k+16>>2];v[c+328>>2]=1;v[c+332>>2]=0;v[c+324>>2]=1;v[c+320>>2]=0;z[c+284>>2]=g;v[c+248>>2]=d;v[c+332>>2]=1;cb(c+8|0,b+124|0,80);yt(c+88|0,b+204|0);x=3;h=v[b+112>>2];i=v[b+116>>2]-h|0;if((i|0)>=1){n=i>>>1|0;j=ab(n);l=(i>>1)-4|0;e=(l>>>2|0)+1&7;j:{if(!e){d=j;break j}d=j;while(1){v[d>>2]=-16777216;d=d+4|0;e=e-1|0;if(e){continue}break}}i=i>>3;if(l>>>0>=28){e=j+(i<<2)|0;while(1){v[d+24>>2]=-16777216;v[d+28>>2]=-16777216;v[d+16>>2]=-16777216;v[d+20>>2]=-16777216;v[d+8>>2]=-16777216;v[d+12>>2]=-16777216;v[d>>2]=-16777216;v[d+4>>2]=-16777216;d=d+32|0;if((e|0)!=(d|0)){continue}break}}d=(i|0)>1?i:1;n=ab(n);m=A[a+664>>3];e=0;while(1){l=e<<2;y=l+j|0;q=h+(e<<3)|0;a=v[q>>2];p=a>>>16|0;p=(f?p:a)&255|a&65280|(f?a:p)<<16&16711680;g=m*+(a>>>24|0);k:{if(g<4294967296&g>=0){a=~~g>>>0;break k}a=0}v[y>>2]=p|a<<24;z[n+l>>2]=+v[q+4>>2]*152587890625e-16;e=e+1|0;if((d|0)!=(e|0)){continue}break}v[c+272>>2]=v[c+268>>2];l:{if(!n|(!j|(i|0)<1)){break l}m:{f=v[c+276>>2];d=v[c+272>>2];if(i>>>0<=f-d>>3>>>0){n:{if(!i){break n}f=i<<3;e=f;a=d;f=f-8|0;h=(f>>>3|0)+1&7;if(h){while(1){v[a>>2]=-16777216;v[a+4>>2]=0;a=a+8|0;h=h-1|0;if(h){continue}break}}d=d+e|0;if(f>>>0<56){break n}while(1){v[a+56>>2]=-16777216;v[a+60>>2]=0;v[a+48>>2]=-16777216;v[a+52>>2]=0;v[a+40>>2]=-16777216;v[a+44>>2]=0;v[a+32>>2]=-16777216;v[a+36>>2]=0;v[a+24>>2]=-16777216;v[a+28>>2]=0;v[a+16>>2]=-16777216;v[a+20>>2]=0;v[a+8>>2]=-16777216;v[a+12>>2]=0;v[a>>2]=-16777216;v[a+4>>2]=0;a=a- -64|0;if((d|0)!=(a|0)){continue}break}}v[c+272>>2]=d;break m}o:{e=v[c+268>>2];h=d-e>>3;a=h+i|0;if(a>>>0<536870912){f=f-e|0;e=f>>2;l=f>>3>>>0<268435455?a>>>0>e>>>0?a:e:536870911;if(l){if(l>>>0>=536870912){break o}e=ab(l<<3)}else{e=0}f=e+(h<<3)|0;a=f;p=i<<3;q=p-8|0;h=(q>>>3|0)+1&7;if(h){a=f;while(1){v[a>>2]=-16777216;v[a+4>>2]=0;a=a+8|0;h=h-1|0;if(h){continue}break}}h=f+p|0;if(q>>>0>=56){while(1){v[a+56>>2]=-16777216;v[a+60>>2]=0;v[a+48>>2]=-16777216;v[a+52>>2]=0;v[a+40>>2]=-16777216;v[a+44>>2]=0;v[a+32>>2]=-16777216;v[a+36>>2]=0;v[a+24>>2]=-16777216;v[a+28>>2]=0;v[a+16>>2]=-16777216;v[a+20>>2]=0;v[a+8>>2]=-16777216;v[a+12>>2]=0;v[a>>2]=-16777216;v[a+4>>2]=0;a=a- -64|0;if((h|0)!=(a|0)){continue}break}}a=v[c+268>>2];d=d-a|0;f=f-d|0;if((d|0)>=1){cb(f,a,d)}v[c+276>>2]=e+(l<<3);v[c+272>>2]=h;v[c+268>>2]=f;if(a){$a(a)}break m}Jc();L()}Zd(273730);L()}a=v[c+268>>2];d=0;if((i|0)!=1){e=i&-2;while(1){f=a+(d<<3)|0;h=d<<2;v[f>>2]=v[h+j>>2];z[f+4>>2]=z[h+n>>2];f=d|1;h=a+(f<<3)|0;f=f<<2;v[h>>2]=v[f+j>>2];z[h+4>>2]=z[f+n>>2];d=d+2|0;e=e-2|0;if(e){continue}break}}if(!(i&1)){break l}a=a+(d<<3)|0;d=d<<2;v[a>>2]=v[d+j>>2];z[a+4>>2]=z[d+n>>2]}$a(j);$a(n)}A[c+288>>3]=A[b+72>>3];A[c+296>>3]=A[b+80>>3];A[c+304>>3]=A[b+88>>3];A[c+312>>3]=A[b+96>>3];p:{q:{switch(o-6e3|0){default:if((o|0)==2007){break p}break a;case 0:v[c+4>>2]=100;break a;case 1:v[c+4>>2]=5;break a;case 4:v[c+4>>2]=8;break a;case 2:v[c+4>>2]=6;break a;case 3:v[c+4>>2]=7;break a;case 7:v[c+4>>2]=11;break a;case 6:v[c+4>>2]=10;break a;case 5:break q}}x=9}v[c+4>>2]=x;break a}a=0}d=v[b+12>>2];r:{if(!f){j=a<<24;f=v[b+16>>2];g=g*+v[b+24>>2];s:{if(g<4294967296&g>=0){a=~~g>>>0;break s}a=0}e=f|a<<24;d=d|j;break r}j=d>>>16&255|(d&65280|a<<24);d=d<<16&16711680;a=v[b+16>>2];f=a&65280;e=a<<16&16711680;c=a>>>16&255;g=g*+v[b+24>>2];t:{if(g<4294967296&g>=0){a=~~g>>>0;break t}a=0}e=e|(c|(f|a<<24));d=d|j}c=ab(64);v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=360100;v[c+4>>2]=1;v[c+32>>2]=0;v[c+36>>2]=0;v[c+20>>2]=-16777216;v[c+24>>2]=-16777216;v[c+16>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[c+24>>2]=e;v[c+20>>2]=d;Yo(c+8|0,b+28|0);A[c+32>>3]=A[b+72>>3];A[c+40>>3]=A[b+80>>3];A[c+48>>3]=A[b+88>>3];A[c+56>>3]=A[b+96>>3];break a}c=ab(40);v[c+16>>2]=4;v[c>>2]=360140;v[c+4>>2]=2;_h(c+20|0);v[c+28>>2]=-16777216;v[c+32>>2]=-16777216;a=ab(32);v[a+12>>2]=0;v[a+16>>2]=0;v[a+4>>2]=1;v[a>>2]=360452;v[a+20>>2]=0;v[a+24>>2]=0;t[a+28|0]=0;w1(a,b+28|0);t[c+36|0]=255;v[c+24>>2]=0;v[c+12>>2]=1;v[c+8>>2]=a}Ma=k+32|0;return c}function et(a,b){a=a|0;b=b|0;var 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,z=0,A=0,C=0,D=0,E=0,F=0,G=0;g=Ma+-64|0;Ma=g;q=v[a+100>>2];h=v[a+104>>2];v[g+56>>2]=0;e=v[a+736>>2];a:{b:{if(!e){c=Qa[v[a+516>>2]](a,1735811442,h,g+60|0)|0;v[g+56>>2]=c;if(c){c=Qa[v[a+516>>2]](a,1128678962,h,g+60|0)|0;v[g+56>>2]=c;if(c){break a}}c=Qa[v[a+516>>2]](a,1719034226,h,g+60|0)|0;v[g+56>>2]=c;if(c){break a}n=v[h+8>>2];c=Dd(h,443168,g+40|0);v[g+56>>2]=c;if(c){break a}i=x[g+46>>1];f=x[g+52>>1];c=cc(q,80,g+56|0);v[a+736>>2]=c;if(v[g+56>>2]){break a}j=x[g+46>>1];v[c>>2]=j;D=(f|0)==((i<<2)+6|0);break b}j=v[e>>2];c=e}s=B(j,24);i=v[a+12>>2];p=i>>>16|0;z=B(p,12);A=(j<<1)+3&-4;E=B(j,p);C=E<<2;if(!e){e=c;c=((((B(j,5)+s|0)+A|0)+z|0)+C|0)+20|0;v[e+16>>2]=c;l=cc(q,c,g+56|0);if(v[g+56>>2]){break a}v[v[a+736>>2]+12>>2]=l;r=l+20|0;m=A+r|0;o=s+m|0;v[l+16>>2]=o;v[l+12>>2]=m;v[l+8>>2]=p;v[l+4>>2]=-1;v[l>>2]=j;e=o+z|0;c:{if(i>>>0<65536){break c}c=p>>>0>1?p:1;i=c&3;d:{if(c-1>>>0<3){c=e;break d}f=c&65532;c=e;while(1){v[o+B(d,12)>>2]=c;k=c;c=j<<2;k=k+c|0;v[o+B(d|1,12)>>2]=k;k=c+k|0;v[o+B(d|2,12)>>2]=k;k=c+k|0;v[o+B(d|3,12)>>2]=k;c=c+k|0;d=d+4|0;f=f-4|0;if(f){continue}break}}if(!i){break c}f=j<<2;while(1){v[o+B(d,12)>>2]=c;d=d+1|0;c=c+f|0;i=i-1|0;if(i){continue}break}}e:{if(!j){break e}f=j&7;c=e+C|0;d=0;if(j-1>>>0>=7){i=j&-8;while(1){v[B(d,24)+m>>2]=c;v[B(d|1,24)+m>>2]=c+5;v[B(d|2,24)+m>>2]=c+10;v[B(d|3,24)+m>>2]=c+15;v[B(d|4,24)+m>>2]=c+20;v[B(d|5,24)+m>>2]=c+25;v[B(d|6,24)+m>>2]=c+30;v[B(d|7,24)+m>>2]=c+35;d=d+8|0;c=c+40|0;i=i-8|0;if(i){continue}break}}if(!f){break e}while(1){v[B(d,24)+m>>2]=c;d=d+1|0;c=c+5|0;f=f-1|0;if(f){continue}break}}c=Mb(h,x[g+44>>1]+n|0);v[g+56>>2]=c;if(c){break a}if(j){d=v[l+12>>2];e=0;while(1){c=Dd(h,443216,g+16|0);v[g+56>>2]=c;if(c){break a}c=v[g+16>>2];v[d+16>>2]=c;v[d+4>>2]=v[g+20>>2];v[d+8>>2]=v[g+24>>2];v[d+12>>2]=v[g+28>>2];v[d+20>>2]=x[g+34>>1];t[v[d>>2]]=c>>>24;t[v[d>>2]+1|0]=x[d+18>>1];t[v[d>>2]+2|0]=v[d+16>>2]>>>8;t[v[d>>2]+3|0]=v[d+16>>2];t[v[d>>2]+4|0]=0;u[r>>1]=x[g+32>>1];c=v[d+8>>2];if(!((c|0)>=v[d+4>>2]&(c|0)<=v[d+12>>2])){v[d+12>>2]=c;v[d+4>>2]=c}r=r+2|0;d=d+24|0;e=e+1|0;if((j|0)!=(e|0)){continue}break}}d=0;f=yb(q,4,0,E,0,g+56|0);c=v[a+736>>2];v[c+20>>2]=f;if(v[g+56>>2]){break a}f:{if(!x[g+50>>1]){break f}if(!w[c+24|0]){c=v[h+8>>2];l$(a);c=Mb(h,c);v[g+56>>2]=c;if(c){break a}if(!x[g+50>>1]){break f}f=v[v[a+736>>2]+20>>2]}m=j<<2;n=m+(D?6:4)|0;o=!D;e=v[l+16>>2];i=0;while(1){c=Ed(h,n);v[g+56>>2]=c;if(c){break a}F=e,G=ae(h),v[F+4>>2]=G;ae(h);if(j){d=v[e>>2];c=0;while(1){F=d,G=Ig(h),v[F>>2]=G;d=d+4|0;c=c+1|0;if((j|0)!=(c|0)){continue}break}}c=e;if(o){k=65535}else{k=ae(h)}v[c+8>>2]=k;k$(v[a+736>>2],j,v[e>>2],f);dd(h);e=e+12|0;f=f+m|0;d=x[g+50>>1];i=i+1|0;if(d>>>0>i>>>0){continue}break}}g:{if((d|0)==(p|0)){break g}c=17;e=v[a+540>>2];if(!(Qa[v[e+148>>2]](a,17,g+16|0,g+12|0)|0)){c=2;if(!(Qa[v[e+148>>2]](a,2,g+16|0,g+12|0)|0)){break g}}if(!(Qa[v[e+148>>2]](a,6,g+16|0,g+12|0)|0)){break g}d=v[l+16>>2]+B(x[g+50>>1],12)|0;v[d+8>>2]=6;v[d+4>>2]=c;if(!j){break g}e=j&7;d=v[d>>2];c=v[l+12>>2];if(j-1>>>0>=7){f=j&-8;while(1){v[d>>2]=v[c+8>>2];v[d+4>>2]=v[c+32>>2];v[d+8>>2]=v[c+56>>2];v[d+12>>2]=v[c+80>>2];v[d+16>>2]=v[c+104>>2];v[d+20>>2]=v[c+128>>2];v[d+24>>2]=v[c+152>>2];v[d+28>>2]=v[c+176>>2];d=d+32|0;c=c+192|0;f=f-8|0;if(f){continue}break}}if(!e){break g}while(1){v[d>>2]=v[c+8>>2];d=d+4|0;c=c+24|0;e=e-1|0;if(e){continue}break}}c=Ma-16|0;Ma=c;d=v[a+736>>2];e=v[a+104>>2];h=v[e+28>>2];i=Qa[v[a+516>>2]](a,1297498450,e,c+8|0)|0;v[c+12>>2]=i;h:{if(i){break h}i=v[e+8>>2];f=Ac(e,c+12|0);if(v[c+12>>2]){break h}l=re(e,2);v[c+12>>2]=l;if((f|0)!=1|l){break h}F=d,G=cc(h,28,c+12|0),v[F+56>>2]=G;if(v[c+12>>2]){break h}f=re(e,4);v[c+12>>2]=f;if(f){break h}f=Ac(e,c+12|0);u[v[d+56>>2]>>1]=f;if(v[c+12>>2]){break h}f=Ac(e,c+12|0);if(v[c+12>>2]){break h}l=v[e+8>>2];i=j$(v[a+104>>2],v[a+736>>2],f+i|0,v[d+56>>2]+4|0);v[c+12>>2]=i;if(i){break h}h=yb(h,12,0,x[v[d+56>>2]>>1],0,c+12|0);v[v[d+56>>2]+24>>2]=h;if(v[c+12>>2]){break h}h=Mb(e,l);v[c+12>>2]=h;if(h){break h}h=Ed(e,x[v[d+56>>2]>>1]<<3);v[c+12>>2]=h;if(h){break h}h=v[d+56>>2];i=x[h>>1];i:{if(!i){break i}n=v[h+24>>2];i=n+B(i,12)|0;while(1){j:{F=n,G=Ig(e),v[F>>2]=G;F=n,G=ae(e),u[F+4>>1]=G;f=ae(e);u[n+6>>1]=f;l=x[n+4>>1];if(l>>>0>=y[h+4>>2]|f>>>0>=y[v[h+8>>2]+(l<<4)>>2]){break j}n=n+12|0;if(i>>>0>n>>>0){continue}break i}break}v[c+12>>2]=8}dd(e);if(v[c+12>>2]){break h}e=v[d+56>>2];d=x[e>>1];if(d){f=v[e+24>>2];e=f+B(d,12)|0;while(1){d=m$(a,v[f>>2]);if(d){u[f+8>>1]=x[d>>1]}f=f+12|0;if(e>>>0>f>>>0){continue}break}}v[a+740>>2]=v[a+740>>2]|256}Ma=c+16|0}if(!b){break a}c=cc(q,v[v[a+736>>2]+16>>2],g+56|0);if(v[g+56>>2]){break a}a=v[a+736>>2];f=cb(c,v[a+12>>2],v[a+16>>2]);c=(f+A|0)+20|0;h=s+c|0;v[f+16>>2]=h;v[f+12>>2]=c;a=h+z|0;e=v[f+8>>2];k:{if(!e){break k}l=e&3;l:{if(e-1>>>0<3){d=0;e=a;break l}i=e&-4;d=0;e=a;while(1){v[h+B(d,12)>>2]=e;k=e;e=j<<2;m=k+e|0;v[h+B(d|1,12)>>2]=m;m=e+m|0;v[h+B(d|2,12)>>2]=m;m=e+m|0;v[h+B(d|3,12)>>2]=m;e=e+m|0;d=d+4|0;i=i-4|0;if(i){continue}break}}if(!l){break k}i=j<<2;while(1){v[h+B(d,12)>>2]=e;d=d+1|0;e=e+i|0;l=l-1|0;if(l){continue}break}}m:{if(!j){break m}i=j&1;d=a+C|0;if((j|0)!=1){j=j&-2;while(1){v[c>>2]=d;a=c;n:{o:{p:{e=v[c+16>>2];if((e|0)<=2003072103){if((e|0)==1869640570){break p}if((e|0)!=1936486004){break n}k=231458;break o}k=232119;if((e|0)==2003265652){break o}if((e|0)!=2003072104){break n}k=269433;break o}k=273798}v[a>>2]=k}v[c+24>>2]=d+5;a=c;q:{r:{s:{t:{e=v[c+40>>2];if((e|0)<=2003072103){if((e|0)==1869640570){break t}if((e|0)!=1936486004){break q}k=231458;break r}if((e|0)==2003072104){break s}k=232119;if((e|0)==2003265652){break r}break q}k=273798;break r}k=269433}v[a+24>>2]=k}c=c+48|0;d=d+10|0;j=j-2|0;if(j){continue}break}}if(!i){break m}v[c>>2]=d;a=c;u:{v:{w:{c=v[c+16>>2];if((c|0)<=2003072103){if((c|0)==1869640570){break w}if((c|0)!=1936486004){break m}e=231458;break u}if((c|0)==2003072104){break v}e=232119;if((c|0)==2003265652){break u}break m}e=273798;break u}e=269433}v[a>>2]=e}v[b>>2]=f}Ma=g- -64|0;return v[g+56>>2]}function PW(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;v[a>>2]=875700;d=v[a+4>>2];f=v[d+36>>2];a:{if(!f){break a}Ez(f);d=v[a+4>>2];f=v[d+36>>2];if(!f){break a}Ez(f);d=f+12|0;b=v[d>>2];if(b){Qa[v[v[b>>2]+4>>2]](b);v[d>>2]=0}yv(f,v[f+4>>2]);$a(f);d=v[a+4>>2]}b:{if(t[d+27|0]<=-1){v[d+20>>2]=0;b=v[d+16>>2];break b}t[d+27|0]=0;b=d+16|0}v[b>>2]=0;d=v[a+4>>2];f=w[d+15|0];if(f<<24>>24<0?v[d+8>>2]:f){BA(d+4|0);d=v[a+4>>2];c:{if(t[d+15|0]<=-1){v[d+8>>2]=0;b=v[d+4>>2];break c}t[d+15|0]=0;b=d+4|0}v[b>>2]=0;d=v[a+4>>2]}f=v[d>>2];if(f){$a(qs(f));d=v[a+4>>2];v[d>>2]=0}f=v[291134];if(f){d=Ma-16|0;Ma=d;b=v[257846];if(b){$a(mc(b))}b=v[257853];if(b){$a(mc(b))}b=v[257860];if(b){$a(mc(b))}b=v[257867];if(b){$a(mc(b))}b=v[257874];if(b){$a(mc(b))}b=v[257881];if(b){$a(mc(b))}b=v[257888];if(b){$a(mc(b))}b=v[257895];if(b){$a(mc(b))}b=v[257902];if(b){$a(mc(b))}b=v[257909];if(b){$a(mc(b))}b=v[257916];if(b){$a(mc(b))}b=v[257923];if(b){$a(mc(b))}b=v[257930];if(b){$a(mc(b))}b=v[257937];if(b){$a(mc(b))}b=v[f>>2];if(b){$a(HU(b))}b=v[f+4>>2];if(b){$a(Bb(b))}b=v[f+8>>2];c=d+12|0;Bj(b,c);if(uf(b,c,d+8|0,d+4|0)){while(1){c=v[d+4>>2];if(c){Bb(c);$a(c)}if(uf(b,d+12|0,d+8|0,d+4|0)){continue}break}}$a(Vg(b));b=v[f+12>>2];if(b){$a(HU(b))}b=v[f+16>>2];c=d+12|0;Bj(b,c);if(uf(b,c,d+8|0,d+4|0)){while(1){c=v[d+4>>2];if(c){Bb(c);$a(c)}if(uf(b,d+12|0,d+8|0,d+4|0)){continue}break}}$a(Vg(b));b=v[f+20>>2];c=d+12|0;Bj(b,c);if(uf(b,c,d+8|0,d+4|0)){while(1){c=v[d+4>>2];if(c){Bb(c);$a(c)}if(uf(b,d+12|0,d+8|0,d+4|0)){continue}break}}$a(Vg(b));c=v[f+24>>2];b=d+12|0;Bj(c,b);if(uf(c,b,d+8|0,d+4|0)){while(1){b=v[d+4>>2];if(b){e=v[b>>2];if(e){$a(Bb(e))}d:{if(v[b+4>>2]){break d}e=v[b+12>>2];if(!e){break d}tb(e)}e=v[b+20>>2];if(e){tb(e)}$a(b)}if(uf(c,d+12|0,d+8|0,d+4|0)){continue}break}}$a(Vg(c));b=v[f+28>>2];c=d+12|0;Bj(b,c);if(uf(b,c,d+8|0,d+4|0)){while(1){c=v[d+4>>2];if(c){Bb(c);$a(c)}if(uf(b,d+12|0,d+8|0,d+4|0)){continue}break}}$a(Vg(b));e=v[f+36>>2];c=v[e+8>>2];if((c|0)>=1){b=0;while(1){g=v[v[e>>2]+(b<<2)>>2];if(g){Bb(g);$a(g);c=v[e+8>>2]}b=b+1|0;if((c|0)>(b|0)){continue}break}}$a(mc(e));b=v[f+40>>2];if(b){tb(v[b+1024>>2]);$a(b)}b=v[f+44>>2];c=d+12|0;Bj(b,c);if(uf(b,c,d+8|0,d+4|0)){while(1){c=v[d+4>>2];if(c){Bb(c);$a(c)}if(uf(b,d+12|0,d+8|0,d+4|0)){continue}break}}$a(Vg(b));e=v[f+48>>2];c=v[e+8>>2];if((c|0)>=1){b=0;while(1){g=v[v[e>>2]+(b<<2)>>2];if(g){Bb(g);$a(g);c=v[e+8>>2]}b=b+1|0;if((c|0)>(b|0)){continue}break}}$a(mc(e));b=v[f+52>>2];c=d+12|0;Bj(b,c);if(uf(b,c,d+8|0,d+4|0)){while(1){c=v[d+4>>2];if(c){Bb(c);$a(c)}if(uf(b,d+12|0,d+8|0,d+4|0)){continue}break}}$a(Vg(b));b=v[f+56>>2];c=d+12|0;Bj(b,c);if(uf(b,c,d+8|0,d+4|0)){while(1){c=v[d+4>>2];if(c){e=v[c>>2];if(e){$a(Bb(e))}$a(c)}if(uf(b,d+12|0,d+8|0,d+4|0)){continue}break}}$a(Vg(b));g=v[f+60>>2];if(g){b=0;c=v[g>>2];h=v[c+8>>2];if((h|0)>=1){while(1){e=v[v[c>>2]+(b<<2)>>2];if(e){h=v[e>>2];if(h){$a(Bb(h))}h=v[e+4>>2];if(h){$a(Bb(h))}$a(e);h=v[c+8>>2]}b=b+1|0;if((h|0)>(b|0)){continue}break}}$a(mc(c));$a(g)}b=v[f+116>>2];c=d+12|0;Bj(b,c);if(uf(b,c,d+8|0,d+4|0)){while(1){c=v[d+4>>2];if(c){Bb(c);$a(c)}if(uf(b,d+12|0,d+8|0,d+4|0)){continue}break}}$a(Vg(b));g=v[f+120>>2];c=v[g+8>>2];if((c|0)>=1){b=0;while(1){e=v[v[g>>2]+(b<<2)>>2];if(e){c=v[e>>2];if(c){$a(Bb(c))}c=v[e+8>>2];if(c){$a(Bb(c))}c=v[e+12>>2];if(c){$a(Bb(c))}$a(e);c=v[g+8>>2]}b=b+1|0;if((c|0)>(b|0)){continue}break}}$a(mc(g));g=v[f+124>>2];c=v[g+8>>2];if((c|0)>=1){b=0;while(1){e=v[v[g>>2]+(b<<2)>>2];if(e){c=v[e>>2];if(c){$a(Bb(c))}c=v[e+8>>2];if(c){$a(Bb(c))}c=v[e+12>>2];if(c){$a(Bb(c))}$a(e);c=v[g+8>>2]}b=b+1|0;if((c|0)>(b|0)){continue}break}}$a(mc(g));b=v[f+200>>2];if(b){$a(Bb(b))}b=v[f+216>>2];if(b){$a(Bb(b))}b=v[f+224>>2];if(b){$a(Bb(b))}b=v[f+240>>2];if(b){$a(Bb(b))}b=v[f+344>>2];if(b){$a(Bb(b))}b=v[f+348>>2];if(b){$a(Bb(b))}b=v[f+352>>2];if(b){$a(Bb(b))}b=v[f+356>>2];if(b){$a(Bb(b))}b=v[f+364>>2];if(b){$a(Bb(b))}b=v[f+368>>2];if(b){$a(Bb(b))}b=v[f+372>>2];if(b){$a(Bb(b))}b=v[f+388>>2];if(b){$a(Vg(b))}e=v[f+392>>2];b=v[e+8>>2];if((b|0)>=1){g=0;while(1){i=v[v[e>>2]+(g<<2)>>2];if(i){b=0;h=v[i+12>>2];c=v[h+8>>2];if((c|0)>=1){while(1){j=v[v[h>>2]+(b<<2)>>2];if(j){Bb(j);$a(j);c=v[h+8>>2]}b=b+1|0;if((c|0)>(b|0)){continue}break}}$a(mc(h));$a(i);b=v[e+8>>2]}g=g+1|0;if((g|0)<(b|0)){continue}break}}$a(mc(e));e=v[f+396>>2];c=v[e+8>>2];if((c|0)>=1){b=0;while(1){g=v[v[e>>2]+(b<<2)>>2];if(g){c=0;h=v[g>>2];if(h){$a(Bb(h))}h=v[g+4>>2];i=v[h+8>>2];if((i|0)>=1){while(1){j=v[v[h>>2]+(c<<2)>>2];if(j){Bb(j);$a(j);i=v[h+8>>2]}c=c+1|0;if((i|0)>(c|0)){continue}break}}$a(mc(h));$a(g);c=v[e+8>>2]}b=b+1|0;if((c|0)>(b|0)){continue}break}}$a(mc(e));b=v[f+400>>2];if(b){$a(Bb(b))}b=d+12|0;Bj(v[f+32>>2],b);if(uf(v[f+32>>2],b,d+8|0,d+4|0)){while(1){b=0;e=v[d+4>>2];c=v[e+8>>2];if((c|0)>=1){while(1){g=v[v[e>>2]+(b<<2)>>2];if(g){Bb(g);$a(g);c=v[e+8>>2]}b=b+1|0;if((c|0)>(b|0)){continue}break}}$a(mc(e));if(uf(v[f+32>>2],d+12|0,d+8|0,d+4|0)){continue}break}}b=v[f+32>>2];if(b){$a(Vg(b))}b=v[f+416>>2];if(b){$a(VV(b))}b=v[f+420>>2];if(b){$a(VV(b))}c=v[f+424>>2];if(c){b=v[c>>2];e:{if(!b){break e}e=v[b+28>>2]-1|0;v[b+28>>2]=e;if(e){break e}e=v[b>>2];if(e){$a(Bb(e))}f:{if(v[b+4>>2]){break f}e=v[b+12>>2];if(!e){break f}tb(e)}e=v[b+20>>2];if(e){tb(e)}$a(b)}b=v[c+4>>2];g:{if(!b){break g}e=v[b+28>>2]-1|0;v[b+28>>2]=e;if(e){break g}e=v[b>>2];if(e){$a(Bb(e))}h:{if(v[b+4>>2]){break h}e=v[b+12>>2];if(!e){break h}tb(e)}e=v[b+20>>2];if(e){tb(e)}$a(b)}b=v[c+8>>2];i:{if(!b){break i}e=v[b+28>>2]-1|0;v[b+28>>2]=e;if(e){break i}e=v[b>>2];if(e){$a(Bb(e))}j:{if(v[b+4>>2]){break j}e=v[b+12>>2];if(!e){break j}tb(e)}e=v[b+20>>2];if(e){tb(e)}$a(b)}b=v[c+12>>2];k:{if(!b){break k}e=v[b+28>>2]-1|0;v[b+28>>2]=e;if(e){break k}e=v[b>>2];if(e){$a(Bb(e))}l:{if(v[b+4>>2]){break l}e=v[b+12>>2];if(!e){break l}tb(e)}e=v[b+20>>2];if(e){tb(e)}$a(b)}$a(c)}b=v[f+428>>2];if(b){c=v[b>>2];if(c){xo(c)}c=v[b+4>>2];if(c){xo(c)}c=v[b+8>>2];if(c){xo(c)}c=v[b+12>>2];if(c){xo(c)}$a(b)}Ma=d+16|0;$a(f);v[291134]=0;d=v[a+4>>2]}d=v[d+32>>2];if(d){Qa[v[v[d>>2]+12>>2]](d)|0;v[v[a+4>>2]+32>>2]=0}return a|0}function yB(a,b){var 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,x=0;d=Ma-96|0;Ma=d;f=a+96|0;a:{if(!w[f+1432|0]){g=a+1596|0;h=a+1628|0;if(!(!w[h+1160|0]|v[h+1172>>2]!=2)){rc(h+100|0,h,v[h+1164>>2],v[h+1168>>2]);v[h+1172>>2]=3}Gc(h);b:{if(!v[h+12>>2]){break b}v[h+1176>>2]=v[h+84>>2];f=v[h+80>>2];a=(v[h+88>>2]-f|0)+2|0;c:{if(a>>>0<=y[g+24>>2]){break c}c=v[g+20>>2];if(c){$a(c)}v[g+24>>2]=a;t=g,x=ab((a|0)!=(a&536870911)?-1:a<<3),v[t+20>>2]=x;if((a|0)==v[g+16>>2]){break c}c=v[g+12>>2];if(c){$a(c)}v[g+16>>2]=a;t=g,x=ab(a),v[t+12>>2]=x}v[g>>2]=f;v[g+4>>2]=2147483632;v[g+28>>2]=v[g+20>>2];if(!wf(h,g)){break b}while(1){i=v[b>>2];j=v[b+4>>2];p=v[b+8>>2];e=v[g+20>>2];o=v[g+28>>2]-e>>3;n=v[g+8>>2];while(1){a=v[e+12>>2];f=u[e+8>>1];k=u[e+10>>1];c=k>>31;c=(c^c+k)&65535;k=v[j+4>>2];d:{if(c>>>0<=k>>>0){break d}l=k;k=c+255&130816;if((l|0)==(k|0)){break d}m=v[j>>2];if(m){$a(m)}v[j+4>>2]=k;t=j,x=ab(k<<2),v[t>>2]=x}k=v[j>>2];W1(p,k,f,n,c);e:{if(v[i+16>>2]<(n|0)|v[i+8>>2]>(n|0)){break e}l=u[e+10>>1]<0;m=l?0:a;q=w[a|0];a=v[i+4>>2];f:{if((f|0)>=(a|0)){a=f;break f}f=a-f|0;c=c-f|0;if((c|0)<1){break e}m=l?0:f+m|0;k=(f<<2)+k|0}r=v[i>>2];l=a;s=n;f=v[i+12>>2];if((f|0)<(a+c|0)){f=f-a|0;if((f|0)<0){break e}c=f+1|0}Pf(r,l,s,c,k,m,q)}e=e+8|0;o=o-1|0;if(o){continue}break}if(wf(h,g)){continue}break}}break a}if(!w[f+1433|0]){v[d+80>>2]=0;v[d+84>>2]=0;v[d+88>>2]=0;v[d+92>>2]=0;v[d+72>>2]=0;v[d+76>>2]=0;v[d+64>>2]=2147483632;v[d+48>>2]=0;v[d+52>>2]=0;v[d+56>>2]=0;v[d+60>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=2147483632;v[d+16>>2]=0;v[d+20>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=2147483632;g=d+32|0;h=d- -64|0;a=a+1628|0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){rc(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Gc(a);g:{if(!v[a+12>>2]){break g}v[a+1176>>2]=v[a+84>>2];if(!(!w[f+1160|0]|v[f+1172>>2]!=2)){rc(f+100|0,f,v[f+1164>>2],v[f+1168>>2]);v[f+1172>>2]=3}Gc(f);if(!v[f+12>>2]){break g}c=v[f+84>>2];v[f+1176>>2]=c;e=v[f+88>>2];i=v[a+88>>2];e=(e|0)<(i|0)?e:i;i=v[f+80>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((e|0)<(i|0)){break g}j=v[a+84>>2];k=(c|0)>(j|0)?c:j;c=v[f+92>>2];j=v[a+92>>2];if((k|0)>(((c|0)<(j|0)?c:j)|0)){break g}c=(e-i|0)+3|0;h:{if(c>>>0<=y[h+24>>2]){break h}e=v[h+20>>2];if(e){$a(e)}v[h+24>>2]=c;t=h,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[h+12>>2]){break h}e=v[h+8>>2];if(e){$a(e)}v[h+12>>2]=c;t=h,x=ab(c),v[t+8>>2]=x}v[h>>2]=2147483632;v[h+16>>2]=v[h+8>>2];c=v[h+20>>2];v[h+28>>2]=c;u[c+2>>1]=0;c=(v[a+88>>2]-v[a+80>>2]|0)+3|0;i:{if(c>>>0<=y[g+24>>2]){break i}e=v[g+20>>2];if(e){$a(e)}v[g+24>>2]=c;t=g,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[g+12>>2]){break i}e=v[g+8>>2];if(e){$a(e)}v[g+12>>2]=c;t=g,x=ab(c),v[t+8>>2]=x}v[g>>2]=2147483632;v[g+16>>2]=v[g+8>>2];c=v[g+20>>2];v[g+28>>2]=c;u[c+2>>1]=0;c=(v[f+88>>2]-v[f+80>>2]|0)+3|0;j:{if(c>>>0<=y[d+24>>2]){break j}e=v[d+20>>2];if(e){$a(e)}v[d+24>>2]=c;t=d,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[d+12>>2]){break j}e=v[d+8>>2];if(e){$a(e)}v[d+12>>2]=c;t=d,x=ab(c),v[t+8>>2]=x}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];c=v[d+20>>2];v[d+28>>2]=c;u[c+2>>1]=0;if(!Gb(a,g)){break g}if(!Gb(f,d)){break g}while(1){c=v[g+4>>2];e=v[d+4>>2];if((c|0)>=(e|0)){if((c|0)>(e|0)){while(1){if(!Gb(f,d)){break g}c=v[g+4>>2];e=v[d+4>>2];if((c|0)>(e|0)){continue}break}}if((c|0)!=(e|0)){continue}Se(g,d,h);if(v[h+28>>2]!=v[h+20>>2]){v[h+4>>2]=v[g+4>>2];V1(h,v[b>>2],v[b+4>>2],v[b+8>>2])}if(!Gb(a,g)){break g}if(Gb(f,d)){continue}break g}if(Gb(a,g)){continue}break}}a=v[d+20>>2];if(a){$a(a)}a=v[d+8>>2];if(a){$a(a)}a=v[d+52>>2];if(a){$a(a)}a=v[d+40>>2];if(a){$a(a)}a=v[d+84>>2];if(a){$a(a)}a=v[d+72>>2];if(!a){break a}$a(a);break a}v[d+80>>2]=0;v[d+84>>2]=0;v[d+88>>2]=0;v[d+92>>2]=0;v[d+72>>2]=0;v[d+76>>2]=0;v[d+64>>2]=2147483632;v[d+48>>2]=0;v[d+52>>2]=0;v[d+56>>2]=0;v[d+60>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=2147483632;v[d+16>>2]=0;v[d+20>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=2147483632;h=((v[a+1524>>2]==1?1180:1304)+a|0)+96|0;f=d+32|0;g=d- -64|0;a=a+1628|0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){rc(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Gc(a);k:{if(!v[a+12>>2]){break k}c=v[a+84>>2];v[a+1176>>2]=c;v[h+120>>2]=0;if(!v[h+60>>2]){break k}e=v[h+112>>2];i=v[a+88>>2];e=(e|0)<(i|0)?e:i;i=v[h+104>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((e|0)<(i|0)){break k}j=v[h+108>>2];k=(c|0)<(j|0)?j:c;c=v[h+116>>2];j=v[a+92>>2];if((k|0)>(((c|0)<(j|0)?c:j)|0)){break k}c=(e-i|0)+3|0;l:{if(c>>>0<=y[g+24>>2]){break l}e=v[g+20>>2];if(e){$a(e)}v[g+24>>2]=c;t=g,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[g+12>>2]){break l}e=v[g+8>>2];if(e){$a(e)}v[g+12>>2]=c;t=g,x=ab(c),v[t+8>>2]=x}v[g>>2]=2147483632;v[g+16>>2]=v[g+8>>2];c=v[g+20>>2];v[g+28>>2]=c;u[c+2>>1]=0;c=(v[a+88>>2]-v[a+80>>2]|0)+3|0;m:{if(c>>>0<=y[f+24>>2]){break m}e=v[f+20>>2];if(e){$a(e)}v[f+24>>2]=c;t=f,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[f+12>>2]){break m}e=v[f+8>>2];if(e){$a(e)}v[f+12>>2]=c;t=f,x=ab(c),v[t+8>>2]=x}v[f>>2]=2147483632;v[f+16>>2]=v[f+8>>2];c=v[f+20>>2];v[f+28>>2]=c;u[c+2>>1]=0;c=(v[h+112>>2]-v[h+104>>2]|0)+3|0;n:{if(c>>>0<=y[d+24>>2]){break n}e=v[d+20>>2];if(e){$a(e)}v[d+24>>2]=c;t=d,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[d+12>>2]){break n}e=v[d+8>>2];if(e){$a(e)}v[d+12>>2]=c;t=d,x=ab(c),v[t+8>>2]=x}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];c=v[d+20>>2];v[d+28>>2]=c;u[c+2>>1]=0;if(!Gb(a,f)){break k}if(!Uc(h,d)){break k}while(1){c=v[f+4>>2];e=v[d+4>>2];if((c|0)>=(e|0)){if((c|0)>(e|0)){while(1){if(!Uc(h,d)){break k}c=v[f+4>>2];e=v[d+4>>2];if((c|0)>(e|0)){continue}break}}if((c|0)!=(e|0)){continue}Se(f,d,g);if(v[g+28>>2]!=v[g+20>>2]){v[g+4>>2]=v[f+4>>2];V1(g,v[b>>2],v[b+4>>2],v[b+8>>2])}if(!Gb(a,f)){break k}if(Uc(h,d)){continue}break k}if(Gb(a,f)){continue}break}}a=v[d+20>>2];if(a){$a(a)}a=v[d+8>>2];if(a){$a(a)}a=v[d+52>>2];if(a){$a(a)}a=v[d+40>>2];if(a){$a(a)}a=v[d+84>>2];if(a){$a(a)}a=v[d+72>>2];if(!a){break a}$a(a)}Ma=d+96|0}function n2(a,b){var 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,x=0;d=Ma-96|0;Ma=d;f=a+96|0;a:{if(!w[f+1432|0]){g=a+1596|0;h=a+1628|0;if(!(!w[h+1160|0]|v[h+1172>>2]!=2)){rc(h+100|0,h,v[h+1164>>2],v[h+1168>>2]);v[h+1172>>2]=3}Gc(h);b:{if(!v[h+12>>2]){break b}v[h+1176>>2]=v[h+84>>2];f=v[h+80>>2];a=(v[h+88>>2]-f|0)+2|0;c:{if(a>>>0<=y[g+24>>2]){break c}c=v[g+20>>2];if(c){$a(c)}v[g+24>>2]=a;t=g,x=ab((a|0)!=(a&536870911)?-1:a<<3),v[t+20>>2]=x;if((a|0)==v[g+16>>2]){break c}c=v[g+12>>2];if(c){$a(c)}v[g+16>>2]=a;t=g,x=ab(a),v[t+12>>2]=x}v[g>>2]=f;v[g+4>>2]=2147483632;v[g+28>>2]=v[g+20>>2];if(!wf(h,g)){break b}while(1){i=v[b>>2];j=v[b+4>>2];p=v[b+8>>2];e=v[g+20>>2];o=v[g+28>>2]-e>>3;n=v[g+8>>2];while(1){a=v[e+12>>2];f=u[e+8>>1];k=u[e+10>>1];c=k>>31;c=(c^c+k)&65535;k=v[j+4>>2];d:{if(c>>>0<=k>>>0){break d}l=k;k=c+255&130816;if((l|0)==(k|0)){break d}m=v[j>>2];if(m){$a(m)}v[j+4>>2]=k;t=j,x=ab(k<<2),v[t>>2]=x}k=v[j>>2];U1(p,k,f,n,c);e:{if(v[i+16>>2]<(n|0)|v[i+8>>2]>(n|0)){break e}l=u[e+10>>1]<0;m=l?0:a;q=w[a|0];a=v[i+4>>2];f:{if((f|0)>=(a|0)){a=f;break f}f=a-f|0;c=c-f|0;if((c|0)<1){break e}m=l?0:f+m|0;k=(f<<2)+k|0}r=v[i>>2];l=a;s=n;f=v[i+12>>2];if((f|0)<(a+c|0)){f=f-a|0;if((f|0)<0){break e}c=f+1|0}Pf(r,l,s,c,k,m,q)}e=e+8|0;o=o-1|0;if(o){continue}break}if(wf(h,g)){continue}break}}break a}if(!w[f+1433|0]){v[d+80>>2]=0;v[d+84>>2]=0;v[d+88>>2]=0;v[d+92>>2]=0;v[d+72>>2]=0;v[d+76>>2]=0;v[d+64>>2]=2147483632;v[d+48>>2]=0;v[d+52>>2]=0;v[d+56>>2]=0;v[d+60>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=2147483632;v[d+16>>2]=0;v[d+20>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=2147483632;g=d+32|0;h=d- -64|0;a=a+1628|0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){rc(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Gc(a);g:{if(!v[a+12>>2]){break g}v[a+1176>>2]=v[a+84>>2];if(!(!w[f+1160|0]|v[f+1172>>2]!=2)){rc(f+100|0,f,v[f+1164>>2],v[f+1168>>2]);v[f+1172>>2]=3}Gc(f);if(!v[f+12>>2]){break g}c=v[f+84>>2];v[f+1176>>2]=c;e=v[f+88>>2];i=v[a+88>>2];e=(e|0)<(i|0)?e:i;i=v[f+80>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((e|0)<(i|0)){break g}j=v[a+84>>2];k=(c|0)>(j|0)?c:j;c=v[f+92>>2];j=v[a+92>>2];if((k|0)>(((c|0)<(j|0)?c:j)|0)){break g}c=(e-i|0)+3|0;h:{if(c>>>0<=y[h+24>>2]){break h}e=v[h+20>>2];if(e){$a(e)}v[h+24>>2]=c;t=h,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[h+12>>2]){break h}e=v[h+8>>2];if(e){$a(e)}v[h+12>>2]=c;t=h,x=ab(c),v[t+8>>2]=x}v[h>>2]=2147483632;v[h+16>>2]=v[h+8>>2];c=v[h+20>>2];v[h+28>>2]=c;u[c+2>>1]=0;c=(v[a+88>>2]-v[a+80>>2]|0)+3|0;i:{if(c>>>0<=y[g+24>>2]){break i}e=v[g+20>>2];if(e){$a(e)}v[g+24>>2]=c;t=g,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[g+12>>2]){break i}e=v[g+8>>2];if(e){$a(e)}v[g+12>>2]=c;t=g,x=ab(c),v[t+8>>2]=x}v[g>>2]=2147483632;v[g+16>>2]=v[g+8>>2];c=v[g+20>>2];v[g+28>>2]=c;u[c+2>>1]=0;c=(v[f+88>>2]-v[f+80>>2]|0)+3|0;j:{if(c>>>0<=y[d+24>>2]){break j}e=v[d+20>>2];if(e){$a(e)}v[d+24>>2]=c;t=d,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[d+12>>2]){break j}e=v[d+8>>2];if(e){$a(e)}v[d+12>>2]=c;t=d,x=ab(c),v[t+8>>2]=x}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];c=v[d+20>>2];v[d+28>>2]=c;u[c+2>>1]=0;if(!Gb(a,g)){break g}if(!Gb(f,d)){break g}while(1){c=v[g+4>>2];e=v[d+4>>2];if((c|0)>=(e|0)){if((c|0)>(e|0)){while(1){if(!Gb(f,d)){break g}c=v[g+4>>2];e=v[d+4>>2];if((c|0)>(e|0)){continue}break}}if((c|0)!=(e|0)){continue}Se(g,d,h);if(v[h+28>>2]!=v[h+20>>2]){v[h+4>>2]=v[g+4>>2];T1(h,v[b>>2],v[b+4>>2],v[b+8>>2])}if(!Gb(a,g)){break g}if(Gb(f,d)){continue}break g}if(Gb(a,g)){continue}break}}a=v[d+20>>2];if(a){$a(a)}a=v[d+8>>2];if(a){$a(a)}a=v[d+52>>2];if(a){$a(a)}a=v[d+40>>2];if(a){$a(a)}a=v[d+84>>2];if(a){$a(a)}a=v[d+72>>2];if(!a){break a}$a(a);break a}v[d+80>>2]=0;v[d+84>>2]=0;v[d+88>>2]=0;v[d+92>>2]=0;v[d+72>>2]=0;v[d+76>>2]=0;v[d+64>>2]=2147483632;v[d+48>>2]=0;v[d+52>>2]=0;v[d+56>>2]=0;v[d+60>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=2147483632;v[d+16>>2]=0;v[d+20>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=2147483632;h=((v[a+1524>>2]==1?1180:1304)+a|0)+96|0;f=d+32|0;g=d- -64|0;a=a+1628|0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){rc(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Gc(a);k:{if(!v[a+12>>2]){break k}c=v[a+84>>2];v[a+1176>>2]=c;v[h+120>>2]=0;if(!v[h+60>>2]){break k}e=v[h+112>>2];i=v[a+88>>2];e=(e|0)<(i|0)?e:i;i=v[h+104>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((e|0)<(i|0)){break k}j=v[h+108>>2];k=(c|0)<(j|0)?j:c;c=v[h+116>>2];j=v[a+92>>2];if((k|0)>(((c|0)<(j|0)?c:j)|0)){break k}c=(e-i|0)+3|0;l:{if(c>>>0<=y[g+24>>2]){break l}e=v[g+20>>2];if(e){$a(e)}v[g+24>>2]=c;t=g,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[g+12>>2]){break l}e=v[g+8>>2];if(e){$a(e)}v[g+12>>2]=c;t=g,x=ab(c),v[t+8>>2]=x}v[g>>2]=2147483632;v[g+16>>2]=v[g+8>>2];c=v[g+20>>2];v[g+28>>2]=c;u[c+2>>1]=0;c=(v[a+88>>2]-v[a+80>>2]|0)+3|0;m:{if(c>>>0<=y[f+24>>2]){break m}e=v[f+20>>2];if(e){$a(e)}v[f+24>>2]=c;t=f,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[f+12>>2]){break m}e=v[f+8>>2];if(e){$a(e)}v[f+12>>2]=c;t=f,x=ab(c),v[t+8>>2]=x}v[f>>2]=2147483632;v[f+16>>2]=v[f+8>>2];c=v[f+20>>2];v[f+28>>2]=c;u[c+2>>1]=0;c=(v[h+112>>2]-v[h+104>>2]|0)+3|0;n:{if(c>>>0<=y[d+24>>2]){break n}e=v[d+20>>2];if(e){$a(e)}v[d+24>>2]=c;t=d,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[d+12>>2]){break n}e=v[d+8>>2];if(e){$a(e)}v[d+12>>2]=c;t=d,x=ab(c),v[t+8>>2]=x}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];c=v[d+20>>2];v[d+28>>2]=c;u[c+2>>1]=0;if(!Gb(a,f)){break k}if(!Uc(h,d)){break k}while(1){c=v[f+4>>2];e=v[d+4>>2];if((c|0)>=(e|0)){if((c|0)>(e|0)){while(1){if(!Uc(h,d)){break k}c=v[f+4>>2];e=v[d+4>>2];if((c|0)>(e|0)){continue}break}}if((c|0)!=(e|0)){continue}Se(f,d,g);if(v[g+28>>2]!=v[g+20>>2]){v[g+4>>2]=v[f+4>>2];T1(g,v[b>>2],v[b+4>>2],v[b+8>>2])}if(!Gb(a,f)){break k}if(Uc(h,d)){continue}break k}if(Gb(a,f)){continue}break}}a=v[d+20>>2];if(a){$a(a)}a=v[d+8>>2];if(a){$a(a)}a=v[d+52>>2];if(a){$a(a)}a=v[d+40>>2];if(a){$a(a)}a=v[d+84>>2];if(a){$a(a)}a=v[d+72>>2];if(!a){break a}$a(a)}Ma=d+96|0}function m2(a,b){var 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,x=0;d=Ma-96|0;Ma=d;f=a+96|0;a:{if(!w[f+1432|0]){g=a+1596|0;h=a+1628|0;if(!(!w[h+1160|0]|v[h+1172>>2]!=2)){rc(h+100|0,h,v[h+1164>>2],v[h+1168>>2]);v[h+1172>>2]=3}Gc(h);b:{if(!v[h+12>>2]){break b}v[h+1176>>2]=v[h+84>>2];f=v[h+80>>2];a=(v[h+88>>2]-f|0)+2|0;c:{if(a>>>0<=y[g+24>>2]){break c}c=v[g+20>>2];if(c){$a(c)}v[g+24>>2]=a;t=g,x=ab((a|0)!=(a&536870911)?-1:a<<3),v[t+20>>2]=x;if((a|0)==v[g+16>>2]){break c}c=v[g+12>>2];if(c){$a(c)}v[g+16>>2]=a;t=g,x=ab(a),v[t+12>>2]=x}v[g>>2]=f;v[g+4>>2]=2147483632;v[g+28>>2]=v[g+20>>2];if(!wf(h,g)){break b}while(1){i=v[b>>2];j=v[b+4>>2];p=v[b+8>>2];e=v[g+20>>2];o=v[g+28>>2]-e>>3;n=v[g+8>>2];while(1){a=v[e+12>>2];f=u[e+8>>1];k=u[e+10>>1];c=k>>31;c=(c^c+k)&65535;k=v[j+4>>2];d:{if(c>>>0<=k>>>0){break d}l=k;k=c+255&130816;if((l|0)==(k|0)){break d}m=v[j>>2];if(m){$a(m)}v[j+4>>2]=k;t=j,x=ab(k<<2),v[t>>2]=x}k=v[j>>2];S1(p,k,f,n,c);e:{if(v[i+16>>2]<(n|0)|v[i+8>>2]>(n|0)){break e}l=u[e+10>>1]<0;m=l?0:a;q=w[a|0];a=v[i+4>>2];f:{if((f|0)>=(a|0)){a=f;break f}f=a-f|0;c=c-f|0;if((c|0)<1){break e}m=l?0:f+m|0;k=(f<<2)+k|0}r=v[i>>2];l=a;s=n;f=v[i+12>>2];if((f|0)<(a+c|0)){f=f-a|0;if((f|0)<0){break e}c=f+1|0}Pf(r,l,s,c,k,m,q)}e=e+8|0;o=o-1|0;if(o){continue}break}if(wf(h,g)){continue}break}}break a}if(!w[f+1433|0]){v[d+80>>2]=0;v[d+84>>2]=0;v[d+88>>2]=0;v[d+92>>2]=0;v[d+72>>2]=0;v[d+76>>2]=0;v[d+64>>2]=2147483632;v[d+48>>2]=0;v[d+52>>2]=0;v[d+56>>2]=0;v[d+60>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=2147483632;v[d+16>>2]=0;v[d+20>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=2147483632;g=d+32|0;h=d- -64|0;a=a+1628|0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){rc(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Gc(a);g:{if(!v[a+12>>2]){break g}v[a+1176>>2]=v[a+84>>2];if(!(!w[f+1160|0]|v[f+1172>>2]!=2)){rc(f+100|0,f,v[f+1164>>2],v[f+1168>>2]);v[f+1172>>2]=3}Gc(f);if(!v[f+12>>2]){break g}c=v[f+84>>2];v[f+1176>>2]=c;e=v[f+88>>2];i=v[a+88>>2];e=(e|0)<(i|0)?e:i;i=v[f+80>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((e|0)<(i|0)){break g}j=v[a+84>>2];k=(c|0)>(j|0)?c:j;c=v[f+92>>2];j=v[a+92>>2];if((k|0)>(((c|0)<(j|0)?c:j)|0)){break g}c=(e-i|0)+3|0;h:{if(c>>>0<=y[h+24>>2]){break h}e=v[h+20>>2];if(e){$a(e)}v[h+24>>2]=c;t=h,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[h+12>>2]){break h}e=v[h+8>>2];if(e){$a(e)}v[h+12>>2]=c;t=h,x=ab(c),v[t+8>>2]=x}v[h>>2]=2147483632;v[h+16>>2]=v[h+8>>2];c=v[h+20>>2];v[h+28>>2]=c;u[c+2>>1]=0;c=(v[a+88>>2]-v[a+80>>2]|0)+3|0;i:{if(c>>>0<=y[g+24>>2]){break i}e=v[g+20>>2];if(e){$a(e)}v[g+24>>2]=c;t=g,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[g+12>>2]){break i}e=v[g+8>>2];if(e){$a(e)}v[g+12>>2]=c;t=g,x=ab(c),v[t+8>>2]=x}v[g>>2]=2147483632;v[g+16>>2]=v[g+8>>2];c=v[g+20>>2];v[g+28>>2]=c;u[c+2>>1]=0;c=(v[f+88>>2]-v[f+80>>2]|0)+3|0;j:{if(c>>>0<=y[d+24>>2]){break j}e=v[d+20>>2];if(e){$a(e)}v[d+24>>2]=c;t=d,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[d+12>>2]){break j}e=v[d+8>>2];if(e){$a(e)}v[d+12>>2]=c;t=d,x=ab(c),v[t+8>>2]=x}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];c=v[d+20>>2];v[d+28>>2]=c;u[c+2>>1]=0;if(!Gb(a,g)){break g}if(!Gb(f,d)){break g}while(1){c=v[g+4>>2];e=v[d+4>>2];if((c|0)>=(e|0)){if((c|0)>(e|0)){while(1){if(!Gb(f,d)){break g}c=v[g+4>>2];e=v[d+4>>2];if((c|0)>(e|0)){continue}break}}if((c|0)!=(e|0)){continue}Se(g,d,h);if(v[h+28>>2]!=v[h+20>>2]){v[h+4>>2]=v[g+4>>2];R1(h,v[b>>2],v[b+4>>2],v[b+8>>2])}if(!Gb(a,g)){break g}if(Gb(f,d)){continue}break g}if(Gb(a,g)){continue}break}}a=v[d+20>>2];if(a){$a(a)}a=v[d+8>>2];if(a){$a(a)}a=v[d+52>>2];if(a){$a(a)}a=v[d+40>>2];if(a){$a(a)}a=v[d+84>>2];if(a){$a(a)}a=v[d+72>>2];if(!a){break a}$a(a);break a}v[d+80>>2]=0;v[d+84>>2]=0;v[d+88>>2]=0;v[d+92>>2]=0;v[d+72>>2]=0;v[d+76>>2]=0;v[d+64>>2]=2147483632;v[d+48>>2]=0;v[d+52>>2]=0;v[d+56>>2]=0;v[d+60>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=2147483632;v[d+16>>2]=0;v[d+20>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=2147483632;h=((v[a+1524>>2]==1?1180:1304)+a|0)+96|0;f=d+32|0;g=d- -64|0;a=a+1628|0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){rc(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Gc(a);k:{if(!v[a+12>>2]){break k}c=v[a+84>>2];v[a+1176>>2]=c;v[h+120>>2]=0;if(!v[h+60>>2]){break k}e=v[h+112>>2];i=v[a+88>>2];e=(e|0)<(i|0)?e:i;i=v[h+104>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((e|0)<(i|0)){break k}j=v[h+108>>2];k=(c|0)<(j|0)?j:c;c=v[h+116>>2];j=v[a+92>>2];if((k|0)>(((c|0)<(j|0)?c:j)|0)){break k}c=(e-i|0)+3|0;l:{if(c>>>0<=y[g+24>>2]){break l}e=v[g+20>>2];if(e){$a(e)}v[g+24>>2]=c;t=g,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[g+12>>2]){break l}e=v[g+8>>2];if(e){$a(e)}v[g+12>>2]=c;t=g,x=ab(c),v[t+8>>2]=x}v[g>>2]=2147483632;v[g+16>>2]=v[g+8>>2];c=v[g+20>>2];v[g+28>>2]=c;u[c+2>>1]=0;c=(v[a+88>>2]-v[a+80>>2]|0)+3|0;m:{if(c>>>0<=y[f+24>>2]){break m}e=v[f+20>>2];if(e){$a(e)}v[f+24>>2]=c;t=f,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[f+12>>2]){break m}e=v[f+8>>2];if(e){$a(e)}v[f+12>>2]=c;t=f,x=ab(c),v[t+8>>2]=x}v[f>>2]=2147483632;v[f+16>>2]=v[f+8>>2];c=v[f+20>>2];v[f+28>>2]=c;u[c+2>>1]=0;c=(v[h+112>>2]-v[h+104>>2]|0)+3|0;n:{if(c>>>0<=y[d+24>>2]){break n}e=v[d+20>>2];if(e){$a(e)}v[d+24>>2]=c;t=d,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[d+12>>2]){break n}e=v[d+8>>2];if(e){$a(e)}v[d+12>>2]=c;t=d,x=ab(c),v[t+8>>2]=x}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];c=v[d+20>>2];v[d+28>>2]=c;u[c+2>>1]=0;if(!Gb(a,f)){break k}if(!Uc(h,d)){break k}while(1){c=v[f+4>>2];e=v[d+4>>2];if((c|0)>=(e|0)){if((c|0)>(e|0)){while(1){if(!Uc(h,d)){break k}c=v[f+4>>2];e=v[d+4>>2];if((c|0)>(e|0)){continue}break}}if((c|0)!=(e|0)){continue}Se(f,d,g);if(v[g+28>>2]!=v[g+20>>2]){v[g+4>>2]=v[f+4>>2];R1(g,v[b>>2],v[b+4>>2],v[b+8>>2])}if(!Gb(a,f)){break k}if(Uc(h,d)){continue}break k}if(Gb(a,f)){continue}break}}a=v[d+20>>2];if(a){$a(a)}a=v[d+8>>2];if(a){$a(a)}a=v[d+52>>2];if(a){$a(a)}a=v[d+40>>2];if(a){$a(a)}a=v[d+84>>2];if(a){$a(a)}a=v[d+72>>2];if(!a){break a}$a(a)}Ma=d+96|0}function k2(a,b){var 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,x=0;d=Ma-96|0;Ma=d;f=a+96|0;a:{if(!w[f+1432|0]){g=a+1596|0;h=a+1628|0;if(!(!w[h+1160|0]|v[h+1172>>2]!=2)){rc(h+100|0,h,v[h+1164>>2],v[h+1168>>2]);v[h+1172>>2]=3}Gc(h);b:{if(!v[h+12>>2]){break b}v[h+1176>>2]=v[h+84>>2];f=v[h+80>>2];a=(v[h+88>>2]-f|0)+2|0;c:{if(a>>>0<=y[g+24>>2]){break c}c=v[g+20>>2];if(c){$a(c)}v[g+24>>2]=a;t=g,x=ab((a|0)!=(a&536870911)?-1:a<<3),v[t+20>>2]=x;if((a|0)==v[g+16>>2]){break c}c=v[g+12>>2];if(c){$a(c)}v[g+16>>2]=a;t=g,x=ab(a),v[t+12>>2]=x}v[g>>2]=f;v[g+4>>2]=2147483632;v[g+28>>2]=v[g+20>>2];if(!wf(h,g)){break b}while(1){i=v[b>>2];j=v[b+4>>2];p=v[b+8>>2];e=v[g+20>>2];o=v[g+28>>2]-e>>3;n=v[g+8>>2];while(1){a=v[e+12>>2];f=u[e+8>>1];k=u[e+10>>1];c=k>>31;c=(c^c+k)&65535;k=v[j+4>>2];d:{if(c>>>0<=k>>>0){break d}l=k;k=c+255&130816;if((l|0)==(k|0)){break d}m=v[j>>2];if(m){$a(m)}v[j+4>>2]=k;t=j,x=ab(k<<2),v[t>>2]=x}k=v[j>>2];Q1(p,k,f,n,c);e:{if(v[i+16>>2]<(n|0)|v[i+8>>2]>(n|0)){break e}l=u[e+10>>1]<0;m=l?0:a;q=w[a|0];a=v[i+4>>2];f:{if((f|0)>=(a|0)){a=f;break f}f=a-f|0;c=c-f|0;if((c|0)<1){break e}m=l?0:f+m|0;k=(f<<2)+k|0}r=v[i>>2];l=a;s=n;f=v[i+12>>2];if((f|0)<(a+c|0)){f=f-a|0;if((f|0)<0){break e}c=f+1|0}Pf(r,l,s,c,k,m,q)}e=e+8|0;o=o-1|0;if(o){continue}break}if(wf(h,g)){continue}break}}break a}if(!w[f+1433|0]){v[d+80>>2]=0;v[d+84>>2]=0;v[d+88>>2]=0;v[d+92>>2]=0;v[d+72>>2]=0;v[d+76>>2]=0;v[d+64>>2]=2147483632;v[d+48>>2]=0;v[d+52>>2]=0;v[d+56>>2]=0;v[d+60>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=2147483632;v[d+16>>2]=0;v[d+20>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=2147483632;g=d+32|0;h=d- -64|0;a=a+1628|0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){rc(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Gc(a);g:{if(!v[a+12>>2]){break g}v[a+1176>>2]=v[a+84>>2];if(!(!w[f+1160|0]|v[f+1172>>2]!=2)){rc(f+100|0,f,v[f+1164>>2],v[f+1168>>2]);v[f+1172>>2]=3}Gc(f);if(!v[f+12>>2]){break g}c=v[f+84>>2];v[f+1176>>2]=c;e=v[f+88>>2];i=v[a+88>>2];e=(e|0)<(i|0)?e:i;i=v[f+80>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((e|0)<(i|0)){break g}j=v[a+84>>2];k=(c|0)>(j|0)?c:j;c=v[f+92>>2];j=v[a+92>>2];if((k|0)>(((c|0)<(j|0)?c:j)|0)){break g}c=(e-i|0)+3|0;h:{if(c>>>0<=y[h+24>>2]){break h}e=v[h+20>>2];if(e){$a(e)}v[h+24>>2]=c;t=h,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[h+12>>2]){break h}e=v[h+8>>2];if(e){$a(e)}v[h+12>>2]=c;t=h,x=ab(c),v[t+8>>2]=x}v[h>>2]=2147483632;v[h+16>>2]=v[h+8>>2];c=v[h+20>>2];v[h+28>>2]=c;u[c+2>>1]=0;c=(v[a+88>>2]-v[a+80>>2]|0)+3|0;i:{if(c>>>0<=y[g+24>>2]){break i}e=v[g+20>>2];if(e){$a(e)}v[g+24>>2]=c;t=g,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[g+12>>2]){break i}e=v[g+8>>2];if(e){$a(e)}v[g+12>>2]=c;t=g,x=ab(c),v[t+8>>2]=x}v[g>>2]=2147483632;v[g+16>>2]=v[g+8>>2];c=v[g+20>>2];v[g+28>>2]=c;u[c+2>>1]=0;c=(v[f+88>>2]-v[f+80>>2]|0)+3|0;j:{if(c>>>0<=y[d+24>>2]){break j}e=v[d+20>>2];if(e){$a(e)}v[d+24>>2]=c;t=d,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[d+12>>2]){break j}e=v[d+8>>2];if(e){$a(e)}v[d+12>>2]=c;t=d,x=ab(c),v[t+8>>2]=x}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];c=v[d+20>>2];v[d+28>>2]=c;u[c+2>>1]=0;if(!Gb(a,g)){break g}if(!Gb(f,d)){break g}while(1){c=v[g+4>>2];e=v[d+4>>2];if((c|0)>=(e|0)){if((c|0)>(e|0)){while(1){if(!Gb(f,d)){break g}c=v[g+4>>2];e=v[d+4>>2];if((c|0)>(e|0)){continue}break}}if((c|0)!=(e|0)){continue}Se(g,d,h);if(v[h+28>>2]!=v[h+20>>2]){v[h+4>>2]=v[g+4>>2];P1(h,v[b>>2],v[b+4>>2],v[b+8>>2])}if(!Gb(a,g)){break g}if(Gb(f,d)){continue}break g}if(Gb(a,g)){continue}break}}a=v[d+20>>2];if(a){$a(a)}a=v[d+8>>2];if(a){$a(a)}a=v[d+52>>2];if(a){$a(a)}a=v[d+40>>2];if(a){$a(a)}a=v[d+84>>2];if(a){$a(a)}a=v[d+72>>2];if(!a){break a}$a(a);break a}v[d+80>>2]=0;v[d+84>>2]=0;v[d+88>>2]=0;v[d+92>>2]=0;v[d+72>>2]=0;v[d+76>>2]=0;v[d+64>>2]=2147483632;v[d+48>>2]=0;v[d+52>>2]=0;v[d+56>>2]=0;v[d+60>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=2147483632;v[d+16>>2]=0;v[d+20>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=2147483632;h=((v[a+1524>>2]==1?1180:1304)+a|0)+96|0;f=d+32|0;g=d- -64|0;a=a+1628|0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){rc(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Gc(a);k:{if(!v[a+12>>2]){break k}c=v[a+84>>2];v[a+1176>>2]=c;v[h+120>>2]=0;if(!v[h+60>>2]){break k}e=v[h+112>>2];i=v[a+88>>2];e=(e|0)<(i|0)?e:i;i=v[h+104>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((e|0)<(i|0)){break k}j=v[h+108>>2];k=(c|0)<(j|0)?j:c;c=v[h+116>>2];j=v[a+92>>2];if((k|0)>(((c|0)<(j|0)?c:j)|0)){break k}c=(e-i|0)+3|0;l:{if(c>>>0<=y[g+24>>2]){break l}e=v[g+20>>2];if(e){$a(e)}v[g+24>>2]=c;t=g,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[g+12>>2]){break l}e=v[g+8>>2];if(e){$a(e)}v[g+12>>2]=c;t=g,x=ab(c),v[t+8>>2]=x}v[g>>2]=2147483632;v[g+16>>2]=v[g+8>>2];c=v[g+20>>2];v[g+28>>2]=c;u[c+2>>1]=0;c=(v[a+88>>2]-v[a+80>>2]|0)+3|0;m:{if(c>>>0<=y[f+24>>2]){break m}e=v[f+20>>2];if(e){$a(e)}v[f+24>>2]=c;t=f,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[f+12>>2]){break m}e=v[f+8>>2];if(e){$a(e)}v[f+12>>2]=c;t=f,x=ab(c),v[t+8>>2]=x}v[f>>2]=2147483632;v[f+16>>2]=v[f+8>>2];c=v[f+20>>2];v[f+28>>2]=c;u[c+2>>1]=0;c=(v[h+112>>2]-v[h+104>>2]|0)+3|0;n:{if(c>>>0<=y[d+24>>2]){break n}e=v[d+20>>2];if(e){$a(e)}v[d+24>>2]=c;t=d,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[d+12>>2]){break n}e=v[d+8>>2];if(e){$a(e)}v[d+12>>2]=c;t=d,x=ab(c),v[t+8>>2]=x}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];c=v[d+20>>2];v[d+28>>2]=c;u[c+2>>1]=0;if(!Gb(a,f)){break k}if(!Uc(h,d)){break k}while(1){c=v[f+4>>2];e=v[d+4>>2];if((c|0)>=(e|0)){if((c|0)>(e|0)){while(1){if(!Uc(h,d)){break k}c=v[f+4>>2];e=v[d+4>>2];if((c|0)>(e|0)){continue}break}}if((c|0)!=(e|0)){continue}Se(f,d,g);if(v[g+28>>2]!=v[g+20>>2]){v[g+4>>2]=v[f+4>>2];P1(g,v[b>>2],v[b+4>>2],v[b+8>>2])}if(!Gb(a,f)){break k}if(Uc(h,d)){continue}break k}if(Gb(a,f)){continue}break}}a=v[d+20>>2];if(a){$a(a)}a=v[d+8>>2];if(a){$a(a)}a=v[d+52>>2];if(a){$a(a)}a=v[d+40>>2];if(a){$a(a)}a=v[d+84>>2];if(a){$a(a)}a=v[d+72>>2];if(!a){break a}$a(a)}Ma=d+96|0}function j2(a,b){var 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,x=0;d=Ma-96|0;Ma=d;f=a+96|0;a:{if(!w[f+1432|0]){g=a+1596|0;h=a+1628|0;if(!(!w[h+1160|0]|v[h+1172>>2]!=2)){rc(h+100|0,h,v[h+1164>>2],v[h+1168>>2]);v[h+1172>>2]=3}Gc(h);b:{if(!v[h+12>>2]){break b}v[h+1176>>2]=v[h+84>>2];f=v[h+80>>2];a=(v[h+88>>2]-f|0)+2|0;c:{if(a>>>0<=y[g+24>>2]){break c}c=v[g+20>>2];if(c){$a(c)}v[g+24>>2]=a;t=g,x=ab((a|0)!=(a&536870911)?-1:a<<3),v[t+20>>2]=x;if((a|0)==v[g+16>>2]){break c}c=v[g+12>>2];if(c){$a(c)}v[g+16>>2]=a;t=g,x=ab(a),v[t+12>>2]=x}v[g>>2]=f;v[g+4>>2]=2147483632;v[g+28>>2]=v[g+20>>2];if(!wf(h,g)){break b}while(1){i=v[b>>2];j=v[b+4>>2];p=v[b+8>>2];e=v[g+20>>2];o=v[g+28>>2]-e>>3;n=v[g+8>>2];while(1){a=v[e+12>>2];f=u[e+8>>1];k=u[e+10>>1];c=k>>31;c=(c^c+k)&65535;k=v[j+4>>2];d:{if(c>>>0<=k>>>0){break d}l=k;k=c+255&130816;if((l|0)==(k|0)){break d}m=v[j>>2];if(m){$a(m)}v[j+4>>2]=k;t=j,x=ab(k<<2),v[t>>2]=x}k=v[j>>2];O1(p,k,f,n,c);e:{if(v[i+16>>2]<(n|0)|v[i+8>>2]>(n|0)){break e}l=u[e+10>>1]<0;m=l?0:a;q=w[a|0];a=v[i+4>>2];f:{if((f|0)>=(a|0)){a=f;break f}f=a-f|0;c=c-f|0;if((c|0)<1){break e}m=l?0:f+m|0;k=(f<<2)+k|0}r=v[i>>2];l=a;s=n;f=v[i+12>>2];if((f|0)<(a+c|0)){f=f-a|0;if((f|0)<0){break e}c=f+1|0}Pf(r,l,s,c,k,m,q)}e=e+8|0;o=o-1|0;if(o){continue}break}if(wf(h,g)){continue}break}}break a}if(!w[f+1433|0]){v[d+80>>2]=0;v[d+84>>2]=0;v[d+88>>2]=0;v[d+92>>2]=0;v[d+72>>2]=0;v[d+76>>2]=0;v[d+64>>2]=2147483632;v[d+48>>2]=0;v[d+52>>2]=0;v[d+56>>2]=0;v[d+60>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=2147483632;v[d+16>>2]=0;v[d+20>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=2147483632;g=d+32|0;h=d- -64|0;a=a+1628|0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){rc(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Gc(a);g:{if(!v[a+12>>2]){break g}v[a+1176>>2]=v[a+84>>2];if(!(!w[f+1160|0]|v[f+1172>>2]!=2)){rc(f+100|0,f,v[f+1164>>2],v[f+1168>>2]);v[f+1172>>2]=3}Gc(f);if(!v[f+12>>2]){break g}c=v[f+84>>2];v[f+1176>>2]=c;e=v[f+88>>2];i=v[a+88>>2];e=(e|0)<(i|0)?e:i;i=v[f+80>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((e|0)<(i|0)){break g}j=v[a+84>>2];k=(c|0)>(j|0)?c:j;c=v[f+92>>2];j=v[a+92>>2];if((k|0)>(((c|0)<(j|0)?c:j)|0)){break g}c=(e-i|0)+3|0;h:{if(c>>>0<=y[h+24>>2]){break h}e=v[h+20>>2];if(e){$a(e)}v[h+24>>2]=c;t=h,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[h+12>>2]){break h}e=v[h+8>>2];if(e){$a(e)}v[h+12>>2]=c;t=h,x=ab(c),v[t+8>>2]=x}v[h>>2]=2147483632;v[h+16>>2]=v[h+8>>2];c=v[h+20>>2];v[h+28>>2]=c;u[c+2>>1]=0;c=(v[a+88>>2]-v[a+80>>2]|0)+3|0;i:{if(c>>>0<=y[g+24>>2]){break i}e=v[g+20>>2];if(e){$a(e)}v[g+24>>2]=c;t=g,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[g+12>>2]){break i}e=v[g+8>>2];if(e){$a(e)}v[g+12>>2]=c;t=g,x=ab(c),v[t+8>>2]=x}v[g>>2]=2147483632;v[g+16>>2]=v[g+8>>2];c=v[g+20>>2];v[g+28>>2]=c;u[c+2>>1]=0;c=(v[f+88>>2]-v[f+80>>2]|0)+3|0;j:{if(c>>>0<=y[d+24>>2]){break j}e=v[d+20>>2];if(e){$a(e)}v[d+24>>2]=c;t=d,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[d+12>>2]){break j}e=v[d+8>>2];if(e){$a(e)}v[d+12>>2]=c;t=d,x=ab(c),v[t+8>>2]=x}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];c=v[d+20>>2];v[d+28>>2]=c;u[c+2>>1]=0;if(!Gb(a,g)){break g}if(!Gb(f,d)){break g}while(1){c=v[g+4>>2];e=v[d+4>>2];if((c|0)>=(e|0)){if((c|0)>(e|0)){while(1){if(!Gb(f,d)){break g}c=v[g+4>>2];e=v[d+4>>2];if((c|0)>(e|0)){continue}break}}if((c|0)!=(e|0)){continue}Se(g,d,h);if(v[h+28>>2]!=v[h+20>>2]){v[h+4>>2]=v[g+4>>2];N1(h,v[b>>2],v[b+4>>2],v[b+8>>2])}if(!Gb(a,g)){break g}if(Gb(f,d)){continue}break g}if(Gb(a,g)){continue}break}}a=v[d+20>>2];if(a){$a(a)}a=v[d+8>>2];if(a){$a(a)}a=v[d+52>>2];if(a){$a(a)}a=v[d+40>>2];if(a){$a(a)}a=v[d+84>>2];if(a){$a(a)}a=v[d+72>>2];if(!a){break a}$a(a);break a}v[d+80>>2]=0;v[d+84>>2]=0;v[d+88>>2]=0;v[d+92>>2]=0;v[d+72>>2]=0;v[d+76>>2]=0;v[d+64>>2]=2147483632;v[d+48>>2]=0;v[d+52>>2]=0;v[d+56>>2]=0;v[d+60>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=2147483632;v[d+16>>2]=0;v[d+20>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=2147483632;h=((v[a+1524>>2]==1?1180:1304)+a|0)+96|0;f=d+32|0;g=d- -64|0;a=a+1628|0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){rc(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Gc(a);k:{if(!v[a+12>>2]){break k}c=v[a+84>>2];v[a+1176>>2]=c;v[h+120>>2]=0;if(!v[h+60>>2]){break k}e=v[h+112>>2];i=v[a+88>>2];e=(e|0)<(i|0)?e:i;i=v[h+104>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((e|0)<(i|0)){break k}j=v[h+108>>2];k=(c|0)<(j|0)?j:c;c=v[h+116>>2];j=v[a+92>>2];if((k|0)>(((c|0)<(j|0)?c:j)|0)){break k}c=(e-i|0)+3|0;l:{if(c>>>0<=y[g+24>>2]){break l}e=v[g+20>>2];if(e){$a(e)}v[g+24>>2]=c;t=g,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[g+12>>2]){break l}e=v[g+8>>2];if(e){$a(e)}v[g+12>>2]=c;t=g,x=ab(c),v[t+8>>2]=x}v[g>>2]=2147483632;v[g+16>>2]=v[g+8>>2];c=v[g+20>>2];v[g+28>>2]=c;u[c+2>>1]=0;c=(v[a+88>>2]-v[a+80>>2]|0)+3|0;m:{if(c>>>0<=y[f+24>>2]){break m}e=v[f+20>>2];if(e){$a(e)}v[f+24>>2]=c;t=f,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[f+12>>2]){break m}e=v[f+8>>2];if(e){$a(e)}v[f+12>>2]=c;t=f,x=ab(c),v[t+8>>2]=x}v[f>>2]=2147483632;v[f+16>>2]=v[f+8>>2];c=v[f+20>>2];v[f+28>>2]=c;u[c+2>>1]=0;c=(v[h+112>>2]-v[h+104>>2]|0)+3|0;n:{if(c>>>0<=y[d+24>>2]){break n}e=v[d+20>>2];if(e){$a(e)}v[d+24>>2]=c;t=d,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[d+12>>2]){break n}e=v[d+8>>2];if(e){$a(e)}v[d+12>>2]=c;t=d,x=ab(c),v[t+8>>2]=x}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];c=v[d+20>>2];v[d+28>>2]=c;u[c+2>>1]=0;if(!Gb(a,f)){break k}if(!Uc(h,d)){break k}while(1){c=v[f+4>>2];e=v[d+4>>2];if((c|0)>=(e|0)){if((c|0)>(e|0)){while(1){if(!Uc(h,d)){break k}c=v[f+4>>2];e=v[d+4>>2];if((c|0)>(e|0)){continue}break}}if((c|0)!=(e|0)){continue}Se(f,d,g);if(v[g+28>>2]!=v[g+20>>2]){v[g+4>>2]=v[f+4>>2];N1(g,v[b>>2],v[b+4>>2],v[b+8>>2])}if(!Gb(a,f)){break k}if(Uc(h,d)){continue}break k}if(Gb(a,f)){continue}break}}a=v[d+20>>2];if(a){$a(a)}a=v[d+8>>2];if(a){$a(a)}a=v[d+52>>2];if(a){$a(a)}a=v[d+40>>2];if(a){$a(a)}a=v[d+84>>2];if(a){$a(a)}a=v[d+72>>2];if(!a){break a}$a(a)}Ma=d+96|0}function i2(a,b){var 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,x=0;d=Ma-96|0;Ma=d;f=a+96|0;a:{if(!w[f+1432|0]){g=a+1596|0;h=a+1628|0;if(!(!w[h+1160|0]|v[h+1172>>2]!=2)){rc(h+100|0,h,v[h+1164>>2],v[h+1168>>2]);v[h+1172>>2]=3}Gc(h);b:{if(!v[h+12>>2]){break b}v[h+1176>>2]=v[h+84>>2];f=v[h+80>>2];a=(v[h+88>>2]-f|0)+2|0;c:{if(a>>>0<=y[g+24>>2]){break c}c=v[g+20>>2];if(c){$a(c)}v[g+24>>2]=a;t=g,x=ab((a|0)!=(a&536870911)?-1:a<<3),v[t+20>>2]=x;if((a|0)==v[g+16>>2]){break c}c=v[g+12>>2];if(c){$a(c)}v[g+16>>2]=a;t=g,x=ab(a),v[t+12>>2]=x}v[g>>2]=f;v[g+4>>2]=2147483632;v[g+28>>2]=v[g+20>>2];if(!wf(h,g)){break b}while(1){i=v[b>>2];j=v[b+4>>2];p=v[b+8>>2];e=v[g+20>>2];o=v[g+28>>2]-e>>3;n=v[g+8>>2];while(1){a=v[e+12>>2];f=u[e+8>>1];k=u[e+10>>1];c=k>>31;c=(c^c+k)&65535;k=v[j+4>>2];d:{if(c>>>0<=k>>>0){break d}l=k;k=c+255&130816;if((l|0)==(k|0)){break d}m=v[j>>2];if(m){$a(m)}v[j+4>>2]=k;t=j,x=ab(k<<2),v[t>>2]=x}k=v[j>>2];M1(p,k,f,n,c);e:{if(v[i+16>>2]<(n|0)|v[i+8>>2]>(n|0)){break e}l=u[e+10>>1]<0;m=l?0:a;q=w[a|0];a=v[i+4>>2];f:{if((f|0)>=(a|0)){a=f;break f}f=a-f|0;c=c-f|0;if((c|0)<1){break e}m=l?0:f+m|0;k=(f<<2)+k|0}r=v[i>>2];l=a;s=n;f=v[i+12>>2];if((f|0)<(a+c|0)){f=f-a|0;if((f|0)<0){break e}c=f+1|0}Pf(r,l,s,c,k,m,q)}e=e+8|0;o=o-1|0;if(o){continue}break}if(wf(h,g)){continue}break}}break a}if(!w[f+1433|0]){v[d+80>>2]=0;v[d+84>>2]=0;v[d+88>>2]=0;v[d+92>>2]=0;v[d+72>>2]=0;v[d+76>>2]=0;v[d+64>>2]=2147483632;v[d+48>>2]=0;v[d+52>>2]=0;v[d+56>>2]=0;v[d+60>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=2147483632;v[d+16>>2]=0;v[d+20>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=2147483632;g=d+32|0;h=d- -64|0;a=a+1628|0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){rc(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Gc(a);g:{if(!v[a+12>>2]){break g}v[a+1176>>2]=v[a+84>>2];if(!(!w[f+1160|0]|v[f+1172>>2]!=2)){rc(f+100|0,f,v[f+1164>>2],v[f+1168>>2]);v[f+1172>>2]=3}Gc(f);if(!v[f+12>>2]){break g}c=v[f+84>>2];v[f+1176>>2]=c;e=v[f+88>>2];i=v[a+88>>2];e=(e|0)<(i|0)?e:i;i=v[f+80>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((e|0)<(i|0)){break g}j=v[a+84>>2];k=(c|0)>(j|0)?c:j;c=v[f+92>>2];j=v[a+92>>2];if((k|0)>(((c|0)<(j|0)?c:j)|0)){break g}c=(e-i|0)+3|0;h:{if(c>>>0<=y[h+24>>2]){break h}e=v[h+20>>2];if(e){$a(e)}v[h+24>>2]=c;t=h,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[h+12>>2]){break h}e=v[h+8>>2];if(e){$a(e)}v[h+12>>2]=c;t=h,x=ab(c),v[t+8>>2]=x}v[h>>2]=2147483632;v[h+16>>2]=v[h+8>>2];c=v[h+20>>2];v[h+28>>2]=c;u[c+2>>1]=0;c=(v[a+88>>2]-v[a+80>>2]|0)+3|0;i:{if(c>>>0<=y[g+24>>2]){break i}e=v[g+20>>2];if(e){$a(e)}v[g+24>>2]=c;t=g,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[g+12>>2]){break i}e=v[g+8>>2];if(e){$a(e)}v[g+12>>2]=c;t=g,x=ab(c),v[t+8>>2]=x}v[g>>2]=2147483632;v[g+16>>2]=v[g+8>>2];c=v[g+20>>2];v[g+28>>2]=c;u[c+2>>1]=0;c=(v[f+88>>2]-v[f+80>>2]|0)+3|0;j:{if(c>>>0<=y[d+24>>2]){break j}e=v[d+20>>2];if(e){$a(e)}v[d+24>>2]=c;t=d,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[d+12>>2]){break j}e=v[d+8>>2];if(e){$a(e)}v[d+12>>2]=c;t=d,x=ab(c),v[t+8>>2]=x}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];c=v[d+20>>2];v[d+28>>2]=c;u[c+2>>1]=0;if(!Gb(a,g)){break g}if(!Gb(f,d)){break g}while(1){c=v[g+4>>2];e=v[d+4>>2];if((c|0)>=(e|0)){if((c|0)>(e|0)){while(1){if(!Gb(f,d)){break g}c=v[g+4>>2];e=v[d+4>>2];if((c|0)>(e|0)){continue}break}}if((c|0)!=(e|0)){continue}Se(g,d,h);if(v[h+28>>2]!=v[h+20>>2]){v[h+4>>2]=v[g+4>>2];L1(h,v[b>>2],v[b+4>>2],v[b+8>>2])}if(!Gb(a,g)){break g}if(Gb(f,d)){continue}break g}if(Gb(a,g)){continue}break}}a=v[d+20>>2];if(a){$a(a)}a=v[d+8>>2];if(a){$a(a)}a=v[d+52>>2];if(a){$a(a)}a=v[d+40>>2];if(a){$a(a)}a=v[d+84>>2];if(a){$a(a)}a=v[d+72>>2];if(!a){break a}$a(a);break a}v[d+80>>2]=0;v[d+84>>2]=0;v[d+88>>2]=0;v[d+92>>2]=0;v[d+72>>2]=0;v[d+76>>2]=0;v[d+64>>2]=2147483632;v[d+48>>2]=0;v[d+52>>2]=0;v[d+56>>2]=0;v[d+60>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=2147483632;v[d+16>>2]=0;v[d+20>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=2147483632;h=((v[a+1524>>2]==1?1180:1304)+a|0)+96|0;f=d+32|0;g=d- -64|0;a=a+1628|0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){rc(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Gc(a);k:{if(!v[a+12>>2]){break k}c=v[a+84>>2];v[a+1176>>2]=c;v[h+120>>2]=0;if(!v[h+60>>2]){break k}e=v[h+112>>2];i=v[a+88>>2];e=(e|0)<(i|0)?e:i;i=v[h+104>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((e|0)<(i|0)){break k}j=v[h+108>>2];k=(c|0)<(j|0)?j:c;c=v[h+116>>2];j=v[a+92>>2];if((k|0)>(((c|0)<(j|0)?c:j)|0)){break k}c=(e-i|0)+3|0;l:{if(c>>>0<=y[g+24>>2]){break l}e=v[g+20>>2];if(e){$a(e)}v[g+24>>2]=c;t=g,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[g+12>>2]){break l}e=v[g+8>>2];if(e){$a(e)}v[g+12>>2]=c;t=g,x=ab(c),v[t+8>>2]=x}v[g>>2]=2147483632;v[g+16>>2]=v[g+8>>2];c=v[g+20>>2];v[g+28>>2]=c;u[c+2>>1]=0;c=(v[a+88>>2]-v[a+80>>2]|0)+3|0;m:{if(c>>>0<=y[f+24>>2]){break m}e=v[f+20>>2];if(e){$a(e)}v[f+24>>2]=c;t=f,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[f+12>>2]){break m}e=v[f+8>>2];if(e){$a(e)}v[f+12>>2]=c;t=f,x=ab(c),v[t+8>>2]=x}v[f>>2]=2147483632;v[f+16>>2]=v[f+8>>2];c=v[f+20>>2];v[f+28>>2]=c;u[c+2>>1]=0;c=(v[h+112>>2]-v[h+104>>2]|0)+3|0;n:{if(c>>>0<=y[d+24>>2]){break n}e=v[d+20>>2];if(e){$a(e)}v[d+24>>2]=c;t=d,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[d+12>>2]){break n}e=v[d+8>>2];if(e){$a(e)}v[d+12>>2]=c;t=d,x=ab(c),v[t+8>>2]=x}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];c=v[d+20>>2];v[d+28>>2]=c;u[c+2>>1]=0;if(!Gb(a,f)){break k}if(!Uc(h,d)){break k}while(1){c=v[f+4>>2];e=v[d+4>>2];if((c|0)>=(e|0)){if((c|0)>(e|0)){while(1){if(!Uc(h,d)){break k}c=v[f+4>>2];e=v[d+4>>2];if((c|0)>(e|0)){continue}break}}if((c|0)!=(e|0)){continue}Se(f,d,g);if(v[g+28>>2]!=v[g+20>>2]){v[g+4>>2]=v[f+4>>2];L1(g,v[b>>2],v[b+4>>2],v[b+8>>2])}if(!Gb(a,f)){break k}if(Uc(h,d)){continue}break k}if(Gb(a,f)){continue}break}}a=v[d+20>>2];if(a){$a(a)}a=v[d+8>>2];if(a){$a(a)}a=v[d+52>>2];if(a){$a(a)}a=v[d+40>>2];if(a){$a(a)}a=v[d+84>>2];if(a){$a(a)}a=v[d+72>>2];if(!a){break a}$a(a)}Ma=d+96|0}function h2(a,b){var 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,x=0;d=Ma-96|0;Ma=d;f=a+96|0;a:{if(!w[f+1432|0]){g=a+1596|0;h=a+1628|0;if(!(!w[h+1160|0]|v[h+1172>>2]!=2)){rc(h+100|0,h,v[h+1164>>2],v[h+1168>>2]);v[h+1172>>2]=3}Gc(h);b:{if(!v[h+12>>2]){break b}v[h+1176>>2]=v[h+84>>2];f=v[h+80>>2];a=(v[h+88>>2]-f|0)+2|0;c:{if(a>>>0<=y[g+24>>2]){break c}c=v[g+20>>2];if(c){$a(c)}v[g+24>>2]=a;t=g,x=ab((a|0)!=(a&536870911)?-1:a<<3),v[t+20>>2]=x;if((a|0)==v[g+16>>2]){break c}c=v[g+12>>2];if(c){$a(c)}v[g+16>>2]=a;t=g,x=ab(a),v[t+12>>2]=x}v[g>>2]=f;v[g+4>>2]=2147483632;v[g+28>>2]=v[g+20>>2];if(!wf(h,g)){break b}while(1){i=v[b>>2];j=v[b+4>>2];p=v[b+8>>2];e=v[g+20>>2];o=v[g+28>>2]-e>>3;n=v[g+8>>2];while(1){a=v[e+12>>2];f=u[e+8>>1];k=u[e+10>>1];c=k>>31;c=(c^c+k)&65535;k=v[j+4>>2];d:{if(c>>>0<=k>>>0){break d}l=k;k=c+255&130816;if((l|0)==(k|0)){break d}m=v[j>>2];if(m){$a(m)}v[j+4>>2]=k;t=j,x=ab(k<<2),v[t>>2]=x}k=v[j>>2];K1(p,k,f,n,c);e:{if(v[i+16>>2]<(n|0)|v[i+8>>2]>(n|0)){break e}l=u[e+10>>1]<0;m=l?0:a;q=w[a|0];a=v[i+4>>2];f:{if((f|0)>=(a|0)){a=f;break f}f=a-f|0;c=c-f|0;if((c|0)<1){break e}m=l?0:f+m|0;k=(f<<2)+k|0}r=v[i>>2];l=a;s=n;f=v[i+12>>2];if((f|0)<(a+c|0)){f=f-a|0;if((f|0)<0){break e}c=f+1|0}Pf(r,l,s,c,k,m,q)}e=e+8|0;o=o-1|0;if(o){continue}break}if(wf(h,g)){continue}break}}break a}if(!w[f+1433|0]){v[d+80>>2]=0;v[d+84>>2]=0;v[d+88>>2]=0;v[d+92>>2]=0;v[d+72>>2]=0;v[d+76>>2]=0;v[d+64>>2]=2147483632;v[d+48>>2]=0;v[d+52>>2]=0;v[d+56>>2]=0;v[d+60>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=2147483632;v[d+16>>2]=0;v[d+20>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=2147483632;g=d+32|0;h=d- -64|0;a=a+1628|0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){rc(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Gc(a);g:{if(!v[a+12>>2]){break g}v[a+1176>>2]=v[a+84>>2];if(!(!w[f+1160|0]|v[f+1172>>2]!=2)){rc(f+100|0,f,v[f+1164>>2],v[f+1168>>2]);v[f+1172>>2]=3}Gc(f);if(!v[f+12>>2]){break g}c=v[f+84>>2];v[f+1176>>2]=c;e=v[f+88>>2];i=v[a+88>>2];e=(e|0)<(i|0)?e:i;i=v[f+80>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((e|0)<(i|0)){break g}j=v[a+84>>2];k=(c|0)>(j|0)?c:j;c=v[f+92>>2];j=v[a+92>>2];if((k|0)>(((c|0)<(j|0)?c:j)|0)){break g}c=(e-i|0)+3|0;h:{if(c>>>0<=y[h+24>>2]){break h}e=v[h+20>>2];if(e){$a(e)}v[h+24>>2]=c;t=h,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[h+12>>2]){break h}e=v[h+8>>2];if(e){$a(e)}v[h+12>>2]=c;t=h,x=ab(c),v[t+8>>2]=x}v[h>>2]=2147483632;v[h+16>>2]=v[h+8>>2];c=v[h+20>>2];v[h+28>>2]=c;u[c+2>>1]=0;c=(v[a+88>>2]-v[a+80>>2]|0)+3|0;i:{if(c>>>0<=y[g+24>>2]){break i}e=v[g+20>>2];if(e){$a(e)}v[g+24>>2]=c;t=g,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[g+12>>2]){break i}e=v[g+8>>2];if(e){$a(e)}v[g+12>>2]=c;t=g,x=ab(c),v[t+8>>2]=x}v[g>>2]=2147483632;v[g+16>>2]=v[g+8>>2];c=v[g+20>>2];v[g+28>>2]=c;u[c+2>>1]=0;c=(v[f+88>>2]-v[f+80>>2]|0)+3|0;j:{if(c>>>0<=y[d+24>>2]){break j}e=v[d+20>>2];if(e){$a(e)}v[d+24>>2]=c;t=d,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[d+12>>2]){break j}e=v[d+8>>2];if(e){$a(e)}v[d+12>>2]=c;t=d,x=ab(c),v[t+8>>2]=x}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];c=v[d+20>>2];v[d+28>>2]=c;u[c+2>>1]=0;if(!Gb(a,g)){break g}if(!Gb(f,d)){break g}while(1){c=v[g+4>>2];e=v[d+4>>2];if((c|0)>=(e|0)){if((c|0)>(e|0)){while(1){if(!Gb(f,d)){break g}c=v[g+4>>2];e=v[d+4>>2];if((c|0)>(e|0)){continue}break}}if((c|0)!=(e|0)){continue}Se(g,d,h);if(v[h+28>>2]!=v[h+20>>2]){v[h+4>>2]=v[g+4>>2];J1(h,v[b>>2],v[b+4>>2],v[b+8>>2])}if(!Gb(a,g)){break g}if(Gb(f,d)){continue}break g}if(Gb(a,g)){continue}break}}a=v[d+20>>2];if(a){$a(a)}a=v[d+8>>2];if(a){$a(a)}a=v[d+52>>2];if(a){$a(a)}a=v[d+40>>2];if(a){$a(a)}a=v[d+84>>2];if(a){$a(a)}a=v[d+72>>2];if(!a){break a}$a(a);break a}v[d+80>>2]=0;v[d+84>>2]=0;v[d+88>>2]=0;v[d+92>>2]=0;v[d+72>>2]=0;v[d+76>>2]=0;v[d+64>>2]=2147483632;v[d+48>>2]=0;v[d+52>>2]=0;v[d+56>>2]=0;v[d+60>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=2147483632;v[d+16>>2]=0;v[d+20>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=2147483632;h=((v[a+1524>>2]==1?1180:1304)+a|0)+96|0;f=d+32|0;g=d- -64|0;a=a+1628|0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){rc(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Gc(a);k:{if(!v[a+12>>2]){break k}c=v[a+84>>2];v[a+1176>>2]=c;v[h+120>>2]=0;if(!v[h+60>>2]){break k}e=v[h+112>>2];i=v[a+88>>2];e=(e|0)<(i|0)?e:i;i=v[h+104>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((e|0)<(i|0)){break k}j=v[h+108>>2];k=(c|0)<(j|0)?j:c;c=v[h+116>>2];j=v[a+92>>2];if((k|0)>(((c|0)<(j|0)?c:j)|0)){break k}c=(e-i|0)+3|0;l:{if(c>>>0<=y[g+24>>2]){break l}e=v[g+20>>2];if(e){$a(e)}v[g+24>>2]=c;t=g,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[g+12>>2]){break l}e=v[g+8>>2];if(e){$a(e)}v[g+12>>2]=c;t=g,x=ab(c),v[t+8>>2]=x}v[g>>2]=2147483632;v[g+16>>2]=v[g+8>>2];c=v[g+20>>2];v[g+28>>2]=c;u[c+2>>1]=0;c=(v[a+88>>2]-v[a+80>>2]|0)+3|0;m:{if(c>>>0<=y[f+24>>2]){break m}e=v[f+20>>2];if(e){$a(e)}v[f+24>>2]=c;t=f,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[f+12>>2]){break m}e=v[f+8>>2];if(e){$a(e)}v[f+12>>2]=c;t=f,x=ab(c),v[t+8>>2]=x}v[f>>2]=2147483632;v[f+16>>2]=v[f+8>>2];c=v[f+20>>2];v[f+28>>2]=c;u[c+2>>1]=0;c=(v[h+112>>2]-v[h+104>>2]|0)+3|0;n:{if(c>>>0<=y[d+24>>2]){break n}e=v[d+20>>2];if(e){$a(e)}v[d+24>>2]=c;t=d,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[d+12>>2]){break n}e=v[d+8>>2];if(e){$a(e)}v[d+12>>2]=c;t=d,x=ab(c),v[t+8>>2]=x}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];c=v[d+20>>2];v[d+28>>2]=c;u[c+2>>1]=0;if(!Gb(a,f)){break k}if(!Uc(h,d)){break k}while(1){c=v[f+4>>2];e=v[d+4>>2];if((c|0)>=(e|0)){if((c|0)>(e|0)){while(1){if(!Uc(h,d)){break k}c=v[f+4>>2];e=v[d+4>>2];if((c|0)>(e|0)){continue}break}}if((c|0)!=(e|0)){continue}Se(f,d,g);if(v[g+28>>2]!=v[g+20>>2]){v[g+4>>2]=v[f+4>>2];J1(g,v[b>>2],v[b+4>>2],v[b+8>>2])}if(!Gb(a,f)){break k}if(Uc(h,d)){continue}break k}if(Gb(a,f)){continue}break}}a=v[d+20>>2];if(a){$a(a)}a=v[d+8>>2];if(a){$a(a)}a=v[d+52>>2];if(a){$a(a)}a=v[d+40>>2];if(a){$a(a)}a=v[d+84>>2];if(a){$a(a)}a=v[d+72>>2];if(!a){break a}$a(a)}Ma=d+96|0}function g2(a,b){var 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,x=0;d=Ma-96|0;Ma=d;f=a+96|0;a:{if(!w[f+1432|0]){g=a+1596|0;h=a+1628|0;if(!(!w[h+1160|0]|v[h+1172>>2]!=2)){rc(h+100|0,h,v[h+1164>>2],v[h+1168>>2]);v[h+1172>>2]=3}Gc(h);b:{if(!v[h+12>>2]){break b}v[h+1176>>2]=v[h+84>>2];f=v[h+80>>2];a=(v[h+88>>2]-f|0)+2|0;c:{if(a>>>0<=y[g+24>>2]){break c}c=v[g+20>>2];if(c){$a(c)}v[g+24>>2]=a;t=g,x=ab((a|0)!=(a&536870911)?-1:a<<3),v[t+20>>2]=x;if((a|0)==v[g+16>>2]){break c}c=v[g+12>>2];if(c){$a(c)}v[g+16>>2]=a;t=g,x=ab(a),v[t+12>>2]=x}v[g>>2]=f;v[g+4>>2]=2147483632;v[g+28>>2]=v[g+20>>2];if(!wf(h,g)){break b}while(1){i=v[b>>2];j=v[b+4>>2];p=v[b+8>>2];e=v[g+20>>2];o=v[g+28>>2]-e>>3;n=v[g+8>>2];while(1){a=v[e+12>>2];f=u[e+8>>1];k=u[e+10>>1];c=k>>31;c=(c^c+k)&65535;k=v[j+4>>2];d:{if(c>>>0<=k>>>0){break d}l=k;k=c+255&130816;if((l|0)==(k|0)){break d}m=v[j>>2];if(m){$a(m)}v[j+4>>2]=k;t=j,x=ab(k<<2),v[t>>2]=x}k=v[j>>2];I1(p,k,f,n,c);e:{if(v[i+16>>2]<(n|0)|v[i+8>>2]>(n|0)){break e}l=u[e+10>>1]<0;m=l?0:a;q=w[a|0];a=v[i+4>>2];f:{if((f|0)>=(a|0)){a=f;break f}f=a-f|0;c=c-f|0;if((c|0)<1){break e}m=l?0:f+m|0;k=(f<<2)+k|0}r=v[i>>2];l=a;s=n;f=v[i+12>>2];if((f|0)<(a+c|0)){f=f-a|0;if((f|0)<0){break e}c=f+1|0}Pf(r,l,s,c,k,m,q)}e=e+8|0;o=o-1|0;if(o){continue}break}if(wf(h,g)){continue}break}}break a}if(!w[f+1433|0]){v[d+80>>2]=0;v[d+84>>2]=0;v[d+88>>2]=0;v[d+92>>2]=0;v[d+72>>2]=0;v[d+76>>2]=0;v[d+64>>2]=2147483632;v[d+48>>2]=0;v[d+52>>2]=0;v[d+56>>2]=0;v[d+60>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=2147483632;v[d+16>>2]=0;v[d+20>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=2147483632;g=d+32|0;h=d- -64|0;a=a+1628|0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){rc(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Gc(a);g:{if(!v[a+12>>2]){break g}v[a+1176>>2]=v[a+84>>2];if(!(!w[f+1160|0]|v[f+1172>>2]!=2)){rc(f+100|0,f,v[f+1164>>2],v[f+1168>>2]);v[f+1172>>2]=3}Gc(f);if(!v[f+12>>2]){break g}c=v[f+84>>2];v[f+1176>>2]=c;e=v[f+88>>2];i=v[a+88>>2];e=(e|0)<(i|0)?e:i;i=v[f+80>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((e|0)<(i|0)){break g}j=v[a+84>>2];k=(c|0)>(j|0)?c:j;c=v[f+92>>2];j=v[a+92>>2];if((k|0)>(((c|0)<(j|0)?c:j)|0)){break g}c=(e-i|0)+3|0;h:{if(c>>>0<=y[h+24>>2]){break h}e=v[h+20>>2];if(e){$a(e)}v[h+24>>2]=c;t=h,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[h+12>>2]){break h}e=v[h+8>>2];if(e){$a(e)}v[h+12>>2]=c;t=h,x=ab(c),v[t+8>>2]=x}v[h>>2]=2147483632;v[h+16>>2]=v[h+8>>2];c=v[h+20>>2];v[h+28>>2]=c;u[c+2>>1]=0;c=(v[a+88>>2]-v[a+80>>2]|0)+3|0;i:{if(c>>>0<=y[g+24>>2]){break i}e=v[g+20>>2];if(e){$a(e)}v[g+24>>2]=c;t=g,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[g+12>>2]){break i}e=v[g+8>>2];if(e){$a(e)}v[g+12>>2]=c;t=g,x=ab(c),v[t+8>>2]=x}v[g>>2]=2147483632;v[g+16>>2]=v[g+8>>2];c=v[g+20>>2];v[g+28>>2]=c;u[c+2>>1]=0;c=(v[f+88>>2]-v[f+80>>2]|0)+3|0;j:{if(c>>>0<=y[d+24>>2]){break j}e=v[d+20>>2];if(e){$a(e)}v[d+24>>2]=c;t=d,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[d+12>>2]){break j}e=v[d+8>>2];if(e){$a(e)}v[d+12>>2]=c;t=d,x=ab(c),v[t+8>>2]=x}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];c=v[d+20>>2];v[d+28>>2]=c;u[c+2>>1]=0;if(!Gb(a,g)){break g}if(!Gb(f,d)){break g}while(1){c=v[g+4>>2];e=v[d+4>>2];if((c|0)>=(e|0)){if((c|0)>(e|0)){while(1){if(!Gb(f,d)){break g}c=v[g+4>>2];e=v[d+4>>2];if((c|0)>(e|0)){continue}break}}if((c|0)!=(e|0)){continue}Se(g,d,h);if(v[h+28>>2]!=v[h+20>>2]){v[h+4>>2]=v[g+4>>2];H1(h,v[b>>2],v[b+4>>2],v[b+8>>2])}if(!Gb(a,g)){break g}if(Gb(f,d)){continue}break g}if(Gb(a,g)){continue}break}}a=v[d+20>>2];if(a){$a(a)}a=v[d+8>>2];if(a){$a(a)}a=v[d+52>>2];if(a){$a(a)}a=v[d+40>>2];if(a){$a(a)}a=v[d+84>>2];if(a){$a(a)}a=v[d+72>>2];if(!a){break a}$a(a);break a}v[d+80>>2]=0;v[d+84>>2]=0;v[d+88>>2]=0;v[d+92>>2]=0;v[d+72>>2]=0;v[d+76>>2]=0;v[d+64>>2]=2147483632;v[d+48>>2]=0;v[d+52>>2]=0;v[d+56>>2]=0;v[d+60>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=2147483632;v[d+16>>2]=0;v[d+20>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=2147483632;h=((v[a+1524>>2]==1?1180:1304)+a|0)+96|0;f=d+32|0;g=d- -64|0;a=a+1628|0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){rc(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Gc(a);k:{if(!v[a+12>>2]){break k}c=v[a+84>>2];v[a+1176>>2]=c;v[h+120>>2]=0;if(!v[h+60>>2]){break k}e=v[h+112>>2];i=v[a+88>>2];e=(e|0)<(i|0)?e:i;i=v[h+104>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((e|0)<(i|0)){break k}j=v[h+108>>2];k=(c|0)<(j|0)?j:c;c=v[h+116>>2];j=v[a+92>>2];if((k|0)>(((c|0)<(j|0)?c:j)|0)){break k}c=(e-i|0)+3|0;l:{if(c>>>0<=y[g+24>>2]){break l}e=v[g+20>>2];if(e){$a(e)}v[g+24>>2]=c;t=g,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[g+12>>2]){break l}e=v[g+8>>2];if(e){$a(e)}v[g+12>>2]=c;t=g,x=ab(c),v[t+8>>2]=x}v[g>>2]=2147483632;v[g+16>>2]=v[g+8>>2];c=v[g+20>>2];v[g+28>>2]=c;u[c+2>>1]=0;c=(v[a+88>>2]-v[a+80>>2]|0)+3|0;m:{if(c>>>0<=y[f+24>>2]){break m}e=v[f+20>>2];if(e){$a(e)}v[f+24>>2]=c;t=f,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[f+12>>2]){break m}e=v[f+8>>2];if(e){$a(e)}v[f+12>>2]=c;t=f,x=ab(c),v[t+8>>2]=x}v[f>>2]=2147483632;v[f+16>>2]=v[f+8>>2];c=v[f+20>>2];v[f+28>>2]=c;u[c+2>>1]=0;c=(v[h+112>>2]-v[h+104>>2]|0)+3|0;n:{if(c>>>0<=y[d+24>>2]){break n}e=v[d+20>>2];if(e){$a(e)}v[d+24>>2]=c;t=d,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[d+12>>2]){break n}e=v[d+8>>2];if(e){$a(e)}v[d+12>>2]=c;t=d,x=ab(c),v[t+8>>2]=x}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];c=v[d+20>>2];v[d+28>>2]=c;u[c+2>>1]=0;if(!Gb(a,f)){break k}if(!Uc(h,d)){break k}while(1){c=v[f+4>>2];e=v[d+4>>2];if((c|0)>=(e|0)){if((c|0)>(e|0)){while(1){if(!Uc(h,d)){break k}c=v[f+4>>2];e=v[d+4>>2];if((c|0)>(e|0)){continue}break}}if((c|0)!=(e|0)){continue}Se(f,d,g);if(v[g+28>>2]!=v[g+20>>2]){v[g+4>>2]=v[f+4>>2];H1(g,v[b>>2],v[b+4>>2],v[b+8>>2])}if(!Gb(a,f)){break k}if(Uc(h,d)){continue}break k}if(Gb(a,f)){continue}break}}a=v[d+20>>2];if(a){$a(a)}a=v[d+8>>2];if(a){$a(a)}a=v[d+52>>2];if(a){$a(a)}a=v[d+40>>2];if(a){$a(a)}a=v[d+84>>2];if(a){$a(a)}a=v[d+72>>2];if(!a){break a}$a(a)}Ma=d+96|0}function f2(a,b){var 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,x=0;d=Ma-96|0;Ma=d;f=a+96|0;a:{if(!w[f+1432|0]){g=a+1596|0;h=a+1628|0;if(!(!w[h+1160|0]|v[h+1172>>2]!=2)){rc(h+100|0,h,v[h+1164>>2],v[h+1168>>2]);v[h+1172>>2]=3}Gc(h);b:{if(!v[h+12>>2]){break b}v[h+1176>>2]=v[h+84>>2];f=v[h+80>>2];a=(v[h+88>>2]-f|0)+2|0;c:{if(a>>>0<=y[g+24>>2]){break c}c=v[g+20>>2];if(c){$a(c)}v[g+24>>2]=a;t=g,x=ab((a|0)!=(a&536870911)?-1:a<<3),v[t+20>>2]=x;if((a|0)==v[g+16>>2]){break c}c=v[g+12>>2];if(c){$a(c)}v[g+16>>2]=a;t=g,x=ab(a),v[t+12>>2]=x}v[g>>2]=f;v[g+4>>2]=2147483632;v[g+28>>2]=v[g+20>>2];if(!wf(h,g)){break b}while(1){i=v[b>>2];j=v[b+4>>2];p=v[b+8>>2];e=v[g+20>>2];o=v[g+28>>2]-e>>3;n=v[g+8>>2];while(1){a=v[e+12>>2];f=u[e+8>>1];k=u[e+10>>1];c=k>>31;c=(c^c+k)&65535;k=v[j+4>>2];d:{if(c>>>0<=k>>>0){break d}l=k;k=c+255&130816;if((l|0)==(k|0)){break d}m=v[j>>2];if(m){$a(m)}v[j+4>>2]=k;t=j,x=ab(k<<2),v[t>>2]=x}k=v[j>>2];G1(p,k,f,n,c);e:{if(v[i+16>>2]<(n|0)|v[i+8>>2]>(n|0)){break e}l=u[e+10>>1]<0;m=l?0:a;q=w[a|0];a=v[i+4>>2];f:{if((f|0)>=(a|0)){a=f;break f}f=a-f|0;c=c-f|0;if((c|0)<1){break e}m=l?0:f+m|0;k=(f<<2)+k|0}r=v[i>>2];l=a;s=n;f=v[i+12>>2];if((f|0)<(a+c|0)){f=f-a|0;if((f|0)<0){break e}c=f+1|0}Pf(r,l,s,c,k,m,q)}e=e+8|0;o=o-1|0;if(o){continue}break}if(wf(h,g)){continue}break}}break a}if(!w[f+1433|0]){v[d+80>>2]=0;v[d+84>>2]=0;v[d+88>>2]=0;v[d+92>>2]=0;v[d+72>>2]=0;v[d+76>>2]=0;v[d+64>>2]=2147483632;v[d+48>>2]=0;v[d+52>>2]=0;v[d+56>>2]=0;v[d+60>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=2147483632;v[d+16>>2]=0;v[d+20>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=2147483632;g=d+32|0;h=d- -64|0;a=a+1628|0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){rc(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Gc(a);g:{if(!v[a+12>>2]){break g}v[a+1176>>2]=v[a+84>>2];if(!(!w[f+1160|0]|v[f+1172>>2]!=2)){rc(f+100|0,f,v[f+1164>>2],v[f+1168>>2]);v[f+1172>>2]=3}Gc(f);if(!v[f+12>>2]){break g}c=v[f+84>>2];v[f+1176>>2]=c;e=v[f+88>>2];i=v[a+88>>2];e=(e|0)<(i|0)?e:i;i=v[f+80>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((e|0)<(i|0)){break g}j=v[a+84>>2];k=(c|0)>(j|0)?c:j;c=v[f+92>>2];j=v[a+92>>2];if((k|0)>(((c|0)<(j|0)?c:j)|0)){break g}c=(e-i|0)+3|0;h:{if(c>>>0<=y[h+24>>2]){break h}e=v[h+20>>2];if(e){$a(e)}v[h+24>>2]=c;t=h,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[h+12>>2]){break h}e=v[h+8>>2];if(e){$a(e)}v[h+12>>2]=c;t=h,x=ab(c),v[t+8>>2]=x}v[h>>2]=2147483632;v[h+16>>2]=v[h+8>>2];c=v[h+20>>2];v[h+28>>2]=c;u[c+2>>1]=0;c=(v[a+88>>2]-v[a+80>>2]|0)+3|0;i:{if(c>>>0<=y[g+24>>2]){break i}e=v[g+20>>2];if(e){$a(e)}v[g+24>>2]=c;t=g,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[g+12>>2]){break i}e=v[g+8>>2];if(e){$a(e)}v[g+12>>2]=c;t=g,x=ab(c),v[t+8>>2]=x}v[g>>2]=2147483632;v[g+16>>2]=v[g+8>>2];c=v[g+20>>2];v[g+28>>2]=c;u[c+2>>1]=0;c=(v[f+88>>2]-v[f+80>>2]|0)+3|0;j:{if(c>>>0<=y[d+24>>2]){break j}e=v[d+20>>2];if(e){$a(e)}v[d+24>>2]=c;t=d,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[d+12>>2]){break j}e=v[d+8>>2];if(e){$a(e)}v[d+12>>2]=c;t=d,x=ab(c),v[t+8>>2]=x}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];c=v[d+20>>2];v[d+28>>2]=c;u[c+2>>1]=0;if(!Gb(a,g)){break g}if(!Gb(f,d)){break g}while(1){c=v[g+4>>2];e=v[d+4>>2];if((c|0)>=(e|0)){if((c|0)>(e|0)){while(1){if(!Gb(f,d)){break g}c=v[g+4>>2];e=v[d+4>>2];if((c|0)>(e|0)){continue}break}}if((c|0)!=(e|0)){continue}Se(g,d,h);if(v[h+28>>2]!=v[h+20>>2]){v[h+4>>2]=v[g+4>>2];F1(h,v[b>>2],v[b+4>>2],v[b+8>>2])}if(!Gb(a,g)){break g}if(Gb(f,d)){continue}break g}if(Gb(a,g)){continue}break}}a=v[d+20>>2];if(a){$a(a)}a=v[d+8>>2];if(a){$a(a)}a=v[d+52>>2];if(a){$a(a)}a=v[d+40>>2];if(a){$a(a)}a=v[d+84>>2];if(a){$a(a)}a=v[d+72>>2];if(!a){break a}$a(a);break a}v[d+80>>2]=0;v[d+84>>2]=0;v[d+88>>2]=0;v[d+92>>2]=0;v[d+72>>2]=0;v[d+76>>2]=0;v[d+64>>2]=2147483632;v[d+48>>2]=0;v[d+52>>2]=0;v[d+56>>2]=0;v[d+60>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=2147483632;v[d+16>>2]=0;v[d+20>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=2147483632;h=((v[a+1524>>2]==1?1180:1304)+a|0)+96|0;f=d+32|0;g=d- -64|0;a=a+1628|0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){rc(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Gc(a);k:{if(!v[a+12>>2]){break k}c=v[a+84>>2];v[a+1176>>2]=c;v[h+120>>2]=0;if(!v[h+60>>2]){break k}e=v[h+112>>2];i=v[a+88>>2];e=(e|0)<(i|0)?e:i;i=v[h+104>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((e|0)<(i|0)){break k}j=v[h+108>>2];k=(c|0)<(j|0)?j:c;c=v[h+116>>2];j=v[a+92>>2];if((k|0)>(((c|0)<(j|0)?c:j)|0)){break k}c=(e-i|0)+3|0;l:{if(c>>>0<=y[g+24>>2]){break l}e=v[g+20>>2];if(e){$a(e)}v[g+24>>2]=c;t=g,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[g+12>>2]){break l}e=v[g+8>>2];if(e){$a(e)}v[g+12>>2]=c;t=g,x=ab(c),v[t+8>>2]=x}v[g>>2]=2147483632;v[g+16>>2]=v[g+8>>2];c=v[g+20>>2];v[g+28>>2]=c;u[c+2>>1]=0;c=(v[a+88>>2]-v[a+80>>2]|0)+3|0;m:{if(c>>>0<=y[f+24>>2]){break m}e=v[f+20>>2];if(e){$a(e)}v[f+24>>2]=c;t=f,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[f+12>>2]){break m}e=v[f+8>>2];if(e){$a(e)}v[f+12>>2]=c;t=f,x=ab(c),v[t+8>>2]=x}v[f>>2]=2147483632;v[f+16>>2]=v[f+8>>2];c=v[f+20>>2];v[f+28>>2]=c;u[c+2>>1]=0;c=(v[h+112>>2]-v[h+104>>2]|0)+3|0;n:{if(c>>>0<=y[d+24>>2]){break n}e=v[d+20>>2];if(e){$a(e)}v[d+24>>2]=c;t=d,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[d+12>>2]){break n}e=v[d+8>>2];if(e){$a(e)}v[d+12>>2]=c;t=d,x=ab(c),v[t+8>>2]=x}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];c=v[d+20>>2];v[d+28>>2]=c;u[c+2>>1]=0;if(!Gb(a,f)){break k}if(!Uc(h,d)){break k}while(1){c=v[f+4>>2];e=v[d+4>>2];if((c|0)>=(e|0)){if((c|0)>(e|0)){while(1){if(!Uc(h,d)){break k}c=v[f+4>>2];e=v[d+4>>2];if((c|0)>(e|0)){continue}break}}if((c|0)!=(e|0)){continue}Se(f,d,g);if(v[g+28>>2]!=v[g+20>>2]){v[g+4>>2]=v[f+4>>2];F1(g,v[b>>2],v[b+4>>2],v[b+8>>2])}if(!Gb(a,f)){break k}if(Uc(h,d)){continue}break k}if(Gb(a,f)){continue}break}}a=v[d+20>>2];if(a){$a(a)}a=v[d+8>>2];if(a){$a(a)}a=v[d+52>>2];if(a){$a(a)}a=v[d+40>>2];if(a){$a(a)}a=v[d+84>>2];if(a){$a(a)}a=v[d+72>>2];if(!a){break a}$a(a)}Ma=d+96|0}function e2(a,b){var 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,x=0;d=Ma-96|0;Ma=d;f=a+96|0;a:{if(!w[f+1432|0]){g=a+1596|0;h=a+1628|0;if(!(!w[h+1160|0]|v[h+1172>>2]!=2)){rc(h+100|0,h,v[h+1164>>2],v[h+1168>>2]);v[h+1172>>2]=3}Gc(h);b:{if(!v[h+12>>2]){break b}v[h+1176>>2]=v[h+84>>2];f=v[h+80>>2];a=(v[h+88>>2]-f|0)+2|0;c:{if(a>>>0<=y[g+24>>2]){break c}c=v[g+20>>2];if(c){$a(c)}v[g+24>>2]=a;t=g,x=ab((a|0)!=(a&536870911)?-1:a<<3),v[t+20>>2]=x;if((a|0)==v[g+16>>2]){break c}c=v[g+12>>2];if(c){$a(c)}v[g+16>>2]=a;t=g,x=ab(a),v[t+12>>2]=x}v[g>>2]=f;v[g+4>>2]=2147483632;v[g+28>>2]=v[g+20>>2];if(!wf(h,g)){break b}while(1){i=v[b>>2];j=v[b+4>>2];p=v[b+8>>2];e=v[g+20>>2];o=v[g+28>>2]-e>>3;n=v[g+8>>2];while(1){a=v[e+12>>2];f=u[e+8>>1];k=u[e+10>>1];c=k>>31;c=(c^c+k)&65535;k=v[j+4>>2];d:{if(c>>>0<=k>>>0){break d}l=k;k=c+255&130816;if((l|0)==(k|0)){break d}m=v[j>>2];if(m){$a(m)}v[j+4>>2]=k;t=j,x=ab(k<<2),v[t>>2]=x}k=v[j>>2];E1(p,k,f,n,c);e:{if(v[i+16>>2]<(n|0)|v[i+8>>2]>(n|0)){break e}l=u[e+10>>1]<0;m=l?0:a;q=w[a|0];a=v[i+4>>2];f:{if((f|0)>=(a|0)){a=f;break f}f=a-f|0;c=c-f|0;if((c|0)<1){break e}m=l?0:f+m|0;k=(f<<2)+k|0}r=v[i>>2];l=a;s=n;f=v[i+12>>2];if((f|0)<(a+c|0)){f=f-a|0;if((f|0)<0){break e}c=f+1|0}Pf(r,l,s,c,k,m,q)}e=e+8|0;o=o-1|0;if(o){continue}break}if(wf(h,g)){continue}break}}break a}if(!w[f+1433|0]){v[d+80>>2]=0;v[d+84>>2]=0;v[d+88>>2]=0;v[d+92>>2]=0;v[d+72>>2]=0;v[d+76>>2]=0;v[d+64>>2]=2147483632;v[d+48>>2]=0;v[d+52>>2]=0;v[d+56>>2]=0;v[d+60>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=2147483632;v[d+16>>2]=0;v[d+20>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=2147483632;g=d+32|0;h=d- -64|0;a=a+1628|0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){rc(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Gc(a);g:{if(!v[a+12>>2]){break g}v[a+1176>>2]=v[a+84>>2];if(!(!w[f+1160|0]|v[f+1172>>2]!=2)){rc(f+100|0,f,v[f+1164>>2],v[f+1168>>2]);v[f+1172>>2]=3}Gc(f);if(!v[f+12>>2]){break g}c=v[f+84>>2];v[f+1176>>2]=c;e=v[f+88>>2];i=v[a+88>>2];e=(e|0)<(i|0)?e:i;i=v[f+80>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((e|0)<(i|0)){break g}j=v[a+84>>2];k=(c|0)>(j|0)?c:j;c=v[f+92>>2];j=v[a+92>>2];if((k|0)>(((c|0)<(j|0)?c:j)|0)){break g}c=(e-i|0)+3|0;h:{if(c>>>0<=y[h+24>>2]){break h}e=v[h+20>>2];if(e){$a(e)}v[h+24>>2]=c;t=h,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[h+12>>2]){break h}e=v[h+8>>2];if(e){$a(e)}v[h+12>>2]=c;t=h,x=ab(c),v[t+8>>2]=x}v[h>>2]=2147483632;v[h+16>>2]=v[h+8>>2];c=v[h+20>>2];v[h+28>>2]=c;u[c+2>>1]=0;c=(v[a+88>>2]-v[a+80>>2]|0)+3|0;i:{if(c>>>0<=y[g+24>>2]){break i}e=v[g+20>>2];if(e){$a(e)}v[g+24>>2]=c;t=g,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[g+12>>2]){break i}e=v[g+8>>2];if(e){$a(e)}v[g+12>>2]=c;t=g,x=ab(c),v[t+8>>2]=x}v[g>>2]=2147483632;v[g+16>>2]=v[g+8>>2];c=v[g+20>>2];v[g+28>>2]=c;u[c+2>>1]=0;c=(v[f+88>>2]-v[f+80>>2]|0)+3|0;j:{if(c>>>0<=y[d+24>>2]){break j}e=v[d+20>>2];if(e){$a(e)}v[d+24>>2]=c;t=d,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[d+12>>2]){break j}e=v[d+8>>2];if(e){$a(e)}v[d+12>>2]=c;t=d,x=ab(c),v[t+8>>2]=x}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];c=v[d+20>>2];v[d+28>>2]=c;u[c+2>>1]=0;if(!Gb(a,g)){break g}if(!Gb(f,d)){break g}while(1){c=v[g+4>>2];e=v[d+4>>2];if((c|0)>=(e|0)){if((c|0)>(e|0)){while(1){if(!Gb(f,d)){break g}c=v[g+4>>2];e=v[d+4>>2];if((c|0)>(e|0)){continue}break}}if((c|0)!=(e|0)){continue}Se(g,d,h);if(v[h+28>>2]!=v[h+20>>2]){v[h+4>>2]=v[g+4>>2];D1(h,v[b>>2],v[b+4>>2],v[b+8>>2])}if(!Gb(a,g)){break g}if(Gb(f,d)){continue}break g}if(Gb(a,g)){continue}break}}a=v[d+20>>2];if(a){$a(a)}a=v[d+8>>2];if(a){$a(a)}a=v[d+52>>2];if(a){$a(a)}a=v[d+40>>2];if(a){$a(a)}a=v[d+84>>2];if(a){$a(a)}a=v[d+72>>2];if(!a){break a}$a(a);break a}v[d+80>>2]=0;v[d+84>>2]=0;v[d+88>>2]=0;v[d+92>>2]=0;v[d+72>>2]=0;v[d+76>>2]=0;v[d+64>>2]=2147483632;v[d+48>>2]=0;v[d+52>>2]=0;v[d+56>>2]=0;v[d+60>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=2147483632;v[d+16>>2]=0;v[d+20>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=2147483632;h=((v[a+1524>>2]==1?1180:1304)+a|0)+96|0;f=d+32|0;g=d- -64|0;a=a+1628|0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){rc(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Gc(a);k:{if(!v[a+12>>2]){break k}c=v[a+84>>2];v[a+1176>>2]=c;v[h+120>>2]=0;if(!v[h+60>>2]){break k}e=v[h+112>>2];i=v[a+88>>2];e=(e|0)<(i|0)?e:i;i=v[h+104>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((e|0)<(i|0)){break k}j=v[h+108>>2];k=(c|0)<(j|0)?j:c;c=v[h+116>>2];j=v[a+92>>2];if((k|0)>(((c|0)<(j|0)?c:j)|0)){break k}c=(e-i|0)+3|0;l:{if(c>>>0<=y[g+24>>2]){break l}e=v[g+20>>2];if(e){$a(e)}v[g+24>>2]=c;t=g,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[g+12>>2]){break l}e=v[g+8>>2];if(e){$a(e)}v[g+12>>2]=c;t=g,x=ab(c),v[t+8>>2]=x}v[g>>2]=2147483632;v[g+16>>2]=v[g+8>>2];c=v[g+20>>2];v[g+28>>2]=c;u[c+2>>1]=0;c=(v[a+88>>2]-v[a+80>>2]|0)+3|0;m:{if(c>>>0<=y[f+24>>2]){break m}e=v[f+20>>2];if(e){$a(e)}v[f+24>>2]=c;t=f,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[f+12>>2]){break m}e=v[f+8>>2];if(e){$a(e)}v[f+12>>2]=c;t=f,x=ab(c),v[t+8>>2]=x}v[f>>2]=2147483632;v[f+16>>2]=v[f+8>>2];c=v[f+20>>2];v[f+28>>2]=c;u[c+2>>1]=0;c=(v[h+112>>2]-v[h+104>>2]|0)+3|0;n:{if(c>>>0<=y[d+24>>2]){break n}e=v[d+20>>2];if(e){$a(e)}v[d+24>>2]=c;t=d,x=ab((c|0)!=(c&536870911)?-1:c<<3),v[t+20>>2]=x;if((c|0)==v[d+12>>2]){break n}e=v[d+8>>2];if(e){$a(e)}v[d+12>>2]=c;t=d,x=ab(c),v[t+8>>2]=x}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];c=v[d+20>>2];v[d+28>>2]=c;u[c+2>>1]=0;if(!Gb(a,f)){break k}if(!Uc(h,d)){break k}while(1){c=v[f+4>>2];e=v[d+4>>2];if((c|0)>=(e|0)){if((c|0)>(e|0)){while(1){if(!Uc(h,d)){break k}c=v[f+4>>2];e=v[d+4>>2];if((c|0)>(e|0)){continue}break}}if((c|0)!=(e|0)){continue}Se(f,d,g);if(v[g+28>>2]!=v[g+20>>2]){v[g+4>>2]=v[f+4>>2];D1(g,v[b>>2],v[b+4>>2],v[b+8>>2])}if(!Gb(a,f)){break k}if(Uc(h,d)){continue}break k}if(Gb(a,f)){continue}break}}a=v[d+20>>2];if(a){$a(a)}a=v[d+8>>2];if(a){$a(a)}a=v[d+52>>2];if(a){$a(a)}a=v[d+40>>2];if(a){$a(a)}a=v[d+84>>2];if(a){$a(a)}a=v[d+72>>2];if(!a){break a}$a(a)}Ma=d+96|0}function t1(a,b,c){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,p=0;k=Ma-16|0;Ma=k;v[c>>2]=2147483632;v[c+16>>2]=v[c+8>>2];i=v[c+20>>2];v[c+28>>2]=i;u[i+2>>1]=0;e=v[b+20>>2];j=v[b+28>>2]-e|0;f=268435454;d=268435455;h=268435455;i=268435454;l=v[a+20>>2];a=v[a+28>>2]-l|0;if(a){v[k+4>>2]=l+8;o=(a>>3)-1|0;a=u[l+10>>1];b=a>>31;h=u[l+8>>1];i=(h+((b^a+b)&65535)|0)-1|0}if(j){v[k>>2]=e+8;p=(j>>3)-1|0;a=u[e+10>>1];b=a>>31;d=u[e+8>>1];f=(d+((b^a+b)&65535)|0)-1|0}while(1){a:{if(!o){b=h;o=0;break a}if((h|0)<=(i|0)){b=h;break a}b=v[k+4>>2];v[k+4>>2]=b+8;o=o-1|0;a=u[b+10>>1];i=a>>31;b=u[b+8>>1];i=(b+((i^a+i)&65535)|0)-1|0}l=i;b:{c:{d:{if(!p){p=0;break d}if((d|0)>(f|0)){break c}}a=d;break b}a=v[k>>2];v[k>>2]=a+8;p=p-1|0;i=u[a+10>>1];f=i>>31;a=u[a+8>>1];f=(a+((f^f+i)&65535)|0)-1|0}j=f;if(!((f|0)<(a|0)&(b|0)>(l|0))){m=(j|0)<(l|0);h=(a|0)>(b|0)?a:b;i=(m?j:l)-h|0;if((i|0)>=0){i=i+1|0;e:{f:{g:{if((a|0)>(b|0)){g=a-b|0;d=v[k+4>>2];f=u[d+2>>1];if((f|0)<=-1){e=w[v[d+4>>2]];h:{if((v[c>>2]+1|0)!=(b|0)){break h}d=v[c+28>>2];f=u[d+2>>1];if((f|0)>-1|(e|0)!=w[v[d+4>>2]]){break h}u[d+2>>1]=f-g;b=a;break g}t[v[c+16>>2]]=e;d=v[c+28>>2];v[c+28>>2]=d+8;f=v[c+16>>2];v[c+16>>2]=f+1;u[d+10>>1]=0-g;u[d+8>>1]=b;v[d+12>>2]=f;b=a;break g}if(!f){b=a;break e}f=u[d>>1];cb(v[c+16>>2],v[d+4>>2]+((b|0)>(f|0)?b-f|0:0)|0,g);d=v[c+28>>2];i:{j:{if((v[c>>2]+1|0)!=(b|0)){break j}f=u[d+2>>1];if((f|0)<1){break j}u[d+2>>1]=f+g;f=v[c+16>>2];break i}v[c+28>>2]=d+8;f=v[c+16>>2];u[d+10>>1]=g;u[d+8>>1]=b;v[d+12>>2]=f}v[c+16>>2]=f+g;b=a;break g}if((a|0)>=(b|0)){break e}g=b-a|0;d=v[k>>2];f=u[d+2>>1];if((f|0)<=-1){e=w[v[d+4>>2]];k:{if((v[c>>2]+1|0)!=(a|0)){break k}d=v[c+28>>2];f=u[d+2>>1];if((f|0)>-1|(e|0)!=w[v[d+4>>2]]){break k}u[d+2>>1]=f-g;break g}t[v[c+16>>2]]=e;d=v[c+28>>2];v[c+28>>2]=d+8;f=v[c+16>>2];v[c+16>>2]=f+1;u[d+10>>1]=0-g;u[d+8>>1]=a;v[d+12>>2]=f;break g}if(!f){break f}f=u[d>>1];cb(v[c+16>>2],v[d+4>>2]+((a|0)>(f|0)?a-f|0:0)|0,g);d=v[c+28>>2];l:{m:{if((v[c>>2]+1|0)!=(a|0)){break m}f=u[d+2>>1];if((f|0)<1){break m}u[d+2>>1]=f+g;f=v[c+16>>2];break l}v[c+28>>2]=d+8;f=v[c+16>>2];u[d+10>>1]=g;u[d+8>>1]=a;v[d+12>>2]=f}v[c+16>>2]=f+g}v[c>>2]=b-1}a=b}f=i;n:{o:{p:{q:{r:{s:{t:{u:{g=v[k>>2];e=v[k+4>>2];switch((x[g+2>>1]>>>14&2|x[e+2>>1]>>>15)-1|0){case 2:break r;case 1:break s;case 0:break t;default:break u}}d=u[g>>1];n=v[g+4>>2]+((d|0)<(h|0)?h-d|0:0)|0;d=u[e>>1];d=v[e+4>>2]+((d|0)<(h|0)?h-d|0:0)|0;e=v[c+16>>2];while(1){g=e;e=B(w[n|0]^255,w[d|0]^255);t[g|0]=e?65025-e>>>8|0:-1;g=v[c+28>>2];v:{w:{if((v[c>>2]+1|0)!=(h|0)){break w}e=u[g+2>>1];if((e|0)<1){break w}u[g+2>>1]=e+1;e=v[c+16>>2];break v}v[c+28>>2]=g+8;e=v[c+16>>2];u[g+10>>1]=1;u[g+8>>1]=h;v[g+12>>2]=e}n=n+1|0;d=d+1|0;v[c>>2]=h;e=e+1|0;v[c+16>>2]=e;h=h+1|0;f=f-1|0;if(f){continue}break}break n}d=w[v[e+4>>2]];if((d|0)==255){break p}e=u[g>>1];n=v[g+4>>2]+((e|0)<(h|0)?h-e|0:0)|0;e=v[c+16>>2];while(1){d=B((d^-1)&255,w[n|0]^255);t[e|0]=d?65025-d>>>8|0:-1;e=v[c+28>>2];x:{y:{if((v[c>>2]+1|0)!=(h|0)){break y}d=u[e+2>>1];if((d|0)<1){break y}u[e+2>>1]=d+1;d=v[c+16>>2];break x}v[c+28>>2]=e+8;d=v[c+16>>2];u[e+10>>1]=1;u[e+8>>1]=h;v[e+12>>2]=d}v[c>>2]=h;e=d+1|0;v[c+16>>2]=e;f=f-1|0;if(!f){break n}h=h+1|0;n=n+1|0;d=w[v[v[k+4>>2]+4>>2]];continue}}d=w[v[g+4>>2]];if((d|0)==255){break q}g=v[e+4>>2];e=u[e>>1];n=g+((e|0)<(h|0)?h-e|0:0)|0;e=v[c+16>>2];while(1){d=B((d^-1)&255,w[n|0]^255);t[e|0]=d?65025-d>>>8|0:-1;e=v[c+28>>2];z:{A:{if((v[c>>2]+1|0)!=(h|0)){break A}d=u[e+2>>1];if((d|0)<1){break A}u[e+2>>1]=d+1;d=v[c+16>>2];break z}v[c+28>>2]=e+8;d=v[c+16>>2];u[e+10>>1]=1;u[e+8>>1]=h;v[e+12>>2]=d}v[c>>2]=h;e=d+1|0;v[c+16>>2]=e;f=f-1|0;if(!f){break n}h=h+1|0;n=n+1|0;d=w[v[v[k>>2]+4>>2]];continue}}d=B(w[v[g+4>>2]]^255,w[v[e+4>>2]]^255);g=d?65025-d>>>8|0:255;B:{if((v[c>>2]+1|0)!=(h|0)){break B}e=v[c+28>>2];d=u[e+2>>1];if((d|0)>-1|(g|0)!=w[v[e+4>>2]]){break B}u[e+2>>1]=d-f;break o}t[v[c+16>>2]]=g;e=v[c+28>>2];v[c+28>>2]=e+8;d=v[c+16>>2];v[c+16>>2]=d+1;u[e+10>>1]=0-f;u[e+8>>1]=h;v[e+12>>2]=d;break o}C:{if((v[c>>2]+1|0)!=(h|0)){break C}e=v[c+28>>2];d=u[e+2>>1];if((d|0)>-1|w[v[e+4>>2]]!=255){break C}u[e+2>>1]=d-f;break o}t[v[c+16>>2]]=255;e=v[c+28>>2];v[c+28>>2]=e+8;d=v[c+16>>2];v[c+16>>2]=d+1;u[e+10>>1]=0-f;u[e+8>>1]=h;v[e+12>>2]=d;break o}D:{if((v[c>>2]+1|0)!=(h|0)){break D}e=v[c+28>>2];d=u[e+2>>1];if((d|0)>-1|w[v[e+4>>2]]!=255){break D}u[e+2>>1]=d-f;break o}t[v[c+16>>2]]=255;e=v[c+28>>2];v[c+28>>2]=e+8;d=v[c+16>>2];v[c+16>>2]=d+1;u[e+10>>1]=0-f;u[e+8>>1]=h;v[e+12>>2]=d}v[c>>2]=(f+h|0)-1}if((j|0)>(l|0)){d=a+i|0;i=268435454;h=268435455;f=j;continue}d=268435455;h=m?b+i|0:268435455;f=268435454;i=m?l:268435454;continue}if((a|0)>(b|0)){i=268435454;h=268435455;d=a;if((b|0)>(l|0)){continue}e=l-b|0;m=e+1|0;g=v[k+4>>2];j=u[g+2>>1];E:{if((j|0)<=-1){g=w[v[g+4>>2]];F:{if((v[c>>2]+1|0)!=(b|0)){break F}d=v[c+28>>2];j=u[d+2>>1];if((j|0)>-1|(g|0)!=w[v[d+4>>2]]){break F}u[d+2>>1]=j-m;break E}t[v[c+16>>2]]=g;d=v[c+28>>2];v[c+28>>2]=d+8;j=v[c+16>>2];v[c+16>>2]=j+1;u[d+10>>1]=e^-1;u[d+8>>1]=b;v[d+12>>2]=j;break E}if(!j){continue}j=u[g>>1];cb(v[c+16>>2],v[g+4>>2]+((b|0)>(j|0)?b-j|0:0)|0,m);e=v[c+28>>2];G:{H:{if((v[c>>2]+1|0)!=(b|0)){break H}j=u[e+2>>1];if((j|0)<1){break H}u[e+2>>1]=j+m;d=v[c+16>>2];break G}v[c+28>>2]=e+8;d=v[c+16>>2];u[e+10>>1]=m;u[e+8>>1]=b;v[e+12>>2]=d}v[c+16>>2]=d+m}v[c>>2]=l;d=a;continue}f=268435454;d=268435455;h=b;i=l;if((a|0)>(j|0)){continue}e=j-a|0;m=e+1|0;g=v[k>>2];b=u[g+2>>1];I:{if((b|0)<=-1){g=w[v[g+4>>2]];J:{if((v[c>>2]+1|0)!=(a|0)){break J}i=v[c+28>>2];b=u[i+2>>1];if((b|0)>-1|(g|0)!=w[v[i+4>>2]]){break J}u[i+2>>1]=b-m;break I}t[v[c+16>>2]]=g;i=v[c+28>>2];v[c+28>>2]=i+8;b=v[c+16>>2];v[c+16>>2]=b+1;u[i+10>>1]=e^-1;u[i+8>>1]=a;v[i+12>>2]=b;break I}if(!b){continue}b=u[g>>1];cb(v[c+16>>2],v[g+4>>2]+((a|0)>(b|0)?a-b|0:0)|0,m);e=v[c+28>>2];K:{L:{if((v[c>>2]+1|0)!=(a|0)){break L}b=u[e+2>>1];if((b|0)<1){break L}u[e+2>>1]=b+m;i=v[c+16>>2];break K}v[c+28>>2]=e+8;i=v[c+16>>2];u[e+10>>1]=m;u[e+8>>1]=a;v[e+12>>2]=i}v[c+16>>2]=i+m}v[c>>2]=j;i=l;continue}break}Ma=k+16|0}function HAa(a){a=a|0;var 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;d=v[a+76>>2];b=v[a+20>>2];if((b|0)!=100){c=v[a>>2];v[c+24>>2]=b;v[c+20>>2]=21;Qa[v[v[a>>2]>>2]](a)}b=v[a+424>>2];e=b;a:{b:{if((d|0)==3){c=10;if(v[a+80>>2]==3){break a}break b}if((d|0)<5){break b}c=B(d,6);break a}c=d<<2|2}if(!((c|0)<=v[a+428>>2]?e:0)){b=(c|0)>10?c:10;v[a+428>>2]=b;b=Qa[v[v[a+4>>2]>>2]](a,0,B(b,36))|0;v[a+424>>2]=b}v[a+200>>2]=c;v[a+204>>2]=b;e=3;c:{d:{e:{f:{if((d|0)!=3){g:{h:{if((d|0)>=5){c=d&3;if(d-1>>>0>=3){break h}a=0;break g}v[b>>2]=d;if((d|0)<1){break e}v[b+4>>2]=0;if((d|0)!=1){break f}break e}e=d&-4;a=0;while(1){v[b+108>>2]=1;v[b+72>>2]=1;v[b+36>>2]=1;v[b+28>>2]=0;v[b+32>>2]=1;v[b+20>>2]=0;v[b+24>>2]=0;v[b+4>>2]=a;v[b>>2]=1;v[b+136>>2]=0;v[b+140>>2]=1;v[b+128>>2]=0;v[b+132>>2]=0;v[b+112>>2]=a|3;v[b+100>>2]=0;v[b+104>>2]=1;v[b+92>>2]=0;v[b+96>>2]=0;v[b+76>>2]=a|2;f=b- -64|0;v[f>>2]=0;v[f+4>>2]=1;v[b+56>>2]=0;v[b+60>>2]=0;v[b+40>>2]=a|1;a=a+4|0;b=b+144|0;e=e-4|0;if(e){continue}break}}if(!c){break d}while(1){v[b+28>>2]=0;v[b+32>>2]=1;v[b+20>>2]=0;v[b+24>>2]=0;v[b+4>>2]=a;v[b>>2]=1;a=a+1|0;b=b+36|0;c=c-1|0;if(c){continue}break}break d}a=v[a+80>>2];v[b+8>>2]=1;v[b+12>>2]=2;v[b>>2]=3;v[b+4>>2]=0;v[b+72>>2]=1;c=b- -64|0;v[c>>2]=0;v[c+4>>2]=2;v[b+56>>2]=1;v[b+60>>2]=5;v[b+36>>2]=1;v[b+40>>2]=0;v[b+28>>2]=0;v[b+32>>2]=1;v[b+20>>2]=0;v[b+24>>2]=0;i:{if((a|0)==3){d=9;f=7;g=5;h=6;i=4;c=0;j=1;k=1;p=1;l=2;m=6;q=2;n=8;o=b+76|0;a=2;break i}r=1;v[b+216>>2]=1;v[b+180>>2]=1;v[b+184>>2]=1;v[b+144>>2]=1;v[b+148>>2]=0;v[b+108>>2]=1;v[b+112>>2]=2;v[b+76>>2]=1;v[b+208>>2]=0;v[b+212>>2]=2;v[b+200>>2]=6;v[b+204>>2]=63;v[b+172>>2]=0;v[b+176>>2]=2;v[b+164>>2]=6;v[b+168>>2]=63;v[b+136>>2]=0;v[b+140>>2]=2;v[b+128>>2]=1;v[b+132>>2]=5;v[b+100>>2]=0;v[b+104>>2]=2;v[b+92>>2]=1;v[b+96>>2]=5;d=13;n=12;f=11;m=10;g=9;i=8;e=7;k=2;j=6;c=2;h=1;l=1;o=b+220|0;a=6}v[o>>2]=2;a=B(a,36)+b|0;v[a+32>>2]=k;v[a+24>>2]=63;v[a+28>>2]=0;v[a+20>>2]=j;a=B(e,36)+b|0;v[a+32>>2]=1;v[a+28>>2]=c;v[a+20>>2]=1;v[a+24>>2]=63;v[a+4>>2]=p;v[a>>2]=1;a=B(i,36)+b|0;v[a+4>>2]=r;v[a+20>>2]=h;v[a+24>>2]=63;v[a+28>>2]=c;v[a+32>>2]=l;v[a>>2]=1;a=B(g,36)+b|0;v[a+28>>2]=2;v[a+32>>2]=1;v[a+20>>2]=1;v[a+24>>2]=63;v[a+4>>2]=c;v[a>>2]=1;a=B(m,36)+b|0;v[a>>2]=3;v[a+4>>2]=0;v[a+8>>2]=1;v[a+12>>2]=2;v[a+20>>2]=0;v[a+24>>2]=0;v[a+28>>2]=1;v[a+32>>2]=0;a=B(f,36)+b|0;v[a+4>>2]=q;v[a+20>>2]=1;v[a+24>>2]=63;v[a+28>>2]=1;v[a+32>>2]=0;v[a>>2]=1;a=B(n,36)+b|0;v[a+20>>2]=1;v[a+24>>2]=63;v[a+28>>2]=1;v[a+32>>2]=0;v[a>>2]=1;v[a+4>>2]=1;a=B(d,36)+b|0;v[a+4>>2]=c;v[a+20>>2]=1;v[a+24>>2]=63;v[a+28>>2]=1;v[a+32>>2]=0;v[a>>2]=1;break c}v[b+8>>2]=1;if((d|0)==2){break e}v[b+12>>2]=2;if((d|0)==3){break e}v[b+16>>2]=3}v[b+28>>2]=0;v[b+32>>2]=1;v[b+20>>2]=0;v[b+24>>2]=0;b=b+36|0}j:{k:{l:{m:{n:{o:{if((d|0)>=1){c=d&3;g=d-1|0;p:{if(g>>>0<3){a=0;break p}e=d&-4;a=0;while(1){v[b+108>>2]=1;v[b+72>>2]=1;v[b+36>>2]=1;v[b+28>>2]=0;v[b+32>>2]=2;v[b+20>>2]=1;v[b+24>>2]=5;v[b+4>>2]=a;v[b>>2]=1;v[b+136>>2]=0;v[b+140>>2]=2;v[b+128>>2]=1;v[b+132>>2]=5;v[b+112>>2]=a|3;v[b+100>>2]=0;v[b+104>>2]=2;v[b+92>>2]=1;v[b+96>>2]=5;v[b+76>>2]=a|2;f=b- -64|0;v[f>>2]=0;v[f+4>>2]=2;v[b+56>>2]=1;v[b+60>>2]=5;v[b+40>>2]=a|1;a=a+4|0;b=b+144|0;e=e-4|0;if(e){continue}break}}if(c){while(1){v[b+28>>2]=0;v[b+32>>2]=2;v[b+20>>2]=1;v[b+24>>2]=5;v[b+4>>2]=a;v[b>>2]=1;a=a+1|0;b=b+36|0;c=c-1|0;if(c){continue}break}}c=d&3;q:{if(g>>>0<3){a=0;break q}e=d&-4;a=0;while(1){v[b+108>>2]=1;v[b+72>>2]=1;v[b+36>>2]=1;v[b+28>>2]=0;v[b+32>>2]=2;v[b+20>>2]=6;v[b+24>>2]=63;v[b+4>>2]=a;v[b>>2]=1;v[b+136>>2]=0;v[b+140>>2]=2;v[b+128>>2]=6;v[b+132>>2]=63;v[b+112>>2]=a|3;v[b+100>>2]=0;v[b+104>>2]=2;v[b+92>>2]=6;v[b+96>>2]=63;v[b+76>>2]=a|2;f=b- -64|0;v[f>>2]=0;v[f+4>>2]=2;v[b+56>>2]=6;v[b+60>>2]=63;v[b+40>>2]=a|1;a=a+4|0;b=b+144|0;e=e-4|0;if(e){continue}break}}if(c){while(1){v[b+28>>2]=0;v[b+32>>2]=2;v[b+20>>2]=6;v[b+24>>2]=63;v[b+4>>2]=a;v[b>>2]=1;a=a+1|0;b=b+36|0;c=c-1|0;if(c){continue}break}}e=d&3;r:{if(g>>>0<3){c=0;break r}f=d&-4;c=0;while(1){a=b;v[b+108>>2]=1;v[b+72>>2]=1;v[b+36>>2]=1;v[b+28>>2]=2;v[b+32>>2]=1;v[b+20>>2]=1;v[b+24>>2]=63;v[b+4>>2]=c;v[b>>2]=1;v[b+136>>2]=2;v[b+140>>2]=1;v[b+128>>2]=1;v[b+132>>2]=63;v[b+112>>2]=c|3;v[b+100>>2]=2;v[b+104>>2]=1;v[b+92>>2]=1;v[b+96>>2]=63;v[b+76>>2]=c|2;h=b- -64|0;v[h>>2]=2;v[h+4>>2]=1;v[b+56>>2]=1;v[b+60>>2]=63;v[b+40>>2]=c|1;c=c+4|0;b=b+144|0;f=f-4|0;if(f){continue}break}a=a+108|0}if(e){while(1){a=b;v[b+28>>2]=2;v[b+32>>2]=1;v[b+20>>2]=1;v[b+24>>2]=63;v[b+4>>2]=c;v[b>>2]=1;c=c+1|0;b=b+36|0;e=e-1|0;if(e){continue}break}}if((d|0)<5){break o}c=d&3;if(g>>>0>=3){break n}a=0;break m}v[b>>2]=d;break k}v[b>>2]=d;if((d|0)<1){break k}v[a+40>>2]=0;if((d|0)!=1){break l}break k}e=d&-4;a=0;while(1){v[b+108>>2]=1;v[b+72>>2]=1;v[b+36>>2]=1;v[b+28>>2]=1;v[b+32>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+4>>2]=a;v[b>>2]=1;v[b+136>>2]=1;v[b+140>>2]=0;v[b+128>>2]=0;v[b+132>>2]=0;v[b+112>>2]=a|3;v[b+100>>2]=1;v[b+104>>2]=0;v[b+92>>2]=0;v[b+96>>2]=0;v[b+76>>2]=a|2;f=b- -64|0;v[f>>2]=1;v[f+4>>2]=0;v[b+56>>2]=0;v[b+60>>2]=0;v[b+40>>2]=a|1;a=a+4|0;b=b+144|0;e=e-4|0;if(e){continue}break}}if(!c){break j}while(1){v[b+28>>2]=1;v[b+32>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+4>>2]=a;v[b>>2]=1;a=a+1|0;b=b+36|0;c=c-1|0;if(c){continue}break}break j}v[a+44>>2]=1;if((d|0)==2){break k}v[a+48>>2]=2;if((d|0)==3){break k}v[a+52>>2]=3}v[b+28>>2]=1;v[b+32>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;b=b+36|0}if((d|0)<1){break c}c=d&3;a=0;if(d-1>>>0>=3){e=d&-4;while(1){v[b+108>>2]=1;v[b+72>>2]=1;v[b+36>>2]=1;v[b+28>>2]=1;v[b+32>>2]=0;v[b+20>>2]=1;v[b+24>>2]=63;v[b+4>>2]=a;v[b>>2]=1;v[b+136>>2]=1;v[b+140>>2]=0;v[b+128>>2]=1;v[b+132>>2]=63;v[b+112>>2]=a|3;v[b+100>>2]=1;v[b+104>>2]=0;v[b+92>>2]=1;v[b+96>>2]=63;v[b+76>>2]=a|2;d=b- -64|0;v[d>>2]=1;v[d+4>>2]=0;v[b+56>>2]=1;v[b+60>>2]=63;v[b+40>>2]=a|1;a=a+4|0;b=b+144|0;e=e-4|0;if(e){continue}break}}if(!c){break c}while(1){v[b+28>>2]=1;v[b+32>>2]=0;v[b+20>>2]=1;v[b+24>>2]=63;v[b+4>>2]=a;v[b>>2]=1;a=a+1|0;b=b+36|0;c=c-1|0;if(c){continue}break}}}function _Ka(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,n=0,o=0;g=Ma-16|0;Ma=g;v[g+4>>2]=0;f=v[e+32>>2];i=v[f+100>>2];a:{b:{c:{d:{if(Kb(a,309303,7)){break d}e:{c=w[a+7|0];switch(c|0){case 0:case 9:case 10:case 13:case 32:break e;default:break d}}v[g+12>>2]=0;d=v[f+88>>2];m=d;d=(c?-8:-7)+b|0;h=d+1|0;j=yb(i,1,m,m+h|0,v[f+84>>2],g+12|0);v[f+84>>2]=j;b=v[g+12>>2];if(!b){n=cb(j+v[f+88>>2]|0,c?a+8|0:a+7|0,d)+d|0,o=10,t[n|0]=o;v[f+88>>2]=h+v[f+88>>2];b=v[g+12>>2]}v[g+4>>2]=b;break c}h=g;f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{c=v[e>>2];if(!(c&32)){if(Kb(a,310036,5)){break o}p:{switch(w[a+5|0]){case 0:case 9:case 10:case 13:case 32:break p;default:break o}}b=Kk(e+40|0,326457,a,b);v[g+4>>2]=b;if(b){break b}b=v[v[e+40>>2]+4>>2];if(!b){break i}a=t[b|0];c=a&255;if(!c|!(w[(c>>>3|0)+425600|0]>>>(a&7)&1)){break i}c=0;q:{r:{while(1){if(c>>>0>=429496728){v[f+48>>2]=-1;b=f+48|0;a=y[e+60>>2]/20|0;c=e+4|0;break r}c=w[a+425632|0]+B(c,10)|0;a=t[b+1|0];b=b+1|0;if(w[((a&248)>>>3|0)+425600|0]>>>(a&7)&1){continue}break}v[f+48>>2]=c;v[e+4>>2]=c;b=f+48|0;a=y[e+60>>2]/20|0;if(c>>>0<=a>>>0){a=c;break q}c=e+4|0}v[b>>2]=a;v[c>>2]=a}if(!a){break h}if(a>>>0<1114112){break g}b=6;break j}s:{t:{if(Kb(a,309283,7)){break t}u:{switch(w[a+7|0]){case 0:case 9:case 10:case 13:case 32:break u;default:break t}}if(!(c&4032)){break s}b=186;break j}v:{if(Kb(a,310460,7)){break v}w:{switch(w[a+7|0]){case 0:case 9:case 10:case 13:case 32:break w;default:break v}}v[e+28>>2]=0;v[e>>2]=c&-4033;break f}d=c&64;if(!(v[v[e+36>>2]+4>>2]?1:!d|v[e+28>>2]!=-1)){break f}x:{if(Kb(a,310450,9)){break x}y:{switch(w[a+9|0]){case 0:case 9:case 10:case 13:case 32:break y;default:break x}}if(c&4032){break k}c=v[e+24>>2];if(c){Qa[v[i+8>>2]](i,c)}v[e+24>>2]=0;c=e+40|0;b=Kk(c,326457,a,b);v[g+4>>2]=b;if(b){break b}U$(c);a=T$(c,g+8|0);if(!a){break l}c=v[g+8>>2]+1|0;d=yb(i,1,0,c,0,g+4|0);v[e+24>>2]=d;b=v[g+4>>2];if(b){break b}cb(d,a,c);v[e>>2]=v[e>>2]|64;break f}z:{if(Kb(a,311575,8)){break z}A:{switch(w[a+8|0]){case 0:case 9:case 10:case 13:case 32:break A;default:break z}}if(!d){break k}b=Kk(e+40|0,326457,a,b);v[g+4>>2]=b;if(b){break b}c=v[e+40>>2];a=S$(v[c+4>>2]);b=(a|0)>-1;a=b?a:-1;v[e+28>>2]=a;if(!(y[e+48>>2]<3|b)){a=S$(v[c+8>>2]);v[e+28>>2]=a}if(a+1>>>0>=1114113){v[e+28>>2]=-1;break n}if((a|0)<0){break n}b=v[f+52>>2];B:{if((b|0)!=v[f+48>>2]){c=v[f+56>>2];break B}c=yb(i,36,b,b- -64|0,v[f+56>>2],g+4|0);v[f+56>>2]=c;b=v[g+4>>2];if(b){break b}v[f+48>>2]=v[f+48>>2]- -64;b=v[f+52>>2];a=v[e+28>>2]}v[f+52>>2]=b+1;d=v[e+24>>2];b=B(b,36)+c|0;v[b+4>>2]=a;v[b>>2]=d;break m}if(c&128){d=v[e+28>>2]==-1;j=v[f+(d?64:52)>>2]-1|0;k=v[f+(d?68:56)>>2];if(c&2048){d=v[e+8>>2];b=k+B(j,36)|0;if(d>>>0>=x[b+14>>1]){if((c|0)<0){break f}v[e>>2]=c|-2147483648;break f}c=v[b+28>>2];b=v[b+24>>2]+B(c,d)|0;h=0;d=c<<1;C:{if(!d){c=0;break C}D:{while(1){c=h;f=w[c+a|0];h=f<<24>>24;if(!(w[(f>>>3|0)+425776|0]>>>(h&7)&1)){break D}t[b|0]=w[h+425632|0]+(w[b|0]<<4);h=c+1|0;if(!(!(c&1)|d>>>0<=h>>>0)){t[b+1|0]=0;b=b+1|0}if((d|0)!=(h|0)){continue}break}c=d;break C}h=v[e>>2];if(h&1073741824){break C}v[e>>2]=h|1073741824}h=x[(k+B(j,36)|0)+12>>1];if(h){t[b|0]=w[b|0]&w[(B(h,x[v[e+32>>2]+96>>1])&7)+425760|0]}E:{if((c|0)!=(d|0)){break E}a=w[a+d|0];if(!(w[(a>>>3|0)+425776|0]>>>(a&7)&1)){break E}a=v[e>>2];if(a&1073741824){break E}v[e>>2]=a|1073741824}v[e+8>>2]=v[e+8>>2]+1;break f}F:{if(Kb(a,311516,6)){break F}G:{switch(w[a+6|0]){case 0:case 9:case 10:case 13:case 32:break G;default:break F}}b=Kk(e+40|0,326457,a,b);v[g+4>>2]=b;if(b){break b}n=k+B(j,36)|0,o=ht(v[v[e+40>>2]+4>>2]),u[n+8>>1]=o;v[e>>2]=v[e>>2]|256;break f}H:{if(Kb(a,311523,6)){break H}I:{switch(w[a+6|0]){case 0:case 9:case 10:case 13:case 32:break I;default:break H}}b=Kk(e+40|0,326457,a,b);v[g+4>>2]=b;if(b){break b}c=k+B(j,36)|0;d=ht(v[v[e+40>>2]+4>>2]);u[c+10>>1]=d;b=e;a=v[e>>2];if(!(a&256)){n=c,o=fc(d&65535,72e3,B(v[f+20>>2],v[f+16>>2])),u[n+8>>1]=o;a=v[e>>2]}v[b>>2]=a|512;break f}J:{if(Kb(a,308622,3)){break J}K:{switch(w[a+3|0]){case 0:case 9:case 10:case 13:case 32:break K;default:break J}}b=Kk(e+40|0,326457,a,b);v[g+4>>2]=b;if(b){break b}a=k+B(j,36)|0;c=v[e+40>>2];d=cB(v[c+4>>2]);u[a+12>>1]=d;l=cB(v[c+8>>2]);u[a+14>>1]=l;b=rw(v[c+12>>2]);u[a+16>>1]=b;c=rw(v[c+16>>2]);u[a+18>>1]=c;h=0-c|0;u[a+22>>1]=h;c=c+l|0;u[a+20>>1]=c;l=b+d|0;u[e+22>>1]=l;m=u[e+18>>1];u[e+18>>1]=c<<16>>16>(m|0)?c:m;c=u[e+20>>1];u[e+20>>1]=(c|0)>16?h:c;c=u[e+16>>1];u[e+16>>1]=(c|0)>16?l:c;c=u[e+12>>1];u[e+12>>1]=(b|0)<(c|0)?b:c;c=u[e+14>>1];u[e+14>>1]=(b|0)>(c|0)?b:c;b=v[e>>2];if(!(b&512)){u[a+10>>1]=d}L:{if(!v[v[e+36>>2]>>2]){break L}a=k+B(j,36)|0;b=fc(x[a+10>>1],72e3,B(v[f+20>>2],v[f+16>>2]));if(x[a+8>>1]==(b&65535)){b=v[e>>2];break L}u[a+8>>1]=b;b=v[e>>2]|4096}v[e>>2]=b|1024;break f}if(Kb(a,310598,6)){break l}M:{switch(w[a+6|0]){case 0:case 9:case 10:case 13:case 32:break M;default:break l}}b=183;if(!(c&1024)){break j}a=k+B(j,36)|0;c=B(x[f+96>>1],x[a+12>>1]);b=c+7>>>3|0;v[a+28>>2]=b;N:{if(c>>>0<=524280){a=B(b,x[a+14>>1]);if(a>>>0<65536){break N}}b=184;break j}b=k+B(j,36)|0;u[b+32>>1]=a;n=b,o=yb(i,1,0,a,0,g+4|0),v[n+24>>2]=o;b=v[g+4>>2];if(b){break b}v[e+8>>2]=0;v[e>>2]=v[e>>2]|2048;break f}b=182;break j}$l(v[f+56>>2],v[f+52>>2],36,1932);v[e>>2]=v[e>>2]&-2;v[d>>2]=1933;break f}b=180;break j}if(v[v[e+36>>2]+4>>2]){a=v[f+64>>2];O:{if((a|0)!=v[f+60>>2]){c=v[f+68>>2];break O}c=yb(i,36,a,a+4|0,v[f+68>>2],g+4|0);v[f+68>>2]=c;b=v[g+4>>2];if(b){break b}v[f+60>>2]=v[f+60>>2]+4;a=v[f+64>>2]}b=B(a,36)+c|0;v[b>>2]=v[e+24>>2];v[f+64>>2]=a+1;v[b+4>>2]=a;break m}a=v[e+24>>2];if(a){Qa[v[i+8>>2]](i,a)}}v[e+24>>2]=0;v[e>>2]=v[e>>2]&1073741695|128;break f}b=3;break j}b=181}v[h+4>>2]=b;break b}v[f+48>>2]=0;v[e+4>>2]=0;b=f+48|0}a=64;v[b>>2]=64}n=f,o=yb(i,36,0,a,0,g+4|0),v[n+56>>2]=o;b=v[g+4>>2];if(b){break b}v[e>>2]=v[e>>2]|32}b=v[g+4>>2]}if(b){break b}b=0;break a}if(!(w[e|0]&64)){break a}a=v[e+24>>2];if(a){Qa[v[i+8>>2]](i,a)}v[e+24>>2]=0;b=v[g+4>>2]}Ma=g+16|0;return b|0}function EGa(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,n=0,o=0,p=0,q=0,r=0,s=0,y=0,z=0,A=0,C=0,D=0,E=0;a=Ma-320|0;Ma=a;v[b>>2]=1;A=b+504|0;v[A>>2]=0;C=fk(v[b+96>>2],235125,1);v[b+488>>2]=C;r=zm(v[v[b+96>>2]+4>>2],220369);v[b+492>>2]=r;a:{if(!r){i=11;break a}g=v[b+100>>2];eb(a+16|0,0,304);D=b,E=cc(g,12,a+12|0),v[D+496>>2]=E;b:{if(v[a+12>>2]){break b}v[b+500>>2]=12;k=v[b+104>>2];m=Ma-16|0;Ma=m;Qa[v[v[r+4>>2]>>2]](a+16|0,0,0,g);v[a+92>>2]=0;v[a+96>>2]=0;v[a+88>>2]=k;t[a+100|0]=0;f=Mb(k,0);v[m+12>>2]=f;c:{d:{if(f){break d}f=Ed(k,17);v[m+12>>2]=f;if(f){break d}if(Jb(v[k+32>>2],228352,17)){f=2;v[m+12>>2]=2;dd(k);break d}dd(k);f=Mb(k,0);v[m+12>>2]=f;if(f){break d}j=v[k+4>>2];e:{if(!v[k+20>>2]){f=v[k+8>>2];h=v[k>>2];t[a+100|0]=1;v[a+96>>2]=j;v[a+92>>2]=f+h;f=re(k,j);v[m+12>>2]=f;if(f){break d}j=v[a+96>>2];break e}h=cc(g,j,m+12|0);v[a+92>>2]=h;f=v[m+12>>2];if(f){break d}f=_e(k,h,j);v[m+12>>2]=f;if(f){break d}v[a+96>>2]=j}h=v[a+92>>2];v[a+20>>2]=h;v[a+16>>2]=h;v[a+24>>2]=h+j;f=0;break c}if(w[a+100|0]){break c}h=v[a+92>>2];if(h){Qa[v[g+8>>2]](g,h)}v[a+92>>2]=0;f=v[m+12>>2]}Ma=m+16|0;v[a+12>>2]=f;if(f){break b}f=v[a+92>>2];h=v[a+96>>2];n=Ma-16|0;Ma=n;g=a+16|0;v[g+12>>2]=0;v[g>>2]=f;o=f+h|0;v[g+8>>2]=o;Qa[v[g+28>>2]](g);f=v[g>>2];f:{g:{if(o>>>0<=f>>>0){break g}q=b+132|0;k=b+164|0;m=b+464|0;while(1){h:{i:{h=w[f|0];if(!((h|0)!=70|o>>>0<=f+25>>>0)){if(Kb(f,217915,13)){break i}Qa[v[g+32>>2]](g);Qa[v[g+28>>2]](g);j=v[g>>2];f=j;j:{if(o>>>0<=f>>>0){break j}while(1){k:{if(!(w[f|0]!=107|o>>>0<=f+5>>>0)){if(!Kb(f,244413,5)){break k}}Qa[v[g+32>>2]](g);if(v[g+12>>2]){break g}Qa[v[g+28>>2]](g);f=v[g>>2];if(o>>>0>f>>>0){continue}break j}break}Qa[v[g+32>>2]](g);Qa[v[g+56>>2]](g,n);if(v[n+8>>2]!=3){break j}j=v[g>>2]}v[g>>2]=j;break h}if((h|0)!=47|o>>>0<=f+2>>>0){break i}s=f+1|0;v[g>>2]=s;Qa[v[g+32>>2]](g);if(v[g+12>>2]){break g}h=v[g>>2];i=h-s|0;if(i-1>>>0>20){break h}f=0;if(h>>>0>=o>>>0){break h}while(1){l:{y=B(f,36);j=y+453184|0;h=v[j>>2];if(!h|w[s|0]!=w[h|0]){break l}if((zb(h)|0)!=(i|0)){break l}if(Jb(s,h,i)){break l}h=g;m:{if(f-15>>>0<=3){Qa[v[y+453196>>2]](b,g);f=v[g+12>>2];break m}f=v[y+453192>>2];n:{o:{switch(v[y+453188>>2]-2|0){case 0:v[n>>2]=k;break n;case 3:v[n>>2]=m;break n;default:break o}}v[n>>2]=q}if(f-9>>>0<=1){f=Qa[v[g+68>>2]](g,j,n,0,0)|0;break m}f=Qa[v[g+64>>2]](g,j,n,0,0)|0}v[h+12>>2]=f;if(!f){break h}break f}f=f+1|0;if((f|0)!=20){continue}break}break h}Qa[v[g+32>>2]](g);if(v[g+12>>2]){break g}}Qa[v[g+28>>2]](g);f=v[g>>2];if(o>>>0>f>>>0){continue}break}}f=v[g+12>>2]}Ma=n+16|0;v[a+12>>2]=f;if(f){break b}if(w[b+437|0]!=42){v[a+12>>2]=2;break b}q=v[a+160>>2];v[b+420>>2]=q;if(!v[a+228>>2]){v[a+12>>2]=3}v[a+228>>2]=0;v[b+396>>2]=v[a+216>>2];v[b+428>>2]=v[a+240>>2];v[b+432>>2]=v[a+244>>2];v[b+400>>2]=v[a+164>>2];v[b+424>>2]=v[a+188>>2];v[a+188>>2]=0;v[a+164>>2]=0;if(v[b+368>>2]!=1){break b}j=v[a+124>>2];p:{if((j|0)<1){break p}if((q|0)>0){while(1){k=l<<2;m=v[k+v[a+132>>2]>>2];f=l<<1;u[f+v[b+384>>2]>>1]=0;v[k+v[b+388>>2]>>2]=273443;q:{if(!m){break q}h=v[b+424>>2];i=0;while(1){g=v[h+(i<<2)>>2];if(hb(m,g)){i=i+1|0;if((q|0)!=(i|0)){continue}break q}break}u[f+v[b+384>>2]>>1]=i;v[k+v[b+388>>2]>>2]=g;if(!hb(273443,g)){break q}p=(l|0)<(p|0)?p:l+1|0;z=(l|0)<(z|0)?l:z}l=l+1|0;if((j|0)!=(l|0)){continue}break}break p}l=j&3;i=0;if(j-1>>>0>=3){p=j&-4;while(1){u[v[b+384>>2]+(i<<1)>>1]=0;v[v[b+388>>2]+(i<<2)>>2]=273443;h=i|1;u[v[b+384>>2]+(h<<1)>>1]=0;v[v[b+388>>2]+(h<<2)>>2]=273443;h=i|2;u[v[b+384>>2]+(h<<1)>>1]=0;v[v[b+388>>2]+(h<<2)>>2]=273443;h=i|3;u[v[b+384>>2]+(h<<1)>>1]=0;v[v[b+388>>2]+(h<<2)>>2]=273443;i=i+4|0;p=p-4|0;if(p){continue}break}}p=0;if(!l){break p}while(1){u[v[b+384>>2]+(i<<1)>>1]=0;v[v[b+388>>2]+(i<<2)>>2]=273443;i=i+1|0;l=l-1|0;if(l){continue}break}}v[b+380>>2]=p;v[b+376>>2]=z;v[b+372>>2]=v[a+104>>2]}g=a+16|0;h=v[g+140>>2];if(h){Qa[h|0](g+92|0)}h=v[g+248>>2];if(h){Qa[h|0](g+200|0)}h=v[g+196>>2];if(h){Qa[h|0](g+148|0)}h=v[g+300>>2];if(h){Qa[h|0](g+252|0)}if(!w[g+84|0]){f=v[g+16>>2];h=v[g+76>>2];if(h){Qa[v[f+8>>2]](f,h)}v[g+76>>2]=0}h=v[g+24>>2];if(h){Qa[h|0](g)}i=v[a+12>>2];if(i|(c|0)<0){break a}i=6;if(c&65535){break a}v[b+36>>2]=0;v[b+4>>2]=0;v[b+24>>2]=240100;v[b+16>>2]=v[b+420>>2];c=v[b+144>>2];v[b+20>>2]=c;v[b+8>>2]=v[b+8>>2]|(w[b+156|0]?533:529)|2048;r:{if(c){i=v[b+140>>2];if(!i){break r}l=w[i|0];if(!l){break r}while(1){h=l&255;f=w[c|0];s:{if((h|0)==(f|0)){i=i+1|0;c=c+1|0;break s}h=h-32|0;if(!(!h|(h|0)==13)){t:{switch(f-32|0){case 0:case 13:c=c+1|0;break s;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break r;default:break t}}if(f){break r}v[b+24>>2]=i;break r}i=i+1|0}l=w[i|0];if(l){continue}break}break r}c=v[b+364>>2];if(!c){break r}v[b+20>>2]=c}v[b+28>>2]=0;v[b+32>>2]=0;v[a+16>>2]=9;D=a,E=tg(v[v[b+96>>2]+4>>2],278441),v[D+36>>2]=E;v[a+20>>2]=v[b+496>>2];v[a+24>>2]=v[b+500>>2];if(d){v[a+44>>2]=e;v[a+40>>2]=d;v[a+16>>2]=25}i=mB(v[v[b+96>>2]+4>>2],a+16|0,0,A);if(i){break a}s0(v[v[b+504>>2]+88>>2]);d=v[b+504>>2];c=v[d+56>>2];v[b+52>>2]=v[d+52>>2];v[b+56>>2]=c;c=v[d+64>>2];v[b+60>>2]=v[d+60>>2];v[b+64>>2]=c;u[b+68>>1]=x[d+68>>1];u[b+70>>1]=x[d+70>>1];u[b+72>>1]=x[d+72>>1];u[b+74>>1]=x[d+74>>1];u[b+76>>1]=x[d+76>>1];u[b+78>>1]=x[d+78>>1];u[b+80>>1]=x[b+158>>1];u[b+82>>1]=x[b+160>>1];c=v[b+152>>2]!=0;v[b+12>>2]=c;if(w[d+12|0]&2){v[b+12>>2]=c|2}if(w[d+8|0]&32){v[b+8>>2]=v[b+8>>2]|32}if(!C){i=0;break a}c=v[r+32>>2];v[a+16>>2]=b;v[a+20>>2]=1970170211;v[a+24>>2]=65539;i=gk(v[c+12>>2],0,a+16|0,0);u:{if(!i){break u}d=i&255;if((d|0)==163){break u}if((d|0)!=7){break a}}u[a+24>>1]=7;i=0;v:{w:{switch(v[b+368>>2]-1|0){case 1:u[a+26>>1]=0;v[a+20>>2]=1094995778;break v;case 3:u[a+26>>1]=1;v[a+20>>2]=1094992453;c=c+4|0;break v;case 0:u[a+26>>1]=2;v[a+20>>2]=1094992451;c=c+8|0;break v;case 2:break w;default:break a}}c=c+12|0;u[a+26>>1]=3;v[a+20>>2]=1818326065}b=v[c>>2];if(!b){break a}i=gk(b,0,a+16|0,0)}Ma=a+320|0;return i|0}function ola(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,p=0,q=0,r=0,s=0,u=0,x=0,z=0,A=0,B=0,C=0,D=0;a:{if(w[a+352|0]|!c){break a}g=v[a+24>>2];while(1){if(!g){v[a+16>>2]=0;A=a;r=0;i=Ma-1344|0;Ma=i;e=v[a+48>>2];d=1;while(1){d=ou(e,(v[e+20>>2]>>>1|0)+32768|0)|d<<1;if((d|0)<16777216){continue}break}f=d-16777216|0;v[a+24>>2]=f;b:{c:{d:{e:{f:{if(!f){d=0;break f}if((d|0)>=20971521){break c}g:{if((f|0)<=v[a+20>>2]){break g}v[a+20>>2]=f;if(!v[a+36>>2]){break g}Sc(a+40|0,0,1)}if(!v[a+36>>2]){Sc(a+40|0,v[a+20>>2],1)}if(ou(e,(v[e+20>>2]>>>1|0)+32768|0)){r=ou(e,(v[e+20>>2]>>>1|0)+32768|0)?2:1}cb(i+1088|0,969760,256);v[i+1080>>2]=0;v[i+1084>>2]=0;v[i+1072>>2]=0;v[i+1076>>2]=0;if(v[a+24>>2]<1){break e}p=a+184|0;k=a+120|0;m=a+88|0;q=a+72|0;s=a- -64|0;u=a+60|0;x=a+58|0;B=a+55|0;f=3;d=i+1088|0;C=d|3;D=d|4;g=0;j=4;n=-1;while(1){h:{i:{h=(f|0)<2?f:2;d=(h+a|0)+52|0;f=v[(e+(w[d|0]<<2)|0)+44>>2]+v[e+20>>2]|0;j:{if(f>>>0<=y[e+28>>2]){v[e+20>>2]=f;d=t[d|0]&1;break j}d=dg(e,d,f)}k:{if(d){f=0;d=w[i+1088|0];break k}d=h+B|0;f=v[(e+(w[d|0]<<2)|0)+44>>2]+v[e+20>>2]|0;l:{if(f>>>0<=y[e+28>>2]){v[e+20>>2]=f;d=t[d|0]&1;break l}d=dg(e,d,f)}if(d){f=1;d=w[i+1089|0];break k}f=1;d=v[(e+(w[x|0]<<2)|0)+44>>2]+v[e+20>>2]|0;m:{if(d>>>0<=y[e+28>>2]){v[e+20>>2]=d;d=t[x|0]&1;break m}d=dg(e,x,d)}if(d){while(1){d=f+x|0;h=v[(e+(w[d|0]<<2)|0)+44>>2]+v[e+20>>2]|0;n:{if(h>>>0<=y[e+28>>2]){v[e+20>>2]=h;d=t[d|0]&1;break n}d=dg(e,d,h)}f=d|f<<1;if((f|0)<2){continue}break}d=w[(i+1088|0)+f|0];break k}d=v[(e+(w[u|0]<<2)|0)+44>>2]+v[e+20>>2]|0;o:{if(d>>>0<=y[e+28>>2]){v[e+20>>2]=d;d=t[u|0]&1;break o}d=dg(e,u,d)}if(d){while(1){d=f+u|0;h=v[(e+(w[d|0]<<2)|0)+44>>2]+v[e+20>>2]|0;p:{if(h>>>0<=y[e+28>>2]){v[e+20>>2]=h;d=t[d|0]&1;break p}d=dg(e,d,h)}f=d|f<<1;if((f|0)<4){continue}break}d=w[(i+1088|0)+f|0];break k}d=v[(e+(w[s|0]<<2)|0)+44>>2]+v[e+20>>2]|0;q:{if(d>>>0<=y[e+28>>2]){v[e+20>>2]=d;d=t[s|0]&1;break q}d=dg(e,s,d)}if(d){while(1){d=f+s|0;h=v[(e+(w[d|0]<<2)|0)+44>>2]+v[e+20>>2]|0;r:{if(h>>>0<=y[e+28>>2]){v[e+20>>2]=h;d=t[d|0]&1;break r}d=dg(e,d,h)}f=d|f<<1;if((f|0)<8){continue}break}d=w[(i+1088|0)+f|0];break k}d=v[(e+(w[q|0]<<2)|0)+44>>2]+v[e+20>>2]|0;s:{if(d>>>0<=y[e+28>>2]){v[e+20>>2]=d;d=t[q|0]&1;break s}d=dg(e,q,d)}if(d){while(1){d=f+q|0;h=v[(e+(w[d|0]<<2)|0)+44>>2]+v[e+20>>2]|0;t:{if(h>>>0<=y[e+28>>2]){v[e+20>>2]=h;d=t[d|0]&1;break t}d=dg(e,d,h)}f=d|f<<1;if((f|0)<16){continue}break}d=w[(i+1088|0)+f|0];break k}d=v[(e+(w[m|0]<<2)|0)+44>>2]+v[e+20>>2]|0;u:{if(d>>>0<=y[e+28>>2]){v[e+20>>2]=d;d=t[m|0]&1;break u}d=dg(e,m,d)}if(d){while(1){d=f+m|0;h=v[(e+(w[d|0]<<2)|0)+44>>2]+v[e+20>>2]|0;v:{if(h>>>0<=y[e+28>>2]){v[e+20>>2]=h;d=t[d|0]&1;break v}d=dg(e,d,h)}f=d|f<<1;if((f|0)<32){continue}break}d=w[(i+1088|0)+f|0];break k}d=v[(e+(w[k|0]<<2)|0)+44>>2]+v[e+20>>2]|0;w:{if(d>>>0<=y[e+28>>2]){v[e+20>>2]=d;d=t[k|0]&1;break w}d=dg(e,k,d)}if(d){while(1){d=f+k|0;h=v[(e+(w[d|0]<<2)|0)+44>>2]+v[e+20>>2]|0;x:{if(h>>>0<=y[e+28>>2]){v[e+20>>2]=h;d=t[d|0]&1;break x}d=dg(e,d,h)}f=d|f<<1;if((f|0)<64){continue}break}d=w[(i+1088|0)+f|0];break k}d=v[(e+(w[p|0]<<2)|0)+44>>2]+v[e+20>>2]|0;y:{if(d>>>0<=y[e+28>>2]){v[e+20>>2]=d;d=t[p|0]&1;break y}d=dg(e,p,d)}if(!d){break i}while(1){d=f+p|0;h=v[(e+(w[d|0]<<2)|0)+44>>2]+v[e+20>>2]|0;z:{if(h>>>0<=y[e+28>>2]){v[e+20>>2]=h;d=t[d|0]&1;break z}d=dg(e,d,h)}f=d|f<<1;if((f|0)<128){continue}break}d=w[(i+1088|0)+f|0]}t[v[a+36>>2]+g|0]=d;j=(j>>r)+j|0;if((j|0)>=268435457){v[i+1072>>2]=w[i+1075|0];v[i+1076>>2]=w[i+1079|0];v[i+1080>>2]=w[i+1083|0];v[i+1084>>2]=w[i+1087|0];j=j>>>24|0}A:{B:{C:{if((f|0)>=4){id(D,C,f-3|0);h=j;d=3;break C}h=v[(i+1072|0)+(f<<2)>>2]+j|0;if((f|0)<1){break B}d=f}while(1){l=d-1|0;o=v[(i+1072|0)+(l<<2)>>2];if(o>>>0>h>>>0){break A}v[(i+1072|0)+(d<<2)>>2]=o;o=i+1088|0;t[o+d|0]=w[l+o|0];o=(d|0)>1;d=l;if(o){continue}break}}d=0}l=w[v[a+36>>2]+g|0];v[(i+1072|0)+(d<<2)>>2]=h;t[(i+1088|0)+d|0]=l;break h}t[v[a+36>>2]+g|0]=0;f=256;n=g}g=g+1|0;d=v[a+24>>2];if((g|0)<(d|0)){continue}break}if((n|0)<1|(d|0)<=(n|0)){break e}p=pc(i+1056|0,i+1068|0,v[a+20>>2],4);d=0;eb(v[i+1068>>2],0,v[a+24>>2]<<2);eb(i+32|0,0,1024);f=v[a+36>>2];j=v[i+1068>>2];if((n|0)!=1){g=n&-2;while(1){r=i+32|0;l=w[d+f|0];e=r+(l<<2)|0;h=v[e>>2];v[j+(d<<2)>>2]=h&16777215|l<<24;v[e>>2]=h+1;l=d|1;e=w[l+f|0];k=(e<<2)+r|0;h=v[k>>2];v[j+(l<<2)>>2]=h&16777215|e<<24;v[k>>2]=h+1;d=d+2|0;g=g-2|0;if(g){continue}break}}if(n&1){g=w[d+f|0];h=(i+32|0)+(g<<2)|0;f=v[h>>2];v[j+(d<<2)>>2]=f&16777215|g<<24;v[h>>2]=f+1}g=1;l=v[a+36>>2];e=v[i+1068>>2];d=n+1|0;j=v[a+24>>2];if((d|0)<(j|0)){while(1){j=w[d+l|0];h=(i+32|0)+(j<<2)|0;f=v[h>>2];v[e+(d<<2)>>2]=f&16777215|j<<24;v[h>>2]=f+1;d=d+1|0;j=v[a+24>>2];if((d|0)<(j|0)){continue}break}}d=0;while(1){f=d<<2;h=i+32|0;k=f+h|0;m=v[k>>2];v[k>>2]=g;k=h+(f|4)|0;q=v[k>>2];g=g+m|0;v[k>>2]=g;k=h+(f|8)|0;m=v[k>>2];g=g+q|0;v[k>>2]=g;f=h+(f|12)|0;h=v[f>>2];k=f;f=g+m|0;v[k>>2]=f;g=f+h|0;d=d+4|0;if((d|0)!=256){continue}break}g=0;D:{if((j|0)<2){break D}d=j-2|0;f=v[e>>2];g=f>>>24|0;t[l+d|0]=g;g=v[(i+32|0)+(g<<2)>>2]+(f&16777215)|0;if((j|0)==2){break D}if(j&1){d=j-3|0;f=v[v[i+1068>>2]+(g<<2)>>2];g=f>>>24|0;t[d+v[a+36>>2]|0]=g;g=v[(i+32|0)+(g<<2)>>2]+(f&16777215)|0}if((j|0)==3){break D}while(1){g=v[v[i+1068>>2]+(g<<2)>>2];j=g>>>24|0;t[(v[a+36>>2]+d|0)-1|0]=j;f=d-2|0;g=v[v[i+1068>>2]+(v[(i+32|0)+(j<<2)>>2]+(g&16777215)<<2)>>2];j=g>>>24|0;t[f+v[a+36>>2]|0]=j;g=v[(i+32|0)+(j<<2)>>2]+(g&16777215)|0;j=(d|0)>2;d=f;if(j){continue}break}}if((g|0)!=(n|0)){break d}d=v[a+24>>2];ec(p)}Ma=i+1344|0;break b}lb(mb(i+32|0,227348,241596,362,332964));L()}lb(mb(i+8|0,227348,241596,404,332964));L()}lb(mb(i+32|0,227348,241596,230,332964));L()}f=v[a+24>>2];E:{if(d){break E}t[a+352|0]=1;f=1}g=f-1|0;v[A+24>>2]=g}f=a;d=(c|0)<(g|0)?c:g;if(!(!b|!d)){b=cb(b,v[a+36>>2]+v[a+16>>2]|0,d)+d|0;g=v[a+24>>2]}g=g-d|0;v[f+24>>2]=g;v[a+16>>2]=d+v[a+16>>2];v[a+12>>2]=d+v[a+12>>2];z=d+z|0;c=c-d|0;if(!c){break a}if(!w[a+352|0]){continue}break}}return z|0}function lTa(a){a=a|0;var 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;b=Ma-80|0;Ma=b;e=x[a+26306>>1];n=Yb(e+(x[a+26304>>1]<<2)|0,2);if(!n){e=v[a+190640>>2];a:{if(e){d=v[a+25208>>2];v[b+20>>2]=42394;v[b+16>>2]=d;Dc(e,4338,b+16|0);break a}e=v[a+25208>>2];v[b+4>>2]=42394;v[b>>2]=e;vb(v[249419],4338,b)}tc(a+190484|0,1);L()}Qa[v[v[a>>2]+8>>2]](v[a+4>>2],v[a+26040>>2],0)|0;q=(e<<1)+n|0;if(x[a+26304>>1]){while(1){v[b+68>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+68|0,1,4)|0;e=w[b+68|0];d=(c<<2)+q|0;if(x[a+25204>>1]==18761){f=e|w[b+69|0]<<8|w[b+70|0]<<16|w[b+71|0]<<24}else{f=w[b+71|0]|(w[b+69|0]<<16|e<<24|w[b+70|0]<<8)}v[d>>2]=f;c=c+1|0;g=x[a+26304>>1];if(c>>>0>>0){continue}break}}e=a+25188|0;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],v[e>>2],0)|0;s=(g<<2)+q|0;if(v[e>>2]){Wi(a,s,x[a+26304>>1]<<1)}c=0;e=a+26484|0;while(1){d=e+(c<<1)|0;o=+(B(c,c)|0)/3.969+.5;b:{if(o<4294967296&o>=0){f=~~o>>>0;break b}f=0}u[d>>1]=f;d=c|1;g=e+(d<<1)|0;o=+(B(d,d)|0)/3.969+.5;c:{if(o<4294967296&o>=0){f=~~o>>>0;break c}f=0}u[g>>1]=f;c=c+2|0;if((c|0)!=256){continue}break}if(x[a+26304>>1]){r=v[249419];while(1){t=p<<2;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],v[t+q>>2]+v[a+26048>>2]|0,0)|0;v[285948]=0;v[285949]=0;v[285950]=0;v[b+60>>2]=0;v[b+64>>2]=0;c=x[a+26306>>1];if(c){k=0;while(1){d:{if((c&65528)>>>0<=k>>>0){v[b+68>>2]=14;v[b+72>>2]=14;break d}if(k&7){break d}l=0;f=v[285948];e=v[285949];h=v[285950];m=1;while(1){g=h-1|0;v[285950]=g;if((h|0)<=0){v[b+76>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+76|0,1,4)|0;c=w[b+76|0];e=f;if(x[a+25204>>1]==18761){f=c|w[b+77|0]<<8|w[b+78|0]<<16|w[b+79|0]<<24}else{f=w[b+79|0]|(w[b+77|0]<<16|c<<24|w[b+78|0]<<8)}v[285948]=f;v[285949]=e;g=v[285950]+32|0;v[285950]=g}d=e;h=f;i=63-g|0;c=i&31;if((i&63)>>>0>=32){d=h<>>32-c|d<>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+76|0,1,4)|0;c=w[b+76|0];e=f;if(x[a+25204>>1]!=18761){f=w[b+79|0]|(w[b+77|0]<<16|c<<24|w[b+78|0]<<8)}else{f=c|w[b+77|0]<<8|w[b+78|0]<<16|w[b+79|0]<<24}v[285948]=f;v[285949]=e;c=v[285950]+32|0}g=2;d=e;i=f;j=63-c|0;h=j&31;if((j&63)>>>0>=32){d=i<>>32-h|d<0)){v[b+76>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+76|0,1,4)|0;c=w[b+76|0];e=f;if(x[a+25204>>1]!=18761){f=w[b+79|0]|(w[b+77|0]<<16|c<<24|w[b+78|0]<<8)}else{f=c|w[b+77|0]<<8|w[b+78|0]<<16|w[b+79|0]<<24}v[285948]=f;v[285949]=e;d=v[285950]+32|0}c=d;g=4;d=e;i=f;j=63-c|0;h=j&31;if((j&63)>>>0>=32){d=i<>>32-h|d<0)){v[b+76>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+76|0,1,4)|0;c=w[b+76|0];e=f;if(x[a+25204>>1]!=18761){f=w[b+79|0]|(w[b+77|0]<<16|c<<24|w[b+78|0]<<8)}else{f=c|w[b+77|0]<<8|w[b+78|0]<<16|w[b+79|0]<<24}v[285948]=f;v[285949]=e;d=v[285950]+32|0}c=d;g=6;d=e;i=f;j=63-c|0;h=j&31;if((j&63)>>>0>=32){d=i<>>32-h|d<0)){v[b+76>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+76|0,1,4)|0;c=w[b+76|0];e=f;if(x[a+25204>>1]!=18761){f=w[b+79|0]|(w[b+77|0]<<16|c<<24|w[b+78|0]<<8)}else{f=c|w[b+77|0]<<8|w[b+78|0]<<16|w[b+79|0]<<24}v[285948]=f;v[285949]=e;d=v[285950]+32|0}c=d;g=10;d=e;i=f;j=63-c|0;h=j&31;if((j&63)>>>0>=32){d=i<>>32-h|d<-1){break f}g=8}h=c-1|0;v[285950]=h;if((c|0)<=0){v[b+76>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+76|0,1,4)|0;c=w[b+76|0];e=f;if(x[a+25204>>1]==18761){f=c|w[b+77|0]<<8|w[b+78|0]<<16|w[b+79|0]<<24}else{f=w[b+79|0]|(w[b+77|0]<<16|c<<24|w[b+78|0]<<8)}v[285948]=f;v[285949]=e;h=v[285950]+32|0;v[285950]=h}j=(b+68|0)+(l<<2)|0;d=e;l=f;i=63-h|0;c=i&31;if((i&63)>>>0>=32){d=l<>>32-c|d<>2]=v[((g-2|d>>>31)<<2)+196224>>2]}l=1;d=m;m=0;if(d){continue}break}}l=(k&1)<<2;h=v[l+(b+68|0)>>2];g=h;g:{h:{i:{switch(h+1|0){case 15:d=v[285950];c=d-16|0;v[285950]=c;f=v[285948];e=v[285949];if((d|0)<=15){v[b+76>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+76|0,1,4)|0;c=w[b+76|0];e=f;if(x[a+25204>>1]==18761){f=c|w[b+77|0]<<8|w[b+78|0]<<16|w[b+79|0]<<24}else{f=w[b+79|0]|(w[b+77|0]<<16|c<<24|w[b+78|0]<<8)}v[285948]=f;v[285949]=e;c=v[285950]+32|0;v[285950]=c}g=f;d=48-c|0;c=d&31;if((d&63)>>>0>=32){d=g<>>32-c|e<>>16|0;v[l+(b+60|0)>>2]=e;u[(k<<1)+n>>1]=e;break g;case 0:g=0;v[285948]=0;v[285949]=0;v[285950]=0;break h;case 1:break h;default:break i}}g=v[285950]-h|0;v[285950]=g;f=v[285948];e=v[285949];if((g|0)<=-1){v[b+76>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+76|0,1,4)|0;c=w[b+76|0];e=f;if(x[a+25204>>1]==18761){f=c|w[b+77|0]<<8|w[b+78|0]<<16|w[b+79|0]<<24}else{f=w[b+79|0]|(w[b+77|0]<<16|c<<24|w[b+78|0]<<8)}v[285948]=f;v[285949]=e;g=v[285950]+32|0;v[285950]=g}m=f;c=64-h|0;d=c-g|0;g=d&31;if((d&63)>>>0>=32){d=m<>>32-g|e<>>0>=32?d>>>e|0:((1<>>e}d=l+(b+60|0)|0;e=(v[d>>2]+((-1<>2]=e;u[(k<<1)+n>>1]=e;if(e>>>0<65536){break g}j:{if(v[a+26160>>2]){break j}v[b+48>>2]=v[a+25208>>2];vb(r,8292,b+48|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,r);break j}e=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[b+32>>2]=e;v[b+36>>2]=e>>31;vb(r,14622,b+32|0)}v[a+26160>>2]=1}k:{if(v[a+25176>>2]!=5){break k}e=(k<<1)+n|0;d=x[e>>1];if(d>>>0>255){break k}u[e>>1]=x[((d<<1)+a|0)+26484>>1]}c=x[a+26306>>1];k=k+1|0;if(c>>>0>k>>>0){continue}break}}l:{if(x[a+26308>>1]<=p-x[a+26312>>1]>>>0){break l}g=x[a+26310>>1];if(!g){break l}e=s+t|0;d=v[a+25192>>2];h=v[a+25184>>2];c=0;while(1){m=u[e+(((c|0)>=(d|0))<<1)>>1]+((x[(x[a+26314>>1]+c<<1)+n>>1]<<2)-h|0)|0;if((m|0)>=1){g=p-x[a+26312>>1]|0;f=x[a+26316>>1];u[(v[a+26352>>2]+(B(x[a+26320>>1],g>>f)+(c>>>f|0)<<3)|0)+((v[a+26028>>2]>>>((g<<1&14|c&1)<<1)&3)<<1)>>1]=m;g=x[a+26310>>1]}c=c+1|0;if(c>>>0<(g&65535)>>>0){continue}break}}p=p+1|0;if(p>>>0>1]){continue}break}}$a(n);I3(a);v[a+26124>>2]=65532-v[a+25184>>2];Ma=b+80|0}function Qfa(a,b){a=a|0;b=b|0;var 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,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;if(v[a+12>>2]>=0){a:{if(xQ(a,v[a+8>>2])){break a}d=v[a+4>>2];if(v[d+20>>2]<1){break a}while(1){f=v[a+8>>2];o=f;f=f<<3;p=v[f+983632>>2];m=v[f+983636>>2];I=(m|0)>=16;r=v[d>>2]+(s<<4)|0;j=r;d=0;g=0;b:{c:{if(p){f=0;if((m|0)<1){break b}c=a+120|0;while(1){J=a+d|0;f=d+p|0;k=v[j+(f>>4<<2)>>2];e=8;d:{if(!k){break d}f=v[k+((f&15)<<2)>>2];e=8;if(!f){break d}e=x[f>>1]?2:8;t[c|0]=e;k=x[f+2>>1]?2:8;t[c+1|0]=k;l=x[f+4>>1]?2:8;t[c+2|0]=l;n=x[f+6>>1]?2:8;t[c+3|0]=n;q=x[f+8>>1]?2:8;t[c+4|0]=q;h=x[f+10>>1]?2:8;t[c+5|0]=h;i=x[f+12>>1]?2:8;t[c+6|0]=i;z=x[f+14>>1]?2:8;t[c+7|0]=z;A=x[f+16>>1]?2:8;t[c+8|0]=A;C=x[f+18>>1]?2:8;t[c+9|0]=C;D=x[f+20>>1]?2:8;t[c+10|0]=D;E=x[f+22>>1]?2:8;t[c+11|0]=E;F=x[f+24>>1]?2:8;t[c+12|0]=F;G=x[f+26>>1]?2:8;t[c+13|0]=G;H=x[f+28>>1]?2:8;t[c+14|0]=H;f=x[f+30>>1]?2:8;t[c+15|0]=f;e=f|(h|(q|(n|(l|(e|k))))|i|z|A|C|D|E|F|G|H)}t[J+376|0]=e;c=c+16|0;g=e|g;d=d+1|0;if((m|0)!=(d|0)){continue}break}break c}g=8;f=v[j>>2];e:{if(!f){break e}f=v[f>>2];if(!f){break e}c=1;d=1;d=w[a+120|0]!=1?x[f>>1]?2:8:d;t[a+120|0]=d;c=w[a+121|0]!=1?x[f+2>>1]?2:8:c;t[a+121|0]=c;g=c|d;c=1;d=1;d=w[a+122|0]!=1?x[f+4>>1]?2:8:d;t[a+122|0]=d;c=w[a+123|0]!=1?x[f+6>>1]?2:8:c;t[a+123|0]=c;g=d|g|c;c=1;d=1;d=w[a+124|0]!=1?x[f+8>>1]?2:8:d;t[a+124|0]=d;c=w[a+125|0]!=1?x[f+10>>1]?2:8:c;t[a+125|0]=c;g=d|g|c;c=1;d=1;d=w[a+126|0]!=1?x[f+12>>1]?2:8:d;t[a+126|0]=d;c=w[a+127|0]!=1?x[f+14>>1]?2:8:c;t[a+127|0]=c;g=d|g|c;c=1;d=1;d=w[a+128|0]!=1?x[f+16>>1]?2:8:d;t[a+128|0]=d;c=w[a+129|0]!=1?x[f+18>>1]?2:8:c;t[a+129|0]=c;g=d|g|c;c=1;d=1;d=w[a+130|0]!=1?x[f+20>>1]?2:8:d;t[a+130|0]=d;c=w[a+131|0]!=1?x[f+22>>1]?2:8:c;t[a+131|0]=c;g=d|g|c;c=1;d=1;d=w[a+132|0]!=1?x[f+24>>1]?2:8:d;t[a+132|0]=d;c=w[a+133|0]!=1?x[f+26>>1]?2:8:c;t[a+133|0]=c;g=d|g|c;c=1;d=1;d=w[a+134|0]!=1?x[f+28>>1]?2:8:d;t[a+134|0]=d;c=w[a+135|0]!=1?x[f+30>>1]?2:8:c;t[a+135|0]=c;g=d|g|c}t[a+376|0]=g}f=g}f:{if(!(f&2?0:I)){f=f|4;break f}if(!(f&8)){break f}d=a+505|0;g=f|4;c=v[((w[a+505|0]<<2)+b|0)+44>>2]+v[b+20>>2]|0;g:{if(c>>>0<=y[b+28>>2]){v[b+20>>2]=c;c=t[d|0]&1;break g}c=dg(b,d,c)}f=c?g:f}h:{if(!(f&4)|(m|0)<1){break h}g=f<<1&4;i:{if((o|0)>=1){d=0;i=(o<<3)+a|0;while(1){e=a+d|0;j:{if(!(w[e+376|0]&8)){break j}c=0;j=d+p|0;h=j<<2;k=v[(h>>8<<2)+r>>2];k:{if(!k){break k}j=v[k+(j&60)>>2];if(!j){break k}c=3;k=(h&12)<<1;h=k+j|0;l=x[h>>1];h=(x[h+2>>1]?l?2:1:(l|0)!=0)+(x[h+4>>1]!=0)|0;if(h>>>0>2){break k}c=h+(x[j+(k|6)>>1]!=0)|0}c=(i+(c|g)|0)+424|0;j=v[((w[c|0]<<2)+b|0)+44>>2]+v[b+20>>2]|0;l:{if(j>>>0<=y[b+28>>2]){v[b+20>>2]=j;c=t[c|0]&1;break l}c=dg(b,c,j)}if(!c){break j}t[e+376|0]=w[e+376|0]|4}d=d+1|0;if((m|0)!=(d|0)){continue}break}break i}c=(g+((o<<3)+a|0)|0)+424|0;d=0;while(1){g=a+d|0;m:{if(!(w[g+376|0]&8)){break m}e=v[((w[c|0]<<2)+b|0)+44>>2]+v[b+20>>2]|0;n:{if(e>>>0<=y[b+28>>2]){v[b+20>>2]=e;e=t[c|0]&1;break n}e=dg(b,c,e)}if(!e){break m}t[g+376|0]=w[g+376|0]|4}d=d+1|0;if((m|0)!=(d|0)){continue}break}}if((m|0)<1){break h}e=a+120|0;j=v[((o<<2)+a|0)+16>>2];k=0;while(1){o:{n=a+k|0;if(!(w[n+376|0]&4)){break o}h=k+p|0;l=(h>>4<<2)+r|0;d=v[l>>2];p:{q:{r:{if(d){c=h&15;h=v[(c<<2)+d>>2];if(h){break p}g=v[a+4>>2];break r}g=v[a+4>>2];d=v[g+28>>2];s:{if((d|0)<=4046){c=v[g+24>>2];break s}c=ab(8164);v[c>>2]=v[g+24>>2];d=0;eb(c+4|0,0,8160);v[g+24>>2]=c}v[g+28>>2]=d+34;c=((d<<1)+c|0)+4|0;while(1){d=c;c=c+2|0;if(d&3){continue}break}v[l>>2]=d;c=h&15;h=v[(c<<2)+d>>2];if(h){break q}}i=v[g+28>>2];t:{if((i|0)<=4064){h=v[g+24>>2];break t}h=ab(8164);v[h>>2]=v[g+24>>2];i=0;eb(h+4|0,0,8160);v[g+24>>2]=h;d=v[l>>2]}v[g+28>>2]=i+16;g=d;d=c<<2;v[g+d>>2]=((i<<1)+h|0)+4;h=v[d+v[l>>2]>>2]}if(p){d=(k<<4)+a|0;v[d+120>>2]=134744072;v[d+124>>2]=134744072;v[d+128>>2]=134744072;v[d+132>>2]=134744072;break p}if(w[e|0]!=1){t[e|0]=8}if(w[e+1|0]!=1){t[e+1|0]=8}if(w[e+2|0]!=1){t[e+2|0]=8}if(w[e+3|0]!=1){t[e+3|0]=8}if(w[e+4|0]!=1){t[e+4|0]=8}if(w[e+5|0]!=1){t[e+5|0]=8}if(w[e+6|0]!=1){t[e+6|0]=8}if(w[e+7|0]!=1){t[e+7|0]=8}if(w[e+8|0]!=1){t[e+8|0]=8}if(w[e+9|0]!=1){t[e+9|0]=8}if(w[e+10|0]!=1){t[e+10|0]=8}if(w[e+11|0]!=1){t[e+11|0]=8}if(w[e+12|0]!=1){t[e+12|0]=8}if(w[e+13|0]!=1){t[e+13|0]=8}if(w[e+14|0]!=1){t[e+14|0]=8}if(w[e+15|0]==1){break p}t[e+15|0]=8}g=w[e|0];c=(((((((((((((((g>>>3&1)+(w[e+1|0]>>>3&1)|0)+(w[e+2|0]>>>3&1)|0)+(w[e+3|0]>>>3&1)|0)+(w[e+4|0]>>>3&1)|0)+(w[e+5|0]>>>3&1)|0)+(w[e+6|0]>>>3&1)|0)+(w[e+7|0]>>>3&1)|0)+(w[e+8|0]>>>3&1)|0)+(w[e+9|0]>>>3&1)|0)+(w[e+10|0]>>>3&1)|0)+(w[e+11|0]>>>3&1)|0)+(w[e+12|0]>>>3&1)|0)+(w[e+13|0]>>>3&1)|0)+(w[e+14|0]>>>3&1)|0)+(w[e+15|0]>>>3&1)|0;d=0;while(1){u:{if(!(g&8)){break u}j=o?j:v[((d<<2)+a|0)+56>>2];g=d+e|0;i=((w[n+376|0]<<2&8|((c|0)<7?c:7))+a|0)+392|0;l=v[((w[i|0]<<2)+b|0)+44>>2]+v[b+20>>2]|0;v:{if(l>>>0<=y[b+28>>2]){v[b+20>>2]=l;i=t[i|0]&1;break v}i=dg(b,i,l)}if(i){t[g|0]=w[g|0]|4;i=(j>>>1|0)+j-(j>>>3)|0;K=(d<<1)+h|0,L=ou(b,(B(v[b+20>>2],3)>>>3|0)+32768|0)?0-i|0:i,u[K>>1]=L}if(w[g|0]&4){c=0;break u}c=c-((c|0)>0)|0}d=d+1|0;if((d|0)==16){break o}g=w[d+e|0];continue}}e=e+16|0;k=k+1|0;if((m|0)!=(k|0)){continue}break}}if(!(!(f&2)|(m|0)<1)){k=a+504|0;j=a+120|0;e=v[((o<<2)+a|0)+16>>2];i=0;while(1){w:{if(!(w[(a+i|0)+376|0]&2)){break w}f=i+p|0;c=v[(f>>4<<2)+r>>2];if(!c){break w}d=0;l=v[c+((f&15)<<2)>>2];if(!l){break w}while(1){if(w[d+j|0]&2){c=l+(d<<1)|0;g=u[c>>1];f=g>>31;h=(f^f+g)&65535;g=c;e=o?e:v[((d<<2)+a|0)+56>>2];x:{if((h|0)<=(B(e,3)|0)){n=h+(e>>2)|0;q=e>>1;f=n+q|0;h=v[((w[k|0]<<2)+b|0)+44>>2]+v[b+20>>2]|0;y:{if(h>>>0<=y[b+28>>2]){v[b+20>>2]=h;h=t[k|0]&1;break y}h=dg(b,k,h)}if(h){break x}f=n+(q-e|0)|0;break x}f=h+(e>>1)|0;if(ou(b,(B(v[b+20>>2],3)>>>3|0)+32768|0)){break x}f=(h-e|0)+(e>>1)|0}u[g>>1]=u[c>>1]>0?f:0-f|0}d=d+1|0;if((d|0)!=16){continue}break}}j=j+16|0;i=i+1|0;if((m|0)!=(i|0)){continue}break}}s=s+1|0;d=v[a+4>>2];if((s|0)>2]){continue}break}}a=wQ(a)}else{a=0}return a|0}function PU(a,b,c){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,p=0,q=0,r=0,s=0,u=0,w=0,z=0,A=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0;a:{m=v[c+52>>2];F=v[c+56>>2];G=v[c+32>>2];j=F-G|0;n=v[c+28>>2];w=(m+j|0)-n|0;if(!w){break a}K=v[c+64>>2];L=v[c+40>>2];r=K-L|0;z=v[c+68>>2];A=v[c+44>>2];C=(r+z|0)-A|0;if(!C){break a}g=v[a+40>>2];s=g&31;O=g>>>5&7;R=O-1|0;P=B(b,3);while(1){b:{if(!s){k=R+(v[(v[a+44>>2]+(l+P<<2)|0)-8>>2]>>>3&31)|0;Q=0;break b}k=v[a+4>>2]+(O+((l|0)==2)|0)|0;Q=+((v[v[a+44>>2]+(((s|0)==1?0:(l+P|0)-2|0)<<2)>>2]&2047|2048)>>>0)*.00048828125}k=v[a+36>>2]?k:(k-v[a+4>>2]|0)+24|0;d=v[c+8>>2];if(d){S=v[c+96>>2];E=0;while(1){o=v[S+(E<<2)>>2]+B(l,24)|0;g=v[o+4>>2];c:{if(!g){break c}b=v[o>>2];if(!b){break c}d=v[o+20>>2];M=0;f=1;while(1){N=0;e=0;if(f){while(1){I=v[d+4>>2];d:{if(I>>>0>=y[d+12>>2]){break d}e=v[d>>2];h=v[d+8>>2];if(e>>>0>=h>>>0){break d}p=v[d+52>>2];u=v[d+48>>2];while(1){e:{if(e>>>0>=h>>>0){break e}g=u;b=g;i=p;f=i;if(!s){while(1){f=g;T=f;q=v[f>>2];f=0;f:{if(!q){break f}b=k-(t[i|0]+(v[d+28>>2]+x[d+56>>1]|0)|0)|0;g:{if((b|0)<=0){b=q>>0-b;break g}H=q<=0){break g}b=H+(-1<>2]){break f}f=b&-1<<24-v[a+4>>2]}v[T>>2]=f;i=i+1|0;g=g+4|0;e=e+1|0;h=v[d+8>>2];if(e>>>0>>0){continue}break e}}while(1){g=b;i=v[b>>2];h=0;h:{if(!i){break h}J=Q;h=k-(t[f|0]+(v[d+28>>2]+x[d+56>>1]|0)|0)|0;i:{if((h|0)>=1){H=i<>0-h}J=J*+(h|0);if(D(J)<2147483648){h=~~J;break h}h=-2147483648}v[g>>2]=h;f=f+1|0;b=b+4|0;e=e+1|0;h=v[d+8>>2];if(e>>>0>>0){continue}break}}I=I+1|0;if(I>>>0>2]){p=v[c+84>>2]+p|0;u=(v[a+68>>2]<<2)+u|0;e=v[d>>2];continue}break}b=v[o>>2]}d=d+68|0;N=N+1|0;if(N>>>0>>0){continue}break}e=b;g=v[o+4>>2]}f=e;M=M+1|0;if(M>>>0>>0){continue}break}d=v[c+8>>2]}E=E+1|0;if(E>>>0>>0){continue}break}}l=l+1|0;if((l|0)!=3){continue}break}b=m+F|0;s=b-(n+G|0)|0;k=w&-4;o=w&3;u=j&-4;i=j&3;l=m-n&3;m=(n^-1)+m|0;g=G^-1;E=g+F|0;d=v[a+76>>2];p=0;F=(v[c+12>>2]&1)+3|0;q=F<<2;n=(b+g|0)-n>>>0<3;while(1){G=v[a+80>>2];e=G+q|0;j:{if(v[c+28>>2]==v[c+32>>2]){k:{if(!j){break k}f=0;b=e;h=u;if(E>>>0>=3){while(1){g=f<<2;v[b>>2]=v[g+d>>2];v[b+8>>2]=v[(g|4)+d>>2];v[b+16>>2]=v[(g|8)+d>>2];v[b+24>>2]=v[(g|12)+d>>2];b=b+32|0;f=f+4|0;h=h-4|0;if(h){continue}break}}g=i;if(!g){break k}while(1){v[b>>2]=v[(f<<2)+d>>2];b=b+8|0;f=f+1|0;g=g-1|0;if(g){continue}break}}if(j>>>0>=w>>>0){break j}b=e+4|0;e=j;f=l;if(f){while(1){v[b>>2]=v[(e<<2)+d>>2];b=b+8|0;e=e+1|0;f=f-1|0;if(f){continue}break}}if(m>>>0<3){break j}while(1){g=(e<<2)+d|0;v[b>>2]=v[g>>2];v[b+8>>2]=v[g+4>>2];v[b+16>>2]=v[g+8>>2];v[b+24>>2]=v[g+12>>2];b=b+32|0;e=e+4|0;if((s|0)!=(e|0)){continue}break}break j}l:{if(!j){break l}b=e+4|0;f=0;h=u;if(E>>>0>2){while(1){g=f<<2;v[b>>2]=v[g+d>>2];v[b+8>>2]=v[(g|4)+d>>2];v[b+16>>2]=v[(g|8)+d>>2];v[b+24>>2]=v[(g|12)+d>>2];b=b+32|0;f=f+4|0;h=h-4|0;if(h){continue}break}}g=i;if(!g){break l}while(1){v[b>>2]=v[(f<<2)+d>>2];b=b+8|0;f=f+1|0;g=g-1|0;if(g){continue}break}}if(j>>>0>=w>>>0){break j}b=j;f=l;if(f){while(1){v[e>>2]=v[(b<<2)+d>>2];e=e+8|0;b=b+1|0;f=f-1|0;if(f){continue}break}}if(m>>>0<3){break j}while(1){g=(b<<2)+d|0;v[e>>2]=v[g>>2];v[e+8>>2]=v[g+4>>2];v[e+16>>2]=v[g+8>>2];v[e+24>>2]=v[g+12>>2];e=e+32|0;b=b+4|0;if((s|0)!=(b|0)){continue}break}}OU(a,G,F,w);b=q+v[a+80>>2]|0;e=0;g=k;if(!n){while(1){f=e<<2;v[f+d>>2]=v[b>>2];v[(f|4)+d>>2]=v[b+4>>2];v[(f|8)+d>>2]=v[b+8>>2];v[(f|12)+d>>2]=v[b+12>>2];b=b+16|0;e=e+4|0;g=g-4|0;if(g){continue}break}}f=o;if(f){while(1){v[(e<<2)+d>>2]=v[b>>2];b=b+4|0;e=e+1|0;f=f-1|0;if(f){continue}break}}d=(v[a+68>>2]<<2)+d|0;p=p+1|0;if(C>>>0>p>>>0){continue}break}g=z+K|0;p=g-(A+L|0)|0;i=C&-4;l=C&3;h=r&-4;j=r&3;u=z-A&3;o=(A^-1)+z|0;f=L^-1;n=f+K|0;b=v[a+76>>2];k=0;z=(v[c+16>>2]&1)+3|0;m=z<<2;A=(f+g|0)-A>>>0<3;while(1){s=v[a+80>>2];f=s+m|0;m:{if(v[c+40>>2]==v[c+44>>2]){n:{if(!r){break n}d=0;e=f;g=h;if(n>>>0>=3){while(1){v[e>>2]=v[(B(v[a+68>>2],d)<<2)+b>>2];v[e+8>>2]=v[(B(v[a+68>>2],d|1)<<2)+b>>2];v[e+16>>2]=v[(B(v[a+68>>2],d|2)<<2)+b>>2];v[e+24>>2]=v[(B(v[a+68>>2],d|3)<<2)+b>>2];e=e+32|0;d=d+4|0;g=g-4|0;if(g){continue}break}}g=j;if(!g){break n}while(1){v[e>>2]=v[(B(v[a+68>>2],d)<<2)+b>>2];e=e+8|0;d=d+1|0;g=g-1|0;if(g){continue}break}}if(r>>>0>=C>>>0){break m}d=f+4|0;e=r;f=u;if(f){while(1){v[d>>2]=v[(B(v[a+68>>2],e)<<2)+b>>2];d=d+8|0;e=e+1|0;f=f-1|0;if(f){continue}break}}if(o>>>0<3){break m}while(1){v[d>>2]=v[(B(v[a+68>>2],e)<<2)+b>>2];v[d+8>>2]=v[(B(v[a+68>>2],e+1|0)<<2)+b>>2];v[d+16>>2]=v[(B(v[a+68>>2],e+2|0)<<2)+b>>2];v[d+24>>2]=v[(B(v[a+68>>2],e+3|0)<<2)+b>>2];d=d+32|0;e=e+4|0;if((p|0)!=(e|0)){continue}break}break m}o:{if(!r){break o}d=f+4|0;e=0;g=h;if(n>>>0>2){while(1){v[d>>2]=v[(B(v[a+68>>2],e)<<2)+b>>2];v[d+8>>2]=v[(B(v[a+68>>2],e|1)<<2)+b>>2];v[d+16>>2]=v[(B(v[a+68>>2],e|2)<<2)+b>>2];v[d+24>>2]=v[(B(v[a+68>>2],e|3)<<2)+b>>2];d=d+32|0;e=e+4|0;g=g-4|0;if(g){continue}break}}g=j;if(!g){break o}while(1){v[d>>2]=v[(B(v[a+68>>2],e)<<2)+b>>2];d=d+8|0;e=e+1|0;g=g-1|0;if(g){continue}break}}if(r>>>0>=C>>>0){break m}d=r;e=u;if(e){while(1){v[f>>2]=v[(B(v[a+68>>2],d)<<2)+b>>2];f=f+8|0;d=d+1|0;e=e-1|0;if(e){continue}break}}if(o>>>0<3){break m}while(1){v[f>>2]=v[(B(v[a+68>>2],d)<<2)+b>>2];v[f+8>>2]=v[(B(v[a+68>>2],d+1|0)<<2)+b>>2];v[f+16>>2]=v[(B(v[a+68>>2],d+2|0)<<2)+b>>2];v[f+24>>2]=v[(B(v[a+68>>2],d+3|0)<<2)+b>>2];f=f+32|0;d=d+4|0;if((p|0)!=(d|0)){continue}break}}OU(a,s,z,C);d=m+v[a+80>>2]|0;e=0;f=i;if(!A){while(1){v[(B(v[a+68>>2],e)<<2)+b>>2]=v[d>>2];v[(B(v[a+68>>2],e|1)<<2)+b>>2]=v[d+4>>2];v[(B(v[a+68>>2],e|2)<<2)+b>>2]=v[d+8>>2];v[(B(v[a+68>>2],e|3)<<2)+b>>2]=v[d+12>>2];d=d+16|0;e=e+4|0;f=f-4|0;if(f){continue}break}}f=l;if(f){while(1){v[(B(v[a+68>>2],e)<<2)+b>>2]=v[d>>2];d=d+4|0;e=e+1|0;f=f-1|0;if(f){continue}break}}b=b+4|0;k=k+1|0;if(w>>>0>k>>>0){continue}break}}}function KL(a,b,c,d,e,f){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,u=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0;u=v[a+12>>2];a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{x=v[a+8>>2];l:{if(w[x+57|0]&2){m=-1;g=nk(65425);if(!g){break l}v[g+12>>2]=v[v[u+32>>2]+104>>2];if(mk(b,v[a+16>>2],g)){break l}ci(g)}i=uC(b,11863);if(!i){break k}if(!(w[i+16|0]&2)){break j}m=-1;h=v[i+8>>2];g=h-1|0;v[i+8>>2]=g;m:{if((h|0)<=0){j=v[i+4>>2];h=j<<8&65280;g=(h|0)==65280?6:7;v[i+8>>2]=g;v[i+4>>2]=h|1<>2];q=v[g+8>>2];if(q&7){break l}h=v[g+64>>2];if(!((h|0)<0|(h|0)>v[g+60>>2])){break b}v[g+4>>2]=v[g+4>>2]|32;h=v[g+28>>2];v[g+28>>2]=h-1;if((h|0)>=1){v[g+60>>2]=v[g+60>>2]+1;h=g;g=v[g+24>>2];v[h+24>>2]=g+1;t[g|0]=j;break m}if((Cb(g,j&255)|0)!=-1){break m}break l}v[i+4>>2]=v[i+4>>2]|1<>2]+B(c,716)|0)+4>>2]+(d<<6)|0;g=v[h+52>>2];if(g){s=v[h+56>>2];A=s+B(g,36)|0;C=f+1|0;D=B(e,52);while(1){n:{if(!v[s+4>>2]){break n}p=v[s>>2]+D|0;g=v[p+28>>2];if(!g){break n}h=v[p+24>>2];if(!h){break n}j=B(h,60)+g|0;while(1){if(!f){h=v[p+36>>2];oC(h,v[h+12>>2]+((g-v[p+28>>2]|0)/60<<4)|0,v[g+12>>2])}l=v[g+40>>2];if(!(v[g+8>>2]|(!l|v[l+32>>2]!=(f|0)))){h=v[p+32>>2];oC(h,v[h+12>>2]+((g-v[p+28>>2]|0)/60<<4)|0,v[l+32>>2])}g=g+60|0;if((j|0)!=(g|0)){continue}break}g=v[p+24>>2];if(!g){break n}o=v[p+28>>2];E=o+B(g,60)|0;while(1){l=v[o+40>>2];if(l){h=v[l+32>>2]==(f|0)}else{h=0}o:{if(!v[o+8>>2]){g=v[p+32>>2];if((JL(g,v[g+12>>2]+((o-v[p+28>>2]|0)/60<<4)|0,C,i)|0)<0){break a}break o}if(!(w[i+16|0]&2)){break i}j=v[i+8>>2];g=j-1|0;v[i+8>>2]=g;if((j|0)<=0){k=v[i+4>>2];j=k<<8&65280;g=(j|0)==65280?6:7;v[i+8>>2]=g;v[i+4>>2]=j|h<>2];q=v[g+8>>2];if(q&7){break a}j=v[g+64>>2];if(!((j|0)<0|(j|0)>v[g+60>>2])){break b}v[g+4>>2]=v[g+4>>2]|32;j=v[g+28>>2];v[g+28>>2]=j-1;if((j|0)>=1){v[g+60>>2]=v[g+60>>2]+1;j=g;g=v[g+24>>2];v[j+24>>2]=g+1;t[g|0]=k;break o}m=-1;if((Cb(g,k&255)|0)!=-1){break o}break l}v[i+4>>2]=v[i+4>>2]|h<>2]){g=1;m=-1;h=v[p+36>>2];k=v[h+12>>2]+((o-v[p+28>>2]|0)/60<<4)|0;j=JL(h,k,1,i);if((j|0)<0){break l}while(1){if(!j){g=g+1|0;j=JL(v[p+36>>2],k,g,i);if((j|0)>=0){continue}break l}break}if(!v[k+12>>2]|(v[k+4>>2]+1|0)!=(g|0)){break h}}j=l;g=v[o+4>>2]+B(v[o>>2],72)|0;q:{if((g|0)==(l|0)){break q}while(1){if(v[j+32>>2]!=(f|0)){break q}j=j+72|0;if((g|0)!=(j|0)){continue}break}j=g}h=j-l|0;if((h|0)<72){break a}r:{s:{t:{u:{v:{g=(h|0)/72|0;switch(g-1|0){case 1:break u;case 0:break v;default:break t}}if(!(w[i+16|0]&2)){break g}g=v[i+8>>2];v[i+8>>2]=g-1;if((g|0)>0){break r}k=v[i+4>>2]<<8&65280;v[i+4>>2]=k;v[i+8>>2]=(k|0)==65280?6:7;n=-1;m=v[i+12>>2];h=v[m+8>>2];w:{if(h&7){break w}g=v[m+64>>2];if(!((g|0)<0|(g|0)>v[m+60>>2])){v[m+8>>2]=h|4;break w}v[m+4>>2]=v[m+4>>2]|32;g=v[m+28>>2];v[m+28>>2]=g-1;if((g|0)<=0){n=Cb(m,k>>>8|0);break w}v[m+60>>2]=v[m+60>>2]+1;g=v[m+24>>2];v[m+24>>2]=g+1;n=k>>>8|0;t[g|0]=n}g=(n|0)==-1?-1:0;break s}g=Rt(i,2,2);break s}if((h|0)<=431){g=Rt(i,4,g-3|12);break s}if((h|0)<=2663){g=Rt(i,9,g-6|480);break s}if((h|0)>11879){break a}g=Rt(i,16,g-37|65408)}m=-1;if((g|0)==-1){break l}}y=j-72|0;z=(j|0)==(l|0);x:{if(z){n=0;break x}m=v[l>>2];n=0;h=1;g=l;while(1){y:{if(!(!v[g+12>>2]&(g|0)!=(y|0))){k=v[g+4>>2];h=(Jl(k-m|0)-(v[o+16>>2]+kp(h)|0)|0)+1|0;h=(h|0)>0?h:0;n=(h|0)>(n|0)?h:n;m=k;h=1;break y}h=h+1|0}g=g+72|0;if((j|0)!=(g|0)){continue}break}z:{if((n|0)>=0){g=n;if(g){break z}n=0;break x}O(33859,7578,96,189514);L()}while(1){if(!(w[i+16|0]&2)){break f}h=g;k=v[i+8>>2];g=k-1|0;v[i+8>>2]=g;A:{if((k|0)<=0){r=v[i+4>>2];k=r<<8&65280;g=(k|0)==65280?6:7;v[i+8>>2]=g;v[i+4>>2]=k|1<>2];q=v[g+8>>2];if(q&7){break a}k=v[g+64>>2];if(!((k|0)<0|(k|0)>v[g+60>>2])){break b}v[g+4>>2]=v[g+4>>2]|32;k=v[g+28>>2];v[g+28>>2]=k-1;if((k|0)>=1){v[g+60>>2]=v[g+60>>2]+1;k=g;g=v[g+24>>2];v[k+24>>2]=g+1;t[g|0]=r;break A}m=-1;if((Cb(g,r&255)|0)!=-1){break A}break l}v[i+4>>2]=v[i+4>>2]|1<1){continue}break}}if(!(w[i+16|0]&2)){break e}g=v[i+8>>2];v[i+8>>2]=g-1;B:{if((g|0)>0){break B}k=v[i+4>>2];r=k<<8&65280;v[i+4>>2]=r;v[i+8>>2]=(r|0)==65280?6:7;m=-1;g=v[i+12>>2];q=v[g+8>>2];if(q&7){break l}h=v[g+64>>2];if(!((h|0)<0|(h|0)>v[g+60>>2])){break b}v[g+4>>2]=v[g+4>>2]|32;h=v[g+28>>2];v[g+28>>2]=h-1;if((h|0)>=1){v[g+60>>2]=v[g+60>>2]+1;h=g;g=v[g+24>>2];v[h+24>>2]=g+1;t[g|0]=k;break B}if((Cb(g,r>>>8|0)|0)==-1){break l}}v[o+16>>2]=v[o+16>>2]+n;if(z){break p}h=v[l>>2];g=1;while(1){C:{if(!(!v[l+12>>2]&(l|0)!=(y|0))){k=v[l+4>>2];n=k-h|0;if((Jl(n)|0)>=(v[o+16>>2]+kp(g)|0)){break d}m=-1;h=k;k=1;if((Rt(i,v[o+16>>2]+kp(g)|0,n)|0)!=-1){break C}break l}k=g+1|0}g=k;l=l+72|0;if((j|0)!=(l|0)){continue}break}}o=o+60|0;if((E|0)!=(o|0)){continue}break}}s=s+36|0;if((A|0)!=(s|0)){continue}break}}m=0;_w(i,0);St(i);if(w[x+57|0]&4){g=nk(65426);if(!g){break a}mk(b,v[a+16>>2],g);ci(g)}c=v[(v[u+48>>2]+B(c,716)|0)+4>>2]+(d<<6)|0;a=v[c+52>>2];if(!a){break l}j=v[c+56>>2];m=j+B(a,36)|0;n=B(e,52);while(1){D:{if(!v[j+4>>2]){break D}a=n+v[j>>2]|0;l=v[a+28>>2];if(!l){break D}a=v[a+24>>2];if(!a){break D}k=B(a,60)+l|0;while(1){c=v[l+40>>2];E:{if(!c){break E}a=v[c+32>>2];if((a|0)!=(f|0)){if((a|0)<0|(a|0)>(f|0)){break E}O(24936,7578,361,189462);L()}h=0;a=c;e=v[l+4>>2]+B(v[l>>2],72)|0;F:{if((a|0)==(e|0)){g=c;break F}while(1){g=a+72|0;if((e|0)==(g|0)){g=e;h=0;break F}d=a;a=g;h=g;if(v[d+104>>2]==(f|0)){continue}break}}af(v[l+20>>2],v[c>>2],0);a=Ei(v[l+20>>2]);if((a|0)!=v[c>>2]){break c}if(Pm(b,v[l+20>>2],v[g-68>>2]-a|0)){break a}v[l+40>>2]=h;v[l+8>>2]=v[l+8>>2]+((g-c|0)/72|0)}l=l+60|0;if((k|0)!=(l|0)){continue}break}}j=j+36|0;if((m|0)!=(j|0)){continue}break}m=0}return m}O(13853,7578,207,189462);L()}O(16320,7578,209,189462);L()}O(16320,7578,255,189462);L()}O(21626,7578,275,189462);L()}O(32108,7578,116,189494);L()}O(32108,7578,99,189514);L()}O(32108,7578,103,189514);L()}O(23689,7578,318,189462);L()}O(26551,7578,375,189462);L()}v[g+8>>2]=q|4}return-1}function kw(a,b,c,d,e,f){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,x=0,z=0,A=0;g=Ma-80|0;Ma=g;q=v[a>>2];if(!(w[v[a+4>>2]+12|0]|f)){i=v[d>>2];h=g+48|0;v[h+4>>2]=0;v[h+8>>2]=0;v[h>>2]=i;v[h+20>>2]=0;v[h+24>>2]=0;v[h+12>>2]=0;v[h+16>>2]=0;kw(v[a+4>>2],b,c,h,e,1)}a:{b:{if(w[d+4|0]){break b}h=0;c=v[b+20>>2]+v[c+20>>2]|0;c:{if(c>>>0>=97){c=v[d>>2];if(!c|v[c>>2]){break c}v[c>>2]=18;break c}v[d+8>>2]=c;u[d+4>>1]=257;v[d+12>>2]=c+7>>>3;if(c){c=-1<<(0-c&7);while(1){t[(d+h|0)+16|0]=255;h=h+1|0;i=v[d+12>>2];if(h>>>0>>0){continue}break}h=d+i|0;t[h+15|0]=c&w[h+15|0]}}if(w[d+4|0]){break b}if(!w[q+8|0]){break a}v[v[d>>2]>>2]=0;t[a+13|0]=0;break a}v[a+20>>2]=0;v[a+24>>2]=0;c=v[d+12>>2];v[g+56>>2]=v[d+8>>2];v[g+60>>2]=c;h=v[d+20>>2];o=g- -64|0;c=o;v[c>>2]=v[d+16>>2];v[c+4>>2]=h;v[g+72>>2]=v[d+24>>2];c=v[d+4>>2];v[g+48>>2]=v[d>>2];v[g+52>>2]=c;r=v[b+20>>2];if(r>>>0>y[d+8>>2]){break a}if(w[q+249|0]){v[g+40>>2]=0;v[g+32>>2]=0;v[g+36>>2]=0;v[g+24>>2]=0;v[g+28>>2]=0;c=g+24|0;jw(a,q+288|0,c);jw(a,c,q+268|0)}d:{e:{if(r){k=q+240|0;c=0;m=128;while(1){f:{if(!(w[o|0]&m)){break f}l=v[a+16>>2];v[g+40>>2]=0;v[g+32>>2]=0;v[g+36>>2]=0;v[g+24>>2]=0;v[g+28>>2]=0;g:{h:{j=qn(b,c);h=v[j+8>>2];n=v[j+4>>2];i=h-n|0;if((i|0)==-1376256){i=1}else{if((i|0)==-1310720){v[g+24>>2]=0;v[g+40>>2]=l;v[g+28>>2]=c;h=v[g+32>>2]+e|0;v[g+32>>2]=h;break h}h=(i|0)<0?h:n;i=4}v[g+40>>2]=l;v[g+24>>2]=i;v[g+28>>2]=c;h=e+h|0;v[g+32>>2]=h;if(!w[j|0]){break h}h=v[j+12>>2];v[g+24>>2]=i|16;v[g+36>>2]=h;break g}z=g,A=xb(h,l),v[z+36>>2]=A}j=v[a+16>>2];v[g+16>>2]=0;v[g+8>>2]=0;v[g+12>>2]=0;v[g>>2]=0;v[g+4>>2]=0;i:{j:{l=g;n=qn(b,c);p=v[n+8>>2];h=v[n+4>>2];i=p-h|0;if((i|0)==-1310720){i=2}else{if((i|0)==-1376256){v[g>>2]=0;v[g+16>>2]=j;v[g+4>>2]=c;h=v[g+8>>2]+e|0;v[g+8>>2]=h;break j}h=(i|0)<0?h:p;i=8}v[l>>2]=i;l=v[q+232>>2];v[g+16>>2]=j;v[g+4>>2]=c;h=(e+h|0)+(l<<1)|0;v[g+8>>2]=h;if(!w[n|0]){break j}h=v[n+16>>2];v[g>>2]=i|16;v[g+12>>2]=h;break i}z=g,A=xb(h,j),v[z+12>>2]=A}if(!(w[g+24|0]&16|w[g|0]&16)){h=0;k:{if(!v[k+4>>2]){break k}i=v[k+20>>2];l:{while(1){l=k+B(h,20)|0;j=l;m:{if(w[j+84|0]){n:{if(!(w[g+24|0]&5)){break n}n=v[g+32>>2];if((n|0)<(v[j+68>>2]-i|0)){break n}p=v[l+72>>2];if((n|0)>(p+i|0)){break n}o:{if(w[k+8|0]){i=v[g+36>>2];l=v[(k+B(h,20)|0)+80>>2];break o}i=v[g+36>>2];j=i+32768&-65536;l=j;if(v[k+16>>2]>(p-n|0)){break o}h=v[(k+B(h,20)|0)+80>>2]-65536|0;l=(h|0)>(j|0)?j:h}i=l-i|0;break l}if(w[l+84|0]){break m}}if(!(w[g|0]&10)){break m}n=v[j+68>>2];j=v[g+8>>2];if((n-i|0)>(j|0)|(j|0)>(i+v[l+72>>2]|0)){break m}if(w[k+8|0]){i=v[(k+B(h,20)|0)+80>>2]-v[g+12>>2]|0;break l}l=v[g+12>>2];i=l+32768&-65536;if(v[k+16>>2]<=(j-n|0)){h=v[(k+B(h,20)|0)+80>>2]+65536|0;i=(h|0)<(i|0)?i:h}i=i-l|0;break l}h=h+1|0;if(h>>>0>2]){continue}break}h=0;break k}if(v[g+24>>2]){v[g+36>>2]=v[g+36>>2]+i;v[g+24>>2]=v[g+24>>2]|16}h=1;if(!v[g>>2]){break k}v[g+12>>2]=v[g+12>>2]+i;v[g>>2]=v[g>>2]|16}if(!h){break f}}jw(a,g+24|0,g);t[o|0]=w[o|0]&(m^-1)}h=(c&7)==7;m=h?128:m>>>1&127;o=h+o|0;c=c+1|0;if((r|0)!=(c|0)){continue}break}if(f){break e}o=g- -64|0;if(!r){break d}c=0;m=128;while(1){if(w[o|0]&m){l=v[a+16>>2];v[g+40>>2]=0;v[g+32>>2]=0;v[g+36>>2]=0;v[g+24>>2]=0;v[g+28>>2]=0;p:{q:{k=qn(b,c);h=v[k+8>>2];j=v[k+4>>2];i=h-j|0;if((i|0)==-1376256){i=1}else{if((i|0)==-1310720){v[g+40>>2]=l;v[g+32>>2]=e;v[g+24>>2]=0;v[g+28>>2]=c;h=e;break q}h=(i|0)<0?h:j;i=4}v[g+40>>2]=l;v[g+24>>2]=i;v[g+28>>2]=c;h=e+h|0;v[g+32>>2]=h;if(!w[k|0]){break q}h=v[k+12>>2];v[g+24>>2]=i|16;v[g+36>>2]=h;break p}z=g,A=xb(h,l),v[z+36>>2]=A}k=v[a+16>>2];v[g+16>>2]=0;v[g+8>>2]=0;v[g+12>>2]=0;v[g>>2]=0;v[g+4>>2]=0;r:{s:{l=g;j=qn(b,c);n=v[j+8>>2];h=v[j+4>>2];i=n-h|0;if((i|0)==-1310720){i=2}else{if((i|0)==-1376256){v[g+16>>2]=k;v[g+8>>2]=e;v[g>>2]=0;v[g+4>>2]=c;h=e;break s}h=(i|0)<0?h:n;i=8}v[l>>2]=i;l=v[q+232>>2];v[g+16>>2]=k;v[g+4>>2]=c;h=(e+h|0)+(l<<1)|0;v[g+8>>2]=h;if(!w[j|0]){break s}h=v[j+16>>2];v[g>>2]=i|16;v[g+12>>2]=h;break r}z=g,A=xb(h,k),v[z+12>>2]=A}jw(a,g+24|0,g)}h=(c&7)==7;m=h?128:m>>>1&127;o=h+o|0;c=c+1|0;if((r|0)!=(c|0)){continue}break}break d}if(f){break e}break d}c=v[a+20>>2];if(!(!c|v[a+36>>2]>0)&v[(B(c,20)+a|0)+16>>2]>-1){break d}v[g+36>>2]=0;v[g+28>>2]=0;v[g+32>>2]=0;v[g+24>>2]=49;c=v[a+16>>2];v[g+8>>2]=0;v[g+12>>2]=0;v[g+16>>2]=0;v[g>>2]=0;v[g+4>>2]=0;v[g+40>>2]=c;jw(a,g+24|0,g)}v[v[a+8>>2]+20>>2]=0;e=v[a+20>>2];if(e){c=0;while(1){l=c+1|0;q=B(c,20);m=q+a|0;h=v[m+28>>2];r=h&12;k=r?l:c;t:{if(h&16){break t}h=a+28|0;j=h+q|0;o=v[j+12>>2];i=o&65535;s=i?65536-i|0:0;n=h+B(k,20)|0;x=v[n+12>>2];p=x&65535;h=p?65536-p|0:0;h=h>>>0>s>>>0?s:h;i=0-i|0;p=0-p|0;i=(i|0)>(p|0)?i:p;u:{v:{if(k>>>0>>0){p=B(k+1|0,20)+a|0;if(v[p+40>>2]<((h+x|0)+32768|0)){break v}}if(!(!c|v[m+20>>2]<=((i+o|0)-32768|0))){e=h;break u}e=(h|0)>(0-i|0)?i:h;break u}w:{if(c){e=0;if(v[m+20>>2]>((i+o|0)-32768|0)){break w}}e=i;if((h|0)<(0-i|0)){break w}break u}if(w[p+28|0]&16){break u}v[g+24>>2]=k;v[g+28>>2]=h-e;g_(v[a+8>>2],g+24|0);o=v[j+12>>2]}v[j+12>>2]=e+o;if(!r){break t}v[n+12>>2]=v[n+12>>2]+e}x:{if(!c){break x}e=v[m+36>>2];h=v[m+16>>2];if((e|0)==(h|0)){break x}i=a+28|0;m=i+B(c-1|0,20)|0;z=m,A=Ub(v[(i+q|0)+12>>2]-v[m+12>>2]|0,e-h|0),v[z+16>>2]=A}if(r){c=B(k,20);e=c+a|0;h=v[e+36>>2];e=v[e+16>>2];if((h|0)!=(e|0)){i=a+28|0;k=i+B(k-1|0,20)|0;z=k,A=Ub(v[(c+i|0)+12>>2]-v[k+12>>2]|0,h-e|0),v[z+16>>2]=A}c=l}c=c+1|0;e=v[a+20>>2];if(c>>>0>>0){continue}break}}c=v[v[a+8>>2]+20>>2];if(c){while(1){c=c-1|0;h=qn(v[a+8>>2],c);e=B(v[h>>2],20)+a|0;h=v[h+4>>2];i=h+v[e+40>>2]|0;y:{if(v[e+60>>2]<(i+32768|0)){break y}v[e+40>>2]=i;if(!(w[e+28|0]&12)){break y}v[e+20>>2]=h+v[e+20>>2]}if(c){continue}break}}z:{if(f){break z}m=v[a+20>>2];if(!m){break z}c=0;while(1){e=B(c,20)+a|0;h=e;if(!(w[h+28|0]&32)){f=qn(b,v[e+32>>2]);v[f+(v[h+28>>2]&10?16:12)>>2]=v[e+40>>2];t[f|0]=1;m=v[a+20>>2]}c=c+1|0;if(m>>>0>c>>>0){continue}break}}t[a+12|0]=1;t[d+5|0]=0}Ma=g+80|0}function Cf(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=C(0);if(Cg(a)){if(!(c?b:0)){c=w[1811]|w[1812]<<8|(w[1813]<<16|w[1814]<<24);b=w[1807]|w[1808]<<8|(w[1809]<<16|w[1810]<<24);t[a+125|0]=b;t[a+126|0]=b>>>8;t[a+127|0]=b>>>16;t[a+128|0]=b>>>24;t[a+129|0]=c;t[a+130|0]=c>>>8;t[a+131|0]=c>>>16;t[a+132|0]=c>>>24;c=w[1806]|w[1807]<<8|(w[1808]<<16|w[1809]<<24);b=w[1802]|w[1803]<<8|(w[1804]<<16|w[1805]<<24);t[a+120|0]=b;t[a+121|0]=b>>>8;t[a+122|0]=b>>>16;t[a+123|0]=b>>>24;t[a+124|0]=c;t[a+125|0]=c>>>8;t[a+126|0]=c>>>16;t[a+127|0]=c>>>24;c=w[1798]|w[1799]<<8|(w[1800]<<16|w[1801]<<24);b=w[1794]|w[1795]<<8|(w[1796]<<16|w[1797]<<24);t[a+112|0]=b;t[a+113|0]=b>>>8;t[a+114|0]=b>>>16;t[a+115|0]=b>>>24;t[a+116|0]=c;t[a+117|0]=c>>>8;t[a+118|0]=c>>>16;t[a+119|0]=c>>>24;c=w[1790]|w[1791]<<8|(w[1792]<<16|w[1793]<<24);b=w[1786]|w[1787]<<8|(w[1788]<<16|w[1789]<<24);t[a+104|0]=b;t[a+105|0]=b>>>8;t[a+106|0]=b>>>16;t[a+107|0]=b>>>24;t[a+108|0]=c;t[a+109|0]=c>>>8;t[a+110|0]=c>>>16;t[a+111|0]=c>>>24;c=w[1782]|w[1783]<<8|(w[1784]<<16|w[1785]<<24);b=w[1778]|w[1779]<<8|(w[1780]<<16|w[1781]<<24);t[a+96|0]=b;t[a+97|0]=b>>>8;t[a+98|0]=b>>>16;t[a+99|0]=b>>>24;t[a+100|0]=c;t[a+101|0]=c>>>8;t[a+102|0]=c>>>16;t[a+103|0]=c>>>24;c=w[1774]|w[1775]<<8|(w[1776]<<16|w[1777]<<24);b=w[1770]|w[1771]<<8|(w[1772]<<16|w[1773]<<24);t[a+88|0]=b;t[a+89|0]=b>>>8;t[a+90|0]=b>>>16;t[a+91|0]=b>>>24;t[a+92|0]=c;t[a+93|0]=c>>>8;t[a+94|0]=c>>>16;t[a+95|0]=c>>>24;c=w[1766]|w[1767]<<8|(w[1768]<<16|w[1769]<<24);b=w[1762]|w[1763]<<8|(w[1764]<<16|w[1765]<<24);t[a+80|0]=b;t[a+81|0]=b>>>8;t[a+82|0]=b>>>16;t[a+83|0]=b>>>24;t[a+84|0]=c;t[a+85|0]=c>>>8;t[a+86|0]=c>>>16;t[a+87|0]=c>>>24;c=w[1758]|w[1759]<<8|(w[1760]<<16|w[1761]<<24);b=w[1754]|w[1755]<<8|(w[1756]<<16|w[1757]<<24);t[a+72|0]=b;t[a+73|0]=b>>>8;t[a+74|0]=b>>>16;t[a+75|0]=b>>>24;t[a+76|0]=c;t[a+77|0]=c>>>8;t[a+78|0]=c>>>16;t[a+79|0]=c>>>24;return 0}g=C(C(b>>>0)*C(c>>>0));f=1;a:{if(d>>>0<2){break a}f=4;if(d>>>0<5){break a}f=d>>>0>8?24:8}if(C(C(g*C(f>>>0))*C(.125))>C(268435456)){b=w[6020]|w[6021]<<8|(w[6022]<<16|w[6023]<<24);t[a+96|0]=b;t[a+97|0]=b>>>8;t[a+98|0]=b>>>16;t[a+99|0]=b>>>24;c=w[6016]|w[6017]<<8|(w[6018]<<16|w[6019]<<24);b=w[6012]|w[6013]<<8|(w[6014]<<16|w[6015]<<24);t[a+88|0]=b;t[a+89|0]=b>>>8;t[a+90|0]=b>>>16;t[a+91|0]=b>>>24;t[a+92|0]=c;t[a+93|0]=c>>>8;t[a+94|0]=c>>>16;t[a+95|0]=c>>>24;c=w[6008]|w[6009]<<8|(w[6010]<<16|w[6011]<<24);b=w[6004]|w[6005]<<8|(w[6006]<<16|w[6007]<<24);t[a+80|0]=b;t[a+81|0]=b>>>8;t[a+82|0]=b>>>16;t[a+83|0]=b>>>24;t[a+84|0]=c;t[a+85|0]=c>>>8;t[a+86|0]=c>>>16;t[a+87|0]=c>>>24;c=w[6e3]|w[6001]<<8|(w[6002]<<16|w[6003]<<24);b=w[5996]|w[5997]<<8|(w[5998]<<16|w[5999]<<24);t[a+72|0]=b;t[a+73|0]=b>>>8;t[a+74|0]=b>>>16;t[a+75|0]=b>>>24;t[a+76|0]=c;t[a+77|0]=c>>>8;t[a+78|0]=c>>>16;t[a+79|0]=c>>>24;return 0}d=2;b:{c:{switch(f-1|0){case 3:d=16;break b;case 7:d=256;break b;case 0:break b;default:break c}}d=0}v[a+12>>2]=40;v[a+68>>2]=e;v[a+44>>2]=d;v[a+28>>2]=0;u[a+26>>1]=f;u[a+24>>1]=1;v[a+20>>2]=c;v[a+16>>2]=b;b=B(b,f)+31>>>3&536870908;v[a+52>>2]=b;b=B(b,c);v[a+32>>2]=b;b=gb((b+(v[a+44>>2]<<2)|0)+40|0);v[a+4>>2]=b;if(!b){c=w[9220]|w[9221]<<8|(w[9222]<<16|w[9223]<<24);b=w[9216]|w[9217]<<8|(w[9218]<<16|w[9219]<<24);t[a+102|0]=b;t[a+103|0]=b>>>8;t[a+104|0]=b>>>16;t[a+105|0]=b>>>24;t[a+106|0]=c;t[a+107|0]=c>>>8;t[a+108|0]=c>>>16;t[a+109|0]=c>>>24;c=w[9214]|w[9215]<<8|(w[9216]<<16|w[9217]<<24);b=w[9210]|w[9211]<<8|(w[9212]<<16|w[9213]<<24);t[a+96|0]=b;t[a+97|0]=b>>>8;t[a+98|0]=b>>>16;t[a+99|0]=b>>>24;t[a+100|0]=c;t[a+101|0]=c>>>8;t[a+102|0]=c>>>16;t[a+103|0]=c>>>24;c=w[9206]|w[9207]<<8|(w[9208]<<16|w[9209]<<24);b=w[9202]|w[9203]<<8|(w[9204]<<16|w[9205]<<24);t[a+88|0]=b;t[a+89|0]=b>>>8;t[a+90|0]=b>>>16;t[a+91|0]=b>>>24;t[a+92|0]=c;t[a+93|0]=c>>>8;t[a+94|0]=c>>>16;t[a+95|0]=c>>>24;c=w[9198]|w[9199]<<8|(w[9200]<<16|w[9201]<<24);b=w[9194]|w[9195]<<8|(w[9196]<<16|w[9197]<<24);t[a+80|0]=b;t[a+81|0]=b>>>8;t[a+82|0]=b>>>16;t[a+83|0]=b>>>24;t[a+84|0]=c;t[a+85|0]=c>>>8;t[a+86|0]=c>>>16;t[a+87|0]=c>>>24;c=w[9190]|w[9191]<<8|(w[9192]<<16|w[9193]<<24);b=w[9186]|w[9187]<<8|(w[9188]<<16|w[9189]<<24);t[a+72|0]=b;t[a+73|0]=b>>>8;t[a+74|0]=b>>>16;t[a+75|0]=b>>>24;t[a+76|0]=c;t[a+77|0]=c>>>8;t[a+78|0]=c>>>16;t[a+79|0]=c>>>24;return 0}v[a+8>>2]=b+((v[a+32>>2]+v[a+12>>2]|0)+(v[a+44>>2]<<2)|0);b=v[a+4>>2];b=b?v[a+44>>2]?b+40|0:0:0;if(b){eb(b,0,v[a+44>>2]<<2)}if(v[a+960>>2]){b=v[a+960>>2];if(b){$a(b);v[a+960>>2]=0}v[a+376>>2]=0;v[a+380>>2]=0;v[a+372>>2]=v[a+16>>2];v[a+384>>2]=v[a+20>>2]}if(v[a+964>>2]){gx(a)}d=w[a+16|0]|w[a+17|0]<<8|(w[a+18|0]<<16|w[a+19|0]<<24);b=v[a+4>>2];c=w[a+12|0]|w[a+13|0]<<8|(w[a+14|0]<<16|w[a+15|0]<<24);t[b|0]=c;t[b+1|0]=c>>>8;t[b+2|0]=c>>>16;t[b+3|0]=c>>>24;t[b+4|0]=d;t[b+5|0]=d>>>8;t[b+6|0]=d>>>16;t[b+7|0]=d>>>24;d=w[a+48|0]|w[a+49|0]<<8|(w[a+50|0]<<16|w[a+51|0]<<24);c=w[a+44|0]|w[a+45|0]<<8|(w[a+46|0]<<16|w[a+47|0]<<24);t[b+32|0]=c;t[b+33|0]=c>>>8;t[b+34|0]=c>>>16;t[b+35|0]=c>>>24;t[b+36|0]=d;t[b+37|0]=d>>>8;t[b+38|0]=d>>>16;t[b+39|0]=d>>>24;d=w[a+40|0]|w[a+41|0]<<8|(w[a+42|0]<<16|w[a+43|0]<<24);c=w[a+36|0]|w[a+37|0]<<8|(w[a+38|0]<<16|w[a+39|0]<<24);t[b+24|0]=c;t[b+25|0]=c>>>8;t[b+26|0]=c>>>16;t[b+27|0]=c>>>24;t[b+28|0]=d;t[b+29|0]=d>>>8;t[b+30|0]=d>>>16;t[b+31|0]=d>>>24;d=w[a+32|0]|w[a+33|0]<<8|(w[a+34|0]<<16|w[a+35|0]<<24);c=w[a+28|0]|w[a+29|0]<<8|(w[a+30|0]<<16|w[a+31|0]<<24);t[b+16|0]=c;t[b+17|0]=c>>>8;t[b+18|0]=c>>>16;t[b+19|0]=c>>>24;t[b+20|0]=d;t[b+21|0]=d>>>8;t[b+22|0]=d>>>16;t[b+23|0]=d>>>24;d=w[a+24|0]|w[a+25|0]<<8|(w[a+26|0]<<16|w[a+27|0]<<24);c=w[a+20|0]|w[a+21|0]<<8|(w[a+22|0]<<16|w[a+23|0]<<24);t[b+8|0]=c;t[b+9|0]=c>>>8;t[b+10|0]=c>>>16;t[b+11|0]=c>>>24;t[b+12|0]=d;t[b+13|0]=d>>>8;t[b+14|0]=d>>>16;t[b+15|0]=d>>>24;c=a;b=v[a+4>>2];d:{if(!b){f=0;a=0;break d}f=v[a+4>>2];a=(b+v[b>>2]|0)+(v[a+44>>2]<<2)|0}v[c+56>>2]=a}return f|0}function zz(a,b){var 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;c=ab(84);v[c+8>>2]=a;v[c>>2]=879548;v[c+16>>2]=0;v[c+12>>2]=b;v[c+4>>2]=a;v[c+60>>2]=0;v[c>>2]=879736;v[c+20>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+32>>2]=0;v[c+80>>2]=0;v[c+72>>2]=0;v[c+76>>2]=0;k=Ma-16|0;Ma=k;v[c+80>>2]=1;d=c+80|0;a:{b:{if(v[c+72>>2]){b=k+8|0;a=c+80|0;i=Cj(c,0,a);e=Cj(c,4,a);c:{if(!v[c+80>>2]){break c}j=pe(c,e+24|0,a);h=pe(c,e+28|0,a);if(!v[c+80>>2]){break c}d:{if((h|0)<0){b=a;break d}j=e+j|0;l=j+2|0;e:{while(1){e=l+(g<<3)|0;m=Cj(c,e,a);if(!v[c+80>>2]){break c}if((m|0)==1936092788){break e}e=(g|0)==(h|0);g=g+1|0;if(!e){continue}break}b=a;break d}g=pe(c,e+4|0,a);e=pe(c,e+6|0,a);if(!v[c+80>>2]){break c}if((g|0)<0){b=a;break d}a=Cj(c,(e+j|0)+4|0,a);if(!v[c+80>>2]){break c}v[k+12>>2]=(i+(a&16777215)|0)+4}v[b>>2]=0}break b}v[k+12>>2]=0;a=Cj(c,0,d);if(!v[c+80>>2]){break a}if((a|0)==1953784678){v[c+76>>2]=1;a=Cj(c,8,d);if(!v[c+80>>2]){break a}if((a|0)<=0){v[d>>2]=0;break a}r=k,s=Cj(c,12,d),v[r+8>>2]=s;break b}v[k+8>>2]=0}if(!v[d>>2]){break a}a=v[k+8>>2];b=v[k+12>>2];e=Cj(c,a+b|0,d);if(!v[c+80>>2]){break a}v[c+64>>2]=(e|0)==1330926671;h=b+4|0;e=pe(c,h+a|0,d);v[c+24>>2]=e;if(!v[c+80>>2]){break a}r=c,s=Pb(e,20),v[r+20>>2]=s;f:{if(v[c+24>>2]>=1){i=b+12|0;j=b+8|0;a=a+12|0;while(1){g=Cj(c,a+b|0,d);e=B(f,20);v[e+v[c+20>>2]>>2]=g;g=Cj(c,a+h|0,d);v[(e+v[c+20>>2]|0)+4>>2]=g;g=Cj(c,a+j|0,d);v[(e+v[c+20>>2]|0)+8>>2]=b+g;g=Cj(c,a+i|0,d);e=e+v[c+20>>2]|0;v[e+16>>2]=g;e=v[e+8>>2];if(!((e|0)<0|(g|0)<0)){f=(v[c+12>>2]>=(e+g|0))+f|0}a=a+16|0;n=n+1|0;if((n|0)>2]){continue}break}v[k+8>>2]=a;v[c+24>>2]=f;if(!v[c+80>>2]){break a}a=0;v[c+68>>2]=0;if((f|0)<1){break f}b=v[c+20>>2];while(1){if(v[B(a,20)+b>>2]==1751474532){a=0;while(1){g:{if(v[B(a,20)+b>>2]==1751672161){a=0;while(1){h:{if(v[B(a,20)+b>>2]==1835104368){a=0;while(1){if(v[B(a,20)+b>>2]==1752003704){break h}a=a+1|0;if((f|0)!=(a|0)){continue}break}break g}a=a+1|0;if((f|0)!=(a|0)){continue}break g}break}i:{if(!v[c+64>>2]){if((qq(c,306545)|0)<0){break g}if((qq(c,272907)|0)<0){break g}break i}if((qq(c,337215)|0)<=-1){break g}}g=qq(c,242499);j:{if((g|0)<0){break j}a=B(g,20)+b|0;if(v[a+16>>2]<4){break j}a=v[a+8>>2];b=pe(c,a+2|0,d);v[c+32>>2]=b;if(!v[c+80>>2]){break a}r=c,s=Pb(b,20),v[r+28>>2]=s;k:{if(v[c+32>>2]<1){f=0;break k}a=a+4|0;f=0;h=0;while(1){e=pe(c,a,d);b=B(f,20);v[b+v[c+28>>2]>>2]=e;e=pe(c,a+2|0,d);v[(b+v[c+28>>2]|0)+4>>2]=e;e=Cj(c,a+4|0,d);i=b+v[c+28>>2]|0;v[i+8>>2]=e;j=v[c+20>>2]+B(g,20)|0;if((e|0)>2]){e=e+v[j+8>>2]|0;v[i+8>>2]=e;e=pe(c,e,d);i=b+v[c+28>>2]|0;v[i+16>>2]=e;e=pe(c,v[i+8>>2]+2|0,d);v[(b+v[c+28>>2]|0)+12>>2]=e;f=f+1|0}a=a+8|0;h=h+1|0;if((h|0)>2]){continue}break}v[k+8>>2]=a}v[c+32>>2]=f;if(!v[c+80>>2]){break a}b=v[c+20>>2]}r=c,s=pe(c,v[(B(qq(c,240383),20)+b|0)+8>>2]+4|0,d),v[r+36>>2]=s;if(!v[c+80>>2]){break a}b=v[c+20>>2];a=B(qq(c,291720),20);r=c,s=uv(c,v[(b+a|0)+8>>2]+36|0,d),v[r+44>>2]=s;r=c,s=uv(c,v[(a+v[c+20>>2]|0)+8>>2]+38|0,d),v[r+48>>2]=s;r=c,s=uv(c,v[(a+v[c+20>>2]|0)+8>>2]+40|0,d),v[r+52>>2]=s;r=c,s=uv(c,v[(a+v[c+20>>2]|0)+8>>2]+42|0,d),v[r+56>>2]=s;b=uv(c,v[(a+v[c+20>>2]|0)+8>>2]+50|0,d);v[c+40>>2]=b;if(!v[c+80>>2]){break a}l:{if(v[c+64>>2]){break l}a=v[(v[c+20>>2]+B(qq(c,306545),20)|0)+16>>2];b=b?4:2;if((a|0)<(b|0)){v[d>>2]=0;break a}if((a|0)>=(B(b,v[c+36>>2]+1|0)|0)){break l}v[c+36>>2]=((a|0)/(b|0)|0)-1}d=0;h=0;g=Ma-16|0;Ma=g;v[g+12>>2]=1;b=v[c+24>>2];m:{if((b|0)<1){break m}a=v[c+20>>2];while(1){if(v[a+B(d,20)>>2]!=1886352244){d=d+1|0;if((b|0)!=(d|0)){continue}break m}break}a=v[(a+B(d,20)|0)+8>>2];b=Cj(c,a,g+12|0);n:{if(!v[g+12>>2]){break n}if((b|0)!=163840){if((b|0)!=131072){if((b|0)!=65536){break m}a=ab(16);b=Wg(a,1);v[c+60>>2]=a;ti(b,Rb(ab(8),273443),0);d=1;while(1){ti(v[c+60>>2],Rb(ab(8),v[(d<<2)+879744>>2]),d);d=d+1|0;if((d|0)!=258){continue}break}break m}b=ab(16);Wg(b,1);v[c+60>>2]=b;n=pe(c,a+32|0,g+12|0);if(!v[g+12>>2]){break n}if((n|0)<1|v[c+36>>2]<1){break m}b=0;q=a+34|0;e=q+(n<<1)|0;d=e;while(1){v[g+12>>2]=1;f=pe(c,(h<<1)+q|0,g+12|0);o:{if((f|0)<=257){a=v[(f<<2)+879744>>2];sW(v[c+60>>2],a);ti(v[c+60>>2],Rb(ab(8),a),h);a=b;break o}a=f-258|0;if((b|0)!=(a|0)){b=0;d=e;if((f|0)>=259){while(1){d=(Je(c,d,g+12|0)+d|0)+1|0;b=b+1|0;if((b|0)!=(a|0)){continue}break}}b=a;if(!v[g+12>>2]){break o}}j=Je(c,d,g+12|0);if(!v[g+12>>2]){a=b;break o}p=d+1|0;a=p;if(!((j|0)<=(2147483647-a|0)&(a|j)>-1&v[c+12>>2]>=(a+j|0))){a=b;break o}m=Uh(ab(8),v[c+8>>2]+p|0,j);i=v[c+60>>2];l=0;f=v[m>>2];p:{if((f|0)<1){break p}o=f&3;a=v[m+4>>2];if(f-1>>>0>=3){d=f&-4;f=a;while(1){l=w[f+3|0]+B(w[f+2|0]+B(w[f+1|0]+B(w[f|0]+B(l,17)|0,17)|0,17)|0,17)|0;a=f+4|0;f=a;d=d-4|0;if(d){continue}break}}if(!o){break p}while(1){l=w[a|0]+B(l,17)|0;a=a+1|0;o=o-1|0;if(o){continue}break}}a=(l>>>0)%y[i+4>>2]|0;f=v[v[i+12>>2]+(a<<2)>>2];q:{if(!f){break q}while(1){if(vh(v[f>>2],m)){f=v[f+8>>2];if(f){continue}break q}break}a=v[i+12>>2]+(a<<2)|0;while(1){d=a;l=v[a>>2];a=l+8|0;if((f|0)!=(l|0)){continue}break}v[d>>2]=v[f+8>>2];r:{if(!v[i>>2]){break r}a=v[f>>2];if(!a){break r}$a(Bb(a))}$a(f);v[i+8>>2]=v[i+8>>2]-1}ti(v[c+60>>2],m,h);d=j+p|0;a=b+1|0}h=h+1|0;if((n|0)<=(h|0)){break m}b=a;if(v[c+36>>2]>(h|0)){continue}break}break m}b=ab(16);Wg(b,1);v[c+60>>2]=b;if(v[c+36>>2]<1){break m}b=a+32|0;d=0;while(1){a=Je(c,b+d|0,g+12|0);if(!(!v[g+12>>2]|(a|0)>257)){a=v[(a<<2)+879744>>2];sW(v[c+60>>2],a);ti(v[c+60>>2],Rb(ab(8),a),d)}d=d+1|0;if((d|0)>2]){continue}break}break m}a=v[c+60>>2];if(!a){break m}$a(Vg(a));v[c+60>>2]=0}Ma=g+16|0;break a}a=a+1|0;if((f|0)!=(a|0)){continue}}break}v[d>>2]=0;break a}a=a+1|0;if((f|0)!=(a|0)){continue}break}break f}v[c+24>>2]=0;if(!v[c+80>>2]){break a}v[c+68>>2]=0}v[d>>2]=0}Ma=k+16|0;if(!v[c+80>>2]){Qa[v[v[c>>2]+4>>2]](c);c=0}return c}function ry(a,b,c){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;h=Ma+-64|0;Ma=h;a:{b:{i=v[c>>2];c:{if(i){if(w[v[i+12>>2]]==3){break b}v[a>>2]=0;v[a+4>>2]=v[279250];Qa[v[v[i>>2]+28>>2]](h+48|0,i,1);break c}v[a>>2]=0;v[a+4>>2]=v[279250];v[h+48>>2]=0}jb(a,h+48|0);b=v[h+48>>2];v[h+48>>2]=0;d:{if(!b){break d}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break d}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=a;a=v[a>>2];v[b+4>>2]=v[(a?a+12|0:1117e3)>>2];break a}i=CQ(i,337477,0);e:{if((i|0)>-1){break e}i=0;e=v[c>>2];if(!e){break e}i=v[e+8>>2]}v[h+48>>2]=0;e=v[279250];v[h+52>>2]=e;v[h+44>>2]=e;v[h+40>>2]=0;We(h+32|0,c,0,i);k=h+48|0;m=h+40|0;f=Ma-48|0;Ma=f;if(v[b+12>>2]){v[f+32>>2]=0;v[f+36>>2]=v[279250];e=v[h+32>>2];f:{if(e){Qa[v[v[e>>2]+28>>2]](f+24|0,e,1);break f}v[f+24>>2]=0}jb(f+32|0,f+24|0);e=v[f+24>>2];v[f+24>>2]=0;g:{if(!e){break g}g=v[e+4>>2]-1|0;v[e+4>>2]=g;if(g){break g}g=v[e+4>>2];if(!g){v[e+4>>2]=-32767}if(!g){Qa[v[v[e>>2]+4>>2]](e)}}e=v[f+32>>2];g=e;v[f+36>>2]=v[(e?e+12|0:1117e3)>>2];h:{if(!e){break h}while(1){i:{j:{k:{if(d){j=v[e+8>>2];if((j|0)>=(d|0)){break k}ni();L()}if(w[v[g+12>>2]]==3){break j}break h}if(w[v[e+12>>2]+d|0]!=3){break i}}d=d+1|0;continue}break}We(f+24|0,f+32|0,d,j-d|0);d=v[f+24>>2];l:{if(d){Qa[v[v[d>>2]+28>>2]](f+16|0,d,1);break l}v[f+16>>2]=0}jb(f+32|0,f+16|0);d=v[f+16>>2];v[f+16>>2]=0;m:{if(!d){break m}e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(e){break m}e=v[d+4>>2];if(!e){v[d+4>>2]=-32767}if(!e){Qa[v[v[d>>2]+4>>2]](d)}}d=v[f+32>>2];v[f+36>>2]=v[(d?d+12|0:1117e3)>>2];db(f+24|0)}e=Bd(f+32|0);d=v[v[b+20>>2]+((e>>>0)%y[b+16>>2]<<2)>>2];n:{if(!d){break n}while(1){o:{if((e|0)==v[d+12>>2]){if(!ld(d+16|0,f+32|0,-1)){break o}}d=v[d+8>>2];if(d){continue}break n}break}e=v[d+24>>2];if(e){v[e+4>>2]=v[e+4>>2]+1;e=v[d+24>>2]}else{e=0}g=Oc(f+24|0,972398);j=Bd(g);p:{q:{r:{s:{n=e+16|0;d=n;d=v[v[d+12>>2]+((j>>>0)%y[d+8>>2]<<2)>>2];if(d){while(1){if((j|0)==v[d+12>>2]){if(!ld(d+16|0,g,-1)){break s}}d=v[d+8>>2];if(d){continue}break}}db(g);v[f+24>>2]=0;v[f+28>>2]=v[279250];d=v[e+60>>2];if(!d){break r}Qa[v[v[d>>2]+28>>2]](f+16|0,d,1);break q}db(g);d=v[d+24>>2];t:{if(d){Qa[v[v[d>>2]+28>>2]](f+24|0,d,1);break t}v[f+24>>2]=0}jb(k,f+24|0);d=v[f+24>>2];v[f+24>>2]=0;u:{if(!d){break u}g=v[d+4>>2]-1|0;v[d+4>>2]=g;if(g){break u}g=v[d+4>>2];if(!g){v[d+4>>2]=-32767}if(!g){Qa[v[v[d>>2]+4>>2]](d)}}d=v[k>>2];v[k+4>>2]=v[(d?d+12|0:1117e3)>>2];break p}v[f+16>>2]=0}jb(f+24|0,f+16|0);g=v[f+16>>2];d=0;v[f+16>>2]=0;v:{if(!g){break v}j=v[g+4>>2]-1|0;v[g+4>>2]=j;if(j){break v}j=v[g+4>>2];if(!j){v[g+4>>2]=-32767}if(!j){Qa[v[v[g>>2]+4>>2]](g)}}g=v[f+24>>2];v[f+28>>2]=v[(g?g+12|0:1117e3)>>2];w:{x:{y:{if(!g){break y}g=an(g,10,0);j=0;d=v[f+24>>2];l=0;z:{if(!d){break z}j=oE(d);d=v[f+24>>2];l=0;if(!d){break z}l=zQ(d,0,-1)}d=l;if((g|0)<0|(j|0)<0){break y}if((g|0)<=(j|0)){break x}}g=f+8|0;We(g,f+24|0,0,d);pE(f+16|0,g);break w}j=f+8|0;We(j,f+24|0,g+1|0,(g^-1)+d|0);pE(f+16|0,j)}d=v[f+16>>2];A:{if(d){Qa[v[v[d>>2]+28>>2]](f+40|0,d,1);break A}v[f+40>>2]=0}jb(k,f+40|0);d=v[f+40>>2];v[f+40>>2]=0;B:{if(!d){break B}g=v[d+4>>2]-1|0;v[d+4>>2]=g;if(g){break B}g=v[d+4>>2];if(!g){v[d+4>>2]=-32767}if(!g){Qa[v[v[d>>2]+4>>2]](d)}}d=v[k>>2];v[k+4>>2]=v[(d?d+12|0:1117e3)>>2];db(f+16|0);db(f+8|0);db(f+24|0)}g=Oc(f+24|0,972404);k=Bd(g);C:{D:{d=v[v[n+12>>2]+((k>>>0)%y[n+8>>2]<<2)>>2];if(d){while(1){if((k|0)==v[d+12>>2]){if(!ld(d+16|0,g,-1)){break D}}d=v[d+8>>2];if(d){continue}break}}db(g);break C}db(g);d=v[d+24>>2];E:{if(d){Qa[v[v[d>>2]+28>>2]](f+24|0,d,1);break E}v[f+24>>2]=0}jb(m,f+24|0);d=v[f+24>>2];v[f+24>>2]=0;F:{if(!d){break F}g=v[d+4>>2]-1|0;v[d+4>>2]=g;if(g){break F}g=v[d+4>>2];if(!g){v[d+4>>2]=-32767}if(!g){Qa[v[v[d>>2]+4>>2]](d)}}d=v[m>>2];v[m+4>>2]=v[(d?d+12|0:1117e3)>>2]}if(!e){break n}d=v[e+4>>2]-1|0;v[e+4>>2]=d;if(d){break n}d=v[e+4>>2];if(!d){v[e+4>>2]=-32767}if(!d){Qa[v[v[e>>2]+4>>2]](e)}}db(f+32|0)}Ma=f+48|0;G:{H:{d=v[h+48>>2];if(!(v[d+8>>2]?d:0)){g=h+48|0;d=972240;I:{if(!Hb(h+32|0,288697,-1)){break I}d=972304;if(!Hb(h+32|0,239205,-1)){break I}if(Hb(h+32|0,311002,-1)){break H}d=972336}oi(g,d)}while(1){J:{K:{e=v[c>>2];if(e){d=v[e+8>>2]}else{d=0}if(d>>>0>i>>>0){v[h+24>>2]=0;v[h+28>>2]=v[279250];f=i+1|0;L:{M:{N:{if(i){l=!e;d=i;g=d;O:{if((d|0)>-1){break O}g=i;if(!e){break O}g=v[e+8>>2]+i|0}d=g;if(!(l|(d|0)<0)){i=v[e+8>>2];if((d|0)<=(i|0)){break N}}ni();L()}if(!e){i=0;break L}if(w[v[e+12>>2]]!=11){break M}i=v[e+8>>2];break K}if(w[d+v[e+12>>2]|0]==11){break K}}i=CQ(e,349013,f);if((i|0)>-1){break L}d=v[c>>2];if(!d){i=0;break L}i=v[d+8>>2]}We(h+16|0,c,f,i-f|0);d=v[h+16>>2];P:{if(d){Qa[v[v[d>>2]+28>>2]](h+8|0,d,1);break P}v[h+8>>2]=0}jb(h+24|0,h+8|0);d=v[h+8>>2];v[h+8>>2]=0;Q:{if(!d){break Q}e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(e){break Q}e=v[d+4>>2];if(!e){v[d+4>>2]=-32767}if(!e){Qa[v[v[d>>2]+4>>2]](d)}}d=v[h+24>>2];v[h+28>>2]=v[(d?d+12|0:1117e3)>>2];db(h+16|0);break J}GR(b,h+48|0,0,h+40|0);v[a>>2]=0;v[a+4>>2]=v[279250];b=v[h+48>>2];R:{if(b){Qa[v[v[b>>2]+28>>2]](h+24|0,b,1);break R}v[h+24>>2]=0}jb(a,h+24|0);b=v[h+24>>2];v[h+24>>2]=0;S:{if(!b){break S}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break S}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=a;a=v[a>>2];v[b+4>>2]=v[(a?a+12|0:1117e3)>>2];break G}d=h+8|0;We(d,c,f,i);ry(h+16|0,b,d);d=v[h+16>>2];T:{if(d){Qa[v[v[d>>2]+28>>2]](h+56|0,d,1);break T}v[h+56>>2]=0}jb(h+24|0,h+56|0);d=v[h+56>>2];v[h+56>>2]=0;U:{if(!d){break U}e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(e){break U}e=v[d+4>>2];if(!e){v[d+4>>2]=-32767}if(!e){Qa[v[v[d>>2]+4>>2]](d)}}d=v[h+24>>2];v[h+28>>2]=v[(d?d+12|0:1117e3)>>2];db(h+16|0);db(h+8|0)}o=o+1|0;d=h+24|0;GR(b,h+48|0,o,d);db(d);continue}}d=h+16|0;Rc(d,349014,c);c=h+24|0;Rc(c,288697,d);ry(a,b,c);db(c);db(d)}db(h+32|0);db(h+40|0);db(h+48|0)}Ma=h- -64|0}function cG(a){var b=0,c=0,d=0,e=0,f=0,g=0;g=Ma-16|0;Ma=g;e=a;c=v[a+56>>2];a:{b:{if(!v[a+28>>2]){c:{d:{e:{if((c|0)<2){while(1){b=v[a+4>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){c=v[e+56>>2];b=1;if(!c){break a}d=v[a+52>>2];b=d<<2-c;break d}d=b+(v[a+52>>2]<<8)|0;v[a+52>>2]=d;b=v[e+56>>2];c=b+8|0;v[e+56>>2]=c;if((b|0)<-6){continue}break e}}d=v[a+52>>2]}b=d>>>c-2|0}if(b&2){a=b<<4&48;d=-2;break c}f:{g:{if((c|0)<3){while(1){b=v[a+4>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break g}d=b+(v[a+52>>2]<<8)|0;v[a+52>>2]=d;b=v[e+56>>2];c=b+8|0;v[e+56>>2]=c;if((b|0)<-5){continue}break}}b=d>>>c-3|0;break f}c=v[e+56>>2];b=1;if(!c){break a}d=v[a+52>>2];b=d<<3-c}if((b&6)==2){a=b<<3&56;d=-3;break c}h:{i:{if((c|0)<=3){while(1){b=v[a+4>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break i}d=b+(v[a+52>>2]<<8)|0;v[a+52>>2]=d;b=v[e+56>>2];c=b+8|0;v[e+56>>2]=c;if((b|0)<-4){continue}break}}b=d>>>c-4|0;break h}c=v[e+56>>2];b=1;if(!c){break a}d=v[a+52>>2];b=d<<4-c}if((b&14)==2){a=b<<2&60;d=-4;break c}j:{k:{if((c|0)<=4){while(1){b=v[a+4>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break k}d=b+(v[a+52>>2]<<8)|0;v[a+52>>2]=d;b=v[e+56>>2];c=b+8|0;v[e+56>>2]=c;if((b|0)<-3){continue}break}}b=d>>>c-5|0;break j}c=v[e+56>>2];b=1;if(!c){break a}d=v[a+52>>2];b=d<<5-c}if((b&31)==3){d=-5;a=6;break c}l:{m:{if((c|0)<=5){while(1){b=v[a+4>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break m}d=b+(v[a+52>>2]<<8)|0;v[a+52>>2]=d;b=v[e+56>>2];c=b+8|0;v[e+56>>2]=c;if((b|0)<-2){continue}break}}b=d>>>c-6|0;break l}c=v[e+56>>2];b=1;if(!c){break a}d=v[a+52>>2];b=d<<6-c}if((b&62)==4){a=b&63;d=-6;break c}n:{o:{if((c|0)<7){while(1){b=v[a+4>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){c=v[e+56>>2];b=1;if(!c){break a}d=v[a+52>>2];b=d<<7-c;break o}d=b+(v[a+52>>2]<<8)|0;v[a+52>>2]=d;b=v[e+56>>2];c=b+8|0;v[e+56>>2]=c;if((b|0)<-1){continue}break}}b=d>>>c-7|0}b=b<<5&4064;if(b>>>0>=64){f=-7;b=b+-64|0;if(x[(b<<2)+956848>>1]==7){break n}}p:{q:{if((c|0)<8){while(1){b=v[a+4>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break q}d=b+(v[a+52>>2]<<8)|0;v[a+52>>2]=d;b=v[e+56>>2];c=b+8|0;v[e+56>>2]=c;if((b|0)<0){continue}break}}b=d>>>c-8|0;break p}c=v[e+56>>2];b=1;if(!c){break a}d=v[a+52>>2];b=d<<8-c}b=b<<4&4080;if(b>>>0>=64){f=-8;b=b+-64|0;if(x[(b<<2)+956848>>1]==8){break n}}r:{s:{if((c|0)<=8){while(1){b=v[a+4>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break s}d=b+(v[a+52>>2]<<8)|0;v[a+52>>2]=d;b=v[e+56>>2];c=b+8|0;v[e+56>>2]=c;if((b|0)<1){continue}break}}b=d>>>c-9|0;break r}c=v[e+56>>2];b=1;if(!c){break a}d=v[a+52>>2];b=d<<9-c}b=b<<3&4088;if(!(b>>>0<64|(b|0)!=192)){b=b+-64|0;f=-9;break n}t:{u:{if((c|0)<=9){while(1){b=v[a+4>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break u}d=b+(v[a+52>>2]<<8)|0;v[a+52>>2]=d;b=v[e+56>>2];c=b+8|0;v[e+56>>2]=c;if((b|0)<2){continue}break}}b=d>>>c-10|0;break t}c=v[e+56>>2];b=1;if(!c){break a}d=v[a+52>>2];b=d<<10-c}b=b<<2&4092;if(b>>>0>=64){f=-10;b=b+-64|0;if(x[(b<<2)+956848>>1]==10){break n}}v:{w:{if((c|0)<=10){while(1){b=v[a+4>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break w}d=b+(v[a+52>>2]<<8)|0;v[a+52>>2]=d;b=v[e+56>>2];c=b+8|0;v[e+56>>2]=c;if((b|0)<3){continue}break}}b=d>>>c-11|0;break v}c=v[e+56>>2];b=1;if(!c){break a}d=v[a+52>>2];b=d<<11-c}b=b<<1&4094;if(b>>>0>=64){f=-11;b=b+-64|0;if(x[(b<<2)+956848>>1]==11){break n}}x:{y:{if((c|0)<=11){while(1){b=v[a+4>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break y}d=b+(v[a+52>>2]<<8)|0;v[a+52>>2]=d;b=v[e+56>>2];c=b+8|0;v[e+56>>2]=c;if((b|0)<4){continue}break}}b=d>>>c-12|0;break x}c=v[e+56>>2];b=1;if(!c){break a}d=v[a+52>>2];b=d<<12-c}b=b&4095;if(b>>>0>=64){f=-12;b=b+-64|0;if(x[(b<<2)+956848>>1]==12){break n}}z:{if((c|0)<10){while(1){b=v[a+4>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){c=v[e+56>>2];b=1;if(!c){break a}d=v[a+52>>2];f=d<<10-c;break z}d=b+(v[a+52>>2]<<8)|0;v[a+52>>2]=d;b=v[e+56>>2];c=b+8|0;v[e+56>>2]=c;if((b|0)<2){continue}break}}f=d>>>c-10|0}b=-10;f=f<<3&8184;A:{if(x[(f<<2)+956336>>1]==10){break A}B:{C:{if((c|0)<11){while(1){b=v[a+4>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break C}d=b+(v[a+52>>2]<<8)|0;v[a+52>>2]=d;b=v[e+56>>2];c=b+8|0;v[e+56>>2]=c;if((b|0)<3){continue}break}}f=d>>>c-11|0;break B}c=v[e+56>>2];b=1;if(!c){break a}d=v[a+52>>2];f=d<<11-c}b=-11;f=f<<2&8188;if(x[(f<<2)+956336>>1]==11){break A}D:{E:{if((c|0)<=11){while(1){b=v[a+4>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break E}d=b+(v[a+52>>2]<<8)|0;v[a+52>>2]=d;b=v[e+56>>2];c=b+8|0;v[e+56>>2]=c;if((b|0)<4){continue}break}}f=d>>>c-12|0;break D}c=v[e+56>>2];b=1;if(!c){break a}d=v[a+52>>2];f=d<<12-c}b=-12;f=f<<1&8190;if(x[(f<<2)+956336>>1]==12){break A}F:{G:{if((c|0)<=12){while(1){b=v[a+4>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break G}d=b+(v[a+52>>2]<<8)|0;v[a+52>>2]=d;b=v[e+56>>2];c=b+8|0;v[e+56>>2]=c;if((b|0)<5){continue}break}}d=d>>>c-13|0;break F}c=v[e+56>>2];b=1;if(!c){break a}d=v[a+52>>2]<<13-c}b=-13;f=d&8191;if(x[(f<<2)+956336>>1]!=13){break b}}a=b+c|0;v[e+56>>2]=(a|0)>0?a:0;b=u[(f<<2)+956338>>1];break a}a=c+f|0;v[e+56>>2]=(a|0)>0?a:0;b=u[(b<<2)+956850>>1];break a}b=e;e=c+d|0;v[b+56>>2]=(e|0)>0?e:0;b=u[(a<<2)+957618>>1];break a}H:{I:{if((c|0)<13){while(1){b=v[a+4>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){c=v[e+56>>2];b=1;if(!c){break a}b=v[a+52>>2]<<13-c;break H}f=b+(v[a+52>>2]<<8)|0;v[a+52>>2]=f;b=v[e+56>>2];c=b+8|0;v[e+56>>2]=c;if((b|0)<5){continue}break I}}f=v[a+52>>2]}b=f>>>c-13|0}f=b&8191;J:{if(f>>>0<=127){b=(f<<2)+956336|0;break J}b=(f<<1&16380)+956592|0;if(f>>>0<=511){break J}b=(f>>>7<<2)+957616|0}d=u[b>>1];if((d|0)<=0){break b}a=c-(d&65535)|0;v[e+56>>2]=(a|0)>0?a:0;b=u[b+2>>1];break a}e=Qa[v[v[a>>2]+52>>2]](a)|0;v[g>>2]=f;fb(1,e,256090,g);v[a+80>>2]=v[a+80>>2]+1;b=a;a=v[a+56>>2];v[b+56>>2]=((a|0)>1?a:1)-1;b=1}Ma=g+16|0;return b<<16>>16}function r1(a,b,c){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,p=0,q=0;k=Ma-16|0;Ma=k;v[c>>2]=2147483632;v[c+16>>2]=v[c+8>>2];h=v[c+20>>2];v[c+28>>2]=h;u[h+2>>1]=0;e=v[b+20>>2];j=v[b+28>>2]-e|0;f=268435454;d=268435455;i=268435455;h=268435454;l=v[a+20>>2];a=v[a+28>>2]-l|0;if(a){v[k+4>>2]=l+8;p=(a>>3)-1|0;a=u[l+10>>1];b=a>>31;i=u[l+8>>1];h=(i+((b^a+b)&65535)|0)-1|0}if(j){v[k>>2]=e+8;q=(j>>3)-1|0;a=u[e+10>>1];b=a>>31;d=u[e+8>>1];f=(d+((b^a+b)&65535)|0)-1|0}while(1){a:{if(!p){b=i;p=0;break a}if((i|0)<=(h|0)){b=i;break a}b=v[k+4>>2];v[k+4>>2]=b+8;p=p-1|0;a=u[b+10>>1];h=a>>31;b=u[b+8>>1];h=(b+((h^a+h)&65535)|0)-1|0}l=h;b:{c:{d:{if(!q){q=0;break d}if((d|0)>(f|0)){break c}}a=d;break b}a=v[k>>2];v[k>>2]=a+8;q=q-1|0;h=u[a+10>>1];f=h>>31;a=u[a+8>>1];f=(a+((f^f+h)&65535)|0)-1|0}j=f;if(!((f|0)<(a|0)&(b|0)>(l|0))){m=(j|0)<(l|0);i=(a|0)>(b|0)?a:b;h=(m?j:l)-i|0;if((h|0)>=0){h=h+1|0;e:{f:{g:{if((a|0)>(b|0)){g=a-b|0;d=v[k+4>>2];f=u[d+2>>1];if((f|0)<=-1){e=w[v[d+4>>2]];h:{if((v[c>>2]+1|0)!=(b|0)){break h}d=v[c+28>>2];f=u[d+2>>1];if((f|0)>-1|(e|0)!=w[v[d+4>>2]]){break h}u[d+2>>1]=f-g;b=a;break g}t[v[c+16>>2]]=e;d=v[c+28>>2];v[c+28>>2]=d+8;f=v[c+16>>2];v[c+16>>2]=f+1;u[d+10>>1]=0-g;u[d+8>>1]=b;v[d+12>>2]=f;b=a;break g}if(!f){b=a;break e}f=u[d>>1];cb(v[c+16>>2],v[d+4>>2]+((b|0)>(f|0)?b-f|0:0)|0,g);d=v[c+28>>2];i:{j:{if((v[c>>2]+1|0)!=(b|0)){break j}f=u[d+2>>1];if((f|0)<1){break j}u[d+2>>1]=f+g;f=v[c+16>>2];break i}v[c+28>>2]=d+8;f=v[c+16>>2];u[d+10>>1]=g;u[d+8>>1]=b;v[d+12>>2]=f}v[c+16>>2]=f+g;b=a;break g}if((a|0)>=(b|0)){break e}g=b-a|0;d=v[k>>2];f=u[d+2>>1];if((f|0)<=-1){e=w[v[d+4>>2]];k:{if((v[c>>2]+1|0)!=(a|0)){break k}d=v[c+28>>2];f=u[d+2>>1];if((f|0)>-1|(e|0)!=w[v[d+4>>2]]){break k}u[d+2>>1]=f-g;break g}t[v[c+16>>2]]=e;d=v[c+28>>2];v[c+28>>2]=d+8;f=v[c+16>>2];v[c+16>>2]=f+1;u[d+10>>1]=0-g;u[d+8>>1]=a;v[d+12>>2]=f;break g}if(!f){break f}f=u[d>>1];cb(v[c+16>>2],v[d+4>>2]+((a|0)>(f|0)?a-f|0:0)|0,g);d=v[c+28>>2];l:{m:{if((v[c>>2]+1|0)!=(a|0)){break m}f=u[d+2>>1];if((f|0)<1){break m}u[d+2>>1]=f+g;f=v[c+16>>2];break l}v[c+28>>2]=d+8;f=v[c+16>>2];u[d+10>>1]=g;u[d+8>>1]=a;v[d+12>>2]=f}v[c+16>>2]=f+g}v[c>>2]=b-1}a=b}f=h;n:{o:{p:{q:{r:{n=v[k>>2];d=v[k+4>>2];switch((x[n+2>>1]>>>14&2|x[d+2>>1]>>>15)-1|0){case 2:break o;case 1:break p;case 0:break q;default:break r}}e=u[n>>1];o=v[n+4>>2]+((e|0)<(i|0)?i-e|0:0)|0;e=v[d+4>>2];d=u[d>>1];n=e+((d|0)<(i|0)?i-d|0:0)|0;while(1){g=w[o|0];e=w[n|0];d=B(g,e);s:{if((d|0)==65025){break s}d=d+65025|0;d=255-(B(d-(g<<8)>>>8|0,d-(e<<8)>>>8|0)>>>8|0)|0;if(!d){break s}t[v[c+16>>2]]=d;e=v[c+28>>2];t:{u:{if((v[c>>2]+1|0)!=(i|0)){break u}d=u[e+2>>1];if((d|0)<1){break u}u[e+2>>1]=d+1;d=v[c+16>>2];break t}v[c+28>>2]=e+8;d=v[c+16>>2];u[e+10>>1]=1;u[e+8>>1]=i;v[e+12>>2]=d}v[c>>2]=i;v[c+16>>2]=d+1}o=o+1|0;n=n+1|0;i=i+1|0;f=f-1|0;if(f){continue}break}break n}e=u[n>>1];o=v[n+4>>2]+((e|0)<(i|0)?i-e|0:0)|0;while(1){g=w[o|0];e=w[v[d+4>>2]];d=B(g,e);v:{if((d|0)==65025){break v}d=d+65025|0;d=255-(B(d-(g<<8)>>>8|0,d-(e<<8)>>>8|0)>>>8|0)|0;if(!d){break v}t[v[c+16>>2]]=d;e=v[c+28>>2];w:{x:{if((v[c>>2]+1|0)!=(i|0)){break x}d=u[e+2>>1];if((d|0)<1){break x}u[e+2>>1]=d+1;d=v[c+16>>2];break w}v[c+28>>2]=e+8;d=v[c+16>>2];u[e+10>>1]=1;u[e+8>>1]=i;v[e+12>>2]=d}v[c>>2]=i;v[c+16>>2]=d+1}f=f-1|0;if(!f){break n}o=o+1|0;i=i+1|0;d=v[k+4>>2];continue}}e=v[d+4>>2];d=u[d>>1];o=e+((d|0)<(i|0)?i-d|0:0)|0;while(1){g=w[v[n+4>>2]];e=w[o|0];d=B(g,e);y:{if((d|0)==65025){break y}d=d+65025|0;d=255-(B(d-(g<<8)>>>8|0,d-(e<<8)>>>8|0)>>>8|0)|0;if(!d){break y}t[v[c+16>>2]]=d;e=v[c+28>>2];z:{A:{if((v[c>>2]+1|0)!=(i|0)){break A}d=u[e+2>>1];if((d|0)<1){break A}u[e+2>>1]=d+1;d=v[c+16>>2];break z}v[c+28>>2]=e+8;d=v[c+16>>2];u[e+10>>1]=1;u[e+8>>1]=i;v[e+12>>2]=d}v[c>>2]=i;v[c+16>>2]=d+1}f=f-1|0;if(!f){break n}o=o+1|0;i=i+1|0;n=v[k>>2];continue}}g=w[v[n+4>>2]];e=w[v[d+4>>2]];d=B(g,e);if((d|0)==65025){break n}d=d+65025|0;g=255-(B(d-(g<<8)>>>8|0,d-(e<<8)>>>8|0)>>>8|0)|0;if(!g){break n}B:{C:{if((v[c>>2]+1|0)!=(i|0)){break C}e=v[c+28>>2];d=u[e+2>>1];if((d|0)>-1|(g|0)!=w[v[e+4>>2]]){break C}u[e+2>>1]=d-f;break B}t[v[c+16>>2]]=g;e=v[c+28>>2];v[c+28>>2]=e+8;d=v[c+16>>2];v[c+16>>2]=d+1;u[e+10>>1]=0-f;u[e+8>>1]=i;v[e+12>>2]=d}v[c>>2]=(f+i|0)-1}if((j|0)>(l|0)){d=a+h|0;h=268435454;i=268435455;f=j;continue}d=268435455;i=m?b+h|0:268435455;f=268435454;h=m?l:268435454;continue}if((a|0)>(b|0)){h=268435454;i=268435455;d=a;if((b|0)>(l|0)){continue}e=l-b|0;m=e+1|0;g=v[k+4>>2];j=u[g+2>>1];D:{if((j|0)<=-1){g=w[v[g+4>>2]];E:{if((v[c>>2]+1|0)!=(b|0)){break E}d=v[c+28>>2];j=u[d+2>>1];if((j|0)>-1|(g|0)!=w[v[d+4>>2]]){break E}u[d+2>>1]=j-m;break D}t[v[c+16>>2]]=g;d=v[c+28>>2];v[c+28>>2]=d+8;j=v[c+16>>2];v[c+16>>2]=j+1;u[d+10>>1]=e^-1;u[d+8>>1]=b;v[d+12>>2]=j;break D}if(!j){continue}j=u[g>>1];cb(v[c+16>>2],v[g+4>>2]+((b|0)>(j|0)?b-j|0:0)|0,m);e=v[c+28>>2];F:{G:{if((v[c>>2]+1|0)!=(b|0)){break G}j=u[e+2>>1];if((j|0)<1){break G}u[e+2>>1]=j+m;d=v[c+16>>2];break F}v[c+28>>2]=e+8;d=v[c+16>>2];u[e+10>>1]=m;u[e+8>>1]=b;v[e+12>>2]=d}v[c+16>>2]=d+m}v[c>>2]=l;d=a;continue}f=268435454;d=268435455;i=b;h=l;if((a|0)>(j|0)){continue}e=j-a|0;m=e+1|0;g=v[k>>2];b=u[g+2>>1];H:{if((b|0)<=-1){g=w[v[g+4>>2]];I:{if((v[c>>2]+1|0)!=(a|0)){break I}h=v[c+28>>2];b=u[h+2>>1];if((b|0)>-1|(g|0)!=w[v[h+4>>2]]){break I}u[h+2>>1]=b-m;break H}t[v[c+16>>2]]=g;h=v[c+28>>2];v[c+28>>2]=h+8;b=v[c+16>>2];v[c+16>>2]=b+1;u[h+10>>1]=e^-1;u[h+8>>1]=a;v[h+12>>2]=b;break H}if(!b){continue}b=u[g>>1];cb(v[c+16>>2],v[g+4>>2]+((a|0)>(b|0)?a-b|0:0)|0,m);e=v[c+28>>2];J:{K:{if((v[c>>2]+1|0)!=(a|0)){break K}b=u[e+2>>1];if((b|0)<1){break K}u[e+2>>1]=b+m;h=v[c+16>>2];break J}v[c+28>>2]=e+8;h=v[c+16>>2];u[e+10>>1]=m;u[e+8>>1]=a;v[e+12>>2]=h}v[c+16>>2]=h+m}v[c>>2]=j;h=l;continue}break}Ma=k+16|0}function kk(a,b){var 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;e=Ma-48|0;Ma=e;a:{if(!a){break a}j=a;g=a?v[a+36>>2]:0;if(!g){if(j){v[j+16>>2]=v[j+16>>2]+1}d=j;break a}i=e+32|0;l=e+28|0;f=e+24|0;if(j){if(i){v[i>>2]=v[j>>2]}if(l){v[l>>2]=v[j+4>>2]}if(f){v[f>>2]=v[j+8>>2]}}f=v[e+24>>2];if(f>>>0>8|!(1<>2]=0;v[i>>2]=0;v[e+16>>2]=0;if(!g){break b}q=v[g+12>>2];n=Yb(q,4);if(!n){break b}o=Yb(q,4);if(!o){break b}m=Yb(q,4);if(!m){break b}v[e+16>>2]=n;v[i>>2]=o;v[l>>2]=m;f=0;if((q|0)<1){break b}h=v[g>>2];if((q|0)!=1){l=q&-2;while(1){k=p<<2;i=k+h|0;v[k+n>>2]=w[i+2|0];v[k+o>>2]=w[i+1|0];v[k+m>>2]=w[i|0];k=k|4;i=k+h|0;v[k+n>>2]=w[i+2|0];v[k+o>>2]=w[i+1|0];v[k+m>>2]=w[i|0];p=p+2|0;l=l-2|0;if(l){continue}break}}if(!(q&1)){break b}i=p<<2;l=i+h|0;v[i+n>>2]=w[l+2|0];v[i+o>>2]=w[l+1|0];v[i+m>>2]=w[l|0]}if(f){break a}c:{d:{e:{f:{g:{f=b>>>0<3;b=f?b:3;if(f?!b&v[e+24>>2]!=1:1){X2(g,e+20|0);if(!v[e+20>>2]){break g}f=g?v[g+12>>2]:0;l=j?v[j+40>>2]:0;j=j?v[a+12>>2]:-1;break d}f=g?v[g+12>>2]:0;l=j?v[j+40>>2]:0;j=j?v[a+12>>2]:-1;switch(b|0){case 0:break e;case 1:break f;default:break d}}b=v[e+24>>2];f=g?v[g+12>>2]:0;l=j?v[j+40>>2]:0;j=j?v[a+12>>2]:-1;if((b|0)==1){break e}}h=Mg(v[e+32>>2],v[e+28>>2],8);if(!h){break a}if(!(!a|!h|(a|0)==(h|0))){v[h+20>>2]=v[a+20>>2];v[h+24>>2]=v[a+24>>2]}i=h?v[h+40>>2]:0;a=h?v[h+12>>2]:-1;c=Yb(f,4);if(!c){break a}f=0;if(((g?v[g+12>>2]:0)|0)>0){while(1){b=f<<2;v[b+c>>2]=(v[b+v[e+8>>2]>>2]+(v[b+v[e+16>>2]>>2]+(v[b+v[e+12>>2]>>2]<<1)|0)|0)/4;f=f+1|0;if((f|0)<((g?v[g+12>>2]:0)|0)){continue}break}}if(v[e+28>>2]>0){while(1){m=i+(B(a,r)<<2)|0;k=(B(j,r)<<2)+l|0;d=0;h:{i:{j:{k:{switch(v[e+24>>2]-1|0){case 7:b=0;f=0;d=v[e+32>>2];if((d|0)>3){break j}break i;case 3:f=0;b=v[e+32>>2];if((b|0)>7){while(1){b=m+(f<<3)|0;g=v[k+(f<<2)>>2];v[b>>2]=v[c+(g>>>22&60)>>2]<<16|v[c+(g>>>26&60)>>2]<<24|v[c+(g>>>18&60)>>2]<<8|v[c+(g>>>14&60)>>2];v[b+4>>2]=v[c+((g&15)<<2)>>2]|(v[c+(g>>>6&60)>>2]<<16|v[c+(g>>>10&60)>>2]<<24|v[c+(g>>>2&60)>>2]<<8);f=f+1|0;b=v[e+32>>2];d=d+8|0;if((b|0)>(d|7)){continue}break}}if((b|0)<=(d|0)){break h}while(1){b=v[c+((v[k+(d>>>1&2147483644)>>2]>>>((d<<2^-1)&28)&15)<<2)>>2];v[e+40>>2]=b;t[d+m^3]=b;d=d+1|0;if((d|0)>2]){continue}break};break h;case 1:f=0;b=v[e+32>>2];if((b|0)>15){while(1){b=m+(f<<4)|0;g=v[k+(f<<2)>>2];v[b>>2]=v[c+(g>>>26&12)>>2]<<16|v[c+(g>>>28&12)>>2]<<24|v[c+(g>>>24&12)>>2]<<8|v[c+(g>>>22&12)>>2];v[b+4>>2]=v[c+(g>>>14&12)>>2]|(v[c+(g>>>18&12)>>2]<<16|v[c+(g>>>20&12)>>2]<<24|v[c+(g>>>16&12)>>2]<<8);v[b+8>>2]=v[c+(g>>>6&12)>>2]|(v[c+(g>>>10&12)>>2]<<16|v[c+(g>>>12&12)>>2]<<24|v[c+(g>>>8&12)>>2]<<8);v[b+12>>2]=v[c+((g&3)<<2)>>2]|(v[c+(g>>>2&12)>>2]<<16|v[c+(g>>>4&12)>>2]<<24|v[c+(g&12)>>2]<<8);f=f+1|0;b=v[e+32>>2];d=d+16|0;if((b|0)>(d|15)){continue}break}}if((b|0)<=(d|0)){break h}while(1){b=v[c+((v[k+(d>>>2&1073741820)>>2]>>>((d<<1^-1)&30)&3)<<2)>>2];v[e+40>>2]=b;t[d+m^3]=b;d=d+1|0;if((d|0)>2]){continue}break};break h;case 0:break k;default:break a}}f=0;p=0;b=v[e+32>>2];if((b|0)>31){while(1){b=m+(p<<5)|0;d=v[k+(p<<2)>>2];v[b>>2]=v[c+(d>>>28&4)>>2]<<16|v[c+(d>>>29&4)>>2]<<24|v[c+(d>>>27&4)>>2]<<8|v[c+(d>>>26&4)>>2];v[b+4>>2]=v[c+(d>>>22&4)>>2]|(v[c+(d>>>24&4)>>2]<<16|v[c+(d>>>25&4)>>2]<<24|v[c+(d>>>23&4)>>2]<<8);v[b+8>>2]=v[c+(d>>>18&4)>>2]|(v[c+(d>>>20&4)>>2]<<16|v[c+(d>>>21&4)>>2]<<24|v[c+(d>>>19&4)>>2]<<8);v[b+12>>2]=v[c+(d>>>14&4)>>2]|(v[c+(d>>>16&4)>>2]<<16|v[c+(d>>>17&4)>>2]<<24|v[c+(d>>>15&4)>>2]<<8);v[b+16>>2]=v[c+(d>>>10&4)>>2]|(v[c+(d>>>12&4)>>2]<<16|v[c+(d>>>13&4)>>2]<<24|v[c+(d>>>11&4)>>2]<<8);v[b+20>>2]=v[c+(d>>>6&4)>>2]|(v[c+(d>>>8&4)>>2]<<16|v[c+(d>>>9&4)>>2]<<24|v[c+(d>>>7&4)>>2]<<8);v[b+24>>2]=v[c+(d>>>2&4)>>2]|(v[c+(d>>>4&4)>>2]<<16|v[c+(d>>>5&4)>>2]<<24|v[c+(d>>>3&4)>>2]<<8);v[b+28>>2]=v[c+((d&1)<<2)>>2]|(v[c+(d&4)>>2]<<16|v[c+(d>>>1&4)>>2]<<24|v[c+(d<<1&4)>>2]<<8);p=p+1|0;b=v[e+32>>2];f=f+32|0;if((b|0)>(f|31)){continue}break}}if((b|0)<=(f|0)){break h}while(1){b=v[c+((v[k+(f>>>3&536870908)>>2]>>>(f^-1)&1)<<2)>>2];v[e+40>>2]=b;t[f+m^3]=b;f=f+1|0;if((f|0)>2]){continue}break}break h}while(1){d=f<<2;g=v[d+k>>2];v[d+m>>2]=v[c+((g&255)<<2)>>2]|(v[c+(g>>>14&1020)>>2]<<16|v[c+(g>>>22&1020)>>2]<<24|v[c+(g>>>6&1020)>>2]<<8);f=f+1|0;d=v[e+32>>2];b=b+4|0;if((d|0)>(b|3)){continue}break}}if((b|0)>=(d|0)){break h}while(1){f=v[c+(w[b+k^3]<<2)>>2];v[e+40>>2]=f;t[b+m^3]=f;b=b+1|0;if((b|0)>2]){continue}break}}r=r+1|0;if((r|0)>2]){continue}break}}$a(c);break c}h=se(0,a);if(!h){break a}$o(g,0,e+44|0,e+40|0,e+36|0);if(!v[e+44>>2]){xK(h,h)}b=Ma-16|0;Ma=b;l:{if(!h){break l}a=v[h+36>>2];v[b+12>>2]=a;if(!a){break l}Gn(b+12|0);v[h+36>>2]=0}Ma=b+16|0;break c}h=Mg(v[e+32>>2],v[e+28>>2],32);if(!h){break a}if(!(!a|!h|(a|0)==(h|0))){v[h+20>>2]=v[a+20>>2];v[h+24>>2]=v[a+24>>2]}r=h?v[h+40>>2]:0;g=h?v[h+12>>2]:-1;o=Yb(f,4);if(!o){break a}b=0;if((f|0)>0){while(1){a=b<<2;m=v[a+v[e+16>>2]>>2];k=v[a+v[e+12>>2]>>2];i=v[a+v[e+8>>2]>>2];a=a+o|0;if(a){v[a>>2]=k<<16|m<<24|i<<8}b=b+1|0;if((f|0)!=(b|0)){continue}break}}a=v[e+28>>2];m:{if((a|0)<1){break m}b=v[e+32>>2];if((b|0)<=0){break m}while(1){if((b|0)>=1){m=r+(B(c,g)<<2)|0;n=(B(c,j)<<2)+l|0;a=0;while(1){n:{o:{switch(v[e+24>>2]-1|0){case 7:i=w[a+n^3];break n;case 3:i=v[n+(a>>>1&2147483644)>>2]>>>((a<<2^-1)&28)&15;break n;case 1:i=v[n+(a>>>2&1073741820)>>2]>>>((a<<1^-1)&30)&3;break n;case 0:break o;default:break a}}i=v[n+(a>>>3&536870908)>>2]>>>(a^-1)&1}if((i|0)<(f|0)){v[m+(a<<2)>>2]=v[o+(i<<2)>>2];b=v[e+32>>2]}a=a+1|0;if((b|0)>(a|0)){continue}break}a=v[e+28>>2]}c=c+1|0;if((c|0)<(a|0)){continue}break}}$a(o)}$a(v[e+16>>2]);$a(v[e+12>>2]);$a(v[e+8>>2]);d=h}Ma=e+48|0;return d}function HF(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;h=Ma-80|0;Ma=h;l=1;j=h- -64|0;f=j;v[f>>2]=0;v[f+4>>2]=0;t[f+8|0]=0;if($j(a)){f=h+32|0;Xc(f,a);f=qd(h+48|0,f);Xe(j,f);Qb(f);if(t[h+43|0]<=-1){$a(v[h+32>>2])}a:{if(!v[j+4>>2]){break a}while(1){b:{if(!(!nc(j,967692)|!d)){f=h+48|0;_c(f,a);hh(d,f);if(t[h+59|0]>-1){break b}$a(v[h+48>>2]);break b}if(nc(j,967780)){f=h+48|0;_c(f,a);hh(b,f);if(t[h+59|0]>-1){break b}$a(v[h+48>>2]);break b}if(nc(j,967812)){f=h+48|0;_c(f,a);hh(c,f);if(t[h+59|0]>-1){break b}$a(v[h+48>>2]);break b}if(!nc(j,967852)){break b}f=h+32|0;_c(f,a);f=qd(h+48|0,f);if(t[h+43|0]<=-1){$a(v[h+32>>2])}l=nc(f,967888);Qb(f)}if(!Pi(a)){break a}f=h+32|0;Xc(f,a);f=qd(h+48|0,f);Xe(j,f);Qb(f);if(t[h+43|0]<=-1){$a(v[h+32>>2])}if(v[j+4>>2]){continue}break}}Ej(a);l=l&1}c:{if(yh(a)){break c}d=h+56|0;v[d>>2]=0;v[h+48>>2]=0;v[h+52>>2]=0;k=h+32|0;f=k;v[f>>2]=0;v[f+4>>2]=0;t[f+8|0]=0;o=b;m=rg(a);d:{if(qe(a,m)){while(1){Xc(h,a);d=qd(h+16|0,h);Xe(k,d);Qb(d);if(t[h+11|0]<=-1){$a(v[h>>2])}e:{if(!(!nc(k,967920)|v[c+4>>2])){Oy(a,c);break e}if(!nc(k,968012)|v[b+4>>2]){break e}d=h+48|0;e=Ma-208|0;Ma=e;f:{if(yh(a)){break f}if(!l){kc(d,968056)}v[e+200>>2]=0;v[e+192>>2]=0;v[e+196>>2]=0;v[e+184>>2]=0;v[e+176>>2]=0;v[e+180>>2]=0;f=e+192|0;Uj(a,968072,f);Uj(a,968116,e+176|0);g=e+160|0;xh(g,968152,f);i=g;f=w[e+171|0];g=f<<24>>24<0;bd(d,g?v[e+160>>2]:i,g?v[e+164>>2]:f);if(t[e+171|0]<=-1){$a(v[e+160>>2])}v[e+168>>2]=0;v[e+160>>2]=0;v[e+164>>2]=0;v[e+152>>2]=0;v[e+144>>2]=0;v[e+148>>2]=0;n=rg(a);if(qe(a,n)){while(1){Xc(e+128|0,a);if(t[e+171|0]<=-1){$a(v[e+160>>2])}v[e+168>>2]=v[e+136>>2];f=v[e+132>>2];v[e+160>>2]=v[e+128>>2];v[e+164>>2]=f;g:{h:{i:{j:{i=v[e+164>>2];f=t[e+171|0];g=f&255;if((((f|0)<0?i:g)|0)==15){if(!Vc(e+160|0,968168,15)){break j}i=v[e+164>>2];g=w[e+171|0];f=g}if(((f<<24>>24<0?i:g)|0)==17){break i}break h}f=e+144|0;Uj(a,968232,f);g=e+128|0;xh(g,968260,f);i=g;f=w[e+139|0];g=f<<24>>24<0;bd(d,g?v[e+128>>2]:i,g?v[e+132>>2]:f);if(t[e+139|0]>-1){break g}$a(v[e+128>>2]);break g}if(Vc(e+160|0,968276,17)){i=v[e+164>>2];g=w[e+171|0];f=g;break h}f=e+144|0;Uj(a,968232,f);g=e+128|0;xh(g,968348,f);i=g;f=w[e+139|0];g=f<<24>>24<0;bd(d,g?v[e+128>>2]:i,g?v[e+132>>2]:f);if(t[e+139|0]>-1){break g}$a(v[e+128>>2]);break g}k:{if(((f<<24>>24<0?i:g)|0)!=26){break k}if(Vc(e+160|0,968364,26)){i=v[e+164>>2];g=w[e+171|0];f=g;break k}f=e+144|0;Uj(a,968232,f);g=e+128|0;xh(g,968472,f);i=g;f=w[e+139|0];g=f<<24>>24<0;bd(d,g?v[e+128>>2]:i,g?v[e+132>>2]:f);if(t[e+139|0]>-1){break g}$a(v[e+128>>2]);break g}if(((f<<24>>24<0?i:g)|0)!=10){break g}if(Vc(e+160|0,968488,10)){break g}v[e+136>>2]=0;v[e+128>>2]=0;v[e+132>>2]=0;v[e+120>>2]=0;v[e+112>>2]=0;v[e+116>>2]=0;v[e+104>>2]=0;v[e+96>>2]=0;v[e+100>>2]=0;v[e+88>>2]=0;v[e+80>>2]=0;v[e+84>>2]=0;v[e+72>>2]=0;v[e+64>>2]=0;v[e+68>>2]=0;l:{if(!$j(a)){break l}Xc(e+48|0,a);while(1){m:{f=w[e+59|0];g=f<<24>>24;n:{o:{p:{q:{r:{s:{i=v[e+52>>2];switch(((g|0)<0?i:f)|0){case 0:break m;case 4:break s;default:break r}}if(!Vc(e+48|0,968532,4)){break q}i=v[e+52>>2];f=w[e+59|0];g=f}if(((g<<24>>24<0?i:f)|0)==13){break p}break o}_c(e+32|0,a);if(t[e+139|0]<=-1){$a(v[e+128>>2])}v[e+136>>2]=v[e+40>>2];f=v[e+36>>2];v[e+128>>2]=v[e+32>>2];v[e+132>>2]=f;break n}if(Vc(e+48|0,968552,13)){i=v[e+52>>2];f=w[e+59|0];g=f;break o}_c(e+32|0,a);if(t[e+123|0]<=-1){$a(v[e+112>>2])}v[e+120>>2]=v[e+40>>2];f=v[e+36>>2];v[e+112>>2]=v[e+32>>2];v[e+116>>2]=f;break n}t:{if(((g<<24>>24<0?i:f)|0)!=10){break t}if(Vc(e+48|0,968608,10)){i=v[e+52>>2];f=w[e+59|0];g=f;break t}_c(e+32|0,a);if(t[e+107|0]<=-1){$a(v[e+96>>2])}v[e+104>>2]=v[e+40>>2];f=v[e+36>>2];v[e+96>>2]=v[e+32>>2];v[e+100>>2]=f;break n}u:{if(((g<<24>>24<0?i:f)|0)!=14){break u}if(Vc(e+48|0,968652,14)){i=v[e+52>>2];f=w[e+59|0];g=f;break u}_c(e+32|0,a);if(t[e+91|0]<=-1){$a(v[e+80>>2])}v[e+88>>2]=v[e+40>>2];f=v[e+36>>2];v[e+80>>2]=v[e+32>>2];v[e+84>>2]=f;break n}if(((g<<24>>24<0?i:f)|0)!=5){break n}if(Vc(e+48|0,968712,5)){break n}_c(e+32|0,a);if(t[e+75|0]<=-1){$a(v[e+64>>2])}v[e+72>>2]=v[e+40>>2];f=v[e+36>>2];v[e+64>>2]=v[e+32>>2];v[e+68>>2]=f}if(!Pi(a)){break m}Xc(e+32|0,a);if(t[e+59|0]<=-1){$a(v[e+48>>2])}v[e+56>>2]=v[e+40>>2];f=v[e+36>>2];v[e+48>>2]=v[e+32>>2];v[e+52>>2]=f;continue}break}Ej(a);if(t[e+59|0]>-1){break l}$a(v[e+48>>2])}xh(e,968736,e+128|0);f=kc(e,968752);v[e+24>>2]=v[f+8>>2];g=v[f+4>>2];v[e+16>>2]=v[f>>2];v[e+20>>2]=g;v[f>>2]=0;v[f+4>>2]=0;v[f+8>>2]=0;f=w[e+123|0];g=f<<24>>24<0;f=bd(e+16|0,g?v[e+112>>2]:e+112|0,g?v[e+116>>2]:f);v[e+40>>2]=v[f+8>>2];g=v[f+4>>2];v[e+32>>2]=v[f>>2];v[e+36>>2]=g;v[f>>2]=0;v[f+4>>2]=0;v[f+8>>2]=0;f=kc(e+32|0,968752);v[e+56>>2]=v[f+8>>2];g=v[f+4>>2];v[e+48>>2]=v[f>>2];v[e+52>>2]=g;v[f>>2]=0;v[f+4>>2]=0;v[f+8>>2]=0;f=w[e+59|0];g=f<<24>>24<0;bd(d,g?v[e+48>>2]:e+48|0,g?v[e+52>>2]:f);if(t[e+59|0]<=-1){$a(v[e+48>>2])}if(t[e+43|0]<=-1){$a(v[e+32>>2])}if(t[e+27|0]<=-1){$a(v[e+16>>2])}if(t[e+11|0]<=-1){$a(v[e>>2])}kc(d,LF(e+96|0)?968760:968772);f=d;v:{w:{g=w[e+91|0];if(((g<<24>>24<0?v[e+84>>2]:g)|0)!=16){break w}if(Vc(e+80|0,968784,16)){break w}g=968760;break v}g=968772}kc(f,g);f=w[e+75|0];g=f<<24>>24<0;bd(d,g?v[e+64>>2]:e- -64|0,g?v[e+68>>2]:f);if(t[e+75|0]<=-1){$a(v[e+64>>2])}if(t[e+91|0]<=-1){$a(v[e+80>>2])}if(t[e+107|0]<=-1){$a(v[e+96>>2])}if(t[e+123|0]<=-1){$a(v[e+112>>2])}if(t[e+139|0]>-1){break g}$a(v[e+128>>2])}if(qe(a,n)){continue}break}}if(LF(e+176|0)){kc(d,968852)}if(t[e+155|0]<=-1){$a(v[e+144>>2])}if(t[e+171|0]<=-1){$a(v[e+160>>2])}if(t[e+187|0]<=-1){$a(v[e+176>>2])}if(t[e+203|0]>-1){break f}$a(v[e+192>>2])}Ma=e+208|0}if(qe(a,m)){continue}break}d=h+56|0;a=t[h+59|0]<0?v[h+48>>2]:h+48|0;break d}a=h+48|0}ls(o,a,1,-1);Qb(k);if(t[d+3|0]>-1){break c}$a(v[h+48>>2])}Qb(j);Ma=h+80|0}function k2a(a,b){a=a|0;b=b|0;var 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;a:{b:{c:{d:{if(v[a+84>>2]!=4){break d}e=gb(v[a+56>>2]<<5);if(!e){break c}g=v[a+56>>2];if((g|0)>=1){d=v[a+88>>2];c=e;while(1){v[c>>2]=0;v[c+4>>2]=0;v[c+24>>2]=v[d+16>>2];v[c+28>>2]=w[d+20|0];v[c+16>>2]=v[d+8>>2];v[c+20>>2]=v[d+12>>2];v[c+8>>2]=v[d>>2];v[c+12>>2]=v[d+4>>2];c=c+32|0;d=d+32|0;f=f+1|0;if((g|0)!=(f|0)){continue}break}}c=ir(g,e);v[a>>2]=c;if(!c){return-1}$a(e);n=v[a+92>>2];if(!n){break d}d=gb(12);e:{f:{if(!d){d=0;break f}v[d>>2]=0;v[d+4>>2]=100;e=gb(400);v[d+8>>2]=e;if(e){c=v[d+4>>2];g:{if((c|0)<1){break g}v[e>>2]=0;if((c|0)==1){break g}e=c-1|0;h=e&3;f=1;if(c-2>>>0>=3){i=e&-4;while(1){c=f<<2;v[c+v[d+8>>2]>>2]=0;v[(c+v[d+8>>2]|0)+4>>2]=0;v[(c+v[d+8>>2]|0)+8>>2]=0;v[(c+v[d+8>>2]|0)+12>>2]=0;f=f+4|0;i=i-4|0;if(i){continue}break}}if(!h){break g}while(1){v[v[d+8>>2]+(f<<2)>>2]=0;f=f+1|0;h=h-1|0;if(h){continue}break}}if(!v[n>>2]){break e}c=v[v[n+8>>2]>>2];f=v[c+4>>2];if(f>>>0<4){break f}i=v[c+8>>2];while(1){e=fi(0,0);if(!e){break f}j=v[d>>2];c=v[d+4>>2];h:{if((j|0)<(c|0)){k=v[d+8>>2];break h}k=ph(v[d+8>>2],(c<<2)- -8192|0);if(!k){break f}o=c+1024|0;l=v[d+4>>2];g=v[d>>2];i:{if((l|0)<=(g|0)){break i}c=g;h=l-c&3;if(h){while(1){v[v[d+8>>2]+(c<<2)>>2]=0;c=c+1|0;h=h-1|0;if(h){continue}break}}if(l+(g^-1)>>>0<3){break i}while(1){h=c<<2;v[h+v[d+8>>2]>>2]=0;v[(h+v[d+8>>2]|0)+4>>2]=0;v[(h+v[d+8>>2]|0)+8>>2]=0;v[(h+v[d+8>>2]|0)+12>>2]=0;c=c+4|0;if((l|0)!=(c|0)){continue}break}}v[d+8>>2]=k;v[d+4>>2]=o;if((g|0)!=(j|0)){break f}}v[(j<<2)+k>>2]=e;v[d>>2]=j+1;c=w[i|0]|w[i+1|0]<<8|(w[i+2|0]<<16|w[i+3|0]<<24);i=i+4|0;f=f-4|0;h=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);if(h){while(1){k=e;if(!f){m=m+1|0;if((m|0)>=v[n>>2]){break f}g=v[v[n+8>>2]+(m<<2)>>2];f=v[g+4>>2];i=v[g+8>>2]}c=f>>>0>h>>>0?h:f;if((Un(k,i,c)|0)!=(c|0)){break f}f=f-c|0;i=c+i|0;h=h-c|0;if(h){continue}break}}Qm(e);if(!f){m=m+1|0;if((m|0)>=v[n>>2]){break e}c=v[v[n+8>>2]+(m<<2)>>2];f=v[c+4>>2];i=v[c+8>>2]}if(f>>>0>3){continue}break}break f}$a(d);d=0}c=v[d+8>>2];if(c){f=1;if(v[d>>2]>=1){ne(v[c>>2]);if(v[d>>2]>=2){while(1){ne(v[v[d+8>>2]+(f<<2)>>2]);f=f+1|0;if((f|0)>2]){continue}break}}c=v[d+8>>2]}$a(c)}$a(d);d=0}v[a+96>>2]=d;if(!d){break b}e=v[a+92>>2];if(v[e>>2]>=1){c=0;while(1){g=v[v[e+8>>2]+(c<<2)>>2];d=v[g+8>>2];if(d){$a(d)}$a(g);c=c+1|0;if((c|0)>2]){continue}break}}c=v[e+8>>2];if(c){$a(c)}$a(e);v[a+92>>2]=0}k=a;e=v[b+16>>2];if(e){e=((e+v[v[a+60>>2]+60>>2]|0)-v[b+4>>2]|0)-4|0}else{e=0}v[k+100>>2]=e;e=v[b+12>>2];if((e|0)>v[a+44>>2]){Nb(30911,0);return-1}i=v[a+48>>2];c=i+B(e,56)|0;v[a+52>>2]=c;f=-1;g=w[b+20|0];j:{if((g|0)!=v[c+40>>2]){break j}d=v[c+44>>2];if((d|0)>=1&(d|0)<=(g|0)){break j}k:{if(d){break k}d=w[b+21|0];if(!d){break k}v[c+44>>2]=d}h=i+B(e,56)|0;v[h+20>>2]=0;l:{if(!v[c>>2]){v[c>>2]=1;if(v[h+32>>2]){break a}d=v[a+64>>2];b=v[d+20>>2];m:{g=gb(28);n:{if(!g){break n}v[g+20>>2]=b;v[g>>2]=0;u[g+16>>1]=0;v[g+12>>2]=0;t[g+8|0]=0;b=gb(B(b,488));v[g+24>>2]=b;if(!b){break n}c=v5();v[g+4>>2]=c;if(!c){$a(v[g+24>>2]);break n}b=v[g+20>>2];if((b|0)>=1){f=b&3;c=v[g+24>>2];if(b-1>>>0>=3){b=b&-4;while(1){t[c+418|0]=0;u[c+416>>1]=0;v[c+12>>2]=0;v[c>>2]=0;v[c+488>>2]=0;t[c+5|0]=0;t[c+6|0]=0;t[c+7|0]=0;t[c+8|0]=0;v[c+976>>2]=0;v[c+1464>>2]=0;t[c+906|0]=0;u[c+904>>1]=0;v[c+500>>2]=0;t[c+1394|0]=0;u[c+1392>>1]=0;v[c+988>>2]=0;t[c+493|0]=0;t[c+494|0]=0;t[c+495|0]=0;t[c+496|0]=0;t[c+1882|0]=0;u[c+1880>>1]=0;v[c+1476>>2]=0;t[c+981|0]=0;t[c+982|0]=0;t[c+983|0]=0;t[c+984|0]=0;e=c+1469|0;t[e|0]=0;t[e+1|0]=0;t[e+2|0]=0;t[e+3|0]=0;c=c+1952|0;b=b-4|0;if(b){continue}break}}if(f){while(1){t[c+418|0]=0;u[c+416>>1]=0;v[c+12>>2]=0;v[c>>2]=0;t[c+5|0]=0;t[c+6|0]=0;t[c+7|0]=0;t[c+8|0]=0;c=c+488|0;f=f-1|0;if(f){continue}break}}c=v[g+4>>2]}v[g>>2]=v[d>>2];t[g+8|0]=w[d+8|0];v[g+12>>2]=v[d+12>>2];t[g+16|0]=w[d+16|0];t[g+17|0]=w[d+17|0];NL(c);v[g+4>>2]=0;n=v[d+4>>2];m=0;b=gb(12);o:{if(b){v[b+8>>2]=0;v[b>>2]=0;v[b+4>>2]=0;if(v[n>>2]<1){break o}while(1){p:{c=v[v[n+8>>2]+(m<<2)>>2];i=gb(16);if(!i){break p}e=v[c+4>>2];v[i>>2]=v[c>>2];v[i+4>>2]=e;e=v[c+12>>2];v[i+8>>2]=v[c+8>>2];v[i+12>>2]=e;e=v[b>>2];f=e;c=v[b+4>>2];q:{if((e|0)<(c|0)){break q}c=c+128|0;j=ph(v[b+8>>2],c<<2);if(!j){break p}v[b+8>>2]=j;v[b+4>>2]=c;f=v[b>>2];if((e|0)>=(f|0)){break q}c=f-1|0;v[j+(f<<2)>>2]=v[j+(c<<2)>>2];if((c|0)<=(e|0)){break q}j=(e^-1)+f&3;if(j){while(1){k=v[b+8>>2];l=k+(c<<2)|0;c=c-1|0;v[l>>2]=v[k+(c<<2)>>2];j=j-1|0;if(j){continue}break}}if((f-e|0)-2>>>0<3){break q}while(1){j=c<<2;k=j-4|0;l=v[b+8>>2];v[j+l>>2]=v[k+l>>2];l=k;k=v[b+8>>2];o=l+k|0;l=k;k=j-8|0;v[o>>2]=v[l+k>>2];l=k;k=v[b+8>>2];j=j-12|0;v[l+k>>2]=v[j+k>>2];k=j;j=v[b+8>>2];c=c-4|0;v[k+j>>2]=v[j+(c<<2)>>2];if((c|0)>(e|0)){continue}break}}v[v[b+8>>2]+(e<<2)>>2]=i;v[b>>2]=f+1;m=m+1|0;if((m|0)>2]){continue}break o}break}e=v[b+8>>2];if(e){c=1;if(v[b>>2]>=1){$a(v[e>>2]);if(v[b>>2]>=2){while(1){$a(v[v[b+8>>2]+(c<<2)>>2]);c=c+1|0;if((c|0)>2]){continue}break}}e=v[b+8>>2]}$a(e)}$a(b)}b=0}v[g+4>>2]=b;if(b){break m}$a(g)}v[h+32>>2]=0;return-1}if(v[d+20>>2]>=1){f=v[g+24>>2];c=v[d+24>>2];b=0;while(1){e=cb(f,c,488);c=c+488|0;f=e+488|0;b=b+1|0;if((b|0)>2]){continue}break}}v[h+32>>2]=g;b=v[a+64>>2];v[b>>2]=v[b>>2]&3;e=v[b+20>>2];if((e|0)<1){break l}d=e&7;c=v[b+24>>2];if(e-1>>>0>=7){f=e&-8;while(1){v[c+3416>>2]=0;v[c+2928>>2]=0;v[c+2440>>2]=0;v[c+1952>>2]=0;v[c+1464>>2]=0;v[c+976>>2]=0;v[c+488>>2]=0;v[c>>2]=0;c=c+3904|0;f=f-8|0;if(f){continue}break}}if(!d){break l}while(1){v[c>>2]=0;c=c+488|0;d=d-1|0;if(d){continue}break}break l}if(w[b+21|0]!=(g-1|0)){break l}v[c>>2]=2}v[a+84>>2]=16;f=0}return f|0}O(28252,16151,453,188896);L()}S();L()}O(31563,16151,516,188896);L()}function DP(a,b,c){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,p=0,q=0,r=0,s=0,x=0,D=0,E=0,F=C(0),G=0;g=Ma-304|0;Ma=g;e=w[b|0];a:{if(!e){break a}b:{c:{d:{e:{while(1){f:{e=e&255;g:{if((e|0)==32|e-9>>>0<5){while(1){e=b;b=b+1|0;d=w[e+1|0];if((d|0)==32|d-9>>>0<5){continue}break}Rj(a,0,0);while(1){b=v[a+4>>2];h:{if(b>>>0>2]){v[a+4>>2]=b+1;b=w[b|0];break h}b=ke(a)}if((b|0)==32|b-9>>>0<5){continue}break}b=v[a+4>>2];if(v[a+104>>2]){b=b-1|0;v[a+4>>2]=b}d=b-v[a+8>>2]|0;b=d;d=d>>31;f=b;h=h+v[a+124>>2]|0;b=k+v[a+120>>2]|0;h=b>>>0>>0?h+1|0:h;k=f+b|0;h=d+h|0;h=b>>>0>k>>>0?h+1|0:h;break g}i:{j:{k:{e=w[b|0];if((e|0)==37){d=w[b+1|0];if((d|0)==42){break k}if((d|0)!=37){break j}}Rj(a,0,0);e=((e|0)==37)+b|0;b=v[a+4>>2];l:{if(b>>>0>2]){v[a+4>>2]=b+1;b=w[b|0];break l}b=ke(a)}if((b|0)!=w[e|0]){if(v[a+104>>2]){v[a+4>>2]=v[a+4>>2]-1}if((b|0)>-1){break a}r=0;if(s){break a}break c}b=k+1|0;h=b>>>0<1?h+1|0:h;k=b;break g}j=0;e=b+2|0;break i}if(!(w[b+2|0]!=36|d-48>>>0>=10)){d=w[b+1|0]-48|0;e=Ma-16|0;v[e+12>>2]=c;f=e;e=(d>>>0>1?(d<<2)-4|0:0)+c|0;v[f+8>>2]=e+4;j=v[e>>2];e=b+3|0;break i}j=v[c>>2];c=c+4|0;e=b+1|0}r=0;b=0;if(w[e|0]-48>>>0<10){while(1){b=(w[e|0]+B(b,10)|0)-48|0;d=w[e+1|0];e=e+1|0;if(d-48>>>0<10){continue}break}}f=w[e|0];if((f|0)==109){m=0;r=(j|0)!=0;f=w[e+1|0];n=0;e=e+1|0}d=e;e=d+1|0;i=3;m:{n:{switch(f-65|0){case 39:f=d+2|0;d=w[d+1|0]==104;e=d?f:e;i=d?-2:-1;break m;case 43:f=d+2|0;d=w[d+1|0]==108;e=d?f:e;i=d?3:1;break m;case 51:case 57:i=1;break m;case 11:i=2;break m;case 41:break m;case 0:case 2:case 4:case 5:case 6:case 18:case 23:case 26:case 32:case 34:case 35:case 36:case 37:case 38:case 40:case 45:case 46:case 47:case 50:case 52:case 55:break n;default:break d}}i=0;e=d}f=w[e|0];d=(f&47)==3;q=d?1:i;p=d?f|32:f;o:{if((p|0)==91){break o}p:{if((p|0)!=110){if((p|0)!=99){break p}b=(b|0)>1?b:1;break o}CP(j,q,k,h);break g}Rj(a,0,0);while(1){d=v[a+4>>2];q:{if(d>>>0>2]){v[a+4>>2]=d+1;d=w[d|0];break q}d=ke(a)}if((d|0)==32|d-9>>>0<5){continue}break}d=v[a+4>>2];if(v[a+104>>2]){d=d-1|0;v[a+4>>2]=d}d=d-v[a+8>>2]|0;f=d;d=d>>31;l=f;o=h+v[a+124>>2]|0;f=k+v[a+120>>2]|0;o=f>>>0>>0?o+1|0:o;k=l+f|0;d=d+o|0;d=f>>>0>k>>>0?d+1|0:d;h=d}o=b;x=b>>31;Rj(a,b,x);d=v[a+104>>2];f=v[a+4>>2];r:{if(d>>>0>f>>>0){v[a+4>>2]=f+1;break r}if((ke(a)|0)<0){break d}d=v[a+104>>2]}if(d){v[a+4>>2]=v[a+4>>2]-1}d=16;s:{t:{u:{v:{w:{x:{y:{switch(p-88|0){default:b=p-65|0;if(b>>>0>6|!(1<>2]-v[a+8>>2]|0;if(v[a+120>>2]==(0-d|0)&v[a+124>>2]==(0-((d>>31)+((d|0)!=0)|0)|0)){break b}if(!j){break s}o=v[g+16>>2];f=v[g+20>>2];d=v[g+8>>2];b=v[g+12>>2];switch(q|0){case 2:break u;case 1:break v;case 0:break w;default:break s};case 3:case 11:case 27:if((p&239)==99){eb(g+32|0,-1,257);t[g+32|0]=0;if((p|0)!=115){break t}t[g+65|0]=0;t[g+46|0]=0;u[g+42>>1]=0;u[g+44>>1]=0;break t}l=w[e+1|0];f=(l|0)==94;eb(g+32|0,f,257);t[g+32|0]=0;d=f?e+2|0:e+1|0;z:{A:{B:{e=w[(f?2:1)+e|0];if((e|0)!=45){if((e|0)==93){break B}i=(l|0)!=94;break z}i=(l|0)!=94;t[g+78|0]=i;break A}i=(l|0)!=94;t[g+126|0]=i}d=d+1|0}e=d;while(1){d=w[e|0];C:{if((d|0)!=45){if(!d){break d}if((d|0)!=93){break C}break t}d=45;l=w[e+1|0];if(!l|(l|0)==93){break C}f=e+1|0;e=w[e-1|0];D:{if(l>>>0<=e>>>0){d=l;break D}while(1){e=e+1|0;t[e+(g+32|0)|0]=i;d=w[f|0];if(e>>>0>>0){continue}break}}e=f}t[(d+g|0)+33|0]=i;e=e+1|0;continue};case 23:d=8;break x;case 12:case 29:d=10;break x;case 1:case 2:case 4:case 5:case 6:case 7:case 8:case 10:case 16:case 18:case 19:case 20:case 21:case 22:case 25:case 26:case 28:case 30:case 31:break s;case 0:case 24:case 32:break x;case 17:break y}}d=0}o=EP(a,d,0,-1,-1);f=Pa;d=v[a+4>>2]-v[a+8>>2]|0;if(v[a+120>>2]==(0-d|0)&v[a+124>>2]==(0-((d>>31)+((d|0)!=0)|0)|0)){break b}if(!(!j|(p|0)!=112)){v[j>>2]=o;break s}CP(j,q,o,f);break s}E=j,F=oP(d,b,o,f),z[E>>2]=F;break s}E=j,G=Gx(d,b,o,f),A[E>>3]=G;break s}v[j>>2]=d;v[j+4>>2]=b;v[j+8>>2]=o;v[j+12>>2]=f;break s}D=(p|0)==99;i=D?b+1|0:31;l=(q|0)!=1;E:{if(!l){d=j;if(r){d=gb(i<<2);if(!d){break e}}v[g+296>>2]=0;v[g+300>>2]=0;b=0;while(1){n=d;F:{while(1){d=v[a+4>>2];G:{if(d>>>0>2]){v[a+4>>2]=d+1;d=w[d|0];break G}d=ke(a)}if(!w[(d+g|0)+33|0]){break F}t[g+27|0]=d;d=Qx(g+28|0,g+27|0,1,g+296|0);if((d|0)==-2){continue}if((d|0)==-1){break f}if(n){v[(b<<2)+n>>2]=v[g+28>>2];b=b+1|0}if(!((b|0)==(i|0)&r)){continue}break}i=i<<1|1;d=Wd(n,i<<2);if(d){continue}break f}break}d=g+296|0;if(d){d=v[d>>2]}else{d=0}if(d){break f}m=0;break E}if(r){b=0;d=gb(i);if(!d){break e}while(1){m=d;while(1){d=v[a+4>>2];H:{if(d>>>0>2]){v[a+4>>2]=d+1;d=w[d|0];break H}d=ke(a)}if(!w[(d+g|0)+33|0]){n=0;break E}t[b+m|0]=d;b=b+1|0;if((i|0)!=(b|0)){continue}break}n=0;i=i<<1|1;d=Wd(m,i);if(d){continue}break}break d}b=0;if(j){while(1){d=v[a+4>>2];I:{if(d>>>0>2]){v[a+4>>2]=d+1;d=w[d|0];break I}d=ke(a)}if(w[(d+g|0)+33|0]){t[b+j|0]=d;b=b+1|0;continue}else{n=0;m=j;break E}}}while(1){b=v[a+4>>2];J:{if(b>>>0>2]){v[a+4>>2]=b+1;b=w[b|0];break J}b=ke(a)}if(w[(b+g|0)+33|0]){continue}break}m=0;n=0;b=0}d=v[a+4>>2];if(v[a+104>>2]){d=d-1|0;v[a+4>>2]=d}d=d-v[a+8>>2]|0;f=d;q=d+v[a+120>>2]|0;d=v[a+124>>2]+(d>>31)|0;d=f>>>0>q>>>0?d+1|0:d;if(!(d|q)|((o|0)!=(q|0)|(d|0)!=(x|0))&(p|0)==99){break b}K:{if(!r){break K}if(!l){v[j>>2]=n;break K}v[j>>2]=m}if(D){break s}if(n){v[(b<<2)+n>>2]=0}if(!m){m=0;break s}t[b+m|0]=0}d=v[a+4>>2]-v[a+8>>2]|0;b=d;d=d>>31;f=b;h=h+v[a+124>>2]|0;b=k+v[a+120>>2]|0;h=b>>>0>>0?h+1|0:h;k=f+b|0;h=d+h|0;h=b>>>0>k>>>0?h+1|0:h;s=((j|0)!=0)+s|0}b=e+1|0;e=w[e+1|0];if(e){continue}break a}break}m=0;break d}m=0;n=0}if(s){break b}}s=-1}if(!r){break a}$a(m);$a(n)}Ma=g+304|0;return s}function BTa(a){a=a|0;var 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,y=0,z=0;e=Ma-16544|0;Ma=e;v[e+136>>2]=0;v[e+140>>2]=0;v[e+128>>2]=0;v[e+132>>2]=0;b=v[a+26116>>2];p=eb(a+232|0,0,24576);v[a+24812>>2]=p;b=b>>>0<2?b:2;Jn(a,B(b,29)+195216|0,0);v[a+24808>>2]=v[a+24812>>2];Jn(a,B(b,180)+195312|0,0);l=Yb(x[a+26306>>1]<<3,2);if(!l){c=v[a+190640>>2];a:{if(c){b=v[a+25208>>2];v[e+20>>2]=19431;v[e+16>>2]=b;Dc(c,4338,e+16|0);break a}b=v[a+25208>>2];v[e+4>>2]=19431;v[e>>2]=b;vb(v[249419],4338,e)}tc(a+190484|0,1);L()}Qa[v[v[a>>2]+8>>2]](v[a+4>>2],0,0)|0;Qa[v[v[a>>2]>>2]](v[a+4>>2],e+160|0,1,16384)|0;b=540;f=1;b:{c:{while(1){g=b+1|0;if(w[(e+160|0)+b|0]==255){if(w[g+(e+160|0)|0]){f=1;n=0;break b}f=0;c=1;b=g;if((b|0)!=16383){continue}break c}b=g;if((b|0)!=16383){continue}break}n=0;if(!(c&1)){break b}}v[a+26124>>2]=1023;f=0;n=1}Qa[v[v[a>>2]+8>>2]](v[a+4>>2],((B(x[a+26306>>1],B(x[a+26304>>1],f))|0)/4|0)+540|0,0)|0;v[a+26144>>2]=1;v[285944]=0;v[285945]=0;v[285943]=0;b=x[a+26304>>1];if(b){j=v[249419];while(1){b=b-o|0;b=B(x[a+26306>>1],(b|0)<8?b:8);if((b|0)>=64){r=b&-64;m=b>>>6|0;g=t;q=0;while(1){eb(e+160|0,0,256);h=0;f=p;while(1){b=v[f>>2];d:{if(!b){c=f;break d}i=0;c=f;if(v[285945]){while(1){c=b;b=v[b>>2];if(b){continue}break d}}while(1){d=0;e:{if(i){break e}f=v[285944];f:{if((f|0)>=1){b=v[285943];break f}while(1){g:{h:{i=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;i:{if((i|0)==-1){if(!v[a+26160>>2]){v[e+112>>2]=v[a+25208>>2];vb(j,8292,e+112|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,j);v[a+26160>>2]=1;break i}b=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[e+96>>2]=b;v[e+100>>2]=b>>31;vb(j,14622,e+96|0)}v[a+26160>>2]=1;break i}if(!v[a+26144>>2]){break i}if((i|0)==255){break h}}v[285945]=0;break g}d=0;b=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[285945]=(b|0)!=0;if(!b){break g}i=1;break e}d=v[285944];f=d+8|0;v[285944]=f;b=i&255|v[285943]<<8;v[285943]=b;if((d|0)<-7){continue}break}}i=0;v[285944]=f-1;d=b<<32-f>>>31|0}c=v[(d<<2)+c>>2];if(v[c>>2]){continue}break}}f=v[a+24808>>2];c=v[c+8>>2];j:{if(!(h?c:1)){break j}k:{if((c|0)==255){b=h;break k}b=(c>>4)+h|0;i=c&15;if(!i){break k}h=0;l:{if(v[285945]){break l}c=v[285944];m:{if((i|0)<=(c|0)){d=v[285943];break m}while(1){d=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;n:{if((d|0)==-1){if(!v[a+26160>>2]){v[e+80>>2]=v[a+25208>>2];vb(j,8292,e+80|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,j);v[a+26160>>2]=1;v[285945]=0;break n}c=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[e+64>>2]=c;v[e+68>>2]=c>>31;vb(j,14622,e- -64|0)}v[a+26160>>2]=1;v[285945]=0;break n}if(!((d|0)==255?v[a+26144>>2]:0)){v[285945]=0;break n}c=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[285945]=(c|0)!=0;h=0;if(c){break l}}c=v[285944]+8|0;v[285944]=c;d=d&255|v[285943]<<8;v[285943]=d;if((c|0)<(i|0)){continue}break}}h=c-i|0;v[285944]=h;c=32-i|0;h=d<>>c|0}if((b|0)>63){break j}v[(e+160|0)+(b<<2)>>2]=h+(h>>>i-1&1?0:-1<>2]+y|0;v[e+160>>2]=y;f=q<<6;b=0;d=g;while(1){if(!((d|0)%x[a+26306>>1]|0)){v[e+152>>2]=512;v[e+156>>2]=512}c=(e+152|0)+((b&1)<<2)|0;h=v[c>>2]+v[(e+160|0)+(b<<2)>>2]|0;v[c>>2]=h;u[(b+f<<1)+l>>1]=h;if(h&64512){o:{if(v[a+26160>>2]){break o}v[e+48>>2]=v[a+25208>>2];vb(j,8292,e+48|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,j);break o}c=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[e+32>>2]=c;v[e+36>>2]=c>>31;vb(j,14622,e+32|0)}v[a+26160>>2]=1}d=d+1|0;b=b+1|0;if((b|0)!=64){continue}break}g=g- -64|0;q=q+1|0;if((m|0)!=(q|0)){continue}break}t=t+r|0}if(!n){f=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;i=0;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],(B(x[a+26306>>1],o)>>>2|0)+26|0,0)|0;b=l;if(x[a+26306>>1]){while(1){h=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;c=h&3|x[b>>1]<<2;r=c>>>0<512?c+2|0:c;g=c;c=x[a+26306>>1];d=(c|0)==2672;u[b>>1]=d?r:g;g=h>>>2&3|x[b+2>>1]<<2;u[b+2>>1]=d?g>>>0<512?g+2|0:g:g;g=h>>>4&3|x[b+4>>1]<<2;u[b+4>>1]=d?g>>>0<512?g+2|0:g:g;g=h>>>6&3|x[b+6>>1]<<2;u[b+6>>1]=d?g>>>0<512?g+2|0:g:g;b=b+8|0;i=i+1|0;if(i>>>0>>0){continue}break}}Qa[v[v[a>>2]+8>>2]](v[a+4>>2],f,0)|0}f=0;while(1){m=(o-x[a+26312>>1]|0)+f|0;p:{if(m>>>0>=x[a+26308>>1]){break p}d=x[a+26306>>1];if(!d){break p}h=m<<1&14;c=0-x[a+26314>>1]|0;if(c>>>0>1]){b=x[a+26316>>1];u[(v[a+26352>>2]+(B(x[a+26320>>1],m>>>b|0)+(c>>>b|0)<<3)|0)+((v[a+26028>>2]>>>((h|c&1)<<1)&3)<<1)>>1]=x[(B(d,f)<<1)+l>>1];d=x[a+26306>>1]}if(d>>>0<2){break p}c=1-x[a+26314>>1]|0;if(c>>>0>1]){b=x[a+26316>>1];u[(v[a+26352>>2]+(B(x[a+26320>>1],m>>>b|0)+(c>>>b|0)<<3)|0)+((v[a+26028>>2]>>>((h|c&1)<<1)&3)<<1)>>1]=x[((B(d,f)<<1)+l|0)+2>>1];d=x[a+26306>>1]}i=d;b=2;if(d>>>0<3){break p}while(1){g=x[(B(d,f)+b<<1)+l>>1];d=b-x[a+26314>>1]|0;q:{if(d>>>0>1]){c=x[a+26316>>1];u[(v[a+26352>>2]+(B(x[a+26320>>1],m>>>c|0)+(d>>>c|0)<<3)|0)+((v[a+26028>>2]>>>((h|d&1)<<1)&3)<<1)>>1]=g;i=x[a+26306>>1];break q}c=e+128|(d&1)<<3;A[c>>3]=A[c>>3]+ +(g>>>0)}b=b+1|0;d=i&65535;if(b>>>0>>0){continue}break}}f=f+1|0;if((f|0)!=8){continue}break}b=x[a+26304>>1];o=o+8|0;if(b>>>0>o>>>0){continue}break}}$a(l);c=x[a+26306>>1];d=x[a+26310>>1];if(c>>>0>=d+4>>>0){b=x[a+26308>>1];k=+(B(b,(c-d|0)-2|0)>>1);s=A[e+128>>3]/k;A[e+128>>3]=s;z=A[e+136>>3]/k;k=s-z;r:{if(D(k)<2147483648){c=~~k;break r}c=-2147483648}if(!(!c|!b)){f=0;while(1){if((d&65535)>>>0>=2){p=v[a+26028>>2]>>>(f<<2&28|2)&3;n=v[a+26352>>2];b=1;while(1){g=x[a+26316>>1];g=(n+(B(x[a+26320>>1],f>>>g|0)+(b>>>g|0)<<3)|0)+(p<<1)|0;u[g>>1]=c+x[g>>1];b=b+2|0;d=x[a+26310>>1];if(b>>>0>>0){continue}break}b=x[a+26308>>1]}f=f+1|0;if(f>>>0<(b&65535)>>>0){continue}break}}k=(s+(z+ +(c|0))+1)*.5;s:{if(k<4294967296&k>=0){c=~~k>>>0;break s}c=0}v[a+26120>>2]=c}Ma=e+16544|0}function E3(a,b,c){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,p=0,q=0,r=0,s=0,t=0;f=Ma-144|0;Ma=f;a:{if((c|0)<=0){v[f+16>>2]=0;v[f+20>>2]=0;v[f+40>>2]=0;v[f+44>>2]=0;v[f+48>>2]=0;v[f+52>>2]=0;v[f+56>>2]=0;v[f+60>>2]=0;e=f- -64|0;v[e>>2]=0;v[e+4>>2]=0;v[f+72>>2]=0;v[f+76>>2]=0;v[f+88>>2]=0;v[f+92>>2]=0;v[f+80>>2]=0;v[f+84>>2]=1072693248;v[f+96>>2]=0;v[f+100>>2]=0;v[f+104>>2]=0;v[f+108>>2]=0;v[f+112>>2]=0;v[f+116>>2]=0;v[f+120>>2]=0;v[f+124>>2]=0;v[f+128>>2]=0;v[f+132>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;v[f>>2]=0;v[f+4>>2]=0;v[f+32>>2]=0;v[f+36>>2]=0;v[f+24>>2]=0;v[f+28>>2]=1072693248;v[f+136>>2]=0;v[f+140>>2]=1072693248;break a}v[f+40>>2]=0;v[f+44>>2]=0;v[f+32>>2]=0;v[f+36>>2]=0;v[f+24>>2]=0;v[f+28>>2]=1072693248;h=c&3;l=c-1|0;if(l>>>0>=3){i=c&-4;while(1){d=A[B(e,24)+a>>3];k=k+d*d;d=A[B(e|1,24)+a>>3];k=k+d*d;d=A[B(e|2,24)+a>>3];k=k+d*d;d=A[B(e|3,24)+a>>3];k=k+d*d;e=e+4|0;i=i-4|0;if(i){continue}break}}if(h){while(1){d=A[B(e,24)+a>>3];k=k+d*d;e=e+1|0;h=h-1|0;if(h){continue}break}}A[f>>3]=k;h=c&3;b:{if(l>>>0<3){e=0;break b}i=c&-4;e=0;while(1){g=B(e,24)+a|0;d=m+A[g>>3]*A[g+8>>3];g=B(e|1,24)+a|0;d=d+A[g>>3]*A[g+8>>3];g=B(e|2,24)+a|0;d=d+A[g>>3]*A[g+8>>3];g=B(e|3,24)+a|0;m=d+A[g>>3]*A[g+8>>3];e=e+4|0;i=i-4|0;if(i){continue}break}}if(h){while(1){i=B(e,24)+a|0;m=m+A[i>>3]*A[i+8>>3];e=e+1|0;h=h-1|0;if(h){continue}break}}A[f+8>>3]=m;h=c&3;c:{if(l>>>0<3){e=0;break c}i=c&-4;e=0;while(1){g=B(e,24)+a|0;d=n+A[g>>3]*A[g+16>>3];g=B(e|1,24)+a|0;d=d+A[g>>3]*A[g+16>>3];g=B(e|2,24)+a|0;d=d+A[g>>3]*A[g+16>>3];g=B(e|3,24)+a|0;n=d+A[g>>3]*A[g+16>>3];e=e+4|0;i=i-4|0;if(i){continue}break}}if(h){while(1){i=B(e,24)+a|0;n=n+A[i>>3]*A[i+16>>3];e=e+1|0;h=h-1|0;if(h){continue}break}}e=f- -64|0;v[e>>2]=0;v[e+4>>2]=0;v[f+72>>2]=0;v[f+76>>2]=0;v[f+88>>2]=0;v[f+92>>2]=0;v[f+80>>2]=0;v[f+84>>2]=1072693248;A[f+16>>3]=n;h=c&3;d:{if(l>>>0<3){e=0;d=0;break d}i=c&-4;e=0;d=0;while(1){g=B(e,24)+a|0;d=d+A[g+8>>3]*A[g>>3];g=B(e|1,24)+a|0;d=d+A[g+8>>3]*A[g>>3];g=B(e|2,24)+a|0;d=d+A[g+8>>3]*A[g>>3];g=B(e|3,24)+a|0;d=d+A[g+8>>3]*A[g>>3];e=e+4|0;i=i-4|0;if(i){continue}break}}if(h){while(1){i=B(e,24)+a|0;d=d+A[i+8>>3]*A[i>>3];e=e+1|0;h=h-1|0;if(h){continue}break}}A[f+48>>3]=d;h=c&3;e:{if(l>>>0<3){e=0;d=0;break e}i=c&-4;e=0;d=0;while(1){j=d;d=A[(B(e,24)+a|0)+8>>3];j=j+d*d;d=A[(B(e|1,24)+a|0)+8>>3];j=j+d*d;d=A[(B(e|2,24)+a|0)+8>>3];j=j+d*d;d=A[(B(e|3,24)+a|0)+8>>3];d=j+d*d;e=e+4|0;i=i-4|0;if(i){continue}break}}if(h){while(1){j=d;d=A[(B(e,24)+a|0)+8>>3];d=j+d*d;e=e+1|0;h=h-1|0;if(h){continue}break}}A[f+56>>3]=d;h=c&3;f:{if(l>>>0<3){e=0;d=0;break f}i=c&-4;e=0;d=0;while(1){g=B(e,24)+a|0;d=d+A[g+8>>3]*A[g+16>>3];g=B(e|1,24)+a|0;d=d+A[g+8>>3]*A[g+16>>3];g=B(e|2,24)+a|0;d=d+A[g+8>>3]*A[g+16>>3];g=B(e|3,24)+a|0;d=d+A[g+8>>3]*A[g+16>>3];e=e+4|0;i=i-4|0;if(i){continue}break}}if(h){while(1){i=B(e,24)+a|0;d=d+A[i+8>>3]*A[i+16>>3];e=e+1|0;h=h-1|0;if(h){continue}break}}v[f+112>>2]=0;v[f+116>>2]=0;v[f+120>>2]=0;v[f+124>>2]=0;v[f+128>>2]=0;v[f+132>>2]=0;v[f+136>>2]=0;v[f+140>>2]=1072693248;A[f+64>>3]=d;h=c&3;g:{if(l>>>0<3){e=0;d=0;break g}i=c&-4;e=0;d=0;while(1){g=B(e,24)+a|0;d=d+A[g+16>>3]*A[g>>3];g=B(e|1,24)+a|0;d=d+A[g+16>>3]*A[g>>3];g=B(e|2,24)+a|0;d=d+A[g+16>>3]*A[g>>3];g=B(e|3,24)+a|0;d=d+A[g+16>>3]*A[g>>3];e=e+4|0;i=i-4|0;if(i){continue}break}}if(h){while(1){i=B(e,24)+a|0;d=d+A[i+16>>3]*A[i>>3];e=e+1|0;h=h-1|0;if(h){continue}break}}A[f+96>>3]=d;h=c&3;h:{if(l>>>0<3){e=0;d=0;break h}i=c&-4;e=0;d=0;while(1){g=B(e,24)+a|0;d=d+A[g+16>>3]*A[g+8>>3];g=B(e|1,24)+a|0;d=d+A[g+16>>3]*A[g+8>>3];g=B(e|2,24)+a|0;d=d+A[g+16>>3]*A[g+8>>3];g=B(e|3,24)+a|0;d=d+A[g+16>>3]*A[g+8>>3];e=e+4|0;i=i-4|0;if(i){continue}break}}if(h){while(1){i=B(e,24)+a|0;d=d+A[i+16>>3]*A[i+8>>3];e=e+1|0;h=h-1|0;if(h){continue}break}}A[f+104>>3]=d;h=c&3;i:{if(l>>>0<3){e=0;d=0;break i}i=c&-4;e=0;d=0;while(1){j=d;d=A[(B(e,24)+a|0)+16>>3];j=j+d*d;d=A[(B(e|1,24)+a|0)+16>>3];j=j+d*d;d=A[(B(e|2,24)+a|0)+16>>3];j=j+d*d;d=A[(B(e|3,24)+a|0)+16>>3];d=j+d*d;e=e+4|0;i=i-4|0;if(i){continue}break}}if(h){while(1){j=d;d=A[(B(e,24)+a|0)+16>>3];d=j+d*d;e=e+1|0;h=h-1|0;if(h){continue}break}}A[f+112>>3]=d}h=0;o=1;l=f+96|0;d=k;while(1){j:{e=B(h,48)+f|0;p=p/d;A[e+40>>3]=p;q=q/d;A[e+32>>3]=q;o=o/d;A[e+24>>3]=o;n=n/d;A[e+16>>3]=n;m=m/d;A[e+8>>3]=m;k=k/d;A[e>>3]=k;i=e|8;k:{if(h){d=A[(h<<3)+f>>3];A[f>>3]=A[f>>3]-d*k;A[f+8>>3]=A[f+8>>3]-d*m;A[f+16>>3]=A[f+16>>3]-d*n;A[f+24>>3]=A[f+24>>3]-d*o;A[f+32>>3]=A[f+32>>3]-d*q;A[f+40>>3]=A[f+40>>3]-d*p;if((h|0)==1){break k}}d=A[(f+48|0)+(h<<3)>>3];A[f+48>>3]=A[f+48>>3]-d*A[e>>3];A[f+56>>3]=A[f+56>>3]-d*A[i>>3];A[f+64>>3]=A[f+64>>3]-d*A[e+16>>3];A[f+72>>3]=A[f+72>>3]-d*A[e+24>>3];A[f+80>>3]=A[f+80>>3]-d*A[e+32>>3];A[f+88>>3]=A[f+88>>3]-d*A[e+40>>3];if((h|0)==2){break j}}d=A[l+(h<<3)>>3];A[f+96>>3]=A[f+96>>3]-d*A[e>>3];A[f+104>>3]=A[f+104>>3]-d*A[i>>3];A[f+112>>3]=A[f+112>>3]-d*A[e+16>>3];A[f+120>>3]=A[f+120>>3]-d*A[e+24>>3];A[f+128>>3]=A[f+128>>3]-d*A[e+32>>3];A[f+136>>3]=A[f+136>>3]-d*A[e+40>>3];h=h+1|0;e=B(h,48)+f|0;d=A[e+(h<<3)>>3];p=A[e+40>>3];q=A[e+32>>3];o=A[e+24>>3];n=A[e+16>>3];m=A[e+8>>3];k=A[e>>3];continue}break}if((c|0)>=1){d=A[f+136>>3];k=A[f+128>>3];m=A[f+120>>3];n=A[f+88>>3];o=A[f+80>>3];p=A[f+72>>3];i=0;q=A[f+40>>3];s=A[f+32>>3];t=A[f+24>>3];while(1){h=B(i,24);e=h+b|0;v[e>>2]=0;v[e+4>>2]=0;h=a+h|0;j=t*A[h>>3]+0;A[e>>3]=j;j=j+s*A[h+8>>3];A[e>>3]=j;r=A[h+16>>3];v[e+8>>2]=0;v[e+12>>2]=0;A[e>>3]=j+q*r;j=p*A[h>>3]+0;A[e+8>>3]=j;j=j+o*A[h+8>>3];A[e+8>>3]=j;r=A[h+16>>3];v[e+16>>2]=0;v[e+20>>2]=0;A[e+8>>3]=j+n*r;j=m*A[h>>3]+0;A[e+16>>3]=j;j=j+k*A[h+8>>3];A[e+16>>3]=j;A[e+16>>3]=j+d*A[h+16>>3];i=i+1|0;if((i|0)!=(c|0)){continue}break}}Ma=f+144|0}function Is(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{c=v[a+36>>2];b=v[c+16>>2];b:{if(w[b|0]!=60|w[b+1|0]!=33|(w[b+2|0]!=45|w[b+3|0]!=45)){break b}l=v[a+172>>2];v[a+172>>2]=5;k=v[c+56>>2];v[a+200>>2]=v[a+200>>2]+4;v[c+16>>2]=b+4;v[c+32>>2]=v[c+32>>2]+4;b=w[b+4|0];if((b|0)==37){zc(a);c=v[a+36>>2];b=w[v[c+16>>2]]}c:{if(b&255){break c}if((Zb(c)|0)>0){break c}xc(a)}d:{if(v[a+292>>2]){break d}e=v[a+36>>2];b=v[e+16>>2];if(!((b-v[e+12>>2]|0)<501|(v[e+20>>2]-b|0)>499)){Js(a);if(v[a+292>>2]){break d}}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break d}oc(a)}c=v[a+36>>2];d=v[c+16>>2];g=w[d|0];j=100;b=0;e:{while(1){f:{if((g&255)!=10){i=v[c+32>>2];break f}f=v[c+28>>2];g=d;while(1){i=1;v[c+32>>2]=1;f=f+1|0;v[c+28>>2]=f;e=w[g+1|0];d=g+1|0;g=d;if((e|0)==10){continue}break}}while(1){e=b;while(1){b=w[d|0];if(!(!(b>>>0>=46&b<<24>>24>-1|(b|0)==9)&(b-32&255)>>>0>12)){i=i+1|0;d=d+1|0;continue}v[c+32>>2]=i;g=w[d|0];if((g|0)==10){f=v[c+28>>2];g=d;while(1){i=1;v[c+32>>2]=1;f=f+1|0;v[c+28>>2]=f;b=w[g+1|0];d=g+1|0;g=d;if((b|0)==10){continue}break}continue}break}f=d-v[c+16>>2]|0;g:{if(!f){b=e;break g}b=v[a>>2];if(!b){b=e;break g}if(!v[b+80>>2]){b=e;break g}h:{if(!e){h=0;i:{if((g|0)==45){b=1;if(w[d+1|0]==45){break i}}b=100}j=b+f|0;b=Qa[v[256555]](j)|0;if(b){break h}break a}b=f+h|0;if(b+1>>>0>>0){b=e;break h}j=(b+j|0)+100|0;b=Qa[v[256557]](e,j)|0;if(b){break h}Qa[v[256556]](e);break a}cb(b+h|0,v[v[a+36>>2]+16>>2],f);h=f+h|0;t[h+b|0]=0}if(!(w[a+362|0]&8|h>>>0<10000001)){He(a,45,287203,0);Qa[v[256556]](b);return}c=v[a+36>>2];v[c+16>>2]=d;f=d;e=w[d|0];if((e|0)==10){v[c+32>>2]=1;v[c+28>>2]=v[c+28>>2]+1;f=d+1|0;e=w[d+1|0]}j:{if(!((e&255)!=13|w[f+1|0]!=10)){v[c+32>>2]=1;v[c+16>>2]=f+1;v[c+28>>2]=v[c+28>>2]+1;d=f+2|0;g=w[f+2|0];break j}k:{if(v[a+292>>2]){break k}l:{if((d-v[c+12>>2]|0)<501|(v[c+20>>2]-d|0)>499){break l}Xg(c);e=v[a+36>>2];if(w[v[e+16>>2]]){break l}if((Zb(e)|0)>0){break l}xc(a)}if(v[a+292>>2]){break k}e=v[a+36>>2];if((v[e+20>>2]-v[e+16>>2]|0)>249){break k}oc(a)}if(v[a+172>>2]==-1){Qa[v[256556]](b);return}c=v[a+36>>2];d=v[c+16>>2];g=w[d|0];if((g|0)!=45){break j}m:{if(w[d+1|0]!=45){g=v[c+32>>2];break m}if(w[d+2|0]==62){if((k|0)!=v[c+56>>2]){Pc(a,90,337762);c=v[a+36>>2];d=v[c+16>>2]}v[a+200>>2]=v[a+200>>2]+3;v[c+16>>2]=d+3;v[c+32>>2]=v[c+32>>2]+3;e=w[d+3|0];if((e|0)==37){zc(a);c=v[a+36>>2];e=w[v[c+16>>2]]}n:{if(e&255){break n}if((Zb(c)|0)>0){break n}xc(a)}o:{p:{q:{e=v[a>>2];if(!e){break q}d=v[e+80>>2];if(v[a+212>>2]|!d){break q}e=v[a+4>>2];if(b){Qa[d|0](e,b);break p}Qa[d|0](e,349015);break o}if(!b){break o}}Qa[v[256556]](b)}if(v[a+172>>2]!=-1){break e}break b}r:{if(b){He(a,80,339805,b);break r}He(a,80,338802,0)}d=d+1|0;c=v[a+36>>2];g=v[c+32>>2]+1|0;v[c+32>>2]=g}i=g+1|0;v[c+32>>2]=i;d=d+1|0;continue}break}e=g&255;if(g<<24>>24>-1&e>>>0>=32){continue}g=9;if((e|0)==9){continue}break}i=0;c=Ma-16|0;Ma=c;k=v[v[a+36>>2]+56>>2];e=b;s:{t:{if(b){break t}h=0;j=100;e=Qa[v[256555]](100)|0;if(e){break t}Yc(a,0);break s}u:{if(v[a+292>>2]){break u}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break u}oc(a)}v:{g=Be(a,c+12|0);if(!g){break v}w:{x:{if((g|0)<=255){if((g|0)>31){break w}if(!(1<>>0>13){break x}break w}if((g|0)<55296|g-65536>>>0<1048576|g-57344>>>0<8190){break w}}Bk(a,9,344970,g);Qa[v[256556]](e);break s}d=v[a+36>>2];b=v[d+16>>2];y:{if(w[b|0]==10){v[d+32>>2]=1;v[d+28>>2]=v[d+28>>2]+1;break y}v[d+32>>2]=v[d+32>>2]+1}b=b+v[c+12>>2]|0;v[d+16>>2]=b;if(w[b|0]==37){zc(a)}b=Be(a,c+8|0);if(!b){break v}z:{A:{if((b|0)<=255){if((b|0)>31){break z}if(!(1<>>0>13){break A}break z}if((b|0)<55296|b-65536>>>0<1048576|b-57344>>>0<8190){break z}}Bk(a,9,344970,g);Qa[v[256556]](e);break s}f=v[a+36>>2];d=v[f+16>>2];B:{if(w[d|0]==10){v[f+32>>2]=1;v[f+28>>2]=v[f+28>>2]+1;break B}v[f+32>>2]=v[f+32>>2]+1}d=d+v[c+8>>2]|0;v[f+16>>2]=d;if(w[d|0]==37){zc(a)}f=Be(a,c+4|0);if(!f){break v}while(1){d=b;C:{D:{E:{F:{G:{if((f|0)<=255){if((f|0)>31){break G}if(1<>>0<=13:0){break C}t[e+h|0]=0;if(f){break E}He(a,45,339846,e);break D}if((f|0)<55296|f-65536>>>0<1048576){break C}if(f-57344>>>0>=8190){break F}break C}if((f|0)!=62|(d|0)!=45|(g|0)!=45){break C}t[e+h|0]=0;if((k|0)!=v[v[a+36>>2]+56>>2]){Pc(a,90,337813)}Bc(a);b=v[a>>2];if(!b){break D}b=v[b+80>>2];if(v[a+212>>2]|!b){break D}Qa[b|0](v[a+4>>2],e);break D}t[e+h|0]=0}Bk(a,9,344970,f)}Qa[v[256556]](e);break s}H:{if((d|0)!=45|(g|0)!=45|(v[a+172>>2]==-1?v[a+212>>2]:0)){break H}v[a+84>>2]=80;v[c>>2]=329870;nb(0,0,0,a,0,1,80,3,0,0,0,0,340716,c);v[a+12>>2]=0;if(v[a+288>>2]){break H}v[a+212>>2]=1}if(!(w[a+362|0]&8|h>>>0<10000001)){He(a,45,287203,0);Qa[v[256556]](e);break s}I:{if(h+5>>>0>>0){b=e;break I}j=j<<1;b=Qa[v[256557]](e,j)|0;if(b){break I}Qa[v[256556]](e);Yc(a,0);break s}e=b;J:{if(v[c+12>>2]==1){t[e+h|0]=g;h=h+1|0;break J}h=ui(e+h|0,g)+h|0}v[c+12>>2]=v[c+8>>2];v[c+8>>2]=v[c+4>>2];K:{i=i+1|0;if(i>>>0<51){break K}L:{if(v[a+292>>2]){break L}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break L}oc(a)}i=0;if(v[a+172>>2]!=-1){break K}Qa[v[256556]](e);break s}g=v[a+36>>2];b=v[g+16>>2];M:{if(w[b|0]==10){v[g+32>>2]=1;v[g+28>>2]=v[g+28>>2]+1;break M}v[g+32>>2]=v[g+32>>2]+1}b=b+v[c+4>>2]|0;v[g+16>>2]=b;if(w[b|0]==37){zc(a)}g=d;b=f;f=Be(a,c+4|0);if(f){continue}N:{if(v[a+292>>2]){break N}f=v[a+36>>2];d=v[f+16>>2];O:{if((d-v[f+12>>2]|0)<501|(v[f+20>>2]-d|0)>499){break O}Xg(f);d=v[a+36>>2];if(w[v[d+16>>2]]){break O}if((Zb(d)|0)>0){break O}xc(a)}if(v[a+292>>2]){break N}d=v[a+36>>2];if((v[d+20>>2]-v[d+16>>2]|0)>249){break N}oc(a)}f=Be(a,c+4|0);continue}}He(a,45,344229,0);Qa[v[256556]](e)}Ma=c+16|0}v[a+172>>2]=l}return}Yc(a,0);v[a+172>>2]=l}function dR(a,b,c,d,e,f,g){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,u=0;m=B((e|0)>0?B(b,e):0,3)+a|0;n=d-1|0;a:{if((e|0)<1){break a}j=B(n,3)+m|0;if((c|0)>=1){o=B(c,3)+m|0;r=(c|0)<(d|0)&(c|0)<4;k=c&-4;i=c&3;s=c-1>>>0<3;while(1){a=0;h=k;if(!s){while(1){l=B(a,3)+g|0;q=w[o|0]|w[o+1|0]<<8;t[l|0]=q;t[l+1|0]=q>>>8;t[l+2|0]=w[o+2|0];l=B(a|1,3)+g|0;t[l+2|0]=w[o+2|0];q=w[o|0]|w[o+1|0]<<8;t[l|0]=q;t[l+1|0]=q>>>8;l=B(a|2,3)+g|0;t[l+2|0]=w[o+2|0];q=w[o|0]|w[o+1|0]<<8;t[l|0]=q;t[l+1|0]=q>>>8;l=B(a|3,3)+g|0;t[l+2|0]=w[o+2|0];q=w[o|0]|w[o+1|0]<<8;t[l|0]=q;t[l+1|0]=q>>>8;a=a+4|0;h=h-4|0;if(h){continue}break}}h=i;if(h){while(1){l=B(a,3)+g|0;q=w[o|0]|w[o+1|0]<<8;t[l|0]=q;t[l+1|0]=q>>>8;t[l+2|0]=w[o+2|0];a=a+1|0;h=h-1|0;if(h){continue}break}}a=c;b:{if(!r){break b}while(1){l=B(a,3);h=l+g|0;l=m+l|0;q=w[l|0]|w[l+1|0]<<8;t[h|0]=q;t[h+1|0]=q>>>8;t[h+2|0]=w[l+2|0];a=a+1|0;if((a|0)>=4){break b}if((a|0)<(d|0)){continue}break}}c:{if((a|0)>=4){break c}q=(a^-1)+4|0;h=4-a&3;if(h){while(1){l=B(a,3)+g|0;u=w[j|0]|w[j+1|0]<<8;t[l|0]=u;t[l+1|0]=u>>>8;t[l+2|0]=w[j+2|0];a=a+1|0;h=h-1|0;if(h){continue}break}}if(q>>>0<3){break c}while(1){h=B(a,3)+g|0;l=w[j|0]|w[j+1|0]<<8;t[h|0]=l;t[h+1|0]=l>>>8;t[h+2|0]=w[j+2|0];t[h+5|0]=w[j+2|0];l=w[j|0]|w[j+1|0]<<8;t[h+3|0]=l;t[h+4|0]=l>>>8;l=w[j|0]|w[j+1|0]<<8;t[h+6|0]=l;t[h+7|0]=l>>>8;t[h+8|0]=w[j+2|0];l=w[j|0]|w[j+1|0]<<8;t[h+9|0]=l;t[h+10|0]=l>>>8;t[h+11|0]=w[j+2|0];a=a+4|0;if((a|0)!=4){continue}break}}g=g+12|0;p=p+1|0;if((p|0)>=(e|0)){break a}if((p|0)<4){continue}break}break a}if((d|0)>=1){while(1){a=0;while(1){d:{k=B(a,3);h=k+g|0;k=k+m|0;i=w[k|0]|w[k+1|0]<<8;t[h|0]=i;t[h+1|0]=i>>>8;t[h+2|0]=w[k+2|0];h=a;a=a+1|0;k=(a|0)>=4;if(k){break d}if((a|0)<(d|0)){continue}}break}e:{if(k){break e}i=4-a&3;if(i){while(1){k=B(a,3)+g|0;o=w[j|0]|w[j+1|0]<<8;t[k|0]=o;t[k+1|0]=o>>>8;t[k+2|0]=w[j+2|0];a=a+1|0;i=i-1|0;if(i){continue}break}}if(2-h>>>0<3){break e}while(1){h=B(a,3)+g|0;k=w[j|0]|w[j+1|0]<<8;t[h|0]=k;t[h+1|0]=k>>>8;t[h+2|0]=w[j+2|0];t[h+5|0]=w[j+2|0];k=w[j|0]|w[j+1|0]<<8;t[h+3|0]=k;t[h+4|0]=k>>>8;k=w[j|0]|w[j+1|0]<<8;t[h+6|0]=k;t[h+7|0]=k>>>8;t[h+8|0]=w[j+2|0];k=w[j|0]|w[j+1|0]<<8;t[h+9|0]=k;t[h+10|0]=k>>>8;t[h+11|0]=w[j+2|0];a=a+4|0;if((a|0)!=4){continue}break}}g=g+12|0;p=p+1|0;if((p|0)>=(e|0)){break a}if((p|0)<4){continue}break}break a}while(1){a=0;h=4;while(1){k=B(a,3)+g|0;i=w[j|0]|w[j+1|0]<<8;t[k|0]=i;t[k+1|0]=i>>>8;t[k+2|0]=w[j+2|0];k=B(a|1,3)+g|0;t[k+2|0]=w[j+2|0];i=w[j|0]|w[j+1|0]<<8;t[k|0]=i;t[k+1|0]=i>>>8;k=B(a|2,3)+g|0;t[k+2|0]=w[j+2|0];i=w[j|0]|w[j+1|0]<<8;t[k|0]=i;t[k+1|0]=i>>>8;k=B(a|3,3)+g|0;t[k+2|0]=w[j+2|0];i=w[j|0]|w[j+1|0]<<8;t[k|0]=i;t[k+1|0]=i>>>8;a=a+4|0;h=h-4|0;if(h){continue}break}g=g+12|0;p=p+1|0;if((p|0)>=(e|0)){break a}if((p|0)<4){continue}break}}f:{if((f|0)<=(p|0)|(p|0)>=4){break f}e=c&-4;k=c&3;o=(c|0)<1;l=c-1>>>0>2;while(1){a=0;g:{if(o){break g}j=B(c,3)+m|0;i=0;h=e;if(l){while(1){a=B(i,3)+g|0;r=w[j|0]|w[j+1|0]<<8;t[a|0]=r;t[a+1|0]=r>>>8;t[a+2|0]=w[j+2|0];a=B(i|1,3)+g|0;t[a+2|0]=w[j+2|0];r=w[j|0]|w[j+1|0]<<8;t[a|0]=r;t[a+1|0]=r>>>8;a=B(i|2,3)+g|0;t[a+2|0]=w[j+2|0];r=w[j|0]|w[j+1|0]<<8;t[a|0]=r;t[a+1|0]=r>>>8;a=B(i|3,3)+g|0;t[a+2|0]=w[j+2|0];r=w[j|0]|w[j+1|0]<<8;t[a|0]=r;t[a+1|0]=r>>>8;i=i+4|0;h=h-4|0;if(h){continue}break}}h=k;a=c;if(!h){break g}while(1){a=B(i,3)+g|0;r=w[j|0]|w[j+1|0]<<8;t[a|0]=r;t[a+1|0]=r>>>8;t[a+2|0]=w[j+2|0];i=i+1|0;h=h-1|0;if(h){continue}break}a=c}h:{if((a|0)>=4|(a|0)>=(d|0)){break h}while(1){i=B(a,3);h=i+g|0;i=i+m|0;j=w[i|0]|w[i+1|0]<<8;t[h|0]=j;t[h+1|0]=j>>>8;t[h+2|0]=w[i+2|0];a=a+1|0;if((a|0)>=4){break h}if((a|0)<(d|0)){continue}break}}i:{if((a|0)>=4){break i}h=B(n,3)+m|0;r=(a^-1)+4|0;i=4-a&3;if(i){while(1){j=B(a,3)+g|0;s=w[h|0]|w[h+1|0]<<8;t[j|0]=s;t[j+1|0]=s>>>8;t[j+2|0]=w[h+2|0];a=a+1|0;i=i-1|0;if(i){continue}break}}if(r>>>0<3){break i}while(1){i=B(a,3)+g|0;j=w[h|0]|w[h+1|0]<<8;t[i|0]=j;t[i+1|0]=j>>>8;t[i+2|0]=w[h+2|0];t[i+5|0]=w[h+2|0];j=w[h|0]|w[h+1|0]<<8;t[i+3|0]=j;t[i+4|0]=j>>>8;j=w[h|0]|w[h+1|0]<<8;t[i+6|0]=j;t[i+7|0]=j>>>8;t[i+8|0]=w[h+2|0];j=w[h|0]|w[h+1|0]<<8;t[i+9|0]=j;t[i+10|0]=j>>>8;t[i+11|0]=w[h+2|0];a=a+4|0;if((a|0)!=4){continue}break}}g=g+12|0;m=B(b,3)+m|0;p=p+1|0;if((p|0)>=(f|0)){break f}if((p|0)<4){continue}break}}if((p|0)<4){k=B(b,-3)+m|0;f=k+B(n,3)|0;h=k+B(c,3)|0;b=c&-4;e=c&3;j=(c|0)<1;o=c-1>>>0>2;while(1){a=0;j:{if(j){break j}i=0;m=b;if(o){while(1){a=B(i,3)+g|0;n=w[h|0]|w[h+1|0]<<8;t[a|0]=n;t[a+1|0]=n>>>8;t[a+2|0]=w[h+2|0];a=B(i|1,3)+g|0;t[a+2|0]=w[h+2|0];n=w[h|0]|w[h+1|0]<<8;t[a|0]=n;t[a+1|0]=n>>>8;a=B(i|2,3)+g|0;t[a+2|0]=w[h+2|0];n=w[h|0]|w[h+1|0]<<8;t[a|0]=n;t[a+1|0]=n>>>8;a=B(i|3,3)+g|0;t[a+2|0]=w[h+2|0];n=w[h|0]|w[h+1|0]<<8;t[a|0]=n;t[a+1|0]=n>>>8;i=i+4|0;m=m-4|0;if(m){continue}break}}m=e;a=c;if(!m){break j}while(1){a=B(i,3)+g|0;n=w[h|0]|w[h+1|0]<<8;t[a|0]=n;t[a+1|0]=n>>>8;t[a+2|0]=w[h+2|0];i=i+1|0;m=m-1|0;if(m){continue}break}a=c}k:{if((a|0)>=4|(a|0)>=(d|0)){break k}while(1){i=B(a,3);m=i+g|0;i=i+k|0;n=w[i|0]|w[i+1|0]<<8;t[m|0]=n;t[m+1|0]=n>>>8;t[m+2|0]=w[i+2|0];a=a+1|0;if((a|0)>=4){break k}if((a|0)<(d|0)){continue}break}}l:{if((a|0)>=4){break l}n=(a^-1)+4|0;i=4-a&3;if(i){while(1){m=B(a,3)+g|0;l=w[f|0]|w[f+1|0]<<8;t[m|0]=l;t[m+1|0]=l>>>8;t[m+2|0]=w[f+2|0];a=a+1|0;i=i-1|0;if(i){continue}break}}if(n>>>0<3){break l}while(1){m=B(a,3)+g|0;i=w[f|0]|w[f+1|0]<<8;t[m|0]=i;t[m+1|0]=i>>>8;t[m+2|0]=w[f+2|0];t[m+5|0]=w[f+2|0];i=w[f|0]|w[f+1|0]<<8;t[m+3|0]=i;t[m+4|0]=i>>>8;i=w[f|0]|w[f+1|0]<<8;t[m+6|0]=i;t[m+7|0]=i>>>8;t[m+8|0]=w[f+2|0];i=w[f|0]|w[f+1|0]<<8;t[m+9|0]=i;t[m+10|0]=i>>>8;t[m+11|0]=w[f+2|0];a=a+4|0;if((a|0)!=4){continue}break}}g=g+12|0;p=p+1|0;if((p|0)!=4){continue}break}}}function n4(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=v[c+88>>2];e=v[b+88>>2];a:{b:{c:{d:{if(w[a+460|0]|!(w[a+476|0]?1:w[a+496|0])){break d}e:{if(!w[g+55|0]){break e}f:{g:{if(!w[e+55|0]){d=v[g+64>>2];break g}d=v[g+64>>2];if(d>>>0<=y[e+64>>2]){break f}}v[e+64>>2]=d;d=v[g+64>>2]}t[e+55|0]=1;if(!d){break e}if((d|0)!=1){j=d&-2;while(1){k=e+68|0;h=B(f,3);i=k+h|0;l=g+68|0;h=h+l|0;t[i|0]=w[h|0];t[i+1|0]=w[h+1|0];t[i+2|0]=w[h+2|0];h=B(f|1,3);i=h+k|0;h=h+l|0;t[i|0]=w[h|0];t[i+1|0]=w[h+1|0];t[i+2|0]=w[h+2|0];f=f+2|0;j=j-2|0;if(j){continue}break}}if(!(d&1)){break e}f=B(f,3);d=f+e|0;f=g+f|0;t[d+68|0]=w[f+68|0];t[d+69|0]=w[f+69|0];t[d+70|0]=w[f+70|0]}if(w[g+56|0]){h:{i:{switch(w[a+325|0]){case 0:d=x[g+836>>1];u[e+838>>1]=0;u[e+840>>1]=0;u[e+842>>1]=0;u[e+844>>1]=0;u[e+836>>1]=d;u[e+846>>1]=0;break h;case 2:u[e+836>>1]=0;u[e+838>>1]=x[g+838>>1];u[e+840>>1]=x[g+840>>1];d=x[g+842>>1];v[e+844>>2]=0;u[e+842>>1]=d;break h;case 3:break i;default:break h}}v[e+836>>2]=0;v[e+840>>2]=0;j:{k:{if(!w[e+56|0]){f=v[g+844>>2];break k}f=v[g+844>>2];if(f>>>0<=y[e+844>>2]){break j}}v[e+844>>2]=f;f=v[g+844>>2]}cb(e+848|0,g+848|0,f)}t[e+56|0]=1}if(w[g+61|0]){t[e+61|0]=1;t[e+1152|0]=w[g+1152|0];u[e+1154>>1]=x[g+1154>>1];u[e+1156>>1]=x[g+1156>>1];u[e+1158>>1]=x[g+1158>>1];u[e+1160>>1]=x[g+1160>>1]}if(w[g+57|0]){t[e+57|0]=1;v[e+1104>>2]=v[g+1104>>2]}if(w[g+58|0]){t[e+58|0]=1;v[e+1108>>2]=v[g+1108>>2];v[e+1112>>2]=v[g+1112>>2];v[e+1116>>2]=v[g+1116>>2];v[e+1120>>2]=v[g+1120>>2];v[e+1124>>2]=v[g+1124>>2];v[e+1128>>2]=v[g+1128>>2];v[e+1132>>2]=v[g+1132>>2];v[e+1136>>2]=v[g+1136>>2]}if(w[g+59|0]){t[e+59|0]=1;t[e+1140|0]=w[g+1140|0]}if(w[g+60|0]){t[e+60|0]=1;d=v[e+1148>>2];if(d){Qa[v[a+156>>2]](d,v[e+1144>>2])}d=Qa[v[a+152>>2]](v[g+1144>>2])|0;v[e+1148>>2]=d;if(!d){ob(a,1,0,0);return 1}cb(d,v[g+1148>>2],v[g+1144>>2]);v[e+1144>>2]=v[g+1144>>2]}if(w[a+2272|0]){break d}f=w[a+2253|0];if((f|0)==7){break d}v[a+996>>2]=0;l:{m:{n:{o:{switch(w[g+44|0]-1|0){case 1:d=854;p:{switch(w[e+44|0]-1|0){case 3:d=855;break m;case 7:d=856;break m;case 0:break m;case 15:break p;default:break l}}d=857;break m;case 3:d=858;q:{switch(w[e+44|0]-1|0){case 1:d=859;break m;case 7:d=860;break m;case 0:break m;case 15:break q;default:break l}}d=861;break m;case 7:r:{switch(w[g+45|0]){case 0:case 3:case 8:d=862;s:{switch(w[e+44|0]-1|0){case 1:d=863;break m;case 3:d=864;break m;case 0:break m;case 15:break s;default:break l}}d=865;break m;case 2:case 10:d=866;if(w[e+44|0]==16){break m}break l;case 4:case 12:d=867;if(w[e+44|0]==16){break m}break l;case 6:case 14:break r;default:break l}}d=868;if(w[e+44|0]==16){break m}break l;case 15:t:{switch(w[g+45|0]){case 2:case 10:d=869;if(w[e+44|0]==8){break m}break l;case 4:case 12:d=870;if(w[e+44|0]==8){break m}break l;case 0:case 3:case 8:break n;case 6:case 14:break t;default:break l}}d=871;if(w[e+44|0]==8){break m}break l;case 0:break o;default:break l}}d=C3a(w[e+44|0]-2|0,31);if(d>>>0>=8|!(139>>>d&1)){break l}d=v[(d<<2)+192840>>2];break m}d=w[e+44|0]-1|0;j=d&255;if(j>>>0>=8|!(139>>>j&1)){break l}d=v[(d<<24>>24<<2)+192872>>2]}v[a+996>>2]=d}v[a+1e3>>2]=0;u:{v:{w:{switch(w[e+45|0]){case 0:case 8:if(!(1<>>0>4){break c}d=w[g+45|0];if(d>>>0>8|!(1<>>0>4){break c}y:{switch(w[g+45|0]-2|0){case 0:case 8:break y;default:break c}}f=877;z:{switch(w[e+44|0]-8|0){case 0:break u;case 8:break z;default:break c}}f=878;break u;case 3:if(!(1<>>0>4){break c}switch(w[g+45|0]){case 0:case 3:break v;default:break c};case 4:case 12:if(f>>>0>6){break c}A:{B:{d=1<>>0>8|!(1<>>0>6){break c}G:{H:{d=1<>>0>=8|!(139>>>f&1)){break c}f=v[(d<<24>>24<<2)+192904>>2]}t[a+568|0]=255;v[a+1e3>>2]=f;v[a+576>>2]=1;v[a+584>>2]=1;v[a+572>>2]=v[a+2268>>2];v[a+580>>2]=v[a+2264>>2];v[a+588>>2]=v[g+36>>2];v[a+604>>2]=v[e+1168>>2];v[a+544>>2]=c;v[a+536>>2]=b;c=v[a+644>>2];b=Qa[v[a+152>>2]](v[g+1168>>2]<<1)|0;v[a+644>>2]=b;if(!b){break a}d=0;while(1){N:{b=d;e=v[g+40>>2];if(e>>>0<=d>>>0){f=0;break N}d=v[g+1168>>2];cb(v[a+644>>2],v[g+1176>>2]+B(d,b)|0,d);d=v[a+996>>2];if(d){f=Qa[d|0](a)|0;if(f){break N}}f=Qa[v[a+1e3>>2]](a)|0;if(f){break N}d=b+1|0;f=_q(a);if(!f){continue}}break}d=v[a+644>>2];if(d){Qa[v[a+156>>2]](d,v[g+1168>>2]<<1)}v[a+644>>2]=c;if(b>>>0>>0){break b}}return 0}f=1063;ob(a,1063,0,0)}return f}ob(a,1,0,0);return 1}function gI(a,b){var 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=Ma-272|0;Ma=c;v[c+60>>2]=0;v[c+64>>2]=0;a:{if(!b){IY(c+24|0);break a}v[c- -64>>2]=v[b+40>>2];d=v[b+36>>2];v[c+56>>2]=v[b+32>>2];v[c+60>>2]=d;d=v[b+28>>2];v[c+48>>2]=v[b+24>>2];v[c+52>>2]=d;d=v[b+20>>2];v[c+40>>2]=v[b+16>>2];v[c+44>>2]=d;d=v[b+12>>2];v[c+32>>2]=v[b+8>>2];v[c+36>>2]=d;d=v[b+4>>2];v[c+24>>2]=v[b>>2];v[c+28>>2]=d}v[c+68>>2]=0;b=c;e=v[c+52>>2];d=a;a=v[c+24>>2];if(!a){a=v[c+56>>2]}f=Qa[a|0](e,d,5)|0;v[b+72>>2]=f;b:{if(!f){break b}c:{d:{e:{if(Qi(c+24|0,f,0,0,2)){break e}g=Mo(c+24|0,f);j=Pa;l=gb(1028);if(!l){break e}a=!j&g>>>0<65535;o=a?g:65535;i=a?j:0;d=4;e=0;f:{while(1){if((e|0)==(i|0)&d>>>0>=o>>>0|e>>>0>i>>>0){break f}n=c+24|0;a=g;k=j;d=d+1024|0;e=d>>>0<1024?e+1|0:e;m=(e|0)==(i|0)&d>>>0>o>>>0|e>>>0>i>>>0;d=m?o:d;e=m?i:e;b=d;k=k-(e+(b>>>0>a>>>0)|0)|0;q=a-b|0;if(Qi(n,f,q,k,0)){break f}a=!e&d>>>0<1028?d:1028;if((Qa[v[c+28>>2]](v[c+52>>2],f,l,a)|0)!=(a|0)){break f}m=0;h=0;g:{if((a|0)<4){break g}b=a-3|0;a=a-4|0;while(1){n=b;b=a;a=l+a|0;if(!(w[a|0]!=80|w[l+n|0]!=75|(w[a+2|0]!=6|w[a+3|0]!=7))){a=k;h=b+q|0;a=h>>>0>>0?a+1|0:a;m=h;h=a;break g}a=b-1|0;if((b|0)>0){continue}break}}if(!(h|m)){continue}break}$a(l);if(Qi(c+24|0,f,m,h,0)){break e}if(sg(c+24|0,f,c)){break e}if(sg(c+24|0,f,c)|v[c>>2]){break e}if(pn(c+24|0,f,c+264|0)){break e}if(sg(c+24|0,f,c)|v[c>>2]!=1){break e}a=v[c+268>>2];k=a;i=v[c+264>>2];if(Qi(c+24|0,f,i,a,0)){break e}if(!(k|i)|(sg(c+24|0,f,c)|v[c>>2]!=101075792)){break e}v[c+256>>2]=1;a=c+24|0;b=Qi(a,v[c+72>>2],i,k,0);d=sg(a,v[c+72>>2],c+20|0);e=pn(a,v[c+72>>2],c);p=-1;a=v[c+72>>2];h:{if((Qa[v[c+28>>2]](v[c+52>>2],a,c+264|0,1)|0)!=1){if(Qa[v[c+48>>2]](v[c+52>>2],a)|0){break h}}if((Qa[v[c+28>>2]](v[c+52>>2],a,c+264|0,1)|0)!=1){if(Qa[v[c+48>>2]](v[c+52>>2],a)|0){break h}}p=b|(d|e)?-1:0}b=v[c+72>>2];i:{if((Qa[v[c+28>>2]](v[c+52>>2],b,c+264|0,1)|0)!=1){a=-1;if(Qa[v[c+48>>2]](v[c+52>>2],b)|0){break i}}if((Qa[v[c+28>>2]](v[c+52>>2],b,c+264|0,1)|0)!=1){a=-1;if(Qa[v[c+48>>2]](v[c+52>>2],b)|0){break i}}a=p}b=c+24|0;d=sg(b,v[c+72>>2],c+16|0);e=sg(b,v[c+72>>2],c+12|0);f=pn(b,v[c+72>>2],c+80|0);g=pn(b,v[c+72>>2],c+264|0);p=v[c+80>>2];j=v[c+84>>2];h=v[c+264>>2];n=v[c+268>>2];l=v[c+16>>2];o=v[c+12>>2];m=pn(b,v[c+72>>2],c+136|0);b=pn(b,v[c+72>>2],c+144|0);v[c+88>>2]=0;g=b|m?-1:(h|0)!=(p|0)|(j|0)!=(n|0)?-103:l|o?-103:f|g|(d|e)?-1:a;break d}$a(l)}i=0;k=0;h=v[c+72>>2];j:{if(Qi(c+24|0,h,0,0,2)){f=-1;break j}n=Mo(c+24|0,h);l=Pa;f=-1;m=gb(1028);if(!m){break j}a=!l&n>>>0<65535;q=a?n:65535;j=a?l:0;d=4;e=0;k:{while(1){i=0;k=0;if((e|0)==(j|0)&d>>>0>=q>>>0|e>>>0>j>>>0){break k}r=c+24|0;a=n;g=l;d=d+1024|0;e=d>>>0<1024?e+1|0:e;b=(e|0)==(j|0)&d>>>0>q>>>0|e>>>0>j>>>0;d=b?q:d;o=r;e=b?j:e;b=d;g=g-(e+(b>>>0>a>>>0)|0)|0;r=a-b|0;if(Qi(o,h,r,g,0)){break k}a=!e&d>>>0<1028?d:1028;if((Qa[v[c+28>>2]](v[c+52>>2],h,m,a)|0)!=(a|0)){break k}l:{if((a|0)<4){break l}b=a-3|0;a=a-4|0;while(1){o=b;b=a;a=m+a|0;if(!(w[a|0]!=80|w[m+o|0]!=75|(w[a+2|0]!=5|w[a+3|0]!=6))){a=b+r|0;k=a>>>0>>0?g+1|0:g;i=a;break l}a=b-1|0;if((b|0)>0){continue}break}}if(!(k|i)){continue}break}f=0}$a(m)}v[c+256>>2]=0;a=c+24|0;g=Qi(a,v[c+72>>2],i,k,0);j=sg(a,v[c+72>>2],c+20|0);e=v[c+72>>2];m:{n:{if((Qa[v[c+28>>2]](v[c+52>>2],e,c+264|0,1)|0)==1){a=w[c+264|0];break n}a=0;b=-1;if(Qa[v[c+48>>2]](v[c+52>>2],e)|0){break m}}o:{if((Qa[v[c+28>>2]](v[c+52>>2],e,c+264|0,1)|0)==1){d=w[c+264|0];break o}d=a;b=-1;if(Qa[v[c+48>>2]](v[c+52>>2],e)|0){break m}}p=d<<8|a;b=g|j?-1:f}v[c+16>>2]=p;e=v[c+72>>2];p:{q:{if((Qa[v[c+28>>2]](v[c+52>>2],e,c+264|0,1)|0)==1){a=w[c+264|0];break q}a=0;d=-1;if(Qa[v[c+48>>2]](v[c+52>>2],e)|0){break p}}r:{if((Qa[v[c+28>>2]](v[c+52>>2],e,c+264|0,1)|0)==1){d=w[c+264|0];break r}d=a;if(!(Qa[v[c+48>>2]](v[c+52>>2],e)|0)){break r}a=0;d=-1;break p}a=d<<8|a;d=b}v[c+12>>2]=a;e=c;h=c;s:{t:{g=v[c+72>>2];u:{if((Qa[v[c+28>>2]](v[c+52>>2],g,c+264|0,1)|0)==1){b=w[c+264|0];break u}if(Qa[v[c+48>>2]](v[c+52>>2],g)|0){break t}b=0}v:{if((Qa[v[c+28>>2]](v[c+52>>2],g,c+264|0,1)|0)==1){f=w[c+264|0];break v}f=b;if(Qa[v[c+48>>2]](v[c+52>>2],g)|0){break t}}b=b|f<<8;break s}d=-1;b=0}v[h+80>>2]=b;v[e+84>>2]=0;h=c;g=v[c+72>>2];w:{x:{if((Qa[v[c+28>>2]](v[c+52>>2],g,c+264|0,1)|0)==1){b=w[c+264|0];break x}e=-1;b=0;f=b;if(Qa[v[c+48>>2]](v[c+52>>2],g)|0){break w}}y:{if((Qa[v[c+28>>2]](v[c+52>>2],g,c+264|0,1)|0)==1){f=w[c+264|0];break y}f=b;if(!(Qa[v[c+48>>2]](v[c+52>>2],g)|0)){break y}e=-1;f=0;break w}e=d;f=f<<8|b}b=f;v[h+20>>2]=b;f=b;v[c+264>>2]=b;v[c+268>>2]=0;j=v[c+80>>2];h=v[c+84>>2];n=sg(c+24|0,v[c+72>>2],c+20|0);v[c+136>>2]=v[c+20>>2];v[c+140>>2]=0;l=sg(c+24|0,v[c+72>>2],c+20|0);v[c+144>>2]=v[c+20>>2];v[c+148>>2]=0;z:{g=v[c+72>>2];A:{B:{if((Qa[v[c+28>>2]](v[c+52>>2],g,c,1)|0)==1){b=w[c|0];break B}if(Qa[v[c+48>>2]](v[c+52>>2],g)|0){break A}b=0}if((Qa[v[c+28>>2]](v[c+52>>2],g,c,1)|0)==1){d=w[c|0];break z}d=b;if(!(Qa[v[c+48>>2]](v[c+52>>2],g)|0)){break z}}v[c+88>>2]=0;break c}v[c+88>>2]=b|d<<8;g=l|n?-1:(f|0)!=(j|0)|h?-103:a|p?-103:e}b=i;a=k;f=v[c+144>>2];d=f+v[c+136>>2]|0;e=v[c+140>>2]+v[c+148>>2]|0;e=d>>>0>>0?e+1|0:e;f=e;if(g|((e|0)==(a|0)&b>>>0>>0|a>>>0>>0)){break c}v[c+248>>2]=0;v[c+252>>2]=0;v[c+128>>2]=i;v[c+132>>2]=k;v[c+96>>2]=i-d;v[c+100>>2]=k-((d>>>0>i>>>0)+f|0);a=gb(240);if(!a){break b}s=cb(a,c+24|0,240);a=s;v[a+80>>2]=0;v[a+84>>2]=0;b=v[a+124>>2];v[a+88>>2]=v[a+120>>2];v[a+92>>2]=b;t=a,u=!fI(a,a+128|0,a+216|0,0,0),v[t+96>>2]=u;v[a+100>>2]=0;break b}Qa[v[c+44>>2]](v[c+52>>2],v[c+72>>2])|0}Ma=c+272|0;return s}function zSa(a){a=a|0;var b=0,c=0,d=C(0),e=0,f=0,g=0,h=C(0),i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,w=0,y=0,A=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=C(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;o=Ma-48|0;Ma=o;if(v[a+188>>2]){Lb(60103,25,1,v[249419])}S=ju(4-v[a+156>>2]|0);y=v[a+26336>>2];a:{if((y|0)<1){break a}e=y&3;g=y-1|0;if(g>>>0>=3){s=y&-4;b=a+59284|0;while(1){j=c<<2;d=C(z[j+b>>2]*C(32e3));b:{if(C(D(d))>2]=f;k=j|4;d=C(z[k+b>>2]*C(32e3));c:{if(C(D(d))>2]=f;k=j|8;d=C(z[k+b>>2]*C(32e3));d:{if(C(D(d))>2]=f;f=j|12;d=C(z[f+b>>2]*C(32e3));e:{if(C(D(d))>2]=j;c=c+4|0;s=s-4|0;if(s){continue}break}}if(e){while(1){b=c<<2;f=b+(o+32|0)|0;d=C(z[(a+b|0)+59284>>2]*C(32e3));f:{if(C(D(d))>2]=b;c=c+1|0;e=e-1|0;if(e){continue}break}}if((y|0)<2){break a}b=g&3;g:{if(y-2>>>0<3){c=1;break g}e=g&-4;j=a+59284|0;c=1;while(1){g=c+3|0;f=c+2|0;k=c+1|0;l=z[j+(A<<2)>>2]>2]?c:A;k=z[j+(l<<2)>>2]>2]?k:l;f=z[j+(k<<2)>>2]>2]?f:k;A=z[j+(f<<2)>>2]>2]?g:f;c=c+4|0;e=e-4|0;if(e){continue}break}}if(!b){break a}e=a+59284|0;while(1){A=z[e+(A<<2)>>2]>2]?c:A;c=c+1|0;b=b-1|0;if(b){continue}break}}e=x[a+26310>>1];s=x[a+26316>>1];b=4>>>s|0;m=(e>>>0)/(b>>>0)|0;c=x[a+26308>>1];H=(c>>>0)/(b>>>0)|0;w=B(m,H);M=Yb(w,4);if(M){g=(y|0)<1;N=C(S);d=C(C(32)/N);h:{if(C(D(d))>>0>e>>>0|b>>>0>c>>>0;P=H>>>0>1?H:1;U=w&-4;V=w&3;W=w&-2;X=w&1;k=m>>>0>1?m:1;Y=k&65532;Z=k&3;_=w-1>>>0>2;$=k-1>>>0>2;while(1){i:{if((A|0)==(I|0)){break i}i=eb(M,0,T);Q=(o+32|0)+(I<<2)|0;e=j;if(!O){e=4>>>s|0;E=B(e,e);q=0;f=e;while(1){r=B(m,q);b=0;g=e;n=B(e,q);j:{k:{l:{q=q+1|0;if(n>>>0>=B(e,q)>>>0){if(E){break j}c=0;b=Y;if($){break l}break k}while(1){F=B(b,e);t=b+1|0;m:{if(F>>>0>=B(t,e)>>>0){d=C(0);p=0;h=C(0);break m}G=v[Q>>2];K=x[a+26310>>1];aa=v[a+26352>>2];p=0;h=C(0);d=C(0);l=n;while(1){ba=B(l,K);c=F;while(1){J=(c+ba<<3)+aa|0;R=x[J+(I<<1)>>1];n:{if(((R|0)/(G|0)|0)!=1){break n}J=x[J+(A<<1)>>1];if(J>>>0<24001){break n}p=p+1|0;d=C(d+C(J>>>0));h=C(h+C(R>>>0))}c=c+1|0;if((g|0)!=(c|0)){continue}break}l=l+1|0;if((l|0)!=(f|0)){continue}break}}if((p|0)==(E|0)){z[(b+r<<2)+i>>2]=h/d}g=e+g|0;b=t;if((k|0)!=(b|0)){continue}break}break j}while(1){v[(c+r<<2)+i>>2]=2143289344;v[(r+(c|1)<<2)+i>>2]=2143289344;v[(r+(c|2)<<2)+i>>2]=2143289344;v[(r+(c|3)<<2)+i>>2]=2143289344;c=c+4|0;b=b-4|0;if(b){continue}break}}b=Z;if(!b){break j}while(1){v[(c+r<<2)+i>>2]=2143289344;c=c+1|0;b=b-1|0;if(b){continue}break}}f=e+f|0;if((q|0)!=(P|0)){continue}break}e=j}o:{while(1){if(e){g=0;if(!O){while(1){F=B(g,m);l=g+1|0;r=B(l,m);E=g-1|0;q=B(E,m);c=0;while(1){n=k;G=(c+F<<2)+i|0;if(z[G>>2]!=C(0)){f=c+1|0}else{d=C(0);b=0;p=E>>>0>=H>>>0;t=c-1|0;p:{if(p|t>>>0>=m>>>0){break p}h=z[(q+t<<2)+i>>2];if(!(h>C(0))){break p}d=C(h+C(0));b=1}q:{if(c>>>0>=m>>>0|p){break q}h=z[(c+q<<2)+i>>2];if(!(h>C(0))){break q}b=b|2;d=C(d+C(h+h))}f=c+1|0;r:{if(f>>>0>=m>>>0|p){break r}h=z[(f+q<<2)+i>>2];if(!(h>C(0))){break r}b=b+1|0;d=C(d+h)}K=g>>>0>=H>>>0;s:{if(K|f>>>0>=m>>>0){break s}h=z[(f+F<<2)+i>>2];if(!(h>C(0))){break s}b=b+2|0;d=C(d+C(h+h))}p=l>>>0>=H>>>0;t:{if(p|f>>>0>=m>>>0){break t}h=z[(f+r<<2)+i>>2];if(!(h>C(0))){break t}b=b+1|0;d=C(d+h)}u:{if(c>>>0>=m>>>0|p){break u}h=z[(c+r<<2)+i>>2];if(!(h>C(0))){break u}b=b+2|0;d=C(d+C(h+h))}v:{if(m>>>0<=t>>>0|p){break v}h=z[(r+t<<2)+i>>2];if(!(h>C(0))){break v}b=b+1|0;d=C(d+h)}w:{if(m>>>0<=t>>>0|K){break w}h=z[(t+F<<2)+i>>2];if(!(h>C(0))){break w}b=b+2|0;d=C(d+C(h+h))}if((b|0)>3){z[G>>2]=C(-C(d+N))/C(N+C(b|0))}}c=f;if((n|0)!=(c|0)){continue}break}g=l;if((g|0)!=(P|0)){continue}break}}if((w|0)<1){break o}c=0;g=0;b=W;if((w|0)!=1){while(1){f=c<<2;l=f+i|0;d=z[l>>2];if(d>2]=-d;g=1}f=(f|4)+i|0;d=z[f>>2];if(d>2]=-d;g=1}c=c+2|0;b=b-2|0;if(b){continue}break}}x:{if(!X){break x}b=(c<<2)+i|0;d=z[b>>2];if(!(d>2]=-d;g=1}e=e-1|0;if(g){continue}}break}if((w|0)<1){break o}c=0;e=U;if(_){while(1){b=c<<2;g=b+i|0;if(z[g>>2]==C(0)){v[g>>2]=1065353216}g=(b|4)+i|0;if(z[g>>2]==C(0)){v[g>>2]=1065353216}g=(b|8)+i|0;if(z[g>>2]==C(0)){v[g>>2]=1065353216}b=(b|12)+i|0;if(z[b>>2]==C(0)){v[b>>2]=1065353216}c=c+4|0;e=e-4|0;if(e){continue}break}}b=V;if(!b){break o}while(1){e=(c<<2)+i|0;if(z[e>>2]==C(0)){v[e>>2]=1065353216}c=c+1|0;b=b-1|0;if(b){continue}break}}f=0;if(O){break i}while(1){F=B(f,m);b=f+1|0;e=0;while(1){l=e+1|0;c=4>>>s|0;g=B(f,c);if(g>>>0>>0){r=(e+F<<2)+i|0;while(1){c=B(c,e);if(c>>>0>>s|0)>>>0){q=v[Q>>2];p=v[a+26352>>2];while(1){E=p+(B(x[a+26310>>1],g)+c<<3)|0;G=E+(I<<1)|0;n=x[G>>1];y:{if(((n|0)/(q|0)|0)<2){break y}t=n;d=C(z[r>>2]*C(x[E+(A<<1)>>1]));z:{if(C(D(d))=(n|0)){break y}n=(n|0)<65535?n:65535;u[G>>1]=(n|0)>0?n:0;s=x[a+26316>>1]}c=c+1|0;if(c>>>0>>s|0)>>>0){continue}break}}g=g+1|0;c=4>>>s|0;if(g>>>0>>0){continue}break}}e=l;if((k|0)!=(e|0)){continue}break}f=b;if((P|0)!=(b|0)){continue}break}}I=I+1|0;if((I|0)!=(y|0)){continue}break}}$a(M);Ma=o+48|0;return}b=v[a+190640>>2];A:{if(b){e=v[a+25208>>2];v[o+20>>2]=60292;v[o+16>>2]=e;Dc(b,4338,o+16|0);break A}b=v[a+25208>>2];v[o+4>>2]=60292;v[o>>2]=b;vb(v[249419],4338,o)}tc(a+190484|0,1);L()}function _5(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,p=0,q=0,r=0,s=0,u=0,x=0;k=Ma-32|0;Ma=k;if(c){Nb(4194,0)}a:{b:{c:{d:{e:{f:{g:{c=v[a+28>>2];switch((c>>8)-3|0){case 0:break f;case 1:break g;default:break e}}if((c|0)!=1025){Nb(8424,0)}v[k+8>>2]=3;d=Pj(a,0);v[k+12>>2]=d;if((d|0)<0){break d}g=1;c=Pj(a,1);v[k+16>>2]=c;if((c|0)<0){break d}c=Pj(a,2);v[k+20>>2]=c;if((c|0)<=-1){break d}n=3;break b}if((c|0)!=769){Nb(8424,0)}m=1;v[k+8>>2]=1;d=Pj(a,0);v[k+12>>2]=d;c=-1;if((d|0)<=-1){break c}e=256;n=1;break b}Nb(12227,0);c=-1;break a}Nb(14648,0);c=-1;break a}Nb(14648,0);break a}f=v[a+24>>2];c=v[f+(d<<2)>>2];d=v[c+24>>2];h:{if(v[c+28>>2]|(d|0)!=v[c+24>>2]|(v[c>>2]|v[c+4>>2])){break h}j=v[c+20>>2];h=v[c+16>>2];if(!m){c=v[f+(v[k+16>>2]<<2)>>2];if((h|0)!=v[c+16>>2]|(j|0)!=v[c+20>>2]|(v[c+28>>2]|(d|0)!=v[c+24>>2])){break h}if(v[c>>2]|v[c+4>>2]){break h}c=v[f+(v[k+20>>2]<<2)>>2];if((h|0)!=v[c+16>>2]|(j|0)!=v[c+20>>2]|(v[c+28>>2]|(d|0)!=v[c+24>>2])){break h}if(!g|(v[c>>2]|v[c+4>>2])){break h}}c=-1;if(!(1<>>0>8){break a}f=ZL();if(!f){break a}v[f+44>>2]=0;v[f+40>>2]=e;v[f+32>>2]=0;v[f+36>>2]=0;g=B(h,n);m=(g|0)%4|0;g=B(j,(m?4-m|0:0)+g|0);v[f+28>>2]=g;v[f+24>>2]=0;v[f+16>>2]=1;v[f+8>>2]=j;v[f+4>>2]=h;v[f>>2]=40;v[f+20>>2]=B(d,n);if(AC(b,19778)){break a}if(ok(b,g+54|0)){break a}if(ok(b,0)){break a}if(ok(b,e<<2|54)){break a}j=0;v[f>>2]=40;d=-1;i:{if(ok(b,40)){break i}if(ok(b,v[f+4>>2])){break i}if(ok(b,v[f+8>>2])){break i}if(AC(b,v[f+16>>2])){break i}if(AC(b,v[f+20>>2])){break i}if(ok(b,v[f+24>>2])){break i}if(ok(b,v[f+28>>2])){break i}if(ok(b,v[f+32>>2])){break i}if(ok(b,v[f+36>>2])){break i}if(ok(b,v[f+40>>2])){break i}if(ok(b,v[f+44>>2])){break i}d=0;if(v[f+40>>2]<1){break i}j:{while(1){d=v[b+8>>2];if(d&7){break j}k:{h=v[b+64>>2];if((h|0)>=0&(h|0)<=v[b+60>>2]){break k}v[b+4>>2]=v[b+4>>2]|32;d=v[b+28>>2];v[b+28>>2]=d-1;l:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;t[d|0]=j;break l}d=-1;if((Cb(b,j&255)|0)==-1){break i}}d=v[b+8>>2];if(d&7){break j}h=v[b+64>>2];if((h|0)>=0&(h|0)<=v[b+60>>2]){break k}v[b+4>>2]=v[b+4>>2]|32;d=v[b+28>>2];v[b+28>>2]=d-1;m:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;t[d|0]=j;break m}d=-1;if((Cb(b,j&255)|0)==-1){break i}}d=v[b+8>>2];if(d&7){break j}h=v[b+64>>2];if((h|0)>=0&(h|0)<=v[b+60>>2]){break k}v[b+4>>2]=v[b+4>>2]|32;d=v[b+28>>2];v[b+28>>2]=d-1;n:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;t[d|0]=j;break n}d=-1;if((Cb(b,j&255)|0)==-1){break i}}d=v[b+8>>2];if(d&7){break j}h=v[b+64>>2];if((h|0)>=0&(h|0)<=v[b+60>>2]){break k}v[b+4>>2]=v[b+4>>2]|32;d=v[b+28>>2];v[b+28>>2]=d-1;o:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;t[d|0]=0;break o}d=-1;if((Cb(b,0)|0)==-1){break i}}d=0;j=j+1|0;if((j|0)>2]){continue}break i}break}v[b+8>>2]=d|4}d=-1}if(d){break a}j=a;p=k+8|4;e=0;a=0;g=Ma-16|0;Ma=g;p:{q:{n=v[f+20>>2];d=(n|0)==24;if(!(d&v[f+40>>2]>=1)){m=d?3:1;eb(g+4|0,0,m<<2);break q}Nb(25987,0);e=-1;break p}r:{s:{while(1){d=Oj(1,v[f+4>>2]);v[(g+4|0)+(a<<2)>>2]=d;if(!d){break s}a=a+1|0;if((m|0)!=(a|0)){continue}break}d=v[f+8>>2];if((d|0)<=0){break r}a=(B(m,v[f+4>>2])|0)%4|0;h=a?4-a|0:0;q=v[g+12>>2];r=v[g+8>>2];s=v[g+4>>2];x=(n|0)!=24;while(1){n=d;d=d-1|0;a=0;while(1){if(pk(j,a,0,d,v[f+4>>2],1,v[(g+4|0)+(v[p+(a<<2)>>2]<<2)>>2])){break s}a=a+1|0;if((m|0)!=(a|0)){continue}break}t:{u:{v:{if(v[f+4>>2]<1){break v}a=0;if(!x){while(1){e=v[s+28>>2];if(v[s+20>>2]!=1){i=v[e+(a<<2)>>2]}else{i=v[e>>2]+(a<<2)|0}e=v[r+28>>2];if(v[r+20>>2]!=1){l=v[e+(a<<2)>>2]}else{l=v[e>>2]+(a<<2)|0}e=v[q+28>>2];if(v[q+20>>2]!=1){o=v[e+(a<<2)>>2]}else{o=v[e>>2]+(a<<2)|0}e=v[b+8>>2];if(e&7){break s}i=w[i|0];l=w[l|0];o=w[o|0];u=v[b+64>>2];if((u|0)>=0&v[b+60>>2]>=(u|0)){break u}v[b+4>>2]=v[b+4>>2]|32;e=v[b+28>>2];v[b+28>>2]=e-1;w:{if((e|0)>=1){v[b+60>>2]=v[b+60>>2]+1;e=v[b+24>>2];v[b+24>>2]=e+1;t[e|0]=o;break w}e=-1;if((Cb(b,o)|0)==-1){break r}}e=v[b+8>>2];if(e&7){break s}o=v[b+64>>2];if((o|0)>=0&(o|0)<=v[b+60>>2]){break u}v[b+4>>2]=v[b+4>>2]|32;e=v[b+28>>2];v[b+28>>2]=e-1;x:{if((e|0)>=1){v[b+60>>2]=v[b+60>>2]+1;e=v[b+24>>2];v[b+24>>2]=e+1;t[e|0]=l;break x}e=-1;if((Cb(b,l)|0)==-1){break r}}e=v[b+8>>2];if(e&7){break s}l=v[b+64>>2];if((l|0)>=0&(l|0)<=v[b+60>>2]){break u}v[b+4>>2]=v[b+4>>2]|32;e=v[b+28>>2];v[b+28>>2]=e-1;y:{if((e|0)>=1){v[b+60>>2]=v[b+60>>2]+1;e=v[b+24>>2];v[b+24>>2]=e+1;t[e|0]=i;break y}e=-1;if((Cb(b,i)|0)==-1){break r}}a=a+1|0;if((a|0)>2]){continue}break v}}while(1){i=v[(g+4|0)+(v[p>>2]<<2)>>2];e=v[i+28>>2];if(v[i+20>>2]==1){i=v[e>>2]+(a<<2)|0}else{i=v[e+(a<<2)>>2]}e=v[b+8>>2];if(e&7){break s}i=w[i|0];l=v[b+64>>2];if((l|0)>=0&(l|0)<=v[b+60>>2]){break u}v[b+4>>2]=v[b+4>>2]|32;e=v[b+28>>2];v[b+28>>2]=e-1;z:{if((e|0)>=1){v[b+60>>2]=v[b+60>>2]+1;e=v[b+24>>2];v[b+24>>2]=e+1;t[e|0]=i;break z}e=-1;if((Cb(b,i)|0)==-1){break r}}a=a+1|0;if((a|0)>2]){continue}break}}a=h;if((a|0)<=0){break t}while(1){e=v[b+8>>2];if(e&7){break s}i=v[b+64>>2];if((i|0)>=0&(i|0)<=v[b+60>>2]){break u}v[b+4>>2]=v[b+4>>2]|32;e=v[b+28>>2];v[b+28>>2]=e-1;A:{if((e|0)>=1){v[b+60>>2]=v[b+60>>2]+1;e=v[b+24>>2];v[b+24>>2]=e+1;t[e|0]=0;break A}e=-1;if((Cb(b,0)|0)==-1){break r}}e=(a|0)>1;a=a-1|0;if(e){continue}break}break t}v[b+8>>2]=e|4;break s}e=0;if((n|0)>=2){continue}break}break r}e=-1}a=0;while(1){b=v[(g+4|0)+(a<<2)>>2];if(b){ve(b)}a=a+1|0;if((m|0)!=(a|0)){continue}break}}Ma=g+16|0;if(e){break a}fr(f);c=0;break a}Nb(17509,0);c=-1}Ma=k+32|0;return c|0}function Py(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;v[g+8>>2]=0;v[g+12>>2]=0;u[g+4>>1]=0;v[g>>2]=0;v[g+16>>2]=0;v[g+20>>2]=0;v[g+24>>2]=0;v[g+28>>2]=0;t[g+29|0]=0;t[g+30|0]=0;t[g+31|0]=0;t[g+32|0]=0;t[g+33|0]=0;t[g+34|0]=0;t[g+35|0]=0;t[g+36|0]=0;a:{b:{if(!a){break b}h=v[b>>2];if((h|0)>=v[c>>2]){break b}c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{while(1){i=v[(h<<2)+a>>2];if((i|0)!=32){if((i|0)!=40){break n}h=h+1|0;v[b>>2]=h;i=0;m=v[c>>2];if((m|0)<=(h|0)){break a}j=v[(h<<2)+a>>2];if((j|0)!=32){break o}break p}h=h+1|0;v[b>>2]=h;if(v[c>>2]>(h|0)){continue}break}return 0}while(1){h=h+1|0;v[b>>2]=h;m=v[c>>2];if((m|0)<=(h|0)){break a}j=v[(h<<2)+a>>2];if((j|0)==32){continue}break}}if(j-48>>>0<10){break l}k=j-45|0;if(k>>>0>24|!(1<>2]!=v[g+40>>2]){break i}m=1;k=1;break j}k=1;if((j|0)!=101){break k}}k=IF(a,b,c);m=v[c>>2];h=v[b>>2]}if((h|0)>=(m|0)){break a}q:{while(1){r:{j=v[(h<<2)+a>>2];if((j|0)!=32){if((j|0)!=58){break a}h=h+1|0;v[b>>2]=h;j=v[c>>2];if((j|0)<=(h|0)){break a}l=v[(h<<2)+a>>2];if((l|0)!=32){break q}break r}h=h+1|0;v[b>>2]=h;if(v[c>>2]>(h|0)){continue}break a}break}while(1){h=h+1|0;v[b>>2]=h;j=v[c>>2];if((j|0)<=(h|0)){break a}l=v[(h<<2)+a>>2];if((l|0)==32){continue}break}}s:{t:{if(l-48>>>0<10){break t}m=l-45|0;if(1<>>0<=24:0){break t}m=1;if((l|0)!=101){break s}}m=IF(a,b,c);j=v[c>>2];h=v[b>>2]}if((h|0)>=(j|0)){break a}while(1){j=v[(h<<2)+a>>2];if((j|0)!=32){if((j|0)!=41){break a}v[b>>2]=h+1;break j}h=h+1|0;v[b>>2]=h;if(v[c>>2]>(h|0)){continue}break}break a}if((k|0)<1|(m|0)<1){break i}v[g+44>>2]=v[g+40>>2];h=0;n=v[e>>2];f=v[f>>2]-n|0;l=(f|0)>(k|0)?k:f;u:{if(!l){k=0;break u}k=0;p=ab((l|0)!=(l&1073741823)?-1:l<<2);if((l|0)<1){break u}i=0;while(1){f=i+1|0;v:{j=x[(i+n<<1)+d>>1];w:{if((j&63488)!=55296){i=f;break w}if(j>>>0>=56320){i=f;break v}if((f|0)>=(l|0)){break u}i=i+2|0;f=x[(f+n<<1)+d>>1];if((f&64512)!=56320){break v}j=j<<10&982016|f&1023|65536}v[(k<<2)+p>>2]=j;k=k+1|0;if((i|0)<(l|0)){continue}break u}if((i|0)<(l|0)){continue}break}}q=(k|0)>(m|0)?m:k;while(1){x:{if((h|0)<(q|0)){k=(h<<2)+p|0;d=v[g+44>>2];if((d|0)!=v[g+48>>2]){v[d>>2]=v[k>>2];v[g+44>>2]=d+4;break x}f=v[g+40>>2];i=d-f|0;n=i>>2;d=n+1|0;if(d>>>0>=1073741824){break h}j=i>>1;j=n>>>0<536870911?d>>>0>j>>>0?d:j:1073741823;if(j){if(j>>>0>=1073741824){break g}d=ab(j<<2)}else{d=0}n=d+(n<<2)|0;v[n>>2]=v[k>>2];if((i|0)>=1){cb(d,f,i)}v[g+48>>2]=d+(j<<2);v[g+44>>2]=n+4;v[g+40>>2]=d;if(!f){break x}$a(f);break x}d=v[g+44>>2];i=v[g+48>>2];if(d>>>0>>0){v[d>>2]=32;v[g+44>>2]=d+4;break x}f=v[g+40>>2];j=d-f|0;k=j>>2;d=k+1|0;if(d>>>0>=1073741824){break h}i=i-f|0;n=i>>1;i=i>>2>>>0<536870911?d>>>0>n>>>0?d:n:1073741823;if(i){if(i>>>0>=1073741824){break f}d=ab(i<<2)}else{d=0}k=d+(k<<2)|0;v[k>>2]=32;if((j|0)>=1){cb(d,f,j)}v[g+48>>2]=d+(i<<2);v[g+44>>2]=k+4;v[g+40>>2]=d;if(!f){break x}$a(f)}h=h+1|0;if((m|0)!=(h|0)){continue}break}if(p){$a(p)}v[e>>2]=l+v[e>>2]}i=0;e=v[g+44>>2];d=v[g+40>>2];if((e|0)==(d|0)){break a}v[g>>2]=v[d>>2];f=d+4|0;e=e-f|0;if(e){id(d,f,e)}v[g+44>>2]=d+e;d=v[c>>2];h=v[b>>2];if((d|0)<=(h|0)){break a}e=v[(h<<2)+a>>2];if((e|0)==32){while(1){h=h+1|0;v[b>>2]=h;d=v[c>>2];if((h|0)>=(d|0)){break a}if(v[(h<<2)+a>>2]==32){continue}break}}if(e-48>>>0<10){break d}f=e-45|0;if(f>>>0>24|!(1<>1]=d;d=v[c>>2];h=v[b>>2]}i=1;if((d|0)<=(h|0)){break a}i=v[(h<<2)+a>>2];if((i|0)==32){while(1){i=1;h=h+1|0;v[b>>2]=h;d=v[c>>2];if((h|0)>=(d|0)){break a}i=v[(h<<2)+a>>2];if((i|0)==32){continue}break}}y:{if((i|0)!=44){break y}i=1;h=h+1|0;v[b>>2]=h;d=v[c>>2];if((h|0)>=(d|0)){break a}i=v[(h<<2)+a>>2];if((i|0)==32){while(1){i=1;h=h+1|0;v[b>>2]=h;d=v[c>>2];if((h|0)>=(d|0)){break a}i=v[(h<<2)+a>>2];if((i|0)==32){continue}break}}z:{A:{if(i-48>>>0<10){break A}e=i-45|0;if((i|0)==101|(1<>>0<=24:0)){break A}t[g+34|0]=0;break z}o=Ld(a,b,c);t[g+34|0]=1;A[g+8>>3]=o;d=v[c>>2];h=v[b>>2]}i=1;if((d|0)<=(h|0)){break a}i=v[(h<<2)+a>>2];if((i|0)==32){while(1){i=1;h=h+1|0;v[b>>2]=h;d=v[c>>2];if((h|0)>=(d|0)){break a}i=v[(h<<2)+a>>2];if((i|0)==32){continue}break}}if((i|0)!=44){break y}i=1;h=h+1|0;v[b>>2]=h;d=v[c>>2];if((h|0)>=(d|0)){break a}i=v[(h<<2)+a>>2];if((i|0)==32){while(1){i=1;h=h+1|0;v[b>>2]=h;d=v[c>>2];if((h|0)>=(d|0)){break a}i=v[(h<<2)+a>>2];if((i|0)==32){continue}break}}B:{C:{if(i-48>>>0<10){break C}e=i-45|0;if((i|0)==101|(1<>>0<=24:0)){break C}t[g+35|0]=0;break B}o=Ld(a,b,c);t[g+35|0]=1;A[g+16>>3]=o;d=v[c>>2];h=v[b>>2]}i=1;if((d|0)<=(h|0)){break a}i=v[(h<<2)+a>>2];if((i|0)==32){while(1){i=1;h=h+1|0;v[b>>2]=h;d=v[c>>2];if((h|0)>=(d|0)){break a}i=v[(h<<2)+a>>2];if((i|0)==32){continue}break}}if((i|0)!=44){break y}i=1;h=h+1|0;v[b>>2]=h;d=v[c>>2];if((h|0)>=(d|0)){break a}i=v[(h<<2)+a>>2];if((i|0)==32){while(1){i=1;h=h+1|0;v[b>>2]=h;d=v[c>>2];if((h|0)>=(d|0)){break a}i=v[(h<<2)+a>>2];if((i|0)==32){continue}break}}D:{if(i-48>>>0<10){break D}e=i-45|0;if((i|0)==101|(1<>>0<=24:0)){break D}t[g+36|0]=0;break y}o=Ld(a,b,c);t[g+36|0]=1;A[g+24>>3]=o;d=v[c>>2];h=v[b>>2]}i=1;if((d|0)<=(h|0)){break a}while(1){d=v[(h<<2)+a>>2];if((d|0)!=32){i=0;if((d|0)!=59){break a}i=1;v[b>>2]=h+1;break a}h=h+1|0;v[b>>2]=h;if(v[c>>2]>(h|0)){continue}break}break a}if(!d){break a}a=v[e>>2];if((a|0)>=v[f>>2]){break a}v[e>>2]=a+1;a=x[(a<<1)+d>>1];t[g+32|0]=1;v[g>>2]=a;return 1}return i}function oGa(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,n=0,o=0,p=0,q=0,r=0,s=0;f=Ma-160|0;Ma=f;k=v[b+100>>2];h=v[b+104>>2];d=0;v[b+132>>2]=0;e=Mb(h,0);v[f+156>>2]=e;g=c>>31;l=(g+c^g)&65535;a:{if(e){break a}e=Dd(h,454080,f+152|0);v[f+156>>2]=e;if(e){break a}v[f+156>>2]=2;b:{c:{if(x[f+152>>1]!=23117){break c}e=Mb(h,x[f+154>>1]);v[f+156>>2]=e;if(e){break a}e=Dd(h,454112,f+144|0);v[f+156>>2]=e;if(e){break a}g=2;v[f+156>>2]=2;d:{e:{f:{g:{switch(x[f+144>>1]-17742|0){case 0:e=Mb(h,x[f+146>>1]+x[f+154>>1]|0);v[f+156>>2]=e;if(e){break a}e=Ed(h,x[f+148>>1]-x[f+146>>1]|0);v[f+156>>2]=e;if(e){break a}j=Lq(h);if(j>>>0>16){break b}i=Lq(h);h:{if(i){while(1){g=Lq(h);e=((v[h+8>>2]+v[h+32>>2]|0)-v[h+36>>2]|0)+4|0;if((i&65535)==32776){break h}v[h+32>>2]=(v[h+32>>2]+B(g,12)|0)+4;i=Lq(h);if(i){continue}break}}g=0;e=0}dd(h);if(!(e?g:0)){v[f+156>>2]=3;break a}if(y[h+4>>2]>>0){v[f+156>>2]=3;break a}v[b>>2]=g;if((c|0)<0){break a}if(g>>>0<=l>>>0){v[f+156>>2]=6;break a}r=b,s=cc(k,172,f+156|0),v[r+132>>2]=s;if(v[f+156>>2]){break a}e=Mb(h,e+B(l,12)|0);v[f+156>>2]=e;if(e){break c}e=Ed(h,12);v[f+156>>2]=e;if(e){break c}e=Lq(h);v[v[b+132>>2]>>2]=e<>2]+164>>2]=e<>2]=v[h+32>>2]+8;dd(h);g=XI(v[b+132>>2],h);v[f+156>>2]=g;break f;case 2:break g;default:break f}}e=Mb(h,x[f+154>>1]);v[f+156>>2]=e;if(e){break a}e=Dd(h,454144,f+120|0);v[f+156>>2]=e;if(e){break a}i:{if(!(v[f+120>>2]!=17744|x[f+124>>1]!=332|x[f+128>>1]!=224)){if(x[f+130>>1]==267){break i}}v[f+156>>2]=3;break a}g=0;v[b>>2]=0;if(!x[f+126>>1]){break e}while(1){e=Dd(h,454208,f+96|0);v[f+156>>2]=e;if(e){break a}if(v[f+132>>2]!=v[f+104>>2]){g=g+1|0;if(x[f+126>>1]<=(g&65535)>>>0){break e}continue}break}e=Mb(h,v[f+112>>2]);v[f+156>>2]=e;if(e){break a}e=Dd(h,454240,f+80|0);v[f+156>>2]=e;if(e){break a}g=0;if(x[f+94>>1]!=(0-x[f+92>>1]|0)){m=v[f+112>>2];o=m+16|0;while(1){e=Mb(h,(g<<3)+o|0);v[f+156>>2]=e;if(e){break a}e=Dd(h,454272,f+40|0);v[f+156>>2]=e;if(e){break a}e=v[f+44>>2];if((e|0)>=0){v[f+156>>2]=3;break a}e=e&2147483647;v[f+44>>2]=e;e=e+v[f+112>>2]|0;g=Mb(h,e);v[f+156>>2]=g;if(g){break a}g=Dd(h,454240,f- -64|0);v[f+156>>2]=g;if(g){break a}g=0;if(x[f+78>>1]!=(0-x[f+76>>1]|0)){p=e+16|0;j=0;while(1){e=Mb(h,(g<<3)+p|0);v[f+156>>2]=e;if(e){break a}e=Dd(h,454272,f+32|0);v[f+156>>2]=e;if(e){break a}e=v[f+36>>2];if((e|0)>=0){v[f+156>>2]=3;break a}e=e&2147483647;v[f+36>>2]=e;e=e+v[f+112>>2]|0;g=Mb(h,e);v[f+156>>2]=g;if(g){break a}g=Dd(h,454240,f+48|0);v[f+156>>2]=g;if(g){break a}g=0;if(x[f+62>>1]!=(0-x[f+60>>1]|0)){q=e+16|0;i=0;while(1){e=Mb(h,(g<<3)+q|0);v[f+156>>2]=e;if(e){break a}e=Dd(h,454272,f+24|0);v[f+156>>2]=e;if(e){break a}if(v[f+36>>2]<=-1){v[f+156>>2]=3;break a}if(v[f+40>>2]==8){e=Mb(h,v[f+28>>2]+m|0);v[f+156>>2]=e;if(e){break a}e=Dd(h,454288,f+8|0);v[f+156>>2]=e;if(e){break a}g=b;e=v[b>>2];if((e|0)==(l|0)){e=cc(k,172,f+156|0);v[b+132>>2]=e;if(v[f+156>>2]){break a}v[e>>2]=(v[f+8>>2]+v[f+112>>2]|0)-v[f+104>>2];v[e+164>>2]=v[f+12>>2];e=XI(e,h);v[f+156>>2]=e;if(e){break c}e=v[b>>2]}v[g>>2]=e+1}i=i+1|0;g=i&65535;if(g>>>0>1]+x[f+60>>1]>>>0){continue}break}}j=j+1|0;g=j&65535;if(g>>>0>1]+x[f+76>>1]>>>0){continue}break}}n=n+1|0;g=n&65535;if(g>>>0>1]+x[f+92>>1]>>>0){continue}break}}g=0}e=v[b>>2];if(!e){v[f+156>>2]=3;break a}if((e|0)>(l|0)){break d}v[f+156>>2]=6;break a}v[f+156>>2]=3;break a}if(!g){break a}}e=v[b+132>>2];if(!e){break a}g=v[b+100>>2];if(v[e+160>>2]){Oe(v[b+104>>2],e+160|0)}h=v[e+168>>2];if(h){Qa[v[g+8>>2]](g,h)}v[e+168>>2]=0;if(e){Qa[v[g+8>>2]](g,e)}v[b+132>>2]=0;break a}v[f+156>>2]=3;dd(h)}e=v[f+156>>2];v[f+96>>2]=e;j:{if(!e&(c|0)<0){break j}k:{l:{m:{if((e&255)==2){e=cc(k,172,f+96|0);v[b+132>>2]=e;d=v[f+96>>2];if(d){break j}v[b>>2]=1;d=0;v[e>>2]=0;v[e+164>>2]=v[a+4>>2];a=XI(e,a);v[f+96>>2]=a;if(!((c|0)<0|a)){if(!l){break m}v[f+96>>2]=6;break k}if(a){break k}break j}if(e){break l}}a=v[b+132>>2];if(!x[a+96>>1]){v[f+96>>2]=3;break k}v[b+4>>2]=l;c=v[b+8>>2];v[b+8>>2]=c|18;if(x[a+100>>1]==x[a+102>>1]){v[b+8>>2]=c|22}if(w[a+86|0]){v[b+12>>2]=v[b+12>>2]|1}if(x[a+90>>1]>=800){v[b+12>>2]=v[b+12>>2]|2}c=yb(k,16,0,1,0,f+96|0);v[b+32>>2]=c;if(v[f+96>>2]){break k}v[b+28>>2]=1;u[c+2>>1]=x[a+100>>1];u[c>>1]=x[a+84>>1]+x[a+96>>1];e=x[a+74>>1]<<6;v[c+4>>2]=e;d=x[a+78>>1];g=e;e=x[a+76>>1];e=e?e:72;g=fc(g,e,72)+32&-64;v[c+12>>2]=g;h=d?d:72;d=x[a+96>>1]<<6;n:{if((d|0)>=(g|0)){g=v[c+4>>2];break n}v[c+12>>2]=d;g=fc(d,72,e);v[c+4>>2]=g}r=c,s=fc(g,h,72)+32&-64,v[r+8>>2]=s;v[f+120>>2]=b;v[f+124>>2]=0;v[f+128>>2]=0;if(w[a+92|0]==77){u[f+128>>1]=1;v[f+124>>2]=1634889070}c=gk(454028,0,f+120|0,0);v[f+96>>2]=c;if(c){break k}c=w[a+105|0];d=w[a+104|0];if(c>>>0>>0){v[f+96>>2]=3;break k}v[b+16>>2]=(c-d|0)+2;c=v[a+8>>2];d=v[a+116>>2];if(c>>>0<=d>>>0){v[f+96>>2]=3;break k}c=c-d|0;d=cc(k,c+1|0,f+96|0);v[a+168>>2]=d;if(v[f+96>>2]){break k}cb(d,v[a+160>>2]+v[a+116>>2]|0,c);t[c+v[a+168>>2]|0]=0;d=a;a=v[a+168>>2];a=yb(k,1,c,zb(a)+1|0,a,f+96|0);v[d+168>>2]=a;if(v[f+96>>2]){break k}v[b+24>>2]=240100;v[b+20>>2]=a;c=v[b+12>>2];a=c&1;if(c&2){if(a){v[b+24>>2]=296438;d=0;break j}v[b+24>>2]=288358;d=0;break j}d=0;if(!a){break j}v[b+24>>2]=296463;break j}d=e;if(!b){break j}}a=v[b+100>>2];d=v[b+132>>2];if(d){if(v[d+160>>2]){Oe(v[b+104>>2],d+160|0)}c=a;e=v[d+168>>2];if(e){Qa[v[c+8>>2]](c,e)}v[d+168>>2]=0;if(d){Qa[v[a+8>>2]](a,d)}v[b+132>>2]=0}c=v[b+32>>2];if(c){Qa[v[a+8>>2]](a,c)}v[b+28>>2]=0;v[b+32>>2]=0;d=v[f+96>>2]}Ma=f+160|0;return d|0}function bTa(a){a=a|0;var 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,w=0;f=Ma-224|0;Ma=f;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],7,1)|0;v[285944]=0;v[285945]=0;v[285943]=0;c=x[a+26308>>1];if(c){h=v[249419];b=x[a+26310>>1];while(1){v[f+208>>2]=0;v[f+212>>2]=0;v[f+200>>2]=0;v[f+204>>2]=0;v[f+192>>2]=0;v[f+196>>2]=0;g=b&65535;b=0;if(g){r=n<<1&14;s=n-2|0;t=s<<1&14;m=0;while(1){p=m&1;g=(f+192|0)+B(p,12)|0;j=v[g+8>>2];c=((j|0)<3)<<1;d=32-(c+E(x[g>>1])|0)|0;c=c+2|0;k=(c|0)<(d|0)?d:c;l=0;w=0;d=v[285945];a:{b:{if(d){break b}d=v[285944];c:{if((d|0)>=1){b=v[285943];break c}while(1){d:{e:{c=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;f:{if((c|0)==-1){if(!v[a+26160>>2]){v[f+176>>2]=v[a+25208>>2];vb(h,8292,f+176|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,h);v[a+26160>>2]=1;break f}d=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[f+160>>2]=d;v[f+164>>2]=d>>31;vb(h,14622,f+160|0)}v[a+26160>>2]=1;break f}if(!v[a+26144>>2]){break f}if((c|0)==255){break e}}v[285945]=0;break d}d=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[285945]=(d|0)!=0;if(!d){break d}d=1;break b}e=v[285944];d=e+8|0;v[285944]=d;b=c&255|v[285943]<<8;v[285943]=b;if((e|0)<-7){continue}break}}c=d-1|0;v[285944]=c;l=b<<32-d>>31;g:{if((d|0)>=3){b=v[285943];break g}while(1){h:{i:{d=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;j:{if((d|0)==-1){if(!v[a+26160>>2]){v[f+144>>2]=v[a+25208>>2];vb(h,8292,f+144|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,h);v[a+26160>>2]=1;break j}c=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[f+128>>2]=c;v[f+132>>2]=c>>31;vb(h,14622,f+128|0)}v[a+26160>>2]=1;break j}if(!v[a+26144>>2]){break j}if((d|0)==255){break i}}v[285945]=0;break h}c=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[285945]=(c|0)!=0;if(!c){break h}d=1;break b}e=v[285944];c=e+8|0;v[285944]=c;b=d&255|v[285943]<<8;v[285943]=b;if((e|0)<-6){continue}break}}d=0;v[285944]=c-2;w=b<<32-c>>>30|0;e=0;i=0;while(1){k:{if(e){break k}c=v[285944];l:{if((c|0)>=1){b=v[285943];break l}while(1){m:{n:{b=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;o:{if((b|0)==-1){if(!v[a+26160>>2]){v[f+112>>2]=v[a+25208>>2];vb(h,8292,f+112|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,h);v[a+26160>>2]=1;break o}c=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[f+96>>2]=c;v[f+100>>2]=c>>31;vb(h,14622,f+96|0)}v[a+26160>>2]=1;break o}if(!v[a+26144>>2]){break o}if((b|0)==255){break n}}v[285945]=0;break m}c=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[285945]=(c|0)!=0;if(!c){break m}d=1;e=1;break k}d=0;e=v[285944];c=e+8|0;v[285944]=c;b=b&255|v[285943]<<8;v[285943]=b;if((e|0)<-7){continue}break}}e=0;v[285944]=c-1;if(b<<32-c>=0){break k}if((i|0)==12){break b}break a}i=i+1|0;if((i|0)!=12){continue}break}}c=16-k|0;p:{if((c|0)==-1){d=0;v[285944]=0;v[285945]=0;v[285943]=0;e=0;break p}e=0;if(d|!c){break p}e=v[285944];q:{if((c|0)<=(e|0)){b=v[285943];break q}while(1){r:{s:{d=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;t:{if((d|0)==-1){if(!v[a+26160>>2]){v[f+80>>2]=v[a+25208>>2];vb(h,8292,f+80|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,h);v[a+26160>>2]=1;break t}b=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[f+64>>2]=b;v[f+68>>2]=b>>31;vb(h,14622,f- -64|0)}v[a+26160>>2]=1;break t}if(!v[a+26144>>2]){break t}if((d|0)==255){break s}}v[285945]=0;break r}e=0;b=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[285945]=(b|0)!=0;if(!b){break r}d=1;break p}e=v[285944]+8|0;v[285944]=e;b=d&255|v[285943]<<8;v[285943]=b;if((c|0)>(e|0)){continue}break}}d=0;c=e-c|0;v[285944]=c;o=b;b=k+16|0;e=o<>>b|0}i=e>>>1|0}i=i<>2]+28>>2]](v[a+4>>2])|0;w:{if((d|0)==-1){if(!v[a+26160>>2]){v[f+48>>2]=v[a+25208>>2];vb(h,8292,f+48|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,h);v[a+26160>>2]=1;v[285945]=0;break w}b=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[f+32>>2]=b;v[f+36>>2]=b>>31;vb(h,14622,f+32|0)}v[a+26160>>2]=1;v[285945]=0;break w}if(!((d|0)==255?v[a+26144>>2]:0)){v[285945]=0;break w}e=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[285945]=(e|0)!=0;b=0;if(e){break u}}e=v[285944]+8|0;v[285944]=e;b=d&255|v[285943]<<8;v[285943]=b;if((e|0)<(k|0)){continue}break}}d=e-k|0;v[285944]=d;o=b;b=32-k|0;b=o<>>b|0}c=b|i;v[q>>2]=c;d=v[g+4>>2];q=d+(c^l)|0;v[g+4>>2]=B(q,3)+d>>5;v[g+8>>2]=(c|0)>16?0:j+1|0;g=x[a+26316>>1];k=v[a+26352>>2];c=n>>>0>1;x:{if(!(c|m>>>0>1)){c=x[a+26320>>1];d=v[a+26028>>2];b=0;break x}if(!c){c=x[a+26320>>1];d=v[a+26028>>2];b=x[(k+(B(c,n>>>g|0)+(m-2>>g)<<3)|0)+((d>>>((p|r)<<1)&3)<<1)>>1];break x}if(m>>>0<=1){c=x[a+26320>>1];d=v[a+26028>>2];b=x[(k+(B(c,s>>g)+(m>>>g|0)<<3)|0)+((d>>>((p|t)<<1)&3)<<1)>>1];break x}d=v[a+26028>>2];l=(d>>>((p|t)<<1)&3)<<1;c=x[a+26320>>1];b=B(c,s>>g);e=x[l+(k+(b+(m>>>g|0)<<3)|0)>>1];j=m-2>>g;i=x[(k+(j+B(n>>>g|0,c)<<3)|0)+((d>>>((p|r)<<1)&3)<<1)>>1];b=x[l+(k+(b+j<<3)|0)>>1];if(!(!(i>>>0>>0&b>>>0>>0)&(b>>>0<=e>>>0|b>>>0>=i>>>0))){j=i-b|0;l=j>>31;y:{if((l^l+j)>>>0<=32){j=e-b|0;l=j>>31;if((l^l+j)>>>0<33){break y}}b=(e+i|0)-b|0;break x}b=e+i>>>1|0;break x}j=i-b|0;l=j>>31;o=e-b|0;b=o>>31;b=(l^l+j)>>>0>(b^b+o)>>>0?i:e}o=(k+(B(n>>>g|0,c)+(m>>>g|0)<<3)|0)+((d>>>((p|r)<<1)&3)<<1)|0;g=b+(q<<2|w)|0;u[o>>1]=g;if(g&61440){z:{if(v[a+26160>>2]){break z}v[f+16>>2]=v[a+25208>>2];vb(h,8292,f+16|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,h);break z}g=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[f>>2]=g;v[f+4>>2]=g>>31;vb(h,14622,f)}v[a+26160>>2]=1}b=x[a+26310>>1];m=m+1|0;if(b>>>0>m>>>0){continue}break}c=x[a+26308>>1]}n=n+1|0;if(n>>>0<(c&65535)>>>0){continue}break}}Ma=f+224|0}function U4(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=2;a:{b:{if(!a|v[a>>2]!=1381173770){break b}if(!w[a+432|0]){break a}v[a+148>>2]=0;v[a+140>>2]=0;v[a+144>>2]=0;t[a+136|0]=0;v[a+132>>2]=0;c:{d:{if(w[a+344|0]?1:w[a+496|0]){if(!(w[a+499|0]?1:w[a+497|0]|w[a+368|0])){break a}t[a+499|0]=0;t[a+497|0]=0;if(w[a+344|0]){e:{if(w[a+368|0]){f=a,g=v[a+484>>2]-v[a+364>>2]+Qa[v[a+236>>2]](a)|0,v[f+484>>2]=g;break e}f=a,g=Qa[v[a+236>>2]](a)|0,v[f+484>>2]=g}t[a+368|0]=0;c=q4(a);if(!w[a+346|0]){break c}t[a+344|0]=0;yL(a);break c}f=a,g=Qa[v[a+236>>2]](a)|0,v[f+484>>2]=g;break d}b=Qa[v[a+236>>2]](a)|0;t[a+496|0]=1;v[a+484>>2]=b}f:{if(!(w[a+498|0]|!(v[a+472>>2]?1:v[a+464>>2]|v[a+468>>2]))){v[a+680>>2]=0;v[a+672>>2]=0;t[a+476|0]=1;v[a+664>>2]=0;v[a+656>>2]=0;u[a+648>>1]=256;v[a+580>>2]=0;v[a+584>>2]=1;v[a+572>>2]=0;v[a+576>>2]=1;t[a+568|0]=255;d=v[a+16>>2];v[a+676>>2]=d;b=v[a+20>>2];v[a+684>>2]=b;v[a+668>>2]=b;v[a+660>>2]=d;v[a+588>>2]=d;v[a+604>>2]=d<<2;Yw(a);b=Qa[v[a+152>>2]](v[a+604>>2])|0;v[a+644>>2]=b;if(!b){ob(a,1,0,0);b=1;break f}c=v[a+680>>2];while(1){g:{if(v[a+684>>2]<=(c|0)){b=0;break g}b=Qa[v[a+968>>2]](a)|0;if(b){break g}c=c+1|0;b=_q(a);if(!b){continue}}break}d=v[a+644>>2];if(d){Qa[v[a+156>>2]](d,v[a+604>>2]);v[a+644>>2]=0}if(b){break f}v[a+516>>2]=v[a+696>>2]}c=w[a+476|0];while(1){if(c&255){t[a+497|0]=0}b=w[a+498|0]-1|0;h:{if((b&255)>>>0<=97){i:{switch(b|0){case 0:b=nL(a,0,0,0,0,0,0,0,0,0,0,0);t[a+498|0]=0;break h;case 2:case 3:Xw(a);b=0;break h;case 4:b=0;$g(a,v[a+532>>2],0);t[a+498|0]=0;break h;case 8:d=a;c=x[a+2322>>1];j:{if(c>>>0<=x[a+2324>>1]){while(1){b=9;if(w[a+497|0]){break j}u[a+2322>>1]=c;b=c&65535;k:{if(!b){break k}b=ig(a,b);if(!b|w[b+30|0]|(!w[b+31|0]|!w[b+32|0])){break k}b=$g(a,b,0);if(b){break h}}c=c+1|0;if(x[a+2324>>1]>=(c&65535)>>>0){continue}break}}b=w[a+497|0]?9:0}t[d+498|0]=b;b=0;break h;case 9:b=0;t[a+1124|0]=0;gp(a);break h;case 10:c=a;d=x[a+2326>>1];l:{if(d){b=ig(a,d);break l}b=v[a+528>>2]}b=$g(c,b,0);if(b){break h}b=0;t[a+498|0]=0;break h;default:break i}}ob(a,999,0,0);b=999;break f}b=v[a+516>>2];if(!b){b=0;break h}b=Qa[v[b+4>>2]](a,b)|0}c=w[a+497|0];if(!c){t[a+498|0]=0}m:{if(b){break m}b=0;d=v[a+516>>2];if(w[a+499|0]|(c|!d)){break m}c=v[d+8>>2];v[a+516>>2]=c;if(!(c|v[a+12>>2]!=2)){b=ZB(a);c=v[a+516>>2]}if(c){break m}t[a+502|0]=1}c=w[a+476|0];n:{if(!c){c=0;break n}d=v[a+464>>2];o:{if(!(!d|d>>>0>y[a+436>>2])){v[a+464>>2]=0;break o}d=v[a+468>>2];if(!(!d|d>>>0>y[a+440>>2])){v[a+468>>2]=0;break o}d=v[a+472>>2];if(!d|d>>>0>y[a+444>>2]){break n}v[a+472>>2]=0}c=0;t[a+476|0]=0}if(b){break f}p:{if(!v[a+516>>2]|!(c?1:w[a+497|0]?0:w[a+496|0])){break p}if(w[a+499|0]){break p}if(!w[a+500|0]){continue}}break}q:{if(!w[a+497|0]){if(!w[a+502|0]){break q}b=qL(a);if(b){break f}if(!w[a+497|0]){break q}}b=0;if(w[a+498|0]){break f}t[a+498|0]=99;break f}b=0;t[a+498|0]=0;if(v[a+516>>2]){break f}t[a+496|0]=0}c=b}if(c){break b}if(w[a+368|0]){f=a,g=Qa[v[a+236>>2]](a)|0,v[f+364>>2]=g;return 14}c=15;if(w[a+497|0]){break b}c=16;if(w[a+499|0]){break b}c=0;t[a+496|0]=0;if(w[a+500|0]){t[a+500|0]=0}if(!w[a+501|0]){break b}t[a+432|0]=0;yL(a);b=v[a+548>>2];r:{if(!b){break r}e=v[b+1120>>2];s:{if(!e){break s}d=v[b+1124>>2];if(!d){break s}Qa[v[a+156>>2]](d,e);b=v[a+548>>2];if(!b){break r}}Qa[v[a+156>>2]](b,1136);v[a+548>>2]=0}m4(a);b=v[a+688>>2];if(b){while(1){d=v[b+8>>2];Qa[v[b>>2]](a,b)|0;b=d;if(b){continue}break}}v[a+688>>2]=0;v[a+692>>2]=0;v[a+524>>2]=0;v[a+508>>2]=0;t[a+504|0]=0;t[a+460|0]=0;v[a+444>>2]=0;v[a+436>>2]=0;v[a+440>>2]=0;t[a+433|0]=0;v[a+516>>2]=0;t[a+1062|0]=0;u[a+1060>>1]=0;v[a+332>>2]=0;v[a+464>>2]=0;v[a+468>>2]=0;v[a+480>>2]=0;v[a+484>>2]=0;t[a+469|0]=0;t[a+470|0]=0;t[a+471|0]=0;t[a+472|0]=0;t[a+473|0]=0;t[a+474|0]=0;t[a+475|0]=0;t[a+476|0]=0;v[a+488>>2]=0;v[a+492>>2]=0;t[a+495|0]=0;t[a+496|0]=0;t[a+497|0]=0;t[a+498|0]=0;t[a+499|0]=0;t[a+500|0]=0;t[a+501|0]=0;t[a+502|0]=0;v[a+560>>2]=0;v[a+564>>2]=0;v[a+552>>2]=0;v[a+556>>2]=0;v[a+1016>>2]=0;t[a+1019|0]=0;t[a+1020|0]=0;t[a+1021|0]=0;t[a+1022|0]=0;v[a+1024>>2]=0;v[a+1028>>2]=0;t[a+1032|0]=0;v[a+1036>>2]=0;v[a+1040>>2]=0;b=a+1044|0;v[b>>2]=0;v[b+4>>2]=0;b=a+1051|0;t[b|0]=0;t[b+1|0]=0;t[b+2|0]=0;t[b+3|0]=0;t[b+4|0]=0;t[b+5|0]=0;t[b+6|0]=0;t[b+7|0]=0;v[a+1084>>2]=1;v[a+1088>>2]=2147483647;t[a+1092|0]=0;t[a+1080|0]=1;v[a+1096>>2]=0;v[a+1100>>2]=0;b=a+1104|0;v[b>>2]=0;v[b+4>>2]=0;t[a+1124|0]=0;t[a+1112|0]=1;v[a+1116>>2]=1;v[a+1120>>2]=2147483647;v[a+1128>>2]=0;v[a+1132>>2]=0;b=a+1136|0;v[b>>2]=0;v[b+4>>2]=0;v[a+1932>>2]=0;v[a+1160>>2]=0;t[a+1148|0]=0;v[a+1144>>2]=1;b=a+2221|0;t[b|0]=0;t[b+1|0]=0;t[b+2|0]=0;t[b+3|0]=0;t[b+4|0]=0;t[b+5|0]=0;t[b+6|0]=0;t[b+7|0]=0;u[a+1150>>1]=0;u[a+1152>>1]=0;u[a+1154>>1]=0;u[a+1156>>1]=0;b=a+2216|0;v[b>>2]=0;v[b+4>>2]=0;b=a+2208|0;v[b>>2]=0;v[b+4>>2]=0;b=a+2200|0;v[b>>2]=0;v[b+4>>2]=0;v[a+2192>>2]=0;v[a+2196>>2]=0;d=v[a+2232>>2];t:{if(!d){break t}b=v[a+2236>>2];if(!b){break t}Qa[v[a+156>>2]](b,d);v[a+2236>>2]=0}v[a+2336>>2]=0;v[a+2328>>2]=0;v[a+2332>>2]=0;u[a+2324>>1]=0;u[a+2252>>1]=0;v[a+2248>>2]=0;u[a+2244>>1]=0;v[a+2240>>2]=0;v[a+2232>>2]=0;v[a+2256>>2]=0;v[a+2260>>2]=0;v[a+2276>>2]=0;v[a+2280>>2]=0;v[a+2308>>2]=0;v[a+2312>>2]=0;b=a+2264|0;v[b>>2]=0;v[b+4>>2]=0;t[a+2272|0]=0;b=a+2284|0;v[b>>2]=0;v[b+4>>2]=0;b=a+2292|0;v[b>>2]=0;v[b+4>>2]=0;b=a+2299|0;t[b|0]=0;t[b+1|0]=0;t[b+2|0]=0;t[b+3|0]=0;t[b+4|0]=0;t[b+5|0]=0;t[b+6|0]=0;t[b+7|0]=0;a=a+2314|0;u[a>>1]=0;u[a+2>>1]=0;u[a+4>>1]=0;u[a+6>>1]=0}return c}ob(a,11,0,0);return 11}function iR(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0;z=Ma-32|0;Ma=z;v[a+8>>2]=0;v[a>>2]=977532;v[a+4>>2]=0;v[a+12>>2]=v[279250];Oc(a+16|0,977454);v[a+24>>2]=0;g=v[279250];t[a+88|0]=0;v[a+68>>2]=1;u[a+64>>1]=0;v[a+60>>2]=0;u[a+56>>1]=0;v[a+48>>2]=-1;v[a+52>>2]=50;v[a+40>>2]=255;v[a+44>>2]=1;t[a+36|0]=0;v[a+32>>2]=0;v[a+28>>2]=g;v[a+92>>2]=d;t[a+89|0]=e;v[a>>2]=977616;d=a+100|0;v[d+20>>2]=-1;v[d+12>>2]=-1;v[d+16>>2]=0;v[d+4>>2]=0;v[d+8>>2]=0;v[d>>2]=971392;e=a+124|0;v[e+20>>2]=-1;v[e+12>>2]=-1;v[e+16>>2]=0;v[e+4>>2]=0;v[e+8>>2]=0;v[e>>2]=971392;g=v[a+92>>2];v[a+96>>2]=g-w[a+89|0];pi(d,0,g-1|0);pi(e,0,v[a+92>>2]-1|0);a:{if(v[a+92>>2]>0){d=v[a+128>>2];e=v[a+104>>2];while(1){if(v[a+120>>2]<(h|0)|v[a+116>>2]>(h|0)){break a}g=h<<2;v[e+(h-v[a+108>>2]<<2)>>2]=v[g+b>>2];if(v[a+144>>2]<(h|0)|v[a+140>>2]>(h|0)){break a}v[d+(h-v[a+132>>2]<<2)>>2]=v[c+g>>2];h=h+1|0;if((h|0)>2]){continue}break}}c=0;o=Ma-32|0;Ma=o;e=a;b:{c:{d=v[a+96>>2];d:{if((d|0)<1){break d}while(1){h=c;c=h+1|0;f=v[e+128>>2];j=v[e+104>>2];e:{while(1){f:{g=v[e+116>>2];if((h|0)>=(g|0)){m=v[e+120>>2];if((m|0)>=(h|0)){break f}}break c}b=v[e+92>>2];a=(c|0)%(b|0)|0;if((g|0)>(a|0)|(a|0)>(m|0)){break c}i=v[e+108>>2];if(v[j+(h-i<<2)>>2]!=v[j+(a-i<<2)>>2]){break e}i=v[e+140>>2];if((i|0)>(h|0)){break c}k=v[e+144>>2];if((k|0)<(h|0)|(a|0)<(i|0)|(a|0)>(k|0)){break c}i=v[e+132>>2];if(v[f+(h-i<<2)>>2]!=v[f+(a-i<<2)>>2]){break e}g:{b=b-1|0;if((b|0)>(a|0)){b=a+1|0;if((g|0)>(b|0)|(a|0)>=(m|0)){break g}h:{while(1){if((a|0)<(g|0)){break c}d=v[e+108>>2];v[j+(a-d<<2)>>2]=v[j+(b-d<<2)>>2];d=b;b=v[e+140>>2];if((d|0)<(b|0)|v[e+144>>2]<=(a|0)|(a|0)<(b|0)){break c}b=a;a=v[e+132>>2];v[f+(b-a<<2)>>2]=v[f+(d-a<<2)>>2];b=v[e+92>>2]-1|0;if((d|0)>=(b|0)){break h}b=d+1|0;g=v[e+116>>2];if((b|0)<(g|0)){break g}a=d;if((a|0)>2]){continue}break}break g}d=v[e+96>>2]}v[e+92>>2]=b;d=d-1|0;v[e+96>>2]=d;if(b){continue}break d}break}break c}if((c|0)<(d|0)){continue}break}c=0;if((d|0)<=0){break d}s=w[e+89|0];i:while(1){h=c;l=h+2|0;c=h+1|0;f=v[e+128>>2];j=v[e+104>>2];while(1){j:{k:{l:{if((c|0)>=(d|0)?s:0){break l}m:{g=v[e+116>>2];if((h|0)>=(g|0)){m=v[e+120>>2];if((m|0)>=(h|0)){break m}}break c}i=v[e+140>>2];if((i|0)>(h|0)){break c}k=v[e+144>>2];if((k|0)<(h|0)){break c}n=v[e+92>>2];a=(c|0)%(n|0)|0;if((g|0)>(a|0)|(a|0)>(m|0)|((a|0)<(i|0)|(a|0)>(k|0))){break c}b=(l|0)%(n|0)|0;if((b|0)<(g|0)|(b|0)>(m|0)|((b|0)<(i|0)|(b|0)>(k|0))){break c}i=v[e+108>>2];p=v[j+(a-i<<2)>>2];k=v[e+132>>2];r=v[f+(a-k<<2)>>2];if((B(p-v[j+(b-i<<2)>>2]|0,r-v[f+(h-k<<2)>>2]|0)|0)!=(B(r-v[f+(b-k<<2)>>2]|0,p-v[j+(h-i<<2)>>2]|0)|0)){break l}b=n-1|0;if((b|0)<=(a|0)){break j}b=a+1|0;if((g|0)>(b|0)|(a|0)>=(m|0)){break c}while(1){if((a|0)<(g|0)){break c}d=v[e+108>>2];v[j+(a-d<<2)>>2]=v[j+(b-d<<2)>>2];d=b;b=v[e+140>>2];if((d|0)<(b|0)|v[e+144>>2]<=(a|0)|(a|0)<(b|0)){break c}b=a;a=v[e+132>>2];v[f+(b-a<<2)>>2]=v[f+(d-a<<2)>>2];b=v[e+92>>2]-1|0;if((d|0)>=(b|0)){break k}b=d+1|0;g=v[e+116>>2];if((b|0)<(g|0)){break c}a=d;if((a|0)>2]){continue}break}break c}if((c|0)<(d|0)){continue i}break d}d=v[e+96>>2]}v[e+92>>2]=b;d=d-1|0;v[e+96>>2]=d;if(b){continue}break}break}}Ma=o+32|0;break b}lb(mb(o+8|0,227376,271519,619,306765));L()}c=0;K=Ma-32|0;Ma=K;d=977824;n:{o:{a=w[e+89|0];k=v[e+92>>2];p:{if(((k|0)<2?a:0)|!a&(k|0)<3){break p}d=349015;g=v[e+96>>2];if((g|0)<1){break p}A=v[e+132>>2];C=v[e+128>>2];D=v[e+144>>2];E=v[e+140>>2];F=v[e+108>>2];G=v[e+104>>2];H=v[e+120>>2];I=v[e+116>>2];while(1){b=c;c=b+1|0;a=b+2|0;q:{if((g|0)<=(a|0)){break q}if(!((b|0)<=(H|0)&(b|0)>=(I|0))){while(1){a=a+1|0;if((b|0)!=((a|0)%(k|0)|0)){break o}if((a|0)!=(g|0)){continue}break q}}if((b|0)<(E|0)|(b|0)>(D|0)){while(1){a=a+1|0;if((b|0)!=((a|0)%(k|0)|0)){break o}if((a|0)!=(g|0)){continue}break q}}if(!((c|0)<(I|0)|(b|0)>=(H|0))){P=(c|0)<(E|0)|(b|0)>=(D|0);Q=C+(b-A<<2)|0;R=(b-F<<2)+G|0;S=C+(c-A<<2)|0;T=(c-F<<2)+G|0;r:{while(1){s:{h=a+1|0;f=(h|0)%(k|0)|0;if((f|0)==(b|0)){break s}if((a|0)<(I|0)|P|((a|0)<(E|0)|(a|0)>(H|0))){break o}if((f|0)<(I|0)|(a|0)>(D|0)|(f|0)>(H|0)){break o}if((f|0)<(E|0)|(f|0)>(D|0)){break r}x=v[T>>2];j=v[R>>2];m=x-j|0;y=v[S>>2];o=v[Q>>2];i=y-o|0;n=v[(a-F<<2)+G>>2];J=j-n|0;s=v[C+(f-A<<2)>>2];l=v[C+(a-A<<2)>>2];p=s-l|0;M=l-o|0;f=v[(f-F<<2)+G>>2];r=f-n|0;a=B(J,p)+B(M,r)|0;N=x-n|0;O=l-y|0;q=B(p,N)+B(r,O)|0;t:{u:{if(!(a|q)){q=B(p,o-l|0)+B(r,J)|0;J=(q|0)>-1?(q|0)!=0:-1;q=B(p,o-s|0)+B(r,j-f|0)|0;a=1;if((B(J,(q|0)>-1?(q|0)!=0:-1)|0)<1){break u}l=B(p,y-l|0)+B(r,N)|0;q=(l|0)>-1?(l|0)!=0:-1;l=B(p,y-s|0)+B(r,x-f|0)|0;a=1;if((B(q,(l|0)>-1?(l|0)!=0:-1)|0)<1){break u}l=B(i,M)+B(m,n-j|0)|0;n=B(i,O)+B(m,n-x|0)|0;a=1;if((B((l|0)>-1?(l|0)!=0:-1,(n|0)>-1?(n|0)!=0:-1)|0)<1){break u}a=B(i,s-o|0)+B(m,f-j|0)|0;j=(a|0)>-1?(a|0)!=0:-1;a=B(i,s-y|0)+B(m,f-x|0)|0;a=(B(j,(a|0)>-1?(a|0)!=0:-1)|0)<1;break t}f=B(m,o-s|0)+B(i,f-j|0)|0;p=(f|0)>-1?(f|0)!=0:-1;f=B(m,o-l|0)+B(i,n-j|0)|0;a=(B((a|0)>-1?(a|0)!=0:-1,(q|0)>-1?(q|0)!=0:-1)|0)<1&(B(p,(f|0)>-1?(f|0)!=0:-1)|0)<1}}if(!a){break s}d=977856;break p}a=h;if((g|0)!=(a|0)){continue}break}break q}break o}while(1){a=a+1|0;if((b|0)!=((a|0)%(k|0)|0)){break o}if((a|0)!=(g|0)){continue}break}}if((c|0)!=(g|0)){continue}break}}Ma=K+32|0;a=d;break n}lb(mb(K+8|0,227376,271519,619,306765));L()}if(!w[a|0]){Ma=z+32|0;return e}lb(mb(z+8|0,a,241030,756,330220));L()}lb(mb(z+8|0,227376,271519,619,306765));L()}function fAa(a,b){a=a|0;b=b|0;var 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,u=0,y=0,z=0,A=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;e=Ma-32|0;Ma=e;C=v[a+12>>2];o=v[a+8>>2];u=v[a+20>>2];p=v[a+16>>2];s=v[a+4>>2];v[e+24>>2]=v[a+24>>2];m=v[s+8>>2];h=v[s+56>>2];a:{if(!(!!h&p>>>0>>0)){d=0;break a}d=1}while(1){b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{if(!d){if(o>>>0>=C>>>0){break f}if(p>>>0>=u>>>0){break h}c=o+2|0;h=x[o>>1];if((h&63488)!=55296){j=f;break i}if(h&1024){break k}j=f;o=c;d=1;continue}if(o>>>0>=C>>>0){break g}f=x[o>>1];if((f&64512)==56320){break j}v[b>>2]=12;v[s+56>>2]=h;break c}v[b>>2]=12;v[s+56>>2]=h;o=c;break c}v[s+56>>2]=0;h=(f+(h<<10)|0)-56613888|0;c=o+2|0}o=c;if(!(!(1<31)){v[b>>2]=12;v[s+56>>2]=h;break c}if(j){break d}f=v[m+64>>2];c=x[(f<<1)+843868>>1];d=0;if(f-3>>>0<=1){t[e+6|0]=8;d=1}f=w[m+54|0];t[(e+6|0)+d|0]=f;j=d+1|0;c=C3a(-2,f)&c&-257;f=w[m+56|0];if(f){t[(e+6|0)+j|0]=f;j=d|2;c=C3a(-2,f)&c}l:{if(!(c&1)){d=c&65535;break l}t[(e+6|0)+j|0]=0;j=j+1|0;d=c&65534;c=d}if(d&8){t[(e+6|0)+j|0]=3;j=j+1|0;d=c&65527;c=d}if(d&2){t[(e+6|0)+j|0]=1;j=j+1|0;d=c&65533;c=d}if(d&16){t[(e+6|0)+j|0]=4;j=j+1|0;d=c&65519;c=d}if(d&4){t[(e+6|0)+j|0]=2;j=j+1|0;d=c&65531;c=d}if(d&32){t[(e+6|0)+j|0]=5;j=j+1|0;d=c&65503;c=d}if(d&64){t[(e+6|0)+j|0]=6;j=j+1|0;d=c&65471;c=d}if(d&128){t[(e+6|0)+j|0]=7;d=c&65407;j=j+1|0}if(d&256){break e}break d}v[b>>2]=15;break c}v[s+56>>2]=h}if(v[b>>2]>0){break c}f=w[m+58|0];if(!(w[m+54|0]?1:f)|!w[a+2|0]|(v[s+56>>2]|o>>>0>>0)){break c}if(f){t[e+16|0]=15;t[m+58|0]=0;d=1}else{d=0}if(w[m+54|0]){f=(e+16|0)+d|0;k=x[422840];t[f|0]=k;t[f+1|0]=k>>>8;t[f+2|0]=w[845682];t[m+54|0]=0;d=d+3|0}f=v[a+8>>2];k=o-f|0;m:{if((k|0)<1){h=-1;break m}c=-1;k=k>>>1|0;h=k-1|0;if((x[f+(h<<1)>>1]&64512)!=56320){break m}if(h){c=k-2|0;if((x[f+(c<<1)>>1]&64512)!=55296){break m}}h=c}v[e+28>>2]=p;zh(s,e+16|0,d,e+28|0,u,e+24|0,h,b);p=v[e+28>>2];break c}t[(e+6|0)+j|0]=8;j=j+1|0}n:{o:{if((j|0)>=1){z=h-128|0;K=h-65344|0;L=h-65216|0;D=h>>10;E=h>>>4&63;f=h-65377|0;M=(f<<1)+845536|0;A=h&15;G=1<<(A|16);n=w[s+35|0];N=(h|0)<128;O=h-160>>>0<96;F=(h|0)<65536;P=h>>>0>127;Q=(h|0)==92;R=(h|0)==126;S=(h|0)==165;T=(h|0)==8254;H=h-57344>>>0<6400;I=h-983040>>>0>131071;J=f>>>0>62;c=0;r=0;l=0;d=0;while(1){p:{q:{r:{s:{t:{u:{v:{w:{x:{f=t[(e+6|0)+d|0];switch(f|0){case 2:break s;case 4:break t;case 3:break u;case 8:break v;case 1:break w;case 0:break x;default:break r}}if(!N){break p}break o}if(!O){break p}r=2;k=z;c=1;break n}if(J){break p}y:{switch(v[m+64>>2]-3|0){case 0:t[m+55|0]=f;r=1;k=K;c=1;break n;case 1:break y;default:break p}}f=w[m+54|0];f=(f&252)==4?3:f;r=0;k=L;c=1;break n}if(!P){if(Q){break p}if(!R){break o}break p}if(S){k=92;r=0;c=1;break n}if(!T){break p}k=126;r=0;c=1;break n}z:{A:{B:{C:{i=v[m+16>>2];if(!(t[i+201|0]&1?1:F)){break C}g=v[i+52>>2];y=v[(x[g+(D<<1)>>1]+E<<2)+g>>2];g=x[v[i+188>>2]+((y<<4&1048560|A)<<1)>>1];q=g>>>0<256?1:2;if(y&G){v[e+28>>2]=g;break B}if(!g|I&!(n|H)){break C}v[e+28>>2]=g;q=0-q|0;break A}i=v[i+224>>2];if(!i){g=!c;break q}q=Us(i,h,e+28|0,n<<24>>24)}i=2;if((q|0)==2){break z}}i=-2;g=!c;if(c|(q|0)!=-2){break q}}g=v[e+28>>2];if(g>>>0>61436){break p}k=g&65280;k=(k>>>0<40705?-28672:-45056)+k<<1;n=k-256|0;l=k;k=g&255;c=k>>>0<159;k=(c?n:l)|k+(c?k>>>0<127?-31:-32:-126);n=0;l=f;r=0;c=i;break p}g=v[m+8>>2];if(!(t[g+201|0]&1?1:F)){break p}q=1;i=v[g+188>>2];g=v[g+52>>2];g=x[i+(x[(x[g+(D<<1)>>1]+E<<1)+g>>1]+A<<1)>>1];i=1;D:{if(g>>>0>3839){break D}if(n){if(g>>>0<=2047){break p}q=0;i=-1;break D}q=0;if(g>>>0<3072){n=0;break p}i=-1}if((!c|q)!=1){break p}g=g&255;if(g>>>0<160){break p}k=g-128|0;r=2;n=0;l=f;c=i;break p}E:{F:{G:{H:{i=v[(f<<2)+m>>2];if(!(t[i+201|0]&1?1:F)){break H}g=v[i+52>>2];y=v[(x[g+(D<<1)>>1]+E<<2)+g>>2];g=x[v[i+188>>2]+((y<<4&1048560|A)<<1)>>1];q=g>>>0<256?1:2;if(y&G){v[e+28>>2]=g;break G}if(!g|I&!(n|H)){break H}v[e+28>>2]=g;q=0-q|0;break F}i=v[i+224>>2];if(!i){break p}q=Us(i,h,e+28|0,n<<24>>24)}g=2;if((q|0)==2){break E}}g=-2;if(c|(q|0)!=-2){break p}}i=v[e+28>>2];if((f|0)==7){if((i+24159&65534)>>>0>23901|(i+95&254)>>>0>93){break p}i=i-32896|0;if(!i){break p}}n=0;k=i;l=f;r=0;c=g;break p}if(!g|!n){break p}c=0;if(J){break p}k=x[M>>1];c=-2;n=0;l=f;r=0}d=d+1|0;if((c|0)<1&(j|0)>(d|0)){continue}break}f=l;if(c){break n}}v[b>>2]=10;v[s+56>>2]=h;break c}r=0;k=h;c=1}l=c>>31;d=0;n=w[m+58|0];if(!(r|(n|0)!=1)){t[e+16|0]=15;n=0;t[m+58|0]=0;d=1}i=c+l|0;g=m+r|0;if(w[g+54|0]==(f&255)){f=j}else{z=f<<24>>24;c=t[z+845662|0];cb((e+16|0)+d|0,B(z,6)+845680|0,c);t[g+54|0]=f;d=c+d|0;n=w[m+58|0];f=0}i=i^l;I:{if((r|0)==n<<24>>24){c=d;break I}c=d+1|0;l=(e+16|0)+d|0;if((r|0)==1){t[l|0]=14;t[m+58|0]=1;break I}t[l|0]=27;t[(e+16|0)+c|0]=78;c=d+2|0}l=(e+16|0)+c|0;J:{if((i|0)==1){d=c+1|0;c=k;break J}t[(c+e|0)+17|0]=k;d=c+2|0;c=k>>>8|0}t[l|0]=c;K:{switch(h-10|0){case 0:case 3:f=0;t[m+56|0]=0;break;default:break K}}L:{M:{switch(d-1|0){case 0:t[p|0]=w[e+16|0];p=p+1|0;c=v[e+24>>2];if(!c){break b}l=v[a+8>>2];v[e+24>>2]=c+4;v[c>>2]=(o-l>>1)-1;break b;case 1:break M;default:break L}}c=p+2|0;if(c>>>0>u>>>0){break L}t[p|0]=w[e+16|0];t[p+1|0]=w[e+17|0];l=v[e+24>>2];if(!l){p=c;break b}d=(o-v[a+8>>2]>>1)+(h>>>0<65536?-1:-2)|0;v[l>>2]=d;v[e+24>>2]=l+8;v[l+4>>2]=d;p=c;break b}c=v[a+8>>2];v[e+28>>2]=p;zh(s,e+16|0,d,e+28|0,u,e+24|0,(o-c>>1)+(h>>>0<65536?-1:-2)|0,b);p=v[e+28>>2];if(v[b>>2]<1){break b}}v[a+16>>2]=p;v[a+8>>2]=o;Ma=e+32|0;return}d=0;continue}}function qCa(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;m=Ma-16|0;Ma=m;k=v[a+16>>2];d=w[k+6|0]|w[k+7|0]<<8|(w[k+8|0]<<16|w[k+9|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);a:{if(!d){c=0;break a}n=k+13|0;b:{while(1){e=d+f>>>1|0;l=n+B(e,11)|0;j=l-3|0;j=w[j+1|0]<<8|w[j|0]<<16|w[j+2|0];c:{if(j>>>0>c>>>0){d=e;break c}if(c>>>0<=j>>>0){break b}f=e+1|0}if(d>>>0>f>>>0){continue}break}c=0;break a}c=0;d=w[l|0]|w[l+1|0]<<8|(w[l+2|0]<<16|w[l+3|0]<<24);e=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=w[l+4|0]|w[l+5|0]<<8|(w[l+6|0]<<16|w[l+7|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!(e|d)){break a}d:{if(!e){n=v[a+28>>2];k=d+k|0;j=w[k+3|0];e=w[k+2|0];d=w[k+1|0];c=w[k|0];v[m+12>>2]=0;l=j|(d<<16|c<<24|e<<8);d=l+1|0;e:{if(d>>>0<=n>>>0){c=v[a+32>>2];break e}v[a+36>>2]=b;c=yb(b,4,n,d,v[a+32>>2],m+12|0);v[a+32>>2]=c;if(v[m+12>>2]){break d}v[a+28>>2]=d}f:{if(!l){break f}b=j&1;e=k+4|0;d=0;if((l|0)!=1){f=l-b|0;while(1){a=d<<2;v[a+c>>2]=w[e+2|0]|(w[e+1|0]<<8|w[e|0]<<16);v[(a|4)+c>>2]=w[e+7|0]|(w[e+6|0]<<8|w[e+5|0]<<16);d=d+2|0;e=e+10|0;f=f-2|0;if(f){continue}break}}if(!b){break f}v[(d<<2)+c>>2]=w[e+2|0]|(w[e+1|0]<<8|w[e|0]<<16)}v[(l<<2)+c>>2]=0;break a}if(!d){h=e+k|0;c=w[h+3|0];i=c|(w[h+1|0]<<16|w[h|0]<<24|w[h+2|0]<<8);if(i){g=c&3;d=h+7|0;g:{if(i-1>>>0<3){f=0;break g}c=i-g|0;f=0;e=d;while(1){f=(w[e+12|0]+(w[e+8|0]+(w[e+4|0]+(w[e|0]+f|0)|0)|0)|0)+4|0;d=e+16|0;e=d;c=c-4|0;if(c){continue}break}}if(g){while(1){f=(w[d|0]+f|0)+1|0;d=d+4|0;g=g-1|0;if(g){continue}break}}d=f+1|0}else{d=1}c=v[a+28>>2];v[m+12>>2]=0;h:{if(c>>>0>=d>>>0){c=v[a+32>>2];break h}v[a+36>>2]=b;c=yb(b,4,c,d,v[a+32>>2],m+12|0);v[a+32>>2]=c;if(v[m+12>>2]){break d}v[a+28>>2]=d}d=c;if(i){while(1){e=w[h+6|0]|(w[h+5|0]<<8|w[h+4|0]<<16);a=w[h+7|0];f=a+1|0;g=f&7;if(g){while(1){v[d>>2]=e;f=f-1|0;d=d+4|0;e=e+1|0;g=g-1|0;if(g){continue}break}}if(a>>>0>=7){while(1){v[d>>2]=e;v[d+28>>2]=e+7;v[d+24>>2]=e+6;v[d+20>>2]=e+5;v[d+16>>2]=e+4;v[d+12>>2]=e+3;v[d+8>>2]=e+2;v[d+4>>2]=e+1;d=d+32|0;e=e+8|0;f=f-8|0;if(f){continue}break}}h=h+4|0;i=i-1|0;if(i){continue}break}}v[d>>2]=0;break a}c=d+k|0;n=w[c+3|0];o=n|(w[c+1|0]<<16|w[c|0]<<24|w[c+2|0]<<8);g=c+4|0;i:{j:{k:{h=e+k|0;l=w[h+3|0];l:{m:{k=l|(w[h+1|0]<<16|w[h|0]<<24|w[h+2|0]<<8);if(k){c=l&3;d=h+7|0;j=k-1|0;n:{if(j>>>0<3){f=0;break n}i=k-c|0;f=0;e=d;while(1){f=(w[e+12|0]+(w[e+8|0]+(w[e+4|0]+(w[e|0]+f|0)|0)|0)|0)+4|0;d=e+16|0;e=d;i=i-4|0;if(i){continue}break}}if(c){while(1){f=(w[d|0]+f|0)+1|0;d=d+4|0;c=c-1|0;if(c){continue}break}}if(o){break k}if(k){break m}d=1;break l}if(o){break j}d=1;break l}g=l&3;d=h+7|0;o:{if(j>>>0<3){f=0;break o}c=k-g|0;f=0;e=d;while(1){f=(w[e+12|0]+(w[e+8|0]+(w[e+4|0]+(w[e|0]+f|0)|0)|0)|0)+4|0;d=e+16|0;e=d;c=c-4|0;if(c){continue}break}}if(g){while(1){f=(w[d|0]+f|0)+1|0;d=d+4|0;g=g-1|0;if(g){continue}break}}d=f+1|0}c=v[a+28>>2];v[m+12>>2]=0;p:{if(c>>>0>=d>>>0){c=v[a+32>>2];break p}v[a+36>>2]=b;c=yb(b,4,c,d,v[a+32>>2],m+12|0);v[a+32>>2]=c;if(v[m+12>>2]){break d}v[a+28>>2]=d}d=c;if(k){while(1){e=w[h+6|0]|(w[h+5|0]<<8|w[h+4|0]<<16);a=w[h+7|0];f=a+1|0;g=f&7;if(g){while(1){v[d>>2]=e;f=f-1|0;d=d+4|0;e=e+1|0;g=g-1|0;if(g){continue}break}}if(a>>>0>=7){while(1){v[d>>2]=e;v[d+28>>2]=e+7;v[d+24>>2]=e+6;v[d+20>>2]=e+5;v[d+16>>2]=e+4;v[d+12>>2]=e+3;v[d+8>>2]=e+2;v[d+4>>2]=e+1;d=d+32|0;e=e+8|0;f=f-8|0;if(f){continue}break}}h=h+4|0;k=k-1|0;if(k){continue}break}}v[d>>2]=0;break a}if(f){break i}}c=v[a+28>>2];v[m+12>>2]=0;d=o+1|0;q:{if(d>>>0<=c>>>0){c=v[a+32>>2];break q}v[a+36>>2]=b;c=yb(b,4,c,d,v[a+32>>2],m+12|0);v[a+32>>2]=c;if(v[m+12>>2]){break d}v[a+28>>2]=d}b=n&1;e=0;if((o|0)!=1){d=o-b|0;while(1){a=e<<2;v[a+c>>2]=w[g+2|0]|(w[g+1|0]<<8|w[g|0]<<16);v[(a|4)+c>>2]=w[g+7|0]|(w[g+6|0]<<8|w[g+5|0]<<16);e=e+2|0;g=g+10|0;d=d-2|0;if(d){continue}break}}if(b){v[(e<<2)+c>>2]=w[g+2|0]|(w[g+1|0]<<8|w[g|0]<<16)}v[(o<<2)+c>>2]=0;break a}c=v[a+28>>2];v[m+12>>2]=0;d=(f+o|0)+1|0;r:{if(d>>>0<=c>>>0){c=v[a+32>>2];break r}v[a+36>>2]=b;c=yb(b,4,c,d,v[a+32>>2],m+12|0);v[a+32>>2]=c;if(v[m+12>>2]){break d}v[a+28>>2]=d}a=w[g+2|0]|(w[g+1|0]<<8|w[g|0]<<16);b=h+4|0;f=w[b+1|0]<<8|w[b|0]<<16|w[b+2|0];i=g+5|0;h=b+4|0;g=w[b+3|0];e=0;b=1;j=1;while(1){s:{d=0;if(f+g>>>0>>0){while(1){v[(e<<2)+c>>2]=d+f;e=e+1|0;d=d+1|0;if(g>>>0>=d>>>0){continue}break}b=b+1|0;if(k>>>0>>0){break s}f=w[h+2|0]|(w[h+1|0]<<8|w[h|0]<<16);g=w[h+3|0];h=h+4|0;continue}if(a>>>0>>0){v[(e<<2)+c>>2]=a;e=e+1|0}j=j+1|0;if(o>>>0>>0){break s}a=w[i+2|0]|(w[i+1|0]<<8|w[i|0]<<16);i=i+5|0;continue}break}t:{if(j>>>0<=o>>>0){v[(e<<2)+c>>2]=a;a=e+1|0;if(j>>>0>=o>>>0){e=a;break t}b=j+1|0;if(n-j&1){v[(a<<2)+c>>2]=w[i+2|0]|(w[i+1|0]<<8|w[i|0]<<16);j=j+1|0;i=i+5|0;a=e+2|0}e=a;if((b|0)==(o|0)){break t}while(1){a=(e<<2)+c|0;v[a>>2]=w[i+2|0]|(w[i+1|0]<<8|w[i|0]<<16);v[a+4>>2]=w[i+7|0]|(w[i+6|0]<<8|w[i+5|0]<<16);e=e+2|0;i=i+10|0;j=j+2|0;if((o|0)!=(j|0)){continue}break}break t}if(b>>>0>k>>>0){break t}d=0;while(1){v[(e<<2)+c>>2]=d+f;e=e+1|0;d=d+1|0;if(g>>>0>=d>>>0){continue}break}if(b>>>0>=k>>>0){break t}while(1){n=w[h+2|0]|(w[h+1|0]<<8|w[h|0]<<16);j=w[h+3|0];a=j+1|0;i=a&3;d=0;if(j>>>0>=3){a=a&508;while(1){j=(e<<2)+c|0;v[j>>2]=d+n;v[j+12>>2]=n+(d|3);v[j+8>>2]=n+(d|2);v[j+4>>2]=n+(d|1);d=d+4|0;e=e+4|0;a=a-4|0;if(a){continue}break}}if(i){while(1){v[(e<<2)+c>>2]=d+n;d=d+1|0;e=e+1|0;i=i-1|0;if(i){continue}break}}h=h+4|0;b=b+1|0;if((k|0)!=(b|0)){continue}break}}v[(e<<2)+c>>2]=0;break a}c=0}Ma=m+16|0;return c|0}function oV(a,b,c){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,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0,z=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;g=Ma-800|0;Ma=g;v[g+16>>2]=13;v[g>>2]=13;e=219174;a:{b:{if(v[ib(b,276657,g+16|0,0)>>2]!=1){break b}e=219233;k=v[g+24>>2];if(k-1>>>0>31){break b}f=g+16|0;bb(f);e=218887;if(v[ib(b,228634,f,0)>>2]!=1){break b}e=218945;q=v[g+24>>2];if(q-1>>>0>15){break b}bb(g+16|0);c:{if((a|0)==4){e=219079;if(v[ib(b,272889,g+16|0,0)>>2]!=1){break b}e=219132;s=v[g+24>>2];if(s-2>>>0>6){break b}bb(g+16|0);break c}e=218786;if(v[ib(b,222416,g+16|0,0)>>2]!=1){break b}C=v[g+24>>2];bb(g+16|0);e=218842;if((C|0)<2){break b}}e=218701;if(v[ib(b,283789,g+16|0,0)>>2]!=6){break b}f=v[g+24>>2];if(v[f+12>>2]<6){break b}e=ub(f,0,g,0);I=A[e+8>>3];F=v[e+8>>2];j=v[e>>2];bb(g);e=ub(v[g+24>>2],1,g,0);J=A[e+8>>3];K=v[e+8>>2];L=v[e>>2];bb(g);S=ju(k);e=ub(v[g+24>>2],2,g,0);m=v[e>>2];T=A[e+8>>3];n=v[e+8>>2];bb(g);e=ub(v[g+24>>2],3,g,0);o=v[e>>2];G=A[e+8>>3];D=v[e+8>>2];bb(g);P=-1<>2];d:{if(v[d+12>>2]<6){break d}M=+(P|0);w=5;e=0;while(1){l=e<<3;d=ub(d,i+4|0,g,0);x=v[d>>2]==1?+v[d+8>>2]:A[d+8>>3];A[l+(g+416|0)>>3]=x;bb(g);d=ub(v[g+24>>2],w,g,0);f=v[d>>2];E=A[d+8>>3];d=v[d+8>>2];bb(g);A[l+(g+160|0)>>3]=(((f|0)==1?+(d|0):E)-x)/M;t=e+1|0;i=t<<1;w=i+5|0;d=v[g+24>>2];if((w|0)>=v[d+12>>2]){break d}f=e>>>0<31;e=t;if(f){continue}break}}e=g+16|0;bb(e);e:{if(v[ib(b,246828,e,0)>>2]==5){break e}if(v[g+16>>2]==6){d=v[g+24>>2];z=v[d+12>>2];if((z|0)<=32){if((z|0)<1){break e}e=0;ub(d,0,g,0);d=gg(g,1,1,0);v[g+672>>2]=d;if(d){while(1){bb(g);e=e+1|0;if((z|0)==(e|0)){break e}ub(v[g+24>>2],e,g,0);d=gg(g,1,1,0);v[(g+672|0)+(e<<2)>>2]=d;if(d){continue}break}}bb(g+16|0);bb(g);d=0;break a}d=0;fb(1,-1,218656,0);break a}d=0;z=1;e=gg(g+16|0,1,-1,0);v[g+672>>2]=e;if(e){break e}bb(g+16|0);break a}x=(o|0)==1?+(D|0):G;G=(m|0)==1?+(n|0):T;E=S+-1;M=(x-G)/E;x=(j|0)==1?+(F|0):I;E=(((L|0)==1?+(K|0):J)-x)/E;bb(g+16|0);h=ab(12);v[h>>2]=c;Qa[v[v[c>>2]+20>>2]](c);v[h+4>>2]=0;v[h+8>>2]=0;D=t&-2;K=t&1;Q=-1<>2];g:{if(F){break g}if((f|0)>=(s|0)){f=f-s|0;u=L&v[h+4>>2]>>f;v[h+8>>2]=f;break g}h:{if((f|0)<1){u=0;e=s;break h}v[h+8>>2]=0;e=s-f|0;u=v[h+4>>2]&(-1<>2]+28>>2]](c)|0;v[h+4>>2]=d;if((d|0)==-1){break f}if((e|0)<=7){f=8-e|0;u=u<>f;v[h+8>>2]=f;break g}u=d|u<<8;d=(e|0)==8;e=e-8|0;if(!d){continue}break}}i:{if((f|0)>=(k|0)){f=f-k|0;m=v[h+4>>2]>>f&Q;v[h+8>>2]=f;break i}j:{if((f|0)<1){m=0;e=k;break j}v[h+8>>2]=0;e=k-f|0;m=v[h+4>>2]&(-1<>2]+28>>2]](c)|0;v[h+4>>2]=d;if((d|0)==-1){break f}if((e|0)<=7){f=8-e|0;m=m<>f;v[h+8>>2]=f;break i}m=d|m<<8;d=(e|0)==8;e=e-8|0;if(!d){continue}break}}k:{if((f|0)>=(k|0)){f=f-k|0;n=v[h+4>>2]>>f&Q;v[h+8>>2]=f;break k}l:{if((f|0)<1){n=0;e=k;break l}v[h+8>>2]=0;e=k-f|0;n=v[h+4>>2]&(-1<>2]+28>>2]](c)|0;v[h+4>>2]=d;if((d|0)==-1){break f}if((e|0)<=7){f=8-e|0;n=n<>f;v[h+8>>2]=f;break k}n=d|n<<8;d=(e|0)==8;e=e-8|0;if(!d){continue}break}}j=0;if(t){while(1){m:{if((f|0)>=(q|0)){f=f-q|0;i=v[h+4>>2]>>f&P;v[h+8>>2]=f;break m}i=0;n:{if((f|0)<1){d=f;e=q;break n}d=0;v[h+8>>2]=0;i=v[h+4>>2]&(-1<=1){while(1){f=Qa[v[v[c>>2]+28>>2]](c)|0;v[h+4>>2]=f;if((f|0)==-1){break f}if((e|0)<=7){d=f;f=8-e|0;i=i<>f;v[h+8>>2]=f;break m}i=f|i<<8;f=(e|0)==8;e=e-8|0;if(!f){continue}break}}f=d}v[(g+32|0)+(j<<2)>>2]=i;j=j+1|0;if((t|0)!=(j|0)){continue}break}}if((o|0)==(R|0)){R=o?o<<1:16;N=yc(N,R,272)}H=B(o,272)+N|0;A[H+8>>3]=G+M*+(n>>>0);A[H>>3]=x+E*+(m>>>0);o:{if(!t){break o}e=0;i=D;if((t|0)!=1){while(1){d=H+16|0;f=e<<3;O=d+f|0;m=g+416|0;I=A[m+f>>3];n=g+160|0;J=A[n+f>>3];f=g+32|0;A[O>>3]=I+J*+y[f+(e<<2)>>2];O=d;d=e|1;j=d<<3;A[O+j>>3]=A[j+m>>3]+A[j+n>>3]*+y[f+(d<<2)>>2];e=e+2|0;i=i-2|0;if(i){continue}break}}if(!K){break o}d=e<<3;A[(d+H|0)+16>>3]=A[d+(g+416|0)>>3]+A[d+(g+160|0)>>3]*+y[(g+32|0)+(e<<2)>>2]}v[h+4>>2]=0;v[h+8>>2]=0;e=o+1|0;if(F){continue}break}if(l>>>0<=1){d=l+1|0;continue}if((l|0)!=2){d=1;if(!u){continue}}if((p|0)==(w|0)){w=p?p<<1:16;r=yc(r,B(w,3),4)}p:{if((l|0)==2){v[B(p,12)+r>>2]=o-2;f=o-1|0;d=3;break p}d=p-1|0;q:{if((u|0)==1){d=B(d,12)+r|0;v[B(p,12)+r>>2]=v[d+4>>2];f=v[d+8>>2];break q}d=B(d,12)+r|0;v[B(p,12)+r>>2]=v[d>>2];f=v[d+8>>2]}d=l}l=B(p,12)+r|0;v[l+8>>2]=o;v[l+4>>2]=f;p=p+1|0;continue}break}Qa[v[v[c>>2]+24>>2]](c);$a(h);r:{if((a|0)!=5){break r}e=(o|0)/(C|0)|0;s=e-1|0;D=C-1|0;c=B(s,D);p=c<<1;r=Pb(B(c,6),4);if((e|0)<2|(C|0)<2){break r}c=0;j=0;while(1){k=B(j,C);j=j+1|0;l=B(C,j);d=0;while(1){i=B(c,12)+r|0;q=d+l|0;v[i+8>>2]=q;f=d+k|0;e=f+1|0;v[i+4>>2]=e;v[i>>2]=f;v[i+12>>2]=e;v[i+20>>2]=q+1;v[i+16>>2]=q;c=c+2|0;d=d+1|0;if((D|0)!=(d|0)){continue}break}if((j|0)!=(s|0)){continue}break}}d=ab(336);v[d+8>>2]=0;v[d+4>>2]=a;v[d+328>>2]=z;v[d+324>>2]=t;v[d+192>>2]=p;v[d+188>>2]=r;v[d+184>>2]=o;v[d+180>>2]=N;v[d>>2]=888172;if((z|0)>=1){cb(d+196|0,g+672|0,z<<2)}s:{if(iv(d,b)){a=v[d+328>>2];if((a|0)<1){break a}b=v[d+8>>2];e=0;break s}Qa[v[v[d>>2]+4>>2]](d);d=0;break a}while(1){if(v[v[((e<<2)+d|0)+196>>2]+8>>2]==(Qa[v[v[b>>2]+28>>2]](b)|0)){e=e+1|0;if((a|0)>(e|0)){continue}break a}break}fb(1,-1,219040,0);Qa[v[v[d>>2]+4>>2]](d);d=0;break a}fb(1,-1,e,0);bb(g+16|0)}Ma=g+800|0;return d}function s1(a,b,c){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,p=0;k=Ma-16|0;Ma=k;v[c>>2]=2147483632;v[c+16>>2]=v[c+8>>2];h=v[c+20>>2];v[c+28>>2]=h;u[h+2>>1]=0;e=v[b+20>>2];j=v[b+28>>2]-e|0;f=268435454;d=268435455;i=268435455;h=268435454;l=v[a+20>>2];a=v[a+28>>2]-l|0;if(a){v[k+4>>2]=l+8;o=(a>>3)-1|0;a=u[l+10>>1];b=a>>31;i=u[l+8>>1];h=(i+((b^a+b)&65535)|0)-1|0}if(j){v[k>>2]=e+8;p=(j>>3)-1|0;a=u[e+10>>1];b=a>>31;d=u[e+8>>1];f=(d+((b^a+b)&65535)|0)-1|0}while(1){a:{if(!o){b=i;o=0;break a}if((i|0)<=(h|0)){b=i;break a}b=v[k+4>>2];v[k+4>>2]=b+8;o=o-1|0;a=u[b+10>>1];h=a>>31;b=u[b+8>>1];h=(b+((h^a+h)&65535)|0)-1|0}l=h;b:{c:{d:{if(!p){p=0;break d}if((d|0)>(f|0)){break c}}a=d;break b}a=v[k>>2];v[k>>2]=a+8;p=p-1|0;h=u[a+10>>1];f=h>>31;a=u[a+8>>1];f=(a+((f^f+h)&65535)|0)-1|0}j=f;if(!((f|0)<(a|0)&(b|0)>(l|0))){m=(j|0)<(l|0);i=(a|0)>(b|0)?a:b;h=(m?j:l)-i|0;if((h|0)>=0){h=h+1|0;e:{f:{g:{if((a|0)>(b|0)){g=a-b|0;d=v[k+4>>2];f=u[d+2>>1];if((f|0)<=-1){e=w[v[d+4>>2]];h:{if((v[c>>2]+1|0)!=(b|0)){break h}d=v[c+28>>2];f=u[d+2>>1];if((f|0)>-1|(e|0)!=w[v[d+4>>2]]){break h}u[d+2>>1]=f-g;b=a;break g}t[v[c+16>>2]]=e;d=v[c+28>>2];v[c+28>>2]=d+8;f=v[c+16>>2];v[c+16>>2]=f+1;u[d+10>>1]=0-g;u[d+8>>1]=b;v[d+12>>2]=f;b=a;break g}if(!f){b=a;break e}f=u[d>>1];cb(v[c+16>>2],v[d+4>>2]+((b|0)>(f|0)?b-f|0:0)|0,g);d=v[c+28>>2];i:{j:{if((v[c>>2]+1|0)!=(b|0)){break j}f=u[d+2>>1];if((f|0)<1){break j}u[d+2>>1]=f+g;f=v[c+16>>2];break i}v[c+28>>2]=d+8;f=v[c+16>>2];u[d+10>>1]=g;u[d+8>>1]=b;v[d+12>>2]=f}v[c+16>>2]=f+g;b=a;break g}if((a|0)>=(b|0)){break e}g=b-a|0;d=v[k>>2];f=u[d+2>>1];if((f|0)<=-1){e=w[v[d+4>>2]];k:{if((v[c>>2]+1|0)!=(a|0)){break k}d=v[c+28>>2];f=u[d+2>>1];if((f|0)>-1|(e|0)!=w[v[d+4>>2]]){break k}u[d+2>>1]=f-g;break g}t[v[c+16>>2]]=e;d=v[c+28>>2];v[c+28>>2]=d+8;f=v[c+16>>2];v[c+16>>2]=f+1;u[d+10>>1]=0-g;u[d+8>>1]=a;v[d+12>>2]=f;break g}if(!f){break f}f=u[d>>1];cb(v[c+16>>2],v[d+4>>2]+((a|0)>(f|0)?a-f|0:0)|0,g);d=v[c+28>>2];l:{m:{if((v[c>>2]+1|0)!=(a|0)){break m}f=u[d+2>>1];if((f|0)<1){break m}u[d+2>>1]=f+g;f=v[c+16>>2];break l}v[c+28>>2]=d+8;f=v[c+16>>2];u[d+10>>1]=g;u[d+8>>1]=a;v[d+12>>2]=f}v[c+16>>2]=f+g}v[c>>2]=b-1}a=b}f=h;n:{o:{p:{q:{r:{n=v[k>>2];d=v[k+4>>2];switch((x[n+2>>1]>>>14&2|x[d+2>>1]>>>15)-1|0){case 2:break o;case 1:break p;case 0:break q;default:break r}}e=u[n>>1];n=v[n+4>>2]+((e|0)<(i|0)?i-e|0:0)|0;e=v[d+4>>2];d=u[d>>1];g=e+((d|0)<(i|0)?i-d|0:0)|0;while(1){d=w[n|0]+w[g|0]|0;d=d>>>0>255?510-d|0:d;if(d){t[v[c+16>>2]]=d;e=v[c+28>>2];s:{t:{if((v[c>>2]+1|0)!=(i|0)){break t}d=u[e+2>>1];if((d|0)<1){break t}u[e+2>>1]=d+1;d=v[c+16>>2];break s}v[c+28>>2]=e+8;d=v[c+16>>2];u[e+10>>1]=1;u[e+8>>1]=i;v[e+12>>2]=d}v[c>>2]=i;v[c+16>>2]=d+1}n=n+1|0;g=g+1|0;i=i+1|0;f=f-1|0;if(f){continue}break}break n}e=u[n>>1];g=v[n+4>>2]+((e|0)<(i|0)?i-e|0:0)|0;while(1){d=w[g|0]+w[v[d+4>>2]]|0;d=d>>>0>255?510-d|0:d;if(d){t[v[c+16>>2]]=d;e=v[c+28>>2];u:{v:{if((v[c>>2]+1|0)!=(i|0)){break v}d=u[e+2>>1];if((d|0)<1){break v}u[e+2>>1]=d+1;d=v[c+16>>2];break u}v[c+28>>2]=e+8;d=v[c+16>>2];u[e+10>>1]=1;u[e+8>>1]=i;v[e+12>>2]=d}v[c>>2]=i;v[c+16>>2]=d+1}f=f-1|0;if(!f){break n}g=g+1|0;i=i+1|0;d=v[k+4>>2];continue}}e=v[d+4>>2];d=u[d>>1];g=e+((d|0)<(i|0)?i-d|0:0)|0;while(1){d=w[v[n+4>>2]]+w[g|0]|0;d=d>>>0>255?510-d|0:d;if(d){t[v[c+16>>2]]=d;e=v[c+28>>2];w:{x:{if((v[c>>2]+1|0)!=(i|0)){break x}d=u[e+2>>1];if((d|0)<1){break x}u[e+2>>1]=d+1;d=v[c+16>>2];break w}v[c+28>>2]=e+8;d=v[c+16>>2];u[e+10>>1]=1;u[e+8>>1]=i;v[e+12>>2]=d}v[c>>2]=i;v[c+16>>2]=d+1}f=f-1|0;if(!f){break n}g=g+1|0;i=i+1|0;n=v[k>>2];continue}}d=w[v[n+4>>2]]+w[v[d+4>>2]]|0;g=d>>>0>255?510-d|0:d;if(!g){break n}y:{z:{if((v[c>>2]+1|0)!=(i|0)){break z}e=v[c+28>>2];d=u[e+2>>1];if((d|0)>-1|(g|0)!=w[v[e+4>>2]]){break z}u[e+2>>1]=d-f;break y}t[v[c+16>>2]]=g;e=v[c+28>>2];v[c+28>>2]=e+8;d=v[c+16>>2];v[c+16>>2]=d+1;u[e+10>>1]=0-f;u[e+8>>1]=i;v[e+12>>2]=d}v[c>>2]=(f+i|0)-1}if((j|0)>(l|0)){d=a+h|0;h=268435454;i=268435455;f=j;continue}d=268435455;i=m?b+h|0:268435455;f=268435454;h=m?l:268435454;continue}if((a|0)>(b|0)){h=268435454;i=268435455;d=a;if((b|0)>(l|0)){continue}e=l-b|0;m=e+1|0;g=v[k+4>>2];j=u[g+2>>1];A:{if((j|0)<=-1){g=w[v[g+4>>2]];B:{if((v[c>>2]+1|0)!=(b|0)){break B}d=v[c+28>>2];j=u[d+2>>1];if((j|0)>-1|(g|0)!=w[v[d+4>>2]]){break B}u[d+2>>1]=j-m;break A}t[v[c+16>>2]]=g;d=v[c+28>>2];v[c+28>>2]=d+8;j=v[c+16>>2];v[c+16>>2]=j+1;u[d+10>>1]=e^-1;u[d+8>>1]=b;v[d+12>>2]=j;break A}if(!j){continue}j=u[g>>1];cb(v[c+16>>2],v[g+4>>2]+((b|0)>(j|0)?b-j|0:0)|0,m);e=v[c+28>>2];C:{D:{if((v[c>>2]+1|0)!=(b|0)){break D}j=u[e+2>>1];if((j|0)<1){break D}u[e+2>>1]=j+m;d=v[c+16>>2];break C}v[c+28>>2]=e+8;d=v[c+16>>2];u[e+10>>1]=m;u[e+8>>1]=b;v[e+12>>2]=d}v[c+16>>2]=d+m}v[c>>2]=l;d=a;continue}f=268435454;d=268435455;i=b;h=l;if((a|0)>(j|0)){continue}e=j-a|0;m=e+1|0;g=v[k>>2];b=u[g+2>>1];E:{if((b|0)<=-1){g=w[v[g+4>>2]];F:{if((v[c>>2]+1|0)!=(a|0)){break F}h=v[c+28>>2];b=u[h+2>>1];if((b|0)>-1|(g|0)!=w[v[h+4>>2]]){break F}u[h+2>>1]=b-m;break E}t[v[c+16>>2]]=g;h=v[c+28>>2];v[c+28>>2]=h+8;b=v[c+16>>2];v[c+16>>2]=b+1;u[h+10>>1]=e^-1;u[h+8>>1]=a;v[h+12>>2]=b;break E}if(!b){continue}b=u[g>>1];cb(v[c+16>>2],v[g+4>>2]+((a|0)>(b|0)?a-b|0:0)|0,m);e=v[c+28>>2];G:{H:{if((v[c>>2]+1|0)!=(a|0)){break H}b=u[e+2>>1];if((b|0)<1){break H}u[e+2>>1]=b+m;h=v[c+16>>2];break G}v[c+28>>2]=e+8;h=v[c+16>>2];u[e+10>>1]=m;u[e+8>>1]=a;v[e+12>>2]=h}v[c+16>>2]=h+m}v[c>>2]=j;h=l;continue}break}Ma=k+16|0}function TE(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;f=Ma-128|0;Ma=f;h=v[c+12>>2];v[f+120>>2]=v[c+8>>2];v[f+124>>2]=h;h=v[c+4>>2];v[f+112>>2]=v[c>>2];v[f+116>>2]=h;c=v[d+12>>2];v[f+104>>2]=v[d+8>>2];v[f+108>>2]=c;c=v[d+4>>2];v[f+96>>2]=v[d>>2];v[f+100>>2]=c;h=b+8|0;a:{if(v[b+8>>2]){gf(f+40|0,b,h);break a}v[f+40>>2]=0;qb(f+40|0,0)}c=v[f+40>>2];v[f+40>>2]=0;b:{c:{d:{e:{if(c){d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(!d){d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}}c=v[b+12>>2];if(((c|0)>0?c:0)&3){c=zE(f+40|0);d=v[b+12>>2];yE(c,0-((d|0)>0?d:0)|0);Tr(c,f+112|0);Tr(c,f+96|0)}c=v[f+96>>2];d=v[f+112>>2];if((c|0)>(d|0)){break e}j=d;d=v[f+104>>2];if((j|0)>=(d|0)){break e}g=v[f+100>>2];j=v[f+116>>2];if((g|0)>(j|0)){break e}i=j;j=v[f+108>>2];if((i|0)>=(j|0)){break e}i=c;c=v[f+120>>2];if((i|0)>=(c|0)|(c|0)>(d|0)){break e}c=v[f+124>>2];if((c|0)<=(g|0)|(c|0)>(j|0)){break e}f:{if(v[h>>2]){gf(f+40|0,b,h);break f}v[f+40>>2]=0;qb(f+40|0,0)}d=v[f+40>>2];g:{if(!d){c=0;break g}c=v[d+8>>2];v[f+40>>2]=0;g=v[d+4>>2]-1|0;v[d+4>>2]=g;if(g){break g}g=v[d+4>>2];if(!g){v[d+4>>2]=-32767}if(!g){Qa[v[v[d>>2]+4>>2]](d)}}h:{if(v[h>>2]){gf(f+40|0,b,h);break h}v[f+40>>2]=0;qb(f+40|0,0)}d=0;h=v[f+40>>2];i:{if(!h){break i}d=v[h+12>>2];v[f+40>>2]=0;g=v[h+4>>2]-1|0;v[h+4>>2]=g;if(g){break i}g=v[h+4>>2];if(!g){v[h+4>>2]=-32767}if(!g){Qa[v[v[h>>2]+4>>2]](h)}}j=v[f+104>>2];i=v[f+108>>2];g=v[f+96>>2];h=v[f+100>>2];l=v[f+124>>2];v[f+48>>2]=v[f+120>>2];v[f+52>>2]=l;l=v[f+116>>2];v[f+40>>2]=v[f+112>>2];v[f+44>>2]=l;go(f+40|0,0-g|0,0-h|0);h=i-h|0;j=j-g|0;if((j|0)==(c|0)){g=1;if((d|0)==(h|0)){break c}}i=j<<1;j:{if((i|0)<=(c-2|0)|(i|0)>=(c+2|0)){break j}l=h<<1;if((l|0)<=(d-2|0)){break j}g=2;if((l|0)<(d+2|0)){break c}}l=B(j,3);k:{if((l|0)<=(c-3|0)|(l|0)>=(c+3|0)){break k}g=3;o=B(h,3);if((o|0)<=(d-3|0)){break k}if((o|0)<(d+3|0)){break c}}o=j<<2;l:{if((o|0)<=(c-4|0)|(o|0)>=(c+4|0)){break l}n=h<<2;if((n|0)<=(d-4|0)){break l}g=4;if((n|0)<(d+4|0)){break c}}g=B(j,5);m:{if((g|0)<=(c-5|0)|(g|0)>=(c+5|0)){break m}g=5;n=B(h,5);if((n|0)<=(d-5|0)){break m}if((n|0)<(d+5|0)){break c}}n=B(j,6);n:{if((n|0)<=(c-6|0)|(n|0)>=(c+6|0)){break n}g=6;k=B(h,6);if((k|0)<=(d-6|0)){break n}if((k|0)<(d+6|0)){break c}}g=B(j,7);o:{if((g|0)<=(c-7|0)|(g|0)>=(c+7|0)){break o}g=7;k=B(h,7);if((k|0)<=(d-7|0)){break o}if((k|0)<(d+7|0)){break c}}g=j<<3;p:{if((g|0)<=(c-8|0)|(g|0)>=(c+8|0)){break p}k=h<<3;if((k|0)<=(d-8|0)){break p}g=8;if((k|0)<(d+8|0)){break c}}g=B(j,9);q:{if((g|0)<=(c-9|0)|(g|0)>=(c+9|0)){break q}g=9;k=B(h,9);if((k|0)<=(d-9|0)){break q}if((k|0)<(d+9|0)){break c}}g=B(j,10);r:{if((g|0)<=(c-10|0)|(g|0)>=(c+10|0)){break r}g=10;k=B(h,10);if((k|0)<=(d-10|0)){break r}if((k|0)<(d+10|0)){break c}}g=B(j,11);s:{if((g|0)<=(c-11|0)|(g|0)>=(c+11|0)){break s}g=11;k=B(h,11);if((k|0)<=(d-11|0)){break s}if((k|0)<(d+11|0)){break c}}k=B(j,12);t:{if((k|0)<=(c-12|0)|(k|0)>=(c+12|0)){break t}g=12;m=B(h,12);if((m|0)<=(d-12|0)){break t}if((m|0)<(d+12|0)){break c}}g=B(j,13);u:{if((g|0)<=(c-13|0)|(g|0)>=(c+13|0)){break u}g=13;m=B(h,13);if((m|0)<=(d-13|0)){break u}if((m|0)<(d+13|0)){break c}}g=B(j,14);v:{if((g|0)<=(c-14|0)|(g|0)>=(c+14|0)){break v}g=14;m=B(h,14);if((m|0)<=(d-14|0)){break v}if((m|0)<(d+14|0)){break c}}g=B(j,15);w:{if((g|0)<=(c-15|0)|(g|0)>=(c+15|0)){break w}g=15;m=B(h,15);if((m|0)<=(d-15|0)){break w}if((m|0)<(d+15|0)){break c}}g=12;if((B(h,12)|0)<(d|0)&(c|0)>(k|0)|(B(j,36)|0)<(c|0)|(B(h,36)|0)<(d|0)){break d}g=6;if((B(h,6)|0)<(d|0)&(c|0)>(n|0)|(B(j,18)|0)<(c|0)|(B(h,18)|0)<(d|0)){break d}g=4;if(h<<2<(d|0)&(c|0)>(o|0)|(B(j,12)|0)<(c|0)|(B(h,12)|0)<(d|0)){break d}g=3;if((B(h,3)|0)<(d|0)&(c|0)>(l|0)|(B(j,9)|0)<(c|0)|(B(h,9)|0)<(d|0)){break d}g=(B(j,6)|0)<(c|0)?2:(B(h,6)|0)<(d|0)?2:1;g=(c|0)>(i|0)?h<<1<(d|0)?2:g:g;break d}v[a>>2]=0;qb(a,0);break b}lb(mb(f+40|0,319225,241907,1171,330659));L()}if(!((d|0)>0&(c|0)>=1)){v[a>>2]=0;qb(a,0);break b}i=ab(108);v[i+8>>2]=0;v[i+12>>2]=0;v[i>>2]=978348;v[i+4>>2]=0;v[i+16>>2]=0;v[i+20>>2]=0;v[i+24>>2]=0;v[i+28>>2]=0;v[i+32>>2]=0;v[i+36>>2]=0;pc(i+44|0,i+40|0,0,4);pc(i+56|0,i+52|0,0,4);v[i>>2]=978380;pc(i+68|0,i- -64|0,0,3);pc(i+80|0,i+76|0,0,3);pc(i+92|0,i+88|0,0,3);v[f+32>>2]=0;qb(f+32|0,i);i=v[f+32>>2];l=g-1|0;ZQ(i,(l+c|0)/(g|0)|0,(d+l|0)/(g|0)|0);YQ(i,j,h);Sr(i,B(g,j),c);Rr(i,B(g,h),d);v[f+24>>2]=0;v[f+28>>2]=0;v[f+16>>2]=0;v[f+20>>2]=0;c=f+16|0;uE(i,f+40|0,c);Qa[3774](f+8|0,b,c,g,e);x:{if(!v[f+8>>2]){v[a>>2]=0;qb(a,0);break x}c=ab(24);v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c>>2]=978308;v[c+4>>2]=0;v[f>>2]=0;qb(f,c);iy(i,f+16|0,v[f+8>>2],f+40|0,v[f>>2]);c=v[f>>2];y:{if(c){d=a;a=v[b+12>>2];bR(d,c,(a|0)>0?a:0);break y}v[a>>2]=0;qb(a,0)}a=v[f>>2];v[f>>2]=0;if(!a){break x}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break x}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}a=v[f+8>>2];v[f+8>>2]=0;z:{if(!a){break z}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break z}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}a=v[f+32>>2];v[f+32>>2]=0;if(!a){break b}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break b}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}break b}Qa[3774](f+16|0,b,f+40|0,g,e);c=v[f+16>>2];A:{if(c){d=a;a=v[b+12>>2];bR(d,c,(a|0)>0?a:0);break A}v[a>>2]=0;qb(a,0)}a=v[f+16>>2];v[f+16>>2]=0;if(!a){break b}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break b}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=f+128|0}function Cva(a,b,c,d,e,f,g,h,i,j,k,l,m,n){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;m=m|0;n=n|0;var o=0,p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0;o=Ma-224|0;Ma=o;a:{if(w[a+208|0]){break a}F=B(e,f)<<2;if((F|0)<1){break a}H=A[b+104>>3];n=ab(F);G=o+192|0;c=G;v[c+12>>2]=0;v[c+16>>2]=0;v[c+4>>2]=1;v[c+8>>2]=8;v[c>>2]=360452;v[c+20>>2]=0;v[c+24>>2]=0;t[c+28|0]=0;v[o+48>>2]=e;v[o+176>>2]=f;v[o+40>>2]=0-(e<<2);Uo(c,n,o+48|0,o+176|0,o+40|0);s=ab(36);z=cq(s,d,e,v[g+8>>2],v[g+4>>2]);c=v[z>>2];Qa[v[v[c>>2]+20>>2]](c);p=w[a+202|0]?A[b+392>>3]:1;v[o+188>>2]=0;c=f-1|0;if(!((f|0)<1|(e|0)<1)){d=c;while(1){x=B(d,e);h=0;while(1){u=o+188|0;ll(z,u);ws(g,u,o+48|0);C=(h+x<<2)+n|0;t[C|0]=B(v[o+56>>2],255)+32768>>>16;t[C+1|0]=B(v[o+52>>2],255)+32768>>>16;u=v[o+48>>2];t[C+3|0]=255;t[C+2|0]=B(u,255)+32768>>>16;h=h+1|0;if((h|0)!=(e|0)){continue}break}h=(d|0)>0;d=d-1|0;if(h){continue}break}}bq(z);$a(s);b:{c:{d:{if(!((e|0)==(j|0)&(f|0)==(k|0))){if(!e|!k|(!f|!j)){break d}x=ab(36);s=cq(x,i,j,v[l+8>>2],v[l+4>>2]);i=ab(B(j,k));c=v[s>>2];Qa[v[v[c>>2]+20>>2]](c);h=0;t[o+32|0]=0;if(!((k|0)<1|(j|0)<1)){while(1){u=B(h,j);d=0;while(1){c=o+32|0;ll(s,c);kV(l,c,o+48|0);t[i+(d+u|0)|0]=B(v[o+48>>2],255)+32768>>>16;d=d+1|0;if((j|0)!=(d|0)){continue}break}h=h+1|0;if((k|0)!=(h|0)){continue}break}}bq(s);$a(x);c=(e|0)<(j|0);if(!(!c&(f|0)>=(k|0))){l=c?j:e;c=l<<2;d=(f|0)<(k|0)?k:f;h=ab(B(c,d));v[o+48>>2]=l;v[o+176>>2]=d;v[o+40>>2]=0-c;Uo(G,h,o+48|0,o+176|0,o+40|0);if((d|0)>=1){r=+(d|0);I=+(k|0)/r;q=+(l|0);J=+(j|0)/q;y=+(f|0)/r;E=+(e|0)/q;z=d-1|0;f=z;while(1){r=+(z-f|0);q=y*r;e:{if(D(q)<2147483648){d=~~q;break e}d=-2147483648}q=I*r;f:{if(D(q)<2147483648){c=~~q;break f}c=-2147483648}k=0;if((l|0)>0){s=B(f,l);x=B(d,e);u=B(c,j);while(1){d=h+(k+s<<2)|0;C=d;r=+(k|0);q=E*r;g:{if(D(q)<2147483648){c=~~q;break g}c=-2147483648}c=(c+x<<2)+n|0;t[C|0]=w[c|0];t[d+1|0]=w[c+1|0];t[d+2|0]=w[c+2|0];q=p;r=J*r;h:{if(D(r)<2147483648){c=~~r;break h}c=-2147483648}q=q*+w[(c+u|0)+i|0];i:{if(q<4294967296&q>=0){c=~~q>>>0;break i}c=0}t[d+3|0]=c;k=k+1|0;if((l|0)!=(k|0)){continue}break}}c=(f|0)>0;f=f-1|0;if(c){continue}break}}$a(n);n=h;break c}if((f|0)<=0){break c}y=+(k|0)/+(f|0);E=+(j|0)/+(e|0);s=(e|0)<1;c=f;while(1){k=c;q=y*+(f-c|0);j:{if(D(q)<2147483648){d=~~q;break j}d=-2147483648}c=k-1|0;if(!s){x=B(c,e);u=B(d,j);d=0;while(1){h=(d+x<<2)+n|0;q=p;r=E*+(d|0);k:{if(D(r)<2147483648){l=~~r;break k}l=-2147483648}q=q*+w[(l+u|0)+i|0];l:{if(q<4294967296&q>=0){l=~~q>>>0;break l}l=0}t[h+3|0]=l;d=d+1|0;if((e|0)!=(d|0)){continue}break}}if((k|0)>=2){continue}break}break c}j=ab(36);k=cq(j,i,e,v[l+8>>2],v[l+4>>2]);d=v[k>>2];Qa[v[v[d>>2]+20>>2]](d);t[o+176|0]=0;if(!((f|0)<1|(e|0)<1)){while(1){h=B(c,e);d=0;while(1){f=o+176|0;ll(k,f);kV(l,f,o+48|0);f=(d+h<<2)+n|0;q=p*+((B(v[o+48>>2],255)+32768>>>16&255)>>>0);m:{if(q<4294967296&q>=0){i=~~q>>>0;break m}i=0}t[f+3|0]=i;d=d+1|0;if((e|0)!=(d|0)){continue}break}d=(c|0)>0;c=c-1|0;if(d){continue}break}}bq(k);$a(j);break b}f=(f|0)<1;p=p*255;n:{if(p<4294967296&p>=0){d=~~p>>>0;break n}d=0}if((e|0)<1|f){break b}j=d;i=e&-4;f=e&3;k=e-1>>>0<3;while(1){l=B(c,e);d=0;h=i;if(!k){while(1){t[((d+l<<2)+n|0)+3|0]=j;t[((l+(d|1)<<2)+n|0)+3|0]=j;t[((l+(d|2)<<2)+n|0)+3|0]=j;t[((l+(d|3)<<2)+n|0)+3|0]=j;d=d+4|0;h=h-4|0;if(h){continue}break}}h=f;if(f){while(1){t[((d+l<<2)+n|0)+3|0]=j;d=d+1|0;h=h-1|0;if(h){continue}break}}d=(c|0)>0;c=c-1|0;if(d){continue}break}break b}$a(i)}o:{if(!m){break o}c=v[g+8>>2];p:{if((c|0)<1){break p}h=c&3;d=0;if(c-1>>>0>=3){k=c&-4;while(1){c=(o+48|0)+(d<<2)|0;p=A[(d<<3)+m>>3]*65536;q:{if(D(p)<2147483648){e=~~p;break q}e=-2147483648}v[c>>2]=e;e=d|1;c=(o+48|0)+(e<<2)|0;p=A[(e<<3)+m>>3]*65536;r:{if(D(p)<2147483648){e=~~p;break r}e=-2147483648}v[c>>2]=e;e=d|2;c=(o+48|0)+(e<<2)|0;p=A[(e<<3)+m>>3]*65536;s:{if(D(p)<2147483648){e=~~p;break s}e=-2147483648}v[c>>2]=e;e=d|3;c=(o+48|0)+(e<<2)|0;p=A[(e<<3)+m>>3]*65536;t:{if(D(p)<2147483648){e=~~p;break t}e=-2147483648}v[c>>2]=e;d=d+4|0;k=k-4|0;if(k){continue}break}}if(!h){break p}while(1){c=(o+48|0)+(d<<2)|0;p=A[(d<<3)+m>>3]*65536;u:{if(D(p)<2147483648){e=~~p;break u}e=-2147483648}v[c>>2]=e;d=d+1|0;h=h-1|0;if(h){continue}break}}d=0;c=v[g>>2];Qa[v[v[c>>2]+20>>2]](c,o+48|0,o+176|0,0);if((F|0)<=0){break o}g=B(v[o+176>>2],255)+32768>>>16&255;E=+(g>>>0);f=B(v[o+180>>2],255)+32768>>>16&255;r=+(f>>>0);e=B(v[o+184>>2],255)+32768>>>16&255;q=+(e>>>0);while(1){c=w[(d|3)+n|0];v:{if(!c){t[d+n|0]=255;t[(d|1)+n|0]=255;t[(d|2)+n|0]=255;break v}y=255/+(c>>>0);c=d+n|0;p=y*+(w[c|0]-e|0)+q;w:{if(D(p)<2147483648){h=~~p;break w}h=-2147483648}i=c;c=(h|0)<255?h:255;t[i|0]=(c|0)>0?c:0;c=(d|1)+n|0;p=y*+(w[c|0]-f|0)+r;x:{if(D(p)<2147483648){h=~~p;break x}h=-2147483648}i=c;c=(h|0)<255?h:255;t[i|0]=(c|0)>0?c:0;c=(d|2)+n|0;p=y*+(w[c|0]-g|0)+E;y:{if(D(p)<2147483648){h=~~p;break y}h=-2147483648}i=c;c=(h|0)<255?h:255;t[i|0]=(c|0)>0?c:0}d=d+4|0;if((F|0)>(d|0)){continue}break}}A[o+48>>3]=A[b+16>>3];A[o+56>>3]=-A[b+24>>3];q=A[b+32>>3];A[o+64>>3]=-q;p=A[b+40>>3];A[o+72>>3]=p;A[o+80>>3]=q+A[b+48>>3];A[o+88>>3]=H-(p+A[b+56>>3]);v[o+176>>2]=0;v[o+180>>2]=0;v[o+40>>2]=0;v[o+44>>2]=0;Es(a,o+48|0,o+176|0,o+40|0,1);a=v[a+104>>2];A[o+32>>3]=A[o+176>>3]+0;A[o+24>>3]=A[o+40>>3]+0;v[o+16>>2]=1049880894;v[o+20>>2]=1071027177;v[o+8>>2]=1049880894;v[o+12>>2]=1071027177;Qa[v[v[a>>2]+356>>2]](a,G,o+32|0,o+24|0,o+16|0,o+8|0)|0;Vo(G)}Ma=o+224|0}function q1(a,b,c){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,p=0;k=Ma-16|0;Ma=k;v[c>>2]=2147483632;v[c+16>>2]=v[c+8>>2];h=v[c+20>>2];v[c+28>>2]=h;u[h+2>>1]=0;e=v[b+20>>2];j=v[b+28>>2]-e|0;f=268435454;d=268435455;i=268435455;h=268435454;l=v[a+20>>2];a=v[a+28>>2]-l|0;if(a){v[k+4>>2]=l+8;o=(a>>3)-1|0;a=u[l+10>>1];b=a>>31;i=u[l+8>>1];h=(i+((b^a+b)&65535)|0)-1|0}if(j){v[k>>2]=e+8;p=(j>>3)-1|0;a=u[e+10>>1];b=a>>31;d=u[e+8>>1];f=(d+((b^a+b)&65535)|0)-1|0}while(1){a:{if(!o){b=i;o=0;break a}if((i|0)<=(h|0)){b=i;break a}b=v[k+4>>2];v[k+4>>2]=b+8;o=o-1|0;a=u[b+10>>1];h=a>>31;b=u[b+8>>1];h=(b+((h^a+h)&65535)|0)-1|0}l=h;b:{c:{d:{if(!p){p=0;break d}if((d|0)>(f|0)){break c}}a=d;break b}a=v[k>>2];v[k>>2]=a+8;p=p-1|0;h=u[a+10>>1];f=h>>31;a=u[a+8>>1];f=(a+((f^f+h)&65535)|0)-1|0}j=f;if(!((f|0)<(a|0)&(b|0)>(l|0))){m=(j|0)<(l|0);i=(a|0)>(b|0)?a:b;h=(m?j:l)-i|0;if((h|0)>=0){h=h+1|0;e:{f:{g:{if((a|0)>(b|0)){g=a-b|0;d=v[k+4>>2];f=u[d+2>>1];if((f|0)<=-1){e=w[v[d+4>>2]];h:{if((v[c>>2]+1|0)!=(b|0)){break h}d=v[c+28>>2];f=u[d+2>>1];if((f|0)>-1|(e|0)!=w[v[d+4>>2]]){break h}u[d+2>>1]=f-g;b=a;break g}t[v[c+16>>2]]=e;d=v[c+28>>2];v[c+28>>2]=d+8;f=v[c+16>>2];v[c+16>>2]=f+1;u[d+10>>1]=0-g;u[d+8>>1]=b;v[d+12>>2]=f;b=a;break g}if(!f){b=a;break e}f=u[d>>1];cb(v[c+16>>2],v[d+4>>2]+((b|0)>(f|0)?b-f|0:0)|0,g);d=v[c+28>>2];i:{j:{if((v[c>>2]+1|0)!=(b|0)){break j}f=u[d+2>>1];if((f|0)<1){break j}u[d+2>>1]=f+g;f=v[c+16>>2];break i}v[c+28>>2]=d+8;f=v[c+16>>2];u[d+10>>1]=g;u[d+8>>1]=b;v[d+12>>2]=f}v[c+16>>2]=f+g;b=a;break g}if((a|0)>=(b|0)){break e}g=b-a|0;d=v[k>>2];f=u[d+2>>1];if((f|0)<=-1){e=w[v[d+4>>2]];k:{if((v[c>>2]+1|0)!=(a|0)){break k}d=v[c+28>>2];f=u[d+2>>1];if((f|0)>-1|(e|0)!=w[v[d+4>>2]]){break k}u[d+2>>1]=f-g;break g}t[v[c+16>>2]]=e;d=v[c+28>>2];v[c+28>>2]=d+8;f=v[c+16>>2];v[c+16>>2]=f+1;u[d+10>>1]=0-g;u[d+8>>1]=a;v[d+12>>2]=f;break g}if(!f){break f}f=u[d>>1];cb(v[c+16>>2],v[d+4>>2]+((a|0)>(f|0)?a-f|0:0)|0,g);d=v[c+28>>2];l:{m:{if((v[c>>2]+1|0)!=(a|0)){break m}f=u[d+2>>1];if((f|0)<1){break m}u[d+2>>1]=f+g;f=v[c+16>>2];break l}v[c+28>>2]=d+8;f=v[c+16>>2];u[d+10>>1]=g;u[d+8>>1]=a;v[d+12>>2]=f}v[c+16>>2]=f+g}v[c>>2]=b-1}a=b}f=h;n:{o:{p:{q:{r:{n=v[k>>2];d=v[k+4>>2];switch((x[n+2>>1]>>>14&2|x[d+2>>1]>>>15)-1|0){case 2:break o;case 1:break p;case 0:break q;default:break r}}e=u[n>>1];g=v[n+4>>2]+((e|0)<(i|0)?i-e|0:0)|0;e=v[d+4>>2];d=u[d>>1];n=e+((d|0)<(i|0)?i-d|0:0)|0;while(1){d=w[n|0]-w[g|0]|0;if(d){e=d;d=d>>31;t[v[c+16>>2]]=e+d^d;e=v[c+28>>2];s:{t:{if((v[c>>2]+1|0)!=(i|0)){break t}d=u[e+2>>1];if((d|0)<1){break t}u[e+2>>1]=d+1;d=v[c+16>>2];break s}v[c+28>>2]=e+8;d=v[c+16>>2];u[e+10>>1]=1;u[e+8>>1]=i;v[e+12>>2]=d}v[c>>2]=i;v[c+16>>2]=d+1}g=g+1|0;n=n+1|0;i=i+1|0;f=f-1|0;if(f){continue}break}break n}e=u[n>>1];g=v[n+4>>2]+((e|0)<(i|0)?i-e|0:0)|0;while(1){d=w[v[d+4>>2]]-w[g|0]|0;if(d){e=d;d=d>>31;t[v[c+16>>2]]=e+d^d;e=v[c+28>>2];u:{v:{if((v[c>>2]+1|0)!=(i|0)){break v}d=u[e+2>>1];if((d|0)<1){break v}u[e+2>>1]=d+1;d=v[c+16>>2];break u}v[c+28>>2]=e+8;d=v[c+16>>2];u[e+10>>1]=1;u[e+8>>1]=i;v[e+12>>2]=d}v[c>>2]=i;v[c+16>>2]=d+1}f=f-1|0;if(!f){break n}g=g+1|0;i=i+1|0;d=v[k+4>>2];continue}}e=v[d+4>>2];d=u[d>>1];g=e+((d|0)<(i|0)?i-d|0:0)|0;while(1){d=w[g|0]-w[v[n+4>>2]]|0;if(d){e=d;d=d>>31;t[v[c+16>>2]]=e+d^d;e=v[c+28>>2];w:{x:{if((v[c>>2]+1|0)!=(i|0)){break x}d=u[e+2>>1];if((d|0)<1){break x}u[e+2>>1]=d+1;d=v[c+16>>2];break w}v[c+28>>2]=e+8;d=v[c+16>>2];u[e+10>>1]=1;u[e+8>>1]=i;v[e+12>>2]=d}v[c>>2]=i;v[c+16>>2]=d+1}f=f-1|0;if(!f){break n}g=g+1|0;i=i+1|0;n=v[k>>2];continue}}d=w[v[d+4>>2]]-w[v[n+4>>2]]|0;if(!d){break n}e=d;d=d>>31;g=e+d^d;y:{z:{if((v[c>>2]+1|0)!=(i|0)){break z}e=v[c+28>>2];d=u[e+2>>1];if((d|0)>-1|(g|0)!=w[v[e+4>>2]]){break z}u[e+2>>1]=d-f;break y}t[v[c+16>>2]]=g;e=v[c+28>>2];v[c+28>>2]=e+8;d=v[c+16>>2];v[c+16>>2]=d+1;u[e+10>>1]=0-f;u[e+8>>1]=i;v[e+12>>2]=d}v[c>>2]=(f+i|0)-1}if((j|0)>(l|0)){d=a+h|0;h=268435454;i=268435455;f=j;continue}d=268435455;i=m?b+h|0:268435455;f=268435454;h=m?l:268435454;continue}if((a|0)>(b|0)){h=268435454;i=268435455;d=a;if((b|0)>(l|0)){continue}e=l-b|0;m=e+1|0;g=v[k+4>>2];j=u[g+2>>1];A:{if((j|0)<=-1){g=w[v[g+4>>2]];B:{if((v[c>>2]+1|0)!=(b|0)){break B}d=v[c+28>>2];j=u[d+2>>1];if((j|0)>-1|(g|0)!=w[v[d+4>>2]]){break B}u[d+2>>1]=j-m;break A}t[v[c+16>>2]]=g;d=v[c+28>>2];v[c+28>>2]=d+8;j=v[c+16>>2];v[c+16>>2]=j+1;u[d+10>>1]=e^-1;u[d+8>>1]=b;v[d+12>>2]=j;break A}if(!j){continue}j=u[g>>1];cb(v[c+16>>2],v[g+4>>2]+((b|0)>(j|0)?b-j|0:0)|0,m);e=v[c+28>>2];C:{D:{if((v[c>>2]+1|0)!=(b|0)){break D}j=u[e+2>>1];if((j|0)<1){break D}u[e+2>>1]=j+m;d=v[c+16>>2];break C}v[c+28>>2]=e+8;d=v[c+16>>2];u[e+10>>1]=m;u[e+8>>1]=b;v[e+12>>2]=d}v[c+16>>2]=d+m}v[c>>2]=l;d=a;continue}f=268435454;d=268435455;i=b;h=l;if((a|0)>(j|0)){continue}e=j-a|0;m=e+1|0;g=v[k>>2];b=u[g+2>>1];E:{if((b|0)<=-1){g=w[v[g+4>>2]];F:{if((v[c>>2]+1|0)!=(a|0)){break F}h=v[c+28>>2];b=u[h+2>>1];if((b|0)>-1|(g|0)!=w[v[h+4>>2]]){break F}u[h+2>>1]=b-m;break E}t[v[c+16>>2]]=g;h=v[c+28>>2];v[c+28>>2]=h+8;b=v[c+16>>2];v[c+16>>2]=b+1;u[h+10>>1]=e^-1;u[h+8>>1]=a;v[h+12>>2]=b;break E}if(!b){continue}b=u[g>>1];cb(v[c+16>>2],v[g+4>>2]+((a|0)>(b|0)?a-b|0:0)|0,m);e=v[c+28>>2];G:{H:{if((v[c>>2]+1|0)!=(a|0)){break H}b=u[e+2>>1];if((b|0)<1){break H}u[e+2>>1]=b+m;h=v[c+16>>2];break G}v[c+28>>2]=e+8;h=v[c+16>>2];u[e+10>>1]=m;u[e+8>>1]=a;v[e+12>>2]=h}v[c+16>>2]=h+m}v[c>>2]=j;h=l;continue}break}Ma=k+16|0}function lO(a,b,c,d,e,f,g,h,i,j,k){var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,y=0,z=0,A=0;l=Ma-560|0;Ma=l;v[l+548>>2]=k;v[l+552>>2]=b;v[l+104>>2]=4175;b=l+104|0;p=nf(l+136|0,l+144|0,b);k=v[p>>2];v[l+132>>2]=k;v[l+128>>2]=k+400;r=ud(b);o=ud(l+88|0);m=ud(l+72|0);n=ud(l+56|0);q=ud(l+40|0);k=Ma-16|0;Ma=k;b=l;a:{if(c){c=iO(d);Qa[v[v[c>>2]+44>>2]](k,c);d=v[k>>2];t[l+120|0]=d;t[l+121|0]=d>>>8;t[l+122|0]=d>>>16;t[l+123|0]=d>>>24;Qa[v[v[c>>2]+32>>2]](k,c);Kh(n,k);Vb(k);Qa[v[v[c>>2]+28>>2]](k,c);Kh(m,k);Vb(k);z=l,A=Qa[v[v[c>>2]+12>>2]](c)|0,t[z+119|0]=A;z=l,A=Qa[v[v[c>>2]+16>>2]](c)|0,t[z+118|0]=A;Qa[v[v[c>>2]+20>>2]](k,c);Kh(r,k);Vb(k);Qa[v[v[c>>2]+24>>2]](k,c);Kh(o,k);Vb(k);c=Qa[v[v[c>>2]+36>>2]](c)|0;break a}c=hO(d);Qa[v[v[c>>2]+44>>2]](k,c);d=v[k>>2];t[l+120|0]=d;t[l+121|0]=d>>>8;t[l+122|0]=d>>>16;t[l+123|0]=d>>>24;Qa[v[v[c>>2]+32>>2]](k,c);Kh(n,k);Vb(k);Qa[v[v[c>>2]+28>>2]](k,c);Kh(m,k);Vb(k);z=l,A=Qa[v[v[c>>2]+12>>2]](c)|0,t[z+119|0]=A;z=l,A=Qa[v[v[c>>2]+16>>2]](c)|0,t[z+118|0]=A;Qa[v[v[c>>2]+20>>2]](k,c);Kh(r,k);Vb(k);Qa[v[v[c>>2]+24>>2]](k,c);Kh(o,k);Vb(k);c=Qa[v[v[c>>2]+36>>2]](c)|0}v[b+36>>2]=c;Ma=k+16|0;v[j>>2]=v[i>>2];s=e&512;u=s>>>9|0;b=0;c=0;while(1){k=c;b:{c:{d:{e:{if((b|0)==4){break e}if(!Mh(a,l+552|0)){break e}e=0;f:{g:{h:{i:{j:{switch(t[(l+120|0)+b|0]){case 1:if((b|0)==3){break c}c=sf(a);if((c|0)>=0){c=x[v[h+8>>2]+((c&255)<<1)>>1]&8192}else{c=0}if(c){kO(l+24|0,a);fD(q,t[l+24|0]);break i}v[f>>2]=v[f>>2]|4;a=0;break d;case 3:break h;case 0:break j;case 4:break f;case 2:break g;default:break b}}if((b|0)==3){break c}}while(1){if(!Mh(a,l+552|0)){break c}c=sf(a);if((c|0)>=0){c=(x[v[h+8>>2]+((c&255)<<1)>>1]&8192)!=0}else{c=0}if(!c){break c}kO(l+24|0,a);fD(q,t[l+24|0]);continue}}if(w[m+11|0]>>>7|0){c=v[m+4>>2]}else{c=w[m+11|0]}if(w[n+11|0]>>>7|0){d=v[n+4>>2]}else{d=w[n+11|0]}if((c|0)==(0-d|0)){break c}if(w[m+11|0]>>>7|0){c=v[m+4>>2]}else{c=w[m+11|0]}if(w[n+11|0]>>>7|0){d=v[n+4>>2]}else{d=w[n+11|0]}if(!(d?c:0)){if(w[m+11|0]>>>7|0){c=v[m+4>>2]}else{c=w[m+11|0]}d=sf(a);if(c){if(w[m+11|0]>>>7|0){c=v[m>>2]}else{c=m}if(w[c|0]==(d&255)){Zf(a);c=m;d=c;if(w[c+11|0]>>>7|0){c=v[m+4>>2]}else{c=w[m+11|0]}c=c>>>0>1?d:k;break b}t[g|0]=1;break c}if(w[n+11|0]>>>7|0){c=v[n>>2]}else{c=n}if(w[c|0]!=(d&255)){break c}Zf(a);t[g|0]=1;c=n;d=c;if(w[c+11|0]>>>7|0){c=v[n+4>>2]}else{c=w[n+11|0]}c=c>>>0>1?d:k;break b}d=sf(a)&255;if(w[m+11|0]>>>7|0){c=v[m>>2]}else{c=m}if((d|0)==w[c|0]){Zf(a);c=m;d=c;if(w[c+11|0]>>>7|0){c=v[m+4>>2]}else{c=w[m+11|0]}c=c>>>0>1?d:k;break b}d=sf(a)&255;if(w[n+11|0]>>>7|0){c=v[n>>2]}else{c=n}if((d|0)==w[c|0]){Zf(a);t[g|0]=1;c=n;d=c;if(w[c+11|0]>>>7|0){c=v[n+4>>2]}else{c=w[n+11|0]}c=c>>>0>1?d:k;break b}v[f>>2]=v[f>>2]|4;a=0;break d}if(!(b>>>0<2|k)){c=0;if(!((b|0)==2&w[l+123|0]!=0|u)){break b}}z=l,A=Hi(o),v[z+16>>2]=A;v[l+24>>2]=v[l+16>>2];k:{if(!b|w[(b+l|0)+119|0]>1){break k}while(1){l:{z=l,A=ao(o),v[z+16>>2]=A;if(v[l+24>>2]==v[l+16>>2]){break l}c=t[v[l+24>>2]];if((c|0)>=0){c=(x[v[h+8>>2]+((c&255)<<1)>>1]&8192)!=0}else{c=0}if(!c){break l}v[l+24>>2]=v[l+24>>2]+1;continue}break}z=l,A=Hi(o),v[z+16>>2]=A;if(w[q+11|0]>>>7|0){d=v[q+4>>2]}else{d=w[q+11|0]}c=v[l+24>>2]-v[l+16>>2]|0;if(d>>>0>=c>>>0){z=l,A=ao(q),v[z+16>>2]=A;d=gO(l+16|0,0-c|0);e=ao(q);y=Hi(o);c=Ma-32|0;Ma=c;v[c+16>>2]=e;v[c+24>>2]=d;v[c+8>>2]=y;while(1){d=v[c+24>>2]!=v[c+16>>2];if(!(!d|w[v[c+24>>2]]!=w[v[c+8>>2]])){v[c+24>>2]=v[c+24>>2]+1;v[c+8>>2]=v[c+8>>2]+1;continue}break}Ma=c+32|0;if(!d){break k}}z=l,A=Hi(o),v[z+8>>2]=A;v[l+16>>2]=v[l+8>>2];v[l+24>>2]=v[l+16>>2]}v[l+16>>2]=v[l+24>>2];while(1){m:{z=l,A=ao(o),v[z+8>>2]=A;if(v[l+16>>2]==v[l+8>>2]){break m}if(!Mh(a,l+552|0)){break m}if((sf(a)&255)!=w[v[l+16>>2]]){break m}Zf(a);v[l+16>>2]=v[l+16>>2]+1;continue}break}if(!s){break c}z=l,A=ao(o),v[z+8>>2]=A;if(v[l+16>>2]==v[l+8>>2]){break c}v[f>>2]=v[f>>2]|4;a=0;break d}while(1){n:{if(!Mh(a,l+552|0)){break n}c=sf(a);o:{if((c|0)>=0?x[v[h+8>>2]+((c&255)<<1)>>1]&2048:0){d=v[j>>2];if((d|0)==v[l+548>>2]){jO(i,j,l+548|0);d=v[j>>2]}v[j>>2]=d+1;t[d|0]=c;e=e+1|0;break o}if(w[r+11|0]>>>7|0){d=v[r+4>>2]}else{d=w[r+11|0]}if(!d|!e|w[l+118|0]!=(c&255)){break n}c=v[l+132>>2];if((c|0)==v[l+128>>2]){xr(p,l+132|0,l+128|0);c=v[l+132>>2]}v[l+132>>2]=c+4;v[c>>2]=e;e=0}Zf(a);continue}break}c=v[l+132>>2];if(!(!e|(c|0)==v[p>>2])){if(v[l+128>>2]==(c|0)){xr(p,l+132|0,l+128|0);c=v[l+132>>2]}v[l+132>>2]=c+4;v[c>>2]=e}p:{if(v[l+36>>2]<1){break p}q:{if(!yg(a,l+552|0)){if((sf(a)&255)==w[l+119|0]){break q}}v[f>>2]=v[f>>2]|4;a=0;break d}while(1){Zf(a);if(v[l+36>>2]<1){break p}r:{if(!yg(a,l+552|0)){c=sf(a);if((c|0)>=0){c=x[v[h+8>>2]+((c&255)<<1)>>1]&2048}else{c=0}if(c){break r}}v[f>>2]=v[f>>2]|4;a=0;break d}if(v[j>>2]==v[l+548>>2]){jO(i,j,l+548|0)}c=sf(a);d=v[j>>2];v[j>>2]=d+1;t[d|0]=c;v[l+36>>2]=v[l+36>>2]-1;continue}}c=k;if(v[i>>2]!=v[j>>2]){break b}v[f>>2]=v[f>>2]|4;a=0;break d}s:{if(!k){break s}e=1;while(1){if(w[k+11|0]>>>7|0){b=v[k+4>>2]}else{b=w[k+11|0]}if(b>>>0<=e>>>0){break s}t:{if(!yg(a,l+552|0)){c=sf(a)&255;if(w[k+11|0]>>>7|0){b=v[k>>2]}else{b=k}if((c|0)==w[b+e|0]){break t}}v[f>>2]=v[f>>2]|4;a=0;break d}Zf(a);e=e+1|0;continue}}a=1;if(v[p>>2]==v[l+132>>2]){break d}a=0;v[l+24>>2]=0;Jh(r,v[p>>2],v[l+132>>2],l+24|0);if(v[l+24>>2]){v[f>>2]=v[f>>2]|4;break d}a=1}Vb(q);Vb(n);Vb(m);Vb(o);Vb(r);b=v[p>>2];v[p>>2]=0;if(b){Qa[v[p+4>>2]](b)}Ma=l+560|0;return a}c=k}b=b+1|0;continue}}function fea(a,b,c,d,e,f){a=a|0;b=+b;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,k=0,l=0,m=0,n=0,p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0,A=0,C=0,E=0,F=0,G=0,H=0;n=Ma-560|0;Ma=n;v[n+44>>2]=0;o(+b);g=j(1)|0;j(0)|0;a:{if((g|0)<-1|(g|0)<=-1){z=1;E=221155;b=-b;o(+b);g=j(1)|0;j(0)|0;break a}if(e&2048){z=1;E=221158;break a}z=e&1;E=z?221161:221156;G=!z}b:{if((g&2146435072)==2146435072){i=z+3|0;Ji(a,32,c,i,e&-65537);sh(a,E,z);d=f&32;sh(a,b!=b?d?249440:310776:d?272951:311649,3);break b}x=n+16|0;c:{d:{e:{b=WP(b,n+44|0);b=b+b;if(b!=0){g=v[n+44>>2];v[n+44>>2]=g-1;u=f|32;if((u|0)!=97){break e}break c}u=f|32;if((u|0)==97){break c}k=v[n+44>>2];l=(d|0)<0?6:d;break d}k=g-29|0;v[n+44>>2]=k;b=b*268435456;l=(d|0)<0?6:d}p=(k|0)<0?n+48|0:n+336|0;h=p;while(1){d=h;if(b<4294967296&b>=0){g=~~b>>>0}else{g=0}v[d>>2]=g;h=h+4|0;b=(b-+(g>>>0))*1e9;if(b!=0){continue}break}f:{if((k|0)<1){d=k;g=h;m=p;break f}m=p;d=k;while(1){q=(d|0)<29?d:29;g=h-4|0;g:{if(m>>>0>g>>>0){break g}d=q;i=0;while(1){s=g;A=i;C=v[g>>2];r=d&31;if((d&63)>>>0>=32){i=C<>>32-r;C=C<>>0>>0?i+1|0:i;i=z3a(r,i,1e9,0);A=s;s=x3a(i,Pa,1e9,0);v[A>>2]=r-s;g=g-4|0;if(m>>>0<=g>>>0){continue}break}if(!i){break g}m=m-4|0;v[m>>2]=i}while(1){g=h;if(m>>>0>>0){h=g-4|0;if(!v[h>>2]){continue}}break}d=v[n+44>>2]-q|0;v[n+44>>2]=d;h=g;if((d|0)>0){continue}break}}h=(l+25|0)/9|0;if((d|0)<=-1){q=h+1|0;F=(u|0)==102;while(1){d=0-d|0;i=(d|0)<9?d:9;h:{if(g>>>0>m>>>0){s=1e9>>>i|0;r=-1<>2];v[h>>2]=A+(d>>>i|0);d=B(s,d&r);h=h+4|0;if(h>>>0>>0){continue}break}h=v[m>>2];if(!d){break h}v[g>>2]=d;g=g+4|0;break h}h=v[m>>2]}d=i+v[n+44>>2]|0;v[n+44>>2]=d;m=(!h<<2)+m|0;h=F?p:m;g=(q|0)>2?h+(q<<2)|0:g;if((d|0)<0){continue}break}}h=0;i:{if(g>>>0<=m>>>0){break i}h=B(p-m>>2,9);d=10;i=v[m>>2];if(i>>>0<10){break i}while(1){h=h+1|0;d=B(d,10);if(i>>>0>=d>>>0){continue}break}}d=(l-((u|0)==102?0:h)|0)-((u|0)==103&(l|0)!=0)|0;if((d|0)<(B(g-p>>2,9)-9|0)){s=((k|0)<0?4:292)+n|0;k=d+9216|0;q=(k|0)/9|0;i=(s+(q<<2)|0)-4048|0;d=10;k=k-B(q,9)|0;if((k|0)<=7){while(1){d=B(d,10);k=k+1|0;if((k|0)!=8){continue}break}}q=v[i>>2];s=(q>>>0)/(d>>>0)|0;k=q-B(d,s)|0;r=i+4|0;j:{if(!k&(r|0)==(g|0)){break j}b=(g|0)==(r|0)?1:1.5;r=d>>>1|0;y=k>>>0>>0?.5:(r|0)==(k|0)?b:1.5;b=s&1?9007199254740994:9007199254740992;if(!(w[E|0]!=45|G)){y=-y;b=-b}k=q-k|0;v[i>>2]=k;if(b+y==b){break j}d=d+k|0;v[i>>2]=d;if(d>>>0>=1e9){while(1){v[i>>2]=0;i=i-4|0;if(i>>>0>>0){m=m-4|0;v[m>>2]=0}d=v[i>>2]+1|0;v[i>>2]=d;if(d>>>0>999999999){continue}break}}h=B(p-m>>2,9);d=10;k=v[m>>2];if(k>>>0<10){break j}while(1){h=h+1|0;d=B(d,10);if(k>>>0>=d>>>0){continue}break}}d=i+4|0;g=d>>>0>>0?d:g}while(1){k=g;d=g>>>0<=m>>>0;if(!d){g=k-4|0;if(!v[g>>2]){continue}}break}k:{if((u|0)!=103){u=e&8;break k}g=l?l:1;i=(g|0)>(h|0)&(h|0)>-5;l=(i?h^-1:-1)+g|0;f=(i?-1:-2)+f|0;u=e&8;if(u){break k}g=-9;l:{if(d){break l}q=v[k-4>>2];if(!q){break l}d=10;g=0;if((q>>>0)%10|0){break l}while(1){i=g;g=g+1|0;d=B(d,10);if(!((q>>>0)%(d>>>0)|0)){continue}break}g=i^-1}d=B(k-p>>2,9);if((f&-33)==70){u=0;d=(d+g|0)-9|0;d=(d|0)>0?d:0;l=(d|0)>(l|0)?l:d;break k}u=0;d=((d+h|0)+g|0)-9|0;d=(d|0)>0?d:0;l=(d|0)>(l|0)?l:d}q=(l|u)!=0;A=a;d=c;s=f&-33;if((s|0)==70){f=(h|0)>0?h:0}else{g=h>>31;g=Ir(g+h^g,0,x);if((x-g|0)<=1){while(1){g=g-1|0;t[g|0]=48;if((x-g|0)<2){continue}break}}F=g-2|0;t[F|0]=f;t[g-1|0]=(h|0)<0?45:43;f=x-F|0}i=(f+(q+(l+z|0)|0)|0)+1|0;Ji(A,32,d,i,e);sh(a,E,z);Ji(a,48,c,i,e^65536);m:{n:{o:{if((s|0)==70){f=n+16|0;d=f|8;f=f|9;m=m>>>0>p>>>0?p:m;h=m;while(1){g=Ir(v[h>>2],0,f);p:{if((h|0)!=(m|0)){if(n+16>>>0>=g>>>0){break p}while(1){g=g-1|0;t[g|0]=48;if(n+16>>>0>>0){continue}break}break p}if((f|0)!=(g|0)){break p}t[n+24|0]=48;g=d}sh(a,g,f-g|0);h=h+4|0;if(p>>>0>=h>>>0){continue}break}g=0;if(!q){break n}sh(a,326410,1);if((l|0)<1|h>>>0>=k>>>0){break o}while(1){g=Ir(v[h>>2],0,f);if(g>>>0>n+16>>>0){while(1){g=g-1|0;t[g|0]=48;if(n+16>>>0>>0){continue}break}}sh(a,g,(l|0)<9?l:9);g=l-9|0;h=h+4|0;if(k>>>0<=h>>>0){break n}d=(l|0)>9;l=g;if(d){continue}break}break n}q:{if((l|0)<0){break q}p=m>>>0>>0?k:m+4|0;d=n+16|0;f=d|9;d=d|8;h=m;while(1){g=Ir(v[h>>2],0,f);if((f|0)==(g|0)){t[n+24|0]=48;g=d}r:{if((h|0)!=(m|0)){if(n+16>>>0>=g>>>0){break r}while(1){g=g-1|0;t[g|0]=48;if(n+16>>>0>>0){continue}break}break r}sh(a,g,1);g=g+1|0;if(u?0:(l|0)<=0){break r}sh(a,326410,1)}k=g;g=f-g|0;sh(a,k,(g|0)<(l|0)?g:l);l=l-g|0;h=h+4|0;if(p>>>0<=h>>>0){break q}if((l|0)>-1){continue}break}}Ji(a,48,l+18|0,18,0);sh(a,F,x-F|0);break m}g=l}Ji(a,48,g+9|0,9,0)}break b}k=(f<<26>>31&9)+E|0;s:{if(d>>>0>11){break s}g=12-d|0;if(!g){break s}y=8;while(1){y=y*16;g=g-1|0;if(g){continue}break}if(w[k|0]==45){b=-(y+(-b-y));break s}b=b+y-y}h=v[n+44>>2];g=h>>31;g=Ir(g^g+h,0,x);if((x|0)==(g|0)){t[n+15|0]=48;g=n+15|0}m=z|2;l=f&32;h=v[n+44>>2];p=g-2|0;t[p|0]=f+15;t[g-1|0]=(h|0)<0?45:43;i=e&8;h=n+16|0;while(1){f=h;s=h;h=l;if(D(b)<2147483648){g=~~b}else{g=-2147483648}t[s|0]=h|w[g+998224|0];b=(b-+(g|0))*16;h=f+1|0;if(!(!(i?1:(d|0)>0|b!=0)|(h-(n+16|0)|0)!=1)){t[f+1|0]=46;h=f+2|0}if(b!=0){continue}break}g=a;f=c;if(!d|((h-n|0)-18|0)>=(d|0)){l=(x-(p+(n+16|0)|0)|0)+h|0}else{l=((d+x|0)-p|0)+2|0}d=l;i=d+m|0;Ji(g,32,f,i,e);sh(a,k,m);Ji(a,48,c,i,e^65536);g=n+16|0;f=h-g|0;sh(a,g,f);d=x-p|0;Ji(a,48,l-(d+f|0)|0,0,0);sh(a,p,d)}Ji(a,32,c,i,e^8192);Ma=n+560|0;return((c|0)>(i|0)?c:i)|0}function VG(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;e=Ma-784|0;Ma=e;o=ab(12);i=o;v[i+8>>2]=-1;v[i+4>>2]=c;v[i>>2]=b;$d(i,e+528|0,e+12|0);if($d(i,e+272|0,e+8|0)){k=(d|0)==8?255:(d|0)==16?65535:-1;p=e+16|1;n=e+272|1;m=e+528|1;while(1){a:{if(v[e+272>>2]==1667593077&v[e+276>>2]==7364973){if(w[e+528|0]==47){j=ab(8);f=Rb(j,m);b=0;c=0;q=v[291134];g=v[q+36>>2];if(v[g+8>>2]>0){h=f;b:{while(1){c=v[v[g>>2]+(b<<2)>>2];g=hn(Hc(ab(8),c),v[h+4>>2]);c=gn(v[g+4>>2],240365);$a(Bb(g));if(c){break b}b=b+1|0;g=v[q+36>>2];if((b|0)>2]){continue}break}c=0}}c:{if(c){b=VG(a,2923,c,d);Fe(c);l=b?1:l;break c}v[e>>2]=j;fb(1,-1,335644,e)}Bb(f);$a(j)}$d(i,e+528|0,e+12|0);break a}if(!Jb(e+272|0,240161,12)){d:{if(!$d(i,e+528|0,e+12|0)){break d}while(1){if(!Jb(e+528|0,240173,10)){break d}e:{if($d(i,e+272|0,e+8|0)){if(Jb(e+272|0,240173,10)){break e}}fb(0,-1,242817,0);break d}f:{if(w[e+528|0]!=60){break f}c=v[e+12>>2];f=c+e|0;if(w[f+527|0]!=62|w[e+272|0]!=60){break f}h=v[e+8>>2];g=h+e|0;if(w[g+271|0]!=62){break f}b=0;t[g+271|0]=0;t[f+527|0]=0;g:{if((c|0)<3){break g}f=c-2|0;c=0;while(1){g=v[(w[c+m|0]<<2)+884048>>2];if((g|0)<0){break f}b=g+(b<<4)|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}if(b>>>0<=k>>>0){break g}fb(0,-1,242865,0);h=v[e+8>>2]}uz(a,b,n,h-2|0,0);l=1;if($d(i,e+528|0,e+12|0)){continue}break d}fb(0,-1,242817,0);if($d(i,e+528|0,e+12|0)){continue}break}}$d(i,e+528|0,e+12|0);break a}if(!Jb(e+272|0,282764,13)){h:{if(!$d(i,e+528|0,e+12|0)){break h}while(1){if(!Jb(e+528|0,282777,11)){break h}i:{j:{if(!$d(i,e+272|0,e+8|0)){break j}if(!Jb(e+272|0,282777,11)){break j}if(!$d(i,e+16|0,e+4|0)){break j}if(Jb(e+16|0,282777,11)){break i}}fb(0,-1,243011,0);break h}k:{if(w[e+528|0]!=60){break k}c=v[e+12>>2];f=c+e|0;if(w[f+527|0]!=62|w[e+272|0]!=60){break k}h=v[e+8>>2];g=h+e|0;if(w[g+271|0]!=62){break k}b=0;t[g+271|0]=0;t[f+527|0]=0;f=0;if((c|0)>=3){g=c-2|0;c=0;while(1){j=v[(w[c+m|0]<<2)+884048>>2];if((j|0)<0){break k}f=j+(f<<4)|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}if((h|0)>=3){h=h-2|0;c=0;while(1){g=v[(w[c+n|0]<<2)+884048>>2];if((g|0)<0){break k}b=g+(b<<4)|0;c=c+1|0;if((h|0)!=(c|0)){continue}break}}if(!(f>>>0<=k>>>0&b>>>0<=k>>>0)){fb(0,-1,243060,0);b=b>>>0>k>>>0?k:b}l:{if(x[e+16>>1]==91){c=0;if(!$d(i,e+528|0,e+12|0)){break l}while(1){if(x[e+528>>1]==93){break l}m:{n:{if(w[e+528|0]!=60){break n}h=v[e+12>>2];g=h+e|0;if(w[g+527|0]!=62){break n}j=c+f|0;if(j>>>0>b>>>0){break m}t[g+527|0]=0;uz(a,j,m,h-2|0,0);l=1;break m}fb(0,-1,243011,0)}c=c+1|0;if($d(i,e+528|0,e+12|0)){continue}break}break l}o:{if(w[e+16|0]!=60){break o}c=v[e+4>>2];h=c+e|0;if(w[h+15|0]!=62){break o}t[h+15|0]=0;if(b>>>0>>0){break l}g=0;uz(a,f,p,c-2|0,0);l=1;c=f+1|0;if(c>>>0>b>>>0){break l}while(1){g=g+1|0;uz(a,c,p,v[e+4>>2]-2|0,g);c=c+1|0;if(c>>>0<=b>>>0){continue}break}break l}fb(0,-1,243011,0)}if($d(i,e+528|0,e+12|0)){continue}break h}fb(0,-1,243011,0);if($d(i,e+528|0,e+12|0)){continue}break}}$d(i,e+528|0,e+12|0);break a}if(!Jb(e+272|0,240183,13)){fb(0,-1,242716,0);p:{if(!$d(i,e+528|0,e+12|0)){break p}while(1){if(!Jb(e+528|0,240196,11)){break p}q:{if($d(i,e+272|0,e+8|0)){if(Jb(e+272|0,240196,11)){break q}}fb(0,-1,242913,0);break p}r:{if(w[e+528|0]!=60){break r}c=v[e+12>>2];f=c+e|0;if(w[f+527|0]!=62){break r}b=0;t[f+527|0]=0;s:{t:{if((c|0)>2){f=c-2|0;c=0;while(1){h=v[(w[c+m|0]<<2)+884048>>2];if((h|0)<0){break r}b=h+(b<<4)|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}if(b>>>0>k>>>0){fb(0,-1,242962,0)}f=td(e+272|0);if(b>>>0>16777215){break s}break t}f=td(e+272|0)}c=v[a+8>>2];u:{if(c>>>0>b>>>0){g=v[a+4>>2];break u}h=c?c<<1:256;h=b>>>0>>0?h:b+256&-256;v[a+8>>2]=h;g=yc(v[a+4>>2],h,4);v[a+4>>2]=g;if(y[a+8>>2]<=c>>>0){break u}while(1){v[(c<<2)+g>>2]=0;c=c+1|0;if(c>>>0>2]){continue}break}}v[(b<<2)+g>>2]=f}l=1;if($d(i,e+528|0,e+12|0)){continue}break p}fb(0,-1,242913,0);if($d(i,e+528|0,e+12|0)){continue}break}}$d(i,e+528|0,e+12|0);break a}v:{if(!Jb(e+272|0,282788,14)){fb(0,-1,242766,0);if(!$d(i,e+528|0,e+12|0)){break v}while(1){if(!Jb(e+528|0,282802,12)){break v}w:{x:{if(!$d(i,e+272|0,e+8|0)){break x}if(!Jb(e+272|0,282802,12)){break x}if(!$d(i,e+16|0,e+4|0)){break x}if(Jb(e+16|0,282802,12)){break w}}fb(0,-1,243109,0);break v}y:{z:{if(w[e+528|0]!=60){break z}c=v[e+12>>2];b=c+e|0;if(w[b+527|0]!=62|w[e+272|0]!=60){break z}f=v[e+8>>2];h=f+e|0;if(w[h+271|0]!=62){break z}g=0;t[h+271|0]=0;t[b+527|0]=0;b=0;if((c|0)>=3){h=c-2|0;c=0;while(1){j=v[(w[c+m|0]<<2)+884048>>2];if((j|0)<0){break z}b=j+(b<<4)|0;c=c+1|0;if((h|0)!=(c|0)){continue}break}}if((f|0)>=3){f=f-2|0;c=0;while(1){h=v[(w[c+n|0]<<2)+884048>>2];if((h|0)<0){break z}g=h+(g<<4)|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}if(!(b>>>0<=k>>>0&g>>>0<=k>>>0)){fb(0,-1,243159,0);g=g>>>0>k>>>0?k:g}if(b>>>0>g>>>0){break y}h=td(e+16|0);while(1){if(b>>>0<=16777215){c=v[a+8>>2];A:{if(c>>>0>b>>>0){f=v[a+4>>2];break A}f=c?c<<1:256;f=b>>>0>>0?f:b+256&-256;v[a+8>>2]=f;f=yc(v[a+4>>2],f,4);v[a+4>>2]=f;if(y[a+8>>2]<=c>>>0){break A}while(1){v[(c<<2)+f>>2]=0;c=c+1|0;if(c>>>0>2]){continue}break}}v[(b<<2)+f>>2]=h}l=1;h=h+1|0;b=b+1|0;if(g>>>0>=b>>>0){continue}break}break y}fb(0,-1,243109,0);if(!$d(i,e+528|0,e+12|0)){break v}continue}if($d(i,e+528|0,e+12|0)){continue}break}break v}od(e+528|0,e+272|0);break a}$d(i,e+528|0,e+12|0)}if($d(i,e+272|0,e+8|0)){continue}break}}$a(o);Ma=e+784|0;return l}function Qs(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;j=Ma-48|0;Ma=j;a:{if(!a){break a}b:{c:{d:{e:{f:{g:{h:{i:{j:{f=w[a|0];if(!f){break j}g=Qa[v[256552]](44)|0;if(!g){v[j+32>>2]=342898;nb(0,0,0,0,0,30,2,3,342898,0,0,0,340689,j+32|0);break a}v[g>>2]=0;v[g+4>>2]=0;v[g+40>>2]=0;v[g+32>>2]=0;v[g+36>>2]=0;v[g+24>>2]=0;v[g+28>>2]=0;v[g+16>>2]=0;v[g+20>>2]=0;v[g+8>>2]=0;v[g+12>>2]=0;if(Rs(g,a)){break e}if(!v[g>>2]){break j}e=a;while(1){b=e;e=b+1|0;if(w[b|0]){continue}break}b=b-a|0;if((b|0)<0){e=0;break h}e=0;c=Qa[v[256555]](b+1|0)|0;if(c){break i}c=0;nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break h}k:{if(b){e=Qa[v[256552]](44)|0;if(!e){v[j>>2]=342898;nb(0,0,0,0,0,30,2,3,342898,0,0,0,340689,j);e=0;break h}v[e>>2]=0;v[e+4>>2]=0;v[e+40>>2]=0;v[e+32>>2]=0;v[e+36>>2]=0;v[e+24>>2]=0;v[e+28>>2]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;if(!Rs(e,b)){break k}}if(!f){break d}c=Do(g);break h}if(!f){a=v[e+32>>2];if(a){Qa[v[256556]](a);v[e+32>>2]=0}c=Do(e);break c}d=Qa[v[256552]](44)|0;if(!d){v[j+16>>2]=342898;nb(0,0,0,0,0,30,2,3,342898,0,0,0,340689,j+16|0);break h}v[d>>2]=0;v[d+4>>2]=0;v[d+40>>2]=0;v[d+32>>2]=0;v[d+36>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;l:{if(!v[g>>2]){if(v[g+12>>2]|(v[g+24>>2]|v[g+8>>2])){break l}a=v[e>>2];if(a){k=d,l=Qa[v[256558]](a)|0,v[k>>2]=l}a=v[e+8>>2];m:{if(a){k=d,l=Qa[v[256558]](a)|0,v[k+8>>2]=l;break m}a=v[e+12>>2];if(!a){break m}k=d,l=Qa[v[256558]](a)|0,v[k+12>>2]=l;a=v[e+16>>2];if(a){k=d,l=Qa[v[256558]](a)|0,v[k+16>>2]=l}v[d+20>>2]=v[e+20>>2]}a=v[e+24>>2];if(a){k=d,l=Qa[v[256558]](a)|0,v[k+24>>2]=l}c=40;a=v[g+40>>2];n:{o:{if(a){break o}a=v[g+28>>2];if(a){c=28;break o}a=v[e+40>>2];if(a){break o}c=28;a=v[e+28>>2];if(!a){break n}}k=d+c|0,l=Qa[v[256558]](a)|0,v[k>>2]=l}a=v[g+32>>2];if(!a){break f}k=d,l=Qa[v[256558]](a)|0,v[k+32>>2]=l;c=Do(d);break e}c=Do(g);break e}a=v[e>>2];if(a){k=d,l=Qa[v[256558]](a)|0,v[k>>2]=l}a=40;c=v[g+40>>2];p:{if(!c){a=28;c=v[g+28>>2];if(!c){break p}}k=a+d|0,l=Qa[v[256558]](c)|0,v[k>>2]=l}a=v[g+32>>2];if(a){k=d,l=Qa[v[256558]](a)|0,v[k+32>>2]=l}a=v[g+8>>2];if(!a){a=v[g+12>>2];if(a){k=d,l=Qa[v[256558]](a)|0,v[k+12>>2]=l;a=v[g+16>>2];if(a){k=d,l=Qa[v[256558]](a)|0,v[k+16>>2]=l}v[d+20>>2]=v[g+20>>2];break g}a=v[e+8>>2];q:{if(a){k=d,l=Qa[v[256558]](a)|0,v[k+8>>2]=l;break q}a=v[e+12>>2];if(!a){break q}k=d,l=Qa[v[256558]](a)|0,v[k+12>>2]=l;a=v[e+16>>2];if(a){k=d,l=Qa[v[256558]](a)|0,v[k+16>>2]=l}v[d+20>>2]=v[e+20>>2]}a=v[g+24>>2];if(a){if(w[a|0]==47){k=d,l=Qa[v[256558]](a)|0,v[k+24>>2]=l;c=Do(d);break e}c=zb(a)+2|0}else{c=2}a=v[e+24>>2];if(a){c=zb(a)+c|0}a=0;b=Qa[v[256555]](c)|0;v[d+24>>2]=b;if(!b){a=Ma-16|0;Ma=a;v[a>>2]=342870;nb(0,0,0,0,0,30,2,3,342870,0,0,0,340689,a);Ma=a+16|0;c=0;break e}t[b|0]=0;b=v[e+24>>2];r:{if(!b|!w[b|0]){break r}f=0;while(1){c=f;while(1){f=w[b+c|0];if(!f){break r}if((f|0)!=47){c=c+1|0;continue}break}f=c+1|0;if((a|0)<=(c|0)){t[v[d+24>>2]+a|0]=w[a+b|0];s:{if((a|0)==(c|0)){break s}i=(a^-1)+c|0;b=c-a&3;if(b){while(1){a=a+1|0;t[a+v[d+24>>2]|0]=w[v[e+24>>2]+a|0];b=b-1|0;if(b){continue}break}}if(i>>>0<3){break s}while(1){b=a+1|0;t[b+v[d+24>>2]|0]=w[b+v[e+24>>2]|0];b=a+2|0;t[b+v[d+24>>2]|0]=w[b+v[e+24>>2]|0];b=a+3|0;t[b+v[d+24>>2]|0]=w[b+v[e+24>>2]|0];a=a+4|0;t[a+v[d+24>>2]|0]=w[v[e+24>>2]+a|0];if((a|0)!=(c|0)){continue}break}}b=v[e+24>>2];a=f}if(w[b+f|0]){continue}break}}t[v[d+24>>2]+a|0]=0;b=v[g+24>>2];t:{if(!b){break t}c=w[b|0];if(!c){break t}u:{if(a){break u}if(!v[e+12>>2]){a=0;break u}t[v[d+24>>2]]=47;a=1;c=w[v[g+24>>2]];if(!c){break t}}b=0;while(1){t[v[d+24>>2]+a|0]=c;a=a+1|0;b=b+1|0;c=w[b+v[g+24>>2]|0];if(c){continue}break}}t[v[d+24>>2]+a|0]=0;c=v[d+24>>2];if(c){f=c;v:{while(1){b=w[f|0];if((b|0)!=47){w:{if(!b){break v}i=f;x:while(1){y:{a=b&255;if((a|0)!=46){if(!a){break w}break y}a=w[f+1|0];if((a|0)!=47){if(a){break y}break w}a=f+2|0;while(1){b=w[a|0];f=a;a=a+1|0;if((b|0)==47){continue}break}continue}while(1){a=b&255;if(!a){break w}if((a|0)==47){a=f;while(1){b=w[a+1|0];f=a+1|0;a=f;if((b|0)==47){continue}break}t[i|0]=47;i=i+1|0;b=w[f|0];continue x}else{t[i|0]=b;i=i+1|0;b=w[f+1|0];f=f+1|0;continue}}}}}else{f=f+1|0;continue}break}t[i|0]=0;a=c;while(1){b=w[a|0];if((b|0)==47){a=a+1|0;continue}break}if(!b){break v}z:while(1){f=a;while(1){a=0;A:{B:{while(1){b=a+f|0;h=w[b|0];if(!h){break B}if((h|0)!=47){a=a+1|0;continue}break}h=a+1|0;a=h+f|0;if(!(w[f|0]!=46|w[f+1|0]!=46)&(h|0)==3|(w[a|0]!=46|w[b+2|0]!=46)){continue z}h=w[b+3|0];if((h|0)==47){break A}if(h){continue z}t[f|0]=0}t[i|0]=0;if(w[c|0]!=47){break v}b=c;C:{while(1){a=b;if(w[a+1|0]!=46|w[a+2|0]!=46){break C}b=a+3|0;f=w[a+3|0];if((f|0)==47){continue}break}if(f){break C}a=b}if((a|0)==(c|0)){break v}b=w[a|0];if(b){while(1){t[c|0]=b;c=c+1|0;b=w[a+1|0];a=a+1|0;if(b){continue}break}}t[c|0]=0;break v}a=b+4|0;b=f;while(1){h=w[a|0];t[b|0]=h;b=b+1|0;a=a+1|0;if(h){continue}break}b=f;while(1){if(b>>>0>c>>>0){b=b-1|0;if(w[b|0]==47){continue}}break}if((b|0)==(c|0)){continue}break}while(1){if(b>>>0<=c>>>0){a=b;continue z}a=b;b=a-1|0;if(w[b|0]!=47){continue}break}continue}}}break f}k=d,l=Qa[v[256558]](a)|0,v[k+8>>2]=l;break g}k=cb(c,a,b)+b|0,l=0,t[k|0]=l}d=0;if(!g){break d}break e}a=v[g+24>>2];if(!a){break f}k=d,l=Qa[v[256558]](a)|0,v[k+24>>2]=l;c=Do(d);break e}c=Do(d)}wi(g)}if(!e){break b}}wi(e)}if(!d){break a}wi(d)}Ma=j+48|0;return c}function Rx(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=1;a:{c=x[a+32>>1];b:{if(c>>>0>6){break b}c:{d:{d=1<>1];d=1<>2];c=e;g=v[a+40>>2];b=g;h=v[a+44>>2];f=h;while(1){if((d|0)<1){break d}if(!(x[c>>1]>255|x[b>>1]>255)){d=d-1|0;c=c+2|0;b=b+2|0;j=x[f>>1];f=f+2|0;if(j>>>0<256){continue}}break}b=-1<>31;if(f+b&1){d=c<<1;i=d+e|0;u[i>>1]=w[i+1|0];i=d+g|0;u[i>>1]=w[i+1|0];d=d+h|0;u[d>>1]=w[d+1|0];d=-2-b|0}if((c|0)==(f|0)){break c}while(1){c=d<<1;b=c+e|0;u[b>>1]=w[b+1|0];b=c+g|0;u[b>>1]=w[b+1|0];b=c+h|0;u[b>>1]=w[b+1|0];c=c-2|0;b=c+e|0;u[b>>1]=w[b+1|0];b=c+g|0;u[b>>1]=w[b+1|0];c=c+h|0;u[c>>1]=w[c+1|0];c=(d|0)>1;d=d-2|0;if(c){continue}break}break c}if(x[a+24>>1]==8){break b}}c=x[a+24>>1];b=(c|0)==16?255:-1<>2]=c;if(!c){a=v[a>>2];wb(v[a+628>>2],v[a>>2],47924,0);return 0}f:{if(x[a+32>>1]){if((b|0)<0){break f}t[c|0]=0;if(!b){break f}c=1;if((b|0)!=1){e=b&-2;c=0;while(1){d=c|1;t[d+v[a+56>>2]|0]=(B(d,255)|0)/(b|0);d=c;c=c+2|0;t[c+v[a+56>>2]|0]=(B(c,255)|0)/(b|0);e=e-2|0;if(e){continue}break}c=d+3|0}if(!(b&1)){break f}t[v[a+56>>2]+c|0]=(B(c,255)|0)/(b|0);break f}if((b|0)<0){break f}t[c|0]=255;if(!b){break f}c=1;if((b|0)!=1){e=b&-2;c=0;while(1){d=c|1;t[d+v[a+56>>2]|0]=(B(b-d|0,255)|0)/(b|0);d=c;c=c+2|0;t[c+v[a+56>>2]|0]=(B(b-c|0,255)|0)/(b|0);e=e-2|0;if(e){continue}break}c=d+3|0}if(!(b&1)){break f}t[v[a+56>>2]+c|0]=(B(b-c|0,255)|0)/(b|0)}b=1;g=x[a+24>>1];if(g>>>0>16|x[a+32>>1]>1){break b}e=v[a+56>>2];b=gb(g>>>0>8?2048:(8/((g&255)>>>0)<<10)+1024|0);v[a+60>>2]=b;if(!b){break a}d=b+1024|0;c=0;g:{h:{switch(g-1|0){case 0:while(1){v[(c<<2)+b>>2]=d;b=w[e+(c>>>7|0)|0];v[d>>2]=(B(b,65792)|b)-16777216;b=w[e+(c>>>6&1)|0];v[d+4>>2]=(B(b,65792)|b)-16777216;b=w[e+(c>>>5&1)|0];v[d+8>>2]=(B(b,65792)|b)-16777216;b=w[e+(c>>>4&1)|0];v[d+12>>2]=(B(b,65792)|b)-16777216;b=w[e+(c>>>3&1)|0];v[d+16>>2]=(B(b,65792)|b)-16777216;b=w[e+(c>>>2&1)|0];v[d+20>>2]=(B(b,65792)|b)-16777216;b=w[e+(c>>>1&1)|0];v[d+24>>2]=(B(b,65792)|b)-16777216;b=w[e+(c&1)|0];v[d+28>>2]=(B(b,65792)|b)-16777216;c=c+1|0;if((c|0)==256){break g}d=d+32|0;b=v[a+60>>2];continue};case 1:while(1){v[(c<<2)+b>>2]=d;b=w[e+(c>>>6|0)|0];v[d>>2]=(B(b,65792)|b)-16777216;b=w[e+(c>>>4&3)|0];v[d+4>>2]=(B(b,65792)|b)-16777216;b=w[e+(c>>>2&3)|0];v[d+8>>2]=(B(b,65792)|b)-16777216;b=w[e+(c&3)|0];v[d+12>>2]=(B(b,65792)|b)-16777216;c=c+1|0;if((c|0)==256){break g}d=d+16|0;b=v[a+60>>2];continue};case 3:while(1){v[(c<<2)+b>>2]=d;b=w[e+(c>>>4|0)|0];v[d>>2]=(B(b,65792)|b)-16777216;b=w[e+(c&15)|0];v[d+4>>2]=(B(b,65792)|b)-16777216;c=c+1|0;if((c|0)==256){break g}d=d+8|0;b=v[a+60>>2];continue};case 7:case 15:v[b>>2]=d;c=w[e|0];v[b+1024>>2]=(B(c,65792)|c)-16777216;c=1;while(1){v[v[a+60>>2]+(c<<2)>>2]=d+4;b=w[c+e|0];v[d+4>>2]=(B(b,65792)|b)-16777216;g=c+1|0;if((g|0)==256){break g}b=d+8|0;v[v[a+60>>2]+(g<<2)>>2]=b;f=d;d=w[e+g|0];v[f+8>>2]=(B(d,65792)|d)-16777216;c=c+2|0;d=b;continue};default:break h}}v[b>>2]=d;e=1;while(1){c=e<<2;v[c+v[a+60>>2]>>2]=d;v[(c+v[a+60>>2]|0)+4>>2]=d;v[(c+v[a+60>>2]|0)+8>>2]=d;v[(c+v[a+60>>2]|0)+12>>2]=d;v[(c+v[a+60>>2]|0)+16>>2]=d;e=e+5|0;if((e|0)!=256){continue}break}}$a(v[a+56>>2]);v[a+56>>2]=0;return 1}c=v[a>>2];Nc(v[c+628>>2],v[c>>2],47359,0)}b=1;f=x[a+24>>1];if(f>>>0>8){break b}e=v[a+44>>2];g=v[a+40>>2];h=v[a+36>>2];b=gb((8/((f&255)>>>0)<<10)+1024|0);v[a+64>>2]=b;if(b){d=b+1024|0;c=0;i:{switch(f-1|0){case 0:while(1){v[(c<<2)+b>>2]=d;b=c>>>6&67108862;v[d>>2]=x[b+e>>1]<<16|(w[b+h|0]|x[b+g>>1]<<8)&65535|-16777216;b=c>>>5&2;v[d+4>>2]=x[b+e>>1]<<16|(w[b+h|0]|x[b+g>>1]<<8)&65535|-16777216;b=c>>>4&2;v[d+8>>2]=x[b+e>>1]<<16|(w[b+h|0]|x[b+g>>1]<<8)&65535|-16777216;b=c>>>3&2;v[d+12>>2]=x[b+e>>1]<<16|(w[b+h|0]|x[b+g>>1]<<8)&65535|-16777216;b=c>>>2&2;v[d+16>>2]=x[b+e>>1]<<16|(w[b+h|0]|x[b+g>>1]<<8)&65535|-16777216;b=1;f=c>>>1&2;v[d+20>>2]=x[f+e>>1]<<16|(w[f+h|0]|x[f+g>>1]<<8)&65535|-16777216;f=c&2;v[d+24>>2]=x[f+e>>1]<<16|(w[f+h|0]|x[f+g>>1]<<8)&65535|-16777216;f=c<<1&2;v[d+28>>2]=x[f+e>>1]<<16|(w[f+h|0]|x[f+g>>1]<<8)&65535|-16777216;c=c+1|0;if((c|0)==256){break b}d=d+32|0;b=v[a+64>>2];continue};case 1:while(1){v[(c<<2)+b>>2]=d;b=c>>>5&134217726;v[d>>2]=x[b+e>>1]<<16|(w[b+h|0]|x[b+g>>1]<<8)&65535|-16777216;b=c>>>3&6;v[d+4>>2]=x[b+e>>1]<<16|(w[b+h|0]|x[b+g>>1]<<8)&65535|-16777216;b=1;f=c>>>1&6;v[d+8>>2]=x[f+e>>1]<<16|(w[f+h|0]|x[f+g>>1]<<8)&65535|-16777216;f=c<<1&6;v[d+12>>2]=x[f+e>>1]<<16|(w[f+h|0]|x[f+g>>1]<<8)&65535|-16777216;c=c+1|0;if((c|0)==256){break b}d=d+16|0;b=v[a+64>>2];continue};case 3:while(1){v[(c<<2)+b>>2]=d;b=c>>>3&536870910;v[d>>2]=x[b+e>>1]<<16|(w[b+h|0]|x[b+g>>1]<<8)&65535|-16777216;b=1;f=c<<1&30;v[d+4>>2]=x[f+e>>1]<<16|(w[f+h|0]|x[f+g>>1]<<8)&65535|-16777216;c=c+1|0;if((c|0)==256){break b}d=d+8|0;b=v[a+64>>2];continue};case 7:while(1){v[(c<<2)+b>>2]=d;b=1;f=c<<1;v[d>>2]=x[f+e>>1]<<16|(w[f+h|0]|x[f+g>>1]<<8)&65535|-16777216;c=c+1|0;if((c|0)==256){break b}d=d+4|0;b=v[a+64>>2];continue};default:break i}}v[b>>2]=d;b=1;e=1;while(1){c=e<<2;v[c+v[a+64>>2]>>2]=d;v[(c+v[a+64>>2]|0)+4>>2]=d;v[(c+v[a+64>>2]|0)+8>>2]=d;v[(c+v[a+64>>2]|0)+12>>2]=d;v[(c+v[a+64>>2]|0)+16>>2]=d;e=e+5|0;if((e|0)!=256){continue}break}break b}b=0;a=v[a>>2];wb(v[a+628>>2],v[a>>2],48990,0)}return b}a=v[a>>2];wb(v[a+628>>2],v[a>>2],48490,0);return 0}function sF(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;k=Ma-32|0;Ma=k;e=v[a+20>>2];a:{b:{c:{d:{if(v[a+16>>2]){f=a+12|0;v[k+28>>2]=f;v[k+24>>2]=e;if(!e){break b}f=v[v[e+8>>2]+8>>2]!=0;break d}f=1;if(!e){break c}}while(1){if(!(!v[v[e+8>>2]+8>>2]^f)){break a}e=v[e>>2];if(e){continue}break}}d=Ma+-64|0;Ma=d;h=b;n=f;l=v[b>>2];mg(l,f?129:1);Uu(l,v[a+16>>2]);e:{if(!v[a+16>>2]){break e}f:{g:{h:{i:{f=v[a+20>>2];j:{if(!f){break j}e=f;while(1){g=((w[v[e+8>>2]+52|0]&63)==3)+g|0;e=v[e>>2];if(e){continue}break}if(g>>>0>=2){break i}if(!n|!f){break j}while(1){b=v[f+8>>2];v[b+4>>2]=v[b+4>>2]+1;j=v[f+8>>2];b=v[j+8>>2];if(!b){break h}m=0;i=Ma-32|0;Ma=i;b=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);t[i+4|0]=b;t[i+5|0]=b>>>8;t[i+6|0]=b>>>16;t[i+7|0]=b>>>24;e=4;g=i+4|0;k:{l:{m:{while(1){b=Qa[v[v[l>>2]+12>>2]](l,g,e)|0;if(!b){break m}g=b+g|0;m=b+m|0;e=e-b|0;if(e){continue}break}if((m|0)!=4){break l}Ma=i+32|0;break k}lb(mb(i+8|0,237806,241689,474,329617));L()}lb(mb(i+8|0,fl(v[296206]),241689,547,327610));L()}b=v[j+4>>2]-1|0;v[j+4>>2]=b;if(!b){b=v[j+4>>2];if(!b){v[j+4>>2]=-32767}if(!b){Qa[v[v[j>>2]+4>>2]](j)}}f=v[f>>2];if(f){continue}break}}b=d;f=v[h>>2];if(f){v[f+4>>2]=v[f+4>>2]+1;f=v[h>>2]}else{f=0}v[b+16>>2]=f;qT(d+24|0,d+16|0,50);f=v[d+16>>2];v[d+16>>2]=0;n:{if(!f){break n}b=v[f+4>>2]-1|0;v[f+4>>2]=b;if(b){break n}b=v[f+4>>2];if(!b){v[f+4>>2]=-32767}if(!b){Qa[v[v[f>>2]+4>>2]](f)}}e=v[a+20>>2];if(!e){break f}h=v[d+24>>2];while(1){b=v[e+8>>2];v[b+4>>2]=v[b+4>>2]+1;f=v[e+8>>2];pT(h,v[f+12>>2]);b=v[f+4>>2]-1|0;v[f+4>>2]=b;if(!b){b=v[f+4>>2];if(!b){v[f+4>>2]=-32767}if(!b){Qa[v[v[f>>2]+4>>2]](f)}}e=v[e>>2];if(e){continue}break}g=v[a+20>>2];if(!g){break f}f=n^1|c;while(1){e=0;b=v[g+8>>2];if(b){v[b+4>>2]=v[b+4>>2]+1;e=v[g+8>>2]}o:{if(f){v[d+32>>2]=0;v[d+36>>2]=v[279250];b=v[e+20>>2];p:{if(b){Qa[v[v[b>>2]+28>>2]](d+8|0,b,1);break p}v[d+8>>2]=0}jb(d+32|0,d+8|0);c=v[d+8>>2];v[d+8>>2]=0;q:{if(!c){break q}b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(b){break q}b=v[c+4>>2];if(!b){v[c+4>>2]=-32767}if(!b){Qa[v[v[c>>2]+4>>2]](c)}}b=v[d+32>>2];v[d+36>>2]=v[(b?b+12|0:1117e3)>>2];r:{if(b){break r}s:{c=e+28|0;b=v[c>>2];if(!(!b|!v[b+8>>2])){if(ld(c,d+32|0,-1)){break s}}t[e+52|0]=w[e+52|0]&127;break r}t[e+52|0]=w[e+52|0]|128}db(d+32|0);break o}t:{c=e+20|0;b=v[c>>2];if(!(!b|!v[b+8>>2])){if(ld(c,e+36|0,-1)){break t}}t[e+52|0]=w[e+52|0]&127;break o}t[e+52|0]=w[e+52|0]|128}u:{v:{c=e+44|0;b=v[c>>2];if(!b|!v[b+8>>2]){break v}if(!ld(c,e+36|0,-1)){break v}b=w[e+52|0]|64;t[e+52|0]=b;break u}b=w[e+52|0]&-65;t[e+52|0]=b}mg(h,b&255);b=v[e+4>>2]-1|0;v[e+4>>2]=b;if(!b){b=v[e+4>>2];if(!b){v[e+4>>2]=-32767}if(!b){Qa[v[v[e>>2]+4>>2]](e)}}g=v[g>>2];if(g){continue}break}break g}lb(mb(d+32|0,274601,241117,436,226263));L()}lb(mb(d+32|0,239027,241117,450,226263));L()}g=v[a+20>>2];if(!g){break f}while(1){e=0;a=v[g+8>>2];if(a){v[a+4>>2]=v[a+4>>2]+1;e=v[g+8>>2]}v[d+32>>2]=0;a=v[279250];v[d+36>>2]=a;v[d+12>>2]=a;v[d+8>>2]=0;v[d+4>>2]=a;v[d>>2]=0;w:{x:{if(f){a=v[e+20>>2];y:{if(a){Qa[v[v[a>>2]+28>>2]](d+56|0,a,1);break y}v[d+56>>2]=0}jb(d+32|0,d+56|0);b=v[d+56>>2];v[d+56>>2]=0;z:{if(!b){break z}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break z}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}}a=v[d+32>>2];v[d+36>>2]=v[(a?a+12|0:1117e3)>>2];if(!a){a=v[e+36>>2];A:{if(a){Qa[v[v[a>>2]+28>>2]](d+56|0,a,1);break A}v[d+56>>2]=0}jb(d+32|0,d+56|0);b=v[d+56>>2];v[d+56>>2]=0;B:{if(!b){break B}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break B}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}}a=v[d+32>>2];v[d+36>>2]=v[(a?a+12|0:1117e3)>>2]}b=e+52|0;if(t[b|0]>-1){break w}a=v[e+28>>2];C:{if(a){Qa[v[v[a>>2]+28>>2]](d+56|0,a,1);break C}v[d+56>>2]=0}jb(d+8|0,d+56|0);c=v[d+56>>2];v[d+56>>2]=0;if(!c){break x}a=v[c+4>>2]-1|0;v[c+4>>2]=a;if(a){break x}a=v[c+4>>2];if(!a){v[c+4>>2]=-32767}if(!a){Qa[v[v[c>>2]+4>>2]](c)}break x}a=v[e+36>>2];D:{if(a){Qa[v[v[a>>2]+28>>2]](d+56|0,a,1);break D}v[d+56>>2]=0}jb(d+32|0,d+56|0);b=v[d+56>>2];v[d+56>>2]=0;E:{if(!b){break E}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break E}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}}a=v[d+32>>2];v[d+36>>2]=v[(a?a+12|0:1117e3)>>2];b=e+52|0;if(t[b|0]>-1){break w}a=v[e+20>>2];F:{if(a){Qa[v[v[a>>2]+28>>2]](d+56|0,a,1);break F}v[d+56>>2]=0}jb(d+8|0,d+56|0);c=v[d+56>>2];v[d+56>>2]=0;if(!c){break x}a=v[c+4>>2]-1|0;v[c+4>>2]=a;if(a){break x}a=v[c+4>>2];if(!a){v[c+4>>2]=-32767}if(!a){Qa[v[v[c>>2]+4>>2]](c)}}a=v[d+8>>2];v[d+12>>2]=v[(a?a+12|0:1117e3)>>2]}if(w[b|0]&64){a=v[e+44>>2];G:{if(a){Qa[v[v[a>>2]+28>>2]](d+56|0,a,1);break G}v[d+56>>2]=0}jb(d,d+56|0);b=v[d+56>>2];v[d+56>>2]=0;H:{if(!b){break H}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break H}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}}a=v[d>>2];v[d+4>>2]=v[(a?a+12|0:1117e3)>>2]}Li(h,d+32|0);mg(h,0);a=v[d+8>>2];if(!(!a|!v[a+8>>2])){Li(h,d+8|0);mg(h,0)}a=v[d>>2];if(!(!a|!v[a+8>>2])){Li(h,d);mg(h,0)}db(d);db(d+8|0);db(d+32|0);a=v[e+4>>2]-1|0;v[e+4>>2]=a;if(!a){a=v[e+4>>2];if(!a){v[e+4>>2]=-32767}if(!a){Qa[v[v[e>>2]+4>>2]](e)}}g=v[g>>2];if(g){continue}break}}b=v[d+24>>2];v[d+24>>2]=0;if(!b){break e}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break e}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}}Ma=d- -64|0;Ma=k+32|0;return}wd(k+24|0,f);L()}lb(mb(k,239027,241117,407,226338));L()}function Tv(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{if(!a|!b){break a}b:{c:{d:{i=v[a+12>>2];if(i){f=i;e:{while(1){g=v[f+16>>2];if(g){while(1){if(g+20>>>0<=b>>>0&y[g+4>>2]>=b>>>0){break e}g=v[g>>2];if(g){continue}break}}f=v[f+20>>2];if(f){continue}break}f=-1;b=Zc(i,b,-1);if(!b){break b}}i=0;f:{if(!c){break f}h=v[a+12>>2];f=h;while(1){if(!f){j=c;break f}g=v[f+16>>2];if(g){while(1){if(!(y[g+4>>2]>>0|g+20>>>0>c>>>0)){j=c;break f}g=v[g>>2];if(g){continue}break}}f=v[f+20>>2];if(f){continue}break}f=-1;j=Zc(h,c,-1);if(!j){break b}}g:{if(!d){break g}c=v[a+12>>2];f=c;while(1){if(!f){i=d;break g}g=v[f+16>>2];if(g){while(1){if(!(y[g+4>>2]>>0|g+20>>>0>d>>>0)){i=d;break g}g=v[g>>2];if(g){continue}break}}f=v[f+20>>2];if(f){continue}break}f=-1;i=Zc(c,d,-1);if(!i){break b}}if(!b){break d}d=i;c=j}f=w[b|0];g=B(f,30);if(f){h=b;while(1){g=((g<<5)+(g>>>3|0)|0)+(f<<24>>24)^g;f=w[h+1|0];h=h+1|0;if(f){continue}break}}i=d;j=c;break c}b=0;m=1;g=0}g=(g<<5)+(g>>>3|0)^g;h:{if(!j){break h}f=w[j|0];if(!f){break h}h=j;while(1){g=((f<<24>>24)+(g>>>3|0)|0)+(g<<5)^g;f=w[h+1|0];h=h+1|0;if(f){continue}break}}g=(g<<5)+(g>>>3|0)^g;i:{if(!i){break i}f=w[i|0];if(!f){break i}h=i;while(1){g=((f<<24>>24)+(g>>>3|0)|0)+(g<<5)^g;f=w[h+1|0];h=h+1|0;if(f){continue}break}}n=1;k=v[a>>2]+B((g>>>0)%y[a+4>>2]|0,24)|0;j:{if(!v[k+20>>2]){g=0;c=0;break j}f=v[k>>2];k:{l:{m:{n:{o:{if(v[a+12>>2]){c=0;if(f){break o}g=k;break n}c=0;if(f){break m}g=k;break l}g=k;while(1){d=g;g=f;if(!(v[d+4>>2]!=(b|0)|v[d+8>>2]!=(j|0)|v[d+12>>2]!=(i|0))){break a}c=c+1|0;f=v[g>>2];if(f){continue}break}}if(v[g+4>>2]!=(b|0)|v[g+8>>2]!=(j|0)|v[g+12>>2]!=(i|0)){break k}break a}g=k;while(1){d=g;g=f;p:{f=v[d+4>>2];if((f|0)!=(b|0)){h=b;if(!f|m){break p}while(1){l=w[f|0];if((l|0)!=w[h|0]){break p}h=h+1|0;f=f+1|0;if(l){continue}break}}f=v[d+8>>2];if((j|0)!=(f|0)){if(!f){break p}h=j;if(!h){break p}while(1){l=w[f|0];if((l|0)!=w[h|0]){break p}h=h+1|0;f=f+1|0;if(l){continue}break}}f=v[d+12>>2];if((i|0)==(f|0)){break a}if(!f){break p}h=i;if(!h){break p}while(1){d=w[f|0];if((d|0)!=w[h|0]){break p}h=h+1|0;f=f+1|0;if(d){continue}break}break a}c=c+1|0;f=v[g>>2];if(f){continue}break}}q:{f=v[g+4>>2];if((f|0)!=(b|0)){if(!f|m){break k}h=b;while(1){d=w[f|0];if((d|0)!=w[h|0]){break q}h=h+1|0;f=f+1|0;if(d){continue}break}}f=v[g+8>>2];if((j|0)!=(f|0)){if(!f|!j){break k}h=j;while(1){d=w[f|0];if((d|0)!=w[h|0]){break q}h=h+1|0;f=f+1|0;if(d){continue}break}}f=v[g+12>>2];if((i|0)==(f|0)){break a}if(!f|!i){break k}h=i;while(1){d=w[f|0];if((d|0)!=w[h|0]){break q}h=h+1|0;f=f+1|0;if(d){continue}break}break a}if(g){break k}g=0;break j}n=0;f=-1;k=Qa[v[256552]](24)|0;if(!k){break b}}r:{if(v[a+12>>2]){v[k+8>>2]=j;v[k+4>>2]=b;b=i;break r}d=0;f=0;s:{if(m){break s}f=b;while(1){h=f;f=f+1|0;if(w[h|0]){continue}break}f=0;l=h-b|0;if((l|0)<0){break s}h=Qa[v[256555]](l+1|0)|0;if(!h){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break s}f=cb(h,b,l);t[l+f|0]=0}v[k+4>>2]=f;t:{if(!j){break t}b=j;while(1){h=b;b=h+1|0;if(w[h|0]){continue}break}h=h-j|0;if((h|0)<0){break t}b=Qa[v[256555]](h+1|0)|0;if(!b){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break t}d=cb(b,j,h);t[h+d|0]=0}v[k+8>>2]=d;if(!i){b=0;break r}b=i;while(1){d=b;b=b+1|0;if(w[d|0]){continue}break}b=0;h=d-i|0;if((h|0)<0){break r}d=Qa[v[256555]](h+1|0)|0;if(!d){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break r}b=cb(d,i,h);t[h+b|0]=0}v[k+16>>2]=e;v[k+12>>2]=b;v[k+20>>2]=1;f=0;v[k>>2]=0;if(!n){v[g>>2]=k}v[a+8>>2]=v[a+8>>2]+1;if(c>>>0<9){break b}k=v[a+4>>2];if(k-1>>>0>2047){break b}j=v[a>>2];if(!j){break b}b=B(k,192);c=Qa[v[256552]](b)|0;v[a>>2]=c;if(!c){v[a>>2]=j;return 0}eb(c,0,b);v[a+4>>2]=k<<3;d=0;while(1){c=j+B(d,24)|0;if(v[c+20>>2]){b=v[c+8>>2];f=v[c+4>>2];u:{if(!f){g=0;break u}h=w[f|0];g=B(h,30);if(!h){break u}while(1){g=((g<<5)+(g>>>3|0)|0)+(h<<24>>24)^g;h=w[f+1|0];f=f+1|0;if(h){continue}break}}f=v[c+12>>2];g=(g<<5)+(g>>>3|0)^g;v:{if(!b){break v}h=w[b|0];if(!h){break v}while(1){g=((h<<24>>24)+(g>>>3|0)|0)+(g<<5)^g;h=w[b+1|0];b=b+1|0;if(h){continue}break}}g=(g<<5)+(g>>>3|0)^g;w:{if(!f){break w}b=w[f|0];if(!b){break w}while(1){g=((b<<24>>24)+(g>>>3|0)|0)+(g<<5)^g;b=w[f+1|0];f=f+1|0;if(b){continue}break}}b=v[c+4>>2];e=B((g>>>0)%y[a+4>>2]|0,24);i=e+v[a>>2]|0;v[i>>2]=v[c>>2];v[i+4>>2]=b;b=v[c+20>>2];v[i+16>>2]=v[c+16>>2];v[i+20>>2]=b;b=v[c+12>>2];v[i+8>>2]=v[c+8>>2];v[i+12>>2]=b;v[e+v[a>>2]>>2]=0}d=d+1|0;if((k|0)!=(d|0)){continue}break}d=0;while(1){c=v[j+B(d,24)>>2];if(c){while(1){b=v[c+8>>2];f=v[c+4>>2];x:{if(!f){g=0;break x}h=w[f|0];g=B(h,30);if(!h){break x}while(1){g=((g<<5)+(g>>>3|0)|0)+(h<<24>>24)^g;h=w[f+1|0];f=f+1|0;if(h){continue}break}}f=v[c+12>>2];g=(g<<5)+(g>>>3|0)^g;y:{if(!b){break y}h=w[b|0];if(!h){break y}while(1){g=((h<<24>>24)+(g>>>3|0)|0)+(g<<5)^g;h=w[b+1|0];b=b+1|0;if(h){continue}break}}g=(g<<5)+(g>>>3|0)^g;z:{if(!f){break z}b=w[f|0];if(!b){break z}while(1){g=((b<<24>>24)+(g>>>3|0)|0)+(g<<5)^g;b=w[f+1|0];f=f+1|0;if(b){continue}break}}b=v[c>>2];i=B((g>>>0)%y[a+4>>2]|0,24);h=i+v[a>>2]|0;A:{if(!v[h+20>>2]){e=v[c+4>>2];v[h>>2]=v[c>>2];v[h+4>>2]=e;e=v[c+20>>2];v[h+16>>2]=v[c+16>>2];v[h+20>>2]=e;e=v[c+12>>2];v[h+8>>2]=v[c+8>>2];v[h+12>>2]=e;v[i+v[a>>2]>>2]=0;Qa[v[256556]](c);break A}v[c>>2]=v[h>>2];v[h>>2]=c}c=b;if(b){continue}break}}d=d+1|0;if((k|0)!=(d|0)){continue}break}f=0;Qa[v[256556]](j)}return f}return-1}function H2(a){a=a|0;var 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=v[a+20>>2];if((b|0)!=202){c=v[a>>2];v[c+24>>2]=b;v[c+20>>2]=21;Qa[v[v[a>>2]>>2]](a)}d=a;a=v[d+424>>2];b=B(a,v[d+48>>2]);c=v[d+52>>2];a:{if(b>>>0<=c>>>0){v[d+112>>2]=((a+v[d+28>>2]|0)-1|0)/(a|0);e=1;a=v[d+32>>2];break a}if(b>>>0<=c<<1>>>0){v[d+112>>2]=((a+(v[d+28>>2]<<1)|0)-1|0)/(a|0);e=2;a=v[d+32>>2]<<1;break a}e=3;if(b>>>0<=B(c,3)>>>0){v[d+112>>2]=((a+B(v[d+28>>2],3)|0)-1|0)/(a|0);a=B(v[d+32>>2],3);break a}if(b>>>0<=c<<2>>>0){v[d+112>>2]=((a+(v[d+28>>2]<<2)|0)-1|0)/(a|0);e=4;a=v[d+32>>2]<<2;break a}e=5;if(b>>>0<=B(c,5)>>>0){v[d+112>>2]=((a+B(v[d+28>>2],5)|0)-1|0)/(a|0);a=B(v[d+32>>2],5);break a}e=6;if(b>>>0<=B(c,6)>>>0){v[d+112>>2]=((a+B(v[d+28>>2],6)|0)-1|0)/(a|0);a=B(v[d+32>>2],6);break a}e=7;if(b>>>0<=B(c,7)>>>0){v[d+112>>2]=((a+B(v[d+28>>2],7)|0)-1|0)/(a|0);a=B(v[d+32>>2],7);break a}if(b>>>0<=c<<3>>>0){v[d+112>>2]=((a+(v[d+28>>2]<<3)|0)-1|0)/(a|0);e=8;a=v[d+32>>2]<<3;break a}e=9;if(b>>>0<=B(c,9)>>>0){v[d+112>>2]=((a+B(v[d+28>>2],9)|0)-1|0)/(a|0);a=B(v[d+32>>2],9);break a}e=10;if(b>>>0<=B(c,10)>>>0){v[d+112>>2]=((a+B(v[d+28>>2],10)|0)-1|0)/(a|0);a=B(v[d+32>>2],10);break a}e=11;if(b>>>0<=B(c,11)>>>0){v[d+112>>2]=((a+B(v[d+28>>2],11)|0)-1|0)/(a|0);a=B(v[d+32>>2],11);break a}e=12;if(b>>>0<=B(c,12)>>>0){v[d+112>>2]=((a+B(v[d+28>>2],12)|0)-1|0)/(a|0);a=B(v[d+32>>2],12);break a}e=13;if(b>>>0<=B(c,13)>>>0){v[d+112>>2]=((a+B(v[d+28>>2],13)|0)-1|0)/(a|0);a=B(v[d+32>>2],13);break a}e=14;if(b>>>0<=B(c,14)>>>0){v[d+112>>2]=((a+B(v[d+28>>2],14)|0)-1|0)/(a|0);a=B(v[d+32>>2],14);break a}e=15;g=v[d+28>>2];if(b>>>0<=B(c,15)>>>0){v[d+112>>2]=((a+B(g,15)|0)-1|0)/(a|0);a=B(v[d+32>>2],15);break a}v[d+112>>2]=((a+(g<<4)|0)-1|0)/(a|0);e=16;a=v[d+32>>2]<<4}b=v[d+424>>2];v[d+324>>2]=e;v[d+320>>2]=e;v[d+116>>2]=((a+b|0)-1|0)/(b|0);a=v[d+36>>2];b:{if((a|0)<1){break b}b=a&7;c=v[d+216>>2];if(a-1>>>0>=7){a=a&-8;while(1){v[c+40>>2]=e;v[c+36>>2]=e;v[c+656>>2]=e;v[c+652>>2]=e;v[c+568>>2]=e;v[c+564>>2]=e;v[c+480>>2]=e;v[c+476>>2]=e;v[c+392>>2]=e;v[c+388>>2]=e;v[c+304>>2]=e;v[c+300>>2]=e;v[c+216>>2]=e;v[c+212>>2]=e;v[c+128>>2]=e;v[c+124>>2]=e;c=c+704|0;a=a-8|0;if(a){continue}break}}if(!b){break b}while(1){v[c+40>>2]=e;v[c+36>>2]=e;c=c+88|0;b=b-1|0;if(b){continue}break}}i=v[d+36>>2];c:{if((i|0)<1){break c}a=v[d+216>>2];e=v[d+324>>2];m=v[d+76>>2]?8:4;g=v[d+320>>2];d:{if((m|0)<(g|0)){j=g<<1;if((e|0)>(m|0)){f=e<<1;if((f|0)<(g|0)){c=i&7;b=a;if(i-1>>>0>=7){h=i&-8;while(1){v[b+36>>2]=f;v[b+40>>2]=e;v[b+128>>2]=e;v[b+216>>2]=e;v[b+124>>2]=f;v[b+304>>2]=e;v[b+212>>2]=f;v[b+392>>2]=e;v[b+300>>2]=f;v[b+480>>2]=e;v[b+388>>2]=f;v[b+568>>2]=e;v[b+476>>2]=f;v[b+656>>2]=e;v[b+564>>2]=f;v[b+652>>2]=f;b=b+704|0;h=h-8|0;if(h){continue}break}}if(!c){break d}while(1){v[b+36>>2]=f;v[b+40>>2]=e;b=b+88|0;c=c-1|0;if(c){continue}break}break d}if((e|0)<=(j|0)){f=i&7;b=a;if(i-1>>>0>=7){h=i&-8;while(1){v[b+40>>2]=e;v[b+36>>2]=g;v[b+656>>2]=e;v[b+652>>2]=g;v[b+568>>2]=e;v[b+564>>2]=g;v[b+480>>2]=e;v[b+476>>2]=g;v[b+392>>2]=e;v[b+388>>2]=g;v[b+304>>2]=e;v[b+300>>2]=g;v[b+216>>2]=e;v[b+212>>2]=g;v[b+128>>2]=e;v[b+124>>2]=g;b=b+704|0;h=h-8|0;if(h){continue}break}}if(!f){break d}while(1){v[b+40>>2]=e;v[b+36>>2]=g;b=b+88|0;f=f-1|0;if(f){continue}break}break d}c=i&7;b=a;if(i-1>>>0>=7){f=i&-8;while(1){v[b+40>>2]=j;v[b+36>>2]=g;v[b+656>>2]=j;v[b+652>>2]=g;v[b+568>>2]=j;v[b+564>>2]=g;v[b+480>>2]=j;v[b+476>>2]=g;v[b+392>>2]=j;v[b+388>>2]=g;v[b+304>>2]=j;v[b+300>>2]=g;v[b+216>>2]=j;v[b+212>>2]=g;v[b+128>>2]=j;v[b+124>>2]=g;b=b+704|0;f=f-8|0;if(f){continue}break}}if(!c){break d}while(1){v[b+40>>2]=j;v[b+36>>2]=g;b=b+88|0;c=c-1|0;if(c){continue}break}break d}b=v[d+316>>2];c=a;while(1){v[c+36>>2]=g;h=e;k=v[c+12>>2];e:{if((b|0)%(k<<1)|0){break e}f=2;while(1){h=B(e,f);if((m|0)<(h|0)){break e}f=f<<1;if(!((b|0)%(B(k,f)|0)|0)){continue}break}}v[c+40>>2]=h;f=h<<1;f:{if((f|0)>=(g|0)){if((h|0)<=(j|0)){break f}v[c+40>>2]=j;break f}v[c+36>>2]=f}c=c+88|0;l=l+1|0;if((l|0)!=(i|0)){continue}break}break d}j=v[d+312>>2];if((e|0)>(m|0)){h=e<<1;c=a;while(1){b=g;k=v[c+8>>2];g:{if((j|0)%(k<<1)|0){break g}f=2;while(1){b=B(f,g);if((m|0)<(b|0)){break g}f=f<<1;if(!((j|0)%(B(k,f)|0)|0)){continue}break}}v[c+40>>2]=e;v[c+36>>2]=b;h:{if((b|0)<=(h|0)){b=b<<1;if((b|0)>=(e|0)){break h}v[c+40>>2]=b;break h}v[c+36>>2]=h}c=c+88|0;l=l+1|0;if((l|0)!=(i|0)){continue}break}break d}k=v[d+316>>2];h=a;while(1){b=g;c=v[h+8>>2];i:{if((j|0)%(c<<1)|0){break i}f=2;while(1){b=B(f,g);if((m|0)<(b|0)){break i}f=f<<1;if(!((j|0)%(B(c,f)|0)|0)){continue}break}}v[h+36>>2]=b;c=e;n=v[h+12>>2];j:{if((k|0)%(n<<1)|0){break j}f=2;while(1){c=B(e,f);if((m|0)<(c|0)){break j}f=f<<1;if(!((k|0)%(B(n,f)|0)|0)){continue}break}}v[h+40>>2]=c;f=c<<1;k:{if((f|0)<(b|0)){v[h+36>>2]=f;break k}b=b<<1;if((b|0)>=(c|0)){break k}v[h+40>>2]=b}h=h+88|0;l=l+1|0;if((l|0)!=(i|0)){continue}break}}b=0;if((i|0)<=0){break c}while(1){c=B(v[d+424>>2],v[d+312>>2]);v[a+44>>2]=((c+B(v[a+36>>2],B(v[a+8>>2],v[d+28>>2]))|0)-1|0)/(c|0);c=B(v[d+424>>2],v[d+316>>2]);v[a+48>>2]=((c+B(v[a+40>>2],B(v[a+12>>2],v[d+32>>2]))|0)-1|0)/(c|0);a=a+88|0;b=b+1|0;i=v[d+36>>2];if((b|0)<(i|0)){continue}break}}a=v[d+44>>2]-1|0;if(a>>>0<=4){i=v[(a<<2)+70004>>2]}v[d+120>>2]=i;v[d+124>>2]=v[d+84>>2]?1:i;a=d;if(G2(d)){b=v[d+316>>2]}else{b=1}v[a+128>>2]=b}function X3(a,b,c,d,e,f,g){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,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;a:{b:{c:{d:{e:{f:{g:{if(b){j=ig(a,b);if(!j){ob(a,1045,0,0);return 1045}h=v[j+88>>2];if(w[h+33|0]){ob(a,1071,0,0);return 1071}i=w[h+44|0];if(i>>>0<9){break g}k=w[h+45|0];if(k>>>0>12){break e}k=1<>2];if(!w[j+44|0]){break c}h=v[j+52>>2];i=v[j+36>>2];if((h|0)<=(i|0)){break c}k=v[j+60>>2];m=v[j+40>>2];if((k|0)<=(m|0)){break c}h=Nj(a,j,h-i|0,k-m|0,8,6,0,0,0,0);if(h){break b}break d}h=iC(a,j,8,6,0)}if(h){break b}h=v[j+88>>2]}if(w[h+49|0]){break d}i=0;h:{i:{j:{m=v[j+88>>2];k=w[m+44|0];if(k>>>0<8){break j}switch(w[m+45|0]-6|0){case 0:case 8:break i;default:break j}}ob(a,1071,0,0);h=1071;break h}k:{if(w[m+49|0]){break k}v[a+540>>2]=m;v[a+536>>2]=j;v[a+544>>2]=j;t[a+649|0]=0;v[a+580>>2]=0;v[a+584>>2]=1;v[a+572>>2]=0;v[a+576>>2]=1;t[a+568|0]=255;h=k>>>0>8;v[a+984>>2]=h?691:692;v[a+980>>2]=h?693:694;h=v[m+36>>2];v[a+616>>2]=0;t[a+648|0]=0;v[a+588>>2]=h;v[a+604>>2]=h<<2;if(k>>>0>=9){t[a+648|0]=1;v[a+604>>2]=h<<3}v[a+976>>2]=0;i=Kt(a,0,0,1);if(i){break k}if(v[a+976>>2]){h=Qa[v[a+152>>2]](v[a+604>>2])|0;v[a+644>>2]=h;if(!h){ob(a,1,0,0);h=1;break h}v[a+636>>2]=h;h=0;while(1){l:{k=h;y=v[m+40>>2];if(y>>>0<=h>>>0){i=0;break l}i=Qa[v[a+980>>2]](a)|0;if(i){break l}i=Qa[v[a+976>>2]](a)|0;if(i){break l}i=Qa[v[a+984>>2]](a)|0;if(i){break l}h=k+1|0;i=_q(a);if(!i){continue}}break}h=v[a+644>>2];if(h){Qa[v[a+156>>2]](h,v[a+604>>2])}if(k>>>0>>0){break k}}t[m+49|0]=1;i=0}h=i}if(h){break b}}if(w[j+65|0]?1:w[j+64|0]){h=Nt(a,j);if(h){break b}}k=v[j+88>>2];i=w[k+44|0];h=a;m:{n:{o:{switch(c|0){default:e=v[a+2332>>2];d=v[a+2328>>2];break m;case 0:v[a+2332>>2]=e;v[a+2328>>2]=d;break m;case 1:d=v[j+80>>2]+d|0;v[a+2328>>2]=d;e=v[j+84>>2]+e|0;break n;case 2:break o}}d=v[a+2328>>2]+d|0;v[a+2328>>2]=d;e=v[a+2332>>2]+e|0}v[h+2332>>2]=e}v[j+84>>2]=e;v[j+80>>2]=d;v[a+540>>2]=k;v[a+536>>2]=j;p:{if(!f){e=1;h=0;break p}r=i>>>0>8;A=r;E=r?3:2;F=r?933:934;k=r?935:936;m=r?886:885;y=r?937:938;C=i>>>0<9;d=0;while(1){c=ig(a,x[g>>1]);q:{if(!c){h=0;break q}if(!w[c+32|0]){h=0;break q}r:{if(w[c+65|0]?1:w[c+64|0]){h=Nt(a,c);if(h){break r}}n=v[c+88>>2];v[a+616>>2]=0;v[a+584>>2]=1;v[a+576>>2]=1;t[a+568|0]=255;v[a+544>>2]=c;B=v[n+1168>>2];G=v[n+36>>2];c=w[n+44|0];t[a+2253|0]=4;o=c>>>0>8;c=a;s:{t:{u:{v:{switch(w[n+45|0]){case 0:v[a+980>>2]=o?820:821;e=!w[n+56|0];break t;case 2:v[a+980>>2]=o?822:823;e=!w[n+56|0];break t;case 3:v[a+980>>2]=824;e=!w[n+56|0];break t;case 4:v[a+980>>2]=o?825:826;break u;case 6:v[a+980>>2]=o?693:694;break u;case 8:v[a+980>>2]=o?820:821;e=1;break t;case 10:v[a+980>>2]=o?822:823;e=1;break t;case 12:v[a+980>>2]=o?825:826;break u;case 14:break v;default:break s}}v[a+980>>2]=o?693:694}e=0}t[c+649|0]=e}v[a+976>>2]=0;c=o?r?0:871:0;v[a+996>>2]=o?c:r?868:c;h=Kt(a,0,0,1);if(h){break r}v[a+1004>>2]=0;v[a+1008>>2]=0;w:{x:{y:{e=w[g+3|0];D=e-2|0;switch(D|0){case 6:break x;case 0:case 2:break y;default:break w}}if(!C){v[a+1004>>2]=939;break w}v[a+1004>>2]=940;break w}if(!C){v[a+1008>>2]=933;break w}v[a+1008>>2]=934}h=k;z:{A:{B:{switch(w[g+2|0]){case 1:h=m;break A;case 0:break A;case 2:break B;default:break z}}h=y}v[a+1e3>>2]=h}C:{if(w[g+4|0]==1){h=v[g+12>>2]+v[a+2332>>2]|0;c=v[g+8>>2]+v[a+2328>>2]|0;break C}h=v[g+12>>2];c=v[g+8>>2]}l=v[j+88>>2];i=v[l+40>>2];p=v[l+36>>2];if((e|0)!=8){e=v[n+40>>2]+h|0;i=(e|0)>(i|0)?i:e;e=c+v[n+36>>2]|0;p=(e|0)>(p|0)?p:e}H=a;I=i;D:{if(w[g+16|0]==1){l=v[a+2328>>2];e=l+v[g+20>>2]|0;z=(c|0)<(e|0)?e-c|0:0;v[a+656>>2]=z;s=v[g+28>>2];q=(c|0)>(e|0)?c:e;v[a+672>>2]=q;c=s;s=v[a+2332>>2];c=c+s|0;e=(c|0)<(h|0)?h:c;v[a+680>>2]=e;c=(c|0)>(h|0)?c-h|0:0;v[a+664>>2]=c;h=l+v[g+24>>2]|0;l=(h|0)>(p|0)?p:h;v[a+676>>2]=l;h=v[g+32>>2]+s|0;break D}e=v[g+20>>2];z=(c|0)<(e|0)?e-c|0:0;v[a+656>>2]=z;l=v[g+28>>2];q=(c|0)>(e|0)?c:e;v[a+672>>2]=q;e=(h|0)>(l|0)?h:l;v[a+680>>2]=e;c=(h|0)<(l|0)?l-h|0:0;v[a+664>>2]=c;h=v[g+24>>2];l=(h|0)>(p|0)?p:h;v[a+676>>2]=l;h=v[g+32>>2]}i=(h|0)>(i|0)?I:h;v[H+684>>2]=i;if(z){v[a+1008>>2]=F}h=0;if((l|0)<(q|0)|(e|0)>(i|0)){break r}p=1;E:{switch(D|0){case 0:case 4:p=-1;c=v[n+40>>2]+(c^-1)|0;break;default:break E}}v[a+580>>2]=q;s=l-q|0;l=s<>2]](i)|0;v[a+644>>2]=h;if(!h){break a}h=Qa[v[a+152>>2]](i)|0;v[a+636>>2]=h;if(!h){break a}while(1){F:{if(v[a+684>>2]<=(e|0)){h=0;break F}t[a+648|0]=o;v[a+604>>2]=B;v[a+588>>2]=G;v[a+572>>2]=c;h=Qa[v[a+980>>2]](a)|0;G:{if(h){t[a+648|0]=A;break G}h=v[a+996>>2];H:{if(!h){t[a+648|0]=A;break H}h=Qa[h|0](a)|0;t[a+648|0]=A;if(h){break G}}h=v[a+976>>2];if(h){h=Qa[h|0](a)|0;if(h){break G}}h=v[a+1004>>2];if(h){h=Qa[h|0](a)|0;if(h){break G}}h=v[a+1008>>2];if(h){h=Qa[h|0](a)|0;if(h){break G}}v[a+604>>2]=l;v[a+588>>2]=s;v[a+572>>2]=e;h=Qa[v[a+1e3>>2]](a)|0}q=v[n+40>>2];c=c+p|0;c=(c|0)<0?q-1|0:(c|0)<(q|0)?c:0;e=e+1|0;if(!h){continue}}break}c=v[a+636>>2];if(c){Qa[v[a+156>>2]](c,i)}c=v[a+644>>2];if(!c){break r}Qa[v[a+156>>2]](c,i)}d=d+1|0;g=g+36|0}e=!h;if(h){break p}if(d>>>0>>0){continue}break}}if(!e){break b}if(!b){h=$g(a,j,0);if(!h){break c}break b}if(!w[j+31|0]|!w[j+32|0]){break c}h=$g(a,j,0);if(h){break b}}h=0;if(!w[a+497|0]){break b}t[a+498|0]=11;u[a+2326>>1]=b}return h}ob(a,1,0,0);return 1}function gza(a,b){a=a|0;b=b|0;var 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;i=Ma-16|0;Ma=i;r=v[a+12>>2];m=v[a+8>>2];p=v[a+4>>2];n=t[p+35|0];l=v[p+8>>2];g=v[l+80>>2];d=v[p+56>>2];o=v[a+16>>2];q=v[a+20>>2];h=!!(o>>>0>>0?d:0);while(1){a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{if(!h){if(m>>>0>=r>>>0){break k}if(o>>>0>=q>>>0){break l}f=m+2|0;d=x[m>>1];m=f;if((d&63488)!=55296){break m}if(d&1024){break o}m=f;h=1;continue}if(m>>>0>>0){f=x[m>>1];if((f&64512)==56320){break n}v[b>>2]=12}v[p+56>>2]=d;break k}v[b>>2]=12;v[p+56>>2]=d;m=f;break k}v[p+56>>2]=0;d=(f+(d<<10)|0)-56613888|0;m=m+2|0}f=0;if(d-32>>>0<96|(1<>>0<=10:0)|d-160>>>0<96){break h}f=16;c=d-258|0;if(c>>>0<16&(64575>>>c&1)){break h}c=d&-4;if((c|0)==280){break h}h=d-313|0;if(h>>>0<29&(427839283>>>h&1)){break h}h=d&-2;if((h|0)==350|(c|0)==344){break h}e=d-352|0;if(e>>>0<=30){break j}break i}v[b>>2]=15}v[l+80>>2]=g;v[a+16>>2]=o;v[a+8>>2]=m;Ma=i+16|0;return}if(1<>>0<=22:0){break h}f=17;if((c|0)==264){break h}e=d-284|0;if(e>>>0<6&(51>>>e&1)|(c|0)==292){break h}p:{switch(d-308|0){case 0:case 1:case 40:case 41:case 56:case 57:break h;default:break p}}f=18;if((c|0)==372){break h}q:{switch(d-7690|0){default:if(d-7922>>>0<2){break h}break;case 0:case 1:case 20:case 21:case 54:case 55:case 76:case 77:case 86:case 87:case 96:case 97:break h;case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 48:case 49:case 50:case 51:case 52:case 53:case 56:case 57:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 88:case 89:case 90:case 91:case 92:case 93:case 94:case 95:break q}}if(d-7808>>>0<6){break h}f=19;if((d|0)==376|d-338>>>0<2|(d|0)==8364){break h}f=15;if(d-3585>>>0<58|d-3647>>>0<29){break h}f=14;r:{switch(d-256|0){case 0:case 1:case 18:case 19:case 22:case 23:case 34:case 35:break h;default:break r}}if((h|0)==302|(c|0)==296){break h}s:{switch(d-310|0){case 0:case 1:case 2:case 5:case 6:case 15:case 16:case 20:case 21:case 22:case 23:case 32:case 33:case 48:case 49:case 50:case 51:case 52:case 53:case 60:case 61:break h;default:break s}}f=2;if((h|0)==700|(d|0)==8213|d-900>>>0<75){break h}f=3;h=d-1548|0;if(d-1569>>>0<26|(1<>>0<=19:0)|((d|0)==8203|d-1600>>>0<19)){break h}if(d-1632>>>0<14){break h}h=d-65136|0;t:{if(h>>>0>=5){if(d-65142>>>0<73){break h}break t}if(23>>>h&1|d-65142>>>0<=72){break h}}f=13;if((d|0)==8215|d-1488>>>0<27|(d|0)==8254){break h}f=12;if((d|0)==8470|d-1025>>>0<95){break h}f=1;h=d-286|0;if(1<>>0<=19:0){break h}h=0;if((c|0)!=536){break g}}h=0;if((f|0)!=(g|0)){c=B(f,5);g=w[c+855520|0];while(1){t[(i+9|0)+h|0]=g;h=h+1|0;g=w[(c+h|0)+855520|0];if(g){continue}break}g=f}switch(g+1|0){case 0:break g;case 1:break f;default:break e}}f=1;c=n;e=Eg(v[l+4>>2],d,i+4|0,c);if((e|0)<1){break d}break c}t[(i+9|0)+h|0]=d;h=h+1|0;break b}e=Eg(v[(g<<2)+l>>2],d,i+4|0,n);if((e|0)<1){break b}j=v[i+4>>2];c=h;f=e;k=e&3;if(k){while(1){f=f-1|0;t[(i+9|0)+c|0]=j>>>(f<<3);c=c+1|0;k=k-1|0;if(k){continue}break}}h=h+e|0;if(e-1>>>0<3){break b}while(1){k=(i+9|0)+c|0;e=f-4|0;t[k+3|0]=j>>>(e<<3);f=f<<3;t[k+2|0]=j>>>f-24;t[k+1|0]=j>>>f-16;t[k|0]=j>>>f-8;f=e;c=c+4|0;if((h|0)!=(c|0)){continue}break}break b}f=2;e=Eg(v[l+8>>2],d,i+4|0,c);if((e|0)>0){break c}f=3;e=Eg(v[l+12>>2],d,i+4|0,n);if((e|0)>0){break c}f=4;e=Eg(v[l+16>>2],d,i+4|0,c);if((e|0)>0){break c}f=5;e=Eg(v[l+20>>2],d,i+4|0,n);if((e|0)>0){break c}f=6;e=Eg(v[l+24>>2],d,i+4|0,c);if((e|0)>0){break c}f=7;e=Eg(v[l+28>>2],d,i+4|0,n);if((e|0)>0){break c}f=8;e=Eg(v[l+32>>2],d,i+4|0,c);if((e|0)>0){break c}f=9;e=Eg(v[l+36>>2],d,i+4|0,n);if((e|0)>0){break c}f=10;e=Eg(v[l+40>>2],d,i+4|0,c);if((e|0)>0){break c}f=11;e=Eg(v[l+44>>2],d,i+4|0,n);if((e|0)<=0){break b}}u:{if((f|0)==(g|0)){f=g;break u}j=B(f,5);g=w[j+855520|0];c=0;while(1){t[(i+9|0)+h|0]=g;h=h+1|0;c=c+1|0;g=w[(j+c|0)+855520|0];if(g){continue}break}if((e|0)<1){break a}}j=v[i+4>>2];g=h;c=e;k=c&3;if(k){while(1){c=c-1|0;t[(i+9|0)+g|0]=j>>>(c<<3);g=g+1|0;k=k-1|0;if(k){continue}break}}h=h+e|0;if(e-1>>>0<3){break a}while(1){k=(i+9|0)+g|0;e=c-4|0;t[k+3|0]=j>>>(e<<3);c=c<<3;t[k+2|0]=j>>>c-24;t[k+1|0]=j>>>c-16;t[k|0]=j>>>c-8;c=e;g=g+4|0;if((h|0)!=(g|0)){continue}break}break a}f=g}e=f;v:{w:{if((h|0)<1){c=0}else{g=0;c=q-o|0;c=c>>>0>q>>>0?0:c;while(1){if((c|0)==(g|0)){break w}t[o|0]=w[(i+9|0)+g|0];o=o+1|0;g=g+1|0;if((h|0)!=(g|0)){continue}break}c=h}j=v[b>>2];break v}v[b>>2]=15;j=15}g=e;x:{if((j|0)!=15){break x}g=f;if((c|0)>=(h|0)){break x}e=c+1|0;if(h-c&1){j=w[(i+9|0)+c|0];g=v[a+4>>2];c=t[g+63|0];t[g+63|0]=c+1;t[(c+g|0)+76|0]=j;c=e}g=f;if((h|0)==(e|0)){break x}while(1){j=(i+9|0)+c|0;k=w[j|0];g=v[a+4>>2];e=t[g+63|0];t[g+63|0]=e+1;t[(e+g|0)+76|0]=k;j=w[j+1|0];g=v[a+4>>2];e=t[g+63|0];t[g+63|0]=e+1;t[(e+g|0)+76|0]=j;c=c+2|0;if((h|0)!=(c|0)){continue}break}g=f}h=0;continue}}function X4(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;j=Qa[v[v[b>>2]+36>>2]](b)|0;e=Qa[v[v[b>>2]+20>>2]](b,4)|0;c=Qa[v[v[b>>2]+20>>2]](b,4)|0;a:{b:{switch(e|0){case 1:e=1;if(Qa[v[v[b>>2]+20>>2]](b,4)|0){break a}e=Qa[v[v[b>>2]+20>>2]](b,4)|0;if(e){break a}e=(Qa[v[v[b>>2]+40>>2]](b)|0)+12|0;break a;case 0:break b;default:break a}}d=Qa[v[v[b>>2]+40>>2]](b)|0;e=(d|0)>0?d+8|0:0}c:{while(1){d:{d=0;e:{switch(c-1785737827|0){case 0:break c;case 5:break d;default:break e}}Qa[v[v[b>>2]+24>>2]](b,e-8|0);j=Qa[v[v[b>>2]+36>>2]](b)|0;e=Qa[v[v[b>>2]+20>>2]](b,4)|0;c=Qa[v[v[b>>2]+20>>2]](b,4)|0;f:{g:{switch(e|0){case 1:if(Qa[v[v[b>>2]+20>>2]](b,4)|0){break c}e=Qa[v[v[b>>2]+20>>2]](b,4)|0;if(e){break f}e=(Qa[v[v[b>>2]+40>>2]](b)|0)+12|0;break f;case 0:break g;default:break f}}e=Qa[v[v[b>>2]+40>>2]](b)|0;if((e|0)<1){break c}e=e+8|0}if((c|0)!=1785737832){continue}}break}f=Qa[v[v[b>>2]+36>>2]](b)|0;c=Qa[v[v[b>>2]+20>>2]](b,4)|0;g=Qa[v[v[b>>2]+20>>2]](b,4)|0;h:{i:{switch(c|0){case 1:c=1;if(Qa[v[v[b>>2]+20>>2]](b,4)|0){break h}c=Qa[v[v[b>>2]+20>>2]](b,4)|0;if(c){break h}c=(Qa[v[v[b>>2]+40>>2]](b)|0)+12|0;break h;case 0:break i;default:break h}}c=Qa[v[v[b>>2]+40>>2]](b)|0;c=(c|0)>0?c+8|0:0}if((g|0)!=1768449138){break c}l=a,m=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[l+12>>2]=m;l=a,m=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[l+8>>2]=m;d=Qa[v[v[b>>2]+20>>2]](b,2)|0;v[a+16>>2]=d;g=B(d,12);h=gb(g);if(!h){v[a+68>>2]=0;v[v[a>>2]+20>>2]=1;return 0}d=0;l=a,m=eb(h,0,g),v[l+68>>2]=m;l=a,m=Qa[v[v[b>>2]+20>>2]](b,1)|0,v[l+20>>2]=m;l=a,m=Qa[v[v[b>>2]+20>>2]](b,1)|0,v[l+24>>2]=m;l=a,m=Qa[v[v[b>>2]+20>>2]](b,1)|0,v[l+28>>2]=m;l=a,m=Qa[v[v[b>>2]+20>>2]](b,1)|0,v[l+32>>2]=m;if(((Qa[v[v[b>>2]+36>>2]](b)|0)-f|0)!=(c|0)){break c}f=Qa[v[v[b>>2]+36>>2]](b)|0;Qa[v[v[b>>2]+36>>2]](b)|0;c=Qa[v[v[b>>2]+20>>2]](b,4)|0;d=Qa[v[v[b>>2]+20>>2]](b,4)|0;j:{k:{switch(c|0){case 1:c=1;if(Qa[v[v[b>>2]+20>>2]](b,4)|0){break j}c=Qa[v[v[b>>2]+20>>2]](b,4)|0;if(c){break j}c=(Qa[v[v[b>>2]+40>>2]](b)|0)+12|0;break j;case 0:break k;default:break j}}c=Qa[v[v[b>>2]+40>>2]](b)|0;c=(c|0)>0?c+8|0:0}l:{while(1){if(!d){break l}if((d|0)!=1667523942){Qa[v[v[b>>2]+24>>2]](b,c-8|0);Qa[v[v[b>>2]+36>>2]](b)|0;c=Qa[v[v[b>>2]+20>>2]](b,4)|0;d=Qa[v[v[b>>2]+20>>2]](b,4)|0;m:{n:{switch(c|0){case 1:c=1;if(Qa[v[v[b>>2]+20>>2]](b,4)|0){break m}c=Qa[v[v[b>>2]+20>>2]](b,4)|0;if(c){break m}c=(Qa[v[v[b>>2]+40>>2]](b)|0)+12|0;break m;case 0:break n;default:break m}}c=Qa[v[v[b>>2]+40>>2]](b)|0;c=(c|0)>0?c+8|0:0}if((d|0)!=1667523942){continue}}break}d=Qa[v[v[b>>2]+20>>2]](b,2)|0;if((d|0)<1){break l}c=0;while(1){Qa[v[v[b>>2]+20>>2]](b,2)|0;Qa[v[v[b>>2]+20>>2]](b,2)|0;Qa[v[v[b>>2]+20>>2]](b,2)|0;c=c+1|0;if((d|0)!=(c|0)){continue}break}}Qa[v[v[b>>2]+28>>2]](b,f);if(v[a+20>>2]==255){g=Qa[v[v[b>>2]+36>>2]](b)|0;f=Qa[v[v[b>>2]+20>>2]](b,4)|0;c=Qa[v[v[b>>2]+20>>2]](b,4)|0;o:{p:{switch(f|0){case 1:f=1;if(Qa[v[v[b>>2]+20>>2]](b,4)|0){break o}f=Qa[v[v[b>>2]+20>>2]](b,4)|0;if(f){break o}f=(Qa[v[v[b>>2]+40>>2]](b)|0)+12|0;break o;case 0:break p;default:break o}}d=Qa[v[v[b>>2]+40>>2]](b)|0;f=(d|0)>0?d+8|0:0}d=0;if((c|0)!=1651532643){break c}if(v[a+16>>2]){c=0;while(1){d=Qa[v[v[b>>2]+20>>2]](b,1)|0;v[(v[a+68>>2]+B(c,12)|0)+8>>2]=d;c=c+1|0;if(c>>>0>2]){continue}break}}d=0;if(((Qa[v[v[b>>2]+36>>2]](b)|0)-g|0)!=(f|0)){break c}}k=Qa[v[v[b>>2]+36>>2]](b)|0;q:{if(w[a+88|0]){break q}f=Qa[v[v[b>>2]+36>>2]](b)|0;c=Qa[v[v[b>>2]+20>>2]](b,4)|0;d=Qa[v[v[b>>2]+20>>2]](b,4)|0;r:{s:{switch(c|0){case 1:c=1;if(Qa[v[v[b>>2]+20>>2]](b,4)|0){break r}c=Qa[v[v[b>>2]+20>>2]](b,4)|0;if(c){break r}c=(Qa[v[v[b>>2]+40>>2]](b)|0)+12|0;break r;case 0:break s;default:break r}}c=Qa[v[v[b>>2]+40>>2]](b)|0;c=(c|0)>0?c+8|0:0}t:{while(1){if((d|0)!=1668246642){if((d|0)==1785737827){break t}Qa[v[v[b>>2]+24>>2]](b,c-8|0);f=Qa[v[v[b>>2]+36>>2]](b)|0;c=Qa[v[v[b>>2]+20>>2]](b,4)|0;d=Qa[v[v[b>>2]+20>>2]](b,4)|0;u:{v:{switch(c|0){case 1:c=1;if(Qa[v[v[b>>2]+20>>2]](b,4)|0){break u}c=Qa[v[v[b>>2]+20>>2]](b,4)|0;if(c){break u}c=(Qa[v[v[b>>2]+40>>2]](b)|0)+12|0;break u;case 0:break v;default:break u}}c=Qa[v[v[b>>2]+40>>2]](b)|0;c=(c|0)>0?c+8|0:0}if((d|0)!=1668246642){continue}}break}l=a,m=Qa[v[v[b>>2]+20>>2]](b,1)|0,v[l+36>>2]=m;l=a,m=Qa[v[v[b>>2]+20>>2]](b,1)|0,v[l+40>>2]=m;l=a,m=Qa[v[v[b>>2]+20>>2]](b,1)|0,v[l+44>>2]=m;w:{x:{y:{switch(v[a+36>>2]-1|0){case 0:d=Qa[v[v[b>>2]+20>>2]](b,4)|0;t[a+88|0]=1;v[a+48>>2]=d;break x;case 1:g=c-3|0;v[a+84>>2]=g;h=gb(g);if(!h){break w}d=0;l=a,m=eb(h,0,g),v[l+80>>2]=m;z:{if((c|0)<4){break z}if((c|0)!=4){h=g&-2;while(1){i=Qa[v[v[b>>2]+20>>2]](b,1)|0;t[v[a+80>>2]+d|0]=i;i=Qa[v[v[b>>2]+20>>2]](b,1)|0;t[v[a+80>>2]+(d|1)|0]=i;d=d+2|0;h=h-2|0;if(h){continue}break}}if(!(g&1)){break z}g=Qa[v[v[b>>2]+20>>2]](b,1)|0;t[v[a+80>>2]+d|0]=g}t[a+88|0]=1;break x;default:break y}}d=c+f|0;if((Qa[v[v[b>>2]+36>>2]](b)|0)>(d|0)){break t}m=b,n=d-(Qa[v[v[b>>2]+36>>2]](b)|0)|0,l=v[v[b>>2]+24>>2],Qa[l](m|0,n|0)}if(((Qa[v[v[b>>2]+36>>2]](b)|0)-f|0)==(c|0)){break q}break t}v[a+80>>2]=0;v[a+84>>2]=0}Qa[v[v[b>>2]+28>>2]](b,k);v[a+44>>2]=0;v[a+48>>2]=16;v[a+36>>2]=1;v[a+40>>2]=0}a=e+j|0;c=Qa[v[v[b>>2]+36>>2]](b)|0;if((a|0)>=(c|0)){n=b,m=a-(Qa[v[v[b>>2]+36>>2]](b)|0)|0,l=v[v[b>>2]+24>>2],Qa[l](n|0,m|0)}d=(a|0)>=(c|0)}return d}function dCa(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,j=0,k=0,l=0,m=0,n=0,o=0;i=Ma-48|0;Ma=i;h=2;a:{b:{c:{switch(v[a+796>>2]-1|0){case 0:case 1:if(!v[a+864>>2]){h=142;break a}j=v[v[a+804>>2]+(b<<2)>>2];b=v[a+104>>2];h=Mb(b,v[a+860>>2]);if(h){break a}v[i+4>>2]=b;v[i>>2]=a;b=v[a+84>>2];u[i+16>>1]=0;v[i+12>>2]=g;v[i+8>>2]=b+76;v[i+20>>2]=v[a+860>>2];v[i+24>>2]=v[a+864>>2];b=v[a+788>>2];v[i+36>>2]=b;e=v[a+792>>2];v[i+40>>2]=e+b;h=3;g=B(j,48);if(e>>>0>>0){break a}b=b+g|0;g=w[b+8|0]|w[b+9|0]<<8|(w[b+10|0]<<16|w[b+11|0]<<24);j=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);v[i+28>>2]=j;g=w[b+16|0]|w[b+17|0]<<8|(w[b+18|0]<<16|w[b+19|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);v[i+32>>2]=g;t[i+18|0]=w[b+54|0];if(e>>>0>>0|g>>>0>e-j>>>3>>>0){break a}h=FZ(i,c,0,0,0,d>>>22&1);if(h){break a}if(!(d&5242880)){break b}h=0;break a;case 2:break c;default:break a}}b=v[v[a+804>>2]+(b<<2)>>2];d=0;u[g>>1]=0;u[g+2>>1]=0;if(y[a+16>>2]>>0){h=6;break a}b=v[a+788>>2]+(b<<2)|0;b=w[b+8|0]|w[b+9|0]<<8|(w[b+10|0]<<16|w[b+11|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);g=b+4|0;while(1){f=v[a+864>>2];if(f>>>0<=b>>>0){h=3;break a}c=c<<2;if(c+12>>>0>f-b>>>0){h=3;break a}h=Mb(e,v[a+860>>2]+(c+g|0)|0);if(h){break a}h=Ed(e,8);if(h){break a}c=Ig(e);f=Ig(e);dd(e);if((c|0)==(f|0)){h=157;break a}if(c>>>0>f>>>0){h=3;break a}j=f-c|0;if(j>>>0<8){h=3;break a}h=3;if(f>>>0>v[a+864>>2]-b>>>0){break a}h=Mb(e,v[a+860>>2]+(b+c|0)|0);if(h){break a}h=Ed(e,j);if(h){break a}ae(e);ae(e);c=Ig(e);if((c|0)!=1685418085){d:{if(!((c|0)==1785751328|(c|0)==1919378028)){h=7;if((c|0)!=1953064550){break d}}h=2}dd(e);break a}if((d|0)==4){h=3;dd(e);break a}c=ae(e);dd(e);d=d+1|0;if(y[a+16>>2]>=c>>>0){continue}break}h=6;break a}h=0;if(w[f+18|0]!=7){break a}n=v[v[a+84>>2]>>2];if(i){v[i>>2]=0;v[i+4>>2]=0;v[i+16>>2]=0;v[i+20>>2]=0;v[i+8>>2]=0;v[i+12>>2]=0}g=f;m=Ma-16|0;Ma=m;v[m+12>>2]=0;e:{if(!n){b=33;break e}b=6;if(!g|!i){break e}f:{if(w[g+18|0]-1>>>0<=6){f=v[n>>2];t[i+18|0]=2;h=v[i>>2];c=v[g>>2];v[i>>2]=c;v[i+4>>2]=v[g+4>>2];e=v[i+8>>2];d=v[g+4>>2];if((d|0)>=1){x3a(d,0,c,0);if(Pa){break e}}b=e>>31;c=g0(f,B(h,b+e^b),B(c,d),v[i+12>>2],m+12|0);v[i+12>>2]=c;b=v[m+12>>2];if(b){break e}v[i+8>>2]=v[i+8>>2]<0?0-d|0:d;break f}v[m+12>>2]=6;c=v[i+12>>2]}d=v[g+12>>2];f=v[g+8>>2];if((f|0)<=-1){d=B(1-v[g>>2]|0,f)+d|0}j=v[i+8>>2];if((j|0)<=-1){c=B(1-v[i>>2]|0,j)+c|0}g:{h:{switch(w[g+18|0]-1|0){case 0:u[i+16>>1]=2;j=v[g>>2];if(!j){break g}while(1){e=v[g+4>>2];i:{if(e>>>0<8){f=d;b=c;break i}h=e>>>3|0;b=c;f=d;while(1){e=w[f|0];t[b+7|0]=e&1;t[b|0]=e>>>7;t[b+6|0]=e>>>1&1;t[b+5|0]=e>>>2&1;t[b+4|0]=e>>>3&1;t[b+3|0]=e>>>4&1;t[b+2|0]=e>>>5&1;t[b+1|0]=e>>>6&1;f=f+1|0;b=b+8|0;h=h-1|0;if(h){continue}break}e=v[g+4>>2]}e=e&7;j:{if(!e){break j}f=w[f|0];t[b|0]=f>>>7;if((e|0)==1){break j}t[b+1|0]=f>>>6&1;if((e|0)==2){break j}t[b+2|0]=f>>>5&1;if((e|0)==3){break j}t[b+3|0]=f>>>4&1;if((e|0)==4){break j}t[b+4|0]=f>>>3&1;if((e|0)==5){break j}t[b+5|0]=f>>>2&1;if((e|0)==6){break j}t[b+6|0]=f>>>1&1}c=v[i+8>>2]+c|0;d=v[g+8>>2]+d|0;j=j-1|0;if(j){continue}break};break g;case 6:u[i+16>>1]=256;k=v[g>>2];if(!k){break g}h=v[g+4>>2];if(!h){break g}while(1){e=c;b=d;if(h){while(1){f=e;j=w[b+3|0];if(j){l=w[b+1|0];o=B(B(l,l),46871);l=w[b|0];o=o+B(B(l,l),4732)|0;l=w[b+2|0];j=j-((o+B(B(l,l),13933)>>>16>>>0)/(j>>>0)|0)|0}else{j=0}t[f|0]=j;e=e+1|0;b=b+4|0;h=h-1|0;if(h){continue}break}j=v[i+8>>2];f=v[g+8>>2]}k=k-1|0;if(!k){break g}d=d+f|0;c=c+j|0;h=v[g+4>>2];continue};case 3:u[i+16>>1]=16;k=v[g>>2];if(!k){break g}while(1){f=v[g+4>>2];k:{if(f>>>0<2){e=d;b=c;break k}f=f>>>1|0;j=f-1|0;b=c;e=d;h=f&3;if(h){while(1){l=w[e|0];t[b+1|0]=l&15;t[b|0]=l>>>4;f=f-1|0;b=b+2|0;e=e+1|0;h=h-1|0;if(h){continue}break}}if(j>>>0>=3){while(1){h=w[e|0];t[b+1|0]=h&15;t[b|0]=h>>>4;h=w[e+1|0];t[b+3|0]=h&15;t[b+2|0]=h>>>4;h=w[e+2|0];t[b+5|0]=h&15;t[b+4|0]=h>>>4;h=w[e+3|0];t[b+7|0]=h&15;t[b+6|0]=h>>>4;b=b+8|0;e=e+4|0;f=f-4|0;if(f){continue}break}}f=v[g+4>>2]}if(f&1){t[b|0]=w[e|0]>>>4}c=v[i+8>>2]+c|0;d=v[g+8>>2]+d|0;k=k-1|0;if(k){continue}break};break g;case 2:u[i+16>>1]=4;j=v[g>>2];if(!j){break g}while(1){f=v[g+4>>2];l:{if(f>>>0<4){e=d;b=c;break l}k=f>>>2|0;h=k;b=c;e=d;if(f&4){b=w[d|0];t[c+3|0]=b&3;t[c|0]=b>>>6;t[c+2|0]=b>>>2&3;t[c+1|0]=b>>>4&3;h=k-1|0;e=d+1|0;b=c+4|0}if((k|0)!=1){while(1){f=w[e|0];t[b+3|0]=f&3;t[b|0]=f>>>6;t[b+2|0]=f>>>2&3;t[b+1|0]=f>>>4&3;f=w[e+1|0];t[b+7|0]=f&3;t[b+4|0]=f>>>6;t[b+6|0]=f>>>2&3;t[b+5|0]=f>>>4&3;b=b+8|0;e=e+2|0;h=h-2|0;if(h){continue}break}}f=v[g+4>>2]}f=f&3;m:{if(!f){break m}e=w[e|0];t[b|0]=e>>>6;if((f|0)==1){break m}t[b+1|0]=e>>>4&3;if((f|0)==2){break m}t[b+2|0]=e>>>2&3}c=v[i+8>>2]+c|0;d=v[g+8>>2]+d|0;j=j-1|0;if(j){continue}break};break g;case 1:case 4:case 5:break h;default:break g}}f=v[g+4>>2];u[i+16>>1]=256;b=v[g>>2];if(!b){break g}if(b&1){c=cb(c,d,f)+v[i+8>>2]|0;d=v[g+8>>2]+d|0;e=b-1|0}else{e=b}if((b|0)==1){break g}while(1){c=cb(c,d,f);b=v[g+8>>2]+d|0;c=cb(c+v[i+8>>2]|0,b,f)+v[i+8>>2]|0;d=b+v[g+8>>2]|0;e=e-2|0;if(e){continue}break}}b=v[m+12>>2]}Ma=m+16|0;h=b;if(b){if(i?n:0){cN(n,i)}break a}t[g+18|0]=w[i+18|0];v[g+8>>2]=v[i+8>>2];u[g+16>>1]=x[i+16>>1];EJ(v[a+84>>2],v[i+12>>2]);a=v[v[a+84>>2]+156>>2];v[a+4>>2]=v[a+4>>2]|1}Ma=i+48|0;return h|0}function MG(a,b){var 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;h=Ma-32|0;Ma=h;v[h+16>>2]=13;v[h>>2]=13;ue(b,v[a+4>>2],h+16|0,0);a:{b:{c:{d:{switch(v[h+16>>2]-6|0){case 0:b=v[h+24>>2];e:{if(v[b+12>>2]<=0){break e}while(1){Nf(b,c,h);b=DV(a,h);bb(h);if(b){break a}c=c+1|0;b=v[h+24>>2];e=v[b+12>>2];if((c|0)<(e|0)){continue}break}c=0;if((e|0)<=0){break e}while(1){ub(b,c,h,0);if(v[h>>2]!=8){fb(1,-1,256284,0);bb(h);break a}bb(h);c=c+1|0;b=v[h+24>>2];if((c|0)>2]){continue}break}}Ib(v[a+112>>2],h+16|0);break c;case 2:break d;default:break b}}if(DV(a,b)){break a}Ib(v[a+112>>2],b)}g=ab(56);f=g;d=v[a+4>>2];j=d;e=ab(160);c=Ma-16|0;Ma=c;v[e+8>>2]=13;v[c>>2]=13;i=h+16|0;f:{if(v[i>>2]==8){b=ab(20);v[b>>2]=d;v[b+12>>2]=0;v[b+16>>2]=1;v[b+4>>2]=0;v[b+8>>2]=0;v[e+24>>2]=1;v[e>>2]=b;og(b,ee(i,c));b=v[e>>2];break f}b=v[i+8>>2];v[e+24>>2]=0;v[e>>2]=b}v[e+4>>2]=0;if(v[b+12>>2]>=1){ub(b,0,e+8|0,0);b=v[e+16>>2];Qa[v[v[b>>2]+20>>2]](b)}Ma=c+16|0;so(f,j,e,0);v[a+108>>2]=g;d=Ma-560|0;Ma=d;v[d+544>>2]=13;v[d+528>>2]=13;v[d+512>>2]=13;v[d+496>>2]=13;v[d+480>>2]=13;v[d+464>>2]=13;v[d+448>>2]=13;v[d+432>>2]=13;v[d+416>>2]=13;v[d+400>>2]=13;v[d+384>>2]=13;v[d+368>>2]=13;v[d+352>>2]=13;v[d+336>>2]=13;v[d+320>>2]=13;v[d+304>>2]=13;v[d+288>>2]=13;v[d+272>>2]=13;v[d+256>>2]=13;v[d+240>>2]=13;v[d+224>>2]=13;v[d+208>>2]=13;v[d+192>>2]=13;v[d+176>>2]=13;v[d+160>>2]=13;v[d+144>>2]=13;v[d+128>>2]=13;v[d+112>>2]=13;v[d+96>>2]=13;v[d+80>>2]=13;v[d+64>>2]=13;v[d+48>>2]=13;v[d+32>>2]=13;v[d+16>>2]=13;v[a+24>>2]=0;Bg(v[a+108>>2],d+544|0,0,0,0,0,0,0,0);g:{h:{i:{j:{c=v[d+544>>2];switch(c-9|0){case 3:break h;case 0:break j;default:break i}}c=-1;b=v[a+108>>2];k:{if(!b){break k}b=v[b+4>>2];if(v[b+8>>2]==13){break k}b=v[b+16>>2];c=Qa[v[v[b>>2]+52>>2]](b)|0}fb(1,c,256387,0);bb(d+544|0);c=11;v[d+544>>2]=11}l=v[249421];e=0;l:{m:{while(1){b=v[a+24>>2];v[a+24>>2]=b+1;i=v[a+116>>2];if(!(!i|(b|0)<100)){if(Qa[i|0](v[a+120>>2])|0){break m}v[a+24>>2]=0;c=v[d+544>>2]}n:{if((c|0)==10){if(v[a+16>>2]){jm(d+544|0,l);c=0;if((e|0)>=1){while(1){bo(32);jm((d+16|0)+(c<<4)|0,l);c=c+1|0;if((e|0)!=(c|0)){continue}break}}bo(10);$i(l)}i=d+16|0;b=e;j=Ma+-64|0;Ma=j;o=d+544|0;k=v[o+8>>2];g=-1;c=73;while(1){m=(c+g|0)/2|0;f=hb(B(m,148)+1088240|0,k);c=(f|0)<0?c:m;g=(f|0)<1?m:g;if((c-g|0)>1){continue}break}o:{if(f){b=1;if(v[a+40>>2]>0){break o}c=-1;b=v[a+108>>2];p:{if(!b){break p}b=v[b+4>>2];if(v[b+8>>2]==13){break p}b=v[b+16>>2];c=Qa[v[v[b>>2]+52>>2]](b)|0}v[j+48>>2]=k;fb(1,c,336104,j+48|0);b=0;break o}c=v[B(g,148)+1088244>>2];q:{if((c|0)>=0){if((b|0)<(c|0)){c=-1;i=v[a+108>>2];r:{if(!i){break r}i=v[i+4>>2];if(v[i+8>>2]==13){break r}c=v[i+16>>2];c=Qa[v[v[c>>2]+52>>2]](c)|0}v[j+4>>2]=k;v[j>>2]=b;fb(1,c,237714,j);b=0;break o}if((b|0)<=(c|0)){break q}i=(b-c<<4)+i|0;b=c;break q}if((0-c|0)>=(b|0)){break q}c=-1;f=v[a+108>>2];s:{if(!f){break s}f=v[f+4>>2];if(v[f+8>>2]==13){break s}c=v[f+16>>2];c=Qa[v[v[c>>2]+52>>2]](c)|0}v[j+36>>2]=k;v[j+32>>2]=b;fb(0,c,237672,j+32|0)}t:{if((b|0)>=1){c=0;m=B(g,148);while(1){f=(c<<4)+i|0;u:{v:{switch(v[(m+(c<<2)|0)+1088248>>2]){case 1:if(v[f>>2]!=1){break t}break u;case 2:if(v[f>>2]-1>>>0>=2){break t}break u;case 3:if(v[f>>2]!=3){break t}break u;case 4:if(v[f>>2]!=4){break t}break u;case 5:if(v[f>>2]!=6){break t}break u;case 6:switch(v[f>>2]-4|0){case 0:case 3:break u;default:break t};case 7:p=v[f>>2];if(p>>>0>4){break t}if(1<>2]){break t}}c=c+1|0;if((c|0)!=(b|0)){continue}break}}g=B(g,148);k=v[g+1088384>>2];c=(k>>1)+a|0;g=v[g+1088380>>2];f=c;if(k&1){g=v[g+v[c>>2]>>2]}Qa[g|0](f,i,b);b=1;break o}g=-1;b=v[a+108>>2];w:{if(!b){break w}b=v[b+4>>2];if(v[b+8>>2]==13){break w}b=v[b+16>>2];g=Qa[v[v[b>>2]+52>>2]](b)|0}v[j+24>>2]=v[(v[f>>2]<<2)+1109024>>2];v[j+20>>2]=k;v[j+16>>2]=c;fb(1,g,326462,j+16|0);b=0}Ma=j- -64|0;n=!b+n|0;bb(o);c=0;if((e|0)>=1){while(1){bb((d+16|0)+(c<<4)|0);c=c+1|0;if((e|0)!=(c|0)){continue}break}}e=0;if((n|0)<501){break n}fb(1,-1,256233,0);break h}if((e|0)<=32){c=v[d+556>>2];b=(d+16|0)+(e<<4)|0;v[b+8>>2]=v[d+552>>2];v[b+12>>2]=c;c=v[d+548>>2];v[b>>2]=v[d+544>>2];v[b+4>>2]=c;e=e+1|0;break n}c=-1;b=v[a+108>>2];x:{if(!b){break x}b=v[b+4>>2];if(v[b+8>>2]==13){break x}b=v[b+16>>2];c=Qa[v[v[b>>2]+52>>2]](b)|0}fb(1,c,256323,0);if(v[a+16>>2]){yp(337284,0);jm(d+544|0,l);bo(10);$i(l)}bb(d+544|0)}Bg(v[a+108>>2],d+544|0,0,0,0,0,0,0,0);c=v[d+544>>2];if((c|0)==9){c=-1;b=v[a+108>>2];y:{if(!b){break y}b=v[b+4>>2];if(v[b+8>>2]==13){break y}b=v[b+16>>2];c=Qa[v[v[b>>2]+52>>2]](b)|0}fb(1,c,256387,0);bb(d+544|0);v[d+544>>2]=11;c=11}if((c|0)!=12){continue}break}bb(d+544|0);if((e|0)<=0){break g}n=-1;b=v[a+108>>2];z:{if(!b){break z}b=v[b+4>>2];if(v[b+8>>2]==13){break z}b=v[b+16>>2];n=Qa[v[v[b>>2]+52>>2]](b)|0}c=0;fb(1,n,256355,0);if(!v[a+16>>2]){break l}v[d>>2]=e;yp(313491,d);while(1){bo(32);jm((d+16|0)+(c<<4)|0,l);c=c+1|0;if((e|0)!=(c|0)){continue}break}bo(10);$i(l);if((e|0)<1){break g}break l}bb(d+544|0);if((e|0)<=0){break g}}c=0;while(1){bb((d+16|0)+(c<<4)|0);c=c+1|0;if((e|0)!=(c|0)){continue}break}break g}bb(d+544|0)}Ma=d+560|0;b=v[a+108>>2];if(b){$a(ml(b))}v[a+108>>2]=0;a=v[a+112>>2];xz(a,v[a+8>>2]-1|0);break a}fb(1,-1,256284,0)}bb(h+16|0);Ma=h+32|0}function C3(a){a=a|0;var 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,w=0,y=0;e=Ma-32784|0;Ma=e;if(v[a+188>>2]){Lb(57852,26,1,v[249419])}UK(a,1);c=x[a+26310>>1];h=c<<2;q=h+4|0;r=h-4|0;s=4-h|0;w=0-h|0;y=(c^-1)<<2;while(1){n=f<<1&14;i=f+1|0;o=i<<1&14;l=f-1|0;p=l<<1&14;g=0;while(1){v[e+8>>2]=0;v[e+12>>2]=0;v[e>>2]=0;v[e+4>>2]=0;k=g-1|0;c=((e+16|0)+(f<<11)|0)+(g<<7)|0;b=c;d=v[a+26028>>2];a:{if((d|0)!=1){d=d>>>((p|k&1)<<1)&3;break a}d=t[(k+x[a+26314>>1]&15|(l+x[a+26312>>1]&15)<<4)+194800|0]}v[b>>2]=d+y;v[c+8>>2]=d;v[c+4>>2]=0;d=(d<<2)+e|0;v[d>>2]=v[d>>2]+1;b=c|12;d=v[a+26028>>2];b:{if((d|0)!=1){d=d>>>((p|g&1)<<1)&3;break b}d=t[(x[a+26314>>1]+g&15|(l+x[a+26312>>1]&15)<<4)+194800|0]}v[b>>2]=d+w;v[c+20>>2]=d;v[c+16>>2]=1;d=(d<<2)+e|0;v[d>>2]=v[d>>2]+2;d=g+1|0;j=c;b=v[a+26028>>2];c:{if((b|0)!=1){b=b>>>((p|d&1)<<1)&3;break c}b=t[(d+x[a+26314>>1]&15|(l+x[a+26312>>1]&15)<<4)+194800|0]}v[j+24>>2]=b+s;v[c+32>>2]=b;v[c+28>>2]=0;b=(b<<2)+e|0;v[b>>2]=v[b>>2]+1;j=c;b=v[a+26028>>2];d:{if((b|0)!=1){b=b>>>((n|k&1)<<1)&3;break d}b=t[(k+x[a+26314>>1]&15|(x[a+26312>>1]+f&15)<<4)+194800|0]}v[j+36>>2]=b-4;v[c+44>>2]=b;v[c+40>>2]=1;b=(b<<2)+e|0;v[b>>2]=v[b>>2]+2;j=c;b=v[a+26028>>2];e:{if((b|0)!=1){b=b>>>((n|d&1)<<1)&3;break e}b=t[(d+x[a+26314>>1]&15|(x[a+26312>>1]+f&15)<<4)+194800|0]}v[j+48>>2]=b+4;v[c+56>>2]=b;v[c+52>>2]=1;b=(b<<2)+e|0;v[b>>2]=v[b>>2]+2;j=c;b=v[a+26028>>2];f:{if((b|0)!=1){b=b>>>((o|k&1)<<1)&3;break f}b=t[(k+x[a+26314>>1]&15|(i+x[a+26312>>1]&15)<<4)+194800|0]}v[j+60>>2]=b+r;v[c+68>>2]=b;v[c+64>>2]=0;b=(b<<2)+e|0;v[b>>2]=v[b>>2]+1;j=c;b=v[a+26028>>2];g:{if((b|0)!=1){b=b>>>((o|g&1)<<1)&3;break g}b=t[(x[a+26314>>1]+g&15|(i+x[a+26312>>1]&15)<<4)+194800|0]}v[j+72>>2]=b+h;v[c+80>>2]=b;v[c+76>>2]=1;b=(b<<2)+e|0;v[b>>2]=v[b>>2]+2;j=c;b=v[a+26028>>2];h:{if((b|0)!=1){b=b>>>((o|d&1)<<1)&3;break h}b=t[(d+x[a+26314>>1]&15|(i+x[a+26312>>1]&15)<<4)+194800|0]}v[j+84>>2]=b+q;v[c+92>>2]=b;v[c+88>>2]=0;b=(b<<2)+e|0;v[b>>2]=v[b>>2]+1;k=v[a+26336>>2];if((k|0)>=1){j=(n|g&1)<<1;m=c+96|0;b=0;while(1){c=v[a+26028>>2];i:{if((c|0)!=1){c=c>>>j&3;break i}c=t[(x[a+26314>>1]+g&15|(x[a+26312>>1]+f&15)<<4)+194800|0]}if((c|0)!=(b|0)){v[m>>2]=b;v[m+4>>2]=256/v[(b<<2)+e>>2];k=v[a+26336>>2];m=m+8|0}b=b+1|0;if((k|0)>(b|0)){continue}break}}g=d;if((d|0)!=16){continue}break}f=i;if((f|0)!=16){continue}break}if(x[a+26308>>1]>2){m=1;while(1){b=x[a+26310>>1];j:{if(b>>>0<3){break j}n=m&15;k=v[a+26352>>2];h=v[a+26336>>2];f=h-1|0;if(f){d=h-2|0;g=1;o=h&1;while(1){v[e+8>>2]=0;v[e+12>>2]=0;v[e>>2]=0;v[e+4>>2]=0;c=((e+16|0)+(n<<11)|0)+((g&15)<<7)|0;i=(v[c+8>>2]<<2)+e|0;j=i;l=v[i>>2];i=k+(B(b,m)+g<<3)|0;v[j>>2]=l+(x[i+(v[c>>2]<<1)>>1]<>2]);b=(v[c+20>>2]<<2)+e|0;v[b>>2]=v[b>>2]+(x[i+(v[c+12>>2]<<1)>>1]<>2]);b=(v[c+32>>2]<<2)+e|0;v[b>>2]=v[b>>2]+(x[i+(v[c+24>>2]<<1)>>1]<>2]);b=(v[c+44>>2]<<2)+e|0;v[b>>2]=v[b>>2]+(x[i+(v[c+36>>2]<<1)>>1]<>2]);b=(v[c+56>>2]<<2)+e|0;v[b>>2]=v[b>>2]+(x[i+(v[c+48>>2]<<1)>>1]<>2]);b=(v[c+68>>2]<<2)+e|0;v[b>>2]=v[b>>2]+(x[i+(v[c+60>>2]<<1)>>1]<>2]);b=(v[c+80>>2]<<2)+e|0;v[b>>2]=v[b>>2]+(x[i+(v[c+72>>2]<<1)>>1]<>2]);b=(v[c+92>>2]<<2)+e|0;v[b>>2]=v[b>>2]+(x[i+(v[c+84>>2]<<1)>>1]<>2]);b=c+96|0;if(o){c=f}else{b=v[b>>2];u[i+(b<<1)>>1]=B(v[c+100>>2],v[(b<<2)+e>>2])>>>8;b=c+104|0;c=d}if((h|0)!=2){while(1){l=v[b>>2];u[i+(l<<1)>>1]=B(v[b+4>>2],v[(l<<2)+e>>2])>>>8;l=v[b+8>>2];u[i+(l<<1)>>1]=B(v[b+12>>2],v[(l<<2)+e>>2])>>>8;b=b+16|0;c=c-2|0;if(c){continue}break}}g=g+1|0;b=x[a+26310>>1];if((g|0)<(b-1|0)){continue}break}break j}v[e+8>>2]=0;v[e+12>>2]=0;v[e>>2]=0;v[e+4>>2]=0;c=2;g=(e+16|0)+(n<<11)|0;f=(v[g+136>>2]<<2)+e|0;d=f;j=v[f>>2];i=B(b,m);f=(k+(i<<3)|0)+8|0;v[d>>2]=j+(x[f+(v[g+128>>2]<<1)>>1]<>2]);d=(v[g+148>>2]<<2)+e|0;v[d>>2]=v[d>>2]+(x[f+(v[g+140>>2]<<1)>>1]<>2]);d=(v[g+160>>2]<<2)+e|0;v[d>>2]=v[d>>2]+(x[f+(v[g+152>>2]<<1)>>1]<>2]);d=(v[g+172>>2]<<2)+e|0;v[d>>2]=v[d>>2]+(x[f+(v[g+164>>2]<<1)>>1]<>2]);d=(v[g+184>>2]<<2)+e|0;v[d>>2]=v[d>>2]+(x[f+(v[g+176>>2]<<1)>>1]<>2]);d=(v[g+196>>2]<<2)+e|0;v[d>>2]=v[d>>2]+(x[f+(v[g+188>>2]<<1)>>1]<>2]);d=(v[g+208>>2]<<2)+e|0;v[d>>2]=v[d>>2]+(x[f+(v[g+200>>2]<<1)>>1]<>2]);d=(v[g+220>>2]<<2)+e|0;v[d>>2]=v[d>>2]+(x[f+(v[g+212>>2]<<1)>>1]<>2]);b=((b|0)>3?b:3)-1|0;if((b|0)==2){break j}while(1){v[e+8>>2]=0;v[e+12>>2]=0;v[e>>2]=0;v[e+4>>2]=0;f=g+((c&15)<<7)|0;d=(v[f+8>>2]<<2)+e|0;j=d;h=v[d>>2];d=k+(c+i<<3)|0;v[j>>2]=h+(x[d+(v[f>>2]<<1)>>1]<>2]);h=(v[f+20>>2]<<2)+e|0;v[h>>2]=v[h>>2]+(x[d+(v[f+12>>2]<<1)>>1]<>2]);h=(v[f+32>>2]<<2)+e|0;v[h>>2]=v[h>>2]+(x[d+(v[f+24>>2]<<1)>>1]<>2]);h=(v[f+44>>2]<<2)+e|0;v[h>>2]=v[h>>2]+(x[d+(v[f+36>>2]<<1)>>1]<>2]);h=(v[f+56>>2]<<2)+e|0;v[h>>2]=v[h>>2]+(x[d+(v[f+48>>2]<<1)>>1]<>2]);h=(v[f+68>>2]<<2)+e|0;v[h>>2]=v[h>>2]+(x[d+(v[f+60>>2]<<1)>>1]<>2]);h=(v[f+80>>2]<<2)+e|0;v[h>>2]=v[h>>2]+(x[d+(v[f+72>>2]<<1)>>1]<>2]);h=(v[f+92>>2]<<2)+e|0;v[h>>2]=v[h>>2]+(x[d+(v[f+84>>2]<<1)>>1]<>2]);c=c+1|0;if((b|0)!=(c|0)){continue}break}}m=m+1|0;if((m|0)<(x[a+26308>>1]-1|0)){continue}break}}Ma=e+32784|0}function tH(a,b){var c=0,d=0,e=0,f=0;f=Ma-32|0;Ma=f;a:{if(!a|(b|0)<1){break a}c=Qa[v[256552]](36)|0;if(!c){v[f>>2]=239669;nb(0,0,0,0,0,8,2,3,239669,0,0,0,340689,f);c=0;break a}v[c>>2]=0;v[c+4>>2]=0;v[c+32>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;e=Qa[v[256552]](36)|0;if(!e){v[f+16>>2]=239706;nb(0,0,0,0,0,29,2,3,239706,0,0,0,340689,f+16|0);v[c+16>>2]=0;Qa[v[256556]](c);c=0;break a}v[e+24>>2]=b;v[e+20>>2]=b;v[e+12>>2]=2;v[e>>2]=a;v[e+28>>2]=0;v[e+32>>2]=0;b=b>>>0<2147483647?b:2147483647;v[e+8>>2]=b;v[e+4>>2]=b;v[c+16>>2]=e;b=PH(0);v[c+12>>2]=b;if(b){b=Aq(v[256553]<<1)}else{b=0}v[c+24>>2]=-1;v[c+20>>2]=b;v[c+4>>2]=0;v[c+8>>2]=0;v[c>>2]=a}Ma=f+32|0;e=c;if(c){a=0;b:{if(!e){break b}a=Qa[v[256552]](128)|0;if(a){a=eb(a,0,128);v[a+28>>2]=e;b=Aq(100);v[a+84>>2]=b;c:{if(!b){break c}d:{if(v[b+32>>2]|(v[b+12>>2]&-2)==2){break d}v[b+12>>2]=5;b=v[b+28>>2];if(!b){break d}v[b+12>>2]=5}b=Qa[v[256552]](128)|0;v[a+24>>2]=b;if(!b){c=v[a+84>>2];if(c){d=v[c+12>>2];e:{f:{if((d|0)==3){b=v[c+16>>2];if(b){break f}b=v[c>>2];if(b){break f}break e}b=v[c>>2];if(!b|(d|0)==2){break e}}Qa[v[256556]](b)}Qa[v[256556]](c)}break c}v[b+108>>2]=-554844497;v[b+124>>2]=0;v[b+104>>2]=2677;v[b>>2]=2678;v[b+96>>2]=2679;v[b+20>>2]=2680;v[b+16>>2]=2681;v[b+12>>2]=2682;v[b+8>>2]=2683;v[b+4>>2]=2684;v[b+36>>2]=2685;v[b+32>>2]=2686;v[b+24>>2]=2687;v[b+92>>2]=2653;v[b+88>>2]=2653;v[b+84>>2]=2654;v[b+80>>2]=2696;v[b+76>>2]=2697;v[b+64>>2]=2690;v[b+52>>2]=2691;v[b+48>>2]=2692;v[b+44>>2]=2693;v[b+40>>2]=2694;v[b+28>>2]=2695;v[a+32>>2]=0;v[b+56>>2]=2703;v[a+36>>2]=0;v[b+60>>2]=2704;v[a+40>>2]=2699;v[b+116>>2]=2705;v[a+44>>2]=2698;v[b+120>>2]=2706;v[a+48>>2]=2689;v[b+72>>2]=2707;v[b+68>>2]=2707;v[a+52>>2]=2688;v[b+100>>2]=2708;v[a+64>>2]=0;v[a+68>>2]=0;v[a>>2]=0;g:{h:{d=v[v[a+28>>2]+16>>2];i:{if(!(!d|v[d+32>>2])){b=v[d+8>>2];if(!((b|0)==v[d+24>>2]|b>>>0>2147483646)){v[d+24>>2]=b}c=v[d+20>>2];b=v[d+4>>2];if((c|0)==(b|0)|b>>>0>2147483646){b=c}else{v[d+20>>2]=b}if(b>>>0>3){break i}}if(!(v[e+28>>2]|!v[e+4>>2])){aA(e,4);d=v[v[a+28>>2]+16>>2]}if(!d){break h}}if(v[d+32>>2]){break h}b=v[d+8>>2];if(!((b|0)==v[d+24>>2]|b>>>0>2147483646)){v[d+24>>2]=b}c=v[d+20>>2];b=v[d+4>>2];if(!((c|0)==(b|0)|b>>>0>2147483646)){v[d+20>>2]=b;c=b}b=4;if(c>>>0<4){break h}c=SW(v[a+24>>2],v[d>>2],4);break g}b=0;c=SW(v[a+24>>2],0,0)}v[a+60>>2]=b;v[a+56>>2]=0;b=c;v[a+20>>2]=b;if(!b){Qa[v[256654]](v[291043],344803,0);c=v[a+84>>2];if(c){d=v[c+12>>2];j:{k:{if((d|0)==3){b=v[c+16>>2];if(b){break k}b=v[c>>2];if(b){break k}break j}b=v[c>>2];if(!b|(d|0)==2){break j}}Qa[v[256556]](b)}Qa[v[256556]](c)}Qa[v[256556]](v[a+24>>2]);Qa[v[256556]](a);a=0;break b}v[b+364>>2]=1;v[b+280>>2]=1;v[b+272>>2]=a;v[b+436>>2]=5;v[a+12>>2]=2;v[b+308>>2]=1;v[a+88>>2]=v[b+296>>2];break b}Qa[v[256556]](a)}Qa[v[256654]](v[291043],344803,0);a=0}d=a;if(!a){um(e);return 0}v[d+12>>2]=v[d+12>>2]|1;e=Ma-32|0;Ma=e;l:{if(!d){break l}v[d+96>>2]=0;v[d+4>>2]=0;v[d+8>>2]=0;v[d+120>>2]=65536;m:{a=v[d+84>>2];if(a){break m}a=Aq(100);v[d+84>>2]=a;if(a){break m}Qa[v[256654]](v[291043],344837,0);break l}n:{if(v[a+32>>2]|(v[a+12>>2]&-2)==2){break n}v[a+12>>2]=5;a=v[a+28>>2];if(!a){break n}v[a+12>>2]=5}o:{a=v[d+24>>2];if(a){break o}a=Qa[v[256552]](128)|0;v[d+24>>2]=a;if(a){break o}Qa[v[256654]](v[291043],344837,0);break l}v[a+108>>2]=-554844497;v[a+124>>2]=0;v[a+104>>2]=2677;v[a>>2]=2678;v[a+96>>2]=2679;v[a+20>>2]=2680;v[a+16>>2]=2681;v[a+12>>2]=2682;v[a+8>>2]=2683;v[a+4>>2]=2684;v[a+36>>2]=2685;v[a+32>>2]=2686;v[a+24>>2]=2687;v[a+100>>2]=2688;v[a+68>>2]=2689;v[a+64>>2]=2690;v[a+52>>2]=2691;v[a+48>>2]=2692;v[a+44>>2]=2693;v[a+40>>2]=2694;v[a+28>>2]=2695;v[a+92>>2]=2653;v[a+88>>2]=2653;v[a+84>>2]=2654;v[a+80>>2]=2696;v[a+76>>2]=2697;v[d+32>>2]=0;v[a+56>>2]=2703;v[d+36>>2]=0;v[a+120>>2]=2706;v[a+116>>2]=2705;v[a+60>>2]=2704;v[d+44>>2]=2698;v[d+40>>2]=2699;v[d+48>>2]=v[a+68>>2];v[a+72>>2]=2707;v[a+68>>2]=2707;v[d+52>>2]=v[a+100>>2];v[a+100>>2]=2708;v[d+64>>2]=0;v[d+68>>2]=0;v[d>>2]=0;a=v[d+20>>2];b=v[a+296>>2];c=v[d+88>>2];p:{if(c){if(b){if((b|0)==(c|0)){break p}ln(c);a=v[d+20>>2];v[d+88>>2]=v[a+296>>2];break p}v[a+296>>2]=c;break p}if(!b){b=0;q:{if(!w[1164140]){a=gb(4);v[291036]=a;if(!a){break q}t[1164140]=1}a=Qa[v[256552]](32)|0;if(!a){break q}v[a+28>>2]=0;v[a>>2]=1;v[a+8>>2]=128;v[a+12>>2]=0;c=Qa[v[256552]](2560)|0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+4>>2]=c;if(c){eb(c,0,2560);v[a+24>>2]=0;b=a;break q}Qa[v[256556]](a)}a=v[d+20>>2];v[a+296>>2]=b}v[d+88>>2]=b}v[a+364>>2]=1;v[a+280>>2]=1;v[a+272>>2]=d;v[a+436>>2]=5;v[a+308>>2]=1;b=65536;if(a){v[a+288>>2]=0;v[a+276>>2]=0;v[a+16>>2]=0;v[a+268>>2]=0;v[a+208>>2]=1;v[a+104>>2]=0;v[a+364>>2]=1;if(b&65536){v[a+360>>2]=v[a+360>>2]|65536;b=b-65536|0}if(b&131072){v[a+360>>2]=v[a+360>>2]|131072;b=b-131072|0}if(b&262144){v[a+360>>2]=v[a+360>>2]|262144;b=b-262144|0}r:{if(!(b&524288)){break r}v[a+360>>2]=v[a+360>>2]|524288;b=b-524288|0;c=v[a+296>>2];if(!c){break r}if(c){v[c+28>>2]=0}}if(b&1048576){v[a+360>>2]=v[a+360>>2]|1048576;b=b+-1048576|0}if(b&2097152){v[a+360>>2]=v[a+360>>2]|2097152;b=b-2097152|0}if(b&4194304){v[a+360>>2]=v[a+360>>2]|4194304}v[a+280>>2]=1}v[d+4>>2]=0}Ma=e+32|0}return d}function bI(a){var 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;p=Ma-16|0;Ma=p;b=-102;a:{if(!a|!v[a+56>>2]){break a}v[a+68>>2]=0;e=a- -64|0;b:{if(!(v[a+160>>2]|v[a+156>>2]!=8)){d=a+164|0;g=a+65752|0;while(1){if(!v[a+80>>2]){f=v[a+124>>2];c:{if(!v[a+65708>>2]){b=f;break c}c=0;b=0;if(!f){break c}while(1){h=v[a+65756>>2];b=a+c|0;f=v[a+65744>>2];f=v[h+((w[b+164|0]^f&255)<<2)>>2]^f>>>8;v[a+65744>>2]=f;m=B(v[a+65748>>2]+(f&255)|0,134775813)+1|0;v[a+65748>>2]=m;f=v[g>>2];v[g>>2]=v[h+((f&255^m>>>24)<<2)>>2]^f>>>8;i=b;n=w[b+164|0];b=f&65533;t[i+164|0]=n^B(b|2,b^3)>>>8;b=v[a+124>>2];c=c+1|0;if(b>>>0>c>>>0){continue}break}}Qa[v[a+8>>2]](v[a+28>>2],v[a+44>>2],d,b)|0;v[a+80>>2]=65536;v[a+76>>2]=d;c=v[a+72>>2];v[a+72>>2]=0;f=v[a+124>>2];v[a+124>>2]=0;b=v[a+65732>>2];i=f;f=v[a+65728>>2];h=i+f|0;v[a+65728>>2]=h;v[a+65732>>2]=f>>>0>h>>>0?b+1|0:b;b=v[a+65740>>2];f=v[a+65736>>2];c=c+f|0;v[a+65736>>2]=c;v[a+65740>>2]=c>>>0>>0?b+1|0:b}b=v[a+84>>2];c=ck(e,4);v[a+124>>2]=v[a+124>>2]+(v[a+84>>2]-b|0);if(!c){continue}break}if((c|0)!=1){break b}}c=0;b=v[a+124>>2];if(!b){break b}if(v[a+65708>>2]){f=a+65752|0;while(1){g=v[a+65756>>2];b=a+c|0;d=v[a+65744>>2];d=v[g+((w[b+164|0]^d&255)<<2)>>2]^d>>>8;v[a+65744>>2]=d;h=B(v[a+65748>>2]+(d&255)|0,134775813)+1|0;v[a+65748>>2]=h;d=v[f>>2];v[f>>2]=v[g+((d&255^h>>>24)<<2)>>2]^d>>>8;i=b;n=w[b+164|0];b=d&65533;t[i+164|0]=n^B(b|2,b^3)>>>8;b=v[a+124>>2];c=c+1|0;if(b>>>0>c>>>0){continue}break}}f=Qa[v[a+8>>2]](v[a+28>>2],v[a+44>>2],a+164|0,b)|0;d=v[a+72>>2];v[a+72>>2]=0;b=v[a+124>>2];v[a+124>>2]=0;c=v[a+65740>>2];i=d;d=v[a+65736>>2];g=i+d|0;v[a+65736>>2]=g;v[a+65740>>2]=d>>>0>g>>>0?c+1|0:c;c=v[a+65732>>2];d=v[a+65728>>2]+b|0;v[a+65728>>2]=d;v[a+65732>>2]=b>>>0>d>>>0?c+1|0:c;c=(b|0)!=(f|0)?-1:0}if(!(v[a+160>>2]|v[a+156>>2]!=8)){b=nn(e);v[a+120>>2]=0;c=c?c:b}b=v[a+65760>>2];e=b;f=b+v[a+65728>>2]|0;if(!v[a+160>>2]){l=v[a+65704>>2];k=v[a+65736>>2];j=v[a+65740>>2]}b=v[a+65732>>2]+(b>>31)|0;g=f>>>0>>0?b+1|0:b;if(!(!(!g&f>>>0>4294967294|(g|0)!=0|(!j&k>>>0>4294967294|(j|0)!=0))&(!v[a+132>>2]&v[a+128>>2]!=-1))){b=v[a+136>>2];t[b+4|0]=45;t[b+5|0]=0;b=v[a+136>>2];t[b+6|0]=45;t[b+7|0]=0}b=v[a+136>>2];t[b+16|0]=l;t[b+17|0]=l>>>8;t[b+18|0]=l>>>16;t[b+19|0]=l>>>24;b=v[a+136>>2];d:{if(!g&(f|0)==-1|g){t[b+20|0]=255;t[b+21|0]=255;t[b+22|0]=255;t[b+23|0]=255;break d}t[b+20|0]=f;t[b+21|0]=f>>>8;t[b+22|0]=f>>>16;t[b+23|0]=f>>>24}if(v[a+108>>2]==1){b=v[a+136>>2];t[b+36|0]=1;t[b+37|0]=0}b=v[a+136>>2];e:{if(!j&(k|0)==-1|j){t[b+24|0]=255;t[b+25|0]=255;t[b+26|0]=255;t[b+27|0]=255;b=8;break e}t[b+24|0]=k;t[b+25|0]=k>>>8;t[b+26|0]=k>>>16;t[b+27|0]=k>>>24;b=0}b=!g&f>>>0>4294967294|g?b+8|0:b;d=b+8|0;e=b;b=v[a+132>>2];e=!b&y[a+128>>2]>4294967294|b?d:e;f:{if(!e){break f}b=-103;h=e|4;if(h>>>0>y[a+148>>2]){break a}b=v[a+136>>2]+v[a+144>>2]|0;t[b+2|0]=e;t[b|0]=1;t[b+1|0]=0;t[b+3|0]=0;b=b+4|0;if(!j&(k|0)==-1|j){t[b|0]=k;t[b+1|0]=k>>>8;t[b+2|0]=k>>>16;t[b+3|0]=k>>>24;t[b+4|0]=j;t[b+5|0]=j>>>8;t[b+6|0]=j>>>16;t[b+7|0]=j>>>24;b=b+8|0}if(!g&(f|0)==-1|g){t[b|0]=f;t[b+1|0]=f>>>8;t[b+2|0]=f>>>16;t[b+3|0]=f>>>24;t[b+4|0]=g;t[b+5|0]=g>>>8;t[b+6|0]=g>>>16;t[b+7|0]=g>>>24;b=b+8|0}d=v[a+132>>2];e=d;i=!d;d=v[a+128>>2];if(e|i&(d|0)==-1){t[b|0]=d;t[b+1|0]=d>>>8;t[b+2|0]=d>>>16;t[b+3|0]=d>>>24;t[b+4|0]=e;t[b+5|0]=e>>>8;t[b+6|0]=e>>>16;t[b+7|0]=e>>>24}v[a+148>>2]=v[a+148>>2]-h;v[a+144>>2]=h+v[a+144>>2];b=h+v[a+140>>2]|0;v[a+140>>2]=b;e=v[a+136>>2];t[e+30|0]=b;t[e+31|0]=b>>>8;if(b>>>0<65536){break f}t[e+30|0]=255;t[e+31|0]=255}g:{if(c){$a(v[a+136>>2]);b=c;break g}h=v[a+136>>2];m=v[a+144>>2];c=a+48|0;h:{if(c){i:{j:{k:{b=v[c+4>>2];if(!b){b=gb(4096);if(!b){break k}v[b+8>>2]=0;v[b>>2]=0;v[b+4>>2]=4080;v[c>>2]=b;v[c+4>>2]=b}e=0;if(!m){break h}d=v[b+4>>2];while(1){if(d){e=v[b+8>>2]}else{e=gb(4096);if(!e){break j}v[e+8>>2]=0;v[e>>2]=0;v[e+4>>2]=4080;v[b>>2]=e;v[c+4>>2]=e;d=4080;b=e;e=0}q=(b+e|0)+16|0;e=d>>>0>>0?d:m;n=e&3;d=0;if(e-1>>>0>=3){i=e&-4;while(1){t[d+q|0]=w[d+h|0];o=d|1;t[o+q|0]=w[h+o|0];o=d|2;t[o+q|0]=w[h+o|0];o=d|3;t[o+q|0]=w[h+o|0];d=d+4|0;i=i-4|0;if(i){continue}break}}if(n){while(1){t[d+q|0]=w[d+h|0];d=d+1|0;n=n-1|0;if(n){continue}break}}v[b+8>>2]=e+v[b+8>>2];d=v[b+4>>2]-e|0;v[b+4>>2]=d;h=e+h|0;m=m-e|0;if(m){continue}break}e=0;break h}v[c+4>>2]=0;break i}c=b}v[c>>2]=0}e=-104}b=e;$a(v[a+136>>2]);if(b){break g}e=Mo(a,v[a+44>>2]);d=Pa;b=v[a+132>>2];i=b+1|0;c=b;b=v[a+128>>2]+14|0;c=b>>>0<14?i:c;l:{m:{if(!Qi(a,v[a+44>>2],b,c,0)){b=v[a+44>>2];t[p+11|0]=l>>>24;t[p+10|0]=l>>>16;t[p+9|0]=l>>>8;t[p+8|0]=l;b=Qa[v[a+8>>2]](v[a+28>>2],b,p+8|0,4)|0;c=(b|0)!=4?-1:0;if(!j&k>>>0>4294967294|j|(!g&f>>>0>4294967294|g)){break m}c=-1;if((b|0)!=4){break l}c=qA(a,v[a+44>>2],f,g,4);if(c){break l}c=qA(a,v[a+44>>2],k,j,4);break l}c=-1;if(!j&k>>>0>4294967294|j){break m}if(!g&(f|0)!=-1){break l}}l=v[a+65724>>2];b=l;h=v[a+65720>>2];if(!(b|h)){c=-103;break l}l=b+1|0;i=b;b=h+4|0;l=b>>>0<4?l:i;b=Qi(a,v[a+44>>2],b,l,0)|c;c=-1;if(b){break l}c=qA(a,v[a+44>>2],k,j,8);if(c){break l}c=qA(a,v[a+44>>2],f,g,8)}b=Qi(a,v[a+44>>2],e,d,0)?-1:c}v[a+56>>2]=0;c=v[a+65788>>2];f=c+1|0;e=c;c=v[a+65784>>2]+1|0;f=c>>>0<1?f:e;v[a+65784>>2]=c;v[a+65788>>2]=f}Ma=p+16|0;return b}function YH(a,b){var 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,y=0,z=0,A=0,C=0,D=0,E=0;j=Ma-32|0;c=v[b+8>>2];f=v[c>>2];h=v[c+12>>2];i=v[b>>2];v[a+5200>>2]=0;v[a+5204>>2]=573;c=0;a:{b:{if((h|0)>0){r=-1;while(1){d=(c<<2)+i|0;c:{if(x[d>>1]){d=v[a+5200>>2]+1|0;v[a+5200>>2]=d;v[((d<<2)+a|0)+2908>>2]=c;t[(a+c|0)+5208|0]=0;r=c;break c}u[d+2>>1]=0}c=c+1|0;if((h|0)!=(c|0)){continue}break}s=a+5804|0;y=a+5800|0;e=v[a+5200>>2];if((e|0)>1){break a}break b}s=a+5804|0;y=a+5800|0;r=-1}while(1){c=e+1|0;v[a+5200>>2]=c;n=((c<<2)+a|0)+2908|0;d=r+1|0;g=(r|0)<2;c=g?d:0;v[n>>2]=c;e=c<<2;u[e+i>>1]=1;t[(a+c|0)+5208|0]=0;v[a+5800>>2]=v[a+5800>>2]-1;if(f){v[s>>2]=v[s>>2]-x[(e+f|0)+2>>1]}r=g?d:r;e=v[a+5200>>2];if((e|0)<2){continue}break}}v[b+4>>2]=r;g=e>>>1|0;while(1){k=v[((g<<2)+a|0)+2908>>2];c=g;d=c<<1;d:{if((e|0)<(d|0)){break d}l=(k<<2)+i|0;p=(a+k|0)+5208|0;f=g;while(1){e:{if((d|0)>=(e|0)){c=d;break e}c=a+2908|0;e=d|1;m=v[c+(e<<2)>>2];o=x[(m<<2)+i>>1];q=v[c+(d<<2)>>2];c=x[(q<<2)+i>>1];if(o>>>0>=c>>>0){if((c|0)!=(o|0)){c=d;break e}c=d;d=a+5208|0;if(w[d+m|0]>w[d+q|0]){break e}}c=e}e=x[l>>1];d=v[((c<<2)+a|0)+2908>>2];m=x[(d<<2)+i>>1];if(e>>>0>>0){c=f;break d}if(!((e|0)!=(m|0)|w[p|0]>w[(a+d|0)+5208|0])){c=f;break d}v[((f<<2)+a|0)+2908>>2]=d;f=c;d=c<<1;e=v[a+5200>>2];if((d|0)<=(e|0)){continue}break}}v[((c<<2)+a|0)+2908>>2]=k;if((g|0)>=2){g=g-1|0;e=v[a+5200>>2];continue}break}d=v[a+5200>>2];while(1){g=h;e=d-1|0;v[a+5200>>2]=e;p=v[a+2912>>2];l=v[((d<<2)+a|0)+2908>>2];v[a+2912>>2]=l;c=1;f:{if((d|0)<3){break f}k=(l<<2)+i|0;m=(a+l|0)+5208|0;d=2;f=1;while(1){g:{if((d|0)>=(e|0)){c=d;break g}c=a+2908|0;h=d|1;e=v[c+(h<<2)>>2];o=x[(e<<2)+i>>1];q=v[c+(d<<2)>>2];c=x[(q<<2)+i>>1];if(o>>>0>=c>>>0){if((c|0)!=(o|0)){c=d;break g}c=d;d=a+5208|0;if(w[d+e|0]>w[d+q|0]){break g}}c=h}h=x[k>>1];d=v[((c<<2)+a|0)+2908>>2];e=x[(d<<2)+i>>1];if(h>>>0>>0){c=f;break f}if(!((e|0)!=(h|0)|w[m|0]>w[(a+d|0)+5208|0])){c=f;break f}v[((f<<2)+a|0)+2908>>2]=d;f=c;d=c<<1;e=v[a+5200>>2];if((d|0)<=(e|0)){continue}break}}d=2;k=a+2908|0;v[k+(c<<2)>>2]=l;f=v[a+5204>>2]-1|0;v[a+5204>>2]=f;c=v[a+2912>>2];v[k+(f<<2)>>2]=p;f=v[a+5204>>2]-1|0;v[a+5204>>2]=f;v[k+(f<<2)>>2]=c;m=(g<<2)+i|0;f=(c<<2)+i|0;h=(p<<2)+i|0;u[m>>1]=x[f>>1]+x[h>>1];l=a+5208|0;o=l+g|0;c=w[c+l|0];e=w[l+p|0];t[o|0]=(c>>>0>e>>>0?c:e)+1;u[f+2>>1]=g;u[h+2>>1]=g;v[a+2912>>2]=g;f=1;c=1;e=v[a+5200>>2];h:{if((e|0)<2){break h}while(1){c=d;n=c;i:{if((c|0)>=(e|0)){break i}h=d|1;e=v[k+(h<<2)>>2];p=x[(e<<2)+i>>1];q=v[k+(d<<2)>>2];z=x[(q<<2)+i>>1];if(p>>>0>=z>>>0){n=d;if((p|0)!=(z|0)){break i}n=d;if(w[e+l|0]>w[l+q|0]){break i}}n=h}c=n;h=x[m>>1];d=v[((c<<2)+a|0)+2908>>2];e=x[(d<<2)+i>>1];if(h>>>0>>0){c=f;break h}if(!((e|0)!=(h|0)|w[o|0]>w[(a+d|0)+5208|0])){c=f;break h}v[((f<<2)+a|0)+2908>>2]=d;f=c;d=c<<1;e=v[a+5200>>2];if((d|0)<=(e|0)){continue}break}}h=g+1|0;v[((c<<2)+a|0)+2908>>2]=g;d=v[a+5200>>2];if((d|0)>1){continue}break}c=v[a+5204>>2]-1|0;v[a+5204>>2]=c;f=a+2908|0;v[f+(c<<2)>>2]=v[a+2912>>2];l=v[b+4>>2];c=v[b+8>>2];g=v[c+16>>2];p=v[c+8>>2];q=v[c+4>>2];m=v[c>>2];h=v[b>>2];z=a+2900|0;b=z;u[b>>1]=0;u[b+2>>1]=0;u[b+4>>1]=0;u[b+6>>1]=0;n=a+2892|0;b=n;u[b>>1]=0;u[b+2>>1]=0;u[b+4>>1]=0;u[b+6>>1]=0;A=a+2884|0;b=A;u[b>>1]=0;u[b+2>>1]=0;u[b+4>>1]=0;u[b+6>>1]=0;C=a+2876|0;b=C;u[b>>1]=0;u[b+2>>1]=0;u[b+4>>1]=0;u[b+6>>1]=0;k=0;u[(h+(v[f+(v[a+5204>>2]<<2)>>2]<<2)|0)+2>>1]=0;j:{b=v[a+5204>>2];if((b|0)>571){break j}c=b+1|0;f=0;while(1){b=v[((c<<2)+a|0)+2908>>2];D=b<<2;o=h+D|0;d=x[(h+(x[o+2>>1]<<2)|0)+2>>1];e=(d|0)<(g|0)?d+1|0:g;u[o+2>>1]=e;E=(d|0)>=(g|0);k:{if((b|0)>(l|0)){break k}d=((e<<1)+a|0)+2876|0;u[d>>1]=x[d>>1]+1;d=0;d=(b|0)>=(p|0)?v[q+(b-p<<2)>>2]:d;b=x[o>>1];v[y>>2]=v[y>>2]+B(e+d|0,b);if(!m){break k}v[s>>2]=v[s>>2]+B(b,x[(m+D|0)+2>>1]+d|0)}f=f+E|0;c=c+1|0;if((c|0)!=573){continue}break}if(!f){break j}e=((g<<1)+a|0)+2876|0;while(1){c=g;while(1){b=c;c=b-1|0;d=((c<<1)+a|0)+2876|0;s=x[d>>1];if(!s){continue}break}u[d>>1]=s-1;b=((b<<1)+a|0)+2876|0;u[b>>1]=x[b>>1]+2;d=x[e>>1]-1|0;u[e>>1]=d;b=(f|0)>2;f=f-2|0;if(b){continue}break}if(!g){break j}c=573;while(1){f=d&65535;if(f){while(1){c=c-1|0;b=v[((c<<2)+a|0)+2908>>2];if((b|0)>(l|0)){continue}b=h+(b<<2)|0;d=x[b+2>>1];if((d|0)!=(g|0)){v[y>>2]=v[y>>2]+B(x[b>>1],g-d|0);u[b+2>>1]=g}f=f-1|0;if(f){continue}break}}g=g-1|0;if(!g){break j}d=x[((g<<1)+a|0)+2876>>1];continue}}b=x[C>>1]<<1;u[j+2>>1]=b;b=b+x[a+2878>>1]<<1;u[j+4>>1]=b;b=b+x[a+2880>>1]<<1;u[j+6>>1]=b;b=b+x[a+2882>>1]<<1;u[j+8>>1]=b;b=b+x[A>>1]<<1;u[j+10>>1]=b;b=b+x[a+2886>>1]<<1;u[j+12>>1]=b;b=b+x[a+2888>>1]<<1;u[j+14>>1]=b;b=b+x[a+2890>>1]<<1;u[j+16>>1]=b;b=b+x[n>>1]<<1;u[j+18>>1]=b;b=b+x[a+2894>>1]<<1;u[j+20>>1]=b;b=b+x[a+2896>>1]<<1;u[j+22>>1]=b;b=b+x[a+2898>>1]<<1;u[j+24>>1]=b;b=b+x[z>>1]<<1;u[j+26>>1]=b;b=b+x[a+2902>>1]<<1;u[j+28>>1]=b;u[j+30>>1]=b+x[a+2904>>1]<<1;if((r|0)>=0){while(1){b=(k<<2)+i|0;e=x[b+2>>1];if(e){a=(e<<1)+j|0;c=x[a>>1];u[a>>1]=c+1;d=e&3;a=0;if(e-1>>>0>=3){f=e&65532;while(1){e=c>>>3&1|(c>>>2&1|(c&2|(c&1|a)<<2))<<1;a=e<<1;c=c>>>4|0;f=f-4|0;if(f){continue}break}}if(d){while(1){e=c&1|a;a=e<<1;c=c>>>1|0;d=d-1|0;if(d){continue}break}}u[b>>1]=e}a=(k|0)!=(r|0);k=k+1|0;if(a){continue}break}}}function zla(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0,B=0,C=0,D=0;o=Ma-16|0;Ma=o;v[o+8>>2]=d;v[o+12>>2]=c;a=v[a+4>>2];if(a){a:{e=Ma-208|0;Ma=e;c=v[a+12>>2];v[e+16>>2]=0;v[e+136>>2]=0;v[e+112>>2]=0;Nu(c,b,e+16|0,e+136|0,e+112|0);k=v[e+16>>2];l=v[e+136>>2];m=v[e+112>>2];bF(e+200|0,v[a+12>>2],b);a=ab(12);v[a+8>>2]=0;v[a>>2]=969472;v[a+4>>2]=0;v[e+192>>2]=0;qb(e+192|0,a);OR(e+184|0,v[e+200>>2]);b=0;b:{c:{if(!v[e+184>>2]){break c}tR(v[e+192>>2],e+184|0);a=e+176|0;pR(a,v[e+192>>2],uy(v[e+200>>2]));p=e+168|0;v[p>>2]=0;q=e+160|0;v[q>>2]=0;r=e+152|0;v[r>>2]=0;b=cm(a,-1);a=zb(b);if(a>>>0>=4294967280){break b}d:{e:{if(a>>>0>=11){c=a+16&-16;g=ab(c);v[e+24>>2]=c|-2147483648;v[e+16>>2]=g;v[e+20>>2]=a;break e}t[e+27|0]=a;g=e+16|0;if(!a){break d}}cb(g,b,a)}t[a+g|0]=0;UH(p,e+16|0);if(t[e+27|0]<=-1){$a(v[e+16>>2])}a=ab(48);v[e+16>>2]=a;v[e+20>>2]=10;v[e+24>>2]=-2147483636;rb(a,969156,10);v[a+40>>2]=0;Zv(p,e+16|0,q);if(t[e+27|0]<=-1){$a(v[e+16>>2])}a=ab(32);v[e+16>>2]=a;v[e+20>>2]=6;v[e+24>>2]=-2147483640;rb(a,969200,6);v[a+24>>2]=0;Zv(q,e+16|0,r);if(t[e+27|0]<=-1){$a(v[e+16>>2])}d=1e3;b=gb(1e3);v[b>>2]=0;f=KR(v[e+200>>2]);i=v[o+12>>2];n=v[o+8>>2];c=e+136|0;v[c+8>>2]=0;v[c>>2]=0;v[c+4>>2]=0;a=ab(48);v[e+16>>2]=a;v[e+20>>2]=9;v[e+24>>2]=-2147483636;rb(a,969228,9);v[a+36>>2]=0;Yv(r,e+16|0,c);if(t[e+27|0]<=-1){$a(v[e+16>>2])}h=4;if(v[c+4>>2]-v[c>>2]>>2>0){g=b+4|0;C=25.4/+(f|0);s=+(m|0);B=s*+(n|0)/25.4/+(l|0);s=s*+(i|0)/25.4/+(k|0);while(1){n=e+128|0;v[n>>2]=0;_v(c,z,n);k=e+112|0;v[k+8>>2]=0;v[k>>2]=0;v[k+4>>2]=0;a=ab(32);v[e+16>>2]=a;v[e+20>>2]=4;v[e+24>>2]=-2147483640;rb(a,969268,4);v[a+16>>2]=0;Yv(n,e+16|0,k);if(t[e+27|0]<=-1){$a(v[e+16>>2])}x=0;if(v[k+4>>2]-v[k>>2]>>2>0){while(1){u=e+104|0;v[u>>2]=0;_v(k,x,u);l=e+88|0;v[l+8>>2]=0;v[l>>2]=0;v[l+4>>2]=0;a=ab(32);v[e+16>>2]=a;v[e+20>>2]=4;v[e+24>>2]=-2147483640;rb(a,969288,4);v[a+16>>2]=0;Yv(u,e+16|0,l);if(t[e+27|0]<=-1){$a(v[e+16>>2])}y=0;if(v[l+4>>2]-v[l>>2]>>2>0){while(1){m=e+80|0;v[m>>2]=0;_v(l,y,m);oY(e- -64|0,m);v[e+16>>2]=0;t[e+27|0]=0;nY(e+48|0,m,e+16|0);if(t[e+27|0]<=-1){$a(v[e+16>>2])}vT(e+48|0,e+16|0,C);a=t[e+75|0];f=(a|0)<0;Ti(e,f?v[e+64>>2]:e- -64|0,f?v[e+68>>2]:a&255);a=w[e+11|0];f=a<<24>>24<0;D=f?v[e>>2]:e;f=f?v[e+4>>2]:a;i=f+4|0;f:{if(!b){h=0;d=i>>>0>1e3?i:1e3;a=gb(d);g=a;break f}a=h+i|0;if(a>>>0<=d>>>0){a=b;break f}while(1){d=d<<1;if(a>>>0>d>>>0){continue}break}a=Wd(b,d);if(!a){a=gb(d);cb(a,b,h);$a(b)}g=a+h|0}t[g|0]=f;t[g+1|0]=f>>>8;t[g+2|0]=f>>>16;t[g+3|0]=f>>>24;g=cb(g+4|0,D,f);j=s*A[e+16>>3]*100;g:{if(j<4294967296&j>=0){b=~~j>>>0;break g}b=0}h:{if(!a){g=0;d=1e3;a=gb(1e3);f=a;break h}f=f+g|0;g=h+i|0;i=g+4|0;if(i>>>0<=d>>>0){break h}while(1){d=d<<1;if(i>>>0>d>>>0){continue}break}f=Wd(a,d);if(f){a=f;f=g+a|0;break h}f=cb(gb(d),a,g);$a(a);a=f;f=g+a|0}t[f|0]=b;t[f+1|0]=b>>>8;t[f+2|0]=b>>>16;t[f+3|0]=b>>>24;j=B*A[e+40>>3]*100;i:{if(j<4294967296&j>=0){b=~~j>>>0;break i}b=0}j:{if(!a){h=0;d=1e3;a=gb(1e3);f=a;break j}h=g+4|0;i=g+8|0;f=f+4|0;if(i>>>0<=d>>>0){break j}while(1){d=d<<1;if(i>>>0>d>>>0){continue}break}f=Wd(a,d);if(f){a=f;f=h+a|0;break j}f=cb(gb(d),a,h);$a(a);a=f;f=h+a|0}t[f|0]=b;t[f+1|0]=b>>>8;t[f+2|0]=b>>>16;t[f+3|0]=b>>>24;j=s*(A[e+32>>3]-A[e+16>>3])*100;k:{if(j<4294967296&j>=0){b=~~j>>>0;break k}b=0}l:{if(!a){g=0;d=1e3;a=gb(1e3);f=a;break l}g=h+4|0;i=h+8|0;f=f+4|0;if(i>>>0<=d>>>0){break l}while(1){d=d<<1;if(i>>>0>d>>>0){continue}break}f=Wd(a,d);if(f){a=f;f=g+a|0;break l}f=cb(gb(d),a,g);$a(a);a=f;f=g+a|0}t[f|0]=b;t[f+1|0]=b>>>8;t[f+2|0]=b>>>16;t[f+3|0]=b>>>24;j=B*(A[e+24>>3]-A[e+40>>3])*100;m:{if(j<4294967296&j>=0){i=~~j>>>0;break m}i=0}n:{if(!a){h=0;d=1e3;b=gb(1e3);g=b;break n}h=g+4|0;b=g+8|0;if(b>>>0<=d>>>0){b=a;g=f+4|0;break n}while(1){d=d<<1;if(b>>>0>d>>>0){continue}break}b=Wd(a,d);if(!b){b=gb(d);cb(b,a,h);$a(a)}g=b+h|0}t[g|0]=i;t[g+1|0]=i>>>8;t[g+2|0]=i>>>16;t[g+3|0]=i>>>24;if(t[e+11|0]<=-1){$a(v[e>>2])}if(t[e+59|0]<=-1){$a(v[e+48>>2])}if(t[e+75|0]<=-1){$a(v[e+64>>2])}h=h+4|0;g=g+4|0;a=v[m>>2];v[m>>2]=0;if(a){Qa[v[v[a>>2]+12>>2]](a)|0}y=y+1|0;if((y|0)>2]-v[l>>2]>>2){continue}break}}$v(l);a=v[u>>2];v[u>>2]=0;if(a){Qa[v[v[a>>2]+12>>2]](a)|0}x=x+1|0;if((x|0)>2]-v[k>>2]>>2){continue}break}}$v(k);a=v[n>>2];v[n>>2]=0;if(a){Qa[v[v[a>>2]+12>>2]](a)|0}z=z+1|0;if((z|0)>2]-v[c>>2]>>2){continue}break}}t[b|0]=h;t[b+1|0]=h>>>8;t[b+2|0]=h>>>16;t[b+3|0]=h>>>24;$v(c);a=v[r>>2];v[r>>2]=0;if(a){Qa[v[v[a>>2]+12>>2]](a)|0}a=v[q>>2];v[q>>2]=0;if(a){Qa[v[v[a>>2]+12>>2]](a)|0}a=v[p>>2];v[p>>2]=0;if(a){Qa[v[v[a>>2]+12>>2]](a)|0}db(e+176|0);a=v[e+184>>2];v[e+184>>2]=0;if(!a){break c}c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(c){break c}c=v[a+4>>2];if(!c){v[a+4>>2]=-32767}if(!c){Qa[v[v[a>>2]+4>>2]](a)}}a=v[e+192>>2];v[e+192>>2]=0;o:{if(!a){break o}c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(c){break o}c=v[a+4>>2];if(!c){v[a+4>>2]=-32767}if(!c){Qa[v[v[a>>2]+4>>2]](a)}}a=v[e+200>>2];v[e+200>>2]=0;p:{if(!a){break p}c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(c){break p}c=v[a+4>>2];if(!c){v[a+4>>2]=-32767}if(!c){Qa[v[v[a>>2]+4>>2]](a)}}Ma=e+208|0;break a}sc();L()}}else{b=0}Ma=o+16|0;return b|0}function H0(a,b,c,d,e,f,g){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,w=0,x=0,y=0,z=0,B=0,C=0,E=0,F=0;l=A[a>>3];p=A[c+8>>3];x=A[e>>3];s=A[c>>3];q=A[d>>3];y=A[e+8>>3];r=A[d+8>>3];v[b>>2]=0;t=x-q;n=l*t/g;z=y-r;o=l*z/g;B=q-s;k=l*B/f;C=r-p;m=l*C/f;a:{b:{c:{d:{t=C*t-B*z;if(!(t==0|(!(t>0)|0)==(l>0|0))){l=A[a+40>>3];p=(f>3];l=l>p?l:p;e:{f:{i=v[a+64>>2];switch(i-1|0){case 0:break b;case 1:case 2:break e;default:break f}}a=0;if(!v[b+4>>2]){g:{if(v[b+8>>2]){e=v[b+12>>2];c=0;break g}h=v[b+16>>2];e=ab((h&1073741823)!=(h|0)?-1:h<<2);a=v[b+12>>2];h:{if(!a){c=0;a=0;break h}$a(a);h=v[b+8>>2]+v[b+16>>2]|0;c=v[b+4>>2];a=v[b>>2]}v[b+8>>2]=h;v[b+12>>2]=e}E=e,F=ab(1024),v[E>>2]=F;v[b+4>>2]=c+1}a=v[v[b+12>>2]>>2]+((a&63)<<4)|0;A[a+8>>3]=r-k;A[a>>3]=q+m;break c}p=f*f;f=m-o;s=f*f;f=k-n;f=s+f*f;if(!(!(p>f)|!(f>2];if((i|0)==2){a=0;if(!e){i:{if(v[b+8>>2]){e=v[b+12>>2];c=0;break i}h=v[b+16>>2];e=ab((h&1073741823)!=(h|0)?-1:h<<2);a=v[b+12>>2];j:{if(!a){c=0;a=0;break j}$a(a);h=v[b+8>>2]+v[b+16>>2]|0;c=v[b+4>>2];a=v[b>>2]}v[b+8>>2]=h;v[b+12>>2]=e}E=e,F=ab(1024),v[E>>2]=F;v[b+4>>2]=c+1}a=v[v[b+12>>2]>>2]+((a&63)<<4)|0;A[a+8>>3]=f;A[a>>3]=g;a=v[b>>2]+1|0;v[b>>2]=a;f=A[d+8>>3];g=A[d>>3];c=v[b+4>>2];e=a>>>6|0;if(c>>>0<=e>>>0){i=v[b+8>>2];k:{if(i>>>0>e>>>0){h=v[b+12>>2];break k}j=i+v[b+16>>2]|0;h=ab((j&1073741823)!=(j|0)?-1:j<<2);i=v[b+12>>2];if(i){cb(h,i,c<<2);$a(i);j=v[b+8>>2]+v[b+16>>2]|0;c=v[b+4>>2];a=v[b>>2]}v[b+8>>2]=j;v[b+12>>2]=h}E=(e<<2)+h|0,F=ab(1024),v[E>>2]=F;v[b+4>>2]=c+1}a=v[v[b+12>>2]+(e<<2)>>2]+((a&63)<<4)|0;A[a+8>>3]=f;break d}c=0;if(!e){l:{if(v[b+8>>2]){e=v[b+12>>2];break l}j=v[b+16>>2];e=ab((j&1073741823)!=(j|0)?-1:j<<2);c=v[b+12>>2];m:{if(!c){c=0;break m}$a(c);j=v[b+8>>2]+v[b+16>>2]|0;h=v[b+4>>2];c=v[b>>2]}v[b+8>>2]=j;v[b+12>>2]=e}E=e,F=ab(1024),v[E>>2]=F;v[b+4>>2]=h+1}c=v[v[b+12>>2]>>2]+((c&63)<<4)|0;A[c+8>>3]=f;A[c>>3]=g;e=v[b>>2]+1|0;v[b>>2]=e;f=A[d+8>>3];g=A[d>>3];h=v[b+4>>2];u=e>>>6|0;if(h>>>0<=u>>>0){c=v[b+8>>2];n:{if(c>>>0>u>>>0){j=v[b+12>>2];break n}c=c+v[b+16>>2]|0;j=ab((c|0)!=(c&1073741823)?-1:c<<2);i=b;w=v[b+12>>2];if(w){cb(j,w,h<<2);$a(w);e=v[b>>2];h=v[b+4>>2];c=v[b+8>>2]+v[b+16>>2]|0}v[i+8>>2]=c;v[b+12>>2]=j}E=(u<<2)+j|0,F=ab(1024),v[E>>2]=F;v[b+4>>2]=h+1}c=v[v[b+12>>2]+(u<<2)>>2]+((e&63)<<4)|0;A[c+8>>3]=f;A[c>>3]=g;v[b>>2]=v[b>>2]+1;IJ(a,b,A[d>>3],A[d+8>>3],o,-n,m,-k);f=A[d+8>>3];g=A[d>>3];c=v[b+4>>2];e=v[b>>2];a=e>>>6|0;if(c>>>0<=a>>>0){i=v[b+8>>2];o:{if(i>>>0>a>>>0){h=v[b+12>>2];break o}j=i+v[b+16>>2]|0;h=ab((j&1073741823)!=(j|0)?-1:j<<2);i=v[b+12>>2];if(i){cb(h,i,c<<2);$a(i);j=v[b+8>>2]+v[b+16>>2]|0;e=v[b>>2];c=v[b+4>>2]}v[b+8>>2]=j;v[b+12>>2]=h}E=(a<<2)+h|0,F=ab(1024),v[E>>2]=F;v[b+4>>2]=c+1}a=v[v[b+12>>2]+(a<<2)>>2]+((e&63)<<4)|0;A[a+8>>3]=f;break d}f=(m+o)*.5;g=f*f;f=(k+n)*.5;f=K(g+f*f);i=v[a+60>>2];if(!(!(A[a+16>>3]>A[a+48>>3]*(A[a+8>>3]-f))|(i&-2)!=2)){l=q+m;f=s+m;m=l-f;g=y-n;n=r-n;s=g-n;r=r-k;g=p-k;k=r-g;p=x+o;o=q+o;q=p-o;p=m*s-k*q;if(!(D(p)<1e-30)){l=g;g=(q*(g-n)-(f-o)*s)/p;k=l+k*g;a=0;if(!v[b+4>>2]){p:{if(v[b+8>>2]){d=v[b+12>>2];e=0;break p}c=v[b+16>>2];d=ab((c&1073741823)!=(c|0)?-1:c<<2);a=v[b+12>>2];q:{if(!a){e=0;a=0;break q}$a(a);c=v[b+8>>2]+v[b+16>>2]|0;e=v[b+4>>2];a=v[b>>2]}v[b+8>>2]=c;v[b+12>>2]=d}E=d,F=ab(1024),v[E>>2]=F;v[b+4>>2]=e+1}a=v[v[b+12>>2]>>2]+((a&63)<<4)|0;A[a+8>>3]=k;A[a>>3]=f+m*g;break a}a=0;if(!v[b+4>>2]){r:{if(v[b+8>>2]){d=v[b+12>>2];e=0;break r}c=v[b+16>>2];d=ab((c&1073741823)!=(c|0)?-1:c<<2);a=v[b+12>>2];s:{if(!a){e=0;a=0;break s}$a(a);c=v[b+8>>2]+v[b+16>>2]|0;e=v[b+4>>2];a=v[b>>2]}v[b+8>>2]=c;v[b+12>>2]=d}E=d,F=ab(1024),v[E>>2]=F;v[b+4>>2]=e+1}a=v[v[b+12>>2]>>2]+((a&63)<<4)|0;A[a+8>>3]=r;A[a>>3]=l;break a}t:{switch(i|0){case 0:case 1:case 4:G0(a,b,c,d,e,m,k,o,n,i,A[a+32>>3],f);return;case 2:IJ(a,b,q,r,m,-k,o,-n);return;default:break t}}a=0;if(!v[b+4>>2]){u:{if(v[b+8>>2]){e=v[b+12>>2];c=0;break u}h=v[b+16>>2];e=ab((h&1073741823)!=(h|0)?-1:h<<2);a=v[b+12>>2];v:{if(!a){c=0;a=0;break v}$a(a);h=v[b+8>>2]+v[b+16>>2]|0;c=v[b+4>>2];a=v[b>>2]}v[b+8>>2]=h;v[b+12>>2]=e}E=e,F=ab(1024),v[E>>2]=F;v[b+4>>2]=c+1}a=v[v[b+12>>2]>>2]+((a&63)<<4)|0;A[a+8>>3]=r-k;A[a>>3]=q+m;a=v[b>>2]+1|0;v[b>>2]=a;f=A[d+8>>3]-n;g=o+A[d>>3];e=v[b+4>>2];d=a>>>6|0;if(e>>>0<=d>>>0){c=v[b+8>>2];w:{if(c>>>0>d>>>0){c=v[b+12>>2];break w}h=c+v[b+16>>2]|0;c=ab((h&1073741823)!=(h|0)?-1:h<<2);i=v[b+12>>2];if(i){cb(c,i,e<<2);$a(i);h=v[b+8>>2]+v[b+16>>2]|0;e=v[b+4>>2];a=v[b>>2]}v[b+8>>2]=h;v[b+12>>2]=c}E=(d<<2)+c|0,F=ab(1024),v[E>>2]=F;v[b+4>>2]=e+1}a=v[v[b+12>>2]+(d<<2)>>2]+((a&63)<<4)|0;A[a+8>>3]=f;A[a>>3]=g;v[b>>2]=v[b>>2]+1;return}A[a>>3]=g}a=v[b>>2]+1|0;v[b>>2]=a;f=A[d+8>>3]-n;g=o+A[d>>3];e=v[b+4>>2];d=a>>>6|0;if(e>>>0<=d>>>0){c=v[b+8>>2];x:{if(c>>>0>d>>>0){c=v[b+12>>2];break x}h=c+v[b+16>>2]|0;c=ab((h&1073741823)!=(h|0)?-1:h<<2);i=v[b+12>>2];if(i){cb(c,i,e<<2);$a(i);h=v[b+8>>2]+v[b+16>>2]|0;e=v[b+4>>2];a=v[b>>2]}v[b+8>>2]=h;v[b+12>>2]=c}E=(d<<2)+c|0,F=ab(1024),v[E>>2]=F;v[b+4>>2]=e+1}a=v[v[b+12>>2]+(d<<2)>>2]+((a&63)<<4)|0;A[a+8>>3]=f;A[a>>3]=g;break a}G0(a,b,c,d,e,m,k,o,n,1,l,0);return}v[b>>2]=v[b>>2]+1}function qG(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;g=Ma+-64|0;Ma=g;a:{b:{f=v[a+56>>2];f=Qa[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break b}h=v[a+56>>2];h=Qa[v[v[h>>2]+28>>2]](h)|0;if((h|0)==-1){break b}i=v[a+56>>2];i=Qa[v[v[i>>2]+28>>2]](i)|0;if((i|0)==-1){break b}k=v[a+56>>2];k=Qa[v[v[k>>2]+28>>2]](k)|0;if((k|0)==-1){break b}v[a+68>>2]=v[a+68>>2]+4;o=v[a+56>>2];o=Qa[v[v[o>>2]+28>>2]](o)|0;if((o|0)==-1){break b}j=v[a+56>>2];j=Qa[v[v[j>>2]+28>>2]](j)|0;if((j|0)==-1){break b}q=v[a+56>>2];q=Qa[v[v[q>>2]+28>>2]](q)|0;if((q|0)==-1){break b}r=v[a+56>>2];r=Qa[v[v[r>>2]+28>>2]](r)|0;if((r|0)==-1){break b}v[a+68>>2]=v[a+68>>2]+4;p=v[a+56>>2];p=Qa[v[v[p>>2]+28>>2]](p)|0;if((p|0)==-1){break b}s=v[a+56>>2];s=Qa[v[v[s>>2]+28>>2]](s)|0;if((s|0)==-1){break b}m=v[a+56>>2];m=Qa[v[v[m>>2]+28>>2]](m)|0;if((m|0)==-1){break b}n=v[a+56>>2];n=Qa[v[v[n>>2]+28>>2]](n)|0;if((n|0)==-1){break b}v[a+68>>2]=v[a+68>>2]+4;C=v[a+56>>2];C=Qa[v[v[C>>2]+28>>2]](C)|0;if((C|0)==-1){break b}u=v[a+56>>2];u=Qa[v[v[u>>2]+28>>2]](u)|0;if((u|0)==-1){break b}x=v[a+56>>2];x=Qa[v[v[x>>2]+28>>2]](x)|0;if((x|0)==-1){break b}D=v[a+56>>2];D=Qa[v[v[D>>2]+28>>2]](D)|0;if((D|0)==-1){break b}v[a+68>>2]=v[a+68>>2]+4;E=v[a+56>>2];H=Qa[v[v[E>>2]+28>>2]](E)|0;if((H|0)==-1){break b}v[a+68>>2]=v[a+68>>2]+1;c:{h=k|(h<<16|f<<24|i<<8);f=v[a+24>>2];d:{if((h>>>0)/10>>>0>f>>>0){break d}C=D|(u<<16|C<<24|x<<8);D=n|(s<<16|p<<24|m<<8);i=v[a+28>>2];s=r|(j<<16|o<<24|q<<8);if(i>>>0<(s>>>0)/10>>>0|(D>>>0)/10>>>0>f>>>0){break d}if(i>>>0>=(C>>>0)/10>>>0){break c}}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,230049,0);v[a+72>>2]=1;break a}f=v[a+56>>2];m=Qa[v[v[f>>2]+28>>2]](f)|0;if((m|0)==-1){break b}v[a+68>>2]=v[a+68>>2]+1;if(!ts(a,g+60|0)){break b}if(!ts(a,g+56|0)){break b}if(!ts(a,g+12|0)){break b}if(!ts(a,g+8|0)){break b}if(!jz(a,g+52|0)){break b}if(!jz(a,g+48|0)){break b}if(!(!(!h|!s)&h>>>0<2147483647/(s>>>0)>>>0)){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,230204,0);break a}e:{k=v[g+60>>2];f:{if(!k){break f}o=v[g+56>>2];if(!o){break f}if(k>>>0<2147483647/(o>>>0)>>>0){break e}}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,230246,0);break a}if((e|0)!=1){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,230286,0);break a}g:{q=hz(a,v[d>>2]);if(q){if((Qa[v[v[q>>2]+8>>2]](q)|0)==2){break g}}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,230286,0);break a}E=m&1;i=m>>>1|0;f=-1;d=v[q+8>>2];h:{if(d>>>0<2){break h}e=d-1|0;if(!e){break h}d=0;while(1){f=d;d=f+1|0;j=e>>>0>1;e=e>>>1|0;if(j){continue}break}}u=i&3;d=v[v[q+12>>2]>>2];p=v[d+12>>2];n=v[d+8>>2];if(!E){nG(a,u,0);km(v[a+76>>2])}x=m>>>3&1;F=ab(24);r=lz(F,b,h,s);b=B(v[r+16>>2],v[r+12>>2]);d=v[r+20>>2];i:{if(m&128){eb(d,255,b);break i}eb(d,0,b)}i=0;if(x){b=0;i=lz(ab(24),0,k,o);eb(v[i+20>>2],0,B(v[i+16>>2],v[i+12>>2]));l=v[g+8>>2];d=v[g+52>>2];j=v[g+48>>2];G=v[g+12>>2];while(1){z=B(b,d);I=G+B(b,j)|0;e=0;while(1){A=B(d,e)+I|0;j:{k:{if((A+n|0)<256|(h|0)<=A>>8){break k}A=l+(z-B(e,j)|0)|0;if((A+p|0)<256){break k}if((s|0)>A>>8){break j}}A=v[i+20>>2]+(B(v[i+16>>2],b)+(e>>3)|0)|0;t[A|0]=w[A|0]|1<<((e^-1)&7)}e=e+1|0;if((k|0)!=(e|0)){continue}break}b=b+1|0;if((o|0)!=(b|0)){continue}break}}b=B(k,o);p=eb(Pb(b,4),0,b<<2);v[g+32>>2]=u>>>0<2?3:2;v[g+36>>2]=-3;v[g+16>>2]=-1;v[g+20>>2]=-1;v[g+40>>2]=2;v[g+44>>2]=-2;v[g+24>>2]=-2;v[g+28>>2]=-2;if((f|0)>=0){h=k&3;G=k-1>>>0<3;while(1){d=f;j=ss(a,E,k,o,u,0,x,i,g+32|0,g+16|0,-1);e=0;n=0;while(1){l:{if((n|0)>-1){b=0;while(1){l=p+(e<<2)|0;A=l;z=0;m:{if((b|0)<0){break m}z=0;if(v[j+8>>2]<=(b|0)){break m}z=0;if(v[j+12>>2]<=(n|0)){break m}z=w[v[j+20>>2]+(B(v[j+16>>2],n)+(b>>>3|0)|0)|0]>>>((b^-1)&7)&1}f=v[l>>2];v[A>>2]=z^f&1|f<<1;e=e+1|0;b=b+1|0;if((k|0)!=(b|0)){continue}break}break l}b=e;f=h;if(f){while(1){z=p+(b<<2)|0;l=v[z>>2];v[z>>2]=l&1|l<<1;b=b+1|0;f=f-1|0;if(f){continue}break}}e=e+k|0;if(G){break l}while(1){f=p+(b<<2)|0;l=v[f>>2];v[f>>2]=l&1|l<<1;l=v[f+4>>2];v[f+4>>2]=l&1|l<<1;l=v[f+8>>2];v[f+8>>2]=l&1|l<<1;l=f;f=v[f+12>>2];v[l+12>>2]=f&1|f<<1;b=b+4|0;if((e|0)!=(b|0)){continue}break}}n=n+1|0;if((o|0)!=(n|0)){continue}break}if(j){Qa[v[v[j>>2]+4>>2]](j)}f=d-1|0;if((d|0)>0){continue}break}}n=m>>>4&7;b=0;j=v[g+52>>2];u=v[g+8>>2];m=v[g+48>>2];E=v[g+12>>2];n:{if(!x){h=0;while(1){d=b+k|0;f=u+B(h,j)|0;e=E+B(h,m)|0;while(1){wk(r,v[v[q+12>>2]+(v[p+(b<<2)>>2]<<2)>>2],e>>8,f>>8,n);f=f-m|0;e=e+j|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}b=d;h=h+1|0;if((o|0)!=(h|0)){continue}break}break n}h=0;while(1){e=u+B(h,j)|0;d=E+B(h,m)|0;f=0;while(1){x=0;if(!((f|0)<0|v[i+8>>2]<=(f|0)|((h|0)<0|v[i+12>>2]<=(h|0)))){x=w[v[i+20>>2]+(B(v[i+16>>2],h)+(f>>>3|0)|0)|0]>>>((f^-1)&7)&1}if(!x){wk(r,v[v[q+12>>2]+(v[p+(b<<2)>>2]<<2)>>2],d>>8,e>>8,n)}b=b+1|0;e=e-m|0;d=d+j|0;f=f+1|0;if((k|0)!=(f|0)){continue}break}h=h+1|0;if((o|0)!=(h|0)){continue}break}}tb(p);if(i){Qa[v[v[i>>2]+4>>2]](i)}if(c){b=H&7;o:{if(v[a+28>>2]!=-1){break o}c=s+C|0;if(c>>>0<=y[a+32>>2]){break o}kz(v[a+40>>2],c,v[a+36>>2])}wk(v[a+40>>2],r,D,C,b);Qa[v[v[F>>2]+4>>2]](r);break a}Ib(v[a+48>>2],F);break a}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,258162,0)}Ma=g- -64|0}function pY(a){var 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=Ma+-64|0;Ma=c;a:{if(!v[a+28>>2]){b=ab(60);v[b+4>>2]=1;v[b>>2]=869216;v[b+32>>2]=0;v[b+36>>2]=0;v[b+40>>2]=0;v[b+44>>2]=0;v[b+48>>2]=0;v[b+52>>2]=0;v[b+56>>2]=0;d=b+16|0;v[d>>2]=0;v[d+4>>2]=0;v[b>>2]=869392;v[b+24>>2]=0;v[b+28>>2]=0;v[b+12>>2]=d;v[b+36>>2]=0;t[b+47|0]=0;v[b+48>>2]=0;t[b+59|0]=0;v[a+24>>2]=b;v[b+8>>2]=a;Qa[v[v[a>>2]+8>>2]](a)|0;v[a+28>>2]=v[a+24>>2];break a}b=ab(60);v[b+4>>2]=1;v[b>>2]=869216;v[b+32>>2]=0;v[b+36>>2]=0;v[b+40>>2]=0;v[b+44>>2]=0;v[b+48>>2]=0;v[b+52>>2]=0;v[b+56>>2]=0;d=b+16|0;v[d>>2]=0;v[d+4>>2]=0;v[b>>2]=869392;v[b+24>>2]=0;v[b+28>>2]=0;v[b+12>>2]=d;v[b+36>>2]=0;t[b+47|0]=0;v[b+48>>2]=0;t[b+59|0]=0;v[c+24>>2]=b;v[b+8>>2]=a;Qa[v[v[a>>2]+8>>2]](a)|0;b=v[a+28>>2];i=b;f=v[b+28>>2];e=c+24|0;b:{d=v[b+28>>2];g=v[b+32>>2];if(d>>>0>>0){if((d|0)==(f|0)){v[f>>2]=v[e>>2];v[i+28>>2]=f+4;break b}b=d;h=b-4|0;if(b>>>0>h>>>0){while(1){v[b>>2]=v[h>>2];b=b+4|0;h=h+4|0;if(d>>>0>h>>>0){continue}break}}v[i+28>>2]=b;g=f;h=e;m=f>>>0<=e>>>0;j=(d-f|0)-4|0;if(j){id(d-(j>>2<<2)|0,f,j);b=v[i+28>>2]}v[g>>2]=v[((b>>>0>e>>>0&m)<<2)+h>>2];break b}c:{d:{b=v[i+24>>2];d=(d-b>>2)+1|0;if(d>>>0<1073741824){g=g-b|0;h=g>>1;j=g>>2>>>0<536870911?d>>>0>h>>>0?d:h:1073741823;if(j){if(j>>>0>=1073741824){break d}g=ab(j<<2)}else{g=0}h=g+(j<<2)|0;m=f-b|0;n=m>>2;d=g+(n<<2)|0;e:{if((j|0)!=(n|0)){break e}if((m|0)>=1){d=((n+1|0)/-2<<2)+d|0;break e}d=m?m>>1:1;if(d>>>0>=1073741824){break c}h=d<<2;j=ab(h);h=h+j|0;d=j+(d&-4)|0;if(!g){break e}$a(g);b=v[i+24>>2]}v[d>>2]=v[e>>2];e=f-b|0;g=d-e|0;if((e|0)>=1){cb(g,b,e)}b=d+4|0;d=v[i+28>>2];if((d|0)!=(f|0)){while(1){v[b>>2]=v[f>>2];b=b+4|0;f=f+4|0;if((d|0)!=(f|0)){continue}break}}v[i+32>>2]=h;v[i+28>>2]=b;b=v[i+24>>2];v[i+24>>2]=g;if(b){$a(b)}break b}Jc();L()}Zd(273730);L()}Zd(273730);L()}v[a+28>>2]=v[c+24>>2]}f:{g:{b=v[a+12>>2];if(!b){break g}b=Iv(b);if(!b){break g}Zg(c+24|0,b,zb(b));v[c+8>>2]=v[c+28>>2];b=w[c+31|0]|w[c+32|0]<<8|(w[c+33|0]<<16|w[c+34|0]<<24);t[c+11|0]=b;t[c+12|0]=b>>>8;t[c+13|0]=b>>>16;t[c+14|0]=b>>>24;d=w[c+35|0];b=v[c+24>>2];break f}d=0;b=0}f=v[a+28>>2];if(t[f+59|0]<=-1){$a(v[f+48>>2])}v[f+48>>2]=b;v[f+52>>2]=v[c+8>>2];b=w[c+11|0]|w[c+12|0]<<8|(w[c+13|0]<<16|w[c+14|0]<<24);t[f+55|0]=b;t[f+56|0]=b>>>8;t[f+57|0]=b>>>16;t[f+58|0]=b>>>24;t[f+59|0]=d;b=ab(12);d=v[a+28>>2];v[b+4>>2]=a+32;v[b+8>>2]=d;d=v[a+32>>2];v[b>>2]=d;v[d+4>>2]=b;v[a+32>>2]=b;v[a+40>>2]=v[a+40>>2]+1;b=v[a+12>>2];h:{if(!b){break h}i:{if((CX(b)|0)<1){break i}j:{k:{b=v[a+12>>2];if(!b){break k}FX(b);b=v[a+12>>2];if(!b){break k}f=Iv(b);if(!f){break k}b=zb(f);if(b>>>0<4294967280){l:{m:{if(b>>>0>=11){e=b+16&-16;d=ab(e);v[c+32>>2]=e|-2147483648;v[c+24>>2]=d;v[c+28>>2]=b;break m}t[c+35|0]=b;d=c+24|0;if(!b){break l}}cb(d,f,b)}t[b+d|0]=0;u[c+52>>1]=x[c+32>>1];t[c+54|0]=w[c+34|0];l=v[c+28>>2];k=w[c+35|0];d=v[c+24>>2];break j}sc();L()}d=0}h=k<<24>>24<0;n:{o:{if(!(h?l:k)){b=d;break o}p=a+8|0;while(1){b=v[a+28>>2];sY(c+8|0,p);p:{if(!h){v[c+28>>2]=l;v[c+24>>2]=d;t[c+34|0]=w[c+54|0];u[c+32>>1]=x[c+52>>1];t[c+35|0]=k;break p}Sl(c+24|0,d,l)}f=v[c+12>>2];v[c+36>>2]=v[c+8>>2];v[c+40>>2]=f;v[c+44>>2]=v[c+16>>2];v[c+16>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;f=c+24|0;i=b+12|0;b=v[i+4>>2];q:{r:{if(b){e=w[f+11|0];g=e<<24>>24<0;k=g?v[f>>2]:f;g=g?v[f+4>>2]:e;f=i+4|0;while(1){e=w[b+27|0];j=e<<24>>24<0;e=j?v[b+20>>2]:e;m=e>>>0>>0;s:{t:{u:{v:{w:{n=m?e:g;x:{if(n){o=b+16|0;j=j?v[o>>2]:o;o=Jb(k,j,n);if(!o){if(e>>>0>g>>>0){break x}break w}if((o|0)>-1){break w}break x}if(e>>>0<=g>>>0){break v}}e=v[b>>2];if(e){break s}break r}e=Jb(j,k,n);if(e){break u}}if(m){break t}break q}if((e|0)>-1){break q}}f=b+4|0;e=v[b+4>>2];if(!e){break q}b=f}f=b;b=e;continue}}b=i+4|0}f=b}g=c;e=v[f>>2];if(e){b=0}else{e=ab(40);v[e+24>>2]=v[c+32>>2];k=v[c+28>>2];v[e+16>>2]=v[c+24>>2];v[e+20>>2]=k;v[c+24>>2]=0;v[c+28>>2]=0;v[c+32>>2]=0;v[e+36>>2]=v[c+44>>2];k=v[c+40>>2];v[e+28>>2]=v[c+36>>2];v[e+32>>2]=k;v[c+36>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[e+8>>2]=b;v[e>>2]=0;v[e+4>>2]=0;v[f>>2]=e;b=v[v[i>>2]>>2];if(b){v[i>>2]=b;b=v[f>>2]}else{b=e}Ob(v[i+4>>2],b);v[i+8>>2]=v[i+8>>2]+1;b=1}t[g+60|0]=b;v[c+56>>2]=e;if(t[c+47|0]<=-1){$a(v[c+36>>2])}if(t[c+35|0]<=-1){$a(v[c+24>>2])}if(t[c+19|0]<=-1){$a(v[c+8>>2])}b=v[a+12>>2];if(!b){b=d;break n}if((EX(b)|0)!=1){b=d;break o}y:{z:{b=v[a+12>>2];if(!b){break z}f=Iv(b);if(!f){break z}b=zb(f);if(b>>>0<4294967280){A:{B:{if(b>>>0>=11){e=b+16&-16;l=ab(e);v[c+32>>2]=e|-2147483648;v[c+24>>2]=l;v[c+28>>2]=b;break B}t[c+35|0]=b;l=c+24|0;if(!b){break A}}cb(l,f,b)}t[b+l|0]=0;u[c+8>>1]=x[c+32>>1];t[c+10|0]=w[c+34|0];l=v[c+28>>2];k=w[c+35|0];b=v[c+24>>2];break y}sc();L()}k=0;b=q&-256}if(h){$a(d)}t[c+54|0]=w[c+10|0];u[c+52>>1]=x[c+8>>1];q=b&-256;d=b;h=k<<24>>24<0;if(h?l:k){continue}break}}d=v[a+12>>2];if(!d){break n}DX(d)}if(!h){break i}$a(b)}b=v[a+12>>2];if(!b){break h}if(!uH(b)){break h}b=v[a+32>>2];d=v[b>>2];v[d+4>>2]=v[b+4>>2];v[v[b+4>>2]>>2]=d;v[a+40>>2]=v[a+40>>2]-1;$a(b);v[a+28>>2]=v[(v[a+40>>2]?v[a+32>>2]+8|0:a+24|0)>>2]}Ma=c- -64|0}function gl(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;f=Ma-32|0;Ma=f;v[a>>2]=0;a:{b:{c:{d:{if(c>>>0<=1){if(!b){break c}if((d|0)==10|c){break d}}e:{f:{g:{h:{e=w[b|0]|w[b+1|0]<<8;e=(e<<8|e>>>8)&65535;if(e>>>0<=65278){if(!e){break h}if((e|0)!=61371|((d|0)!=8|c?c>>>0<=2:0)){break d}if(w[b+2|0]!=191){break d}e=3;i=8;break e}if((e|0)==65279){break g}if((e|0)!=65534){break d}if(w[b+2|0]|w[b+3|0]|((d|0)!=2|c?c>>>0<=3:0)){break f}e=4;i=2;break e}if(!((d|0)!=3|c?!c&(d|0)==1|c>>>0>3:1)){break d}e=4;h=w[b+2|0]|w[b+3|0]<<8;h=(h<<8|h>>>8)&65535;i=1;if((h|0)==65279){break e}if((h|0)!=65534){break d}i=3;break e}if(w[b+2|0]|w[b+3|0]|((d|0)!=4|c?c>>>0<=3:0)){break f}e=4;i=4;break e}e=2;i=7}d=i;if(!c){break c}b=0-e>>>0>>0?b+e|0:1184792;e=c+e|0;c=c>>>0>>0?0:e}if(!c){break c}h=b+c|0;e=0;i:{j:{k:{l:{m:{switch(d|0){case 9:if(b>>>0>>0){break k}break i;case 8:if(b>>>0>>0){break l}break i;case 0:case 1:case 2:case 3:case 4:if(b>>>0>=h>>>0){break i}while(1){c=v[b+e>>2];if(!c){break i}g=(c>>>0>127?6:1)+g|0;e=e+4|0;if(h>>>0>e+b>>>0){continue}break};break i;case 5:case 6:case 7:break m;default:break i}}if(b>>>0>=h>>>0){break i}while(1){if(!x[b+e>>1]){break i}g=g+3|0;e=e+2|0;if(h>>>0>e+b>>>0){continue}break}break i}while(1){if(!w[b+g|0]){e=g;break i}g=g+1|0;if((g|0)!=(c|0)){continue}break}g=c;break j}while(1){h=t[b+e|0];if(!h){break i}g=((h|0)<0?2:1)+g|0;e=e+1|0;if((e|0)!=(c|0)){continue}break}}e=c}v[f+28>>2]=0;j=pc(f+16|0,f+28|0,g+1|0,1);t[v[f+28>>2]]=0;if(g){break b}ec(j)}v[f+16>>2]=0;b=ab(36);v[b+8>>2]=0;v[b+12>>2]=0;v[b+4>>2]=0;v[b>>2]=978704;v[b+16>>2]=0;v[b+20>>2]=8;v[b>>2]=978892;pc(b+28|0,b+24|0,0,1);e=f+16|0;qb(e,b);c=ab(2);v[b+8>>2]=1;v[b+12>>2]=c;t[c+1|0]=0;b=v[jb(a,e)>>2];a=v[f+16>>2];v[f+16>>2]=0;n:{if(!a){break n}c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(c){break n}c=v[a+4>>2];if(!c){v[a+4>>2]=-32767}if(!c){Qa[v[v[a>>2]+4>>2]](a)}}t[v[b+12>>2]]=0;v[b+8>>2]=0;Qa[v[v[b>>2]+64>>2]](b,0,0,d);break a}h=b+e|0;g=v[f+28>>2];v[f+12>>2]=b;o:{p:{switch(d|0){case 9:if((e|0)<=0){break o}while(1){v[f+12>>2]=b+1;b=w[b|0];if(!b){break o}g=Sj(b,g);b=v[f+12>>2];if(h>>>0>b>>>0){continue}break};break o;case 8:b=Op(f+12|0,h);if(!b){break o}while(1){g=Sj(b,g);b=Op(f+12|0,h);if(b){continue}break};break o;case 7:if((e|0)<2){break o}e=b+2|0;while(1){i=w[b+1|0];q:{if((i&248)!=216){b=w[b|0]|i<<8;if(b){break q}break o}if(i>>>0>219){break o}c=b+4|0;if(c>>>0>h>>>0){break o}b=((w[b+3|0]<<8|i<<18)&787200|(w[e|0]|w[b|0]<<10))+65536|0;e=c}v[f+12>>2]=e;g=Sj(b,g);b=v[f+12>>2];e=b+2|0;if(h>>>0>=e>>>0){continue}break};break o;case 0:if((e|0)<1){break o}while(1){b=v[b>>2];if(!b){break o}g=Sj(b,g);b=v[f+12>>2]+4|0;v[f+12>>2]=b;if(b>>>0>>0){continue}break};break o;case 1:if((e|0)<4){break o}e=b+4|0;while(1){b=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(!b){break o}v[f+12>>2]=e;g=Sj(b,g);b=v[f+12>>2];e=b+4|0;if(h>>>0>=e>>>0){continue}break};break o;case 2:if((e|0)<4){break o}e=b+4|0;while(1){b=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);if(!b){break o}v[f+12>>2]=e;g=Sj(b,g);b=v[f+12>>2];e=b+4|0;if(h>>>0>=e>>>0){continue}break};break o;case 3:if((e|0)<4){break o}e=b+4|0;while(1){b=w[b+2|0]|(w[b+3|0]|(w[b|0]<<8|w[b+1|0]<<16))<<8;if(!b){break o}v[f+12>>2]=e;g=Sj(b,g);b=v[f+12>>2];e=b+4|0;if(h>>>0>=e>>>0){continue}break};break o;case 4:if((e|0)<4){break o}e=b+4|0;while(1){b=w[b+1|0]|(w[b|0]|(w[b+3|0]<<8|w[b+2|0]<<16))<<8;if(!b){break o}v[f+12>>2]=e;g=Sj(b,g);b=v[f+12>>2];e=b+4|0;if(h>>>0>=e>>>0){continue}break};break o;case 5:if((e|0)<2){break o}c=b+2|0;while(1){e=x[b>>1];r:{if((e&63488)!=55296){b=c;if(e){break r}break o}if(e>>>0>56319){break o}b=b+4|0;if(h>>>0>>0){break o}e=(e<<10&1047552|x[c>>1]&1023)+4096|0}g=Sj(e,g);c=b+2|0;if(h>>>0>=c>>>0){continue}break};break o;case 6:break p;default:break o}}if((e|0)<2){break o}e=b+2|0;while(1){i=w[b|0];s:{if((i&248)!=216){b=w[b+1|0]|i<<8;if(b){break s}break o}if(i>>>0>219){break o}c=b+4|0;if(c>>>0>h>>>0){break o}b=((w[e|0]<<8|i<<18)&787200|(w[b+3|0]|w[b+1|0]<<10))+65536|0;e=c}v[f+12>>2]=e;g=Sj(b,g);b=v[f+12>>2];e=b+2|0;if(h>>>0>=e>>>0){continue}break}}c=g-v[f+28>>2]|0;t:{if(c){v[f+8>>2]=0;b=ab(36);v[b+8>>2]=0;v[b+12>>2]=0;v[b+4>>2]=0;v[b>>2]=978704;v[b+16>>2]=0;v[b+20>>2]=8;v[b>>2]=978892;pc(b+28|0,b+24|0,0,1);g=f+8|0;qb(g,b);e=ab(c+1|0);v[b+8>>2]=c;v[b+12>>2]=e;t[c+e|0]=0;b=v[jb(a,g)>>2];a=v[f+8>>2];v[f+8>>2]=0;u:{if(!a){break u}e=v[a+4>>2]-1|0;v[a+4>>2]=e;if(e){break u}e=v[a+4>>2];if(!e){v[a+4>>2]=-32767}if(!e){Qa[v[v[a>>2]+4>>2]](a)}}cb(v[b+12>>2],v[f+28>>2],c);break t}v[f+8>>2]=0;b=ab(36);v[b+8>>2]=0;v[b+12>>2]=0;v[b+4>>2]=0;v[b>>2]=978704;v[b+16>>2]=0;v[b+20>>2]=8;v[b>>2]=978892;pc(b+28|0,b+24|0,0,1);g=f+8|0;qb(g,b);e=ab(2);v[b+8>>2]=1;v[b+12>>2]=e;t[e+1|0]=0;b=v[jb(a,g)>>2];a=v[f+8>>2];v[f+8>>2]=0;v:{if(!a){break v}e=v[a+4>>2]-1|0;v[a+4>>2]=e;if(e){break v}e=v[a+4>>2];if(!e){v[a+4>>2]=-32767}if(!e){Qa[v[v[a>>2]+4>>2]](a)}}v[b+8>>2]=0}t[c+v[b+12>>2]|0]=0;Sc(j,0,1);a=v[f+12>>2];Qa[v[v[b>>2]+64>>2]](b,a,h-a|0,d);ec(j)}Ma=f+32|0}function XAa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=v[a+20>>2];if((b|0)!=100){c=v[a>>2];v[c+24>>2]=b;v[c+20>>2]=21;Qa[v[v[a>>2]>>2]](a)}if(!v[a+84>>2]){g=a,h=Qa[v[v[a+4>>2]>>2]](a,0,880)|0,v[g+84>>2]=h}v[a+72>>2]=8;v[a+56>>2]=1;v[a+60>>2]=1;vI(a,50,1);b=v[a+120>>2];if(!b){b=Qa[v[v[a+4>>2]>>2]](a,0,280)|0;v[b+276>>2]=0;v[a+120>>2]=b}t[b+16|0]=w[73728];c=v[18431];v[b+8>>2]=v[18430];v[b+12>>2]=c;c=v[18429];v[b>>2]=v[18428];v[b+4>>2]=c;c=w[73765]|w[73766]<<8|(w[73767]<<16|w[73768]<<24);b=v[a+120>>2];d=w[73761]|w[73762]<<8|(w[73763]<<16|w[73764]<<24);t[b+17|0]=d;t[b+18|0]=d>>>8;t[b+19|0]=d>>>16;t[b+20|0]=d>>>24;t[b+21|0]=c;t[b+22|0]=c>>>8;t[b+23|0]=c>>>16;t[b+24|0]=c>>>24;c=w[73769]|w[73770]<<8|(w[73771]<<16|w[73772]<<24);t[b+25|0]=c;t[b+26|0]=c>>>8;t[b+27|0]=c>>>16;t[b+28|0]=c>>>24;v[v[a+120>>2]+276>>2]=0;b=v[a+136>>2];if(!b){b=Qa[v[v[a+4>>2]>>2]](a,0,280)|0;v[b+276>>2]=0;v[a+136>>2]=b}t[b+16|0]=w[73792];c=v[18447];v[b+8>>2]=v[18446];v[b+12>>2]=c;c=v[18445];v[b>>2]=v[18444];v[b+4>>2]=c;cb(v[a+136>>2]+17|0,73808,162);v[v[a+136>>2]+276>>2]=0;b=v[a+124>>2];if(!b){b=Qa[v[v[a+4>>2]>>2]](a,0,280)|0;v[b+276>>2]=0;v[a+124>>2]=b}t[b+16|0]=w[73760];c=v[18439];v[b+8>>2]=v[18438];v[b+12>>2]=c;c=v[18437];v[b>>2]=v[18436];v[b+4>>2]=c;c=w[73765]|w[73766]<<8|(w[73767]<<16|w[73768]<<24);b=v[a+124>>2];d=w[73761]|w[73762]<<8|(w[73763]<<16|w[73764]<<24);t[b+17|0]=d;t[b+18|0]=d>>>8;t[b+19|0]=d>>>16;t[b+20|0]=d>>>24;t[b+21|0]=c;t[b+22|0]=c>>>8;t[b+23|0]=c>>>16;t[b+24|0]=c>>>24;c=w[73769]|w[73770]<<8|(w[73771]<<16|w[73772]<<24);t[b+25|0]=c;t[b+26|0]=c>>>8;t[b+27|0]=c>>>16;t[b+28|0]=c>>>24;v[v[a+124>>2]+276>>2]=0;b=v[a+140>>2];if(!b){b=Qa[v[v[a+4>>2]>>2]](a,0,280)|0;v[b+276>>2]=0;v[a+140>>2]=b}t[b+16|0]=w[74e3];c=v[18499];v[b+8>>2]=v[18498];v[b+12>>2]=c;c=v[18497];v[b>>2]=v[18496];v[b+4>>2]=c;cb(v[a+140>>2]+17|0,74016,162);v[v[a+140>>2]+276>>2]=0;t[a+160|0]=0;t[a+161|0]=0;t[a+162|0]=0;t[a+163|0]=0;t[a+164|0]=0;t[a+165|0]=0;t[a+166|0]=0;t[a+167|0]=0;t[a+152|0]=0;t[a+153|0]=0;t[a+154|0]=0;t[a+155|0]=0;t[a+156|0]=0;t[a+157|0]=0;t[a+158|0]=0;t[a+159|0]=0;t[a+168|0]=1;t[a+169|0]=1;t[a+170|0]=1;t[a+171|0]=1;t[a+172|0]=1;t[a+173|0]=1;t[a+174|0]=1;t[a+175|0]=1;t[a+176|0]=1;t[a+177|0]=1;t[a+178|0]=1;t[a+179|0]=1;t[a+180|0]=1;t[a+181|0]=1;t[a+182|0]=1;t[a+183|0]=1;t[a+184|0]=5;t[a+185|0]=5;t[a+186|0]=5;t[a+187|0]=5;t[a+188|0]=5;t[a+189|0]=5;t[a+190|0]=5;t[a+191|0]=5;t[a+192|0]=5;t[a+193|0]=5;t[a+194|0]=5;t[a+195|0]=5;t[a+196|0]=5;t[a+197|0]=5;t[a+198|0]=5;t[a+199|0]=5;v[a+200>>2]=0;v[a+204>>2]=0;v[a+208>>2]=0;v[a+212>>2]=0;v[a+228>>2]=0;v[a+232>>2]=0;v[a+220>>2]=0;v[a+224>>2]=1;v[a+236>>2]=0;v[a+240>>2]=0;v[a+252>>2]=65537;t[a+250|0]=0;u[a+248>>1]=257;v[a+216>>2]=v[a+72>>2]>8;a:{b:{c:{switch(v[a+40>>2]){case 1:b=v[a+20>>2];if((b|0)!=100){c=v[a>>2];v[c+24>>2]=b;v[c+20>>2]=21;Qa[v[v[a>>2]>>2]](a)}v[a+256>>2]=0;v[a+76>>2]=1;v[a+80>>2]=1;v[a+244>>2]=1;a=v[a+84>>2];v[a+24>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=1;v[a+12>>2]=1;v[a>>2]=1;break a;case 4:b=v[a+20>>2];if((b|0)!=100){c=v[a>>2];v[c+24>>2]=b;v[c+20>>2]=21;Qa[v[v[a>>2]>>2]](a)}v[a+256>>2]=1;v[a+244>>2]=0;v[a+76>>2]=4;v[a+80>>2]=4;a=v[a+84>>2];v[a+264>>2]=75;v[a+176>>2]=89;v[a+88>>2]=77;v[a+24>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=1;v[a+12>>2]=1;v[a>>2]=67;v[a+288>>2]=0;v[a+280>>2]=0;v[a+284>>2]=0;v[a+272>>2]=1;v[a+276>>2]=1;v[a+200>>2]=0;v[a+192>>2]=0;v[a+196>>2]=0;v[a+184>>2]=1;v[a+188>>2]=1;v[a+112>>2]=0;v[a+104>>2]=0;v[a+108>>2]=0;v[a+96>>2]=1;v[a+100>>2]=1;break a;case 5:b=v[a+20>>2];if((b|0)!=100){c=v[a>>2];v[c+24>>2]=b;v[c+20>>2]=21;Qa[v[v[a>>2]>>2]](a)}v[a+256>>2]=1;v[a+244>>2]=0;v[a+76>>2]=4;v[a+80>>2]=5;a=v[a+84>>2];v[a+264>>2]=4;v[a+176>>2]=3;v[a+88>>2]=2;v[a+24>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=2;v[a+12>>2]=2;v[a>>2]=1;v[a+288>>2]=0;v[a+280>>2]=0;v[a+284>>2]=0;v[a+272>>2]=2;v[a+276>>2]=2;break b;case 0:b=v[a+20>>2];if((b|0)!=100){c=v[a>>2];v[c+24>>2]=b;v[c+20>>2]=21;Qa[v[v[a>>2]>>2]](a)}c=0;v[a+256>>2]=0;v[a+244>>2]=0;v[a+80>>2]=0;b=v[a+36>>2];v[a+76>>2]=b;d:{if(b-1>>>0>=10){d=v[a>>2];v[d+24>>2]=b;v[d+20>>2]=27;v[v[a>>2]+28>>2]=10;Qa[v[v[a>>2]>>2]](a);b=v[a+76>>2];if((b|0)<1){break d}}f=b&1;d=v[a+84>>2];if((b|0)!=1){b=b&-2;while(1){a=d+B(c,88)|0;v[a+24>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=1;v[a+12>>2]=1;v[a>>2]=c;e=c|1;a=d+B(e,88)|0;v[a+24>>2]=0;v[a+8>>2]=1;v[a+12>>2]=1;v[a+16>>2]=0;v[a+20>>2]=0;v[a>>2]=e;c=c+2|0;b=b-2|0;if(b){continue}break}}if(!f){break d}a=d+B(c,88)|0;v[a+24>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=1;v[a+12>>2]=1;v[a>>2]=c}break a;default:b=v[a>>2];v[b+20>>2]=10;Qa[v[b>>2]](a);break a;case 2:case 3:break c}}b=v[a+20>>2];if((b|0)!=100){c=v[a>>2];v[c+24>>2]=b;v[c+20>>2]=21;Qa[v[v[a>>2]>>2]](a)}v[a+256>>2]=0;v[a+76>>2]=3;v[a+80>>2]=3;v[a+244>>2]=1;a=v[a+84>>2];v[a+176>>2]=3;v[a+88>>2]=2;v[a+24>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=2;v[a+12>>2]=2;v[a>>2]=1}v[a+200>>2]=1;v[a+192>>2]=1;v[a+196>>2]=1;v[a+184>>2]=1;v[a+188>>2]=1;v[a+112>>2]=1;v[a+104>>2]=1;v[a+108>>2]=1;v[a+96>>2]=1;v[a+100>>2]=1}}function SKa(a,b){a=a|0;b=b|0;var 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,x=0,y=0,z=0;c=Ma-320|0;Ma=c;a:{if(!a){a=6;break a}a=19;j=v[b+8>>2];if(!(j&1)){break a}a=20;e=v[b+4>>2];if(!e){break a}i=u[e+2>>1];if(!i){a=0;break a}f=u[e>>1];if((f|0)<1){a=0;break a}m=v[e+12>>2];if(!m|!v[e+4>>2]|(i|0)!=(u[(m+(f<<1)|0)-2>>1]+1|0)){break a}i=v[b>>2];v[c+232>>2]=v[e+16>>2];a=v[e+12>>2];v[c+224>>2]=v[e+8>>2];v[c+228>>2]=a;a=v[e+4>>2];v[c+216>>2]=v[e>>2];v[c+220>>2]=a;b:{if(j&2){a=v[b+12>>2];if(!a){a=0;break a}v[c+244>>2]=a;a=v[b+28>>2];v[c+312>>2]=0;v[c+248>>2]=a;a=v[b+32>>2];v[c+164>>2]=a;e=v[b+36>>2];v[c+172>>2]=e;g=v[b+40>>2];v[c+168>>2]=g;b=v[b+44>>2];break b}if(!i){a=6;break a}g=v[i+4>>2];if(!g){a=0;break a}b=v[i>>2];if(!b){a=0;break a}a=6;j=v[i+12>>2];if(!j){break a}a=v[i+8>>2];v[c+240>>2]=a;v[c+244>>2]=0;v[c+248>>2]=0;e=0;v[c+172>>2]=0;v[c+164>>2]=0;v[c+168>>2]=g;v[c+312>>2]=-1;v[c+236>>2]=j+((a|0)<0?0:B(a,b-1|0));a=0}v[c+176>>2]=b;if((a|0)>=(g|0)){a=0;break a}a=0;if((b|0)<=(e|0)){break a}j=Ma-16512|0;Ma=j;p=v[c+176>>2];n=v[c+172>>2];m=p-n|0;if(m>>>0>=129){a=m+127>>>7|0;m=((a+m|0)-1>>>0)/(a>>>0)|0}y=m<<2;a=y+15>>>4|0;v[c+200>>2]=1024-a;b=a<<4;a=j+128|0;v[c+196>>2]=b+a;v[c+192>>2]=a;c:{if((n|0)>=(p|0)){break c}s=c+252|0;while(1){v[j+4>>2]=n;n=m+n|0;g=(n|0)<(p|0)?n:p;v[j>>2]=g;i=0;while(1){d:{k=1;f=i+1|0;x=j+(f<<2)|0;q=v[x>>2];eb(v[c+192>>2],0,y);v[c+188>>2]=1;v[c+204>>2]=0;v[c+176>>2]=g;v[c+172>>2]=q;a=0;b=gb(40);v[b>>2]=0;l=be(c,1,b,4);r=P()|0;z=c+216|0;e:{f:{g:{h:{while(1){if(a){$a(l);a=64;break e}i:{if(!d){v[296803]=0;e=W(1941,z|0,425892,c|0)|0;break i}v[296803]=0;a=v[296803];v[296803]=0;b=-1;j:{if(!a){break j}h=v[296804];if(!h){break j}b=pb(v[a>>2],l,r);if(!b){break f}Q(h|0)}a=P()|0;if((b|0)==1){continue}v[296803]=0;e=W(1941,z|0,425892,c|0)|0;a=v[296803];v[296803]=0;b=-1;k:{if(!a){break k}h=v[296804];if(!h){break k}b=pb(v[a>>2],l,r);if(!b){break f}Q(h|0)}a=P()|0;if((b|0)==1){continue}v[296803]=0}a=v[296803];v[296803]=0;b=-1;l:{if(!a){break l}h=v[296804];if(!h){break l}b=pb(v[a>>2],l,r);if(!b){break f}Q(h|0)}a=P()|0;if((b|0)==1){continue}if(v[c+188>>2]){break g}h=v[c+156>>2];b=v[c+192>>2]+(v[c+160>>2]-v[c+172>>2]<<2)|0;a=v[b>>2];m:{if(!a){a=0;break m}o=v[a>>2];if((h|0)<(o|0)){break m}n:{while(1){b=a;if((h|0)==(o|0)){break h}a=v[b+12>>2];if(a){o=v[a>>2];if((h|0)<(o|0)){break n}continue}break}a=0}b=b+12|0}o=v[c+204>>2];if((o|0)>=v[c+200>>2]){v[296803]=0;R(24,c|0,1);a=v[296803];v[296803]=0;o:{if(!a){break o}h=v[296804];if(!h){break o}if(!pb(v[a>>2],l,r)){break f}Q(h|0)}a=P()|0;continue}break}v[c+204>>2]=o+1;d=v[c+196>>2]+(o<<4)|0;v[d>>2]=h;v[d+8>>2]=v[c+180>>2];h=v[c+184>>2];v[d+12>>2]=a;v[d+4>>2]=h;v[b>>2]=d;$a(l);a=e;break e}v[b+8>>2]=v[b+8>>2]+v[c+180>>2];v[b+4>>2]=v[b+4>>2]+v[c+184>>2]}$a(l);a=e;break e}$a(l);tc(a,h);L()}p:{q:{if((a|0)!=64){if(a){break c}a=v[c+172>>2];k=a;if(v[c+176>>2]<=(a|0)){break q}while(1){a=v[v[c+192>>2]+(k-a<<2)>>2];r:{s:{t:{if(!a){break t}d=v[c+164>>2];g=0;while(1){u:{if(!g){break u}e=v[a>>2];if((e|0)<=(d|0)){break u}b=g>>9;v:{if(w[c+232|0]&2){b=b&511;b=b>>>0>255?b^511:b;break v}b=b^g>>31;b=(b|0)<255?b:255}e=e-d|0;f=v[c+312>>2];if((f|0)>=0){l=f+1|0;v[c+312>>2]=l;f=B(f,6)+c|0;t[f+256|0]=b;u[f+254>>1]=e;u[f+252>>1]=d;if((l|0)!=10){break u}Qa[v[c+244>>2]](k,10,s,v[c+248>>2]);v[c+312>>2]=0;break u}d=(v[c+236>>2]-B(v[c+240>>2],k)|0)+d|0;w:{switch(e|0){case 7:t[d|0]=b;d=d+1|0;case 6:t[d|0]=b;d=d+1|0;case 5:t[d|0]=b;d=d+1|0;case 4:t[d|0]=b;d=d+1|0;case 3:t[d|0]=b;d=d+1|0;case 2:t[d|0]=b;d=d+1|0;case 1:t[d|0]=b;break u;case 0:break u;default:break w}}eb(d,b,e)}g=(v[a+4>>2]<<9)+g|0;b=g-v[a+8>>2]|0;x:{if(!b){break x}e=v[a>>2];if((e|0)>2]){break x}f=b>>9;y:{if(w[c+232|0]&2){b=f&511;b=b>>>0>255?b^511:b;break y}b=f^b>>31;b=(b|0)<255?b:255}f=v[c+312>>2];if((f|0)>=0){d=f+1|0;v[c+312>>2]=d;f=B(f,6)+c|0;t[f+256|0]=b;u[f+254>>1]=1;u[f+252>>1]=e;if((d|0)!=10){break x}Qa[v[c+244>>2]](k,10,s,v[c+248>>2]);v[c+312>>2]=0;break x}t[e+(v[c+236>>2]-B(v[c+240>>2],k)|0)|0]=b}d=v[a>>2]+1|0;a=v[a+12>>2];if(a){continue}break}if(!g){break t}a=g>>9;e=v[c+168>>2];z:{if(w[c+232|0]&2){a=a&511;b=a>>>0>255?a^511:a;break z}a=a^g>>31;b=(a|0)<255?a:255}e=e-d|0;a=v[c+312>>2];if((a|0)>=0){f=a+1|0;v[c+312>>2]=f;a=B(a,6)+c|0;t[a+256|0]=b;u[a+254>>1]=e;u[a+252>>1]=d;a=10;if((f|0)!=10){break t}break s}a=(v[c+236>>2]-B(v[c+240>>2],k)|0)+d|0;A:{switch(e|0){case 7:t[a|0]=b;a=a+1|0;case 6:t[a|0]=b;a=a+1|0;case 5:t[a|0]=b;a=a+1|0;case 4:t[a|0]=b;a=a+1|0;case 3:t[a|0]=b;a=a+1|0;case 2:t[a|0]=b;a=a+1|0;case 1:t[a|0]=b;break t;case 0:break t;default:break A}}eb(a,b,e)}a=v[c+312>>2];if((a|0)<1){break r}}Qa[v[c+244>>2]](k,a,s,v[c+248>>2]);v[c+312>>2]=0}k=k+1|0;if((k|0)>=v[c+176>>2]){break q}a=v[c+172>>2];continue}}a=g-q|0;if(a>>>0<2){break c}v[x+4>>2]=q;v[x>>2]=q+(a>>1);a=f;break p}if((i|0)<1){break d}a=i-1|0}i=a;g=v[(i<<2)+j>>2];d=1;continue}break}k=0;d=1;if((n|0)<(p|0)){continue}break}}Ma=j+16512|0;a=k}Ma=c+320|0;return a|0}function d5(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{if(!d){if((c|0)<2&(b|0)<=0){break a}b:{if((c|0)<1){break b}d=0;if((c|0)!=1){h=c&-2;while(1){j=d<<3;e=j+a|0;g=e;e=v[e>>2];e=x3a(e,e>>31,10078,0);f=Pa;e=(((f&4095)<<20|e>>>12)&1)+((f&8191)<<19|e>>>13)|0;v[g>>2]=e;e=(j|8)+a|0;g=e;e=v[e>>2];e=x3a(e,e>>31,10078,0);f=Pa;e=(((f&4095)<<20|e>>>12)&1)+((f&8191)<<19|e>>>13)|0;v[g>>2]=e;d=d+2|0;h=h-2|0;if(h){continue}break}d=d<<1}if(!(c&1)){break b}d=(d<<2)+a|0;i=d;d=v[d>>2];d=x3a(d,d>>31,10078,0);g=Pa;e=g;d=(((e&4095)<<20|d>>>12)&1)+((e&8191)<<19|d>>>13)|0;v[i>>2]=d}c:{if((b|0)<1){break c}d=1;if((b|0)!=1){h=b&-2;d=0;while(1){j=d<<3;e=j+a|0;g=e+4|0;e=v[e+4>>2];e=x3a(e,e>>31,13318,0);f=Pa;e=(((f&4095)<<20|e>>>12)&1)+((f&8191)<<19|e>>>13)|0;v[g>>2]=e;e=(j|12)+a|0;g=e;e=v[e>>2];e=x3a(e,e>>31,13318,0);f=Pa;e=(((f&4095)<<20|e>>>12)&1)+((f&8191)<<19|e>>>13)|0;v[g>>2]=e;d=d+2|0;h=h-2|0;if(h){continue}break}d=d<<1|1}if(!(b&1)){break c}d=(d<<2)+a|0;i=d;d=v[d>>2];d=x3a(d,d>>31,13318,0);g=Pa;e=g;d=(((e&4095)<<20|d>>>12)&1)+((e&8191)<<19|d>>>13)|0;v[i>>2]=d}h=(b<<1)-1|0;j=(h<<2)+a|0;d:{if((c|0)<1){break d}i=v[a>>2];d=v[(((b|0)>0?1:h)<<2)+a>>2]+v[a+4>>2]|0;d=x3a(d,d>>31,3633,0);g=Pa;e=g;d=(((e&4095)<<20|d>>>12)&1)+((e&8191)<<19|d>>>13)|0;v[a>>2]=i-d;if((c|0)==1){break d}d=1;while(1){e=(d<<3)+a|0;g=e;i=v[e>>2];e=v[(((b|0)>(d|0)?d<<1|1:h)<<2)+a>>2]+v[((b|0)<(d|0)?j:e-4|0)>>2]|0;e=x3a(e,e>>31,3633,0);f=Pa;e=(((f&4095)<<20|e>>>12)&1)+((f&8191)<<19|e>>>13)|0;v[g>>2]=i-e;d=d+1|0;if((d|0)!=(c|0)){continue}break}}f=(c<<1)-2|0;d=0;if((b|0)>0){while(1){e=(d<<3)+a|0;g=e+4|0;k=v[e+4>>2];e=d+1|0;d=v[(((c|0)>(e|0)?e<<1:f)<<2)+a>>2]+v[(((c|0)>(d|0)?d<<1:f)<<2)+a>>2]|0;d=x3a(d,d>>31,7233,0);i=Pa;d=(((i&4095)<<20|d>>>12)&1)+((i&8191)<<19|d>>>13)|0;v[g>>2]=k-d;d=e;if((e|0)!=(b|0)){continue}break}}d=1;e:{if((c|0)<1){break e}g=v[a>>2];e=v[(((b|0)>0?1:h)<<2)+a>>2]+v[a+4>>2]|0;e=x3a(e,e>>31,434,0);i=Pa;e=(((i&4095)<<20|e>>>12)&1)+((i&8191)<<19|e>>>13)|0;v[a>>2]=e+g;if((c|0)==1){break e}while(1){e=(d<<3)+a|0;g=e;k=v[e>>2];e=v[(((b|0)>(d|0)?d<<1|1:h)<<2)+a>>2]+v[((b|0)<(d|0)?j:e-4|0)>>2]|0;e=x3a(e,e>>31,434,0);i=Pa;e=(((i&4095)<<20|e>>>12)&1)+((i&8191)<<19|e>>>13)|0;v[g>>2]=e+k;d=d+1|0;if((d|0)!=(c|0)){continue}break}}d=0;if((b|0)<=0){break a}while(1){e=(d<<3)+a|0;g=e+4|0;j=v[e+4>>2];e=d+1|0;d=v[(((c|0)>(e|0)?e<<1:f)<<2)+a>>2]+v[(((c|0)>(d|0)?d<<1:f)<<2)+a>>2]|0;d=x3a(d,d>>31,12994,0);h=Pa;d=(((h&4095)<<20|d>>>12)&1)+((h&8191)<<19|d>>>13)|0;v[g>>2]=d+j;d=e;if((e|0)!=(b|0)){continue}break}break a}if((b|0)<2&(c|0)<=0){break a}f:{if((c|0)<1){break f}d=1;if((c|0)!=1){h=c&-2;d=0;while(1){j=d<<3;e=j+a|0;g=e+4|0;e=v[e+4>>2];e=x3a(e,e>>31,10078,0);f=Pa;e=(((f&4095)<<20|e>>>12)&1)+((f&8191)<<19|e>>>13)|0;v[g>>2]=e;e=(j|12)+a|0;g=e;e=v[e>>2];e=x3a(e,e>>31,10078,0);f=Pa;e=(((f&4095)<<20|e>>>12)&1)+((f&8191)<<19|e>>>13)|0;v[g>>2]=e;d=d+2|0;h=h-2|0;if(h){continue}break}d=d<<1|1}if(!(c&1)){break f}d=(d<<2)+a|0;i=d;d=v[d>>2];d=x3a(d,d>>31,10078,0);g=Pa;e=g;d=(((e&4095)<<20|d>>>12)&1)+((e&8191)<<19|d>>>13)|0;v[i>>2]=d}g:{if((b|0)<1){break g}d=0;if((b|0)!=1){h=b&-2;while(1){j=d<<3;e=j+a|0;g=e;e=v[e>>2];e=x3a(e,e>>31,13318,0);f=Pa;e=(((f&4095)<<20|e>>>12)&1)+((f&8191)<<19|e>>>13)|0;v[g>>2]=e;e=(j|8)+a|0;g=e;e=v[e>>2];e=x3a(e,e>>31,13318,0);f=Pa;e=(((f&4095)<<20|e>>>12)&1)+((f&8191)<<19|e>>>13)|0;v[g>>2]=e;d=d+2|0;h=h-2|0;if(h){continue}break}d=d<<1}if(!(b&1)){break g}d=(d<<2)+a|0;i=d;d=v[d>>2];d=x3a(d,d>>31,13318,0);g=Pa;e=g;d=(((e&4095)<<20|d>>>12)&1)+((e&8191)<<19|d>>>13)|0;v[i>>2]=d}h=(b<<1)-2|0;d=0;if((c|0)>0){while(1){e=(d<<3)+a|0;g=e+4|0;j=v[e+4>>2];e=d+1|0;d=v[(((b|0)>(e|0)?e<<1:h)<<2)+a>>2]+v[(((b|0)>(d|0)?d<<1:h)<<2)+a>>2]|0;d=x3a(d,d>>31,3633,0);f=Pa;d=(((f&4095)<<20|d>>>12)&1)+((f&8191)<<19|d>>>13)|0;v[g>>2]=j-d;d=e;if((e|0)!=(c|0)){continue}break}}f=(c<<1)-1|0;j=(f<<2)+a|0;h:{if((b|0)<1){break h}d=1;g=v[a>>2];e=v[a+4>>2]+v[(((c|0)>0?1:f)<<2)+a>>2]|0;e=x3a(e,e>>31,7233,0);i=Pa;e=(((i&4095)<<20|e>>>12)&1)+((i&8191)<<19|e>>>13)|0;v[a>>2]=g-e;if((b|0)==1){break h}while(1){e=(d<<3)+a|0;g=e;k=v[e>>2];e=v[((c|0)<(d|0)?j:e-4|0)>>2]+v[(((c|0)>(d|0)?d<<1|1:f)<<2)+a>>2]|0;e=x3a(e,e>>31,7233,0);i=Pa;e=(((i&4095)<<20|e>>>12)&1)+((i&8191)<<19|e>>>13)|0;v[g>>2]=k-e;d=d+1|0;if((d|0)!=(b|0)){continue}break}}d=0;if((c|0)>0){while(1){e=(d<<3)+a|0;g=e+4|0;k=v[e+4>>2];e=d+1|0;d=v[(((b|0)>(e|0)?e<<1:h)<<2)+a>>2]+v[(((b|0)>(d|0)?d<<1:h)<<2)+a>>2]|0;d=x3a(d,d>>31,434,0);i=Pa;d=(((i&4095)<<20|d>>>12)&1)+((i&8191)<<19|d>>>13)|0;v[g>>2]=d+k;d=e;if((e|0)!=(c|0)){continue}break}}d=1;if((b|0)<1){break a}g=v[a>>2];e=v[a+4>>2]+v[(((c|0)>0?1:f)<<2)+a>>2]|0;e=x3a(e,e>>31,12994,0);h=Pa;e=(((h&4095)<<20|e>>>12)&1)+((h&8191)<<19|e>>>13)|0;v[a>>2]=e+g;if((b|0)==1){break a}while(1){e=(d<<3)+a|0;g=e;i=v[e>>2];e=v[((c|0)<(d|0)?j:e-4|0)>>2]+v[(((c|0)>(d|0)?d<<1|1:f)<<2)+a>>2]|0;e=x3a(e,e>>31,12994,0);h=Pa;e=(((h&4095)<<20|e>>>12)&1)+((h&8191)<<19|e>>>13)|0;v[g>>2]=e+i;d=d+1|0;if((d|0)!=(b|0)){continue}break}}}function UD(a,b,c,d,e,f,g){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,x=0,y=0,z=0,C=0,D=0;h=Ma-80|0;Ma=h;v[h+76>>2]=b;z=h+55|0;x=h+56|0;b=0;a:{b:while(1){c:{if((p|0)<0){break c}if((2147483647-p|0)<(b|0)){v[296206]=61;p=-1;break c}p=b+p|0}d:{e:{f:{l=v[h+76>>2];b=l;j=w[b|0];if(j){while(1){g:{j=j&255;h:{if(!j){j=b;break h}if((j|0)!=37){break g}j=b;while(1){if(w[b+1|0]!=37){break h}i=b+2|0;v[h+76>>2]=i;j=j+1|0;m=w[b+2|0];b=i;if((m|0)==37){continue}break}}b=j-l|0;if(a){sh(a,l,b)}if(b){continue b}q=-1;j=1;i=h;b=v[h+76>>2];if(!(t[b+1|0]-48>>>0>=10|w[b+2|0]!=36)){q=t[b+1|0]-48|0;y=1;j=3}b=j+b|0;v[i+76>>2]=b;r=0;k=t[b|0];i=k-32|0;i:{if(i>>>0>31){j=b;break i}j=b;i=1<>2]=j;r=i|r;k=t[b+1|0];i=k-32|0;if(i>>>0>=32){break i}b=j;i=1<>>0>=10){break l}b=v[h+76>>2];if(w[b+2|0]!=36){break l}v[((t[b+1|0]<<2)+e|0)-192>>2]=10;n=v[((t[b+1|0]<<3)+d|0)-384>>2];y=1;b=b+3|0;break k}if(y){break f}y=0;n=0;if(a){b=v[c>>2];v[c>>2]=b+4;n=v[b>>2]}b=v[h+76>>2]+1|0}v[i+76>>2]=b;if((n|0)>-1){break j}n=0-n|0;r=r|8192;break j}n=JP(h+76|0);if((n|0)<0){break f}b=v[h+76>>2]}m=-1;m:{if(w[b|0]!=46){break m}if(w[b+1|0]==42){n:{if(t[b+2|0]-48>>>0>=10){break n}b=v[h+76>>2];if(w[b+3|0]!=36){break n}v[((t[b+2|0]<<2)+e|0)-192>>2]=10;m=v[((t[b+2|0]<<3)+d|0)-384>>2];b=b+4|0;v[h+76>>2]=b;break m}if(y){break f}if(a){b=v[c>>2];v[c>>2]=b+4;m=v[b>>2]}else{m=0}b=v[h+76>>2]+2|0;v[h+76>>2]=b;break m}v[h+76>>2]=b+1;m=JP(h+76|0);b=v[h+76>>2]}j=0;while(1){s=j;o=-1;if(t[b|0]-65>>>0>57){break a}k=b+1|0;v[h+76>>2]=k;j=t[b|0];b=k;j=w[(j+B(s,58)|0)+997695|0];if(j-1>>>0<8){continue}break}o:{p:{if((j|0)!=19){if(!j){break a}if((q|0)>=0){v[(q<<2)+e>>2]=j;b=(q<<3)+d|0;j=v[b+4>>2];v[h+64>>2]=v[b>>2];v[h+68>>2]=j;break p}if(!a){break d}IP(h- -64|0,j,c,g);k=v[h+76>>2];break o}if((q|0)>-1){break a}}b=0;if(!a){continue b}}i=r&-65537;j=r&8192?i:r;o=0;q=221145;r=x;q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{b=t[k-1|0];b=s?(b&15)==3?b&-33:b:b;switch(b-88|0){case 11:break q;case 9:case 13:case 14:case 15:break r;case 27:break w;case 12:case 17:break z;case 23:break A;case 0:case 32:break B;case 24:break C;case 22:break D;case 29:break E;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 10:case 16:case 18:case 19:case 20:case 21:case 25:case 26:case 28:case 30:case 31:break e;default:break F}}G:{switch(b-65|0){case 0:case 4:case 5:case 6:break r;case 2:break u;case 1:case 3:break e;default:break G}}if((b|0)==83){break v}break e}k=v[h+64>>2];i=v[h+68>>2];q=221145;break y}b=0;H:{switch(s&255){case 0:v[v[h+64>>2]>>2]=p;continue b;case 1:v[v[h+64>>2]>>2]=p;continue b;case 2:j=v[h+64>>2];v[j>>2]=p;v[j+4>>2]=p>>31;continue b;case 3:u[v[h+64>>2]>>1]=p;continue b;case 4:t[v[h+64>>2]]=p;continue b;case 6:v[v[h+64>>2]>>2]=p;continue b;case 7:break H;default:continue b}}j=v[h+64>>2];v[j>>2]=p;v[j+4>>2]=p>>31;continue b}m=m>>>0>8?m:8;j=j|8;b=120}l=x;C=b&32;s=v[h+68>>2];i=s;k=v[h+64>>2];if(i|k){while(1){l=l-1|0;t[l|0]=C|w[(k&15)+998224|0];D=!i&k>>>0>15|(i|0)!=0;s=i;i=i>>>4|0;k=(s&15)<<28|k>>>4;if(D){continue}break}}if(!(v[h+64>>2]|v[h+68>>2])|!(j&8)){break x}q=(b>>>4|0)+221145|0;o=2;break x}b=x;l=v[h+68>>2];i=l;k=v[h+64>>2];if(i|k){while(1){b=b-1|0;t[b|0]=k&7|48;s=!i&k>>>0>7|(i|0)!=0;l=i;i=i>>>3|0;k=(l&7)<<29|k>>>3;if(s){continue}break}}l=b;if(!(j&8)){break x}b=x-l|0;m=(b|0)<(m|0)?m:b+1|0;break x}b=v[h+68>>2];i=b;k=v[h+64>>2];if((b|0)<-1|(b|0)<=-1){i=0-(i+((k|0)!=0)|0)|0;k=0-k|0;v[h+64>>2]=k;v[h+68>>2]=i;o=1;q=221145;break y}if(j&2048){o=1;q=221146;break y}o=j&1;q=o?221147:221145}l=Ir(k,i,x)}j=(m|0)>-1?j&-65537:j;b=v[h+68>>2];i=b;k=v[h+64>>2];if(!(m|((k|0)!=0|(b|0)!=0))){m=0;l=x;break e}b=!(i|k)+(x-l|0)|0;m=(b|0)<(m|0)?m:b;break e}b=v[h+64>>2];l=b?b:330429;b=ag(l,0,m);r=b?b:m+l|0;j=i;m=b?b-l|0:m;break e}if(m){b=v[h+64>>2];break t}b=0;Ji(a,32,n,0,j);break s}v[h+12>>2]=0;v[h+8>>2]=v[h+64>>2];b=h+8|0;v[h+64>>2]=b;m=-1}i=b;b=0;I:{while(1){l=v[i>>2];if(!l){break I}l=Ip(h+4|0,l);k=(l|0)<0;if(!(k|l>>>0>m-b>>>0)){i=i+4|0;b=b+l|0;if(m>>>0>b>>>0){continue}break I}break}o=-1;if(k){break a}}Ji(a,32,n,b,j);if(!b){b=0;break s}i=0;k=v[h+64>>2];while(1){l=v[k>>2];if(!l){break s}l=Ip(h+4|0,l);i=l+i|0;if((i|0)>(b|0)){break s}sh(a,h+4|0,l);k=k+4|0;if(b>>>0>i>>>0){continue}break}}Ji(a,32,n,b,j^8192);b=(b|0)<(n|0)?n:b;continue b}b=Qa[f|0](a,A[h+64>>3],n,m,j,b)|0;continue b}t[h+55|0]=v[h+64>>2];m=1;l=z;j=i;break e}i=b+1|0;v[h+76>>2]=i;j=w[b+1|0];b=i;continue}}o=p;if(a){break a}if(!y){break d}b=1;while(1){a=v[(b<<2)+e>>2];if(a){IP((b<<3)+d|0,a,c,g);o=1;b=b+1|0;if((b|0)!=10){continue}break a}break}o=1;if(b>>>0>=10){break a}while(1){if(v[(b<<2)+e>>2]){break f}b=b+1|0;if((b|0)!=10){continue}break}break a}o=-1;break a}k=r-l|0;m=(k|0)>(m|0)?k:m;i=m+o|0;b=(i|0)>(n|0)?i:n;Ji(a,32,b,i,j);sh(a,q,o);Ji(a,48,b,i,j^65536);Ji(a,48,m,k,0);sh(a,l,k);Ji(a,32,b,i,j^8192);continue}break}o=0}Ma=h+80|0;return o}function So(a,b){var 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,y=0,z=0,A=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;i=Ma-48|0;Ma=i;M=v[a>>2];d=v[a+2748>>2];v[i+44>>2]=0;D=v[a+40>>2];c=v[a+36>>2];f=v[d+40>>2];t[i+39|0]=0;t[i+40|0]=0;t[i+41|0]=0;t[i+42|0]=0;v[i+32>>2]=0;v[i+36>>2]=0;v[i+24>>2]=0;v[i+28>>2]=0;v[i+8>>2]=0;v[i+16>>2]=0;v[i+20>>2]=0;v[i>>2]=0;v[i+4>>2]=0;d=B(b,1348)+a|0;n=d+44|0;v[n>>2]=0;d=v[d+68>>2];J=(f>>>0)/14|0;e=v[a+28>>2];f=v[a+24>>2];h=e+B(f,40)|0;a:{if(!b){if((f|0)<1){break a}while(1){v[e+24>>2]=u[e+12>>1];v[e+28>>2]=u[e+14>>1];e=e+40|0;if(h>>>0>e>>>0){continue}break}break a}if((f|0)<1){break a}while(1){v[e+24>>2]=u[e+14>>1];v[e+28>>2]=u[e+12>>1];e=e+40|0;if(h>>>0>e>>>0){continue}break}}b:{if((c|0)>=1){Q=(c<<2)+D|0;c=d>>31;C=c+d^c;N=C;while(1){A=v[D>>2];e=v[A+36>>2];d=t[e+3|0];c=d>>31;d=(c^c+d)&255;c:{if((d|0)!=(C|0)){break c}f=t[A+3|0];c=f>>31;if(((c^c+f)&255)!=(C|0)){break c}if((d|0)==(C|0)){while(1){if((e|0)==(A|0)){break c}e=v[e+36>>2];d=t[e+3|0];c=d>>31;if(((c^c+d)&255)==(C|0)){continue}break}}A=v[e+32>>2]}l=0;h=-32e3;f=32e3;e=A;c=32e3;m=-32e3;p=0;y=0;q=32e3;d=-32e3;O=0;j=0;r=32e3;s=-32e3;E=32e3;F=-32e3;K=0;L=0;H=32e3;I=-32e3;while(1){G=1;d:{if(!l){break d}l=v[e+24>>2];z=(l|0)>(h|0);k=v[e+28>>2];if((k|0)<(c|0)){p=x[e>>1];c=k}h=z?l:h;f=(f|0)>(l|0)?l:f;l=x[e>>1];z=l&3;d=z?d:(d|0)<(k|0)?k:d;q=z?q:(k|0)<(q|0)?k:q;z=l;l=(k|0)>(m|0);y=l?z:y;m=l?k:m;if(!((e|0)==(A|0)|t[e+3|0]!=(N|0))){G=0;break d}e:{f:{if(j){k=v[g+36>>2];if((k|0)==v[j+40>>2]){break f}}v[g+40>>2]=e;u[g+4>>1]=h-f>>>1;u[g+2>>1]=f+h>>>1;if(!(!((p|y)&3)|(d-q|0)>=(J|0))){t[g|0]=w[g|0]|1}u[g+8>>1]=m;u[g+6>>1]=c;u[g+10>>1]=m-c;r=f;s=h;E=c;F=m;K=p;L=y;H=q;I=d;j=g;break e}g:{if(w[k+2|0]==w[e+2|0]){v[j+40>>2]=e;g=(m|0)<(F|0);m=g?F:m;u[j+8>>1]=m;o=(c|0)>(E|0);c=o?E:c;u[j+6>>1]=c;u[j+10>>1]=m-c;h=(h|0)<(s|0)?s:h;f=(f|0)>(r|0)?r:f;u[j+4>>1]=h-f>>>1;u[j+2>>1]=f+h>>>1;y=g?L:y;p=o?K:p;d=(d|0)<(I|0)?I:d;q=(q|0)>(H|0)?H:q;t[j|0]=w[j|0]&254|((y|p)&3)!=0&(d-q|0)<(J|0);break g}P=F-E|0;k=P>>31;l=m-c|0;z=l>>31;if((k^k+P)>>>0>(z^l+z)>>>0){v[j+40>>2]=e;s=(h|0)>(s|0)?h:s;r=(f|0)<(r|0)?f:r;u[j+4>>1]=s-r>>>1;u[j+2>>1]=r+s>>>1;break g}v[g+40>>2]=e;h=(h|0)<(s|0)?s:h;f=(f|0)>(r|0)?r:f;u[g+4>>1]=h-f>>>1;u[g+2>>1]=f+h>>>1;if(!(!((p|y)&3)|(d-q|0)>=(J|0))){t[g|0]=w[g|0]|1}u[g+10>>1]=l;u[g+8>>1]=m;u[g+6>>1]=c;v[j+40>>2]=v[o+40>>2];g=v[o+36>>2];v[j+32>>2]=v[o+32>>2];v[j+36>>2]=g;g=v[o+28>>2];v[j+24>>2]=v[o+24>>2];v[j+28>>2]=g;g=v[o+20>>2];v[j+16>>2]=v[o+16>>2];v[j+20>>2]=g;g=v[o+12>>2];v[j+8>>2]=v[o+8>>2];v[j+12>>2]=g;g=v[o+4>>2];v[j>>2]=v[o>>2];v[j+4>>2]=g;r=f;s=h;E=c;F=m;K=p;L=y;H=q;I=d}v[n>>2]=v[n>>2]-1}o=0;v[i+44>>2]=0;g=0}h:{if((e|0)==(A|0)){k=O;O=1;if(k){break h}}l=1;if(G){k=t[e+3|0];G=k>>31;if(!((G^k+G)==(C|0)|v[e+36>>2]==(e|0))){l=0;e=v[e+32>>2];continue}p=0;c=Ma-16|0;Ma=c;v[c+12>>2]=0;d=v[n>>2];i:{j:{if((d|0)<=17){if(v[n+8>>2]){break j}v[n+4>>2]=18;v[n+8>>2]=n+28;break j}f=v[n+4>>2];if((f|0)>(d|0)){break j}d=64;if((f|0)>48806445){break i}d=(f+(f>>2)|0)+4|0;h=(f|0)<-16?48806446:(d|0)>48806446?48806446:d;m=v[n+8>>2];k:{if((m|0)==(n+28|0)){f=yb(M,44,0,h,0,c+12|0);v[n+8>>2]=f;d=v[c+12>>2];if(d){break i}cb(f,m,792);break k}R=n,S=yb(M,44,f,h,m,c+12|0),v[R+8>>2]=S;d=v[c+12>>2];if(d){break i}}v[n+4>>2]=h;d=v[n>>2]}v[n>>2]=d+1;p=v[n+8>>2]+B(d,44)|0;d=0}v[i+44>>2]=p;Ma=c+16|0;c=d;if(c){break b}c=v[i+44>>2];t[c|0]=0;d=v[i+20>>2];f=v[i+16>>2];t[c+1|0]=f;t[c+2|0]=f>>>8;t[c+3|0]=f>>>16;t[c+4|0]=f>>>24;t[c+5|0]=d;t[c+6|0]=d>>>8;t[c+7|0]=d>>>16;t[c+8|0]=d>>>24;d=v[i+28>>2];f=v[i+24>>2];t[c+9|0]=f;t[c+10|0]=f>>>8;t[c+11|0]=f>>>16;t[c+12|0]=f>>>24;t[c+13|0]=d;t[c+14|0]=d>>>8;t[c+15|0]=d>>>16;t[c+16|0]=d>>>24;d=v[i+36>>2];f=v[i+32>>2];t[c+17|0]=f;t[c+18|0]=f>>>8;t[c+19|0]=f>>>16;t[c+20|0]=f>>>24;t[c+21|0]=d;t[c+22|0]=d>>>8;t[c+23|0]=d>>>16;t[c+24|0]=d>>>24;d=w[i+39|0]|w[i+40|0]<<8|(w[i+41|0]<<16|w[i+42|0]<<24);t[c+24|0]=d;t[c+25|0]=d>>>8;t[c+26|0]=d>>>16;t[c+27|0]=d>>>24;v[c+28>>2]=32e3;d=v[i+4>>2];v[c+32>>2]=v[i>>2];v[c+36>>2]=d;v[c+40>>2]=v[i+8>>2];c=v[i+44>>2];v[c+40>>2]=e;t[c+1|0]=k;v[c+36>>2]=e;c=v[e+28>>2];p=x[e>>1];h=p&3;d=h?-32e3:c;q=h?32e3:c;g=v[i+44>>2];j=j?g-44|0:0;f=v[e+24>>2];if(v[e+36>>2]!=(e|0)){h=g}else{u[g+2>>1]=f;if(h){t[g|0]=w[g|0]|1}u[g+10>>1]=0;u[g+8>>1]=c;u[g+6>>1]=c;v[i+44>>2]=0;g=0;l=0;h=0}o=h;m=c;N=k;y=p;h=f}e=v[e+32>>2];continue}break}D=D+4|0;if(Q>>>0>D>>>0){continue}break}}c=0;e=v[(B(b,1348)+a|0)+52>>2];if(!e){break b}a=v[n>>2];if((a|0)<1){break b}h=B(a,44)+e|0;while(1){b=v[e+36>>2];a=v[v[b+36>>2]+28>>2];b=v[b+28>>2];f=v[e+40>>2];d=v[f+28>>2];l:{m:{if((b|0)<(d|0)){if((a|0)<(b|0)){u[e+10>>1]=x[e+10>>1]+(b-a>>>1|0)}a=v[v[f+32>>2]+28>>2];if((a|0)<=(d|0)){break l}a=a-d|0;break m}if((a|0)>(b|0)){u[e+10>>1]=x[e+10>>1]+(a-b>>>1|0)}a=v[v[f+32>>2]+28>>2];if((a|0)>=(d|0)){break l}a=d-a|0}u[e+10>>1]=x[e+10>>1]+(a>>>1|0)}e=e+44|0;if(h>>>0>e>>>0){continue}break}}Ma=i+48|0;return c}function gX(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=Ma-32|0;Ma=i;b=v[a+36>>2];f=v[b+32>>2];j=v[b+28>>2];a:{if(v[a+292>>2]){break a}c=v[b+16>>2];b:{if((c-v[b+12>>2]|0)<501|(v[b+20>>2]-c|0)>499){break b}Xg(b);b=v[a+36>>2];if(w[v[b+16>>2]]){break b}if((Zb(b)|0)>0){break b}xc(a)}if(v[a+292>>2]){break a}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break a}oc(a)}d=v[a+36>>2];b=v[d+16>>2];c:{while(1){d:{e:{f:{g=w[b|0];if((g|0)!=10){if((g|0)!=32){if((g|0)!=60){break d}c=v[d+16>>2];e=b-c|0;if((e|0)<1){break c}v[d+16>>2]=b;b=v[a>>2];if(!b){break c}d=v[b+68>>2];b=v[b+72>>2];if((d|0)==(b|0)){break e}f=Lz(a,c,e,1);b=v[a>>2];if(!f){break f}b=v[b+72>>2];if(!b){break c}Qa[b|0](v[a+4>>2],c,e);break c}v[d+32>>2]=v[d+32>>2]+1;b=b+1|0;continue}c=v[d+28>>2];e=b;while(1){v[d+32>>2]=1;c=c+1|0;v[d+28>>2]=c;g=w[e+1|0];b=e+1|0;e=b;if((g|0)==10){continue}break}continue}b=v[b+68>>2];if(b){Qa[b|0](v[a+4>>2],c,e)}a=v[a+232>>2];if(v[a>>2]!=-1){break c}v[a>>2]=-2;break c}if(!b){break c}Qa[b|0](v[a+4>>2],c,e);break c}e=v[d+32>>2];while(1){if(w[g+874976|0]){while(1){e=e+1|0;c=w[b+1|0];b=b+1|0;if(w[c+874976|0]){continue}break}}v[d+32>>2]=e;g:{c=w[b|0];if((c|0)!=93){if((c|0)!=10){break g}h=v[d+28>>2];c=b;while(1){e=1;v[d+32>>2]=1;h=h+1|0;v[d+28>>2]=h;g=w[c+1|0];b=c+1|0;c=b;if((g|0)==10){continue}break}continue}if(!(w[b+1|0]!=93|w[b+2|0]!=62)){h:{if(!a){v[i>>2]=228504;nb(0,0,0,0,0,1,62,3,0,0,0,0,340716,i);break h}if(v[a+172>>2]==-1?v[a+212>>2]:0){break h}v[a+84>>2]=62;v[i+16>>2]=228504;nb(0,0,0,a,0,1,62,3,0,0,0,0,340716,i+16|0);v[a+12>>2]=0;if(v[a+288>>2]){break h}v[a+212>>2]=1}v[v[a+36>>2]+16>>2]=b;break c}e=e+1|0;v[d+32>>2]=e;b=b+1|0;g=w[b|0];continue}break}c=v[d+16>>2];g=b-c|0;if((g|0)>=1){h=v[a>>2];i:{if(!h){break i}j:{f=v[h+68>>2];if((f|0)==v[h+72>>2]){break j}j=w[c|0]-9|0;if(j>>>0>23|!(1<>2]=b;f=Lz(a,c,g,0);e=v[a>>2];k:{if(f){e=v[e+72>>2];if(!e){break k}Qa[e|0](v[a+4>>2],c,g);break k}e=v[e+68>>2];if(e){Qa[e|0](v[a+4>>2],c,g)}c=v[a+232>>2];if(v[c>>2]!=-1){break k}v[c>>2]=-2}d=v[a+36>>2];f=v[d+32>>2];j=v[d+28>>2];break i}if(f){Qa[f|0](v[a+4>>2],c,g);d=v[a+36>>2];e=v[d+32>>2]}j=v[d+28>>2];f=e}if(v[a+172>>2]!=7){break c}}v[d+16>>2]=b;l:{m:{c=w[b|0];if((c|0)!=13){if((c|0)==38|(c|0)==60){break c}break m}if(w[b+1|0]!=10){break m}v[d+16>>2]=b+1;v[d+32>>2]=1;v[d+28>>2]=v[d+28>>2]+1;b=b+2|0;break l}n:{if(v[a+292>>2]){break n}if(!((b-v[d+12>>2]|0)<501|(v[d+20>>2]-b|0)>499)){Js(a);if(v[a+292>>2]){break n}}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break n}oc(a)}if(v[a+172>>2]==-1){break c}d=v[a+36>>2];b=v[d+16>>2]}c=t[b|0];e=c&255;if((e|0)==9|(c|0)>-1&e>>>0>31){continue}break}v[d+32>>2]=f;v[d+28>>2]=j;f=0;e=Ma-336|0;Ma=e;o:{if(v[a+292>>2]){break o}b=v[a+36>>2];c=v[b+16>>2];p:{if((c-v[b+12>>2]|0)<501|(v[b+20>>2]-c|0)>499){break p}Xg(b);b=v[a+36>>2];if(w[v[b+16>>2]]){break p}if((Zb(b)|0)>0){break p}xc(a)}if(v[a+292>>2]){break o}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break o}oc(a)}b=Be(a,e+12|0);c=0;q:{while(1){r:{if((b|0)==38|(b|0)==60){break r}s:{if((b|0)<=255){if(1<>>0<=13:0){break s}if((b|0)<=31){break r}if((b|0)!=93){break s}d=v[v[a+36>>2]+16>>2];if(w[d+1|0]!=93|w[d+2|0]!=62|(v[a+172>>2]==-1?v[a+212>>2]:0)){break s}v[a+84>>2]=62;v[e>>2]=228504;nb(0,0,0,a,0,1,62,3,0,0,0,0,340716,e);v[a+12>>2]=0;if(v[a+288>>2]){break s}v[a+212>>2]=1;break s}if((b|0)<55296|b-57344>>>0<8190){break s}if(b-65536>>>0>=1048576){break r}}t:{if(v[e+12>>2]==1){t[(e+16|0)+c|0]=b;c=c+1|0;break t}c=ui((e+16|0)+c|0,b)+c|0}if((c|0)>=300){t[(e+16|0)+c|0]=0;u:{if(v[a+212>>2]|!v[a>>2]){break u}d=Lz(a,e+16|0,c,0);b=v[a>>2];if(d){b=v[b+72>>2];if(!b){break u}Qa[b|0](v[a+4>>2],e+16|0,c);break u}d=v[b+68>>2];if(d){Qa[d|0](v[a+4>>2],e+16|0,c);b=v[a>>2];c=v[b+68>>2]}else{c=0}if((c|0)==v[b+72>>2]){break u}b=v[a+232>>2];if(v[b>>2]!=-1){break u}v[b>>2]=-2}c=0;if(v[a+172>>2]!=7){break q}}v:{if((f|0)<50){f=f+1|0;break v}w:{if(v[a+292>>2]){break w}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break w}oc(a)}f=0;if(v[a+172>>2]==-1){break q}}b=v[a+36>>2];d=v[b+16>>2];x:{if(w[d|0]==10){v[b+32>>2]=1;v[b+28>>2]=v[b+28>>2]+1;break x}v[b+32>>2]=v[b+32>>2]+1}g=b;b=d+v[e+12>>2]|0;v[g+16>>2]=b;if(w[b|0]==37){zc(a)}b=Be(a,e+12|0);continue}break}y:{if(!c){break y}t[(e+16|0)+c|0]=0;if(v[a+212>>2]|!v[a>>2]){break y}d=0;g=Lz(a,e+16|0,c,0);f=v[a>>2];if(g){f=v[f+72>>2];if(!f){break y}Qa[f|0](v[a+4>>2],e+16|0,c);break y}g=v[f+68>>2];if(g){Qa[g|0](v[a+4>>2],e+16|0,c);f=v[a>>2];d=v[f+68>>2]}if((d|0)==v[f+72>>2]){break y}c=v[a+232>>2];if(v[c>>2]!=-1){break y}v[c>>2]=-2}if(!b){break q}z:{if((b|0)<=255){if((b|0)>31){break q}if(!(1<>>0>13){break z}break q}if(b-57344>>>0<8190|b-65536>>>0<1048576){break q}}Bk(a,9,345105,b);b=v[a+36>>2];c=v[b+16>>2];A:{if(w[c|0]==10){v[b+32>>2]=1;v[b+28>>2]=v[b+28>>2]+1;break A}v[b+32>>2]=v[b+32>>2]+1}d=b;b=c+v[e+12>>2]|0;v[d+16>>2]=b;if(w[b|0]!=37){break q}zc(a)}Ma=e+336|0}Ma=i+32|0}function fI(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;g=Ma-112|0;Ma=g;a:{if(!a){f=-102;break a}h=-1;l=v[a+76>>2]+v[a+92>>2]|0;i=v[a+88>>2];j=i+v[a+72>>2]|0;l=j>>>0>>0?l+1|0:l;b:{if(Qi(a,v[a+48>>2],j,l,0)){break b}if(sg(a,v[a+48>>2],g+12|0)){break b}h=v[g+12>>2]==33639248?0:-103}i=v[a+48>>2];c:{d:{if((Qa[v[a+4>>2]](v[a+28>>2],i,g+24|0,1)|0)==1){f=w[g+24|0];break d}j=-1;if(Qa[v[a+24>>2]](v[a+28>>2],i)|0){break c}}e:{if((Qa[v[a+4>>2]](v[a+28>>2],i,g+24|0,1)|0)==1){j=w[g+24|0];break e}j=f;if(!(Qa[v[a+24>>2]](v[a+28>>2],i)|0)){break e}f=0;j=-1;break c}f=j<<8|f;j=h}v[g+24>>2]=f;i=v[a+48>>2];f:{g:{if((Qa[v[a+4>>2]](v[a+28>>2],i,g+16|0,1)|0)==1){f=w[g+16|0];break g}f=0;h=-1;if(Qa[v[a+24>>2]](v[a+28>>2],i)|0){break f}}h:{if((Qa[v[a+4>>2]](v[a+28>>2],i,g+16|0,1)|0)==1){h=w[g+16|0];break h}h=f;if(!(Qa[v[a+24>>2]](v[a+28>>2],i)|0)){break h}f=0;h=-1;break f}f=h<<8|f;h=j}v[g+28>>2]=f;i=v[a+48>>2];i:{j:{if((Qa[v[a+4>>2]](v[a+28>>2],i,g+16|0,1)|0)==1){f=w[g+16|0];break j}f=0;j=-1;if(Qa[v[a+24>>2]](v[a+28>>2],i)|0){break i}}k:{if((Qa[v[a+4>>2]](v[a+28>>2],i,g+16|0,1)|0)==1){j=w[g+16|0];break k}j=f;if(!(Qa[v[a+24>>2]](v[a+28>>2],i)|0)){break k}f=0;j=-1;break i}f=j<<8|f;j=h}v[g+32>>2]=f;i=v[a+48>>2];l:{m:{if((Qa[v[a+4>>2]](v[a+28>>2],i,g+16|0,1)|0)==1){f=w[g+16|0];break m}f=0;h=-1;if(Qa[v[a+24>>2]](v[a+28>>2],i)|0){break l}}n:{if((Qa[v[a+4>>2]](v[a+28>>2],i,g+16|0,1)|0)==1){h=w[g+16|0];break n}h=f;if(!(Qa[v[a+24>>2]](v[a+28>>2],i)|0)){break n}f=0;h=-1;break l}f=h<<8|f;h=j}l=h;v[g+36>>2]=f;m=sg(a,v[a+48>>2],g+40|0);f=v[g+40>>2];v[g+108>>2]=(f>>>25|0)+1980;v[g+100>>2]=f>>>16&31;v[g+96>>2]=f>>>11&31;v[g+92>>2]=f>>>5&63;j=-1;v[g+104>>2]=(f>>>21&15)-1;v[g+88>>2]=f<<1&62;n=sg(a,v[a+48>>2],g+44|0);o=sg(a,v[a+48>>2],g+8|0);v[g+48>>2]=v[g+8>>2];v[g+52>>2]=0;k=sg(a,v[a+48>>2],g+8|0);v[g+56>>2]=v[g+8>>2];v[g+60>>2]=0;p=g;i=v[a+48>>2];o:{p:{if((Qa[v[a+4>>2]](v[a+28>>2],i,g+16|0,1)|0)==1){f=w[g+16|0];break p}f=0;h=0;if(Qa[v[a+24>>2]](v[a+28>>2],i)|0){break o}}q:{if((Qa[v[a+4>>2]](v[a+28>>2],i,g+16|0,1)|0)==1){h=w[g+16|0];break q}h=f;if(!(Qa[v[a+24>>2]](v[a+28>>2],i)|0)){break q}h=0;break o}j=k|o|(m|n)?-1:l;h=h<<8|f}v[p+64>>2]=h;i=v[a+48>>2];r:{s:{if((Qa[v[a+4>>2]](v[a+28>>2],i,g+16|0,1)|0)==1){f=w[g+16|0];break s}f=0;h=-1;if(Qa[v[a+24>>2]](v[a+28>>2],i)|0){break r}}t:{if((Qa[v[a+4>>2]](v[a+28>>2],i,g+16|0,1)|0)==1){h=w[g+16|0];break t}h=f;if(!(Qa[v[a+24>>2]](v[a+28>>2],i)|0)){break t}f=0;h=-1;break r}f=h<<8|f;h=j}v[g+68>>2]=f;i=v[a+48>>2];u:{v:{if((Qa[v[a+4>>2]](v[a+28>>2],i,g+16|0,1)|0)==1){f=w[g+16|0];break v}f=0;j=-1;if(Qa[v[a+24>>2]](v[a+28>>2],i)|0){break u}}w:{if((Qa[v[a+4>>2]](v[a+28>>2],i,g+16|0,1)|0)==1){j=w[g+16|0];break w}j=f;if(!(Qa[v[a+24>>2]](v[a+28>>2],i)|0)){break w}f=0;j=-1;break u}f=j<<8|f;j=h}v[g+72>>2]=f;i=v[a+48>>2];x:{y:{if((Qa[v[a+4>>2]](v[a+28>>2],i,g+16|0,1)|0)==1){f=w[g+16|0];break y}f=0;h=-1;if(Qa[v[a+24>>2]](v[a+28>>2],i)|0){break x}}z:{if((Qa[v[a+4>>2]](v[a+28>>2],i,g+16|0,1)|0)==1){h=w[g+16|0];break z}h=f;if(!(Qa[v[a+24>>2]](v[a+28>>2],i)|0)){break z}f=0;h=-1;break x}f=h<<8|f;h=j}v[g+76>>2]=f;i=v[a+48>>2];A:{B:{if((Qa[v[a+4>>2]](v[a+28>>2],i,g+16|0,1)|0)==1){f=w[g+16|0];break B}f=0;j=-1;if(Qa[v[a+24>>2]](v[a+28>>2],i)|0){break A}}C:{if((Qa[v[a+4>>2]](v[a+28>>2],i,g+16|0,1)|0)==1){j=w[g+16|0];break C}j=f;if(!(Qa[v[a+24>>2]](v[a+28>>2],i)|0)){break C}f=0;j=-1;break A}f=j<<8|f;j=h}v[g+80>>2]=f;i=sg(a,v[a+48>>2],g+84|0);f=sg(a,v[a+48>>2],g+8|0);v[g+16>>2]=v[g+8>>2];v[g+20>>2]=0;h=v[g+64>>2];f=f|i?-1:j;if(!(f|!d)){j=e;if(j>>>0>h>>>0){t[d+h|0]=0;j=h}f=0;if(!(!h|!e)){f=(Qa[v[a+4>>2]](v[a+28>>2],v[a+48>>2],d,j)|0)!=(j|0)?-1:0}h=h-j|0}j=v[g+68>>2];D:{if(f){break D}}e=h+j|0;E:{if(!j|f){break E}d=0;f=0;e=e-j|0;if(e){f=Qi(a,v[a+48>>2],e,e>>31,1)?-1:0;if(!v[g+68>>2]){break E}}l=g+56|0;i=g+48|0;while(1){k=v[a+48>>2];F:{G:{if((Qa[v[a+4>>2]](v[a+28>>2],k,g+4|0,1)|0)==1){h=w[g+4|0];break G}j=-1;h=0;e=h;if(Qa[v[a+24>>2]](v[a+28>>2],k)|0){break F}}H:{if((Qa[v[a+4>>2]](v[a+28>>2],k,g+4|0,1)|0)==1){e=w[g+4|0];break H}e=h;if(!(Qa[v[a+24>>2]](v[a+28>>2],k)|0)){break H}j=-1;e=0;break F}j=f;e=e<<8|h}h=e;k=v[a+48>>2];I:{J:{if((Qa[v[a+4>>2]](v[a+28>>2],k,g+4|0,1)|0)==1){e=w[g+4|0];break J}e=0;f=-1;if(Qa[v[a+24>>2]](v[a+28>>2],k)|0){break I}}K:{if((Qa[v[a+4>>2]](v[a+28>>2],k,g+4|0,1)|0)==1){f=w[g+4|0];break K}f=e;if(!(Qa[v[a+24>>2]](v[a+28>>2],k)|0)){break K}e=0;f=-1;break I}e=f<<8|e;f=j}L:{if((h|0)==1){if(!v[g+60>>2]&v[g+56>>2]==-1){f=pn(a,v[a+48>>2],l)?-1:f}if(!v[g+52>>2]&v[g+48>>2]==-1){f=pn(a,v[a+48>>2],i)?-1:f}if(!v[g+20>>2]&v[g+16>>2]==-1){f=pn(a,v[a+48>>2],g+16|0)?-1:f}if(v[g+76>>2]!=-1){break L}f=sg(a,v[a+48>>2],g+4|0)?-1:f;break L}f=Qi(a,v[a+48>>2],e,0,1)?-1:f}d=(d+e|0)+4|0;if(d>>>0>2]){continue}break}}M:{if(f){break M}}if(!(!b|f)){cb(b,g+24|0,88)}if(!c|f){break a}a=v[g+20>>2];v[c>>2]=v[g+16>>2];v[c+4>>2]=a;f=0}Ma=g+112|0;return f}function b6(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,p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0;f=Ma+-64|0;Ma=f;a:{b:{c=Vt(c?c:26483);if(c){e=1;d=Nm(c);if(!d){while(1){d=rp(1019424,v[c+4>>2]);c:{if(!v[(d?d:1019296)>>2]){e=0;break c}v[f>>2]=v[c+4>>2];Nb(27784,f)}d=Nm(c);if(!d){continue}break}}gr(c);if((d|0)>-1){break b}}Nb(8613,0);c=-1;break a}d:{e:{f:{g:{c=v[a+28>>2];switch((c>>8)-3|0){case 0:break f;case 1:break g;default:break e}}if((c|0)!=1025){Nb(12120,0)}v[f+16>>2]=3;d=Pj(a,0);v[f+20>>2]=d;h:{if((d|0)<0){break h}r=1;c=Pj(a,1);v[f+24>>2]=c;if((c|0)<0){break h}c=Pj(a,2);v[f+28>>2]=c;if((c|0)<=-1){break h}n=3;break d}Nb(14648,0);c=-1;break a}if((c|0)!=769){Nb(12120,0)}m=1;v[f+16>>2]=1;d=Pj(a,0);v[f+20>>2]=d;c=-1;n=1;if((d|0)>-1){break d}Nb(14648,0);break a}Nb(17294,0);c=-1;break a}c=d<<2;d=v[a+24>>2];c=v[c+d>>2];l=v[c+24>>2];i:{if(v[c+24>>2]!=(l|0)){break i}h=v[d>>2];if(v[c+8>>2]!=v[h+8>>2]|v[c+12>>2]!=v[h+12>>2]|(v[c>>2]!=v[h>>2]|v[c+4>>2]!=v[h+4>>2])){break i}h=v[c+28>>2];j=v[c+20>>2];o=v[c+16>>2];if(!m){c=v[d+(v[f+24>>2]<<2)>>2];if((o|0)!=v[c+16>>2]|(j|0)!=v[c+20>>2]|((l|0)!=v[c+24>>2]|(h|0)!=v[c+28>>2])){break i}p=v[d>>2];if(v[c+8>>2]!=v[p+8>>2]|v[c+12>>2]!=v[p+12>>2]|(v[c>>2]!=v[p>>2]|v[c+4>>2]!=v[p+4>>2])){break i}c=v[d+(v[f+28>>2]<<2)>>2];if((o|0)!=v[c+16>>2]|(j|0)!=v[c+20>>2]|((l|0)!=v[c+24>>2]|(h|0)!=v[c+28>>2])){break i}d=v[d>>2];if(v[c+8>>2]!=v[d+8>>2]|v[c+12>>2]!=v[d+12>>2]|(v[c>>2]!=v[d>>2]|v[c+4>>2]!=v[d+4>>2])){break i}if(!r){break i}}if(h){Nb(22028,0);Nb(24468,0)}j:{if(m){v[f+40>>2]=e?20533:20530;break j}v[f+40>>2]=e?20534:20531}v[f+48>>2]=j;v[f+44>>2]=o;t[f+60|0]=(h|0)!=0;c=-1;v[f+56>>2]=-1<>2];k:{if(e&7){break k}h=v[f+40>>2];j=v[b+64>>2];if(!((j|0)<0|(j|0)>v[b+60>>2])){v[b+8>>2]=e|4;break k}v[b+4>>2]=v[b+4>>2]|32;e=v[b+28>>2];v[b+28>>2]=e-1;l:{if((e|0)>=1){v[b+60>>2]=v[b+60>>2]+1;e=v[b+24>>2];v[b+24>>2]=e+1;t[e|0]=h>>>8;break l}if((Cb(b,h>>>8&255)|0)==-1){break k}}e=v[b+8>>2];if(e&7){break k}j=v[b+64>>2];if(!((j|0)<0|(j|0)>v[b+60>>2])){v[b+8>>2]=e|4;break k}v[b+4>>2]=v[b+4>>2]|32;e=v[b+28>>2];v[b+28>>2]=e-1;m:{if((e|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;t[d|0]=h;break m}if((Cb(b,h&255)|0)==-1){break k}}h=w[f+60|0];d=v[f+56>>2];e=v[f+48>>2];v[l>>2]=v[f+44>>2];v[l+4>>2]=e;v[l+8>>2]=h?0-d|0:d;Xk(b,29606,l);d=v[b+8>>2]<<30>>31}Ma=l+16|0;if(d){break a}d=b;l=a;y=f+16|4;h=Ma-320|0;Ma=h;p=_L(v[f+40>>2]);b=v[f+56>>2];j=BC(b);v[h+316>>2]=0;v[h+308>>2]=0;v[h+312>>2]=0;n:{o:{p:{q:{if(n){while(1){a=Oj(1,v[f+44>>2]);v[(h+308|0)+(i<<2)>>2]=a;if(!a){break q}i=i+1|0;if((n|0)!=(i|0)){continue}break}}if(v[f+48>>2]<1){break p}a=(j+7|0)/8|0;if(n>>>0>=1){o=b^-1;z=(j|0)<32?-1<>2];if(pk(l,v[b+y>>2],0,s,v[f+44>>2],1,e)){break p}v[b+(h+296|0)>>2]=v[v[e+28>>2]>>2];i=i+1|0;if((n|0)!=(i|0)){continue}break}r:{if(v[f+44>>2]<=0){break r}i=0;b=0;if((p|0)!=1){while(1){e=0;while(1){k=(h+296|0)+(e<<2)|0;q=v[k>>2];g=v[q>>2];m=v[f+56>>2];v[h+16>>2]=b|e?32386:26483;g=(g|0)<(o|0)?o:g;v[h+20>>2]=(g|0)>(m|0)?m:g;g=Dc(h+32|0,30133,h+16|0);if(!((i|0)<1|(g+i|0)<80)){Xk(d,34228,0);i=0}v[h>>2]=h+32;Xk(d,34517,h);v[k>>2]=q+4;i=g+i|0;e=e+1|0;if((e|0)!=(n|0)){continue}break}b=b+1|0;if((b|0)>2]){continue}break r}}while(1){m=0;s:{while(1){b=v[f+56>>2];q=(h+296|0)+(m<<2)|0;x=v[q>>2];e=v[x>>2];e=(e|0)<(o|0)?o:e;b=(b|0)<(e|0)?b:e;t:{if(w[f+60|0]){if((j|0)<1){break t}e=(((b|0)<0?z&b-2:b)&r)<>2];if(g&7){break q}k=v[d+64>>2];if((k|0)>=0&(k|0)<=v[d+60>>2]){break s}k=e>>>24|0;v[d+4>>2]=v[d+4>>2]|32;g=v[d+28>>2];v[d+28>>2]=g-1;u:{if((g|0)>=1){v[d+60>>2]=v[d+60>>2]+1;g=v[d+24>>2];v[d+24>>2]=g+1;t[g|0]=k;break u}g=-1;if((Cb(d,k)|0)==-1){break p}}e=e<<8;g=(b|0)>1;b=b-1|0;if(g){continue}break}break t}if((j|0)<1){break t}e=(b&r)<>2];if(g&7){break q}k=v[d+64>>2];if((k|0)>=0&(k|0)<=v[d+60>>2]){break s}k=e>>>24|0;v[d+4>>2]=v[d+4>>2]|32;g=v[d+28>>2];v[d+28>>2]=g-1;v:{if((g|0)>=1){v[d+60>>2]=v[d+60>>2]+1;g=v[d+24>>2];v[d+24>>2]=g+1;t[g|0]=k;break v}g=-1;if((Cb(d,k)|0)==-1){break p}}e=e<<8;g=(b|0)>1;b=b-1|0;if(g){continue}break}}v[q>>2]=x+4;m=m+1|0;if((m|0)!=(n|0)){continue}break}i=i+1|0;if((i|0)>=v[f+44>>2]){break r}continue}break}v[d+8>>2]=g|4;break q}if((p|0)!=1){Xk(d,34228,0)}g=-1;if(w[d+8|0]&2){break p}g=0;s=s+1|0;if((s|0)>2]){continue}break}break p}if((p|0)==1){break o}i=0;while(1){Xk(d,34228,0);if(w[d+8|0]&2){break q}i=i+1|0;if((i|0)>2]){continue}break}break p}g=-1}if(n>>>0<1){break n}i=0;while(1){a=v[(h+308|0)+(i<<2)>>2];if(a){ve(a)}i=i+1|0;if((n|0)!=(i|0)){continue}break}break n}g=v[d+8>>2]<<30>>31}Ma=h+320|0;if(g){break a}c=MC(d)?-1:0;break a}Nb(19844,0);c=-1}Ma=f- -64|0;return c|0}function sqa(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;i=Ma-16|0;Ma=i;d=v[a+8>>2];Qa[v[v[d>>2]+20>>2]](d);a:{b:{d=v[a+8>>2];if((Qa[v[v[d>>2]+32>>2]](d)|0)==255){break b}if(!gz(a,i+12|0,i+8|0,i+4|0)){break a}while(1){c:{d:{e:{f:{g:{h:{d=v[i+12>>2];switch(d-1785737827|0){case 5:break c;case 1:case 2:case 3:case 4:break f;case 0:break g;default:break h}}if((d|0)!=1668246642){if((d|0)!=1768449138){break f}d=v[a+8>>2];if((Qa[v[v[d>>2]+28>>2]](d)|0)==-1){break c}d=v[a+8>>2];if((Qa[v[v[d>>2]+28>>2]](d)|0)==-1){break c}d=v[a+8>>2];if((Qa[v[v[d>>2]+28>>2]](d)|0)==-1){break c}d=v[a+8>>2];if((Qa[v[v[d>>2]+28>>2]](d)|0)==-1){break c}d=v[a+8>>2];if((Qa[v[v[d>>2]+28>>2]](d)|0)==-1){break c}d=v[a+8>>2];if((Qa[v[v[d>>2]+28>>2]](d)|0)==-1){break c}d=v[a+8>>2];if((Qa[v[v[d>>2]+28>>2]](d)|0)==-1){break c}d=v[a+8>>2];if((Qa[v[v[d>>2]+28>>2]](d)|0)==-1){break c}d=v[a+8>>2];if((Qa[v[v[d>>2]+28>>2]](d)|0)==-1){break c}d=v[a+8>>2];if((Qa[v[v[d>>2]+28>>2]](d)|0)==-1){break c}d=v[a+8>>2];e=Qa[v[v[d>>2]+28>>2]](d)|0;if((e|0)==-1){break c}d=v[a+8>>2];if((Qa[v[v[d>>2]+28>>2]](d)|0)==-1){break c}d=v[a+8>>2];if((Qa[v[v[d>>2]+28>>2]](d)|0)==-1){break c}d=v[a+8>>2];if((Qa[v[v[d>>2]+28>>2]](d)|0)==-1){break c}l=1;v[b>>2]=e+1;break c}d=v[a+8>>2];e=Qa[v[v[d>>2]+28>>2]](d)|0;if((e|0)==-1){break c}d=v[a+8>>2];j=Qa[v[v[d>>2]+28>>2]](d)|0;if((j|0)==-1){break c}d=v[a+8>>2];if((Qa[v[v[d>>2]+28>>2]](d)|0)==-1){break c}if(((e&128?e|-256:e)|0)==1){d=v[a+8>>2];k=Qa[v[v[d>>2]+28>>2]](d)|0;if((k|0)==-1){break c}d=v[a+8>>2];h=Qa[v[v[d>>2]+28>>2]](d)|0;if((h|0)==-1){break c}d=v[a+8>>2];e=Qa[v[v[d>>2]+28>>2]](d)|0;if((e|0)==-1){break c}d=v[a+8>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break c}e=d|(h<<16|k<<24|e<<8);if(e>>>0>21){break e}d=1<(f|0))){d=f;break d}v[c>>2]=h;break d}e=v[i+4>>2];if(e>>>0<4){break c}d=v[a+8>>2];Qa[v[v[d>>2]+48>>2]](d,e-3|0)|0;break c}if(!l){break b}if(g){break a}break b}d=v[a+8>>2];Qa[v[v[d>>2]+48>>2]](d,v[i+4>>2])|0;break c}d=f;e=g}g=v[i+4>>2];if(g>>>0>=8){f=v[a+8>>2];Qa[v[v[f>>2]+48>>2]](f,g-7|0)|0}f=d;g=e}if(gz(a,i+12|0,i+8|0,i+4|0)){continue}break}break a}h=Ma-16|0;Ma=h;j:{k:{while(1){d=v[a+8>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;if((d|0)!=255){if((d|0)!=-1){continue}break j}while(1){d=v[a+8>>2];e=Qa[v[v[d>>2]+28>>2]](d)|0;if((e|0)==255){continue}break}l:{switch(e+1|0){case 0:break j;case 1:continue;default:break l}}if((e&-16)==48){continue}g=0;if(!((e|0)==79|e-146>>>0<2|(e|0)==217)){d=v[a+8>>2];f=Qa[v[v[d>>2]+28>>2]](d)|0;if((f|0)==-1){break j}d=v[a+8>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break j}g=d|f<<8}m:{if((e|0)==81){d=v[a+8>>2];if((Qa[v[v[d>>2]+28>>2]](d)|0)==-1){break j}d=v[a+8>>2];if((Qa[v[v[d>>2]+28>>2]](d)|0)==-1){break j}d=v[a+8>>2];if((Qa[v[v[d>>2]+28>>2]](d)|0)==-1){break j}d=v[a+8>>2];if((Qa[v[v[d>>2]+28>>2]](d)|0)==-1){break j}d=v[a+8>>2];if((Qa[v[v[d>>2]+28>>2]](d)|0)==-1){break j}d=v[a+8>>2];if((Qa[v[v[d>>2]+28>>2]](d)|0)==-1){break j}d=v[a+8>>2];g=Qa[v[v[d>>2]+28>>2]](d)|0;if((g|0)==-1){break j}d=v[a+8>>2];e=Qa[v[v[d>>2]+28>>2]](d)|0;if((e|0)==-1){break j}d=v[a+8>>2];f=Qa[v[v[d>>2]+28>>2]](d)|0;if((f|0)==-1){break j}d=v[a+8>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break j}v[h+12>>2]=d|(e<<16|g<<24|f<<8);d=v[a+8>>2];if((Qa[v[v[d>>2]+28>>2]](d)|0)==-1){break j}d=v[a+8>>2];if((Qa[v[v[d>>2]+28>>2]](d)|0)==-1){break j}d=v[a+8>>2];if((Qa[v[v[d>>2]+28>>2]](d)|0)==-1){break j}d=v[a+8>>2];if((Qa[v[v[d>>2]+28>>2]](d)|0)==-1){break j}d=v[a+8>>2];if((Qa[v[v[d>>2]+28>>2]](d)|0)==-1){break j}d=v[a+8>>2];if((Qa[v[v[d>>2]+28>>2]](d)|0)==-1){break j}d=v[a+8>>2];if((Qa[v[v[d>>2]+28>>2]](d)|0)==-1){break j}d=v[a+8>>2];if((Qa[v[v[d>>2]+28>>2]](d)|0)==-1){break j}d=v[a+8>>2];if((Qa[v[v[d>>2]+28>>2]](d)|0)==-1){break j}d=v[a+8>>2];if((Qa[v[v[d>>2]+28>>2]](d)|0)==-1){break j}d=v[a+8>>2];if((Qa[v[v[d>>2]+28>>2]](d)|0)==-1){break j}d=v[a+8>>2];if((Qa[v[v[d>>2]+28>>2]](d)|0)==-1){break j}d=v[a+8>>2];g=Qa[v[v[d>>2]+28>>2]](d)|0;if((g|0)==-1){break j}d=v[a+8>>2];e=Qa[v[v[d>>2]+28>>2]](d)|0;if((e|0)==-1){break j}d=v[a+8>>2];f=Qa[v[v[d>>2]+28>>2]](d)|0;if((f|0)==-1){break j}d=v[a+8>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break j}v[h+12>>2]=d|(e<<16|g<<24|f<<8);if(!en(a,h+12|0)){break j}if(!en(a,h+12|0)){break j}d=v[a+8>>2];e=Qa[v[v[d>>2]+28>>2]](d)|0;if((e|0)==-1){break j}d=v[a+8>>2];f=Qa[v[v[d>>2]+28>>2]](d)|0;if((f|0)==-1){break j}d=v[a+8>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break j}v[b>>2]=(d&127)+1;n:{b=f|e<<8;switch(b-1|0){case 0:break k;case 2:break m;case 3:break n;default:break j}}b=3;break k}if(g>>>0<3){continue}d=v[a+8>>2];Qa[v[v[d>>2]+48>>2]](d,g-2|0)|0;continue}break}b=2}v[c>>2]=b}Ma=h+16|0}a=v[a+8>>2];Qa[v[v[a>>2]+24>>2]](a);Ma=i+16|0}function as(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=Ma-128|0;Ma=c;a:{if(v[a+92>>2]&16){f=v[a+136>>2];if(f){while(1){e=0;b=v[f+8>>2];d=v[b+60>>2];if(d){v[d+4>>2]=v[d+4>>2]+1;e=v[b+60>>2]}Ju(e,1);_r(e,0);b:{if(!e){break b}b=v[e+4>>2]-1|0;v[e+4>>2]=b;if(b){break b}b=v[e+4>>2];if(!b){v[e+4>>2]=-32767}if(!b){Qa[v[v[e>>2]+4>>2]](e)}}f=v[f>>2];if(f){continue}break}}ac(a+128|0);break a}if(!(v[a+92>>2]&1)){break a}i=a+128|0;j=c+88|0;k=c+24|0;c:{d:{while(1){h=Mf();v[c+120>>2]=0;g=zg(c+80|0);e=v[a+136>>2];v[c+76>>2]=i;v[c+72>>2]=e;if(e){while(1){v[c+56>>2]=e;b=v[c+76>>2];v[c+60>>2]=b;e:{f:{if((b|0)==(i|0)){b=c;d=v[e+8>>2];if(d){v[d+4>>2]=v[d+4>>2]+1;d=v[e+8>>2]}else{d=0}v[b+64>>2]=d;g:{if(!v[d+8>>2]){f=c+16|0;Ou(f,a,d+12|0);break g}f=c+16|0;eF(f,a,v[d+20>>2])}Rf(g,f);v[c+40>>2]=969432;v[c+16>>2]=969400;d=v[c+44>>2];if(d){b=v[d+4>>2]-1|0;v[d+4>>2]=b;if(!b){Qa[v[v[d>>2]+4>>2]](d)}v[c+44>>2]=0}v[c+32>>2]=969432;d=v[c+36>>2];if(d){b=v[d+4>>2]-1|0;v[d+4>>2]=b;if(!b){Qa[v[v[d>>2]+4>>2]](d)}v[c+36>>2]=0}db(k);b=v[c+88>>2];if(!b|!v[b+8>>2]){break f}Sf(c+16|0,g);b=v[c+16>>2];if(!b){db(c+16|0);break f}b=v[b+8>>2];db(c+16|0);if(!b){break f}jb(c+120|0,c- -64|0);f=1;break e}wd(c+56|0,i);L()}if(v[a+92>>2]&24){By(v[v[c+64>>2]+64>>2]);v[c+8>>2]=0;v[c+12>>2]=v[279250];d=v[c+64>>2];h:{if(!v[d+8>>2]){a=c+16|0;Rc(a,348617,d+12|0);jS(c+8|0,a);break h}b=c+16|0;a=Qe(c,v[d+20>>2]);Rc(b,348423,a);jS(c+8|0,b);db(b)}db(a);a=v[c+8>>2];lb(mb(c+16|0,v[(a?a+12|0:1117e3)>>2],240864,633,332653));L()}f=0;b=v[c+72>>2];if(!b){break e}v[c+72>>2]=v[b>>2]}d=v[c+64>>2];v[c+64>>2]=0;i:{if(!d){break i}b=v[d+4>>2]-1|0;v[d+4>>2]=b;if(b){break i}b=v[d+4>>2];if(!b){v[d+4>>2]=-32767}if(!b){Qa[v[v[d>>2]+4>>2]](d)}}e=v[c+72>>2];if((!e|f)!=1){continue}break}}if(v[c+120>>2]){b=v[c+88>>2];if(!b|!v[b+8>>2]){break c}Sf(c+16|0,g);b=v[c+16>>2];if(!b){db(c+16|0);break c}b=v[b+8>>2];db(c+16|0);if(!b){break c}b=v[c+120>>2];if(v[b+64>>2]){Qa[v[v[h>>2]+16>>2]](c- -64|0,h,v[b+60>>2],g);if(!v[c+64>>2]){break d}dT(v[v[c+120>>2]+64>>2],c- -64|0,0,-1);d=v[c+64>>2];v[c+64>>2]=0;j:{if(!d){break j}b=v[d+4>>2]-1|0;v[d+4>>2]=b;if(b){break j}b=v[d+4>>2];if(!b){v[d+4>>2]=-32767}if(!b){Qa[v[v[d>>2]+4>>2]](d)}}b=v[c+120>>2]}b=v[b+60>>2];h=c+16|0;fh(h,g);e=Ma-80|0;Ma=e;b=b+72|0;vj(e,b);f=ki(e+40|0,h,e);Rf(b,f);v[f+24>>2]=969432;v[f>>2]=969400;d=v[f+28>>2];if(d){b=v[d+4>>2]-1|0;v[d+4>>2]=b;if(!b){Qa[v[v[d>>2]+4>>2]](d)}v[f+28>>2]=0}v[f+16>>2]=969432;d=v[f+20>>2];if(d){b=v[d+4>>2]-1|0;v[d+4>>2]=b;if(!b){Qa[v[v[d>>2]+4>>2]](d)}v[f+20>>2]=0}db(f+8|0);v[e+24>>2]=969432;v[e>>2]=969400;d=v[e+28>>2];if(d){b=v[d+4>>2]-1|0;v[d+4>>2]=b;if(!b){Qa[v[v[d>>2]+4>>2]](d)}v[e+28>>2]=0}v[e+16>>2]=969432;d=v[e+20>>2];if(d){b=v[d+4>>2]-1|0;v[d+4>>2]=b;if(!b){Qa[v[v[d>>2]+4>>2]](d)}v[e+20>>2]=0}db(e+8|0);Ma=e+80|0;db(h);d=v[v[c+120>>2]+60>>2];vj(h,g);g=Ma-32|0;Ma=g;if(!w[d+144|0]){lb(mb(g,231556,241865,164,226745));L()}v[g+24>>2]=0;v[g+16>>2]=0;v[g+20>>2]=0;v[g+8>>2]=0;v[g+12>>2]=0;v[g>>2]=0;v[g+4>>2]=0;b=jd(g,971432);VR(d,g,h);vd(b);Ma=g+32|0;v[c+40>>2]=969432;v[c+16>>2]=969400;d=v[c+44>>2];if(d){b=v[d+4>>2]-1|0;v[d+4>>2]=b;if(!b){Qa[v[v[d>>2]+4>>2]](d)}v[c+44>>2]=0}v[c+32>>2]=969432;d=v[c+36>>2];if(d){b=v[d+4>>2]-1|0;v[d+4>>2]=b;if(!b){Qa[v[v[d>>2]+4>>2]](d)}v[c+36>>2]=0}db(k);dF(a,v[v[c+120>>2]+60>>2]);e=v[a+136>>2];v[c+76>>2]=i;v[c+72>>2]=e;k:{if(!e){break k}b=v[c+120>>2];while(1){if((b|0)!=v[e+8>>2]){e=v[e>>2];v[c+72>>2]=e;if(e){continue}break k}break}Ag(i,c+72|0)}v[c+104>>2]=969432;v[c+80>>2]=969400;d=v[c+108>>2];if(d){b=v[d+4>>2]-1|0;v[d+4>>2]=b;if(!b){Qa[v[v[d>>2]+4>>2]](d)}v[c+108>>2]=0}v[c+96>>2]=969432;d=v[c+100>>2];if(d){b=v[d+4>>2]-1|0;v[d+4>>2]=b;if(!b){Qa[v[v[d>>2]+4>>2]](d)}v[c+100>>2]=0}db(j);d=v[c+120>>2];v[c+120>>2]=0;if(!d){continue}b=v[d+4>>2]-1|0;v[d+4>>2]=b;if(b){continue}b=v[d+4>>2];if(!b){v[d+4>>2]=-32767}if(!b){Qa[v[v[d>>2]+4>>2]](d)}continue}break}v[c+104>>2]=969432;v[c+80>>2]=969400;b=v[c+108>>2];if(b){a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(!a){Qa[v[v[b>>2]+4>>2]](b)}v[c+108>>2]=0}v[c+96>>2]=969432;b=v[c+100>>2];if(b){a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(!a){Qa[v[v[b>>2]+4>>2]](b)}v[c+100>>2]=0}db(j);b=v[c+120>>2];v[c+120>>2]=0;if(!b){break a}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break a}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}break a}Sf(c,g);Rc(c+8|0,348822,c);a=v[c+8>>2];lb(mb(c+16|0,v[(a?a+12|0:1117e3)>>2],240864,664,332653));L()}v[c+104>>2]=969432;v[c+80>>2]=969400;b=v[c+108>>2];if(b){a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(!a){Qa[v[v[b>>2]+4>>2]](b)}v[c+108>>2]=0}v[c+96>>2]=969432;b=v[c+100>>2];if(b){a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(!a){Qa[v[v[b>>2]+4>>2]](b)}v[c+100>>2]=0}db(j);b=v[c+120>>2];v[c+120>>2]=0;if(!b){break a}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break a}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}}Ma=c+128|0}function LG(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0,y=0,z=0,B=0,C=0,E=0,F=0,G=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;l=Ma-208|0;Ma=l;f=v[a+28>>2];K=A[f+16>>3];L=A[f+40>>3];M=A[f+24>>3];N=A[f+32>>3];B=K*L-M*N;a:{if(D(B)<=1e-10){b=-1;a=v[a+108>>2];b:{if(!a){break b}a=v[a+4>>2];if(v[a+8>>2]==13){break b}a=v[a+16>>2];b=Qa[v[v[a>>2]+52>>2]](a)|0}fb(1,b,258908,0);break a}p=v[f+(c?120:116)>>2];P=A[f+48>>3];Q=A[f+56>>3];n=A[b+80>>3];m=A[a+48>>3];k=A[b+88>>3];j=A[a- -64>>3];o=n*m+k*j;A[l>>3]=o;h=n;n=A[a+56>>3];i=k;k=A[a+72>>3];q=h*n+i*k;A[l+8>>3]=q;h=A[b+96>>3];i=A[b+104>>3];w=n*h+k*i;A[l+24>>3]=w;x=m*h+j*i;A[l+16>>3]=x;h=m;m=A[b+112>>3];i=j;j=A[b+120>>3];C=A[a+80>>3]+(h*m+i*j);A[l+32>>3]=C;E=n*m+k*j+A[a+88>>3];A[l+40>>3]=E;m=o*w-q*x;if(D(m)<=1e-10){b=-1;a=v[a+108>>2];c:{if(!a){break c}a=v[a+4>>2];if(v[a+8>>2]==13){break c}a=v[a+16>>2];b=Qa[v[v[a>>2]+52>>2]](a)|0}fb(1,b,258908,0);break a}g=v[a+8>>2];Qa[v[v[g>>2]+64>>2]](g,f);O=v[a+28>>2];g=ab(672);f=vs(g,O,1);v[a+28>>2]=g;g=v[f+380>>2];if(g){Qa[v[v[g>>2]+4>>2]](g)}v[f+380>>2]=0;g=v[a+28>>2];f=v[g+384>>2];if(f){Qa[v[v[f>>2]+4>>2]](f)}v[g+384>>2]=0;d:{e:{if(v[b+8>>2]!=2){break e}f=v[p+12>>2];if(!f){break e}g=v[a+28>>2];F=Qa[v[v[f>>2]+8>>2]](f)|0;p=v[g+116>>2];if(p){Qa[v[v[p>>2]+4>>2]](p)}v[g+116>>2]=F;g=v[a+8>>2];Qa[v[v[g>>2]+108>>2]](g,v[a+28>>2]);g=v[a+28>>2];p=Qa[v[v[f>>2]+8>>2]](f)|0;f=v[g+120>>2];if(f){Qa[v[v[f>>2]+4>>2]](f)}v[g+120>>2]=p;f=v[a+8>>2];Qa[v[v[f>>2]+112>>2]](f,v[a+28>>2]);f=v[a+28>>2];cb(f+252|0,f+124|0,128);f=v[a+8>>2];Qa[v[v[f>>2]+116>>2]](f,v[a+28>>2]);f=v[a+8>>2];Qa[v[v[f>>2]+120>>2]](f,v[a+28>>2]);v[v[a+28>>2]+664>>2]=1;break d}f=v[a+28>>2];p=xk(0);g=v[f+116>>2];if(g){Qa[v[v[g>>2]+4>>2]](g)}v[f+116>>2]=p;f=v[a+8>>2];Qa[v[v[f>>2]+108>>2]](f,v[a+28>>2]);g=v[v[a+28>>2]+116>>2];f=l+80|0;Qa[v[v[g>>2]+32>>2]](g,f);cb(v[a+28>>2]+124|0,f,128);g=v[a+8>>2];Qa[v[v[g>>2]+116>>2]](g,v[a+28>>2]);g=v[a+28>>2];F=xk(0);p=v[g+120>>2];if(p){Qa[v[v[p>>2]+4>>2]](p)}v[g+120>>2]=F;g=v[a+8>>2];Qa[v[v[g>>2]+112>>2]](g,v[a+28>>2]);g=v[v[a+28>>2]+120>>2];Qa[v[v[g>>2]+32>>2]](g,f);cb(v[a+28>>2]+252|0,f,128);f=v[a+8>>2];Qa[v[v[f>>2]+120>>2]](f,v[a+28>>2])}f=v[a+28>>2];f:{if(!c){v[f+440>>2]=0;v[f+444>>2]=0;c=v[a+8>>2];Qa[v[v[c>>2]+100>>2]](c,f);BG(v[a+28>>2],0,0,0);c=v[a+8>>2];Qa[v[v[c>>2]+80>>2]](c,v[a+28>>2]);if(e){break f}ej(v[a+28>>2]);c=v[a+28>>2];e=v[a+8>>2];f=v[e>>2];if(d){Qa[v[f+224>>2]](e,c);break f}Qa[v[f+220>>2]](e,c);break f}hV(f);c=v[a+8>>2];Qa[v[v[c>>2]+228>>2]](c,v[a+28>>2])}Ae(v[a+28>>2]);c=v[a+28>>2];n=A[c+632>>3];i=A[c+648>>3];g:{if(n>i){break g}r=A[c+640>>3];k=A[c+656>>3];if(r>k){break g}j=1/m;t=j*(q*C-o*E);y=j*-q;m=y*n;s=o*j;G=s*k;h=t+(m+G);u=s*r;m=t+(m+u);s=j*(x*E-w*C);z=w*j;n=z*n;j=j*-x;J=j*k;k=s+(n+J);r=j*r;j=s+(n+r);h:{if(kj)){n=j;break h}n=k}i:{if(hm)){k=m;break i}k=h}y=y*i;h=t+(u+y);u=z*i;i=s+(r+u);j:{if(in)){break j}n=i}k:{if(hk)){break k}k=h}r=1/B;B=-M;z=-N;h=t+(y+G);i=s+(u+J);l:{if(in)){break l}n=i}t=r*B;s=K*r;B=L*r;y=r*z;m:{if(hk)){break m}k=h}G=t*o;u=s*q;z=B*o;J=y*q;R=s*w;S=t*x;T=y*w;U=B*x;h=A[b+16>>3];A[l+48>>3]=h;i=A[b+24>>3];A[l+56>>3]=i;o=A[b+32>>3];A[l+64>>3]=o;q=A[b+40>>3];A[l+72>>3]=q;n:{if(!(h>o)){w=h;h=o;break n}A[l+64>>3]=h;A[l+48>>3]=o;w=o}x=G+u;G=z+J;u=S+R;z=U+T;o:{if(!(i>q)){o=i;i=q;break o}A[l+72>>3]=i;A[l+56>>3]=q;o=q}q=A[b+48>>3];J=A[b+56>>3];A[l+24>>3]=u;A[l+16>>3]=z;A[l+8>>3]=x;A[l>>3]=G;i=m-i;m=D(J);i=I(i/m);p:{if(D(i)<2147483648){f=~~i;break p}f=-2147483648}i=K*Q;K=M*P;L=L*P;M=N*Q;h=j-h;j=D(q);h=I(h/j);q:{if(D(h)<2147483648){d=~~h;break q}d=-2147483648}h=s*E;q=t*C;i=K-i;E=y*E;C=B*C;t=M-L;k=H((k-o)/m);r:{if(D(k)<2147483648){g=~~k;break r}g=-2147483648}k=q+h;h=r*i;i=C+E;o=r*t;n=H((n-w)/j);s:{if(D(n)<2147483648){p=~~n;break s}p=-2147483648}n=h+k;k=o+i;c=v[a+8>>2];if(!(Qa[v[v[c>>2]+16>>2]](c)|0)){if((f|0)>(g|0)|(d|0)>(p|0)){break g}V=b+128|0;e=0;while(1){h=m*+(f|0);i=u*h;h=z*h;c=d;while(1){F=c;c=v[a+116>>2];t:{if(!c){break t}if((e|0)<100){e=e+1|0;break t}e=0;if(Qa[c|0](v[a+120>>2])|0){break g}}o=j*+(F|0);A[l+40>>3]=n+(i+x*o);A[l+32>>3]=k+(h+G*o);pz(a,V,v[b+64>>2]==7?v[b+72>>2]:0,l,l+48|0,0,0,0,0,0,0,0);c=F+1|0;if((p|0)!=(F|0)){continue}break}c=(f|0)!=(g|0);f=f+1|0;if(c){continue}break}break g}A[l+40>>3]=n;A[l+32>>3]=k;c=v[a+8>>2];Qa[v[v[c>>2]+212>>2]](c,v[a+28>>2],a,b+128|0,v[b+8>>2],v[b+12>>2],v[b+64>>2]==7?v[b+72>>2]:0,l,l+48|0,d,f,p+1|0,g+1|0,j,m)}b=v[a+28>>2];if(v[b+668>>2]){while(1){b=nl(b);v[a+28>>2]=b;c=v[a+8>>2];Qa[v[v[c>>2]+68>>2]](c,b);b=v[a+28>>2];if(v[b+668>>2]){continue}break}}$a(hq(b));v[a+28>>2]=O;a=v[a+8>>2];Qa[v[v[a>>2]+68>>2]](a,O)}Ma=l+208|0}function Yz(a,b){var 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;h=Ma-112|0;Ma=h;a:{if(!b){break a}e=Qa[v[256552]](36)|0;if(!e){v[h>>2]=239706;nb(0,0,0,0,0,29,2,3,239706,0,0,0,340689,h);break a}v[e+20>>2]=0;v[e+4>>2]=0;v[e+28>>2]=0;v[e+32>>2]=0;c=v[256554];v[e+24>>2]=0;v[e+12>>2]=c;v[e+8>>2]=0;v[e+16>>2]=0;v[e>>2]=0;if((c&-2)!=2){v[e+12>>2]=4}n=h+106|0;o=h+105|0;m=h+104|0;p=h+103|0;b:{while(1){f=b;c:{d:{e:{f:{g:{h:{i:{j:{k:{while(1){c=w[f|0];if(c){if((c|0)==38){if((b|0)!=(f|0)){if(ij(e,b,f-b|0)){break c}}l:{m:{d=w[f+1|0];if((d|0)!=35){b=1;g=f+1|0;while(1){c=d&255;if(!c){break m}if((c|0)==59){break l}b=b+1|0;d=w[f+b|0];continue}}c=f+2|0;d=0;b=w[f+2|0];if((b|0)==59){b=c+1|0;break d}if((b|0)==120){g=f+3|0;k=1;f=w[f+3|0];n:{if((f|0)==59){break n}while(1){b=g;c=-48;o:{if((f-48&255)>>>0<10){break o}c=-87;if((f-97&255)>>>0<6){break o}c=-55;if((f-65&255)>>>0<6){break o}k=0;v[h+64>>2]=0;nb(0,0,0,0,a,2,1300,2,0,0,0,0,342614,h- -64|0);d=0;break n}g=b+1|0;d=((d<<4)+c|0)+(f&255)|0;f=w[b+1|0];if((f|0)!=59){continue}break}}b=g+k|0;break d}p:{while(1){if((b-48&255)>>>0<=9){d=(B(d,10)+(b&255)|0)-48|0;f=1;b=w[c+1|0];g=c+1|0;c=g;if((b|0)!=59){continue}break p}break}f=0;v[h+48>>2]=0;nb(0,0,0,0,a,2,1301,2,0,0,0,0,342651,h+48|0);g=c;d=0}b=f+g|0;break d}v[h+80>>2]=g;nb(0,0,0,0,a,2,1302,2,g,0,0,0,339769,h+80|0);break c}if((b|0)==1){break e}i=Qa[v[256555]](b)|0;q:{if(!i){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break q}c=b-1|0;q=cb(i,g,c)+c|0,r=0,t[q|0]=r}r:{s:{if(!a){break s}c=v[a+44>>2];t:{if(!c){break t}c=v[c+48>>2];if(!c){break t}c=le(c,i,0,0);if(c){break r}}if(v[a+40>>2]==1){break s}c=v[a+48>>2];if(!c){break s}c=v[c+48>>2];if(!c){break s}c=le(c,i,0,0);if(c){break r}}c=vi(i)}if(!(!c|v[c+48>>2]!=6)){if(v[e+32>>2]){break c}g=v[c+40>>2];c=v[e+8>>2];if(!((c|0)==v[e+24>>2]|c>>>0>2147483646)){v[e+24>>2]=c}c=v[e+4>>2];if(!((c|0)==v[e+20>>2]|c>>>0>2147483646)){v[e+20>>2]=c}d=v[e+12>>2];if(!g|(d|0)==2){break b}if(!ij(e,g,-1)){break f}break c}if(v[e+32>>2]){break g}d=v[e+8>>2];if(!((d|0)==v[e+24>>2]|d>>>0>2147483646)){v[e+24>>2]=d}k=v[e+20>>2];d=v[e+4>>2];if((k|0)==(d|0)|d>>>0>2147483646){d=k}else{v[e+20>>2]=d}if(!d){break g}d=Qa[v[256552]](60)|0;if(!d){break k}v[d>>2]=0;v[d+4>>2]=0;g=d+8|0;v[g>>2]=0;v[g+4>>2]=0;v[d+4>>2]=3;v[d+56>>2]=0;v[d+48>>2]=0;v[d+52>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=0;v[d+36>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=874220;u:{if(!v[291069]){break u}g=v[291066];if(!g){break u}Qa[g|0](d)}v[d+32>>2]=a;break h}else{f=f+1|0;continue}}break}if(!(l?(b|0)==(f|0):0)){ij(e,b,f-b|0)}if(v[e+32>>2]){break c}b=v[e+8>>2];if(!((b|0)==v[e+24>>2]|b>>>0>2147483646)){v[e+24>>2]=b}d=v[e+20>>2];b=v[e+4>>2];if((d|0)==(b|0)|b>>>0>2147483646){b=d}else{v[e+20>>2]=b}if(!b){break c}f=Qa[v[256552]](60)|0;if(!f){break j}v[f>>2]=0;v[f+4>>2]=0;b=f+8|0;v[b>>2]=0;v[b+4>>2]=0;v[f+4>>2]=3;v[f+56>>2]=0;v[f+48>>2]=0;v[f+52>>2]=0;v[f+40>>2]=0;v[f+44>>2]=0;v[f+32>>2]=0;v[f+36>>2]=0;v[f+24>>2]=0;v[f+28>>2]=0;v[f+16>>2]=0;v[f+20>>2]=0;v[f+8>>2]=874220;v:{if(!v[291069]){break v}b=v[291066];if(!b){break v}Qa[b|0](f)}v[f+32>>2]=a;break i}v[h+96>>2]=225270;d=0;nb(0,0,0,0,0,2,2,3,225270,0,0,0,340689,h+96|0);break h}v[h+16>>2]=225270;nb(0,0,0,0,0,2,2,3,225270,0,0,0,340689,h+16|0);f=0}d=0;if(!(v[e+32>>2]|(v[e+28>>2]|v[e+12>>2]==2))){v[e+20>>2]=0;v[e+24>>2]=0;v[e+4>>2]=0;v[e+8>>2]=0;d=v[e>>2];v[e>>2]=0}v[f+40>>2]=d;if(!j){l=f;break c}Ms(j,f);break c}k=0;if(!(v[e+32>>2]|(v[e+28>>2]|v[e+12>>2]==2))){v[e+20>>2]=0;v[e+24>>2]=0;v[e+4>>2]=0;v[e+8>>2]=0;k=v[e>>2];v[e>>2]=0}v[d+40>>2]=k;if(!j){j=d;l=d;break g}j=Ms(j,d)}g=LH(a,i);if(!g){if(!i){break c}Qa[v[256556]](i);break c}w:{if(v[c+12>>2]|!c){break w}v[c+12>>2]=-1;d=Yz(a,v[g+40>>2]);v[c+68>>2]=1;v[c+12>>2]=d;if(!d){break w}while(1){v[d+20>>2]=c;d=v[d+24>>2];if(d){continue}break}}if(!j){j=g;l=g;break f}j=Ms(j,g)}Qa[v[256556]](i)}b=(f+1|0)+b|0;continue}if(!d){continue}x:{y:{z:{A:{if((d|0)>=128){B:{if((d|0)<2048){f=0;g=6;c=192;break B}if((d|0)<65536){f=6;g=12;c=224;break B}if((d|0)>=1114112){break z}f=12;g=18;c=240}t[h+102|0]=c|d>>>g;t[h+103|0]=d>>f&63|128;c=m;g=(f>>>0)/6|0;if(g){break A}break y}t[h+102|0]=d;c=1;break x}t[h+104|0]=d>>f-6&63|128;c=o;if((g+p|0)==(m|0)){break y}t[h+105|0]=d>>f-12&63|128;c=n;break y}v[h+32>>2]=d;nb(0,0,0,0,0,1,9,3,0,0,0,d,343805,h+32|0);c=0;break x}c=c-(h+102|0)|0}t[c+(h+102|0)|0]=0;if(v[e+32>>2]){break c}c=v[e+8>>2];if(!((c|0)==v[e+24>>2]|c>>>0>2147483646)){v[e+24>>2]=c}c=v[e+4>>2];if(!((c|0)==v[e+20>>2]|c>>>0>2147483646)){v[e+20>>2]=c}if(v[e+12>>2]==2){break c}if(!ij(e,h+102|0,-1)){continue}}break}d=v[e+12>>2]}C:{D:{if((d|0)==3){f=v[e+16>>2];if(f){break D}f=v[e>>2];if(f){break D}break C}f=v[e>>2];if(!f|(d|0)==2){break C}}Qa[v[256556]](f)}Qa[v[256556]](e)}Ma=h+112|0;return l}function BSa(a){a=a|0;var b=C(0),c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=C(0),o=0,p=0,q=0,r=0,s=0,t=0,w=0,y=0,A=C(0),E=0,F=0,G=C(0),H=C(0),I=0,J=0,L=0,M=0;g=Ma+-64|0;Ma=g;h=v[a+26336>>2];a:{if(h-3>>>0>1){break a}b:{c:{if(!v[a+188>>2]){break c}Lb(59789,23,1,v[249419]);h=v[a+26336>>2];if((h|0)>=1){break c}q=2147483647;break b}e=h&3;d:{if(h-1>>>0<3){q=2147483647;break d}c=h&-4;q=2147483647;r=a+59284|0;while(1){s=d<<2;b=C(z[s+r>>2]*C(65535));e:{if(C(D(b))>2]*C(65535));f:{if(C(D(b))(m|0)?m:l;b=C(z[r+(s|8)>>2]*C(65535));g:{if(C(D(b))(m|0)?m:l;b=C(z[r+(s|12)>>2]*C(65535));h:{if(C(D(b))(m|0)?m:l;d=d+4|0;c=c-4|0;if(c){continue}break}}if(!e){t=1;break b}while(1){b=C(z[((d<<2)+a|0)+59284>>2]*C(65535));i:{if(C(D(b))>1];if(!c){break a}H=C(h|0);A=C(q|0);I=h&-2;J=h&1;r=h&-4;s=h&3;L=h-2|0;w=h-1|0;m=w&-4;l=w&3;E=h-3<<6;j=x[a+26310>>1];d=j;while(1){d=d&65535;if(d){y=0;while(1){j:{k:{l:{m:{if(t){e=B(d,F)+y|0;c=v[a+26352>>2];d=0;while(1){p=e<<3;if(x[(p+c|0)+(d<<1)>>1]<=(q|0)){d=d+1|0;if((h|0)!=(d|0)){continue}break j}break}if((d|0)==(h|0)){break j}if(!t){break k}i=v[a+26352>>2];d=0;c=I;if(w){break m}break l}if(!h){break j}break k}while(1){f=g+32|0;e=d<<2;o=i+p|0;b=C(x[o+(d<<1)>>1]);z[f+e>>2]=b;k=g+48|0;z[k+e>>2]=b>1]);z[M+e>>2]=b;z[e+k>>2]=b>1]);z[c>>2]=b;z[c+16>>2]=b>>0>=3){while(1){o=d<<2;f=o|4;k=((i<<4)+E|0)+198544|0;p=g+32|0;c=p;b=C(C(b+C(z[o+k>>2]*z[c+o>>2]))+C(z[f+k>>2]*z[c+f>>2]));c=o|8;b=C(b+C(z[c+k>>2]*z[c+p>>2]));c=o|12;b=C(b+C(z[c+k>>2]*z[c+(g+32|0)>>2]));d=d+4|0;e=e-4|0;if(e){continue}break}}c=s;if(c){while(1){e=d<<2;b=C(b+C(z[(e+((i<<4)+E|0)|0)+198544>>2]*z[e+(g+32|0)>>2]));d=d+1|0;c=c-1|0;if(c){continue}break}}z[(i<<2)+g>>2]=b;i=i+1|0;if((h|0)!=(i|0)){continue}break}}G=C(0);k=(h|0)<2;n:{if(k){break n}d=1;c=m;if(L>>>0>=3){while(1){e=(d<<2)+g|0;b=z[e>>2];n=C(G+C(b*b));b=z[e+4>>2];n=C(n+C(b*b));b=z[e+8>>2];n=C(n+C(b*b));b=z[e+12>>2];G=C(n+C(b*b));d=d+4|0;c=c-4|0;if(c){continue}break}}c=l;if(!c){break n}while(1){b=z[(d<<2)+g>>2];G=C(G+C(b*b));d=d+1|0;c=c-1|0;if(c){continue}break}}e=0;if(t){while(1){b=C(0);d=0;c=r;if(w>>>0>=3){while(1){p=d<<2;f=p|4;i=((e<<4)+E|0)+198544|0;o=g+48|0;b=C(C(b+C(z[p+i>>2]*z[o+p>>2]))+C(z[f+i>>2]*z[f+o>>2]));f=p|8;b=C(b+C(z[f+i>>2]*z[f+o>>2]));f=p|12;b=C(b+C(z[f+i>>2]*z[f+o>>2]));d=d+4|0;c=c-4|0;if(c){continue}break}}c=s;if(c){while(1){f=d<<2;b=C(b+C(z[(f+((e<<4)+E|0)|0)+198544>>2]*z[(f+g|0)+48>>2]));d=d+1|0;c=c-1|0;if(c){continue}break}}z[((e<<2)+g|0)+16>>2]=b;e=e+1|0;if((h|0)!=(e|0)){continue}break}}o:{if(k){break o}d=1;b=C(0);c=m;e=L>>>0<3;if(!e){while(1){n=b;f=(d<<2)+g|0;b=z[f+16>>2];n=C(n+C(b*b));b=z[f+20>>2];n=C(n+C(b*b));b=z[f+24>>2];n=C(n+C(b*b));b=z[f+28>>2];b=C(n+C(b*b));d=d+4|0;c=c-4|0;if(c){continue}break}}c=l;if(c){while(1){n=b;b=z[((d<<2)+g|0)+16>>2];b=C(n+C(b*b));d=d+1|0;c=c-1|0;if(c){continue}break}}if(k){break o}b=C(K(C(b/G)));d=1;c=m;if(!e){while(1){e=(d<<2)+g|0;z[e>>2]=b*z[e>>2];z[e+4>>2]=b*z[e+4>>2];z[e+8>>2]=b*z[e+8>>2];z[e+12>>2]=b*z[e+12>>2];d=d+4|0;c=c-4|0;if(c){continue}break}}c=l;if(!c){break o}while(1){e=(d<<2)+g|0;z[e>>2]=b*z[e>>2];d=d+1|0;c=c-1|0;if(c){continue}break}}i=0;if(!t){break j}while(1){b=C(0);d=0;e=r;if(w>>>0>=3){while(1){k=d<<2;c=k|4;f=((i<<4)+E|0)+198672|0;b=C(C(b+C(z[k+f>>2]*z[g+k>>2]))+C(z[c+f>>2]*z[c+g>>2]));c=k|8;b=C(b+C(z[c+f>>2]*z[c+g>>2]));c=k|12;b=C(b+C(z[c+f>>2]*z[c+g>>2]));d=d+4|0;e=e-4|0;if(e){continue}break}}c=s;if(c){while(1){e=d<<2;b=C(b+C(z[(e+((i<<4)+E|0)|0)+198672>>2]*z[e+g>>2]));d=d+1|0;c=c-1|0;if(c){continue}break}}z[(g+32|0)+(i<<2)>>2]=b;i=i+1|0;if((h|0)!=(i|0)){continue}break}if(!t){break j}f=v[a+26352>>2];d=0;c=I;if(w){while(1){e=(f+(B(j,F)+y<<3)|0)+(d<<1)|0;b=C(z[(g+32|0)+(d<<2)>>2]/H);p:{if(b=C(0)){j=~~b>>>0;break p}j=0}u[e>>1]=j;j=d|1;e=(f+(B(x[a+26310>>1],F)+y<<3)|0)+(j<<1)|0;b=C(z[(g+32|0)+(j<<2)>>2]/H);q:{if(b=C(0)){j=~~b>>>0;break q}j=0}u[e>>1]=j;d=d+2|0;j=x[a+26310>>1];c=c-2|0;if(c){continue}break}}if(!J){break j}j=(f+(B(j,F)+y<<3)|0)+(d<<1)|0;b=C(z[(g+32|0)+(d<<2)>>2]/H);r:{if(b=C(0)){c=~~b>>>0;break r}c=0}u[j>>1]=c;j=x[a+26310>>1]}d=j;y=y+1|0;if(d>>>0>y>>>0){continue}break}c=x[a+26308>>1];d=j}else{d=0}F=F+1|0;if(F>>>0<(c&65535)>>>0){continue}break}}Ma=g- -64|0}function yfa(a,b){a=a|0;b=b|0;var 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;h=Ma-32|0;Ma=h;if(!v[a+44>>2]){v[a+24>>2]=0;v[a+28>>2]=0;f=v[a+12>>2];if(f){c=v[f+24>>2];if(c){while(1){d=v[c>>2];$a(c);v[f+24>>2]=d;c=d;if(c){continue}break}}c=v[f>>2];if(c){$a(c)}$a(f)}v[a+12>>2]=0}c=v[b>>2];if(c){v[c+4>>2]=v[c+4>>2]+1;c=v[b>>2]}else{c=0}d=Me(c);s=Me(c);a:{if(!c){break a}f=v[c+4>>2]-1|0;v[c+4>>2]=f;if(f){break a}f=v[c+4>>2];if(!f){v[c+4>>2]=-32767}if(!f){Qa[v[v[c>>2]+4>>2]](c)}}b:{c:{d:{e:{f:{g:{c=d&255;if((c|0)==v[a+28>>2]){t=v[a+24>>2];h:{if(c){break h}c=v[b>>2];if(c){v[c+4>>2]=v[c+4>>2]+1;c=v[b>>2]}else{c=0}f=Me(c);d=Me(c);i:{if(!c){break i}g=v[c+4>>2]-1|0;v[c+4>>2]=g;if(g){break i}g=v[c+4>>2];if(!g){v[c+4>>2]=-32767}if(!g){Qa[v[v[c>>2]+4>>2]](c)}}if((f&127)!=1){break g}if((d&255)>>>0>=3){break f}c=v[b>>2];if(c){v[c+4>>2]=v[c+4>>2]+1;e=v[b>>2]}c=Me(e);g=Me(e);l=Me(e);m=Me(e);if(d&254){i=Me(e)}j:{if(!e){break j}j=v[e+4>>2]-1|0;v[e+4>>2]=j;if(j){break j}j=v[e+4>>2];if(!j){v[e+4>>2]=-32767}if(!j){Qa[v[v[e>>2]+4>>2]](e)}}v[a+36>>2]=0;v[a+40>>2]=0;e=0;if((d&255)>>>0>=2){e=i&127;v[a+36>>2]=e;v[a+40>>2]=((i^-1)&128)>>>7}if(f<<24>>24<=-1){v[a+36>>2]=-1;e=-1}if(v[a+12>>2]){break e}if(v[a+44>>2]){break d}d=ab(32);v[d+24>>2]=0;i=l<<8&65280|m&255;v[d+8>>2]=i;g=c<<8&65280|g&255;v[d+4>>2]=g;v[d>>2]=0;l=i+31&131040;v[d+16>>2]=l;m=g+31&131040;v[d+12>>2]=m;c=B(l,m);j=c>>>10|0;v[d+20>>2]=j;f=c>>>6|0;k=ab(f);n=c|1023;if(n>>>0>=2047){eb(k,0,f)}v[d+28>>2]=4080;v[d>>2]=k;v[a+12>>2]=d;c=ab(508);v[c+8>>2]=0;v[c+12>>2]=1;v[c+4>>2]=d;d=v[245893];v[c+56>>2]=v[245892];v[c+60>>2]=d;k=v[245895];d=c- -64|0;v[d>>2]=v[245894];v[d+4>>2]=k;v[c+112>>2]=131072;v[c+116>>2]=131072;v[c+104>>2]=131072;v[c+108>>2]=131072;v[c+96>>2]=65536;v[c+100>>2]=65536;v[c+88>>2]=65536;v[c+92>>2]=65536;v[c+80>>2]=65536;v[c+84>>2]=65536;v[c+72>>2]=65536;v[c+76>>2]=65536;v[c+16>>2]=0;d=v[245900];v[c+20>>2]=v[245899];v[c+24>>2]=d;d=v[245902];v[c+28>>2]=v[245901];v[c+32>>2]=d;d=v[245904];v[c+36>>2]=v[245903];v[c+40>>2]=d;d=v[245906];v[c+44>>2]=v[245905];v[c+48>>2]=d;v[c+52>>2]=v[245907];eb(c+392|0,0,114);v[c>>2]=983936;v[a+44>>2]=c;if((e|0)<0){break h}d=ab(32);v[d+24>>2]=0;v[d+8>>2]=i;v[d+4>>2]=g;v[d>>2]=0;v[d+20>>2]=j;v[d+16>>2]=l;v[d+12>>2]=m;c=ab(f);k=n>>>0<2047;if(!k){eb(c,0,f)}v[d+28>>2]=4080;v[d>>2]=c;v[a+16>>2]=d;e=ab(32);v[e+24>>2]=0;v[e+8>>2]=i;v[e+4>>2]=g;v[e>>2]=0;v[e+20>>2]=j;v[e+16>>2]=l;v[e+12>>2]=m;c=ab(f);if(!k){eb(c,0,f)}v[e+28>>2]=4080;v[e>>2]=c;v[a+20>>2]=e;c=ab(508);v[c+8>>2]=0;v[c+12>>2]=1;v[c+4>>2]=d;d=v[245893];j=v[245892];v[c+56>>2]=j;v[c+60>>2]=d;f=v[245895];i=c- -64|0;k=v[245894];v[i>>2]=k;v[i+4>>2]=f;v[c+112>>2]=131072;v[c+116>>2]=131072;v[c+104>>2]=131072;v[c+108>>2]=131072;v[c+96>>2]=65536;v[c+100>>2]=65536;v[c+88>>2]=65536;v[c+92>>2]=65536;v[c+80>>2]=65536;v[c+84>>2]=65536;v[c+72>>2]=65536;v[c+76>>2]=65536;v[c+16>>2]=0;i=v[245900];n=v[245899];v[c+20>>2]=n;v[c+24>>2]=i;g=v[245902];o=v[245901];v[c+28>>2]=o;v[c+32>>2]=g;l=v[245904];p=v[245903];v[c+36>>2]=p;v[c+40>>2]=l;m=v[245906];q=v[245905];v[c+44>>2]=q;v[c+48>>2]=m;r=v[245907];v[c+52>>2]=r;eb(c+392|0,0,114);v[c>>2]=983936;v[a+48>>2]=c;c=ab(508);v[c+8>>2]=0;v[c+12>>2]=1;v[c+4>>2]=e;v[c+56>>2]=j;v[c+60>>2]=d;d=c- -64|0;v[d>>2]=k;v[d+4>>2]=f;v[c+112>>2]=131072;v[c+116>>2]=131072;v[c+104>>2]=131072;v[c+108>>2]=131072;v[c+96>>2]=65536;v[c+100>>2]=65536;v[c+88>>2]=65536;v[c+92>>2]=65536;v[c+80>>2]=65536;v[c+84>>2]=65536;v[c+72>>2]=65536;v[c+76>>2]=65536;v[c+16>>2]=0;v[c+20>>2]=n;v[c+24>>2]=i;v[c+28>>2]=o;v[c+32>>2]=g;v[c+36>>2]=p;v[c+40>>2]=l;v[c+44>>2]=q;v[c+48>>2]=m;v[c+52>>2]=r;eb(c+392|0,0,114);v[c>>2]=983936;v[a+52>>2]=c}if(!v[a+12>>2]){break c}if(!v[a+44>>2]){break b}d=(s&255)+t|0;c=h;e=v[b>>2];if(e){v[e+4>>2]=v[e+4>>2]+1;b=v[b>>2]}else{b=0}v[c>>2]=b;Mr(h+8|0,h,0);b=v[h>>2];v[h>>2]=0;k:{if(!b){break k}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break k}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}c=v[h+8>>2];if((d|0)>v[a+24>>2]){while(1){b=v[a+44>>2];e=Qa[v[v[b>>2]+8>>2]](b,c)|0;l:{if(!v[a+52>>2]){break l}b=v[a+48>>2];if(!b|v[a+36>>2]>v[a+24>>2]){break l}e=Qa[v[v[b>>2]+8>>2]](b,c)|e;b=v[a+52>>2];e=e|Qa[v[v[b>>2]+8>>2]](b,c)}b=v[a+24>>2]+1|0;v[a+24>>2]=b;if((b|0)<(d|0)?e:0){continue}break}c=v[h+8>>2]}v[a+28>>2]=v[a+28>>2]+1;v[h+8>>2]=0;m:{if(!c){break m}a=v[c+4>>2]-1|0;v[c+4>>2]=a;if(a){break m}a=v[c+4>>2];if(!a){v[c+4>>2]=-32767}if(!a){Qa[v[v[c>>2]+4>>2]](c)}}Ma=h+32|0;return d|0}lb(mb(h+8|0,319678,241950,1748,331165));L()}lb(mb(h+8|0,319951,241950,1756,331165));L()}lb(mb(h+8|0,319926,241950,1758,331165));L()}O(242436,241950,1774,262202);L()}O(300293,241950,1775,262202);L()}O(242438,241950,1787,262202);L()}O(300295,241950,1788,262202);L()}function qBa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;i=Ma-160|0;Ma=i;f=8;a:{b:{c:{d:{switch(w[c|0]-4|0){case 1:if(w[c+1|0]<3){break c}e=v[c+32>>2];if(e&65408){break c}f=e&63;g=e>>>6&1;break;case 0:break d;default:break c}}e=v[c+24>>2];t[a+200|0]=e;if(!(!g|e&255)){v[d>>2]=13;break a}if(e>>>0>=256){v[a+224>>2]=(e>>>8|0)+c}e:{f:{g:{h:{e=e&255;if(e>>>0>14){break h}m=a+28|0;if(1<>2]=v[209235];e=v[209234];v[i+48>>2]=v[209233];v[i+52>>2]=e;e=v[209232];v[i+40>>2]=v[209231];v[i+44>>2]=e;e=v[209230];v[i+32>>2]=v[209229];v[i+36>>2]=e;h=v[a+224>>2];if(!h){v[d>>2]=13;break a}if(v[b+4>>2]!=1){v[d>>2]=14;break a}c=(f<<2)+c|0;if(!hb(c,v[a+12>>2]+4|0)){v[d>>2]=13;break a}v[i+32>>2]=28;v[i+36>>2]=2;t[i+40|0]=w[b+8|0];u[i+42>>1]=x[b+10>>1];v[i+44>>2]=v[b+12>>2];e=v[b+16>>2];v[i+52>>2]=c;v[i+48>>2]=e;c=0;e=0;i:{if(!d){break i}g=i+32|0;j:{if(v[d>>2]>0){break j}c=v[g+16>>2];if(!(!c|!w[c|0])){e=zA(g,d);break i}c=0;k:{e=v[290883];if(e){e=yI(e,v[g+20>>2]);if(e){break k}}f=zA(g,d);if(!f|v[d>>2]>0){break j}e=f;if(w[g+8|0]){break i}pZ(f);e=f;break i}v[e+4>>2]=v[e+4>>2]+1;c=e}e=c}if(v[d>>2]>0){break a}if(!(v[e+220>>2]?0:w[v[e+12>>2]+69|0]==2)){yA(e);v[d>>2]=13;break a}if(w[b+8|0]){yA(e);break a}c=cb(m,e+28|0,184);v[a+224>>2]=h;v[a+220>>2]=e;v[a+192>>2]=0;v[a+40>>2]=0;v[a+212>>2]=0;v[a+216>>2]=0;l:{m:{b=v[a+12>>2];switch(w[b+69|0]-1|0){case 0:break l;case 1:break m;default:break f}}if(t[b+70|0]<2){break f}}n:{if(w[e+200|0]==12){b=v[v[a+36>>2]+56>>2];if((b&-2131755008)!=-2139095040){break f}b=b>>>24&127;if(!b){break f}t[a+29|0]=b;break n}b=v[e+12>>2];if(w[b+69|0]!=2|w[b+70|0]!=1|w[b+71|0]!=2){break f}b=t[c|0];if((b|0)<0){break f}f=b&255;h=f+1|0;b=Fg(h<<10);if(!b){break e}d=cb(b,v[a+36>>2],f<<10);c=f<<24;b=0;while(1){e=b<<2;g=e+d|0;if(v[g>>2]<=-1){v[g>>2]=c}g=d+(e|4)|0;if(v[g>>2]<0){v[g>>2]=c}g=d+(e|8)|0;if(v[g>>2]<=-1){v[g>>2]=c}e=d+(e|12)|0;if(v[e>>2]<=-1){v[e>>2]=c}b=b+4|0;if((b|0)!=256){continue}break}g=0;b=d+(f<<10)|0;while(1){c=g<<2;v[c+b>>2]=-2140143616;v[b+(c|4)>>2]=-2140143616;v[b+(c|8)>>2]=-2140143616;v[b+(c|12)>>2]=-2140143616;v[b+(c|16)>>2]=-2140143616;v[b+(c|20)>>2]=-2140143616;v[b+(c|24)>>2]=-2140143616;v[b+(c|28)>>2]=-2140143616;g=g+8|0;if((g|0)!=256){continue}break}t[a+28|0]=h;v[a+36>>2]=d;t[a+30|0]=1}t[a+200|0]=219;break f}v[d>>2]=13;break a}if(w[b+8|0]){break a}b=v[c+4>>2];t[a+28|0]=b;e=v[c+8>>2];j=b<<10;b=(f<<2)+c|0;v[a+48>>2]=j+b;v[a+36>>2]=b;v[a+32>>2]=e;v[a+44>>2]=v[c+12>>2]+c;v[a+52>>2]=v[c+16>>2]+c;v[a+188>>2]=v[c+20>>2]+c;v[a+196>>2]=v[c+28>>2];u[i+8>>1]=20;b=v[a+8>>2];f=i+8|0;o:{if(!f){break o}p:{if(!b){break p}h=v[b+4>>2];if(!h){break p}k=h+4|0;e=k;b=0;q:{if(!e){break q}j=x[e>>1];b=j;if(!w[e+4|0]){break q}b=j<<8|(j&65280)>>>8}j=f+2|0;k=k+2|0;b=b&65535;e=x[f>>1];if(b>>>0>>0){u[f>>1]=b}else{b=e}cb(j,k,b-2|0);if(!w[h+8|0]){break o}b=x[h+6>>1];u[f+2>>1]=b<<8|b>>>8;break o}u[f>>1]=0}e=a;b=w[i+20|0];r:{if(b>>>0<=6){f=3;if(!w[i+21|0]|(b|0)!=6){break r}}f=w[v[a+12>>2]+79|0]&3}t[e+201|0]=f;s:{if(f&2|w[c+1|0]<3){break s}e=w[c+2|0];b=a;t:{if(w[m|0]==1){if(e>>>0<=14){break s}t[a+202|0]=1;h=v[a+52>>2];e=0;while(1){j=a+60|0;k=h+(e>>>3&536870910)|0;u[j+(e<<1)>>1]=x[h+(x[k>>1]+(e<<2&56)<<1)>>1];l=e|1;u[j+(l<<1)>>1]=x[h+(x[k>>1]+(l<<2&60)<<1)>>1];e=e+2|0;if((e|0)!=64){continue}break}e=4095;break t}if(e>>>0<=214){break s}t[a+202|0]=1;j=v[a+188>>2];v[a+56>>2]=j+(g?0:v[a+196>>2]);e=w[c+2|0]<<8|255}u[b+204>>1]=e}h=v[a+36>>2];e=0;b=-1;while(1){j=C3a(-2,e>>>2|0);k=e<<2;b=(v[h+(k|4)>>2]==(e|-2147483647)?-1:j)&((v[h+k>>2]==(e|-2147483648)?-1:j)&b);e=e+2|0;if((e|0)!=128){continue}break}v[a+208>>2]=b;if(!g){break f}e=v[c+16>>2];h=v[c+20>>2];j=v[c+36>>2];k=j<<2;f=f&1?1088:64;b=f<<1;l=v[a+196>>2]+(k+b|0)|0;c=Fg(l);v[a+212>>2]=c;if(!c){v[d>>2]=7;break f}g=0;n=j;j=f>>>1|0;d=(h-e>>>2|0)-j|0;c=eb(c,0,l);e=v[a+52>>2];c=cb(c,e,b);f=c+b|0;cb((n-d<<2)+f|0,b+e|0,d<<2);v[a+188>>2]=f+k;v[a+52>>2]=c;b=x[a+204>>1];if(b>>>0>=63){k=b+1>>>6|0;e=0;while(1){f=x[c+(g<<1)>>1];u:{if((j|0)!=(f|0)){b=e+16|0;l=v[a+56>>2];while(1){h=x[l+(e<<1)>>1];if(h){d=c+(f<<2)|0;h=h>>>4|0;v[d>>2]=h;v[d+12>>2]=h+3;v[d+8>>2]=h+2;v[d+4>>2]=h+1}f=f+4|0;d=e+1|0;e=d;if((b|0)!=(e|0)){continue}break}break u}b=e+16|0}g=g+1|0;e=b;if((k|0)>(e|0)){continue}break}}b=i+32|0;eb(b,255,128);e=0;wA(v[a+36>>2],b,0);b=w[a+28|0];if(!b){break f}while(1){if(t[(i+32|0)+e|0]>=64){$Y(m,i+32|0,e,0,0,m);b=w[m|0]}e=e+1|0;if(e>>>0<(b&255)>>>0){continue}break}}v:{if(w[a+202|0]){if(w[m|0]!=1){break v}v[a+20>>2]=836944}e=w[a+200|0];break b}e=w[a+200|0];if((e|0)!=1){break b}v[a+20>>2]=837016;break a}yA(e);v[d>>2]=7;break a}v[d>>2]=13;break a}b=e&255;if((b|0)!=219&(b|0)!=12){break a}v[a+208>>2]=0}Ma=i+160|0}function sxa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(v[a+76>>2]>=1){c=v[a+416>>2];k=v[a+84>>2];while(1){a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{f=v[k+36>>2];b=v[k+40>>2]+(f<<8)|0;if((b|0)<=2051){if((b|0)<=1025){J:{switch(b-513|0){case 0:break n;case 1:break H;case 2:break c;case 3:break g;default:break J}}K:{switch(b-257|0){case 0:break I;case 1:break f;default:break K}}switch(b-771|0){case 3:break h;case 0:break G;default:break c}}if((b|0)<=1538){L:{switch(b-1026|0){case 6:break i;case 0:break o;case 2:break F;case 1:case 3:case 4:case 5:break c;default:break L}}switch(b-1285|0){case 5:break j;case 0:break E;default:break c}}M:{switch(b-1539|0){case 9:break k;case 0:break p;case 3:break D;case 1:case 2:case 4:case 5:case 6:case 7:case 8:break c;default:break M}}switch(b-1799|0){case 7:break l;case 0:break C;default:break c}}if((b|0)<=3077){if((b|0)<=2564){switch(b-2052|0){case 12:break m;case 0:break q;case 1:case 2:case 3:case 5:case 6:case 7:case 8:case 9:case 10:case 11:break c;case 4:break e;default:break d}}switch(b-2565|0){case 0:break r;case 5:break B;case 1:case 2:case 3:case 4:break c;default:break A}}if((b|0)<=3590){switch(b-3078|0){case 0:break s;case 6:break z;case 1:case 2:case 3:case 4:case 5:break c;default:break y}}N:{switch(b-3591|0){case 0:break t;case 7:break x;case 1:case 2:case 3:case 4:case 5:case 6:break c;default:break N}}switch(b-4104|0){case 0:break u;case 8:break v;case 1:case 2:case 3:case 4:case 5:case 6:case 7:break c;default:break w}}v[((d<<2)+c|0)+44>>2]=310;e=0;break a}v[((d<<2)+c|0)+44>>2]=311;e=0;break a}v[((d<<2)+c|0)+44>>2]=312;e=0;break a}v[((d<<2)+c|0)+44>>2]=313;e=0;break a}v[((d<<2)+c|0)+44>>2]=314;e=0;break a}v[((d<<2)+c|0)+44>>2]=315;e=0;break a}v[((d<<2)+c|0)+44>>2]=316;e=0;break a}v[((d<<2)+c|0)+44>>2]=317;e=0;break a}if((b|0)!=2827){break c}v[((d<<2)+c|0)+44>>2]=318;e=0;break a}v[((d<<2)+c|0)+44>>2]=319;e=0;break a}if((b|0)!=3341){break c}v[((d<<2)+c|0)+44>>2]=320;e=0;break a}v[((d<<2)+c|0)+44>>2]=321;e=0;break a}if((b|0)!=3855){break c}v[((d<<2)+c|0)+44>>2]=322;e=0;break a}v[((d<<2)+c|0)+44>>2]=323;e=0;break a}v[((d<<2)+c|0)+44>>2]=324;e=0;break a}v[((d<<2)+c|0)+44>>2]=325;e=0;break a}v[((d<<2)+c|0)+44>>2]=326;e=0;break a}v[((d<<2)+c|0)+44>>2]=327;e=0;break a}v[((d<<2)+c|0)+44>>2]=328;e=0;break a}v[((d<<2)+c|0)+44>>2]=329;e=0;break a}v[((d<<2)+c|0)+44>>2]=330;e=0;break a}v[((d<<2)+c|0)+44>>2]=331;e=0;break a}v[((d<<2)+c|0)+44>>2]=332;e=0;break a}v[((d<<2)+c|0)+44>>2]=333;e=0;break a}v[((d<<2)+c|0)+44>>2]=334;e=0;break a}v[((d<<2)+c|0)+44>>2]=335;e=0;break a}v[((d<<2)+c|0)+44>>2]=336;e=0;break a}v[((d<<2)+c|0)+44>>2]=337;e=0;break a}v[((d<<2)+c|0)+44>>2]=338;e=0;break a}v[((d<<2)+c|0)+44>>2]=339;e=0;break a}O:{switch(v[a+232>>2]){case 0:v[((d<<2)+c|0)+44>>2]=340;e=0;break a;case 1:v[((d<<2)+c|0)+44>>2]=341;e=1;break a;case 2:e=2;v[((d<<2)+c|0)+100>>2]=342;break a;default:break O}}b=v[a>>2];v[b+20>>2]=49;Qa[v[b>>2]](a);break a}if((b|0)==2313){break b}}b=v[a>>2];v[b+24>>2]=f;v[b+20>>2]=7;v[v[a>>2]+28>>2]=v[k+40>>2];Qa[v[v[a>>2]>>2]](a);break a}v[((d<<2)+c|0)+44>>2]=343;e=0}b=v[k+16>>2];P:{if(b>>>0<=3){i=v[((b<<2)+a|0)+88>>2];if(i){break P}}f=v[a>>2];v[f+24>>2]=b;v[f+20>>2]=54;Qa[v[v[a>>2]>>2]](a);i=v[((b<<2)+a|0)+88>>2]}Q:{R:{switch(e|0){case 0:b=(b<<2)+c|0;f=v[b+84>>2];if(!f){f=Qa[v[v[a+4>>2]>>2]](a,1,256)|0;v[b+84>>2]=f}b=0;while(1){v[(b<<2)+f>>2]=x[(b<<1)+i>>1]<<3;h=b|1;v[(h<<2)+f>>2]=x[(h<<1)+i>>1]<<3;h=b|2;v[(h<<2)+f>>2]=x[(h<<1)+i>>1]<<3;h=b|3;v[(h<<2)+f>>2]=x[(h<<1)+i>>1]<<3;b=b+4|0;if((b|0)!=64){continue}break};v[((d<<2)+c|0)+4>>2]=344;break Q;case 1:b=(b<<2)+c|0;f=v[b+84>>2];if(!f){f=Qa[v[v[a+4>>2]>>2]](a,1,256)|0;v[b+84>>2]=f}b=0;while(1){h=b<<1;v[(b<<2)+f>>2]=B(u[h+74208>>1],x[i+h>>1])+1024>>11;g=b|1;h=g<<1;v[(g<<2)+f>>2]=B(u[h+74208>>1],x[i+h>>1])+1024>>11;b=b+2|0;if((b|0)!=64){continue}break};v[((d<<2)+c|0)+4>>2]=344;break Q;case 2:b=(b<<2)+c|0;f=v[b+140>>2];if(!f){f=Qa[v[v[a+4>>2]>>2]](a,1,256)|0;v[b+140>>2]=f}h=0;b=0;while(1){j=A[(h<<3)+74336>>3];z[(b<<2)+f>>2]=1/(j*+x[(b<<1)+i>>1]*8);g=b|1;z[(g<<2)+f>>2]=1/(j*+x[(g<<1)+i>>1]*1.387039845*8);g=b|2;z[(g<<2)+f>>2]=1/(j*+x[(g<<1)+i>>1]*1.306562965*8);g=b|3;z[(g<<2)+f>>2]=1/(j*+x[(g<<1)+i>>1]*1.175875602*8);g=b|4;z[(g<<2)+f>>2]=1/(j*+x[(g<<1)+i>>1]*8);g=b|5;z[(g<<2)+f>>2]=1/(j*+x[(g<<1)+i>>1]*.785694958*8);g=b|6;z[(g<<2)+f>>2]=1/(j*+x[(g<<1)+i>>1]*.5411961*8);g=b|7;z[(g<<2)+f>>2]=1/(j*+x[(g<<1)+i>>1]*.275899379*8);b=b+8|0;h=h+1|0;if((h|0)!=8){continue}break};v[((d<<2)+c|0)+4>>2]=345;break Q;default:break R}}b=v[a>>2];v[b+20>>2]=49;Qa[v[b>>2]](a)}k=k+88|0;d=d+1|0;if((d|0)>2]){continue}break}}}function kh(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;f=Ma-32|0;Ma=f;a:{if(v[a+292>>2]){break a}c=v[a+36>>2];if((v[c+20>>2]-v[c+16>>2]|0)>249){break a}oc(a)}b:{c:{g=v[a+36>>2];b=v[g+16>>2];c=w[b|0];if(!(((c&223)-65&255)>>>0<26|(c|0)==95)&(c|0)!=58){break c}c=b;while(1){d=w[c+1|0];e=c+1|0;c=e;if(((d&223)-65&255)>>>0<26){continue}c=e;if((d-48&255)>>>0<10){continue}h=d-45|0;if((d|0)==95|(1<>>0<=13:0)){continue}break}if(!d|d<<24>>24<0){break c}d=e-b|0;if(!(w[a+362|0]&8|(d|0)<50001)){if(!(!v[a+212>>2]|v[a+172>>2]!=-1)){c=0;break b}v[a+84>>2]=110;v[f+4>>2]=280105;v[f>>2]=246135;c=0;nb(0,0,0,a,0,1,110,3,280105,0,0,0,340574,f);v[a+12>>2]=0;if(v[a+288>>2]){break b}v[a+212>>2]=1;break b}c=Zc(v[a+296>>2],b,d);b=v[a+36>>2];v[b+16>>2]=e;v[a+200>>2]=d+v[a+200>>2];v[b+32>>2]=d+v[b+32>>2];if(c){break b}c=0;Yc(a,0);break b}if(!(v[a+292>>2]|(v[g+20>>2]-b|0)>249)){oc(a)}if(v[a+172>>2]==-1){c=0;break b}b=Be(a,f+28|0);d:{e:{f:{if(!(w[a+362|0]&2)){c=0;g:{h:{switch(b-47|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:break g;case 0:case 15:break b;default:break h}}if((b|0)!=32){break g}break b}i:{if((b|0)==58|(b&-33)-65>>>0<26|((b|0)==95|b-192>>>0<23)){break i}if(b-216>>>0<31|b-248>>>0<520|(b-880>>>0<14|b-895>>>0<7297)){break i}if((b&-2)==8204|b-8304>>>0<288|(b-11264>>>0<1008|b-12289>>>0<43007)){break i}if(b-63744>>>0<1232|b-65008>>>0<526|b-65536>>>0<=917503){break i}break b}e=v[f+28>>2];c=v[a+36>>2];b=v[c+16>>2];j:{if(w[b|0]==10){v[c+32>>2]=1;v[c+28>>2]=v[c+28>>2]+1;break j}v[c+32>>2]=v[c+32>>2]+1}b=b+e|0;v[c+16>>2]=b;c=0;if(w[b|0]!=37){break f}b=0;break e}c=0;k:{l:{switch(b-47|0){case 0:case 15:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:break k;default:break l}}if((b|0)!=32){break k}break b}m:{if((b|0)<=255){if((b&-33)-65>>>0<26|b-192>>>0<23|(b-216>>>0<31|(b|0)>247)){break m}if((b|0)==95|(b|0)==58){break m}break b}if(xl(b,870612)|(b|0)==12295|(b-19968>>>0<20902|b-12321>>>0<9)){break m}break b}e=v[f+28>>2];c=v[a+36>>2];b=v[c+16>>2];n:{if(w[b|0]==10){v[c+32>>2]=1;v[c+28>>2]=v[c+28>>2]+1;break n}v[c+32>>2]=v[c+32>>2]+1}h=c;c=b+e|0;v[h+16>>2]=c;if(w[c|0]==37){zc(a)}while(1){c=0;b=Be(a,f+28|0);while(1){o:{switch(b-47|0){default:if((b|0)==32){break d}break;case 0:case 15:break d;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:break o}}p:{q:{if((b|0)<=255){if((b&-33)-65>>>0<26|b-192>>>0<23|(b-48>>>0<10|(b|0)>247)){break p}if(b-216>>>0>=31){break q}break p}if(xl(b,870612)|b-12321>>>0<9|((b|0)==12295|b-19968>>>0<20902)){break p}if(xl(b,871096)){break p}}d=b-45|0;if((b|0)==95|(1<>>0<=13:0)){break p}r:{if((b|0)>=256){if(xl(b,871020)){break p}b=xl(b,871160);break r}b=(b|0)==183}if(!b){break d}}s:{if((c|0)<101){c=c+1|0;break s}t:{if(v[a+292>>2]){break t}c=v[a+36>>2];if((v[c+20>>2]-v[c+16>>2]|0)>249){break t}oc(a)}c=0;if(v[a+172>>2]==-1){break b}}d=v[f+28>>2];b=v[a+36>>2];g=v[b+16>>2];u:{if(w[g|0]==10){v[b+32>>2]=1;v[b+28>>2]=v[b+28>>2]+1;break u}v[b+32>>2]=v[b+32>>2]+1}h=b;b=d+g|0;v[h+16>>2]=b;if(w[b|0]==37){zc(a)}e=d+e|0;b=Be(a,f+28|0);if(b){continue}break}v:{if(v[a+292>>2]){break v}c=v[a+36>>2];if((v[c+20>>2]-v[c+16>>2]|0)>249){break v}oc(a)}c=0;if(v[a+172>>2]!=-1){continue}break}break b}b=1}while(1){if(!b){zc(a);b=1;continue}while(1){w:{x:{b=Be(a,f+28|0);switch(b-47|0){case 0:case 15:break d;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:break w;default:break x}}if((b|0)==32){break d}}y:{if((b&-33)-65>>>0<26|b-48>>>0<11|((b|0)==95|b-45>>>0<2)){break y}if((b|0)==183|b-192>>>0<23|(b-216>>>0<31|b-248>>>0<520)){break y}if(b-768>>>0<112|b-880>>>0<14|((b&-2)==8204|b-895>>>0<7297)){break y}if(b-8255>>>0<2|b-8304>>>0<288|(b-11264>>>0<1008|b-12289>>>0<43007)){break y}if(b-63744>>>0<1232|b-65008>>>0<526){break y}if(b-65536>>>0>917503){break d}}z:{if((c|0)<101){c=c+1|0;break z}A:{if(v[a+292>>2]){break A}c=v[a+36>>2];if((v[c+20>>2]-v[c+16>>2]|0)>249){break A}oc(a)}c=0;if(v[a+172>>2]==-1){break b}}d=v[f+28>>2];b=v[a+36>>2];g=v[b+16>>2];B:{if(w[g|0]==10){v[b+32>>2]=1;v[b+28>>2]=v[b+28>>2]+1;break B}v[b+32>>2]=v[b+32>>2]+1}e=d+e|0;h=b;b=d+g|0;v[h+16>>2]=b;if(w[b|0]!=37){continue}break}b=0;continue}}if(!(w[a+362|0]&8|(e|0)<50001)){if(v[a+212>>2]){c=0;if(v[a+172>>2]==-1){break b}}v[a+84>>2]=110;v[f+20>>2]=280105;v[f+16>>2]=246135;c=0;nb(0,0,0,a,0,1,110,3,280105,0,0,0,340574,f+16|0);v[a+12>>2]=0;if(v[a+288>>2]){break b}v[a+212>>2]=1;break b}c=v[v[a+36>>2]+16>>2];if(!(w[c|0]!=10|w[c-1|0]!=13)){c=Zc(v[a+296>>2],c+(e^-1)|0,e);break b}c=Zc(v[a+296>>2],c-e|0,e)}Ma=f+32|0;return c}function R_(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;e=Ma-1488|0;Ma=e;g=v[a+4>>2];k=v[g+556>>2];p=v[k+40>>2];h=v[g+712>>2];a:{b:{if(!(v[h+1504>>2]==65535|!v[h+1192>>2])){if(!c){c=0;break b}f=h+1180|0;if(y[f+16>>2]>=c>>>0){c=x[v[f+12>>2]+(c<<1)>>1]}else{c=0}if(c){break b}f=6;break a}f=6;if(y[h+20>>2]<=c>>>0){break a}}v[a+164>>2]=65536;v[a+168>>2]=65536;l=d&1024?d|3:d;c:{d:{if(!b){break d}v[a+164>>2]=v[b+16>>2];v[a+168>>2]=v[b+20>>2];i=v[b+44>>2];if((i|0)==-1){break d}f=v[b>>2];d=v[f+540>>2];if(!v[d+96>>2]|l&8){break d}if(Qa[v[d+72>>2]](g,i,c,l,v[f+104>>2],a+76|0,e+704|0)|0){break d}v[a+108>>2]=0;v[a+24>>2]=x[e+706>>1]<<6;v[a+28>>2]=x[e+704>>1]<<6;j=u[e+708>>1];v[a+32>>2]=j<<6;i=u[e+710>>1];v[a+36>>2]=i<<6;v[a+40>>2]=x[e+712>>1]<<6;f=u[e+714>>1];v[a+44>>2]=f<<6;b=u[e+716>>1];v[a+48>>2]=b<<6;d=x[e+718>>1];h=b;b=l&16;v[a+104>>2]=b?h:i;v[a+100>>2]=b?f:j;v[a+72>>2]=1651078259;v[a+52>>2]=d<<6;Qa[v[v[g+540>>2]+140>>2]](g,0,c,e+32|0,e+48|0);v[a+56>>2]=x[e+48>>1];if(!(!w[g+292|0]|!x[g+330>>1])){Qa[v[v[g+540>>2]+140>>2]](g,1,c,e+32|0,e+48|0);v[a+60>>2]=x[e+48>>1];break c}if(x[g+372>>1]!=65535){v[a+60>>2]=u[g+442>>1]-u[g+444>>1];break c}v[a+60>>2]=u[g+220>>1]-u[g+222>>1];break c}f=6;if(l&16384){break a}e:{if(v[h+2024>>2]){f=O_(h+3052|0,c);d=v[h+2024>>2];i=(h+(((d>>>0>f>>>0?f:d-1|0)&255)<<2)|0)+2028|0;d=v[i>>2];m=v[d+68>>2];j=v[h+1440>>2];f=v[d+60>>2];v[e+40>>2]=v[d+56>>2];v[e+44>>2]=f;f=v[d+52>>2];v[e+32>>2]=v[d+48>>2];v[e+36>>2]=f;d=v[i>>2];n=v[d+72>>2];o=v[d+76>>2];i=0;if((j|0)==(m|0)){break e}r=a,s=fc(v[a+164>>2],j,m),v[r+164>>2]=s;r=a,s=fc(v[a+168>>2],j,m),v[r+168>>2]=s;i=1;break e}f=h+1428|0;d=v[f+4>>2];v[e+40>>2]=v[f>>2];v[e+44>>2]=d;f=h+1420|0;d=v[f+4>>2];v[e+32>>2]=v[f>>2];v[e+36>>2]=d;o=v[h+1448>>2];n=v[h+1444>>2];i=0}v[a+108>>2]=0;v[a+72>>2]=1869968492;m=l&1;t[a+161|0]=!m;q=(l>>>1^-1)&1;t[a+160|0]=q;Qa[v[p>>2]](e+704|0,g,b,a,q,l>>>16&15,2133,2134);if(l&256){t[e+1297|0]=1}j=l&1024;t[e+770|0]=j>>>10;d=v[v[g+128>>2]+52>>2];f:{if(d){f=Qa[v[v[d>>2]>>2]](v[d+4>>2],c,e+48|0)|0;v[e+28>>2]=v[e+48>>2];v[e+24>>2]=v[e+52>>2];break f}f=SA(v[g+712>>2]+1204|0,c,e+28|0,e+24|0)}if(f){break a}f=Qa[v[p+4>>2]](e+704|0,b,c)|0;if(f){break a}d=e+48|0;Qa[v[k+24>>2]](d,e+704|0,0);f=Qa[v[p+8>>2]](d,v[e+28>>2],v[e+24>>2])|0;if((f&255)==164){t[a+160|0]=0;i=1;q=0;f=Qa[v[p+8>>2]](e+48|0,v[e+28>>2],v[e+24>>2])|0}d=v[v[g+128>>2]+52>>2];g:{if(d){v[e+12>>2]=v[e+24>>2];v[e+8>>2]=v[e+28>>2];Qa[v[v[d>>2]+4>>2]](v[d+4>>2],e+8|0);break g}Q_(v[g+712>>2]+1204|0,e+28|0)}if(f){break a}d=a;h:{i:{if(v[v[g+128>>2]+52>>2]){v[a+136>>2]=0;f=0;break i}f=v[h+1232>>2];if(!f){break h}v[a+136>>2]=(v[h+1236>>2]+v[f+(c<<2)>>2]|0)-1;f=v[e+24>>2]}v[d+140>>2]=f}Qa[v[e+784>>2]](e+704|0);k=v[v[g+128>>2]+52>>2];j:{if(!k){break j}f=v[v[k>>2]+8>>2];if(!f){break j}v[e+12>>2]=0;v[e+8>>2]=v[e+736>>2];d=v[e+748>>2];v[e+16>>2]=v[e+744>>2];v[e+20>>2]=d;f=Qa[f|0](v[k+4>>2],c,0,e+8|0)|0;v[e+736>>2]=v[e+8>>2];d=v[e+20>>2];v[e+744>>2]=v[e+16>>2];v[e+748>>2]=d;if(f){break a}}if(j){v[a+32>>2]=v[e+736>>2];v[a+40>>2]=v[e+1288>>2];f=v[e+40>>2];d=v[e+44>>2];c=v[e+32>>2];b=v[e+36>>2];a=v[a+156>>2];v[a+28>>2]=n;v[a+32>>2]=o;t[a+8|0]=1;v[a+20>>2]=f;v[a+24>>2]=d;v[a+12>>2]=c;v[a+16>>2]=b;break c}k:{if(x[g+250>>1]){u[e+8>>1]=0;u[e+28>>1]=0;Qa[v[v[g+540>>2]+140>>2]](g,0,c,e+8|0,e+28|0);d=x[e+28>>1];v[a+32>>2]=u[e+8>>1];break k}d=v[e+1288>>2]}v[a+56>>2]=d;v[a+40>>2]=d;t[v[a+156>>2]+8|0]=0;l:{if(!(!w[g+292|0]|!x[g+330>>1])){u[e+8>>1]=0;u[e+28>>1]=0;Qa[v[v[g+540>>2]+140>>2]](g,1,c,e+8|0,e+28|0);v[a+48>>2]=u[e+8>>1];d=x[e+28>>1];v[a+52>>2]=d;f=1;break l}m:{if(x[g+372>>1]!=65535){d=u[g+442>>1]-u[g+444>>1]|0;v[a+52>>2]=d;break m}d=u[g+220>>1]-u[g+222>>1]|0;v[a+52>>2]=d}f=0}v[a+72>>2]=1869968492;v[a+60>>2]=d;k=a+108|0;v[a+124>>2]=b?x[b+14>>1]<24?260:4:4;n:{if(!(v[e+36>>2]|(v[e+32>>2]!=65536|v[e+44>>2]!=65536))){if(!v[e+40>>2]){break n}}xn(k,e+32|0);r=a,s=xb(v[a+40>>2],v[e+32>>2]),v[r+40>>2]=s;r=a,s=xb(v[a+52>>2],v[e+44>>2]),v[r+52>>2]=s}if(n|o){Jg(k,n,o);v[a+40>>2]=v[a+40>>2]+n;v[a+52>>2]=v[a+52>>2]+o}if(!(i?0:m)){j=v[a+168>>2];i=v[a+164>>2];o:{if(v[e+772>>2]?q:0){break o}b=u[a+110>>1];if((b|0)<1){break o}b=b&65535;d=v[a+112>>2];while(1){r=d,s=xb(v[d>>2],i),v[r>>2]=s;r=d,s=xb(v[d+4>>2],j),v[r+4>>2]=s;d=d+8|0;c=(b|0)>1;b=b-1|0;if(c){continue}break}}r=a,s=xb(v[a+40>>2],i),v[r+40>>2]=s;r=a,s=xb(v[a+52>>2],j),v[r+52>>2]=s}yn(k,e+8|0);d=v[e+8>>2];v[a+24>>2]=v[e+16>>2]-d;c=v[e+12>>2];b=v[e+20>>2];v[a+36>>2]=b;v[a+32>>2]=d;v[a+28>>2]=b-c;if(f){v[a+44>>2]=d+(v[a+40>>2]/-2|0);r=a,s=xb(v[a+48>>2],v[a+168>>2]),v[r+48>>2]=s;break c}if(!(l&16)){break c}kt(a+24|0,v[a+52>>2])}f=0}Ma=e+1488|0;return f}function tq(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(!a){return-1}v[a+68>>2]=0;a:{f=v[a+4>>2];b:{if(f){b=v[a+16>>2];if((b|0)==2){break b}c=v[a+64>>2];c:{while(1){e=a;d:{if(!c){c=v[f+12>>2];if(!c){break c}v[a+64>>2]=c;b=0;break d}e:{if((b|0)==4){break e}d=v[c+4>>2];if(1<>>0<=19:0){break e}b=v[c+12>>2];if(b){v[a+64>>2]=b;v[a+72>>2]=v[a+72>>2]+1;c=b;b=0;break d}b=4;if((d|0)==2){break d}}b=v[c+24>>2];if(b){v[a+64>>2]=b;c=b;b=0;break d}d=v[c+20>>2];b=2;if(!d){break d}f:{switch(v[d+4>>2]-9|0){case 0:case 4:break c;default:break f}}v[a+64>>2]=d;v[a+72>>2]=v[a+72>>2]-1;c=d;b=4}v[e+16>>2]=b;if(v[c+4>>2]-19>>>0<2){continue}break}return 1}v[a+16>>2]=2;return 0}b=v[a+20>>2];if(!b){return-1}g:{h:{if(!v[a>>2]){v[a>>2]=1;i:{j:{while(1){if((Uz(a)|0)<=-1){break a}b=v[a+20>>2];if(v[b+52>>2]){break j}if(v[a>>2]!=3&v[a+16>>2]!=5){continue}break}d=v[b+8>>2];k:{if(!d){e=v[a+64>>2];break k}e=v[d+12>>2];v[a+64>>2]=e}if(e){break i}break a}d=v[b+8>>2];l:{if(!d){e=v[a+64>>2];break l}e=v[d+12>>2];v[a+64>>2]=e}if(e){break i}v[a+64>>2]=v[v[b+64>>2]>>2]}v[a+72>>2]=0;v[a+16>>2]=1;v[b+436>>2]=5;break h}i=v[b+56>>2];g=v[a+16>>2];c=v[a+64>>2];h=c;b=0;break g}b=1}while(1){m:{n:{o:{p:{q:{r:{s:{t:{if(!b){u:{if(c){if((g|0)!=4){break u}while(1){b=v[c+24>>2];if(b){break t}b=0;d=v[a+20>>2];if(v[d+56>>2]!=(i|0)){break t}e=v[d+52>>2];if(!(!e|(c|0)==(e|0))&(e|0)!=v[c+20>>2]|v[d+172>>2]==-1){break t}if((Uz(a)|0)<0){break a}c=v[a+64>>2];if(c){continue}break}break m}return v[a>>2]!=3?-1:0}while(1){b=v[c+24>>2];if(b){break t}b=0;e=v[a+20>>2];if(v[e+56>>2]!=(i|0)){break t}d=v[c+12>>2];v:{if(!d){break v}f=v[c+4>>2];if((f|0)==5|(v[d+24>>2]?0:v[d+4>>2]==3)){break v}if(!(1<>>0>14){break s}}d=v[e+52>>2];if(!(!d|(c|0)==(d|0))&(d|0)!=v[c+20>>2]|v[e+172>>2]==-1){break t}if((Uz(a)|0)<=-1){break a}c=v[a+64>>2];if(c){continue}break}break m}e=1;c=v[a+64>>2];if(!c){break b}w:{if(v[c+24>>2]|v[c+4>>2]-3>>>0>1){break w}c=0;x:{y:{if(!a){break y}b=v[a+64>>2];if(!b){break y}d=b;if(v[a+4>>2]){break x}f=v[a+20>>2];if(!f){break y}d=b;if(v[f+172>>2]==-1){break x}z:{while(1){A:{if(!b){break A}c=b;if(v[b+24>>2]){break z}while(1){c=v[c+20>>2];if(!c){break A}if(!v[c+24>>2]){continue}break}d=b;break x}if(v[a>>2]==3|v[f+56>>2]>2]){break z}if((Uz(a)|0)>=0){if(v[a>>2]==3){break z}f=v[a+20>>2];if(v[f+172>>2]==-1){break z}b=v[a+64>>2];continue}break}v[a>>2]=2;d=0;break x}c=v[a+64>>2]}d=c}if(!d){return-1}c=v[a+64>>2];if(c){break w}return 1}B:{if(v[c+4>>2]!=5){break B}b=v[a+20>>2];if(!b|v[b+16>>2]!=1){break B}d=v[c+12>>2];if(!d){d=v[b>>2];if(!d){break B}d=v[d+20>>2];if(!d){break B}d=Qa[d|0](b,v[c+8>>2])|0;c=v[a+64>>2];v[c+12>>2]=d;if(!d){break B}}if(!v[d+12>>2]|v[d+4>>2]!=17){break B}C:{D:{E:{f=v[a+100>>2];if((f|0)<=0){v[a+100>>2]=10;b=Qa[v[256552]](40)|0;v[a+104>>2]=b;if(!b){break E}f=v[a+100>>2]}b=v[a+96>>2];F:{if((f|0)>(b|0)){f=v[a+104>>2];break F}v[a+100>>2]=f<<1;f=Qa[v[256557]](v[a+104>>2],f<<3)|0;v[a+104>>2]=f;if(!f){break D}b=v[a+96>>2]}v[(b<<2)+f>>2]=c;v[a+96>>2]=b+1;v[a+92>>2]=c;break C}Qa[v[256654]](v[291043],348049,0);break C}Qa[v[256654]](v[291043],348028,0)}c=v[v[v[a+64>>2]+12>>2]+12>>2];v[a+64>>2]=c;if(c){break B}return 1}if(v[c+4>>2]!=17){break b}b=v[a+92>>2];if(!b|v[b+12>>2]!=(c|0)){break b}b=v[a+96>>2];G:{if((b|0)<1){c=0;break G}e=b-1|0;v[a+96>>2]=e;d=v[a+104>>2];v[a+92>>2]=(b|0)!=1?v[(d+(b<<2)|0)-8>>2]:0;b=d+(e<<2)|0;c=v[b>>2];v[b>>2]=0}v[a+64>>2]=c;v[a+72>>2]=v[a+72>>2]+1;b=0;continue}if((g|0)!=4){d=v[c+12>>2];if(d){break s}e=0;break r}if(b){break q}break o}f=v[c+4>>2];if(f>>>0<=19){e=1;if(1<>2]=d;v[a+16>>2]=1;v[a+72>>2]=v[a+72>>2]+1;break n}if(!b){break p}if(t[c+58|0]&1|(v[c+4>>2]!=1|e|(g|0)!=1)){break q}v[a+16>>2]=2;g=1;break n}e=v[a+116>>2];if((e|0)>=1){if(!(w[c+58|0]&4)){v[a+16>>2]=1;v[a+64>>2]=b;break n}e=e-1|0;v[a+116>>2]=e}v[a+16>>2]=1;v[a+64>>2]=b;if(v[a+96>>2]|e){break n}b=v[b+28>>2];if(!b|v[b+4>>2]==14|w[b+58|0]&2){break n}hj(b);wH(a,b);break n}if(t[c+58|0]&1|(v[c+4>>2]!=1|e|(g|0)!=1)){break o}v[a+16>>2]=2;g=1;break n}e=1;b=v[a+116>>2];H:{if((b|0)<1){e=b;break H}if(!(w[c+58|0]&4)){break H}e=b-1|0;v[a+116>>2]=e}b=v[c+20>>2];v[a+64>>2]=b;I:{J:{if(!b){break J}switch(v[b+4>>2]-9|0){case 0:case 4:break J;default:break I}}if(v[a>>2]!=3){c=Gz(v[a+20>>2],349015,0,1);v[a+16>>2]=5;e=-1;if(c){break b}}v[a+72>>2]=-1;v[a+64>>2]=0;if(v[a+116>>2]|!h|(v[a+96>>2]|v[h+4>>2]==14)){break m}if(w[h+58|0]&2){break m}hj(h);wH(a,h);break m}K:{if(v[a+96>>2]|e){break K}b=v[b+16>>2];if(!b|w[b+58|0]&2){break K}hj(b);wH(a,b)}v[a+16>>2]=4;v[a+72>>2]=v[a+72>>2]-1}b=1;continue}break}v[a+16>>2]=5;e=0}return e}v[a+16>>2]=6;v[a>>2]=2;return-1}function Zx(a,b,c,d,e,f,g){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,w=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,O=0,P=0;i=Ma-2336|0;Ma=i;k=32;E=1;s=0;a:{if((b|0)>=32){break a}E=0;if((b|0)>15){k=16;n=1;s=0;break a}if((b|0)>7){k=8;n=2;s=0;break a}n=3;if((b|0)>3){k=4;s=1;break a}h=(b|0)<2;k=h?1:2;n=h?5:4;s=1}b:{c:{if((b|0)==(k|0)){y=v[c>>2];r=v[c+8>>2];if((y|0)>=(r|0)){break c}o=v[c+4>>2];m=v[c+12>>2];if((o|0)>=(m|0)){break c}k=v[a+4>>2];h=v[a+8>>2];v[i+2320>>2]=0;v[i+2324>>2]=0;j=b-1|0;h=(j+h|0)/(b|0)|0;v[i+2332>>2]=h;b=(j+k|0)/(b|0)|0;v[i+2328>>2]=b;if((y|0)<0|(o|0)<0|((b|0)<(r|0)|(h|0)<(m|0))){break b}w=1<>2];v[k+8>>2]=v[c+8>>2];v[k+12>>2]=b;b=v[c+4>>2];v[k>>2]=v[c>>2];v[k+4>>2]=b;b=v[c+4>>2];h=h+j|0;v[h>>2]=v[c>>2];v[h+4>>2]=b;b=v[c+12>>2];v[h+8>>2]=v[c+8>>2];v[h+12>>2]=b;if(!E){k=1;h=n;while(1){y=i+2064|0;m=y+(h<<4)|0;j=v[m+12>>2];b=h-1|0;C=b<<4;l=C+(i+2192|0)|0;v[l+8>>2]=v[m+8>>2];v[l+12>>2]=j;j=v[m+4>>2];v[l>>2]=v[m>>2];v[l+4>>2]=j;j=B(k,3);r=v[l>>2]-j|0;v[l>>2]=r;o=j+v[l+8>>2]|0;v[l+8>>2]=o;m=v[l+4>>2]-j|0;v[l+4>>2]=m;j=j+v[l+12>>2]|0;v[l+12>>2]=j;if(!((o|0)>(r|0)&(j|0)>(m|0))){v[l>>2]=0;v[l+4>>2]=0;v[l+8>>2]=0;v[l+12>>2]=0}Au(l,l,i+2320|0);o=y+C|0;k=k<<1;m=0-k|0;v[o+8>>2]=m&v[l+8>>2];v[o+12>>2]=m&v[l+12>>2];j=k-1|0;v[o>>2]=m&j+v[l>>2];v[o+4>>2]=m&j+v[l+4>>2];j=(h|0)>1;h=b;if(j){continue}break}}j=0-w|0;F=j&v[i+2204>>2]-1;h=F+w|0;G=j&v[i+2200>>2]-1;b=G+w|0;y=j&v[i+2192>>2];z=b-y|0;r=j&v[i+2196>>2];K=pc(i+2048|0,i+2060|0,B(z,h-r|0),2);if(!((h|0)<=(r|0)|(b|0)<=(y|0))){H=v[a+12>>2]>>5;o=(v[a>>2]+(B(H,r>>n)<<4)|0)+(y>>n<<4)|0;m=v[i+2060>>2];M=z<>2];P=v[i+2224>>2];C=y;j=m;a=o;while(1){h=n;d:{if(!s){break d}if(!((C+31|0)<(P|0)|v[i+2232>>2]<(C|0)|(N|0)<(O|0))){h=n;if(v[i+2236>>2]>=(l|0)){break d}}h=2}p=0;b=eb(i,0,2048);I=32>>>h|0;D=n-h|0;J=1<>>4|0;A=0;while(1){h=v[(A>>>2&1073741820)+a>>2];e:{if(!h){break e}q=v[h+((A&15)<<2)>>2];if(!q){break e}h=p<<2;u[(v[h+979440>>2]<<1)+b>>1]=x[q>>1];u[(v[(h|4)+979440>>2]<<1)+b>>1]=x[q+2>>1];u[(v[(h|8)+979440>>2]<<1)+b>>1]=x[q+4>>1];u[(v[(h|12)+979440>>2]<<1)+b>>1]=x[q+6>>1];u[(v[(h|16)+979440>>2]<<1)+b>>1]=x[q+8>>1];u[(v[(h|20)+979440>>2]<<1)+b>>1]=x[q+10>>1];u[(v[(h|24)+979440>>2]<<1)+b>>1]=x[q+12>>1];u[(v[(h|28)+979440>>2]<<1)+b>>1]=x[q+14>>1];u[(v[(h|32)+979440>>2]<<1)+b>>1]=x[q+16>>1];u[(v[(h|36)+979440>>2]<<1)+b>>1]=x[q+18>>1];u[(v[(h|40)+979440>>2]<<1)+b>>1]=x[q+20>>1];u[(v[(h|44)+979440>>2]<<1)+b>>1]=x[q+22>>1];u[(v[(h|48)+979440>>2]<<1)+b>>1]=x[q+24>>1];u[(v[(h|52)+979440>>2]<<1)+b>>1]=x[q+26>>1];u[(v[(h|56)+979440>>2]<<1)+b>>1]=x[q+28>>1];u[(v[(h|60)+979440>>2]<<1)+b>>1]=x[q+30>>1]}p=p+16|0;A=A+1|0;if((k|0)!=(A|0)){continue}break}p=z<>1]=x[b>>1];b=(I<<1)+b|0;k=k+J|0;if((w|0)>(k|0)){continue}break}b=(D<<1)+b|0;h=(p<<1)+h|0;A=A+J|0;if((A|0)<(w|0)){continue}break}a=a+16|0;j=(w<<1)+j|0;b=(C|0)<(G|0);C=w+C|0;if(b){continue}break}o=(H<<4)+o|0;m=m+M|0;a=(l|0)<(F|0);l=l+w|0;if(a){continue}break}}b=0;o=0-r|0;m=0-y|0;f:{if(E){break f}s=z<<1;while(1){j=(i+2192|0)+(b<<4)|0;a=v[j+12>>2];v[i+8>>2]=v[j+8>>2];v[i+12>>2]=a;h=v[j+4>>2];a=v[j>>2];v[i>>2]=a;v[i+4>>2]=h;h=a;a=0-w|0;v[i>>2]=h&a;v[i+4>>2]=a&v[i+4>>2];go(i,m,o);if(!(!g|b>>>0<4)){p=v[i+4>>2];k=v[i+12>>2];if((p|0)>=(k|0)){break f}a=v[i>>2];j=v[i+8>>2];if((a|0)>=(j|0)){break f}h=v[i+2060>>2]+(B(p,z)<<1)|0;n=s<<1;while(1){b=a;while(1){g=(b<<1)+h|0;s=x[g>>1];u[g+2>>1]=s;g=(b+z<<1)+h|0;u[g>>1]=s;u[g+2>>1]=s;b=b+2|0;if((j|0)>(b|0)){continue}break}h=h+n|0;p=p+2|0;if((k|0)>(p|0)){continue}break}break f}h=v[i+4>>2];a=v[i>>2];j=w;w=w>>>1|0;su((v[i+2060>>2]+(B(h,z)<<1)|0)+(a<<1)|0,v[i+8>>2]-a|0,v[i+12>>2]-h|0,z,j,w);b=b+1|0;if((n|0)!=(b|0)){continue}break}}a=v[c+12>>2];v[i+8>>2]=v[c+8>>2];v[i+12>>2]=a;a=v[c+4>>2];v[i>>2]=v[c>>2];v[i+4>>2]=a;go(i,m,o);p=v[i+4>>2];o=v[i+12>>2];g:{if((p|0)>=(o|0)){break g}r=v[i+8>>2];c=v[i>>2];if((r|0)<=(c|0)){break g}m=r-c&1;g=v[i+2060>>2]+(B(p,z)<<1)|0;a=c+1|0;s=(a|0)==(r|0);while(1){b=d;k=c;if(m){h=u[(c<<1)+g>>1];b=h+32>>6;t[d|0]=(h|0)<-8224?-128:(b|0)<127?b:127;k=a;b=d+f|0}if(!s){while(1){j=(k<<1)+g|0;n=u[j>>1];h=n+32>>6;t[b|0]=(n|0)<-8224?-128:(h|0)<127?h:127;n=b+f|0;h=u[j+2>>1];b=h+32>>6;t[n|0]=(h|0)<-8224?-128:(b|0)<127?b:127;b=f+n|0;k=k+2|0;if((r|0)!=(k|0)){continue}break}}d=d+e|0;g=(z<<1)+g|0;p=p+1|0;if((o|0)!=(p|0)){continue}break}}ec(K);Ma=i+2336|0;return}lb(mb(i,237554,241950,756,328035));L()}lb(mb(i,233589,241950,758,328035));L()}lb(mb(i,233631,241950,761,328035));L()}function ak(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=!b;a:{b:{c:{d:{if(v[a+132>>2]>=1){i=v[a>>2];if(v[i+44>>2]!=2){break b}if(x[a+148>>1]|x[a+152>>1]|(x[a+156>>1]|x[a+160>>1])){break c}if(x[a+164>>1]|x[a+168>>1]|(x[a+172>>1]|x[a+204>>1])){break c}if(x[a+208>>1]|x[a+212>>1]|(x[a+216>>1]|x[a+220>>1])){break c}if(x[a+224>>1]|x[a+228>>1]|(x[a+232>>1]|x[a+236>>1])){break c}if(x[a+240>>1]|x[a+244>>1]|(x[a+248>>1]|x[a+260>>1])){break c}if(x[a+272>>1]|(x[a+264>>1]|x[a+268>>1])){break c}if(x[a+200>>1]|(x[a+184>>1]|x[a+188>>1])){break d}g=32;while(1){e=g<<2;if(x[(e+a|0)+148>>1]|x[((e|4)+a|0)+148>>1]|(x[((e|8)+a|0)+148>>1]|x[((e|12)+a|0)+148>>1])){break d}g=g+4|0;if((g|0)!=256){continue}break}break c}f=c+5|0;e=f;break a}f=1}v[i+44>>2]=f}YH(a,a+2840|0);YH(a,a+2852|0);e=x[a+150>>1];l=v[a+2844>>2];u[((l<<2)+a|0)+154>>1]=65535;g=0;if((l|0)>=0){h=e?7:138;m=e?4:3;k=-1;i=0;while(1){f=e;n=i;i=i+1|0;e=x[((i<<2)+a|0)+150>>1];j=g+1|0;e:{if(!((f|0)!=(e|0)|(j|0)>=(h|0))){g=j;break e}f:{if((j|0)<(m|0)){g=((f<<2)+a|0)+2684|0;u[g>>1]=j+x[g>>1];break f}if(f){if((f|0)!=(k|0)){g=((f<<2)+a|0)+2684|0;u[g>>1]=x[g>>1]+1}u[a+2748>>1]=x[a+2748>>1]+1;break f}if((g|0)<=9){u[a+2752>>1]=x[a+2752>>1]+1;break f}u[a+2756>>1]=x[a+2756>>1]+1}g=0;g:{if(!e){m=3;h=138;break g}h=(e|0)==(f|0);m=h?3:4;h=h?6:7}k=f}if((l|0)!=(n|0)){continue}break}}e=x[a+2442>>1];l=v[a+2856>>2];u[((l<<2)+a|0)+2446>>1]=65535;g=0;if((l|0)>=0){h=e?7:138;m=e?4:3;k=-1;i=0;while(1){f=e;n=i;i=i+1|0;e=x[((i<<2)+a|0)+2442>>1];j=g+1|0;h:{if(!((f|0)!=(e|0)|(j|0)>=(h|0))){g=j;break h}i:{if((j|0)<(m|0)){g=((f<<2)+a|0)+2684|0;u[g>>1]=j+x[g>>1];break i}if(f){if((f|0)!=(k|0)){g=((f<<2)+a|0)+2684|0;u[g>>1]=x[g>>1]+1}u[a+2748>>1]=x[a+2748>>1]+1;break i}if((g|0)<=9){u[a+2752>>1]=x[a+2752>>1]+1;break i}u[a+2756>>1]=x[a+2756>>1]+1}g=0;j:{if(!e){m=3;h=138;break j}h=(e|0)==(f|0);m=h?3:4;h=h?6:7}k=f}if((l|0)!=(n|0)){continue}break}}YH(a,a+2864|0);g=a;e=v[a+5800>>2];f=18;k:{if(x[a+2746>>1]){break k}f=17;if(x[a+2690>>1]){break k}f=16;if(x[a+2742>>1]){break k}f=15;if(x[a+2694>>1]){break k}f=14;if(x[a+2738>>1]){break k}f=13;if(x[a+2698>>1]){break k}f=12;if(x[a+2734>>1]){break k}f=11;if(x[a+2702>>1]){break k}f=10;if(x[a+2730>>1]){break k}f=9;if(x[a+2706>>1]){break k}f=8;if(x[a+2726>>1]){break k}f=7;if(x[a+2710>>1]){break k}f=6;if(x[a+2722>>1]){break k}f=5;if(x[a+2714>>1]){break k}f=4;if(x[a+2718>>1]){break k}f=x[a+2686>>1]?3:2}i=f;e=e+B(f,3)|0;v[g+5800>>2]=e+17;e=e+27>>>3|0;f=v[a+5804>>2]+10>>>3|0;e=e>>>0>>0?e:f}l:{if(!(o|e>>>0>>0)){oA(a,b,c,d);break l}h=v[a+5820>>2];if(!(v[a+136>>2]!=4&(e|0)!=(f|0))){c=d+2|0;b=a;m:{if((h|0)>=14){e=x[a+5816>>1]|c<>1]=e;i=v[a+20>>2];v[a+20>>2]=i+1;t[i+v[a+8>>2]|0]=e;e=v[a+20>>2];v[a+20>>2]=e+1;t[e+v[a+8>>2]|0]=w[a+5817|0];f=c&65535;c=v[a+5820>>2];u[a+5816>>1]=f>>>16-c;c=c-13|0;break m}u[a+5816>>1]=x[a+5816>>1]|c<>2]=c;wY(a,867264,868416);break l}b=d+4|0;c=a;n:{if((h|0)>=14){e=x[a+5816>>1]|b<>1]=e;g=v[a+20>>2];v[a+20>>2]=g+1;t[g+v[a+8>>2]|0]=e;e=v[a+20>>2];v[a+20>>2]=e+1;t[e+v[a+8>>2]|0]=w[a+5817|0];f=b&65535;b=v[a+5820>>2];g=f>>>16-b|0;b=b-13|0;break n}g=x[a+5816>>1]|b<>2]=b;k=v[a+2844>>2];c=k+65280|0;h=v[a+2856>>2];j=a;o:{if((b|0)>=12){b=c<>1]=b;e=v[a+20>>2];v[a+20>>2]=e+1;t[e+v[a+8>>2]|0]=b;b=v[a+20>>2];v[a+20>>2]=b+1;t[b+v[a+8>>2]|0]=w[a+5817|0];b=v[a+5820>>2];e=(c&65535)>>>16-b|0;f=b-11|0;break o}e=c<>2]=f;b=h+65536|0;c=a;p:{if((f|0)>=12){b=b<>1]=b;e=v[a+20>>2];v[a+20>>2]=e+1;t[e+v[a+8>>2]|0]=b;b=v[a+20>>2];v[a+20>>2]=b+1;t[b+v[a+8>>2]|0]=w[a+5817|0];b=v[a+5820>>2];g=(h&65535)>>>16-b|0;b=b-11|0;break p}g=b<>2]=b;c=i+65533|0;q:{if((b|0)>=13){b=c<>1]=b;e=v[a+20>>2];v[a+20>>2]=e+1;t[e+v[a+8>>2]|0]=b;b=v[a+20>>2];v[a+20>>2]=b+1;t[b+v[a+8>>2]|0]=w[a+5817|0];b=c&65535;c=v[a+5820>>2];b=b>>>16-c|0;e=c-12|0;break q}e=b+4|0;b=c<>2]=e;f=0;g=a+5817|0;while(1){j=x[((w[f+868880|0]<<2)+a|0)+2686>>1];b=j<>1]=b;c=a;r:{if((e|0)>=14){e=v[a+20>>2];v[a+20>>2]=e+1;t[e+v[a+8>>2]|0]=b;b=v[a+20>>2];v[a+20>>2]=b+1;t[b+v[a+8>>2]|0]=w[g|0];e=v[a+5820>>2];b=j>>>16-e|0;u[a+5816>>1]=b;e=e-13|0;break r}e=e+3|0}v[c+5820>>2]=e;c=(f|0)!=(i|0);f=f+1|0;if(c){continue}break}b=a+148|0;vY(a,b,k);c=a+2440|0;vY(a,c,h);wY(a,b,c)}xY(a);if(d){b=v[a+5820>>2];s:{if((b|0)>=9){b=v[a+20>>2];v[a+20>>2]=b+1;t[b+v[a+8>>2]|0]=w[a+5816|0];b=v[a+20>>2];v[a+20>>2]=b+1;t[b+v[a+8>>2]|0]=w[a+5817|0];break s}if((b|0)<1){break s}b=v[a+20>>2];v[a+20>>2]=b+1;t[b+v[a+8>>2]|0]=w[a+5816|0]}v[a+5820>>2]=0;u[a+5816>>1]=0}}function xS(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=Ma-48|0;Ma=d;a:{b:{c:{e=v[c>>2];g=w[e|0];if(!g){f=e;break c}while(1){f=g<<24>>24;if((f|0)==32|f-9>>>0<5){f=e+1|0;v[c>>2]=f;g=w[e+1|0];e=f;if(g){continue}break c}break}d:{e:{switch((g&255)-40|0){case 0:v[c>>2]=e+1;v[d+24>>2]=0;qb(d+24|0,0);v[a>>2]=0;b=v[d+24>>2];if(!b){v[a+4>>2]=0;break b}v[b+4>>2]=v[b+4>>2]+1;b=a;a=v[d+24>>2];v[b+4>>2]=a;v[d+24>>2]=0;if(!a){break b}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break b}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}break b;case 1:v[c>>2]=e+1;v[d+24>>2]=0;qb(d+24|0,0);v[a>>2]=1;b=v[d+24>>2];if(!b){v[a+4>>2]=0;break b}v[b+4>>2]=v[b+4>>2]+1;b=a;a=v[d+24>>2];v[b+4>>2]=a;v[d+24>>2]=0;if(!a){break b}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break b}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}break b;default:if((g-48&255)>>>0>9){break d}break;case 5:break e}}b=ab(56);e=Af(e,c,10);v[b+8>>2]=1;v[b+12>>2]=0;v[b>>2]=971180;v[b+4>>2]=0;c=v[279250];v[b+48>>2]=0;v[b+52>>2]=0;v[b+20>>2]=e;v[b+24>>2]=0;v[b+32>>2]=0;v[b+40>>2]=0;v[b+44>>2]=0;v[b+36>>2]=c;v[b+28>>2]=c;v[b+16>>2]=c;v[b+40>>2]=970612;v[b+44>>2]=0;v[b+48>>2]=0;v[b+52>>2]=0;v[d+24>>2]=0;qb(d+24|0,b);v[a>>2]=2;b=v[d+24>>2];if(!b){v[a+4>>2]=0;break b}v[b+4>>2]=v[b+4>>2]+1;b=a;a=v[d+24>>2];v[b+4>>2]=a;v[d+24>>2]=0;if(!a){break b}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break b}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}break b}if((g&255)!=34){f=e;break c}v[d+8>>2]=0;v[d+12>>2]=v[279250];e=e+1|0;v[c>>2]=e;while(1){f=0;while(1){g=w[e+f|0];if(!(!g|(g|0)==34|(g|0)==92)){f=f+1|0;continue}break}if(f){g=eg(d,e,f);Xb(d+24|0,d+8|0,g);e=v[d+24>>2];f:{if(e){Qa[v[v[e>>2]+28>>2]](d+16|0,e,1);break f}v[d+16>>2]=0}jb(d+8|0,d+16|0);e=v[d+16>>2];v[d+16>>2]=0;g:{if(!e){break g}h=v[e+4>>2]-1|0;v[e+4>>2]=h;if(h){break g}h=v[e+4>>2];if(!h){v[e+4>>2]=-32767}if(!h){Qa[v[v[e>>2]+4>>2]](e)}}e=v[d+8>>2];v[d+12>>2]=v[(e?e+12|0:1117e3)>>2];db(d+24|0);db(g);v[c>>2]=v[c>>2]+f;e=v[c>>2];continue}h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{f=w[e|0];if((f|0)!=92){if((f|0)!=34){break q}v[c>>2]=e+1;b=ab(56);c=v[d+8>>2];e=v[(c?c+12|0:1117e3)>>2];v[b+8>>2]=2;v[b+12>>2]=0;v[b>>2]=971180;v[b+4>>2]=0;c=v[279250];v[b+48>>2]=0;v[b+52>>2]=0;v[b+24>>2]=0;v[b+32>>2]=0;v[b+40>>2]=0;v[b+44>>2]=0;v[b+36>>2]=c;v[b+28>>2]=c;v[b+16>>2]=c;v[b+40>>2]=970612;v[b+44>>2]=0;v[b+48>>2]=0;v[b+52>>2]=0;c=v[b+8>>2];if((c&-2)!=2){break h}oi((c|0)==2?b+24|0:b+32|0,e);v[d+24>>2]=0;qb(d+24|0,b);v[a>>2]=2;b=v[d+24>>2];r:{if(!b){v[a+4>>2]=0;break r}v[b+4>>2]=v[b+4>>2]+1;b=a;a=v[d+24>>2];v[b+4>>2]=a;v[d+24>>2]=0;if(!a){break r}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break r}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}db(d+8|0);break b}f=e+1|0;g=w[e+1|0];if(w[b+16|0]){if((g|0)==34){v[c>>2]=e+2;Pd(d+8|0,34);e=v[c>>2];continue}v[c>>2]=f;Pd(d+8|0,92);e=v[c>>2];continue}if(!g){break q}v[c>>2]=f;f=w[e+1|0];if((f&248)!=48){g=9;switch(f-97|0){case 19:break i;case 21:break k;case 5:break l;case 1:break m;case 17:break n;case 13:break o;case 0:break p;default:break j}}v[c>>2]=e+2;f=f-48|0;g=w[e+2|0];s:{if((g&248)!=48){break s}v[c>>2]=e+3;f=(g+(f<<3)|0)-48|0;g=w[e+3|0];if((g&248)!=48){break s}v[c>>2]=e+4;f=(g+(f<<3)|0)-48|0}Pd(d+8|0,f<<24>>24);e=v[c>>2];continue}lb(mb(d+24|0,v[279242],241416,495,333441));L()}g=7;break i}g=10;break i}g=13;break i}g=8;break i}g=12;break i}g=11;break i}g=f}v[c>>2]=e+2;Pd(d+8|0,g<<24>>24);e=v[c>>2];continue}break}break a}v[d+8>>2]=0;v[d+12>>2]=v[279250];t:{u:{while(1){v:{v[c>>2]=f+1;b=w[f|0];if((b|0)==41){break v}if(!b){v[d+24>>2]=0;qb(d+24|0,0);v[a>>2]=1;b=v[d+24>>2];if(!b){v[a+4>>2]=0;break t}v[b+4>>2]=v[b+4>>2]+1;b=a;a=v[d+24>>2];v[b+4>>2]=a;v[d+24>>2]=0;if(!a){break t}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break t}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}break t}b=b<<24>>24;if((b|0)==32|b-9>>>0<5){break u}Pd(d+8|0,b);f=v[c>>2];continue}break}v[c>>2]=f}b=ab(56);c=v[d+8>>2];e=v[(c?c+12|0:1117e3)>>2];v[b+8>>2]=3;v[b+12>>2]=0;v[b>>2]=971180;v[b+4>>2]=0;c=v[279250];v[b+48>>2]=0;v[b+52>>2]=0;v[b+24>>2]=0;v[b+32>>2]=0;v[b+40>>2]=0;v[b+44>>2]=0;v[b+36>>2]=c;v[b+28>>2]=c;v[b+16>>2]=c;v[b+40>>2]=970612;v[b+44>>2]=0;v[b+48>>2]=0;v[b+52>>2]=0;c=v[b+8>>2];if((c&-2)!=2){break a}oi((c|0)==2?b+24|0:b+32|0,e);v[d+24>>2]=0;qb(d+24|0,b);v[a>>2]=2;b=v[d+24>>2];if(!b){v[a+4>>2]=0;break t}v[b+4>>2]=v[b+4>>2]+1;b=a;a=v[d+24>>2];v[b+4>>2]=a;v[d+24>>2]=0;if(!a){break t}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break t}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}db(d+8|0)}Ma=d+48|0;return}lb(mb(d+24|0,278504,241416,204,331989));L()}function lA(a,b,c){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,p=0,q=0,r=0;a:{if(!a|!c){break a}if(!b){return Zc(a,c,-1)}k=zb(c);l=zb(b);q=k+l|0;d=v[a+24>>2];j=v[a+8>>2];b:{if((j|0)==128){m=iY(b,l,c,k,d);break b}c:{if((l|0)<1){break c}f=l&3;if(l-1>>>0>=3){i=l&-4;while(1){d=B(w[b+e|0]+d|0,1025);d=B(w[(e|1)+b|0]+(d>>>6^d)|0,1025);d=B(w[(e|2)+b|0]+(d>>>6^d)|0,1025);d=B(w[(e|3)+b|0]+(d>>>6^d)|0,1025);d=d>>>6^d;e=e+4|0;i=i-4|0;if(i){continue}break}}if(!f){break c}while(1){d=B(w[b+e|0]+d|0,1025);d=d>>>6^d;e=e+1|0;f=f-1|0;if(f){continue}break}}e=B(d,1025)+59450|0;d=e>>>6^e;d:{if((k|0)<1){break d}f=k&3;e:{if(k-1>>>0<3){e=0;break e}i=k&-4;e=0;while(1){d=B(w[c+e|0]+d|0,1025);d=B(w[(e|1)+c|0]+(d>>>6^d)|0,1025);d=B(w[(e|2)+c|0]+(d>>>6^d)|0,1025);d=B(w[(e|3)+c|0]+(d>>>6^d)|0,1025);d=d>>>6^d;e=e+4|0;i=i-4|0;if(i){continue}break}}if(!f){break d}while(1){d=B(w[c+e|0]+d|0,1025);d=d>>>6^d;e=e+1|0;f=f-1|0;if(f){continue}break}}e=B(d,9);m=B(e>>>11^e,32769)}o=q+1|0;f:{r=(m>>>0)%(j>>>0)|0;i=v[a+4>>2]+B(r,20)|0;if(!v[i+12>>2]){i=0;break f}d=v[i>>2];if(d){while(1){e=i;i=d;g:{if(v[e+16>>2]!=(m|0)|v[e+8>>2]!=(o|0)){break g}h=v[e+4>>2];if(!h){break g}d=w[b|0];g=b;e=h;while(1){f=e;d=d&255;if((d|0)!=w[e|0]){break g}e=f+1|0;if(d){g=g+1|0;d=w[g|0];if(d){continue}}break}if(w[e|0]!=58){break g}e=f+2|0;d=c;while(1){g=w[d|0];if((g|0)!=w[e|0]){break g}e=e+1|0;d=d+1|0;if(g){continue}break}break a}p=p+1|0;d=v[i>>2];if(d){continue}break}}if(v[i+16>>2]!=(m|0)|v[i+8>>2]!=(o|0)){break f}h=v[i+4>>2];if(!h){break f}d=w[b|0];g=b;e=h;while(1){f=e;d=d&255;if((d|0)!=w[e|0]){break f}e=f+1|0;if(d){g=g+1|0;d=w[g|0];if(d){continue}}break}if(w[e|0]!=58){break f}e=f+2|0;d=c;while(1){g=w[d|0];if((g|0)!=w[e|0]){break f}e=e+1|0;d=d+1|0;if(g){continue}break}break a}n=v[a+20>>2];h:{if(!n){break h}e=128;h=v[n+8>>2];i:{j:{k:{l:{if((j|0)==128){j=m;if((h|0)==128){break i}d=v[n+24>>2];if((l|0)<1){break j}f=l&3;if(l-1>>>0>=3){break l}e=0;break k}j=m;e=h;if((e|0)!=128){break i}e=128;j=iY(b,l,c,k,v[n+24>>2]);break i}g=l&-4;e=0;while(1){d=B(w[b+e|0]+d|0,1025);d=B(w[(e|1)+b|0]+(d>>>6^d)|0,1025);d=B(w[(e|2)+b|0]+(d>>>6^d)|0,1025);d=B(w[(e|3)+b|0]+(d>>>6^d)|0,1025);d=d>>>6^d;e=e+4|0;g=g-4|0;if(g){continue}break}}if(!f){break j}while(1){d=B(w[b+e|0]+d|0,1025);d=d>>>6^d;e=e+1|0;f=f-1|0;if(f){continue}break}}e=B(d,1025)+59450|0;d=e>>>6^e;m:{if((k|0)<1){break m}f=k&3;n:{if(k-1>>>0<3){e=0;break n}g=k&-4;e=0;while(1){d=B(w[c+e|0]+d|0,1025);d=B(w[(e|1)+c|0]+(d>>>6^d)|0,1025);d=B(w[(e|2)+c|0]+(d>>>6^d)|0,1025);d=B(w[(e|3)+c|0]+(d>>>6^d)|0,1025);d=d>>>6^d;e=e+4|0;g=g-4|0;if(g){continue}break}}if(!f){break m}while(1){d=B(w[c+e|0]+d|0,1025);d=d>>>6^d;e=e+1|0;f=f-1|0;if(f){continue}break}}e=B(d,9);j=B(e>>>11^e,32769);e=h}f=v[n+4>>2]+B((j>>>0)%(e>>>0)|0,20)|0;if(!v[f+12>>2]){break h}d=v[f>>2];if(d){while(1){e=f;f=d;o:{if(v[e+16>>2]!=(j|0)|v[e+8>>2]!=(o|0)){break o}h=v[e+4>>2];if(!h){break o}d=w[b|0];g=b;e=h;while(1){n=e;d=d&255;if((d|0)!=w[e|0]){break o}e=n+1|0;if(d){g=g+1|0;d=w[g|0];if(d){continue}}break}if(w[e|0]!=58){break o}e=n+2|0;d=c;while(1){g=w[d|0];if((g|0)!=w[e|0]){break o}e=e+1|0;d=d+1|0;if(g){continue}break}break a}p=p+1|0;d=v[f>>2];if(d){continue}break}}if(v[f+16>>2]!=(j|0)|v[f+8>>2]!=(o|0)){break h}d=c;h=v[f+4>>2];e=h;g=b;p:{q:{r:{if(!b){f=1;if((e|0)==(d|0)){break p}if(!d|!e){break q}while(1){g=w[d|0];if((g|0)==w[e|0]){e=e+1|0;d=d+1|0;if(g){continue}break r}break}break q}if(!d|!e){break q}j=w[g|0];while(1){f=e;if(w[e|0]!=(j|0)){break q}e=f+1|0;if(j){g=g+1|0;j=w[g|0];if(j){continue}}break}if(w[e|0]!=58){break q}e=f+2|0;while(1){g=w[d|0];if((g|0)!=w[e|0]){break q}e=e+1|0;d=d+1|0;if(g){continue}break}}f=1;break p}f=0}if(f){break a}}s:{t:{u:{e=v[a+16>>2];if(!e){break u}g=0;d=0;while(1){f=v[e+4>>2];if(v[e+8>>2]-f>>>0>o>>>0){break s}h=v[e+12>>2];d=d>>>0>>0?h:d;g=g+h|0;e=v[e>>2];if(e){continue}break}e=v[a+28>>2];if(e){h=0;if(e>>>0>>0){break a}}if(!d){break u}e=d<<2;break t}e=1e3}h=0;d=(q<<2)+4|0;d=e>>>0>>0?d:e;e=Qa[v[256552]](d+24|0)|0;if(!e){break a}v[e+16>>2]=0;v[e+12>>2]=d;f=e+20|0;v[e+4>>2]=f;v[e+8>>2]=d+f;v[e>>2]=v[a+16>>2];v[a+16>>2]=e}b=cb(f,b,l);d=v[e+4>>2]+l|0;v[e+4>>2]=d+1;t[d|0]=58;cb(v[e+4>>2],c,k);c=v[e+4>>2]+k|0;v[e+4>>2]=c+1;h=0;t[c|0]=0;v[e+16>>2]=v[e+16>>2]+1;if(!b){break a}v:{if(!i){c=v[a+4>>2]+B(r,20)|0;v[c+8>>2]=o;v[c+4>>2]=b;v[c+16>>2]=m;v[c+12>>2]=1;v[c>>2]=0;break v}c=Qa[v[256552]](20)|0;if(!c){break a}v[c+8>>2]=o;v[c+4>>2]=b;v[c+16>>2]=m;v[c+12>>2]=1;v[c>>2]=0;v[i>>2]=c}v[a+12>>2]=v[a+12>>2]+1;w:{if(p>>>0<4){break w}c=v[a+8>>2];if(c>>>0>2730){break w}jY(a,B(c,6))}h=b}return h}function XA(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0;h=Ma-48|0;Ma=h;v[h+12>>2]=0;t[a+733|0]=0;q=v[a+100>>2];a:{b:{k=v[a+736>>2];if(!k){e=et(a,0);v[h+12>>2]=e;if(e){break a}k=v[a+736>>2]}o=v[k+12>>2];f=v[o>>2];b=b>>>0>f>>>0?f:b;if(!b){break b}while(1){if(v[(g<<2)+c>>2]+65536>>>0<=131072){g=g+1|0;if((g|0)!=(b|0)){continue}break b}break}e=6;break a}if(!(w[a+732|0]|v[k+72>>2])){i=v[a+104>>2];g=v[i+28>>2];e=Qa[v[a+516>>2]](a,1735811442,i,h+40|0)|0;v[h+44>>2]=e;if(e){break a}l=v[i+8>>2];e=Dd(i,443248,h+16|0);v[h+44>>2]=e;if(e){break a}e=8;if(v[h+16>>2]!=65536){break a}f=x[h+20>>1];if((f|0)!=x[v[k+12>>2]>>1]){break a}n=B(f,x[h+22>>1]);f=v[h+40>>2];if(n>>>0>f>>>1>>>0){break a}j=B(x[h+28>>1]+1|0,t[h+30|0]&1?4:2);if(j>>>0>f>>>0){break a}v[k+76>>2]=f;f=v[h+32>>2];e=Ed(i,j);v[h+44>>2]=e;if(e){break a}e=0;s=k,u=yb(g,4,0,x[h+28>>1]+1|0,0,h+44|0),v[s+72>>2]=u;c:{d:{e:{if(v[h+44>>2]){break e}m=f+l|0;f=l+v[h+40>>2]|0;f:{if(!(t[h+30|0]&1)){j=0;while(1){n=m+(ae(i)<<1)|0;e=e>>>0>n>>>0?e:n;v[v[k+72>>2]+(j<<2)>>2]=e>>>0>f>>>0?f:e;n=x[h+28>>1];p=n>>>0>j>>>0;j=j+1|0;if(p){continue}break}break f}j=0;while(1){n=Ig(i)+m|0;j=j>>>0>n>>>0?j:n;v[v[k+72>>2]+(e<<2)>>2]=f>>>0>>0?f:j;n=x[h+28>>1];p=n>>>0>e>>>0;e=e+1|0;if(p){continue}break}}v[k+68>>2]=n;dd(i);if(!x[h+22>>1]){break c}f=Mb(i,l+v[h+24>>2]|0);v[h+44>>2]=f;if(f){break d}f=Ed(i,B(x[h+22>>1],x[h+20>>1])<<1);v[h+44>>2]=f;if(f){break d}f=0;s=k,u=yb(g,4,0,B(x[h+22>>1],x[h+20>>1]),0,h+44|0),v[s+64>>2]=u;if(v[h+44>>2]){break e}g=x[h+22>>1];if(g){m=0;l=x[h+20>>1];f=g;while(1){e=0;g:{if(!(l&65535)){l=0;break g}while(1){g=ae(i);l=x[h+20>>1];v[v[k+64>>2]+(B(m,l)+e<<2)>>2]=g<<16>>16<<2;e=e+1|0;if(l>>>0>e>>>0){continue}break}f=x[h+22>>1]}m=m+1|0;if(m>>>0<(f&65535)>>>0){continue}break}}v[k+60>>2]=f&65535;dd(i);break c}dd(i)}f=v[k+72>>2];if(f){Qa[v[g+8>>2]](g,f)}v[k+68>>2]=0;v[k+72>>2]=0}e=v[h+44>>2];v[h+12>>2]=e;if(e){break a}}p=v[k+4>>2];if(!p){s=k,u=yb(q,4,0,v[o>>2],0,h+12|0),v[s+4>>2]=u;e=v[h+12>>2];if(e){break a}}h:{i:{j:{k:{m=v[k+8>>2];if(m){g=0;if(b){break k}break j}m=yb(q,4,0,v[o>>2],0,h+12|0);v[k+8>>2]=m;e=v[h+12>>2];if(e){break a}j=v[o>>2];n=1;break h}l=1;while(1){f=g<<2;n=2;if(v[f+m>>2]!=v[c+f>>2]){break i}g=g+1|0;if((g|0)!=(b|0)){continue}break}g=b}l=0;n=0}j=v[o>>2];f=v[a+4>>2];l:{if(f&2147418112){if(g>>>0>=j>>>0){break l}i=v[k+20>>2]+(B((f>>>16|0)-1|0,j)<<2)|0;f=g<<2;e=i+f|0;r=(g^-1)+j|0;i=f+m|0;o=j-g&3;m:{if(!o){f=g;break m}f=g;while(1){l=v[i>>2]==v[e>>2]?l:1;i=i+4|0;e=e+4|0;f=f+1|0;o=o-1|0;if(o){continue}break}}if(r>>>0<3){break l}while(1){l=v[i+12>>2]==v[e+12>>2]?v[i+8>>2]==v[e+8>>2]?v[i+4>>2]==v[e+4>>2]?v[i>>2]==v[e>>2]?l:1:1:1:1;i=i+16|0;e=e+16|0;f=f+4|0;if((j|0)!=(f|0)){continue}break}break l}if(g>>>0>=j>>>0){break l}o=(g^-1)+j|0;e=(g<<2)+m|0;f=j-g&3;n:{if(!f){i=g;break n}i=g;while(1){l=v[e>>2]?1:l;e=e+4|0;i=i+1|0;f=f-1|0;if(f){continue}break}}if(o>>>0<3){break l}while(1){l=v[e+12>>2]|v[e+8>>2]|(v[e+4>>2]|v[e>>2])?1:l;e=e+16|0;i=i+4|0;if((j|0)!=(i|0)){continue}break}}o:{if(l&255){if(g>>>0>=j>>>0){break h}break o}t[a+733|0]=1;e=-1;break a}while(1){if(!v[(g<<2)+m>>2]){g=g+1|0;if((j|0)!=(g|0)){continue}break h}break}n=2}v[k>>2]=j;cb(m,c,b<<2);p:{if(!d){break p}e=v[k+4>>2];m=v[a+736>>2];j=v[m>>2];b=p?b:v[k>>2];f=b>>>0>j>>>0?j:b;q:{if(!f){break q}c=v[k+8>>2];i=f&3;g=0;if(f-1>>>0>=3){l=f&-4;while(1){d=g<<2;v[d+e>>2]=v[c+d>>2];k=d|4;v[k+e>>2]=v[c+k>>2];k=d|8;v[k+e>>2]=v[c+k>>2];d=d|12;v[d+e>>2]=v[c+d>>2];g=g+4|0;l=l-4|0;if(l){continue}break}}if(!i){break q}while(1){d=g<<2;v[d+e>>2]=v[c+d>>2];g=g+1|0;i=i-1|0;if(i){continue}break}}if(b>>>0>j>>>0){eb(e+(f<<2)|0,0,b-f<<2)}j=v[m+28>>2];if(!(!j|!f)){k=0;while(1){d=x[j>>1];r:{if(d>>>0<2){break r}b=v[j+4>>2];i=e+(k<<2)|0;c=v[i>>2];g=1;while(1){l=g<<3;o=l+b|0;p=v[o+4>>2];if((p|0)>(c|0)){g=c;c=b;b=l-8|0;c=c+b|0;d=v[c+4>>2];s=i,u=fc(g-d|0,v[o>>2]-v[c>>2]|0,p-d|0)+v[b+v[j+4>>2]>>2]|0,v[s>>2]=u;break r}g=g+1|0;if((d|0)!=(g|0)){continue}break}}j=j+8|0;k=k+1|0;if((f|0)!=(k|0)){continue}break}}if(!f){break p}b=v[v[m+12>>2]+12>>2];c=0;while(1){j=e+(c<<2)|0;i=v[j>>2];s:{t:{if((i|0)<=-1){g=v[b+4>>2];l=v[b+8>>2];d=l;break t}g=v[b+8>>2];d=g;if(!i){break s}l=v[b+12>>2];d=g}d=xb(i,l-g|0)+d|0}v[j>>2]=d;b=b+24|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}t[a+733|0]=1;b=v[a+704>>2];u:{if(!b){break u}v:{switch(n-1|0){case 1:if(b){Qa[v[q+8>>2]](q,b)}v[a+704>>2]=0;s=h,u=r$(a,v[a+104>>2]),v[s+12>>2]=u;break u;case 0:break v;default:break u}}s=h,u=i$(a,v[a+104>>2]),v[s+12>>2]=u}b=v[a+720>>2];if(b){Qa[v[q+8>>2]](q,b)}v[a+720>>2]=0;e=v[h+12>>2]}Ma=h+48|0;return e}function xv(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0,C=0,D=0,E=0,F=0;d=Ma+-64|0;Ma=d;a:{b:{c:{if(!w[a+200|0]){break c}c=v[a+104>>2];v[d+32>>2]=64;f=d+32|0;Qa[v[v[c>>2]+288>>2]](c,f)|0;c=v[a+104>>2];v[d+32>>2]=64;Qa[v[v[c>>2]+292>>2]](c,f)|0;j=v[a+196>>2];if(!j){break c}c=v[a+192>>2];f=(c>>>0)/93|0;e=v[a+180>>2];d:{if((e|0)==v[a+184>>2]){break d}k=e+(f<<2)|0;i=v[k>>2]+B(c-B(f,93)|0,44)|0;c=c+j|0;f=(c>>>0)/93|0;x=v[e+(f<<2)>>2]+B(c-B(f,93)|0,44)|0;if((i|0)==(x|0)){break d}while(1){c=0;e=v[i>>2];if((e|0)!=v[i+4>>2]){while(1){f=c<<2;j=v[f+v[i+24>>2]>>2];h=v[e+f>>2];g=v[v[i+12>>2]+(c>>>3&536870908)>>2];e=v[a+104>>2];v[d+32>>2]=32;f=d+32|0;Qa[v[v[e>>2]+288>>2]](e,f)|0;e=v[a+104>>2];v[d+32>>2]=g>>>c&1;Qa[v[v[e>>2]+388>>2]](e,f)|0;Ak(a,h,A[b+104>>3],j);e=v[a+104>>2];v[d+32>>2]=4;Qa[v[v[e>>2]+292>>2]](e,f)|0;e=v[a+104>>2];v[d+32>>2]=32;Qa[v[v[e>>2]+292>>2]](e,f)|0;f=v[a+104>>2];Qa[v[v[f>>2]+324>>2]](f)|0;c=c+1|0;e=v[i>>2];if(c>>>0>2]-e>>2>>>0){continue}break}}y=v[v[i+40>>2]+8>>2];if((y|0)>0){c=v[a+104>>2];v[d+32>>2]=32;f=d+32|0;Qa[v[v[c>>2]+288>>2]](c,f)|0;c=v[a+104>>2];j=0;v[d+32>>2]=0;Qa[v[v[c>>2]+388>>2]](c,f)|0;c=v[a+104>>2];Qa[v[v[c>>2]+404>>2]](c)|0;while(1){v[d+48>>2]=0;v[d+52>>2]=1076101120;p=0;q=0;r=0;s=0;f=0;c=v[i+40>>2];if(v[c+8>>2]>(j|0)){c=v[c>>2]+(j<<6)|0;z=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);C=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);f=w[c+52|0]|w[c+53|0]<<8|(w[c+54|0]<<16|w[c+55|0]<<24);l(0,w[c+48|0]|w[c+49|0]<<8|(w[c+50|0]<<16|w[c+51|0]<<24));l(1,f|0);s=+n();f=w[c+44|0]|w[c+45|0]<<8|(w[c+46|0]<<16|w[c+47|0]<<24);l(0,w[c+40|0]|w[c+41|0]<<8|(w[c+42|0]<<16|w[c+43|0]<<24));l(1,f|0);r=+n();f=w[c+36|0]|w[c+37|0]<<8|(w[c+38|0]<<16|w[c+39|0]<<24);l(0,w[c+32|0]|w[c+33|0]<<8|(w[c+34|0]<<16|w[c+35|0]<<24));l(1,f|0);q=+n();f=w[c+28|0]|w[c+29|0]<<8|(w[c+30|0]<<16|w[c+31|0]<<24);l(0,w[c+24|0]|w[c+25|0]<<8|(w[c+26|0]<<16|w[c+27|0]<<24));l(1,f|0);p=+n();f=w[c+12|0]|w[c+13|0]<<8|(w[c+14|0]<<16|w[c+15|0]<<24);l(0,w[c+8|0]|w[c+9|0]<<8|(w[c+10|0]<<16|w[c+11|0]<<24));l(1,f|0);E=d,F=+n(),A[E+48>>3]=F;D=w[c+16|0]|w[c+17|0]<<8|(w[c+18|0]<<16|w[c+19|0]<<24);f=w[c+20|0]|w[c+21|0]<<8|(w[c+22|0]<<16|w[c+23|0]<<24)}h=v[a+104>>2];c=ce(C);if(c>>>0>=1073741808){break b}e:{f:{if(c>>>0>=2){g=c+4&-4;e=ab(g<<2);v[d+40>>2]=g|-2147483648;v[d+32>>2]=e;v[d+36>>2]=c;break f}t[d+43|0]=c;e=d+32|0;if(!c){break e}}rb(e,C,c)}v[(c<<2)+e>>2]=0;Qa[v[v[h>>2]+220>>2]](h,d+32|0)|0;if(t[d+43|0]<=-1){$a(v[d+32>>2])}h=v[a+104>>2];c=ce(z);if(c>>>0>=1073741808){break a}g:{h:{if(c>>>0>=2){g=c+4&-4;e=ab(g<<2);v[d+40>>2]=g|-2147483648;v[d+32>>2]=e;v[d+36>>2]=c;break h}t[d+43|0]=c;e=d+32|0;if(!c){break g}}rb(e,z,c)}v[(c<<2)+e>>2]=0;Qa[v[v[h>>2]+228>>2]](h,d+32|0)|0;if(t[d+43|0]<=-1){$a(v[d+32>>2])}c=v[a+104>>2];Qa[v[v[c>>2]+236>>2]](c,d+48|0)|0;c=v[a+104>>2];v[d+32>>2]=D;h=d+32|0;Qa[v[v[c>>2]+244>>2]](c,h)|0;e=v[a+104>>2];c=v[i+40>>2];c=v[c+8>>2]>(j|0)?v[c+4>>2]+B(j,48)|0:0;A[d+32>>3]=A[c+32>>3]/72*25.4;A[d+56>>3]=A[c+40>>3]/72*25.4;Qa[v[v[e>>2]+372>>2]](e,c,c+8|0,c+16|0,c+24|0,h,d+56|0)|0;A[a+112>>3]=A[c>>3];A[a+120>>3]=A[c+8>>3];A[a+128>>3]=A[c+16>>3];A[a+136>>3]=A[c+24>>3];A[a+144>>3]=A[c+32>>3];A[a+152>>3]=A[c+40>>3];c=f;i:{if(!c){break i}while(1){e=c;c=c+4|0;if(v[e>>2]){continue}break}j:{k:{c=e-f|0;h=c>>2;switch(h|0){case 0:break i;case 1:break j;default:break k}}e=ab((h|0)!=(h&1073741823)?-1:h<<2);l:{if((c|0)<1){break l}g=(h|0)>1?h:1;o=g&3;c=0;if(g-1>>>0>=3){u=g&2147483644;while(1){g=c<<2;v[g+e>>2]=v[f+g>>2];m=g|4;v[m+e>>2]=v[f+m>>2];m=g|8;v[m+e>>2]=v[f+m>>2];g=g|12;v[g+e>>2]=v[f+g>>2];c=c+4|0;u=u-4|0;if(u){continue}break}}if(!o){break l}while(1){g=c<<2;v[g+e>>2]=v[f+g>>2];c=c+1|0;o=o-1|0;if(o){continue}break}}c=v[a+104>>2];v[d+32>>2]=0;t[d+43|0]=0;A[d+56>>3]=p/72*25.4;A[d+16>>3]=q/72*25.4;A[d+8>>3]=r/72*25.4;A[d>>3]=s/72*25.4;Qa[v[v[c>>2]+352>>2]](c,d+32|0,e,h,d+56|0,d+16|0,d+8|0,d)|0;if(t[d+43|0]<=-1){$a(v[d+32>>2])}$a(e);break i}c=v[a+104>>2];v[d>>2]=0;v[d+28>>2]=v[f>>2];A[d+32>>3]=p/72*25.4;A[d+56>>3]=q/72*25.4;A[d+16>>3]=r/72*25.4;A[d+8>>3]=s/72*25.4;Qa[v[v[c>>2]+348>>2]](c,d,d+28|0,d+32|0,d+56|0,d+16|0,d+8|0)|0}j=j+1|0;if((y|0)!=(j|0)){continue}break}c=v[a+104>>2];v[d+32>>2]=4;Qa[v[v[c>>2]+292>>2]](c,d+32|0)|0;c=v[a+104>>2];v[d+32>>2]=32;Qa[v[v[c>>2]+292>>2]](c,d+32|0)|0;c=v[a+104>>2];Qa[v[v[c>>2]+324>>2]](c)|0;c=v[a+104>>2];Qa[v[v[c>>2]+408>>2]](c)|0}i=i+44|0;if((i-v[k>>2]|0)==4092){i=v[k+4>>2];k=k+4|0}if((i|0)!=(x|0)){continue}break}}t[a+200|0]=0;Qa[v[v[a>>2]+156>>2]](a,b)}Ma=d- -64|0;return}sc();L()}sc();L()}function cU(a){var 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,u=0,x=0,y=0;f=Ma-4160|0;Ma=f;v[f+4140>>2]=-1;v[a+76>>2]=0;v[a+20>>2]=-1;c=v[a>>2];Qa[v[v[c>>2]+20>>2]](c);k=v[a+4>>2];d=f+32|0;i=d;e=1;while(1){b=i-d|0;if(!(l|(b|0)>255)){c=f+32|0;cb(c,d,b);g=v[a>>2];i=b+c|0;l=4096-b|0;b=Qa[v[v[g>>2]+40>>2]](g,i,l)|0;i=b+i|0;t[i|0]=0;l=(b|0)<(l|0);k=(k-c|0)+d|0;d=c}if(!(!l|(d|0)!=(i|0))){d=0;if((o|0)>0){h=a+40|0;while(1){v[f+16>>2]=13;b=(d<<2)+q|0;c=v[b>>2];dn(a,c,v[(v[a+8>>2]+B(c,12)|0)+4>>2],f+16|0,0);if(v[f+16>>2]==8){c=v[f+24>>2];c=Qa[v[v[c>>2]+76>>2]](c)|0;v[f>>2]=13;ib(c,279292,f,0);a:{if(v[f>>2]!=4){break a}e=v[f+8>>2];if(!hb(e,273482)){v[f+4144>>2]=13;Yd(c,227586,f+4144|0);b:{if(v[f+4144>>2]!=9){break b}b=v[f+4152>>2];if((b|0)>v[a+16>>2]){break b}v[a+20>>2]=b;v[a+24>>2]=v[f+4156>>2];if(v[a+40>>2]!=13){bb(h)}v[h+8>>2]=c;v[h>>2]=7;v[c+20>>2]=v[c+20>>2]+1}bb(f+4144|0);break a}if(hb(e,255377)){break a}p=v[b>>2];i=0;c=Ma-32|0;Ma=c;v[c+16>>2]=13;v[c>>2]=13;b=v[f+24>>2];c:{if(v[ib(Qa[v[v[b>>2]+76>>2]](b)|0,310866,c+16|0,0)>>2]!=1){bb(c+16|0);break c}m=v[c+24>>2];bb(c+16|0);if(m-1>>>0>999999){break c}n=ab(56);e=ab(160);b=v[f+24>>2];j=so(n,0,eq(e,0,Qa[v[v[b>>2]+8>>2]](b)|0),0);while(1){Bg(j,c+16|0,1,0,0,0,0,0,0);Bg(j,c,1,0,0,0,0,0,0);d:{if(v[c+16>>2]!=1|v[c>>2]!=1){break d}g=v[c+24>>2];if(g>>>0>999999){break d}e:{if((g|0)>2]){l=v[a+8>>2];break e}k=g+256&-256;l=yc(v[a+8>>2],k,12);v[a+8>>2]=l;b=v[a+12>>2];f:{if((k|0)<=(b|0)){break f}s=k+(b^-1)|0;e=0-b&3;if(e){while(1){r=B(b,12)+l|0;v[r+8>>2]=0;v[r>>2]=-1;b=b+1|0;e=e-1|0;if(e){continue}break}}if(s>>>0<=2){break f}while(1){e=B(b,12)+l|0;v[e>>2]=-1;v[e+8>>2]=0;v[e+12>>2]=-1;v[e+20>>2]=0;v[e+24>>2]=-1;v[e+44>>2]=0;v[e+32>>2]=0;v[e+36>>2]=-1;b=b+4|0;if((k|0)!=(b|0)){continue}break}}v[a+12>>2]=k}b=B(g,12)+l|0;if(v[b+4>>2]>(i|0)?v[b+8>>2]:0){break d}v[b+4>>2]=i;v[b>>2]=p;v[b+8>>2]=2;if((g|0)<=v[a+16>>2]){break d}v[a+16>>2]=g}bb(c);bb(c+16|0);i=i+1|0;if((m|0)!=(i|0)){continue}break}ml(j);$a(n)}Ma=c+32|0}bb(f)}bb(f+16|0);d=d+1|0;if((o|0)!=(d|0)){continue}break}}tb(q);d=1;if(v[a+20>>2]<0){fb(1,-1,218018,0);d=0}Ma=f+4160|0;return d}g:{if(e){if(!Kb(d,239409,7)){c=Ma-48|0;Ma=c;v[c+16>>2]=13;v[c>>2]=5;g=ab(56);e=ab(160);b=v[a>>2];d=d+7|0;h=so(g,0,eq(e,0,Qa[v[v[b>>2]+92>>2]](b,d+(k-(f+32|0)|0)|0,0,0,c)|0),0);Bg(h,c+16|0,0,0,0,0,0,0,0);if(v[c+16>>2]==7){b=v[c+24>>2];v[c+32>>2]=13;Yd(b,227586,c+32|0);if(v[c+32>>2]==9){v[a+20>>2]=v[c+40>>2];v[a+24>>2]=v[c+44>>2];e=a+40|0;if(v[a+40>>2]!=13){bb(e)}v[e+8>>2]=b;v[e>>2]=7;v[b+20>>2]=v[b+20>>2]+1}bb(c+32|0)}bb(c+16|0);ml(h);$a(g);Ma=c+48|0;e=0;continue}if(!Kb(d,255916,9)){e=v[a+76>>2];h:{if((p|0)!=(e|0)){b=v[a+72>>2];break h}p=p- -64|0;b=yc(v[a+72>>2],p,4);v[a+72>>2]=b;e=v[a+76>>2]}v[a+76>>2]=e+1;v[(e<<2)+b>>2]=(k-(f+32|0)|0)+d;d=d+9|0;e=0;continue}e=w[d|0];if((e-48&255)>>>0>9){break g}e=0;s=(k-(f+32|0)|0)+d|0;g=0;c=w[d|0];while(1){i:{g=(B(g,10)+(c<<24>>24)|0)-48|0;b=d+1|0;h=w[d+1|0];c=h<<24>>24;if((c|0)<48|(c|0)>57){break i}d=b;if((g|0)<1e8){continue}}break}c=b;d=h-9|0;j:{if(d>>>0>23){break j}if(!(1<>>0>23){break k}if(1<>>0>9){break j}r=f+4140|0;h=0;while(1){l:{h=(B(h,10)+(d&255)|0)-48|0;c=b+1|0;j=w[b+1|0];d=j<<24>>24;if((d|0)<48|(d|0)>57){break l}b=c;if((h|0)<1e8){continue}}break}b=j-9|0;m:{if(b>>>0>23|!(1<>>0>23){break n}if(1<>2];o:{if(v[a+12>>2]>(g|0)){m=v[a+8>>2];break o}j=g+256&-256;if((j|0)<0){break m}m=yc(v[a+8>>2],j,12);v[a+8>>2]=m;b=v[a+12>>2];p:{if((j|0)<=(b|0)){break p}y=j+(b^-1)|0;d=0-b&3;if(d){while(1){u=B(b,12)+m|0;v[u+8>>2]=0;v[u>>2]=-1;b=b+1|0;d=d-1|0;if(d){continue}break}}if(y>>>0<=2){break p}while(1){d=B(b,12)+m|0;v[d>>2]=-1;v[d+8>>2]=0;v[d+12>>2]=-1;v[d+20>>2]=0;v[d+24>>2]=-1;v[d+44>>2]=0;v[d+32>>2]=0;v[d+36>>2]=-1;b=b+4|0;if((j|0)!=(b|0)){continue}break}}v[a+12>>2]=j}b=B(g,12)+m|0;q:{if(v[b+4>>2]>(h|0)?v[b+8>>2]:0){break q}v[b+4>>2]=h;v[b>>2]=s-x;v[b+8>>2]=1;if(v[a+16>>2]>=(g|0)){break q}v[a+16>>2]=g}v[r>>2]=g}}d=c;continue}e=w[d|0]}c=e&255;if((c|0)!=62|w[d+1|0]!=62){e=(c|0)==10|(c|0)==13;d=d+1|0;continue}else{d=d+2|0;e=0;while(1){c=w[d|0];b=c-9|0;if(!(b>>>0>23|!(1<>2];if((c|0)>=0){if((o|0)==(n|0)){n=n- -64|0;q=yc(q,n,4)}v[(o<<2)+q>>2]=c;o=o+1|0}d=d+6|0;e=0;continue}}}function Le(a,b,c,d,e,f,g,h,i){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,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=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;l=Ma-96|0;Ma=l;r=c;u=(g&131071)<<15|f>>>17;j=i&65535;w=j;p=h;A=h<<15|g>>>17;n=(e^i)&-2147483648;m=e&65535;o=m;q=d;z=m;m=0;B=(j&131071)<<15|h>>>17;K=i>>>16&32767;L=e>>>16&32767;a:{b:{if(L-1>>>0<=32765){j=0;if(K-1>>>0<32766){break b}}t=e&2147483647;k=t;j=d;if(!(!j&(k|0)==2147418112?!(b|c):k>>>0<2147418112)){x=d;n=e|32768;break a}t=i&2147483647;e=t;d=h;if(!(!d&(e|0)==2147418112?!(f|g):e>>>0<2147418112)){x=h;n=i|32768;b=f;c=g;break a}if(!(b|j|(k^2147418112|c))){if(!(d|f|(e|g))){n=2147450880;b=0;c=0;break a}n=n|2147418112;b=0;c=0;break a}if(!(d|f|(e^2147418112|g))){d=b|j;e=c|k;b=0;c=0;if(!(d|e)){n=2147450880;break a}n=n|2147418112;break a}if(!(b|j|(c|k))){b=0;c=0;break a}if(!(d|f|(e|g))){b=0;c=0;break a}if((k|0)==65535|k>>>0<65535){i=b;d=!(o|q);h=d<<6;j=E(d?b:q)+32|0;b=E(d?c:o);b=h+((b|0)==32?j:b)|0;Oh(l+80|0,i,c,q,o,b-15|0);q=v[l+88>>2];r=v[l+84>>2];z=v[l+92>>2];s=16-b|0;b=v[l+80>>2]}j=s;if(e>>>0>65535){break b}c=!(p|w);d=c<<6;e=E(c?f:p)+32|0;c=E(c?g:w);c=d+((c|0)==32?e:c)|0;i=c;Oh(l- -64|0,f,g,p,w,c-15|0);e=v[l+76>>2];c=e;h=v[l+72>>2];d=h;d=d<<15;e=v[l+68>>2];A=e>>>17|d;d=0;f=v[l+64>>2];u=d|((e&131071)<<15|f>>>17);B=(c&131071)<<15|h>>>17;j=(s-i|0)+16|0}s=j;k=u;d=b;i=0;C=x3a(k,0,b,i);b=Pa;D=b;o=f<<15&-32768;p=0;f=x3a(o,p,r,0);c=f+C|0;e=Pa+b|0;e=c>>>0>>0?e+1|0:e;j=c;h=0;g=x3a(d,i,o,p);b=h+g|0;f=Pa+j|0;f=b>>>0>>0?f+1|0:f;u=b;g=f;H=(j|0)==(f|0)&b>>>0>>0|f>>>0>>0;N=x3a(k,y,r,M);I=Pa;t=q;f=x3a(o,p,q,0);b=f+N|0;j=Pa+I|0;j=b>>>0>>0?j+1|0:j;O=b;h=x3a(A,0,d,i);f=b+h|0;b=j;j=j+Pa|0;P=f;j=f>>>0>>0?j+1|0:j;w=j;f=e+f|0;c=((e|0)==(D|0)&c>>>0>>0|e>>>0>>0)+j|0;C=f;c=f>>>0>>0?c+1|0:c;q=c;e=f;R=x3a(k,y,t,Q);J=Pa;F=z|65536;z=m;j=x3a(o,p,F,m);h=j+R|0;f=Pa+J|0;f=h>>>0>>0?f+1|0:f;S=h;m=x3a(A,T,r,M);h=h+m|0;o=f;j=f+Pa|0;U=h;G=B&2147483647|-2147483648;f=x3a(d,i,G,0);d=h+f|0;p=h>>>0>>0?j+1|0:j;j=p+Pa|0;B=d;d=d>>>0>>0?j+1|0:j;i=H;h=0;f=h+e|0;c=c+B|0;c=f>>>0>>0?c+1|0:c;H=f;e=i+f|0;D=c;j=c;h=e;i=e>>>0>>0?j+1|0:j;s=(s+(K+L|0)|0)-16383|0;j=x3a(t,Q,A,T);e=Pa;m=x3a(k,y,F,z);c=m+j|0;f=Pa+e|0;f=c>>>0>>0?f+1|0:f;m=c;j=(e|0)==(f|0)&j>>>0>c>>>0|e>>>0>f>>>0;e=f;y=j;k=x3a(G,V,r,M);c=k+c|0;j=Pa+f|0;j=c>>>0>>0?j+1|0:j;f=c;c=j;m=(j|0)==(e|0)&m>>>0>f>>>0|e>>>0>j>>>0;j=y+m|0;e=0;e=j>>>0>>0?1:e;k=f;y=j;j=(b|0)==(w|0)&P>>>0>>0|b>>>0>w>>>0;b=j+((b|0)==(I|0)&N>>>0>O>>>0|b>>>0>>0)|0;f=0;f=b>>>0>>0?1:f;r=b;b=k+b|0;j=f+c|0;j=b>>>0>>0?j+1|0:j;r=b;m=j;c=(j|0)==(c|0)&b>>>0>>0|c>>>0>j>>>0;b=y+c|0;j=e;j=b>>>0>>0?j+1|0:j;e=x3a(G,V,F,z);b=e+b|0;c=Pa+j|0;c=b>>>0>>0?c+1|0:c;y=b;f=x3a(G,V,t,Q);e=Pa;k=x3a(A,T,F,z);b=k+f|0;j=Pa+e|0;j=b>>>0>>0?j+1|0:j;k=b;b=j;j=(e|0)==(j|0)&f>>>0>k>>>0|e>>>0>j>>>0;f=b+y|0;e=c+j|0;e=f>>>0>>0?e+1|0:e;t=f;j=k;k=0;b=k+r|0;f=j+m|0;f=b>>>0>>0?f+1|0:f;j=b;c=f;m=(m|0)==(f|0)&j>>>0>>0|f>>>0>>0;f=t+m|0;j=e;t=f;m=f>>>0>>0?j+1|0:j;r=b;k=c;f=(o|0)==(p|0)&S>>>0>U>>>0|o>>>0>p>>>0;e=f+((o|0)==(J|0)&R>>>0>S>>>0|o>>>0>>0)|0;c=0;j=e;e=j+((d|0)==(p|0)&B>>>0>>0|d>>>0

>>0)|0;j=e;b=d+b|0;e=j+k|0;o=b;c=b;e=b>>>0>>0?e+1|0:e;b=e;d=(e|0)==(k|0)&c>>>0>>0|e>>>0>>0;c=d+t|0;j=m;j=c>>>0>>0?j+1|0:j;d=c;f=j;k=d;e=(q|0)==(D|0)&C>>>0>H>>>0|q>>>0>D>>>0;d=e+((q|0)==(w|0)&C>>>0

>>0|q>>>0>>0)|0;j=0;j=d>>>0>>0?1:j;m=d;d=d+o|0;e=b+j|0;e=d>>>0>>0?e+1|0:e;c=d;c=(b|0)==(e|0)&c>>>0>>0|b>>>0>e>>>0;b=k+c|0;f=b>>>0>>0?f+1|0:f;c=f;c:{if(f&65536){s=s+1|0;break c}q=g>>>31|0;m=0;f=c<<1|b>>>31;b=b<<1|e>>>31;c=f;f=e<<1|d>>>31;d=d<<1|i>>>31;e=f;j=u;f=g<<1|j>>>31;u=j<<1;g=f;f=h;j=i<<1|f>>>31;h=f<<1|q;i=j|m}if((s|0)>=32767){n=n|2147418112;b=0;c=0;break a}d:{if((s|0)<=0){f=1-s|0;if(f>>>0>=128){b=0;c=0;break a}j=s+127|0;Oh(l+48|0,u,g,h,i,j);Oh(l+32|0,d,e,b,c,j);Dp(l+16|0,u,g,h,i,f);Dp(l,d,e,b,c,f);u=(v[l+48>>2]|v[l+56>>2])!=0|(v[l+52>>2]|v[l+60>>2])!=0|(v[l+32>>2]|v[l+16>>2]);g=v[l+36>>2]|v[l+20>>2];h=v[l+40>>2]|v[l+24>>2];i=v[l+44>>2]|v[l+28>>2];d=v[l>>2];e=v[l+4>>2];c=v[l+12>>2];b=v[l+8>>2];break d}c=c&65535|s<<16}x=b|x;n=c|n;if(!(!h&(i|0)==-2147483648?!(g|u):(i|0)>-1)){j=e;b=d+1|0;j=b>>>0<1?j+1|0:j;f=b;c=j;f=(e|0)==(j|0)&d>>>0>f>>>0|e>>>0>j>>>0;d=f+x|0;e=n;x=d;n=d>>>0>>0?e+1|0:e;break a}if(h|u|(i^-2147483648|g)){b=d;c=e;break a}j=n;c=d&1;b=c+d|0;f=e;f=b>>>0>>0?f+1|0:f;c=f;e=(e|0)==(f|0)&d>>>0>b>>>0|e>>>0>f>>>0;d=e+x|0;x=d;n=d>>>0>>0?j+1|0:j}v[a>>2]=b;v[a+4>>2]=c;v[a+8>>2]=x;v[a+12>>2]=n;Ma=l+96|0}function wya(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=v[a+76>>2];if((c|0)>=1){b=v[a+84>>2];while(1){f=Uv(a,v[b+16>>2])+f|0;b=b+88|0;d=d+1|0;c=v[a+76>>2];if((d|0)<(c|0)){continue}break}}a:{b:{c:{d:{if(!v[a+212>>2]){b=194;if(v[a+264>>2]){break a}if(v[a+72>>2]!=8|v[a+376>>2]!=8){break c}e=1;e:{if((c|0)<1){break e}g=c&1;d=v[a+84>>2];if((c|0)!=1){c=c&-2;while(1){e=v[d+24>>2]<2&v[d+20>>2]<=1?e:0;e=v[d+112>>2]<2&v[d+108>>2]<=1?e:0;d=d+176|0;c=c-2|0;if(c){continue}break}}if(!g|v[d+24>>2]<2&v[d+20>>2]<=1){break e}e=0}if(!f|!e){break c}c=v[a>>2];v[c+20>>2]=77;Qa[v[c+4>>2]](a,0);if(!v[a+212>>2]){break d}}b=v[a+264>>2]?202:201;break a}if(!v[a+264>>2]){break b}break a}if(v[a+264>>2]){break a}b=192;if(e){break a}}b=193}c=v[a+24>>2];d=v[c>>2];v[c>>2]=d+1;t[d|0]=255;d=v[c+4>>2]-1|0;v[c+4>>2]=d;f:{if(d){break f}if(Qa[v[c+12>>2]](a)|0){break f}c=v[a>>2];v[c+20>>2]=25;Qa[v[c>>2]](a)}c=v[a+24>>2];d=v[c>>2];v[c>>2]=d+1;t[d|0]=b;b=v[c+4>>2]-1|0;v[c+4>>2]=b;g:{if(b){break g}if(Qa[v[c+12>>2]](a)|0){break g}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}d=v[a+76>>2];b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;d=B(d,3)+8|0;t[c|0]=d>>>8;c=v[b+4>>2]-1|0;v[b+4>>2]=c;h:{if(c){break h}if(Qa[v[b+12>>2]](a)|0){break h}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=d;c=v[b+4>>2]-1|0;v[b+4>>2]=c;i:{if(c){break i}if(Qa[v[b+12>>2]](a)|0){break i}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}if(!(v[a+64>>2]<65536&v[a+68>>2]<=65535)){b=v[a>>2];v[b+20>>2]=42;v[b+24>>2]=65535;Qa[v[v[a>>2]>>2]](a)}d=v[a+72>>2];b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=d;c=v[b+4>>2]-1|0;v[b+4>>2]=c;j:{if(c){break j}if(Qa[v[b+12>>2]](a)|0){break j}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}c=v[a+68>>2];b=v[a+24>>2];d=v[b>>2];v[b>>2]=d+1;t[d|0]=c>>>8;d=v[b+4>>2]-1|0;v[b+4>>2]=d;k:{if(d){break k}if(Qa[v[b+12>>2]](a)|0){break k}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];d=v[b>>2];v[b>>2]=d+1;t[d|0]=c;c=v[b+4>>2]-1|0;v[b+4>>2]=c;l:{if(c){break l}if(Qa[v[b+12>>2]](a)|0){break l}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}c=v[a+64>>2];b=v[a+24>>2];d=v[b>>2];v[b>>2]=d+1;t[d|0]=c>>>8;d=v[b+4>>2]-1|0;v[b+4>>2]=d;m:{if(d){break m}if(Qa[v[b+12>>2]](a)|0){break m}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];d=v[b>>2];v[b>>2]=d+1;t[d|0]=c;c=v[b+4>>2]-1|0;v[b+4>>2]=c;n:{if(c){break n}if(Qa[v[b+12>>2]](a)|0){break n}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}d=v[a+76>>2];b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=d;c=v[b+4>>2]-1|0;v[b+4>>2]=c;o:{if(c){break o}if(Qa[v[b+12>>2]](a)|0){break o}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}if(v[a+76>>2]>=1){b=v[a+84>>2];c=0;while(1){f=v[b>>2];d=v[a+24>>2];e=v[d>>2];v[d>>2]=e+1;t[e|0]=f;e=v[d+4>>2]-1|0;v[d+4>>2]=e;p:{if(e){break p}if(Qa[v[d+12>>2]](a)|0){break p}d=v[a>>2];v[d+20>>2]=25;Qa[v[d>>2]](a)}f=v[b+12>>2];g=v[b+8>>2];d=v[a+24>>2];e=v[d>>2];v[d>>2]=e+1;t[e|0]=f+(g<<4);e=v[d+4>>2]-1|0;v[d+4>>2]=e;q:{if(e){break q}if(Qa[v[d+12>>2]](a)|0){break q}d=v[a>>2];v[d+20>>2]=25;Qa[v[d>>2]](a)}f=v[b+16>>2];d=v[a+24>>2];e=v[d>>2];v[d>>2]=e+1;t[e|0]=f;e=v[d+4>>2]-1|0;v[d+4>>2]=e;r:{if(e){break r}if(Qa[v[d+12>>2]](a)|0){break r}d=v[a>>2];v[d+20>>2]=25;Qa[v[d>>2]](a)}b=b+88|0;c=c+1|0;if((c|0)>2]){continue}break}}s:{if(!v[a+264>>2]|v[a+376>>2]==8){break s}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=255;c=v[b+4>>2]-1|0;v[b+4>>2]=c;t:{if(c){break t}if(Qa[v[b+12>>2]](a)|0){break t}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=218;c=v[b+4>>2]-1|0;v[b+4>>2]=c;u:{if(c){break u}if(Qa[v[b+12>>2]](a)|0){break u}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;v:{if(c){break v}if(Qa[v[b+12>>2]](a)|0){break v}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=6;c=v[b+4>>2]-1|0;v[b+4>>2]=c;w:{if(c){break w}if(Qa[v[b+12>>2]](a)|0){break w}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;x:{if(c){break x}if(Qa[v[b+12>>2]](a)|0){break x}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;y:{if(c){break y}if(Qa[v[b+12>>2]](a)|0){break y}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}c=v[a+376>>2];b=v[a+24>>2];d=v[b>>2];v[b>>2]=d+1;t[d|0]=B(c,c)-1;c=v[b+4>>2]-1|0;v[b+4>>2]=c;z:{if(c){break z}if(Qa[v[b+12>>2]](a)|0){break z}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break s}if(Qa[v[b+12>>2]](a)|0){break s}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}}function fBa(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,p=0,q=0,r=0,s=0,u=0,y=0,z=0;k=Ma-16|0;Ma=k;n=v[b+12>>2];e=v[b+8>>2];l=v[b+4>>2];p=v[a+4>>2];s=v[a+16>>2];v[k+12>>2]=s;f=v[p+24>>2];o=f+(w[p+28|0]&16?164:160)|0;g=v[l+44>>2];if(g){r=w[l+36|0];i=v[l+48>>2]}else{i=0}u=v[a+20>>2];m=(r<<24>>24)+n-((i<<24>>24)+e)|0;a:{if((m|0)<1){break a}d=w[n-1|0];b:{if((d&192)!=128){break b}h=1;if((m|0)<=1){break a}d=w[n-2|0];if((d&192)!=128){break b}if((m|0)<3){break a}h=2;d=w[n-3|0];if((d&192)==128){break a}}m=(d>>>0>191)+(d>>>0>223)|0;c:{if(d>>>0<=239){break c}m=0;if(d>>>0>253){break c}m=(d>>>0>251)+(d>>>0>247?4:3)|0}if((m|0)<=(h|0)){break a}n=(h^-1)+n|0}y=w[f+201|0];h=u-s|0;z=v[f+208>>2];s=v[f+56>>2];u=v[f+52>>2];m=v[o+28>>2];d:{if(!(!g|(h|0)<1)){t[l+36|0]=0;v[l+44>>2]=0;j=r;d=0;break d}d=1}e:{f:{g:{h:{while(1){i:{j:{k:{l:{if(!d){q=m;m:{n:{o:{p:{d=i<<24>>24;q:{if((d|0)<=j<<24>>24){break q}f=v[b+12>>2];while(1){if(e>>>0>=f>>>0){break p}o=w[e|0];if((o&192)!=128){break q}e=e+1|0;g=o+(g<<6)|0;j=(j<<24)+16777216>>24;if((d|0)>(j|0)){continue}break}j=i}f=j<<24>>24;d=(j&255)!=(i&255);if(d|(j&254)!=2){break o}d=f<<2;g=g-v[d+837088>>2]|0;if((g|0)>2]){break f}if((g&-2048)!=55296){break n}break f}d=r<<24>>24;c=j<<24>>24;e=(d-c|0)+e|0;n=i<<24>>24;r:{if((c|0)<=(d|0)){break r}i=c+(d^-1)|0;h=c-d&3;if(h){while(1){t[(d+l|0)+37|0]=w[e|0];d=d+1|0;e=e+1|0;h=h-1|0;if(h){continue}break}}if(i>>>0<3){break r}while(1){i=d+l|0;t[i+37|0]=w[e|0];t[i+38|0]=w[e+1|0];t[i+39|0]=w[e+2|0];t[i+40|0]=w[e+3|0];e=e+4|0;d=d+4|0;if((c|0)!=(d|0)){continue}break}}v[l+48>>2]=n;t[l+36|0]=j;v[l+44>>2]=g;v[b+8>>2]=e;v[a+16>>2]=v[k+12>>2];break e}if((j&255)!=4|d|g-63512704>>>0>1048575){break f}g=g-63447168|0;f=0;if(!(y&1)){break m}}f=v[u+(x[u+(g>>10<<1)>>1]+(g>>>4&63)<<2)>>2]}o=g&15;d=x[q+((f<<4&1048560|o)<<1)>>1];if(f>>>(o|16)&1){break l}if(!(w[p+35|0]|g-57344>>>0<6400)){if(g-983040>>>0>131071){break k}if(d&65535){break l}break k}if(!(d&65535)){break k}break l}if(e>>>0>=n>>>0){break h}d=e;s:{t:{while(1){if((h|0)<1){break i}e=d+1|0;f=t[d|0];g=f&255;if((f|0)<0){break t}if(!(z>>>((f&252)>>>2)&1)){break s}d=v[k+12>>2];v[k+12>>2]=d+1;t[d|0]=f;h=h-1|0;d=e;if((n|0)!=(d|0)){continue}break}e=n;break h}u:{v:{w:{x:{q=f&255;if(q>>>0>=225){o=w[e|0]^128;if(!(o>>>0<64&q>>>0<=236)&((f|0)!=-19|o>>>0>31)){break x}q=w[d+2|0]^128;if(q>>>0>63){break w}e=d+3|0;f=o|g<<6&960;d=x[m+(q+x[s+(f<<1)>>1]<<1)>>1];if(d){break l}g=q|f<<6;break k}if((f|0)==-32|(f&255)>>>0<194){break w}o=w[e|0]^128;if(o>>>0>63){break w}e=d+2|0;f=g&31;d=x[m+(o+x[s+(f<<1)>>1]<<1)>>1];if(d){break l}g=o|f<<6;break k}j=f&255;if(j>>>0>239){break v}}d=f&255;d=(d>>>0>191)+(d>>>0>223)|0;break u}d=0;if(j>>>0>253){break u}d=f&255;d=(d>>>0>247?4:3)+(d>>>0>251)|0}j=1;i=d+1|0;r=0;d=0;continue}d=x[m+(x[s>>1]+g<<1)>>1];if(!d){break k}}if((d&65535)>>>0<=255){f=v[k+12>>2];v[k+12>>2]=f+1;t[f|0]=d;h=h-1|0;break j}f=v[k+12>>2];v[k+12>>2]=f+1;t[f|0]=d>>>8;if((h|0)>=2){f=v[k+12>>2];v[k+12>>2]=f+1;t[f|0]=d;h=h-2|0;break j}t[p+63|0]=1;t[p+76|0]=d;v[c>>2]=15;break g}v[k+8>>2]=837142;d=Ws(p,v[v[p+24>>2]+224>>2],g,k+8|0,837142,k+12|0,v[k+12>>2]+h|0,0,-1,t[a+2|0],c);if(v[c>>2]>=1){v[p+56>>2]=d;break h}if(v[p+180>>2]>=0){v[c>>2]=-127;break h}h=v[a+20>>2]-v[k+12>>2]|0}d=1;continue}break}v[c>>2]=15;e=d;break g}if(v[c>>2]>0|v[p+180>>2]>-1){break g}c=v[b+12>>2];if(c>>>0<=e>>>0){break g}g=w[e|0];t[l+37|0]=g;h=1;d=(g>>>0>191)+(g>>>0>223)|0;y:{if(g>>>0<=239){break y}d=0;if(g>>>0>253){break y}d=(g>>>0>251)+(g>>>0>247?4:3)|0}r=d+1|0;d=e+1|0;z:{if(c>>>0<=d>>>0){c=d;break z}i=c+(e^-1)|0;j=i&3;if((c-e|0)-2>>>0>=3){n=i&-4;e=l+37|0;while(1){i=h<<24;p=w[d|0];t[e+(i>>24)|0]=p;f=w[d+1|0];t[e+(i+16777216>>24)|0]=f;m=w[d+2|0];t[e+(i+33554432>>24)|0]=m;q=e+(i+50331648>>24)|0;i=w[d+3|0];t[q|0]=i;d=d+4|0;h=h+4|0;g=i+(m+(f+(p+(g<<6)<<6)<<6)<<6)|0;n=n-4|0;if(n){continue}break}}if(j){while(1){e=w[d|0];t[((h<<24>>24)+l|0)+37|0]=e;d=d+1|0;h=h+1|0;g=e+(g<<6)|0;j=j-1|0;if(j){continue}break}}}e=c;v[l+48>>2]=r;t[l+36|0]=h;v[l+44>>2]=g}v[b+8>>2]=e;v[a+16>>2]=v[k+12>>2];break e}d=r<<24>>24;e=(d-f|0)+e|0;A:{if(j<<24>>24<=(d|0)){break A}i=f+(d^-1)|0;h=f-d&3;if(h){while(1){t[(d+l|0)+37|0]=w[e|0];d=d+1|0;e=e+1|0;h=h-1|0;if(h){continue}break}}if(i>>>0<3){break A}while(1){i=d+l|0;t[i+37|0]=w[e|0];t[i+38|0]=w[e+1|0];t[i+39|0]=w[e+2|0];t[i+40|0]=w[e+3|0];e=e+4|0;d=d+4|0;if((f|0)!=(d|0)){continue}break}}t[l+36|0]=j;v[b+8>>2]=e;v[a+16>>2]=v[k+12>>2];v[c>>2]=12}Ma=k+16|0}function $va(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,p=0,q=0,r=0,s=0,t=0,u=0,w=0;g=Ma-464|0;Ma=g;a:{b:{switch(v[c+4>>2]-1|0){case 0:e=A[c+208>>3];f=A[c+200>>3];k=A[c+248>>3];i=A[c+216>>3];n=A[c+232>>3];j=A[c+184>>3];h=A[c+192>>3];r=A[c+256>>3]+(j*A[c+224>>3]+h*A[c+240>>3]);A[b+608>>3]=r;k=k+(j*i+h*n);A[b+600>>3]=k;d=v[b+596>>2];A[d+16>>3]=r;A[d+8>>3]=k;v[d>>2]=1;k=A[c+248>>3];i=A[c+216>>3];n=A[c+232>>3];r=A[c+256>>3]+(f*A[c+224>>3]+h*A[c+240>>3]);A[b+608>>3]=r;h=k+(f*i+h*n);A[b+600>>3]=h;cd(v[b+596>>2],h,r);h=A[c+248>>3];k=A[c+216>>3];i=A[c+232>>3];n=A[c+256>>3]+(f*A[c+224>>3]+e*A[c+240>>3]);A[b+608>>3]=n;f=h+(f*k+e*i);A[b+600>>3]=f;cd(v[b+596>>2],f,n);f=A[c+248>>3];h=A[c+216>>3];k=A[c+232>>3];i=A[c+256>>3]+(j*A[c+224>>3]+e*A[c+240>>3]);A[b+608>>3]=i;e=f+(j*h+e*k);A[b+600>>3]=e;cd(v[b+596>>2],e,i);kf(v[b+596>>2]);d=v[b+596>>2];d=v[((v[d+28>>2]<<2)+v[d+24>>2]|0)-4>>2];l=(v[d+12>>2]<<3)-8|0;A[b+600>>3]=A[l+v[d>>2]>>3];A[b+608>>3]=A[l+v[d+4>>2]>>3];Qa[v[v[a>>2]+400>>2]](a,b,c)|0;d=1;break a;case 1:hv(b,g+288|0,g+32|0,g+160|0,g+16|0);e=A[g+288>>3];f=A[g+32>>3];A[b+608>>3]=f;A[b+600>>3]=e;d=v[b+596>>2];A[d+16>>3]=f;A[d+8>>3]=e;v[d>>2]=1;e=A[g+288>>3];f=A[g+16>>3];A[b+608>>3]=f;A[b+600>>3]=e;cd(v[b+596>>2],e,f);e=A[g+160>>3];f=A[g+16>>3];A[b+608>>3]=f;A[b+600>>3]=e;cd(v[b+596>>2],e,f);e=A[g+160>>3];f=A[g+32>>3];A[b+608>>3]=f;A[b+600>>3]=e;cd(v[b+596>>2],e,f);kf(v[b+596>>2]);d=v[b+596>>2];d=v[((v[d+28>>2]<<2)+v[d+24>>2]|0)-4>>2];l=(v[d+12>>2]<<3)-8|0;A[b+600>>3]=A[l+v[d>>2]>>3];A[b+608>>3]=A[l+v[d+4>>2]>>3];Qa[v[v[a>>2]+404>>2]](a,b,c)|0;d=1;break a;case 2:e=A[c+208>>3];f=A[c+184>>3];k=A[c+216>>3];i=A[c+192>>3];j=A[c+224>>3];h=A[c+200>>3];j=h>3]=j;h=(e>3]=h;e=(e>f?e:f)+n;A[g+160>>3]=e;f=(k>i?k:i)+n;A[g+16>>3]=f;A[b+608>>3]=j;A[b+600>>3]=h;d=v[b+596>>2];A[d+16>>3]=j;A[d+8>>3]=h;v[d>>2]=1;A[b+608>>3]=f;A[b+600>>3]=h;cd(v[b+596>>2],h,f);A[b+608>>3]=f;A[b+600>>3]=e;cd(v[b+596>>2],e,f);A[b+608>>3]=j;A[b+600>>3]=e;cd(v[b+596>>2],e,j);kf(v[b+596>>2]);d=v[b+596>>2];d=v[((v[d+28>>2]<<2)+v[d+24>>2]|0)-4>>2];l=(v[d+12>>2]<<3)-8|0;A[b+600>>3]=A[l+v[d>>2]>>3];A[b+608>>3]=A[l+v[d+4>>2]>>3];Qa[v[v[a>>2]+408>>2]](a,b,c)|0;d=1;break a;case 3:case 4:d=1;s=v[c+192>>2];if((s|0)<1){break a}while(1){d=v[c+324>>2];d=(d|0)!=(d&536870911)?-1:d<<3;m=ab(d);p=ab(d);q=ab(d);mV(c,l,g+456|0,g+432|0,m,g+448|0,g+424|0,p,g+440|0,g+416|0,q);t=g+288|0;xs(c,m,t);u=g+160|0;xs(c,p,u);w=g+32|0;xs(c,q,w);Ae(b);e=A[g+456>>3];f=A[g+432>>3];A[b+608>>3]=f;A[b+600>>3]=e;d=v[b+596>>2];A[d+16>>3]=f;A[d+8>>3]=e;v[d>>2]=1;e=A[g+448>>3];f=A[g+424>>3];A[b+608>>3]=f;A[b+600>>3]=e;cd(v[b+596>>2],e,f);e=A[g+440>>3];f=A[g+416>>3];A[b+608>>3]=f;A[b+600>>3]=e;cd(v[b+596>>2],e,f);kf(v[b+596>>2]);d=v[b+596>>2];d=v[((v[d+28>>2]<<2)+v[d+24>>2]|0)-4>>2];o=(v[d+12>>2]<<3)-8|0;A[b+600>>3]=A[o+v[d>>2]>>3];A[b+608>>3]=A[o+v[d+4>>2]>>3];d=ab(12);v[g+16>>2]=d;o=d+12|0;v[g+24>>2]=o;v[d+8>>2]=w;v[d+4>>2]=u;v[d>>2]=t;v[g+20>>2]=o;e=A[g+456>>3];f=A[g+432>>3];j=A[g+448>>3];h=A[g+424>>3];k=A[g+440>>3];i=A[g+416>>3];d=ab(24);v[g>>2]=d;o=d+24|0;v[g+8>>2]=o;z[d+20>>2]=i;z[d+16>>2]=k;z[d+12>>2]=h;z[d+8>>2]=j;z[d+4>>2]=f;z[d>>2]=e;v[g+4>>2]=o;Qa[v[v[a>>2]+412>>2]](a,b,g+16|0,g)|0;d=v[g>>2];if(d){v[g+4>>2]=d;$a(d)}d=v[g+16>>2];if(d){v[g+20>>2]=d;$a(d)}$a(m);$a(p);$a(q);d=1;l=l+1|0;if((s|0)!=(l|0)){continue}break};break a;case 5:case 6:break b;default:break a}}d=1;q=v[c+184>>2];if((q|0)<1){break a}while(1){d=v[c+180>>2];Ae(b);d=d+B(l,1280)|0;e=A[d>>3];f=A[d+128>>3];A[b+608>>3]=f;A[b+600>>3]=e;m=v[b+596>>2];A[m+16>>3]=f;A[m+8>>3]=e;v[m>>2]=1;f=A[d+144>>3];j=A[d+16>>3];h=A[d+136>>3];k=A[d+8>>3];e=A[d+24>>3];i=A[d+152>>3];A[b+608>>3]=i;A[b+600>>3]=e;ol(v[b+596>>2],k,h,j,f,e,i);f=A[d+216>>3];j=A[d+88>>3];h=A[d+184>>3];k=A[d+56>>3];e=A[d+120>>3];i=A[d+248>>3];A[b+608>>3]=i;A[b+600>>3]=e;ol(v[b+596>>2],k,h,j,f,e,i);f=A[d+232>>3];j=A[d+104>>3];h=A[d+240>>3];k=A[d+112>>3];e=A[d+96>>3];i=A[d+224>>3];A[b+608>>3]=i;A[b+600>>3]=e;ol(v[b+596>>2],k,h,j,f,e,i);f=A[d+160>>3];j=A[d+32>>3];h=A[d+192>>3];k=A[d+64>>3];e=A[d>>3];i=A[d+128>>3];A[b+608>>3]=i;A[b+600>>3]=e;ol(v[b+596>>2],k,h,j,f,e,i);kf(v[b+596>>2]);m=v[b+596>>2];m=v[((v[m+28>>2]<<2)+v[m+24>>2]|0)-4>>2];p=(v[m+12>>2]<<3)-8|0;A[b+600>>3]=A[p+v[m>>2]>>3];A[b+608>>3]=A[p+v[m+4>>2]>>3];Qa[v[v[a>>2]+416>>2]](a,b,d,c)|0;d=1;l=l+1|0;if((q|0)!=(l|0)){continue}break}}Ma=g+464|0;return d|0}function dF(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=Ma+-64|0;Ma=h;j=Mf();c=Ma-16|0;Ma=c;e=j- -64|0;d=e;i=v[d+24>>2];v[c+12>>2]=d;v[c+8>>2]=i;a:{b:{c:while(1){d=v[c+8>>2];if(d){while(1){if((e|0)!=v[c+12>>2]){break b}if(v[d+24>>2]==(b|0)){v[c+4>>2]=e;v[c>>2]=d;v[c+8>>2]=v[d>>2];ho(e,c);continue c}d=v[d>>2];v[c+8>>2]=d;if(d){continue}break}}break}Ma=c+16|0;break a}wd(c+8|0,e);L()}d:{if(!(!(v[b+148>>2]&2)|!v[a+100>>2])){d=h+56|0;k=b+72|0;c=ze(h+16|0,k);Sf(d,c);Eu(j,b,d);db(d);v[c+24>>2]=969432;v[c>>2]=969400;d=v[c+28>>2];if(d){e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(!e){Qa[v[v[d>>2]+4>>2]](d)}v[c+28>>2]=0}v[c+16>>2]=969432;d=v[c+20>>2];if(d){e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(!e){Qa[v[v[d>>2]+4>>2]](d)}v[c+20>>2]=0}db(c+8|0);e:{if(!(v[a+92>>2]&6)){break e}i=ze(h+16|0,k);f=i;e=Ma-96|0;Ma=e;f:{g:{if(w[a+89|0]){c=-1;d=a+92|0;h:{if(!(v[d>>2]&1)){break h}i:{switch(v[a+56>>2]-1|0){case 0:case 1:case 4:if(!(v[d>>2]&4)){break h}g=v[a+112>>2];l=Ma-32|0;Ma=l;d=-1;m=eh(f);c=v[v[g+112>>2]+((m>>>0)%y[g+108>>2]<<2)>>2];j:{if(!c){break j}while(1){k:{if(v[c+12>>2]==(m|0)){if(ff(c+16|0,f)){break k}}c=v[c+8>>2];if(c){continue}break j}break}d=eh(f);l:{c=v[v[g+112>>2]+((d>>>0)%y[g+108>>2]<<2)>>2];if(c){while(1){if((d|0)==v[c+12>>2]){if(ff(c+16|0,f)){break l}}c=v[c+8>>2];if(c){continue}break}}lb(mb(l+8|0,291659,271519,1156,307727));L()}d=v[c+52>>2]}Ma=l+32|0;c=d;break h;case 2:if(!(v[d>>2]&2)){break h}v[e+8>>2]=0;c=e+56|0;vj(c,f);d=ff(c,a+8|0);v[e+80>>2]=969432;v[e+56>>2]=969400;c=v[e+84>>2];if(c){g=v[c+4>>2]-1|0;v[c+4>>2]=g;if(!g){Qa[v[v[c>>2]+4>>2]](c)}v[e+84>>2]=0}v[e+72>>2]=969432;c=v[e+76>>2];if(c){g=v[c+4>>2]-1|0;v[c+4>>2]=g;if(!g){Qa[v[v[c>>2]+4>>2]](c)}v[e+76>>2]=0}db(e- -64|0);c=-1;if(!d){break h}c=v[a+48>>2];d=e+56|0;fh(d,f);f=e+48|0;Vp(f,c,d);jb(e+8|0,f);c=v[e+48>>2];v[e+48>>2]=0;m:{if(!c){break m}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break m}d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}}db(e+56|0);d=v[e+8>>2];if(d){c=v[d+56>>2]}else{c=-1}v[e+8>>2]=0;if(!d){break h}f=v[d+4>>2]-1|0;v[d+4>>2]=f;if(f){break h}f=v[d+4>>2];if(!f){v[d+4>>2]=-32767}if(!f){Qa[v[v[d>>2]+4>>2]](d)}break h;case 3:break i;default:break g}}if(!(v[d>>2]&2)){break h}v[e+48>>2]=0;c=e+56|0;vj(c,f);d=e+8|0;vj(d,a+8|0);d=ff(c,d);v[e+32>>2]=969432;v[e+8>>2]=969400;c=v[e+36>>2];if(c){g=v[c+4>>2]-1|0;v[c+4>>2]=g;if(!g){Qa[v[v[c>>2]+4>>2]](c)}v[e+36>>2]=0}v[e+24>>2]=969432;c=v[e+28>>2];if(c){g=v[c+4>>2]-1|0;v[c+4>>2]=g;if(!g){Qa[v[v[c>>2]+4>>2]](c)}v[e+28>>2]=0}db(e+16|0);v[e+80>>2]=969432;v[e+56>>2]=969400;c=v[e+84>>2];if(c){g=v[c+4>>2]-1|0;v[c+4>>2]=g;if(!g){Qa[v[v[c>>2]+4>>2]](c)}v[e+84>>2]=0}v[e+72>>2]=969432;c=v[e+76>>2];if(c){g=v[c+4>>2]-1|0;v[c+4>>2]=g;if(!g){Qa[v[v[c>>2]+4>>2]](c)}v[e+76>>2]=0}db(e- -64|0);c=-1;if(!d){break h}c=v[a+48>>2];d=e+56|0;fh(d,f);f=e+8|0;Vp(f,c,d);jb(e+48|0,f);c=v[e+8>>2];v[e+8>>2]=0;n:{if(!c){break n}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break n}d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}}db(e+56|0);d=v[e+48>>2];if(d){c=v[d+56>>2]}else{c=-1}v[e+48>>2]=0;if(!d){break h}f=v[d+4>>2]-1|0;v[d+4>>2]=f;if(f){break h}f=v[d+4>>2];if(!f){v[d+4>>2]=-32767}if(!f){Qa[v[v[d>>2]+4>>2]](d)}}Ma=e+96|0;break f}lb(mb(e+56|0,231515,240864,286,226712));L()}lb(mb(e+56|0,278481,240864,815,226832));L()}v[i+24>>2]=969432;v[i>>2]=969400;d=v[i+28>>2];if(d){e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(!e){Qa[v[v[d>>2]+4>>2]](d)}v[i+28>>2]=0}v[i+16>>2]=969432;d=v[i+20>>2];if(d){e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(!e){Qa[v[v[d>>2]+4>>2]](d)}v[i+20>>2]=0}db(i+8|0);if((c|0)<0){break e}if(!c){d=h+56|0;Sf(d,a+8|0);e=h+16|0;ic(e,d,325028);Eu(j,b,e);db(e);db(d)}d=h+8|0;Sf(d,a+8|0);a=h+56|0;ic(a,d,336559);e=h+16|0;c=Qe(h,c);Xb(e,a,c);Eu(j,b,e);db(e);db(c);db(a);db(d)}c=h+8|0;a=ze(h+16|0,k);Sf(c,a);d=h+56|0;ic(d,c,325028);Eu(j,b,d);db(d);db(c);v[a+24>>2]=969432;v[a>>2]=969400;b=v[a+28>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Qa[v[v[b>>2]+4>>2]](b)}v[a+28>>2]=0}v[a+16>>2]=969432;b=v[a+20>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Qa[v[v[b>>2]+4>>2]](b)}v[a+20>>2]=0}db(a+8|0);break d}d=h+8|0;fF(d,a);c=h+56|0;i=d;a=ze(h+16|0,b+72|0);d=v[a+8>>2];ic(c,i,v[(d?d+12|0:1117e3)>>2]);Eu(j,b,c);db(c);v[a+24>>2]=969432;v[a>>2]=969400;b=v[a+28>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Qa[v[v[b>>2]+4>>2]](b)}v[a+28>>2]=0}v[a+16>>2]=969432;b=v[a+20>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Qa[v[v[b>>2]+4>>2]](b)}v[a+20>>2]=0}db(a+8|0);db(h+8|0)}Ma=h- -64|0}function Z5(a,b){a=a|0;b=b|0;var 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,x=0,y=0;d=Ma-1184|0;Ma=d;if(b){Nb(4233,0)}b=0;a:{if(Qn(a,d+1136|0)){break a}if(Qn(a,d+1136|4)){break a}if(Qn(a,d+1144|0)){break a}if(Qn(a,d+1148|0)){break a}if(Qn(a,d+1152|0)){break a}if(Qn(a,d+1156|0)){break a}if(Qn(a,d+1160|0)){break a}if(Qn(a,d+1164|0)|v[d+1136>>2]!=1504078485){break a}k=v[d+1140>>2];if((k|0)<1){break a}l=v[d+1144>>2];if((l|0)<1){break a}i=v[d+1148>>2];if((i|0)<1|(i|0)>32){break a}m=v[d+1156>>2];if(!m){v[d+1152>>2]=B((B(i,k)+15|0)/16|0,l)<<1}g=3;p=1025;b:{switch(i-24|0){default:b=1;p=769;g=1;break;case 0:case 8:break b}}v[d+28>>2]=0;v[d+20>>2]=l;v[d+16>>2]=k;v[d+8>>2]=1;v[d+12>>2]=1;v[d>>2]=0;v[d+4>>2]=0;c=(i|0)==24?8:(i|0)==32?8:i;v[d+24>>2]=c;if(!b){v[d+92>>2]=0;v[d+88>>2]=c;v[d+84>>2]=l;v[d+80>>2]=k;v[d+76>>2]=1;v[d+68>>2]=0;v[d+72>>2]=1;v[d+60>>2]=0;v[d+64>>2]=0;v[d+56>>2]=c;v[d+52>>2]=l;v[d+48>>2]=k;v[d+40>>2]=1;v[d+44>>2]=1;v[d+32>>2]=0;v[d+36>>2]=0}b=0;g=ir(g,d);if(!g){break a}c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{switch(v[d+1160>>2]){case 0:break l;case 1:break m;default:break j}}Nb(19581,0);e=1<=257){break h}c=v[d+1164>>2];if((i|0)!=31){eb(d+104|4,0,((e|0)>1?e:1)<<2)}if((c|0)<0){break j}h=(c|0)/3|0;if(c-B(h,3)|(c|0)>3<>2];if(e&7){break j}f=v[a+64>>2];if((f|0)>=0&(f|0)<=v[a+60>>2]){break k}e=v[a+28>>2];v[a+28>>2]=e-1;n:{if((e|0)>=1){v[a+60>>2]=v[a+60>>2]+1;e=v[a+24>>2];v[a+24>>2]=e+1;f=w[e|0];break n}f=Eb(a,1);if((f|0)==-1){break j}}e=(c<<2)+d|0;v[e+108>>2]=v[e+108>>2]|f&255;c=c+1|0;if((h|0)!=(c|0)){continue}break}c=0;while(1){e=v[a+8>>2];if(e&7){break j}f=v[a+64>>2];if((f|0)>=0&(f|0)<=v[a+60>>2]){break k}e=v[a+28>>2];v[a+28>>2]=e-1;o:{if((e|0)>=1){v[a+60>>2]=v[a+60>>2]+1;e=v[a+24>>2];v[a+24>>2]=e+1;f=w[e|0];break o}f=Eb(a,1);if((f|0)==-1){break j}}e=(c<<2)+d|0;v[e+108>>2]=v[e+108>>2]|f<<8&65280;c=c+1|0;if((h|0)!=(c|0)){continue}break}c=0;while(1){e=v[a+8>>2];if(e&7){break j}f=v[a+64>>2];if((f|0)>=0&(f|0)<=v[a+60>>2]){break k}e=v[a+28>>2];v[a+28>>2]=e-1;p:{if((e|0)>=1){v[a+60>>2]=v[a+60>>2]+1;e=v[a+24>>2];v[a+24>>2]=e+1;f=w[e|0];break p}f=Eb(a,1);if((f|0)==-1){break j}}e=(c<<2)+d|0;v[e+108>>2]=v[e+108>>2]|f<<16&16711680;c=c+1|0;if((h|0)!=(c|0)){continue}break}}switch(m|0){case 0:case 1:break i;case 2:break e;default:break g}}v[a+8>>2]=e|4}Og(g);break a}c=0;h=v[g+16>>2];if((h|0)>0){q:{while(1){r:{e=Oj(1,v[g+8>>2]-v[g>>2]|0);v[(d+1172|0)+(c<<2)>>2]=e;if(!e){break r}c=c+1|0;h=v[g+16>>2];if((c|0)<(h|0)){continue}break q}break}O(13861,16113,262,188585);L()}q=v[d+1180>>2];r=v[d+1176>>2];o=v[d+1172>>2]}if((l|0)<1){break d}s=(i|0)==32?-1:-1<1?k:1;c=B(i,k);u=(c+15|0)/-16<<1==((c+7|0)/-8|0);m=0;while(1){e=0;h=0;c=0;if((k|0)>0){while(1){if((c|0)<(i|0)){while(1){f=v[a+8>>2];if(f&7){break f}j=v[a+64>>2];if((j|0)>=0&(j|0)<=v[a+60>>2]){break c}f=v[a+28>>2];v[a+28>>2]=f-1;s:{if((f|0)>=1){v[a+60>>2]=v[a+60>>2]+1;f=v[a+24>>2];v[a+24>>2]=f+1;f=w[f|0];break s}f=Eb(a,1);if((f|0)==-1){break f}}h=h<<8|f;c=c+8|0;if((i|0)>(c|0)){continue}break}}c=c-i|0;x=(c|0)==32?-1:-1<>c&s;j=v[o+20>>2];t:{if(v[g+16>>2]==3){y=f&255;n=v[o+28>>2];if((j|0)==1){j=v[n>>2]+(e<<2)|0}else{j=v[n+(e<<2)>>2]}v[j>>2]=y;n=f>>>8&255;j=v[r+28>>2];if(v[r+20>>2]==1){j=v[j>>2]+(e<<2)|0}else{j=v[j+(e<<2)>>2]}v[j>>2]=n;f=f>>>16&255;j=v[q+28>>2];if(v[q+20>>2]==1){v[v[j>>2]+(e<<2)>>2]=f;break t}v[v[j+(e<<2)>>2]>>2]=f;break t}n=v[o+28>>2];if((j|0)==1){v[v[n>>2]+(e<<2)>>2]=f;break t}v[v[n+(e<<2)>>2]>>2]=f}h=h&x;e=e+1|0;if((t|0)!=(e|0)){continue}break}}u:{if(u){break u}f=v[a+8>>2];if(f&7){break f}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break c}c=v[a+28>>2];v[a+28>>2]=c-1;if((c|0)>=1){v[a+60>>2]=v[a+60>>2]+1;v[a+24>>2]=v[a+24>>2]+1;break u}if((Eb(a,1)|0)==-1){break f}}c=0;h=v[g+16>>2];if((h|0)>0){while(1){if(mj(g,c,0,m,k,1,v[(d+1172|0)+(c<<2)>>2])){break f}c=c+1|0;h=v[g+16>>2];if((c|0)<(h|0)){continue}break}}m=m+1|0;if((m|0)!=(l|0)){continue}break}break d}O(21170,16113,327,188600);L()}Nb(12297,0)}Og(g);break a}Nb(8571,0);Og(g);break a}a=0;if((h|0)>0){while(1){ve(v[(d+1172|0)+(a<<2)>>2]);a=a+1|0;if((a|0)>2]){continue}break}}v[g+28>>2]=p;v:{w:{switch(i-24|0){case 0:case 8:a=v[g+24>>2];v[v[a>>2]+40>>2]=0;v[v[a+4>>2]+40>>2]=1;v[v[a+8>>2]+40>>2]=2;break v;default:break w}}v[v[v[g+24>>2]>>2]+40>>2]=0}b=g;break a}v[a+8>>2]=f|4;Og(g)}Ma=d+1184|0;return b|0}function b_(a,b,c,d,e,f,g){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,w=0,x=0,y=0,z=0,A=0;t=g?a+1032|0:a;v[t>>2]=0;q=g?a+1548|0:a+516|0;v[q>>2]=0;if(b>>>0>=2){a=1;while(1){g=c+2|0;m=a&1;p=u[(m?g:c)>>1];r=u[(m?c:g)>>1]-p|0;h=m?q:t;g=h+4|0;a=m?n:w;a:{b:{if(!a){break b}h=(h+(a<<5)|0)+4|0;while(1){i=v[g>>2];if((i|0)>(p|0)){k=a-1|0;j=a&3;if(j){while(1){i=(a<<5)+g|0;a=a-1|0;h=(a<<5)+g|0;o=v[h+4>>2];v[i>>2]=v[h>>2];v[i+4>>2]=o;l=v[h+28>>2];v[i+24>>2]=v[h+24>>2];v[i+28>>2]=l;l=v[h+20>>2];v[i+16>>2]=v[h+16>>2];v[i+20>>2]=l;l=v[h+12>>2];v[i+8>>2]=v[h+8>>2];v[i+12>>2]=l;j=j-1|0;if(j){continue}break}}if(k>>>0<3){break b}while(1){k=(a<<5)+g|0;i=k+-64|0;h=i;o=v[h>>2];s=v[h+4>>2];j=k-96|0;h=j;l=v[h+4>>2];v[i>>2]=v[h>>2];v[i+4>>2]=l;h=k-32|0;x=v[h+4>>2];v[k>>2]=v[h>>2];v[k+4>>2]=x;v[h>>2]=o;v[h+4>>2]=s;l=v[i+24>>2];o=v[i+28>>2];s=v[j+28>>2];v[i+24>>2]=v[j+24>>2];v[i+28>>2]=s;s=v[i+16>>2];x=v[i+20>>2];y=v[j+20>>2];v[i+16>>2]=v[j+16>>2];v[i+20>>2]=y;y=v[i+8>>2];A=v[i+12>>2];z=v[j+12>>2];v[i+8>>2]=v[j+8>>2];v[i+12>>2]=z;i=v[h+24>>2];z=v[h+28>>2];v[h+24>>2]=l;v[h+28>>2]=o;l=v[h+16>>2];o=v[h+20>>2];v[h+16>>2]=s;v[h+20>>2]=x;s=v[h+8>>2];x=v[h+12>>2];v[h+8>>2]=y;v[h+12>>2]=A;v[k+24>>2]=i;v[k+28>>2]=z;v[k+16>>2]=l;v[k+20>>2]=o;v[k+8>>2]=s;v[k+12>>2]=x;a=a-4|0;h=(a<<5)+g|0;i=v[h+28>>2];v[j+24>>2]=v[h+24>>2];v[j+28>>2]=i;i=v[h+20>>2];v[j+16>>2]=v[h+16>>2];v[j+20>>2]=i;i=v[h+12>>2];v[j+8>>2]=v[h+8>>2];v[j+12>>2]=i;i=v[h+4>>2];v[j>>2]=v[h>>2];v[j+4>>2]=i;if(a){continue}break}break b}if((i|0)==(p|0)){a=v[g+4>>2];if((r|0)<=-1){if((a|0)<=(r|0)){break a}v[g+4>>2]=r;break a}if((a|0)>=(r|0)){break a}v[g+4>>2]=r;break a}g=g+32|0;a=a-1|0;if(a){continue}break}g=h}v[g+4>>2]=r;v[g>>2]=p;if(!m){w=w+1|0;break a}n=n+1|0}c=c+4|0;a=0;b=b-2|0;if(b>>>0>1){continue}break}}v[t>>2]=w;v[q>>2]=n;if(d>>>0>=2){c=q+4|0;while(1){r=u[e+2>>1];k=u[e>>1]-r|0;b=c;c:{d:{if(!n){break d}b=((n<<5)+q|0)+4|0;g=c;a=n;while(1){h=v[g>>2];if((h|0)>(r|0)){i=a-1|0;j=a&3;if(j){while(1){h=(a<<5)+g|0;a=a-1|0;b=(a<<5)+g|0;p=v[b+4>>2];v[h>>2]=v[b>>2];v[h+4>>2]=p;m=v[b+28>>2];v[h+24>>2]=v[b+24>>2];v[h+28>>2]=m;m=v[b+20>>2];v[h+16>>2]=v[b+16>>2];v[h+20>>2]=m;m=v[b+12>>2];v[h+8>>2]=v[b+8>>2];v[h+12>>2]=m;j=j-1|0;if(j){continue}break}}if(i>>>0>=3){while(1){j=(a<<5)+g|0;h=j+-64|0;p=v[h>>2];l=v[h+4>>2];i=j-96|0;b=i;m=v[b+4>>2];v[h>>2]=v[b>>2];v[h+4>>2]=m;b=j-32|0;o=v[b+4>>2];v[j>>2]=v[b>>2];v[j+4>>2]=o;v[b>>2]=p;v[b+4>>2]=l;m=v[h+24>>2];p=v[h+28>>2];l=v[i+28>>2];v[h+24>>2]=v[i+24>>2];v[h+28>>2]=l;l=v[h+16>>2];o=v[h+20>>2];s=v[i+20>>2];v[h+16>>2]=v[i+16>>2];v[h+20>>2]=s;s=v[h+8>>2];x=v[h+12>>2];y=v[i+12>>2];v[h+8>>2]=v[i+8>>2];v[h+12>>2]=y;h=v[b+24>>2];y=v[b+28>>2];v[b+24>>2]=m;v[b+28>>2]=p;m=v[b+16>>2];p=v[b+20>>2];v[b+16>>2]=l;v[b+20>>2]=o;l=v[b+8>>2];o=v[b+12>>2];v[b+8>>2]=s;v[b+12>>2]=x;v[j+24>>2]=h;v[j+28>>2]=y;v[j+16>>2]=m;v[j+20>>2]=p;v[j+8>>2]=l;v[j+12>>2]=o;a=a-4|0;b=(a<<5)+g|0;h=v[b+28>>2];v[i+24>>2]=v[b+24>>2];v[i+28>>2]=h;h=v[b+20>>2];v[i+16>>2]=v[b+16>>2];v[i+20>>2]=h;h=v[b+12>>2];v[i+8>>2]=v[b+8>>2];v[i+12>>2]=h;h=v[b+4>>2];v[i>>2]=v[b>>2];v[i+4>>2]=h;if(a){continue}break}}b=g;break d}if((h|0)==(r|0)){a=v[g+4>>2];if((k|0)<=-1){if((a|0)<=(k|0)){break c}v[g+4>>2]=k;break c}if((a|0)>=(k|0)){break c}v[g+4>>2]=k;break c}g=g+32|0;a=a-1|0;if(a){continue}break}}v[b+4>>2]=k;v[b>>2]=r;n=n+1|0}e=e+4|0;d=d-2|0;if(d>>>0>1){continue}break}}v[t>>2]=w;v[q>>2]=n;e:{if(!w){break e}a=t+4|0;g=w;while(1){f:{g:{switch(g|0){case 1:b=v[a+4>>2];d=v[a>>2];break f;case 0:break e;default:break g}}d=v[a>>2];b=v[a+32>>2]-d|0;c=v[a+4>>2];if((b|0)>=(c|0)){b=c;break f}v[a+4>>2]=b}v[a+12>>2]=d;v[a+8>>2]=b+d;a=a+32|0;g=g-1|0;continue}}h:{if(!n){break h}a=q+4|0;g=n;while(1){i:{j:{switch(g|0){case 1:b=v[a+4>>2];d=v[a>>2];break i;case 0:break h;default:break j}}d=v[a>>2];b=d-v[a+32>>2]|0;c=v[a+4>>2];if((b|0)<=(c|0)){b=c;break i}v[a+4>>2]=b}v[a+8>>2]=d;v[a+12>>2]=b+d;a=a+32|0;g=g-1|0;continue}}if(w){a=t+4|0;v[t+16>>2]=v[t+16>>2]-f;g=v[t+12>>2];d=w-1|0;k:{if(!d){b=a;break k}while(1){b=v[a+44>>2];c=(b-g|0)/2|0;e=c+g|0;c=(c|0)<(f|0);v[a+8>>2]=c?e:f+g|0;v[a+44>>2]=c?e:b-f|0;g=v[a+40>>2];b=a+32|0;a=b;d=d-1|0;if(d){continue}break}}v[b+8>>2]=f+g}if(n){a=q+4|0;v[q+16>>2]=v[q+16>>2]-f;g=v[q+12>>2];d=n-1|0;l:{if(!d){b=a;break l}while(1){b=v[a+44>>2];c=(b-g|0)/2|0;e=c+g|0;c=(c|0)<(f|0);v[a+8>>2]=c?e:f+g|0;v[a+44>>2]=c?e:b-f|0;g=v[a+40>>2];b=a+32|0;a=b;d=d-1|0;if(d){continue}break}}v[b+8>>2]=f+g}}function yN(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;g=Ma-192|0;Ma=g;v[g+188>>2]=1010424;a:{while(1){b:{if((l|0)<0){break b}if((2147483647-l|0)<(f|0)){l=-1;if(w[a|0]&32){break b}v[296206]=61;break b}l=f+l|0}c:{d:{e:{f:{g:{m=g;h:{i:{j:{k:{l:{m:{i=v[g+188>>2];f=i;e=v[f>>2];if(e){while(1){if(!(!e|(e|0)==37)){h=f+4|0;v[g+188>>2]=h;e=v[f+4>>2];f=h;continue}break}e=f;h=e;j=v[e>>2];n:{if(!j){break n}while(1){if(!QO(1009704,j)){h=f;break n}j=v[f+4>>2];h=f+4|0;f=h;if(j){continue}break}}f=h-e>>2;e=v[g+188>>2];v[g+188>>2]=((f&1073741822)<<2)+e;e=(e+(f<<1&-4)|0)-i|0;f=e>>2;if(a){jD(a,i,f)}if(e){continue}h=-1;f=1;n=0;k=g;e=v[g+188>>2];if(!(v[e+4>>2]-48>>>0>=10|v[e+8>>2]!=36)){h=v[e+4>>2]-48|0;o=1;f=3}e=(f<<2)+e|0;j=v[e>>2];f=j-32|0;if(f>>>0<=31){f=1<>2];f=j-32|0;if(f>>>0>=32){break o}e=i;f=1<>2]=e;break l}j=l;if(a){break a}if(!o){break h}e=1;while(1){a=v[(e<<2)+d>>2];if(a){xN((e<<4)+c|0,a,b);j=1;e=e+1|0;if((e|0)!=10){continue}break a}break}j=1;if(e>>>0>=10){break a}while(1){if(v[(e<<2)+d>>2]){break c}e=e+1|0;if((e|0)!=10){continue}break}break a}v[g+188>>2]=e;if((j|0)!=42){break l}if(v[e+4>>2]-48>>>0>=10){break k}f=v[g+188>>2];if(v[f+8>>2]!=36){break k}v[((v[f+4>>2]<<2)+d|0)-192>>2]=10;k=v[((v[f+4>>2]<<4)+c|0)-768>>2];o=1;e=f+12|0;break j}k=wN(g+188|0);if((k|0)<0){break c}e=v[g+188>>2];break i}if(o){break c}o=0;k=0;if(a){f=v[b>>2];v[b>>2]=f+4;k=v[f>>2]}e=v[g+188>>2]+4|0}v[m+188>>2]=e;if((k|0)>-1){break i}k=0-k|0;n=n|8192}i=-1;p:{if(v[e>>2]!=46){break p}if(v[e+4>>2]==42){q:{if(v[e+8>>2]-48>>>0>=10){break q}f=v[g+188>>2];if(v[f+12>>2]!=36){break q}v[((v[f+8>>2]<<2)+d|0)-192>>2]=10;e=f+16|0;i=v[((v[f+8>>2]<<4)+c|0)-768>>2];break p}if(o){break c}if(a){f=v[b>>2];v[b>>2]=f+4;i=v[f>>2]}else{i=0}e=v[g+188>>2]+8|0;break p}v[g+188>>2]=e+4;i=wN(g+188|0);e=v[g+188>>2]}f=0;while(1){m=f;j=-1;f=v[e>>2]-65|0;if(f>>>0>57){break a}e=e+4|0;v[g+188>>2]=e;f=w[(f+B(m,58)|0)+1009744|0];if(f-1>>>0<8){continue}break}if((f|0)==19){break f}if(!f){break a}if((h|0)>=0){v[(h<<2)+d>>2]=f;f=(h<<4)+c|0;h=v[f+12>>2];v[g+176>>2]=v[f+8>>2];v[g+180>>2]=h;h=v[f+4>>2];v[g+168>>2]=v[f>>2];v[g+172>>2]=h;break e}if(a){break g}}j=0;break a}xN(g+168|0,f,b);e=v[g+188>>2];break d}if((h|0)>-1){break a}}f=0;if(!a){continue}}f=g;r:{s:{t:{u:{v:{e=v[e-4>>2];e=m?(e&15)==3?e&-33:e:e;if((e|0)<=108){if((e|0)==67){break v}if((e|0)==83){break u}if((e|0)!=99){break r}e=v[g+168>>2];f=e&255;if(f>>>0>=128){f=v[v[279293]>>2]?-1:(e|0)!=-1?e<<24>>24&57343:-1}tx(f,a);f=1;continue}w:{switch(e-109|0){case 6:e=v[g+168>>2];break s;case 0:break t;case 1:break w;default:break r}}f=0;x:{switch(m&255){case 0:v[v[g+168>>2]>>2]=l;continue;case 1:v[v[g+168>>2]>>2]=l;continue;case 2:e=v[g+168>>2];v[e>>2]=l;v[e+4>>2]=l>>31;continue;case 3:u[v[g+168>>2]>>1]=l;continue;case 4:t[v[g+168>>2]]=l;continue;case 6:v[v[g+168>>2]>>2]=l;continue;case 7:break x;default:continue}}e=v[g+168>>2];v[e>>2]=l;v[e+4>>2]=l>>31;continue}tx(v[g+168>>2],a);f=1;continue}h=v[g+168>>2];f=xe(h,0,i);e=f?f-h>>2:i;f=(e|0)>(k|0)?e:k;if(!(n&8192)){v[g+84>>2]=349015;v[g+80>>2]=f-e;Gp(a,237052,g+80|0);jD(a,h,e);continue}jD(a,h,e);v[g+100>>2]=349015;v[g+96>>2]=f-e;Gp(a,237052,g+96|0);continue}e=fl(v[296206])}e=e?e:330429;v[f+168>>2]=e;h=0;f=e;i=i>>>0<2147483647?i:2147483647;y:{if((i|0)<1){break y}z:{while(1){m=Kp(g+140|0,f,4);if((m|0)<1){break z}f=f+m|0;h=h+1|0;if((i|0)!=(h|0)){continue}break}h=i;break y}if((m|0)<0){break a}}f=(h|0)>(k|0)?h:k;i=n&8192;if(!i){v[g+132>>2]=349015;v[g+128>>2]=f-h;Gp(a,237052,g+128|0)}j=h;if(h){while(1){m=Kp(g+140|0,e,4);tx(v[g+140>>2],a);e=e+m|0;j=j-1|0;if(j){continue}break}}if(!i){continue}v[g+116>>2]=349015;v[g+112>>2]=f-h;Gp(a,237052,g+112|0);continue}v[g+72>>2]=e;e=e|32;v[g+68>>2]=t[e+1009615|0];v[g- -64>>2]=((n>>>16^-1)&1)+326176;v[g+60>>2]=((n^-1)&1)+337465;v[g+56>>2]=((n>>>13^-1)&1)+326440;v[g+52>>2]=((n>>>11^-1)&1)+326458;v[g+48>>2]=((n>>>3^-1)&1)+336559;_i(g+144|0,16,300407,g+48|0);f=0;e=e-97|0;if(e>>>0>23){continue}e=1<>2];v[g+16>>2]=v[g+176>>2];v[g+20>>2]=f;v[g>>2]=k;v[g+4>>2]=i;f=v[g+172>>2];v[g+8>>2]=v[g+168>>2];v[g+12>>2]=f;f=Gp(a,g+144|0,g);continue}v[g+32>>2]=k;v[g+36>>2]=i;f=v[g+172>>2];v[g+40>>2]=v[g+168>>2];v[g+44>>2]=f;f=Gp(a,g+144|0,g+32|0);continue}break}j=-1}Ma=g+192|0;return j}function pZ(a){var 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=C(0),q=0,r=0,s=C(0);i=Ma-16|0;Ma=i;v[i+12>>2]=0;c=v[290883];a:{if(!c){e=zI(i+12|0);e=((e?x[581862]:0)&65535)<<1;b=0;b:{if(e>>>0<14){break b}b=1;if(e>>>0<=31){break b}b=2;if(e>>>0<62){break b}b=3;if(e>>>0<128){break b}b=4;if(e>>>0<252){break b}b=5;if(e>>>0<510){break b}b=6;if(e>>>0<1022){break b}b=7;if(e>>>0<2040){break b}b=8;if(e>>>0<4094){break b}b=9;if(e>>>0<8192){break b}b=10;if(e>>>0<16382){break b}b=11;if(e>>>0<32750){break b}b=12;if(e>>>0<65522){break b}b=13;if(e>>>0<131072){break b}b=14;if(e>>>0<262140){break b}b=15;if(e>>>0<524288){break b}b=16;if(e>>>0<1048574){break b}b=17;if(e>>>0<2097144){break b}b=18;if(e>>>0<4194302){break b}b=19;if(e>>>0<8388594){break b}b=20;if(e>>>0<16777214){break b}b=21;if(e>>>0<33554394){break b}b=22;if(e>>>0<67108860){break b}b=23;if(e>>>0<134217690){break b}b=24;if(e>>>0<268435400){break b}b=25;if(e>>>0<536870910){break b}b=e>>>0>1073741789?27:26}c:{d:{if(v[i+12>>2]<=0){d=Fg(52);if(!d){v[i+12>>2]=7;d=0;break c}e:{if(v[i+12>>2]<=0){t[d+49|0]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+12>>2]=0;v[d+8>>2]=2479;v[d+4>>2]=2478;t[d+48|0]=b;v[d+40>>2]=1056964608;v[d+44>>2]=0;j=v[(b<<2)+836480>>2];v[d+28>>2]=j;b=B(j,12);c=Fg(b);v[d>>2]=c;if(c){break e}v[i+12>>2]=7}t[d+49|0]=1;break d}e=c+b|0;f:{if(e>>>0<=c>>>0){break f}b=B(j,12)-1|0;h=((b>>>0)/12|0)+1&7;if(h){while(1){v[c+8>>2]=0;v[c>>2]=-2147483647;v[c+4>>2]=0;c=c+12|0;h=h-1|0;if(h){continue}break}}if(b>>>0<84){break f}while(1){v[c+8>>2]=0;v[c+12>>2]=-2147483647;v[c>>2]=-2147483647;v[c+4>>2]=0;v[c+24>>2]=-2147483647;v[c+28>>2]=0;v[c+36>>2]=-2147483647;v[c+40>>2]=0;v[c+48>>2]=-2147483647;v[c+52>>2]=0;v[c+60>>2]=-2147483647;v[c+64>>2]=0;v[c+84>>2]=-2147483647;v[c+16>>2]=0;v[c+20>>2]=0;v[c+32>>2]=0;v[c+44>>2]=0;v[c+56>>2]=0;v[c+68>>2]=0;v[c+72>>2]=-2147483647;v[c+76>>2]=0;v[c+80>>2]=0;v[c+88>>2]=0;v[c+92>>2]=0;c=c+96|0;if(e>>>0>c>>>0){continue}break}}v[d+24>>2]=0;b=d;s=C(j|0);p=C(s*C(0));g:{if(C(D(p))>2]=e;b=d;p=C(s*C(.5));h:{if(C(D(p))>2]=e;b=v[i+12>>2];t[d+49|0]=1;if((b|0)>0){break d}}break c}Nd(d);d=0}v[290883]=d;v[291026]=2480;if(v[i+12>>2]>0){break a}c=v[290883]}t[a+16|0]=1;n=Ma-16|0;Ma=n;f=Ma-48|0;Ma=f;e=a;d=v[e+12>>2]+4|0;a=d;v[f+40>>2]=d;i:{j:{k:{l:{q=i+12|0;m:{if(v[q>>2]>0){break m}n:{o:{p:{q:{if(!e){v[f+24>>2]=a;d=v[c+4>>2];v[f+8>>2]=a;a=Qa[d|0](f+8|0)|0;v[f+32>>2]=v[f+24>>2];m=v[c>>2];j=a&2147483647;k=v[c+28>>2];b=(j^67108864)%(k|0)|0;a=b;d=-1;while(1){h=B(a,12);g=h+m|0;l=v[g>>2];r:{if((l|0)==(j|0)){e=v[c+8>>2];v[f+4>>2]=v[f+32>>2];v[f>>2]=v[(h+m|0)+8>>2];if(Qa[e|0](f+4|0,f)|0){break j}k=v[c+28>>2];break r}if((l|0)>-1){break r}if((l|0)==-2147483647){break q}d=(d|0)<0?a:d}o=o?o:((j|0)%(k-1|0)|0)+1|0;a=(o+a|0)%(k|0)|0;if((b|0)!=(a|0)){continue}break}if((d|0)>-1){break k}g=0;d=b;if((l|0)!=-2147483647){break j}break k}if(v[c+24>>2]>v[c+32>>2]){gZ(c,q);if(v[q>>2]>0){break m}}a=v[c+4>>2];v[f+20>>2]=v[f+40>>2];a=Qa[a|0](f+20|0)|0;v[f+32>>2]=v[f+40>>2];r=v[c>>2];m=a&2147483647;k=v[c+28>>2];b=(m^67108864)%(k|0)|0;a=b;d=-1;while(1){j=B(a,12);g=j+r|0;l=v[g>>2];s:{if((l|0)==(m|0)){h=v[c+8>>2];v[f+16>>2]=v[f+32>>2];v[f+12>>2]=v[(j+r|0)+8>>2];if(Qa[h|0](f+16|0,f+12|0)|0){break n}k=v[c+28>>2];break s}if((l|0)>-1){break s}if((l|0)==-2147483647){break p}d=(d|0)<0?a:d}o=o?o:((m|0)%(k-1|0)|0)+1|0;a=(o+a|0)%(k|0)|0;if((b|0)!=(a|0)){continue}break}if((d|0)>-1){break o}g=0;d=b;if((l|0)!=-2147483647){break n}break o}d=(d|0)>-1?d:a;break k}d=(d|0)>-1?d:a}g=B(d,12)+r|0}if(v[g>>2]>-1){break l}d=v[c+24>>2];a=d+1|0;v[c+24>>2]=a;if((a|0)!=v[c+28>>2]){break l}v[c+24>>2]=d;v[q>>2]=7;a=v[f+40>>2]}d=v[c+16>>2];if(!(!d|!a)){Qa[d|0](a)}a=v[c+20>>2];if(!(!a|!e)){Qa[a|0](e)}v[n+8>>2]=0;break i}b=v[f+40>>2];h=v[g+4>>2];v[n+8>>2]=h;a=v[c+16>>2];t:{if(!a){break t}d=v[g+8>>2];if(!d|(d|0)==(b|0)){break t}Qa[a|0](d)}a=v[c+20>>2];if(a){if(!(!h|(e|0)==(h|0))){Qa[a|0](h)}v[n+8>>2]=0}v[g+8>>2]=b;v[g+4>>2]=e;v[g>>2]=m;break i}g=m+B(d,12)|0}v[n+8>>2]=0;if(v[g>>2]<0){break i}v[c+24>>2]=v[c+24>>2]-1;a=v[g+4>>2];b=v[c+16>>2];u:{if(!b){break u}d=v[g+8>>2];if(!d){break u}Qa[b|0](d)}d=v[c+20>>2];if(d){if(a){Qa[d|0](a)}a=0}v[g+8>>2]=0;v[g>>2]=-2147483648;v[g+4>>2]=0;v[n+8>>2]=a;if(v[c+24>>2]>=v[c+36>>2]){break i}v[f+32>>2]=0;gZ(c,f+32|0)}Ma=f+48|0;Ma=n+16|0}Ma=i+16|0}function qza(a,b){a=a|0;b=b|0;var 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;a:{c=v[a+4>>2];b:{if(!c){break b}e=v[a+16>>2];l=v[a+20>>2];if(e>>>0>l>>>0){break b}g=v[a+8>>2];n=v[a+12>>2];if(g>>>0<=n>>>0){break a}}v[b>>2]=1;return}c:{d:{e:{f:{d=v[c+56>>2];if(d){c=e;break f}if(g>>>0>=n>>>0){break c}k=v[c+8>>2];o=x[k+6>>1]>>>7|0;f=v[a+24>>2];g:while(1){h=B(o&65535,12)+853432|0;d=g;while(1){h:{g=v[a+4>>2];if(v[g+52>>2]!=10){break h}v[g+52>>2]=0;i=v[h>>2];i:{if(e>>>0>>0){g=v[a+8>>2];t[e|0]=239;c=e+1|0;j:{if(f){g=(d-g>>1)-1|0;v[f>>2]=g;if(c>>>0>=l>>>0){break j}t[c|0]=i;v[f+4>>2]=g;f=f+8|0;break i}if(c>>>0>=l>>>0){break j}t[c|0]=i;f=0;break i}g=v[a+4>>2];e=t[g+63|0];t[g+63|0]=e+1;t[(e+g|0)+76|0]=i;v[b>>2]=15;e=c;g=d;break c}c=t[g+63|0];t[g+63|0]=c+1;t[(c+g|0)+76|0]=239;g=v[a+4>>2];c=t[g+63|0];t[g+63|0]=c+1;t[(c+g|0)+76|0]=i;v[b>>2]=15;g=d;break c}e=e+2|0;if(v[b>>2]<=0){break h}g=d;break c}g=d+2|0;k:{d=x[d>>1];if(d>>>0<=160){i=v[a+4>>2];v[i+52>>2]=d;l:{m:{if(e>>>0>>0){c=v[a+8>>2];t[e|0]=d;if(f){break m}f=0;break l}c=t[i+63|0];t[i+63|0]=c+1;t[(c+i|0)+76|0]=d;v[b>>2]=15;break c}v[f>>2]=(g-c>>1)-1;f=f+4|0}e=e+1|0;if(v[b>>2]>0){break c}break k}m=x[k+2>>1];n:{o:{p:{if((d|0)!=8204){if((d|0)!=8205){break p}u[k+2>>1]=0;j=m?233:217;d=8205;c=e;break o}u[k+2>>1]=0;if(!m){break k}d=8204;j=232;c=e;break o}j=65535;q:{r:{if((3455-d&65535)>>>0>1151){c=e;break r}h=0;if((d&65534)!=2404){o=(d-2304|0)/128|0;i=o<<7;if(w[k+24|0]|x[k+6>>1]!=(i&65408)){t[k+24|0]=0;u[k+6>>1]=i;v[k+12>>2]=v[B(o&65535,12)+853428>>2];h=1}else{h=0}s:{t:{i=i&65535;if((i|0)!=256){break t}c=2562;u:{switch(d-2672|0){case 0:break s;case 1:break u;default:break t}}c=2673;u[k+2>>1]=2673;break s}c=d}d=c-i|0}i=d&255;c=x[(i<<1)+854368>>1];if(!(v[k+12>>2]&w[i+854160|0])){c=x[k+6>>1]!=768?-1:(d|0)!=2353?-1:c}j=c&65535;v:{if(!h){c=e;break v}i=v[B(o&65535,12)+853432>>2];w:{x:{if(e>>>0>>0){h=v[a+8>>2];t[e|0]=239;c=e+1|0;if(f){h=(g-h>>1)-1|0;v[f>>2]=h;if(c>>>0>>0){break x}f=f+4|0;break q}f=0;if(c>>>0>=l>>>0){break q}t[c|0]=i;f=0;break w}h=v[a+4>>2];c=t[h+63|0];t[h+63|0]=c+1;t[(c+h|0)+76|0]=239;h=v[a+4>>2];c=t[h+63|0];t[h+63|0]=c+1;t[(c+h|0)+76|0]=i;v[b>>2]=15;c=e;break o}t[c|0]=i;v[f+4>>2]=h;f=f+8|0}c=e+2|0;if(v[b>>2]>0){break o}}if(x[k+6>>1]!=256){break r}e=c;if((d|0)==2417){break n}}u[k+2>>1]=0;break o}h=v[a+4>>2];e=t[h+63|0];t[h+63|0]=e+1;t[(e+h|0)+76|0]=i;v[b>>2]=15}y:{z:{A:{if(x[k+6>>1]!=256|(m|0)!=2673){break A}e=d-2304|0;if(e>>>0>79|!(t[e+854288|0]&1)){break A}u[k+2>>1]=0;i=j<<16|j;m=i|59392;if(c>>>0>>0){e=g-v[a+8>>2]>>1;h=e-1|0;B:{C:{D:{if(m>>>0>=65536){t[c|0]=i>>>16;c=c+1|0;if(!f){break D}h=e-2|0;v[f>>2]=h;f=f+4|0}if(c>>>0>=l>>>0){break C}t[c|0]=m>>>8;if(f){break B}d=0;break y}if(c>>>0>>0){break z}}e=c;d=v[a+4>>2];c=t[d+63|0];t[d+63|0]=c+1;t[(c+d|0)+76|0]=m>>>8;d=v[a+4>>2];c=t[d+63|0];t[d+63|0]=c+1;t[(c+d|0)+76|0]=j;v[b>>2]=15;break c}v[f>>2]=h;d=f+4|0;break y}if(i&16711680){d=v[a+4>>2];e=t[d+63|0];t[d+63|0]=e+1;t[(d+e|0)+76|0]=i>>>16}d=v[a+4>>2];e=t[d+63|0];t[d+63|0]=e+1;t[(d+e|0)+76|0]=m>>>8;d=v[a+4>>2];e=t[d+63|0];t[d+63|0]=e+1;t[(d+e|0)+76|0]=j;v[b>>2]=15;e=c;break c}E:{F:{G:{H:{I:{J:{K:{L:{if((j|0)!=232){if((j|0)==65535){break E}if(c>>>0>=l>>>0){break I}h=(g-v[a+8>>2]>>1)-1|0;d=h;if(j>>>0<=255){break L}t[c|0]=j>>>8;e=c+1|0;if(!f){break K}v[f>>2]=h;if(e>>>0>=l>>>0){break J}t[c+1|0]=j;v[f+4>>2]=h;e=c+2|0;f=f+8|0;break F}u[k+2>>1]=232;if(c>>>0>=l>>>0){break H}d=(g-v[a+8>>2]>>1)-1|0}t[c|0]=j;e=c+1|0;if(f){break G}f=0;break F}if(e>>>0>=l>>>0){break J}t[c+1|0]=j;e=c+2|0;f=0;break F}d=v[a+4>>2];c=t[d+63|0];t[d+63|0]=c+1;t[(c+d|0)+76|0]=j;v[b>>2]=15;break c}if(!(j&65280)){break H}d=v[a+4>>2];e=t[d+63|0];t[d+63|0]=e+1;t[(d+e|0)+76|0]=j>>>8}d=v[a+4>>2];e=t[d+63|0];t[d+63|0]=e+1;t[(d+e|0)+76|0]=j;v[b>>2]=15;e=c;break c}v[f>>2]=d;f=f+4|0}if(v[b>>2]<=0){break n}break c}f=10;if((d&-2048)!=55296){break e}f=12;e=c;if(d&1024){break d}break f}t[c|0]=m>>>8;d=0}M:{N:{e=c+1|0;if(l>>>0>e>>>0){t[c+1|0]=j;if(d){break N}f=0;break M}d=v[a+4>>2];c=t[d+63|0];t[d+63|0]=c+1;t[(c+d|0)+76|0]=j;v[b>>2]=15;break c}v[d>>2]=h;f=d+4|0}e=c+2|0;if(v[b>>2]>0){break c}}if(g>>>0>>0){continue g}break c}d=g;if(n>>>0>d>>>0){continue}break}break}break c}f=0;if(g>>>0>=n>>>0){break e}e=x[g>>1];f=(e&64512)==56320;d=f?(e+(d<<10)|0)-56613888|0:d;g=(f<<1)+g|0;f=f?10:12}e=c}v[b>>2]=f;v[v[a+4>>2]+56>>2]=d}v[a+16>>2]=e;v[a+8>>2]=g}function _2(a,b,c,d,e,f,g){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,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;a:{b:{c:{switch(C3a(g-2|0,31)|0){case 0:g=Yb(256,2);if(g){while(1){if(h&1){u[g+(h<<1)>>1]=3}if(h&2){i=g+(h<<1)|0;u[i>>1]=x[i>>1]|12}if(h&4){i=g+(h<<1)|0;u[i>>1]=x[i>>1]|48}if(h&8){i=g+(h<<1)|0;u[i>>1]=x[i>>1]|192}if(h&16){i=g+(h<<1)|0;u[i>>1]=x[i>>1]|768}if(h&32){i=g+(h<<1)|0;u[i>>1]=x[i>>1]|3072}if(h&64){i=g+(h<<1)|0;u[i>>1]=x[i>>1]|12288}if(h&128){i=g+(h<<1)|0;u[i>>1]=x[i>>1]|49152}h=h+1|0;if((h|0)!=256){continue}break}}else{g=0}if(!g){break a}if((e|0)<1){break b}j=b<<2;l=b<<1;if((d|0)<=0){if((e|0)!=1){h=e&-2;while(1){c=(B(k,l)<<2)+a|0;d=b<<2;cb(c+d|0,c,j);c=(B(l,k|1)<<2)+a|0;cb(c+d|0,c,j);k=k+2|0;h=h-2|0;if(h){continue}break}}if(!(e&1)){break b}a=(B(k,l)<<2)+a|0;cb(a+(b<<2)|0,a,j);break b}h=(d+7|0)/8|0;h=(h|0)>1?h:1;i=h&2147483646;p=h&1;q=(d|0)<9;while(1){d=(B(l,m)<<2)+a|0;n=(B(f,m)<<2)+c|0;k=0;h=i;if(!q){while(1){u[(d+(k<<1)^2)>>1]=x[(w[k+n^3]<<1)+g>>1];o=k|1;u[(d+(o<<1)^2)>>1]=x[(w[n+o^3]<<1)+g>>1];k=k+2|0;h=h-2|0;if(h){continue}break}}if(p){u[(d+(k<<1)^2)>>1]=x[(w[k+n^3]<<1)+g>>1]}cb(d+(b<<2)|0,d,j);m=m+1|0;if((m|0)!=(e|0)){continue}break};break b;case 1:g=Yb(256,4);if(g){while(1){if(h&1){v[g+(h<<2)>>2]=15}if(h&2){i=g+(h<<2)|0;v[i>>2]=v[i>>2]|240}if(h&4){i=g+(h<<2)|0;v[i>>2]=v[i>>2]|3840}if(h&8){i=g+(h<<2)|0;v[i>>2]=v[i>>2]|61440}if(h&16){i=g+(h<<2)|0;v[i>>2]=v[i>>2]|983040}if(h&32){i=g+(h<<2)|0;v[i>>2]=v[i>>2]|15728640}if(h&64){i=g+(h<<2)|0;v[i>>2]=v[i>>2]|251658240}if(h&128){i=g+(h<<2)|0;v[i>>2]=v[i>>2]|-268435456}h=h+1|0;if((h|0)!=256){continue}break}}else{g=0}if(!g){break a}if((e|0)<1){break b}j=b<<2;h=(d+7|0)/8|0;h=(h|0)>1?h:1;i=h&2147483646;n=h&1;p=b<<3;q=B(b,3)<<2;while(1){b=(B(j,l)<<2)+a|0;d:{if((d|0)<1){break d}m=(B(f,l)<<2)+c|0;k=0;h=i;if((d|0)>8){while(1){v[b+(k<<2)>>2]=v[(w[k+m^3]<<2)+g>>2];o=k|1;v[b+(o<<2)>>2]=v[(w[m+o^3]<<2)+g>>2];k=k+2|0;h=h-2|0;if(h){continue}break}}if(!n){break d}v[b+(k<<2)>>2]=v[(w[k+m^3]<<2)+g>>2]}cb(b+j|0,b,j);cb(b+p|0,b,j);cb(b+q|0,b,j);l=l+1|0;if((l|0)!=(e|0)){continue}break};break b;case 7:if((e|0)<1){break a}j=b<<2;l=b<<4;if((d|0)<=0){c=b<<3;d=B(b,3)<<2;f=b<<2;g=f<<2;h=B(b,5)<<2;i=B(b,6)<<2;m=B(b,7)<<2;n=b<<5;p=B(b,9)<<2;q=B(b,10)<<2;o=B(b,11)<<2;r=B(b,12)<<2;s=B(b,13)<<2;t=B(b,14)<<2;y=B(b,15)<<2;while(1){b=(B(k,l)<<2)+a|0;cb(b+f|0,b,j);cb(b+c|0,b,j);cb(b+d|0,b,j);cb(b+g|0,b,j);cb(b+h|0,b,j);cb(b+i|0,b,j);cb(b+m|0,b,j);cb(b+n|0,b,j);cb(b+p|0,b,j);cb(b+q|0,b,j);cb(b+o|0,b,j);cb(b+r|0,b,j);cb(b+s|0,b,j);cb(b+t|0,b,j);cb(b+y|0,b,j);k=k+1|0;if((k|0)!=(e|0)){continue}break}break a}g=(d+1|0)/2|0;g=(g|0)>1?g:1;i=g&2147483646;n=g&1;p=b<<3;q=B(b,3)<<2;o=b<<2;r=o<<2;s=B(b,5)<<2;t=B(b,6)<<2;y=B(b,7)<<2;A=b<<5;C=B(b,9)<<2;z=B(b,10)<<2;G=B(b,11)<<2;H=B(b,12)<<2;I=B(b,13)<<2;J=B(b,14)<<2;K=B(b,15)<<2;while(1){b=(B(k,l)<<2)+a|0;m=(B(f,k)<<2)+c|0;g=0;h=i;if((d|0)>=3){while(1){D=g<<2;E=m+(g>>>2&1073741820)|0;F=g<<1&28;v[b+D>>2]=v[((v[E>>2]>>>(F^30)&3)<<2)+215072>>2];v[b+(D|4)>>2]=v[((v[E>>2]>>>(F^28)&3)<<2)+215072>>2];g=g+2|0;h=h-2|0;if(h){continue}break}}if(n){v[b+(g<<2)>>2]=v[((v[m+(g>>>2&1073741820)>>2]>>>((g<<1^-1)&30)&3)<<2)+215072>>2]}cb(b+o|0,b,j);cb(b+p|0,b,j);cb(b+q|0,b,j);cb(b+r|0,b,j);cb(b+s|0,b,j);cb(b+t|0,b,j);cb(b+y|0,b,j);cb(b+A|0,b,j);cb(b+C|0,b,j);cb(b+z|0,b,j);cb(b+G|0,b,j);cb(b+H|0,b,j);cb(b+I|0,b,j);cb(b+J|0,b,j);cb(b+K|0,b,j);k=k+1|0;if((k|0)!=(e|0)){continue}break};break a;case 3:break c;default:break a}}g=Yb(16,4);if(!g){break a}while(1){if(k&1){v[(k<<2)+g>>2]=255}if(k&2){h=(k<<2)+g|0;v[h>>2]=v[h>>2]|65280}if(k&4){h=(k<<2)+g|0;v[h>>2]=v[h>>2]|16711680}if(k&8){h=(k<<2)+g|0;v[h>>2]=v[h>>2]|-16777216}k=k+1|0;if((k|0)!=16){continue}break}if((e|0)<1){break b}q=b<<3;o=q;h=(d+3|0)/4|0;h=(h|0)>1?h:1;i=h&2147483646;r=h&1;s=B(b,3)<<2;j=b<<2;t=j<<2;y=B(b,5)<<2;A=B(b,6)<<2;C=B(b,7)<<2;while(1){b=(B(l,o)<<2)+a|0;e:{if((d|0)<1){break e}m=(B(f,l)<<2)+c|0;k=0;h=i;if((d|0)>4){while(1){n=k<<2;p=n&24;z=m+(k>>>1&2147483644)|0;v[b+n>>2]=v[((v[z>>2]>>>(p^28)&15)<<2)+g>>2];v[b+(n|4)>>2]=v[((v[z>>2]>>>(p^24)&15)<<2)+g>>2];k=k+2|0;h=h-2|0;if(h){continue}break}}if(!r){break e}h=k<<2;v[h+b>>2]=v[((v[m+(k>>>1&2147483644)>>2]>>>((h^-1)&28)&15)<<2)+g>>2]}cb(b+j|0,b,j);cb(b+q|0,b,j);cb(b+s|0,b,j);cb(b+t|0,b,j);cb(b+y|0,b,j);cb(b+A|0,b,j);cb(b+C|0,b,j);l=l+1|0;if((l|0)!=(e|0)){continue}break}}$a(g)}}function Gc(a){var 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;a:{if(w[a+96|0]){break a}e=v[a+12>>2];b:{if(!(v[a+56>>2]|v[a+60>>2])){break b}k=a;if(e&4095){d=a+20|0}else{h=v[a>>2];if(h>>>0>1023){break b}e=v[a+8>>2];if(h>>>0<=e>>>0){f=v[a+4>>2];c:{if(f>>>0>h>>>0){i=v[a+16>>2];break c}d=f+256|0;i=ab((d|0)!=(d&1073741823)?-1:d<<2);b=a;g=v[a+16>>2];if(g){cb(i,g,f<<2);$a(g);e=v[a+8>>2];h=v[a>>2];d=v[a+4>>2]+256|0}v[b+4>>2]=d;v[a+16>>2]=i}b=ab(65536);v[a>>2]=h+1;v[(h<<2)+i>>2]=b}v[a+8>>2]=e+1;d=v[a+16>>2]+(e<<2)|0}c=v[d>>2];v[k+20>>2]=c+16;b=v[a+60>>2];v[c+8>>2]=v[a+56>>2];v[c+12>>2]=b;b=v[a+52>>2];v[c>>2]=v[a+48>>2];v[c+4>>2]=b;e=v[a+12>>2]+1|0;v[a+12>>2]=e}v[a+56>>2]=0;v[a+60>>2]=0;v[a+48>>2]=2147483647;v[a+52>>2]=2147483647;if(!e){break a}v[a+24>>2]=0;if(y[a+28>>2]>>0){b=v[a+32>>2];if(b){$a(b)}c=e+16|0;v[a+28>>2]=c;d=a;if(c){b=ab((c|0)!=(c&1073741823)?-1:c<<2)}else{b=0}v[d+32>>2]=b}v[a+24>>2]=e;v[a+36>>2]=0;c=v[a+92>>2]-v[a+84>>2]|0;d=c+1|0;d:{if(d>>>0<=y[a+40>>2]){h=v[a+44>>2];break d}b=v[a+44>>2];if(b){$a(b)}c=c+17|0;v[a+40>>2]=c;b=a;if(c){h=ab((c|0)!=(c&536870911)?-1:c<<3)}else{h=0}v[b+44>>2]=h}v[a+36>>2]=d;eb(h,0,d<<3);o=v[a+12>>2];k=o>>>12|0;h=v[a+44>>2];i=v[a+84>>2];g=v[a+16>>2];e:{if(o>>>0<4096){c=g;break e}f=k;c=g;while(1){f=f-1|0;e=v[c>>2];b=4096;while(1){d=(v[e+4>>2]-i<<3)+h|0;v[d>>2]=v[d>>2]+1;d=(v[e+20>>2]-i<<3)+h|0;v[d>>2]=v[d>>2]+1;d=(v[e+36>>2]-i<<3)+h|0;v[d>>2]=v[d>>2]+1;d=(v[e+52>>2]-i<<3)+h|0;v[d>>2]=v[d>>2]+1;e=e- -64|0;b=b-4|0;if(b){continue}break}c=c+4|0;if(f){continue}break}h=v[a+44>>2];i=v[a+84>>2]}d=o&4095;if(d){f=d-1|0;e=v[c>>2];n=o&3;f:{if(!n){b=d;break f}b=d;while(1){c=(v[e+4>>2]-i<<3)+h|0;v[c>>2]=v[c>>2]+1;e=e+16|0;b=b-1|0;n=n-1|0;if(n){continue}break}}if(f>>>0>2){while(1){c=(v[e+4>>2]-i<<3)+h|0;v[c>>2]=v[c>>2]+1;c=(v[e+20>>2]-i<<3)+h|0;v[c>>2]=v[c>>2]+1;c=(v[e+36>>2]-i<<3)+h|0;v[c>>2]=v[c>>2]+1;c=(v[e+52>>2]-i<<3)+h|0;v[c>>2]=v[c>>2]+1;e=e- -64|0;b=b-4|0;if(b){continue}break}}h=v[a+44>>2]}c=v[a+36>>2];g:{if(!c){break g}n=c&3;e=0;i=0;if(c-1>>>0>=3){f=c&-4;while(1){l=e<<3;b=l+h|0;j=v[b>>2];v[b>>2]=i;b=(l|8)+h|0;m=v[b>>2];j=i+j|0;v[b>>2]=j;b=(l|16)+h|0;i=v[b>>2];m=j+m|0;v[b>>2]=m;b=(l|24)+h|0;j=v[b>>2];l=b;b=i+m|0;v[l>>2]=b;i=b+j|0;e=e+4|0;f=f-4|0;if(f){continue}break}}if(!n){break g}while(1){f=(e<<3)+h|0;b=v[f>>2];v[f>>2]=i;e=e+1|0;i=b+i|0;n=n-1|0;if(n){continue}break}}i=v[a+84>>2];if(o>>>0>=4096){while(1){k=k-1|0;e=v[g>>2];b=4096;while(1){j=v[a+44>>2]+(v[e+4>>2]-i<<3)|0;f=v[j+4>>2];v[v[a+32>>2]+(f+v[j>>2]<<2)>>2]=e;v[j+4>>2]=f+1;j=v[a+44>>2]+(v[e+20>>2]-i<<3)|0;f=v[j+4>>2];v[v[a+32>>2]+(f+v[j>>2]<<2)>>2]=e+16;v[j+4>>2]=f+1;e=e+32|0;b=b-2|0;if(b){continue}break}g=g+4|0;if(k){continue}break}i=v[a+84>>2]}h:{if(!d){break h}e=v[g>>2];if(o&1){g=v[a+44>>2]+(v[e+4>>2]-i<<3)|0;b=v[g+4>>2];v[v[a+32>>2]+(b+v[g>>2]<<2)>>2]=e;v[g+4>>2]=b+1;e=e+16|0;b=d-1|0}else{b=d}if((d|0)==1){break h}while(1){g=v[a+44>>2]+(v[e+4>>2]-i<<3)|0;d=v[g+4>>2];v[v[a+32>>2]+(d+v[g>>2]<<2)>>2]=e;v[g+4>>2]=d+1;g=v[a+44>>2]+(v[e+20>>2]-i<<3)|0;d=v[g+4>>2];v[v[a+32>>2]+(d+v[g>>2]<<2)>>2]=e+16;v[g+4>>2]=d+1;e=e+32|0;b=b-2|0;if(b){continue}break}}if(c){e=0;while(1){d=v[a+44>>2]+(e<<3)|0;b=v[d+4>>2];if(b){l=0;i=Ma-320|0;Ma=i;g=v[a+32>>2]+(v[d>>2]<<2)|0;k=g+(b<<2)|0;while(1){i:{b=k-g|0;if((b|0)<=36){d=g;f=d+4|0;if(k>>>0>f>>>0){while(1){b=d;d=f;h=v[b+4>>2];j=v[h>>2];f=v[b>>2];j:{if((j|0)>=v[f>>2]){break j}c=b+4|0;while(1){v[c>>2]=f;v[b>>2]=h;if((b|0)==(g|0)){break j}c=b;b=b-4|0;f=v[b>>2];if((j|0)>2]){continue}break}}f=d+4|0;if(k>>>0>f>>>0){continue}break}}if((l|0)>=1){l=l-2|0;b=i+(l<<2)|0;k=v[b+4>>2];g=v[b>>2];continue}Ma=i+320|0;break i}c=v[g>>2];b=(b>>>1&2147483644)+g|0;v[g>>2]=v[b>>2];v[b>>2]=c;b=g+4|0;j=v[g+4>>2];h=v[j>>2];f=k-4|0;c=v[f>>2];k:{if((h|0)<=v[c>>2]){d=j;break k}v[b>>2]=c;v[f>>2]=j;d=v[b>>2];h=v[d>>2];c=j}m=v[g>>2];j=v[m>>2];l:{if((j|0)>=(h|0)){h=j;d=m;break l}v[g+4>>2]=m;v[g>>2]=d;c=v[f>>2]}if(v[c>>2]<(h|0)){v[g>>2]=c;v[f>>2]=d}m=i+(l<<2)|0;while(1){c=v[g>>2];h=v[c>>2];while(1){j=v[b+4>>2];d=b+4|0;b=d;if((h|0)>v[j>>2]){continue}break}while(1){f=f-4|0;b=v[f>>2];if((h|0)>2]){continue}break}if(d>>>0<=f>>>0){v[d>>2]=b;v[f>>2]=j;b=d;continue}break}v[g>>2]=b;v[f>>2]=c;m:{if((f-g|0)>(k-d|0)){b=g;c=f;g=d;break m}b=d;c=k;k=f}v[m+4>>2]=c;v[m>>2]=b;l=l+2|0;continue}break}c=v[a+36>>2]}e=e+1|0;if(c>>>0>e>>>0){continue}break}}t[a+96|0]=1}}function VSa(a){a=a|0;var 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;e=Ma-160|0;Ma=e;c=eb(a+232|0,0,24576);v[a+24812>>2]=c;v[e+148>>2]=c;Jn(a,197952,0);v[e+152>>2]=v[a+24812>>2];Jn(a,197978,0);c=x[a+26306>>1]<<5;h=x[a+26304>>1]+63>>>5|0;m=gb(c+(h<<2)|0);if(!m){c=v[a+190640>>2];a:{if(c){h=v[a+25208>>2];v[e+20>>2]=49189;v[e+16>>2]=h;Dc(c,4338,e+16|0);break a}c=v[a+25208>>2];v[e+4>>2]=49189;v[e>>2]=c;vb(v[249419],4338,e)}tc(a+190484|0,1);L()}u[a+25204>>1]=19789;o=c+m|0;while(1){v[e+156>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],e+156|0,1,4)|0;c=w[e+156|0];d=(b<<2)+o|0;if(x[a+25204>>1]==18761){c=c|w[e+157|0]<<8|w[e+158|0]<<16|w[e+159|0]<<24}else{c=w[e+159|0]|(w[e+157|0]<<16|c<<24|w[e+158|0]<<8)}v[d>>2]=c;b=b+1|0;if((h|0)!=(b|0)){continue}break}b:{if(x[a+26304>>1]){h=0;i=v[249419];while(1){if(!(k&31)){Qa[v[v[a>>2]+8>>2]](v[a+4>>2],v[(k>>>3&536870908)+o>>2],0)|0;v[285944]=0;v[285945]=0;v[285943]=0;h=0}b=x[a+26306>>1];c:{if(!b){b=0;break c}q=k<<1&14;c=h;l=0;while(1){p=0;h=c+1|0;d=k+l&1;g=d?c-(b<<1)|0:h-b|0;f=c-2|0;b=d>>>0>>0?d?f:(b^-1)+c|0:-1;b=(b|0)<0?g:b;j=(b|0)<0&l>>>0>1;n=j?f:b;if((n|0)>=0){p=w[(j?f:(g|0)<0?b:g)+m|0]+w[m+n|0]>>>1|0}d=v[(e+148|0)+(d<<2)>>2];b=v[d>>2];d:{if(!b){break d}j=0;if(v[285945]){while(1){d=b;b=v[b>>2];if(b){continue}break d}}while(1){g=0;e:{if(j){break e}f=v[285944];f:{if((f|0)>=1){b=v[285943];break f}while(1){g:{h:{b=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;i:{if((b|0)==-1){if(!v[a+26160>>2]){v[e+144>>2]=v[a+25208>>2];vb(i,8292,e+144|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,i);v[a+26160>>2]=1;break i}f=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[e+128>>2]=f;v[e+132>>2]=f>>31;vb(i,14622,e+128|0)}v[a+26160>>2]=1;break i}if(!v[a+26144>>2]){break i}if((b|0)==255){break h}}v[285945]=0;break g}f=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[285945]=(f|0)!=0;if(!f){break g}j=1;break e}j=v[285944];f=j+8|0;v[285944]=f;b=b&255|v[285943]<<8;v[285943]=b;if((j|0)<-7){continue}break}}j=0;v[285944]=f-1;g=b<<32-f>>>31|0}d=v[(g<<2)+d>>2];if(v[d>>2]){continue}break}}j=c+m|0;j:{k:{l:{m:{c=v[d+8>>2];b=c+1|0;if(b){if((b|0)==17){break l}break m}g=0;v[285944]=0;v[285945]=0;v[285943]=0;break k}g=0;if(v[285945]|!c){break k}g=v[285944];n:{if((c|0)<=(g|0)){f=v[285943];break n}while(1){b=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;o:{if((b|0)==-1){if(!v[a+26160>>2]){v[e+80>>2]=v[a+25208>>2];vb(i,8292,e+80|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,i);v[a+26160>>2]=1;v[285945]=0;break o}d=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[e+64>>2]=d;v[e+68>>2]=d>>31;vb(i,14622,e- -64|0)}v[a+26160>>2]=1;v[285945]=0;break o}if(!((b|0)==255?v[a+26144>>2]:0)){v[285945]=0;break o}g=0;d=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[285945]=(d|0)!=0;if(d){break k}}g=v[285944]+8|0;v[285944]=g;f=b&255|v[285943]<<8;v[285943]=f;if((c|0)>(g|0)){continue}break}}b=g-c|0;v[285944]=b;d=32-c|0;g=f<>>d|0;break k}d=-32768;if(v[a+26152>>2]-1>>>0>16842750){break j}g=0;if(v[285945]){break k}d=v[285944];p:{if((d|0)>=16){f=v[285943];break p}while(1){b=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;q:{if((b|0)==-1){if(!v[a+26160>>2]){v[e+112>>2]=v[a+25208>>2];vb(i,8292,e+112|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,i);v[a+26160>>2]=1;v[285945]=0;break q}d=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[e+96>>2]=d;v[e+100>>2]=d>>31;vb(i,14622,e+96|0)}v[a+26160>>2]=1;v[285945]=0;break q}if(!((b|0)==255?v[a+26144>>2]:0)){v[285945]=0;break q}d=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[285945]=(d|0)!=0;if(d){break k}}n=v[285944];d=n+8|0;v[285944]=d;f=b&255|v[285943]<<8;v[285943]=f;if((n|0)<8){continue}break}}v[285944]=d-16;g=f<<32-d>>>16|0}d=(g>>>c-1&1?0:(-1<>>0>=256){r:{if(v[a+26160>>2]){break r}v[e+48>>2]=v[a+25208>>2];vb(i,8292,e+48|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,i);break r}b=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[e+32>>2]=b;v[e+36>>2]=b>>31;vb(i,14622,e+32|0)}v[a+26160>>2]=1}c=x[(((c&255)<<1)+a|0)+26484>>1];b=l-x[a+26314>>1]|0;s:{if(b>>>0>1]){d=x[a+26316>>1];u[(v[a+26352>>2]+(B(x[a+26320>>1],k>>>d|0)+(b>>d)<<3)|0)+((v[a+26028>>2]>>>((b&1|q)<<1)&3)<<1)>>1]=c;break s}v[a+26120>>2]=c+v[a+26120>>2]}c=h;b=x[a+26306>>1];l=l+1|0;if(b>>>0>l>>>0){continue}break}}k=k+1|0;if(k>>>0>1]){continue}break}break b}b=x[a+26306>>1]}$a(m);c=b&65535;h=x[a+26310>>1];if(c>>>0>h>>>0){v[a+26120>>2]=y[a+26120>>2]/(B(x[a+26308>>1],c-h|0)>>>0)}Ma=e+160|0}function Tua(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;a=eb(a,0,256);d=v[b>>2]+c|0;g=w[d|0];e=w[d+5|0];f=g-e|0;i=w[d+1|0];k=w[d+4|0];h=i-k|0;j=w[d+2|0];l=w[d+3|0];d=j-l|0;v[a+12>>2]=f-(h+d|0)<<2;g=g+e|0;e=j+l|0;v[a+8>>2]=B(g-e|0,10033)+1024>>11;g=g+e|0;e=i+k|0;v[a>>2]=(g+e<<2)-3072;v[a+16>>2]=B(g-(e<<1)|0,5793)+1024>>11;e=d-h<<2;d=B(d+f|0,2998)+1024>>11;v[a+20>>2]=e+d;v[a+4>>2]=d+(h+f<<2);d=v[b+4>>2]+c|0;g=w[d|0];e=w[d+5|0];f=g-e|0;i=w[d+1|0];k=w[d+4|0];h=i-k|0;j=w[d+2|0];l=w[d+3|0];d=j-l|0;v[a+44>>2]=f-(h+d|0)<<2;g=g+e|0;e=j+l|0;v[a+40>>2]=B(g-e|0,10033)+1024>>11;g=g+e|0;e=i+k|0;v[a+32>>2]=(g+e<<2)-3072;v[a+48>>2]=B(g-(e<<1)|0,5793)+1024>>11;e=d-h<<2;d=B(d+f|0,2998)+1024>>11;v[a+52>>2]=e+d;v[a+36>>2]=d+(h+f<<2);d=v[b+8>>2]+c|0;g=w[d|0];e=w[d+5|0];f=g-e|0;i=w[d+1|0];k=w[d+4|0];h=i-k|0;j=w[d+2|0];l=w[d+3|0];d=j-l|0;v[a+76>>2]=f-(h+d|0)<<2;g=g+e|0;e=j+l|0;v[a+72>>2]=B(g-e|0,10033)+1024>>11;g=g+e|0;e=i+k|0;v[a+64>>2]=(g+e<<2)-3072;v[a+80>>2]=B(g-(e<<1)|0,5793)+1024>>11;e=d-h<<2;d=B(d+f|0,2998)+1024>>11;v[a+84>>2]=e+d;v[a+68>>2]=d+(h+f<<2);d=v[b+12>>2]+c|0;g=w[d|0];e=w[d+5|0];f=g-e|0;i=w[d+1|0];k=w[d+4|0];h=i-k|0;j=w[d+2|0];l=w[d+3|0];d=j-l|0;v[a+108>>2]=f-(h+d|0)<<2;g=g+e|0;e=j+l|0;v[a+104>>2]=B(g-e|0,10033)+1024>>11;g=g+e|0;e=i+k|0;v[a+96>>2]=(g+e<<2)-3072;v[a+112>>2]=B(g-(e<<1)|0,5793)+1024>>11;e=d-h<<2;d=B(d+f|0,2998)+1024>>11;v[a+116>>2]=e+d;v[a+100>>2]=d+(h+f<<2);d=v[b+16>>2]+c|0;g=w[d|0];e=w[d+5|0];f=g-e|0;i=w[d+1|0];k=w[d+4|0];h=i-k|0;j=w[d+2|0];l=w[d+3|0];d=j-l|0;v[a+140>>2]=f-(h+d|0)<<2;g=g+e|0;e=j+l|0;v[a+136>>2]=B(g-e|0,10033)+1024>>11;e=g+e|0;i=i+k|0;g=(e+i<<2)-3072|0;v[a+128>>2]=g;v[a+144>>2]=B(e-(i<<1)|0,5793)+1024>>11;e=d-h<<2;d=B(d+f|0,2998)+1024>>11;v[a+148>>2]=e+d;v[a+132>>2]=d+(h+f<<2);b=v[b+20>>2]+c|0;f=w[b|0];h=w[b+5|0];c=f-h|0;e=w[b+1|0];i=w[b+4|0];d=e-i|0;k=w[b+2|0];j=w[b+3|0];b=k-j|0;v[a+172>>2]=c-(d+b|0)<<2;f=h+f|0;h=j+k|0;v[a+168>>2]=B(f-h|0,10033)+1024>>11;f=h+f|0;h=e+i|0;v[a+176>>2]=B(f-(h<<1)|0,5793)+1024>>11;e=B(b+c|0,2998)+1024>>11;v[a+180>>2]=e+(b-d<<2);f=(h+f<<2)-3072|0;h=v[a>>2];b=f+h|0;i=v[a+96>>2];k=v[a+64>>2];j=i+k|0;v[a+64>>2]=B(b-j|0,17837)+16384>>15;b=b+j|0;j=v[a+32>>2];l=j+g|0;v[a+128>>2]=B(b-(l<<1)|0,10298)+16384>>15;v[a>>2]=B(b+l|0,14564)+16384>>15;b=k-i|0;f=h-f|0;h=B(b+f|0,5331)+16384|0;g=j-g|0;v[a+160>>2]=h+B(b-g|0,14564)>>15;v[a+96>>2]=B(f-(b+g|0)|0,14564)+16384>>15;v[a+32>>2]=h+B(f+g|0,14564)>>15;b=v[a+132>>2];f=v[a+36>>2];d=e+(c+d<<2)|0;h=v[a+4>>2];c=d+h|0;g=v[a+100>>2];e=v[a+68>>2];i=g+e|0;v[a+68>>2]=B(c-i|0,17837)+16384>>15;c=c+i|0;i=b+f|0;v[a+132>>2]=B(c-(i<<1)|0,10298)+16384>>15;v[a+4>>2]=B(c+i|0,14564)+16384>>15;c=e-g|0;d=h-d|0;h=B(c+d|0,5331)+16384|0;b=f-b|0;v[a+164>>2]=h+B(c-b|0,14564)>>15;v[a+100>>2]=B(d-(b+c|0)|0,14564)+16384>>15;v[a+36>>2]=h+B(b+d|0,14564)>>15;b=v[a+136>>2];c=v[a+40>>2];f=v[a+168>>2];h=v[a+8>>2];d=f+h|0;g=v[a+104>>2];e=v[a+72>>2];i=g+e|0;v[a+72>>2]=B(d-i|0,17837)+16384>>15;d=d+i|0;i=b+c|0;v[a+136>>2]=B(d-(i<<1)|0,10298)+16384>>15;v[a+8>>2]=B(d+i|0,14564)+16384>>15;d=e-g|0;f=h-f|0;h=B(d+f|0,5331)+16384|0;b=c-b|0;v[a+168>>2]=h+B(d-b|0,14564)>>15;v[a+104>>2]=B(f-(b+d|0)|0,14564)+16384>>15;v[a+40>>2]=h+B(b+f|0,14564)>>15;b=v[a+140>>2];c=v[a+44>>2];f=v[a+172>>2];h=v[a+12>>2];d=f+h|0;g=v[a+108>>2];e=v[a+76>>2];i=g+e|0;v[a+76>>2]=B(d-i|0,17837)+16384>>15;d=d+i|0;i=b+c|0;v[a+140>>2]=B(d-(i<<1)|0,10298)+16384>>15;v[a+12>>2]=B(d+i|0,14564)+16384>>15;d=e-g|0;f=h-f|0;h=B(d+f|0,5331)+16384|0;b=c-b|0;v[a+172>>2]=h+B(d-b|0,14564)>>15;v[a+108>>2]=B(f-(b+d|0)|0,14564)+16384>>15;v[a+44>>2]=h+B(b+f|0,14564)>>15;b=v[a+144>>2];c=v[a+48>>2];f=v[a+176>>2];h=v[a+16>>2];d=f+h|0;g=v[a+112>>2];e=v[a+80>>2];i=g+e|0;v[a+80>>2]=B(d-i|0,17837)+16384>>15;d=d+i|0;i=b+c|0;v[a+144>>2]=B(d-(i<<1)|0,10298)+16384>>15;v[a+16>>2]=B(d+i|0,14564)+16384>>15;d=e-g|0;f=h-f|0;h=B(d+f|0,5331)+16384|0;b=c-b|0;v[a+176>>2]=h+B(d-b|0,14564)>>15;v[a+112>>2]=B(f-(b+d|0)|0,14564)+16384>>15;v[a+48>>2]=h+B(b+f|0,14564)>>15;b=v[a+148>>2];c=v[a+52>>2];f=v[a+180>>2];h=v[a+20>>2];d=f+h|0;g=v[a+116>>2];e=v[a+84>>2];i=g+e|0;v[a+84>>2]=B(d-i|0,17837)+16384>>15;d=d+i|0;i=b+c|0;v[a+148>>2]=B(d-(i<<1)|0,10298)+16384>>15;v[a+20>>2]=B(d+i|0,14564)+16384>>15;d=e-g|0;f=h-f|0;h=B(d+f|0,5331)+16384|0;b=c-b|0;v[a+180>>2]=h+B(d-b|0,14564)>>15;v[a+116>>2]=B(f-(b+d|0)|0,14564)+16384>>15;v[a+52>>2]=h+B(b+f|0,14564)>>15}function _Ia(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;f=(e|0)>0?e:0;a:{b:{c:{d:{e:{f:{g:{switch(b|0){case 0:b=1;if(!d|(e|0)<1){break c}t[d|0]=w[a+437|0];break b;case 1:if(c>>>0>3){break e}b=4;if(!d|f>>>0<4){break c}e=0;h:{i:{j:{switch(c|0){case 0:a=a+440|0;break i;case 1:a=a+444|0;break i;case 2:a=a+448|0;break i;case 3:break j;default:break h}}a=a+452|0}e=v[a>>2]}v[d>>2]=e;break c;case 2:if(c>>>0>3){break e}b=4;if(!d|f>>>0<4){break c}e=0;k:{l:{m:{switch(c|0){case 0:a=a+464|0;break l;case 1:a=a+468|0;break l;case 2:a=a+472|0;break l;case 3:break m;default:break k}}a=a+476|0}e=v[a>>2]}v[d>>2]=e;break c;case 3:b=1;if(!d|(e|0)<1){break c}t[d|0]=w[a+436|0];break b;case 4:a=v[a+364>>2];if(!a){break e}b=zb(a)+1|0;if(!d|f>>>0>>0){break f}cb(d,a,b);break f;case 5:b=4;if(!d|f>>>0<4){break c}v[d>>2]=v[a+168>>2];break c;case 6:b=4;if(!d|f>>>0<4){break c}v[d>>2]=v[a+420>>2];break c;case 7:if(y[a+420>>2]<=c>>>0){break e}a=v[v[a+424>>2]+(c<<2)>>2];c=zb(a);b=c+1|0;if(!d|f>>>0>>0){break f}g=cb(d,a,b)+c|0,h=0,t[g|0]=h;break f;case 8:if(y[a+420>>2]<=c>>>0){break e}e=v[v[a+432>>2]+(c<<2)>>2];b=e+1|0;if(!d|f>>>0>>0){break f}g=cb(d,v[v[a+428>>2]+(c<<2)>>2],e)+e|0,h=0,t[g|0]=h;break f;case 9:b=4;if(!d|f>>>0<4){break c}v[d>>2]=v[a+368>>2];break c;case 10:if(v[a+368>>2]!=1|y[a+372>>2]<=c>>>0){break e}c=v[v[a+388>>2]+(c<<2)>>2];a=zb(c);b=a+1|0;if(!d|f>>>0>>0){break f}g=cb(d,c,a)+a|0,h=0,t[g|0]=h;break f;case 11:b=4;if(!d|f>>>0<4){break c}v[d>>2]=v[a+404>>2];break c;case 12:b=v[a+416>>2];n:{if(b){b=Bl(c,b);if(!b){break e}c=v[b>>2];break n}if(y[a+404>>2]<=c>>>0){break e}}e=v[a+408>>2];if(!e){break e}a=v[v[a+412>>2]+(c<<2)>>2];b=a+1|0;if(!d|f>>>0>>0){break f}g=cb(d,v[e+(c<<2)>>2],a)+a|0,h=0,t[g|0]=h;break f;case 13:b=2;if(!d|f>>>0<2){break c}u[d>>1]=x[a+288>>1];break a;case 14:b=2;if(!d|f>>>0<2){break c}u[d>>1]=x[a+290>>1];break a;case 15:b=1;if(!d|(e|0)<1){break c}t[d|0]=w[a+176|0];break b;case 16:if(w[a+176|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}u[d>>1]=x[((c<<1)+a|0)+180>>1];break a;case 24:b=4;if(!d|f>>>0<4){break c}v[d>>2]=v[a+276>>2];break c;case 17:b=4;if(!d|f>>>0<4){break c}v[d>>2]=v[a+284>>2];break c;case 25:b=4;if(!d|f>>>0<4){break c}v[d>>2]=v[a+280>>2];break c;case 18:b=1;if(!d|(e|0)<1){break c}t[d|0]=w[a+177|0];break b;case 19:if(w[a+177|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}u[d>>1]=x[((c<<1)+a|0)+208>>1];break a;case 20:b=1;if(!d|(e|0)<1){break c}t[d|0]=w[a+178|0];break b;case 21:if(w[a+178|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}u[d>>1]=x[((c<<1)+a|0)+228>>1];break a;case 22:b=1;if(!d|(e|0)<1){break c}t[d|0]=w[a+179|0];break b;case 23:if(w[a+179|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}u[d>>1]=x[((c<<1)+a|0)+256>>1];break a;case 26:b=1;if(!d|(e|0)<1){break c}t[d|0]=w[a+292|0];break b;case 27:if(w[a+292|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}u[d>>1]=x[((c<<1)+a|0)+296>>1];break a;case 28:b=1;if(!d|(e|0)<1){break c}t[d|0]=w[a+293|0];break b;case 29:if(w[a+293|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}u[d>>1]=x[((c<<1)+a|0)+322>>1];break a;case 31:b=1;if(!d|(e|0)<1){break c}t[d|0]=w[a+295|0];break b;case 30:b=1;if(!d|(e|0)<1){break c}t[d|0]=w[a+294|0];break b;case 32:if(c>>>0>1){break e}b=2;if(!d|f>>>0<2){break c}u[d>>1]=x[((c<<1)+a|0)+360>>1];break a;case 33:b=4;if(!d|f>>>0<4){break c}v[d>>2]=v[a+172>>2];break c;case 34:b=4;if(!d|f>>>0<4){break c}v[d>>2]=v[a+356>>2];break c;case 35:b=4;if(!d|f>>>0<4){break c}v[d>>2]=v[a+352>>2];break c;case 41:b=1;if(!d|(e|0)<1){break c}t[d|0]=w[a+156|0];break b;case 42:b=2;if(!d|f>>>0<2){break c}u[d>>1]=x[a+158>>1];break a;case 43:b=2;if(!d|f>>>0<2){break c}u[d>>1]=x[a+160>>1];break a;case 44:b=2;if(!d|f>>>0<2){break c}u[d>>1]=x[a+164>>1];break a;case 36:a=v[a+132>>2];if(!a){break e}b=zb(a)+1|0;if(!d|f>>>0>>0){break f}cb(d,a,b);break f;case 37:a=v[a+136>>2];if(!a){break e}b=zb(a)+1|0;if(!d|f>>>0>>0){break f}cb(d,a,b);break f;case 38:a=v[a+140>>2];if(!a){break e}b=zb(a)+1|0;if(!d|f>>>0>>0){break f}cb(d,a,b);break f;case 39:a=v[a+144>>2];if(!a){break e}b=zb(a)+1|0;if(!d|f>>>0>>0){break f}cb(d,a,b);break f;case 45:break d;case 40:break g;default:break e}}a=v[a+148>>2];if(!a){break e}b=zb(a)+1|0;if(!d|f>>>0>>0){break f}cb(d,a,b)}if(b){break c}}return-1}b=4;if(!d|f>>>0<4){break c}v[d>>2]=v[a+152>>2]}return b|0}return 1}return 2}function M2(a,b,c,d,e,f,g,h,i){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,w=0,x=0,y=0,z=0,E=0,F=0,G=0,H=0;r=Ma-48|0;Ma=r;a:{if(!a|(!b|((a?v[a+8>>2]:-1)|0)!=1)){break a}if(!g|((b?v[b+8>>2]:-1)|0)!=1|((c|0)<1|(d|0)<1)){break a}p=r+44|0;j=r+40|0;if(a){if(p){v[p>>2]=v[a>>2]}if(j){v[j>>2]=v[a+4>>2]}}p=r+36|0;j=r+32|0;if(b){if(p){v[p>>2]=v[b>>2]}if(j){v[j>>2]=v[b+4>>2]}}j=v[r+44>>2]-v[r+36>>2]|0;p=j>>31;if((p^j+p)>2){break a}j=v[r+40>>2]-v[r+32>>2]|0;p=j>>31;if((p^j+p)>2){break a}x=(f>=C(0)?.5:-.5)+ +f;b:{if(D(x)<2147483648){j=~~x;break b}j=-2147483648}w=a?v[a+12>>2]:-1;p=b?v[b+12>>2]:-1;s=v[r+40>>2];o=v[r+32>>2];n=a?v[a+40>>2]:0;l=(j|0)>0?j:0;m=l-j|0;b=b?v[b+40>>2]:0;a=j+o|0;t=(a|0)<(s|0)?a:s;j=v[r+40>>2];x=(e>=C(0)?.5:-.5)+ +e;c:{if(D(x)<2147483648){a=~~x;break c}a=-2147483648}j=(j|0)<(t|0);e=C(I(C(K(C(C(C(c|0)*i)*C(d|0))))));d:{if(C(D(e))>2];q=n+(B(l,w)<<2)|0;n=b+(B(p,m)<<2)|0;b=a+v[r+36>>2]|0;j=v[r+44>>2];b=(b|0)<(j|0)?b:j;k=(a|0)>0?a:0;e:{if((a|0)>=32){o=a&31;j=a&-32;b=b-j|0;k=k-j|0;q=(a>>>3&536870908)+q|0;j=p;break e}if((a|0)>-32){j=p;o=a;break e}j=a;a=a+31|0;o=j-(a&-32)|0;a=a>>5;j=a+p|0;n=n-(a<<2)|0}a=0;f:{if((b|0)<=(k|0)|(l|0)>=(t|0)){break f}m=b+31>>5;if(!o){k=1;if((b|0)>=1){j=(m|0)>1?m:1;while(1){b=0;while(1){m=a;a=b<<2;a=v[a+n>>2]&v[a+q>>2];a=(((m+v[((a&255)<<2)+g>>2]|0)+v[(a>>>6&1020)+g>>2]|0)+v[(a>>>14&1020)+g>>2]|0)+v[(a>>>22&1020)+g>>2]|0;b=b+1|0;if((j|0)!=(b|0)){continue}break}if((a|0)<(s|0)){if((v[(l<<2)+h>>2]+(a-u|0)|0)<(s|0)){k=0;break a}n=(p<<2)+n|0;q=(w<<2)+q|0;l=l+1|0;if((t|0)!=(l|0)){continue}break f}break}break a}if((s|0)<1){break a}while(1){if((v[(l<<2)+h>>2]-u|0)<(s|0)){k=0;break a}l=l+1|0;if((t|0)!=(l|0)){continue}break}break f}g:{if((o|0)>=1){y=32-o|0;if((j|0)<(m|0)){break g}j=(m|0)>2?m:2;z=(b|0)<33;while(1){b=a;m=v[n>>2];a=v[q>>2]&m>>>o;a=(((b+v[((a&255)<<2)+g>>2]|0)+v[(a>>>6&1020)+g>>2]|0)+v[(a>>>14&1020)+g>>2]|0)+v[(a>>>22&1020)+g>>2]|0;b=1;if(!z){while(1){k=a;E=m<>2];a=(E|m>>>o)&v[a+q>>2];a=(((k+v[((a&255)<<2)+g>>2]|0)+v[(a>>>6&1020)+g>>2]|0)+v[(a>>>14&1020)+g>>2]|0)+v[(a>>>22&1020)+g>>2]|0;b=b+1|0;if((j|0)!=(b|0)){continue}break}}if((a|0)>=(s|0)){k=1;break a}if((v[(l<<2)+h>>2]+(a-u|0)|0)<(s|0)){k=0;break a}n=(p<<2)+n|0;q=(w<<2)+q|0;l=l+1|0;if((t|0)!=(l|0)){continue}break}break f}F=o+32|0;E=0-o|0;if((j|0)<=(m|0)){j=((m|0)>2?m:2)-1|0;G=(b|0)<33;while(1){k=0;m=s;y=g;z=n;if(G){b=0}else{o=v[n>>2];while(1){b=a;a=v[(k<<2)+q>>2];H=o<>2];a=a&(H|o>>>F);a=(((b+v[((a&255)<<2)+g>>2]|0)+v[(a>>>6&1020)+g>>2]|0)+v[(a>>>14&1020)+g>>2]|0)+v[(a>>>22&1020)+g>>2]|0;if((j|0)!=(k|0)){continue}break}b=j}o=a;a=b<<2;a=v[a+z>>2]<>2];a=(((o+v[((a&255)<<2)+y>>2]|0)+v[(a>>>6&1020)+g>>2]|0)+v[(a>>>14&1020)+g>>2]|0)+v[(a>>>22&1020)+g>>2]|0;if((m|0)<=(a|0)){k=1;break a}if((v[(l<<2)+h>>2]+(a-u|0)|0)<(s|0)){k=0;break a}n=(p<<2)+n|0;q=(w<<2)+q|0;l=l+1|0;if((t|0)!=(l|0)){continue}break}break f}k=1;if((b|0)>=1){b=(m|0)>1?m:1;while(1){o=v[n>>2];k=0;while(1){j=a;a=v[(k<<2)+q>>2];m=o<>2];a=a&(m|o>>>F);a=(((j+v[((a&255)<<2)+g>>2]|0)+v[(a>>>6&1020)+g>>2]|0)+v[(a>>>14&1020)+g>>2]|0)+v[(a>>>22&1020)+g>>2]|0;if((b|0)!=(k|0)){continue}break}if((a|0)<(s|0)){if((v[(l<<2)+h>>2]+(a-u|0)|0)<(s|0)){k=0;break a}n=(p<<2)+n|0;q=(w<<2)+q|0;l=l+1|0;if((t|0)!=(l|0)){continue}break f}break}k=1;break a}if((s|0)<1){break a}while(1){if((v[(l<<2)+h>>2]-u|0)<(s|0)){k=0;break a}l=l+1|0;if((t|0)!=(l|0)){continue}break}break f}while(1){b=a;m=v[n>>2];a=v[q>>2]&m>>>o;b=(((b+v[((a&255)<<2)+g>>2]|0)+v[(a>>>6&1020)+g>>2]|0)+v[(a>>>14&1020)+g>>2]|0)+v[(a>>>22&1020)+g>>2]|0;k=1;a=1;if((j|0)>=2){while(1){z=m<>2];a=(z|m>>>o)&v[a+q>>2];b=(((v[((a&255)<<2)+g>>2]+b|0)+v[(a>>>6&1020)+g>>2]|0)+v[(a>>>14&1020)+g>>2]|0)+v[(a>>>22&1020)+g>>2]|0;k=k+1|0;if((k|0)!=(j|0)){continue}break}a=j}a=a<<2;a=v[(a+n|0)-4>>2]<>2];a=(((v[((a&255)<<2)+g>>2]+b|0)+v[(a>>>6&1020)+g>>2]|0)+v[(a>>>14&1020)+g>>2]|0)+v[(a>>>22&1020)+g>>2]|0;if((s|0)<=(a|0)){k=1;break a}if((v[(l<<2)+h>>2]+(a-u|0)|0)<(s|0)){k=0;break a}n=(p<<2)+n|0;q=(w<<2)+q|0;l=l+1|0;if((t|0)!=(l|0)){continue}break}}k=0;e=C(C(B(a,a)|0)/C(B(c,d)|0));if(!(e>=i)){break a}A[r+16>>3]=i;v[r+4>>2]=s;v[r>>2]=a;A[r+8>>3]=e;Ph(v[249419],4437,r)}Ma=r+48|0;return k}function b9(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,x=0;h=Ma-192|0;Ma=h;f=v[a+608>>2];d=v[a+604>>2];u=1;n=v[a+584>>2];o=v[n+72>>2];g=v[n+68>>2];k=v[n+64>>2];a:{b:{c:{d:{if((c|0)<1){e=d;break d}s=d+f|0;p=v[n+88>>2];t=v[n+60>>2];l=v[n+12>>2];e:while(1){f:{g:{if(o){break g}while(1){h:{i:{j:{if((g|0)>10){f=d;break j}if(d>>>0>=s>>>0){if(!g){break i}g=11;f=d;break j}e=g+8|0;f=d+1|0;k=w[w[d|0]+t|0]<2){g=e;break j}if(f>>>0>=s>>>0){g=11;break j}g=g+16|0;f=d+2|0;k=w[w[d+1|0]+t|0]<>>1|0;g=g-1|0;d=f;continue}}while(1){f=g;e=f;k:{if((f|0)>7){break k}if(d>>>0>=s>>>0){e=8;if(g){break k}break f}k=w[w[d|0]+t|0]<>>1|0;if(!e){continue}break}}k=k>>>1|0;g=f-1|0;f=0;e=p;l:{m:{while(1){q=0;n:{while(1){o:{if((g|0)>11){i=g;break o}if(d>>>0>=s>>>0){i=12;if(g){break o}break c}m=g+8|0;j=d+1|0;k=w[w[d|0]+t|0]<3){i=m;d=j;break o}i=12;if(j>>>0>=s>>>0){d=j;break o}i=g+16|0;k=w[w[d+1|0]+t|0]<>>g|0;g=i-g|0;o=1;i=e;p:{q:{switch(w[j|0]-7|0){case 0:j=v[j+4>>2];x=j+q|0;v[e>>2]=x;i=e+4|0;q=0;f=f+j|0;if((l|0)>(f|0)){break p}o=0;break l;case 5:break m;case 2:case 4:break q;default:break n}}i=v[j+4>>2];q=i+q|0;f=f+i|0;continue}break}while(1){r:{if((g|0)>12){j=g;break r}if(d>>>0>=s>>>0){j=13;if(g){break r}e=i;break c}r=g+8|0;m=d+1|0;k=w[w[d|0]+t|0]<4){j=r;d=m;break r}j=13;if(m>>>0>=s>>>0){d=m;break r}j=g+16|0;k=w[w[d+1|0]+t|0]<>>g|0;g=j-g|0;j=w[m|0];if(j-10>>>0<2){j=v[m+4>>2];q=j+q|0;f=f+j|0;continue}break}s:{t:{switch(j-8|0){case 0:j=v[m+4>>2];m=j+q|0;v[e+4>>2]=m;i=e+8|0;f=f+j|0;if((l|0)>(f|0)){break s}o=0;break l;case 4:break m;default:break t}}e=v[a+12>>2]&1024;j=v[(e?504:480)+a>>2];m=v[a+628>>2];r=v[a>>2];o=v[n+108>>2];v[h+80>>2]=f;v[h+76>>2]=j;v[h+72>>2]=e?56103:56298;v[h+68>>2]=o;v[h+64>>2]=r;wb(m,86144,55737,h- -64|0);o=0;break m}e=m|x?i:e;continue}break}i=v[a+12>>2]&1024;j=v[(i?504:480)+a>>2];m=v[a+628>>2];r=v[a>>2];o=v[n+108>>2];v[h+48>>2]=f;v[h+44>>2]=j;v[h+40>>2]=i?56103:56298;v[h+36>>2]=o;v[h+32>>2]=r;wb(m,86144,55737,h+32|0);o=0;i=e}if(!q){break l}v[i>>2]=q;i=i+4|0}u:{if((f|0)==(l|0)){break u}e=v[a+12>>2]&1024;j=v[(e?504:480)+a>>2];m=v[a+628>>2];r=v[a>>2];q=v[n+108>>2];v[h+24>>2]=l;v[h+20>>2]=f;v[h+16>>2]=j;v[h+12>>2]=e?56103:56298;v[h+8>>2]=q;v[h+4>>2]=f>>>0>>0?57394:57552;v[h>>2]=r;Nc(m,86144,57124,h);e=(f|0)>(l|0);v:{if((f|0)<=(l|0)|i>>>0<=p>>>0){break v}while(1){i=i-4|0;f=f-v[i>>2]|0;e=(l|0)<(f|0);if((f|0)<=(l|0)){break v}if(i>>>0>p>>>0){continue}break}}if((f|0)<(l|0)){if(i-p&4){v[i>>2]=0;i=i+4|0}v[i>>2]=l-((f|0)>0?f:0);i=i+4|0;break u}if(!e){break u}v[i+4>>2]=0;v[i>>2]=l;i=i+8|0}Qa[v[n+76>>2]](b,p,i,l);v[n+108>>2]=v[n+108>>2]+1;e=v[n+8>>2];b=e+b|0;c=c-e|0;if((c|0)>0){continue e}f=v[a+608>>2];e=v[a+604>>2];break d}else{k=k>>>8|0;g=f-8|0;continue}}}break}if(!l){e=p;break b}c=v[a+12>>2]&1024;e=v[(c?504:480)+a>>2];f=v[a+628>>2];i=v[a>>2];g=v[n+108>>2];v[h+184>>2]=l;v[h+180>>2]=0;v[h+176>>2]=e;v[h+172>>2]=c?56103:56298;v[h+168>>2]=g;v[h+164>>2]=57394;v[h+160>>2]=i;Nc(f,86144,57124,h+160|0);v[p>>2]=l;if((l|0)>0){e=p+4|0;break b}v[p+4>>2]=0;e=p+8|0;break b}v[n+72>>2]=o;v[n+64>>2]=k;v[n+68>>2]=g;b=(e-d|0)+f|0;break a}c=v[a+12>>2]&1024;i=v[(c?504:480)+a>>2];g=v[a+628>>2];j=v[a>>2];m=v[n+108>>2];v[h+144>>2]=f;v[h+140>>2]=i;v[h+136>>2]=c?56103:56298;v[h+132>>2]=m;v[h+128>>2]=j;Nc(g,86144,56754,h+128|0);if(q){v[e>>2]=q;e=e+4|0}o=0;if((f|0)==(l|0)){break b}c=v[a+12>>2]&1024;i=v[(c?504:480)+a>>2];g=v[a+628>>2];j=v[a>>2];m=v[n+108>>2];v[h+120>>2]=l;v[h+116>>2]=f;v[h+112>>2]=i;v[h+108>>2]=c?56103:56298;v[h+104>>2]=m;v[h+100>>2]=f>>>0>>0?57394:57552;v[h+96>>2]=j;Nc(g,86144,57124,h+96|0);g=(f|0)>(l|0);w:{if((f|0)<=(l|0)|e>>>0<=p>>>0){break w}while(1){e=e-4|0;f=f-v[e>>2]|0;g=(l|0)<(f|0);if((f|0)<=(l|0)){break w}if(e>>>0>p>>>0){continue}break}}if((f|0)<(l|0)){if(e-p&4){v[e>>2]=0;e=e+4|0}v[e>>2]=l-((f|0)>0?f:0);e=e+4|0;break b}if(!g){break b}v[e+4>>2]=0;v[e>>2]=l;e=e+8|0}Qa[v[n+76>>2]](b,p,e,l);v[n+72>>2]=o;v[n+64>>2]=k;v[n+68>>2]=0;u=-1;b=v[a+608>>2]+(v[a+604>>2]-d|0)|0}v[a+604>>2]=d;v[a+608>>2]=b;Ma=h+192|0;return u|0}function _T(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;v[a+32>>2]=v[a+32>>2]+1;f=ab(8);e=Qd(f);c=v[a+32>>2];a:{if(c>>>0>=y[a+36>>2]|!w[w[c|0]+959376|0]){break a}v[a+32>>2]=c+1;$b(e,t[c|0]);d=v[a+32>>2];if(d>>>0>=y[a+36>>2]){break a}while(1){if(!w[w[d|0]+959632|0]){break a}v[a+32>>2]=d+1;$b(e,t[d|0]);d=v[a+32>>2];if(d>>>0>2]){continue}break}}g=ab(36);v[g+4>>2]=0;v[g+8>>2]=0;v[g+20>>2]=f;v[g>>2]=960152;v[g+12>>2]=0;v[g+16>>2]=0;d=ab(16);c=Wg(d,0);v[g+24>>2]=d;v[g+28>>2]=0;v[g+32>>2]=0;d=v[a+32>>2];e=v[a+36>>2];b:{if(d>>>0>=e>>>0){break b}while(1){f=w[d|0]-9|0;if(f>>>0>23|!(1<>2]=d;if((d|0)!=(e|0)){continue}break}}c:{d=YT(a);if(!d){break c}e=g+32|0;while(1){ti(c,v[d>>2],d);c=v[g+32>>2];v[(c?c+12|0:e)>>2]=d;v[g+(c?32:28)>>2]=d;v[d+12>>2]=0;v[d+8>>2]=g;d=v[a+32>>2];c=v[a+36>>2];d:{if(d>>>0>=c>>>0){break d}while(1){f=w[d|0]-9|0;if(f>>>0>23|!(1<>2]=d;if((c|0)!=(d|0)){continue}break}}d=YT(a);if(!d){break c}c=v[g+24>>2];continue}}c=v[a+32>>2];d=v[a+36>>2]-c|0;e:{f:{if((d|0)>=2){if(Kb(c,313355,2)){break f}v[a+32>>2]=c+2;break e}if((d|0)!=1){break e}}if(w[c|0]!=62){break e}v[a+32>>2]=c+1;j=Ug(Rb(ab(8),326280),v[g+20>>2]);d=a;a=v[a+32>>2];c=v[d+36>>2];g:{if(a>>>0>=c>>>0){break g}while(1){h:{e=c-a|0;f=v[j+4>>2];h=zb(f);if((e|0)<(h|0)){break h}if(Kb(a,f,h)){break h}a=v[j>>2]+a|0;v[d+32>>2]=a;i:{if(a>>>0>=c>>>0){break i}while(1){e=w[a|0]-9|0;if(e>>>0>23|!(1<>2]=a;if((a|0)!=(c|0)){continue}break}a=c}if(w[a|0]!=62|(c-a|0)<1){break g}v[d+32>>2]=a+1;break g}j:{k:{l:{if((e|0)>=2){if(!Kb(a,313245,2)){ZT(d,g);break j}m:{if((e|0)>=9){if(Kb(a,308350,9)){break m}a=v[d+32>>2]+9|0;v[d+32>>2]=a;e=v[d+36>>2];f=e-3|0;n:{if(f>>>0>a>>>0){c=a;while(1){if(!Kb(c,313338,3)){e=ab(28);f=ab(8);Uh(f,a,c-a|0);t[e+24|0]=0;v[e+20>>2]=f;v[e>>2]=960216;v[e+12>>2]=0;v[e+16>>2]=0;v[e+4>>2]=0;v[e+8>>2]=0;Qa[v[v[g>>2]+48>>2]](g,e);v[d+32>>2]=v[d+32>>2]+3;break n}c=c+1|0;v[d+32>>2]=c;if((c|0)!=(f|0)){continue}break}}v[d+32>>2]=e;c=ab(28);f=ab(8);Uh(f,a,e-a|0);t[c+24|0]=0;v[c+20>>2]=f;v[c>>2]=960216;v[c+12>>2]=0;v[c+16>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;Qa[v[v[g>>2]+48>>2]](g,c)}break j}if((e|0)<4){break l}}if(Kb(a,326437,4)){break l}e=a+4|0;v[d+32>>2]=e;if(e>>>0<=c-3>>>0){f=c-2|0;a=e;while(1){if(!Kb(a,313358,3)){c=ab(24);f=ab(8);Uh(f,e,a-e|0);v[c+20>>2]=f;v[c>>2]=960024;v[c+12>>2]=0;v[c+16>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;Qa[v[v[g>>2]+48>>2]](g,c);v[d+32>>2]=v[d+32>>2]+3;break j}a=a+1|0;v[d+32>>2]=a;if((a|0)!=(f|0)){continue}break}}v[d+32>>2]=c;break j}if((e|0)!=1){break k}}if(w[a|0]!=60){break k}_T(d,g);break j}k=ab(8);i=Qd(k);c=v[d+32>>2];h=v[d+36>>2];o:{if(c>>>0>=h>>>0){break o}while(1){e=w[c|0];p:{if((e|0)!=38){a=c;if((e|0)==60){break o}while(1){q:{a=a+1|0;v[d+32>>2]=a;if(a>>>0>=h>>>0){break q}e=w[a|0];if((e|0)==60){break q}if((e|0)!=38){continue}}break}Wj(i,c,a-c|0);break p}e=c+1|0;v[d+32>>2]=e;a=e;if(!(h>>>0<=a>>>0|w[a|0]!=35)){a=c+2|0;v[d+32>>2]=a;e=0;r:{if(a>>>0>=h>>>0){break r}if(w[a|0]==120){a=c+3|0;v[d+32>>2]=a;s:{if(a>>>0>=h>>>0){break s}while(1){t:{c=-48;f=t[a|0];u:{if((f-48&255)>>>0<10){break u}c=-87;if((f-97&255)>>>0<6){break u}c=-55;if((f-65&255)>>>0>5){break t}}a=a+1|0;v[d+32>>2]=a;e=f+((e<<4)+c|0)|0;if((a|0)!=(h|0)){continue}break s}break}if((f|0)!=59){break s}v[d+32>>2]=a+1}Yy(i,e);break p}while(1){c=w[a|0];if((c-48&255)>>>0<=9){a=a+1|0;v[d+32>>2]=a;e=(c+B(e,10)|0)-48|0;if((a|0)!=(h|0)){continue}break r}break}if((c|0)!=59){break r}v[d+32>>2]=a+1}Yy(i,e);break p}v:{w:{while(1){f=a;a=a+1|0;v[d+32>>2]=a;if(a>>>0>=h>>>0){break w}l=w[a|0];m=l-38|0;if(m>>>0>22|!(1<>2]=a;break v}h=a-e|0}x:{y:{switch(h-2|0){case 0:if(!Kb(e,231492,2)){$b(i,60);break p}if(Kb(e,232363,2)){break x}$b(i,62);break p;case 1:if(Kb(e,242367,3)){break x}$b(i,38);break p;case 2:break y;default:break x}}if(!Kb(e,235142,4)){$b(i,39);break p}if(Kb(e,227560,4)){break x}$b(i,34);break p}Wj(i,c,(a-e|0)+1|0)}c=v[d+32>>2];h=v[d+36>>2];if(c>>>0>>0){continue}break}}a=ab(28);t[a+24|0]=1;v[a+20>>2]=k;v[a>>2]=960216;v[a+4>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a+16>>2]=0;Qa[v[v[g>>2]+48>>2]](g,a)}a=v[d+32>>2];c=v[d+36>>2];if(a>>>0>>0){continue}break}}if(j){$a(Bb(j))}}Qa[v[v[b>>2]+48>>2]](b,g)}function Nta(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;c=Ma-160|0;Ma=c;v[c+144>>2]=13;v[c+128>>2]=13;v[c+112>>2]=13;v[c+96>>2]=13;a:{if(!v[a+100>>2]){h=v[a+8>>2];if(!(Qa[v[v[h>>2]+32>>2]](h)|0)){break a}}e=v[a+20>>2];g=v[b+8>>2];b:{while(1){if(v[e+8>>2]==7){if(v[ib(v[e+16>>2],g,c+144|0,0)>>2]!=5){break b}bb(c+144|0)}e=v[e+104>>2];if(e){continue}break}v[c>>2]=g;fb(1,-1,244333,c);break a}if(v[c+144>>2]!=8){e=-1;a=v[a+108>>2];c:{if(!a){break c}a=v[a+4>>2];if(v[a+8>>2]==13){break c}a=v[a+16>>2];e=Qa[v[v[a>>2]+52>>2]](a)|0}v[c+64>>2]=g;fb(1,e,279011,c- -64|0);bb(c+144|0);break a}j=v[a+100>>2];b=v[c+152>>2];d=Qa[v[v[b>>2]+76>>2]](b)|0;b=c+128|0;Yd(d,312744,b);if(fz(v[v[a>>2]+36>>2],b,c+92|0)){v[a+100>>2]=v[a+100>>2]&v[c+92>>2]}h=c+128|0;bb(h);b=v[c+152>>2];ib(Qa[v[v[b>>2]+76>>2]](b)|0,278450,h,0);d:{if(v[c+128>>2]==4){e=v[c+136>>2];if(!hb(e,283149)){b=v[a+8>>2];if(!(Qa[v[v[b>>2]+28>>2]](b)|0)){break d}e=v[a+20>>2];e:{while(1){if(v[e+8>>2]==7){if(v[Yd(v[e+16>>2],g,c+96|0)>>2]!=5){break e}bb(c+96|0)}e=v[e+104>>2];if(e){continue}break}v[c+16>>2]=g;fb(1,-1,244333,c+16|0)}b=c+96|0;JV(a,b,v[c+152>>2],0);bb(b);break d}if(!hb(e,255497)){e=v[a+20>>2];f:{while(1){if(v[e+8>>2]==7){if(v[Yd(v[e+16>>2],g,c+96|0)>>2]!=5){break f}bb(c+96|0)}e=v[e+104>>2];if(e){continue}break}v[c+32>>2]=g;fb(1,-1,244333,c+32|0)}b=v[a+8>>2];g:{if(!(!(Qa[v[v[b>>2]+20>>2]](b)|0)|v[c+96>>2]!=9)){if(!v[a+100>>2]){break g}g=v[a+8>>2];h=v[c+108>>2];f=v[c+104>>2];v[c+80>>2]=f;v[c+84>>2]=h;b=v[v[g>>2]+308>>2];v[c+24>>2]=f;v[c+28>>2]=h;Qa[b|0](g,c+24|0);break g}g=c+96|0;d=Ma-176|0;Ma=d;v[d+160>>2]=13;v[d+144>>2]=13;v[d+48>>2]=13;v[d+32>>2]=13;v[d+16>>2]=13;v[d>>2]=13;h:{if(v[a+96>>2]>100){break h}if(!v[a+100>>2]){b=v[a+8>>2];if(!(Qa[v[v[b>>2]+32>>2]](b)|0)){break h}}b=v[c+152>>2];i=Qa[v[v[b>>2]+76>>2]](b)|0;ib(i,279248,d+32|0,0);b=v[d+32>>2];if(!((b|0)==5|(b|0)==1&v[d+40>>2]==1)){e=-1;b=v[a+108>>2];i:{if(!b){break i}b=v[b+4>>2];if(v[b+8>>2]==13){break i}b=v[b+16>>2];e=Qa[v[v[b>>2]+52>>2]](b)|0}fb(1,e,278578,0)}bb(d+32|0);ib(i,220495,d+144|0,0);j:{k:{if(v[d+144>>2]==6){b=d+32|0;ub(v[d+152>>2],0,b,0);A[d+64>>3]=v[d+32>>2]==1?+v[d+40>>2]:A[d+40>>3];bb(b);ub(v[d+152>>2],1,b,0);A[d+72>>3]=v[d+32>>2]==1?+v[d+40>>2]:A[d+40>>3];bb(b);ub(v[d+152>>2],2,b,0);A[d+80>>3]=v[d+32>>2]==1?+v[d+40>>2]:A[d+40>>3];bb(b);ub(v[d+152>>2],3,b,0);A[d+88>>3]=v[d+32>>2]==1?+v[d+40>>2]:A[d+40>>3];bb(b);bb(d+144|0);ib(i,220530,d+160|0,0);if(v[d+160>>2]!=6){break k}b=d+32|0;ub(v[d+168>>2],0,b,0);A[d+96>>3]=v[d+32>>2]==1?+v[d+40>>2]:A[d+40>>3];bb(b);ub(v[d+168>>2],1,b,0);A[d+104>>3]=v[d+32>>2]==1?+v[d+40>>2]:A[d+40>>3];bb(b);ub(v[d+168>>2],2,b,0);A[d+112>>3]=v[d+32>>2]==1?+v[d+40>>2]:A[d+40>>3];bb(b);ub(v[d+168>>2],3,b,0);A[d+120>>3]=v[d+32>>2]==1?+v[d+40>>2]:A[d+40>>3];bb(b);ub(v[d+168>>2],4,b,0);A[d+128>>3]=v[d+32>>2]==1?+v[d+40>>2]:A[d+40>>3];bb(b);ub(v[d+168>>2],5,b,0);A[d+136>>3]=v[d+32>>2]==1?+v[d+40>>2]:A[d+40>>3];bb(b);break j}bb(d+144|0);e=-1;b=v[a+108>>2];l:{if(!b){break l}b=v[b+4>>2];if(v[b+8>>2]==13){break l}b=v[b+16>>2];e=Qa[v[v[b>>2]+52>>2]](b)|0}fb(1,e,220428,0);break h}v[d+112>>2]=0;v[d+116>>2]=0;v[d+136>>2]=0;v[d+140>>2]=0;v[d+104>>2]=0;v[d+108>>2]=0;v[d+96>>2]=0;v[d+100>>2]=1072693248;v[d+128>>2]=0;v[d+132>>2]=0;v[d+120>>2]=0;v[d+124>>2]=1072693248}bb(d+160|0);ib(i,236775,d+48|0,0);h=v[d+48>>2]==7?v[d+56>>2]:0;e=0;if(v[ib(i,240508,d+32|0,0)>>2]==7){b=ib(v[d+40>>2],310327,d+16|0,0);f=0;m:{if(v[b>>2]!=4){break m}f=0;if(hb(v[b+8>>2],219644)){break m}b=ib(v[d+40>>2],311375,d,0);e=v[b>>2]?0:v[d+8>>2];bb(d);b=ib(v[d+40>>2],311231,d,0);k=v[b>>2]?0:v[d+8>>2];bb(d);f=1}bb(d+16|0)}bb(d+32|0);v[a+96>>2]=v[a+96>>2]+1;pz(a,g,h,d+96|0,d- -64|0,f,0,e,k,0,0,0);v[a+96>>2]=v[a+96>>2]-1;bb(d+48|0)}Ma=d+176|0}bb(c+96|0);break d}if(!hb(e,310060)){if(!v[a+100>>2]){break d}b=v[c+152>>2];ib(Qa[v[v[b>>2]+76>>2]](b)|0,324220,c+112|0,0);b=v[a+8>>2];Qa[v[v[b>>2]+312>>2]](b,v[c+152>>2],v[c+112>>2]==8?v[c+120>>2]:0);break d}b=-1;f=v[a+108>>2];n:{if(!f){break n}f=v[f+4>>2];if(v[f+8>>2]==13){break n}b=v[f+16>>2];b=Qa[v[v[b>>2]+52>>2]](b)|0;e=v[c+136>>2]}v[c+48>>2]=e;fb(1,b,336225,c+48|0);break d}e=-1;b=v[a+108>>2];o:{if(!b){break o}b=v[b+4>>2];if(v[b+8>>2]==13){break o}b=v[b+16>>2];e=Qa[v[v[b>>2]+52>>2]](b)|0}fb(1,e,279073,0)}bb(c+128|0);bb(c+144|0);v[a+100>>2]=j}Ma=c+160|0}function Kz(a,b,c){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,p=0,q=0;a:{if(v[a+292>>2]){break a}d=v[a+36>>2];e=v[d+16>>2];if((e-v[d+12>>2]|0)<501|(v[d+20>>2]-e|0)>499){break a}Xg(d);d=v[a+36>>2];if(w[v[d+16>>2]]){break a}if((Zb(d)|0)>0){break a}xc(a)}v[b>>2]=0;b:{c:{d:{e=v[a+36>>2];d=v[e+16>>2];switch(w[d|0]-80|0){case 0:break c;case 3:break d;default:break b}}if(w[d+1|0]!=89|w[d+2|0]!=83|(w[d+3|0]!=84|w[d+4|0]!=69)){break b}if(w[d+5|0]!=77){break b}v[a+200>>2]=v[a+200>>2]+6;v[e+16>>2]=d+6;v[e+32>>2]=v[e+32>>2]+6;b=w[d+6|0];if((b|0)==37){zc(a);e=v[a+36>>2];b=w[v[e+16>>2]]}e:{if(b&255){break e}if((Zb(e)|0)>0){break e}xc(a)}b=w[v[v[a+36>>2]+16>>2]]-9|0;if(!(1<>>0<=23:0)){Pc(a,65,347065)}Fc(a);j=hX(a);if(j){break b}Md(a,70,0);return 0}if(w[d+1|0]!=85|w[d+2|0]!=66|(w[d+3|0]!=76|w[d+4|0]!=73)){break b}if(w[d+5|0]!=67){break b}v[a+200>>2]=v[a+200>>2]+6;v[e+16>>2]=d+6;v[e+32>>2]=v[e+32>>2]+6;d=w[d+6|0];if((d|0)==37){zc(a);e=v[a+36>>2];d=w[v[e+16>>2]]}f:{if(d&255){break f}if((Zb(e)|0)>0){break f}xc(a)}d=w[v[v[a+36>>2]+16>>2]]-9|0;if(!(1<>>0<=23:0)){Pc(a,65,347127)}Fc(a);p=b;g=Ma-80|0;Ma=g;d=a;q=v[d+172>>2];g:{if(v[d+292>>2]){break g}a=v[d+36>>2];b=v[a+16>>2];if((b-v[a+12>>2]|0)<501|(v[a+20>>2]-b|0)>499){break g}Xg(a);a=v[d+36>>2];if(w[v[a+16>>2]]){break g}if((Zb(a)|0)>0){break g}while(1){f=v[d+40>>2];if((f|0)<2){break g}b=d;h:{i:{j:{if(!v[291060]){i=f-1|0;v[d+40>>2]=i;a=v[d+48>>2];break j}v[g+64>>2]=f;a=0;Qa[v[256654]](v[291043],344907,g- -64|0);f=v[d+40>>2];if((f|0)<1){break h}i=f-1|0;v[d+40>>2]=i;a=v[d+48>>2];e=0;h=0;if((f|0)==1){break i}}e=i;h=v[((f<<2)+a|0)-8>>2]}v[b+36>>2]=h;b=(e<<2)+a|0;a=v[b>>2];v[b>>2]=0}Vh(a);a=v[d+36>>2];if(w[v[a+16>>2]]){break g}if((Zb(a)|0)<1){continue}break}}k=34;k:{l:{switch(w[v[v[d+36>>2]+16>>2]]-34|0){default:if(!(!v[d+212>>2]|v[d+172>>2]!=-1)){a=0;break k}v[d+84>>2]=43;v[g>>2]=289425;a=0;nb(0,0,0,d,0,1,43,3,0,0,0,0,340716,g);v[d+12>>2]=0;if(v[d+288>>2]){break k}v[d+212>>2]=1;break k;case 5:k=39;break;case 0:break l}}Bc(d);i=100;b=Qa[v[256555]](100)|0;if(!b){a=0;Yc(d,0);break k}v[d+172>>2]=16;f=w[v[v[d+36>>2]+16>>2]];h=(k|0)!=(f|0);m:{if(!(!w[f+869568|0]|(f|0)==(k|0))){e=0;while(1){n:{m=e+1|0;if((m|0)<(i|0)){a=b;break n}if(!(w[d+362|0]&8|(i|0)<50001)){o:{if(v[d+172>>2]==-1?v[d+212>>2]:0){break o}v[d+84>>2]=110;v[g+52>>2]=312293;v[g+48>>2]=246135;nb(0,0,0,d,0,1,110,3,312293,0,0,0,340574,g+48|0);v[d+12>>2]=0;if(v[d+288>>2]){break o}v[d+212>>2]=1}a=0;Qa[v[256556]](b);break k}i=i<<1;a=Qa[v[256557]](b,i)|0;if(a){break n}a=0;Yc(d,0);Qa[v[256556]](b);break k}t[a+e|0]=f;p:{if((n|0)<50){n=n+1|0;break p}q:{if(v[d+292>>2]){break q}b=v[d+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break q}oc(d)}n=0;if(v[d+172>>2]!=-1){break p}Qa[v[256556]](a);a=0;break k}Bc(d);b=v[d+36>>2];e=v[b+16>>2];f=w[e|0];if(!f){r:{if(v[d+292>>2]){break r}if((v[b+20>>2]-e|0)<=249){oc(d);if(v[d+292>>2]){break r}}b=v[d+36>>2];e=v[b+16>>2];if((e-v[b+12>>2]|0)<501|(v[b+20>>2]-e|0)>499){break r}Xg(b);b=v[d+36>>2];if(w[v[b+16>>2]]){break r}if((Zb(b)|0)>0){break r}while(1){f=v[d+40>>2];if((f|0)<2){break r}l=d;s:{t:{u:{if(!v[291060]){h=f-1|0;v[d+40>>2]=h;e=v[d+48>>2];break u}v[g+32>>2]=f;e=0;Qa[v[256654]](v[291043],344907,g+32|0);f=v[d+40>>2];if((f|0)<1){break s}h=f-1|0;v[d+40>>2]=h;e=v[d+48>>2];o=0;b=0;if((f|0)==1){break t}}o=v[((f<<2)+e|0)-8>>2];b=h}v[l+36>>2]=o;b=(b<<2)+e|0;e=v[b>>2];v[b>>2]=0}Vh(e);b=v[d+36>>2];if(w[v[b+16>>2]]){break r}if((Zb(b)|0)<1){continue}break}}f=w[v[v[d+36>>2]+16>>2]]}l=f&255;h=(l|0)!=(k|0);if(!w[l+869568|0]){break m}b=a;e=m;if((k|0)!=(l|0)){continue}break}break m}a=b}t[a+m|0]=0;v:{if(h){if(v[d+172>>2]==-1?v[d+212>>2]:0){break v}v[d+84>>2]=44;v[g+16>>2]=289455;nb(0,0,0,d,0,1,44,3,0,0,0,0,340716,g+16|0);v[d+12>>2]=0;if(v[d+288>>2]){break v}v[d+212>>2]=1;break v}Bc(d)}v[d+172>>2]=q}Ma=g+80|0;v[p>>2]=a;if(!a){Md(d,71,0)}w:{if(c){a=w[v[v[d+36>>2]+16>>2]]-9|0;if(1<>>0<=23:0){break w}Pc(d,65,341158);break w}x:{if(v[d+292>>2]){break x}a=v[d+36>>2];if((v[a+20>>2]-v[a+16>>2]|0)>249){break x}oc(d)}a=v[v[d+36>>2]+16>>2];b=w[a|0];c=b-9|0;if(c>>>0>23|!(1<>>0>30){break b}if(1<>2],w[c+15|0],d,b,j+12|0,j+8|0,j+4|0);v[m+12>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;case 2:Ic(v[a+68>>2],w[c+11|0],d,b,j+12|0,j+8|0,j+4|0);v[l+12>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;case 1:Ic(v[a+68>>2],w[c+7|0],d,b,j+12|0,j+8|0,j+4|0);v[k+12>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;break;case 0:break d}}Ic(v[a+68>>2],w[c+3|0],d,b,j+12|0,j+8|0,j+4|0);v[n+12>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;case 2:e:{switch(f-1|0){default:Ic(v[a+68>>2],w[c+14|0],d,b,j+12|0,j+8|0,j+4|0);v[m+8>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;case 2:Ic(v[a+68>>2],w[c+10|0],d,b,j+12|0,j+8|0,j+4|0);v[l+8>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;case 1:Ic(v[a+68>>2],w[c+6|0],d,b,j+12|0,j+8|0,j+4|0);v[k+8>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;break;case 0:break e}}Ic(v[a+68>>2],w[c+2|0],d,b,j+12|0,j+8|0,j+4|0);v[n+8>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;case 1:f:{switch(f-1|0){default:Ic(v[a+68>>2],w[c+13|0],d,b,j+12|0,j+8|0,j+4|0);v[m+4>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;case 2:Ic(v[a+68>>2],w[c+9|0],d,b,j+12|0,j+8|0,j+4|0);v[l+4>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;case 1:Ic(v[a+68>>2],w[c+5|0],d,b,j+12|0,j+8|0,j+4|0);v[k+4>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;break;case 0:break f}}Ic(v[a+68>>2],w[c+1|0],d,b,j+12|0,j+8|0,j+4|0);v[n+4>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;break;case 0:break c}}g:{switch(f-1|0){default:Ic(v[a+68>>2],w[c+12|0],d,b,j+12|0,j+8|0,j+4|0);v[m>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;case 2:Ic(v[a+68>>2],w[c+8|0],d,b,j+12|0,j+8|0,j+4|0);v[l>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;case 1:Ic(v[a+68>>2],w[c+4|0],d,b,j+12|0,j+8|0,j+4|0);v[k>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;break;case 0:break g}}Ic(v[a+68>>2],w[c|0],d,b,j+12|0,j+8|0,j+4|0);v[n>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;if(g>>>0<4){break b}i=c+18|0;o=m+16|0;h=l+16|0;d=k+16|0;b=n+16|0;g=g-4|0;if(g){continue}break}g=4}if(f>>>0<5){break a}g=g<<2;b=p<<2;o=g+(b+m|0)|0;h=g+(b+l|0)|0;d=g+(b+k|0)|0;b=g+(b+n|0)|0;f=f-4|0;i=(c+q|0)+18|0;continue}}if(f>>>0<4){break a}c=e>>>2|0;p=p<<2;while(1){g=c;while(1){e=w[i+16|0];k=w[i+17|0];l=j+12|0;m=j+8|0;n=j+4|0;Ic(v[a+68>>2],w[i|0],e,k,l,m,n);v[b>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Ic(v[a+68>>2],w[i+1|0],e,k,l,m,n);v[b+4>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Ic(v[a+68>>2],w[i+2|0],e,k,l,m,n);v[b+8>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Ic(v[a+68>>2],w[i+3|0],e,k,l,m,n);v[b+12>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Ic(v[a+68>>2],w[i+4|0],e,k,l,m,n);v[d>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Ic(v[a+68>>2],w[i+5|0],e,k,l,m,n);v[d+4>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Ic(v[a+68>>2],w[i+6|0],e,k,l,m,n);v[d+8>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Ic(v[a+68>>2],w[i+7|0],e,k,l,m,n);v[d+12>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Ic(v[a+68>>2],w[i+8|0],e,k,l,m,n);v[h>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Ic(v[a+68>>2],w[i+9|0],e,k,l,m,n);v[h+4>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Ic(v[a+68>>2],w[i+10|0],e,k,l,m,n);v[h+8>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Ic(v[a+68>>2],w[i+11|0],e,k,l,m,n);v[h+12>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Ic(v[a+68>>2],w[i+12|0],e,k,l,m,n);v[o>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Ic(v[a+68>>2],w[i+13|0],e,k,l,m,n);v[o+4>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Ic(v[a+68>>2],w[i+14|0],e,k,l,m,n);v[o+8>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Ic(v[a+68>>2],w[i+15|0],e,k,l,m,n);v[o+12>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;i=i+18|0;o=o+16|0;h=h+16|0;d=d+16|0;b=b+16|0;g=g-1|0;if(g){continue}break}i=i+q|0;o=o+p|0;h=h+p|0;d=d+p|0;b=b+p|0;f=f-4|0;if(f>>>0>3){continue}break}}Ma=j+16|0}function Nt(a,b){var 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,z=0,A=0;d=v[b+88>>2];k=v[d+40>>2];l=v[d+36>>2];a:{b:{c:{d:{if(w[d+45|0]==3){if(!(!w[d+33|0]|!x[b+28>>1])){ob(a,1037,0,0);return 1037}h=iC(a,b,8,v[d+844>>2]?6:2,0);if(h){break d}}e:{f:{switch(w[b+64|0]){case 1:l=x[b+70>>1];c=v[d+36>>2];if(c>>>0<2){break e}l=x[b+72>>1]+l|0;if((c|0)==2){break e}l=B(x[b+66>>1],c-2|0)+l|0;break e;case 0:break e;default:break f}}c=v[d+36>>2];l=(c+x[b+70>>1]|0)-1|0;if(c>>>0<3){break e}l=(x[b+72>>1]+l|0)-1|0;if((c|0)==3){break e}l=B(x[b+66>>1]-1|0,c-3|0)+l|0}g:{h:{switch(w[b+65|0]){case 1:k=x[b+74>>1];c=v[d+40>>2];if(c>>>0<2){break g}k=x[b+70>>1]+k|0;if((c|0)==2){break g}k=B(x[b+68>>1],c-2|0)+k|0;break g;case 0:break g;default:break h}}c=v[d+40>>2];k=(c+x[b+74>>1]|0)-1|0;if(c>>>0<3){break g}k=(x[b+76>>1]+k|0)-1|0;if((c|0)==3){break g}k=B(x[b+68>>1]-1|0,c-3|0)+k|0}j=B(v[d+1164>>2],l);s=B(k,j);q=Qa[v[a+152>>2]](s)|0;if(!q){break b}m=b- -64|0;g=1;i:{j:{k:{switch(w[d+45|0]){case 0:case 8:c=w[m|0]-1|0;if(w[d+44|0]<=8){f=(c&255)>>>0<=4?v[(c<<24>>24<<2)+189964>>2]:f;l:{switch(w[b+65|0]-1|0){case 0:e=623;break j;case 1:case 3:e=624;break j;case 2:case 4:break l;default:break i}}e=625;break j}f=(c&255)>>>0<=4?v[(c<<24>>24<<2)+189984>>2]:f;m:{switch(w[b+65|0]-1|0){case 0:e=626;break j;case 1:case 3:e=627;break j;case 2:case 4:break m;default:break i}}e=628;break j;case 2:case 10:c=w[m|0]-1|0;if(w[d+44|0]<=8){f=(c&255)>>>0<=4?v[(c<<24>>24<<2)+190004>>2]:f;n:{switch(w[b+65|0]-1|0){case 0:e=629;break j;case 1:case 3:e=630;break j;case 2:case 4:break n;default:break i}}e=631;break j}f=(c&255)>>>0<=4?v[(c<<24>>24<<2)+190024>>2]:f;o:{switch(w[b+65|0]-1|0){case 0:e=632;break j;case 1:case 3:e=633;break j;case 2:case 4:break o;default:break i}}e=634;break j;case 4:case 12:c=w[m|0]-1|0;if(w[d+44|0]<=8){f=(c&255)>>>0<=4?v[(c<<24>>24<<2)+190044>>2]:f;p:{switch(w[b+65|0]-1|0){case 0:e=635;break j;case 1:e=636;break j;case 2:e=637;break j;case 3:e=638;break j;case 4:break p;default:break i}}e=639;break j}f=(c&255)>>>0<=4?v[(c<<24>>24<<2)+190064>>2]:f;q:{switch(w[b+65|0]-1|0){case 0:e=640;break j;case 1:e=641;break j;case 2:e=642;break j;case 3:e=643;break j;case 4:break q;default:break i}}e=644;break j;case 6:case 14:break k;default:break i}}c=w[m|0]-1|0;if(w[d+44|0]<=8){f=(c&255)>>>0<=4?v[(c<<24>>24<<2)+190084>>2]:f;r:{switch(w[b+65|0]-1|0){case 0:e=645;break j;case 1:e=646;break j;case 2:e=647;break j;case 3:e=648;break j;case 4:break r;default:break i}}e=649;break j}f=(c&255)>>>0<=4?v[(c<<24>>24<<2)+190104>>2]:f;s:{switch(w[b+65|0]-1|0){case 0:e=650;break j;case 1:e=651;break j;case 2:e=652;break j;case 3:e=653;break j;case 4:break s;default:break i}}e=654}g=0}h=v[d+1176>>2];t:{u:{n=Qa[v[a+152>>2]](j)|0;if(n){if(!v[d+40>>2]){break t}if(g){break u}z=b+74|0;t=b+76|0;A=b+68|0;o=v[d+1168>>2];g=q;while(1){v:{if(f){i=Qa[f|0](a,x[b+66>>1],x[b+70>>1],x[b+72>>1],v[d+36>>2],h,g)|0;if(!i){break v}break c}cb(g,h,j)}g=g+j|0;i=v[d+40>>2];p=i-1|0;w:{c=(i|0)==1;x:{if(!(c|p>>>0>r>>>0)&w[b+65|0]!=1){break x}o=h+o|0;y:{if(!r){o=c?0:o;c=z;break y}z:{if(w[b+65|0]==1){if((p|0)!=(r|0)){break z}c=t;break y}if((i-2|0)!=(r|0)){break z}c=t;break y}c=A}p=x[c>>1];if(p>>>0<2){break x}c=1;if(!f){while(1){i=Qa[e|0](a,c,p,v[d+36>>2],h,o,n)|0;if(i){break w}g=cb(g,n,j)+j|0;c=c+1|0;if((p|0)!=(c|0)){continue}break x}}while(1){i=Qa[e|0](a,c,p,v[d+36>>2],h,o,n)|0;if(i){break w}i=Qa[f|0](a,x[b+66>>1],x[b+70>>1],x[b+72>>1],v[d+36>>2],n,g)|0;if(i){break a}g=g+j|0;c=c+1|0;if((p|0)!=(c|0)){continue}break}}o=v[d+1168>>2];h=o+h|0;r=r+1|0;if(r>>>0>2]){continue}break t}break}break a}break b}g=0;if(!f){c=q;while(1){c=cb(c,h,j)+j|0;h=v[d+1168>>2]+h|0;g=g+1|0;if(g>>>0>2]){continue}break}break t}c=q;while(1){i=Qa[f|0](a,x[b+66>>1],x[b+70>>1],x[b+72>>1],v[d+36>>2],h,c)|0;if(i){break c}c=c+j|0;h=v[d+1168>>2]+h|0;g=g+1|0;if(g>>>0>2]){continue}break}}Qa[v[a+156>>2]](n,j);c=v[d+1176>>2];if(c){Qa[v[a+156>>2]](c,v[d+1172>>2])}v[d+1172>>2]=s;v[d+1168>>2]=j;v[d+1176>>2]=q;v[d+40>>2]=k;v[d+36>>2]=l;h=0;if(!x[b+28>>1]){break d}v[m>>2]=0;v[m+4>>2]=0;u[m+6>>1]=0;u[m+8>>1]=0;u[m+10>>1]=0;u[m+12>>1]=0}return h}Qa[v[a+156>>2]](n,j);Qa[v[a+156>>2]](q,s);return i}ob(a,1,0,0);return 1}Qa[v[a+156>>2]](n,j);Qa[v[a+156>>2]](q,s);return i}function $E(a,b,c){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,p=0,q=0;k=Ma+-64|0;Ma=k;j=ze(k+24|0,v[a>>2]+72|0);d=eh(j);f=v[v[b+12>>2]+((d>>>0)%y[b+8>>2]<<2)>>2];a:{if(f){while(1){if((d|0)==v[f+12>>2]){if(ff(f+16|0,j)){break a}}f=v[f+8>>2];if(f){continue}break}}p=il(b,j),q=0,v[p+52>>2]=q;l=Ma-16|0;Ma=l;b:{c:{g=v[c+20>>2];if(g){while(1){e=v[g+8>>2];d=v[e+8>>2];d:{if(!d){if(!v[a>>2]){break c}break d}v[d+4>>2]=v[d+4>>2]+1;f=v[a>>2];e:{d=v[e+8>>2];if(!d){break e}e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(e){break e}e=v[d+4>>2];if(!e){v[d+4>>2]=-32767}if(!e){Qa[v[v[d>>2]+4>>2]](d)}if((d|0)!=(f|0)){break d}break c}if((d|0)==(f|0)){break c}}g=v[g>>2];if(g){continue}break}}d=v[c+32>>2];e=(d|0)<0?d:w[c+28|0]?d:0;d=(e|0)<0;n=Mu(v[a>>2]);if(!d&(e|0)<(n|0)){break b}if(!d){f:{f=0;g=0;d=Ma-80|0;Ma=d;g:{h:{i:{m=e-n|0;j:{if(!m){ac(c+12|0);v[c+36>>2]=0;break j}i=c+12|0;k:{l:{m:{e=v[c+16>>2];if((e|0)<=20){if(v[c+36>>2]<=(m|0)){break j}if(e){break m}i=v[d+28>>2];g=v[d+24>>2];break l}o=io(d+32|0,971392,e-1|0);g=v[c+20>>2];if(g){while(1){e=v[g+8>>2];if(e){v[e+4>>2]=v[e+4>>2]+1;e=v[g+8>>2]}else{e=0}v[e+16>>2]=g;v[e+20>>2]=i;if(v[d+52>>2]<(f|0)|v[d+48>>2]>(f|0)){break g}v[v[d+36>>2]+(f-v[d+40>>2]<<2)>>2]=e;h=v[e+4>>2]-1|0;v[e+4>>2]=h;if(!h){h=v[e+4>>2];if(!h){v[e+4>>2]=-32767}if(!h){Qa[v[v[e>>2]+4>>2]](e)}}f=f+1|0;g=v[g>>2];if(g){continue}break}}f=v[d+48>>2];if((f|0)>0){break g}g=v[d+52>>2];if((g|0)<=-1){break g}$l(v[d+36>>2]-(v[d+40>>2]<<2)|0,(g-f|0)+1|0,4,3770);f=v[d+52>>2];e=v[d+48>>2];n:{if(((f-e|0)+1|0)<1){break n}g=0;while(1){if(v[c+36>>2]<=(m|0)){break n}if((f|0)<(g|0)|(e|0)>(g|0)){break g}e=v[v[d+36>>2]+(g-v[d+40>>2]<<2)>>2];f=Mu(v[e+8>>2]);v[c+36>>2]=v[c+36>>2]-f;f=d;h=v[e+8>>2];if(h){v[h+4>>2]=v[h+4>>2]+1;h=v[e+8>>2]}else{h=0}v[f+56>>2]=h;Ag(i,e+16|0);Qa[v[v[c>>2]+16>>2]](c,d+56|0);if(v[c+36>>2]<=0){f=0;e=v[c+20>>2];if(e){while(1){f=Mu(v[v[e+8>>2]+8>>2])+f|0;e=v[e>>2];if(e){continue}break}}v[c+36>>2]=f}f=v[d+56>>2];v[d+56>>2]=0;o:{if(!f){break o}e=v[f+4>>2]-1|0;v[f+4>>2]=e;if(e){break o}e=v[f+4>>2];if(!e){v[f+4>>2]=-32767}if(!e){Qa[v[v[f>>2]+4>>2]](f)}}g=g+1|0;f=v[d+52>>2];e=v[d+48>>2];if((g|0)<((f-e|0)+1|0)){continue}break}}xd(o);break j}while(1){f=v[c+20>>2];v[d+60>>2]=i;v[d+56>>2]=f;p:{if(!f){f=0;break p}e=v[f>>2];if(!e){break p}while(1){g=f;if(v[v[e+8>>2]+12>>2]>2]+12>>2]){v[d+60>>2]=i;v[d+56>>2]=e;f=e}e=v[e>>2];if(e){continue}break}}v[d+20>>2]=i;v[d+16>>2]=f;if(!f){break i}f=Mu(v[v[f+8>>2]+8>>2]);v[c+36>>2]=v[c+36>>2]-f;e=v[d+56>>2];v[d+8>>2]=e;f=v[d+60>>2];v[d+12>>2]=f;if(!e|(f|0)!=(i|0)){break h}f=d;h=v[e+8>>2];e=v[h+8>>2];if(e){v[e+4>>2]=v[e+4>>2]+1;e=v[h+8>>2]}else{e=0}v[f+32>>2]=e;Ag(i,d+56|0);Qa[v[v[c>>2]+16>>2]](c,d+32|0);if(v[c+36>>2]<=0){f=0;e=v[c+20>>2];if(e){while(1){f=Mu(v[v[e+8>>2]+8>>2])+f|0;e=v[e>>2];if(e){continue}break}}v[c+36>>2]=f}f=v[d+32>>2];v[d+32>>2]=0;q:{if(!f){break q}e=v[f+4>>2]-1|0;v[f+4>>2]=e;if(e){break q}e=v[f+4>>2];if(!e){v[f+4>>2]=-32767}if(!e){Qa[v[v[f>>2]+4>>2]](f)}}if(v[c+36>>2]<=(m|0)){break k}if(v[c+16>>2]){continue}break}}v[d+28>>2]=i;v[d+24>>2]=g;v[c+36>>2]=0;break j}v[d+28>>2]=i;v[d+24>>2]=g}Ma=d+80|0;break f}v[d+28>>2]=i;v[d+24>>2]=g;wd(d+16|0,i);L()}v[d+28>>2]=i;v[d+24>>2]=g;wd(d+8|0,i);L()}lb(mb(d+56|0,227376,271519,619,308264));L()}}d=ab(24);v[d>>2]=971984;v[d+4>>2]=0;f=d;g=v[a>>2];if(g){v[g+4>>2]=v[g+4>>2]+1;e=v[a>>2]}else{e=0}v[f+8>>2]=e;f=aa(0)|0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+12>>2]=f;v[l+8>>2]=0;qb(l+8|0,d);d=ab(12);v[d>>2]=0;v[d+4>>2]=0;v[d+8>>2]=0;f=d;g=v[l+8>>2];if(g){v[g+4>>2]=v[g+4>>2]+1;e=v[l+8>>2]}else{e=0}v[f+8>>2]=e;de(c+12|0,d);d=v[l+8>>2];v[l+8>>2]=0;r:{if(!d){break r}f=v[d+4>>2]-1|0;v[d+4>>2]=f;if(f){break r}f=v[d+4>>2];if(!f){v[d+4>>2]=-32767}if(!f){Qa[v[v[d>>2]+4>>2]](d)}}v[c+36>>2]=v[c+36>>2]+n;Qa[v[v[c>>2]+8>>2]](c,a);break b}p=v[g+8>>2],q=aa(0)|0,v[p+12>>2]=q}Ma=l+16|0;v[k+16>>2]=0;v[k+20>>2]=0;v[k+8>>2]=0;v[k+12>>2]=0;a=k+8|0;v[a>>2]=970612;v[a+4>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;f=v[k+16>>2];if(f){while(1){$E(f+8|0,b,c);f=v[f>>2];if(f){continue}break}}ac(a)}v[j+24>>2]=969432;v[j>>2]=969400;a=v[j+28>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Qa[v[v[a>>2]+4>>2]](a)}v[j+28>>2]=0}v[j+16>>2]=969432;a=v[j+20>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Qa[v[v[a>>2]+4>>2]](a)}v[j+20>>2]=0}db(j+8|0);Ma=k- -64|0}function Rs(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=Ma-16|0;Ma=e;a:{if(!b){c=-1;break a}Kv(a);v[e+4>>2]=b;b:{c:{if(((w[b|0]&223)-65&255)>>>0>25){break c}d=b;while(1){f=d;d=d+1|0;c=w[f+1|0];if(((c&223)-65&255)>>>0<26|(c-48&255)>>>0<10){continue}g=c-43|0;if(g>>>0<=3&(g|0)!=1){continue}break}if(a){c=v[a>>2];if(c){Qa[v[256556]](c)}c=0;g=d-b|0;d:{if((g|0)<0){break d}h=Qa[v[256555]](g+1|0)|0;if(!h){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break d}c=cb(h,b,g);t[g+c|0]=0}v[a>>2]=c;c=w[d|0]}if((c&255)!=58){break c}d=f+2|0;v[e+8>>2]=d;c=w[f+2|0];e:{if((c|0)==47){if(w[f+3|0]==47){v[e+8>>2]=f+4;if(KX(a,e+8|0)){break c}if(!v[a+12>>2]){v[a+20>>2]=-1}c=e+8|0;while(1){c=v[c>>2];if(w[c|0]==47){v[e+12>>2]=c+1;c=e+12|0;if(!Bo(c,0,1)){continue}break c}break}if(!a){break e}d=v[a+24>>2];if(d){Qa[v[256556]](d)}g=0;f=v[e+8>>2];f:{if((f|0)==(c|0)){break f}d=c-f|0;if(w[a+36|0]&2){if(!f|(d|0)<0){break f}g=Qa[v[256555]](d+1|0)|0;if(!g){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);v[a+24>>2]=0;break e}h=d;d=cb(g,f,d);t[h+d|0]=0;v[a+24>>2]=d;break e}g=tm(f,d)}v[a+24>>2]=g;break e}if(JX(a,e+8|0)){break c}c=v[e+8>>2];break e}g:{h:{if(((c&223)-65&255)>>>0<26|(c-48&255)>>>0<10){break h}i:{switch(c-33|0){case 0:case 3:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 25:case 26:case 28:case 31:case 62:case 93:break h;case 4:break i;default:break g}}j:{c=w[f+3|0];if((c-48&255)>>>0<10){break j}switch(c-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break j;default:break g}}c=w[f+4|0];if((c-48&255)>>>0<10){break h}switch(c-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break h;default:break g}}v[e+12>>2]=d;if(Bo(e+12|0,0,0)){break c}while(1){c=v[e+12>>2];if(w[c|0]==47){v[e+12>>2]=c+1;if(!Bo(e+12|0,0,1)){continue}break c}break}if(!a){break e}f=v[a+24>>2];if(f){Qa[v[256556]](f)}if((c|0)==(d|0)){v[a+24>>2]=0;break e}g=c-d|0;f=a;k:{if(w[a+36|0]&2){h=0;if((g|0)<0){break k}f=Qa[v[256555]](g+1|0)|0;if(!f){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);v[a+24>>2]=0;break e}d=cb(f,d,g);t[d+g|0]=0;v[a+24>>2]=d;break e}h=tm(d,g)}v[f+24>>2]=h;break e}if(a){c=v[a+24>>2];if(c){Qa[v[256556]](c)}v[a+24>>2]=0}c=d}v[e+4>>2]=c;d=w[c|0];if((d|0)==63){v[e+4>>2]=c+1;if(IX(a,e+4|0)){break c}c=v[e+4>>2];d=w[c|0]}if((d&255)==35){v[e+4>>2]=c+1;if(HX(a,e+4|0)){break c}d=w[v[e+4>>2]]}if(!(d&255)){break b}Kv(a)}Kv(a);v[e+8>>2]=b;d=w[b|0];l:{m:{n:{if((d|0)==47){if(w[b+1|0]==47){v[e+8>>2]=b+2;c=KX(a,e+8|0);if(c){break l}c=e+8|0;while(1){c=v[c>>2];if(w[c|0]==47){v[e+12>>2]=c+1;c=e+12|0;if(!Bo(c,0,1)){continue}break m}break}if(a){b=v[a+24>>2];if(b){Qa[v[256556]](b)}d=0;f=v[e+8>>2];o:{if((f|0)==(c|0)){break o}b=c-f|0;if(w[a+36|0]&2){if(!f|(b|0)<0){break o}d=Qa[v[256555]](b+1|0)|0;if(!d){d=0;nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break o}i=cb(d,f,b)+b|0,j=0,t[i|0]=j;break o}d=tm(f,b)}v[a+24>>2]=d}v[e+8>>2]=c;break n}c=1;if(JX(a,e+8|0)){break l}c=v[e+8>>2];break n}p:{q:{if(((d&223)-65&255)>>>0<26|(d-48&255)>>>0<10){break q}r:{switch(d-33|0){case 0:case 3:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 25:case 26:case 28:case 31:case 62:case 93:break q;case 4:break r;default:break p}}s:{d=w[b+1|0];if((d-48&255)>>>0<10){break s}switch(d-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break s;default:break p}}d=w[b+2|0];if((d-48&255)>>>0<10){break q}switch(d-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break q;default:break p}}v[e+12>>2]=b;if(Bo(e+12|0,58,0)){break m}while(1){c=v[e+12>>2];if(w[c|0]==47){v[e+12>>2]=c+1;if(!Bo(e+12|0,0,1)){continue}break m}break}if(a){d=v[a+24>>2];if(d){Qa[v[256556]](d)}t:{if((b|0)==(c|0)){d=0;break t}f=c-b|0;if(w[a+36|0]&2){d=0;if((f|0)<0){break t}g=Qa[v[256555]](f+1|0)|0;if(!g){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break t}d=cb(g,b,f);t[f+d|0]=0;break t}d=tm(b,f)}v[a+24>>2]=d}v[e+8>>2]=c;break n}if(a){d=v[a+24>>2];if(d){Qa[v[256556]](d)}v[a+24>>2]=0}c=b}d=w[c|0];if((d|0)==63){v[e+8>>2]=c+1;c=-1;if(IX(a,e+8|0)){break l}c=v[e+8>>2];d=w[c|0]}if((d&255)==35){v[e+8>>2]=c+1;c=-1;if(HX(a,e+8|0)){break l}d=w[v[e+8>>2]]}if(!(d&255)){break b}Kv(a)}c=1}Kv(a);break a}c=0}Ma=e+16|0;return c}function DH(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=Ma-16|0;Ma=e;f=Qa[v[256552]](472)|0;a:{b:{if(!f){v[e>>2]=338470;nb(0,0,0,0,0,1,2,3,338470,0,0,0,340689,e);break b}g=eb(f,0,472);a=g;d=Ma-112|0;Ma=d;c:{if(!a){v[d>>2]=0;nb(0,0,0,0,0,1,1,3,0,0,0,0,338502,d);b=-1;break c}v[256684]=1;v[256672]=2675;v[256671]=2676;v[256683]=2677;v[256657]=2678;v[256681]=2679;v[256662]=2680;v[256661]=2681;v[256660]=2682;v[256659]=2683;v[256658]=2684;v[256666]=2685;v[256665]=2686;v[256663]=2687;v[256682]=2688;v[256674]=2689;v[256673]=2690;v[256670]=2691;v[256669]=2692;v[256668]=2693;v[256667]=2694;v[256664]=2695;v[256680]=2653;v[256679]=2653;v[256678]=2654;v[256677]=2696;v[256676]=2697;v[256675]=2689;b=v[a+296>>2];if(!b){d:{e:{if(!w[1164140]){b=gb(4);v[291036]=b;if(!b){break e}t[1164140]=1}b=Qa[v[256552]](32)|0;if(!b){break e}v[b+28>>2]=0;v[b>>2]=1;v[b+8>>2]=128;v[b+12>>2]=0;c=Qa[v[256552]](2560)|0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+4>>2]=c;if(c){break d}Qa[v[256556]](b)}v[a+296>>2]=0;v[d+16>>2]=338436;nb(0,0,0,0,0,1,2,3,338436,0,0,0,340689,d+16|0);b=-1;break c}eb(c,0,2560);v[b+24>>2]=0;v[a+296>>2]=b}v[b+28>>2]=1e7;f:{b=v[a>>2];if(b){break f}b=Qa[v[256552]](128)|0;v[a>>2]=b;if(b){break f}v[d+32>>2]=338436;nb(0,0,0,0,0,1,2,3,338436,0,0,0,340689,d+32|0);b=-1;break c}v[b+124>>2]=0;v[b+120>>2]=2698;v[b+116>>2]=2699;v[b+56>>2]=0;v[b+60>>2]=0;v[b+108>>2]=-554844497;v[b+104>>2]=2677;v[b>>2]=2678;v[b+96>>2]=2679;v[b+20>>2]=2680;v[b+16>>2]=2681;v[b+12>>2]=2682;v[b+8>>2]=2683;v[b+4>>2]=2684;v[b+36>>2]=2685;v[b+32>>2]=2686;v[b+24>>2]=2687;v[b+100>>2]=2688;v[b+68>>2]=2689;v[b+64>>2]=2690;v[b+52>>2]=2691;v[b+48>>2]=2692;v[b+44>>2]=2693;v[b+40>>2]=2694;v[b+28>>2]=2695;v[b+92>>2]=2653;v[b+88>>2]=2653;v[b+84>>2]=2654;v[b+80>>2]=2696;v[b+76>>2]=2697;v[b+72>>2]=2689;v[a+300>>2]=0;v[a+304>>2]=0;g:{if(!v[a+48>>2]){b=Qa[v[256552]](20)|0;v[a+44>>2]=5;v[a+48>>2]=b;if(!b){break g}}b=Oz(a);if(b){while(1){c=v[b+4>>2];if(c){Qa[v[256556]](c)}c=v[b+8>>2];if(c){Qa[v[256556]](c)}c=v[b+44>>2];if(c){Qa[v[256556]](c)}c=v[b+48>>2];if(c){Qa[v[256556]](c)}c=v[b+40>>2];h:{if(!c){break h}h=v[b+12>>2];if(!h){break h}Qa[c|0](h)}c=v[b>>2];if(c){um(c)}Qa[v[256556]](b);b=Oz(a);if(b){continue}break}}v[a+36>>2]=0;v[a+40>>2]=0;v[a+88>>2]=0;v[a+92>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;v[a+180>>2]=0;v[a+172>>2]=0;v[a+176>>2]=0;v[a+96>>2]=0;v[a+28>>2]=-1;v[a+32>>2]=0;i:{if(v[a+64>>2]){break i}b=Qa[v[256552]](40)|0;v[a+60>>2]=10;v[a+64>>2]=b;if(b){break i}v[d+64>>2]=338436;nb(0,0,0,0,0,1,2,3,338436,0,0,0,340689,d- -64|0);v[a+60>>2]=0;v[a+52>>2]=0;v[a+56>>2]=0;v[a+44>>2]=0;v[a+36>>2]=0;v[a+40>>2]=0;b=-1;break c}v[a+52>>2]=0;v[a+56>>2]=0;j:{if(v[a+196>>2]){break j}b=Qa[v[256552]](40)|0;v[a+192>>2]=10;v[a+196>>2]=b;if(b){break j}v[d+80>>2]=338436;nb(0,0,0,0,0,1,2,3,338436,0,0,0,340689,d+80|0);v[a+60>>2]=0;v[a+52>>2]=0;v[a+56>>2]=0;v[a+44>>2]=0;v[a+192>>2]=0;v[a+36>>2]=0;v[a+40>>2]=0;v[a+184>>2]=0;v[a+188>>2]=0;b=-1;break c}v[a+184>>2]=0;v[a+188>>2]=0;k:{b=v[a+244>>2];if(b){break k}b=Qa[v[256552]](40)|0;v[a+240>>2]=10;v[a+244>>2]=b;if(b){break k}v[d+96>>2]=338436;nb(0,0,0,0,0,1,2,3,338436,0,0,0,340689,d+96|0);v[a+60>>2]=0;v[a+52>>2]=0;v[a+56>>2]=0;v[a+44>>2]=0;v[a+192>>2]=0;v[a+36>>2]=0;v[a+40>>2]=0;v[a+240>>2]=0;v[a+184>>2]=0;v[a+188>>2]=0;v[a+232>>2]=0;v[a+236>>2]=0;b=-1;break c}v[a+236>>2]=1;v[a+240>>2]=10;v[b>>2]=-1;v[a+356>>2]=1;v[a+8>>2]=0;v[a+12>>2]=1;v[a+232>>2]=b;v[a+100>>2]=1;v[a+4>>2]=a;b=v[291062];v[a+276>>2]=b;if(b){v[a+360>>2]=v[a+360>>2]|4}b=v[291061];v[a+104>>2]=b;c=v[291063];v[a+268>>2]=c;if(c){v[a+360>>2]=v[a+360>>2]|128}v[a+280>>2]=v[291064];c=v[256656];v[a+208>>2]=c;if(!c){v[v[a>>2]+72>>2]=2700;v[a+360>>2]=v[a+360>>2]|256}v[a+108>>2]=a;v[a+116>>2]=2651;v[a+112>>2]=2652;v[a+136>>2]=-1412623820;if(b){b=v[256655];v[a+128>>2]=0;v[a+116>>2]=b?2651:0;v[a+360>>2]=v[a+360>>2]|16}b=0;c=v[291065];v[a+16>>2]=c;if(c){v[a+360>>2]=v[a+360>>2]|2}v[a+216>>2]=0;v[a+200>>2]=0;v[a+204>>2]=0;v[a+68>>2]=0;v[a+72>>2]=0;v[a+440>>2]=0;v[a+444>>2]=0;v[a+284>>2]=0;v[a+256>>2]=1;v[a+248>>2]=0;v[a+84>>2]=0;v[a+464>>2]=1;v[a+468>>2]=0;v[a+76>>2]=0;v[a+80>>2]=0;break c}v[d+48>>2]=338436;nb(0,0,0,0,0,1,2,3,338436,0,0,0,340689,d+48|0);v[a+44>>2]=0;v[a+36>>2]=0;v[a+40>>2]=0;b=-1}Ma=d+112|0;if((b|0)>-1){break a}fj(g)}f=0}Ma=e+16|0;return f}function mH(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=Ma-80|0;Ma=i;a:{if(!((c|0)<129|((c|0)<2049?w[a+362|0]&8:0))){Bk(a,55,346144,c);break a}Fc(a);b:{if(v[a+292>>2]){break b}d=v[a+36>>2];if((v[d+20>>2]-v[d+16>>2]|0)>249){break b}oc(a)}d=v[a+36>>2];c:{d:{if(w[v[d+16>>2]]==40){d=v[d+56>>2];Bc(a);Fc(a);d=mH(a,d,c+1|0);Fc(a);if(v[a+292>>2]){break c}g=v[a+36>>2];if((v[g+20>>2]-v[g+16>>2]|0)<250){break d}break c}d=kh(a);if(!d){if(!(!v[a+212>>2]|v[a+172>>2]!=-1)){break a}v[a+84>>2]=54;v[i+64>>2]=289390;nb(0,0,0,a,0,1,54,3,0,0,0,0,340716,i- -64|0);v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1;break a}d=sq(v[a+8>>2],d,2);if(!d){Yc(a,0);break a}e:{if(v[a+292>>2]){break e}g=v[a+36>>2];if((v[g+20>>2]-v[g+16>>2]|0)>249){break e}oc(a)}f:{g:{switch(w[v[v[a+36>>2]+16>>2]]-42|0){case 21:v[d+4>>2]=2;Bc(a);break f;case 0:v[d+4>>2]=3;Bc(a);break f;case 1:v[d+4>>2]=4;Bc(a);break f;default:break g}}v[d+4>>2]=1}if(v[a+292>>2]){break c}g=v[a+36>>2];if((v[g+20>>2]-v[g+16>>2]|0)>249){break c}}oc(a)}Fc(a);h:{if(v[a+292>>2]){break h}g=v[a+36>>2];h=v[g+16>>2];if((h-v[g+12>>2]|0)<501|(v[g+20>>2]-h|0)>499){break h}Xg(g);g=v[a+36>>2];if(w[v[g+16>>2]]){break h}if((Zb(g)|0)>0){break h}xc(a)}k=v[a+36>>2];f=w[v[k+16>>2]];if((f|0)==41){g=d}else{i:{if(v[a+172>>2]==-1){g=d;break i}l=c+1|0;h=d;while(1){j:{k:{l:{m:{n:{c=f&255;if((c|0)!=124){if((c|0)!=44){break n}if(!(!j|(j|0)==44)){Bk(a,66,343987,j);if(!(!e|(e|0)==(h|0))){lh(v[a+8>>2],e)}f=0;if(!h){break a}lh(v[a+8>>2],h);break a}Bc(a);c=Qa[v[256552]](28)|0;if(!c){v[i+16>>2]=290868;f=0;nb(0,0,0,0,0,23,2,3,290868,0,0,0,340689,i+16|0);if(!(!e|(e|0)==(h|0))){lh(v[a+8>>2],e)}lh(v[a+8>>2],h);break a}v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=3;v[c+4>>2]=1;v[c+24>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;if(e){j=44;break l}v[c+12>>2]=h;j=44;break m}if(!(!j|(j|0)==124)){Bk(a,66,343987,j);if(!(!e|(e|0)==(h|0))){lh(v[a+8>>2],e)}f=0;if(!h){break a}lh(v[a+8>>2],h);break a}Bc(a);c=Qa[v[256552]](28)|0;if(!c){v[i+48>>2]=290868;f=0;nb(0,0,0,0,0,23,2,3,290868,0,0,0,340689,i+48|0);if(!(!e|(e|0)==(h|0))){lh(v[a+8>>2],e)}if(!h){break a}lh(v[a+8>>2],h);break a}v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=4;v[c+4>>2]=1;v[c+24>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;if(e){j=124;break l}v[c+12>>2]=h;j=124;break m}v[a+84>>2]=55;v[i>>2]=289352;nb(0,0,0,a,0,1,55,3,0,0,0,0,340716,i);v[a+12>>2]=0;if(!v[a+288>>2]){v[a+212>>2]=1}if(!(!e|(e|0)==(h|0))){lh(v[a+8>>2],e)}f=0;if(!h){break a}lh(v[a+8>>2],h);break a}g=c;f=c;d=c;e=h;h=c;if(e){break k}break j}v[d+16>>2]=c;v[c+12>>2]=e;v[c+20>>2]=d;f=h;h=c}d=h;g=f;v[e+20>>2]=c}o:{if(v[a+292>>2]){break o}c=v[a+36>>2];if((v[c+20>>2]-v[c+16>>2]|0)>249){break o}oc(a)}Fc(a);p:{if(v[a+292>>2]){break p}c=v[a+36>>2];if((v[c+20>>2]-v[c+16>>2]|0)>249){break p}oc(a)}c=v[a+36>>2];q:{if(w[v[c+16>>2]]==40){c=v[c+56>>2];Bc(a);Fc(a);e=mH(a,c,l);Fc(a);break q}c=kh(a);if(!c){r:{if(v[a+172>>2]==-1?v[a+212>>2]:0){break r}v[a+84>>2]=54;v[i+32>>2]=289390;nb(0,0,0,a,0,1,54,3,0,0,0,0,340716,i+32|0);v[a+12>>2]=0;if(v[a+288>>2]){break r}v[a+212>>2]=1}f=0;if(!g){break a}lh(v[a+8>>2],g);break a}e=sq(v[a+8>>2],c,2);if(!e){f=0;if(!g){break a}lh(v[a+8>>2],g);break a}s:{switch(w[v[v[a+36>>2]+16>>2]]-42|0){case 21:v[e+4>>2]=2;Bc(a);break q;case 0:v[e+4>>2]=3;Bc(a);break q;case 1:v[e+4>>2]=4;Bc(a);break q;default:break s}}v[e+4>>2]=1}Fc(a);t:{if(v[a+292>>2]){break t}c=v[a+36>>2];if((v[c+20>>2]-v[c+16>>2]|0)>249){break t}oc(a)}k=v[a+36>>2];f=w[v[k+16>>2]];if((f|0)==41){break i}h=g;if(v[a+172>>2]!=-1){continue}break}}if(!(!d|!e)){v[d+16>>2]=e;v[e+20>>2]=d}}f=g;if(!(!v[a+104>>2]|v[k+56>>2]==(b|0))){gj(a,90,337996,0,0)}Bc(a);u:{v:{switch(w[v[v[a+36>>2]+16>>2]]-42|0){case 21:if(!f){break u}v[f+4>>2]=v[f+4>>2]-3>>>0<2?3:2;break u;case 0:if(!f){break u}v[f+4>>2]=3;if(v[f>>2]!=4){break u}c=f;while(1){b=v[c+12>>2];if(!(!b|(v[b+4>>2]&-2)!=2)){v[b+4>>2]=1}c=v[c+16>>2];if(!c){break u}if((v[c+4>>2]&-2)==2){v[c+4>>2]=1}if(v[c>>2]==4){continue}break};break u;case 1:break v;default:break a}}if(!f){break u}v[f+4>>2]=(v[f+4>>2]&-2)==2?3:4;if(!d){break u}e=0;w:{if(v[d>>2]!=4){break w}while(1){b=v[d+12>>2];if(!(!b|(v[b+4>>2]&-2)!=2)){v[b+4>>2]=1;e=1}d=v[d+16>>2];if(!d){break w}if((v[d+4>>2]&-2)==2){v[d+4>>2]=1;e=1}if(v[d>>2]==4){continue}break}}if(!e){break u}v[f+4>>2]=3}Bc(a)}Ma=i+80|0;return f}function UJ(a,b,c){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,p=0;l=Ma-16|0;Ma=l;v[c>>2]=2147483632;v[c+16>>2]=v[c+8>>2];h=v[c+20>>2];v[c+28>>2]=h;u[h+2>>1]=0;h=v[b+28>>2];b=v[b+20>>2];i=h-b|0;f=268435454;d=268435455;h=268435455;k=268435454;j=v[a+28>>2];a=v[a+20>>2];j=j-a|0;if(j){v[l+4>>2]=a+8;n=(j>>3)-1|0;j=u[a+10>>1];k=j>>31;h=u[a+8>>1];k=(h+((k^k+j)&65535)|0)-1|0}if(i){v[l>>2]=b+8;o=(i>>3)-1|0;f=u[b+10>>1];a=f>>31;d=u[b+8>>1];f=(d+((a^a+f)&65535)|0)-1|0}while(1){a:{if(!n){b=h;n=0;break a}if((h|0)<=(k|0)){b=h;break a}a=v[l+4>>2];v[l+4>>2]=a+8;n=n-1|0;i=u[a+10>>1];h=i>>31;b=u[a+8>>1];k=(b+((h^h+i)&65535)|0)-1|0}j=k;b:{c:{d:{if(!o){o=0;break d}if((d|0)>(f|0)){break c}}a=d;break b}a=v[l>>2];v[l>>2]=a+8;o=o-1|0;f=u[a+10>>1];h=f>>31;a=u[a+8>>1];f=(a+((h^f+h)&65535)|0)-1|0}i=f;if(!((f|0)<(a|0)&(b|0)>(j|0))){p=(i|0)<(j|0);d=(a|0)>(b|0)?a:b;h=(p?i:j)-d|0;if((h|0)>=0){k=h+1|0;e:{if((a|0)>(b|0)){h=a-b|0;f=v[l+4>>2];e=u[f+2>>1];f:{if((e|0)<=-1){f=w[v[f+4>>2]];g:{if((v[c>>2]+1|0)!=(b|0)){break g}e=v[c+28>>2];g=u[e+2>>1];if((g|0)>-1|(f|0)!=w[v[e+4>>2]]){break g}u[e+2>>1]=g-h;break f}t[v[c+16>>2]]=f;f=v[c+28>>2];v[c+28>>2]=f+8;e=v[c+16>>2];v[c+16>>2]=e+1;u[f+10>>1]=0-h;u[f+8>>1]=b;v[f+12>>2]=e;break f}if(!e){h=a;break e}e=v[f+4>>2];f=u[f>>1];cb(v[c+16>>2],e+((b|0)>(f|0)?b-f|0:0)|0,h);e=v[c+28>>2];h:{i:{if((v[c>>2]+1|0)!=(b|0)){break i}f=u[e+2>>1];if((f|0)<1){break i}u[e+2>>1]=f+h;f=v[c+16>>2];break h}v[c+28>>2]=e+8;f=v[c+16>>2];u[e+10>>1]=h;u[e+8>>1]=b;v[e+12>>2]=f}v[c+16>>2]=f+h}v[c>>2]=a-1;h=a;break e}h=(a|0)<(b|0)?b:a;a=b}b=d;f=k;j:{k:{l:{m:{n:{e=v[l>>2];d=v[l+4>>2];switch((x[e+2>>1]>>>14&2|x[d+2>>1]>>>15)-1|0){case 2:break k;case 1:break l;case 0:break m;default:break n}}g=v[e+4>>2];e=u[e>>1];e=g+((b|0)>(e|0)?b-e|0:0)|0;g=v[d+4>>2];d=u[d>>1];d=g+((b|0)>(d|0)?b-d|0:0)|0;while(1){g=B(w[d|0],w[e|0]^255);if(g){t[v[c+16>>2]]=(g|0)==65025?-1:g>>>8|0;g=v[c+28>>2];o:{p:{if((v[c>>2]+1|0)!=(b|0)){break p}m=u[g+2>>1];if((m|0)<1){break p}u[g+2>>1]=m+1;m=v[c+16>>2];break o}v[c+28>>2]=g+8;m=v[c+16>>2];u[g+10>>1]=1;u[g+8>>1]=b;v[g+12>>2]=m}v[c>>2]=b;v[c+16>>2]=m+1}e=e+1|0;d=d+1|0;b=b+1|0;f=f-1|0;if(f){continue}break}break j}g=v[e+4>>2];e=u[e>>1];e=g+((b|0)>(e|0)?b-e|0:0)|0;while(1){d=B(w[v[d+4>>2]],w[e|0]^255);if(d){t[v[c+16>>2]]=(d|0)==65025?-1:d>>>8|0;d=v[c+28>>2];q:{r:{if((v[c>>2]+1|0)!=(b|0)){break r}g=u[d+2>>1];if((g|0)<1){break r}u[d+2>>1]=g+1;g=v[c+16>>2];break q}v[c+28>>2]=d+8;g=v[c+16>>2];u[d+10>>1]=1;u[d+8>>1]=b;v[d+12>>2]=g}v[c>>2]=b;v[c+16>>2]=g+1}f=f-1|0;if(!f){break j}e=e+1|0;b=b+1|0;d=v[l+4>>2];continue}}g=w[v[e+4>>2]];if((g|0)==255){break j}e=v[d+4>>2];d=u[d>>1];e=e+((b|0)>(d|0)?b-d|0:0)|0;while(1){d=B(w[e|0],(g^-1)&255);if(d){t[v[c+16>>2]]=(d|0)==65025?-1:d>>>8|0;d=v[c+28>>2];s:{t:{if((v[c>>2]+1|0)!=(b|0)){break t}g=u[d+2>>1];if((g|0)<1){break t}u[d+2>>1]=g+1;g=v[c+16>>2];break s}v[c+28>>2]=d+8;g=v[c+16>>2];u[d+10>>1]=1;u[d+8>>1]=b;v[d+12>>2]=g}v[c>>2]=b;v[c+16>>2]=g+1}f=f-1|0;if(!f){break j}e=e+1|0;b=b+1|0;g=w[v[v[l>>2]+4>>2]];continue}}d=B(w[v[d+4>>2]],w[v[e+4>>2]]^255);if(!d){break j}d=(d|0)==65025?255:d>>>8|0;u:{v:{if((v[c>>2]+1|0)!=(b|0)){break v}e=v[c+28>>2];g=u[e+2>>1];if((g|0)>-1|(d|0)!=w[v[e+4>>2]]){break v}u[e+2>>1]=g-f;break u}t[v[c+16>>2]]=d;d=v[c+28>>2];v[c+28>>2]=d+8;e=v[c+16>>2];v[c+16>>2]=e+1;u[d+10>>1]=0-f;u[d+8>>1]=b;v[d+12>>2]=e}v[c>>2]=(b+f|0)-1}if((i|0)>(j|0)){d=h+k|0;k=268435454;h=268435455;f=i;continue}d=268435455;h=p?a+k|0:268435455;f=268435454;k=p?j:268435454;continue}f=268435454;d=268435455;h=b;k=j;if((a|0)<=(b|0)){continue}k=268435454;h=268435455;d=a;f=i;if((b|0)>(j|0)){continue}g=j-b|0;e=g+1|0;i=v[l+4>>2];m=u[i+2>>1];w:{if((m|0)<=-1){d=w[v[i+4>>2]];x:{if((v[c>>2]+1|0)!=(b|0)){break x}i=v[c+28>>2];m=u[i+2>>1];if((m|0)>-1|(d|0)!=w[v[i+4>>2]]){break x}u[i+2>>1]=m-e;break w}t[v[c+16>>2]]=d;d=v[c+28>>2];v[c+28>>2]=d+8;i=v[c+16>>2];v[c+16>>2]=i+1;u[d+10>>1]=g^-1;u[d+8>>1]=b;v[d+12>>2]=i;break w}if(!m){continue}d=u[i>>1];cb(v[c+16>>2],v[i+4>>2]+((b|0)>(d|0)?b-d|0:0)|0,e);i=v[c+28>>2];y:{z:{if((v[c>>2]+1|0)!=(b|0)){break z}d=u[i+2>>1];if((d|0)<1){break z}u[i+2>>1]=d+e;d=v[c+16>>2];break y}v[c+28>>2]=i+8;d=v[c+16>>2];u[i+10>>1]=e;u[i+8>>1]=b;v[i+12>>2]=d}v[c+16>>2]=d+e}v[c>>2]=j;d=a;continue}break}Ma=l+16|0}function uTa(a){a=a|0;var 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,y=0;e=Ma-96|0;Ma=e;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],v[a+26064>>2],0)|0;h=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])&65535;i=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])&65535;if(!((h|0)!=73&(i|0)!=88)){Qa[v[v[a>>2]+8>>2]](v[a+4>>2],2110,1)|0}g=v[a+26112>>2];Wi(a,e+88|0,4);l=v[a+26112>>2];u[e+84>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],e+84|0,1,2)|0;c=w[e+84|0];f=(g|0)==14;q=((h|0)==70)<<1;p=q+3|0;b=1<>1]==18761){c=c|w[e+85|0]<<8}else{c=w[e+85|0]|c<<8}g=c&65535;if(g>>>0<2){break c}j=(b|0)/(g-1|0)|0;if((h|0)!=68|(i|0)!=32|(j|0)<1){break c}while(1){u[e+84>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],e+84|0,1,2)|0;i=w[e+84|0];h=((B(d,j)<<1)+a|0)+26484|0;if(x[a+25204>>1]==18761){c=i|w[e+85|0]<<8}else{c=w[e+85|0]|i<<8}u[h>>1]=c;d=d+1|0;if((g|0)!=(d|0)){continue}break}break b}if((h|0)==70|(c&65535)>>>0>16385){break a}Wi(a,a+26484|0,g);b=g;break a}if(l>>>0<=14){g=b>>>0>1?b:1;d=0;l=a+26484|0;while(1){i=(d|0)%(j|0)|0;c=d-i|0;u[l+(d<<1)>>1]=(B(x[l+(c+j<<1)>>1],i)+B(x[l+(c<<1)>>1],j-i|0)|0)/(j|0);d=d+1|0;if((g|0)!=(d|0)){continue}break}}Qa[v[v[a>>2]+8>>2]](v[a+4>>2],v[a+26064>>2]+562|0,0)|0;u[e+84>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],e+84|0,1,2)|0;c=w[e+84|0];if(x[a+25204>>1]==18761){c=c|w[e+85|0]<<8}else{c=w[e+85|0]|c<<8}r=c&65535}c=f?p:q;g=a+26484|0;while(1){p=b;d=x[(g+(b<<1)|0)-4>>1];b=b-1|0;if((d|0)==x[g+(b<<1)>>1]){continue}break}g=eb(a+232|0,0,24576);v[a+24812>>2]=g;b=c<<5;Jn(a,b+195856|0,0);Qa[v[v[a>>2]+8>>2]](v[a+4>>2],v[a+26048>>2],0)|0;v[285944]=0;v[285945]=0;v[285943]=0;if(x[a+26308>>1]){l=b+195888|0;k=v[249419];while(1){if(!(!r|(n|0)!=(r|0))){t=a,y=eb(g,0,24576),v[t+24812>>2]=y;Jn(a,l,0);s=16;p=p+32|0}if(x[a+26306>>1]){q=n&1;i=n<<1&14;m=0;while(1){c=g;b=v[c>>2];d:{if(!b){break d}f=0;if(v[285945]){while(1){c=b;b=v[b>>2];if(b){continue}break d}}while(1){d=0;e:{if(f){break e}d=v[285944];f:{if((d|0)>=1){b=v[285943];break f}while(1){g:{h:{h=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;i:{if((h|0)==-1){if(!v[a+26160>>2]){v[e+80>>2]=v[a+25208>>2];vb(k,8292,e+80|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,k);v[a+26160>>2]=1;break i}b=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[e+64>>2]=b;v[e+68>>2]=b>>31;vb(k,14622,e- -64|0)}v[a+26160>>2]=1;break i}if(!v[a+26144>>2]){break i}if((h|0)==255){break h}}v[285945]=0;break g}d=0;b=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[285945]=(b|0)!=0;if(!b){break g}f=1;break e}f=v[285944];d=f+8|0;v[285944]=d;b=h&255|v[285943]<<8;v[285943]=b;if((f|0)<-7){continue}break}}f=0;v[285944]=d-1;d=b<<32-d>>>31|0}c=v[(d<<2)+c>>2];if(v[c>>2]){continue}break}}j=v[c+8>>2];h=j&15;f=j>>4;o=h-f|0;j:{if((o|0)==-1){v[285944]=0;v[285945]=0;v[285943]=0;d=0;break j}d=0;if(v[285945]|!o){break j}d=v[285944];k:{if((o|0)<=(d|0)){b=v[285943];break k}while(1){c=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;l:{if((c|0)==-1){if(!v[a+26160>>2]){v[e+48>>2]=v[a+25208>>2];vb(k,8292,e+48|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,k);v[a+26160>>2]=1;v[285945]=0;break l}b=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[e+32>>2]=b;v[e+36>>2]=b>>31;vb(k,14622,e+32|0)}v[a+26160>>2]=1;v[285945]=0;break l}if(!((c|0)==255?v[a+26144>>2]:0)){v[285945]=0;break l}b=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[285945]=(b|0)!=0;d=0;if(b){break j}}d=v[285944]+8|0;v[285944]=d;b=c&255|v[285943]<<8;v[285943]=b;if((d|0)<(o|0)){continue}break}}c=d-o|0;v[285944]=c;d=b;b=32-o|0;d=d<>>b|0}b=(d<<1|1)<>>1|0;if(!(b>>>h-1&1)){b=((-1<>>0<16)|0)+b|0}m:{if(m>>>0<=1){f=m<<1;c=f+((e+88|0)+(q<<2)|0)|0;b=x[c>>1]+b|0;u[c>>1]=b;u[f+(e+84|0)>>1]=b;break m}c=(e+84|0)+((m&1)<<1)|0;b=x[c>>1]+b|0;u[c>>1]=b}if((b+s&65535)>=(p|0)){n:{if(v[a+26160>>2]){break n}v[e+16>>2]=v[a+25208>>2];vb(k,8292,e+16|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,k);break n}c=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[e>>2]=c;v[e+4>>2]=c>>31;vb(k,14622,e)}v[a+26160>>2]=1}f=m-x[a+26314>>1]|0;if(f>>>0>1]){c=x[a+26316>>1];b=(b<<16>>16<16383?b:16383)<<16>>16;u[(v[a+26352>>2]+(B(x[a+26320>>1],n>>>c|0)+(f>>c)<<3)|0)+((v[a+26028>>2]>>>((f&1|i)<<1)&3)<<1)>>1]=x[((((b|0)>0?b:0)<<1)+a|0)+26484>>1]}m=m+1|0;if(m>>>0>1]){continue}break}}n=n+1|0;if(n>>>0>1]){continue}break}}Ma=e+96|0}function BJ(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;g=Ma-32|0;Ma=g;n=v[a>>2];f=Ma-48|0;Ma=f;j=b;b=Mb(b,c);a:{if(b){break a}b=_e(j,f+16|0,16);if(b){break a}b=t[f+16|0];if((b|0)<0){b=2;break a}k=t[f+20|0];if((k|0)<0){b=2;break a}h=t[f+24|0];if((h|0)<0){b=2;break a}l=t[f+28|0];if((l|0)<0){b=2;break a}b=w[f+19|0]|(w[f+17|0]<<16|(b&255)<<24|w[f+18|0]<<8);v[g+20>>2]=b;k=w[f+23|0]|(w[f+21|0]<<16|(k&255)<<24|w[f+22|0]<<8);if(!k){b=2;break a}l=w[f+31|0]|(w[f+29|0]<<16|(l&255)<<24|w[f+30|0]<<8);h=w[f+27|0]|(w[f+25|0]<<16|(h&255)<<24|w[f+26|0]<<8);b:{if(b>>>0>>0){if((b|0)<=(k-h|0)){break b}b=2;break a}if((k|0)<=(b-l|0)){break b}b=2;break a}if(b>>>0>(h^2147483647)>>>0){b=2;break a}if(k>>>0>(l^2147483647)>>>0){b=2;break a}if((b+h^2147483647)<(c|0)){b=2;break a}if((k+l^2147483647)<(c|0)){b=2;break a}b=b+c|0;m=b+h|0;h=v[j+4>>2];if(m>>>0>h>>>0){b=2;break a}c=c+k|0;if(h>>>0>>0){b=2;break a}v[g+20>>2]=b;b=Mb(j,c);if(b){break a}t[f+15|0]=w[f+31|0]+1;b=_e(j,f,16);if(b){break a}u=w[f|0];x=w[f+1|0];y=w[f+2|0];z=w[f+3|0];A=w[f+4|0];B=w[f+5|0];C=w[f+6|0];r=w[f+7|0];p=w[f+8|0];b=w[f+9|0];k=w[f+10|0];l=w[f+11|0];h=w[f+12|0];m=w[f+13|0];o=w[f+15|0];q=w[f+14|0];if(!(!(u|(x|(y|(z|(A|(B|(C|(r|(p|(b|(k|(l|(h|(m|(o|q)))))))))))))))|w[f+31|0]==(o|0)&w[f+30|0]==(q|0)&w[f+29|0]==(m|0)&w[f+28|0]==(h|0)&w[f+27|0]==(l|0)&w[f+26|0]==(k|0)&w[f+25|0]==(b|0)&(p|0)==w[f+24|0]&(r|0)==w[f+23|0]&(C|0)==w[f+22|0]&(B|0)==w[f+21|0]&(A|0)==w[f+20|0]&(z|0)==w[f+19|0]&(y|0)==w[f+18|0]&(x|0)==w[f+17|0]&(u|0)==w[f+16|0])){b=2;break a}D=f,E=re(j,8),v[D+44>>2]=E;k=Ac(j,f+44|0);b=v[f+44>>2];if(b){break a}b=2;k=k<<16>>16;if((k|0)<0){break a}c=c+k|0;b=Mb(j,c);if(b){break a}v[g+24>>2]=c;b=0}Ma=f+48|0;c=b;c:{if(b){break c}c=1;d:{e:{f:{if(!X$(a,j,v[g+24>>2],v[g+20>>2],1347375956,1,g+16|0,g+12|0)){q=v[g+12>>2];r=v[g+16>>2];v[g+28>>2]=1;if(d+1>>>0>1){break e}c=10;if((q|0)<1){break e}p=v[a>>2];while(1){c=Mb(j,v[r+(i<<2)>>2]);v[g+28>>2]=c;if(c){break e}b=Id(j,g+28|0);c=v[g+28>>2];if(c){break e}c=9;if(b>>>0>16777215){break e}d=s+6|0;if(d>>>0>16777215-b>>>0){break e}s=b+d|0;i=i+1|0;if((q|0)!=(i|0)){continue}break}c=10;m=s+2|0;if(m>>>0<6){break e}h=cc(p,m,g+28|0);c=v[g+28>>2];if(c){break e}t[h+2|0]=0;t[h+3|0]=0;t[h+4|0]=0;t[h+5|0]=0;t[h|0]=128;t[h+1|0]=1;o=2;b=6;d=0;l=1;c=0;g:{h:{i:{j:{while(1){i=Mb(j,v[r+(c<<2)>>2]);v[g+28>>2]=i;if(i){break i}i=Id(j,g+28|0);if(v[g+28>>2]|(i|0)<0){break i}k=Ac(j,g+28|0);if(v[g+28>>2]){break i}v[g+28>>2]=10;k:{if(k>>>0>=256){f=i-2|0;f=f>>>0>i>>>0?0:f;k=k>>>8|0;l:{if((k|0)==(l|0)){i=b;d=d+f|0;break l}l=o+3|0;if(l>>>0>m>>>0){break j}i=h+o|0;t[i|0]=d;t[i+2|0]=d>>>16;t[i+1|0]=d>>>8;t[h+l|0]=d>>>24;if((k|0)==5){break k}i=b+6|0;if(m>>>0>>0){break j}d=b+h|0;t[d|0]=128;o=b+2|0;b=h+o|0;t[b|0]=0;t[b+1|0]=0;t[b+2|0]=0;t[b+3|0]=0;t[d+1|0]=k;l=k;d=f}if(i>>>0>s>>>0){break j}b=f+i|0;if(s>>>0>>0){break j}i=_e(j,h+i|0,f);v[g+28>>2]=i;if(i){break i}}c=c+1|0;if((q|0)!=(c|0)){continue}}break}v[g+28>>2]=10;c=b+2|0;if(c>>>0>m>>>0){break i}b=b+h|0;t[b|0]=128;t[b+1|0]=3;j=o+3|0;if(j>>>0>m>>>0){break j}b=h+o|0;t[b|0]=d;t[b+2|0]=d>>>16;t[b+1|0]=d>>>8;t[h+j|0]=d>>>24;c=AJ(a,h,c,0,324232,e);break g}if(!v[g+28>>2]){break h}}v[g+28>>2]=1}if(h){Qa[v[p+8>>2]](p,h)}c=v[g+28>>2]}a=v[g+16>>2];if(a){Qa[v[n+8>>2]](n,a)}if(c){break c}a=1;break f}c=X$(a,j,v[g+24>>2],v[g+20>>2],1936092788,0,g+16|0,g+12|0);if(c){break c}c=1;b=d;d=v[g+12>>2];b=(b|0)%(d|0)|0;b=b>>31^b;if((b|0)>=(d|0)){break d}i=v[a>>2];f=v[v[g+16>>2]+(b<<2)>>2];c=Mb(j,f);v[g+28>>2]=c;if(c){break d}d=Id(j,g+28|0);c=v[g+28>>2];if(c){break d}c=1;if((d|0)<1){break d}c=9;if(d>>>0>16777215){break d}b=u0(a,j,b,e);v[g+28>>2]=b;m:{if(!b){a=v[g+16>>2];if(a){Qa[v[n+8>>2]](n,a)}break m}c=Mb(j,f+4|0);v[g+28>>2]=c;if(c){break d}b=cc(i,d,g+28|0);c=v[g+28>>2];if(c){break d}c=_e(j,b,d);v[g+28>>2]=c;n:{if(c){if(b){Qa[v[i+8>>2]](i,b)}c=v[g+28>>2];break n}j=d;c=AJ(a,b,j,0,(j|0)>=5?(w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24))==1330926671?273357:278441:278441,e)}a=v[g+16>>2];if(a){Qa[v[n+8>>2]](n,a)}if(c){break c}}a=v[g+12>>2]}v[v[e>>2]>>2]=a;c=0;break c}a=v[g+16>>2];if(a){Qa[v[n+8>>2]](n,a)}break c}a=v[g+16>>2];if(a){Qa[v[n+8>>2]](n,a)}}Ma=g+32|0;return c}function cV(a,b){var 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;h=Ma-16|0;Ma=h;v[h+4>>2]=0;k=h+12|0;Bj(v[a+20>>2],k);a:{if(!uf(v[a+20>>2],k,h+8|0,h+4|0)){break a}while(1){if(Cc(v[b+4>>2],v[v[h+8>>2]+4>>2])){b=v[h+12>>2];if(b){$a(b)}v[h+12>>2]=0;break a}v[h+4>>2]=0;if(uf(v[a+20>>2],h+12|0,h+8|0,h+4|0)){continue}break}}b=v[h+4>>2];b:{if(!b){break b}p=UV(v[a+420>>2],b);if(p){break b}p=0;e=Ma-352|0;Ma=e;l=v[h+4>>2];m=gn(v[l+4>>2],240365);c:{if(!m){v[e>>2]=l;fb(1,-1,336020,e);break c}k=4096;j=Pb(4096,4);eb(j,0,16384);d:{if(!rv(e+96|0,256,m)){break d}e:while(1){d=v[e+64>>2];while(1){q=q+1|0;f:{b=$f(e+96|0,348273);if(!b){break f}i=0;c=0;f=zb(b);if((f|0)>=1){while(1){g=v[(w[b+c|0]<<2)+884048>>2];if((g|0)<0){break f}i=g+(i<<4)|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}b=$f(0,348273);if(!b){break f}d=0;c=0;g:{h:{i:{f=zb(b);if((f|0)>=1){while(1){g=v[(w[b+c|0]<<2)+884048>>2];if((g|0)<0){break i}d=g+(d<<4)|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}v[e+64>>2]=d;f=$f(0,348273);if(f){break h}d=1;break g}v[e+36>>2]=l;v[e+32>>2]=q;fb(0,-1,335820,e+32|0);break f}g=zb(f);v[e+68>>2]=0;j:{k:{if((g|0)>=1){c=0;b=0;d=v[(w[f|0]<<2)+884048>>2];if((d|0)<0){b=v[e+68>>2];break k}while(1){l:{b=(b<<4)+d|0;c=c+1|0;if((g|0)==(c|0)){break l}d=v[(w[c+f|0]<<2)+884048>>2];if((d|0)>=0){continue}break k}break}v[e+68>>2]=b}f=$f(0,348273);if(!f){d=2;break g}g=zb(f);v[e+72>>2]=0;m:{n:{if((g|0)>=1){c=0;b=0;d=v[(w[f|0]<<2)+884048>>2];if((d|0)<0){b=v[e+72>>2];break n}while(1){o:{b=(b<<4)+d|0;c=c+1|0;if((g|0)==(c|0)){break o}d=v[(w[c+f|0]<<2)+884048>>2];if((d|0)>=0){continue}break n}break}v[e+72>>2]=b}f=$f(0,348273);if(!f){d=3;break g}g=zb(f);v[e+76>>2]=0;p:{if((g|0)>=1){c=0;b=0;d=v[(w[f|0]<<2)+884048>>2];if((d|0)<0){b=v[e+76>>2];break p}while(1){q:{b=(b<<4)+d|0;c=c+1|0;if((g|0)==(c|0)){break q}d=v[(w[c+f|0]<<2)+884048>>2];if((d|0)>=0){continue}break p}break}v[e+76>>2]=b}f=$f(0,348273);if(!f){d=4;break g}g=zb(f);v[e+80>>2]=0;r:{if((g|0)>=1){c=0;b=0;d=v[(w[f|0]<<2)+884048>>2];if((d|0)<0){b=v[e+80>>2];break r}while(1){s:{b=(b<<4)+d|0;c=c+1|0;if((g|0)==(c|0)){break s}d=v[(w[c+f|0]<<2)+884048>>2];if((d|0)>=0){continue}break r}break}v[e+80>>2]=b}f=$f(0,348273);if(!f){d=5;break g}g=zb(f);v[e+84>>2]=0;t:{if((g|0)>=1){c=0;b=0;d=v[(w[f|0]<<2)+884048>>2];if((d|0)<0){b=v[e+84>>2];break t}while(1){u:{b=(b<<4)+d|0;c=c+1|0;if((g|0)==(c|0)){break u}d=v[(w[c+f|0]<<2)+884048>>2];if((d|0)>=0){continue}break t}break}v[e+84>>2]=b}f=$f(0,348273);if(!f){d=6;break g}g=zb(f);v[e+88>>2]=0;v:{if((g|0)>=1){c=0;b=0;d=v[(w[f|0]<<2)+884048>>2];if((d|0)<0){b=v[e+88>>2];break v}while(1){w:{b=(b<<4)+d|0;c=c+1|0;if((g|0)==(c|0)){break w}d=v[(w[c+f|0]<<2)+884048>>2];if((d|0)>=0){continue}break v}break}v[e+88>>2]=b}f=$f(0,348273);if(!f){d=7;break g}g=zb(f);v[e+92>>2]=0;d=8;if((g|0)<1){break g}c=0;b=0;r=v[(w[f|0]<<2)+884048>>2];x:{if((r|0)<0){b=v[e+92>>2];break x}while(1){b=(b<<4)+r|0;c=c+1|0;if((g|0)==(c|0)){break m}r=v[(w[c+f|0]<<2)+884048>>2];if((r|0)>=0){continue}break}}v[e+92>>2]=b;d=7;break j}v[e+88>>2]=b;d=6;break j}v[e+84>>2]=b;d=5;break j}v[e+80>>2]=b;d=4;break j}v[e+76>>2]=b;d=3;break j}v[e+72>>2]=b;d=2;break j}v[e+92>>2]=b;break g}v[e+68>>2]=b;d=1}v[e+52>>2]=l;v[e+48>>2]=q;fb(0,-1,335820,e+48|0)}b=k;if(i>>>0>=b>>>0){while(1){c=b;b=b<<1;if(c>>>0<=i>>>0){continue}break}j=yc(j,c,4);eb(j+(k<<2)|0,0,c-k<<2);k=c}c=(d|0)!=1;y:{if(!c){v[(i<<2)+j>>2]=v[e+64>>2];break y}v[(i<<2)+j>>2]=0;if((n|0)==(s|0)){s=n+16|0;t=yc(t,s,40)}b=B(n,40)+t|0;v[b>>2]=i;v[b+4>>2]=v[e+64>>2];z:{if(!c){break z}v[b+8>>2]=v[e+68>>2];if((d|0)==2){break z}v[b+12>>2]=v[e+72>>2];if((d|0)==3){break z}v[b+16>>2]=v[e+76>>2];if((d|0)==4){break z}v[b+20>>2]=v[e+80>>2];if((d|0)==5){break z}v[b+24>>2]=v[e+84>>2];if((d|0)==6){break z}v[b+28>>2]=v[e+88>>2];if((d|0)==7){break z}v[b+32>>2]=v[e+92>>2]}v[b+36>>2]=d;n=n+1|0}o=i>>>0>>0?o:i+1|0;if(rv(e+96|0,256,m)){continue e}break d}v[e+20>>2]=l;v[e+16>>2]=q;fb(0,-1,335820,e+16|0);if(rv(e+96|0,256,m)){continue}break}break}v[e+64>>2]=d}Fe(m);c=ab(28);b=ab(8);Hc(b,l);v[c+8>>2]=o;v[c>>2]=b;b=Pb(o,4);v[c+4>>2]=b;cb(b,j,o<<2);v[c+24>>2]=1;v[c+20>>2]=s;v[c+16>>2]=n;v[c+12>>2]=t;tb(j)}Ma=e+352|0;b=c;if(!b){break b}TV(v[a+420>>2],b);p=b}Ma=h+16|0;return p}function Qva(a,b,c,d,e,f,g,h,i,j,k,l,m){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=+g;h=+h;i=+i;j=+j;k=+k;l=+l;m=m|0;var n=0,o=0;n=Ma+-64|0;Ma=n;a:{if(w[a+208|0]){break a}Qa[v[v[a>>2]+444>>2]](a,b);a=v[a+104>>2];v[n+48>>2]=8193;b=n+48|0;Qa[v[v[a>>2]+288>>2]](a,b)|0;v[n+24>>2]=0;v[n+16>>2]=0;v[n+20>>2]=0;a=ab(48);v[n+32>>2]=a;v[n+36>>2]=10;v[n+40>>2]=-2147483636;rb(a,878868,10);v[a+40>>2]=0;xh(b,879320,n+32|0);o=b;a=w[n+59|0];b=a<<24>>24<0;bd(n+16|0,b?v[n+48>>2]:o,b?v[n+52>>2]:a);if(t[n+59|0]<=-1){$a(v[n+48>>2])}if(t[n+43|0]<=-1){$a(v[n+32>>2])}t[n+59|0]=1;a=n+48|0;rb(a,878912,1);v[n+52>>2]=0;t[n+43|0]=0;v[n+32>>2]=0;t[n+11|0]=0;v[n>>2]=0;Wc(n+16|0,a,c,n+32|0,n);if(t[n+11|0]<=-1){$a(v[n>>2])}if(t[n+43|0]<=-1){$a(v[n+32>>2])}if(t[n+59|0]<=-1){$a(v[n+48>>2])}t[n+59|0]=1;a=n+48|0;rb(a,878920,1);v[n+52>>2]=0;t[n+43|0]=0;v[n+32>>2]=0;t[n+11|0]=0;v[n>>2]=0;Wc(n+16|0,a,d,n+32|0,n);if(t[n+11|0]<=-1){$a(v[n>>2])}if(t[n+43|0]<=-1){$a(v[n+32>>2])}if(t[n+59|0]<=-1){$a(v[n+48>>2])}a=ab(32);v[n+48>>2]=a;v[n+52>>2]=6;v[n+56>>2]=-2147483640;rb(a,878928,6);v[a+24>>2]=0;t[n+43|0]=0;v[n+32>>2]=0;t[n+11|0]=0;v[n>>2]=0;Wc(n+16|0,n+48|0,e-c|0,n+32|0,n);if(t[n+11|0]<=-1){$a(v[n>>2])}if(t[n+43|0]<=-1){$a(v[n+32>>2])}if(t[n+59|0]<=-1){$a(v[n+48>>2])}a=ab(32);v[n+48>>2]=a;v[n+52>>2]=6;v[n+56>>2]=-2147483640;rb(a,878956,6);v[a+24>>2]=0;t[n+43|0]=0;v[n+32>>2]=0;t[n+11|0]=0;v[n>>2]=0;Wc(n+16|0,n+48|0,f-d|0,n+32|0,n);if(t[n+11|0]<=-1){$a(v[n>>2])}if(t[n+43|0]<=-1){$a(v[n+32>>2])}if(t[n+59|0]<=-1){$a(v[n+48>>2])}a=ab(32);v[n+48>>2]=a;v[n+52>>2]=5;v[n+56>>2]=-2147483640;rb(a,878984,5);v[a+20>>2]=0;zk(n+16|0,n+48|0,g);if(t[n+59|0]<=-1){$a(v[n+48>>2])}a=ab(32);v[n+48>>2]=a;v[n+52>>2]=5;v[n+56>>2]=-2147483640;rb(a,879008,5);v[a+20>>2]=0;zk(n+16|0,n+48|0,h);if(t[n+59|0]<=-1){$a(v[n+48>>2])}a=ab(48);rb(a,878868,10);v[a+40>>2]=0;b=n+16|0;kc(b,879328);$a(a);a=ab(32);v[n+32>>2]=a;v[n+36>>2]=4;v[n+40>>2]=-2147483640;rb(a,879032,4);v[a+16>>2]=0;a=n+48|0;xh(a,879320,n+32|0);c=b;d=a;a=w[n+59|0];b=a<<24>>24<0;bd(c,b?v[n+48>>2]:d,b?v[n+52>>2]:a);if(t[n+59|0]<=-1){$a(v[n+48>>2])}if(t[n+43|0]<=-1){$a(v[n+32>>2])}t[n+59|0]=1;a=n+48|0;rb(a,878912,1);v[n+52>>2]=0;zk(n+16|0,a,i);if(t[n+59|0]<=-1){$a(v[n+48>>2])}t[n+59|0]=1;a=n+48|0;rb(a,878920,1);v[n+52>>2]=0;zk(n+16|0,a,j);if(t[n+59|0]<=-1){$a(v[n+48>>2])}t[n+59|0]=1;a=n+48|0;rb(a,879052,1);v[n+52>>2]=0;zk(n+16|0,a,k);if(t[n+59|0]<=-1){$a(v[n+48>>2])}t[n+59|0]=1;a=n+48|0;rb(a,879060,1);v[n+52>>2]=0;zk(n+16|0,a,l);if(t[n+59|0]<=-1){$a(v[n+48>>2])}a=ab(32);rb(a,879032,4);v[a+16>>2]=0;b=n+16|0;kc(b,879360);$a(a);a=ab(48);v[n+32>>2]=a;v[n+36>>2]=9;v[n+40>>2]=-2147483636;rb(a,879068,9);v[a+36>>2]=0;a=n+48|0;xh(a,879320,n+32|0);c=b;d=a;a=w[n+59|0];b=a<<24>>24<0;bd(c,b?v[n+48>>2]:d,b?v[n+52>>2]:a);if(t[n+59|0]<=-1){$a(v[n+48>>2])}if(t[n+43|0]<=-1){$a(v[n+32>>2])}a=ab(16);v[n+48>>2]=a;v[n+52>>2]=2;v[n+56>>2]=-2147483644;rb(a,879108,2);v[a+8>>2]=0;zk(n+16|0,n+48|0,A[m>>3]);if(t[n+59|0]<=-1){$a(v[n+48>>2])}a=ab(16);v[n+48>>2]=a;v[n+52>>2]=2;v[n+56>>2]=-2147483644;rb(a,879120,2);v[a+8>>2]=0;zk(n+16|0,n+48|0,A[m+8>>3]);if(t[n+59|0]<=-1){$a(v[n+48>>2])}a=ab(16);v[n+48>>2]=a;v[n+52>>2]=2;v[n+56>>2]=-2147483644;rb(a,879132,2);v[a+8>>2]=0;zk(n+16|0,n+48|0,A[m+16>>3]);if(t[n+59|0]<=-1){$a(v[n+48>>2])}a=ab(16);v[n+48>>2]=a;v[n+52>>2]=2;v[n+56>>2]=-2147483644;rb(a,879144,2);v[a+8>>2]=0;zk(n+16|0,n+48|0,A[m+24>>3]);if(t[n+59|0]<=-1){$a(v[n+48>>2])}a=ab(16);v[n+48>>2]=a;v[n+52>>2]=2;v[n+56>>2]=-2147483644;rb(a,879156,2);v[a+8>>2]=0;zk(n+16|0,n+48|0,A[m+32>>3]);if(t[n+59|0]<=-1){$a(v[n+48>>2])}a=ab(16);v[n+48>>2]=a;v[n+52>>2]=2;v[n+56>>2]=-2147483644;rb(a,879168,2);v[a+8>>2]=0;zk(n+16|0,n+48|0,A[m+40>>3]);if(t[n+59|0]<=-1){$a(v[n+48>>2])}a=ab(48);rb(a,879068,9);v[a+36>>2]=0;b=n+16|0;kc(b,879360);$a(a);a=ab(48);v[n>>2]=a;v[n+4>>2]=10;v[n+8>>2]=-2147483636;rb(a,878868,10);v[a+40>>2]=0;a=n+32|0;xh(a,879376,n);a=kc(a,879328);v[n+56>>2]=v[a+8>>2];c=v[a+4>>2];v[n+48>>2]=v[a>>2];v[n+52>>2]=c;v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;c=b;a=w[n+59|0];b=a<<24>>24<0;bd(c,b?v[n+48>>2]:n+48|0,b?v[n+52>>2]:a);if(t[n+59|0]<=-1){$a(v[n+48>>2])}if(t[n+43|0]<=-1){$a(v[n+32>>2])}if(t[n+11|0]<=-1){$a(v[n>>2])}if(t[n+27|0]>-1){break a}$a(v[n+16>>2])}Ma=n- -64|0}function hBa(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,p=0,q=0,r=0,s=0,u=0,y=0,z=0,A=0;j=Ma-16|0;Ma=j;n=v[b+12>>2];e=v[b+8>>2];k=v[b+4>>2];o=v[a+4>>2];m=v[a+16>>2];v[j+12>>2]=m;p=v[o+24>>2];s=p+(w[o+28|0]&16?164:160)|0;g=v[k+44>>2];if(g){q=w[k+36|0];l=v[k+48>>2]}else{l=0}u=w[o+35|0];r=v[a+20>>2];h=(q<<24>>24)+n-((l<<24>>24)+e)|0;a:{if((h|0)<1){break a}d=w[n-1|0];b:{if((d&192)!=128){break b}f=1;if((h|0)<=1){break a}d=w[n-2|0];if((d&192)!=128){break b}if((h|0)<3){break a}f=2;d=w[n-3|0];if((d&192)==128){break a}}h=(d>>>0>191)+(d>>>0>223)|0;c:{if(d>>>0<=239){break c}h=0;if(d>>>0>253){break c}h=(d>>>0>251)+(d>>>0>247?4:3)|0}if((h|0)<=(f|0)){break a}n=(f^-1)+n|0}z=w[p+201|0];u=u?2048:3072;A=v[p+208>>2];y=v[p+52>>2];s=v[s+28>>2];h=r-m|0;if((h|0)>0?g:0){t[k+36|0]=0;v[k+44>>2]=0;i=q;d=1}else{d=0}d:{e:{f:{g:while(1){h:{i:{if(!d){d=e;if(n>>>0<=d>>>0){break f}while(1){j:{k:{if((h|0)>=1){e=d+1|0;f=t[d|0];g=f&255;if((f|0)>=0){if(A>>>((f&252)>>>2)&1){d=v[j+12>>2];v[j+12>>2]=d+1;t[d|0]=f;d=e;break j}f=x[s+(x[p+60>>1]+g<<1)>>1];break i}l:{m:{n:{o:{m=f&255;p:{if(m>>>0<=223){if(m>>>0<194){break n}m=w[e|0]^128;if(m>>>0>63){break n}d=d+2|0;r=f&31;f=x[s+(x[(p+(r<<1)|0)+60>>1]+m<<1)>>1];if(u>>>0>f>>>0){break p}e=v[j+12>>2];v[j+12>>2]=e+1;t[e|0]=f;break j}if((f|0)!=-32){break o}r=w[e|0]^128;if((r&224)!=32){break n}m=w[d+2|0]^128;if(m>>>0>63){break n}d=d+3|0;f=x[s+(x[(p+(r<<1)|0)+60>>1]+m<<1)>>1];if(u>>>0<=f>>>0){break k}}e=d;g=r<<6|m;break i}i=f&255;if(i>>>0>=240){break m}}d=f&255;d=(d>>>0>191)+(d>>>0>223)|0;break l}d=0;if(i>>>0>253){break l}d=f&255;d=(d>>>0>247?4:3)+(d>>>0>251)|0}i=1;l=d+1|0;q=0;d=1;continue g}v[c>>2]=15;break e}e=v[j+12>>2];v[j+12>>2]=e+1;t[e|0]=f}h=h-1|0;if(d>>>0>>0){continue}break}break f}q:{r:{s:{d=l<<24>>24;t:{if((d|0)<=i<<24>>24){break t}f=v[b+12>>2];while(1){if(e>>>0>=f>>>0){break s}m=w[e|0];if((m&192)!=128){break t}e=e+1|0;g=m+(g<<6)|0;i=(i<<24)+16777216>>24;if((d|0)>(i|0)){continue}break}i=l}d=g;f=i<<24>>24;g=(i&255)!=(l&255);if(g|(i&254)!=2){break r}g=d;d=f<<2;g=g-v[d+837088>>2]|0;if((g|0)>2]){break h}d=g;if((d&-2048)!=55296){break q}break h}d=q<<24>>24;c=i<<24>>24;e=(d-c|0)+e|0;h=l<<24>>24;u:{if((c|0)<=(d|0)){break u}l=c+(d^-1)|0;f=c-d&3;if(f){while(1){t[(d+k|0)+37|0]=w[e|0];d=d+1|0;e=e+1|0;f=f-1|0;if(f){continue}break}}if(l>>>0<3){break u}while(1){l=d+k|0;t[l+37|0]=w[e|0];t[l+38|0]=w[e+1|0];t[l+39|0]=w[e+2|0];t[l+40|0]=w[e+3|0];e=e+4|0;d=d+4|0;if((c|0)!=(d|0)){continue}break}}v[k+48>>2]=h;t[k+36|0]=i;v[k+44>>2]=g;v[b+8>>2]=e;v[a+16>>2]=v[j+12>>2];break d}if((i&255)!=4|g|d-63512704>>>0>1048575){break h}g=d-63447168|0;f=0;if(!(z&1)){break i}}f=x[s+(x[(x[(g>>10<<1)+y>>1]+(g>>>4&63)<<1)+y>>1]+(d&15)<<1)>>1]}v:{if(u>>>0<=(f&65535)>>>0){d=v[j+12>>2];v[j+12>>2]=d+1;t[d|0]=f;h=h-1|0;break v}v[j+8>>2]=837140;d=Ws(o,v[v[o+24>>2]+224>>2],g,j+8|0,837140,j+12|0,v[j+12>>2]+h|0,0,-1,t[a+2|0],c);if(v[c>>2]>=1){v[o+56>>2]=d;d=e;break f}if(v[o+180>>2]>=0){v[c>>2]=-127;d=e;break f}h=v[a+20>>2]-v[j+12>>2]|0}d=0;continue}break}g=q<<24>>24;e=(g-f|0)+e|0;w:{if(i<<24>>24<=(g|0)){break w}l=f+(g^-1)|0;d=f-g&3;if(d){while(1){t[(g+k|0)+37|0]=w[e|0];g=g+1|0;e=e+1|0;d=d-1|0;if(d){continue}break}}if(l>>>0<3){break w}while(1){d=g+k|0;t[d+37|0]=w[e|0];t[d+38|0]=w[e+1|0];t[d+39|0]=w[e+2|0];t[d+40|0]=w[e+3|0];e=e+4|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}}t[k+36|0]=i;v[b+8>>2]=e;v[a+16>>2]=v[j+12>>2];v[c>>2]=12;break d}if(v[c>>2]>0|v[o+180>>2]>-1){break e}c=v[b+12>>2];if(c>>>0<=d>>>0){break e}f=w[d|0];t[k+37|0]=f;g=1;e=(f>>>0>191)+(f>>>0>223)|0;x:{if(f>>>0<=239){break x}e=0;if(f>>>0>253){break x}e=(f>>>0>251)+(f>>>0>247?4:3)|0}l=e+1|0;e=d+1|0;y:{if(c>>>0<=e>>>0){c=e;break y}g=c+(d^-1)|0;h=g&3;z:{if((c-d|0)-2>>>0<3){g=1;break z}n=g&-4;g=1;d=k+37|0;while(1){i=g<<24;q=w[e|0];t[d+(i>>24)|0]=q;o=w[e+1|0];t[d+(i+16777216>>24)|0]=o;p=w[e+2|0];t[d+(i+33554432>>24)|0]=p;m=d+(i+50331648>>24)|0;i=w[e+3|0];t[m|0]=i;e=e+4|0;g=g+4|0;f=i+(p+(o+(q+(f<<6)<<6)<<6)<<6)|0;n=n-4|0;if(n){continue}break}}if(h){while(1){d=w[e|0];t[((g<<24>>24)+k|0)+37|0]=d;e=e+1|0;g=g+1|0;f=d+(f<<6)|0;h=h-1|0;if(h){continue}break}}}d=c;v[k+48>>2]=l;t[k+36|0]=g;v[k+44>>2]=f}v[b+8>>2]=d;v[a+16>>2]=v[j+12>>2]}Ma=j+16|0}function iA(a,b){a=a|0;b=b|0;var 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;h=Ma-16|0;Ma=h;a:{if(!a){break a}e=v[a+216>>2];if(!e){c=vi(b);if(c){break a}}c=v[a+8>>2];b:{c:{d:{if(!c){break d}if(v[c+40>>2]==1){if((e|0)==2){v[c+40>>2]=0;e=v[c+44>>2];e:{f:{if(!e){break f}e=v[e+48>>2];if(!e){break f}e=le(e,b,0,0);if(e){break e}}e=v[c+48>>2];g:{if(!e){break g}e=v[e+48>>2];if(!e){break g}e=le(e,b,0,0);if(e){break e}}e=vi(b)}v[c+40>>2]=1;break c}d=v[c+44>>2];h:{i:{if(d){e=v[d+48>>2];if(e){e=le(e,b,0,0);if(e){break b}}e=vi(b);if(e){break b}v[c+40>>2]=0;if(!d){break i}e=v[d+48>>2];if(!e){break i}e=le(e,b,0,0);if(!e){break i}break h}e=vi(b);if(e){break b}v[c+40>>2]=0}e=v[c+48>>2];j:{if(!e){break j}e=v[e+48>>2];if(!e){break j}e=le(e,b,0,0);if(e){break h}}e=vi(b)}if(e){c=Ma-32|0;Ma=c;k:{if(a){if(v[a+172>>2]==-1?v[a+212>>2]:0){break k}v[a+84>>2]=103;v[c+20>>2]=0;v[c+16>>2]=b;nb(0,0,0,a,0,1,103,3,b,0,0,0,339269,c+16|0);v[a+100>>2]=0;v[a+12>>2]=0;if(v[a+288>>2]){break k}v[a+212>>2]=1;break k}v[c+4>>2]=0;v[c>>2]=b;nb(0,0,0,0,0,1,103,3,b,0,0,0,339269,c)}Ma=c+32|0;c=v[a+8>>2]}v[c+40>>2]=1;break c}e=v[c+44>>2];l:{if(!e){break l}e=v[e+48>>2];if(!e){break l}e=le(e,b,0,0);if(e){break c}}c=v[c+48>>2];if(!c){break d}c=v[c+48>>2];if(!c){break d}e=le(c,b,0,0);if(e){break c}}e=vi(b)}c=0;if(!e){break a}}m:{if(v[e+12>>2]|!(v[a+16>>2]?1:v[a+104>>2])|v[e+48>>2]!=2){break m}m=v[a+440>>2];j=v[e+64>>2];f=v[e+52>>2];k=h+12|0;i=Ma-16|0;Ma=i;n:{if(!a){c=-1;break n}d=v[a+248>>2];if((d|0)>=41){c=89;if(!(w[a+362|0]&8)|(d|0)>1024){break n}}if(k){v[k>>2]=0}if(!(f|j)){c=-1;break n}if(!v[a+8>>2]){c=-1;break n}d=aX(j,f,a);if(!d){c=-1;break n}l=v[d>>2];v[d>>2]=v[a>>2];Av(d);g=Go(326168);if(!g){fj(d);c=-1;break n}v[g+92>>2]=64;c=v[a+8>>2];f=v[c+80>>2];if(f){v[g+80>>2]=f;RH(f);c=v[a+8>>2]}v[g+44>>2]=v[c+44>>2];v[g+48>>2]=v[c+48>>2];c=v[c+72>>2];if(c){n=g,o=Sd(c),v[n+72>>2]=o}c=Zz(g,227565);if(!c){v[d>>2]=l;fj(d);v[g+44>>2]=0;v[g+48>>2]=0;wq(g);c=-1;break n}Df(g,c);Dv(d,v[g+12>>2]);c=v[a+8>>2];o:{if(!c){v[d+8>>2]=g;break o}v[d+8>>2]=c;v[v[g+12>>2]+32>>2]=v[a+8>>2]}p:{if(v[d+292>>2]){break p}c=v[d+36>>2];if((v[c+20>>2]-v[c+16>>2]|0)>249){break p}oc(d)}c=v[d+36>>2];f=v[c+16>>2];q:{if((v[c+20>>2]-f|0)<4){break q}t[i+12|0]=w[f|0];t[i+13|0]=w[f+1|0];t[i+14|0]=w[f+2|0];t[i+15|0]=w[f+3|0];c=zq(i+12|0,4);if(!c){break q}xq(d,c)}c=v[v[d+36>>2]+16>>2];r:{if(w[c|0]!=60|w[c+1|0]!=63|(w[c+2|0]!=120|w[c+3|0]!=109)){break r}if(w[c+4|0]!=108){break r}c=w[c+5|0]-9|0;if(c>>>0>23|!(1<>2],326168)){break r}if(Ef(v[v[d+36>>2]+48>>2],326168)){break r}Pc(d,109,338305)}c=v[a+4>>2];s:{if((c|0)==(a|0)){v[d+4>>2]=d;break s}v[d+4>>2]=c}v[d+172>>2]=7;c=v[a+104>>2];v[d+104>>2]=c;v[d+100>>2]=v[a+100>>2];v[d+276>>2]=v[a+276>>2];v[d+248>>2]=v[a+248>>2]+1;v[d+16>>2]=v[a+16>>2];t:{if(!c){f=0;c=0;break t}f=v[a+112>>2];c=v[a+116>>2]}v[d+120>>2]=0;v[d+124>>2]=0;v[d+116>>2]=c;v[d+112>>2]=f;v[d+128>>2]=0;v[d+132>>2]=0;c=v[d+296>>2];if(c){ln(c)}c=v[a+296>>2];v[d+296>>2]=c;n=d,o=Zc(c,258604,3),v[n+312>>2]=o;n=d,o=Zc(v[d+296>>2],235503,5),v[n+316>>2]=o;n=d,o=Zc(v[d+296>>2],285713,36),v[n+320>>2]=o;v[d+364>>2]=v[a+364>>2];v[d+348>>2]=v[a+348>>2];v[d+352>>2]=v[a+352>>2];v[d+280>>2]=v[a+280>>2];Iz(d);v[a+104>>2]=v[d+104>>2];v[a+100>>2]=v[d+100>>2];j=v[v[d+36>>2]+16>>2];f=w[j|0];if(f){c=d;u:{if((f|0)==60){f=85;if(w[j+1|0]==47){break u}}f=86}Md(c,f,0)}if(v[d+52>>2]!=v[g+12>>2]){Md(d,85,0)}v:{if(!v[d+12>>2]){c=v[d+84>>2];c=c?c:1;break v}c=0;if(!k){break v}c=v[v[g+12>>2]+12>>2];v[k>>2]=c;if(c){while(1){v[c+20>>2]=0;c=v[c+24>>2];if(c){continue}break}}v[v[g+12>>2]+12>>2]=0;c=0}v[d+348>>2]=0;v[d+352>>2]=0;v[d+296>>2]=0;v[d>>2]=l;fj(d);v[g+44>>2]=0;v[g+48>>2]=0;wq(g)}Ma=i+16|0;w:{if(!c){_X(e,v[h+12>>2]);v[e+68>>2]=1;if(v[e+72>>2]){break m}b=(v[a+440>>2]-m<<1)+2|0;v[e+72>>2]=b;a=v[e+40>>2];if(!a){break m}c=w[a|0];if(!c){break m}while(1){if((c&255)==60){break w}c=w[a+1|0];a=a+1|0;if(c){continue}break}break m}x:{if(v[a+172>>2]==-1?v[a+212>>2]:0){break x}v[a+84>>2]=104;v[h+4>>2]=0;v[h>>2]=b;nb(0,0,0,a,0,1,104,3,b,0,0,0,340019,h);v[a+100>>2]=0;v[a+12>>2]=0;if(v[a+288>>2]){break x}v[a+212>>2]=1}c=0;v[a+104>>2]=0;break a}v[e+72>>2]=b|1}c=e}Ma=h+16|0;return c|0}function Vva(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;f=Ma-272|0;Ma=f;if(!(w[a+208|0]|w[a+203|0])){Ak(a,v[b+596>>2],A[b+104>>3],b+16|0);g=A[b+392>>3];e=v[a+104>>2];Qa[v[v[e>>2]+132>>2]](e,f+268|0)|0;e=v[a+104>>2];Qa[v[v[e>>2]+136>>2]](e,878864)|0;h=ab(32);v[h>>2]=0;v[h+4>>2]=0;v[h+24>>2]=0;v[h+28>>2]=0;v[h+16>>2]=0;v[h+20>>2]=0;v[h+8>>2]=0;v[h+12>>2]=0;k=ab(48);g=g*255;a:{if(D(g)<2147483648){n=~~g;break a}n=-2147483648}v[k+8>>2]=0;i=k;v[i>>2]=0;v[i+4>>2]=0;j=ab(32);v[i>>2]=j;e=j+32|0;v[i+8>>2]=e;cb(j,h,32);v[i+20>>2]=0;v[i+12>>2]=0;v[i+16>>2]=0;v[i+4>>2]=e;j=ab(32);v[i+12>>2]=j;e=j+32|0;v[i+20>>2]=e;cb(j,h,32);v[i+32>>2]=0;v[i+24>>2]=0;v[i+28>>2]=0;v[i+16>>2]=e;j=ab(32);v[i+24>>2]=j;e=j+32|0;v[i+32>>2]=e;cb(j,h,32);v[i+44>>2]=0;v[i+36>>2]=0;v[i+40>>2]=0;v[i+28>>2]=e;j=ab(32);v[i+36>>2]=j;e=j+32|0;v[i+44>>2]=e;cb(j,h,32);v[i+40>>2]=e;$a(h);g=A[c>>3];e=v[i>>2];z[e+4>>2]=A[c+128>>3]/72*25.4;z[e>>2]=g/72*25.4;g=A[c+8>>3];z[e+12>>2]=A[c+136>>3]/72*25.4;z[e+8>>2]=g/72*25.4;g=A[c+16>>3];z[e+20>>2]=A[c+144>>3]/72*25.4;z[e+16>>2]=g/72*25.4;g=A[c+24>>3];z[e+28>>2]=A[c+152>>3]/72*25.4;z[e+24>>2]=g/72*25.4;g=A[c+32>>3];e=v[i+12>>2];z[e+4>>2]=A[c+160>>3]/72*25.4;z[e>>2]=g/72*25.4;g=A[c+40>>3];z[e+12>>2]=A[c+168>>3]/72*25.4;z[e+8>>2]=g/72*25.4;g=A[c+48>>3];z[e+20>>2]=A[c+176>>3]/72*25.4;z[e+16>>2]=g/72*25.4;g=A[c+56>>3];z[e+28>>2]=A[c+184>>3]/72*25.4;z[e+24>>2]=g/72*25.4;g=A[c+64>>3];e=v[i+24>>2];z[e+4>>2]=A[c+192>>3]/72*25.4;z[e>>2]=g/72*25.4;g=A[c+72>>3];z[e+12>>2]=A[c+200>>3]/72*25.4;z[e+8>>2]=g/72*25.4;g=A[c+80>>3];z[e+20>>2]=A[c+208>>3]/72*25.4;z[e+16>>2]=g/72*25.4;g=A[c+88>>3];z[e+28>>2]=A[c+216>>3]/72*25.4;z[e+24>>2]=g/72*25.4;g=A[c+96>>3];e=v[i+36>>2];z[e+4>>2]=A[c+224>>3]/72*25.4;z[e>>2]=g/72*25.4;g=A[c+104>>3];z[e+12>>2]=A[c+232>>3]/72*25.4;z[e+8>>2]=g/72*25.4;g=A[c+112>>3];z[e+20>>2]=A[c+240>>3]/72*25.4;z[e+16>>2]=g/72*25.4;g=A[c+120>>3];z[e+28>>2]=A[c+248>>3]/72*25.4;z[e+24>>2]=g/72*25.4;m=ab(8);e=ab(24);v[e+8>>2]=0;v[e>>2]=0;v[e+4>>2]=0;l=ab(8);v[e>>2]=l;h=l+8|0;v[e+8>>2]=h;cb(l,m,8);v[e+20>>2]=0;v[e+12>>2]=0;v[e+16>>2]=0;v[e+4>>2]=h;o=ab(8);v[e+12>>2]=o;h=o+8|0;v[e+20>>2]=h;cb(o,m,8);v[e+16>>2]=h;$a(m);j=f+256|0;v[j+4>>2]=15;v[j+8>>2]=0;v[j>>2]=887584;uo(d,c+256|0,f);m=f+240|0;iq(j,f,m,0);n=n<<24;h=B(v[f+248>>2],255)+32768>>>16&255|(B(v[f+244>>2],255)+32768>>>8&65280|(n|B(v[f+240>>2],255)+32768&16711680));t[l|0]=h;t[l+1|0]=h>>>8;t[l+2|0]=h>>>16;t[l+3|0]=h>>>24;uo(d,c+512|0,f);iq(j,f,m,0);h=B(v[f+248>>2],255)+32768>>>16&255|(B(v[f+244>>2],255)+32768>>>8&65280|(n|B(v[f+240>>2],255)+32768&16711680));t[o|0]=h;t[o+1|0]=h>>>8;t[o+2|0]=h>>>16;t[o+3|0]=h>>>24;uo(d,c+768|0,f);iq(j,f,m,0);h=B(v[f+248>>2],255)+32768>>>16&255|(B(v[f+244>>2],255)+32768>>>8&65280|(n|B(v[f+240>>2],255)+32768&16711680));t[l+4|0]=h;t[l+5|0]=h>>>8;t[l+6|0]=h>>>16;t[l+7|0]=h>>>24;uo(d,c+1024|0,f);iq(j,f,m,0);d=v[e+12>>2];c=B(v[f+248>>2],255)+32768>>>16&255|(B(v[f+244>>2],255)+32768>>>8&65280|(n|B(v[f+240>>2],255)+32768&16711680));t[d+4|0]=c;t[d+5|0]=c>>>8;t[d+6|0]=c>>>16;t[d+7|0]=c>>>24;v[f+8>>2]=0;v[f+12>>2]=0;v[f+40>>2]=0;v[f+44>>2]=0;v[f+88>>2]=0;v[f+92>>2]=0;v[f+84>>2]=1;v[f+96>>2]=0;v[f+100>>2]=0;v[f+104>>2]=0;v[f+108>>2]=0;v[f+128>>2]=0;v[f+120>>2]=0;v[f+124>>2]=0;v[f>>2]=0;v[f+4>>2]=0;v[f+24>>2]=0;v[f+28>>2]=1065353216;v[f+32>>2]=0;v[f+36>>2]=0;v[f+76>>2]=0;v[f+80>>2]=1;v[f+68>>2]=0;v[f+72>>2]=0;v[f+60>>2]=1056964608;v[f+64>>2]=1065353216;u[f+56>>1]=0;v[f+48>>2]=1065353216;v[f+52>>2]=1065353216;c=ab(24);v[f+132>>2]=c;d=c+24|0;v[f+140>>2]=d;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=0;v[c+4>>2]=0;v[f+136>>2]=d;eb(f+148|0,0,88);CB(f+200|0,i,i+48|0);DB(f+212|0,e,e+24|0);v[f+80>>2]=4;c=v[a+104>>2];d=pr(c,351404,351416);if(d){Qa[v[v[d>>2]+560>>2]](d,f);c=v[a+104>>2];Qa[v[v[c>>2]+328>>2]](c,878840)|0;c=v[a+104>>2]}v[f+240>>2]=4;Qa[v[v[c>>2]+292>>2]](c,f+240|0)|0;a=v[a+104>>2];Qa[v[v[a>>2]+136>>2]](a,f+268|0)|0;Ae(b);Wf(f+80|0);a=v[e+12>>2];if(a){v[e+16>>2]=a;$a(a)}a=v[e>>2];if(a){v[e+4>>2]=a;$a(a)}$a(e);a=v[k+36>>2];if(a){v[k+40>>2]=a;$a(a)}a=v[k+24>>2];if(a){v[k+28>>2]=a;$a(a)}a=v[k+12>>2];if(a){v[k+16>>2]=a;$a(a)}a=v[k>>2];if(a){v[k+4>>2]=a;$a(a)}$a(k)}Ma=f+272|0;return 1}function l6(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;j=Ma-16|0;Ma=j;v[a+76>>2]=0;v[a+80>>2]=0;d=a- -64|0;v[d>>2]=0;v[d+4>>2]=0;v[a+56>>2]=0;d=v[b+8>>2];a:{b:{c:{if(d&7){break c}f=v[b+64>>2];if(!((f|0)<0|(f|0)>v[b+60>>2])){v[b+8>>2]=d|4;break c}d=v[b+28>>2];v[b+28>>2]=d-1;d:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;e=w[d|0];break d}e=Eb(b,1);if((e|0)==-1){break c}}t[a+12|0]=e;d=v[b+8>>2];if(d&7){break c}f=v[b+64>>2];if(!((f|0)<0|(f|0)>v[b+60>>2])){v[b+8>>2]=d|4;break c}d=v[b+28>>2];v[b+28>>2]=d-1;e:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;e=w[d|0];break e}e=Eb(b,1);if((e|0)==-1){break c}}t[a+13|0]=e;d=v[b+8>>2];if(d&7){break c}f=v[b+64>>2];if(!((f|0)<0|(f|0)>v[b+60>>2])){v[b+8>>2]=d|4;break c}d=v[b+28>>2];v[b+28>>2]=d-1;f:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;e=w[d|0];break f}e=Eb(b,1);if((e|0)==-1){break c}}t[a+52|0]=e;d=v[b+8>>2];if(d&7){break c}f=v[b+64>>2];if(!((f|0)<0|(f|0)>v[b+60>>2])){v[b+8>>2]=d|4;break c}d=v[b+28>>2];v[b+28>>2]=d-1;g:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;v[b+24>>2]=v[b+24>>2]+1;break g}if((Eb(b,1)|0)==-1){break c}}d=a+16|0;if(Xf(b,d)){break c}if(Xf(b,d+4|0)){break c}if(Xf(b,d+8|0)){break c}if(Xf(b,d+12|0)){break c}if(Xf(b,d+16|0)){break c}if(Xf(b,d+20|0)){break c}if(Xf(b,d+24|0)){break c}if(Xf(b,d+28|0)){break c}if(Xf(b,d+32|0)){break c}if(qh(b,2,j+8|0)){break c}v[a+60>>2]=v[j+8>>2];if(qh(b,2,j+8|0)){break c}v[a+72>>2]=v[j+8>>2];f=w[a+12|0];h:{if(!f){g=1;break h}d=w[a+52|0];h=f&7;i:{if(f-1>>>0<7){g=1;break i}i=f&248;g=1;while(1){g=B(d,B(d,B(d,B(d,B(d,B(d,B(d,B(d,g))))))));i=i-8|0;if(i){continue}break}}if(!h){break h}while(1){g=B(d,g);h=h-1|0;if(h){continue}break}}k=B(w[a+13|0],g);e=gb(k<<2);v[a+56>>2]=e;if(!e){break b}d=gb(B(w[a+12|0],v[a+60>>2])<<2);v[a+68>>2]=d;if(!d){break c}e=gb(w[a+12|0]<<2);v[a+64>>2]=e;if(!e){break c}f=w[a+12|0];j:{if(!f){break j}d=v[a+60>>2];v[e>>2]=v[a+68>>2];e=1;if((f|0)==1){break j}g=f-1|0;h=g&3;if(f-2>>>0>=3){i=g&-4;while(1){v[v[a+64>>2]+(e<<2)>>2]=v[a+68>>2]+(B(d,e)<<2);f=e+1|0;v[v[a+64>>2]+(f<<2)>>2]=v[a+68>>2]+(B(d,f)<<2);f=e+2|0;v[v[a+64>>2]+(f<<2)>>2]=v[a+68>>2]+(B(d,f)<<2);f=e+3|0;v[v[a+64>>2]+(f<<2)>>2]=v[a+68>>2]+(B(d,f)<<2);e=e+4|0;i=i-4|0;if(i){continue}break}}if(!h){break j}while(1){v[v[a+64>>2]+(e<<2)>>2]=v[a+68>>2]+(B(d,e)<<2);e=e+1|0;h=h-1|0;if(h){continue}break}}d=gb(B(w[a+13|0],v[a+72>>2])<<2);v[a+80>>2]=d;if(!d){break c}e=gb(w[a+13|0]<<2);v[a+76>>2]=e;if(!e){break c}f=w[a+13|0];k:{if(!f){break k}d=v[a+72>>2];v[e>>2]=v[a+80>>2];e=1;if((f|0)==1){break k}g=f-1|0;h=g&3;if(f-2>>>0>=3){i=g&-4;while(1){v[v[a+76>>2]+(e<<2)>>2]=v[a+80>>2]+(B(d,e)<<2);g=e+1|0;v[v[a+76>>2]+(g<<2)>>2]=v[a+80>>2]+(B(d,g)<<2);g=e+2|0;v[v[a+76>>2]+(g<<2)>>2]=v[a+80>>2]+(B(d,g)<<2);g=e+3|0;v[v[a+76>>2]+(g<<2)>>2]=v[a+80>>2]+(B(d,g)<<2);e=e+4|0;i=i-4|0;if(i){continue}break}}if(!h){break k}while(1){v[v[a+76>>2]+(e<<2)>>2]=v[a+80>>2]+(B(d,e)<<2);e=e+1|0;h=h-1|0;if(h){continue}break}}i=w[a+12|0];l:{if(!i){break l}h=0;g=v[a+60>>2];if((g|0)<=0){break l}while(1){e=0;if((g|0)>0){while(1){d=v[v[a+64>>2]+(h<<2)>>2];if(qh(b,2,j+8|0)){break c}v[d+(e<<2)>>2]=v[j+8>>2];e=e+1|0;g=v[a+60>>2];if((e|0)<(g|0)){continue}break}i=w[a+12|0]}h=h+1|0;if(h>>>0<(i&255)>>>0){continue}break}f=w[a+13|0]}h=0;d=0;m:{if(!f){break m}i=0;g=v[a+72>>2];if((g|0)<=0){d=f;break m}d=f;while(1){e=0;if((g|0)>0){while(1){d=v[v[a+76>>2]+(i<<2)>>2];if(qh(b,2,j+8|0)){break c}v[d+(e<<2)>>2]=v[j+8>>2];e=e+1|0;g=v[a+72>>2];if((e|0)<(g|0)){continue}break}d=w[a+13|0]}i=i+1|0;if(i>>>0<(d&255)>>>0){continue}break}}if((k|0)>0){while(1){d=v[a+56>>2];if(qh(b,2,j+8|0)){break c}v[d+(h<<2)>>2]=v[j+8>>2];h=h+1|0;if((k|0)!=(h|0)){continue}break}d=w[a+13|0]}f=d&255;d=w[a+12|0];i=B(d,v[a+60>>2]);k=v[a+72>>2];e=1;n:{if(!d){break n}b=w[a+52|0];g=d&7;if(d-1>>>0>=7){h=d&248;while(1){e=B(b,B(b,B(b,B(b,B(b,B(b,B(b,B(b,e))))))));h=h-8|0;if(h){continue}break}}if(!g){break n}while(1){e=B(b,e);g=g-1|0;if(g){continue}break}}b=0;if(((i+B(f,e+k|0)<<1)+44|0)==(c|0)){break a}}e=v[a+56>>2]}if(e){$a(e)}b=v[a+64>>2];if(b){$a(b)}b=v[a+68>>2];if(b){$a(b)}b=v[a+76>>2];if(b){$a(b)}b=-1;a=v[a+80>>2];if(!a){break a}$a(a)}Ma=j+16|0;return b|0}function wW(a){var 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;h=Ma-256|0;Ma=h;c=v[a+8>>2];a:{if(!c){break a}n=h|9;j=1;while(1){e=v[a+20>>2];b=v[a+24>>2];if(k&!(!e|!b)){break a}b:{c:{if(e){break c}e=v[a+8>>2]+v[a+12>>2]|0;if(e>>>0>>0){break c}if(Kb(c,280060,9)){break c}b=e>>>0>>0?e-c|0:255;Sb(h,c,b);t[b+h|0]=0;b=ye(n,47);d:{if(!b){break d}b=$f(b+1|0,337472);if(!b){break d}o=a,p=qc(b),v[o+20>>2]=p}b=v[a+8>>2]+v[a+12>>2]|0;e:{if(b>>>0<=c>>>0){break e}f:{while(1){g:{e=w[c|0];switch(e-10|0){case 0:case 3:break f;default:break g}}c=c+1|0;if((b|0)!=(c|0)){continue}break}c=b;break e}c=((e|0)==13)+c|0}c=b>>>0>c>>>0?(w[c|0]==10)+c|0:c;c=b>>>0>c>>>0?c:0;break b}h:{if(b){break h}i:{b=v[a+8>>2]+v[a+12>>2]|0;if(b>>>0>>0){break i}if(Kb(c,273451,30)){break i}v[a+24>>2]=1026768;break b}if(b>>>0>>0){break h}if(Kb(c,220091,19)){break h}b=Pb(256,4);v[a+24>>2]=b;v[b>>2]=0;d=1;while(1){b=d<<2;v[b+v[a+24>>2]>>2]=0;v[(b+v[a+24>>2]|0)+4>>2]=0;v[(b+v[a+24>>2]|0)+8>>2]=0;v[(b+v[a+24>>2]|0)+12>>2]=0;v[(b+v[a+24>>2]|0)+16>>2]=0;d=d+5|0;if((d|0)!=256){continue}break}d=v[a+8>>2];g=v[a+12>>2];b=d+g|0;j:{if(b>>>0<=c>>>0){break j}k:{while(1){l:{e=w[c|0];switch(e-10|0){case 0:case 3:break k;default:break l}}c=c+1|0;if((b|0)!=(c|0)){continue}break}c=b;break j}c=((e|0)==13)+c|0}c=b>>>0>c>>>0?(w[c|0]==10)+c|0:c;if(b>>>0<=c>>>0){break a}l=0;if(!c){break a}while(1){b=c;d=d+g|0;e=b;m:{if(d>>>0<=b>>>0){break m}n:{while(1){o:{e=w[b|0];switch(e-10|0){case 0:case 3:break n;default:break o}}b=b+1|0;if((d|0)!=(b|0)){continue}break}e=d;break m}e=((e|0)==13)+b|0}b=e;if(b>>>0>>0){b=(w[b|0]==10)+b|0}e=b>>>0>>0?b:0;if(!e){break b}b=e-c|0;b=(b|0)<255?b:255;f=Sb(h,c,b);t[b+h|0]=0;b=f;while(1){d=w[b|0];if(!((d|0)!=32&(d|0)!=9)){b=b+1|0;continue}break}p:{q:{r:{if(!Kb(c-4|0,341236,4)){d=!Kb(b,240570,3);break r}g=Kb(c-5|0,337467,4);i=Kb(b,240570,3);d=!i;if(!g){break r}if(i){break q}}b=(d?3:0)+b|0;while(1){s:{t:{u:{d=w[b|0];if((d|0)!=9){if((d|0)==56){break u}if((d|0)!=32){break t}}b=b+1|0;continue}if(w[b+1|0]!=35){i=10;d=56;break s}d=w[b+2|0];i=8;b=b+2|0;break s}i=10;if((d-48&255)>>>0>9){break p}}g=0;f=d<<24>>24;v:{if((f|0)<48){break v}c=b;m=i|48;if((m|0)<=(f|0)){break v}while(1){b=c+1|0;g=(B(g,i)+f|0)-48|0;d=t[c+1|0];if((d|0)<48){break v}f=d;c=b;if((d|0)<(m|0)){continue}break}}while(1){w:{x:{y:{c=d&255;switch(c-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:break p;case 15:break w;case 0:break x;default:break y}}if((c|0)!=9){break p}}d=w[b+1|0];b=b+1|0;continue}break}c=b+1|0;b=c;while(1){z:{A:{B:{d=w[b|0];switch(d|0){case 0:case 9:break z;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break A;default:break B}}if((d|0)==32){break z}}b=b+1|0;continue}break}if(g>>>0<=255){t[b|0]=0;f=g<<2;tb(v[f+v[a+24>>2]>>2]);c=qc(c);v[f+v[a+24>>2]>>2]=c;t[b|0]=d}while(1){c=d&255;if(!((c|0)!=32&(c|0)!=9)){d=w[b+1|0];b=b+1|0;continue}break}if(Kb(b,225437,3)){break p}d=b+3|0;while(1){c=w[d|0];if(!((c|0)!=32&(c|0)!=9)){d=d+1|0;continue}break}b=d+3|0;if(!Kb(d,240570,3)){continue}break}break p}if(!$f(f,349010)){break p}b=$f(0,337472);if(!b){break p}if(!hb(b,273478)){break b}}l=l+1|0;if((l|0)==300){c=e;break b}else{g=v[a+12>>2];d=v[a+8>>2];c=e;continue}}}C:{if(k){b=v[a+12>>2];d=v[a+8>>2];break C}e=c+11|0;b=v[a+12>>2];d=v[a+8>>2];f=b+d|0;if(e>>>0>f>>>0){break C}if(Kb(c,220525,11)){break C}b=f>>>0>>0?f-e|0:255;e=Sb(h,e,b);t[b+h|0]=0;b=ye(e,91);if(!b){k=1;break b}k=1;b=b+1|0;e=ye(b,93);if(!e){break b}t[e|0]=0;b=$f(b,337472);if(!b){break b}o=a,q=Ue(b),A[o+32>>3]=q;b=$f(0,337472);if(!b){break b}o=a,q=Ue(b),A[o+40>>3]=q;b=$f(0,337472);if(!b){break b}o=a,q=Ue(b),A[o+48>>3]=q;b=$f(0,337472);if(!b){break b}o=a,q=Ue(b),A[o+56>>3]=q;b=$f(0,337472);if(!b){break b}o=a,q=Ue(b),A[o+64>>3]=q;b=$f(0,337472);if(!b){break b}o=a,q=Ue(b),A[o+72>>3]=q;break b}b=b+d|0;D:{if(b>>>0<=c>>>0){break D}E:{while(1){F:{e=w[c|0];switch(e-10|0){case 0:case 3:break E;default:break F}}c=c+1|0;if((b|0)!=(c|0)){continue}break}c=b;break D}c=((e|0)==13)+c|0}c=b>>>0>c>>>0?(w[c|0]==10)+c|0:c;c=b>>>0>c>>>0?c:0}if(j>>>0>99){break a}j=j+1|0;if(c){continue}break}}v[a+80>>2]=1;Ma=h+256|0}function Lxa(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,p=0,q=0;h=Ma-96|0;Ma=h;a:{if(!a|!b){break a}d=v[a+8>>2];if(!d){break a}k=v[a+52>>2];b:{if(v[d+48>>2]|!v[a+104>>2]){break b}d=v[d+44>>2];if(d){if(v[d+36>>2]|v[d+40>>2]|(v[d+44>>2]|v[d+48>>2])){break b}}gj(a,94,336778,0,0);v[a+104>>2]=0}m=oH(a,b,h+28|0);j=MH(v[a+8>>2],m);if(!j){b=v[h+28>>2];if(b){Qa[v[256556]](b)}Zj(a,230695);break a}b=v[a+8>>2];d=v[b+12>>2];c:{if(!d){Df(b,j);break c}k=k?k:d}v[a+264>>2]=-1;d:{if(!v[a+280>>2]){break d}b=v[a+36>>2];if(!b){break d}b=v[b+28>>2];u[j+56>>1]=(b|0)<65535?b:65535}Dv(a,j);e:{if(!k){break e}if(v[k+4>>2]==1){Df(k,j);break e}hA(k,j)}f:{if(v[a+32>>2]){break f}b=v[a+8>>2];d=v[b+44>>2];if(!(v[b+48>>2]?1:d)){break f}n=1;o=v[h+28>>2];g=Qz(d,m,o);if(!g){n=0;g=Qz(v[v[a+8>>2]+48>>2],m,o);if(!g){break f}}while(1){e=v[g+44>>2];b=v[a+8>>2];if(v[b+40>>2]==1){g:{if(!e|(!v[b+48>>2]|!v[a+104>>2])){break g}while(1){h:{if(!v[e+48>>2]){break h}if((Ao(v[v[a+8>>2]+48>>2],v[e+60>>2],v[e+8>>2],v[e+56>>2])|0)!=(e|0)){break h}if(Ao(v[v[a+8>>2]+44>>2],v[e+60>>2],v[e+8>>2],v[e+56>>2])){break h}i:{j:{k:{l:{m:{f=v[e+56>>2];b=f;if(b){while(1){d=b;b=b+1|0;if(w[d|0]){continue}break}b=0;d=d-f|0;if((d|0)<0){break l}b=Qa[v[256555]](d+1|0)|0;if(b){break m}b=0;nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break l}i=v[e+8>>2];b=i;if(!b){break k}while(1){d=b;b=b+1|0;if(w[d|0]){continue}break}b=d-i|0;if((b|0)<0){break k}f=Qa[v[256555]](b+1|0)|0;if(f){break j}nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);Zj(a,230695);break g}p=cb(b,f,d)+d|0,q=0,t[p|0]=q}f=Fo(Fo(b,313512),v[e+8>>2]);if(f){break i}}Zj(a,230695);break g}p=cb(f,i,b)+b|0,q=0,t[p|0]=q}n:{o:{if(!c){break o}i=0;b=v[c>>2];if(!b){break o}while(1){d=f;if((d|0)==(b|0)){break n}while(1){l=w[b|0];if((l|0)==w[d|0]){d=d+1|0;b=b+1|0;if(l){continue}break n}break}i=i+2|0;b=v[(i<<2)+c>>2];if(b){continue}break}}gj(a,538,339337,f,v[e+60>>2])}Qa[v[256556]](f)}e=v[e+36>>2];if(e){continue}break}}e=v[g+44>>2]}if(e){while(1){p:{if(!v[e+48>>2]){break p}q:{r:{g=v[e+56>>2];if(g){b=235503;d=g;if((d|0)==235503){break q}while(1){f=w[d|0];if((f|0)!=w[b|0]){break r}b=b+1|0;d=d+1|0;if(f){continue}break}break q}b=v[e+8>>2];if((b|0)==235503){break q}d=235503;if(!b){break r}while(1){f=w[b|0];if((f|0)!=w[d|0]){break r}d=d+1|0;b=b+1|0;if(f){continue}break}break q}if(!(w[a+276|0]&4)){break p}}b=Ao(v[v[a+8>>2]+44>>2],v[e+60>>2],v[e+8>>2],g);if(b?(b|0)!=(e|0):0){break p}s:{t:{b=v[e+8>>2];if(b){d=v[e+56>>2];if(!d){g=b;break s}g=h+32|0;l=zb(b);f=zb(d);i=l+f|0;if((i|0)<49){break t}g=Qa[v[256555]](i+2|0)|0;if(g){break t}v[h+16>>2]=280088;nb(0,0,0,0,0,2,2,3,280088,0,0,0,340689,h+16|0)}Zj(a,230695);break f}d=cb(g,d,f);f=d+f|0;t[f|0]=58;cb(f+1|0,b,l);t[(d+i|0)+1|0]=0}u:{v:{if(!c){break v}f=0;b=v[c>>2];if(!b){break v}while(1){d=g;if((d|0)==(b|0)){break u}while(1){i=w[b|0];if((i|0)==w[d|0]){d=d+1|0;b=b+1|0;if(i){continue}break u}break}f=f+2|0;b=v[(f<<2)+c>>2];if(b){continue}break}}gA(a,g,v[e+48>>2])}if((h+32|0)==(g|0)|v[e+8>>2]==(g|0)){break p}Qa[v[256556]](g)}e=v[e+36>>2];if(e){continue}break}}if(!n){break f}n=0;g=Qz(v[v[a+8>>2]+48>>2],m,o);if(g){continue}break}}w:{if(v[a+32>>2]|!c){break w}b=v[c>>2];if(!b){break w}e=v[c+4>>2];if(!e){break w}d=2;while(1){x:{if(w[b|0]!=120|w[b+1|0]!=109|(w[b+2|0]!=108|w[b+3|0]!=110)){break x}if(w[b+4|0]!=115){break x}gA(a,b,e)}g=d<<2;b=v[g+c>>2];if(!b){break w}d=d+2|0;e=v[(g|4)+c>>2];if(e){continue}break}}b=Fk(v[a+8>>2],j,v[h+28>>2]);if(!(b|!k)){b=Fk(v[a+8>>2],k,v[h+28>>2])}d=v[h+28>>2];y:{if(b|!d){break y}b=Dk(j,0,d);d=v[h+28>>2];if(v[a+172>>2]==-1?v[a+212>>2]:0){break y}v[a+84>>2]=201;v[h+4>>2]=0;v[h>>2]=d;nb(0,0,0,a,0,3,201,1,d,0,0,0,344542,h)}z:{if(!b){break z}d=v[b+8>>2];if(!d|!(v[b+12>>2]?1:w[d|0])|v[j+4>>2]-1>>>0>1){break z}v[j+36>>2]=b}A:{if(!c){break A}d=v[c+4>>2];b=v[c>>2];if(v[a+32>>2]){if(!b){break A}e=2;while(1){gA(a,b,d);b=e<<2;d=v[(b|4)+c>>2];e=e+2|0;b=v[b+c>>2];if(b){continue}break}break A}if(!b|!d){break A}e=2;while(1){B:{if(!(w[b|0]!=120|w[b+1|0]!=109|(w[b+2|0]!=108|w[b+3|0]!=110))){if(w[b+4|0]==115){break B}}gA(a,b,d)}d=e<<2;b=v[d+c>>2];if(!b){break A}e=e+2|0;d=v[(d|4)+c>>2];if(d){continue}break}}a=v[h+28>>2];if(!a){break a}Qa[v[256556]](a)}Ma=h+96|0}function bAa(a,b){a=a|0;b=b|0;var 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,u=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;d=Ma-32|0;Ma=d;y=v[a+12>>2];i=v[a+8>>2];u=v[a+20>>2];j=v[a+16>>2];m=v[a+4>>2];v[d+24>>2]=v[a+24>>2];h=v[m+8>>2];g=v[m+56>>2];a:{if(!(!!g&j>>>0>>0)){e=0;break a}e=1}b:{c:{d:{while(1){e:{f:{g:{h:{if(!e){if(i>>>0>=y>>>0){break d}if(j>>>0>=u>>>0){break c}c=i+2|0;g=x[i>>1];i=c;if((g&63488)!=55296){break f}if(g&1024){break h}I=p;i=c;e=1;continue}if(i>>>0>=y>>>0){break e}c=x[i>>1];if((c&64512)==56320){break g}v[b>>2]=12;v[m+56>>2]=g;break b}v[b>>2]=12;v[m+56>>2]=g;i=c;break b}v[m+56>>2]=0;g=(c+(g<<10)|0)-56613888|0;p=I;i=i+2|0}i:{if((g|0)<=127){if(!(!(1<31)){v[b>>2]=12;v[m+56>>2]=g;break b}j:{if(!w[h+58|0]){t[d+16|0]=g;e=1;break j}t[d+17|0]=g;t[d+16|0]=15;n=0;t[h+58|0]=0;e=2}k:{switch(g-10|0){case 0:case 3:break k;default:break i}}n=0;t[h+54|0]=0;t[h+55|0]=0;t[h+56|0]=0;t[h+57|0]=0;t[h+58|0]=0;t[h+59|0]=0;break i}l:{if(n){break l}c=w[h+55|0];c=c?c:1;t[d+13|0]=c;m:{switch(v[h+64>>2]){case 0:if((c|0)==1){t[d+14|0]=33;n=2;break l}t[d+14|0]=1;n=2;break l;case 1:n:{switch((c<<24>>24)-1|0){case 0:t[d+14|0]=33;t[d+15|0]=2;n=3;break l;case 1:t[d+14|0]=1;t[d+15|0]=33;n=3;break l;default:break n}}t[d+14|0]=1;t[d+15|0]=2;n=3;break l;default:break m}}t[d+13|0]=33;t[d+14|0]=1;n=0}o:{p:{q:{if((n|0)<1){break q}A=g>>>10|0;C=g>>>4&63;z=g&15;D=1<<(z|16);s=w[m+35|0];E=(g|0)<65536;F=g-57344>>>0<6400;G=g-983040>>>0>131071;f=0;q=0;e=0;o=0;while(1){k=t[(d+13|0)+e|0];r:{if((k|0)<1){c=f;break r}s:{t:{if((k|0)>=32){u:{v:{k=v[h+12>>2];if(!(t[k+201|0]&1?1:E)){break v}c=v[k+52>>2];r=v[(x[c+(A<<1)>>1]+C<<2)+c>>2];c=v[k+188>>2]+B(r<<4&1048560|z,3)|0;l=w[c+1|0]<<8|w[c|0]<<16|w[c+2|0];c=l>>>0<256?1:l>>>0<65536?2:3;if(r&D){v[d+28>>2]=l;break u}if(!l|G&!(s|F)){break v}v[d+28>>2]=l;c=0-c|0;break t}c=v[k+224>>2];if(!c){c=f;break r}c=Us(c,g,d+28|0,s<<24>>24)}if((c|0)!=3){break t}o=2;break s}w:{x:{y:{z:{l=v[(k<<2)+h>>2];if(!(t[l+201|0]&1?1:E)){break z}c=v[l+52>>2];H=v[(x[c+(A<<1)>>1]+C<<2)+c>>2];r=x[v[l+188>>2]+((H<<4&1048560|z)<<1)>>1];c=r>>>0<256?1:2;if(D&H){v[d+28>>2]=r;break y}if(!r|G&!(s|F)){break z}v[d+28>>2]=r;c=0-c|0;break x}c=v[l+224>>2];if(!c){c=f;break r}c=Us(c,g,d+28|0,s<<24>>24)}l=2;if((c|0)==2){break w}}l=-2;if((c|0)!=-2){c=f;break r}c=f;if(o){break r}}c=1;s=0;p=v[d+28>>2];o=l;q=k;break r}if((c|0)!=-3){c=f;break r}if(o){c=f;break r}s=0;o=-2}c=1;q=33;A:{B:{p=v[d+28>>2];k=p>>>16|0;switch((k&255)-129|0){case 0:break r;case 1:break B;default:break A}}c=2;q=34;break r}c=f;f=v[h+64>>2]==1;c=f?3:c;o=f?o:0;q=k-96|0}e=e+1|0;if((n|0)>(e|0)){f=c;if((o|0)<1){continue}}break}if(!o){break q}e=0;o=c&255;k=o+h|0;if(w[k+54|0]!=(q&255)){f=q<<24>>24;C:{if((f|0)<=2){f=v[(f<<2)+846096>>2];v[d+16>>2]=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);break C}f=v[(f<<2)+845976>>2];v[d+16>>2]=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24)}t[k+54|0]=q;n=(c&255)==1?0:n;e=4}if((o|0)==t[h+58|0]){break o}D:{switch((c&255)-1|0){case 1:c=d+16|0;t[c+e|0]=27;t[c+(e|1)|0]=78;e=e|2;break o;case 0:break p;default:break D}}c=d+16|0;t[c+e|0]=27;t[c+(e|1)|0]=79;e=e|2;break o}v[b>>2]=10;v[m+56>>2]=g;break b}t[(d+16|0)+e|0]=14;t[h+58|0]=1;e=e|1}c=(d+16|0)+e|0;f=p<<8|(p&65280)>>>8;t[c|0]=f;t[c+1|0]=f>>>8;e=e+2|0}E:{F:{G:{switch(e-1|0){case 0:t[j|0]=w[d+16|0];j=j+1|0;c=v[d+24>>2];if(!c){break E}f=v[a+8>>2];v[d+24>>2]=c+4;v[c>>2]=(i-f>>1)-1;break E;case 1:break G;default:break F}}c=j+2|0;if(c>>>0>u>>>0){break F}t[j|0]=w[d+16|0];t[j+1|0]=w[d+17|0];f=v[d+24>>2];if(!f){j=c;break E}e=(i-v[a+8>>2]>>1)+(g>>>0<65536?-1:-2)|0;v[f>>2]=e;v[d+24>>2]=f+8;v[f+4>>2]=e;j=c;break E}c=v[a+8>>2];v[d+28>>2]=j;zh(m,d+16|0,e,d+28|0,u,d+24|0,(i-c>>1)+(g>>>0<65536?-1:-2)|0,b);j=v[d+28>>2];if(v[b>>2]>=1){break b}}e=0;continue}break}v[m+56>>2]=g}if(!w[h+58|0]|v[b>>2]>0|(!w[a+2|0]|i>>>0>>0)){break b}if(v[m+56>>2]){break b}t[h+58|0]=0;f=v[a+8>>2];e=i-f|0;H:{if((e|0)<1){e=-1;break H}c=-1;p=e>>>1|0;e=p-1|0;if((x[f+(e<<1)>>1]&64512)!=56320){break H}if(e){c=p-2|0;if((x[f+(c<<1)>>1]&64512)!=55296){break H}}e=c}v[d+28>>2]=j;zh(m,845908,1,d+28|0,u,d+24|0,e,b);j=v[d+28>>2];break b}v[b>>2]=15}v[a+16>>2]=j;v[a+8>>2]=i;Ma=d+32|0}function y0(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0,y=0,z=0,B=0,C=0,E=0,F=0;n=Ma-16|0;Ma=n;a:{if(j>>>0>32){break a}while(1){x=(e+g)*.5;y=(d+f)*.5;b:{c:{d:{e:{f:{k=i-c;m=h-b;l=k*(d-h)-m*(e-i);B=D(l);t=f-h;u=g-i;z=k*t-m*u;C=D(z);switch(((B>1e-30)<<1|C>1e-30)-1|0){case 2:break c;case 1:break d;case 0:break e;default:break f}}l=m*m+k*k;g:{if(l==0){k=d-b;l=k*k;k=e-c;l=l+k*k;k=t*t+u*u;break g}l=1/l;t=l*(m*(f-b)+k*(g-c));l=l*(m*(d-b)+k*(e-c));if(!(!(t>0)|(!(l>0)|!(l<1)))){if(t<1){break a}}h:{if(l<=0){l=b-d;u=l*l;l=c-e;l=u+l*l;break h}if(l>=1){l=h-d;u=l*l;l=i-e;l=u+l*l;break h}u=b+m*l-d;l=c+k*l-e;l=u*u+l*l}if(t<=0){k=b-f;m=k*k;k=c-g;k=m+k*k;break g}if(t>=1){k=h-f;m=k*k;k=i-g;k=m+k*k;break g}m=b+m*t-f;k=c+k*t-g;k=m*m+k*k}m=A[a+8>>3];if(k>2];r=v[a+36>>2];q=r>>>6|0;if(p>>>0<=q>>>0){j=v[a+44>>2];i:{if(j>>>0>q>>>0){j=v[a+48>>2];break i}o=j+v[a+52>>2]|0;j=ab((o|0)!=(o&1073741823)?-1:o<<2);w=a;s=v[a+48>>2];if(s){cb(j,s,p<<2);$a(s);r=v[a+36>>2];p=v[a+40>>2];o=v[a+44>>2]+v[a+52>>2]|0}v[w+44>>2]=o;v[a+48>>2]=j}E=(q<<2)+j|0,F=ab(1024),v[E>>2]=F;v[a+40>>2]=p+1}j=v[v[a+48>>2]+(q<<2)>>2]+((r&63)<<4)|0;A[j+8>>3]=e;A[j>>3]=d;v[a+36>>2]=v[a+36>>2]+1;break a}if(!(k>2];r=v[a+36>>2];q=r>>>6|0;if(p>>>0<=q>>>0){j=v[a+44>>2];j:{if(j>>>0>q>>>0){j=v[a+48>>2];break j}o=j+v[a+52>>2]|0;j=ab((o|0)!=(o&1073741823)?-1:o<<2);w=a;s=v[a+48>>2];if(s){cb(j,s,p<<2);$a(s);r=v[a+36>>2];p=v[a+40>>2];o=v[a+44>>2]+v[a+52>>2]|0}v[w+44>>2]=o;v[a+48>>2]=j}E=(q<<2)+j|0,F=ab(1024),v[E>>2]=F;v[a+40>>2]=p+1}j=v[v[a+48>>2]+(q<<2)>>2]+((r&63)<<4)|0;A[j+8>>3]=g;A[j>>3]=f;v[a+36>>2]=v[a+36>>2]+1;break a}if(!(z*z<=(m*m+k*k)*A[a+8>>3])){break b}k=A[a+16>>3];if(k<.01){p=v[a+40>>2];r=v[a+36>>2];q=r>>>6|0;if(p>>>0<=q>>>0){j=v[a+44>>2];k:{if(j>>>0>q>>>0){j=v[a+48>>2];break k}o=j+v[a+52>>2]|0;j=ab((o|0)!=(o&1073741823)?-1:o<<2);w=a;s=v[a+48>>2];if(s){cb(j,s,p<<2);$a(s);r=v[a+36>>2];p=v[a+40>>2];o=v[a+44>>2]+v[a+52>>2]|0}v[w+44>>2]=o;v[a+48>>2]=j}E=(q<<2)+j|0,F=ab(1024),v[E>>2]=F;v[a+40>>2]=p+1}j=v[v[a+48>>2]+(q<<2)>>2]+((r&63)<<4)|0;A[j+8>>3]=x;A[j>>3]=y;v[a+36>>2]=v[a+36>>2]+1;break a}l=k;k=D(ef(i-g,h-f)-ef(g-e,f-d));k=k>=3.141592653589793?6.283185307179586-k:k;if(l>k){A[n+8>>3]=e;A[n>>3]=d;a=a+36|0;Cn(a,n);A[n+8>>3]=g;A[n>>3]=f;Cn(a,n);break a}l=A[a+24>>3];if(l==0|!(k>l)){break b}A[n+8>>3]=g;A[n>>3]=f;Cn(a+36|0,n);break a}if(!(l*l<=(m*m+k*k)*A[a+8>>3])){break b}k=A[a+16>>3];if(k<.01){p=v[a+40>>2];r=v[a+36>>2];q=r>>>6|0;if(p>>>0<=q>>>0){j=v[a+44>>2];l:{if(j>>>0>q>>>0){j=v[a+48>>2];break l}o=j+v[a+52>>2]|0;j=ab((o|0)!=(o&1073741823)?-1:o<<2);w=a;s=v[a+48>>2];if(s){cb(j,s,p<<2);$a(s);r=v[a+36>>2];p=v[a+40>>2];o=v[a+44>>2]+v[a+52>>2]|0}v[w+44>>2]=o;v[a+48>>2]=j}E=(q<<2)+j|0,F=ab(1024),v[E>>2]=F;v[a+40>>2]=p+1}j=v[v[a+48>>2]+(q<<2)>>2]+((r&63)<<4)|0;A[j+8>>3]=x;A[j>>3]=y;v[a+36>>2]=v[a+36>>2]+1;break a}l=k;k=D(ef(g-e,f-d)-ef(e-c,d-b));k=k>=3.141592653589793?6.283185307179586-k:k;if(l>k){A[n+8>>3]=e;A[n>>3]=d;a=a+36|0;Cn(a,n);A[n+8>>3]=g;A[n>>3]=f;Cn(a,n);break a}l=A[a+24>>3];if(l==0|!(k>l)){break b}A[n+8>>3]=e;A[n>>3]=d;Cn(a+36|0,n);break a}l=B+C;if(!(l*l<=(m*m+k*k)*A[a+8>>3])){break b}l=A[a+16>>3];if(l<.01){p=v[a+40>>2];r=v[a+36>>2];q=r>>>6|0;if(p>>>0<=q>>>0){j=v[a+44>>2];m:{if(j>>>0>q>>>0){j=v[a+48>>2];break m}o=j+v[a+52>>2]|0;j=ab((o|0)!=(o&1073741823)?-1:o<<2);w=a;s=v[a+48>>2];if(s){cb(j,s,p<<2);$a(s);r=v[a+36>>2];p=v[a+40>>2];o=v[a+44>>2]+v[a+52>>2]|0}v[w+44>>2]=o;v[a+48>>2]=j}E=(q<<2)+j|0,F=ab(1024),v[E>>2]=F;v[a+40>>2]=p+1}j=v[v[a+48>>2]+(q<<2)>>2]+((r&63)<<4)|0;A[j+8>>3]=x;A[j>>3]=y;v[a+36>>2]=v[a+36>>2]+1;break a}m=ef(g-e,f-d);k=D(m-ef(e-c,d-b));t=k>=3.141592653589793?6.283185307179586-k:k;k=D(ef(i-g,h-f)-m);m=k>=3.141592653589793?6.283185307179586-k:k;if(l>t+m){A[n+8>>3]=x;A[n>>3]=y;Cn(a+36|0,n);break a}k=A[a+24>>3];if(k==0){break b}if(k>3]=e;A[n>>3]=d;Cn(a+36|0,n);break a}if(!(k>3]=g;A[n>>3]=f;Cn(a+36|0,n);break a}k=(b+d)*.5;d=(k+y)*.5;l=(c+e)*.5;e=(l+x)*.5;u=b;z=c;m=d;t=e;f=(f+h)*.5;d=(y+f)*.5;b=(m+d)*.5;g=(g+i)*.5;e=(x+g)*.5;c=(t+e)*.5;j=j+1|0;y0(a,u,z,k,l,m,t,b,c,j);if((j|0)!=33){continue}break}}Ma=n+16|0}function nb(a,b,c,d,e,f,g,h,i,j,k,l,m,n){var o=0,p=0,q=0,r=0,s=0,u=0,y=0,z=0,A=0,B=0;y=Ma-16|0;Ma=y;a:{if(!g|!v[256655]&(h|0)==1){break a}b:{c:{d:{if(!(1<>>0>23){break d}if(a){q=d;break d}q=d;if(!q){break d}a=v[d>>2];if(!a|v[a+108>>2]!=-554844497){break c}a=v[a+124>>2];if(!a){break c}c=v[d+4>>2];break b}if(a){break b}}a=v[291045];c=a?v[291044]:c}e:{if(!m){m=Qa[v[256555]](26)|0;if(!m){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break e}t[m+24|0]=w[291484];n=w[291480]|w[291481]<<8|(w[291482]<<16|w[291483]<<24);o=w[291476]|w[291477]<<8|(w[291478]<<16|w[291479]<<24);t[m+16|0]=o;t[m+17|0]=o>>>8;t[m+18|0]=o>>>16;t[m+19|0]=o>>>24;t[m+20|0]=n;t[m+21|0]=n>>>8;t[m+22|0]=n>>>16;t[m+23|0]=n>>>24;n=w[291472]|w[291473]<<8|(w[291474]<<16|w[291475]<<24);o=w[291468]|w[291469]<<8|(w[291470]<<16|w[291471]<<24);t[m+8|0]=o;t[m+9|0]=o>>>8;t[m+10|0]=o>>>16;t[m+11|0]=o>>>24;t[m+12|0]=n;t[m+13|0]=n>>>8;t[m+14|0]=n>>>16;t[m+15|0]=n>>>24;n=w[291464]|w[291465]<<8|(w[291466]<<16|w[291467]<<24);o=w[291460]|w[291461]<<8|(w[291462]<<16|w[291463]<<24);t[m|0]=o;t[m+1|0]=o>>>8;t[m+2|0]=o>>>16;t[m+3|0]=o>>>24;t[m+4|0]=n;t[m+5|0]=n>>>8;t[m+6|0]=n>>>16;t[m+7|0]=n>>>24;t[m+25|0]=0;r=m;break e}o=150;p=Qa[v[256552]](150)|0;if(!p){break e}z=-1;while(1){r=p;if((o|0)>63999){break e}v[y+12>>2]=n;p=am(r,o,m,n);if(!((p|0)<0|(o|0)<=(p|0))){A=(p|0)==(z|0);z=p;if(A){break e}}o=((p|0)>-1?p+1|0:100)+o|0;p=Qa[v[256557]](r,o)|0;if(p){continue}break}}f:{if(q){o=v[q+36>>2];g:{if(!o){break g}s=v[o+4>>2];h:{if(s){break h}s=0;m=v[q+40>>2];if((m|0)<2){break h}o=v[(v[q+48>>2]+(m<<2)|0)-8>>2];if(!o){break g}s=v[o+4>>2]}B=v[o+32>>2];u=v[o+28>>2]}n=q+384|0;m=0;break f}m=0;n=1164184;if(!e){break f}o=v[e+32>>2];if(o){m=v[o+72>>2]?e:0}o=0;while(1){i:{if(v[e+4>>2]==1){p=1;break i}e=v[e+20>>2];p=(e|0)!=0;if(o>>>0>8){break i}o=o+1|0;if(e){continue}}break}j:{if(!p|m){break j}m=v[e+32>>2];if(!m){m=0;break j}m=v[m+72>>2]?e:0}u=!p|v[e+4>>2]!=1?u:x[e+56>>1];if(u?(u|0)!=65535:0){break f}u=Rv(e,0)}if(v[n+4>>2]){o=v[n+8>>2];if(o){Qa[v[256556]](o)}o=v[n+16>>2];if(o){Qa[v[256556]](o)}o=v[n+24>>2];if(o){Qa[v[256556]](o)}o=v[n+28>>2];if(o){Qa[v[256556]](o)}o=v[n+32>>2];if(o){Qa[v[256556]](o)}v[n>>2]=0;v[n+4>>2]=0;v[n+48>>2]=0;v[n+40>>2]=0;v[n+44>>2]=0;v[n+32>>2]=0;v[n+36>>2]=0;v[n+24>>2]=0;v[n+28>>2]=0;v[n+16>>2]=0;v[n+20>>2]=0;v[n+8>>2]=0;v[n+12>>2]=0}v[n+12>>2]=h;v[n+8>>2]=r;v[n+4>>2]=g;v[n>>2]=f;k:{if(s){o=s;while(1){f=o;o=o+1|0;if(w[f|0]){continue}break}m=0;f=f-s|0;if((f|0)>=0){g=Qa[v[256555]](f+1|0)|0;if(!g){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);v[n+16>>2]=0;break k}m=cb(g,s,f);t[f+m|0]=0}v[n+16>>2]=m;break k}if(!m){break k}l:{f=v[v[m+32>>2]+72>>2];m:{if(!f){break m}o=f;while(1){g=o;o=o+1|0;if(w[g|0]){continue}break}g=g-f|0;if((g|0)<0){break m}m=Qa[v[256555]](g+1|0)|0;if(m){break l}nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0)}v[n+16>>2]=0;if(!e){break k}f=v[e+32>>2];if(!f){break k}m=n;f=v[f+72>>2];if(f){o=f;while(1){g=o;o=o+1|0;if(w[g|0]){continue}break}f=Ek(f,g-f|0)}else{f=0}v[m+16>>2]=f;break k}f=cb(m,f,g);t[f+g|0]=0;v[n+16>>2]=f}v[n+20>>2]=u;if(i){o=i;while(1){f=o;o=o+1|0;if(w[f|0]){continue}break}o=0;f=f-i|0;n:{if((f|0)<0){break n}g=Qa[v[256555]](f+1|0)|0;if(!g){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break n}o=cb(g,i,f);t[f+o|0]=0}v[n+24>>2]=o}if(j){o=j;while(1){f=o;o=o+1|0;if(w[f|0]){continue}break}o=0;f=f-j|0;o:{if((f|0)<0){break o}g=Qa[v[256555]](f+1|0)|0;if(!g){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break o}o=cb(g,j,f);t[f+o|0]=0}v[n+28>>2]=o}if(k){o=k;while(1){f=o;o=o+1|0;if(w[f|0]){continue}break}o=0;f=f-k|0;p:{if((f|0)<0){break p}g=Qa[v[256555]](f+1|0)|0;if(!g){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break p}o=cb(g,k,f);t[f+o|0]=0}v[n+32>>2]=o}v[n+48>>2]=e;v[n+40>>2]=B;v[n+36>>2]=l;v[n+44>>2]=d;if((n|0)!=1164184){OH(n,1164184)}if(a){Qa[a|0](c,n);break a}q:{r:{s:{if(v[291045]|(b|!q)){break s}a=v[q>>2];if(!a){break s}b=v[a+((h|0)==1?84:88)>>2];c=v[q+4>>2];break r}if(b){break q}b=v[256654];c=q;if(q){break r}c=v[291043]}if(!b){break a}}t:{u:{switch(b-2651|0){default:if((b|0)!=2654){break t}break;case 0:case 1:case 2:break u}}bY(n,q,r,0,0);break a}if(!((b|0)!=2655&(b|0)!=2656)){bY(n,q,r,b,c);break a}v[y>>2]=r;Qa[b|0](c,237230,y)}Ma=y+16|0}function _Sa(a){a=a|0;var 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,y=0,z=0,A=0;g=Ma-311760|0;Ma=g;v[285945]=0;v[285944]=0;v[285943]=0;eb(g- -64|0,128,311696);r=v[249419];f=x[a+26308>>1];a:{if(!f){f=0;break a}m=x[a+26310>>1];l=2;while(1){k=l;l=k+1|0;j=k&1;c=j|2;b:{if(c>>>0>=(m&65535)+2>>>0){b=c;break b}s=!j|(g- -64|0)+B(l,644);p=k-1|0;if(q){b=g- -64|0;n=b+B(k,644)|0;i=n|c;h=j|n;p=b+B(p,644)|0;e=j|p;y=e;b=w[h|0]+((w[e+3|0]<<1)+w[e+1|0]|0)>>>2|0;d=(b>>>0>89?b:89)-89|0;t[i|0]=d;t[s|0]=d;t[h|0]=d;o=(k|0)!=2;if(!o){t[e+5|0]=d;t[y+3|0]=d}b=j|4;j=m&65535;if(j>>>0<=c>>>0){break b}d=w[i|0];c=w[y+3|0];while(1){e=c&255;i=b+p|0;h=i;c=w[h+1|0];e=(e+(c<<1)|0)+(d&255)>>>2|0;d=(e>>>0>89?e:89)-89|0;t[b+n|0]=d;if(!o){t[i+3|0]=d;t[h+1|0]=d;c=d}h=b>>>0>>0;e=b+2|0;b=e;if(h){continue}break}b=e;break b}while(1){b=g- -64|0;j=(b+B(k,644)|0)+c|0;o=j-2|0;n=(b+B(p,644)|0)+c|0;i=n;h=w[o|0]+(w[i-1|0]+(w[i+1|0]<<1)|0)>>>2|0;b=0;c:{if(q){break c}f=v[285944];d:{if((f|0)>=4){d=v[285943];break d}while(1){e:{f:{d=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;g:{if((d|0)==-1){if(!v[a+26160>>2]){v[g+48>>2]=v[a+25208>>2];vb(r,8292,g+48|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,r);v[a+26160>>2]=1;break g}b=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[g+32>>2]=b;v[g+36>>2]=b>>31;vb(r,14622,g+32|0)}v[a+26160>>2]=1;break g}if(!v[a+26144>>2]){break g}if((d|0)==255){break f}}v[285945]=0;break e}b=0;e=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[285945]=(e|0)!=0;if(!e){break e}z=1;q=1;break c}z=0;b=v[285944];f=b+8|0;v[285944]=f;d=d&255|v[285943]<<8;v[285943]=d;if((b|0)<-4){continue}break}}q=0;v[285944]=f-4;b=d<<32-f>>>28|0}b=h+u[(b<<1)+196272>>1]|0;b=(b|0)<255?b:255;d=(b|0)>0?b:0;t[j|0]=d;if(c>>>0<=3){t[s|0]=d;t[o|0]=d}if((k|0)==2){t[n+3|0]=d;t[i+1|0]=d}m=x[a+26310>>1];e=m>>>0>c>>>0;b=c+2|0;c=b;if(e){continue}break}f=x[a+26308>>1]}t[((g- -64|0)+B(k,644)|0)+b|0]=d;if((f&65535)+2>>>0>l>>>0){continue}break}}k=1;i=0;while(1){if((f&65535)>>>0>i>>>0){l=i^3;b=x[a+26310>>1];while(1){h=i;i=h+2|0;A=i;if(l>>>0<(b&65535)+2>>>0){p=h+4|0;f=l;while(1){b=(g- -64|0)+B(h,644)|0;o=b+f|0;q=w[o|0];h:{if(!(f>>>0>3&h>>>0>=2)){m=f-2|0;b=w[m+((g- -64|0)+B(i,644)|0)|0];e=2;break h}m=f-2|0;c=w[b+m|0];j=q-c|0;y=j>>31;b=w[((g- -64|0)+B(i,644)|0)+m|0];d=q-b|0;s=d>>31;c=b-c|0;n=c>>31;c=((y^j+y)+(s^d+s)|0)+(n^c+n)|0;e=0;if(c>>>0<4){break h}e=1;if(c>>>0<8){break h}e=2;if(c>>>0<16){break h}e=3;if(c>>>0<32){break h}e=c>>>0<48?4:5}j=b+q>>>1|0;b=0;i:{if(z){break i}c=v[285944];j:{if((c|0)>=2){d=v[285943];break j}while(1){k:{l:{d=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;m:{if((d|0)==-1){if(!v[a+26160>>2]){v[g+16>>2]=v[a+25208>>2];vb(r,8292,g+16|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,r);v[a+26160>>2]=1;break m}b=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[g>>2]=b;v[g+4>>2]=b>>31;vb(r,14622,g)}v[a+26160>>2]=1;break m}if(!v[a+26144>>2]){break m}if((d|0)==255){break l}}v[285945]=0;break k}b=0;c=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[285945]=(c|0)!=0;if(!c){break k}z=1;break i}b=v[285944];c=b+8|0;v[285944]=c;d=d&255|v[285943]<<8;v[285943]=d;if((b|0)<-6){continue}break}}z=0;v[285944]=c-2;b=d<<32-c>>>30|0}b=j+u[(e<<3|b<<1)+196304>>1]|0;b=(b|0)<255?b:255;b=(b|0)>0?b:0;t[((g- -64|0)+B(i,644)|0)+f|0]=b;if(h>>>0<=1){t[o+2|0]=b}if(f>>>0<=3){t[((g- -64|0)+B(p,644)|0)+m|0]=b}b=x[a+26310>>1];c=f>>>0>>0;f=f+2|0;if(c){continue}break}f=x[a+26308>>1]}if(A>>>0<(f&65535)>>>0){continue}break}}i=1;b=k;k=0;if(b){continue}break}b=f&65535;n:{if(!b){break n}k=b+1|0;l=x[a+26310>>1];e=l+2|0;c=2;while(1){d=c&1^3;if(e>>>0>d>>>0){while(1){h=((g- -64|0)+B(c,644)|0)+d|0;b=w[h+1|0]+(w[h-1|0]+(w[h|0]<<2)|0)>>>1|0;b=b>>>0<511?b:511;t[h|0]=(b|0)>256?b:256;b=d>>>0>>0;d=d+2|0;if(b){continue}break}}b=(c|0)==(k|0);c=c+1|0;if(!b){continue}break}if(!(f&65535)){break n}b=x[a+26310>>1];c=0;while(1){e=b&65535;b=0;if(e){h=c+2|0;k=c<<1&14;l=v[a+26028>>2];e=v[a+26352>>2];d=0;while(1){b=x[a+26316>>1];u[(e+(B(x[a+26320>>1],c>>>b|0)+(d>>>b|0)<<3)|0)+((l>>>((k|d&1)<<1)&3)<<1)>>1]=x[(w[((B(h,644)+g|0)+d|0)+66|0]<<1)+196352>>1];b=x[a+26310>>1];d=d+1|0;if(b>>>0>d>>>0){continue}break}f=x[a+26308>>1]}c=c+1|0;if(c>>>0<(f&65535)>>>0){continue}break}}v[a+26124>>2]=1023;Ma=g+311760|0}function gca(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,j=0,k=0,l=0,m=0;h=Ma+-64|0;Ma=h;v[h+56>>2]=b;v[e>>2]=0;i=v[d+28>>2];v[h>>2]=i;v[i+4>>2]=v[i+4>>2]+1;i=hi(h);j=v[h>>2];k=v[j+4>>2]-1|0;v[j+4>>2]=k;if((k|0)==-1){Qa[v[v[j>>2]+8>>2]](j)}a:{b:{c:{d:{switch(g-65|0){case 0:case 32:sO(a,f+24|0,h+56|0,c,e,i);break b;case 1:case 33:case 39:rO(a,f+16|0,h+56|0,c,e,i);break b;case 34:g=h;i=a;j=b;b=Qa[v[v[a+8>>2]+12>>2]](a+8|0)|0;a=b;if(w[b+11|0]>>>7|0){a=v[a>>2]}k=a;if(w[b+11|0]>>>7|0){a=v[b>>2]}else{a=b}if(w[b+11|0]>>>7|0){b=v[b+4>>2]}else{b=w[b+11|0]}l=g,m=Um(i,j,c,d,e,f,k,a+(b<<2)|0),v[l+56>>2]=m;break b;case 35:case 36:a=Vl(h+56|0,c,e,i,2);b=v[e>>2];e:{if(!(b&4|(a|0)<1|(a|0)>31)){v[f+12>>2]=a;break e}v[e>>2]=b|4}break b;case 3:g=v[251031];v[h+24>>2]=v[251030];v[h+28>>2]=g;g=v[251029];v[h+16>>2]=v[251028];v[h+20>>2]=g;g=v[251027];v[h+8>>2]=v[251026];v[h+12>>2]=g;g=v[251025];v[h>>2]=v[251024];v[h+4>>2]=g;l=h,m=Um(a,b,c,d,e,f,h,h+32|0),v[l+56>>2]=m;break b;case 5:g=v[251039];v[h+24>>2]=v[251038];v[h+28>>2]=g;g=v[251037];v[h+16>>2]=v[251036];v[h+20>>2]=g;g=v[251035];v[h+8>>2]=v[251034];v[h+12>>2]=g;g=v[251033];v[h>>2]=v[251032];v[h+4>>2]=g;l=h,m=Um(a,b,c,d,e,f,h,h+32|0),v[l+56>>2]=m;break b;case 7:a=Vl(h+56|0,c,e,i,2);b=v[e>>2];f:{if(!(b&4|(a|0)>23)){v[f+8>>2]=a;break f}v[e>>2]=b|4}break b;case 8:a=Vl(h+56|0,c,e,i,2);b=v[e>>2];g:{if(!(b&4|(a|0)<1|(a|0)>12)){v[f+8>>2]=a;break g}v[e>>2]=b|4}break b;case 41:a=Vl(h+56|0,c,e,i,3);b=v[e>>2];h:{if(!(b&4|(a|0)>365)){v[f+28>>2]=a;break h}v[e>>2]=b|4}break b;case 44:a=Vl(h+56|0,c,e,i,2);b=v[e>>2];i:{if(!(b&4|(a|0)>12)){v[f+16>>2]=a-1;break i}v[e>>2]=b|4}break b;case 12:a=Vl(h+56|0,c,e,i,2);b=v[e>>2];j:{if(!(b&4|(a|0)>59)){v[f+4>>2]=a;break j}v[e>>2]=b|4}break b;case 45:case 51:b=h+56|0;d=Ma-16|0;Ma=d;v[d+8>>2]=c;while(1){k:{if(!Lh(b,d+8|0)){break k}a=i;c=v[b>>2];f=v[c+12>>2];l:{if((f|0)==v[c+16>>2]){c=Qa[v[v[c>>2]+36>>2]](c)|0;break l}c=v[f>>2]}if(!(Qa[v[v[i>>2]+12>>2]](a,8192,c)|0)){break k}Yf(b);continue}break};if(jg(b,d+8|0)){v[e>>2]=v[e>>2]|2}Ma=d+16|0;break b;case 47:g=h+56|0;b=Qa[v[v[a+8>>2]+8>>2]](a+8|0)|0;a=b;d=v[b+4>>2];m:{if(w[b+11|0]>>>7|0){break m}d=w[a+11|0]}if(w[b+23|0]>>>7|0){a=v[b+16>>2]}else{a=w[b+23|0]}n:{if((d|0)==(0-a|0)){v[e>>2]=v[e>>2]|4;break n}b=Bx(g,c,b,b+24|0,i,e,0)-b|0;a=v[f+8>>2];if(!(b|(a|0)!=12)){v[f+8>>2]=0;break n}if(!((b|0)!=12|(a|0)>11)){v[f+8>>2]=a+12}}break b;case 49:g=cb(h,1004160,44);l=g,m=Um(a,b,c,d,e,f,g,g+44|0),v[l+56>>2]=m;break b;case 17:v[h+16>>2]=v[251056];g=v[251055];v[h+8>>2]=v[251054];v[h+12>>2]=g;g=v[251053];v[h>>2]=v[251052];v[h+4>>2]=g;l=h,m=Um(a,b,c,d,e,f,h,h+20|0),v[l+56>>2]=m;break b;case 18:a=Vl(h+56|0,c,e,i,2);b=v[e>>2];o:{if(!(b&4|(a|0)>60)){v[f>>2]=a;break o}v[e>>2]=b|4}break b;case 19:g=v[251067];v[h+24>>2]=v[251066];v[h+28>>2]=g;g=v[251065];v[h+16>>2]=v[251064];v[h+20>>2]=g;g=v[251063];v[h+8>>2]=v[251062];v[h+12>>2]=g;g=v[251061];v[h>>2]=v[251060];v[h+4>>2]=g;l=h,m=Um(a,b,c,d,e,f,h,h+32|0),v[l+56>>2]=m;break b;case 54:a=Vl(h+56|0,c,e,i,1);b=v[e>>2];p:{if(!(b&4|(a|0)>6)){v[f+24>>2]=a;break p}v[e>>2]=b|4}break b;case 55:a=Qa[v[v[a>>2]+20>>2]](a,b,c,d,e,f)|0;break a;case 23:g=h;i=a;j=b;b=Qa[v[v[a+8>>2]+24>>2]](a+8|0)|0;a=b;if(w[b+11|0]>>>7|0){a=v[a>>2]}k=a;if(w[b+11|0]>>>7|0){a=v[b>>2]}else{a=b}if(w[b+11|0]>>>7|0){b=v[b+4>>2]}else{b=w[b+11|0]}l=g,m=Um(i,j,c,d,e,f,k,a+(b<<2)|0),v[l+56>>2]=m;break b;case 56:qO(f+20|0,h+56|0,c,e,i);break b;case 24:a=Vl(h+56|0,c,e,i,4);if(!(w[e|0]&4)){v[f+20>>2]=a-1900}break b;default:if((g|0)==37){break c}break;case 2:case 4:case 6:case 9:case 10:case 11:case 13:case 14:case 15:case 16:case 20:case 21:case 22:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 37:case 38:case 40:case 42:case 43:case 46:case 48:case 50:case 52:case 53:break d}}v[e>>2]=v[e>>2]|4;break b}d=Ma-16|0;Ma=d;v[d+8>>2]=c;b=6;f=h+56|0;q:{r:{if(jg(f,d+8|0)){break r}b=4;a=i;c=v[f>>2];g=v[c+12>>2];s:{if((g|0)==v[c+16>>2]){c=Qa[v[v[c>>2]+36>>2]](c)|0;break s}c=v[g>>2]}if((Qa[v[v[i>>2]+52>>2]](a,c,0)|0)!=37){break r}b=2;if(!jg(Yf(f),d+8|0)){break q}}v[e>>2]=v[e>>2]|b}Ma=d+16|0}a=v[h+56>>2]}Ma=h- -64|0;return a|0}function tsa(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,p=0;a=eb(a,0,256);d=v[b>>2]+c|0;f=w[d+3|0];g=w[d|0];e=f+g|0;h=w[d+2|0];d=w[d+1|0];i=h+d|0;v[a+8>>2]=e-i<<3;v[a>>2]=(e+i<<3)-4096;e=d-h|0;f=g-f|0;d=B(e+f|0,4433)+512|0;v[a+12>>2]=d+B(e,-15137)>>10;v[a+4>>2]=d+B(f,6270)>>10;d=v[b+4>>2]+c|0;f=w[d+3|0];g=w[d|0];e=f+g|0;h=w[d+2|0];d=w[d+1|0];i=h+d|0;v[a+40>>2]=e-i<<3;v[a+32>>2]=(e+i<<3)-4096;e=d-h|0;f=g-f|0;d=B(e+f|0,4433)+512|0;v[a+44>>2]=d+B(e,-15137)>>10;v[a+36>>2]=d+B(f,6270)>>10;d=v[b+8>>2]+c|0;f=w[d+3|0];g=w[d|0];e=f+g|0;h=w[d+2|0];d=w[d+1|0];i=h+d|0;v[a+72>>2]=e-i<<3;v[a+64>>2]=(e+i<<3)-4096;e=d-h|0;f=g-f|0;d=B(e+f|0,4433)+512|0;v[a+76>>2]=d+B(e,-15137)>>10;v[a+68>>2]=d+B(f,6270)>>10;d=v[b+12>>2]+c|0;f=w[d+3|0];g=w[d|0];e=f+g|0;h=w[d+2|0];d=w[d+1|0];i=h+d|0;v[a+104>>2]=e-i<<3;v[a+96>>2]=(e+i<<3)-4096;e=d-h|0;f=g-f|0;d=B(e+f|0,4433)+512|0;v[a+108>>2]=d+B(e,-15137)>>10;v[a+100>>2]=d+B(f,6270)>>10;d=v[b+16>>2]+c|0;f=w[d+3|0];g=w[d|0];e=f+g|0;h=w[d+2|0];d=w[d+1|0];i=h+d|0;v[a+136>>2]=e-i<<3;v[a+128>>2]=(e+i<<3)-4096;e=d-h|0;f=g-f|0;d=B(e+f|0,4433)+512|0;v[a+140>>2]=d+B(e,-15137)>>10;v[a+132>>2]=d+B(f,6270)>>10;d=v[b+20>>2]+c|0;f=w[d+3|0];g=w[d|0];e=f+g|0;h=w[d+2|0];d=w[d+1|0];i=h+d|0;v[a+168>>2]=e-i<<3;v[a+160>>2]=(e+i<<3)-4096;e=d-h|0;f=g-f|0;d=B(e+f|0,4433)+512|0;v[a+172>>2]=d+B(e,-15137)>>10;v[a+164>>2]=d+B(f,6270)>>10;d=v[b+24>>2]+c|0;f=w[d+3|0];g=w[d|0];e=f+g|0;h=w[d+2|0];i=w[d+1|0];d=h+i|0;v[a+200>>2]=e-d<<3;d=(d+e<<3)-4096|0;v[a+192>>2]=d;e=i-h|0;g=g-f|0;f=B(e+g|0,4433)+512|0;v[a+204>>2]=f+B(e,-15137)>>10;v[a+196>>2]=f+B(g,6270)>>10;b=v[b+28>>2]+c|0;c=w[b+3|0];f=w[b|0];g=c+f|0;e=w[b+2|0];h=w[b+1|0];b=e+h|0;v[a+232>>2]=g-b<<3;b=(b+g<<3)-4096|0;v[a+224>>2]=b;g=h-e|0;f=f-c|0;c=B(g+f|0,4433)+512|0;v[a+236>>2]=c+B(g,-15137)>>10;c=c+B(f,6270)>>10;v[a+228>>2]=c;g=v[a>>2];f=g+b|0;e=v[a+128>>2];h=v[a+96>>2];i=e+h|0;j=(f+i|0)+2|0;k=v[a+160>>2];l=v[a+64>>2];m=k+l|0;n=v[a+32>>2];o=n+d|0;p=m+o|0;v[a+128>>2]=j-p>>2;v[a>>2]=j+p>>2;i=f-i|0;j=o-m|0;f=B(i+j|0,4433)+16384|0;v[a+192>>2]=f+B(j,-15137)>>15;v[a+64>>2]=f+B(i,6270)>>15;f=h-e|0;b=g-b|0;g=B(f+b|0,-7373);d=n-d|0;i=d+f|0;e=l-k|0;j=e+b|0;h=B(i+j|0,9633)+16384|0;k=g+B(f,2446)|0;f=h+B(i,-16069)|0;v[a+224>>2]=k+f>>15;h=h+B(j,-3196)|0;i=B(e,16819);e=B(d+e|0,-20995);v[a+160>>2]=h+(i+e|0)>>15;v[a+96>>2]=f+(e+B(d,25172)|0)>>15;v[a+32>>2]=h+(g+B(b,12299)|0)>>15;d=v[a+4>>2];b=d+c|0;f=v[a+132>>2];g=v[a+100>>2];e=f+g|0;h=(b+e|0)+2|0;i=v[a+164>>2];j=v[a+68>>2];k=i+j|0;l=v[a+196>>2];m=v[a+36>>2];n=l+m|0;o=k+n|0;v[a+132>>2]=h-o>>2;v[a+4>>2]=h+o>>2;e=b-e|0;h=n-k|0;b=B(e+h|0,4433)+16384|0;v[a+196>>2]=b+B(h,-15137)>>15;v[a+68>>2]=b+B(e,6270)>>15;b=g-f|0;c=d-c|0;d=B(b+c|0,-7373);f=m-l|0;h=f+b|0;g=j-i|0;i=g+c|0;e=B(h+i|0,9633)+16384|0;j=d+B(b,2446)|0;b=e+B(h,-16069)|0;v[a+228>>2]=j+b>>15;e=e+B(i,-3196)|0;h=B(g,16819);g=B(f+g|0,-20995);v[a+164>>2]=e+(h+g|0)>>15;v[a+100>>2]=b+(g+B(f,25172)|0)>>15;v[a+36>>2]=e+(d+B(c,12299)|0)>>15;c=v[a+232>>2];d=v[a+8>>2];b=c+d|0;f=v[a+136>>2];g=v[a+104>>2];e=f+g|0;h=(b+e|0)+2|0;i=v[a+168>>2];j=v[a+72>>2];k=i+j|0;l=v[a+200>>2];m=v[a+40>>2];n=l+m|0;o=k+n|0;v[a+136>>2]=h-o>>2;v[a+8>>2]=h+o>>2;e=b-e|0;h=n-k|0;b=B(e+h|0,4433)+16384|0;v[a+200>>2]=b+B(h,-15137)>>15;v[a+72>>2]=b+B(e,6270)>>15;b=g-f|0;c=d-c|0;d=B(b+c|0,-7373);f=m-l|0;h=f+b|0;g=j-i|0;i=g+c|0;e=B(h+i|0,9633)+16384|0;j=d+B(b,2446)|0;b=e+B(h,-16069)|0;v[a+232>>2]=j+b>>15;e=e+B(i,-3196)|0;h=B(g,16819);g=B(f+g|0,-20995);v[a+168>>2]=e+(h+g|0)>>15;v[a+104>>2]=b+(g+B(f,25172)|0)>>15;v[a+40>>2]=e+(d+B(c,12299)|0)>>15;c=v[a+236>>2];d=v[a+12>>2];b=c+d|0;f=v[a+140>>2];g=v[a+108>>2];e=f+g|0;h=(b+e|0)+2|0;i=v[a+172>>2];j=v[a+76>>2];k=i+j|0;l=v[a+204>>2];m=v[a+44>>2];n=l+m|0;o=k+n|0;v[a+140>>2]=h-o>>2;v[a+12>>2]=h+o>>2;e=b-e|0;h=n-k|0;b=B(e+h|0,4433)+16384|0;v[a+204>>2]=b+B(h,-15137)>>15;v[a+76>>2]=b+B(e,6270)>>15;b=g-f|0;c=d-c|0;d=B(b+c|0,-7373);f=m-l|0;h=f+b|0;g=j-i|0;i=g+c|0;e=B(h+i|0,9633)+16384|0;j=d+B(b,2446)|0;b=e+B(h,-16069)|0;v[a+236>>2]=j+b>>15;e=e+B(i,-3196)|0;h=B(g,16819);g=B(f+g|0,-20995);v[a+172>>2]=e+(h+g|0)>>15;v[a+108>>2]=b+(g+B(f,25172)|0)>>15;v[a+44>>2]=e+(d+B(c,12299)|0)>>15}function y$(a,b){var 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,y=0,z=0,A=0;r=Ma-16|0;Ma=r;f=B(b,1348)+a|0;o=f;h=v[f+52>>2];a:{b:{if(h){f=v[f+44>>2];d=So(a,b);if(d){break a}if((f|0)<1){break b}f=B(f,44)+h|0;while(1){d=v[h+36>>2];c=x[d>>1];e=w[h|0];t[h|0]=e&254;i=v[h+40>>2];c:{if((i|0)==(d|0)){break c}c=c&3;while(1){g=c;d=v[d+32>>2];c=x[d>>1]&3;if(!((g|c)&65535)){break c}if((d|0)!=(i|0)){continue}break}t[h|0]=e|1}h=h+44|0;if(f>>>0>h>>>0){continue}break}break b}d=So(a,b);if(d){break a}}l=v[v[a+2748>>2]+40>>2]/256|0;m=B(b,1348)+a|0;n=m+44|0;c=v[n>>2];f=v[o+52>>2];h=v[m+68>>2];z=(b?12:4)+a|0;p=Ub(192,v[z>>2]);if((c|0)>=1){j=B(c,44)+f|0;c=f;while(1){d=f;if((h|0)==t[c+1|0]){while(1){d:{if((c|0)==(d|0)|(h|0)!=(0-t[d+1|0]|0)){break d}i=u[d+2>>1]-u[c+2>>1]|0;if((i|0)<0){break d}e=u[d+8>>1];g=u[c+8>>1];q=(e|0)<(g|0)?e:g;e=u[d+6>>1];g=u[c+6>>1];e=q-((e|0)>(g|0)?e:g)|0;if((e|0)<(l|0)){break d}g=i<<3;k=v[c+28>>2];if(!((g|0)>=(B(k,9)|0)|(e|0)<=v[c+32>>2]&(g|0)>=(B(k,7)|0))){v[c+32>>2]=e;v[c+28>>2]=i;v[c+20>>2]=d}k=v[d+28>>2];if((g|0)>=(B(k,9)|0)|(e|0)<=v[d+32>>2]&(g|0)>=(B(k,7)|0)){break d}v[d+32>>2]=e;v[d+28>>2]=i;v[d+20>>2]=c}d=d+44|0;if(j>>>0>d>>>0){continue}break}}c=c+44|0;if(j>>>0>c>>>0){continue}break}c=f;while(1){e=v[c+20>>2];e:{if(!e|v[e+20>>2]!=(c|0)){break e}l=u[e+2>>1];k=u[c+2>>1];if((l|0)<=(k|0)){break e}s=v[c+28>>2];if((s|0)>=(p|0)){break e}A=s<<2;d=f;while(1){f:{i=u[d+2>>1];g:{if((c|0)==(d|0)|(i|0)>(k|0)){break g}h=v[d+20>>2];if(!h|v[h+20>>2]!=(d|0)){break g}g=u[h+2>>1];if((g|0)<(l|0)|(i|0)==(k|0)&(g|0)==(l|0)){break g}i=v[d+28>>2];if((i|0)<=(s|0)|(i|0)>=(A|0)){break g}g=f;if(v[c+32>>2]<(B(v[d+32>>2],3)|0)){break f}while(1){i=e;y=v[g+20>>2];h:{if((y|0)!=(d|0)){i=c;if((h|0)!=(y|0)){break h}}v[g+24>>2]=i;v[g+20>>2]=0}g=g+44|0;if(j>>>0>g>>>0){continue}break}}d=d+44|0;if(j>>>0>d>>>0){continue}break e}break}v[e+20>>2]=0;v[c+20>>2]=0}c=c+44|0;if(j>>>0>c>>>0){continue}break}while(1){c=v[f+20>>2];i:{if(!c|v[c+20>>2]==(f|0)){break i}v[f+20>>2]=0;d=v[c+28>>2];if((d|0)>=(p|0)&v[f+28>>2]>=d<<2){break i}v[f+24>>2]=v[c+20>>2]}f=f+44|0;if(j>>>0>f>>>0){continue}break}}s=v[a>>2];e=v[o+52>>2];c=v[a+2748>>2];v[m+56>>2]=0;f=v[n>>2];c=c+B(b,7676)|0;o=v[z>>2];j:{if((xb(v[c+248>>2],o)|0)>=17){i=Ub(16,o);break j}i=v[c+248>>2]}p=(B(b,1348)+a|0)- -64|0;if((f|0)>=1){z=B(f,44)+e|0;while(1){k:{l:{A=v[m+56>>2];m:{if((A|0)<=0){a=w[e+1|0];break m}a=w[e+1|0];l=v[p>>2];b=0;f=65535;h=0;while(1){d=B(h,44);g=d+l|0;n:{if(w[g+13|0]!=(a&255)){break n}j=u[e+2>>1]-u[g>>1]|0;c=j>>31;j=c^c+j;if((j|0)>=(i|0)|(f|0)<=(j|0)){break n}y=v[e+20>>2];if(y){c=0;q=v[(d+l|0)+36>>2];d=q;while(1){o:{k=v[d+20>>2];if(k){c=u[y+2>>1];k=u[k+2>>1];c=(c|0)>(k|0)?c-k|0:k-c|0;if((i|0)<=(c|0)){break o}}d=v[d+16>>2];if((q|0)!=(d|0)){continue}}break}if((c|0)>=(i|0)){break n}}f=j;b=g}h=h+1|0;if((A|0)!=(h|0)){continue}break}if(b){break l}}d=L$(n,u[e+2>>1],a<<24>>24,0,s,r+12|0);if(d){break a}a=v[r+12>>2];v[a+40>>2]=e;v[a+36>>2]=e;v[a>>2]=0;v[a+4>>2]=0;v[a+32>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;t[a+13|0]=w[e+1|0];b=a;a=u[e+2>>1];u[b>>1]=a;a=xb(a,o);b=v[r+12>>2];v[b+8>>2]=a;v[b+4>>2]=a;v[e+16>>2]=e;break k}v[e+16>>2]=v[b+36>>2];v[v[b+40>>2]+16>>2]=e;v[b+40>>2]=e}e=e+44|0;if(z>>>0>e>>>0){continue}break}}a=v[m+56>>2];if((a|0)>=1){f=v[p>>2];o=f+B(a,44)|0;c=f;while(1){a=v[c+36>>2];d=a;if(d){while(1){v[d+12>>2]=c;d=v[d+16>>2];if((a|0)!=(d|0)){continue}break}}c=c+44|0;if(o>>>0>c>>>0){continue}break}while(1){m=0;g=0;j=v[f+36>>2];if(j){h=f+28|0;a=f+24|0;d=j;while(1){p=t[d|0]&1;l=!p;c=v[d+24>>2];p:{q:{if(c){b=v[d+20>>2];e=v[c+12>>2];if(!b&(e|0)==(f|0)){break p}if((e|0)==(f|0)){i=0;e=a;break q}i=1;e=h;b=c;break q}i=0;e=a;b=v[d+20>>2];if(!b){break p}}c=v[e>>2];r:{if(c){n=u[f>>1]-u[c>>1]|0;e=n>>31;q=e^e+n;e=u[d+2>>1];n=u[b+2>>1];if((q|0)<=(((e|0)>(n|0)?e-n|0:n-e|0)|0)){break r}}c=v[b+12>>2]}if(i){v[h>>2]=c;t[c+12|0]=w[c+12|0]|2;break p}v[a>>2]=c}m=m+p|0;g=g+l|0;d=v[d+16>>2];if((j|0)!=(d|0)){continue}break}}t[f+12|0]=(g|0)<=(m|0)&(m|0)>0;if(!(!v[f+28>>2]|!v[f+24>>2])){v[f+28>>2]=0}f=f+44|0;if(o>>>0>f>>>0){continue}break}}d=0}Ma=r+16|0;return d}function z$(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,y=0,z=0,A=0,C=0;n=Ma-80|0;Ma=n;a=qw(b,c);a:{if(a){break a}a=v[b+2740>>2];if(!(a&1)){a=y$(b,0);if(a){break a}x$(b,d,0);a=v[b+2740>>2]}if(!(a&2)){a=y$(b,1);if(a){break a}x$(b,d,1)}a=1;while(1){b:{e=v[b+2740>>2];o=a;c:{d:{if(a){if(e&1){break c}if(v[d+24>>2]|e&8){break d}v$(n+16|0,b,n+12|0,n+8|0);J$(b,v[n+12>>2],v[n+8>>2]);break c}if(e&2){break b}}r=B(l,1348)+b|0;z=r- -64|0;j=v[z>>2];p=v[r+56>>2];k=j+B(p,44)|0;i=0;a=j;s=(p|0)<1;if(!s){while(1){e=w[a+12|0];e:{if(e&4){break e}g=v[a+24>>2];f=v[a+20>>2];f:{g:{if(!f){if(!g){break e}e=v[g+20>>2];if(!e){break e}f=v[e+8>>2];v[g+8>>2]=f;t[g+12|0]=w[g+12|0]|4;e=g;g=a;break g}f=v[f+8>>2];t[a+12|0]=e|4;v[a+8>>2]=f;if(!g){break f}e=a;if(v[g+20>>2]){break f}}A=g,C=$A(b,l,v[g+4>>2]-v[e+4>>2]|0)+f|0,v[A+8>>2]=C;t[g+12|0]=w[g+12|0]|4}i=i?i:a}f=0;a=a+44|0;if(k>>>0>a>>>0){continue}break}a=j;g=i;m=0;e=0;i=0;while(1){y=w[a+12|0];h:{if(y&4){break h}h=v[a+24>>2];if(!h){i=i+1|0;break h}i:{if(!(e&255)){break i}q=m- -64|0;if((q|0)<=v[a+8>>2]&(q|0)<=v[h+8>>2]){break i}i=i+1|0;break h}if(v[h+20>>2]){q=v[h+8>>2];h=$A(b,l,v[a+4>>2]-v[h+4>>2]|0);t[a+12|0]=y|4;v[a+8>>2]=h+q;break h}if(a>>>0>h>>>0){e=v[h+8>>2];h=$A(b,l,v[a+4>>2]-v[h+4>>2]|0);t[a+12|0]=y|4;m=e+h|0;v[a+8>>2]=m;e=1;break h}j:{if(!((g|0)!=0|l)){f=w$(b,a,h,0,0);break j}w$(b,a,h,f,l)}t[a+12|0]=w[a+12|0]|4;t[h+12|0]=w[h+12|0]|4;m=v[h+8>>2];e=1;g=a}a=a+44|0;if(k>>>0>a>>>0){continue}break}}k:{if(!o){break k}e=4;g=2;a=j;l:{switch(p-6|0){case 6:a=j+44|0;e=9;g=5;break;case 0:break l;default:break k}}if(v[a+24>>2]!=(a+44|0)){break k}f=j+B(g,44)|0;if(v[f+24>>2]!=(f+44|0)){break k}h=B(e,44);g=h+j|0;e=v[g+24>>2];if((e|0)!=(h+(j+44|0)|0)){break k}m=(v[f+4>>2]<<1)-(v[a+4>>2]+v[g+4>>2]|0)|0;h=m>>31;if((h^h+m)>>>0>7){break k}h=v[g+8>>2];a=(v[f+8>>2]<<1)-v[a+8>>2]|0;v[g+8>>2]=a;a=h-a|0;if(e){v[e+8>>2]=v[e+8>>2]-a}if((p|0)==12){v[j+360>>2]=v[j+360>>2]-a;v[j+492>>2]=v[j+492>>2]-a}t[g+12|0]=w[g+12|0]|4;if(!e){break k}t[e+12|0]=w[e+12|0]|4}m:{if(!i){break m}a=j;if(s){break m}while(1){g=w[a+12|0];n:{if(g&4){break n}e=v[a+28>>2];if(!e){break n}f=v[e+8>>2];e=v[e+4>>2];t[a+12|0]=g|4;v[a+8>>2]=v[a+4>>2]+(f-e|0);i=i-1|0}a=a+44|0;if(k>>>0>a>>>0){continue}break}if(!i){break m}e=j;if(s){break m}while(1){a=e;o:{if(w[a+12|0]&4){break o}while(1){g=a;a=a-44|0;h=j>>>0>a>>>0;if(!(w[g-32|0]&4?1:h)){continue}break}i=e;m=e;p:{q:{r:{while(1){f=i;i=f+44|0;if(k>>>0<=i>>>0){break r}if(!(w[f+56|0]&4)){continue}break}if(a>>>0>=j>>>0){break q}h=v[e+4>>2]+(v[f+52>>2]-v[f+48>>2]|0)|0;break p}if(h){break o}h=v[e+4>>2]+(v[g-36>>2]-v[g-40>>2]|0)|0;break p}i=x[i>>1];a=x[a>>1];h=v[g-36>>2];if((i|0)==(a|0)){break p}a=a<<16>>16;g=v[g-36>>2];h=fc(u[e>>1]-a|0,v[f+52>>2]-g|0,(i<<16>>16)-a|0)+g|0}v[m+8>>2]=h}e=e+44|0;if(k>>>0>e>>>0){continue}break}}f=v[z>>2];a=v[r+56>>2];j=f+B(a,44)|0;s:{t:{if(l|o){if((a|0)<=0){break s}if(v[b+2744>>2]&(o?1:2)){if(o){while(1){g=v[f+8>>2];h=v[f+36>>2];a=h;while(1){i=a+36|0;k=v[a+40>>2];while(1){e=v[i>>2];v[e+16>>2]=g;u[e>>1]=x[e>>1]|4;i=e+32|0;if((e|0)!=(k|0)){continue}break}a=v[a+16>>2];if((h|0)!=(a|0)){continue}break}f=f+44|0;if(j>>>0>f>>>0){continue}break s}}while(1){g=v[f+8>>2];h=v[f+36>>2];a=h;while(1){i=a+36|0;k=v[a+40>>2];while(1){e=v[i>>2];v[e+20>>2]=g;u[e>>1]=x[e>>1]|8;i=e+32|0;if((e|0)!=(k|0)){continue}break}a=v[a+16>>2];if((h|0)!=(a|0)){continue}break}f=f+44|0;if(j>>>0>f>>>0){continue}break}break s}if(!o){break t}while(1){g=v[f+8>>2]-v[f+4>>2]|0;h=v[f+36>>2];a=h;while(1){i=a+36|0;k=v[a+40>>2];while(1){e=v[i>>2];v[e+16>>2]=g+v[e+16>>2];u[e>>1]=x[e>>1]|4;i=e+32|0;if((e|0)!=(k|0)){continue}break}a=v[a+16>>2];if((h|0)!=(a|0)){continue}break}f=f+44|0;if(j>>>0>f>>>0){continue}break}break s}if((a|0)<1){break s}}while(1){g=v[f+8>>2]-v[f+4>>2]|0;h=v[f+36>>2];a=h;while(1){i=a+36|0;k=v[a+40>>2];while(1){e=v[i>>2];v[e+20>>2]=g+v[e+20>>2];u[e>>1]=x[e>>1]|8;i=e+32|0;if((e|0)!=(k|0)){continue}break}a=v[a+16>>2];if((h|0)!=(a|0)){continue}break}f=f+44|0;if(j>>>0>f>>>0){continue}break}}kJ(b,l);jJ(b,l)}l=1;a=0;if(o){continue}}break}lJ(b,c);a=0}Ma=n+80|0;return a|0}function wo(a){var 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,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;c=Ma+-64|0;while(1){g=d<<2;b=g+c|0;g=a+g|0;v[b>>2]=w[g+16|0]|w[g+17|0]<<8|(w[g+18|0]<<16|w[g+19|0]<<24);d=d+1|0;if((d|0)!=16){continue}break}C=v[a>>2];l=v[a+8>>2];B=v[a+12>>2];g=v[a+4>>2];h=v[c+60>>2];i=v[c+56>>2];m=v[c+52>>2];j=v[c+48>>2];n=v[c+44>>2];o=v[c+40>>2];p=v[c+36>>2];q=v[c+32>>2];k=v[c+28>>2];r=v[c+24>>2];s=v[c+20>>2];t=v[c+16>>2];u=v[c+12>>2];x=v[c+8>>2];y=v[c+4>>2];z=v[c>>2];v[a+80>>2]=0;c=C3a(((((g&l)+C|0)+((g^-1)&B)|0)+z|0)-680876936|0,7)+g|0;d=C3a((((y+B|0)+(c&g)|0)+((c^-1)&l)|0)-389564586|0,12)+c|0;b=C3a((((l+x|0)+(c&d)|0)+(g&(d^-1))|0)+606105819|0,17)+d|0;e=C3a((((g+u|0)+(d&b)|0)+(c&(b^-1))|0)-1044525330|0,22)+b|0;c=C3a((((c+t|0)+(b&e)|0)+(d&(e^-1))|0)-176418897|0,7)+e|0;d=C3a((((d+s|0)+(c&e)|0)+(b&(c^-1))|0)+1200080426|0,12)+c|0;b=C3a((((b+r|0)+(c&d)|0)+(e&(d^-1))|0)-1473231341|0,17)+d|0;e=C3a((((e+k|0)+(d&b)|0)+(c&(b^-1))|0)-45705983|0,22)+b|0;f=d+p|0;d=C3a((((c+q|0)+(b&e)|0)+(d&(e^-1))|0)+1770035416|0,7)+e|0;f=C3a(((f+(d&e)|0)+(b&(d^-1))|0)-1958414417|0,12)+d|0;b=C3a((((b+o|0)+(d&f)|0)+(e&(f^-1))|0)-42063|0,17)+f|0;c=C3a((((e+n|0)+(f&b)|0)+(d&(b^-1))|0)-1990404162|0,22)+b|0;d=C3a((((d+j|0)+(c&b)|0)+(f&(c^-1))|0)+1804603682|0,7)+c|0;e=C3a((((f+m|0)+(d&c)|0)+(b&(d^-1))|0)-40341101|0,12)+d|0;f=e^-1;b=C3a((((b+i|0)+(d&e)|0)+(c&f)|0)-1502002290|0,17)+e|0;A=b^-1;D=(d+y|0)+(b&f)|0;f=C3a((((c+h|0)+(b&e)|0)+(d&A)|0)+1236535329|0,22)+b|0;c=C3a((D+(f&e)|0)-165796510|0,5)+f|0;d=(b+n|0)+(c&(f^-1))|0;b=C3a((((e+r|0)+(f&A)|0)+(c&b)|0)-1069501632|0,9)+c|0;d=C3a((d+(b&f)|0)+643717713|0,14)+b|0;e=C3a((((f+z|0)+(b&(c^-1))|0)+(c&d)|0)-373897302|0,20)+d|0;c=C3a((((c+s|0)+(d&(b^-1))|0)+(e&b)|0)-701558691|0,5)+e|0;b=C3a((((b+o|0)+(e&(d^-1))|0)+(c&d)|0)+38016083|0,9)+c|0;d=C3a((((d+h|0)+(c&(e^-1))|0)+(b&e)|0)-660478335|0,14)+b|0;e=C3a((((e+t|0)+(b&(c^-1))|0)+(c&d)|0)-405537848|0,20)+d|0;c=C3a((((c+p|0)+(d&(b^-1))|0)+(e&b)|0)+568446438|0,5)+e|0;b=C3a((((b+i|0)+(e&(d^-1))|0)+(c&d)|0)-1019803690|0,9)+c|0;d=C3a((((d+u|0)+(c&(e^-1))|0)+(b&e)|0)-187363961|0,14)+b|0;e=C3a((((e+q|0)+(b&(c^-1))|0)+(c&d)|0)+1163531501|0,20)+d|0;c=C3a((((c+m|0)+(d&(b^-1))|0)+(e&b)|0)-1444681467|0,5)+e|0;f=(d+k|0)+(c&(e^-1))|0;d=C3a((((b+x|0)+(e&(d^-1))|0)+(c&d)|0)-51403784|0,9)+c|0;b=C3a((f+(d&e)|0)+1735328473|0,14)+d|0;e=C3a((((e+j|0)+(d&(c^-1))|0)+(c&b)|0)-1926607734|0,20)+b|0;f=e^b;c=C3a(((c+s|0)+(f^d)|0)-378558|0,4)+e|0;A=b+n|0;b=C3a(((d+q|0)+(c^f)|0)-2022574463|0,11)+c|0;d=C3a((A+(b^(c^e))|0)+1839030562|0,16)+b|0;e=C3a(((e+i|0)+(d^(c^b))|0)-35309556|0,23)+d|0;c=C3a(((c+y|0)+(e^(d^b))|0)-1530992060|0,4)+e|0;b=C3a(((b+t|0)+(c^(d^e))|0)+1272893353|0,11)+c|0;d=C3a(((d+k|0)+(b^(c^e))|0)-155497632|0,16)+b|0;e=C3a(((e+o|0)+(d^(c^b))|0)-1094730640|0,23)+d|0;c=C3a(((c+m|0)+(e^(d^b))|0)+681279174|0,4)+e|0;b=C3a(((b+z|0)+(c^(d^e))|0)-358537222|0,11)+c|0;d=C3a(((d+u|0)+(b^(c^e))|0)-722521979|0,16)+b|0;e=C3a(((e+r|0)+(d^(c^b))|0)+76029189|0,23)+d|0;c=C3a(((c+p|0)+(e^(d^b))|0)-640364487|0,4)+e|0;b=C3a(((b+j|0)+(c^(d^e))|0)-421815835|0,11)+c|0;d=C3a(((d+h|0)+(b^(c^e))|0)+530742520|0,16)+b|0;f=b+k|0;k=b^-1;b=C3a(((e+x|0)+(d^(c^b))|0)-995338651|0,23)+d|0;e=C3a(((c+z|0)+(d^(k|b))|0)-198630844|0,6)+b|0;c=C3a((f+((e|d^-1)^b)|0)+1126891415|0,10)+e|0;f=e+j|0;j=b+s|0;b=C3a(((d+i|0)+(e^(c|b^-1))|0)-1416354905|0,15)+c|0;e=C3a((j+(c^(b|e^-1))|0)-57434055|0,21)+b|0;d=C3a((f+((e|c^-1)^b)|0)+1700485571|0,6)+e|0;f=e+y|0;i=b+o|0;b=C3a(((c+u|0)+(e^(d|b^-1))|0)-1894986606|0,10)+d|0;e=C3a((i+(d^(b|e^-1))|0)-1051523|0,15)+b|0;c=C3a((f+((e|d^-1)^b)|0)-2054922799|0,21)+e|0;f=e+r|0;h=b+h|0;b=C3a(((d+q|0)+(e^(c|b^-1))|0)+1873313359|0,6)+c|0;e=C3a((h+(c^(b|e^-1))|0)-30611744|0,10)+b|0;d=C3a((f+((e|c^-1)^b)|0)-1560198380|0,15)+e|0;c=C3a(((c+m|0)+(e^(d|b^-1))|0)+1309151649|0,21)+d|0;b=C3a(((b+t|0)+(d^(c|e^-1))|0)-145523070|0,6)+c|0;v[a>>2]=b+C;e=C3a(((e+n|0)+(c^(b|d^-1))|0)-1120210379|0,10)+b|0;v[a+12>>2]=e+B;d=C3a(((d+x|0)+(b^(e|c^-1))|0)+718787259|0,15)+e|0;v[a+8>>2]=d+l;E=a,F=C3a(((c+p|0)+(e^(d|b^-1))|0)-343485551|0,21)+(d+g|0)|0,v[E+4>>2]=F}function GAa(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,p=0,q=0,r=0;m=v[b+12>>2];j=v[b+8>>2];l=v[b+4>>2];q=v[l+44>>2];if(q){i=w[l+36|0];f=v[l+48>>2]}else{f=0}g=v[a+16>>2];p=i<<24>>24;k=p+(m-j|0)|0;o=f<<24>>24;a:{if((k|0)<(o|0)){break a}e=v[a+20>>2]-g|0;if((e|0)<(o|0)){v[c>>2]=-127;return}k=(e|0)<(k|0)?e:k;n=k-o|0;if((n|0)<1){break a}e=w[((p^-1)+k|0)+j|0];b:{if((e&192)!=128){break b}r=1;if((n|0)<=1){break a}o=(k-p|0)+j|0;e=w[o-2|0];if((e&192)!=128){break b}if((n|0)<3){break a}r=2;e=w[o-3|0];if((e&192)==128){break a}}n=(e>>>0>191)+(e>>>0>223)|0;c:{if(e>>>0<=239){break c}n=0;if(e>>>0>253){break c}n=(e>>>0>251)+(e>>>0>247?4:3)|0}if((n|0)<=(r|0)){break a}k=(r^-1)+k|0}d:{if(!q){d=j;e=0;break d}t[l+36|0]=0;v[l+44>>2]=0;h=i;e=1}e:while(1){if(!e){if((k|0)>0){while(1){j=d+1|0;i=t[d|0];f:{if((i|0)>=0){t[g|0]=i;g=g+1|0;e=-1;d=j;break f}g:{h:{i:{j:{k:{f=i&255;if(f>>>0>=225){h=t[j|0];if((h|0)>-1|!((h&255)>>>0<192&f>>>0<=236)&((i|0)!=-19|(h&255)>>>0>159)){break k}f=t[d+2|0];if((f|0)>-1|(f&255)>>>0>191){break j}t[g+2|0]=f;t[g+1|0]=h;t[g|0]=i;break g}if((i|0)!=-32){if(f>>>0<194){break j}f=t[j|0];if((f|0)>-1|(f&255)>>>0>191){break j}t[g+1|0]=f;t[g|0]=i;g=g+2|0;e=-2;d=d+2|0;break f}f=w[j|0];if((f&224)!=160){break j}h=t[d+2|0];if((h|0)>-1|(h&255)>>>0>191){break j}t[g+2|0]=h;t[g+1|0]=f;t[g|0]=224;break g}f=i&255;if(f>>>0>=240){break i}}f=i&255;e=(f>>>0>191)+(f>>>0>223)|0;break h}e=0;if(f>>>0>253){break h}f=i&255;e=(f>>>0>247?4:3)+(f>>>0>251)|0}q=i&255;h=1;f=e+1|0;i=0;e=1;continue e}g=g+3|0;e=-3;d=d+3|0}k=e+k|0;if((k|0)>0){continue}break}}l:{m:{n:{if(v[c>>2]>0|d>>>0>=m>>>0){break n}if(v[a+20>>2]==(g|0)){v[c>>2]=15;break n}k=w[d|0];o:{if(k>>>0<=239){f=(k>>>0>191)+(k>>>0>223)|0;break o}f=0;if(k>>>0>253){break o}f=(k>>>0>251)+(k>>>0>247?4:3)|0}if((f|0)>=(m-d|0)){t[l+37|0]=k;e=d+1|0;if((m|0)==(e|0)){d=1;break m}d=1;while(1){h=w[e|0];if((h&192)!=128){t[l+36|0]=d;v[c>>2]=12;m=e;break l}t[((d<<24>>24)+l|0)+37|0]=h;d=d+1|0;k=h+(k<<6)|0;e=e+1|0;if((m|0)!=(e|0)){continue}break}break m}v[c>>2]=-127}m=d;break l}v[l+48>>2]=f+1;t[l+36|0]=d;v[l+44>>2]=k}v[b+8>>2]=m;v[a+16>>2]=g;return}p:{q:{r:{s:{t:{u:{e=f<<24>>24;v:{if((e|0)<=h<<24>>24){break v}while(1){if(j>>>0>=m>>>0){break u}d=w[j|0];if((d&192)!=128){break v}j=j+1|0;q=d+(q<<6)|0;h=(h<<24)+16777216>>24;if((e|0)>(h|0)){continue}break}h=f}p=h<<24>>24;d=(h&255)!=(f&255);if(d|(h&254)!=2){break t}d=p<<2;e=q-v[d+840832>>2]|0;if((e&-2048)==55296|(e|0)>2]){break r}break s}e=i<<24>>24;m=h<<24>>24;d=(e-m|0)+j|0;f=f<<24>>24;w:{if((e|0)>=(m|0)){break w}c=m+(e^-1)|0;j=m-e&3;if(j){while(1){t[(e+l|0)+37|0]=w[d|0];e=e+1|0;d=d+1|0;j=j-1|0;if(j){continue}break}}if(c>>>0<3){break w}while(1){c=e+l|0;t[c+37|0]=w[d|0];t[c+38|0]=w[d+1|0];t[c+39|0]=w[d+2|0];t[c+40|0]=w[d+3|0];d=d+4|0;e=e+4|0;if((m|0)!=(e|0)){continue}break}}v[l+48>>2]=f;t[l+36|0]=h;v[l+44>>2]=q;v[b+8>>2]=d;v[a+16>>2]=g;return}if((h&255)!=4|d|q-63512704>>>0>=1048576){break r}}e=i<<24>>24;if((e|0)>=1){break q}i=0;break p}e=i<<24>>24;d=(e-p|0)+j|0;x:{if(h<<24>>24<=(e|0)){break x}f=p+(e^-1)|0;j=p-e&3;if(j){while(1){t[(e+l|0)+37|0]=w[d|0];e=e+1|0;d=d+1|0;j=j-1|0;if(j){continue}break}}if(f>>>0<3){break x}while(1){f=e+l|0;t[f+37|0]=w[d|0];t[f+38|0]=w[d+1|0];t[f+39|0]=w[d+2|0];t[f+40|0]=w[d+3|0];d=d+4|0;e=e+4|0;if((p|0)!=(e|0)){continue}break}}t[l+36|0]=h;v[b+8>>2]=d;v[a+16>>2]=g;v[c>>2]=12;return}o=i&3;d=i&255;y:{if(d-1>>>0<3){d=0;break y}r=d&252;d=0;n=l+37|0;while(1){t[g|0]=w[d+n|0];t[g+1|0]=w[n+(d|1)|0];t[g+2|0]=w[n+(d|2)|0];t[g+3|0]=w[n+(d|3)|0];d=d+4|0;g=g+4|0;r=r-4|0;if(r){continue}break}}if(!o){break p}while(1){t[g|0]=w[(d+l|0)+37|0];d=d+1|0;g=g+1|0;o=o-1|0;if(o){continue}break}}d=(e-p|0)+j|0;z:{if(h<<24>>24<=i<<24>>24){break z}o=(i^-1)+h|0;e=h-i&7;if(e){while(1){t[g|0]=w[d|0];i=i+1|0;g=g+1|0;d=d+1|0;e=e-1|0;if(e&255){continue}break}}if((o&255)>>>0<7){break z}while(1){t[g|0]=w[d|0];t[g+1|0]=w[d+1|0];t[g+2|0]=w[d+2|0];t[g+3|0]=w[d+3|0];t[g+4|0]=w[d+4|0];t[g+5|0]=w[d+5|0];t[g+6|0]=w[d+6|0];t[g+7|0]=w[d+7|0];g=g+8|0;d=d+8|0;i=(i<<24)- -134217728>>24;if((i|0)>24){continue}break}}k=k-p|0;e=0;continue}}function ki(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=Ma-112|0;Ma=d;v[a+8>>2]=0;v[a>>2]=969400;f=v[279250];v[a+20>>2]=0;v[a+12>>2]=f;v[a+16>>2]=988088;e=oo(ab(52));v[e+4>>2]=v[e+4>>2]+1;g=v[a+20>>2];a:{if(!g){break a}f=v[g+4>>2]-1|0;v[g+4>>2]=f;if(f){break a}Qa[v[v[g>>2]+4>>2]](g)}v[a+20>>2]=e;v[a+24>>2]=988088;v[a+28>>2]=0;e=oo(ab(52));v[e+4>>2]=v[e+4>>2]+1;g=v[a+28>>2];b:{if(!g){break b}f=v[g+4>>2]-1|0;v[g+4>>2]=f;if(f){break b}Qa[v[v[g>>2]+4>>2]](g)}t[a+32|0]=0;v[a+28>>2]=e;f=Vx(d- -64|0,b);v[d+64>>2]=987924;h=1;if(!w[d+96|0]){cg(f,1);h=w[d+96|0]!=0}v[d+88>>2]=969432;v[d+64>>2]=969400;e=v[d+92>>2];if(e){f=v[e+4>>2]-1|0;v[e+4>>2]=f;if(!f){Qa[v[v[e>>2]+4>>2]](e)}v[d+92>>2]=0}v[d+80>>2]=969432;e=v[d+84>>2];if(e){f=v[e+4>>2]-1|0;v[e+4>>2]=f;if(!f){Qa[v[v[e>>2]+4>>2]](e)}v[d+84>>2]=0}m=a+8|0;db(d+72|0);c:{d:{e:{if(h){b=v[b>>2];f:{if(b){Qa[v[v[b>>2]+28>>2]](d- -64|0,b,1);break f}v[d+64>>2]=0}jb(m,d- -64|0);c=v[d+64>>2];v[d+64>>2]=0;g:{if(!c){break g}b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(b){break g}b=v[c+4>>2];if(!b){v[c+4>>2]=-32767}if(!b){Qa[v[v[c>>2]+4>>2]](c)}}b=v[a+8>>2];v[a+12>>2]=v[(b?b+12|0:1117e3)>>2];break e}c=v[c+8>>2];k=v[(c?c+12|0:1117e3)>>2];l=Oc(d- -64|0,k);h=0;v[d+56>>2]=0;c=v[279250];v[d+60>>2]=c;v[d+52>>2]=c;v[d+48>>2]=0;v[d+44>>2]=c;v[d+40>>2]=0;Lr(d+32|0,l);c=v[d+32>>2];if(c){j=v[c+8>>2]}db(d+32|0);i=v[l>>2];if(i){h=v[i+8>>2]}f=j+1|0;h:{if((f|0)>=(h|0)){break h}i:{if(f){e=!i;c=f;j:{if((j|0)>-2){break j}c=f;if(!i){break j}c=f+v[i+8>>2]|0}if(e|(c|0)<0|v[i+8>>2]<(c|0)){break d}e=v[i+12>>2];break i}if(!i){break h}c=0;e=v[i+12>>2]}g=i;if(w[c+e|0]==47){f=j+2|0;k:{if(!f){c=0;break k}c=f;c=(j|0)<=-3?c+v[i+8>>2]|0:c;if((c|0)<0|v[i+8>>2]<(c|0)){break d}}f=w[c+e|0]==47?j+3|0:f}c=an(g,47,f);h=(c|0)>0?c:h}if((h|0)>=1){f=eg(d+32|0,k,h);c=v[f>>2];l:{if(c){Qa[v[v[c>>2]+28>>2]](d+24|0,c,1);break l}v[d+24>>2]=0}jb(d+40|0,d+24|0);e=v[d+24>>2];v[d+24>>2]=0;m:{if(!e){break m}c=v[e+4>>2]-1|0;v[e+4>>2]=c;if(c){break m}c=v[e+4>>2];if(!c){v[e+4>>2]=-32767}if(!c){Qa[v[v[e>>2]+4>>2]](e)}}c=v[d+40>>2];v[d+44>>2]=v[(c?c+12|0:1117e3)>>2];db(f)}e=h+k|0;h=e;n:{while(1){c=w[h|0];if(!c){break n}if(!((c|0)==35|(c|0)==63)){h=h+1|0;continue}break}f=Oc(d+32|0,h);c=v[f>>2];o:{if(c){Qa[v[v[c>>2]+28>>2]](d+24|0,c,1);break o}v[d+24>>2]=0}jb(d+56|0,d+24|0);g=v[d+24>>2];v[d+24>>2]=0;p:{if(!g){break p}c=v[g+4>>2]-1|0;v[g+4>>2]=c;if(c){break p}c=v[g+4>>2];if(!c){v[g+4>>2]=-32767}if(!c){Qa[v[v[g>>2]+4>>2]](g)}}c=v[d+56>>2];v[d+60>>2]=v[(c?c+12|0:1117e3)>>2];db(f)}if(e>>>0>>0){f=eg(d+32|0,e,h-e|0);c=v[f>>2];q:{if(c){Qa[v[v[c>>2]+28>>2]](d+24|0,c,1);break q}v[d+24>>2]=0}jb(d+48|0,d+24|0);e=v[d+24>>2];v[d+24>>2]=0;r:{if(!e){break r}c=v[e+4>>2]-1|0;v[e+4>>2]=c;if(c){break r}c=v[e+4>>2];if(!c){v[e+4>>2]=-32767}if(!c){Qa[v[v[e>>2]+4>>2]](e)}}c=v[d+48>>2];v[d+52>>2]=v[(c?c+12|0:1117e3)>>2];db(f)}c=v[b>>2];s:{if(w[v[(c?c+12|0:1117e3)>>2]]==47){bE(d+32|0,b);b=v[d+32>>2];t:{if(b){Qa[v[v[b>>2]+28>>2]](d+24|0,b,1);break t}v[d+24>>2]=0}jb(d+48|0,d+24|0);c=v[d+24>>2];v[d+24>>2]=0;u:{if(!c){break u}b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(b){break u}b=v[c+4>>2];if(!b){v[c+4>>2]=-32767}if(!b){Qa[v[v[c>>2]+4>>2]](c)}}b=v[d+48>>2];v[d+52>>2]=v[(b?b+12|0:1117e3)>>2];db(d+32|0);break s}e=d+24|0;f=wj(d+16|0,47);Xb(e,d+48|0,f);c=d+8|0;bE(c,b);Xb(d+32|0,e,c);b=v[d+32>>2];v:{if(b){Qa[v[v[b>>2]+28>>2]](d+104|0,b,1);break v}v[d+104>>2]=0}jb(d+48|0,d+104|0);c=v[d+104>>2];v[d+104>>2]=0;w:{if(!c){break w}b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(b){break w}b=v[c+4>>2];if(!b){v[c+4>>2]=-32767}if(!b){Qa[v[v[c>>2]+4>>2]](c)}}b=v[d+48>>2];v[d+52>>2]=v[(b?b+12|0:1117e3)>>2];db(d+32|0);db(d+8|0);db(d+24|0);db(f)}b=d+24|0;Xb(b,d+40|0,d+48|0);Xb(d,b,d+56|0);eQ(d+32|0,d);b=v[d+32>>2];x:{if(b){Qa[v[v[b>>2]+28>>2]](d+16|0,b,1);break x}v[d+16>>2]=0}jb(m,d+16|0);c=v[d+16>>2];v[d+16>>2]=0;y:{if(!c){break y}b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(b){break y}b=v[c+4>>2];if(!b){v[c+4>>2]=-32767}if(!b){Qa[v[v[c>>2]+4>>2]](c)}}b=v[a+8>>2];v[a+12>>2]=v[(b?b+12|0:1117e3)>>2];db(d+32|0);db(d);db(d+24|0);db(d+40|0);db(d+48|0);db(d+56|0);db(l)}Ma=d+112|0;break c}ni();L()}v[a>>2]=987924;return a}function q4(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=Ma-16|0;Ma=e;a:{b:{b=v[a+352>>2];if(b){break b}v[a+348>>2]=4200;b=Qa[v[a+152>>2]](4200)|0;v[a+352>>2]=b;if(b){break b}b=1;ob(a,1,0,0);break a}c:{d:{e:{if(!(w[a+369|0]!=1?w[a+345|0]:0)){b=$B(a,b,a+392|0,8,e+8|0);if(b){break a}if(w[a+368|0]){b=a+369|0}else{if(v[e+8>>2]!=8){b=4;ob(a,4,0,0);break a}b=1;f:{if((Zq(v[a+352>>2])|0)==-1991225785){break f}b=3;if((Zq(v[a+352>>2])|0)==-1958064569){break f}b=2;if((Zq(v[a+352>>2])|0)==-1974645177){break f}b=1025;ob(a,1025,0,0);break a}v[a+8>>2]=b;if((Zq(v[a+352>>2]+4|0)|0)!=218765834){break e}b=a+345|0}t[b|0]=1}b=0;if(w[a+368|0]){break a}i=a+396|0;h=a+392|0;while(1){if(!(w[a+432|0]|!w[a+344|0])){t[a+497|0]=0}g:{if(v[a+400>>2]){b=v[a+516>>2];h:{i:{if(b){while(1){b=Qa[v[b+4>>2]](a,b)|0;if(b){break a}b=v[a+516>>2];if(!b){break i}if(w[a+497|0]|w[a+499|0]){break h}if(!(w[a+432|0]|!w[a+344|0])){t[a+497|0]=0}b=v[b+8>>2];v[a+516>>2]=b;if(!b){if(w[a+285|0]|!w[a+304|0]){break i}b=ZB(a);if(b){break a}b=v[a+516>>2];if(!b){break i}if(w[a+497|0]|w[a+499|0]){break h}}if(!w[a+500|0]){continue}break i}}j:{k:{switch(w[a+498|0]-1|0){case 0:b=mL(a);break j;case 1:b=lL(a);break j;case 2:case 3:b=Xw(a);break j;case 4:b=l4(a);break j;case 6:b=jL(a);break j;case 5:case 7:b=kL(a);break j;case 8:b=k4(a);break j;case 9:b=j4(a);break j;case 10:break k;default:break i}}b=i4(a)}if(b){break a}}if(w[a+346|0]|(w[a+497|0]|w[a+499|0])){break h}t[a+369|0]=0;b=v[a+400>>2];b=tL(a,v[b+4>>2],v[b+8>>2]);if(b){break a}if(!w[a+502|0]|(w[a+497|0]|w[a+368|0])){break h}b=qL(a);if(b){break a}}b=v[a+400>>2];c=v[b>>2];v[a+400>>2]=c;if(!c){v[a+404>>2]=0}l:{m:{if(!w[b+12|0]){break m}c=v[a+160>>2];if(!c){break m}Qa[c|0](a,v[b+4>>2],v[b+8>>2]);break l}c=v[b+4>>2];if(!c){break l}Qa[v[a+156>>2]](c,v[b+8>>2])}Qa[v[a+156>>2]](b,24);break g}f=v[a+352>>2];j=v[a+348>>2];v[e+12>>2]=0;b=v[a+516>>2];n:{o:{if(b){while(1){b=Qa[v[b+4>>2]](a,b)|0;if(b){break a}b=v[a+516>>2];if(!b){break o}if(w[a+497|0]){break g}if(w[a+499|0]){break n}if(!(w[a+432|0]|!w[a+344|0])){t[a+497|0]=0}b=v[b+8>>2];v[a+516>>2]=b;if(!b){if(w[a+285|0]|!w[a+304|0]){break o}b=ZB(a);if(b){break a}b=v[a+516>>2];if(!b){break o}if(w[a+497|0]){break g}if(w[a+499|0]){break n}}if(!w[a+500|0]){continue}break o}}p:{q:{switch(w[a+498|0]-1|0){case 0:b=mL(a);break p;case 1:b=lL(a);break p;case 2:case 3:b=Xw(a);break p;case 4:b=l4(a);break p;case 6:b=jL(a);break p;case 5:case 7:b=kL(a);break p;case 8:b=k4(a);break p;case 9:b=j4(a);break p;case 10:break q;default:break o}}b=i4(a)}if(b){break a}}if(w[a+497|0]){break g}if(w[a+499|0]){break n}r:{if(w[a+346|0]){break r}s:{b=w[a+369|0];t:{if(!(b|!w[a+500|0])){t[a+496|0]=0;break t}c=0;if(b>>>0>2){break s}}b=$B(a,f,h,4,e+12|0);if(b){break a}if(w[a+368|0]){t[a+369|0]=2;break r}b=Zq(f);v[a+388>>2]=b;c=4;if(b>>>0<=134217727){break s}b=1028;break a}if(w[a+368|0]){break r}u:{b=w[a+369|0];if(b>>>0<=2){g=c;c=v[e+12>>2];if((g|0)!=(c|0)){break u}}c=v[a+388>>2]+(w[a+116|0]&15?8:4)|0;v:{d=v[a+408>>2];if(!d){break v}g=v[d+20>>2];if(c>>>0>g>>>0){break v}v[d+20>>2]=g-c;b=v[d+16>>2];v[d+16>>2]=b+c;t[a+369|0]=0;b=sL(a,b,c);if(b){break a}if(v[d+20>>2]){break r}s4(a);break r}if(c>>>0>>0){b=$B(a,f,h,c,e+12|0);if(b){break a}if(w[a+368|0]){t[a+369|0]=3;break r}if((c|0)!=v[e+12>>2]){break d}b=sL(a,f,c);if(!b){break r}break a}if(c>>>0>16777216){b=1065;break c}w:{if(b){d=v[a+360>>2];break w}v[a+396>>2]=0;b=1;d=c+1|0;v[a+356>>2]=d;d=Qa[v[a+152>>2]](d)|0;v[a+360>>2]=d;if(!d){break c}}b=$B(a,d,i,c,e+12|0);if(b){break a}if(w[a+368|0]){t[a+369|0]=4;break r}if((c|0)!=v[e+12>>2]){break d}b=sL(a,v[a+360>>2],c);c=v[a+360>>2];if(c){Qa[v[a+156>>2]](c,v[a+356>>2]);v[a+360>>2]=0}if(!b){break r}break a}b=t4(a);if(b){break a}b=4;if(w[a+286|0]|c|(w[a+285|0]|w[a+289|0])){break c}}if(w[a+497|0]){break g}}if(w[a+368|0]|!w[a+502|0]){break g}b=qL(a);if(b){break a}}if(!(v[a+516>>2]|!w[a+346|0])){b=0;break a}b=0;if(w[a+368|0]|w[a+499|0]){break a}if(!w[a+497|0]){continue}if(!w[a+344|0]){break a}if(!w[a+432|0]){continue}break}break a}b=1025;ob(a,1025,0,0);break a}b=4}ob(a,b,0,0)}Ma=e+16|0;return b}function $3(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;v[a+984>>2]=0;v[a+988>>2]=0;v[a+976>>2]=0;v[a+968>>2]=0;v[a+1012>>2]=0;v[a+2276>>2]=0;v[a+2280>>2]=0;v[a+536>>2]=0;j=a+2284|0;v[j>>2]=0;v[j+4>>2]=0;a:{b:{l=ig(a,b);c:{if(l){i=v[l+88>>2];if(w[i+33|0]){if(w[l+65|0]?1:w[l+64|0]){i=Nt(a,l);if(i){break c}i=v[l+88>>2]}v[a+2268>>2]=h;v[a+2264>>2]=g;v[a+2260>>2]=f;v[a+2256>>2]=e;t[a+2253|0]=d;t[a+2252|0]=c;v[a+2248>>2]=l;c=v[i+36>>2];v[a+316>>2]=c;m=v[i+40>>2];v[a+320>>2]=m;j=w[i+44|0];t[a+324|0]=j;k=w[i+45|0];t[a+325|0]=k;n=w[i+46|0];t[a+326|0]=n;o=w[i+47|0];t[a+327|0]=o;p=w[i+48|0];t[a+328|0]=p;b=j;d:{if(d>>>0>6){break d}q=a;e:{f:{b=1<>>0<=m>>>0&e+g>>>0<=c>>>0)){ob(a,1066,0,0);return 1066}v[a+320>>2]=f;v[a+316>>2]=e;m=f;c=e;n:{switch(d|0){case 2:case 5:c=k-4|0;c=(c<<7|(c&254)>>>1)&255;if(c>>>0<6){break k}break a;case 0:break l;case 3:case 6:break n;default:break h}}c=k-4|0;c=c<<7|(c&254)>>>1;d=c&255;if(d>>>0<6){break j}break a;case 7:break h;case 0:break m}}v[a+320>>2]=f;v[a+316>>2]=e}i=Nj(a,l,e,f,b&255,k&255,n,o,p,0);if(i){break c}v[a+536>>2]=l;break g}if(!(51>>>c&1)){break a}i=8;k=0;break i}if(!(51>>>d&1)){break a}c=c&255;c=c<<3;d=c&31;i=(c&63)>>>0>=32?2568>>>d|0:((1<>>d;d=c&31;f=512>>>d|0;k=(c&63)>>>0>=32?f:f|((1<>2];v[a+536>>2]=d;i=Nj(a,d,c,m,b&255,k&255,n,o,p,1);if(i){break c}d=v[v[a+528>>2]+88>>2];c=v[l+88>>2];b=w[c+55|0];t[d+55|0]=b;j=w[c+56|0];t[d+56|0]=j;o:{if(!b){break o}v[d+64>>2]=v[c+64>>2];e=v[c+64>>2];if(!e){break o}b=0;if((e|0)!=1){g=e&-2;while(1){k=d+68|0;h=B(b,3);f=k+h|0;m=c+68|0;h=m+h|0;t[f|0]=w[h|0];t[f+1|0]=w[h+1|0];t[f+2|0]=w[h+2|0];h=B(b|1,3);f=h+k|0;h=h+m|0;t[f|0]=w[h|0];t[f+1|0]=w[h+1|0];t[f+2|0]=w[h+2|0];b=b+2|0;g=g-2|0;if(g){continue}break}}if(!(e&1)){break o}e=B(b,3);b=e+d|0;e=c+e|0;t[b+68|0]=w[e+68|0];t[b+69|0]=w[e+69|0];t[b+70|0]=w[e+70|0]}if(j){u[d+836>>1]=x[c+836>>1];u[d+838>>1]=x[c+838>>1];u[d+840>>1]=x[c+840>>1];u[d+842>>1]=x[c+842>>1];v[d+844>>2]=v[c+844>>2];cb(d+848|0,c+848|0,256)}b=0;p:{if(!(w[a+476|0]?1:w[a+496|0])|(w[a+460|0]|!w[a+432|0])){break p}c=v[v[a+2248>>2]+88>>2];if(w[a+324|0]!=w[c+44|0]){break p}b=w[a+325|0]==w[c+45|0]}t[a+2272|0]=b}i=0;q:{switch(w[a+325|0]){case 0:r:{switch(w[a+324|0]-1|0){case 0:if(!w[a+328|0]){v[a+1012>>2]=891;break b}v[a+1012>>2]=892;break b;case 1:if(!w[a+328|0]){v[a+1012>>2]=893;break b}v[a+1012>>2]=894;break b;case 3:if(!w[a+328|0]){v[a+1012>>2]=895;break b}v[a+1012>>2]=896;break b;case 7:if(!w[a+328|0]){v[a+1012>>2]=897;break b}v[a+1012>>2]=898;break b;case 15:break r;default:break c}}if(!w[a+328|0]){v[a+1012>>2]=899;break b}v[a+1012>>2]=900;break b;case 2:s:{switch(w[a+324|0]-8|0){case 0:if(!w[a+328|0]){v[a+1012>>2]=901;break b}v[a+1012>>2]=902;break b;case 8:break s;default:break c}}if(!w[a+328|0]){v[a+1012>>2]=903;break b}v[a+1012>>2]=904;break b;case 3:t:{switch(w[a+324|0]-1|0){case 0:if(!w[a+328|0]){v[a+1012>>2]=905;break b}v[a+1012>>2]=906;break b;case 1:if(!w[a+328|0]){v[a+1012>>2]=907;break b}v[a+1012>>2]=908;break b;case 3:if(!w[a+328|0]){v[a+1012>>2]=909;break b}v[a+1012>>2]=910;break b;case 7:break t;default:break c}}if(!w[a+328|0]){v[a+1012>>2]=911;break b}v[a+1012>>2]=912;break b;case 4:u:{switch(w[a+324|0]-8|0){case 0:if(!w[a+328|0]){v[a+1012>>2]=913;break b}v[a+1012>>2]=914;break b;case 8:break u;default:break c}}if(!w[a+328|0]){v[a+1012>>2]=915;break b}v[a+1012>>2]=916;break b;case 6:break q;default:break c}}v:{switch(w[a+324|0]-8|0){case 0:if(!w[a+328|0]){v[a+1012>>2]=917;break b}v[a+1012>>2]=918;break b;case 8:break v;default:break c}}if(!w[a+328|0]){v[a+1012>>2]=919;break b}v[a+1012>>2]=920;break b}ob(a,1058,0,0);return 1058}i=1045;ob(a,1045,0,0)}return i}return 0}ob(a,1059,0,0);return 1059}function Mv(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;l=Ma-16|0;Ma=l;a:{if(!a){break a}b:{switch(v[a+4>>2]-2|0){case 0:f=PX(b,c,a);break a;case 16:c=0;b=0;while(1){d=0;if(v[a+4>>2]==18){d=Dk(0,v[a+8>>2],v[a+12>>2])}f=d;if(c){v[c>>2]=d;f=b}c=d;b=f;a=v[a>>2];if(a){continue}break};break a;case 7:case 11:f=0;c:{if(!a){break c}h=a;e=Go(v[a+56>>2]);f=0;if(!e){break c}a=v[h+8>>2];if(a){m=e,n=Qa[v[256558]](a)|0,v[m+8>>2]=n}b=v[h+60>>2];if(b){a=b;while(1){c=a;a=a+1|0;if(w[c|0]){continue}break}a=0;c=c-b|0;d:{if((c|0)<0){break d}f=Qa[v[256555]](c+1|0)|0;if(!f){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break d}a=cb(f,b,c);t[c+a|0]=0}v[e+60>>2]=a}b=v[h+72>>2];if(b){a=b;while(1){c=a;a=a+1|0;if(w[c|0]){continue}break}a=0;c=c-b|0;e:{if((c|0)<0){break e}f=Qa[v[256555]](c+1|0)|0;if(!f){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break e}a=cb(f,b,c);t[c+a|0]=0}v[e+72>>2]=a}v[e+76>>2]=v[h+76>>2];v[e+36>>2]=v[h+36>>2];v[e+40>>2]=v[h+40>>2];f:{g:{if(!d){break g}v[e+12>>2]=0;v[e+16>>2]=0;a=v[h+44>>2];if(a){a=yH(a);v[e+44>>2]=a;if(!a){wq(e);f=0;break c}ul(a,e);v[v[e+44>>2]+20>>2]=e}g=v[h+52>>2];if(g){c=0;d=0;while(1){a=0;if(v[g+4>>2]==18){a=Dk(0,v[g+8>>2],v[g+12>>2])}b=a;if(c){v[c>>2]=a;b=d}c=a;d=b;g=v[g>>2];if(g){continue}break}v[e+52>>2]=d}g=v[h+12>>2];if(!g){break g}b=0;c=0;while(1){h:{i:{if(v[g+4>>2]==14){a=v[e+44>>2];if(!a){a=yH(g);if(!a){break f}v[a+20>>2]=e;v[a+32>>2]=e;v[e+44>>2]=a;Df(e,a);break h}Df(e,a);break i}a=Mv(g,e,e,1)}if(!a){break f}}j:{k:{if(!c){b=0;c=a;break k}if((a|0)==(b|0)){break j}v[b+24>>2]=a}v[a+28>>2]=b;b=a}g=v[g+24>>2];if(g){continue}break}v[e+16>>2]=0;v[e+12>>2]=c;while(1){a=c;c=v[a+24>>2];if(c){continue}break}v[e+16>>2]=a}f=e;break c}v[e+12>>2]=0;v[e+16>>2]=0;f=e}break a;case 8:case 10:case 12:case 13:case 14:case 15:break a;default:break b}}e=Qa[v[256552]](60)|0;if(!e){v[l>>2]=283416;nb(0,0,0,0,0,2,2,3,283416,0,0,0,340689,l);break a}v[e>>2]=0;v[e+4>>2]=0;v[e+56>>2]=0;v[e+48>>2]=0;v[e+52>>2]=0;v[e+40>>2]=0;v[e+44>>2]=0;v[e+32>>2]=0;v[e+36>>2]=0;v[e+24>>2]=0;v[e+28>>2]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;f=v[a+4>>2];v[e+32>>2]=b;v[e+4>>2]=f;v[e+20>>2]=c;f=e;j=v[a+8>>2];g=874220;l:{m:{if((j|0)==874220){break m}g=874225;if((j|0)==874225){break m}g=874235;if((j|0)==874235){break m}if(!j){break l}n:{if(!b){break n}g=v[b+80>>2];if(!g){break n}g=Zc(g,j,-1);break m}g=Sd(j)}v[f+8>>2]=g}f=v[a+4>>2];o:{if((f|0)!=1){g=v[a+40>>2];if(!g|(f|0)==5|((f|0)==20|(f|0)==19)){break o}m=e,n=Sd(g),v[m+40>>2]=n;break o}u[e+56>>1]=x[a+56>>1]}if(c){p:{if(!v[291069]){break p}f=v[291066];if(!f){break p}Qa[f|0](e)}f=Df(c,e);if((e|0)!=(f|0)){break a}}q:{if(!d){break q}f=v[a+4>>2]-1|0;r:{if((f|0)!=18?f:0){break r}i=v[a+48>>2];if(!i){break r}j=e;if(i){while(1){g=0;if(v[i+4>>2]==18){g=Dk(0,v[i+8>>2],v[i+12>>2])}f=g;if(k){v[k>>2]=g;f=h}k=g;h=f;i=v[i>>2];if(i){continue}break}}else{h=0}v[j+48>>2]=h}f=v[a+36>>2];if(f){f=Fk(b,e,v[f+12>>2]);s:{if(f){break s}g=Fk(v[a+32>>2],a,v[v[a+36>>2]+12>>2]);if(g){f=e;while(1){h=f;f=v[f+20>>2];if(f){continue}break}f=Dk(h,v[g+8>>2],v[g+12>>2]);break s}f=OX(b,e,v[a+36>>2])}v[e+36>>2]=f}f=v[a+4>>2];h=f-1|0;t:{if((h|0)!=18?h:0){break t}i=v[a+44>>2];if(!i){break t}j=e;f=0;k=0;h=0;u:{v:{if(e){if(!i|v[e+4>>2]!=1){break u}break v}if(i){break v}break u}while(1){f=0;g=PX(0,e,i);if(!g){break u}f=g;if(k){v[k+24>>2]=g;v[g+28>>2]=k;f=h}k=g;h=f;i=v[i+24>>2];if(i){continue}break}}v[j+44>>2]=f;f=v[a+4>>2]}w:{if((f|0)==5){if(!b){a=vi(v[e+8>>2]);v[e+12>>2]=a;break w}if(v[a+32>>2]!=(b|0)){a=v[e+8>>2];x:{y:{if(!b){break y}d=v[b+44>>2];z:{if(!d){break z}d=v[d+48>>2];if(!d){break z}d=le(d,a,0,0);if(d){break x}}if(v[b+40>>2]==1){break y}b=v[b+48>>2];if(!b){break y}b=v[b+48>>2];if(!b){break y}d=le(b,a,0,0);if(d){break x}}d=vi(a)}a=d;v[e+12>>2]=a;break w}a=v[a+12>>2];v[e+12>>2]=a;break w}a=v[a+12>>2];if(!a|(d|0)==2){break q}d=NX(a,b,e);v[e+12>>2]=d;if(!d){a=0;break w}f=v[d+24>>2];A:{if(!f){a=d;break A}while(1){v[d+20>>2]=e;a=f;d=a;f=v[a+24>>2];if(f){continue}break}}v[a+20>>2]=e}v[e+16>>2]=a}if(!(!v[291069]|c)){f=e;a=v[291066];if(!a){break a}Qa[a|0](e)}f=e}Ma=l+16|0;return f}function o6(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;j=Ma-16|0;Ma=j;v[a+76>>2]=0;v[a+80>>2]=0;d=a- -64|0;v[d>>2]=0;v[d+4>>2]=0;v[a+56>>2]=0;d=v[b+8>>2];a:{b:{c:{if(d&7){break c}f=v[b+64>>2];if(!((f|0)<0|(f|0)>v[b+60>>2])){v[b+8>>2]=d|4;break c}d=v[b+28>>2];v[b+28>>2]=d-1;d:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;e=w[d|0];break d}e=Eb(b,1);if((e|0)==-1){break c}}t[a+12|0]=e;d=v[b+8>>2];if(d&7){break c}f=v[b+64>>2];if(!((f|0)<0|(f|0)>v[b+60>>2])){v[b+8>>2]=d|4;break c}d=v[b+28>>2];v[b+28>>2]=d-1;e:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;e=w[d|0];break e}e=Eb(b,1);if((e|0)==-1){break c}}t[a+13|0]=e;d=v[b+8>>2];if(d&7){break c}f=v[b+64>>2];if(!((f|0)<0|(f|0)>v[b+60>>2])){v[b+8>>2]=d|4;break c}d=v[b+28>>2];v[b+28>>2]=d-1;f:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;e=w[d|0];break f}e=Eb(b,1);if((e|0)==-1){break c}}t[a+52|0]=e;d=v[b+8>>2];if(d&7){break c}f=v[b+64>>2];if(!((f|0)<0|(f|0)>v[b+60>>2])){v[b+8>>2]=d|4;break c}d=v[b+28>>2];v[b+28>>2]=d-1;g:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;v[b+24>>2]=v[b+24>>2]+1;break g}if((Eb(b,1)|0)==-1){break c}}d=a+16|0;if(Xf(b,d)){break c}if(Xf(b,d+4|0)){break c}if(Xf(b,d+8|0)){break c}if(Xf(b,d+12|0)){break c}if(Xf(b,d+16|0)){break c}if(Xf(b,d+20|0)){break c}if(Xf(b,d+24|0)){break c}if(Xf(b,d+28|0)){break c}if(Xf(b,d+32|0)){break c}if(qh(b,2,j+8|0)){break c}v[a+60>>2]=v[j+8>>2];if(qh(b,2,j+8|0)){break c}v[a+72>>2]=v[j+8>>2];f=w[a+12|0];h:{if(!f){g=1;break h}d=w[a+52|0];h=f&7;i:{if(f-1>>>0<7){g=1;break i}i=f&248;g=1;while(1){g=B(d,B(d,B(d,B(d,B(d,B(d,B(d,B(d,g))))))));i=i-8|0;if(i){continue}break}}if(!h){break h}while(1){g=B(d,g);h=h-1|0;if(h){continue}break}}k=B(w[a+13|0],g);d=gb(k);v[a+56>>2]=d;if(!d){break b}d=gb(B(v[a+60>>2],w[a+12|0]));v[a+68>>2]=d;if(!d){break c}e=gb(w[a+12|0]<<2);v[a+64>>2]=e;if(!e){break c}f=w[a+12|0];j:{if(!f){break j}d=v[a+60>>2];v[e>>2]=v[a+68>>2];e=1;if((f|0)==1){break j}g=f-1|0;h=g&3;if(f-2>>>0>=3){i=g&-4;while(1){v[v[a+64>>2]+(e<<2)>>2]=v[a+68>>2]+B(d,e);f=e+1|0;v[v[a+64>>2]+(f<<2)>>2]=v[a+68>>2]+B(d,f);f=e+2|0;v[v[a+64>>2]+(f<<2)>>2]=v[a+68>>2]+B(d,f);f=e+3|0;v[v[a+64>>2]+(f<<2)>>2]=v[a+68>>2]+B(d,f);e=e+4|0;i=i-4|0;if(i){continue}break}}if(!h){break j}while(1){v[v[a+64>>2]+(e<<2)>>2]=v[a+68>>2]+B(d,e);e=e+1|0;h=h-1|0;if(h){continue}break}}d=gb(B(v[a+72>>2],w[a+13|0]));v[a+80>>2]=d;if(!d){break c}e=gb(w[a+13|0]<<2);v[a+76>>2]=e;if(!e){break c}f=w[a+13|0];k:{if(!f){break k}d=v[a+72>>2];v[e>>2]=v[a+80>>2];e=1;if((f|0)==1){break k}g=f-1|0;h=g&3;if(f-2>>>0>=3){i=g&-4;while(1){v[v[a+76>>2]+(e<<2)>>2]=v[a+80>>2]+B(d,e);g=e+1|0;v[v[a+76>>2]+(g<<2)>>2]=v[a+80>>2]+B(d,g);g=e+2|0;v[v[a+76>>2]+(g<<2)>>2]=v[a+80>>2]+B(d,g);g=e+3|0;v[v[a+76>>2]+(g<<2)>>2]=v[a+80>>2]+B(d,g);e=e+4|0;i=i-4|0;if(i){continue}break}}if(!h){break k}while(1){v[v[a+76>>2]+(e<<2)>>2]=v[a+80>>2]+B(d,e);e=e+1|0;h=h-1|0;if(h){continue}break}}i=w[a+12|0];l:{if(!i){break l}g=0;h=v[a+60>>2];if((h|0)<=0){break l}while(1){e=0;if((h|0)>0){while(1){if(FC(b,v[v[a+64>>2]+(g<<2)>>2]+e|0)){break c}e=e+1|0;h=v[a+60>>2];if((e|0)<(h|0)){continue}break}i=w[a+12|0]}g=g+1|0;if(g>>>0<(i&255)>>>0){continue}break}f=w[a+13|0]}g=0;d=0;m:{if(!f){break m}h=0;i=v[a+72>>2];if((i|0)<=0){d=f;break m}d=f;while(1){e=0;if((i|0)>0){while(1){if(FC(b,v[v[a+76>>2]+(h<<2)>>2]+e|0)){break c}e=e+1|0;i=v[a+72>>2];if((e|0)<(i|0)){continue}break}d=w[a+13|0]}h=h+1|0;if(h>>>0<(d&255)>>>0){continue}break}}if((k|0)>0){while(1){if(FC(b,v[a+56>>2]+g|0)){break c}g=g+1|0;if((k|0)!=(g|0)){continue}break}d=w[a+13|0]}f=d&255;d=w[a+12|0];i=B(d,v[a+60>>2]);k=v[a+72>>2];n:{if(!d){e=1;break n}b=w[a+52|0];g=d&7;o:{if(d-1>>>0<7){e=1;break o}h=d&248;e=1;while(1){e=B(b,B(b,B(b,B(b,B(b,B(b,B(b,B(b,e))))))));h=h-8|0;if(h){continue}break}}if(!g){break n}while(1){e=B(b,e);g=g-1|0;if(g){continue}break}}b=0;if(((i+B(f,e+k|0)|0)+44|0)==(c|0)){break a}}b=v[a+56>>2];if(!b){break b}$a(b)}b=v[a+64>>2];if(b){$a(b)}b=v[a+68>>2];if(b){$a(b)}b=v[a+76>>2];if(b){$a(b)}b=-1;a=v[a+80>>2];if(!a){break a}$a(a)}Ma=j+16|0;return b|0}function Rw(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;gd(b,kb(b)<<1);a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{if(!kb(b)){if((kb(b)|0)!=1198679150){break Q}h=kb(b);R:{if(!h){break R}while(1){if(kb(b)){break P}c=kb(b);d=kb(b);S:{T:{U:{V:{W:{X:{if((c|0)<=1231975537){if((c|0)==1131180659){break V}if((c|0)==1198679110){break X}break a}if((c|0)==1231975538){break W}if((c|0)==1416785523){break U}if((c|0)!=1315774496){break a}if((d|0)!=1413830740){break O}c=kb(b);v[a+4>>2]=c;c=gb(c<<1);v[a+8>>2]=c;if(!c){break R}eb(c,0,v[a+4>>2]<<1);Vd(b,v[a+8>>2],v[a+4>>2]<<1);break S}if((d|0)!=1701737837){break N}if(kb(b)){break M}if((kb(b)|0)!=1198679110){break L}if(kb(b)){break K}if((kb(b)|0)==1131639891){break S}O(47695,6490,941,194340);L()}if((d|0)!=1685026146){break J}g=Lc(b);if(!(D(g)<2147483648)){break T}v[a>>2]=~~g;break S}if((d|0)!=1449938035){break I}c=kb(b);u[a+12>>1]=c;d=gb(c<<16>>12);v[a+16>>2]=d;if(!d){break R}c=0;eb(d,0,u[a+12>>1]<<4);if(u[a+12>>1]<1){break S}while(1){if((kb(b)|0)!=1331849827){break H}gd(b,kb(b)<<1);if(kb(b)){break G}if((kb(b)|0)!=1131180660){break F}if((kb(b)|0)!=4){break E}if(kb(b)){break D}if((kb(b)|0)!=1131180576){break C}if((kb(b)|0)!=1331849827){break B}e=Il(b);d=c<<4;v[(d+v[a+16>>2]|0)+8>>2]=e;if(kb(b)){break A}if((kb(b)|0)!=1417244773){break z}if((kb(b)|0)!=1701737837){break y}if(kb(b)){break x}kb(b);if(kb(b)){break w}e=kb(b);Y:{if((e|0)!=1433629267){f=0;if((e|0)==1181902659){break Y}f=1;if((e|0)==1113811779){break Y}O(3794,6490,1042,194340);L()}f=2}e=f;v[(d+v[a+16>>2]|0)+12>>2]=e;if(kb(b)){break v}if((kb(b)|0)!=1281586286){break u}if((kb(b)|0)!=1819242087){break t}e=kb(b);v[d+v[a+16>>2]>>2]=e;if(kb(b)){break s}if((kb(b)|0)!=1298428014){break r}if((kb(b)|0)!=1819242087){break q}e=kb(b);v[(d+v[a+16>>2]|0)+4>>2]=e;c=c+1|0;if((c|0)>1]){continue}break}break S}if((d|0)!=1449938035){break p}c=kb(b);u[a+20>>1]=c;d=gb(B(c<<16>>16,12));v[a+24>>2]=d;if(!d){break R}c=0;eb(d,0,B(u[a+20>>1],12));if(u[a+20>>1]<1){break S}while(1){if((kb(b)|0)!=1331849827){break o}gd(b,kb(b)<<1);if(kb(b)){break n}if((kb(b)|0)!=1416785491){break m}if((kb(b)|0)!=3){break l}if(kb(b)){break k}if((kb(b)|0)!=1332765556){break j}if((kb(b)|0)!=1433302086){break i}if((kb(b)|0)!=592474723){break h}g=Lc(b);d=B(c,12);f=d+v[a+24>>2]|0;if(D(g)<2147483648){e=~~g}else{e=-2147483648}u[f+8>>1]=e;if(kb(b)){break g}if((kb(b)|0)!=1281586286){break f}if((kb(b)|0)!=1819242087){break e}e=kb(b);v[d+v[a+24>>2]>>2]=e;if(kb(b)){break d}if((kb(b)|0)!=1298428014){break c}if((kb(b)|0)!=1819242087){break b}e=kb(b);v[(d+v[a+24>>2]|0)+4>>2]=e;c=c+1|0;if((c|0)>1]){continue}break}break S}v[a>>2]=-2147483648}h=h-1|0;if(h){continue}break}}return}O(11805,6490,885,194340);L()}O(45745,6490,888,194340);L()}O(11805,6490,896,194340);L()}O(30830,6490,912,194340);L()}O(46520,6490,926,194340);L()}O(11805,6490,931,194340);L()}O(47202,6490,934,194340);L()}O(11805,6490,939,194340);L()}O(38114,6490,946,194340);L()}O(33969,6490,954,194340);L()}O(35320,6490,972,194340);L()}O(11805,6490,981,194340);L()}O(48237,6490,984,194340);L()}O(48656,6490,989,194340);L()}O(11805,6490,992,194340);L()}O(49210,6490,994,194340);L()}O(35320,6490,999,194340);L()}O(11805,6490,1007,194340);L()}O(49704,6490,1010,194340);L()}O(46520,6490,1015,194340);L()}O(11805,6490,1020,194340);L()}O(11805,6490,1028,194340);L()}O(11805,6490,1050,194340);L()}O(50230,6490,1053,194340);L()}O(50726,6490,1058,194340);L()}O(11805,6490,1066,194340);L()}O(51126,6490,1069,194340);L()}O(50726,6490,1074,194340);L()}O(33969,6490,1082,194340);L()}O(35320,6490,1101,194340);L()}O(11805,6490,1110,194340);L()}O(51555,6490,1113,194340);L()}O(52054,6490,1118,194340);L()}O(11805,6490,1124,194340);L()}O(52461,6490,1127,194340);L()}O(52941,6490,1132,194340);L()}O(53502,6490,1136,194340);L()}O(11805,6490,1145,194340);L()}O(50230,6490,1148,194340);L()}O(50726,6490,1153,194340);L()}O(11805,6490,1161,194340);L()}O(51126,6490,1164,194340);L()}O(50726,6490,1169,194340);L()}O(3794,6490,1176,194340);L()}function JG(a,b,c,d,e,f,g){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,w=0,x=0,y=0,z=0,B=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0;h=Ma-160|0;Ma=h;v[h+144>>2]=13;v[h+128>>2]=13;v[h+112>>2]=13;v[h+96>>2]=13;v[h+80>>2]=13;a:{if(d==f|e==g){break a}ue(b,v[a+4>>2],h+144|0,0);if(v[h+144>>2]==8){i=v[h+152>>2];B=Qa[v[v[i>>2]+76>>2]](i)|0;ib(B,220495,h+112|0,0);b:{c:{d:{if(v[h+112>>2]!=6){break d}i=v[h+120>>2];if(v[i+12>>2]!=4){break d}ub(i,0,h+80|0,0);i=v[h+80>>2];if(i-1>>>0<=1){s=(i|0)==1?+v[h+88>>2]:A[h+88>>3]}A[h>>3]=s;i=h+80|0;bb(i);ub(v[h+120>>2],1,i,0);i=v[h+80>>2];if(i-1>>>0<=1){m=(i|0)==1?+v[h+88>>2]:A[h+88>>3]}A[h+8>>3]=m;i=h+80|0;bb(i);ub(v[h+120>>2],2,i,0);i=v[h+80>>2];if(i-1>>>0<=1){C=(i|0)==1?+v[h+88>>2]:A[h+88>>3]}A[h+16>>3]=C;i=h+80|0;bb(i);ub(v[h+120>>2],3,i,0);i=v[h+80>>2];if(i-1>>>0<=1){q=(i|0)==1?+v[h+88>>2]:A[h+88>>3]}A[h+24>>3]=q;bb(h+80|0);bb(h+112|0);ib(B,220530,h+128|0,0);if(v[h+128>>2]==6){break c}x=1;t=1;y=0;break b}c=-1;a=v[a+108>>2];e:{if(!a){break e}a=v[a+4>>2];if(v[a+8>>2]==13){break e}a=v[a+16>>2];c=Qa[v[v[a>>2]+52>>2]](a)|0}fb(1,c,220428,0);bb(h+112|0);bb(h+144|0);break a}k=h+80|0;ub(v[h+136>>2],0,k,0);t=v[h+80>>2]==1?+v[h+88>>2]:A[h+88>>3];A[h+32>>3]=t;bb(k);ub(v[h+136>>2],1,k,0);z=v[h+80>>2]==1?+v[h+88>>2]:A[h+88>>3];A[h+40>>3]=z;bb(k);ub(v[h+136>>2],2,k,0);n=A[h+88>>3];G=v[h+88>>2];H=v[h+80>>2];bb(k);ub(v[h+136>>2],3,k,0);o=A[h+88>>3];I=v[h+88>>2];J=v[h+80>>2];bb(k);ub(v[h+136>>2],4,k,0);j=A[h+88>>3];r=v[h+88>>2];i=v[h+80>>2];bb(k);ub(v[h+136>>2],5,k,0);x=(J|0)==1?+(I|0):o;u=(i|0)==1?+(r|0):j;w=v[h+80>>2]==1?+v[h+88>>2]:A[h+88>>3];bb(k);y=(H|0)==1?+(G|0):n}j=s*z;E=x*q;l=w+(j+E);p=m*x;n=w+(j+p);bb(h+128|0);o=s*t;F=y*q;j=u+(o+F);q=m*y;m=u+(o+q);f:{if(jm)){o=m;break f}o=j}g:{if(n>l){j=n;n=l;break g}if(!(no)){break h}o=l}i:{if(n>p){n=p;break i}if(!(jo)){break j}o=l}k:{if(n>p){n=p;break k}if(!(j>3]=x*l;j=m!=o?(f-d)/(o-m):1;A[h+48>>3]=y*j;A[h+40>>3]=z*l;A[h+32>>3]=t*j;A[h+72>>3]=w*l+(e-n*l);A[h+64>>3]=u*j+(d-m*j);i=h+96|0;ib(B,236775,i,0);pz(a,b,v[h+96>>2]==7?v[h+104>>2]:0,h+32|0,h,0,0,0,0,0,0,0);bb(i)}bb(h+144|0);if(!c|!(A[c+8>>3]>0)){break a}b=v[c+56>>2];if((b|0)<1){break a}l:{m:{n:{switch(b-1|0){case 0:b=0;i=v[v[a+28>>2]+120>>2];if(Qa[v[v[i>>2]+12>>2]](i)|0){break m}break l;case 2:b=2;i=v[v[a+28>>2]+120>>2];if((Qa[v[v[i>>2]+12>>2]](i)|0)!=2){break m}break l;case 3:break n;default:break l}}b=4;i=v[v[a+28>>2]+120>>2];if((Qa[v[v[i>>2]+12>>2]](i)|0)==4){break l}}i=v[a+28>>2];r=v[i+384>>2];if(r){Qa[v[v[r>>2]+4>>2]](r)}v[i+384>>2]=0;r=v[a+28>>2];b=xk(b);i=v[r+120>>2];if(i){Qa[v[v[i>>2]+4>>2]](i)}v[r+120>>2]=b;b=v[a+8>>2];Qa[v[v[b>>2]+112>>2]](b,v[a+28>>2])}m=A[c+32>>3];n=A[c+40>>3];o=A[c+48>>3];b=v[a+28>>2];i=b;j=A[c+24>>3]*65536;o:{if(D(j)<2147483648){k=~~j;break o}k=-2147483648}v[i+252>>2]=k;i=b;j=o*65536;p:{if(D(j)<2147483648){k=~~j;break p}k=-2147483648}v[i+264>>2]=k;i=b;j=n*65536;q:{if(D(j)<2147483648){k=~~j;break q}k=-2147483648}v[i+260>>2]=k;j=m*65536;r:{if(D(j)<2147483648){i=~~j;break r}i=-2147483648}v[b+256>>2]=i;b=v[a+8>>2];Qa[v[v[b>>2]+120>>2]](b,v[a+28>>2]);i=v[a+28>>2];A[i+440>>3]=A[c+8>>3];b=v[a+8>>2];Qa[v[v[b>>2]+100>>2]](b,i);s:{if(v[c>>2]!=1){break s}i=v[c+20>>2];if((i|0)<1){break s}b=v[c+16>>2];b=cb(Pb(i,8),b,i<<3);BG(v[a+28>>2],b,i,0);b=v[a+8>>2];Qa[v[v[b>>2]+80>>2]](b,v[a+28>>2])}Ae(v[a+28>>2]);b=v[a+28>>2];A[b+608>>3]=e;A[b+600>>3]=d;b=v[b+596>>2];A[b+16>>3]=e;A[b+8>>3]=d;v[b>>2]=1;b=v[a+28>>2];A[b+608>>3]=e;A[b+600>>3]=f;cd(v[b+596>>2],f,e);if(v[c>>2]!=4){b=v[a+28>>2];A[b+608>>3]=g;A[b+600>>3]=f;cd(v[b+596>>2],f,g);b=v[a+28>>2];A[b+608>>3]=g;A[b+600>>3]=d;cd(v[b+596>>2],d,g);i=v[a+28>>2];kf(v[i+596>>2]);b=v[i+596>>2];c=v[((v[b+28>>2]<<2)+v[b+24>>2]|0)-4>>2];b=(v[c+12>>2]<<3)-8|0;A[i+600>>3]=A[b+v[c>>2]>>3];A[i+608>>3]=A[b+v[c+4>>2]>>3]}b=v[a+8>>2];Qa[v[v[b>>2]+200>>2]](b,v[a+28>>2])}Ma=h+160|0}function g4(a,b,c,d,e,f,g){var h=0,i=0,j=0;h=v[a+512>>2];if(!h){h=v[a+528>>2]}i=v[h+88>>2];v[a+984>>2]=0;v[a+988>>2]=0;v[a+976>>2]=0;v[a+968>>2]=0;j=Nj(a,h,v[a+316>>2],v[a+320>>2],w[a+324|0],w[a+325|0],w[a+326|0],w[a+327|0],w[a+328|0],0);if(!j){g=(g|0)==1;t[h+32|0]=g;t[i+34|0]=g;v[a+536>>2]=h;h=v[i+1176>>2];a:{b:{c:{d:{e:{f:{g:{h:{i:{g=w[a+325|0];switch(g|0){case 3:break g;case 2:break h;case 0:break i;case 6:break e;case 4:break f;default:break a}}j:{if(w[a+324|0]!=16){if(!B(v[a+320>>2],v[a+316>>2])){break j}c=0;while(1){t[h|0]=b;h=h+1|0;c=c+1|0;if(c>>>0>2],v[a+316>>2])>>>0){continue}break}break j}if(!B(v[a+320>>2],v[a+316>>2])){break j}c=0;while(1){d=b<<8|b>>>8;t[h|0]=d;t[h+1|0]=d>>>8;h=h+2|0;c=c+1|0;if(c>>>0>2],v[a+316>>2])>>>0){continue}break}}if(f|!e){break b}u[i+836>>1]=b;t[i+56|0]=1;break b}k:{if(w[a+324|0]!=16){if(!B(v[a+320>>2],v[a+316>>2])){break k}g=0;while(1){t[h+2|0]=d;t[h+1|0]=c;t[h|0]=b;h=h+3|0;g=g+1|0;if(g>>>0>2],v[a+316>>2])>>>0){continue}break}break k}if(!B(v[a+320>>2],v[a+316>>2])){break k}g=0;while(1){j=b<<8|b>>>8;t[h|0]=j;t[h+1|0]=j>>>8;j=c<<8|c>>>8;t[h+2|0]=j;t[h+3|0]=j>>>8;j=d<<8|d>>>8;t[h+4|0]=j;t[h+5|0]=j>>>8;h=h+6|0;g=g+1|0;if(g>>>0>2],v[a+316>>2])>>>0){continue}break}}if(f|!e){break b}u[i+842>>1]=d;u[i+840>>1]=c;u[i+838>>1]=b;t[i+56|0]=1;break b}t[i+55|0]=1;j=w[a+324|0]-1|0;g=j&255;if(g>>>0>=8|!(139>>>g&1)){break d}t[i+70|0]=d;t[i+69|0]=c;t[i+68|0]=b;b=j<<24>>24<<2;v[i+64>>2]=v[b+192948>>2];eb(i+71|0,0,v[b+192980>>2]);break c}if(w[a+324|0]!=16){if(!B(v[a+320>>2],v[a+316>>2])){break b}c=0;while(1){t[h+1|0]=f;t[h|0]=b;h=h+2|0;c=c+1|0;if(c>>>0>2],v[a+316>>2])>>>0){continue}break}break b}if(!B(v[a+320>>2],v[a+316>>2])){break b}c=0;while(1){d=b<<8|b>>>8;t[h|0]=d;t[h+1|0]=d>>>8;d=f<<8|f>>>8;t[h+2|0]=d;t[h+3|0]=d>>>8;h=h+4|0;c=c+1|0;if(c>>>0>2],v[a+316>>2])>>>0){continue}break}break b}if(w[a+324|0]!=16){if(!B(v[a+320>>2],v[a+316>>2])){break b}e=0;while(1){t[h+3|0]=f;t[h+2|0]=d;t[h+1|0]=c;t[h|0]=b;h=h+4|0;e=e+1|0;if(e>>>0>2],v[a+316>>2])>>>0){continue}break}break b}if(!B(v[a+320>>2],v[a+316>>2])){break b}e=0;while(1){g=b<<8|b>>>8;t[h|0]=g;t[h+1|0]=g>>>8;g=c<<8|c>>>8;t[h+2|0]=g;t[h+3|0]=g>>>8;g=d<<8|d>>>8;t[h+4|0]=g;t[h+5|0]=g>>>8;g=f<<8|f>>>8;t[h+6|0]=g;t[h+7|0]=g>>>8;h=h+8|0;e=e+1|0;if(e>>>0>2],v[a+316>>2])>>>0){continue}break}break b}t[i+68|0]=b;v[i+64>>2]=1;t[i+70|0]=d;t[i+69|0]=c}if(!e|f>>>0>254){break b}t[i+848|0]=f;v[i+844>>2]=1;t[i+56|0]=1}g=w[a+325|0]}l:{m:{switch(g&255){case 0:n:{switch(w[a+324|0]-1|0){case 0:if(!w[a+328|0]){v[a+1012>>2]=891;break l}v[a+1012>>2]=892;break l;case 1:if(!w[a+328|0]){v[a+1012>>2]=893;break l}v[a+1012>>2]=894;break l;case 3:if(!w[a+328|0]){v[a+1012>>2]=895;break l}v[a+1012>>2]=896;break l;case 7:if(!w[a+328|0]){v[a+1012>>2]=897;break l}v[a+1012>>2]=898;break l;case 15:break n;default:break l}}if(!w[a+328|0]){v[a+1012>>2]=899;break l}v[a+1012>>2]=900;break l;case 2:o:{switch(w[a+324|0]-8|0){case 0:if(!w[a+328|0]){v[a+1012>>2]=901;break l}v[a+1012>>2]=902;break l;case 8:break o;default:break l}}if(!w[a+328|0]){v[a+1012>>2]=903;break l}v[a+1012>>2]=904;break l;case 3:p:{switch(w[a+324|0]-1|0){case 0:if(!w[a+328|0]){v[a+1012>>2]=905;break l}v[a+1012>>2]=906;break l;case 1:if(!w[a+328|0]){v[a+1012>>2]=907;break l}v[a+1012>>2]=908;break l;case 3:if(!w[a+328|0]){v[a+1012>>2]=909;break l}v[a+1012>>2]=910;break l;case 7:break p;default:break l}}if(!w[a+328|0]){v[a+1012>>2]=911;break l}v[a+1012>>2]=912;break l;case 4:q:{switch(w[a+324|0]-8|0){case 0:if(!w[a+328|0]){v[a+1012>>2]=913;break l}v[a+1012>>2]=914;break l;case 8:break q;default:break l}}if(!w[a+328|0]){v[a+1012>>2]=915;break l}v[a+1012>>2]=916;break l;case 6:break m;default:break l}}r:{switch(w[a+324|0]-8|0){case 0:if(!w[a+328|0]){v[a+1012>>2]=917;break l}v[a+1012>>2]=918;break l;case 8:break r;default:break l}}if(!w[a+328|0]){v[a+1012>>2]=919;break l}v[a+1012>>2]=920}v[a+620>>2]=0;v[a+624>>2]=0;v[a+612>>2]=0;v[a+616>>2]=1;v[a+628>>2]=0;v[a+632>>2]=0;j=0}return j}function F3(a,b,c){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,p=0,q=0,r=0,s=0,z=0,A=0;g=Ma-128|0;Ma=g;f=w[198051]|w[198052]<<8|(w[198053]<<16|w[198054]<<24);d=w[198047]|w[198048]<<8|(w[198049]<<16|w[198050]<<24);t[g+111|0]=d;t[g+112|0]=d>>>8;t[g+113|0]=d>>>16;t[g+114|0]=d>>>24;t[g+115|0]=f;t[g+116|0]=f>>>8;t[g+117|0]=f>>>16;t[g+118|0]=f>>>24;f=v[49511];v[g+104>>2]=v[49510];v[g+108>>2]=f;f=v[49509];v[g+96>>2]=v[49508];v[g+100>>2]=f;f=v[49507];v[g+88>>2]=v[49506];v[g+92>>2]=f;f=v[49505];v[g+80>>2]=v[49504];v[g+84>>2]=f;u[g+66>>1]=0;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],v[b+4>>2]+1|0,0)|0;v[285944]=0;v[285945]=0;v[285943]=0;a:{l=v[b>>2];if(l>>>0>=y[b+8>>2]){break a}q=v[249419];f=8;r=255;while(1){m=h;s=0;while(1){i=(o&65535)<>2]+28>>2]](v[a+4>>2])|0;f:{if((e|0)==-1){if(!v[a+26160>>2]){v[g+48>>2]=v[a+25208>>2];vb(q,8292,g+48|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,q);v[a+26160>>2]=1;break f}d=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[g+32>>2]=d;v[g+36>>2]=d>>31;vb(q,14622,g+32|0)}v[a+26160>>2]=1;break f}if(!v[a+26144>>2]){break f}if((e|0)==255){break e}}v[285945]=0;break d}d=0;h=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[285945]=(h|0)!=0;if(!h){break d}h=1;m=1;break b}h=0;d=v[285944]+8|0;v[285944]=d;e=e&255|v[285943]<<8;v[285943]=e;if((d|0)<(f|0)){continue}break}}m=0;d=d-f|0;v[285944]=d;n=e;e=32-f|0;d=n<>>e|0}e=f+A|0;j=(A|0)<0;f=j?e+1|0:f;A=j?e>>>0<2147483647?0:e:A;o=d|i;d=o&65535;g:{while(1){e=f;if((e|0)<1){break g}f=e-1|0;if((d>>>f&255)!=255){continue}break}if((e|0)>=2){m=1<=1){f=v[285943];break i}while(1){j:{k:{f=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;l:{if((f|0)==-1){if(!v[a+26160>>2]){v[g+16>>2]=v[a+25208>>2];vb(q,8292,g+16|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,q);v[a+26160>>2]=1;break l}d=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[g>>2]=d;v[g+4>>2]=d>>31;vb(q,14622,g)}v[a+26160>>2]=1;break l}if(!v[a+26144>>2]){break l}if((f|0)==255){break k}}v[285945]=0;break j}d=0;h=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[285945]=(h|0)!=0;if(!h){break j}h=1;break h}h=v[285944];d=h+8|0;v[285944]=d;f=f&255|v[285943]<<8;v[285943]=f;if((h|0)<-7){continue}break}}h=0;v[285944]=d-1;d=f<<32-d>>>31|0}A=e-9|0;o=d+o|0;m=h}d=r>>4;j=(((o-k<<2)+4&262140)-1|0)/(d|0)|0;f=0;while(1){e=f;f=e+1|0;i=(g+80|0)+B(s,13)|0;n=i+e|0;p=w[n+5|0];if((p|0)>(j|0)){continue}break}j=k&65535;if(e){r=B(d,w[n+4|0])>>2}p=B(d,p)>>2;k=r-p|0;d=0;while(1){f=d;d=d+1|0;r=k<>>0){n=w[i|0]&k+1;d=i+n|0;t[i+3|0]=w[d+4|0]-w[d+5|0]>>>2;t[i+2|0]=1}p=j+p|0;d=i+k|0;m:{if((w[d+4|0]-w[d+5|0]|0)<2){break m}if(e>>>0>>0){d=e;j=k-d&3;if(j){while(1){z=d+i|0;t[z+5|0]=w[z+5|0]-1;d=d+1|0;j=j-1|0;if(j){continue}break}}if((e^-1)+k>>>0<3){break m}while(1){j=d+i|0;t[j+5|0]=w[j+5|0]-1;t[j+6|0]=w[j+6|0]-1;t[j+7|0]=w[j+7|0]-1;t[j+8|0]=w[j+8|0]-1;d=d+4|0;if(k>>>0>d>>>0){continue}break}break m}if((e|0)<(n|0)|e>>>0<=k>>>0){break m}j=e+(k^-1)|0;d=e-k&3;if(d){while(1){z=i+k|0;t[z+5|0]=w[z+5|0]+1;k=k+1|0;d=d-1|0;if(d){continue}break}}if(j>>>0<3){break m}while(1){d=i+k|0;t[d+5|0]=w[d+5|0]+1;t[d+6|0]=w[d+6|0]+1;t[d+7|0]=w[d+7|0]+1;t[d+8|0]=w[d+8|0]+1;k=k+4|0;if((e|0)!=(k|0)){continue}break}}k=p<>2]=e;s=s+1|0;if((s|0)!=3){continue}break}e=v[g+68>>2];d=e&3|(v[g+72>>2]<<2|v[g+76>>2]<<5);e=((Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0)+12|0)>2]?e&4?d&255?0-d|0:128:d:0;m=l&1;d=m|g+66;e=e+w[d|0]|0;t[d|0]=e;h=x[a+26306>>1];i=(l>>>0)/(h>>>0)|0;d=i-x[a+26312>>1]|0;n:{if(d>>>0>=x[a+26308>>1]){break n}h=(l-B(i,h)|0)-x[a+26314>>1]|0;if(h>>>0>=x[a+26310>>1]){break n}i=x[a+26316>>1];u[(v[a+26352>>2]+(B(x[a+26320>>1],d>>>i|0)+(h>>>i|0)<<3)|0)+((v[a+26028>>2]>>>((h&1|d<<1&14)<<1)&3)<<1)>>1]=e&255}if(!m){l=c>>>(d-x[a+26304>>1]&7)&1?l+2|0:l}l=l+1|0;if(l>>>0>=y[b+8>>2]){break a}h=v[285945];continue}}v[a+26124>>2]=255;Ma=g+128|0}function IS(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;f=Ma-1072|0;Ma=f;v[f+1056>>2]=0;v[f+1060>>2]=v[279250];if(Ad(a,f+1056|0,0)){e=v[f+1056>>2];Uf(b,v[(e?e+12|0:1117e3)>>2],1);a:{if(!Hb(f+1056|0,313505,5)){if(!Ad(a,f+1056|0,0)){break a}while(1){b:{e=v[f+1056>>2];Uf(b,v[(e?e+12|0:1117e3)>>2],0);c:{d:{e:{if(!Hb(f+1056|0,311183,-1)){v[f+1048>>2]=0;v[f+1052>>2]=v[279250];e=Qa[v[v[a>>2]+8>>2]](a,f+16|0,1024)|0;if(e){break e}break d}v[f+1048>>2]=0;qb(f+1048|0,a);e=v[f+1048>>2];v[f+16>>2]=0;qb(f+16|0,b);Rg(v[f+16>>2],e);e=v[f+16>>2];v[f+16>>2]=0;f:{if(!e){break f}g=v[e+4>>2]-1|0;v[e+4>>2]=g;if(g){break f}g=v[e+4>>2];if(!g){v[e+4>>2]=-32767}if(!g){Qa[v[v[e>>2]+4>>2]](e)}}e=v[f+1048>>2];v[f+1048>>2]=0;if(!e){break c}g=v[e+4>>2]-1|0;v[e+4>>2]=g;if(g){break c}g=v[e+4>>2];if(!g){v[e+4>>2]=-32767}if(!g){Qa[v[v[e>>2]+4>>2]](e)}break c}while(1){g=f+8|0;h=f+16|0;e=eg(g,h,e);Cd(f+1048|0,g);db(e);e=Qa[v[v[a>>2]+8>>2]](a,h,1024)|0;if(e){continue}break}}g:{while(1){e=v[f+1048>>2];if(!e){break g}if(!(!v[e+8>>2]|w[v[e+12>>2]]!=10)){We(f+8|0,f+1048|0,1,-1);e=v[f+8>>2];h:{if(e){Qa[v[v[e>>2]+28>>2]](f+1064|0,e,1);break h}v[f+1064>>2]=0}jb(f+1048|0,f+1064|0);e=v[f+1064>>2];v[f+1064>>2]=0;i:{if(!e){break i}g=v[e+4>>2]-1|0;v[e+4>>2]=g;if(g){break i}g=v[e+4>>2];if(!g){v[e+4>>2]=-32767}if(!g){Qa[v[v[e>>2]+4>>2]](e)}}e=v[f+1048>>2];v[f+1052>>2]=v[(e?e+12|0:1117e3)>>2];db(f+8|0);continue}break}while(1){g=v[e+8>>2];if(!g){break g}i=g-1|0;j:{if(!i){h=0;break j}h=((g|0)>0?0:e?g:0)+i|0;if(!e|(h|0)<0|(g|0)<(h|0)){break b}}if(w[v[e+12>>2]+h|0]!=10){break g}dy(f+1048|0,i,0);e=v[f+1048>>2];if(e){continue}break}}g=Bd(f+1048|0);k:{l:{m:{n:{o:{p:{e=v[v[d+12>>2]+((g>>>0)%y[d+8>>2]<<2)>>2];if(e){while(1){if((g|0)==v[e+12>>2]){if(!ld(e+16|0,f+1048|0,-1)){break p}}e=v[e+8>>2];if(e){continue}break}}Vp(f,c,f+1048|0);e=v[f>>2];if(!e){break m}g=v[e+20>>2];if(!g|!v[g+8>>2]){e=e+36|0}else{e=e+20|0}v[f+8>>2]=0;v[f+12>>2]=v[279250];e=v[e>>2];if(!e){break o}Qa[v[v[e>>2]+28>>2]](f+1064|0,e,1);break n}v[f+8>>2]=0;qb(f+8|0,b);Li(v[f+8>>2],e+24|0);e=v[f+8>>2];v[f+8>>2]=0;if(!e){break k}g=v[e+4>>2]-1|0;v[e+4>>2]=g;if(g){break k}g=v[e+4>>2];if(!g){v[e+4>>2]=-32767}if(!g){Qa[v[v[e>>2]+4>>2]](e)}break k}v[f+1064>>2]=0}jb(f+8|0,f+1064|0);e=v[f+1064>>2];v[f+1064>>2]=0;q:{if(!e){break q}g=v[e+4>>2]-1|0;v[e+4>>2]=g;if(g){break q}g=v[e+4>>2];if(!g){v[e+4>>2]=-32767}if(!g){Qa[v[v[e>>2]+4>>2]](e)}}e=v[f+8>>2];v[f+12>>2]=v[(e?e+12|0:1117e3)>>2];g=no(d,f+1048|0)+24|0;e=v[f+8>>2];r:{if(e){Qa[v[v[e>>2]+28>>2]](f+1064|0,e,1);break r}v[f+1064>>2]=0}jb(g,f+1064|0);e=v[f+1064>>2];v[f+1064>>2]=0;s:{if(!e){break s}h=v[e+4>>2]-1|0;v[e+4>>2]=h;if(h){break s}h=v[e+4>>2];if(!h){v[e+4>>2]=-32767}if(!h){Qa[v[v[e>>2]+4>>2]](e)}}e=v[g>>2];v[g+4>>2]=v[(e?e+12|0:1117e3)>>2];v[f+1064>>2]=0;qb(f+1064|0,b);Li(v[f+1064>>2],f+8|0);e=v[f+1064>>2];v[f+1064>>2]=0;t:{if(!e){break t}g=v[e+4>>2]-1|0;v[e+4>>2]=g;if(g){break t}g=v[e+4>>2];if(!g){v[e+4>>2]=-32767}if(!g){Qa[v[v[e>>2]+4>>2]](e)}}db(f+8|0);break l}v[f+1064>>2]=0;qb(f+1064|0,a);e=v[f+1064>>2];v[f+8>>2]=0;qb(f+8|0,b);Rg(v[f+8>>2],e);e=v[f+8>>2];v[f+8>>2]=0;u:{if(!e){break u}g=v[e+4>>2]-1|0;v[e+4>>2]=g;if(g){break u}g=v[e+4>>2];if(!g){v[e+4>>2]=-32767}if(!g){Qa[v[v[e>>2]+4>>2]](e)}}e=v[f+1064>>2];v[f+1064>>2]=0;if(!e){break l}g=v[e+4>>2]-1|0;v[e+4>>2]=g;if(g){break l}g=v[e+4>>2];if(!g){v[e+4>>2]=-32767}if(!g){Qa[v[v[e>>2]+4>>2]](e)}}e=v[f>>2];v[f>>2]=0;if(!e){break k}g=v[e+4>>2]-1|0;v[e+4>>2]=g;if(g){break k}g=v[e+4>>2];if(!g){v[e+4>>2]=-32767}if(!g){Qa[v[v[e>>2]+4>>2]](e)}}db(f+1048|0)}Od(b);Od(a);if(Ad(a,f+1056|0,0)){continue}break a}break}ni();L()}v[f+1048>>2]=0;qb(f+1048|0,a);c=v[f+1048>>2];v[f+16>>2]=0;qb(f+16|0,b);Rg(v[f+16>>2],c);c=v[f+16>>2];v[f+16>>2]=0;v:{if(!c){break v}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break v}d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}}c=v[f+1048>>2];v[f+1048>>2]=0;if(!c){break a}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break a}d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}}Od(b);Od(a)}db(f+1056|0);Ma=f+1072|0}function jL(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=v[a+512>>2];a:{b:{c:{d:{e:{if(!w[a+288|0]){v[a+992>>2]=0;v[a+984>>2]=0;v[a+988>>2]=0;v[a+976>>2]=0;v[a+968>>2]=0;v[a+1012>>2]=0;v[a+2544>>2]=0;v[a+2548>>2]=0;v[a+608>>2]=0;v[a+536>>2]=0;b=a+2552|0;v[b>>2]=0;v[b+4>>2]=0;v[a+2560>>2]=0;f=a+498|0;if(w[a+498|0]){break c}if(!c){break e}b=Nj(a,c,v[a+316>>2],v[a+320>>2],w[a+337|0],w[a+336|0],w[a+341|0],w[a+342|0],w[a+343|0],1);d=c+88|0;break d}if(w[a+498|0]){break b}f:{switch(w[a+2253|0]){case 0:f=a+498|0;b=Nj(a,v[a+2248>>2],v[a+316>>2],v[a+320>>2],w[a+337|0],w[a+336|0],w[a+341|0],w[a+342|0],w[a+343|0],1);d=v[a+2248>>2]+88|0;break d;case 1:case 4:b=v[v[a+2248>>2]+88>>2];t[b+53|0]=w[a+337|0];t[b+54|0]=w[a+340|0];break b;case 2:case 5:t[v[v[a+2248>>2]+88>>2]+54|0]=w[a+340|0];break b;case 3:case 6:break f;default:break b}}t[v[v[a+2248>>2]+88>>2]+53|0]=w[a+337|0];break b}b=Nj(a,v[a+528>>2],v[a+316>>2],v[a+320>>2],w[a+337|0],w[a+336|0],w[a+341|0],w[a+342|0],w[a+343|0],1);d=v[a+528>>2]+88|0}e=v[d>>2];g=w[a+340|0];t[e+50|0]=g;t[e+51|0]=w[a+338|0];d=w[a+339|0];t[e+54|0]=g;t[e+52|0]=d;if(b){break a}if(w[a+288|0]){break b}}c=c?c:v[a+528>>2];v[a+536>>2]=c;if(w[c+64|0]|w[c+65|0]|(w[c+31|0]?0:v[a+12>>2]!=3)){break b}pL(a);t[a+498|0]=0;if(w[a+497|0]){t[f|0]=7;break b}if(!w[a+496|0]|v[a+676>>2]<=v[a+672>>2]|v[a+684>>2]<=v[a+680>>2]){break b}Yw(a);v[a+544>>2]=v[a+536>>2]}b=0;if(w[a+497|0]){break a}v[a+1012>>2]=921;g:{h:{i:{j:{if(!w[a+288|0]){break j}switch(w[a+2253|0]){case 2:case 5:break h;case 0:break j;default:break i}}b=w[a+337|0];k:{if((b|0)==8){t[a+648|0]=0;v[a+588>>2]=v[a+316>>2];l:{switch(w[a+336|0]-8|0){case 0:v[a+980>>2]=821;v[a+2544>>2]=922;t[a+649|0]=1;break k;case 2:v[a+980>>2]=823;v[a+2544>>2]=923;t[a+649|0]=1;break k;case 4:v[a+980>>2]=826;v[a+2544>>2]=924;t[a+649|0]=0;break k;case 6:break l;default:break k}}v[a+980>>2]=694;v[a+2544>>2]=925;t[a+649|0]=0;break k}t[a+648|0]=1}m:{n:{switch(w[a+341|0]){case 0:o:{switch(w[a+340|0]-1|0){case 0:v[a+1012>>2]=926;break m;case 1:v[a+1012>>2]=927;break m;case 3:v[a+1012>>2]=928;break m;case 7:v[a+1012>>2]=929;break m;case 15:break o;default:break m}}v[a+1012>>2]=930;break m;case 8:break n;default:break m}}if((b|0)!=8){break m}p:{switch(w[a+336|0]-12|0){case 0:v[a+2548>>2]=931;break m;case 2:break p;default:break m}}v[a+2548>>2]=932}q:{r:{s:{if(v[a+2456>>2]){break s}b=Qa[v[a+152>>2]](132)|0;v[a+2456>>2]=b;if(b){break s}break r}t:{if(v[a+2460>>2]){break t}b=Qa[v[a+152>>2]](28)|0;v[a+2460>>2]=b;if(b){break t}break r}u:{b=v[a+2452>>2];if(b){break u}b=Qa[v[a+152>>2]](488)|0;v[a+2452>>2]=b;if(b){break u}break r}v[b+12>>2]=a;v:{if(v[a+2468>>2]){break v}b=Qa[v[a+152>>2]](132)|0;v[a+2468>>2]=b;if(b){break v}break r}w:{if(v[a+2472>>2]){break w}b=Qa[v[a+152>>2]](28)|0;v[a+2472>>2]=b;if(b){break w}break r}x:{b=v[a+2464>>2];if(b){break x}b=Qa[v[a+152>>2]](488)|0;v[a+2464>>2]=b;if(b){break x}break r}v[b+12>>2]=a;y:{if(v[a+2448>>2]){break y}b=Qa[v[a+152>>2]](132)|0;v[a+2448>>2]=b;if(b){break y}break r}z:{b=v[a+2444>>2];if(b){break z}b=Qa[v[a+152>>2]](432)|0;v[a+2444>>2]=b;if(b){break z}break r}v[b+12>>2]=a;A:{b=v[a+2476>>2];if(b){break A}v[a+2480>>2]=65500;b=Qa[v[a+152>>2]](65500)|0;v[a+2476>>2]=b;if(b){break A}break r}B:{c=v[a+2496>>2];if(!c){v[a+2500>>2]=65500;c=Qa[v[a+152>>2]](65500)|0;v[a+2496>>2]=c;if(!c){break B}b=v[a+2476>>2]}v[a+2516>>2]=0;v[a+2520>>2]=0;v[a+2484>>2]=b;v[a+2524>>2]=0;v[a+2528>>2]=0;v[a+2508>>2]=0;v[a+2512>>2]=0;v[a+2504>>2]=c;v[a+2488>>2]=0;v[a+2492>>2]=0;v[a+2552>>2]=0;v[a+2556>>2]=0;t[a+2539|0]=0;t[a+2540|0]=0;t[a+2541|0]=0;t[a+2542|0]=0;b=a+2530|0;u[b>>1]=0;u[b+2>>1]=0;u[b+4>>1]=0;u[b+6>>1]=0;b=a+2560|0;v[b>>2]=0;v[b+4>>2]=0;b=0;break q}ob(a,1,0,0);b=1;break q}ob(a,1,0,0);b=1}if(!b){break g}break a}ob(a,1053,0,0);return 1053}b=891;C:{D:{switch(w[a+340|0]-1|0){case 1:b=893;break C;case 3:b=895;break C;case 7:b=897;break C;case 0:break C;case 15:break D;default:break g}}b=899}v[a+1012>>2]=b}v[a+620>>2]=0;v[a+624>>2]=0;v[a+612>>2]=0;v[a+616>>2]=1;v[a+628>>2]=0;v[a+632>>2]=0;b=0}return b}function Wq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;e=Ma-80|0;Ma=e;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],b,0)|0;u[e>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],e,1,2)|0;d=w[e|0];c=a;if(x[a+25204>>1]==18761){d=d|w[e+1|0]<<8}else{d=w[e+1|0]|d<<8}u[c+25204>>1]=d;c=d&65535;a:{if((c|0)!=19789&(c|0)!=18761){break a}u[e>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],e,1,2)|0;eb(a+24816|0,0,360);v[a+26104>>2]=0;while(1){v[e>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],e,1,4)|0;c=w[e|0];if(x[a+25204>>1]==18761){c=c|w[e+1|0]<<8|w[e+2|0]<<16|w[e+3|0]<<24}else{c=w[e+3|0]|(w[e+1|0]<<16|c<<24|w[e+2|0]<<8)}if(c){Qa[v[v[a>>2]+8>>2]](v[a+4>>2],b+c|0,0)|0;if(!Et(a,b)){continue}}break}v[a+26092>>2]=16;c=v[a+26056>>2];b:{if(!(c|v[a+26060>>2])){break b}Qa[v[v[a>>2]+8>>2]](v[a+4>>2],c,0)|0;if(!dp(a,e,1)){break b}v[a+26092>>2]=v[e>>2];u[a+26324>>1]=v[e+8>>2];u[a+26326>>1]=v[e+4>>2]}d=-1;c=0;m=v[a+26104>>2];c:{if((m|0)<1){b=0;break c}b=0;while(1){f=B(c,36)+a|0;i=v[f+24844>>2];b=(b|0)<(i|0)?i:b;j=(b|0)<3;h=v[f+24828>>2];d:{if((h|0)==6&(i|0)==3){break d}k=v[f+24820>>2];l=v[f+24816>>2];if((B(k,l)|0)<=(B(x[a+26304>>1],x[a+26306>>1])|0)){break d}u[a+26304>>1]=k;u[a+26306>>1]=l;d=v[f+24824>>2];v[a+26116>>2]=h;v[a+26112>>2]=d;d=v[f+24836>>2];v[a+26048>>2]=d;v[a+26052>>2]=d>>31;d=v[f+24840>>2];v[a+26108>>2]=i;v[a+26332>>2]=d;d=c}b=j?b:3;c=c+1|0;if((m|0)!=(c|0)){continue}break}}f=x[a+26306>>1];u[a+26322>>1]=B(x[a+26322>>1],f+1>>>1|0);c=v[a+24840>>2];if(c){v[a+26332>>2]=c}e:{if(v[a+190476>>2]|(d|0)<0){break e}f:{g:{h:{i:{j:{k:{l:{c=v[a+26116>>2];if((c|0)<=32766){m:{switch(c|0){case 2:case 3:case 4:case 5:break f;case 6:case 7:break k;case 0:case 1:break l;default:break m}}if((c|0)==99){break k}if((c|0)!=262){break f}v[a+190476>>2]=949;break e}if((c|0)<=32866){switch(c-32767|0){case 6:break h;case 2:break i;case 0:break j;default:break f}}if((c|0)<=64999){if((c|0)==32867){break e}if((c|0)!=34713){break f}v[a+190476>>2]=950;break e}if((c|0)==65e3){break g}if((c|0)!=65535){break f}v[a+190476>>2]=951;break e}c=952;n:{o:{switch(v[a+26112>>2]-8|0){case 4:v[a+190476>>2]=946;if(v[(B(d,36)+a|0)+24832>>2]==2){v[a+26300>>2]=6}if(Kb(a+25733|0,64230,6)){break n}case 6:case 8:c=948;break;case 0:break o;default:break n}}v[a+190476>>2]=c}if((B(v[(B(d,36)+a|0)+24848>>2],5)|0)!=B(f,x[a+26304>>1])<<3){break e}v[a+190476>>2]=953;break e}v[a+190476>>2]=954;break e}v[a+190476>>2]=955;c=x[a+26304>>1];if((B(v[a+26112>>2],B(c,f))|0)==v[(B(d,36)+a|0)+24848>>2]<<3){break e}v[a+190476>>2]=945;u[a+26304>>1]=c+8;break e}v[a+26300>>2]=8}v[a+190476>>2]=946;break e}p:{q:{r:{c=v[(B(d,36)+a|0)+24832>>2];switch(c-2|0){case 1:case 2:case 3:break e;case 4:break q;case 0:break r;default:break p}}v[a+26028>>2]=0;v[a+190476>>2]=956;break e}v[a+26028>>2]=0;v[a+190476>>2]=139;break e}if((c|0)!=32803){break e}v[a+190476>>2]=957;break e}v[a+26148>>2]=0}s:{t:{if(!v[a+26152>>2]){u:{if(!(!v[(B(d,36)+a|0)+24848>>2]|v[a+26108>>2]!=3)){c=v[a+26112>>2];if((c|0)==14|(c|0)==2048){break s}v[a+26148>>2]=0;break u}c=v[a+26112>>2]}if((c|0)!=8){break s}if(v[a+26116>>2]!=1|v[(B(d,36)+a|0)+24832>>2]!=1){break t}v[a+26148>>2]=0;break t}if(v[a+26112>>2]!=8){break s}}if(v[a+26108>>2]!=4){break s}v[a+26148>>2]=0}if((m|0)<1){break a}i=v[a+26092>>2];f=-1;c=0;while(1){v:{if((c|0)==(d|0)){break v}h=B(c,36)+a|0;if(v[h+24844>>2]!=(b|0)){break v}k=v[h+24820>>2];l=v[h+24816>>2];j=v[h+24824>>2];g=j+1|0;g=B(g,g);n=(B(k,l)|0)/((g?g:1)|0)|0;g=i+1|0;g=B(g,g);if((n|0)<=((B(x[a+26326>>1],x[a+26324>>1])|0)/((g?g:1)|0)|0)){break v}u[a+26326>>1]=k;u[a+26324>>1]=l;f=v[h+24836>>2];v[a+26056>>2]=f;v[a+26060>>2]=f>>31;f=v[h+24848>>2];v[a+26092>>2]=j;v[a+26080>>2]=f;i=j;f=c}c=c+1|0;if((m|0)!=(c|0)){continue}break}if((f|0)<0){break a}b=B(f,36)+a|0;v[a+26092>>2]=v[a+26092>>2]|v[b+24844>>2]<<5;w:{x:{y:{c=v[b+24828>>2];switch(c|0){case 1:break x;case 0:break y;default:break w}}v[a+190468>>2]=958;break a}if(v[b+24824>>2]>=9){v[a+190480>>2]=959;break a}v[a+190468>>2]=960;break a}if((c|0)!=65e3){break a}v[a+190480>>2]=v[(B(f,36)+a|0)+24832>>2]==6?139:956}Ma=e+80|0}function VWa(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,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,z=0,A=0,B=0;a:{f=w[a+286|0];if(!(f|w[a+287|0]|(w[a+288|0]|w[a+289|0]))){break a}if(w[a+290|0]|!(!w[a+289|0]|!w[a+341|0])){break a}if(!(!w[a+288|0]|w[a+2253|0]!=7)){ob(a,1030,0,0);return 1030}if(!(w[a+287|0]|c)){ob(a,1028,0,0);return 1028}if(!(w[a+293|0]|(!f|w[a+325|0]!=3))){ob(a,1032,0,0);return 1032}t[a+300|0]=1;b:{if(c){c:{if(w[a+477|0]){t[a+477|0]=0;f=gp(a);if(f){break c}v[a+440>>2]=v[a+440>>2]+1}f=v[a+1012>>2];if(f){f=Qa[f|0](a)|0;v[a+1012>>2]=0;if(f){break c}}if(!w[a+2420|0]){f=O4(a);if(f){break c}}v[a+2340>>2]=d;v[a+2344>>2]=c;if(!v[a+2352>>2]){v[a+2352>>2]=v[a+636>>2];v[a+2356>>2]=v[a+616>>2]+v[a+604>>2]}d:{e:{s=a+2340|0;o=bk(s,2);if(o>>>0<=1){while(1){if(!v[a+2356>>2]){f:{if(v[a+572>>2]>=v[a+320>>2]){break f}f=v[a+612>>2];if(!((f|0)>=v[a+616>>2]|!w[f+v[a+636>>2]|0])){k=1039;g:{h:{i:{j:{k:{l:{m:{n:{j=v[a+636>>2];switch(w[j+v[a+612>>2]|0]-1|0){case 3:break k;case 2:break l;case 1:break m;case 0:break n;default:break h}}k=0;h=v[a+652>>2];if((h|0)>=v[a+604>>2]){break h}g=j+v[a+616>>2]|0;f=h+g|0;while(1){t[f|0]=w[g|0]+w[f|0];g=g+1|0;f=f+1|0;h=h+1|0;if((h|0)>2]){continue}break}break h}f=0;if(v[a+604>>2]<1){break g}h=v[a+616>>2];f=h+j|0;g=h+v[a+640>>2]|0;k=0;h=0;while(1){t[f|0]=w[g|0]+w[f|0];g=g+1|0;f=f+1|0;h=h+1|0;if((h|0)>2]){continue}break}break h}f=v[a+616>>2];g=f+v[a+640>>2]|0;h=f+j|0;j=v[a+652>>2];if((j|0)<1){f=h;break i}i=j&3;if(j-1>>>0<3){f=h;break j}k=j&-4;f=h;while(1){t[f|0]=w[f|0]+(w[g|0]>>>1|0);t[f+1|0]=w[f+1|0]+(w[g+1|0]>>>1|0);t[f+2|0]=w[f+2|0]+(w[g+2|0]>>>1|0);t[f+3|0]=w[f+3|0]+(w[g+3|0]>>>1|0);g=g+4|0;f=f+4|0;k=k-4|0;if(k){continue}break}break j}f=v[a+616>>2];h=f+v[a+640>>2]|0;g=h;j=f+j|0;f=j;m=v[a+652>>2];o:{if((m|0)<1){break o}i=m&3;f=j;g=h;if(m-1>>>0>=3){k=m&-4;while(1){t[f|0]=w[g|0]+w[f|0];t[f+1|0]=w[g+1|0]+w[f+1|0];t[f+2|0]=w[g+2|0]+w[f+2|0];t[f+3|0]=w[g+3|0]+w[f+3|0];g=g+4|0;f=f+4|0;k=k-4|0;if(k){continue}break}}if(!i){break o}while(1){t[f|0]=w[g|0]+w[f|0];g=g+1|0;f=f+1|0;i=i-1|0;if(i){continue}break}}k=0;if(v[a+604>>2]<=(m|0)){break h}while(1){q=w[g|0];n=w[j|0];r=w[h|0];l=(q+n|0)-r|0;p=l-r|0;i=p>>31;p=i^i+p;z=f;u=l-n|0;i=u>>31;x=l-q|0;l=x>>31;i=i^i+u;l=l^l+x;p:{if(!(i>>>0>l>>>0|i>>>0>p>>>0)){i=n+w[f|0]|0;break p}n=w[f|0];i=n+q|0;if(l>>>0<=p>>>0){break p}i=n+r|0}t[z|0]=i;h=h+1|0;j=j+1|0;g=g+1|0;f=f+1|0;m=m+1|0;if((m|0)>2]){continue}break}break h}if(!i){break i}while(1){t[f|0]=w[f|0]+(w[g|0]>>>1|0);g=g+1|0;f=f+1|0;i=i-1|0;if(i){continue}break}}k=0;if(v[a+604>>2]<=(j|0)){break h}while(1){t[f|0]=w[f|0]+(w[g|0]+w[h|0]>>>1|0);h=h+1|0;g=g+1|0;f=f+1|0;j=j+1|0;if((j|0)>2]){continue}break}}f=k}if(f){break e}}f=v[a+992>>2];if(f){f=Qa[f|0](a)|0;A=a,B=D3a(v[a+636>>2],v[a+640>>2],32),v[A+636>>2]=B;v[a+640>>2]=Pa;if(f){break e}}q:{r:{if(w[a+289|0]){f=v[a+984>>2];if(!f){break q}f=Qa[f|0](a)|0;break r}f=v[a+988>>2];if(f){f=Qa[f|0](a)|0;if(f){break e}}f=v[a+984>>2];if(f){f=Qa[f|0](a)|0;if(f){break e}}f=v[a+976>>2];if(f){f=Qa[f|0](a)|0;if(f){break e}}f=v[a+968>>2];if(!f){break q}f=Qa[f|0](a)|0;if(f){break e}s:{if(!w[a+115|0]|v[a+12>>2]==2&y[a+320>>2]<301){break s}f=v[a+680>>2];if(v[a+516>>2]|(v[a+684>>2]-f|0)<51|((f+v[a+572>>2]|0)-v[a+664>>2]|0)%20){break s}t[a+502|0]=1}f=0}if(!f){break q}break e}if(!v[a+992>>2]){A=a,B=D3a(v[a+636>>2],v[a+640>>2],32),v[A+636>>2]=B;v[a+640>>2]=Pa}f=_q(a);if(!f){break f}break e}v[a+2352>>2]=v[a+636>>2];v[a+2356>>2]=v[a+616>>2]+v[a+604>>2]}t:{u:{if(!(!v[a+2344>>2]|o)){if(v[a+572>>2]>2]|w[a+568|0]<7){break t}f=1047;if(!ob(a,1047,0,0)){break u}}f=0}break d}o=bk(s,2);if(o>>>0<2){continue}break}}ob(a,5,o,0);f=5;break d}ob(a,f,0,0)}}if(f){break b}}v:{if(!w[a+112|0]){break v}f=Qa[v[b+4>>2]](a,b,e)|0;if(f){break b}b=v[e>>2];v[b+36>>2]=c;f=b;b=!c;t[f+32|0]=b;if(b){break v}b=Qa[v[a+152>>2]](c)|0;v[v[e>>2]+40>>2]=b;b=v[v[e>>2]+40>>2];if(!b){ob(a,1,0,0);return 1}cb(b,d,c)}f=0}return f|0}ob(a,1029,0,0);return 1029}function Bta(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,p=0,q=0;eb(a+128|0,0,128);d=v[b>>2]+c|0;f=w[d+4|0];j=w[d+3|0];e=f+j|0;g=w[d+7|0];i=w[d|0];h=g+i|0;k=e+h|0;l=w[d+5|0];m=w[d+2|0];n=l+m|0;o=w[d+6|0];p=w[d+1|0];d=o+p|0;q=n+d|0;v[a+16>>2]=k-q<<3;v[a>>2]=(k+q<<3)+-8192;e=h-e|0;h=d-n|0;d=B(e+h|0,4433)+512|0;v[a+24>>2]=d+B(h,-15137)>>10;v[a+8>>2]=d+B(e,6270)>>10;d=j-f|0;f=i-g|0;j=B(d+f|0,-7373);e=p-o|0;h=e+d|0;g=m-l|0;k=g+f|0;i=B(h+k|0,9633)+512|0;l=j+B(d,2446)|0;d=i+B(h,-16069)|0;v[a+28>>2]=l+d>>10;i=i+B(k,-3196)|0;h=B(g,16819);g=B(e+g|0,-20995);v[a+20>>2]=i+(h+g|0)>>10;v[a+12>>2]=d+(g+B(e,25172)|0)>>10;v[a+4>>2]=i+(j+B(f,12299)|0)>>10;d=v[b+4>>2]+c|0;f=w[d+4|0];j=w[d+3|0];e=f+j|0;g=w[d+7|0];i=w[d|0];h=g+i|0;k=e+h|0;l=w[d+5|0];m=w[d+2|0];n=l+m|0;o=w[d+6|0];p=w[d+1|0];d=o+p|0;q=n+d|0;v[a+48>>2]=k-q<<3;v[a+32>>2]=(k+q<<3)+-8192;e=h-e|0;h=d-n|0;d=B(e+h|0,4433)+512|0;v[a+56>>2]=d+B(h,-15137)>>10;v[a+40>>2]=d+B(e,6270)>>10;d=j-f|0;f=i-g|0;j=B(d+f|0,-7373);e=p-o|0;h=e+d|0;g=m-l|0;k=g+f|0;i=B(h+k|0,9633)+512|0;l=j+B(d,2446)|0;d=i+B(h,-16069)|0;v[a+60>>2]=l+d>>10;i=i+B(k,-3196)|0;h=B(g,16819);g=B(e+g|0,-20995);v[a+52>>2]=i+(h+g|0)>>10;v[a+44>>2]=d+(g+B(e,25172)|0)>>10;v[a+36>>2]=i+(j+B(f,12299)|0)>>10;d=v[b+8>>2]+c|0;f=w[d+4|0];j=w[d+3|0];e=f+j|0;g=w[d+7|0];i=w[d|0];h=g+i|0;k=e+h|0;l=w[d+5|0];m=w[d+2|0];n=l+m|0;o=w[d+6|0];p=w[d+1|0];d=o+p|0;q=n+d|0;v[a+80>>2]=k-q<<3;v[a+64>>2]=(k+q<<3)+-8192;e=h-e|0;h=d-n|0;d=B(e+h|0,4433)+512|0;v[a+88>>2]=d+B(h,-15137)>>10;v[a+72>>2]=d+B(e,6270)>>10;d=j-f|0;f=i-g|0;j=B(d+f|0,-7373);e=p-o|0;h=e+d|0;g=m-l|0;k=g+f|0;i=B(h+k|0,9633)+512|0;l=j+B(d,2446)|0;d=i+B(h,-16069)|0;v[a+92>>2]=l+d>>10;i=i+B(k,-3196)|0;h=B(g,16819);g=B(e+g|0,-20995);v[a+84>>2]=i+(h+g|0)>>10;v[a+76>>2]=d+(g+B(e,25172)|0)>>10;v[a+68>>2]=i+(j+B(f,12299)|0)>>10;b=v[b+12>>2]+c|0;c=w[b+4|0];d=w[b+3|0];f=c+d|0;j=w[b+7|0];e=w[b|0];g=j+e|0;i=f+g|0;h=w[b+5|0];k=w[b+2|0];l=h+k|0;m=w[b+6|0];n=w[b+1|0];b=m+n|0;o=l+b|0;v[a+112>>2]=i-o<<3;f=g-f|0;g=b-l|0;b=B(f+g|0,4433)+512|0;v[a+120>>2]=b+B(g,-15137)>>10;b=b+B(f,6270)>>10;v[a+104>>2]=b;c=d-c|0;d=e-j|0;f=B(c+d|0,-7373);j=n-m|0;l=j+c|0;e=k-h|0;h=e+d|0;g=B(l+h|0,9633)+512|0;k=g+B(l,-16069)|0;v[a+124>>2]=k+(f+B(c,2446)|0)>>10;g=g+B(h,-3196)|0;c=B(e,16819);e=B(e+j|0,-20995);v[a+116>>2]=g+(c+e|0)>>10;c=v[a>>2];i=(i+o<<3)+-8192|0;h=(c+i|0)+2|0;l=v[a+64>>2];m=v[a+32>>2];n=l+m|0;v[a+64>>2]=h-n>>2;v[a>>2]=h+n>>2;h=m-l|0;i=c-i|0;c=B(h+i|0,4433)+16384|0;v[a+96>>2]=c+B(h,-15137)>>15;v[a+32>>2]=c+B(i,6270)>>15;c=v[a+4>>2];d=g+(f+B(d,12299)|0)>>10;f=(c+d|0)+2|0;g=v[a+68>>2];i=v[a+36>>2];h=g+i|0;v[a+68>>2]=f-h>>2;v[a+4>>2]=f+h>>2;f=i-g|0;d=c-d|0;c=B(f+d|0,4433)+16384|0;v[a+100>>2]=c+B(f,-15137)>>15;v[a+36>>2]=c+B(d,6270)>>15;c=v[a+8>>2];d=(c+b|0)+2|0;f=v[a+72>>2];g=v[a+40>>2];i=f+g|0;v[a+72>>2]=d-i>>2;v[a+8>>2]=d+i>>2;d=g-f|0;c=c-b|0;b=B(d+c|0,4433)+16384|0;v[a+104>>2]=b+B(d,-15137)>>15;v[a+40>>2]=b+B(c,6270)>>15;b=v[a+12>>2];c=k+(e+B(j,25172)|0)>>10;d=(b+c|0)+2|0;f=v[a+76>>2];j=v[a+44>>2];e=f+j|0;v[a+76>>2]=d-e>>2;v[a+12>>2]=d+e>>2;d=j-f|0;c=b-c|0;b=B(d+c|0,4433)+16384|0;v[a+108>>2]=b+B(d,-15137)>>15;v[a+44>>2]=b+B(c,6270)>>15;b=v[a+16>>2];c=v[a+112>>2];d=(b+c|0)+2|0;f=v[a+80>>2];j=v[a+48>>2];e=f+j|0;v[a+80>>2]=d-e>>2;v[a+16>>2]=d+e>>2;d=j-f|0;c=b-c|0;b=B(d+c|0,4433)+16384|0;v[a+112>>2]=b+B(d,-15137)>>15;v[a+48>>2]=b+B(c,6270)>>15;b=v[a+20>>2];c=v[a+116>>2];d=(b+c|0)+2|0;f=v[a+84>>2];j=v[a+52>>2];e=f+j|0;v[a+84>>2]=d-e>>2;v[a+20>>2]=d+e>>2;d=j-f|0;c=b-c|0;b=B(d+c|0,4433)+16384|0;v[a+116>>2]=b+B(d,-15137)>>15;v[a+52>>2]=b+B(c,6270)>>15;b=v[a+24>>2];c=v[a+120>>2];d=(b+c|0)+2|0;f=v[a+88>>2];j=v[a+56>>2];e=f+j|0;v[a+88>>2]=d-e>>2;v[a+24>>2]=d+e>>2;d=j-f|0;c=b-c|0;b=B(d+c|0,4433)+16384|0;v[a+120>>2]=b+B(d,-15137)>>15;v[a+56>>2]=b+B(c,6270)>>15;b=v[a+28>>2];c=v[a+124>>2];d=(b+c|0)+2|0;f=v[a+92>>2];j=v[a+60>>2];e=f+j|0;v[a+92>>2]=d-e>>2;v[a+28>>2]=d+e>>2;d=j-f|0;c=b-c|0;b=B(d+c|0,4433)+16384|0;v[a+124>>2]=b+B(d,-15137)>>15;v[a+60>>2]=b+B(c,6270)>>15}function Pw(a,b,c){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,p=0,q=0,r=0,s=0,t=0;h=Ma-128|0;Ma=h;k=v[c+8>>2];if(!((B(k,b)|0)%v[c+24>>2]|0)){d=1<>2]-1;v[c+48>>2]=d;v[c+44>>2]=d;v[c+40>>2]=d;v[c+36>>2]=d;v[c+32>>2]=d;v[c+28>>2]=d;if(b){while(1){d=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;if((d|0)!=-1){e=d+(e<<8&16776960)|0;if((e&65520)!=65488){continue}}break}k=v[c+8>>2]}v[285944]=0;v[285945]=0;v[285943]=0}p=v[c+76>>2];m=v[c+12>>2];if(!((k|0)<1|(m|0)<1)){i=v[249419];d=b&1;n=(B(B(d,k),m)<<1)+p|0;j=(B(B(!d,k),m)<<1)+p|0;d=k;e=m;while(1){if((e|0)>=1){t=(b|0)!=0&(o|0)!=0;l=0;while(1){q=(l<<2)+c|0;f=v[q+52>>2];e=v[f>>2];a:{if(!e){break a}r=0;if(v[285945]){while(1){f=e;e=v[e>>2];if(e){continue}break a}}while(1){d=0;b:{if(r){break b}g=v[285944];c:{if((g|0)>=1){e=v[285943];break c}while(1){d:{e:{e=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;f:{if((e|0)==-1){if(!v[a+26160>>2]){v[h+112>>2]=v[a+25208>>2];vb(i,8292,h+112|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,i);v[a+26160>>2]=1;break f}d=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[h+96>>2]=d;v[h+100>>2]=d>>31;vb(i,14622,h+96|0)}v[a+26160>>2]=1;break f}if(!v[a+26144>>2]){break f}if((e|0)==255){break e}}v[285945]=0;break d}d=0;g=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[285945]=(g|0)!=0;if(!g){break d}r=1;break b}d=v[285944];g=d+8|0;v[285944]=g;e=e&255|v[285943]<<8;v[285943]=e;if((d|0)<-7){continue}break}}r=0;v[285944]=g-1;d=e<<32-g>>>31|0}f=v[(d<<2)+f>>2];if(v[f>>2]){continue}break}}g:{h:{i:{j:{e=v[f+8>>2];d=e+1|0;if(d){if((d|0)==17){break i}else{break j}}v[285944]=0;v[285945]=0;v[285943]=0;d=0;break h}d=0;if(v[285945]|!e){break h}d=v[285944];k:{if((e|0)<=(d|0)){g=v[285943];break k}while(1){f=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;l:{if((f|0)==-1){if(!v[a+26160>>2]){v[h+48>>2]=v[a+25208>>2];vb(i,8292,h+48|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,i);v[a+26160>>2]=1;v[285945]=0;break l}d=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[h+32>>2]=d;v[h+36>>2]=d>>31;vb(i,14622,h+32|0)}v[a+26160>>2]=1;v[285945]=0;break l}if(!((f|0)==255?v[a+26144>>2]:0)){v[285945]=0;break l}g=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[285945]=(g|0)!=0;d=0;if(g){break h}}d=v[285944]+8|0;v[285944]=d;g=f&255|v[285943]<<8;v[285943]=g;if((d|0)<(e|0)){continue}break}}d=d-e|0;v[285944]=d;f=32-e|0;d=g<>>f|0;break h}d=-32768;if(v[a+26152>>2]-1>>>0>16842750){break g}d=0;if(v[285945]){break h}f=v[285944];m:{if((f|0)>=16){g=v[285943];break m}while(1){g=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;n:{if((g|0)==-1){if(!v[a+26160>>2]){v[h+80>>2]=v[a+25208>>2];vb(i,8292,h+80|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,i);v[a+26160>>2]=1;v[285945]=0;break n}d=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[h+64>>2]=d;v[h+68>>2]=d>>31;vb(i,14622,h- -64|0)}v[a+26160>>2]=1;v[285945]=0;break n}if(!((g|0)==255?v[a+26144>>2]:0)){v[285945]=0;break n}f=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[285945]=(f|0)!=0;d=0;if(f){break h}}d=v[285944];f=d+8|0;v[285944]=f;g=g&255|v[285943]<<8;v[285943]=g;if((d|0)<8){continue}break}}v[285944]=f-16;d=g<<32-f>>>16|0}d=d+(d>>>e-1&1?0:(-1<>2];q:{if(!(!f|(f|0)<(l|0))){d=s;if(l|o){break q}}if(!o){break p}d=x[n-(v[c+12>>2]<<1)>>1]}if(!t){break o}r:{switch(v[c+20>>2]-1|0){case 1:d=x[j>>1];break o;case 2:d=x[j-(v[c+12>>2]<<1)>>1];break o;case 3:d=(x[j>>1]+d|0)-x[j-(v[c+12>>2]<<1)>>1]|0;break o;case 4:d=(x[j>>1]-x[j-(v[c+12>>2]<<1)>>1]>>1)+d|0;break o;case 5:d=x[j>>1]+(d-x[j-(v[c+12>>2]<<1)>>1]>>1)|0;break o;case 6:d=x[j>>1]+d>>1;break o;case 0:break o;default:break r}}d=0;break o}d=v[q+28>>2];v[q+28>>2]=e+d}d=d+e|0;u[n>>1]=d;if((d&65535)>>>v[c>>2]|0){s:{if(v[a+26160>>2]){break s}v[h+16>>2]=v[a+25208>>2];vb(i,8292,h+16|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,i);break s}d=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[h>>2]=d;v[h+4>>2]=d>>31;vb(i,14622,h)}v[a+26160>>2]=1;f=v[c+16>>2]}s=(f|0)>=(l|0)?x[n>>1]:s;j=j+2|0;n=n+2|0;e=v[c+12>>2];l=l+1|0;if((e|0)>(l|0)){continue}break}d=v[c+8>>2]}o=o+1|0;if((o|0)<(d|0)){continue}break}}Ma=h+128|0;return(B(B(b&1,k),m)<<1)+p|0}function FZ(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;k=Ma-16|0;Ma=k;h=8;a:{if(e>>>0>100){break a}b:{i=v[a+32>>2];if(!i){break b}j=v[a+40>>2];l=v[a+36>>2]+v[a+28>>2]|0;g=l;while(1){c:{v[k+12>>2]=g+2;h=w[g+1|0];m=w[g|0];v[k+12>>2]=g+4;m=h|m<<8;if(m>>>0<=b>>>0&(w[g+3|0]|w[g+2|0]<<8)>>>0>=b>>>0){break c}g=g+8|0;v[k+12>>2]=g;i=i-1|0;if(i){continue}break b}break}g=w[g+4|0]|w[g+5|0]<<8|(w[g+6|0]<<16|w[g+7|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);h=8;if(g>>>0>j-l>>>0){break a}h=g+l|0;g=h+8|0;if(g>>>0>j>>>0){break b}v[k+12>>2]=h+2;i=w[h|0]|w[h+1|0]<<8;v[k+12>>2]=h+4;n=w[h+3|0];o=w[h+2|0];v[k+12>>2]=g;l=w[h+4|0]|w[h+5|0]<<8|(w[h+6|0]<<16|w[h+7|0]<<24);d:{e:{switch(((i<<8|i>>>8)&65535)-1|0){case 0:b=g+(b-m<<2)|0;g=b+8|0;if(g>>>0>j>>>0){break b}v[k+12>>2]=b+4;h=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);v[k+12>>2]=g;b=w[b+4|0]|w[b+5|0]<<8|(w[b+6|0]<<16|w[b+7|0]<<24);g=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);i=h<<8&16711680|h<<24|(h>>>8&65280|h>>>24);if((g|0)!=(i|0)){break d}break b;case 1:if(g+12>>>0>j>>>0){break b}v[k+12>>2]=g+4;g=w[g|0]|w[g+1|0]<<8|(w[g+2|0]<<16|w[g+3|0]<<24);if(MI(a,k+12|0,j)){break b}h=b-m|0;b=g<<8&16711680|g<<24|(g>>>8&65280|g>>>24);i=B(h,b);g=i+b|0;break d;case 2:b=g+(b-m<<1)|0;if(b+4>>>0>j>>>0){break b}v[k+12>>2]=b+2;h=w[b+1|0];i=w[b|0];v[k+12>>2]=b+4;g=w[b+3|0]|w[b+2|0]<<8;i=h|i<<8;if((g|0)!=(i|0)){break d}break b;case 3:g=g+4|0;if(j>>>0>>0){break b}v[k+12>>2]=g;if(g+4>>>0>j>>>0){break b}h=g-4|0;h=w[h|0]|w[h+1|0]<<8|(w[h+2|0]<<16|w[h+3|0]<<24);h=h<<24|h<<8&16711680|(h>>>8&65280|h>>>24);if(h>>>0>(j-g>>2)-1>>>0|!h){break b}i=0;while(1){v[k+12>>2]=g+2;if((w[g+1|0]|w[g|0]<<8)==(b|0)){v[k+12>>2]=g+4;b=w[g+3|0];h=w[g+2|0];v[k+12>>2]=g+6;i=b|h<<8;g=w[g+7|0]|w[g+6|0]<<8;break d}g=g+4|0;v[k+12>>2]=g;i=i+1|0;if((h|0)!=(i|0)){continue}break};break b;case 4:case 18:break e;default:break b}}if(g+16>>>0>j>>>0){break b}v[k+12>>2]=g+4;h=w[g|0]|w[g+1|0]<<8|(w[g+2|0]<<16|w[g+3|0]<<24);if(MI(a,k+12|0,j)){break b}i=v[k+12>>2];g=i+4|0;v[k+12>>2]=g;p=j-g>>1;i=w[i|0]|w[i+1|0]<<8|(w[i+2|0]<<16|w[i+3|0]<<24);j=i<<24|i<<8&16711680|(i>>>8&65280|i>>>24);if(p>>>0>>0|!j){break b}m=h<<8&16711680|h<<24|(h>>>8&65280|h>>>24);i=0;while(1){f:{h=g+2|0;v[k+12>>2]=h;if((w[g+1|0]|w[g|0]<<8)==(b|0)){break f}g=h;i=i+1|0;if((j|0)!=(i|0)){continue}break b}break}i=B(i,m);g=m+i|0}if(g>>>0>>0){break b}n=n|o<<8;j=Ma-16|0;Ma=j;b=6;h=g-i|0;l=(l<<8&16711680|l<<24|(l>>>8&65280|l>>>24))+i|0;g:{if(!h|y[a+24>>2]>>0){break g}o=v[a+4>>2];b=Mb(o,l+v[a+20>>2]|0);if(b){break g}b=Zh(o,h,j+8|0);if(b){break g}g=v[j+8>>2];v[j+12>>2]=g;l=g+h|0;b=7;h:{i:{j:{k:{l:{m:{n:{o:{switch(n-1|0){case 0:case 1:case 7:case 16:b=6;if((h|0)<5){break h}b=v[a+12>>2];u[b>>1]=w[g|0];u[b+2>>1]=w[g+1|0];u[b+4>>1]=t[g+2|0];u[b+6>>1]=t[g+3|0];h=w[g+4|0];u[b+14>>1]=0;u[b+10>>1]=0;u[b+12>>1]=0;u[b+8>>1]=h;t[a+16|0]=1;v[j+12>>2]=g+5;break n;case 18:break h;case 4:break m;case 5:case 6:case 8:case 17:break o;default:break i}}b=MI(a,j+12|0,l);if(b){break h}}m=2460;b=7;p:{switch(n-1|0){case 16:case 17:break h;case 0:case 5:break j;case 8:break k;case 7:break l;case 4:break m;case 1:case 6:break p;default:break i}}g=v[a+12>>2];b=x[g>>1];h=x[g+2>>1];g=B(b,h+7>>>3|0);if(g>>>0<=B(b,h)+7>>>3>>>0){break m}if((g|0)==(l-v[j+12>>2]|0)){break j}}m=2461;break j}b=0;g=v[j+12>>2]+1|0;if(g>>>0>l>>>0){break h}v[j+12>>2]=g}m=2462}if(!w[a+17|0]){if(w[a+16|0]){h=v[a+12>>2];b=x[h+2>>1];g=v[a+8>>2];n=x[h>>1];v[g>>2]=n;v[g+4>>2]=b;h=3;p=g;q:{r:{s:{t:{switch(w[a+18|0]-1|0){case 0:t[g+18|0]=1;b=b+7>>>3|0;h=2;break r;case 1:t[g+18|0]=3;b=b+3>>>2|0;h=4;break r;case 3:t[g+18|0]=4;b=b+1>>>1|0;h=16;break r;case 7:t[g+18|0]=2;break s;case 31:break t;default:break q}}t[g+18|0]=7;b=b<<2}h=256}u[p+16>>1]=h;v[g+8>>2]=b;h=0;b=B(b,n);if(f|!b){break q}h=oB(v[v[a>>2]+84>>2],b);if(h){break q}t[a+17|0]=1;h=0}b=h}else{b=6}if(b){break h}}b=0;if(f){break h}b=Qa[m|0](a,v[j+12>>2],l,c,d,e)|0;break h}b=8}Oe(o,j+8|0)}Ma=j+16|0;h=b;break a}h=e?21:157}Ma=k+16|0;return h}function kH(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=Ma+-64|0;Ma=f;c=v[a+36>>2];h=v[c+56>>2];v[a+200>>2]=v[a+200>>2]+3;b=v[c+16>>2];v[c+16>>2]=b+3;v[c+32>>2]=v[c+32>>2]+3;b=w[b+3|0];if((b|0)==37){zc(a);c=v[a+36>>2];b=w[v[c+16>>2]]}a:{if(b&255){break a}if((Zb(c)|0)>0){break a}xc(a)}Fc(a);b:{c:{d:{e:{f:{g:{d=v[a+36>>2];b=v[d+16>>2];if(w[b|0]!=73){break g}h:{switch(w[b+1|0]-71|0){case 7:if(w[b+2|0]!=67|w[b+3|0]!=76|(w[b+4|0]!=85|w[b+5|0]!=68)){break g}if(w[b+6|0]!=69){break g}v[a+200>>2]=v[a+200>>2]+7;v[d+16>>2]=b+7;v[d+32>>2]=v[d+32>>2]+7;b=w[b+7|0];if((b|0)==37){zc(a);d=v[a+36>>2];b=w[v[d+16>>2]]}i:{if(b&255){break i}if((Zb(d)|0)>0){break i}xc(a)}Fc(a);b=v[a+36>>2];if(w[v[b+16>>2]]!=91){Md(a,83,0);sl(a);break b}if(v[b+56>>2]!=(h|0)){gj(a,90,337697,0,0)}Bc(a);if(v[291060]){b=v[a+36>>2];j:{if(!b){break j}c=v[b+4>>2];if(!c){break j}b=v[b+28>>2];v[f+32>>2]=c;v[f+36>>2]=b;Qa[v[256654]](v[291043],337349,f+32|0)}Qa[v[256654]](v[291043],341428,0)}c=v[a+36>>2];k:{while(1){e=v[c+16>>2];b=w[e|0];l:{if((b|0)!=93){if(b){break l}break k}if(w[e+1|0]!=93){break l}if(w[e+2|0]==62){break k}}if(v[a+172>>2]==-1){break k}g=v[c+36>>2];m:{n:{o:{p:{if((b|0)==32){break p}if((b|0)==60){if(w[e+1|0]!=33|w[e+2|0]!=91){break n}kH(a);break m}if((b-9&255)>>>0<2){break p}if((b|0)==37){break o}if((b|0)!=13){break n}}Bc(a);break m}Jz(a);break m}lH(a)}c=v[a+36>>2];d=v[c+16>>2];q:{if(w[d|0]|v[a+40>>2]<=1){break q}while(1){xc(a);c=v[a+36>>2];d=v[c+16>>2];if(w[d|0]){break q}if(v[a+40>>2]>=2){continue}break}}if((d|0)!=(e|0)|(g|0)!=v[c+36>>2]){continue}break}Md(a,60,0);sl(a)}if(!v[291060]){break c}c=v[a+36>>2];if(c){break f}d=341391;break d;case 0:break h;default:break g}}if(w[b+2|0]!=78|w[b+3|0]!=79|(w[b+4|0]!=82|w[b+5|0]!=69)){break g}v[a+200>>2]=v[a+200>>2]+6;v[d+16>>2]=b+6;v[d+32>>2]=v[d+32>>2]+6;b=w[b+6|0];if((b|0)==37){zc(a);d=v[a+36>>2];b=w[v[d+16>>2]]}r:{if(b&255){break r}if((Zb(d)|0)>0){break r}xc(a)}Fc(a);b=v[a+36>>2];if(w[v[b+16>>2]]!=91){Md(a,83,0);sl(a);break b}if(v[b+56>>2]!=(h|0)){gj(a,90,337697,0,0)}Bc(a);if(v[291060]){b=v[a+36>>2];s:{if(!b){break s}c=v[b+4>>2];if(!c){break s}b=v[b+28>>2];v[f+48>>2]=c;v[f+52>>2]=b;Qa[v[256654]](v[291043],337349,f+48|0)}Qa[v[256654]](v[291043],341354,0)}d=v[a+212>>2];if(!v[a+288>>2]){v[a+212>>2]=1}i=v[a+172>>2];v[a+172>>2]=15;while(1){t:{e=v[a+36>>2];b=v[e+16>>2];c=w[b|0];if(!c|v[a+172>>2]==-1){break t}u:{v:{w:{x:{if((c|0)!=60){if((c|0)!=93|w[b+1|0]!=93|w[b+2|0]!=62){break x}if((g|0)<1){break t}v[a+200>>2]=v[a+200>>2]+3;v[e+16>>2]=b+3;v[e+32>>2]=v[e+32>>2]+3;g=g-1|0;b=w[b+3|0];if((b|0)==37){zc(a);e=v[a+36>>2];b=w[v[e+16>>2]]}if(b&255){break u}if((Zb(e)|0)<1){break v}break u}if(w[b+1|0]!=33){break x}if(w[b+2|0]==91){break w}}Bc(a);continue}v[a+200>>2]=v[a+200>>2]+3;v[e+16>>2]=b+3;v[e+32>>2]=v[e+32>>2]+3;g=g+1|0;b=w[b+3|0];if((b|0)==37){zc(a);e=v[a+36>>2];b=w[v[e+16>>2]]}if(b&255){break u}if((Zb(e)|0)>0){break u}}xc(a)}if((g|0)>-1){continue}}break}v[a+172>>2]=i;v[a+212>>2]=d;if(!v[291060]){break c}c=v[a+36>>2];if(!c){d=341318;break d}d=341318;e=v[c+4>>2];if(e){break e}break d}if(!(v[a+172>>2]==-1?v[a+212>>2]:0)){v[a+84>>2]=95;v[f>>2]=289143;nb(0,0,0,a,0,1,95,3,0,0,0,0,340716,f);v[a+12>>2]=0}v[a+212>>2]=1;v[a+172>>2]=-1;c=v[a+36>>2];if(!c){break b}b=v[c+40>>2];if(b){Qa[b|0](v[c+12>>2]);c=v[a+36>>2];v[c+40>>2]=0}v[c+12>>2]=349015;v[c+16>>2]=349015;break b}d=341391;e=v[c+4>>2];if(!e){break d}}b=v[c+28>>2];v[f+16>>2]=e;v[f+20>>2]=b;Qa[v[256654]](v[291043],337349,f+16|0)}Qa[v[256654]](v[291043],d,0)}y:{c=v[a+36>>2];b=v[c+16>>2];if(w[b|0]){break y}if(!(v[a+292>>2]|(b-v[c+12>>2]|0)<501|(v[c+20>>2]-b|0)>499)){Js(a);c=v[a+36>>2];if(w[v[c+16>>2]]){break y}}Md(a,59,0);break b}if(v[c+56>>2]!=(h|0)){gj(a,90,337697,0,0)}if(v[a+172>>2]==-1){break b}c=v[a+36>>2];d=v[c+16>>2];b=d+3|0;if(b>>>0>y[c+20>>2]){break b}v[a+200>>2]=v[a+200>>2]+3;v[c+16>>2]=b;v[c+32>>2]=v[c+32>>2]+3;b=w[d+3|0];if((b|0)==37){zc(a);c=v[a+36>>2];b=w[v[c+16>>2]]}if(b&255){break b}if((Zb(c)|0)>0){break b}xc(a)}Ma=f- -64|0}function f6(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;g=Ma-80|0;Ma=g;if(!(!c|!w[c|0])){Nb(32419,0)}c=-1;n=sM(33107);a:{if((n|0)<=-1){Nb(35441,0);break a}h=v[a+16>>2];e=gb(16);if(!e){break a}v[e+12>>2]=0;v[e+4>>2]=0;v[e+8>>2]=0;b:{if((h|0)>-1){c:{d:{c=gb(h<<2);if(c){v[e+12>>2]=c;v[e+8>>2]=h;f=v[e+4>>2];e:{if((f|0)>=(h|0)){break e}v[c+(f<<2)>>2]=0;c=f+1|0;if((h|0)==(c|0)){break e}d=h+(f^-1)&3;if(d){while(1){v[v[e+12>>2]+(c<<2)>>2]=0;c=c+1|0;d=d-1|0;if(d){continue}break}}if((h-f|0)-2>>>0<3){break e}while(1){d=c<<2;v[d+v[e+12>>2]>>2]=0;v[(d+v[e+12>>2]|0)+4>>2]=0;v[(d+v[e+12>>2]|0)+8>>2]=0;v[(d+v[e+12>>2]|0)+12>>2]=0;c=c+4|0;if((h|0)!=(c|0)){continue}break}}v[e>>2]=1296647690;c=v[a+16>>2];v[e+4>>2]=c;if((c|0)>=1){while(1){c=gb(36);d=i<<2;v[d+v[e+12>>2]>>2]=c;c=v[d+v[e+12>>2]>>2];d=v[d+v[a+24>>2]>>2];v[c>>2]=v[d>>2];v[c+4>>2]=v[d+4>>2];v[c+8>>2]=v[d+16>>2];v[c+12>>2]=v[d+20>>2];v[c+16>>2]=v[d+8>>2];v[c+20>>2]=v[d+12>>2];v[c+24>>2]=v[d+24>>2];d=v[d+28>>2];v[c+32>>2]=0;v[c+28>>2]=d;i=i+1|0;if((i|0)>2]){continue}break}}c=v[b+8>>2];if(c&7){break c}d=v[b+64>>2];if((d|0)<0|(d|0)>v[b+60>>2]){break d}v[b+8>>2]=c|4;break c}d=v[e+12>>2];if(d){if(v[e+4>>2]>=1){c=0;while(1){a=v[(c<<2)+d>>2];b=v[a+32>>2];if(b){$a(b)}$a(a);c=c+1|0;if((c|0)>2]){d=v[e+12>>2];continue}break}d=v[e+12>>2]}$a(d)}$a(e);c=-1;break a}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;if((c|0)<=0){Cb(b,77);break c}v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;t[c|0]=77}c=v[b+8>>2];f:{if(c&7){break f}d=v[b+64>>2];if(!((d|0)<0|(d|0)>v[b+60>>2])){v[b+8>>2]=c|4;break f}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;if((c|0)<=0){Cb(b,73);break f}v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;t[c|0]=73}c=v[b+8>>2];g:{if(c&7){break g}d=v[b+64>>2];if(!((d|0)<0|(d|0)>v[b+60>>2])){v[b+8>>2]=c|4;break g}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;if((c|0)<=0){Cb(b,70);break g}v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;t[c|0]=70}c=v[b+8>>2];h:{if(c&7){break h}d=v[b+64>>2];if(!((d|0)<0|(d|0)>v[b+60>>2])){v[b+8>>2]=c|4;break h}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;if((c|0)<=0){Cb(b,10);break h}v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;t[c|0]=10}if(v[e+4>>2]>=1){d=0;while(1){c=v[v[e+12>>2]+(d<<2)>>2];h=v[c>>2];f=v[c+4>>2];j=v[c+16>>2];i=v[c+20>>2];l=v[c+8>>2];m=v[c+12>>2];o=v[c+28>>2];v[g+40>>2]=v[c+24>>2];v[g+44>>2]=o;v[g+32>>2]=l;v[g+36>>2]=m;v[g+24>>2]=j;v[g+28>>2]=i;v[g+16>>2]=h;v[g+20>>2]=f;Xk(b,42134,g+16|0);c=v[c+32>>2];if(c){v[g>>2]=c;Xk(b,42785,g)}Xk(b,44344,0);d=d+1|0;if((d|0)>2]){continue}break}}Xk(b,45079,0);c=v[e+4>>2];if((c|0)>=1){while(1){f=v[v[e+12>>2]+(k<<2)>>2];if(!v[f+32>>2]){j=KC();if(!j){h=0;break b}v[g+48>>2]=0;v[g+52>>2]=0;v[g+56>>2]=v[f+16>>2];v[g+60>>2]=v[f+20>>2];v[g+64>>2]=v[f+8>>2];v[g+68>>2]=v[f+12>>2];c=v[f+24>>2];h=0;v[g+76>>2]=0;v[g+72>>2]=c;if(hr(j,v[j+16>>2],g+48|0)){break b}d=Sn(0,0,v[f+8>>2],v[f+12>>2]);if(!d){break b}if(pk(a,k,0,0,v[f+8>>2],v[f+12>>2],d)){h=d;break b}i:{if(!v[f+28>>2]){c=v[f+12>>2];break i}c=v[f+12>>2];if((c|0)<1){break i}i=v[f+8>>2];if((i|0)<1){break i}l=1<>2]-1;while(1){if((i|0)>=1){m=v[d+28>>2];c=0;while(1){i=v[(h-v[d+8>>2]<<2)+m>>2]+(c-v[d+4>>2]<<2)|0;v[i>>2]=v[i>>2]+l;c=c+1|0;i=v[f+8>>2];if((c|0)<(i|0)){continue}break}c=v[f+12>>2]}h=h+1|0;if((h|0)<(c|0)){continue}break}}if(mj(j,0,0,0,v[f+8>>2],c,d)){h=d;break b}ve(d);h=0;if(tM(j,b,n,0)){break b}Og(j);c=v[e+4>>2]}k=k+1|0;if((k|0)<(c|0)){continue}break}}d=v[e+12>>2];if(d){if((c|0)>=1){c=0;while(1){a=v[(c<<2)+d>>2];b=v[a+32>>2];if(b){$a(b)}$a(a);c=c+1|0;if((c|0)>2]){d=v[e+12>>2];continue}break}d=v[e+12>>2]}$a(d)}$a(e);c=0;break a}O(37211,38748,441,188480);L()}d=v[e+12>>2];if(d){if(v[e+4>>2]>=1){c=0;while(1){a=v[(c<<2)+d>>2];b=v[a+32>>2];if(b){$a(b)}$a(a);c=c+1|0;if((c|0)>2]){d=v[e+12>>2];continue}break}d=v[e+12>>2]}$a(d)}$a(e);if(j){Og(j)}c=-1;if(!h){break a}ve(h)}Ma=g+80|0;return c|0}function bLa(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;f=Ma-176|0;Ma=f;v[f+172>>2]=0;i=v[e+32>>2];if(i){j=v[i+100>>2]}a:{b:{if(Kb(a,309303,7)){break b}c:{h=w[a+7|0];switch(h|0){case 0:case 9:case 10:case 13:case 32:break c;default:break b}}c=0;if(!v[v[e+36>>2]+8>>2]|!i){break a}c=v[i+100>>2];v[f+32>>2]=0;j=c;c=v[i+88>>2];e=(h?-8:-7)+b|0;d=e+1|0;b=yb(j,1,c,d+c|0,v[i+84>>2],f+32|0);v[i+84>>2]=b;c=v[f+32>>2];if(c){break a}k=cb(b+v[i+88>>2]|0,h?a+8|0:a+7|0,e)+e|0,l=10,t[k|0]=l;v[i+88>>2]=d+v[i+88>>2];c=v[f+32>>2];break a}g=v[e>>2];if(!(g&1)){h=v[e+56>>2];c=176;if(Kb(a,309273,9)){break a}d:{switch(w[a+9|0]){case 0:case 9:case 10:case 13:case 32:break d;default:break a}}a=0;v[e+32>>2]=0;v[e>>2]=1;b=cc(h,136,f+172|0);c=v[f+172>>2];if(c){break a}v[e+32>>2]=b;v[b+100>>2]=v[e+56>>2];v[e+56>>2]=0;b=b+112|0;c=Z$(b,h);v[f+172>>2]=c;if(c){break a}d=424240;while(1){c=dB(v[d>>2],a,b,h);v[f+172>>2]=c;if(c){break a}d=d+16|0;a=a+1|0;if((a|0)!=83){continue}break}a=cc(h,24,f+172|0);v[v[e+32>>2]+92>>2]=a;c=v[f+172>>2];if(c){break a}c=Z$(a,h);if(c){break a}b=v[v[e+36>>2]+12>>2];a=v[e+32>>2];v[a+36>>2]=-1;v[a+28>>2]=b;c=0;break a}e:{if(Kb(a,310219,15)){break e}f:{switch(w[a+15|0]){case 0:case 9:case 10:case 13:case 32:break f;default:break e}}c=179;if(!(g&8)){break a}c=Kk(e+40|0,326457,a,b);v[f+172>>2]=c;if(c){break a}a=v[e+32>>2];b=ht(v[v[e+40>>2]+4>>2]);v[a+72>>2]=b;v[e+4>>2]=b;if(b>>>0>v[e+60>>2]>>>2>>>0){v[a+72>>2]=0;c=6;break a}b=yb(j,16,0,b,0,f+172|0);a=v[e+32>>2];v[a+80>>2]=b;c=v[f+172>>2];if(c){v[a+72>>2]=0;break a}v[e>>2]=v[e>>2]|16;v[d>>2]=1930;c=0;break a}h=f;g:{h:{if(Kb(a,308569,15)){break h}i:{switch(w[a+15|0]){case 0:case 9:case 10:case 13:case 32:break i;default:break h}}c=178;if(!(g&4)){break g}c=Kk(e+40|0,326457,a,b);v[f+172>>2]=c;if(c){break a}d=v[e+32>>2];b=v[e+40>>2];k=d,l=cB(v[b+4>>2]),u[k+4>>1]=l;a=cB(v[b+8>>2]);u[d+6>>1]=a;k=d,l=rw(v[b+12>>2]),u[k+8>>1]=l;b=rw(v[b+16>>2]);u[d+10>>1]=b;c=0;u[d+14>>1]=0-b;u[d+12>>1]=a+b;v[e>>2]=v[e>>2]|8;break a}j:{k:{if(Kb(a,309286,4)){break k}l:{switch(w[a+4|0]){case 0:case 9:case 10:case 13:case 32:break l;default:break k}}d=e+40|0;c=Kk(d,326457,a,b);v[f+172>>2]=c;if(c){break a}U$(d);b=T$(d,f+32|0);if(!b){break j}a=v[v[e+32>>2]>>2];if(a){Qa[v[j+8>>2]](j,a)}v[v[e+32>>2]>>2]=0;a=v[f+32>>2]+1|0;d=yb(j,1,0,a,0,f+172|0);v[v[e+32>>2]>>2]=d;c=v[f+172>>2];if(c){break a}cb(d,b,a);b=v[e+36>>2];g=Ma-272|0;Ma=g;d=6;h=v[e+32>>2];m:{if(!h){break m}c=v[h>>2];if(!c|!w[c|0]){break m}a=v[h+100>>2];v[g+8>>2]=0;v[g>>2]=0;v[g+4>>2]=0;v[g+12>>2]=a;v[h+28>>2]=v[b+12>>2];b=zb(c)+1|0;if(b>>>0>255){break m}a=g+16|0;cb(a,c,b);d=Kk(g,326440,a,b);n:{if(d|v[g+8>>2]!=15){break n}c=32;o:{p:{switch(t[v[v[g>>2]+44>>2]]-67|0){case 10:case 42:c=16;break o;case 0:case 32:break o;case 13:case 45:break p;default:break n}}c=8}v[h+28>>2]=c}b=v[g+12>>2];if(!b){break m}a=v[g>>2];if(a){Qa[v[b+8>>2]](b,a)}}Ma=g+272|0;c=d;v[f+172>>2]=c;if(c){break a}v[e>>2]=v[e>>2]|2;c=0;break a}q:{if(Kb(a,311910,4)){break q}r:{switch(w[a+4|0]){case 0:case 9:case 10:case 13:case 32:break r;default:break q}}c=177;if(!(g&2)){break g}c=Kk(e+40|0,326457,a,b);v[f+172>>2]=c;if(c){break a}c=v[e+32>>2];a=v[e+40>>2];k=c,l=ht(v[a+4>>2]),v[k+16>>2]=l;k=c,l=ht(v[a+8>>2]),v[k+20>>2]=l;k=c,l=ht(v[a+12>>2]),v[k+24>>2]=l;s:{if(v[e+48>>2]==5){b=rw(v[a+16>>2]);a=b&65535;if(a>>>0>=5){u[c+96>>1]=8;break s}if(a>>>0>=3){u[c+96>>1]=4;break s}if((b|0)==2){u[c+96>>1]=2;break s}u[c+96>>1]=1;break s}u[c+96>>1]=1}v[e>>2]=v[e>>2]|4;c=0;break a}if(Kb(a,310036,5)){break j}t:{switch(w[a+5|0]){case 0:case 9:case 10:case 13:case 32:break t;default:break j}}c=179;if(!(g&8)){break g}a=u[i+12>>1];v[i+40>>2]=a;v[f+16>>2]=a;a=f+32|0;Dc(a,288693,f+16|0);c=Jq(v[e+32>>2],309390,a);v[f+172>>2]=c;if(c){break a}a=v[e+32>>2];b=u[a+14>>1];v[a+44>>2]=b;v[f>>2]=b;a=f+32|0;Dc(a,288693,f);c=Jq(v[e+32>>2],309345,a);if(c){break a}v[d>>2]=1931;c=-1;break g}c=3}v[h+172>>2]=c}Ma=f+176|0;return c|0}function JK(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=C(0),j=0,k=0,l=0,m=C(0),n=C(0),o=0;a:while(1){k=b-4|0;while(1){b:{c:{d:{e:{f:{g:{d=b-a|0;e=d>>2;switch(e|0){case 0:case 1:break b;case 5:break d;case 4:break e;case 3:break f;case 2:break g;default:break c}}c=v[v[c>>2]+16>>2];b=b-4|0;d=v[b>>2];e=v[a>>2];if(!(z[c+(d<<2)>>2]>2])){break b}v[a>>2]=d;v[b>>2]=e;return}d=b-4|0;e=v[d>>2];b=v[v[c>>2]+16>>2];i=z[(e<<2)+b>>2];f=v[a+4>>2];m=z[b+(f<<2)>>2];c=v[a>>2];n=z[b+(c<<2)>>2];if(!(m>2]=e;v[d>>2]=f;c=v[a+4>>2];d=v[a>>2];if(!(z[b+(c<<2)>>2]>2])){break b}v[a+4>>2]=d;v[a>>2]=c;return}if(i>2]=e;v[d>>2]=c;return}v[a+4>>2]=c;v[a>>2]=f;e=v[d>>2];if(!(n>z[b+(e<<2)>>2])){break b}v[a+4>>2]=e;v[d>>2]=c;return}Mw(a,a+4|0,a+8|0,b-4|0,c);return}d=a;Mw(d,d+4|0,d+8|0,d+12|0,c);c=v[v[c>>2]+16>>2];b=b-4|0;e=v[b>>2];f=v[d+12>>2];if(!(z[c+(e<<2)>>2]>2])){break b}v[d+12>>2]=e;v[b>>2]=f;e=v[d+12>>2];i=z[c+(e<<2)>>2];b=a;f=v[a+8>>2];if(!(i>2])){break b}v[b+8>>2]=e;v[d+12>>2]=f;a=v[a+4>>2];if(!(i>2])){break b}v[d+8>>2]=a;v[d+4>>2]=e;a=v[d>>2];if(!(i>2])){break b}v[d+4>>2]=a;v[d>>2]=e;break b}if((d|0)<=123){f=a+4|0;g=a+8|0;l=v[v[c>>2]+16>>2];d=v[a+8>>2];i=z[l+(d<<2)>>2];h:{i:{j:{k=v[a+4>>2];m=z[l+(k<<2)>>2];j=v[a>>2];n=z[l+(j<<2)>>2];if(!(m>2]=j;v[a>>2]=k;h=f;if(i>2]=d;v[g>>2]=k;h=a;c=f;e=k;if(!(i>2]=d;v[c>>2]=j}f=a+12|0;if((f|0)==(b|0)){break b}while(1){c=f;d=f;h=v[d>>2];i=z[l+(h<<2)>>2];if(i>2]){while(1){k:{v[d>>2]=e;f=g;if((f|0)==(a|0)){f=a;break k}d=f;g=d-4|0;e=v[g>>2];if(i>2]){continue}}break}v[f>>2]=h}f=c+4|0;if((f|0)==(b|0)){break b}e=v[c>>2];g=c;continue}}j=((e|0)/2<<2)+a|0;l:{if((d|0)>=3997){e=(e|0)/4<<2;d=e+a|0;e=e+j|0;h=Mw(a,d,j,e,c);f=v[v[c>>2]+16>>2];g=v[k>>2];l=v[e>>2];if(!(z[f+(g<<2)>>2]>2])){break l}v[e>>2]=g;v[k>>2]=l;g=v[e>>2];l=v[j>>2];if(!(z[(g<<2)+f>>2]>2])){h=h+1|0;break l}v[j>>2]=g;v[e>>2]=l;e=v[j>>2];g=v[d>>2];if(!(z[(e<<2)+f>>2]>2])){h=h+2|0;break l}v[d>>2]=e;v[j>>2]=g;e=v[d>>2];g=v[a>>2];if(!(z[(e<<2)+f>>2]>2])){h=h+3|0;break l}v[a>>2]=e;v[d>>2]=g;h=h+4|0;break l}f=v[v[c>>2]+16>>2];e=v[k>>2];i=z[f+(e<<2)>>2];g=v[j>>2];m=z[(g<<2)+f>>2];d=v[a>>2];n=z[(d<<2)+f>>2];m:{if(!(m>2]=e;v[k>>2]=g;h=1;d=v[j>>2];e=v[a>>2];if(!(z[(d<<2)+f>>2]>2])){break l}v[a>>2]=d;v[j>>2]=e;break m}if(i>2]=e;v[k>>2]=d;h=1;break l}v[a>>2]=g;v[j>>2]=d;h=1;e=v[k>>2];if(!(n>z[(e<<2)+f>>2])){break l}v[j>>2]=e;v[k>>2]=d}h=2}e=k;n:{o:{d=v[a>>2];i=z[(d<<2)+f>>2];m=z[(v[j>>2]<<2)+f>>2];if(!(i>2];if(i>2]){break o}if((d|0)==(k|0)){break b}while(1){g=v[d>>2];if(i>2]){v[d>>2]=e;v[k>>2]=g;d=d+4|0;break o}d=d+4|0;if((k|0)!=(d|0)){continue}break}break b}g=v[e>>2];if(!(m>z[(g<<2)+f>>2])){continue}break}v[a>>2]=g;v[e>>2]=d;h=h+1|0}d=a+4|0;if(e>>>0>d>>>0){while(1){i=z[(v[j>>2]<<2)+f>>2];while(1){g=d;d=d+4|0;l=v[g>>2];if(i>z[(l<<2)+f>>2]){continue}break}while(1){e=e-4|0;o=v[e>>2];if(!(i>z[(o<<2)+f>>2])){continue}break}if(e>>>0>>0){d=g}else{v[g>>2]=o;v[e>>2]=l;j=(g|0)==(j|0)?e:j;h=h+1|0;continue}break}}p:{if((d|0)==(j|0)){break p}e=v[j>>2];i=z[(e<<2)+f>>2];g=f;f=v[d>>2];if(!(i>2])){break p}v[d>>2]=e;v[j>>2]=f;h=h+1|0}if(!h){g=o3(a,d,c);e=d+4|0;if(o3(e,b,c)){b=d;if(!g){continue a}break b}f=2;if(g){break n}}if((d-a|0)<(b-d|0)){JK(a,d,c);a=d+4|0;continue}JK(d+4|0,b,c);b=d;continue a}g=k;if((g|0)==(d|0)){break b}while(1){i=z[(v[a>>2]<<2)+f>>2];while(1){e=d;d=d+4|0;h=v[e>>2];if(!(i>2])){continue}break}while(1){g=g-4|0;j=v[g>>2];if(i>2]){continue}break}if(e>>>0>>0){v[e>>2]=j;v[g>>2]=h;continue}break}f=4}a=e;if((f|0)==4|(f|0)==2){continue}}break}break}}function IK(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=C(0),j=0,k=0,l=0,m=C(0),n=C(0),o=0;a:while(1){k=b-4|0;while(1){b:{c:{d:{e:{f:{g:{d=b-a|0;e=d>>2;switch(e|0){case 0:case 1:break b;case 5:break d;case 4:break e;case 3:break f;case 2:break g;default:break c}}c=v[v[c>>2]+12>>2];b=b-4|0;d=v[b>>2];e=v[a>>2];if(!(z[c+(d<<2)>>2]>2])){break b}v[a>>2]=d;v[b>>2]=e;return}d=b-4|0;e=v[d>>2];b=v[v[c>>2]+12>>2];i=z[(e<<2)+b>>2];f=v[a+4>>2];m=z[b+(f<<2)>>2];c=v[a>>2];n=z[b+(c<<2)>>2];if(!(m>2]=e;v[d>>2]=f;c=v[a+4>>2];d=v[a>>2];if(!(z[b+(c<<2)>>2]>2])){break b}v[a+4>>2]=d;v[a>>2]=c;return}if(i>2]=e;v[d>>2]=c;return}v[a+4>>2]=c;v[a>>2]=f;e=v[d>>2];if(!(n>z[b+(e<<2)>>2])){break b}v[a+4>>2]=e;v[d>>2]=c;return}Lw(a,a+4|0,a+8|0,b-4|0,c);return}d=a;Lw(d,d+4|0,d+8|0,d+12|0,c);c=v[v[c>>2]+12>>2];b=b-4|0;e=v[b>>2];f=v[d+12>>2];if(!(z[c+(e<<2)>>2]>2])){break b}v[d+12>>2]=e;v[b>>2]=f;e=v[d+12>>2];i=z[c+(e<<2)>>2];b=a;f=v[a+8>>2];if(!(i>2])){break b}v[b+8>>2]=e;v[d+12>>2]=f;a=v[a+4>>2];if(!(i>2])){break b}v[d+8>>2]=a;v[d+4>>2]=e;a=v[d>>2];if(!(i>2])){break b}v[d+4>>2]=a;v[d>>2]=e;break b}if((d|0)<=123){f=a+4|0;g=a+8|0;l=v[v[c>>2]+12>>2];d=v[a+8>>2];i=z[l+(d<<2)>>2];h:{i:{j:{k=v[a+4>>2];m=z[l+(k<<2)>>2];j=v[a>>2];n=z[l+(j<<2)>>2];if(!(m>2]=j;v[a>>2]=k;h=f;if(i>2]=d;v[g>>2]=k;h=a;c=f;e=k;if(!(i>2]=d;v[c>>2]=j}f=a+12|0;if((f|0)==(b|0)){break b}while(1){c=f;d=f;h=v[d>>2];i=z[l+(h<<2)>>2];if(i>2]){while(1){k:{v[d>>2]=e;f=g;if((f|0)==(a|0)){f=a;break k}d=f;g=d-4|0;e=v[g>>2];if(i>2]){continue}}break}v[f>>2]=h}f=c+4|0;if((f|0)==(b|0)){break b}e=v[c>>2];g=c;continue}}j=((e|0)/2<<2)+a|0;l:{if((d|0)>=3997){e=(e|0)/4<<2;d=e+a|0;e=e+j|0;h=Lw(a,d,j,e,c);f=v[v[c>>2]+12>>2];g=v[k>>2];l=v[e>>2];if(!(z[f+(g<<2)>>2]>2])){break l}v[e>>2]=g;v[k>>2]=l;g=v[e>>2];l=v[j>>2];if(!(z[(g<<2)+f>>2]>2])){h=h+1|0;break l}v[j>>2]=g;v[e>>2]=l;e=v[j>>2];g=v[d>>2];if(!(z[(e<<2)+f>>2]>2])){h=h+2|0;break l}v[d>>2]=e;v[j>>2]=g;e=v[d>>2];g=v[a>>2];if(!(z[(e<<2)+f>>2]>2])){h=h+3|0;break l}v[a>>2]=e;v[d>>2]=g;h=h+4|0;break l}f=v[v[c>>2]+12>>2];e=v[k>>2];i=z[f+(e<<2)>>2];g=v[j>>2];m=z[(g<<2)+f>>2];d=v[a>>2];n=z[(d<<2)+f>>2];m:{if(!(m>2]=e;v[k>>2]=g;h=1;d=v[j>>2];e=v[a>>2];if(!(z[(d<<2)+f>>2]>2])){break l}v[a>>2]=d;v[j>>2]=e;break m}if(i>2]=e;v[k>>2]=d;h=1;break l}v[a>>2]=g;v[j>>2]=d;h=1;e=v[k>>2];if(!(n>z[(e<<2)+f>>2])){break l}v[j>>2]=e;v[k>>2]=d}h=2}e=k;n:{o:{d=v[a>>2];i=z[(d<<2)+f>>2];m=z[(v[j>>2]<<2)+f>>2];if(!(i>2];if(i>2]){break o}if((d|0)==(k|0)){break b}while(1){g=v[d>>2];if(i>2]){v[d>>2]=e;v[k>>2]=g;d=d+4|0;break o}d=d+4|0;if((k|0)!=(d|0)){continue}break}break b}g=v[e>>2];if(!(m>z[(g<<2)+f>>2])){continue}break}v[a>>2]=g;v[e>>2]=d;h=h+1|0}d=a+4|0;if(e>>>0>d>>>0){while(1){i=z[(v[j>>2]<<2)+f>>2];while(1){g=d;d=d+4|0;l=v[g>>2];if(i>z[(l<<2)+f>>2]){continue}break}while(1){e=e-4|0;o=v[e>>2];if(!(i>z[(o<<2)+f>>2])){continue}break}if(e>>>0>>0){d=g}else{v[g>>2]=o;v[e>>2]=l;j=(g|0)==(j|0)?e:j;h=h+1|0;continue}break}}p:{if((d|0)==(j|0)){break p}e=v[j>>2];i=z[(e<<2)+f>>2];g=f;f=v[d>>2];if(!(i>2])){break p}v[d>>2]=e;v[j>>2]=f;h=h+1|0}if(!h){g=n3(a,d,c);e=d+4|0;if(n3(e,b,c)){b=d;if(!g){continue a}break b}f=2;if(g){break n}}if((d-a|0)<(b-d|0)){IK(a,d,c);a=d+4|0;continue}IK(d+4|0,b,c);b=d;continue a}g=k;if((g|0)==(d|0)){break b}while(1){i=z[(v[a>>2]<<2)+f>>2];while(1){e=d;d=d+4|0;h=v[e>>2];if(!(i>2])){continue}break}while(1){g=g-4|0;j=v[g>>2];if(i>2]){continue}break}if(e>>>0>>0){v[e>>2]=j;v[g>>2]=h;continue}break}f=4}a=e;if((f|0)==4|(f|0)==2){continue}}break}break}}function TP(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0,y=0,z=0;h=Ma-560|0;Ma=h;g=c;c=(c-3|0)/24|0;s=(c|0)>0?c:0;l=g+B(s,-24)|0;n=v[(e<<2)+994624>>2];j=d-1|0;if((n+j|0)>=0){g=d+n|0;c=s-j|0;while(1){A[(h+320|0)+(i<<3)>>3]=(c|0)<0?0:+v[(c<<2)+994640>>2];c=c+1|0;i=i+1|0;if((g|0)!=(i|0)){continue}break}}q=l-24|0;i=(n|0)>0?n:0;g=0;while(1){f=0;if((d|0)>0){k=g+j|0;c=0;while(1){f=f+A[(c<<3)+a>>3]*A[(h+320|0)+(k-c<<3)>>3];c=c+1|0;if((d|0)!=(c|0)){continue}break}}A[(g<<3)+h>>3]=f;c=(g|0)==(i|0);g=g+1|0;if(!c){continue}break}y=47-l|0;t=48-l|0;z=l-25|0;g=n;a:{while(1){f=A[(g<<3)+h>>3];c=0;i=g;o=(g|0)<1;if(!o){while(1){k=(h+480|0)+(c<<2)|0;m=f;f=f*5.960464477539063e-8;b:{if(D(f)<2147483648){j=~~f;break b}j=-2147483648}f=+(j|0);m=m+f*-16777216;c:{if(D(m)<2147483648){j=~~m;break c}j=-2147483648}v[k>>2]=j;i=i-1|0;f=A[(i<<3)+h>>3]+f;c=c+1|0;if((g|0)!=(c|0)){continue}break}}f=Zk(f,q);f=f+H(f*.125)*-8;d:{if(D(f)<2147483648){k=~~f;break d}k=-2147483648}f=f-+(k|0);e:{f:{g:{u=(q|0)<1;h:{if(!u){i=(g<<2)+h|0;j=v[i+476>>2];c=j>>t;r=i;i=j-(c<>2]=i;k=c+k|0;j=i>>y;break h}if(q){break g}j=v[((g<<2)+h|0)+476>>2]>>23}if((j|0)<1){break e}break f}j=2;if(f>=.5){break f}j=0;break e}c=0;i=0;if(!o){while(1){r=(h+480|0)+(c<<2)|0;o=v[r>>2];w=16777215;i:{j:{if(i){break j}w=16777216;if(o){break j}i=0;break i}v[r>>2]=w-o;i=1}c=c+1|0;if((g|0)!=(c|0)){continue}break}}k:{if(u){break k}c=8388607;l:{switch(z|0){case 1:c=4194303;break;case 0:break l;default:break k}}o=(g<<2)+h|0;v[o+476>>2]=v[o+476>>2]&c}k=k+1|0;if((j|0)!=2){break e}f=1-f;j=2;if(!i){break e}f=f-Zk(1,q)}if(f==0){i=0;m:{c=g;if((n|0)>=(c|0)){break m}while(1){c=c-1|0;i=v[(h+480|0)+(c<<2)>>2]|i;if((c|0)>(n|0)){continue}break}if(!i){break m}l=q;while(1){l=l-24|0;g=g-1|0;if(!v[(h+480|0)+(g<<2)>>2]){continue}break}break a}c=1;while(1){i=c;c=c+1|0;if(!v[(h+480|0)+(n-i<<2)>>2]){continue}break}i=g+i|0;while(1){j=d+g|0;g=g+1|0;A[(h+320|0)+(j<<3)>>3]=v[(s+g<<2)+994640>>2];c=0;f=0;if((d|0)>=1){while(1){f=f+A[(c<<3)+a>>3]*A[(h+320|0)+(j-c<<3)>>3];c=c+1|0;if((d|0)!=(c|0)){continue}break}}A[(g<<3)+h>>3]=f;if((g|0)<(i|0)){continue}break}g=i;continue}break}f=Zk(f,24-l|0);n:{if(f>=16777216){d=(h+480|0)+(g<<2)|0;m=f;f=f*5.960464477539063e-8;o:{if(D(f)<2147483648){c=~~f;break o}c=-2147483648}f=m+ +(c|0)*-16777216;p:{if(D(f)<2147483648){a=~~f;break p}a=-2147483648}v[d>>2]=a;g=g+1|0;break n}if(D(f)<2147483648){c=~~f}else{c=-2147483648}l=q}v[(h+480|0)+(g<<2)>>2]=c}f=Zk(1,l);q:{if((g|0)<=-1){break q}c=g;while(1){A[(c<<3)+h>>3]=f*+v[(h+480|0)+(c<<2)>>2];f=f*5.960464477539063e-8;a=(c|0)>0;c=c-1|0;if(a){continue}break}if((g|0)<=-1){break q}c=g;while(1){a=c;d=g-c|0;f=0;c=0;while(1){r:{f=f+A[(c<<3)+997408>>3]*A[(a+c<<3)+h>>3];if((c|0)>=(n|0)){break r}i=c>>>0>>0;c=c+1|0;if(i){continue}}break}A[(h+160|0)+(d<<3)>>3]=f;c=a-1|0;if((a|0)>0){continue}break}}s:{t:{u:{switch(e|0){case 3:v:{if((g|0)<1){break v}f=A[(h+160|0)+(g<<3)>>3];c=g;while(1){m=f;d=h+160|0;a=c-1|0;e=d+(a<<3)|0;x=A[e>>3];f=x+f;A[d+(c<<3)>>3]=m+(x-f);A[e>>3]=f;d=(c|0)>1;c=a;if(d){continue}break}if((g|0)<2){break v}f=A[(h+160|0)+(g<<3)>>3];c=g;while(1){m=f;d=h+160|0;a=c-1|0;e=d+(a<<3)|0;p=A[e>>3];f=p+f;A[d+(c<<3)>>3]=m+(p-f);A[e>>3]=f;d=(c|0)>2;c=a;if(d){continue}break}p=0;if((g|0)<=1){break v}while(1){p=p+A[(h+160|0)+(g<<3)>>3];a=(g|0)>2;g=g-1|0;if(a){continue}break}}f=A[h+160>>3];if(j){break t}A[b>>3]=f;f=A[h+168>>3];A[b+16>>3]=p;A[b+8>>3]=f;break s;case 0:f=0;if((g|0)>=0){while(1){f=f+A[(h+160|0)+(g<<3)>>3];a=(g|0)>0;g=g-1|0;if(a){continue}break}}A[b>>3]=j?-f:f;break s;case 1:case 2:break u;default:break s}}f=0;if((g|0)>=0){c=g;while(1){f=f+A[(h+160|0)+(c<<3)>>3];a=(c|0)>0;c=c-1|0;if(a){continue}break}}A[b>>3]=j?-f:f;f=A[h+160>>3]-f;c=1;if((g|0)>=1){while(1){f=f+A[(h+160|0)+(c<<3)>>3];a=(c|0)!=(g|0);c=c+1|0;if(a){continue}break}}A[b+8>>3]=j?-f:f;break s}A[b>>3]=-f;f=A[h+168>>3];A[b+16>>3]=-p;A[b+8>>3]=-f}Ma=h+560|0;return k&7}function Cz(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;c=v[b+8>>2];v[a+8>>2]=c;d=v[b+12>>2];v[a+12>>2]=d;a:{b:{if(d){if((d|0)>0){break b}v[a>>2]=0;break a}v[a>>2]=0;break a}i=a,k=gb(d<<6),v[i>>2]=k;f=gb(B(d,48))}v[a+4>>2]=f;if((c|0)>0){while(1){f=h<<6;d=f+v[b>>2]|0;c=fH(w[d+20|0]|w[d+21|0]<<8|(w[d+22|0]<<16|w[d+23|0]<<24));d=f+v[a>>2]|0;t[d+20|0]=c;t[d+21|0]=c>>>8;t[d+22|0]=c>>>16;t[d+23|0]=c>>>24;c=f+v[b>>2]|0;e=w[c+28|0]|w[c+29|0]<<8|(w[c+30|0]<<16|w[c+31|0]<<24);l(0,w[c+24|0]|w[c+25|0]<<8|(w[c+26|0]<<16|w[c+27|0]<<24));l(1,e|0);o(+n());e=j(1)|0;g=j(0)|0;t[d+24|0]=g;t[d+25|0]=g>>>8;t[d+26|0]=g>>>16;t[d+27|0]=g>>>24;t[d+28|0]=e;t[d+29|0]=e>>>8;t[d+30|0]=e>>>16;t[d+31|0]=e>>>24;e=w[c+36|0]|w[c+37|0]<<8|(w[c+38|0]<<16|w[c+39|0]<<24);l(0,w[c+32|0]|w[c+33|0]<<8|(w[c+34|0]<<16|w[c+35|0]<<24));l(1,e|0);o(+n());e=j(1)|0;g=j(0)|0;t[d+32|0]=g;t[d+33|0]=g>>>8;t[d+34|0]=g>>>16;t[d+35|0]=g>>>24;t[d+36|0]=e;t[d+37|0]=e>>>8;t[d+38|0]=e>>>16;t[d+39|0]=e>>>24;e=w[c+44|0]|w[c+45|0]<<8|(w[c+46|0]<<16|w[c+47|0]<<24);l(0,w[c+40|0]|w[c+41|0]<<8|(w[c+42|0]<<16|w[c+43|0]<<24));l(1,e|0);o(+n());e=j(1)|0;g=j(0)|0;t[d+40|0]=g;t[d+41|0]=g>>>8;t[d+42|0]=g>>>16;t[d+43|0]=g>>>24;t[d+44|0]=e;t[d+45|0]=e>>>8;t[d+46|0]=e>>>16;t[d+47|0]=e>>>24;e=w[c+52|0]|w[c+53|0]<<8|(w[c+54|0]<<16|w[c+55|0]<<24);l(0,w[c+48|0]|w[c+49|0]<<8|(w[c+50|0]<<16|w[c+51|0]<<24));l(1,e|0);o(+n());e=j(1)|0;g=j(0)|0;t[d+48|0]=g;t[d+49|0]=g>>>8;t[d+50|0]=g>>>16;t[d+51|0]=g>>>24;t[d+52|0]=e;t[d+53|0]=e>>>8;t[d+54|0]=e>>>16;t[d+55|0]=e>>>24;e=w[c+60|0]|w[c+61|0]<<8|(w[c+62|0]<<16|w[c+63|0]<<24);l(0,w[c+56|0]|w[c+57|0]<<8|(w[c+58|0]<<16|w[c+59|0]<<24));l(1,e|0);o(+n());e=j(1)|0;g=j(0)|0;t[d+56|0]=g;t[d+57|0]=g>>>8;t[d+58|0]=g>>>16;t[d+59|0]=g>>>24;t[d+60|0]=e;t[d+61|0]=e>>>8;t[d+62|0]=e>>>16;t[d+63|0]=e>>>24;d=fH(w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24));c=f+v[a>>2]|0;t[c|0]=d;t[c+1|0]=d>>>8;t[c+2|0]=d>>>16;t[c+3|0]=d>>>24;d=f+v[b>>2]|0;c=fH(w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24));d=f+v[a>>2]|0;t[d+4|0]=c;t[d+5|0]=c>>>8;t[d+6|0]=c>>>16;t[d+7|0]=c>>>24;c=f+v[b>>2]|0;f=w[c+12|0]|w[c+13|0]<<8|(w[c+14|0]<<16|w[c+15|0]<<24);l(0,w[c+8|0]|w[c+9|0]<<8|(w[c+10|0]<<16|w[c+11|0]<<24));l(1,f|0);o(+n());f=j(1)|0;e=j(0)|0;t[d+8|0]=e;t[d+9|0]=e>>>8;t[d+10|0]=e>>>16;t[d+11|0]=e>>>24;t[d+12|0]=f;t[d+13|0]=f>>>8;t[d+14|0]=f>>>16;t[d+15|0]=f>>>24;c=w[c+16|0]|w[c+17|0]<<8|(w[c+18|0]<<16|w[c+19|0]<<24);t[d+16|0]=c;t[d+17|0]=c>>>8;t[d+18|0]=c>>>16;t[d+19|0]=c>>>24;c=B(h,48);d=c+v[a+4>>2]|0;c=c+v[b+4>>2]|0;e=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);g=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);t[d|0]=g;t[d+1|0]=g>>>8;t[d+2|0]=g>>>16;t[d+3|0]=g>>>24;t[d+4|0]=e;t[d+5|0]=e>>>8;t[d+6|0]=e>>>16;t[d+7|0]=e>>>24;f=w[c+44|0]|w[c+45|0]<<8|(w[c+46|0]<<16|w[c+47|0]<<24);e=w[c+40|0]|w[c+41|0]<<8|(w[c+42|0]<<16|w[c+43|0]<<24);t[d+40|0]=e;t[d+41|0]=e>>>8;t[d+42|0]=e>>>16;t[d+43|0]=e>>>24;t[d+44|0]=f;t[d+45|0]=f>>>8;t[d+46|0]=f>>>16;t[d+47|0]=f>>>24;f=w[c+36|0]|w[c+37|0]<<8|(w[c+38|0]<<16|w[c+39|0]<<24);e=w[c+32|0]|w[c+33|0]<<8|(w[c+34|0]<<16|w[c+35|0]<<24);t[d+32|0]=e;t[d+33|0]=e>>>8;t[d+34|0]=e>>>16;t[d+35|0]=e>>>24;t[d+36|0]=f;t[d+37|0]=f>>>8;t[d+38|0]=f>>>16;t[d+39|0]=f>>>24;f=w[c+28|0]|w[c+29|0]<<8|(w[c+30|0]<<16|w[c+31|0]<<24);e=w[c+24|0]|w[c+25|0]<<8|(w[c+26|0]<<16|w[c+27|0]<<24);t[d+24|0]=e;t[d+25|0]=e>>>8;t[d+26|0]=e>>>16;t[d+27|0]=e>>>24;t[d+28|0]=f;t[d+29|0]=f>>>8;t[d+30|0]=f>>>16;t[d+31|0]=f>>>24;f=w[c+20|0]|w[c+21|0]<<8|(w[c+22|0]<<16|w[c+23|0]<<24);e=w[c+16|0]|w[c+17|0]<<8|(w[c+18|0]<<16|w[c+19|0]<<24);t[d+16|0]=e;t[d+17|0]=e>>>8;t[d+18|0]=e>>>16;t[d+19|0]=e>>>24;t[d+20|0]=f;t[d+21|0]=f>>>8;t[d+22|0]=f>>>16;t[d+23|0]=f>>>24;f=w[c+12|0]|w[c+13|0]<<8|(w[c+14|0]<<16|w[c+15|0]<<24);c=w[c+8|0]|w[c+9|0]<<8|(w[c+10|0]<<16|w[c+11|0]<<24);t[d+8|0]=c;t[d+9|0]=c>>>8;t[d+10|0]=c>>>16;t[d+11|0]=c>>>24;t[d+12|0]=f;t[d+13|0]=f>>>8;t[d+14|0]=f>>>16;t[d+15|0]=f>>>24;h=h+1|0;if((h|0)>2]){continue}break}}}function cT(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=v[291394];if(!c){c=ab(32);d=c;v[d>>2]=0;v[d+4>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;jd(d,970540);v[291394]=d}v[a>>2]=0;if(bg(b)){e=eh(b);d=v[v[c+12>>2]+((e>>>0)%y[c+8>>2]<<2)>>2];a:{if(!d){break a}while(1){b:{if((e|0)==v[d+12>>2]){if(ff(d+16|0,b)){break b}}d=v[d+8>>2];if(d){continue}break a}break}d=v[d+60>>2];if(!d){break a}while(1){if(v[v[d+8>>2]+80>>2]){d=v[d>>2];if(d){continue}break a}break}jb(a,d+8|0)}Fy(c)}if(!v[a>>2]){e=ab(128);v[e+16>>2]=0;t[e+10|0]=0;u[e+8>>1]=0;v[e>>2]=970372;v[e+4>>2]=0;zg(e+20|0);v[e+88>>2]=0;v[e+92>>2]=0;v[e+84>>2]=-1;v[e+76>>2]=0;v[e+80>>2]=0;v[e+64>>2]=0;v[e+56>>2]=0;v[e+96>>2]=0;v[e+100>>2]=0;v[e+88>>2]=970612;v[e+92>>2]=0;v[e+96>>2]=0;v[e+100>>2]=0;v[e+116>>2]=0;v[e+120>>2]=0;v[e+108>>2]=0;v[e+112>>2]=0;v[e+108>>2]=970612;v[e+112>>2]=0;v[e+116>>2]=0;v[e+120>>2]=0;qb(a,e);Dy(e);f=Ma-1040|0;Ma=f;c:{d:{e:{if(!v[e+16>>2]){a=e+20|0;if(bg(a)){break e}c=f+16|0;aE(c,b);d=Hb(c,326440,-1);db(c);if(!d){gs(f+8|0);c=v[f+8>>2];b=Qa[v[v[c>>2]+8>>2]](c,f+16|0,1024)|0;if(b){while(1){d=f+16|0;Ey(e,d,v[e+76>>2],b);v[e+76>>2]=v[e+76>>2]+b;b=Qa[v[v[c>>2]+8>>2]](c,d,1024)|0;if(b){continue}break}}if(!(bg(a)|v[e+16>>2])){t[e+8|0]=1;if(v[e+84>>2]<=-1){a=v[e+64>>2];j=e,k=Qa[v[v[a>>2]+28>>2]](a)|0,v[j+84>>2]=k}b=v[e+96>>2];if(b){while(1){a=v[b+8>>2];if(!v[a+8>>2]){v[a+8>>2]=1}b=v[b>>2];if(b){continue}break}}fs(e)}a=v[f+8>>2];v[f+8>>2]=0;if(!a){break c}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break c}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}break c}if(!bg(b)){break c}gs(f+16|0);c=v[f+16>>2];Qa[v[v[c>>2]+20>>2]](c,0,2,0)|0;c=v[f+16>>2];c=Qa[v[v[c>>2]+16>>2]](c)|0;Rf(a,b);v[e+84>>2]=-1;v[e+80>>2]=0;v[e+84>>2]=(c|0)>0?c:0;t[e+8|0]=1;qb(e- -64|0,0);b=v[291394];if(!b){b=ab(32);c=b;v[c>>2]=0;v[c+4>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;jd(c,970540);v[291394]=c}v[f>>2]=0;qb(f,e);g=Ma-32|0;Ma=g;f:{g:{if(bg(a)){v[g+24>>2]=0;v[g+28>>2]=0;v[g+16>>2]=0;v[g+20>>2]=0;i=g+16|0;v[i>>2]=970612;v[i+4>>2]=0;v[i+8>>2]=0;v[i+12>>2]=0;c=eh(a);d=v[v[b+12>>2]+((c>>>0)%y[b+8>>2]<<2)>>2];h:{if(d){while(1){if((c|0)==v[d+12>>2]){if(ff(d+16|0,a)){break h}}d=v[d+8>>2];if(d){continue}break}}d=eh(a);c=v[v[b+12>>2]+((d>>>0)%y[b+8>>2]<<2)>>2];i:{if(c){while(1){if((d|0)==v[c+12>>2]){if(ff(c+16|0,a)){break i}}c=v[c+8>>2];if(c){continue}break}}c=ab(68);d=eb(c,0,68);h=ze(d+16|0,a);v[d+60>>2]=0;v[d+64>>2]=0;v[d+52>>2]=0;v[d+56>>2]=0;v[d+52>>2]=970612;v[d+56>>2]=0;v[d+60>>2]=0;v[d+64>>2]=0;j=d,k=eh(h),v[j+12>>2]=k;bj(b,d)}GE(c+52|0,i);d=0;h=eh(a);c=v[v[b+12>>2]+((h>>>0)%y[b+8>>2]<<2)>>2];if(!c){break h}while(1){j:{if((h|0)!=v[c+12>>2]){break j}if(!ff(c+16|0,a)){break j}d=c;break h}c=v[c+8>>2];if(c){continue}break}}v[g+12>>2]=b;v[g+8>>2]=d;if(!d){break g}c=v[d+60>>2];k:{if(c){a=v[f>>2];while(1){if((a|0)==v[c+8>>2]){break k}c=v[c>>2];if(c){continue}break}}h=ab(12);a=h;v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;c=v[f>>2];if(c){v[c+4>>2]=v[c+4>>2]+1;c=v[f>>2]}else{c=0}v[a+8>>2]=c;de(d+52|0,h)}ac(i)}Fy(b);Ma=g+32|0;break f}wd(g+8|0,b);L()}a=v[f>>2];v[f>>2]=0;l:{if(!a){break l}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break l}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}b=v[e+96>>2];if(b){while(1){a=v[b+8>>2];if(!v[a+8>>2]){v[a+8>>2]=1}b=v[b>>2];if(b){continue}break}}c=e+108|0;b=v[e+116>>2];if(!b){break d}while(1){a=v[b+8>>2];if(a){v[a+4>>2]=v[a+4>>2]+1;a=v[b+8>>2]}else{a=0}d=v[a+20>>2];if(d){Qa[d|0](v[a+24>>2])}d=v[a+4>>2]-1|0;v[a+4>>2]=d;if(!d){d=v[a+4>>2];if(!d){v[a+4>>2]=-32767}if(!d){Qa[v[v[a>>2]+4>>2]](a)}}b=v[b>>2];if(b){continue}break}break d}lb(mb(f+16|0,324258,241733,918,328657));L()}lb(mb(f+16|0,319860,241733,920,328657));L()}ac(c);a=v[f+16>>2];v[f+16>>2]=0;if(!a){break c}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break c}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=f+1040|0}}function xSa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=C(0),k=0,l=0,m=0,n=0,o=0,p=0;h=Ma-1424|0;Ma=h;d=v[a+26080>>2];l=gb(d);if(!l){d=v[a+190640>>2];a:{if(d){b=v[a+25208>>2];v[h+20>>2]=214083;v[h+16>>2]=b;Dc(d,4338,h+16|0);break a}b=v[a+25208>>2];v[h+4>>2]=214083;v[h>>2]=b;vb(v[249419],4338,h)}tc(a+190484|0,1);L()}Qa[v[v[a>>2]>>2]](v[a+4>>2],l,1,d)|0;Ee(255,b);Ee(216,b);if(hb(l+6|0,211890)){u[h+1416>>1]=w[214104]|w[214105]<<8;d=w[214100]|w[214101]<<8|(w[214102]<<16|w[214103]<<24);v[h+1408>>2]=w[214096]|w[214097]<<8|(w[214098]<<16|w[214099]<<24);v[h+1412>>2]=d;u[h+1410>>1]=26629;Lb(h+1408|0,1,10,b);k=Ma-32|0;Ma=k;n=h+32|0;d=n;eb(d+8|0,0,1368);v[d+4>>2]=10;u[d+2>>1]=42;u[d>>1]=18761;f=d+12|0;e=f;v[e+4>>2]=512;v[e+8>>2]=620;v[e>>2]=131342;v[e+12>>2]=131343;v[e+16>>2]=64;v[e+20>>2]=1132;v[e+24>>2]=131344;v[e+28>>2]=64;v[e+32>>2]=1196;c=v[a+26328>>2];v[e+36>>2]=196882;v[e+40>>2]=1;c=t[c+214032|0]-48|0;u[e+44>>1]=c;u[e+46>>1]=c>>>16;c=e+48|0;v[c+4>>2]=1;v[c+8>>2]=476;v[c>>2]=327962;v[c+12>>2]=327963;v[c+16>>2]=1;v[c+20>>2]=484;u[c+32>>1]=1;u[c+34>>1]=0;v[c+24>>2]=196892;v[c+28>>2]=1;v[c+36>>2]=196904;v[c+40>>2]=1;u[c+44>>1]=2;u[c+46>>1]=0;u[c+48>>1]=305;u[c+50>>1]=2;v[c+52>>2]=32;v[c+56>>2]=1260;e=c- -64|0;v[e>>2]=20;v[e+4>>2]=1292;v[c+60>>2]=131378;v[c+76>>2]=64;v[c+80>>2]=1312;v[c+72>>2]=131387;u[d+10>>1]=12;v[c+88>>2]=1;v[c+92>>2]=294;v[c+84>>2]=296809;i=d+296|0;m=x[d+294>>1];c=i+B(m,12)|0;v[c+4>>2]=1;v[c+8>>2]=492;v[c>>2]=361114;c=i+B(m+1&65535,12)|0;v[c>>2]=361117;v[c+4>>2]=1;v[c+8>>2]=500;j=z[a+26e3>>2];e=i+B(m+2&65535,12)|0;c=e;v[c>>2]=231463;v[c+4>>2]=1;if(C(D(j))>1]=g;u[e+10>>1]=g>>>16;u[d+294>>1]=m+4;c=i+B(m+3&65535,12)|0;v[c+4>>2]=1;v[c+8>>2]=508;v[c>>2]=365066;if(v[a+26176>>2]){u[d+10>>1]=13;v[f+148>>2]=1;v[f+152>>2]=346;v[f+144>>2]=296997;e=d+348|0;g=x[d+346>>1];c=e+B(g,12)|0;v[c>>2]=65536;v[c+4>>2]=4;v[c+8>>2]=514;c=v[a+26288>>2];f=e+B(g+1&65535,12)|0;v[f>>2]=131073;v[f+4>>2]=2;t[f+8|0]=c;t[f+11|0]=c>>>24;t[f+10|0]=c>>>16;t[f+9|0]=c>>>8;c=e+B(g+2&65535,12)|0;v[c+4>>2]=3;v[c+8>>2]=516;v[c>>2]=327682;c=v[a+26292>>2];f=e+B(g+3&65535,12)|0;v[f>>2]=131075;v[f+4>>2]=2;t[f+8|0]=c;t[f+11|0]=c>>>24;t[f+10|0]=c>>>16;t[f+9|0]=c>>>8;c=e+B(g+4&65535,12)|0;v[c+4>>2]=3;v[c+8>>2]=540;v[c>>2]=327684;c=v[a+26296>>2];f=e+B(g+5&65535,12)|0;v[f>>2]=65541;v[f+4>>2]=1;t[f+8|0]=c;t[f+11|0]=c>>>24;t[f+10|0]=c>>>16;t[f+9|0]=c>>>8;c=e+B(g+6&65535,12)|0;v[c+4>>2]=1;v[c+8>>2]=588;v[c>>2]=327686;c=e+B(g+7&65535,12)|0;v[c>>2]=327687;v[c+4>>2]=3;v[c+8>>2]=564;c=e+B(g+8&65535,12)|0;v[c>>2]=131090;v[c+4>>2]=12;v[c+8>>2]=596;u[d+346>>1]=g+10;c=e+B(g+9&65535,12)|0;v[c+4>>2]=12;v[c+8>>2]=608;v[c>>2]=131101;cb(d+516|0,a+26172|0,104)}v[d+476>>2]=300;v[d+488>>2]=1;v[d+480>>2]=1;v[d+484>>2]=300;v[d+512>>2]=1e6;v[d+504>>2]=1e6;v[d+496>>2]=1e6;c=d;j=C(z[a+26004>>2]*C(1e6));b:{if(C(D(j))>2]=e;c=d;j=C(z[a+26008>>2]*C(1e6));c:{if(C(D(j))>2]=e;c=d;j=C(z[a+26012>>2]*C(1e6));d:{if(C(D(j))>2]=e;Sb(d+620|0,a+25221|0,512);Sb(d+1132|0,a+25733|0,64);Sb(d+1196|0,a+25797|0,64);f=d+1268|0;c=w[214049]|w[214050]<<8|(w[214051]<<16|w[214052]<<24);t[f|0]=c;t[f+1|0]=c>>>8;t[f+2|0]=c>>>16;t[f+3|0]=c>>>24;f=w[214045]|w[214046]<<8|(w[214047]<<16|w[214048]<<24);c=w[214041]|w[214042]<<8|(w[214043]<<16|w[214044]<<24);t[d+1260|0]=c;t[d+1261|0]=c>>>8;t[d+1262|0]=c>>>16;t[d+1263|0]=c>>>24;t[d+1264|0]=f;t[d+1265|0]=f>>>8;t[d+1266|0]=f>>>16;t[d+1267|0]=f>>>24;i=xa(a+26016|0,1187160)|0;g=v[i+20>>2];e=v[i+8>>2];f=v[i+12>>2];c=v[i+16>>2];o=k,p=D3a(v[i>>2],v[i+4>>2],32),v[o+16>>2]=p;v[k+20>>2]=Pa;v[k+4>>2]=c+1;o=k,p=D3a(e,f,32),v[o+8>>2]=p;v[k+12>>2]=Pa;v[k>>2]=g+1900;Dc(d+1292|0,214053,k);Sb(d+1312|0,a+25925|0,64);Ma=k+32|0;Lb(n,1,1376,b)}Lb(l+2|0,1,v[a+26080>>2]-2|0,b);$a(l);Ma=h+1424|0}function oAa(a,b){a=a|0;b=b|0;var 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;h=v[a+4>>2];c=v[h+52>>2];j=c>>>16|0;d=v[a+24>>2];l=v[a+20>>2];e=v[a+16>>2];o=v[a+12>>2];m=v[a+8>>2];f=!(c&16777216);a:{b:while(1){c:{if(!f){f=l-e|0;k=o-m>>1;n=(f|0)<(k|0)?f:k;d:{if((n|0)<1){break d}f=m;while(1){m=f+2|0;e:{f:{i=x[f>>1];if(!((i|0)==38|(i-32&65535)>>>0>94)){t[e|0]=i;if(d){break f}d=0;break e}t[e|0]=38;k=e+1|0;if((i|0)==38){if(l>>>0>k>>>0){t[e+1|0]=45;e=e+2|0;if(d){v[d+4>>2]=g;v[d>>2]=g;g=g+1|0;d=d+8|0}else{d=0}k=l-e|0;f=m;i=o-f>>1;n=(i|0)>(k|0)?k:i;if((n|0)>0){continue}break d}if(d){v[d>>2]=g;g=g+1|0;d=d+4|0}else{d=0}t[h+63|0]=1;t[h+76|0]=45;v[b>>2]=15;e=k;break d}j=0;if(d){v[d>>2]=g;d=d+4|0}else{d=0}e=k;k=g;m=f;f=1;continue b}v[d>>2]=g;g=g+1|0;d=d+4|0}e=e+1|0;k=(n|0)>1;f=m;n=n-1|0;if(k){continue}break}}p=16777216;n=0;if(m>>>0>=o>>>0){break a}if(e>>>0>=l>>>0){break c}break a}n=1;if(m>>>0>=o>>>0){g=k;break a}g=k;g:{while(1){if(e>>>0>=l>>>0){break c}i=x[m>>1];if((i-32&65535)>>>0<=94){h:{i:{j:{k:{l:{if(j&255){t[e|0]=(c&255)>>>0<=62?w[(c&255)+843376|0]:44;e=e+1|0;if(!d){break l}v[d>>2]=g-1;d=d+4|0}if(e>>>0>=l>>>0){break k}t[e|0]=45;if(!d){break i}v[d>>2]=g-1;d=d+4|0;break h}if(e>>>0>>0){break j}d=0}t[h+63|0]=1;t[h+76|0]=45;p=16777216;n=0;break c}t[e|0]=45}d=0}e=e+1|0;break g}m=m+2|0;m:{n:{switch(j<<24>>24){case 0:f=e;c=i>>>10|0;if((c|0)!=63){c=w[c+843376|0]}else{c=44}t[f|0]=c;f=e+1|0;o:{if(f>>>0>>0){f=e;c=i>>>4&63;if((c|0)!=63){c=w[c+843376|0]}else{c=44}t[f+1|0]=c;e=e+2|0;if(!d){d=0;break o}v[d+4>>2]=g;v[d>>2]=g;d=d+8|0;g=g+1|0;break o}if(d){v[d>>2]=g;g=g+1|0;d=d+4|0}else{d=0}e=44;c=i>>>4&63;if((c|0)!=63){e=w[c+843376|0]}t[h+63|0]=1;t[h+76|0]=e;v[b>>2]=15;e=f}c=i<<2&60;j=1;break m;case 1:f=e;c=((i&49152)>>>14|c)&255;if(c>>>0<=62){c=w[c+843376|0]}else{c=44}t[f|0]=c;f=e+1|0;p:{if(f>>>0>>0){f=e;c=i>>>8&63;if((c|0)!=63){c=w[c+843376|0]}else{c=44}t[f+1|0]=c;f=e+2|0;if(f>>>0>>0){f=e;c=i>>>2&63;if((c|0)!=63){c=w[c+843376|0]}else{c=44}t[f+2|0]=c;e=e+3|0;if(!d){d=0;break p}v[d+8>>2]=g;v[d+4>>2]=g;v[d>>2]=g;d=d+12|0;g=g+1|0;break p}if(d){v[d+4>>2]=g;v[d>>2]=g;g=g+1|0;d=d+8|0}else{d=0}e=44;c=i>>>2&63;if((c|0)!=63){e=w[c+843376|0]}t[h+63|0]=1;t[h+76|0]=e;v[b>>2]=15;e=f;break p}if(d){v[d>>2]=g;g=g+1|0;d=d+4|0}else{d=0}e=44;c=h;j=i>>>8&63;if((j|0)!=63){j=w[j+843376|0]}else{j=44}t[c+76|0]=j;c=i>>>2&63;if((c|0)!=63){e=w[c+843376|0]}t[h+63|0]=2;t[h+77|0]=e;v[b>>2]=15;e=f}c=i<<4&48;j=2;break m;case 2:break n;default:break m}}f=e;c=((i&61440)>>>12|c)&255;if(c>>>0<=62){c=w[c+843376|0]}else{c=44}t[f|0]=c;f=e+1|0;q:{if(f>>>0>>0){f=e;c=i>>>6&63;if((c|0)!=63){c=w[c+843376|0]}else{c=44}t[f+1|0]=c;f=e+2|0;if(f>>>0>>0){f=e;c=i&63;if((c|0)!=63){c=w[c+843376|0]}else{c=44}t[f+2|0]=c;e=e+3|0;c=0;if(!d){d=0;break q}v[d+8>>2]=g;v[d+4>>2]=g;v[d>>2]=g;d=d+12|0;g=g+1|0;break q}if(d){v[d+4>>2]=g;v[d>>2]=g;g=g+1|0;d=d+8|0}else{d=0}e=44;c=i&63;if((c|0)!=63){e=w[c+843376|0]}t[h+63|0]=1;t[h+76|0]=e;v[b>>2]=15;c=0;e=f;break q}if(d){v[d>>2]=g;g=g+1|0;d=d+4|0}else{d=0}e=44;c=h;j=i>>>6&63;if((j|0)!=63){j=w[j+843376|0]}else{j=44}t[c+76|0]=j;c=i&63;if((c|0)!=63){e=w[c+843376|0]}t[h+63|0]=2;t[h+77|0]=e;v[b>>2]=15;c=0;e=f}j=0}if(m>>>0>>0){continue}break}break a}f=0;continue}break}v[b>>2]=15}k=h;r:{s:{t:{if(!(!w[a+2|0]|m>>>0>>0)){if(!n){f=e;break s}u:{v:{w:{if(!(j&255)){break w}if(e>>>0>>0){f=e;c=c&255;if(c>>>0<=62){c=w[c+843376|0]}else{c=44}t[f|0]=c;f=e+1|0;if(!d){break v}v[d>>2]=g-1;d=d+4|0;e=f;break w}f=44;c=c&255;if(c>>>0<=62){f=w[c+843376|0]}c=t[h+63|0];t[h+63|0]=c+1;t[(c+h|0)+76|0]=f;v[b>>2]=15}if(e>>>0>>0){break u}f=e;break t}d=0;if(f>>>0>=l>>>0){break t}t[e+1|0]=45;f=e+2|0;break s}t[e|0]=45;f=e+1|0;if(!d){d=0;break s}v[d>>2]=g-1;d=d+4|0;break s}f=e;b=v[h+52>>2]&-268435456|(c&255|p|j<<24>>24<<16);break r}e=t[h+63|0];t[h+63|0]=e+1;t[(e+h|0)+76|0]=45;v[b>>2]=15}b=v[h+52>>2]&-268435456|16777216}v[k+52>>2]=b;v[a+24>>2]=d;v[a+16>>2]=f;v[a+8>>2]=m}function yza(a,b){a=a|0;b=b|0;var 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,x=0,y=0,z=0,A=0,B=0;j=v[a+4>>2];m=v[j+8>>2];l=w[m+65|0];h=l?-1:0;d=v[a+24>>2];q=v[a+20>>2];e=v[a+16>>2];o=v[a+12>>2];k=v[a+8>>2];r=w[m+68|0];p=w[m+67|0];y=w[m+66|0];a:{b:{c:{x=w[m+64|0];if(x){g=h;if(l){break c}c=0;break a}g=h;if(l){break b}c=2;break a}c=1;break a}c=3}while(1){d:{e:{f:{g:{h:{i:{j:{k:{l:{switch(c|0){case 0:l=0;if(k>>>0>=o>>>0){g=h;break d}if(e>>>0>=q>>>0){g=h;break d}n=(p<<24>>24<<2)+m|0;while(1){g=w[k|0];if(g>>>0<32){g=h;break d}k=k+1|0;m:{n:{if(g<<24>>24>=0){u[e>>1]=g;e=e+2|0;c=1;g=d;if(d){break n}d=0;break m}g=v[n>>2]+(g&127)|0;if(g>>>0<=65535){u[e>>1]=g;e=e+2|0;c=1;g=d;if(d){break n}d=0;break m}u[e>>1]=(g>>>10|0)-10304;o:{i=e+2|0;if(q>>>0>i>>>0){u[e+2>>1]=g&1023|56320;e=e+4|0;if(d){break o}d=0;break m}f=0;if(d){v[d>>2]=h;f=d+4|0}t[j+65|0]=1;u[j+116>>1]=g&1023|56320;v[b>>2]=15;break g}v[d>>2]=h;c=2;g=d+4|0}v[g>>2]=h;d=(c<<2)+d|0}f=f+1|0;if(k>>>0>=o>>>0){g=f;break d}h=f;if(e>>>0>>0){continue}break};g=f;break d;case 1:if(k>>>0>=o>>>0){break k}p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{if(e>>>0>>0){z=j+37|0;B=j+38|0;c=k;h=f;while(1){h=h+1|0;k=c+1|0;A=2;n=B;s=2;c=w[c|0];i=c;A:{B:{C:{switch(l&255){case 4:i=c&31;s=5;p=c>>>5|0;break B;case 6:break p;case 5:break q;case 3:break v;case 2:break w;case 1:break B;case 0:break C;default:break A}}if(1<>>0<=15){if(c>>>0>=9){s=4;A=1;n=z;i=r;f=h;F:{switch(c-11|0){case 4:break i;case 0:break B;case 3:break F;default:break x}}s=1;n=z;break D}y=c-1|0;s=3;break E}if(c>>>0<24){break y}p=c-24|0;s=6}A=1;n=z}i=r}t[n|0]=c;t[j+36|0]=A;l=s;r=i}c=k;if((o|0)!=(c|0)){continue}break}break h}v[b>>2]=15;break k}u[e>>1]=c;e=e+2|0;if(!d){break u}v[d>>2]=g;d=d+4|0;f=h;break j}p=c-16|0;f=h;break j}v[b>>2]=12;t[j+36|0]=1;t[j+37|0]=c;l=0;break k}u[e>>1]=c|r<<8;e=e+2|0;if(!d){break u}v[d>>2]=g;d=d+4|0;f=h;break j}f=y<<24>>24;if(c<<24>>24>=0){u[e>>1]=c+v[(f<<2)+852960>>2];e=e+2|0;c=1;if(!d){break u}f=d;break s}c=v[(f<<2)+m>>2]+(c&127)|0;if(c>>>0<=65535){u[e>>1]=c;e=e+2|0;c=1;if(!d){break u}f=d;break s}u[e>>1]=(c>>>10|0)-10304;i=e+2|0;if(q>>>0<=i>>>0){break r}u[e+2>>1]=c&1023|56320;e=e+4|0;if(d){break t}}d=0;f=h;break j}v[d>>2]=g;c=2;f=d+4|0}v[f>>2]=g;d=(c<<2)+d|0;f=h;break j}if(d){v[d>>2]=g;f=d+4|0}else{f=0}t[j+65|0]=1;u[j+116>>1]=c&1023|56320;v[b>>2]=15;l=3;break g}v[(p<<24>>24<<2)+m>>2]=((r&255)<<15|c<<7)+65536;f=h;break j}if(!c){t[j+36|0]=2;t[j+38|0]=0;l=6;break k}G:{f=(p<<24>>24<<2)+m|0;i=c<<7;H:{if(c>>>0<=103){break H}i=(c<<7)+44032|0;if((c-104&255)>>>0<=63){break H}if(c>>>0<249){break G}i=v[(c<<2)+851996>>2]}v[f>>2]=i;f=h;break j}t[j+36|0]=2;t[j+38|0]=c;l=6;break k;case 2:l=0;g=h;c=k+1|0;I:{if(o>>>0<=c>>>0){break I}if(e>>>0>=q>>>0){break I}while(1){g=f;f=w[k|0];if((f+32&255)>>>0<19){f=g;g=h;break I}u[e>>1]=w[c|0]|f<<8;n=0;if(d){v[d>>2]=h;n=d+4|0}e=e+2|0;i=k+2|0;f=g+2|0;c=k+3|0;if(o>>>0>c>>>0){k=i;h=g;d=n;if(e>>>0>>0){continue}}break}d=n;k=i}c=3;continue;default:break l}}x=0;J:{if(k>>>0>>0){break J}break k}K:{L:{if(e>>>0>>0){c=k;while(1){f=f+1|0;k=c+1|0;c=w[c|0];M:{N:{O:{P:{switch(l&255){case 1:t[j+38|0]=c;l=2;i=2;break O;case 2:break L;case 0:break P;default:break M}}i=c+32|0;if((i&255)>>>0<=18){if(c>>>0<232){x=1;p=i;h=f;break j}if(c>>>0<240){break f}if((c|0)!=240){if((c|0)!=241){break K}l=4;break e}t[j+37|0]=240;i=1;l=1;break N}t[j+37|0]=c;l=2;i=1}r=c}t[j+36|0]=i}c=k;if((o|0)!=(c|0)){continue}break}break h}v[b>>2]=15;break k}u[e>>1]=c|r<<8;e=e+2|0;if(!d){d=0;h=f;break i}v[d>>2]=g;d=d+4|0;h=f;break i}v[b>>2]=12;t[j+36|0]=1;t[j+37|0]=c;l=0}f=d;i=e;break g}c=0;continue}c=2;continue}f=d;i=e;k=o}b=v[b>>2];Q:{if((b|0)>=1){c=0;if((b|0)!=15){break Q}}c=l;if(c&255){break Q}c=0;t[j+36|0]=0}t[m+68|0]=r;t[m+67|0]=p;t[m+66|0]=y;t[m+65|0]=c;t[m+64|0]=x;v[a+24>>2]=f;v[a+16>>2]=i;v[a+8>>2]=k;return}p=c+24|0;l=6}x=1;t[j+36|0]=1;t[j+37|0]=c}c=1;continue}}function ONa(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;f=Ma-144|0;Ma=f;a:{b:{if(!v[a+20>>2]){e=0;break b}g=w[c+11|0];h=g<<24>>24<0;Ti(f+112|0,h?v[c>>2]:c,h?v[c+4>>2]:g);g=v[d>>2];A[f+8>>3]=A[e>>3];v[f>>2]=g;e=f+48|0;LP(e,272971,f);g=zb(e);if(g>>>0>=4294967280){break a}c:{d:{if(g>>>0>=11){e=g+16&-16;h=ab(e);v[f+40>>2]=e|-2147483648;v[f+32>>2]=h;v[f+36>>2]=g;break d}t[f+43|0]=g;h=f+32|0;if(!g){break c}}cb(h,f+48|0,g)}e=0;t[g+h|0]=0;g=f+112|0;h=w[f+43|0];i=h<<24>>24<0;Bp(g,i?v[f+32>>2]:f+32|0,i?v[f+36>>2]:h);v[f+136>>2]=g;h=a+8|0;h1(f+16|0,h,g,f+136|0);g=v[v[f+16>>2]+28>>2];e:{if(g){e=g;break e}g=v[a+20>>2];g=Qa[v[v[g>>2]+16>>2]](g,c)|0;if(!g){break e}i=v[d>>2];d=Ma-48|0;Ma=d;v[d+16>>2]=17;v[d+20>>2]=v[g+8>>2];v[d+24>>2]=v[g+12>>2];j=gb(32);c=j;v[c+24>>2]=1768386675;v[c+28>>2]=0;v[c+16>>2]=1768386662;v[c+20>>2]=0;v[c+8>>2]=1768386675;v[c+12>>2]=0;v[c>>2]=1768386662;v[c+4>>2]=0;v[d+40>>2]=4;v[d+44>>2]=c;c=0;f:{if(mB(v[v[b>>2]>>2],d+16|0,i,d+12|0)){break f}$a(j);j=ab(2228536);b=j;v[b+4>>2]=1;v[b>>2]=353468;v[b+2228520>>2]=0;v[b+2228524>>2]=0;v[b>>2]=361052;v[b+2228528>>2]=0;v[b+2228512>>2]=0;v[b+2228504>>2]=0;v[b+160>>2]=0;v[b+164>>2]=0;v[b+168>>2]=0;v[b+172>>2]=0;v[b+264>>2]=0;v[b+268>>2]=0;v[b+272>>2]=0;eb(b+276|0,255,2228224);eb(b+8|0,0,96);v[b+112>>2]=0;v[b+116>>2]=0;u[b+104>>1]=1;v[b+120>>2]=0;v[b+124>>2]=0;v[b+128>>2]=0;v[b+132>>2]=0;v[b+136>>2]=0;v[b+140>>2]=0;v[b+144>>2]=0;v[b+148>>2]=0;v[b+152>>2]=0;v[b+156>>2]=0;v[b+176>>2]=0;v[b+180>>2]=0;v[b+184>>2]=0;v[b+188>>2]=0;v[b+2228508>>2]=0;v[b+2228500>>2]=0;v[b+208>>2]=0;v[b+200>>2]=0;v[b+204>>2]=1072693248;v[b+192>>2]=-1;v[b+196>>2]=-1;v[b+244>>2]=0;v[b+248>>2]=0;v[b+252>>2]=0;v[b+256>>2]=0;v[b+260>>2]=0;v[b+2228516>>2]=1;v[b+176>>2]=i;c=v[d+12>>2];v[b+260>>2]=x[c+68>>1];v[b+248>>2]=u[c+70>>1];v[b+252>>2]=u[c+72>>1];v[b+256>>2]=u[c+74>>1];i=v[c+36>>2];v[b+180>>2]=c;v[b+244>>2]=i;v[b+192>>2]=-1;v[b+196>>2]=-1;c=zn(v[b+180>>2],2);g:{if(!c){break g}v[b+192>>2]=x[c+92>>1];if(x[c>>1]==65535){break g}i=v[c+80>>2];if(i|v[c+84>>2]?(i|0)>=0:0){break g}c=v[b+180>>2];i=v[c+36>>2];if((i|0)<1){break g}m=v[c+40>>2];c=0;while(1){k=v[(c<<2)+m>>2];if(!(x[k+10>>1]|x[k+8>>1]!=3)){v[b+196>>2]=c;break g}c=c+1|0;if((i|0)!=(c|0)){continue}break}}c=0;k=v[d+12>>2];l=A[b+112>>3]*64;h:{if(D(l)<2147483648){i=~~l;break h}i=-2147483648}if(p0(k,i,0,0)){Pq(v[d+12>>2]);Qa[v[v[j>>2]+4>>2]](b);break f}v[b+56>>2]=0;v[b+60>>2]=1072693248;c=b- -64|0;v[c>>2]=0;v[c+4>>2]=0;v[b+72>>2]=0;v[b+76>>2]=0;v[b+88>>2]=0;v[b+92>>2]=0;v[b+80>>2]=0;v[b+84>>2]=1072693248;v[b+96>>2]=0;v[b+100>>2]=0;Qa[v[v[b>>2]+72>>2]](b);OJ(b);c=b}Ma=d+48|0;if(!c){break e}d=v[a+36>>2];i:{if((d|0)==-1){break i}b=ab(20);v[b>>2]=0;i=a+24|0;e=b+8|0;j:{if(t[f+123|0]>=0){j=v[f+116>>2];v[e>>2]=v[f+112>>2];v[e+4>>2]=j;v[e+8>>2]=v[f+120>>2];break j}Sl(e,v[f+112>>2],v[f+116>>2]);d=v[a+36>>2]}v[b+4>>2]=i;e=v[a+24>>2];v[b>>2]=e;v[e+4>>2]=b;v[a+24>>2]=b;b=v[a+32>>2]+1|0;v[a+32>>2]=b;if((b|0)<=(d|0)){break i}e=v[a+28>>2];k:{if(t[e+19|0]>=0){v[f+24>>2]=v[e+16>>2];d=v[e+12>>2];v[f+16>>2]=v[e+8>>2];v[f+20>>2]=d;break k}Sl(f+16|0,v[e+8>>2],v[e+12>>2]);b=v[a+32>>2];e=v[a+28>>2]}d=v[e>>2];v[d+4>>2]=v[e+4>>2];v[v[e+4>>2]>>2]=d;v[a+32>>2]=b-1;if(t[e+19|0]<=-1){$a(v[e+8>>2])}$a(e);d=g1(h,f+16|0);if((d|0)!=(a+12|0)){a=v[d+28>>2];if(a){Qa[v[v[a>>2]+4>>2]](a)}a=v[d+4>>2];l:{if(!a){b=v[d+8>>2];if((d|0)==v[b>>2]){break l}e=d+8|0;while(1){a=v[e>>2];e=a+8|0;b=v[a+8>>2];if((a|0)!=v[b>>2]){continue}break}break l}while(1){b=a;a=v[b>>2];if(a){continue}break}}if((d|0)==v[h>>2]){v[h>>2]=b}v[h+8>>2]=v[h+8>>2]-1;fK(v[h+4>>2],d);if(t[d+27|0]<=-1){$a(v[d+16>>2])}$a(d)}if(t[f+27|0]>-1){break i}$a(v[f+16>>2])}v[c+160>>2]=g;Qa[v[v[g>>2]+8>>2]](g)|0;a=f+112|0;v[f+136>>2]=a;h1(f+16|0,h,a,f+136|0);v[v[f+16>>2]+28>>2]=c;e=c}if(t[f+43|0]<=-1){$a(v[f+32>>2])}if(t[f+123|0]>-1){break b}$a(v[f+112>>2])}Ma=f+144|0;return e|0}sc();L()}function E4(a){var 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,u=0,y=0,z=0,A=0,C=0;o=Ma-992|0;Ma=o;if(v[a+4>>2]){h=v[a+20>>2];j=v[a+16>>2];e=Ge(o+16|0,0);gh(e,a);Cf(e,h,j,x[a+26>>1],v[a+68>>2]);b=v[a+4>>2];On(e,b?v[a+44>>2]?b+40|0:0:0,256);if(v[a+964>>2]){Fi(e)}if(v[a+960>>2]){g5(e)}a:{if(x[a+26>>1]!=1){if((h|0)<1|(j|0)<1){break a}q=64;while(1){l=g- -64|0;r=(h|0)<(l|0)?h:l;p=(h|0)<(q|0)?h:q;z=B(p,100)-100|0;u=0;n=64;b=0;while(1){s=(j|0)<(n|0)?j:n;k=b- -64|0;b:{c:{d:{if(x[a+26>>1]==24){if((g|0)>=(r|0)){break d}A=(j|0)<(k|0)?j:k;f=b+1|0;d=(u<<6)- -64|0;y=(d|0)>(j|0)?j:d;C=y-b&1;d=g;while(1){v[a+328>>2]=(B(d,100)|0)/(h|0);m=d;d=v[e+44>>2]?0:(v[e+56>>2]+B(b,v[e+52>>2])|0)+B(m,3)|0;c=(m^-1)+h|0;c=v[a+44>>2]?0:(v[a+56>>2]+B(c,v[a+52>>2])|0)+B(b,3)|0;e:{if((b|0)>=(A|0)){break e}if(C){t[d|0]=w[c|0];t[d+1|0]=w[c+1|0];t[d+2|0]=w[c+2|0];c=c+3|0;d=v[e+52>>2]+d|0;i=f}else{i=b}if((f|0)==(y|0)){break e}while(1){t[d|0]=w[c|0];t[d+1|0]=w[c+1|0];t[d+2|0]=w[c+2|0];d=v[e+52>>2]+d|0;t[d|0]=w[c+3|0];t[d+1|0]=w[c+4|0];t[d+2|0]=w[c+5|0];c=c+6|0;d=d+v[e+52>>2]|0;i=i+2|0;if((s|0)!=(i|0)){continue}break}}d=m+1|0;if((p|0)!=(d|0)){continue}break}break d}if((g|0)>=(r|0)){break d}d=g;if((((j|0)<(k|0)?j:k)|0)>(b|0)){while(1){v[a+328>>2]=(B(d,100)|0)/(h|0);i=(d^-1)+h|0;c=b;while(1){Pn(e,d,c,qp(a,c,i));c=c+1|0;if((s|0)!=(c|0)){continue}break}d=d+1|0;if((p|0)!=(d|0)){continue}break d}}v[a+328>>2]=(z|0)/(h|0);if(v[a+964>>2]){break c}break b}if(!v[a+964>>2]|(g|0)>=(r|0)){break b}}d=g;c=b- -64|0;if((((c|0)>(j|0)?j:c)|0)<=(b|0)){break b}while(1){i=(d^-1)+h|0;c=b;while(1){ah(e,d,c,w[v[a+964>>2]+(B(i,v[a+16>>2])+c|0)|0]);c=c+1|0;if((s|0)!=(c|0)){continue}break}d=d+1|0;if((p|0)!=(d|0)){continue}break}}u=u+1|0;n=n- -64|0;if(v[a+960>>2]){v[e+372>>2]=h-v[a+376>>2];v[e+380>>2]=h-v[a+384>>2];v[e+384>>2]=v[a+372>>2];v[e+376>>2]=v[a+380>>2];k=b- -64|0;f:{if((g|0)>=(r|0)){break f}d=g;if((((j|0)<(k|0)?j:k)|0)<=(b|0)){break f}while(1){i=(d^-1)+h|0;c=b;while(1){nC(e,d,c,w[v[a+960>>2]+(B(i,v[a+16>>2])+c|0)|0]);c=c+1|0;if((s|0)!=(c|0)){continue}break}d=d+1|0;if((p|0)!=(d|0)){continue}break}}}b=k;if((j|0)>(b|0)){continue}break}q=q- -64|0;g=l;if((g|0)<(h|0)){continue}break}break a}q=Ud(a,0);i=Ud(e,0);b=v[e+32>>2];g=v[e+16>>2];c=v[e+52>>2];ty(e,0);if(v[a+20>>2]>=1){r=(c<<3)-g|0;k=(b+i|0)-1|0;p=i-1|0;while(1){b=n+r|0;g=(b|0)/8|0;v[o+8>>2]=g;v[o+12>>2]=b-(g<<3);b=v[a+52>>2];if((b|0)>=1){m=1<>2];s=q+B(b,n)|0;u=p-v[o+8>>2]|0;c=0;while(1){b=v[e+52>>2];g=b+(u+(B(b,c)<<3)|0)|0;g:{if(g>>>0>>0|g>>>0>k>>>0){break g}l=c+s|0;if(t[l|0]<=-1){t[g|0]=m|w[g|0];b=v[e+52>>2]}f=b+g|0;if(f>>>0>>0|f>>>0>k>>>0){break g}if(w[l|0]&64){t[f|0]=m|w[f|0];b=v[e+52>>2]}f=g+(b<<1)|0;if(f>>>0>>0|f>>>0>k>>>0){break g}if(w[l|0]&32){t[f|0]=m|w[f|0];b=v[e+52>>2]}f=g+B(b,3)|0;if(f>>>0>>0|f>>>0>k>>>0){break g}if(w[l|0]&16){t[f|0]=m|w[f|0];b=v[e+52>>2]}f=g+(b<<2)|0;if(f>>>0>>0|f>>>0>k>>>0){break g}if(w[l|0]&8){t[f|0]=m|w[f|0];b=v[e+52>>2]}f=g+B(b,5)|0;if(f>>>0>>0|f>>>0>k>>>0){break g}if(w[l|0]&4){t[f|0]=m|w[f|0];b=v[e+52>>2]}f=g+B(b,6)|0;if(f>>>0>>0|f>>>0>k>>>0){break g}if(w[l|0]&2){t[f|0]=m|w[f|0];b=v[e+52>>2]}b=B(b,7)+g|0;if(!(t[l|0]&1)|(b>>>0>>0|b>>>0>k>>>0)){break g}t[b|0]=m|w[b|0]}c=c+1|0;if((c|0)>2]){continue}break}}n=n+1|0;if((n|0)>2]){continue}break}}if(!(!v[a+964>>2]|(h|0)<1|(j|0)<1)){while(1){b=(d^-1)+h|0;c=0;while(1){ah(e,d,c,w[v[a+964>>2]+(B(b,v[a+16>>2])+c|0)|0]);c=c+1|0;if((j|0)!=(c|0)){continue}break}d=d+1|0;if((h|0)!=(d|0)){continue}break}}if(!v[a+960>>2]){break a}v[e+372>>2]=h-v[a+376>>2];v[e+380>>2]=h-v[a+384>>2];v[e+384>>2]=v[a+372>>2];v[e+376>>2]=v[a+380>>2];if((h|0)<1|(j|0)<1){break a}b=0;while(1){d=(b^-1)+h|0;c=0;while(1){nC(e,b,c,w[v[a+960>>2]+(B(d,v[a+16>>2])+c|0)|0]);c=c+1|0;if((j|0)!=(c|0)){continue}break}b=b+1|0;if((h|0)!=(b|0)){continue}break}}tk(a,e,1);v[e>>2]=1032;Tg(e);Cg(e)}Ma=o+992|0}function ZH(a,b,c,d,e,f){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,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;h=Ma+-64|0;v[h+48>>2]=0;v[h+52>>2]=0;v[h+56>>2]=0;v[h+60>>2]=0;v[h+32>>2]=0;v[h+36>>2]=0;v[h+40>>2]=0;v[h+44>>2]=0;a:{b:{c:{d:{e:{if(c){i=c&3;if(c-1>>>0>=3){g=c&-4;while(1){k=h+32|0;j=l<<1;m=k+(x[j+b>>1]<<1)|0;u[m>>1]=x[m>>1]+1;m=k+(x[(j|2)+b>>1]<<1)|0;u[m>>1]=x[m>>1]+1;m=k+(x[(j|4)+b>>1]<<1)|0;u[m>>1]=x[m>>1]+1;j=k+(x[(j|6)+b>>1]<<1)|0;u[j>>1]=x[j>>1]+1;l=l+4|0;g=g-4|0;if(g){continue}break}}if(i){while(1){g=(h+32|0)+(x[(l<<1)+b>>1]<<1)|0;u[g>>1]=x[g>>1]+1;l=l+1|0;i=i-1|0;if(i){continue}break}}l=v[e>>2];j=15;o=x[h+62>>1];if(o){break d}break e}l=v[e>>2]}j=14;o=0;if(x[h+60>>1]){break d}j=13;if(x[h+58>>1]){break d}j=12;if(x[h+56>>1]){break d}j=11;if(x[h+54>>1]){break d}j=10;if(x[h+52>>1]){break d}j=9;if(x[h+50>>1]){break d}j=8;if(x[h+48>>1]){break d}j=7;if(x[h+46>>1]){break d}j=6;if(x[h+44>>1]){break d}j=5;if(x[h+42>>1]){break d}j=4;if(x[h+40>>1]){break d}j=3;if(x[h+38>>1]){break d}j=2;if(x[h+36>>1]){break d}if(!x[h+34>>1]){a=v[d>>2];v[d>>2]=a+4;u[a>>1]=320;u[a+2>>1]=0;a=v[d>>2];v[d>>2]=a+4;u[a>>1]=320;u[a+2>>1]=0;k=1;break b}r=(l|0)!=0;j=1;l=1;break c}r=j>>>0>>0?j:l;y=1;l=1;while(1){if(x[(h+32|0)+(l<<1)>>1]){break c}l=l+1|0;if((j|0)!=(l|0)){continue}break}l=j}i=-1;g=x[h+34>>1];if(g>>>0>2){break a}k=x[h+36>>1];m=4-(k+(g<<1)|0)|0;if((m|0)<0){break a}q=m<<1;m=x[h+38>>1];q=q-m|0;if((q|0)<0){break a}n=q<<1;q=x[h+40>>1];z=n-q|0;if((z|0)<0){break a}n=z<<1;z=x[h+42>>1];s=n-z|0;if((s|0)<0){break a}n=s<<1;s=x[h+44>>1];A=n-s|0;if((A|0)<0){break a}n=A<<1;A=x[h+46>>1];B=n-A|0;if((B|0)<0){break a}n=B<<1;B=x[h+48>>1];n=n-B|0;if((n|0)<0){break a}p=n<<1;n=x[h+50>>1];E=p-n|0;if((E|0)<0){break a}p=E<<1;E=x[h+52>>1];F=p-E|0;if((F|0)<0){break a}p=F<<1;F=x[h+54>>1];p=p-F|0;if((p|0)<0){break a}C=p<<1;p=x[h+56>>1];C=C-p|0;if((C|0)<0){break a}D=C<<1;C=x[h+58>>1];D=D-C|0;if((D|0)<0){break a}G=D<<1;D=x[h+60>>1];G=G-D|0;if((G|0)<0){break a}o=(G<<1)-o|0;if((o|0)<0|(!a|y?o:0)){break a}y=l>>>0>r>>>0;i=0;u[h+2>>1]=0;u[h+4>>1]=g;g=g+k|0;u[h+6>>1]=g;g=g+m|0;u[h+8>>1]=g;g=g+q|0;u[h+10>>1]=g;g=g+z|0;u[h+12>>1]=g;g=g+s|0;u[h+14>>1]=g;g=g+A|0;u[h+16>>1]=g;g=g+B|0;u[h+18>>1]=g;g=g+n|0;u[h+20>>1]=g;g=g+E|0;u[h+22>>1]=g;g=g+F|0;u[h+24>>1]=g;g=g+p|0;u[h+26>>1]=g;g=g+C|0;u[h+28>>1]=g;u[h+30>>1]=g+D;f:{if(!c){break f}if((c|0)!=1){g=c&-2;while(1){k=x[(i<<1)+b>>1];if(k){m=(k<<1)+h|0;k=x[m>>1];u[m>>1]=k+1;u[(k<<1)+f>>1]=i}m=i|1;k=x[(m<<1)+b>>1];if(k){q=(k<<1)+h|0;k=x[q>>1];u[q>>1]=k+1;u[(k<<1)+f>>1]=m}i=i+2|0;g=g-2|0;if(g){continue}break}}if(!(c&1)){break f}c=x[(i<<1)+b>>1];if(!c){break f}g=(c<<1)+h|0;c=x[g>>1];u[g>>1]=c+1;u[(c<<1)+f>>1]=i}k=y?l:r;z=20;E=0;m=f;n=m;F=0;g:{h:{switch(a|0){case 1:i=1;if(k>>>0>9){break a}z=257;n=866240;m=866176;F=1;break g;case 0:break g;default:break h}}E=(a|0)==2;z=0;n=866368;m=866304;if((a|0)!=2){break g}i=1;if(k>>>0>9){break a}}s=1<>2];B=0;c=k;r=0;y=0;a=-1;while(1){q=1<>1];g=0;j:{if(c+1>>>0>>0){break j}if(c>>>0>>0){c=0;g=96;break j}i=c-z<<1;c=x[i+m>>1];g=w[i+n|0]}D=y>>>r|0;G=-1<>1]=c;t[p+1|0]=o;t[p|0]=g;if(i){continue}break}g=1<>>1|0;if(c&y){continue}break}g=(h+32|0)+(l<<1)|0;i=x[g>>1]-1|0;u[g>>1]=i;y=c?c+(c-1&y)|0:0;B=B+1|0;if(!(i&65535)){if((j|0)==(l|0)){break i}l=x[(x[(B<<1)+f>>1]<<1)+b>>1]}if(l>>>0<=k>>>0){continue}g=y&C;if((g|0)==(a|0)){continue}break}r=r?r:k;c=l-r|0;o=1<>>0>l>>>0){a=j-r|0;i=l;k:{while(1){i=o-x[(h+32|0)+(i<<1)>>1]|0;if((i|0)<1){break k}o=i<<1;c=c+1|0;i=r+c|0;if(j>>>0>i>>>0){continue}break}c=a}o=1<>>0>852&F|s>>>0>592&E){break a}i=v[d>>2];a=i+(g<<2)|0;t[a+1|0]=k;t[a|0]=c;A=(q<<2)+A|0;u[a+2>>1]=A-i>>>2;a=g;continue}break}if(y){a=(y<<2)+A|0;u[a+2>>1]=0;t[a+1|0]=o;t[a|0]=64}v[d>>2]=v[d>>2]+(s<<2)}v[e>>2]=k;i=0}return i}function Xq(a,b){var 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,u=0,x=0,y=0,z=0,B=0,C=0,E=0;f=Ma-768|0;Ma=f;gd(b,kb(b)<<1);a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{if(!kb(b)){if((kb(b)|0)!=1399353411){break p}if((kb(b)|0)==2){if(kb(b)){break o}if((kb(b)|0)!=1315774496){break n}if((kb(b)|0)!=1413830740){break m}gd(b,kb(b)<<1)}if(kb(b)){break l}if((kb(b)|0)!=1131574816){break k}if((kb(b)|0)!=1449938035){break j}m=kb(b);if((m|0)<1){break b}while(1){if((kb(b)|0)!=1331849827){break i}gd(b,kb(b)<<1);if(kb(b)){break h}if((kb(b)|0)!=1131565172){break g}c=(f+512|0)+e|0;t[c|0]=0;g=(f+256|0)+e|0;t[g|0]=0;n=e+f|0;t[n|0]=0;i=kb(b);if(i){while(1){if(kb(b)){break f}d=kb(b);h=kb(b);q:{r:{s:{if((d|0)!=1131312249){if((d|0)!=1450341475){if((d|0)!=1215461998){break s}if((h|0)!=1685026146){break e}l=Lc(b);if(!(D(l)<2147483648)){break r}t[c|0]=~~l;break q}if((h|0)!=1685026146){break d}l=Lc(b);if(D(l)<2147483648){t[g|0]=~~l;break q}t[g|0]=0;break q}if((h|0)!=1651470188){break c}C=n,E=1-ad(b)|0,t[C|0]=E;break q}O(3794,6490,703,194208);L()}t[c|0]=0}i=i-1|0;if(i){continue}break}}e=e+1|0;if((m|0)!=(e|0)){continue}break}n=w[f+512|0];if(n){break b}n=0;break a}O(11805,6490,626,194208);L()}O(27685,6490,629,194208);L()}O(11805,6490,637,194208);L()}O(29368,6490,640,194208);L()}O(30830,6490,642,194208);L()}O(11805,6490,649,194208);L()}O(32346,6490,652,194208);L()}O(33969,6490,655,194208);L()}O(35320,6490,662,194208);L()}O(11805,6490,668,194208);L()}O(36948,6490,671,194208);L()}O(11805,6490,681,194208);L()}O(38114,6490,689,194208);L()}O(38114,6490,694,194208);L()}O(39083,6490,699,194208);L()}eb(a,w[f+256|0],n)}g=m-1|0;b=w[g+(f+512|0)|0];eb(b+a|0,w[g+(f+256|0)|0],256-b|0);if((m|0)>1){x=m-2|0;b=0;while(1){c=Ma-512|0;Ma=c;i=b+1|0;e=i;h=w[e+f|0];d=w[b+f|0];v[c+408>>2]=0;v[c+412>>2]=0;v[c+432>>2]=0;v[c+436>>2]=0;v[c+440>>2]=0;v[c+444>>2]=0;v[c+464>>2]=0;v[c+468>>2]=0;v[c+472>>2]=0;v[c+476>>2]=0;v[c+496>>2]=0;v[c+500>>2]=0;v[c+504>>2]=0;v[c+508>>2]=0;v[c+400>>2]=0;v[c+404>>2]=0;o=(d|0)==1?b:b?b-1|0:0;d=f+512|0;A[c+384>>3]=w[o+d|0];A[c+416>>3]=w[b+d|0];A[c+448>>3]=w[d+e|0];h=(h|0)==1?e:(b|0)==(x|0)?g:b+2|0;A[c+480>>3]=w[h+d|0];d=f+256|0;A[c+392>>3]=w[d+o|0];A[c+424>>3]=w[b+d|0];A[c+456>>3]=w[d+e|0];b=w[d+h|0];v[c+144>>2]=0;v[c+148>>2]=0;v[c+208>>2]=0;v[c+212>>2]=0;v[c+200>>2]=0;v[c+204>>2]=1054867456;v[c+184>>2]=0;v[c+188>>2]=0;v[c+176>>2]=0;v[c+180>>2]=1063256064;v[c+168>>2]=0;v[c+172>>2]=1053818880;v[c+216>>2]=0;v[c+220>>2]=0;v[c+232>>2]=0;v[c+236>>2]=0;v[c+240>>2]=0;v[c+244>>2]=0;v[c+248>>2]=0;v[c+252>>2]=0;A[c+488>>3]=b>>>0;v[c+128>>2]=0;v[c+132>>2]=0;v[c+136>>2]=0;v[c+140>>2]=0;v[c+192>>2]=0;v[c+196>>2]=1047003136;v[c+160>>2]=0;v[c+164>>2]=1044381696;v[c+152>>2]=0;v[c+156>>2]=1072693248;v[c+224>>2]=0;v[c+228>>2]=1047003136;b=c+256|0;J3(1025616,c+384|0,b);J3(c+128|0,b,c);y=A[c+104>>3];l=A[c+72>>3];q=A[c+40>>3];z=A[c+96>>3];r=A[c+64>>3];s=A[c+32>>3];p=A[c>>3];j=p>0?p:0;j=j<255?j:255;t:{if(D(j)<2147483648){e=~~j;break t}e=-2147483648}d=e+a|0;j=A[c+8>>3];k=j>0?j:0;k=k<255?k:255;u:{if(D(k)<2147483648){b=~~k;break u}b=-2147483648}t[d|0]=b;o=0;while(1){j=j+q;k=j+.5;v:{if(D(k)<2147483648){d=~~k;break v}d=-2147483648}u=(d|0)>0?d:0;B=(u|0)<255;d=e;h=b;p=s+p;k=p+.5;w:{if(D(k)<2147483648){e=~~k;break w}e=-2147483648}b=(e|0)>0?e:0;e=(b|0)<255?b:255;b=B?u:255;if(!((d|0)==(e|0)&(h|0)==(b|0))){t[a+e|0]=b}q=q+l;s=r+s;l=y+l;r=z+r;o=o+1|0;if((o|0)!=512){continue}break}Ma=c+512|0;b=i;if((g|0)!=(b|0)){continue}break}}x:{if((m|0)<1){break x}t[a+n|0]=w[f+256|0];b=1;if((m|0)==1){break x}e=g&3;if(m-2>>>0>=3){i=g&-4;while(1){d=f+512|0;g=f+256|0;t[w[d+b|0]+a|0]=w[g+b|0];c=b+1|0;t[w[c+d|0]+a|0]=w[c+g|0];c=b+2|0;t[w[c+d|0]+a|0]=w[c+g|0];h=d;d=b+3|0;t[w[h+d|0]+a|0]=w[d+g|0];b=b+4|0;i=i-4|0;if(i){continue}break}}if(!e){break x}while(1){t[w[(f+512|0)+b|0]+a|0]=w[(f+256|0)+b|0];b=b+1|0;e=e-1|0;if(e){continue}break}}Ma=f+768|0}function $r(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=Ma-128|0;Ma=f;a:{b:{c:{d:{if(w[b+89|0]){k=Mf();h=zg(f+88|0);e=f+48|0;eF(e,b,c);Rf(h,e);v[f+72>>2]=969432;v[f+48>>2]=969400;e=v[f+76>>2];if(e){g=v[e+4>>2]-1|0;v[e+4>>2]=g;if(!g){Qa[v[v[e>>2]+4>>2]](e)}v[f+76>>2]=0}v[f+64>>2]=969432;e=v[f+68>>2];if(e){g=v[e+4>>2]-1|0;v[e+4>>2]=g;if(!g){Qa[v[v[e>>2]+4>>2]](e)}v[f+68>>2]=0}db(f+56|0);e=v[h+8>>2];e:{if(!e|!v[e+8>>2]){break e}Sf(f+48|0,h);e=v[f+48>>2];if(!e){db(f+48|0);break e}e=v[e+8>>2];db(f+48|0);if(e){break b}}if(v[b+92>>2]&24){v[a>>2]=0;qb(a,0);break a}v[f+40>>2]=0;f:{if(!v[b+100>>2]){break f}e=f+16|0;Sf(e,b+8|0);g=f+24|0;ic(g,e,336559);e=f+48|0;j=g;g=Qe(f+8|0,c);Xb(e,j,g);i=f+32|0;PE(i,k,e);jb(f+40|0,i);e=v[f+32>>2];v[f+32>>2]=0;g:{if(!e){break g}i=v[e+4>>2]-1|0;v[e+4>>2]=i;if(i){break g}i=v[e+4>>2];if(!i){v[e+4>>2]=-32767}if(!i){Qa[v[v[e>>2]+4>>2]](e)}}db(f+48|0);db(g);db(f+24|0);db(f+16|0);e=v[f+40>>2];if(!e){break f}g=Oc(f+48|0,280549);e=Qa[v[v[e>>2]+8>>2]](e,g)|0;db(g);if(e){break d}}i=Oc(f+24|0,283075);e=f+48|0;g=Qe(e,c);Cd(i,g);db(g);_m(i,224919);gF(e,b,i);Rf(h,e);v[f+72>>2]=969432;v[f+48>>2]=969400;e=v[f+76>>2];if(e){g=v[e+4>>2]-1|0;v[e+4>>2]=g;if(!g){Qa[v[v[e>>2]+4>>2]](e)}v[f+76>>2]=0}v[f+64>>2]=969432;e=v[f+68>>2];if(e){g=v[e+4>>2]-1|0;v[e+4>>2]=g;if(!g){Qa[v[v[e>>2]+4>>2]](e)}v[f+68>>2]=0}db(f+56|0);g=v[b+136>>2];h:{if(g){while(1){e=v[g+8>>2];i:{if(e){v[e+4>>2]=v[e+4>>2]+1;e=v[g+8>>2];if(ff(e+24|0,h)){c=a;g=v[e+60>>2];if(g){v[g+4>>2]=v[g+4>>2]+1;g=v[e+60>>2]}else{g=0}v[c>>2]=g;c=v[e+4>>2]-1|0;v[e+4>>2]=c;if(c){break h}c=v[e+4>>2];if(!c){v[e+4>>2]=-32767}if(!c){Qa[v[v[e>>2]+4>>2]](e)}break h}if(!e){break i}j=v[e+4>>2]-1|0;v[e+4>>2]=j;if(j){break i}j=v[e+4>>2];if(!j){v[e+4>>2]=-32767}if(!j){Qa[v[v[e>>2]+4>>2]](e)}break i}ff(24,h)}g=v[g>>2];if(g){continue}break}}g=ab(68);e=Qe(f+48|0,0);v[f+8>>2]=0;j=f+8|0;qb(j,0);c=gS(g,1,e,c,h,j);v[f+16>>2]=0;qb(f+16|0,c);c=v[f+8>>2];v[f+8>>2]=0;j:{if(!c){break j}g=v[c+4>>2]-1|0;v[c+4>>2]=g;if(g){break j}g=v[c+4>>2];if(!g){v[c+4>>2]=-32767}if(!g){Qa[v[v[c>>2]+4>>2]](c)}}db(e);c=ab(12);v[c>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;j=c;g=v[f+16>>2];if(g){v[g+4>>2]=v[g+4>>2]+1;g=v[f+16>>2]}else{g=0}v[j+8>>2]=g;de(b+128|0,c);v[f>>2]=0;qb(f,b);ZE(f+48|0,h,f,v[b+84>>2],w[b+88|0]);c=v[f>>2];v[f>>2]=0;k:{if(!c){break k}e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(e){break k}e=v[c+4>>2];if(!e){v[c+4>>2]=-32767}if(!e){Qa[v[v[c>>2]+4>>2]](c)}}jb(v[f+16>>2]+60|0,f+48|0);c=v[f+48>>2];l:{if(!c){v[a>>2]=0;break l}v[c+4>>2]=v[c+4>>2]+1;c=v[f+48>>2];v[a>>2]=c;v[f+48>>2]=0;if(!c){break l}e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(e){break l}e=v[c+4>>2];if(!e){v[c+4>>2]=-32767}if(!e){Qa[v[v[c>>2]+4>>2]](c)}}c=v[f+16>>2];v[f+16>>2]=0;if(!c){break h}e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(e){break h}e=v[c+4>>2];if(!e){v[c+4>>2]=-32767}if(!e){Qa[v[v[c>>2]+4>>2]](c)}}db(i);c=1;break c}lb(mb(f+88|0,231515,240864,286,226712));L()}c=ze(f+48|0,v[f+40>>2]+72|0);Rf(h,c);v[c+24>>2]=969432;v[c>>2]=969400;e=v[c+28>>2];if(e){g=v[e+4>>2]-1|0;v[e+4>>2]=g;if(!g){Qa[v[v[e>>2]+4>>2]](e)}v[c+28>>2]=0}v[c+16>>2]=969432;e=v[c+20>>2];if(e){g=v[e+4>>2]-1|0;v[e+4>>2]=g;if(!g){Qa[v[v[e>>2]+4>>2]](e)}v[c+20>>2]=0}db(c+8|0);c=0}e=v[f+40>>2];v[f+40>>2]=0;m:{if(!e){break m}g=v[e+4>>2]-1|0;v[e+4>>2]=g;if(g){break m}g=v[e+4>>2];if(!g){v[e+4>>2]=-32767}if(!g){Qa[v[v[e>>2]+4>>2]](e)}}if(c){break a}}Qa[v[v[b>>2]+84>>2]](f+48|0,b,h,d);g=v[f+48>>2];if(g){jo(k,g,b);g=v[f+48>>2]}if(!g){v[a>>2]=0;break a}v[g+4>>2]=v[g+4>>2]+1;b=a;a=v[f+48>>2];v[b>>2]=a;v[f+48>>2]=0;if(!a){break a}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break a}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}v[h+24>>2]=969432;v[h>>2]=969400;a=v[h+28>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Qa[v[v[a>>2]+4>>2]](a)}v[h+28>>2]=0}v[h+16>>2]=969432;a=v[h+20>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Qa[v[v[a>>2]+4>>2]](a)}v[h+20>>2]=0}db(h+8|0);Ma=f+128|0}function dX(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=Ma-32|0;Ma=e;v[e+28>>2]=0;b=v[v[a+36>>2]+16>>2];a:{if(w[b|0]!=38){break a}if(w[b+1|0]==35){c=w[b+2|0];b=oX(a);if(!b){break a}if(v[a+256>>2]!=1){if((b|0)<=255){t[e+19|0]=0;t[e+18|0]=b;b=v[a>>2];if(!b){break a}b=v[b+68>>2];if(v[a+212>>2]|!b){break a}Qa[b|0](v[a+4>>2],e+18|0,1);break a}v[e>>2]=b;_i(e+18|0,10,(c&223)==88?308682:291775,e);b=v[a>>2];if(!b){break a}b=v[b+64>>2];if(v[a+212>>2]|!b){break a}Qa[b|0](v[a+4>>2],e+18|0);break a}c=e+18|0;b=ui(c,b);t[b+c|0]=0;c=v[a>>2];if(!c){break a}c=v[c+68>>2];if(v[a+212>>2]|!c){break a}Qa[c|0](v[a+4>>2],e+18|0,b);break a}d=iX(a);if(!d|!v[a+12>>2]){break a}b:{if(v[d+8>>2]){b=v[d+48>>2];if((b|0)!=6){break b}}b=v[d+40>>2];if(!b){break a}c=v[a>>2];if(!c){break a}c=v[c+68>>2];if(v[a+212>>2]|!c){break a}Qa[c|0](v[a+4>>2],b,yl(b));break a}c:{d:{f=v[d+72>>2];if(v[d+12>>2]|!(w[a+360|0]&2)?f:0){break d}e:{if((b|0)==2){if(!(w[a+360|0]&18)){break d}b=v[a+248>>2]+1|0;v[a+248>>2]=b;c=v[a+440>>2];g=v[a+4>>2];b=cX(v[a+8>>2],a,v[a>>2],(a|0)==(g|0)?0:g,b,v[d+64>>2],v[d+52>>2],e+28|0);v[a+248>>2]=v[a+248>>2]-1;g=a+440|0;break e}g=a+440|0;c=v[a+440>>2];if((b|0)==1){b=v[a+4>>2];v[a+248>>2]=v[a+248>>2]+1;b=bX(a,v[d+40>>2],(a|0)==(b|0)?0:b,e+28|0);v[a+248>>2]=v[a+248>>2]-1;break e}Ks(a,1,343778,0);b=88}v[d+72>>2]=(v[g>>2]-c<<1)+2;c=v[d+40>>2];f:{if(!c){break f}if(!Ko(c,60)){break f}v[d+72>>2]=v[d+72>>2]|1}if((b|0)==89){Md(a,89,0);vl(v[e+28>>2]);break a}if(Dj(a,0,d,0)){vl(v[e+28>>2]);break a}c=v[e+28>>2];g:{if(!(!c|b)){if(!(v[d+12>>2]|v[d+48>>2]-1>>>0>1)){v[d+12>>2]=c;if(v[a+16>>2]){if(!(!(v[c+24>>2]?0:v[c+4>>2]==3)&v[a+436>>2]!=5)){v[c+20>>2]=d;v[e+28>>2]=0;v[d+68>>2]=1;break g}v[d+68>>2]=0;g=v[a+8>>2];h=v[a+52>>2];while(1){b=c;v[b+32>>2]=g;v[b+20>>2]=h;c=v[b+24>>2];if(c){continue}break}v[d+16>>2]=b;break g}v[d+68>>2]=1;v[c+20>>2]=d;ul(c,v[d+32>>2]);while(1){c=v[e+28>>2];b=v[c+24>>2];if(b){v[e+28>>2]=b;v[b+20>>2]=d;ul(b,v[d+32>>2]);continue}break}v[d+16>>2]=c;v[e+28>>2]=b;break g}vl(c);v[e+28>>2]=0;break g}if(!(!b|(b|0)==27)){He(a,26,342841,v[d+8>>2]);Dj(a,0,d,0);break g}if(!c){break g}vl(c);v[e+28>>2]=0}if(v[d+72>>2]){break c}v[d+72>>2]=2;break c}if((f|0)==1){break c}v[a+440>>2]=v[a+440>>2]+((f|0)/2|0)}if(!v[d+12>>2]){h:{if(!f){break h}b=v[a+4>>2];b=(a|0)==(b|0)?0:b;i:{j:{k:{switch(v[d+48>>2]-1|0){case 1:c=v[a+248>>2]+1|0;v[a+248>>2]=c;c=cX(v[a+8>>2],a,v[a>>2],b,c,v[d+64>>2],v[d+52>>2],0);b=a+248|0;break j;case 0:break k;default:break i}}v[a+248>>2]=v[a+248>>2]+1;c=bX(a,v[d+40>>2],b,0);b=a+248|0}v[b>>2]=v[b>>2]-1;if((c|0)!=89){break h}Md(a,89,0);break a}Ks(a,1,343778,0)}b=v[a>>2];if(!b){break a}b=v[b+64>>2];if(v[a+212>>2]|(v[a+16>>2]|!b)){break a}Qa[b|0](v[a+4>>2],v[d+8>>2]);break a}l:{b=v[a>>2];if(!b){break l}b=v[b+64>>2];if(v[a+212>>2]|(v[a+16>>2]|!b)){break l}Qa[b|0](v[a+4>>2],v[d+8>>2]);break a}if(!v[a+16>>2]|!v[a+52>>2]){break a}m:{n:{o:{p:{q:{if(!v[e+28>>2]){if(!v[d+68>>2]|v[a+436>>2]==5){break q}break o}if(v[a+436>>2]!=5){break p}}b=(v[d+44>>2]+v[a+468>>2]|0)+5|0;v[a+468>>2]=b;if(Dj(a,0,d,b)){break a}b=v[d+12>>2];if(!b){break m}while(1){c=MX(b,v[a+8>>2]);if(c){if(!v[c>>2]){v[c>>2]=v[b>>2]}c=Df(v[a+52>>2],c)}else{c=0}if(v[d+16>>2]!=(b|0)){b=v[b+24>>2];if(!b){break m}continue}break}if(!c|v[a+436>>2]!=5|(v[c+12>>2]|v[c+4>>2]!=1)){break m}u[c+58>>1]=1;break m}if(v[a+40>>2]<1){break n}}b=(v[d+44>>2]+v[a+468>>2]|0)+5|0;v[a+468>>2]=b;if(Dj(a,0,d,b)){break a}g=v[d+16>>2];b=v[d+12>>2];v[d+12>>2]=0;v[d+16>>2]=0;while(1){if(b){v[b+20>>2]=0;c=v[b+24>>2];v[b+24>>2]=0;f=MX(b,v[a+8>>2]);if(f){if(!v[f>>2]){v[f>>2]=v[b>>2]}Df(d,f);Df(v[a+52>>2],b)}f=(b|0)!=(g|0);b=c;if(f){continue}}break}if(v[d+68>>2]){break m}v[d+68>>2]=1;break m}c=Zc(v[a+296>>2],225164,-1);b=v[d+12>>2];if(v[b+4>>2]==3){v[b+8>>2]=c}d=v[d+16>>2];if(!((d|0)==(b|0)|v[d+4>>2]!=3)){v[d+8>>2]=c}_X(v[a+52>>2],b)}v[a+260>>2]=0;v[a+264>>2]=0}Ma=e+32|0}function Hs(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=Ma-16|0;Ma=i;e=v[a+36>>2];d=v[e+16>>2];a:{if(w[d|0]!=60|w[d+1|0]!=63){break a}k=v[a+172>>2];v[a+172>>2]=2;v[a+200>>2]=v[a+200>>2]+2;v[e+16>>2]=d+2;v[e+32>>2]=v[e+32>>2]+2;f=e;d=w[d+2|0];if((d|0)==37){zc(a);f=v[a+36>>2];d=w[v[f+16>>2]]}b:{if(d&255){break b}if((Zb(f)|0)>0){break b}xc(a)}c:{if(v[a+292>>2]){break c}f=v[a+36>>2];d=v[f+16>>2];if((d-v[f+12>>2]|0)<501|(v[f+20>>2]-d|0)>499){break c}Xg(f);d=v[a+36>>2];if(w[v[d+16>>2]]){break c}if((Zb(d)|0)>0){break c}xc(a)}g=Ma+-64|0;Ma=g;b=a;h=kh(b);d:{if(!h){break d}e:{f:{f=w[h|0];g:{if((f|32)!=120){break g}d=w[h+1|0];if((d|32)!=109){break g}a=w[h+2|0];if((a|32)!=108){break g}c=w[h+3|0];h:{if(!((f|0)!=120|(d|0)!=109|(a|0)!=108)){if(c){break h}Pc(b,64,338743);break d}if(!c){break f}}if(Ef(h,233444)){break d}if(Ef(h,260485)){break d}rm(b,64,346812,0)}if(!Ko(h,58)){break d}if(!b){break e}if(v[b+172>>2]==-1?v[b+212>>2]:0){break d}v[b+84>>2]=205;v[g+20>>2]=0;v[g+24>>2]=0;v[g+16>>2]=h;nb(0,0,0,b,0,3,205,2,h,0,0,0,346582,g+16|0);v[b+356>>2]=0;break d}if(!b){v[g+32>>2]=280021;nb(0,0,0,0,0,1,64,3,0,0,0,0,340716,g+32|0);break d}if(v[b+172>>2]==-1?v[b+212>>2]:0){break d}v[b+84>>2]=64;v[g+48>>2]=280021;nb(0,0,0,b,0,1,64,3,0,0,0,0,340716,g+48|0);v[b+12>>2]=0;if(v[b+288>>2]){break d}v[b+212>>2]=1;break d}v[g+4>>2]=0;v[g+8>>2]=0;v[g>>2]=h;nb(0,0,0,0,0,3,205,2,h,0,0,0,346582,g)}Ma=g- -64|0;i:{j:{k:{if(h){a=v[b+36>>2];c=v[a+16>>2];if(!(w[c|0]!=63|w[c+1|0]!=62)){if((a|0)!=(e|0)){Pc(b,90,338194);e=v[b+36>>2];c=v[e+16>>2]}v[b+200>>2]=v[b+200>>2]+2;v[e+16>>2]=c+2;v[e+32>>2]=v[e+32>>2]+2;a=w[c+2|0];if((a|0)==37){zc(b);e=v[b+36>>2];a=w[v[e+16>>2]]}l:{if(a&255){break l}if((Zb(e)|0)>0){break l}xc(b)}a=v[b>>2];m:{if(v[b+212>>2]|!a){break m}a=v[a+76>>2];if(!a){break m}Qa[a|0](v[b+4>>2],h,0)}if(v[b+172>>2]!=-1){break i}break a}d=Qa[v[256555]](100)|0;if(!d){Yc(b,0);break i}a=w[v[v[b+36>>2]+16>>2]]-9|0;if(!(1<>>0<=23:0)){He(b,65,343956,h)}Fc(b);g=100;c=Be(b,i+12|0);f=0;while(1){n:{o:{if((c|0)<=255){if((c|0)>31){break o}if(!(1<>>0>13){break k}break n}if((c|0)<55296|c-65536>>>0<1048576|c-57344>>>0<8190){break n}break k}if((c|0)!=63){break n}if(w[v[v[b+36>>2]+16>>2]+1|0]==62){break k}}p:{if(f+5>>>0>>0){a=d;break p}g=g<<1;a=Qa[v[256557]](d,g)|0;if(a){break p}Yc(b,0);Qa[v[256556]](d);break i}d=a;q:{if((j|0)<50){j=j+1|0;break q}r:{if(v[b+292>>2]){break r}a=v[b+36>>2];if((v[a+20>>2]-v[a+16>>2]|0)>249){break r}oc(b)}if(v[b+172>>2]==-1){Qa[v[256556]](d);break a}j=0;if(w[b+362|0]&8|f>>>0<10000001){break q}He(b,47,287225,h);Qa[v[256556]](d);break i}s:{if(v[i+12>>2]==1){t[d+f|0]=c;f=f+1|0;break s}f=ui(d+f|0,c)+f|0}c=v[b+36>>2];a=v[c+16>>2];t:{if(w[a|0]==10){v[c+32>>2]=1;v[c+28>>2]=v[c+28>>2]+1;break t}v[c+32>>2]=v[c+32>>2]+1}a=a+v[i+12>>2]|0;v[c+16>>2]=a;if(w[a|0]==37){zc(b)}c=Be(b,i+12|0);if(c){continue}u:{if(v[b+292>>2]){break u}c=v[b+36>>2];a=v[c+16>>2];v:{if((a-v[c+12>>2]|0)<501|(v[c+20>>2]-a|0)>499){break v}Xg(c);a=v[b+36>>2];if(w[v[a+16>>2]]){break v}if((Zb(a)|0)>0){break v}xc(b)}if(v[b+292>>2]){break u}a=v[b+36>>2];if((v[a+20>>2]-v[a+16>>2]|0)>249){break u}oc(b)}c=Be(b,i+12|0);continue}}if(v[b+172>>2]==-1?v[b+212>>2]:0){break a}v[b+84>>2]=46;v[i>>2]=279880;nb(0,0,0,b,0,1,46,3,0,0,0,0,340716,i);v[b+12>>2]=0;if(v[b+288>>2]){break j}v[b+212>>2]=1;break j}if(!(w[b+362|0]&8|f>>>0<10000001)){He(b,47,287225,h);Qa[v[256556]](d);break i}t[d+f|0]=0;w:{if((c|0)!=63){He(b,47,346346,h);break w}if(v[b+36>>2]!=(e|0)){Pc(b,65,338194);e=v[b+36>>2]}v[b+200>>2]=v[b+200>>2]+2;a=v[e+16>>2];v[e+16>>2]=a+2;v[e+32>>2]=v[e+32>>2]+2;a=w[a+2|0];if((a|0)==37){zc(b);e=v[b+36>>2];a=w[v[e+16>>2]]}x:{if(a&255){break x}if((Zb(e)|0)>0){break x}xc(b)}a=v[b>>2];if(v[b+212>>2]|!a){break w}a=v[a+76>>2];if(!a){break w}Qa[a|0](v[b+4>>2],h,d)}Qa[v[256556]](d)}if(v[b+172>>2]==-1){break a}}v[b+172>>2]=k}Ma=i+16|0}function Ze(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;g=Ma-336|0;Ma=g;v[g+12>>2]=0;t[g+11|0]=1;a:{if(v[d>>2]>0){break a}b:{c:{if(!b){if(!c){b=g+48|0;break c}v[d>>2]=5;break a}if(c){break b}}v[g+36>>2]=0;v[g+40>>2]=0;v[g+28>>2]=0;v[g+32>>2]=0;v[g+20>>2]=0;v[g+24>>2]=0;v[g+16>>2]=28;c=g+16|0}v[b+220>>2]=0;t[b+60|0]=0;t[b|0]=0;v[c+24>>2]=b+60;v[c+20>>2]=a;v[c+12>>2]=0;d:{if(!a){l=Ma-16|0;Ma=l;e=v[290886];if(!e){v[l+12>>2]=0;i=Ma-112|0;Ma=i;if(!v[290979]){e=v[291009];if(!e){e=bm(0,0);e:{f:{g:{h:{if(!e){break h}if(!hb(312822,e)){break h}if(hb(308616,e)){break g}}e=ii(311151);if(e){break g}e=ii(311990);if(e){break g}e=ii(311592);if(!e){break f}}if(!hb(312822,e)){break f}if(hb(308616,e)){break e}}e=308610}v[291009]=e}eb(1163936,0,100);f=v[v[279293]>>2]?314541:311371;i:{j:{k:{if(!hb(e,308610)){if(!f){break j}f=hb(f,242376)?f:236126;if(w[f|0]){break k}break j}f=cZ(e,f);if(!f){break j}}e=1163936;Sb(1163936,f,100);t[1164035]=0;break i}eb(1163936,0,100);l:{if(!e){break l}j=ye(e,46);if(!j){break l}f=(j-e|0)+1|0;f=(f|0)<100?f:100;e=Sb(i,e,f);t[(f+i|0)-1|0]=0;Sb(1163936,j+1|0,100);t[1164035]=0;f=ye(1163936,64);if(f){t[f|0]=0}e=cZ(e,1163936);if(e){break i}e=1163936;if(w[1163936]){break i}}t[1163944]=w[311376];f=w[311372]|w[311373]<<8|(w[311374]<<16|w[311375]<<24);v[290984]=w[311368]|w[311369]<<8|(w[311370]<<16|w[311371]<<24);v[290985]=f;e=1163936}v[290979]=e}Ma=i+112|0;e=v[290979];m:{n:{if(!e){break n}k=AA(e,l+12|0);if(!(!k|v[l+12>>2]>0)){e=0;o:{if(v[l+12>>2]>0){break o}f=v[k+24>>2];e=v[v[f+20>>2]+48>>2];if(e){e=Qa[e|0](k)|0;if(e){break o}f=v[k+24>>2]}e=v[f+12>>2]+4|0}if(!e){break n}}if(!k|(!w[e|0]|v[l+12>>2]>0)){break n}if(zb(e)>>>0<61){break m}}e=311368}i=l+12|0;h=Ma-320|0;Ma=h;v[h+24>>2]=v[209078];f=v[209077];v[h+16>>2]=v[209076];v[h+20>>2]=f;f=v[209075];v[h+8>>2]=v[209074];v[h+12>>2]=f;f=v[209073];v[h>>2]=v[209072];v[h+4>>2]=f;m=e;p=zb(e);f=ye(e,44);v[h+20>>2]=e;j=e;p:{if(f){v[h+252>>2]=0;t[h+92|0]=0;t[h+32|0]=0;FI(m,h+32|0,h,i);if(v[i>>2]>0){break p}j=v[h+20>>2]}q=(f|0)!=0;kZ(h+256|0,j);j=34;f=17;q:{while(1){i=f;r:{n=hb(h+256|0,v[(f<<3)+836016>>2]);if((n|0)<0){break r}o=f;i=j;if(n){break r}f=v[(v[(f<<3)+836020>>2]<<2)+835872>>2];break q}j=i;n=f;f=i+o>>>1|0;if((n|0)!=(f|0)){continue}break}f=0}t[1163528]=q;v[290881]=f;f=cb(1163552,m,p);t[f+p|0]=0;v[290886]=f;v[291026]=2480}Ma=h+320|0;Cq(k)}Ma=l+16|0;v[c+20>>2]=e;if(!e){v[d>>2]=2;e=0;break a}k=w[1163528];t[g+11|0]=k;f=v[290881];break d}s:{j=w[a|0];t:{if((j|0)!=117){if((j|0)!=85|w[a+1|0]!=84){break s}if(w[a+2|0]==70){break t}break s}if(w[a+1|0]!=116|w[a+2|0]!=102){break s}}u:{v:{switch(w[a+3|0]-45|0){case 0:if(w[a+5|0]|w[a+4|0]!=56){break s}break u;case 11:break v;default:break s}}if(w[a+4|0]){break s}}v[c+20>>2]=314541;e=839880;break a}FI(a,b,c,d);if(v[d>>2]>0){break a}j=c;e=v[c+20>>2];o=g+11|0;m=g+12|0;w:{x:{if(!zI(m)){break x}if(!e){v[m>>2]=1;f=0;break w}if(!w[e|0]){break x}i=jZ(e,o,m);if(i>>>0>=y[290931]){if(w[e|0]!=120|w[e+1|0]!=45){break x}if(!zI(m)){break x}e=e+2|0;if(!w[e|0]){break x}i=jZ(e,o,m);if(i>>>0>=y[290931]){break x}}f=v[290929]+(x[v[290922]+(i<<1)>>1]<<1)|0}}e=f;v[j+20>>2]=e;f=v[g+12>>2];y:{if(!(e?(f|0)<=0:0)){v[c+20>>2]=b;e=b;break y}if((f|0)!=-122){break y}v[d>>2]=-122}k=w[g+11|0];f=0}if(!(!(k&255)|(b|0)==(e|0))){FI(e,b,c,d)}z:{if(!a){break z}kZ(g+272|0,v[c+20>>2]);a=34;b=17;k=0;while(1){A:{e=b;f=hb(g+272|0,v[(e<<3)+836016>>2]);if((f|0)<0){break A}k=b;e=a;if(f){break A}f=v[(v[(b<<3)+836020>>2]<<2)+835872>>2];break z}a=e;f=b;b=e+k>>>1|0;if((f|0)!=(b|0)){continue}break}f=0}if(!f){e=0;v[c+16>>2]=0;v[c+4>>2]=1;f=0;B:{if(v[d>>2]>0){break B}a=v[c+16>>2];if(!(!a|!w[a|0])){f=zA(c,d);break B}C:{a=v[290883];if(a){a=yI(a,v[c+20>>2]);if(a){break C}}a=zA(c,d);if(!a|v[d>>2]>0){break B}if(w[c+8|0]){f=a;break B}pZ(a);f=a;break B}v[a+4>>2]=v[a+4>>2]+1;f=a}if(!f|v[d>>2]>0){break a}}e=f}Ma=g+336|0;return e}function mca(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,j=0,k=0,l=0,m=0,n=0,o=0;h=Ma-32|0;Ma=h;v[h+24>>2]=b;v[e>>2]=0;j=h+8|0;i=v[d+28>>2];v[j>>2]=i;v[i+4>>2]=v[i+4>>2]+1;i=Yi(j);j=v[j>>2];k=v[j+4>>2]-1|0;v[j+4>>2]=k;if((k|0)==-1){Qa[v[v[j>>2]+8>>2]](j)}a:{b:{c:{d:{switch(g-65|0){case 0:case 32:xO(a,f+24|0,h+24|0,c,e,i);break b;case 1:case 33:case 39:vO(a,f+16|0,h+24|0,c,e,i);break b;case 34:g=h;i=a;j=b;b=Qa[v[v[a+8>>2]+12>>2]](a+8|0)|0;a=b;if(w[b+11|0]>>>7|0){a=v[a>>2]}k=a;if(w[b+11|0]>>>7|0){a=v[b>>2]}else{a=b}if(w[b+11|0]>>>7|0){b=v[b+4>>2]}else{b=w[b+11|0]}l=g,m=Vm(i,j,c,d,e,f,k,a+b|0),v[l+24>>2]=m;break b;case 35:case 36:a=Wl(h+24|0,c,e,i,2);b=v[e>>2];e:{if(!(b&4|(a|0)<1|(a|0)>31)){v[f+12>>2]=a;break e}v[e>>2]=b|4}break b;case 3:v[h+8>>2]=623865125;v[h+12>>2]=2032480100;l=h,m=Vm(a,b,c,d,e,f,h+8|0,h+16|0),v[l+24>>2]=m;break b;case 5:v[h+8>>2]=623728933;v[h+12>>2]=1680158061;l=h,m=Vm(a,b,c,d,e,f,h+8|0,h+16|0),v[l+24>>2]=m;break b;case 7:a=Wl(h+24|0,c,e,i,2);b=v[e>>2];f:{if(!(b&4|(a|0)>23)){v[f+8>>2]=a;break f}v[e>>2]=b|4}break b;case 8:a=Wl(h+24|0,c,e,i,2);b=v[e>>2];g:{if(!(b&4|(a|0)<1|(a|0)>12)){v[f+8>>2]=a;break g}v[e>>2]=b|4}break b;case 41:a=Wl(h+24|0,c,e,i,3);b=v[e>>2];h:{if(!(b&4|(a|0)>365)){v[f+28>>2]=a;break h}v[e>>2]=b|4}break b;case 44:a=Wl(h+24|0,c,e,i,2);b=v[e>>2];i:{if(!(b&4|(a|0)>12)){v[f+16>>2]=a-1;break i}v[e>>2]=b|4}break b;case 12:a=Wl(h+24|0,c,e,i,2);b=v[e>>2];j:{if(!(b&4|(a|0)>59)){v[f+4>>2]=a;break j}v[e>>2]=b|4}break b;case 45:case 51:a=h+24|0;b=Ma-16|0;Ma=b;v[b+8>>2]=c;while(1){k:{if(!Mh(a,b+8|0)){break k}c=sf(a);if((c|0)>=0){c=(x[v[i+8>>2]+((c&255)<<1)>>1]&8192)!=0}else{c=0}if(!c){break k}Zf(a);continue}break};if(yg(a,b+8|0)){v[e>>2]=v[e>>2]|2}Ma=b+16|0;break b;case 47:g=h+24|0;b=Qa[v[v[a+8>>2]+8>>2]](a+8|0)|0;a=b;d=v[b+4>>2];l:{if(w[b+11|0]>>>7|0){break l}d=w[a+11|0]}if(w[b+23|0]>>>7|0){a=v[b+16>>2]}else{a=w[b+23|0]}m:{if((d|0)==(0-a|0)){v[e>>2]=v[e>>2]|4;break m}b=Cx(g,c,b,b+24|0,i,e,0)-b|0;a=v[f+8>>2];if(!(b|(a|0)!=12)){v[f+8>>2]=0;break m}if(!((b|0)!=12|(a|0)>11)){v[f+8>>2]=a+12}}break b;case 49:g=w[1004084]|w[1004085]<<8|(w[1004086]<<16|w[1004087]<<24);t[h+15|0]=g;t[h+16|0]=g>>>8;t[h+17|0]=g>>>16;t[h+18|0]=g>>>24;g=w[1004081]|w[1004082]<<8|(w[1004083]<<16|w[1004084]<<24);v[h+8>>2]=w[1004077]|w[1004078]<<8|(w[1004079]<<16|w[1004080]<<24);v[h+12>>2]=g;l=h,m=Vm(a,b,c,d,e,f,h+8|0,h+19|0),v[l+24>>2]=m;break b;case 17:t[h+12|0]=w[1004092];v[h+8>>2]=w[1004088]|w[1004089]<<8|(w[1004090]<<16|w[1004091]<<24);l=h,m=Vm(a,b,c,d,e,f,h+8|0,h+13|0),v[l+24>>2]=m;break b;case 18:a=Wl(h+24|0,c,e,i,2);b=v[e>>2];n:{if(!(b&4|(a|0)>60)){v[f>>2]=a;break n}v[e>>2]=b|4}break b;case 19:v[h+8>>2]=624576549;v[h+12>>2]=1394948685;l=h,m=Vm(a,b,c,d,e,f,h+8|0,h+16|0),v[l+24>>2]=m;break b;case 54:a=Wl(h+24|0,c,e,i,1);b=v[e>>2];o:{if(!(b&4|(a|0)>6)){v[f+24>>2]=a;break o}v[e>>2]=b|4}break b;case 55:a=Qa[v[v[a>>2]+20>>2]](a,b,c,d,e,f)|0;break a;case 23:g=h;i=a;j=b;b=Qa[v[v[a+8>>2]+24>>2]](a+8|0)|0;a=b;if(w[b+11|0]>>>7|0){a=v[a>>2]}k=a;if(w[b+11|0]>>>7|0){a=v[b>>2]}else{a=b}if(w[b+11|0]>>>7|0){b=v[b+4>>2]}else{b=w[b+11|0]}l=g,m=Vm(i,j,c,d,e,f,k,a+b|0),v[l+24>>2]=m;break b;case 56:uO(f+20|0,h+24|0,c,e,i);break b;case 24:a=Wl(h+24|0,c,e,i,4);if(!(w[e|0]&4)){v[f+20>>2]=a-1900}break b;default:if((g|0)==37){break c}break;case 2:case 4:case 6:case 9:case 10:case 11:case 13:case 14:case 15:case 16:case 20:case 21:case 22:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 37:case 38:case 40:case 42:case 43:case 46:case 48:case 50:case 52:case 53:break d}}v[e>>2]=v[e>>2]|4;break b}a=Ma-16|0;Ma=a;v[a+8>>2]=c;b=6;c=h+24|0;p:{q:{if(yg(c,a+8|0)){break q}b=4;if(((m=i,n=sf(c),o=0,l=v[v[i>>2]+36>>2],Qa[l](m|0,n|0,o|0)|0)|0)!=37){break q}b=2;if(!yg(Zf(c),a+8|0)){break p}}v[e>>2]=v[e>>2]|b}Ma=a+16|0}a=v[h+24>>2]}Ma=h+32|0;return a|0}function F$(a,b){var 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,u=0,x=0;d=B(b,1348)+a|0;k=v[d- -64>>2];o=v[d+56>>2];r=k+B(o,44)|0;n=1;p=1;a:{if((b|0)==1){if((o|0)<1){break a}p=w[v[(v[v[v[a+2748>>2]>>2]+8>>2]<<2)+428992>>2]+12|0];d=k;while(1){g=w[d+12|0];b:{if(g&4){break b}c:{d:{e:{f=v[d+20>>2];c=v[d+24>>2];f:{if(!f|!c){break f}e=1;if(!v[c+20>>2]){break e}h=w[c+12|0];if(h&8){v[c+20>>2]=0;t[c+12|0]=h&247;f=v[d+20>>2];break f}if(!(g&8)){break e}f=0;v[d+20>>2]=0;t[d+12|0]=g&247}e=(f|0)!=0;if(!c|f){break e}f=v[c+20>>2];if(!f){break b}f=v[f+8>>2];v[c+8>>2]=f;g=w[c+12|0]|4;t[c+12|0]=g;e=c;c=d;break d}if(!e){break b}f=v[f+8>>2];v[d+8>>2]=f;g=w[d+12|0]|4;t[d+12|0]=g;if(!c){break c}e=d;if(v[c+20>>2]){break c}}e=v[e+4>>2];h=v[c+4>>2]-e|0;i=f-e|0;e=w[c+12|0];g=pw(a,1,h,i,g&255,e);t[c+12|0]=e|4;v[c+8>>2]=f+g}j=j?j:d}d=d+44|0;if(r>>>0>d>>>0){continue}break}p=!p}if((o|0)>=1){d=k;while(1){n=w[d+12|0];g:{if(n&4){break g}f=v[d+24>>2];if(!f){q=q+1|0;break g}if(v[f+20>>2]){c=v[f+4>>2];e=v[f+8>>2];c=pw(a,b,v[d+4>>2]-c|0,e-c|0,w[f+12|0],n);t[d+12|0]=n|4;v[d+8>>2]=c+e;break g}if(!j){c=v[d+4>>2];g=v[f+4>>2]-c|0;j=pw(a,b,g,0,n,w[f+12|0]);h:{if((j|0)<=95){e=c+(g>>1)|0;m=e+32&-64;l=(j|0)<65;h=m+(l?-32:-38)|0;s=e-h|0;i=s>>31;l=m|(l?32:26);m=e-l|0;e=m>>31;e=((j|0)/-2|0)+((i^i+s)>>>0<(e^e+m)>>>0?h:l)|0;v[d+8>>2]=e;v[f+8>>2]=e+j;e=v[d+8>>2];break h}e=c+32&-64;v[d+8>>2]=e}j=n|4;t[d+12|0]=j;u=f,x=pw(a,b,g,e-c|0,j,w[f+12|0])+e|0,v[u+8>>2]=x;j=d;break g}e=v[j+4>>2];h=v[j+8>>2];i=v[d+4>>2];g=v[f+4>>2]-i|0;l=w[f+12|0];c=pw(a,b,g,0,n,l);i:{if(l&4){g=v[f+8>>2]-c|0;c=d;break i}h=h+(i-e|0)|0;e=h+(g>>1)|0;j:{if((c|0)<=95){i=e+32&-64;h=(c|0)<65;l=i+(h?-32:-38)|0;m=e-l|0;g=m>>31;h=i|(h?32:26);i=e-h|0;e=i>>31;e=(g^g+m)>>>0<(e^e+i)>>>0?l:h;c=(c|0)/2|0;v[d+8>>2]=e-c;g=c+e|0;break j}i=h+32|0;l=i&-64;m=c>>>1|0;s=(l+m|0)-e|0;h=s>>31;g=(g+i&-64)-c|0;i=g+(m-e|0)|0;e=i>>31;e=(h^h+s)>>>0<(e^e+i)>>>0?l:g;v[d+8>>2]=e;g=c+e|0}c=f}v[c+8>>2]=g;t[d+12|0]=n|4;t[f+12|0]=w[f+12|0]|4;if(d>>>0<=k>>>0){break g}c=v[d-36>>2];e=v[d+8>>2];k:{if(!p){if((c|0)<(e|0)){break k}break g}if((c|0)<=(e|0)){break g}}e=v[f+8>>2]-c|0;f=e>>31;if((f^e+f)>>>0<17){break g}v[d+8>>2]=c}d=d+44|0;if(r>>>0>d>>>0){continue}break}n=(o|0)<1}l:{if(b){break l}d=4;f=2;c=k;m:{switch(o-6|0){case 6:c=k+44|0;d=9;f=5;break;case 0:break m;default:break l}}f=B(f,44)+k|0;a=B(d,44)+k|0;e=(v[f+4>>2]<<1)-(v[c+4>>2]+v[a+4>>2]|0)|0;b=e>>31;if((b^b+e)>>>0>7){break l}b=v[a+8>>2];c=(v[f+8>>2]<<1)-v[c+8>>2]|0;v[a+8>>2]=c;b=b-c|0;a=v[a+24>>2];if(a){v[a+8>>2]=v[a+8>>2]-b}if((o|0)==12){v[k+360>>2]=v[k+360>>2]-b;v[k+492>>2]=v[k+492>>2]-b}b=B(d,44)+k|0;t[b+12|0]=w[b+12|0]|4;if(!a){break l}t[a+12|0]=w[a+12|0]|4}if(!q&(j|0)!=0|n){break a}d=k;while(1){q=w[d+12|0];n:{if(q&4){break n}o:{p:{q:{a=v[d+28>>2];if(!a){break q}c=v[a+4>>2];f=v[d+4>>2];e=c-f|0;b=e>>31;if((b^b+e)>>>0>79){break q}c=f+(v[a+8>>2]-c|0)|0;break p}c=d;if(!j){c=v[d+4>>2]+32&-64;v[d+8>>2]=c;j=d;break o}while(1){a=c;c=c-44|0;e=k>>>0>c>>>0;if(!(w[a-32|0]&4?1:e)){continue}break}f=d;r:{while(1){b=f;f=f+44|0;g=r>>>0<=f>>>0;if(g){break r}if(!(w[b+56|0]&4)){continue}break}if(d>>>0<=c>>>0|e|(d>>>0>=f>>>0|g)){break r}c=v[a-36>>2];f=v[b+48>>2];a=v[a-40>>2];if((f|0)==(a|0)){break p}c=fc(v[d+4>>2]-a|0,v[b+52>>2]-c|0,f-a|0)+c|0;v[d+8>>2]=c;q=w[d+12|0];break o}c=v[j+8>>2]+((v[d+4>>2]-v[j+4>>2]|0)+16&-32)|0}v[d+8>>2]=c}t[d+12|0]=q|4;s:{if(d>>>0<=k>>>0){break s}a=v[d-36>>2];t:{if(!p){if((a|0)<(c|0)){break t}break s}if((a|0)<=(c|0)){break s}}b=v[d+24>>2];if(!b){break s}f=v[b+8>>2]-a|0;b=f>>31;if((b^b+f)>>>0<17){break s}v[d+8>>2]=a;c=a}if(!(w[d+56|0]&4)|d+44>>>0>=r>>>0){break n}a=v[d+52>>2];u:{if(!p){if((a|0)>(c|0)){break u}break n}if((a|0)>=(c|0)){break n}}b=v[d+24>>2];if(!b){break n}c=v[b+8>>2]-v[d-36>>2]|0;b=c>>31;if((b^b+c)>>>0<17){break n}v[d+8>>2]=a}d=d+44|0;if(r>>>0>d>>>0){continue}break}}}function qw(a,b){var 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,y=0,z=0,A=0,C=0,D=0;m=Ma-16|0;Ma=m;v[m+12>>2]=0;v[a+1404>>2]=0;v[a+1392>>2]=0;v[a+56>>2]=0;v[a+44>>2]=0;v[a+36>>2]=0;v[a+24>>2]=0;e=v[a>>2];j=v[a+16>>2];n=v[a+8>>2];l=v[a+12>>2];o=v[a+4>>2];d=u[b>>1];a:{b:{c:{if(d>>>0<=8){if(v[a+40>>2]){break b}v[a+40>>2]=a+2760;c=8;break c}c=v[a+32>>2];if(c>>>0>=d>>>0){break b}h=a;g=e;f=c;c=d+3&-4;k=c;d=v[a+40>>2];if((d|0)==(a+2760|0)){v[a+40>>2]=0;d=0}C=h,D=yb(g,4,f,k,d,m+12|0),v[C+40>>2]=D;if(v[m+12>>2]){break a}}v[a+32>>2]=c}c=u[b+2>>1];d=c+2|0;d:{if(d>>>0<=96){if(v[a+28>>2]){break d}v[a+20>>2]=96;v[a+28>>2]=a+2792;break d}g=d;d=v[a+20>>2];if(g>>>0<=d>>>0){break d}h=a;g=c+11&-8;f=g;c=v[a+28>>2];if((c|0)==(a+2792|0)){v[a+28>>2]=0;c=0}C=h,D=yb(e,40,d,f,c,m+12|0),v[C+28>>2]=D;if(v[m+12>>2]){break a}v[a+20>>2]=g;c=u[b+2>>1]}v[a+24>>2]=c;c=u[b>>1];v[a+1416>>2]=-1;v[a+68>>2]=2;v[a+36>>2]=c;if((h0(b)|0)==1){v[a+1416>>2]=1;v[a+68>>2]=-2}v[a+12>>2]=l;v[a+4>>2]=o;v[a+2752>>2]=0;v[a+2756>>2]=0;v[a+16>>2]=j;v[a+8>>2]=n;p=v[a+24>>2];if(!p){break a}h=v[a+28>>2];r=h+B(p,40)|0;e=v[b+12>>2];s=B(x[v[v[a+2748>>2]+4>>2]+68>>1],20)>>>11|0;if((p|0)>=1){d=v[b+4>>2];k=v[b+8>>2];c=h;f=u[e>>1];g=c+B(f,40)|0;e=g;while(1){u[c+2>>1]=1028;i=v[d>>2];u[c+12>>1]=i;u[c+14>>1]=v[d+4>>2];i=xb(i,o)+n|0;v[c+4>>2]=i;v[c+16>>2]=i;i=xb(v[d+4>>2],l)+j|0;v[c+8>>2]=i;v[c+20>>2]=i;i=v[b+4>>2]+(f<<16>>16<<3)|0;u[g+12>>1]=v[i>>2];u[g+14>>1]=v[i+4>>2];i=w[k|0]&3;u[c>>1]=i?((i|0)==2)<<1:1;z=u[c+14>>1]-u[e+14>>1]|0;i=z>>31;A=u[c+12>>1]-u[e+12>>1]|0;q=A>>31;if((i^i+z)+(q^q+A)>>>0>>0){u[e>>1]=x[e>>1]|32}v[c+36>>2]=e;v[e+32>>2]=c;e:{if((c|0)!=(g|0)){e=c;break e}y=y+1|0;if((y|0)>=u[b>>1]){e=c;g=c;break e}f=u[v[b+12>>2]+(y<<1)>>1];e=B(f,40)+h|0;g=e}k=k+1|0;d=d+8|0;c=c+40|0;if(r>>>0>c>>>0){continue}break}e=v[b+12>>2]}b=v[a+36>>2];f:{if((b|0)<1){break f}c=v[a+40>>2];g=c+(b<<2)|0;d=0;while(1){v[c>>2]=B(d<<16>>16,40)+h;d=x[e>>1]+1|0;e=e+2|0;c=c+4|0;if(g>>>0>c>>>0){continue}break}if((b|0)<=0){break f}n=v[a+40>>2];i=n+(b<<2)|0;q=(s<<1)-1|0;while(1){d=v[n>>2];c=d;while(1){g:{g=c;k=u[c+12>>1];c=v[c+36>>2];if((d|0)==(c|0)){b=x[g+14>>1];break g}b=u[g+14>>1];f=b-u[c+14>>1]|0;a=f>>31;j=k-u[c+12>>1]|0;e=j>>31;if((q|0)>((a^a+f)+(e^e+j)|0)){continue}}break}v[g+24>>2]=0;v[g+28>>2]=0;c=0;d=g;a=d;e=0;while(1){j=k<<16;f=b<<16;d=v[d+32>>2];b=u[d+14>>1];e=(b-(f>>16)|0)+e|0;f=e>>31;k=u[d+12>>1];c=(k-(j>>16)|0)+c|0;j=c>>31;f=f^e+f;j=j^c+j;h:{if(f+j>>>0>>0){u[d>>1]=x[d>>1]|16;break h}l=(d-a|0)/40|0;v[a+24>>2]=l;v[d+28>>2]=0-l;l=0-c|0;i:{if((c|0)<=(e|0)){f=c;c=(e|0)<(l|0);j=c?e:f;f=j>>31;f=f^f+j;o=c?-1:2;c=c?l:e;break i}o=1;if((e|0)>=(l|0)){break i}c=0-e|0;o=254;f=j}e=(B(f,14)|0)<(c|0)?o:4;t[a+3|0]=e;c=v[a+32>>2];if((d|0)!=(c|0)){while(1){t[c+3|0]=e;t[c+2|0]=e;c=v[c+32>>2];if((d|0)!=(c|0)){continue}break}}t[d+2|0]=e;a=(g-d|0)/40|0;v[d+24>>2]=a;c=0;v[g+28>>2]=0-a;a=d;e=0}if((d|0)!=(g|0)){continue}break}n=n+4|0;if(i>>>0>n>>>0){continue}break}}if((p|0)<=0){break a}c=h;while(1){e=x[c>>1];j:{if(e&16|w[c+2|0]!=4|w[c+3|0]!=4){break j}d=v[c+24>>2];a=B(d,40)+c|0;b=u[c+12>>1];j=u[a+12>>1]-b|0;f=b;g=v[c+28>>2];b=B(g,40)+c|0;if((j^f-u[b+12>>1])<0){break j}f=u[c+14>>1];if((f-u[b+14>>1]^u[a+14>>1]-f)<0){break j}u[c>>1]=e|16;e=b;b=(B(d-g|0,40)|0)/40|0;v[e+24>>2]=b;v[a+28>>2]=0-b}c=c+40|0;if(r>>>0>c>>>0){continue}break}if((p|0)<=0){break a}while(1){c=x[h>>1];k:{if(c&16){break k}l:{if(c&3){break l}a=w[h+3|0];b=w[h+2|0];if((a|0)==(b|0)){if((a|0)!=4){break l}c=u[h+12>>1];e=v[h+28>>2];a=B(e,40)+h|0;d=u[h+14>>1];g=v[h+24>>2];b=B(g,40)+h|0;if(!b0(c-u[a+12>>1]|0,d-u[a+14>>1]|0,u[b+12>>1]-c|0,u[b+14>>1]-d|0)){break k}c=a;a=(B(g-e|0,40)|0)/40|0;v[c+24>>2]=a;v[b+28>>2]=0-a;c=x[h>>1];break l}if((0-(a<<24>>24)|0)!=b<<24>>24){break k}}u[h>>1]=c|16}h=h+40|0;if(r>>>0>h>>>0){continue}break}}Ma=m+16|0;return v[m+12>>2]}function Jya(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;while(1){a:{b:{c:{if(y[a+116>>2]>261){break c}pA(a);c=v[a+116>>2];if(!(b|c>>>0>261)){return 0}if(!c){break a}if(c>>>0>2){break c}c=v[a+96>>2];v[a+120>>2]=c;v[a+100>>2]=v[a+112>>2];e=2;v[a+96>>2]=2;break b}e=2;d=v[a+108>>2];c=v[a+84>>2]&(w[(d+v[a+56>>2]|0)+2|0]^v[a+72>>2]<>2]);v[a+72>>2]=c;c=v[a+68>>2]+(c<<1)|0;f=x[c>>1];u[v[a+64>>2]+((d&v[a+52>>2])<<1)>>1]=f;u[c>>1]=d;c=v[a+96>>2];v[a+120>>2]=c;v[a+100>>2]=v[a+112>>2];v[a+96>>2]=2;if(!f){break b}d:{if(v[a+44>>2]-262>>>0>>0|y[a+128>>2]<=c>>>0){break d}e=zY(a,f);v[a+96>>2]=e;if(e>>>0>5){break d}if(v[a+136>>2]!=1){if((e|0)!=3){break d}e=3;if(v[a+108>>2]-v[a+112>>2]>>>0<4097){break d}}e=2;v[a+96>>2]=2}c=v[a+120>>2]}if(!(c>>>0<3|c>>>0>>0)){f=v[a+116>>2];d=v[a+5792>>2];h=v[a+108>>2];e=h+(v[a+100>>2]^-1)|0;u[v[a+5796>>2]+(d<<1)>>1]=e;v[a+5792>>2]=d+1;c=c-3|0;t[d+v[a+5784>>2]|0]=c;c=((w[(c&255)+866944|0]<<2)+a|0)+1176|0;u[c>>1]=x[c>>1]+1;c=e-1&65535;c=((w[(c>>>0<256?c:(c>>>7|0)+256|0)+866432|0]<<2)+a|0)+2440|0;u[c>>1]=x[c>>1]+1;c=v[a+120>>2];e=c-2|0;v[a+120>>2]=e;v[a+116>>2]=(v[a+116>>2]-c|0)+1;f=(f+h|0)-3|0;h=v[a+5788>>2]-1|0;c=v[a+108>>2];i=v[a+5792>>2];while(1){d=c;c=c+1|0;v[a+108>>2]=c;if(c>>>0<=f>>>0){g=v[a+84>>2]&(w[(d+v[a+56>>2]|0)+3|0]^v[a+72>>2]<>2]);v[a+72>>2]=g;g=v[a+68>>2]+(g<<1)|0;u[v[a+64>>2]+((v[a+52>>2]&c)<<1)>>1]=x[g>>1];u[g>>1]=c}e=e-1|0;v[a+120>>2]=e;if(e){continue}break}v[a+96>>2]=2;v[a+104>>2]=0;f=d+2|0;v[a+108>>2]=f;if((h|0)!=(i|0)){continue}c=a;d=v[a+92>>2];if((d|0)>=0){e=d+v[a+56>>2]|0}else{e=0}ak(c,e,f-d|0,0);v[a+92>>2]=v[a+108>>2];c=v[a>>2];d=v[c+28>>2];mh(d);e=v[c+16>>2];f=v[d+20>>2];e=e>>>0>>0?e:f;e:{if(!e){break e}cb(v[c+12>>2],v[d+16>>2],e);v[c+12>>2]=e+v[c+12>>2];v[d+16>>2]=e+v[d+16>>2];v[c+20>>2]=e+v[c+20>>2];v[c+16>>2]=v[c+16>>2]-e;c=v[d+20>>2]-e|0;v[d+20>>2]=c;if(c){break e}v[d+16>>2]=v[d+8>>2]}if(v[v[a>>2]+16>>2]){continue}return 0}if(v[a+104>>2]){c=w[(v[a+108>>2]+v[a+56>>2]|0)-1|0];d=v[a+5792>>2];u[v[a+5796>>2]+(d<<1)>>1]=0;v[a+5792>>2]=d+1;t[d+v[a+5784>>2]|0]=c;c=(c<<2)+a|0;u[c+148>>1]=x[c+148>>1]+1;f:{if(v[a+5792>>2]!=(v[a+5788>>2]-1|0)){break f}c=a;d=v[a+92>>2];if((d|0)>=0){e=d+v[a+56>>2]|0}else{e=0}ak(c,e,v[a+108>>2]-d|0,0);v[a+92>>2]=v[a+108>>2];c=v[a>>2];d=v[c+28>>2];mh(d);e=v[c+16>>2];f=v[d+20>>2];e=e>>>0>>0?e:f;if(!e){break f}cb(v[c+12>>2],v[d+16>>2],e);v[c+12>>2]=e+v[c+12>>2];v[d+16>>2]=e+v[d+16>>2];v[c+20>>2]=e+v[c+20>>2];v[c+16>>2]=v[c+16>>2]-e;c=v[d+20>>2]-e|0;v[d+20>>2]=c;if(c){break f}v[d+16>>2]=v[d+8>>2]}v[a+108>>2]=v[a+108>>2]+1;v[a+116>>2]=v[a+116>>2]-1;if(v[v[a>>2]+16>>2]){continue}return 0}else{v[a+104>>2]=1;v[a+108>>2]=v[a+108>>2]+1;v[a+116>>2]=v[a+116>>2]-1;continue}}break}if(v[a+104>>2]){c=w[(v[a+108>>2]+v[a+56>>2]|0)-1|0];d=v[a+5792>>2];u[v[a+5796>>2]+(d<<1)>>1]=0;v[a+5792>>2]=d+1;t[d+v[a+5784>>2]|0]=c;c=(c<<2)+a|0;u[c+148>>1]=x[c+148>>1]+1;v[a+104>>2]=0}c=v[a+108>>2];v[a+5812>>2]=c>>>0<2?c:2;if((b|0)==4){b=a;d=v[a+92>>2];if((d|0)>=0){e=d+v[a+56>>2]|0}else{e=0}ak(b,e,c-d|0,1);v[a+92>>2]=v[a+108>>2];b=v[a>>2];c=v[b+28>>2];mh(c);d=v[b+16>>2];e=v[c+20>>2];d=d>>>0>>0?d:e;g:{if(!d){break g}cb(v[b+12>>2],v[c+16>>2],d);v[b+12>>2]=d+v[b+12>>2];v[c+16>>2]=d+v[c+16>>2];v[b+20>>2]=d+v[b+20>>2];v[b+16>>2]=v[b+16>>2]-d;b=v[c+20>>2]-d|0;v[c+20>>2]=b;if(b){break g}v[c+16>>2]=v[c+8>>2]}return(v[v[a>>2]+16>>2]?3:2)|0}h:{if(!v[a+5792>>2]){break h}b=a;d=v[a+92>>2];if((d|0)>=0){e=d+v[a+56>>2]|0}else{e=0}ak(b,e,c-d|0,0);v[a+92>>2]=v[a+108>>2];b=v[a>>2];c=v[b+28>>2];mh(c);d=v[b+16>>2];e=v[c+20>>2];d=d>>>0>>0?d:e;i:{if(!d){break i}cb(v[b+12>>2],v[c+16>>2],d);v[b+12>>2]=d+v[b+12>>2];v[c+16>>2]=d+v[c+16>>2];v[b+20>>2]=d+v[b+20>>2];v[b+16>>2]=v[b+16>>2]-d;b=v[c+20>>2]-d|0;v[c+20>>2]=b;if(b){break i}v[c+16>>2]=v[c+8>>2]}if(v[v[a>>2]+16>>2]){break h}return 0}return 1}function fU(a,b,c,d,e,f,g,h,i){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,w=0;n=Ma+-64|0;Ma=n;a:{if(Qa[v[v[b>>2]+32>>2]](b,276675)|0){break a}if(Qa[v[v[b>>2]+32>>2]](b,306510)|0){break a}if(Qa[v[v[b>>2]+32>>2]](b,224825)|0){break a}b:{if(Qa[v[v[b>>2]+32>>2]](b,288524)|0){break b}j=Sh(b,287499);if(!j){break b}j=zj(j,270013);if(!j){break b}if(!Ec(v[j+4>>2],279386)){break a}}j=zj(b,280032);if(!j){break a}k=v[j+4>>2]}j=k;c:{if(e){k=e;if(!j){break c}}k=Wg(ab(16),0)}t=k;d:{if(Qa[v[v[b>>2]+32>>2]](b,276675)|0){break d}if(Qa[v[v[b>>2]+32>>2]](b,224825)|0){break d}k=zj(b,280032);if(!k){break d}l=v[k+4>>2]}e:{if(f){k=f;if(!l){break e}k=f;if(Qa[v[v[b>>2]+32>>2]](b,306510)|0){break e}}k=Wg(ab(16),0)}w=k;k=c;f:{if(!j){break f}g:{if(c){v[n+52>>2]=j;v[n+48>>2]=c;k=ZG(n+48|0);break g}k=Hc(ab(8),j)}m=om(e,j);$G(e,j,m+1|0);h:{j=Sh(b,287499);if(!j){break h}j=zj(j,270013);if(!j){break h}if(Ec(v[j+4>>2],261551)){break h}Fb(k,308260,0);break f}v[n+32>>2]=m;Fb(k,306617,n+32|0)}j=d;if(l){i:{if(d){v[n+20>>2]=l;v[n+16>>2]=d;j=ZG(n+16|0);break i}j=Hc(ab(8),l)}m=om(f,l);$G(f,l,m+1|0);v[n>>2]=m;Fb(j,306617,n)}j:{if(Qa[v[v[b>>2]+32>>2]](b,288524)|0){l=XF(a,v[k+4>>2],h);if(!(l|!g)){l=XF(a,v[g+4>>2],h)}k:{if(l){break k}l=om(i,j);if(l){break k}l=0;g=Sh(b,275285);if(!g){break k}g=Qa[v[v[g>>2]+40>>2]](g)|0;if(!g){break k}if(!(Qa[v[v[g>>2]+28>>2]](g)|0)){break k}g=Qa[v[v[g>>2]+40>>2]](g)|0;if(!g){break k}if(!(Qa[v[v[g>>2]+36>>2]](g)|0)){break k}l=v[g+20>>2]}l:{m:{n:{g=Sh(b,263443);o:{if(!g){break o}g=Qa[v[v[g>>2]+40>>2]](g)|0;if(!g){break o}if(!(Qa[v[v[g>>2]+32>>2]](g,245430)|0)){break o}g=Sh(b,235632);if(!g){break o}g=Qa[v[v[g>>2]+40>>2]](g)|0;if(!g){break o}if(!(Qa[v[v[g>>2]+28>>2]](g)|0)){break o}g=Qa[v[v[g>>2]+40>>2]](g)|0;if(!g){break o}if(Qa[v[v[g>>2]+36>>2]](g)|0){break n}}if(l){break m}r=0;break l}g=v[g+20>>2];if(!(!g|!l)){g=vh(l,g);h=ab(8);if(g){r=Rb(h,273371);break l}r=Rb(h,253252);break l}if(l){break m}r=0;break l}r=Hc(ab(8),l)}i=Sh(b,303923);if(i){g=0;m=zj(i,248128);h=0;p:{if(!m){break p}h=0;if(!Ec(v[m+4>>2],232771)){break p}h=1;if(!Ec(v[m+4>>2],239168)){break p}h=!Ec(v[m+4>>2],232061)<<1}i=zj(i,248121);q:{if(!i){break q}if(!Ec(v[i+4>>2],242293)){break q}if(!Ec(v[i+4>>2],281078)){g=1;break q}g=!Ec(v[i+4>>2],255514)<<1}i=ab(8);v[i+4>>2]=g;v[i>>2]=h}else{i=0}l=i;g=0;h=0;m=Sh(b,263443);i=0;r:{if(!m){break r}s:{t:{if(Sh(m,231664)){break t}g=1;if(Sh(m,231677)){break t}g=2;if(!Sh(m,231655)){break s}}i=Sh(b,234024);if(!i){break s}i=Sh(i,277010);if(!i){break s}i=Qa[v[v[i>>2]+40>>2]](i)|0;if(!i){break s}if(!(Qa[v[v[i>>2]+36>>2]](i)|0)){break s}h=v[i+20>>2];i=ab(8);Hc(i,h);h=ab(8);v[h+4>>2]=i;v[h>>2]=g}i=h}m=i;g=0;b=Sh(b,263443);u:{if(!b){break u}p=Sh(b,283585);if(!p){break u}b=zj(p,279167);if(!b){break u}b=v[b+4>>2];o=ab(8);Hc(o,b);b=zj(p,243810);u=3;v:{if(!b){break v}b=v[v[b+4>>2]+4>>2];h=ye(b,58);if(h){g=ab(8);b=Uh(g,b,h-b|0);q=Ue(v[b+4>>2]);Bb(b);$a(g);s=q;q=Ue(h+1|0);u=q==0?s:s/q;break v}u=Ue(b)}b=zj(p,269415);if(b){s=dU(v[b+4>>2])}else{s=.7086614173228346}b=zj(p,232136);if(b){q=dU(v[b+4>>2])}else{q=14.173228346456694}h=0;i=0;b=zj(p,268224);if(b){i=td(v[v[b+4>>2]+4>>2])}b=zj(p,260401);if(b){h=td(v[v[b+4>>2]+4>>2])}b=zj(p,247438);w:{if(b){b=v[b+4>>2];b=Hc(ab(8),b);break w}b=Rb(ab(8),222320)}g=ab(48);v[g+40>>2]=b;v[g+36>>2]=h;v[g+32>>2]=i;A[g+24>>3]=q;A[g+16>>3]=s;A[g+8>>3]=u;v[g>>2]=o}o=ab(24);i=ab(8);Hc(i,k);h=ab(8);b=Hc(h,j);v[o+20>>2]=g;v[o+16>>2]=m;v[o+12>>2]=l;v[o+8>>2]=r;v[o+4>>2]=h;v[o>>2]=i;ti(v[a+4>>2],b,o);break j}g=Qa[v[v[b>>2]+32>>2]](b,240490)|0;b=Qa[v[v[b>>2]+40>>2]](b)|0;if(!b){break j}g=g?k:0;while(1){if(Qa[v[v[b>>2]+28>>2]](b)|0){fU(a,b,k,j,t,w,g,h,i)}b=Qa[v[v[b>>2]+44>>2]](b)|0;if(b){continue}break}}if(!(!k|(c|0)==(k|0))){$a(Bb(k))}if(!(!j|(d|0)==(j|0))){$a(Bb(j))}if(!(!t|(e|0)==(t|0))){$a(Vg(t))}if((f|0)!=(w|0)){$a(Vg(w))}Ma=n- -64|0}function pWa(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,n=0,o=0,p=0;a:{b:{if(!(w[a+301|0]?0:w[a+285|0])|(w[a+286|0]|w[a+287|0])){break b}if(w[a+288|0]|w[a+289|0]){break b}t[a+301|0]=1;c:{g=v[a+196>>2];if(!g){break c}if(Qa[g|0](a)|0){break c}ob(a,904,0,0);return 904}d:{e:{f:{i=a;g=0;g:{if(!w[a+114|0]){break g}g=Qa[v[i+152>>2]](28)|0;if(!g){ob(i,1,0,0);g=1;break g}v[g+4>>2]=733;v[g>>2]=734;a=v[i+700>>2];h:{if(a){v[a+8>>2]=g;break h}v[i+696>>2]=g}v[g+8>>2]=0;v[g+12>>2]=a;v[i+700>>2]=g;v[g+16>>2]=v[i+436>>2];v[g+20>>2]=v[i+440>>2];v[g+24>>2]=v[i+444>>2];if(!(v[i+516>>2]|(w[i+496|0]|!w[i+432|0]))){v[i+516>>2]=g}g=0}a=g;if(a){break f}a=a4(i);if(a){break f}a=0;if(!w[i+112|0]){break f}a=Qa[v[b+4>>2]](i,b,e)|0;if(a){break f}g=v[e>>2];b=!c;t[g+32|0]=b;a=0;if(b){break f}i:{j:{k:{l:{m:{n:{a=w[d|0];switch(a-4|0){case 0:case 4:break n;default:break m}}t[g+33|0]=a;g=c-1|0;if(!g){break k}f=d+1|0;b=w[f|0];if((a|0)==4){break j}if((b&255)>>>0>3){break e}k=1;a=f;h=g;while(1){j=a;a=b&255;j=j+(a>>>0>1?1:a?9:25)|0;a=j;while(1){b=a;a=a+1|0;if(w[b|0]){continue}break}if((b-d|0)>(c|0)){break l}a=b-j|0;h=h-a|0;if(!h){break d}k=k+1|0;a=a+j|0;b=w[a|0];if(b>>>0<=3){continue}break}break e}a=1049;ob(i,1049,0,0);break f}h=Qa[v[i+152>>2]](B(k,36))|0;if(!h){break i}a=v[e>>2];v[a+40>>2]=h;v[a+36>>2]=k;while(1){p=w[f|0];if(p>>>0>3){break e}l=0;o:{p:{q:{if(p>>>0>1){m=0;n=0;a=f+1|0;break q}a=w[f+5|0]|w[f+6|0]<<8|(w[f+7|0]<<16|w[f+8|0]<<24);m=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=w[f+1|0]|w[f+2|0]<<8|(w[f+3|0]<<16|w[f+4|0]<<24);n=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!p){break p}a=f+9|0}o=0;j=0;f=0;break o}a=w[f+21|0]|w[f+22|0]<<8|(w[f+23|0]<<16|w[f+24|0]<<24);o=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=w[f+17|0]|w[f+18|0]<<8|(w[f+19|0]<<16|w[f+20|0]<<24);j=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=w[f+13|0]|w[f+14|0]<<8|(w[f+15|0]<<16|w[f+16|0]<<24);l=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=f+25|0;b=w[f+9|0]|w[f+10|0]<<8|(w[f+11|0]<<16|w[f+12|0]<<24);f=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24)}e=a;while(1){b=e;e=b+1|0;if(w[b|0]){continue}break}k=0;r:{if((b-d|0)>(c|0)){e=0;b=g;break r}b=b-a|0;e=g-b|0;if(!e){break d}}if(h){v[h+28>>2]=b;v[h+24>>2]=o;v[h+20>>2]=j;v[h+12>>2]=f;v[h+4>>2]=n;t[h|0]=p;v[h+16>>2]=l;v[h+8>>2]=m;if(b){g=Qa[v[i+152>>2]](b+1|0)|0;v[h+32>>2]=g;if(!g){break a}cb(g,a,b)}k=h+36|0}f=a+b|0;a=0;h=k;g=e;if(g){continue}break}break f}b=Qa[v[i+152>>2]](0)|0;if(!b){break i}a=v[e>>2];v[a+40>>2]=b;v[a+36>>2]=0;return 0}if((b&255)>>>0>3){break e}k=1;a=f;h=g;while(1){j=a;a=b&255;j=j+(a>>>0>1?1:a?5:17)|0;a=j;while(1){b=a;a=a+1|0;if(w[b|0]){continue}break}if((b-d|0)<=(c|0)){a=b-j|0;h=h-a|0;if(!h){break d}k=k+1|0;a=a+j|0;b=w[a|0];if(b>>>0<=3){continue}break e}break}h=Qa[v[i+152>>2]](B(k,36))|0;if(!h){break i}a=v[e>>2];v[a+40>>2]=h;v[a+36>>2]=k;while(1){j=w[f|0];if(j>>>0>3){break e}l=0;s:{t:{u:{if(j>>>0>1){m=0;a=f+1|0;break u}a=w[f+1|0]|w[f+2|0]<<8|(w[f+3|0]<<16|w[f+4|0]<<24);m=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!j){break t}a=f+5|0}n=0;o=0;break s}a=w[f+13|0]|w[f+14|0]<<8|(w[f+15|0]<<16|w[f+16|0]<<24);n=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=w[f+9|0]|w[f+10|0]<<8|(w[f+11|0]<<16|w[f+12|0]<<24);o=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=w[f+5|0]|w[f+6|0]<<8|(w[f+7|0]<<16|w[f+8|0]<<24);l=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=f+17|0}e=a;while(1){b=e;e=b+1|0;if(w[b|0]){continue}break}k=0;v:{if((b-d|0)>(c|0)){e=0;b=g;break v}b=b-a|0;e=g-b|0;if(!e){break d}}if(h){v[h+28>>2]=b;v[h+24>>2]=n;v[h+20>>2]=o;v[h+12>>2]=0;v[h+4>>2]=0;t[h|0]=j;v[h+16>>2]=l;v[h+8>>2]=m;if(b){g=Qa[v[i+152>>2]](b+1|0)|0;v[h+32>>2]=g;if(!g){break a}cb(g,a,b)}k=h+36|0}f=a+b|0;a=0;h=k;g=e;if(g){continue}break}break f}break a}return a|0}ob(i,1050,0,0);return 1050}ob(i,1051,0,0);return 1051}ob(a,1029,0,0);return 1029}ob(i,1,0,0);return 1}function x6(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;i=Ma-16|0;Ma=i;v[a+28>>2]=0;v[a+16>>2]=0;d=v[b+8>>2];a:{b:{c:{if(d&7){break c}d:{e=v[b+64>>2];if((e|0)>=0&(e|0)<=v[b+60>>2]){break d}e=v[b+28>>2];v[b+28>>2]=e-1;e:{if((e|0)>=1){v[b+60>>2]=v[b+60>>2]+1;e=v[b+24>>2];v[b+24>>2]=e+1;e=w[e|0];break e}e=Eb(b,1);if((e|0)==-1){break c}d=v[b+8>>2]}if(d&7){break c}f=v[b+64>>2];if((f|0)>=0&(f|0)<=v[b+60>>2]){break d}f=v[b+28>>2];v[b+28>>2]=f-1;f:{if((f|0)>=1){v[b+60>>2]=v[b+60>>2]+1;f=v[b+24>>2];v[b+24>>2]=f+1;f=w[f|0];break f}f=Eb(b,1);if((f|0)==-1){break c}d=v[b+8>>2]}if(d&7){break c}g=v[b+64>>2];if((g|0)>=0&(g|0)<=v[b+60>>2]){break d}g=v[b+28>>2];v[b+28>>2]=g-1;g:{if((g|0)>=1){v[b+60>>2]=v[b+60>>2]+1;g=v[b+24>>2];v[b+24>>2]=g+1;g=w[g|0];break g}g=Eb(b,1);if((g|0)==-1){break c}d=v[b+8>>2]}if(d&7){break c}h=v[b+64>>2];if((h|0)>=0&(h|0)<=v[b+60>>2]){break d}d=v[b+28>>2];v[b+28>>2]=d-1;h:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;d=w[d|0];break h}d=Eb(b,1);if((d|0)==-1){break c}}d=(e<<16|f<<8|g)<<8|d;v[a+12>>2]=d;d=gb(d);v[a+16>>2]=d;if(!d){break b}d=Hh(b,d,v[a+12>>2]);if((d|0)!=v[a+12>>2]){break c}t[(d+v[a+16>>2]|0)-1|0]=0;d=v[b+8>>2];if(d&7){break c}i:{e=v[b+64>>2];if((e|0)>=0&(e|0)<=v[b+60>>2]){break i}e=v[b+28>>2];v[b+28>>2]=e-1;j:{if((e|0)>=1){v[b+60>>2]=v[b+60>>2]+1;e=v[b+24>>2];v[b+24>>2]=e+1;e=w[e|0];break j}e=Eb(b,1);if((e|0)==-1){break c}d=v[b+8>>2]}if(d&7){break c}f=v[b+64>>2];if((f|0)>=0&(f|0)<=v[b+60>>2]){break i}f=v[b+28>>2];v[b+28>>2]=f-1;k:{if((f|0)>=1){v[b+60>>2]=v[b+60>>2]+1;f=v[b+24>>2];v[b+24>>2]=f+1;f=w[f|0];break k}f=Eb(b,1);if((f|0)==-1){break c}d=v[b+8>>2]}if(d&7){break c}g=v[b+64>>2];if((g|0)>=0&(g|0)<=v[b+60>>2]){break i}g=v[b+28>>2];v[b+28>>2]=g-1;l:{if((g|0)>=1){v[b+60>>2]=v[b+60>>2]+1;g=v[b+24>>2];v[b+24>>2]=g+1;g=w[g|0];break l}g=Eb(b,1);if((g|0)==-1){break c}d=v[b+8>>2]}if(d&7){break c}h=v[b+64>>2];if((h|0)>=0&(h|0)<=v[b+60>>2]){break i}d=v[b+28>>2];v[b+28>>2]=d-1;m:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;d=w[d|0];break m}d=Eb(b,1);if((d|0)==-1){break c}}v[a+20>>2]=(e<<16|f<<8|g)<<8|d;d=v[b+8>>2];if(d&7){break c}n:{e=v[b+64>>2];if((e|0)>=0&(e|0)<=v[b+60>>2]){break n}e=v[b+28>>2];v[b+28>>2]=e-1;o:{if((e|0)>=1){v[b+60>>2]=v[b+60>>2]+1;e=v[b+24>>2];v[b+24>>2]=e+1;e=w[e|0];break o}e=Eb(b,1);if((e|0)==-1){break c}d=v[b+8>>2]}if(d&7){break c}f=v[b+64>>2];if((f|0)>=0&(f|0)<=v[b+60>>2]){break n}f=v[b+28>>2];v[b+28>>2]=f-1;p:{if((f|0)>=1){v[b+60>>2]=v[b+60>>2]+1;f=v[b+24>>2];v[b+24>>2]=f+1;f=w[f|0];break p}f=Eb(b,1);if((f|0)==-1){break c}d=v[b+8>>2]}if(d&7){break c}g=v[b+64>>2];if((g|0)>=0&(g|0)<=v[b+60>>2]){break n}g=v[b+28>>2];v[b+28>>2]=g-1;q:{if((g|0)>=1){v[b+60>>2]=v[b+60>>2]+1;g=v[b+24>>2];v[b+24>>2]=g+1;g=w[g|0];break q}g=Eb(b,1);if((g|0)==-1){break c}d=v[b+8>>2]}if(d&7){break c}h=v[b+64>>2];if((h|0)>=0&(h|0)<=v[b+60>>2]){break n}d=v[b+28>>2];v[b+28>>2]=d-1;r:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;d=w[d|0];break r}d=Eb(b,1);if((d|0)==-1){break c}}d=(e<<16|f<<8|g)<<8|d;v[a+24>>2]=d;d=gb(d<<1);v[a+28>>2]=d;if(!d){break c}if((Hh(b,d,v[a+24>>2]<<1)|0)!=v[a+24>>2]<<1){break c}if(qh(b,2,i+8|0)){break c}v[a+32>>2]=v[i+8>>2];d=v[b+8>>2];if(d&7){break c}e=v[b+64>>2];if(!((e|0)<0|(e|0)>v[b+60>>2])){v[b+8>>2]=d|4;break c}d=v[b+28>>2];v[b+28>>2]=d-1;s:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;d=w[d|0];break s}d=Eb(b,1);if((d|0)==-1){break c}}t[a+36|0]=d;if((Hh(b,a+37|0,67)|0)!=67){break c}e=zb(v[a+16>>2]);v[a+12>>2]=e+1;d=-1;e=(e+(v[a+24>>2]<<1)|0)+83|0;if((e|0)>(c|0)){break a}d=0;if((c|0)<=(e|0)){break a}f=b;b=c-e|0;if((Xt(f,b)|0)==(b|0)){break a}break c}v[b+8>>2]=d|4;break c}v[b+8>>2]=d|4;break c}v[b+8>>2]=d|4}b=v[a+16>>2];if(!b){break b}$a(b)}d=-1;a=v[a+28>>2];if(!a){break a}$a(a)}Ma=i+16|0;return d|0}function fS(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=Ma-96|0;Ma=e;a:{b:{c:{if(w[b+89|0]){d=v[c>>2];if(!(v[d+8>>2]?d:0)){$r(a,b,-1,0);break a}f=zg(e+56|0);d=e+16|0;Ou(d,b,c);Rf(f,d);v[e+40>>2]=969432;v[e+16>>2]=969400;d=v[e+44>>2];if(d){g=v[d+4>>2]-1|0;v[d+4>>2]=g;if(!g){Qa[v[v[d>>2]+4>>2]](d)}v[e+44>>2]=0}v[e+32>>2]=969432;d=v[e+36>>2];if(d){g=v[d+4>>2]-1|0;v[d+4>>2]=g;if(!g){Qa[v[v[d>>2]+4>>2]](d)}v[e+36>>2]=0}db(e+24|0);d=v[f+8>>2];d:{if(!d|!v[d+8>>2]){break d}Sf(e+16|0,f);d=v[e+16>>2];if(!d){db(e+16|0);break d}d=v[d+8>>2];db(e+16|0);if(d){break c}}h=Ma-16|0;Ma=h;g=c;c=v[c>>2];d=0;e:{if(!c){break e}Qa[v[v[c>>2]+44>>2]](c,0,h+8|0,10)|0;i=v[h+8>>2];d=1;if((i|0)<0){break e}f:{g:{j=v[g>>2];c=v[j+8>>2];if((i|0)>=(c|0)){break g}d=c;c=v[j+12>>2];l=d+c|0;c=c+i|0;h:{while(1){i:{d=c;if(!w[c|0]){break i}v[h+12>>2]=d;i=Qa[v[v[j>>2]+60>>2]](j,h+12|0)|0;c=v[h+12>>2];if((d|0)==(c|0)){break i}j:{if(i>>>0>255){break j}k=i<<24;k=(k|0)<-16777216?i:k>>24;if((k|0)==32|k-9>>>0<5){break j}switch(i-10|0){case 0:case 3:break j;default:break i}}if(c>>>0>>0){continue}break h}break}c=d}c=c-v[j+12>>2]|0;j=v[g>>2];if(j){break g}d=0;break f}d=v[j+8>>2]}d=(c|0)==(d|0)}Ma=h+16|0;if(d){break c}if(v[b+92>>2]&24){v[a>>2]=0;qb(a,0);break b}c=e+16|0;gF(c,b,g);Rf(f,c);v[e+40>>2]=969432;v[e+16>>2]=969400;c=v[e+44>>2];if(c){d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(!d){Qa[v[v[c>>2]+4>>2]](c)}v[e+44>>2]=0}v[e+32>>2]=969432;c=v[e+36>>2];if(c){d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(!d){Qa[v[v[c>>2]+4>>2]](c)}v[e+36>>2]=0}db(e+24|0);d=v[b+136>>2];if(d){while(1){c=v[d+8>>2];k:{if(c){v[c+4>>2]=v[c+4>>2]+1;c=v[d+8>>2];if(ff(c+24|0,f)){b=v[c+60>>2];if(b){v[b+4>>2]=v[b+4>>2]+1;b=v[c+60>>2]}else{b=0}v[a>>2]=b;a=v[c+4>>2]-1|0;v[c+4>>2]=a;if(a){break b}a=v[c+4>>2];if(!a){v[c+4>>2]=-32767}if(!a){Qa[v[v[c>>2]+4>>2]](c)}break b}if(!c){break k}h=v[c+4>>2]-1|0;v[c+4>>2]=h;if(h){break k}h=v[c+4>>2];if(!h){v[c+4>>2]=-32767}if(!h){Qa[v[v[c>>2]+4>>2]](c)}break k}ff(24,f)}d=v[d>>2];if(d){continue}break}}c=ab(68);v[e+8>>2]=0;d=e+8|0;qb(d,0);c=gS(c,0,g,0,f,d);v[e+16>>2]=0;qb(e+16|0,c);c=v[e+8>>2];v[e+8>>2]=0;l:{if(!c){break l}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break l}d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}}c=ab(12);v[c>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;d=c;g=v[e+16>>2];if(g){v[g+4>>2]=v[g+4>>2]+1;g=v[e+16>>2]}else{g=0}v[d+8>>2]=g;de(b+128|0,c);v[e>>2]=0;qb(e,b);ZE(e+8|0,f,e,v[b+84>>2],w[b+88|0]);b=v[e>>2];v[e>>2]=0;m:{if(!b){break m}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break m}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}jb(v[e+16>>2]+60|0,e+8|0);b=v[e+8>>2];n:{if(!b){v[a>>2]=0;break n}v[b+4>>2]=v[b+4>>2]+1;b=a;a=v[e+8>>2];v[b>>2]=a;v[e+8>>2]=0;if(!a){break n}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break n}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}a=v[e+16>>2];v[e+16>>2]=0;if(!a){break b}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break b}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}break b}lb(mb(e+56|0,231515,240864,286,226712));L()}c=Ma-32|0;Ma=c;o:{if(w[b+89|0]){p:{q:{d=v[f+8>>2];r:{if(!d|!v[d+8>>2]){break r}Sf(c+8|0,f);d=v[c+8>>2];if(!d){db(c+8|0);break r}d=v[d+8>>2];db(c+8|0);if(d){break q}}v[a>>2]=0;qb(a,0);break p}Qa[v[v[b>>2]+84>>2]](c+8|0,b,f,0);d=v[c+8>>2];if(d){jo(Mf(),v[c+8>>2],b);d=v[c+8>>2]}if(!d){v[a>>2]=0;break p}v[d+4>>2]=v[d+4>>2]+1;b=a;a=v[c+8>>2];v[b>>2]=a;v[c+8>>2]=0;if(!a){break p}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break p}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=c+32|0;break o}lb(mb(c+8|0,231515,240864,286,226712));L()}}v[f+24>>2]=969432;v[f>>2]=969400;a=v[f+28>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Qa[v[v[a>>2]+4>>2]](a)}v[f+28>>2]=0}v[f+16>>2]=969432;a=v[f+20>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Qa[v[v[a>>2]+4>>2]](a)}v[f+20>>2]=0}db(f+8|0)}Ma=e+96|0}function Bxa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;h=Ma-16|0;Ma=h;a:{if(!a|!(c|d)|(!(v[a+276>>2]?1:v[a+104>>2])|!v[a+12>>2])){break a}if(!v[a+8>>2]){break a}f=v[a>>2];if(!f){break a}f=v[f+16>>2];if(!f){break a}f=Qa[f|0](v[a+4>>2],c,d)|0;if(!f){break a}eA(v[a+8>>2],b,c,d);o=v[a+24>>2];b=0;v[a+24>>2]=0;i=v[a+256>>2];j=v[a+48>>2];k=v[a+44>>2];l=v[a+40>>2];m=v[a+36>>2];e=Qa[v[256552]](20)|0;v[a+48>>2]=e;b:{if(!e){v[a+84>>2]=2;c=v[a>>2];if(!(!c|v[c+108>>2]!=-554844497)){b=v[c+124>>2]}c=v[a+108>>2];d=v[a+112>>2];v[h+4>>2]=0;v[h>>2]=338368;nb(b,d,c,a,0,1,2,2,338368,0,0,0,233218,h);v[a+212>>2]=1;v[a+172>>2]=-1;v[a+84>>2]=2;v[a+256>>2]=i;v[a+48>>2]=j;v[a+44>>2]=k;v[a+40>>2]=l;v[a+36>>2]=m;break b}v[a+44>>2]=5;v[a+36>>2]=0;v[a+40>>2]=0;Ls(a,f);b=v[a+36>>2];if(v[b+24>>2]>=4){xq(a,zq(v[b+16>>2],4))}if(!v[f+4>>2]){q=f,r=dA(d),v[q+4>>2]=r}v[f+28>>2]=1;v[f+32>>2]=1;b=v[v[a+36>>2]+16>>2];v[f+40>>2]=0;v[f+16>>2]=b;v[f+12>>2]=b;g=Ma-48|0;Ma=g;Av(a);c:{if(v[a+292>>2]){break c}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break c}oc(a)}d:{if(v[a+24>>2]){break d}f=v[a+36>>2];b=v[f+16>>2];if((v[f+20>>2]-b|0)<4){break d}t[g+44|0]=w[b|0];t[g+45|0]=w[b+1|0];t[g+46|0]=w[b+2|0];t[g+47|0]=w[b+3|0];b=zq(g+44|0,4);if(!b){break d}xq(a,b)}e:{f:{b=v[v[a+36>>2]+16>>2];if(w[b|0]!=60|w[b+1|0]!=63|(w[b+2|0]!=120|w[b+3|0]!=109)){break f}if(w[b+4|0]!=108){break f}Cv(a);if(v[a+84>>2]!=32){break f}sl(a);break e}e=v[a+8>>2];if(!e){e=Go(326168);v[a+8>>2]=e;if(!e){Yc(a,290916);break e}v[e+92>>2]=64}if(!v[e+44>>2]){$X(e,0,c,d)}v[a+96>>2]=1;v[a+172>>2]=3;d=v[a+36>>2];g:{while(1){h:{i:{c=v[d+16>>2];e=w[c|0];switch(e-9|0){case 0:case 1:case 4:case 23:case 28:break h;case 51:break i;default:break g}}b=w[c+1|0];if((b|0)==63){break h}if((b|0)!=33){break g}}p=v[d+36>>2];j:{if(v[a+292>>2]){b=c;break j}b=c;if((v[d+20>>2]-b|0)>249){break j}oc(a);b=v[v[a+36>>2]+16>>2];e=w[b|0]}k:{l:{m:{d=e&255;n:{if((d|0)==32){break n}if((d|0)==60){if(w[b+1|0]!=33|w[b+2|0]!=91){break l}kH(a);break k}if((e-9&255)>>>0<2){break n}if((d|0)==37){break m}if((d|0)!=13){break l}}Bc(a);break k}Jz(a);break k}lH(a)}d=v[a+36>>2];b=v[d+16>>2];o:{if(w[b|0]){break o}e=v[a+40>>2];if((e|0)<=1){break o}while(1){p:{q:{r:{if(!v[291060]){b=e-1|0;v[a+40>>2]=b;d=v[a+48>>2];break r}v[g+32>>2]=e;d=0;Qa[v[256654]](v[291043],344907,g+32|0);e=v[a+40>>2];if((e|0)<1){break p}b=e-1|0;v[a+40>>2]=b;d=v[a+48>>2];n=0;f=0;if((e|0)==1){break q}}n=v[((e<<2)+d|0)-8>>2];f=b}v[a+36>>2]=n;b=(f<<2)+d|0;d=v[b>>2];v[b>>2]=0}Vh(d);b=v[a+36>>2];s:{if(w[v[b+16>>2]]){break s}if((Zb(b)|0)>=1){break s}e=v[a+40>>2];if((e|0)>=2){continue}}d=v[a+36>>2];b=v[d+16>>2];if(w[b|0]){break o}e=v[a+40>>2];if((e|0)>1){continue}break}}if((b|0)!=(c|0)|v[d+36>>2]!=(p|0)){continue}break}if(v[a+172>>2]==-1?v[a+212>>2]:0){break g}v[a+84>>2]=60;v[g+16>>2]=233003;nb(0,0,0,a,0,1,60,3,0,0,0,0,340716,g+16|0);v[a+12>>2]=0;if(v[a+288>>2]){break g}v[a+212>>2]=1}if(!w[v[v[a+36>>2]+16>>2]]|(v[a+172>>2]==-1?v[a+212>>2]:0)){break e}v[a+84>>2]=60;v[g>>2]=233003;nb(0,0,0,a,0,1,60,3,0,0,0,0,340716,g);v[a+12>>2]=0;if(v[a+288>>2]){break e}v[a+212>>2]=1}Ma=g+48|0;if(v[a+40>>2]>=2){while(1){xc(a);if(v[a+40>>2]>1){continue}break}}b=v[a+36>>2];if(b){c=v[b+4>>2];if(c){Qa[v[256556]](c)}c=v[b+8>>2];if(c){Qa[v[256556]](c)}c=v[b+44>>2];if(c){Qa[v[256556]](c)}c=v[b+48>>2];if(c){Qa[v[256556]](c)}c=v[b+40>>2];t:{if(!c){break t}d=v[b+12>>2];if(!d){break t}Qa[c|0](d)}c=v[b>>2];if(c){um(c)}Qa[v[256556]](b)}Qa[v[256556]](v[a+48>>2]);v[a+256>>2]=i;v[a+48>>2]=j;v[a+44>>2]=k;v[a+40>>2]=l;v[a+36>>2]=m;c=v[a+24>>2];if(!c){break b}b=v[a+296>>2];if(b){while(1){d=v[b+16>>2];if(d){while(1){if(c>>>0<=y[d+4>>2]&c>>>0>=d+20>>>0){break b}d=v[d>>2];if(d){continue}break}}b=v[b+20>>2];if(b){continue}break}}Qa[v[256556]](c)}v[a+24>>2]=o}Ma=h+16|0}function u3a(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,p=0,q=0,r=0,s=0;f=Ma+-64|0;Ma=f;if(c){Nb(4155,0)}a:{b:{c:{d:{e:{c=v[a+28>>2];switch((c>>8)-3|0){case 0:break d;case 1:break e;default:break c}}if((c|0)!=1025){Nb(8424,0)}v[f+8>>2]=3;d=Pj(a,0);v[f+12>>2]=d;f:{if((d|0)<0){break f}g=1;c=Pj(a,1);v[f+16>>2]=c;if((c|0)<0){break f}c=Pj(a,2);v[f+20>>2]=c;if((c|0)<=-1){break f}k=3;break b}Nb(12072,0);c=-1;break a}if((c|0)!=769){Nb(8424,0)}l=1;v[f+8>>2]=1;d=Pj(a,0);v[f+12>>2]=d;c=-1;k=1;if((d|0)>-1){break b}Nb(12072,0);break a}Nb(14849,0);c=-1;break a}g:{i=v[a+24>>2];c=v[i+(d<<2)>>2];d=v[c+24>>2];if((d|0)!=v[c+24>>2]|v[c+28>>2]|(v[c>>2]|v[c+4>>2])){break g}e=v[c+20>>2];h=v[c+16>>2];h:{i:{j:{if(!l){c=v[i+(v[f+16>>2]<<2)>>2];if((h|0)==v[c+16>>2]){break j}break g}if(!g){break h}break i}if((e|0)!=v[c+20>>2]|v[c+24>>2]!=(d|0)|(v[c+28>>2]|v[c>>2])){break g}if(v[c+4>>2]){break g}c=v[i+(v[f+20>>2]<<2)>>2];if((h|0)!=v[c+16>>2]|(e|0)!=v[c+20>>2]|(v[c+28>>2]|v[c+24>>2]!=(d|0))){break g}if(!g|(v[c>>2]|v[c+4>>2])){break g}}c=-1;if((d|0)!=8|v[v[i+(v[f+16>>2]<<2)>>2]+24>>2]!=8){break a}d=24;if(v[v[i+(v[f+20>>2]<<2)>>2]+24>>2]!=8){break a}}v[f+60>>2]=0;v[f+52>>2]=1;v[f+56>>2]=0;v[f+32>>2]=1504078485;v[f+36>>2]=h;v[f+44>>2]=d;v[f+40>>2]=e;g=B(e,(B(d,h)+15|0)/16|0)<<1;v[f+48>>2]=g;c=-1;if(op(b,1504078485)){break a}if(op(b,h)){break a}if(op(b,e)){break a}if(op(b,d)){break a}if(op(b,g)){break a}if(op(b,1)){break a}if(op(b,0)){break a}if(op(b,0)){break a}c=a;p=f+8|4;a=0;l=0;i=Ma-16|0;Ma=i;e=-1;k:{if(v[f+52>>2]!=1){break k}if(k){l:{while(1){m:{d=Oj(v[c+12>>2]-v[c+4>>2]|0,v[c+8>>2]-v[c>>2]|0);v[(i+4|0)+(a<<2)>>2]=d;if(!d){break m}a=a+1|0;if((k|0)!=(a|0)){continue}break l}break}O(18864,20952,235,188612);L()}n=v[i+12>>2];o=v[i+8>>2];l=v[i+4>>2]}d=v[f+40>>2];a=B(v[f+44>>2],v[f+36>>2]);v[f+48>>2]=B(d,(a+15|0)/16|0)<<1;a=(a+7|0)/-8|0;n:{if((d|0)<1){break n}q=a&1;o:{while(1){a=0;if(k){while(1){d=a<<2;pk(c,v[d+p>>2],0,m,v[c+8>>2]-v[c>>2]|0,1,v[d+(i+4|0)>>2]);a=a+1|0;if((k|0)!=(a|0)){continue}break}}h=0;a=0;g=0;p:{e=v[f+36>>2];q:{if((e|0)<=0){break q}while(1){d=v[f+44>>2];r=g<>2];j=v[o+28>>2];if(v[l+20>>2]==1){g=v[g>>2]+(h<<2)|0}else{g=v[g+(h<<2)>>2]}s=w[g|0];if(v[o+20>>2]==1){g=v[j>>2]+(h<<2)|0}else{g=v[j+(h<<2)>>2]}j=v[n+28>>2];if(v[n+20>>2]==1){j=v[j>>2]+(h<<2)|0}else{j=v[j+(h<<2)>>2]}g=v[j>>2]<<16&16711680|(v[g>>2]<<8&65280|s);break r;default:break s}}g=v[l+28>>2];if(v[l+20>>2]==1){g=v[g>>2]+(h<<2)|0}else{g=v[g+(h<<2)>>2]}g=v[g>>2]}g=r|g&((d|0)==32?-1:-1<=8){while(1){d=v[b+8>>2];if(d&7){break o}e=v[b+64>>2];if((e|0)>=0&(e|0)<=v[b+60>>2]){break p}d=a-8|0;j=g>>>d|0;v[b+4>>2]=v[b+4>>2]|32;e=v[b+28>>2];v[b+28>>2]=e-1;t:{if((e|0)>=1){v[b+60>>2]=v[b+60>>2]+1;e=v[b+24>>2];v[b+24>>2]=e+1;t[e|0]=j;break t}e=-1;if((Cb(b,j&255)|0)==-1){break k}}g=((d|0)==32?-1:-1<15;a=d;if(e){continue}break}e=v[f+36>>2]}h=h+1|0;if((h|0)<(e|0)){continue}break}if((a|0)<1){break q}e=-1;d=v[b+8>>2];if(d&7){break k}e=v[b+64>>2];if((e|0)>=0&(e|0)<=v[b+60>>2]){break p}a=(-1<>>8-a;v[b+4>>2]=v[b+4>>2]|32;d=v[b+28>>2];v[b+28>>2]=d-1;if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;t[d|0]=a;break q}e=-1;if((Cb(b,a&255)|0)==-1){break k}}u:{if(!q){break u}d=v[b+8>>2];if(d&7){break o}a=v[b+64>>2];if((a|0)>=0&(a|0)<=v[b+60>>2]){break p}v[b+4>>2]=v[b+4>>2]|32;a=v[b+28>>2];v[b+28>>2]=a-1;if((a|0)>=1){v[b+60>>2]=v[b+60>>2]+1;a=v[b+24>>2];v[b+24>>2]=a+1;t[a|0]=0;break u}e=-1;if((Cb(b,0)|0)==-1){break k}}m=m+1|0;if((m|0)>2]){continue}break n}break}v[b+8>>2]=d|4}e=-1;break k}e=0;if(!k){break k}a=0;while(1){ve(v[(i+4|0)+(a<<2)>>2]);a=a+1|0;if((k|0)!=(a|0)){continue}break}}Ma=i+16|0;c=e?-1:0;break a}Nb(17436,0);c=-1}Ma=f- -64|0;return c|0}function HE(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,y=0;s=Ma-32|0;Ma=s;a:{b:{if((e|0)==1){m=Ma-32|0;Ma=m;c:{e=a;d:{if(x[a+10>>1]<=(c|0)|x[a+8>>1]<=(d|0)|(x[b+10>>1]+c|0)<0){break d}i=x[b+8>>1];if((i+d|0)<0){break d}a=v[b+20>>2];if(a){j=v[e+24>>2];e:{if(j|v[e+20>>2]){break e}f=v[e+36>>2];if(!f){j=0;break e}qi(e,f);i=x[b+8>>1];j=v[e+24>>2];a=v[b+20>>2]}if(!(i&65535)){break d}h=x[e+14>>1];j=((x[e+12>>1]+j|0)+B(h,d)|0)+c|0;f=0-c|0;g=(f|0)>0?f:0;q=g^-1;f=x[b+12>>1]+a|0;while(1){a=d+l|0;f:{if((a|0)<0|(a|0)>=x[e+8>>1]){break f}a=x[b+10>>1];k=x[e+10>>1]-c|0;k=(a|0)<(k|0)?a:k;if((k|0)<=(g|0)){break f}a=g;i=k-a&3;if(i){while(1){h=a+j|0;t[h|0]=w[h|0]+w[a+f|0];a=a+1|0;i=i-1|0;if(i){continue}break}}if(k+q>>>0>=3){while(1){h=a+j|0;t[h|0]=w[h|0]+w[a+f|0];h=a+1|0;i=h+j|0;t[i|0]=w[i|0]+w[f+h|0];h=a+2|0;i=h+j|0;t[i|0]=w[i|0]+w[f+h|0];h=a+3|0;i=h+j|0;t[i|0]=w[i|0]+w[f+h|0];a=a+4|0;if((k|0)!=(a|0)){continue}break}}i=x[b+8>>1];h=x[e+14>>1]}j=(h&65535)+j|0;f=x[b+14>>1]+f|0;l=l+1|0;if(l>>>0<(i&65535)>>>0){continue}break}break d}h=v[b+36>>2];if(!h){break d}a=v[e+24>>2];g:{if(a|v[e+20>>2]){break g}a=v[e+36>>2];if(!a){a=0;break g}qi(e,a);i=x[b+8>>1];a=v[e+24>>2];h=v[b+36>>2]}if(!i){break d}k=0-c|0;g=x[e+12>>1]+a|0;a=x[e+14>>1];j=i-1|0;i=((g+B(a,d)|0)+c|0)+B(a,j)|0;while(1){a=w[h|0];if(a>>>0<192){h=h+1|0}else{a=w[h+1|0]|a<<8&16128;h=h+2|0}q=x[b+10>>1];g=a+f|0;if((q|0)<(g|0)){break c}h:{if(!(l&255)){break h}a=d+j|0;if((a|0)<0|(a|0)>=x[e+8>>1]){break h}a=(c+f|0)<0?(g|0)>(k|0)?k:g:f;if((g|0)<=(a|0)){break h}while(1){if(x[e+10>>1]>(a+c|0)){f=a+i|0;t[f|0]=w[f|0]+1;a=a+1|0;if((g|0)!=(a|0)){continue}}break}q=x[b+10>>1]}i:{if((g|0)<(q|0)){l=1-l|0;break i}j=j-1|0;i=i-x[e+14>>1]|0;l=0;g=0}f=g;if((j|0)>-1){continue}break}}Ma=m+32|0;break b}lb(mb(m+8|0,292383,241375,601,328512));L()}if((B(x[a+10>>1],e)|0)<=(c|0)|(B(x[a+8>>1],e)|0)<=(d|0)|(x[b+10>>1]+c|0)<0){break b}n=x[b+8>>1];if((n+d|0)<0){break b}g=v[b+20>>2];if(g){o=v[a+24>>2];j:{if(o|v[a+20>>2]){break j}f=v[a+36>>2];if(!f){o=0;break j}qi(a,f);n=x[b+8>>1];o=v[a+24>>2];g=v[b+20>>2]}if(!(n&65535)){break b}f=(c|0)/(e|0)|0;h=c-B(f,e)|0;c=h>>31;f=c+f|0;h=h+(c&e)|0;c=d;d=(d|0)/(e|0)|0;m=c-B(d,e)|0;c=m>>31;k=x[a+14>>1];r=c+d|0;o=(x[a+12>>1]+o|0)+B(k,r)|0;l=x[b+12>>1]+g|0;j=m+(c&e)|0;while(1){k:{if((r|0)<0|x[a+8>>1]<=(r|0)){break k}g=0;d=h;c=f;m=x[b+10>>1];if(!m){break k}while(1){if(!((c|0)<0|x[a+10>>1]<=(c|0))){k=c+o|0;t[k|0]=w[k|0]+w[g+l|0];m=x[b+10>>1]}k=d+1|0;d=(e|0)>(k|0)?k:0;c=((e|0)<=(k|0))+c|0;g=g+1|0;if(m>>>0>g>>>0){continue}break}n=x[b+8>>1];k=x[a+14>>1]}c=j+1|0;d=(c|0)<(e|0);j=d?c:0;o=(d?0:k)+o|0;l=x[b+14>>1]+l|0;r=((c|0)>=(e|0))+r|0;i=i+1|0;if(i>>>0<(n&65535)>>>0){continue}break}break b}l=v[b+36>>2];if(!l){break b}g=v[a+24>>2];l:{if(g|v[a+20>>2]){break l}f=v[a+36>>2];if(!f){g=0;break l}qi(a,f);n=x[b+8>>1];g=v[a+24>>2];l=v[b+36>>2]}i=n-1|0;if(!n){break b}k=e-1|0;d=d+i|0;f=(d|0)/(e|0)|0;m=f;d=d-B(e,f)|0;f=d>>31;n=m+f|0;r=(x[a+12>>1]+g|0)+B(n,x[a+14>>1])|0;f=d+(e&f)|0;d=c;c=(c|0)/(e|0)|0;d=d-B(c,e)|0;q=d>>31;m=(q&e)+d|0;g=m;q=c+q|0;d=q;while(1){c=w[l|0];if(c>>>0<192){l=l+1|0}else{c=w[l+1|0]|c<<8&16128;l=l+2|0}j=x[b+10>>1];o=c+o|0;if((j|0)<(o|0)){break a}m:{if((n|0)<0|x[a+8>>1]<=(n|0)|(c|0)<1){break m}if(!(h&255)){y=x[a+10>>1];while(1){if((d|0)>=(y|0)){break m}p=g;g=e-g|0;u=(c|0)<(g|0)?c:g;p=p+u|0;g=(e|0)>(p|0)?p:0;d=((e|0)<=(p|0))+d|0;c=c-u|0;if((c|0)>0){continue}break}break m}while(1){if(x[a+10>>1]>(d|0)){j=e-g|0;j=(c|0)<(j|0)?c:j;if((d|0)>=0){p=d+r|0;t[p|0]=j+w[p|0]}p=g+j|0;g=(e|0)>(p|0)?p:0;d=((e|0)<=(p|0))+d|0;c=c-j|0;if((c|0)>0){continue}}break}j=x[b+10>>1]}if((j|0)>(o|0)){h=1-h|0}else{i=i-1|0;o=0;if((f|0)>0){f=f-1|0}else{n=n-1|0;r=r-x[a+14>>1]|0;f=k}d=q;g=m;h=0}if((i|0)>-1){continue}break}}Ma=s+32|0;return}lb(mb(s+8|0,292383,241375,702,328112));L()}function D4(a){var 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,u=0,y=0,z=0,A=0,C=0;o=Ma-992|0;Ma=o;if(v[a+4>>2]){j=v[a+20>>2];h=v[a+16>>2];e=Ge(o+16|0,0);gh(e,a);Cf(e,j,h,x[a+26>>1],v[a+68>>2]);b=v[a+4>>2];On(e,b?v[a+44>>2]?b+40|0:0:0,256);if(v[a+964>>2]){Fi(e)}if(v[a+960>>2]){g5(e)}a:{if(x[a+26>>1]!=1){if((j|0)<1|(h|0)<1){break a}r=64;while(1){f=d- -64|0;A=(f|0)>(j|0)?j:f;y=(A|0)<=(d|0);g=C<<6;b=g- -64|0;k=(b|0)>(j|0)?j:b;m=k&1;s=(j|0)<(r|0)?j:r;z=d|1;n=g|1;g=0;u=64;while(1){p=g- -64|0;c=(h|0)<(p|0)?h:p;q=(h|0)<(u|0)?h:u;b:{if(x[a+26>>1]==24){b=g;if((c|0)<=(b|0)){break b}while(1){v[a+328>>2]=(B(b,100)|0)/(h|0);c=d;l=b;b=v[e+44>>2]?0:(v[e+56>>2]+B(b,v[e+52>>2])|0)+B(c,3)|0;c=(l^-1)+h|0;c=v[a+44>>2]?0:(v[a+56>>2]+B(v[a+52>>2],d)|0)+B(c,3)|0;c:{if(y){break c}if(m){t[b|0]=w[c|0];t[b+1|0]=w[c+1|0];t[b+2|0]=w[c+2|0];b=b+3|0;c=v[a+52>>2]+c|0;i=z}else{i=d}if((k|0)==(n|0)){break c}while(1){t[b|0]=w[c|0];t[b+1|0]=w[c+1|0];t[b+2|0]=w[c+2|0];c=v[a+52>>2]+c|0;t[b+3|0]=w[c|0];t[b+4|0]=w[c+1|0];t[b+5|0]=w[c+2|0];b=b+6|0;c=c+v[a+52>>2]|0;i=i+2|0;if((s|0)!=(i|0)){continue}break}}b=l+1|0;if((q|0)!=(b|0)){continue}break}break b}if((c|0)<=(g|0)){break b}c=g;if((d|0)>=(A|0)){v[a+328>>2]=(B(q,100)-100|0)/(h|0);break b}while(1){v[a+328>>2]=(B(c,100)|0)/(h|0);i=(c^-1)+h|0;b=d;while(1){Pn(e,b,c,qp(a,i,b));b=b+1|0;if((s|0)!=(b|0)){continue}break}c=c+1|0;if((q|0)!=(c|0)){continue}break}}d:{if(!v[a+964>>2]){break d}c=g;b=c- -64|0;if((c|0)>=(((b|0)>(h|0)?h:b)|0)|y){break d}while(1){i=(c^-1)+h|0;b=d;while(1){ah(e,b,c,w[v[a+964>>2]+(i+B(v[a+16>>2],b)|0)|0]);b=b+1|0;if((s|0)!=(b|0)){continue}break}c=c+1|0;if((q|0)!=(c|0)){continue}break}}u=u- -64|0;l=h;if(v[a+960>>2]){v[e+372>>2]=v[a+384>>2];v[e+380>>2]=v[a+376>>2];v[e+384>>2]=h-v[a+380>>2];v[e+376>>2]=h-v[a+372>>2];c=g- -64|0;if(!((((c|0)>(h|0)?h:c)|0)<=(g|0)|y)){while(1){i=(g^-1)+h|0;b=d;while(1){nC(e,b,g,w[v[a+960>>2]+(i+B(v[a+16>>2],b)|0)|0]);b=b+1|0;if((s|0)!=(b|0)){continue}break}g=g+1|0;if((q|0)!=(g|0)){continue}break}}}else{c=p}g=c;if((l|0)>(g|0)){continue}break}C=C+1|0;r=r- -64|0;d=f;if((j|0)>(d|0)){continue}break}break a}p=Ud(a,0);k=Ud(e,0);d=v[e+32>>2];ty(e,0);if(v[a+20>>2]>=1){m=(d+k|0)-1|0;while(1){d=(i|0)/8|0;v[o+8>>2]=d;v[o+12>>2]=i-(d<<3);d=v[a+52>>2];if((d|0)>=1){n=128>>>v[o+12>>2]|0;z=p+B(d,i)|0;g=k+v[o+8>>2]|0;b=0;while(1){c=v[e+52>>2];d=g+B(c,v[e+20>>2]+(b<<3^-1)|0)|0;e:{if(d>>>0>>0|d>>>0>m>>>0){break e}l=b+z|0;if(t[l|0]<=-1){t[d|0]=n|w[d|0];c=v[e+52>>2]}f=d-c|0;if(f>>>0>>0|f>>>0>m>>>0){break e}if(w[l|0]&64){t[f|0]=n|w[f|0];c=v[e+52>>2]}f=d-(c<<1)|0;if(f>>>0>>0|f>>>0>m>>>0){break e}if(w[l|0]&32){t[f|0]=n|w[f|0];c=v[e+52>>2]}f=d+B(c,-3)|0;if(f>>>0>>0|f>>>0>m>>>0){break e}if(w[l|0]&16){t[f|0]=n|w[f|0];c=v[e+52>>2]}f=d-(c<<2)|0;if(f>>>0>>0|f>>>0>m>>>0){break e}if(w[l|0]&8){t[f|0]=n|w[f|0];c=v[e+52>>2]}f=d+B(c,-5)|0;if(f>>>0>>0|f>>>0>m>>>0){break e}if(w[l|0]&4){t[f|0]=n|w[f|0];c=v[e+52>>2]}f=d+B(c,-6)|0;if(f>>>0>>0|f>>>0>m>>>0){break e}if(w[l|0]&2){t[f|0]=n|w[f|0];c=v[e+52>>2]}d=B(c,-7)+d|0;if(!(t[l|0]&1)|(d>>>0>>0|d>>>0>m>>>0)){break e}t[d|0]=n|w[d|0]}b=b+1|0;if((b|0)>2]){continue}break}}i=i+1|0;if((i|0)>2]){continue}break}}if(!(!v[a+964>>2]|(h|0)<1|(j|0)<1)){g=0;while(1){d=(g^-1)+h|0;b=0;while(1){ah(e,b,g,w[v[a+964>>2]+(d+B(v[a+16>>2],b)|0)|0]);b=b+1|0;if((j|0)!=(b|0)){continue}break}g=g+1|0;if((h|0)!=(g|0)){continue}break}}if(!v[a+960>>2]){break a}v[e+372>>2]=v[a+384>>2];v[e+380>>2]=v[a+376>>2];v[e+384>>2]=h-v[a+380>>2];v[e+376>>2]=h-v[a+372>>2];if((h|0)<1|(j|0)<1){break a}g=0;while(1){d=(g^-1)+h|0;b=0;while(1){nC(e,b,g,w[v[a+960>>2]+(d+B(v[a+16>>2],b)|0)|0]);b=b+1|0;if((j|0)!=(b|0)){continue}break}g=g+1|0;if((h|0)!=(g|0)){continue}break}}tk(a,e,1);v[e>>2]=1032;Tg(e);Cg(e)}Ma=o+992|0}function oJ(a,b,c){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,p=0,q=0,r=0,s=0,t=0;a:{b:{j=v[a+176>>2];g=v[a+212>>2];f=g>>8;o=c>>8;c:{if((j|0)<=(f|0)&(o|0)>=(j|0)){break c}e=v[a+172>>2];if((e|0)>(f|0)&(e|0)>(o|0)){break c}q=c&255;e=g&255;d=v[a+208>>2];if((f|0)==(o|0)){bB(a,f,d,e,b,q);break c}k=c-g|0;m=b-d|0;if(!m){g=(k|0)>0;m=g<<8;h=m-e|0;i=h+v[a+184>>2]|0;v[a+184>>2]=i;e=1;q=d<<1&510;h=v[a+180>>2]+B(q,h)|0;v[a+180>>2]=h;k=d>>8;l=g?1:-1;g=l+f|0;if(!(v[a+188>>2]|!(h|i))){j=v[a+156>>2];d:{e:{f:{h=v[a+192>>2]+(v[a+160>>2]-v[a+172>>2]<<2)|0;d=v[h>>2];g:{if(!d){d=0;break g}i=v[d>>2];if((j|0)<(i|0)){break g}h:{while(1){f=d;if((j|0)==(i|0)){break f}d=v[f+12>>2];if(d){i=v[d>>2];if((j|0)<(i|0)){break h}continue}break}d=0}h=f+12|0}f=v[a+204>>2];if((f|0)>=v[a+200>>2]){break e}v[a+204>>2]=f+1;f=v[a+196>>2]+(f<<4)|0;v[f>>2]=j;v[f+8>>2]=v[a+180>>2];j=v[a+184>>2];v[f+12>>2]=d;v[f+4>>2]=j;v[h>>2]=f;break d}v[f+8>>2]=v[f+8>>2]+v[a+180>>2];v[f+4>>2]=v[f+4>>2]+v[a+184>>2];break d}tc(a,1);L()}j=v[a+176>>2]}v[a+160>>2]=g;d=v[a+164>>2];f=(d|0)>(k|0)?d-1|0:k;v[a+156>>2]=f;e=v[a+172>>2]>(g|0)|(g|0)>=(j|0)?e:(k|0)>=v[a+168>>2];v[a+188>>2]=e;if((g|0)!=(o|0)){n=(m<<1)-256|0;p=B(n,q);while(1){i:{if(e){break i}j:{h=v[a+192>>2]+(g-v[a+172>>2]<<2)|0;e=v[h>>2];k:{if(!e){e=0;break k}i=v[e>>2];if((f|0)<(i|0)){break k}l:{while(1){d=e;if((f|0)==(i|0)){break j}e=v[d+12>>2];if(e){i=v[e>>2];if((f|0)<(i|0)){break l}continue}break}e=0}h=d+12|0}d=v[a+204>>2];if((d|0)>=v[a+200>>2]){break b}v[a+204>>2]=d+1;d=v[a+196>>2]+(d<<4)|0;v[d+8>>2]=p;v[d>>2]=f;v[d+12>>2]=e;v[d+4>>2]=n;v[h>>2]=d;break i}v[d+8>>2]=p+v[d+8>>2];v[d+4>>2]=n+v[d+4>>2]}g=g+l|0;v[a+160>>2]=g;v[a+156>>2]=f;e=1;e=v[a+172>>2]>(g|0)|(g|0)>=(j|0)?e:(k|0)>=v[a+168>>2];v[a+188>>2]=e;if((g|0)!=(o|0)){continue}break}}e=m+(c|-256)|0;v[a+184>>2]=e;v[a+180>>2]=B(e,q);break c}p=1;g=a;j=f;h=d;i=e;m:{if((k|0)>=1){n=256;e=256-e|0;break m}k=0-k|0;p=-1}l=j;j=d;e=B(e,m);d=(e|0)/(k|0)|0;r=e-B(d,k)|0;s=r>>31;j=(j+d|0)+s|0;bB(g,l,h,i,j,n);n:{if(v[a+188>>2]){break n}i=v[a+180>>2];if(!(v[a+184>>2]?1:i)){break n}g=v[a+156>>2];o:{l=v[a+192>>2]+(v[a+160>>2]-v[a+172>>2]<<2)|0;e=v[l>>2];p:{if(!e){e=0;break p}h=v[e>>2];if((g|0)<(h|0)){break p}q:{while(1){d=e;if((g|0)==(h|0)){break o}e=v[d+12>>2];if(e){h=v[e>>2];if((g|0)<(h|0)){break q}continue}break}e=0}l=d+12|0}d=v[a+204>>2];if((d|0)>=v[a+200>>2]){break a}v[a+204>>2]=d+1;d=v[a+196>>2]+(d<<4)|0;v[d+8>>2]=i;v[d>>2]=g;g=v[a+184>>2];v[d+12>>2]=e;v[d+4>>2]=g;v[l>>2]=d;break n}v[d+8>>2]=i+v[d+8>>2];v[d+4>>2]=v[d+4>>2]+v[a+184>>2]}v[a+180>>2]=0;v[a+184>>2]=0;g=f+p|0;v[a+160>>2]=g;d=v[a+164>>2];e=j>>8;v[a+156>>2]=(d|0)>(e|0)?d-1|0:e;d=1;v[a+188>>2]=v[a+176>>2]<=(g|0)|v[a+172>>2]>(g|0)?d:(e|0)>=v[a+168>>2];r:{if((g|0)==(o|0)){m=256-n|0;break r}e=r+(k&s)|0;f=m<<8;d=(f|0)/(k|0)|0;f=f-B(d,k)|0;h=f>>31;s=(h&k)+f|0;t=d+h|0;m=256-n|0;while(1){d=j;l=e+s|0;j=(j+t|0)+((l|0)>=(k|0))|0;bB(a,g,d,m,j,n);s:{if(v[a+188>>2]){break s}i=v[a+180>>2];if(!(v[a+184>>2]?1:i)){break s}f=v[a+156>>2];t:{r=v[a+192>>2]+(v[a+160>>2]-v[a+172>>2]<<2)|0;e=v[r>>2];u:{if(!e){e=0;break u}h=v[e>>2];if((f|0)<(h|0)){break u}v:{while(1){d=e;if((f|0)==(h|0)){break t}e=v[d+12>>2];if(e){h=v[e>>2];if((f|0)<(h|0)){break v}continue}break}e=0}r=d+12|0}d=v[a+204>>2];if((d|0)>=v[a+200>>2]){break a}v[a+204>>2]=d+1;d=v[a+196>>2]+(d<<4)|0;v[d+8>>2]=i;v[d>>2]=f;f=v[a+184>>2];v[d+12>>2]=e;v[d+4>>2]=f;v[r>>2]=d;break s}v[d+8>>2]=i+v[d+8>>2];v[d+4>>2]=v[d+4>>2]+v[a+184>>2]}d=(k|0)>(l|0)?0:k;v[a+180>>2]=0;v[a+184>>2]=0;g=g+p|0;v[a+160>>2]=g;f=v[a+164>>2];e=j>>8;v[a+156>>2]=(e|0)<(f|0)?f-1|0:e;i=1;i=v[a+176>>2]<=(g|0)|v[a+172>>2]>(g|0)?i:(e|0)>=v[a+168>>2];e=l-d|0;v[a+188>>2]=i;if((g|0)!=(o|0)){continue}break}}bB(a,o,j,m,b,q)}v[a+212>>2]=c;v[a+208>>2]=b;return}v[a+184>>2]=n;v[a+180>>2]=p}tc(a,1);L()}function jY(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;m=-1;a:{if(!a|b>>>0<8){break a}j=v[a+4>>2];if(!j){break a}i=v[a+8>>2];m=0;e=B(b,20);c=Qa[v[256552]](e)|0;v[a+4>>2]=c;if(!c){v[a+4>>2]=j;return-1}eb(c,0,e);v[a+8>>2]=b;b:{if(!i){break b}c:{if((i|0)==128){while(1){e=B(h,20)+j|0;d:{if(!v[e+12>>2]){break d}d=v[e+8>>2];c=v[e+4>>2];l=v[a+8>>2];e:{if((l|0)!=128){b=0;if(!c|(d|0)<1){break e}g=d&3;f=v[a+24>>2];if(d-1>>>0>=3){k=d&-4;while(1){d=B(w[b+c|0]+f|0,1025);d=B(w[c+(b|1)|0]+(d>>>6^d)|0,1025);d=B(w[c+(b|2)|0]+(d>>>6^d)|0,1025);d=B(w[c+(b|3)|0]+(d>>>6^d)|0,1025);f=d>>>6^d;b=b+4|0;k=k-4|0;if(k){continue}break}}if(g){while(1){d=B(w[b+c|0]+f|0,1025);f=d>>>6^d;b=b+1|0;g=g-1|0;if(g){continue}break}}b=B(f,9);b=B(b>>>11^b,32769);break e}if(!c){b=0;break e}b=w[c|0]<<5;f:{g:{h:{i:{j:{k:{l:{m:{n:{if((d|0)<=10){switch(d-2|0){case 0:break f;case 1:break g;case 2:break h;case 3:break i;case 4:break j;case 5:break k;case 6:break l;case 7:break m;case 8:break n;default:break e}}b=w[(c+d|0)-1|0]+b|0}b=w[c+9|0]+b|0}b=w[c+8|0]+b|0}b=w[c+7|0]+b|0}b=w[c+6|0]+b|0}b=w[c+5|0]+b|0}b=w[c+4|0]+b|0}b=w[c+3|0]+b|0}b=w[c+2|0]+b|0}b=w[c+1|0]+b|0}d=B((b>>>0)%(l>>>0)|0,20);c=d+v[a+4>>2]|0;if(v[c+12>>2]){c=Qa[v[256552]](20)|0;if(!c){m=-1;break d}v[c+4>>2]=v[e+4>>2];e=v[e+8>>2];v[c+16>>2]=b;v[c+8>>2]=e;b=d+v[a+4>>2]|0;e=v[b>>2];v[c+12>>2]=1;v[c>>2]=e;v[b>>2]=c;break d}f=v[e+4>>2];v[c>>2]=v[e>>2];v[c+4>>2]=f;v[c+16>>2]=v[e+16>>2];f=v[e+12>>2];v[c+8>>2]=v[e+8>>2];v[c+12>>2]=f;c=d+v[a+4>>2]|0;v[c+16>>2]=b;v[c>>2]=0}h=h+1|0;if((h|0)!=128){continue}break}break c}b=0;while(1){c=B(b,20)+j|0;o:{if(!v[c+12>>2]){break o}d=v[c+16>>2];f=B((d>>>0)%y[a+8>>2]|0,20);e=f+v[a+4>>2]|0;if(!v[e+12>>2]){h=v[c+4>>2];v[e>>2]=v[c>>2];v[e+4>>2]=h;v[e+16>>2]=v[c+16>>2];h=v[c+12>>2];v[e+8>>2]=v[c+8>>2];v[e+12>>2]=h;c=f+v[a+4>>2]|0;v[c+16>>2]=d;v[c>>2]=0;break o}e=Qa[v[256552]](20)|0;if(!e){m=-1;break o}v[e+4>>2]=v[c+4>>2];c=v[c+8>>2];v[e+16>>2]=d;v[e+8>>2]=c;c=f+v[a+4>>2]|0;d=v[c>>2];v[e+12>>2]=1;v[e>>2]=d;v[c>>2]=e}b=b+1|0;if((i|0)!=(b|0)){continue}break}}if(!i){break b}h=0;if((i|0)==128){while(1){c=v[B(h,20)+j>>2];if(c){while(1){i=v[c+8>>2];d=v[c+4>>2];e=v[c>>2];l=v[a+8>>2];p:{if((l|0)!=128){b=0;if(!d|(i|0)<1){break p}g=i&3;f=v[a+24>>2];if(i-1>>>0>=3){k=i&-4;while(1){f=B(w[b+d|0]+f|0,1025);f=B(w[d+(b|1)|0]+(f>>>6^f)|0,1025);f=B(w[d+(b|2)|0]+(f>>>6^f)|0,1025);f=B(w[d+(b|3)|0]+(f>>>6^f)|0,1025);f=f>>>6^f;b=b+4|0;k=k-4|0;if(k){continue}break}}if(g){while(1){f=B(w[b+d|0]+f|0,1025);f=f>>>6^f;b=b+1|0;g=g-1|0;if(g){continue}break}}b=B(f,9);b=B(b>>>11^b,32769);break p}if(!d){b=0;break p}b=w[d|0]<<5;q:{r:{s:{t:{u:{v:{w:{x:{y:{if((i|0)<=10){switch(i-2|0){case 0:break q;case 1:break r;case 2:break s;case 3:break t;case 4:break u;case 5:break v;case 6:break w;case 7:break x;case 8:break y;default:break p}}b=w[(d+i|0)-1|0]+b|0}b=w[d+9|0]+b|0}b=w[d+8|0]+b|0}b=w[d+7|0]+b|0}b=w[d+6|0]+b|0}b=w[d+5|0]+b|0}b=w[d+4|0]+b|0}b=w[d+3|0]+b|0}b=w[d+2|0]+b|0}b=w[d+1|0]+b|0}f=B((b>>>0)%(l>>>0)|0,20);d=f+v[a+4>>2]|0;z:{if(v[d+12>>2]){f=v[d>>2];v[c+16>>2]=b;v[c>>2]=f;v[d>>2]=c;break z}g=v[c+4>>2];v[d>>2]=v[c>>2];v[d+4>>2]=g;v[d+16>>2]=v[c+16>>2];g=v[c+12>>2];v[d+8>>2]=v[c+8>>2];v[d+12>>2]=g;d=f+v[a+4>>2]|0;v[d+12>>2]=1;v[d+16>>2]=b;v[d>>2]=0;Qa[v[256556]](c)}c=e;if(c){continue}break}}h=h+1|0;if((h|0)!=128){continue}break b}}while(1){b=v[B(h,20)+j>>2];if(b){while(1){c=v[b>>2];d=v[b+16>>2];f=B((d>>>0)%y[a+8>>2]|0,20);e=f+v[a+4>>2]|0;A:{if(!v[e+12>>2]){g=v[b+4>>2];v[e>>2]=v[b>>2];v[e+4>>2]=g;v[e+16>>2]=v[b+16>>2];g=v[b+12>>2];v[e+8>>2]=v[b+8>>2];v[e+12>>2]=g;e=f+v[a+4>>2]|0;v[e+12>>2]=1;v[e+16>>2]=d;v[e>>2]=0;Qa[v[256556]](b);break A}f=v[e>>2];v[b+16>>2]=d;v[b>>2]=f;v[e>>2]=b}b=c;if(c){continue}break}}h=h+1|0;if((i|0)!=(h|0)){continue}break}}Qa[v[256556]](j)}return m}function KJ(a,b){var 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,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0;g=Ma+-64|0;Ma=g;v[g+56>>2]=0;v[g+48>>2]=0;v[g+52>>2]=0;c=w[b+11|0];h=c<<24>>24<0;a:{b:{c:{c=h?v[b+4>>2]:c;e=c+19|0;if(e>>>0<1073741808){n=v[b>>2];d:{e:{if(e>>>0<=1){t[g+59|0]=c;e=g+48|0;break e}f=c+23&-4;e=ab(f<<2);v[g+56>>2]=f|-2147483648;v[g+48>>2]=e;v[g+52>>2]=c;if(!c){break d}}rb(e,h?n:b,c)}v[(c<<2)+e>>2]=0;e=g+48|0;bd(e,361544,19);c=g+32|0;v[c+12>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;v[c>>2]=520704;n=c;r=Ik(c,e,0);if(!r){break a}p=v[n+12>>2];v[g+28>>2]=0;o=ab(p);Ys(n,o,p,g+28|0);s=v[o>>2];c=o+4|0;v[g+24>>2]=c;if((s|0)<=0){break b}while(1){f:{if(t[b+11|0]>=0){v[g+16>>2]=v[b+8>>2];c=v[b+4>>2];v[g+8>>2]=v[b>>2];v[g+12>>2]=c;break f}vc(g+8|0,v[b>>2],v[b+4>>2])}A=g+8|0;h=0;e=0;d=Ma-80|0;Ma=d;f=v[g+24>>2];c=v[f>>2];f=f+4|0;v[g+24>>2]=f;Zg(d- -64|0,f,c);c=c+v[g+24>>2]|0;f=v[c>>2];v[d+56>>2]=0;v[d+48>>2]=0;v[d+52>>2]=0;c=c+4|0;if((f|0)>0){while(1){i=v[c>>2];c=c+4|0;v[g+24>>2]=c;Zg(d+32|0,c,i);v[g+24>>2]=i+v[g+24>>2];c=v[d+52>>2];g:{if(c>>>0>2]){i=v[d+36>>2];v[c>>2]=v[d+32>>2];v[c+4>>2]=i;v[c+8>>2]=v[d+40>>2];v[d+52>>2]=c+12;break g}Kg(d+48|0,d+32|0);if(t[d+43|0]>-1){break g}$a(v[d+32>>2])}c=v[g+24>>2];h=h+1|0;if((f|0)!=(h|0)){continue}break}}f=v[c>>2];c=c+4|0;v[g+24>>2]=c;h=d+32|0;Zg(h,c,f);v[g+24>>2]=f+v[g+24>>2];t[d+27|0]=1;c=d+16|0;rb(c,361304,1);v[d+20>>2]=0;t[d+11|0]=1;rb(d,361312,1);v[d+4>>2]=0;f=w[c+11|0];k=f<<24>>24<0;f=k?v[c+4>>2]:f;i=w[h+11|0];j=i<<24>>24<0;i=j?v[h+4>>2]:i;l=k?v[c>>2]:c;k=j?v[h>>2]:h;while(1){h:{if(f){j=(i<<2)+k|0;i=(e<<2)+k|0;e=j-i>>2;if((f|0)>(e|0)){break h}q=v[l>>2];while(1){m=e-f|0;e=m+1|0;if(e>>>0>>0){break h}e=xe(i,q,e);if(!e){break h}if(lc(e,l,f)){i=e+4|0;e=j-i>>2;if((f|0)<=(e|0)){continue}break h}break}if((e|0)==(j|0)){break h}e=e-k>>2}if((e|0)==-1){break h}f=w[c+11|0];m=f<<24>>24<0?v[c+4>>2]:f;f=w[d+11|0];i=f<<24>>24<0;tr(h,e,m,i?v[d>>2]:d,i?v[d+4>>2]:f);f=w[c+11|0];i=f<<24>>24<0;f=i?v[c+4>>2]:f;l=i?v[c>>2]:c;i=w[h+11|0];j=i<<24>>24<0;k=j?v[h>>2]:h;m=e;e=w[d+11|0];e=m+(e<<24>>24<0?v[d+4>>2]:e)|0;i=j?v[h+4>>2]:i;if(e>>>0<=i>>>0){continue}}break}if(t[d+11|0]<=-1){$a(v[d>>2])}if(t[d+27|0]<=-1){$a(v[d+16>>2])}c=v[g+24>>2];e=v[c+12>>2];h=v[c+8>>2];f=v[c+4>>2];i=v[c>>2];k=v[c+16>>2];l=c+20|0;v[g+24>>2]=l;u[d+8>>1]=w[c+28|0]|w[c+29|0]<<8;j=w[c+24|0]|w[c+25|0]<<8|(w[c+26|0]<<16|w[c+27|0]<<24);v[d>>2]=w[c+20|0]|w[c+21|0]<<8|(w[c+22|0]<<16|w[c+23|0]<<24);v[d+4>>2]=j;c=k+l|0;k=v[c>>2];l=v[c+4>>2];j=v[c+8>>2];q=v[c+12>>2];m=v[c+16>>2];B=v[c+20>>2];C=x[c+24>>1];D=x[c+26>>1];E=u[c+28>>1];F=u[c+30>>1];G=u[c+32>>1];H=u[c+34>>1];I=u[c+36>>1];J=u[c+38>>1];K=u[c+40>>1];M=u[c+42>>1];v[g+24>>2]=c+44;if((sj(d+32|0,47,0)|0)==-1){Rq(d+16|0,A,d+32|0);if(t[d+43|0]<=-1){$a(v[d+32>>2])}v[d+40>>2]=v[d+24>>2];c=v[d+20>>2];v[d+32>>2]=v[d+16>>2];v[d+36>>2]=c}c=ab(124);t[d+27|0]=0;v[d+16>>2]=0;e=T0(c,d- -64|0,d+16|0,d+32|0,i,h,f,e,d,k,l,j,q,m,B,C,D,E,F,G,H,I,J,K,M);if(t[d+27|0]<=-1){$a(v[d+16>>2])}c=v[d+48>>2];if((c|0)!=v[d+52>>2]){f=e+112|0;while(1){h=v[e+116>>2];i:{if((h|0)!=v[e+120>>2]){j:{if(t[c+11|0]>=0){i=v[c+4>>2];v[h>>2]=v[c>>2];v[h+4>>2]=i;v[h+8>>2]=v[c+8>>2];break j}vc(h,v[c>>2],v[c+4>>2])}v[e+116>>2]=h+12;break i}yw(f,c)}c=c+12|0;if((c|0)!=v[d+52>>2]){continue}break}}if(t[d+43|0]<=-1){$a(v[d+32>>2])}h=v[d+48>>2];if(h){c=v[d+52>>2];if((h|0)==(c|0)){c=h}else{while(1){f=c-12|0;if(t[c-1|0]<=-1){$a(v[f>>2])}c=f;if((h|0)!=(c|0)){continue}break}c=v[d+48>>2]}v[d+52>>2]=h;$a(c)}if(t[d+75|0]<=-1){$a(v[d+64>>2])}Ma=d+80|0;if(t[g+19|0]<=-1){$a(v[g+8>>2])}R0(a,e);z=z+1|0;if((s|0)!=(z|0)){continue}break}break c}sc();L()}c=v[g+24>>2]}if(c-o>>>0

>>0){N0(a,c)}$a(o)}Xh(n);if(t[g+59|0]<=-1){$a(v[g+48>>2])}Ma=g- -64|0;return r}function sra(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=Ma-16|0;Ma=g;i=gb(40);v[i>>2]=0;v[296803]=0;v[g+8>>2]=0;k=W(368,1,0,0)|0;e=v[296803];v[296803]=0;f=-1;j=4;a:{b:{c:{if(!e){break c}h=v[296804];if(!h){break c}f=pb(v[e>>2],i,4);if(!f){break b}Q(h|0)}e=P()|0;d:{e:{if((f|0)==1){break e}v[g+12>>2]=k;e=0;if(!v[g+12>>2]){break d}v[v[g+12>>2]+700>>2]=1e6;v[v[g+12>>2]+704>>2]=1e6;v[v[g+12>>2]+708>>2]=0;v[v[g+12>>2]+712>>2]=0;v[296803]=0;e=v[g+12>>2];if(e){v[e+156>>2]=24}else{e=0}k=e;e=v[296803];v[296803]=0;f=-1;f:{if(!e){break f}h=v[296804];if(!h){break f}f=pb(v[e>>2],i,4);if(!f){break b}Q(h|0)}e=P()|0;if((f|0)==1){break e}i=be(k,1,i,4);j=P()|0;e=0}while(1){if(e){v[296803]=0;$a(i);ka(370);e=v[296803];v[296803]=0;g:{if(!e){break g}h=v[296804];if(!h){break g}if(!pb(v[e>>2],i,j)){break b}Q(h|0)}e=P()|0;continue}v[296803]=0;e=v[g+12>>2];if(e){v[e+676>>2]=0;v[e+672>>2]=0;v[e+668>>2]=0}e=v[296803];v[296803]=0;f=-1;h:{if(!e){break h}h=v[296804];if(!h){break h}f=pb(v[e>>2],i,j);if(!f){break b}Q(h|0)}e=P()|0;if((f|0)==1){continue}v[296803]=0;e=v[g+12>>2];if(e){v[e+164>>2]=d;v[e+160>>2]=c;v[e+168>>2]=b}e=v[296803];v[296803]=0;f=-1;i:{if(!e){break i}h=v[296804];if(!h){break i}f=pb(v[e>>2],i,j);if(!f){break b}Q(h|0)}e=P()|0;if((f|0)==1){continue}v[296803]=0;k=Y(372,v[g+12>>2],a|0)|0;e=v[296803];v[296803]=0;f=-1;j:{if(!e){break j}h=v[296804];if(!h){break j}f=pb(v[e>>2],i,j);if(!f){break b}Q(h|0)}e=P()|0;if((f|0)==1){continue}if(!k){v[g+8>>2]=1}k:{if(v[g+8>>2]){break k}v[v[g+12>>2]+272>>2]=8192;e=v[g+12>>2];k=v[v[g+12>>2]+272>>2];v[296803]=0;k=Y(373,e|0,k|0)|0;e=v[296803];v[296803]=0;f=-1;l:{if(!e){break l}h=v[296804];if(!h){break l}f=pb(v[e>>2],i,j);if(!f){break b}Q(h|0)}e=P()|0;if((f|0)==1){continue}v[v[g+12>>2]+268>>2]=k;if(v[v[g+12>>2]+268>>2]){break k}v[g+8>>2]=1}v[v[g+12>>2]+244>>2]=374;v[v[g+12>>2]+248>>2]=375;v[v[g+12>>2]+252>>2]=v[g+12>>2];m:{if(v[g+8>>2]){break m}v[296803]=0;k=W(376,v[g+12>>2]+212|0,3416,56)|0;e=v[296803];v[296803]=0;f=-1;n:{if(!e){break n}h=v[296804];if(!h){break n}f=pb(v[e>>2],i,j);if(!f){break b}Q(h|0)}e=P()|0;if((f|0)==1){continue}o:{switch(k+6|0){case 2:v[296803]=0;R(377,v[g+12>>2],5279);e=v[296803];v[296803]=0;f=-1;p:{if(!e){break p}h=v[296804];if(!h){break p}f=pb(v[e>>2],i,j);if(!f){break b}Q(h|0)}e=P()|0;if((f|0)==1){continue}v[g+8>>2]=1;break m;case 4:v[296803]=0;R(377,v[g+12>>2],9567);e=v[296803];v[296803]=0;f=-1;q:{if(!e){break q}h=v[296804];if(!h){break q}f=pb(v[e>>2],i,j);if(!f){break b}Q(h|0)}e=P()|0;if((f|0)==1){continue}v[g+8>>2]=1;break m;case 0:v[296803]=0;R(377,v[g+12>>2],12966);e=v[296803];v[296803]=0;f=-1;r:{if(!e){break r}h=v[296804];if(!h){break r}f=pb(v[e>>2],i,j);if(!f){break b}Q(h|0)}e=P()|0;if((f|0)==1){continue}v[g+8>>2]=1;break m;case 6:break m;default:break o}}v[296803]=0;R(377,v[g+12>>2],15630);e=v[296803];v[296803]=0;f=-1;s:{if(!e){break s}h=v[296804];if(!h){break s}f=pb(v[e>>2],i,j);if(!f){break b}Q(h|0)}e=P()|0;if((f|0)==1){continue}v[g+8>>2]=1}e=v[g+12>>2];if(v[g+8>>2]){k=v[v[g+12>>2]+268>>2];v[296803]=0;R(378,e|0,k|0);e=v[296803];v[296803]=0;f=-1;t:{if(!e){break t}h=v[296804];if(!h){break t}f=pb(v[e>>2],i,j);if(!f){break b}Q(h|0)}e=P()|0;if((f|0)==1){continue}v[v[g+12>>2]+268>>2]=0;v[296803]=0;X(379,v[g+12>>2],0,0);e=v[296803];v[296803]=0;f=-1;u:{if(!e){break u}h=v[296804];if(!h){break u}f=pb(v[e>>2],i,j);if(!f){break b}Q(h|0)}e=P()|0;if((f|0)==1){continue}e=0;break d}v[v[g+12>>2]+224>>2]=v[e+268>>2];v[v[g+12>>2]+228>>2]=v[v[g+12>>2]+272>>2];v[296803]=0;X(57,v[g+12>>2],0,0);e=v[296803];v[296803]=0;f=-1;v:{if(!e){break v}h=v[296804];if(!h){break v}f=pb(v[e>>2],i,j);if(!f){break b}Q(h|0)}e=P()|0;if((f|0)==1){continue}break}e=v[g+12>>2]}$a(i);Ma=g+16|0;break a}$a(i);tc(e,h);L()}return e|0}function M1a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=v[a+44>>2];h=v[a+40>>2];b=v[a+52>>2];Qa[v[v[b>>2]+20>>2]](b,2)|0;Qa[v[v[b>>2]+20>>2]](b,2)|0;j=h,k=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[j+8>>2]=k;j=h,k=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[j+12>>2]=k;j=h,k=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[j>>2]=k;j=h,k=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[j+4>>2]=k;j=c,k=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[j+36>>2]=k;j=c,k=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[j+40>>2]=k;j=c,k=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[j+28>>2]=k;j=c,k=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[j+32>>2]=k;d=Qa[v[v[b>>2]+20>>2]](b,2)|0;v[h+16>>2]=d;a:{b:{g=B(d,48);e=gb(g);if(e){d=0;j=h,k=eb(e,0,g),v[j+24>>2]=k;if(v[h+16>>2]>0){while(1){g=Qa[v[v[b>>2]+20>>2]](b,1)|0;e=B(d,48);f=e+v[h+24>>2]|0;v[f+32>>2]=g>>7;v[f+24>>2]=(g&127)+1;g=Qa[v[v[b>>2]+20>>2]](b,1)|0;v[e+v[h+24>>2]>>2]=g;f=Qa[v[v[b>>2]+20>>2]](b,1)|0;g=e+v[h+24>>2]|0;v[g+36>>2]=0;v[g+40>>2]=0;v[g+4>>2]=f;d=d+1|0;if((d|0)>2]){continue}break}}b=v[c+36>>2];b=(b+(v[h+8>>2]+(v[c+28>>2]^-1)|0)|0)/(b|0)|0;v[c+48>>2]=b;d=v[c+40>>2];d=(d+(v[h+12>>2]+(v[c+32>>2]^-1)|0)|0)/(d|0)|0;v[c+52>>2]=d;d=B(B(b,d),1876);b=gb(d);if(!b){v[c+88>>2]=0;c=v[h+24>>2];if(c){$a(c);v[h+24>>2]=0}break a}j=c,k=eb(b,0,d),v[j+88>>2]=k;d=B(v[c+48>>2],v[c+52>>2])<<2;g=gb(d);if(!g){v[c+56>>2]=0;d=v[h+24>>2];if(d){$a(d);v[h+24>>2]=0;b=v[c+88>>2]}if(b){$a(b);v[c+88>>2]=0}break a}b=eb(g,0,d);v[c+60>>2]=0;v[c+56>>2]=b;e=B(v[c+52>>2],v[c+48>>2]);c:{if((e|0)<1){break c}g=e&3;d=v[c+88>>2];b=0;if(e-1>>>0>=3){e=e&-4;while(1){f=d+B(b,1876)|0;v[f+420>>2]=0;v[f+424>>2]=0;v[f>>2]=1;f=d+B(b|1,1876)|0;v[f>>2]=1;v[f+420>>2]=0;v[f+424>>2]=0;f=d+B(b|2,1876)|0;v[f>>2]=1;v[f+420>>2]=0;v[f+424>>2]=0;f=d+B(b|3,1876)|0;v[f>>2]=1;v[f+420>>2]=0;v[f+424>>2]=0;b=b+4|0;e=e-4|0;if(e){continue}break}}if(!g){break c}while(1){e=d+B(b,1876)|0;v[e+420>>2]=0;v[e+424>>2]=0;v[e>>2]=1;b=b+1|0;g=g-1|0;if(g){continue}break}}v[c+64>>2]=0;v[c+68>>2]=0;b=0;v[c+80>>2]=0;v[c+72>>2]=0;v[c+76>>2]=0;d=B(v[h+16>>2],1076);g=gb(d);if(!g){break b}d=eb(g,0,d);v[v[a+36>>2]+1872>>2]=d;d=v[c+52>>2];g=v[c+48>>2];if((B(d,g)|0)>0){while(1){d:{e=B(v[h+16>>2],1076);f=gb(e);if(f){d=eb(f,0,e);v[(v[c+88>>2]+B(b,1876)|0)+1872>>2]=d;d=v[c+52>>2];g=v[c+48>>2];break d}e=v[c+88>>2];v[(e+B(b,1876)|0)+1872>>2]=0;if(!b){break d}b=v[e+1872>>2];if(b){$a(b);v[e+1872>>2]=0}b=v[h+24>>2];if(b){$a(b);v[h+24>>2]=0}b=v[c+88>>2];if(b){$a(b);v[c+88>>2]=0}b=v[c+56>>2];if(b){$a(b);v[c+56>>2]=0}c=v[a+36>>2];b=v[c+1872>>2];if(b){$a(b);v[c+1872>>2]=0}break a}b=b+1|0;if((b|0)<(B(d,g)|0)){continue}break}}e=B(d,g);f=e<<2;i=gb(f);if(!i){b=0;v[a+28>>2]=0;if((e|0)>0){while(1){e=v[c+88>>2]+B(b,1876)|0;f=v[e+1872>>2];if(f){$a(f);v[e+1872>>2]=0;g=v[c+48>>2];d=v[c+52>>2]}b=b+1|0;if((b|0)<(B(d,g)|0)){continue}break}}b=v[h+24>>2];if(b){$a(b);v[h+24>>2]=0}b=v[c+88>>2];if(b){$a(b);v[c+88>>2]=0}b=v[c+56>>2];if(b){$a(b);v[c+56>>2]=0}b=v[a+36>>2];c=v[b+1872>>2];e:{if(c){$a(c);v[b+1872>>2]=0;b=v[a+36>>2];if(!b){break e}}$a(b);v[a+36>>2]=0}break a}b=0;j=a,k=eb(i,0,f),v[j+28>>2]=k;d=v[c+48>>2];g=v[c+52>>2];e=B(d,g);f=e<<2;i=gb(f);if(!i){v[a+32>>2]=0;if((e|0)>0){while(1){e=v[c+88>>2]+B(b,1876)|0;f=v[e+1872>>2];if(f){$a(f);v[e+1872>>2]=0;g=v[c+52>>2];d=v[c+48>>2]}b=b+1|0;if((b|0)<(B(d,g)|0)){continue}break}}b=v[h+24>>2];if(b){$a(b);v[h+24>>2]=0}b=v[c+88>>2];if(b){$a(b);v[c+88>>2]=0}b=v[c+56>>2];if(b){$a(b);v[c+56>>2]=0}b=v[a+36>>2];c=v[b+1872>>2];f:{if(c){$a(c);v[b+1872>>2]=0;b=v[a+36>>2];if(!b){break f}}$a(b);v[a+36>>2]=0}c=v[a+28>>2];if(c){$a(c);v[a+28>>2]=0}break a}c=eb(i,0,f);v[a+4>>2]=4;v[a+32>>2]=c;return}v[h+24>>2]=0;break a}v[v[a+36>>2]+1872>>2]=0;b=v[h+24>>2];if(b){$a(b);v[h+24>>2]=0}b=v[c+88>>2];if(b){$a(b);v[c+88>>2]=0}b=v[c+56>>2];if(b){$a(b);v[c+56>>2]=0}v[v[a>>2]+20>>2]=1;return}v[v[a>>2]+20>>2]=1}function OSa(a){a=a|0;var 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;e=Ma-160|0;Ma=e;v[285944]=0;v[285945]=0;v[285943]=0;j=x[a+26306>>1];if(j){h=v[249419];d=x[a+26304>>1];while(1){d=d&65535;j=j-1|0;m=j&1;k=0;while(1){f=0;i=v[285945];a:{if(i){break a}g=v[285944];b:{if((g|0)>=2){b=v[285943];break b}while(1){c:{d:{b=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;e:{if((b|0)==-1){if(!v[a+26160>>2]){v[e+144>>2]=v[a+25208>>2];vb(h,8292,e+144|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,h);v[a+26160>>2]=1;break e}c=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[e+128>>2]=c;v[e+132>>2]=c>>31;vb(h,14622,e+128|0)}v[a+26160>>2]=1;break e}if(!v[a+26144>>2]){break e}if((b|0)==255){break d}}v[285945]=0;break c}c=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[285945]=(c|0)!=0;if(!c){break c}i=1;break a}c=v[285944];g=c+8|0;v[285944]=g;b=b&255|v[285943]<<8;v[285943]=b;if((c|0)<-6){continue}break}}i=0;v[285944]=g-2;f=b<<32-g>>>30|0}n=(d|0)==(k|0);b=4-f|0;f:{g:{h:{i:{j:{switch(1-f|0){case 1:f=0;if(!i){break i}c=17;break f;case 0:break j;default:break g}}if(i){f=0;c=3;break f}g=v[285944];if((g|0)>=1){d=v[285943];break h}while(1){k:{l:{b=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;m:{if((b|0)==-1){if(!v[a+26160>>2]){v[e+80>>2]=v[a+25208>>2];vb(h,8292,e+80|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,h);v[a+26160>>2]=1;break m}d=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[e+64>>2]=d;v[e+68>>2]=d>>31;vb(h,14622,e- -64|0)}v[a+26160>>2]=1;break m}if(!v[a+26144>>2]){break m}if((b|0)==255){break l}}v[285945]=0;break k}d=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[285945]=(d|0)!=0;if(!d){break k}b=3;i=1;break g}c=v[285944];g=c+8|0;v[285944]=g;d=b&255|v[285943]<<8;v[285943]=d;if((c|0)<-7){continue}break}break h}d=4;i=0;while(1){n:{if(f){break n}g=v[285944];o:{if((g|0)>=1){b=v[285943];break o}while(1){p:{q:{b=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;r:{if((b|0)==-1){if(!v[a+26160>>2]){v[e+112>>2]=v[a+25208>>2];vb(h,8292,e+112|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,h);v[a+26160>>2]=1;break r}c=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[e+96>>2]=c;v[e+100>>2]=c>>31;vb(h,14622,e+96|0)}v[a+26160>>2]=1;break r}if(!v[a+26144>>2]){break r}if((b|0)==255){break q}}v[285945]=0;break p}c=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[285945]=(c|0)!=0;if(!c){break p}i=1;f=1;break n}i=0;c=v[285944];g=c+8|0;v[285944]=g;b=b&255|v[285943]<<8;v[285943]=b;if((c|0)<-7){continue}break}}f=0;v[285944]=g-1;if(b<<32-g>=0){break n}b=d;break g}b=17;d=d+1|0;if((d|0)!=17){continue}break}break g}v[285944]=g-1;b=3;f=0;i=0;c=0;if(d<<32-g<=-1){break f}}f=0;s:{if(i|!b){break s}f=v[285944];t:{if((f|0)>=(b|0)){i=v[285943];break t}while(1){d=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;u:{if((d|0)==-1){if(!v[a+26160>>2]){v[e+48>>2]=v[a+25208>>2];vb(h,8292,e+48|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,h);v[a+26160>>2]=1;v[285945]=0;break u}c=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[e+32>>2]=c;v[e+36>>2]=c>>31;vb(h,14622,e+32|0)}v[a+26160>>2]=1;v[285945]=0;break u}if(!((d|0)==255?v[a+26144>>2]:0)){v[285945]=0;break u}c=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[285945]=(c|0)!=0;f=0;if(c){break s}}f=v[285944]+8|0;v[285944]=f;i=d&255|v[285943]<<8;v[285943]=i;if((b|0)>(f|0)){continue}break}}d=f-b|0;v[285944]=d;c=32-b|0;f=i<>>c|0}c=b}l=(f+l|0)+(f>>>c-1&1?0:(-1<>>0>=4096){v:{if(v[a+26160>>2]){break v}v[e+16>>2]=v[a+25208>>2];vb(h,8292,e+16|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,h);break v}b=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[e>>2]=b;v[e+4>>2]=b>>31;vb(h,14622,e)}v[a+26160>>2]=1}b=n?1:k;if((b|0)>1]){d=x[a+26316>>1];u[(v[a+26352>>2]+(B(x[a+26320>>1],b>>d)+(j>>d)<<3)|0)+((v[a+26028>>2]>>>((b<<1&14|m)<<1)&3)<<1)>>1]=l}d=x[a+26304>>1];k=b+2|0;if((d|0)>=(k|0)){continue}break}if(j){continue}break}}Ma=e+160|0}function xU(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;f=Ma-48|0;Ma=f;v[f+32>>2]=13;v[f+16>>2]=13;a:{b:{c:{if(hb(b,283682)){if(hb(b,221141)){break c}}b=ab(16);v[b+8>>2]=-1;v[b+12>>2]=0;v[b>>2]=953148;break b}d:{if(hb(b,283770)){if(hb(b,315904)){break d}}b=ab(56);v[b>>2]=953248;v[b+4>>2]=c;v[b+52>>2]=0;v[b+44>>2]=0;v[b+48>>2]=0;break a}e:{if(hb(b,283750)){if(hb(b,308687)){break e}}f:{if(v[d>>2]!=7){d=1;e=1;a=1;h=1;b=8;break f}b=f+16|0;ib(v[d+8>>2],237441,b,e);a=v[f+24>>2];g=v[f+16>>2];bb(b);ib(v[d+8>>2],235495,b,e);h=v[f+24>>2];i=v[f+16>>2];bb(b);ib(v[d+8>>2],234933,b,e);j=v[f+24>>2];k=v[f+16>>2];bb(b);ib(v[d+8>>2],228634,b,e);l=v[f+24>>2];m=v[f+16>>2];bb(b);ib(v[d+8>>2],282940,b,e);d=(g|0)==1?a:1;h=(i|0)==1?h:1;e=(k|0)==1?j:1;a=v[f+16>>2]==1?v[f+24>>2]:1;bb(b);b=(m|0)==1?l:8}b=wU(ab(53336),c,d,h,e,b,a);break a}g:{if(hb(b,283712)){if(hb(b,310999)){break g}}b=ab(148);v[b>>2]=953448;v[b+4>>2]=c;v[b+144>>2]=0;a=b+8|0;v[b+140>>2]=a;v[b+136>>2]=a;break a}h:{if(hb(b,283697)){if(hb(b,311693)){break h}}i:{if(v[d>>2]!=7){d=1;e=0;a=0;b=1728;break i}b=f+16|0;ib(v[d+8>>2],311231,b,e);g=v[f+24>>2];j=v[f+16>>2];bb(b);ib(v[d+8>>2],279784,b,e);a=v[f+24>>2];h=v[f+16>>2];bb(b);ib(v[d+8>>2],248135,b,e);i=v[f+24>>2];k=v[f+16>>2];bb(b);ib(v[d+8>>2],235495,b,e);l=v[f+24>>2];m=v[f+16>>2];bb(b);ib(v[d+8>>2],234184,b,e);n=v[f+24>>2];o=v[f+16>>2];bb(b);ib(v[d+8>>2],263074,b,e);p=v[f+24>>2];q=v[f+16>>2];bb(b);ib(v[d+8>>2],324084,b,e);a=h?0:a;h=k?0:i;d=q?1:p;i=v[f+16>>2]?0:v[f+24>>2];e=(j|0)==1?g:0;j=(o|0)==1?n:0;bb(b);b=(m|0)==1?l:1728}g=ab(84);v[g+20>>2]=b;v[g+16>>2]=h;v[g+12>>2]=a;v[g+8>>2]=e;v[g>>2]=953548;v[g+4>>2]=c;a=1;j:{if((b|0)>=1){a=2147483644;if((b|0)<2147483645){break j}}v[g+20>>2]=a;b=a}v[g+32>>2]=i;v[g+28>>2]=d;v[g+24>>2]=j;v[g+36>>2]=i?255:0;r=g,s=Pb(b+1|0,4),v[r+60>>2]=s;a=Pb(v[g+20>>2]+3|0,4);v[g+48>>2]=0;v[g+40>>2]=0;v[g+64>>2]=a;v[g+56>>2]=0;v[g+44>>2]=v[g+8>>2]>>>31;v[v[g+60>>2]>>2]=v[g+20>>2];v[g+80>>2]=0;v[g+72>>2]=0;v[g+76>>2]=0;v[g+68>>2]=v[g+20>>2];b=g;break a}k:{if(hb(b,283760)){if(hb(b,309935)){break k}}b=-1;if(v[d>>2]==7){a=f+16|0;b=ib(v[d+8>>2],255401,a,e);b=v[b>>2]==1?v[f+24>>2]:-1;bb(a)}d=ab(3528);v[d+192>>2]=b;v[d>>2]=957880;v[d+4>>2]=c;a=0;v[d+3468>>2]=0;v[d+188>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;eb(d+724|0,0,2736);v[d+3504>>2]=0;b=d+3496|0;v[b>>2]=0;v[b+4>>2]=0;b=d+3488|0;v[b>>2]=0;v[b+4>>2]=0;b=d+3480|0;v[b>>2]=0;v[b+4>>2]=0;if(!w[1164540]){eb(1164544,0,384);while(1){t[a+1164931|0]=a|3;t[a+1164930|0]=a|2;t[a+1164929|0]=a|1;t[a+1164928|0]=a;a=a+4|0;if((a|0)!=256){continue}break}eb(1165184,255,383);t[1164540]=1}b=d;break a}l:{if(hb(b,283728)){if(hb(b,261558)){break l}}m:{if(v[d>>2]!=7){b=8;d=1;e=1;a=1;break m}a=f+16|0;ib(v[d+8>>2],237441,a,e);b=v[f+24>>2];g=v[f+16>>2];bb(a);ib(v[d+8>>2],235495,a,e);h=v[f+24>>2];i=v[f+16>>2];bb(a);ib(v[d+8>>2],234933,a,e);j=v[f+24>>2];k=v[f+16>>2];bb(a);ib(v[d+8>>2],228634,a,e);d=(g|0)==1?b:1;e=(k|0)==1?j:1;b=v[f+16>>2]==1?v[f+24>>2]:8;bb(a);a=(i|0)==1?h:1}b=vU(ab(34120),c,d,a,e,b);break a}if(!hb(b,283784)){if(v[d>>2]==7){ib(v[d+8>>2],235772,f+32|0,e)}a=f+32|0;b=XU(ab(152),c,a);bb(a);break a}if(!hb(b,283740)){b=ab(240);v[b+4>>2]=c;v[b>>2]=952700;v[b>>2]=927664;a=ab(16);mU(a,v[b+4>>2]);v[b+96>>2]=0;v[b+88>>2]=0;v[b+92>>2]=0;v[b+76>>2]=0;v[b+8>>2]=a;v[b+12>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+104>>2]=0;v[b+108>>2]=0;v[b+112>>2]=0;v[b+116>>2]=0;v[b+124>>2]=0;v[b+128>>2]=0;v[b+132>>2]=0;v[b+136>>2]=0;v[b+200>>2]=0;v[b+204>>2]=0;v[b+208>>2]=0;v[b+212>>2]=0;v[b+216>>2]=0;break a}a=Qa[v[v[a>>2]+52>>2]](a)|0;v[f>>2]=b;fb(1,a,336129,f);b=ab(8);v[b>>2]=958612}v[b+4>>2]=c}Ma=f+48|0;return b}function GY(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=Ma-16|0;Ma=f;c=-102;a:{if(!a|!(v[a+96>>2]|v[a+100>>2])){break a}b=v[a+224>>2];if(b){e=v[b>>2];if(e){$a(e)}v[b>>2]=0;if(v[b+72>>2]==8){Gk(b+4|0)}$a(b);v[a+224>>2]=0}i=v[a+76>>2]+v[a+220>>2]|0;e=v[a+216>>2];b=e+v[a+72>>2]|0;if(Qi(a,v[a+48>>2],b,b>>>0>>0?i+1|0:i,0)){c=-103;break a}i=sg(a,v[a+48>>2],f+8|0);g=v[f+8>>2];b=-1;e=f;h=v[a+48>>2];b:{c:{if((Qa[v[a+4>>2]](v[a+28>>2],h,f+15|0,1)|0)==1){c=w[f+15|0];break c}c=0;d=0;if(Qa[v[a+24>>2]](v[a+28>>2],h)|0){break b}}d:{if((Qa[v[a+4>>2]](v[a+28>>2],h,f+15|0,1)|0)==1){d=w[f+15|0];break d}d=c;if(!(Qa[v[a+24>>2]](v[a+28>>2],h)|0)){break d}d=0;break b}b=i?-1:(g|0)==67324752?0:-103;d=d<<8|c}v[e+4>>2]=d;e=v[a+48>>2];e:{f:{if((Qa[v[a+4>>2]](v[a+28>>2],e,f+15|0,1)|0)==1){d=w[f+15|0];break f}c=-1;d=0;g=d;if(Qa[v[a+24>>2]](v[a+28>>2],e)|0){break e}}g:{if((Qa[v[a+4>>2]](v[a+28>>2],e,f+15|0,1)|0)==1){break g}if(!(Qa[v[a+24>>2]](v[a+28>>2],e)|0)){break g}c=-1;g=0;break e}c=b;g=d&8}d=g;h:{i:{h=v[a+48>>2];j:{k:{if((Qa[v[a+4>>2]](v[a+28>>2],h,f+15|0,1)|0)==1){e=w[f+15|0];break k}if(Qa[v[a+24>>2]](v[a+28>>2],h)|0){break j}e=0}if((Qa[v[a+4>>2]](v[a+28>>2],h,f+15|0,1)|0)==1){b=w[f+15|0];break i}b=e;if(!(Qa[v[a+24>>2]](v[a+28>>2],h)|0)){break i}}v[f+4>>2]=0;c=-1;break h}b=e|b<<8;v[f+4>>2]=b;if(c){break h}c=-103;if((b|0)!=v[a+140>>2]){break h}if(b>>>0<=12){c=0;if(1<>2],f+4|0);b=-1;l:{if(sg(a,v[a+48>>2],f+4|0)){break l}b=h?-1:c;if(b){break l}b=0;if(v[f+4>>2]==v[a+148>>2]){break l}b=d?0:-103}m:{if(sg(a,v[a+48>>2],f+4|0)){break m}c=v[f+4>>2];if((c|0)==-1){e=b;break m}e=b;if(b){break m}e=0;if(!v[a+156>>2]&(c|0)==v[a+152>>2]){break m}e=d?0:-103}b=-1;n:{if(sg(a,v[a+48>>2],f+4|0)){break n}c=v[f+4>>2];if((c|0)==-1){b=e;break n}b=e;if(b){break n}b=0;if(!v[a+164>>2]&(c|0)==v[a+160>>2]){break n}b=d?0:-103}c=v[a+48>>2];o:{p:{if((Qa[v[a+4>>2]](v[a+28>>2],c,f+15|0,1)|0)==1){e=w[f+15|0];break p}e=0;d=-1;if(Qa[v[a+24>>2]](v[a+28>>2],c)|0){break o}}q:{if((Qa[v[a+4>>2]](v[a+28>>2],c,f+15|0,1)|0)==1){d=w[f+15|0];break q}d=e;if(!(Qa[v[a+24>>2]](v[a+28>>2],c)|0)){break q}e=0;d=-1;break o}e=d<<8|e;d=b;if(b){break o}d=v[a+168>>2]==(e|0)?0:-103}b=d;r:{c=v[a+48>>2];s:{t:{if((Qa[v[a+4>>2]](v[a+28>>2],c,f+15|0,1)|0)==1){g=w[f+15|0];break t}if(Qa[v[a+24>>2]](v[a+28>>2],c)|0){break s}g=0}if((Qa[v[a+4>>2]](v[a+28>>2],c,f+15|0,1)|0)==1){d=w[f+15|0];break r}d=g;if(!(Qa[v[a+24>>2]](v[a+28>>2],c)|0)){break r}}c=-103;break a}c=-103;if(b){break a}h=v[a+216>>2];i=v[a+220>>2];c=-104;b=gb(208);if(!b){break a}j=gb(16384);v[b+200>>2]=0;v[b+96>>2]=0;v[b+100>>2]=0;k=g|d<<8;v[b+88>>2]=k;d=i;g=e+h|0;d=g>>>0>>0?d+1|0:d;g=g+30|0;if(g>>>0<30){d=d+1|0}v[b+80>>2]=g;v[b+84>>2]=d;v[b>>2]=j;if(!j){$a(b);break a}v[b+72>>2]=0;d=v[a+148>>2];v[b+112>>2]=0;v[b+116>>2]=d;v[b+104>>2]=0;v[b+108>>2]=0;d=v[a+140>>2];v[b+184>>2]=d;v[b+180>>2]=v[a+48>>2];c=v[a+4>>2];v[b+136>>2]=v[a>>2];v[b+140>>2]=c;c=v[a+12>>2];v[b+144>>2]=v[a+8>>2];v[b+148>>2]=c;c=v[a+20>>2];v[b+152>>2]=v[a+16>>2];v[b+156>>2]=c;c=v[a+28>>2];v[b+160>>2]=v[a+24>>2];v[b+164>>2]=c;c=v[a+36>>2];v[b+168>>2]=v[a+32>>2];v[b+172>>2]=c;v[b+176>>2]=v[a+40>>2];c=v[a+72>>2];g=v[a+76>>2];v[b+24>>2]=0;v[b+192>>2]=c;v[b+196>>2]=g;u:{v:{if((d|0)==12){v[b+200>>2]=1;break v}if((d|0)!=8){break v}v[b+4>>2]=0;v[b+8>>2]=0;v[b+44>>2]=0;v[b+36>>2]=0;v[b+40>>2]=0;c=_H(b+4|0,-15);if(c){break u}v[b+72>>2]=8;h=v[a+216>>2];i=v[a+220>>2]}d=v[a+156>>2];v[b+120>>2]=v[a+152>>2];v[b+124>>2]=d;c=v[a+160>>2];g=v[a+164>>2];e=h+(e+k|0)|0;i=e>>>0>>0?i+1|0:i;e=e+30|0;if(e>>>0<30){i=i+1|0}v[b+64>>2]=e;v[b+68>>2]=i;v[b+128>>2]=c;v[b+132>>2]=g;c=0;v[b+8>>2]=0;v[a+228>>2]=0;v[a+224>>2]=b;break a}$a(b)}Ma=f+16|0;return c}function BA(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=Ma-80|0;Ma=d;c=w[a+11|0];b=c<<24>>24<0;e=v[a+4>>2];a:{if(!(b?e:c)){break a}b:{if(!b){v[d+40>>2]=v[a+8>>2];b=v[a+4>>2];v[d+32>>2]=v[a>>2];v[d+36>>2]=b;break b}vc(d+32|0,v[a>>2],e)}v[d+48>>2]=0;v[d+52>>2]=0;v[d+56>>2]=0;c=t[d+43|0];b=(c|0)<0;e=v[d+36>>2];c:{if(!(b?e:c&255)){break c}d:{if(!b){v[d+72>>2]=v[d+40>>2];b=v[d+36>>2];v[d+64>>2]=v[d+32>>2];v[d+68>>2]=b;break d}vc(d- -64|0,v[d+32>>2],e)}Dq(d- -64|0,d+48|0,0);if(t[d+75|0]>-1){break c}$a(v[d+64>>2])}if(t[d+43|0]<=-1){$a(v[d+32>>2])}b=v[d+48>>2];if((b|0)!=v[d+52>>2]){c=0;while(1){hw(B(c,12)+b|0);c=c+1|0;b=v[d+48>>2];if(c>>>0<(v[d+52>>2]-b|0)/12>>>0){continue}break}}e:{if(t[a+11|0]>=0){v[d+24>>2]=v[a+8>>2];b=v[a+4>>2];v[d+16>>2]=v[a>>2];v[d+20>>2]=b;break e}vc(d+16|0,v[a>>2],v[a+4>>2])}b=Ma-144|0;Ma=b;j=d- -64|0;v[j+8>>2]=0;v[j>>2]=0;v[j+4>>2]=0;h=d+16|0;e=t[h+11|0];c=(e|0)<0;f:{g:{h:{i:{e=c?v[h+4>>2]:e&255;j:{if(!e){break j}v[b+140>>2]=0;v[b+136>>2]=0;No(c?v[h>>2]:h,e,b+140|0,b+136|0);k=aQ(v[b+140>>2]);if(k){e=Tx(k);if(e){while(1){k:{l:{switch(w[e+18|0]){case 0:g=v[b+140>>2];f=zb(g);if(f>>>0>=4294967280){break i}m:{n:{if(f>>>0>=11){i=f+16&-16;c=ab(i);v[b+24>>2]=i|-2147483648;v[b+16>>2]=c;v[b+20>>2]=f;break n}t[b+27|0]=f;c=b+16|0;if(!f){break m}}cb(c,g,f)}t[c+f|0]=0;c=Sm(b+16|0,326326);v[b+56>>2]=v[c+8>>2];f=v[c+4>>2];v[b+48>>2]=v[c>>2];v[b+52>>2]=f;v[c>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;g=e+19|0;f=zb(g);if(f>>>0>=4294967280){break h}o:{p:{if(f>>>0>=11){i=f+16&-16;c=ab(i);v[b+8>>2]=i|-2147483648;v[b>>2]=c;v[b+4>>2]=f;break p}t[b+11|0]=f;c=b;if(!f){break o}}cb(c,g,f)}t[c+f|0]=0;c=w[b+11|0];f=c<<24>>24<0;c=Bp(b+48|0,f?v[b>>2]:b,f?v[b+4>>2]:c);v[b+40>>2]=v[c+8>>2];f=v[c+4>>2];v[b+32>>2]=v[c>>2];v[b+36>>2]=f;v[c>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;if(t[b+11|0]<=-1){$a(v[b>>2])}if(t[b+59|0]<=-1){$a(v[b+48>>2])}if(t[b+27|0]<=-1){$a(v[b+16>>2])}c=v[b+32>>2];f=t[b+43|0];co((f|0)<0?c:b+32|0,b+48|0);g=v[b+60>>2]&61440;if((f|0)<=-1){$a(c)}if((g|0)!=16384){break k}break;case 4:break l;default:break k}}if(w[e+19|0]==46){break k}c=e+19|0;Zg(b+48|0,c,zb(c));v[b+24>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;c=w[h+11|0];f=c<<24>>24<0;c=f?v[h+4>>2]:c;e=c+1|0;if(e>>>0>=1073741808){break g}g=v[h>>2];q:{r:{if(e>>>0>=2){i=c+5&-4;e=ab(i<<2);v[b+24>>2]=i|-2147483648;v[b+16>>2]=e;v[b+20>>2]=c;break r}t[b+27|0]=c;e=b+16|0;if(!c){break q}}rb(e,f?g:h,c)}v[(c<<2)+e>>2]=0;c=b+16|0;bd(c,520764,1);f=c;c=w[b+59|0];e=c<<24>>24<0;c=bd(f,e?v[b+48>>2]:b+48|0,e?v[b+52>>2]:c);v[b+40>>2]=v[c+8>>2];e=v[c+4>>2];v[b+32>>2]=v[c>>2];v[b+36>>2]=e;v[c>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;c=v[j+4>>2];s:{if(c>>>0>2]){e=v[b+36>>2];v[c>>2]=v[b+32>>2];v[c+4>>2]=e;v[c+8>>2]=v[b+40>>2];v[b+40>>2]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[j+4>>2]=c+12;break s}Kg(j,b+32|0);if(t[b+43|0]>-1){break s}$a(v[b+32>>2])}if(t[b+27|0]<=-1){$a(v[b+16>>2])}if(t[b+59|0]>-1){break k}$a(v[b+48>>2])}e=Tx(k);if(e){continue}break}}bQ(k)}c=v[b+140>>2];if(!c){break j}$a(c)}Ma=b+144|0;break f}sc();L()}sc();L()}sc();L()}if(t[d+27|0]<=-1){$a(v[d+16>>2])}b=v[d+64>>2];if((b|0)!=v[d+68>>2]){c=0;while(1){BA(B(c,12)+b|0);c=c+1|0;b=v[d+64>>2];if(c>>>0<(v[d+68>>2]-b|0)/12>>>0){continue}break}}v[d+12>>2]=0;v[d+8>>2]=0;b=w[a+11|0];c=b<<24>>24<0;No(c?v[a>>2]:a,c?v[a+4>>2]:b,d+12|0,d+8|0);a=ha(v[d+12>>2])|0;if(a>>>0>=4294963201){v[296206]=0-a}a=v[d+12>>2];if(a){$a(a)}a=v[d+64>>2];if(a){b=v[d+68>>2];if((a|0)==(b|0)){b=a}else{while(1){c=b-12|0;if(t[b-1|0]<=-1){$a(v[c>>2])}b=c;if((a|0)!=(b|0)){continue}break}b=v[d+64>>2]}v[d+68>>2]=a;$a(b)}a=v[d+48>>2];if(!a){break a}b=v[d+52>>2];if((a|0)==(b|0)){b=a}else{while(1){c=b-12|0;if(t[b-1|0]<=-1){$a(v[c>>2])}b=c;if((a|0)!=(b|0)){continue}break}b=v[d+48>>2]}v[d+52>>2]=a;$a(b)}Ma=d+80|0}function Jv(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;i=Ma-32|0;Ma=i;a:{b:{c:{d:{e:{if(c){e=v[c+360>>2];if(e&8388608){v[c+360>>2]=e-8388608;if(v[c+464>>2]==1){b=Jv(a,b,c);v[c+360>>2]=e;break a}v[i+16>>2]=a;b=0;nb(0,0,0,0,0,8,1557,2,a,0,0,0,237080,i+16|0);v[c+360>>2]=e;break a}if(e&2048){v[c+360>>2]=e-2048;d=Ma-16|0;Ma=d;f=0;f:{if(!c){break f}if(v[c+464>>2]==1){f=Jv(a,b,c);break f}if(!a){f=Jv(0,b,c);break f}g:{h:{if((a|0)==326298){break h}i:{f=w[a|0]&223;if((f|0)!=70|(w[a+1|0]&223)!=84|((w[a+2|0]&223)!=80|w[a+3|0]!=58)){break i}if(w[a+4|0]!=47){break i}if(w[a+5|0]==47){break h}if((a|0)!=326290){break g}break h}if((a|0)==326290){break h}if((f|0)!=72|(w[a+1|0]&223)!=84|((w[a+2|0]&223)!=84|(w[a+3|0]&223)!=80)){break g}if(w[a+4|0]!=58|w[a+5|0]!=47|w[a+6|0]!=47){break g}}v[d>>2]=a;nb(0,0,0,0,0,8,1543,2,a,0,0,0,237115,d);f=0;break f}f=Jv(a,b,c)}b=f;Ma=d+16|0;v[c+360>>2]=e;break a}if(a){break e}if(!(!v[c+212>>2]|v[c+172>>2]!=-1)){b=0;break a}a=b?b:311146;b=v[c>>2];if(!b){break c}e=0;d=v[c+104>>2];f=v[b+(d?88:84)>>2];g=v[c+4>>2];d=d?2:1;e=v[b+108>>2]==-554844497?v[b+124>>2]:e;break b}if(!a){break d}}b=a;e=0;g=Ma+-64|0;Ma=g;if(v[291060]){v[g+48>>2]=b;Qa[v[256654]](v[291043],340582,g+48|0)}j:{if(!c){break j}a=v[291068];k:{if(a){d=Qa[a|0](b,0)|0;break k}if(!w[1164280]){d=v[291071];if((d|0)<=14){a=d<<4;v[a+1164300>>2]=2669;v[a+1164296>>2]=2670;v[a+1164292>>2]=2671;v[a+1164288>>2]=2672;v[291071]=d+1}t[1164280]=1}l:{m:{if(!b){break m}a=v[291071];if((a|0)<1){break m}while(1){n:{d=a;a=a-1|0;h=a<<4;j=v[h+1164288>>2];o:{if(!j){break o}if(!(Qa[j|0](b)|0)){break o}h=Qa[v[h+1164292>>2]](b)|0;if(h){break n}}if((d|0)>1){continue}break m}break}d=IH(0);if(d){v[d>>2]=h;a=a<<4;v[d+4>>2]=v[a+1164296>>2];v[d+8>>2]=v[a+1164300>>2];break l}Qa[v[(a<<4)+1164300>>2]](h)|0}d=0}}if(!d){a=v[c+212>>2];if(!b){if(!(!a|v[c+172>>2]!=-1)){break j}a=v[c>>2];p:{if(!a){a=2;d=0;b=0;break p}b=v[c+104>>2];h=a+(b?88:84)|0;d=0;d=v[a+108>>2]==-554844497?v[a+124>>2]:d;a=b?2:1;e=v[c+4>>2];b=v[h>>2]}v[g>>2]=0;nb(d,b,e,c,0,8,1549,a,0,0,0,0,348147,g);break j}if(!(!a|v[c+172>>2]!=-1)){break j}a=v[c>>2];q:{if(!a){d=0;a=2;break q}h=v[c+104>>2];e=a+(h?88:84)|0;d=0;d=v[a+108>>2]==-554844497?v[a+124>>2]:d;e=v[e>>2];k=v[c+4>>2];a=h?2:1}v[g+16>>2]=b;nb(d,e,k,c,0,8,1549,a,b,0,0,0,347307,g+16|0);break j}a=0;f=Qa[v[256552]](60)|0;if(!f){if(!(!v[c+212>>2]|v[c+172>>2]!=-1)){f=0;break j}v[c+212>>2]=1;v[c+172>>2]=-1;v[c+84>>2]=2;v[g+32>>2]=341856;f=0;nb(0,0,0,c,0,1,2,3,341856,0,0,0,340689,g+32|0);break j}v[f+48>>2]=0;v[f+52>>2]=0;v[f+32>>2]=0;v[f+36>>2]=0;v[f+24>>2]=0;v[f+28>>2]=0;v[f>>2]=0;v[f+4>>2]=0;v[f+56>>2]=0;v[f+40>>2]=0;v[f+44>>2]=0;v[f+16>>2]=0;v[f+20>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;v[f+52>>2]=-1;v[f+32>>2]=1;v[f+28>>2]=1;e=v[c+464>>2];v[c+464>>2]=e+1;v[f>>2]=d;v[f+56>>2]=e;r:{if(!b){break r}a=b;while(1){e=a;a=a+1|0;if(w[e|0]){continue}break}a=0;e=e-b|0;if((e|0)<0){break r}d=Qa[v[256555]](e+1|0)|0;if(!d){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break r}a=cb(d,b,e);t[e+a|0]=0}b=EH(a);e=v[f+4>>2];if(e){Qa[v[256556]](e)}l=f,m=dA(a),v[l+4>>2]=m;if(a){Qa[v[256556]](a)}v[f+8>>2]=b;d=v[v[f>>2]+16>>2];if(!(!d|v[d+32>>2])){a=v[d+8>>2];if(!((a|0)==v[d+24>>2]|a>>>0>2147483646)){v[d+24>>2]=a}e=v[d+20>>2];a=v[d+4>>2];if(!((e|0)==(a|0)|a>>>0>2147483646)){v[d+20>>2]=a;e=a}a=v[d>>2];v[f+12>>2]=a;v[f+16>>2]=a;v[f+20>>2]=a+e}if(v[c+180>>2]|!b){break j}a=b;while(1){e=a;a=a+1|0;if(w[e|0]){continue}break}a=0;e=e-b|0;s:{if((e|0)<0){break s}d=Qa[v[256555]](e+1|0)|0;if(!d){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break s}a=cb(d,b,e);t[e+a|0]=0}v[c+180>>2]=a}Ma=g- -64|0;b=f;break a}a=b?b:311146}d=2;e=0}v[i>>2]=a;b=0;nb(e,f,g,c,0,8,1549,d,a,0,0,0,347307,i)}Ma=i+32|0;return b|0}function YE(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=Ma-1168|0;Ma=e;a:{b:{if(w[b+144|0]){h=Mf();v[e+1160>>2]=0;v[e+1164>>2]=v[279250];f=Qa[v[v[c>>2]+8>>2]](c,e+128|0,1024)|0;if(f){break b}break a}lb(mb(e+128|0,231556,241865,164,226745));L()}while(1){g=e+88|0;i=e+128|0;f=eg(g,i,f);Cd(e+1160|0,g);db(f);f=Qa[v[v[c>>2]+8>>2]](c,i,1024)|0;if(f){continue}break}}c:{d:{c=v[e+1160>>2];if(!c){break d}while(1){if(!(!v[c+8>>2]|w[v[c+12>>2]]!=10)){We(e+88|0,e+1160|0,1,-1);c=v[e+88>>2];e:{if(c){Qa[v[v[c>>2]+28>>2]](e+48|0,c,1);break e}v[e+48>>2]=0}jb(e+1160|0,e+48|0);c=v[e+48>>2];v[e+48>>2]=0;f:{if(!c){break f}f=v[c+4>>2]-1|0;v[c+4>>2]=f;if(f){break f}f=v[c+4>>2];if(!f){v[c+4>>2]=-32767}if(!f){Qa[v[v[c>>2]+4>>2]](c)}}c=v[e+1160>>2];v[e+1164>>2]=v[(c?c+12|0:1117e3)>>2];db(e+88|0);c=v[e+1160>>2];if(c){continue}break d}break}g:{h:{i:{j:{k:{l:{while(1){g=v[c+8>>2];if(!g){break d}i=g-1|0;m:{if(!i){f=0;break m}f=i+((g|0)>0?0:c?g:0)|0;if(!c|(f|0)<0|(f|0)>(g|0)){break l}}if(w[v[c+12>>2]+f|0]==10){dy(e+1160|0,i,0);c=v[e+1160>>2];if(!c){break d}continue}break}if(ye(v[c+12>>2],47)){break k}Qa[v[v[h>>2]+8>>2]](e+88|0,h,b,e+1160|0);c=v[e+96>>2];n:{o:{if(!c|!v[c+8>>2]){break o}Sf(e+48|0,e+88|0);c=v[e+48>>2];if(!c){db(e+48|0);break o}c=v[c+8>>2];db(e+48|0);if(c){break n}}c=e+8|0;vj(c,b+72|0);c=ki(e+48|0,e+1160|0,c);Rf(e+88|0,c);v[c+24>>2]=969432;v[c>>2]=969400;f=v[c+28>>2];if(f){g=v[f+4>>2]-1|0;v[f+4>>2]=g;if(!g){Qa[v[v[f>>2]+4>>2]](f)}v[c+28>>2]=0}v[c+16>>2]=969432;f=v[c+20>>2];if(f){g=v[f+4>>2]-1|0;v[f+4>>2]=g;if(!g){Qa[v[v[f>>2]+4>>2]](f)}v[c+20>>2]=0}db(c+8|0);v[e+32>>2]=969432;v[e+8>>2]=969400;c=v[e+36>>2];if(c){f=v[c+4>>2]-1|0;v[c+4>>2]=f;if(!f){Qa[v[v[c>>2]+4>>2]](c)}v[e+36>>2]=0}v[e+24>>2]=969432;c=v[e+28>>2];if(c){f=v[c+4>>2]-1|0;v[c+4>>2]=f;if(!f){Qa[v[v[c>>2]+4>>2]](c)}v[e+28>>2]=0}db(e+16|0)}p:{q:{c=v[b+120>>2];if(c){while(1){f=e+48|0;fh(f,v[c+8>>2]+72|0);g=e+8|0;fh(g,e+88|0);i=ld(f,g,-1);db(g);db(f);if(!i){break q}c=v[c>>2];if(c){continue}break}}v[e>>2]=0;c=e+48|0;Qa[v[v[h>>2]+12>>2]](c,h,b,e+1160|0);jb(e,c);c=v[e+48>>2];v[e+48>>2]=0;r:{if(!c){break r}f=v[c+4>>2]-1|0;v[c+4>>2]=f;if(f){break r}f=v[c+4>>2];if(!f){v[c+4>>2]=-32767}if(!f){Qa[v[v[c>>2]+4>>2]](c)}}c=v[e>>2];if(!c){break j}f=v[b+132>>2];if(f){Qa[v[v[c>>2]+56>>2]](c,f)}if(w[b+136|0]){c=v[e>>2];Qa[v[v[c>>2]+60>>2]](c,1)}jo(h,v[e>>2],b);if(v[b+148>>2]&512){_r(v[e>>2],0)}if(v[b+148>>2]&1024){_r(v[e>>2],1)}c=v[b+120>>2];if(c){while(1){f=e+48|0;fh(f,v[c+8>>2]+72|0);h=e+8|0;fh(h,e+88|0);g=ld(f,h,-1);db(h);db(f);if(!g){break i}c=v[c>>2];if(c){continue}break}}f=b+112|0;if((d|0)>=0){FE(e+48|0,f,d);b=v[e+48>>2];if(b){break p}}b=ab(12);v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;c=b;d=v[e>>2];if(d){v[d+4>>2]=v[d+4>>2]+1;d=v[e>>2]}else{d=0}v[c+8>>2]=d;de(f,b);break h}b=v[c+8>>2];if(!b){v[a>>2]=0;break g}v[b+4>>2]=v[b+4>>2]+1;v[a>>2]=v[c+8>>2];break g}v[e+52>>2]=v[e+52>>2];v[e+48>>2]=b;b=ab(12);v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;c=b;d=v[e>>2];if(d){v[d+4>>2]=v[d+4>>2]+1;d=v[e>>2]}else{d=0}v[c+8>>2]=d;lR(f,e+48|0,b);break h}ni();L()}lb(mb(e+88|0,290686,241865,577,329273));L()}Rc(e+8|0,348554,e+1160|0);a=v[e+8>>2];lb(mb(e+48|0,v[(a?a+12|0:1117e3)>>2],241865,622,329273));L()}jb(e,c+8|0)}b=v[e>>2];if(!b){v[a>>2]=0;break g}v[b+4>>2]=v[b+4>>2]+1;b=a;a=v[e>>2];v[b>>2]=a;v[e>>2]=0;if(!a){break g}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break g}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}v[e+112>>2]=969432;v[e+88>>2]=969400;a=v[e+116>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Qa[v[v[a>>2]+4>>2]](a)}v[e+116>>2]=0}v[e+104>>2]=969432;a=v[e+108>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Qa[v[v[a>>2]+4>>2]](a)}v[e+108>>2]=0}db(e+96|0);break c}v[a>>2]=0;qb(a,0)}db(e+1160|0);Ma=e+1168|0}function As(a,b,c){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,p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0,A=0;x=w[b|0];t[a+240|0]=x;l=w[b+1|0];t[a+244|0]=l;m=w[b+2|0];t[a+248|0]=m;i=w[b+3|0];t[a+252|0]=i;y=w[b+4|0];t[a+241|0]=y;n=w[b+5|0];t[a+245|0]=n;o=w[b+6|0];t[a+249|0]=o;e=w[b+7|0];t[a+253|0]=e;z=w[b+8|0];t[a+242|0]=z;p=w[b+9|0];t[a+246|0]=p;q=w[b+10|0];t[a+250|0]=q;h=w[b+11|0];t[a+254|0]=h;u=w[b+12|0];t[a+243|0]=u;r=w[b+13|0];t[a+247|0]=r;s=w[b+14|0];t[a+251|0]=s;A=a+240|0;f=v[a+236>>2];d=f^w[b+15|0];g=h;h=v[a+232>>2];k=g^h;g=v[a+228>>2];e=g^e;j=v[a+224>>2];i=j^i;s=s^f>>>8;r=r^f>>>16;u=u^f>>>24;q=q^h>>>8;p=p^h>>>16;h=h>>>24^z;o=o^g>>>8;n=n^g>>>16;g=g>>>24^y;m=m^j>>>8;l=l^j>>>16;j=x^j>>>24;f=13;while(1){t[a+247|0]=w[(p&255)+885520|0];t[a+243|0]=w[(u&255)+885520|0];t[a+242|0]=w[(h&255)+885520|0];t[a+241|0]=w[(g&255)+885520|0];t[a+240|0]=w[(j&255)+885520|0];t[a+246|0]=w[(n&255)+885520|0];t[a+245|0]=w[(l&255)+885520|0];t[a+250|0]=w[(m&255)+885520|0];t[a+248|0]=w[(q&255)+885520|0];t[a+244|0]=w[(r&255)+885520|0];t[a+255|0]=w[(i&255)+885520|0];t[a+254|0]=w[(d&255)+885520|0];t[a+253|0]=w[(k&255)+885520|0];t[a+252|0]=w[(e&255)+885520|0];t[a+251|0]=w[(o&255)+885520|0];t[a+249|0]=w[(s&255)+885520|0];MV(A);d=(f<<4)+a|0;j=w[a+240|0]^w[d+3|0];t[a+240|0]=j;e=v[d>>2];i=e^w[a+252|0];t[a+252|0]=i;l=w[a+244|0]^e>>>16;t[a+244|0]=l;m=w[a+248|0]^e>>>8;t[a+248|0]=m;e=v[d+4>>2];g=w[a+241|0]^e>>>24;t[a+241|0]=g;n=w[a+245|0]^e>>>16;t[a+245|0]=n;e=v[d+4>>2];o=w[a+249|0]^e>>>8;t[a+249|0]=o;e=e^w[a+253|0];t[a+253|0]=e;k=v[d+8>>2];h=w[a+242|0]^k>>>24;t[a+242|0]=h;p=w[a+246|0]^k>>>16;t[a+246|0]=p;q=w[a+250|0]^k>>>8;t[a+250|0]=q;k=w[a+254|0]^w[d+8|0];t[a+254|0]=k;d=v[d+12>>2];u=w[a+243|0]^d>>>24;t[a+243|0]=u;r=w[a+247|0]^d>>>16;t[a+247|0]=r;s=w[a+251|0]^d>>>8;t[a+251|0]=s;d=d^w[a+255|0];t[a+255|0]=d;x=f>>>0>1;f=f-1|0;if(x){continue}break}f=w[(e&255)+885520|0];e=v[a>>2];f=f^e;t[a+252|0]=f;q=w[(q&255)+885520|0]^e>>>8;t[a+248|0]=q;r=w[(r&255)+885520|0]^e>>>16;t[a+244|0]=r;j=w[(j&255)+885520|0]^e>>>24;t[a+240|0]=j;e=v[a+4>>2];k=e^w[(k&255)+885520|0];t[a+253|0]=k;s=w[(s&255)+885520|0]^e>>>8;t[a+249|0]=s;l=w[(l&255)+885520|0]^e>>>16;t[a+245|0]=l;e=w[(g&255)+885520|0]^e>>>24;t[a+241|0]=e;g=w[(d&255)+885520|0];d=v[a+8>>2];g=g^d;t[a+254|0]=g;m=w[(m&255)+885520|0]^d>>>8;t[a+250|0]=m;n=w[(n&255)+885520|0]^d>>>16;t[a+246|0]=n;h=w[(h&255)+885520|0]^d>>>24;t[a+242|0]=h;d=v[a+12>>2];i=d^w[(i&255)+885520|0];t[a+255|0]=i;o=w[(o&255)+885520|0]^d>>>8;t[a+251|0]=o;p=w[(p&255)+885520|0]^d>>>16;t[a+247|0]=p;d=w[(u&255)+885520|0]^d>>>24;t[a+243|0]=d;t[a+272|0]=j^w[a+256|0];t[a+273|0]=r^w[a+257|0];t[a+274|0]=q^w[a+258|0];t[a+275|0]=f^w[a+259|0];t[a+276|0]=e^w[a+260|0];t[a+277|0]=l^w[a+261|0];t[a+278|0]=s^w[a+262|0];t[a+279|0]=k^w[a+263|0];t[a+280|0]=h^w[a+264|0];t[a+281|0]=n^w[a+265|0];t[a+282|0]=m^w[a+266|0];t[a+283|0]=g^w[a+267|0];t[a+284|0]=d^w[a+268|0];t[a+285|0]=p^w[a+269|0];t[a+286|0]=o^w[a+270|0];e=i^w[a+271|0];t[a+287|0]=e;t[a+256|0]=w[b|0];t[a+257|0]=w[b+1|0];t[a+258|0]=w[b+2|0];t[a+259|0]=w[b+3|0];t[a+260|0]=w[b+4|0];t[a+261|0]=w[b+5|0];t[a+262|0]=w[b+6|0];t[a+263|0]=w[b+7|0];t[a+264|0]=w[b+8|0];t[a+265|0]=w[b+9|0];t[a+266|0]=w[b+10|0];t[a+267|0]=w[b+11|0];t[a+268|0]=w[b+12|0];t[a+269|0]=w[b+13|0];t[a+270|0]=w[b+14|0];b=w[b+15|0];v[a+288>>2]=0;t[a+271|0]=b;if(c){d=15;b=((e-1&255)>>>0<16?e:16)&255;a:{if(b>>>0>15){break a}c=16-b|0;e=c&3;if(15-b>>>0>=3){i=c&-4;c=a+272|0;while(1){t[c+d|0]=w[c+(d-b|0)|0];f=d-1|0;t[f+c|0]=w[c+(f-b|0)|0];f=d-2|0;t[f+c|0]=w[c+(f-b|0)|0];f=d-3|0;t[f+c|0]=w[c+(f-b|0)|0];d=d-4|0;i=i-4|0;if(i){continue}break}}if(!e){break a}c=a+272|0;while(1){t[c+d|0]=w[c+(d-b|0)|0];d=d-1|0;e=e-1|0;if(e){continue}break}}v[a+288>>2]=b}}function LV(a,b,c){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,p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0,A=0;x=w[b|0];t[a+176|0]=x;l=w[b+1|0];t[a+180|0]=l;m=w[b+2|0];t[a+184|0]=m;i=w[b+3|0];t[a+188|0]=i;y=w[b+4|0];t[a+177|0]=y;n=w[b+5|0];t[a+181|0]=n;o=w[b+6|0];t[a+185|0]=o;e=w[b+7|0];t[a+189|0]=e;z=w[b+8|0];t[a+178|0]=z;p=w[b+9|0];t[a+182|0]=p;q=w[b+10|0];t[a+186|0]=q;h=w[b+11|0];t[a+190|0]=h;u=w[b+12|0];t[a+179|0]=u;r=w[b+13|0];t[a+183|0]=r;s=w[b+14|0];t[a+187|0]=s;A=a+176|0;f=v[a+172>>2];d=f^w[b+15|0];g=h;h=v[a+168>>2];k=g^h;g=v[a+164>>2];e=g^e;j=v[a+160>>2];i=j^i;s=s^f>>>8;r=r^f>>>16;u=u^f>>>24;q=q^h>>>8;p=p^h>>>16;h=h>>>24^z;o=o^g>>>8;n=n^g>>>16;g=g>>>24^y;m=m^j>>>8;l=l^j>>>16;j=x^j>>>24;f=9;while(1){t[a+183|0]=w[(p&255)+885520|0];t[a+179|0]=w[(u&255)+885520|0];t[a+178|0]=w[(h&255)+885520|0];t[a+177|0]=w[(g&255)+885520|0];t[a+176|0]=w[(j&255)+885520|0];t[a+182|0]=w[(n&255)+885520|0];t[a+181|0]=w[(l&255)+885520|0];t[a+186|0]=w[(m&255)+885520|0];t[a+184|0]=w[(q&255)+885520|0];t[a+180|0]=w[(r&255)+885520|0];t[a+191|0]=w[(i&255)+885520|0];t[a+190|0]=w[(d&255)+885520|0];t[a+189|0]=w[(k&255)+885520|0];t[a+188|0]=w[(e&255)+885520|0];t[a+187|0]=w[(o&255)+885520|0];t[a+185|0]=w[(s&255)+885520|0];MV(A);d=(f<<4)+a|0;j=w[a+176|0]^w[d+3|0];t[a+176|0]=j;e=v[d>>2];i=e^w[a+188|0];t[a+188|0]=i;l=w[a+180|0]^e>>>16;t[a+180|0]=l;m=w[a+184|0]^e>>>8;t[a+184|0]=m;e=v[d+4>>2];g=w[a+177|0]^e>>>24;t[a+177|0]=g;n=w[a+181|0]^e>>>16;t[a+181|0]=n;e=v[d+4>>2];o=w[a+185|0]^e>>>8;t[a+185|0]=o;e=e^w[a+189|0];t[a+189|0]=e;k=v[d+8>>2];h=w[a+178|0]^k>>>24;t[a+178|0]=h;p=w[a+182|0]^k>>>16;t[a+182|0]=p;q=w[a+186|0]^k>>>8;t[a+186|0]=q;k=w[a+190|0]^w[d+8|0];t[a+190|0]=k;d=v[d+12>>2];u=w[a+179|0]^d>>>24;t[a+179|0]=u;r=w[a+183|0]^d>>>16;t[a+183|0]=r;s=w[a+187|0]^d>>>8;t[a+187|0]=s;d=d^w[a+191|0];t[a+191|0]=d;x=f>>>0>1;f=f-1|0;if(x){continue}break}f=w[(e&255)+885520|0];e=v[a>>2];f=f^e;t[a+188|0]=f;q=w[(q&255)+885520|0]^e>>>8;t[a+184|0]=q;r=w[(r&255)+885520|0]^e>>>16;t[a+180|0]=r;j=w[(j&255)+885520|0]^e>>>24;t[a+176|0]=j;e=v[a+4>>2];k=e^w[(k&255)+885520|0];t[a+189|0]=k;s=w[(s&255)+885520|0]^e>>>8;t[a+185|0]=s;l=w[(l&255)+885520|0]^e>>>16;t[a+181|0]=l;e=w[(g&255)+885520|0]^e>>>24;t[a+177|0]=e;g=w[(d&255)+885520|0];d=v[a+8>>2];g=g^d;t[a+190|0]=g;m=w[(m&255)+885520|0]^d>>>8;t[a+186|0]=m;n=w[(n&255)+885520|0]^d>>>16;t[a+182|0]=n;h=w[(h&255)+885520|0]^d>>>24;t[a+178|0]=h;d=v[a+12>>2];i=d^w[(i&255)+885520|0];t[a+191|0]=i;o=w[(o&255)+885520|0]^d>>>8;t[a+187|0]=o;p=w[(p&255)+885520|0]^d>>>16;t[a+183|0]=p;d=w[(u&255)+885520|0]^d>>>24;t[a+179|0]=d;t[a+208|0]=j^w[a+192|0];t[a+209|0]=r^w[a+193|0];t[a+210|0]=q^w[a+194|0];t[a+211|0]=f^w[a+195|0];t[a+212|0]=e^w[a+196|0];t[a+213|0]=l^w[a+197|0];t[a+214|0]=s^w[a+198|0];t[a+215|0]=k^w[a+199|0];t[a+216|0]=h^w[a+200|0];t[a+217|0]=n^w[a+201|0];t[a+218|0]=m^w[a+202|0];t[a+219|0]=g^w[a+203|0];t[a+220|0]=d^w[a+204|0];t[a+221|0]=p^w[a+205|0];t[a+222|0]=o^w[a+206|0];e=i^w[a+207|0];t[a+223|0]=e;t[a+192|0]=w[b|0];t[a+193|0]=w[b+1|0];t[a+194|0]=w[b+2|0];t[a+195|0]=w[b+3|0];t[a+196|0]=w[b+4|0];t[a+197|0]=w[b+5|0];t[a+198|0]=w[b+6|0];t[a+199|0]=w[b+7|0];t[a+200|0]=w[b+8|0];t[a+201|0]=w[b+9|0];t[a+202|0]=w[b+10|0];t[a+203|0]=w[b+11|0];t[a+204|0]=w[b+12|0];t[a+205|0]=w[b+13|0];t[a+206|0]=w[b+14|0];b=w[b+15|0];v[a+224>>2]=0;t[a+207|0]=b;if(c){d=15;b=((e-1&255)>>>0<16?e:16)&255;a:{if(b>>>0>15){break a}c=16-b|0;e=c&3;if(15-b>>>0>=3){i=c&-4;c=a+208|0;while(1){t[c+d|0]=w[c+(d-b|0)|0];f=d-1|0;t[f+c|0]=w[c+(f-b|0)|0];f=d-2|0;t[f+c|0]=w[c+(f-b|0)|0];f=d-3|0;t[f+c|0]=w[c+(f-b|0)|0];d=d-4|0;i=i-4|0;if(i){continue}break}}if(!e){break a}c=a+208|0;while(1){t[c+d|0]=w[c+(d-b|0)|0];d=d-1|0;e=e-1|0;if(e){continue}break}}v[a+224>>2]=b}}function Jq(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=Ma-16|0;Ma=f;g=v[a+100>>2];v[f+8>>2]=0;d=Bl(b,v[a+92>>2]);a:{if(d){b:{c:{d:{e=v[a+80>>2];d=v[d>>2];a=e+(d<<4)|0;switch(v[a+4>>2]-1|0){case 2:break b;case 1:break c;case 0:break d;default:break a}}b=v[a+12>>2];if(b){Qa[v[g+8>>2]](g,b)}v[a+12>>2]=0;if(!c|!w[c|0]){break a}l=a,m=Ij(g,c,f+8|0),v[l+12>>2]=m;break a}a=0;e:{if(!c){break e}g=w[c|0];if(!g){break e}b=0;g=(g|0)==45;c=g+c|0;a=t[c|0];f:{if(!(w[((a&248)>>>3|0)+425600|0]>>>(a&7)&1)){break f}while(1){if((b|0)>214748362){b=2147483647;break f}b=w[a+425632|0]+B(b,10)|0;a=t[c+1|0];c=c+1|0;if(w[((a&248)>>>3|0)+425600|0]>>>(a&7)&1){continue}break}}a=g?0-b|0:b}v[(e+(d<<4)|0)+12>>2]=a;break a}b=0;g:{if(!c){break g}a=t[c|0];g=a&255;if(!g|!(w[(g>>>3|0)+425600|0]>>>(a&7)&1)){break g}while(1){if(b>>>0>429496727){b=-1;break g}b=w[a+425632|0]+B(b,10)|0;a=t[c+1|0];c=c+1|0;if(w[((a&248)>>>3|0)+425600|0]>>>(a&7)&1){continue}break}}v[(e+(d<<4)|0)+12>>2]=b;break a}h:{i=a+112|0;e=Bl(b,i);if(!e){e=v[a+100>>2];v[f+12>>2]=0;if(!Bl(b,i)){d=v[a+108>>2];d=yb(e,16,d,d+1|0,v[a+104>>2],f+12|0);v[a+104>>2]=d;h=v[f+12>>2];if(h){break h}d=d+(v[a+108>>2]<<4)|0;v[d>>2]=0;v[d+4>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;k=zb(b)+1|0;j=yb(e,1,0,k,0,f+12|0);v[d>>2]=j;h=v[f+12>>2];if(h){break h}cb(j,b,k);v[d+4>>2]=1;v[d+8>>2]=0;h=dB(v[d>>2],v[a+108>>2]+83|0,i,e);if(h){break h}v[a+108>>2]=v[a+108>>2]+1}v[f+8>>2]=0;e=Bl(b,i)}d=v[a+76>>2];if((d|0)==v[a+72>>2]){i:{if(!d){d=yb(g,16,0,1,0,f+8|0);v[a+80>>2]=d;if(!v[f+8>>2]){break i}break a}d=yb(g,16,d,d+1|0,v[a+80>>2],f+8|0);v[a+80>>2]=d;if(v[f+8>>2]){break a}}d=(v[a+72>>2]<<4)+d|0;v[d>>2]=0;v[d+4>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[a+72>>2]=v[a+72>>2]+1}h=v[a+80>>2];i=v[a+76>>2];k=h+(i<<4)|0;j=k;d=v[e>>2];j:{if(d>>>0>=83){d=(v[a+104>>2]+(d<<4)|0)-1328|0;break j}d=(d<<4)+424240|0}v[j>>2]=v[d>>2];v[k+4>>2]=v[d+4>>2];v[k+8>>2]=v[d+8>>2];k:{l:{m:{switch(v[d+4>>2]-1|0){case 0:v[k+12>>2]=0;if(!c|!w[c|0]){break k}l=k,m=Ij(g,c,f+8|0),v[l+12>>2]=m;if(!v[f+8>>2]){break k}break a;case 1:d=0;if(!c){break l}e=w[c|0];if(!e){break l}j=(e|0)==45;e=j+c|0;c=t[e|0];n:{if(!(w[((c&248)>>>3|0)+425600|0]>>>(c&7)&1)){break n}while(1){if((d|0)>214748362){d=2147483647;break n}d=w[c+425632|0]+B(d,10)|0;c=t[e+1|0];e=e+1|0;if(w[((c&248)>>>3|0)+425600|0]>>>(c&7)&1){continue}break}}d=j?0-d|0:d;break l;case 2:break m;default:break k}}d=0;if(!c){break l}e=t[c|0];j=e&255;if(!j|!(w[(j>>>3|0)+425600|0]>>>(e&7)&1)){break l}while(1){if(d>>>0>429496727){d=-1;break l}d=w[e+425632|0]+B(d,10)|0;e=t[c+1|0];c=c+1|0;if(w[((e&248)>>>3|0)+425600|0]>>>(e&7)&1){continue}break}}v[(h+(i<<4)|0)+12>>2]=d}o:{p:{if(Kb(b,309303,7)){break p}switch(w[b+7|0]){case 0:case 9:case 10:case 13:case 32:break o;default:break p}}c=dB(v[k>>2],v[a+76>>2],v[a+92>>2],g);v[f+8>>2]=c;if(c){break a}}v[a+76>>2]=v[a+76>>2]+1;q:{if(Kb(b,310437,12)){break q}r:{switch(w[b+12|0]){case 0:case 9:case 10:case 13:case 32:break r;default:break q}}v[a+36>>2]=v[(h+(i<<4)|0)+12>>2];break a}s:{if(Kb(b,309390,11)){break s}t:{switch(w[b+11|0]){case 0:case 9:case 10:case 13:case 32:break t;default:break s}}v[a+40>>2]=v[(h+(i<<4)|0)+12>>2];break a}u:{if(Kb(b,309345,12)){break u}v:{switch(w[b+12|0]){case 0:case 9:case 10:case 13:case 32:break v;default:break u}}v[a+44>>2]=v[(h+(i<<4)|0)+12>>2];break a}if(Kb(b,311584,7)){break a}w:{switch(w[b+7|0]){case 0:case 9:case 10:case 13:case 32:break w;default:break a}}b=v[(h+(i<<4)|0)+12>>2];if(!b){v[f+8>>2]=3;break a}x:{switch(w[b|0]-67|0){case 13:case 45:v[a+28>>2]=8;break a;case 10:case 42:v[a+28>>2]=16;break a;case 0:case 32:break x;default:break a}}v[a+28>>2]=32;break a}v[f+8>>2]=h}Ma=f+16|0;return v[f+8>>2]}function li(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=C(0),k=0,l=0,m=C(0),n=0,o=C(0),p=C(0);k=Ma-16|0;Ma=k;v[k+12>>2]=c;d=or(a,b);a:{if(!d){break a}if(b>>>0<=65535){d=x[d+12>>1];if(!(v[((d>>>3&8188)+a|0)+40>>2]>>>d&1)){break a}}g=Qa[v[a+672>>2]](a,b,c)|0}b:{if(g){break b}c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{switch(b-254|0){default:p:{switch(b-529|0){case 0:break i;case 3:break d;case 2:break g;case 1:break h;default:break p}}switch(b-32995|0){case 2:break j;case 1:break l;case 3:break m;case 0:break n;default:break b};case 0:v[v[c>>2]>>2]=v[a+80>>2];break b;case 4:u[v[c>>2]>>1]=x[a+84>>1];break b;case 9:u[v[c>>2]>>1]=x[a+92>>1];break b;case 12:u[v[c>>2]>>1]=x[a+94>>1];break b;case 20:u[v[c>>2]>>1]=x[a+96>>1];break b;case 23:u[v[c>>2]>>1]=x[a+98>>1];break b;case 24:v[v[c>>2]>>2]=v[a+100>>2];break b;case 26:u[v[c>>2]>>1]=x[a+104>>1];break b;case 27:u[v[c>>2]>>1]=x[a+106>>1];break b;case 30:u[v[c>>2]>>1]=x[a+138>>1];break b;case 42:u[v[c>>2]>>1]=x[a+136>>1];break b;case 63:u[v[c>>2]>>1]=v[v[a+584>>2]>>2];break b;case 82:u[v[c>>2]>>1]=0;u[v[c+4>>2]>>1]=-1<>1]^-1;break b;case 78:u[v[c>>2]>>1]=1;break b;case 80:u[v[c>>2]>>1]=4;break b;case 85:break k;case 84:break o;case 1:case 2:case 3:case 5:case 6:case 7:case 8:case 10:case 11:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 21:case 22:case 25:case 28:case 29:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 43:case 44:case 45:case 46:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 58:case 59:case 60:case 61:case 62:case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 79:case 81:case 83:break b;case 47:break e;case 64:break f}}u[v[c>>2]>>1]=x[a+168>>1];v[v[c+4>>2]>>2]=v[a+172>>2];break b}u[v[c>>2]>>1]=x[v[a+172>>2]>>1]==1&x[a+168>>1]==1;break b}v[v[c>>2]>>2]=v[a+76>>2];break b}u[v[c>>2]>>1]=x[a+86>>1]-1;break b}u[v[c>>2]>>1]=x[a+86>>1];break b}v[v[c>>2]>>2]=v[a- -64>>2];break b}v[v[c>>2]>>2]=1015100;break b}u[v[c>>2]>>1]=x[a+204>>1];u[v[c+4>>2]>>1]=x[a+206>>1];break b}u[v[c>>2]>>1]=x[a+208>>1];break b}v[279421]=1051788566;v[279422]=1052218684;v[v[c>>2]>>2]=1117684;break b}b=v[a+216>>2];if(!b){v[a+216>>2]=0;v[a+220>>2]=0;v[a+224>>2]=0;f=x[a+84>>1];q:{if(f>>>0>29){break q}d=1<>2]=b;if(!b){break q}u[b>>1]=0;r:{if((d|0)<2){break r}h=+(d|0)+-1;e=1;d=d-1|0;n=d&1;if((f|0)!=1){d=d&-2;while(1){l=b+(e<<1)|0;i=H(pd(+(e|0)/h,2.2)*65535+.5);s:{if(i<4294967296&i>=0){f=~~i>>>0;break s}f=0}u[l>>1]=f;f=e+1|0;l=b+(f<<1)|0;i=H(pd(+(f|0)/h,2.2)*65535+.5);t:{if(i<4294967296&i>=0){f=~~i>>>0;break t}f=0}u[l>>1]=f;e=e+2|0;d=d-2|0;if(d){continue}break}}if(!n){break r}d=b+(e<<1)|0;h=H(pd(+(e|0)/h,2.2)*65535+.5);u:{if(h<4294967296&h>=0){b=~~h>>>0;break u}b=0}u[d>>1]=b}e=1;if((x[a+98>>1]-x[a+168>>1]|0)<2){break q}b=gb(g);v[a+220>>2]=b;v:{if(!b){break v}Fd(b,v[a+216>>2],g);b=gb(g);v[a+224>>2]=b;if(!b){break v}Fd(b,v[a+216>>2],g);break q}b=v[a+216>>2];if(b){$a(b)}b=v[a+220>>2];if(b){$a(b)}b=v[a+224>>2];if(b){$a(b)}e=0;v[a+224>>2]=0;v[a+216>>2]=0;v[a+220>>2]=0}if(!e){break c}b=v[a+216>>2]}v[v[c>>2]>>2]=b;if((x[a+98>>1]-x[a+168>>1]|0)<2){break b}v[v[c+4>>2]>>2]=v[a+220>>2];v[v[c+8>>2]>>2]=v[a+224>>2];break b}b=v[a+212>>2];if(!b){e=gb(24);v[a+212>>2]=e;b=0;w:{if(!e){break w}x:{if(x[a+90>>1]==6){o=C(128);d=4;g=12;j=C(255);p=C(255);m=C(128);f=8;b=20;break x}d=12;g=8;j=C(-1<>1]^-1);m=j;f=20;b=4}v[e>>2]=0;z[b+e>>2]=j;z[e+g>>2]=p;z[e+d>>2]=j;z[e+16>>2]=o;z[e+f>>2]=m;b=1}if(!b){break b}b=v[a+212>>2]}v[v[c>>2]>>2]=b;break b}wb(v[a+628>>2],v[a>>2],5630,0)}Ma=k+16|0}function uWa(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,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,z=0;a:{b:{c:{if(w[a+286|0]|!w[a+285|0]|(w[a+287|0]|w[a+288|0])){break c}if(w[a+289|0]){break c}d:{if(c>>>0<2){break d}g=d;while(1){j=w[g+1|0];f=g+1|0;g=f;if(j){continue}break}g=(f-d|0)>(c|0)?c+d|0:f;f=g-d|0;j=c-f|0;j=j?j-1|0:0;if(j-1>>>0<=2){break b}k=f-1|0;if(!j){j=0;break d}f=w[g+1|0]?8:4;f=w[g+2|0]?f+4|0:f;l=w[g+3|0]?f+17|0:f;if(w[g+4|0]){if(!(j-l&3)){break d}break b}f=(j|0)==(l|0);l=j;if(f){break d}break b}e:{f:{g:{if(!c){break g}i=w[d|0];f=0;h:{if(!i){break h}f=i;if(!w[a+264|0]){break h}i=i-1|0;f=1;if((i&255)>>>0>4){break h}i=(i&255)<<3;f=i&31;f=(i&63)>>>0>=32?2>>>f|0:((1<>>f}m=f;if(!j){break g}n=w[g+2|0];o=w[g+1|0];if(o){f=w[g+5|0]|w[g+6|0]<<8|(w[g+7|0]<<16|w[g+8|0]<<24);q=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=g+9|0}else{f=g+5|0}i=w[g+3|0];if(n){h=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);r=h<<24|h<<8&16711680|(h>>>8&65280|h>>>24);f=f+4|0}if(i&255){break f}}i=0;f=0;break e}h=w[f+13|0]|w[f+14|0]<<8|(w[f+15|0]<<16|w[f+16|0]<<24);s=h<<24|h<<8&16711680|(h>>>8&65280|h>>>24);h=w[f+9|0]|w[f+10|0]<<8|(w[f+11|0]<<16|w[f+12|0]<<24);u=h<<24|h<<8&16711680|(h>>>8&65280|h>>>24);h=w[f+5|0]|w[f+6|0]<<8|(w[f+7|0]<<16|w[f+8|0]<<24);x=h<<24|h<<8&16711680|(h>>>8&65280|h>>>24);h=w[f+1|0]|w[f+2|0]<<8|(w[f+3|0]<<16|w[f+4|0]<<24);z=h<<24|h<<8&16711680|(h>>>8&65280|h>>>24);f=w[f|0]}i:{m=m&255;i=i&255;h=f&255;j:{if(w[a+114|0]){f=Qa[v[a+152>>2]](64)|0;if(!f){ob(a,1,0,0);i=1;break j}v[f+4>>2]=723;v[f>>2]=724;p=v[a+700>>2];k:{if(p){v[p+8>>2]=f;break k}v[a+696>>2]=f}v[f+8>>2]=0;v[f+12>>2]=p;v[a+700>>2]=f;v[f+16>>2]=v[a+436>>2];v[f+20>>2]=v[a+440>>2];v[f+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=f}v[f+60>>2]=s;v[f+56>>2]=u;v[f+52>>2]=x;v[f+48>>2]=z;t[f+45|0]=h;t[f+44|0]=i;v[f+40>>2]=r;t[f+36|0]=n;v[f+32>>2]=q;t[f+29|0]=o;t[f+28|0]=m}i=d4(a,m,o,q,n,r,i,h,z,x,u,s)}l:{if(i){break l}if(!w[a+112|0]){return 0}i=Qa[v[b+4>>2]](a,b,e)|0;if(i){break l}f=v[e>>2];b=!c;t[f+32|0]=b;if(b){return 0}c=w[d|0];b=c;m:{if(!w[a+264|0]){break m}c=c-1|0;b=1;if((c&255)>>>0>4){break m}c=(c&255)<<3;b=c&31;b=(c&63)>>>0>=32?2>>>b|0:((1<>>b}v[f+36>>2]=k;t[f+33|0]=b;if(k){b=Qa[v[a+152>>2]](k+1|0)|0;v[v[e>>2]+40>>2]=b;b=v[v[e>>2]+40>>2];if(!b){break a}cb(b,d+1|0,k)}if(!j){return 0}b=v[e>>2];c=w[g+1|0];t[b+44|0]=c;d=w[g+2|0];t[b+45|0]=d;f=w[g+3|0];t[b+46|0]=f;i=w[g+4|0];t[b+47|0]=i;if(c){c=w[g+5|0]|w[g+6|0]<<8|(w[g+7|0]<<16|w[g+8|0]<<24);v[b+48>>2]=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=g+9|0}else{c=g+5|0}if(d){d=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);v[b+52>>2]=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);c=c+4|0}if(f){t[b+56|0]=w[c|0];d=w[c+1|0]|w[c+2|0]<<8|(w[c+3|0]<<16|w[c+4|0]<<24);v[b+60>>2]=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=w[c+5|0]|w[c+6|0]<<8|(w[c+7|0]<<16|w[c+8|0]<<24);v[b+64>>2]=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=w[c+9|0]|w[c+10|0]<<8|(w[c+11|0]<<16|w[c+12|0]<<24);v[b+68>>2]=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=w[c+13|0]|w[c+14|0]<<8|(w[c+15|0]<<16|w[c+16|0]<<24);v[b+72>>2]=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);c=c+17|0}if(!i){return 0}d=b;b=j-l|0;v[d+76>>2]=b>>>2;i=0;if(b>>>0<4){break l}b=Qa[v[a+152>>2]](b&-4)|0;v[v[e>>2]+80>>2]=b;e=v[e>>2];d=v[e+80>>2];if(!d){break i}if(!v[e+76>>2]){break l}b=0;while(1){a=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);v[d>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);c=c+4|0;d=d+4|0;b=b+1|0;if(b>>>0>2]){continue}break}}return i|0}break a}ob(a,1029,0,0);return 1029}ob(a,1028,0,0);return 1028}ob(a,1,0,0);return 1}function MJa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;if(v[a+36>>2]>=1){l=v[a+468>>2];i=v[a+216>>2];while(1){d=b;h=e;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{g=v[i+36>>2];c=v[i+40>>2]+(g<<8)|0;if((c|0)<=2051){if((c|0)<=1025){K:{switch(c-513|0){case 3:break i;case 0:break p;case 1:break J;case 2:break e;default:break K}}b=230;e=0;L:{switch(c-257|0){case 1:break h;case 0:break a;default:break L}}switch(c-771|0){case 3:break j;case 0:break I;default:break e}}if((c|0)<=1538){M:{switch(c-1026|0){case 6:break k;case 0:break q;case 2:break H;case 1:case 3:case 4:case 5:break e;default:break M}}switch(c-1285|0){case 5:break l;case 0:break G;default:break e}}N:{switch(c-1539|0){case 9:break m;case 0:break r;case 3:break F;case 1:case 2:case 4:case 5:case 6:case 7:case 8:break e;default:break N}}switch(c-1799|0){case 7:break n;case 0:break E;default:break e}}if((c|0)<=3077){if((c|0)<=2564){switch(c-2052|0){case 12:break o;case 0:break s;case 1:case 2:case 3:case 5:case 6:case 7:case 8:case 9:case 10:case 11:break e;case 4:break g;default:break f}}switch(c-2565|0){case 0:break t;case 5:break D;case 1:case 2:case 3:case 4:break e;default:break C}}if((c|0)<=3590){switch(c-3078|0){case 0:break u;case 6:break B;case 1:case 2:case 3:case 4:case 5:break e;default:break A}}O:{switch(c-3591|0){case 0:break v;case 7:break z;case 1:case 2:case 3:case 4:case 5:case 6:break e;default:break O}}switch(c-4104|0){case 0:break w;case 8:break x;case 1:case 2:case 3:case 4:case 5:case 6:case 7:break e;default:break y}}b=231;e=0;break a}b=232;break a}b=233;e=0;break a}b=234;e=0;break a}b=235;e=0;break a}b=236;e=0;break a}b=237;e=0;break a}if((c|0)!=2827){break e}b=238;e=0;break a}b=239;e=0;break a}if((c|0)!=3341){break e}b=240;e=0;break a}b=241;e=0;break a}if((c|0)!=3855){break e}b=242;e=0;break a}b=243;e=0;break a}b=244;e=0;break a}b=245;e=0;break a}b=246;e=0;break a}b=247;e=0;break a}b=248;e=0;break a}b=249;e=0;break a}b=250;e=0;break a}b=251;e=0;break a}b=252;e=0;break a}b=253;e=0;break a}b=254;e=0;break a}b=255;e=0;break a}b=256;e=0;break a}b=257;break a}b=258;e=0;break a}b=259;break a}e=v[a+72>>2];if(e>>>0<3){break d}b=v[a>>2];v[b+20>>2]=49;Qa[v[b>>2]](a);break c}if((c|0)==2313){break b}}b=v[a>>2];v[b+24>>2]=g;v[b+20>>2]=7;v[v[a>>2]+28>>2]=v[i+40>>2];Qa[v[v[a>>2]>>2]](a);break c}b=v[(e<<2)+71808>>2];break a}b=d;e=h;break a}b=260;e=0}d=(k<<2)+l|0;v[d+4>>2]=b;P:{if(!v[i+52>>2]|v[d+44>>2]==(e|0)){break P}h=v[i+80>>2];if(!h){break P}v[d+44>>2]=e;Q:{switch(e|0){case 0:c=v[i+84>>2];d=0;while(1){v[c+(d<<2)>>2]=x[h+(d<<1)>>1];g=d|1;v[c+(g<<2)>>2]=x[h+(g<<1)>>1];g=d|2;v[c+(g<<2)>>2]=x[h+(g<<1)>>1];g=d|3;v[c+(g<<2)>>2]=x[h+(g<<1)>>1];d=d+4|0;if((d|0)!=64){continue}break};break P;case 1:c=v[i+84>>2];d=0;while(1){g=d<<1;v[c+(d<<2)>>2]=B(u[g+71616>>1],x[h+g>>1])+2048>>12;f=d|1;g=f<<1;v[c+(f<<2)>>2]=B(u[g+71616>>1],x[h+g>>1])+2048>>12;d=d+2|0;if((d|0)!=64){continue}break};break P;case 2:c=v[i+84>>2];g=0;d=0;while(1){j=A[(g<<3)+71744>>3];z[c+(d<<2)>>2]=j*+x[h+(d<<1)>>1]*.125;f=d|1;z[c+(f<<2)>>2]=j*+x[h+(f<<1)>>1]*1.387039845*.125;f=d|2;z[c+(f<<2)>>2]=j*+x[h+(f<<1)>>1]*1.306562965*.125;f=d|3;z[c+(f<<2)>>2]=j*+x[h+(f<<1)>>1]*1.175875602*.125;f=d|4;z[c+(f<<2)>>2]=j*+x[h+(f<<1)>>1]*.125;f=d|5;z[c+(f<<2)>>2]=j*+x[h+(f<<1)>>1]*.785694958*.125;f=d|6;z[c+(f<<2)>>2]=j*+x[h+(f<<1)>>1]*.5411961*.125;f=d|7;z[c+(f<<2)>>2]=j*+x[h+(f<<1)>>1]*.275899379*.125;d=d+8|0;g=g+1|0;if((g|0)!=8){continue}break};break P;default:break Q}}d=v[a>>2];v[d+20>>2]=49;Qa[v[d>>2]](a)}i=i+88|0;k=k+1|0;if((k|0)>2]){continue}break}}}function TR(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,x=0,z=0,B=0,C=0,E=0;f=Ma+-64|0;Ma=f;a:{if(w[a+144|0]){i=a+72|0;j=eh(i);h=v[v[c+12>>2]+((j>>>0)%y[c+8>>2]<<2)>>2];b:{if(h){while(1){if((j|0)==v[h+12>>2]){if(ff(h+16|0,i)){break b}}h=v[h+8>>2];if(h){continue}break}}s=v[c+4>>2];B=il(c,i),C=0,v[B+52>>2]=C;i=f+32|0;th(i,v[a+108>>2]);v[f+24>>2]=0;v[f+28>>2]=v[279250];Ve(f+16|0,i);k=v[f+16>>2];if(!Ad(k,f+24|0,0)){break a}if(!s){i=v[f+24>>2];Uf(b,v[(i?i+12|0:1117e3)>>2],0)}l=a+44|0;m=a+40|0;n=a+36|0;h=v[a+140>>2];i=v[a+132>>2]>1?h:-1;c:{if(!i){j=0;break c}x=e^1;z=d^1;h=i;j=0;d:{while(1){if(!Ad(k,f+24|0,0)){break d}h=h-1|0;e:{f:{if(!(Hb(f+24|0,310682,-1)|!v[a+8>>2])){d=v[f+24>>2];Uf(b,v[(d?d+12|0:1117e3)>>2],0);g=v[a+8>>2];v[f+40>>2]=0;qb(f+40|0,b);d=v[f+40>>2];Uu(d,v[g+8>>2]);Uu(d,v[g+12>>2]);mg(d,w[g+16|0]);mg(d,v[g+16>>2]>>8);mg(d,w[g+20|0]);mg(d,v[g+20>>2]>>8);o=d;t=A[g+24>>3]*10+.5;g:{if(D(t)<2147483648){u=~~t;break g}u=-2147483648}mg(o,u);g=v[g+32>>2]-1|0;if(g>>>0<=2){o=v[(g<<2)+972200>>2]}else{o=0}mg(d,o);d=v[f+40>>2];v[f+40>>2]=0;if(!d){break f}g=v[d+4>>2]-1|0;v[d+4>>2]=g;if(g){break f}g=v[d+4>>2];if(!g){v[d+4>>2]=-32767}if(!g){Qa[v[v[d>>2]+4>>2]](d)}break f}if(!((Hb(f+24|0,311183,-1)|0)!=0|z)){v[f+8>>2]=0;qb(f+8|0,k);YE(f+40|0,a,v[f+8>>2],-1);d=v[f+8>>2];v[f+8>>2]=0;h:{if(!d){break h}g=v[d+4>>2]-1|0;v[d+4>>2]=g;if(g){break h}g=v[d+4>>2];if(!g){v[d+4>>2]=-32767}if(!g){Qa[v[v[d>>2]+4>>2]](d)}}d=v[f+40>>2];if(d){g=v[a+132>>2];if(g){Qa[v[v[d>>2]+56>>2]](d,g)}if(w[a+136|0]){d=v[f+40>>2];Qa[v[v[d>>2]+60>>2]](d,1)}TR(v[f+40>>2],b,c,1,e);d=v[f+40>>2]}v[f+40>>2]=0;if(!d){break e}g=v[d+4>>2]-1|0;v[d+4>>2]=g;if(g){break e}g=v[d+4>>2];if(!g){v[d+4>>2]=-32767}if(!g){Qa[v[v[d>>2]+4>>2]](d)}break e}i:{j:{if(!Hb(f+24|0,306565,-1)){break j}if(!Hb(f+24|0,217592,-1)){break j}if(Hb(f+24|0,310650,-1)){break i}}d=v[n>>2];if(!d){break i}if(!(Qa[v[v[d>>2]+28>>2]](d)|0)){break i}if(p){p=1;break e}Zr(n,b);p=1;break e}k:{if(Hb(f+24|0,306560,-1)){if(Hb(f+24|0,217587,-1)){break k}}d=v[m>>2];if(!d){break k}if(!(Qa[v[v[d>>2]+28>>2]](d)|0)){break k}if(q){q=1;break e}Zr(m,b);q=1;break e}l:{if(Hb(f+24|0,306570,-1)){if(Hb(f+24|0,217597,-1)){break l}}d=v[l>>2];if(!d){break l}if(!(Qa[v[v[d>>2]+28>>2]](d)|0)){break l}if(r){r=1;break e}Zr(l,b);r=1;break e}if(!(B=1,C=Hb(f+24|0,310384,-1),E=!v[a+48>>2]&x,E?B:C)){break e}d=v[f+24>>2];Uf(b,v[(d?d+12|0:1117e3)>>2],0);v[f+8>>2]=0;qb(f+8|0,k);d=v[f+8>>2];v[f+40>>2]=0;qb(f+40|0,b);Rg(v[f+40>>2],d);d=v[f+40>>2];v[f+40>>2]=0;m:{if(!d){break m}g=v[d+4>>2]-1|0;v[d+4>>2]=g;if(g){break m}g=v[d+4>>2];if(!g){v[d+4>>2]=-32767}if(!g){Qa[v[v[d>>2]+4>>2]](d)}}d=v[f+8>>2];v[f+8>>2]=0;if(!d){break f}g=v[d+4>>2]-1|0;v[d+4>>2]=g;if(g){break f}g=v[d+4>>2];if(!g){v[d+4>>2]=-32767}if(!g){Qa[v[v[d>>2]+4>>2]](d)}}Od(b)}j=j+1|0;eo(k);if(h){continue}break}j=i}h=v[a+140>>2]}if((h|0)<=-1){v[a+140>>2]=j}n:{if(p){break n}c=v[n>>2];if(!c){break n}if(!(Qa[v[v[c>>2]+28>>2]](c)|0)){break n}Zr(n,b)}o:{if(q){break o}c=v[m>>2];if(!c){break o}if(!(Qa[v[v[c>>2]+28>>2]](c)|0)){break o}Zr(m,b)}p:{if(r){break p}c=v[l>>2];if(!c){break p}if(!(Qa[v[v[c>>2]+28>>2]](c)|0)){break p}Zr(l,b)}if(!s){Od(b)}vk(v[a+108>>2]);a=v[f+16>>2];v[f+16>>2]=0;q:{if(!a){break q}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break q}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}db(f+24|0);a=v[f+32>>2];v[f+32>>2]=0;if(!a){break b}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break b}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=f- -64|0;return}lb(mb(f+40|0,231556,241865,164,226745));L()}lb(mb(f+40|0,v[279242],241865,2281,329978));L()}function Rwa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=Ma-16|0;Ma=i;b=v[a+420>>2];c=v[a+24>>2];g=v[c>>2];a:{if(v[a+264>>2]){v[b+112>>2]=g;v[b+116>>2]=v[c+4>>2];g=0;b:{c:{d:{e=v[b+128>>2];switch(e|0){case 0:break b;case 1:break c;default:break d}}while(1){c=g;g=c+1|0;e=e>>1;if(e>>>0>1){continue}break}if(c>>>0<14){break c}c=v[b+120>>2];d=v[c>>2];v[d+20>>2]=41;Qa[v[d>>2]](c)}c=g<<4;d=v[b+124>>2];e:{if(v[b+108>>2]){c=v[((d<<2)+b|0)+92>>2]+(c<<2)|0;v[c>>2]=v[c>>2]+1;break e}d=v[((d<<2)+b|0)+60>>2];f=v[d+(c<<2)>>2];e=v[b+16>>2];c=t[(c+d|0)+1024|0];if(!c){d=v[b+120>>2];h=v[d>>2];v[h+20>>2]=41;Qa[v[h>>2]](d);if(v[b+108>>2]){break e}}d=c+e|0;e=v[b+12>>2]|(f&(-1<=8){while(1){c=v[b+112>>2];v[b+112>>2]=c+1;t[c|0]=e>>>16;c=v[b+116>>2]-1|0;v[b+116>>2]=c;if(!c){f=v[b+120>>2];c=v[f+24>>2];if(!(Qa[v[c+12>>2]](f)|0)){f=v[b+120>>2];h=v[f>>2];v[h+20>>2]=25;Qa[v[h>>2]](f)}v[b+112>>2]=v[c>>2];v[b+116>>2]=v[c+4>>2]}c=d;f:{if((e&16711680)!=16711680){break f}d=v[b+112>>2];v[b+112>>2]=d+1;t[d|0]=0;d=v[b+116>>2]-1|0;v[b+116>>2]=d;if(d){break f}f=v[b+120>>2];d=v[f+24>>2];if(!(Qa[v[d+12>>2]](f)|0)){f=v[b+120>>2];h=v[f>>2];v[h+20>>2]=25;Qa[v[h>>2]](f)}v[b+112>>2]=v[d>>2];v[b+116>>2]=v[d+4>>2]}d=c-8|0;e=e<<8;if((c|0)>15){continue}break}}v[b+16>>2]=d;v[b+12>>2]=e}if(!(v[b+108>>2]|!g)){c=v[b+16>>2]+g|0;g=v[b+12>>2]|(v[b+128>>2]&(-1<=8){while(1){d=v[b+112>>2];v[b+112>>2]=d+1;t[d|0]=g>>>16;d=v[b+116>>2]-1|0;v[b+116>>2]=d;if(!d){f=v[b+120>>2];d=v[f+24>>2];if(!(Qa[v[d+12>>2]](f)|0)){f=v[b+120>>2];e=v[f>>2];v[e+20>>2]=25;Qa[v[e>>2]](f)}v[b+112>>2]=v[d>>2];v[b+116>>2]=v[d+4>>2]}d=c;g:{if((g&16711680)!=16711680){break g}c=v[b+112>>2];v[b+112>>2]=c+1;t[c|0]=0;c=v[b+116>>2]-1|0;v[b+116>>2]=c;if(c){break g}f=v[b+120>>2];c=v[f+24>>2];if(!(Qa[v[c+12>>2]](f)|0)){f=v[b+120>>2];e=v[f>>2];v[e+20>>2]=25;Qa[v[e>>2]](f)}v[b+112>>2]=v[c>>2];v[b+116>>2]=v[c+4>>2]}c=d-8|0;g=g<<8;if((d|0)>15){continue}break}}v[b+16>>2]=c;v[b+12>>2]=g}v[b+128>>2]=0;h:{if(v[b+108>>2]){break h}f=v[b+132>>2];if(!f){break h}d=v[b+136>>2];g=0;while(1){if(!g){e=v[b+16>>2];g=v[b+12>>2]|(t[d|0]&1)<<23-e;c=e+1|0;if((e|0)>=7){while(1){e=v[b+112>>2];v[b+112>>2]=e+1;t[e|0]=g>>>16;e=v[b+116>>2]-1|0;v[b+116>>2]=e;if(!e){h=v[b+120>>2];e=v[h+24>>2];if(!(Qa[v[e+12>>2]](h)|0)){h=v[b+120>>2];j=v[h>>2];v[j+20>>2]=25;Qa[v[j>>2]](h)}v[b+112>>2]=v[e>>2];v[b+116>>2]=v[e+4>>2]}e=c;i:{if((g&16711680)!=16711680){break i}c=v[b+112>>2];v[b+112>>2]=c+1;t[c|0]=0;c=v[b+116>>2]-1|0;v[b+116>>2]=c;if(c){break i}h=v[b+120>>2];c=v[h+24>>2];if(!(Qa[v[c+12>>2]](h)|0)){h=v[b+120>>2];j=v[h>>2];v[j+20>>2]=25;Qa[v[j>>2]](h)}v[b+112>>2]=v[c>>2];v[b+116>>2]=v[c+4>>2]}c=e-8|0;g=g<<8;if((e|0)>15){continue}break}}v[b+16>>2]=c;v[b+12>>2]=g}f=f-1|0;if(!f){break h}d=d+1|0;g=v[b+108>>2];continue}}v[b+132>>2]=0}GW(b);a=v[a+24>>2];v[a>>2]=v[b+112>>2];v[a+4>>2]=v[b+116>>2];break a}h=v[b+16>>2];j=v[b+12>>2];c=v[c+4>>2];d=v[b+32>>2];v[i+8>>2]=v[b+28>>2];v[i+12>>2]=d;d=v[b+24>>2];v[i>>2]=v[b+20>>2];v[i+4>>2]=d;j:{k:{if((h|0)<1){break k}f=h+7|0;e=127<<17-h|j;while(1){l:{t[g|0]=e>>>16;g=g+1|0;c=c-1|0;if(!c){c=v[a+24>>2];if(!(Qa[v[c+12>>2]](a)|0)){break l}g=v[c>>2];c=v[c+4>>2]}d=f;m:{if((e&16711680)!=16711680){break m}t[g|0]=0;g=g+1|0;c=c-1|0;if(c){break m}f=v[a+24>>2];if(!(Qa[v[f+12>>2]](a)|0)){break l}c=v[f+4>>2];g=v[f>>2]}f=d-8|0;e=e<<8;if((d|0)>15){continue}break k}break}c=v[a>>2];v[c+20>>2]=25;Qa[v[c>>2]](a);c=0;break j}j=0;h=0}a=v[a+24>>2];v[a+4>>2]=c;v[a>>2]=g;v[b+16>>2]=h;v[b+12>>2]=j;a=v[i+12>>2];v[b+28>>2]=v[i+8>>2];v[b+32>>2]=a;a=v[i+4>>2];v[b+20>>2]=v[i>>2];v[b+24>>2]=a}Ma=i+16|0}function kS(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=Ma-32|0;Ma=g;v[a>>2]=971480;oy(Mf(),a);e=v[a+136>>2];if(e){while(1){d=0;b=v[e+8>>2];c=v[b+60>>2];if(c){v[c+4>>2]=v[c+4>>2]+1;d=v[b+60>>2]}Ju(d,0);_r(d,0);a:{if(!d){break a}b=v[d+4>>2]-1|0;v[d+4>>2]=b;if(b){break a}b=v[d+4>>2];if(!b){v[d+4>>2]=-32767}if(!b){Qa[v[v[d>>2]+4>>2]](d)}}e=v[e>>2];if(e){continue}break}}k=a+128|0;ac(k);h=Mf();i=g+8|0;fF(i,a);f=Ma-16|0;Ma=f;c=g+16|0;v[c>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=970612;v[c+4>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;b:{c:{b=v[i>>2];d:{if(!b){break d}l=v[b+8>>2];if(!l){break d}j=h- -64|0;e=j;b=v[e+24>>2];v[f+12>>2]=e;v[f+8>>2]=b;d=v[f+8>>2];if(!d){break d}m=h+36|0;while(1){if(v[f+12>>2]!=(j|0)){break c}e:{if(ld(i,d+16|0,l)){break e}b=v[f+8>>2];if(!b|v[f+12>>2]!=(j|0)){break c}b=v[b+24>>2];v[f>>2]=0;d=v[v[m+12>>2]+((b>>>0)%y[m+8>>2]<<2)>>2];f:{g:{if(!d){break g}while(1){if(!((b|0)==v[d+12>>2]&(b|0)==v[d+16>>2])){d=v[d+8>>2];if(d){continue}break g}break}if(!v[d+20>>2]|v[b+4>>2]<1){break g}qb(f,b);d=v[f>>2];if(!d){break f}if(v[d+4>>2]>0){break g}qb(f,0)}d=v[f>>2];if(!d){break f}e=ab(12);v[e>>2]=0;v[e+4>>2]=0;v[e+8>>2]=0;b=e;h=v[f>>2];if(h){v[h+4>>2]=v[h+4>>2]+1;d=v[f>>2]}else{d=0}v[b+8>>2]=d;de(c,e);d=v[f>>2]}v[f>>2]=0;if(!d){break e}b=v[d+4>>2]-1|0;v[d+4>>2]=b;if(b){break e}b=v[d+4>>2];if(!b){v[d+4>>2]=-32767}if(!b){Qa[v[v[d>>2]+4>>2]](d)}}b=v[f+8>>2];if(!b){break d}d=v[b>>2];v[f+8>>2]=d;if(d){continue}break}}Ma=f+16|0;break b}wd(f+8|0,j);L()}db(i);e=v[g+24>>2];if(e){while(1){d=0;b=v[e+8>>2];if(b){v[b+4>>2]=v[b+4>>2]+1;d=v[e+8>>2]}c=Oc(g+8|0,280549);b=Qa[v[v[d>>2]+8>>2]](d,c)|0;db(c);if(b){Ju(d,0);_r(d,0)}b=v[d+4>>2]-1|0;v[d+4>>2]=b;if(!b){b=v[d+4>>2];if(!b){v[d+4>>2]=-32767}if(!b){Qa[v[v[d>>2]+4>>2]](d)}}e=v[e>>2];if(e){continue}break}}d=v[291392];if(!d){d=ab(28);v[d+4>>2]=0;v[d+24>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=970568;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=970612;v[d+12>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[291392]=d}ac(d+8|0);b=v[a+44>>2];if(b){vk(b)}ac(g+16|0);c=v[a+168>>2];v[a+168>>2]=0;h:{if(!c){break h}b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(b){break h}b=v[c+4>>2];if(!b){v[c+4>>2]=-32767}if(!b){Qa[v[v[c>>2]+4>>2]](c)}}ac(a+148|0);ac(k);c=v[a+124>>2];v[a+124>>2]=0;i:{if(!c){break i}b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(b){break i}b=v[c+4>>2];if(!b){v[c+4>>2]=-32767}if(!b){Qa[v[v[c>>2]+4>>2]](c)}}db(a+116|0);c=v[a+112>>2];v[a+112>>2]=0;j:{if(!c){break j}b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(b){break j}b=v[c+4>>2];if(!b){v[c+4>>2]=-32767}if(!b){Qa[v[v[c>>2]+4>>2]](c)}}c=v[a+108>>2];v[a+108>>2]=0;k:{if(!c){break k}b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(b){break k}b=v[c+4>>2];if(!b){v[c+4>>2]=-32767}if(!b){Qa[v[v[c>>2]+4>>2]](c)}}c=v[a+104>>2];v[a+104>>2]=0;l:{if(!c){break l}b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(b){break l}b=v[c+4>>2];if(!b){v[c+4>>2]=-32767}if(!b){Qa[v[v[c>>2]+4>>2]](c)}}ac(a+68|0);c=v[a+52>>2];v[a+52>>2]=0;m:{if(!c){break m}b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(b){break m}b=v[c+4>>2];if(!b){v[c+4>>2]=-32767}if(!b){Qa[v[v[c>>2]+4>>2]](c)}}c=v[a+48>>2];v[a+48>>2]=0;n:{if(!c){break n}b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(b){break n}b=v[c+4>>2];if(!b){v[c+4>>2]=-32767}if(!b){Qa[v[v[c>>2]+4>>2]](c)}}c=v[a+44>>2];v[a+44>>2]=0;o:{if(!c){break o}b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(b){break o}b=v[c+4>>2];if(!b){v[c+4>>2]=-32767}if(!b){Qa[v[v[c>>2]+4>>2]](c)}}v[a+8>>2]=969400;v[a+32>>2]=969432;c=v[a+36>>2];if(c){b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(!b){Qa[v[v[c>>2]+4>>2]](c)}v[a+36>>2]=0}v[a+24>>2]=969432;c=v[a+28>>2];if(c){b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(!b){Qa[v[v[c>>2]+4>>2]](c)}v[a+28>>2]=0}db(a+16|0);Du(a);Ma=g+32|0;return a|0}function LK(a,b,c){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;a:while(1){i=b-4|0;while(1){b:{c:{d:{e:{f:{g:{d=b-a|0;e=d>>2;switch(e|0){case 0:case 1:break b;case 5:break d;case 4:break e;case 3:break f;case 2:break g;default:break c}}c=v[v[c>>2]+12>>2];b=b-4|0;d=v[b>>2];e=v[a>>2];if(y[v[c+(d<<2)>>2]+4>>2]>=y[v[c+(e<<2)>>2]+4>>2]){break b}v[a>>2]=d;v[b>>2]=e;return}d=b-4|0;e=v[d>>2];b=v[v[c>>2]+12>>2];f=v[v[(e<<2)+b>>2]+4>>2];g=v[a+4>>2];i=v[v[b+(g<<2)>>2]+4>>2];c=v[a>>2];h=v[b+(c<<2)>>2];if(i>>>0>=y[h+4>>2]){if(f>>>0>=i>>>0){break b}v[a+4>>2]=e;v[d>>2]=g;c=v[a+4>>2];d=v[a>>2];if(y[v[b+(c<<2)>>2]+4>>2]>=y[v[b+(d<<2)>>2]+4>>2]){break b}v[a+4>>2]=d;v[a>>2]=c;return}if(f>>>0>>0){v[a>>2]=e;v[d>>2]=c;return}v[a+4>>2]=c;v[a>>2]=g;e=v[d>>2];if(y[v[b+(e<<2)>>2]+4>>2]>=y[h+4>>2]){break b}v[a+4>>2]=e;v[d>>2]=c;return}HK(a,a+4|0,a+8|0,b-4|0,c);return}GK(a,a+4|0,a+8|0,a+12|0,b-4|0,c);break b}if((d|0)<=123){i=a+4|0;d=a+8|0;k=v[v[c>>2]+12>>2];g=v[a+8>>2];l=v[k+(g<<2)>>2];m=v[l+4>>2];h:{i:{j:{h=v[a+4>>2];o=v[v[k+(h<<2)>>2]+4>>2];j=v[a>>2];n=v[k+(j<<2)>>2];if(o>>>0>=y[n+4>>2]){if(m>>>0>>0){break j}f=g;break h}c=a;e=d;f=j;if(m>>>0>>0){break i}v[a+4>>2]=j;v[a>>2]=h;c=i;if(y[l+4>>2]>2]){break i}f=g;break h}v[i>>2]=g;v[d>>2]=h;c=a;e=i;f=h;if(y[l+4>>2]>=y[n+4>>2]){break h}}v[c>>2]=g;v[e>>2]=j}e=a+12|0;if((e|0)==(b|0)){break b}while(1){c=e;g=e;i=v[e>>2];h=v[k+(i<<2)>>2];if(y[h+4>>2]>2]+4>>2]){while(1){k:{v[g>>2]=f;e=d;if((d|0)==(a|0)){e=a;break k}g=e;d=e-4|0;f=v[d>>2];if(y[h+4>>2]>2]+4>>2]){continue}}break}v[e>>2]=i}e=c+4|0;if((e|0)==(b|0)){break b}f=v[c>>2];d=c;continue}}h=((e|0)/2<<2)+a|0;l:{if((d|0)>=3997){d=(e|0)/4<<2;j=GK(a,d+a|0,h,d+h|0,i,c);e=v[v[c>>2]+12>>2];break l}e=v[v[c>>2]+12>>2];f=v[i>>2];g=v[v[e+(f<<2)>>2]+4>>2];k=v[h>>2];l=v[v[(k<<2)+e>>2]+4>>2];d=v[a>>2];m=v[(d<<2)+e>>2];m:{if(l>>>0>=y[m+4>>2]){j=0;if(g>>>0>=l>>>0){break l}v[h>>2]=f;v[i>>2]=k;j=1;d=v[h>>2];f=v[a>>2];if(y[v[(d<<2)+e>>2]+4>>2]>=y[v[(f<<2)+e>>2]+4>>2]){break l}v[a>>2]=d;v[h>>2]=f;break m}if(g>>>0>>0){v[a>>2]=f;v[i>>2]=d;j=1;break l}v[a>>2]=k;v[h>>2]=d;j=1;f=v[i>>2];if(y[v[(f<<2)+e>>2]+4>>2]>=y[m+4>>2]){break l}v[h>>2]=f;v[i>>2]=d}j=2}f=i;n:{o:{g=v[a>>2];d=v[v[(g<<2)+e>>2]+4>>2];k=v[v[(v[h>>2]<<2)+e>>2]+4>>2];if(d>>>0>=k>>>0){while(1){f=f-4|0;if((f|0)==(a|0)){g=a+4|0;f=v[i>>2];if(d>>>0>2]+4>>2]){break o}if((g|0)==(i|0)){break b}while(1){h=v[g>>2];if(d>>>0>2]+4>>2]){v[g>>2]=f;v[i>>2]=h;g=g+4|0;break o}g=g+4|0;if((i|0)!=(g|0)){continue}break}break b}l=v[f>>2];if(k>>>0<=y[v[(l<<2)+e>>2]+4>>2]){continue}break}v[a>>2]=l;v[f>>2]=g;j=j+1|0}d=a+4|0;if(d>>>0>>0){while(1){k=v[v[(v[h>>2]<<2)+e>>2]+4>>2];while(1){g=d;d=d+4|0;l=v[g>>2];if(k>>>0>y[v[(l<<2)+e>>2]+4>>2]){continue}break}while(1){f=f-4|0;m=v[f>>2];if(k>>>0<=y[v[(m<<2)+e>>2]+4>>2]){continue}break}if(f>>>0>>0){d=g}else{v[g>>2]=m;v[f>>2]=l;h=(g|0)==(h|0)?f:h;j=j+1|0;continue}break}}p:{if((d|0)==(h|0)){break p}f=v[h>>2];n=v[v[(f<<2)+e>>2]+4>>2];g=e;e=v[d>>2];if(n>>>0>=y[v[g+(e<<2)>>2]+4>>2]){break p}v[d>>2]=f;v[h>>2]=e;j=j+1|0}if(!j){g=q3(a,d,c);f=d+4|0;if(q3(f,b,c)){b=d;if(!g){continue a}break b}e=2;if(g){break n}}if((d-a|0)<(b-d|0)){LK(a,d,c);a=d+4|0;continue}LK(d+4|0,b,c);b=d;continue a}d=i;if((g|0)==(d|0)){break b}while(1){h=v[v[(v[a>>2]<<2)+e>>2]+4>>2];while(1){f=g;g=f+4|0;j=v[f>>2];if(h>>>0>=y[v[(j<<2)+e>>2]+4>>2]){continue}break}while(1){d=d-4|0;k=v[d>>2];if(h>>>0>2]+4>>2]){continue}break}if(d>>>0>f>>>0){v[f>>2]=k;v[d>>2]=j;continue}break}e=4}a=f;if((e|0)==4|(e|0)==2){continue}}break}break}}function _va(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,p=0,q=0,r=0,s=0,x=0,y=C(0),E=0,F=0,G=C(0),H=0,I=0,J=C(0),K=C(0),M=0,N=0;h=Ma-400|0;Ma=h;if(!(w[a+208|0]|w[a+203|0])){Ak(a,v[b+596>>2],A[b+104>>3],b+16|0);o=A[b+392>>3];d=v[a+104>>2];Qa[v[v[d>>2]+132>>2]](d,h+396|0)|0;d=v[a+104>>2];Qa[v[v[d>>2]+136>>2]](d,878848)|0;p=A[c+184>>3];E=A[c+200>>3];n=A[c+192>>3];q=A[c+208>>3];l=ab(24);z[l>>2]=A[c+216>>3]/72*25.4;z[l+4>>2]=A[c+224>>3]/72*25.4;z[l+8>>2]=A[c+232>>3]/72*25.4;z[l+12>>2]=A[c+240>>3]/72*25.4;z[l+16>>2]=A[c+248>>3]/72*25.4;z[l+20>>2]=A[c+256>>3]/72*25.4;v[h+152>>2]=0;v[h+144>>2]=0;v[h+148>>2]=0;o=o*255;a:{if(D(o)<2147483648){F=~~o;break a}F=-2147483648}d=ab(24);v[h+144>>2]=d;v[h+152>>2]=d+24;M=h,N=cb(d,l,24)+24|0,v[M+148>>2]=N;e=Ma-32|0;Ma=e;f=h+160|0;d=f;v[d>>2]=0;v[d+4>>2]=0;v[d+24>>2]=0;v[d+28>>2]=1065353216;v[d+32>>2]=0;v[d+36>>2]=0;v[d+76>>2]=0;v[d+80>>2]=1;v[d+68>>2]=0;v[d+72>>2]=0;v[d+60>>2]=1056964608;v[d+64>>2]=1065353216;u[d+56>>1]=0;v[d+48>>2]=1065353216;v[d+52>>2]=1065353216;v[d+8>>2]=0;v[d+12>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+84>>2]=1;v[d+88>>2]=0;v[d+92>>2]=0;v[d+96>>2]=0;v[d+100>>2]=0;v[d+104>>2]=0;v[d+108>>2]=0;s=d+120|0;d=s;v[d>>2]=0;v[d+4>>2]=0;v[f+128>>2]=0;v[f+132>>2]=0;v[f+136>>2]=0;v[f+140>>2]=0;d=ab(24);v[f+132>>2]=d;g=d+24|0;v[f+140>>2]=g;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=0;v[d+4>>2]=0;v[f+136>>2]=g;eb(f+148|0,0,88);m=f;j=Ma-32|0;Ma=j;z[e+28>>2]=q;z[e+24>>2]=n;z[e+20>>2]=E;z[e+16>>2]=p;v[e+4>>2]=0;v[e+8>>2]=0;v[e>>2]=256;v[e+12>>2]=0;v[j+8>>2]=0;d=j;v[d>>2]=0;v[d+4>>2]=0;i=ab(1024);v[d>>2]=i;v[d+24>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;k=i+1024|0;v[d+8>>2]=k;v[d+4>>2]=k;g=ab(3072);v[d+16>>2]=g;v[d+20>>2]=g;r=g+3072|0;v[d+24>>2]=r;b:{c:{k=k-i|0;d:{if(!k){eb(g,0,3072);break d}if((k|0)<=-1){break c}H=k>>2<<2;I=k>>>2<<2;d=g;while(1){v[d+8>>2]=0;v[d>>2]=0;v[d+4>>2]=0;x=ab(k);v[d>>2]=x;v[d+8>>2]=x+H;M=d,N=cb(x,i,k)+I|0,v[M+4>>2]=N;d=d+12|0;if((r|0)!=(d|0)){continue}break}}v[e+12>>2]=r;v[e+8>>2]=r;v[e+4>>2]=g;v[j+20>>2]=0;v[j+24>>2]=0;if(i){$a(i);d=v[e>>2]}else{d=256}if(d){g=0;while(1){d=0;while(1){i=v[v[e+4>>2]+B(d,12)>>2]+(g<<2)|0;t[i|0]=255;t[i+1|0]=0;t[i+2|0]=0;t[i+3|0]=255;d=d+1|0;i=v[e>>2];if(d>>>0>>0){continue}break}g=g+1|0;if(i>>>0>g>>>0){continue}break}}Ma=j+32|0;d=e;break b}v[g+8>>2]=0;v[g>>2]=0;v[g+4>>2]=0;Jc();L()}g=d;v[m+88>>2]=v[d>>2];j=v[f+92>>2];if(j){d=v[f+96>>2];if((j|0)==(d|0)){d=j}else{while(1){m=d-12|0;i=v[m>>2];if(i){v[d-8>>2]=i;$a(i)}d=m;if((j|0)!=(d|0)){continue}break}d=v[f+92>>2]}v[f+96>>2]=j;$a(d)}v[f+92>>2]=v[g+4>>2];v[f+96>>2]=v[g+8>>2];v[f+100>>2]=v[g+12>>2];d=v[g+20>>2];v[f+104>>2]=v[g+16>>2];v[f+108>>2]=d;d=v[g+28>>2];v[f+112>>2]=v[g+24>>2];v[f+116>>2]=d;v[f+80>>2]=0;v[f+84>>2]=1;d=h+144|0;if((d|0)!=(s|0)){In(s,v[d>>2],v[d+4>>2])}Ma=e+32|0;d=v[h+144>>2];if(d){v[h+148>>2]=d;$a(d)}d=v[h+248>>2];if(d){q=q-n;n=+(d>>>0);J=C(q/n);K=C((E-p)/n);g=v[c+8>>2];f=0;while(1){p=+G;y=C(0);d=0;while(1){e=h+16|0;pl(c,+y,p,e);Qa[v[v[g>>2]+20>>2]](g,e,h,0);j=v[h+8>>2];m=v[h+4>>2];i=v[h>>2];e=v[v[h+252>>2]+B(f,12)>>2]+(d<<2)|0;t[e+3|0]=F;t[e+2|0]=B(i,255)+32768>>>16;t[e+1|0]=B(m,255)+32768>>>16;t[e|0]=B(j,255)+32768>>>16;y=C(y+K);d=d+1|0;e=v[h+248>>2];if(d>>>0>>0){continue}break}G=C(G+J);f=f+1|0;if(e>>>0>f>>>0){continue}break}}c=v[a+104>>2];d=pr(c,351404,351416);if(d){Qa[v[v[d>>2]+560>>2]](d,h+160|0);c=v[a+104>>2];Qa[v[v[c>>2]+328>>2]](c,878840)|0;c=v[a+104>>2]}v[h+16>>2]=4;Qa[v[v[c>>2]+292>>2]](c,h+16|0)|0;a=v[a+104>>2];Qa[v[v[a>>2]+136>>2]](a,h+396|0)|0;Ae(b);Wf(h+240|0);$a(l)}Ma=h+400|0;return 1}function z2(a){var b=0,c=0,d=0,e=0,f=0;_h(a+44|0);_h(a+48|0);_h(a+52|0);_h(a+56|0);c=a+96|0;b=c;v[b>>2]=0;v[b+4>>2]=0;t[b+96|0]=0;v[b+88>>2]=-2147483647;v[b+92>>2]=-2147483647;v[b+80>>2]=2147483647;v[b+84>>2]=2147483647;v[b+64>>2]=2147483647;v[b+68>>2]=2147483647;v[b+48>>2]=2147483647;v[b+52>>2]=2147483647;v[b+100>>2]=0;v[b+104>>2]=0;v[b+40>>2]=0;v[b+44>>2]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b+72>>2]=0;v[b+76>>2]=0;v[b+56>>2]=0;v[b+60>>2]=0;v[b+108>>2]=0;v[b+112>>2]=0;v[b+116>>2]=0;v[b+120>>2]=0;t[b+121|0]=0;t[b+122|0]=0;t[b+123|0]=0;t[b+124|0]=0;t[b+125|0]=0;t[b+126|0]=0;t[b+127|0]=0;t[b+128|0]=0;v[b+1172>>2]=0;v[b+1164>>2]=0;v[b+1168>>2]=0;t[b+1160|0]=1;v[b+1156>>2]=0;b=b+132|0;while(1){v[(e<<2)+b>>2]=e;d=e|1;v[(d<<2)+b>>2]=d;d=e|2;v[(d<<2)+b>>2]=d;d=e|3;v[(d<<2)+b>>2]=d;d=e|4;v[(d<<2)+b>>2]=d;d=e|5;v[(d<<2)+b>>2]=d;d=e|6;v[(d<<2)+b>>2]=d;d=e|7;v[(d<<2)+b>>2]=d;e=e+8|0;if((e|0)!=256){continue}break}v[c+1180>>2]=0;v[c+1184>>2]=0;b=c+1188|0;v[b>>2]=0;v[b+4>>2]=0;b=c+1200|0;v[b>>2]=0;v[b+4>>2]=0;v[c+1196>>2]=126;b=c+1208|0;v[b>>2]=0;v[b+4>>2]=0;b=c+1220|0;v[b>>2]=0;v[b+4>>2]=0;v[c+1216>>2]=64;b=c+1228|0;v[b>>2]=0;v[b+4>>2]=0;b=c+1240|0;v[b>>2]=0;v[b+4>>2]=0;v[c+1236>>2]=254;b=c+1248|0;v[b>>2]=0;v[b+4>>2]=0;b=c+1292|0;v[b>>2]=-2147483647;v[b+4>>2]=-2147483647;b=c+1284|0;v[b>>2]=2147483647;v[b+4>>2]=2147483647;v[c+1256>>2]=256;b=c+1276|0;v[b>>2]=0;v[b+4>>2]=0;b=c+1268|0;v[b>>2]=0;v[b+4>>2]=0;b=c+1260|0;v[b>>2]=0;v[b+4>>2]=0;b=c+1308|0;v[b>>2]=0;v[b+4>>2]=0;b=c+1300|0;v[b>>2]=0;v[b+4>>2]=0;b=c+1332|0;v[b>>2]=0;v[b+4>>2]=0;b=c+1316|0;v[b>>2]=0;v[b+4>>2]=126;b=c+1324|0;v[b>>2]=0;v[b+4>>2]=0;b=c+1352|0;v[b>>2]=0;v[b+4>>2]=0;v[c+1340>>2]=64;b=c+1344|0;v[b>>2]=0;v[b+4>>2]=0;b=c+1372|0;v[b>>2]=0;v[b+4>>2]=0;v[c+1360>>2]=254;b=c+1364|0;v[b>>2]=0;v[b+4>>2]=0;b=c+1416|0;v[b>>2]=-2147483647;v[b+4>>2]=-2147483647;b=c+1408|0;v[b>>2]=2147483647;v[b+4>>2]=2147483647;v[c+1424>>2]=0;v[c+1380>>2]=256;b=c+1400|0;v[b>>2]=0;v[b+4>>2]=0;b=c+1392|0;v[b>>2]=0;v[b+4>>2]=0;b=c+1384|0;v[b>>2]=0;v[b+4>>2]=0;u[c+1432>>1]=0;b=a+1540|0;v[b>>2]=0;v[b+4>>2]=0;t[a+1536|0]=0;v[a+1532>>2]=0;b=a+1548|0;v[b>>2]=0;v[b+4>>2]=0;b=a+1556|0;v[b>>2]=0;v[b+4>>2]=0;v[a+1564>>2]=0;v[a+1596>>2]=0;v[a+1600>>2]=2147483632;t[a+1592|0]=0;v[a+1584>>2]=0;b=a+1576|0;v[b>>2]=0;v[b+4>>2]=0;b=a+1568|0;v[b>>2]=1;v[b+4>>2]=1;eb(a+1608|0,0,68);t[a+1724|0]=0;b=a+1716|0;v[b>>2]=-2147483647;v[b+4>>2]=-2147483647;b=a+1708|0;v[b>>2]=2147483647;v[b+4>>2]=2147483647;b=a+1700|0;v[b>>2]=0;v[b+4>>2]=0;b=a+1692|0;v[b>>2]=2147483647;v[b+4>>2]=2147483647;b=a+1728|0;v[b>>2]=0;v[b+4>>2]=0;b=a+1684|0;v[b>>2]=0;v[b+4>>2]=0;b=a+1676|0;v[b>>2]=2147483647;v[b+4>>2]=2147483647;b=a+1736|0;v[b>>2]=0;v[b+4>>2]=0;b=a+1744|0;v[b>>2]=0;v[b+4>>2]=0;b=a+1749|0;t[b|0]=0;t[b+1|0]=0;t[b+2|0]=0;t[b+3|0]=0;t[b+4|0]=0;t[b+5|0]=0;t[b+6|0]=0;t[b+7|0]=0;v[a+2800>>2]=0;b=a+2792|0;v[b>>2]=0;v[b+4>>2]=0;t[a+2788|0]=1;v[a+2784>>2]=0;b=a+1760|0;while(1){v[b+(f<<2)>>2]=f;c=f|1;v[b+(c<<2)>>2]=c;c=f|2;v[b+(c<<2)>>2]=c;c=f|3;v[b+(c<<2)>>2]=c;c=f|4;v[b+(c<<2)>>2]=c;c=f|5;v[b+(c<<2)>>2]=c;c=f|6;v[b+(c<<2)>>2]=c;c=f|7;v[b+(c<<2)>>2]=c;f=f+8|0;if((f|0)!=256){continue}break}v[a+2848>>2]=0;v[a+2852>>2]=0;v[a+2816>>2]=0;v[a>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a+2840>>2]=0;v[a+2844>>2]=-1074790400;t[a+2832|0]=1;v[a+2824>>2]=0;v[a+2828>>2]=1072693248;t[a+2820|0]=0;v[a+40>>2]=2;v[a+32>>2]=0;v[a+36>>2]=1079115776;v[a+24>>2]=0;v[a+28>>2]=1079115776;b=a+2808|0;v[b>>2]=0;v[b+4>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;a=a+2856|0;v[a>>2]=0;v[a+4>>2]=0}function DY(a){var 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;i=Ma-16|0;Ma=i;if(a){if(v[a+56>>2]==1){e=bI(a)}k=v[a+65792>>2];h=Mo(a,v[a+44>>2]);l=Pa;a:{if(e){break a}e=0;b=v[a+48>>2];if(!b){break a}while(1){d=v[b+8>>2];f=-1;b:{if(e){break b}if(!d){d=0;f=0;break b}e=Qa[v[a+8>>2]](v[a+28>>2],v[a+44>>2],b+16|0,d)|0;d=v[b+8>>2];f=(e|0)!=(d|0)?-1:0}e=f;j=d+j|0;b=v[b>>2];if(b){continue}break}}b=v[a+48>>2];if(b){while(1){f=v[b>>2];$a(b);b=f;if(b){continue}break}}v[a+48>>2]=0;v[a+52>>2]=0;b=h;f=v[a+65776>>2];d=b-f|0;if(!(!v[a+65788>>2]&y[a+65784>>2]<65536?(v[a+65780>>2]+(b>>>0>>0)|0)==(l|0)&d>>>0<=4294967294:0)){f=Mo(a,v[a+44>>2]);n=Pa;c=Ma-16|0;Ma=c;b=a;d=v[a+44>>2];v[c+8>>2]=101075792;c:{if((Qa[v[a+8>>2]](v[a+28>>2],d,c+8|0,4)|0)!=4){break c}d=v[b+44>>2];t[c+9|0]=0;t[c+10|0]=0;t[c+11|0]=0;t[c+12|0]=0;t[c+8|0]=44;t[c+12|0]=0;t[c+13|0]=0;t[c+14|0]=0;t[c+15|0]=0;if((Qa[v[b+8>>2]](v[b+28>>2],d,c+8|0,8)|0)!=8){break c}d=v[b+44>>2];u[c+8>>1]=45;if((Qa[v[b+8>>2]](v[b+28>>2],d,c+8|0,2)|0)!=2){break c}d=v[b+44>>2];u[c+8>>1]=45;if((Qa[v[b+8>>2]](v[b+28>>2],d,c+8|0,2)|0)!=2){break c}d=v[b+44>>2];v[c+8>>2]=0;if((Qa[v[b+8>>2]](v[b+28>>2],d,c+8|0,4)|0)!=4){break c}d=v[b+44>>2];v[c+8>>2]=0;if((Qa[v[b+8>>2]](v[b+28>>2],d,c+8|0,4)|0)!=4){break c}d=v[b+44>>2];g=v[b+65788>>2];v[c+8>>2]=v[b+65784>>2];v[c+12>>2]=g;if((Qa[v[b+8>>2]](v[b+28>>2],d,c+8|0,8)|0)!=8){break c}d=v[b+44>>2];g=v[b+65788>>2];v[c+8>>2]=v[b+65784>>2];v[c+12>>2]=g;if((Qa[v[b+8>>2]](v[b+28>>2],d,c+8|0,8)|0)!=8){break c}d=v[b+44>>2];v[c+12>>2]=0;t[c+8|0]=j;t[c+11|0]=j>>>24;t[c+10|0]=j>>>16;t[c+9|0]=j>>>8;if((Qa[v[b+8>>2]](v[b+28>>2],d,c+8|0,8)|0)!=8){break c}g=v[b+44>>2];d=h;m=v[b+65776>>2];o=l-(v[b+65780>>2]+(d>>>0>>0)|0)|0;v[c+8>>2]=d-m;v[c+12>>2]=o;Qa[v[b+8>>2]](v[b+28>>2],g,c+8|0,8)|0}Ma=c+16|0;c=Ma-16|0;Ma=c;d=v[b+65776>>2];b=v[b+65780>>2];g=v[a+44>>2];v[c+8>>2]=117853008;d:{if((Qa[v[a+8>>2]](v[a+28>>2],g,c+8|0,4)|0)!=4){break d}g=v[a+44>>2];v[c+8>>2]=0;if((Qa[v[a+8>>2]](v[a+28>>2],g,c+8|0,4)|0)!=4){break d}g=v[a+44>>2];v[c+8>>2]=f-d;v[c+12>>2]=n-((d>>>0>f>>>0)+b|0);if((Qa[v[a+8>>2]](v[a+28>>2],g,c+8|0,8)|0)!=8){break d}b=v[a+44>>2];v[c+8>>2]=1;Qa[v[a+8>>2]](v[a+28>>2],b,c+8|0,4)|0}Ma=c+16|0}e:{if(e){break e}e=Ma-16|0;Ma=e;b=v[a+44>>2];v[e+8>>2]=101010256;d=-1;f:{if((Qa[v[a+8>>2]](v[a+28>>2],b,e+8|0,4)|0)!=4){break f}b=v[a+44>>2];u[e+8>>1]=0;if((Qa[v[a+8>>2]](v[a+28>>2],b,e+8|0,2)|0)!=2){break f}b=v[a+44>>2];u[e+8>>1]=0;if((Qa[v[a+8>>2]](v[a+28>>2],b,e+8|0,2)|0)!=2){break f}b=v[a+44>>2];f=v[a+65788>>2];c=v[a+65784>>2];g:{if(!f&c>>>0>=65535|f){u[e+8>>1]=65535;b=Qa[v[a+8>>2]](v[a+28>>2],b,e+8|0,2)|0;break g}u[e+8>>1]=c;b=Qa[v[a+8>>2]](v[a+28>>2],b,e+8|0,2)|0}if((b|0)!=2){break f}b=v[a+44>>2];f=v[a+65788>>2];c=v[a+65784>>2];h:{if(!f&c>>>0>=65535|f){u[e+8>>1]=65535;b=Qa[v[a+8>>2]](v[a+28>>2],b,e+8|0,2)|0;break h}u[e+8>>1]=c;b=Qa[v[a+8>>2]](v[a+28>>2],b,e+8|0,2)|0}if((b|0)!=2){break f}b=v[a+44>>2];v[e+8>>2]=j;if((Qa[v[a+8>>2]](v[a+28>>2],b,e+8|0,4)|0)!=4){break f}f=v[a+44>>2];b=h;d=v[a+65776>>2];h=l-(v[a+65780>>2]+(b>>>0>>0)|0)|0;b=b-d|0;if(!h&(b|0)==-1|h){v[e+8>>2]=-1;d=(Qa[v[a+8>>2]](v[a+28>>2],f,e+8|0,4)|0)!=4?-1:0;break f}v[e+8>>2]=b;d=(Qa[v[a+8>>2]](v[a+28>>2],f,e+8|0,4)|0)!=4?-1:0}Ma=e+16|0;if(d){break e}i:{if(!k){d=v[a+44>>2];b=0;u[i+8>>1]=0;break i}d=v[a+44>>2];b=zb(k);u[i+8>>1]=b;if(b>>>0<65536){break i}u[i+8>>1]=65535}if(!(!b|(Qa[v[a+8>>2]](v[a+28>>2],d,i+8|0,2)|0)!=2)){Qa[v[a+8>>2]](v[a+28>>2],v[a+44>>2],k,b)|0}}Qa[v[a+20>>2]](v[a+28>>2],v[a+44>>2])|0;h=v[a+65792>>2];if(h){$a(h)}$a(a)}Ma=i+16|0}function Q8(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,x=0,y=0,z=0,A=0;h=Ma-160|0;Ma=h;e=v[a+608>>2];k=v[a+604>>2];x=1;m=v[a+584>>2];s=v[m+72>>2];g=v[m+68>>2];n=v[m+64>>2];a:{b:{if((c|0)<1){f=k;break b}t=e+k|0;d=v[m+4>>2];z=d&8;A=d&4;q=v[m+88>>2];u=v[m+60>>2];l=v[m+12>>2];c:while(1){f=q;e=0;d:while(1){o=0;while(1){e:{f:{g:{if((g|0)>11){d=g;break g}if(k>>>0>=t>>>0){d=12;if(g){break g}break f}j=g+8|0;i=k+1|0;n=w[w[k|0]+u|0]<3){k=i;d=j;break g}d=12;if(i>>>0>=t>>>0){k=i;break g}d=g+16|0;n=w[w[k+1|0]+u|0]<>>g|0;g=d-g|0;p=1;d=f;h:{i:{j:{k:{switch(w[i|0]-7|0){case 0:j=v[i+4>>2];y=j+o|0;v[f>>2]=y;o=0;d=f+4|0;e=e+j|0;i=d;if((l|0)<=(e|0)){break h}while(1){l:{if((g|0)>12){i=g;break l}if(k>>>0>=t>>>0){i=13;if(g){break l}f=d;break f}r=g+8|0;j=k+1|0;n=w[w[k|0]+u|0]<4){k=j;i=r;break l}i=13;if(j>>>0>=t>>>0){k=j;break l}i=g+16|0;n=w[w[k+1|0]+u|0]<>>g|0;g=i-g|0;m:{i=w[j|0];if(i-10>>>0>=2){n:{switch(i-8|0){case 4:break i;case 0:break n;default:break m}}d=v[j+4>>2];j=d+o|0;v[f+4>>2]=j;p=f+8|0;e=d+e|0;i=p;if((l|0)<=(e|0)){break h}f=j|y?p:f;continue d}i=v[j+4>>2];o=i+o|0;e=e+i|0;continue}break};f=v[a+12>>2]&1024;i=v[(f?504:480)+a>>2];j=v[a+628>>2];p=v[a>>2];r=v[m+108>>2];v[h+80>>2]=e;v[h+76>>2]=i;v[h+72>>2]=f?56103:56298;v[h+68>>2]=r;v[h+64>>2]=p;wb(j,86817,55737,h- -64|0);break j;case 5:break i;case 2:case 4:break e;default:break k}}d=v[a+12>>2]&1024;i=v[(d?504:480)+a>>2];j=v[a+628>>2];p=v[a>>2];r=v[m+108>>2];v[h+48>>2]=e;v[h+44>>2]=i;v[h+40>>2]=d?56103:56298;v[h+36>>2]=r;v[h+32>>2]=p;wb(j,86817,55737,h+32|0);d=f}p=s}s=p;if(o){v[d>>2]=o;d=d+4|0}i=d}d=i;o:{if((e|0)==(l|0)){break o}f=v[a+12>>2]&1024;i=v[(f?504:480)+a>>2];j=v[a+628>>2];p=v[a>>2];r=v[m+108>>2];v[h+24>>2]=l;v[h+20>>2]=e;v[h+16>>2]=i;v[h+12>>2]=f?56103:56298;v[h+8>>2]=r;v[h+4>>2]=e>>>0>>0?57394:57552;v[h>>2]=p;Nc(j,86817,57124,h);f=(e|0)>(l|0);p:{if((e|0)<=(l|0)|d>>>0<=q>>>0){break p}while(1){d=d-4|0;e=e-v[d>>2]|0;f=(l|0)<(e|0);if((e|0)<=(l|0)){break p}if(d>>>0>q>>>0){continue}break}}if((e|0)<(l|0)){if(d-q&4){v[d>>2]=0;d=d+4|0}v[d>>2]=l-((e|0)>0?e:0);d=d+4|0;break o}if(!f){break o}v[d+4>>2]=0;v[d>>2]=l;d=d+8|0}Qa[v[m+76>>2]](b,q,d,l);q:{if(A){n=n>>>(g&7)|0;g=g&-8;break q}if(!z){break q}n=n>>>(g&15)|0;g=g&-16;k=(!g&k)+k|0}v[m+108>>2]=v[m+108>>2]+1;d=v[m+8>>2];b=d+b|0;c=c-d|0;if((c|0)>0){continue c}e=v[a+608>>2];f=v[a+604>>2];break b}c=v[a+12>>2]&1024;d=v[(c?504:480)+a>>2];g=v[a+628>>2];i=v[a>>2];j=v[m+108>>2];v[h+144>>2]=e;v[h+140>>2]=d;v[h+136>>2]=c?56103:56298;v[h+132>>2]=j;v[h+128>>2]=i;Nc(g,86817,56754,h+128|0);if(o){v[f>>2]=o;f=f+4|0}r:{if((e|0)==(l|0)){break r}c=v[a+12>>2]&1024;d=v[(c?504:480)+a>>2];g=v[a+628>>2];i=v[a>>2];j=v[m+108>>2];v[h+120>>2]=l;v[h+116>>2]=e;v[h+112>>2]=d;v[h+108>>2]=c?56103:56298;v[h+104>>2]=j;v[h+100>>2]=e>>>0>>0?57394:57552;v[h+96>>2]=i;Nc(g,86817,57124,h+96|0);g=(e|0)>(l|0);s:{if((e|0)<=(l|0)|f>>>0<=q>>>0){break s}while(1){f=f-4|0;e=e-v[f>>2]|0;g=(l|0)<(e|0);if((e|0)<=(l|0)){break s}if(f>>>0>q>>>0){continue}break}}if((e|0)<(l|0)){if(f-q&4){v[f>>2]=0;f=f+4|0}v[f>>2]=l-((e|0)>0?e:0);f=f+4|0;break r}if(!g){break r}v[f+4>>2]=0;v[f>>2]=l;f=f+8|0}Qa[v[m+76>>2]](b,q,f,l);v[m+72>>2]=s;v[m+64>>2]=n;v[m+68>>2]=0;x=-1;b=v[a+608>>2]+(v[a+604>>2]-k|0)|0;break a}d=v[i+4>>2];o=d+o|0;e=d+e|0;continue}}}}v[m+72>>2]=s;v[m+64>>2]=n;v[m+68>>2]=g;b=(f-k|0)+e|0}v[a+604>>2]=k;v[a+608>>2]=b;Ma=h+160|0;return x|0}function LOa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=2;a:{g=v[a+456>>2];if(v[g+20>>2]){break a}while(1){d=a;b:{c:{d:{e:{c=Qa[v[v[a+460>>2]+4>>2]](a)|0;if((c|0)!=1){if((c|0)!=2){break a}v[g+20>>2]=1;if(!v[g+24>>2]){break e}c=2;if(!v[v[a+460>>2]+16>>2]){break a}d=v[a>>2];v[d+20>>2]=61;Qa[v[d>>2]](a);return 2}f:{switch(v[g+24>>2]){default:c=v[a+336>>2];break b;case 1:if(!(v[a+28>>2]<65501&v[a+32>>2]<=65500)){b=v[a>>2];v[b+20>>2]=42;v[b+24>>2]=65500;Qa[v[v[a>>2]>>2]](a)}h=v[a+212>>2];if((h|0)!=8){b=v[a>>2];v[b+24>>2]=h;v[b+20>>2]=16;Qa[v[v[a>>2]>>2]](a)}f=v[a+36>>2];if((f|0)>=11){b=v[a>>2];v[b+24>>2]=f;v[b+20>>2]=27;v[v[a>>2]+28>>2]=10;Qa[v[v[a>>2]>>2]](a);f=v[a+36>>2]}v[a+312>>2]=1;v[a+316>>2]=1;if((f|0)>=1){c=v[a+216>>2];h=0;b=1;e=1;while(1){i=v[c+8>>2];g:{if(i-1>>>0<=3){j=v[c+12>>2];if(j-1>>>0<4){break g}}b=v[a>>2];v[b+20>>2]=19;Qa[v[b>>2]](a);f=v[a+36>>2];j=v[c+12>>2];b=v[a+316>>2];i=v[c+8>>2];e=v[a+312>>2]}b=(b|0)>(j|0)?b:j;v[a+316>>2]=b;e=(e|0)>(i|0)?e:i;v[a+312>>2]=e;c=c+88|0;h=h+1|0;if((h|0)<(f|0)){continue}break}}if(v[a+220>>2]|(v[a+336>>2]?v[a+224>>2]:0)){break d}h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{b=v[a+412>>2];if((b|0)<=119){switch(b|0){case 99:break m;case 80:break n;case 48:break o;case 35:break p;case 24:break q;case 15:break r;case 8:break s;case 3:break t;case 0:break u;case 63:break d;default:break h}}if((b|0)<=194){if((b|0)==120){break l}if((b|0)==143){break k}if((b|0)!=168){break h}v[a+432>>2]=63;v[a+428>>2]=70032;v[a+424>>2]=13;b=13;break c}if((b|0)==195){break j}if((b|0)==224){break i}if((b|0)!=255){break h}v[a+432>>2]=63;v[a+428>>2]=70032;v[a+424>>2]=16;b=16;break c}v[a+432>>2]=0;v[a+428>>2]=70032;v[a+424>>2]=1;b=1;break c}v[a+432>>2]=3;v[a+428>>2]=71248;v[a+424>>2]=2;b=2;break c}v[a+432>>2]=8;v[a+428>>2]=71136;v[a+424>>2]=3;b=3;break c}v[a+432>>2]=15;v[a+428>>2]=71008;v[a+424>>2]=4;b=4;break c}v[a+432>>2]=24;v[a+428>>2]=70832;v[a+424>>2]=5;b=5;break c}v[a+432>>2]=35;v[a+428>>2]=70624;v[a+424>>2]=6;b=6;break c}v[a+432>>2]=48;v[a+428>>2]=70352;v[a+424>>2]=7;b=7;break c}v[a+432>>2]=63;v[a+428>>2]=70032;v[a+424>>2]=9;b=9;break c}v[a+432>>2]=63;v[a+428>>2]=70032;v[a+424>>2]=10;b=10;break c}v[a+432>>2]=63;v[a+428>>2]=70032;v[a+424>>2]=11;b=11;break c}v[a+432>>2]=63;v[a+428>>2]=70032;v[a+424>>2]=12;b=12;break c}v[a+432>>2]=63;v[a+428>>2]=70032;v[a+424>>2]=14;b=14;break c}v[a+432>>2]=63;v[a+428>>2]=70032;v[a+424>>2]=15;b=15;break c}b=v[a>>2];v[b+20>>2]=17;v[b+24>>2]=v[a+408>>2];v[v[a>>2]+28>>2]=v[a+412>>2];v[v[a>>2]+32>>2]=v[a+416>>2];v[v[a>>2]+36>>2]=v[a+420>>2];Qa[v[v[a>>2]>>2]](a);f=v[a+36>>2];b=v[a+424>>2];break c;case 0:break f}}if(!v[g+16>>2]){d=v[a>>2];v[d+20>>2]=36;Qa[v[d>>2]](a)}if(!v[a+336>>2]){continue}l2(a);return 1}c=2;d=v[a+144>>2];if((d|0)>=v[a+152>>2]){break a}v[a+152>>2]=d;break a}v[a+432>>2]=63;v[a+428>>2]=70032;v[a+424>>2]=8;b=8}v[d+324>>2]=b;v[a+320>>2]=b;if((f|0)>=1){c=v[a+216>>2];e=0;while(1){v[c+40>>2]=b;v[c+36>>2]=b;d=B(v[a+312>>2],b);v[c+28>>2]=((d+B(v[c+8>>2],v[a+28>>2])|0)-1|0)/(d|0);d=B(v[a+424>>2],v[a+316>>2]);v[c+32>>2]=((d+B(v[c+12>>2],v[a+32>>2])|0)-1|0)/(d|0);d=v[a+312>>2];v[c+44>>2]=((d+B(v[c+8>>2],v[a+28>>2])|0)-1|0)/(d|0);d=v[a+316>>2];d=((d+B(v[c+12>>2],v[a+32>>2])|0)-1|0)/(d|0)|0;v[c+80>>2]=0;v[c+52>>2]=1;v[c+48>>2]=d;e=e+1|0;if((e|0)>2]){c=c+88|0;b=v[a+424>>2];continue}break}b=v[a+424>>2]}d=B(v[a+316>>2],b);v[a+328>>2]=((d+v[a+32>>2]|0)-1|0)/(d|0);c=v[a+336>>2];v[v[a+456>>2]+16>>2]=(c|0)>=v[a+36>>2]?v[a+224>>2]!=0:1}if(!c){v[g+24>>2]=2;continue}break}v[g+24>>2]=0;return 1}return c|0}function BV(a,b){var 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;e=Ma-112|0;Ma=e;v[e+88>>2]=13;v[e+72>>2]=13;a:{if(v[a+20>>2]==4){break a}b:{c:{c=v[a+32>>2];if((c|0)>=0){v[e+100>>2]=v[a+36>>2];v[e+96>>2]=c;v[e+88>>2]=9;ue(e+88|0,b,e+72|0,0);if(v[e+72>>2]==8){break c}fb(1,-1,278722,0);bb(e+72|0);bb(e+88|0)}break b}bb(e+72|0);bb(e+88|0);c=ab(48);v[c+16>>2]=0;v[c+20>>2]=0;v[c+40>>2]=-1;v[c>>2]=0;v[c+32>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+4>>2]=v[a+20>>2];b=v[a+36>>2];v[c+8>>2]=v[a+32>>2];v[c+12>>2]=b;break a}b=v[a+16>>2];d:{if(!b){break d}b=eV(v[291134],b);if(!b){break d}c=AV(b,0,0,Qa[v[v[a>>2]+8>>2]](a)|0);if(c){break a}}e:{if(Qa[v[v[a>>2]+8>>2]](a)|0){break e}b=v[a+160>>2];if(!b){break e}d=ab(8);c=Rb(d,v[b+4>>2]);b=dV(v[291134],c,e+68|0,e+56|0);Bb(c);$a(d);if(!b){break e}s=A[e+56>>3];f=v[e+68>>2];d=tv(v[b+4>>2]);if(!(d>>>0>=9|!(375>>>d&1))){c=ab(48);v[c+40>>2]=-1;A[c+24>>3]=s;v[c+20>>2]=f;v[c+16>>2]=b;v[c>>2]=1;v[c+32>>2]=0;v[c+4>>2]=v[(d<<2)+887436>>2];break a}$a(Bb(b))}l=v[a+16>>2];f:{if(!l){break f}c=0;q=v[v[291134]+60>>2];b=v[q>>2];g:{if(v[b+8>>2]<1){break g}while(1){i=v[v[b>>2]+(o<<2)>>2];p=i;b=Ma-32|0;Ma=b;d=0;h:{if(xP(v[v[i>>2]+4>>2],v[l+4>>2],2)){break h}m=ab(8);d=Qd(m);f=v[l+4>>2];while(1){i:{h=w[f|0];g=h-32|0;if(!((1<>>0<=13:0)|(h|0)==95)){if(!h){break i}$b(d,((h-97&255)>>>0<26?h&223:h)<<24>>24)}f=f+1|0;continue}break}f=v[i>>2];n=ab(8);h=Qd(n);f=v[f+4>>2];while(1){j:{g=w[f|0];j=g-32|0;if(!((1<>>0<=13:0)|(g|0)==95)){if(!g){break j}$b(h,((g-97&255)>>>0<26?g&223:g)<<24>>24)}f=f+1|0;continue}break}if(!vh(d,h)){Bb(d);$a(m);Bb(h);$a(n);d=8;break h}f=fV(l);g=fV(v[i>>2]);if(!vh(f,g)){Bb(d);$a(m);Bb(h);$a(n);$a(Bb(f));$a(Bb(g));d=7;break h}nz(d,b+28|0,b+24|0);nz(h,b+20|0,b+16|0);i=vh(d,h);nz(f,b+12|0,b+8|0);nz(g,b+4|0,b);j=vh(f,g);Bb(d);$a(m);Bb(h);$a(n);$a(Bb(f));$a(Bb(g));if(!(v[b+28>>2]!=v[b+20>>2]|i)){d=6;if(v[b+24>>2]==v[b+16>>2]){break h}}if(!(v[b+12>>2]!=v[b+4>>2]|j)){d=5;if(v[b+8>>2]==v[b>>2]){break h}}if(!i){d=4;if(v[b+24>>2]==v[b+16>>2]){break h}}if(!j){d=3;if(v[b+8>>2]==v[b>>2]){break h}}d=i?!j:2}Ma=b+32|0;b=(d|0)>(r|0);c=b?p:c;r=b?d:r;o=o+1|0;b=v[q>>2];if((o|0)>2]){continue}break}if(!c){break g}b=v[c+4>>2];k=Hc(ab(8),b);v[e+108>>2]=v[c+8>>2];v[e+68>>2]=v[c+12>>2]}if(!k){break f}c=ab(48);v[c+40>>2]=-1;v[c+16>>2]=k;v[c>>2]=1;v[c+32>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+20>>2]=v[e+68>>2];f=Qa[v[v[a>>2]+8>>2]](a)|0;b=v[e+108>>2];d=b&-2;k:{if(f){if((d|0)==2){v[c+4>>2]=10;break a}if((b|0)!=4){break k}l:{switch(tv(v[k+4>>2])-4|0){case 3:v[c+4>>2]=9;break a;case 0:break l;default:break k}}v[c+4>>2]=10;break a}if((d|0)==2){v[c+4>>2]=5;break a}if(b>>>0<=1){v[c+4>>2]=1;break a}if((b|0)!=4){break k}m:{switch(tv(v[k+4>>2])-4|0){case 2:v[c+4>>2]=3;break a;case 0:break m;default:break k}}v[c+4>>2]=6;break a}$a(Bb(k));$a(c)}if(!(Qa[v[v[a>>2]+8>>2]](a)|0)){b=v[a+24>>2];c=0;f=ab(8);h=b>>>6&1|b>>>17&2|(b&1?0:b&2?8:4);g=v[(h<<2)+887216>>2];b=Rb(f,g);d=dV(v[291134],b,e+68|0,e+56|0);Bb(b);$a(f);if(!d){break a}b=AV(d,v[e+68>>2],A[e+56>>3],0);if(!b){break a}v[e+4>>2]=v[a+16>>2];v[e>>2]=g;fb(0,-1,335728,e);v[b+40>>2]=h;c=b;break a}c=0;p=v[v[291134]+52>>2];b=v[a+164>>2];if(b){b=v[b>>2]}else{b=0}b=om(p,b);if(b){b=Hc(ab(8),b)}else{b=0}if(!b){break a}d=tv(v[b+4>>2])-3|0;if(!(d>>>0>=6|!(55>>>d&1))){c=ab(48);v[c+40>>2]=-1;v[c+24>>2]=0;v[c+28>>2]=0;v[c+20>>2]=0;v[c+16>>2]=b;v[c>>2]=1;v[c+32>>2]=0;v[c+4>>2]=v[(d<<2)+887412>>2];v[e+36>>2]=v[a+16>>2];v[e+32>>2]=b;fb(0,-1,335690,e+32|0);break a}$a(Bb(b))}Ma=e+112|0;return c}function KK(a,b,c){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;a:while(1){i=b-4|0;while(1){b:{c:{d:{e:{f:{g:{d=b-a|0;e=d>>2;switch(e|0){case 0:case 1:break b;case 5:break d;case 4:break e;case 3:break f;case 2:break g;default:break c}}c=v[v[c>>2]+12>>2];b=b-4|0;d=v[b>>2];e=v[a>>2];if(y[v[c+(d<<2)>>2]>>2]>=y[v[c+(e<<2)>>2]>>2]){break b}v[a>>2]=d;v[b>>2]=e;return}d=b-4|0;e=v[d>>2];b=v[v[c>>2]+12>>2];f=v[v[(e<<2)+b>>2]>>2];g=v[a+4>>2];i=v[v[b+(g<<2)>>2]>>2];c=v[a>>2];h=v[b+(c<<2)>>2];if(i>>>0>=y[h>>2]){if(f>>>0>=i>>>0){break b}v[a+4>>2]=e;v[d>>2]=g;c=v[a+4>>2];d=v[a>>2];if(y[v[b+(c<<2)>>2]>>2]>=y[v[b+(d<<2)>>2]>>2]){break b}v[a+4>>2]=d;v[a>>2]=c;return}if(f>>>0>>0){v[a>>2]=e;v[d>>2]=c;return}v[a+4>>2]=c;v[a>>2]=g;e=v[d>>2];if(y[v[b+(e<<2)>>2]>>2]>=y[h>>2]){break b}v[a+4>>2]=e;v[d>>2]=c;return}FK(a,a+4|0,a+8|0,b-4|0,c);return}EK(a,a+4|0,a+8|0,a+12|0,b-4|0,c);break b}if((d|0)<=123){i=a+4|0;d=a+8|0;k=v[v[c>>2]+12>>2];g=v[a+8>>2];l=v[k+(g<<2)>>2];m=v[l>>2];h:{i:{j:{h=v[a+4>>2];o=v[v[k+(h<<2)>>2]>>2];j=v[a>>2];n=v[k+(j<<2)>>2];if(o>>>0>=y[n>>2]){if(m>>>0>>0){break j}f=g;break h}c=a;e=d;f=j;if(m>>>0>>0){break i}v[a+4>>2]=j;v[a>>2]=h;c=i;if(y[l>>2]>2]){break i}f=g;break h}v[i>>2]=g;v[d>>2]=h;c=a;e=i;f=h;if(y[l>>2]>=y[n>>2]){break h}}v[c>>2]=g;v[e>>2]=j}e=a+12|0;if((e|0)==(b|0)){break b}while(1){c=e;g=e;i=v[e>>2];h=v[k+(i<<2)>>2];if(y[h>>2]>2]>>2]){while(1){k:{v[g>>2]=f;e=d;if((d|0)==(a|0)){e=a;break k}g=e;d=e-4|0;f=v[d>>2];if(y[h>>2]>2]>>2]){continue}}break}v[e>>2]=i}e=c+4|0;if((e|0)==(b|0)){break b}f=v[c>>2];d=c;continue}}h=((e|0)/2<<2)+a|0;l:{if((d|0)>=3997){d=(e|0)/4<<2;j=EK(a,d+a|0,h,d+h|0,i,c);e=v[v[c>>2]+12>>2];break l}e=v[v[c>>2]+12>>2];f=v[i>>2];g=v[v[e+(f<<2)>>2]>>2];k=v[h>>2];l=v[v[(k<<2)+e>>2]>>2];d=v[a>>2];m=v[(d<<2)+e>>2];m:{if(l>>>0>=y[m>>2]){j=0;if(g>>>0>=l>>>0){break l}v[h>>2]=f;v[i>>2]=k;j=1;d=v[h>>2];f=v[a>>2];if(y[v[(d<<2)+e>>2]>>2]>=y[v[(f<<2)+e>>2]>>2]){break l}v[a>>2]=d;v[h>>2]=f;break m}if(g>>>0>>0){v[a>>2]=f;v[i>>2]=d;j=1;break l}v[a>>2]=k;v[h>>2]=d;j=1;f=v[i>>2];if(y[v[(f<<2)+e>>2]>>2]>=y[m>>2]){break l}v[h>>2]=f;v[i>>2]=d}j=2}f=i;n:{o:{g=v[a>>2];d=v[v[(g<<2)+e>>2]>>2];k=v[v[(v[h>>2]<<2)+e>>2]>>2];if(d>>>0>=k>>>0){while(1){f=f-4|0;if((f|0)==(a|0)){g=a+4|0;f=v[i>>2];if(d>>>0>2]>>2]){break o}if((g|0)==(i|0)){break b}while(1){h=v[g>>2];if(d>>>0>2]>>2]){v[g>>2]=f;v[i>>2]=h;g=g+4|0;break o}g=g+4|0;if((i|0)!=(g|0)){continue}break}break b}l=v[f>>2];if(k>>>0<=y[v[(l<<2)+e>>2]>>2]){continue}break}v[a>>2]=l;v[f>>2]=g;j=j+1|0}d=a+4|0;if(d>>>0>>0){while(1){k=v[v[(v[h>>2]<<2)+e>>2]>>2];while(1){g=d;d=d+4|0;l=v[g>>2];if(k>>>0>y[v[(l<<2)+e>>2]>>2]){continue}break}while(1){f=f-4|0;m=v[f>>2];if(k>>>0<=y[v[(m<<2)+e>>2]>>2]){continue}break}if(f>>>0>>0){d=g}else{v[g>>2]=m;v[f>>2]=l;h=(g|0)==(h|0)?f:h;j=j+1|0;continue}break}}p:{if((d|0)==(h|0)){break p}f=v[h>>2];n=v[v[(f<<2)+e>>2]>>2];g=e;e=v[d>>2];if(n>>>0>=y[v[g+(e<<2)>>2]>>2]){break p}v[d>>2]=f;v[h>>2]=e;j=j+1|0}if(!j){g=p3(a,d,c);f=d+4|0;if(p3(f,b,c)){b=d;if(!g){continue a}break b}e=2;if(g){break n}}if((d-a|0)<(b-d|0)){KK(a,d,c);a=d+4|0;continue}KK(d+4|0,b,c);b=d;continue a}d=i;if((g|0)==(d|0)){break b}while(1){h=v[v[(v[a>>2]<<2)+e>>2]>>2];while(1){f=g;g=f+4|0;j=v[f>>2];if(h>>>0>=y[v[(j<<2)+e>>2]>>2]){continue}break}while(1){d=d-4|0;k=v[d>>2];if(h>>>0>2]>>2]){continue}break}if(d>>>0>f>>>0){v[f>>2]=k;v[d>>2]=j;continue}break}e=4}a=f;if((e|0)==4|(e|0)==2){continue}}break}break}}function su(a,b,c,d,e,f){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,w=0,y=0,z=0,A=0,C=0;if(v[296199]<=-1){lQ()}g=e>>1;if((g|0)>=(f|0)){C=c-1|0;while(1){r=g;w=B(d,g);z=w<<1;n=(C|0)/(g|0)|0;if((n|0)>=-3){m=0-w|0;o=B(w,3);p=0-o|0;k=a;g=0;while(1){l=g;s=b<<1;q=s+k|0;a:{b:{c:{t=g>>>0<3;h=g+3|0;d:{if(!(t|(h|0)>(n|0))){g=k;if((b|0)<1){break c}while(1){u[g>>1]=x[g>>1]-((B(u[g+z>>1]+u[(m<<1)+g>>1]|0,9)-(u[(p<<1)+g>>1]+u[(o<<1)+g>>1]|0)|0)+16>>>5|0);g=(r<<1)+g|0;if(q>>>0>g>>>0){continue}break}break d}if((l|0)>(n|0)){break d}g=(h|0)>(n|0)?0:(o<<1)+k|0;j=(n|0)<(l|1)?0:k+z|0;if(!t){h=k;if((b|0)<1){break a}while(1){y=u[(m<<1)+h>>1];i=u[(p<<1)+h>>1];u[h>>1]=x[h>>1]-((B(y+(j?u[j>>1]:0)|0,9)-((g?u[g>>1]:0)+i|0)|0)+16>>>5|0);i=r<<1;g=g?i+g|0:0;j=j?j+i|0:0;h=h+i|0;if(q>>>0>h>>>0){continue}break}break d}if(l){h=k;if((b|0)<=0){break a}while(1){y=u[(m<<1)+h>>1];u[h>>1]=x[h>>1]-((B(y+(j?u[j>>1]:0)|0,9)-(g?u[g>>1]:0)|0)+16>>>5|0);i=r<<1;g=g?i+g|0:0;j=j?j+i|0:0;h=h+i|0;if(q>>>0>h>>>0){continue}break}break d}h=k;if((b|0)<=0){break a}while(1){u[h>>1]=x[h>>1]-((B(j?u[j>>1]:0,9)-(g?u[g>>1]:0)|0)+16>>>5|0);i=r<<1;g=g?i+g|0:0;j=j?j+i|0:0;h=h+i|0;if(q>>>0>h>>>0){continue}break}}h=p<<1;g=h+k|0;i=s+g|0;if(l>>>0<6|(l|0)>(n|0)){break b}if((b|0)<1){break a}while(1){u[g>>1]=x[g>>1]+((B(u[g+z>>1]+u[(m<<1)+g>>1]|0,9)-(u[g+h>>1]+u[(o<<1)+g>>1]|0)|0)+8>>>4|0);g=(r<<1)+g|0;if(i>>>0>g>>>0){continue}break}break a}g=(p<<1)+k|0;i=s+g|0;if(l>>>0<6){break b}if((l|0)<=(n|0)){break a}}if(t|(b|0)<1){break a}j=((p<<1)+k|0)+(((n|0)<(l-2|0)?m:w)<<1)|0;while(1){u[g>>1]=x[g>>1]+((u[(m<<1)+g>>1]+u[j>>1]|0)+1>>>1|0);h=r<<1;j=h+j|0;g=g+h|0;if(i>>>0>g>>>0){continue}break}}g=l+2|0;k=(z<<1)+k|0;if((n|0)>=(l-1|0)){continue}break}}if((c|0)>=1){s=e&-2;e=0;t=B(r,3);A=0-t|0;p=a;while(1){g=p;i=0;j=0;k=0;q=0;if((b|0)>=1){i=(b|0)>(r|0)?u[(r<<1)+p>>1]:i;j=(b|0)>(t|0)?u[(t<<1)+p>>1]:j;k=u[p>>1]-((B(i,9)-j|0)+16>>5)|0;u[p>>1]=k;g=(s<<1)+p|0}o=(b<<1)+p|0;e:{if(o>>>0<=g>>>0){h=0;l=j;m=k;break e}l=j;h=(t<<1)+g|0;if(h>>>0>>0){l=u[h>>1]}m=u[g>>1]-((B(j+i|0,9)-l|0)+16>>5)|0;u[g>>1]=m;g=(s<<1)+g|0;h=i;i=j}f:{if(g>>>0>=o>>>0){n=l;j=m;break f}n=l;j=(t<<1)+g|0;if(j>>>0>>0){n=u[j>>1]}j=u[g>>1]-((B(i+l|0,9)-(h+n|0)|0)+16>>5)|0;u[g>>1]=j;h=(A<<1)+g|0;u[h>>1]=x[h>>1]+((k+m|0)+1>>>1|0);g=(s<<1)+g|0;h=i;i=l;q=k;k=m}y=t<<1;m=y+g|0;if(o>>>0>m>>>0){while(1){l=k;k=j;w=i;i=n;n=u[m>>1];j=u[g>>1]-((B(w+i|0,9)-(n+h|0)|0)+16>>5)|0;u[g>>1]=j;h=(A<<1)+g|0;u[h>>1]=x[h>>1]+((B(k+l|0,9)-(j+q|0)|0)+8>>>4|0);q=l;h=w;g=(s<<1)+g|0;m=y+g|0;if(o>>>0>m>>>0){continue}break}}g:{if(g>>>0>=o>>>0){i=j;break g}l=u[g>>1]-((B(i+n|0,9)-h|0)+16>>5)|0;u[g>>1]=l;m=A<<1;h=m+g|0;u[h>>1]=x[h>>1]+((B(j+k|0,9)-(l+q|0)|0)+8>>>4|0);q=s<<1;g=q+g|0;if(o>>>0<=g>>>0){k=j;i=l;break g}h=u[g>>1]-((B(n,9)-i|0)+16>>5)|0;u[g>>1]=h;i=g+m|0;u[i>>1]=x[i>>1]+((B(j+l|0,9)-(h+k|0)|0)+8>>>4|0);g=g+q|0;if(o>>>0<=g>>>0){k=l;i=h;break g}i=u[g>>1]-(16-n>>5)|0;u[g>>1]=i;k=g+m|0;u[k>>1]=x[k>>1]+((B(h+l|0,9)-(j+i|0)|0)+8>>>4|0);k=h;g=g+q|0;if(o>>>0<=g>>>0){break g}while(1){k=h;h=g+m|0;j=h;n=x[h>>1];h=i;i=u[g>>1];u[j>>1]=n+((B(k+h|0,9)-(l+i|0)|0)+8>>>4|0);l=k;g=g+q|0;if(o>>>0>g>>>0){continue}break}k=h}l=A<<1;h=l+g|0;h:{if(h>>>0>=o>>>0){break h}j=i+1|0;if(h>>>0>=p>>>0){u[h>>1]=x[h>>1]+(j+k>>>1|0)}h=s<<1;k=h+g|0;g=l+k|0;if(o>>>0<=g>>>0){break h}i=j+i>>>1|0;while(1){if(g>>>0>=p>>>0){u[g>>1]=i+x[g>>1]}k=h+k|0;g=l+k|0;if(o>>>0>g>>>0){continue}break}}p=p+z|0;e=e+r|0;if((e|0)<(c|0)){continue}break}}e=r;g=r>>1;if((g|0)>=(f|0)){continue}break}}}function G0(a,b,c,d,e,f,g,h,i,j,k,l){var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0,y=0,z=0,B=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,L=0,M=0;B=A[a+8>>3]*k;a:{b:{q=A[d>>3];r=q+f;C=A[c>>3];n=C+f;w=r-n;o=A[e+8>>3];s=A[d+8>>3];y=s-i;E=o-i-y;t=s-g;F=A[c+8>>3];p=F-g;G=t-p;x=A[e>>3];z=q+h;H=x+h-z;I=w*E-G*H;J=D(I);if(!(J<1e-30)){o=((p-y)*H-(n-z)*E)/I;n=n+w*o;x=n-q;p=p+G*o;o=p-s;w=K(x*x+o*o);if(!(B>=w)){break b}e=v[b+4>>2];c=v[b>>2];d=c>>>6|0;if(e>>>0<=d>>>0){a=v[b+8>>2];c:{if(a>>>0>d>>>0){a=v[b+12>>2];break c}j=a+v[b+16>>2]|0;a=ab((j&1073741823)!=(j|0)?-1:j<<2);m=v[b+12>>2];if(m){cb(a,m,e<<2);$a(m);j=v[b+8>>2]+v[b+16>>2]|0;e=v[b+4>>2];c=v[b>>2]}v[b+8>>2]=j;v[b+12>>2]=a}L=(d<<2)+a|0,M=ab(1024),v[L>>2]=M;v[b+4>>2]=e+1}a=v[v[b+12>>2]+(d<<2)>>2]+((c&63)<<4)|0;A[a+8>>3]=p;A[a>>3]=n;break a}w=1;p=s;n=q;if((!((r-q)*(s-F)-(t-s)*(q-C)<0)|0)==((r-x)*(o-s)-(x-q)*(t-o)<0|0)){break b}e=v[b+4>>2];c=v[b>>2];d=c>>>6|0;if(e>>>0<=d>>>0){a=v[b+8>>2];d:{if(a>>>0>d>>>0){a=v[b+12>>2];break d}j=a+v[b+16>>2]|0;a=ab((j&1073741823)!=(j|0)?-1:j<<2);m=v[b+12>>2];if(m){cb(a,m,e<<2);$a(m);j=v[b+8>>2]+v[b+16>>2]|0;e=v[b+4>>2];c=v[b>>2]}v[b+8>>2]=j;v[b+12>>2]=a}L=(d<<2)+a|0,M=ab(1024),v[L>>2]=M;v[b+4>>2]=e+1}a=v[v[b+12>>2]+(d<<2)>>2]+((c&63)<<4)|0;A[a+8>>3]=t;A[a>>3]=r;break a}e:{f:{switch(j-1|0){case 0:a=v[b+4>>2];e=v[b>>2];m=e>>>6|0;if(a>>>0<=m>>>0){c=v[b+8>>2];g:{if(c>>>0>m>>>0){j=v[b+12>>2];break g}c=c+v[b+16>>2]|0;j=ab((c&1073741823)!=(c|0)?-1:c<<2);u=v[b+12>>2];if(u){cb(j,u,a<<2);$a(u);c=v[b+8>>2]+v[b+16>>2]|0;e=v[b>>2];a=v[b+4>>2]}v[b+8>>2]=c;v[b+12>>2]=j}L=(m<<2)+j|0,M=ab(1024),v[L>>2]=M;v[b+4>>2]=a+1}a=v[v[b+12>>2]+(m<<2)>>2]+((e&63)<<4)|0;A[a+8>>3]=t;A[a>>3]=r;c=v[b>>2]+1|0;v[b>>2]=c;f=A[d+8>>3]-i;g=A[d>>3]+h;break e;case 3:IJ(a,b,q,s,f,-g,h,-i);return;default:break f}}if(J<1e-30){k=+v[a+24>>2]*k;f=t+k*f;a=v[b+4>>2];e=v[b>>2];m=e>>>6|0;if(a>>>0<=m>>>0){c=v[b+8>>2];h:{if(c>>>0>m>>>0){j=v[b+12>>2];break h}c=c+v[b+16>>2]|0;j=ab((c&1073741823)!=(c|0)?-1:c<<2);u=v[b+12>>2];if(u){cb(j,u,a<<2);$a(u);c=v[b+8>>2]+v[b+16>>2]|0;e=v[b>>2];a=v[b+4>>2]}v[b+8>>2]=c;v[b+12>>2]=j}L=(m<<2)+j|0,M=ab(1024),v[L>>2]=M;v[b+4>>2]=a+1}a=v[v[b+12>>2]+(m<<2)>>2]+((e&63)<<4)|0;A[a+8>>3]=f;A[a>>3]=r+k*g;c=v[b>>2]+1|0;v[b>>2]=c;f=A[d+8>>3]-i-k*h;g=A[d>>3]+h-k*i;break e}f=(B-l)/(w-l);g=t+f*(p-t);e=v[b+4>>2];c=v[b>>2];d=c>>>6|0;if(e>>>0<=d>>>0){a=v[b+8>>2];i:{if(a>>>0>d>>>0){a=v[b+12>>2];break i}j=a+v[b+16>>2]|0;a=ab((j&1073741823)!=(j|0)?-1:j<<2);m=v[b+12>>2];if(m){cb(a,m,e<<2);$a(m);j=v[b+8>>2]+v[b+16>>2]|0;e=v[b+4>>2];c=v[b>>2]}v[b+8>>2]=j;v[b+12>>2]=a}L=(d<<2)+a|0,M=ab(1024),v[L>>2]=M;v[b+4>>2]=e+1}a=v[v[b+12>>2]+(d<<2)>>2]+((c&63)<<4)|0;A[a+8>>3]=g;A[a>>3]=r+f*(n-r);d=v[b>>2]+1|0;v[b>>2]=d;e=v[b+4>>2];c=d>>>6|0;if(e>>>0<=c>>>0){a=v[b+8>>2];j:{if(a>>>0>c>>>0){a=v[b+12>>2];break j}j=a+v[b+16>>2]|0;a=ab((j&1073741823)!=(j|0)?-1:j<<2);m=v[b+12>>2];if(m){cb(a,m,e<<2);$a(m);j=v[b+8>>2]+v[b+16>>2]|0;e=v[b+4>>2];d=v[b>>2]}v[b+8>>2]=j;v[b+12>>2]=a}L=(c<<2)+a|0,M=ab(1024),v[L>>2]=M;v[b+4>>2]=e+1}a=v[v[b+12>>2]+(c<<2)>>2]+((d&63)<<4)|0;A[a+8>>3]=y+f*(p-y);A[a>>3]=z+f*(n-z);v[b>>2]=v[b>>2]+1;return}e=v[b+4>>2];d=c>>>6|0;if(e>>>0<=d>>>0){a=v[b+8>>2];k:{if(a>>>0>d>>>0){a=v[b+12>>2];break k}j=a+v[b+16>>2]|0;a=ab((j&1073741823)!=(j|0)?-1:j<<2);m=v[b+12>>2];if(m){cb(a,m,e<<2);$a(m);j=v[b+8>>2]+v[b+16>>2]|0;e=v[b+4>>2];c=v[b>>2]}v[b+8>>2]=j;v[b+12>>2]=a}L=(d<<2)+a|0,M=ab(1024),v[L>>2]=M;v[b+4>>2]=e+1}a=v[v[b+12>>2]+(d<<2)>>2]+((c&63)<<4)|0;A[a+8>>3]=f;A[a>>3]=g}v[b>>2]=v[b>>2]+1}function pd(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,m=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;c=1;o(+b);e=j(1)|0;f=j(0)|0;h=e;a:{b:{v=e;m=e&2147483647;e=f;c:{if(!(m|e)){break c}o(+a);i=j(1)|0;f=j(0)|0;k=i;x=i;s=f;if(f?0:(i|0)==1072693248){break c}d:{i=x&2147483647;if(!(i>>>0>2146435072|(i|0)==2146435072&(s|0)!=0|m>>>0>2146435072)){if(!e|(m|0)!=2146435072){break d}}return a+b}e:{f:{g:{h:{if((k|0)>-1){break h}t=2;if(m>>>0>1128267775){break g}if(m>>>0<1072693248){break h}f=m>>>20|0;if(m>>>0>=1094713344){d=1075-f|0;f=e>>>d|0;t=0;if((e|0)!=f<>>f|0;if((m|0)!=e<>>0>=1072693248){return(h|0)>-1?b:0}return(h|0)>-1?0:-b}if((m|0)==1072693248){if((h|0)>-1){return a}return 1/a}if((v|0)==1073741824){return a*a}if((v|0)!=1071644672|(k|0)<0){break e}return K(a)}c=D(a);if(!((i?(x&1073741823)!=1072693248:0)|s)){c=(h|0)<0?1/c:c;if((k|0)>-1){break c}if(!(i-1072693248|d)){a=c-c;return a/a}return(d|0)==1?-c:c}q=1;i:{if((k|0)>-1){break i}j:{switch(d|0){case 0:a=a-a;return a/a;case 1:break j;default:break i}}q=-1}k:{if(m>>>0>=1105199105){if(m>>>0>=1139802113){if(i>>>0<=1072693247){return(h|0)<0?N:0}return(v|0)>0?N:0}if(i>>>0<=1072693246){return(h|0)<0?q*1e300*1e300:q*1e-300*1e-300}if(i>>>0>=1072693249){return(v|0)>0?q*1e300*1e300:q*1e-300*1e-300}a=c+-1;c=a*1.9259629911266175e-8+a*a*(.5-a*(a*-.25+.3333333333333333))*-1.4426950408889634;g=c;c=a*1.4426950216293335;o(+(g+c));d=j(1)|0;j(0)|0;l(0,0);l(1,d|0);a=+n();g=g-(a-c);break k}a=c*9007199254740992;e=i>>>0<1048576;c=e?a:c;o(+a);d=j(1)|0;j(0)|0;k=e?d:i;f=k&1048575;d=f|1072693248;k=(k>>20)+(e?-1076:-1023)|0;e=0;l:{if(f>>>0<235663){break l}if(f>>>0<767610){e=1;break l}d=f|1071644672;k=k+1|0}s=e<<3;y=A[s+994592>>3];a=A[s+994576>>3];o(+c);j(1)|0;f=0;l(0,j(0)|f);l(1,d|0);p=+n();c=1/(a+p);r=c;g=p-a;w=g;l(0,f|0);l(1,((e<<18)+(d>>>1|0)|0)+537395200|0);u=+n();g=g*c;o(+g);d=j(1)|0;j(0)|0;l(0,0);l(1,d|0);c=+n();a=r*(w-u*c-(p-(u-a))*c);r=a;p=c*c;w=a*(g+c);a=g*g;u=w+a*a*(a*(a*(a*(a*(a*.20697501780033842+.23066074577556175)+.272728123808534)+.33333332981837743)+.4285714285785502)+.5999999999999946);o(+(p+3+u));d=j(1)|0;j(0)|0;l(0,0);l(1,d|0);a=+n();g=r*a+g*(u-(a+-3-p));c=c*a;o(+(g+c));d=j(1)|0;j(0)|0;l(0,0);l(1,d|0);a=+n();c=y+((g-(a-c))*.9617966939259756+a*-7.028461650952758e-9);r=c;g=A[s+994608>>3];c=a*.9617967009544373;p=+(k|0);o(+(g+(r+c)+p));d=j(1)|0;j(0)|0;l(0,0);l(1,d|0);a=+n();g=r-(a-p-g-c)}l(0,0);l(1,h|0);p=+n();c=a*p;a=g*b+(b-p)*a;b=c+a;o(+b);h=j(1)|0;d=j(0)|0;f=h;e=d;m:{if((f|0)>=1083179008){if(e|h-1083179008){break b}if(!(a+8.008566259537294e-17>b-c)){break m}break b}if((h&2147482624)>>>0<1083231232){break m}if(e|h+1064252416){break a}if(!(a<=b-c)){break m}break a}e=0;k=h&2147483647;if(k>>>0>=1071644673){d=h+(1048576>>>(k>>>20|0)-1022|0)|0;h=d>>>20&2047;e=(d&1048575|1048576)>>>1043-h|0;e=(f|0)<0?0-e|0:e;l(0,0);l(1,d&-1048576>>h-1023);c=c-+n();o(+(a+c));f=j(1)|0;j(0)|0}l(0,0);l(1,f|0);b=+n();g=b*.6931471824645996;c=(a-(b-c))*.6931471805599453+b*-1.904654299957768e-9;a=g+c;b=a*a;b=a-b*(b*(b*(b*(b*4.1381367970572385e-8+-16533902205465252e-22)+6613756321437934e-20)+-.0027777777777015593)+.16666666666666602);r=a*b/(b+-2);b=c-(a-g);a=a-(r-(b+a*b))+1;o(+a);d=j(1)|0;f=j(0)|0;d=(e<<20)+d|0;n:{if((d|0)<=1048575){a=Zk(a,e);break n}l(0,f|0);l(1,d|0);a=+n()}c=q*a}return c}return q*1e300*1e300}return q*1e-300*1e-300}function HV(a,b){var 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;f=Ma-48|0;Ma=f;v[f+32>>2]=13;v[f+16>>2]=13;a:{while(1){if(v[a+40>>2]==7){if(v[ib(v[a+48>>2],b,f+16|0,0)>>2]!=5){m=f+32|0;Yd(v[a+48>>2],b,m);g=Ma-16|0;Ma=g;v[g>>2]=13;b:{c:{d:{e:{b=f+16|0;e=b;switch(v[e>>2]-7|0){case 1:break d;case 0:break e;default:break b}}a=v[e+8>>2];break c}a=v[e+8>>2];a=Qa[v[v[a>>2]+76>>2]](a)|0}ib(a,279214,g,0);f:{if(v[g>>2]!=1){break f}g:{switch(v[g+8>>2]-1|0){case 0:c=Ma-48|0;Ma=c;v[c+32>>2]=13;v[c+16>>2]=13;v[c>>2]=13;if(v[e>>2]==8){i=1;a=v[e+8>>2];d=Qa[v[v[a>>2]+76>>2]](a)|0;h:{if(v[ib(d,279195,c+16|0,0)>>2]==1){i=v[c+24>>2];break h}fb(0,-1,244824,0)}a=c+16|0;bb(a);e=1;i:{if(v[ib(d,279257,a,0)>>2]==1){e=v[c+24>>2];break i}fb(0,-1,244864,0)}a=c+16|0;bb(a);j:{k:{if(v[ib(d,220495,a,0)>>2]!=6){break k}a=v[c+24>>2];if(v[a+12>>2]!=4){break k}if(v[ub(a,0,c,0)>>2]-1>>>0<=1){s=v[c>>2]==1?+v[c+8>>2]:A[c+8>>3]}bb(c);if(v[ub(v[c+24>>2],1,c,0)>>2]-1>>>0<=1){t=v[c>>2]==1?+v[c+8>>2]:A[c+8>>3]}bb(c);h=1;j=1;if(v[ub(v[c+24>>2],2,c,0)>>2]-1>>>0<=1){j=v[c>>2]==1?+v[c+8>>2]:A[c+8>>3]}bb(c);if(v[ub(v[c+24>>2],3,c,0)>>2]-1>>>0<=1){h=v[c>>2]==1?+v[c+8>>2]:A[c+8>>3]}bb(c);break j}fb(1,-1,244677,0);h=1;j=1}a=c+16|0;bb(a);l:{if(v[ib(d,242410,a,0)>>2]-1>>>0<=1){p=v[c+16>>2]==1?+v[c+24>>2]:A[c+24>>3];break l}fb(1,-1,244788,0);p=1}a=c+16|0;bb(a);m:{if(v[ib(d,242404,a,0)>>2]-1>>>0<=1){q=v[c+16>>2]==1?+v[c+24>>2]:A[c+24>>3];break m}fb(1,-1,244752,0);q=1}bb(c+16|0);if(v[ib(d,236775,c+32|0,0)>>2]!=7){bb(c+32|0);v[c+32>>2]=5;fb(1,-1,244712,0)}r=1;n:{if(v[ib(d,220530,c+16|0,0)>>2]!=6){k=1;break n}k=1;a=v[c+24>>2];if(v[a+12>>2]!=6){break n}if(v[ub(a,0,c,0)>>2]-1>>>0<=1){k=v[c>>2]==1?+v[c+8>>2]:A[c+8>>3]}bb(c);if(v[ub(v[c+24>>2],1,c,0)>>2]-1>>>0<=1){l=v[c>>2]==1?+v[c+8>>2]:A[c+8>>3]}bb(c);if(v[ub(v[c+24>>2],2,c,0)>>2]-1>>>0<=1){n=v[c>>2]==1?+v[c+8>>2]:A[c+8>>3]}bb(c);if(v[ub(v[c+24>>2],3,c,0)>>2]-1>>>0<=1){r=v[c>>2]==1?+v[c+8>>2]:A[c+8>>3]}bb(c);if(v[ub(v[c+24>>2],4,c,0)>>2]-1>>>0<=1){o=v[c>>2]==1?+v[c+8>>2]:A[c+8>>3]}bb(c);if(v[ub(v[c+24>>2],5,c,0)>>2]-1>>>0<=1){u=v[c>>2]==1?+v[c+8>>2]:A[c+8>>3]}bb(c)}bb(c+16|0);d=ab(144);v[d+128>>2]=13;v[d+64>>2]=13;v[d>>2]=888052;v[d+4>>2]=1;A[d+56>>3]=q;A[d+48>>3]=p;A[d+16>>3]=s;v[d+12>>2]=e;v[d+8>>2]=i;A[d+40>>3]=h;A[d+32>>3]=j;A[d+24>>3]=t;a=c+32|0;ee(a,d- -64|0);A[d+120>>3]=u;A[d+112>>3]=o;A[d+104>>3]=r;A[d+96>>3]=n;A[d+88>>3]=l;A[d+80>>3]=k;ee(m,d+128|0);bb(a)}Ma=c+48|0;break f;case 1:break g;default:break f}}c=Ma-32|0;Ma=c;v[c+16>>2]=13;v[c>>2]=13;o:{if(v[e>>2]!=7){break o}a=v[e+8>>2];i=c+16|0;ib(a,272690,i,0);e=pV(i);bb(i);if(!e){break o}l=1;p:{if(v[ib(a,220530,c+16|0,0)>>2]!=6){h=1;break p}h=1;a=v[c+24>>2];if(v[a+12>>2]!=6){break p}if(v[ub(a,0,c,0)>>2]-1>>>0<=1){h=v[c>>2]==1?+v[c+8>>2]:A[c+8>>3]}bb(c);if(v[ub(v[c+24>>2],1,c,0)>>2]-1>>>0<=1){o=v[c>>2]==1?+v[c+8>>2]:A[c+8>>3]}bb(c);if(v[ub(v[c+24>>2],2,c,0)>>2]-1>>>0<=1){k=v[c>>2]==1?+v[c+8>>2]:A[c+8>>3]}bb(c);if(v[ub(v[c+24>>2],3,c,0)>>2]-1>>>0<=1){l=v[c>>2]==1?+v[c+8>>2]:A[c+8>>3]}bb(c);if(v[ub(v[c+24>>2],4,c,0)>>2]-1>>>0<=1){j=v[c>>2]==1?+v[c+8>>2]:A[c+8>>3]}bb(c);if(v[ub(v[c+24>>2],5,c,0)>>2]-1>>>0<=1){n=v[c>>2]==1?+v[c+8>>2]:A[c+8>>3]}bb(c)}bb(c+16|0);d=ab(64);A[d+16>>3]=h;v[d+8>>2]=e;v[d>>2]=888072;v[d+4>>2]=2;A[d+56>>3]=n;A[d+48>>3]=j;A[d+40>>3]=l;A[d+32>>3]=k;A[d+24>>3]=o}Ma=c+32|0}bb(g)}Ma=g+16|0;bb(m);bb(b);break a}bb(f+16|0)}a=v[a+104>>2];if(a){continue}break}v[f>>2]=b;fb(1,-1,336152,f)}Ma=f+48|0;return d}function Li(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=Ma-32|0;Ma=h;a:{c=v[a+8>>2];b:{if((c|0)!=2){e=v[b>>2];c:{if(!e){break c}b=v[e+8>>2];if(!b){break c}c=v[e+12>>2];while(1){e=Qa[v[v[a>>2]+12>>2]](a,c,b)|0;if(!e){break a}c=c+e|0;j=e+j|0;b=b-e|0;if(b){continue}break}c=v[a+8>>2]}if((c|0)!=1){break b}v[a+8>>2]=3;break b}e=Ma-16|0;Ma=e;v[h>>2]=0;v[h+4>>2]=v[279250];c=v[b>>2];d:{if(!c|v[c+8>>2]+1>>>0<2){break d}f=Ma-32|0;Ma=f;c=v[b>>2];c=v[(c?c+12|0:1117e3)>>2];v[f+24>>2]=0;e:{if(!c|!w[c|0]){break e}d=1;g=Oc(f+16|0,bm(0,0));while(1){c=f+8|0;i=v[b>>2];Qa[v[v[i>>2]+24>>2]](c,i,0);jb(f+24|0,c);c=v[f+8>>2];v[f+8>>2]=0;f:{if(!c){break f}i=v[c+4>>2]-1|0;v[c+4>>2]=i;if(i){break f}i=v[c+4>>2];if(!i){v[c+4>>2]=-32767}if(!i){Qa[v[v[c>>2]+4>>2]](c)}}g:{h:{i:{if(d){if(v[f+24>>2]){break g}d=bm(0,349015);c=v[g>>2];if(!c){break i}i=v[c+12>>2];if(!(!i|!w[i|0])){c=1;if(!d|!w[d|0]){break h}c=hb(i,d);break h}break i}c=v[g>>2];bm(0,v[(c?c+12|0:1117e3)>>2]);break g}if(!d){break g}c=w[d|0]?-1:0}d=0;if(c){continue}}break}c=v[g>>2];v[g>>2]=0;if(!c){break e}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break e}d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}}c=Ma-32|0;Ma=c;v[e>>2]=0;v[e+4>>2]=v[279250];d=v[f+24>>2];j:{if(d){Qa[v[v[d>>2]+24>>2]](c+8|0,d,2);d=v[c+8>>2];k:{if(d){Qa[v[v[d>>2]+24>>2]](c+16|0,d,2);break k}v[c+16>>2]=0}jb(e,c+16|0);d=v[c+16>>2];v[c+16>>2]=0;l:{if(!d){break l}g=v[d+4>>2]-1|0;v[d+4>>2]=g;if(g){break l}g=v[d+4>>2];if(!g){v[d+4>>2]=-32767}if(!g){Qa[v[v[d>>2]+4>>2]](d)}}d=v[e>>2];v[e+4>>2]=v[(d?d+12|0:1117e3)>>2];d=v[c+8>>2];v[c+8>>2]=0;if(!d){break j}g=v[d+4>>2]-1|0;v[d+4>>2]=g;if(g){break j}g=v[d+4>>2];if(!g){v[d+4>>2]=-32767}if(!g){Qa[v[v[d>>2]+4>>2]](d)}break j}v[c+24>>2]=0;jb(e,c+24|0);d=v[c+24>>2];v[c+24>>2]=0;m:{if(!d){break m}g=v[d+4>>2]-1|0;v[d+4>>2]=g;if(g){break m}g=v[d+4>>2];if(!g){v[d+4>>2]=-32767}if(!g){Qa[v[v[d>>2]+4>>2]](d)}}d=v[e>>2];v[e+4>>2]=v[(d?d+12|0:1117e3)>>2]}Ma=c+32|0;c=v[f+24>>2];v[f+24>>2]=0;n:{if(!c){break n}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break n}d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}}Ma=f+32|0;c=v[e>>2];o:{if(c){Qa[v[v[c>>2]+24>>2]](e+8|0,c,2);break o}v[e+8>>2]=0}jb(h,e+8|0);c=v[e+8>>2];v[e+8>>2]=0;p:{if(!c){break p}f=v[c+4>>2]-1|0;v[c+4>>2]=f;if(f){break p}f=v[c+4>>2];if(!f){v[c+4>>2]=-32767}if(!f){Qa[v[v[c>>2]+4>>2]](c)}}c=v[h>>2];v[h+4>>2]=v[(c?c+12|0:1117e3)>>2];c=v[e>>2];v[e>>2]=0;q:{if(!c){break q}f=v[c+4>>2]-1|0;v[c+4>>2]=f;if(f){break q}f=v[c+4>>2];if(!f){v[c+4>>2]=-32767}if(!f){Qa[v[v[c>>2]+4>>2]](c)}}c=v[h>>2];if(v[c+8>>2]?c:0){break d}b=v[b>>2];c=v[(b?b+12|0:1117e3)>>2];b=Ma-32|0;Ma=b;v[b+24>>2]=0;v[b+28>>2]=0;v[b+20>>2]=0;v[b+16>>2]=978512;aj(b+8|0,b+16|0,c);v[b+16>>2]=978608;c=v[b+28>>2];if(c){t[c|0]=0;$a(v[b+28>>2])}v[b+28>>2]=0;bc(b+16|0);c=v[b+8>>2];r:{if(c){Qa[v[v[c>>2]+24>>2]](b+16|0,c,2);break r}v[b+16>>2]=0}jb(h,b+16|0);c=v[b+16>>2];v[b+16>>2]=0;s:{if(!c){break s}f=v[c+4>>2]-1|0;v[c+4>>2]=f;if(f){break s}f=v[c+4>>2];if(!f){v[c+4>>2]=-32767}if(!f){Qa[v[v[c>>2]+4>>2]](c)}}c=v[h>>2];v[h+4>>2]=v[(c?c+12|0:1117e3)>>2];c=v[b+8>>2];v[b+8>>2]=0;t:{if(!c){break t}f=v[c+4>>2]-1|0;v[c+4>>2]=f;if(f){break t}f=v[c+4>>2];if(!f){v[c+4>>2]=-32767}if(!f){Qa[v[v[c>>2]+4>>2]](c)}}Ma=b+32|0}Ma=e+16|0;e=v[h>>2];u:{if(!e){break u}b=v[e+8>>2];if(!b){break u}c=v[e+12>>2];while(1){e=Qa[v[v[a>>2]+12>>2]](a,c,b)|0;if(!e){break a}c=c+e|0;j=e+j|0;b=b-e|0;if(b){continue}break}}db(h)}Ma=h+32|0;return}lb(mb(h+8|0,237806,241689,474,329617));L()}function WX(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=-1;a:{if(!c|!b){break a}e=v[b>>2];b:{if(e){f=v[e+12>>2];if(f){h=0;if((c|0)==(f|0)){break a}v[e+12>>2]=c;return 0}v[e+12>>2]=c;h=0;i=v[e+16>>2];if(!i|v[i+32>>2]){break a}e=v[i+8>>2];if(!((e|0)==v[i+24>>2]|e>>>0>2147483646)){v[i+24>>2]=e}e=v[i+20>>2];f=v[i+4>>2];if(!((e|0)==(f|0)|f>>>0>2147483646)){v[i+20>>2]=f;e=f}if(!e){break a}c=v[c>>2];c:{if(!c){break c}d:{if(hb(c,312157)){if(hb(c,315602)){break d}}e=v[b+16>>2];if(w[e|0]!=255|w[e+1|0]!=254){break d}v[b+16>>2]=e+2}e:{if(hb(c,312235)){break e}e=v[b+16>>2];if(w[e|0]!=254|w[e+1|0]!=255){break e}v[b+16>>2]=e+2}if(hb(c,314541)){break c}c=v[b+16>>2];if(w[c|0]!=239|w[c+1|0]!=187|w[c+2|0]!=191){break c}v[b+16>>2]=c+3}c=v[b+16>>2]-v[b+12>>2]|0;Xv(i,c);e=v[b>>2];v[e+20>>2]=v[e+16>>2];e=TH();l=v[b>>2];v[l+32>>2]=c;v[l+16>>2]=e;c=0;f=v[l+20>>2];f:{if(!f|v[f+32>>2]){break f}c=v[f+8>>2];if(!((c|0)==v[f+24>>2]|c>>>0>2147483646)){v[f+24>>2]=c}c=v[f+20>>2];e=v[f+4>>2];if((c|0)==(e|0)|e>>>0>2147483646){break f}v[f+20>>2]=e;c=e}g:{if(v[a+32>>2]){e=kA(l,1);break g}i=d;f=Ma-96|0;Ma=f;e=-1;h:{if(!l|!v[l+12>>2]){break h}g=v[l+16>>2];if(!g){break h}j=v[l+20>>2];if(!j){break h}e=0;if(v[j+32>>2]){break h}d=v[j+8>>2];if(!((d|0)==v[j+24>>2]|d>>>0>2147483646)){v[j+24>>2]=d}d=v[j+20>>2];h=v[j+4>>2];if(!((d|0)==(h|0)|h>>>0>2147483646)){v[j+20>>2]=h;d=h}if(!d){break h}e=-1;h=v[g+32>>2];if(!h){k=v[g+24>>2];e=v[g+8>>2];if((k|0)==(e|0)|e>>>0>2147483646){e=k}else{v[g+24>>2]=e}m=e;e=v[g+20>>2];k=v[g+4>>2];if(!((e|0)==(k|0)|k>>>0>2147483646)){v[g+20>>2]=k;e=k}e=m+(e^-1)|0}k=f;i=(i|0)>-1?d>>>0>i>>>0?i:d:d>>>0<180?d:180;d=i<<1;i:{if(d>>>0>=e>>>0){if((d|0)>=1){SH(g,d);h=v[g+32>>2]}d=360;if(h){break i}d=v[g+24>>2];e=v[g+8>>2];if(!((d|0)==(e|0)|e>>>0>2147483646)){v[g+24>>2]=e;d=e}h=v[g+20>>2];e=v[g+4>>2];if((h|0)==(e|0)|e>>>0>2147483646){e=h}else{v[g+20>>2]=e}e=d+(e^-1)|0;h=0}d=e>>>0<360?e:360}v[k+88>>2]=d;v[f+92>>2]=i;j:{k:{i=v[v[l+12>>2]+4>>2];if(!i){break k}if(h){d=0}else{d=v[g+8>>2];if(!((d|0)==v[g+24>>2]|d>>>0>2147483646)){v[g+24>>2]=d}d=v[g+20>>2];e=v[g+4>>2];if(!((d|0)==(e|0)|e>>>0>2147483646)){v[g+20>>2]=e;d=e}d=d+v[g>>2]|0}i=Qa[i|0](d,f+88|0,v[j+32>>2]?0:v[j>>2],f+92|0)|0;Xv(j,v[f+92>>2]);l:{if(v[g+32>>2]){break l}e=v[g+24>>2];d=v[g+8>>2];if(!((e|0)==(d|0)|d>>>0>2147483646)){v[g+24>>2]=d;e=d}k=v[f+88>>2];h=v[g+20>>2];d=v[g+4>>2];if(!((h|0)==(d|0)|d>>>0>2147483646)){v[g+20>>2]=d;h=d}if(k>>>0>e-h>>>0){break l}d=h+k|0;v[g+20>>2]=d;v[g+8>>2]=e>>>0<2147483647?e:2147483647;v[g+4>>2]=d>>>0<2147483647?d:2147483647;if(d>>>0>=e>>>0){break l}t[d+v[g>>2]|0]=0}e=0;switch(i+3|0){case 0:case 2:break h;case 1:break k;default:break j}}d=v[j>>2];e=w[d|0];h=w[d+1|0];i=w[d+2|0];v[f+28>>2]=w[d+3|0];v[f+24>>2]=i;v[f+20>>2]=h;v[f+16>>2]=e;d=f+32|0;_i(d,49,308632,f+16|0);t[f+81|0]=0;v[f>>2]=d;nb(0,0,0,0,0,27,6003,3,d,0,0,0,340204,f);e=-2;break h}e=i}Ma=f+96|0}d=0;if((e|0)>=0){f=v[b>>2];e=v[f+20>>2];m:{if(!e|v[e+32>>2]){break m}a=v[e+8>>2];if(!((a|0)==v[e+24>>2]|a>>>0>2147483646)){v[e+24>>2]=a}d=v[e+20>>2];a=v[e+4>>2];if((d|0)==(a|0)|a>>>0>2147483646){break m}v[e+20>>2]=a;d=a}v[f+32>>2]=v[f+32>>2]+(c-d|0);h=0;d=v[f+16>>2];if(!d|v[d+32>>2]){break a}a=v[d+8>>2];if(!((a|0)==v[d+24>>2]|a>>>0>2147483646)){v[d+24>>2]=a}c=v[d+20>>2];a=v[d+4>>2];if(!((c|0)==(a|0)|a>>>0>2147483646)){v[d+20>>2]=a;c=a}a=v[d>>2];v[b+12>>2]=a;v[b+16>>2]=a;v[b+20>>2]=a+c;return 0}vq(a,340907,0);break b}h=0;if(v[b+24>>2]){break a}vq(a,338560,0)}h=-1}return h}function dk(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;l=t[a+201|0]&1?1088:64;m=v[a+52>>2];f=w[a+200|0];a:{if(!f){h=c?2048:3840;n=v[a+188>>2];while(1){e=x[m+(g<<1)>>1];b:{if(e>>>0>l>>>0){o=m+(e<<1)|0;j=0;while(1){e=x[o+(j<<1)>>1];c:{if(e){g=n+(e<<1)|0;p=i&15;if(i&1){if(h>>>0<=x[g>>1]){Qa[v[b+4>>2]](v[b>>2],i)}g=g+2|0;i=i+1|0}f=i;i=f;if((p|0)==15){break c}while(1){if(h>>>0<=x[g>>1]){Qa[v[b+4>>2]](v[b>>2],f)}if(h>>>0<=x[g+2>>1]){Qa[v[b+4>>2]](v[b>>2],f+1|0)}g=g+4|0;f=f+2|0;i=f;if(f&15){continue}break}break c}i=i+16|0}j=j+1|0;if((j|0)!=64){continue}break}break b}i=i+1024|0}k=k+1|0;g=k&65535;if(l>>>0>g>>>0){continue}break}break a}k=3;d:{e:{switch(f-2|0){case 1:k=4;break d;case 0:case 7:break d;default:break e}}k=2}n=v[a+188>>2];o=k<<4;p=l>>>1|0;r=k-2|0;while(1){f=x[m+(g<<1)>>1];f:{if(f>>>0>p>>>0){s=m+(f<<2)|0;i=0;while(1){f=v[s+(i<<2)>>2];g:{if(f){g=f>>>16|0;f=n+B(o,f&65535)|0;h:{switch(d|0){case 0:while(1){i:{if(g&1){Qa[v[b+4>>2]](v[b>>2],h);f=f+k|0;break i}if((c|0)!=1){break i}j=0;j:{switch(r|0){case 2:j=w[f|0];f=f+1|0;case 1:j=w[f|0]|j;f=f+1|0;break;case 0:break j;default:break i}}if(w[f+1|0]|(w[f|0]|j&255)){Qa[v[b+4>>2]](v[b>>2],h)}f=f+2|0}g=g>>>1|0;h=h+1|0;if(h&15){continue}break};break g;case 1:while(1){if(!(!(g&1)&(c|0)!=1|x[f>>1]<256)){Qa[v[b+4>>2]](v[b>>2],h)}f=f+2|0;g=g>>>1|0;h=h+1|0;if(h&15){continue}break};break g;case 2:while(1){if(!(!(g&1)&(c|0)!=1|(w[f|0]+127&255)>>>0>1)){Qa[v[b+4>>2]](v[b>>2],h)}f=f+3|0;g=g>>>1|0;h=h+1|0;if(h&15){continue}break};break g;case 3:while(1){if(!(!(g&1)&(c|0)!=1|(x[f>>1]+32448&65535)>>>0>28348)){Qa[v[b+4>>2]](v[b>>2],h)}f=f+2|0;g=g>>>1|0;h=h+1|0;if(h&15){continue}break};break g;case 4:while(1){k:{if(!(g&1)&(c|0)!=1){break k}j=x[f>>1];if((j+24159&65535)>>>0>23901|(j+95&254)>>>0>93){break k}Qa[v[b+4>>2]](v[b>>2],h)}f=f+2|0;g=g>>>1|0;h=h+1|0;if(h&15){continue}break};break g;case 5:while(1){l:{if(!(g&1)&(c|0)!=1){break l}j=x[f>>1];if((j+24159&65535)>>>0>23645|(j+95&254)>>>0>93){break l}Qa[v[b+4>>2]](v[b>>2],h)}f=f+2|0;g=g>>>1|0;h=h+1|0;if(h&15){continue}break};break g;default:break h}}v[e>>2]=5;return}h=h+16|0}i=i+1|0;if((i|0)!=64){continue}break}break f}h=h+1024|0}q=q+1|0;g=q&65535;if(l>>>0>g>>>0){continue}break}}h=0;i=Ma-48|0;Ma=i;f=v[a+224>>2];m:{if(!f){break m}j=v[f+44>>2];g=3;g=(d|0)!=2?w[a+200|0]==219?2:d?2:1:g;if((j|0)<1){break m}m=f+v[f+60>>2]|0;n=f+v[f+52>>2]|0;l=f+v[f+40>>2]|0;e=0;o=d-2|0;while(1){a=x[l+(h<<1)>>1];n:{if((a|0)>(j|0)){p=l+(a<<1)|0;k=0;while(1){a=x[p+(k<<1)>>1];o:{if(a){a=n+(a<<3)|0;while(1){d=v[m+(x[a>>1]<<2)>>2];p:{if(!d){break p}if(d>>>0<=16777215){if(e>>>0<=65535){u[i>>1]=e;sA(f,b,c,g,e,i,1,d);break p}u[i+2>>1]=e&1023|56320;u[i>>1]=(e>>>10|0)-10304;sA(f,b,c,g,e,i,2,d);break p}q:{if(!c){if((d&-1610612736)==-2147483648){break q}break p}if(d&536870912){break p}}if((d>>>24&31)>>>0>>0){break p}r:{s:{switch(o|0){case 0:if((d&520093696)!=50331648){break p}if((d&16711680)>>>0<8585216){break r}break p;case 1:if((d&520093696)!=33554432){break p}if((d&16777215)-33088>>>0<28349){break r}break p;case 2:if((d&520093696)!=33554432|(d+24159&65534)>>>0>23901){break p}if((d+95&254)>>>0<94){break r}break p;case 3:break s;default:break r}}if((d&520093696)!=33554432|(d+24159&65534)>>>0>23645|(d+95&254)>>>0>93){break p}}Qa[v[b+4>>2]](v[b>>2],e)}a=a+2|0;e=e+1|0;if(e&15){continue}break}break o}e=e+16|0}k=k+1|0;if((k|0)!=64){continue}break}break n}e=e+1024|0}h=h+1|0;if((j|0)!=(h|0)){continue}break}}Ma=i+48|0}function v7(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;l=Ma-96|0;Ma=l;i=v[a+584>>2];if(i){g=v[i+88>>2];a:{b:{if(!g){g=c;break b}e=v[i+100>>2];k=x[e+4>>1];h=k-g|0;c:{if((h|0)>(c|0)){f=c+g|0;v[i+88>>2]=f;d=h;f=k-f&7;if(f){while(1){d=d-1|0;e=v[e>>2];f=f-1|0;if(f){continue}break}}if((k+(g^-1)|0)-c>>>0>=7){while(1){e=v[v[v[v[v[v[v[v[e>>2]>>2]>>2]>>2]>>2]>>2]>>2]>>2];d=d-8|0;if((d|0)>(c|0)){continue}break}}k=c-1|0;d=b+c|0;j=c&3;d:{if(!j){f=c;break d}f=c;while(1){d=d-1|0;t[d|0]=w[e+6|0];f=f-1|0;e=v[e>>2];j=j-1|0;if(j){continue}break}}g=0;if(k>>>0<3){break c}while(1){t[d-1|0]=w[e+6|0];e=v[e>>2];t[d-2|0]=w[e+6|0];e=v[e>>2];t[d-3|0]=w[e+6|0];d=d-4|0;e=v[e>>2];t[d|0]=w[e+6|0];e=v[e>>2];f=f-4|0;if(f){continue}break}break c}b=b+h|0;k=k+(g^-1)|0;j=h&3;e:{if(!j){d=b;f=h;break e}d=b;f=h;while(1){d=d-1|0;t[d|0]=w[e+6|0];f=f-1|0;e=v[e>>2];j=j-1|0;if(j){continue}break}}if(k>>>0>=3){while(1){t[d-1|0]=w[e+6|0];e=v[e>>2];t[d-2|0]=w[e+6|0];e=v[e>>2];t[d-3|0]=w[e+6|0];d=d-4|0;e=v[e>>2];t[d|0]=w[e+6|0];e=v[e>>2];f=f-4|0;if(f){continue}break}}v[i+88>>2]=0;g=c-h|0}r=1;if((c|0)<(h|0)){break a}}r=1;q=v[i+112>>2];m=v[i+108>>2];d=v[i+104>>2];p=v[i+84>>2];j=v[i+76>>2];o=v[i+72>>2];f=x[i+64>>1];c=v[a+604>>2];f:{g:{if((g|0)<1){break g}while(1){h:{i:{j:{h=v[i+92>>2];if((h|0)>=(f|0)){e=w[c|0]<=(f|0)){c=c+1|0}else{e=w[c+1|0]<>2]=h-f;j=o-f|0;o=e>>f;k:{e=e&p;k=e&65535;switch(k-256|0){case 1:break g;case 0:break k;default:break i}}m=v[i+116>>2]+2064|0;Hf(m,0,38888);q=v[i+116>>2]+4088|0;f=9;h=v[i+92>>2];if((h|0)>=9){break j}p=511}h=v[a>>2];b=v[a+628>>2];v[l+16>>2]=v[a+480>>2];Nc(b,h,22921,l+16|0);break g}f=j+8|0;e=w[c|0]<0){c=c+1|0}else{e=w[c+1|0]<>2]=h-9;p=511;j=f-9|0;f=9;o=e>>9;l:{m:{h=e&511;switch(h-256|0){case 1:break g;case 0:break m;default:break l}}c=v[a>>2];b=v[a+628>>2];v[l+80>>2]=v[a+472>>2];wb(b,c,25368,l+80|0);break f}t[b|0]=e;g=g-1|0;b=b+1|0;d=v[i+116>>2]+(h<<3)|0;break h}n:{n=v[i+116>>2];if(n>>>0<=m>>>0){h=n+40952|0;if(h>>>0>m>>>0){break n}}c=v[a>>2];b=v[a+628>>2];v[l+64>>2]=v[a+472>>2];wb(b,c,27076,l- -64|0);break f}v[m>>2]=d;if(!(d>>>0>>0&d>>>0>=n>>>0)){c=v[a>>2];b=v[a+628>>2];v[l+48>>2]=v[a+472>>2];wb(b,c,27076,l+48|0);break f}t[m+7|0]=w[d+7|0];u[m+4>>1]=x[d+4>>1]+1;d=k<<3;h=d+n|0;t[m+6|0]=w[(h>>>0>>0?h+7|0:m+7|0)|0];m=m+8|0;if(q>>>0>>0){f=((f|0)<11?f:11)+1|0;p=-1<>>0>=256){n=x[(d+n|0)+4>>1];if(!n){c=v[a>>2];b=v[a+628>>2];v[l+32>>2]=v[a+472>>2];wb(b,c,28814,l+32|0);break f}if((g|0)<(n|0)){v[i+100>>2]=h;e=h;while(1){e=v[e>>2];if(x[e+4>>1]>(g|0)){continue}break}v[i+88>>2]=g;k=g-1|0;d=b+g|0;b=g&3;if(b){while(1){d=d-1|0;t[d|0]=w[e+6|0];g=g-1|0;e=v[e>>2];b=b-1|0;if(b){continue}break}}if(k>>>0<3){break q}while(1){t[d-1|0]=w[e+6|0];b=v[e>>2];t[d-2|0]=w[b+6|0];b=v[b>>2];t[d-3|0]=w[b+6|0];d=d-4|0;b=v[b>>2];t[d|0]=w[b+6|0];e=v[b>>2];g=g-4|0;if(g){continue}break}break q}k=b+n|0;d=k;e=h;while(1){d=d-1|0;t[d|0]=w[e+6|0];e=v[e>>2];if(!e){break p}if(b>>>0>>0){continue}break}break p}t[b|0]=e;g=g-1|0;b=b+1|0;break o}g=0;d=h;break g}g=g-n|0;b=k}d=h}if((g|0)>0){continue}break}}v[a+604>>2]=c;v[i+112>>2]=q;v[i+108>>2]=m;v[i+104>>2]=d;v[i+84>>2]=p;v[i+76>>2]=j;v[i+72>>2]=o;u[i+64>>1]=f;if((g|0)<1){break a}c=v[a>>2];b=v[a+628>>2];a=v[a+472>>2];v[l+4>>2]=g;v[l>>2]=a;wb(b,c,30496,l)}r=0}Ma=l+96|0;return r|0}O(16309,6139,573,88271);L()}function JIa(a,b){a=a|0;b=b|0;var 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,u=0,x=0,y=0;d=Ma-16|0;Ma=d;k=v[b+16>>2];l=v[b+8>>2];e=v[b>>2];n=v[a+492>>2];c=Qa[v[b+36>>2]](b)|0;a:{if((c|0)<0){v[b+12>>2]=3;break a}e=l-e>>3;e=(c|0)>(e|0)?e:c;if(v[b+12>>2]|!e){break a}i=b+260|0;m=b+156|0;j=b+208|0;b:{if(!v[b+152>>2]){f=e+6|0;c=Qa[v[v[n>>2]>>2]](j,f,k)|0;if(c){break b}c=Qa[v[v[n>>2]>>2]](m,f,k)|0;if(c){break b}c=Qa[v[v[n>>2]>>2]](i,4,k)|0;v[d+12>>2]=c;if(c){break b}}Qa[v[b+28>>2]](b);c:{c=v[b>>2];if(l>>>0<=c>>>0){break c}u=e+5|0;d:{e:{while(1){f:{g:{if(c+3>>>0>=l>>>0){break g}h:{switch(w[c+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break h;default:break g}}i:{switch(w[c|0]-100|0){case 0:if(!g|(w[c+1|0]!=101|w[c+2|0]!=102)){break g}break e;case 1:break i;default:break g}}if(w[c+1|0]!=110){break g}if(w[c+2|0]==100){break f}}Qa[v[b+32>>2]](b);h=v[b>>2];if(h>>>0>=l>>>0){break c}if(v[b+12>>2]){break a}j:{if(w[c|0]!=47){break j}if(c+2>>>0>=l>>>0){v[d+12>>2]=3;break d}o=v[v[a+128>>2]+52>>2];f=v[b+8>>2];Qa[v[b+28>>2]](b);k:{e=v[b>>2];l:{if(e>>>0>=f>>>0|w[e|0]-48>>>0>9){break l}e=Qa[v[b+36>>2]](b)|0;Qa[v[b+32>>2]](b);if((e|0)<0){break l}q=f;r=v[b>>2];f=r+1|0;if((e|0)<(q-f|0)){break k}}if(o){break a}v[b+12>>2]=3;break a}v[b>>2]=(e+r|0)+1;if(v[b+12>>2]){break a}if(v[b+152>>2]){break j}c=c+1|0;h=h-c|0;o=Qa[v[b+200>>2]](m,g,c,h+1|0)|0;v[d+12>>2]=o;if(o){break d}q=h;h=g<<2;t[q+v[h+v[b+180>>2]>>2]|0]=0;if(w[c|0]==46){c=hb(273443,v[h+v[b+180>>2]>>2]);s=c?s:1;p=c?p:g}c=v[a+172>>2];m:{if(!((c|0)<0|(g|0)>=(u|0))){if(c>>>0>=e>>>0){v[d+12>>2]=3;break d}c=cc(k,e,d+12|0);if(v[d+12>>2]){break d}c=cb(c,f,e);Qa[v[n+16>>2]](c,e,4330);f=v[a+172>>2];x=d,y=Qa[v[b+252>>2]](j,g,f+c|0,e-f|0)|0,v[x+12>>2]=y;if(c){Qa[v[k+8>>2]](k,c)}c=v[d+12>>2];break m}c=Qa[v[b+252>>2]](j,g,f,e)|0;v[d+12>>2]=c}if(c){break d}g=g+1|0}Qa[v[b+28>>2]](b);c=v[b>>2];if(l>>>0>c>>>0){continue}}break}if(!g){break c}}v[b+152>>2]=g;if(s&255){a=v[v[b+180>>2]>>2];if(!hb(273443,a)){break a}c=Qa[v[b+304>>2]](i,0,a,v[v[b+184>>2]>>2])|0;v[d+12>>2]=c;if(c){break b}c=Qa[v[b+304>>2]](i,1,v[v[b+232>>2]>>2],v[v[b+236>>2]>>2])|0;v[d+12>>2]=c;if(c){break b}a=p<<2;c=Qa[v[b+304>>2]](i,2,v[a+v[b+180>>2]>>2],v[a+v[b+184>>2]>>2])|0;v[d+12>>2]=c;if(c){break b}c=Qa[v[b+304>>2]](i,3,v[a+v[b+232>>2]>>2],v[a+v[b+236>>2]>>2])|0;v[d+12>>2]=c;if(c){break b}c=Qa[v[b+200>>2]](m,p,v[v[b+284>>2]>>2],v[v[b+288>>2]>>2])|0;v[d+12>>2]=c;if(c){break b}c=Qa[v[b+252>>2]](j,p,v[v[b+284>>2]+4>>2],v[v[b+288>>2]+4>>2])|0;v[d+12>>2]=c;if(c){break b}c=Qa[v[b+200>>2]](m,0,v[v[b+284>>2]+8>>2],v[v[b+288>>2]+8>>2])|0;v[d+12>>2]=c;if(c){break b}c=Qa[v[b+252>>2]](j,0,v[v[b+284>>2]+12>>2],v[v[b+288>>2]+12>>2])|0;if(c){break b}break a}t[d+8|0]=w[445888];v[d+4>>2]=w[445884]|w[445885]<<8|(w[445886]<<16|w[445887]<<24);c=Qa[v[b+304>>2]](i,0,v[v[b+180>>2]>>2],v[v[b+184>>2]>>2])|0;v[d+12>>2]=c;if(c){break b}c=Qa[v[b+304>>2]](i,1,v[v[b+232>>2]>>2],v[v[b+236>>2]>>2])|0;v[d+12>>2]=c;if(c){break b}c=Qa[v[b+200>>2]](m,0,273443,8)|0;v[d+12>>2]=c;if(c){break b}c=Qa[v[b+252>>2]](j,0,d+4|0,5)|0;v[d+12>>2]=c;if(c){break b}c=Qa[v[b+200>>2]](m,g,v[v[b+284>>2]>>2],v[v[b+288>>2]>>2])|0;v[d+12>>2]=c;if(c){break b}c=Qa[v[b+252>>2]](j,g,v[v[b+284>>2]+4>>2],v[v[b+288>>2]+4>>2])|0;if(c){break b}v[b+152>>2]=v[b+152>>2]+1;break a}v[b+12>>2]=v[d+12>>2];break a}c=3;v[d+12>>2]=3}v[b+12>>2]=c}Ma=d+16|0}function lG(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,u,w,x,y,z,A,C,D){var E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0;E=Ma-48|0;Ma=E;G=ab(24);F=d+7>>3;v[G+16>>2]=F;v[G+12>>2]=e;v[G+8>>2]=d;v[G>>2]=927256;v[G+4>>2]=0;if(!(!((d|0)<1|(e|0)<1)&(2147483646/(F|0)|0)>(e|0))){v[G+12>>2]=-1;v[G+16>>2]=2;e=-1;F=2}d=B(e,F);e=si(d+1|0);v[G+20>>2]=e;t[d+e|0]=0;a:{if(l){eb(e,255,d);break a}eb(e,0,d)}b:{if(b){uh(v[a+144>>2],E+44|0,s);break b}Ni(v[a+76>>2],E+44|0,v[a+104>>2])}v[E+44>>2]=0-(v[E+44>>2]<>2],E+40|0,s)){break c}v[E+44>>2]=v[E+44>>2]+(v[E+40>>2]<>2],E+36|0,q)){break d}break c}if(!Ni(v[a+76>>2],E+40|0,v[a+104>>2])){break c}v[E+44>>2]=v[E+44>>2]+(v[E+40>>2]<>2],E+36|0,v[a+112>>2])){break c}}K=v[E+36>>2]+K|0;I=K;e:{if(f>>>0<=J>>>0){break e}while(1){f:{g:{h:{i:{j:{if(!g){d=0;break j}if(!b){break h}e=v[a+144>>2];d=v[e+4>>2];l=v[e+8>>2];if(l>>>0>=g>>>0){H=e;e=l-g|0;v[H+8>>2]=e;d=d>>>e&N;v[E+40>>2]=d;H=d+v[E+44>>2]|0;break i}v[e+8>>2]=0;d=d&(-1<>>0>=8){while(1){l=v[e>>2];l=Qa[v[v[l>>2]+28>>2]](l)|0;v[e+12>>2]=v[e+12>>2]+1;d=l&255|d<<8;F=F-8|0;if(F>>>0>7){continue}break}}if(!F){break j}l=v[e>>2];l=Qa[v[v[l>>2]+28>>2]](l)|0;v[e+4>>2]=l;H=8-F|0;v[e+8>>2]=H;v[e+12>>2]=v[e+12>>2]+1;d=(-1<>>H|d<>2]=d;H=v[E+44>>2]+d|0;d=H;if(!b){break g}}e=v[a+144>>2];if(i){uh(e,E+32|0,i);d=v[E+32>>2];break f}d=v[e+4>>2];l=v[e+8>>2];if(l>>>0>=j>>>0){F=e;e=l-j|0;v[F+8>>2]=e;d=d>>>e&M;break f}v[e+8>>2]=0;d=d&(-1<>>0>=8){while(1){l=v[e>>2];l=Qa[v[v[l>>2]+28>>2]](l)|0;v[e+12>>2]=v[e+12>>2]+1;d=l&255|d<<8;F=F-8|0;if(F>>>0>7){continue}break}}if(!F){break f}l=v[e>>2];l=Qa[v[v[l>>2]+28>>2]](l)|0;v[e+4>>2]=l;L=8-F|0;v[e+8>>2]=L;v[e+12>>2]=v[e+12>>2]+1;d=(-1<>>L|d<>2],E+40|0,v[a+108>>2]);d=v[E+40>>2]+v[E+44>>2]|0}H=d;d=ZU(v[a+76>>2],j,v[a+140>>2])}k:{if(d>>>0>=h>>>0){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,247707,0);break k}l:{m:{if(c){n:{if(b){e=v[a+144>>2];l=v[e+8>>2];o:{if(l){F=l-1|0;l=v[e+4>>2];break o}l=v[e>>2];l=Qa[v[v[l>>2]+28>>2]](l)|0;v[e+4>>2]=l;v[e+12>>2]=v[e+12>>2]+1;F=7}v[e+8>>2]=F;e=l>>>F&1;v[E+12>>2]=e;if(!e){break m}uh(v[a+144>>2],E+28|0,u);uh(v[a+144>>2],E+24|0,w);uh(v[a+144>>2],E+20|0,x);uh(v[a+144>>2],E+16|0,y);uh(v[a+144>>2],E+8|0,z);e=v[a+144>>2];v[e+4>>2]=0;v[e+8>>2]=0;km(v[a+76>>2]);break n}Ni(v[a+76>>2],E+12|0,v[a+136>>2]);if(!v[E+12>>2]){break m}Ni(v[a+76>>2],E+28|0,v[a+128>>2]);Ni(v[a+76>>2],E+24|0,v[a+132>>2]);Ni(v[a+76>>2],E+20|0,v[a+120>>2]);Ni(v[a+76>>2],E+16|0,v[a+124>>2])}e=v[E+28>>2];d=v[(d<<2)+k>>2];l=v[E+24>>2];e=mG(a,e+v[d+8>>2]|0,l+v[d+12>>2]|0,A,0,d,v[E+20>>2]+((e+(e>>31)|0)/2|0)|0,v[E+16>>2]+((l+(l>>31)|0)/2|0)|0,C,D);break l}v[E+12>>2]=0}e=v[(d<<2)+k>>2]}l=v[e+12>>2]-1|0;F=v[e+8>>2]-1|0;p:{if(n){d=l;q:{switch(o|0){case 0:case 1:wk(G,e,H,I,m);break p;case 2:wk(G,e,H-F|0,I,m);break p;case 3:break q;default:break p}}wk(G,e,H-F|0,I,m);break p}d=F;r:{s:{switch(o|0){case 0:wk(G,e,I,H-l|0,m);break r;case 2:wk(G,e,I,H-l|0,m);break r;case 1:case 3:break s;default:break p}}wk(G,e,I,H,m)}}I=d+I|0;if(!v[E+12>>2]){break k}Qa[v[v[e>>2]+4>>2]](e)}J=J+1|0;t:{if(b){if(uh(v[a+144>>2],E+36|0,r)){break t}break e}if(!Ni(v[a+76>>2],E+36|0,v[a+116>>2])){break e}}I=v[E+36>>2]+(p+I|0)|0;if((f|0)!=(J|0)){continue}break}break c}if(f>>>0>J>>>0){continue}break}}Ma=E+48|0;return G}function hl(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=Ma-112|0;Ma=f;v[f+80>>2]=0;v[f+72>>2]=0;v[f+76>>2]=0;e=f- -64|0;v[e>>2]=0;v[e+4>>2]=0;v[f+56>>2]=0;v[f+60>>2]=0;i=jd(f+56|0,972920);g=a+8|0;e=g;e=v[v[e+12>>2]+((b>>>0)%y[e+8>>2]<<2)>>2];a:{if(!e){break a}while(1){if(!(v[e+12>>2]==(b|0)&v[e+16>>2]==(b|0))){e=v[e+8>>2];if(e){continue}break a}break}e=v[v[g+12>>2]+((b>>>0)%y[g+8>>2]<<2)>>2];b:{if(e){while(1){if(v[e+12>>2]==(b|0)&v[e+16>>2]==(b|0)){break b}e=v[e+8>>2];if(e){continue}break}}e=ab(24);v[e>>2]=0;v[e+4>>2]=0;v[e+20>>2]=0;v[e+16>>2]=b;v[e+12>>2]=b;v[e+8>>2]=0;bj(g,e)}e=v[v[e+20>>2]+8>>2];if(!e){break a}while(1){g=v[e+8>>2];c:{if((g|0)==(b|0)){OE(a,f+56|0,b,0);break c}OE(a,f+56|0,g,1)}e=v[e>>2];if(e){continue}break}}v[f+48>>2]=0;v[f+52>>2]=0;d:{e:{f:{g:{h:{if(d){b=v[i+24>>2];v[f+92>>2]=i;v[f+88>>2]=b;e=v[f+92>>2];d=e;b=v[f+88>>2];v[f+48>>2]=b;v[f+52>>2]=e;e=b;if(e){if((f+56|0)!=(d|0)){break g}while(1){b=v[e+20>>2];j=(b|0)>(j|0)?b:j;e=v[e>>2];if(e){continue}break}}v[f+48>>2]=0;l=io(f+24|0,972980,j);b=v[i+24>>2];v[f+92>>2]=i;v[f+88>>2]=b;e=v[f+92>>2];d=e;b=v[f+88>>2];v[f+48>>2]=b;v[f+52>>2]=e;e=b;if(e){g=(f+56|0)==(d|0);while(1){if(!g){break d}d=v[e+20>>2];if((d|0)>2]|(d|0)>v[f+44>>2]){break e}k=v[f+28>>2];h=v[f+32>>2];b=ab(12);v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=v[e+16>>2];de(k+(d-h<<4)|0,b);e=v[e>>2];v[f+48>>2]=e;if(e){continue}break}}if((j|0)>=0){d=0;while(1){e=v[f+40>>2]>(d|0);if(e){break e}g=v[f+44>>2]>=(d|0);if(!g){break e}k=v[f+28>>2]+(d-v[f+32>>2]<<4)|0;b=v[k+8>>2];v[f+52>>2]=k;v[f+48>>2]=b;i:{if(!b){break i}j:{if(!g|e){break j}while(1){v[f+8>>2]=b;e=v[f+32>>2];g=v[f+28>>2];v[f+12>>2]=k;e=g+(d-e<<4)|0;if((e|0)!=(k|0)){break f}g=v[b+8>>2];v[f+16>>2]=0;e=v[v[a+48>>2]+((g>>>0)%y[a+44>>2]<<2)>>2];k:{l:{if(!e){break l}while(1){if(!((g|0)==v[e+12>>2]&(g|0)==v[e+16>>2])){e=v[e+8>>2];if(e){continue}break l}break}if(!v[e+20>>2]|v[g+4>>2]<1){break l}qb(f+16|0,g);e=v[f+16>>2];if(!e){break k}if(v[e+4>>2]>0){break l}qb(f+16|0,0)}e=v[f+16>>2];if(!e){break k}e=ab(12);v[e>>2]=0;v[e+4>>2]=0;v[e+8>>2]=0;g=e;h=v[f+16>>2];if(h){v[h+4>>2]=v[h+4>>2]+1;h=v[f+16>>2]}else{h=0}v[g+8>>2]=h;de(c,e);e=v[f+16>>2]}v[f+16>>2]=0;m:{if(!e){break m}g=v[e+4>>2]-1|0;v[e+4>>2]=g;if(g){break m}g=v[e+4>>2];if(!g){v[e+4>>2]=-32767}if(!g){Qa[v[v[e>>2]+4>>2]](e)}}b=v[b>>2];v[f+48>>2]=b;if(!b){break i}if(v[f+40>>2]>(d|0)){break j}if(v[f+44>>2]>=(d|0)){continue}break}}break e}b=(d|0)==(j|0);d=d+1|0;if(!b){continue}break}}xd(l);break h}b=v[i+24>>2];v[f+92>>2]=i;v[f+88>>2]=b;b=v[f+92>>2];e=b;d=v[f+88>>2];v[f+48>>2]=d;v[f+52>>2]=e;b=d;if(!b){break h}j=(f+56|0)==(e|0);while(1){if(!j){break d}d=v[b+16>>2];v[f+88>>2]=0;e=v[v[a+48>>2]+((d>>>0)%y[a+44>>2]<<2)>>2];n:{o:{if(!e){break o}while(1){if(!((d|0)==v[e+12>>2]&(d|0)==v[e+16>>2])){e=v[e+8>>2];if(e){continue}break o}break}if(!v[e+20>>2]|v[d+4>>2]<1){break o}qb(f+88|0,d);e=v[f+88>>2];if(!e){break n}if(v[e+4>>2]>0){break o}qb(f+88|0,0)}e=v[f+88>>2];if(!e){break n}d=ab(12);v[d>>2]=0;v[d+4>>2]=0;v[d+8>>2]=0;e=d;g=v[f+88>>2];if(g){v[g+4>>2]=v[g+4>>2]+1;g=v[f+88>>2]}else{g=0}v[e+8>>2]=g;de(c,d);e=v[f+88>>2]}v[f+88>>2]=0;p:{if(!e){break p}d=v[e+4>>2]-1|0;v[e+4>>2]=d;if(d){break p}d=v[e+4>>2];if(!d){v[e+4>>2]=-32767}if(!d){Qa[v[v[e>>2]+4>>2]](e)}}if(!b){break h}b=v[b>>2];v[f+48>>2]=b;if(b){continue}break}}vd(i);Ma=f+112|0;return}v[f+48>>2]=e;break d}wd(f+8|0,e);L()}lb(mb(f+88|0,227376,271519,619,308166));L()}wd(f+48|0,f+56|0);L()}function NSa(a){a=a|0;var 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,y=0,z=0,A=0,C=0;d=Ma+-64|0;Ma=d;c=x[a+26306>>1];m=v[a+26112>>2];k=gb(B(c,m)>>>3|0);if(k){a:{if(!x[a+26308>>1]){break a}i=a+26484|0;while(1){Qa[v[v[a>>2]>>2]](v[a+4>>2],k,1,B(c&65535,m)>>>3|0)|0;b:{c:{d:{m=v[a+26112>>2];switch(m-8|0){case 0:break c;case 4:break d;default:break b}}if(!x[a+26310>>1]){break b}c=v[a+26028>>2];h=e<<2&28;b=c>>>(h|2)&3;f=c>>>h&3;j=v[a+26352>>2];h=0;c=k;while(1){g=x[a+26316>>1];u[(j+(B(x[a+26320>>1],e>>>g|0)+(h>>>g|0)<<3)|0)+(f<<1)>>1]=(w[c|0]|w[c+1|0]<<8&3840)<<1;g=x[a+26316>>1];u[(j+(B(x[a+26320>>1],e>>>g|0)+((h|1)>>>g|0)<<3)|0)+(b<<1)>>1]=w[c+1|0]>>>3&30|w[c+2|0]<<5;c=c+3|0;h=h+2|0;if(h>>>0>1]){continue}break}break b}if(x[a+26310>>1]<31){break b}t=e<<1&14;y=v[a+26028>>2];g=v[a+26352>>2];f=0;h=k;while(1){c=w[h|0];o=x[a+25204>>1]!=18761;if(o){b=w[h+3|0]|(w[h+1|0]<<16|c<<24|w[h+2|0]<<8)}else{b=c|w[h+1|0]<<8|w[h+2|0]<<16|w[h+3|0]<<24}p=b>>>26&15;q=b>>>22&15;c=0;r=b&2047;n=b>>>11&2047;b=r-n|0;j=0;e:{if((b|0)<128){break e}j=1;if((b|0)<=255){break e}j=2;if((b|0)<512){break e}j=(b|0)<1024?3:4}b=d+32|0;z=b+(q<<1)|0;A=b+(p<<1)|0;b=30;while(1){f:{if((c|0)==(q|0)){u[z>>1]=r;break f}if((c|0)==(p|0)){u[A>>1]=n;break f}l=(b>>3)+h|0;s=w[l|0];C=(d+32|0)+(c<<1)|0;if(o){l=w[l+1|0]|s<<8}else{l=w[l+1|0]<<8|s}l=(((l&65535)>>>(b&7)&127)<>1]=l&30720?2047:l;b=b+7|0}c=c+1|0;if((c|0)!=16){continue}break}c=x[a+26316>>1];b=g+(B(x[a+26320>>1],e>>>c|0)+(f>>c)<<3)|0;j=f&1;c=(y>>>((j|t)<<1)&3)<<1;u[b+c>>1]=x[(x[d+32>>1]<<2)+i>>1]>>>1;b=x[a+26316>>1];u[c+(g+(B(x[a+26320>>1],e>>>b|0)+(f+2>>b)<<3)|0)>>1]=x[(x[d+34>>1]<<2)+i>>1]>>>1;b=x[a+26316>>1];u[c+(g+(B(x[a+26320>>1],e>>>b|0)+(f+4>>b)<<3)|0)>>1]=x[(x[d+36>>1]<<2)+i>>1]>>>1;b=x[a+26316>>1];u[c+(g+(B(x[a+26320>>1],e>>>b|0)+(f+6>>b)<<3)|0)>>1]=x[(x[d+38>>1]<<2)+i>>1]>>>1;b=x[a+26316>>1];u[c+(g+(B(x[a+26320>>1],e>>>b|0)+(f+8>>b)<<3)|0)>>1]=x[(x[d+40>>1]<<2)+i>>1]>>>1;b=x[a+26316>>1];u[c+(g+(B(x[a+26320>>1],e>>>b|0)+(f+10>>b)<<3)|0)>>1]=x[(x[d+42>>1]<<2)+i>>1]>>>1;b=x[a+26316>>1];u[c+(g+(B(x[a+26320>>1],e>>>b|0)+(f+12>>b)<<3)|0)>>1]=x[(x[d+44>>1]<<2)+i>>1]>>>1;b=x[a+26316>>1];u[c+(g+(B(x[a+26320>>1],e>>>b|0)+(f+14>>b)<<3)|0)>>1]=x[(x[d+46>>1]<<2)+i>>1]>>>1;b=x[a+26316>>1];u[c+(g+(B(x[a+26320>>1],e>>>b|0)+(f+16>>b)<<3)|0)>>1]=x[(x[d+48>>1]<<2)+i>>1]>>>1;b=x[a+26316>>1];u[c+(g+(B(x[a+26320>>1],e>>>b|0)+(f+18>>b)<<3)|0)>>1]=x[(x[d+50>>1]<<2)+i>>1]>>>1;b=x[a+26316>>1];u[c+(g+(B(x[a+26320>>1],e>>>b|0)+(f+20>>b)<<3)|0)>>1]=x[(x[d+52>>1]<<2)+i>>1]>>>1;b=x[a+26316>>1];u[c+(g+(B(x[a+26320>>1],e>>>b|0)+(f+22>>b)<<3)|0)>>1]=x[(x[d+54>>1]<<2)+i>>1]>>>1;b=x[a+26316>>1];u[c+(g+(B(x[a+26320>>1],e>>>b|0)+(f+24>>b)<<3)|0)>>1]=x[(x[d+56>>1]<<2)+i>>1]>>>1;b=x[a+26316>>1];u[c+(g+(B(x[a+26320>>1],e>>>b|0)+(f+26>>b)<<3)|0)>>1]=x[(x[d+58>>1]<<2)+i>>1]>>>1;b=x[a+26316>>1];u[c+(g+(B(x[a+26320>>1],e>>>b|0)+(f+28>>b)<<3)|0)>>1]=x[(x[d+60>>1]<<2)+i>>1]>>>1;b=c;c=x[a+26316>>1];u[b+(g+(B(x[a+26320>>1],e>>>c|0)+(f+30>>c)<<3)|0)>>1]=x[(x[d+62>>1]<<2)+i>>1]>>>1;h=h+16|0;f=((j?-1:-31)+f|0)+32|0;if((f|0)<(x[a+26310>>1]-30|0)){continue}break}}e=e+1|0;if(e>>>0>=x[a+26308>>1]){break a}c=x[a+26306>>1];continue}}$a(k);Ma=d- -64|0;return}k=v[a+190640>>2];g:{if(k){c=v[a+25208>>2];v[d+20>>2]=50209;v[d+16>>2]=c;Dc(k,4338,d+16|0);break g}k=v[a+25208>>2];v[d+4>>2]=50209;v[d>>2]=k;vb(v[249419],4338,d)}tc(a+190484|0,1);L()}function kU(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=Ma-416|0;Ma=g;c=v[a+4>>2];a:{if((c|0)<0){break a}b:{c:{d:{e:{e=v[b+4>>2];switch(w[e|0]-239|0){case 0:break c;case 16:break d;case 15:break e;default:break b}}if(w[e+1|0]!=255){break b}v[g+12>>2]=2;if(!hU(b,g+12|0,g+16|0)){break a}c=0;while(1){e=b;i=g+12|0;c=c+1|0;if((c|0)==100){f:{if((f|0)<0){break f}c=v[a+4>>2];if((f|0)>(c|0)){break f}d=-1;g:{if((c|0)<=2147483547){d=c+100|0;h=v[a+8>>2];if((d|0)<=(h|0)){break g}c=h<<1;d=h-1>>>0>1073741822?d:(c|0)<(d|0)?d:c}v[a+8>>2]=d;j=a,k=yc(v[a>>2],d,4),v[j>>2]=k;c=v[a+4>>2]}if((c|0)>(f|0)){d=v[a>>2]+(f<<2)|0;id(d+400|0,d,c-f<<2)}cb(v[a>>2]+(f<<2)|0,g+16|0,400);v[a+4>>2]=v[a+4>>2]+100}f=f+100|0;c=0}if(hU(e,i,(g+16|0)+(c<<2)|0)){continue}break}if((c|0)<1|(f|0)<0){break a}d=v[a+4>>2];if((f|0)>(d|0)){break a}e=-1;h:{if((2147483647-d|0)>=(c|0)){b=c+d|0;e=v[a+8>>2];if((b|0)<=(e|0)){break h}d=e<<1;e=e-1>>>0>1073741822?b:(b|0)>(d|0)?b:d}v[a+8>>2]=e;j=a,k=yc(v[a>>2],e,4),v[j>>2]=k;d=v[a+4>>2]}if((d|0)>(f|0)){b=v[a>>2]+(f<<2)|0;id(b+(c<<2)|0,b,d-f<<2)}cb(v[a>>2]+(f<<2)|0,g+16|0,c<<2);v[a+4>>2]=v[a+4>>2]+c;break a}if(w[e+1|0]!=254){break b}v[g+12>>2]=2;if(!gU(b,g+12|0,g+16|0)){break a}c=0;while(1){e=b;i=g+12|0;c=c+1|0;if((c|0)==100){i:{if((f|0)<0){break i}c=v[a+4>>2];if((f|0)>(c|0)){break i}d=-1;j:{if((c|0)<=2147483547){d=c+100|0;h=v[a+8>>2];if((d|0)<=(h|0)){break j}c=h<<1;d=h-1>>>0>1073741822?d:(c|0)<(d|0)?d:c}v[a+8>>2]=d;j=a,k=yc(v[a>>2],d,4),v[j>>2]=k;c=v[a+4>>2]}if((c|0)>(f|0)){d=v[a>>2]+(f<<2)|0;id(d+400|0,d,c-f<<2)}cb(v[a>>2]+(f<<2)|0,g+16|0,400);v[a+4>>2]=v[a+4>>2]+100}f=f+100|0;c=0}if(gU(e,i,(g+16|0)+(c<<2)|0)){continue}break}if((c|0)<1|(f|0)<0){break a}d=v[a+4>>2];if((f|0)>(d|0)){break a}e=-1;k:{if((2147483647-d|0)>=(c|0)){b=c+d|0;e=v[a+8>>2];if((b|0)<=(e|0)){break k}d=e<<1;e=e-1>>>0>1073741822?b:(b|0)>(d|0)?b:d}v[a+8>>2]=e;j=a,k=yc(v[a>>2],e,4),v[j>>2]=k;d=v[a+4>>2]}if((d|0)>(f|0)){b=v[a>>2]+(f<<2)|0;id(b+(c<<2)|0,b,d-f<<2)}cb(v[a>>2]+(f<<2)|0,g+16|0,c<<2);v[a+4>>2]=v[a+4>>2]+c;break a}if(w[e+1|0]!=187|w[e+2|0]!=191){break b}v[g+12>>2]=3;if(!_y(b,g+12|0,g+16|0)){break a}c=0;while(1){e=b;i=g+12|0;c=c+1|0;if((c|0)==100){l:{if((f|0)<0){break l}c=v[a+4>>2];if((f|0)>(c|0)){break l}d=-1;m:{if((c|0)<=2147483547){d=c+100|0;h=v[a+8>>2];if((d|0)<=(h|0)){break m}c=h<<1;d=h-1>>>0>1073741822?d:(c|0)<(d|0)?d:c}v[a+8>>2]=d;j=a,k=yc(v[a>>2],d,4),v[j>>2]=k;c=v[a+4>>2]}if((c|0)>(f|0)){d=v[a>>2]+(f<<2)|0;id(d+400|0,d,c-f<<2)}cb(v[a>>2]+(f<<2)|0,g+16|0,400);v[a+4>>2]=v[a+4>>2]+100}f=f+100|0;c=0}if(_y(e,i,(g+16|0)+(c<<2)|0)){continue}break}if((c|0)<1){break a}h=g+16|0;n:{if((f|0)<0){break n}b=v[a+4>>2];if((f|0)>(b|0)){break n}d=-1;o:{if((2147483647-b|0)>=(c|0)){e=b+c|0;d=v[a+8>>2];if((e|0)<=(d|0)){break o}b=d<<1;d=d-1>>>0>1073741822?e:(b|0)<(e|0)?e:b}v[a+8>>2]=d;j=a,k=yc(v[a>>2],d,4),v[j>>2]=k;b=v[a+4>>2]}if((b|0)>(f|0)){e=v[a>>2]+(f<<2)|0;id(e+(c<<2)|0,e,b-f<<2)}cb(v[a>>2]+(f<<2)|0,h,c<<2);v[a+4>>2]=v[a+4>>2]+c}break a}e=-1;f=v[b>>2];p:{if((f|0)<=(2147483647-c|0)){e=c+f|0;d=v[a+8>>2];if((e|0)<=(d|0)){break p}c=d<<1;e=d-1>>>0>1073741822?e:(c|0)<(e|0)?e:c}v[a+8>>2]=e;j=a,k=yc(v[a>>2],e,4),v[j>>2]=k;c=v[a+4>>2]}if((c|0)>0){e=v[a>>2];id(e+(f<<2)|0,e,c<<2)}e=v[a>>2];c=0;v[g+12>>2]=0;if((f|0)>=1){b=v[b+4>>2];while(1){v[e+(c<<2)>>2]=v[(w[b+c|0]<<2)+1113168>>2];c=v[g+12>>2]+1|0;v[g+12>>2]=c;if((c|0)<(f|0)){continue}break}}v[a+4>>2]=f+v[a+4>>2]}Ma=g+416|0;return a}function Zc(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{if(!a|!b){break a}if((c|0)<=-1){c=zb(b)}l=v[a+28>>2];b:{if(l){if(c>>>0>1073741823){break a}if(c>>>0>>0){break b}break a}if(c>>>0>1073741823){break a}}c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{e=v[a+8>>2];if((e|0)==128){f=w[b|0]<<5;if((c|0)<11){break m}f=w[(b+c|0)-1|0]+f|0;break l}if((c|0)<1){break c}j=c&3;i=v[a+24>>2];if(c-1>>>0>=3){g=c&-4;while(1){f=B(w[b+d|0]+i|0,1025);f=B(w[(d|1)+b|0]+(f>>>6^f)|0,1025);f=B(w[(d|2)+b|0]+(f>>>6^f)|0,1025);f=B(w[(d|3)+b|0]+(f>>>6^f)|0,1025);i=f>>>6^f;d=d+4|0;g=g-4|0;if(g){continue}break}}if(j){while(1){f=B(w[b+d|0]+i|0,1025);i=f>>>6^f;d=d+1|0;j=j-1|0;if(j){continue}break}}d=B(i,9);f=B(d>>>11^d,32769);break c}switch(c-2|0){case 4:break h;case 5:break i;case 6:break j;case 7:break k;case 8:break l;case 0:break d;case 1:break e;case 2:break f;case 3:break g;default:break c}}f=w[b+9|0]+f|0}f=w[b+8|0]+f|0}f=w[b+7|0]+f|0}f=w[b+6|0]+f|0}f=w[b+5|0]+f|0}f=w[b+4|0]+f|0}f=w[b+3|0]+f|0}f=w[b+2|0]+f|0}f=w[b+1|0]+f|0}n=(f>>>0)%(e>>>0)|0;i=v[a+4>>2]+B(n,20)|0;n:{if(!v[i+12>>2]){j=0;i=0;break n}j=0;g=v[i>>2];if(g){while(1){d=i;i=g;if(!(v[d+16>>2]!=(f|0)|v[d+8>>2]!=(c|0))){h=v[d+4>>2];if(!Jb(h,b,c)){break a}}j=j+1|0;g=v[i>>2];if(g){continue}break}}if(v[i+16>>2]!=(f|0)|v[i+8>>2]!=(c|0)){break n}h=v[i+4>>2];if(!Jb(h,b,c)){break a}}m=v[a+20>>2];o:{if(!m){break o}d=128;k=v[m+8>>2];p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{if((e|0)==128){e=f;if((k|0)==128){break p}if((c|0)>=1){break B}e=0;break A}e=f;d=k;if((d|0)!=128){break p}e=w[b|0]<<5;if((c|0)<11){break z}e=w[(b+c|0)-1|0]+e|0;break y}h=c&3;g=v[m+24>>2];C:{if(c-1>>>0<3){d=0;break C}e=c&-4;d=0;while(1){g=B(w[b+d|0]+g|0,1025);g=B(w[(d|1)+b|0]+(g>>>6^g)|0,1025);g=B(w[(d|2)+b|0]+(g>>>6^g)|0,1025);g=B(w[(d|3)+b|0]+(g>>>6^g)|0,1025);g=g>>>6^g;d=d+4|0;e=e-4|0;if(e){continue}break}}if(h){while(1){e=B(w[b+d|0]+g|0,1025);g=e>>>6^e;d=d+1|0;h=h-1|0;if(h){continue}break}}d=B(g,9);e=B(d>>>11^d,32769)}d=k;break p}d=128;switch(c-2|0){case 0:break q;case 1:break r;case 2:break s;case 3:break t;case 4:break u;case 5:break v;case 6:break w;case 7:break x;case 8:break y;default:break p}}e=w[b+9|0]+e|0}e=w[b+8|0]+e|0}e=w[b+7|0]+e|0}e=w[b+6|0]+e|0}e=w[b+5|0]+e|0}e=w[b+4|0]+e|0}e=w[b+3|0]+e|0}e=w[b+2|0]+e|0}e=w[b+1|0]+e|0;d=128}d=v[m+4>>2]+B((e>>>0)%(d>>>0)|0,20)|0;if(!v[d+12>>2]){break o}h=v[d>>2];if(h){while(1){k=d;d=h;if(!(v[k+16>>2]!=(e|0)|v[k+8>>2]!=(c|0))){h=v[k+4>>2];if(!Jb(h,b,c)){break a}}j=j+1|0;h=v[d>>2];if(h){continue}break}}if(v[d+16>>2]!=(e|0)|v[d+8>>2]!=(c|0)){break o}h=v[d+4>>2];if(!Jb(h,b,c)){break a}}D:{E:{F:{d=v[a+16>>2];if(!d){break F}e=0;g=0;while(1){h=v[d+4>>2];if(v[d+8>>2]-h>>>0>c>>>0){break D}h=v[d+12>>2];g=g>>>0>>0?h:g;e=e+h|0;d=v[d>>2];if(d){continue}break}if(l){h=0;if(e>>>0>l>>>0){break a}}if(!g){break F}d=g<<2;break E}d=1e3}h=0;e=c<<2;e=d>>>0>>0?e:d;d=Qa[v[256552]](e+24|0)|0;if(!d){break a}v[d+16>>2]=0;v[d+12>>2]=e;h=d+20|0;v[d+4>>2]=h;v[d+8>>2]=e+h;v[d>>2]=v[a+16>>2];v[a+16>>2]=d}b=cb(h,b,c);e=v[d+4>>2]+c|0;v[d+4>>2]=e+1;h=0;t[e|0]=0;v[d+16>>2]=v[d+16>>2]+1;if(!b){break a}G:{if(!i){d=v[a+4>>2]+B(n,20)|0;v[d+8>>2]=c;v[d+4>>2]=b;v[d+16>>2]=f;v[d+12>>2]=1;v[d>>2]=0;break G}d=Qa[v[256552]](20)|0;if(!d){break a}v[d+8>>2]=c;v[d+4>>2]=b;v[d+16>>2]=f;v[d+12>>2]=1;v[d>>2]=0;v[i>>2]=d}v[a+12>>2]=v[a+12>>2]+1;H:{if(j>>>0<4){break H}c=v[a+8>>2];if(c>>>0>2730){break H}if(jY(a,B(c,6))){break a}}h=b}return h}function yS(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;g=Ma-112|0;Ma=g;v[g+100>>2]=0;v[g+88>>2]=0;f=v[279250];v[g+92>>2]=f;a:{b:{c:{switch(v[a+8>>2]-1|0){case 0:v[g>>2]=v[a+20>>2];f=v[Gd(g+88|0,292112,g)>>2];break b;case 1:f=v[a+24>>2];if(f){j=v[f+8>>2]}i=v[(f?f+12|0:1117e3)>>2];h=Oc(g+80|0,336746);f=v[h>>2];d:{if(f){Qa[v[v[f>>2]+28>>2]](g+72|0,f,1);break d}v[g+72>>2]=0}jb(g+88|0,g+72|0);f=v[g+72>>2];v[g+72>>2]=0;e:{if(!f){break e}k=v[f+4>>2]-1|0;v[f+4>>2]=k;if(k){break e}k=v[f+4>>2];if(!k){v[f+4>>2]=-32767}if(!k){Qa[v[v[f>>2]+4>>2]](f)}}f=v[g+88>>2];v[g+92>>2]=v[(f?f+12|0:1117e3)>>2];db(h);h=w[i|0];f:{if(!h|(j|0)<1){break f}while(1){f=0;k=h;g:{if(h>>>0<32){break g}while(1){if((h|0)==34|(h|0)==92|(h|0)==127){break g}f=f+1|0;if((j|0)==(f|0)){f=j;break g}h=w[f+i|0];if(h>>>0>31){continue}break}}h:{if(f){k=eg(g+72|0,i,f);Xb(g+80|0,g+88|0,k);h=v[g+80>>2];i:{if(h){Qa[v[v[h>>2]+28>>2]](g- -64|0,h,1);break i}v[g+64>>2]=0}jb(g+88|0,g- -64|0);h=v[g+64>>2];v[g+64>>2]=0;j:{if(!h){break j}l=v[h+4>>2]-1|0;v[h+4>>2]=l;if(l){break j}l=v[h+4>>2];if(!l){v[h+4>>2]=-32767}if(!l){Qa[v[v[h>>2]+4>>2]](h)}}h=v[g+88>>2];v[g+92>>2]=v[(h?h+12|0:1117e3)>>2];db(g+80|0);db(k);i=f+i|0;j=j-f|0;break h}v[g+16>>2]=k;Dc(g+80|0,244327,g+16|0);f=w[i|0];if((f|0)==34){t[g+81|0]=34;f=w[i|0]}if((f&255)==92){t[g+81|0]=92;f=w[i|0]}if((f&255)==9){t[g+81|0]=116;f=w[i|0]}if((f&255)==10){t[g+81|0]=110;f=w[i|0]}if((f&255)==13){t[g+81|0]=114;f=w[i|0]}if((f&255)==8){t[g+81|0]=98;f=w[i|0]}k:{l:{if((f&255)!=12){if((w[g+81|0]&252)==48){break k}break l}t[g+81|0]=102}t[g+82|0]=0}h=Oc(g- -64|0,g+80|0);Xb(g+72|0,g+88|0,h);f=v[g+72>>2];m:{if(f){Qa[v[v[f>>2]+28>>2]](g+104|0,f,1);break m}v[g+104>>2]=0}jb(g+88|0,g+104|0);f=v[g+104>>2];v[g+104>>2]=0;n:{if(!f){break n}k=v[f+4>>2]-1|0;v[f+4>>2]=k;if(k){break n}k=v[f+4>>2];if(!k){v[f+4>>2]=-32767}if(!k){Qa[v[v[f>>2]+4>>2]](f)}}f=v[g+88>>2];v[g+92>>2]=v[(f?f+12|0:1117e3)>>2];db(g+72|0);db(h);i=i+1|0;j=j-1|0}h=w[i|0];if(!h){break f}if((j|0)>0){continue}break}}j=Oc(g+72|0,336746);Xb(g+80|0,g+88|0,j);f=v[g+80>>2];o:{if(f){Qa[v[v[f>>2]+28>>2]](g- -64|0,f,1);break o}v[g+64>>2]=0}jb(g+88|0,g- -64|0);f=v[g+64>>2];v[g+64>>2]=0;p:{if(!f){break p}h=v[f+4>>2]-1|0;v[f+4>>2]=h;if(h){break p}h=v[f+4>>2];if(!h){v[f+4>>2]=-32767}if(!h){Qa[v[v[f>>2]+4>>2]](f)}}f=v[g+88>>2];v[g+92>>2]=v[(f?f+12|0:1117e3)>>2];db(g+80|0);db(j);f=v[g+88>>2];break b;case 3:f=v[a+12>>2];v[g+48>>2]=v[(f?f+12|0:1117e3)>>2];f=v[Gd(g+88|0,237076,g+48|0)>>2];break b;case 2:break c;default:break a}}f=v[a+32>>2];v[g+32>>2]=v[(f?f+12|0:1117e3)>>2];f=v[Gd(g+88|0,237230,g+32|0)>>2]}f=v[(f?f+12|0:1117e3)>>2]}e=e?e:g+100|0;q:{if(c){break q}if(zb(f)+v[e>>2]>>>0<71){break q}t[g+80|0]=10;Qa[v[v[b>>2]+12>>2]](b,g+80|0,1)|0;t[g+80|0]=32;r:{if((d|0)<1){break r}i=d&3;if(d-1>>>0>=3){j=d&-4;while(1){Qa[v[v[b>>2]+12>>2]](b,g+80|0,1)|0;Qa[v[v[b>>2]+12>>2]](b,g+80|0,1)|0;Qa[v[v[b>>2]+12>>2]](b,g+80|0,1)|0;Qa[v[v[b>>2]+12>>2]](b,g+80|0,1)|0;j=j-4|0;if(j){continue}break}}if(!i){break r}while(1){Qa[v[v[b>>2]+12>>2]](b,g+80|0,1)|0;i=i-1|0;if(i){continue}break}}v[e>>2]=d}n=b,o=f,p=zb(f),m=v[v[b>>2]+12>>2],Qa[m](n|0,o|0,p|0)|0;t[g+80|0]=32;Qa[v[v[b>>2]+12>>2]](b,g+80|0,1)|0;d=(zb(f)+v[e>>2]|0)+1|0;v[e>>2]=d;if(v[a+8>>2]==4){j=zb(f);f=v[a+48>>2];if(f){a=d-j|0;while(1){yS(v[f+8>>2],b,c,a,e);f=v[f>>2];if(f){continue}break}}Qa[v[v[b>>2]+12>>2]](b,337409,2)|0;v[e>>2]=v[e>>2]+2}db(g+88|0);Ma=g+112|0}function T_(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;f=Ma-16|0;Ma=f;v[b+12>>2]=0;v[b>>2]=c;g=c+d|0;v[b+8>>2]=g;Qa[v[b+28>>2]](b);c=v[b>>2];a:{b:{if(g>>>0<=c>>>0){break b}k=a+132|0;m=a+164|0;n=a+168|0;o=a+464|0;while(1){c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{d=w[c|0];switch(d-99|0){case 1:break i;case 0:break k;case 2:break l;default:break j}}d=c+6|0;if((d|0)==(g|0)){break h}if(d>>>0>=g>>>0){break d}switch(w[c+5|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break h;default:break d}}m:{d=c+10|0;if((d|0)==(g|0)){break m}if(d>>>0>=g>>>0){break d}switch(w[c+9|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break m;default:break d}}if(Kb(c,280384,9)){break d}break b}if((d|0)==70){break e}}if(d-48>>>0<=9){Qa[v[b+32>>2]](b);e=1;l=c;if(!v[b+12>>2]){break c}break b}h=c+6|0;if(!((d|0)!=82|h>>>0>=g>>>0)){if(!e|w[c+1|0]!=68){break d}v[b>>2]=l;e=v[v[a+128>>2]+52>>2];d=v[b+8>>2];Qa[v[b+28>>2]](b);n:{c=v[b>>2];o:{if(c>>>0>=d>>>0|w[c|0]-48>>>0>9){break o}c=Qa[v[b+36>>2]](b)|0;Qa[v[b+32>>2]](b);if((c|0)<0){break o}h=d;d=v[b>>2];if((c|0)<(h+(d^-1)|0)){break n}}c=3;if(e){break a}break f}v[b>>2]=(c+d|0)+1;e=0;if(!v[b+12>>2]){break c}c=3;break a}if(!((d|0)!=45|g>>>0<=h>>>0)){if(!e|w[c+1|0]!=124){break d}v[b>>2]=l;e=v[v[a+128>>2]+52>>2];d=v[b+8>>2];Qa[v[b+28>>2]](b);p:{c=v[b>>2];q:{if(c>>>0>=d>>>0|w[c|0]-48>>>0>9){break q}c=Qa[v[b+36>>2]](b)|0;Qa[v[b+32>>2]](b);if((c|0)<0){break q}h=d;d=v[b>>2];if((c|0)<(h+(d^-1)|0)){break p}}c=3;if(!e){break f}break a}v[b>>2]=(c+d|0)+1;e=0;if(!v[b+12>>2]){break c}c=3;break a}if((d|0)!=47|c+2>>>0>=g>>>0){break d}h=c+1|0;v[b>>2]=h;Qa[v[b+32>>2]](b);if(v[b+12>>2]){break b}e=0;c=v[b>>2];j=c-h|0;if(j-1>>>0>20|c>>>0>=g>>>0){break c}p=w[h|0];c=444192;i=247678;while(1){d=c;r:{if(w[i|0]!=(p|0)){break r}if((zb(i)|0)!=(j|0)){break r}if(Jb(h,i,j)){break r}c=v[b+376>>2];if(!(v[d+32>>2]&(c&1?2:1))){break c}if(c&2){if(hb(i,236239)){break c}}i=v[a+532>>2];if(i){c=v[i>>2]?i:0}else{c=0}h=b;j=v[d+8>>2];s:{if((j|0)==11){Qa[v[d+12>>2]](a,b);c=v[b+12>>2];break s}t:{u:{v:{w:{x:{y:{z:{switch(v[d+4>>2]-2|0){case 1:v[f+12>>2]=k;if(c){break y}e=f+12|0;break u;case 2:v[f+12>>2]=n;e=f+12|0;if(!c){break u}e=c+212|0;break x;case 3:v[f+12>>2]=o;e=f+12|0;if(!c){break u}e=c+284|0;break x;case 4:v[f+12>>2]=b;e=f+12|0;break u;case 5:v[f+12>>2]=a;e=f+12|0;break u;case 6:v[f+12>>2]=i;e=f+12|0;c=0;break w;case 0:break v;default:break z}}v[f+12>>2]=k;e=f+12|0;break u}e=c+144|0}i=v[e>>2];c=v[c>>2]}if(i){break t}break g}v[f+12>>2]=m;e=f+12|0}c=0}if(j-9>>>0<=1){c=Qa[v[b+68>>2]](b,d,e,c,0)|0;break s}c=Qa[v[b+64>>2]](b,d,e,c,0)|0}v[h+12>>2]=c;if(!c){e=0;break c}if((c&255)==162){break g}break a}c=d+36|0;i=v[d+36>>2];if(i){continue}break}break c}if(!Kb(c,300224,5)){break b}break d}e=0;v[b+12>>2]=0;break c}v[b+12>>2]=3;break a}A:{d=c+14|0;if((d|0)==(g|0)){break A}if(d>>>0>=g>>>0){break d}switch(w[c+13|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break A;default:break d}}if(Kb(c,217915,13)){break d}d=v[b+376>>2];if(d&1){v[b+376>>2]=d|2}v[b>>2]=c+13;break c}Qa[v[b+32>>2]](b);e=0;if(v[b+12>>2]){break b}}Qa[v[b+28>>2]](b);c=v[b>>2];if(g>>>0>c>>>0){continue}break}}c=v[b+12>>2]}Ma=f+16|0;return c}function kx(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=C(0);c=Ma-240|0;Ma=c;h=Pe(a,x[b>>1]);a:{b:{c:{e=v[b+4>>2];if(e>>>0>=2){d:{e:{switch(x[b+2>>1]-1|0){case 0:case 5:d=Tf(a,e,1,82624);if(!d){break a}if(RC(a,b,d)){break b}$a(d);break a;case 2:case 7:d=Tf(a,e,2,82624);if(!d){break a}e=v[b+4>>2];if(e>>>0<=2){if(x[a+456>>1]==19789){f:{g:{switch(e-1|0){case 0:f=v[b+8>>2];break f;case 1:break g;default:break b}}f=v[b+8>>2];u[d+2>>1]=f}u[d>>1]=f>>>16;break b}h:{switch(e-1|0){case 1:break h;case 0:break d;default:break b}}e=v[b+8>>2];u[d+2>>1]=e>>>16;u[d>>1]=e;break b}if(bh(a,b,d)){break b}$a(d);break a;case 3:case 8:d=Tf(a,e,4,82624);if(!d){break a}if(v[b+4>>2]==1){v[d>>2]=v[b+8>>2];break b}if(bh(a,b,d)){break b}$a(d);break a;case 4:case 9:d=Tf(a,e,4,82624);if(!d){break a}if(ZM(a,b,d)){break b}$a(d);break a;case 10:d=Tf(a,e,4,82624);if(!d){break a}if(v[b+4>>2]==1){z[d>>2]=z[b+8>>2];break b}if(bh(a,b,d)){break b}$a(d);break a;case 1:case 6:d=Tf(a,e+1|0,1,82624);if(!d){break a}g=v[b+4>>2];if(g>>>0<=4){v[c+232>>2]=v[b+8>>2];e=d;f=c+232|0;if(w[a+12|0]&128){Wn(c+232|0);g=v[b+4>>2]}Fd(e,f,g);break c}if(bh(a,b,d)){break c}$a(d);break a;case 11:break e;default:break a}}d=Tf(a,e,8,82624);if(!d){break a}if(bh(a,b,d)){break b}$a(d);break a}u[d>>1]=v[b+8>>2];break b}if(!e){d=v[a>>2];g=v[a+628>>2];e=v[Pe(a,x[b>>1])+16>>2];a=v[b+4>>2];v[c+40>>2]=1;v[c+36>>2]=a;v[c+32>>2]=e;Nc(g,d,49811,c+32|0);break a}i:{j:{k:{l:{m:{e=x[b+2>>1];switch(e-1|0){case 1:case 6:break i;case 11:break j;case 4:case 9:case 10:break k;case 3:case 8:break l;case 0:case 2:case 5:case 7:break m;default:break a}}n:{o:{g=v[h+8>>2]-4|0;switch(g|0){case 0:case 5:break n;default:break o}}f=v[b+8>>2];p:{if(x[a+456>>1]==19789){e=e<<2;d=e+v[a+468>>2]|0;f=f>>>v[e+v[a+464>>2]>>2]|0;break p}d=v[a+468>>2]+(e<<2)|0}e=v[d>>2]&f;u[c+232>>1]=e;d=x[b>>1];if(w[h+15|0]){v[c+96>>2]=1;v[c+100>>2]=c+232;f=Kc(a,d,c+96|0);break n}v[c+80>>2]=e&65535;f=Kc(a,d,c+80|0)}switch(g|0){case 0:case 5:break l;default:break a}}f=v[b+8>>2];q:{if(x[a+456>>1]==19789){e=x[b+2>>1]<<2;d=e+v[a+468>>2]|0;f=f>>>v[e+v[a+464>>2]>>2]|0;break q}d=v[a+468>>2]+(x[b+2>>1]<<2)|0}e=v[d>>2]&f;v[c+232>>2]=e;b=x[b>>1];if(w[h+15|0]){v[c+64>>2]=1;v[c+68>>2]=c+232;f=Kc(a,b,c- -64|0);break a}v[c+48>>2]=e;f=Kc(a,b,c+48|0);break a}r:{if((e|0)==11){g=v[b+8>>2];e=c;if(x[a+456>>1]==19789){g=g>>>v[v[a+464>>2]+44>>2]|0}v[e+228>>2]=v[v[a+468>>2]+44>>2]&g;Fd(c+232|0,c+228|0,4);i=z[c+232>>2];break r}i=C(1);if(!bh(a,b,c+232|0)){break r}f=v[c+232>>2];e=v[c+236>>2];if(e){if(x[b+2>>1]==5){i=C(C(f>>>0)/C(e>>>0));break r}i=C(C(f|0)/C(e|0));break r}d=v[a>>2];g=v[a+628>>2];e=v[Pe(a,x[b>>1])+16>>2];v[c+148>>2]=f;v[c+144>>2]=e;wb(g,d,55782,c+144|0)}z[c+224>>2]=i;b=x[b>>1];if(w[h+15|0]){v[c+128>>2]=1;v[c+132>>2]=c+224;f=Kc(a,b,c+128|0);break a}A[c+112>>3]=i;f=Kc(a,b,c+112|0);break a}if(!bh(a,b,c+232|0)){break a}b=x[b>>1];s:{if(w[h+15|0]){v[c+176>>2]=1;v[c+180>>2]=c+232;a=Kc(a,b,c+176|0);break s}A[c+160>>3]=A[c+232>>3];a=Kc(a,b,c+160|0)}f=(a|0)!=0;break a}v[c+232>>2]=v[b+8>>2];d=c+228|0;f=c+232|0;if(w[a+12|0]&128){Wn(c+232|0);e=v[b+4>>2]}else{e=1}Fd(d,f,e);t[c+229|0]=0;b=x[b>>1];if(w[h+15|0]){v[c+208>>2]=1;v[c+212>>2]=c+228;f=Kc(a,b,c+208|0);break a}v[c+192>>2]=c+228;f=Kc(a,b,c+192|0);break a}t[v[b+4>>2]+d|0]=0}e=x[b>>1];if(w[h+15|0]){b=v[b+4>>2];v[c+20>>2]=d;v[c+16>>2]=b;f=Kc(a,e,c+16|0);$a(d);break a}v[c>>2]=d;f=Kc(a,e,c);$a(d)}Ma=c+240|0;return f}function sAa(a,b){a=a|0;b=b|0;var 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;i=v[a+4>>2];j=v[i+52>>2];o=j>>>0<268435456?843120:843248;m=j>>>16|0;c=v[a+24>>2];k=v[a+20>>2];d=v[a+16>>2];n=v[a+12>>2];h=v[a+8>>2];f=!(j&16777216);a:{b:{c:{while(1){if(!f){d:{e:{e=k-d|0;f=n-h>>1;l=(e|0)<(f|0)?e:f;f:{if((l|0)<1){f=h;break f}while(1){g:{h:{i:{e=x[h>>1];if(e>>>0>127){break i}f=h+2|0;if(w[e+o|0]){t[d|0]=e;if(c){break h}c=0;break g}if((e|0)!=43){break i}t[d|0]=43;h=d+1|0;if(h>>>0>>0){t[d+1|0]=45;d=d+2|0;if(c){v[c+4>>2]=g;v[c>>2]=g;g=g+1|0;c=c+8|0}else{c=0}e=k-d|0;h=f;l=n-f>>1;l=(e|0)<(l|0)?e:l;if((l|0)>0){continue}break f}if(c){v[c>>2]=g;g=g+1|0;c=c+4|0}else{c=0}t[i+63|0]=1;t[i+76|0]=45;v[b>>2]=15;d=h;break f}t[d|0]=43;d=d+1|0;m=0;if(c){break e}c=0;break d}v[c>>2]=g;g=g+1|0;c=c+4|0}d=d+1|0;e=(l|0)>1;h=f;l=l-1|0;if(e){continue}break}}p=16777216;l=0;if(d>>>0>>0|f>>>0>=n>>>0){break a}break b}v[c>>2]=g;c=c+4|0}e=g;f=1;continue}l=1;if(h>>>0>=n>>>0){break c}j:{k:{while(1){if(d>>>0>=k>>>0){break j}f=x[h>>1];if(!(f>>>0>127|!w[f+o|0])){l:{if(!(m&255)){break l}t[d|0]=w[(j&255)+843376|0];d=d+1|0;if(!c){c=0;break l}v[c>>2]=e-1;c=c+4|0}if(w[f+842992|0]==255){break k}if(d>>>0>>0){t[d|0]=45;d=d+1|0;if(!c){c=0;break k}v[c>>2]=e-1;c=c+4|0;break k}t[i+63|0]=1;t[i+76|0]=45;p=16777216;l=0;break j}h=h+2|0;m:{n:{switch(m<<24>>24){case 0:t[d|0]=w[(f>>>10|0)+843376|0];g=d+1|0;o:{if(g>>>0>>0){t[d+1|0]=w[(f>>>4&63)+843376|0];d=d+2|0;if(!c){c=0;break o}v[c+4>>2]=e;v[c>>2]=e;c=c+8|0;e=e+1|0;break o}if(c){v[c>>2]=e;e=e+1|0;c=c+4|0}else{c=0}t[i+63|0]=1;t[i+76|0]=w[(f>>>4&63)+843376|0];v[b>>2]=15;d=g}j=f<<2&60;m=1;break m;case 1:t[d|0]=w[(j&255|f>>>14)+843376|0];g=d+1|0;p:{if(g>>>0>>0){t[d+1|0]=w[(f>>>8&63)+843376|0];g=d+2|0;if(g>>>0>>0){t[d+2|0]=w[(f>>>2&63)+843376|0];d=d+3|0;if(!c){c=0;break p}v[c+8>>2]=e;v[c+4>>2]=e;v[c>>2]=e;c=c+12|0;e=e+1|0;break p}if(c){v[c+4>>2]=e;v[c>>2]=e;e=e+1|0;c=c+8|0}else{c=0}t[i+63|0]=1;t[i+76|0]=w[(f>>>2&63)+843376|0];v[b>>2]=15;d=g;break p}if(c){v[c>>2]=e;e=e+1|0;c=c+4|0}else{c=0}t[i+63|0]=2;t[i+77|0]=w[(f>>>2&63)+843376|0];t[i+76|0]=w[(f>>>8&63)+843376|0];v[b>>2]=15;d=g}j=f<<4&48;m=2;break m;case 2:break n;default:break m}}t[d|0]=w[(j&255|f>>>12)+843376|0];g=d+1|0;q:{if(g>>>0>>0){t[d+1|0]=w[(f>>>6&63)+843376|0];g=d+2|0;if(g>>>0>>0){t[d+2|0]=w[(f&63)+843376|0];d=d+3|0;j=0;if(!c){c=0;break q}v[c+8>>2]=e;v[c+4>>2]=e;v[c>>2]=e;c=c+12|0;e=e+1|0;break q}j=0;if(c){v[c+4>>2]=e;v[c>>2]=e;e=e+1|0;c=c+8|0}else{c=0}t[i+63|0]=1;t[i+76|0]=w[(f&63)+843376|0];v[b>>2]=15;d=g;break q}j=0;if(c){v[c>>2]=e;e=e+1|0;c=c+4|0}else{c=0}t[i+63|0]=2;t[i+77|0]=w[(f&63)+843376|0];t[i+76|0]=w[(f>>>6&63)+843376|0];v[b>>2]=15;d=g}m=0}if(h>>>0>>0){continue}break}break c}g=e;f=0;continue}break}g=e;f=h;break b}g=e;f=h;break a}v[b>>2]=15}e=i;r:{if(!(!w[a+2|0]|f>>>0>>0)){s:{if(!l){h=d;break s}t:{u:{v:{w:{if(m&255){h=w[(j&255)+843376|0];if(d>>>0>>0){t[d|0]=h;h=d+1|0;if(!c){break v}v[c>>2]=g-1;c=c+4|0;break w}j=t[i+63|0];t[i+63|0]=j+1;t[(i+j|0)+76|0]=h;v[b>>2]=15}h=d}if(h>>>0>=k>>>0){break t}t[h|0]=45;h=h+1|0;if(c){break u}c=0;break s}c=0;if(h>>>0>=k>>>0){break t}t[d+1|0]=45;h=d+2|0;break s}v[c>>2]=g-1;c=c+4|0;break s}d=t[i+63|0];t[i+63|0]=d+1;t[(d+i|0)+76|0]=45;v[b>>2]=15}b=v[i+52>>2]&-268435456|16777216;break r}h=d;b=v[i+52>>2]&-268435456|(j&255|p|m<<24>>24<<16)}v[e+52>>2]=b;v[a+24>>2]=c;v[a+16>>2]=h;v[a+8>>2]=f}function KT(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=Ma-32|0;Ma=e;d=t[a+11|0]<0?v[a>>2]:a;f=v[d>>2];a:{if((f|0)!=115){if((f|0)!=35){break a}f=bf(e+16|0,a,1,-1);g=f+4|0;i=f+8|0;d=w[f+11|0];a=d<<24>>24;d=(a|0)<0?v[f+4>>2]:d;if(d>>>0<6){while(1){xh(e,967620,f);if(t[f+11|0]<=-1){$a(v[f>>2])}v[e+24>>2]=v[e+8>>2];a=v[e+4>>2];v[e+16>>2]=v[e>>2];v[e+20>>2]=a;d=w[i+3|0];a=d<<24>>24;d=(a|0)<0?v[g>>2]:d;if(d>>>0<6){continue}break}}b:{if(d>>>0>=8){d=(a|0)<0;break b}while(1){xh(e,967628,f);if(t[f+11|0]<=-1){$a(v[f>>2])}v[e+24>>2]=v[e+8>>2];a=v[e+4>>2];v[e+16>>2]=v[e>>2];v[e+20>>2]=a;a=w[i+3|0];d=a<<24>>24<0;if((d?v[g>>2]:a)>>>0<8){continue}break}}k=v[f>>2];f=d?k:f;a=v[f>>2];j=a-48|0;c:{if(j>>>0<10){break c}if(a-97>>>0<=5){j=a-87|0;break c}j=a-65>>>0<6?a-55|0:0}j=j<<4;g=v[(d?k+4|0:g)>>2];a=g-48|0;d:{if(a>>>0<10){break d}if(g-97>>>0<=5){a=g-87|0;break d}a=g-65>>>0<6?g-55|0:0}v[c>>2]=a+j;c=v[f+24>>2];a=c-48|0;e:{if(a>>>0<10){break e}if(c-97>>>0<=5){a=c-87|0;break e}a=c-65>>>0<6?c-55|0:0}g=a<<4;c=v[f+28>>2];a=c-48|0;f:{if(a>>>0<10){break f}if(c-97>>>0<=5){a=c-87|0;break f}a=c-65>>>0<6?c-55|0:0}g=a+g<<4;c=v[f+16>>2];a=c-48|0;g:{if(a>>>0<10){break g}if(c-97>>>0<=5){a=c-87|0;break g}a=c-65>>>0<6?c-55|0:0}g=a+g<<4;c=v[f+20>>2];a=c-48|0;h:{if(a>>>0<10){break h}if(c-97>>>0<=5){a=c-87|0;break h}a=c-65>>>0<6?c-55|0:0}g=a+g<<4;c=v[(d?k+8|0:i)>>2];a=c-48|0;i:{if(a>>>0<10){break i}if(c-97>>>0<=5){a=c-87|0;break i}a=c-65>>>0<6?c-55|0:0}g=a+g<<4;c=v[f+12>>2];a=c-48|0;j:{if(a>>>0<10){break j}if(c-97>>>0<=5){a=c-87|0;break j}a=c-65>>>0<6?c-55|0:0}v[b>>2]=a+g;if(!d){break a}$a(k);break a}if(v[d+4>>2]!=99|v[d+8>>2]!=35){break a}f=bf(e+16|0,a,3,-1);a=Ma-160|0;Ma=a;v[e+8>>2]=0;v[e>>2]=0;v[e+4>>2]=0;v[a+80>>2]=965884;v[a+16>>2]=965864;v[a+24>>2]=965644;v[a+20>>2]=0;d=a+28|0;Gr(a+80|0,d);v[a+152>>2]=0;v[a+156>>2]=-1;v[a+80>>2]=965664;v[a+16>>2]=965624;v[a+24>>2]=965644;g=Fx(d);v[a+60>>2]=0;v[a+64>>2]=0;v[a+68>>2]=0;v[a+72>>2]=0;v[a+76>>2]=24;v[a+28>>2]=965476;Sy(d,f);v[a+8>>2]=0;v[a>>2]=0;v[a+4>>2]=0;k:{d=ns(a+16|0,a,44);if(w[(v[v[d>>2]-12>>2]+d|0)+16|0]&5){break k}d=0;while(1){l:{if((d|0)!=(i|0)){m:{if(t[a+11|0]>=0){i=v[a+4>>2];v[d>>2]=v[a>>2];v[d+4>>2]=i;v[d+8>>2]=v[a+8>>2];break m}vc(d,v[a>>2],v[a+4>>2])}v[e+4>>2]=d+12;break l}yw(e,a)}d=ns(a+16|0,a,44);if(w[(v[v[d>>2]-12>>2]+d|0)+16|0]&5){break k}i=v[e+8>>2];d=v[e+4>>2];continue}}if(t[a+11|0]<=-1){$a(v[a>>2])}v[a+80>>2]=965664;v[a+16>>2]=965624;v[a+28>>2]=965476;v[a+24>>2]=965644;if(t[a+71|0]<=-1){$a(v[a+60>>2])}Nh(g);Kf(a+80|0);Ma=a+160|0;n:{o:{p:{q:{d=v[e>>2];switch(((v[e+4>>2]-d|0)/12|0)-3|0){case 1:break p;case 0:break q;default:break n}}v[c>>2]=255;h=F(ng(d+24|0),1)*255;r:{if(D(h)<2147483648){a=~~h;break r}a=-2147483648}c=a<<16;h=F(ng(v[e>>2]+12|0),1)*255;s:{if(D(h)<2147483648){a=~~h;break s}a=-2147483648}a=c+(a<<8)|0;c=v[e>>2];break o}h=ng(d)*255;t:{if(D(h)<2147483648){a=~~h;break t}a=-2147483648}v[c>>2]=a;h=F(ng(v[e>>2]+36|0),1)*255;u:{if(D(h)<2147483648){a=~~h;break u}a=-2147483648}c=a<<16;h=F(ng(v[e>>2]+24|0),1)*255;v:{if(D(h)<2147483648){a=~~h;break v}a=-2147483648}a=c+(a<<8)|0;c=v[e>>2]+12|0}h=F(ng(c),1)*255;w:{if(D(h)<2147483648){c=~~h;break w}c=-2147483648}v[b>>2]=a+c;d=v[e>>2]}if(d){a=v[e+4>>2];if((d|0)==(a|0)){a=d}else{while(1){b=a-12|0;if(t[a-1|0]<=-1){$a(v[b>>2])}a=b;if((d|0)!=(a|0)){continue}break}a=v[e>>2]}v[e+4>>2]=d;$a(a)}if(t[f+11|0]>-1){break a}$a(v[f>>2])}Ma=e+32|0}function Am(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;e=35;a:{if(!a|!v[a+88>>2]){break a}d=v[a+84>>2];if(!d){break a}e=v[d+156>>2];b:{if(!(!e|!(t[e+4|0]&1))){e=v[v[d+4>>2]+100>>2];f=v[d+88>>2];if(f){Qa[v[e+8>>2]](e,f)}v[d+88>>2]=0;e=v[d+156>>2];v[e+4>>2]=v[e+4>>2]&-2;break b}v[d+88>>2]=0}v[d+24>>2]=0;v[d+28>>2]=0;v[d+72>>2]=0;v[d+76>>2]=0;v[d+100>>2]=0;v[d+104>>2]=0;t[d+94|0]=0;v[d+32>>2]=0;v[d+36>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+48>>2]=0;v[d+52>>2]=0;v[d+56>>2]=0;v[d+60>>2]=0;v[d+80>>2]=0;v[d+84>>2]=0;v[d+108>>2]=0;v[d+112>>2]=0;v[d+116>>2]=0;v[d+120>>2]=0;v[d+124>>2]=0;v[d+128>>2]=0;v[d+132>>2]=0;v[d+136>>2]=0;v[d+140>>2]=0;v[d+144>>2]=0;v[d+148>>2]=0;v[d+152>>2]=0;c:{d:{c=c&1024?c|2049:c;c=c&1?c&-15|10:c;h=c&4194304?c&-5:c;i=h&2;e=v[a+96>>2];f=v[v[e+4>>2]+160>>2];if(i|!f|h&32768){break d}c=v[a+8>>2];if((c&8193)!=1){break d}e:{if(h&2048){break e}j=v[a+128>>2];g=v[j>>2];if(!v[j+8>>2]){if(g){break e}break d}if(g){break d}}f:{if(!(w[v[e>>2]+1|0]&4)|h&32){break f}c=0;g:{if(!a){break g}g=v[a+96>>2];j=v[v[g>>2]+32>>2];if(!j){break g}c=Qa[j|0](g,234019)|0}if(Cc(c,325036)){c=v[e+28>>2]==1}else{c=0}if(!(c|(w[v[e>>2]+1|0]&8)>>>3|(h&983040)!=65536)){c=v[a+8>>2];break f}c=v[a+8>>2];if(!(c&8)|!v[a+760>>2]|(x[a+286>>1]|v[a+684>>2])){break d}if(v[a+692>>2]){break d}}h:{if(!(c&2)|h&8){break h}if(Qa[v[v[e+12>>2]+72>>2]](d,v[a+88>>2],b,h|16384)|0){break h}c=0;if(v[d+72>>2]==1651078259){break c}}e=v[a+128>>2];g=v[e+24>>2];v[e+24>>2]=0;c=Qa[v[v[v[f>>2]+20>>2]+12>>2]](f,d,v[a+88>>2],b,h)|0;v[e+24>>2]=g;break c}e=Qa[v[v[e+12>>2]+72>>2]](d,v[a+88>>2],b,h)|0;if(e){break a}c=0;if(v[d+72>>2]!=1869968492){break c}f=d+108|0;i:{j:{if(!f){break j}j=u[f>>1];g=u[f+2>>1];e=0;if(!((j|g)&65535)){break i}if((g|0)<1|(j|0)<1){break j}k=v[f+12>>2];f=-1;e=0;while(1){l=f;f=u[(e<<1)+k>>1];if((l|0)>=(f|0)|(g|0)<=(f|0)){break j}e=e+1|0;if((j|0)!=(e|0)){continue}break}e=0;if((g-1|0)==(f|0)){break i}}e=6}if(e){break a}if(i){break c}k:{if(h>>>4&1){v[d+32>>2]=v[d+32>>2]&-64;e=v[d+44>>2];f=e&-64;v[d+44>>2]=f;g=v[d+48>>2];i=g&-64;v[d+48>>2]=i;v[d+36>>2]=v[d+36>>2]+63&-64;v[d+24>>2]=((e+v[d+24>>2]|0)+63&-64)-f;v[d+28>>2]=((g+v[d+28>>2]|0)+63&-64)-i;break k}v[d+44>>2]=v[d+44>>2]&-64;v[d+48>>2]=v[d+48>>2]&-64;e=v[d+32>>2];f=e&-64;v[d+32>>2]=f;g=v[d+36>>2];i=g+63&-64;v[d+36>>2]=i;v[d+28>>2]=i-(g-v[d+28>>2]&-64);v[d+24>>2]=((e+v[d+24>>2]|0)+63&-64)-f}v[d+40>>2]=v[d+40>>2]+32&-64;v[d+52>>2]=v[d+52>>2]+32&-64}l:{if(h&16){i=0;e=v[d+52>>2];break l}i=v[d+40>>2];e=0}v[d+64>>2]=i;v[d+68>>2]=e;if(!(!(t[a+8|0]&1)|h&8192)){e=v[a+88>>2];m=d,n=fc(v[d+56>>2],v[e+16>>2],64),v[m+56>>2]=n;m=d,n=fc(v[d+60>>2],v[e+20>>2],64),v[m+60>>2]=n}e=c;m:{if(h&2048){break m}g=v[a+128>>2];f=v[g+24>>2];e=c;if(!f){break m}n:{o:{a=v[v[v[d+4>>2]+96>>2]+4>>2];e=v[a+156>>2];p:{if(!e){i=v[d+72>>2];break p}i=v[d+72>>2];if((i|0)==v[e+16>>2]){break o}}a=v[a+148>>2];if(a){while(1){e=v[a+8>>2];if(v[e+16>>2]==(i|0)){break o}a=v[a+4>>2];if(a){continue}break}}q:{if((i|0)!=1869968492){break q}if(f&1){xn(d+108|0,g);f=v[g+24>>2]}if(!(f&2)){break q}Jg(d+108|0,v[g+16>>2],v[g+20>>2])}break n}c=Qa[v[v[e+12>>2]+44>>2]](e,d,g,g+16|0)|0}xJ(d- -64|0,g);e=c}v[d+12>>2]=b;v[v[d+156>>2]+40>>2]=h;if(e){break a}e=0;if(h&1){break a}a=v[d+72>>2];if((a|0)==1651078259|(a|0)==1668246896){break a}a=h>>>16&15;a=a?a:h>>>11&2;if(h&4){b=v[d+4>>2];if(!b){return 6}return w0(v[v[b+96>>2]+4>>2],d,a)}FJ(d,a,0)}return e}function sZ(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=Ma-80|0;Ma=h;v[h- -64>>2]=v[208957];k=v[208956];v[h+56>>2]=v[208955];v[h+60>>2]=k;k=v[208954];v[h+48>>2]=v[208953];v[h+52>>2]=k;k=v[208952];v[h+40>>2]=v[208951];v[h+44>>2]=k;v[h+32>>2]=v[208964];k=v[208963];v[h+24>>2]=v[208962];v[h+28>>2]=k;k=v[208961];v[h+16>>2]=v[208960];v[h+20>>2]=k;k=v[208959];v[h+8>>2]=v[208958];v[h+12>>2]=k;a:{if(!d|v[d>>2]>0){break a}if(!a){v[d>>2]=1;break a}k=v[v[v[a+24>>2]+20>>2]+56>>2];b:{if(k){v[h+72>>2]=0;Qa[k|0](a,0,h+72|0,d)|0;if(v[d>>2]<=0){break b}break a}v[h+72>>2]=260}c:{if(!c){e=1;v[h+76>>2]=1;c=h+76|0;break c}e=v[c>>2];v[h+76>>2]=e;if((e|0)>0){break c}v[c>>2]=v[h+72>>2];break a}j=b&7;d:{if(!j){break d}j=8-j|0;if((j|0)<(e|0)){e=e-j|0;v[h+76>>2]=e;b=b+j|0;break d}e=1;v[h+76>>2]=1}j=e;e=v[h+72>>2];e:{if(!(b?(j|0)>=(e|0):0)){j=Fg(e);if(!j){v[d>>2]=7;j=0;break a}v[d>>2]=-126;e=v[h+72>>2];v[c>>2]=e;k=j;break e}j=b;k=0}l=cb(eb(j,0,e),a,260);t[l+33|0]=0;t[l+34|0]=0;f:{g:{if(v[a+20>>2]==(a+108|0)){v[l+20>>2]=l+108;break g}e=Fg(64);v[l+20>>2]=e;if(!e){break f}f=v[a+20>>2];g=w[f+4|0]|w[f+5|0]<<8|(w[f+6|0]<<16|w[f+7|0]<<24);i=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);t[e|0]=i;t[e+1|0]=i>>>8;t[e+2|0]=i>>>16;t[e+3|0]=i>>>24;t[e+4|0]=g;t[e+5|0]=g>>>8;t[e+6|0]=g>>>16;t[e+7|0]=g>>>24;g=w[f+60|0]|w[f+61|0]<<8|(w[f+62|0]<<16|w[f+63|0]<<24);i=w[f+56|0]|w[f+57|0]<<8|(w[f+58|0]<<16|w[f+59|0]<<24);t[e+56|0]=i;t[e+57|0]=i>>>8;t[e+58|0]=i>>>16;t[e+59|0]=i>>>24;t[e+60|0]=g;t[e+61|0]=g>>>8;t[e+62|0]=g>>>16;t[e+63|0]=g>>>24;g=w[f+52|0]|w[f+53|0]<<8|(w[f+54|0]<<16|w[f+55|0]<<24);i=w[f+48|0]|w[f+49|0]<<8|(w[f+50|0]<<16|w[f+51|0]<<24);t[e+48|0]=i;t[e+49|0]=i>>>8;t[e+50|0]=i>>>16;t[e+51|0]=i>>>24;t[e+52|0]=g;t[e+53|0]=g>>>8;t[e+54|0]=g>>>16;t[e+55|0]=g>>>24;g=w[f+44|0]|w[f+45|0]<<8|(w[f+46|0]<<16|w[f+47|0]<<24);i=w[f+40|0]|w[f+41|0]<<8|(w[f+42|0]<<16|w[f+43|0]<<24);t[e+40|0]=i;t[e+41|0]=i>>>8;t[e+42|0]=i>>>16;t[e+43|0]=i>>>24;t[e+44|0]=g;t[e+45|0]=g>>>8;t[e+46|0]=g>>>16;t[e+47|0]=g>>>24;g=w[f+36|0]|w[f+37|0]<<8|(w[f+38|0]<<16|w[f+39|0]<<24);i=w[f+32|0]|w[f+33|0]<<8|(w[f+34|0]<<16|w[f+35|0]<<24);t[e+32|0]=i;t[e+33|0]=i>>>8;t[e+34|0]=i>>>16;t[e+35|0]=i>>>24;t[e+36|0]=g;t[e+37|0]=g>>>8;t[e+38|0]=g>>>16;t[e+39|0]=g>>>24;g=w[f+28|0]|w[f+29|0]<<8|(w[f+30|0]<<16|w[f+31|0]<<24);i=w[f+24|0]|w[f+25|0]<<8|(w[f+26|0]<<16|w[f+27|0]<<24);t[e+24|0]=i;t[e+25|0]=i>>>8;t[e+26|0]=i>>>16;t[e+27|0]=i>>>24;t[e+28|0]=g;t[e+29|0]=g>>>8;t[e+30|0]=g>>>16;t[e+31|0]=g>>>24;g=w[f+20|0]|w[f+21|0]<<8|(w[f+22|0]<<16|w[f+23|0]<<24);i=w[f+16|0]|w[f+17|0]<<8|(w[f+18|0]<<16|w[f+19|0]<<24);t[e+16|0]=i;t[e+17|0]=i>>>8;t[e+18|0]=i>>>16;t[e+19|0]=i>>>24;t[e+20|0]=g;t[e+21|0]=g>>>8;t[e+22|0]=g>>>16;t[e+23|0]=g>>>24;g=w[f+12|0]|w[f+13|0]<<8|(w[f+14|0]<<16|w[f+15|0]<<24);f=w[f+8|0]|w[f+9|0]<<8|(w[f+10|0]<<16|w[f+11|0]<<24);t[e+8|0]=f;t[e+9|0]=f>>>8;t[e+10|0]=f>>>16;t[e+11|0]=f>>>24;t[e+12|0]=g;t[e+13|0]=g>>>8;t[e+14|0]=g>>>16;t[e+15|0]=g>>>24}h:{e=v[v[v[a+24>>2]+20>>2]+56>>2];i:{if(e){j=Qa[e|0](a,l,c,d)|0;if(!j){break i}}if(v[d>>2]<1){break h}}if(!k){break f}a=v[k+20>>2];if((a|0)==(k+108|0)){break f}Nd(a);break f}c=v[a+24>>2];if(!c|!w[c+17|0]?0:w[c+17|0]){v[c+4>>2]=v[c+4>>2]+1}if((b|0)==(j|0)){t[b+33|0]=1}v[h+44>>2]=j;v[h+12>>2]=j;v[h+68>>2]=0;b=h+68|0;Qa[v[a+4>>2]](v[a+16>>2],h+40|0,0,0,5,b);v[h+68>>2]=0;Qa[v[a>>2]](v[a+12>>2],h+8|0,0,0,0,5,b);break a}Nd(k);j=0}Ma=h+80|0;return j}function mxa(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;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;n=Ma+-64|0;Ma=n;a:{if(!a){break a}o=v[a+52>>2];b:{if(!v[a+104>>2]){break b}k=v[a+8>>2];if(v[k+48>>2]){break b}k=v[k+44>>2];if(k){if(v[k+36>>2]|v[k+40>>2]|(v[k+44>>2]|v[k+48>>2])){break b}}gj(a,522,336778,0,0);v[a+104>>2]=0}k=0;c:{if(d|!c){break c}if(v[a+364>>2]){l=lA(v[a+296>>2],c,b);b=l?l:b;break c}if(!b){b=0;break c}j=zb(b);l=zb(c);m=j+l|0;p=Qa[v[256555]](m+2|0)|0;if(!p){v[n+48>>2]=280088;nb(0,0,0,0,0,2,2,3,280088,0,0,0,340689,n+48|0);break c}k=cb(p,c,l);l=l+k|0;t[l|0]=58;cb(l+1|0,b,j);t[(k+m|0)+1|0]=0}d:{j=v[a+372>>2];if(j){v[a+372>>2]=v[j+24>>2];v[a+368>>2]=v[a+368>>2]-1;v[j>>2]=0;v[j+4>>2]=0;v[j+56>>2]=0;v[j+48>>2]=0;v[j+52>>2]=0;v[j+40>>2]=0;v[j+44>>2]=0;v[j+32>>2]=0;v[j+36>>2]=0;v[j+24>>2]=0;v[j+28>>2]=0;v[j+16>>2]=0;v[j+20>>2]=0;v[j+8>>2]=0;v[j+12>>2]=0;v[j+4>>2]=1;e:{if(v[a+364>>2]){k=b;break e}if(k){break e}f:{g:{if(!b){break g}k=b;while(1){l=k;k=k+1|0;if(w[l|0]){continue}break}l=l-b|0;if((l|0)<0){break g}k=Qa[v[256555]](l+1|0)|0;if(k){break f}nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0)}v[j+8>>2]=0;v[a+84>>2]=2;c=v[a>>2];b=0;h:{if(!c){break h}b=0;if(v[c+108>>2]!=-554844497){break h}b=v[c+124>>2]}c=v[a+108>>2];d=v[a+112>>2];v[n+36>>2]=0;v[n+32>>2]=338368;nb(b,d,c,a,0,1,2,2,338368,0,0,0,236993,n+32|0);v[a+212>>2]=1;v[a+172>>2]=-1;v[a+84>>2]=2;break a}r=cb(k,b,l)+l|0,s=0,t[r|0]=s}v[j+8>>2]=k;if(!v[291069]){break d}b=v[291066];if(!b){break d}Qa[b|0](j);break d}i:{if(v[a+364>>2]){j=MH(v[a+8>>2],b);break i}l=v[a+8>>2];if(!k){j=Zz(l,b);break i}j=MH(l,k)}if(j){break d}v[a+84>>2]=2;c=v[a>>2];b=0;j:{if(!c){break j}b=0;if(v[c+108>>2]!=-554844497){break j}b=v[c+124>>2]}c=v[a+108>>2];d=v[a+112>>2];v[n+4>>2]=0;v[n>>2]=338368;nb(b,d,c,a,0,1,2,2,338368,0,0,0,236993,n);v[a+212>>2]=1;v[a+172>>2]=-1;v[a+84>>2]=2;break a}k:{if(!v[a+280>>2]){break k}b=v[a+36>>2];if(!b){break k}b=v[b+28>>2];u[j+56>>1]=(b|0)<65535?b:65535}if(!o){Df(v[a+8>>2],j)}l:{if((e|0)<1){break l}p=j+48|0;b=0;if(!d){k=0;l=0;while(1){m=k<<2;m=Dk(0,v[(m|4)+f>>2],v[f+m>>2]);if(m){v[(l?l:p)>>2]=m;l=m}k=k+2|0;b=b+1|0;if((e|0)!=(b|0)){continue}break}break l}k=0;l=0;while(1){m=k<<2;q=v[m+f>>2];m=Dk(0,v[(m|4)+f>>2],q);if(m){v[(l?l:p)>>2]=m;if((c|0)==(q|0)){v[j+36>>2]=m}l=m}k=k+2|0;b=b+1|0;if((e|0)!=(b|0)){continue}break}}v[a+264>>2]=-1;Dv(a,j);m:{if(!o){break m}if(v[o+4>>2]==1){Df(o,j);break m}hA(o,j)}g=h?g-(w[a+276|0]&4?0:h)|0:g;n:{if(v[j+36>>2]|!d){break n}b=Fk(v[a+8>>2],o,c);v[j+36>>2]=b;if(b){break n}f=258604;o:{if((c|0)!=258604){if(!c){break o}b=c;while(1){d=w[b|0];if((d|0)!=w[f|0]){break o}f=f+1|0;b=b+1|0;if(d){continue}break}}b=Fk(v[a+8>>2],j,c);v[j+36>>2]=b;if(b){break n}}if(!Dk(j,0,c)){Zj(a,236993);break a}if(c){Vz(a,201,343681,c,0);break n}Vz(a,201,343641,0,0)}if((g|0)<1){break a}b=0;k=0;while(1){c=(b<<2)+i|0;h=c;p:{q:{d=v[c+4>>2];r:{if(v[c+8>>2]|!d){break r}if(v[a+364>>2]){d=lA(v[a+296>>2],d,v[c>>2]);if(!d){break r}AH(a,d,0,v[c+12>>2],v[c+16>>2]);break p}e=v[c>>2];if(!e){break r}l=zb(e);f=zb(d);j=l+f|0;m=Qa[v[256555]](j+2|0)|0;if(m){break q}v[n+16>>2]=280088;nb(0,0,0,0,0,2,2,3,280088,0,0,0,340689,n+16|0)}AH(a,v[c>>2],v[h+4>>2],v[c+12>>2],v[c+16>>2]);break p}d=cb(m,d,f);f=d+f|0;t[f|0]=58;cb(f+1|0,e,l);t[(d+j|0)+1|0]=0;AH(a,d,0,v[c+12>>2],v[c+16>>2]);Qa[v[256556]](d)}b=b+5|0;k=k+1|0;if((k|0)!=(g|0)){continue}break}}Ma=n- -64|0}function Wva(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,x=C(0),y=C(0),E=0;l=Ma-448|0;Ma=l;a:{b:{c:{d:{e:{if(w[a+208|0]|w[a+203|0]){break e}Ak(a,v[b+596>>2],A[b+104>>3],b+16|0);m=A[b+392>>3];e=v[a+104>>2];Qa[v[v[e>>2]+132>>2]](e,l+444|0)|0;e=v[a+104>>2];Qa[v[v[e>>2]+136>>2]](e,878860)|0;v[l+440>>2]=0;v[l+432>>2]=0;v[l+436>>2]=0;v[l+424>>2]=0;v[l+416>>2]=0;v[l+420>>2]=0;m=m*255;f:{if(D(m)<2147483648){e=~~m;break f}e=-2147483648}q=e<<24;e=l+256|0;v[e+4>>2]=15;v[e+8>>2]=0;v[e+32>>2]=0;v[e+36>>2]=1072693248;v[e>>2]=887636;v[e+24>>2]=0;v[e+28>>2]=1072693248;v[e+40>>2]=0;v[e+44>>2]=0;v[e+16>>2]=0;v[e+20>>2]=1072693248;v[e+80>>2]=0;v[e+84>>2]=1072693248;v[e+72>>2]=0;v[e+76>>2]=1072693248;v[e+88>>2]=0;v[e+92>>2]=1072693248;v[e+64>>2]=0;v[e+68>>2]=1072693248;v[e+48>>2]=0;v[e+52>>2]=0;v[e+56>>2]=0;v[e+60>>2]=0;v[e+96>>2]=0;v[e+100>>2]=0;v[e+104>>2]=0;v[e+108>>2]=0;v[e+112>>2]=0;v[e+116>>2]=0;v[e+120>>2]=0;v[e+124>>2]=1072693248;v[e+128>>2]=0;v[e+132>>2]=0;v[e+136>>2]=0;v[e+140>>2]=0;v[e+144>>2]=0;v[e+148>>2]=0;v[e+152>>2]=0;v[e+156>>2]=1072693248;o=e;while(1){f=cb(l,v[v[c>>2]+(n<<2)>>2],128);iq(o,f,f+240|0,0);k=B(v[f+240>>2],255)+32768|0;r=B(v[f+244>>2],255)+32768>>>16|0;s=B(v[f+248>>2],255)+32768>>>16|0;g:{if(g>>>0>>0){e=s&255|(r<<8&65280|(k&16711680|q));t[g|0]=e;t[g+1|0]=e>>>8;t[g+2|0]=e>>>16;t[g+3|0]=e>>>24;v[f+420>>2]=g+4;h=v[f+436>>2];break g}e=g;g=v[f+416>>2];p=e-g|0;i=p>>2;e=i+1|0;if(e>>>0>=1073741824){break d}E=i<<2;j=j-g|0;i=j>>1;i=j>>2>>>0<536870911?e>>>0>i>>>0?e:i:1073741823;if(i){if(i>>>0>=1073741824){break c}e=ab(i<<2)}else{e=0}j=E+e|0;k=s&255|(r<<8&65280|(k&16711680|q));t[j|0]=k;t[j+1|0]=k>>>8;t[j+2|0]=k>>>16;t[j+3|0]=k>>>24;if((p|0)>=1){cb(e,g,p)}v[f+424>>2]=e+(i<<2);v[f+420>>2]=j+4;v[f+416>>2]=e;if(!g){break g}$a(g)}e=v[d>>2]+(n<<3)|0;x=C(+z[e+4>>2]/72*25.4);y=C(+z[e>>2]/72*25.4);g=v[f+440>>2];h:{if(g>>>0>h>>>0){z[h+4>>2]=x;z[h>>2]=y;h=h+8|0;v[f+436>>2]=h;break h}e=v[f+432>>2];j=h-e|0;i=j>>3;h=i+1|0;if(h>>>0>=536870912){break b}g=g-e|0;k=g>>2;h=g>>3>>>0<268435455?h>>>0>k>>>0?h:k:536870911;if(h>>>0>=536870912){break a}k=i<<3;i=h<<3;g=ab(i);h=k+g|0;z[h+4>>2]=x;z[h>>2]=y;h=h+8|0;if((j|0)>=1){cb(g,e,j)}v[f+440>>2]=g+i;v[f+436>>2]=h;v[f+432>>2]=g;if(!e){break h}$a(e)}n=n+1|0;if((n|0)!=3){j=v[f+424>>2];g=v[f+420>>2];continue}break}v[f+8>>2]=0;v[f+12>>2]=0;v[f+40>>2]=0;v[f+44>>2]=0;v[f+88>>2]=0;v[f+92>>2]=0;v[f+84>>2]=1;v[f+96>>2]=0;v[f+100>>2]=0;v[f+104>>2]=0;v[f+108>>2]=0;v[f+128>>2]=0;v[f+120>>2]=0;v[f+124>>2]=0;v[f>>2]=0;v[f+4>>2]=0;v[f+24>>2]=0;v[f+28>>2]=1065353216;v[f+32>>2]=0;v[f+36>>2]=0;v[f+76>>2]=0;v[f+80>>2]=1;v[f+68>>2]=0;v[f+72>>2]=0;v[f+60>>2]=1056964608;v[f+64>>2]=1065353216;u[f+56>>1]=0;v[f+48>>2]=1065353216;v[f+52>>2]=1065353216;c=ab(24);v[f+132>>2]=c;d=c+24|0;v[f+140>>2]=d;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=0;v[c+4>>2]=0;v[f+136>>2]=d;eb(f+148|0,0,88);c=v[f+432>>2];Gw(f+164|0,c,h);d=v[f+416>>2];In(f+176|0,d,v[f+420>>2]);v[f+80>>2]=2;o=f+80|0;e=v[a+104>>2];i:{if(!e){break i}e=pr(e,351404,351416);if(!e){break i}Qa[v[v[e>>2]+560>>2]](e,f);e=v[a+104>>2];Qa[v[v[e>>2]+328>>2]](e,878840)|0}Ae(b);b=v[a+104>>2];v[f+240>>2]=4;Qa[v[v[b>>2]+292>>2]](b,f+240|0)|0;a=v[a+104>>2];Qa[v[v[a>>2]+136>>2]](a,f+444|0)|0;Wf(o);if(d){$a(d)}if(!c){break e}$a(c)}Ma=l+448|0;return 1}Jc();L()}Zd(273730);L()}Jc();L()}Zd(273730);L()}function yFa(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,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,z=0,A=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;b=v[b+84>>2];n=B(v[b+108>>2],u[c+54>>1]);g=B(v[b+44>>2],u[c+22>>1]);h=B(n+g|0,6810);i=B(v[b+100>>2],u[c+50>>1]);f=B(v[b+36>>2],u[c+18>>1]);j=B(i+f|0,6810);O=h+B(g,4209)|0;o=B(u[c+6>>1],v[b+12>>2])<<13|1024;g=B(v[b+76>>2],u[c+38>>1]);k=B(v[b+140>>2],u[c+70>>1]);p=g-k|0;r=o+B(p,2896)|0;s=B(g+k|0,6476);P=r+s|0;l=O+P>>11;Q=j+B(f,4209)|0;x=B(u[c+2>>1],v[b+4>>2])<<13|1024;g=B(v[b+68>>2],u[c+34>>1]);f=B(v[b+132>>2],u[c+66>>1]);y=g-f|0;z=x+B(y,2896)|0;A=B(f+g|0,6476);R=z+A|0;m=Q+R>>11;f=B(l+m|0,6810);C=B(v[b+96>>2],u[c+48>>1]);D=B(v[b+32>>2],u[c+16>>1]);k=B(C+D|0,6810);g=v[d>>2]+e|0;a=v[a+332>>2]+128|0;m=f+B(m,4209)|0;E=B(v[b+104>>2],u[c+52>>1]);F=B(v[b+40>>2],u[c+20>>1]);G=B(E+F|0,6810);F=G+B(F,4209)|0;S=B(u[c+4>>1],v[b+8>>2])<<13|1024;q=B(v[b+72>>2],u[c+36>>1]);H=B(v[b+136>>2],u[c+68>>1]);T=q-H|0;U=S+B(T,2896)|0;q=B(q+H|0,6476);H=U+q|0;I=F+H>>11;V=B(u[c+8>>1],v[b+16>>2])<<13|1024;J=B(v[b+80>>2],u[c+40>>1]);K=B(v[b+144>>2],u[c+72>>1]);W=J-K|0;X=V+B(W,2896)|0;J=B(J+K|0,6476);K=X+J|0;Y=B(v[b+112>>2],u[c+56>>1]);L=B(v[b+48>>2],u[c+24>>1]);Z=B(Y+L|0,6810);L=Z+B(L,4209)|0;M=K+L>>11;_=I-M|0;D=k+B(D,4209)|0;$=B(u[c>>1],v[b>>2])<<13|1024;N=B(v[b+64>>2],u[c+32>>1]);b=B(v[b+128>>2],u[c+64>>1]);aa=N-b|0;ba=$+B(aa,2896)|0;N=B(b+N|0,6476);ca=ba+N|0;b=(D+ca<<2)+131072&-8192;c=B(_,2896)+b|0;I=B(I+M|0,6476);M=c+I|0;t[g|0]=w[a+(m+M>>>18&1023)|0];t[g+4|0]=w[a+(M-m>>>18&1023)|0];f=f+B(l,-17828)|0;c=c-I|0;t[g+1|0]=w[a+(f+c>>>18&1023)|0];t[g+3|0]=w[a+(c-f>>>18&1023)|0];t[g+2|0]=w[a+(b+B(_,-11584)>>>18&1023)|0];g=h+B(n,-17828)|0;h=r-s|0;f=g+h>>11;j=j+B(i,-17828)|0;n=z-A|0;i=j+n>>11;c=B(f+i|0,6810);b=v[d+4>>2]+e|0;i=c+B(i,4209)|0;r=B(E,-17828)+G|0;s=U-q|0;l=r+s>>11;z=B(Y,-17828)+Z|0;A=X-J|0;m=z+A>>11;E=l-m|0;k=k+B(C,-17828)|0;C=ba-N|0;G=(k+C<<2)+131072&-8192;q=B(E,2896)+G|0;l=B(l+m|0,6476);m=q+l|0;t[b|0]=w[a+(i+m>>>18&1023)|0];t[b+4|0]=w[a+(m-i>>>18&1023)|0];c=c+B(f,-17828)|0;f=q-l|0;t[b+1|0]=w[a+(c+f>>>18&1023)|0];t[b+3|0]=w[a+(f-c>>>18&1023)|0];t[b+2|0]=w[a+(G+B(E,-11584)>>>18&1023)|0];f=o+B(p,-11584)>>11;i=x+B(y,-11584)>>11;c=B(f+i|0,6810);b=v[d+8>>2]+e|0;i=c+B(i,4209)|0;y=(B(aa,-11584)+$<<2)+131072&-8192;p=B(T,-11584)+S>>11;o=B(W,-11584)+V>>11;l=p-o|0;x=y+B(l,2896)|0;p=B(p+o|0,6476);o=x+p|0;t[b|0]=w[a+(i+o>>>18&1023)|0];t[b+4|0]=w[a+(o-i>>>18&1023)|0];c=c+B(f,-17828)|0;f=x-p|0;t[b+1|0]=w[a+(c+f>>>18&1023)|0];t[b+3|0]=w[a+(f-c>>>18&1023)|0];t[b+2|0]=w[a+(y+B(l,-11584)>>>18&1023)|0];g=h-g>>11;h=n-j>>11;c=B(g+h|0,6810);b=v[d+12>>2]+e|0;h=c+B(h,4209)|0;k=(C-k<<2)+131072&-8192;j=s-r>>11;f=A-z>>11;n=j-f|0;i=k+B(n,2896)|0;j=B(f+j|0,6476);f=i+j|0;t[b|0]=w[a+(h+f>>>18&1023)|0];t[b+4|0]=w[a+(f-h>>>18&1023)|0];c=c+B(g,-17828)|0;g=i-j|0;t[b+1|0]=w[a+(c+g>>>18&1023)|0];t[b+3|0]=w[a+(g-c>>>18&1023)|0];t[b+2|0]=w[a+(k+B(n,-11584)>>>18&1023)|0];g=P-O>>11;h=R-Q>>11;c=B(g+h|0,6810);b=v[d+16>>2]+e|0;d=c+B(h,4209)|0;f=(ca-D<<2)+131072&-8192;e=H-F>>11;h=K-L>>11;j=e-h|0;k=f+B(j,2896)|0;e=B(e+h|0,6476);h=k+e|0;t[b|0]=w[a+(d+h>>>18&1023)|0];t[b+4|0]=w[a+(h-d>>>18&1023)|0];c=c+B(g,-17828)|0;d=k-e|0;t[b+1|0]=w[a+(c+d>>>18&1023)|0];t[b+3|0]=w[a+(d-c>>>18&1023)|0];t[b+2|0]=w[a+(f+B(j,-11584)>>>18&1023)|0]}function Pwa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=Ma-32|0;Ma=i;b=v[a+420>>2];a:{if(!v[a+264>>2]){break a}b:{c:{e=v[b+128>>2];switch(e|0){case 0:break a;case 1:break b;default:break c}}while(1){c=g;g=c+1|0;e=e>>1;if(e>>>0>1){continue}break}if(c>>>0<14){break b}c=v[b+120>>2];d=v[c>>2];v[d+20>>2]=41;Qa[v[d>>2]](c)}c=g<<4;d=v[b+124>>2];d:{if(v[b+108>>2]){c=v[((d<<2)+b|0)+92>>2]+(c<<2)|0;v[c>>2]=v[c>>2]+1;break d}d=v[((d<<2)+b|0)+60>>2];e=v[d+(c<<2)>>2];f=v[b+16>>2];c=t[(c+d|0)+1024|0];if(!c){d=v[b+120>>2];h=v[d>>2];v[h+20>>2]=41;Qa[v[h>>2]](d);if(v[b+108>>2]){break d}}d=c+f|0;e=v[b+12>>2]|(e&(-1<=8){while(1){c=v[b+112>>2];v[b+112>>2]=c+1;t[c|0]=e>>>16;c=v[b+116>>2]-1|0;v[b+116>>2]=c;if(!c){f=v[b+120>>2];c=v[f+24>>2];if(!(Qa[v[c+12>>2]](f)|0)){f=v[b+120>>2];h=v[f>>2];v[h+20>>2]=25;Qa[v[h>>2]](f)}v[b+112>>2]=v[c>>2];v[b+116>>2]=v[c+4>>2]}c=d;e:{if((e&16711680)!=16711680){break e}d=v[b+112>>2];v[b+112>>2]=d+1;t[d|0]=0;d=v[b+116>>2]-1|0;v[b+116>>2]=d;if(d){break e}f=v[b+120>>2];d=v[f+24>>2];if(!(Qa[v[d+12>>2]](f)|0)){f=v[b+120>>2];h=v[f>>2];v[h+20>>2]=25;Qa[v[h>>2]](f)}v[b+112>>2]=v[d>>2];v[b+116>>2]=v[d+4>>2]}d=c-8|0;e=e<<8;if((c|0)>15){continue}break}}v[b+16>>2]=d;v[b+12>>2]=e}if(!(v[b+108>>2]|!g)){c=v[b+16>>2]+g|0;g=v[b+12>>2]|(v[b+128>>2]&(-1<=8){while(1){d=v[b+112>>2];v[b+112>>2]=d+1;t[d|0]=g>>>16;d=v[b+116>>2]-1|0;v[b+116>>2]=d;if(!d){e=v[b+120>>2];d=v[e+24>>2];if(!(Qa[v[d+12>>2]](e)|0)){e=v[b+120>>2];f=v[e>>2];v[f+20>>2]=25;Qa[v[f>>2]](e)}v[b+112>>2]=v[d>>2];v[b+116>>2]=v[d+4>>2]}d=c;f:{if((g&16711680)!=16711680){break f}c=v[b+112>>2];v[b+112>>2]=c+1;t[c|0]=0;c=v[b+116>>2]-1|0;v[b+116>>2]=c;if(c){break f}e=v[b+120>>2];c=v[e+24>>2];if(!(Qa[v[c+12>>2]](e)|0)){e=v[b+120>>2];f=v[e>>2];v[f+20>>2]=25;Qa[v[f>>2]](e)}v[b+112>>2]=v[c>>2];v[b+116>>2]=v[c+4>>2]}c=d-8|0;g=g<<8;if((d|0)>15){continue}break}}v[b+16>>2]=c;v[b+12>>2]=g}v[b+128>>2]=0;g:{if(v[b+108>>2]){break g}f=v[b+132>>2];if(!f){break g}d=v[b+136>>2];g=0;while(1){if(!g){e=v[b+16>>2];g=v[b+12>>2]|(t[d|0]&1)<<23-e;c=e+1|0;if((e|0)>=7){while(1){e=v[b+112>>2];v[b+112>>2]=e+1;t[e|0]=g>>>16;e=v[b+116>>2]-1|0;v[b+116>>2]=e;if(!e){h=v[b+120>>2];e=v[h+24>>2];if(!(Qa[v[e+12>>2]](h)|0)){h=v[b+120>>2];j=v[h>>2];v[j+20>>2]=25;Qa[v[j>>2]](h)}v[b+112>>2]=v[e>>2];v[b+116>>2]=v[e+4>>2]}e=c;h:{if((g&16711680)!=16711680){break h}c=v[b+112>>2];v[b+112>>2]=c+1;t[c|0]=0;c=v[b+116>>2]-1|0;v[b+116>>2]=c;if(c){break h}h=v[b+120>>2];c=v[h+24>>2];if(!(Qa[v[c+12>>2]](h)|0)){h=v[b+120>>2];j=v[h>>2];v[j+20>>2]=25;Qa[v[j>>2]](h)}v[b+112>>2]=v[c>>2];v[b+116>>2]=v[c+4>>2]}c=e-8|0;g=g<<8;if((e|0)>15){continue}break}}v[b+16>>2]=c;v[b+12>>2]=g}f=f-1|0;if(!f){break g}d=d+1|0;g=v[b+108>>2];continue}}v[b+132>>2]=0}v[i+24>>2]=0;v[i+28>>2]=0;v[i+16>>2]=0;v[i+20>>2]=0;v[i>>2]=0;v[i+4>>2]=0;v[i+8>>2]=0;v[i+12>>2]=0;if(v[a+288>>2]>=1){g=0;while(1){c=v[((g<<2)+a|0)+292>>2];i:{if(v[a+360>>2]|v[a+368>>2]){break i}d=v[c+20>>2]<<2;e=d+(i+16|0)|0;if(v[e>>2]){break i}h=a+d|0;f=v[h+120>>2];if(!f){f=Qa[v[v[a+4>>2]>>2]](a,0,280)|0;v[f+276>>2]=0;v[h+120>>2]=f}IW(a,f,v[(b+d|0)+76>>2]);v[e>>2]=1}j:{if(!v[a+364>>2]){break j}c=v[c+24>>2]<<2;e=c+i|0;if(v[e>>2]){break j}f=a+c|0;d=v[f+136>>2];if(!d){d=Qa[v[v[a+4>>2]>>2]](a,0,280)|0;v[d+276>>2]=0;v[f+136>>2]=d}IW(a,d,v[(b+c|0)+92>>2]);v[e>>2]=1}g=g+1|0;if((g|0)>2]){continue}break}}Ma=i+32|0}function H6(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;a:{b:{if(!v[a+16>>2]){if((d|0)<1){break b}q=v[a+28>>2];o=v[a+20>>2];while(1){m=d;i=A[b+8>>3];g=A[b>>3];j=A[b+16>>3];h=j;c:{if(!v[a+24>>2]|o){break c}h=A[v[a+32>>2]>>3];f=v[a+36>>2];l=f-1|0;g=g*+(l|0);e=H(g);d:{if(D(e)<2147483648){d=~~e;break d}d=-2147483648}e:{if((d|0)<=-1){break e}k=v[a+32>>2];h=A[k+(l<<3)>>3];n=f;e=I(g);f:{if(D(e)<2147483648){f=~~e;break f}f=-2147483648}if((n|0)<=(f|0)){break e}e=A[k+(d<<3)>>3];h=e+(g-+(d|0))*(A[k+(f<<3)>>3]-e)}g=h;h=A[v[a+40>>2]>>3];f=v[a+44>>2];l=f-1|0;i=i*+(l|0);e=H(i);g:{if(D(e)<2147483648){d=~~e;break g}d=-2147483648}h:{if((d|0)<=-1){break h}k=v[a+40>>2];h=A[k+(l<<3)>>3];n=f;e=I(i);i:{if(D(e)<2147483648){f=~~e;break i}f=-2147483648}if((n|0)<=(f|0)){break h}e=A[k+(d<<3)>>3];h=e+(i-+(d|0))*(A[k+(f<<3)>>3]-e)}i=h;h=A[v[a+48>>2]>>3];f=v[a+52>>2];l=f-1|0;e=j*+(l|0);j=H(e);j:{if(D(j)<2147483648){d=~~j;break j}d=-2147483648}if((d|0)<=-1){break c}k=v[a+48>>2];h=A[k+(l<<3)>>3];n=f;j=I(e);k:{if(D(j)<2147483648){f=~~j;break k}f=-2147483648}if((n|0)<=(f|0)){break c}j=A[k+(d<<3)>>3];h=j+(e-+(d|0))*(A[k+(f<<3)>>3]-j)}j=h;l:{if(!q){e=i;p=j;break l}p=A[a+144>>3]+(g*A[a+120>>3]+i*A[a+128>>3]+j*A[a+136>>3]);e=A[a+112>>3]+(g*A[a+88>>3]+i*A[a+96>>3]+j*A[a+104>>3]);g=A[a+80>>3]+(g*A[a+56>>3]+i*A[a+64>>3]+j*A[a+72>>3])}m:{if(!o|!v[a+24>>2]){break m}h=A[v[a+32>>2]>>3];f=v[a+36>>2];l=f-1|0;g=g*+(l|0);i=H(g);n:{if(D(i)<2147483648){d=~~i;break n}d=-2147483648}o:{if((d|0)<=-1){break o}k=v[a+32>>2];h=A[k+(l<<3)>>3];n=f;i=I(g);p:{if(D(i)<2147483648){f=~~i;break p}f=-2147483648}if((n|0)<=(f|0)){break o}i=A[k+(d<<3)>>3];h=i+(g-+(d|0))*(A[k+(f<<3)>>3]-i)}g=h;h=A[v[a+40>>2]>>3];f=v[a+44>>2];l=f-1|0;i=e*+(l|0);e=H(i);q:{if(D(e)<2147483648){d=~~e;break q}d=-2147483648}r:{if((d|0)<=-1){break r}k=v[a+40>>2];h=A[k+(l<<3)>>3];n=f;e=I(i);s:{if(D(e)<2147483648){f=~~e;break s}f=-2147483648}if((n|0)<=(f|0)){break r}e=A[k+(d<<3)>>3];h=e+(i-+(d|0))*(A[k+(f<<3)>>3]-e)}e=h;f=v[a+52>>2];l=f-1|0;i=p*+(l|0);j=H(i);t:{if(D(j)<2147483648){d=~~j;break t}d=-2147483648}if((d|0)<=-1){p=A[v[a+48>>2]>>3];break m}k=v[a+48>>2];n=f;j=I(i);u:{if(D(j)<2147483648){f=~~j;break u}f=-2147483648}if((n|0)<=(f|0)){p=A[k+(l<<3)>>3];break m}j=A[k+(d<<3)>>3];p=j+(i-+(d|0))*(A[k+(f<<3)>>3]-j)}b=b+24|0;d=m-1|0;A[c+16>>3]=p;A[c+8>>3]=e;A[c>>3]=g;c=c+24|0;if((m|0)>1){continue}break}break b}if(v[a+20>>2]){break a}if((d|0)<1){break b}m=d-1|0;if(!v[a+24>>2]){if(d&1){i=A[a+56>>3];e=A[a+88>>3];g=A[b>>3];A[c+16>>3]=g*A[a+120>>3];A[c+8>>3]=g*e;A[c>>3]=g*i;m=d-2|0;c=c+24|0;b=b+8|0}if((d|0)==1){break b}while(1){i=A[a+56>>3];e=A[a+88>>3];g=A[b>>3];A[c+16>>3]=g*A[a+120>>3];A[c+8>>3]=g*e;A[c>>3]=g*i;i=A[a+56>>3];e=A[a+88>>3];g=A[b+8>>3];A[c+40>>3]=g*A[a+120>>3];A[c+32>>3]=g*e;A[c+24>>3]=g*i;c=c+48|0;b=b+16|0;d=(m|0)>1;m=m-2|0;if(d){continue}break}break b}k=v[a+36>>2];q=k-1|0;i=+(q|0);while(1){d=m;h=A[v[a+32>>2]>>3];g=A[b>>3]*i;e=H(g);v:{if(D(e)<2147483648){m=~~e;break v}m=-2147483648}w:{if((m|0)<=-1){break w}o=v[a+32>>2];h=A[o+(q<<3)>>3];e=I(g);x:{if(D(e)<2147483648){f=~~e;break x}f=-2147483648}if((f|0)>=(k|0)){break w}e=A[o+(m<<3)>>3];h=e+(g-+(m|0))*(A[o+(f<<3)>>3]-e)}g=h;b=b+8|0;e=A[a+56>>3];j=A[a+88>>3];A[c+16>>3]=g*A[a+120>>3];A[c+8>>3]=g*j;A[c>>3]=g*e;m=d-1|0;c=c+24|0;if((d|0)>0){continue}break}}return 0}O(19336,6744,846,188290);L()}function vTa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=Ma-128|0;Ma=d;v[d+120>>2]=0;v[d+124>>2]=0;v[285945]=0;v[285944]=0;v[285943]=0;b=x[a+26308>>1];if(b){k=a+232|0;g=v[249419];h=x[a+26306>>1];while(1){c=h&65535;h=0;if(c){l=i&1;m=i<<1&14;while(1){c=k;b=v[c>>2];a:{if(!b){break a}f=0;if(v[285945]){while(1){c=b;b=v[c>>2];if(b){continue}break a}}while(1){b=0;b:{if(f){break b}e=v[285944];c:{if((e|0)>=1){b=v[285943];break c}while(1){d:{e:{f=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;f:{if((f|0)==-1){if(!v[a+26160>>2]){v[d+112>>2]=v[a+25208>>2];vb(g,8292,d+112|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,g);v[a+26160>>2]=1;break f}b=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[d+96>>2]=b;v[d+100>>2]=b>>31;vb(g,14622,d+96|0)}v[a+26160>>2]=1;break f}if(!v[a+26144>>2]){break f}if((f|0)==255){break e}}v[285945]=0;break d}b=0;e=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[285945]=(e|0)!=0;if(!e){break d}f=1;break b}j=v[285944];e=j+8|0;v[285944]=e;b=f&255|v[285943]<<8;v[285943]=b;if((j|0)<-7){continue}break}}f=0;v[285944]=e-1;b=b<<32-e>>>31|0}c=v[(b<<2)+c>>2];if(v[c>>2]){continue}break}}g:{h:{i:{j:{f=v[c+8>>2];c=f+1|0;if(c){if((c|0)==17){break i}break j}v[285944]=0;v[285945]=0;v[285943]=0;b=0;break h}b=0;if(v[285945]|!f){break h}b=v[285944];k:{if((f|0)<=(b|0)){e=v[285943];break k}while(1){c=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;l:{if((c|0)==-1){if(!v[a+26160>>2]){v[d+48>>2]=v[a+25208>>2];vb(g,8292,d+48|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,g);v[a+26160>>2]=1;v[285945]=0;break l}b=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[d+32>>2]=b;v[d+36>>2]=b>>31;vb(g,14622,d+32|0)}v[a+26160>>2]=1;v[285945]=0;break l}if(!((c|0)==255?v[a+26144>>2]:0)){v[285945]=0;break l}e=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[285945]=(e|0)!=0;b=0;if(e){break h}}b=v[285944]+8|0;v[285944]=b;e=c&255|v[285943]<<8;v[285943]=e;if((b|0)<(f|0)){continue}break}}c=b-f|0;v[285944]=c;b=32-f|0;b=e<>>b|0;break h}c=-32768;if(v[a+26152>>2]-1>>>0>16842750){break g}b=0;if(v[285945]){break h}c=v[285944];m:{if((c|0)>=16){e=v[285943];break m}while(1){e=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;n:{if((e|0)==-1){if(!v[a+26160>>2]){v[d+80>>2]=v[a+25208>>2];vb(g,8292,d+80|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,g);v[a+26160>>2]=1;v[285945]=0;break n}c=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[d+64>>2]=c;v[d+68>>2]=c>>31;vb(g,14622,d- -64|0)}v[a+26160>>2]=1;v[285945]=0;break n}if(!((e|0)==255?v[a+26144>>2]:0)){v[285945]=0;break n}c=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[285945]=(c|0)!=0;b=0;if(c){break h}}b=v[285944];c=b+8|0;v[285944]=c;e=e&255|v[285943]<<8;v[285943]=e;if((b|0)<8){continue}break}}v[285944]=c-16;b=e<<32-c>>>16|0}c=b+(b>>>f-1&1?0:(-1<>>0<=1){b=h<<1;e=b+(d+120|l<<2)|0;c=c+x[e>>1]|0;u[e>>1]=c;u[b+(d+116|0)>>1]=c;break o}b=(d+116|0)+((h&1)<<1)|0;u[b>>1]=c+x[b>>1]}c=h&1;if(x[a+26310>>1]>h>>>0){b=x[a+26316>>1];u[(v[a+26352>>2]+(B(x[a+26320>>1],i>>>b|0)+(h>>>b|0)<<3)|0)+((v[a+26028>>2]>>>((c|m)<<1)&3)<<1)>>1]=x[(d+116|0)+(c<<1)>>1]}if(x[(d+116|0)+(c<<1)>>1]>=4096){p:{if(v[a+26160>>2]){break p}v[d+16>>2]=v[a+25208>>2];vb(g,8292,d+16|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,g);break p}c=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[d>>2]=c;v[d+4>>2]=c>>31;vb(g,14622,d)}v[a+26160>>2]=1}h=h+1|0;c=x[a+26306>>1];if(h>>>0>>0){continue}break}h=c;b=x[a+26308>>1]}i=i+1|0;if(i>>>0<(b&65535)>>>0){continue}break}}Ma=d+128|0}function vF(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=v[291394];if(!c){c=ab(32);v[c>>2]=0;v[c+4>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;jd(c,970540);v[291394]=c}h=Ma-16|0;Ma=h;Fy(c);a:{if(!bg(a)){break a}d=eh(a);f=v[v[c+12>>2]+((d>>>0)%y[c+8>>2]<<2)>>2];if(!f){break a}while(1){b:{if((d|0)==v[f+12>>2]){if(ff(f+16|0,a)){break b}}f=v[f+8>>2];if(f){continue}break a}break}j=Lf(h,f+52|0);f=v[h+8>>2];if(f){while(1){a=v[f+8>>2];d=Ma-1072|0;Ma=d;while(1){c=a;a=v[a+16>>2];if(a){continue}break}g=c+20|0;c:{if(!bg(g)){break c}i=c+56|0;a=v[c+56>>2];d:{e:{if(!a){v[d+1064>>2]=0;break e}v[a+4>>2]=v[a+4>>2]+1;a=v[i>>2];v[d+1064>>2]=a;if(a){break d}}a=v[291392];if(!a){a=ab(28);v[a+4>>2]=0;v[a+24>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=970568;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=970612;v[a+12>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[291392]=a}v[d+1056>>2]=0;b=d+1056|0;qb(b,c);e=d+16|0;iT(e,a,g,b);jb(i,jb(d+1064|0,e));a=v[d+16>>2];v[d+16>>2]=0;f:{if(!a){break f}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break f}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}a=v[d+1056>>2];v[d+1056>>2]=0;if(!a){break d}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break d}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}a=d+16|0;lg(a);jb(c- -64|0,a);a=v[d+16>>2];v[d+16>>2]=0;g:{if(!a){break g}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break g}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}ac(v[c+72>>2]+4|0);a=v[291394];if(!a){a=ab(32);v[a>>2]=0;v[a+4>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;jd(a,970540);v[291394]=a}v[d+1048>>2]=0;b=d+1048|0;qb(b,c);hT(a,g,b);a=v[d+1048>>2];v[d+1048>>2]=0;h:{if(!a){break h}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break h}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}a=zg(d+16|0);Rf(g,a);v[a+24>>2]=969432;v[a>>2]=969400;b=v[a+28>>2];if(b){e=v[b+4>>2]-1|0;v[b+4>>2]=e;if(!e){Qa[v[v[b>>2]+4>>2]](b)}v[a+28>>2]=0}v[a+16>>2]=969432;b=v[a+20>>2];if(b){e=v[b+4>>2]-1|0;v[b+4>>2]=e;if(!e){Qa[v[v[b>>2]+4>>2]](b)}v[a+20>>2]=0}db(a+8|0);a=v[d+1064>>2];b=v[a+44>>2];v[b+4>>2]=v[b+4>>2]+1;b=v[a+44>>2];Qa[v[v[b>>2]+20>>2]](b,0,0,0)|0;a=v[v[d+1064>>2]+44>>2];a=Qa[v[v[a>>2]+8>>2]](a,d+16|0,1024)|0;if(a){while(1){e=d+16|0;Ey(c,e,v[c+76>>2],a);v[c+76>>2]=v[c+76>>2]+a;a=v[v[d+1064>>2]+44>>2];a=Qa[v[v[a>>2]+8>>2]](a,e,1024)|0;if(a){continue}break}}if(!(bg(g)|v[c+16>>2])){t[c+8|0]=1;if(v[c+84>>2]<=-1){a=v[c+64>>2];k=c,l=Qa[v[v[a>>2]+28>>2]](a)|0,v[k+84>>2]=l}a=v[c+96>>2];if(a){while(1){g=v[a+8>>2];if(!v[g+8>>2]){v[g+8>>2]=1}a=v[a>>2];if(a){continue}break}}fs(c)}a=v[291392];if(!a){a=ab(28);v[a+4>>2]=0;v[a+24>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=970568;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=970612;v[a+12>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[291392]=a}v[d+8>>2]=0;g=v[d+1064>>2];e=d+8|0;qb(e,c);kT(a,g+44|0,e);a=v[d+8>>2];v[d+8>>2]=0;i:{if(!a){break i}c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(c){break i}c=v[a+4>>2];if(!c){v[a+4>>2]=-32767}if(!c){Qa[v[v[a>>2]+4>>2]](a)}}j:{if(!b){break j}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break j}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}}qb(i,0);a=v[d+1064>>2];v[d+1064>>2]=0;if(!a){break c}c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(c){break c}c=v[a+4>>2];if(!c){v[a+4>>2]=-32767}if(!c){Qa[v[v[a>>2]+4>>2]](a)}}Ma=d+1072|0;f=v[f>>2];if(f){continue}break}}ac(j)}Ma=h+16|0}function AY(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;c=v[a+44>>2];d=v[a+12>>2]-5|0;k=c>>>0>>0?c:d;d=v[a>>2];l=v[d+4>>2];h=(b|0)==4;a:{while(1){c=v[d+16>>2];e=v[a+5820>>2]+42>>3;if(c>>>0>>0){f=1;break a}e=c-e|0;g=v[a+108>>2]-v[a+92>>2]|0;c=g+v[d+4>>2]|0;f=c>>>0<65535?c:65535;e=e>>>0>>0?e:f;if(k>>>0>e>>>0){f=1;if(!(h|(e|0)!=0)|!b|(c|0)!=(e|0)){break a}}i=h&(c|0)==(e|0);oA(a,0,0,i);t[(v[a+20>>2]+v[a+8>>2]|0)-4|0]=e;t[(v[a+20>>2]+v[a+8>>2]|0)-3|0]=e>>>8;c=e^-1;t[(v[a+20>>2]+v[a+8>>2]|0)-2|0]=c;t[(v[a+20>>2]+v[a+8>>2]|0)-1|0]=c>>>8;c=v[a>>2];d=v[c+28>>2];mh(d);f=v[c+16>>2];j=v[d+20>>2];f=f>>>0>>0?f:j;b:{if(!f){break b}cb(v[c+12>>2],v[d+16>>2],f);v[c+12>>2]=f+v[c+12>>2];v[d+16>>2]=f+v[d+16>>2];v[c+20>>2]=f+v[c+20>>2];v[c+16>>2]=v[c+16>>2]-f;c=v[d+20>>2]-f|0;v[d+20>>2]=c;if(c){break b}v[d+16>>2]=v[d+8>>2]}if(g){c=e>>>0>>0?e:g;cb(v[v[a>>2]+12>>2],v[a+56>>2]+v[a+92>>2]|0,c);d=v[a>>2];v[d+12>>2]=c+v[d+12>>2];v[d+16>>2]=v[d+16>>2]-c;v[d+20>>2]=c+v[d+20>>2];v[a+92>>2]=c+v[a+92>>2];e=e-c|0}if(e){c=v[a>>2];f=v[c+12>>2];g=v[c+4>>2];d=e>>>0>>0?e:g;if(d){v[c+4>>2]=g-d;f=cb(f,v[c>>2],d);c:{d:{switch(v[v[c+28>>2]+24>>2]-1|0){case 0:m=c,n=on(v[c+48>>2],f,d),v[m+48>>2]=n;break c;case 1:break d;default:break c}}m=c,n=lf(v[c+48>>2],f,d),v[m+48>>2]=n}v[c>>2]=d+v[c>>2];v[c+8>>2]=d+v[c+8>>2];c=v[a>>2];f=v[c+12>>2]}v[c+12>>2]=e+f;v[c+16>>2]=v[c+16>>2]-e;v[c+20>>2]=v[c+20>>2]+e}d=v[a>>2];if(!i){continue}break}f=0}e=l-v[d+4>>2]|0;e:{if(!e){c=v[a+108>>2];break e}c=v[a+44>>2];f:{if(c>>>0<=e>>>0){v[a+5808>>2]=2;cb(v[a+56>>2],v[d>>2]-c|0,c);d=v[a+44>>2];v[a+108>>2]=d;c=d;break f}d=v[a+108>>2];g:{if(e>>>0>2]-d>>>0){break g}d=d-c|0;v[a+108>>2]=d;g=v[a+56>>2];cb(g,c+g|0,d);c=v[a+5808>>2];if(c>>>0>1){break g}v[a+5808>>2]=c+1}cb(v[a+56>>2]+v[a+108>>2]|0,v[v[a>>2]>>2]-e|0,e);c=e+v[a+108>>2]|0;v[a+108>>2]=c;d=v[a+44>>2]}v[a+92>>2]=c;g=d;d=v[a+5812>>2];g=g-d|0;v[a+5812>>2]=(e>>>0>g>>>0?g:e)+d}if(y[a+5824>>2]>>0){v[a+5824>>2]=c}e=3;h:{if(!f){break h}d=v[a>>2];e=v[d+4>>2];i:{if(!(e|!(b&-5))){e=1;if(v[a+92>>2]==(c|0)){break h}f=v[a+60>>2]+(c^-1)|0;e=0;break i}f=v[a+60>>2]+(c^-1)|0;if(f>>>0>=e>>>0){break i}h=v[a+92>>2];g=v[a+44>>2];if((h|0)<(g|0)){break i}c=c-g|0;v[a+108>>2]=c;v[a+92>>2]=h-g;d=v[a+56>>2];cb(d,d+g|0,c);c=v[a+5808>>2];if(c>>>0<=1){v[a+5808>>2]=c+1}f=v[a+44>>2]+f|0;d=v[a>>2];e=v[d+4>>2]}c=e>>>0>>0?e:f;j:{if(!c){e=v[a+108>>2];break j}f=v[a+108>>2];g=v[a+56>>2];v[d+4>>2]=e-c;e=cb(f+g|0,v[d>>2],c);k:{l:{switch(v[v[d+28>>2]+24>>2]-1|0){case 0:m=d,n=on(v[d+48>>2],e,c),v[m+48>>2]=n;break k;case 1:break l;default:break k}}m=d,n=lf(v[d+48>>2],e,c),v[m+48>>2]=n}v[d>>2]=c+v[d>>2];v[d+8>>2]=c+v[d+8>>2];e=c+v[a+108>>2]|0;v[a+108>>2]=e}if(y[a+5824>>2]>>0){v[a+5824>>2]=e}d=v[a+44>>2];c=v[a+12>>2]-(v[a+5820>>2]+42>>3)|0;c=c>>>0<65535?c:65535;f=c>>>0>d>>>0?d:c;g=v[a+92>>2];d=e-g|0;if(f>>>0>d>>>0){e=0;if(!((b|0)==4|(d|0)!=0)|!b|(v[v[a>>2]+4>>2]|c>>>0>>0)){break h}}f=0;f=(b|0)==4?!v[v[a>>2]+4>>2]&c>>>0>=d>>>0:f;b=c>>>0>>0?c:d;oA(a,g+v[a+56>>2]|0,b,f);v[a+92>>2]=b+v[a+92>>2];a=v[a>>2];b=v[a+28>>2];mh(b);c=v[a+16>>2];d=v[b+20>>2];c=c>>>0>>0?c:d;m:{if(!c){break m}cb(v[a+12>>2],v[b+16>>2],c);v[a+12>>2]=c+v[a+12>>2];v[b+16>>2]=c+v[b+16>>2];v[a+20>>2]=c+v[a+20>>2];v[a+16>>2]=v[a+16>>2]-c;a=v[b+20>>2]-c|0;v[b+20>>2]=a;if(a){break m}v[b+16>>2]=v[b+8>>2]}e=f?2:0}return e|0}function nD(a){var b=0,c=0,d=0;a:{if(t[1187412]&1){break a}if(!ie(1187412)){break a}b:{if(t[1187400]&1){break b}if(!ie(1187400)){break b}v[297251]=0;v[297250]=1009656;v[297250]=1004728;v[297250]=1004280;b=Ma-16|0;Ma=b;v[297252]=0;v[297253]=0;v[b+12>>2]=0;v[297254]=0;t[1189144]=0;Ma=b+16|0;if(HN()>>>0<30){Jc();L()}b=GN(1189024,30);v[297252]=b;v[297253]=b;v[297254]=b+120;WN(30);lj(1189152,312822);VN(1189008);v[297173]=0;v[297172]=1009656;v[297172]=1004728;v[297172]=1005604;rf(1188688,cf(1187224));v[297175]=0;v[297174]=1009656;v[297174]=1004728;v[297174]=1005636;rf(1188696,cf(1187232));v[297177]=0;v[297176]=1009656;v[297176]=1004728;t[1188716]=0;v[297178]=0;v[297176]=1004300;v[297178]=v[250014];rf(1188704,cf(1187428));v[297181]=0;v[297180]=1009656;v[297180]=1004728;v[297180]=1004784;rf(1188720,cf(1187420));v[297183]=0;v[297182]=1009656;v[297182]=1004728;v[297182]=1004932;rf(1188728,cf(1187436));v[297185]=0;v[297184]=1009656;v[297184]=1004728;v[297184]=1004352;c=1188744,d=te(),v[c>>2]=d;rf(1188736,cf(1187444));v[297189]=0;v[297188]=1009656;v[297188]=1004728;v[297188]=1005080;rf(1188752,cf(1187452));v[297191]=0;v[297190]=1009656;v[297190]=1004728;v[297190]=1005196;rf(1188760,cf(1187460));v[297193]=0;v[297192]=1009656;v[297192]=1004728;u[594388]=11310;v[297192]=1004400;ud(1188780);rf(1188768,cf(1187468));v[297199]=0;v[297198]=1009656;v[297198]=1004728;v[297200]=46;v[297201]=44;v[297198]=1004440;ud(1188808);rf(1188792,cf(1187476));v[297207]=0;v[297206]=1009656;v[297206]=1004728;v[297206]=1005668;rf(1188824,cf(1187240));v[297209]=0;v[297208]=1009656;v[297208]=1004728;v[297208]=1005912;rf(1188832,cf(1187248));v[297211]=0;v[297210]=1009656;v[297210]=1004728;v[297210]=1006124;rf(1188840,cf(1187256));v[297213]=0;v[297212]=1009656;v[297212]=1004728;v[297212]=1006356;rf(1188848,cf(1187264));v[297215]=0;v[297214]=1009656;v[297214]=1004728;v[297214]=1007340;rf(1188856,cf(1187304));v[297217]=0;v[297216]=1009656;v[297216]=1004728;v[297216]=1007488;rf(1188864,cf(1187312));v[297219]=0;v[297218]=1009656;v[297218]=1004728;v[297218]=1007604;rf(1188872,cf(1187320));v[297221]=0;v[297220]=1009656;v[297220]=1004728;v[297220]=1007720;rf(1188880,cf(1187328));v[297223]=0;v[297222]=1009656;v[297222]=1004728;v[297222]=1007836;rf(1188888,cf(1187336));v[297225]=0;v[297224]=1009656;v[297224]=1004728;v[297224]=1008e3;rf(1188896,cf(1187344));v[297227]=0;v[297226]=1009656;v[297226]=1004728;v[297226]=1008164;rf(1188904,cf(1187352));v[297229]=0;v[297228]=1009656;v[297228]=1004728;v[297228]=1008328;rf(1188912,cf(1187360));v[297231]=0;v[297230]=1009656;v[297230]=1004728;v[297232]=1009584;v[297230]=1006556;v[297232]=1006604;rf(1188920,cf(1187272));v[297235]=0;v[297234]=1009656;v[297234]=1004728;v[297236]=1009620;v[297234]=1006820;v[297236]=1006868;rf(1188936,cf(1187280));v[297239]=0;v[297238]=1009656;v[297238]=1004728;CN(1188960);v[297238]=1007056;rf(1188952,cf(1187288));v[297243]=0;v[297242]=1009656;v[297242]=1004728;CN(1188976);v[297242]=1007212;rf(1188968,cf(1187296));v[297247]=0;v[297246]=1009656;v[297246]=1004728;v[297246]=1008492;rf(1188984,cf(1187368));v[297249]=0;v[297248]=1009656;v[297248]=1004728;v[297248]=1008612;rf(1188992,cf(1187376));v[296848]=1189e3;v[296849]=1187392;he(1187400)}b=v[v[296849]>>2];v[296851]=b;v[b+4>>2]=v[b+4>>2]+1;v[296852]=1187404;he(1187412)}b=a;a=v[v[296852]>>2];v[b>>2]=a;v[a+4>>2]=v[a+4>>2]+1}function Bz(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{e=v[a+128>>2];switch(e|0){case 0:break a;case 1:break b;default:break c}}while(1){c=f;f=c+1|0;e=e>>1;if(e>>>0>1){continue}break}if(c>>>0<14){break b}c=v[a+120>>2];d=v[c>>2];v[d+20>>2]=41;Qa[v[d>>2]](c)}c=f<<4;d=v[a+124>>2];d:{if(v[a+108>>2]){c=v[((d<<2)+a|0)+92>>2]+(c<<2)|0;v[c>>2]=v[c>>2]+1;break d}d=v[((d<<2)+a|0)+60>>2];e=v[d+(c<<2)>>2];g=v[a+16>>2];c=t[(c+d|0)+1024|0];if(!c){d=v[a+120>>2];h=v[d>>2];v[h+20>>2]=41;Qa[v[h>>2]](d);if(v[a+108>>2]){break d}}d=c+g|0;e=v[a+12>>2]|(e&(-1<=8){while(1){c=v[a+112>>2];v[a+112>>2]=c+1;t[c|0]=e>>>16;c=v[a+116>>2]-1|0;v[a+116>>2]=c;if(!c){g=v[a+120>>2];c=v[g+24>>2];if(!(Qa[v[c+12>>2]](g)|0)){g=v[a+120>>2];h=v[g>>2];v[h+20>>2]=25;Qa[v[h>>2]](g)}v[a+112>>2]=v[c>>2];v[a+116>>2]=v[c+4>>2]}c=d;e:{if((e&16711680)!=16711680){break e}d=v[a+112>>2];v[a+112>>2]=d+1;t[d|0]=0;d=v[a+116>>2]-1|0;v[a+116>>2]=d;if(d){break e}g=v[a+120>>2];d=v[g+24>>2];if(!(Qa[v[d+12>>2]](g)|0)){g=v[a+120>>2];h=v[g>>2];v[h+20>>2]=25;Qa[v[h>>2]](g)}v[a+112>>2]=v[d>>2];v[a+116>>2]=v[d+4>>2]}d=c-8|0;e=e<<8;if((c|0)>15){continue}break}}v[a+16>>2]=d;v[a+12>>2]=e}if(!(v[a+108>>2]|!f)){c=v[a+16>>2]+f|0;f=v[a+12>>2]|(v[a+128>>2]&(-1<=8){while(1){d=v[a+112>>2];v[a+112>>2]=d+1;t[d|0]=f>>>16;d=v[a+116>>2]-1|0;v[a+116>>2]=d;if(!d){e=v[a+120>>2];d=v[e+24>>2];if(!(Qa[v[d+12>>2]](e)|0)){e=v[a+120>>2];g=v[e>>2];v[g+20>>2]=25;Qa[v[g>>2]](e)}v[a+112>>2]=v[d>>2];v[a+116>>2]=v[d+4>>2]}d=c;f:{if((f&16711680)!=16711680){break f}c=v[a+112>>2];v[a+112>>2]=c+1;t[c|0]=0;c=v[a+116>>2]-1|0;v[a+116>>2]=c;if(c){break f}e=v[a+120>>2];c=v[e+24>>2];if(!(Qa[v[c+12>>2]](e)|0)){e=v[a+120>>2];g=v[e>>2];v[g+20>>2]=25;Qa[v[g>>2]](e)}v[a+112>>2]=v[c>>2];v[a+116>>2]=v[c+4>>2]}c=d-8|0;f=f<<8;if((d|0)>15){continue}break}}v[a+16>>2]=c;v[a+12>>2]=f}v[a+128>>2]=0;g:{if(v[a+108>>2]){break g}g=v[a+132>>2];if(!g){break g}d=v[a+136>>2];f=0;while(1){if(!f){e=v[a+16>>2];f=v[a+12>>2]|(t[d|0]&1)<<23-e;c=e+1|0;if((e|0)>=7){while(1){e=v[a+112>>2];v[a+112>>2]=e+1;t[e|0]=f>>>16;e=v[a+116>>2]-1|0;v[a+116>>2]=e;if(!e){h=v[a+120>>2];e=v[h+24>>2];if(!(Qa[v[e+12>>2]](h)|0)){h=v[a+120>>2];i=v[h>>2];v[i+20>>2]=25;Qa[v[i>>2]](h)}v[a+112>>2]=v[e>>2];v[a+116>>2]=v[e+4>>2]}e=c;h:{if((f&16711680)!=16711680){break h}c=v[a+112>>2];v[a+112>>2]=c+1;t[c|0]=0;c=v[a+116>>2]-1|0;v[a+116>>2]=c;if(c){break h}h=v[a+120>>2];c=v[h+24>>2];if(!(Qa[v[c+12>>2]](h)|0)){h=v[a+120>>2];i=v[h>>2];v[i+20>>2]=25;Qa[v[i>>2]](h)}v[a+112>>2]=v[c>>2];v[a+116>>2]=v[c+4>>2]}c=e-8|0;f=f<<8;if((e|0)>15){continue}break}}v[a+16>>2]=c;v[a+12>>2]=f}g=g-1|0;if(!g){break g}d=d+1|0;f=v[a+108>>2];continue}}v[a+132>>2]=0}i:{if(v[a+108>>2]){break i}GW(a);c=v[a+112>>2];v[a+112>>2]=c+1;t[c|0]=255;c=v[a+116>>2]-1|0;v[a+116>>2]=c;j:{if(c){f=v[a+112>>2];break j}f=v[a+120>>2];c=v[f+24>>2];if(!(Qa[v[c+12>>2]](f)|0)){f=v[a+120>>2];d=v[f>>2];v[d+20>>2]=25;Qa[v[d>>2]](f)}f=v[c>>2];v[a+116>>2]=v[c+4>>2]}v[a+112>>2]=f+1;t[f|0]=b-48;b=v[a+116>>2]-1|0;v[a+116>>2]=b;if(b){break i}c=v[a+120>>2];b=v[c+24>>2];if(!(Qa[v[b+12>>2]](c)|0)){c=v[a+120>>2];f=v[c>>2];v[f+20>>2]=25;Qa[v[f>>2]](c)}v[a+112>>2]=v[b>>2];v[a+116>>2]=v[b+4>>2]}b=v[a+120>>2];k:{if(!v[b+360>>2]){if(v[b+288>>2]<1){break k}f=0;while(1){v[((f<<2)+a|0)+20>>2]=0;f=f+1|0;if((f|0)>2]){continue}break}break k}v[a+128>>2]=0;v[a+132>>2]=0}}function jx(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=Ma-16|0;Ma=i;d=v[a+12>>2];a:{if(!(d&64)){g=Ma+-64|0;Ma=g;b:{c:{d:{if(!v[a+8>>2]){d=v[a+628>>2];v[g>>2]=v[a>>2];wb(d,82688,15775,g);break d}d=v[a+12>>2];if(d>>>10&1){wb(v[a+628>>2],v[a>>2],20796,0);d=0;break b}e=v[a+40>>2];if(!(e&2)){d=v[a+628>>2];v[g+16>>2]=v[a>>2];wb(d,82688,23260,g+16|0);break d}e=e&1048576;if(x[a+98>>1]==1){if(e){break c}u[a+138>>1]=1;break c}if(e){break c}d=v[a+628>>2];v[g+48>>2]=v[a>>2];wb(d,82688,25483,g+48|0)}d=0;break b}e=a;e:{if(!v[a+184>>2]){d=v[a+40>>2];h=a;f:{if(w[a+13|0]&4){f=x[a+98>>1];if(!(v[a+60>>2]|!(d&4))){break f}f=UN(a);break f}f=x[a+98>>1];if(!(v[a+60>>2]|!(d&131072))){break f}f=wO(a)}d=f;v[h+180>>2]=d;v[a+176>>2]=d;if(x[a+138>>1]==2){v[a+176>>2]=(d>>>0)/x[a+98>>1]}j=a,k=gb(d<<2),v[j+184>>2]=k;f=gb(v[a+180>>2]<<2);v[a+188>>2]=f;d=0;h=v[a+184>>2];if(!(!h|!f)){Hf(h,0,v[a+180>>2]<<2);Hf(v[a+188>>2],0,v[a+180>>2]<<2);v[a+40>>2]=v[a+40>>2]|50331648;d=1}if(!d){break e}d=v[a+12>>2]}if(d&1024){d=$k(a)}else{d=-1}v[e+508>>2]=d;j=a,k=Gi(a),v[j+588>>2]=k;v[a+12>>2]=v[a+12>>2]|64;d=1;break b}v[a+180>>2]=0;d=v[a+628>>2];e=v[a+12>>2];v[g+32>>2]=v[a>>2];v[g+36>>2]=e&1024?28640:29986;wb(d,82688,26601,g+32|0);d=0}Ma=g- -64|0;if(!d){f=-1;break a}d=v[a+12>>2]}if(!(v[a+596>>2]?d&16:0)){f=-1;d=Ma-16|0;Ma=d;e=v[a+596>>2];if(e){if(w[a+13|0]&2){$a(e);v[a+12>>2]=v[a+12>>2]&-513}v[a+596>>2]=0}if(w[a+13|0]&4){e=v[a+508>>2]}else{e=yr(a)}g=(e|0)>8192?e:8192;e=gb(g);g:{if(!e){e=v[a+628>>2];v[d>>2]=v[a>>2];wb(e,82720,31484,d);e=0;break g}h=v[a+12>>2]|512;v[a+608>>2]=0;v[a+600>>2]=g;v[a+596>>2]=e;v[a+604>>2]=e;v[a+12>>2]=h|16;e=1}Ma=d+16|0;if(!e){break a}}f=x[a+138>>1];h:{i:{j:{d=v[a+60>>2];if(d>>>0<=c>>>0){if((f|0)!=2){break j}wb(v[a+628>>2],v[a>>2],1532,0);f=-1;break a}d=c>>>0>=d>>>0;e=d;if((f|0)!=2){break i}e=x[a+98>>1];if(!e){b=v[a>>2];a=v[a+628>>2];v[i+4>>2]=e;v[i>>2]=0;wb(a,b,6024,i);f=-1;break a}e=(c>>>0)/y[a+100>>2]|0;break h}v[a+60>>2]=c+1;e=c>>>0>=d>>>0}d=e;e=(c>>>0)/y[a+100>>2]|0}k:{if(e>>>0>2]){break k}g=Ma-16|0;Ma=g;l:{if(x[a+138>>1]==1){f=ph(v[a+184>>2],(v[a+180>>2]<<2)+4|0);h=ph(v[a+188>>2],(v[a+180>>2]<<2)+4|0);m:{if(!(h?f:0)){if(f){$a(f)}if(h){$a(h)}v[a+180>>2]=0;f=v[a+628>>2];v[g>>2]=v[a>>2];wb(f,82688,35660,g);f=0;break m}v[a+188>>2]=h;v[a+184>>2]=f;Hf(f+(v[a+180>>2]<<2)|0,0,4);Hf(v[a+188>>2]+(v[a+180>>2]<<2)|0,0,4);v[a+180>>2]=v[a+180>>2]+1;f=1}Ma=g+16|0;break l}O(33660,34991,594,82741);L()}if(f){break k}f=-1;break a}if((e|0)!=v[a+480>>2]){f=-1;g=0;h=v[a+12>>2];n:{if(!(h&64)){break n}if(h&4096){v[a+12>>2]=h&-4097;if(!(Qa[v[a+536>>2]](a)|0)){break n}}g=Xd(a)}if(!g){break a}v[a+480>>2]=e;g=v[a+176>>2];o:{if(!(e>>>0>=g>>>0&d)){d=v[a+100>>2];break o}g=0;h=v[a+60>>2];d=v[a+100>>2];if(h>>>0<0-d>>>0){g=((d+h|0)-1>>>0)/(d>>>0)|0}v[a+176>>2]=g}v[a+472>>2]=B((e>>>0)%(g>>>0)|0,d);if(!(w[a+12|0]&32)){if(!(Qa[v[a+524>>2]](a)|0)){break a}v[a+12>>2]=v[a+12>>2]|32}v[a+608>>2]=0;v[a+604>>2]=v[a+596>>2];d=v[a+188>>2]+(e<<2)|0;if(v[d>>2]){v[d>>2]=0;v[a+484>>2]=0}if(!(Qa[v[a+532>>2]](a,0)|0)){break a}v[a+12>>2]=v[a+12>>2]|4096}f=v[a+472>>2];if((f|0)!=(c|0)){if(c>>>0>>0){v[a+604>>2]=v[a+596>>2];f=B(v[a+100>>2],(e>>>0)%y[a+176>>2]|0);v[a+472>>2]=f}if(!(Qa[v[a+568>>2]](a,c-f|0)|0)){f=-1;break a}v[a+472>>2]=c}Qa[v[a+652>>2]](a,b,v[a+588>>2]);f=Qa[v[a+544>>2]](a,b,v[a+588>>2],0)|0;v[a+472>>2]=c+1}Ma=i+16|0;return f}function pU(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{b:{k=_F(a,b);c:{if((k|0)==9999){break c}b=0;if((k|0)>=1){b=v[a+3524>>2];while(1){g=a;d:{if(b){h=v[a+3520>>2];b=b-1|0;break d}b=v[a+4>>2];h=Qa[v[v[b>>2]+28>>2]](b)|0;e:{if((h|0)!=255){if((h|0)!=-1){break e}break a}while(1){b=v[a+4>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==255){continue}break}j=273383;if(b){break b}}v[a+3520>>2]=h;b=7}v[g+3524>>2]=b;f=h>>>b&1|f<<1;i=i+1|0;if((k|0)!=(i|0)){continue}break}h=0;b=(1<(f|0)?(-1<>2]+b|0;v[d>>2]=b;v[e>>2]=b;eb(e+4|0,0,252);n=1;while(1){b=v[a+3524>>2];i=0;h=0;while(1){d=a;f:{if(b){f=v[a+3520>>2];b=b-1|0;break f}b=v[a+4>>2];f=Qa[v[v[b>>2]+28>>2]](b)|0;g:{if((f|0)!=255){if((f|0)!=-1){break g}break a}while(1){b=v[a+4>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==255){continue}break}j=273383;if(b){break b}}v[a+3520>>2]=f;b=7}v[d+3524>>2]=b;i=f>>>b&1|i<<1&131070;d=i&65535;h=h+1|0;g=(h<<1)+c|0;j=x[g+18>>1];if(d>>>0>>0){j=257880;break b}k=x[g+52>>1];g=d-j|0;if((k|0)<=(g|0)){j=257880;if((h|0)!=16){continue}break b}break}i=0;d=0;g=w[((w[c+h|0]+(g&65535)|0)+c|0)+86|0];k=0;h:{if((g|0)!=240){break h}i:{while(1){k=a;j:{if(b){f=v[a+3520>>2];b=b-1|0;break j}b=v[a+4>>2];f=Qa[v[v[b>>2]+28>>2]](b)|0;k:{if((f|0)!=255){if((f|0)!=-1){break k}break a}while(1){b=v[a+4>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==255){continue}break}j=273383;if(b){break b}}v[a+3520>>2]=f;b=7}v[k+3524>>2]=b;d=f>>>b&1|d<<1&131070;g=d&65535;i=i+1|0;h=(i<<1)+c|0;j=x[h+18>>1];if(g>>>0>>0){j=257880;break b}g=g-j|0;if((g|0)>1]){break i}if((i|0)!=16){continue}break}j=257880;break b}h=0;l=0;g=w[((w[c+i|0]+(g&65535)|0)+c|0)+86|0];k=16;if((g|0)!=240){break h}l:{while(1){d=a;m:{if(b){f=v[a+3520>>2];b=b-1|0;break m}b=v[a+4>>2];f=Qa[v[v[b>>2]+28>>2]](b)|0;n:{if((f|0)!=255){if((f|0)!=-1){break n}break a}while(1){b=v[a+4>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==255){continue}break}j=273383;if(b){break b}}v[a+3520>>2]=f;b=7}v[d+3524>>2]=b;h=f>>>b&1|h<<1&131070;d=h&65535;l=l+1|0;g=(l<<1)+c|0;i=x[g+18>>1];if(d>>>0>>0){j=257880;break b}d=d-i|0;if((d|0)>1]){break l}if((l|0)!=16){continue}break}j=257880;break b}h=0;i=0;g=w[((w[c+l|0]+(d&65535)|0)+c|0)+86|0];k=32;if((g|0)!=240){break h}o:{while(1){d=a;p:{if(b){f=v[a+3520>>2];b=b-1|0;break p}b=v[a+4>>2];f=Qa[v[v[b>>2]+28>>2]](b)|0;q:{if((f|0)!=255){if((f|0)!=-1){break q}break a}while(1){b=v[a+4>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==255){continue}break}j=273383;if(b){break b}}v[a+3520>>2]=f;b=7}v[d+3524>>2]=b;h=f>>>b&1|h<<1&131070;d=h&65535;i=i+1|0;g=(i<<1)+c|0;j=x[g+18>>1];if(d>>>0>>0){j=257880;break b}d=d-j|0;if((d|0)>1]){break o}if((i|0)!=16){continue}break}j=257880;break b}g=w[((w[c+i|0]+(d&65535)|0)+c|0)+86|0];k=48}h=1;m=g&255;if(!m){break c}h=0;g=0;i=0;l=m&15;if(l){while(1){d=a;if(b){b=b-1|0}else{b=v[a+4>>2];f=Qa[v[v[b>>2]+28>>2]](b)|0;r:{if((f|0)!=255){if((f|0)!=-1){break r}break a}while(1){b=v[a+4>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==255){continue}break}j=273383;if(b){break b}}v[a+3520>>2]=f;b=7}v[d+3524>>2]=b;i=f>>>b&1|i<<1;g=g+1|0;if((l|0)!=(g|0)){continue}break}}d=(1<(i|0)?(-1<>>4)+n|0;if((b|0)>63){break c}v[(v[(b<<2)+957984>>2]<<2)+e>>2]=d;n=b+1|0;if((b|0)!=63){continue}break}}return h}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,j,0);return 0}return 0}function m5(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;k=Ma-(((b<<3)+8&1073741808)<<2)|0;a:{if((b|0)<2){break a}j=c<<1;n=B(1-d|0,c);l=(b-d|0)+1>>1;i=d?l:b-l|0;b:{if((i|0)<1){break b}if((i|0)!=1){m=i&-2;while(1){f=(B(g,j)+n<<2)+a|0;h=v[f+4>>2];e=(g<<6)+k|0;v[e>>2]=v[f>>2];v[e+4>>2]=h;h=v[f+60>>2];v[e+56>>2]=v[f+56>>2];v[e+60>>2]=h;h=v[f+52>>2];v[e+48>>2]=v[f+48>>2];v[e+52>>2]=h;h=v[f+44>>2];v[e+40>>2]=v[f+40>>2];v[e+44>>2]=h;h=v[f+36>>2];v[e+32>>2]=v[f+32>>2];v[e+36>>2]=h;h=v[f+28>>2];v[e+24>>2]=v[f+24>>2];v[e+28>>2]=h;h=v[f+20>>2];v[e+16>>2]=v[f+16>>2];v[e+20>>2]=h;h=v[f+12>>2];v[e+8>>2]=v[f+8>>2];v[e+12>>2]=h;f=g|1;e=(f<<6)+k|0;f=(B(f,j)+n<<2)+a|0;h=v[f+60>>2];v[e+56>>2]=v[f+56>>2];v[e+60>>2]=h;h=v[f+52>>2];v[e+48>>2]=v[f+48>>2];v[e+52>>2]=h;h=v[f+44>>2];v[e+40>>2]=v[f+40>>2];v[e+44>>2]=h;h=v[f+36>>2];v[e+32>>2]=v[f+32>>2];v[e+36>>2]=h;h=v[f+28>>2];v[e+24>>2]=v[f+24>>2];v[e+28>>2]=h;h=v[f+20>>2];v[e+16>>2]=v[f+16>>2];v[e+20>>2]=h;h=v[f+12>>2];v[e+8>>2]=v[f+8>>2];v[e+12>>2]=h;h=v[f+4>>2];v[e>>2]=v[f>>2];v[e+4>>2]=h;g=g+2|0;m=m-2|0;if(m){continue}break}}if(!(i&1)){break b}f=(g<<6)+k|0;e=f;g=(B(g,j)+n<<2)+a|0;m=v[g+4>>2];v[e>>2]=v[g>>2];v[e+4>>2]=m;e=v[g+60>>2];v[f+56>>2]=v[g+56>>2];v[f+60>>2]=e;e=v[g+52>>2];v[f+48>>2]=v[g+48>>2];v[f+52>>2]=e;e=v[g+44>>2];v[f+40>>2]=v[g+40>>2];v[f+44>>2]=e;e=v[g+36>>2];v[f+32>>2]=v[g+32>>2];v[f+36>>2]=e;e=v[g+28>>2];v[f+24>>2]=v[g+24>>2];v[f+28>>2]=e;e=v[g+20>>2];v[f+16>>2]=v[g+16>>2];v[f+20>>2]=e;e=v[g+12>>2];v[f+8>>2]=v[g+8>>2];v[f+12>>2]=e}g=(b-!d|0)-i|0;if((g|0)>=1){b=(n<<2)+a|0;d=(B(2-d|0,c)<<2)+a|0;while(1){v[b>>2]=v[d>>2];v[b+4>>2]=v[d+4>>2];v[b+8>>2]=v[d+8>>2];v[b+12>>2]=v[d+12>>2];v[b+16>>2]=v[d+16>>2];v[b+20>>2]=v[d+20>>2];v[b+24>>2]=v[d+24>>2];v[b+28>>2]=v[d+28>>2];v[b+32>>2]=v[d+32>>2];v[b+36>>2]=v[d+36>>2];v[b+40>>2]=v[d+40>>2];v[b+44>>2]=v[d+44>>2];v[b+48>>2]=v[d+48>>2];v[b+52>>2]=v[d+52>>2];v[b+56>>2]=v[d+56>>2];v[b+60>>2]=v[d+60>>2];d=(j<<2)+d|0;b=(c<<2)+b|0;f=(g|0)>1;g=g-1|0;if(f){continue}break}}if((i|0)<1){break a}g=0;if((i|0)!=1){f=i&-2;while(1){b=(g<<6)+k|0;j=v[b+4>>2];d=(B(g+l|0,c)<<2)+a|0;e=d;v[e>>2]=v[b>>2];v[e+4>>2]=j;e=v[b+60>>2];v[d+56>>2]=v[b+56>>2];v[d+60>>2]=e;e=v[b+52>>2];v[d+48>>2]=v[b+48>>2];v[d+52>>2]=e;e=v[b+44>>2];v[d+40>>2]=v[b+40>>2];v[d+44>>2]=e;e=v[b+36>>2];v[d+32>>2]=v[b+32>>2];v[d+36>>2]=e;e=v[b+28>>2];v[d+24>>2]=v[b+24>>2];v[d+28>>2]=e;e=v[b+20>>2];v[d+16>>2]=v[b+16>>2];v[d+20>>2]=e;e=v[b+12>>2];v[d+8>>2]=v[b+8>>2];v[d+12>>2]=e;b=g|1;d=(B(b+l|0,c)<<2)+a|0;e=d;b=(b<<6)+k|0;j=v[b+60>>2];v[e+56>>2]=v[b+56>>2];v[e+60>>2]=j;e=v[b+52>>2];v[d+48>>2]=v[b+48>>2];v[d+52>>2]=e;e=v[b+44>>2];v[d+40>>2]=v[b+40>>2];v[d+44>>2]=e;e=v[b+36>>2];v[d+32>>2]=v[b+32>>2];v[d+36>>2]=e;e=v[b+28>>2];v[d+24>>2]=v[b+24>>2];v[d+28>>2]=e;e=v[b+20>>2];v[d+16>>2]=v[b+16>>2];v[d+20>>2]=e;e=v[b+12>>2];v[d+8>>2]=v[b+8>>2];v[d+12>>2]=e;e=v[b+4>>2];v[d>>2]=v[b>>2];v[d+4>>2]=e;g=g+2|0;f=f-2|0;if(f){continue}break}}if(!(i&1)){break a}b=(B(g+l|0,c)<<2)+a|0;a=(g<<6)+k|0;d=v[a+4>>2];v[b>>2]=v[a>>2];v[b+4>>2]=d;c=v[a+60>>2];v[b+56>>2]=v[a+56>>2];v[b+60>>2]=c;c=v[a+52>>2];v[b+48>>2]=v[a+48>>2];v[b+52>>2]=c;c=v[a+44>>2];v[b+40>>2]=v[a+40>>2];v[b+44>>2]=c;c=v[a+36>>2];v[b+32>>2]=v[a+32>>2];v[b+36>>2]=c;c=v[a+28>>2];v[b+24>>2]=v[a+24>>2];v[b+28>>2]=c;c=v[a+20>>2];v[b+16>>2]=v[a+16>>2];v[b+20>>2]=c;c=v[a+12>>2];v[b+8>>2]=v[a+8>>2];v[b+12>>2]=c}}function i5(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=(b-d|0)+1|0;k=h>>1;l=Ma-(((b<<3)+8&1073741808)<<2)|0;a:{if((h|0)<2){break a}e=(k-((k|0)<1?k:1)|0)+1|0;m=e&1;if((h|0)>=4){j=e&-2;while(1){e=(B(c,g)<<2)+a|0;i=v[e+4>>2];f=(g<<6)+l|0;v[f>>2]=v[e>>2];v[f+4>>2]=i;i=v[e+60>>2];v[f+56>>2]=v[e+56>>2];v[f+60>>2]=i;i=v[e+52>>2];v[f+48>>2]=v[e+48>>2];v[f+52>>2]=i;i=v[e+44>>2];v[f+40>>2]=v[e+40>>2];v[f+44>>2]=i;i=v[e+36>>2];v[f+32>>2]=v[e+32>>2];v[f+36>>2]=i;i=v[e+28>>2];v[f+24>>2]=v[e+24>>2];v[f+28>>2]=i;i=v[e+20>>2];v[f+16>>2]=v[e+16>>2];v[f+20>>2]=i;i=v[e+12>>2];v[f+8>>2]=v[e+8>>2];v[f+12>>2]=i;e=g|1;f=(e<<6)+l|0;e=(B(c,e)<<2)+a|0;i=v[e+60>>2];v[f+56>>2]=v[e+56>>2];v[f+60>>2]=i;i=v[e+52>>2];v[f+48>>2]=v[e+48>>2];v[f+52>>2]=i;i=v[e+44>>2];v[f+40>>2]=v[e+40>>2];v[f+44>>2]=i;i=v[e+36>>2];v[f+32>>2]=v[e+32>>2];v[f+36>>2]=i;i=v[e+28>>2];v[f+24>>2]=v[e+24>>2];v[f+28>>2]=i;i=v[e+20>>2];v[f+16>>2]=v[e+16>>2];v[f+20>>2]=i;i=v[e+12>>2];v[f+8>>2]=v[e+8>>2];v[f+12>>2]=i;i=v[e+4>>2];v[f>>2]=v[e>>2];v[f+4>>2]=i;g=g+2|0;j=j-2|0;if(j){continue}break}}if(!m){break a}e=(g<<6)+l|0;g=(B(c,g)<<2)+a|0;j=v[g+4>>2];v[e>>2]=v[g>>2];v[e+4>>2]=j;f=v[g+60>>2];v[e+56>>2]=v[g+56>>2];v[e+60>>2]=f;f=v[g+52>>2];v[e+48>>2]=v[g+48>>2];v[e+52>>2]=f;f=v[g+44>>2];v[e+40>>2]=v[g+40>>2];v[e+44>>2]=f;f=v[g+36>>2];v[e+32>>2]=v[g+32>>2];v[e+36>>2]=f;f=v[g+28>>2];v[e+24>>2]=v[g+24>>2];v[e+28>>2]=f;f=v[g+20>>2];v[e+16>>2]=v[g+16>>2];v[e+20>>2]=f;f=v[g+12>>2];v[e+8>>2]=v[g+8>>2];v[e+12>>2]=f}f=c<<1;g=b-k|0;if((g|0)>=1){b=(B(c,k)<<2)+a|0;e=(B(1-d|0,c)<<2)+a|0;while(1){v[e>>2]=v[b>>2];v[e+4>>2]=v[b+4>>2];v[e+8>>2]=v[b+8>>2];v[e+12>>2]=v[b+12>>2];v[e+16>>2]=v[b+16>>2];v[e+20>>2]=v[b+20>>2];v[e+24>>2]=v[b+24>>2];v[e+28>>2]=v[b+28>>2];v[e+32>>2]=v[b+32>>2];v[e+36>>2]=v[b+36>>2];v[e+40>>2]=v[b+40>>2];v[e+44>>2]=v[b+44>>2];v[e+48>>2]=v[b+48>>2];v[e+52>>2]=v[b+52>>2];v[e+56>>2]=v[b+56>>2];v[e+60>>2]=v[b+60>>2];b=(c<<2)+b|0;e=(f<<2)+e|0;j=(g|0)>1;g=g-1|0;if(j){continue}break}}b:{if((h|0)<2){break b}e=B(c,d);b=(k-((k|0)<1?k:1)|0)+1|0;k=b&1;g=0;if((h|0)>=4){c=b&-2;while(1){b=(g<<6)+l|0;j=v[b+4>>2];d=(e+B(f,g)<<2)+a|0;v[d>>2]=v[b>>2];v[d+4>>2]=j;h=v[b+60>>2];v[d+56>>2]=v[b+56>>2];v[d+60>>2]=h;h=v[b+52>>2];v[d+48>>2]=v[b+48>>2];v[d+52>>2]=h;h=v[b+44>>2];v[d+40>>2]=v[b+40>>2];v[d+44>>2]=h;h=v[b+36>>2];v[d+32>>2]=v[b+32>>2];v[d+36>>2]=h;h=v[b+28>>2];v[d+24>>2]=v[b+24>>2];v[d+28>>2]=h;h=v[b+20>>2];v[d+16>>2]=v[b+16>>2];v[d+20>>2]=h;h=v[b+12>>2];v[d+8>>2]=v[b+8>>2];v[d+12>>2]=h;b=g|1;d=(e+B(b,f)<<2)+a|0;b=(b<<6)+l|0;j=v[b+60>>2];v[d+56>>2]=v[b+56>>2];v[d+60>>2]=j;h=v[b+52>>2];v[d+48>>2]=v[b+48>>2];v[d+52>>2]=h;h=v[b+44>>2];v[d+40>>2]=v[b+40>>2];v[d+44>>2]=h;h=v[b+36>>2];v[d+32>>2]=v[b+32>>2];v[d+36>>2]=h;h=v[b+28>>2];v[d+24>>2]=v[b+24>>2];v[d+28>>2]=h;h=v[b+20>>2];v[d+16>>2]=v[b+16>>2];v[d+20>>2]=h;h=v[b+12>>2];v[d+8>>2]=v[b+8>>2];v[d+12>>2]=h;h=v[b+4>>2];v[d>>2]=v[b>>2];v[d+4>>2]=h;g=g+2|0;c=c-2|0;if(c){continue}break}}if(!k){break b}b=(e+B(f,g)<<2)+a|0;a=(g<<6)+l|0;d=v[a+4>>2];v[b>>2]=v[a>>2];v[b+4>>2]=d;c=v[a+60>>2];v[b+56>>2]=v[a+56>>2];v[b+60>>2]=c;c=v[a+52>>2];v[b+48>>2]=v[a+48>>2];v[b+52>>2]=c;c=v[a+44>>2];v[b+40>>2]=v[a+40>>2];v[b+44>>2]=c;c=v[a+36>>2];v[b+32>>2]=v[a+32>>2];v[b+36>>2]=c;c=v[a+28>>2];v[b+24>>2]=v[a+24>>2];v[b+28>>2]=c;c=v[a+20>>2];v[b+16>>2]=v[a+16>>2];v[b+20>>2]=c;c=v[a+12>>2];v[b+8>>2]=v[a+8>>2];v[b+12>>2]=c}}function iC(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=v[b+88>>2];j=v[g+40>>2];i=v[g+36>>2];t[a+2306|0]=e;t[a+2305|0]=c;t[a+2304|0]=d;v[a+2292>>2]=0;v[a+2296>>2]=0;b=w[g+45|0];f=w[g+44|0];a:{if((f|0)==(c|0)){break a}h=(b|0)==3?8:f;b:{c:{d:{if((e|0)==1){e:{switch(h-1|0){case 1:e=655;f:{switch(c-4|0){case 4:e=656;break b;case 0:break b;case 12:break f;default:break a}}e=657;break b;case 3:e=658;g:{switch(c-8|0){case 8:break g;case 0:break b;default:break a}}e=659;break b;case 0:break d;case 7:break e;default:break a}}e=660;if((c|0)==16){break b}break a}h:{switch(h-1|0){case 1:e=661;i:{switch(c-4|0){case 4:e=662;break b;case 12:break i;case 0:break b;default:break a}}e=663;break b;case 3:e=664;j:{switch(c-8|0){case 8:break j;case 0:break b;default:break a}}e=665;break b;case 7:break h;case 0:break c;default:break a}}e=666;if((c|0)==16){break b}break a}e=C3a(c-2|0,31);if(e>>>0>=8|!(139>>>e&1)){break a}e=v[(e<<2)+190124>>2];break b}e=C3a(c-2|0,31);if(e>>>0>=8|!(139>>>e&1)){break a}e=v[(e<<2)+190156>>2]}v[a+2296>>2]=e}e=a+2292|0;k:{l:{m:{n:{if(!((b|d)&255)){b=0;if(f>>>0<=8){b=(c|0)==16?667:668;v[e>>2]=b}e=(c|0)==16?2:1;break n}if(!((d|0)!=4|b)){b=(c|0)==16;v[e>>2]=f>>>0<9?b?669:670:671;e=b?4:2;break m}if(!((d|0)!=2|b)){b=(c|0)==16;v[e>>2]=f>>>0<9?b?672:673:674;e=b?6:3;break m}if(!((d|0)!=6|b)){b=(c|0)==16;v[e>>2]=f>>>0<9?b?675:676:677;e=b?8:4;break m}h=(b|0)!=4;if(!(h|(d|0)!=4)){b=0;if(!((c|0)!=16|f>>>0>8)){v[e>>2]=678;b=678}e=(c|0)==16?4:2;break n}if(!((d|0)!=6|h)){b=(c|0)==16;v[e>>2]=f>>>0<9?b?679:680:681;e=b?8:4;break m}h=(b|0)!=2;if(!(h|(d|0)!=2)){b=0;if(!((c|0)!=16|f>>>0>8)){v[e>>2]=682;b=682}e=(c|0)==16?6:3;break n}if(!((d|0)!=6|h)){b=(c|0)==16;v[e>>2]=f>>>0<9?b?683:684:685;e=b?8:4;break m}h=(b|0)!=3;if(!(h|(d|0)!=2)){b=(c|0)==16;v[e>>2]=b?686:687;e=b?6:3;break m}if(!((d|0)!=6|h)){b=(c|0)==16;v[e>>2]=b?688:689;e=b?8:4;break m}if(!((b|0)!=6|(d|0)!=6)){b=0;if(!((c|0)!=16|f>>>0>8)){v[e>>2]=690;b=690}e=(c|0)==16?8:4;break n}if(!((b|0)!=8|(d|0)!=8)){b=0;if(f>>>0<=8){b=(c|0)==16?667:668;v[e>>2]=b}e=(c|0)==16?2:1;break n}if(!((b|0)!=8|(d|0)!=12)){b=(c|0)==16;v[e>>2]=f>>>0<9?b?669:670:671;e=b?4:2;break m}if(!((b|0)!=8|(d|0)!=10)){b=(c|0)==16;v[e>>2]=f>>>0<9?b?672:673:674;e=b?6:3;break m}if(!((b|0)!=8|(d|0)!=14)){b=(c|0)==16;v[e>>2]=f>>>0<9?b?675:676:677;e=b?8:4;break m}if(!((b|0)!=12|(d|0)!=12)){b=0;if(!((c|0)!=16|f>>>0>8)){v[e>>2]=678;b=678}e=(c|0)==16?4:2;break n}if(!((b|0)!=12|(d|0)!=14)){b=(c|0)==16;v[e>>2]=f>>>0<9?b?679:680:681;e=b?8:4;break m}if(!((b|0)!=10|(d|0)!=10)){b=0;if(!((c|0)!=16|f>>>0>8)){v[e>>2]=682;b=682}e=(c|0)==16?6:3;break n}if(!((b|0)!=10|(d|0)!=14)){b=(c|0)==16;v[e>>2]=f>>>0<9?b?683:684:685;e=b?8:4;break m}if((b|0)!=14|(d|0)!=14){break l}b=0;if(!((c|0)!=16|f>>>0>8)){v[e>>2]=690;b=690}e=(c|0)==16?8:4}if(!b){break l}}v[a+2308>>2]=i;v[a+2300>>2]=g;h=B(e,i);l=B(h,j);k=Qa[v[a+152>>2]](l)|0;if(!k){ob(a,1,0,0);return 1}i=v[g+1176>>2];v[a+2316>>2]=k;v[a+2312>>2]=i;b=0;if(j){i=0;while(1){o:{b=Qa[v[a+2292>>2]](a)|0;v[a+2312>>2]=v[a+2312>>2]+v[g+1168>>2];v[a+2316>>2]=h+v[a+2316>>2];if(b){break o}i=i+1|0;if(j>>>0>i>>>0){continue}}break}i=v[g+1176>>2];f=!b}else{f=1}if(i){Qa[v[a+156>>2]](i,v[g+1172>>2])}v[g+1176>>2]=k;v[g+1172>>2]=l;v[g+1168>>2]=h;v[g+1164>>2]=e;t[g+45|0]=d;t[g+44|0]=c;v[g+64>>2]=0;v[g+844>>2]=0;t[g+55|0]=0;t[g+56|0]=0;if(!f){break k}}b=0}return b}function lV(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;f=Ma-1040|0;Ma=f;v[f+1024>>2]=13;v[a+4>>2]=b;v[a+792>>2]=1;v[a>>2]=d;eb(a+20|0,0,256);j=-1<<((b|0)>8?8:b);h=j^-1;Qa[v[v[d>>2]+36>>2]](d,f+768|0,f+512|0,h);a:{b:{c:{d:{e:{f:{g:{switch(v[c>>2]-5|0){case 0:b=v[a>>2];e=Qa[v[v[b>>2]+28>>2]](b)|0;v[a+8>>2]=e;if((e|0)<1){break c}c=0;if((e|0)!=1){b=e&-2;i=a+280|0;m=a+536|0;while(1){d=c<<3;A[d+i>>3]=A[d+(f+768|0)>>3];A[d+m>>3]=A[d+(f+512|0)>>3];d=d|8;A[d+i>>3]=A[d+(f+768|0)>>3];A[d+m>>3]=A[d+(f+512|0)>>3];c=c+2|0;b=b-2|0;if(b){continue}break}}if(!(e&1)){break f}b=c<<3;c=b+a|0;A[c+280>>3]=A[b+(f+768|0)>>3];A[c+536>>3]=A[b+(f+512|0)>>3];break f;case 1:break g;default:break d}}b=v[v[c+8>>2]+12>>2]/2|0;v[a+8>>2]=b;d=v[a>>2];if((Qa[v[v[d>>2]+28>>2]](d)|0)>(b|0)){break d}b=v[a>>2];h:{if(v[a+8>>2]<=(Qa[v[v[b>>2]+28>>2]](b)|0)){d=v[a+8>>2];break h}fb(0,-1,220032,0);b=v[a>>2];d=Qa[v[v[b>>2]+28>>2]](b)|0;v[a+8>>2]=d}if((d|0)<1){break c}d=0;while(1){b=d<<1;ub(v[c+8>>2],b,f+1024|0,0);e=v[f+1024>>2];if(e-1>>>0>1){break e}i=(d<<3)+a|0;m=i;A[i+280>>3]=(e|0)==1?+v[f+1032>>2]:A[f+1032>>3];e=f+1024|0;bb(e);ub(v[c+8>>2],b|1,e,0);b=v[f+1024>>2];if(b-1>>>0>1){break e}A[i+536>>3]=((b|0)==1?+v[f+1032>>2]:A[f+1032>>3])-A[m+280>>3];bb(f+1024|0);d=d+1|0;e=v[a+8>>2];if((d|0)<(e|0)){continue}break}}c=0;b=0-j|0;n=+(h|0);if((e|0)<1){break b}j=(h|0)>0?h:0;while(1){i=Pb(b,4);v[((c<<2)+a|0)+20>>2]=i;d=c<<3;m=d+(f+512|0)|0;k=A[d+(f+768|0)>>3];d=a+d|0;p=A[d+536>>3];q=A[d+280>>3];d=0;while(1){g=k;l=q+p*+(d|0)/n;i:{if(g>l){break i}g=l;l=k+A[m>>3];if(!(g>l)){break i}g=l}o=i+(d<<2)|0;g=g*65536;j:{if(D(g)<2147483648){e=~~g;break j}e=-2147483648}v[o>>2]=e;e=(d|0)!=(j|0);d=d+1|0;if(e){continue}break}c=c+1|0;if((c|0)>2]){continue}break}break b}bb(f+1024|0)}v[a+792>>2]=0;break a}b=0-j|0;n=+(h|0)}v[a+12>>2]=0;v[a+16>>2]=0;c=v[a>>2];if((Qa[v[v[c>>2]+12>>2]](c)|0)==7){c=v[a>>2];d=v[c+12>>2];v[a+12>>2]=d;j=v[c+16>>2];r=a,s=Qa[v[v[d>>2]+28>>2]](d)|0,v[r+16>>2]=s;i=v[c+20>>2];c=v[a+12>>2];Qa[v[v[c>>2]+36>>2]](c,f+256|0,f,j);d=0;c=v[a+16>>2];if((c|0)>0){while(1){r=(d<<2)+a|0,s=Pb(b,4),v[r+148>>2]=s;c=v[a+16>>2];d=d+1|0;if((c|0)>(d|0)){continue}break}}e=0;h=(h|0)>0?h:0;g=A[a+536>>3];k=A[a+280>>3];while(1){l=k+g*+(e|0)/n+.5;k:{if(D(l)<2147483648){b=~~l;break k}b=-2147483648}if((c|0)>=1){d=0;m=(b|0)<0?0:(b|0)>(j|0)?j:b;while(1){o=v[((d<<2)+a|0)+148>>2]+(e<<2)|0;b=d<<3;l=(A[b+(f+256|0)>>3]+A[b+f>>3]*(+w[i+(B(c,m)+d|0)|0]/255))*65536;l:{if(D(l)<2147483648){b=~~l;break l}b=-2147483648}v[o>>2]=b;c=v[a+16>>2];d=d+1|0;if((c|0)>(d|0)){continue}break}}b=(e|0)==(h|0);e=e+1|0;if(!b){continue}break}break a}c=v[a>>2];if((Qa[v[v[c>>2]+12>>2]](c)|0)!=8){break a}e=v[a>>2];c=v[e+16>>2];v[a+12>>2]=c;j=Qa[v[v[c>>2]+28>>2]](c)|0;v[a+16>>2]=j;d=0;c=v[e+20>>2];if((j|0)>0){while(1){r=(d<<2)+a|0,s=Pb(b,4),v[r+148>>2]=s;d=d+1|0;if((d|0)>2]){continue}break}}e=0;h=(h|0)>0?h:0;while(1){g=A[a+280>>3]+A[a+536>>3]*+(e|0)/n;k=A[f+768>>3];m:{if(g>3];if(!(k>3]=g;Qa[v[v[c>>2]+16>>2]](c,f+256|0,f);d=0;if(v[a+16>>2]>=1){while(1){i=v[((d<<2)+a|0)+148>>2]+(e<<2)|0;g=A[(d<<3)+f>>3]*65536;n:{if(D(g)<2147483648){b=~~g;break n}b=-2147483648}v[i>>2]=b;d=d+1|0;if((d|0)>2]){continue}break}}b=(e|0)==(h|0);e=e+1|0;if(!b){continue}break}}Ma=f+1040|0;return a}function pG(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0;f=Ma-48|0;Ma=f;a:{b:{c:{d:{e=v[a+56>>2];e=Qa[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){break d}h=v[a+56>>2];h=Qa[v[v[h>>2]+28>>2]](h)|0;if((h|0)==-1){break d}g=v[a+56>>2];g=Qa[v[v[g>>2]+28>>2]](g)|0;if((g|0)==-1){break d}i=v[a+56>>2];i=Qa[v[v[i>>2]+28>>2]](i)|0;if((i|0)==-1){break d}v[a+68>>2]=v[a+68>>2]+4;j=v[a+56>>2];j=Qa[v[v[j>>2]+28>>2]](j)|0;if((j|0)==-1){break d}k=v[a+56>>2];k=Qa[v[v[k>>2]+28>>2]](k)|0;if((k|0)==-1){break d}l=v[a+56>>2];l=Qa[v[v[l>>2]+28>>2]](l)|0;if((l|0)==-1){break d}m=v[a+56>>2];m=Qa[v[v[m>>2]+28>>2]](m)|0;if((m|0)==-1){break d}v[a+68>>2]=v[a+68>>2]+4;n=v[a+56>>2];n=Qa[v[v[n>>2]+28>>2]](n)|0;if((n|0)==-1){break d}o=v[a+56>>2];o=Qa[v[v[o>>2]+28>>2]](o)|0;if((o|0)==-1){break d}p=v[a+56>>2];p=Qa[v[v[p>>2]+28>>2]](p)|0;if((p|0)==-1){break d}q=v[a+56>>2];q=Qa[v[v[q>>2]+28>>2]](q)|0;if((q|0)==-1){break d}v[a+68>>2]=v[a+68>>2]+4;r=v[a+56>>2];r=Qa[v[v[r>>2]+28>>2]](r)|0;if((r|0)==-1){break d}s=v[a+56>>2];s=Qa[v[v[s>>2]+28>>2]](s)|0;if((s|0)==-1){break d}t=v[a+56>>2];t=Qa[v[v[t>>2]+28>>2]](t)|0;if((t|0)==-1){break d}u=v[a+56>>2];u=Qa[v[v[u>>2]+28>>2]](u)|0;if((u|0)==-1){break d}v[a+68>>2]=v[a+68>>2]+4;w=v[a+56>>2];w=Qa[v[v[w>>2]+28>>2]](w)|0;if((w|0)==-1){break d}v[a+68>>2]=v[a+68>>2]+1;e:{i=i|(h<<16|e<<24|g<<8);if(i){h=m|(k<<16|j<<24|l<<8);if(h){break e}}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,230156,0);break a}f:{e=v[a+24>>2];g:{if(e>>>0<(i>>>0)/10>>>0){break g}j=u|(s<<16|r<<24|t<<8);g=v[a+28>>2];k=q|(o<<16|n<<24|p<<8);if(g>>>0<(h>>>0)/10>>>0|(k>>>0)/10>>>0>e>>>0){break g}if(g>>>0>=(j>>>0)/10>>>0){break f}}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,230103,0);v[a+72>>2]=1;break a}e=v[a+56>>2];e=Qa[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){break d}v[a+68>>2]=v[a+68>>2]+1;l=e>>>3&1;g=e>>>1&3;if(e&1){break c}e=v[a+56>>2];e=Qa[v[v[e>>2]+28>>2]](e)|0;h:{if(!g){if((e|0)==-1){break d}v[a+68>>2]=v[a+68>>2]+1;v[f+16>>2]=e&128?e|-256:e;e=v[a+56>>2];e=Qa[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){break d}v[a+68>>2]=v[a+68>>2]+1;v[f>>2]=e&128?e|-256:e;e=v[a+56>>2];e=Qa[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){break d}v[a+68>>2]=v[a+68>>2]+1;v[f+20>>2]=e&128?e|-256:e;e=v[a+56>>2];e=Qa[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){break d}v[a+68>>2]=v[a+68>>2]+1;v[f+4>>2]=e&128?e|-256:e;e=v[a+56>>2];e=Qa[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){break d}v[a+68>>2]=v[a+68>>2]+1;v[f+24>>2]=e&128?e|-256:e;e=v[a+56>>2];e=Qa[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){break d}v[a+68>>2]=v[a+68>>2]+1;v[f+8>>2]=e&128?e|-256:e;e=v[a+56>>2];e=Qa[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){break d}v[a+68>>2]=v[a+68>>2]+1;v[f+28>>2]=e&128?e|-256:e;e=v[a+56>>2];e=Qa[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){break d}v[a+68>>2]=v[a+68>>2]+1;v[f+12>>2]=e&128?e|-256:e;break h}if((e|0)==-1){break d}v[a+68>>2]=v[a+68>>2]+1;v[f+16>>2]=e&128?e|-256:e;e=v[a+56>>2];e=Qa[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){break d}v[a+68>>2]=v[a+68>>2]+1;v[f>>2]=e&128?e|-256:e}nG(a,g,0);km(v[a+76>>2]);e=ss(a,0,i,h,g,l,0,0,f+16|0,f,0);break b}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,258162,0);break a}e=ss(a,1,i,h,g,l,0,0,f+16|0,f,d-18|0)}if(c){b=w&7;i:{if(v[a+28>>2]!=-1){break i}c=h+j|0;if(c>>>0<=y[a+32>>2]){break i}kz(v[a+40>>2],c,v[a+36>>2])}wk(v[a+40>>2],e,k,j,b);if(e){Qa[v[v[e>>2]+4>>2]](e)}if((d|0)!=-1){break a}ts(a,f+44|0);break a}v[e+4>>2]=b;Ib(v[a+48>>2],e)}Ma=f+48|0}function u8(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=v[a+12>>2];f=g;j=v[f+584>>2];a:{b:{c:{d:{e:{f:{g:{while(1){a=v[j+3204>>2];if(a>>>0>=19){break d}b=0;h:{i:{j:{k:{l:{m:{switch(a|0){case 1:a=v[f+584>>2];b=v[a+252>>2];if(b){break l}b=0;break j;case 2:a=v[f+584>>2];c=v[a+256>>2];b=0;if(!c){break j}d=c+4|0;e=v[c>>2]-4|0;break k;case 3:a=v[f+584>>2];c=v[a+260>>2];b=0;if(!c){break j}d=c+4|0;e=v[c>>2]-4|0;break k;case 4:a=v[f+584>>2];c=v[a+264>>2];b=0;if(!c){break j}d=c+4|0;e=v[c>>2]-4|0;break k;case 5:a=v[f+584>>2];c=v[a+268>>2];b=0;if(!c){break j}d=c+4|0;e=v[c>>2]-4|0;break k;case 6:a=v[f+584>>2];c=v[a+272>>2];b=0;if(!c){break j}d=c+4|0;e=v[c>>2]-4|0;break k;case 7:a=v[f+584>>2];c=v[a+276>>2];b=0;if(!c){break j}d=c+4|0;e=v[c>>2]-4|0;break k;case 8:a=v[f+584>>2];c=v[a+280>>2];b=0;if(!c){break j}d=c+4|0;e=v[c>>2]-4|0;break k;case 9:a=v[f+584>>2];c=v[a+284>>2];b=0;if(!c){break j}d=c+4|0;e=v[c>>2]-4|0;break k;case 10:a=v[f+584>>2];c=v[a+288>>2];b=0;if(!c){break j}d=c+4|0;e=v[c>>2]-4|0;break k;case 11:a=v[f+584>>2];c=v[a+292>>2];b=0;if(!c){break j}d=c+4|0;e=v[c>>2]-4|0;break k;case 12:a=v[f+584>>2];c=v[a+296>>2];b=0;if(!c){break j}d=c+4|0;e=v[c>>2]-4|0;break k;case 13:a=v[f+584>>2];c=x[a+300>>1];b=0;if(!c){break j}v[a+3208>>2]=67165695;t[a+3213|0]=c;t[a+3212|0]=c>>>8;d=a+3208|0;e=6;b=6;break j;case 14:b=v[f+584>>2];d=w[b+194|0];e=B(d,3);if(e>>>0>=248){break c}t[b+3208|0]=255;t[b+3212|0]=8;a=0;t[b+3210|0]=0;t[b+3209|0]=w[b+304|0];t[b+3217|0]=d;f=v[b+308>>2];t[b+3216|0]=f;t[b+3211|0]=e+8;t[b+3215|0]=f>>>8;f=b+3213|0;g=x[b+312>>1];g=g<<8|g>>>8;t[f|0]=g;t[f+1|0]=g>>>8;if(d){c=w[b+193|0];while(1){f=b+B(a,3)|0;g=b+(a+c|0)|0;t[f+3218|0]=w[g+316|0];t[f+3219|0]=w[g+319|0];t[f+3220|0]=w[g+322|0];a=a+1|0;if((d|0)!=(a|0)){continue}break}}d=b+3208|0;v[b+3204>>2]=v[b+3204>>2]+1;e=e+10|0;break e;case 15:b=v[f+584>>2];d=w[b+194|0];if(d>>>0>=125){break b}u[b+3208>>1]=56063;t[b+3212|0]=d;t[b+3210|0]=0;t[b+3211|0]=(d<<1)+6;a=0;if(d){f=w[b+193|0];if((d|0)!=1){e=d&254;g=b+3208|0;c=b+325|0;k=b+328|0;while(1){h=g+(a<<1)|0;i=a+f|0;t[h+5|0]=w[i+c|0];t[h+6|0]=w[i+k|0];h=a|1;i=g+(h<<1)|0;h=f+h|0;t[i+5|0]=w[h+c|0];t[i+6|0]=w[h+k|0];a=a+2|0;e=e-2|0;if(e){continue}break}}if(d&1){e=(a<<1)+b|0;a=(a+f|0)+b|0;t[e+3213|0]=w[a+325|0];t[e+3214|0]=w[a+328|0]}a=d<<1}d=b+3208|0;e=a+b|0;t[e+3215|0]=0;e=e+3213|0;t[e|0]=0;t[e+1|0]=63;v[b+3204>>2]=v[b+3204>>2]+1;e=a+8|0;break e;case 16:a=v[f+584>>2];e=x[a+1148>>1];if(!e){if(!oj(a)){break h}e=x[a+1148>>1];if(!e){break a}}u[a+1148>>1]=0;d=v[a+1152>>2];if(v[a+1144>>2]){break e}n:{switch(v[a+1124>>2]-2|0){case 0:if(y[a+1128>>2]>2]){v[a+3204>>2]=17;break e}v[a+3204>>2]=18;break e;case 1:break n;default:break e}}v[a+3204>>2]=18;break e;case 17:a=v[f+584>>2];t[a+3208|0]=255;v[a+3204>>2]=16;d=w[a+302|0];t[a+3209|0]=d-48;d=d+1|0;t[a+302|0]=(d&255)==8?0:d;d=a+3208|0;break f;case 18:break m;case 0:break g;default:break i}}a=v[f+584>>2];u[a+3208>>1]=55807;d=a+3208|0;break f}d=b+4|0;e=v[b>>2]-4|0}b=e}v[a+3204>>2]=v[a+3204>>2]+1}if(!b){continue}break e}break}wb(v[g+628>>2],62414,62806,0);tc(v[g+584>>2]+4|0,1);L()}a=v[f+584>>2];u[a+3208>>1]=55551;v[a+3204>>2]=v[a+3204>>2]+1;d=a+3208|0}e=2}v[j+1024>>2]=d;v[j+1028>>2]=e;return 1}O(62944,7087,2057,87605);L()}O(63355,7087,2196,87622);L()}O(63754,7087,2232,87642);L()}O(43294,7087,2266,87662);L()}function Lta(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,p=0,q=0,r=0,s=0,t=0,u=0,x=0;eb(a+160|0,0,96);d=a;while(1){f=v[(g<<2)+b>>2]+c|0;j=w[f+4|0];k=w[f+5|0];e=j-k|0;l=w[f|0];n=w[f+9|0];h=l-n|0;s=e+h|0;o=w[f+2|0];t=w[f+7|0];u=o-t|0;p=w[f+1|0];q=w[f+8|0];i=p-q|0;r=w[f+3|0];x=w[f+6|0];f=r-x|0;m=i-f|0;v[d+20>>2]=s-(u+m|0)<<2;j=j+k|0;k=l+n|0;l=j+k|0;r=r+x|0;p=p+q|0;q=r+p|0;o=o+t|0;v[d>>2]=(l+(q+o|0)<<2)-5120;n=o<<1;v[d+16>>2]=(B(q-n|0,-3580)+B(l-n|0,9373)|0)+1024>>11;k=k-j|0;l=p-r|0;j=B(k+l|0,6810)+1024|0;v[d+24>>2]=j+B(l,-17828)>>11;v[d+8>>2]=j+B(k,4209)>>11;j=(B(h-e|0,7791)+B(f+i|0,-4815)|0)+1024|0;k=u<<13;m=((m<<12)-k|0)+B(m+s|0,2531)|0;v[d+28>>2]=j-m>>11;v[d+12>>2]=j+m>>11;v[d+4>>2]=(((k+(B(h,11443)+B(i,10323)|0)|0)+B(f,5260)|0)+B(e,1812)|0)+1024>>11;d=d+32|0;g=g+1|0;if((g|0)!=5){continue}break}b=v[a+128>>2];c=v[a>>2];d=b+c|0;f=v[a+96>>2];g=v[a+32>>2];e=f+g|0;h=B(d-e|0,8290)+16384|0;d=d+e|0;e=v[a+64>>2];i=B(d-(e<<2)|0,3707);v[a+128>>2]=h-i>>15;v[a+64>>2]=h+i>>15;v[a>>2]=B(d+e|0,10486)+16384>>15;d=g-f|0;c=c-b|0;b=B(d+c|0,8716)+16384|0;v[a+96>>2]=b+B(d,-22820)>>15;v[a+32>>2]=b+B(c,5387)>>15;b=v[a+100>>2];c=v[a+36>>2];d=b+c|0;f=v[a+132>>2];g=v[a+4>>2];e=f+g|0;h=d+e|0;i=v[a+68>>2];v[a+4>>2]=B(h+i|0,10486)+16384>>15;d=B(e-d|0,8290)+16384|0;e=B(h-(i<<2)|0,3707);v[a+132>>2]=d-e>>15;v[a+68>>2]=d+e>>15;c=c-b|0;d=g-f|0;b=B(c+d|0,8716)+16384|0;v[a+36>>2]=b+B(d,5387)>>15;v[a+100>>2]=b+B(c,-22820)>>15;b=v[a+136>>2];c=v[a+8>>2];d=b+c|0;f=v[a+104>>2];g=v[a+40>>2];e=f+g|0;h=B(d-e|0,8290)+16384|0;d=d+e|0;e=v[a+72>>2];i=B(d-(e<<2)|0,3707);v[a+136>>2]=h-i>>15;v[a+72>>2]=h+i>>15;v[a+8>>2]=B(d+e|0,10486)+16384>>15;d=g-f|0;c=c-b|0;b=B(d+c|0,8716)+16384|0;v[a+104>>2]=b+B(d,-22820)>>15;v[a+40>>2]=b+B(c,5387)>>15;b=v[a+140>>2];c=v[a+12>>2];d=b+c|0;f=v[a+108>>2];g=v[a+44>>2];e=f+g|0;h=B(d-e|0,8290)+16384|0;d=d+e|0;e=v[a+76>>2];i=B(d-(e<<2)|0,3707);v[a+140>>2]=h-i>>15;v[a+76>>2]=h+i>>15;v[a+12>>2]=B(d+e|0,10486)+16384>>15;d=g-f|0;c=c-b|0;b=B(d+c|0,8716)+16384|0;v[a+108>>2]=b+B(d,-22820)>>15;v[a+44>>2]=b+B(c,5387)>>15;b=v[a+144>>2];c=v[a+16>>2];d=b+c|0;f=v[a+112>>2];g=v[a+48>>2];e=f+g|0;h=B(d-e|0,8290)+16384|0;d=d+e|0;e=v[a+80>>2];i=B(d-(e<<2)|0,3707);v[a+144>>2]=h-i>>15;v[a+80>>2]=h+i>>15;v[a+16>>2]=B(d+e|0,10486)+16384>>15;d=g-f|0;c=c-b|0;b=B(d+c|0,8716)+16384|0;v[a+112>>2]=b+B(d,-22820)>>15;v[a+48>>2]=b+B(c,5387)>>15;b=v[a+148>>2];c=v[a+20>>2];d=b+c|0;f=v[a+116>>2];g=v[a+52>>2];e=f+g|0;h=B(d-e|0,8290)+16384|0;d=d+e|0;e=v[a+84>>2];i=B(d-(e<<2)|0,3707);v[a+148>>2]=h-i>>15;v[a+84>>2]=h+i>>15;v[a+20>>2]=B(d+e|0,10486)+16384>>15;d=g-f|0;c=c-b|0;b=B(d+c|0,8716)+16384|0;v[a+116>>2]=b+B(d,-22820)>>15;v[a+52>>2]=b+B(c,5387)>>15;b=v[a+152>>2];c=v[a+24>>2];d=b+c|0;f=v[a+120>>2];g=v[a+56>>2];e=f+g|0;h=B(d-e|0,8290)+16384|0;d=d+e|0;e=v[a+88>>2];i=B(d-(e<<2)|0,3707);v[a+152>>2]=h-i>>15;v[a+88>>2]=h+i>>15;v[a+24>>2]=B(d+e|0,10486)+16384>>15;d=g-f|0;c=c-b|0;b=B(d+c|0,8716)+16384|0;v[a+120>>2]=b+B(d,-22820)>>15;v[a+56>>2]=b+B(c,5387)>>15;b=v[a+156>>2];c=v[a+28>>2];d=b+c|0;f=v[a+124>>2];g=v[a+60>>2];e=f+g|0;h=B(d-e|0,8290)+16384|0;d=d+e|0;e=v[a+92>>2];i=B(d-(e<<2)|0,3707);v[a+156>>2]=h-i>>15;v[a+92>>2]=h+i>>15;v[a+28>>2]=B(d+e|0,10486)+16384>>15;d=g-f|0;c=c-b|0;b=B(d+c|0,8716)+16384|0;v[a+124>>2]=b+B(d,-22820)>>15;v[a+60>>2]=b+B(c,5387)>>15}function Zma(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=v[v[a+12>>2]+12>>2];if(f){e=v[a+4>>2];i=v[a+8>>2];f=f+32|0;g=v[f>>2];a:{if(!g){break a}a=f;while(1){h=v[g+16>>2]<(c|0);a=h?a:g;g=v[(h<<2)+g>>2];if(g){continue}break}if((a|0)==(f|0)|v[a+16>>2]>(c|0)){break a}f=Ma-144|0;Ma=f;h=v[a+20>>2];v[h+20>>2]=i;v[h+16>>2]=e;a=v[h>>2];if(a){Qa[v[v[a>>2]+4>>2]](a);v[h>>2]=0}a=v[h+8>>2];c=v[h+4>>2];if((a|0)!=(c|0)){while(1){if(t[a-5|0]<=-1){$a(v[a-16>>2])}a=a-48|0;if((c|0)!=(a|0)){continue}break}}v[h+8>>2]=c;g=Ss(f+136|0);a=f- -64|0;po(a,v[h+36>>2],h+24|0);a=mn(g,a);if(t[f+75|0]<=-1){$a(v[f+64>>2])}b:{if(!a){break b}if(!Yg(g)){break b}a=f- -64|0;i=En(a,1,0,0,1,0,0);v[a+12>>2]=0;v[a+16>>2]=0;e=a+4|0;v[a+8>>2]=e;v[a+4>>2]=e;v[a+20>>2]=0;v[a+24>>2]=0;v[a- -64>>2]=0;v[a+56>>2]=0;v[a+60>>2]=0;v[a+48>>2]=0;v[a+52>>2]=1072693248;v[a+40>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;v[a+28>>2]=b;c=ab(12);v[c>>2]=0;Dm(c+8|0,i);v[c+4>>2]=e;e=v[a+4>>2];v[c>>2]=e;v[e+4>>2]=c;v[a+4>>2]=c;v[a+12>>2]=v[a+12>>2]+1;c:{c=v[a+36>>2];if((c|0)!=v[a+40>>2]){A[c>>3]=A[a+48>>3];v[a+36>>2]=c+8;break c}d:{e=v[a+32>>2];i=c-e|0;k=i>>3;c=k+1|0;if(c>>>0<536870912){j=i>>2;j=k>>>0<268435455?c>>>0>j>>>0?c:j:536870911;if(j){if(j>>>0>=536870912){break d}c=ab(j<<3)}else{c=0}k=c+(k<<3)|0;A[k>>3]=A[a+48>>3];if((i|0)>=1){cb(c,e,i)}v[a+40>>2]=c+(j<<3);v[a+36>>2]=k+8;v[a+32>>2]=c;if(e){$a(e)}break c}Jc();L()}Zd(273730);L()}c=a;a=f+32|0;Xc(a,g);a=qd(f+48|0,a);if(t[f+43|0]<=-1){$a(v[f+32>>2])}e:{f:{if(nc(a,962344)){if(yh(g)){break e}i=rg(g);if(!qe(g,i)){break e}while(1){e=f+16|0;Xc(e,g);e=qd(f+32|0,e);Xe(a,e);Qb(e);if(t[f+27|0]<=-1){$a(v[f+16>>2])}g:{h:{if(nc(a,962424)){e=f+32|0;v[e>>2]=0;v[e+4>>2]=0;t[e+8|0]=0;im(g,962464,e);if(!nc(e,962500)){break h}if(yh(g)){Qb(e);break e}i=rg(g);i:{while(1){if(!qe(g,i)){break i}Xc(f,g);j=qd(f+16|0,f);Xe(a,j);Qb(j);if(t[f+11|0]<=-1){$a(v[f>>2])}if(!nc(a,962516)){continue}break}Zu(h,g,b,c,d)}Qb(e);break e}if(!nc(a,962608)){break g}if(yh(g)){break e}e=rg(g);while(1){if(!qe(g,e)){break e}i=f+16|0;Xc(i,g);i=qd(f+32|0,i);Xe(a,i);Qb(i);if(t[f+27|0]<=-1){$a(v[f+16>>2])}if(!nc(a,962516)){continue}break}break f}Qb(e)}if(qe(g,i)){continue}break}break e}if(!nc(a,962516)){break e}}Zu(h,g,b,c,d)}Qb(a);a=v[c+20>>2];b=c;c=v[c+16>>2];if((a|0)!=(c|0)){while(1){a=Qb(a-12|0);if((c|0)!=(a|0)){continue}break}}v[b+20>>2]=c;d=b+4|0;j:{if(!v[b+12>>2]){break j}a=v[b+8>>2];c=v[a>>2];h=v[b+4>>2];v[c+4>>2]=v[h+4>>2];v[v[h+4>>2]>>2]=c;v[b+12>>2]=0;if((a|0)==(d|0)){break j}while(1){c=v[a+4>>2];me(a+8|0);$a(a);a=c;if((d|0)!=(a|0)){continue}break}}v[b+36>>2]=v[b+32>>2];a=v[b+60>>2];c=v[b+56>>2];k:{if((a|0)==(c|0)){c=a;break k}while(1){h=a-c|0;if(h){i=b;h=(c+h|0)-8|0;e=v[h>>2];if(!(!e|!w[h+4|0])){$a(OF(e));c=v[b+56>>2];a=v[b+60>>2]}a=a-8|0;v[i+60>>2]=a}if((a|0)!=(c|0)){continue}break}}if(c){v[b+60>>2]=c;$a(c)}a=v[b+32>>2];if(a){v[b+36>>2]=a;$a(a)}c=v[b+16>>2];if(c){a=v[b+20>>2];if((c|0)==(a|0)){a=c}else{while(1){a=Qb(a-12|0);if((c|0)!=(a|0)){continue}break}a=v[b+16>>2]}v[b+20>>2]=c;$a(a)}l:{if(!v[b+12>>2]){break l}a=v[b+8>>2];c=v[a>>2];h=v[b+4>>2];v[c+4>>2]=v[h+4>>2];v[v[h+4>>2]>>2]=c;v[b+12>>2]=0;if((a|0)==(d|0)){break l}while(1){c=v[a+4>>2];me(a+8|0);$a(a);a=c;if((d|0)!=(a|0)){continue}break}}me(b)}v[g>>2]=869240;a=v[g+4>>2];if(a){Qa[v[v[a>>2]+4>>2]](a)}Ma=f+144|0}}}function PWa(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,n=0;g=Ma-48|0;Ma=g;v[g+40>>2]=0;v[g+36>>2]=0;a:{b:{if(w[a+285|0]|w[a+286|0]|(w[a+287|0]|w[a+288|0])){break b}if(w[a+289|0]){break b}f=1029;ob(a,1029,0,0);break a}c:{if(!(w[a+292|0]|(w[a+300|0]|w[a+293|0]))){if(!w[a+291|0]){break c}}f=1029;ob(a,1029,0,0);break a}d:{e:{if(!(w[a+288|0]|(w[a+286|0]|w[a+287|0]))){if(!w[a+289|0]){break e}}f=d;if(c>>>0>=2){break d}f=1028;ob(a,1028,0,0);break a}f=d;if((c|0)!=1){break d}f=1028;ob(a,1028,0,0);break a}while(1){l=f;f=f+1|0;if(w[l|0]){continue}break}m=l-d|0;if((m|0)>(c|0)){f=1043;ob(a,1043,0,0);break a}f:{n=c-2|0;f=Lt(a,l+2|0,n-m|0,g+36|0,g+40|0,g+44|0);if(f){if(!Kb(d,2186,21)){f=0;if((c|0)!=2615){break a}b=v[48260];v[g+24>>2]=v[48259];v[g+28>>2]=b;b=v[48258];v[g+16>>2]=v[48257];v[g+20>>2]=b;b=v[48256];v[g+8>>2]=v[48255];v[g+12>>2]=b;b=v[48254];v[g>>2]=v[48253];v[g+4>>2]=b;f=W3(a,g,1,8128,e);if(!f){break f}b=v[g+36>>2];if(!b){break a}Qa[v[a+156>>2]](b,v[g+40>>2]);break a}b=v[g+36>>2];if(!b){break a}Qa[v[a+156>>2]](b,v[g+40>>2]);break a}g:{h:{i:{j:{k:{if(!(w[a+286|0]|w[a+287|0])){l:{if(!(w[a+288|0]|w[a+289|0])){t[a+311|0]=(c|0)!=0;break l}t[a+298|0]=1}if(w[a+288|0]|w[a+289|0]){break k}if(c){break j}f=v[a+2236>>2];if(f){Qa[v[a+156>>2]](f,v[a+2232>>2])}v[a+2232>>2]=0;v[a+2236>>2]=0;f=0;h=0;break i}t[a+298|0]=1}if(w[a+288|0]){h=v[a+528>>2];j=h;f=h+88|0;i=v[h+88>>2];h=v[i+1148>>2];if(h){Qa[v[a+156>>2]](h,v[i+1144>>2])}i=v[g+44>>2];h=Qa[v[a+152>>2]](i)|0;v[v[j+88>>2]+1148>>2]=h;if(h){break h}f=1;ob(a,1,0,0);break a}j=v[a+512>>2];if(!j){j=v[a+528>>2]}f=j+88|0;i=v[j+88>>2];h=v[i+1148>>2];if(h){Qa[v[a+156>>2]](h,v[i+1144>>2])}i=v[g+44>>2];h=Qa[v[a+152>>2]](i)|0;v[v[j+88>>2]+1148>>2]=h;if(!h){f=1;ob(a,1,0,0);break a}break h}f=v[g+44>>2];h=Qa[v[a+152>>2]](f)|0;v[a+2236>>2]=h;if(!h){f=1;ob(a,1,0,0);break a}cb(h,v[g+36>>2],f);v[a+2232>>2]=f;h=v[a+2236>>2]}j=0;m:{if(!w[a+114|0]){break m}i=!c;n:{k=Qa[v[a+152>>2]](40)|0;if(!k){break n}v[k+4>>2]=707;v[k>>2]=708;j=v[a+700>>2];o:{if(j){v[j+8>>2]=k;break o}v[a+696>>2]=k}v[k+8>>2]=0;v[k+12>>2]=j;v[a+700>>2]=k;v[k+16>>2]=v[a+436>>2];v[k+20>>2]=v[a+440>>2];v[k+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=k}v[k+32>>2]=f;t[k+28|0]=i;if(f){i=Qa[v[a+152>>2]](f)|0;v[k+36>>2]=i;if(!i){break n}cb(i,h,f)}j=0;break m}ob(a,1,0,0);j=1}f=j;if(!f){break g}break a}cb(h,v[g+36>>2],i);f=v[f>>2];t[f+60|0]=1;v[f+1144>>2]=i}p:{q:{if(!w[a+112|0]){break q}f=Qa[v[b+4>>2]](a,b,e)|0;if(f){b=v[g+36>>2];if(!b){break a}Qa[v[a+156>>2]](b,v[g+40>>2]);break a}f=v[e>>2];b=!c;t[f+32|0]=b;if(b){break q}r:{s:{t:{if(!v[g+36>>2]){f=d;while(1){l=f;f=f+1|0;if(w[l|0]){continue}break}m=l-d|0;if((m|0)>(c|0)){f=1043;ob(a,1043,0,0);break a}f=Lt(a,l+2|0,n-m|0,g+36|0,g+40|0,g+44|0);if(f){break t}f=v[e>>2]}v[f+36>>2]=m;if(!m){break r}f=1;b=Qa[v[a+152>>2]](m+1|0)|0;v[v[e>>2]+40>>2]=b;c=v[e>>2];b=v[c+40>>2];if(b){break s}ob(a,1,0,0);break a}b=v[g+36>>2];if(!b){break a}Qa[v[a+156>>2]](b,v[g+40>>2]);break a}cb(b,d,v[c+36>>2]);f=v[e>>2]}t[f+44|0]=w[l+1|0];d=v[g+44>>2];v[f+48>>2]=d;b=Qa[v[a+152>>2]](d)|0;v[v[e>>2]+52>>2]=b;b=v[v[e>>2]+52>>2];if(!b){f=1;ob(a,1,0,0);break a}c=v[g+36>>2];cb(b,c,d);break p}c=v[g+36>>2]}f=0;if(!c){break a}Qa[v[a+156>>2]](c,v[g+40>>2]);break a}f=0}Ma=g+48|0;return f|0}function kTa(a){a=a|0;var 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,y=0,z=0,A=0,C=0;c=Ma-96|0;Ma=c;if(dp(a,c+8|0,0)){$a(v[c+84>>2]);u[a+25204>>1]=18761;v[285948]=0;v[285949]=0;v[285950]=0;j=x[a+26308>>1];o=0-x[a+26312>>1]|0;if((j|0)>(o|0)){r=v[c+60>>2];b=x[a+26306>>1];d=x[a+26314>>1];while(1){a:{if(!(b&65535)){b=0;break a}p=0-(d&65535)|0;b=o<<1&14;A=(b|d&1)<<1;C=(b|(d^-1)&1)<<1;s=32768;t=32768;while(1){b:{if(v[r>>2]){d=r;while(1){b=f-1|0;v[285950]=b;c:{if((f|0)>0){f=b;break c}v[c+92>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+92|0,1,4)|0;e=w[c+92|0];l=n;if(x[a+25204>>1]==18761){g=e|w[c+93|0]<<8|w[c+94|0]<<16|w[c+95|0]<<24}else{g=w[c+95|0]|(w[c+93|0]<<16|e<<24|w[c+94|0]<<8)}v[285948]=g;v[285949]=l;f=v[285950]+32|0;v[285950]=f;e=l;i=e;m=g;k=g;n=g;h=e}y=d;b=h;j=n;q=63-f|0;d=q&31;if((q&63)>>>0>=32){b=j<>>32-d|b<>>31<<2)>>2];if(v[d>>2]){continue}break}j=v[d+8>>2];d=r;if(v[d>>2]){while(1){h=f-1|0;v[285950]=h;d:{if((f|0)>0){f=h;break d}v[c+92>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+92|0,1,4)|0;e=w[c+92|0];l=k;if(x[a+25204>>1]!=18761){g=w[c+95|0]|(w[c+93|0]<<16|e<<24|w[c+94|0]<<8)}else{g=e|w[c+93|0]<<8|w[c+94|0]<<16|w[c+95|0]<<24}v[285948]=g;v[285949]=l;f=v[285950]+32|0;v[285950]=f;e=l;m=g;k=g;i=e}n=k;y=d;h=i;b=h;q=k;z=63-f|0;d=z&31;if((z&63)>>>0>=32){b=q<>>32-d|b<>>31<<2)>>2];if(v[d>>2]){continue}break}}d=v[d+8>>2];break b}d=v[r+8>>2];j=d}e:{f:{g:{b=j;switch(b+1|0){case 1:break e;case 0:break g;default:break f}}g=0;l=0;f=0;v[285948]=0;v[285949]=0;v[285950]=0;m=0;e=0;k=0;i=0;n=0;h=0;b=0;break e}f=f-j|0;v[285950]=f;if((f|0)<=-1){v[c+92>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+92|0,1,4)|0;h=w[c+92|0];l=m;if(x[a+25204>>1]==18761){g=h|w[c+93|0]<<8|w[c+94|0]<<16|w[c+95|0]<<24}else{g=w[c+95|0]|(w[c+93|0]<<16|h<<24|w[c+94|0]<<8)}v[285948]=g;v[285949]=l;f=v[285950]+32|0;v[285950]=f;m=g;e=l}h=e;k=m;i=64-j|0;n=i-f|0;b=n&31;if((n&63)>>>0>=32){h=k<>>32-b|h<>>0>=32?h>>>b|0:((1<>>b;i=e;k=m;n=k;h=e}b=(b>>>j-1&1?0:(-1<>1]<=p>>>0)){b=x[a+26316>>1];u[(v[a+26352>>2]+(B(x[a+26320>>1],o>>>b|0)+(p>>b)<<3)|0)+((v[a+26028>>2]>>>A&3)<<1)>>1]=t}h:{i:{j:{b=d;switch(b+1|0){case 1:break h;case 0:break j;default:break i}}g=0;l=0;f=0;v[285948]=0;v[285949]=0;v[285950]=0;m=0;e=0;k=0;i=0;n=0;h=0;b=0;break h}f=f-d|0;v[285950]=f;if((f|0)<=-1){v[c+92>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+92|0,1,4)|0;e=w[c+92|0];l=g;if(x[a+25204>>1]!=18761){g=w[c+95|0]|(w[c+93|0]<<16|e<<24|w[c+94|0]<<8)}else{g=e|w[c+93|0]<<8|w[c+94|0]<<16|w[c+95|0]<<24}v[285948]=g;v[285949]=l;f=v[285950]+32|0;v[285950]=f}e=l;m=g;h=64-d|0;b=h-f|0;i=b&31;if((b&63)>>>0>=32){b=m<>>32-i|e<>>0>=32?b>>>e|0:((1<>>e;e=l;i=e;k=g;n=g;h=e}b=(b>>>d-1&1?0:(-1<>>0>=x[a+26310>>1]){break k}d=x[a+26316>>1];u[(v[a+26352>>2]+(B(x[a+26320>>1],o>>>d|0)+(b>>d)<<3)|0)+((v[a+26028>>2]>>>C&3)<<1)>>1]=s}p=p+2|0;b=x[a+26306>>1];d=x[a+26314>>1];if((p|0)<(b-d|0)){continue}break}j=x[a+26308>>1]}o=o+1|0;if((o|0)<(j&65535)){continue}break}}v[a+26124>>2]=65535}Ma=c+96|0}function Zi(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;k=Ma-112|0;Ma=k;l=h;o=i&2147483647;p=c-(b>>>0<1)|0;j=b-1|0;q=(j|0)==-1&(p|0)==-1;n=d;r=(c|0)==(p|0)&b>>>0>j>>>0|c>>>0>p>>>0;m=d+r|0;p=e&2147483647;j=p;j=m>>>0>>0?j+1|0:j;r=m-1|0;a:{b:{j=j-(m>>>0<1)|0;if(!((r|0)==-1&(j|0)==2147418111?q:j>>>0>2147418111)){j=f;m=g-(j>>>0<1)|0;j=j-1|0;q=(j|0)!=-1|(m|0)!=-1;r=(g|0)==(m|0)&f>>>0>j>>>0|g>>>0>m>>>0;m=r+l|0;j=o;j=m>>>0>>0?j+1|0:j;r=m;m=m-1|0;j=j-(r>>>0<1)|0;if((m|0)==-1&(j|0)==2147418111?q:(j|0)==2147418111&(m|0)!=-1|j>>>0<2147418111){break b}}if(!(!n&(p|0)==2147418112?!(b|c):p>>>0<2147418112)){h=d;i=e|32768;f=b;g=c;break a}if(!(!l&(o|0)==2147418112?!(f|g):o>>>0<2147418112)){i=i|32768;break a}if(!(b|n|(p^2147418112|c))){j=d;d=!(b^f|d^h|(c^g|e^i^-2147483648));h=d?0:j;i=d?2147450880:e;f=d?0:b;g=d?0:c;break a}if(!(f|l|(o^2147418112|g))){break a}if(!(b|n|(c|p))){if(f|l|(g|o)){break a}f=b&f;g=c&g;h=d&h;i=e&i;break a}if(f|l|(g|o)){break b}f=b;g=c;h=d;i=e;break a}j=(o|0)==(p|0);j=j&(l|0)==(n|0)?(c|0)==(g|0)&b>>>0>>0|c>>>0>>0:j&l>>>0>n>>>0|o>>>0>p>>>0;m=j?f:b;o=j?g:c;n=j?i:e;p=n;q=j?h:d;n=n&65535;i=j?e:i;e=i;h=j?d:h;r=i>>>16&32767;l=p>>>16&32767;if(!l){d=!(n|q);i=d<<6;l=E(d?m:q)+32|0;d=E(d?o:n);d=i+((d|0)==32?l:d)|0;Oh(k+96|0,m,o,q,n,d-15|0);q=v[k+104>>2];n=v[k+108>>2];m=v[k+96>>2];l=16-d|0;o=v[k+100>>2]}f=j?b:f;g=j?c:g;i=e&65535;if(!r){b=!(h|i);c=b<<6;d=E(b?f:h)+32|0;b=E(b?g:i);b=c+((b|0)==32?d:b)|0;Oh(k+80|0,f,g,h,i,b-15|0);r=16-b|0;h=v[k+88>>2];i=v[k+92>>2];g=v[k+84>>2];f=v[k+80>>2]}b=h;i=i<<3|b>>>29;h=b<<3|g>>>29;i=i|524288;b=q;j=n<<3|b>>>29;n=b<<3|o>>>29;q=j;j=e^p;b=f;c=g<<3|b>>>29;b=b<<3;d=c;f=l-r|0;e=b;c:{if(!f){break c}if(f>>>0>127){h=0;i=0;c=0;e=1;break c}Oh(k- -64|0,b,d,h,i,128-f|0);Dp(k+48|0,b,d,h,i,f);h=v[k+56>>2];i=v[k+60>>2];c=v[k+52>>2];e=v[k+48>>2]|((v[k+64>>2]|v[k+72>>2])!=0|(v[k+68>>2]|v[k+76>>2])!=0)}g=c;d=n;q=q|524288;b=m;c=o<<3|b>>>29;f=b<<3;d:{if((j|0)<-1|(j|0)<=-1){j=f;o=e;b=j-e|0;n=h;m=d-h|0;e=(c|0)==(g|0)&e>>>0>j>>>0|c>>>0>>0;h=m-e|0;c=c-((j>>>0>>0)+g|0)|0;i=(q-((d>>>0>>0)+i|0)|0)-(e>>>0>m>>>0)|0;if(!(b|h|(c|i))){f=0;g=0;h=0;i=0;break a}if(i>>>0>524287){break d}f=b;d=!(h|i);e=d<<6;g=E(d?b:h)+32|0;b=E(d?c:i);b=e+((b|0)==32?g:b)|0;b=b-12|0;Oh(k+32|0,f,c,h,i,b);l=l-b|0;h=v[k+40>>2];i=v[k+44>>2];b=v[k+32>>2];c=v[k+36>>2];break d}c=c+g|0;b=e+f|0;c=b>>>0>>0?c+1|0:c;f=(c|0)==(g|0)&e>>>0>b>>>0|c>>>0>>0;j=i+q|0;e=d+h|0;j=e>>>0>>0?j+1|0:j;d=f+e|0;h=d;i=d>>>0>>0?j+1|0:j;if(!(i&1048576)){break d}d=h;j=d<<31;b=b&1|((c&1)<<31|b>>>1);c=j|c>>>1;l=l+1|0;h=(i&1)<<31|d>>>1;i=i>>>1|0}o=0;n=p&-2147483648;if((l|0)>=32767){h=o;i=n|2147418112;f=0;g=0;break a}d=0;e:{if((l|0)>0){d=l;break e}Oh(k+16|0,b,c,h,i,l+127|0);Dp(k,b,c,h,i,1-l|0);b=v[k>>2]|((v[k+16>>2]|v[k+24>>2])!=0|(v[k+20>>2]|v[k+28>>2])!=0);c=v[k+4>>2];h=v[k+8>>2];i=v[k+12>>2]}j=h<<29;p=(c&7)<<29|b>>>3;f=p;l=b&7;b=f+(l>>>0>4)|0;e=c>>>3|j;c=e;c=b>>>0>>0?c+1|0:c;f=b;j=d<<16;d=o|((i&7)<<29|h>>>3);g=c;b=d+((e|0)==(c|0)&b>>>0

>>0|c>>>0>>0)|0;i=n|(j|i>>>3&65535);i=b>>>0>>0?i+1|0:i;h=b;f:{if((l|0)==4){c=0;j=g+c|0;d=f&1;b=f+d|0;j=b>>>0>>0?j+1|0:j;f=b;g=j;c=(c|0)==(j|0)&b>>>0>>0|c>>>0>j>>>0;b=c+h|0;j=i;h=b;i=b>>>0>>0?j+1|0:j;break f}if(!l){break a}}}v[a>>2]=f;v[a+4>>2]=g;v[a+8>>2]=h;v[a+12>>2]=i;Ma=k+112|0}function hAa(a,b){a=a|0;b=b|0;var 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;h=Ma-16|0;Ma=h;f=v[a+8>>2];v[h+8>>2]=f;n=v[a+12>>2];i=v[a+16>>2];a:{b:{c:{m=v[a+4>>2];e=v[m+8>>2];if(v[e+60>>2]){j=f;break c}if(!(w[m+36|0]!=1|f>>>0>=n>>>0|y[a+20>>2]<=i>>>0)){t[m+36|0]=0;p=t[(t[e+52|0]+e|0)+48|0];k=w[m+37|0];break b}c=0;break a}c=1;break a}c=2}d:while(1){e:{f:{g:{h:{i:{j:{switch(c|0){case 0:if(f>>>0>=n>>>0){break h}j=f;while(1){k:{if(y[a+20>>2]>i>>>0){f=j+1|0;c=w[j|0];d=c<<24>>24;l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{switch(c-10|0){case 5:c=0;if(v[e+64>>2]!=3){break l}break k;case 4:if(v[e+64>>2]==3){t[e+49|0]=8;c=1;break k}v[h+8>>2]=f;t[e+68|0]=0;d=65535;c=14;break i;case 17:v[h+8>>2]=j;m=v[a+4>>2];c=1;continue d;case 0:case 3:v[h+8>>2]=f;v:{w:{g=w[e+48|0];switch(g|0){case 0:case 3:break v;default:break w}}g=0;t[e+48|0]=0}t[e+68|0]=0;t[e+52|0]=0;t[e+50|0]=0;break t;default:break u}}v[h+8>>2]=f;t[e+68|0]=0;l=t[e+52|0];g=w[(l+e|0)+48|0];if(v[e+64>>2]!=4|(d+95&255)>>>0>62){break t}if((g&252)!=4){break s}}p=g<<24>>24;switch(p|0){case 8:break n;case 3:break o;case 2:break p;case 1:break q;case 0:break r;default:break m}}d=c+65216|0;if((l|0)<2){break i}t[e+52|0]=w[e+53|0];break i}d=(d|0)>-1?c:65535;break i}t[e+52|0]=w[e+53|0];d=(d|0)>-1?c+128|0:65535;break i}d=(d|0)<0?65535:x[v[v[e+8>>2]+36>>2]+(((d^128)&255)<<2)>>1];t[e+52|0]=w[e+53|0];break i}if((d|0)<0){d=65535;break i}if((d&255)>>>0<92){d=c;break i}if((c|0)==92){d=165;break i}if((c|0)!=126){d=c;break i}d=8254;break i}d=(d-33&255)>>>0<63?c+65344|0:65535;break i}if(f>>>0>>0){k=c;c=2;continue d}t[v[a+4>>2]+37|0]=d;t[v[a+4>>2]+36|0]=1;break h}v[h+8>>2]=f;t[e+68|0]=0;d=65535;c=15;break i}v[h+8>>2]=j;v[b>>2]=15;f=j;break h}t[e+52|0]=c;j=f;if((f|0)!=(n|0)){continue}break};f=n;break h;case 1:break g;default:break j}}g=w[f|0];c=g-33|0;if(!((k+223&254)>>>0>93|(c&255)>>>0>93)){f=f+1|0;v[h+8>>2]=f;c=g|k<<8;d=c;x:{y:{switch(p-4|0){case 0:d=k&1;l=d+k|0;o=l&255;q=o>>>1|0;t[h+14|0]=o>>>0<96?q+112|0:l<<24>>24<0?0:q-80|0;d=g+(d?g>>>0<96?31:32:126)|0;break x;case 3:d=c+32896|0;break;default:break y}}t[h+14|0]=d>>>8}t[h+15|0]=d;d=wm(v[(p<<2)+e>>2],h+14|0,2);break i}d=65535;if((c&255)>>>0<94){c=k;break i}if(!(!(1<>>0>31)){c=k;break i}f=f+1|0;v[h+8>>2]=f;c=(g|k<<8)+65536|0}if(d>>>0<=65533){g=v[a+24>>2];if(g){v[g+(i-v[a+16>>2]<<1)>>2]=((c>>>0<256?-1:-2)+f|0)-v[a+8>>2]}u[i>>1]=d;i=i+2|0;break e}if(d>>>0>=65536){u[i>>1]=(d+67043328>>>10|0)-10240;z:{A:{B:{g=v[a+24>>2];C:{if(!g){c=i+2|0;if(c>>>0>2]){break B}break C}l=v[a+16>>2];o=((c>>>0<256?-1:-2)+f|0)-v[a+8>>2]|0;v[g+(i-l<<1)>>2]=o;c=i+2|0;if(c>>>0>2]){break A}}i=c;c=v[a+4>>2];g=t[c+65|0];t[c+65|0]=g+1;u[(c+(g<<1)|0)+116>>1]=d&1023|56320;break e}u[c>>1]=d&1023|56320;break z}u[c>>1]=d&1023|56320;v[g+(c-l<<1)>>2]=o}i=i+4|0;break e}j=v[a+4>>2];k=1;if(c>>>0>=256){t[j+38|0]=c;k=2;c=c>>>8|0}t[j+36|0]=k;t[j+37|0]=c;v[b>>2]=(d|0)==65534?10:12}v[a+8>>2]=f;v[a+16>>2]=i;break f}c=w[m+36|0];vA(m,h+8|0,n,1,b);D:{E:{F:{if(v[e+64>>2]|v[e+60>>2]){break F}if(v[b>>2]>0){break E}if(!w[e+68|0]){break F}v[b>>2]=18;f=v[a+4>>2];v[f+256>>2]=2;t[f+36|0]=c+(v[h+8>>2]-j|0)}if(v[b>>2]<1){break D}}v[a+16>>2]=i;v[a+8>>2]=v[h+8>>2];t[e+68|0]=0;break f}if(!v[e+60>>2]){t[e+68|0]=1}f=v[h+8>>2];break e}Ma=h+16|0;return}c=0;continue}}function WBa(a,b){a=a|0;b=b|0;var 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;g=Ma-16|0;Ma=g;n=v[a+100>>2];v[g+8>>2]=0;c=Qa[v[a+516>>2]](a,1129333068,b,g+4|0)|0;v[g+12>>2]=c;a:{b:{if(c){break b}c=v[g+4>>2];c:{if(c>>>0<12){break c}c=Zh(b,c,g+8|0);v[g+12>>2]=c;if(c){break b}c=v[g+8>>2];l=cc(n,20,g+12|0);if(v[g+12>>2]){break b}e=w[c|0]|w[c+1|0]<<8;f=e<<8|e>>>8;u[l>>1]=f;if((f&65535)>>>0>1){break c}e=w[c+2|0]|w[c+3|0]<<8;h=e<<8|e>>>8;u[a+660>>1]=h;e=w[c+4|0]|w[c+5|0]<<8;e=e<<8|e>>>8;u[a+648>>1]=e;d=w[c+6|0]|w[c+7|0]<<8;j=d<<8|d>>>8;u[l+2>>1]=j;m=e&65535;d=m<<1;e=v[g+4>>2];if(d+12>>>0>e>>>0){break c}i=w[c+8|0]|w[c+9|0]<<8|(w[c+10|0]<<16|w[c+11|0]<<24);k=i<<24|i<<8&16711680|(i>>>8&65280|i>>>24);if(k>>>0>=e>>>0){break c}i=j&65535;if(e-k>>>0>>0|i>>>0<(h&65535)>>>0){break c}c=c+12|0;v[l+8>>2]=c;i=v[g+8>>2];v[l+4>>2]=k+i;d:{if((f&65535)!=1){break d}if(e>>>0>>0){break c}c=c+d|0;f=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);k=w[c+8|0]|w[c+9|0]<<8|(w[c+10|0]<<16|w[c+11|0]<<24);c=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(c){if(d>>>0>e-c>>>0|c>>>0>=e>>>0){break c}e=yb(n,2,0,m,0,g+12|0);if(v[g+12>>2]){break b}i=v[g+8>>2];h=x[a+648>>1]<<1;j=h+e|0;e:{if(j>>>0<=e>>>0){break e}d=c+i|0;m=h-1|0;h=(m>>>1|0)+1&3;f:{if(!h){c=e;break f}c=e;while(1){o=w[d|0]|w[d+1|0]<<8;u[c>>1]=o<<8|o>>>8;c=c+2|0;d=d+2|0;h=h-1|0;if(h){continue}break}}if(m>>>0<6){break e}while(1){h=w[d|0]|w[d+1|0]<<8;u[c>>1]=h<<8|h>>>8;h=w[d+2|0]|w[d+3|0]<<8;u[c+2>>1]=h<<8|h>>>8;h=w[d+4|0]|w[d+5|0]<<8;u[c+4>>1]=h<<8|h>>>8;h=w[d+6|0]|w[d+7|0]<<8;u[c+6>>1]=h<<8|h>>>8;d=d+8|0;c=c+8|0;if(j>>>0>c>>>0){continue}break}}v[a+656>>2]=e}c=f<<8&16711680|f<<24|(f>>>8&65280|f>>>24);if(c){e=v[g+4>>2];if(e>>>0<=c>>>0){break c}o=e-c|0;e=x[a+648>>1];if(o>>>0>>0){break c}e=yb(n,2,0,e,0,g+12|0);if(v[g+12>>2]){break b}i=v[g+8>>2];f=x[a+648>>1]<<1;h=f+e|0;g:{if(h>>>0<=e>>>0){break g}d=c+i|0;j=f-1|0;f=(j>>>1|0)+1&3;h:{if(!f){c=e;break h}c=e;while(1){m=w[d|0]|w[d+1|0]<<8;u[c>>1]=m<<8|m>>>8;c=c+2|0;d=d+2|0;f=f-1|0;if(f){continue}break}}if(j>>>0<6){break g}while(1){f=w[d|0]|w[d+1|0]<<8;u[c>>1]=f<<8|f>>>8;f=w[d+2|0]|w[d+3|0]<<8;u[c+2>>1]=f<<8|f>>>8;f=w[d+4|0]|w[d+5|0]<<8;u[c+4>>1]=f<<8|f>>>8;f=w[d+6|0]|w[d+7|0]<<8;u[c+6>>1]=f<<8|f>>>8;d=d+8|0;c=c+8|0;if(h>>>0>c>>>0){continue}break}}v[a+652>>2]=e}c=k<<8&16711680|k<<24|(k>>>8&65280|k>>>24);if(!c){break d}e=v[g+4>>2];if(e>>>0<=c>>>0){break c}o=e-c|0;e=x[a+660>>1];if(o>>>0>>0){break c}e=yb(n,2,0,e,0,g+12|0);if(v[g+12>>2]){break b}i=v[g+8>>2];f=x[a+660>>1]<<1;k=f+e|0;i:{if(k>>>0<=e>>>0){break i}d=c+i|0;h=f-1|0;f=(h>>>1|0)+1&3;j:{if(!f){c=e;break j}c=e;while(1){j=w[d|0]|w[d+1|0]<<8;u[c>>1]=j<<8|j>>>8;c=c+2|0;d=d+2|0;f=f-1|0;if(f){continue}break}}if(h>>>0<6){break i}while(1){f=w[d|0]|w[d+1|0]<<8;u[c>>1]=f<<8|f>>>8;f=w[d+2|0]|w[d+3|0]<<8;u[c+2>>1]=f<<8|f>>>8;f=w[d+4|0]|w[d+5|0]<<8;u[c+4>>1]=f<<8|f>>>8;f=w[d+6|0]|w[d+7|0]<<8;u[c+6>>1]=f<<8|f>>>8;d=d+8|0;c=c+8|0;if(k>>>0>c>>>0){continue}break}}v[a+664>>2]=e}v[l+12>>2]=i;v[l+16>>2]=v[g+4>>2];v[a+868>>2]=l;d=0;p=a,q=yb(n,4,0,x[a+660>>1],0,g+12|0),v[p+672>>2]=q;if(v[g+12>>2]){break b}if(!CZ(a,0)){break a}}v[g+12>>2]=8}Oe(b,g+8|0);if(l){Qa[v[n+8>>2]](n,l)}v[a+868>>2]=0;d=v[g+12>>2]}Ma=g+16|0;return d|0}function WR(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=Ma-144|0;Ma=h;k=ze(h+96|0,v[a>>2]+72|0);j=eh(k);g=v[v[f+12>>2]+((j>>>0)%y[f+8>>2]<<2)>>2];a:{if(g){while(1){if((j|0)==v[g+12>>2]){if(ff(g+16|0,k)){break a}}g=v[g+8>>2];if(g){continue}break}}j=v[b>>2];m=il(f,k),n=0,v[m+52>>2]=n;g=v[a>>2];i=g;l=v[g+148>>2];b:{c:{d:{if(w[g+144|0]){if(!(!(l&16)|v[i+148>>2]&64)){Lu(g)}l=Lf(h+80|0,g+112|0);g=v[h+88>>2];if(g){i=d+1|0;while(1){WR(g+8|0,b,c,i,e,f);g=v[g>>2];if(g){continue}break}}i=ze(h+40|0,v[a>>2]+72|0);f=0;g=v[c+8>>2];e:{if(!g){break e}while(1){if(ff(g+8|0,i)){f=g;break e}g=v[g>>2];if(g){continue}break}}v[i+24>>2]=969432;v[i>>2]=969400;c=v[i+28>>2];if(c){g=v[c+4>>2]-1|0;v[c+4>>2]=g;if(!g){Qa[v[v[c>>2]+4>>2]](c)}v[i+28>>2]=0}v[i+16>>2]=969432;c=v[i+20>>2];if(c){g=v[c+4>>2]-1|0;v[c+4>>2]=g;if(!g){Qa[v[v[c>>2]+4>>2]](c)}v[i+20>>2]=0}db(i+8|0);if(f){break b}c=v[a>>2];if(!(v[c+148>>2]&16)){break d}f=v[a>>2];if(v[c+148>>2]&128){g=v[f+36>>2];if(g){break c}}if(!(v[f+148>>2]&16)){break b}c=h+32|0;th(c,v[v[a>>2]+108>>2]);Ve(h+24|0,c);f=v[h+24>>2];v[h+40>>2]=0;v[h+44>>2]=v[279250];f:{if(!Ad(f,h+40|0,0)){break f}if(!Ad(f,h+40|0,0)){break f}while(1){g:{if(!Hb(h+40|0,310650,-1)){if(v[e>>2]<(d|0)){v[e>>2]=d}if(Qa[v[v[j>>2]+16>>2]](j)|0){Qa[v[v[j>>2]+12>>2]](j,349015,1)|0}v[h+136>>2]=0;qb(h+136|0,f);Rg(j,v[h+136>>2]);c=v[h+136>>2];v[h+136>>2]=0;if(!c){break g}g=v[c+4>>2]-1|0;v[c+4>>2]=g;if(g){break g}g=v[c+4>>2];if(!g){v[c+4>>2]=-32767}if(!g){Qa[v[v[c>>2]+4>>2]](c)}break g}h:{if(!Hb(h+40|0,306565,-1)){break h}if(!Hb(h+40|0,217592,-1)){break h}if(Hb(h+40|0,310650,-1)){break g}}if(v[e>>2]<(d|0)){v[e>>2]=d}i:{if(!(Qa[v[v[j>>2]+16>>2]](j)|0)){break i}if(!Hb(h+40|0,217592,-1)){break i}Qa[v[v[j>>2]+12>>2]](j,349015,1)|0}Ve(h+16|0,b);g=v[h+16>>2];c=v[h+40>>2];Uf(g,v[(c?c+12|0:1117e3)>>2],0);v[h+8>>2]=0;qb(h+8|0,f);c=v[h+8>>2];v[h+136>>2]=0;qb(h+136|0,g);Rg(v[h+136>>2],c);c=v[h+136>>2];v[h+136>>2]=0;j:{if(!c){break j}i=v[c+4>>2]-1|0;v[c+4>>2]=i;if(i){break j}i=v[c+4>>2];if(!i){v[c+4>>2]=-32767}if(!i){Qa[v[v[c>>2]+4>>2]](c)}}c=v[h+8>>2];v[h+8>>2]=0;k:{if(!c){break k}i=v[c+4>>2]-1|0;v[c+4>>2]=i;if(i){break k}i=v[c+4>>2];if(!i){v[c+4>>2]=-32767}if(!i){Qa[v[v[c>>2]+4>>2]](c)}}Od(g);c=v[h+16>>2];v[h+16>>2]=0;if(!c){break g}g=v[c+4>>2]-1|0;v[c+4>>2]=g;if(g){break g}g=v[c+4>>2];if(!g){v[c+4>>2]=-32767}if(!g){Qa[v[v[c>>2]+4>>2]](c)}}Od(f);if(Ad(f,h+40|0,0)){continue}break}}vk(v[v[a>>2]+108>>2]);db(h+40|0);a=v[h+24>>2];v[h+24>>2]=0;l:{if(!a){break l}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break l}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}a=v[h+32>>2];v[h+32>>2]=0;if(!a){break b}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break b}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}break b}lb(mb(h+40|0,231556,241865,164,226745));L()}g=v[c+36>>2];if(!g){break b}}if(!(Qa[v[v[g>>2]+28>>2]](g)|0)){break b}if(Qa[v[v[j>>2]+16>>2]](j)|0){Qa[v[v[j>>2]+12>>2]](j,349015,1)|0}b=v[v[a>>2]+36>>2];Qa[v[v[b>>2]+20>>2]](b,0,0,0)|0;Rg(j,v[v[a>>2]+36>>2])}ac(l)}v[k+24>>2]=969432;v[k>>2]=969400;a=v[k+28>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Qa[v[v[a>>2]+4>>2]](a)}v[k+28>>2]=0}v[k+16>>2]=969432;a=v[k+20>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Qa[v[v[a>>2]+4>>2]](a)}v[k+20>>2]=0}db(k+8|0);Ma=h+144|0}function B6(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:{b:{c:{c=v[b+8>>2];if(c&7){break c}f=v[a+12>>2];d=v[b+64>>2];if((d|0)>=0&(d|0)<=v[b+60>>2]){break b}d=f;c=d>>>24|0;v[b+4>>2]=v[b+4>>2]|32;e=v[b+28>>2];v[b+28>>2]=e-1;d:{if((e|0)>=1){v[b+60>>2]=v[b+60>>2]+1;e=v[b+24>>2];v[b+24>>2]=e+1;t[e|0]=c;break d}if((Cb(b,c)|0)==-1){break c}}c=v[b+8>>2];if(c&7){break c}e=v[b+64>>2];if((e|0)>=0&(e|0)<=v[b+60>>2]){break b}c=d>>>16|0;v[b+4>>2]=v[b+4>>2]|32;e=v[b+28>>2];v[b+28>>2]=e-1;e:{if((e|0)>=1){v[b+60>>2]=v[b+60>>2]+1;e=v[b+24>>2];v[b+24>>2]=e+1;t[e|0]=c;break e}if((Cb(b,c&255)|0)==-1){break c}}c=v[b+8>>2];if(c&7){break c}e=v[b+64>>2];if((e|0)>=0&(e|0)<=v[b+60>>2]){break b}d=d>>>8|0;v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;f:{if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;t[c|0]=d;break f}if((Cb(b,d&255)|0)==-1){break c}}c=v[b+8>>2];if(c&7){break c}d=v[b+64>>2];if((d|0)>=0&(d|0)<=v[b+60>>2]){break b}v[b+4>>2]=v[b+4>>2]|32;d=v[b+28>>2];v[b+28>>2]=d-1;g:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;t[d|0]=f;break g}if((Cb(b,f&255)|0)==-1){break c}}c=v[b+8>>2];if(c&7){break c}f=v[a+16>>2];d=v[b+64>>2];if((d|0)>=0&(d|0)<=v[b+60>>2]){break a}d=f;c=d>>>24|0;v[b+4>>2]=v[b+4>>2]|32;e=v[b+28>>2];v[b+28>>2]=e-1;h:{if((e|0)>=1){v[b+60>>2]=v[b+60>>2]+1;e=v[b+24>>2];v[b+24>>2]=e+1;t[e|0]=c;break h}if((Cb(b,c)|0)==-1){break c}}c=v[b+8>>2];if(c&7){break c}e=v[b+64>>2];if((e|0)>=0&(e|0)<=v[b+60>>2]){break a}c=d>>>16|0;v[b+4>>2]=v[b+4>>2]|32;e=v[b+28>>2];v[b+28>>2]=e-1;i:{if((e|0)>=1){v[b+60>>2]=v[b+60>>2]+1;e=v[b+24>>2];v[b+24>>2]=e+1;t[e|0]=c;break i}if((Cb(b,c&255)|0)==-1){break c}}c=v[b+8>>2];if(c&7){break c}e=v[b+64>>2];if((e|0)>=0&(e|0)<=v[b+60>>2]){break a}d=d>>>8|0;v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;j:{if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;t[c|0]=d;break j}if((Cb(b,d&255)|0)==-1){break c}}c=v[b+8>>2];if(c&7){break c}d=v[b+64>>2];if((d|0)>=0&(d|0)<=v[b+60>>2]){break a}v[b+4>>2]=v[b+4>>2]|32;d=v[b+28>>2];v[b+28>>2]=d-1;k:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;t[d|0]=f;break k}if((Cb(b,f&255)|0)==-1){break c}}c=v[b+8>>2];if(c&7){break c}d=v[a+20>>2];a=v[b+64>>2];if((a|0)>=0&(a|0)<=v[b+60>>2]){break a}a=d;f=d>>>24|0;v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;l:{if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;t[c|0]=f;break l}if((Cb(b,f)|0)==-1){break c}}c=v[b+8>>2];if(c&7){break c}f=v[b+64>>2];if((f|0)>=0&(f|0)<=v[b+60>>2]){break a}f=a>>>16|0;v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;m:{if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;t[c|0]=f;break m}if((Cb(b,f&255)|0)==-1){break c}}c=v[b+8>>2];if(c&7){break c}f=v[b+64>>2];if((f|0)>=0&(f|0)<=v[b+60>>2]){break a}a=a>>>8|0;v[b+4>>2]=v[b+4>>2]|32;f=v[b+28>>2];v[b+28>>2]=f-1;n:{if((f|0)>=1){v[b+60>>2]=v[b+60>>2]+1;f=v[b+24>>2];v[b+24>>2]=f+1;t[f|0]=a;break n}if((Cb(b,a&255)|0)==-1){break c}}c=v[b+8>>2];if(c&7){break c}a=v[b+64>>2];if((a|0)>=0&(a|0)<=v[b+60>>2]){break a}v[b+4>>2]=v[b+4>>2]|32;a=v[b+28>>2];v[b+28>>2]=a-1;if((a|0)>=1){v[b+60>>2]=v[b+60>>2]+1;a=v[b+24>>2];v[b+24>>2]=a+1;t[a|0]=d;return 0}if((Cb(b,d&255)|0)==-1){break c}return 0}return-1}v[b+8>>2]=c|4;return-1}v[b+8>>2]=c|4;return-1}function yTa(a){a=a|0;var 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;h=Ma-112|0;Ma=h;v[h+24>>2]=0;v[h+16>>2]=0;v[h+20>>2]=0;if(dp(a,h+32|0,0)){b=v[h+40>>2]>>1;v[h+40>>2]=b;j=v[h+44>>2];o=B(b,j);e=x[a+59254>>1];b=0;while(1){g=c;d=k;c=d+((x[a+59256>>1]<<1)/(j|0)|0)|0;k=x[a+26306>>1];i=k&65534;k=e&65535?(c|0)<(k|0)?c:i:i;a:{if(!x[a+26308>>1]){break a}m=0;if((d|0)>=(k|0)){break a}while(1){l=v[a+26352>>2]+(B(x[a+26310>>1],m)<<3)|0;c=d;while(1){e=(b|0)%(o|0)|0;if(!e){f=Pw(a,n,h+32|0);n=n+1|0}j=v[h+44>>2];b:{if(x[a+26310>>1]<=(c|0)){b=e+j|0;break b}c:{if((j|0)<3){break c}u[l+(c<<3)>>1]=x[(e<<1)+f>>1];if((j|0)==3){break c}b=1;i=j-3|0;q=i&1;if((j|0)!=4){r=c+1|0;i=i&-2;while(1){u[l+(B(x[a+26310>>1],b>>>1|0)+r<<3)>>1]=x[(b+e<<1)+f>>1];p=b+1|0;u[l+(B(x[a+26310>>1],p>>>1|0)+c<<3)>>1]=x[(e+p<<1)+f>>1];b=b+2|0;i=i-2|0;if(i){continue}break}}if(!q){break c}u[l+(((b&1)+c|0)+B(x[a+26310>>1],b>>>1|0)<<3)>>1]=x[(b+e<<1)+f>>1]}i=l+(c<<3)|0;b=e+j|0;e=(b<<1)+f|0;u[i+2>>1]=x[e-4>>1]-16384;u[i+4>>1]=x[e-2>>1]-16384}c=c+2|0;if((k|0)>(c|0)){continue}break}m=((j>>1)+m|0)-1|0;if((m|0)>1]){continue}break}e=x[a+59254>>1]}c=g+1|0;if(g>>>0<(e&65535)>>>0){continue}break}b=a+25861|0;while(1){c=b;d=t[b|0];if(d){b=c+1|0;if(d-48>>>0>9){continue}}break}v[h+8>>2]=h+24;b=h+16|0;v[h+4>>2]=b|4;v[h>>2]=b;df(c,25359,h);i=x[a+26308>>1];d:{if(!i){break d}c=v[h+48>>2];b=(c<<2)+4|0;d=v[h+24>>2]+B(v[h+20>>2]+B(v[h+16>>2],1e3)|0,1e3)|0;l=v[a+26036>>2];j=(l|0)==-2147483112?(d|0)>1000006?(d|0)<3e6?c<<1:b:b:b;m=c>>1;k=0;g=v[a+26352>>2];e=g;while(1){f=x[a+26310>>1];e:{f:{if(!(k&m)){break f}b=0;if(!(f&65535)){break e}while(1){d=f&65535;c=u[((b-d<<3)+e|0)+2>>1];c=((i&65535)-1|0)!=(k|0)?(u[((b+d<<3)+e|0)+2>>1]+c|0)+1>>>1|0:c;d=(b<<3)+e|0;u[d+2>>1]=c;f=x[a+26310>>1];c=u[((b-f<<3)+e|0)+4>>1];if((x[a+26308>>1]-1|0)!=(k|0)){c=(c+u[((b+f<<3)+e|0)+4>>1]|0)+1>>>1|0}u[d+4>>1]=c;b=b+2|0;f=x[a+26310>>1];if(b>>>0>=f>>>0){break f}i=x[a+26308>>1];continue}}c=1;b=f;if((b&65535)>>>0<2){break e}while(1){i=c+1|0;n=(c-1<<3)+e|0;d=u[n+2>>1];f=(c<<3)+e|0;o=f;if(((b&65535)-1|0)!=(c|0)){d=(d+u[((i<<3)+e|0)+2>>1]|0)+1>>>1|0}u[o+2>>1]=d;b=u[n+4>>1];if((x[a+26310>>1]-1|0)!=(c|0)){b=(b+u[((i<<3)+e|0)+4>>1]|0)+1>>>1|0}u[f+4>>1]=b;b=x[a+26310>>1];c=c+2|0;if(b>>>0>c>>>0){continue}break}}e=((b&65535)<<3)+e|0;k=k+1|0;i=x[a+26308>>1];if(k>>>0>>0){continue}break}if(e>>>0<=g>>>0){break d}if(l>>>0<=2147484159){while(1){b=u[g>>1]-512|0;c=u[g+4>>1];d=B(x[a+59260>>1],b+c|0);d=(d|0)<67107840?d>>10:65535;u[g>>1]=(d|0)>0?d:0;d=u[g+2>>1];c=B(x[a+59262>>1],b+(B(d,-778)-(c<<11)>>12)|0);c=(c|0)<67107840?c>>10:65535;u[g+2>>1]=(c|0)>0?c:0;b=B(x[a+59264>>1],b+d|0);b=(b|0)<67107840?b>>10:65535;u[g+4>>1]=(b|0)>0?b:0;g=g+8|0;if(g>>>0>>0){continue}break d}}while(1){c=j+(u[g+2>>1]<<2)|0;u[g+2>>1]=c;b=j+(u[g+4>>1]<<2)|0;u[g+4>>1]=b;d=u[g>>1];b=b<<16>>16;c=c<<16>>16;f=B(x[a+59260>>1],d+(B(b,22929)+B(c,200)>>14)|0);f=(f|0)<67107840?f>>10:65535;u[g>>1]=(f|0)>0?f:0;f=B(x[a+59262>>1],d+(B(b,-11751)+B(c,-5640)>>14)|0);f=(f|0)<67107840?f>>10:65535;u[g+2>>1]=(f|0)>0?f:0;b=B(x[a+59264>>1],d+(B(b,-101)+B(c,29040)>>14)|0);b=(b|0)<67107840?b>>10:65535;u[g+4>>1]=(b|0)>0?b:0;g=g+8|0;if(g>>>0>>0){continue}break}}$a(v[h+108>>2]);v[a+26124>>2]=16383}Ma=h+112|0}function QWa(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,n=0,o=0,p=0;a:{b:{c:{if(w[a+285|0]|w[a+286|0]|(w[a+287|0]|w[a+288|0])){break c}if(w[a+289|0]){break c}break b}if(w[a+300|0]|w[a+293|0]|(w[a+292|0]|w[a+291|0])){break b}d:{e:{f:{g:{g=w[a+286|0];if(!g){f=w[a+287|0];if(!f){if(!(w[a+289|0]?1:w[a+288|0])){break g}if((c|0)!=32){break a}if(f){break e}break f}if((c|0)!=32){break a}break e}if((c|0)==32){break e}break a}if(!(c&-33)){break f}break a}if(w[a+288|0]|w[a+289|0]){break e}t[a+309|0]=(c|0)!=0;break d}t[a+296|0]=1}f=w[d+28|0]|w[d+29|0]<<8|(w[d+30|0]<<16|w[d+31|0]<<24);h=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=w[d+24|0]|w[d+25|0]<<8|(w[d+26|0]<<16|w[d+27|0]<<24);i=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=w[d+20|0]|w[d+21|0]<<8|(w[d+22|0]<<16|w[d+23|0]<<24);j=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=w[d+16|0]|w[d+17|0]<<8|(w[d+18|0]<<16|w[d+19|0]<<24);k=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=w[d+12|0]|w[d+13|0]<<8|(w[d+14|0]<<16|w[d+15|0]<<24);l=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=w[d+8|0]|w[d+9|0]<<8|(w[d+10|0]<<16|w[d+11|0]<<24);m=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);n=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);o=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);h:{i:{j:{if(!(w[a+288|0]|(w[a+287|0]|g))){if(!w[a+289|0]){break j}}k:{if(!w[a+288|0]){f=v[a+512>>2];if(f){break k}}f=v[a+528>>2]}f=v[f+88>>2];v[f+1136>>2]=h;v[f+1132>>2]=i;v[f+1128>>2]=j;v[f+1124>>2]=k;v[f+1120>>2]=l;v[f+1116>>2]=m;v[f+1112>>2]=n;v[f+1108>>2]=o;t[f+58|0]=1;break i}if(c){v[a+2224>>2]=h;v[a+2220>>2]=i;v[a+2216>>2]=j;v[a+2212>>2]=k;v[a+2208>>2]=l;v[a+2204>>2]=m;v[a+2200>>2]=n;v[a+2196>>2]=o}f=0;l:{if(!w[a+114|0]){break l}p=!c;f=Qa[v[a+152>>2]](64)|0;if(!f){ob(a,1,0,0);f=1;break l}v[f+4>>2]=703;v[f>>2]=704;g=v[a+700>>2];m:{if(g){v[g+8>>2]=f;break m}v[a+696>>2]=f}v[f+8>>2]=0;v[f+12>>2]=g;v[a+700>>2]=f;v[f+16>>2]=v[a+436>>2];v[f+20>>2]=v[a+440>>2];v[f+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=f}v[f+60>>2]=h;v[f+56>>2]=i;v[f+52>>2]=j;v[f+48>>2]=k;v[f+44>>2]=l;v[f+40>>2]=m;v[f+36>>2]=n;v[f+32>>2]=o;t[f+28|0]=p;f=0}if(f){break h}}n:{if(!w[a+112|0]){break n}f=Qa[v[b+4>>2]](a,b,e)|0;if(f){break h}a=v[e>>2];b=!c;t[a+32|0]=b;if(b){break n}b=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);v[a+36>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);v[a+40>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=w[d+8|0]|w[d+9|0]<<8|(w[d+10|0]<<16|w[d+11|0]<<24);v[a+44>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=w[d+12|0]|w[d+13|0]<<8|(w[d+14|0]<<16|w[d+15|0]<<24);v[a+48>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=w[d+16|0]|w[d+17|0]<<8|(w[d+18|0]<<16|w[d+19|0]<<24);v[a+52>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=w[d+20|0]|w[d+21|0]<<8|(w[d+22|0]<<16|w[d+23|0]<<24);v[a+56>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=w[d+24|0]|w[d+25|0]<<8|(w[d+26|0]<<16|w[d+27|0]<<24);v[a+60>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=a;a=w[d+28|0]|w[d+29|0]<<8|(w[d+30|0]<<16|w[d+31|0]<<24);v[b+64>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}f=0}return f|0}ob(a,1029,0,0);return 1029}ob(a,1028,0,0);return 1028}function Ou(a,b,c){var d=0,e=0,f=0;d=Ma-96|0;Ma=d;if(w[b+89|0]){a:{b:{if(!(v[b+92>>2]&1)){break b}c:{d:{e:{f:{switch(v[b+56>>2]-1|0){case 2:if(!(v[b+92>>2]&2)){break b}Vp(d+8|0,v[b+48>>2],c);e=v[d+8>>2];g:{if(e){break g}e=d+56|0;VS(e,v[b+48>>2],c);jb(d+8|0,e);e=v[d+56>>2];v[d+56>>2]=0;h:{if(!e){break h}f=v[e+4>>2]-1|0;v[e+4>>2]=f;if(f){break h}f=v[e+4>>2];if(!f){v[e+4>>2]=-32767}if(!f){Qa[v[v[e>>2]+4>>2]](e)}}e=v[d+8>>2];if(e){break g}e=d+56|0;US(e,v[b+48>>2],c);jb(d+8|0,e);db(e);e=v[d+8>>2]}if(!e){break e}c=a;a=ki(d+56|0,e+36|0,b+8|0);ze(c,a);v[a+24>>2]=969432;v[a>>2]=969400;b=v[a+28>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Qa[v[v[b>>2]+4>>2]](b)}v[a+28>>2]=0}v[a+16>>2]=969432;b=v[a+20>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Qa[v[v[b>>2]+4>>2]](b)}v[a+20>>2]=0}db(a+8|0);a=v[d+8>>2];v[d+8>>2]=0;if(!a){break a}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break a}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}break a;case 3:if(!(v[b+92>>2]&2)){break b}Vp(d+48|0,v[b+48>>2],c);e=v[d+48>>2];i:{if(e){break i}e=d+56|0;VS(e,v[b+48>>2],c);jb(d+48|0,e);e=v[d+56>>2];v[d+56>>2]=0;j:{if(!e){break j}f=v[e+4>>2]-1|0;v[e+4>>2]=f;if(f){break j}f=v[e+4>>2];if(!f){v[e+4>>2]=-32767}if(!f){Qa[v[v[e>>2]+4>>2]](e)}}e=v[d+48>>2];if(e){break i}e=d+56|0;US(e,v[b+48>>2],c);jb(d+48|0,e);db(e);e=v[d+48>>2]}if(!e){break d}c=d+8|0;vj(c,b+8|0);b=a;a=ki(d+56|0,e+36|0,c);ze(b,a);v[a+24>>2]=969432;v[a>>2]=969400;b=v[a+28>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Qa[v[v[b>>2]+4>>2]](b)}v[a+28>>2]=0}v[a+16>>2]=969432;b=v[a+20>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Qa[v[v[b>>2]+4>>2]](b)}v[a+20>>2]=0}db(a+8|0);v[d+32>>2]=969432;v[d+8>>2]=969400;a=v[d+36>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Qa[v[v[a>>2]+4>>2]](a)}v[d+36>>2]=0}v[d+24>>2]=969432;a=v[d+28>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Qa[v[v[a>>2]+4>>2]](a)}v[d+28>>2]=0}db(d+16|0);a=v[d+48>>2];v[d+48>>2]=0;if(!a){break a}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break a}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}break a;case 0:if(!(v[b+92>>2]&2)){break b}MS(d+8|0,v[b+108>>2],c);if(!v[d+8>>2]){break c}e=a;a=ki(d+56|0,c,b+8|0);ze(e,a);v[a+24>>2]=969432;v[a>>2]=969400;b=v[a+28>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Qa[v[v[b>>2]+4>>2]](b)}v[a+28>>2]=0}v[a+16>>2]=969432;b=v[a+20>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Qa[v[v[b>>2]+4>>2]](b)}v[a+20>>2]=0}db(a+8|0);a=v[d+8>>2];v[d+8>>2]=0;if(!a){break a}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break a}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}break a;case 1:case 4:break f;default:break b}}e=d+8|0;vj(e,b+8|0);b=a;a=ki(d+56|0,c,e);ze(b,a);v[a+24>>2]=969432;v[a>>2]=969400;b=v[a+28>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Qa[v[v[b>>2]+4>>2]](b)}v[a+28>>2]=0}v[a+16>>2]=969432;b=v[a+20>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Qa[v[v[b>>2]+4>>2]](b)}v[a+20>>2]=0}db(a+8|0);v[d+32>>2]=969432;v[d+8>>2]=969400;a=v[d+36>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Qa[v[v[a>>2]+4>>2]](a)}v[d+36>>2]=0}v[d+24>>2]=969432;a=v[d+28>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Qa[v[v[a>>2]+4>>2]](a)}v[d+28>>2]=0}db(d+16|0);break a}db(d+8|0);break b}db(d+48|0);break b}db(d+8|0)}zg(a)}Ma=d+96|0;return}lb(mb(d+56|0,231515,240864,286,226712));L()}function S$a(a){a=a|0;var 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;f=v[a+572>>2];b=v[a+664>>2];a:{if((f|0)<(b|0)|(f|0)>=v[a+668>>2]){break a}f=Qa[v[a+220>>2]](a,v[a+680>>2]+(f-b|0)|0)|0;k=Qa[v[a+228>>2]](a,(v[a+680>>2]+v[a+572>>2]|0)-v[a+664>>2]|0)|0;b=v[a+580>>2];m=f+(b<<1)|0;f=v[a+672>>2];d=m+(f<<1)|0;c=v[a+656>>2];e=(c|0)/v[a+584>>2]|0;f=f+(b+k|0)|0;g=v[a+644>>2];b:{if(!w[a+648|0]){k=c+b|0;c=g+(e<<2)|0;b=v[a+660>>2];if(!w[a+649|0]){break b}if((b|0)<=(k|0)){break a}while(1){t[d+1|0]=w[c|0]&248|w[c+1|0]>>>5;t[d|0]=w[c+1|0]<<3&224|w[c+2|0]>>>3;t[f|0]=w[c+3|0];c=c+4|0;b=v[a+584>>2];f=b+f|0;d=(b<<1)+d|0;k=b+k|0;if((k|0)>2]){continue}break}break a}k=c+b|0;c=g+(e<<3)|0;b=v[a+660>>2];if(w[a+649|0]){if((b|0)<=(k|0)){break a}while(1){t[d+1|0]=w[c|0]&248|w[c+2|0]>>>5;t[d|0]=w[c+2|0]<<3&224|w[c+4|0]>>>3;t[f|0]=w[c+6|0];c=c+8|0;b=v[a+584>>2];f=b+f|0;d=(b<<1)+d|0;k=b+k|0;if((k|0)>2]){continue}break}break a}if((b|0)<=(k|0)){break a}while(1){b=w[c+6|0]|w[c+7|0]<<8;e=(b<<8|b>>>8)&65535;if(e){m=f;c:{d:{if((e|0)!=65535){g=w[f|0];g=g<<8|g;if(g){break d}}t[d+1|0]=w[c|0]&248|w[c+2|0]>>>5;t[d|0]=w[c+2|0]<<3&224|w[c+4|0]>>>3;b=w[c+6|0];break c}if((g|0)==65535){g=w[c+4|0]|w[c+5|0]<<8;i=w[c+2|0]|w[c+3|0]<<8;b=B(e,(i<<8|i>>>8)&65535);i=w[d|0];j=w[d+1|0];h=i>>>3&28|j<<5;l=h<<8&64512|h;h=e^65535;b=(b+B(l,h)|0)+32768|0;b=(b>>>16|0)+b|0;l=w[c|0]|w[c+1|0]<<8;i=(B(e,(l<<8|l>>>8)&65535)+B(h,i<<11&63488|i<<3)|0)+32768|0;t[d+1|0]=b>>>29|(i>>>16|0)+i>>>24&248;g=(B((g<<8|g>>>8)&65535,e)+B(B(h,j&248),257)|0)+32768|0;t[d|0]=b>>>21&224|(g>>>16|0)+g>>>27;b=e>>>8|0;break c}i=w[c+4|0]|w[c+5|0]<<8;j=e^65535;b=B(j,g^65535)^-1;l=b>>>16|0;e=(e<<16>>>0)/(l>>>0)|0;h=w[c+2|0]|w[c+3|0]<<8;n=B(e,(h<<8|h>>>8)&65535);g=(B(g,j)>>>0)/(l>>>0)|0;h=w[d|0];l=w[d+1|0];j=h>>>3&28|l<<5;j=(n+B(g,j<<8&64512|j)|0)+32767|0;n=B(g,h<<11&63488|h<<3);h=w[c|0]|w[c+1|0]<<8;t[d+1|0]=j>>>29|(n+B(e,(h<<8|h>>>8)&65535)|0)+32767>>>24&248;t[d|0]=j>>>21&224|(B(B(g,l&248),257)+B(e,(i<<8|i>>>8)&65535)|0)+32767>>>27;b=b>>>24|0}t[m|0]=b}c=c+8|0;b=v[a+584>>2];f=b+f|0;d=(b<<1)+d|0;k=b+k|0;if((k|0)>2]){continue}break}break a}if((b|0)<=(k|0)){break a}while(1){b=w[c+3|0];if(b){e:{f:{if((b|0)!=255){e=w[f|0];if(e){break f}}t[d+1|0]=w[c|0]&248|w[c+1|0]>>>5;t[d|0]=w[c+1|0]<<3&224|w[c+2|0]>>>3;b=w[c+3|0];break e}if((e|0)==255){g=w[c+2|0];e=b^255;i=w[d+1|0];h=w[d|0];j=(B(w[c+1|0],b)+B(e,(i<<5|h>>>3)&252)|0)+128|0;j=(j>>>8&255)+j|0;i=(B(e,i&248)+B(w[c|0],b)|0)+128|0;t[d+1|0]=j>>>13&7|(i>>>8&255)+i>>>8&248;e=(B(e,h<<3&248)+B(b,g)|0)+128|0;t[d|0]=(e>>>8&255)+e>>>11&31|j>>>5&224;break e}i=w[c+2|0];m=b<<8;h=b^255;b=B(h,e^255)>>>8^-1;j=b&255;g=(m>>>0)/(j>>>0)|0;e=(B(e,h)>>>0)/(j>>>0)|0;h=(B(g,w[c+1|0])+B(e,w[d+1|0])|0)+127|0;t[d+1|0]=h>>>13&7|(B(g,w[c|0])+B(e,w[d|0])|0)+127>>>8&248;t[d|0]=(B(g,i)+B(e,w[d+2|0])|0)+127>>>11&31|h>>>5&224}t[f|0]=b}c=c+4|0;b=v[a+584>>2];f=b+f|0;d=(b<<1)+d|0;k=b+k|0;if((k|0)>2]){continue}break}}f=v[a+680>>2]+v[a+572>>2]|0;b=v[a+664>>2];d=v[a+556>>2];c=v[a+672>>2];g:{if((c|0)>=v[a+552>>2]){if(d){break g}d=0}v[a+552>>2]=c}c=v[a+676>>2];if((c|0)>(d|0)){v[a+556>>2]=c}d=v[a+564>>2];f=f-b|0;h:{if((f|0)>=v[a+560>>2]){if(d){break h}d=0}v[a+560>>2]=f}if((d|0)<=(f|0)){v[a+564>>2]=f+1}return 0}function zza(a,b){a=a|0;b=b|0;var 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,x=0;m=v[a+20>>2];e=v[a+16>>2];k=v[a+12>>2];h=v[a+8>>2];g=v[a+4>>2];j=v[g+8>>2];n=w[j+68|0];l=w[j+67|0];r=w[j+66|0];i=w[j+65|0];a:{b:{c:{q=w[j+64|0];if(q){if(i&255){break c}c=0;break a}if(i&255){break b}c=2;break a}c=1;break a}c=3}while(1){d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{switch(c|0){case 0:i=0;if(h>>>0>=k>>>0|e>>>0>=m>>>0){break d}c=(l<<24>>24<<2)+j|0;while(1){d=w[h|0];if(d>>>0<32){break d}h=h+1|0;n:{if(d<<24>>24>=0){u[e>>1]=d;e=e+2|0;break n}d=v[c>>2]+(d&127)|0;if(d>>>0<=65535){u[e>>1]=d;e=e+2|0;break n}u[e>>1]=(d>>>10|0)-10304;o=d&1023|-9216;d=e+2|0;if(m>>>0<=d>>>0){break l}u[e+2>>1]=o;e=e+4|0}if(h>>>0>=k>>>0){break d}if(e>>>0>>0){continue}break};break d;case 1:if(h>>>0>=k>>>0){d=e;break g}o:{p:{q:{r:{s:{t:{u:{if(e>>>0>>0){o=g+37|0;x=g+38|0;c=h;while(1){h=c+1|0;s=2;d=x;p=2;f=w[c|0];c=f;v:{w:{x:{switch(i&255){case 4:c=f&31;p=5;l=f>>>5|0;break w;case 6:break o;case 5:break p;case 3:break q;case 2:break r;case 1:break w;case 0:break x;default:break v}}if(1<>>0<=15){if(f>>>0>=9){p=4;s=1;d=o;c=n;A:{switch(f-11|0){case 4:break j;case 0:break w;case 3:break A;default:break s}}p=1;d=o;break y}r=f-1|0;p=3;break z}if(f>>>0<24){break t}l=f-24|0;p=6}s=1;d=o}c=n}t[d|0]=f;t[g+36|0]=s;i=p;n=c}c=h;if((k|0)!=(c|0)){continue}break}break h}v[b>>2]=15;d=e;break g}u[e>>1]=f;e=e+2|0;break k}l=f-16|0;break k}v[b>>2]=12;t[g+36|0]=1;t[g+37|0]=f;break i}u[e>>1]=n<<8|f;e=e+2|0;break k}d=r<<24>>24;if(f<<24>>24>=0){u[e>>1]=v[(d<<2)+852960>>2]+f;e=e+2|0;break k}d=v[(d<<2)+j>>2]+(f&127)|0;if(d>>>0<=65535){u[e>>1]=d;e=e+2|0;break k}u[e>>1]=(d>>>10|0)-10304;c=d&1023|-9216;d=e+2|0;if(m>>>0>d>>>0){u[e+2>>1]=c;e=e+4|0;break k}t[g+65|0]=1;u[g+116>>1]=c;v[b>>2]=15;i=3;break g}v[(l<<24>>24<<2)+j>>2]=((n&255)<<15|f<<7)+65536;break k}B:{if(!f){t[g+36|0]=2;t[g+38|0]=0;break B}C:{c=(l<<24>>24<<2)+j|0;d=f<<7;D:{if(f>>>0<=103){break D}d=(f<<7)+44032|0;if((f-104&255)>>>0<=63){break D}if(f>>>0<249){break C}d=v[(f<<2)+851996>>2]}v[c>>2]=d;break k}t[g+36|0]=2;t[g+38|0]=f}i=6;d=e;break g;case 2:i=0;c=h+1|0;E:{if(k>>>0<=c>>>0|e>>>0>=m>>>0){break E}while(1){d=w[h|0];if((d+32&255)>>>0<19){break E}u[e>>1]=w[c|0]|d<<8;d=h+2|0;e=e+2|0;c=h+3|0;if(k>>>0>c>>>0){h=d;if(e>>>0>>0){continue}}break}h=d}c=3;continue;default:break m}}q=0;if(h>>>0>=k>>>0){d=e;break g}F:{G:{if(e>>>0>>0){c=h;while(1){h=c+1|0;c=w[c|0];H:{I:{J:{K:{switch(i&255){case 1:t[g+38|0]=c;i=2;d=2;break J;case 2:break F;case 0:break K;default:break H}}d=c+32|0;if((d&255)>>>0<=18){if(c>>>0<232){q=1;l=d;break k}if(c>>>0<240){break f}if((c|0)!=240){if((c|0)!=241){break G}i=4;break e}t[g+37|0]=240;d=1;i=1;break I}t[g+37|0]=c;i=2;d=1}n=c}t[g+36|0]=d}c=h;if((k|0)!=(c|0)){continue}break}break h}v[b>>2]=15;d=e;break g}v[b>>2]=12;t[g+36|0]=1;t[g+37|0]=c;break i}u[e>>1]=c|n<<8;e=e+2|0;break j}t[g+65|0]=1;u[g+116>>1]=o;v[b>>2]=15;break g}c=0;continue}c=2;continue}i=0;d=e;break g}d=e;h=k}b=v[b>>2];L:{if((b|0)>=1){c=0;if((b|0)!=15){break L}}c=i;if(c&255){break L}c=0;t[g+36|0]=0}t[j+68|0]=n;t[j+67|0]=l;t[j+66|0]=r;t[j+65|0]=c;t[j+64|0]=q;v[a+16>>2]=d;v[a+8>>2]=h;return}l=c+24|0;i=6}q=1;t[g+36|0]=1;t[g+37|0]=c}c=1;continue}}function EP(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;m=Ma-16|0;Ma=m;a:{b:{c:{d:{e:{f:{if(b>>>0<=36){while(1){f=v[a+4>>2];g:{if(f>>>0>2]){v[a+4>>2]=f+1;f=w[f|0];break g}f=ke(a)}if((f|0)==32|f-9>>>0<5){continue}break}h:{i:{switch(f-43|0){case 0:case 2:break i;default:break h}}n=(f|0)==45?-1:0;f=v[a+4>>2];if(f>>>0>2]){v[a+4>>2]=f+1;f=w[f|0];break h}f=ke(a)}j:{if(!(b&-17|(f|0)!=48)){f=v[a+4>>2];k:{if(f>>>0>2]){v[a+4>>2]=f+1;f=w[f|0];break k}f=ke(a)}if((f&-33)==88){b=16;f=v[a+4>>2];l:{if(f>>>0>2]){v[a+4>>2]=f+1;f=w[f|0];break l}f=ke(a)}if(w[f+998321|0]<16){break e}if(!v[a+104>>2]){d=0;e=0;if(c){break a}break b}b=v[a+4>>2];v[a+4>>2]=b-1;if(!c){break b}v[a+4>>2]=b-2;d=0;e=0;break a}if(b){break j}b=8;break e}b=b?b:10;if(b>>>0>w[f+998321|0]){break j}if(v[a+104>>2]){v[a+4>>2]=v[a+4>>2]-1}d=0;e=0;Rj(a,0,0);v[296206]=28;break a}if((b|0)!=10){break e}c=f-48|0;if(c>>>0<=9){b=0;while(1){b=B(b,10)+c|0;g=b>>>0<429496729;f=v[a+4>>2];m:{if(f>>>0>2]){v[a+4>>2]=f+1;f=w[f|0];break m}f=ke(a)}c=f-48|0;if(g&c>>>0<=9){continue}break}g=b}if(c>>>0>9){break f}h=x3a(g,0,10,0);b=Pa;while(1){f=c+h|0;i=f>>>0>>0?b+1|0:b;g=f;k=(i|0)==429496729&f>>>0>=2576980378|i>>>0>429496729;b=v[a+4>>2];n:{if(b>>>0>2]){v[a+4>>2]=b+1;f=w[b|0];break n}f=ke(a)}c=f-48|0;if(k|c>>>0>9){break f}h=x3a(g,i,10,0);b=Pa;if((b|0)==-1&(c^-1)>>>0>=h>>>0|(b|0)!=-1){continue}break}b=10;break d}v[296206]=28;d=0;e=0;break a}b=10;if(c>>>0<=9){break d}break c}if(b-1&b){h=w[f+998321|0];if(h>>>0>>0){c=0;while(1){c=B(b,c)+h|0;g=c>>>0<119304647;f=v[a+4>>2];o:{if(f>>>0>2]){v[a+4>>2]=f+1;f=w[f|0];break o}f=ke(a)}h=w[f+998321|0];if(g&h>>>0>>0){continue}break}g=c}if(b>>>0<=h>>>0){break d}k=b;while(1){j=x3a(g,i,k,0);l=Pa;c=h&255;if((l|0)==-1&(c^-1)>>>0>>0){break d}i=l;f=c+j|0;i=f>>>0>>0?i+1|0:i;g=f;c=b;f=v[a+4>>2];p:{if(f>>>0>2]){v[a+4>>2]=f+1;f=w[f|0];break p}f=ke(a)}h=w[f+998321|0];if(c>>>0<=h>>>0){break d}rh(m,k,0,0,0,g,i,0,0);if(!(v[m+8>>2]|v[m+12>>2])){continue}break}break d}l=t[(B(b,23)>>>5&7)+998577|0];c=w[f+998321|0];if(c>>>0>>0){while(1){h=h<>>0<134217728;f=v[a+4>>2];q:{if(f>>>0>2]){v[a+4>>2]=f+1;f=w[f|0];break q}f=ke(a)}c=w[f+998321|0];if(g&c>>>0>>0){continue}break}g=h}if(b>>>0<=c>>>0){break d}j=l&31;if((l&63)>>>0>=32){h=0;j=-1>>>j|0}else{k=-1>>>j|0;h=k;j=h|(1<>>0>j>>>0){break d}while(1){k=c&255;f=g;c=l;g=c&31;if((c&63)>>>0>=32){i=f<>>32-g|i<>2];r:{if(c>>>0>2]){v[a+4>>2]=c+1;f=w[c|0];break r}f=ke(a)}c=w[f+998321|0];if(k>>>0<=c>>>0){break d}if((i|0)==(h|0)&g>>>0<=j>>>0|i>>>0>>0){continue}break}}if(w[f+998321|0]>=b>>>0){break c}while(1){f=v[a+4>>2];s:{if(f>>>0>2]){v[a+4>>2]=f+1;c=w[f|0];break s}c=ke(a)}if(w[c+998321|0]>>0){continue}break}v[296206]=68;n=d&1?0:n;g=d;i=e}if(v[a+104>>2]){v[a+4>>2]=v[a+4>>2]-1}t:{if((e|0)==(i|0)&d>>>0>g>>>0|e>>>0>i>>>0){break t}if(!(n|d&1)){v[296206]=68;a=d;d=a-1|0;e=e-(a>>>0<1)|0;break a}if((e|0)==(i|0)&d>>>0>=g>>>0|e>>>0>i>>>0){break t}v[296206]=68;break a}a=n;c=a^g;d=c-a|0;b=a>>31;e=(b^i)-((a>>>0>c>>>0)+b|0)|0;break a}d=0;e=0;Rj(a,0,0)}Ma=m+16|0;Pa=e;return d}function iW(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0;i=Ma-384|0;Ma=i;a:{b:{switch(b-1|0){case 0:b=v[a+40>>2];j=g*6;k=j*f+d;l=j*.5;g=l*e;A[i+88>>3]=k-g;j=j*e+c;e=l*f;A[i+80>>3]=j+e;Fb(b,341922,i+80|0);b=v[a+40>>2];A[i+72>>3]=d-g;A[i+64>>3]=e+c;Fb(b,342015,i- -64|0);b=v[a+40>>2];A[i+56>>3]=g+d;A[i+48>>3]=c-e;Fb(b,342015,i+48|0);b=v[a+40>>2];A[i+40>>3]=k+g;A[i+32>>3]=j-e;Fb(b,342015,i+32|0);Wb(v[a+40>>2],h?345297:340814);break a;case 1:g=g*6*.5;c=g*e+c;b=Ma-224|0;Ma=b;m=v[a+40>>2];d=g*f+d;A[b+216>>3]=d;e=c+g;A[b+208>>3]=e;Fb(m,341922,b+208|0);m=v[a+40>>2];j=d+g;A[b+200>>3]=j;A[b+192>>3]=c;A[b+184>>3]=j;f=g*.55228475;l=f+c;A[b+176>>3]=l;n=f+d;A[b+168>>3]=n;A[b+160>>3]=e;Fb(m,345246,b+160|0);m=v[a+40>>2];A[b+152>>3]=d;k=c-g;A[b+144>>3]=k;A[b+136>>3]=n;A[b+128>>3]=k;A[b+120>>3]=j;j=c-f;A[b+112>>3]=j;Fb(m,345246,b+112|0);m=v[a+40>>2];g=d-g;A[b+104>>3]=g;A[b+96>>3]=c;A[b+88>>3]=g;A[b+80>>3]=j;c=d-f;A[b+72>>3]=c;A[b+64>>3]=k;Fb(m,345246,b- -64|0);m=v[a+40>>2];A[b+56>>3]=d;A[b+48>>3]=e;A[b+40>>3]=c;A[b+32>>3]=e;A[b+24>>3]=g;A[b+16>>3]=l;Fb(m,345246,b+16|0);a=v[a+40>>2];v[b>>2]=h?302495:237231;Fb(a,337511,b);Ma=b+224|0;break a;case 2:b=v[a+40>>2];A[i+144>>3]=c;A[i+152>>3]=d;Fb(b,341922,i+144|0);b=v[a+40>>2];g=g*6;k=g*.5;j=k*e;k=k*f;l=k+d;A[i+136>>3]=j+l;n=j+c;A[i+128>>3]=n-k;Fb(b,342015,i+128|0);b=v[a+40>>2];A[i+120>>3]=g*f+d;A[i+112>>3]=g*e+c;Fb(b,342015,i+112|0);b=v[a+40>>2];A[i+104>>3]=l-j;A[i+96>>3]=k+n;Fb(b,342015,i+96|0);Wb(v[a+40>>2],h?345297:340814);break a;case 3:b=v[a+40>>2];g=g*10;j=g*.8660254037844387;k=j*f+d;g=g*.49999999999999994;l=g*e;A[i+200>>3]=k-l;f=g*f;e=j*e+c;A[i+192>>3]=f+e;Fb(b,341922,i+192|0);b=v[a+40>>2];A[i+184>>3]=d;A[i+176>>3]=c;Fb(b,342015,i+176|0);b=v[a+40>>2];A[i+168>>3]=l+k;A[i+160>>3]=e-f;Fb(b,342015,i+160|0);Wb(v[a+40>>2],345536);break a;case 4:b=v[a+40>>2];g=g*10;j=g*.8660254037844387;k=j*f+d;g=g*.49999999999999994;l=g*e;A[i+248>>3]=k-l;f=g*f;e=j*e+c;A[i+240>>3]=f+e;Fb(b,341922,i+240|0);b=v[a+40>>2];A[i+232>>3]=d;A[i+224>>3]=c;Fb(b,342015,i+224|0);b=v[a+40>>2];A[i+216>>3]=l+k;A[i+208>>3]=e-f;Fb(b,342015,i+208|0);Wb(v[a+40>>2],h?345297:340814);break a;case 5:b=v[a+40>>2];g=g*6*.5;e=g*e;A[i+280>>3]=d-e;f=g*f;A[i+272>>3]=f+c;Fb(b,341922,i+272|0);b=v[a+40>>2];A[i+264>>3]=e+d;A[i+256>>3]=c-f;Fb(b,342015,i+256|0);Wb(v[a+40>>2],345536);break a;case 6:b=v[a+40>>2];g=g*10;j=g*.49999999999999994;k=j*e;A[i+328>>3]=d-k;j=j*f;A[i+320>>3]=j+c;Fb(b,341922,i+320|0);b=v[a+40>>2];g=g*.8660254037844387;A[i+312>>3]=g*f+d;A[i+304>>3]=g*e+c;Fb(b,342015,i+304|0);b=v[a+40>>2];A[i+296>>3]=k+d;A[i+288>>3]=c-j;Fb(b,342015,i+288|0);Wb(v[a+40>>2],345536);break a;case 7:b=v[a+40>>2];g=g*10;j=g*.49999999999999994;k=j*e;A[i+376>>3]=d-k;j=j*f;A[i+368>>3]=j+c;Fb(b,341922,i+368|0);b=v[a+40>>2];g=g*.8660254037844387;A[i+360>>3]=g*f+d;A[i+352>>3]=g*e+c;Fb(b,342015,i+352|0);b=v[a+40>>2];A[i+344>>3]=k+d;A[i+336>>3]=c-j;Fb(b,342015,i+336|0);Wb(v[a+40>>2],h?345297:340814);break a;case 8:break b;default:break a}}b=v[a+40>>2];g=g*6*.5;j=g*.8660254037844387;k=j*e;g=g*.49999999999999994;l=g*f;A[i+24>>3]=d-k-l;f=j*f;e=g*e;A[i+16>>3]=f+c-e;Fb(b,341922,i+16|0);b=v[a+40>>2];A[i+8>>3]=l+(k+d);A[i>>3]=e+(c-f);Fb(b,342015,i);Wb(v[a+40>>2],345536)}Ma=i+384|0}function zC(a){var 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;h=Ma-16|0;Ma=h;d=gb(160);a:{if(!d){d=0;break a}v[d>>2]=1020092;b:{if(di(a,h+12|0)){break b}if(di(a,d+8|0)){break b}f=1020080;c:{if(!v[254861]){break c}g=v[d+8>>2];b=1019440;while(1){if((g|0)==v[b>>2]){f=b;break c}c=b;b=b+32|0;if(v[c+36>>2]){continue}break}}v[d+4>>2]=f;v[d>>2]=f+12;c=v[h+12>>2];v[d+12>>2]=c;d:{e:{m=d;f:{g:{if((c|0)==1){b=0;c=v[a+8>>2];if(c&7){break b}b=v[a+64>>2];if((b|0)>=0&(b|0)<=v[a+60>>2]){break e}b=v[a+28>>2];v[a+28>>2]=b-1;h:{if((b|0)>=1){v[a+60>>2]=v[a+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;i=w[b|0];break h}i=Eb(a,1);if((i|0)==-1){break d}c=v[a+8>>2]}b=0;if(c&7){break b}b=v[a+64>>2];if((b|0)>=0&(b|0)<=v[a+60>>2]){break e}b=v[a+28>>2];v[a+28>>2]=b-1;i:{if((b|0)>=1){v[a+60>>2]=v[a+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;f=w[b|0];break i}f=Eb(a,1);if((f|0)==-1){break d}c=v[a+8>>2]}b=0;if(c&7){break b}b=v[a+64>>2];if((b|0)>=0&(b|0)<=v[a+60>>2]){break e}b=v[a+28>>2];v[a+28>>2]=b-1;j:{if((b|0)>=1){v[a+60>>2]=v[a+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;j=w[b|0];break j}j=Eb(a,1);if((j|0)==-1){break d}c=v[a+8>>2]}b=0;if(c&7){break b}b=v[a+64>>2];if((b|0)>=0&(b|0)<=v[a+60>>2]){break e}b=v[a+28>>2];v[a+28>>2]=b-1;k:{if((b|0)>=1){v[a+60>>2]=v[a+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;k=w[b|0];break k}k=Eb(a,1);if((k|0)==-1){break d}c=v[a+8>>2]}b=0;if(c&7){break b}b=v[a+64>>2];if((b|0)>=0&(b|0)<=v[a+60>>2]){break e}b=v[a+28>>2];v[a+28>>2]=b-1;l:{if((b|0)>=1){v[a+60>>2]=v[a+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;e=w[b|0];break l}e=Eb(a,1);if((e|0)==-1){break d}c=v[a+8>>2]}b=0;if(c&7){break b}b=v[a+64>>2];if((b|0)>=0&(b|0)<=v[a+60>>2]){break e}b=v[a+28>>2];v[a+28>>2]=b-1;m:{if((b|0)>=1){v[a+60>>2]=v[a+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;l=w[b|0];break m}l=Eb(a,1);if((l|0)==-1){break d}c=v[a+8>>2]}b=0;if(c&7){break b}b=v[a+64>>2];if((b|0)>=0&(b|0)<=v[a+60>>2]){break e}b=v[a+28>>2];v[a+28>>2]=b-1;n:{if((b|0)>=1){v[a+60>>2]=v[a+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;g=w[b|0];break n}g=Eb(a,1);if((g|0)==-1){break d}c=v[a+8>>2]}b=0;if(c&7){break b}b=v[a+64>>2];if((b|0)>=0&(b|0)<=v[a+60>>2]){break e}b=v[a+28>>2];v[a+28>>2]=b-1;if((b|0)>=1){v[a+60>>2]=v[a+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;b=w[b|0];break g}b=Eb(a,1);if((b|0)==-1){break d}break g}b=c-8|0;break f}n=b&255;b=k&255|(j<<8&65280|(f<<16&16711680|i<<24));c=b>>>16|0;b=l&255|(e<<8&65280|b<<16);f=n|(g<<8&65280|b<<16);c=c<<16|b>>>16;b=d;if((c|0)==1|c>>>0>1){Nb(42539,0);c=-1}else{c=f}v[b+12>>2]=c;b=c-16|0}v[m+16>>2]=b;b=0;if(c-1>>>0<7){break b}if(!(w[v[d+4>>2]+8|0]&3)){c=fi(0,0);if(!c){break b}if(Pm(c,a,v[d+16>>2])){Nb(43461,0);b=c;break b}Qm(c);o:{a=v[v[d>>2]+8>>2];if(!a){break o}if(!(Qa[a|0](d,c)|0)){break o}Nb(44323,0);b=c;break b}ne(c)}if(v[279756]<1){break a}g=v[249419];e=Ma-32|0;Ma=e;b=1020080;p:{if(!v[254861]){break p}f=v[d+8>>2];a=1019440;while(1){if((f|0)==v[a>>2]){b=a;break p}c=a;a=a+32|0;if(v[c+36>>2]){continue}break}}Lb(46535,9,1,g);c=v[d+8>>2];a=v[d+12>>2];v[e+4>>2]=v[b+4>>2];v[e+8>>2]=34;v[e+12>>2]=c;v[e+16>>2]=a;v[e>>2]=34;vb(g,47216,e);a=v[v[d>>2]+16>>2];if(a){Qa[a|0](d,g)}Ma=e+32|0;break a}v[a+8>>2]=c|4}b=0}a=v[v[d>>2]+4>>2];if(a){Qa[a|0](d)}$a(d);d=0;if(!b){break a}ne(b)}Ma=h+16|0;return d}function x0(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=gb(16);if(b){v[b+12>>2]=1955;v[b+4>>2]=1956;v[b>>2]=0;v[b+8>>2]=1957}if(!b){return 7}e=Ma-16|0;Ma=e;i=6;a:{if(!b|!a){break a}c=cc(b,208,e+12|0);i=v[e+12>>2];if(i){break a}v[c+204>>2]=1;v[c+12>>2]=4;v[c+4>>2]=2;v[c+8>>2]=10;v[c>>2]=b;v[a>>2]=c;i=0}Ma=e+16|0;b:{if(i){Qa[v[b+8>>2]](b,b);break b}b=v[a>>2];Ui(b,425932);Ui(b,441680);Ui(b,443936);Ui(b,445892);Ui(b,450568);Ui(b,452676);Ui(b,453004);Ui(b,453904);Ui(b,454472);Ui(b,455308);Ui(b,518160);Ui(b,518332);Ui(b,518368);Ui(b,518604);Ui(b,425808);Ui(b,424056)}j=v[a>>2];h=Ma-432|0;Ma=h;c:{e=ii(310199);if(!e){break c}while(1){c=0;d:{e:{f:{b=e;f=w[b|0];switch(f|0){case 9:break d;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break e;case 0:break c;default:break f}}if((f|0)==32){break d}}g:{h:{while(1){a=f&255;if(!a|(a|0)==58){break g}t[(h+288|0)+c|0]=f;a=c|1;f=b+1|0;d=w[b+1|0];if(!(d?(d|0)!=58:0)){b=f;c=a;break g}t[a+(h+288|0)|0]=d;a=c|2;f=b+2|0;d=w[b+2|0];if(!d|(d|0)==58){break h}t[a+(h+288|0)|0]=d;a=c|3;f=b+3|0;d=w[b+3|0];if(!(!d|(d|0)==58)){t[a+(h+288|0)|0]=d;b=b+4|0;c=c+4|0;if((c|0)==128){c=128;break g}f=w[b|0];continue}break}b=f;c=a;break g}b=f;c=a}t[(h+288|0)+c|0]=0;if((b|0)==(e|0)|w[b|0]!=58){break c}a=1;c=b+1|0;f=0;i:{while(1){e=w[c|0];if(!e){e=f;break i}if((e|0)==61){e=f;break i}t[(h+144|0)+f|0]=e;e=f|1;d=a+1|0;c=d+b|0;g=w[c|0];if(!(g?(g|0)!=61:0)){a=d;break i}t[(h+144|0)+e|0]=g;e=f|2;d=a+2|0;c=d+b|0;g=w[c|0];if(!g){a=d;break i}if((g|0)==61){a=d;break i}t[(h+144|0)+e|0]=g;e=f|3;d=a+3|0;c=d+b|0;g=w[c|0];if(!g){a=d;break i}if((g|0)==61){a=d;break i}t[(h+144|0)+e|0]=g;a=a+4|0;c=b+a|0;e=128;f=f+4|0;if((f|0)!=128){continue}break}a=129}t[(h+144|0)+e|0]=0;if((a|0)==1|w[c|0]!=61){break c}a=1;e=c+1|0;f=0;j:{while(1){d=a;b=f;k:{l:{g=w[e|0];switch(g|0){case 0:case 9:break j;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break k;default:break l}}if((g|0)!=32){break k}break j}t[f+h|0]=g;b=f|1;m:{n:{d=a+1|0;e=c+d|0;g=w[e|0];switch(g|0){case 0:case 9:break j;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break m;default:break n}}if((g|0)==32){break j}}t[b+h|0]=g;b=f|2;o:{p:{d=a+2|0;e=c+d|0;g=w[e|0];switch(g|0){case 0:case 9:break j;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break o;default:break p}}if((g|0)==32){break j}}t[b+h|0]=g;b=f|3;q:{r:{d=a+3|0;e=c+d|0;g=w[e|0];switch(g|0){case 0:case 9:break j;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break q;default:break r}}if((g|0)==32){break j}}t[b+h|0]=g;a=a+4|0;e=c+a|0;b=128;f=f+4|0;if((f|0)!=128){continue}break}d=129}t[b+h|0]=0;s:{t:{a=w[e|0];switch(a|0){case 0:case 9:break s;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break c;default:break t}}if((a|0)!=32){break c}}if((d|0)==1){break c}a=h+288|0;b=h+144|0;u:{if(!j){break u}v:{if(!h|(!a|!b)){break v}d=j+20|0;f=v[j+16>>2];c=d+(f<<2)|0;w:{if((f|0)<1){break w}while(1){if(!hb(v[v[v[d>>2]>>2]+8>>2],a)){break w}d=d+4|0;if(c>>>0>d>>>0){continue}break}}if((c|0)==(d|0)){break u}a=v[d>>2];c=v[v[a>>2]+32>>2];if(!c){break v}a=Qa[c|0](a,236641)|0;if(!a){break v}a=v[a>>2];if(!a){break v}Qa[a|0](v[d>>2],b,h,1)|0}}if(!w[e|0]){break c}}e=e+1|0;continue}}Ma=h+432|0;return i}function LS(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=Ma-32|0;Ma=j;a:{d=v[b>>2];if(d){f=d+36|0;e=Bd(f);h=a+16|0;d=h;d=v[v[d+12>>2]+((e>>>0)%y[d+8>>2]<<2)>>2];if(d){while(1){if((e|0)==v[d+12>>2]){if(!ld(d+16|0,f,-1)){break a}}d=v[d+8>>2];if(d){continue}break}}b:{if((zy(v[c>>2],j+8|0,0,4,0)|0)!=4|(w[j+8|0]|w[j+9|0]<<8|(w[j+10|0]<<16|w[j+11|0]<<24))!=1411798081){break b}Tu(j,c,4,-1);jb(c,j);d=v[j>>2];v[j>>2]=0;if(!d){break b}e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(e){break b}e=v[d+4>>2];if(!e){v[d+4>>2]=-32767}if(!e){Qa[v[v[d>>2]+4>>2]](d)}}jb(xj(h,v[b>>2]+36|0)+24|0,c);h=Ma-32|0;Ma=h;f=v[a+8>>2];g=v[f+16>>2];c=b;d=v[b>>2]+36|0;b=Bd(d);c:{d:{e:{f:{g:{h:{e=f+80|0;a=e;a=v[v[a+12>>2]+((b>>>0)%y[a+8>>2]<<2)>>2];if(a){while(1){if((b|0)==v[a+12>>2]){if(!ld(a+16|0,d,-1)){break h}}a=v[a+8>>2];if(a){continue}break}}i=v[c>>2]+20|0;b=Bd(i);d=f+52|0;a=v[v[d+12>>2]+((b>>>0)%y[d+8>>2]<<2)>>2];if(a){while(1){if((b|0)==v[a+12>>2]){if(!ld(a+16|0,i,-1)){break g}}a=v[a+8>>2];if(a){continue}break}}jb(xj(d,v[c>>2]+20|0)+24|0,c);jb(xj(e,v[c>>2]+36|0)+24|0,c);b=v[c>>2];a=v[b+44>>2];if(!(!a|!v[a+8>>2])){d=b+44|0;b=Bd(d);e=f+108|0;a=e;a=v[v[a+12>>2]+((b>>>0)%y[a+8>>2]<<2)>>2];if(a){while(1){if((b|0)==v[a+12>>2]){if(!ld(a+16|0,d,-1)){break f}}a=v[a+8>>2];if(a){continue}break}}jb(xj(e,v[c>>2]+44|0)+24|0,c);b=v[c>>2]}d=f+20|0;a=v[d>>2];i:{j:{k:{if((w[b+52|0]&63)==3){if(!a){break k}b=a;while(1){if((w[v[b+8>>2]+52|0]&63)==3){break e}b=v[b>>2];if(b){continue}break}}b=0;e=(a|0)!=0;i=f+12|0;l:{if(!a|!g){break l}while(1){a=v[a>>2];e=(a|0)!=0;if(!a){break l}b=b+1|0;if((g|0)!=(b|0)){continue}break}}if(!e){break j}v[h+12>>2]=i;v[h+8>>2]=a;a=ab(12);v[a>>2]=0;v[a+4>>2]=0;b=0;v[a+8>>2]=0;e=a;g=v[c>>2];if(g){v[g+4>>2]=v[g+4>>2]+1;g=v[c>>2]}else{g=0}v[e+8>>2]=g;lR(i,h+8|0,a);break i}d=f+20|0;i=f+12|0}a=ab(12);v[a>>2]=0;v[a+4>>2]=0;b=0;v[a+8>>2]=0;e=a;g=v[c>>2];if(g){v[g+4>>2]=v[g+4>>2]+1;g=v[c>>2]}else{g=0}v[e+8>>2]=g;de(i,a)}e=v[c>>2];m:{if((w[e+52|0]&63)!=1){break m}a=v[d>>2];n:{if(!a){break n}while(1){d=v[a+8>>2];if((d|0)==(e|0)){break n}b=((w[d+52|0]&63)==1)+b|0;a=v[a>>2];if(a){continue}break}}pi(f+28|0,0,(v[f+48>>2]-v[f+44>>2]|0)+1|0);i=v[f+48>>2];e=v[f+44>>2];a=i-e|0;if((b|0)<(a|0)){d=a+1|0;while(1){g=d-2|0;if((g|0)<(e|0)|(i|0)<(g|0)|((d|0)<=(e|0)|(a|0)>(i|0))){break d}e=v[f+32>>2];d=v[f+36>>2];jb(e+(a-d<<2)|0,e+(g-d<<2)|0);i=v[f+48>>2];e=v[f+44>>2];d=a;a=a-1|0;if((b|0)<(a|0)){continue}break}}if((b|0)<(e|0)|(b|0)>(i|0)){break d}jb(v[f+32>>2]+(b-v[f+36>>2]<<2)|0,c);c=v[f+48>>2];d=v[f+44>>2];e=(c-d|0)+1|0;if((e|0)<=(b|0)){break m}i=v[f+36>>2];f=v[f+32>>2];a=b;while(1){if((b|0)<(d|0)|(a|0)>(c|0)){break d}v[v[f+(a-i<<2)>>2]+56>>2]=a;a=a+1|0;if((e|0)!=(a|0)){continue}break}}Ma=h+32|0;break c}Rc(h,348967,v[c>>2]+36|0);a=v[h>>2];lb(mb(h+8|0,v[(a?a+12|0:1117e3)>>2],241117,662,329334));L()}Rc(h,348896,v[c>>2]+20|0);a=v[h>>2];lb(mb(h+8|0,v[(a?a+12|0:1117e3)>>2],241117,664,329334));L()}Rc(h,348917,v[c>>2]+44|0);a=v[h>>2];lb(mb(h+8|0,v[(a?a+12|0:1117e3)>>2],241117,671,329334));L()}lb(mb(h+8|0,319764,241117,680,329334));L()}lb(mb(h+8|0,227376,271519,619,307978));L()}Ma=j+32|0;return}lb(mb(j+8|0,280436,242035,178,328759));L()}lb(mb(j+8|0,276727,242035,180,328759));L()}function r3(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0;j=Ma-48|0;Ma=j;g=v[c>>2];f=v[c+4>>2];c=0;v[j+32>>2]=0;v[j+24>>2]=0;v[j+28>>2]=0;i=f-g|0;r=i>>2;f=0;a:{b:{c:{if(i){if((i|0)<=-1){break c}o=ab(i);v[j+24>>2]=o;v[j+32>>2]=(r<<2)+o;f=cb(o,g,i)+i|0;v[j+28>>2]=f}v[j+8>>2]=b;LK(o,f,j+8|0);v[j+16>>2]=0;v[j+8>>2]=0;if(!i){break a}u=e?12:0;s=d+4|0;i=0;g=0;while(1){h=v[(n<<2)+o>>2];m=v[v[v[b+12>>2]+(h<<2)>>2]+4>>2];d:{e:{f:{if(c>>>0>i>>>0){v[i>>2]=h;k=i+4|0;v[j+12>>2]=k;break f}c=c-i|0;c=c>>2>>>0<536870911?c?c>>1:1:1073741823;if(c>>>0>=1073741824){break e}c=c<<2;f=ab(c);v[f>>2]=h;c=c+f|0;v[j+16>>2]=c;k=f+4|0;v[j+12>>2]=k;v[j+8>>2]=f;if(i){$a(i)}i=f}f=i;g:{h:{n=n+1|0;i:{if(r>>>0<=n>>>0){break i}while(1){l=v[(n<<2)+o>>2];if((m|0)!=v[v[v[b+12>>2]+(l<<2)>>2]+4>>2]){break i}j:{if(c>>>0>k>>>0){v[k>>2]=l;k=k+4|0;v[j+12>>2]=k;break j}p=k-f|0;h=p>>2;q=h+1|0;if(q>>>0>=1073741824){break g}i=c-f|0;c=i>>1;c=i>>2>>>0<536870911?c>>>0>>0?q:c:1073741823;if(c){if(c>>>0>=1073741824){break h}i=ab(c<<2)}else{i=0}h=i+(h<<2)|0;v[h>>2]=l;c=(c<<2)+i|0;k=h+4|0;if((p|0)>=1){cb(i,f,p)}v[j+16>>2]=c;v[j+12>>2]=k;v[j+8>>2]=i;if(f){$a(f)}f=i}n=n+1|0;if((r|0)!=(n|0)){continue}break}n=r}v[j+40>>2]=b;KK(i,k,j+40|0);q=m-u|0;bp(a,1,q-g|0);c=0;if((i|0)==(k|0)){break d}while(1){h=v[i>>2];f=h<<2;p=v[v[f+v[b+12>>2]>>2]>>2]-u|0;bp(a,4,p-c|0);f=v[f+v[b+12>>2]>>2];c=j;k:{if(e){f=yK(f,6);break k}if(f){v[f+16>>2]=v[f+16>>2]+1}}v[c+40>>2]=f;Bt(f);t3(a,v[v[j+40>>2]+40>>2],p,q,0);l:{f=s;c=v[f>>2];if(!c){c=s;f=c;break l}while(1){g=v[c+16>>2];m:{if((g|0)>(h|0)){g=v[c>>2];if(g){break m}f=c;break l}if((g|0)>=(h|0)){break l}f=c+4|0;g=v[c+4>>2];if(!g){break l}c=f}f=c;c=g;continue}}l=v[f>>2];if(!l){l=ab(24);v[l+16>>2]=h;v[l+8>>2]=c;v[l>>2]=0;v[l+4>>2]=0;v[l+20>>2]=0;v[f>>2]=l;c=v[v[d>>2]>>2];if(c){v[d>>2]=c;f=v[f>>2]}else{f=l}m=v[s>>2];c=(m|0)==(f|0);t[f+12|0]=c;n:{if(c){break n}while(1){h=v[f+8>>2];if(w[h+12|0]){break n}o:{c=v[h+8>>2];g=v[c>>2];p:{if((h|0)==(g|0)){g=v[c+4>>2];if(!(!g|w[g+12|0])){break o}q:{if(v[h>>2]==(f|0)){g=h;break q}g=v[h+4>>2];m=v[g>>2];v[h+4>>2]=m;f=g;if(m){v[m+8>>2]=h;c=v[h+8>>2]}v[f+8>>2]=c;c=v[h+8>>2];v[(((h|0)!=v[c>>2])<<2)+c>>2]=g;v[g>>2]=h;v[h+8>>2]=g;c=v[g+8>>2]}t[g+12|0]=1;t[c+12|0]=0;f=v[c>>2];g=v[f+4>>2];v[c>>2]=g;if(g){v[g+8>>2]=c}v[f+8>>2]=v[c+8>>2];g=v[c+8>>2];v[((v[g>>2]!=(c|0))<<2)+g>>2]=f;v[f+4>>2]=c;break p}if(!(w[g+12|0]|!g)){break o}r:{if(v[h>>2]!=(f|0)){f=h;break r}m=v[f+4>>2];v[h>>2]=m;g=f;if(m){v[m+8>>2]=h;c=v[h+8>>2]}v[g+8>>2]=c;c=v[h+8>>2];v[(((h|0)!=v[c>>2])<<2)+c>>2]=f;v[f+4>>2]=h;v[h+8>>2]=f;c=v[f+8>>2]}t[f+12|0]=1;t[c+12|0]=0;f=v[c+4>>2];g=v[f>>2];v[c+4>>2]=g;if(g){v[g+8>>2]=c}v[f+8>>2]=v[c+8>>2];g=v[c+8>>2];v[((v[g>>2]!=(c|0))<<2)+g>>2]=f;v[f>>2]=c}v[c+8>>2]=f;break n}t[h+12|0]=1;h=(c|0)==(m|0);t[c+12|0]=h;t[g+12|0]=1;f=c;if(!h){continue}break}}v[d+8>>2]=v[d+8>>2]+1;k=v[j+12>>2]}v[l+20>>2]=x;_b(j+40|0);x=x+1|0;c=p;i=i+4|0;if((k|0)!=(i|0)){continue}break}break d}Zd(9961);L()}Jc();L()}Zd(9961);L()}u3(a,4);if(n>>>0>=r>>>0){break b}c=v[j+16>>2];i=v[j+8>>2];o=v[j+24>>2];g=q;continue}}Jc();L()}c=v[j+8>>2]}bp(a,5,0);bp(a,5,r);MK(a);if(c){$a(c)}a=v[j+24>>2];if(a){$a(a)}Ma=j+48|0}function oG(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0;m=Ma-16|0;Ma=m;a:{b:{f=v[a+56>>2];f=Qa[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break b}g=v[a+56>>2];g=Qa[v[v[g>>2]+28>>2]](g)|0;if((g|0)==-1){break b}i=v[a+56>>2];i=Qa[v[v[i>>2]+28>>2]](i)|0;if((i|0)==-1){break b}j=v[a+56>>2];j=Qa[v[v[j>>2]+28>>2]](j)|0;if((j|0)==-1){break b}v[a+68>>2]=v[a+68>>2]+4;k=v[a+56>>2];k=Qa[v[v[k>>2]+28>>2]](k)|0;if((k|0)==-1){break b}h=v[a+56>>2];h=Qa[v[v[h>>2]+28>>2]](h)|0;if((h|0)==-1){break b}l=v[a+56>>2];l=Qa[v[v[l>>2]+28>>2]](l)|0;if((l|0)==-1){break b}n=v[a+56>>2];n=Qa[v[v[n>>2]+28>>2]](n)|0;if((n|0)==-1){break b}v[a+68>>2]=v[a+68>>2]+4;o=v[a+56>>2];o=Qa[v[v[o>>2]+28>>2]](o)|0;if((o|0)==-1){break b}p=v[a+56>>2];p=Qa[v[v[p>>2]+28>>2]](p)|0;if((p|0)==-1){break b}q=v[a+56>>2];q=Qa[v[v[q>>2]+28>>2]](q)|0;if((q|0)==-1){break b}r=v[a+56>>2];r=Qa[v[v[r>>2]+28>>2]](r)|0;if((r|0)==-1){break b}v[a+68>>2]=v[a+68>>2]+4;s=v[a+56>>2];s=Qa[v[v[s>>2]+28>>2]](s)|0;if((s|0)==-1){break b}t=v[a+56>>2];t=Qa[v[v[t>>2]+28>>2]](t)|0;if((t|0)==-1){break b}u=v[a+56>>2];u=Qa[v[v[u>>2]+28>>2]](u)|0;if((u|0)==-1){break b}w=v[a+56>>2];w=Qa[v[v[w>>2]+28>>2]](w)|0;if((w|0)==-1){break b}v[a+68>>2]=v[a+68>>2]+4;x=v[a+56>>2];x=Qa[v[v[x>>2]+28>>2]](x)|0;if((x|0)==-1){break b}v[a+68>>2]=v[a+68>>2]+1;c:{j=j|(g<<16|f<<24|i<<8);if(j){g=n|(h<<16|k<<24|l<<8);if(g){break c}}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229997,0);break a}d:{f=v[a+24>>2];e:{if(f>>>0<(j>>>0)/10>>>0){break e}i=w|(t<<16|s<<24|u<<8);h=v[a+28>>2];k=r|(p<<16|o<<24|q<<8);if(h>>>0<(g>>>0)/10>>>0|(k>>>0)/10>>>0>f>>>0){break e}if(h>>>0>=(i>>>0)/10>>>0){break d}}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,229933,0);v[a+72>>2]=1;break a}f=v[a+56>>2];h=Qa[v[v[f>>2]+28>>2]](f)|0;if((h|0)==-1){break b}v[a+68>>2]=v[a+68>>2]+1;l=h&1;if(!l){f=v[a+56>>2];f=Qa[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break b}v[a+68>>2]=v[a+68>>2]+1;v[m+8>>2]=f&128?f|-256:f;f=v[a+56>>2];f=Qa[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break b}v[a+68>>2]=v[a+68>>2]+1;v[m>>2]=f&128?f|-256:f;f=v[a+56>>2];f=Qa[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break b}v[a+68>>2]=v[a+68>>2]+1;v[m+12>>2]=f&128?f|-256:f;f=v[a+56>>2];f=Qa[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break b}v[a+68>>2]=v[a+68>>2]+1;v[m+4>>2]=f&128?f|-256:f}f:{if(!(!e|(c|0)!=0)|v[a+28>>2]!=-1){break f}f=g+i|0;if(f>>>0<=y[a+32>>2]){break f}kz(v[a+40>>2],f,v[a+36>>2])}if(e>>>0>=2){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,228969,0);break a}g:{if((e|0)==1){f=hz(a,v[d>>2]);if(f){if(!(Qa[v[v[f>>2]+8>>2]](f)|0)){break g}}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,228912,0);break a}f=sG(v[a+40>>2],k,i,j,g)}iz(a,l,0);km(v[a+76>>2]);g=mG(a,j,g,l,h>>>1&1,f,0,0,m+8|0,m);h:{if(c){wk(v[a+40>>2],g,k,i,x&7);Qa[v[v[g>>2]+4>>2]](g);break h}v[g+4>>2]=b;Ib(v[a+48>>2],g)}if((e|0)==1){c=v[d>>2];b=0;i:{d=v[a+52>>2];e=v[d+8>>2];if((e|0)<1){break i}f=v[d>>2];while(1){if((c|0)!=v[v[f+(b<<2)>>2]+4>>2]){b=b+1|0;if((e|0)!=(b|0)){continue}break i}break}xz(d,b);break a}a=v[a+48>>2];d=v[a+8>>2];if((d|0)>=1){e=v[a>>2];b=0;while(1){if((c|0)==v[v[e+(b<<2)>>2]+4>>2]){xz(a,b);break a}b=b+1|0;if((d|0)!=(b|0)){continue}break}}break a}Qa[v[v[f>>2]+4>>2]](f);break a}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,258162,0)}Ma=m+16|0}function T$a(a){a=a|0;var 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;b=v[a+572>>2];d=v[a+664>>2];a:{if((b|0)<(d|0)|(b|0)>=v[a+668>>2]){break a}j=Qa[v[a+220>>2]](a,v[a+680>>2]+(b-d|0)|0)|0;b=v[a+580>>2];d=(j+(b<<2)|0)+B(v[a+672>>2],3)|0;g=v[a+656>>2];c=(g|0)/v[a+584>>2]|0;e=v[a+644>>2];b:{if(!w[a+648|0]){g=b+g|0;b=e+(c<<2)|0;c=v[a+660>>2];if(!w[a+649|0]){break b}if((c|0)<=(g|0)){break a}while(1){t[d+1|0]=w[b+2|0]&248|w[b+1|0]>>>5;t[d|0]=w[b+1|0]<<3&224|w[b|0]>>>3;t[d+2|0]=w[b+3|0];b=b+4|0;c=v[a+584>>2];d=B(c,3)+d|0;g=c+g|0;if((g|0)>2]){continue}break}break a}g=b+g|0;b=e+(c<<3)|0;c=v[a+660>>2];if(w[a+649|0]){if((c|0)<=(g|0)){break a}while(1){t[d+1|0]=w[b+4|0]&248|w[b+2|0]>>>5;t[d|0]=w[b+2|0]<<3&224|w[b|0]>>>3;t[d+2|0]=w[b+6|0];b=b+8|0;c=v[a+584>>2];d=B(c,3)+d|0;g=c+g|0;if((g|0)>2]){continue}break}break a}if((c|0)<=(g|0)){break a}while(1){c=w[b+6|0]|w[b+7|0]<<8;c=(c<<8|c>>>8)&65535;c:{if(!c){break c}d:{if((c|0)!=65535){e=w[d+2|0];e=e<<8|e;if(e){break d}}t[d+1|0]=w[b+4|0]&248|w[b+2|0]>>>5;t[d|0]=w[b+2|0]<<3&224|w[b|0]>>>3;t[d+2|0]=w[b+6|0];break c}if((e|0)==65535){e=w[b|0]|w[b+1|0]<<8;f=w[b+2|0]|w[b+3|0]<<8;o=B(c,(f<<8|f>>>8)&65535);f=w[d|0];k=w[d+1|0];h=f>>>3&28|k<<5;j=h<<8&64512|h;h=c^65535;i=(o+B(j,h)|0)+32768|0;i=(i>>>16|0)+i|0;l=w[b+4|0]|w[b+5|0]<<8;f=(B(c,(l<<8|l>>>8)&65535)+B(h,f<<11&63488|f<<3)|0)+32768|0;t[d+1|0]=i>>>29|(f>>>16|0)+f>>>24&248;c=(B((e<<8|e>>>8)&65535,c)+B(B(h,k&248),257)|0)+32768|0;t[d|0]=i>>>21&224|(c>>>16|0)+c>>>27;break c}h=w[d+1|0];f=w[d|0];k=w[b|0]|w[b+1|0]<<8;i=w[b+2|0]|w[b+3|0]<<8;l=w[b+4|0]|w[b+5|0]<<8;m=c^65535;n=B(m,e^65535)^-1;t[d+2|0]=n>>>24;j=B(e,m);m=n>>>16|0;e=(j>>>0)/(m>>>0)|0;c=(c<<16>>>0)/(m>>>0)|0;j=B(c,(i<<8|i>>>8)&65535);i=f>>>3&28|h<<5;i=(j+B(e,i<<8&64512|i)|0)+32767|0;t[d+1|0]=(B(e,f<<11&63488|f<<3)+B(c,(l<<8|l>>>8)&65535)|0)+32767>>>24&248|i>>>29;t[d|0]=i>>>21&224|(B(B(e,h&248),257)+B(c,(k<<8|k>>>8)&65535)|0)+32767>>>27}b=b+8|0;c=v[a+584>>2];d=B(c,3)+d|0;g=c+g|0;if((g|0)>2]){continue}break}break a}if((c|0)<=(g|0)){break a}while(1){c=w[b+3|0];e:{if(!c){break e}f:{if((c|0)!=255){e=w[d+2|0];if(e){break f}}t[d+1|0]=w[b+2|0]&248|w[b+1|0]>>>5;t[d|0]=w[b+1|0]<<3&224|w[b|0]>>>3;t[d+2|0]=w[b+3|0];break e}h=w[d|0];k=w[d+1|0];f=h>>>3&28|k<<5;h=h<<3;k=k&-8;if((e|0)==255){i=w[b+2|0];e=c^255;f=(B(e,f&255)+B(c,w[b+1|0])|0)+128|0;f=(f>>>8&255)+f|0;h=(B(e,h&255)+B(c,w[b|0])|0)+128|0;t[d|0]=f>>>5&224|(h>>>8&255)+h>>>11&31;c=(B(e,k&255)+B(c,i)|0)+128|0;t[d+1|0]=(c>>>8&255)+c>>>8&248|f>>>13&7;break e}i=w[b|0];l=w[b+2|0];m=w[b+1|0];n=c^255;o=B(n,e^255)>>>8^-1;t[d+2|0]=o;j=f&255;f=o&255;e=(B(e,n)>>>0)/(f>>>0)|0;c=(c<<8>>>0)/(f>>>0)|0;f=(B(j,e)+B(c,m)|0)+127|0;t[d+1|0]=(B(e,k&255)+B(c,l)|0)+127>>>8&248|f>>>13&7;t[d|0]=f>>>5&224|(B(e,h&255)+B(c,i)|0)+127>>>11&31}b=b+4|0;c=v[a+584>>2];d=B(c,3)+d|0;g=c+g|0;if((g|0)>2]){continue}break}}d=v[a+680>>2]+v[a+572>>2]|0;g=v[a+664>>2];b=v[a+556>>2];c=v[a+672>>2];g:{if((c|0)>=v[a+552>>2]){if(b){break g}b=0}v[a+552>>2]=c}j=b;b=v[a+676>>2];if((j|0)<(b|0)){v[a+556>>2]=b}b=v[a+564>>2];d=d-g|0;h:{if((d|0)>=v[a+560>>2]){if(b){break h}b=0}v[a+560>>2]=d}if((b|0)<=(d|0)){v[a+564>>2]=d+1}return 0}function U$a(a){a=a|0;var 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;b=v[a+572>>2];d=v[a+664>>2];a:{if((b|0)<(d|0)|(b|0)>=v[a+668>>2]){break a}k=Qa[v[a+220>>2]](a,v[a+680>>2]+(b-d|0)|0)|0;b=v[a+580>>2];d=(k+(b<<2)|0)+B(v[a+672>>2],3)|0;g=v[a+656>>2];c=(g|0)/v[a+584>>2]|0;e=v[a+644>>2];b:{if(!w[a+648|0]){g=b+g|0;b=e+(c<<2)|0;c=v[a+660>>2];if(!w[a+649|0]){break b}if((c|0)<=(g|0)){break a}while(1){t[d+1|0]=w[b|0]&248|w[b+1|0]>>>5;t[d|0]=w[b+1|0]<<3&224|w[b+2|0]>>>3;t[d+2|0]=w[b+3|0];b=b+4|0;c=v[a+584>>2];d=B(c,3)+d|0;g=c+g|0;if((g|0)>2]){continue}break}break a}g=b+g|0;b=e+(c<<3)|0;c=v[a+660>>2];if(w[a+649|0]){if((c|0)<=(g|0)){break a}while(1){t[d+1|0]=w[b|0]&248|w[b+2|0]>>>5;t[d|0]=w[b+2|0]<<3&224|w[b+4|0]>>>3;t[d+2|0]=w[b+6|0];b=b+8|0;c=v[a+584>>2];d=B(c,3)+d|0;g=c+g|0;if((g|0)>2]){continue}break}break a}if((c|0)<=(g|0)){break a}while(1){c=w[b+6|0]|w[b+7|0]<<8;c=(c<<8|c>>>8)&65535;c:{if(!c){break c}d:{if((c|0)!=65535){e=w[d+2|0];e=e<<8|e;if(e){break d}}t[d+1|0]=w[b|0]&248|w[b+2|0]>>>5;t[d|0]=w[b+2|0]<<3&224|w[b+4|0]>>>3;t[d+2|0]=w[b+6|0];break c}if((e|0)==65535){e=w[b+4|0]|w[b+5|0]<<8;f=w[b+2|0]|w[b+3|0]<<8;n=B(c,(f<<8|f>>>8)&65535);f=w[d|0];j=w[d+1|0];h=f>>>3&28|j<<5;k=h<<8&64512|h;h=c^65535;i=(n+B(k,h)|0)+32768|0;i=(i>>>16|0)+i|0;m=w[b|0]|w[b+1|0]<<8;f=(B(c,(m<<8|m>>>8)&65535)+B(h,f<<11&63488|f<<3)|0)+32768|0;t[d+1|0]=i>>>29|(f>>>16|0)+f>>>24&248;c=(B((e<<8|e>>>8)&65535,c)+B(B(h,j&248),257)|0)+32768|0;t[d|0]=i>>>21&224|(c>>>16|0)+c>>>27;break c}h=w[d+1|0];f=w[d|0];j=w[b|0]|w[b+1|0]<<8;i=w[b+2|0]|w[b+3|0]<<8;m=w[b+4|0]|w[b+5|0]<<8;o=c^65535;l=B(o,e^65535)^-1;t[d+2|0]=l>>>24;k=(i<<8|i>>>8)&65535;i=l>>>16|0;c=(c<<16>>>0)/(i>>>0)|0;e=(B(e,o)>>>0)/(i>>>0)|0;l=f>>>3&28|h<<5;i=(B(k,c)+B(e,l<<8&64512|l)|0)+32767|0;t[d+1|0]=i>>>29|(B(e,f<<11&63488|f<<3)+B(c,(j<<8|j>>>8)&65535)|0)+32767>>>24&248;t[d|0]=i>>>21&224|(B(B(e,h&248),257)+B(c,(m<<8|m>>>8)&65535)|0)+32767>>>27}b=b+8|0;c=v[a+584>>2];d=B(c,3)+d|0;g=c+g|0;if((g|0)>2]){continue}break}break a}if((c|0)<=(g|0)){break a}while(1){c=w[b+3|0];e:{if(!c){break e}f:{if((c|0)!=255){e=w[d+2|0];if(e){break f}}t[d+1|0]=w[b|0]&248|w[b+1|0]>>>5;t[d|0]=w[b+1|0]<<3&224|w[b+2|0]>>>3;t[d+2|0]=w[b+3|0];break e}h=w[d|0];j=w[d+1|0];f=h>>>3&28|j<<5;h=h<<3;j=j&-8;if((e|0)==255){i=w[b|0];e=c^255;h=(B(e,h&255)+B(c,w[b+2|0])|0)+128|0;f=(B(e,f&255)+B(c,w[b+1|0])|0)+128|0;f=(f>>>8&255)+f|0;t[d|0]=(h>>>8&255)+h>>>11&31|f>>>5&224;c=(B(e,j&255)+B(c,i)|0)+128|0;t[d+1|0]=f>>>13&7|(c>>>8&255)+c>>>8&248;break e}i=w[b+2|0];m=w[b+1|0];o=w[b|0];l=c^255;n=B(l,e^255)>>>8^-1;t[d+2|0]=n;k=f&255;f=n&255;e=(B(e,l)>>>0)/(f>>>0)|0;c=(c<<8>>>0)/(f>>>0)|0;f=(B(k,e)+B(c,m)|0)+127|0;t[d+1|0]=f>>>13&7|(B(e,j&255)+B(c,o)|0)+127>>>8&248;t[d|0]=(B(e,h&255)+B(c,i)|0)+127>>>11&31|f>>>5&224}b=b+4|0;c=v[a+584>>2];d=B(c,3)+d|0;g=c+g|0;if((g|0)>2]){continue}break}}d=v[a+680>>2]+v[a+572>>2]|0;g=v[a+664>>2];b=v[a+556>>2];c=v[a+672>>2];g:{if((c|0)>=v[a+552>>2]){if(b){break g}b=0}v[a+552>>2]=c}k=b;b=v[a+676>>2];if((k|0)<(b|0)){v[a+556>>2]=b}b=v[a+564>>2];d=d-g|0;h:{if((d|0)>=v[a+560>>2]){if(b){break h}b=0}v[a+560>>2]=d}if((b|0)<=(d|0)){v[a+564>>2]=d+1}return 0}function cWa(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,n=0,o=0;n=Ma-1280|0;Ma=n;a:{if(!(w[a+285|0]|w[a+288|0])){c=1029;ob(a,1029,0,0);break a}if(!c){c=1028;ob(a,1028,0,0);break a}m=w[d|0];if(m>>>0>=6){c=1053;ob(a,1053,0,0);break a}if(w[a+325|0]!=3){c=1037;ob(a,1037,0,0);break a}eb(n+512|0,0,768);eb(n+256|0,255,256);i=eb(n,0,256);g=c-1|0;c=d+1|0;b:{c:{d:{e:{if(m>>>0<=1){while(1){f:{switch(g|0){case 1:break b;case 0:break e;default:break f}}l=w[c+1|0];h=w[c|0];if(l>>>0>>0){break c}d=g-2|0;f=l-h|0;if(d>>>0>>0){break d}k=j>>>0>l>>>0;o=l+1|0;g:{if(!(f+1&1)){f=h;c=c+2|0;break g}d=(i+512|0)+B(h,3)|0;t[d|0]=w[c+2|0];t[d+1|0]=w[c+3|0];t[d+2|0]=w[c+4|0];t[i+h|0]=1;f=h+1|0;g=g-5|0;d=g;c=c+5|0}j=k?j:o;if((h|0)==(l|0)){continue}while(1){g=(i+512|0)+B(f,3)|0;t[g|0]=w[c|0];t[g+1|0]=w[c+1|0];t[g+2|0]=w[c+2|0];t[f+i|0]=1;t[g+3|0]=w[c+3|0];t[g+4|0]=w[c+4|0];t[g+5|0]=w[c+5|0];g=f+1|0;t[g+i|0]=1;f=f+2|0;d=d-6|0;c=c+6|0;if((g|0)!=(l|0)){continue}break}g=d;continue}}d=m&254;if((d|0)==2){l=(d|0)==4;while(1){h:{switch(g|0){case 1:break b;case 0:break e;default:break h}}d=w[c|0];h=w[c+1|0];if(d>>>0>h>>>0){break c}k=h-d|0;f=k+1|0;if(g-2>>>0<(l?f<<2:f)>>>0){break d}c=c+2|0;o=d+g|0;f=f&3;if(f){while(1){g=w[c|0];t[d+i|0]=1;t[(i+256|0)+d|0]=g;d=d+1|0;c=c+1|0;f=f-1|0;if(f){continue}break}}if(k>>>0>=3){while(1){f=w[c|0];t[d+i|0]=1;g=i+256|0;t[g+d|0]=f;f=w[c+1|0];k=d+1|0;t[k+i|0]=1;t[g+k|0]=f;f=w[c+2|0];k=d+2|0;t[k+i|0]=1;t[g+k|0]=f;k=w[c+3|0];f=d+3|0;t[f+i|0]=1;t[g+f|0]=k;d=d+4|0;c=c+4|0;if((f|0)!=(h|0)){continue}break}}j=h>>>0>>0?j:h+1|0;g=(o-3|0)-h|0;continue}}l=(d|0)==4;while(1){i:{switch(g|0){case 1:break b;case 0:break e;default:break i}}d=w[c|0];f=w[c+1|0];if(d>>>0>f>>>0){break c}g=g-2|0;h=(f-d|0)+1|0;if(g>>>0<(l?h<<2:h)>>>0){break d}j=f>>>0>>0?j:f+1|0;c=c+2|0;while(1){h=(i+512|0)+B(d,3)|0;t[h|0]=w[c|0];t[h+1|0]=w[c+1|0];t[h+2|0]=w[c+2|0];h=w[c+3|0];t[d+i|0]=1;t[(i+256|0)+d|0]=h;g=g-4|0;c=c+4|0;h=(d|0)==(f|0);d=d+1|0;if(!h){continue}break}continue}}j:{k:{switch(w[a+324|0]-1|0){case 0:if(j>>>0<3){break j}c=1054;ob(a,1054,0,0);break a;case 1:if(j>>>0<5){break j}c=1054;ob(a,1054,0,0);break a;case 3:break k;default:break j}}if(j>>>0<17){break j}c=1054;ob(a,1054,0,0);break a}d=i+512|0;g=i+256|0;l:{m:{if(!w[a+114|0]){break m}c=Qa[v[a+152>>2]](1316)|0;if(!c){ob(a,1,0,0);c=1;break l}v[c+32>>2]=j;t[c+28|0]=m;v[c+4>>2]=745;v[c>>2]=746;cb(c+36|0,d,768);cb(c+804|0,g,256);cb(c+1060|0,i,256);f=v[a+700>>2];n:{if(f){v[f+8>>2]=c;break n}v[a+696>>2]=c}v[c+8>>2]=0;v[c+12>>2]=f;v[a+700>>2]=c;v[c+16>>2]=v[a+436>>2];v[c+20>>2]=v[a+440>>2];v[c+24>>2]=v[a+444>>2];if(v[a+516>>2]|(w[a+496|0]|!w[a+432|0])){break m}v[a+516>>2]=c}c=Z3(a,m,j,d,g,i)}if(c){break a}if(!w[a+112|0]){c=0;break a}c=Qa[v[b+4>>2]](a,b,e)|0;if(c){break a}b=v[e>>2];v[b+36>>2]=j;t[b+32|0]=m;c=0;d=0;while(1){a=b+B(d,5)|0;e=(i+512|0)+B(d,3)|0;t[a+40|0]=w[e|0];t[a+41|0]=w[e+1|0];t[a+42|0]=w[e+2|0];t[a+43|0]=w[(i+256|0)+d|0];t[a+44|0]=w[d+i|0];d=d+1|0;if((d|0)!=256){continue}break}break a}c=1028;ob(a,1028,0,0);break a}c=1054;ob(a,1054,0,0);break a}c=1028;ob(a,1028,0,0)}Ma=n+1280|0;return c|0}function sR(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=Ma-112|0;Ma=g;v[g+28>>2]=c;if(d){k=e-1|0;while(1){f=g+96|0;qR(f,g+28|0,v[d+8>>2]);Li(a,f);db(f);f=v[d+8>>2];v[g+48>>2]=0;v[g+52>>2]=v[279250];if((f|0)>=0){h=f<<1|1;f=0;while(1){Pd(g+48|0,32);j=(f|0)!=(h|0);f=f+1|0;if(j){continue}break}}f=v[d+44>>2];a:{if(!f){l=0;v[g+40>>2]=0;v[g+44>>2]=v[279250];f=v[d+12>>2];h=v[d+16>>2];j=v[d+24>>2];v[g+8>>2]=v[d+20>>2];v[g>>2]=f;v[g+12>>2]=k-j;v[g+4>>2]=k-h;Gd(g+40|0,336578,g);j=v[d+28>>2];f=v[b>>2];if(f){l=zQ(f,j,v[d+32>>2])}h=v[d+8>>2];v[g+32>>2]=0;f=v[279250];v[g+36>>2]=f;b:{if(h-1>>>0>6){break b}c:{switch(h-6|0){case 1:f=g+72|0;h=Oc(g- -64|0,310401);Rc(f,313439,h);i=g+80|0;ic(i,f,337465);f=g+88|0;Xb(f,i,g+40|0);ic(g+96|0,f,313360);f=v[g+96>>2];d:{if(f){Qa[v[v[f>>2]+28>>2]](g+56|0,f,1);break d}v[g+56>>2]=0}jb(g+32|0,g+56|0);f=v[g+56>>2];v[g+56>>2]=0;e:{if(!f){break e}i=v[f+4>>2]-1|0;v[f+4>>2]=i;if(i){break e}i=v[f+4>>2];if(!i){v[f+4>>2]=-32767}if(!i){Qa[v[v[f>>2]+4>>2]](f)}}f=v[g+32>>2];v[g+36>>2]=v[(f?f+12|0:1117e3)>>2];db(g+96|0);db(g+88|0);db(g+80|0);db(g+72|0);db(h);break b;case 0:v[g+60>>2]=f;v[g+56>>2]=0;f=g+56|0;Pd(f,32);Pd(f,32);Pd(f,32);Pd(f,32);Pd(f,32);Pd(f,32);Pd(f,32);Pd(f,32);Pd(f,32);Pd(f,32);Pd(f,32);Pd(f,32);Pd(f,32);Pd(f,32);h=g- -64|0;ic(h,f,313439);f=g+72|0;ic(f,h,312260);h=g+80|0;ic(h,f,337465);f=g+88|0;Xb(f,h,g+40|0);ic(g+96|0,f,313360);f=v[g+96>>2];f:{if(f){Qa[v[v[f>>2]+28>>2]](g+104|0,f,1);break f}v[g+104>>2]=0}jb(g+32|0,g+104|0);f=v[g+104>>2];v[g+104>>2]=0;g:{if(!f){break g}h=v[f+4>>2]-1|0;v[f+4>>2]=h;if(h){break g}h=v[f+4>>2];if(!h){v[f+4>>2]=-32767}if(!h){Qa[v[v[f>>2]+4>>2]](f)}}f=v[g+32>>2];v[g+36>>2]=v[(f?f+12|0:1117e3)>>2];db(g+96|0);db(g+88|0);db(g+80|0);db(g+72|0);db(g- -64|0);db(g+56|0);break b;default:break c}}v[g+60>>2]=f;f=0;v[g+56>>2]=0;i=h<<1|1;while(1){Pd(g+56|0,32);m=(f|0)!=(i|0);f=f+1|0;if(m){continue}break}f=g- -64|0;ic(f,g+56|0,313439);i=g+72|0;ic(i,f,v[(h<<2)+973024>>2]);f=g+80|0;ic(f,i,337465);h=g+88|0;Xb(h,f,g+40|0);ic(g+96|0,h,346319);f=v[g+96>>2];h:{if(f){Qa[v[v[f>>2]+28>>2]](g+104|0,f,1);break h}v[g+104>>2]=0}jb(g+32|0,g+104|0);f=v[g+104>>2];v[g+104>>2]=0;i:{if(!f){break i}h=v[f+4>>2]-1|0;v[f+4>>2]=h;if(h){break i}h=v[f+4>>2];if(!h){v[f+4>>2]=-32767}if(!h){Qa[v[v[f>>2]+4>>2]](f)}}f=v[g+32>>2];v[g+36>>2]=v[(f?f+12|0:1117e3)>>2];db(g+96|0);db(g+88|0);db(g+80|0);db(g+72|0);db(g- -64|0);db(g+56|0)}f=g+32|0;Li(a,f);db(f);We(g+88|0,b,j,l-j|0);f=v[g+88>>2];j:{if(!f){v[g+96>>2]=0;v[g+100>>2]=v[279250];v[g+80>>2]=0;jb(g+96|0,g+80|0);f=v[g+80>>2];v[g+80>>2]=0;k:{if(!f){break k}h=v[f+4>>2]-1|0;v[f+4>>2]=h;if(h){break k}h=v[f+4>>2];if(!h){v[f+4>>2]=-32767}if(!h){Qa[v[v[f>>2]+4>>2]](f)}}f=v[g+96>>2];v[g+100>>2]=v[(f?f+12|0:1117e3)>>2];break j}h=g+80|0;IQ(h,f);Up(g+96|0,h);f=v[g+80>>2];v[g+80>>2]=0;if(!f){break j}h=v[f+4>>2]-1|0;v[f+4>>2]=h;if(h){break j}h=v[f+4>>2];if(!h){v[f+4>>2]=-32767}if(!h){Qa[v[v[f>>2]+4>>2]](f)}}f=g+96|0;Li(a,f);db(f);db(g+88|0);LE(f,v[d+8>>2]);Li(a,f);db(f);db(g+40|0);break a}sR(a,b,v[d+8>>2],f,e)}db(g+48|0);d=v[d>>2];if(d){continue}break}}b=g+96|0;qR(b,g+28|0,c);Li(a,b);db(b);Ma=g+112|0}function nR(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;k=Ma-32|0;Ma=k;v[a>>2]=0;qb(a,b);a:{g=c&3;b:{if(!g){break b}d=ab(72);h=x[b+10>>1];f=x[b+8>>1];v[d+20>>2]=0;v[d>>2]=973124;v[d+4>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;u[d+16>>1]=0;pc(d+28|0,d+24|0,0,1);pc(d+40|0,d+36|0,0,1);pc(d+52|0,d+48|0,0,4);v[d+68>>2]=0;v[d+60>>2]=0;v[d+64>>2]=0;c=c&1;Wr(d,(c?h:f)&65535,(c?f:h)&65535,0);qb(a,d);c:{if(v[b+24>>2]|v[b+20>>2]){break c}c=v[b+36>>2];if(!c){break c}qi(b,c)}d:{e:{c=x[b+16>>1];if(c-2>>>0<255){e=v[a>>2];u[e+16>>1]=c;f:{if(v[e+20>>2]|c>>>0<3){break f}a=v[e+36>>2];if(!a){break f}qi(e,a)}g:{h:{switch(g-1|0){case 2:a=x[b+8>>1];if(!a){break d}i:{d=x[e+8>>1];if(d){g=0;while(1){j:{if(v[b+20>>2]){break j}c=v[b+36>>2];if(!c){break j}qi(b,c);a=x[b+8>>1]}k:{if((a&65535)>>>0<=g>>>0){a=x[b+12>>1];if(v[279246]<(a+x[b+14>>1]|0)){break g}f=a+v[279245]|0;break k}f=v[b+20>>2]+(x[b+12>>1]+B(x[b+14>>1],g)|0)|0}c=0;a=d;while(1){j=w[c+f|0];l:{if(v[e+20>>2]){break l}h=v[e+36>>2];if(!h){break l}qi(e,h)}h=a-1|0;m:{if(x[e+8>>1]<(a|0)){a=x[e+12>>1];if(v[279246]<(a+x[e+14>>1]|0)){break i}a=a+v[279245]|0;break m}a=v[e+20>>2]+(x[e+12>>1]+B(h,x[e+14>>1])|0)|0}t[a+g|0]=j;a=h;c=c+1|0;if((d|0)!=(c|0)){continue}break}a=x[b+8>>1];g=g+1|0;if(a>>>0>g>>>0){continue}break}break d}if(v[b+20>>2]){break d}c=0;while(1){n:{if(j){break n}d=v[b+36>>2];if(!d){break n}qi(b,d);a=x[b+8>>1]}d=a&65535;if(v[279246]<(x[b+12>>1]+x[b+14>>1]|0)&d>>>0<=c>>>0){break g}c=c+1|0;if(d>>>0<=c>>>0){break d}j=v[b+20>>2];continue}}break a;case 0:break e;case 1:break h;default:break d}}j=x[e+8>>1];if(!j){break d}f=x[e+10>>1];l=f&3;m=f-1>>>0>2;h=j;while(1){c=h;o:{if(v[b+20>>2]){break o}a=v[b+36>>2];if(!a){break o}qi(b,a)}p:{if(x[b+8>>1]<=i>>>0){a=x[b+12>>1];if(v[279246]<(a+x[b+14>>1]|0)){break a}a=a+v[279245]|0;break p}a=v[b+20>>2]+(x[b+12>>1]+B(x[b+14>>1],i)|0)|0}q:{if(v[e+20>>2]){break q}d=v[e+36>>2];if(!d){break q}qi(e,d)}h=c-1|0;r:{if((c|0)>x[e+8>>1]){c=x[e+12>>1];if(v[279246]<(c+x[e+14>>1]|0)){break a}g=c+v[279245]|0;break r}g=v[e+20>>2]+(x[e+12>>1]+B(x[e+14>>1],h)|0)|0}s:{if(!f){break s}c=f;d=l;if(d){while(1){c=c-1|0;t[g+c|0]=w[a|0];a=a+1|0;d=d-1|0;if(d){continue}break}}if(!m){break s}while(1){d=c+g|0;t[d-1|0]=w[a|0];t[d-2|0]=w[a+1|0];t[d-3|0]=w[a+2|0];d=c-4|0;t[d+g|0]=w[a+3|0];a=a+4|0;n=(c|0)>4;c=d;if(n){continue}break}}i=i+1|0;if((j|0)!=(i|0)){continue}break}break d}break a}lb(mb(k+8|0,235704,241375,482,327264));L()}c=x[e+10>>1];if(!c){break d}d=c;while(1){t:{if(v[b+20>>2]){break t}a=v[b+36>>2];if(!a){break t}qi(b,a)}u:{if(x[b+8>>1]<=i>>>0){a=x[b+12>>1];if(v[279246]<(a+x[b+14>>1]|0)){break a}h=a+v[279245]|0;break u}h=v[b+20>>2]+(x[b+12>>1]+B(x[b+14>>1],i)|0)|0}d=d-1|0;a=0;if(x[b+10>>1]){while(1){g=w[a+h|0];v:{if(v[e+20>>2]){break v}f=v[e+36>>2];if(!f){break v}qi(e,f)}w:{if(x[e+8>>1]<=a>>>0){f=x[e+12>>1];if(v[279246]<(f+x[e+14>>1]|0)){break a}f=f+v[279245]|0;break w}f=v[e+20>>2]+(x[e+12>>1]+B(x[e+14>>1],a)|0)|0}t[f+d|0]=g;a=a+1|0;if(a>>>0>1]){continue}break}}i=i+1|0;if((c|0)!=(i|0)){continue}break}}if(x[b+16>>1]!=2){break b}Qp(b);Qp(e)}Ma=k+32|0;return}lb(mb(k+8|0,260021,271561,577,327329));L()} -function dA(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=Ma-32|0;Ma=h;a:{if(!a){break a}a=w[a|0]!=47|w[a+1|0]!=47?a:w[a+2|0]==47?a:a+1|0;b:{c:{d:{e:{f:{b=Qa[v[256552]](44)|0;g:{if(!b){v[h+16>>2]=342898;nb(0,0,0,0,0,30,2,3,342898,0,0,0,340689,h+16|0);break g}v[b>>2]=0;v[b+4>>2]=0;v[b+40>>2]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;if(!Rs(b,a)){break f}wi(b)}g=w[a|0];c=a;if(!g){break c}b=g;d=a;while(1){if((b&255)==58){if((d|0)==326301){break e}if(!Kb(d,326301,3)){break e}}b=w[d+1|0];d=d+1|0;if(b){continue}break}break d}wi(b);b=a;while(1){c=b;b=b+1|0;if(w[c|0]){continue}break}b=c-a|0;if((b|0)<0){break a}c=Qa[v[256555]](b+1|0)|0;if(!c){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break a}d=cb(c,a,b);t[b+d|0]=0;break a}d=d-a|0;c=a;if(d-1>>>0>19){break c}c=a;if(((g&223)-65&255)>>>0>25){break c}b=1;while(1){if((b|0)!=(d|0)){c=a+b|0;b=b+1|0;if(((w[c|0]&223)-65&255)>>>0<26){continue}break d}break}b=0;e=Ma+-64|0;Ma=e;d=a;h:{if(!a){break h}if(w[a|0]){b=a;while(1){c=f;f=c+1|0;g=w[b+1|0];b=b+1|0;if(g){continue}break}f=0;i=c+21|0;c=Qa[v[256555]](i)|0;if(c){b=w[d|0];if(b){while(1){g=d;if((i-f|0)<=3){i:{j:{if((i|0)>=1048577){v[e+32>>2]=338944;nb(0,0,0,0,0,30,2,3,338944,0,0,0,340689,e+32|0);break j}i=i<<1;b=Qa[v[256557]](c,i|1)|0;if(b){break i}v[e+48>>2]=345842;nb(0,0,0,0,0,30,2,3,345842,0,0,0,340689,e+48|0)}v[e+16>>2]=342724;b=0;nb(0,0,0,0,0,30,2,3,342724,0,0,0,340689,e+16|0);Qa[v[256556]](c);break h}c=b;b=w[g|0]}j=b&255;k:{if((j|0)==64|((b&-33)-65&255)>>>0<26|(b-48&255)>>>0<10){break k}l:{switch(j-33|0){default:if((j|0)==126){break k}break;case 0:case 6:case 7:case 8:case 9:case 12:case 13:case 62:break k;case 1:case 2:case 3:case 4:case 5:case 10:case 11:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 58:case 59:case 60:case 61:break l}}d=313413;k=w[313413];if(k){while(1){if((j|0)==(k|0)){break k}k=w[d+1|0];d=d+1|0;if(k){continue}break}}d=c+f|0;t[d|0]=37;k=d;d=j>>>4|0;t[k+1|0]=j>>>0<160?d|48:d+55|0;f=f+2|0;b=b&15;if(b>>>0<=9){b=b|48;break k}b=b+55|0}t[c+f|0]=b;d=g+1|0;f=f+1|0;b=w[g+1|0];if(b){continue}break}}t[c+f|0]=0;b=c;break h}v[e>>2]=342724;b=0;nb(0,0,0,0,0,30,2,3,342724,0,0,0,340689,e);break h}c=Qa[v[256555]](1)|0;if(!c){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break h}t[c|0]=0;b=c}Ma=e- -64|0;d=b;c=a;if(!b){break c}b=Qa[v[256552]](44)|0;if(!b){v[h>>2]=342898;nb(0,0,0,0,0,30,2,3,342898,0,0,0,340689,h);break d}v[b>>2]=0;v[b+4>>2]=0;v[b+40>>2]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;if(!Rs(b,d)){break b}wi(b)}c=a}b=c;while(1){c=b;b=b+1|0;if(w[c|0]){continue}break}d=0;b=c-a|0;if((b|0)<0){break a}c=Qa[v[256555]](b+1|0)|0;if(!c){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break a}d=cb(c,a,b);t[b+d|0]=0;break a}wi(b)}Ma=h+32|0;return d}function G_(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;v[a+12>>2]=b;v[a+4>>2]=b;v[a+20>>2]=v[a+16>>2];v[a+8>>2]=c;l=6;a:{b:{while(1){if(b>>>0>=c>>>0){break b}d=v[a+20>>2];j=d-v[a+16>>2]|0;g=j>>2;i=v[a+24>>2];e=w[b|0];c:{d:{if(!((e|0)==31|(e-27&255)>>>0>227)){f=4;if(g>>>0>=i>>>0){break c}v[a+20>>2]=d+4;v[d>>2]=b;e:{switch(e-28|0){case 2:while(1){b=b+1|0;if(c>>>0<=b>>>0){b=c;f=7;break c}f=w[b|0];if((f&240)==240){break d}if((f&15)!=15){continue}break};break d;case 0:b=b+2|0;break d;case 1:b=b+4|0;break d;default:break e}}b=(e>>>0>246)+b|0;break d}f=4;if(g>>>0>=i>>>0){break c}v[d>>2]=b;if((e|0)==12){b=b+1|0;f=8;if(c>>>0<=b>>>0){break c}e=w[b|0]|256}i=448368;d=4;f=448368;h=v[a+28>>2]|e;f:{g:{if((h|0)==4096){break g}h:{while(1){if((h|0)==v[f+32>>2]){i=f+28|0;d=v[f+28>>2];break g}if((h|0)!=v[f+60>>2]){if((h|0)==v[f+88>>2]){break h}d=v[f+112>>2];if(!d){break f}e=f;i=e+112|0;f=i;if((h|0)!=v[e+116>>2]){continue}break g}break}i=f+56|0;d=v[f+56>>2];break g}i=f+84|0;d=v[f+84>>2]}e=v[i+8>>2];h=v[a+32>>2];if((d|0)!=6){f=12;if(!j){break c}}f=e+h|0;i:{j:{k:{l:{switch(d-1|0){case 0:case 3:case 4:e=ek(a,v[a+16>>2]);break j;case 1:d=v[v[a+16>>2]>>2];e=w[d|0];if((e|0)==30){e=Qo(a,d,0,0);break j}h=d+1|0;m:{n:{o:{switch(e-28|0){case 0:g=0;if(y[a+8>>2]<=d+2>>>0){break k}d=(w[d+2|0]|w[h|0]<<8)<<16>>16;break m;case 1:g=0;if(y[a+8>>2]<=d+4>>>0){break k}d=w[d+1|0]|w[d+2|0]<<8|(w[d+3|0]<<16|w[d+4|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);break n;default:break o}}if(e>>>0<=246){g=e-139|0;break k}d=v[a+8>>2];if(e>>>0<=250){g=0;if(d>>>0<=h>>>0){break k}d=(w[h|0]|e<<8)-63124|0;break m}g=0;if(d>>>0<=h>>>0){break k}d=64148-(w[h|0]|e<<8)|0}e=2147483647;if((d|0)>32767){break j}}e=(d|0)<-32767?-2147483647:d<<16;break j;case 2:e=v[v[a+16>>2]>>2];g=w[e|0];if((g|0)==30){e=Qo(a,e,3,0);break j}h=e+1|0;p:{q:{switch(g-28|0){case 0:d=0;if(y[a+8>>2]<=e+2>>>0){break p}d=(w[e+2|0]|w[h|0]<<8)<<16>>16;break p;case 1:d=0;if(y[a+8>>2]<=e+4>>>0){break p}d=w[e+1|0]|w[e+2|0]<<8|(w[e+3|0]<<16|w[e+4|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);break p;default:break q}}d=g-139|0;if(g>>>0<=246){break p}e=v[a+8>>2];if(g>>>0<=250){d=0;if(e>>>0<=h>>>0){break p}d=(w[h|0]|g<<8)-63124|0;break p}d=0;if(e>>>0<=h>>>0){break p}d=64148-(w[h|0]|g<<8)|0}e=d>>31;if((d+e^e)>>>0>=2147484){e=(d|0)>0?2147483647:-2147483647;break j}g=B(d,1e3);e=2147483647;if((g|0)>32767){break j}e=(g|0)<-32767?-2147483647:B(d,65536e3);break j;case 5:e=v[a+16>>2];j=h+v[i+24>>2]|0;d=v[i+20>>2];h=d>>>0>>0?d:g;t[j|0]=h;d=0;if(!h){break i}while(1){d=ek(a,e)+d|0;r:{s:{t:{u:{v:{g=w[i+12|0];switch(g-1|0){case 3:break t;case 1:break u;case 0:break v;default:break s}}t[f|0]=d;g=w[i+12|0];break r}u[f>>1]=d;g=2;break r}v[f>>2]=d;g=4;break r}v[f>>2]=d}e=e+4|0;f=(g&255)+f|0;h=h-1|0;if(h){continue}break};break i;default:break l}}k=Qa[v[i+16>>2]](a)|0;f=7;if(k){break c}k=0;break i}e=g<<16}w:{switch(w[i+12|0]-1|0){case 1:u[f>>1]=e;break i;default:v[f>>2]=e;break i;case 0:break w}}t[f|0]=e}if(v[i>>2]==8){break d}}v[a+20>>2]=v[a+16>>2]}b=b+1|0;f=0}f=C3a(f,30);if(!f){continue}break}if(f-1>>>0<3){break a}}l=k}return l}function LU(a,b){var c=0,d=0,e=0,f=0;c=Ma-32|0;Ma=c;v[c+16>>2]=13;v[c>>2]=13;v[a+16>>2]=0;v[a+20>>2]=0;v[a+68>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;v[a+40>>2]=0;v[a+44>>2]=0;v[a+48>>2]=0;v[a+52>>2]=0;a:{if(v[b+12>>2]<=1){fb(0,-1,227132,0);break a}Nf(b,0,c+16|0);d=a;b:{c:{d:{switch(v[c+16>>2]-1|0){case 8:v[a+8>>2]=v[c+24>>2];v[a+12>>2]=v[c+28>>2];f=1;break c;default:fb(0,-1,247401,0);break b;case 0:break d}}v[a+8>>2]=v[c+24>>2]+1;f=0}v[d+4>>2]=f;d=c+16|0;bb(d);ub(b,1,d,0);e:{f:{g:{h:{if(v[c+16>>2]!=4){break h}d=v[c+24>>2];if(!hb(d,308360)){v[a>>2]=0;i:{j:{k:{l:{if(v[b+12>>2]<=2){v[a+56>>2]=0;break l}ub(b,2,c,0);d=v[c>>2];m:{if((d|0)==5){v[a+56>>2]=0;break m}if(d-1>>>0>1){break e}v[a+56>>2]=1;A[a+16>>3]=(d|0)==1?+v[c+8>>2]:A[c+8>>3]}bb(c);if(v[b+12>>2]>3){break k}}v[a+60>>2]=0;break j}ub(b,3,c,0);d=v[c>>2];n:{if((d|0)==5){v[a+60>>2]=0;break n}if(d-1>>>0>1){break e}v[a+60>>2]=1;A[a+40>>3]=(d|0)==1?+v[c+8>>2]:A[c+8>>3]}bb(c);if(v[b+12>>2]>4){break i}}v[a+64>>2]=0;break f}ub(b,4,c,0);b=v[c>>2];if((b|0)==5){v[a+64>>2]=0;bb(c);break f}if(b-1>>>0>1){break e}v[a+64>>2]=1;A[a+48>>3]=(b|0)==1?+v[c+8>>2]:A[c+8>>3];bb(c);break f}if(!hb(d,231689)){if(v[b+12>>2]>1){break g}fb(0,-1,227132,0);break b}if(!hb(d,311377)){if(v[b+12>>2]<=2){fb(0,-1,227132,0);break b}v[a>>2]=2;d=ub(b,2,c,0);b=v[c>>2];if(v[d>>2]-1>>>0<=1){e=A[c+8>>3];d=v[c+8>>2];v[a+60>>2]=1;A[a+40>>3]=(b|0)==1?+(d|0):e;bb(c);break f}if((b|0)==5){v[a+60>>2]=0;bb(c);break f}fb(0,-1,246221,0);v[a>>2]=1;bb(c);break f}if(!hb(d,309131)){if(v[b+12>>2]<=2){fb(0,-1,227132,0);break b}v[a>>2]=3;d=ub(b,2,c,0);b=v[c>>2];if(v[d>>2]-1>>>0<=1){e=A[c+8>>3];d=v[c+8>>2];v[a+56>>2]=1;A[a+16>>3]=(b|0)==1?+(d|0):e;bb(c);break f}if((b|0)==5){v[a+56>>2]=0;bb(c);break f}fb(0,-1,246221,0);v[a>>2]=1;bb(c);break f}if(!hb(d,310329)){if(v[b+12>>2]<=5){fb(0,-1,227132,0);break b}v[a>>2]=4;o:{if(v[ub(b,2,c,0)>>2]-1>>>0<=1){A[a+16>>3]=v[c>>2]==1?+v[c+8>>2]:A[c+8>>3];break o}fb(0,-1,246221,0);v[a>>2]=1}bb(c);if(v[ub(b,3,c,0)>>2]-1>>>0>=2){fb(0,-1,246221,0);v[a>>2]=1}A[a+24>>3]=v[c>>2]==1?+v[c+8>>2]:A[c+8>>3];bb(c);if(v[ub(b,4,c,0)>>2]-1>>>0>=2){fb(0,-1,246221,0);v[a>>2]=1}A[a+32>>3]=v[c>>2]==1?+v[c+8>>2]:A[c+8>>3];bb(c);if(v[ub(b,5,c,0)>>2]-1>>>0>=2){fb(0,-1,246221,0);v[a>>2]=1}A[a+40>>3]=v[c>>2]==1?+v[c+8>>2]:A[c+8>>3];bb(c);break f}if(!hb(d,312869)){if(v[b+12>>2]<=1){fb(0,-1,227132,0);break b}v[a>>2]=5;break f}if(!hb(d,311547)){if(v[b+12>>2]<=2){fb(0,-1,227132,0);break b}v[a>>2]=6;d=ub(b,2,c,0);b=v[c>>2];if(v[d>>2]-1>>>0<=1){e=A[c+8>>3];d=v[c+8>>2];v[a+60>>2]=1;A[a+40>>3]=(b|0)==1?+(d|0):e;bb(c);break f}if((b|0)==5){v[a+60>>2]=0;bb(c);break f}fb(0,-1,246221,0);v[a>>2]=1;bb(c);break f}if(hb(d,309182)){break h}if(v[b+12>>2]<=2){fb(0,-1,227132,0);break b}v[a>>2]=7;d=ub(b,2,c,0);b=v[c>>2];if(v[d>>2]-1>>>0<=1){e=A[c+8>>3];d=v[c+8>>2];v[a+56>>2]=1;A[a+16>>3]=(b|0)==1?+(d|0):e;bb(c);break f}if((b|0)==5){v[a+56>>2]=0;bb(c);break f}fb(0,-1,246221,0);v[a>>2]=1;bb(c);break f}fb(0,-1,278542,0);break b}v[a>>2]=1}bb(c+16|0);v[a+68>>2]=1;break a}fb(0,-1,246221,0);bb(c)}bb(c+16|0)}Ma=c+32|0;return a}function KA(a,b,c,d,e,f){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;i=Ma-48|0;Ma=i;g=v[a+11748>>2]==2;j=g?a+11760|0:a+11776|0;h=v[j+4>>2];r=1;o=v[j>>2];n=v[c>>2];k=v[c+4>>2];a:{if(!((o|0)!=(n|0)|(k|0)!=(h|0))){k=0;break a}g=g?a+11752|0:a+11768|0;m=v[g+4>>2];q=o;o=v[g>>2];p=(e-k|0)+16>>5;s=(h-m|0)+16>>5;h=(d-n|0)+16>>5;q=xb((q-o|0)+16>>5,p)-xb(s,h)|0;if(!q){k=0;break a}l=Ub(xb((n-o|0)+16>>5,p)-xb((k-m|0)+16>>5,h)|0,q);k=v[g>>2];k=xb(l,v[j>>2]-k|0)+k|0;n=v[g+4>>2];m=xb(l,v[j+4>>2]-n|0);l=v[g>>2];o=v[j>>2];if((l|0)==(o|0)){p=k-l|0;h=p>>31;k=v[a+11700>>2]>(h^h+p)?l:k}l=m+n|0;g=v[g+4>>2];n=v[j+4>>2];if((g|0)==(n|0)){m=l-g|0;h=m>>31;l=v[a+11700>>2]>(h^h+m)?g:l}h=v[c>>2];if((h|0)==(d|0)){m=k-d|0;g=m>>31;k=v[a+11700>>2]>(g^g+m)?d:k}g=v[c+4>>2];if((g|0)==(e|0)){m=l-e|0;d=m>>31;l=v[a+11700>>2]>(d^d+m)?e:l}e=((h+o|0)/-2|0)+k|0;d=e>>31;d=d^d+e;e=v[a+11696>>2];if((d|0)>(e|0)){break a}g=((g+n|0)/-2|0)+l|0;d=g>>31;if((e|0)<(d^d+g)){break a}v[j>>2]=k;v[j+4>>2]=l;r=0}d=v[a+11732>>2];j=d;e=v[a+11728>>2];v[i+8>>2]=e;v[i+12>>2]=d;b:{c:{d:{switch(v[a+11748>>2]-2|0){case 0:g=e;v[i+40>>2]=2;e:{if(f){h=v[a+11764>>2];d=xb(v[a+11644>>2],v[a+11760>>2])+xb(v[a+11648>>2],h)|0;h=Al(a+3876|0,h);break e}h=v[a+11764>>2];d=xb(v[a+11644>>2],v[a+11760>>2])+xb(v[a+11648>>2],h)|0;h=Al(b,h)}n=xb(v[v[a>>2]+64>>2],d);m=xb(v[v[a>>2]+72>>2],h);o=v[a+11656>>2];d=(xb(v[v[a>>2]+68>>2],d)+xb(v[v[a>>2]+76>>2],h)|0)+v[a+11660>>2]|0;v[i+20>>2]=d;h=o+(m+n|0)|0;v[i+16>>2]=h;if((g|0)==(h|0)&(d|0)==(j|0)){break b}d=v[a+4>>2];j=d+4|0;e=i+16|0;break c;case 2:break d;default:break b}}v[i+40>>2]=4;d=v[a+11764>>2];e=xb(v[a+11644>>2],v[a+11760>>2]);j=xb(v[a+11648>>2],d);d=Al(b,d);e=e+j|0;t=i,u=(xb(v[v[a>>2]+64>>2],e)+xb(v[v[a>>2]+72>>2],d)|0)+v[a+11656>>2]|0,v[t+16>>2]=u;e=xb(v[v[a>>2]+68>>2],e)+xb(v[v[a>>2]+76>>2],d)|0;d=a+11660|0;v[i+20>>2]=e+v[d>>2];e=v[a+11772>>2];j=xb(v[a+11644>>2],v[a+11768>>2]);g=xb(v[a+11648>>2],e);e=Al(b,e);j=g+j|0;t=i,u=(xb(v[v[a>>2]+64>>2],j)+xb(v[v[a>>2]+72>>2],e)|0)+v[a+11656>>2]|0,v[t+24>>2]=u;t=i,u=(xb(v[v[a>>2]+68>>2],j)+xb(v[v[a>>2]+76>>2],e)|0)+v[d>>2]|0,v[t+28>>2]=u;e=v[a+11780>>2];j=xb(v[a+11644>>2],v[a+11776>>2]);g=xb(v[a+11648>>2],e);e=Al(b,e);j=g+j|0;t=i,u=(xb(v[v[a>>2]+64>>2],j)+xb(v[v[a>>2]+72>>2],e)|0)+v[a+11656>>2]|0,v[t+32>>2]=u;t=i,u=(xb(v[v[a>>2]+68>>2],j)+xb(v[v[a>>2]+76>>2],e)|0)+v[d>>2]|0,v[t+36>>2]=u;d=v[a+4>>2];j=d+12|0;e=i+32|0}Qa[v[j>>2]](d,i+8|0);d=v[e+4>>2];v[a+11728>>2]=v[e>>2];v[a+11732>>2]=d}f:{if(!((f|0)!=0|r)){break f}g:{if(f){b=v[c+4>>2];d=xb(v[a+11644>>2],v[c>>2])+xb(v[a+11648>>2],b)|0;b=Al(a+3876|0,b);break g}e=v[c+4>>2];d=xb(v[a+11644>>2],v[c>>2])+xb(v[a+11648>>2],e)|0;b=Al(b,e)}t=i,u=(xb(v[v[a>>2]+64>>2],d)+xb(v[v[a>>2]+72>>2],b)|0)+v[a+11656>>2]|0,v[t+16>>2]=u;b=(xb(v[v[a>>2]+68>>2],d)+xb(v[v[a>>2]+76>>2],b)|0)+v[a+11660>>2]|0;v[i+20>>2]=b;if(v[i+16>>2]==v[a+11728>>2]&(b|0)==v[a+11732>>2]){break f}v[i+40>>2]=2;b=v[a+11732>>2];v[i+8>>2]=v[a+11728>>2];v[i+12>>2]=b;b=v[a+4>>2];Qa[v[b+4>>2]](b,i+8|0);b=v[i+20>>2];v[a+11728>>2]=v[i+16>>2];v[a+11732>>2]=b}if(!r){v[c>>2]=k;v[c+4>>2]=l}Ma=i+48|0}function Mn(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;t[c+20|0]=0;t[c+21|0]=0;t[c+22|0]=0;t[c+23|0]=0;d=w[c+68|0]|w[c+69|0]<<8|(w[c+70|0]<<16|w[c+71|0]<<24);e=d+(w[c+24|0]|w[c+25|0]<<8|(w[c+26|0]<<16|w[c+27|0]<<24))|0;t[c+68|0]=e;t[c+69|0]=e>>>8;t[c+70|0]=e>>>16;t[c+71|0]=e>>>24;d=w[c+64|0]|w[c+65|0]<<8|(w[c+66|0]<<16|w[c+67|0]<<24)|b<>>8;t[c+66|0]=d>>>16;t[c+67|0]=d>>>24;g=c+72|0;if((e|0)>=8){b=w[c+328|0]|w[c+329|0]<<8|(w[c+330|0]<<16|w[c+331|0]<<24);while(1){e=b+1|0;t[c+328|0]=e;t[c+329|0]=e>>>8;t[c+330|0]=e>>>16;t[c+331|0]=e>>>24;t[(b+c|0)+72|0]=d;b=w[c+328|0]|w[c+329|0]<<8|(w[c+330|0]<<16|w[c+331|0]<<24);if((b|0)>=255){d=v[a+1096>>2];Qa[v[v[d>>2]+44>>2]](d,b&255)|0;b=v[a+1096>>2];Qa[v[v[b>>2]+16>>2]](b,g,1,w[c+328|0]|w[c+329|0]<<8|(w[c+330|0]<<16|w[c+331|0]<<24))|0;t[c+328|0]=0;t[c+329|0]=0;t[c+330|0]=0;t[c+331|0]=0;b=0}d=(w[c+64|0]|w[c+65|0]<<8|(w[c+66|0]<<16|w[c+67|0]<<24))>>>8|0;t[c+64|0]=d;t[c+65|0]=d>>>8;t[c+66|0]=d>>>16;t[c+67|0]=d>>>24;f=w[c+68|0]|w[c+69|0]<<8|(w[c+70|0]<<16|w[c+71|0]<<24);e=f-8|0;t[c+68|0]=e;t[c+69|0]=e>>>8;t[c+70|0]=e>>>16;t[c+71|0]=e>>>24;if((f|0)>15){continue}break}}b=(w[c+32|0]|w[c+33|0]<<8|(w[c+34|0]<<16|w[c+35|0]<<24))+1|0;t[c+32|0]=b;t[c+33|0]=b>>>8;t[c+34|0]=b>>>16;t[c+35|0]=b>>>24;h=w[c+36|0]|w[c+37|0]<<8|(w[c+38|0]<<16|w[c+39|0]<<24);if((h|0)<=(b|0)){i=w[c+24|0]|w[c+25|0]<<8|(w[c+26|0]<<16|w[c+27|0]<<24);f=i+1|0;t[c+24|0]=f;t[c+25|0]=f>>>8;t[c+26|0]=f>>>16;t[c+27|0]=f>>>24;f=h+(1<>>8;t[c+38|0]=f>>>16;t[c+39|0]=f>>>24}if((b|0)>=(w[c+44|0]|w[c+45|0]<<8|(w[c+46|0]<<16|w[c+47|0]<<24))){b=(w[c+24|0]|w[c+25|0]<<8|(w[c+26|0]<<16|w[c+27|0]<<24))+e|0;t[c+68|0]=b;t[c+69|0]=b>>>8;t[c+70|0]=b>>>16;t[c+71|0]=b>>>24;d=(w[c+56|0]|w[c+57|0]<<8|(w[c+58|0]<<16|w[c+59|0]<<24))<>>8;t[c+66|0]=d>>>16;t[c+67|0]=d>>>24;if((b|0)>=8){b=w[c+328|0]|w[c+329|0]<<8|(w[c+330|0]<<16|w[c+331|0]<<24);while(1){e=b+1|0;t[c+328|0]=e;t[c+329|0]=e>>>8;t[c+330|0]=e>>>16;t[c+331|0]=e>>>24;t[(b+c|0)+72|0]=d;b=w[c+328|0]|w[c+329|0]<<8|(w[c+330|0]<<16|w[c+331|0]<<24);if((b|0)>=255){d=v[a+1096>>2];Qa[v[v[d>>2]+44>>2]](d,b&255)|0;b=v[a+1096>>2];Qa[v[v[b>>2]+16>>2]](b,g,1,w[c+328|0]|w[c+329|0]<<8|(w[c+330|0]<<16|w[c+331|0]<<24))|0;t[c+328|0]=0;t[c+329|0]=0;t[c+330|0]=0;t[c+331|0]=0;b=0}d=(w[c+64|0]|w[c+65|0]<<8|(w[c+66|0]<<16|w[c+67|0]<<24))>>>8|0;t[c+64|0]=d;t[c+65|0]=d>>>8;t[c+66|0]=d>>>16;t[c+67|0]=d>>>24;f=w[c+68|0]|w[c+69|0]<<8|(w[c+70|0]<<16|w[c+71|0]<<24);e=f-8|0;t[c+68|0]=e;t[c+69|0]=e>>>8;t[c+70|0]=e>>>16;t[c+71|0]=e>>>24;if((f|0)>15){continue}break}}t[c+32|0]=0;t[c+33|0]=0;t[c+34|0]=0;t[c+35|0]=0;t[c+16|0]=0;t[c+17|0]=0;t[c+18|0]=0;t[c+19|0]=0;t[c+20|0]=1;t[c+21|0]=0;t[c+22|0]=0;t[c+23|0]=0;a=w[c+28|0]|w[c+29|0]<<8|(w[c+30|0]<<16|w[c+31|0]<<24);t[c+24|0]=a;t[c+25|0]=a>>>8;t[c+26|0]=a>>>16;t[c+27|0]=a>>>24;a=w[c+40|0]|w[c+41|0]<<8|(w[c+42|0]<<16|w[c+43|0]<<24);t[c+36|0]=a;t[c+37|0]=a>>>8;t[c+38|0]=a>>>16;t[c+39|0]=a>>>24;a=w[c+48|0]|w[c+49|0]<<8|(w[c+50|0]<<16|w[c+51|0]<<24);t[c+44|0]=a;t[c+45|0]=a>>>8;t[c+46|0]=a>>>16;t[c+47|0]=a>>>24}}function u2(a,b,c){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,p=0,q=0,r=0,s=0;d=Ma-496|0;Ma=d;if(b){t[a+1724|0]=0;e=a+1700|0;v[e>>2]=0;v[e+4>>2]=0;e=a+1692|0;v[e>>2]=2147483647;v[e+4>>2]=2147483647;e=a+1684|0;v[e>>2]=0;v[e+4>>2]=0;e=a+1676|0;v[e>>2]=2147483647;v[e+4>>2]=2147483647;e=a+1636|0;v[e>>2]=0;v[e+4>>2]=0;v[a+2800>>2]=0;e=a+1716|0;v[e>>2]=-2147483647;v[e+4>>2]=-2147483647;e=a+1708|0;v[e>>2]=2147483647;v[e+4>>2]=2147483647;e=v[c+4>>2];v[d+488>>2]=0;v[d+480>>2]=0;v[d+484>>2]=0;v[d+472>>2]=0;v[d+476>>2]=0;t2(d+472|0,e);v[d+492>>2]=v[e+20>>2];l=a+1628|0;a:{if(!w[a+2820|0]){h=ab(8);v[h+4>>2]=v[a+56>>2];break a}f=ab(48);e=f;v[e+8>>2]=0;v[e+12>>2]=0;v[e>>2]=0;v[e+4>>2]=1072693248;v[e+32>>2]=0;v[e+36>>2]=0;v[e+24>>2]=0;v[e+28>>2]=1072693248;v[e+16>>2]=0;v[e+20>>2]=0;v[e+40>>2]=0;v[e+44>>2]=0;h=ab(8);v[h+4>>2]=e}v[h>>2]=d+472;v[d+56>>2]=0;v[d+60>>2]=0;e=d- -64|0;v[e>>2]=0;v[e+4>>2]=0;v[d+208>>2]=0;v[d+212>>2]=0;v[d+192>>2]=0;v[d+196>>2]=1072693248;v[d+72>>2]=0;v[d+76>>2]=1072693248;v[d+216>>2]=0;v[d+220>>2]=0;v[d+224>>2]=0;v[d+228>>2]=0;v[d+232>>2]=0;v[d+424>>2]=0;v[d+428>>2]=0;v[d+408>>2]=0;v[d+412>>2]=1072693248;v[d+256>>2]=0;v[d+260>>2]=1072693248;v[d+236>>2]=64;v[d+240>>2]=1;v[d+432>>2]=0;v[d+436>>2]=0;v[d+440>>2]=0;v[d+444>>2]=0;v[d+448>>2]=0;v[d+452>>2]=0;v[d+456>>2]=0;v[d+48>>2]=0;v[d+52>>2]=0;v[d+40>>2]=h;v[d+248>>2]=0;v[d+252>>2]=0;v[d+460>>2]=64;v[d+464>>2]=1;AB(l,d+40|0);v[a+2784>>2]=w[v[c+4>>2]+24|0];b:{if(v[b+4>>2]==2){e=v[b+8>>2];l=v[e+12>>2];if(!l){break b}e=v[e+16>>2];if(!e){break b}v[d+32>>2]=0;v[d+36>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;c=v[c+4>>2];p=v[c>>2];c:{if(p){r=v[c+16>>2];s=v[c+12>>2];i=1e100;g=-1e100;c=0;m=-1e100;j=1e100;while(1){q=c&255;k=c>>>6&67108860;d:{if(w[q+v[k+r>>2]|0]-1>>>0>13){break d}k=v[k+s>>2]+(q<<4)|0;n=A[k>>3];m=m>3];j=j>o?o:j;i=i>n?n:i;if(!(g>3]=i;A[d+24>>3]=j;A[d+16>>3]=m-i;A[d+8>>3]=g-j;break c}v[d+32>>2]=0;v[d+36>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;A[d+8>>3]=0}A[d+16>>3]=A[d+32>>3]+A[d+16>>3];A[d+8>>3]=A[d+24>>3]+A[d+8>>3];c=_h(d);if(v[b+16>>2]==4){wB(c,(A[d+16>>3]-A[d+32>>3])/+(l>>>0),(A[d+8>>3]-A[d+24>>3])/+(e>>>0))}e:{if(v[b+16>>2]==4){break e}g=A[a+2840>>3];if(!(g>1)){break e}wB(c,A[a+24>>3]/g,A[a+32>>3]/g)}Bw(c,A[d+32>>3],A[d+24>>3],1);Mk(c,a+56|0,1);Dl(b+20|0,c);me(c)}s2(a,b);$a(h);if(!f){break b}$a(f)}b=v[d+448>>2];if(b){a=b-1|0;v[d+448>>2]=a;b=v[d+456>>2]+(b<<2)|0;while(1){f=d;b=b-4|0;c=v[b>>2];if(c){$a(c);a=v[d+448>>2]}c=a;a=c-1|0;v[f+448>>2]=a;if(c){continue}break}}a=v[d+456>>2];if(a){$a(a)}b=v[d+224>>2];if(b){a=b-1|0;v[d+224>>2]=a;b=v[d+232>>2]+(b<<2)|0;while(1){f=d;b=b-4|0;c=v[b>>2];if(c){$a(c);a=v[d+224>>2]}c=a;a=c-1|0;v[f+224>>2]=a;if(c){continue}break}}a=v[d+232>>2];if(a){$a(a)}b=v[d+476>>2];f:{if(!b){break f}a=b-1|0;v[d+476>>2]=a;b=v[d+484>>2]+(b<<2)|0;while(1){f=d;b=b-4|0;c=v[b>>2];if(c){$a(c);a=v[d+476>>2]}c=a;a=c-1|0;v[f+476>>2]=a;if(c){continue}break}a=v[d+484>>2];if(!a){break f}$a(a)}}Ma=d+496|0}function pua(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,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0;m=Ma-640|0;Ma=m;a:{b:{c:{d:{e:{f=v[a+4>>2];if((f|0)>=1){while(1){e=d<<3;if(A[e+b>>3]!=A[(a+e|0)+2472>>3]){break e}d=d+1|0;if((f|0)!=(d|0)){continue}break}break d}if(!f){break d}break b}if((d|0)!=(f|0)){break c}}b=v[a+8>>2];if((b|0)<1){break a}h=b&3;d=0;if(b-1>>>0>=3){f=b&-4;b=a+2728|0;while(1){e=d<<3;A[e+c>>3]=A[b+e>>3];g=e|8;A[g+c>>3]=A[b+g>>3];g=e|16;A[g+c>>3]=A[b+g>>3];e=e|24;A[e+c>>3]=A[b+e>>3];d=d+4|0;f=f-4|0;if(f){continue}break}}if(!h){break a}while(1){b=d<<3;A[b+c>>3]=A[(a+b|0)+2728>>3];d=d+1|0;h=h-1|0;if(h){continue}break}break a}if((f|0)<=0){break b}d=0;while(1){i=0;e=d<<2;o=v[(e+a|0)+1044>>2];h=o-1|0;j=d<<3;k=(d<<4)+a|0;l=(A[j+b>>3]-A[k+16>>3])*A[(a+j|0)+2200>>3]+A[k+1176>>3];f:{if(!(l>=0)){break f}i=l;l=+(h|0);if(!(i>l)){break f}i=l}r=e+(m+512|0)|0;k=o-2|0;if(D(i)<2147483648){e=~~i}else{e=-2147483648}e=(o|0)>1?(e|0)==(h|0)?k:e:e;v[r>>2]=e;i=i-+(e|0);A[j+m>>3]=i;A[j+(m+256|0)>>3]=1-i;d=d+1|0;if((f|0)!=(d|0)){continue}break}if((f|0)<2){break b}d=f-1|0;h=d&1;g:{if((f|0)==2){e=f;break g}j=d&-2;o=a+1044|0;d=f;while(1){e=d-2|0;k=e<<2;d=d<<2;g=B(v[k+(m+512|0)>>2]+B(v[k+o>>2],v[(d+m|0)+508>>2]+g|0)|0,v[(d+o|0)-12>>2]);d=e;j=j-2|0;if(j){continue}break}}if(!h){break b}d=e<<2;g=B(v[(d+m|0)+508>>2]+g|0,v[(a+d|0)+1036>>2])}h:{k=v[a+8>>2];if((k|0)<1){break h}u=B(k,v[m+512>>2]+g|0);j=1<1?j:1;o=d&2147483646;w=d&1;x=(f|0)==31;r=v[a+2468>>2];e=r;while(1){i:{if(x){break i}h=q+u|0;p=v[a+2456>>2];n=v[a+2460>>2];d=0;g=o;if((j|0)>=2){while(1){A[(d<<3)+e>>3]=A[n+(h+v[p+(d<<2)>>2]<<3)>>3];s=d|1;A[(s<<3)+e>>3]=A[n+(h+v[p+(s<<2)>>2]<<3)>>3];d=d+2|0;g=g-2|0;if(g){continue}break}}if(!w){break i}A[(d<<3)+e>>3]=A[n+(h+v[p+(d<<2)>>2]<<3)>>3]}p=0;g=j;if((f|0)>0){while(1){j:{if((g|0)<1){break j}d=v[a+2468>>2];h=g-1|0;n=(h>>>1|0)+1|0;s=n&1;e=p<<3;i=A[e+m>>3];l=A[e+(m+256|0)>>3];e=0;if(h>>>0>=2){h=n&-2;while(1){n=e<<3;A[d+(e<<2)>>3]=l*A[n+d>>3]+i*A[d+(n|8)>>3];t=e|2;A[d+(t<<2)>>3]=l*A[d+(t<<3)>>3]+i*A[d+(n|24)>>3];e=e+4|0;h=h-2|0;if(h){continue}break}}if(!s){break j}h=d+(e<<2)|0;e=e<<3;A[h>>3]=l*A[e+d>>3]+i*A[d+(e|8)>>3]}g=g>>1;p=p+1|0;if((f|0)!=(p|0)){continue}break}}e=(q<<3)+c|0;d=(q<<4)+a|0;i=A[d+1688>>3];i=i+A[r>>3]*(A[d+1696>>3]-i);A[e>>3]=i;l=A[d+528>>3];k:{if(!(i>3];if(!(i>l)){break k}}A[e>>3]=l}q=q+1|0;if((k|0)==(q|0)){break h}e=v[a+2468>>2];continue}}l:{if((f|0)<1){break l}h=f&3;d=0;if(f-1>>>0>=3){f=f&-4;e=a+2472|0;while(1){g=d<<3;A[g+e>>3]=A[b+g>>3];j=g|8;A[j+e>>3]=A[b+j>>3];j=g|16;A[j+e>>3]=A[b+j>>3];g=g|24;A[g+e>>3]=A[b+g>>3];d=d+4|0;f=f-4|0;if(f){continue}break}}if(!h){break l}while(1){f=d<<3;A[(f+a|0)+2472>>3]=A[b+f>>3];d=d+1|0;h=h-1|0;if(h){continue}break}}if((k|0)<1){break a}h=k&3;d=0;if(k-1>>>0>=3){f=k&-4;b=a+2728|0;while(1){e=d<<3;A[e+b>>3]=A[c+e>>3];g=e|8;A[g+b>>3]=A[c+g>>3];g=e|16;A[g+b>>3]=A[c+g>>3];e=e|24;A[e+b>>3]=A[c+e>>3];d=d+4|0;f=f-4|0;if(f){continue}break}}if(!h){break a}while(1){b=d<<3;A[(b+a|0)+2728>>3]=A[b+c>>3];d=d+1|0;h=h-1|0;if(h){continue}break}}Ma=m+640|0}function XK(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,q=0,r=C(0),s=0,t=0,y=0,A=0,E=0,F=0,G=0,H=0,I=0,J=0,K=C(0);e=Ma-80|0;Ma=e;Wi(a,e+48|0,8);d=x[e+52>>1];s=x[e+56>>1];i=(d>>>0)/(s>>>0)|0;k=Yb(B(i,c),4);if(k){if(x[e+58>>1]<=x[e+54>>1]){A=(c|0)<1;G=A|d>>>0>>0;t=i>>>0>1?i:1;H=c-1|0;d=(H>>>1|0)+1|0;s=d&-2;I=d&1;while(1){a:{if(G){break a}g=0;if(!b){h=0;if(!o){while(1){f=0;while(1){u[e+76>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],e+76|0,1,2)|0;g=w[e+76|0];j=(B(f,i)+h<<2)+k|0;if(x[a+25204>>1]!=18761){d=w[e+77|0]|g<<8}else{d=g|w[e+77|0]<<8}z[j>>2]=C((d&65535)>>>0)*C(30517578125e-15);f=f+2|0;if((f|0)<(c|0)){continue}break}h=h+1|0;if((t|0)!=(h|0)){continue}break a}}while(1){f=0;while(1){u[e+76>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],e+76|0,1,2)|0;g=w[e+76|0];j=(B(f|1,i)+h<<2)+k|0;if(x[a+25204>>1]!=18761){d=w[e+77|0]|g<<8}else{d=g|w[e+77|0]<<8}z[j>>2]=C(C(C((d&65535)>>>0)*C(30517578125e-15))-z[(B(f,i)+h<<2)+k>>2])/C(x[e+58>>1]);f=f+2|0;if((f|0)<(c|0)){continue}break}h=h+1|0;if((t|0)!=(h|0)){continue}break}break a}while(1){f=0;while(1){v[e+76>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],e+76|0,1,4)|0;d=w[e+76|0];if(x[a+25204>>1]!=18761){d=w[e+79|0]|(w[e+77|0]<<16|d<<24|w[e+78|0]<<8)}else{d=d|w[e+77|0]<<8|w[e+78|0]<<16|w[e+79|0]<<24}b:{if(o){z[(B(f|1,i)+g<<2)+k>>2]=C((l(2,d),p())-z[(B(f,i)+g<<2)+k>>2])/C(x[e+58>>1]);break b}v[(B(f,i)+g<<2)+k>>2]=d}f=f+2|0;if((f|0)<(c|0)){continue}break}g=g+1|0;if((t|0)!=(g|0)){continue}break}}c:{if(!o){break c}d=x[e+58>>1];E=(x[e+50>>1]-x[a+26312>>1]|0)+B(d,o)|0;j=E-d|0;if(j>>>0>=x[a+26308>>1]|j>>>0>=E>>>0){break c}while(1){q=1;if(i>>>0>1){J=j<<1&14;while(1){m=x[e+56>>1];if(!A){K=C(m>>>0);f=0;while(1){y=f<<2;g=e+32|0;d=(B(f,i)+q<<2)+k|0;r=z[d-4>>2];z[y+g>>2]=r;z[g+(y|4)>>2]=C(z[d>>2]-r)/K;f=f+2|0;if((f|0)<(c|0)){continue}break}}F=(x[e+48>>1]-x[a+26314>>1]|0)+B(m,q)|0;n=F-m|0;d:{if(n>>>0>=x[a+26310>>1]|n>>>0>=F>>>0){break d}y=v[a+26028>>2];while(1){g=y>>>((n&1|J)<<1)|0;d=g&3;f=0;e:{if((c|0)>=3){f=d;if(g&1){break e}}g=x[a+26316>>1];d=(v[a+26352>>2]+(B(x[a+26320>>1],j>>>g|0)+(n>>>g|0)<<3)|0)+(d<<1)|0;r=C(z[(e+32|f<<2)>>2]*C(x[d>>1]));f:{if(C(D(r))>1]=(d|0)>0?d:0}g:{if(A){break g}h=0;g=s;if(H>>>0>=2){while(1){m=e+32|0;f=h<<2;d=m+f|0;z[d>>2]=z[(f|4)+m>>2]+z[d>>2];d=(f|8)+m|0;z[d>>2]=z[(f|12)+m>>2]+z[d>>2];h=h+4|0;g=g-2|0;if(g){continue}break}}if(!I){break g}f=h<<2;g=e+32|0;d=f+g|0;z[d>>2]=z[g+(f|4)>>2]+z[d>>2]}n=n+1|0;if(n>>>0>=x[a+26310>>1]){break d}if(n>>>0>>0){continue}break}}q=q+1|0;if((q|0)!=(i|0)){continue}break}}h=0;if(!G){while(1){f=0;while(1){d=(B(f,i)+h<<2)+k|0;z[d>>2]=z[(B(f|1,i)+h<<2)+k>>2]+z[d>>2];f=f+2|0;if((f|0)<(c|0)){continue}break}h=h+1|0;if((t|0)!=(h|0)){continue}break}}j=j+1|0;if(j>>>0>=x[a+26308>>1]){break c}if(j>>>0>>0){continue}break}}o=o+1|0;if(o>>>0>1]/x[e+58>>1]>>>0){continue}break}}$a(k);Ma=e+80|0;return}c=v[a+190640>>2];h:{if(c){b=v[a+25208>>2];v[e+20>>2]=38091;v[e+16>>2]=b;Dc(c,4338,e+16|0);break h}b=v[a+25208>>2];v[e+4>>2]=38091;v[e>>2]=b;vb(v[249419],4338,e)}tc(a+190484|0,1);L()}function pz(a,b,c,d,e,f,g,h,i,j,k,l){var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0;m=Ma-192|0;Ma=m;v[m+48>>2]=13;v[m+32>>2]=13;v[m+16>>2]=13;v[m>>2]=13;o=ab(112);OG(o,v[a+4>>2],c,v[a+20>>2]);v[a+20>>2]=o;c=v[a+8>>2];Qa[v[v[c>>2]+64>>2]](c,v[a+28>>2]);c=gv(v[a+28>>2]);v[a+28>>2]=c;Ae(c);r=v[a+108>>2];DG(v[a+28>>2],A[d>>3],A[d+8>>3],A[d+16>>3],A[d+24>>3],A[d+32>>3],A[d+40>>3]);c=v[a+8>>2];Qa[v[v[c>>2]+76>>2]](c,v[a+28>>2],A[d>>3],A[d+8>>3],A[d+16>>3],A[d+24>>3],A[d+32>>3],A[d+40>>3]);n=A[e>>3];c=v[a+28>>2];p=A[e+8>>3];A[c+608>>3]=p;A[c+600>>3]=n;c=v[c+596>>2];A[c+16>>3]=p;A[c+8>>3]=n;v[c>>2]=1;n=A[e+16>>3];c=v[a+28>>2];p=A[e+8>>3];A[c+608>>3]=p;A[c+600>>3]=n;cd(v[c+596>>2],n,p);n=A[e+16>>3];c=v[a+28>>2];p=A[e+24>>3];A[c+608>>3]=p;A[c+600>>3]=n;cd(v[c+596>>2],n,p);n=A[e>>3];c=v[a+28>>2];p=A[e+24>>3];A[c+608>>3]=p;A[c+600>>3]=n;cd(v[c+596>>2],n,p);c=v[a+28>>2];kf(v[c+596>>2]);d=v[c+596>>2];d=v[((v[d+28>>2]<<2)+v[d+24>>2]|0)-4>>2];o=(v[d+12>>2]<<3)-8|0;A[c+600>>3]=A[o+v[d>>2]>>3];A[c+608>>3]=A[o+v[d+4>>2]>>3];ej(v[a+28>>2]);c=v[a+8>>2];Qa[v[v[c>>2]+220>>2]](c,v[a+28>>2]);Ae(v[a+28>>2]);o=0;q=f|g;if(q){ue(b,v[a+4>>2],m+48|0,0);c=v[m+56>>2];if(v[ib(Qa[v[v[c>>2]+76>>2]](c)|0,240508,m+32|0,0)>>2]==7){if(v[ib(v[m+40>>2],310304,m+16|0,0)>>2]!=5){o=mm(m+16|0,0)}bb(m+16|0)}bb(m+32|0);bb(m+48|0);d=v[a+28>>2];if(v[d+388>>2]){v[d+388>>2]=0;c=v[a+8>>2];Qa[v[v[c>>2]+124>>2]](c,d);d=v[a+28>>2]}if(A[d+392>>3]!=1){v[d+392>>2]=0;v[d+396>>2]=1072693248;c=v[a+8>>2];Qa[v[v[c>>2]+128>>2]](c,d);d=v[a+28>>2]}if(A[d+400>>3]!=1){v[d+400>>2]=0;v[d+404>>2]=1072693248;c=v[a+8>>2];Qa[v[v[c>>2]+132>>2]](c,d);d=v[a+28>>2]}c=v[a+8>>2];Qa[v[v[c>>2]+332>>2]](c,d);c=v[a+8>>2];Qa[v[v[c>>2]+316>>2]](c,v[a+28>>2],e,o,h,i,g)}n=A[a+48>>3];c=v[a+28>>2];A[a+48>>3]=A[c+16>>3];p=A[a+56>>3];A[a+56>>3]=A[c+24>>3];d=a- -64|0;s=A[d>>3];A[d>>3]=A[c+32>>3];t=A[a+72>>3];A[a+72>>3]=A[c+40>>3];u=A[a+80>>3];A[a+80>>3]=A[c+48>>3];w=A[a+88>>3];A[a+88>>3]=A[c+56>>3];d=v[a+8>>2];Qa[v[v[d>>2]+64>>2]](d,c);c=v[a+28>>2];d=ab(672);vs(d,c,1);v[a+28>>2]=d;MG(a,b);d=v[a+28>>2];if(v[d+668>>2]){while(1){b=nl(d);v[a+28>>2]=b;d=v[a+8>>2];Qa[v[v[d>>2]+68>>2]](d,b);d=v[a+28>>2];if(v[d+668>>2]){continue}break}}$a(hq(d));v[a+28>>2]=c;b=v[a+8>>2];Qa[v[v[b>>2]+68>>2]](b,c);if(q){b=v[a+8>>2];Qa[v[v[b>>2]+320>>2]](b,v[a+28>>2])}v[a+108>>2]=r;A[a+88>>3]=w;A[a+80>>3]=u;A[a+72>>3]=t;A[a+64>>3]=s;A[a+56>>3]=p;A[a+48>>3]=n;b=nl(v[a+28>>2]);v[a+28>>2]=b;c=v[a+8>>2];Qa[v[v[c>>2]+68>>2]](c,b);b=v[a+20>>2];c=v[b+104>>2];$a(NG(b));v[a+20>>2]=c;a:{if(g){d=0;eb(m- -64|0,0,128);b:{if(v[l>>2]==6){c=v[l+8>>2];if(v[c+12>>2]<1){break b}while(1){ub(c,d,m,0);b=v[m>>2];if(b-1>>>0<=1){c=(m- -64|0)+(d<<2)|0;n=((b|0)==1?+v[m+8>>2]:A[m+8>>3])*65536;c:{if(D(n)<2147483648){b=~~n;break c}b=-2147483648}v[c>>2]=b}bb(m);if(d>>>0>30){break b}d=d+1|0;c=v[l+8>>2];if((d|0)>2]){continue}break}break b}if(!o){break b}Qa[v[v[o>>2]+32>>2]](o,m- -64|0)}b=v[a+8>>2];Qa[v[v[b>>2]+328>>2]](b,v[a+28>>2],e,j,k,m- -64|0);break a}if(!f){break a}b=v[a+8>>2];Qa[v[v[b>>2]+324>>2]](b,v[a+28>>2],e)}if(o){Qa[v[v[o>>2]+4>>2]](o)}Ma=m+192|0}function pl(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;g=Ma-272|0;Ma=g;f=eb(g,0,256);A[f+264>>3]=c;A[f+256>>3]=b;a:{if(v[a+392>>2]<=0){a=0;g=0;break a}while(1){i=v[((h<<2)+a|0)+264>>2];Qa[v[v[i>>2]+16>>2]](i,f+256|0,f+(h<<3)|0);h=h+1|0;if((h|0)>2]){continue}break}b=A[f+128>>3]*65536;b:{if(D(b)<2147483648){a=~~b;break b}a=-2147483648}h=a;b=A[f+120>>3]*65536;c:{if(D(b)<2147483648){a=~~b;break c}a=-2147483648}b=A[f+112>>3]*65536;d:{if(D(b)<2147483648){j=~~b;break d}j=-2147483648}b=A[f+104>>3]*65536;e:{if(D(b)<2147483648){k=~~b;break e}k=-2147483648}b=A[f+96>>3]*65536;f:{if(D(b)<2147483648){l=~~b;break f}l=-2147483648}b=A[f+88>>3]*65536;g:{if(D(b)<2147483648){m=~~b;break g}m=-2147483648}b=A[f+80>>3]*65536;h:{if(D(b)<2147483648){n=~~b;break h}n=-2147483648}b=A[f+72>>3]*65536;i:{if(D(b)<2147483648){o=~~b;break i}o=-2147483648}b=A[f+64>>3]*65536;j:{if(D(b)<2147483648){p=~~b;break j}p=-2147483648}b=A[f+56>>3]*65536;k:{if(D(b)<2147483648){q=~~b;break k}q=-2147483648}b=A[f+48>>3]*65536;l:{if(D(b)<2147483648){r=~~b;break l}r=-2147483648}b=A[f+40>>3]*65536;m:{if(D(b)<2147483648){s=~~b;break m}s=-2147483648}b=A[f+32>>3]*65536;n:{if(D(b)<2147483648){t=~~b;break n}t=-2147483648}b=A[f+24>>3]*65536;o:{if(D(b)<2147483648){u=~~b;break o}u=-2147483648}b=A[f+16>>3]*65536;p:{if(D(b)<2147483648){e=~~b;break p}e=-2147483648}b=A[f+8>>3]*65536;q:{if(D(b)<2147483648){g=~~b;break q}g=-2147483648}i=g;b=A[f>>3]*65536;if(D(b)<2147483648){g=~~b;break a}g=-2147483648}v[d+64>>2]=h;v[d+60>>2]=a;v[d+56>>2]=j;v[d+52>>2]=k;v[d+48>>2]=l;v[d+44>>2]=m;v[d+40>>2]=n;v[d+36>>2]=o;v[d+32>>2]=p;v[d+28>>2]=q;v[d+24>>2]=r;v[d+20>>2]=s;v[d+16>>2]=t;v[d+12>>2]=u;v[d+8>>2]=e;v[d+4>>2]=i;v[d>>2]=g;a=d;b=A[f+136>>3]*65536;r:{if(D(b)<2147483648){e=~~b;break r}e=-2147483648}v[a+68>>2]=e;a=d;b=A[f+144>>3]*65536;s:{if(D(b)<2147483648){e=~~b;break s}e=-2147483648}v[a+72>>2]=e;a=d;b=A[f+152>>3]*65536;t:{if(D(b)<2147483648){e=~~b;break t}e=-2147483648}v[a+76>>2]=e;a=d;b=A[f+160>>3]*65536;u:{if(D(b)<2147483648){e=~~b;break u}e=-2147483648}v[a+80>>2]=e;a=d;b=A[f+168>>3]*65536;v:{if(D(b)<2147483648){e=~~b;break v}e=-2147483648}v[a+84>>2]=e;a=d;b=A[f+176>>3]*65536;w:{if(D(b)<2147483648){e=~~b;break w}e=-2147483648}v[a+88>>2]=e;a=d;b=A[f+184>>3]*65536;x:{if(D(b)<2147483648){e=~~b;break x}e=-2147483648}v[a+92>>2]=e;a=d;b=A[f+192>>3]*65536;y:{if(D(b)<2147483648){e=~~b;break y}e=-2147483648}v[a+96>>2]=e;a=d;b=A[f+200>>3]*65536;z:{if(D(b)<2147483648){e=~~b;break z}e=-2147483648}v[a+100>>2]=e;a=d;b=A[f+208>>3]*65536;A:{if(D(b)<2147483648){e=~~b;break A}e=-2147483648}v[a+104>>2]=e;a=d;b=A[f+216>>3]*65536;B:{if(D(b)<2147483648){e=~~b;break B}e=-2147483648}v[a+108>>2]=e;a=d;b=A[f+224>>3]*65536;C:{if(D(b)<2147483648){e=~~b;break C}e=-2147483648}v[a+112>>2]=e;a=d;b=A[f+232>>3]*65536;D:{if(D(b)<2147483648){e=~~b;break D}e=-2147483648}v[a+116>>2]=e;a=d;b=A[f+240>>3]*65536;E:{if(D(b)<2147483648){e=~~b;break E}e=-2147483648}v[a+120>>2]=e;b=A[f+248>>3]*65536;F:{if(D(b)<2147483648){a=~~b;break F}a=-2147483648}v[d+124>>2]=a;Ma=f+272|0}function ys(a,b,c){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,p=0,q=0,r=0,s=0,t=0;f=Ma-272|0;Ma=f;A[f+264>>3]=b;e=eb(f,0,256);a:{if(v[a+376>>2]<=0){a=0;f=0;break a}while(1){h=v[((g<<2)+a|0)+248>>2];Qa[v[v[h>>2]+16>>2]](h,e+264|0,e+(g<<3)|0);g=g+1|0;if((g|0)>2]){continue}break}b=A[e+128>>3]*65536;b:{if(D(b)<2147483648){a=~~b;break b}a=-2147483648}g=a;b=A[e+120>>3]*65536;c:{if(D(b)<2147483648){a=~~b;break c}a=-2147483648}b=A[e+112>>3]*65536;d:{if(D(b)<2147483648){i=~~b;break d}i=-2147483648}b=A[e+104>>3]*65536;e:{if(D(b)<2147483648){j=~~b;break e}j=-2147483648}b=A[e+96>>3]*65536;f:{if(D(b)<2147483648){k=~~b;break f}k=-2147483648}b=A[e+88>>3]*65536;g:{if(D(b)<2147483648){l=~~b;break g}l=-2147483648}b=A[e+80>>3]*65536;h:{if(D(b)<2147483648){m=~~b;break h}m=-2147483648}b=A[e+72>>3]*65536;i:{if(D(b)<2147483648){n=~~b;break i}n=-2147483648}b=A[e+64>>3]*65536;j:{if(D(b)<2147483648){o=~~b;break j}o=-2147483648}b=A[e+56>>3]*65536;k:{if(D(b)<2147483648){p=~~b;break k}p=-2147483648}b=A[e+48>>3]*65536;l:{if(D(b)<2147483648){q=~~b;break l}q=-2147483648}b=A[e+40>>3]*65536;m:{if(D(b)<2147483648){r=~~b;break m}r=-2147483648}b=A[e+32>>3]*65536;n:{if(D(b)<2147483648){s=~~b;break n}s=-2147483648}b=A[e+24>>3]*65536;o:{if(D(b)<2147483648){t=~~b;break o}t=-2147483648}b=A[e+16>>3]*65536;p:{if(D(b)<2147483648){d=~~b;break p}d=-2147483648}b=A[e+8>>3]*65536;q:{if(D(b)<2147483648){f=~~b;break q}f=-2147483648}h=f;b=A[e>>3]*65536;if(D(b)<2147483648){f=~~b;break a}f=-2147483648}v[c+64>>2]=g;v[c+60>>2]=a;v[c+56>>2]=i;v[c+52>>2]=j;v[c+48>>2]=k;v[c+44>>2]=l;v[c+40>>2]=m;v[c+36>>2]=n;v[c+32>>2]=o;v[c+28>>2]=p;v[c+24>>2]=q;v[c+20>>2]=r;v[c+16>>2]=s;v[c+12>>2]=t;v[c+8>>2]=d;v[c+4>>2]=h;v[c>>2]=f;a=c;b=A[e+136>>3]*65536;r:{if(D(b)<2147483648){d=~~b;break r}d=-2147483648}v[a+68>>2]=d;a=c;b=A[e+144>>3]*65536;s:{if(D(b)<2147483648){d=~~b;break s}d=-2147483648}v[a+72>>2]=d;a=c;b=A[e+152>>3]*65536;t:{if(D(b)<2147483648){d=~~b;break t}d=-2147483648}v[a+76>>2]=d;a=c;b=A[e+160>>3]*65536;u:{if(D(b)<2147483648){d=~~b;break u}d=-2147483648}v[a+80>>2]=d;a=c;b=A[e+168>>3]*65536;v:{if(D(b)<2147483648){d=~~b;break v}d=-2147483648}v[a+84>>2]=d;a=c;b=A[e+176>>3]*65536;w:{if(D(b)<2147483648){d=~~b;break w}d=-2147483648}v[a+88>>2]=d;a=c;b=A[e+184>>3]*65536;x:{if(D(b)<2147483648){d=~~b;break x}d=-2147483648}v[a+92>>2]=d;a=c;b=A[e+192>>3]*65536;y:{if(D(b)<2147483648){d=~~b;break y}d=-2147483648}v[a+96>>2]=d;a=c;b=A[e+200>>3]*65536;z:{if(D(b)<2147483648){d=~~b;break z}d=-2147483648}v[a+100>>2]=d;a=c;b=A[e+208>>3]*65536;A:{if(D(b)<2147483648){d=~~b;break A}d=-2147483648}v[a+104>>2]=d;a=c;b=A[e+216>>3]*65536;B:{if(D(b)<2147483648){d=~~b;break B}d=-2147483648}v[a+108>>2]=d;a=c;b=A[e+224>>3]*65536;C:{if(D(b)<2147483648){d=~~b;break C}d=-2147483648}v[a+112>>2]=d;a=c;b=A[e+232>>3]*65536;D:{if(D(b)<2147483648){d=~~b;break D}d=-2147483648}v[a+116>>2]=d;a=c;b=A[e+240>>3]*65536;E:{if(D(b)<2147483648){d=~~b;break E}d=-2147483648}v[a+120>>2]=d;b=A[e+248>>3]*65536;F:{if(D(b)<2147483648){a=~~b;break F}a=-2147483648}v[c+124>>2]=a;Ma=e+272|0}function oz(a,b,c){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,p=0,q=0,r=0,s=0,t=0;f=Ma-272|0;Ma=f;A[f+264>>3]=b;e=eb(f,0,256);a:{if(v[a+360>>2]<=0){a=0;f=0;break a}while(1){h=v[((g<<2)+a|0)+232>>2];Qa[v[v[h>>2]+16>>2]](h,e+264|0,e+(g<<3)|0);g=g+1|0;if((g|0)>2]){continue}break}b=A[e+128>>3]*65536;b:{if(D(b)<2147483648){a=~~b;break b}a=-2147483648}g=a;b=A[e+120>>3]*65536;c:{if(D(b)<2147483648){a=~~b;break c}a=-2147483648}b=A[e+112>>3]*65536;d:{if(D(b)<2147483648){i=~~b;break d}i=-2147483648}b=A[e+104>>3]*65536;e:{if(D(b)<2147483648){j=~~b;break e}j=-2147483648}b=A[e+96>>3]*65536;f:{if(D(b)<2147483648){k=~~b;break f}k=-2147483648}b=A[e+88>>3]*65536;g:{if(D(b)<2147483648){l=~~b;break g}l=-2147483648}b=A[e+80>>3]*65536;h:{if(D(b)<2147483648){m=~~b;break h}m=-2147483648}b=A[e+72>>3]*65536;i:{if(D(b)<2147483648){n=~~b;break i}n=-2147483648}b=A[e+64>>3]*65536;j:{if(D(b)<2147483648){o=~~b;break j}o=-2147483648}b=A[e+56>>3]*65536;k:{if(D(b)<2147483648){p=~~b;break k}p=-2147483648}b=A[e+48>>3]*65536;l:{if(D(b)<2147483648){q=~~b;break l}q=-2147483648}b=A[e+40>>3]*65536;m:{if(D(b)<2147483648){r=~~b;break m}r=-2147483648}b=A[e+32>>3]*65536;n:{if(D(b)<2147483648){s=~~b;break n}s=-2147483648}b=A[e+24>>3]*65536;o:{if(D(b)<2147483648){t=~~b;break o}t=-2147483648}b=A[e+16>>3]*65536;p:{if(D(b)<2147483648){d=~~b;break p}d=-2147483648}b=A[e+8>>3]*65536;q:{if(D(b)<2147483648){f=~~b;break q}f=-2147483648}h=f;b=A[e>>3]*65536;if(D(b)<2147483648){f=~~b;break a}f=-2147483648}v[c+64>>2]=g;v[c+60>>2]=a;v[c+56>>2]=i;v[c+52>>2]=j;v[c+48>>2]=k;v[c+44>>2]=l;v[c+40>>2]=m;v[c+36>>2]=n;v[c+32>>2]=o;v[c+28>>2]=p;v[c+24>>2]=q;v[c+20>>2]=r;v[c+16>>2]=s;v[c+12>>2]=t;v[c+8>>2]=d;v[c+4>>2]=h;v[c>>2]=f;a=c;b=A[e+136>>3]*65536;r:{if(D(b)<2147483648){d=~~b;break r}d=-2147483648}v[a+68>>2]=d;a=c;b=A[e+144>>3]*65536;s:{if(D(b)<2147483648){d=~~b;break s}d=-2147483648}v[a+72>>2]=d;a=c;b=A[e+152>>3]*65536;t:{if(D(b)<2147483648){d=~~b;break t}d=-2147483648}v[a+76>>2]=d;a=c;b=A[e+160>>3]*65536;u:{if(D(b)<2147483648){d=~~b;break u}d=-2147483648}v[a+80>>2]=d;a=c;b=A[e+168>>3]*65536;v:{if(D(b)<2147483648){d=~~b;break v}d=-2147483648}v[a+84>>2]=d;a=c;b=A[e+176>>3]*65536;w:{if(D(b)<2147483648){d=~~b;break w}d=-2147483648}v[a+88>>2]=d;a=c;b=A[e+184>>3]*65536;x:{if(D(b)<2147483648){d=~~b;break x}d=-2147483648}v[a+92>>2]=d;a=c;b=A[e+192>>3]*65536;y:{if(D(b)<2147483648){d=~~b;break y}d=-2147483648}v[a+96>>2]=d;a=c;b=A[e+200>>3]*65536;z:{if(D(b)<2147483648){d=~~b;break z}d=-2147483648}v[a+100>>2]=d;a=c;b=A[e+208>>3]*65536;A:{if(D(b)<2147483648){d=~~b;break A}d=-2147483648}v[a+104>>2]=d;a=c;b=A[e+216>>3]*65536;B:{if(D(b)<2147483648){d=~~b;break B}d=-2147483648}v[a+108>>2]=d;a=c;b=A[e+224>>3]*65536;C:{if(D(b)<2147483648){d=~~b;break C}d=-2147483648}v[a+112>>2]=d;a=c;b=A[e+232>>3]*65536;D:{if(D(b)<2147483648){d=~~b;break D}d=-2147483648}v[a+116>>2]=d;a=c;b=A[e+240>>3]*65536;E:{if(D(b)<2147483648){d=~~b;break E}d=-2147483648}v[a+120>>2]=d;b=A[e+248>>3]*65536;F:{if(D(b)<2147483648){a=~~b;break F}a=-2147483648}v[c+124>>2]=a;Ma=e+272|0}function ko(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;h=Ma-16|0;Ma=h;c=v[a+344>>2]+1|0;v[a+344>>2]=c;a:{if(c>>>0>2]){break a}b:{if(w[a+398|0]){v[a+344>>2]=0;eb(v[a+352>>2],0,v[a+336>>2]+1|0);c:{f=w[a+399|0];c=f+1|0;b=c&255;if(b>>>0>6){break c}d=w[b+76355|0];g=(d+v[a+320>>2]|0)+(w[b+76348|0]^-1)|0;v[a+340>>2]=(g>>>0)/(d>>>0);if(w[a+208|0]&2){break b}e=w[b+76099|0];b=(e+v[a+324>>2]|0)+(w[b+76092|0]^-1)|0;v[a+328>>2]=(b>>>0)/(e>>>0);if(d>>>0<=g>>>0&b>>>0>=e>>>0){break b}c=f+2|0;b=c&255;if(b>>>0>6){break c}d=w[b+76355|0];g=(d+v[a+320>>2]|0)+(w[b+76348|0]^-1)|0;v[a+340>>2]=(g>>>0)/(d>>>0);if(w[a+208|0]&2){break b}e=w[b+76099|0];b=(e+v[a+324>>2]|0)+(w[b+76092|0]^-1)|0;v[a+328>>2]=(b>>>0)/(e>>>0);if(d>>>0<=g>>>0&b>>>0>=e>>>0){break b}c=f+3|0;b=c&255;if(b>>>0>6){break c}d=w[b+76355|0];g=(d+v[a+320>>2]|0)+(w[b+76348|0]^-1)|0;v[a+340>>2]=(g>>>0)/(d>>>0);if(w[a+208|0]&2){break b}e=w[b+76099|0];b=(e+v[a+324>>2]|0)+(w[b+76092|0]^-1)|0;v[a+328>>2]=(b>>>0)/(e>>>0);if(d>>>0<=g>>>0&b>>>0>=e>>>0){break b}c=f+4|0;b=c&255;if(b>>>0>6){break c}d=w[b+76355|0];g=(d+v[a+320>>2]|0)+(w[b+76348|0]^-1)|0;v[a+340>>2]=(g>>>0)/(d>>>0);if(w[a+208|0]&2){break b}e=w[b+76099|0];b=(e+v[a+324>>2]|0)+(w[b+76092|0]^-1)|0;v[a+328>>2]=(b>>>0)/(e>>>0);if(d>>>0<=g>>>0&b>>>0>=e>>>0){break b}c=f+5|0;b=c&255;if(b>>>0>6){break c}d=w[b+76355|0];g=(d+v[a+320>>2]|0)+(w[b+76348|0]^-1)|0;v[a+340>>2]=(g>>>0)/(d>>>0);if(w[a+208|0]&2){break b}e=w[b+76099|0];b=(e+v[a+324>>2]|0)+(w[b+76092|0]^-1)|0;v[a+328>>2]=(b>>>0)/(e>>>0);if(d>>>0<=g>>>0&b>>>0>=e>>>0){break b}c=f+6|0;b=c&255;if(b>>>0>6){break c}d=w[b+76355|0];g=(d+v[a+320>>2]|0)+(w[b+76348|0]^-1)|0;v[a+340>>2]=(g>>>0)/(d>>>0);if(w[a+208|0]&2){break b}e=w[b+76099|0];b=(e+v[a+324>>2]|0)+(w[b+76092|0]^-1)|0;v[a+328>>2]=(b>>>0)/(e>>>0);if(d>>>0<=g>>>0&b>>>0>=e>>>0){break b}c=f+7|0;if(f>>>0<249){break c}b=c&255;d=w[b+76355|0];g=(d+v[a+320>>2]|0)+(w[b+76348|0]^-1)|0;v[a+340>>2]=(g>>>0)/(d>>>0);if(w[a+208|0]&2){break b}e=w[b+76099|0];b=(e+v[a+324>>2]|0)+(w[b+76092|0]^-1)|0;v[a+328>>2]=(b>>>0)/(e>>>0);if(d>>>0<=g>>>0&b>>>0>=e>>>0){break b}c=f+8|0;f=c&255;if(f>>>0>6){break c}b=w[f+76355|0];v[a+340>>2]=((b+v[a+320>>2]|0)+(w[f+76348|0]^-1)>>>0)/(b>>>0);if(w[a+208|0]&2){break b}b=w[f+76099|0];v[a+328>>2]=((b+v[a+324>>2]|0)+(w[f+76092|0]^-1)>>>0)/(b>>>0);t[a+399|0]=c;break a}t[a+399|0]=c}if(!(w[a+204|0]&32)){v[a+228>>2]=1;v[a+224>>2]=h+15;g=a+212|0;d:{while(1){if(!v[a+216>>2]){f=v[a+380>>2];e:{while(1){if(f){break e}uc(a,0);f=Iy(a);v[a+380>>2]=f;if(v[a+348>>2]==1229209940){continue}break}dc(a,76106);L()}c=v[a+272>>2];v[a+216>>2]=c;b=v[a+268>>2];v[a+212>>2]=b;d=a;e=b;if(c>>>0>f>>>0){v[a+216>>2]=f;c=f}Ye(d,e,c);gc(a,b,c);v[a+380>>2]=v[a+380>>2]-v[a+216>>2]}c=bk(g,1);f:{if(c){if((c|0)==1){if(v[a+380>>2]|(v[a+216>>2]|!v[a+228>>2])){break f}break d}b=a;a=v[a+236>>2];dc(b,a?a:76231);L()}if(v[a+228>>2]){continue}}break}Db(a,76156)}v[a+228>>2]=0;v[a+200>>2]=v[a+200>>2]|8;v[a+204>>2]=v[a+204>>2]|32}if(v[a+216>>2]?1:v[a+380>>2]){Db(a,76320)}bw(a+212|0);v[a+200>>2]=v[a+200>>2]|8;break a}t[a+399|0]=c}Ma=h+16|0}function WKa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;i=Ma+-64|0;Ma=i;v[i+60>>2]=0;h=b+108|0;n=v[a+8>>2];a:{b:{if(v[b+72>>2]!=v[a+16>>2]){v[i+60>>2]=6;break b}if(!((c|0)!=2&c>>>0<=4)){v[i+60>>2]=19;break b}if(t[v[b+156>>2]+4|0]&1){e=v[b+88>>2];if(e){Qa[v[n+8>>2]](n,e)}v[b+88>>2]=0;e=v[b+156>>2];v[e+4>>2]=v[e+4>>2]&-2}if(FJ(b,c,d)){v[i+60>>2]=98;break b}f=b+76|0;e=v[f>>2];c:{if(!e){break c}g=v[b+84>>2];if(!g){break c}q=b,r=yb(n,g,0,e,0,i+60|0),v[q+88>>2]=r;if(v[i+60>>2]){break b}e=v[b+156>>2];v[e+4>>2]=v[e+4>>2]|1;e=v[b+76>>2]<<6;l=(w[b+94|0]==6?(e|0)/3|0:e)-(v[b+104>>2]<<6)|0;m=0-(v[b+100>>2]<<6)|0;if(d){m=v[d>>2]+m|0;l=v[d+4>>2]+l|0}if(l|m){Jg(h,m,l)}p=i;d:{e:{if(c>>>0<=1){if(w[b+124|0]&64){d=a;g=Ma+-64|0;Ma=g;a=v[h+4>>2];if(a){e=(u[h+2>>1]<<3)+a|0}else{e=0}c=98;j=v[f+4>>2];f:{if(j&1073733632){break f}v[g+56>>2]=j<<2;v[g+48>>2]=0;v[g+52>>2]=0;v[g+28>>2]=1934;v[g+24>>2]=3;v[g+20>>2]=h;v[g+44>>2]=g+8;j=v[f>>2];v[g+60>>2]=j<<2;k=v[f+12>>2];c=v[f+8>>2];v[g+12>>2]=c;v[g+8>>2]=k+((c|0)<0?0:B(c,j-1|0));if(a>>>0>>0){c=a;while(1){v[c>>2]=v[c>>2]<<2;v[c+4>>2]=v[c+4>>2]<<2;c=c+8|0;if(e>>>0>c>>>0){continue}break}c=Qa[v[d+56>>2]](v[d+52>>2],g+16|0)|0;if(a>>>0>=e>>>0){break f}while(1){v[a>>2]=v[a>>2]/4;v[a+4>>2]=v[a+4>>2]/4;a=a+8|0;if(e>>>0>a>>>0){continue}break}break f}c=Qa[v[d+56>>2]](v[d+52>>2],g+16|0)|0}Ma=g- -64|0;break e}v[i+16>>2]=1;v[i+12>>2]=h;v[i+8>>2]=f;c=Qa[v[a+56>>2]](v[a+52>>2],i+8|0)|0;break e}g:{switch(c-3|0){default:a=v[i+60>>2];break d;case 0:d=Ma+-64|0;Ma=d;e=v[a+4>>2];v[d+48>>2]=0;v[d+52>>2]=0;v[d+28>>2]=1935;v[d+24>>2]=3;v[d+20>>2]=h;v[d+44>>2]=d+8;v[d+56>>2]=v[f+4>>2];g=v[f>>2];v[d+60>>2]=g;j=v[f+12>>2];c=v[f+8>>2];v[d+12>>2]=c;v[d+8>>2]=j+((c|0)<0?0:B(c,g-1|0));f=e+184|0;Jg(h,0-v[e+180>>2]|0,0-v[f>>2]|0);c=Qa[v[a+56>>2]](v[a+52>>2],d+16|0)|0;h:{if(c){g=e+180|0;break h}v[d+8>>2]=v[d+8>>2]+1;g=e+188|0;f=e+192|0;Jg(h,v[e+180>>2]-v[g>>2]|0,v[e+184>>2]-v[f>>2]|0);c=Qa[v[a+56>>2]](v[a+52>>2],d+16|0)|0;if(c){break h}v[d+8>>2]=v[d+8>>2]+1;g=e+196|0;f=e+200|0;Jg(h,v[e+188>>2]-v[g>>2]|0,v[e+192>>2]-v[f>>2]|0);c=Qa[v[a+56>>2]](v[a+52>>2],d+16|0)|0}Jg(h,v[g>>2],v[f>>2]);Ma=d- -64|0;break e;case 1:break g}}e=Ma-48|0;Ma=e;d=v[a+4>>2];k=v[f+8>>2];v[e+8>>2]=1;v[e+4>>2]=h;v[e>>2]=f;v[f+8>>2]=B(k,3);v[f>>2]=y[f>>2]/3;Jg(h,0-v[d+184>>2]|0,v[d+180>>2]);c=Qa[v[a+56>>2]](v[a+52>>2],e)|0;g=v[d+184>>2];j=v[d+180>>2];i:{if(c){break i}v[f+12>>2]=k+v[f+12>>2];Jg(h,g-v[d+192>>2]|0,v[d+188>>2]-j|0);c=Qa[v[a+56>>2]](v[a+52>>2],e)|0;j=v[d+188>>2];g=v[d+192>>2];o=v[f+12>>2]-k|0;v[f+12>>2]=o;if(c){break i}k=k<<1;v[f+12>>2]=k+o;Jg(h,g-v[d+200>>2]|0,v[d+196>>2]-j|0);c=Qa[v[a+56>>2]](v[a+52>>2],e)|0;j=v[d+196>>2];g=v[d+200>>2];v[f+12>>2]=v[f+12>>2]-k}Jg(h,g,0-j|0);v[f+8>>2]=v[f+8>>2]/3;v[f>>2]=B(v[f>>2],3);Ma=e+48|0}a=c;v[p+60>>2]=a}if(a){break b}}v[b+72>>2]=1651078259;break a}if(!(t[v[b+156>>2]+4|0]&1)){break a}a=v[b+88>>2];if(a){Qa[v[n+8>>2]](n,a)}v[b+88>>2]=0;a=v[b+156>>2];v[a+4>>2]=v[a+4>>2]&-2}if(l|m){Jg(h,0-m|0,0-l|0)}Ma=i- -64|0;return v[i+60>>2]}function Sua(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;a=eb(a,0,256);d=v[b>>2]+c|0;g=w[d+3|0];f=w[d+1|0];e=g+f|0;i=w[d+4|0];h=w[d|0];j=i+h|0;k=e+j|0;d=w[d+2|0];v[a>>2]=(k+d<<3)-5120;e=B(j-e|0,6476)+512|0;d=B(k-(d<<2)|0,2896);v[a+16>>2]=e-d>>10;v[a+8>>2]=d+e>>10;g=f-g|0;f=h-i|0;d=B(g+f|0,6810)+512|0;v[a+12>>2]=d+B(g,-17828)>>10;v[a+4>>2]=d+B(f,4209)>>10;d=v[b+4>>2]+c|0;g=w[d+3|0];f=w[d+1|0];e=g+f|0;i=w[d+4|0];h=w[d|0];j=i+h|0;k=e+j|0;d=w[d+2|0];v[a+32>>2]=(k+d<<3)-5120;e=B(j-e|0,6476)+512|0;d=B(k-(d<<2)|0,2896);v[a+48>>2]=e-d>>10;v[a+40>>2]=d+e>>10;g=f-g|0;f=h-i|0;d=B(g+f|0,6810)+512|0;v[a+44>>2]=d+B(g,-17828)>>10;v[a+36>>2]=d+B(f,4209)>>10;d=v[b+8>>2]+c|0;g=w[d+3|0];f=w[d+1|0];e=g+f|0;i=w[d+4|0];h=w[d|0];j=i+h|0;k=e+j|0;d=w[d+2|0];v[a+64>>2]=(k+d<<3)-5120;e=B(j-e|0,6476)+512|0;d=B(k-(d<<2)|0,2896);v[a+80>>2]=e-d>>10;v[a+72>>2]=d+e>>10;g=f-g|0;f=h-i|0;d=B(g+f|0,6810)+512|0;v[a+76>>2]=d+B(g,-17828)>>10;v[a+68>>2]=d+B(f,4209)>>10;d=v[b+12>>2]+c|0;g=w[d+3|0];f=w[d+2|0];e=w[d+1|0];i=e+g|0;h=w[d+4|0];j=w[d|0];k=h+j|0;l=i+k|0;d=(f+l<<3)-5120|0;v[a+96>>2]=d;i=B(k-i|0,6476)+512|0;f=B(l-(f<<2)|0,2896);v[a+112>>2]=i-f>>10;v[a+104>>2]=f+i>>10;f=e-g|0;e=j-h|0;g=B(f+e|0,6810)+512|0;v[a+108>>2]=g+B(f,-17828)>>10;v[a+100>>2]=g+B(e,4209)>>10;b=v[b+16>>2]+c|0;c=w[b+4|0];g=w[b|0];f=c+g|0;e=w[b+3|0];i=w[b+1|0];h=e+i|0;j=B(f-h|0,6476)+512|0;f=f+h|0;h=w[b+2|0];b=B(f-(h<<2)|0,2896);v[a+144>>2]=j-b>>10;v[a+136>>2]=b+j>>10;e=i-e|0;g=g-c|0;b=B(e+g|0,6810)+512|0;v[a+140>>2]=b+B(e,-17828)>>10;c=(f+h<<3)-5120|0;f=v[a>>2];e=c+f|0;i=v[a+32>>2];h=i+d|0;j=B(e-h|0,8290)+16384|0;e=e+h|0;h=v[a+64>>2];k=B(e-(h<<2)|0,3707);v[a+128>>2]=j-k>>15;v[a+64>>2]=j+k>>15;v[a>>2]=B(e+h|0,10486)+16384>>15;d=i-d|0;f=f-c|0;c=B(d+f|0,8716)+16384|0;v[a+96>>2]=c+B(d,-22820)>>15;v[a+32>>2]=c+B(f,5387)>>15;b=b+B(g,4209)>>10;c=v[a+4>>2];d=b+c|0;g=v[a+100>>2];f=v[a+36>>2];e=g+f|0;i=B(d-e|0,8290)+16384|0;d=d+e|0;e=v[a+68>>2];h=B(d-(e<<2)|0,3707);v[a+132>>2]=i-h>>15;v[a+68>>2]=h+i>>15;v[a+4>>2]=B(d+e|0,10486)+16384>>15;d=f-g|0;c=c-b|0;b=B(d+c|0,8716)+16384|0;v[a+100>>2]=b+B(d,-22820)>>15;v[a+36>>2]=b+B(c,5387)>>15;b=v[a+136>>2];c=v[a+8>>2];d=b+c|0;g=v[a+104>>2];f=v[a+40>>2];e=g+f|0;i=B(d-e|0,8290)+16384|0;d=d+e|0;e=v[a+72>>2];h=B(d-(e<<2)|0,3707);v[a+136>>2]=i-h>>15;v[a+72>>2]=h+i>>15;v[a+8>>2]=B(d+e|0,10486)+16384>>15;d=f-g|0;c=c-b|0;b=B(d+c|0,8716)+16384|0;v[a+104>>2]=b+B(d,-22820)>>15;v[a+40>>2]=b+B(c,5387)>>15;b=v[a+140>>2];c=v[a+12>>2];d=b+c|0;g=v[a+108>>2];f=v[a+44>>2];e=g+f|0;i=B(d-e|0,8290)+16384|0;d=d+e|0;e=v[a+76>>2];h=B(d-(e<<2)|0,3707);v[a+140>>2]=i-h>>15;v[a+76>>2]=h+i>>15;v[a+12>>2]=B(d+e|0,10486)+16384>>15;d=f-g|0;c=c-b|0;b=B(d+c|0,8716)+16384|0;v[a+108>>2]=b+B(d,-22820)>>15;v[a+44>>2]=b+B(c,5387)>>15;b=v[a+144>>2];c=v[a+16>>2];d=b+c|0;g=v[a+112>>2];f=v[a+48>>2];e=g+f|0;i=B(d-e|0,8290)+16384|0;d=d+e|0;e=v[a+80>>2];h=B(d-(e<<2)|0,3707);v[a+144>>2]=i-h>>15;v[a+80>>2]=h+i>>15;v[a+16>>2]=B(d+e|0,10486)+16384>>15;d=f-g|0;c=c-b|0;b=B(d+c|0,8716)+16384|0;v[a+112>>2]=b+B(d,-22820)>>15;v[a+48>>2]=b+B(c,5387)>>15}function Jja(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;d=Ma+-64|0;Ma=d;a:{b:{if(w[a+60|0]){if(!v[291402]){break a}e=d+16|0;lg(e);Qa[v[v[a>>2]+60>>2]](a,e,0);a=v[d+16>>2];Qa[v[v[a>>2]+24>>2]](a);Qa[v[v[a>>2]+20>>2]](a,0,0,0)|0;Qa[v[291402]](e,b,c);a=v[d+16>>2];v[d+16>>2]=0;if(!a){break b}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break b}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}break b}if(c){vF(b);b=d+16|0;gs(b);Qa[v[v[a>>2]+60>>2]](a,b,0);a=v[d+16>>2];v[d+16>>2]=0;if(!a){break b}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break b}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}break b}c=d+16|0;vj(c,b);g=d+8|0;fh(g,b);_E(d+56|0,a);e=Ma+-64|0;Ma=e;f=v[d+56>>2];xy(e+48|0,v[f+8>>2],0);a=v[e+56>>2];if(a){while(1){HS(f,c,v[a+8>>2],0);a=v[a>>2];if(a){continue}break}}a=v[g>>2];if(!(!a|!v[a+8>>2])){g=ki(e+8|0,g,c);vF(g);gs(e);b=Ma-48|0;Ma=b;yy(b+32|0,v[f+8>>2]);c:{h=v[b+40>>2];if(!h){break c}while(1){c=0;a=v[h+8>>2];if(a){v[a+4>>2]=v[a+4>>2]+1;c=v[h+8>>2]}v[c+8>>2]=0;i=c+36|0;j=Bd(i);d:{a=v[v[f+28>>2]+((j>>>0)%y[f+24>>2]<<2)>>2];if(a){while(1){if((j|0)==v[a+12>>2]){if(!ld(a+16|0,i,-1)){break d}}a=v[a+8>>2];if(a){continue}break}}Rc(b,348804,i);a=v[b>>2];lb(mb(b+8|0,v[(a?a+12|0:1117e3)>>2],242035,548,335102));L()}a=Su(v[a+24>>2]);v[c+12>>2]=a;if(a){a=v[c+4>>2]-1|0;v[c+4>>2]=a;if(!a){a=v[c+4>>2];if(!a){v[c+4>>2]=-32767}if(!a){Qa[v[v[c>>2]+4>>2]](c)}}h=v[h>>2];if(h){continue}break c}break}lb(mb(b+8|0,280458,242035,551,335102));L()}Ve(b+8|0,e);a=v[b+8>>2];Uf(a,310900,1);Uf(a,310925,0);c=v[f+8>>2];v[b>>2]=0;qb(b,a);sF(c,b,0);c=v[b>>2];v[b>>2]=0;e:{if(!c){break e}h=v[c+4>>2]-1|0;v[c+4>>2]=h;if(h){break e}h=v[c+4>>2];if(!h){v[c+4>>2]=-32767}if(!h){Qa[v[v[c>>2]+4>>2]](c)}}Od(a);if(v[f+12>>2]){Uf(a,310910,0);c=v[f+12>>2];v[b>>2]=0;qb(b,a);jF(c,b);c=v[b>>2];v[b>>2]=0;f:{if(!c){break f}f=v[c+4>>2]-1|0;v[c+4>>2]=f;if(f){break f}f=v[c+4>>2];if(!f){v[c+4>>2]=-32767}if(!f){Qa[v[v[c>>2]+4>>2]](c)}}Od(a)}Od(a);Qa[v[v[a>>2]+24>>2]](a);a=v[b+8>>2];v[b+8>>2]=0;g:{if(!a){break g}c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(c){break g}c=v[a+4>>2];if(!c){v[a+4>>2]=-32767}if(!c){Qa[v[v[a>>2]+4>>2]](a)}}ac(b+32|0);Ma=b+48|0;a=v[e>>2];v[e>>2]=0;h:{if(!a){break h}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break h}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}v[g+24>>2]=969432;v[g>>2]=969400;a=v[g+28>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Qa[v[v[a>>2]+4>>2]](a)}v[g+28>>2]=0}v[g+16>>2]=969432;a=v[g+20>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Qa[v[v[a>>2]+4>>2]](a)}v[g+20>>2]=0}db(g+8|0)}ac(e+48|0);Ma=e- -64|0;a=v[d+56>>2];v[d+56>>2]=0;i:{if(!a){break i}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break i}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}db(d+8|0);v[d+40>>2]=969432;v[d+16>>2]=969400;a=v[d+44>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Qa[v[v[a>>2]+4>>2]](a)}v[d+44>>2]=0}v[d+32>>2]=969432;a=v[d+36>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Qa[v[v[a>>2]+4>>2]](a)}v[d+36>>2]=0}db(d+24|0)}Ma=d- -64|0;return}lb(mb(d+16|0,300352,240864,1848,330374));L()}function E7(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;i=Ma-144|0;Ma=i;a:{b:{c:{g=v[a+584>>2];if(g){if(v[g+116>>2]){e=v[g+88>>2];d:{if(!e){e=c;break d}d=v[g+100>>2];f=x[d+4>>1]-e|0;e:{if((f|0)>(c|0)){v[g+88>>2]=c+e;e=f;while(1){f:{d=v[d>>2];e=e-1|0;if((e|0)<=(c|0)){break f}if(d){continue}}break}if(!d){e=c;break e}h=b+c|0;e=c;while(1){h=h-1|0;t[h|0]=w[d+6|0];e=e-1|0;if(!e){break e}d=v[d>>2];if(d){continue}break}break e}b=b+f|0;h=b;e=f;while(1){g:{j=v[d>>2];h=h-1|0;t[h|0]=w[d+6|0];e=e-1|0;if(!e){break g}d=j;if(d){continue}}break}v[g+88>>2]=0;e=c-f|0}s=1;if((c|0)<(f|0)){break a}}s=1;q=v[g+112>>2];k=v[g+108>>2];d=v[g+104>>2];o=v[g+84>>2];m=v[g+76>>2];c=v[g+72>>2];l=x[g+64>>1];j=v[a+604>>2];if((e|0)<1){break c}while(1){f=v[g+92>>2];if((f|0)<(l|0)){b=v[a>>2];f=v[a+628>>2];v[i+16>>2]=v[a+480>>2];Nc(f,b,22921,i+16|0);break c}c=w[j|0]|c<<8;h=m+8|0;if((l|0)<=(h|0)){j=j+1|0}else{h=m+16|0;c=w[j+1|0]|c<<8;j=j+2|0}v[g+92>>2]=f-l;h:{i:{j:{m=h-l|0;p=c>>m&o;n=p&65535;switch(n-256|0){case 0:break j;case 1:break c;default:break i}}k=v[g+116>>2]+2064|0;Hf(k,0,38888);q=v[g+116>>2]+4080|0;h=v[g+92>>2];if((h|0)<=8){b=v[a>>2];f=v[a+628>>2];v[i+112>>2]=v[a+480>>2];Nc(f,b,22921,i+112|0);o=511;l=9;break c}c=w[j|0]|c<<8;k:{if((m|0)>0){j=j+1|0;f=m+8|0;break k}c=w[j+1|0]|c<<8;j=j+2|0;f=m+16|0}v[g+92>>2]=h-9;o=511;l=9;l:{m:{m=f-9|0;f=c>>m;switch((f&511)-256|0){case 0:break m;case 1:break c;default:break l}}b=v[a>>2];c=v[a+628>>2];v[i+128>>2]=v[a+472>>2];wb(c,b,25368,i+128|0);break b}t[b|0]=f;e=e-1|0;d=v[g+116>>2]+((f&511)<<3)|0;b=b+1|0;break h}n:{h=v[g+116>>2];if(h>>>0<=k>>>0){f=h+40952|0;if(f>>>0>k>>>0){break n}}b=v[a>>2];c=v[a+628>>2];v[i+96>>2]=v[a+472>>2];wb(c,b,25368,i+96|0);break b}v[k>>2]=d;if(!(d>>>0>>0&d>>>0>=h>>>0)){b=v[a>>2];c=v[a+628>>2];v[i+80>>2]=v[a+472>>2];wb(c,b,25368,i+80|0);break b}t[k+7|0]=w[d+7|0];u[k+4>>1]=x[d+4>>1]+1;d=n<<3;f=d+h|0;t[k+6|0]=w[(f>>>0>>0?f+7|0:k+7|0)|0];k=k+8|0;if(q>>>0>>0){l=((l|0)<11?l:11)+1|0;o=-1<>>0>=256){r=x[(d+h|0)+4>>1];if(!r){b=v[a>>2];c=v[a+628>>2];v[i+32>>2]=v[a+472>>2];wb(c,b,33423,i+32|0);break b}if((e|0)<(r|0)){v[g+100>>2]=f;d=f;o:{while(1){d=v[d>>2];if(!d){break o}if(x[d+4>>1]>(e|0)){continue}break}v[g+88>>2]=e;h=b+e|0;while(1){p:{h=h-1|0;t[h|0]=w[d+6|0];d=v[d>>2];e=e-1|0;if(!e){break p}if(d){continue}}break}if(!d){break o}b=v[a+628>>2];d=v[a>>2];v[i+48>>2]=v[a+472>>2];wb(b,d,36266,i+48|0)}d=f;break c}p=b+r|0;d=p;h=f;while(1){q:{n=v[h>>2];d=d-1|0;t[d|0]=w[h+6|0];if(!n){break q}h=n;if(b>>>0>>0){continue}}break}if(n){b=v[a+628>>2];d=v[a>>2];v[i+64>>2]=v[a+472>>2];wb(b,d,36266,i- -64|0);d=f;break c}e=e-r|0;d=f;b=p;break h}t[b|0]=p;e=e-1|0;d=f;b=b+1|0}if((e|0)>0){continue}break}break c}O(32035,6139,364,88287);L()}O(16309,6139,363,88287);L()}v[a+604>>2]=j;v[g+112>>2]=q;v[g+108>>2]=k;v[g+104>>2]=d;v[g+84>>2]=o;v[g+76>>2]=m;v[g+72>>2]=c;u[g+64>>1]=l;if((e|0)<1){break a}b=v[a>>2];c=v[a+628>>2];a=v[a+472>>2];v[i+4>>2]=e;v[i>>2]=a;wb(c,b,35215,i)}s=0}Ma=i+144|0;return s|0}function SX(a){a=a|0;var b=0,c=0,d=0,e=0;d=v[a+420>>2];b=v[d+12>>2];c=(b+v[d+16>>2]|0)-1&-65536;c=((b|0)>(c|0)?c|32768:c)<>2];v[d+12>>2]=c;b=v[d+32>>2];a:{if(c>>>0>=134217728){b:{if((b|0)<0){break b}if(v[d+24>>2]){while(1){b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;c:{if(c){break c}if(Qa[v[b+12>>2]](a)|0){break c}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[d+24>>2]-1|0;v[d+24>>2]=b;if(b){continue}break}b=v[d+32>>2]}c=v[a+24>>2];e=v[c>>2];v[c>>2]=e+1;t[e|0]=b+1;b=v[c+4>>2]-1|0;v[c+4>>2]=b;d:{if(b){break d}if(Qa[v[c+12>>2]](a)|0){break d}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}if(v[d+32>>2]!=254){break b}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break b}if(Qa[v[b+12>>2]](a)|0){break b}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[d+20>>2];v[d+20>>2]=0;v[d+24>>2]=b+v[d+24>>2];break a}e:{if(!b){v[d+24>>2]=v[d+24>>2]+1;break e}if((b|0)<0){break e}if(v[d+24>>2]){while(1){b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;f:{if(c){break f}if(Qa[v[b+12>>2]](a)|0){break f}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[d+24>>2]-1|0;v[d+24>>2]=b;if(b){continue}break}b=v[d+32>>2]}c=v[a+24>>2];e=v[c>>2];v[c>>2]=e+1;t[e|0]=b;b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(b){break e}if(Qa[v[c+12>>2]](a)|0){break e}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}if(!v[d+20>>2]){break a}if(v[d+24>>2]){while(1){b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;g:{if(c){break g}if(Qa[v[b+12>>2]](a)|0){break g}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[d+24>>2]-1|0;v[d+24>>2]=b;if(b){continue}break}}while(1){b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=255;c=v[b+4>>2]-1|0;v[b+4>>2]=c;h:{if(c){break h}if(Qa[v[b+12>>2]](a)|0){break h}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;i:{if(c){break i}if(Qa[v[b+12>>2]](a)|0){break i}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[d+20>>2]-1|0;v[d+20>>2]=b;if(b){continue}break}}c=v[d+12>>2];j:{if(!(c&134215680)){break j}if(v[d+24>>2]){while(1){b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;k:{if(c){break k}if(Qa[v[b+12>>2]](a)|0){break k}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[d+24>>2]-1|0;v[d+24>>2]=b;if(b){continue}break}c=v[d+12>>2]}b=v[a+24>>2];e=v[b>>2];v[b>>2]=e+1;t[e|0]=c>>>19;c=v[b+4>>2]-1|0;v[b+4>>2]=c;l:{if(c){break l}if(Qa[v[b+12>>2]](a)|0){break l}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}m:{if((v[d+12>>2]&133693440)!=133693440){break m}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break m}if(Qa[v[b+12>>2]](a)|0){break m}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}e=v[d+12>>2];if(!(e&522240)){break j}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=e>>>11;c=v[b+4>>2]-1|0;v[b+4>>2]=c;n:{if(c){break n}if(Qa[v[b+12>>2]](a)|0){break n}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}if((v[d+12>>2]&522240)!=522240){break j}d=v[a+24>>2];b=v[d>>2];v[d>>2]=b+1;t[b|0]=0;b=v[d+4>>2]-1|0;v[d+4>>2]=b;if(b){break j}if(Qa[v[d+12>>2]](a)|0){break j}d=v[a>>2];v[d+20>>2]=25;Qa[v[d>>2]](a)}}function LWa(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,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0,A=0,B=0,C=0;f=Ma-16|0;Ma=f;a:{b:{if(w[a+285|0]|w[a+286|0]|(w[a+287|0]|w[a+288|0])){break b}if(w[a+289|0]){break b}g=1029;ob(a,1029,0,0);break a}if(c>>>0>5){g=d;while(1){j=g;g=g+1|0;if(w[j|0]){continue}break}r=j+3|0;q=r;while(1){h=q;q=h+1|0;if(w[h|0]){continue}break}l=q;while(1){i=l;l=i+1|0;if(w[i|0]){continue}break}m=j-d|0;if(!(!((m|0)>(c|0)|(h-d|0)>(c|0))&(i-d|0)<=(c|0))){g=1043;ob(a,1043,0,0);break a}if((d|0)==(j|0)){g=1044;ob(a,1044,0,0);break a}s=w[g|0];if(s>>>0>=2){g=1038;ob(a,1038,0,0);break a}if(w[j+2|0]){g=1038;ob(a,1038,0,0);break a}v[f+12>>2]=0;v[f+4>>2]=0;n=h-j|0;k=i-h|0;c=(c-(n+m|0)|0)-k|0;o=c-1|0;z=c+4|0;u=k-1|0;x=n-3|0;h=0;c=0;i=0;c:{if(!v[a+192>>2]){break c}d:{if(s){g=Lt(a,l,o,f+4|0,f+8|0,f+12|0);if(!g){break d}b=v[f+4>>2];if(!b){break a}Qa[v[a+156>>2]](b,v[f+8>>2]);break a}v[f+12>>2]=o;c=z-4|0;v[f+8>>2]=c;c=Qa[v[a+152>>2]](c)|0;v[f+4>>2]=c;if(!c){g=1;ob(a,1,0,0);break a}cb(c,l,o)}g=m+1|0;i=Qa[v[a+152>>2]](g)|0;y=n-2|0;c=Qa[v[a+152>>2]](y)|0;h=Qa[v[a+152>>2]](k)|0;if(h?!i|!c:1){if(h){Qa[v[a+156>>2]](h,k)}if(c){Qa[v[a+156>>2]](c,y)}if(i){Qa[v[a+156>>2]](i,g)}b=v[f+4>>2];if(b){Qa[v[a+156>>2]](b,v[f+8>>2])}g=1;ob(a,1,0,0);break a}A=cb(i,d,m);B=cb(c,r,x);C=cb(h,q,u);p=v[f+4>>2];if(Qa[v[a+192>>2]](a,2,A,p,B,C)|0){break c}Qa[v[a+156>>2]](C,k);Qa[v[a+156>>2]](B,y);Qa[v[a+156>>2]](A,g);if(p){Qa[v[a+156>>2]](p,v[f+8>>2])}g=904;ob(a,904,0,0);break a}e:{if(!w[a+112|0]){break e}g=Qa[v[b+4>>2]](a,b,e)|0;if(g){if(h){Qa[v[a+156>>2]](h,k)}if(c){Qa[v[a+156>>2]](c,n-2|0)}if(i){Qa[v[a+156>>2]](i,m+1|0)}if(!p){break a}Qa[v[a+156>>2]](p,v[f+8>>2]);break a}b=v[e>>2];v[b+52>>2]=u;v[b+44>>2]=x;v[b+32>>2]=m;t[b+40|0]=w[j+1|0];t[b+41|0]=w[j+2|0];f:{if(!o|p){break f}if(s){g=Lt(a,l,o,f+4|0,f+8|0,f+12|0);if(!g){break f}if(h){Qa[v[a+156>>2]](h,k)}if(c){Qa[v[a+156>>2]](c,n-2|0)}if(i){Qa[v[a+156>>2]](i,m+1|0)}b=v[f+4>>2];if(!b){break a}Qa[v[a+156>>2]](b,v[f+8>>2]);break a}v[f+12>>2]=o;b=z-4|0;v[f+8>>2]=b;b=Qa[v[a+152>>2]](b)|0;v[f+4>>2]=b;if(!b){g=1;ob(a,1,0,0);break a}cb(b,l,o)}g=m+1|0;b=Qa[v[a+152>>2]](g)|0;v[v[e>>2]+36>>2]=b;l=n-2|0;b=Qa[v[a+152>>2]](l)|0;v[v[e>>2]+48>>2]=b;b=Qa[v[a+152>>2]](k)|0;v[v[e>>2]+56>>2]=b;b=v[e>>2];j=v[b+36>>2];if(v[b+56>>2]?!j|!v[b+48>>2]:1){if(h){Qa[v[a+156>>2]](h,k)}if(c){Qa[v[a+156>>2]](c,l)}if(i){Qa[v[a+156>>2]](i,g)}b=v[f+4>>2];if(b){Qa[v[a+156>>2]](b,v[f+8>>2])}g=1;ob(a,1,0,0);break a}cb(j,d,m);cb(v[v[e>>2]+48>>2],r,x);cb(v[v[e>>2]+56>>2],q,u);b=v[f+12>>2];v[v[e>>2]+60>>2]=b;if(!b){break e}d=Qa[v[a+152>>2]](b+1|0)|0;v[v[e>>2]+64>>2]=d;d=v[v[e>>2]+64>>2];if(!d){if(h){Qa[v[a+156>>2]](h,k)}if(c){Qa[v[a+156>>2]](c,l)}if(i){Qa[v[a+156>>2]](i,g)}b=v[f+4>>2];if(b){Qa[v[a+156>>2]](b,v[f+8>>2])}g=1;ob(a,1,0,0);break a}cb(d,v[f+4>>2],b)}if(h){Qa[v[a+156>>2]](h,k)}if(c){Qa[v[a+156>>2]](c,n-2|0)}if(i){Qa[v[a+156>>2]](i,m+1|0)}g=0;b=v[f+4>>2];if(!b){break a}Qa[v[a+156>>2]](b,v[f+8>>2]);break a}g=1028;ob(a,1028,0,0)}Ma=f+16|0;return g|0}function $a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(!a){break a}d=a-8|0;b=v[a-4>>2];a=b&-8;f=d+a|0;b:{if(b&1){break b}if(!(b&3)){break a}b=v[d>>2];d=d-b|0;if(d>>>0>>0<=255){e=v[d+8>>2];b=b>>>3|0;c=v[d+12>>2];if((c|0)==(e|0)){i=1189248,j=v[297312]&C3a(-2,b),v[i>>2]=j;break b}v[e+12>>2]=c;v[c+8>>2]=e;break b}h=v[d+24>>2];b=v[d+12>>2];c:{if((d|0)!=(b|0)){c=v[d+8>>2];v[c+12>>2]=b;v[b+8>>2]=c;break c}d:{e=d+20|0;c=v[e>>2];if(c){break d}e=d+16|0;c=v[e>>2];if(c){break d}b=0;break c}while(1){g=e;b=c;e=b+20|0;c=v[e>>2];if(c){continue}e=b+16|0;c=v[b+16>>2];if(c){continue}break}v[g>>2]=0}if(!h){break b}e=v[d+28>>2];c=(e<<2)+1189552|0;e:{if(v[c>>2]==(d|0)){v[c>>2]=b;if(b){break e}i=1189252,j=v[297313]&C3a(-2,e),v[i>>2]=j;break b}v[h+(v[h+16>>2]==(d|0)?16:20)>>2]=b;if(!b){break b}}v[b+24>>2]=h;c=v[d+16>>2];if(c){v[b+16>>2]=c;v[c+24>>2]=b}c=v[d+20>>2];if(!c){break b}v[b+20>>2]=c;v[c+24>>2]=b;break b}b=v[f+4>>2];if((b&3)!=3){break b}v[297314]=a;v[f+4>>2]=b&-2;v[d+4>>2]=a|1;v[a+d>>2]=a;return}if(d>>>0>=f>>>0){break a}b=v[f+4>>2];if(!(b&1)){break a}f:{if(!(b&2)){if(v[297318]==(f|0)){v[297318]=d;a=v[297315]+a|0;v[297315]=a;v[d+4>>2]=a|1;if(v[297317]!=(d|0)){break a}v[297314]=0;v[297317]=0;return}if(v[297317]==(f|0)){v[297317]=d;a=v[297314]+a|0;v[297314]=a;v[d+4>>2]=a|1;v[a+d>>2]=a;return}a=(b&-8)+a|0;g:{if(b>>>0<=255){e=v[f+8>>2];b=b>>>3|0;c=v[f+12>>2];if((c|0)==(e|0)){i=1189248,j=v[297312]&C3a(-2,b),v[i>>2]=j;break g}v[e+12>>2]=c;v[c+8>>2]=e;break g}h=v[f+24>>2];b=v[f+12>>2];h:{if((f|0)!=(b|0)){c=v[f+8>>2];v[c+12>>2]=b;v[b+8>>2]=c;break h}i:{e=f+20|0;c=v[e>>2];if(c){break i}e=f+16|0;c=v[e>>2];if(c){break i}b=0;break h}while(1){g=e;b=c;e=b+20|0;c=v[e>>2];if(c){continue}e=b+16|0;c=v[b+16>>2];if(c){continue}break}v[g>>2]=0}if(!h){break g}e=v[f+28>>2];c=(e<<2)+1189552|0;j:{if(v[c>>2]==(f|0)){v[c>>2]=b;if(b){break j}i=1189252,j=v[297313]&C3a(-2,e),v[i>>2]=j;break g}v[h+(v[h+16>>2]==(f|0)?16:20)>>2]=b;if(!b){break g}}v[b+24>>2]=h;c=v[f+16>>2];if(c){v[b+16>>2]=c;v[c+24>>2]=b}c=v[f+20>>2];if(!c){break g}v[b+20>>2]=c;v[c+24>>2]=b}v[d+4>>2]=a|1;v[a+d>>2]=a;if(v[297317]!=(d|0)){break f}v[297314]=a;return}v[f+4>>2]=b&-2;v[d+4>>2]=a|1;v[a+d>>2]=a}if(a>>>0<=255){a=a>>>3|0;b=(a<<3)+1189288|0;c=v[297312];a=1<>2]}v[b+8>>2]=d;v[a+12>>2]=d;v[d+12>>2]=b;v[d+8>>2]=a;return}e=31;v[d+16>>2]=0;v[d+20>>2]=0;if(a>>>0<=16777215){b=a>>>8|0;g=b+1048320>>>16&8;b=b<>>16&4;b=b<>>16&2;b=(b<>>15|0)-(c|(e|g))|0;e=(b<<1|a>>>b+21&1)+28|0}v[d+28>>2]=e;g=(e<<2)+1189552|0;l:{m:{c=v[297313];b=1<>2]=d;v[d+24>>2]=g;break n}e=a<<((e|0)==31?0:25-(e>>>1|0)|0);b=v[g>>2];while(1){c=b;if((v[b+4>>2]&-8)==(a|0)){break m}b=e>>>29|0;e=e<<1;g=c+(b&4)|0;b=v[g+16>>2];if(b){continue}break}v[g+16>>2]=d;v[d+24>>2]=c}v[d+12>>2]=d;v[d+8>>2]=d;break l}a=v[c+8>>2];v[a+12>>2]=d;v[c+8>>2]=d;v[d+24>>2]=0;v[d+12>>2]=c;v[d+8>>2]=a}a=v[297320]-1|0;v[297320]=a?a:-1}}function A5(){var a=0,b=0,c=0,d=0,e=0,f=0,g=C(0),h=C(0),i=C(0),j=0,k=C(0);v[285906]=0;v[285907]=4;v[285904]=0;v[285905]=3;eb(1143632,0,132);v[285941]=46;while(1){d=(a>>>4&1)+(a>>>6&1)|0;c=(((a>>>3&1)+(a&1)|0)+(a>>>1&1)|0)+(a>>>2&1)|0;b=9;a:{b:{switch((a>>>5&1)+(a>>>7|0)|0){case 0:b=4;c:{switch(d|0){case 0:b=c?(c|0)==1?2:3:1;break a;case 1:break a;default:break c}}b=5;break a;case 1:break b;default:break a}}b=8;if(d){break a}b=c?7:6}v[(a<<2)+1119040>>2]=b;a=a+1|0;if((a|0)!=256){continue}break}a=0;while(1){d=(a>>>4&1)+(a>>>6&1)|0;c=(((a>>>3&1)+(a&1)|0)+(a>>>1&1)|0)+(a>>>2&1)|0;b=9;d:{e:{switch((a>>>5&1)+(a>>>7|0)|0){case 1:b=8;if(d){break d}b=c?7:6;break d;case 0:break e;default:break d}}b=4;f:{switch(d|0){case 0:b=c?(c|0)==1?2:3:1;break d;case 1:break d;default:break f}}b=5}v[(a<<2|1024)+1119040>>2]=b;a=a+1|0;if((a|0)!=256){continue}break}a=0;while(1){d=(a>>>5&1)+(a>>>7|0)|0;c=(((a>>>3&1)+(a&1)|0)+(a>>>1&1)|0)+(a>>>2&1)|0;b=9;g:{h:{switch((a>>>4&1)+(a>>>6&1)|0){case 1:b=8;if(d){break g}b=c?7:6;break g;case 0:break h;default:break g}}b=4;i:{switch(d|0){case 0:b=c?(c|0)==1?2:3:1;break g;case 1:break g;default:break i}}b=5}v[(a<<2|2048)+1119040>>2]=b;a=a+1|0;if((a|0)!=256){continue}break}a=0;while(1){c=(a>>>5&1)+(a>>>7|0)+((a>>>4&1)+(a>>>6&1))|0;b=9;j:{k:{switch((((a>>>3&1)+(a&1)|0)+(a>>>1&1)|0)+(a>>>2&1)|0){case 2:b=c?8:7;break j;case 1:b=c?(c|0)==1?5:6:4;break j;case 0:break k;default:break j}}b=c?(c|0)==1?2:3:1}v[(a<<2|3072)+1119040>>2]=b;a=a+1|0;if((a|0)!=256){continue}break}a=0;while(1){b=0;j=(a<<2)+1123136|0;c=a<<4;d=c&544;e=c&2176;d=(((d|0)==32|0)!=(((e|0)==128?-1:0)|0))-(((d|0)==544|0)!=(((e|0)==2176?-1:0)|0))|0;e=c&272;c=c&1088;c=(((e|0)==16|0)!=(((c|0)==64?-1:0)|0))-(((e|0)==272|0)!=(((c|0)==1088?-1:0)|0))|0;if(d|c){d=((d|0)!=0|(c|0)<1)&(d|0)<1}else{d=0}v[j>>2]=d;a=a+1|0;if((a|0)!=256){continue}break}while(1){a=0;c=b<<4;d=c&272;e=c&1088;d=(((d|0)==16|0)!=(((e|0)==64?-1:0)|0))-(((d|0)==272|0)!=(((e|0)==1088?-1:0)|0))|0;j=0-d|0;e=d;d=c&544;c=c&2176;d=(((d|0)==32|0)!=(((c|0)==128?-1:0)|0))-(((d|0)==544|0)!=(((c|0)==2176?-1:0)|0))|0;c=(d|0)<0?j:e;v[(b<<2)+1124160>>2]=d?(c|0)==-1?15:c?17:16:c?14:13;b=b+1|0;if((b|0)!=256){continue}break}while(1){b=a<<2;c=a&8192;v[b+1125184>>2]=c?12:a&254?11:10;v[(b|4)+1125184>>2]=c?12:11;a=a+2|0;if((a|0)!=2048){continue}break}b=0;while(1){a=b<<2;v[a+1133376>>2]=12;v[a+1133380>>2]=12;v[a+1133384>>2]=12;v[a+1133388>>2]=12;b=b+4|0;if((b|0)!=2048){continue}break}a=0;while(1){b=a<<2;e=b+1142080|0;g=C(C(a|0)*C(.015625));h=C(g*g);f=H(+h*64+.5)*.015625*8192;l:{if(D(f)<2147483648){d=~~f;break l}d=-2147483648}v[e>>2]=d;e=b+1143104|0;i=C(g+C(-1));i=C(i*i);f=H(+i*64+.5)*.015625*8192;m:{if(D(f)<2147483648){d=~~f;break m}d=-2147483648}v[e>>2]=d;e=b+1141568|0;k=h;h=C(g+C(-1.5));f=H(+C(k-C(h*h))*64+.5)*.015625*8192;n:{if(D(f)<2147483648){d=~~f;break n}d=-2147483648}v[e>>2]=d;e=b+1142592|0;g=a&64?h:C(g+C(-.5));f=H(+C(i-C(g*g))*64+.5)*.015625*8192;o:{if(D(f)<2147483648){d=~~f;break o}d=-2147483648}v[e>>2]=d;a=a+1|0;if((a|0)!=128){continue}break}}function Ni(a,b,c){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,p=0,q=0;v[a+20>>2]=1;q=Tc(a,1,c);f=v[a+20>>2];h=q|f<<1;f=f>>>0<256?h:h&255|256;v[a+20>>2]=f;h=Tc(a,f,c);f=v[a+20>>2];e=h|f<<1;f=f>>>0<256?e:e&255|256;v[a+20>>2]=f;f=Tc(a,f,c);e=v[a+20>>2];d=f|e<<1;e=e>>>0<256?d:d&255|256;v[a+20>>2]=e;a:{b:{if(h){h=Tc(a,e,c);e=v[a+20>>2];d=h|e<<1;e=e>>>0<256?d:d&255|256;v[a+20>>2]=e;if(f){e=Tc(a,e,c);f=v[a+20>>2];d=e|f<<1;f=f>>>0<256?d:d&255|256;v[a+20>>2]=f;if(!h){f=Tc(a,f,c);h=v[a+20>>2];d=f|h<<1;h=h>>>0<256?d:d&255|256;v[a+20>>2]=h;h=Tc(a,h,c);d=v[a+20>>2];g=h|d<<1;d=d>>>0<256?g:g&255|256;v[a+20>>2]=d;d=Tc(a,d,c);g=v[a+20>>2];i=d|g<<1;g=g>>>0<256?i:i&255|256;v[a+20>>2]=g;g=Tc(a,g,c);i=v[a+20>>2];j=g|i<<1;i=i>>>0<256?j:j&255|256;v[a+20>>2]=i;c=Tc(a,i,c);m=a;a=v[a+20>>2];i=c|a<<1;v[m+20>>2]=a>>>0<256?i:i&255|256;a=(c|(g|((h|(e<<2|f<<1))<<2|d<<1))<<1)+20|0;break a}h=Tc(a,f,c);f=v[a+20>>2];d=h|f<<1;f=f>>>0<256?d:d&255|256;v[a+20>>2]=f;if(!e){f=Tc(a,f,c);e=v[a+20>>2];d=f|e<<1;e=e>>>0<256?d:d&255|256;v[a+20>>2]=e;e=Tc(a,e,c);d=v[a+20>>2];g=e|d<<1;d=d>>>0<256?g:g&255|256;v[a+20>>2]=d;d=Tc(a,d,c);g=v[a+20>>2];i=d|g<<1;g=g>>>0<256?i:i&255|256;v[a+20>>2]=g;g=Tc(a,g,c);i=v[a+20>>2];j=g|i<<1;i=i>>>0<256?j:j&255|256;v[a+20>>2]=i;i=Tc(a,i,c);j=v[a+20>>2];k=i|j<<1;j=j>>>0<256?k:k&255|256;v[a+20>>2]=j;j=Tc(a,j,c);k=v[a+20>>2];l=j|k<<1;k=k>>>0<256?l:l&255|256;v[a+20>>2]=k;c=Tc(a,k,c);m=a;a=v[a+20>>2];k=c|a<<1;v[m+20>>2]=a>>>0<256?k:k&255|256;a=(c|(j|((g|((e|(h<<2|f<<1))<<2|d<<1))<<2|i<<1))<<1)+84|0;break a}if(!h){break b}e=0;h=0;while(1){d=Tc(a,f,c);f=v[a+20>>2];g=d|f<<1;f=f>>>0<256?g:g&255|256;v[a+20>>2]=f;h=d|h<<1;e=e+1|0;if((e|0)!=32){continue}break}a=h+4436|0;break a}f=Tc(a,e,c);e=v[a+20>>2];d=f|e<<1;e=e>>>0<256?d:d&255|256;v[a+20>>2]=e;e=Tc(a,e,c);d=v[a+20>>2];g=e|d<<1;d=d>>>0<256?g:g&255|256;v[a+20>>2]=d;c=Tc(a,d,c);m=a;a=v[a+20>>2];d=c|a<<1;v[m+20>>2]=a>>>0<256?d:d&255|256;a=(c|(e|(f<<1|h<<2))<<1)+4|0;break a}c=Tc(a,e,c);m=a;a=v[a+20>>2];h=c|a<<1;v[m+20>>2]=a>>>0<256?h:h&255|256;a=c|f<<1;break a}f=Tc(a,f,c);h=v[a+20>>2];e=f|h<<1;h=h>>>0<256?e:e&255|256;v[a+20>>2]=h;h=Tc(a,h,c);e=v[a+20>>2];d=h|e<<1;e=e>>>0<256?d:d&255|256;v[a+20>>2]=e;e=Tc(a,e,c);d=v[a+20>>2];g=e|d<<1;d=d>>>0<256?g:g&255|256;v[a+20>>2]=d;d=Tc(a,d,c);g=v[a+20>>2];i=d|g<<1;g=g>>>0<256?i:i&255|256;v[a+20>>2]=g;g=Tc(a,g,c);i=v[a+20>>2];j=g|i<<1;i=i>>>0<256?j:j&255|256;v[a+20>>2]=i;i=Tc(a,i,c);j=v[a+20>>2];k=i|j<<1;j=j>>>0<256?k:k&255|256;v[a+20>>2]=j;j=Tc(a,j,c);k=v[a+20>>2];l=j|k<<1;k=k>>>0<256?l:l&255|256;v[a+20>>2]=k;k=Tc(a,k,c);l=v[a+20>>2];n=k|l<<1;l=l>>>0<256?n:n&255|256;v[a+20>>2]=l;l=Tc(a,l,c);n=v[a+20>>2];o=l|n<<1;n=n>>>0<256?o:o&255|256;v[a+20>>2]=n;n=Tc(a,n,c);o=v[a+20>>2];p=n|o<<1;o=o>>>0<256?p:p&255|256;v[a+20>>2]=o;o=Tc(a,o,c);p=v[a+20>>2];m=o|p<<1;p=p>>>0<256?m:m&255|256;v[a+20>>2]=p;c=Tc(a,p,c);m=a;a=v[a+20>>2];p=c|a<<1;v[m+20>>2]=a>>>0<256?p:p&255|256;a=(c|(o|((l|((j|((g|((e|(f<<2|h<<1))<<2|d<<1))<<2|i<<1))<<2|k<<1))<<2|n<<1))<<1)+340|0}if(q){if(!a){return 0}a=0-a|0}v[b>>2]=a;return 1}function m9(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{if(!d){d=v[a+584>>2];if(d){k=(c|0)/v[d+8>>2]|0;b:{if(v[d>>2]!=1){if(v[d+16>>2]<(k|0)){break b}c=v[d+12>>2];Qa[v[d+20>>2]](d,b,k);b=c}c=v[a+600>>2];g=c-v[a+608>>2]|0;d=v[a+604>>2];if((k|0)<1){break a}c=0;while(1){if((g|0)<=3){v[a+604>>2]=d;v[a+608>>2]=v[a+600>>2]-g;if(!Xd(a)){return-1}g=v[a+600>>2]-v[a+608>>2]|0;d=v[a+604>>2]}e=c;h=c;c:{if((c|0)>=(k|0)){break c}while(1){f=1;h=e;i=u[(e<<1)+b>>1]&-256;d:{while(1){e=f+h|0;if((k|0)<=(e|0)){j=f;break d}e:{if((i|0)!=w[((e<<1)+b|0)+1|0]<<8){j=f;break e}j=f+1|0;e=j+h|0;if((k|0)<=(e|0)){break d}if((i|0)!=w[((e<<1)+b|0)+1|0]<<8){break e}j=129;f=f+2|0;if((f|0)!=129){continue}break c}break}if(j>>>0<=3){continue}break c}break}h=j>>>0>3?h:e}f=h-c|0;f:{if((f&-2)!=2){break f}e=c+1|0;i=x[(c<<1)+b>>1];l=(i&65280)<<16>>16;while(1){if((l|0)!=w[((e<<1)+b|0)+1|0]<<8){break f}e=e+1|0;if((h|0)!=(e|0)){continue}break}t[d+1|0]=i>>>8;t[d|0]=f+126;g=g-2|0;d=d+2|0;c=h}if((c|0)<(h|0)){while(1){e=h-c|0;i=(e|0)<127?e:127;if((i+3|0)>(g|0)){v[a+604>>2]=d;v[a+608>>2]=v[a+600>>2]-g;if(!Xd(a)){return-1}g=v[a+600>>2]-v[a+608>>2]|0;d=v[a+604>>2]}t[d|0]=i;d=d+1|0;g=g-1|0;if(i){e=i;f=e&3;if(f){while(1){t[d|0]=w[((c<<1)+b|0)+1|0];d=d+1|0;c=c+1|0;e=e-1|0;f=f-1|0;if(f){continue}break}}if(i-1>>>0>=3){while(1){f=(c<<1)+b|0;t[d|0]=w[f+1|0];t[d+1|0]=w[f+3|0];t[d+2|0]=w[f+5|0];t[d+3|0]=w[f+7|0];d=d+4|0;c=c+4|0;e=e-4|0;if(e){continue}break}}g=g-i|0}if((c|0)<(h|0)){continue}break}}e=0;g:{if((j|0)<4){j=0;break g}t[d|0]=j+126;t[d+1|0]=w[((h<<1)+b|0)+1|0];g=g-2|0;d=d+2|0}c=c+j|0;if((k|0)>(c|0)){continue}break}while(1){if((g|0)<=3){v[a+604>>2]=d;v[a+608>>2]=v[a+600>>2]-g;if(!Xd(a)){return-1}g=v[a+600>>2]-v[a+608>>2]|0;d=v[a+604>>2]}c=e;h=c;h:{if((c|0)>=(k|0)){break h}while(1){f=1;h=c;i=x[(c<<1)+b>>1];i:{while(1){c=f+h|0;if((k|0)<=(c|0)){j=f;break i}j:{l=i&255;if(l^w[(c<<1)+b|0]){j=f;break j}j=f+1|0;c=j+h|0;if((k|0)<=(c|0)){break i}if(l^w[(c<<1)+b|0]){break j}j=129;f=f+2|0;if((f|0)!=129){continue}break h}break}if(j>>>0<=3){continue}break h}break}h=j>>>0>3?h:c}i=h-e|0;k:{if((i&-2)!=2){break k}c=e+1|0;f=x[(e<<1)+b>>1];while(1){if(w[(c<<1)+b|0]^f&255){break k}c=c+1|0;if((h|0)!=(c|0)){continue}break}t[d+1|0]=f;t[d|0]=i+126;g=g-2|0;d=d+2|0;e=h}if((e|0)<(h|0)){while(1){c=h-e|0;i=(c|0)<127?c:127;if((i+3|0)>(g|0)){v[a+604>>2]=d;v[a+608>>2]=v[a+600>>2]-g;if(!Xd(a)){return-1}g=v[a+600>>2]-v[a+608>>2]|0;d=v[a+604>>2]}t[d|0]=i;d=d+1|0;g=g-1|0;if(i){c=i;f=c&3;if(f){while(1){t[d|0]=w[(e<<1)+b|0];d=d+1|0;e=e+1|0;c=c-1|0;f=f-1|0;if(f){continue}break}}if(i-1>>>0>=3){while(1){f=(e<<1)+b|0;t[d|0]=w[f|0];t[d+1|0]=w[f+2|0];t[d+2|0]=w[f+4|0];t[d+3|0]=w[f+6|0];d=d+4|0;e=e+4|0;c=c-4|0;if(c){continue}break}}g=g-i|0}if((e|0)<(h|0)){continue}break}}l:{if((j|0)<4){j=0;break l}t[d|0]=j+126;t[d+1|0]=w[(h<<1)+b|0];g=g-2|0;d=d+2|0}e=e+j|0;if((k|0)>(e|0)){continue}break}c=v[a+600>>2];break a}O(34494,6284,390,84318);L()}O(25714,6284,383,84318);L()}O(33866,6284,382,84318);L()}v[a+604>>2]=d;v[a+608>>2]=c-g;return 1}function c0a(a){a=a|0;var 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;b=v[a+572>>2];d=v[a+664>>2];a:{if((b|0)<(d|0)|(b|0)>=v[a+668>>2]){break a}d=Qa[v[a+220>>2]](a,v[a+680>>2]+(b-d|0)|0)|0;g=Qa[v[a+228>>2]](a,(v[a+680>>2]+v[a+572>>2]|0)-v[a+664>>2]|0)|0;b=v[a+580>>2];e=v[a+672>>2];d=(d+B(b,3)|0)+B(e,3)|0;f=v[a+656>>2];c=(f|0)/v[a+584>>2]|0;g=e+(b+g|0)|0;e=v[a+644>>2];b:{if(!w[a+648|0]){f=b+f|0;b=e+(c<<2)|0;c=v[a+660>>2];if(!w[a+649|0]){break b}if((c|0)<=(f|0)){break a}while(1){t[d|0]=w[b|0];t[d+1|0]=w[b+1|0];t[d+2|0]=w[b+2|0];t[g|0]=w[b+3|0];b=b+4|0;c=v[a+584>>2];g=c+g|0;d=B(c,3)+d|0;f=c+f|0;if((f|0)>2]){continue}break}break a}f=b+f|0;b=e+(c<<3)|0;c=v[a+660>>2];if(w[a+649|0]){if((c|0)<=(f|0)){break a}while(1){t[d|0]=w[b|0];t[d+1|0]=w[b+2|0];t[d+2|0]=w[b+4|0];t[g|0]=w[b+6|0];b=b+8|0;c=v[a+584>>2];g=c+g|0;d=B(c,3)+d|0;f=c+f|0;if((f|0)>2]){continue}break}break a}if((c|0)<=(f|0)){break a}while(1){c=w[b+6|0]|w[b+7|0]<<8;c=(c<<8|c>>>8)&65535;c:{if(!c){break c}d:{if((c|0)!=65535){e=w[g|0];e=e<<8|e;if(e){break d}}t[d|0]=w[b|0];t[d+1|0]=w[b+2|0];t[d+2|0]=w[b+4|0];t[g|0]=w[b+6|0];break c}if((e|0)==65535){e=w[b|0]|w[b+1|0]<<8;h=w[b+2|0]|w[b+3|0]<<8;i=w[b+4|0]|w[b+5|0]<<8;o=B(c,(i<<8|i>>>8)&65535);i=w[d+2|0];j=i<<8|i;i=c^65535;k=(o+B(j,i)|0)+32768|0;t[d+2|0]=(k>>>16|0)+k>>>24;j=B((h<<8|h>>>8)&65535,c);h=w[d+1|0];h=(j+B(i,h<<8|h)|0)+32768|0;t[d+1|0]=(h>>>16|0)+h>>>24;j=B((e<<8|e>>>8)&65535,c);c=w[d|0];c=(j+B(i,c<<8|c)|0)+32768|0;t[d|0]=(c>>>16|0)+c>>>24;break c}h=w[d|0];i=w[d+1|0];k=w[b|0]|w[b+1|0]<<8;l=w[b+2|0]|w[b+3|0]<<8;m=c^65535;o=B(m,e^65535)^-1;n=o>>>16|0;e=(B(e,m)>>>0)/(n>>>0)|0;j=w[d+2|0];c=(c<<16>>>0)/(n>>>0)|0;m=w[b+4|0]|w[b+5|0]<<8;t[d+2|0]=(B(e,j<<8|j)+B(c,(m<<8|m>>>8)&65535)|0)+32767>>>24;t[d+1|0]=(B(e,i|i<<8)+B(c,(l<<8|l>>>8)&65535)|0)+32767>>>24;t[d|0]=(B(e,h|h<<8)+B(c,(k<<8|k>>>8)&65535)|0)+32767>>>24;t[g|0]=o>>>24}b=b+8|0;c=v[a+584>>2];g=c+g|0;d=B(c,3)+d|0;f=c+f|0;if((f|0)>2]){continue}break}break a}if((c|0)<=(f|0)){break a}while(1){c=w[b+3|0];e:{if(!c){break e}f:{if((c|0)!=255){e=w[g|0];if(e){break f}}t[d|0]=w[b|0];t[d+1|0]=w[b+1|0];t[d+2|0]=w[b+2|0];t[g|0]=w[b+3|0];break e}if((e|0)==255){e=c^255;h=(B(c,w[b|0])+B(e,w[d|0])|0)+128|0;t[d|0]=(h>>>8&255)+h>>>8;h=(B(c,w[b+1|0])+B(e,w[d+1|0])|0)+128|0;t[d+1|0]=(h>>>8&255)+h>>>8;c=(B(c,w[b+2|0])+B(e,w[d+2|0])|0)+128|0;t[d+2|0]=(c>>>8&255)+c>>>8;break e}h=w[b|0];i=w[b+1|0];k=c^255;l=B(k,e^255)>>>8^-1;n=l&255;c=(c<<8>>>0)/(n>>>0)|0;e=(B(e,k)>>>0)/(n>>>0)|0;t[d+2|0]=(B(c,w[b+2|0])+B(e,w[d+2|0])|0)+127>>>8;t[d+1|0]=(B(c,i)+B(e,w[d+1|0])|0)+127>>>8;t[d|0]=(B(c,h)+B(e,w[d|0])|0)+127>>>8;t[g|0]=l}b=b+4|0;c=v[a+584>>2];g=c+g|0;d=B(c,3)+d|0;f=c+f|0;if((f|0)>2]){continue}break}}d=v[a+680>>2]+v[a+572>>2]|0;g=v[a+664>>2];b=v[a+556>>2];f=v[a+672>>2];g:{if((f|0)>=v[a+552>>2]){if(b){break g}b=0}v[a+552>>2]=f}j=b;b=v[a+676>>2];if((j|0)<(b|0)){v[a+556>>2]=b}b=v[a+564>>2];d=d-g|0;h:{if((d|0)>=v[a+560>>2]){if(b){break h}b=0}v[a+560>>2]=d}if((b|0)<=(d|0)){v[a+564>>2]=d+1}return 0}function lZ(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;if(!e){return 0}if(v[e>>2]<=0){if(d?!c|!w[c|0]:1){v[e>>2]=1;return 0}l=d;d=0;f=Ma-336|0;Ma=f;v[f+332>>2]=0;a:{b:{if(!a){break b}if(!hb(a,313141)){break b}if(!Kb(a,326412,9)){break b}if(!Kb(a,326428,8)){break b}g=1;j=0;break a}j=1}v[f+324>>2]=0;v[f+276>>2]=40;u[f+280>>1]=0;v[f+272>>2]=f+281;v[f+268>>2]=0;v[f+220>>2]=40;v[f+216>>2]=f+225;u[f+224>>1]=0;v[f+212>>2]=0;v[f+164>>2]=40;v[f+160>>2]=f+169;u[f+168>>1]=0;v[f+156>>2]=0;v[f+108>>2]=40;v[f+104>>2]=f+113;u[f+112>>1]=0;c:{if(!a){a=Ri(f+96|0,261561);Of(f+160|0,v[a>>2],v[a+4>>2],e);break c}d=Ym(a,47);i=ye(a,47);d:{if(!(!(a?w[a|0]==47:0)&(d|0)==(i|0))){if(d){d=Ri(f+88|0,d+1|0);Of(f+160|0,v[d>>2],v[d+4>>2],e);break d}d=Ri(f+80|0,a);Of(f+160|0,v[d>>2],v[d+4>>2],e);break d}k=ye(a,45);if(k){i=Ri(f+72|0,k+1|0);Of(f+104|0,v[i>>2],v[i+4>>2],e);if(!g){d=Ri(f- -64|0,261561);Of(f+160|0,v[d>>2],v[d+4>>2],e);break d}Of(f+160|0,a,k-a|0,e);d=d?a:v[f+160>>2];break c}if(!g){d=Ri(f+56|0,261561);Of(f+160|0,v[d>>2],v[d+4>>2],e);break d}d=Ri(f+48|0,a);Of(f+160|0,v[d>>2],v[d+4>>2],e)}d=a}Of(f+272|0,v[f+160>>2],v[f+212>>2],e);Of(f+216|0,v[f+160>>2],v[f+212>>2],e);a=v[f+324>>2];if(v[f+156>>2]){Of(Vs(f+272|0,e),v[f+104>>2],v[f+156>>2],e);Of(Vs(f+216|0,e),v[f+104>>2],v[f+156>>2],e)}h=Vs(f+272|0,e);g=Ri(f+40|0,c);Of(h,v[g>>2],v[g+4>>2],e);h=Vs(f+216|0,e);g=Ri(f+32|0,c);Of(h,v[g>>2],v[g+4>>2],e);if(!(!b|!w[b|0])){g=Ri(f+24|0,326410);h=Of(f+272|0,v[g>>2],v[g+4>>2],e);g=Ri(f+16|0,b);Of(h,v[g>>2],v[g+4>>2],e);g=Ri(f+8|0,326410);h=Of(f+216|0,v[g>>2],v[g+4>>2],e);g=Ri(f,b);Of(h,v[g>>2],v[g+4>>2],e)}k=a+v[f+216>>2]|0;i=dZ();e:{f:{if(!j){break f}if(hb(b,236521)){break f}g:{if(!hb(c,316561)){break g}if(!hb(c,236540)){break g}if(!hb(c,236554)){break g}if(hb(c,236567)){break f}}h:{i:{if(v[e>>2]>0){break i}j:{k:{if(v[290972]==2){break k}if(!xA(1163888)){break k}g=Ma-16|0;Ma=g;v[291029]=2485;a=Fg(56);l:{if(!a){v[290977]=0;v[e>>2]=7;break l}v[a+52>>2]=0;v[a+4>>2]=40;u[a+8>>1]=0;v[a>>2]=a+9;v[290977]=a;m=ii(310354);if(v[e>>2]>0){break l}t[a+9|0]=0;v[a+52>>2]=0;h=a;a=Ri(g+8|0,m?m:349015);Of(h,v[a>>2],v[a+4>>2],e)}Ma=g+16|0;v[290973]=v[e>>2];v[290972]=2;break j}a=v[290973];if((a|0)<1){break j}v[e>>2]=a;break i}if(v[e>>2]>0){break i}a=v[v[290977]>>2];break h}a=349015}if(!w[a|0]){break f}a=CI(349015,a,k,349015,b,c,l,f+332|0,e);if(a){break e}a=0;if(v[e>>2]>0){break e}}a=0;g=v[290906];if((g|0)==2){BI(j,f+332|0);if(v[e>>2]>0){break e}g=v[290906]}m:{if(g&-3){break m}a=d?d:261561;n:{if(i){if(!w[i|0]&j){break m}a=CI(v[f+160>>2],i,k,a,b,c,l,f+332|0,e);break n}if(j){break m}a=CI(v[f+160>>2],0,k,a,b,c,l,f+332|0,e)}if(a){break e}a=0;if(v[e>>2]>0){break e}g=v[290906]}if(g>>>0<=1){BI(j,f+332|0);a=0;if(v[e>>2]>0){break e}g=v[290906]}o:{if((g|0)==3){BI(j,f+332|0);a=0;if(v[e>>2]<1){break o}break e}a=0;if(v[e>>2]>0){break e}}b=v[f+332>>2];v[e>>2]=(b|0)>0?b:4}if(w[f+112|0]){Nd(v[f+104>>2])}if(w[f+168|0]){Nd(v[f+160>>2])}if(w[f+224|0]){Nd(v[f+216>>2])}if(w[f+280|0]){Nd(v[f+272>>2])}Ma=f+336|0}else{a=0}return a}function eAa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=Ma-48|0;Ma=f;h=v[a+8>>2];v[f+12>>2]=h;e=v[a+12>>2];a:{b:{c:{d:{e:{f:{g:{g=v[a+4>>2];i=v[g+8>>2];if(v[i+64>>2]==1){j=a+8|0;c=x[a>>1];c=c>>>0<28?c:28;cb(f+16|0,a,c);u[f+16>>1]=c;v[f+20>>2]=v[i+40>>2];if(v[i+60>>2]){break g}c=0;break b}k=v[a+16>>2];l=v[v[i+40>>2]+24>>2];if(v[i+60>>2]){break e}if(w[g+36|0]!=1|e>>>0<=h>>>0|y[a+20>>2]<=k>>>0){break f}t[g+36|0]=0;j=w[g+37|0];break d}c=1;break b}c=0;break c}c=1;break c}c=2}while(1){h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{switch(c|0){case 0:r:{s:{if(e>>>0>h>>>0){if(y[a+20>>2]<=k>>>0){break k}while(1){c=h+1|0;t:{u:{v:{d=w[h|0];switch(d-14|0){case 13:break r;case 1:break u;case 0:break v;default:break p}}t[i+68|0]=1;t[i+52|0]=1;break t}t[i+52|0]=0;if(w[i+68|0]){break s}}h=c;if((c|0)!=(e|0)){continue}break}h=e}v[f+12>>2]=h;break j}t[i+68|0]=0;v[b>>2]=18;b=v[a+4>>2];t[b+37|0]=15;v[b+256>>2]=2;t[v[a+4>>2]+36|0]=1;v[a+8>>2]=c;break i}v[f+12>>2]=h;g=v[a+4>>2];c=1;continue;case 1:break q;default:break o}}t[i+68|0]=0;vA(g,f+12|0,e,2,b);if(v[b>>2]<=0){h=v[f+12>>2];break h}v[a+16>>2]=k;v[a+8>>2]=v[f+12>>2];break a}v[f+12>>2]=c;t[i+68|0]=0;d=d<<24>>24;j=d&255;if(w[i+52|0]!=1){break m}if(c>>>0>=e>>>0){break n}h=c;c=2;continue}d=65535;m=j&65535;c=w[h|0];n=c-33|0;if(!((j+223&254)>>>0>93|(n&255)>>>0>93)){t[f+17|0]=c^128;t[f+16|0]=j^128;h=h+1|0;v[f+12>>2]=h;j=c|m<<8;d=wm(l,f+16|0,2);break l}if((n&255)>>>0<94|(1<>>0<=31:0)){break l}h=h+1|0;v[f+12>>2]=h;j=c|m<<8;break l}t[v[a+4>>2]+37|0]=d;t[v[a+4>>2]+36|0]=1;h=c;break j}if((d|0)<0){d=65535}else{d=wm(l,h,1)}h=c}if((d|0)<=65533){c=v[a+24>>2];if(c){v[c+(k-v[a+16>>2]<<1)>>2]=(((j&65535)>>>0<256?-1:-2)+h|0)-v[a+8>>2]}u[k>>1]=d;k=k+2|0;break h}c=v[a+4>>2];e=c;if((j&65535)>>>0<256){g=1}else{t[c+38|0]=j;j=(j&65280)>>>8|0;g=2}t[e+36|0]=g;t[c+37|0]=j;v[b>>2]=(d|0)==65534?10:12;break j}v[f+12>>2]=h;v[b>>2]=15}v[a+8>>2]=h}v[a+16>>2]=k;break a}c=0;continue}}while(1)if(c){vA(g,j,e,2,b);c=0;continue}else{g=v[b>>2];if((g|0)>0){break a}e=v[a+8>>2];d=v[a+12>>2];if(e>>>0>=d>>>0){break a}v[f+24>>2]=e;c=e;w:{while(1){if(w[c|0]==27){break w}c=c+1|0;if((d|0)!=(c|0)){continue}break}c=d}v[f+28>>2]=c;x:{if((c|0)==(e|0)){break x}e=v[a+4>>2];g=w[e+36|0];c=g<<24>>24;y:{if((c|0)<=0){d=v[f+20>>2];break y}d=v[f+20>>2];cb(d+37|0,e+37|0,g);c=w[v[a+4>>2]+36|0]}t[d+36|0]=c;xI(f+16|0,b);c=v[a+24>>2];z:{if(!c){break z}e=v[j>>2];if((e|0)==(h|0)){break z}d=v[a+16>>2];g=v[f+32>>2];if(d>>>0>=g>>>0){break z}e=e-h|0;while(1){i=v[c>>2];if((i|0)>=0){v[c>>2]=e+i}c=c+4|0;d=d+2|0;if(g>>>0>d>>>0){continue}break}}v[a+8>>2]=v[f+24>>2];v[a+16>>2]=v[f+32>>2];v[a+24>>2]=v[f+40>>2];c=v[f+20>>2];e=w[c+36|0];d=e<<24>>24;if((d|0)>=1){cb(v[a+4>>2]+37|0,c+37|0,e);d=w[c+36|0]}e=v[a+4>>2];t[e+36|0]=d;g=v[b>>2];if((g|0)!=15){break x}g=w[c+65|0];d=g<<24>>24;if((d|0)<1){g=15}else{cb(e+116|0,c+116|0,g);e=v[a+4>>2];d=w[c+65|0];g=v[b>>2]}t[e+65|0]=d;t[c+65|0]=0}if((g|0)>0){break a}e=v[a+12>>2];if((e|0)==v[a+8>>2]){break a}g=v[a+4>>2];c=1;continue}}Ma=f+48|0}function rM(a,b,c,d,e,f,g){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,u=0,x=0,y=0,z=0,A=0,C=0,D=0;m=Ma-32|0;Ma=m;a:{b:{c:{if((b|0)<0){break c}o=v[a+16>>2];if((o|0)<=(b|0)){break c}n=v[a+24>>2];j=v[n+(b<<2)>>2];if(v[j>>2]|v[j+4>>2]){break b}k=1;i=-1;h=-1;b=-1;d:{if((o|0)<1){break d}h=v[n>>2];b=B(v[h+20>>2]-1|0,v[h+12>>2])+v[h+4>>2]|0;h=v[h>>2]+B(v[h+8>>2],v[h+16>>2]-1|0)|0;if((o|0)==1){break d}while(1){l=v[n+(k<<2)>>2];q=v[l+4>>2]+B(v[l+12>>2],v[l+20>>2]-1|0)|0;b=(b|0)<(q|0)?q:b;l=v[l>>2]+B(v[l+8>>2],v[l+16>>2]-1|0)|0;h=(h|0)<(l|0)?l:h;k=k+1|0;if((o|0)!=(k|0)){continue}break}}v[m+28>>2]=f;v[m+24>>2]=g;v[m+4>>2]=0;v[m+12>>2]=e;s=(b+e|0)/(e|0)|0;v[m+20>>2]=s;v[m>>2]=0;v[m+8>>2]=d;u=(d+h|0)/(d|0)|0;v[m+16>>2]=u;e:{if(hr(a,c,m)){break e}b=v[j>>2];e=v[j+8>>2];f=v[j+16>>2];h=v[j+4>>2];k=v[j+12>>2];i=v[j+20>>2];d=v[v[a+24>>2]+(c<<2)>>2];Qm(v[d+32>>2]);g=0;if((s|0)<1){i=0;break e}if((u|0)<1){i=0;break e}z=h+B(k,i-1|0)|0;A=b+B(e,f-1|0)|0;f:{g:{h:{i:{j:while(1){l=v[d+4>>2]+B(v[d+12>>2],g)|0;o=0;k:while(1){c=v[d>>2]+B(v[d+8>>2],o)|0;e=v[j>>2];b=c-e|0;if((b|0)>=0){f=v[j+4>>2];h=l-f|0;if((h|0)<0){break a}n=v[j+8>>2];a=(n+b|0)-1|0;a=e+(a-((a|0)%(n|0)|0)|0)|0;x=(a|0)>(A|0)?A:a;a=x-c|0;q=B(a,a);r=v[j+12>>2];a=(r+h|0)-1|0;a=f+(a-((a|0)%(r|0)|0)|0)|0;y=(a|0)>(z|0)?z:a;a=y-l|0;k=B(a,a);C=q+k|0;a=h-((h|0)%(r|0)|0)|0;i=a+(f-l|0)|0;i=B(i,i);p=e-c|0;c=b-((b|0)%(n|0)|0)|0;p=p+c|0;p=B(p,p);D=i+p|0;l:{if(!(q>>>0

>>0|C>>>0>>0)&i>>>0<=k>>>0){break l}b=i+q|0;h=k+p|0;if(!(q>>>0>p>>>0|i>>>0>k>>>0|b>>>0>h>>>0)){b=x-e|0;h=a;break l}if(!(i>>>0>>0|C>>>0>D>>>0|b>>>0>h>>>0)){h=y-f|0;b=x-e|0;break l}h=y-f|0;b=c}a=(b|0)/(n|0)|0;if((a|0)<0){break i}c=v[j+16>>2];if((c|0)<=(a|0)){break i}b=(h|0)/(r|0)|0;if((b|0)<0|(b|0)>=v[j+20>>2]){break i}if((af(v[j+32>>2],B(v[j+36>>2],a+B(b,c)|0),0)|0)<0){break f}f=v[j+28>>2];e=v[j+24>>2];m:{if((e|0)<1){b=0;break m}c=v[j+32>>2];n=c;k=c+8|0;h=e+7>>>3|0;b=0;while(1){a=v[n+8>>2];if(a&7){break f}i=v[c+64>>2];if((i|0)>=0&(i|0)<=v[c+60>>2]){break g}a=v[c+28>>2];v[c+28>>2]=a-1;n:{if((a|0)>=1){v[c+60>>2]=v[c+60>>2]+1;a=v[c+24>>2];v[c+24>>2]=a+1;a=w[a|0];break n}i=-1;a=Eb(c,1);if((a|0)==-1){break e}}b=b<<8|a;a=(h|0)>1;h=h-1|0;if(a){continue}break}}if(f){break h}a=(-1<>2];c=v[j+24>>2];o:{if((b|0)==(c|0)){break o}if((b|0)<=(c|0)){if((b|0)>=(c|0)){break o}a=a>>c-b;break o}a=a<>2]){break h}c=v[d+32>>2];e=c;k=c+8|0;h=(b+7|0)/8|0;f=(-1<>2];if(a&7){break f}b=v[c+64>>2];if((b|0)>=0&(b|0)<=v[c+60>>2]){break g}h=h-1|0;b=f>>(h<<3);a=b&255;v[c+4>>2]=v[c+4>>2]|32;i=v[c+28>>2];v[c+28>>2]=i-1;p:{if((i|0)>=1){v[c+60>>2]=v[c+60>>2]+1;i=v[c+24>>2];v[c+24>>2]=i+1;t[i|0]=b;b=a;break p}b=Cb(c,a)}if((b|0)==(a|0)){continue}break}break f}break}break}break a}O(25560,7190,1118,188182);L()}S();L()}v[k>>2]=a|4}i=-1}Ma=m+32|0;return i}O(21034,7190,1068,188182);L()}O(23600,7190,1070,188182);L()}O(35160,7190,1260,188220);L()}function n8(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=Ma+-64|0;Ma=h;a:{b:{d=v[a+584>>2];if(d){if(!v[d+16>>2]){break b}c=gb(40);v[c>>2]=0;c=be(d+624|0,1,c,4);k=P()|0;c:{while(1){if(g){break c}v[296803]=0;U(543,d|0);f=v[296803];v[296803]=0;j=-1;d:{if(!f){break d}g=v[296804];if(!g){break d}j=pb(v[f>>2],c,k);if(!j){break a}Q(g|0)}g=P()|0;if((j|0)==1){continue}break}e=1}$a(c);e:{if(!e){break e}if((MM(d,1)|0)!=1){break e}f=d;f:{if(w[a+13|0]&4){e=v[a+72>>2];c=v[a+68>>2];g=Tl(a);break f}c=v[a+100>>2];e=v[a+60>>2]-v[a+472>>2]|0;e=c>>>0>>0?c:e;c=v[a+56>>2];g=_N(a)}v[f+840>>2]=g;g:{if(x[a+138>>1]!=2){b=c;break g}if(!b){b=c;break g}b=0;f=x[d+834>>1];if(0-f>>>0>c>>>0){b=((c+f|0)-1>>>0)/(f>>>0)|0}c=x[d+836>>1];if(0-c>>>0<=e>>>0){e=0;break g}e=((c+e|0)-1>>>0)/(c>>>0)|0}c=v[d+28>>2];f=v[d+32>>2];if(!(c>>>0>=b>>>0&f>>>0>=e>>>0)){g=v[a+628>>2];v[h+60>>2]=f;v[h+56>>2]=c;v[h+52>>2]=e;v[h+48>>2]=b;Nc(g,88091,42077,h+48|0);c=v[d+28>>2]}f=v[d+32>>2];if(!(f>>>0<=e>>>0&b>>>0>=c>>>0)){a=v[a+628>>2];v[h+12>>2]=f;v[h+8>>2]=c;v[h+4>>2]=e;v[h>>2]=b;wb(a,88091,43013,h);break e}c=v[d+36>>2];e=x[a+138>>1];if((c|0)!=(((e|0)==1?x[a+98>>1]:1)|0)){wb(v[a+628>>2],88091,43688,0);break e}if(v[d+212>>2]!=x[a+84>>1]){wb(v[a+628>>2],88091,44553,0);break e}c=v[d+216>>2];b=v[c+8>>2];h:{if((e|0)==1){e=x[d+834>>1];f=x[d+836>>1];c=v[c+12>>2];i:{if((e|0)==(b|0)&(f|0)==(c|0)){break i}g=v[a+628>>2];v[h+44>>2]=f;v[h+40>>2]=e;v[h+36>>2]=c;v[h+32>>2]=b;Nc(g,88091,45660,h+32|0);b=v[d+216>>2];if(!(v[b+8>>2]<=x[d+834>>1]&v[b+12>>2]<=x[d+836>>1])){wb(v[a+628>>2],88091,46436,0);break e}if(or(a,33918)){break i}b=v[a+628>>2];c=v[d+216>>2];e=v[c+12>>2];v[h+16>>2]=v[c+8>>2];v[h+20>>2]=e;Nc(b,88091,47127,h+16|0);b=v[d+216>>2];u[d+834>>1]=v[b+8>>2];u[d+836>>1]=v[b+12>>2]}b=v[d+36>>2];if((b|0)<2){break h}c=v[d+216>>2];i=1;while(1){e=c+B(i,88)|0;if(!(v[e+8>>2]!=1|v[e+12>>2]!=1)){i=i+1|0;if((b|0)!=(i|0)){continue}break h}break}i=0;wb(v[a+628>>2],88091,47313,0);break e}if((b|0)==1&v[c+12>>2]==1){break h}wb(v[a+628>>2],88091,47313,0);break e}c=d;j:{k:{if(!(x[a+138>>1]!=1|x[d+832>>1]!=6|v[d+924>>2]!=1)){v[d+40>>2]=3;v[d+44>>2]=2;break k}v[d+40>>2]=0;v[d+44>>2]=0;if(x[a+138>>1]!=1){break k}b=0;i=530;f=1;if(x[d+834>>1]!=1){break j}f=1;if(x[d+836>>1]!=1){break j}}b=1;i=520;f=0}v[c+68>>2]=f;v[a+556>>2]=i;v[a+548>>2]=i;v[a+540>>2]=i;g=0;e=0;c=gb(40);v[c>>2]=0;c=be(d+624|0,1,c,4);i=P()|0;l:{while(1){if(g){break l}v[296803]=0;T(22,d|0)|0;f=v[296803];v[296803]=0;j=-1;m:{if(!f){break m}g=v[296804];if(!g){break m}j=pb(v[f>>2],c,i);if(!j){break a}Q(g|0)}g=P()|0;if((j|0)==1){continue}break}e=1}$a(c);i=(e|0)!=0;if(!e|b){break e}c=v[d+216>>2];f=0;a=v[a+584>>2];e=v[d+36>>2];n:{if((e|0)>=1){j=0;while(1){i=v[c+8>>2];g=v[c+12>>2];k=GM(a,v[c+28>>2]<<3,g<<3);b=0;if(!k){break n}v[(a+(j<<2)|0)+844>>2]=k;c=c+88|0;f=B(i,g)+f|0;j=j+1|0;if((e|0)!=(j|0)){continue}break}}v[a+888>>2]=f;b=1}if(!b){i=0;break e}v[d+884>>2]=8;i=1}Ma=h- -64|0;return i|0}O(29012,7121,691,88091);L()}O(39945,7121,692,88091);L()}$a(c);tc(f,g);L()}function Se(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=Ma-16|0;Ma=g;v[c>>2]=2147483632;v[c+16>>2]=v[c+8>>2];f=v[c+20>>2];v[c+28>>2]=f;u[f+2>>1]=0;a:{e=v[a+28>>2];a=v[a+20>>2];f=e-a|0;if(!f){break a}d=v[b+20>>2];e=v[b+28>>2]-d|0;if(!e){break a}i=f>>3;b=a+8|0;v[g+4>>2]=b;a=d+8|0;v[g>>2]=a;k=e>>3;while(1){e=u[a+2>>1];f=e>>31;j=u[b+2>>1];d=j>>31;a=u[a>>1];l=a+((f^e+f)&65535)|0;b=u[b>>1];j=b+((d^d+j)&65535)|0;f=(j|0)>(l|0)?l:j;a=(a|0)<(b|0)?b:a;if((f|0)>(a|0)){f=f-a|0;b:{c:{d:{e:{f:{g:{h:{i:{d=v[g>>2];e=v[g+4>>2];switch((x[d+2>>1]>>>14&2|x[e+2>>1]>>>15)-1|0){case 0:break h;case 2:break f;case 1:break g;default:break i}}b=u[d>>1];b=v[d+4>>2]+((a|0)>(b|0)?a-b|0:0)|0;d=u[e>>1];d=v[e+4>>2]+((a|0)>(d|0)?a-d|0:0)|0;e=v[c+16>>2];while(1){h=e;e=B(w[b|0],w[d|0]);t[h|0]=(e|0)==65025?-1:e>>>8|0;e=v[c+28>>2];j:{k:{if((v[c>>2]+1|0)!=(a|0)){break k}h=u[e+2>>1];if((h|0)<1){break k}u[e+2>>1]=h+1;h=v[c+16>>2];break j}v[c+28>>2]=e+8;h=v[c+16>>2];u[e+10>>1]=1;u[e+8>>1]=a;v[e+12>>2]=h}b=b+1|0;d=d+1|0;v[c>>2]=a;e=h+1|0;v[c+16>>2]=e;a=a+1|0;f=f-1|0;if(f){continue}break}break b}b=u[d>>1];b=v[d+4>>2]+((a|0)>(b|0)?a-b|0:0)|0;d=w[v[e+4>>2]];if((d|0)==255){break d}e=v[c+16>>2];while(1){d=B(w[b|0],d&255);t[e|0]=(d|0)==65025?-1:d>>>8|0;e=v[c+28>>2];l:{m:{if((v[c>>2]+1|0)!=(a|0)){break m}d=u[e+2>>1];if((d|0)<1){break m}u[e+2>>1]=d+1;d=v[c+16>>2];break l}v[c+28>>2]=e+8;d=v[c+16>>2];u[e+10>>1]=1;u[e+8>>1]=a;v[e+12>>2]=d}v[c>>2]=a;e=d+1|0;v[c+16>>2]=e;f=f-1|0;if(!f){break b}a=a+1|0;b=b+1|0;d=w[v[v[g+4>>2]+4>>2]];continue}}b=u[e>>1];b=v[e+4>>2]+((a|0)>(b|0)?a-b|0:0)|0;d=w[v[d+4>>2]];if((d|0)==255){break e}e=v[c+16>>2];while(1){d=B(w[b|0],d&255);t[e|0]=(d|0)==65025?-1:d>>>8|0;e=v[c+28>>2];n:{o:{if((v[c>>2]+1|0)!=(a|0)){break o}d=u[e+2>>1];if((d|0)<1){break o}u[e+2>>1]=d+1;d=v[c+16>>2];break n}v[c+28>>2]=e+8;d=v[c+16>>2];u[e+10>>1]=1;u[e+8>>1]=a;v[e+12>>2]=d}v[c>>2]=a;e=d+1|0;v[c+16>>2]=e;f=f-1|0;if(!f){break b}a=a+1|0;b=b+1|0;d=w[v[v[g>>2]+4>>2]];continue}}b=B(w[v[d+4>>2]],w[v[e+4>>2]]);b=(b|0)==65025?255:b>>>8|0;p:{if((v[c>>2]+1|0)!=(a|0)){break p}d=v[c+28>>2];e=u[d+2>>1];if((e|0)>-1|(b|0)!=w[v[d+4>>2]]){break p}u[d+2>>1]=e-f;break c}t[v[c+16>>2]]=b;b=v[c+28>>2];v[c+28>>2]=b+8;d=v[c+16>>2];v[c+16>>2]=d+1;u[b+10>>1]=0-f;u[b+8>>1]=a;v[b+12>>2]=d;break c}cb(v[c+16>>2],b,f);d=v[c+28>>2];q:{r:{if((v[c>>2]+1|0)!=(a|0)){break r}b=u[d+2>>1];if((b|0)<1){break r}u[d+2>>1]=b+f;b=v[c+16>>2];break q}v[c+28>>2]=d+8;b=v[c+16>>2];u[d+10>>1]=f;u[d+8>>1]=a;v[d+12>>2]=b}v[c+16>>2]=b+f;break c}cb(v[c+16>>2],b,f);d=v[c+28>>2];s:{t:{if((v[c>>2]+1|0)!=(a|0)){break t}b=u[d+2>>1];if((b|0)<1){break t}u[d+2>>1]=b+f;b=v[c+16>>2];break s}v[c+28>>2]=d+8;b=v[c+16>>2];u[d+10>>1]=f;u[d+8>>1]=a;v[d+12>>2]=b}v[c+16>>2]=b+f}v[c>>2]=(a+f|0)-1}}u:{if((j|0)==(l|0)){k=k-1|0;i=i-1|0;if(i){v[g+4>>2]=v[g+4>>2]+8}if(!k){break a}v[g>>2]=v[g>>2]+8;break u}if((j|0)<(l|0)){i=i-1|0;if(!i){break a}v[g+4>>2]=v[g+4>>2]+8;break u}k=k-1|0;if(!k){break a}v[g>>2]=v[g>>2]+8}if(!i){break a}a=v[g>>2];b=v[g+4>>2];continue}}Ma=g+16|0}function AWa(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;a:{if(w[a+286|0]|!w[a+285|0]|(w[a+287|0]|w[a+288|0])){break a}if(w[a+289|0]){break a}if(!(1<>>0<=28:0)){ob(a,1028,0,0);return 1028}f=w[d|0]|w[d+1|0]<<8;u[a+1016>>1]=f<<8|f>>>8;b:{c:{d:{e:{f:{g:{if(c>>>0<=2){u[a+1018>>1]=0;break g}i=1;t[a+1018|0]=1;t[a+1019|0]=w[d+2|0];if((c|0)!=3){break f}}i=0;u[a+1020>>1]=0;break e}t[a+1020|0]=1;t[a+1021|0]=w[d+3|0];if(c>>>0>4){break d}}v[a+1024>>2]=0;v[a+1028>>2]=0;t[a+1022|0]=0;break c}t[a+1022|0]=1;f=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);v[a+1024>>2]=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=w[d+8|0]|w[d+9|0]<<8|(w[d+10|0]<<16|w[d+11|0]<<24);v[a+1028>>2]=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);j=1;if(c>>>0<13){break c}t[a+1032|0]=1;f=w[d+12|0]|w[d+13|0]<<8|(w[d+14|0]<<16|w[d+15|0]<<24);v[a+1036>>2]=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=w[d+16|0]|w[d+17|0]<<8|(w[d+18|0]<<16|w[d+19|0]<<24);v[a+1040>>2]=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=w[d+20|0]|w[d+21|0]<<8|(w[d+22|0]<<16|w[d+23|0]<<24);v[a+1044>>2]=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=w[d+24|0]|w[d+25|0]<<8|(w[d+26|0]<<16|w[d+27|0]<<24);v[a+1048>>2]=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=1;break b}v[a+1036>>2]=0;v[a+1040>>2]=0;t[a+1032|0]=0;f=a+1044|0;v[f>>2]=0;v[f+4>>2]=0;f=0}h=0;h:{if(!w[a+114|0]){break h}g=Qa[v[a+152>>2]](64)|0;if(!g){ob(a,1,0,0);h=1;break h}v[g+4>>2]=715;v[g>>2]=716;h=v[a+700>>2];i:{if(h){v[h+8>>2]=g;break i}v[a+696>>2]=g}v[g+8>>2]=0;v[g+12>>2]=h;v[a+700>>2]=g;v[g+16>>2]=v[a+436>>2];v[g+20>>2]=v[a+440>>2];v[g+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=g}u[g+28>>1]=x[a+1016>>1];t[g+30|0]=w[a+1018|0];t[g+31|0]=w[a+1019|0];t[g+32|0]=w[a+1020|0];t[g+33|0]=w[a+1021|0];t[g+34|0]=w[a+1022|0];v[g+36>>2]=v[a+1024>>2];v[g+40>>2]=v[a+1028>>2];t[g+44|0]=w[a+1032|0];v[g+48>>2]=v[a+1036>>2];v[g+52>>2]=v[a+1040>>2];v[g+56>>2]=v[a+1044>>2];v[g+60>>2]=v[a+1048>>2];h=0}j:{if(h){break j}h=h4(a);if(h){break j}h=0;if(!w[a+112|0]){break j}h=Qa[v[b+4>>2]](a,b,e)|0;if(h){break j}b=v[e>>2];a=w[d|0]|w[d+1|0]<<8;u[b+32>>1]=a<<8|a>>>8;k:{if(c>>>0>=3){t[b+34|0]=1;t[b+35|0]=w[d+2|0];break k}t[b+34|0]=0}l:{if(i){t[b+36|0]=1;t[b+37|0]=w[d+3|0];break l}t[b+36|0]=0}m:{if(j){t[b+38|0]=1;a=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);v[b+40>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=w[d+8|0]|w[d+9|0]<<8|(w[d+10|0]<<16|w[d+11|0]<<24);v[b+44>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break m}t[b+38|0]=0}if(f){t[b+48|0]=1;a=w[d+12|0]|w[d+13|0]<<8|(w[d+14|0]<<16|w[d+15|0]<<24);v[b+52>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=w[d+16|0]|w[d+17|0]<<8|(w[d+18|0]<<16|w[d+19|0]<<24);v[b+56>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=w[d+20|0]|w[d+21|0]<<8|(w[d+22|0]<<16|w[d+23|0]<<24);v[b+60>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=w[d+24|0]|w[d+25|0]<<8|(w[d+26|0]<<16|w[d+27|0]<<24);v[b+64>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return 0}h=0;t[b+48|0]=0}return h|0}ob(a,1029,0,0);return 1029}function dm(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{b:{c:{i=w[a+409|0];if(i){d=v[a+320>>2];f=v[a+376>>2];if((f|0)!=((i>>>0>=8?B(i>>>3|0,d):B(d,i)+7>>>3|0)|0)?f:0){break c}if(!d){break b}h=v[a+356>>2];j=w[a+399|0];l=B(d,i);g=l&7;d:{if(!g){f=0;k=0;break d}f=((i>>>0>7?B(i>>>3|0,d):l+7>>>3|0)+b|0)-1|0;m=w[f|0];k=255<>>g|0}h=h+1|0;e:{f:{g:{if(!w[a+398|0]){break g}e=v[a+208>>2];if(!(e&2)|j>>>0>5){break g}h:{i:{switch(c|0){case 0:g=j&1;break h;case 1:break i;default:break g}}g=1;if(!(j&1)){break g}}g=g<<3-(j+1>>>1|0)&7;if(g>>>0>=d>>>0){break e}if(i>>>0<=7){g=(i|0)==1?0:(i|0)==2?1:2;l=8/(i>>>0)|0;j:{if(e&65536){a=(B(g,12)+(j<<1&508)|0)+75936|0;if(c){break j}a=(B(g,24)+(j<<2)|0)+75792|0;break j}a=(B(g,12)+(j<<1&508)|0)+75972|0;if(c){break j}a=(B(g,24)+(j<<2)|0)+75864|0}a=v[a>>2];while(1){g=a&255;if(g){c=b;if((g|0)!=255){j=w[h|0]&a|w[b|0]&(a^-1)}else{j=w[h|0]}t[c|0]=j}a=C3a(a,24);h=h+1|0;b=b+1|0;c=d>>>0>l>>>0;d=d-l|0;if(c){continue}break}break f}if(i&7){break a}k=i>>>3|0;g=B(k,g);e=B(d,k)-g|0;f=k;if(c){a=k<<(6-j>>>1);f=a>>>0>e>>>0?e:a}a=g+h|0;d=b+g|0;c=k<<(7-j>>>1);k:{switch(f-1|0){case 2:t[d|0]=w[a|0];t[d+1|0]=w[a+1|0];t[d+2|0]=w[a+2|0];if(c>>>0>=e>>>0){break e}while(1){d=c+d|0;a=a+c|0;t[d|0]=w[a|0];t[d+1|0]=w[a+1|0];t[d+2|0]=w[a+2|0];e=e-c|0;if(c>>>0>>0){continue}break};break e;case 0:t[d|0]=w[a|0];if(c>>>0>=e>>>0){break e}while(1){d=c+d|0;a=a+c|0;t[d|0]=w[a|0];e=e-c|0;if(c>>>0>>0){continue}break};break e;case 1:while(1){t[d|0]=w[a|0];t[d+1|0]=w[a+1|0];if(c>>>0>=e>>>0){break e}d=c+d|0;a=a+c|0;e=e-c|0;if(e>>>0>1){continue}break};t[d|0]=w[a|0];return;default:break k}}l:{if(d&1|f>>>0>15|(a&1|f&1)){break l}if(c&1){break l}if(!(d&3|a&3|(f&3|c&3))){b=c-f>>>2<<2;while(1){h=f;while(1){v[d>>2]=v[a>>2];d=d+4|0;a=a+4|0;h=h-4|0;if(h){continue}break}if(c>>>0>=e>>>0){break e}a=a+b|0;d=b+d|0;e=e-c|0;if(f>>>0<=e>>>0){continue}break}c=e-1|0;b=e&7;if(b){while(1){t[d|0]=w[a|0];e=e-1|0;d=d+1|0;a=a+1|0;b=b-1|0;if(b){continue}break}}if(c>>>0<7){break e}while(1){t[d|0]=w[a|0];t[d+1|0]=w[a+1|0];t[d+2|0]=w[a+2|0];t[d+3|0]=w[a+3|0];t[d+4|0]=w[a+4|0];t[d+5|0]=w[a+5|0];t[d+6|0]=w[a+6|0];t[d+7|0]=w[a+7|0];d=d+8|0;a=a+8|0;e=e-8|0;if(e){continue}break}break e}b=c-f>>>1<<1;while(1){h=f;while(1){u[d>>1]=x[a>>1];d=d+2|0;a=a+2|0;h=h-2|0;if(h){continue}break}if(c>>>0>=e>>>0){break e}a=a+b|0;d=b+d|0;e=e-c|0;if(f>>>0<=e>>>0){continue}break}c=e-1|0;b=e&7;if(b){while(1){t[d|0]=w[a|0];e=e-1|0;d=d+1|0;a=a+1|0;b=b-1|0;if(b){continue}break}}if(c>>>0<7){break e}while(1){t[d|0]=w[a|0];t[d+1|0]=w[a+1|0];t[d+2|0]=w[a+2|0];t[d+3|0]=w[a+3|0];t[d+4|0]=w[a+4|0];t[d+5|0]=w[a+5|0];t[d+6|0]=w[a+6|0];t[d+7|0]=w[a+7|0];d=d+8|0;a=a+8|0;e=e-8|0;if(e){continue}break}break e}cb(d,a,f);if(c>>>0>=e>>>0){break e}while(1){d=c+d|0;a=a+c|0;e=e-c|0;f=e>>>0>>0?e:f;cb(d,a,f);if(c>>>0>>0){continue}break}break e}cb(b,h,i>>>0>7?B(i>>>3|0,d):l+7>>>3|0)}if(!f){break e}t[f|0]=w[f|0]&(k^-1)|k&m}return}dc(a,75612);L()}dc(a,75655);L()}dc(a,75715);L()}dc(a,76024);L()}function I0(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;v[b>>2]=0;n=A[a>>3];j=A[c>>3];k=n*((A[d>>3]-j)/e);l=A[c+8>>3];n=(A[d+8>>3]-l)/e*n;e=0;a:{b:{switch(v[a+56>>2]-1|0){case 0:e=+v[a+24>>2];q=n*e;e=k*e;default:if(!v[b+4>>2]){c:{if(v[b+8>>2]){d=v[b+12>>2];a=0;break c}g=v[b+16>>2];d=ab((g&1073741823)!=(g|0)?-1:g<<2);a=v[b+12>>2];if(a){$a(a);g=v[b+8>>2]+v[b+16>>2]|0;f=v[b>>2];a=v[b+4>>2]}else{a=0}v[b+8>>2]=g;v[b+12>>2]=d}s=d,t=ab(1024),v[s>>2]=t;v[b+4>>2]=a+1}a=v[v[b+12>>2]>>2]+((f&63)<<4)|0;A[a+8>>3]=l+k-q;A[a>>3]=j-n-e;d=v[b>>2]+1|0;v[b>>2]=d;k=A[c+8>>3]-k-q;e=n+A[c>>3]-e;f=v[b+4>>2];c=d>>>6|0;if(f>>>0<=c>>>0){a=v[b+8>>2];d:{if(a>>>0>c>>>0){a=v[b+12>>2];break d}g=a+v[b+16>>2]|0;a=ab((g&1073741823)!=(g|0)?-1:g<<2);i=v[b+12>>2];if(i){cb(a,i,f<<2);$a(i);g=v[b+8>>2]+v[b+16>>2]|0;f=v[b+4>>2];d=v[b>>2]}v[b+8>>2]=g;v[b+12>>2]=a}s=(c<<2)+a|0,t=ab(1024),v[s>>2]=t;v[b+4>>2]=f+1}a=v[v[b+12>>2]+(c<<2)>>2]+((d&63)<<4)|0;A[a+8>>3]=k;A[a>>3]=e;break a;case 1:break b}}e=A[a+8>>3];e=Sx(e/(e+.125/A[a+48>>3]));e=3.141592653589793/(e+e);e:{if(D(e)<2147483648){i=~~e;break e}i=-2147483648}d=0;if(!v[b+4>>2]){f:{if(v[b+8>>2]){f=v[b+12>>2];break f}h=v[b+16>>2];f=ab((h&1073741823)!=(h|0)?-1:h<<2);d=v[b+12>>2];if(d){$a(d);h=v[b+8>>2]+v[b+16>>2]|0;g=v[b+4>>2];d=v[b>>2]}else{d=0}v[b+8>>2]=h;v[b+12>>2]=f}s=f,t=ab(1024),v[s>>2]=t;v[b+4>>2]=g+1}q=3.141592653589793/+(i+1|0);d=v[v[b+12>>2]>>2]+((d&63)<<4)|0;A[d+8>>3]=l+k;A[d>>3]=j-n;d=v[b>>2]+1|0;v[b>>2]=d;g:{if(v[a+24>>2]>=1){if((i|0)<1){break g}g=0;e=ef(k,-n);while(1){j=A[a>>3];e=q+e;l=_d(e);l=A[c+8>>3]+l*j;r=oe(e);j=A[c>>3]+r*j;h=v[b+4>>2];o=d>>>6|0;if(h>>>0<=o>>>0){f=v[b+8>>2];h:{if(f>>>0>o>>>0){f=v[b+12>>2];break h}m=f+v[b+16>>2]|0;f=ab((m&1073741823)!=(m|0)?-1:m<<2);p=v[b+12>>2];if(p){cb(f,p,h<<2);$a(p);m=v[b+8>>2]+v[b+16>>2]|0;h=v[b+4>>2];d=v[b>>2]}v[b+8>>2]=m;v[b+12>>2]=f}s=(o<<2)+f|0,t=ab(1024),v[s>>2]=t;v[b+4>>2]=h+1}d=v[v[b+12>>2]+(o<<2)>>2]+((d&63)<<4)|0;A[d+8>>3]=l;A[d>>3]=j;d=v[b>>2]+1|0;v[b>>2]=d;g=g+1|0;if((i|0)!=(g|0)){continue}break}break g}if((i|0)<1){break g}g=0;e=ef(-k,n);while(1){j=A[a>>3];e=e-q;l=_d(e);l=A[c+8>>3]+l*j;r=oe(e);j=A[c>>3]+r*j;h=v[b+4>>2];o=d>>>6|0;if(h>>>0<=o>>>0){f=v[b+8>>2];i:{if(f>>>0>o>>>0){f=v[b+12>>2];break i}m=f+v[b+16>>2]|0;f=ab((m&1073741823)!=(m|0)?-1:m<<2);p=v[b+12>>2];if(p){cb(f,p,h<<2);$a(p);m=v[b+8>>2]+v[b+16>>2]|0;h=v[b+4>>2];d=v[b>>2]}v[b+8>>2]=m;v[b+12>>2]=f}s=(o<<2)+f|0,t=ab(1024),v[s>>2]=t;v[b+4>>2]=h+1}d=v[v[b+12>>2]+(o<<2)>>2]+((d&63)<<4)|0;A[d+8>>3]=l;A[d>>3]=j;d=v[b>>2]+1|0;v[b>>2]=d;g=g+1|0;if((i|0)!=(g|0)){continue}break}}e=A[c+8>>3]-k;k=n+A[c>>3];f=v[b+4>>2];c=d>>>6|0;if(f>>>0<=c>>>0){a=v[b+8>>2];j:{if(a>>>0>c>>>0){a=v[b+12>>2];break j}g=a+v[b+16>>2]|0;a=ab((g&1073741823)!=(g|0)?-1:g<<2);i=v[b+12>>2];if(i){cb(a,i,f<<2);$a(i);g=v[b+8>>2]+v[b+16>>2]|0;f=v[b+4>>2];d=v[b>>2]}v[b+8>>2]=g;v[b+12>>2]=a}s=(c<<2)+a|0,t=ab(1024),v[s>>2]=t;v[b+4>>2]=f+1}a=v[v[b+12>>2]+(c<<2)>>2]+((d&63)<<4)|0;A[a+8>>3]=e;A[a>>3]=k}v[b>>2]=v[b>>2]+1}function TWa(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;a:{b:{c:{if(!(w[a+285|0]|w[a+286|0]|(w[a+287|0]|w[a+288|0]))){break c}if(w[a+289|0]?1:w[a+300|0]){break c}if(!(w[a+287|0]|!w[a+294|0])){ob(a,1031,0,0);return 1031}if(c>>>0>=257){break b}d:{e:{f:{g:{g=w[a+286|0];if(w[a+288|0]?1:g|w[a+287|0]){h:{i:{f=w[a+325|0];switch(f-4|0){case 0:case 2:break i;default:break h}}ob(a,1030,0,0);return 1030}j:{if(c){if(!((c|0)==2|f)|!((c|0)==6|(f|0)!=2)){break b}if((f|0)!=3){break j}f=v[a+512>>2];if(!f){f=v[a+528>>2]}if(y[v[f+88>>2]+64>>2]>=c>>>0){break j}break b}if(w[a+307|0]){break j}ob(a,1034,0,0);return 1034}if(w[a+287|0]|g){break g}}k:{if(w[a+288|0]){t[a+294|0]=1;break k}t[a+307|0]=1}if(w[a+288|0]){break f}v[a+1932>>2]=c;h=cb(a+1936|0,d,c);f=0;l:{if(!w[a+114|0]){break l}f=Qa[v[a+152>>2]](288)|0;if(!f){ob(a,1,0,0);f=1;break l}v[f+4>>2]=699;v[f>>2]=700;g=v[a+700>>2];m:{if(g){v[g+8>>2]=f;break m}v[a+696>>2]=f}v[f+8>>2]=0;v[f+12>>2]=g;v[a+700>>2]=f;v[f+16>>2]=v[a+436>>2];v[f+20>>2]=v[a+440>>2];v[f+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=f}v[f+28>>2]=c;cb(f+32|0,h,256);f=0}if(!f){break e}break d}t[a+294|0]=1}if(w[a+288|0]){f=v[v[a+528>>2]+88>>2];n:{o:{switch(w[a+325|0]){case 0:g=w[d|0]|w[d+1|0]<<8;u[f+838>>1]=0;u[f+840>>1]=0;u[f+842>>1]=0;u[f+844>>1]=0;u[f+846>>1]=0;u[f+836>>1]=g<<8|g>>>8;break n;case 2:u[f+836>>1]=0;g=w[d|0]|w[d+1|0]<<8;u[f+838>>1]=g<<8|g>>>8;g=w[d+2|0]|w[d+3|0]<<8;u[f+840>>1]=g<<8|g>>>8;g=w[d+4|0]|w[d+5|0]<<8;v[f+844>>2]=0;u[f+842>>1]=g<<8|g>>>8;break n;case 3:break o;default:break n}}v[f+844>>2]=c;v[f+836>>2]=0;v[f+840>>2]=0;cb(f+848|0,d,c)}t[f+56|0]=1;break e}f=v[a+512>>2];if(!f){f=v[a+528>>2]}h=v[f+88>>2];t[h+56|0]=1;p:{q:{if(c){i=w[a+325|0];g=d;f=c;break q}i=w[a+325|0];f=v[a+1932>>2];if(!(i|(f|0)==2)|!((f|0)==6|(i|0)!=2)){break a}g=a+1936|0;if((i|0)!=3){break q}if(y[h+64>>2]>=f>>>0?f:0){break p}break a}r:{switch(i|0){case 0:f=w[g|0]|w[g+1|0]<<8;u[h+838>>1]=0;u[h+840>>1]=0;u[h+842>>1]=0;u[h+844>>1]=0;u[h+846>>1]=0;u[h+836>>1]=f<<8|f>>>8;break e;case 3:break p;case 2:break r;default:break e}}u[h+836>>1]=0;f=w[g|0]|w[g+1|0]<<8;u[h+838>>1]=f<<8|f>>>8;f=w[g+2|0]|w[g+3|0]<<8;u[h+840>>1]=f<<8|f>>>8;f=w[g+4|0]|w[g+5|0]<<8;v[h+844>>2]=0;u[h+842>>1]=f<<8|f>>>8;break e}v[h+844>>2]=f;v[h+836>>2]=0;v[h+840>>2]=0;cb(h+848|0,g,f)}f=0;if(!w[a+112|0]){break d}f=Qa[v[b+4>>2]](a,b,e)|0;if(f){break d}if(w[a+288|0]?1:w[a+286|0]|w[a+287|0]){f=0;b=v[e>>2];t[b+33|0]=0;a=w[a+325|0];t[b+34|0]=a;if(!c){t[b+32|0]=1;return 0}t[b+32|0]=0;s:{switch(a|0){case 0:a=w[d|0]|w[d+1|0]<<8;u[b+296>>1]=a<<8|a>>>8;return 0;case 2:a=w[d|0]|w[d+1|0]<<8;u[b+298>>1]=a<<8|a>>>8;a=w[d+2|0]|w[d+3|0]<<8;u[b+300>>1]=a<<8|a>>>8;a=w[d+4|0]|w[d+5|0]<<8;u[b+302>>1]=a<<8|a>>>8;return 0;case 3:break s;default:break d}}v[b+36>>2]=c;cb(b+40|0,d,c);return 0}a=v[e>>2];v[a+304>>2]=c;t[a+33|0]=1;t[a+34|0]=0;t[a+32|0]=!c;cb(a+308|0,d,c);f=0}return f|0}ob(a,1029,0,0);return 1029}ob(a,1028,0,0);return 1028}ob(a,1035,0,0);return 1035}function rKa(a,b){a=a|0;b=b|0;var 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,z=0,A=0,C=0,D=0,E=0;h=Ma-432|0;Ma=h;z=v[b+92>>2];v[a+40>>2]=x[b+68>>1];if(!lB(b)){E$(a,b);o=(v[v[a>>2]+12>>2]<<3)+439296|0;i=v[o>>2];if((i|0)!=5531){A=a+7720|0;C=a+44|0;while(1){D=w[o+4|0];p=0;n=0;r=1;i=i+433760|0;e=w[i|0];if(e){while(1){c=e&255;if((c|0)!=32){a:{b:{if((c|0)==124){i=i+1|0;break b}i=Iq(i,a,h+428|0,h+424|0);if(y[h+424>>2]>1){break a}c=Hq(a,h+428|0,0,0);if(!c){break a}if(Am(b,c,1)){break a}c=v[b+84>>2];if(u[c+110>>1]<3){break a}d=0;s=u[c+108>>1];c:{if((s|0)<1){e=0;break c}E=v[c+120>>2];k=v[c+112>>2];g=-1;q=0;e=0;while(1){j=u[(q<<1)+E>>1];d:{if((j|0)<=(d|0)){break d}f=x[o+4>>1];c=f&1;if(f&2){if(c){if((j-d|0)+1&1){c=v[(d<<3)+k>>2];f=(g|0)<0|(c|0)>(e|0);g=f?d:g;e=f?c:e;c=d+1|0}else{c=d}if((d|0)==(j|0)){break d}while(1){d=g;f=(g|0)<0;g=v[(c<<3)+k>>2];f=f|(g|0)>(e|0);l=f?c:d;d=c+1|0;m=v[(d<<3)+k>>2];f=f?g:e;e=(l|0)<0|(m|0)>(f|0);g=e?d:l;e=e?m:f;c=c+2|0;if((d|0)!=(j|0)){continue}break}break d}if((j-d|0)+1&1){c=v[(d<<3)+k>>2];f=(g|0)<0|(c|0)<(e|0);g=f?d:g;e=f?c:e;c=d+1|0}else{c=d}if((d|0)==(j|0)){break d}while(1){d=g;f=(g|0)<0;g=v[(c<<3)+k>>2];f=f|(g|0)<(e|0);l=f?c:d;d=c+1|0;m=v[(d<<3)+k>>2];f=f?g:e;e=(l|0)<0|(m|0)<(f|0);g=e?d:l;e=e?m:f;c=c+2|0;if((d|0)!=(j|0)){continue}break}break d}if(c){if((j-d|0)+1&1){c=v[((d<<3)+k|0)+4>>2];f=(g|0)<0|(c|0)>(e|0);g=f?d:g;e=f?c:e;c=d+1|0}else{c=d}if((d|0)==(j|0)){break d}while(1){d=g;f=(g|0)<0;g=v[((c<<3)+k|0)+4>>2];f=f|(g|0)>(e|0);l=f?c:d;d=c+1|0;m=v[((d<<3)+k|0)+4>>2];f=f?g:e;e=(l|0)<0|(m|0)>(f|0);g=e?d:l;e=e?m:f;c=c+2|0;if((d|0)!=(j|0)){continue}break}break d}if((j-d|0)+1&1){c=v[((d<<3)+k|0)+4>>2];f=(g|0)<0|(c|0)<(e|0);g=f?d:g;e=f?c:e;c=d+1|0}else{c=d}if((d|0)==(j|0)){break d}while(1){d=g;f=(g|0)<0;g=v[((c<<3)+k|0)+4>>2];f=f|(g|0)<(e|0);l=f?c:d;d=c+1|0;m=v[((d<<3)+k|0)+4>>2];f=f?g:e;e=(l|0)<0|(m|0)<(f|0);g=e?d:l;e=e?m:f;c=c+2|0;if((d|0)!=(j|0)){continue}break}}d=j+1|0;q=q+1|0;if((s|0)!=(q|0)){continue}break}}if(r){v[(h+208|0)+(p<<2)>>2]=e;p=p+1|0;break a}v[(n<<2)+h>>2]=e;n=n+1|0}r=0}e=w[i|0];if(e){continue}}else{e=w[i+1|0];i=i+1|0;continue}break}}if(n|p){_A(p,h+208|0);_A(n,h);c=D&2?C:A;d=v[c+216>>2];v[c+216>>2]=d+1;c=c+B(d,28)|0;d=c;e:{f:{if(!(!n|!p)){g=v[(h+208|0)+(p<<1&-4)>>2];v[c+220>>2]=g;e=v[(n<<1&-4)+h>>2];v[d+232>>2]=e;if((e|0)==(g|0)){break f}i=x[o+4>>1];if(i&1^(e|0)>=(g|0)){break e}f=d;d=(e+g|0)/2|0;v[f+232>>2]=d;v[c+220>>2]=d;break e}g=d;d=v[((n?n:p)<<1&-4)+(n?h:h+208|0)>>2];v[g+232>>2]=d;v[c+220>>2]=d}i=x[o+4>>1]}v[c+244>>2]=i<<1&2}i=v[o+8>>2];o=o+8|0;if((i|0)!=5531){continue}break}}v[h>>2]=0;v[h+224>>2]=v[108420];c=v[108419];v[h+216>>2]=v[108418];v[h+220>>2]=c;c=v[108417];v[h+208>>2]=v[108416];v[h+212>>2]=c;i=h+208|0;e=0;c=0;g=a;g:{while(1){i=Iq(i,a,h+428|0,h+424|0);h:{if(y[h+424>>2]>1){break h}if(!Hq(a,h+428|0,h,0)){break h}j=e&255;e=1;d=v[h>>2];if(!j){c=d;break h}if((c|0)==(d|0)){break h}a=0;break g}if(w[i|0]){continue}break}a=1}t[g+32|0]=a}Nq(b,z);Ma=h+432|0;return 0}function Ey(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;k=Ma-32|0;Ma=k;if(!(bg(a+20|0)|v[a+16>>2])){e=v[a+64>>2];a:{if((Qa[v[v[e>>2]+28>>2]](e)|0)<(c|0)){t[k+8|0]=0;b=v[a+64>>2];Qa[v[v[b>>2]+20>>2]](b,0,2,0)|0;b=v[a+64>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((c|0)<=(b|0)){break a}e=b^-1;if(c-b&1){h=v[a+64>>2];Qa[v[v[h>>2]+12>>2]](h,k+8|0,1)|0;b=b+1|0}if((e|0)==(0-c|0)){break a}while(1){e=v[a+64>>2];Qa[v[v[e>>2]+12>>2]](e,k+8|0,1)|0;e=v[a+64>>2];Qa[v[v[e>>2]+12>>2]](e,k+8|0,1)|0;b=b+2|0;if((c|0)!=(b|0)){continue}break}break a}e=v[a+64>>2];Qa[v[v[e>>2]+20>>2]](e,c,0,0)|0;Xp(v[a+64>>2],b,d)}l=v[a+72>>2];e=d;d=0;b=0;f=Ma-32|0;Ma=f;h=c;b:{if((c|0)>-1){if((e|0)>0){i=e+h|0;g=l+4|0;c=v[l+12>>2];c:{if(!c){break c}while(1){if((d|0)>=(i|0)){b=d;break c}j=v[c+8>>2];b=j>>31;m=b^b+j;b=m+d|0;d:{if((j|0)>-1){break d}e:{if((d|0)<(h|0)){if(!((b|0)<=(h|0)|(b|0)>(i|0))){v[c+8>>2]=d-h;v[f+12>>2]=g;v[f+8>>2]=c;d=ab(12);v[d+8>>2]=b-h;v[d>>2]=0;v[d+4>>2]=0;my(g,f+8|0,d);break e}if((b|0)<=(i|0)){break d}v[c+8>>2]=d-h;v[f+12>>2]=g;v[f+8>>2]=c;d=ab(12);v[d+8>>2]=e;v[d>>2]=0;v[d+4>>2]=0;j=f+8|0;my(g,j,d);c=v[c>>2];v[f+12>>2]=g;v[f+8>>2]=c;d=ab(12);v[d+8>>2]=i-b;v[d>>2]=0;v[d+4>>2]=0;my(g,j,d);if(c){break e}break d}if((b|0)<=(i|0)){v[c+8>>2]=m;break d}v[c+8>>2]=i-d;v[f+12>>2]=g;v[f+8>>2]=c;d=ab(12);v[d+8>>2]=i-b;v[d>>2]=0;v[d+4>>2]=0;my(g,f+8|0,d)}c=v[c>>2]}if(!c){break c}d=b;c=v[c>>2];if(c){continue}break}}f:{g:{if((b|0)<(h|0)){c=ab(12);v[c+8>>2]=b-h;v[c>>2]=0;v[c+4>>2]=0;de(g,c);break g}if((b|0)>=(i|0)){break f}e=i-b|0}b=ab(12);v[b+8>>2]=e;v[b>>2]=0;v[b+4>>2]=0;de(g,b)}c=v[l+12>>2];h:{if(!c){break h}while(1){d=c;i:{c=v[c>>2];if(!c){break i}while(1){e=v[d+8>>2];j:{if((e|0)<=-1){b=v[c+8>>2];if((b|0)<=0){break j}break i}b=v[c+8>>2];if(!e){break j}if((b|0)<0){break i}}v[d+8>>2]=b+e;v[f+12>>2]=g;v[f+8>>2]=c;c=v[c>>2];Ag(g,f+8|0);if(c){continue}break}break h}if(c){continue}break}}Ma=f+32|0;break b}lb(mb(f+8|0,268026,241733,528,327863));L()}lb(mb(f+8|0,227225,241733,526,327863));L()}f=v[a+96>>2];if(f){while(1){d=0;c=0;b=v[f+8>>2];if(b){v[b+4>>2]=v[b+4>>2]+1;c=v[f+8>>2]}e=v[v[a+72>>2]+12>>2];k:{l:{if(!e){break l}g=v[c+16>>2];i=g+1|0;b=0;while(1){h=b;if((b|0)<=(g|0)){l=v[e+8>>2];b=l>>31;j=b^b+l;b=j+h|0;m:{if((l|0)<1){break m}if((g|0)>(h|0)){if((b|0)==(g|0)){break m}d=((b|0)>(g|0))+d|0;break m}if((b|0)<=(i|0)){d=d+j|0;break m}d=(d+i|0)-h|0}e=v[e>>2];if(e){continue}}break}if(d){if(v[c+8>>2]){break l}v[c+8>>2]=1;break l}if(!c){break k}}b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(b){break k}b=v[c+4>>2];if(!b){v[c+4>>2]=-32767}if(!b){Qa[v[v[c>>2]+4>>2]](c)}}f=v[f>>2];if(f){continue}break}}fs(a);n:{if(v[a+84>>2]<=-1){break n}b=v[a+64>>2];if((Qa[v[v[b>>2]+28>>2]](b)|0)>2]){break n}if(bg(a+20|0)|v[a+16>>2]){break n}t[a+8|0]=1;if(v[a+84>>2]<=-1){b=v[a+64>>2];n=a,o=Qa[v[v[b>>2]+28>>2]](b)|0,v[n+84>>2]=o}e=v[a+96>>2];if(e){while(1){b=v[e+8>>2];if(!v[b+8>>2]){v[b+8>>2]=1}e=v[e>>2];if(e){continue}break}}fs(a)}Ma=k+32|0;return}lb(mb(k+8|0,303520,241733,1036,328609));L()}function OX(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=Ma-112|0;Ma=h;a:{if(!b|v[b+4>>2]!=1|(!c|v[c+4>>2]!=18)){break a}f=a;d=v[c+8>>2];b:{c:{d:{k=b;if(!k){break d}j=v[k+4>>2];if(!d|(j|0)==18){break d}i=285713;e:{if((d|0)!=285713){e=d;while(1){g=w[e|0];if((g|0)!=w[i|0]){break e}i=i+1|0;e=e+1|0;if(g){continue}break}}if(!f){if((j|0)==1){e=Qa[v[256552]](24)|0;if(!e){Io(2,2,0,285750);break d}v[e>>2]=0;v[e+4>>2]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;v[e+4>>2]=18;d=Qa[v[256555]](37)|0;f:{if(!d){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break f}f=w[285745]|w[285746]<<8|(w[285747]<<16|w[285748]<<24);t[d+32|0]=f;t[d+33|0]=f>>>8;t[d+34|0]=f>>>16;t[d+35|0]=f>>>24;f=w[285741]|w[285742]<<8|(w[285743]<<16|w[285744]<<24);g=w[285737]|w[285738]<<8|(w[285739]<<16|w[285740]<<24);t[d+24|0]=g;t[d+25|0]=g>>>8;t[d+26|0]=g>>>16;t[d+27|0]=g>>>24;t[d+28|0]=f;t[d+29|0]=f>>>8;t[d+30|0]=f>>>16;t[d+31|0]=f>>>24;f=w[285733]|w[285734]<<8|(w[285735]<<16|w[285736]<<24);g=w[285729]|w[285730]<<8|(w[285731]<<16|w[285732]<<24);t[d+16|0]=g;t[d+17|0]=g>>>8;t[d+18|0]=g>>>16;t[d+19|0]=g>>>24;t[d+20|0]=f;t[d+21|0]=f>>>8;t[d+22|0]=f>>>16;t[d+23|0]=f>>>24;f=w[285725]|w[285726]<<8|(w[285727]<<16|w[285728]<<24);g=w[285721]|w[285722]<<8|(w[285723]<<16|w[285724]<<24);t[d+8|0]=g;t[d+9|0]=g>>>8;t[d+10|0]=g>>>16;t[d+11|0]=g>>>24;t[d+12|0]=f;t[d+13|0]=f>>>8;t[d+14|0]=f>>>16;t[d+15|0]=f>>>24;f=w[285717]|w[285718]<<8|(w[285719]<<16|w[285720]<<24);g=w[285713]|w[285714]<<8|(w[285715]<<16|w[285716]<<24);t[d|0]=g;t[d+1|0]=g>>>8;t[d+2|0]=g>>>16;t[d+3|0]=g>>>24;t[d+4|0]=f;t[d+5|0]=f>>>8;t[d+6|0]=f>>>16;t[d+7|0]=f>>>24;t[d+36|0]=0}v[e+8>>2]=d;d=Qa[v[256555]](4)|0;g:{if(!d){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break g}t[d+2|0]=w[258606];f=w[258604]|w[258605]<<8;t[d|0]=f;t[d+1|0]=f>>>8;t[d+3|0]=0}v[e+12>>2]=d;v[e>>2]=v[k+48>>2];v[k+48>>2]=e;break b}g=0;f=v[k+32>>2];if(!f){break c}}g=v[f+52>>2];if(g){break c}e=QX(f);break b}l=(j|0)!=2;f=k;while(1){g=0;h:{i:{switch(j-1|0){case 0:break i;case 4:case 5:case 16:break c;default:break h}}g=v[f+48>>2];if(g){while(1){i=v[g+8>>2];j:{if(!i){break j}e=d;if((d|0)!=(i|0)){while(1){j=w[i|0];if((j|0)!=w[e|0]){break j}e=e+1|0;i=i+1|0;if(j){continue}break}}e=v[g+12>>2];if(!(e?1:l)){break j}if((LX(k,f,e)|0)==1){break c}}g=v[g>>2];if(g){continue}break}}if((f|0)==(k|0)){break h}g=v[f+36>>2];if(!g){break h}i=v[g+8>>2];if(!i){break h}e=d;if((d|0)!=(i|0)){while(1){j=w[i|0];if((j|0)!=w[e|0]){break h}e=e+1|0;i=i+1|0;if(j){continue}break}}e=v[g+12>>2];if(!(e?1:l)){break h}if((LX(k,f,e)|0)==1){break c}}f=v[f+20>>2];if(!f){break d}j=v[f+4>>2];continue}}g=0}e=g}if(e){break a}e=v[c+12>>2];k:{if(!e){v[h+48>>2]=1634100580;v[h+52>>2]=7629941;break k}v[h+32>>2]=e;_i(h+48|0,50,237046,h+32|0)}if(Fk(a,b,h+48|0)){e=1;while(1){if((e|0)==1001){e=0;break a}d=v[c+12>>2];l:{if(!d){v[h>>2]=e;_i(h+48|0,50,291753,h);break l}v[h+20>>2]=e;v[h+16>>2]=d;_i(h+48|0,50,291763,h+16|0)}e=e+1|0;if(Fk(a,b,h+48|0)){continue}break}}e=Dk(b,v[c+8>>2],h+48|0)}Ma=h+112|0;return e}function by(a,b,c,d,e,f){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,w=0,y=0,z=0,A=0,C=0;if(v[296199]<=-1){lQ()}if((e|0)<(f|0)){C=c-1|0;while(1){z=B(d,e);A=e<<1;if((c|0)>=1){s=B(e,3);t=0-s|0;r=a;y=0;while(1){o=(b<<1)+r|0;i=e<<1;g=i+r|0;k=0;a:{if((b|0)<=(e|0)){n=0;q=0;m=0;h=0;break a}n=u[r>>1];q=n;i=g+i|0;if(i>>>0>>0){q=u[i>>1]}m=n;i=(s<<1)+g|0;if(i>>>0>>0){m=u[i>>1]}h=u[g>>1]-((n+q|0)+1>>1)|0;u[g>>1]=h;g=(A<<1)+g|0}l=0;j=0;w=s<<1;p=w+g|0;if(p>>>0>>0){while(1){l=j;j=h;i=q;q=m;m=u[p>>1];h=u[g>>1]-((B(i+q|0,9)-(m+n|0)|0)+8>>4)|0;u[g>>1]=h;n=(t<<1)+g|0;u[n>>1]=x[n>>1]+((B(j+l|0,9)-(h+k|0)|0)+16>>>5|0);k=l;n=i;g=(A<<1)+g|0;p=w+g|0;if(p>>>0>>0){continue}break}l=j}b:{if(g>>>0>=o>>>0){i=l;j=h;break b}w=m+1|0;j=u[g>>1]-(w+q>>1)|0;u[g>>1]=j;n=t<<1;i=n+g|0;u[i>>1]=x[i>>1]+((B(h+l|0,9)-(j+k|0)|0)+16>>>5|0);q=A<<1;g=q+g|0;if(o>>>0<=g>>>0){k=l;i=h;break b}m=m+w>>1;i=h;while(1){k=i;i=j;j=u[g>>1]-m|0;u[g>>1]=j;h=g+n|0;u[h>>1]=x[h>>1]+((B(i+k|0,9)-(j+l|0)|0)+16>>>5|0);l=k;g=g+q|0;if(o>>>0>g>>>0){continue}break}}l=t<<1;h=l+g|0;c:{if(h>>>0>=o>>>0){break c}if(h>>>0>=r>>>0){u[h>>1]=x[h>>1]+((B(j+i|0,9)-k|0)+16>>>5|0)}k=g;g=A<<1;k=k+g|0;h=k+l|0;if(h>>>0>=o>>>0){break c}if(h>>>0>=r>>>0){u[h>>1]=x[h>>1]+((B(j,9)-i|0)+16>>>5|0)}k=l+(g+k|0)|0;if(k>>>0>=o>>>0|k>>>0>>0){break c}u[k>>1]=x[k>>1]+(16-j>>>5|0)}r=(z<<1)+r|0;y=e+y|0;if((y|0)<(c|0)){continue}break}}p=(C|0)/(e|0)|0;if((p|0)>=-2){o=0-z|0;k=z<<1;t=k;y=B(z,3);s=0-y|0;g=1;k=a+k|0;while(1){l=b<<1;j=l+k|0;d:{e:{f:{q=g>>>0<3;m=g;g:{if(!(q|(p|0)<(g+3|0))){g=k;if((b|0)<1){break f}while(1){u[g>>1]=x[g>>1]-((B(u[g+t>>1]+u[(o<<1)+g>>1]|0,9)-(u[(s<<1)+g>>1]+u[(y<<1)+g>>1]|0)|0)+8>>>4|0);g=(e<<1)+g|0;if(j>>>0>g>>>0){continue}break}break g}if((b|0)<1|(m|0)>(p|0)){break g}h=(((m|0)<(p|0)?z:o)<<1)+k|0;g=k;while(1){u[g>>1]=x[g>>1]-((u[(o<<1)+g>>1]+u[h>>1]|0)+1>>>1|0);i=e<<1;h=i+h|0;g=g+i|0;if(j>>>0>g>>>0){continue}break}}i=s<<1;g=i+k|0;n=l+g|0;h=(m|0)>(p|0);j=h;l=m>>>0>5;if(h|m>>>0<6){break e}if((b|0)<1){break d}while(1){u[g>>1]=x[g>>1]+((B(u[g+t>>1]+u[(o<<1)+g>>1]|0,9)-(u[g+i>>1]+u[(y<<1)+g>>1]|0)|0)+16>>>5|0);g=(e<<1)+g|0;if(n>>>0>g>>>0){continue}break}break d}g=(s<<1)+k|0;n=l+g|0;j=(m|0)>(p|0);l=m>>>0>5;if(m>>>0<6){break e}if((m|0)<=(p|0)){break d}}if(q){break d}h=j?0:k;w=s<<1;j=(p|0)<(m-2|0)?0:t+(w+k|0)|0;if(l){if((b|0)<1){break d}while(1){l=u[(o<<1)+g>>1];r=u[g+w>>1];u[g>>1]=x[g>>1]+((B(l+(j?u[j>>1]:0)|0,9)-(r+(h?u[h>>1]:0)|0)|0)+16>>>5|0);i=e<<1;h=h?i+h|0:0;j=j?j+i|0:0;g=g+i|0;if(n>>>0>g>>>0){continue}break}break d}if(m>>>0<=3){if((b|0)<=0){break d}while(1){u[g>>1]=x[g>>1]+((B(j?u[j>>1]:0,9)-(h?u[h>>1]:0)|0)+16>>>5|0);i=e<<1;h=h?i+h|0:0;j=j?j+i|0:0;g=g+i|0;if(n>>>0>g>>>0){continue}break}break d}if((b|0)<1){break d}while(1){l=u[(o<<1)+g>>1];u[g>>1]=x[g>>1]+((B(l+(j?u[j>>1]:0)|0,9)-(h?u[h>>1]:0)|0)+16>>>5|0);i=e<<1;h=h?i+h|0:0;j=j?j+i|0:0;g=g+i|0;if(n>>>0>g>>>0){continue}break}}g=m+2|0;k=(t<<1)+k|0;if((p|0)>=(m-1|0)){continue}break}}e=A;if((f|0)>(e|0)){continue}break}}}function qHa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(a){h=v[a+100>>2];c=v[a+540>>2];if(c){Qa[v[c+12>>2]](a)}c=v[a+712>>2];if(c){f=v[c+8>>2];b=v[c+108>>2];if(b){e=v[b+28>>2];d=c+140|0;if(v[d>>2]){Oe(b,d)}b=v[c+136>>2];if(b){Qa[v[e+8>>2]](e,b)}v[c+140>>2]=0;v[c+132>>2]=0;v[c+136>>2]=0;v[c+124>>2]=0;v[c+128>>2]=0;v[c+116>>2]=0;v[c+120>>2]=0;v[c+108>>2]=0;v[c+112>>2]=0}b=v[c+1240>>2];if(b){e=v[b+28>>2];d=c+1272|0;if(v[d>>2]){Oe(b,d)}b=v[c+1268>>2];if(b){Qa[v[e+8>>2]](e,b)}b=c+1240|0;v[b+32>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=0;v[b+4>>2]=0}b=v[c+36>>2];if(b){e=v[b+28>>2];d=c+68|0;if(v[d>>2]){Oe(b,d)}b=v[c- -64>>2];if(b){Qa[v[e+8>>2]](e,b)}v[c+68>>2]=0;v[c+60>>2]=0;v[c+64>>2]=0;v[c+52>>2]=0;v[c+56>>2]=0;v[c+44>>2]=0;v[c+48>>2]=0;v[c+36>>2]=0;v[c+40>>2]=0}b=v[c+1204>>2];if(b){e=v[b+28>>2];d=c+1236|0;if(v[d>>2]){Oe(b,d)}b=v[c+1232>>2];if(b){Qa[v[e+8>>2]](e,b)}b=c+1204|0;v[b+32>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=0;v[b+4>>2]=0}d=v[c+2024>>2];if(d){e=0;while(1){b=v[((e<<2)+c|0)+2028>>2];if(b){d=v[b+608>>2];if(d){g=v[d+28>>2];i=b+640|0;if(v[i>>2]){Oe(d,i)}d=v[b+636>>2];if(d){Qa[v[g+8>>2]](g,d)}v[b+640>>2]=0;v[b+632>>2]=0;v[b+636>>2]=0;v[b+624>>2]=0;v[b+628>>2]=0;v[b+616>>2]=0;v[b+620>>2]=0;v[b+608>>2]=0;v[b+612>>2]=0}d=v[b+644>>2];if(d){Qa[v[f+8>>2]](f,d)}v[b+644>>2]=0;d=v[b+572>>2];if(d){Qa[v[f+8>>2]](f,d)}v[b+572>>2]=0;d=v[b+580>>2];if(d){Qa[v[f+8>>2]](f,d)}v[b+580>>2]=0;d=v[b+592>>2];if(d){Qa[v[f+8>>2]](f,d)}v[b+592>>2]=0;d=v[c+2024>>2]}e=e+1|0;if(d>>>0>e>>>0){continue}break}b=v[c+2028>>2];if(b){Qa[v[f+8>>2]](f,b)}v[c+2028>>2]=0}v[c+144>>2]=0;v[c+148>>2]=0;v[c+152>>2]=0;b=v[v[c+4>>2]+28>>2];e=b;d=c+1192|0;g=v[d>>2];if(g){Qa[v[e+8>>2]](e,g)}v[d>>2]=0;v[d+4>>2]=0;e=c+1188|0;d=v[e>>2];if(d){Qa[v[b+8>>2]](b,d)}v[c+1180>>2]=0;v[c+1184>>2]=0;v[e>>2]=0;J_(c+3112|0,f);b=c+1980|0;e=v[b>>2];if(e){d=v[e+28>>2];g=c+2012|0;if(v[g>>2]){Oe(e,g)}e=v[c+2008>>2];if(e){Qa[v[d+8>>2]](d,e)}v[b+32>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=0;v[b+4>>2]=0}b=c+2016|0;e=v[b>>2];if(e){Qa[v[f+8>>2]](f,e)}v[b>>2]=0;b=c+1944|0;e=v[b>>2];if(e){Qa[v[f+8>>2]](f,e)}v[b>>2]=0;b=c+1952|0;e=v[b>>2];if(e){Qa[v[f+8>>2]](f,e)}v[b>>2]=0;b=c+1964|0;e=v[b>>2];if(e){Qa[v[f+8>>2]](f,e)}v[b>>2]=0;b=c+3060|0;if(v[b>>2]){Oe(v[c+4>>2],b)}t[c+3052|0]=0;v[c+3056>>2]=0;v[c+3064>>2]=0;b=v[c+3092>>2];if(b){Qa[v[f+8>>2]](f,b)}v[c+3092>>2]=0;b=v[c+1348>>2];if(b){Qa[v[f+8>>2]](f,b)}v[c+1348>>2]=0;b=v[c+1352>>2];if(b){Qa[v[f+8>>2]](f,b)}v[c+1352>>2]=0;b=v[c+1360>>2];if(b){Qa[v[f+8>>2]](f,b)}v[c+1360>>2]=0;b=v[c+1364>>2];if(b){Qa[v[f+8>>2]](f,b)}v[c+1364>>2]=0;b=v[c+3108>>2];if(b){Qa[b|0](v[c+3104>>2]);b=v[c+3104>>2];if(b){Qa[v[f+8>>2]](f,b)}v[c+3104>>2]=0}b=v[c+3132>>2];if(b){Qa[v[f+8>>2]](f,b)}v[c+3132>>2]=0;c=v[a+712>>2];if(c){Qa[v[h+8>>2]](h,c)}v[a+712>>2]=0}c=v[a+548>>2];if(c){Qa[v[c+44>>2]](a)}v[a+736>>2]=0}}function Kya(a,b){a=a|0;b=b|0;var 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;a:{while(1){b:{c:{if(y[a+116>>2]<=261){pA(a);c=v[a+116>>2];if(!(b|c>>>0>261)){return 0}if(!c){break a}if(c>>>0<3){break c}}c=v[a+108>>2];d=v[a+84>>2]&(w[(c+v[a+56>>2]|0)+2|0]^v[a+72>>2]<>2]);v[a+72>>2]=d;e=v[a+68>>2]+(d<<1)|0;d=x[e>>1];u[v[a+64>>2]+((c&v[a+52>>2])<<1)>>1]=d;u[e>>1]=c;if(!d|v[a+44>>2]-262>>>0>>0){break c}c=zY(a,d);v[a+96>>2]=c;break b}c=v[a+96>>2]}d:{if(c>>>0>=3){d=v[a+5792>>2];e=v[a+108>>2]-v[a+112>>2]|0;u[v[a+5796>>2]+(d<<1)>>1]=e;v[a+5792>>2]=d+1;c=c-3|0;t[d+v[a+5784>>2]|0]=c;c=((w[(c&255)+866944|0]<<2)+a|0)+1176|0;u[c>>1]=x[c>>1]+1;c=e-1&65535;c=((w[(c>>>0<256?c:(c>>>7|0)+256|0)+866432|0]<<2)+a|0)+2440|0;u[c>>1]=x[c>>1]+1;c=v[a+96>>2];d=v[a+116>>2]-c|0;v[a+116>>2]=d;h=v[a+5788>>2]-1|0;i=v[a+5792>>2];if(!(d>>>0<3|c>>>0>y[a+128>>2])){e=c-1|0;v[a+96>>2]=e;g=v[a+72>>2];c=v[a+108>>2];k=v[a+52>>2];l=v[a+64>>2];m=v[a+68>>2];n=v[a+84>>2];o=v[a+56>>2];f=v[a+88>>2];while(1){d=c;c=c+1|0;v[a+108>>2]=c;g=(w[(d+o|0)+3|0]^g<>2]=g;j=(g<<1)+m|0;u[((c&k)<<1)+l>>1]=x[j>>1];u[j>>1]=c;e=e-1|0;v[a+96>>2]=e;if(e){continue}break}c=d+2|0;v[a+108>>2]=c;if((h|0)!=(i|0)){continue}break d}v[a+96>>2]=0;c=c+v[a+108>>2]|0;v[a+108>>2]=c;d=v[a+56>>2]+c|0;e=w[d|0];v[a+72>>2]=e;v[a+72>>2]=v[a+84>>2]&(w[d+1|0]^e<>2]);if((h|0)!=(i|0)){continue}break d}c=w[v[a+56>>2]+v[a+108>>2]|0];d=v[a+5792>>2];u[v[a+5796>>2]+(d<<1)>>1]=0;v[a+5792>>2]=d+1;t[d+v[a+5784>>2]|0]=c;c=(c<<2)+a|0;u[c+148>>1]=x[c+148>>1]+1;v[a+116>>2]=v[a+116>>2]-1;c=v[a+108>>2]+1|0;v[a+108>>2]=c;if(v[a+5792>>2]!=(v[a+5788>>2]-1|0)){continue}}d=a;e=v[a+92>>2];if((e|0)>=0){f=e+v[a+56>>2]|0}else{f=0}ak(d,f,c-e|0,0);v[a+92>>2]=v[a+108>>2];c=v[a>>2];d=v[c+28>>2];mh(d);e=v[c+16>>2];g=v[d+20>>2];e=e>>>0>>0?e:g;e:{if(!e){break e}cb(v[c+12>>2],v[d+16>>2],e);v[c+12>>2]=e+v[c+12>>2];v[d+16>>2]=e+v[d+16>>2];v[c+20>>2]=e+v[c+20>>2];v[c+16>>2]=v[c+16>>2]-e;c=v[d+20>>2]-e|0;v[d+20>>2]=c;if(c){break e}v[d+16>>2]=v[d+8>>2]}if(v[v[a>>2]+16>>2]){continue}break}return 0}c=v[a+108>>2];v[a+5812>>2]=c>>>0<2?c:2;if((b|0)==4){b=a;d=v[a+92>>2];if((d|0)>=0){f=d+v[a+56>>2]|0}else{f=0}ak(b,f,c-d|0,1);v[a+92>>2]=v[a+108>>2];b=v[a>>2];c=v[b+28>>2];mh(c);d=v[b+16>>2];e=v[c+20>>2];d=d>>>0>>0?d:e;f:{if(!d){break f}cb(v[b+12>>2],v[c+16>>2],d);v[b+12>>2]=d+v[b+12>>2];v[c+16>>2]=d+v[c+16>>2];v[b+20>>2]=d+v[b+20>>2];v[b+16>>2]=v[b+16>>2]-d;b=v[c+20>>2]-d|0;v[c+20>>2]=b;if(b){break f}v[c+16>>2]=v[c+8>>2]}return(v[v[a>>2]+16>>2]?3:2)|0}g:{if(!v[a+5792>>2]){break g}b=a;d=v[a+92>>2];if((d|0)>=0){f=d+v[a+56>>2]|0}else{f=0}ak(b,f,c-d|0,0);v[a+92>>2]=v[a+108>>2];b=v[a>>2];c=v[b+28>>2];mh(c);d=v[b+16>>2];e=v[c+20>>2];d=d>>>0>>0?d:e;h:{if(!d){break h}cb(v[b+12>>2],v[c+16>>2],d);v[b+12>>2]=d+v[b+12>>2];v[c+16>>2]=d+v[c+16>>2];v[b+20>>2]=d+v[b+20>>2];v[b+16>>2]=v[b+16>>2]-d;b=v[c+20>>2]-d|0;v[c+20>>2]=b;if(b){break h}v[c+16>>2]=v[c+8>>2]}if(v[v[a>>2]+16>>2]){break g}return 0}return 1}function Gfa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=Ma-32|0;Ma=f;if(!v[a+36>>2]){v[a+24>>2]=0;v[a+28>>2]=0;e=v[a+12>>2];if(e){c=v[e+24>>2];if(c){while(1){d=v[c>>2];$a(c);v[e+24>>2]=d;c=d;if(c){continue}break}}c=v[e>>2];if(c){$a(c)}$a(e)}v[a+12>>2]=0}c=v[b>>2];if(c){v[c+4>>2]=v[c+4>>2]+1;c=v[b>>2]}else{c=0}d=Me(c);h=Me(c);a:{if(!c){break a}e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(e){break a}e=v[c+4>>2];if(!e){v[c+4>>2]=-32767}if(!e){Qa[v[v[c>>2]+4>>2]](c)}}b:{c:{d:{e:{f:{g:{h:{c=d&255;if((c|0)==v[a+28>>2]){i=v[a+24>>2];i:{if(!c){c=v[b>>2];if(c){v[c+4>>2]=v[c+4>>2]+1;c=v[b>>2]}else{c=0}d=Me(c);e=Me(c);j:{if(!c){break j}g=v[c+4>>2]-1|0;v[c+4>>2]=g;if(g){break j}g=v[c+4>>2];if(!g){v[c+4>>2]=-32767}if(!g){Qa[v[v[c>>2]+4>>2]](c)}}if((d&127)!=1){break h}if((e&255)>>>0>=3){break g}c=v[b>>2];if(c){v[c+4>>2]=v[c+4>>2]+1;c=v[b>>2]}else{c=0}g=Me(c);j=Me(c);k=Me(c);l=Me(c);if(e&254){Me(c)}k:{if(!c){break k}e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(e){break k}e=v[c+4>>2];if(!e){v[c+4>>2]=-32767}if(!e){Qa[v[v[c>>2]+4>>2]](c)}}if(d<<24>>24>=0){break f}if(v[a+12>>2]){break e}d=ab(32);v[d+24>>2]=0;v[d>>2]=0;c=k<<8&65280|l&255;v[d+8>>2]=c;e=g<<8&65280|j&255;v[d+4>>2]=e;c=c+31&131040;v[d+16>>2]=c;e=e+31&131040;v[d+12>>2]=e;c=B(c,e);v[d+20>>2]=c>>>10;g=c>>>6|0;e=ab(g);if((c|1023)>>>0>=2047){eb(e,0,g)}v[d+28>>2]=4080;v[d>>2]=e;v[a+12>>2]=d;if(v[a+36>>2]){break d}c=ab(508);v[c+8>>2]=0;v[c+12>>2]=1;v[c+4>>2]=d;d=v[245893];v[c+56>>2]=v[245892];v[c+60>>2]=d;e=v[245895];d=c- -64|0;v[d>>2]=v[245894];v[d+4>>2]=e;v[c+112>>2]=131072;v[c+116>>2]=131072;v[c+104>>2]=131072;v[c+108>>2]=131072;v[c+96>>2]=65536;v[c+100>>2]=65536;v[c+88>>2]=65536;v[c+92>>2]=65536;v[c+80>>2]=65536;v[c+84>>2]=65536;v[c+72>>2]=65536;v[c+76>>2]=65536;v[c+16>>2]=0;d=v[245900];v[c+20>>2]=v[245899];v[c+24>>2]=d;d=v[245902];v[c+28>>2]=v[245901];v[c+32>>2]=d;d=v[245904];v[c+36>>2]=v[245903];v[c+40>>2]=d;d=v[245906];v[c+44>>2]=v[245905];v[c+48>>2]=d;v[c+52>>2]=v[245907];eb(c+392|0,0,114);v[c>>2]=983936;v[a+36>>2]=c;break i}if(!v[a+12>>2]){break c}if(!v[a+36>>2]){break b}}c=0;d=v[b>>2];if(d){v[d+4>>2]=v[d+4>>2]+1;c=v[b>>2]}d=(h&255)+i|0;v[f>>2]=c;Mr(f+8|0,f,0);b=v[f>>2];v[f>>2]=0;l:{if(!b){break l}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break l}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[f+8>>2];if((d|0)>v[a+24>>2]){while(1){m:{c=v[a+36>>2];c=Qa[v[v[c>>2]+8>>2]](c,b)|0;e=v[a+24>>2]+1|0;v[a+24>>2]=e;if(!c){break m}if((d|0)>(e|0)){continue}}break}b=v[f+8>>2]}v[a+28>>2]=v[a+28>>2]+1;v[f+8>>2]=0;n:{if(!b){break n}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break n}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}}Ma=f+32|0;return d|0}lb(mb(f+8|0,261042,241950,1509,331216));L()}lb(mb(f+8|0,300326,241950,1517,331216));L()}lb(mb(f+8|0,300302,241950,1519,331216));L()}lb(mb(f+8|0,238224,241950,1524,331216));L()}O(242436,241950,1528,262202);L()}O(300293,241950,1530,262202);L()}O(242438,241950,1534,262202);L()}O(300295,241950,1535,262202);L()}function w6(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=v[b+8>>2];a:{b:{if(d&7){break b}f=v[a+12>>2];c:{c=v[b+64>>2];if((c|0)>=0&(c|0)<=v[b+60>>2]){break c}c=f;d=c>>>24|0;v[b+4>>2]=v[b+4>>2]|32;e=v[b+28>>2];v[b+28>>2]=e-1;d:{if((e|0)>=1){v[b+60>>2]=v[b+60>>2]+1;e=v[b+24>>2];v[b+24>>2]=e+1;t[e|0]=d;break d}if((Cb(b,d)|0)==-1){break b}}d=v[b+8>>2];if(d&7){break b}e=v[b+64>>2];if((e|0)>=0&(e|0)<=v[b+60>>2]){break c}d=c>>>16|0;v[b+4>>2]=v[b+4>>2]|32;e=v[b+28>>2];v[b+28>>2]=e-1;e:{if((e|0)>=1){v[b+60>>2]=v[b+60>>2]+1;e=v[b+24>>2];v[b+24>>2]=e+1;t[e|0]=d;break e}if((Cb(b,d&255)|0)==-1){break b}}d=v[b+8>>2];if(d&7){break b}e=v[b+64>>2];if((e|0)>=0&(e|0)<=v[b+60>>2]){break c}c=c>>>8|0;v[b+4>>2]=v[b+4>>2]|32;d=v[b+28>>2];v[b+28>>2]=d-1;f:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;t[d|0]=c;break f}if((Cb(b,c&255)|0)==-1){break b}}d=v[b+8>>2];if(d&7){break b}c=v[b+64>>2];if((c|0)>=0&(c|0)<=v[b+60>>2]){break c}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;g:{if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;t[c|0]=f;break g}if((Cb(b,f&255)|0)==-1){break b}}if(wM(b,v[a+16>>2])){break b}d=v[b+8>>2];if(d&7){break b}c=v[b+64>>2];if((c|0)>=0&(c|0)<=v[b+60>>2]){break c}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;h:{if((c|0)<=0){if((Cb(b,0)|0)!=-1){break h}break b}v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;t[c|0]=0}d=v[b+8>>2];if(d&7){break b}f=v[a+20>>2];c=v[b+64>>2];if((c|0)>=0&(c|0)<=v[b+60>>2]){break c}c=f;d=c>>>24|0;v[b+4>>2]=v[b+4>>2]|32;e=v[b+28>>2];v[b+28>>2]=e-1;i:{if((e|0)>=1){v[b+60>>2]=v[b+60>>2]+1;e=v[b+24>>2];v[b+24>>2]=e+1;t[e|0]=d;break i}if((Cb(b,d)|0)==-1){break b}}d=v[b+8>>2];if(d&7){break b}e=v[b+64>>2];if((e|0)>=0&(e|0)<=v[b+60>>2]){break c}d=c>>>16|0;v[b+4>>2]=v[b+4>>2]|32;e=v[b+28>>2];v[b+28>>2]=e-1;j:{if((e|0)>=1){v[b+60>>2]=v[b+60>>2]+1;e=v[b+24>>2];v[b+24>>2]=e+1;t[e|0]=d;break j}if((Cb(b,d&255)|0)==-1){break b}}d=v[b+8>>2];if(d&7){break b}e=v[b+64>>2];if((e|0)>=0&(e|0)<=v[b+60>>2]){break c}c=c>>>8|0;v[b+4>>2]=v[b+4>>2]|32;d=v[b+28>>2];v[b+28>>2]=d-1;k:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;t[d|0]=c;break k}if((Cb(b,c&255)|0)==-1){break b}}d=v[b+8>>2];if(d&7){break b}c=v[b+64>>2];if((c|0)>=0&(c|0)<=v[b+60>>2]){break c}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;l:{if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;t[c|0]=f;break l}if((Cb(b,f&255)|0)==-1){break b}}if(xg(b,4,v[a+24>>2],0)){break b}if((Un(b,v[a+28>>2],v[a+24>>2]<<1)|0)!=v[a+24>>2]<<1){break b}if(xg(b,2,v[a+32>>2],0)){break b}d=v[b+8>>2];if(d&7){break b}c=v[b+64>>2];if((c|0)>=0&(c|0)<=v[b+60>>2]){break c}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;m:{if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=w[a+36|0];f=v[b+24>>2];v[b+24>>2]=f+1;t[f|0]=c;break m}if((Cb(b,w[a+36|0])|0)==-1){break b}}if(w[a+36|0]){d=0;if((Un(b,a+37|0,67)|0)!=67){break b}break a}d=0;if((fx(b,67)|0)==67){break a}break b}v[b+8>>2]=d|4}d=-1}return d|0}function WQ(){var a=0,b=0,c=0;a:{if(w[1184480]){break a}t[1184480]=1;eb(1168098,0,1022);a=-255;b=-255;while(1){c=b<<1;u[c+1169632>>1]=b+8>>>4;u[c+1169634>>1]=b+9>>>4;u[c+1169636>>1]=b+10>>>4;c=b+3|0;if((c|0)==256){while(1){b=a<<1;u[b+1170656>>1]=b+8>>>4;u[b+1170658>>1]=b+10>>>4;u[b+1170660>>1]=b+12>>>4;b=a+3|0;if((b|0)==256){b=-255;while(1){a=b<<1;c=B(b,3);u[a+1171680>>1]=c+8>>>4;u[a+1171682>>1]=c+11>>>4;u[a+1171684>>1]=c+14>>>4;a=b+3|0;if((a|0)==256){b=-255;while(1){u[(b<<1)+1172704>>1]=(b<<2)+8>>>4;a=b+1|0;u[(a<<1)+1172704>>1]=(a<<2)+8>>>4;a=b+2|0;u[(a<<1)+1172704>>1]=(a<<2)+8>>>4;a=b+3|0;if((a|0)==256){b=-255;while(1){a=b<<1;c=B(b,5);u[a+1173728>>1]=c+8>>>4;u[a+1173730>>1]=c+13>>>4;u[a+1173732>>1]=c+18>>>4;a=b+3|0;if((a|0)==256){b=-255;while(1){a=b<<1;c=B(b,6);u[a+1174752>>1]=c+8>>>4;u[a+1174754>>1]=c+14>>>4;u[a+1174756>>1]=c+20>>>4;a=b+3|0;if((a|0)==256){b=-255;while(1){a=b<<1;c=B(b,7);u[a+1175776>>1]=c+8>>>4;u[a+1175778>>1]=c+15>>>4;u[a+1175780>>1]=c+22>>>4;a=b+3|0;if((a|0)==256){b=-255;while(1){u[(b<<1)+1176800>>1]=(b<<3)+8>>>4;a=b+1|0;u[(a<<1)+1176800>>1]=(a<<3)+8>>>4;a=b+2|0;u[(a<<1)+1176800>>1]=(a<<3)+8>>>4;a=b+3|0;if((a|0)==256){b=-255;while(1){a=b<<1;c=B(b,9);u[a+1177824>>1]=c+8>>>4;u[a+1177826>>1]=c+17>>>4;u[a+1177828>>1]=c+26>>>4;a=b+3|0;if((a|0)==256){b=-255;while(1){a=b<<1;c=B(b,10);u[a+1178848>>1]=c+8>>>4;u[a+1178850>>1]=c+18>>>4;u[a+1178852>>1]=c+28>>>4;a=b+3|0;if((a|0)==256){b=-255;while(1){a=b<<1;c=B(b,11);u[a+1179872>>1]=c+8>>>4;u[a+1179874>>1]=c+19>>>4;u[a+1179876>>1]=c+30>>>4;a=b+3|0;if((a|0)==256){b=-255;while(1){a=b<<1;c=B(b,12);u[a+1180896>>1]=c+8>>>4;u[a+1180898>>1]=c+20>>>4;u[a+1180900>>1]=c+32>>>4;a=b+3|0;if((a|0)==256){b=-255;while(1){a=b<<1;c=B(b,13);u[a+1181920>>1]=c+8>>>4;u[a+1181922>>1]=c+21>>>4;u[a+1181924>>1]=c+34>>>4;a=b+3|0;if((a|0)==256){b=-255;while(1){a=b<<1;c=B(b,14);u[a+1182944>>1]=c+8>>>4;u[a+1182946>>1]=c+22>>>4;u[a+1182948>>1]=c+36>>>4;a=b+3|0;if((a|0)==256){b=-255;while(1){a=b<<1;c=B(b,15);u[a+1183968>>1]=c+8>>>4;u[a+1183970>>1]=c+23>>>4;u[a+1183972>>1]=c+38>>>4;a=b+3|0;if((a|0)==256){break a}u[(a<<1)+1183968>>1]=B(a,15)+8>>>4;b=b+4|0;continue}}else{u[(a<<1)+1182944>>1]=B(a,14)+8>>>4;b=b+4|0;continue}}}else{u[(a<<1)+1181920>>1]=B(a,13)+8>>>4;b=b+4|0;continue}}}else{u[(a<<1)+1180896>>1]=B(a,12)+8>>>4;b=b+4|0;continue}}}else{u[(a<<1)+1179872>>1]=B(a,11)+8>>>4;b=b+4|0;continue}}}else{u[(a<<1)+1178848>>1]=B(a,10)+8>>>4;b=b+4|0;continue}}}else{u[(a<<1)+1177824>>1]=B(a,9)+8>>>4;b=b+4|0;continue}}}else{u[(a<<1)+1176800>>1]=(a<<3)+8>>>4;b=b+4|0;continue}}}else{u[(a<<1)+1175776>>1]=B(a,7)+8>>>4;b=b+4|0;continue}}}else{u[(a<<1)+1174752>>1]=B(a,6)+8>>>4;b=b+4|0;continue}}}else{u[(a<<1)+1173728>>1]=B(a,5)+8>>>4;b=b+4|0;continue}}}else{u[(a<<1)+1172704>>1]=(a<<2)+8>>>4;b=b+4|0;continue}}}else{u[(a<<1)+1171680>>1]=B(a,3)+8>>>4;b=b+4|0;continue}}}else{b=b<<1;u[b+1170656>>1]=b+8>>>4;a=a+4|0;continue}}}else{u[(c<<1)+1169632>>1]=b+11>>>4;b=b+4|0;continue}}}}function u4(a,b){var c=0,d=0,e=0,f=0,g=0;f=Ma+-64|0;Ma=f;a:{b:{c:{d:{e:{c=t[b|0];switch(c-97|0){case 17:break c;case 0:case 22:break e;default:break d}}g=(c|0)==119?578:66;break b}v[f>>2]=b;wb(0,76916,2485,f);break a}g=(w[b+1|0]==43)<<1}c=gb(zb(3143)+689|0);if(!c){v[f+16>>2]=3143;wb(a,76916,8130,f+16|0);break a}Hf(c,0,688);d=c+688|0;v[c>>2]=d;od(d,3143);u[c+476>>1]=65535;v[c+8>>2]=g&2;v[c+480>>2]=-1;v[c+484>>2]=0;v[c+628>>2]=a;v[c+472>>2]=-1;v[c+648>>2]=101;v[c+644>>2]=100;v[c+640>>2]=99;v[c+636>>2]=98;v[c+632>>2]=97;v[c+624>>2]=103;v[c+620>>2]=102;xp(c);a=g?1:2049;d=g&576?a:a|32768;v[c+12>>2]=d;e=w[b|0];f:{if(!e){break f}if(!g){a=b;while(1){g=c;g:{h:{i:{switch((e<<24>>24)-66|0){case 33:d=d&-32769;break h;case 1:d=d|32768;break h;case 43:d=d&-2049;break h;case 11:d=d|2048;break h;case 6:d=d&-4|2;break h;case 10:d=d&-4|2;break h;case 0:d=d&-4|1;break h;case 38:break i;default:break g}}d=d|65536}v[g+12>>2]=d}e=w[a+1|0];a=a+1|0;if(e){continue}break}break f}if(!(g&64)){a=b;while(1){g=c;j:{k:{l:{switch((e<<24>>24)-66|0){case 6:d=d&-4|2;break k;case 10:d=d&-4|2;break k;case 0:d=d&-4|1;break k;case 38:break l;default:break j}}d=d|65536}v[g+12>>2]=d}e=w[a+1|0];a=a+1|0;if(e){continue}break}break f}a=b;while(1){g=c;m:{n:{o:{switch((e<<24>>24)-66|0){case 32:d=d|128;break n;case 0:d=d&-4|1;break n;case 10:d=d&-4|2;break n;case 6:d=d&-4|2;break n;case 38:break o;default:break m}}d=d|65536}v[g+12>>2]=d}e=w[a+1|0];a=a+1|0;if(e){continue}break}}p:{q:{r:{if(!(w[c+9|0]&2)){if((Qa[v[c+632>>2]](v[c+628>>2],c+456|0,8)|0)==8){break r}if(!v[c+8>>2]){break q}d=v[c+12>>2]}u[c+458>>1]=42;a=d&128;u[c+456>>1]=a?19789:18761;if(a){a=w[c+459|0];t[c+459|0]=w[c+458|0];t[c+458|0]=a}v[c+460>>2]=0;Qa[v[c+640>>2]](v[c+628>>2],0,0)|0;if((Qa[v[c+636>>2]](v[c+628>>2],c+456|0,8)|0)!=8){wb(v[c+628>>2],3143,15679,0);break p}v[c+468>>2]=76944;a=c;if(x[c+456>>1]==19789){v[c+12>>2]=v[c+12>>2]|128;b=77008}else{b=77072}v[a+464>>2]=b;if(!Xx(c)){break p}u[c+32>>1]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;e=c;break a}e=x[c+456>>1];if(!((e|0)==18761|(e|0)==19789)){a=v[c+628>>2];v[f+36>>2]=e;v[f+32>>2]=e;wb(a,3143,19346,f+32|0);break p}v[c+468>>2]=76944;d=v[c+12>>2];a=c;if((e|0)==19789){d=d|128;v[c+12>>2]=d;e=77008}else{e=77072}v[a+464>>2]=e;if(d&128){a=w[c+459|0];t[c+459|0]=w[c+458|0];t[c+458|0]=a;Wn(c+460|0)}s:{t:{u:{a=x[c+458>>1];switch(a-42|0){case 0:break s;case 1:break u;default:break t}}wb(v[c+628>>2],3143,21705,0);break p}b=v[c+628>>2];v[f+52>>2]=a;v[f+48>>2]=a;wb(b,3143,23643,f+48|0);break p}v[c+604>>2]=0;v[c+596>>2]=0;v[c+600>>2]=0;a=v[c+12>>2];v[c+12>>2]=a|512;e=c;if(a&65536){break a}b=t[b|0]-97|0;if(b){if((b|0)!=17){break p}v[c+20>>2]=v[c+460>>2];v:{if(!(a&2048)){break v}if(Qa[v[c+620>>2]](v[c+628>>2],c+612|0,c+616|0)|0){break v}v[c+12>>2]=v[c+12>>2]&-2049}if(!aN(c)){break p}v[c+608>>2]=-1;v[c+12>>2]=v[c+12>>2]|16;break a}if(Xx(c)){break a}break p}wb(v[c+628>>2],3143,13028,0)}e=0;v[c+8>>2]=0;AQ(c)}Ma=f- -64|0;return e}function KG(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0,y=0,z=0,B=0,C=0,E=0,F=0,G=0,H=0;h=Ma-32|0;Ma=h;j=v[b+8>>2];p=v[a+8>>2];Qa[v[v[p>>2]+64>>2]](p,v[a+28>>2]);p=v[a+28>>2];E=ab(672);w=vs(E,p,1);v[a+28>>2]=E;a:{if(c){hV(w);c=v[a+8>>2];Qa[v[v[c>>2]+228>>2]](c,v[a+28>>2]);c=v[a+28>>2];v[c+408>>2]=v[c+412>>2];break a}if(e){break a}ej(w);c=v[a+28>>2];e=v[a+8>>2];w=v[e>>2];if(d){Qa[v[w+224>>2]](e,c);break a}Qa[v[w+220>>2]](e,c)}Ae(v[a+28>>2]);c=v[a+28>>2];g=A[c+16>>3];i=A[c+40>>3];k=A[c+24>>3];q=A[c+32>>3];f=g*i-k*q;b:{if(D(f)<=1e-10){c=-1;b=v[a+108>>2];c:{if(!b){break c}b=v[b+4>>2];if(v[b+8>>2]==13){break c}b=v[b+16>>2];c=Qa[v[v[b>>2]+52>>2]](b)|0}fb(1,c,258947,0);break b}f=1/f;l=i*f;r=A[b+16>>3];m=A[a+48>>3];s=A[b+24>>3];t=A[a- -64>>3];u=r*m+s*t;z=f*-q;n=r;r=A[a+56>>3];B=s;s=A[a+72>>3];x=n*r+B*s;F=l*u+z*x;C=f*-k;n=C*u;u=g*f;x=n+u*x;o=A[b+32>>3];y=A[b+40>>3];n=m*o+t*y;o=r*o+s*y;y=l*n+z*o;o=C*n+u*o;n=q;q=A[c+56>>3];B=i;i=A[c+48>>3];G=l;l=A[b+48>>3];H=m*l;m=A[b+56>>3];t=A[a+80>>3]+(H+t*m);l=r*l+s*m+A[a+88>>3];m=f*(n*q-B*i)+(G*t+z*l);f=f*(k*i-g*q)+(C*t+u*l);DG(c,F,x,y,o,m,f);b=v[a+8>>2];Qa[v[v[b>>2]+76>>2]](b,v[a+28>>2],F,x,y,o,m,f);if(v[j+176>>2]){f=A[j+144>>3];A[h+24>>3]=f;g=A[j+152>>3];A[h+16>>3]=g;i=A[j+160>>3];A[h+8>>3]=i;k=A[j+168>>3];A[h>>3]=k;b=v[a+28>>2];A[b+608>>3]=g;A[b+600>>3]=f;b=v[b+596>>2];A[b+16>>3]=g;A[b+8>>3]=f;v[b>>2]=1;b=v[a+28>>2];A[b+608>>3]=g;A[b+600>>3]=i;cd(v[b+596>>2],i,g);b=v[a+28>>2];A[b+608>>3]=k;A[b+600>>3]=i;cd(v[b+596>>2],i,k);b=v[a+28>>2];A[b+608>>3]=k;A[b+600>>3]=f;cd(v[b+596>>2],f,k);b=v[a+28>>2];kf(v[b+596>>2]);c=v[b+596>>2];c=v[((v[c+28>>2]<<2)+v[c+24>>2]|0)-4>>2];d=(v[c+12>>2]<<3)-8|0;A[b+600>>3]=A[d+v[c>>2]>>3];A[b+608>>3]=A[d+v[c+4>>2]>>3];ej(v[a+28>>2]);b=v[a+8>>2];Qa[v[v[b>>2]+220>>2]](b,v[a+28>>2]);Ae(v[a+28>>2])}b=v[a+28>>2];c=v[j+8>>2];d=Qa[v[v[c>>2]+8>>2]](c)|0;c=v[b+116>>2];if(c){Qa[v[v[c>>2]+4>>2]](c)}v[b+116>>2]=d;b=v[a+8>>2];Qa[v[v[b>>2]+108>>2]](b,v[a+28>>2]);if(v[j+140>>2]){cb(v[a+28>>2]+124|0,j+12|0,128);b=v[a+8>>2];Qa[v[v[b>>2]+116>>2]](b,v[a+28>>2]);hv(v[a+28>>2],h+24|0,h+16|0,h+8|0,h);f=A[h+24>>3];b=v[a+28>>2];g=A[h+16>>3];A[b+608>>3]=g;A[b+600>>3]=f;b=v[b+596>>2];A[b+16>>3]=g;A[b+8>>3]=f;v[b>>2]=1;f=A[h+8>>3];b=v[a+28>>2];g=A[h+16>>3];A[b+608>>3]=g;A[b+600>>3]=f;cd(v[b+596>>2],f,g);f=A[h+8>>3];b=v[a+28>>2];g=A[h>>3];A[b+608>>3]=g;A[b+600>>3]=f;cd(v[b+596>>2],f,g);f=A[h+24>>3];b=v[a+28>>2];g=A[h>>3];A[b+608>>3]=g;A[b+600>>3]=f;cd(v[b+596>>2],f,g);b=v[a+28>>2];kf(v[b+596>>2]);c=v[b+596>>2];c=v[((v[c+28>>2]<<2)+v[c+24>>2]|0)-4>>2];d=(v[c+12>>2]<<3)-8|0;A[b+600>>3]=A[d+v[c>>2]>>3];A[b+608>>3]=A[d+v[c+4>>2]>>3];b=v[a+8>>2];Qa[v[v[b>>2]+204>>2]](b,v[a+28>>2]);Ae(v[a+28>>2])}FV(a,j)}c=v[a+28>>2];if(v[c+668>>2]){while(1){b=nl(c);v[a+28>>2]=b;c=v[a+8>>2];Qa[v[v[c>>2]+68>>2]](c,b);c=v[a+28>>2];if(v[c+668>>2]){continue}break}}$a(hq(c));v[a+28>>2]=p;a=v[a+8>>2];Qa[v[v[a>>2]+68>>2]](a,p);Ma=h+32|0}function Y$a(a){a=a|0;var 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;b=v[a+572>>2];c=v[a+664>>2];a:{if((b|0)<(c|0)|(b|0)>=v[a+668>>2]){break a}i=Qa[v[a+220>>2]](a,v[a+680>>2]+(b-c|0)|0)|0;b=v[a+580>>2];c=(i+(b<<2)|0)+(v[a+672>>2]<<2)|0;f=v[a+656>>2];d=(f|0)/v[a+584>>2]|0;e=v[a+644>>2];b:{if(!w[a+648|0]){f=b+f|0;b=e+(d<<2)|0;d=v[a+660>>2];if(!w[a+649|0]){break b}if((d|0)<=(f|0)){break a}while(1){t[c|0]=w[b+3|0];t[c+1|0]=w[b+2|0];t[c+2|0]=w[b+1|0];t[c+3|0]=w[b|0];b=b+4|0;d=v[a+584>>2];c=(d<<2)+c|0;f=d+f|0;if((f|0)>2]){continue}break}break a}f=b+f|0;b=e+(d<<3)|0;d=v[a+660>>2];if(w[a+649|0]){if((d|0)<=(f|0)){break a}while(1){t[c|0]=w[b+6|0];t[c+1|0]=w[b+4|0];t[c+2|0]=w[b+2|0];t[c+3|0]=w[b|0];b=b+8|0;d=v[a+584>>2];c=(d<<2)+c|0;f=d+f|0;if((f|0)>2]){continue}break}break a}if((d|0)<=(f|0)){break a}while(1){d=w[b+6|0]|w[b+7|0]<<8;d=(d<<8|d>>>8)&65535;c:{if(!d){break c}d:{if((d|0)!=65535){e=w[c|0];e=e<<8|e;if(e){break d}}t[c|0]=w[b+6|0];t[c+1|0]=w[b+4|0];t[c+2|0]=w[b+2|0];t[c+3|0]=w[b|0];break c}if((e|0)==65535){e=w[b+2|0]|w[b+3|0]<<8;j=w[b+4|0]|w[b+5|0]<<8;h=w[b|0]|w[b+1|0]<<8;g=B(d,(h<<8|h>>>8)&65535);h=w[c+3|0];i=h<<8|h;h=d^65535;g=(g+B(i,h)|0)+32768|0;t[c+3|0]=(g>>>16|0)+g>>>24;i=B((e<<8|e>>>8)&65535,d);e=w[c+2|0];e=(i+B(h,e<<8|e)|0)+32768|0;t[c+2|0]=(e>>>16|0)+e>>>24;i=B((j<<8|j>>>8)&65535,d);d=w[c+1|0];d=(i+B(h,d<<8|d)|0)+32768|0;t[c+1|0]=(d>>>16|0)+d>>>24;break c}j=w[c+1|0];h=w[c+2|0];g=w[c+3|0];k=w[b|0]|w[b+1|0]<<8;l=w[b+2|0]|w[b+3|0]<<8;m=w[b+4|0]|w[b+5|0]<<8;n=d^65535;o=B(n,e^65535)^-1;t[c|0]=o>>>24;i=g|g<<8;g=o>>>16|0;e=(B(e,n)>>>0)/(g>>>0)|0;d=(d<<16>>>0)/(g>>>0)|0;t[c+3|0]=(B(i,e)+B(d,(k<<8|k>>>8)&65535)|0)+32767>>>24;t[c+2|0]=(B(e,h|h<<8)+B(d,(l<<8|l>>>8)&65535)|0)+32767>>>24;t[c+1|0]=(B(e,j|j<<8)+B(d,(m<<8|m>>>8)&65535)|0)+32767>>>24}b=b+8|0;d=v[a+584>>2];c=(d<<2)+c|0;f=d+f|0;if((f|0)>2]){continue}break}break a}if((d|0)<=(f|0)){break a}while(1){d=w[b+3|0];e:{if(!d){break e}f:{if((d|0)!=255){e=w[c|0];if(e){break f}}t[c|0]=d;t[c+1|0]=w[b+2|0];t[c+2|0]=w[b+1|0];t[c+3|0]=w[b|0];break e}if((e|0)==255){e=d^255;j=(B(d,w[b+2|0])+B(e,w[c+1|0])|0)+128|0;t[c+1|0]=(j>>>8&255)+j>>>8;j=(B(d,w[b+1|0])+B(e,w[c+2|0])|0)+128|0;t[c+2|0]=(j>>>8&255)+j>>>8;d=(B(d,w[b|0])+B(e,w[c+3|0])|0)+128|0;t[c+3|0]=(d>>>8&255)+d>>>8;break e}j=w[b+2|0];h=w[b+1|0];g=w[b|0];k=d^255;l=B(k,e^255)>>>8^-1;t[c|0]=l;i=g;g=l&255;d=(d<<8>>>0)/(g>>>0)|0;e=(B(e,k)>>>0)/(g>>>0)|0;t[c+3|0]=(B(i,d)+B(e,w[c+3|0])|0)+127>>>8;t[c+2|0]=(B(d,h)+B(e,w[c+2|0])|0)+127>>>8;t[c+1|0]=(B(d,j)+B(e,w[c+1|0])|0)+127>>>8}b=b+4|0;d=v[a+584>>2];c=(d<<2)+c|0;f=d+f|0;if((f|0)>2]){continue}break}}c=v[a+680>>2]+v[a+572>>2]|0;f=v[a+664>>2];b=v[a+556>>2];d=v[a+672>>2];g:{if((d|0)>=v[a+552>>2]){if(b){break g}b=0}v[a+552>>2]=d}i=b;b=v[a+676>>2];if((i|0)<(b|0)){v[a+556>>2]=b}b=v[a+564>>2];c=c-f|0;h:{if((c|0)>=v[a+560>>2]){if(b){break h}b=0}v[a+560>>2]=c}if((b|0)<=(c|0)){v[a+564>>2]=c+1}return 0}function Uma(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=v[v[a+12>>2]+12>>2]+32|0;d=v[c>>2];a:{if(!d){break a}a=c;while(1){e=v[d+16>>2]<(b|0);a=e?a:d;d=v[(e<<2)+d>>2];if(d){continue}break}if((a|0)==(c|0)|v[a+16>>2]>(b|0)){break a}a=v[a+20>>2];k=Ma-16|0;Ma=k;f=1e3;c=gb(1e3);v[c>>2]=0;b=4;j=v[a+4>>2];l=v[a+8>>2];if((j|0)!=(l|0)){a=c;while(1){d=w[j+43|0];e=d<<24>>24<0;Ti(k,e?v[j+32>>2]:j+32|0,e?v[j+36>>2]:d);d=w[k+11|0];e=d<<24>>24<0;i=e?v[k>>2]:k;d=e?v[k+4>>2]:d;e=d+4|0;b:{if(!a){b=0;f=e>>>0>1e3?e:1e3;h=gb(f);a=h;break b}h=b+e|0;if(h>>>0<=f>>>0){h=c+4|0;break b}while(1){f=f<<1;if(h>>>0>f>>>0){continue}break}c=Wd(a,f);if(c){h=b+c|0;a=c;break b}c=cb(gb(f),a,b);$a(a);h=b+c|0;a=c}t[h|0]=d;t[h+1|0]=d>>>8;t[h+2|0]=d>>>16;t[h+3|0]=d>>>24;i=cb(h+4|0,i,d);g=A[j>>3]*100;c:{if(g<4294967296&g>=0){c=~~g>>>0;break c}c=0}d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{if(!a){b=0;f=1e3;i=gb(1e3);a=i;break m}b=b+e|0;h=b+4|0;if(h>>>0<=f>>>0){d=d+i|0;t[d|0]=c;t[d+1|0]=c>>>8;t[d+2|0]=c>>>16;t[d+3|0]=c>>>24;e=d+4|0;g=A[j+8>>3]*100;if(!(g<4294967296&g>=0)){break l}c=~~g>>>0;break k}while(1){f=f<<1;if(h>>>0>f>>>0){continue}break}d=Wd(a,f);if(d){a=b+d|0;t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;e=a+4|0;g=A[j+8>>3]*100;if(g<4294967296&g>=0){c=~~g>>>0;a=d;break k}c=0;a=d;break k}i=gb(f);d=cb(i,a,b);$a(a);a=b+d|0}t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;g=A[j+8>>3]*100;n:{if(g<4294967296&g>=0){c=~~g>>>0;break n}c=0}if(i){h=b+4|0;e=a+4|0;a=i;break k}h=0;f=1e3;b=gb(1e3);e=b;break j}c=0}o:{i=b+8|0;p:{if(i>>>0<=f>>>0){b=a;break p}while(1){f=f<<1;if(i>>>0>f>>>0){continue}break}b=Wd(a,f);if(!b){break o}e=b+h|0}t[e|0]=c;t[e+1|0]=c>>>8;t[e+2|0]=c>>>16;t[e+3|0]=c>>>24;g=A[j+16>>3]*100;if(!(g<4294967296&g>=0)){break i}a=~~g>>>0;break h}b=gb(f);d=cb(b,a,h);$a(a);e=d+h|0}t[e|0]=c;t[e+1|0]=c>>>8;t[e+2|0]=c>>>16;t[e+3|0]=c>>>24;g=A[j+16>>3]*100;q:{if(g<4294967296&g>=0){a=~~g>>>0;break q}a=0}if(b){i=h+4|0;break h}i=0;f=1e3;d=gb(1e3);b=d;break g}a=0}h=i+4|0;if(h>>>0<=f>>>0){t[e+4|0]=a;t[e+5|0]=a>>>8;t[e+6|0]=a>>>16;t[e+7|0]=a>>>24;c=e+8|0;g=A[j+24>>3]*100;if(!(g<4294967296&g>=0)){break f}e=~~g>>>0;break e}while(1){f=f<<1;if(h>>>0>f>>>0){continue}break}d=Wd(b,f);if(d){b=d+i|0;t[b|0]=a;t[b+1|0]=a>>>8;t[b+2|0]=a>>>16;t[b+3|0]=a>>>24;c=b+4|0;g=A[j+24>>3]*100;if(g<4294967296&g>=0){e=~~g>>>0;b=d;break e}e=0;b=d;break e}d=gb(f);c=cb(d,b,i);$a(b);b=c+i|0}t[b|0]=a;t[b+1|0]=a>>>8;t[b+2|0]=a>>>16;t[b+3|0]=a>>>24;g=A[j+24>>3]*100;r:{if(g<4294967296&g>=0){e=~~g>>>0;break r}e=0}if(d){h=i+4|0;c=b+4|0;b=d;break e}h=0;f=1e3;c=gb(1e3);a=c;break d}e=0}a=i+8|0;if(a>>>0<=f>>>0){a=b;break d}while(1){f=f<<1;if(a>>>0>f>>>0){continue}break}a=Wd(b,f);if(!a){a=gb(f);cb(a,b,h);$a(b)}c=a+h|0}t[c|0]=e;t[c+1|0]=e>>>8;t[c+2|0]=e>>>16;t[c+3|0]=e>>>24;if(t[k+11|0]<=-1){$a(v[k>>2])}b=h+4|0;j=j+48|0;if((l|0)!=(j|0)){continue}break}c=a}t[c|0]=b;t[c+1|0]=b>>>8;t[c+2|0]=b>>>16;t[c+3|0]=b>>>24;Ma=k+16|0;f=c}return f|0}function g0a(a){a=a|0;var 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;b=v[a+572>>2];c=v[a+664>>2];a:{if((b|0)<(c|0)|(b|0)>=v[a+668>>2]){break a}j=Qa[v[a+220>>2]](a,v[a+680>>2]+(b-c|0)|0)|0;b=v[a+580>>2];c=(j+(b<<2)|0)+(v[a+672>>2]<<2)|0;f=v[a+656>>2];d=(f|0)/v[a+584>>2]|0;e=v[a+644>>2];b:{if(!w[a+648|0]){f=b+f|0;b=e+(d<<2)|0;d=v[a+660>>2];if(!w[a+649|0]){break b}if((d|0)<=(f|0)){break a}while(1){t[c|0]=w[b|0];t[c+1|0]=w[b+1|0];t[c+2|0]=w[b+2|0];t[c+3|0]=w[b+3|0];b=b+4|0;d=v[a+584>>2];c=(d<<2)+c|0;f=d+f|0;if((f|0)>2]){continue}break}break a}f=b+f|0;b=e+(d<<3)|0;d=v[a+660>>2];if(w[a+649|0]){if((d|0)<=(f|0)){break a}while(1){t[c|0]=w[b|0];t[c+1|0]=w[b+2|0];t[c+2|0]=w[b+4|0];t[c+3|0]=w[b+6|0];b=b+8|0;d=v[a+584>>2];c=(d<<2)+c|0;f=d+f|0;if((f|0)>2]){continue}break}break a}if((d|0)<=(f|0)){break a}while(1){d=w[b+6|0]|w[b+7|0]<<8;d=(d<<8|d>>>8)&65535;c:{if(!d){break c}d:{if((d|0)!=65535){e=w[c+3|0];e=e<<8|e;if(e){break d}}t[c|0]=w[b|0];t[c+1|0]=w[b+2|0];t[c+2|0]=w[b+4|0];t[c+3|0]=w[b+6|0];break c}if((e|0)==65535){e=w[b|0]|w[b+1|0]<<8;g=w[b+2|0]|w[b+3|0]<<8;i=w[b+4|0]|w[b+5|0]<<8;h=B(d,(i<<8|i>>>8)&65535);i=w[c+2|0];j=i<<8|i;i=d^65535;h=(h+B(j,i)|0)+32768|0;t[c+2|0]=(h>>>16|0)+h>>>24;j=B((g<<8|g>>>8)&65535,d);g=w[c+1|0];g=(j+B(i,g<<8|g)|0)+32768|0;t[c+1|0]=(g>>>16|0)+g>>>24;j=B((e<<8|e>>>8)&65535,d);d=w[c|0];d=(j+B(i,d<<8|d)|0)+32768|0;t[c|0]=(d>>>16|0)+d>>>24;break c}g=w[c|0];i=w[c+1|0];h=w[c+2|0];k=w[b|0]|w[b+1|0]<<8;l=w[b+2|0]|w[b+3|0]<<8;m=w[b+4|0]|w[b+5|0]<<8;n=d^65535;o=B(n,e^65535)^-1;t[c+3|0]=o>>>24;j=h|h<<8;h=o>>>16|0;e=(B(e,n)>>>0)/(h>>>0)|0;d=(d<<16>>>0)/(h>>>0)|0;t[c+2|0]=(B(j,e)+B(d,(m<<8|m>>>8)&65535)|0)+32767>>>24;t[c+1|0]=(B(e,i|i<<8)+B(d,(l<<8|l>>>8)&65535)|0)+32767>>>24;t[c|0]=(B(e,g|g<<8)+B(d,(k<<8|k>>>8)&65535)|0)+32767>>>24}b=b+8|0;d=v[a+584>>2];c=(d<<2)+c|0;f=d+f|0;if((f|0)>2]){continue}break}break a}if((d|0)<=(f|0)){break a}while(1){d=w[b+3|0];e:{if(!d){break e}f:{if((d|0)!=255){e=w[c+3|0];if(e){break f}}t[c|0]=w[b|0];t[c+1|0]=w[b+1|0];t[c+2|0]=w[b+2|0];t[c+3|0]=w[b+3|0];break e}if((e|0)==255){e=d^255;g=(B(d,w[b|0])+B(e,w[c|0])|0)+128|0;t[c|0]=(g>>>8&255)+g>>>8;g=(B(d,w[b+1|0])+B(e,w[c+1|0])|0)+128|0;t[c+1|0]=(g>>>8&255)+g>>>8;d=(B(d,w[b+2|0])+B(e,w[c+2|0])|0)+128|0;t[c+2|0]=(d>>>8&255)+d>>>8;break e}g=w[b|0];i=w[b+1|0];h=w[b+2|0];k=d^255;l=B(k,e^255)>>>8^-1;t[c+3|0]=l;j=h;h=l&255;d=(d<<8>>>0)/(h>>>0)|0;e=(B(e,k)>>>0)/(h>>>0)|0;t[c+2|0]=(B(j,d)+B(e,w[c+2|0])|0)+127>>>8;t[c+1|0]=(B(d,i)+B(e,w[c+1|0])|0)+127>>>8;t[c|0]=(B(d,g)+B(e,w[c|0])|0)+127>>>8}b=b+4|0;d=v[a+584>>2];c=(d<<2)+c|0;f=d+f|0;if((f|0)>2]){continue}break}}c=v[a+680>>2]+v[a+572>>2]|0;f=v[a+664>>2];b=v[a+556>>2];d=v[a+672>>2];g:{if((d|0)>=v[a+552>>2]){if(b){break g}b=0}v[a+552>>2]=d}j=b;b=v[a+676>>2];if((j|0)<(b|0)){v[a+556>>2]=b}b=v[a+564>>2];c=c-f|0;h:{if((c|0)>=v[a+560>>2]){if(b){break h}b=0}v[a+560>>2]=c}if((b|0)<=(c|0)){v[a+564>>2]=c+1}return 0}function $$a(a){a=a|0;var 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;b=v[a+572>>2];c=v[a+664>>2];a:{if((b|0)<(c|0)|(b|0)>=v[a+668>>2]){break a}i=Qa[v[a+220>>2]](a,v[a+680>>2]+(b-c|0)|0)|0;b=v[a+580>>2];c=(i+(b<<2)|0)+(v[a+672>>2]<<2)|0;f=v[a+656>>2];d=(f|0)/v[a+584>>2]|0;e=v[a+644>>2];b:{if(!w[a+648|0]){f=b+f|0;b=e+(d<<2)|0;d=v[a+660>>2];if(!w[a+649|0]){break b}if((d|0)<=(f|0)){break a}while(1){t[c|0]=w[b+2|0];t[c+1|0]=w[b+1|0];t[c+2|0]=w[b|0];t[c+3|0]=w[b+3|0];b=b+4|0;d=v[a+584>>2];c=(d<<2)+c|0;f=d+f|0;if((f|0)>2]){continue}break}break a}f=b+f|0;b=e+(d<<3)|0;d=v[a+660>>2];if(w[a+649|0]){if((d|0)<=(f|0)){break a}while(1){t[c|0]=w[b+4|0];t[c+1|0]=w[b+2|0];t[c+2|0]=w[b|0];t[c+3|0]=w[b+6|0];b=b+8|0;d=v[a+584>>2];c=(d<<2)+c|0;f=d+f|0;if((f|0)>2]){continue}break}break a}if((d|0)<=(f|0)){break a}while(1){d=w[b+6|0]|w[b+7|0]<<8;d=(d<<8|d>>>8)&65535;c:{if(!d){break c}d:{if((d|0)!=65535){e=w[c+3|0];e=e<<8|e;if(e){break d}}t[c|0]=w[b+4|0];t[c+1|0]=w[b+2|0];t[c+2|0]=w[b|0];t[c+3|0]=w[b+6|0];break c}if((e|0)==65535){e=w[b+2|0]|w[b+3|0]<<8;j=w[b+4|0]|w[b+5|0]<<8;h=w[b|0]|w[b+1|0]<<8;g=B(d,(h<<8|h>>>8)&65535);h=w[c+2|0];i=h<<8|h;h=d^65535;g=(g+B(i,h)|0)+32768|0;t[c+2|0]=(g>>>16|0)+g>>>24;i=B((e<<8|e>>>8)&65535,d);e=w[c+1|0];e=(i+B(h,e<<8|e)|0)+32768|0;t[c+1|0]=(e>>>16|0)+e>>>24;i=B((j<<8|j>>>8)&65535,d);d=w[c|0];d=(i+B(h,d<<8|d)|0)+32768|0;t[c|0]=(d>>>16|0)+d>>>24;break c}j=w[c|0];h=w[c+1|0];g=w[c+2|0];k=w[b|0]|w[b+1|0]<<8;l=w[b+2|0]|w[b+3|0]<<8;m=w[b+4|0]|w[b+5|0]<<8;n=d^65535;o=B(n,e^65535)^-1;t[c+3|0]=o>>>24;i=g|g<<8;g=o>>>16|0;e=(B(e,n)>>>0)/(g>>>0)|0;d=(d<<16>>>0)/(g>>>0)|0;t[c+2|0]=(B(i,e)+B(d,(k<<8|k>>>8)&65535)|0)+32767>>>24;t[c+1|0]=(B(e,h|h<<8)+B(d,(l<<8|l>>>8)&65535)|0)+32767>>>24;t[c|0]=(B(e,j|j<<8)+B(d,(m<<8|m>>>8)&65535)|0)+32767>>>24}b=b+8|0;d=v[a+584>>2];c=(d<<2)+c|0;f=d+f|0;if((f|0)>2]){continue}break}break a}if((d|0)<=(f|0)){break a}while(1){d=w[b+3|0];e:{if(!d){break e}f:{if((d|0)!=255){e=w[c+3|0];if(e){break f}}t[c|0]=w[b+2|0];t[c+1|0]=w[b+1|0];t[c+2|0]=w[b|0];t[c+3|0]=w[b+3|0];break e}if((e|0)==255){e=d^255;j=(B(d,w[b+2|0])+B(e,w[c|0])|0)+128|0;t[c|0]=(j>>>8&255)+j>>>8;j=(B(d,w[b+1|0])+B(e,w[c+1|0])|0)+128|0;t[c+1|0]=(j>>>8&255)+j>>>8;d=(B(d,w[b|0])+B(e,w[c+2|0])|0)+128|0;t[c+2|0]=(d>>>8&255)+d>>>8;break e}j=w[b+2|0];h=w[b+1|0];g=w[b|0];k=d^255;l=B(k,e^255)>>>8^-1;t[c+3|0]=l;i=g;g=l&255;d=(d<<8>>>0)/(g>>>0)|0;e=(B(e,k)>>>0)/(g>>>0)|0;t[c+2|0]=(B(i,d)+B(e,w[c+2|0])|0)+127>>>8;t[c+1|0]=(B(d,h)+B(e,w[c+1|0])|0)+127>>>8;t[c|0]=(B(d,j)+B(e,w[c|0])|0)+127>>>8}b=b+4|0;d=v[a+584>>2];c=(d<<2)+c|0;f=d+f|0;if((f|0)>2]){continue}break}}c=v[a+680>>2]+v[a+572>>2]|0;f=v[a+664>>2];b=v[a+556>>2];d=v[a+672>>2];g:{if((d|0)>=v[a+552>>2]){if(b){break g}b=0}v[a+552>>2]=d}i=b;b=v[a+676>>2];if((i|0)<(b|0)){v[a+556>>2]=b}b=v[a+564>>2];c=c-f|0;h:{if((c|0)>=v[a+560>>2]){if(b){break h}b=0}v[a+560>>2]=c}if((b|0)<=(c|0)){v[a+564>>2]=c+1}return 0}function h8(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=C(0),l=C(0),m=0;d=Ma-144|0;Ma=d;e=v[a+584>>2];hx(a,1,0);a:{b:{if(e){if(v[e+16>>2]){break b}v[e+36>>2]=1;v[e+40>>2]=0;b=gb(40);v[b>>2]=0;b=be(e+624|0,1,b,4);i=P()|0;c:{while(1){if(g){break c}v[296803]=0;U(43,e|0);g=v[296803];v[296803]=0;c=-1;d:{if(!g){break d}h=v[296804];if(!h){break d}c=pb(v[g>>2],b,i);if(!c){$a(b);tc(g,h);L()}Q(h|0)}g=P()|0;if((c|0)==1){continue}break}f=1}$a(b);e:{if(!f){break e}b=x[a+90>>1];u[e+832>>1]=b;f:{g:{switch(b-3|0){case 3:u[e+834>>1]=x[a+204>>1];u[e+836>>1]=x[a+206>>1];v[d+80>>2]=d+140;if(Mc(a,532,d+80|0)){break f}b=x[a+84>>1];v[d+112>>2]=0;b=1<>2]=k;l=C(b>>1);z[d+128>>2]=l;z[d+124>>2]=k;z[d+120>>2]=l;z[d+116>>2]=k;v[d+64>>2]=d+112;Kc(a,532,d- -64|0);break f;case 0:case 1:a=v[a+628>>2];v[d+96>>2]=b;wb(a,88112,49139,d+96|0);break e;default:break g}}u[e+834>>1]=1;u[e+836>>1]=1}b=x[a+84>>1];if((b|0)!=8){a=v[a+628>>2];v[d+48>>2]=b;wb(a,88112,49583,d+48|0);break e}v[e+72>>2]=8;h:{if(w[a+13|0]&4){b=x[e+836>>1]<<3;if(y[a+72>>2]%(b>>>0)|0){a=v[a+628>>2];v[d+32>>2]=b;wb(a,88112,49893,d+32|0);break e}b=x[e+834>>1]<<3;if(!(y[a+68>>2]%(b>>>0)|0)){break h}a=v[a+628>>2];v[d+16>>2]=b;wb(a,88112,50473,d+16|0);break e}b=v[a+100>>2];if(b>>>0>=y[a+60>>2]){break h}j=b;b=x[e+836>>1]<<3;if(!((j>>>0)%(b>>>0)|0)){break h}a=v[a+628>>2];v[d>>2]=b;wb(a,88112,51081,d);break e}i:{if(w[e+928|0]&3){b=v[e+912>>2];if(w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24)|(w[b+4|0]|w[b+5|0]<<8|(w[b+6|0]<<16|w[b+7|0]<<24))?b:0){break i}b=v[a+584>>2];hx(a,0,0);if(!JM(b,v[b+920>>2])){break e}c=0;i=0;f=gb(40);v[f>>2]=0;g=be(b+624|0,1,f,4);j=P()|0;j:{while(1){if(c){break j}v[296803]=0;AI(b,1);h=v[296803];v[296803]=0;f=-1;k:{if(!h){break k}c=v[296804];if(!c){break k}f=pb(v[h>>2],g,j);if(!f){break a}Q(c|0)}c=P()|0;if((f|0)==1){continue}break}i=1}$a(g);if(!i){break e}c=v[b+928>>2];l:{if(!(c&1)){break l}f=v[b+88>>2];if(f){v[f+128>>2]=0}if(x[b+832>>1]!=6){break l}f=v[b+92>>2];if(!f){break l}v[f+128>>2]=0}m:{if(!(c&2)){break m}c=v[b+120>>2];if(c){v[c+276>>2]=0}c=v[b+136>>2];if(c){v[c+276>>2]=0}if(x[b+832>>1]!=6){break m}c=v[b+124>>2];if(c){v[c+276>>2]=0}c=v[b+140>>2];if(!c){break m}v[c+276>>2]=0}c=v[b+912>>2];if(c){$a(c)}v[b+916>>2]=1e3;c=gb(1e3);v[b+912>>2]=c;if(!c){v[b+916>>2]=0;wb(v[v[b+828>>2]+628>>2],51766,52160,0);break e}v[b+796>>2]=537;v[b+792>>2]=538;v[b+788>>2]=539;v[b+24>>2]=b+780;c=0;i=0;f=gb(40);v[f>>2]=0;g=be(b+624|0,1,f,4);j=P()|0;n:{while(1){if(c){break n}v[296803]=0;U(545,b|0);h=v[296803];v[296803]=0;f=-1;o:{if(!h){break o}c=v[296804];if(!c){break o}f=pb(v[h>>2],g,j);if(!f){break a}Q(c|0)}c=P()|0;if((f|0)==1){continue}break}i=1}$a(g);if(!i){break e}v[a+12>>2]=v[a+12>>2]|8;v[a+48>>2]=v[a+48>>2]|4;break i}v[a+48>>2]=v[a+48>>2]&-5}v[e+796>>2]=540;v[e+792>>2]=541;v[e+788>>2]=542;v[e+24>>2]=e+780;m=1}Ma=d+144|0;return m|0}O(29012,7121,1172,88112);L()}O(48344,7121,1173,88112);L()}$a(g);tc(h,c);L()}function BR(a,b,c){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,p=0;f=v[a>>2];m=a;e=w[a+8|0];a:{b:{if(!e){i=c?x[c+8>>1]:0;d=w[a+9|0];if(d>>>0<=7){c:{d:{switch(d-1|0){case 0:i=B(i&1,255);if(!f){break c}e=b+f|0;d=0-f&7;h=f-1|0;g=(h>>>3|0)+b|0;if(h){h=f&-2;while(1){t[e-1|0]=w[g|0]>>>d&1?-1:0;e=e-2|0;j=g;g=(d|0)==7;j=j-g|0;d=g?0:d+1|0;t[e|0]=w[j|0]>>>d&1?-1:0;g=(d|0)==7;d=g?0:d+1|0;g=j-g|0;h=h-2|0;if(h){continue}break}}if(!(f&1)){break c}t[e-1|0]=w[g|0]>>>d&1?-1:0;break c;case 1:i=B(i&3,85);if(!f){break c}e=b+f|0;h=f-1|0;g=(h>>>2|0)+b|0;d=((f<<1)+6^-1)&6;if(h){h=f&-2;while(1){t[e-1|0]=B(w[g|0]>>>d&3,85);e=e-2|0;j=g;g=(d|0)==6;j=j-g|0;d=g?0:d+2|0;t[e|0]=B(w[j|0]>>>d&3,85);g=(d|0)==6;d=g?0:d+2|0;g=j-g|0;h=h-2|0;if(h){continue}break}}if(!(f&1)){break c}t[e-1|0]=B(w[g|0]>>>d&3,85);break c;case 3:break d;default:break c}}i=B(i&15,17);if(!f){break c}e=b+f|0;d=f<<2&4;h=f-1|0;g=(h>>>1|0)+b|0;if(h){h=f&-2;while(1){t[e-1|0]=B(w[g|0]>>>d&15,17);e=e-2|0;j=(d|0)==4;g=g-j|0;d=(d|0)!=4;t[e|0]=B(w[g|0]>>>(d<<2)&15,17);g=g-d|0;d=j<<2;h=h-2|0;if(h){continue}break}}if(!(f&1)){break c}t[e-1|0]=B(w[g|0]>>>d&15,17)}t[a+11|0]=8;t[a+9|0]=8;v[a+4>>2]=f;d=8}if(!c){break a}e:{f:{switch(d-8|0){case 0:if(!f){break e}e=b+f|0;d=(f<<1)+b|0;if((f|0)!=1){c=f&-2;while(1){b=e-1|0;t[d-1|0]=w[b|0]!=(i|0)?-1:0;t[d-2|0]=w[b|0];e=e-2|0;t[d-3|0]=w[e|0]!=(i|0)?-1:0;d=d-4|0;t[d|0]=w[e|0];c=c-2|0;if(c){continue}break}}if(!(f&1)){break e}b=e-1|0;t[d-1|0]=w[b|0]!=(i|0)?-1:0;t[d-2|0]=w[b|0];break e;case 8:break f;default:break e}}if(!f){break e}g=(i&65280)>>>8|0;c=v[a+4>>2];e=c+b|0;d=(c<<1)+b|0;b=0;h=i&255;while(1){i=e-1|0;j=d-1|0;e=e-2|0;g:{if((g|0)==w[e|0]){c=0;if((h|0)==w[i|0]){break g}}c=255}t[j|0]=c;t[d-2|0]=c;t[d-3|0]=w[i|0];d=d-4|0;t[d|0]=w[e|0];b=b+1|0;if((f|0)!=(b|0)){continue}break}}t[a+10|0]=2;t[a+8|0]=4;b=a;a=w[a+9|0]<<1;t[b+11|0]=a;a=a&254;if(a>>>0>=8){a=B(a>>>3|0,f);break b}a=B(a,f)+7>>>3|0;break b}if(!c|(e|0)!=2){break a}h:{i:{switch(w[a+9|0]-8|0){case 0:if(!f){break h}e=v[a+4>>2]+b|0;d=(f<<2)+b|0;g=x[c+2>>1]&255;j=x[c+4>>1]&255;k=x[c+6>>1]&255;while(1){c=e-1|0;l=d-1|0;b=e-3|0;j:{if(!((g|0)!=w[b|0]|(j|0)!=w[e-2|0])){i=0;if((k|0)==w[c|0]){break j}}i=255}t[l|0]=i;t[d-2|0]=w[c|0];t[d-3|0]=w[e-2|0];d=d-4|0;t[d|0]=w[b|0];e=b;h=h+1|0;if((h|0)!=(f|0)){continue}break};break h;case 8:break i;default:break h}}if(!f){break h}h=x[c+6>>1];j=h>>>8|0;k=x[c+4>>1];l=k>>>8|0;c=x[c+2>>1];n=c>>>8|0;e=v[a+4>>2]+b|0;d=(f<<3)+b|0;b=0;o=c&255;while(1){g=e-1|0;p=d-1|0;c=e-6|0;k:{l:{if(w[c|0]!=(n|0)|w[e-5|0]!=(o|0)|(w[e-4|0]!=(l|0)|w[e-3|0]!=(k&255))){break l}if((j|0)!=w[e-2|0]){break l}i=0;if(w[g|0]==(h&255)){break k}}i=255}t[p|0]=i;t[d-2|0]=i;t[d-3|0]=w[g|0];t[d-4|0]=w[e-2|0];t[d-5|0]=w[e-3|0];t[d-6|0]=w[e-4|0];t[d-7|0]=w[e-5|0];d=d-8|0;t[d|0]=w[c|0];e=c;b=b+1|0;if((f|0)!=(b|0)){continue}break}}t[a+10|0]=4;t[a+8|0]=6;b=a;a=w[a+9|0]<<2;t[b+11|0]=a;a=a&252;if(a>>>0>=8){a=B(a>>>3|0,f);break b}a=B(a,f)+7>>>3|0}v[m+4>>2]=a}}function qFa(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;j=Ma-16|0;Ma=j;v[j+8>>2]=c;v[j+12>>2]=a;c=eb(c,0,652);e=w[b+8|0];t[c+188|0]=e;a:{if(!e){break a}g=e&3;if(e-1>>>0>=3){e=e&252;h=c+192|0;i=b+12|0;while(1){v[h+(d<<2)>>2]=u[i+(d<<1)>>1];f=d|1;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];f=d|2;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];f=d|3;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];d=d+4|0;e=e-4|0;if(e){continue}break}}if(!g){break a}while(1){v[(c+(d<<2)|0)+192>>2]=u[((d<<1)+b|0)+12>>1];d=d+1|0;g=g-1|0;if(g){continue}break}}e=w[b+9|0];t[c+189|0]=e;b:{if(!e){break b}g=e&3;d=0;if(e-1>>>0>=3){e=e&252;h=c+248|0;i=b+40|0;while(1){v[h+(d<<2)>>2]=u[i+(d<<1)>>1];f=d|1;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];f=d|2;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];f=d|3;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];d=d+4|0;e=e-4|0;if(e){continue}break}}if(!g){break b}while(1){v[(c+(d<<2)|0)+248>>2]=u[((d<<1)+b|0)+40>>1];d=d+1|0;g=g-1|0;if(g){continue}break}}e=w[b+10|0];t[c+190|0]=e;c:{if(!e){break c}g=e&3;d=0;if(e-1>>>0>=3){e=e&252;h=c+288|0;i=b+60|0;while(1){v[h+(d<<2)>>2]=u[i+(d<<1)>>1];f=d|1;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];f=d|2;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];f=d|3;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];d=d+4|0;e=e-4|0;if(e){continue}break}}if(!g){break c}while(1){v[(c+(d<<2)|0)+288>>2]=u[((d<<1)+b|0)+60>>1];d=d+1|0;g=g-1|0;if(g){continue}break}}e=w[b+11|0];t[c+191|0]=e;d:{if(!e){break d}g=e&3;d=0;if(e-1>>>0>=3){e=e&252;h=c+344|0;i=b+88|0;while(1){v[h+(d<<2)>>2]=u[i+(d<<1)>>1];f=d|1;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];f=d|2;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];f=d|3;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];d=d+4|0;e=e-4|0;if(e){continue}break}}if(!g){break d}while(1){v[(c+(d<<2)|0)+344>>2]=u[((d<<1)+b|0)+88>>1];d=d+1|0;g=g-1|0;if(g){continue}break}}v[c+384>>2]=v[b+108>>2];v[c+388>>2]=v[b+112>>2];v[c+392>>2]=v[b+116>>2];v[c+396>>2]=x[b+120>>1];v[c+400>>2]=x[b+122>>1];e=w[b+124|0];t[c+404|0]=e;e:{if(!e){break e}g=e&3;d=0;if(e-1>>>0>=3){e=e&252;h=c+408|0;i=b+128|0;while(1){v[h+(d<<2)>>2]=u[i+(d<<1)>>1];f=d|1;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];f=d|2;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];f=d|3;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];d=d+4|0;e=e-4|0;if(e){continue}break}}if(!g){break e}while(1){v[(c+(d<<2)|0)+408>>2]=u[((d<<1)+b|0)+128>>1];d=d+1|0;g=g-1|0;if(g){continue}break}}e=w[b+125|0];t[c+405|0]=e;f:{if(!e){break f}g=e&3;d=0;if(e-1>>>0>=3){e=e&252;h=c+460|0;i=b+154|0;while(1){v[h+(d<<2)>>2]=u[i+(d<<1)>>1];f=d|1;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];f=d|2;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];f=d|3;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];d=d+4|0;e=e-4|0;if(e){continue}break}}if(!g){break f}while(1){v[(c+(d<<2)|0)+460>>2]=u[((d<<1)+b|0)+154>>1];d=d+1|0;g=g-1|0;if(g){continue}break}}t[c+512|0]=w[b+126|0];v[c+520>>2]=v[b+4>>2];v[c+524>>2]=v[b+184>>2];b=v[b+180>>2];v[c+552>>2]=c;v[c+528>>2]=b;g:{h:{a=v[a+128>>2];d=v[a+60>>2];if((d|0)==-1){break h}v[c+648>>2]=d;if(!d){break h}while(1){b=d<<13^d;b=b>>>17^b;d=b<<5^b;if((d|0)<0){continue}break}v[a+60>>2]=d;break g}a=j+4^(j+8^j+12);a=a>>>10^a^a>>>20;v[c+648>>2]=a?a:29572}Ma=j+16|0}function bX(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=Ma-48|0;Ma=h;f=v[a+248>>2];a:{if((f|0)>=41){g=89;if(!(w[a+362|0]&8)|(f|0)>1024){break a}}if(d){v[d>>2]=0}if(!b){g=1;break a}i=yl(b);b:{if(!b|(i|0)<1){break b}f=DH();if(!f){break b}c:{d:{if(!b|(i|0)<1){break d}g=IH(0);if(!g){break d}v[g+8>>2]=0;v[g+4>>2]=2674;v[g>>2]=b;e=g;j=e;if(!ij(v[e+16>>2],b,i)){break c}Qa[v[256556]](g)}j=0}e=j;if(!e){fj(f);e=0;break b}b=FH(f);if(!b){um(e);fj(f);e=0;break b}v[b>>2]=e;v[b+4>>2]=0;kY(v[e+16>>2],b);e:{f:{g=v[f+40>>2];e=v[f+44>>2];g:{if((g|0)<(e|0)){e=v[f+48>>2];break g}v[f+44>>2]=e<<1;e=Qa[v[256557]](v[f+48>>2],e<<3)|0;v[f+48>>2]=e;if(!e){break f}g=v[f+40>>2]}v[(g<<2)+e>>2]=b;v[f+40>>2]=g+1;v[f+36>>2]=b;break e}Yc(f,0);Vh(b);v[f+44>>2]=v[f+44>>2]/2}e=f}if(!e){g=27;break a}h:{if(c){v[e+4>>2]=c;break h}v[e+4>>2]=e}b=v[e+296>>2];if(b){ln(b)}b=v[a+296>>2];v[e+296>>2]=b;m=e,n=Zc(b,258604,3),v[m+312>>2]=n;m=e,n=Zc(v[e+296>>2],235503,5),v[m+316>>2]=n;m=e,n=Zc(v[e+296>>2],285713,36),v[m+320>>2]=n;if(v[a+328>>2]>=1){b=0;while(1){c=v[a+336>>2];f=b<<2;zv(e,v[c+f>>2],v[c+(f|4)>>2]);b=b+2|0;if((b|0)>2]){continue}break}}f=v[e>>2];v[e>>2]=v[a>>2];Av(e);v[e+16>>2]=v[a+16>>2];v[e+360>>2]=v[a+360>>2];v[e+272>>2]=v[a+272>>2];b=v[a+8>>2];i:{if(!b){b=Go(326168);if(!b){v[e+296>>2]=0;v[e>>2]=f;fj(e);g=1;break a}v[b+92>>2]=64;c=v[e+296>>2];v[b+80>>2]=c;RH(c);v[e+8>>2]=b;c=b;break i}v[e+8>>2]=b;k=v[b+16>>2];l=v[b+12>>2];c=0}g=Zz(b,227565);j:{if(!g){v[e+296>>2]=0;v[e>>2]=f;fj(e);g=1;if(c){break j}break a}b=v[e+8>>2];v[b+12>>2]=0;v[b+16>>2]=0;Df(b,g);Dv(e,v[v[e+8>>2]+12>>2]);v[e+172>>2]=7;b=v[a+248>>2];v[e+104>>2]=0;v[e+248>>2]=b+1;b=v[a+276>>2];v[e+276>>2]=b;if(v[a+16>>2]?1:v[a+104>>2]){v[e+276>>2]=b|8}v[e+364>>2]=v[a+364>>2];v[e+348>>2]=v[a+348>>2];v[e+352>>2]=v[a+352>>2];Iz(e);b=v[v[e+36>>2]+16>>2];g=w[b|0];k:{if(!g){break k}l:{if(!((g|0)!=60|w[b+1|0]!=47)){if(v[e+172>>2]==-1?v[e+212>>2]:0){break k}v[e+84>>2]=85;v[h+32>>2]=291628;nb(0,0,0,e,0,1,85,3,0,0,0,0,340716,h+32|0);v[e+12>>2]=0;if(v[e+288>>2]){break k}b=e+212|0;break l}if(v[e+172>>2]==-1?v[e+212>>2]:0){break k}v[e+84>>2]=86;v[h+16>>2]=262240;nb(0,0,0,e,0,1,86,3,0,0,0,0,340716,h+16|0);v[e+12>>2]=0;if(v[e+288>>2]){break k}b=e+212|0}v[b>>2]=1}m:{if(v[e+52>>2]==v[v[e+8>>2]+12>>2]|(v[e+172>>2]==-1?v[e+212>>2]:0)){break m}v[e+84>>2]=85;v[h>>2]=291628;nb(0,0,0,e,0,1,85,3,0,0,0,0,340716,h);v[e+12>>2]=0;if(v[e+288>>2]){break m}v[e+212>>2]=1}n:{o:{p:{q:{if(!v[e+12>>2]){b=v[e+84>>2];g=b?b:1;break q}if(!d){g=0;break q}b=v[v[v[e+8>>2]+12>>2]+12>>2];v[d>>2]=b;if(b){while(1){v[b+20>>2]=0;b=v[b+24>>2];if(b){continue}break}}g=0;b=v[v[e+8>>2]+12>>2];v[b+12>>2]=0;break p}b=v[e+8>>2];if(!b){break o}b=v[b+12>>2]}Ck(b);b=v[e+8>>2];v[b+16>>2]=k;v[b+12>>2]=l;if(!a){break n}}v[a+440>>2]=v[a+440>>2]+v[e+440>>2]}if(v[e+388>>2]){OH(e+384|0,a+384|0)}v[e+348>>2]=0;v[e+352>>2]=0;v[e+296>>2]=0;v[e>>2]=f;fj(e);if(!c){break a}}wq(c)}Ma=h+48|0;return g}function x3(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;b=Ma-256|0;Ma=b;a:{if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,v[249419]);break a}u[a+25204>>1]=18761;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+252|0,4,1)|0;v[b+176>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+176|0,1,4)|0;c=w[b+176|0];if(x[a+25204>>1]==18761){c=c|w[b+177|0]<<8|w[b+178|0]<<16|w[b+179|0]<<24}else{c=w[b+179|0]|(w[b+177|0]<<16|c<<24|w[b+178|0]<<8)}d=(Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0)+c|0;e=w[b+252|0]|w[b+253|0]<<8|(w[b+254|0]<<16|w[b+255|0]<<24);if(!((e|0)!=1179011410&(e|0)!=1414744396)){v[b+176>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+176|0,1,4)|0;if((d|0)<=((Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0)+7|0)){break a}while(1){x3(a);if((d|0)>((Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0)+7|0)){continue}break}break a}if((w[b+252|0]|w[b+253|0]<<8|(w[b+254|0]<<16|w[b+255|0]<<24))==1735680878){if((d|0)<=((Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0)+7|0)){break a}e=b+176|4;g=b+184|0;h=b+188|0;i=b+192|0;j=b+196|0;while(1){u[b+176>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+176|0,1,2)|0;c=w[b+176|0];if(x[a+25204>>1]==18761){c=c|w[b+177|0]<<8}else{c=w[b+177|0]|c<<8}u[b+176>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+176|0,1,2)|0;f=c&65535;c=w[b+176|0];f=(f+1&131070)!=20;if(x[a+25204>>1]==18761){c=c|w[b+177|0]<<8}else{c=w[b+177|0]|c<<8}b:{if(!(f|(c&65535)!=20)){t[b+131|0]=0;c=b+112|0;Qa[v[v[a>>2]>>2]](v[a+4>>2],c,19,1)|0;v[b+216>>2]=0;v[b+208>>2]=0;v[b+212>>2]=0;v[b+200>>2]=0;v[b+204>>2]=0;v[b+192>>2]=0;v[b+196>>2]=0;v[b+184>>2]=0;v[b+188>>2]=0;v[b+16>>2]=e;v[b+176>>2]=0;v[b+180>>2]=0;v[b>>2]=j;v[b+4>>2]=i;v[b+8>>2]=h;v[b+12>>2]=g;v[b+20>>2]=b+176;if((df(c,64727,b)|0)!=6){break b}v[b+196>>2]=v[b+196>>2]-1900;v[b+192>>2]=v[b+192>>2]-1;if((Z(b+176|0)|0)<1){break b}k=a,l=Z(b+176|0)|0,v[k+26016>>2]=l;break b}Qa[v[v[a>>2]+8>>2]](v[a+4>>2],c&65535,1)|0}if((d|0)>((Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0)+7|0)){continue}break}break a}d=v[a>>2];c:{d:{if(!((w[b+252|0]|w[b+253|0]<<8|(w[b+254|0]<<16|w[b+255|0]<<24))!=1414087753|c>>>0>63)){e=b+176|0;Qa[v[d>>2]](v[a+4>>2],e,64,1)|0;d=0;t[c+e|0]=0;c=b+72|0;v[c>>2]=0;v[c+4>>2]=0;v[b+80>>2]=0;v[b+84>>2]=0;v[b+88>>2]=0;v[b+92>>2]=0;v[b+96>>2]=0;v[b+100>>2]=0;v[b+104>>2]=0;v[b+52>>2]=b+84;v[b+64>>2]=0;v[b+68>>2]=0;v[b+36>>2]=b+76;v[b+40>>2]=c;c=b- -64|0;v[b+44>>2]=c|4;v[b+48>>2]=c;v[b+32>>2]=b+112;if((df(e,81048,b+32|0)|0)!=6){break a}if(!Ii(199456,b+112|0)){break c}if(Ii(199460,b+112|0)){break d}d=1;break c}Qa[v[d+8>>2]](v[a+4>>2],c,1)|0;break a}if(!Ii(199464,b+112|0)){d=2;break c}if(!Ii(199468,b+112|0)){d=3;break c}if(!Ii(199472,b+112|0)){d=4;break c}if(!Ii(199476,b+112|0)){d=5;break c}if(!Ii(199480,b+112|0)){d=6;break c}if(!Ii(199484,b+112|0)){d=7;break c}if(!Ii(199488,b+112|0)){d=8;break c}if(!Ii(199492,b+112|0)){d=9;break c}if(!Ii(199496,b+112|0)){d=10;break c}d=Ii(199500,b+112|0)?12:11}v[b+80>>2]=d;v[b+84>>2]=v[b+84>>2]-1900;if((Z(b- -64|0)|0)<1){break a}k=a,l=Z(b- -64|0)|0,v[k+26016>>2]=l}Ma=b+256|0}function WWa(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;a:{if(!(w[a+285|0]|w[a+286|0]|(w[a+287|0]|w[a+288|0]))){f=1029;break a}f=1029;if(w[a+300|0]|w[a+289|0]){break a}if(!(w[a+287|0]|!w[a+293|0])){f=1031;break a}f=1028;if((c>>>0)%3|c>>>0>768){break a}b:{c:{d:{e:{f:{g:{g=w[a+286|0];if(w[a+288|0]?1:g|w[a+287|0]){f=1030;h=w[a+325|0];if(h>>>0>6|!(1<>>0)/3|0;v[a+332>>2]=h;if(w[a+288|0]){break d}v[a+1160>>2]=h;i:{if(f>>>0<3){break i}g=0;f=d;if((c-3&65535)>>>0>=3){i=h&32766;j=a+1164|0;while(1){l=j+B(g,3)|0;t[l|0]=w[f|0];t[l+1|0]=w[f+1|0];t[l+2|0]=w[f+2|0];l=j+B(g|1,3)|0;t[l|0]=w[f+3|0];t[l+1|0]=w[f+4|0];t[l+2|0]=w[f+5|0];g=g+2|0;f=f+6|0;i=i-2|0;if(i){continue}break}}if(!(h&1)){break i}g=B(g,3)+a|0;t[g+1164|0]=w[f|0];t[g+1165|0]=w[f+1|0];t[g+1166|0]=w[f+2|0]}g=0;j:{if(!w[a+114|0]){break j}i=a+1164|0;f=Qa[v[a+152>>2]](800)|0;if(!f){ob(a,1,0,0);g=1;break j}v[f+4>>2]=697;v[f>>2]=698;g=v[a+700>>2];k:{if(g){v[g+8>>2]=f;break k}v[a+696>>2]=f}v[f+8>>2]=0;v[f+12>>2]=g;v[a+700>>2]=f;v[f+16>>2]=v[a+436>>2];v[f+20>>2]=v[a+440>>2];v[f+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=f}v[f+28>>2]=h;cb(f+32|0,i,768);g=0}if(!g){break c}break b}t[a+293|0]=1;h=((c&65535)>>>0)/3|0;v[a+332>>2]=h}if(w[a+288|0]){j=v[v[a+528>>2]+88>>2];v[j+64>>2]=h;t[j+55|0]=1;if(!h){h=0;break c}g=0;f=d;if((h|0)!=1){i=h&32766;l=j+68|0;while(1){k=l+B(g,3)|0;t[k|0]=w[f|0];t[k+1|0]=w[f+1|0];t[k+2|0]=w[f+2|0];k=l+B(g|1,3)|0;t[k|0]=w[f+3|0];t[k+1|0]=w[f+4|0];t[k+2|0]=w[f+5|0];g=g+2|0;f=f+6|0;i=i-2|0;if(i){continue}break}}if(!(h&1)){break c}g=j+B(g,3)|0;t[g+68|0]=w[f|0];t[g+69|0]=w[f+1|0];t[g+70|0]=w[f+2|0];break c}f=v[a+512>>2];if(!f){f=v[a+528>>2]}j=v[f+88>>2];t[j+55|0]=1;if(!c){i=v[a+1160>>2];v[j+64>>2]=i;cb(j+68|0,a+1164|0,768);if(!w[a+307|0]){break c}t[j+56|0]=1;f=1035;g=v[a+1932>>2];if(!g|g>>>0>i>>>0){break a}v[j+844>>2]=g;cb(j+848|0,a+1936|0,g);break c}v[j+64>>2]=h;if(!h){h=0;break c}g=0;f=d;if((h|0)!=1){i=h&32766;l=j+68|0;while(1){k=l+B(g,3)|0;t[k|0]=w[f|0];t[k+1|0]=w[f+1|0];t[k+2|0]=w[f+2|0];k=l+B(g|1,3)|0;t[k|0]=w[f+3|0];t[k+1|0]=w[f+4|0];t[k+2|0]=w[f+5|0];g=g+2|0;f=f+6|0;i=i-2|0;if(i){continue}break}}if(!(h&1)){break c}g=j+B(g,3)|0;t[g+68|0]=w[f|0];t[g+69|0]=w[f+1|0];t[g+70|0]=w[f+2|0]}g=0;if(!w[a+112|0]){break b}g=Qa[v[b+4>>2]](a,b,e)|0;if(g){break b}b=v[e>>2];v[b+36>>2]=h;t[b+32|0]=!c;g=0;if(!h){break b}i=h&1;l:{if((h|0)==1){a=0;break l}c=h&32766;a=0;e=b+40|0;while(1){f=e+B(a,3)|0;t[f|0]=w[d|0];t[f+1|0]=w[d+1|0];t[f+2|0]=w[d+2|0];f=e+B(a|1,3)|0;t[f|0]=w[d+3|0];t[f+1|0]=w[d+4|0];t[f+2|0]=w[d+5|0];a=a+2|0;d=d+6|0;c=c-2|0;if(c){continue}break}}if(!i){break b}a=b+B(a,3)|0;t[a+40|0]=w[d|0];t[a+41|0]=w[d+1|0];t[a+42|0]=w[d+2|0]}return g|0}ob(a,f,0,0);return f|0}function zZ(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;j=Ma-16|0;Ma=j;g=v[a+72>>2];m=v[a+64>>2];i=v[a+68>>2];a:{if(!c){break a}b:{c:{d:{e:{f:{g:{switch(v[a>>2]){case 0:if(Mb(v[a+164>>2],2)){break f}if((tJ(v[a+164>>2],j+12|0,1)|0)!=1){break f}e=w[j+12|0];v[a+44>>2]=e&128;k=e&31;v[a+40>>2]=k;f=1<>2]=f-256;if(k>>>0>16){break f}v[a+52>>2]=9;v[a+56>>2]=e>>>7;v[a+60>>2]=k>>>0>9?256:f-255|0;g=0;f=JI(a);if(f>>>0>255){break f}if(b){t[b|0]=f}if(c>>>0<2){break e}k=1;v[a>>2]=1;i=f;m=f;break;case 2:break d;case 1:break g;default:break a}}e=0;break c}f=0;break b}e=1;i=f;m=f;break a}e=1}while(1){h:{if(!e){e=JI(a);f=k;if((e|0)<0){break b}i:{j:{k:{while(1){if((e|0)!=256){break k}if(!v[a+44>>2]){break j}t[a+32|0]=1;m=0;v[a+56>>2]=0;i=0;e=JI(a);if((e|0)>=0){continue}break}f=k;break b}f=e;if(e>>>0<256){break i}}f=e;d=e-256|0;g=v[a+56>>2];if(d>>>0>=g>>>0){if(d>>>0>g>>>0){break h}d=v[a+92>>2];g=v[a+96>>2];l:{if(d>>>0>>0){g=v[a+88>>2];break l}f=((g>>>1|0)+g|0)+4|0;l=v[a+168>>2];m:{n:{h=v[a+88>>2];if((h|0)!=(a+100|0)){d=65536;if(f>>>0>65536){break n}d=f;break m}h=0;v[a+88>>2]=0;d=f>>>0<65536?f:65536;g=0;break m}if((g|0)==65536){break h}}g=yb(l,1,g,d,h,j+12|0);v[a+88>>2]=g;if(v[j+12>>2]){break h}v[a+96>>2]=d;d=v[a+92>>2]}v[a+92>>2]=d+1;t[d+g|0]=i;f=m;if(f>>>0<256){break i}}l=a+100|0;d=v[a+76>>2];while(1){if(!d){break h}d=v[a+92>>2];g=v[a+96>>2];o:{if(d>>>0>>0){g=v[a+88>>2];break o}d=((g>>>1|0)+g|0)+4|0;n=v[a+168>>2];h=v[a+88>>2];p:{if((l|0)!=(h|0)){if(d>>>0<=65536){break p}d=65536;if((g|0)==65536){break h}break p}h=0;v[a+88>>2]=0;d=d>>>0<65536?d:65536;g=0}g=yb(n,1,g,d,h,j+12|0);v[a+88>>2]=g;if(v[j+12>>2]){break h}v[a+96>>2]=d;d=v[a+92>>2]}f=f-256|0;h=w[f+v[a+80>>2]|0];v[a+92>>2]=d+1;t[d+g|0]=h;d=v[a+76>>2];f=x[d+(f<<1)>>1];if(f>>>0>255){continue}break}}d=v[a+92>>2];i=v[a+96>>2];q:{if(d>>>0>>0){i=v[a+88>>2];break q}g=((i>>>1|0)+i|0)+4|0;l=v[a+168>>2];r:{s:{t:{u:{h=v[a+88>>2];if((h|0)!=(a+100|0)){d=65536;if(g>>>0>65536){break u}d=g;break t}h=0;v[a+88>>2]=0;d=g>>>0<65536?g:65536;i=0;break t}if((i|0)==65536){break s}}i=yb(l,1,i,d,h,j+12|0);v[a+88>>2]=i;if(!v[j+12>>2]){break r}}i=f;break h}v[a+96>>2]=d;d=v[a+92>>2]}v[a+92>>2]=d+1;t[d+i|0]=f;v[a>>2]=2;i=f;g=e;d=k;e=1;continue}v:{if(b){while(1){e=v[a+92>>2];if(!e){break v}e=e-1|0;v[a+92>>2]=e;t[b+d|0]=w[e+v[a+88>>2]|0];d=d+1|0;if((d|0)!=(c|0)){continue}break}e=c;break a}e=v[a+92>>2];while(1){if(!e){break v}e=e-1|0;v[a+92>>2]=e;d=d+1|0;if((d|0)!=(c|0)){continue}break}e=c;break a}k=d;e=v[a+56>>2];if(e>>>0>2]){h=v[a+84>>2];if(h>>>0<=e>>>0){e=h?h+(h>>>2|0)|0:512;l=yb(v[a+168>>2],3,h,e,v[a+76>>2],j+12|0);v[a+76>>2]=l;f=k;if(v[j+12>>2]){break b}f=l+(e<<1)|0;v[a+80>>2]=f;id(f,l+(h<<1)|0,h);v[a+84>>2]=e;e=v[a+56>>2]}u[v[a+76>>2]+(e<<1)>>1]=m;t[v[a+80>>2]+e|0]=i;v[a+56>>2]=v[a+56>>2]+1}v[a>>2]=1;m=g;e=0;continue}break}g=e;f=k}e=f;v[a>>2]=3}v[a+72>>2]=g;v[a+68>>2]=i;v[a+64>>2]=m;Ma=j+16|0;return e}function mDa(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,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,z=0;m=v[a+332>>2];b=v[b+84>>2];g=B(v[b+64>>2],u[c+32>>1]);f=B(v[b+96>>2],u[c+48>>1]);i=B(v[b+32>>2],u[c+16>>1]);h=B(f+i|0,4433)+1024|0;a=Ma-128|0;j=B(v[b>>2],u[c>>1]);k=j+g<<2;i=h+B(i,6270)>>11;v[a+96>>2]=k-i;v[a>>2]=i+k;g=j-g<<2;h=h+B(f,-15137)>>11;v[a+64>>2]=g-h;v[a+32>>2]=g+h;h=B(v[b+100>>2],u[c+50>>1]);f=B(v[b+36>>2],u[c+18>>1]);g=B(h+f|0,4433)+1024|0;i=B(v[b+68>>2],u[c+34>>1]);j=B(v[b+4>>2],u[c+2>>1]);k=i+j<<2;f=g+B(f,6270)>>11;v[a+100>>2]=k-f;v[a+4>>2]=f+k;f=j-i<<2;g=g+B(h,-15137)>>11;v[a+68>>2]=f-g;v[a+36>>2]=f+g;h=B(v[b+104>>2],u[c+52>>1]);f=B(v[b+40>>2],u[c+20>>1]);g=B(h+f|0,4433)+1024|0;i=B(v[b+72>>2],u[c+36>>1]);j=B(v[b+8>>2],u[c+4>>1]);k=i+j<<2;f=g+B(f,6270)>>11;v[a+104>>2]=k-f;v[a+8>>2]=f+k;f=j-i<<2;g=g+B(h,-15137)>>11;v[a+72>>2]=f-g;v[a+40>>2]=f+g;h=B(v[b+108>>2],u[c+54>>1]);f=B(v[b+44>>2],u[c+22>>1]);g=B(h+f|0,4433)+1024|0;i=B(v[b+76>>2],u[c+38>>1]);j=B(v[b+12>>2],u[c+6>>1]);k=i+j<<2;f=g+B(f,6270)>>11;v[a+108>>2]=k-f;v[a+12>>2]=f+k;f=j-i<<2;g=g+B(h,-15137)>>11;v[a+76>>2]=f-g;v[a+44>>2]=f+g;h=B(v[b+112>>2],u[c+56>>1]);f=B(v[b+48>>2],u[c+24>>1]);g=B(h+f|0,4433)+1024|0;i=B(v[b+80>>2],u[c+40>>1]);j=B(v[b+16>>2],u[c+8>>1]);k=i+j<<2;f=g+B(f,6270)>>11;v[a+112>>2]=k-f;v[a+16>>2]=f+k;f=j-i<<2;g=g+B(h,-15137)>>11;v[a+80>>2]=f-g;v[a+48>>2]=f+g;h=B(v[b+116>>2],u[c+58>>1]);f=B(v[b+52>>2],u[c+26>>1]);g=B(h+f|0,4433)+1024|0;i=B(v[b+84>>2],u[c+42>>1]);j=B(v[b+20>>2],u[c+10>>1]);k=i+j<<2;f=g+B(f,6270)>>11;v[a+116>>2]=k-f;v[a+20>>2]=f+k;f=j-i<<2;g=g+B(h,-15137)>>11;v[a+84>>2]=f-g;v[a+52>>2]=f+g;h=B(v[b+120>>2],u[c+60>>1]);f=B(v[b+56>>2],u[c+28>>1]);g=B(h+f|0,4433)+1024|0;i=B(v[b+88>>2],u[c+44>>1]);j=B(v[b+24>>2],u[c+12>>1]);k=i+j<<2;f=g+B(f,6270)>>11;v[a+120>>2]=k-f;v[a+24>>2]=f+k;f=j-i<<2;g=g+B(h,-15137)>>11;v[a+88>>2]=f-g;v[a+56>>2]=f+g;h=B(v[b+124>>2],u[c+62>>1]);f=B(v[b+60>>2],u[c+30>>1]);g=B(h+f|0,4433)+1024|0;i=B(v[b+92>>2],u[c+46>>1]);b=B(v[b+28>>2],u[c+14>>1]);c=i+b<<2;f=g+B(f,6270)>>11;v[a+124>>2]=c-f;v[a+28>>2]=c+f;b=b-i<<2;c=g+B(h,-15137)>>11;v[a+92>>2]=b-c;v[a+60>>2]=b+c;b=m+128|0;g=0;c=a;while(1){h=v[c+4>>2];m=v[c+28>>2];f=B(h+m|0,-7373);i=v[c+20>>2];l=i+h|0;j=v[c+12>>2];n=j+m|0;k=B(l+n|0,9633);a=v[(g<<2)+d>>2]+e|0;o=v[c>>2]+16|0;p=v[c+16>>2];r=o+p<<13;s=v[c+24>>2];q=v[c+8>>2];x=B(s+q|0,4433);q=x+B(q,6270)|0;y=r+q|0;z=f+B(h,12299)|0;h=k+B(l,-3196)|0;l=z+h|0;t[a|0]=w[b+(y+l>>>18&1023)|0];t[a+7|0]=w[b+(y-l>>>18&1023)|0];k=k+B(n,-16069)|0;l=B(j,25172);j=B(i+j|0,-20995);l=k+(l+j|0)|0;n=o-p<<13;o=B(s,-15137)+x|0;p=n+o|0;t[a+1|0]=w[b+(l+p>>>18&1023)|0];t[a+6|0]=w[b+(p-l>>>18&1023)|0];h=h+(j+B(i,16819)|0)|0;i=n-o|0;t[a+2|0]=w[b+(h+i>>>18&1023)|0];t[a+5|0]=w[b+(i-h>>>18&1023)|0];h=k+(f+B(m,2446)|0)|0;m=r-q|0;t[a+3|0]=w[b+(h+m>>>18&1023)|0];t[a+4|0]=w[b+(m-h>>>18&1023)|0];c=c+32|0;g=g+1|0;if((g|0)!=4){continue}break}}function gB(a){var 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;if(!a){return 0}m=v[a+12>>2];d=m>>31;o=v[a+8>>2];c=o>>31;k=v[a+4>>2];b=k>>31;e=v[a>>2];a=e>>31;i=d^d+m;j=c^c+o;h=b^b+k;g=a^a+e;a=(g|0)>0?g:0;a=(a|0)<(h|0)?h:a;a=(a|0)<(j|0)?j:a;a=(a|0)<(i|0)?i:a;a:{b:{if((a|0)<23171){break b}c:{if(a>>>0<=65535){l=((a<<16|11584)>>>0)/23170|0;break c}l=2147483647;if(a>>>0>1518469119){break c}b=a<<16|11585;d=a>>>16|0;a=E(d);c=32-a|0;d=b>>>c|d<>>0)/23170|0;d=B(l,-23170)+d|0;a=b<>>31;d=(b>>>0<23170?0:-23170)+b|0;l=l<<1|b>>>0>23169;a=a<<1;c=c-1|0;if(c){continue}break}}a=l>>31;a=a+l^a;if(a){d=e?(g|0)!=2147483647?g:2147483647:2147483647;d=k?(d|0)>(h|0)?h:d:d;d=o?(d|0)>(j|0)?j:d:d;p=m?(d|0)>(i|0)?i:d:d;d=p>>31;q=a>>>17^65535;c=d^d+p;d:{if(q>>>0>=c>>>0){d=((c<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break d}d=2147483647;b=a>>>1|0;n=b+(c<<16)|0;c=(c>>>16|0)+(b>>>0>n>>>0)|0;if(c>>>0>=a>>>0){break d}r=E(c);f=32-r|0;c=n>>>f|c<>>0)/(a>>>0)|0;b=c-B(a,d)|0;c=n<>>31;b=n-(a>>>0>n>>>0?0:a)|0;d=d<<1|a>>>0<=n>>>0;c=c<<1;f=f-1|0;if(f){continue}break}}b=0;if(!((p|0)<0^(l|0)<0?0-d|0:d)){break a}e:{if(g>>>0<=q>>>0){d=((g<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break e}d=2147483647;b=a>>>1|0;c=b+(g<<16)|0;b=(g>>>16|0)+(c>>>0>>0)|0;if(b>>>0>=a>>>0){break e}g=E(b);f=32-g|0;b=c>>>f|b<>>0)/(a>>>0)|0;b=b-B(a,d)|0;c=c<>>31;b=g-(a>>>0>g>>>0?0:a)|0;d=d<<1|a>>>0<=g>>>0;c=c<<1;f=f-1|0;if(f){continue}break}}g=(l|0)<0;n=(e|0)<0;f:{if(h>>>0<=q>>>0){f=((h<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break f}f=2147483647;b=a>>>1|0;c=b+(h<<16)|0;e=(h>>>16|0)+(c>>>0>>0)|0;if(e>>>0>=a>>>0){break f}h=E(e);b=32-h|0;e=c>>>b|e<>>0)/(a>>>0)|0;e=e-B(a,f)|0;c=c<>>31;e=h-(a>>>0>h>>>0?0:a)|0;f=f<<1|a>>>0<=h>>>0;c=c<<1;b=b-1|0;if(b){continue}break}}h=g^n;g=0-d|0;n=(k|0)<0^(l|0)<0;p=0-f|0;g:{if(j>>>0<=q>>>0){b=((j<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break g}b=2147483647;e=a>>>1|0;c=e+(j<<16)|0;e=(j>>>16|0)+(c>>>0>>0)|0;if(e>>>0>=a>>>0){break g}j=E(e);k=32-j|0;e=c>>>k|e<>>0)/(a>>>0)|0;e=e-B(a,b)|0;c=c<>>31;e=j-(a>>>0>j>>>0?0:a)|0;b=b<<1|a>>>0<=j>>>0;c=c<<1;k=k-1|0;if(k){continue}break}}e=h?g:d;k=n?p:f;d=(l|0)<0;o=d^(o|0)<0?0-b|0:b;if(i>>>0<=q>>>0){a=((i<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;m=d^(m|0)<0?0-a|0:a;break b}d=2147483647;b=a>>>1|0;c=b+(i<<16)|0;b=(i>>>16|0)+(c>>>0>>0)|0;if(b>>>0>>0){i=E(b);f=32-i|0;b=c>>>f|b<>>0)/(a>>>0)|0;b=b-B(a,d)|0;c=c<>>31;b=i-(a>>>0>i>>>0?0:a)|0;d=d<<1|a>>>0<=i>>>0;c=c<<1;f=f-1|0;if(f){continue}break}}m=(m|0)<0^(l|0)<0?0-d|0:d;break b}a=(l|0)<0;m=a^(m|0)<0?-2147483647:2147483647;o=a^(o|0)<0?-2147483647:2147483647;k=a^(k|0)<0?-2147483647:2147483647;e=a^(e|0)<0?-2147483647:2147483647}a=B(e,m)-B(k,o)|0;b=0;if(!a){break a}b=a;a=a>>31;b=(((B(e,e)+B(k,k)|0)+B(o,o)|0)+B(m,m)>>>0)/((b+a^a)>>>0)>>>0<51}return b}function aB(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=Ma-16|0;Ma=j;e=cc(v[a+100>>2],(v[a+16>>2]<<1)+392|0,j+4|0);d=v[j+4>>2];if(!d){v[e>>2]=a;f=v[a+16>>2];v[e+388>>2]=c;g=e+392|0;v[e+8>>2]=g;v[e+4>>2]=f;v[e+368>>2]=0;v[e+372>>2]=0;c=0;u[e+364>>1]=0;v[e+376>>2]=0;v[e+380>>2]=0;v[e+384>>2]=0;m=v[a+92>>2];a:{if(!f){break a}d=f&7;if(f-1>>>0>=7){h=f&-8;while(1){f=c<<1;u[f+g>>1]=16383;u[(f|2)+g>>1]=16383;u[(f|4)+g>>1]=16383;u[(f|6)+g>>1]=16383;u[(f|8)+g>>1]=16383;u[(f|10)+g>>1]=16383;u[(f|12)+g>>1]=16383;u[(f|14)+g>>1]=16383;c=c+8|0;h=h-8|0;if(h){continue}break}}if(!d){break a}while(1){u[(c<<1)+g>>1]=16383;c=c+1|0;d=d-1|0;if(d){continue}break}}b:{if(lB(a)){break b}k=-1;d=427208;h=0;while(1){f=v[d+8>>2];i=v[(f<<2)+428992>>2];c=v[i+4>>2];c:{if(!c){break c}if(v[d+16>>2]==10){l=(f|0)==v[v[e+388>>2]+16>>2];d=v[c>>2];if(d){while(1){f=c;c=yi(a,d);v[j+12>>2]=c;d:{if(!c|c>>>0>=y[e+4>>2]){break d}c=(c<<1)+g|0;if((x[c>>1]&16383)!=16383){break d}u[c>>1]=h}d=kB(a,d,j+12|0);while(1){c=v[j+12>>2];if(!(!c|y[f+4>>2]>>0)){e:{if(c>>>0>=y[e+4>>2]){break e}c=(c<<1)+g|0;if((x[c>>1]&16383)!=16383){break e}u[c>>1]=h}d=kB(a,d,j+12|0);continue}break}c=f+8|0;d=v[f+8>>2];if(d){continue}break}}k=l?h:k;c=v[i+8>>2];d=v[c>>2];if(!d){break c}while(1){f=c;c=yi(a,d);v[j+8>>2]=c;f:{if(!c|c>>>0>=y[e+4>>2]){break f}c=(c<<1)+g|0;i=x[c>>1];if((i&16383)!=(h&65535)){break f}u[c>>1]=i|16384}d=kB(a,d,j+8|0);while(1){c=v[j+8>>2];if(!(!c|y[f+4>>2]>>0)){g:{if(c>>>0>=y[e+4>>2]){break g}c=(c<<1)+g|0;i=x[c>>1];if((i&16383)!=(h&65535)){break g}u[c>>1]=i|16384}d=kB(a,d,j+8|0);continue}break}c=f+8|0;d=v[f+8>>2];if(d){continue}break}}}h=h+1|0;d=v[(h<<2)+429248>>2];if((h|0)!=87){continue}break}d=0;while(1){d=d+1|0;if((d|0)!=87){continue}break}c=yi(a,48);if(!(!c|c>>>0>=y[e+4>>2])){c=(c<<1)+g|0;u[c>>1]=x[c>>1]|32768}c=yi(a,49);if(!(!c|c>>>0>=y[e+4>>2])){c=(c<<1)+g|0;u[c>>1]=x[c>>1]|32768}c=yi(a,50);if(!(!c|c>>>0>=y[e+4>>2])){c=(c<<1)+g|0;u[c>>1]=x[c>>1]|32768}c=yi(a,51);if(!(!c|c>>>0>=y[e+4>>2])){c=(c<<1)+g|0;u[c>>1]=x[c>>1]|32768}c=yi(a,52);if(!(!c|c>>>0>=y[e+4>>2])){c=(c<<1)+g|0;u[c>>1]=x[c>>1]|32768}c=yi(a,53);if(!(!c|c>>>0>=y[e+4>>2])){c=(c<<1)+g|0;u[c>>1]=x[c>>1]|32768}c=yi(a,54);if(!(!c|c>>>0>=y[e+4>>2])){c=(c<<1)+g|0;u[c>>1]=x[c>>1]|32768}c=yi(a,55);if(!(!c|c>>>0>=y[e+4>>2])){c=(c<<1)+g|0;u[c>>1]=x[c>>1]|32768}c=yi(a,56);if(!(!c|c>>>0>=y[e+4>>2])){c=(c<<1)+g|0;u[c>>1]=x[c>>1]|32768}c=yi(a,57);if(!c|c>>>0>=y[e+4>>2]){break b}c=(c<<1)+g|0;u[c>>1]=x[c>>1]|32768}f=v[v[e+388>>2]+12>>2];h:{if((f|0)==16383){break h}h=v[e+4>>2];if((h|0)<1){break h}d=0;if((h|0)!=1){c=h&-2;while(1){k=d<<1;i=k+g|0;l=x[i>>1];if((l&16383)==16383){u[i>>1]=f|l&49152}k=(k|2)+g|0;i=x[k>>1];if((i&16383)==16383){u[k>>1]=f|i&49152}d=d+2|0;c=c-2|0;if(c){continue}break}}if(!(h&1)){break h}c=(d<<1)+g|0;d=x[c>>1];if((d&16383)!=16383){break h}u[c>>1]=f|d&49152}Nq(a,m);v[e+12>>2]=0;d=0}v[b>>2]=e;Ma=j+16|0;return d}function GR(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=Ma-128|0;Ma=e;f=e+104|0;h=Qe(e+96|0,c);Rc(f,336555,h);ic(e+112|0,f,336810);db(f);db(h);a:{b:{c:{f=v[b>>2];if(!f){break c}g=f;f=v[e+112>>2];h=EQ(g,v[(f?f+12|0:1117e3)>>2],0);if((h|0)<0){break c}while(1){a=v[e+112>>2];if(a){a=v[a+8>>2]}else{a=0}f=a+h|0;g=f+1|0;a=v[b>>2];if(a){a=an(a,33,g)}else{a=-1}d:{if((a|0)<=(h|0)){break d}e:{j=a+1|0;c=j-g|0;if(!c){break e}f:{g:{if(f){i=v[b>>2];a=f;g=a;h:{if((a|0)>-1){break h}g=f;if(!i){break h}g=f+v[i+8>>2]|0}a=g;g=a;if(!i|(a|0)<0|v[i+8>>2]<(a|0)){break a}a=v[i+12>>2];break g}a=v[b>>2];if(!a){break f}g=0;a=v[a+12>>2]}if(t[a+g|0]<0){break e}}v[e+104>>2]=0;v[e+108>>2]=v[279250];a=e+88|0;We(a,b,f,c);Rc(e+96|0,336555,a);db(a);a=v[e+96>>2];if(!(!a|(c|0)>-1)){c=v[a+8>>2]+c|0}if(!a|(c|0)<0|v[a+8>>2]<(c|0)){break a}i:{j:{switch(t[v[a+12>>2]+c|0]-88|0){case 12:case 17:f=v[a+12>>2];a=e;c=v[d>>2];if(c){c=Qa[v[v[c>>2]+40>>2]](c)|0}else{c=0}v[a+16>>2]=c;Gd(e+104|0,f,e+16|0);break i;case 0:case 23:case 29:case 32:f=v[a+12>>2];a=e;c=v[d>>2];if(c){c=Qa[v[v[c>>2]+40>>2]](c)|0}else{c=0}v[a+32>>2]=c;Gd(e+104|0,f,e+32|0);break i;case 13:case 14:case 15:f=v[a+12>>2];a=e;c=v[d>>2];k:{if(c){k=+Qa[v[v[c>>2]+52>>2]](c,0,e+80|0);break k}v[e+80>>2]=-1;k=0}A[a+48>>3]=k;Gd(e+104|0,f,e+48|0);if(v[e+80>>2]>-1){break i}a=v[d>>2];l:{if(a){Qa[v[v[a>>2]+28>>2]](e+88|0,a,1);break l}v[e+88>>2]=0}jb(e+104|0,e+88|0);a=v[e+88>>2];v[e+88>>2]=0;m:{if(!a){break m}c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(c){break m}c=v[a+4>>2];if(!c){v[a+4>>2]=-32767}if(!c){Qa[v[v[a>>2]+4>>2]](a)}}a=v[e+104>>2];v[e+108>>2]=v[(a?a+12|0:1117e3)>>2];break i;default:break j}}a=v[a+12>>2];c=v[d>>2];v[e>>2]=v[(c?c+12|0:1117e3)>>2];Gd(e+104|0,a,e)}a=e+72|0;We(a,b,0,h);c=e+80|0;Xb(c,a,e+104|0);a=e- -64|0;We(a,b,j,-1);Xb(e+88|0,c,a);a=v[e+88>>2];n:{if(a){Qa[v[v[a>>2]+28>>2]](e+120|0,a,1);break n}v[e+120>>2]=0}jb(b,e+120|0);a=v[e+120>>2];v[e+120>>2]=0;o:{if(!a){break o}c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(c){break o}c=v[a+4>>2];if(!c){v[a+4>>2]=-32767}if(!c){Qa[v[v[a>>2]+4>>2]](a)}}a=v[b>>2];v[b+4>>2]=v[(a?a+12|0:1117e3)>>2];db(e+88|0);db(e- -64|0);db(e+80|0);db(e+72|0);db(e+96|0);db(e+104|0);break d}a=e+88|0;We(a,b,0,h);c=e+96|0;Xb(c,a,d);a=e+80|0;We(a,b,j,-1);Xb(e+104|0,c,a);a=v[e+104>>2];p:{if(a){Qa[v[v[a>>2]+28>>2]](e+72|0,a,1);break p}v[e+72>>2]=0}jb(b,e+72|0);a=v[e+72>>2];v[e+72>>2]=0;q:{if(!a){break q}c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(c){break q}c=v[a+4>>2];if(!c){v[a+4>>2]=-32767}if(!c){Qa[v[v[a>>2]+4>>2]](a)}}a=v[b>>2];v[b+4>>2]=v[(a?a+12|0:1117e3)>>2];db(e+104|0);db(e+80|0);db(e+96|0);db(e+88|0)}a=v[d>>2];if(a){a=v[a+8>>2]}else{a=0}c=v[b>>2];if(!c){break b}f=c;c=v[e+112>>2];h=EQ(f,v[(c?c+12|0:1117e3)>>2],a+h|0);if((h|0)>-1){continue}break}break b}if(!c){break b}c=e+80|0;Rc(c,349014,d);d=e+88|0;Rc(d,239205,c);f=e+96|0;ry(f,a,d);a=e+104|0;Rc(a,348279,f);Cd(b,a);db(a);db(f);db(d);db(c)}db(e+112|0);Ma=e+128|0;return}ni();L()}function cGa(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;d=Ma-16|0;Ma=d;a:{b:{if(x_(a,b,c)){PA(b);h=Ma-16|0;Ma=h;e=b+132|0;g=e;c:{if(!(a?g:0)){v[h+8>>2]=40;break c}j=v[a+28>>2];f=BZ(a);v[h+8>>2]=f;if(f){break c}v[g+24>>2]=0;v[g+28>>2]=0;v[g>>2]=0;v[g+4>>2]=0;v[g+32>>2]=0;v[g+36>>2]=0;v[g+16>>2]=0;v[g+20>>2]=0;v[g+8>>2]=0;v[g+12>>2]=0;v[g+28>>2]=j;f=jB(j,8276,h+8|0);if(!v[h+8>>2]){v[f>>2]=a;v[f+4>>2]=g;i=v[g+28>>2];k=f+8264|0;v[f+8272>>2]=k;v[f+8>>2]=i;v[f+8268>>2]=k;v[f+8264>>2]=0;d:{i=BZ(a);e:{if(i){break e}i=v[a+8>>2];v[f+48>>2]=2465;v[f+44>>2]=2466;v[f+68>>2]=i;i=v[a+28>>2];v[f+16>>2]=0;v[f+52>>2]=i;v[f+12>>2]=f+4168;i=3;if(_H(f+12|0,-15)){break e}if(v[f+12>>2]){break d}}v[h+8>>2]=i;if(f){Qa[v[j+8>>2]](j,f)}break c}v[h+8>>2]=0;v[g+12>>2]=f}k=v[a+8>>2];f:{g:{if(!Mb(a,v[a+4>>2]-4|0)){i=xi(a,h+12|0);l=v[h+12>>2];Mb(a,k);k=l?0:i;if(k-1>>>0<=40958){l=cc(j,k,h+8|0);if(!v[h+8>>2]){if((KI(f,0,l,k)|0)==(k|0)){break f}KI(f,0,0,0);if(l){Qa[v[j+8>>2]](j,l)}}v[h+8>>2]=0;break g}if(k){break g}}i=2147483647}v[g+8>>2]=0;v[g+4>>2]=i;v[g+24>>2]=2467;v[g+20>>2]=2468;v[g>>2]=0;break c}Gk(f+12|0);v[f+52>>2]=0;v[f+44>>2]=0;v[f+48>>2]=0;v[f+24>>2]=0;v[f+28>>2]=0;v[f>>2]=0;v[f+4>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;v[f+16>>2]=0;if(f){Qa[v[j+8>>2]](j,f)}v[g+4>>2]=k;v[g+8>>2]=0;v[g+12>>2]=0;v[g+24>>2]=2467;v[g+20>>2]=0;v[g>>2]=l}Ma=h+16|0;f=v[h+8>>2];if((f&255)==7){break b}if(f){g=Ma-16|0;Ma=g;h=40;h:{if(!e|!a){break h}j=v[a+28>>2];h=Mb(a,0);if(h){break h}h=_e(a,g+12|0,2);if(h){break h}h=3;if(w[g+12|0]!=31|w[g+13|0]!=157){break h}v[g+8>>2]=0;f=e;v[f+24>>2]=0;v[f+28>>2]=0;v[f+32>>2]=0;v[f+36>>2]=0;v[f+16>>2]=0;v[f+20>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;v[f>>2]=0;v[f+4>>2]=0;v[f+28>>2]=j;f=cc(j,4292,g+8|0);h=v[g+8>>2];if(!h){v[f>>2]=a;v[f+4>>2]=e;i=v[e+28>>2];k=f+4280|0;v[f+4288>>2]=k;v[f+8>>2]=i;v[f+4284>>2]=k;v[f+4280>>2]=0;i:{i=Mb(a,0);j:{if(i){break j}i=_e(a,g+14|0,2);if(i){break j}i=3;if(w[g+14|0]!=31){break j}if(w[g+15|0]==157){break i}}v[g+8>>2]=i;if(f){Qa[v[j+8>>2]](j,f)}h=v[g+8>>2];break h}eb(f+12|0,0,172);v[f+176>>2]=a;i=v[a+28>>2];v[f+100>>2]=f+112;v[f+96>>2]=0;v[f+88>>2]=0;v[f+92>>2]=0;v[f+180>>2]=i;v[f+104>>2]=0;v[f+108>>2]=64;v[f+48>>2]=0;v[f+36>>2]=0;v[f+40>>2]=0;t[f+44|0]=0;v[f+64>>2]=9;v[f+12>>2]=0;v[f+16>>2]=0;v[e+12>>2]=f}v[e+8>>2]=0;v[e>>2]=0;v[e+4>>2]=2147483647;v[e+24>>2]=2469;v[e+20>>2]=2470}Ma=g+16|0;if((h&255)==7|h){break b}}v[b+104>>2]=e;v[b+172>>2]=a;if(x_(e,b,c)){break b}}a=0;if((c|0)<0){break a}if(c&65535){PA(b);a=6;break a}k:{l:{a=v[b+180>>2];m:{if(!a){break m}c=v[b+176>>2];if(!c|(w[a|0]|32)!=105|((w[a+1|0]|32)!=115|(w[a+2|0]|32)!=111)){break m}a=a+3|0;if(!hb(a,315407)){break l}if(!hb(a,313726)){if(!hb(c,325053)){break l}}if(hb(a,324518)){break m}if(!hb(c,309164)){break l}}v[d+4>>2]=0;v[d+8>>2]=0;break k}v[d+4>>2]=1970170211;v[d+8>>2]=65539}v[d>>2]=b;a=gk(454624,0,d,0);break a}PA(b);a=2}Ma=d+16|0;return a|0}function bEa(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,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;I=Ma-512|0;Ma=I;A=v[a+332>>2];a=v[b+84>>2];b=I;while(1){l=B(v[a+64>>2],u[c+32>>1]);k=B(v[a+192>>2],u[c+96>>1]);h=l-k|0;o=B(h,11363);i=B(v[a+96>>2],u[c+48>>1]);m=B(v[a+32>>2],u[c+16>>1]);p=B(i+m|0,11086);D=o+B(k,20995)|0;j=B(v[a+128>>2],u[c+64>>1]);E=B(j,10703);n=B(u[c>>1],v[a>>2])<<13|1024;x=E+n|0;y=D+x|0;f=B(v[a+224>>2],u[c+112>>1]);F=B(f+m|0,8956);g=B(v[a+160>>2],u[c+80>>1]);r=g+m|0;z=B(r,10217);s=F+(z+(p+B(m,-18730)|0)|0)|0;v[b+480>>2]=y-s>>11;v[b>>2]=s+y>>11;h=B(h,2260);y=h+B(l,7373)|0;j=B(j,4433);s=j+n|0;q=y+s|0;G=B(g+i|0,1136);C=G+(p+B(i,589)|0)|0;p=f+i|0;H=B(p,-5461);C=C+H|0;v[b+448>>2]=q-C>>11;v[b+32>>2]=q+C>>11;l=o+B(l,-4926)|0;o=n-j|0;j=l+o|0;q=z+(B(g,-9222)+G|0)|0;z=B(f+g|0,-11086);q=q+z|0;v[b+416>>2]=j-q>>11;v[b+64>>2]=j+q>>11;k=h+B(k,-4176)|0;n=n-E|0;h=k+n|0;j=z+(F+(H+B(f,8728)|0)|0)|0;v[b+384>>2]=h-j>>11;v[b+96>>2]=h+j>>11;n=n-k|0;k=B(p,-10217);p=B(m-f|0,7350);h=(k+B(f,25733)|0)+p|0;f=B(f-g|0,3363);h=h+f|0;v[b+352>>2]=n-h>>11;v[b+128>>2]=h+n>>11;n=o-l|0;l=B(r,5461);h=B(g,-6278);g=B(g-i|0,11529);f=f+(l+(h+g|0)|0)|0;v[b+320>>2]=n-f>>11;v[b+160>>2]=f+n>>11;f=s-y|0;h=B(i,16154);i=B(m-i|0,3363);g=k+(g+(h+i|0)|0)|0;v[b+288>>2]=f-g>>11;v[b+192>>2]=f+g>>11;g=x-D|0;i=p+(l+(i+B(m,-15038)|0)|0)|0;v[b+256>>2]=g-i>>11;v[b+224>>2]=g+i>>11;b=b+4|0;a=a+4|0;c=c+2|0;J=J+1|0;if((J|0)!=8){continue}break}b=A+128|0;n=0;a=I;while(1){i=v[a+12>>2];m=v[a+4>>2];k=B(i+m|0,11086);o=v[a+8>>2];p=v[a+24>>2];h=o-p|0;A=B(h,11363);c=v[(n<<2)+d>>2]+e|0;f=v[a+28>>2];E=B(f+m|0,8956);g=v[a+20>>2];D=g+m|0;j=B(D,10217);x=E+(j+(k+B(m,-18730)|0)|0)|0;y=A+B(p,20995)|0;l=(v[a>>2]<<13)+131072|0;r=v[a+16>>2];z=B(r,10703);F=l+z|0;s=y+F|0;t[c|0]=w[b+(x+s>>>18&1023)|0];t[c+15|0]=w[b+(s-x>>>18&1023)|0];x=f+i|0;s=B(x,-5461);q=k+B(i,589)|0;k=B(g+i|0,1136);q=s+(q+k|0)|0;h=B(h,2260);G=h+B(o,7373)|0;r=B(r,4433);H=r+l|0;C=G+H|0;t[c+1|0]=w[b+(q+C>>>18&1023)|0];t[c+14|0]=w[b+(C-q>>>18&1023)|0];j=j+(k+B(g,-9222)|0)|0;k=B(f+g|0,-11086);j=j+k|0;o=A+B(o,-4926)|0;A=l-r|0;r=o+A|0;t[c+2|0]=w[b+(j+r>>>18&1023)|0];t[c+13|0]=w[b+(r-j>>>18&1023)|0];k=k+(E+(s+B(f,8728)|0)|0)|0;p=h+B(p,-4176)|0;l=l-z|0;h=p+l|0;t[c+3|0]=w[b+(k+h>>>18&1023)|0];t[c+12|0]=w[b+(h-k>>>18&1023)|0];h=B(m-f|0,7350);k=B(x,-10217);j=h+(k+B(f,25733)|0)|0;f=B(f-g|0,3363);j=j+f|0;l=l-p|0;t[c+4|0]=w[b+(j+l>>>18&1023)|0];t[c+11|0]=w[b+(l-j>>>18&1023)|0];l=B(D,5461);j=B(g,-6278);g=B(g-i|0,11529);f=f+(l+(j+g|0)|0)|0;o=A-o|0;t[c+5|0]=w[b+(f+o>>>18&1023)|0];t[c+10|0]=w[b+(o-f>>>18&1023)|0];f=B(i,16154);i=B(m-i|0,3363);g=k+(g+(f+i|0)|0)|0;f=H-G|0;t[c+6|0]=w[b+(g+f>>>18&1023)|0];t[c+9|0]=w[b+(f-g>>>18&1023)|0];i=h+(l+(i+B(m,-15038)|0)|0)|0;m=F-y|0;t[c+7|0]=w[b+(i+m>>>18&1023)|0];t[c+8|0]=w[b+(m-i>>>18&1023)|0];a=a+32|0;n=n+1|0;if((n|0)!=16){continue}break}Ma=I+512|0}function vz(a,b){var 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;e=Ma-80|0;Ma=e;v[e+64>>2]=13;v[e+48>>2]=13;v[e+32>>2]=13;v[e+16>>2]=13;v[e>>2]=13;ue(b,v[v[a>>2]+24>>2],e- -64|0,0);a:{if(v[e+64>>2]!=7){fb(1,-1,278757,0);break a}if(v[ib(v[e+72>>2],236871,e+48|0,0)>>2]==6){while(1){g=v[e+56>>2];h=v[g+12>>2];if((h|0)<=(d|0)){d=0;if((h|0)>0){while(1){b=e+32|0;Nf(g,d,b);vz(a,b);bb(b);d=d+1|0;g=v[e+56>>2];if((d|0)>2]){continue}break}}bb(e+48|0);break a}h=0;ub(g,d,e+16|0,0);if(v[e+16>>2]==7){h=v[ib(v[e+24>>2],228627,e,0)>>2]==5;bb(e)}d=d+1|0;bb(e+16|0);if(!h){continue}break}}bb(e+48|0);c=Ma+-64|0;Ma=c;v[c+48>>2]=13;v[c+32>>2]=13;v[c+16>>2]=13;v[c>>2]=13;p=b;l=a;ue(b,v[v[a>>2]+24>>2],c+48|0,0);a=v[ib(v[c+56>>2],309958,c,0)>>2];f=ab(12);b:{if((a|0)==3){kl(f,v[c+8>>2]);break b}v[f+8>>2]=0;v[f>>2]=0;v[f+4>>2]=0}bb(c);a=0;m=1;n=v[ib(v[c+56>>2],309910,c,0)>>2];if((n|0)==4){m=0;i=Rb(ab(8),v[c+8>>2])}bb(c);b=v[ib(v[c+56>>2],273535,c,0)>>2];d=v[c+8>>2];bb(c);ib(v[c+56>>2],228627,c+32|0,0);k=(b|0)==1;j=k?d:0;c:{if(v[c+32>>2]!=7){break c}while(1){if(v[ib(v[c+40>>2],309958,c,0)>>2]==3){if(v[f+4>>2]){b=v[f+4>>2];if((b|0)>=0){d=-1;d:{if((b|0)!=2147483647){d=v[f+8>>2];if((d|0)>(b|0)){break d}g=b+1|0;h=g;g=d<<1;d=d-1>>>0>1073741822?h:(b|0)>=(g|0)?h:g}v[f+8>>2]=d;q=f,r=yc(v[f>>2],d,4),v[q>>2]=r;b=v[f+4>>2]}if((b|0)>0){d=v[f>>2];id(d+4|0,d,b<<2)}v[v[f>>2]>>2]=46;v[f+4>>2]=v[f+4>>2]+1}}kU(f,v[c+8>>2])}bb(c);if(!i){i=0;if(v[ib(v[c+40>>2],309910,c,0)>>2]==4){i=Rb(ab(8),v[c+8>>2])}bb(c)}e:{if(k){k=1;break e}k=v[ib(v[c+40>>2],273535,c,0)>>2]==1;j=k?v[c+8>>2]:j;bb(c)}ib(v[c+40>>2],228627,c+16|0,0);bb(c+32|0);b=v[c+28>>2];v[c+40>>2]=v[c+24>>2];v[c+44>>2]=b;b=v[c+20>>2];d=v[c+16>>2];v[c+32>>2]=d;v[c+36>>2]=b;if((d|0)!=7){break c}b=a>>>0<49;a=a+1|0;if(b){continue}break}}bb(c+32|0);f:{g:{if(!i){fb(1,-1,288368,0);break g}h:{if(!v[l+36>>2]){b=0;break h}a=0;b=Ma-16|0;Ma=b;h=Qd(ab(8));if(v[f+4>>2]>0){while(1){d=b+8|0;Wj(h,d,iU(v[v[f>>2]+(a<<2)>>2],d,8));a=a+1|0;if((a|0)>2]){continue}break}}Ma=b+16|0;g=v[h>>2];if((g|0)>=1){d=0;while(1){o=v[h+4>>2];b=d;a=b;i:{if((g|0)<=(b|0)){break i}while(1){a=b+1|0;if(w[b+o|0]==46){break i}b=a;if((g|0)!=(b|0)){continue}break}a=g}j:{if(w[d+o|0]!=35){d=a;break j}yk(h,d,a-d|0);g=v[h>>2]}if((d|0)<(g|0)){continue}break}}b=om(v[v[l+36>>2]+4>>2],h);$a(Bb(h))}if((n|0)!=4){j=Ec(i,244571)|k?j:32768}k:{l:{if(!Ec(i,244571)){d=0;if(j&65536){break l}d=j&32768?1:2;break l}if(!Ec(i,221138)){if(b){d=6;if(v[b+20>>2]){break l}}d=3;if(j&1048576){break l}d=j&4096?4:5;break l}d=j&131072?7:8;if(!Ec(i,271457)){break l}if(Ec(i,272824)){break k}d=9}$a(Bb(i));a=ab(64);v[a+24>>2]=13;v[a+8>>2]=13;v[a>>2]=l;ee(p,a+8|0);ee(c+48|0,a+24|0);v[a+56>>2]=b;v[a+52>>2]=m;v[a+48>>2]=j;v[a+44>>2]=f;v[a+40>>2]=d;break f}fb(1,-1,288399,0);$a(Bb(i))}mc(f);$a(f);a=0}bb(c+48|0);Ma=c- -64|0;if(!a){break a}Ib(v[l+32>>2],a)}bb(e- -64|0);Ma=e+80|0}function Awa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=Ma-80|0;Ma=c;e=v[a+4>>2];d=w[e+15|0];a:{if(!(d<<24>>24<0?v[e+8>>2]:d)){break a}BA(e+4|0);f=v[a+4>>2];e=f+4|0;if((e|0)==(b|0)){break a}g=w[b+11|0];d=g<<24>>24;if(t[f+15|0]>=0){if((d|0)>=0){d=v[b+4>>2];v[e>>2]=v[b>>2];v[e+4>>2]=d;v[e+8>>2]=v[b+8>>2];break a}De(e,v[b>>2],v[b+4>>2]);break a}i=e;e=(d|0)<0;mf(i,e?v[b>>2]:b,e?v[b+4>>2]:g)}d=w[b+11|0];e=d<<24>>24;b:{c:{f=v[b+4>>2];d:{if((e|0)<0?f:d){e:{if((e|0)>=0){v[c+56>>2]=v[b+8>>2];e=v[b+4>>2];v[c+48>>2]=v[b>>2];v[c+52>>2]=e;break e}vc(c+48|0,v[b>>2],f)}b=kc(c+48|0,875768);v[c+72>>2]=v[b+8>>2];e=v[b+4>>2];v[c+64>>2]=v[b>>2];v[c+68>>2]=e;v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;if(t[c+59|0]<=-1){$a(v[c+48>>2])}f:{if(t[c+75|0]>=0){v[c+56>>2]=v[c+72>>2];b=v[c+68>>2];v[c+48>>2]=v[c+64>>2];v[c+52>>2]=b;break f}vc(c+48|0,v[c+64>>2],v[c+68>>2])}if(Xs(c+48|0)){f=0;i=c+48|4;e=i;while(1){v[c+32>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;b=t[c+75|0];g=(b|0)<0;d=g?v[c+68>>2]:b&255;b=d+1|0;if(b>>>0>=1073741808){break c}f=f+1|0;h=v[c+64>>2];g:{h:{if(b>>>0>=2){j=d+5&-4;b=ab(j<<2);v[c+32>>2]=j|-2147483648;v[c+24>>2]=b;v[c+28>>2]=d;break h}t[c+35|0]=d;b=c+24|0;if(!d){break g}}rb(b,g?h:c- -64|0,d)}v[(d<<2)+b>>2]=0;b=c+24|0;bd(b,875808,1);d=c+8|0;rj(d,f);g=b;h=d;b=w[c+19|0];d=b<<24>>24<0;b=bd(g,d?v[c+8>>2]:h,d?v[c+12>>2]:b);g=v[b>>2];v[c+40>>2]=v[b+4>>2];d=w[b+7|0]|w[b+8|0]<<8|(w[b+9|0]<<16|w[b+10|0]<<24);t[c+43|0]=d;t[c+44|0]=d>>>8;t[c+45|0]=d>>>16;t[c+46|0]=d>>>24;v[b>>2]=0;v[b+4>>2]=0;h=w[b+11|0];v[b+8>>2]=0;if(t[c+59|0]<=-1){$a(v[c+48>>2])}v[c+48>>2]=g;b=e;d=w[c+43|0]|w[c+44|0]<<8|(w[c+45|0]<<16|w[c+46|0]<<24);t[b+3|0]=d;t[b+4|0]=d>>>8;t[b+5|0]=d>>>16;t[b+6|0]=d>>>24;v[i>>2]=v[c+40>>2];t[c+59|0]=h;if(t[c+19|0]<=-1){$a(v[c+8>>2])}if(t[c+35|0]<=-1){$a(v[c+24>>2])}if(Xs(c+48|0)){continue}break}}b=c+48|0;fw(b);e=b;d=v[a+4>>2];b=d+4|0;i:{if((e|0)==(b|0)){break i}f=w[c+59|0];e=f<<24>>24;if(t[d+15|0]>=0){if((e|0)>=0){e=v[c+52>>2];v[b>>2]=v[c+48>>2];v[b+4>>2]=e;v[b+8>>2]=v[c+56>>2];break i}De(b,v[c+48>>2],v[c+52>>2]);break i}d=b;b=(e|0)<0;mf(d,b?v[c+48>>2]:c+48|0,b?v[c+52>>2]:f)}if(t[c+59|0]<=-1){$a(v[c+48>>2])}if(t[c+75|0]>-1){break d}$a(v[c+64>>2]);break d}b=v[a+4>>2];j:{if(t[b+15|0]<=-1){v[b+8>>2]=0;b=v[b+4>>2];break j}t[b+15|0]=0;b=b+4|0}v[b>>2]=0}e=v[291134];k:{if(!e){break k}a=v[a+4>>2];d=t[a+15|0]<0?v[a+4>>2]:a+4|0;a=ce(d);if(a>>>0>=1073741808){break b}l:{m:{if(a>>>0>=2){f=a+4&-4;b=ab(f<<2);v[c+72>>2]=f|-2147483648;v[c+64>>2]=b;v[c+68>>2]=a;break m}t[c+75|0]=a;b=c- -64|0;if(!a){break l}}rb(b,d,a)}v[(a<<2)+b>>2]=0;a=e+432|0;n:{if((a|0)==(c- -64|0)){break n}d=w[c+75|0];b=d<<24>>24;if(t[e+443|0]>=0){if((b|0)>=0){b=v[c+68>>2];v[a>>2]=v[c+64>>2];v[a+4>>2]=b;v[a+8>>2]=v[c+72>>2];break n}De(a,v[c+64>>2],v[c+68>>2]);break n}e=a;a=(b|0)<0;mf(e,a?v[c+64>>2]:c- -64|0,a?v[c+68>>2]:d)}if(t[c+75|0]>-1){break k}$a(v[c+64>>2])}Ma=c+80|0;return}sc();L()}sc();L()}function WIa(a,b){a=a|0;b=b|0;var 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;f=v[a+464>>2];if(v[a+280>>2]){c=v[f+52>>2];if(!c){if(!(Qa[v[v[a+460>>2]+8>>2]](a)|0)){d=v[a>>2];v[d+20>>2]=25;Qa[v[d>>2]](a)}if(v[a+336>>2]>=1){d=0;while(1){g=d<<2;e=v[(g+a|0)+340>>2];a:{b:{if(v[a+224>>2]){if(v[a+408>>2]){break b}if(v[a+416>>2]){break a}}c=v[((v[e+20>>2]<<2)+f|0)+56>>2];t[c|0]=0;t[c+1|0]=0;t[c+2|0]=0;t[c+3|0]=0;t[c+4|0]=0;t[c+5|0]=0;t[c+6|0]=0;t[c+7|0]=0;t[c+56|0]=0;t[c+57|0]=0;t[c+58|0]=0;t[c+59|0]=0;t[c+60|0]=0;t[c+61|0]=0;t[c+62|0]=0;t[c+63|0]=0;t[c+48|0]=0;t[c+49|0]=0;t[c+50|0]=0;t[c+51|0]=0;t[c+52|0]=0;t[c+53|0]=0;t[c+54|0]=0;t[c+55|0]=0;t[c+40|0]=0;t[c+41|0]=0;t[c+42|0]=0;t[c+43|0]=0;t[c+44|0]=0;t[c+45|0]=0;t[c+46|0]=0;t[c+47|0]=0;t[c+32|0]=0;t[c+33|0]=0;t[c+34|0]=0;t[c+35|0]=0;t[c+36|0]=0;t[c+37|0]=0;t[c+38|0]=0;t[c+39|0]=0;t[c+24|0]=0;t[c+25|0]=0;t[c+26|0]=0;t[c+27|0]=0;t[c+28|0]=0;t[c+29|0]=0;t[c+30|0]=0;t[c+31|0]=0;t[c+16|0]=0;t[c+17|0]=0;t[c+18|0]=0;t[c+19|0]=0;t[c+20|0]=0;t[c+21|0]=0;t[c+22|0]=0;t[c+23|0]=0;t[c+8|0]=0;t[c+9|0]=0;t[c+10|0]=0;t[c+11|0]=0;t[c+12|0]=0;t[c+13|0]=0;t[c+14|0]=0;t[c+15|0]=0;c=f+g|0;v[c+36>>2]=0;v[c+20>>2]=0;if(!v[a+224>>2]){if(v[a+432>>2]){break b}break a}if(!v[a+408>>2]){break a}}eb(v[((v[e+24>>2]<<2)+f|0)+120>>2],0,256)}d=d+1|0;if((d|0)>2]){continue}break}}v[f+16>>2]=-16;v[f+8>>2]=0;v[f+12>>2]=0;c=v[a+280>>2];v[f+52>>2]=c}v[f+52>>2]=c-1}c:{if(!(v[f+16>>2]==-1|v[a+364>>2]<1)){p=f+184|0;q=v[a+428>>2];while(1){d=k<<2;m=v[d+b>>2];d=v[(a+d|0)+368>>2]<<2;n=v[(d+a|0)+340>>2];o=v[n+20>>2];h=(o<<2)+f|0;g=d+f|0;j=g;d=v[h+56>>2]+v[g+36>>2]|0;d:{if(!Ne(a,d)){v[j+36>>2]=0;c=v[g+20>>2];break d}i=0;c=0;l=Ne(a,d+1|0);d=(l+d|0)+2|0;e=Ne(a,d);e:{if(!e){break e}c=e;d=v[h+56>>2]+20|0;if(!Ne(a,d)){break e}while(1){c=c<<1;if((c|0)==32768){break c}d=d+1|0;if(Ne(a,d)){continue}break}}h=a+o|0;f:{if(1<>1>(c|0)){break f}e=l<<2;if(1<>1<(c|0)){i=e+12|0;break f}i=e+4|0}v[j+36>>2]=i;g:{if(c>>>0<2){d=c;break g}e=d+14|0;d=c;while(1){c=c>>1;d=(Ne(a,e)?c:0)|d;if(c>>>0>1){continue}break}}c=v[g+20>>2]+(l?d^-1:d+1|0)|0;v[g+20>>2]=c}u[m>>1]=c;d=1;h:{if(v[a+432>>2]<1){break h}c=v[n+24>>2];i=c+a|0;g=(c<<2)+f|0;while(1){c=d;d=(v[g+120>>2]+B(c,3)|0)-3|0;if(Ne(a,d)){break h}while(1){if(!Ne(a,d+1|0)){d=d+3|0;e=v[a+432>>2]>(c|0);c=c+1|0;if(e){continue}break c}break}h=Ne(a,p);e=d+2|0;d=Ne(a,e);i:{if(!d){e=0;break i}j:{if(!Ne(a,e)){break j}d=d<<1;e=v[g+120>>2]+(w[i+264|0]<(c|0)?217:189)|0;if(!Ne(a,e)){break j}while(1){d=d<<1;if((d|0)==32768){break c}e=e+1|0;if(Ne(a,e)){continue}break}}if(d>>>0<2){e=d;break i}j=e+14|0;e=d;while(1){d=d>>1;e=(Ne(a,j)?d:0)|e;if(d>>>0>1){continue}break}}u[(v[(c<<2)+q>>2]<<1)+m>>1]=h?e^-1:e+1|0;d=c+1|0;if(v[a+432>>2]>(c|0)){continue}break}}k=k+1|0;if((k|0)>2]){continue}break}}return 1}b=v[a>>2];v[b+20>>2]=117;Qa[v[b+4>>2]](a,-1);v[f+16>>2]=-1;return 1}function jN(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=a+b|0;c=v[a+4>>2];a:{b:{if(c&1){break b}if(!(c&3)){break a}c=v[a>>2];b=c+b|0;c:{a=a-c|0;if((a|0)!=v[297317]){if(c>>>0<=255){e=v[a+8>>2];c=c>>>3|0;d=v[a+12>>2];if((d|0)!=(e|0)){break c}i=1189248,j=v[297312]&C3a(-2,c),v[i>>2]=j;break b}h=v[a+24>>2];c=v[a+12>>2];d:{if((c|0)!=(a|0)){d=v[a+8>>2];v[d+12>>2]=c;v[c+8>>2]=d;break d}e:{e=a+20|0;d=v[e>>2];if(d){break e}e=a+16|0;d=v[e>>2];if(d){break e}c=0;break d}while(1){g=e;c=d;e=c+20|0;d=v[e>>2];if(d){continue}e=c+16|0;d=v[c+16>>2];if(d){continue}break}v[g>>2]=0}if(!h){break b}e=v[a+28>>2];d=(e<<2)+1189552|0;f:{if(v[d>>2]==(a|0)){v[d>>2]=c;if(c){break f}i=1189252,j=v[297313]&C3a(-2,e),v[i>>2]=j;break b}v[h+(v[h+16>>2]==(a|0)?16:20)>>2]=c;if(!c){break b}}v[c+24>>2]=h;d=v[a+16>>2];if(d){v[c+16>>2]=d;v[d+24>>2]=c}d=v[a+20>>2];if(!d){break b}v[c+20>>2]=d;v[d+24>>2]=c;break b}c=v[f+4>>2];if((c&3)!=3){break b}v[297314]=b;v[f+4>>2]=c&-2;v[a+4>>2]=b|1;v[f>>2]=b;return}v[e+12>>2]=d;v[d+8>>2]=e}c=v[f+4>>2];g:{if(!(c&2)){if(v[297318]==(f|0)){v[297318]=a;b=v[297315]+b|0;v[297315]=b;v[a+4>>2]=b|1;if(v[297317]!=(a|0)){break a}v[297314]=0;v[297317]=0;return}if(v[297317]==(f|0)){v[297317]=a;b=v[297314]+b|0;v[297314]=b;v[a+4>>2]=b|1;v[a+b>>2]=b;return}b=(c&-8)+b|0;h:{if(c>>>0<=255){e=v[f+8>>2];c=c>>>3|0;d=v[f+12>>2];if((d|0)==(e|0)){i=1189248,j=v[297312]&C3a(-2,c),v[i>>2]=j;break h}v[e+12>>2]=d;v[d+8>>2]=e;break h}h=v[f+24>>2];c=v[f+12>>2];i:{if((f|0)!=(c|0)){d=v[f+8>>2];v[d+12>>2]=c;v[c+8>>2]=d;break i}j:{d=f+20|0;e=v[d>>2];if(e){break j}d=f+16|0;e=v[d>>2];if(e){break j}c=0;break i}while(1){g=d;c=e;d=c+20|0;e=v[d>>2];if(e){continue}d=c+16|0;e=v[c+16>>2];if(e){continue}break}v[g>>2]=0}if(!h){break h}e=v[f+28>>2];d=(e<<2)+1189552|0;k:{if(v[d>>2]==(f|0)){v[d>>2]=c;if(c){break k}i=1189252,j=v[297313]&C3a(-2,e),v[i>>2]=j;break h}v[h+(v[h+16>>2]==(f|0)?16:20)>>2]=c;if(!c){break h}}v[c+24>>2]=h;d=v[f+16>>2];if(d){v[c+16>>2]=d;v[d+24>>2]=c}d=v[f+20>>2];if(!d){break h}v[c+20>>2]=d;v[d+24>>2]=c}v[a+4>>2]=b|1;v[a+b>>2]=b;if(v[297317]!=(a|0)){break g}v[297314]=b;return}v[f+4>>2]=c&-2;v[a+4>>2]=b|1;v[a+b>>2]=b}if(b>>>0<=255){b=b>>>3|0;c=(b<<3)+1189288|0;d=v[297312];b=1<>2]}v[c+8>>2]=a;v[b+12>>2]=a;v[a+12>>2]=c;v[a+8>>2]=b;return}e=31;v[a+16>>2]=0;v[a+20>>2]=0;if(b>>>0<=16777215){c=b>>>8|0;g=c+1048320>>>16&8;c=c<>>16&4;c=c<>>16&2;c=(c<>>15|0)-(d|(e|g))|0;e=(c<<1|b>>>c+21&1)+28|0}v[a+28>>2]=e;g=(e<<2)+1189552|0;m:{d=v[297313];c=1<>2]=a;v[a+24>>2]=g;break n}e=b<<((e|0)==31?0:25-(e>>>1|0)|0);c=v[g>>2];while(1){d=c;if((v[c+4>>2]&-8)==(b|0)){break m}c=e>>>29|0;e=e<<1;g=d+(c&4)|0;c=v[g+16>>2];if(c){continue}break}v[g+16>>2]=a;v[a+24>>2]=d}v[a+12>>2]=a;v[a+8>>2]=a;return}b=v[d+8>>2];v[b+12>>2]=a;v[d+8>>2]=a;v[a+24>>2]=0;v[a+12>>2]=d;v[a+8>>2]=b}}function Dq(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=Ma-160|0;Ma=d;v[d+156>>2]=0;v[d+152>>2]=0;e=w[a+11|0];f=e<<24>>24<0;No(f?v[a>>2]:a,f?v[a+4>>2]:e,d+156|0,d+152|0);a:{b:{c:{d:{j=aQ(v[d+156>>2]);if(j){g=Tx(j);if(g){while(1){e=1;e:{f:{g:{h:{i:{j:{switch(w[g+18|0]){case 0:h=v[d+156>>2];f=zb(h);if(f>>>0>=4294967280){break d}k:{l:{if(f>>>0>=11){i=f+16&-16;e=ab(i);v[d+40>>2]=i|-2147483648;v[d+32>>2]=e;v[d+36>>2]=f;break l}t[d+43|0]=f;e=d+32|0;if(!f){break k}}cb(e,h,f)}t[e+f|0]=0;e=Sm(d+32|0,326326);v[d+72>>2]=v[e+8>>2];f=v[e+4>>2];v[d+64>>2]=v[e>>2];v[d+68>>2]=f;v[e>>2]=0;v[e+4>>2]=0;v[e+8>>2]=0;h=g+19|0;f=zb(h);if(f>>>0>=4294967280){break c}m:{n:{if(f>>>0>=11){i=f+16&-16;e=ab(i);v[d+24>>2]=i|-2147483648;v[d+16>>2]=e;v[d+20>>2]=f;break n}t[d+27|0]=f;e=d+16|0;if(!f){break m}}cb(e,h,f)}t[e+f|0]=0;e=w[d+27|0];f=e<<24>>24<0;e=Bp(d- -64|0,f?v[d+16>>2]:d+16|0,f?v[d+20>>2]:e);v[d+56>>2]=v[e+8>>2];f=v[e+4>>2];v[d+48>>2]=v[e>>2];v[d+52>>2]=f;v[e>>2]=0;v[e+4>>2]=0;v[e+8>>2]=0;if(t[d+27|0]<=-1){$a(v[d+16>>2])}if(t[d+75|0]<=-1){$a(v[d+64>>2])}if(t[d+43|0]<=-1){$a(v[d+32>>2])}f=v[d+48>>2];h=t[d+59|0];co((h|0)<0?f:d+48|0,d- -64|0);e=v[d+76>>2]&61440;if((h|0)<=-1){$a(f)}if((e|0)==32768){break i}e=(e|0)==16384;break;case 8:break i;case 4:break j;default:break e}}if(!e|!c|w[g+19|0]==46){break e}e=g+19|0;Zg(d- -64|0,e,zb(e));v[d+56>>2]=0;v[d+48>>2]=0;v[d+52>>2]=0;e=w[a+11|0];g=e<<24>>24<0;f=g?v[a+4>>2]:e;e=f+1|0;if(e>>>0>=1073741808){break a}h=v[a>>2];if(e>>>0<2){break h}i=f+5&-4;e=ab(i<<2);v[d+56>>2]=i|-2147483648;v[d+48>>2]=e;v[d+52>>2]=f;break g}e=g+19|0;Zg(d- -64|0,e,zb(e));v[d+40>>2]=0;v[d+32>>2]=0;v[d+36>>2]=0;e=w[a+11|0];g=e<<24>>24<0;f=g?v[a+4>>2]:e;e=f+1|0;if(e>>>0>=1073741808){break b}h=v[a>>2];o:{p:{if(e>>>0>=2){i=f+5&-4;e=ab(i<<2);v[d+40>>2]=i|-2147483648;v[d+32>>2]=e;v[d+36>>2]=f;break p}t[d+43|0]=f;e=d+32|0;if(!f){break o}}rb(e,g?h:a,f)}v[(f<<2)+e>>2]=0;e=d+32|0;bd(e,520764,1);g=e;e=w[d+75|0];f=e<<24>>24<0;e=bd(g,f?v[d+64>>2]:d- -64|0,f?v[d+68>>2]:e);v[d+56>>2]=v[e+8>>2];f=v[e+4>>2];v[d+48>>2]=v[e>>2];v[d+52>>2]=f;v[e>>2]=0;v[e+4>>2]=0;v[e+8>>2]=0;e=v[b+4>>2];q:{if(e>>>0>2]){f=v[d+52>>2];v[e>>2]=v[d+48>>2];v[e+4>>2]=f;v[e+8>>2]=v[d+56>>2];v[d+56>>2]=0;v[d+48>>2]=0;v[d+52>>2]=0;v[b+4>>2]=e+12;break q}Kg(b,d+48|0);if(t[d+59|0]>-1){break q}$a(v[d+48>>2])}if(t[d+43|0]<=-1){$a(v[d+32>>2])}if(t[d+75|0]>-1){break e}$a(v[d+64>>2]);break e}t[d+59|0]=f;e=d+48|0;if(!f){break f}}rb(e,g?h:a,f)}v[(f<<2)+e>>2]=0;e=d+48|0;bd(e,520764,1);g=e;e=w[d+75|0];f=e<<24>>24<0;e=bd(g,f?v[d+64>>2]:d- -64|0,f?v[d+68>>2]:e);v[d+8>>2]=v[e+8>>2];f=v[e+4>>2];v[d>>2]=v[e>>2];v[d+4>>2]=f;v[e>>2]=0;v[e+4>>2]=0;v[e+8>>2]=0;Dq(d,b,1);if(t[d+11|0]<=-1){$a(v[d>>2])}if(t[d+59|0]<=-1){$a(v[d+48>>2])}if(t[d+75|0]>-1){break e}$a(v[d+64>>2])}g=Tx(j);if(g){continue}break}}bQ(j)}a=v[d+156>>2];if(a){$a(a)}Ma=d+160|0;return}sc();L()}sc();L()}sc();L()}sc();L()}function h2a(a,b){a=a|0;b=b|0;var 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;v[a+4>>2]=v[b+24>>2];v[a+8>>2]=v[b+28>>2];v[a+12>>2]=v[b+16>>2];v[a+16>>2]=v[b+20>>2];v[a+20>>2]=v[b+32>>2];v[a+24>>2]=v[b+36>>2];v[a+28>>2]=v[b+40>>2];v[a+32>>2]=v[b+44>>2];c=v[b+48>>2];v[a+56>>2]=c;a:{d=gb(28);b:{if(!d){break b}v[d+20>>2]=c;v[d>>2]=0;u[d+16>>1]=0;v[d+12>>2]=0;t[d+8|0]=0;c=gb(B(c,488));v[d+24>>2]=c;if(!c){break b}c=v5();v[d+4>>2]=c;if(c){break a}$a(v[d+24>>2])}v[a+64>>2]=0;return-1}e=v[d+20>>2];c:{if((e|0)<1){break c}f=e&3;c=v[d+24>>2];if(e-1>>>0>=3){e=e&-4;while(1){t[c+418|0]=0;u[c+416>>1]=0;v[c+12>>2]=0;v[c>>2]=0;v[c+488>>2]=0;t[c+5|0]=0;t[c+6|0]=0;t[c+7|0]=0;t[c+8|0]=0;v[c+976>>2]=0;v[c+1464>>2]=0;t[c+906|0]=0;u[c+904>>1]=0;v[c+500>>2]=0;t[c+1394|0]=0;u[c+1392>>1]=0;v[c+988>>2]=0;t[c+493|0]=0;t[c+494|0]=0;t[c+495|0]=0;t[c+496|0]=0;t[c+1882|0]=0;u[c+1880>>1]=0;v[c+1476>>2]=0;t[c+981|0]=0;t[c+982|0]=0;t[c+983|0]=0;t[c+984|0]=0;h=c+1469|0;t[h|0]=0;t[h+1|0]=0;t[h+2|0]=0;t[h+3|0]=0;c=c+1952|0;e=e-4|0;if(e){continue}break}}if(!f){break c}while(1){t[c+418|0]=0;u[c+416>>1]=0;v[c+12>>2]=0;v[c>>2]=0;t[c+5|0]=0;t[c+6|0]=0;t[c+7|0]=0;t[c+8|0]=0;c=c+488|0;f=f-1|0;if(f){continue}break}}v[a+64>>2]=d;c=gb(v[a+56>>2]<<5);v[a+88>>2]=c;if(!c){return-1}i=v[a+56>>2];d:{if((i|0)<=0){d=v[a+16>>2];h=v[a+12>>2];break d}l=v[b+52>>2];g=v[a+8>>2];d=v[a+16>>2];j=v[a+4>>2];h=v[a+12>>2];e=0;while(1){b=l+(e<<2)|0;v[c+16>>2]=w[b|0];t[c+20|0]=w[b+1|0]!=0;f=w[b+2|0];v[c>>2]=f;b=w[b+3|0];v[c+24>>2]=0;v[c+28>>2]=0;v[c+4>>2]=b;k=f-1|0;v[c+8>>2]=((k+h>>>0)/(f>>>0)|0)-((j+k>>>0)/(f>>>0)|0);f=b-1|0;v[c+12>>2]=((f+d>>>0)/(b>>>0)|0)-((f+g>>>0)/(b>>>0)|0);c=c+32|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}v[a>>2]=0;l=-1;b=v[a+20>>2];b=(b+((v[a+28>>2]^-1)+h|0)>>>0)/(b>>>0)|0;v[a+36>>2]=b;c=v[a+24>>2];c=(c+((v[a+32>>2]^-1)+d|0)>>>0)/(c>>>0)|0;v[a+40>>2]=c;b=B(b,c);v[a+44>>2]=b;d=gb(B(b,56));v[a+48>>2]=d;e:{if(!d){break e}if(v[a+44>>2]>=1){h=v[a+56>>2];f=0;while(1){b=v[a+36>>2];v[d>>2]=0;v[d+48>>2]=0;i=v[a+28>>2];c=v[a+20>>2];e=b;b=(f|0)/(b|0)|0;e=f-B(e,b)|0;g=i+B(c,e)|0;j=v[a+4>>2];v[d+4>>2]=g>>>0>j>>>0?g:j;j=v[a+32>>2];g=v[a+24>>2];k=j+B(g,b)|0;m=v[a+8>>2];v[d+8>>2]=k>>>0>m>>>0?k:m;c=i+B(c,e+1|0)|0;e=v[a+12>>2];v[d+12>>2]=c>>>0>>0?c:e;c=v[a+16>>2];v[d+40>>2]=0;v[d+44>>2]=0;v[d+20>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+32>>2]=0;b=j+B(g,b+1|0)|0;v[d+16>>2]=b>>>0>>0?b:c;c=gb(h<<5);v[d+36>>2]=c;if(!c){break e}h=v[a+56>>2];if((h|0)>=1){j=v[d+16>>2];k=v[d+12>>2];m=v[d+8>>2];o=v[d+4>>2];b=v[a+88>>2];e=0;while(1){v[c+16>>2]=0;v[c+24>>2]=0;g=v[b>>2];n=g-1|0;v[c>>2]=(n+o>>>0)/(g>>>0);i=v[b+4>>2];v[c+28>>2]=0;v[c+8>>2]=(k+n>>>0)/(g>>>0);g=i-1|0;v[c+12>>2]=(g+j>>>0)/(i>>>0);v[c+4>>2]=(g+m>>>0)/(i>>>0);c=c+32|0;b=b+32|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}}d=d+56|0;f=f+1|0;if((f|0)>2]){continue}break}}v[a+84>>2]=4;l=0;v[a+96>>2]=0}return l|0}function KSa(a,b){a=a|0;b=b|0;var 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,y=0,z=0,A=0,C=0;e=Ma-176|0;Ma=e;a:{if(!v[a+26028>>2]){break a}b:{c:{if(!b){b=32;c=gb(32);if(!c){break a}break c}k=ji(b,50391);break b}while(1){if(!eu(c,b-16|0)){$a(c);if(v[296206]!=68){break a}b=b<<1;c=gb(b);if(c){continue}break a}break}b=zb(c);d:{if(w[c|0]!=47){break d}b=b+c|0;d=b-1|0;b=w[d|0]==47?d:b;g=w[50835]|w[50836]<<8|(w[50837]<<16|w[50838]<<24);m=w[50827]|w[50828]<<8|(w[50829]<<16|w[50830]<<24);f=w[50831]|w[50832]<<8|(w[50833]<<16|w[50834]<<24);while(1){t[b+8|0]=g;t[b+9|0]=g>>>8;t[b+10|0]=g>>>16;t[b+11|0]=g>>>24;d=m;t[b|0]=d;t[b+1|0]=d>>>8;t[b+2|0]=d>>>16;t[b+3|0]=d>>>24;d=f;t[b+4|0]=d;t[b+5|0]=d>>>8;t[b+6|0]=d>>>16;t[b+7|0]=d>>>24;k=ji(c,50391);if(k){break d}k=0;if((b|0)==(c|0)){break d}while(1){b=b-1|0;if(w[b|0]!=47){continue}break}if(w[c|0]==47){continue}break}}$a(c)}if(!k){break a}e:{if(!Px(e+48|0,128,k)){break e}q=v[249419];while(1){b=ye(e+48|0,35);if(b){t[b|0]=0}v[e+24>>2]=e+44;v[e+20>>2]=e+40;v[e+16>>2]=e+36;f:{if((df(e+48|0,51484,e+16|0)|0)!=3){break f}g=v[e+36>>2];r=x[a+26310>>1];if(g>>>0>=r>>>0){break f}h=v[e+40>>2];s=x[a+26308>>1];if(v[e+44>>2]>v[a+26016>>2]|h>>>0>=s>>>0){break f}y=(h<<1&14|g&1)<<1;z=h+1|0;A=g+1|0;f=h-1|0;m=g-1|0;l=0;b=0;while(1){if(f>>>0>>0){n=f<<1&14;c=m;while(1){d=c;g:{if(d>>>0>=r>>>0|(f|0)==(h|0)&(d|0)==(g|0)){break g}j=v[a+26028>>2];o=(j|0)==1;h:{if(!o){c=j>>>y&3;i=j>>>((n|d&1)<<1)&3;break h}i=x[a+26314>>1];p=x[a+26312>>1];c=t[(i+g&15|(p+h&15)<<4)+194800|0];i=t[(d+i&15|(f+p&15)<<4)+194800|0]}if((c|0)!=(i|0)){break g}c=x[a+26316>>1];b=x[(v[a+26352>>2]+(B(x[a+26320>>1],f>>c)+(d>>c)<<3)|0)+((o?t[(d+x[a+26314>>1]&15|(x[a+26312>>1]+f&15)<<4)+194800|0]:j>>>((n|d&1)<<1)&3)<<1)>>1]+b|0;l=l+1|0}c=d+1|0;if((d|0)!=(A|0)){continue}break}}c=(f|0)!=(z|0);f=f+1|0;if(c){continue}break}if(!l){z=h+2|0;A=g+2|0;f=h-2|0;m=g-2|0;l=0;while(1){if(f>>>0>>0){n=f<<1&14;c=m;while(1){d=c;i:{if(d>>>0>=r>>>0|(f|0)==(h|0)&(d|0)==(g|0)){break i}j=v[a+26028>>2];o=(j|0)==1;j:{if(!o){c=j>>>y&3;i=j>>>((n|d&1)<<1)&3;break j}i=x[a+26314>>1];p=x[a+26312>>1];c=t[(i+g&15|(p+h&15)<<4)+194800|0];i=t[(d+i&15|(f+p&15)<<4)+194800|0]}if((c|0)!=(i|0)){break i}c=x[a+26316>>1];b=x[(v[a+26352>>2]+(B(x[a+26320>>1],f>>c)+(d>>c)<<3)|0)+((o?t[(d+x[a+26314>>1]&15|(x[a+26312>>1]+f&15)<<4)+194800|0]:j>>>((n|d&1)<<1)&3)<<1)>>1]+b|0;l=l+1|0}c=d+1|0;if((d|0)!=(A|0)){continue}break}}c=(f|0)==(z|0);f=f+1|0;if(!c){continue}break}}c=(b|0)/(l|0)|0;b=x[a+26316>>1];d=v[a+26352>>2]+(B(x[a+26320>>1],h>>b)+(g>>b)<<3)|0;b=v[a+26028>>2];k:{if((b|0)!=1){b=b>>>y&3;break k}b=t[(x[a+26314>>1]+g&15|(x[a+26312>>1]+h&15)<<4)+194800|0]}u[d+(b<<1)>>1]=c;if(v[a+188>>2]){if(!C){Lb(52032,21,1,q);h=v[e+40>>2];g=v[e+36>>2]}v[e+4>>2]=h;v[e>>2]=g;vb(q,52380,e);C=C+1|0}}if(Px(e+48|0,128,k)){continue}break}if(!C){break e}Ee(10,q)}Fe(k)}Ma=e+176|0}function EHa(a,b){a=a|0;b=b|0;var 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;e=Ma-48|0;Ma=e;i=v[a+464>>2];a:{b:{if(v[i+40>>2]|!v[a+280>>2]){break b}d=v[a+460>>2];v[d+24>>2]=v[d+24>>2]+(v[i+12>>2]/8|0);v[i+12>>2]=0;f=0;if(!(Qa[v[d+8>>2]](a)|0)){break a}if(v[a+336>>2]>=1){d=0;while(1){v[((d<<2)+i|0)+20>>2]=0;d=d+1|0;if((d|0)>2]){continue}break}}v[i+16>>2]=0;v[i+40>>2]=v[a+280>>2];if(v[a+436>>2]){break b}v[i+36>>2]=0}if(!v[i+36>>2]){o=v[a+432>>2];p=v[a+428>>2];v[e+40>>2]=a;h=v[a+24>>2];c=v[h>>2];v[e+24>>2]=c;k=v[h+4>>2];v[e+28>>2]=k;d=v[i+12>>2];g=v[i+8>>2];v[e+16>>2]=v[i+32>>2];f=v[i+28>>2];v[e+8>>2]=v[i+24>>2];v[e+12>>2]=f;f=v[i+20>>2];v[e>>2]=v[i+16>>2];v[e+4>>2]=f;if(v[a+364>>2]>=1){while(1){h=n<<2;k=v[h+b>>2];m=i+h|0;c=v[m+96>>2];c:{d:{e:{if((d|0)>7){break e}f=0;if(!Ff(e+24|0,g,d,0)){break a}g=v[e+32>>2];d=v[e+36>>2];if((d|0)>7){break e}c=Yh(e+24|0,g,d,c,1);break d}f=g>>d-8&255;j=v[(c+(f<<2)|0)+144>>2];if(j){c=w[(c+f|0)+1168|0];d=d-j|0;break c}c=Yh(e+24|0,g,d,c,9)}f=0;if((c|0)<0){break a}g=v[e+32>>2];d=v[e+36>>2]}j=v[m+136>>2];m=v[m+176>>2];f:{g:{if(m){if(c){if((d|0)<(c|0)){f=0;if(!Ff(e+24|0,g,d,c)){break a}g=v[e+32>>2];d=v[e+36>>2]}d=d-c|0;c=c<<2;f=v[c+72672>>2];l=g>>d&f;c=l-((l|0)>v[c+72668>>2]?0:f)|0}else{c=0}h=(v[(a+h|0)+368>>2]<<2)+e|0;c=c+v[h+4>>2]|0;v[h+4>>2]=c;u[k>>1]=c;h=1;if((m|0)<2){break g}while(1){h:{i:{j:{if((d|0)>7){break j}f=0;if(!Ff(e+24|0,g,d,0)){break a}g=v[e+32>>2];d=v[e+36>>2];if((d|0)>7){break j}c=Yh(e+24|0,g,d,j,1);break i}c=g>>d-8&255;f=v[(j+(c<<2)|0)+144>>2];if(f){c=w[(c+j|0)+1168|0];d=d-f|0;break h}c=Yh(e+24|0,g,d,j,9)}f=0;if((c|0)<0){break a}g=v[e+32>>2];d=v[e+36>>2]}l=c>>>4|0;c=c&15;k:{if(c){if((d|0)<(c|0)){f=0;if(!Ff(e+24|0,g,d,c)){break a}g=v[e+32>>2];d=v[e+36>>2]}h=h+l|0;d=d-c|0;c=c<<2;f=v[c+72672>>2];l=g>>d&f;u[(v[(h<<2)+p>>2]<<1)+k>>1]=l-((l|0)>v[c+72668>>2]?0:f);break k}if((l|0)!=15){break f}h=h+15|0}h=h+1|0;if((m|0)>(h|0)){continue}break}break g}h=1;if(!c){break g}if((d|0)<(c|0)){f=0;if(!Ff(e+24|0,g,d,c)){break a}g=v[e+32>>2];d=v[e+36>>2]}d=d-c|0}if((h|0)>(o|0)){break f}while(1){l:{m:{n:{if((d|0)>7){break n}f=0;if(!Ff(e+24|0,g,d,0)){break a}g=v[e+32>>2];d=v[e+36>>2];if((d|0)>7){break n}c=Yh(e+24|0,g,d,j,1);break m}c=g>>d-8&255;f=v[(j+(c<<2)|0)+144>>2];if(f){c=w[(c+j|0)+1168|0];d=d-f|0;break l}c=Yh(e+24|0,g,d,j,9)}f=0;if((c|0)<0){break a}g=v[e+32>>2];d=v[e+36>>2]}k=c>>>4|0;c=c&15;o:{if(c){if((d|0)<(c|0)){f=0;if(!Ff(e+24|0,g,d,c)){break a}g=v[e+32>>2];d=v[e+36>>2]}d=d-c|0;break o}c=(k|0)!=15;k=15;if(c){break f}}h=(h+k|0)+1|0;if((o|0)>=(h|0)){continue}break}}n=n+1|0;if((n|0)>2]){continue}break}h=v[a+24>>2];k=v[e+28>>2];c=v[e+24>>2]}v[h+4>>2]=k;v[h>>2]=c;v[i+12>>2]=d;v[i+8>>2]=g;v[i+32>>2]=v[e+16>>2];a=v[e+12>>2];v[i+24>>2]=v[e+8>>2];v[i+28>>2]=a;a=v[e+4>>2];v[i+16>>2]=v[e>>2];v[i+20>>2]=a}v[i+40>>2]=v[i+40>>2]-1;f=1}Ma=e+48|0;return f|0}function Qja(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;f=Ma-48|0;Ma=f;a:{if(!(v[b+92>>2]&24)){v[a>>2]=0;qb(a,0);break a}g=v[b+156>>2];if(g){while(1){e=v[g+8>>2];if(e){v[e+4>>2]=v[e+4>>2]+1;e=v[g+8>>2]}else{e=0}if(v[e+8>>2]==(c|0)){b=v[e+12>>2];if(b){v[b+4>>2]=v[b+4>>2]+1;b=v[e+12>>2]}else{b=0}v[a>>2]=b;a=v[e+4>>2]-1|0;v[e+4>>2]=a;if(a){break a}a=v[e+4>>2];if(!a){v[e+4>>2]=-32767}if(!a){Qa[v[v[e>>2]+4>>2]](e)}break a}h=v[e+4>>2]-1|0;v[e+4>>2]=h;if(!h){h=v[e+4>>2];if(!h){v[e+4>>2]=-32767}if(!h){Qa[v[v[e>>2]+4>>2]](e)}}g=v[g>>2];if(g){continue}break}}e=ab(28);gT(f+24|0);v[e+8>>2]=c;v[e>>2]=971728;v[e+4>>2]=0;h=0;g=v[f+24>>2];if(g){v[g+4>>2]=v[g+4>>2]+1;h=v[f+24>>2]}v[e+24>>2]=0;v[e+16>>2]=0;v[e+12>>2]=h;v[f+40>>2]=0;qb(f+40|0,e);e=v[f+24>>2];v[f+24>>2]=0;b:{if(!e){break b}h=v[e+4>>2]-1|0;v[e+4>>2]=h;if(h){break b}h=v[e+4>>2];if(!h){v[e+4>>2]=-32767}if(!h){Qa[v[v[e>>2]+4>>2]](e)}}c:{if(v[b+56>>2]-3>>>0<=1){yy(f+24|0,v[b+48>>2]);v[f+16>>2]=0;h=v[f+32>>2];if(h){e=-1;while(1){g=0;i=v[h+8>>2];if(i){v[i+4>>2]=v[i+4>>2]+1;g=v[h+8>>2]}v[f+8>>2]=g;i=w[g+52|0]&63;d:{if((i|0)==2){j=e+1|0;jb(f+16|0,f+8|0);g=v[f+8>>2];break d}e=((i|0)==1)+e|0}v[f+8>>2]=0;e:{if(!g){break e}i=v[g+4>>2]-1|0;v[g+4>>2]=i;if(i){break e}i=v[g+4>>2];if(!i){v[g+4>>2]=-32767}if(!i){Qa[v[v[g>>2]+4>>2]](g)}}if((c|0)!=(e|0)){h=v[h>>2];if(h){continue}}break}e=v[f+16>>2];if(e){d=f+8|0;fS(d,b,e+36|0);jb(v[f+40>>2]+24|0,d);d=v[f+8>>2];v[f+8>>2]=0;f:{if(!d){break f}e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(e){break f}e=v[d+4>>2];if(!e){v[d+4>>2]=-32767}if(!e){Qa[v[v[d>>2]+4>>2]](d)}}v[v[f+40>>2]+20>>2]=c-j;c=f+8|0;d=f+40|0;eS(c,b,d);jb(d,c);c=v[f+8>>2];v[f+8>>2]=0;g:{if(!c){break g}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break g}d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}}aF(b);c=v[f+40>>2];b=v[c+12>>2];if(b){v[b+4>>2]=v[b+4>>2]+1;b=v[c+12>>2]}else{b=0}v[a>>2]=b;a=v[f+16>>2];v[f+16>>2]=0;h:{if(!a){break h}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break h}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}ac(f+24|0);break c}v[f+16>>2]=0}ac(f+24|0)}$r(f+24|0,b,c,d);i:{if(v[f+24>>2]){jb(v[f+40>>2]+16|0,f+24|0);if(d?v[v[v[f+40>>2]+16>>2]+148>>2]&2:1){c=f+16|0;d=f+40|0;eS(c,b,d);jb(d,c);c=v[f+16>>2];v[f+16>>2]=0;j:{if(!c){break j}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break j}d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}}aF(b);break i}qb(f+40|0,0);break i}qb(f+40|0,0)}b=v[f+40>>2];k:{if(b){c=v[b+12>>2];if(!c){v[a>>2]=0;break k}v[c+4>>2]=v[c+4>>2]+1;v[a>>2]=v[b+12>>2];break k}v[a>>2]=0;qb(a,0)}a=v[f+24>>2];v[f+24>>2]=0;if(!a){break c}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break c}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}a=v[f+40>>2];v[f+40>>2]=0;if(!a){break a}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break a}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=f+48|0}function lL(a){var b=0,c=0,d=0,e=0,f=0;c=v[a+512>>2];a:{b:{c:{d:{e:{if(!w[a+288|0]){v[a+992>>2]=0;v[a+984>>2]=0;v[a+988>>2]=0;v[a+976>>2]=0;v[a+968>>2]=0;v[a+1012>>2]=0;v[a+536>>2]=0;d=a+498|0;if(w[a+498|0]){break c}if(!c){break e}b=Nj(a,c,v[a+316>>2],v[a+320>>2],w[a+324|0],w[a+325|0],w[a+326|0],w[a+327|0],w[a+328|0],1);break d}if(w[a+498|0]){break b}f:{g:{switch(w[a+2253|0]){case 1:case 4:b=v[v[a+2248>>2]+88>>2];d=w[a+324|0];t[b+54|0]=d;t[b+53|0]=d;break f;case 2:case 5:t[v[v[a+2248>>2]+88>>2]+54|0]=w[a+324|0];break f;case 3:case 6:t[v[v[a+2248>>2]+88>>2]+53|0]=w[a+324|0];break f;case 0:break g;default:break f}}b=Nj(a,v[a+2248>>2],v[a+316>>2],v[a+320>>2],w[a+324|0],w[a+325|0],w[a+326|0],w[a+327|0],w[a+328|0],1);if(b){break a}}b=w[a+325|0];e=w[a+324|0];d=v[v[a+2248>>2]+88>>2];if((e|0)==w[d+44|0]){f=(b|0)==w[d+45|0]}d=a+498|0;t[a+2272|0]=f;b=Nj(a,v[a+528>>2],v[a+316>>2],v[a+320>>2],e,b,w[a+326|0],w[a+327|0],w[a+328|0],1);break d}b=Nj(a,v[a+528>>2],v[a+316>>2],v[a+320>>2],w[a+324|0],w[a+325|0],w[a+326|0],w[a+327|0],w[a+328|0],1)}if(b){break a}if(w[a+288|0]){break b}}c=c?c:v[a+528>>2];v[a+536>>2]=c;if(w[c+64|0]|w[c+65|0]|(w[c+31|0]?0:v[a+12>>2]!=1)){break b}pL(a);if(w[a+497|0]){t[d|0]=2;break b}t[a+498|0]=0;if(v[a+676>>2]<=v[a+672>>2]|v[a+684>>2]<=v[a+680>>2]){break b}Yw(a)}b=0;if(w[a+497|0]){break a}h:{i:{switch(w[a+325|0]){case 0:j:{switch(w[a+324|0]-1|0){case 0:if(!w[a+328|0]){v[a+1012>>2]=891;break h}v[a+1012>>2]=892;break h;case 1:if(!w[a+328|0]){v[a+1012>>2]=893;break h}v[a+1012>>2]=894;break h;case 3:if(!w[a+328|0]){v[a+1012>>2]=895;break h}v[a+1012>>2]=896;break h;case 7:if(!w[a+328|0]){v[a+1012>>2]=897;break h}v[a+1012>>2]=898;break h;case 15:break j;default:break h}}if(!w[a+328|0]){v[a+1012>>2]=899;break h}v[a+1012>>2]=900;break h;case 2:k:{switch(w[a+324|0]-8|0){case 0:if(!w[a+328|0]){v[a+1012>>2]=901;break h}v[a+1012>>2]=902;break h;case 8:break k;default:break h}}if(!w[a+328|0]){v[a+1012>>2]=903;break h}v[a+1012>>2]=904;break h;case 3:l:{switch(w[a+324|0]-1|0){case 0:if(!w[a+328|0]){v[a+1012>>2]=905;break h}v[a+1012>>2]=906;break h;case 1:if(!w[a+328|0]){v[a+1012>>2]=907;break h}v[a+1012>>2]=908;break h;case 3:if(!w[a+328|0]){v[a+1012>>2]=909;break h}v[a+1012>>2]=910;break h;case 7:break l;default:break h}}if(!w[a+328|0]){v[a+1012>>2]=911;break h}v[a+1012>>2]=912;break h;case 4:m:{switch(w[a+324|0]-8|0){case 0:if(!w[a+328|0]){v[a+1012>>2]=913;break h}v[a+1012>>2]=914;break h;case 8:break m;default:break h}}if(!w[a+328|0]){v[a+1012>>2]=915;break h}v[a+1012>>2]=916;break h;case 6:break i;default:break h}}n:{switch(w[a+324|0]-8|0){case 0:if(!w[a+328|0]){v[a+1012>>2]=917;break h}v[a+1012>>2]=918;break h;case 8:break n;default:break h}}if(!w[a+328|0]){v[a+1012>>2]=919;break h}v[a+1012>>2]=920}v[a+620>>2]=0;v[a+624>>2]=0;v[a+612>>2]=0;v[a+616>>2]=1;v[a+628>>2]=0;v[a+632>>2]=0}return b}function vu(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;f=Ma-16|0;Ma=f;v[a>>2]=0;v[a+4>>2]=v[279250];e=Ma+-64|0;Ma=e;d=v[d>>2];v[f>>2]=0;a:{if(d){g=v[v[d+28>>2]>>2]?v[d+32>>2]:0;if(!(!b|!c)){if(g){h=c+g|0;i=pc(e+48|0,e+60|0,h,1);cb(v[e+60>>2],v[d+24>>2],g);cb(g+v[e+60>>2]|0,b,c);b=v[e+60>>2];c=v[d+16>>2];b:{if(c){v[c+4>>2]=v[c+4>>2]+1;v[e+32>>2]=v[d+16>>2];wu(e+40|0,b,h,e+32|0);break b}gl(e+40|0,b,h,v[d+20>>2])}jb(f,e+40|0);b=v[e+40>>2];v[e+40>>2]=0;c:{if(!b){break c}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break c}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}d:{if(!c){break d}b=v[e+32>>2];v[e+32>>2]=0;if(!b){break d}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break d}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}ec(i);break a}g=v[d+16>>2];e:{if(g){v[g+4>>2]=v[g+4>>2]+1;v[e+24>>2]=v[d+16>>2];wu(e+48|0,b,c,e+24|0);break e}gl(e+48|0,b,c,v[d+20>>2])}jb(f,e+48|0);b=v[e+48>>2];v[e+48>>2]=0;f:{if(!b){break f}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break f}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}if(!g){break a}b=v[e+24>>2];v[e+24>>2]=0;if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}break a}if(g){h=pc(e+48|0,e+60|0,g,1);cb(v[e+60>>2],v[d+24>>2],g);b=v[e+60>>2];c=v[d+16>>2];g:{if(c){v[c+4>>2]=v[c+4>>2]+1;v[e+16>>2]=v[d+16>>2];wu(e+40|0,b,g,e+16|0);break g}gl(e+40|0,b,g,v[d+20>>2])}jb(f,e+40|0);b=v[e+40>>2];v[e+40>>2]=0;h:{if(!b){break h}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break h}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}i:{if(!c){break i}b=v[e+16>>2];v[e+16>>2]=0;if(!b){break i}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break i}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}ec(h);break a}c=v[d+16>>2];j:{if(c){v[c+4>>2]=v[c+4>>2]+1;v[e+8>>2]=v[d+16>>2];wu(e+48|0,0,0,e+8|0);break j}gl(e+48|0,0,0,v[d+20>>2])}jb(f,e+48|0);b=v[e+48>>2];v[e+48>>2]=0;k:{if(!b){break k}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break k}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}if(!c){break a}b=v[e+8>>2];v[e+8>>2]=0;if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}break a}d=e+48|0;gl(d,b,c,8);jb(f,d);b=v[e+48>>2];v[e+48>>2]=0;if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}Ma=e- -64|0;b=v[f>>2];l:{if(b){Qa[v[v[b>>2]+28>>2]](f+8|0,b,1);break l}v[f+8>>2]=0}jb(a,f+8|0);b=v[f+8>>2];v[f+8>>2]=0;m:{if(!b){break m}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break m}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=a;a=v[a>>2];v[b+4>>2]=v[(a?a+12|0:1117e3)>>2];a=v[f>>2];v[f>>2]=0;n:{if(!a){break n}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break n}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=f+16|0}function WW(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0;k=Ma-48|0;Ma=k;a:{if(v[a+292>>2]){break a}i=v[a+36>>2];if((v[i+20>>2]-v[i+16>>2]|0)>249){break a}oc(a)}g=v[a+36>>2];i=v[g+16>>2];b:{if(!(w[i|0]==60&w[i+1|0]==47)){if(v[a+172>>2]==-1?v[a+212>>2]:0){break b}v[a+84>>2]=74;v[k+32>>2]=287180;nb(0,0,0,a,0,1,74,3,0,0,0,0,340716,k+32|0);v[a+12>>2]=0;if(v[a+288>>2]){break b}v[a+212>>2]=1;break b}v[a+200>>2]=v[a+200>>2]+2;v[g+16>>2]=i+2;v[g+32>>2]=v[g+32>>2]+2;i=w[i+2|0];if((i|0)==37){zc(a);g=v[a+36>>2];i=w[v[g+16>>2]]}c:{if(i&255){break c}if((Zb(g)|0)>0){break c}xc(a)}d:{e:{f:{if((f|0)<1){break f}i=v[a+36>>2];l=v[i+16>>2];i=v[i+20>>2]-l|0;if(i>>>0>>0){break f}g=v[a+184>>2];if(!((g|0)==(l|0)|(f|0)<1)){j=-1;g:{if(!l){break g}j=1;if(!g){break g}j=Kb(l,g,f)}}if(j){break f}h=1;g=v[a+36>>2];j=v[g+16>>2];if(!(w[j+f|0]!=62|f>>>0>=i>>>0)){d=f+1|0;v[g+16>>2]=d+j;v[g+32>>2]=d+v[g+32>>2];break d}v[g+16>>2]=f+j;v[g+32>>2]=v[g+32>>2]+f;break e}i=v[a+184>>2];if(!b){h=ZW(a,i);break e}h:{if(v[a+292>>2]){break h}f=v[a+36>>2];if((v[f+20>>2]-v[f+16>>2]|0)>249){break h}oc(a)}i:{l=v[a+36>>2];g=v[l+16>>2];h=w[g|0];j:{if(!h){break j}f=b;while(1){j=w[f|0];if((j|0)==(h&255)){f=f+1|0;h=w[g+1|0];g=g+1|0;if(h){continue}break j}break}if((h&255)!=58|j){break j}f=g+1|0;h=w[g+1|0];k:{l:{if(!h){g=i;j=f;break l}g=i;while(1){m=w[g|0];if((m|0)!=(h&255)){j=f;break k}g=g+1|0;h=w[f+1|0];j=f+1|0;f=j;if(h){continue}break}}m=w[g|0];h=0}if(m){break j}g=h&255;f=g-9|0;if((1<>>0<=23:0)|(g|0)==62){break i}}f=iH(a,k+44|0);h=(f|0)==(i|0)?v[k+44>>2]==(b|0)?1:f:f;break e}v[l+16>>2]=j;h=1}m:{if(v[a+292>>2]){break m}f=v[a+36>>2];if((v[f+20>>2]-v[f+16>>2]|0)>249){break m}oc(a)}if(v[a+172>>2]==-1){break b}Fc(a);i=v[a+36>>2];j=v[i+16>>2];f=w[j|0];n:{if(!((f|0)==62&(f-9&255)>>>0>1)){if(v[a+172>>2]==-1?v[a+212>>2]:0){break n}v[a+84>>2]=73;v[k+16>>2]=336440;nb(0,0,0,a,0,1,73,3,0,0,0,0,340716,k+16|0);v[a+12>>2]=0;if(v[a+288>>2]){break n}v[a+212>>2]=1;break n}v[i+16>>2]=j+1;v[i+32>>2]=v[i+32>>2]+1;v[a+200>>2]=v[a+200>>2]+1;if(w[j+1|0]){break n}Zb(i)}if((h|0)==1){break d}f=h?h:282367;o:{if(d){break o}d=v[a+52>>2];if(!d){d=0;break o}d=x[d+56>>1]}Hz(a,76,340433,v[a+184>>2],d,f)}d=v[a>>2];p:{if(!d){break p}d=v[d+120>>2];if(v[a+212>>2]|!d){break p}Qa[d|0](v[a+4>>2],v[a+184>>2],b,c)}b=v[a+236>>2];if((b|0)>=1){c=b-1|0;v[a+236>>2]=c;d=((b|0)==1?0:b-2|0)<<2;b=v[a+244>>2];v[a+232>>2]=d+b;v[b+(c<<2)>>2]=-1}if(!e|!v[a+336>>2]){break b}h=v[a+328>>2];if((h|0)<(e|0)){v[k>>2]=e;Qa[v[256654]](v[291043],345520,k);h=v[a+328>>2];e=h}if((h|0)<1|(e|0)<1){break b}f=e&3;if(e-1>>>0>=3){b=e&-4;while(1){c=h<<2;v[(c+v[a+336>>2]|0)-4>>2]=0;v[(c+v[a+336>>2]|0)-8>>2]=0;v[(c+v[a+336>>2]|0)-12>>2]=0;h=h-4|0;v[v[a+336>>2]+(h<<2)>>2]=0;b=b-4|0;if(b){continue}break}}if(f){while(1){h=h-1|0;v[v[a+336>>2]+(h<<2)>>2]=0;f=f-1|0;if(f){continue}break}}v[a+328>>2]=h}Ma=k+48|0}function lza(a,b){a=a|0;b=b|0;var 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,x=0,y=0,z=0;l=v[a+4>>2];d=v[l+44>>2];d=d?d:64;g=v[a+24>>2];q=v[a+20>>2];f=v[a+16>>2];r=v[a+12>>2];h=v[a+8>>2];n=t[l+36|0];a:{b:{y=v[l+48>>2];i=y&3;c:{if(!i){s=q;break c}if((n|0)<1){s=q;break c}p=-1;s=q;if(f>>>0>>0){break b}}c=0;break a}c=1}d:{e:while(1){f:{g:{if(!c){j=d;o=r-h|0;c=s-f>>1;i=(c|0)>(o|0)?o:c;h:{if((i|0)<1){break h}while(1){c=w[h|0];i:{if((c<<24)-1342177280>>24>=0){j=d;d=(c+d|0)-144|0;if((d|0)>12287){break h}u[f>>1]=d;v[g>>2]=m;d=d&-128|64;break i}j=d;if(c>>>0>32){break h}u[f>>1]=c;v[g>>2]=m;d=(c|0)==32?d:64}h=h+1|0;f=f+2|0;g=g+4|0;m=m+1|0;c=(i|0)>1;i=i-1|0;if(c){continue}break}i=0;j=d}c=0;break g}m=m+i|0;o=y>>2;while(1){if(h>>>0>=r>>>0){j=d;break d}c=w[h|0];t[((n<<24>>24)+l|0)+37|0]=c;if(c>>>0<=32){c=t[c+855024|0]}else{c=c-13|0}j:{k:{l:{j=i-1|0;switch(j|0){case 0:break j;case 1:break l;default:break k}}c=B(c,243);break j}c=B(c,59049)}n=n+1|0;h=h+1|0;e=12;if((c|0)<0){j=d;break f}o=c+o|0;i=j;if(i){continue}break}i=0;x=0;n=0;j=d;k=o+d|0;if(k>>>0>1114111){break f}c=1}while(1){m:{n:{o:{p:{q:{if(!c){r:{s:{t:{u:{v:{w:{if(f>>>0>>0){c=h;while(1){p=m;d=j;if(c>>>0>=r>>>0){h=c;break d}h=c+1|0;m=p+1|0;e=w[c|0];if((e<<24)-1342177280>>24>-1){break w}if(e>>>0>=33){if(h>>>0>>0&(e-37&255)>>>0<=213){break v}j=64;c=h;if((e|0)==255){continue}t[l+37|0]=e;if(e>>>0<80){break t}if(e>>>0>250){break u}c=B(e,243)-50480|0;i=1;break r}u[f>>1]=e;v[g>>2]=p;j=(e|0)==32?d:64;g=g+4|0;c=h;f=f+2|0;if(q>>>0>f>>>0){continue}break}}e=15;if(h>>>0>>0){break f}break d}k=(e+d|0)-144|0;if((k|0)>12287){x=n;break m}u[f>>1]=k;v[g>>2]=p;g=g+4|0;f=f+2|0;d=k&-128|64;s=v[a+20>>2];break o}o=B(e,243)+(e>>>0>143?-50480:-19504)|0;z=c+2|0;c=w[c+1|0];x:{if(c>>>0>=33){c=c-13|0;break x}m=c&31;if(((c&63)>>>0>=32?1>>>m|0:((1<>>m)&1){break q}c=t[c+855024|0]}k=c+(d+o|0)|0;if(k>>>0>=1114112){break q}m=p+2|0;x=n;h=z;break m}if(e>>>0>253){c=187660;i=3;break r}c=B(e,59049)-14810786|0;break s}if(e>>>0>=37){c=B(e,243)-19504|0;i=1;break r}if(e>>>0<34){c=-14536567;i=3;break r}c=B(e,59049)-2195326|0}i=2}y=i|c<<2;n=1;c=1;continue e}y:{z:{A:{if(k-12352>>>0<=42851){j=12400;if((k|0)<12448){break A}j=30481;if(k-19968>>>0<20902){break A}j=49617;if((k|0)>44031){break A}j=k&-128|64;break A}j=k&-128|64;if((k|0)>65535){break z}}u[f>>1]=k;f=f+2|0;c=1;d=g;break y}u[f>>1]=(k>>>10|0)-10304;c=2;d=f+2|0;if(d>>>0>=q>>>0){break p}u[f+2>>1]=k&1023|56320;v[g>>2]=p;f=f+4|0;d=g+4|0}v[d>>2]=p;g=(c<<2)+g|0;n=x;break n}t[l+37|0]=e;t[l+38|0]=w[h|0];n=2;e=12;j=d;h=z;break f}v[g>>2]=p;t[l+65|0]=1;u[l+116>>1]=k&1023|56320;g=g+4|0;e=15;f=d;n=x;break f}c=0;continue e}c=0;continue}c=1;continue}}break}v[b>>2]=e}B:{if(v[b>>2]==12){v[l+44>>2]=64;b=0;break B}v[l+44>>2]=j;b=o<<2|i}t[l+36|0]=n;v[l+48>>2]=b;v[a+24>>2]=g;v[a+16>>2]=f;v[a+8>>2]=h}function Ad(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=Ma+-64|0;Ma=e;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{if(v[a+36>>2]<1){f=v[a+24>>2];if(w[f+20|0]?0:f){break j}v[a+36>>2]=-1;i=v[a+28>>2];d=v[a+32>>2];if((i|0)<(d|0)){h=v[a+16>>2];Qa[v[v[h>>2]+20>>2]](h,d,0,0)|0;i=v[a+32>>2];v[a+28>>2]=i;f=v[a+24>>2]}k:{if(f){h=0;if(v[f+8>>2]==(i|0)){break k}}if(i&1){d=v[a+16>>2];d=Qa[v[v[d>>2]+8>>2]](d,e+48|0,1)|0;f=v[a+24>>2];if(!d){h=0;if(!f){break k}}i=d+v[a+28>>2]|0;v[a+28>>2]=i}h=i;while(1){if(f){d=v[f+8>>2];if((d|0)==(h|0)){h=0;break k}if((d|0)<(h+4|0)){break i}}d=em(v[a+16>>2],e+48|0,4);h=d+v[a+28>>2]|0;v[a+32>>2]=h;v[a+28>>2]=h;f=v[a+24>>2];if(!(f|d)){h=0;break k}if((d|0)!=4){break h}d=w[e+51|0];g=w[e+50|0];k=w[e+48|0];j=w[e+49|0];if(!((k|0)!=83|(j|0)!=68|((g|0)!=74|(d|0)!=86))){t[a+21|0]=1;continue}if(!((k|0)!=65|(j|0)!=84|((g|0)!=38|(d|0)!=84))){t[a+20|0]=1;continue}break}if(v[f+8>>2]<(h+4|0)?f:0){break g}k=e+52|0;d=em(v[a+16>>2],k,4);f=d+v[a+28>>2]|0;v[a+32>>2]=f;v[a+28>>2]=f;if((d|0)!=4){break f}g=v[a+24>>2];d=v[e+52>>2];h=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(v[g+8>>2]<(h+f|0)?g:0){break e}j=cy(e+48|0);if((j|0)<=-1){break d}if(j){if(v[g+8>>2]<(f+4|0)?g:0){break c}d=em(v[a+16>>2],k,4);v[a+28>>2]=d+v[a+28>>2];if((d|0)!=4){break b}if(cy(k)){break a}g=v[a+24>>2];f=v[a+32>>2]}d=ab(24);v[d+8>>2]=f+h;v[d+4>>2]=f;v[d>>2]=g;f=v[e+48>>2];t[d+12|0]=f;t[d+13|0]=f>>>8;t[d+14|0]=f>>>16;t[d+15|0]=f>>>24;f=d;l:{if(j){g=v[e+52>>2];t[d+16|0]=g;t[d+17|0]=g>>>8;t[d+18|0]=g>>>16;t[d+19|0]=g>>>24;g=1;break l}t[d+16|0]=0;t[d+17|0]=0;t[d+18|0]=0;t[d+19|0]=0;g=0}t[f+20|0]=g;v[a+24>>2]=d;f=eg(e+24|0,d+12|0,4);d=v[f>>2];m:{if(d){Qa[v[v[d>>2]+28>>2]](e+16|0,d,1);break m}v[e+16>>2]=0}jb(b,e+16|0);d=v[e+16>>2];v[e+16>>2]=0;n:{if(!d){break n}g=v[d+4>>2]-1|0;v[d+4>>2]=g;if(g){break n}g=v[d+4>>2];if(!g){v[d+4>>2]=-32767}if(!g){Qa[v[v[d>>2]+4>>2]](d)}}d=v[b>>2];v[b+4>>2]=v[(d?d+12|0:1117e3)>>2];db(f);if(j){d=e+16|0;ic(d,b,313512);f=d;d=eg(e+8|0,v[a+24>>2]+16|0,4);Xb(e+24|0,f,d);a=v[e+24>>2];o:{if(a){Qa[v[v[a>>2]+28>>2]](e+56|0,a,1);break o}v[e+56>>2]=0}jb(b,e+56|0);a=v[e+56>>2];v[e+56>>2]=0;p:{if(!a){break p}f=v[a+4>>2]-1|0;v[a+4>>2]=f;if(f){break p}f=v[a+4>>2];if(!f){v[a+4>>2]=-32767}if(!f){Qa[v[v[a>>2]+4>>2]](a)}}a=v[b>>2];v[b+4>>2]=v[(a?a+12|0:1117e3)>>2];db(e+24|0);db(d);db(e+16|0)}if(c){v[c>>2]=i}}Ma=e- -64|0;return h}lb(mb(e+24|0,276204,241642,178,331553));L()}lb(mb(e+24|0,219610,241642,180,331553));L()}lb(mb(e+24|0,287511,241642,211,331553));L()}lb(mb(e+24|0,v[279242],241642,217,331553));L()}lb(mb(e+24|0,319832,241642,236,331553));L()}lb(mb(e+24|0,v[279242],241642,240,331553));L()}lb(mb(e+24|0,291205,241642,246,331553));L()}lb(mb(e+24|0,288630,241642,251,331553));L()}lb(mb(e+24|0,239881,241642,257,331553));L()}lb(mb(e+24|0,v[279242],241642,261,331553));L()}lb(mb(e+24|0,288656,241642,263,331553));L()}function rSa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=C(0),m=0,n=0;g=Ma-32|0;Ma=g;a:{b:{if(!c|!d){break b}v[(b<<2)+c>>2]=65008;v[d>>2]=1;b=v[c+4>>2];i=t[b|0];if((i-2&-3)!=41){break b}e=1;while(1){f=e+1|0;v[d>>2]=f;c:{h=t[b+1|0];b=ag(214107,h,13);if(!b){break c}b=b-214107|0;if((b|0)==12){break c}b=t[b+214120|0];j=(((b|0)>49?b:49)&255)-48|0;b=0;while(1){if(t[v[(b+f<<2)+c>>2]]-48>>>0<10){b=b+1|0;if((j|0)!=(b|0)){continue}break c}break}v[g+16>>2]=h;vb(v[249419],214133,g+16|0);b=1;break a}d:{e:{switch(h-52|0){case 58:v[d>>2]=e+2;k=a,l=C(Ue(v[(f<<2)+c>>2])),z[k+52>>2]=l;break d;case 46:v[d>>2]=e+2;k=a,l=C(Ue(v[(f<<2)+c>>2])),z[k+56>>2]=l;break d;case 15:b=e+2|0;v[d>>2]=b;k=a,m=1/Ue(v[(f<<2)+c>>2]),A[k+80>>3]=m;v[d>>2]=e+3;k=a,m=1/Ue(v[(b<<2)+c>>2]),A[k+96>>3]=m;break d;case 51:b=e+2|0;v[d>>2]=b;k=a,m=1/Ue(v[(f<<2)+c>>2]),A[k+112>>3]=m;v[d>>2]=e+3;k=a,m=Ue(v[(b<<2)+c>>2]),A[k+120>>3]=m;break d;case 55:v[d>>2]=e+2;k=a,n=td(v[(f<<2)+c>>2]),v[k+20>>2]=n;break d;case 31:v[d>>2]=e+2;k=a,n=td(v[(f<<2)+c>>2]),v[k+28>>2]=n;break d;case 64:v[d>>2]=e+2;k=a,n=td(v[(f<<2)+c>>2]),v[k+16>>2]=n;break d;case 61:v[d>>2]=e+2;k=a,n=td(v[(f<<2)+c>>2]),v[k+24>>2]=n;break d;case 57:v[d>>2]=e+2;k=a,n=td(v[(f<<2)+c>>2]),v[k+152>>2]=n;break d;case 20:v[d>>2]=e+2;k=a,n=td(v[(f<<2)+c>>2]),v[k+156>>2]=n;break d;case 63:e=td(v[(f<<2)+c>>2]);b=e>>31;v[a+160>>2]=b^b+e;b=v[d>>2];v[d>>2]=b+1;k=a,n=!hb(v[(b<<2)+c>>2],214164),v[k+164>>2]=n;break d;case 59:b=v[(f<<2)+c>>2];if(t[b|0]-48>>>0>9|w[b+1|0]){break d}v[d>>2]=e+2;k=a,n=td(b),v[k+168>>2]=n;break d;case 28:v[d>>2]=e+2;v[a+12>>2]=v[(f<<2)+c>>2];break d;case 23:v[d>>2]=e+2;v[a+8>>2]=v[(f<<2)+c>>2];break d;case 70:v[a+32>>2]=1;break d;case 49:v[a+36>>2]=1;break d;case 53:v[a+40>>2]=1;break d;case 47:v[a+48>>2]=1;break d;case 66:v[a+188>>2]=1;break d;case 52:v[a+180>>2]=1;case 50:v[a+184>>2]=1;break d;case 13:v[d>>2]=e+2;k=a,n=td(v[(f<<2)+c>>2]),v[k+200>>2]=n;b=v[d>>2];v[d>>2]=b+1;k=a,n=td(v[(b<<2)+c>>2]),v[k+204>>2]=n;b=v[d>>2];v[d>>2]=b+1;k=a,n=td(v[(b<<2)+c>>2]),v[k+208>>2]=n;b=v[d>>2];v[d>>2]=b+1;k=a,n=td(v[(b<<2)+c>>2]),v[k+212>>2]=n;case 45:v[a+216>>2]=1;break d;case 67:v[a+220>>2]=1;break d;case 25:v[a+224>>2]=(i&255)==43;break d;case 16:case 48:v[a+192>>2]=(h|0)==68?2:1;case 54:v[a+44>>2]=0;break d;case 35:v[a+196>>2]=1;break d;case 32:v[a+176>>2]=1;break d;case 0:v[a+172>>2]=16;break d;default:v[g>>2]=h;vb(v[249419],214168,g);b=1;break a;case 62:break e}}b=e+2|0;v[d>>2]=b;k=a,l=C(Ue(v[(f<<2)+c>>2])),z[k+60>>2]=l;f=e+3|0;v[d>>2]=f;k=a,l=C(Ue(v[(b<<2)+c>>2])),z[k+64>>2]=l;b=e+4|0;v[d>>2]=b;k=a,l=C(Ue(v[(f<<2)+c>>2])),z[k+68>>2]=l;v[d>>2]=e+5;k=a,l=C(Ue(v[(b<<2)+c>>2])),z[k+72>>2]=l}e=v[d>>2];b=v[(e<<2)+c>>2];i=t[b|0];if((i-2&-3)==41){continue}break}}b=0;if(v[a+224>>2]>-1){break a}v[a+224>>2]=v[a+220>>2]}Ma=g+32|0;return b|0}function dAa(a,b){a=a|0;b=b|0;var 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;h=Ma-16|0;Ma=h;k=v[a+20>>2];f=v[a+16>>2];l=v[a+12>>2];c=v[a+8>>2];v[h+8>>2]=v[a+24>>2];v[h+4>>2]=0;i=v[a+4>>2];j=v[i+8>>2];g=v[j+40>>2];a:{if(v[j+64>>2]==1){v[a+4>>2]=g;v[g+56>>2]=v[i+56>>2];aZ(a,b);f=v[j+40>>2];v[i+56>>2]=v[f+56>>2];if(v[b>>2]==15){c=i;d=w[f+63|0];b=d<<24>>24;if((b|0)>=1){cb(i+76|0,f+76|0,d);f=v[j+40>>2];b=w[f+63|0]}t[c+63|0]=b;t[f+63|0]=0}v[a+4>>2]=i;break a}d=v[i+52>>2];n=w[i+35|0];j=v[g+24>>2];p=b;g=v[i+56>>2];b:{c:{d:{if(!(!g|f>>>0>=k>>>0)){i=c;break d}if(c>>>0>=l>>>0){i=c;break b}v[h+4>>2]=65535;e:{f:{g:{if(f>>>0>=k>>>0){i=c;g=d;break g}q=!n;while(1){i=c+2|0;g=x[c>>1];if(!(g>>>0>31|!(1<>2]=12;v[v[a+4>>2]+56>>2]=g;break b}e=g&15;c=v[j+52>>2];o=v[(x[c+(g>>>9&126)>>1]+(g>>>4&63)<<2)+c>>2];m=x[v[j+188>>2]+((e|o<<4&1048560)<<1)>>1];c=m>>>0<256?1:2;h:{i:{j:{if(o>>>(e|16)&1){v[h+4>>2]=m;break j}if(!(!m|g-57344>>>0>6399&q)){v[h+4>>2]=m;break j}c=v[j+224>>2];if(!c){break i}c=Us(c,g,h+4|0,n<<24>>24);if((c|0)>-1){break j}c=0-c|0}if(!c|(c|0)>2){break i}e=v[h+4>>2];if((c|0)==1&e>>>0>127){break i}if((c|0)!=2){break h}if((e+24159&65534)>>>0>23901){break i}if((e+95&254)>>>0<94){break h}}v[h+4>>2]=65535;break e}if((e|0)==65535){break e}g=e>>>0>255;k:{if((g|0)==d<<24>>24){break k}t[f|0]=e>>>0>255?14:15;f=f+1|0;d=v[h+8>>2];if(!d){break k}c=v[a+8>>2];v[h+8>>2]=d+4;v[d>>2]=(i-c>>1)-1}l:{m:{n:{e=v[h+4>>2];if(e>>>0<=255){if(f>>>0>=k>>>0){break n}t[f|0]=e;f=f+1|0;d=v[h+8>>2];if(!d){break l}c=v[a+8>>2];v[h+8>>2]=d+4;v[d>>2]=(i-c>>1)-1;break l}e=e>>>8^-128;if(f>>>0>>0){t[f|0]=e;d=v[h+8>>2];if(d){c=v[a+8>>2];v[h+8>>2]=d+4;v[d>>2]=(i-c>>1)-1}e=w[h+4|0]^-128;c=f+1|0;if(c>>>0>>0){t[f+1|0]=e;f=f+2|0;d=v[h+8>>2];if(!d){break l}c=v[a+8>>2];v[h+8>>2]=d+4;v[d>>2]=(i-c>>1)-1;break l}f=v[a+4>>2];d=t[f+63|0];t[f+63|0]=d+1;t[(d+f|0)+76|0]=e;v[b>>2]=15;f=c;break l}d=v[a+4>>2];c=t[d+63|0];t[d+63|0]=c+1;t[(c+d|0)+76|0]=e;c=w[h+4|0];e=v[a+4>>2];d=t[e+63|0];t[e+63|0]=d+1;t[(d+e|0)+76|0]=c^128;break m}d=v[a+4>>2];c=t[d+63|0];t[d+63|0]=c+1;t[(c+d|0)+76|0]=e}v[b>>2]=15}if(i>>>0>=l>>>0){break f}e=v[a+20>>2];v[h+4>>2]=65535;d=g;c=i;if(e>>>0>f>>>0){continue}break}}v[b>>2]=15}d=g;break b}c=10;if((g&63488)!=55296){break c}c=12;if(g&1024){break c}}c=0;if(i>>>0>=l>>>0){break c}c=x[i>>1];e=(c&64512)==56320;g=e?(c+(g<<10)|0)-56613888|0:g;i=(e<<1)+i|0;c=e?10:12}v[p>>2]=c;v[v[a+4>>2]+56>>2]=g}o:{if(!(d&255)|v[b>>2]>0|(!w[a+2|0]|i>>>0>>0)){break o}j=v[a+4>>2];if(v[j+56>>2]){break o}e=v[a+8>>2];c=i-e|0;p:{if((c|0)<1){c=-1;break p}d=-1;g=c>>>1|0;c=g-1|0;if((x[e+(c<<1)>>1]&64512)!=56320){break p}if(c){d=g-2|0;if((x[e+(d<<1)>>1]&64512)!=55296){break p}}c=d}v[h+12>>2]=f;zh(j,845908,1,h+12|0,k,h+8|0,c,b);f=v[h+12>>2];d=0}v[a+16>>2]=f;v[a+8>>2]=i;v[v[a+4>>2]+52>>2]=d<<24>>24}Ma=h+16|0}function LHa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;e=Ma-48|0;Ma=e;h=v[a+464>>2];a:{b:{if(v[h+40>>2]|!v[a+280>>2]){break b}d=v[a+460>>2];v[d+24>>2]=v[d+24>>2]+(v[h+12>>2]/8|0);v[h+12>>2]=0;f=0;if(!(Qa[v[d+8>>2]](a)|0)){break a}if(v[a+336>>2]>=1){d=0;while(1){v[((d<<2)+h|0)+20>>2]=0;d=d+1|0;if((d|0)>2]){continue}break}}v[h+16>>2]=0;v[h+40>>2]=v[a+280>>2];if(v[a+436>>2]){break b}v[h+36>>2]=0}if(!v[h+36>>2]){v[e+40>>2]=a;c=v[a+24>>2];i=v[c>>2];v[e+24>>2]=i;j=v[c+4>>2];v[e+28>>2]=j;d=v[h+12>>2];g=v[h+8>>2];v[e+16>>2]=v[h+32>>2];f=v[h+28>>2];v[e+8>>2]=v[h+24>>2];v[e+12>>2]=f;f=v[h+20>>2];v[e>>2]=v[h+16>>2];v[e+4>>2]=f;if(v[a+364>>2]>=1){while(1){j=l<<2;n=v[j+b>>2];i=h+j|0;c=v[i+96>>2];c:{d:{e:{if((d|0)>7){break e}f=0;if(!Ff(e+24|0,g,d,0)){break a}g=v[e+32>>2];d=v[e+36>>2];if((d|0)>7){break e}c=Yh(e+24|0,g,d,c,1);break d}f=g>>d-8&255;k=v[(c+(f<<2)|0)+144>>2];if(k){c=w[(c+f|0)+1168|0];d=d-k|0;break c}c=Yh(e+24|0,g,d,c,9)}f=0;if((c|0)<0){break a}g=v[e+32>>2];d=v[e+36>>2]}k=v[i+136>>2];m=v[i+176>>2];f:{g:{if(m){if(c){if((c|0)>(d|0)){f=0;if(!Ff(e+24|0,g,d,c)){break a}g=v[e+32>>2];d=v[e+36>>2]}d=d-c|0;c=c<<2;f=v[c+72672>>2];i=g>>d&f;c=i-((i|0)>v[c+72668>>2]?0:f)|0}else{c=0}f=(v[(a+j|0)+368>>2]<<2)+e|0;c=c+v[f+4>>2]|0;v[f+4>>2]=c;u[n>>1]=c;i=1;if((m|0)<2){break g}while(1){h:{i:{j:{if((d|0)>7){break j}f=0;if(!Ff(e+24|0,g,d,0)){break a}g=v[e+32>>2];d=v[e+36>>2];if((d|0)>7){break j}c=Yh(e+24|0,g,d,k,1);break i}c=g>>d-8&255;f=v[(k+(c<<2)|0)+144>>2];if(f){c=w[(c+k|0)+1168|0];d=d-f|0;break h}c=Yh(e+24|0,g,d,k,9)}f=0;if((c|0)<0){break a}g=v[e+32>>2];d=v[e+36>>2]}j=c>>>4|0;c=c&15;k:{if(c){if((c|0)>(d|0)){f=0;if(!Ff(e+24|0,g,d,c)){break a}g=v[e+32>>2];d=v[e+36>>2]}j=i+j|0;d=d-c|0;c=c<<2;f=v[c+72672>>2];i=g>>d&f;u[(v[(j<<2)+70032>>2]<<1)+n>>1]=i-((i|0)>v[c+72668>>2]?0:f);break k}if((j|0)!=15){break f}j=i+15|0}i=j+1|0;if((m|0)>(i|0)){continue}break}if((j|0)<=62){break g}break f}i=1;if(!c){break g}if((c|0)>(d|0)){f=0;if(!Ff(e+24|0,g,d,c)){break a}g=v[e+32>>2];d=v[e+36>>2]}d=d-c|0}while(1){l:{m:{n:{if((d|0)>7){break n}f=0;if(!Ff(e+24|0,g,d,0)){break a}g=v[e+32>>2];d=v[e+36>>2];if((d|0)>7){break n}c=Yh(e+24|0,g,d,k,1);break m}c=g>>d-8&255;f=v[(k+(c<<2)|0)+144>>2];if(f){c=w[(c+k|0)+1168|0];d=d-f|0;break l}c=Yh(e+24|0,g,d,k,9)}f=0;if((c|0)<0){break a}g=v[e+32>>2];d=v[e+36>>2]}j=c>>>4|0;c=c&15;o:{if(c){if((c|0)>(d|0)){f=0;if(!Ff(e+24|0,g,d,c)){break a}g=v[e+32>>2];d=v[e+36>>2]}d=d-c|0;break o}c=(j|0)!=15;j=15;if(c){break f}}i=(i+j|0)+1|0;if((i|0)<64){continue}break}}l=l+1|0;if((l|0)>2]){continue}break}j=v[e+28>>2];i=v[e+24>>2];c=v[a+24>>2]}v[c+4>>2]=j;v[c>>2]=i;v[h+12>>2]=d;v[h+8>>2]=g;v[h+32>>2]=v[e+16>>2];a=v[e+12>>2];v[h+24>>2]=v[e+8>>2];v[h+28>>2]=a;a=v[e+4>>2];v[h+16>>2]=v[e>>2];v[h+20>>2]=a}v[h+40>>2]=v[h+40>>2]-1;f=1}Ma=e+48|0;return f|0}function jGa(a,b){a=a|0;b=b|0;var 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,w=0,z=0,A=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;j=Ma-128|0;Ma=j;X=v[a+328>>2]-1|0;E=v[a+448>>2];a:{b:{while(1){k=v[a+144>>2];l=v[a+152>>2];if((k|0)>(l|0)){break b}d=v[a+456>>2];if(v[d+20>>2]|(k|0)==(l|0)&y[a+148>>2]>v[a+156>>2]+!v[a+408>>2]>>>0){break b}if(Qa[v[d>>2]](a)|0){continue}break}a=0;break a}if(v[a+36>>2]>=1){n=v[a+216>>2];while(1){c:{if(!v[n+52>>2]){break c}t=v[a+156>>2];I=X>>>0<=t>>>0;d:{if(!I){d=v[n+12>>2];m=d<<1;e=d;break d}d=v[n+12>>2];l=y[n+32>>2]%(d>>>0)|0;m=l?l:d;e=m}F=e;e:{if(t){d=(Qa[v[v[a+4>>2]+32>>2]](a,v[((o<<2)+E|0)+72>>2],B(t-1|0,d),d+m|0,0)|0)+(v[n+12>>2]<<2)|0;break e}d=Qa[v[v[a+4>>2]+32>>2]](a,v[((o<<2)+E|0)+72>>2],0,m,0)|0}Y=d;if((F|0)<1){break c}Z=F-1|0;q=v[E+112>>2]+B(o,24)|0;k=v[n+80>>2];d=x[k+4>>1];J=d<<8;K=d<<7;d=x[k+18>>1];L=d<<8;M=d<<7;l=x[k>>1];_=B(l,5);d=x[k+32>>1];N=d<<8;O=d<<7;P=B(l,9);d=x[k+16>>1];Q=d<<8;R=d<<7;d=x[k+2>>1];S=d<<8;T=d<<7;U=B(l,36);d=o<<2;$=v[(d+v[a+468>>2]|0)+4>>2];G=v[b+d>>2];p=0;while(1){d=(p<<2)+Y|0;m=v[d>>2];w=p|t?v[d-4>>2]:m;V=v[n+28>>2]-1|0;z=0;A=(p|0)==(Z|0)&I?m:v[d+4>>2];C=u[A>>1];d=C;r=u[m>>1];k=r;D=u[w>>1];l=D;H=0;while(1){h=l;l=D;W=k;k=r;f=d;d=C;cb(j,m,128);if(z>>>0>>0){C=u[A+128>>1];r=u[m+128>>1];D=u[w+128>>1]}i=v[q+4>>2];if(!(x[j+2>>1]|!i)){s=j;c=B(W-r|0,U);f:{if((c|0)>=0){e=(c+T|0)/(S|0)|0;g=e;if((i|0)<1){break f}c=1<(e|0)?e:c-1|0;break f}e=(T-c|0)/(S|0)|0;c=1<0?(c|0)>(e|0)?e:c-1|0:e)|0}u[s+2>>1]=g}i=v[q+8>>2];if(!(x[j+16>>1]|!i)){s=j;c=B(l-d|0,U);g:{if((c|0)>=0){e=(c+R|0)/(Q|0)|0;g=e;if((i|0)<1){break g}c=1<(e|0)?e:c-1|0;break g}e=(R-c|0)/(Q|0)|0;c=1<0?(c|0)>(e|0)?e:c-1|0:e)|0}u[s+16>>1]=g}i=v[q+12>>2];if(!(x[j+32>>1]|!i)){s=j;c=B((l-(k<<1)|0)+d|0,P);h:{if((c|0)>=0){e=(c+O|0)/(N|0)|0;g=e;if((i|0)<1){break h}c=1<(e|0)?e:c-1|0;break h}e=(O-c|0)/(N|0)|0;c=1<0?(c|0)>(e|0)?e:c-1|0:e)|0}u[s+32>>1]=g}c=v[q+16>>2];if(!(x[j+18>>1]|!c)){g=j;f=B((h-(f+D|0)|0)+C|0,_);i:{if((f|0)>=0){h=(f+M|0)/(L|0)|0;e=h;if((c|0)<1){break i}f=1<(h|0)?h:f-1|0;break i}h=(M-f|0)/(L|0)|0;f=1<0?(f|0)>(h|0)?h:f-1|0:h)|0}u[g+18>>1]=e}c=v[q+20>>2];if(!(x[j+4>>1]|!c)){g=j;f=B((W-(k<<1)|0)+r|0,P);j:{if((f|0)>=0){h=(f+K|0)/(J|0)|0;e=h;if((c|0)<1){break j}f=1<(h|0)?h:f-1|0;break j}h=(K-f|0)/(J|0)|0;f=1<0?(f|0)>(h|0)?h:f-1|0:h)|0}u[g+4>>1]=e}Qa[$|0](a,n,j,G,H);A=A+128|0;w=w+128|0;m=m+128|0;H=v[n+36>>2]+H|0;z=z+1|0;if(V>>>0>=z>>>0){continue}break}G=(v[n+40>>2]<<2)+G|0;p=p+1|0;if((F|0)!=(p|0)){continue}break}}n=n+88|0;o=o+1|0;if((o|0)>2]){continue}break}}b=v[a+156>>2]+1|0;v[a+156>>2]=b;a=b>>>0>2]?3:4}Ma=j+128|0;return a|0}function jJ(a,b){var 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,w=0;c=v[a+36>>2];m=v[a+40>>2];l=v[a+28>>2];n=v[a+24>>2];r=l+B(n,40)|0;a:{if(b){s=8;if((n|0)<=0){break a}a=l;while(1){v[a+24>>2]=v[a+20>>2];v[a+28>>2]=v[a+8>>2];a=a+40|0;if(r>>>0>a>>>0){continue}break}break a}s=4;if((n|0)<1){break a}a=l;while(1){v[a+24>>2]=v[a+16>>2];v[a+28>>2]=v[a+4>>2];a=a+40|0;if(r>>>0>a>>>0){continue}break}}if((c|0)>=1){w=(c<<2)+m|0;while(1){j=v[m>>2];a=j;h=v[a+36>>2];b:{if(a>>>0>h>>>0){break b}c:{while(1){d:{if(x[a>>1]&s){c=a;e:while(1){d=c;g=d>>>0>=h>>>0;if(!g){c=d+40|0;if(x[d+40>>1]&s){continue}}f=1;f:{g:{e=d+40|0;c=e;k=h>>>0>>0;if(!k){while(1){if(x[c>>1]&s){break g}f=f+1|0;c=d+B(f,40)|0;if(h>>>0>=c>>>0){continue}break}}if((a|0)!=(d|0)){break f}e=v[a+24>>2]-v[a+28>>2]|0;if(!e){break b}if(a>>>0>j>>>0){break d}break c}if(f>>>0<2){continue}f=d+B(f,40)|0;o=f-40|0;f=v[d+28>>2]>v[f+28>>2];g=f?d:c;i=v[g+24>>2];g=v[g+28>>2];p=i-g|0;d=f?c:d;k=v[d+24>>2];f=v[d+28>>2];t=k-f|0;if(!((i|0)!=(k|0)&(f|0)!=(g|0))){while(1){d=v[e+28>>2];v[e+24>>2]=(d|0)>(f|0)?(d|0)<(g|0)?k:d+p|0:d+t|0;e=e+40|0;if(o>>>0>=e>>>0){continue}continue e}}u=Ub(i-k|0,g-f|0);while(1){d=e;q=d;i=v[d+28>>2];h:{if((i|0)<=(f|0)){d=i+t|0;break h}d=i+p|0;if((g|0)<=(i|0)){break h}d=xb(i-f|0,u)+k|0}v[q+24>>2]=d;e=e+40|0;if(o>>>0>=e>>>0){continue}break}continue}break}i:{if(g|k){break i}f=v[d+28>>2]>v[a+28>>2];g=f?d:a;c=v[g+24>>2];g=v[g+28>>2];o=c-g|0;f=f?a:d;k=v[f+24>>2];f=v[f+28>>2];p=k-f|0;if(!((c|0)!=(k|0)&(f|0)!=(g|0))){while(1){c=v[e+28>>2];v[e+24>>2]=(c|0)>(f|0)?(c|0)<(g|0)?k:c+o|0:c+p|0;e=e+40|0;if(h>>>0>=e>>>0){continue}break i}}t=Ub(c-k|0,g-f|0);while(1){c=e;q=c;i=v[c+28>>2];j:{if((i|0)<=(f|0)){c=i+p|0;break j}c=i+o|0;if((g|0)<=(i|0)){break j}c=xb(i-f|0,t)+k|0}v[q+24>>2]=c;e=e+40|0;if(h>>>0>=e>>>0){continue}break}}if(a>>>0<=l>>>0){break b}g=a-40|0;if(g>>>0>>0){break b}c=v[d+28>>2]>v[a+28>>2];e=c?d:a;h=v[e+24>>2];e=v[e+28>>2];k=h-e|0;a=c?a:d;d=v[a+24>>2];c=v[a+28>>2];i=d-c|0;if(!((d|0)!=(h|0)&(c|0)!=(e|0))){while(1){a=v[j+28>>2];v[j+24>>2]=(a|0)>(c|0)?(a|0)<(e|0)?d:a+k|0:a+i|0;j=j+40|0;if(g>>>0>=j>>>0){continue}break b}}u=Ub(h-d|0,e-c|0);while(1){a=j;q=a;h=v[a+28>>2];k:{if((h|0)<=(c|0)){a=h+i|0;break k}a=h+k|0;if((e|0)<=(h|0)){break k}a=xb(h-c|0,u)+d|0}v[q+24>>2]=a;j=j+40|0;if(g>>>0>=j>>>0){continue}break}break b}a=a+40|0;if(h>>>0>=a>>>0){continue}break b}break}while(1){v[j+24>>2]=e+v[j+28>>2];j=j+40|0;if(j>>>0>>0){continue}break}}c=a+40|0;if(h>>>0>>0){break b}while(1){v[a- -64>>2]=e+v[a+68>>2];a=c;c=a+40|0;if(h>>>0>=c>>>0){continue}break}}m=m+4|0;if(w>>>0>m>>>0){continue}break}}l:{if(b){if((n|0)<=0){break l}while(1){v[l+20>>2]=v[l+24>>2];l=l+40|0;if(r>>>0>l>>>0){continue}break}break l}if((n|0)<1){break l}while(1){v[l+16>>2]=v[l+24>>2];l=l+40|0;if(r>>>0>l>>>0){continue}break}}}function UK(a,b){var 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,w=0,z=0,A=0,C=0;g=Ma-32|0;d=x[a+26308>>1];if(d){m=x[a+26310>>1];e=m;while(1){e=e&65535;if(e){p=i<<1&14;n=i-1|0;s=n<<1&14;o=i+1|0;w=o<<1&14;C=v[a+26336>>2];f=v[a+26028>>2];h=0;while(1){q=x[a+26308>>1];v[g+24>>2]=0;v[g+28>>2]=0;v[g+16>>2]=0;v[g+20>>2]=0;v[g+8>>2]=0;v[g+12>>2]=0;v[g>>2]=0;v[g+4>>2]=0;j=(b|0)!=(h|0)?h:b>>>0>i>>>0?h:q-b>>>0>i>>>0?e-b|0:b;r=j&1;h=j+1|0;z=h&1;l=j-1|0;A=l&1;a:{if(n>>>0>=q>>>0){break a}k=B(e,n);if(e>>>0>l>>>0){c=(f|0)!=1?f>>>((s|A)<<1)&3:t[(x[a+26314>>1]+l&15|(x[a+26312>>1]+n&15)<<4)+194800|0];d=x[(v[a+26352>>2]+(k+l<<3)|0)+(c<<1)>>1];c=(c<<2)+g|0;v[c+16>>2]=v[c+16>>2]+1;v[c>>2]=d+v[c>>2]}if(e>>>0>j>>>0){c=(f|0)!=1?f>>>((r|s)<<1)&3:t[(x[a+26314>>1]+j&15|(x[a+26312>>1]+n&15)<<4)+194800|0];d=x[(v[a+26352>>2]+(j+k<<3)|0)+(c<<1)>>1];c=(c<<2)+g|0;v[c+16>>2]=v[c+16>>2]+1;v[c>>2]=d+v[c>>2]}if(e>>>0<=h>>>0){break a}c=(f|0)!=1?f>>>((s|z)<<1)&3:t[(x[a+26314>>1]+h&15|(x[a+26312>>1]+n&15)<<4)+194800|0];d=x[(v[a+26352>>2]+(h+k<<3)|0)+(c<<1)>>1];c=(c<<2)+g|0;v[c+16>>2]=v[c+16>>2]+1;v[c>>2]=d+v[c>>2]}b:{if(i>>>0>=q>>>0){break b}k=B(e,i);if(e>>>0>l>>>0){c=(f|0)!=1?f>>>((p|A)<<1)&3:t[(x[a+26314>>1]+l&15|(x[a+26312>>1]+i&15)<<4)+194800|0];d=x[(v[a+26352>>2]+(k+l<<3)|0)+(c<<1)>>1];c=(c<<2)+g|0;v[c+16>>2]=v[c+16>>2]+1;v[c>>2]=d+v[c>>2]}if(e>>>0>j>>>0){c=(f|0)!=1?f>>>((p|r)<<1)&3:t[(x[a+26314>>1]+j&15|(x[a+26312>>1]+i&15)<<4)+194800|0];d=x[(v[a+26352>>2]+(j+k<<3)|0)+(c<<1)>>1];c=(c<<2)+g|0;v[c+16>>2]=v[c+16>>2]+1;v[c>>2]=d+v[c>>2]}if(e>>>0<=h>>>0){break b}c=(f|0)!=1?f>>>((p|z)<<1)&3:t[(x[a+26314>>1]+h&15|(x[a+26312>>1]+i&15)<<4)+194800|0];d=x[(v[a+26352>>2]+(h+k<<3)|0)+(c<<1)>>1];c=(c<<2)+g|0;v[c+16>>2]=v[c+16>>2]+1;v[c>>2]=d+v[c>>2]}c:{if(o>>>0>=q>>>0){break c}k=B(e,o);if(e>>>0>l>>>0){c=(f|0)!=1?f>>>((w|A)<<1)&3:t[(x[a+26314>>1]+l&15|(x[a+26312>>1]+o&15)<<4)+194800|0];d=x[(v[a+26352>>2]+(k+l<<3)|0)+(c<<1)>>1];c=(c<<2)+g|0;v[c+16>>2]=v[c+16>>2]+1;v[c>>2]=d+v[c>>2]}if(e>>>0>j>>>0){c=(f|0)!=1?f>>>((r|w)<<1)&3:t[(x[a+26314>>1]+j&15|(x[a+26312>>1]+o&15)<<4)+194800|0];d=x[(v[a+26352>>2]+(j+k<<3)|0)+(c<<1)>>1];c=(c<<2)+g|0;v[c+16>>2]=v[c+16>>2]+1;v[c>>2]=d+v[c>>2]}if(e>>>0<=h>>>0){break c}d=(f|0)!=1?f>>>((w|z)<<1)&3:t[(x[a+26314>>1]+h&15|(x[a+26312>>1]+o&15)<<4)+194800|0];e=x[(v[a+26352>>2]+(h+k<<3)|0)+(d<<1)>>1];d=(d<<2)+g|0;v[d+16>>2]=v[d+16>>2]+1;v[d>>2]=e+v[d>>2]}d=(f|0)!=1?f>>>((p|r)<<1)&3:t[(x[a+26314>>1]+j&15|(x[a+26312>>1]+i&15)<<4)+194800|0];e=0;if((C|0)>=1){while(1){d:{if((d|0)==(e|0)){break d}c=e<<2;m=v[(c+g|0)+16>>2];if(!m){break d}u[(v[a+26352>>2]+(B(x[a+26310>>1],i)+j<<3)|0)+(e<<1)>>1]=y[c+g>>2]/(m>>>0)}e=e+1|0;if((C|0)!=(e|0)){continue}break}m=x[a+26310>>1]}e=m;if(h>>>0>>0){continue}break}d=x[a+26308>>1];e=m}else{e=0}i=i+1|0;if(i>>>0>>0){continue}break}}}function mY(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=Ma-32|0;Ma=g;a:{b:{d=v[a+4>>2];f=v[a+8>>2];c:{if(d>>>0>>0){if((b|0)==(d|0)){v[b>>2]=0;c=v[c>>2];v[b>>2]=c;if(c){Qa[v[v[c>>2]+8>>2]](c)|0}v[a+4>>2]=b+4;break c}e=d;i=d-4|0;if(i>>>0>>0){f=i;while(1){v[e>>2]=0;h=v[f>>2];v[e>>2]=h;if(h){Qa[v[v[h>>2]+8>>2]](h)|0}e=e+4|0;f=f+4|0;if(f>>>0>>0){continue}break}}v[a+4>>2]=e;if((d-b|0)-4|0){while(1){d=d-4|0;e=v[d>>2];i=i-4|0;f=v[i>>2];v[d>>2]=f;if(f){Qa[v[v[f>>2]+8>>2]](f)|0}if(e){Qa[v[v[e>>2]+12>>2]](e)|0}if((b|0)!=(i|0)){continue}break}e=v[a+4>>2]}a=v[b>>2];d=b;b=v[((c>>>0>>0&b>>>0<=c>>>0)<<2)+c>>2];v[d>>2]=b;if(b){Qa[v[v[b>>2]+8>>2]](b)|0}if(!a){break c}Qa[v[v[a>>2]+12>>2]](a)|0;break c}i=v[a>>2];d=(d-i>>2)+1|0;if(d>>>0>=1073741824){break b}v[g+24>>2]=a+8;e=g;f=f-i|0;h=f>>1;f=f>>2>>>0<536870911?d>>>0>h>>>0?d:h:1073741823;if(f){if(f>>>0>=1073741824){break a}d=ab(f<<2)}else{d=0}v[e+8>>2]=d;e=d+(b-i>>2<<2)|0;v[g+16>>2]=e;v[g+20>>2]=d+(f<<2);v[g+12>>2]=e;i=c;d:{e:{d=v[g+16>>2];f:{if((d|0)!=v[g+20>>2]){break f}f=v[g+12>>2];h=v[g+8>>2];if(f>>>0>h>>>0){j=((f-h>>2)+1|0)/-2<<2;c=j+f|0;if((d|0)!=(f|0)){while(1){e=v[c>>2];h=v[f>>2];v[c>>2]=h;if(h){Qa[v[v[h>>2]+8>>2]](h)|0}if(e){Qa[v[v[e>>2]+12>>2]](e)|0}c=c+4|0;f=f+4|0;if((f|0)!=(d|0)){continue}break}d=v[g+12>>2]}v[g+16>>2]=c;v[g+12>>2]=d+j;break f}c=d-h|0;c=c?c>>1:1;if(c>>>0>=1073741824){break e}e=c<<2;j=ab(e);k=e+j|0;c=j+(c&-4)|0;e=d-f|0;g:{if(!e){e=c;break g}h=e-4|0;if(h&4){d=c}else{d=v[f>>2];v[c>>2]=d;if(d){Qa[v[v[d>>2]+8>>2]](d)|0}f=f+4|0;d=c+4|0}e=c+e|0;if(h>>>0>=4){while(1){h=v[f>>2];v[d>>2]=h;if(h){Qa[v[v[h>>2]+8>>2]](h)|0}h=v[f+4>>2];v[d+4>>2]=h;if(h){Qa[v[v[h>>2]+8>>2]](h)|0}f=f+8|0;d=d+8|0;if((e|0)!=(d|0)){continue}break}}d=v[g+16>>2];f=v[g+12>>2];h=v[g+8>>2]}v[g+20>>2]=k;v[g+16>>2]=e;v[g+12>>2]=c;v[g+8>>2]=j;if((d|0)!=(f|0)){while(1){d=d-4|0;c=v[d>>2];v[d>>2]=0;if(c){Qa[v[v[c>>2]+12>>2]](c)|0}if((d|0)!=(f|0)){continue}break}}if(!h){break f}$a(h)}c=v[g+16>>2];v[c>>2]=0;e=v[i>>2];v[c>>2]=e;d=g;if(e){Qa[v[v[e>>2]+8>>2]](e)|0;c=v[g+16>>2]}v[d+16>>2]=c+4;break d}Zd(273730);L()}c=v[g+12>>2];d=c;f=v[a>>2];if((f|0)!=(b|0)){d=c;e=b;while(1){c=d-4|0;v[c>>2]=0;d=c;e=e-4|0;c=v[e>>2];v[d>>2]=c;if(c){Qa[v[v[c>>2]+8>>2]](c)|0}d=v[g+12>>2]-4|0;v[g+12>>2]=d;if((e|0)!=(f|0)){continue}break}}e=v[g+16>>2];f=v[a+4>>2];if((f|0)!=(b|0)){while(1){v[e>>2]=0;c=v[b>>2];v[e>>2]=c;if(c){Qa[v[v[c>>2]+8>>2]](c)|0}e=v[g+16>>2]+4|0;v[g+16>>2]=e;b=b+4|0;if((f|0)!=(b|0)){continue}break}d=v[g+12>>2];b=v[a+4>>2]}c=v[a>>2];v[a>>2]=d;v[g+12>>2]=c;v[a+4>>2]=e;v[g+16>>2]=b;d=v[a+8>>2];v[a+8>>2]=v[g+20>>2];v[g+8>>2]=c;v[g+20>>2]=d;if((b|0)!=(c|0)){while(1){b=b-4|0;v[g+16>>2]=b;a=v[b>>2];v[b>>2]=0;if(a){Qa[v[v[a>>2]+12>>2]](a)|0;b=v[g+16>>2]}if((b|0)!=(c|0)){continue}break}b=v[g+8>>2]}if(b){$a(b)}}Ma=g+32|0;return}Jc();L()}Zd(273730);L()}function xZ(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=Ma-432|0;Ma=c;d=w[a+11|0];e=d<<24>>24;g=w[b+11|0];f=g<<24>>24;a:{b:{i=(f|0)<0?v[b+4>>2]:g;g=v[a+4>>2];h=(e|0)<0?g:d;c:{if((i|0)==(h|0)){d=1;if(!h){break c}if(!lc((e|0)<0?v[a>>2]:a,(f|0)<0?v[b>>2]:b,h)){break c}g=v[a+4>>2];d=w[a+11|0];e=d}f=v[a>>2];v[c+208>>2]=0;v[c+24>>2]=0;e=e<<24>>24<0;Fj(e?f:a,e?g:d,c+208|0,c+24|0);d=v[c+24>>2];if(d>>>0>=4294967280){break b}g=v[c+208>>2];d:{e:{if(d>>>0>=11){f=d+16&-16;e=ab(f);v[c+424>>2]=f|-2147483648;v[c+416>>2]=e;v[c+420>>2]=d;break e}t[c+427|0]=d;e=c+416|0;if(!d){break d}}cb(e,g,d)}t[d+e|0]=0;d=v[c+208>>2];if(d){$a(d)}e=v[b>>2];g=v[b+4>>2];d=w[b+11|0];v[c+208>>2]=0;v[c+24>>2]=0;f=b;b=d<<24>>24<0;Fj(b?e:f,b?g:d,c+208|0,c+24|0);b=v[c+24>>2];if(b>>>0>=4294967280){break a}e=v[c+208>>2];f:{g:{if(b>>>0>=11){g=b+16&-16;d=ab(g);v[c+408>>2]=g|-2147483648;v[c+400>>2]=d;v[c+404>>2]=b;break g}t[c+411|0]=b;d=c+400|0;if(!b){break f}}cb(d,e,b)}t[b+d|0]=0;b=v[c+208>>2];if(b){$a(b)}v[c+316>>2]=999716;b=v[249932];v[c+208>>2]=b;d=v[b-12>>2];b=c+208|0;v[d+b>>2]=v[249933];v[c+212>>2]=0;b=b+v[v[c+208>>2]-12>>2]|0;d=c+216|0;Gr(b,d);v[b+72>>2]=0;v[b+76>>2]=-1;v[c+316>>2]=999716;v[c+208>>2]=999696;e=XO(d);v[c+128>>2]=999872;b=v[249971];v[c+24>>2]=b;d=v[b-12>>2];b=c+24|0;v[d+b>>2]=v[249972];d=b+v[v[c+24>>2]-12>>2]|0;b=b|4;Gr(d,b);v[d+72>>2]=0;v[d+76>>2]=-1;v[c+128>>2]=999872;v[c+24>>2]=999852;h=XO(b);v[c+20>>2]=0;v[c+12>>2]=0;v[c+16>>2]=0;v[c+8>>2]=520704;d=1048576;h:{if(Ik(c+8|0,a,0)){b=v[c+20>>2];a=0;v[c+20>>2]=0;v[c+16>>2]=0;d=v[c+12>>2];if(d){Fe(d);v[c+12>>2]=0}g=0;if((b|0)<1){break h}d=(b|0)<1048576?b:1048576}a=ab(d);g=ab(d);Qa[v[v[e>>2]+12>>2]](e,a,d)|0;Qa[v[v[h>>2]+12>>2]](h,g,d)|0}d=0;b=c+208|0;f=YO(b+8|0,t[c+427|0]<0?v[c+416>>2]:c+416|0,12);b=b+v[v[b>>2]-12>>2]|0;i:{if(f){fP(b);break i}_l(b,4)}b=c+24|0;f=YO(b+4|0,t[c+411|0]<0?v[c+400>>2]:c+400|0,20);b=b+v[v[b>>2]-12>>2]|0;j:{if(f){fP(b);break j}_l(b,4)}k:{if(!v[c+280>>2]|!v[c+92>>2]){break k}b=Ma-32|0;Ma=b;f=c+24|0;j=iP(b+24|0,f);l:{if(!w[j|0]){break l}if(e){i=b+16|0;v[i>>2]=e;k=b+8|0;v[k>>2]=0;v[b>>2]=v[(f+v[v[f>>2]-12>>2]|0)+24>>2];d=b;while(1){m:{if(!Mh(i,k)){break m}CD(d,sf(i));if(!v[d>>2]){break m}Zf(i);l=l+1|0;continue}break}if(l){break l}_l(f+v[v[f>>2]-12>>2]|0,4);break l}_l(f+v[v[f>>2]-12>>2]|0,1)}ED(j);Ma=b+32|0;if(!AD(e)){b=v[v[c+208>>2]-12>>2]+(c+208|0)|0;du(b,v[b+16>>2]|4)}d=1;if(AD(h)){break k}b=v[v[c+24>>2]-12>>2]+(c+24|0)|0;du(b,v[b+16>>2]|4)}if(a){$a(a)}if(g){$a(g)}v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=520704;a=v[c+12>>2];if(a){Fe(a)}a=v[249970];v[c+24>>2]=a;v[v[a-12>>2]+(c+24|0)>>2]=v[249973];Er(h);Kf(c+128|0);a=v[249931];v[c+208>>2]=a;v[v[a-12>>2]+(c+208|0)>>2]=v[249934];Er(e);Kf(c+316|0);if(t[c+411|0]<=-1){$a(v[c+400>>2])}if(t[c+427|0]>-1){break c}$a(v[c+416>>2])}Ma=c+432|0;return d}sc();L()}sc();L()}function S1a(a,b){a=a|0;b=b|0;var 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,u=0,x=0;d=Ma+-64|0;Ma=d;b=0;c=v[a+8>>2];a:{if(c&7){break a}b:{c:{b=v[a+64>>2];if((b|0)>=0&(b|0)<=v[a+60>>2]){break c}b=v[a+28>>2];v[a+28>>2]=b-1;d:{if((b|0)>=1){v[a+60>>2]=v[a+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;f=w[b|0];break d}f=Eb(a,1);if((f|0)==-1){b=0;break a}c=v[a+8>>2]}b=0;if(c&7){break a}b=v[a+64>>2];if((b|0)>=0&(b|0)<=v[a+60>>2]){break c}b=v[a+28>>2];v[a+28>>2]=b-1;if((b|0)>=1){v[a+60>>2]=v[a+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;b=w[b|0];break b}b=Eb(a,1);if((b|0)!=-1){break b}b=0;break a}v[a+8>>2]=c|4;b=0;break a}b=b&255|f<<8&65280;v[d+40>>2]=b;if((b|0)!=20551){b=0;break a}b=Ci(a);if((b|0)==-1){b=0;break a}if(!((b|0)==32|b-9>>>0<5)){b=0;break a}while(1){b=Ci(a);if((b|0)==-1){b=0;break a}if((b|0)==32|b-9>>>0<5){continue}break}c=Ci(a);if((c|0)==-1){b=0;break a}c=c<<24;f=b<<24;e:{if((f|0)==1291845632){b=1;if((c|0)==1275068416){break e}}b=0;if((f|0)!=1275068416|(c|0)!=1291845632){break a}}t[d+44|0]=b;while(1){b=Ci(a);if((b|0)==-1){b=0;break a}if(!((b|0)==32|b-9>>>0<5)){continue}break}while(1){c=Ci(a);if((c|0)==-1){b=0;break a}if((c|0)==32|c-9>>>0<5){continue}break}b=0;f:{switch(c-43|0){case 2:b=1;break;case 0:break f;default:break a}}t[d+45|0]=b;while(1){b=0;c=Ci(a);if((c|0)==-1){break a}if(!((c|0)==32|c-9>>>0<5)){continue}break}if(GL(a,d+48|0)){break a}if(GL(a,d+52|0)){break a}if(GL(a,d+56|0)){break a}c=KC();if(!c){break a}v[d+16>>2]=1;v[d+20>>2]=1;v[d+8>>2]=0;v[d+12>>2]=0;h=v[d+52>>2];v[d+24>>2]=h;i=v[d+56>>2];v[d+28>>2]=i;e=v[d+48>>2];v[d+32>>2]=e;k=w[d+45|0];v[d+36>>2]=k;g:{h:{if(hr(c,0,d+8|0)){break h}f=Oj(1,h);if(!f){break h}if(!i){break g}l=(e+7|0)/8|0;i:{if(!h){a=0;while(1){if(mj(c,0,0,a,0,1,f)){break i}a=a+1|0;if((i|0)!=(a|0)){continue}break}break g}if((e|0)>32){break i}j:{k:{if((e|0)>=1){q=(l|0)>1?l:1;r=1<>2];if(g&7){break i}p=v[a+64>>2];if((p|0)>=0&v[a+60>>2]>=(p|0)){break k}g=v[a+28>>2];v[a+28>>2]=g-1;l:{if((g|0)>=1){v[a+60>>2]=v[a+60>>2]+1;g=v[a+24>>2];v[a+24>>2]=g+1;g=w[g|0];break l}g=Eb(a,1);if((g|0)==-1){break i}}m=(g&255)<<((x?(e^-1)+l|0:e)<<3)|m;e=e+1|0;if((q|0)!=(e|0)){continue}break}e=m&u;if((e|0)<0){break i}e=e&s;v[v[v[f+28>>2]>>2]+(j<<2)>>2]=e-(k?e&r?o:0:0);j=j+1|0;if((j|0)!=(h|0)){continue}break}if(mj(c,0,0,n,h,1,f)){break i}n=n+1|0;if((n|0)!=(i|0)){continue}break}break g}e=h<<2;a=0;if(k){break j}while(1){eb(v[v[f+28>>2]>>2],0,e);if(mj(c,0,0,a,h,1,f)){break i}a=a+1|0;if((i|0)!=(a|0)){continue}break}break g}v[a+8>>2]=g|4;break i}while(1){eb(v[v[f+28>>2]>>2],0,e);if(mj(c,0,0,a,h,1,f)){break i}a=a+1|0;if((i|0)!=(a|0)){continue}break}break g}ve(f)}Og(c);break a}ve(f);v[c+28>>2]=769;v[v[v[c+24>>2]>>2]+40>>2]=0;b=c}Ma=d- -64|0;return b|0}function GIa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=v[a+408>>2];f=v[a+464>>2];a:{if(v[a+224>>2]){c=v[a+412>>2];b:{c:{d:{if(!b){if(!c){break d}break c}if((b|0)>(c|0)|(c|0)>v[a+432>>2]|v[a+336>>2]!=1){break c}}c=v[a+416>>2];e:{if(!c){e=v[a+420>>2];break e}e=c-1|0;if((e|0)!=v[a+420>>2]){break c}}if((e|0)<14){break b}}c=v[a>>2];v[c+24>>2]=b;v[c+20>>2]=17;v[v[a>>2]+28>>2]=v[a+412>>2];v[v[a>>2]+32>>2]=v[a+416>>2];v[v[a>>2]+36>>2]=v[a+420>>2];Qa[v[v[a>>2]>>2]](a)}b=v[a+336>>2];if((b|0)>=1){e=0;while(1){d=v[v[((e<<2)+a|0)+340>>2]+4>>2];g=v[a+160>>2];c=v[a+408>>2];b=0;f:{if(!c){break f}b=c;if(v[g+(d<<8)>>2]>-1){break f}b=v[a>>2];v[b+24>>2]=d;v[b+20>>2]=118;v[v[a>>2]+28>>2]=0;Qa[v[v[a>>2]+4>>2]](a,-1);b=v[a+408>>2]}if((b|0)<=v[a+412>>2]){while(1){c=(g+(d<<8)|0)+(b<<2)|0;h=v[c>>2];if(v[a+416>>2]!=(((h|0)>0?h:0)|0)){h=v[a>>2];v[h+24>>2]=d;v[h+20>>2]=118;v[v[a>>2]+28>>2]=b;Qa[v[v[a>>2]+4>>2]](a,-1)}v[c>>2]=v[a+420>>2];c=v[a+412>>2]>(b|0);b=b+1|0;if(c){continue}break}}b=v[a+336>>2];e=e+1|0;if((b|0)>(e|0)){continue}break}}e=v[a+408>>2];v[f+4>>2]=v[a+416>>2]?e?268:269:e?270:271;g:{if((b|0)<1){break g}b=0;while(1){d=b<<2;c=v[(d+a|0)+340>>2];h:{if(!e){if(v[a+416>>2]){break h}c=v[c+20>>2];RA(a,1,c,((c<<2)+f|0)+44|0);break h}e=v[c+24>>2];c=(e<<2)+f|0;RA(a,0,e,c+44|0);v[f+60>>2]=v[c+44>>2]}v[(d+f|0)+20>>2]=0;b=b+1|0;if((b|0)>=v[a+336>>2]){break g}e=v[a+408>>2];continue}}v[f+16>>2]=0;break a}i:{if(!(v[a+420>>2]|(v[a+416>>2]|b))){b=v[a+412>>2];if(!v[a+220>>2]&(b|0)>63|(b|0)==v[a+432>>2]){break i}}b=v[a>>2];v[b+20>>2]=125;Qa[v[b+4>>2]](a,-1)}v[f+4>>2]=v[a+432>>2]==63?272:273;b=0;if(v[a+336>>2]>0){while(1){c=b<<2;d=v[(c+a|0)+340>>2];g=v[d+20>>2];RA(a,1,g,((g<<2)+f|0)- -64|0);if(v[a+432>>2]){d=v[d+24>>2];RA(a,0,d,((d<<2)+f|0)+80|0)}v[(c+f|0)+20>>2]=0;b=b+1|0;if((b|0)>2]){continue}break}}if(v[a+364>>2]<=0){break a}while(1){b=e<<2;g=b+f|0;b=v[((v[(a+b|0)+368>>2]<<2)+a|0)+340>>2];v[g+96>>2]=v[((v[b+20>>2]<<2)+f|0)- -64>>2];v[g+136>>2]=v[((v[b+24>>2]<<2)+f|0)+80>>2];j:{if(!v[b+52>>2]){b=0;break j}c=v[b+36>>2];d=v[b+40>>2];b=1;k:{l:{switch(v[a+432>>2]){case 3:b=(((d|0)!=1)<<3|((c|0)!=1)<<2)+71824|0;break k;case 8:b=d-1|0;d=B(b>>>0<2?b:2,12);b=c-1|0;b=(d+((b>>>0<2?b:2)<<2)|0)+71840|0;break k;case 15:b=d-1|0;d=(b>>>0<3?b:3)<<4;b=c-1|0;b=(d+((b>>>0<3?b:3)<<2)|0)+71888|0;break k;case 24:b=d-1|0;d=B(b>>>0<4?b:4,20);b=c-1|0;b=(d+((b>>>0<4?b:4)<<2)|0)+71952|0;break k;case 35:b=d-1|0;d=B(b>>>0<5?b:5,24);b=c-1|0;b=(d+((b>>>0<5?b:5)<<2)|0)+72064|0;break k;case 48:b=d-1|0;d=B(b>>>0<6?b:6,28);b=c-1|0;b=(d+((b>>>0<6?b:6)<<2)|0)+72208|0;break k;case 0:break j;default:break l}}b=d-1|0;d=(b>>>0<7?b:7)<<5;b=c-1|0;b=(d+((b>>>0<7?b:7)<<2)|0)+72416|0}b=v[b>>2]+1|0}v[g+176>>2]=b;e=e+1|0;if((e|0)>2]){continue}break}}v[f+36>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;v[f+40>>2]=v[a+280>>2]}function iEa(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;k=Ma-16|0;Ma=k;i=cc(a,2496,k+12|0);e=v[k+12>>2];if(!e){v[i>>2]=a;v[i+212>>2]=x[b+120>>1];d=w[b+124|0];a:{if(!d){break a}j=d-1|0;a=i+224|0;e=b+128|0;f=d&7;b:{if(!f){g=d;break b}g=d;while(1){v[a>>2]=u[e>>1];g=g-1|0;e=e+2|0;a=a+12|0;f=f-1|0;if(f){continue}break}}if(j>>>0<7){break a}while(1){v[a>>2]=u[e>>1];v[a+12>>2]=u[e+2>>1];v[a+24>>2]=u[e+4>>1];v[a+36>>2]=u[e+6>>1];v[a+48>>2]=u[e+8>>1];v[a+60>>2]=u[e+10>>1];v[a+72>>2]=u[e+12>>1];v[a+84>>2]=u[e+14>>1];e=e+16|0;a=a+96|0;g=g-8|0;if(g){continue}break}}g=1;v[i+208>>2]=d+1;v[i+8>>2]=x[b+122>>1];d=w[b+125|0];c:{if(!d){break c}j=d-1|0;a=i+20|0;e=b+154|0;h=d&7;d:{if(!h){f=d;break d}f=d;while(1){v[a>>2]=u[e>>1];f=f-1|0;e=e+2|0;a=a+12|0;h=h-1|0;if(h){continue}break}}if(j>>>0<7){break c}while(1){v[a>>2]=u[e>>1];v[a+12>>2]=u[e+2>>1];v[a+24>>2]=u[e+4>>1];v[a+36>>2]=u[e+6>>1];v[a+48>>2]=u[e+8>>1];v[a+60>>2]=u[e+10>>1];v[a+72>>2]=u[e+12>>1];v[a+84>>2]=u[e+14>>1];e=e+16|0;a=a+96|0;f=f-8|0;if(f){continue}break}}v[i+4>>2]=d+1;f=0;a=i+412|0;b_(a,w[b+8|0],b+12|0,w[b+9|0],b+40|0,v[b+116>>2],0);b_(a,w[b+10|0],b+60|0,w[b+11|0],b+88|0,v[b+116>>2],1);a=w[b+8|0];e:{if(!a){break e}d=a-1|0;a=(d>>>1|0)+1|0;j=a&1;if(d>>>0>=2){h=a&-2;e=b+12|0;while(1){a=f<<1;d=x[e+(a|6)>>1]-x[e+(a|4)>>1]|0;a=x[e+(a|2)>>1]-x[a+e>>1]|0;a=a<<16>>16>g<<16>>16?a:g;g=d<<16>>16>a<<16>>16?d:a;f=f+4|0;h=h-2|0;if(h){continue}break}}if(!j){break e}a=b+12|0;d=f<<1;a=x[a+(d|2)>>1]-x[a+d>>1]|0;g=a<<16>>16>g<<16>>16?a:g}a=w[b+9|0];f:{if(!a){break f}d=a-1|0;a=(d>>>1|0)+1|0;j=a&1;g:{if(d>>>0<2){f=0;break g}h=a&-2;f=0;e=b+40|0;while(1){a=f<<1;d=x[e+(a|6)>>1]-x[e+(a|4)>>1]|0;a=x[e+(a|2)>>1]-x[a+e>>1]|0;a=a<<16>>16>g<<16>>16?a:g;g=d<<16>>16>a<<16>>16?d:a;f=f+4|0;h=h-2|0;if(h){continue}break}}if(!j){break f}a=b+40|0;d=f<<1;a=x[a+(d|2)>>1]-x[a+d>>1]|0;g=a<<16>>16>g<<16>>16?a:g}a=w[b+10|0];h:{if(!a){break h}d=a-1|0;a=(d>>>1|0)+1|0;j=a&1;i:{if(d>>>0<2){f=0;break i}h=a&-2;f=0;e=b+60|0;while(1){a=f<<1;d=x[e+(a|6)>>1]-x[e+(a|4)>>1]|0;a=x[e+(a|2)>>1]-x[a+e>>1]|0;a=a<<16>>16>g<<16>>16?a:g;g=d<<16>>16>a<<16>>16?d:a;f=f+4|0;h=h-2|0;if(h){continue}break}}if(!j){break h}a=b+60|0;d=f<<1;a=x[a+(d|2)>>1]-x[a+d>>1]|0;g=a<<16>>16>g<<16>>16?a:g}a=w[b+11|0];j:{if(!a){break j}d=a-1|0;a=(d>>>1|0)+1|0;j=a&1;k:{if(d>>>0<2){f=0;break k}h=a&-2;f=0;e=b+88|0;while(1){a=f<<1;d=x[e+(a|6)>>1]-x[e+(a|4)>>1]|0;a=x[e+(a|2)>>1]-x[a+e>>1]|0;a=a<<16>>16>g<<16>>16?a:g;g=d<<16>>16>a<<16>>16?d:a;f=f+4|0;h=h-2|0;if(h){continue}break}}if(!j){break j}a=b+88|0;d=f<<1;a=x[a+(d|2)>>1]-x[a+d>>1]|0;g=a<<16>>16>g<<16>>16?a:g}d=Ub(1e3,g<<16>>16);a=v[b+108>>2];v[i+2476>>2]=(a|0)<(d|0)?a:d;v[i+2480>>2]=v[b+112>>2];a=v[b+116>>2];v[i+404>>2]=0;v[i+408>>2]=0;v[i+200>>2]=0;v[i+204>>2]=0;v[i+2488>>2]=a;e=v[k+12>>2]}v[c>>2]=i;Ma=k+16|0;return e|0}function ZVa(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,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,z=0,A=0,B=0;if(w[a+288|0]?1:w[a+286|0]|!w[a+285|0]){ob(a,1029,0,0);return 1029}if(c>>>0>=21){ob(a,1028,0,0);return 1028}h=1;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{if(c>>>0>20){break l}i=1;m:{if(!(1<>>0>5){break m}h=0;if(w[d+8|0]|w[d+10|0]|(w[d+12|0]|w[d+14|0])){break m}if(w[d+16|0]){break m}}g=w[d+2|0]|w[d+3|0]<<8;o=g<<8|g>>>8;g=w[d|0]|w[d+1|0]<<8;p=g<<8|g>>>8;g=w[d+5|0];if(c>>>0<7){f=g;h=1;break i}f=w[d+6|0]|w[d+7|0]<<8;i=f<<8|f>>>8;if(c>>>0<9){break b}f=w[d+8|0]|w[d+9|0]<<8;h=f<<8|f>>>8;if(c>>>0<11){break e}f=w[d+10|0]|w[d+11|0]<<8;k=f<<8|f>>>8;if(c>>>0<13){break f}f=w[d+12|0]|w[d+13|0]<<8;l=f<<8|f>>>8;if(c>>>0<15){break g}f=w[d+14|0]|w[d+15|0]<<8;m=f<<8|f>>>8;if(c>>>0<17){break h}f=w[d+16|0]|w[d+17|0]<<8;j=f<<8|f>>>8;n=19;f=g;if(c>>>0>18){break k}break a}i=h&255|f<<8;c=w[d+15|0]|w[d+16|0]<<8;j=c<<8|c>>>8;c=w[d+13|0]|w[d+14|0]<<8;m=c<<8|c>>>8;c=w[d+11|0]|w[d+12|0]<<8;l=c<<8|c>>>8;c=w[d+9|0]|w[d+10|0]<<8;k=c<<8|c>>>8;c=w[d+7|0]|w[d+8|0]<<8;h=c<<8|c>>>8;c=w[d+2|0]|w[d+3|0]<<8;o=c<<8|c>>>8;c=w[d|0]|w[d+1|0]<<8;p=c<<8|c>>>8;n=17;break k}f=w[d|0]|w[d+1|0]<<8;p=f<<8|f>>>8;n:{o:{if(c>>>0<3){o=p;break o}f=w[d+2|0]|w[d+3|0]<<8;o=f<<8|f>>>8;if(c>>>0>=5){break n}}f=0;break j}g=w[d+4|0];if((c|0)==5){f=g;break j}f=w[d+5|0]|w[d+6|0]<<8;i=f<<8|f>>>8;if(c>>>0<8){break b}f=w[d+7|0]|w[d+8|0]<<8;h=f<<8|f>>>8;if(c>>>0<10){break e}f=w[d+9|0]|w[d+10|0]<<8;k=f<<8|f>>>8;if(c>>>0<12){break f}f=w[d+11|0]|w[d+12|0]<<8;l=f<<8|f>>>8;if(c>>>0<14){break g}f=w[d+13|0]|w[d+14|0]<<8;m=f<<8|f>>>8;if(c>>>0<16){break h}f=w[d+15|0]|w[d+16|0]<<8;j=f<<8|f>>>8;n=17;f=g;if(c>>>0<18){break a}}f=w[d+n|0];break a}i=1}k=1;l=1;m=1;j=1;break a}f=g;j=h;break a}f=g;break c}f=g;break d}k=i;f=g}l=i}m=h;j=h;break a}f=g;h=i;k=h;l=h;m=h;j=h}if(!((f&255)>>>0<6&g>>>0<=5)){ob(a,1064,0,0);return 1064}d=p&65535;n=o&65535;r=i&65535;s=h&65535;x=k&65535;y=l&65535;z=m&65535;A=j&65535;B=f&255;c=Qa[v[a+152>>2]](48)|0;p:{if(!c){ob(a,1,0,0);c=1;break p}v[c+4>>2]=747;v[c>>2]=748;q=v[a+700>>2];q:{if(q){v[q+8>>2]=c;break q}v[a+696>>2]=c}v[c+8>>2]=0;v[c+12>>2]=q;v[a+700>>2]=c;v[c+16>>2]=v[a+436>>2];v[c+20>>2]=v[a+440>>2];v[c+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=c}t[c+46|0]=B;u[c+44>>1]=A;u[c+42>>1]=z;u[c+40>>1]=y;u[c+38>>1]=x;u[c+36>>1]=s;u[c+34>>1]=r;t[c+32|0]=g;u[c+30>>1]=n;u[c+28>>1]=d;c=Y3(a,d,n,g,r,s,x,y,z,A,B)}r:{if(c){break r}c=0;if(!w[a+112|0]){break r}c=Qa[v[b+4>>2]](a,b,e)|0;if(c){break r}a=v[e>>2];t[a+50|0]=f;u[a+48>>1]=j;u[a+46>>1]=m;u[a+44>>1]=l;u[a+42>>1]=k;u[a+40>>1]=h;u[a+38>>1]=i;t[a+36|0]=g;u[a+34>>1]=o;u[a+32>>1]=p;c=0}return c|0}function Nja(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;c=Ma-80|0;Ma=c;a:{b:{c:{d:{e:{f:{h=b+8|0;g:{if(ff(d,h)){d=v[b+44>>2];if(!d){v[a>>2]=0;break g}v[d+4>>2]=v[d+4>>2]+1;v[a>>2]=v[b+44>>2];break g}if(!w[b+89|0]){break a}f=v[b+136>>2];if(f){while(1){h:{e=v[f+8>>2];i:{if(e){v[e+4>>2]=v[e+4>>2]+1;e=v[f+8>>2];if(ff(e+24|0,d)){break i}if(!e){break h}g=v[e+4>>2]-1|0;v[e+4>>2]=g;if(g){break h}g=v[e+4>>2];if(!g){v[e+4>>2]=-32767}if(!g){Qa[v[v[e>>2]+4>>2]](e)}break h}if(!ff(24,d)){break h}e=0}b=c+32|0;gT(b);d=e- -64|0;jb(d,b);b=v[c+32>>2];v[c+32>>2]=0;j:{if(!b){break j}f=v[b+4>>2]-1|0;v[b+4>>2]=f;if(f){break j}f=v[b+4>>2];if(!f){v[b+4>>2]=-32767}if(!f){Qa[v[v[b>>2]+4>>2]](b)}}b=v[d>>2];if(b){v[b+4>>2]=v[b+4>>2]+1;b=v[d>>2]}else{b=0}v[a>>2]=b;a=v[e+4>>2]-1|0;v[e+4>>2]=a;if(a){break g}a=v[e+4>>2];if(!a){v[e+4>>2]=-32767}if(!a){Qa[v[v[e>>2]+4>>2]](e)}break g}f=v[f>>2];if(f){continue}break}}v[c+72>>2]=0;k:{if(v[b+92>>2]&1){l:{m:{switch(v[b+56>>2]-1|0){case 0:if(!(v[b+92>>2]&2)){break l}e=c+32|0;vj(e,d);f=ff(e,h);Ky(e);if(!f){break f}f=v[b+108>>2];e=c+32|0;fh(e,d);MS(c+8|0,f,e);db(e);e=v[c+8>>2];if(!e){break e}d=c+32|0;Tu(d,b+44|0,v[e+20>>2],v[e+24>>2]);jb(c+72|0,d);db(d);db(c+8|0);break l;case 2:if(!(v[b+92>>2]&2)){break l}e=c+32|0;vj(e,d);f=ff(e,h);Ky(e);if(!f){break d}f=v[b+48>>2];e=c+32|0;fh(e,d);Vp(c+8|0,f,e);db(e);e=v[c+8>>2];if(!e){break c}d=c+32|0;Tu(d,b+44|0,v[e+8>>2],v[e+12>>2]);jb(c+72|0,d);db(d);db(c+8|0);break l;case 1:case 3:case 4:break m;default:break l}}if(!(!(v[b+92>>2]&2)|v[b+56>>2]!=4)){b=v[b+48>>2];e=c+32|0;fh(e,d);Vp(c+24|0,b,e);b=v[c+24>>2];v[c+24>>2]=0;if(!b){break b}e=v[b+4>>2]-1|0;v[b+4>>2]=e;if(!e){e=v[b+4>>2];if(!e){v[b+4>>2]=-32767}if(!e){Qa[v[v[b>>2]+4>>2]](b)}}db(c+32|0)}if(!bg(d)){break l}b=c+32|0;cT(b,d);jb(c+72|0,b);b=v[c+32>>2];v[c+32>>2]=0;if(!b){break l}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break l}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}b=v[c+72>>2];if(b){break k}}v[a>>2]=0;break g}v[b+4>>2]=v[b+4>>2]+1;b=a;a=v[c+72>>2];v[b>>2]=a;v[c+72>>2]=0;if(!a){break g}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break g}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=c+80|0;return}a=c+16|0;Sf(a,d);Rc(c+24|0,348696,a);a=v[c+24>>2];lb(mb(c+32|0,v[(a?a+12|0:1117e3)>>2],240864,1511,334851));L()}a=c+16|0;fh(a,d);Rc(c+24|0,348668,a);a=v[c+24>>2];lb(mb(c+32|0,v[(a?a+12|0:1117e3)>>2],240864,1516,334851));L()}a=c+16|0;Sf(a,d);Rc(c+24|0,348696,a);a=v[c+24>>2];lb(mb(c+32|0,v[(a?a+12|0:1117e3)>>2],240864,1530,334851));L()}a=c+16|0;fh(a,d);Rc(c+24|0,348668,a);a=v[c+24>>2];lb(mb(c+32|0,v[(a?a+12|0:1117e3)>>2],240864,1536,334851));L()}a=c+32|0;db(a);b=c+16|0;Sf(b,d);Rc(c+24|0,348939,b);b=a;a=v[c+24>>2];lb(mb(b,v[(a?a+12|0:1117e3)>>2],240864,1549,334851));L()}lb(mb(c+32|0,231515,240864,286,226712));L()}function WB(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;e=w[c+52|0]|w[c+53|0]<<8|(w[c+54|0]<<16|w[c+55|0]<<24);t[c+44|0]=e;t[c+45|0]=e>>>8;t[c+46|0]=e>>>16;t[c+47|0]=e>>>24;e=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);t[c+12|0]=e;t[c+13|0]=e>>>8;t[c+14|0]=e>>>16;t[c+15|0]=e>>>24;d=1;a:{if((b|0)>=1){while(1){b:{c:{if((d|0)==1){t[c+16|0]=1;t[c+17|0]=0;t[c+18|0]=0;t[c+19|0]=0;Mn(a,w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24),c);b=b-1|0;break c}if((b|0)<(d|0)){break b}t[c+16|0]=d;t[c+17|0]=d>>>8;t[c+18|0]=d>>>16;t[c+19|0]=d>>>24;Mn(a,((w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24))+d|0)-2|0,c);b=b-d|0}e=w[c+32|0]|w[c+33|0]<<8|(w[c+34|0]<<16|w[c+35|0]<<24);d=e?d+1|0:1;if((b|0)>0){continue}break a}break}e=(w[c+16|0]|w[c+17|0]<<8|(w[c+18|0]<<16|w[c+19|0]<<24))+1|0;t[c+16|0]=e;t[c+17|0]=e>>>8;t[c+18|0]=e>>>16;t[c+19|0]=e>>>24;d=a;if((b|0)==1){b=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24)}else{b=((w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24))+b|0)-2|0}Mn(d,b,c)}e=w[c+32|0]|w[c+33|0]<<8|(w[c+34|0]<<16|w[c+35|0]<<24)}d=w[c+48|0]|w[c+49|0]<<8|(w[c+50|0]<<16|w[c+51|0]<<24);t[c+44|0]=d;t[c+45|0]=d>>>8;t[c+46|0]=d>>>16;t[c+47|0]=d>>>24;if((d|0)<=(e|0)){b=w[c+68|0]|w[c+69|0]<<8|(w[c+70|0]<<16|w[c+71|0]<<24);f=b+(w[c+24|0]|w[c+25|0]<<8|(w[c+26|0]<<16|w[c+27|0]<<24))|0;t[c+68|0]=f;t[c+69|0]=f>>>8;t[c+70|0]=f>>>16;t[c+71|0]=f>>>24;b=w[c+64|0]|w[c+65|0]<<8|(w[c+66|0]<<16|w[c+67|0]<<24)|(w[c+56|0]|w[c+57|0]<<8|(w[c+58|0]<<16|w[c+59|0]<<24))<>>8;t[c+66|0]=b>>>16;t[c+67|0]=b>>>24;e=c;h=c;if((f|0)>=8){i=c+72|0;d=w[c+328|0]|w[c+329|0]<<8|(w[c+330|0]<<16|w[c+331|0]<<24);while(1){f=d+1|0;t[c+328|0]=f;t[c+329|0]=f>>>8;t[c+330|0]=f>>>16;t[c+331|0]=f>>>24;t[(c+d|0)+72|0]=b;d=w[c+328|0]|w[c+329|0]<<8|(w[c+330|0]<<16|w[c+331|0]<<24);if((d|0)>=255){b=v[a+1096>>2];Qa[v[v[b>>2]+44>>2]](b,d&255)|0;b=v[a+1096>>2];Qa[v[v[b>>2]+16>>2]](b,i,1,w[c+328|0]|w[c+329|0]<<8|(w[c+330|0]<<16|w[c+331|0]<<24))|0;t[c+328|0]=0;t[c+329|0]=0;t[c+330|0]=0;t[c+331|0]=0;d=0}b=(w[c+64|0]|w[c+65|0]<<8|(w[c+66|0]<<16|w[c+67|0]<<24))>>>8|0;t[c+64|0]=b;t[c+65|0]=b>>>8;t[c+66|0]=b>>>16;t[c+67|0]=b>>>24;g=w[c+68|0]|w[c+69|0]<<8|(w[c+70|0]<<16|w[c+71|0]<<24);f=g-8|0;t[c+68|0]=f;t[c+69|0]=f>>>8;t[c+70|0]=f>>>16;t[c+71|0]=f>>>24;if((g|0)>15){continue}break}a=w[c+48|0]|w[c+49|0]<<8|(w[c+50|0]<<16|w[c+51|0]<<24)}else{a=d}t[h+44|0]=a;t[e+45|0]=a>>>8;t[e+46|0]=a>>>16;t[e+47|0]=a>>>24;t[c+32|0]=0;t[c+33|0]=0;t[c+34|0]=0;t[c+35|0]=0;t[c+16|0]=0;t[c+17|0]=0;t[c+18|0]=0;t[c+19|0]=0;t[c+20|0]=1;t[c+21|0]=0;t[c+22|0]=0;t[c+23|0]=0;a=w[c+28|0]|w[c+29|0]<<8|(w[c+30|0]<<16|w[c+31|0]<<24);t[c+24|0]=a;t[c+25|0]=a>>>8;t[c+26|0]=a>>>16;t[c+27|0]=a>>>24;a=w[c+40|0]|w[c+41|0]<<8|(w[c+42|0]<<16|w[c+43|0]<<24);t[c+36|0]=a;t[c+37|0]=a>>>8;t[c+38|0]=a>>>16;t[c+39|0]=a>>>24}}function aLa(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;i=Ma-160|0;Ma=i;a:{b:{if(Kb(a,310235,13)){break b}c:{switch(w[a+13|0]){case 0:case 9:case 10:case 13:case 32:break c;default:break b}}a=v[e+32>>2];d:{e:{if(!a|!v[a+72>>2]){break e}if(!Bl(309390,v[a+92>>2])){break e}if(v[a+80>>2]){break d}}b=v[e+32>>2];a=u[b+12>>1];v[b+40>>2]=a;v[i+16>>2]=a;a=i+32|0;Dc(a,288693,i+16|0);c=Jq(v[e+32>>2],309390,a);if(c){break a}}a=v[e+32>>2];f:{g:{if(!a|!v[a+72>>2]){break g}if(!Bl(309345,v[a+92>>2])){break g}if(v[a+80>>2]){break f}}b=v[e+32>>2];a=u[b+14>>1];v[b+44>>2]=a;v[i>>2]=a;a=i+32|0;Dc(a,288693,i);c=Jq(v[e+32>>2],309345,a);if(c){break a}}v[e>>2]=v[e>>2]&-17;v[d>>2]=1931;c=0;break a}h:{if(Kb(a,310249,21)){break h}c=0;switch(w[a+21|0]){case 0:case 9:case 10:case 13:case 32:break a;default:break h}}i:{if(Kb(a,309303,7)){break i}c=a+7|0;j:{switch(w[a+7|0]){case 9:case 10:case 13:case 32:t[a+7|0]=0;c=a+8|0;break;case 0:break j;default:break i}}c=Jq(v[e+32>>2],a,c);break a}g=v[e+32>>2];c=a;k:{while(1){l:{f=-1;m:{n:{d=w[c|0];switch(d|0){case 0:break k;case 9:break l;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break m;default:break n}}if((d|0)==32){break l}}c=c+1|0;continue}break}t[c|0]=0;f=d}d=0;o:{if(!a|!w[a|0]){break o}h=Bl(a,g+112|0);if(!h){break o}d=v[h>>2];if(d>>>0>=83){d=(v[g+104>>2]+(d<<4)|0)-1328|0;break o}d=(d<<4)+424240|0}if((f|0)!=-1){t[c|0]=f}if(!(v[d+4>>2]!=1?d:0)){if(w[c|0]){t[c|0]=0;c=c+1|0}f=a+b|0;while(1){b=w[c|0];if(!((b|0)!=32&(b|0)!=9)){c=c+1|0;continue}break}b=((b|0)==34)+c|0;p:{if(b>>>0>=f>>>0){break p}while(1){q:{r:{f=f-1|0;switch(w[f|0]-9|0){case 25:break q;case 0:case 23:break r;default:break p}}t[f|0]=0;if(b>>>0>>0){continue}break p}break}t[f|0]=0}c=Jq(v[e+32>>2],a,b);break a}c=Kk(e+40|0,326457,a,b);if(c){break a}b=v[e+40>>2];l=v[b>>2];f=0;s:{t:{u:{a=v[e+48>>2];switch(a|0){case 0:break s;case 1:break u;default:break t}}v[e+48>>2]=0;break s}v[b>>2]=v[b+4>>2];c=1;g=a-1|0;v:{if((g|0)==1){break v}h=a-2|0;b=h&3;d=1;if(a-3>>>0>=3){h=h&-4;while(1){j=v[e+40>>2];a=c<<2;m=j+a|0;k=j;j=d<<2;v[m>>2]=v[(k+j|0)+4>>2];k=v[e+40>>2];v[(k+a|0)+4>>2]=v[(j+k|0)+8>>2];k=v[e+40>>2];v[(k+a|0)+8>>2]=v[(j+k|0)+12>>2];j=a;a=v[e+40>>2];d=d+4|0;v[(j+a|0)+12>>2]=v[a+(d<<2)>>2];c=c+4|0;h=h-4|0;if(h){continue}break}}if(!b){break v}while(1){a=v[e+40>>2];d=d+1|0;v[a+(c<<2)>>2]=v[a+(d<<2)>>2];c=c+1|0;b=b-1|0;if(b){continue}break}}v[e+48>>2]=g;if(!g){break s}d=0;a=v[v[e+40>>2]>>2];c=a;b=0;while(1){f=w[c|0];if(f){while(1){t[a+d|0]=f;d=d+1|0;f=w[c+1|0];c=c+1|0;if(f){continue}break}g=v[e+48>>2]}b=b+1|0;if(g>>>0>b>>>0){t[a+d|0]=32;g=v[e+48>>2];d=d+1|0}if(b>>>0>>0){c=v[v[e+40>>2]+(b<<2)>>2];continue}break}f=425584;if((a|0)==425584){break s}t[a+d|0]=0;f=a}c=Jq(v[e+32>>2],l,f)}Ma=i+160|0;return c|0}function IJa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=v[a+408>>2];e=v[a+464>>2];a:{if(v[a+224>>2]){c=v[a+412>>2];b:{c:{d:{if(!b){if(!c){break d}break c}if((b|0)>(c|0)|(c|0)>v[a+432>>2]|v[a+336>>2]!=1){break c}}c=v[a+416>>2];e:{if(!c){d=v[a+420>>2];break e}d=c-1|0;if((d|0)!=v[a+420>>2]){break c}}if((d|0)<14){break b}}c=v[a>>2];v[c+24>>2]=b;v[c+20>>2]=17;v[v[a>>2]+28>>2]=v[a+412>>2];v[v[a>>2]+32>>2]=v[a+416>>2];v[v[a>>2]+36>>2]=v[a+420>>2];Qa[v[v[a>>2]>>2]](a)}b=v[a+336>>2];if((b|0)>=1){d=0;while(1){g=v[v[((d<<2)+a|0)+340>>2]+4>>2];f=v[a+160>>2];c=v[a+408>>2];b=0;f:{if(!c){break f}b=c;if(v[f+(g<<8)>>2]>-1){break f}b=v[a>>2];v[b+24>>2]=g;v[b+20>>2]=118;v[v[a>>2]+28>>2]=0;Qa[v[v[a>>2]+4>>2]](a,-1);b=v[a+408>>2]}if((b|0)<=v[a+412>>2]){while(1){c=(f+(g<<8)|0)+(b<<2)|0;h=v[c>>2];if(v[a+416>>2]!=(((h|0)>0?h:0)|0)){h=v[a>>2];v[h+24>>2]=g;v[h+20>>2]=118;v[v[a>>2]+28>>2]=b;Qa[v[v[a>>2]+4>>2]](a,-1)}v[c>>2]=v[a+420>>2];c=v[a+412>>2]>(b|0);b=b+1|0;if(c){continue}break}}b=v[a+336>>2];d=d+1|0;if((b|0)>(d|0)){continue}break}}c=v[a+408>>2];if(!v[a+416>>2]){if(!c){v[e+4>>2]=262;break a}v[e+4>>2]=263;break a}if(!c){v[e+4>>2]=264;break a}v[e+4>>2]=265;break a}g:{if(!(v[a+420>>2]|(v[a+416>>2]|b))){b=v[a+412>>2];if((b|0)>63|(b|0)==v[a+432>>2]){break g}}b=v[a>>2];v[b+20>>2]=125;Qa[v[b+4>>2]](a,-1)}v[e+4>>2]=266;b=v[a+336>>2]}if((b|0)>=1){d=0;while(1){g=d<<2;c=v[(g+a|0)+340>>2];h:{i:{if(v[a+224>>2]){if(v[a+408>>2]){break i}if(v[a+416>>2]){break h}}b=v[c+20>>2];if(b>>>0>=16){f=v[a>>2];v[f+24>>2]=b;v[f+20>>2]=50;Qa[v[v[a>>2]>>2]](a)}f=(b<<2)+e|0;b=v[f+56>>2];if(!b){b=Qa[v[v[a+4>>2]>>2]](a,1,64)|0;v[f+56>>2]=b}t[b|0]=0;t[b+1|0]=0;t[b+2|0]=0;t[b+3|0]=0;t[b+4|0]=0;t[b+5|0]=0;t[b+6|0]=0;t[b+7|0]=0;t[b+56|0]=0;t[b+57|0]=0;t[b+58|0]=0;t[b+59|0]=0;t[b+60|0]=0;t[b+61|0]=0;t[b+62|0]=0;t[b+63|0]=0;t[b+48|0]=0;t[b+49|0]=0;t[b+50|0]=0;t[b+51|0]=0;t[b+52|0]=0;t[b+53|0]=0;t[b+54|0]=0;t[b+55|0]=0;t[b+40|0]=0;t[b+41|0]=0;t[b+42|0]=0;t[b+43|0]=0;t[b+44|0]=0;t[b+45|0]=0;t[b+46|0]=0;t[b+47|0]=0;t[b+32|0]=0;t[b+33|0]=0;t[b+34|0]=0;t[b+35|0]=0;t[b+36|0]=0;t[b+37|0]=0;t[b+38|0]=0;t[b+39|0]=0;t[b+24|0]=0;t[b+25|0]=0;t[b+26|0]=0;t[b+27|0]=0;t[b+28|0]=0;t[b+29|0]=0;t[b+30|0]=0;t[b+31|0]=0;t[b+16|0]=0;t[b+17|0]=0;t[b+18|0]=0;t[b+19|0]=0;t[b+20|0]=0;t[b+21|0]=0;t[b+22|0]=0;t[b+23|0]=0;t[b+8|0]=0;t[b+9|0]=0;t[b+10|0]=0;t[b+11|0]=0;t[b+12|0]=0;t[b+13|0]=0;t[b+14|0]=0;t[b+15|0]=0;b=e+g|0;v[b+36>>2]=0;v[b+20>>2]=0;if(!v[a+224>>2]){if(v[a+432>>2]){break i}break h}if(!v[a+408>>2]){break h}}b=v[c+24>>2];if(b>>>0>=16){c=v[a>>2];v[c+24>>2]=b;v[c+20>>2]=50;Qa[v[v[a>>2]>>2]](a)}c=(b<<2)+e|0;b=v[c+120>>2];if(!b){b=Qa[v[v[a+4>>2]>>2]](a,1,256)|0;v[c+120>>2]=b}eb(b,0,256)}d=d+1|0;if((d|0)>2]){continue}break}}v[e+16>>2]=-16;v[e+8>>2]=0;v[e+12>>2]=0;v[e+52>>2]=v[a+280>>2]}function z3(a,b){var c=0,d=0,e=0,f=C(0),g=C(0),h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;c=Ma-128|0;Ma=c;v[c+76>>2]=0;v[c+44>>2]=0;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],b,0)|0;k=a+26328|0;l=a+25797|0;b=c+48|0;m=b|12;n=b|8;o=b|4;while(1){v[c+124>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+124|0,1,4)|0;b=w[c+124|0];p=a;a:{b:{c:{if(x[a+25204>>1]==18761){b=b|w[c+125|0]<<8|w[c+126|0]<<16|w[c+127|0]<<24}else{b=w[c+127|0]|(w[c+125|0]<<16|b<<24|w[c+126|0]<<8)}if((b|0)==1347114067){v[c+124>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+124|0,1,4)|0;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+80|0,1,40)|0;v[c+124>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+124|0,1,4)|0;b=w[c+124|0];if(x[a+25204>>1]==18761){h=b|w[c+125|0]<<8|w[c+126|0]<<16|w[c+127|0]<<24}else{h=w[c+127|0]|(w[c+125|0]<<16|b<<24|w[c+126|0]<<8)}e=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;if(!Jb(c+80|0,67146,18)){v[a+26080>>2]=h;v[a+26056>>2]=e;v[a+26060>>2]=e>>31}if(!Jb(c+80|0,67260,19)){v[a+26088>>2]=h;v[a+26072>>2]=e;v[a+26076>>2]=e>>31}d:{if(Jb(c+80|0,67341,19)){break d}Qa[v[v[a>>2]+32>>2]](v[a+4>>2],67450,c+76|0)|0;b=v[c+76>>2];if(b>>>0>20){break d}od(l,v[(b<<2)+199312>>2])}if(!Jb(c+80|0,67453,26)){v[c+76>>2]=0;while(1){v[c+124>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+124|0,1,4)|0;b=w[c+124|0];d=v[c+76>>2];i=(d<<2)+c|0;if(x[a+25204>>1]==18761){b=b|w[c+125|0]<<8|w[c+126|0]<<16|w[c+127|0]<<24}else{b=w[c+127|0]|(w[c+125|0]<<16|b<<24|w[c+126|0]<<8)}v[i>>2]=b;v[c+76>>2]=d+1;if((d|0)<8){continue}break}SK(a,c)}if(!Jb(c+80|0,67544,22)){b=0;v[c+76>>2]=0;while(1){Qa[v[v[a>>2]+32>>2]](v[a+4>>2],67749,(b<<2)+c|0)|0;d=v[c+76>>2];b=d+1|0;v[c+76>>2]=b;if((d|0)<8){continue}break}SK(a,c)}if(!Jb(c+80|0,67835,26)){Qa[v[v[a>>2]+32>>2]](v[a+4>>2],67450,c+44|0)|0}if(!Jb(c+80|0,67932,27)){Qa[v[v[a>>2]+32>>2]](v[a+4>>2],67450,k)|0}if(!Jb(c+80|0,68060,24)){Qa[v[v[a>>2]+32>>2]](v[a+4>>2],67450,c+76|0)|0;b=v[c+76>>2];Qa[v[v[a>>2]+32>>2]](v[a+4>>2],67450,c+76|0)|0;d=v[c+76>>2];Qa[v[v[a>>2]+32>>2]](v[a+4>>2],67450,c+76|0)|0;i=v[c+76>>2];Qa[v[v[a>>2]+32>>2]](v[a+4>>2],67450,c+76|0)|0;j=v[c+76>>2]==1?2:(i|0)==1?3:(d|0)==1?1:(b|0)==1?0:j}if(!Jb(c+80|0,68197,23)){Qa[v[v[a>>2]+32>>2]](v[a+4>>2],67450,c+76|0)|0;v[a+26328>>2]=v[c+76>>2]-v[a+26328>>2]}if(Jb(c+80|0,68289,17)|z[a+59268>>2]!=C(0)){break a}Qa[v[v[a>>2]+32>>2]](v[a+4>>2],67450,c+48|0)|0;Qa[v[v[a>>2]+32>>2]](v[a+4>>2],67450,o)|0;Qa[v[v[a>>2]+32>>2]](v[a+4>>2],67450,n)|0;Qa[v[v[a>>2]+32>>2]](v[a+4>>2],67450,m)|0;f=C(v[c+48>>2]);b=a;d=v[c+52>>2];if(d){g=C(f/C(d|0))}else{g=C(0)}z[b+59268>>2]=g;b=a;d=v[c+56>>2];if(d){g=C(f/C(d|0))}else{g=C(0)}z[b+59272>>2]=g;b=v[c+60>>2];if(b){break c}f=C(0);break b}b=v[c+44>>2];if(b){v[a+26028>>2]=B(w[((v[a+26328>>2]/90|0)+j&3)+68404|0],(b|0)==1?16843009:0)}Ma=c+128|0;return}f=C(f/C(b|0))}z[p+59276>>2]=f}z3(a,e);Qa[v[v[a>>2]+8>>2]](v[a+4>>2],e+h|0,0)|0;continue}}function i$(a,b){var 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,w=0,z=0,A=0,C=0,D=0;g=Ma-16|0;Ma=g;h=v[b+28>>2];i=v[a+736>>2];v[g>>2]=0;a:{b:{if(i){c:{if(!v[a+704>>2]){break c}if(Qa[v[a+516>>2]](a,1668702578,b,g+8|0)|0){break c}f=Ed(b,v[g+8>>2]);v[g+12>>2]=f;if(f){break c}f=v[b>>2];d=v[b+32>>2];d:{if((Ig(b)|0)!=65536){v[g+12>>2]=0;break d}o=yb(h,4,0,v[i>>2],0,g+12|0);if(v[g+12>>2]){break d}p=yb(h,4,0,v[i>>2],0,g+12|0);if(v[g+12>>2]){break d}q=yb(h,4,0,v[i>>2],0,g+12|0);if(v[g+12>>2]){break d}e=ae(b);s=e&4095;k=ae(b);c=v[g+8>>2];if((s<<2)+k>>>0>c>>>0){v[g+12>>2]=8;break d}l=k+(d-f|0)|0;if(e&32768){e=v[b+32>>2];f=v[b>>2];d=v[b+36>>2];v[b+32>>2]=d-f>>>0>l>>>0?f+l|0:d;r=WA(b,c,g);k=v[b+32>>2];d=v[b>>2];f=e-f|0;e=v[b+36>>2];v[b+32>>2]=f>>>0>>0?d+f|0:e;l=k-d|0}m=yb(h,4,0,v[a+700>>2],0,g+12|0);e:{if(v[g+12>>2]){break e}if(s){k=v[g>>2];f=0;while(1){A=ae(b);d=ae(b);f:{if(d&32768){c=0;if(!v[i>>2]){break f}while(1){C=(c<<2)+o|0,D=ae(b)<<16>>16<<2,v[C>>2]=D;c=c+1|0;if(c>>>0>2]){continue}break}break f}e=d&4095;if(e>>>0>=y[i+60>>2]){v[g+12>>2]=8;break e}c=v[i+64>>2];if(!c){v[g+12>>2]=8;break e}t=e;e=v[i>>2];cb(o,c+(B(t,e)<<2)|0,e<<2)}g:{if(!(d&16384)){break g}c=0;if(!v[i>>2]){break g}while(1){C=(c<<2)+p|0,D=ae(b)<<16>>16<<2,v[C>>2]=D;c=c+1|0;e=v[i>>2];if(c>>>0>>0){continue}break}c=0;if(!e){break g}while(1){C=(c<<2)+q|0,D=ae(b)<<16>>16<<2,v[C>>2]=D;c=c+1|0;if(c>>>0>2]){continue}break}}u=g$(i,d,o,p,q);if(u){j=v[b+32>>2];c=v[b>>2];e=v[b+36>>2];v[b+32>>2]=e-c>>>0>l>>>0?c+l|0:e;w=j-c|0;h:{if(d&8192){e=WA(b,v[g+8>>2],g+4|0);d=v[g+4>>2];f=e;break h}v[g+4>>2]=k;d=k;e=f;f=r}j=eJ(b,v[g+8>>2],d?d:v[a+700>>2]);i:{j:{k:{if(!f|!j){break k}if((e|0)!=-1){c=0;if(!d){break j}while(1){n=x[f+(c<<1)>>1];if(n>>>0>2]){n=(n<<2)+m|0;t=v[n>>2];C=n,D=xb(v[j+(c<<2)>>2],u)+t|0,v[C>>2]=D}c=c+1|0;if((d|0)!=(c|0)){continue}break}break k}f=-1;if((d|0)!=v[a+700>>2]){break i}c=0;if(!d){break i}while(1){f=c<<2;d=f+m|0;n=v[d>>2];C=d,D=xb(v[f+j>>2],u)+n|0,v[C>>2]=D;c=c+1|0;if(c>>>0>2]){continue}break}}f=-1;if((e|0)==-1){break i}}if(e){Qa[v[h+8>>2]](h,e)}f=0}if(j){Qa[v[h+8>>2]](h,j)}d=v[b>>2];e=v[b+36>>2];v[b+32>>2]=w>>>0>>0?d+w|0:e}l=l+A|0;z=z+1|0;if((z|0)!=(s|0)){continue}break}}f=v[a+700>>2];if(!f){break e}e=v[a+704>>2];d=0;if((f|0)!=1){k=f&-2;while(1){c=d<<2;j=c+e|0;v[j>>2]=v[j>>2]+(v[c+m>>2]+512>>10);c=c|4;j=c+e|0;v[j>>2]=v[j>>2]+(v[c+m>>2]+512>>10);d=d+2|0;k=k-2|0;if(k){continue}break}}if(!(f&1)){break e}f=d<<2;d=f+e|0;v[d>>2]=v[d>>2]+(v[f+m>>2]+512>>10)}dd(b);if((r|0)==-1){break a}break b}dd(b);break b}}v[g+12>>2]=0}if(r){Qa[v[h+8>>2]](h,r)}}if(o){Qa[v[h+8>>2]](h,o)}if(p){Qa[v[h+8>>2]](h,p)}if(q){Qa[v[h+8>>2]](h,q)}if(m){Qa[v[h+8>>2]](h,m)}f0(a+108|0,2016);Ma=g+16|0;return v[g+12>>2]}function zX(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=Ma-96|0;Ma=f;a:{if(!b|!c){break a}b:{c:{switch(d-1|0){case 0:if(!e){break b}d:{if(!a){b=0;d=0;c=0;break d}b=v[a>>2];d=v[a+4>>2];c=0;if((v[a+28>>2]&-2)!=-1412623820){break d}c=(b^-1)+a>>>0<249?b:0}v[f+32>>2]=345300;nb(0,d,b,c,0,23,1,2,0,0,0,0,237230,f+32|0);break a;case 1:if(!e){break b}e:{if(!a){b=0;d=0;c=0;break e}b=v[a>>2];d=v[a+4>>2];c=0;if((v[a+28>>2]&-2)!=-1412623820){break e}c=(b^-1)+a>>>0<249?b:0}v[f+48>>2]=345346;nb(0,d,b,c,0,23,1,2,0,0,0,0,237230,f+48|0);break a;case 2:if(e){break b}f:{if(!a){b=0;d=0;c=0;break f}b=v[a>>2];d=v[a+4>>2];c=0;if((v[a+28>>2]&-2)!=-1412623820){break f}c=(b^-1)+a>>>0<249?b:0}v[f+64>>2]=346258;nb(0,d,b,c,0,23,1,2,0,0,0,0,237230,f- -64|0);break a;case 3:if(e){break b}g:{if(!a){b=0;d=0;c=0;break g}b=v[a>>2];d=v[a+4>>2];c=0;if((v[a+28>>2]&-2)!=-1412623820){break g}c=(b^-1)+a>>>0<249?b:0}v[f+80>>2]=345464;nb(0,d,b,c,0,23,1,2,0,0,0,0,237230,f+80|0);break a;default:break c}}h:{if(!a){b=0;d=0;c=0;break h}b=v[a>>2];d=v[a+4>>2];c=0;if((v[a+28>>2]&-2)!=-1412623820){break h}c=(b^-1)+a>>>0<249?b:0}v[f>>2]=343051;nb(0,d,b,c,0,23,1,2,0,0,0,0,237230,f);break a}g=Co(c,f+92|0);i:{h=v[b+40>>2];if(h){break i}i=b;h=v[b+32>>2];if(h){h=v[h+80>>2]}else{h=0}h=Eo(0,h);v[i+40>>2]=h;if(h){break i}j:{if(!a){b=0;c=0;d=0;break j}b=v[a>>2];c=v[a+4>>2];d=0;if((v[a+28>>2]&-2)!=-1412623820){break j}d=(b^-1)+a>>>0<249?b:0}v[f+16>>2]=347433;nb(0,c,b,d,0,23,2,3,347433,0,0,0,340689,f+16|0);if(g){Qa[v[256556]](g)}a=v[f+92>>2];if(!a){break a}Qa[v[256556]](a);break a}i=g?g:c;c=v[b+32>>2];k:{if(!c){break k}c=v[c+44>>2];if(!c){break k}c=sm(v[c+40>>2],i,v[f+92>>2]);if(!c|v[c+36>>2]){break k}k=v[c+44>>2];v[c+44>>2]=0;XX(v[v[v[b+32>>2]+44>>2]+40>>2],i,v[f+92>>2]);rH(c)}c=sm(h,i,v[f+92>>2]);l:{if(c){if(v[c+36>>2]){if(g){Qa[v[256556]](g)}a=v[f+92>>2];if(!a){break a}Qa[v[256556]](a);break a}i=v[f+92>>2];if(!i){break l}Qa[v[256556]](i);v[f+92>>2]=0;break l}c=Qa[v[256552]](56)|0;if(!c){AX(a);if(g){Qa[v[256556]](g)}a=v[f+92>>2];if(!a){break a}Qa[v[256556]](a);break a}v[c>>2]=0;v[c+4>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c+4>>2]=15;j=Sd(i);v[c+8>>2]=j;if(!j){AX(a);if(g){Qa[v[256556]](g)}a=v[f+92>>2];if(a){Qa[v[256556]](a)}Qa[v[256556]](c);break a}j=v[f+92>>2];v[c+48>>2]=j;if(GH(h,i,j,c)){rH(c);if(!g){break a}Qa[v[256556]](g);break a}v[c+44>>2]=k}v[c+36>>2]=d;m:{if(!(!a|(v[a+28>>2]&-2)!=-1412623820)){v[c+40>>2]=e;if(!e){break m}v[e+20>>2]=1;break m}l=c,m=Gv(v[b+32>>2],e),v[l+40>>2]=m}v[c+20>>2]=b;v[c+32>>2]=v[b+32>>2];a=v[b+16>>2];n:{if(!a){v[b+16>>2]=c;a=b+12|0;break n}v[a+24>>2]=c;v[c+28>>2]=a;a=b+16|0}v[a>>2]=c;if(g){Qa[v[256556]](g)}}Ma=f+96|0}function HS(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=Ma+-64|0;Ma=h;v[h+56>>2]=0;v[h+60>>2]=v[279250];e=v[c+36>>2];a:{if(e){Qa[v[v[e>>2]+28>>2]](h+24|0,e,1);break a}v[h+24>>2]=0}jb(h+56|0,h+24|0);e=v[h+24>>2];v[h+24>>2]=0;b:{if(!e){break b}g=v[e+4>>2]-1|0;v[e+4>>2]=g;if(g){break b}g=v[e+4>>2];if(!g){v[e+4>>2]=-32767}if(!g){Qa[v[v[e>>2]+4>>2]](e)}}e=v[h+56>>2];v[h+60>>2]=v[(e?e+12|0:1117e3)>>2];c:{d:{if(!d){break d}g=Bd(h+56|0);e=v[v[d+12>>2]+((g>>>0)%y[d+8>>2]<<2)>>2];if(!e){break d}while(1){if((g|0)==v[e+12>>2]){if(!ld(e+16|0,h+56|0,-1)){break c}}e=v[e+8>>2];if(e){continue}break}}v[h+48>>2]=0;v[h+40>>2]=0;v[h+44>>2]=0;v[h+32>>2]=0;v[h+36>>2]=0;v[h+24>>2]=0;v[h+28>>2]=0;i=h+24|0;k=jd(i,971028);nF(h+8|0,a,h+56|0);e=Ma-80|0;Ma=e;g=v[c+20>>2];if(!g|!v[g+8>>2]){g=c+36|0}else{g=c+20|0}f=h+16|0;v[f>>2]=0;v[f+4>>2]=v[279250];g=v[g>>2];e:{if(g){Qa[v[v[g>>2]+28>>2]](e+40|0,g,1);break e}v[e+40>>2]=0}jb(f,e+40|0);g=v[e+40>>2];v[e+40>>2]=0;f:{if(!g){break f}j=v[g+4>>2]-1|0;v[g+4>>2]=j;if(j){break f}j=v[g+4>>2];if(!j){v[g+4>>2]=-32767}if(!j){Qa[v[v[g>>2]+4>>2]](g)}}g=v[f>>2];v[f+4>>2]=v[(g?g+12|0:1117e3)>>2];g=ki(e+40|0,f,b);vF(g);f=e+32|0;th(f,v[h+8>>2]);j=e+24|0;gs(j);Ve(e+16|0,f);f=v[e+16>>2];Ve(e+8|0,j);IS(f,v[e+8>>2],v[a+8>>2],i);f=v[e+8>>2];v[e+8>>2]=0;g:{if(!f){break g}i=v[f+4>>2]-1|0;v[f+4>>2]=i;if(i){break g}i=v[f+4>>2];if(!i){v[f+4>>2]=-32767}if(!i){Qa[v[v[f>>2]+4>>2]](f)}}f=v[e+16>>2];v[e+16>>2]=0;h:{if(!f){break h}i=v[f+4>>2]-1|0;v[f+4>>2]=i;if(i){break h}i=v[f+4>>2];if(!i){v[f+4>>2]=-32767}if(!i){Qa[v[v[f>>2]+4>>2]](f)}}f=v[e+24>>2];v[e+24>>2]=0;i:{if(!f){break i}i=v[f+4>>2]-1|0;v[f+4>>2]=i;if(i){break i}i=v[f+4>>2];if(!i){v[f+4>>2]=-32767}if(!i){Qa[v[v[f>>2]+4>>2]](f)}}f=v[e+32>>2];v[e+32>>2]=0;j:{if(!f){break j}i=v[f+4>>2]-1|0;v[f+4>>2]=i;if(i){break j}i=v[f+4>>2];if(!i){v[f+4>>2]=-32767}if(!i){Qa[v[v[f>>2]+4>>2]](f)}}v[g+24>>2]=969432;v[g>>2]=969400;f=v[g+28>>2];if(f){i=v[f+4>>2]-1|0;v[f+4>>2]=i;if(!i){Qa[v[v[f>>2]+4>>2]](f)}v[g+28>>2]=0}v[g+16>>2]=969432;f=v[g+20>>2];if(f){i=v[f+4>>2]-1|0;v[f+4>>2]=i;if(!i){Qa[v[v[f>>2]+4>>2]](f)}v[g+20>>2]=0}db(g+8|0);Ma=e+80|0;e=v[h+8>>2];k:{if(!e){break k}g=v[e+4>>2]-1|0;v[e+4>>2]=g;if(g){break k}g=v[e+4>>2];if(!g){v[e+4>>2]=-32767}if(!g){Qa[v[v[e>>2]+4>>2]](e)}}l:{if(!d){break l}g=no(d,h+56|0)+24|0;e=v[h+16>>2];m:{if(e){Qa[v[v[e>>2]+28>>2]](h+8|0,e,1);break m}v[h+8>>2]=0}jb(g,h+8|0);e=v[h+8>>2];v[h+8>>2]=0;n:{if(!e){break n}f=v[e+4>>2]-1|0;v[e+4>>2]=f;if(f){break n}f=v[e+4>>2];if(!f){v[e+4>>2]=-32767}if(!f){Qa[v[v[e>>2]+4>>2]](e)}}e=v[g>>2];v[g+4>>2]=v[(e?e+12|0:1117e3)>>2];e=v[k+24>>2];v[h+12>>2]=k;v[h+8>>2]=e;if(!v[h+8>>2]){break l}while(1){HS(a,b,c,d);e=v[h+8>>2];if(!e){break l}e=v[e>>2];v[h+8>>2]=e;if(e){continue}break}}db(h+16|0);vd(k)}db(h+56|0);Ma=h- -64|0}function $W(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=Ma-16|0;Ma=h;f=v[a+36>>2];b=v[f+16>>2];a:{if(w[b|0]!=60){break a}i=v[a+304>>2];d=v[a+300>>2];v[f+16>>2]=b+1;v[f+32>>2]=v[f+32>>2]+1;v[a+200>>2]=v[a+200>>2]+1;if(!w[b+1|0]){Zb(f)}f=kh(a);if(!f){Pc(a,68,343175);break a}Fc(a);b:{if(v[a+292>>2]){break b}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break b}oc(a)}while(1){c:{d:{e:{f:{g:{c=v[a+36>>2];k=v[c+16>>2];g=w[k|0];b=g-47|0;if(b){if((b|0)==15){break e}else{break g}}if(w[k+1|0]!=62){break f}break e}if((g|0)==13|(g-9&255)>>>0<2){break f}if(g>>>0<32){break e}}if(v[a+172>>2]==-1){break e}l=v[c+36>>2];h:{i:{v[h+12>>2]=0;j:{if(v[a+292>>2]){break j}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break j}oc(a)}c=kh(a);k:{if(!c){Pc(a,68,343372);b=0;break k}Fc(a);l:{if(w[v[v[a+36>>2]+16>>2]]==61){Bc(a);Fc(a);if(v[a+36>>2]){b=nH(a,0,0,0)}else{b=0}v[a+172>>2]=7;m:{if(!v[a+268>>2]){break m}if(!Ef(c,272746)){break m}if(qX(b)){break m}rm(a,98,340654,b)}if(Ef(c,285843)){if(Ef(b,231473)){v[v[a+232>>2]>>2]=0;break l}if(Ef(b,273842)){v[v[a+232>>2]>>2]=1;break l}rm(a,102,344160,b)}break l}He(a,41,340318,c);b=0;break k}v[h+12>>2]=b;b=c}g=b;j=v[h+12>>2];if(!(!g|!j)){b=0;c=a;n:{o:{p:{if((e|0)<=0){if(d){break p}b=22;d=Qa[v[256552]](88)|0;if(d){break o}d=0;Yc(a,0);Qa[v[256556]](j);i=22;break h}while(1){if(!Ef(v[(b<<2)+d>>2],g)){b=b+2|0;if((e|0)>(b|0)){continue}break p}break}q:{if(v[a+172>>2]==-1?v[a+212>>2]:0){break q}v[a+84>>2]=42;v[h>>2]=g;nb(0,0,0,a,0,1,42,3,g,0,0,0,344475,h);v[a+12>>2]=0;if(v[a+288>>2]){break q}v[a+212>>2]=1}Qa[v[256556]](j);break h}if((e+4|0)<=(i|0)){break n}b=i<<1;i=Qa[v[256557]](d,i<<3)|0;if(!i){break i}d=i}i=b;v[c+304>>2]=b;v[a+300>>2]=d}b=(e<<2)+d|0;v[b>>2]=g;v[b+4>>2]=v[h+12>>2];e=e+2|0;v[(e<<2)+d>>2]=0;v[b+12>>2]=0;break h}if(!j){break h}Qa[v[256556]](j);break h}Yc(a,0);Qa[v[256556]](j);i=b}r:{if(v[a+292>>2]){break r}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break r}oc(a)}s:{t:{u:{b=v[v[a+36>>2]+16>>2];switch(w[b|0]-9|0){case 0:case 1:case 4:case 23:break s;case 38:break u;case 53:break e;default:break t}}if(w[b+1|0]==62){break e}}Pc(a,65,340849)}Fc(a);c=v[a+36>>2];if(v[c+36>>2]!=(l|0)|v[c+16>>2]!=(k|0)|(v[h+12>>2]|g)){break d}Pc(a,1,339663)}b=v[a>>2];v:{if(!b){break v}b=v[b+56>>2];if(v[a+212>>2]|!b){break v}a=v[a+4>>2];if((e|0)<1){break c}Qa[b|0](a,f,d)}if(!(!d|(e|0)<2)){b=1;while(1){a=v[(b<<2)+d>>2];if(a){Qa[v[256556]](a)}b=b+2|0;if((e|0)>(b|0)){continue}break}}e=f;break a}if(v[a+292>>2]){continue}b=v[c+16>>2];w:{if((b-v[c+12>>2]|0)<501|(v[c+20>>2]-b|0)>499){break w}Xg(c);b=v[a+36>>2];if(w[v[b+16>>2]]){break w}if((Zb(b)|0)>0){break w}xc(a)}if(v[a+292>>2]){continue}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){continue}oc(a);continue}break}Qa[b|0](a,f,0);e=f}Ma=h+16|0;return e}function TSa(a){a=a|0;var 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,w=0,y=0;b=Ma-912|0;Ma=b;c=x[a+26308>>1];if(c){k=v[249419];i=x[a+26310>>1];d=v[b+132>>2];g=v[b+140>>2];e=v[b+136>>2];n=v[b+128>>2];l=a+26484|0;while(1){i=i&65535;a:{if(!i){i=0;break a}t=o|1;p=0;while(1){d=b+144|0;c=i-p|0;w=(c|0)<128?c:128;WK(a,d,B(w,3));i=d;g=0;d=0;q=0;r=0;s=0;if((c|0)>=1){while(1){q=u[i+10>>1]+q|0;r=u[i+8>>1]+r|0;c=(q+r|0)+2>>2;m=q-c|0;n=u[i>>1]+d|0;if(n>>>0>=1024){b:{if(v[a+26160>>2]){break b}v[b+112>>2]=v[a+25208>>2];vb(k,8292,b+112|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,k);break b}d=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[b+96>>2]=d;v[b+100>>2]=d>>31;vb(k,14622,b+96|0)}v[a+26160>>2]=1}e=v[a+26352>>2];f=p+s|0;d=e+(f+B(x[a+26310>>1],o)<<3)|0;j=m+n|0;j=(j|0)<4095?j:4095;u[d>>1]=x[(((j|0)>0?j:0)<<1)+l>>1];j=n-c|0;j=(j|0)<4095?j:4095;u[d+2>>1]=x[(((j|0)>0?j:0)<<1)+l>>1];h=d;j=r-c|0;d=j+n|0;d=(d|0)<4095?d:4095;u[h+4>>1]=x[(((d|0)>0?d:0)<<1)+l>>1];d=u[i+2>>1]+n|0;if(d>>>0>=1024){c:{if(v[a+26160>>2]){break c}v[b+80>>2]=v[a+25208>>2];vb(k,8292,b+80|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,k);break c}e=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[b+64>>2]=e;v[b+68>>2]=e>>31;vb(k,14622,b- -64|0)}v[a+26160>>2]=1;e=v[a+26352>>2]}y=f|1;e=e+(y+B(x[a+26310>>1],o)<<3)|0;h=d+m|0;h=(h|0)<4095?h:4095;u[e>>1]=x[(((h|0)>0?h:0)<<1)+l>>1];h=d-c|0;h=(h|0)<4095?h:4095;u[e+2>>1]=x[(((h|0)>0?h:0)<<1)+l>>1];h=e;e=d+j|0;e=(e|0)<4095?e:4095;u[h+4>>1]=x[(((e|0)>0?e:0)<<1)+l>>1];e=u[i+4>>1]+g|0;if(e>>>0>=1024){d:{if(v[a+26160>>2]){break d}v[b+48>>2]=v[a+25208>>2];vb(k,8292,b+48|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,k);break d}g=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[b+32>>2]=g;v[b+36>>2]=g>>31;vb(k,14622,b+32|0)}v[a+26160>>2]=1}h=v[a+26352>>2];g=h+(f+B(x[a+26310>>1],t)<<3)|0;f=e+m|0;f=(f|0)<4095?f:4095;u[g>>1]=x[(((f|0)>0?f:0)<<1)+l>>1];f=e-c|0;f=(f|0)<4095?f:4095;u[g+2>>1]=x[(((f|0)>0?f:0)<<1)+l>>1];f=g;g=e+j|0;g=(g|0)<4095?g:4095;u[f+4>>1]=x[(((g|0)>0?g:0)<<1)+l>>1];g=u[i+6>>1]+e|0;if(g>>>0>=1024){e:{if(v[a+26160>>2]){break e}v[b+16>>2]=v[a+25208>>2];vb(k,8292,b+16|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,k);break e}f=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[b>>2]=f;v[b+4>>2]=f>>31;vb(k,14622,b)}v[a+26160>>2]=1;h=v[a+26352>>2]}f=h+(B(x[a+26310>>1],t)+y<<3)|0;m=g+m|0;m=(m|0)<4095?m:4095;u[f>>1]=x[(((m|0)>0?m:0)<<1)+l>>1];c=g-c|0;c=(c|0)<4095?c:4095;u[f+2>>1]=x[(((c|0)>0?c:0)<<1)+l>>1];c=g+j|0;c=(c|0)<4095?c:4095;u[f+4>>1]=x[(((c|0)>0?c:0)<<1)+l>>1];i=i+12|0;s=s+2|0;if((w|0)>(s|0)){continue}break}}i=x[a+26310>>1];p=p+128|0;if(i>>>0>p>>>0){continue}break}c=x[a+26308>>1]}o=o+2|0;if(o>>>0>>0){continue}break}v[b+140>>2]=g;v[b+136>>2]=e;v[b+128>>2]=n;v[b+132>>2]=d}Ma=b+912|0}function wt(){var a=0,b=0,c=0,d=0,e=0;d=ab(704);b=d;t[b+8|0]=0;v[b+4>>2]=1;v[b+24>>2]=351448;v[b>>2]=350660;v[b+88>>2]=351496;v[b+72>>2]=0;a=b- -64|0;v[a>>2]=0;v[a+4>>2]=0;a=b;v[a+40>>2]=0;v[a+44>>2]=1072693248;v[a+28>>2]=0;v[a+32>>2]=255;v[a+48>>2]=0;v[a+52>>2]=0;v[a+56>>2]=0;v[a+116>>2]=0;v[a+120>>2]=0;v[a+80>>2]=0;v[a+84>>2]=1071644672;v[a+124>>2]=0;v[a+140>>2]=0;v[a+144>>2]=0;v[a+148>>2]=0;v[a+152>>2]=0;v[a+236>>2]=0;v[a+184>>2]=0;v[a+188>>2]=0;v[a+176>>2]=0;v[a+180>>2]=0;v[a+168>>2]=0;v[a+172>>2]=0;v[a+160>>2]=0;v[a+164>>2]=0;v[a+224>>2]=0;v[a+216>>2]=0;v[a+220>>2]=0;v[a+208>>2]=0;v[a+212>>2]=0;v[a+200>>2]=0;v[a+204>>2]=0;v[a+240>>2]=1065353216;v[a+244>>2]=0;v[a+248>>2]=0;v[a+252>>2]=0;v[a+256>>2]=0;v[a+296>>2]=1;v[a+260>>2]=1065353216;v[a+264>>2]=1065353216;v[a+272>>2]=1056964608;v[a+276>>2]=1065353216;v[a+280>>2]=0;v[a+284>>2]=0;v[a+288>>2]=0;v[a+292>>2]=1;u[a+268>>1]=0;v[a+300>>2]=0;v[a+304>>2]=0;v[a+308>>2]=0;v[a+312>>2]=0;v[a+316>>2]=0;v[a+320>>2]=0;v[a+332>>2]=0;v[a+336>>2]=0;v[a+340>>2]=0;v[a+344>>2]=0;v[a+348>>2]=0;v[a+352>>2]=0;c=ab(24);v[a+344>>2]=c;e=c+24|0;v[a+352>>2]=e;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=0;v[c+4>>2]=0;v[a+348>>2]=e;eb(a+360|0,0,88);v[a+96>>2]=1e3;v[a+100>>2]=0;v[a+192>>2]=0;v[a+196>>2]=0;v[a+128>>2]=255;v[a+132>>2]=0;v[a+104>>2]=0;v[a+108>>2]=255;t[a+127|0]=0;v[a+136>>2]=0;v[a+140>>2]=0;v[a+112>>2]=255;v[a+116>>2]=0;v[a+144>>2]=0;v[a+148>>2]=0;v[a+152>>2]=0;v[a+160>>2]=0;v[a+164>>2]=0;v[a+168>>2]=0;v[a+172>>2]=0;v[a+176>>2]=0;v[a+180>>2]=0;v[a+184>>2]=0;v[a+188>>2]=0;v[a+448>>2]=351544;v[a+204>>2]=0;v[a+468>>2]=0;v[a+472>>2]=0;v[a+460>>2]=0;v[a+464>>2]=0;c=a+452|0;v[c>>2]=0;v[c+4>>2]=0;qx(a+464|0,351584,5);a:{if(t[a+463|0]<=-1){v[b+456>>2]=0;c=v[b+452>>2];break a}t[b+463|0]=0}v[c>>2]=0;u[b+496>>1]=0;v[b+488>>2]=0;v[b+492>>2]=0;v[b+480>>2]=0;v[b+484>>2]=0;v[b+500>>2]=0;v[b+504>>2]=0;v[b+508>>2]=0;v[b+512>>2]=0;c=b+524|0;a=c;v[a>>2]=0;v[a+4>>2]=0;v[b+520>>2]=351544;v[b+532>>2]=0;v[b+536>>2]=0;v[b+540>>2]=0;v[b+544>>2]=0;a=b+536|0;qx(a,351584,5);b:{if(t[b+535|0]<=-1){v[b+528>>2]=0;c=v[b+524>>2];break b}t[b+535|0]=0}v[c>>2]=0;u[b+568>>1]=0;v[b+560>>2]=0;v[b+564>>2]=0;v[b+552>>2]=0;v[b+556>>2]=0;v[b+572>>2]=0;v[b+576>>2]=0;v[b+580>>2]=0;v[b+584>>2]=0;v[b+696>>2]=0;v[b+688>>2]=0;v[b+692>>2]=0;v[b+632>>2]=0;v[b+624>>2]=0;v[b+628>>2]=0;v[b+616>>2]=0;v[b+620>>2]=1082261504;v[b+608>>2]=0;v[b+612>>2]=1082556416;v[b+600>>2]=0;v[b+604>>2]=1080541184;v[b+592>>2]=0;v[b+596>>2]=1080705024;v[b+20>>2]=0;v[b+12>>2]=0;v[b+16>>2]=0;c:{if(t[b+547|0]<=-1){v[b+540>>2]=0;a=v[b+536>>2];break c}t[b+547|0]=0}v[a>>2]=0;v[b+680>>2]=0;v[b+684>>2]=-1074790400;t[b+672|0]=0;v[b+664>>2]=0;v[b+668>>2]=1072693248;v[b+660>>2]=0;v[b+652>>2]=0;v[b+656>>2]=0;return d}function rZ(a,b,c,d,e,f){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,x=0,z=0;g=Ma-32|0;Ma=g;v[g+28>>2]=0;a:{if(!f|v[f>>2]>0){break a}if(d?!a|!b:1){v[f>>2]=1;break a}b:{k=((e>>>0<2147483649?e+2147483647|0:-1)|0)==(e|0)?e-1|0:e;m=v[d>>2];c:{if(k>>>0>>0){break c}e=v[b>>2];if(e>>>0>c>>>0){break c}h=k-m|0;if(!(c>>>0<=e>>>0|(c-e|0)>-1)|k>>>0>m>>>0&h>>1>>>0>=1073741824){break c}if(!(h&1)){break b}}v[f>>2]=1;break a}if(t[a+63|0]>=1){h=0;h=g+28|0?v[g+28>>2]:h;e=v[b>>2];i=t[a+63|0];d:{if((i|0)>=1){while(1){if((c|0)==(e|0)){e=0;n=a+76|0;while(1){t[e+n|0]=w[j+n|0];e=e+1|0;j=j+1|0;if((i|0)>(j|0)){continue}break}t[a+63|0]=e;v[b>>2]=c;if(h){v[g+28>>2]=h}v[f>>2]=15;e=1;break d}t[e|0]=w[(a+j|0)+76|0];j=j+1|0;if(h){v[h>>2]=-1;h=h+4|0}else{h=0}e=e+1|0;if((i|0)!=(j|0)){continue}break}}t[a+63|0]=0;v[b>>2]=e;if(h){v[g+28>>2]=h}e=0}if(e){break a}}if((k|0)==(m|0)&t[a+253|0]>-1){break a}t[g+2|0]=0;v[g+4>>2]=a;v[g+24>>2]=v[g+28>>2];v[g+12>>2]=k;v[g+8>>2]=m;v[g+16>>2]=v[b>>2];u[g>>1]=28;v[g+20>>2]=c;j=f;c=0;n=0;o=Ma-48|0;Ma=o;i=v[g+4>>2];a=v[v[i+24>>2]+20>>2];e=v[g+24>>2];e:{if(e){p=v[a+36>>2];if(p){break e}c=-1}else{c=0}p=v[a+32>>2]}f=v[g+16>>2];m=v[g+8>>2];a=t[i+253|0];f:{if((a|0)>-1){a=c;c=0;h=0;break f}q=w[g+2|0];n=v[g+12>>2];a=cb(o,i+184|0,0-(a<<1)|0);v[g+8>>2]=a;h=t[i+253|0];t[g+2|0]=0;v[g+12>>2]=a-(h<<1);t[i+253|0]=0;a=-1;h=m}k=h;r=i+112|0;s=i+184|0;g:while(1){h:{h=0;x=0;i:{if(v[j>>2]>0){break i}Qa[p|0](g,j);if(!w[g+2|0]|v[j>>2]>0|v[g+8>>2]!=v[g+12>>2]){break i}x=!v[i+56>>2]}z=1;while(1){j:{if(!e){e=0;break j}f=v[g+16>>2]-f|0;k:{if((f|0)<1){f=e;break k}l=f<<2;f=l+e|0;h=(a|0)>-1?a-h|0:-1;l:{if(!h){break l}if((h|0)<=0){h=e+l|0;l=e+4|0;eb(e,255,((h>>>0>l>>>0?h:l)-e|0)+3&-4);break l}while(1){l=v[e>>2];if((l|0)>=0){v[e>>2]=h+l}e=e+4|0;if(f>>>0>e>>>0){continue}break}}v[g+24>>2]=f}e=f;if((a|0)>=0){a=(v[g+8>>2]-m>>1)+a|0}}f=t[i+253|0];if((f|0)<=-1){m:{if(!k){q=w[g+2|0];n=v[g+12>>2];k=v[g+8>>2];c=cb(o,s,0-(f<<1)|0);v[g+8>>2]=c;f=t[i+253|0];t[g+2|0]=0;v[g+12>>2]=c-(f<<1);t[i+253|0]=0;c=a;a=f+a|0;a=(a|0)>-1?a:-1;break m}v[j>>2]=5}}f=v[g+16>>2];m=v[g+8>>2];n:{h=v[j>>2];o:{if((h|0)<=0){if(y[g+12>>2]>m>>>0){continue g}if(k){v[g+12>>2]=n;v[g+8>>2]=k;t[g+2|0]=q;k=0;a=c;continue g}if(!w[g+2|0]){break o}if(v[i+56>>2]){v[j>>2]=11;break n}k=0;if(!x){continue g}qZ(i,2);break o}if(h-10>>>0<3&z){break n}if(!k){break o}a=v[g+8>>2];c=v[g+12>>2]-a|0;if((c|0)>=1){c=c>>1;e=c;if((e|0)>=1){cb(s,a,e<<1)}t[i+253|0]=0-c}v[g+12>>2]=n;v[g+8>>2]=k;t[g+2|0]=q}Ma=o+48|0;break h}l=v[i+56>>2];p:{if(l>>>0<=65535){u[r>>1]=l;h=1;break p}u[i+114>>1]=l&1023|56320;u[i+112>>1]=(l>>>10|0)-10304;h=2}z=0;v[i+56>>2]=0;t[i+64|0]=h;Qa[v[i>>2]](v[i+12>>2],g,r,h,l,v[j>>2]!=10,j);continue}}break}v[d>>2]=v[g+8>>2];v[b>>2]=v[g+16>>2]}Ma=g+32|0}function _R(a){a=a|0;var b=0,c=0;v[a>>2]=971804;oy(Mf(),a);b=v[a+108>>2];if(b){ds(b,3749,a)}b=v[a+152>>2];if(b){$a(b)}v[a+152>>2]=0;b=v[a+164>>2];v[a+164>>2]=0;a:{if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[a+160>>2];v[a+160>>2]=0;b:{if(!b){break b}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break b}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[a+156>>2];v[a+156>>2]=0;c:{if(!b){break c}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break c}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}ac(a+112|0);b=v[a+108>>2];v[a+108>>2]=0;d:{if(!b){break d}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break d}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}v[a+72>>2]=969400;v[a+96>>2]=969432;b=v[a+100>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Qa[v[v[b>>2]+4>>2]](b)}v[a+100>>2]=0}v[a+88>>2]=969432;b=v[a+92>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Qa[v[v[b>>2]+4>>2]](b)}v[a+92>>2]=0}db(a+80|0);db(a+60|0);db(a+52|0);b=v[a+48>>2];v[a+48>>2]=0;e:{if(!b){break e}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break e}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[a+44>>2];v[a+44>>2]=0;f:{if(!b){break f}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break f}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[a+40>>2];v[a+40>>2]=0;g:{if(!b){break g}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break g}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[a+36>>2];v[a+36>>2]=0;h:{if(!b){break h}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break h}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[a+32>>2];v[a+32>>2]=0;i:{if(!b){break i}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break i}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[a+28>>2];v[a+28>>2]=0;j:{if(!b){break j}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break j}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[a+24>>2];v[a+24>>2]=0;k:{if(!b){break k}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break k}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[a+20>>2];v[a+20>>2]=0;l:{if(!b){break l}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break l}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[a+16>>2];v[a+16>>2]=0;m:{if(!b){break m}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break m}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[a+12>>2];v[a+12>>2]=0;n:{if(!b){break n}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break n}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[a+8>>2];v[a+8>>2]=0;o:{if(!b){break o}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break o}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}Du(a);return a|0}function Uz(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=-1;c=v[a+28>>2];a:{if(!c){break a}d=v[c+16>>2];if(!d){break a}f=v[a+16>>2];v[a+16>>2]=-1;h=v[d+12>>2];b:{c:{d:{e:{f:{g:{h:{while(1){b=0;i:{if(v[d+32>>2]){break i}b=v[d+8>>2];if(!((b|0)==v[d+24>>2]|b>>>0>2147483646)){v[d+24>>2]=b}b=v[d+20>>2];c=v[d+4>>2];if((b|0)==(c|0)|c>>>0>2147483646){break i}v[d+20>>2]=c;b=c}j:{if(v[a+60>>2]+512>>>0<=b>>>0){break j}if(v[a>>2]==3){break d}b=-1;k:{c=v[a+28>>2];l:{if(!c|v[c+28>>2]){break l}m:{if(v[c+4>>2]){b=aA(c,4096);break m}c=v[c+16>>2];if(!c){break l}b=v[c+12>>2]!=2?-1:0}if(!(b|(h|0)!=2)){b=0;n:{if(v[d+32>>2]){break n}b=v[d+8>>2];if(!((b|0)==v[d+24>>2]|b>>>0>2147483646)){v[d+24>>2]=b}b=v[d+20>>2];c=v[d+4>>2];if((b|0)==(c|0)|c>>>0>2147483646){break n}v[d+20>>2]=c;b=c}if(v[a+60>>2]!=(b|0)){break j}v[a+16>>2]=f;v[a>>2]=3;break j}if((b|0)>-1){break k}}v[a+16>>2]=f;v[a>>2]=3;if(f){break a}if(!v[v[a+20>>2]+8>>2]){break j}break a}if(b){break j}v[a>>2]=3;break d}o:{g=v[d+32>>2];p:{if(!g){b=v[d+8>>2];if(!((b|0)==v[d+24>>2]|b>>>0>2147483646)){v[d+24>>2]=b}c=v[d+20>>2];b=v[d+4>>2];if(!((c|0)==(b|0)|b>>>0>2147483646)){v[d+20>>2]=b;c=b}b=v[a+60>>2];if(c>>>0>>0){break o}e=v[a+20>>2];c=0;if(g){break p}c=v[d>>2];break p}b=v[a+60>>2];if((b|0)!=-512){break h}e=v[a+20>>2];b=-512;c=0}c=Gz(e,b+c|0,512,0);v[a+60>>2]=v[a+60>>2]+512;e=v[a+20>>2];b=e+12|0;if(c){break f}if(!v[e+12>>2]|v[a+16>>2]!=-1){break e}continue}break}if(g){break h}c=v[d+8>>2];if(!((c|0)==v[d+24>>2]|c>>>0>2147483646)){v[d+24>>2]=c}e=v[d+20>>2];c=v[d+4>>2];if((e|0)==(c|0)|c>>>0>2147483646){c=e}else{v[d+20>>2]=c}c=c-b|0;e=v[d>>2];break g}c=0-b|0;e=0}b=Gz(v[a+20>>2],b+e|0,c,0);v[a+60>>2]=v[a+60>>2]+c;if(!b){break e}b=v[a+20>>2]+12|0}v[b>>2]=0}q:{switch(v[a>>2]-1|0){case 0:break q;case 2:break d;default:break c}}if((h|0)==2){break c}e=v[a+60>>2];if(e>>>0<4096){break c}c=0;r:{if(v[d+32>>2]){break r}b=v[d+8>>2];if(!((b|0)==v[d+24>>2]|b>>>0>2147483646)){v[d+24>>2]=b}c=v[d+20>>2];b=v[d+4>>2];if((c|0)==(b|0)|b>>>0>2147483646){break r}v[d+20>>2]=b;c=b}if(c-e>>>0>512){break c}b=Xv(d,e);if((b|0)<0){break c}v[a+60>>2]=v[a+60>>2]-b;break c}if(v[a+16>>2]==5){break c}s:{if(!v[d+32>>2]){b=v[d+8>>2];if(!((b|0)==v[d+24>>2]|b>>>0>2147483646)){v[d+24>>2]=b}c=v[d+20>>2];b=v[d+4>>2];if(!((c|0)==(b|0)|b>>>0>2147483646)){v[d+20>>2]=b;c=b}e=v[d>>2];b=v[a+60>>2];c=c-b|0;break s}e=0;b=v[a+60>>2];c=0-b|0}e=Gz(v[a+20>>2],b+e|0,c,1);b=0;t:{if(v[d+32>>2]){break t}b=v[d+8>>2];if(!((b|0)==v[d+24>>2]|b>>>0>2147483646)){v[d+24>>2]=b}b=v[d+20>>2];c=v[d+4>>2];if((b|0)==(c|0)|c>>>0>2147483646){break t}v[d+20>>2]=c;b=c}v[a+16>>2]=5;v[a+60>>2]=b;if(!e){break c}b=v[a+20>>2];if(!v[b+12>>2]){break b}v[b+12>>2]=0}v[a+16>>2]=f;b=0;if(v[v[a+20>>2]+12>>2]){break a}v[a>>2]=3}b=-1}return b}function PI(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;a:{if(v[a+200>>2]==(b|0)&v[a+204>>2]==(d|0)){break a}v[a+200>>2]=b;v[a+204>>2]=d;d=v[a+4>>2];if(!d){break a}f=xb(v[a+8>>2],b);v[a+12>>2]=f;v[a+16>>2]=f+32&-64;f=d-1|0;if(!f){break a}d=a+20|0;while(1){h=xb(v[d>>2],b);i=v[a+12>>2];j=h-i|0;g=j>>31;g=(g^g+j)>>>0<128?i:h;v[d+4>>2]=g;v[d+8>>2]=g+32&-64;d=d+12|0;f=f-1|0;if(f){continue}break}}b:{if(v[a+404>>2]==(c|0)&v[a+408>>2]==(e|0)){break b}v[a+404>>2]=c;v[a+408>>2]=e;b=v[a+208>>2];c:{if(!b){break c}d=xb(v[a+212>>2],c);v[a+216>>2]=d;v[a+220>>2]=d+32&-64;f=b-1|0;if(!f){break c}d=a+224|0;while(1){g=xb(v[d>>2],c);h=v[a+216>>2];i=g-h|0;b=i>>31;b=(b^b+i)>>>0<128?h:g;v[d+4>>2]=b;v[d+8>>2]=b+32&-64;d=d+12|0;f=f-1|0;if(f){continue}break}}t[a+2492|0]=(B(c,125)|0)>2]<<3&(c|0)<=34359737;d=v[a+2480>>2];d:{if((d|0)<1){break d}while(1){if((xb(d,c)|0)<33){break d}b=(d|0)>1;d=d-1|0;if(b){continue}break}d=0}v[a+2484>>2]=d;b=v[a+412>>2];if(b){d=a+416|0;while(1){k=d,l=xb(v[d+8>>2],c)+e|0,v[k+28>>2]=l;k=d,l=xb(v[d+12>>2],c)+e|0,v[k+24>>2]=l;k=d,l=xb(v[d>>2],c)+e|0,v[k+16>>2]=l;k=d,l=xb(v[d+4>>2],c),v[k+20>>2]=l;v[d+16>>2]=v[d+16>>2]+32&-64;d=d+32|0;b=b-1|0;if(b){continue}break}}b=v[a+928>>2];if(b){d=a+932|0;while(1){k=d,l=xb(v[d+8>>2],c)+e|0,v[k+28>>2]=l;k=d,l=xb(v[d+12>>2],c)+e|0,v[k+24>>2]=l;k=d,l=xb(v[d>>2],c)+e|0,v[k+16>>2]=l;k=d,l=xb(v[d+4>>2],c),v[k+20>>2]=l;v[d+16>>2]=v[d+16>>2]+32&-64;d=d+32|0;b=b-1|0;if(b){continue}break}}b=v[a+1444>>2];if(b){d=a+1448|0;while(1){k=d,l=xb(v[d+8>>2],c)+e|0,v[k+28>>2]=l;k=d,l=xb(v[d+12>>2],c)+e|0,v[k+24>>2]=l;k=d,l=xb(v[d>>2],c)+e|0,v[k+16>>2]=l;k=d,l=xb(v[d+4>>2],c),v[k+20>>2]=l;v[d+16>>2]=v[d+16>>2]+32&-64;d=d+32|0;b=b-1|0;if(b){continue}break}}b=v[a+1960>>2];if(b){d=a+1964|0;while(1){k=d,l=xb(v[d+8>>2],c)+e|0,v[k+28>>2]=l;k=d,l=xb(v[d+12>>2],c)+e|0,v[k+24>>2]=l;k=d,l=xb(v[d>>2],c)+e|0,v[k+16>>2]=l;k=d,l=xb(v[d+4>>2],c),v[k+20>>2]=l;v[d+16>>2]=v[d+16>>2]+32&-64;d=d+32|0;b=b-1|0;if(b){continue}break}}e:{g=v[a+412>>2];if(!g){break e}d=v[a+1444>>2];if(!d){break e}b=a+1448|0;f=a+416|0;while(1){e=b;f:{if(!d){break f}while(1){i=v[f>>2]-v[e>>2]|0;h=i>>31;if((xb(h^h+i,c)|0)<=63){v[f+28>>2]=v[e+28>>2];v[f+24>>2]=v[e+24>>2];v[f+16>>2]=v[e+16>>2];v[f+20>>2]=v[e+20>>2];break f}e=e+32|0;d=d-1|0;if(d){continue}break}}g=g-1|0;if(!g){break e}f=f+32|0;d=v[a+1444>>2];continue}}g=v[a+928>>2];if(!g){break b}d=v[a+1960>>2];if(!d){break b}b=a+1964|0;f=a+932|0;while(1){e=b;g:{if(!d){break g}while(1){i=v[f>>2]-v[e>>2]|0;h=i>>31;if((xb(h^h+i,c)|0)>=64){e=e+32|0;d=d-1|0;if(d){continue}break g}break}v[f+28>>2]=v[e+28>>2];v[f+24>>2]=v[e+24>>2];v[f+16>>2]=v[e+16>>2];v[f+20>>2]=v[e+20>>2]}g=g-1|0;if(!g){break b}f=f+32|0;d=v[a+1960>>2];continue}}}function g3(a,b){var 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,x=0,y=0;a:{if(!b|!a){break a}s=ji(a,33904);if(!s){break a}e=s;if(!(!e|!b)){c=Ma+-64|0;Ma=c;b:{if(!e|!b){break b}q=b?v[b>>2]:-1;n=b?v[b+4>>2]:-1;a=b?v[b+8>>2]:-1;o=b?v[b+20>>2]:0;k=b?v[b+24>>2]:0;l=b?v[b+12>>2]:-1;j=(a|0)==32;p=j?24:a;y=(B(p,q)+31|0)/32|0;r=+C(o>>>0)*39.37+.5;c:{if(D(r)<2147483648){x=~~r;break c}x=-2147483648}r=+C(k>>>0)*39.37+.5;d:{if(D(r)<2147483648){o=~~r;break d}o=-2147483648}e:{if(j){k=1;break e}i=b?v[b+36>>2]:0;if(i){f=i?v[i+12>>2]:0;h=f<<2;g=v[i>>2];k=1;break e}k=1;f:{if((a|0)==1){f=2;h=8;g=1026172;break f}f=1<1?f:1;i=m&3;k=0;a=g;if(m-1>>>0>=3){m=m&2147483644;while(1){t[a+1|0]=d;t[a+2|0]=d;t[a|0]=d;d=d+j|0;t[a+6|0]=d;t[a+5|0]=d;t[a+4|0]=d;d=d+j|0;t[a+10|0]=d;t[a+9|0]=d;t[a+8|0]=d;d=d+j|0;t[a+14|0]=d;t[a+13|0]=d;t[a+12|0]=d;a=a+16|0;d=d+j|0;m=m-4|0;if(m){continue}break}}if(!i){break f}while(1){t[a+1|0]=d;t[a+2|0]=d;t[a|0]=d;a=a+4|0;d=d+j|0;i=i-1|0;if(i){continue}break}}i=0}dh(e,0,0);u[c+62>>1]=19778;a=h+54|0;d=y<<2;j=B(d,n);m=a+j|0;u[c+60>>1]=m;u[c+56>>1]=0;u[c+58>>1]=m>>>16;u[c+54>>1]=a;u[c+52>>1]=a>>>16;Lb(c+62|0,1,2,e);Lb(c+60|0,1,2,e);Lb(c+58|0,1,2,e);Lb(c+56|0,1,2,e);Lb(c+56|0,1,2,e);Lb(c+54|0,1,2,e);Lb(c+52|0,1,2,e);v[c+44>>2]=40;v[c+40>>2]=q;v[c+36>>2]=n;u[c+50>>1]=1;v[c+32>>2]=0;u[c+48>>1]=p;v[c+28>>2]=j;v[c+24>>2]=x;v[c+20>>2]=o;v[c+16>>2]=f;v[c+12>>2]=f;Lb(c+44|0,1,4,e);Lb(c+40|0,1,4,e);Lb(c+36|0,1,4,e);Lb(c+50|0,1,2,e);Lb(c+48|0,1,2,e);Lb(c+32|0,1,4,e);Lb(c+28|0,1,4,e);Lb(c+24|0,1,4,e);Lb(c+20|0,1,4,e);Lb(c+16|0,1,4,e);Lb(c+12|0,1,4,e);g:{if((f|0)<1){break g}if((Lb(g,1,h,e)|0)!=(h|0)){if(k){break b}$a(g);break b}if(k){break g}$a(g)}h:{i:{j:{k:{o=(p|0)==1&(i|0)!=0;l:{if(o){if(!w[v[i>>2]]){xK(b,b)}if(b){lx(b)}break l}if(b){lx(b)}if((p|0)==24){break k}}a=b?v[b+40>>2]:0;if((n|0)<1){break j}g=0-(l<<2)|0;a=a+(B(n-1|0,l)<<2)|0;h=0;f=0;while(1){f=(Lb(a,1,d,e)|0)==(d|0)?f:1;a=a+g|0;h=h+1|0;if((n|0)!=(h|0)){continue}break}break j}f=0;a=b?v[b+40>>2]:0;if((n|0)<1){break i}g=d+B(q,-3)|0;if((q|0)>=1){h=a+(B(n-1|0,l)<<2)|0;d=0;k=0-l<<2;while(1){a=0;while(1){l=(a<<2)+h|0;t[c+10|0]=w[l|0];t[c+9|0]=w[l+1|0];t[c+8|0]=w[l+2|0];f=(Lb(c+8|0,1,3,e)|0)==3?f:1;a=a+1|0;if((q|0)!=(a|0)){continue}break}m:{if(!g){break m}a=0;if((g|0)<=0){break m}l=t[c+8|0];while(1){Ee(l,e);a=a+1|0;if((g|0)!=(a|0)){continue}break}}h=h+k|0;d=d+1|0;if((n|0)!=(d|0)){continue}break}break j}if((g|0)<1){break i}d=0;while(1){a=0;while(1){Ee(0,e);a=a+1|0;if((g|0)!=(a|0)){continue}break}d=d+1|0;if((n|0)!=(d|0)){continue}break}}if(b){lx(b)}if(w[v[i>>2]]|!o){break h}xK(b,b);break h}if(b){lx(b)}}}Ma=c- -64|0}Fe(s)}}function LSa(a){a=a|0;var 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,y=0;d=Ma-2064|0;Ma=d;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],67,0)|0;v[d>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],d,1,4)|0;k=w[d|0];if(x[a+25204>>1]==18761){b=k|w[d+1|0]<<8|w[d+2|0]<<16|w[d+3|0]<<24}else{b=w[d+3|0]|(w[d+1|0]<<16|k<<24|w[d+2|0]<<8)}k=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],b,0)|0;m=k<<1;if(m){while(1){v[d+2060>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+2060|0,1,4)|0;b=w[d+2060|0];c=(e<<2)+d|0;if(x[a+25204>>1]==18761){b=b|w[d+2061|0]<<8|w[d+2062|0]<<16|w[d+2063|0]<<24}else{b=w[d+2063|0]|(w[d+2061|0]<<16|b<<24|w[d+2062|0]<<8)}v[c>>2]=b+B(v[a+26048>>2],e&1);e=e+1|0;if((m|0)!=(e|0)){continue}break}}Qa[v[v[a>>2]+8>>2]](v[a+4>>2],78,0)|0;m=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],88,0)|0;e=(k<<3)+d|0;v[e>>2]=B(x[a+26306>>1],x[a+26304>>1]);v[d+2060>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+2060|0,1,4)|0;b=w[d+2060|0];if(x[a+25204>>1]==18761){b=b|w[d+2061|0]<<8|w[d+2062|0]<<16|w[d+2063|0]<<24}else{b=w[d+2063|0]|(w[d+2061|0]<<16|b<<24|w[d+2062|0]<<8)}v[e+4>>2]=b+v[a+26048>>2];if(k){e=0;while(1){F3(a,(e<<3)+d|0,m);e=e+1|0;if((k|0)!=(e|0)){continue}break}}if(x[a+26308>>1]>=5?m:0){e=2;while(1){if(m>>>(e-x[a+26304>>1]&7)&1){k=e+1|0;b=x[a+26310>>1];if(b>>>0>=3){b=v[a+26028>>2];p=b>>>(k<<2)&3;o=e-1|0;r=b>>>(o<<2)&3;q=b>>>(e<<2&28|2)&3;c=v[a+26352>>2];i=1;while(1){l=r<<1;f=x[a+26320>>1];b=x[a+26316>>1];g=B(f,o>>b);j=i+1>>>b|0;h=x[l+(c+(g+j<<3)|0)>>1];s=(c+(B(f,e>>>b|0)+(i>>>b|0)<<3)|0)+(q<<1)|0;n=i-1>>b;g=x[l+(c+(n+g<<3)|0)>>1];l=p<<1;f=B(f,k>>>b|0);b=x[l+(c+(f+n<<3)|0)>>1];f=x[l+(c+(f+j<<3)|0)>>1];l=((g+h|0)+b|0)+f|0;j=g>>>0>h>>>0?h:g;j=(b|0)<(j|0)?b:j;h=g>>>0>>0?h:g;b=(b|0)>(h|0)?b:h;u[s>>1]=l-(((f|0)<(j|0)?f:j)+((b|0)<(f|0)?f:b)|0)>>>1;i=i+4|0;b=x[a+26310>>1];if((i|0)<(b-1|0)){continue}break}}if(b>>>0>4){b=2;r=e<<2&28;q=e+2|0;s=q<<2&28;j=e-2|0;t=j<<2&28;while(1){c=x[a+26304>>1];a:{if(m>>>(q-c&7)&1?1:m>>>(j-c&7)&1){c=x[a+26316>>1];i=B(x[a+26320>>1],e>>>c|0);g=(v[a+26028>>2]>>>r&3)<<1;h=v[a+26352>>2];u[g+(h+(i+(b>>>c|0)<<3)|0)>>1]=x[g+(h+(i+(b+2>>>c|0)<<3)|0)>>1]+x[g+(h+(i+(b-2>>c)<<3)|0)>>1]>>>1;break a}g=v[a+26028>>2];p=(g>>>r&3)<<1;f=x[a+26320>>1];c=x[a+26316>>1];o=B(f,e>>>c|0);h=v[a+26352>>2];l=b>>>c|0;i=x[(h+(l+B(f,q>>>c|0)<<3)|0)+((g>>>s&3)<<1)>>1];g=x[(h+(l+B(f,j>>c)<<3)|0)+((g>>>t&3)<<1)>>1];f=x[p+(h+(o+(b+2>>>c|0)<<3)|0)>>1];c=x[p+(h+(o+(b-2>>c)<<3)|0)>>1];n=c>>>0>f>>>0?f:c;n=(g|0)<(n|0)?g:n;y=i+(g+(c+f|0)|0)|0;c=c>>>0>>0?f:c;c=(c|0)<(g|0)?g:c;u[p+(h+(l+o<<3)|0)>>1]=y-(((i|0)<(n|0)?i:n)+((c|0)<(i|0)?i:c)|0)>>>1}b=b+4|0;if((b|0)<(x[a+26310>>1]-2|0)){continue}break}}e=k}else{e=e+1|0}if((e|0)<(x[a+26308>>1]-2|0)){continue}break}}Ma=d+2064|0}function e0a(a){a=a|0;var 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;b=v[a+572>>2];c=v[a+664>>2];a:{if((b|0)<(c|0)|(b|0)>=v[a+668>>2]){break a}i=Qa[v[a+220>>2]](a,v[a+680>>2]+(b-c|0)|0)|0;b=v[a+580>>2];c=(i+(b<<2)|0)+(v[a+672>>2]<<2)|0;f=v[a+656>>2];d=(f|0)/v[a+584>>2]|0;e=v[a+644>>2];b:{if(!w[a+648|0]){f=b+f|0;b=e+(d<<2)|0;d=v[a+660>>2];if(!w[a+649|0]){break b}if((d|0)<=(f|0)){break a}while(1){t[c|0]=w[b+3|0];t[c+1|0]=w[b|0];t[c+2|0]=w[b+1|0];t[c+3|0]=w[b+2|0];b=b+4|0;d=v[a+584>>2];c=(d<<2)+c|0;f=d+f|0;if((f|0)>2]){continue}break}break a}f=b+f|0;b=e+(d<<3)|0;d=v[a+660>>2];if(w[a+649|0]){if((d|0)<=(f|0)){break a}while(1){t[c|0]=w[b+6|0];t[c+1|0]=w[b|0];t[c+2|0]=w[b+2|0];t[c+3|0]=w[b+4|0];b=b+8|0;d=v[a+584>>2];c=(d<<2)+c|0;f=d+f|0;if((f|0)>2]){continue}break}break a}if((d|0)<=(f|0)){break a}while(1){d=w[b+6|0]|w[b+7|0]<<8;d=(d<<8|d>>>8)&65535;c:{if(!d){break c}d:{if((d|0)!=65535){e=w[c|0];e=e<<8|e;if(e){break d}}t[c|0]=w[b+6|0];t[c+1|0]=w[b|0];t[c+2|0]=w[b+2|0];t[c+3|0]=w[b+4|0];break c}if((e|0)==65535){e=w[b|0]|w[b+1|0]<<8;j=w[b+2|0]|w[b+3|0]<<8;h=w[b+4|0]|w[b+5|0]<<8;g=B(d,(h<<8|h>>>8)&65535);h=w[c+3|0];i=h<<8|h;h=d^65535;g=(g+B(i,h)|0)+32768|0;t[c+3|0]=(g>>>16|0)+g>>>24;i=B((j<<8|j>>>8)&65535,d);j=w[c+2|0];j=(i+B(h,j<<8|j)|0)+32768|0;t[c+2|0]=(j>>>16|0)+j>>>24;i=B((e<<8|e>>>8)&65535,d);d=w[c+1|0];d=(i+B(h,d<<8|d)|0)+32768|0;t[c+1|0]=(d>>>16|0)+d>>>24;break c}j=w[c+1|0];h=w[c+2|0];g=w[c+3|0];k=w[b|0]|w[b+1|0]<<8;l=w[b+2|0]|w[b+3|0]<<8;m=w[b+4|0]|w[b+5|0]<<8;n=d^65535;o=B(n,e^65535)^-1;t[c|0]=o>>>24;i=g|g<<8;g=o>>>16|0;e=(B(e,n)>>>0)/(g>>>0)|0;d=(d<<16>>>0)/(g>>>0)|0;t[c+3|0]=(B(i,e)+B(d,(m<<8|m>>>8)&65535)|0)+32767>>>24;t[c+2|0]=(B(e,h|h<<8)+B(d,(l<<8|l>>>8)&65535)|0)+32767>>>24;t[c+1|0]=(B(e,j|j<<8)+B(d,(k<<8|k>>>8)&65535)|0)+32767>>>24}b=b+8|0;d=v[a+584>>2];c=(d<<2)+c|0;f=d+f|0;if((f|0)>2]){continue}break}break a}if((d|0)<=(f|0)){break a}while(1){d=w[b+3|0];e:{if(!d){break e}f:{if((d|0)!=255){e=w[c|0];if(e){break f}}t[c|0]=d;t[c+1|0]=w[b|0];t[c+2|0]=w[b+1|0];t[c+3|0]=w[b+2|0];break e}if((e|0)==255){break e}j=w[b|0];h=w[b+1|0];g=w[b+2|0];k=d^255;l=B(k,e^255)>>>8^-1;t[c|0]=l;i=g;g=l&255;d=(d<<8>>>0)/(g>>>0)|0;e=(B(e,k)>>>0)/(g>>>0)|0;t[c+3|0]=(B(i,d)+B(e,w[c+3|0])|0)+127>>>8;t[c+2|0]=(B(d,h)+B(e,w[c+2|0])|0)+127>>>8;t[c+1|0]=(B(d,j)+B(e,w[c+1|0])|0)+127>>>8}b=b+4|0;d=v[a+584>>2];c=(d<<2)+c|0;f=d+f|0;if((f|0)>2]){continue}break}}c=v[a+680>>2]+v[a+572>>2]|0;f=v[a+664>>2];b=v[a+556>>2];d=v[a+672>>2];g:{if((d|0)>=v[a+552>>2]){if(b){break g}b=0}v[a+552>>2]=d}i=b;b=v[a+676>>2];if((i|0)<(b|0)){v[a+556>>2]=b}b=v[a+564>>2];c=c-f|0;h:{if((c|0)>=v[a+560>>2]){if(b){break h}b=0}v[a+560>>2]=c}if((b|0)<=(c|0)){v[a+564>>2]=c+1}return 0}function wTa(a){a=a|0;var 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;h=Ma+-64|0;Ma=h;c=x[a+26306>>1];j=Yb(B(c,v[a+26108>>2]),2);if(j){if(x[a+26304>>1]){m=v[249419];while(1){a:{e=v[a+26112>>2];if((e|0)==16){Wi(a,j,B(v[a+26108>>2],c&65535));c=x[a+26306>>1];break a}v[285944]=0;v[285945]=0;v[285943]=0;b=B(v[a+26108>>2],c&65535);if(!b){break a}i=0;f=0;if((e|0)==-1){eb(j,0,b<<1);v[285944]=0;v[285945]=0;v[285943]=0;break a}while(1){b:{if((e|0)==-1){i=0;v[285944]=0;v[285945]=0;v[285943]=0;c=0;break b}c=0;if(i|!e){break b}c=v[285944];c:{if((e|0)<=(c|0)){d=v[285943];break c}while(1){d:{e:{b=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;f:{if((b|0)==-1){if(!v[a+26160>>2]){v[h+48>>2]=v[a+25208>>2];vb(m,8292,h+48|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,m);v[a+26160>>2]=1;break f}d=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[h+32>>2]=d;v[h+36>>2]=d>>31;vb(m,14622,h+32|0)}v[a+26160>>2]=1;break f}if(!v[a+26144>>2]){break f}if((b|0)==255){break e}}v[285945]=0;break d}c=0;d=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[285945]=(d|0)!=0;if(!d){break d}i=1;break b}c=v[285944]+8|0;v[285944]=c;d=b&255|v[285943]<<8;v[285943]=d;if((c|0)<(e|0)){continue}break}}i=0;b=c-e|0;v[285944]=b;e=32-e|0;c=d<>>e|0}u[(f<<1)+j>>1]=c;f=f+1|0;c=x[a+26306>>1];if(f>>>0>=B(c,v[a+26108>>2])>>>0){break a}e=v[a+26112>>2];continue}}g:{if(!(c&65535)){c=0;break g}q=v[a+26028>>2];e=v[a+26148>>2];i=0;d=j;while(1){b=i-x[a+26314>>1]|0;c=n-x[a+26312>>1]|0;r=(e|0)!=2;d=r?d:((v[a+160>>2]!=0)<<1)+d|0;s=d;h:{if(q){g=x[a+26322>>1];i:{if(!g){f=b;break i}f=(b+1>>1)+c|0;c=g+((b>>1^-1)+c|0)|0}b=e;if(x[a+26308>>1]<=c>>>0){break h}b=e;if(x[a+26310>>1]<=f>>>0){break h}b=x[a+26316>>1];f=(v[a+26352>>2]+(B(x[a+26320>>1],c>>>b|0)+(f>>>b|0)<<3)|0)+((q>>>((c<<1&14|f&1)<<1)&3)<<1)|0;b=x[d>>1];if(b>>>0<=4095){b=x[((b<<1)+a|0)+26484>>1]}u[f>>1]=b;b=e;break h}j:{if(x[a+26308>>1]<=c>>>0|b>>>0>=x[a+26310>>1]){break j}l=v[a+26108>>2];if(!l){break j}o=v[a+26352>>2];f=0;if((l|0)!=1){p=l&-2;while(1){k=f<<1;g=x[k+d>>1];if(g>>>0<=4095){g=x[((g<<1)+a|0)+26484>>1]}u[k+((b+B(x[a+26310>>1],c)<<3)+o|0)>>1]=g;k=(f|1)<<1;g=x[k+d>>1];if(g>>>0<4096){g=x[((g<<1)+a|0)+26484>>1]}u[k+((b+B(x[a+26310>>1],c)<<3)+o|0)>>1]=g;f=f+2|0;p=p-2|0;if(p){continue}break}}if(!(l&1)){break j}g=d;d=f<<1;f=x[g+d>>1];if(f>>>0<=4095){f=x[((f<<1)+a|0)+26484>>1]}u[d+((b+B(x[a+26310>>1],c)<<3)+o|0)>>1]=f}b=v[a+26108>>2]}d=s+(b<<1)|0;d=r?d:(v[a+160>>2]?-2:0)+d|0;c=x[a+26306>>1];i=i+1|0;if(c>>>0>i>>>0){continue}break}}n=n+1|0;if(n>>>0>1]){continue}break}}$a(j);Ma=h- -64|0;return}e=v[a+190640>>2];k:{if(e){b=v[a+25208>>2];v[h+20>>2]=27590;v[h+16>>2]=b;Dc(e,4338,h+16|0);break k}e=v[a+25208>>2];v[h+4>>2]=27590;v[h>>2]=e;vb(v[249419],4338,h)}tc(a+190484|0,1);L()}function r2(a,b,c){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,p=0,q=0,r=0,s=0,t=0,u=0,x=0;q=a+24|0;a:{b:{c:{d:{e:{if(v[a+200>>2]){d=v[a+176>>2];if(d>>>0>=y[a+180>>2]){break e}v[a+176>>2]=d+1;d=v[v[a+192>>2]+(d>>>4&268435452)>>2]+((d&63)<<4)|0;A[b>>3]=A[d>>3];A[c>>3]=A[d+8>>3];break d}d=2;if(mt(q,b,c)){break a}}r=a+208|0;f:{if(v[a+424>>2]){d=v[a+400>>2];if(d>>>0>=y[a+404>>2]){break f}v[a+400>>2]=d+1;d=v[v[a+416>>2]+(d>>>4&268435452)>>2]+((d&63)<<4)|0;A[b>>3]=A[d>>3];A[c>>3]=A[d+8>>3];break d}d=2;if(Bn(r,b,c)){break a}}d=0;p=v[a>>2];g=v[p>>2];j=v[g+20>>2];s=v[g>>2];if(j>>>0>=s>>>0){break a}e=j+1|0;v[g+20>>2]=e;t=v[g+12>>2];d=j>>>6&67108860;h=j&255;n=v[t+d>>2]+(h<<4)|0;A[b>>3]=A[n>>3];m=A[n+8>>3];A[c>>3]=m;n=v[g+16>>2];d=w[h+v[n+d>>2]|0];if(d-1>>>0<=13){h=v[p+4>>2];f=A[b>>3];A[b>>3]=A[h+32>>3]+(f*A[h>>3]+m*A[h+16>>3]);m=A[h+40>>3]+(f*A[h+8>>3]+A[c>>3]*A[h+24>>3]);A[c>>3]=m}g:{switch(d-3|0){case 0:h:{if(e>>>0>=s>>>0){break h}v[g+20>>2]=j+2;d=e>>>6&67108860;e=e&255;g=v[d+t>>2]+(e<<4)|0;i=A[g+8>>3];f=A[g>>3];if(w[e+v[d+n>>2]|0]-1>>>0>13){k=i;break h}d=v[p+4>>2];k=A[d+40>>3]+(f*A[d+8>>3]+i*A[d+24>>3]);f=A[d+32>>3]+(f*A[d>>3]+i*A[d+16>>3])}i=A[b>>3];l=A[a+16>>3];o=A[a+8>>3];i:{if(!v[a+200>>2]){D0(q,o,l,i,m,f,k);break i}C0(a+152|0,o,l,i,m,f,k)}if(v[a+200>>2]){d=v[a+176>>2];if(d>>>0>=y[a+180>>2]){break b}v[a+176>>2]=d+1;d=v[v[a+192>>2]+(d>>>4&268435452)>>2]+((d&63)<<4)|0;A[b>>3]=A[d>>3];A[c>>3]=A[d+8>>3];break b}mt(q,b,c);if(v[a+200>>2]){break b}mt(q,b,c);break d;case 1:break g;default:break a}}j:{if(e>>>0>=s>>>0){d=e;break j}d=j+2|0;v[g+20>>2]=d;j=e>>>6&67108860;e=e&255;h=v[j+t>>2]+(e<<4)|0;f=A[h+8>>3];k=A[h>>3];if(w[e+v[j+n>>2]|0]-1>>>0>13){i=f;break j}e=v[p+4>>2];i=A[e+40>>3]+(k*A[e+8>>3]+f*A[e+24>>3]);k=A[e+32>>3]+(k*A[e>>3]+f*A[e+16>>3])}k:{if(d>>>0>=s>>>0){break k}v[g+20>>2]=d+1;e=d>>>6&67108860;d=d&255;g=v[e+t>>2]+(d<<4)|0;l=A[g+8>>3];f=A[g>>3];if(w[d+v[e+n>>2]|0]-1>>>0>13){o=l;break k}d=v[p+4>>2];o=A[d+40>>3]+(f*A[d+8>>3]+l*A[d+24>>3]);f=A[d+32>>3]+(f*A[d>>3]+l*A[d+16>>3])}l=A[b>>3];u=A[a+16>>3];x=A[a+8>>3];l:{if(!v[a+424>>2]){HJ(r,x,u,l,m,k,i,f,o);break l}GJ(a+368|0,x,u,l,m,k,i,f,o)}if(v[a+424>>2]){d=v[a+400>>2];if(d>>>0>=y[a+404>>2]){break c}v[a+400>>2]=d+1;d=v[v[a+416>>2]+(d>>>4&268435452)>>2]+((d&63)<<4)|0;A[b>>3]=A[d>>3];A[c>>3]=A[d+8>>3];break c}Bn(r,b,c);if(v[a+424>>2]){break c}Bn(r,b,c)}d=2;break a}d=2;e=v[a+400>>2];if(e>>>0>=y[a+404>>2]){break a}v[a+400>>2]=e+1;e=v[v[a+416>>2]+(e>>>4&268435452)>>2]+((e&63)<<4)|0;A[b>>3]=A[e>>3];A[c>>3]=A[e+8>>3];break a}d=2;e=v[a+176>>2];if(e>>>0>=y[a+180>>2]){break a}v[a+176>>2]=e+1;e=v[v[a+192>>2]+(e>>>4&268435452)>>2]+((e&63)<<4)|0;A[b>>3]=A[e>>3];A[c>>3]=A[e+8>>3]}A[a+8>>3]=A[b>>3];A[a+16>>3]=A[c>>3];return d}function GG(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=Ma-16|0;Ma=h;v[h>>2]=13;d=c;a:{b:{c:{switch(v[b>>2]){case 0:a=B(v[c>>2]^98,16777619);v[c>>2]=a;a=a^v[b+8>>2]!=0;break b;case 1:a=c;c=B(v[c>>2]^105,16777619);v[a>>2]=c;a=v[b+8>>2];a=B(B(B(c^a&255,16777619)^a>>>8&255,16777619)^a>>>16&255,16777619)^a>>>24;break b;case 2:e=B(v[c>>2]^114,16777619);v[c>>2]=e;f=v[b+12>>2];a=f;c=v[b+8>>2];b=B(B(B(B(B(e^c&255,16777619)^c>>>8&255,16777619)^c>>>16&255,16777619)^c>>>24,16777619)^a&255,16777619);c=a;a=B(B(b^c>>>8&255,16777619)^c>>>16&255,16777619)^c>>>24;break b;case 3:d=B(v[c>>2]^115,16777619);v[c>>2]=d;a=v[b+8>>2];b=v[a>>2];if((b|0)<1){break a}a=v[a+4>>2];f=b&3;if(b-1>>>0>=3){g=b&-4;while(1){b=B(w[a+e|0]^d,16777619);v[c>>2]=b;b=B(b^w[a+(e|1)|0],16777619);v[c>>2]=b;b=B(b^w[a+(e|2)|0],16777619);v[c>>2]=b;d=B(b^w[a+(e|3)|0],16777619);v[c>>2]=d;e=e+4|0;g=g-4|0;if(g){continue}break}}if(!f){break a}while(1){d=B(w[a+e|0]^d,16777619);v[c>>2]=d;e=e+1|0;f=f-1|0;if(f){continue}break};break a;case 4:d=B(v[c>>2]^110,16777619);v[c>>2]=d;a=v[b+8>>2];b=zb(a);if((b|0)<1){break a}f=b&3;if(b-1>>>0>=3){g=b&-4;while(1){b=B(w[a+e|0]^d,16777619);v[c>>2]=b;b=B(b^w[a+(e|1)|0],16777619);v[c>>2]=b;b=B(b^w[a+(e|2)|0],16777619);v[c>>2]=b;d=B(b^w[a+(e|3)|0],16777619);v[c>>2]=d;e=e+4|0;g=g-4|0;if(g){continue}break}}if(!f){break a}while(1){d=B(w[a+e|0]^d,16777619);v[c>>2]=d;e=e+1|0;f=f-1|0;if(f){continue}break};break a;case 5:a=v[c>>2]^122;break b;case 6:e=B(v[c>>2]^97,16777619);v[c>>2]=e;d=v[v[b+8>>2]+12>>2];v[c>>2]=B(B(B(B(e^d&255,16777619)^d>>>8&255,16777619)^d>>>16&255,16777619)^d>>>24,16777619);if((d|0)<1){break a}e=0;while(1){Nf(v[b+8>>2],e,h);GG(a,h,c);bb(h);e=e+1|0;if((d|0)!=(e|0)){continue}break};break a;case 7:d=B(v[c>>2]^100,16777619);v[c>>2]=d;i=v[v[b+8>>2]+16>>2];v[c>>2]=B(B(B(B(d^i&255,16777619)^i>>>8&255,16777619)^i>>>16&255,16777619)^i>>>24,16777619);if((i|0)<1){break a}while(1){j=v[v[v[b+8>>2]+4>>2]+(k<<5)>>2];g=zb(j);d:{if((g|0)<1){break d}f=g&3;d=v[c>>2];e=0;if(g-1>>>0>=3){g=g&-4;while(1){d=B(w[e+j|0]^d,16777619);v[c>>2]=d;d=B(d^w[(e|1)+j|0],16777619);v[c>>2]=d;d=B(d^w[(e|2)+j|0],16777619);v[c>>2]=d;d=B(d^w[(e|3)+j|0],16777619);v[c>>2]=d;e=e+4|0;g=g-4|0;if(g){continue}break}}if(!f){break d}while(1){d=B(w[e+j|0]^d,16777619);v[c>>2]=d;e=e+1|0;f=f-1|0;if(f){continue}break}}lq(v[b+8>>2],k,h);GG(a,h,c);bb(h);k=k+1|0;if((k|0)!=(i|0)){continue}break};break a;case 9:e=B(v[c>>2]^102,16777619);v[c>>2]=e;f=c;a=v[b+8>>2];c=B(B(B(B(e^a&255,16777619)^a>>>8&255,16777619)^a>>>16&255,16777619)^a>>>24,16777619);v[f>>2]=c;a=v[b+12>>2];a=B(B(B(c^a&255,16777619)^a>>>8&255,16777619)^a>>>16&255,16777619)^a>>>24;break b;case 8:break a;default:break c}}a=v[c>>2]^117}v[d>>2]=B(a,16777619)}Ma=h+16|0}function VLa(a){a=a|0;var 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,u=0,w=0,y=0,z=0,A=0,C=0,D=0,E=0;A=v[a+480>>2];v[a+136>>2]=v[A+16>>2];f=v[A+20>>2];j=Qa[v[v[a+4>>2]>>2]](a,1,f<<5)|0;v[j+16>>2]=0;v[j+20>>2]=31;v[j+8>>2]=0;v[j+12>>2]=63;v[j>>2]=0;v[j+4>>2]=31;yJ(a,j);l=1;a:{b:{if((f|0)<2){break b}while(1){m=b+1|0;c:{d:{e:{f:{g:{if(l<<1<=(f|0)){k=m&1;if(b){break g}c=0;e=0;b=j;break d}h=m&3;if(b>>>0>=3){break f}c=0;e=0;b=j;break e}h=m&-2;c=0;e=0;b=j;while(1){g=v[b+28>>2];if((g|0)>(e|0)){d=v[b+24>>2]>0;c=d?b:c;e=d?g:e}g=v[b+60>>2];if((g|0)>(e|0)){d=v[b+56>>2]>0;c=d?b+32|0:c;e=d?g:e}b=b- -64|0;h=h-2|0;if(h){continue}break}break d}i=m&-4;c=0;e=0;b=j;while(1){g=v[b+24>>2];d=(g|0)>(e|0);c=d?b:c;k=v[b+56>>2];g=d?g:e;d=(k|0)>(g|0);e=d?b+32|0:c;c=v[b+88>>2];g=d?k:g;d=(c|0)>(g|0);e=d?b- -64|0:e;k=v[b+120>>2];g=d?c:g;d=(k|0)>(g|0);c=d?b+96|0:e;e=d?k:g;b=b+128|0;i=i-4|0;if(i){continue}break}}if(!h){break c}while(1){g=v[b+24>>2];d=(g|0)>(e|0);c=d?b:c;e=d?g:e;b=b+32|0;h=h-1|0;if(h){continue}break}break c}if(!k|v[b+28>>2]<=(e|0)){break c}c=v[b+24>>2]>0?b:c}if(!c){break b}d=(l<<5)+j|0;v[d+4>>2]=v[c+4>>2];v[d+12>>2]=v[c+12>>2];v[d+20>>2]=v[c+20>>2];v[d>>2]=v[c>>2];v[d+8>>2]=v[c+8>>2];v[d+16>>2]=v[c+16>>2];h:{i:{j:{k:{l:{y=v[c+4>>2];e=v[c>>2];q=y-e<<4;k=v[c+12>>2];h=v[c+8>>2];u=B(k-h|0,12);g=v[c+20>>2];b=v[c+16>>2];switch((g-b<<3>(((q|0)>(u|0)?q:u)|0)?2:(q|0)<=(u|0))|0){case 2:break j;case 1:break k;case 0:break l;default:break h}}e=(e+y|0)/2|0;v[c+4>>2]=e;b=d;break i}e=(h+k|0)/2|0;v[c+12>>2]=e;b=d+8|0;break i}e=(b+g|0)/2|0;v[c+20>>2]=e;b=d+16|0}v[b>>2]=e+1}yJ(a,c);yJ(a,d);b=m;l=l+1|0;if((l|0)!=(f|0)){continue}break}l=f;if((f|0)<1){break a}}while(1){i=0;n=0;o=0;p=0;b=(r<<5)+j|0;s=v[b>>2];E=v[b+4>>2];m:{if((s|0)>(E|0)){break m}q=v[b+12>>2];d=v[b+8>>2];if((q|0)<(d|0)){break m}z=v[b+20>>2];g=v[b+16>>2];if((z|0)<(g|0)){break m}u=v[v[a+480>>2]+24>>2];m=g+1|0;y=g<<3|4;e=(z-g|0)+1&1;while(1){C=s<<3|4;k=v[(s<<2)+u>>2];h=d;while(1){f=((h<<6)+k|0)+(g<<1)|0;D=h<<2|2;n:{if(!e){b=f;f=g;break n}b=f+2|0;f=x[f>>1];if(f){o=B(f,D)+o|0;n=B(f,C)+n|0;i=f+i|0;p=B(f,y)+p|0}f=m}c=f;if((g|0)!=(z|0)){while(1){f=x[b>>1];if(f){o=B(f,D)+o|0;n=B(f,C)+n|0;i=f+i|0;p=B(f,c<<3|4)+p|0}f=c+1|0;w=x[b+2>>1];if(w){o=B(w,D)+o|0;n=B(w,C)+n|0;i=i+w|0;p=B(w,f<<3|4)+p|0}b=b+4|0;c=c+2|0;if((f|0)!=(z|0)){continue}break}}b=(h|0)!=(q|0);h=h+1|0;if(b){continue}break}b=(s|0)!=(E|0);s=s+1|0;if(b){continue}break}}b=i>>1;t[v[v[a+136>>2]>>2]+r|0]=(b+n|0)/(i|0);t[v[v[a+136>>2]+4>>2]+r|0]=(b+o|0)/(i|0);t[v[v[a+136>>2]+8>>2]+r|0]=(b+p|0)/(i|0);r=r+1|0;if((r|0)!=(l|0)){continue}break}f=l}v[a+132>>2]=f;b=v[a>>2];v[b+24>>2]=f;v[b+20>>2]=98;Qa[v[v[a>>2]+4>>2]](a,1);v[A+28>>2]=1}function zy(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;g=Ma-48|0;Ma=g;l=v[a+12>>2];v[l>>2]=v[l>>2]+1;a:{b:{if(!w[a+9|0]){if(!(w[a+8|0]|!w[a+10|0])){if(!Ay(a,c,d)){break b}}if((d|0)<=-1){break a}c:{if(!d){break c}d:{e:{f=v[a+16>>2];if(!f){break e}v[f+4>>2]=v[f+4>>2]+1;f=v[a+16>>2];if(!f){break e}if(!w[a+9|0]){h=v[a+84>>2];d=(h|0)>0?(h|0)<(c+d|0)?h-c|0:d:d;d=(d|0)>0?d:0;if(w[a+8|0]|!w[a+10|0]){break d}if(Ay(a,c,d)){break d}}lb(mb(g+24|0,v[279243],241733,1161,328163));L()}f=a+20|0;if(bg(f)){e=v[a+84>>2];v[g+24>>2]=0;h=a+56|0;jb(g+24|0,h);d=(e|0)>0?(e|0)<(c+d|0)?e-c|0:d:d;e=(d|0)>0?d:0;d=v[g+24>>2];if(!d){d=v[291392];if(!d){d=ab(28);v[d+4>>2]=0;v[d+24>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=970568;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=970612;v[d+12>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[291392]=d}v[g+8>>2]=0;j=g+8|0;qb(j,a);i=g+16|0;iT(i,d,f,j);jb(h,jb(g+24|0,i));d=v[g+16>>2];v[g+16>>2]=0;f:{if(!d){break f}f=v[d+4>>2]-1|0;v[d+4>>2]=f;if(f){break f}f=v[d+4>>2];if(!f){v[d+4>>2]=-32767}if(!f){Qa[v[v[d>>2]+4>>2]](d)}}d=v[g+8>>2];v[g+8>>2]=0;g:{if(!d){break g}f=v[d+4>>2]-1|0;v[d+4>>2]=f;if(f){break g}f=v[d+4>>2];if(!f){v[d+4>>2]=-32767}if(!f){Qa[v[v[d>>2]+4>>2]](d)}}d=v[g+24>>2]}d=v[d+44>>2];Qa[v[v[d>>2]+20>>2]](d,v[a+80>>2]+c|0,0,0)|0;j=em(v[v[g+24>>2]+44>>2],b,e);a=v[g+24>>2];v[g+24>>2]=0;if(!a){break c}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break c}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}break c}f=v[a+72>>2];e=d;i=Ma-32|0;Ma=i;h:{i:{if((c|0)>-1){if((e|0)<=0){break i}k=v[f+12>>2];j:{if(!k){break j}n=c+e|0;d=0;while(1){if((d|0)>=(n|0)){break j}m=v[k+8>>2];f=m>>31;f=(f^f+m)+d|0;if(!((c|0)<(d|0)|(f|0)<=(c|0))){if((m|0)<0){h=-1;break j}h=(f|0)>(n|0)?e:f-c|0;break j}d=f;k=v[k>>2];if(k){continue}break}}Ma=i+32|0;d=h;break h}lb(mb(i+8|0,227225,241733,649,225938));L()}lb(mb(i+8|0,268026,241733,651,225938));L()}if((d|0)>=1){e=v[a+64>>2];Qa[v[v[e>>2]+20>>2]](e,c,0,0)|0;j=em(v[a+64>>2],b,d);break c}if(w[a+8|0]){a=v[a+84>>2];if((a|0)<1|(a|0)<=(c|0)){break c}lb(mb(g+24|0,v[279242],241733,1234,328163));L()}b=ab(24);v[b+20>>2]=e;v[b+16>>2]=c;t[b+12|0]=0;v[b+8>>2]=0;v[b>>2]=970640;v[b+4>>2]=0;v[g+24>>2]=0;qb(g+24|0,b);d=a+88|0;a=ab(12);v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;b=a;c=v[g+24>>2];if(c){v[c+4>>2]=v[c+4>>2]+1;c=v[g+24>>2]}else{c=0}v[b+8>>2]=c;de(d,a);a=Ma-32|0;Ma=a;lb(mb(a+8|0,234873,241733,1290,335043));L()}j=zy(f,b,v[a+80>>2]+c|0,d,e+1|0);a=v[f+4>>2]-1|0;v[f+4>>2]=a;if(a){break c}a=v[f+4>>2];if(!a){v[f+4>>2]=-32767}if(!a){Qa[v[v[f>>2]+4>>2]](f)}}v[l>>2]=v[l>>2]-1;Ma=g+48|0;return j}lb(mb(g+24|0,v[279243],241733,1127,328163));L()}lb(mb(g+24|0,v[279243],241733,1130,328163));L()}lb(mb(g+24|0,273631,241733,1133,328163));L()}function KWa(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;f=v[a+512>>2];a:{b:{c:{if(w[a+285|0]|w[a+286|0]|(w[a+287|0]|w[a+288|0])){break c}if(w[a+289|0]){break c}break b}if(w[a+291|0]|(w[a+300|0]|w[a+292|0])){break b}if(c>>>0>=7){break a}d:{h=w[a+289|0];if(h){e:{g=w[a+336|0];if((g|0)!=8){if((g|0)==12&(c|0)!=2){break a}if((g|0)==10){break e}if((g|0)!=14){break d}if((c|0)!=6){break a}break d}if((c|0)==2){break d}break a}if((c|0)==6){break d}break a}if(w[a+288|0]?1:w[a+286|0]|w[a+287|0]){f:{g:{g=w[a+325|0];if(g){if((g|0)==4&(c|0)!=2){break a}if((g|0)==2){break g}if((g|0)==6&(c|0)!=6){break f}if((c|0)==1|(g|0)!=3){break d}break a}if((c|0)==2){break d}break a}if((c|0)==6){break d}}break a}if((c|0)==6){break d}break a}g=w[a+286|0];h:{if(h|w[a+288|0]?1:g|w[a+287|0]){t[a+299|0]=1;break h}t[a+312|0]=(c|0)!=0}if(!f){f=v[a+528>>2]}f=v[f+88>>2];i:{j:{if(h){t[f+61|0]=1;k:{switch(w[a+336|0]-8|0){case 0:case 4:g=f;f=w[d|0]|w[d+1|0]<<8;u[g+1154>>1]=f<<8|f>>>8;break j;case 2:case 6:break k;default:break j}}g=w[d|0]|w[d+1|0]<<8;u[f+1156>>1]=g<<8|g>>>8;g=w[d+2|0]|w[d+3|0]<<8;u[f+1158>>1]=g<<8|g>>>8;g=f;f=w[d+4|0]|w[d+5|0]<<8;u[g+1160>>1]=f<<8|f>>>8;break j}if(w[a+288|0]?1:w[a+287|0]|g){t[f+61|0]=1;l:{switch(w[a+325|0]){case 0:case 4:g=f;f=w[d|0]|w[d+1|0]<<8;u[g+1154>>1]=f<<8|f>>>8;break j;case 2:case 6:g=w[d|0]|w[d+1|0]<<8;u[f+1156>>1]=g<<8|g>>>8;g=w[d+2|0]|w[d+3|0]<<8;u[f+1158>>1]=g<<8|g>>>8;g=f;f=w[d+4|0]|w[d+5|0]<<8;u[g+1160>>1]=f<<8|f>>>8;break j;case 3:break l;default:break j}}t[f+1152|0]=w[d|0];break j}m:{if(!c){f=x[a+2244>>1];h=x[a+2242>>1];i=x[a+2240>>1];break m}f=w[d|0]|w[d+1|0]<<8;i=f<<8|f>>>8;u[a+2240>>1]=i;f=w[d+2|0]|w[d+3|0]<<8;h=f<<8|f>>>8;u[a+2242>>1]=h;f=w[d+4|0]|w[d+5|0]<<8;f=f<<8|f>>>8;u[a+2244>>1]=f}g=0;n:{if(!w[a+114|0]){break n}i=i&65535;h=h&65535;j=f&65535;f=Qa[v[a+152>>2]](36)|0;if(!f){ob(a,1,0,0);g=1;break n}v[f+4>>2]=709;v[f>>2]=710;g=v[a+700>>2];o:{if(g){v[g+8>>2]=f;break o}v[a+696>>2]=f}v[f+8>>2]=0;v[f+12>>2]=g;v[a+700>>2]=f;v[f+16>>2]=v[a+436>>2];v[f+20>>2]=v[a+440>>2];v[f+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=f}u[f+32>>1]=j;u[f+30>>1]=h;u[f+28>>1]=i;g=0}f=g;if(f){break i}}f=0;if(!w[a+112|0]){break i}f=Qa[v[b+4>>2]](a,b,e)|0;if(f){break i}b=v[e>>2];t[b+32|0]=!c;t[b+33|0]=w[a+325|0];f=0;p:{q:{switch(c-1|0){case 0:t[b+33|0]=3;t[b+34|0]=w[d|0];break p;case 1:t[b+33|0]=0;a=w[d|0]|w[d+1|0]<<8;u[b+36>>1]=a<<8|a>>>8;return 0;case 5:break q;default:break i}}t[b+33|0]=2;a=w[d|0]|w[d+1|0]<<8;u[b+38>>1]=a<<8|a>>>8;a=w[d+2|0]|w[d+3|0]<<8;u[b+40>>1]=a<<8|a>>>8;a=w[d+4|0]|w[d+5|0]<<8;u[b+42>>1]=a<<8|a>>>8}}return f|0}ob(a,1029,0,0);return 1029}ob(a,1028,0,0);return 1028}function KW(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=Ma-1312|0;Ma=g;if(c>>>0>=4){e=v[a>>2];v[e+24>>2]=c;v[e+20>>2]=52;Qa[v[v[a>>2]>>2]](a)}h=v[((b?120:136)+a|0)+(c<<2)>>2];if(!h){e=v[a>>2];v[e+24>>2]=c;v[e+20>>2]=52;Qa[v[v[a>>2]>>2]](a)}i=v[d>>2];if(!i){i=Qa[v[v[a+4>>2]>>2]](a,1,1280)|0;v[d>>2]=i}c=w[h+1|0];a:{if(!c){c=0;break a}eb(g+1040|0,1,c)}e=w[h+2|0];d=e+c|0;if(d>>>0>256){f=v[a>>2];v[f+20>>2]=9;Qa[v[f>>2]](a)}b:{if(!e){d=c;break b}eb((g+1040|0)+c|0,2,e)}e=w[h+3|0];c=e+d|0;if((c|0)>=257){f=v[a>>2];v[f+20>>2]=9;Qa[v[f>>2]](a)}c:{if(!e){c=d;break c}eb((g+1040|0)+d|0,3,e)}e=w[h+4|0];d=e+c|0;if((d|0)>=257){f=v[a>>2];v[f+20>>2]=9;Qa[v[f>>2]](a)}d:{if(!e){d=c;break d}eb((g+1040|0)+c|0,4,e)}e=w[h+5|0];c=e+d|0;if((c|0)>=257){f=v[a>>2];v[f+20>>2]=9;Qa[v[f>>2]](a)}e:{if(!e){c=d;break e}eb((g+1040|0)+d|0,5,e)}e=w[h+6|0];d=e+c|0;if((d|0)>=257){f=v[a>>2];v[f+20>>2]=9;Qa[v[f>>2]](a)}f:{if(!e){d=c;break f}eb((g+1040|0)+c|0,6,e)}e=w[h+7|0];c=e+d|0;if((c|0)>=257){f=v[a>>2];v[f+20>>2]=9;Qa[v[f>>2]](a)}g:{if(!e){c=d;break g}eb((g+1040|0)+d|0,7,e)}e=w[h+8|0];d=e+c|0;if((d|0)>=257){f=v[a>>2];v[f+20>>2]=9;Qa[v[f>>2]](a)}h:{if(!e){d=c;break h}eb((g+1040|0)+c|0,8,e)}e=w[h+9|0];c=e+d|0;if((c|0)>=257){f=v[a>>2];v[f+20>>2]=9;Qa[v[f>>2]](a)}i:{if(!e){c=d;break i}eb((g+1040|0)+d|0,9,e)}e=w[h+10|0];d=e+c|0;if((d|0)>=257){f=v[a>>2];v[f+20>>2]=9;Qa[v[f>>2]](a)}j:{if(!e){d=c;break j}eb((g+1040|0)+c|0,10,e)}e=w[h+11|0];c=e+d|0;if((c|0)>=257){f=v[a>>2];v[f+20>>2]=9;Qa[v[f>>2]](a)}k:{if(!e){c=d;break k}eb((g+1040|0)+d|0,11,e)}e=w[h+12|0];d=e+c|0;if((d|0)>=257){f=v[a>>2];v[f+20>>2]=9;Qa[v[f>>2]](a)}l:{if(!e){d=c;break l}eb((g+1040|0)+c|0,12,e)}e=w[h+13|0];c=e+d|0;if((c|0)>=257){f=v[a>>2];v[f+20>>2]=9;Qa[v[f>>2]](a)}m:{if(!e){c=d;break m}eb((g+1040|0)+d|0,13,e)}e=w[h+14|0];d=e+c|0;if((d|0)>=257){f=v[a>>2];v[f+20>>2]=9;Qa[v[f>>2]](a)}n:{if(!e){d=c;break n}eb((g+1040|0)+c|0,14,e)}e=w[h+15|0];c=e+d|0;if((c|0)>=257){f=v[a>>2];v[f+20>>2]=9;Qa[v[f>>2]](a)}o:{if(!e){c=d;break o}eb((g+1040|0)+d|0,15,e)}d=w[h+16|0];e=d+c|0;if((e|0)>=257){f=v[a>>2];v[f+20>>2]=9;Qa[v[f>>2]](a)}p:{if(!d){e=c;break p}eb((g+1040|0)+c|0,16,d)}c=0;t[(g+1040|0)+e|0]=0;j=w[g+1040|0];if(j){f=j<<24>>24;d=0;while(1){if(j<<24>>24==(f|0)){while(1){v[(d<<2)+g>>2]=c;c=c+1|0;d=d+1|0;j=t[d+(g+1040|0)|0];if((j|0)==(f|0)){continue}break}}if(1<>2];v[k+20>>2]=9;Qa[v[k>>2]](a)}f=f+1|0;c=c<<1;if(j&255){continue}break}}c=0;eb(i+1024|0,0,256);if((e|0)>=1){d=b?15:255;while(1){b=w[(c+h|0)+17|0];if(!(w[(b+i|0)+1024|0]?0:b>>>0<=d>>>0)){f=v[a>>2];v[f+20>>2]=9;Qa[v[f>>2]](a)}v[(b<<2)+i>>2]=v[(c<<2)+g>>2];t[(b+i|0)+1024|0]=w[(g+1040|0)+c|0];c=c+1|0;if((e|0)!=(c|0)){continue}break}}Ma=g+1312|0}function ESa(a){a=a|0;var 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,w=0,y=0;f=Ma-48|0;Ma=f;v[f+16>>2]=1;r=x[a+26310>>1];v[f+32>>2]=1;v[f+24>>2]=-1;v[f+20>>2]=r;v[f+28>>2]=0-r;UK(a,3);if(v[a+188>>2]){Lb(58754,21,1,v[249419])}e=x[a+26308>>1];if(e>>>0>=7){b=x[a+26310>>1];m=v[a+26028>>2];h=3;while(1){g=h<<1&14;c=(m>>>(g<<1|2)&1)+3|0;d=b&65535;if((c|0)<(d-3|0)){j=m>>>((g|c&1)<<1)&3;y=v[a+26352>>2];b=d;while(1){e=1;b=(y+(B(b,h)<<3)|0)+(c<<3)|0;g=x[b+(j<<1)>>1];d=0;while(1){w=d<<2;i=e<<3;k=x[(b-i|0)+2>>1];i=x[(b+i|0)+2>>1];n=j<<1;l=e<<4;q=x[n+(l+b|0)>>1];l=x[n+(b-l|0)>>1];v[w+f>>2]=((k+g|0)+i<<1)-(q+l|0);s=l-g|0;l=s>>31;o=k-i|0;n=o>>31;p=q-g|0;q=p>>31;t=x[(b+B(e,-24)|0)+2>>1]-k|0;k=t>>31;i=x[(b+B(e,24)|0)+2>>1]-i|0;e=i>>31;v[w+(f+8|0)>>2]=B(((l^l+s)+(n^n+o)|0)+(q^q+p)|0,3)+((k^k+t)+(e^e+i)<<1);d=d+1|0;e=v[(f+16|0)+(d<<2)>>2];if((e|0)>0){continue}break}g=(v[f+8>>2]>v[f+12>>2])<<2;d=v[g+f>>2]>>2;e=b;k=v[(g|f+16)>>2]<<3;g=x[(k+b|0)+2>>1];b=x[(b-k|0)+2>>1];a:{if(g>>>0>=b>>>0){d=(d|0)<(g|0)?d:g;b=(b|0)>(d|0)?b:d;break a}b=(b|0)>(d|0)?d:b;b=(b|0)<(g|0)?g:b}u[e+2>>1]=b;c=c+2|0;b=x[a+26310>>1];if((c|0)<(b-3|0)){continue}break}e=x[a+26308>>1]}h=h+1|0;if((h|0)<((e&65535)-3|0)){continue}break}}b:{if((e&65535)>>>0<3){break b}b=x[a+26310>>1];m=v[a+26028>>2];g=1;while(1){c=g<<1&14;j=m>>>(c<<1)&1;h=j+1|0;d=b&65535;if((h|0)<(d-1|0)){e=m>>>((c|j)<<1)&3;k=v[a+26352>>2];b=d;while(1){b=(k+(B(b,g)<<3)|0)+(h<<3)|0;d=0;c=1;while(1){j=e<<1;c=c<<3;i=c+b|0;c=b-c|0;c=(x[j+i>>1]+x[c+j>>1]|0)+(x[b+2>>1]<<1)-(x[c+2>>1]+x[i+2>>1])|0;c=(c|0)<131070?c>>1:65535;u[b+j>>1]=(c|0)>0?c:0;e=2-e|0;d=d+1|0;c=v[(f+16|0)+(d<<2)>>2];if((c|0)>0){continue}break}h=h+2|0;b=x[a+26310>>1];if((h|0)<(b-1|0)){continue}break}e=x[a+26308>>1]}g=g+1|0;if((g|0)<((e&65535)-1|0)){continue}break}if((e&65535)>>>0<3){break b}g=r+1|0;d=x[a+26310>>1];k=v[a+26028>>2];r=v[f+20>>2];m=1;while(1){c=m<<1&14;h=(k>>>(c<<1|2)&1)+1|0;b=d&65535;if((h|0)<(b-1|0)){q=2-(k>>>((c|h&1)<<1)&3)|0;y=v[a+26352>>2];while(1){d=1;j=(y+(B(b,m)<<3)|0)+(h<<3)|0;i=x[j+2>>1];w=i<<1;c=0;e=r;b=g;while(1){s=c<<2;b=b<<3;c=b+j|0;l=q<<1;n=x[c+l>>1];b=j-b|0;o=x[b+l>>1];b=x[b+2>>1];p=x[c+2>>1];v[s+f>>2]=w+(n+o|0)-(b+p);t=b-i|0;b=t>>31;o=o-n|0;c=o>>31;p=p-i|0;n=p>>31;v[s+(f+8|0)>>2]=((b^b+t)+(c^c+o)|0)+(n^n+p);b=e;c=d;d=c+1|0;e=v[(f+16|0)+(d<<2)>>2];b=b+e|0;if((b|0)>0){continue}break}e=j+l|0;b=v[f+8>>2];d=v[f+12>>2];c:{if((b|0)==(d|0)){b=v[f+4>>2]+v[f>>2]>>2;b=(b|0)<65535?b:65535;break c}b=v[(((b|0)>(d|0))<<2)+f>>2];b=(b|0)<131070?b>>1:65535}u[e>>1]=(b|0)>0?b:0;h=h+2|0;b=x[a+26310>>1];if((h|0)<(b-1|0)){continue}break}d=b;e=x[a+26308>>1]}m=m+1|0;if((m|0)<((e&65535)-1|0)){continue}break}}Ma=f+48|0}function vY(a,b,c){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,p=0;if((c|0)>=0){k=x[b+2>>1];i=k?4:3;e=k?7:138;j=a+5817|0;g=-1;while(1){p=n;l=k;n=n+1|0;k=x[((n<<2)+b|0)+2>>1];d=f+1|0;a:{if(!((l|0)!=(k|0)|(e|0)<=(d|0))){f=d;break a}b:{if((d|0)<(i|0)){f=(l<<2)+a|0;g=f+2684|0;h=f+2686|0;f=v[a+5820>>2];while(1){i=x[h>>1];m=x[g>>1];e=x[a+5816>>1]|m<>1]=e;o=a;c:{if((16-i|0)<(f|0)){f=v[a+20>>2];v[a+20>>2]=f+1;t[f+v[a+8>>2]|0]=e;f=v[a+20>>2];v[a+20>>2]=f+1;t[f+v[a+8>>2]|0]=w[j|0];f=v[a+5820>>2];u[a+5816>>1]=m>>>16-f;f=(f+i|0)-16|0;break c}f=f+i|0}v[o+5820>>2]=f;d=d-1|0;if(d){continue}break}break b}o=a;d:{if(l){e:{if((g|0)==(l|0)){e=v[a+5820>>2];f=d;break e}d=(l<<2)+a|0;e=x[d+2686>>1];h=x[d+2684>>1];g=v[a+5820>>2];m=x[a+5816>>1]|h<>1]=m;d=a;f:{if((g|0)>(16-e|0)){g=v[a+20>>2];v[a+20>>2]=g+1;t[g+v[a+8>>2]|0]=m;g=v[a+20>>2];v[a+20>>2]=g+1;t[g+v[a+8>>2]|0]=w[j|0];g=v[a+5820>>2];u[a+5816>>1]=h>>>16-g;i=(e+g|0)-16|0;break f}i=e+g|0}e=i;v[d+5820>>2]=e}h=x[a+2748>>1];d=x[a+5816>>1]|h<>1];g:{if((16-g|0)<(e|0)){u[a+5816>>1]=d;e=v[a+20>>2];v[a+20>>2]=e+1;t[e+v[a+8>>2]|0]=d;d=v[a+20>>2];v[a+20>>2]=d+1;t[d+v[a+8>>2]|0]=w[j|0];d=v[a+5820>>2];e=(d+g|0)-16|0;d=h>>>16-d|0;break g}e=e+g|0}v[a+5820>>2]=e;f=f+65533|0;if((e|0)>=15){d=f<>1]=d;e=v[a+20>>2];v[a+20>>2]=e+1;t[e+v[a+8>>2]|0]=d;d=v[a+20>>2];v[a+20>>2]=d+1;t[d+v[a+8>>2]|0]=w[j|0];d=f&65535;f=v[a+5820>>2];u[a+5816>>1]=d>>>16-f;f=f-14|0;break d}u[a+5816>>1]=f<>1];e=v[a+5820>>2];d=x[a+5816>>1]|h<>1];h:{if((e|0)>(16-g|0)){u[a+5816>>1]=d;e=v[a+20>>2];v[a+20>>2]=e+1;t[e+v[a+8>>2]|0]=d;d=v[a+20>>2];v[a+20>>2]=d+1;t[d+v[a+8>>2]|0]=w[j|0];d=v[a+5820>>2];e=(d+g|0)-16|0;d=h>>>16-d|0;break h}e=e+g|0}v[a+5820>>2]=e;f=f+65534|0;if((e|0)>=14){d=f<>1]=d;e=v[a+20>>2];v[a+20>>2]=e+1;t[e+v[a+8>>2]|0]=d;d=v[a+20>>2];v[a+20>>2]=d+1;t[d+v[a+8>>2]|0]=w[j|0];d=f&65535;f=v[a+5820>>2];u[a+5816>>1]=d>>>16-f;f=f-13|0;break d}u[a+5816>>1]=f<>1];e=v[a+5820>>2];d=x[a+5816>>1]|h<>1];i:{if((e|0)>(16-g|0)){u[a+5816>>1]=d;e=v[a+20>>2];v[a+20>>2]=e+1;t[e+v[a+8>>2]|0]=d;d=v[a+20>>2];v[a+20>>2]=d+1;t[d+v[a+8>>2]|0]=w[j|0];d=v[a+5820>>2];e=(d+g|0)-16|0;d=h>>>16-d|0;break i}e=e+g|0}v[a+5820>>2]=e;f=f+65526|0;if((e|0)>=10){d=f<>1]=d;e=v[a+20>>2];v[a+20>>2]=e+1;t[e+v[a+8>>2]|0]=d;d=v[a+20>>2];v[a+20>>2]=d+1;t[d+v[a+8>>2]|0]=w[j|0];d=f&65535;f=v[a+5820>>2];u[a+5816>>1]=d>>>16-f;f=f-9|0;break d}u[a+5816>>1]=f<>2]=f}f=0;j:{if(!k){e=138;d=3;break j}d=(l|0)==(k|0);e=d?6:7;d=d?3:4}i=d;g=l}if((c|0)!=(p|0)){continue}break}}}function Dva(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;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0,C=0,E=0,F=0,G=0,H=0;m=Ma-128|0;Ma=m;a:{if(w[a+208|0]){break a}if(!((j|0)>0&(i|0)>=1)){Qa[v[v[a>>2]+288>>2]](a,b,c,d,e,f,g,0,0,l)}c=B(e,f)<<2;if((c|0)<1){break a}C=A[b+104>>3];r=ab(c);x=m+96|0;c=x;v[c+12>>2]=0;v[c+16>>2]=0;v[c+4>>2]=1;v[c+8>>2]=8;v[c>>2]=360452;v[c+20>>2]=0;v[c+24>>2]=0;t[c+28|0]=0;v[m+48>>2]=e;v[m+40>>2]=f;v[m+32>>2]=0-(e<<2);Uo(c,r,m+48|0,m+40|0,m+32|0);y=ab(36);o=cq(y,d,e,v[g+8>>2],v[g+4>>2]);z=ab(36);p=cq(z,h,i,1,1);c=v[p>>2];Qa[v[v[c>>2]+20>>2]](c);c=v[o>>2];Qa[v[v[c>>2]+20>>2]](c);b:{if(!((e|0)==(i|0)&(f|0)==(j|0))){l=ab(B(i,j));t[m+32|0]=0;h=j-1|0;if(!((j|0)<1|(i|0)<1)){c=h;while(1){n=B(c,i);d=0;while(1){ll(p,m+32|0);t[(d+n|0)+l|0]=w[m+32|0];d=d+1|0;if((i|0)!=(d|0)){continue}break}d=(c|0)>0;c=c-1|0;if(d){continue}break}}v[m+40>>2]=0;if(!((f|0)<1|(e|0)<1)){c=i-1|0;s=+(f|0)/+(j|0);u=+(e|0)/+(i|0);while(1){d=h;j=f-1|0;q=+(j|0)/s;c:{if(D(q)<2147483648){n=~~q;break c}n=-2147483648}E=B((h|0)<(n|0)?d:n,i);F=B(e,j);d=0;while(1){ll(o,m+40|0);G=m;H=c;q=+(d|0)/u;d:{if(D(q)<2147483648){n=~~q;break d}n=-2147483648}t[G+32|0]=w[(((c|0)<(n|0)?H:n)+E|0)+l|0];ws(g,m+40|0,m+48|0);n=(d+F<<2)+r|0;t[n|0]=B(v[m+56>>2],255)+32768>>>16;t[n+1|0]=B(v[m+52>>2],255)+32768>>>16;t[n+2|0]=B(v[m+48>>2],255)+32768>>>16;t[n+3|0]=0-(!w[m+32|0]|(k|0)!=0);d=d+1|0;if((e|0)!=(d|0)){continue}break}d=(f|0)>1;f=j;if(d){continue}break}}$a(l);break b}v[m+40>>2]=0;t[m+32|0]=0;if((j|0)<1|(i|0)<1){break b}e=j-1|0;if(!k){while(1){d=B(e,i);h=0;while(1){c=m+40|0;ll(o,c);ll(p,m+32|0);ws(g,c,m+48|0);c=(d+h<<2)+r|0;t[c|0]=B(v[m+56>>2],255)+32768>>>16;t[c+1|0]=B(v[m+52>>2],255)+32768>>>16;t[c+2|0]=B(v[m+48>>2],255)+32768>>>16;t[c+3|0]=w[m+32|0]?0:-1;h=h+1|0;if((i|0)!=(h|0)){continue}break}c=(e|0)>0;e=e-1|0;if(c){continue}break b}}while(1){d=B(e,i);h=0;while(1){c=m+40|0;ll(o,c);ll(p,m+32|0);ws(g,c,m+48|0);c=(d+h<<2)+r|0;t[c|0]=B(v[m+56>>2],255)+32768>>>16;t[c+1|0]=B(v[m+52>>2],255)+32768>>>16;f=v[m+48>>2];t[c+3|0]=255;t[c+2|0]=B(f,255)+32768>>>16;h=h+1|0;if((i|0)!=(h|0)){continue}break}c=(e|0)>0;e=e-1|0;if(c){continue}break}}bq(p);$a(z);bq(o);$a(y);A[m+48>>3]=A[b+16>>3];A[m+56>>3]=-A[b+24>>3];s=A[b+32>>3];A[m+64>>3]=-s;u=A[b+40>>3];A[m+72>>3]=u;A[m+80>>3]=s+A[b+48>>3];A[m+88>>3]=C-(u+A[b+56>>3]);v[m+40>>2]=0;v[m+44>>2]=0;v[m+32>>2]=0;v[m+36>>2]=0;Es(a,m+48|0,m+40|0,m+32|0,1);a=v[a+104>>2];A[m+24>>3]=A[m+40>>3]+0;A[m+16>>3]=A[m+32>>3]+0;v[m+8>>2]=1049880894;v[m+12>>2]=1071027177;v[m>>2]=1049880894;v[m+4>>2]=1071027177;Qa[v[v[a>>2]+356>>2]](a,x,m+24|0,m+16|0,m+8|0,m)|0;Vo(x)}Ma=m+128|0}function Cc(a,b){var 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=t[b|0];if(!c){return a}a=ye(a,c);a:{if(!a){break a}if(!w[b+1|0]){return a}if(!w[a+1|0]){break a}if(!w[b+2|0]){d=w[a+1|0];c=(d|0)!=0;b:{if(!d){break b}f=d|w[a|0]<<8;e=w[b+1|0]|w[b|0]<<8;if((f|0)==(e|0)){break b}b=a+1|0;while(1){a=b;d=w[a+1|0];c=(d|0)!=0;if(!d){break b}b=a+1|0;f=d|f<<8&65280;if((e|0)!=(f|0)){continue}break}}return c?a:0}if(!w[a+2|0]){break a}if(!w[b+3|0]){d=b;b=a+2|0;e=w[a+2|0];c=(e|0)!=0;c:{d:{if(!e){break d}f=w[a+1|0]<<16|w[a|0]<<24|e<<8;e=w[d+1|0]<<16|w[d|0]<<24|w[d+2|0]<<8;if((f|0)==(e|0)){break d}while(1){a=b+1|0;d=w[b+1|0];c=(d|0)!=0;if(!d){break c}b=a;f=(d|f)<<8;if((e|0)!=(f|0)){continue}break}break c}a=b}return c?a-2|0:0}if(!w[a+3|0]){break a}if(!w[b+4|0]){d=b;b=a+3|0;e=w[a+3|0];c=(e|0)!=0;e:{f:{if(!e){break f}f=e|(w[a+1|0]<<16|w[a|0]<<24|w[a+2|0]<<8);a=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);e=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if((f|0)==(e|0)){break f}while(1){a=b+1|0;d=w[b+1|0];c=(d|0)!=0;if(!d){break e}b=a;f=d|f<<8;if((e|0)!=(f|0)){continue}break}break e}a=b}return c?a-3|0:0}d=a;h=Ma-1056|0;Ma=h;a=h+1048|0;v[a>>2]=0;v[a+4>>2]=0;a=h+1040|0;v[a>>2]=0;v[a+4>>2]=0;v[h+1032>>2]=0;v[h+1036>>2]=0;v[h+1024>>2]=0;v[h+1028>>2]=0;j=b;g:{h:{i:{j:{c=w[b|0];k:{if(!c){i=-1;a=1;break k}while(1){if(!w[d+g|0]){break h}a=c&255;g=g+1|0;v[(a<<2)+h>>2]=g;b=(h+1024|0)+(a>>>3&28)|0;v[b>>2]=v[b>>2]|1<>>0>1){break j}}e=-1;b=1;break i}b=0;k=1;c=1;while(1){e=w[(c+i|0)+j|0];f=w[a+j|0];l:{if((e|0)==(f|0)){if((c|0)==(k|0)){b=b+k|0;c=1;break l}c=c+1|0;break l}if(e>>>0>f>>>0){k=a-i|0;b=a;c=1;break l}i=b;b=b+1|0;k=1;c=1}a=b+c|0;if(g>>>0>a>>>0){continue}break}b=1;e=-1;if(g>>>0<=1){a=k;break i}a=0;f=1;c=1;while(1){m=w[(c+e|0)+j|0];l=w[b+j|0];m:{if((m|0)==(l|0)){if((c|0)==(f|0)){a=a+f|0;c=1;break m}c=c+1|0;break m}if(l>>>0>m>>>0){f=b-e|0;a=b;c=1;break m}e=a;a=a+1|0;f=1;c=1}b=a+c|0;if(g>>>0>b>>>0){continue}break}a=k;b=f}c=a;a=e+1>>>0>i+1>>>0;f=a?b:c;l=a?e:i;m=l+1|0;n:{if(Jb(j,j+f|0,m)){a=(l^-1)+g|0;f=(a>>>0>>0?l:a)+1|0;n=g-f|0;k=0;break n}n=g-f|0;k=n}p=g-1|0;o=g|63;e=0;a=d;while(1){o:{if(d-a>>>0>=g>>>0){break o}b=ag(d,0,o);if(b){d=b;if(b-a>>>0>>0){break h}break o}d=d+o|0}b=w[a+p|0];c=g;p:{q:{if(!(v[(h+1024|0)+(b>>>3&28)>>2]>>>b&1)){break q}b=g-v[(b<<2)+h>>2]|0;if(b){c=k?e?b>>>0>>0?n:b:b:b;break q}r:{c=m;b=c>>>0>e>>>0?c:e;i=w[j+b|0];if(i){while(1){if(w[a+b|0]!=(i&255)){break r}b=b+1|0;i=w[j+b|0];if(i){continue}break}}while(1){if(c>>>0<=e>>>0){break g}c=c-1|0;if(w[j+c|0]==w[a+c|0]){continue}break}c=f;e=k;break p}c=b-l|0}e=0}a=a+c|0;continue}}a=0}Ma=h+1056|0;d=a}return d}function CHa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;f=v[a+16>>2];if(y[a+20>>2]>=f+16>>>0){h=v[a+32>>2];g=h;d=v[f>>2];c=w[d|0];a:{if((c|0)==30){d=Qo(a,d,0,0);break a}e=d+1|0;b:{c:{d:{e:{switch(c-28|0){case 0:if(y[a+8>>2]<=d+2>>>0){break b}b=(w[d+2|0]|w[e|0]<<8)<<16>>16;break c;case 1:if(y[a+8>>2]<=d+4>>>0){break b}b=w[d+1|0]|w[d+2|0]<<8|(w[d+3|0]<<16|w[d+4|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break d;default:break e}}if(c>>>0<=246){b=c-139|0;break b}d=v[a+8>>2];if(c>>>0<=250){if(d>>>0<=e>>>0){break b}b=(w[e|0]|c<<8)-63124|0;break c}if(d>>>0<=e>>>0){break b}b=64148-(w[e|0]|c<<8)|0}d=2147483647;if((b|0)>32767){break a}}d=(b|0)<-32767?-2147483647:b<<16;break a}d=b<<16}v[g+84>>2]=((d>>31)+d|0)+32768&-65536;g=h;c=v[f+4>>2];e=w[c|0];f:{if((e|0)==30){c=Qo(a,c,0,0);break f}d=c+1|0;g:{h:{i:{j:{switch(e-28|0){case 0:b=0;if(y[a+8>>2]<=c+2>>>0){break g}b=(w[c+2|0]|w[d|0]<<8)<<16>>16;break h;case 1:b=0;if(y[a+8>>2]<=c+4>>>0){break g}b=w[c+1|0]|w[c+2|0]<<8|(w[c+3|0]<<16|w[c+4|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break i;default:break j}}if(e>>>0<=246){b=e-139|0;break g}c=v[a+8>>2];if(e>>>0<=250){b=0;if(c>>>0<=d>>>0){break g}b=(w[d|0]|e<<8)-63124|0;break h}b=0;if(c>>>0<=d>>>0){break g}b=64148-(w[d|0]|e<<8)|0}c=2147483647;if((b|0)>32767){break f}}c=(b|0)<-32767?-2147483647:b<<16;break f}c=b<<16}v[g+88>>2]=((c>>31)+c|0)+32768&-65536;g=h;b=v[f+8>>2];e=w[b|0];k:{if((e|0)==30){c=Qo(a,b,0,0);break k}d=b+1|0;l:{m:{n:{switch(e-28|0){case 0:c=0;if(y[a+8>>2]<=b+2>>>0){break k}b=(w[b+2|0]|w[d|0]<<8)<<16>>16;break l;case 1:c=0;if(y[a+8>>2]<=b+4>>>0){break k}b=w[b+1|0]|w[b+2|0]<<8|(w[b+3|0]<<16|w[b+4|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break m;default:break n}}c=(e<<16)-9109504|0;if(e>>>0<=246){break k}b=v[a+8>>2];if(e>>>0<=250){c=0;if(b>>>0<=d>>>0){break k}b=(w[d|0]|e<<8)-63124|0;break l}c=0;if(b>>>0<=d>>>0){break k}b=64148-(w[d|0]|e<<8)|0}c=2147483647;if((b|0)>32767){break k}}c=(b|0)<-32767?-2147483647:b<<16}v[g+92>>2]=((c>>31)+c|0)+32768&-65536;b=v[f+12>>2];c=w[b|0];o:{if((c|0)==30){d=Qo(a,b,0,0);break o}e=b+1|0;p:{q:{r:{switch(c-28|0){case 0:d=0;if(y[a+8>>2]<=b+2>>>0){break o}a=(w[b+2|0]|w[e|0]<<8)<<16>>16;break p;case 1:d=0;if(y[a+8>>2]<=b+4>>>0){break o}a=w[b+1|0]|w[b+2|0]<<8|(w[b+3|0]<<16|w[b+4|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break q;default:break r}}d=(c<<16)-9109504|0;if(c>>>0<=246){break o}a=v[a+8>>2];if(c>>>0<=250){d=0;if(a>>>0<=e>>>0){break o}a=(w[e|0]|c<<8)-63124|0;break p}d=0;if(a>>>0<=e>>>0){break o}a=64148-(w[e|0]|c<<8)|0}d=2147483647;if((a|0)>32767){break o}}d=(a|0)<-32767?-2147483647:a<<16}v[h+96>>2]=((d>>31)+d|0)+32768&-65536;a=0}else{a=161}return a|0}function WNa(a){a=a|0;var 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;m=v[a+4>>2];c=v[m+68>>2];if(c){while(1){if(!v[c>>2]){e=v[c+8>>2];b=B(e,v[c+4>>2])+b|0;d=B(e,v[c+12>>2])+d|0}c=v[c+44>>2];if(c){continue}break}}c=v[m+72>>2];if(c){while(1){if(!v[c>>2]){e=v[c+8>>2];b=(B(e,v[c+4>>2])<<7)+b|0;d=(B(e,v[c+12>>2])<<7)+d|0}c=v[c+44>>2];if(c){continue}break}}a:{if((d|0)<1){break a}n=1e9;e=v[m+68>>2];if(e){while(1){if(!v[e>>2]){g=v[e+4>>2];b=v[e+12>>2];b:{if((((g-1>>>0)/(b>>>0)|0)+1|0)<=(n|0)){v[e+16>>2]=g;break b}v[e+16>>2]=B(b,n);b=v[a>>2];v[b+20>>2]=51;Qa[v[b>>2]](a);v[e+40>>2]=1;g=v[e+16>>2]}i=v[e+8>>2];b=999999984/(i>>>0)|0;h=v[a+4>>2];if(i>>>0>=999999985){c=v[a>>2];v[c+20>>2]=72;Qa[v[c>>2]](a)}k=h;h=(b|0)<(g|0)?b:g;v[k+80>>2]=h;c=0;k=Sq(a,1,g<<2);if(g){while(1){d=v[a+4>>2];b=g-c|0;h=b>>>0>h>>>0?h:b;b=B(i,h);if(b>>>0>=999999985){f=v[a>>2];v[f+20>>2]=56;v[f+24>>2]=3;Qa[v[v[a>>2]>>2]](a)}f=b&7;f=b+(f?8-f|0:0)|0;j=f+16|0;b=gb(j);if(!b){l=v[a>>2];v[l+20>>2]=56;v[l+24>>2]=4;Qa[v[v[a>>2]>>2]](a)}v[d+76>>2]=j+v[d+76>>2];d=d- -64|0;j=v[d>>2];v[b+8>>2]=0;v[b+4>>2]=f;v[b>>2]=j;v[d>>2]=b;c:{if(!h){break c}d=b+16|0;b=h;f=b&3;if(f){while(1){v[k+(c<<2)>>2]=d;b=b-1|0;d=d+i|0;c=c+1|0;f=f-1|0;if(f){continue}break}}if(h-1>>>0<3){break c}while(1){f=k+(c<<2)|0;v[f>>2]=d;d=d+i|0;j=d+i|0;l=j+i|0;v[f+12>>2]=l;v[f+8>>2]=j;v[f+4>>2]=d;c=c+4|0;d=i+l|0;b=b-4|0;if(b){continue}break}}if(c>>>0>>0){continue}break}}v[e>>2]=k;b=v[m+80>>2];v[e+36>>2]=0;v[e+24>>2]=0;v[e+28>>2]=0;v[e+20>>2]=b}e=v[e+44>>2];if(e){continue}break}}g=v[m+72>>2];if(!g){break a}while(1){if(!v[g>>2]){h=v[g+4>>2];b=v[g+12>>2];d:{if((((h-1>>>0)/(b>>>0)|0)+1|0)<=(n|0)){v[g+16>>2]=h;break d}v[g+16>>2]=B(b,n);b=v[a>>2];v[b+20>>2]=51;Qa[v[b>>2]](a);v[g+40>>2]=1;h=v[g+16>>2]}i=v[g+8>>2]<<7;b=999999984/(i>>>0)|0;e=v[a+4>>2];if(i>>>0>=999999985){c=v[a>>2];v[c+20>>2]=72;Qa[v[c>>2]](a)}k=e;e=(b|0)<(h|0)?b:h;v[k+80>>2]=e;c=0;k=Sq(a,1,h<<2);if(h){while(1){d=v[a+4>>2];b=h-c|0;e=b>>>0>e>>>0?e:b;f=B(i,e);if(f>>>0>=999999985){b=v[a>>2];v[b+20>>2]=56;v[b+24>>2]=3;Qa[v[v[a>>2]>>2]](a)}j=f|16;b=gb(j);if(!b){l=v[a>>2];v[l+20>>2]=56;v[l+24>>2]=4;Qa[v[v[a>>2]>>2]](a)}v[d+76>>2]=j+v[d+76>>2];d=d- -64|0;j=v[d>>2];v[b+8>>2]=0;v[b+4>>2]=f;v[b>>2]=j;v[d>>2]=b;e:{if(!e){break e}d=b+16|0;b=e;f=b&3;if(f){while(1){v[k+(c<<2)>>2]=d;b=b-1|0;c=c+1|0;d=d+i|0;f=f-1|0;if(f){continue}break}}if(e-1>>>0<3){break e}while(1){f=k+(c<<2)|0;v[f>>2]=d;d=d+i|0;j=d+i|0;v[f+8>>2]=j;v[f+4>>2]=d;d=i+j|0;v[f+12>>2]=d;d=d+i|0;c=c+4|0;b=b-4|0;if(b){continue}break}}if(c>>>0>>0){continue}break}}v[g>>2]=k;b=v[m+80>>2];v[g+36>>2]=0;v[g+24>>2]=0;v[g+28>>2]=0;v[g+20>>2]=b}g=v[g+44>>2];if(g){continue}break}}}function nM(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=Ma-112|0;Ma=e;v[e+8>>2]=0;m=-1;i=sp(a,1918128707);a:{if(!i){break a}b:{c:{d:{e:{f:{k=sp(a,1733579331);if(k){j=sp(a,1649693251);if(!j){break f}h=sp(a,1918392666);if(!h){break f}f=sp(a,1733843290);if(!f){break d}a=sp(a,1649957210);if(!a){break d}if(v[i+4>>2]!=1668641398|v[h+4>>2]!=1482250784|(v[k+4>>2]!=1668641398|v[f+4>>2]!=1482250784)){break c}if(v[j+4>>2]!=1668641398|v[a+4>>2]!=1482250784){break c}d=gb(152);if(!d){break c}v[d+4>>2]=1015512;v[d+8>>2]=3;v[d+12>>2]=3;eb(d+16|0,0,136);v[d>>2]=1;l=Di();g=0;if(!l){break b}if(Ll(l,-1,d)){break e}v[d+24>>2]=1;v[d+28>>2]=1;v[d+16>>2]=0;g:{if(!b){v[d+20>>2]=0;A[d+56>>3]=+v[h+12>>2]*152587890625e-16;A[d+88>>3]=+v[h+16>>2]*152587890625e-16;A[d+120>>3]=+v[h+20>>2]*152587890625e-16;A[d+64>>3]=+v[f+12>>2]*152587890625e-16;A[d+96>>3]=+v[f+16>>2]*152587890625e-16;A[d+128>>3]=+v[f+20>>2]*152587890625e-16;A[d+72>>3]=+v[a+12>>2]*152587890625e-16;A[d+104>>3]=+v[a+16>>2]*152587890625e-16;b=v[a+20>>2];v[d+144>>2]=0;v[d+148>>2]=0;v[d+112>>2]=0;v[d+116>>2]=0;v[d+80>>2]=0;v[d+84>>2]=0;A[d+136>>3]=+(b|0)*152587890625e-16;if(Tn(d+32|0,i+12|0)){break e}if(Tn(d+40|0,k+12|0)){break e}if(!Tn(d+48|0,j+12|0)){break g}break e}v[d+20>>2]=1;A[e+16>>3]=+v[h+12>>2]*152587890625e-16;A[e+48>>3]=+v[h+16>>2]*152587890625e-16;A[e+80>>3]=+v[h+20>>2]*152587890625e-16;A[e+24>>3]=+v[f+12>>2]*152587890625e-16;A[e+56>>3]=+v[f+16>>2]*152587890625e-16;A[e+88>>3]=+v[f+20>>2]*152587890625e-16;A[e+32>>3]=+v[a+12>>2]*152587890625e-16;A[e- -64>>3]=+v[a+16>>2]*152587890625e-16;b=v[a+20>>2];v[e+104>>2]=0;v[e+108>>2]=0;v[e+72>>2]=0;v[e+76>>2]=0;A[e+96>>3]=+(b|0)*152587890625e-16;v[e+40>>2]=0;v[e+44>>2]=0;if(pM(d+56|0,e+16|0)){break e}v[e+8>>2]=0;v[e+12>>2]=0;if(Tn(e+8|0,i+12|0)){break e}if(dx(d+32|0,e+8|0,v[e+12>>2])){break e}b=v[e+8>>2];if(b){$a(b)}v[e+8>>2]=0;v[e+12>>2]=0;if(Tn(e+8|0,k+12|0)){break e}if(dx(d+40|0,e+8|0,v[e+12>>2])){break e}b=v[e+8>>2];if(b){$a(b)}v[e+8>>2]=0;v[e+12>>2]=0;if(Tn(e+8|0,j+12|0)){break e}if(dx(d+48|0,e+8|0,v[e+12>>2])){break e}b=v[e+8>>2];if(b){$a(b);v[e+8>>2]=0}v[e+12>>2]=0}ei(i);ei(h);ei(k);ei(f);ei(j);ei(a);lM(d);v[c>>2]=l;m=0;break a}ei(i);break a}ei(i);ei(k);if(!j){break a}ei(j);break a}g=l;break b}a=0}d=0;g=0}ei(i);ei(h);ei(k);if(f){ei(f)}ei(j);if(a){ei(a)}if(g){a=v[g>>2];if((a|0)>=1){while(1){c=v[g+8>>2];a=a-1|0;f=a<<2;b=v[c+f>>2];l=v[b>>2];v[b>>2]=l-1;if((l|0)<=1){Qa[v[v[b+4>>2]>>2]](b);$a(b);c=v[g+8>>2];a=v[g>>2]-1|0}v[c+f>>2]=0;v[g>>2]=a;if((a|0)>0){continue}break}}a=v[g+8>>2];if(a){$a(a)}$a(g)}if(!d){break a}a=v[d>>2];v[d>>2]=a-1;if((a|0)>1){break a}Qa[v[v[d+4>>2]>>2]](d);$a(d)}Ma=e+112|0;return m}function cAa(a,b){a=a|0;b=b|0;var 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;g=Ma-16|0;Ma=g;c=v[a+8>>2];v[g+8>>2]=c;l=v[a+12>>2];i=v[a+16>>2];a:{b:{c:{m=v[a+4>>2];d=v[m+8>>2];if(v[d+60>>2]){k=c;break c}if(!(w[m+36|0]!=1|c>>>0>=l>>>0|y[a+20>>2]<=i>>>0)){t[m+36|0]=0;h=w[m+37|0];break b}f=0;break a}f=1;break a}f=2}d:{while(1){e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{switch(f|0){case 0:q:{r:{s:{if(c>>>0>>0){if(y[a+20>>2]<=i>>>0){break h}k=c;while(1){c=k+1|0;t:{u:{v:{h=w[k|0];switch(h-10|0){case 0:case 3:break k;case 17:break q;case 5:break u;case 4:break v;default:break o}}if(!w[d+49|0]){break r}t[d+68|0]=1;t[d+52|0]=1;break t}t[d+52|0]=0;if(w[d+68|0]){break s}}k=c;if((c|0)!=(l|0)){continue}break}c=l}v[g+8>>2]=c;break g}t[d+68|0]=0;v[b>>2]=18;b=v[a+4>>2];t[b+37|0]=15;v[b+256>>2]=2;t[v[a+4>>2]+36|0]=1;break g}v[g+8>>2]=c;t[d+68|0]=0;f=65535;h=14;break i}v[g+8>>2]=k;m=v[a+4>>2];f=1;continue;case 1:break p;default:break n}}e=w[m+36|0];vA(m,g+8|0,l,3,b);c=v[b>>2];w:{if(!v[d+60>>2]){if((c|0)>0){break e}if(!w[d+68|0]){break w}v[b>>2]=18;b=v[a+4>>2];v[b+256>>2]=2;t[b+36|0]=e+(v[g+8>>2]-k|0);break e}if((c|0)>0){break e}}c=v[g+8>>2];break f}e=h<<24>>24;v[g+8>>2]=c;t[d+68|0]=0;if(!w[d+52|0]){break l}if(c>>>0>=l>>>0){break m}f=2;continue}j=w[c|0];e=j-33|0;x:{if(!((h+223&254)>>>0>93|(e&255)>>>0>93)){c=c+1|0;v[g+8>>2]=c;p=g;e=t[(t[d+52|0]+d|0)+48|0];y:{if((e|0)>=32){n=v[d+12>>2];t[g+15|0]=j;t[g+13|0]=e+96;o=3;f=h;break y}o=2;n=v[(e<<2)+d>>2];t[g+13|0]=h;f=j}t[p+14|0]=f;h=j|h<<8;f=wm(n,g+13|0,o);break x}f=65535;if((e&255)>>>0<94|(1<>>0<=31:0)){break x}c=c+1|0;v[g+8>>2]=c;h=j|h<<8|65536}if(t[d+52|0]<2){break i}t[d+52|0]=w[d+53|0];break i}t[v[a+4>>2]+37|0]=e;t[v[a+4>>2]+36|0]=1;break g}if((e|0)>=0){break j}f=65535;break i}v[g+8>>2]=c;t[d+52|0]=0;t[d+53|0]=0;t[d+48|0]=0;t[d+49|0]=0;t[d+50|0]=0;t[d+51|0]=0;t[d+68|0]=0}f=h}if(f>>>0<=65533){e=v[a+24>>2];if(e){v[e+(i-v[a+16>>2]<<1)>>2]=((h>>>0<256?-1:-2)+c|0)-v[a+8>>2]}u[i>>1]=f;i=i+2|0;break f}if(f>>>0>=65536){u[i>>1]=(f+67043328>>>10|0)-10240;z:{A:{B:{j=v[a+24>>2];C:{if(!j){e=i+2|0;if(e>>>0>2]){break B}break C}n=v[a+16>>2];o=((h>>>0<256?-1:-2)+c|0)-v[a+8>>2]|0;v[(i-n<<1)+j>>2]=o;e=i+2|0;if(e>>>0>2]){break A}}i=e;e=v[a+4>>2];j=t[e+65|0];t[e+65|0]=j+1;u[(e+(j<<1)|0)+116>>1]=f&1023|56320;break f}u[e>>1]=f&1023|56320;break z}u[e>>1]=f&1023|56320;v[(e-n<<1)+j>>2]=o}i=i+4|0;break f}k=v[a+4>>2];p=k;if(h>>>0>=256){t[k+38|0]=h;h=h>>>8|0;l=2}else{l=1}t[p+36|0]=l;t[k+37|0]=h;v[b>>2]=(f|0)==65534?10:12;break g}v[g+8>>2]=c;v[b>>2]=15}v[a+8>>2]=c;v[a+16>>2]=i;break d}f=0;continue}break}v[a+16>>2]=i;v[a+8>>2]=v[g+8>>2];t[d+68|0]=0}Ma=g+16|0}function bB(a,b,c,d,e,f){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,w=0,x=0,y=0;p=e>>8;a:{if((d|0)==(f|0)){b:{if(v[a+188>>2]){break b}f=v[a+180>>2];if(!(v[a+184>>2]?1:f)){break b}e=v[a+156>>2];c:{j=v[a+192>>2]+(v[a+160>>2]-v[a+172>>2]<<2)|0;c=v[j>>2];d:{if(!c){c=0;break d}g=v[c>>2];if((e|0)<(g|0)){break d}e:{while(1){d=c;if((e|0)==(g|0)){break c}c=v[d+12>>2];if(c){g=v[c>>2];if((e|0)<(g|0)){break e}continue}break}c=0}j=d+12|0}d=v[a+204>>2];if((d|0)>=v[a+200>>2]){break a}v[a+204>>2]=d+1;d=v[a+196>>2]+(d<<4)|0;v[d+8>>2]=f;v[d>>2]=e;e=v[a+184>>2];v[d+12>>2]=c;v[d+4>>2]=e;v[j>>2]=d;break b}v[d+8>>2]=f+v[d+8>>2];v[d+4>>2]=v[d+4>>2]+v[a+184>>2]}v[a+180>>2]=0;v[a+184>>2]=0;v[a+160>>2]=b;c=v[a+164>>2];v[a+156>>2]=(c|0)>(p|0)?c-1|0:p;c=1;v[a+188>>2]=v[a+176>>2]<=(b|0)|v[a+172>>2]>(b|0)?c:v[a+168>>2]<=(p|0);return}g=c&255;f:{y=a;q=c>>8;g:{if((q|0)==(p|0)){i=v[a+180>>2];c=v[a+184>>2];break g}j=f-d|0;t=1;k=a;l=e-c|0;h:{if((l|0)>=1){u=256;c=256-g|0;break h}l=0-l|0;t=-1;c=g}c=B(c,j);h=(c|0)/(l|0)|0;r=c-B(h,l)|0;s=r>>31;m=h+s|0;i=m+v[a+184>>2]|0;v[k+184>>2]=i;k=v[a+180>>2]+B(m,g|u)|0;v[a+180>>2]=k;i:{if(v[a+188>>2]|!(i|k)){break i}h=v[a+156>>2];j:{o=v[a+192>>2]+(v[a+160>>2]-v[a+172>>2]<<2)|0;c=v[o>>2];k:{if(!c){c=0;break k}n=v[c>>2];if((h|0)<(n|0)){break k}l:{while(1){g=c;if((h|0)==(n|0)){break j}c=v[g+12>>2];if(c){n=v[c>>2];if((h|0)<(n|0)){break l}continue}break}c=0}o=g+12|0}g=v[a+204>>2];if((g|0)>=v[a+200>>2]){break a}v[a+204>>2]=g+1;g=v[a+196>>2]+(g<<4)|0;v[g+8>>2]=k;v[g>>2]=h;v[g+12>>2]=c;v[g+4>>2]=i;v[o>>2]=g;break i}v[g+8>>2]=k+v[g+8>>2];v[g+4>>2]=i+v[g+4>>2]}v[a+160>>2]=b;o=v[a+164>>2];w=o-1|0;i=q+t|0;g=(i|0)<(o|0)?w:i;v[a+156>>2]=g;c=1;d=d+m|0;x=v[a+176>>2]<=(b|0);c=x|v[a+172>>2]>(b|0)?c:v[a+168>>2]<=(i|0);v[a+188>>2]=c;if((i|0)!=(p|0)){h=r+(l&s)|0;j=j<<8;k=(j|0)/(l|0)|0;j=j-B(k,l)|0;m=j>>31;r=(m&l)+j|0;s=k+m|0;while(1){n=h+r|0;k=s+((n|0)>=(l|0))|0;m:{if(!k|c){break m}m=k<<8;n:{q=v[a+192>>2]+(b-v[a+172>>2]<<2)|0;c=v[q>>2];o:{if(!c){c=0;break o}j=v[c>>2];if((j|0)>(g|0)){break o}p:{while(1){h=c;if((g|0)==(j|0)){break n}c=v[h+12>>2];if(c){j=v[c>>2];if((j|0)>(g|0)){break p}continue}break}c=0}q=h+12|0}h=v[a+204>>2];if((h|0)>=v[a+200>>2]){break f}v[a+204>>2]=h+1;h=v[a+196>>2]+(h<<4)|0;v[h+8>>2]=m;v[h>>2]=g;v[h+12>>2]=c;v[h+4>>2]=k;v[q>>2]=h;break m}v[h+8>>2]=m+v[h+8>>2];v[h+4>>2]=k+v[h+4>>2]}v[a+160>>2]=b;i=i+t|0;g=(i|0)<(o|0)?w:i;v[a+156>>2]=g;c=1;h=n-((l|0)>(n|0)?0:l)|0;d=d+k|0;c=v[a+172>>2]>(b|0)|x?c:v[a+168>>2]<=(i|0);v[a+188>>2]=c;if((i|0)!=(p|0)){continue}break}}g=256-u|0;i=0;c=0}b=f-d|0;v[y+184>>2]=c+b;v[a+180>>2]=B(b,(e&255)+g|0)+i;return}v[a+184>>2]=k;v[a+180>>2]=m}tc(a,1);L()}function Hxa(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;h=Ma-48|0;Ma=h;a:{if(!a){break a}d=v[a+52>>2];if(!d){break a}g=v[d+16>>2];if(!g){b=fA(a,b,c);if(b){d=v[a+52>>2];v[d+16>>2]=b;v[d+12>>2]=b;v[b+20>>2]=d;v[b+32>>2]=v[d+32>>2];v[a+264>>2]=c+1;v[a+260>>2]=c;break a}v[a+84>>2]=2;c=v[a>>2];b=0;b:{if(!c){break b}b=0;if(v[c+108>>2]!=-554844497){break b}b=v[c+124>>2]}c=v[a+108>>2];d=v[a+112>>2];v[h+4>>2]=0;v[h>>2]=338368;nb(b,d,c,a,0,1,2,2,338368,0,0,0,235068,h);v[a+212>>2]=1;v[a+172>>2]=-1;v[a+84>>2]=2;break a}c:{d:{if(!(v[g+4>>2]!=3|v[g+8>>2]!=874220)){d=g+44|0;e=v[g+40>>2];f=v[a+264>>2];if(f){e:{f:{if((d|0)==(e|0)){d=0;g:{if(!e){break g}d=e;while(1){f=d;d=d+1|0;if(w[f|0]){continue}break}d=0;f=f-e|0;if((f|0)<0){break g}i=Qa[v[256555]](f+1|0)|0;if(!i){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);v[g+44>>2]=0;break f}d=cb(i,e,f);t[f+d|0]=0}v[g+44>>2]=0;break f}if((f|0)!=(v[a+260>>2]+1|0)){d=e;break e}h:{if(!e){break h}f=v[a+296>>2];while(1){if(!f){break h}d=v[f+16>>2];if(d){while(1){if(e>>>0<=y[d+4>>2]&e>>>0>=d+20>>>0){break h}d=v[d>>2];if(d){continue}break}}f=v[f+20>>2];if(f){continue}break}d=e;break e}d=Sd(e)}v[g+40>>2]=d}if(!d){v[a+84>>2]=2;c=v[a>>2];b=0;i:{if(!c){break i}b=0;if(v[c+108>>2]!=-554844497){break i}b=v[c+124>>2]}c=v[a+108>>2];d=v[a+112>>2];v[h+20>>2]=0;v[h+16>>2]=338368;nb(b,d,c,a,0,1,2,2,338368,0,0,0,311108,h+16|0);v[a+212>>2]=1;v[a+172>>2]=-1;v[a+84>>2]=2;break a}e=v[a+260>>2];f=e+c|0;if(!(w[a+362|0]&8|f>>>0<10000001)){Zj(a,283382);break a}j:{if((c^-1)>>>0>=e>>>0){i=v[a+264>>2];j=i+c|0;if((j|0)>-1){break j}}v[a+84>>2]=2;c=v[a>>2];b=0;k:{if(!c){break k}b=0;if(v[c+108>>2]!=-554844497){break k}b=v[c+124>>2]}c=v[a+108>>2];d=v[a+112>>2];v[h+36>>2]=0;v[h+32>>2]=338368;nb(b,d,c,a,0,1,2,2,338368,0,0,0,289081,h+32|0);v[a+212>>2]=1;v[a+172>>2]=-1;v[a+84>>2]=2;break a}if((f|0)>=(i|0)){e=j<<1;d=Qa[v[256557]](d,e)|0;if(!d){Zj(a,235068);break a}v[a+264>>2]=e;v[g+40>>2]=d;e=v[a+260>>2]}cb(d+e|0,b,c);b=a;a=v[a+260>>2]+c|0;v[b+260>>2]=a;t[a+v[g+40>>2]|0]=0;break a}if((d|0)==(e|0)){break d}d=v[g+32>>2];l:{if(!d){break l}f=v[d+80>>2];if(!f){break l}if(!e){break d}while(1){d=v[f+16>>2];if(d){while(1){if(e>>>0<=y[d+4>>2]&e>>>0>=d+20>>>0){break d}d=v[d>>2];if(d){continue}break}}f=v[f+20>>2];if(f){continue}break}}b=KH(e,b,c);break c}b=fA(a,b,c);if(!b){break a}Df(v[a+52>>2],b);if(!v[v[a+52>>2]+12>>2]){break a}v[a+260>>2]=c;v[a+264>>2]=c+1;break a}b=JH(e,b,c)}v[g+44>>2]=0;v[g+40>>2]=b;if(!b){Zj(a,235068)}if(!v[v[a+52>>2]+12>>2]){break a}c=v[g+40>>2];m:{if(!c){b=0;break m}b=0;if(!w[c|0]){break m}while(1){b=b+1|0;d=w[c+1|0];c=c+1|0;if(d){continue}break}}v[a+260>>2]=b;v[a+264>>2]=b+1}Ma=h+48|0}function XDa(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,n=0,o=0,p=0,q=0,r=0,s=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;F=Ma-256|0;Ma=F;z=v[a+332>>2];a=v[b+84>>2];j=8;b=F;while(1){a:{b:{g=x[c+32>>1];f=u[c+16>>1];if((g|f)&65535){break b}g=0;if(x[c+48>>1]|x[c+64>>1]|(x[c+80>>1]|x[c+96>>1])){break b}if(x[c+112>>1]){break b}g=B(u[c>>1],v[a>>2])<<2;v[b+192>>2]=g;v[b+160>>2]=g;v[b+128>>2]=g;v[b+96>>2]=g;v[b+64>>2]=g;v[b+32>>2]=g;v[b>>2]=g;f=56;break a}k=B(v[a+192>>2],u[c+96>>1]);q=B(v[a+64>>2],g<<16>>16);g=B(k+q|0,4433);f=B(f,v[a+32>>2]);r=B(v[a+224>>2],u[c+112>>1]);l=B(f+r|0,-7373);n=B(v[a+160>>2],u[c+80>>1]);h=n+f|0;m=B(v[a+96>>2],u[c+48>>1]);s=m+r|0;o=B(h+s|0,9633);y=B(u[c+64>>1],v[a+128>>2])<<13;p=B(u[c>>1],v[a>>2])<<13|1024;C=y+p|0;q=g+B(q,6270)|0;D=C+q|0;i=l+B(f,12299)|0;f=o+B(h,-3196)|0;h=i+f|0;v[b+224>>2]=D-h>>11;v[b>>2]=h+D>>11;h=p-y|0;g=g+B(k,-15137)|0;k=h+g|0;o=o+B(s,-16069)|0;i=B(m,25172);m=B(m+n|0,-20995);s=o+(i+m|0)|0;v[b+192>>2]=k-s>>11;v[b+32>>2]=k+s>>11;g=h-g|0;f=f+(m+B(n,16819)|0)|0;v[b+160>>2]=g-f>>11;v[b+64>>2]=g+f>>11;g=o+(l+B(r,2446)|0)|0;f=C-q|0;v[b+96>>2]=g+f>>11;g=f-g>>11;f=32}v[(f<<2)+b>>2]=g;c=c+2|0;a=a+4|0;b=b+4|0;i=j>>>0>1;j=j-1|0;if(i){continue}break}b=z+128|0;r=0;a=F;while(1){i=v[a+12>>2];g=v[a+4>>2];n=B(i+g|0,11086);m=v[a+8>>2];o=v[a+24>>2];k=m-o|0;z=B(k,11363);c=v[(r<<2)+d>>2]+e|0;f=v[a+28>>2];s=B(f+g|0,8956);j=v[a+20>>2];q=j+g|0;h=B(q,10217);y=s+(h+(n+B(g,-18730)|0)|0)|0;p=v[a+16>>2];C=B(p,10703);l=(v[a>>2]<<13)+131072|0;D=C+l|0;H=z+B(o,20995)|0;E=D+H|0;t[c|0]=w[b+(y+E>>>18&1023)|0];t[c+15|0]=w[b+(E-y>>>18&1023)|0];k=B(k,2260);y=k+B(m,7373)|0;p=B(p,4433);E=p+l|0;A=y+E|0;I=B(j+i|0,1136);G=I+(n+B(i,589)|0)|0;n=f+i|0;J=B(n,-5461);G=G+J|0;t[c+1|0]=w[b+(A+G>>>18&1023)|0];t[c+14|0]=w[b+(A-G>>>18&1023)|0];A=h+(B(j,-9222)+I|0)|0;h=B(f+j|0,-11086);A=A+h|0;m=z+B(m,-4926)|0;z=l-p|0;p=m+z|0;t[c+2|0]=w[b+(A+p>>>18&1023)|0];t[c+13|0]=w[b+(p-A>>>18&1023)|0];h=h+(s+(J+B(f,8728)|0)|0)|0;o=k+B(o,-4176)|0;l=l-C|0;k=o+l|0;t[c+3|0]=w[b+(h+k>>>18&1023)|0];t[c+12|0]=w[b+(k-h>>>18&1023)|0];k=B(g-f|0,7350);n=B(n,-10217);h=k+(n+B(f,25733)|0)|0;f=B(f-j|0,3363);h=h+f|0;l=l-o|0;t[c+4|0]=w[b+(h+l>>>18&1023)|0];t[c+11|0]=w[b+(l-h>>>18&1023)|0];l=B(q,5461);h=B(j,-6278);j=B(j-i|0,11529);f=f+(l+(h+j|0)|0)|0;m=z-m|0;t[c+5|0]=w[b+(f+m>>>18&1023)|0];t[c+10|0]=w[b+(m-f>>>18&1023)|0];f=B(i,16154);i=B(g-i|0,3363);j=n+(j+(f+i|0)|0)|0;f=E-y|0;t[c+6|0]=w[b+(j+f>>>18&1023)|0];t[c+9|0]=w[b+(f-j>>>18&1023)|0];i=k+(l+(i+B(g,-15038)|0)|0)|0;g=D-H|0;t[c+7|0]=w[b+(i+g>>>18&1023)|0];t[c+8|0]=w[b+(g-i>>>18&1023)|0];a=a+32|0;r=r+1|0;if((r|0)!=8){continue}break}Ma=F+256|0}function ZIa(a,b){a=a|0;b=b|0;var 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;g=Ma-32|0;Ma=g;i=v[b+28>>2];v[g+4>>2]=2;c=v[a+496>>2];if(c){d=v[c+36>>2];if(d){Qa[v[i+8>>2]](i,d)}v[c+36>>2]=0;v[c+40>>2]=0;d=v[c+28>>2];if(d){Qa[v[i+8>>2]](i,d)}v[c+28>>2]=0;v[c+32>>2]=0;if(c){Qa[v[i+8>>2]](i,c)}v[a+496>>2]=0}d=cc(i,44,g+4|0);a:{if(v[g+4>>2]){break a}c=Ed(b,v[b+4>>2]);v[g+4>>2]=c;if(c){break a}c=v[a+476>>2];v[d+12>>2]=v[a+472>>2];v[d+16>>2]=c;c=v[a+468>>2];v[d+4>>2]=v[a+464>>2];v[d+8>>2]=c;v[d+20>>2]=v[a+476>>2];v[d+24>>2]=v[a+468>>2];f=v[a+492>>2];c=v[f+36>>2];b:{if(c){c=Qa[v[c>>2]](g+8|0,v[b+28>>2],v[b+32>>2],v[b+36>>2])|0;v[g+4>>2]=c;if(!c){v[g+24>>2]=a+132;v[g+20>>2]=2079;v[g+16>>2]=d;c=g+8|0;q=g,r=Qa[v[v[f+36>>2]+8>>2]](c)|0,v[q+4>>2]=r;Qa[v[v[f+36>>2]+4>>2]](c);c=v[g+4>>2]}if((c&255)==2){f=v[b+4>>2];if(f>>>0<7){break b}c=v[b+32>>2];if(w[c+1|0]>3|(f|0)!=(w[c+2|0]|w[c+3|0]<<8|(w[c+4|0]<<16|w[c+5|0]<<24))){break b}l=v[b+28>>2];j=v[b+36>>2];f=Ma-16|0;Ma=f;v[f+12>>2]=0;c:{d:{if(j>>>0>>0){v[f+12>>2]=2;break d}e=(c+99|0)+(w[c+99|0]|w[c+100|0]<<8)|0;if(j>>>0>>0|(w[e+18|0]|w[e+19|0]<<8)>>>0<18){break c}e=w[e+32|0]|w[e+33|0]<<8|(w[e+34|0]<<16|w[e+35|0]<<24);if(!e){break c}k=c+e|0;c=k+2|0;if(j>>>0>>0){v[f+12>>2]=2;break d}e=w[k|0]|w[k+1|0]<<8;v[d+40>>2]=e;if(j>>>0<(e<<2)+c>>>0){v[f+12>>2]=2;break d}if(!e){break c}e=yb(l,16,0,e,0,f+12|0);v[d+36>>2]=e;if(v[f+12>>2]){break d}o=v[d+40>>2];j=v[a+92>>2];m=v[a+36>>2];e:{if((m|0)<1){break e}p=v[a+40>>2];while(1){n=v[(h<<2)+p>>2];if(x[n+8>>1]!=7){h=h+1|0;if((m|0)!=(h|0)){continue}break e}break}h=Nq(a,n);v[f+12>>2]=h;if(h){break d}}h=o<<2;if((h|0)>=1){h=(h+k|0)+2|0;while(1){q=e,r=yi(a,w[c|0]),v[q>>2]=r;q=e,r=yi(a,w[c+1|0]),v[q+4>>2]=r;k=(w[c+2|0]|w[c+3|0]<<8)<<16>>16;v[e+12>>2]=0;v[e+8>>2]=k;e=e+16|0;c=c+4|0;if(h>>>0>c>>>0){continue}break}}f:{if(j){c=Nq(a,j);v[f+12>>2]=c;break f}c=v[f+12>>2]}if(c){break d}$l(v[d+36>>2],v[d+40>>2],16,2080);if(v[f+12>>2]){break d}h=0;break c}c=v[d+36>>2];if(c){Qa[v[l+8>>2]](l,c)}v[d+36>>2]=0;v[d+40>>2]=0;h=v[f+12>>2]}Ma=f+16|0;c=h;v[g+4>>2]=c}if(c){break b}}c=v[d+8>>2];v[a+464>>2]=v[d+4>>2];v[a+468>>2]=c;c=v[d+16>>2];v[a+472>>2]=v[d+12>>2];v[a+476>>2]=c;v[a+52>>2]=v[d+4>>2]>>16;v[a+56>>2]=v[d+8>>2]>>16;v[a+60>>2]=v[d+12>>2]+65535>>16;v[a- -64>>2]=v[d+16>>2]+65535>>16;u[a+70>>1]=v[d+20>>2]+32768>>>16;u[a+72>>1]=v[d+24>>2]+32768>>>16;if(!v[d+40>>2]){break b}v[a+496>>2]=d;v[a+8>>2]=v[a+8>>2]|64;d=0}dd(b)}if(d){a=v[d+36>>2];if(a){Qa[v[i+8>>2]](i,a)}v[d+36>>2]=0;v[d+40>>2]=0;a=v[d+28>>2];if(a){Qa[v[i+8>>2]](i,a)}v[d+28>>2]=0;v[d+32>>2]=0;if(d){Qa[v[i+8>>2]](i,d)}}Ma=g+32|0;return v[g+4>>2]}function B9(a,b,c,d){a=a|0;b=b|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=Ma-16|0;Ma=l;a:{b:{c:{d:{e:{f:{if(!d){k=v[a+584>>2];if(!k){break f}h=(c|0)/v[k+8>>2]|0;if(v[k>>2]==2){c=b}else{if(v[k+16>>2]<(h|0)){break e}c=v[k+12>>2]}d=0;j=c;Hf(c,0,h<<2);e=v[a+608>>2];c=v[a+604>>2];g:{h:{if((h|0)>=1){if((e|0)<=0){break b}f=e;while(1){g=t[c|0];e=g&255;i:{if((g|0)>=0){c=c+1|0;f=f-1|0;if(f){while(1){if(!e|(d|0)>=(h|0)){break i}g=(d<<2)+j|0;v[g>>2]=v[g>>2]|w[c|0]<<24;c=c+1|0;d=d+1|0;e=e-1|0;f=f-1|0;if(f){continue}break}}e=0;f=0;if((d|0)!=(h|0)){break b}break g}f=f-2|0;g=c+2|0;e=e-126|0;j:{if(!e|(d|0)>=(h|0)){break j}c=w[c+1|0]<<24;while(1){i=(d<<2)+j|0;v[i>>2]=c|v[i>>2];d=d+1|0;e=e-1|0;if(!e){break j}if((d|0)<(h|0)){continue}break}}c=g}if((d|0)<(h|0)&(f|0)>0){continue}break}if((d|0)==(h|0)){break h}break c}if(h){break b}break d}e=0;if((f|0)<1){break g}while(1){g=t[c|0];d=g&255;k:{if((g|0)>=0){c=c+1|0;f=f-1|0;if(!f){f=0;break g}while(1){if(!d|(e|0)>=(h|0)){break k}g=(e<<2)+j|0;v[g>>2]=v[g>>2]|w[c|0]<<16;c=c+1|0;e=e+1|0;d=d-1|0;f=f-1|0;if(f){continue}break}f=0;break g}f=f-2|0;g=c+2|0;d=d-126|0;l:{if(!d|(e|0)>=(h|0)){break l}c=w[c+1|0]<<16;while(1){i=(e<<2)+j|0;v[i>>2]=c|v[i>>2];e=e+1|0;d=d-1|0;if(!d){break l}if((e|0)<(h|0)){continue}break}}c=g}if((e|0)>=(h|0)){break g}if((f|0)>0){continue}break}}if((e|0)!=(h|0)){d=e;break c}d=0;m:{n:{if((f|0)<1){break n}while(1){g=t[c|0];e=g&255;o:{if((g|0)>=0){c=c+1|0;f=f-1|0;if(f){while(1){if(!e|(d|0)>=(h|0)){break o}g=(d<<2)+j|0;v[g>>2]=v[g>>2]|w[c|0]<<8;c=c+1|0;d=d+1|0;e=e-1|0;f=f-1|0;if(f){continue}break}}e=0;g=0;if((d|0)!=(h|0)){break b}break m}f=f-2|0;g=c+2|0;e=e-126|0;p:{if(!e|(d|0)>=(h|0)){break p}c=w[c+1|0]<<8;while(1){i=(d<<2)+j|0;v[i>>2]=c|v[i>>2];d=d+1|0;e=e-1|0;if(!e){break p}if((d|0)<(h|0)){continue}break}}c=g}if((d|0)>=(h|0)){break n}if((f|0)>0){continue}break}}if((d|0)!=(h|0)){break c}g=0;if((f|0)<1){e=f;break m}e=f;while(1){f=t[c|0];d=f&255;q:{if((f|0)>=0){c=c+1|0;e=e-1|0;if(!e){e=0;break m}while(1){if(!d|(g|0)>=(h|0)){break q}f=(g<<2)+j|0;v[f>>2]=v[f>>2]|w[c|0];c=c+1|0;g=g+1|0;d=d-1|0;e=e-1|0;if(e){continue}break}e=0;break m}e=e-2|0;f=c+2|0;d=d-126|0;r:{if(!d|(g|0)>=(h|0)){break r}c=w[c+1|0];while(1){i=(g<<2)+j|0;v[i>>2]=c|v[i>>2];g=g+1|0;d=d-1|0;if(!d){break r}if((g|0)<(h|0)){continue}break}}c=f}if((g|0)>=(h|0)){break m}if((e|0)>0){continue}break}}d=g;if((h|0)!=(d|0)){break b}break d}O(33866,6284,292,84207);L()}O(25714,6284,294,84207);L()}O(34494,6284,301,84207);L()}Qa[v[k+20>>2]](k,b,h);b=1;break a}e=f}b=v[a>>2];f=v[a+628>>2];g=v[a+472>>2];v[l+4>>2]=h-d;v[l>>2]=g;wb(f,b,37982,l);b=0}v[a+608>>2]=e;v[a+604>>2]=c;Ma=l+16|0;return b|0}function D3(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;c=Ma-192|0;Ma=c;k=v[a+26336>>2];g=(k|0)<4?k:4;a:{if((k|0)<1){break a}d=A[b>>3];e=A[b+8>>3];f=A[b+16>>3];A[c+112>>3]=d*.180423+0+e*.072169+f*.950227;A[c+104>>3]=d*.35758+0+e*.71516+f*.119193;A[c+96>>3]=d*.412453+0+e*.212671+f*.019334;h=(g|0)>1;b:{if(!h){break b}d=A[b+24>>3];e=A[b+32>>3];f=A[b+40>>3];A[c+136>>3]=d*.180423+0+e*.072169+f*.950227;A[c+128>>3]=d*.35758+0+e*.71516+f*.119193;A[c+120>>3]=d*.412453+0+e*.212671+f*.019334;h=h?g:1;if((h|0)==2){break b}d=A[b+48>>3];e=A[b+56>>3];f=A[b- -64>>3];A[c+160>>3]=d*.180423+0+e*.072169+f*.950227;A[c+152>>3]=d*.35758+0+e*.71516+f*.119193;A[c+144>>3]=d*.412453+0+e*.212671+f*.019334;if((h|0)==3){break b}d=A[b+72>>3];e=A[b+80>>3];f=A[b+88>>3];A[c+184>>3]=d*.180423+0+e*.072169+f*.950227;A[c+176>>3]=d*.35758+0+e*.71516+f*.119193;A[c+168>>3]=d*.412453+0+e*.212671+f*.019334}if((k|0)<1){break a}e=A[c+112>>3];f=A[c+96>>3];l=A[c+104>>3];d=e+(f+0+l);A[c+112>>3]=e/d;A[c+104>>3]=l/d;A[c+96>>3]=f/d;z[a+59284>>2]=C(1)/C(d);b=(g|0)>1;if(!b){break a}e=A[c+136>>3];f=A[c+120>>3];l=A[c+128>>3];d=e+(f+0+l);A[c+136>>3]=e/d;A[c+128>>3]=l/d;A[c+120>>3]=f/d;z[a+59288>>2]=C(1)/C(d);b=b?g:1;if((b|0)==2){break a}e=A[c+160>>3];f=A[c+144>>3];l=A[c+152>>3];d=e+(f+0+l);A[c+160>>3]=e/d;A[c+152>>3]=l/d;A[c+144>>3]=f/d;z[a+59292>>2]=C(1)/C(d);if((b|0)==3){break a}e=A[c+184>>3];f=A[c+168>>3];l=A[c+176>>3];d=e+(f+0+l);A[c+184>>3]=e/d;A[c+176>>3]=l/d;A[c+168>>3]=f/d;z[a+59296>>2]=C(1)/C(d)}E3(c+96|0,c,g);b=0;v[a+26132>>2]=0;h=v[a+26336>>2];c:{if((h|0)<1){break c}g=h&3;m=h-1|0;if(m>>>0>=3){k=h&-4;i=a+59348|0;while(1){z[i+(b<<2)>>2]=A[B(b,24)+c>>3];j=b|1;z[i+(j<<2)>>2]=A[B(j,24)+c>>3];j=b|2;z[i+(j<<2)>>2]=A[B(j,24)+c>>3];j=b|3;z[i+(j<<2)>>2]=A[B(j,24)+c>>3];b=b+4|0;k=k-4|0;if(k){continue}break}}if(g){while(1){z[((b<<2)+a|0)+59348>>2]=A[B(b,24)+c>>3];b=b+1|0;g=g-1|0;if(g){continue}break}}g=h&3;b=0;if(m>>>0>=3){k=h&-4;i=a+59364|0;while(1){z[i+(b<<2)>>2]=A[(B(b,24)+c|0)+8>>3];j=b|1;z[i+(j<<2)>>2]=A[(B(j,24)+c|0)+8>>3];j=b|2;z[i+(j<<2)>>2]=A[(B(j,24)+c|0)+8>>3];j=b|3;z[i+(j<<2)>>2]=A[(B(j,24)+c|0)+8>>3];b=b+4|0;k=k-4|0;if(k){continue}break}}if(g){while(1){z[((b<<2)+a|0)+59364>>2]=A[(B(b,24)+c|0)+8>>3];b=b+1|0;g=g-1|0;if(g){continue}break}}g=h&3;b=0;if(m>>>0>=3){k=h&-4;h=a+59380|0;while(1){z[h+(b<<2)>>2]=A[(B(b,24)+c|0)+16>>3];i=b|1;z[h+(i<<2)>>2]=A[(B(i,24)+c|0)+16>>3];i=b|2;z[h+(i<<2)>>2]=A[(B(i,24)+c|0)+16>>3];i=b|3;z[h+(i<<2)>>2]=A[(B(i,24)+c|0)+16>>3];b=b+4|0;k=k-4|0;if(k){continue}break}}if(!g){break c}while(1){z[((b<<2)+a|0)+59380>>2]=A[(B(b,24)+c|0)+16>>3];b=b+1|0;g=g-1|0;if(g){continue}break}}Ma=c+192|0}function cR(a,b,c,d,e,f){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,u=0,y=0,z=0,C=0,E=0,F=0;h=Ma-1312|0;Ma=h;p=x[c+8>>1];i=B(p,d);g=B(x[c+10>>1],d);a:{b:{c:{if(!e){m=g;break c}o=v[e>>2];if((o|0)<0){break b}r=v[e+4>>2];if((r|0)<0){break b}m=v[e+8>>2];if((g|0)<(m|0)){break b}g=i;i=v[e+12>>2];if((g|0)<(i|0)){break b}}n=x[a+10>>1];k=x[b+10>>1];l=x[a+8>>1];y=x[b+8>>1];j=x[b+16>>1];z=j-1|0;d:{if(z>>>0<2){break d}e=1;if((j|0)!=3){g=j-2&-2;while(1){s=h+256|0;v[s+(e<<2)>>2]=(e<<16>>>0)/(z>>>0);u=e+1|0;v[s+(u<<2)>>2]=(u<<16>>>0)/(z>>>0);e=e+2|0;g=g-2|0;if(g){continue}break}}if(!(j&1)){break d}v[(h+256|0)+(e<<2)>>2]=(e<<16>>>0)/(z>>>0)}e:{f:{if(!(!(f<1.001)|!(f>.999))){if(f<.1|f>10){break e}e=0;while(1){t[e+h|0]=e;g=e|1;t[g+h|0]=g;g=e|2;t[g+h|0]=g;g=e|3;t[g+h|0]=g;g=e|4;t[g+h|0]=g;g=e|5;t[g+h|0]=g;g=e|6;t[g+h|0]=g;g=e|7;t[g+h|0]=g;e=e+8|0;if((e|0)!=256){continue}break}break f}g:{if(t[1168080]&1){break g}if(!ie(1168080)){break g}he(1168080)}if(A[139624]!=f){if(f<.1|f>10){break a}E=1/f;e=0;while(1){j=e+1167824|0;C=H(pd(+(e|0)/255,E)*255+.5);h:{if(D(C)<2147483648){g=~~C;break h}g=-2147483648}t[j|0]=g;g=e|1;j=g+1167824|0;C=H(pd(+(g|0)/255,E)*255+.5);i:{if(D(C)<2147483648){g=~~C;break i}g=-2147483648}t[j|0]=g;e=e+2|0;if((e|0)!=256){continue}break}t[1168079]=255;A[139624]=f;t[1167824]=0}cb(h,1167824,256);p=x[c+8>>1]}e=(r|0)/(d|0)|0;s=x[c+12>>1];u=v[c+16>>2];g=(o|0)/(d|0)|0;if(!v[b+20>>2]){Re(b)}j:{k:{if(!x[b+8>>1]){j=x[b+12>>1];if(v[279246]<(j+x[b+14>>1]|0)){break j}j=j+v[279245]|0;break k}j=v[b+20>>2]+x[b+12>>1]|0}i=i-r|0;l=l>>>0>y>>>0?y:l;y=(i|0)<(l|0)?i:l;l:{if((y|0)<1){break l}i=m-o|0;m=k>>>0>>0?k:n;F=(i|0)<(m|0)?i:m;if((F|0)<1){break l}i=r-B(d,e)|0;n=i>>31;e=n+e|0;p=(e|0)>-1?(e|0)<(p|0)?u+B(B(e,s),3)|0:0:0;m=g;e=o-B(d,g)|0;g=e>>31;m=m+g|0;r=e+(d&g)|0;n=i+(d&n)|0;s=x[b+14>>1];o=x[a+8>>1]?v[a+16>>2]:0;u=B(x[a+12>>1],3);i=0;while(1){e=0;b=r;g=m;while(1){k=w[e+j|0];m:{if(!k){break m}if(k>>>0>=z>>>0){a=B(e,3)+o|0;k=B(g,3)+p|0;t[a|0]=w[w[k|0]+h|0];t[a+1|0]=w[w[k+1|0]+h|0];t[a+2|0]=w[w[k+2|0]+h|0];break m}a=B(e,3)+o|0;l=w[a|0];k=v[(h+256|0)+(k<<2)>>2];q=l;l=B(g,3)+p|0;t[a|0]=q-(B(k,q-w[w[l|0]+h|0]|0)>>>16|0);q=w[a+1|0];t[a+1|0]=q-(B(k,q-w[w[l+1|0]+h|0]|0)>>>16|0);q=a;a=w[a+2|0];t[q+2|0]=a-(B(k,a-w[w[l+2|0]+h|0]|0)>>>16|0)}a=b+1|0;b=(a|0)<(d|0)?a:0;g=((a|0)>=(d|0))+g|0;e=e+1|0;if((F|0)!=(e|0)){continue}break}n=n+1|0;if((n|0)>=(d|0)){n=0;p=B(x[c+12>>1],3)+p|0}j=j+s|0;o=o+u|0;i=i+1|0;if((y|0)!=(i|0)){continue}break}}Ma=h+1312|0;return}lb(mb(h+1288|0,260021,271561,592,225834));L()}break a}lb(mb(h+256|0,315660,241334,1587,330575));L()}lb(mb(h,255729,241334,657,332084));L()}function M1(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,z=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0;f=v[a+4>>2];g=v[f>>2];m=A[g+32>>3];F=A[g>>3];r=A[g+16>>3];p=A[g+40>>3];n=A[g+8>>3];q=A[a+16>>3];j=A[g+24>>3];s=A[a+24>>3];h=(e|0)>1?e:1;v[f+24>>2]=h;v[f+4>>2]=h;i=f;q=q+ +(c|0);o=j;j=s+ +(d|0);s=o*j;o=(p+(n*q+s))*256;o=o+(o<0?-.5:.5);a:{if(D(o)<2147483648){d=~~o;break a}d=-2147483648}v[i+40>>2]=d;i=f;r=j*r;j=(m+(q*F+r))*256;j=j+(j<0?-.5:.5);b:{if(D(j)<2147483648){c=~~j;break b}c=-2147483648}v[i+20>>2]=c;i=f;j=p;p=q+ +(e>>>0);n=(j+(p*n+s))*256;n=n+(n<0?-.5:.5);c:{if(D(n)<2147483648){g=~~n;break c}g=-2147483648}d=g-d|0;g=(d|0)/(h|0)|0;l=d-B(g,h)|0;k=(l|0)<1;v[i+28>>2]=g-k;i=f;m=(m+(p*F+r))*256;m=m+(m<0?-.5:.5);d:{if(D(m)<2147483648){d=~~m;break d}d=-2147483648}c=d-c|0;d=(c|0)/(h|0)|0;g=d;c=c-B(d,h)|0;d=(c|0)<1;v[i+8>>2]=g-d;g=l+(k?e:0)|0;v[f+32>>2]=g;c=c+(d?e:0)|0;v[f+12>>2]=c;v[f+36>>2]=g-e;v[f+16>>2]=c-e;c=v[a+4>>2];f=v[c+40>>2];c=v[c+20>>2];while(1){g=v[a+36>>2];d=v[a>>2];l=c-v[a+32>>2]|0;c=l>>8;v[d+8>>2]=c;k=f-g|0;h=v[d+32>>2];f=(v[d+36>>2]+(k>>8)>>>0)%(h>>>0)|0;v[d+40>>2]=f;g=v[v[d>>2]>>2];i=v[g+4>>2];x=v[g+16>>2];g=v[d+16>>2];c=(c+v[d+20>>2]>>>0)%(g>>>0)|0;v[d+24>>2]=c;h=i+B(x,f>>>0>2]?f:h+(f^-1)|0)|0;v[d+4>>2]=h;i=v[d+12>>2];f=h+((i>>>0>c>>>0?c:g+(c^-1)|0)<<2)|0;x=w[f+2|0];G=w[f+1|0];H=w[f|0];z=w[f+3|0];c=c+1|0;c=c>>>0>>0?c:0;v[d+24>>2]=c;c=h+((c>>>0>>0?c:g+(c^-1)|0)<<2)|0;i=w[c+2|0];I=w[c+1|0];J=w[c|0];g=w[c+3|0];c=v[a>>2];d=v[c+40>>2]+1|0;h=v[c+32>>2];d=h>>>0>d>>>0?d:0;v[c+40>>2]=d;f=v[v[c>>2]>>2];C=v[f+4>>2];E=v[f+16>>2];u=v[c+16>>2];f=(v[c+20>>2]+v[c+8>>2]>>>0)%(u>>>0)|0;v[c+24>>2]=f;d=C+B(E,d>>>0>2]?d:h+(d^-1)|0)|0;v[c+4>>2]=d;c=d+((f>>>0>2]?f:u+(f^-1)|0)<<2)|0;C=w[c+2|0];E=w[c+1|0];u=w[c|0];K=w[c+3|0];c=v[a>>2];d=v[c+24>>2]+1|0;f=v[c+16>>2];d=f>>>0>d>>>0?d:0;v[c+24>>2]=d;c=v[c+4>>2]+((d>>>0>2]?d:f+(d^-1)|0)<<2)|0;L=w[c+2|0];M=w[c+1|0];N=w[c|0];h=k&255;f=256-h|0;l=l&255;k=256-l|0;d=B(f,k);f=B(f,l);z=B(d,z)+B(f,g)|0;g=B(h,k);k=w[c+3|0];c=B(h,l);t[b+3|0]=((z+B(g,K)|0)+B(k,c)|0)+32768>>>16;t[b+2|0]=(((B(d,H)+B(f,J)|0)+B(g,u)|0)+B(c,N)|0)+32768>>>16;t[b+1|0]=(((B(d,G)+B(f,I)|0)+B(g,E)|0)+B(c,M)|0)+32768>>>16;t[b|0]=(((B(d,x)+B(f,i)|0)+B(g,C)|0)+B(c,L)|0)+32768>>>16;d=v[a+4>>2];c=d;f=v[c+16>>2]+v[c+12>>2]|0;v[c+16>>2]=f;c=v[c+20>>2]+v[c+8>>2]|0;v[d+20>>2]=c;if((f|0)>=1){c=c+1|0;v[d+20>>2]=c;v[d+16>>2]=f-v[d+4>>2]}g=v[d+36>>2]+v[d+32>>2]|0;v[d+36>>2]=g;f=v[d+40>>2]+v[d+28>>2]|0;v[d+40>>2]=f;if((g|0)>=1){f=f+1|0;v[d+40>>2]=f;v[d+36>>2]=g-v[d+24>>2]}b=b+4|0;e=e-1|0;if(e){continue}break}}function G1(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,z=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0;f=v[a+4>>2];g=v[f>>2];m=A[g+32>>3];F=A[g>>3];r=A[g+16>>3];p=A[g+40>>3];n=A[g+8>>3];q=A[a+16>>3];j=A[g+24>>3];s=A[a+24>>3];h=(e|0)>1?e:1;v[f+24>>2]=h;v[f+4>>2]=h;i=f;q=q+ +(c|0);o=j;j=s+ +(d|0);s=o*j;o=(p+(n*q+s))*256;o=o+(o<0?-.5:.5);a:{if(D(o)<2147483648){d=~~o;break a}d=-2147483648}v[i+40>>2]=d;i=f;r=j*r;j=(m+(q*F+r))*256;j=j+(j<0?-.5:.5);b:{if(D(j)<2147483648){c=~~j;break b}c=-2147483648}v[i+20>>2]=c;i=f;j=p;p=q+ +(e>>>0);n=(j+(p*n+s))*256;n=n+(n<0?-.5:.5);c:{if(D(n)<2147483648){g=~~n;break c}g=-2147483648}d=g-d|0;g=(d|0)/(h|0)|0;l=d-B(g,h)|0;k=(l|0)<1;v[i+28>>2]=g-k;i=f;m=(m+(p*F+r))*256;m=m+(m<0?-.5:.5);d:{if(D(m)<2147483648){d=~~m;break d}d=-2147483648}c=d-c|0;d=(c|0)/(h|0)|0;g=d;c=c-B(d,h)|0;d=(c|0)<1;v[i+8>>2]=g-d;g=l+(k?e:0)|0;v[f+32>>2]=g;c=c+(d?e:0)|0;v[f+12>>2]=c;v[f+36>>2]=g-e;v[f+16>>2]=c-e;c=v[a+4>>2];f=v[c+40>>2];c=v[c+20>>2];while(1){g=v[a+36>>2];d=v[a>>2];l=c-v[a+32>>2]|0;c=l>>8;v[d+8>>2]=c;k=f-g|0;h=v[d+32>>2];f=(v[d+36>>2]+(k>>8)>>>0)%(h>>>0)|0;v[d+40>>2]=f;g=v[v[d>>2]>>2];i=v[g+4>>2];x=v[g+16>>2];g=v[d+16>>2];c=(c+v[d+20>>2]>>>0)%(g>>>0)|0;v[d+24>>2]=c;h=i+B(x,f>>>0>2]?f:h+(f^-1)|0)|0;v[d+4>>2]=h;i=v[d+12>>2];f=h+((i>>>0>c>>>0?c:g+(c^-1)|0)<<2)|0;x=w[f|0];G=w[f+1|0];H=w[f+2|0];z=w[f+3|0];c=c+1|0;c=c>>>0>>0?c:0;v[d+24>>2]=c;c=h+((c>>>0>>0?c:g+(c^-1)|0)<<2)|0;i=w[c|0];I=w[c+1|0];J=w[c+2|0];g=w[c+3|0];c=v[a>>2];d=v[c+40>>2]+1|0;h=v[c+32>>2];d=h>>>0>d>>>0?d:0;v[c+40>>2]=d;f=v[v[c>>2]>>2];C=v[f+4>>2];E=v[f+16>>2];u=v[c+16>>2];f=(v[c+20>>2]+v[c+8>>2]>>>0)%(u>>>0)|0;v[c+24>>2]=f;d=C+B(E,d>>>0>2]?d:h+(d^-1)|0)|0;v[c+4>>2]=d;c=d+((f>>>0>2]?f:u+(f^-1)|0)<<2)|0;C=w[c|0];E=w[c+1|0];u=w[c+2|0];K=w[c+3|0];c=v[a>>2];d=v[c+24>>2]+1|0;f=v[c+16>>2];d=f>>>0>d>>>0?d:0;v[c+24>>2]=d;c=v[c+4>>2]+((d>>>0>2]?d:f+(d^-1)|0)<<2)|0;L=w[c|0];M=w[c+1|0];N=w[c+2|0];h=k&255;f=256-h|0;l=l&255;k=256-l|0;d=B(f,k);f=B(f,l);z=B(d,z)+B(f,g)|0;g=B(h,k);k=w[c+3|0];c=B(h,l);t[b+3|0]=((z+B(g,K)|0)+B(k,c)|0)+32768>>>16;t[b+2|0]=(((B(d,H)+B(f,J)|0)+B(g,u)|0)+B(c,N)|0)+32768>>>16;t[b+1|0]=(((B(d,G)+B(f,I)|0)+B(g,E)|0)+B(c,M)|0)+32768>>>16;t[b|0]=(((B(d,x)+B(f,i)|0)+B(g,C)|0)+B(c,L)|0)+32768>>>16;d=v[a+4>>2];c=d;f=v[c+16>>2]+v[c+12>>2]|0;v[c+16>>2]=f;c=v[c+20>>2]+v[c+8>>2]|0;v[d+20>>2]=c;if((f|0)>=1){c=c+1|0;v[d+20>>2]=c;v[d+16>>2]=f-v[d+4>>2]}g=v[d+36>>2]+v[d+32>>2]|0;v[d+36>>2]=g;f=v[d+40>>2]+v[d+28>>2]|0;v[d+40>>2]=f;if((g|0)>=1){f=f+1|0;v[d+40>>2]=f;v[d+36>>2]=g-v[d+24>>2]}b=b+4|0;e=e-1|0;if(e){continue}break}}function hX(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=Ma+-64|0;Ma=e;g=v[a+172>>2];a:{if(v[a+292>>2]){break a}d=v[a+36>>2];b=v[d+16>>2];if((b-v[d+12>>2]|0)<501|(v[d+20>>2]-b|0)>499){break a}Xg(d);d=v[a+36>>2];if(w[v[d+16>>2]]){break a}if((Zb(d)|0)>0){break a}xc(a)}l=34;b:{c:{switch(w[v[v[a+36>>2]+16>>2]]-34|0){default:if(!(!v[a+212>>2]|v[a+172>>2]!=-1)){break b}v[a+84>>2]=43;v[e>>2]=289425;nb(0,0,0,a,0,1,43,3,0,0,0,0,340716,e);v[a+12>>2]=0;if(v[a+288>>2]){break b}v[a+212>>2]=1;break b;case 5:l=39;break;case 0:break c}}Bc(a);h=100;d=Qa[v[256555]](100)|0;if(!d){Yc(a,0);break b}v[a+172>>2]=13;c=Be(a,e+60|0);while(1){d:{e:{f:{g:{if((c|0)<=255){if((!(1<>>0>13)&(c|0)<=31){break f}if((c|0)!=(l|0)){break g}t[d+f|0]=0;v[a+172>>2]=g;Bc(a);break e}if((c|0)<55296|c-65536>>>0<1048576){break g}if(c-57344>>>0>=8190){break f}}if((f+5|0)<(h|0)){b=d;break d}if(!(w[a+362|0]&8|(h|0)<50001)){h:{if(v[a+172>>2]==-1?v[a+212>>2]:0){break h}v[a+84>>2]=110;v[e+36>>2]=260952;v[e+32>>2]=246135;nb(0,0,0,a,0,1,110,3,260952,0,0,0,340574,e+32|0);v[a+12>>2]=0;if(v[a+288>>2]){break h}v[a+212>>2]=1}c=0;Qa[v[256556]](d);v[a+172>>2]=g;break b}h=h<<1;b=Qa[v[256557]](d,h)|0;if(b){break d}c=0;Qa[v[256556]](d);Yc(a,0);v[a+172>>2]=g;break b}t[d+f|0]=0;v[a+172>>2]=g;if((g|0)==-1?v[a+212>>2]:0){break e}v[a+84>>2]=44;v[e+48>>2]=289455;nb(0,0,0,a,0,1,44,3,0,0,0,0,340716,e+48|0);v[a+12>>2]=0;if(v[a+288>>2]){break e}v[a+212>>2]=1}c=d;break b}d=b;i:{if((k|0)<50){k=k+1|0;break i}j:{if(v[a+292>>2]){break j}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break j}oc(a)}k=0;if(v[a+172>>2]!=-1){break i}c=0;Qa[v[256556]](d);break b}k:{if(v[e+60>>2]==1){t[d+f|0]=c;f=f+1|0;break k}f=ui(d+f|0,c)+f|0}b=v[a+36>>2];c=v[b+16>>2];l:{if(w[c|0]==10){v[b+32>>2]=1;v[b+28>>2]=v[b+28>>2]+1;break l}v[b+32>>2]=v[b+32>>2]+1}i=b;b=c+v[e+60>>2]|0;v[i+16>>2]=b;if(w[b|0]==37){zc(a)}c=Be(a,e+60|0);if(c){continue}m:{if(v[a+292>>2]){break m}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)<=249){oc(a);if(v[a+292>>2]){break m}}b=v[a+36>>2];c=v[b+16>>2];if((c-v[b+12>>2]|0)<501|(v[b+20>>2]-c|0)>499){break m}Xg(b);b=v[a+36>>2];if(w[v[b+16>>2]]){break m}if((Zb(b)|0)>0){break m}while(1){c=v[a+40>>2];if((c|0)<2){break m}n:{o:{p:{if(!v[291060]){j=c-1|0;v[a+40>>2]=j;b=v[a+48>>2];break p}v[e+16>>2]=c;b=0;Qa[v[256654]](v[291043],344907,e+16|0);c=v[a+40>>2];if((c|0)<1){break n}j=c-1|0;v[a+40>>2]=j;b=v[a+48>>2];m=0;i=0;if((c|0)==1){break o}}m=v[((c<<2)+b|0)-8>>2];i=j}c=i;v[a+36>>2]=m;c=(c<<2)+b|0;b=v[c>>2];v[c>>2]=0}Vh(b);b=v[a+36>>2];if(w[v[b+16>>2]]){break m}if((Zb(b)|0)<1){continue}break}}c=Be(a,e+60|0);continue}}Ma=e- -64|0;return c}function v$(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0;x=Ma-272|0;Ma=x;s=v[b+4>>2];i=v[b+8>>2];v[a+52>>2]=-2147483648;v[a+56>>2]=0;v[a+48>>2]=i;v[a+44>>2]=s;z=v[b+52>>2];y=v[b+44>>2];f=v[b+28>>2];e=v[b+24>>2];v[c>>2]=s;v[d>>2]=i;a:{if((y|0)<1|(e|0)<2){break a}k=u[f+12>>1];g=e-1|0;l=g&3;b:{if(e-2>>>0<3){e=1;m=k;break b}g=g&-4;e=1;m=k;while(1){h=f+B(e,40)|0;j=u[h+132>>1];n=u[h+92>>1];q=u[h+52>>1];h=u[h+12>>1];m=(h|0)>(m|0)?h:m;m=(m|0)<(q|0)?q:m;m=(m|0)<(n|0)?n:m;m=(m|0)<(j|0)?j:m;k=(h|0)<(k|0)?h:k;k=(k|0)>(q|0)?q:k;k=(k|0)>(n|0)?n:k;k=(k|0)>(j|0)?j:k;e=e+4|0;g=g-4|0;if(g){continue}break}}if(l){while(1){g=u[(f+B(e,40)|0)+12>>1];m=(g|0)>(m|0)?g:m;k=(g|0)<(k|0)?g:k;e=e+1|0;l=l-1|0;if(l){continue}break}}if((k|0)>=(m|0)){break a}C=a,D=xb(k,s)+i|0,v[C>>2]=D;g=xb(m,s)+i|0;v[a+4>>2]=g;e=g&-32;v[a+24>>2]=e;l=v[a>>2];j=l&-32;v[a+16>>2]=j;v[a+8>>2]=l&-64;n=e+32|0;v[a+28>>2]=n;i=j+32|0;v[a+20>>2]=i;v[a+12>>2]=g+63&-64;if((g|0)<(i|0)){v[a+20>>2]=g;i=g}if((e|0)<(l|0)){v[a+24>>2]=l;e=l}h=g-l|0;v[a+32>>2]=h;f=a;if((h|0)>=65){i=e-i|0}else{v[a+24>>2]=g;v[a+20>>2]=l;i=h}v[f+36>>2]=i;e=n-j|0;v[a+40>>2]=e;j=(h|0)<129?(h|0)<97?4:8:16;f=h-j|0;if((f|0)>(i|0)){v[a+36>>2]=f;i=f}f=h+j|0;if((f|0)<(e|0)){v[a+40>>2]=f;e=f}f=(B(h,3)|0)/4|0;if((f|0)>(i|0)){v[a+36>>2]=f;i=f}f=(B(h,5)|0)/4|0;if((f|0)<(e|0)){v[a+40>>2]=f;e=f}c:{if((e|0)<(i|0)){break c}A=m-k|0;while(1){f=(h-i|0)+l|0;d:{e:{if((h|0)<=(i|0)){e=v[a+16>>2];if((f|0)>=(e|0)){break e}f=(g-f|0)+e|0;break d}e=v[a+20>>2];if((f|0)<=(e|0)){break e}f=(g-f|0)+e|0;break d}e=f;f=g}n=Ub(i-h|0,A)+s|0;t=xb(k,n);q=eb(x,0,260);o=v[a+24>>2];h=f;j=h-e|0;f=v[a+16>>2];p=(o|0)>(f+j|0)?o-j|0:f;o=v[a+8>>2];f=p-o|0;f:{if((f|0)<0){break f}w=p;p=v[a+28>>2];r=v[a+20>>2];j=(p|0)<(j+r|0)?p-j|0:r;if((w|0)>(j|0)){break f}j=j-o|0;if((j|0)>64){break f}p=((g|0)>(h|0)?g-h|0:h-g|0)+((e|0)<(l|0)?l-e|0:e-l|0)|0;l=e-t|0;o=e-o|0;g=0;if((y|0)>0){t=(l-o|0)+f|0;while(1){e=B(g,44)+z|0;r=u[e+8>>1]-u[e+6>>1]|0;h=xb(u[e+2>>1],n)+t|0;e=f;while(1){w=q+(e<<2)|0;v[w>>2]=v[w>>2]+B(r,v[((h&63)<<2)+441424>>2]);h=h+1|0;w=(e|0)<(j|0);e=e+1|0;if(w){continue}break}g=g+1|0;if((y|0)!=(g|0)){continue}break}}p=B(p,10);g=v[a+52>>2];while(1){r=f-o|0;t=r+p|0;h=f;e=v[q+(h<<2)>>2];if(!((e|0)<=(g|0)&((e|0)!=(g|0)|(t|0)>=v[a+56>>2]))){v[a+56>>2]=t;v[a+52>>2]=e;v[a+44>>2]=n;v[a+48>>2]=l+r;g=e}f=h+1|0;if((h|0)<(j|0)){continue}break}}if(v[a+40>>2]<=(i|0)){break c}i=i+1|0;h=v[a+32>>2];g=v[a+4>>2];l=v[a>>2];continue}}e=v[a+48>>2];a=v[a+44>>2];i=a-s|0;C=b,D=xb(k,i)+e|0,v[C+2752>>2]=D;C=b,D=xb(m,i)+e|0,v[C+2756>>2]=D;v[c>>2]=a;v[d>>2]=e}Ma=x+272|0}function kL(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{if(!w[a+289|0]|!(w[a+2538|0]|w[a+2543|0])){break a}if(!(w[v[a+536>>2]+31|0]|v[a+12>>2]==3)){break a}b:{switch(w[a+336|0]-12|0){case 0:case 2:break b;default:break a}}b=1}h=w[a+498|0];c:{d:{e:{f:{g:{h:{c=v[a+536>>2];if(w[a+287|0]|b|(w[c+64|0]|w[c+65|0]?c:0)){break h}switch(h|0){case 0:case 8:break g;default:break h}}c=v[a+512>>2];if(!c){c=v[a+528>>2]}if(!w[c+31|0]|!w[c+32|0]){break e}c=$g(a,c,b);if(c){break d}c=6;if(w[a+497|0]){break f}break e}if(!w[a+288|0]&(h|0)!=8){break e}b=v[a+2248>>2];if(!h){c=n4(a,b,v[a+528>>2]);if(c){break d}}if(!w[b+31|0]|!w[b+32|0]){break e}c=$g(a,b,0);if(c){break d}c=8;if(!w[a+497|0]){break e}}t[a+498|0]=c}c=0;if(w[a+497|0]){break d}t[a+498|0]=0;Nj(a,v[a+528>>2],0,0,0,0,0,0,0,1);if(w[a+2420|0]){c=bC(a);b=uL(a);if(c){break d}c=b;if(b){break d}}if(w[a+2533|0]){c=bC(a);b=gb(40);v[b>>2]=0;f=be(a+2568|0,1,b,4);g=P()|0;b=0;i:{while(1){if(b){v[296803]=0;V(755,a|0,6,b|0,0)|0;b=v[296803];v[296803]=0;d=-1;j:{if(!b){break j}e=v[296804];if(!e){break j}d=pb(v[b>>2],f,g);if(!d){break c}Q(e|0)}b=P()|0;if((d|0)==1){continue}$a(f);b=6;break i}b=v[a+2516>>2];if(b){d=v[a+2520>>2];e=v[a+156>>2];v[296803]=0;R(e|0,b|0,d|0);b=v[296803];v[296803]=0;d=-1;k:{if(!b){break k}e=v[296804];if(!e){break k}d=pb(v[b>>2],f,g);if(!d){break c}Q(e|0)}b=P()|0;if((d|0)==1){continue}v[a+2516>>2]=0}b=v[a+2452>>2];v[296803]=0;U(35,b|0);b=v[296803];v[296803]=0;d=-1;l:{if(!b){break l}e=v[296804];if(!e){break l}d=pb(v[b>>2],f,g);if(!d){break c}Q(e|0)}b=P()|0;if((d|0)==1){continue}break}t[a+2533|0]=0;$a(f);b=0}if(c){break d}c=b;if(b){break d}}if(w[a+2539|0]){c=bC(a);b=gb(40);v[b>>2]=0;f=be(a+2568|0,1,b,4);g=P()|0;b=0;m:{while(1){if(b){v[296803]=0;V(755,a|0,6,b|0,0)|0;b=v[296803];v[296803]=0;d=-1;n:{if(!b){break n}e=v[296804];if(!e){break n}d=pb(v[b>>2],f,g);if(!d){break c}Q(e|0)}b=P()|0;if((d|0)==1){continue}$a(f);b=6;break m}b=v[a+2524>>2];if(b){d=v[a+2528>>2];e=v[a+156>>2];v[296803]=0;R(e|0,b|0,d|0);b=v[296803];v[296803]=0;d=-1;o:{if(!b){break o}e=v[296804];if(!e){break o}d=pb(v[b>>2],f,g);if(!d){break c}Q(e|0)}b=P()|0;if((d|0)==1){continue}v[a+2524>>2]=0}b=v[a+2464>>2];v[296803]=0;U(35,b|0);b=v[296803];v[296803]=0;d=-1;p:{if(!b){break p}e=v[296804];if(!e){break p}d=pb(v[b>>2],f,g);if(!d){break c}Q(e|0)}b=P()|0;if((d|0)==1){continue}break}t[a+2539|0]=0;$a(f);b=0}if(c){break d}c=b;if(b){break d}}if(h){v[a+288>>2]=0;v[a+292>>2]=0;u[a+286>>1]=0;t[a+293|0]=0;t[a+294|0]=0;t[a+295|0]=0;t[a+296|0]=0;t[a+297|0]=0;t[a+298|0]=0;t[a+299|0]=0;t[a+300|0]=0}c=0;if(!v[a+968>>2]|v[a+12>>2]==2){break d}t[a+502|0]=1}return c}$a(f);tc(b,e);L()}function Q2(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0,y=0;n=Ma-16|0;Ma=n;a:{if(!a|(!b|((a?v[a+8>>2]:-1)|0)!=1)){break a}h=n+12|0;k=n+8|0;if(a){if(h){v[h>>2]=v[a>>2]}if(k){v[k>>2]=v[a+4>>2]}}u=a?v[a+40>>2]:0;w=a?v[a+12>>2]:-1;if((c|0)<0){break a}o=v[n+12>>2];if((d|0)<0|(o|0)<=(c|0)){break a}p=v[n+8>>2];if(!(v[((B(d,w)<<2)+u|0)+(c>>>3&536870908)>>2]>>>(c^-1)&1)|(p|0)<=(d|0)){break a}b:{if((d|0)<-1|(p-1|0)<=(d|0)){break b}e=v[b+12>>2];if(!e){break b}c:{if(((e?v[e+4>>2]:1)|0)>=1){a=Pk(e);break c}a=Yb(1,16);if(!a){break b}}v[a+12>>2]=1;v[a+8>>2]=d;v[a+4>>2]=c;v[a>>2]=c;Ok(b,a)}d:{if((d|0)<0){break d}e=v[b+12>>2];if(!e){break d}e:{if(((e?v[e+4>>2]:1)|0)>=1){a=Pk(e);break e}a=Yb(1,16);if(!a){break d}}v[a+12>>2]=-1;v[a+8>>2]=d+1;v[a+4>>2]=c;v[a>>2]=c;Ok(b,a)}f:{if(((b?v[b+4>>2]:1)|0)<1){h=c;k=d;break f}x=o-1|0;h=c;k=d;g=d;g:while(1){e=v[b+12>>2];h:{if(!e){break h}f=Pk(b);if(!f){break h}s=v[f+4>>2];q=v[f>>2];m=v[f+12>>2];a=v[f+8>>2];Ok(e,f);g=a+m|0}a=q-1|0;r=(B(g,w)<<2)+u|0;i:{j:{if((q|0)<1){break j}e=a;l=q;i=(a>>>3&536870908)+r|0;j=v[i>>2];f=a&31;k:{if(!(j>>>(f^31)&1)){break k}while(1){l:{l=e;e=-1;v[i>>2]=(-2147483648>>>f^-1)&j;if((l|0)<=0){break l}e=l-1|0;i=(e>>>3&536870908)+r|0;j=v[i>>2];f=e&31;if(j>>>(f^31)&1){continue}break k}break}l=0}if((l|0)>=(q|0)){a=e;break j}d=(d|0)>(g|0)?d:g;k=(g|0)>(k|0)?k:g;c=(a|0)<(c|0)?c:a;h=(h|0)<(l|0)?h:l;e=g-m|0;m:{if((e|0)<0|(e|0)>=(p|0)){break m}f=v[b+12>>2];if(!f){break m}n:{if(((f?v[f+4>>2]:1)|0)>=1){e=Pk(f);break n}e=Yb(1,16);if(!e){break m}}v[e+12>>2]=0-m;v[e+8>>2]=g;v[e+4>>2]=a;v[e>>2]=l;Ok(b,e)}a=q;e=0;break i}e=1}while(1){o:{p:{q:{r:{if(!e){s:{if((a|0)>=(o|0)){break s}while(1){i=(a>>5<<2)+r|0;f=v[i>>2];e=a&31;if(!(f>>>(e^31)&1)){break s}v[i>>2]=f&(-2147483648>>>e^-1);a=a+1|0;if((o|0)!=(a|0)){continue}break}a=o}y=(a|0)>(c|0);t=a-1|0;j=(d|0)>(g|0);i=(g|0)>(k|0);f=(h|0)<(l|0);e=g+m|0;t:{if((e|0)<0|(e|0)>=(p|0)){break t}e=v[b+12>>2];if(!e){break t}u:{if(((e?v[e+4>>2]:1)|0)>=1){e=Pk(e);break u}e=Yb(1,16);if(!e){break t}}v[e+12>>2]=m;v[e+8>>2]=g;v[e+4>>2]=t;v[e>>2]=l;Ok(b,e)}c=y?t:c;d=j?d:g;k=i?k:g;h=f?h:l;if((a|0)<=(s|0)){break r}f=s+1|0;h=(f|0)>(h|0)?h:f;e=g-m|0;if((e|0)<0|(e|0)>=(p|0)){break r}i=v[b+12>>2];if(!i){break r}v:{if(((i?v[i+4>>2]:1)|0)>=1){j=Pk(i);break v}j=Yb(1,16);if(!j){break r}}v[j+12>>2]=0-m;v[j+8>>2]=g;v[j+4>>2]=t;v[j>>2]=f;Ok(b,j);break r}if((a|0)>(s|0)|(a|0)>=(x|0)){break p}a=a+1|0;if(v[(a>>5<<2)+r>>2]>>>(a^-1)&1){break q}}e=1;continue}l=a;break o}if(((b?v[b+4>>2]:1)|0)>0){continue g}break f}e=0;continue}}}e=qK(h,k,(c-h|0)+1|0,(d-k|0)+1|0)}Ma=n+16|0;return e}function Ila(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,h=0,i=0,j=0;a=v[a+4>>2];if(!a){return 0}d=Ma-32|0;Ma=d;h=a+12|0;qb(h,0);e=Ma-32|0;Ma=e;a=ab(36);v[a+8>>2]=1;v[a+4>>2]=0;v[a+20>>2]=0;v[a+12>>2]=0;v[a+16>>2]=0;v[a>>2]=970168;pc(a+28|0,a+24|0,0,4);g=d+24|0;v[g>>2]=0;qb(g,a);v[e>>2]=0;v[e+4>>2]=v[279250];a:{b:{if(c){while(1){f=Qa[v[v[a>>2]+12>>2]](a,b,c)|0;if(!f){break b}b=b+f|0;c=c-f|0;if(c){continue}break}}v[a+12>>2]=0;db(e);Ma=e+32|0;break a}lb(mb(e+8|0,237806,241689,474,329617));L()}v[d+8>>2]=0;qb(d+8|0,0);i=d+16|0;b=i;f=Ma-16|0;Ma=f;Cy(f+8|0,g);c=0;a=v[d+8>>2];if(a){v[a+4>>2]=v[a+4>>2]+1;c=v[d+8>>2]}v[f>>2]=c;a=Ma-48|0;Ma=a;e=Sp(180);Xr(e);v[e>>2]=971480;zg(e+8|0);v[e+68>>2]=0;v[e+72>>2]=0;v[e+52>>2]=0;v[e+56>>2]=6;v[e+44>>2]=0;v[e+48>>2]=0;v[e+76>>2]=0;v[e+80>>2]=0;v[e+60>>2]=0;v[e+68>>2]=971412;v[e+72>>2]=0;v[e+76>>2]=0;v[e+80>>2]=0;v[e+92>>2]=0;u[e+88>>1]=0;v[e+84>>2]=0;v[e+100>>2]=0;v[e+104>>2]=0;v[e+108>>2]=0;v[e+112>>2]=0;v[e+116>>2]=0;v[e+96>>2]=0;g=v[279250];v[e+124>>2]=0;v[e+128>>2]=0;v[e+120>>2]=g;v[e+132>>2]=0;v[e+136>>2]=0;v[e+140>>2]=0;v[e+128>>2]=970612;v[e+132>>2]=0;v[e+136>>2]=0;v[e+140>>2]=0;v[e+156>>2]=0;v[e+160>>2]=0;v[e+148>>2]=0;v[e+152>>2]=0;v[e+148>>2]=970612;v[e+152>>2]=0;v[e+156>>2]=0;v[e+160>>2]=0;v[e+168>>2]=0;v[b>>2]=0;qb(b,e);jb(e+44|0,f+8|0);g=zg(a+8|0);j=a;b=v[f>>2];if(b){v[b+4>>2]=v[b+4>>2]+1;b=v[f>>2]}else{b=0}v[j>>2]=b;mS(e,g,a);b=v[a>>2];v[a>>2]=0;c:{if(!b){break c}e=v[b+4>>2]-1|0;v[b+4>>2]=e;if(e){break c}e=v[b+4>>2];if(!e){v[b+4>>2]=-32767}if(!e){Qa[v[v[b>>2]+4>>2]](b)}}v[g+24>>2]=969432;v[g>>2]=969400;b=v[g+28>>2];if(b){e=v[b+4>>2]-1|0;v[b+4>>2]=e;if(!e){Qa[v[v[b>>2]+4>>2]](b)}v[g+28>>2]=0}v[g+16>>2]=969432;b=v[g+20>>2];if(b){e=v[b+4>>2]-1|0;v[b+4>>2]=e;if(!e){Qa[v[v[b>>2]+4>>2]](b)}v[g+20>>2]=0}db(g+8|0);Ma=a+48|0;v[f>>2]=0;d:{if(!c){break d}a=v[c+4>>2]-1|0;v[c+4>>2]=a;if(a){break d}a=v[c+4>>2];if(!a){v[c+4>>2]=-32767}if(!a){Qa[v[v[c>>2]+4>>2]](c)}}a=v[f+8>>2];v[f+8>>2]=0;e:{if(!a){break e}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break e}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=f+16|0;jb(h,i);a=v[d+16>>2];v[d+16>>2]=0;f:{if(!a){break f}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break f}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}a=v[d+8>>2];v[d+8>>2]=0;g:{if(!a){break g}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break g}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}iS(v[h>>2]);a=v[d+24>>2];v[d+24>>2]=0;h:{if(!a){break h}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break h}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=d+32|0;return 1}function Hza(a,b){a=a|0;b=b|0;var 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;j=Ma-16|0;Ma=j;p=v[a+8>>2];f=v[a+12>>2]-p|0;o=f>>1;c=v[a+24>>2];i=v[a+4>>2];k=v[i+8>>2];h=w[k+14|0];a:{b:{c:{g=v[i+56>>2];n=v[a+16>>2];l=v[a+20>>2]-n|0;if(!(!g|(l|0)<=0)){f=h;break c}if((f|0)<1){break a}while(1){f=h;i=m;d:{e:{f:{g:{h:{while(1){v[j+12>>2]=65535;i:{j:{if((d|0)<(l|0)){m=i+1|0;g=x[(i<<1)+p>>1];if((g|0)==126){t[v[a+16>>2]+d|0]=126;if(v[a+24>>2]){v[c>>2]=i;c=c+4|0}h=d+1|0;if((h|0)<(l|0)){break j}e=v[a+4>>2];d=t[e+63|0];t[e+63|0]=d+1;t[(d+e|0)+76|0]=126;v[b>>2]=15;break i}k:{l:{e=g;if(e>>>0>=128){if((Eg(v[v[k>>2]+24>>2],g,j+12|0,t[v[a+4>>2]+35|0])|0)!=2){break l}h=v[j+12>>2];if((h+24159&65534)>>>0>23645|(h+95&254)>>>0>=94){break l}e=h-32896|0}v[j+12>>2]=e;if((e|0)==65535){break k}h=e>>>0>255;t[k+14|0]=h;if(!(w[k+12|0]?f<<24>>24==(h|0):0)){t[v[a+16>>2]+d|0]=126;f=v[a+24>>2];if(e>>>0<=255){if(f){v[c>>2]=i;c=c+4|0}f=d+1|0;if((f|0)<(l|0)){break h}e=v[a+4>>2];d=t[e+63|0];t[e+63|0]=d+1;t[(d+e|0)+76|0]=125;v[b>>2]=15;d=f;t[k+12|0]=1;break f}if(f){v[c>>2]=i;c=c+4|0}f=d+1|0;if((f|0)<(l|0)){break g}e=v[a+4>>2];d=t[e+63|0];t[e+63|0]=d+1;t[(d+e|0)+76|0]=123;v[b>>2]=15;d=f;t[k+12|0]=1;break e}if(e>>>0<256){break f}break e}v[j+12>>2]=65535}c=10;if((g&63488)!=55296){break b}c=12;if(g&1024){break b}i=v[a+4>>2];v[i+56>>2]=g;e=g;break c}v[b>>2]=15;h=f;m=i;break a}t[h+v[a+16>>2]|0]=126;if(v[a+24>>2]){v[c>>2]=i;c=c+4|0}h=d+2|0}d=h;i=m;if((o|0)>(i|0)){continue}break}h=f;break a}t[f+v[a+16>>2]|0]=125;if(v[a+24>>2]){v[c>>2]=i;c=c+4|0}d=d+2|0;t[k+12|0]=1;break f}t[f+v[a+16>>2]|0]=123;if(v[a+24>>2]){v[c>>2]=i;c=c+4|0}d=d+2|0;t[k+12|0]=1;break e}g=v[j+12>>2];if((d|0)<(l|0)){t[d+n|0]=g;d=d+1|0;if(!c){c=0;break d}v[c>>2]=i;c=c+4|0;break d}e=v[a+4>>2];f=t[e+63|0];t[e+63|0]=f+1;t[(f+e|0)+76|0]=g;v[b>>2]=15;break d}g=v[j+12>>2]>>>8|0;m:{n:{if((d|0)<(l|0)){t[d+n|0]=g;f=d+1|0;if(c){v[c>>2]=i;if((f|0)<(l|0)){break n}c=c+4|0;break m}c=0;if((f|0)>=(l|0)){break m}t[f+n|0]=v[j+12>>2];d=d+2|0;break d}e=v[a+4>>2];f=t[e+63|0];t[e+63|0]=f+1;t[(f+e|0)+76|0]=g;f=v[j+12>>2];g=v[a+4>>2];e=t[g+63|0];t[g+63|0]=e+1;t[(e+g|0)+76|0]=f;v[b>>2]=15;break d}t[f+n|0]=v[j+12>>2];v[c+4>>2]=i;c=c+8|0;d=d+2|0;break d}d=v[j+12>>2];g=v[a+4>>2];e=t[g+63|0];t[g+63|0]=e+1;t[(e+g|0)+76|0]=d;v[b>>2]=15;d=f}v[j+12>>2]=65535;if((m|0)<(o|0)){continue}break}break a}c=0;o:{if((m|0)>=(o|0)){break o}c=12;h=x[v[a+8>>2]+(m<<1)>>1];if((h&64512)!=56320){break o}v[i+56>>2]=0;m=m+1|0;c=10;g=(h+(g<<10)|0)-56613888|0;break b}g=e}h=f;v[b>>2]=c;v[v[a+4>>2]+56>>2]=g}v[a+16>>2]=v[a+16>>2]+d;v[a+8>>2]=v[a+8>>2]+(m<<1);t[k+14|0]=h;Ma=j+16|0}function mBa(a,b){a=a|0;b=b|0;var 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=-9;f=v[a+4>>2];a:{if(t[f+254|0]>0){break a}m=v[f+24>>2];if(w[m+201|0]&2){break a}l=v[a+12>>2];g=v[a+8>>2];if(w[m+28|0]==1){h=v[(w[f+28|0]&16?40:36)+m>>2];b:{c:{while(1){c=g;if(c>>>0>=l>>>0){break b}d=v[h+(w[c|0]<<2)>>2];g=c+1|0;v[a+8>>2]=g;if((d|0)<=-2146435073){return d&65535}if((d&13631488)==1048576){return(d&1048575)+65536|0}d:{switch((d>>>20&15)-2|0){case 5:break b;case 4:break c;case 0:break d;default:continue}}break}return d&65535}if(v[b>>2]>0){break b}v[a+8>>2]=c;return-9}v[b>>2]=8;return 65535}c=(w[f+28|0]&16?40:36)+m|0;h=w[f+48|0];if(!h){h=w[m+29|0]}o=v[m+44>>2];p=v[c>>2];n=v[f+44>>2];d=-1;e:{f:{g:{h:while(1){j=g;if(l>>>0<=j>>>0){e=0;break f}k=l-j|0;e=0;c=h;while(1){h=e+j|0;e=e+1|0;g=j+e|0;i:{q=c&255;i=v[((q<<10)+p|0)+(w[h|0]<<2)>>2];if((i|0)>=0){c=i>>>24|0;n=(i&16777215)+n|0;if(g>>>0>=l>>>0){break i}i=v[((c<<10)+p|0)+(w[g|0]<<2)>>2];if((i&-2131755008)!=-2143289344){break i}d=x[((i&65535)+n<<1)+o>>1];if(d>>>0>65533){break i}g=h+2|0;h=i>>>24&127;c=d;break e}v[f+48>>2]=q;h=i>>>24&127;j:{k:{l:{m:{n:{o:{k=i>>>20&15;switch(k|0){case 5:break m;case 4:break n;case 0:break o;default:break l}}c=i&65535;break e}k=(i&65535)+n|0;c=x[(k<<1)+o>>1];if(c>>>0<65534){break e}if((c|0)!=65534){break j}d=65534;c=bZ(m+28|0,k);if((c|0)==65534){break g}d=c;break f}c=(i&65535)+n|0;d=x[(c<<1)+o>>1];if(d>>>0<55296){c=d;break e}c=c+1|0;if(d>>>0<=57343){c=(x[(c<<1)+o>>1]+(d<<10&1047552)|0)+9216|0;break e}if((d&65534)!=57344){break k}c=x[(c<<1)+o>>1];break e}if((i&13631488)==1048576){c=(i&1048575)+65536|0;break e}n=0;p:{switch(k-2|0){case 6:if(!w[m+29|0]){break g}v[b>>2]=12;h=c;break f;case 0:c=i&65535;break e;case 4:break g;case 5:break p;default:continue h}}v[b>>2]=12;break f}c=65535;if((d|0)!=65535){break g}}v[b>>2]=12;break e}if((e|0)!=(k|0)){continue}break}break}h=c;e=k;break f}if(v[b>>2]>0){break f}v[f+48>>2]=h;v[f+44>>2]=0;v[a+8>>2]=j;return-9}k=e+j|0;if((d|0)>-1){c=d}else{c=v[b>>2];if(!((k|0)!=(l|0)|(c|0)>0|(e|0)<1)){t[f+36|0]=e;e=f+37|0;while(1){t[e|0]=w[j|0];e=e+1|0;j=j+1|0;if(l>>>0>j>>>0){continue}break}v[b>>2]=11;c=65535;g=l;break e}q:{if((c|0)>=1){b=w[m+29|0];t[f+37|0]=w[j|0];if((e|0)==1){t[f+36|0]=1;break q}g=j+1|0;c=1;r:{if((e|0)<2){break r}e=f+38|0;d=((h&255)<<10)+p|0;j=!b;while(1){l=w[g|0];b=v[d+(l<<2)>>2];s:{if((b|0)>=0){b=wI(p,b>>>24|0);break s}b=b>>>20&15;b=(b|0)!=7&(j|(b|0)!=8)}if(b){break r}t[e|0]=l;c=c+1|0;e=e+1|0;g=g+1|0;if(k>>>0>g>>>0){continue}break}}t[f+36|0]=c;c=65535;break e}v[b>>2]=8}c=65535}g=k}v[f+44>>2]=0;v[f+48>>2]=h&255;v[a+8>>2]=g}return c|0}function iQa(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,p=0,q=0,r=0,s=0;e=1;a:{if(!v[a+16>>2]){break a}l=v[a+20>>2];if(!l){break a}d=Ma-224|0;Ma=d;m=v[c>>2];if((m|0)>=8){a=v[l+4>>2];if(!w[a+25|0]){g=A[b+8>>3];f=A[b>>3];t[a+25|0]=1;Td(a,f,g,1)}v[d+176>>2]=0;v[d+180>>2]=0;v[d+184>>2]=0;v[d+188>>2]=0;v[d+192>>2]=0;v[d+196>>2]=0;v[d+200>>2]=0;v[d+204>>2]=0;v[d+208>>2]=0;v[d+212>>2]=64;v[d+216>>2]=0;v[d+160>>2]=0;v[d+164>>2]=1072693248;v[d+8>>2]=0;v[d+12>>2]=1072693248;v[d>>2]=0;v[d+4>>2]=0;A[d+8>>3]=25;v[d+160>>2]=0;v[d+164>>2]=1077477376;g=A[b+56>>3];f=A[b+48>>3];j=A[b+40>>3];k=A[b+32>>3];n=A[b+24>>3];o=A[b+16>>3];p=A[b+8>>3];q=A[b>>3];b:{if(!v[d+216>>2]){HJ(d,q,p,o,n,k,j,f,g);break b}GJ(d+160|0,q,p,o,n,k,j,f,g)}c:{d:{h=v[l+4>>2];a=v[h>>2];if(a){a=a-1|0;if(!(w[v[v[h+16>>2]+(a>>>6&67108860)>>2]+(a&255)|0]&64)){break d}}a=Ma-16|0;Ma=a;e:{if(!v[d+216>>2]){z0(d);break e}v[d+192>>2]=0}while(1){f:{if(v[d+216>>2]){c=v[d+192>>2];if(c>>>0>=y[d+196>>2]){break f}v[d+192>>2]=c+1;e=v[v[d+208>>2]+(c>>>4&268435452)>>2]+((c&63)<<4)|0;g=A[e>>3];A[a+8>>3]=g;f=A[e+8>>3];A[a>>3]=f;Td(h,g,f,c?2:1);continue}c=Bn(d,a+8|0,a);if(!c){break f}Td(h,A[a+8>>3],A[a>>3],c);continue}break}break c}a=Ma-16|0;Ma=a;g:{h:{i:{j:{if(v[d+216>>2]){v[d+192>>2]=0;c=0;break j}z0(d);if(!v[d+216>>2]){break i}c=v[d+192>>2]}if(c>>>0>=y[d+196>>2]){break g}v[d+192>>2]=c+1;e=v[v[d+208>>2]+(c>>>4&268435452)>>2]+((c&63)<<4)|0;A[a+8>>3]=A[e>>3];A[a>>3]=A[e+8>>3];e=c?2:1;break h}e=Bn(d,a+8|0,a);if(!e){break g}}k:{if(e-1>>>0>13){break k}c=1;i=v[h>>2];l:{if(!i){break l}i=i-1|0;r=i>>>6&67108860;i=i&255;s=w[v[r+v[h+16>>2]>>2]+i|0];if(s-1>>>0<=13){c=v[v[h+12>>2]+r>>2]+(i<<4)|0;g=A[a+8>>3];f=A[c>>3]-g;k=f*f;f=A[a>>3];j=A[c+8>>3]-f;if(!(K(k+j*j)>1e-14)){break k}Td(h,g,f,(e|0)==1?2:e);break k}if(!s){break l}c=(e|0)==1?2:e}Td(h,A[a+8>>3],A[a>>3],c)}while(1){m:{if(v[d+216>>2]){c=v[d+192>>2];if(c>>>0>=y[d+196>>2]){break g}v[d+192>>2]=c+1;e=v[v[d+208>>2]+(c>>>4&268435452)>>2]+((c&63)<<4)|0;g=A[e>>3];A[a+8>>3]=g;f=A[e+8>>3];A[a>>3]=f;e=c?2:1;break m}e=Bn(d,a+8|0,a);if(!e){break g}f=A[a>>3];g=A[a+8>>3]}Td(h,g,f,(e|0)==1?2:e);continue}}}Ma=a+16|0;a=m-8|0;if(a>>>0>=6){c=b- -64|0;h=(a>>>0)/6|0;e=0;while(1){a=c+B(e,48)|0;g=A[a+40>>3];f=A[a+32>>3];j=A[a+24>>3];k=A[a+16>>3];b=v[l+4>>2];Td(b,A[a>>3],A[a+8>>3],4);Td(b,k,j,4);Td(b,f,g,4);e=e+1|0;if((h|0)!=(e|0)){continue}break}}b=v[d+200>>2];if(b){a=b-1|0;v[d+200>>2]=a;e=v[d+208>>2]+(b<<2)|0;while(1){c=d;e=e-4|0;b=v[e>>2];if(b){$a(b);a=v[d+200>>2]}b=a;a=b-1|0;v[c+200>>2]=a;if(b){continue}break}}a=v[d+208>>2];if(a){$a(a)}}Ma=d+224|0;e=0}return e|0}function ZX(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=b;i=d;b=0;e=-1;a:{if(!a|!f){break a}b:{c:{h=a;a=v[a+12>>2];if(a){e=a;d:{while(1){d=v[e+16>>2];if(d){while(1){if(d+20>>>0<=f>>>0&y[d+4>>2]>=f>>>0){break d}d=v[d>>2];if(d){continue}break}}e=v[e+20>>2];if(e){continue}break}e=-1;f=Zc(a,f,-1);if(!f){break a}}e:{if(!c){break e}a=v[h+12>>2];e=a;while(1){if(!e){b=c;break e}d=v[e+16>>2];if(d){while(1){if(!(y[d+4>>2]>>0|d+20>>>0>c>>>0)){b=c;break e}d=v[d>>2];if(d){continue}break}}e=v[e+20>>2];if(e){continue}break}e=-1;b=Zc(a,c,-1);if(!b){break a}}if(!f){break c}c=b}e=w[f|0];d=B(e,30);if(e){a=f;while(1){d=((d<<5)+(d>>>3|0)|0)+(e<<24>>24)^d;e=w[a+1|0];a=a+1|0;if(e){continue}break}}b=c;break b}f=0;k=1;d=0}d=(d<<5)+(d>>>3|0)^d;f:{if(!b){break f}e=w[b|0];if(!e){break f}a=b;while(1){d=((e<<24>>24)+(d>>>3|0)|0)+(d<<5)^d;e=w[a+1|0];a=a+1|0;if(e){continue}break}}l=1;d=v[h>>2]+B((((d<<5)+(d>>>3|0)^d)>>>0)%y[h+4>>2]|0,24)|0;g:{if(!v[d+20>>2]){break g}e=v[d>>2];h:{if(v[h+12>>2]){if(e){while(1){a=d;d=e;if(!(v[a+12>>2]|(v[a+4>>2]!=(f|0)|v[a+8>>2]!=(b|0)))){v[a+16>>2]=i;e=0;break a}e=v[d>>2];if(e){continue}break}}if(v[d+4>>2]!=(f|0)){c=d;break h}if(v[d+8>>2]!=(b|0)){c=d;break h}if(v[d+12>>2]){c=d;break h}v[d+16>>2]=i;e=0;break a}c=d;if(e){while(1){g=c;c=e;i:{e=v[g+4>>2];if((f|0)!=(e|0)){a=f;if(!e|k){break i}while(1){j=w[e|0];if((j|0)!=w[a|0]){break i}a=a+1|0;e=e+1|0;if(j){continue}break}}e=v[g+8>>2];if((e|0)!=(b|0)){if(!e){break i}a=b;if(!a){break i}while(1){j=w[e|0];if((j|0)!=w[a|0]){break i}a=a+1|0;e=e+1|0;if(j){continue}break}}if(v[g+12>>2]){break i}v[g+16>>2]=i;e=0;break a}e=v[c>>2];if(e){continue}break}}j:{e=v[c+4>>2];if((f|0)!=(e|0)){if(!e|k){break h}a=f;while(1){g=w[e|0];if((g|0)!=w[a|0]){break j}a=a+1|0;e=e+1|0;if(g){continue}break}}e=v[c+8>>2];if((e|0)!=(b|0)){if(!e|!b){break h}a=b;while(1){g=w[e|0];if((g|0)!=w[a|0]){break j}a=a+1|0;e=e+1|0;if(g){continue}break}}if(v[c+12>>2]){break h}v[c+16>>2]=i;e=0;break a}if(!c){break g}}l=0;m=c;e=-1;d=Qa[v[256552]](24)|0;if(!d){break a}}k:{if(v[h+12>>2]){v[d+8>>2]=b;v[d+4>>2]=f;break k}c=0;e=0;l:{if(k){break l}e=f;while(1){a=e;e=e+1|0;if(w[a|0]){continue}break}e=0;a=a-f|0;if((a|0)<0){break l}g=Qa[v[256555]](a+1|0)|0;if(!g){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break l}e=cb(g,f,a);t[a+e|0]=0}v[d+4>>2]=e;m:{if(!b){break m}f=b;while(1){a=f;f=a+1|0;if(w[a|0]){continue}break}a=a-b|0;if((a|0)<0){break m}f=Qa[v[256555]](a+1|0)|0;if(!f){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break m}c=cb(f,b,a);t[a+c|0]=0}v[d+8>>2]=c}v[d+16>>2]=i;v[d+12>>2]=0;v[d+20>>2]=1;e=0;v[d>>2]=0;v[h+8>>2]=v[h+8>>2]+1;if(l){break a}v[m>>2]=d}return e}function mza(a,b){a=a|0;b=b|0;var 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;l=v[a+4>>2];c=v[l+44>>2];e=c?c:64;n=v[a+20>>2];d=v[a+16>>2];o=v[a+12>>2];g=v[a+8>>2];m=t[l+36|0];a:{b:{q=v[l+48>>2];h=q&3;c:{if(!h){p=n;break c}if((m|0)<1){p=n;break c}p=n;if(d>>>0>>0){break b}}c=0;break a}c=1}d:{e:{f:{g:{h:while(1){i:{j:{if(!c){c=e;k=o-g|0;i=p-d>>1;h=(i|0)>(k|0)?k:i;k:{if((h|0)<1){break k}while(1){i=w[g|0];l:{if((i<<24)-1342177280>>24>=0){c=e;e=(i+c|0)-144|0;if((e|0)>12287){break k}u[d>>1]=e;e=e&-128|64;break l}c=e;if(i>>>0>32){break k}u[d>>1]=i;e=(i|0)==32?e:64}g=g+1|0;d=d+2|0;c=(h|0)>1;h=h-1|0;if(c){continue}break}h=0;c=e}i=c;c=0;break j}k=q>>2;while(1){if(g>>>0>=o>>>0){i=e;break g}c=w[g|0];t[((m<<24>>24)+l|0)+37|0]=c;if(c>>>0<=32){c=t[c+855024|0]}else{c=c-13|0}m:{n:{o:{h=h-1|0;switch(h|0){case 0:break m;case 1:break o;default:break n}}c=B(c,243);break m}c=B(c,59049)}m=m+1|0;g=g+1|0;if((c|0)<0){break i}k=c+k|0;if(h){continue}break}h=0;m=0;j=e+k|0;if(j>>>0>1114111){break i}c=1}while(1){p:{q:{r:{s:{t:{u:{if(!c){v:{w:{x:{y:{z:{A:{if(d>>>0>>0){c=g;while(1){e=i;if(c>>>0>=o>>>0){g=c;break g}g=c+1|0;f=w[c|0];if((f<<24)-1342177280>>24>-1){break A}if(f>>>0>=33){if(g>>>0>>0&(f-37&255)>>>0<=213){break z}i=64;c=g;if((f|0)==255){continue}t[l+37|0]=f;if(f>>>0<80){break x}if(f>>>0>250){break y}c=B(f,243)-50480|0;h=1;break v}u[d>>1]=f;i=(f|0)==32?e:64;c=g;d=d+2|0;if(n>>>0>d>>>0){continue}break}}if(g>>>0>>0){break s}break g}j=(e+f|0)-144|0;if((j|0)>12287){break p}u[d>>1]=j;d=d+2|0;e=j&-128|64;p=v[a+20>>2];break r}r=c+2|0;c=w[c+1|0];B:{if(c>>>0>=33){c=c-13|0;break B}k=c&31;if(((c&63)>>>0>=32?1>>>k|0:((1<>>k)&1){break u}c=t[c+855024|0]}k=B(f,243)+(f>>>0>143?-50480:-19504)|0;j=c+(k+e|0)|0;if(j>>>0>=1114112){break u}g=r;break p}if(f>>>0>253){c=187660;h=3;break v}c=B(f,59049)-14810786|0;break w}if(f>>>0>=37){c=B(f,243)-19504|0;h=1;break v}if(f>>>0<34){c=-14536567;h=3;break v}c=B(f,59049)-2195326|0}h=2}q=h|c<<2;m=1;c=1;continue h}C:{D:{if(j-12352>>>0<=42851){i=12400;if((j|0)<12448){break D}i=30481;if(j-19968>>>0<20902){break D}i=49617;if((j|0)>44031){break D}i=j&-128|64;break D}i=j&-128|64;if((j|0)>65535){break C}}u[d>>1]=j;d=d+2|0;break q}u[d>>1]=(j>>>10|0)-10304;e=j&1023|-9216;c=d+2|0;if(c>>>0>=n>>>0){break t}u[d+2>>1]=e;d=d+4|0;break q}t[l+37|0]=f;t[l+38|0]=w[g|0];m=2;g=r;break i}t[l+65|0]=1;u[l+116>>1]=e;d=c}v[b>>2]=15;break e}c=0;continue h}c=0;continue}c=1;continue}}break}v[b>>2]=12;break f}if(v[b>>2]!=12){break e}}v[l+44>>2]=64;b=0;break d}v[l+44>>2]=i;b=k<<2|h}t[l+36|0]=m;v[l+48>>2]=b;v[a+16>>2]=d;v[a+8>>2]=g}function dE(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=Ma-32|0;Ma=c;v[c+8>>2]=0;v[c+12>>2]=v[279250];while(1){f=a;a=a+1|0;g=t[f|0];d=g;if((d|0)==32|d-9>>>0<5){continue}d=f;while(1){a:{a=g&255;e=a-47|0;if((1<>>0<=15:0)|!a){break a}a=g<<24>>24;if((a|0)==32|a-9>>>0<5){break a}g=w[d+1|0];d=d+1|0;continue}break}f=eg(c+16|0,f,d-f|0);a=v[c+16>>2];b:{if(a){Qa[v[v[a>>2]+28>>2]](c,a,1);break b}v[c>>2]=0}jb(c+8|0,c);a=v[c>>2];v[c>>2]=0;c:{if(!a){break c}e=v[a+4>>2]-1|0;v[a+4>>2]=e;if(e){break c}e=v[a+4>>2];if(!e){v[a+4>>2]=-32767}if(!e){Qa[v[v[a>>2]+4>>2]](a)}}a=v[c+8>>2];v[c+12>>2]=v[(a?a+12|0:1117e3)>>2];d:{if(!a){db(f);break d}a=v[a+8>>2];db(f);if(!a){break d}rF(c+16|0,c+8|0);a=v[c+16>>2];e:{if(a){Qa[v[v[a>>2]+28>>2]](c,a,1);break e}v[c>>2]=0}jb(c+8|0,c);a=v[c>>2];v[c>>2]=0;f:{if(!a){break f}f=v[a+4>>2]-1|0;v[a+4>>2]=f;if(f){break f}f=v[a+4>>2];if(!f){v[a+4>>2]=-32767}if(!f){Qa[v[v[a>>2]+4>>2]](a)}}a=v[c+8>>2];v[c+12>>2]=v[(a?a+12|0:1117e3)>>2];db(c+16|0);v[c>>2]=0;v[c+4>>2]=v[279250];g:{if(w[d|0]!=61){a=d;break g}f=d+1|0;a=f;h:{i:{g=w[d+1|0];switch(g-34|0){case 0:case 5:break i;default:break h}}h=d+2|0;e=h;f=e;a=w[d+2|0];j:{if((g|0)==(a|0)){break j}while(1){a=a&255;if(!a){f=e;break j}if((a|0)==62){f=e;break j}a=w[e+1|0];f=e+1|0;e=f;if((a|0)!=(g|0)){continue}break}}d=eg(c+16|0,h,f-h|0);a=v[c+16>>2];k:{if(a){Qa[v[v[a>>2]+28>>2]](c+24|0,a,1);break k}v[c+24>>2]=0}jb(c,c+24|0);a=v[c+24>>2];v[c+24>>2]=0;l:{if(!a){break l}e=v[a+4>>2]-1|0;v[a+4>>2]=e;if(e){break l}e=v[a+4>>2];if(!e){v[a+4>>2]=-32767}if(!e){Qa[v[v[a>>2]+4>>2]](a)}}a=v[c>>2];v[c+4>>2]=v[(a?a+12|0:1117e3)>>2];db(d);a=(w[f|0]==(g|0))+f|0;break g}while(1){m:{n:{o:{d=g&255;switch(d-47|0){case 0:case 15:break m;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:break n;default:break o}}if(!d){break m}}d=g<<24>>24;if((d|0)==32|d-9>>>0<5){break m}g=w[a+1|0];a=a+1|0;continue}break}f=eg(c+16|0,f,a-f|0);d=v[c+16>>2];p:{if(d){Qa[v[v[d>>2]+28>>2]](c+24|0,d,1);break p}v[c+24>>2]=0}jb(c,c+24|0);d=v[c+24>>2];v[c+24>>2]=0;q:{if(!d){break q}e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(e){break q}e=v[d+4>>2];if(!e){v[d+4>>2]=-32767}if(!e){Qa[v[v[d>>2]+4>>2]](d)}}d=v[c>>2];v[c+4>>2]=v[(d?d+12|0:1117e3)>>2];db(f)}pE(c+16|0,c);f=no(b,c+8|0)+24|0;d=v[c+16>>2];r:{if(d){Qa[v[v[d>>2]+28>>2]](c+24|0,d,1);break r}v[c+24>>2]=0}jb(f,c+24|0);d=v[c+24>>2];v[c+24>>2]=0;s:{if(!d){break s}e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(e){break s}e=v[d+4>>2];if(!e){v[d+4>>2]=-32767}if(!e){Qa[v[v[d>>2]+4>>2]](d)}}d=v[f>>2];v[f+4>>2]=v[(d?d+12|0:1117e3)>>2];db(c+16|0);db(c);continue}break}db(c+8|0);Ma=c+32|0}function $m(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=v[a+344>>2]+1|0;v[a+344>>2]=c;a:{b:{if(c>>>0>2]){break b}if(!w[a+398|0]){break a}v[a+344>>2]=0;c:{if(!(w[a+208|0]&2)){f=w[a+399|0];c=f+1|0;b=c&255;if(b>>>0>6){break c}d=w[b+76663|0];g=(d+v[a+320>>2]|0)+(w[b+76656|0]^-1)|0;v[a+332>>2]=(g>>>0)/(d>>>0);e=w[b+76649|0];b=(e+v[a+324>>2]|0)+(w[b+76642|0]^-1)|0;v[a+328>>2]=(b>>>0)/(e>>>0);if(d>>>0<=g>>>0&b>>>0>=e>>>0){break c}c=f+2|0;b=c&255;if(b>>>0>6){break c}d=w[b+76663|0];g=(d+v[a+320>>2]|0)+(w[b+76656|0]^-1)|0;v[a+332>>2]=(g>>>0)/(d>>>0);e=w[b+76649|0];b=(e+v[a+324>>2]|0)+(w[b+76642|0]^-1)|0;v[a+328>>2]=(b>>>0)/(e>>>0);if(d>>>0<=g>>>0&b>>>0>=e>>>0){break c}c=f+3|0;b=c&255;if(b>>>0>6){break c}d=w[b+76663|0];g=(d+v[a+320>>2]|0)+(w[b+76656|0]^-1)|0;v[a+332>>2]=(g>>>0)/(d>>>0);e=w[b+76649|0];b=(e+v[a+324>>2]|0)+(w[b+76642|0]^-1)|0;v[a+328>>2]=(b>>>0)/(e>>>0);if(d>>>0<=g>>>0&b>>>0>=e>>>0){break c}c=f+4|0;b=c&255;if(b>>>0>6){break c}d=w[b+76663|0];g=(d+v[a+320>>2]|0)+(w[b+76656|0]^-1)|0;v[a+332>>2]=(g>>>0)/(d>>>0);e=w[b+76649|0];b=(e+v[a+324>>2]|0)+(w[b+76642|0]^-1)|0;v[a+328>>2]=(b>>>0)/(e>>>0);if(d>>>0<=g>>>0&b>>>0>=e>>>0){break c}c=f+5|0;b=c&255;if(b>>>0>6){break c}d=w[b+76663|0];g=(d+v[a+320>>2]|0)+(w[b+76656|0]^-1)|0;v[a+332>>2]=(g>>>0)/(d>>>0);e=w[b+76649|0];b=(e+v[a+324>>2]|0)+(w[b+76642|0]^-1)|0;v[a+328>>2]=(b>>>0)/(e>>>0);if(d>>>0<=g>>>0&b>>>0>=e>>>0){break c}c=f+6|0;b=c&255;if(b>>>0>6){break c}d=w[b+76663|0];g=(d+v[a+320>>2]|0)+(w[b+76656|0]^-1)|0;v[a+332>>2]=(g>>>0)/(d>>>0);e=w[b+76649|0];b=(e+v[a+324>>2]|0)+(w[b+76642|0]^-1)|0;v[a+328>>2]=(b>>>0)/(e>>>0);if(d>>>0<=g>>>0&b>>>0>=e>>>0){break c}c=f+7|0;if(f>>>0<249){break c}b=c&255;d=w[b+76663|0];g=(d+v[a+320>>2]|0)+(w[b+76656|0]^-1)|0;v[a+332>>2]=(g>>>0)/(d>>>0);e=w[b+76649|0];b=(e+v[a+324>>2]|0)+(w[b+76642|0]^-1)|0;v[a+328>>2]=(b>>>0)/(e>>>0);if(d>>>0<=g>>>0&b>>>0>=e>>>0){break c}c=f+8|0;f=c&255;if(f>>>0>6){break c}b=w[f+76663|0];v[a+332>>2]=((b+v[a+320>>2]|0)+(w[f+76656|0]^-1)>>>0)/(b>>>0);b=w[f+76649|0];v[a+328>>2]=((b+v[a+324>>2]|0)+(w[f+76642|0]^-1)>>>0)/(b>>>0);break c}c=w[a+399|0]+1|0}t[a+399|0]=c;if((c&255)>>>0>6){break a}c=v[a+352>>2];if(!c){break b}f=v[a+320>>2];a=B(w[a+403|0],w[a+406|0]);d:{if(a>>>0>=8){a=B(f,a>>>3|0);break d}a=B(a,f)+7>>>3|0}eb(c,0,a+1|0)}return}c=a+212|0;while(1){e:{f=ck(c,4);if(f){if((f|0)!=1){break e}c=v[a+272>>2];f=v[a+228>>2];if(c>>>0>f>>>0){zu(a,v[a+268>>2],c-f|0)}NQ(a);v[a+256>>2]=0;return}if(v[a+228>>2]){continue}zu(a,v[a+268>>2],v[a+272>>2]);f=v[a+272>>2];v[a+224>>2]=v[a+268>>2];v[a+228>>2]=f;continue}break}c=v[a+236>>2];if(!c){dc(a,48900);L()}dc(a,c);L()}function xIa(a,b){a=a|0;b=b|0;var 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;e=Ma-288|0;Ma=e;g=v[a+464>>2];a:{b:{if(v[g+40>>2]|!v[a+280>>2]){break b}d=v[a+460>>2];v[d+24>>2]=v[d+24>>2]+(v[g+12>>2]/8|0);v[g+12>>2]=0;if(!(Qa[v[d+8>>2]](a)|0)){break a}if(v[a+336>>2]>=1){while(1){v[((c<<2)+g|0)+20>>2]=0;c=c+1|0;if((c|0)>2]){continue}break}}v[g+16>>2]=0;v[g+40>>2]=v[a+280>>2];if(v[a+436>>2]){break b}v[g+36>>2]=0}c:{if(!v[g+36>>2]){o=v[a+428>>2];l=v[a+412>>2];d=v[a+420>>2];v[e+280>>2]=a;c=v[a+24>>2];v[e+264>>2]=v[c>>2];v[e+268>>2]=v[c+4>>2];p=-1<>2];d=v[a+408>>2];k=v[b>>2];f=v[g+8>>2];d:{e:{j=v[g+16>>2];if(j){break e}b=0;if((d|0)>(l|0)){break d}n=v[g+60>>2];while(1){f:{g:{h:{if((c|0)>7){break h}if(!Ff(e+264|0,f,c,0)){break c}f=v[e+272>>2];c=v[e+276>>2];if((c|0)>7){break h}b=Yh(e+264|0,f,c,n,1);break g}b=f>>c-8&255;j=v[((b<<2)+n|0)+144>>2];if(j){b=w[(b+n|0)+1168|0];c=c-j|0;break f}b=Yh(e+264|0,f,c,n,9)}if((b|0)<0){break c}f=v[e+272>>2];c=v[e+276>>2]}h=b>>>4|0;i:{j:{switch(b&15){default:b=v[a>>2];v[b+20>>2]=121;Qa[v[b+4>>2]](a,-1);case 1:if((c|0)<=0){if(!Ff(e+264|0,f,c,1)){break c}f=v[e+272>>2];c=v[e+276>>2]}c=c-1|0;q=f>>>c&1?m:p;break i;case 0:break j}}q=0;if((h|0)==15){break i}j=1<>>0<16){break e}if((c|0)<(h|0)){if(!Ff(e+264|0,f,c,h)){break c}f=v[e+272>>2];c=v[e+276>>2]}c=c-h|0;j=(v[(h<<2)+72672>>2]&f>>c)+j|0;if(j){break e}b=0;break d}s=(d|0)>(l|0)?d:l;j=s+1|0;k:{while(1){b=d;d=(v[(d<<2)+o>>2]<<1)+k|0;l:{if(x[d>>1]){if((c|0)<=0){if(!Ff(e+264|0,f,c,1)){break c}f=v[e+272>>2];c=v[e+276>>2]}c=c-1|0;if(!(f>>>c&1)){break l}r=u[d>>1];if(r&m){break l}u[d>>1]=((r|0)>-1?m:p)+r;break l}if((h|0)<1){break k}h=h-1|0}d=b+1|0;if((b|0)!=(s|0)){continue}break}b=j}if(q){d=v[(b<<2)+o>>2];u[(d<<1)+k>>1]=q;v[(i<<2)+e>>2]=d;i=i+1|0}d=b+1|0;if((b|0)<(l|0)){continue}break}b=0;break d}if((d|0)<=(l|0)){while(1){b=d;d=(v[(d<<2)+o>>2]<<1)+k|0;m:{if(!x[d>>1]){break m}if((c|0)<=0){if(!Ff(e+264|0,f,c,1)){break c}f=v[e+272>>2];c=v[e+276>>2]}c=c-1|0;if(!(f>>>c&1)){break m}h=u[d>>1];if(h&m){break m}u[d>>1]=h+((h|0)>-1?m:p)}d=b+1|0;if((b|0)!=(l|0)){continue}break}}b=j-1|0}a=v[a+24>>2];v[a>>2]=v[e+264>>2];v[a+4>>2]=v[e+268>>2];v[g+16>>2]=b;v[g+12>>2]=c;v[g+8>>2]=f}v[g+40>>2]=v[g+40>>2]-1;c=1;break a}c=0;if((i|0)<1){break a}a=i-1|0;d=i&3;if(d){while(1){i=i-1|0;u[(v[(i<<2)+e>>2]<<1)+k>>1]=0;d=d-1|0;if(d){continue}break}}if(a>>>0<3){break a}while(1){a=(i<<2)+e|0;u[(v[a-4>>2]<<1)+k>>1]=0;u[(v[a-8>>2]<<1)+k>>1]=0;u[(v[a-12>>2]<<1)+k>>1]=0;a=i-4|0;u[(v[(a<<2)+e>>2]<<1)+k>>1]=0;b=(i|0)>4;i=a;if(b){continue}break}}Ma=e+288|0;return c|0}function x2(a,b,c,d,e,f,g,h,i,j,k,l){var m=0,n=0,o=0,p=0;m=w[a+1592|0];a:{b:{if((e|0)<=-1){c:{if(m){break c}m=v[a+1532>>2];if(!m){break c}$a(m)}n=1;m=b;if(!m){n=0;e=c<<2;m=ab(B(e,d))}t[a+1592|0]=n;v[a+1532>>2]=m;o=a+1544|0;v[o>>2]=m;v[a+1556>>2]=e;v[a+1552>>2]=d;v[a+1548>>2]=c;n=a+1540|0;v[n>>2]=m;if((e|0)<0){break b}break a}d:{if(m){break d}m=v[a+1532>>2];if(!m){break d}$a(m)}n=1;m=b;if(!m){n=0;e=c<<2;m=ab(B(e,d))}t[a+1592|0]=n;v[a+1532>>2]=m;o=a+1544|0;v[o>>2]=m;v[a+1556>>2]=e;v[a+1552>>2]=d;v[a+1548>>2]=c;n=a+1540|0;v[n>>2]=m;if((e|0)>-1){break a}}v[o>>2]=B(1-d|0,e)+m}A[a+16>>3]=k;A[a+8>>3]=j;e=a+1564|0;v[a+1584>>2]=e;v[a+1580>>2]=d-1;v[a+1576>>2]=c-1;m=a+1568|0;v[m>>2]=0;v[m+4>>2]=0;m=e;e=a+1560|0;v[m>>2]=e;v[e>>2]=n;t[a+1536|0]=1;t[a+1724|0]=0;e=a+1700|0;v[e>>2]=0;v[e+4>>2]=0;e=a+1692|0;v[e>>2]=2147483647;v[e+4>>2]=2147483647;e=a+1684|0;v[e>>2]=0;v[e+4>>2]=0;e=a+1676|0;v[e>>2]=2147483647;v[e+4>>2]=2147483647;e=a+1636|0;v[e>>2]=0;v[e+4>>2]=0;e=a+1716|0;v[e>>2]=-2147483647;v[e+4>>2]=-2147483647;e=a+1708|0;v[e>>2]=2147483647;v[e+4>>2]=2147483647;v[a+2800>>2]=0;m=a+1732|0;k=+(g|0);j=k*256;j=j+(j<0?-.5:.5);e:{if(D(j)<2147483648){e=~~j;break e}e=-2147483648}v[m>>2]=e;n=a+1728|0;p=+(f|0);j=p*256;j=j+(j<0?-.5:.5);f:{if(D(j)<2147483648){m=~~j;break f}m=-2147483648}v[n>>2]=m;n=a+1740|0;j=+(g+i|0)*256;j=j+(j<0?-.5:.5);g:{if(D(j)<2147483648){g=~~j;break g}g=-2147483648}v[n>>2]=g;n=a+1736|0;j=+(f+h|0)*256;j=j+(j<0?-.5:.5);h:{if(D(j)<2147483648){f=~~j;break h}f=-2147483648}v[n>>2]=f;if((f|0)<(m|0)){v[a+1736>>2]=m;v[a+1728>>2]=f}if((e|0)>(g|0)){v[a+1740>>2]=e;v[a+1732>>2]=g}t[a+1756|0]=1;e=0;f=a+1760|0;while(1){m=f+(e<<2)|0;j=+(e|0)/255*255+.5;i:{if(j<4294967296&j>=0){g=~~j>>>0;break i}g=0}v[m>>2]=g;g=e|1;m=f+(g<<2)|0;j=+(g|0)/255*255+.5;j:{if(j<4294967296&j>=0){g=~~j>>>0;break j}g=0}v[m>>2]=g;e=e+2|0;if((e|0)!=256){continue}break}A[a+72>>3]=k;A[a+64>>3]=p;A[a+88>>3]=i|0;A[a+80>>3]=h|0;t[a+192|0]=0;v[a+160>>2]=2147483647;v[a+164>>2]=2147483647;v[a+144>>2]=2147483647;v[a+148>>2]=2147483647;v[a+104>>2]=0;v[a+108>>2]=0;f=a+96|0;v[f+1172>>2]=0;v[a+184>>2]=-2147483647;v[a+188>>2]=-2147483647;v[a+176>>2]=2147483647;v[a+180>>2]=2147483647;v[a+196>>2]=0;v[a+200>>2]=0;v[a+168>>2]=0;v[a+172>>2]=0;v[a+152>>2]=0;v[a+156>>2]=0;e=a;j=+(d|0)*256;j=j+(j<0?-.5:.5);k:{if(D(j)<2147483648){d=~~j;break k}d=-2147483648}v[e+208>>2]=d;e=a;j=+(c|0)*256;j=j+(j<0?-.5:.5);l:{if(D(j)<2147483648){c=~~j;break l}c=-2147483648}v[e+204>>2]=c;if((c|0)<=-1){v[a+204>>2]=0;v[a+196>>2]=c}if((d|0)<=-1){v[a+208>>2]=0;v[a+200>>2]=d}u[f+1432>>1]=0;t[a+224|0]=1;y2(a);v[a+2816>>2]=l;v[a>>2]=b}function gEa(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,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0;H=Ma-480|0;Ma=H;A=v[a+332>>2];a=v[b+84>>2];b=H;while(1){n=v[a+160>>2];q=u[c+80>>1];h=v[a+32>>2];g=u[c+16>>1];i=v[a+224>>2];p=u[c+112>>1];j=v[a+96>>2];m=u[c+48>>1];k=B(u[c>>1],v[a>>2])<<13|1024;x=B(v[a+192>>2],u[c+96>>1]);y=k+B(x,-11586)|0;o=B(v[a+64>>2],u[c+32>>1]);l=B(v[a+128>>2],u[c+64>>1]);f=o-l|0;v[b+224>>2]=y+B(f,-11584)>>11;n=B(B(n,q),10033);h=B(h,g);g=B(i,p);r=h-g|0;q=n+B(r,11522)|0;p=k+B(x,9373)|0;C=B(f,374);i=l+o|0;l=B(i,10958);s=p+(C+l|0)|0;j=B(j,m);m=B(j,-11018);z=q+(B(g,20131)-m|0)|0;v[b+448>>2]=s-z>>11;v[b>>2]=s+z>>11;x=k+B(x,-3580)|0;s=B(f,2896);z=B(i,6476);k=x+(s+z|0)|0;D=j-g|0;E=B(D+h|0,6810);F=E+B(h,4209)|0;v[b+416>>2]=k-F>>11;v[b+32>>2]=k+F>>11;k=y+B(f,5792)|0;y=B(r,10033)-n|0;v[b+384>>2]=k-y>>11;v[b+64>>2]=k+y>>11;f=B(f,-3271);k=B(i,4482);i=p+(f-k|0)|0;m=(n+m|0)+B(g,-7121)|0;g=B(h+g|0,4712);m=m+g|0;v[b+288>>2]=i-m>>11;v[b+160>>2]=i+m>>11;o=B(o,11795);i=x+(C+(o-l|0)|0)|0;j=B(j,-6810);g=g+((j+B(h,3897)|0)-n|0)|0;v[b+352>>2]=i-g>>11;v[b+96>>2]=g+i>>11;g=s+(p-z|0)|0;n=E+B(D,-17828)|0;v[b+320>>2]=g-n>>11;v[b+128>>2]=g+n>>11;f=x+(f+(k-o|0)|0)|0;h=q+(j+B(h,-9113)|0)|0;v[b+256>>2]=f-h>>11;v[b+192>>2]=h+f>>11;b=b+4|0;a=a+4|0;c=c+2|0;G=G+1|0;if((G|0)!=8){continue}break}b=A+128|0;n=0;a=H;while(1){o=B(v[a+20>>2],10033);h=v[a+4>>2];f=v[a+28>>2];l=h-f|0;x=o+B(l,11522)|0;c=v[(n<<2)+d>>2]+e|0;k=v[a+12>>2];y=B(k,-11018);m=x+(B(f,20131)-y|0)|0;j=(v[a>>2]<<13)+131072|0;p=v[a+24>>2];A=j+B(p,9373)|0;q=v[a+8>>2];i=v[a+16>>2];g=q-i|0;r=B(g,374);i=i+q|0;C=B(i,10958);s=A+(r+C|0)|0;t[c|0]=w[b+(m+s>>>18&1023)|0];t[c+14|0]=w[b+(s-m>>>18&1023)|0];s=k-f|0;z=B(s+h|0,6810);D=z+B(h,4209)|0;m=j+B(p,-3580)|0;E=B(g,2896);F=B(i,6476);G=m+(E+F|0)|0;t[c+1|0]=w[b+(D+G>>>18&1023)|0];t[c+13|0]=w[b+(G-D>>>18&1023)|0];l=B(l,10033)-o|0;p=j+B(p,-11586)|0;j=p+B(g,5792)|0;t[c+2|0]=w[b+(l+j>>>18&1023)|0];t[c+12|0]=w[b+(j-l>>>18&1023)|0];j=B(h+f|0,4712);k=B(k,-6810);l=j+((k+B(h,3897)|0)-o|0)|0;q=B(q,11795);r=m+(r+(q-C|0)|0)|0;t[c+3|0]=w[b+(l+r>>>18&1023)|0];t[c+11|0]=w[b+(r-l>>>18&1023)|0];l=z+B(s,-17828)|0;r=E+(A-F|0)|0;t[c+4|0]=w[b+(l+r>>>18&1023)|0];t[c+10|0]=w[b+(r-l>>>18&1023)|0];f=j+((o+y|0)+B(f,-7121)|0)|0;o=B(g,-3271);i=B(i,4482);j=A+(o-i|0)|0;t[c+5|0]=w[b+(f+j>>>18&1023)|0];t[c+9|0]=w[b+(j-f>>>18&1023)|0];h=x+(k+B(h,-9113)|0)|0;f=m+(o+(i-q|0)|0)|0;t[c+6|0]=w[b+(h+f>>>18&1023)|0];t[c+8|0]=w[b+(f-h>>>18&1023)|0];t[c+7|0]=w[b+(p+B(g,-11584)>>>18&1023)|0];a=a+32|0;n=n+1|0;if((n|0)!=15){continue}break}Ma=H+480|0}function kX(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=Ma+-64|0;Ma=e;h=34;a:{b:{switch(w[v[v[a+36>>2]+16>>2]]-34|0){default:if(!(!v[a+212>>2]|v[a+172>>2]!=-1)){break a}v[a+84>>2]=36;v[e>>2]=289502;nb(0,0,0,a,0,1,36,3,0,0,0,0,340716,e);v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1;break a;case 5:h=39;break;case 0:break b}}f=Qa[v[256555]](100)|0;if(!f){Yc(a,0);break a}v[a+172>>2]=11;c:{k=v[a+36>>2];if(v[a+292>>2]|(v[k+20>>2]-v[k+16>>2]|0)>249){break c}oc(a);if(v[a+172>>2]!=-1){break c}Qa[v[256556]](f);break a}Bc(a);j=100;d=Be(a,e+60|0);while(1){d:{e:{if((d|0)<=255){if((d|0)>31){break e}if(d>>>0>13){break d}if(1<>>0<1048576){break e}if(d-57344>>>0>8189){break d}}if(!((d|0)!=(h|0)|v[a+36>>2]!=(k|0))){d=h;break d}if(v[a+172>>2]==-1){break d}f:{if((i+5|0)<(j|0)){c=f;break f}j=j<<1;c=Qa[v[256557]](f,j)|0;if(c){break f}c=0;Yc(a,0);Qa[v[256556]](f);break a}f=c;g:{if(v[e+60>>2]==1){t[f+i|0]=d;c=i+1|0;break g}c=ui(f+i|0,d)+i|0}i=c;c=v[a+36>>2];g=v[c+16>>2];h:{if(w[g|0]==10){v[c+32>>2]=1;v[c+28>>2]=v[c+28>>2]+1;break h}v[c+32>>2]=v[c+32>>2]+1}d=g+v[e+60>>2]|0;v[c+16>>2]=d;g=w[d|0];if((g|0)==37){zc(a);c=v[a+36>>2];d=v[c+16>>2];g=w[d|0]}i:{if(v[a+40>>2]<=1|g){break i}while(1){xc(a);c=v[a+36>>2];d=v[c+16>>2];if(w[d|0]){break i}if(v[a+40>>2]>=2){continue}break}}if(!(v[a+292>>2]|(v[c+20>>2]-d|0)>249)){oc(a)}d=Be(a,e+60|0);if(d){continue}j:{if(v[a+292>>2]){break j}c=v[a+36>>2];if((v[c+20>>2]-v[c+16>>2]|0)>249){break j}oc(a)}d=Be(a,e+60|0);continue}break}c=0;t[f+i|0]=0;k:{if(v[a+172>>2]!=-1){c=f;break k}Qa[v[256556]](f);break a}while(1){l:{v[e+56>>2]=c;m:{n:{o:{p:{g=w[c|0];switch(g-37|0){case 0:break o;case 1:break p;default:break n}}if(w[c+1|0]==35){break m}}v[e+56>>2]=c+1;c=pH(a,e+56|0);if(!(w[v[e+56>>2]]==59?c:0)){Bk(a,87,339709,g)}q:{if((g|0)!=37|v[a+216>>2]!=1|(v[a+40>>2]!=1|(v[a+172>>2]==-1?v[a+212>>2]:0))){break q}v[a+84>>2]=88;v[e+48>>2]=233090;nb(0,0,0,a,0,1,88,3,0,0,0,0,340716,e+48|0);v[a+12>>2]=0;if(v[a+288>>2]){break q}v[a+212>>2]=1}if(c){Qa[v[256556]](c)}c=v[e+56>>2];if(!w[c|0]){break l}break m}if(!g){break l}}c=c+1|0;continue}break}if((d|0)!=(h|0)){r:{if(!a){v[e+16>>2]=289502;nb(0,0,0,0,0,1,37,3,0,0,0,0,340716,e+16|0);break r}if(v[a+172>>2]==-1?v[a+212>>2]:0){break r}v[a+84>>2]=37;v[e+32>>2]=289502;nb(0,0,0,a,0,1,37,3,0,0,0,0,340716,e+32|0);v[a+12>>2]=0;if(v[a+288>>2]){break r}v[a+212>>2]=1}c=0;Qa[v[256556]](f);break a}Bc(a);d=v[a+248>>2]+1|0;v[a+248>>2]=d;c=0;h=a;if(!(!a|!f)){c=Mz(a,f,yl(f),2);d=v[a+248>>2]}v[h+248>>2]=d-1;if(b){v[b>>2]=f;break a}Qa[v[256556]](f)}Ma=e- -64|0;return c}function rGa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=v[a+492>>2];i=v[b+16>>2];e=v[b+8>>2];Qa[v[b+28>>2]](b);c=3;a=v[b>>2];a:{b:{if(a>>>0>=e>>>0){break b}a=w[a|0];c:{if(a-48>>>0<=9){a=Qa[v[b+36>>2]](b)|0;v[b+144>>2]=a;if(v[b+12>>2]){break a}if((a|0)<0){break b}f=a;a=v[b>>2];d=e-a>>2;if((f|0)<=(d|0)){break c}v[b+144>>2]=d;break c}if((a|0)!=60){break b}Qa[v[b+32>>2]](b);if(v[b+12>>2]){break a}Qa[v[b+28>>2]](b);d=v[b>>2];if(d>>>0>=e>>>0){a=d;break c}a=d;while(1){a=w[a|0]-47|0;d:{if(a){if((a|0)!=15){break d}v[b>>2]=d;v[b+144>>2]=h;a=d;break c}h=h+1|0}Qa[v[b+32>>2]](b);if(v[b+12>>2]){break a}Qa[v[b+28>>2]](b);a=v[b>>2];if(e>>>0>a>>>0){continue}break}}if(v[b+264>>2]|a>>>0>=e>>>0){break b}k=b+200|0;c=Qa[v[v[g>>2]>>2]](k,v[b+144>>2],i)|0;if(c){break b}l=b+148|0;c=Qa[v[v[g>>2]>>2]](l,v[b+144>>2],i)|0;if(c){break b}h=b+252|0;c=Qa[v[v[g>>2]>>2]](h,4,i)|0;if(c){break b}Qa[v[b+28>>2]](b);a=v[b>>2];if(e>>>0>a>>>0){i=0;g=0;d=0;while(1){e:{f:{c=w[a|0];if((c|0)!=101){if((c|0)==62){break e}break f}if(w[a+1|0]!=110|a+3>>>0>=e>>>0|w[a+2|0]!=100){break f}switch(w[a+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:break e;default:break f}}Qa[v[b+32>>2]](b);f=v[b>>2];if(f>>>0>=e>>>0){c=3;break b}if(v[b+12>>2]){break a}g:{h:{j=w[a|0];switch(j-40|0){case 0:case 7:break h;default:break g}}c=3;m=(j|0)==40;if((m?3:2)+a>>>0>=e>>>0){break b}a=a+1|0;f=(f-a|0)-m|0;c=Qa[v[b+192>>2]](l,d,a,f+1|0)|0;if(c){break b}c=f;f=d<<2;t[c+v[f+v[b+172>>2]>>2]|0]=0;if(w[a|0]==46){a=hb(273443,v[f+v[b+172>>2]>>2]);i=a?i:1;g=a?g:d}Qa[v[b+28>>2]](b);if((j|0)==40){Qa[v[b+32>>2]](b)}a=v[b>>2];Qa[v[b+36>>2]](b)|0;c=3;j=v[b>>2];if(j>>>0>=e>>>0){break b}c=a;a=j-a|0;c=Qa[v[b+244>>2]](k,d,c,a+1|0)|0;if(c){break b}t[a+v[f+v[b+224>>2]>>2]|0]=0;d=d+1|0;if((d|0)>=v[b+144>>2]){break e}}Qa[v[b+28>>2]](b);a=v[b>>2];if(e>>>0>a>>>0){continue}}break}v[b+144>>2]=d;if(!(i&255)){c=3;break b}a=v[v[b+172>>2]>>2];if(!hb(273443,a)){break a}c=Qa[v[b+296>>2]](h,0,a,v[v[b+176>>2]>>2])|0;if(c){break b}c=Qa[v[b+296>>2]](h,1,v[v[b+224>>2]>>2],v[v[b+228>>2]>>2])|0;if(c){break b}a=g<<2;c=Qa[v[b+296>>2]](h,2,v[a+v[b+172>>2]>>2],v[a+v[b+176>>2]>>2])|0;if(c){break b}c=Qa[v[b+296>>2]](h,3,v[a+v[b+224>>2]>>2],v[a+v[b+228>>2]>>2])|0;if(c){break b}c=Qa[v[b+192>>2]](l,g,v[v[b+276>>2]>>2],v[v[b+280>>2]>>2])|0;if(c){break b}c=Qa[v[b+244>>2]](k,g,v[v[b+276>>2]+4>>2],v[v[b+280>>2]+4>>2])|0;if(c){break b}c=Qa[v[b+192>>2]](l,0,v[v[b+276>>2]+8>>2],v[v[b+280>>2]+8>>2])|0;if(c){break b}c=Qa[v[b+244>>2]](k,0,v[v[b+276>>2]+12>>2],v[v[b+280>>2]+12>>2])|0;if(!c){break a}break b}v[b+144>>2]=0;c=3}v[b+12>>2]=c}}function vba(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0,A=0,B=0;x=Ma-16|0;Ma=x;k=c;while(1){a:{if((d|0)==(k|0)){k=d;break a}if(!v[k>>2]){break a}k=k+4|0;continue}break}v[h>>2]=f;v[e>>2]=c;while(1){b:{c:{if(!((c|0)==(d|0)|(f|0)==(g|0))){i=v[b+4>>2];v[x+8>>2]=v[b>>2];v[x+12>>2]=i;A=1;y=Ma-16|0;Ma=y;v[y+12>>2]=v[a+8>>2];B=al(y+8|0,y+12|0);q=k-c>>2;r=0;l=Ma-272|0;Ma=l;j=v[e>>2];v[l+12>>2]=j;u=f?f:l+16|0;d:{e:{f:{p=f?g-f|0:256;if(!j|!p){break f}m=q>>>0>=p>>>0;if(!(m|q>>>0>32)){break e}while(1){m=m?p:q;q=q-m|0;s=0;z=Ma-16|0;Ma=z;g:{h:{i:{j:{i=u;if(i){if(m>>>0>=4){break j}j=m;break i}m=0;i=v[l+12>>2];j=v[i>>2];if(!j){break g}while(1){o=1;if(j>>>0>=128){s=-1;o=Jp(z+12|0,j);if((o|0)==-1){break g}}j=v[i+4>>2];i=i+4|0;m=m+o|0;s=m;if(j){continue}break}break g}o=v[l+12>>2];j=m;while(1){n=v[o>>2];k:{if(n-1>>>0>=127){if(!n){t[i|0]=0;v[l+12>>2]=0;break h}s=-1;n=Jp(i,n);if((n|0)==-1){break g}j=j-n|0;i=i+n|0;break k}t[i|0]=n;j=j-1|0;o=v[l+12>>2];i=i+1|0}o=o+4|0;v[l+12>>2]=o;if(j>>>0>3){continue}break}}if(j){o=v[l+12>>2];while(1){n=v[o>>2];l:{if(n-1>>>0>=127){if(!n){t[i|0]=0;v[l+12>>2]=0;break h}s=-1;n=Jp(z+12|0,n);if((n|0)==-1){break g}if(j>>>0>>0){break h}Jp(i,v[o>>2]);j=j-n|0;i=i+n|0;break l}t[i|0]=n;j=j-1|0;o=v[l+12>>2];i=i+1|0}o=o+4|0;v[l+12>>2]=o;if(j){continue}break}}s=m;break g}s=m-j|0}Ma=z+16|0;if((s|0)==-1){p=0;j=v[l+12>>2];r=-1;break f}i=(l+16|0)==(u|0)?0:s;u=i+u|0;r=r+s|0;j=v[l+12>>2];p=p-i|0;if(!j|!p){break f}m=q>>>0>=p>>>0;if(m|q>>>0>=33){continue}break}break e}if(!j){break d}}if(!p|!q){break d}m=r;while(1){m:{i=Jp(u,v[j>>2]);n:{if(i+1>>>0<=1){r=-1;if(i){break d}v[l+12>>2]=0;break n}j=v[l+12>>2]+4|0;v[l+12>>2]=j;m=i+m|0;p=p-i|0;if(p){break m}}r=m;break d}u=i+u|0;r=m;q=q-1|0;if(q){continue}break}}if(f){v[e>>2]=v[l+12>>2]}Ma=l+272|0;i=v[B>>2];if(i?i:0){v[279293]=(i|0)==-1?1184868:i}Ma=y+16|0;o:{p:{q:{r:{switch(r+1|0){case 0:v[h>>2]=f;while(1){s:{if(v[e>>2]==(c|0)){break s}b=lD(f,v[c>>2],v[a+8>>2]);if((b|0)==-1){break s}f=b+v[h>>2]|0;v[h>>2]=f;c=c+4|0;continue}break};v[e>>2]=c;break q;case 1:break c;default:break r}}f=v[h>>2]+r|0;v[h>>2]=f;if((f|0)==(g|0)){break o}if((d|0)==(k|0)){c=v[e>>2];k=d;continue}k=lD(x+4|0,0,v[a+8>>2]);if((k|0)!=-1){break p}}A=2;break c}c=x+4|0;if(g-v[h>>2]>>>0>>0){break c}while(1){if(k){f=w[c|0];i=v[h>>2];v[h>>2]=i+1;t[i|0]=f;k=k-1|0;c=c+1|0;continue}break}c=v[e>>2]+4|0;v[e>>2]=c;k=c;while(1){if((d|0)==(k|0)){k=d;break b}if(!v[k>>2]){break b}k=k+4|0;continue}}c=v[e>>2]}A=(c|0)!=(d|0)}Ma=x+16|0;return A|0}f=v[h>>2];continue}}function MB(a){var 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;a:{b:{if(!a){break b}c:{switch((a?v[a+8>>2]:-1)-1|0){case 0:g=Ma-16|0;Ma=g;d:{if(!(!a|((a?v[a+8>>2]:-1)|0)!=1)){b=g+12|0;d=g+8|0;if(a){if(b){v[b>>2]=v[a>>2]}if(d){v[d>>2]=v[a+4>>2]}}d=Mg(v[g+12>>2],v[g+8>>2],8);if(!d){break d}if(!(!a|!d|(a|0)==(d|0))){v[d+20>>2]=v[a+20>>2];v[d+24>>2]=v[a+24>>2]}k=Yb(16,4);if(!k){break d}t[g+7|0]=0;t[g+6|0]=255;while(1){b=g+6|0;v[k+(c<<2)>>2]=w[b+(c&1)|0]|(w[b+(c>>>2&1)|0]<<16|w[b+(c>>>3|0)|0]<<24|w[b+(c>>>1&1)|0]<<8);c=c+1|0;if((c|0)!=16){continue}break}l=a?v[a+40>>2]:0;h=a?v[a+12>>2]:-1;f=d?v[d+40>>2]:0;i=d?v[d+12>>2]:-1;e:{if(v[g+8>>2]<1){break e}c=v[g+12>>2];if((c|0)<1){break e}a=(c+3|0)/4|0;a=(a|0)>1?a:1;b=a&2147483646;r=a&1;s=(c|0)<5;while(1){m=(B(i,j)<<2)+f|0;o=(B(h,j)<<2)+l|0;c=0;a=b;if(!s){while(1){n=c<<2;p=n&24;e=o+(c>>>1&2147483644)|0;v[m+n>>2]=v[k+((v[e>>2]>>>(p^28)&15)<<2)>>2];v[m+(n|4)>>2]=v[k+((v[e>>2]>>>(p^24)&15)<<2)>>2];c=c+2|0;a=a-2|0;if(a){continue}break}}if(r){a=c<<2;v[a+m>>2]=v[k+((v[o+(c>>>1&2147483644)>>2]>>>((a^-1)&28)&15)<<2)>>2]}j=j+1|0;if((j|0)>2]){continue}break}}$a(k)}c=d}Ma=g+16|0;return c;case 1:return l3(a,0);case 3:return k3(a,0);case 7:b=a?v[a+36>>2]:0;if(!b){return se(0,a)}if(b){return kk(a,1)}a=se(0,a);f:{if(!a){break f}b=a;if(a){c=v[b+8>>2]}else{c=-1}if((c|0)!=8|(b?v[b+36>>2]:0)){break f}i=b;b=Yb(1,16);g:{if(!b){break g}v[b+8>>2]=256;v[b+4>>2]=8;f=Yb(256,4);if(!f){break g}v[b>>2]=f;d=b;e=v[b+12>>2];l=v[b+8>>2];if((e|0)>=(l|0)){break g}f=v[b+12>>2];h=v[b>>2];d=0;while(1){if((e|0)<(l|0)){c=h+(e<<2)|0;f=(B(d,255)|0)/255|0;t[c+1|0]=f;t[c+2|0]=f;t[c|0]=f;f=e+1|0;e=f}d=d+1|0;if((d|0)!=256){continue}break}v[b+12>>2]=f;d=b}AK(i,d)}break a;case 15:a=m3(a);break a;case 31:break c;default:break b}}e=Ma-16|0;Ma=e;h:{if(!a|((a?v[a+8>>2]:-1)|0)!=32){break h}i=e+12|0;b=e+8|0;if(a){if(i){v[i>>2]=v[a>>2]}if(b){v[b>>2]=v[a+4>>2]}}f=a?v[a+40>>2]:0;b=a?v[a+12>>2]:-1;h=Mg(v[e+12>>2],v[e+8>>2],8);if(!h){break h}if(!(!a|!h|(a|0)==(h|0))){v[h+20>>2]=v[a+20>>2];v[h+24>>2]=v[a+24>>2]}i=h?v[h+40>>2]:0;a=h?v[h+12>>2]:-1;c=v[e+8>>2];i:{if((c|0)<1){break i}d=v[e+12>>2];if((d|0)<1){break i}l=a<<2;b=b<<2;while(1){a=0;if((d|0)>=1){while(1){g=a+i^3;c=v[(a<<2)+f>>2];q=+C(C(C((c>>>8&255)>>>0)*C(.20000000298023224))+C(C(C(c>>>24>>>0)*C(.30000001192092896))+C(C((c>>>16&255)>>>0)*C(.5))))+.5;j:{if(D(q)<2147483648){d=~~q;break j}d=-2147483648}t[g|0]=d;a=a+1|0;d=v[e+12>>2];if((a|0)<(d|0)){continue}break}c=v[e+8>>2]}i=i+l|0;f=b+f|0;j=j+1|0;if((c|0)>(j|0)){continue}break}}d=h}Ma=e+16|0}return d}return a}function DHa(a){a=a|0;var 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;e=Ma+-64|0;Ma=e;g=v[a+16>>2];b=161;a:{if(y[a+20>>2]>>0){break a}f=v[a+32>>2];n=f+48|0;t[f+64|0]=1;j=-2147483648;i=2147483647;while(1){b=l<<2;k=b+e|0;o=b+(e+32|0)|0;c=v[g>>2];d=w[c|0];b:{if((d|0)==30){b=Qo(a,c,0,k);break b}h=c+1|0;c:{d:{e:{switch(d-28|0){case 0:b=0;if(y[a+8>>2]<=c+2>>>0){break c}b=w[c+2|0]|w[h|0]<<8;break c;case 1:b=0;if(y[a+8>>2]<=c+4>>>0){break c}b=w[c+1|0]|w[c+2|0]<<8|(w[c+3|0]<<16|w[c+4|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break d;default:break e}}if(d>>>0<=246){b=d-139|0;break c}c=v[a+8>>2];if(d>>>0<=250){b=0;if(c>>>0<=h>>>0){break c}b=(w[h|0]|d<<8)-63124|0;break c}b=0;if(c>>>0<=h>>>0){break c}b=64148-(w[h|0]|d<<8)|0}if((b|0)<32768){break c}m=b;c=5;f:{if((b|0)<1e5){break f}c=6;if((b|0)<=999999){break f}c=7;if((b|0)<1e7){break f}c=8;if((b|0)<1e8){break f}c=(b|0)<1e9?9:10}d=c-5|0;h=v[(d<<2)+450528>>2];if(((m|0)/(h|0)|0)>=32768){c=c-4|0;v[k>>2]=c;b=Ub(b,v[(c<<2)+450528>>2]);break b}v[k>>2]=d;b=Ub(b,h);break b}v[k>>2]=0;b=b<<16}v[o>>2]=b;if(b){b=v[k>>2];i=(b|0)<(i|0)?b:i;j=(b|0)>(j|0)?b:j}g=g+4|0;l=l+1|0;if((l|0)!=6){continue}break}if(!(j+9>>>0>9|j-i>>>0>9)){k=0;g=0;b=v[e+32>>2];if(b){g=v[(j-v[e>>2]<<2)+450528>>2];c=g>>1;m=e;g:{if((b|0)<=-1){a=(b-c|0)/(g|0)|0;if((b|0)>(c|-2147483648)){break g}a=-2147483648/(g|0)|0;break g}a=(b+c|0)/(g|0)|0;if((b|0)<(2147483647-c|0)){break g}a=2147483647/(g|0)|0}g=a;v[m+32>>2]=g}b=v[e+36>>2];if(b){d=v[(j-v[e+4>>2]<<2)+450528>>2];c=d>>1;k=(((b|0)>=0?(b|0)<(2147483647-c|0)?b+c|0:2147483647:(b|0)>(c|-2147483648)?b-c|0:-2147483648)|0)/(d|0)|0;v[e+36>>2]=k}b=0;d=0;c=v[e+40>>2];if(c){i=v[(j-v[e+8>>2]<<2)+450528>>2];d=i>>1;d=(((c|0)>=0?(c|0)<(2147483647-d|0)?c+d|0:2147483647:(c|0)>(d|-2147483648)?c-d|0:-2147483648)|0)/(i|0)|0;v[e+40>>2]=d}a=v[e+44>>2];if(a){c=v[(j-v[e+12>>2]<<2)+450528>>2];b=c>>1;b=(((a|0)>=0?(a|0)<(2147483647-b|0)?a+b|0:2147483647:(a|0)>(b|-2147483648)?a-b|0:-2147483648)|0)/(c|0)|0}i=0;h=0;a=v[e+48>>2];if(a){h=v[(j-v[e+16>>2]<<2)+450528>>2];c=h>>1;h=(((a|0)>=0?(a|0)<(2147483647-c|0)?a+c|0:2147483647:(a|0)>(c|-2147483648)?a-c|0:-2147483648)|0)/(h|0)|0}a=v[e+52>>2];if(a){i=v[(j-v[e+20>>2]<<2)+450528>>2];c=i>>1;i=(((a|0)>=0?(a|0)<(2147483647-c|0)?a+c|0:2147483647:(a|0)>(c|-2147483648)?a-c|0:-2147483648)|0)/(i|0)|0}v[f+48>>2]=g;v[f+72>>2]=h;v[f+56>>2]=k;v[f+76>>2]=i;v[f+60>>2]=b;v[f+52>>2]=d;v[f+68>>2]=v[450528-(j<<2)>>2];b=0;if(gB(n)){break a}}v[f+48>>2]=65536;v[f+52>>2]=0;v[f+68>>2]=1;v[f+72>>2]=0;v[f+76>>2]=0;v[f+56>>2]=0;v[f+60>>2]=65536;b=0}Ma=e- -64|0;return b|0}function F_(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;b=eb(b,0,196);d=w[a+188|0];t[b+8|0]=d;a:{if(!d){break a}f=d&3;if(d-1>>>0>=3){d=d&252;g=b+12|0;h=a+192|0;while(1){u[g+(c<<1)>>1]=v[h+(c<<2)>>2];e=c|1;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];e=c|2;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];e=c|3;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];c=c+4|0;d=d-4|0;if(d){continue}break}}if(!f){break a}while(1){u[(b+(c<<1)|0)+12>>1]=v[((c<<2)+a|0)+192>>2];c=c+1|0;f=f-1|0;if(f){continue}break}}d=w[a+189|0];t[b+9|0]=d;b:{if(!d){break b}f=d&3;c=0;if(d-1>>>0>=3){d=d&252;g=b+40|0;h=a+248|0;while(1){u[g+(c<<1)>>1]=v[h+(c<<2)>>2];e=c|1;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];e=c|2;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];e=c|3;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];c=c+4|0;d=d-4|0;if(d){continue}break}}if(!f){break b}while(1){u[(b+(c<<1)|0)+40>>1]=v[((c<<2)+a|0)+248>>2];c=c+1|0;f=f-1|0;if(f){continue}break}}d=w[a+190|0];t[b+10|0]=d;c:{if(!d){break c}f=d&3;c=0;if(d-1>>>0>=3){d=d&252;g=b+60|0;h=a+288|0;while(1){u[g+(c<<1)>>1]=v[h+(c<<2)>>2];e=c|1;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];e=c|2;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];e=c|3;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];c=c+4|0;d=d-4|0;if(d){continue}break}}if(!f){break c}while(1){u[(b+(c<<1)|0)+60>>1]=v[((c<<2)+a|0)+288>>2];c=c+1|0;f=f-1|0;if(f){continue}break}}d=w[a+191|0];t[b+11|0]=d;d:{if(!d){break d}f=d&3;c=0;if(d-1>>>0>=3){d=d&252;g=b+88|0;h=a+344|0;while(1){u[g+(c<<1)>>1]=v[h+(c<<2)>>2];e=c|1;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];e=c|2;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];e=c|3;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];c=c+4|0;d=d-4|0;if(d){continue}break}}if(!f){break d}while(1){u[(b+(c<<1)|0)+88>>1]=v[((c<<2)+a|0)+344>>2];c=c+1|0;f=f-1|0;if(f){continue}break}}v[b+108>>2]=v[a+384>>2];v[b+112>>2]=v[a+388>>2];v[b+116>>2]=v[a+392>>2];u[b+120>>1]=v[a+396>>2];u[b+122>>1]=v[a+400>>2];d=w[a+404|0];t[b+124|0]=d;e:{if(!d){break e}f=d&3;c=0;if(d-1>>>0>=3){d=d&252;g=b+128|0;h=a+408|0;while(1){u[g+(c<<1)>>1]=v[h+(c<<2)>>2];e=c|1;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];e=c|2;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];e=c|3;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];c=c+4|0;d=d-4|0;if(d){continue}break}}if(!f){break e}while(1){u[(b+(c<<1)|0)+128>>1]=v[((c<<2)+a|0)+408>>2];c=c+1|0;f=f-1|0;if(f){continue}break}}d=w[a+405|0];t[b+125|0]=d;f:{if(!d){break f}f=d&3;c=0;if(d-1>>>0>=3){d=d&252;g=b+154|0;h=a+460|0;while(1){u[g+(c<<1)>>1]=v[h+(c<<2)>>2];e=c|1;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];e=c|2;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];e=c|3;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];c=c+4|0;d=d-4|0;if(d){continue}break}}if(!f){break f}while(1){u[(b+(c<<1)|0)+154>>1]=v[((c<<2)+a|0)+460>>2];c=c+1|0;f=f-1|0;if(f){continue}break}}t[b+126|0]=w[a+512|0];v[b+184>>2]=v[a+524>>2];v[b+4>>2]=v[a+520>>2]}function T7(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0;f=v[a+584>>2];d=x[f+834>>1];e=x[f+836>>1];d=B(B(e,d)+2|0,B(v[f+72>>2],((d+v[f+28>>2]|0)-1>>>0)/(d>>>0)|0))+7>>>3|0;i=(c|0)/(d|0)|0;q=B(e,i);p=v[f+888>>2];if((B(d,i)|0)!=(c|0)){Nc(v[a+628>>2],v[a>>2],53367,0)}g=1;a:{if((q|0)<1){break a}A=f+844|0;o=v[f+84>>2];i=v[o+132>>2];C=i&3;D=i-1>>>0<3;while(1){r=0;j=0;if(v[f+76>>2]>=1){while(1){k=v[o+12>>2];b:{if((k|0)<1){break b}d=v[o+28>>2]<<3;l=v[o+8>>2];c=B(i,l);m=d-c|0;u=(r<<2)+f|0;if((l|0)==1){y=m&-8;h=m&7;z=d+(c^-1)|0;n=0;while(1){c=v[v[u+844>>2]+(B(v[f+884>>2],k)+n<<2)>>2];c:{if(!i){break c}g=b+j|0;d=i;e=C;if(e){while(1){t[c|0]=w[g|0];g=g+p|0;c=c+1|0;d=d-1|0;e=e-1|0;if(e){continue}break}}if(D){break c}while(1){t[c|0]=w[g|0];e=g+p|0;t[c+1|0]=w[e|0];e=e+p|0;t[c+2|0]=w[e|0];e=e+p|0;t[c+3|0]=w[e|0];c=c+4|0;g=e+p|0;d=d-4|0;if(d){continue}break}}d:{if((m|0)<1){break d}e=w[c-1|0];d=y;if(z>>>0>=7){while(1){t[c+7|0]=e;t[c+6|0]=e;t[c+5|0]=e;t[c+4|0]=e;t[c+3|0]=e;t[c+2|0]=e;t[c+1|0]=e;t[c|0]=e;c=c+8|0;d=d-8|0;if(d){continue}break}}d=h;if(!d){break d}while(1){t[c|0]=e;c=c+1|0;d=d-1|0;if(d){continue}break}}j=j+1|0;n=n+1|0;if((k|0)!=(n|0)){continue}break}break b}if(i){E=m&-8;z=m&7;y=l&-4;h=l&3;F=l-1|0;G=d+(c^-1)|0;s=0;while(1){c=v[v[u+844>>2]+(B(v[f+884>>2],k)+s<<2)>>2];if((l|0)>=1){d=b+j|0;n=i;while(1){g=0;e=y;if(F>>>0>=3){while(1){t[c|0]=w[d+g|0];t[c+1|0]=w[(g|1)+d|0];t[c+2|0]=w[(g|2)+d|0];t[c+3|0]=w[(g|3)+d|0];g=g+4|0;c=c+4|0;e=e-4|0;if(e){continue}break}}n=n-1|0;e=h;if(e){while(1){t[c|0]=w[d+g|0];g=g+1|0;c=c+1|0;e=e-1|0;if(e){continue}break}}d=d+p|0;if(n){continue}break}}e:{if((m|0)<1){break e}e=w[c-1|0];d=E;if(G>>>0>=7){while(1){t[c+7|0]=e;t[c+6|0]=e;t[c+5|0]=e;t[c+4|0]=e;t[c+3|0]=e;t[c+2|0]=e;t[c+1|0]=e;t[c|0]=e;c=c+8|0;d=d-8|0;if(d){continue}break}}d=z;if(!d){break e}while(1){t[c|0]=e;c=c+1|0;d=d-1|0;if(d){continue}break}}j=j+l|0;s=s+1|0;if((s|0)!=(k|0)){continue}break}break b}e=0;if((m|0)>0){while(1){c=v[v[u+844>>2]+(B(v[f+884>>2],k)+e<<2)>>2];h=w[c-1|0];d=0;while(1){t[c+7|0]=h;t[c+6|0]=h;t[c+5|0]=h;t[c+4|0]=h;t[c+3|0]=h;t[c+2|0]=h;t[c+1|0]=h;t[c|0]=h;c=c+8|0;d=d+8|0;if((m|0)!=(d|0)){continue}break}e=e+1|0;if((k|0)!=(e|0)){continue}break}}j=B(k,l)+j|0}o=o+88|0;r=r+1|0;if((r|0)>2]){continue}break}}c=v[f+884>>2];v[f+884>>2]=c+1;if((c|0)>=7){c=v[f+272>>2]<<3;if((FM(f,A,c)|0)!=(c|0)){g=0;break a}v[f+884>>2]=0}c=x[f+836>>1];v[a+472>>2]=c+v[a+472>>2];g=1;q=q-c|0;if((q|0)<1){break a}b=v[f+840>>2]+b|0;o=v[f+84>>2];continue}}return g|0}function R2(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0,y=0;m=Ma-16|0;Ma=m;a:{if(!a|(!b|((a?v[a+8>>2]:-1)|0)!=1)){break a}h=m+12|0;i=m+8|0;if(a){if(h){v[h>>2]=v[a>>2]}if(i){v[i>>2]=v[a+4>>2]}}t=a?v[a+40>>2]:0;u=a?v[a+12>>2]:-1;if((c|0)<0){break a}n=v[m+12>>2];if((d|0)<0|(n|0)<=(c|0)){break a}o=v[m+8>>2];if(!(v[((B(d,u)<<2)+t|0)+(c>>>3&536870908)>>2]>>>(c^-1)&1)|(o|0)<=(d|0)){break a}b:{if((d|0)<-1|(o-1|0)<=(d|0)){break b}e=v[b+12>>2];if(!e){break b}c:{if(((e?v[e+4>>2]:1)|0)>=1){a=Pk(e);break c}a=Yb(1,16);if(!a){break b}}v[a+12>>2]=1;v[a+8>>2]=d;v[a+4>>2]=c;v[a>>2]=c;Ok(b,a)}d:{if((d|0)<0){break d}e=v[b+12>>2];if(!e){break d}e:{if(((e?v[e+4>>2]:1)|0)>=1){a=Pk(e);break e}a=Yb(1,16);if(!a){break d}}v[a+12>>2]=-1;v[a+8>>2]=d+1;v[a+4>>2]=c;v[a>>2]=c;Ok(b,a)}f:{if(((b?v[b+4>>2]:1)|0)<1){h=c;i=d;break f}x=n-1|0;h=c;i=d;g=d;g:while(1){e=v[b+12>>2];h:{if(!e){break h}f=Pk(b);if(!f){break h}w=v[f+4>>2];p=v[f>>2];l=v[f+12>>2];a=v[f+8>>2];Ok(e,f);g=a+l|0}r=(B(g,u)<<2)+t|0;i:{j:{e=p;if((e|0)<0){a=p;break j}while(1){k:{q=(e>>>3&536870908)+r|0;j=v[q>>2];f=e&31;if(!(j>>>(f^31)&1)){a=e;break k}a=-1;v[q>>2]=j&(-2147483648>>>f^-1);f=(e|0)>0;e=e-1|0;if(f){continue}}break}if((a|0)>=(p|0)){break j}k=a+1|0;f=p-1|0;l:{if((k|0)>=(f|0)){break l}d=(d|0)>(g|0)?d:g;i=(g|0)>(i|0)?i:g;c=(c|0)>(f|0)?c:f;h=(h|0)<(k|0)?h:k;a=g-l|0;if((a|0)<0|(a|0)>=(o|0)){break l}e=v[b+12>>2];if(!e){break l}m:{if(((e?v[e+4>>2]:1)|0)>=1){e=Pk(e);break m}e=Yb(1,16);if(!e){break l}}v[e+12>>2]=0-l;v[e+8>>2]=g;v[e+4>>2]=f;v[e>>2]=k;Ok(b,e)}a=p+1|0;e=0;break i}e=1}while(1){n:{o:{p:{q:{if(!e){r:{if((a|0)>=(n|0)){break r}while(1){j=(a>>5<<2)+r|0;f=v[j>>2];e=a&31;if(!(f>>>(e^31)&1)){break r}v[j>>2]=f&(-2147483648>>>e^-1);a=a+1|0;if((n|0)!=(a|0)){continue}break}a=n}y=(a|0)>(c|0);s=a-1|0;q=(d|0)>(g|0);j=(g|0)>(i|0);f=(h|0)<(k|0);e=g+l|0;s:{if((e|0)<0|(e|0)>=(o|0)){break s}e=v[b+12>>2];if(!e){break s}t:{if(((e?v[e+4>>2]:1)|0)>=1){e=Pk(e);break t}e=Yb(1,16);if(!e){break s}}v[e+12>>2]=l;v[e+8>>2]=g;v[e+4>>2]=s;v[e>>2]=k;Ok(b,e)}c=y?s:c;d=q?d:g;i=j?i:g;h=f?h:k;j=w+1|0;if((j|0)>=(a|0)){break q}h=(h|0)<(j|0)?h:j;e=g-l|0;if((e|0)<0|(e|0)>=(o|0)){break q}f=v[b+12>>2];if(!f){break q}u:{if(((f?v[f+4>>2]:1)|0)>=1){e=Pk(f);break u}e=Yb(1,16);if(!e){break q}}v[e+12>>2]=0-l;v[e+8>>2]=g;v[e+4>>2]=s;v[e>>2]=j;Ok(b,e);break q}if((a|0)>=(w|0)|(a|0)>=(x|0)){break o}a=a+1|0;if(v[(a>>5<<2)+r>>2]>>>(a^-1)&1){break p}}e=1;continue}k=a;break n}if(((b?v[b+4>>2]:1)|0)>0){continue g}break f}e=0;continue}}}e=qK(h,i,(c-h|0)+1|0,(d-i|0)+1|0)}Ma=m+16|0;return e}function Sta(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;c=Ma-16|0;Ma=c;d=Ma-48|0;Ma=d;v[d+32>>2]=13;v[d+16>>2]=13;v[d>>2]=13;hf(d+32|0,v[a+4>>2]);Bg(v[a+108>>2],d+16|0,0,0,0,0,0,0,0);b=v[d+16>>2];if((b|0)==9){b=-1;e=v[a+108>>2];a:{if(!e){break a}e=v[e+4>>2];if(v[e+8>>2]==13){break a}b=v[e+16>>2];b=Qa[v[v[b>>2]+52>>2]](b)|0}fb(1,b,256387,0);bb(d+16|0);v[d+16>>2]=11;b=11}b:{c:{d:{while(1){e:{f:{g:{switch(b-4|0){case 6:if(!hb(v[d+24>>2],312300)){break c}default:b=-1;e=v[a+108>>2];h:{if(!e){break h}e=v[e+4>>2];if(v[e+8>>2]==13){break h}b=v[e+16>>2];b=Qa[v[v[b>>2]+52>>2]](b)|0}fb(1,b,233771,0);bb(d+16|0);break f;case 8:break d;case 0:break g}}e=qc(v[d+24>>2]);b=d+16|0;bb(b);Bg(v[a+108>>2],b,0,0,0,0,0,0,0);i:{switch(v[d+16>>2]-9|0){case 0:b=-1;f=v[a+108>>2];j:{if(!f){break j}f=v[f+4>>2];if(v[f+8>>2]==13){break j}b=v[f+16>>2];b=Qa[v[v[b>>2]+52>>2]](b)|0}fb(1,b,256387,0);bb(d+16|0);v[d+16>>2]=11;case 2:tb(e);bb(d+16|0);break f;case 3:break e;default:break i}}rd(v[d+40>>2],e,d+16|0)}Bg(v[a+108>>2],d+16|0,0,0,0,0,0,0,0);b=v[d+16>>2];if((b|0)!=9){continue}b=-1;e=v[a+108>>2];k:{if(!e){break k}e=v[e+4>>2];if(v[e+8>>2]==13){break k}b=v[e+16>>2];b=Qa[v[v[b>>2]+52>>2]](b)|0}fb(1,b,256387,0);bb(d+16|0);b=11;v[d+16>>2]=11;continue}break}tb(e);if(v[d+16>>2]!=12){break c}}b=-1;e=v[a+108>>2];l:{if(!e){break l}e=v[e+4>>2];if(v[e+8>>2]==13){break l}b=v[e+16>>2];b=Qa[v[v[b>>2]+52>>2]](b)|0}fb(1,b,283121,0);bb(d+16|0);bb(d+32|0);b=0;break b}bb(d+16|0);b=0;v[c+12>>2]=0;if(v[ib(v[d+40>>2],268228,d,0)>>2]!=1){bb(d);ib(v[d+40>>2],311186,d,0)}if(v[d>>2]==1){b=v[d+8>>2];v[c+12>>2]=1}bb(d);f=v[v[a+108>>2]+4>>2];e=v[f+16>>2];f=v[f+8>>2]==13;if(e?f:1){if(f){b=-1}else{b=Qa[v[v[e>>2]+52>>2]](e)|0}fb(1,b,303653,0);bb(d+32|0);b=0;break b}f=e;e=d+32|0;b=yU(dz(ab(40),f,e,v[c+12>>2],b),e,0)}Ma=d+48|0;m:{if(!b){break m}n:{if(!JV(a,0,b,1)){break n}if(v[c+12>>2]){while(1){if((Qa[v[v[b>>2]+28>>2]](b)|0)!=-1){continue}break}Qa[v[v[b>>2]+4>>2]](b);a=v[v[a+108>>2]+4>>2];b=v[a+8>>2]==13?0:v[a+16>>2];a=Qa[v[v[b>>2]+28>>2]](b)|0;while(1){e=(a|0)!=69;a=Qa[v[v[b>>2]+28>>2]](b)|0;d=Qa[v[v[b>>2]+32>>2]](b)|0;if(!((a|0)!=73|e)){if(w[d+928528|0]==1&d>>>0<=255){break m}if((d|0)!=-1){continue}break m}if((d|0)!=-1){continue}break}break m}a=Qa[v[v[b>>2]+72>>2]](b)|0;a=Qa[v[v[a>>2]+28>>2]](a)|0;while(1){e=(a|0)!=69;a=Qa[v[v[b>>2]+72>>2]](b)|0;a=Qa[v[v[a>>2]+28>>2]](a)|0;d=Qa[v[v[b>>2]+72>>2]](b)|0;d=Qa[v[v[d>>2]+32>>2]](d)|0;if(!((a|0)!=73|e)){if(w[d+928528|0]==1&d>>>0<=255){break n}if((d|0)!=-1){continue}break n}if((d|0)!=-1){continue}break}}Qa[v[v[b>>2]+4>>2]](b)}Ma=c+16|0}function sz(a,b){var 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,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;q=Ma-640|0;Ma=q;while(1){d=o<<3;g=d+q|0;e=a+d|0;d=w[e+4|0]|w[e+5|0]<<8|(w[e+6|0]<<16|w[e+7|0]<<24);e=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24);c=e<<24;l=e<<8&16711680|c;f=d<<24|e>>>8;l=f&65280|(d<<8|e>>>24)&255|l;v[g>>2]=((d&255)<<24|e>>>8)&-16777216|((d&16777215)<<8|e>>>24)&16711680|(d>>>8&65280|d>>>24)|i;v[g+4>>2]=l;o=o+1|0;if((o|0)!=16){continue}break}a=16;x=v[q>>2];h=x;z=v[q+4>>2];d=z;while(1){m=(a<<3)+q|0;e=m;g=d;d=e-56|0;i=v[d>>2];l=v[d+4>>2];c=e-16|0;d=v[c+4>>2];c=v[c>>2];n=D3a(c,d,45);s=Pa;f=d>>>6|0;c=((d&63)<<26|c>>>6)^(D3a(c,d,3)^n);d=c+i|0;f=(f^(Pa^s))+l|0;f=c>>>0>d>>>0?f+1|0:f;i=d;d=d+h|0;c=f+g|0;c=d>>>0>>0?c+1|0:c;i=d;g=e-120|0;d=v[g+4>>2];h=v[g>>2];g=D3a(h,d,63);m=Pa;l=D3a(h,d,56)^g;g=e;e=i;f=d>>>7|0;i=((d&127)<<25|h>>>7)^l;e=e+i|0;c=(f^(Pa^m))+c|0;v[g>>2]=e;v[g+4>>2]=e>>>0>>0?c+1|0:c;a=a+1|0;if((a|0)!=80){continue}break}o=0;e=b;a=v[e+4>>2];A=v[e>>2];p=A;I=a;k=a;d=v[e+12>>2];J=d;B=v[e+8>>2];h=B;j=v[e+60>>2];K=j;C=v[e+56>>2];c=C;g=v[e+52>>2];L=g;D=v[e+48>>2];n=D;m=v[e+44>>2];M=m;E=v[e+40>>2];s=E;a=v[e+36>>2];N=a;F=v[e+32>>2];i=F;t=v[e+28>>2];O=t;G=v[e+24>>2];u=G;r=v[e+20>>2];P=r;H=v[e+16>>2];l=H;e=r;while(1){r=h;y=d;d=(o<<3)+886032|0;h=v[d>>2];Q=v[d+4>>2];d=D3a(i,a,50);f=Pa;d=D3a(i,a,46)^d;f=Pa^f;R=h;h=D3a(i,a,23)^d;d=h+(i&s)|0;f=(a&m)+(Pa^f)|0;f=d>>>0>>0?f+1|0:f;h=d;d=c;h=h+c|0;c=f+j|0;c=d>>>0>h>>>0?c+1|0:c;j=(i^-1)&n;d=j+h|0;c=((a^-1)&g)+c|0;c=d>>>0>>0?c+1|0:c;j=d;d=R+d|0;c=c+Q|0;c=d>>>0>>0?c+1|0:c;d=d+x|0;c=c+z|0;j=d;c=d>>>0>>0?c+1|0:c;h=p;d=k;k=D3a(h,d,36);f=Pa;k=D3a(h,d,30)^k;f=Pa^f;p=h&(l^r)^l&r;k=p+(D3a(h,d,25)^k)|0;f=(Pa^f)+(d&(e^y)^e&y)|0;f=k>>>0

>>0?f+1|0:f;p=k;k=k+j|0;f=c+f|0;f=k>>>0

>>0?f+1|0:f;p=k;k=f;c=c+t|0;u=j+u|0;c=u>>>0>>0?c+1|0:c;t=c;o=o+1|0;if((o|0)!=80){c=(o<<3)+q|0;x=v[c>>2];z=v[c+4>>2];c=n;j=g;n=s;g=m;s=i;m=a;i=u;a=t;u=l;t=e;l=r;e=y;continue}break}c=g+K|0;n=n+C|0;c=n>>>0>>0?c+1|0:c;j=b;v[b+56>>2]=n;v[b+60>>2]=c;c=m+L|0;n=s+D|0;c=n>>>0>>0?c+1|0:c;g=b;v[g+48>>2]=n;v[g+52>>2]=c;c=a+M|0;m=i+E|0;c=m>>>0>>0?c+1|0:c;v[g+40>>2]=m;v[g+44>>2]=c;f=t+N|0;g=u+F|0;f=g>>>0>>0?f+1|0:f;a=b;v[a+32>>2]=g;v[a+36>>2]=f;f=e+O|0;g=l+G|0;f=g>>>0>>0?f+1|0:f;v[a+24>>2]=g;v[a+28>>2]=f;c=y+P|0;e=r+H|0;c=e>>>0>>0?c+1|0:c;v[a+16>>2]=e;v[a+20>>2]=c;c=d+J|0;e=h+B|0;c=e>>>0>>0?c+1|0:c;v[a+8>>2]=e;v[a+12>>2]=c;c=k+I|0;a=p+A|0;c=a>>>0>>0?c+1|0:c;v[j>>2]=a;v[j+4>>2]=c;Ma=q+640|0}function t_(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,n=0,o=0,p=0,q=0,r=0,s=0;g=Ma-48|0;Ma=g;Po(a,g+32|0);f=3;j=v[g+40>>2];a:{if(!j){break a}i=v[g+32>>2];v[g+28>>2]=i;k=v[g+36>>2];b:{c:{d:{e:{e=v[b+8>>2];f:{if((e|0)==7){l=v[a+8>>2];v[a+8>>2]=k-1;m=1;n=v[a>>2];v[a>>2]=i+1;Po(a,g);v[a+8>>2]=l;v[a>>2]=n;h=8;if(v[g+8>>2]==3){break f}break e}if((j|0)!=3){break e}m=d;h=e}e=h;if(!d){break a}l=1;v[g+28>>2]=v[g+28>>2]+1;if(!m){break c}k=k-1|0;break d}q=!d;l=0;m=1}n=d<<1;o=B(d,3);p=d<<2;r=e-1|0;s=j-2|0;while(1){e=v[(l<<2)+c>>2];i=v[b+16>>2];Hg(g+28|0,k);i=e+i|0;f=3;g:{h:{i:{j:{k:{l:{switch(r|0){case 0:f=v[g+28>>2];j=f;m:{if(w[f|0]!=116|f+3>>>0>=k>>>0|(w[f+1|0]!=114|w[f+2|0]!=117)){break m}if(w[j+3|0]!=101){break m}e=1;v[g+28>>2]=f+5;break k}e=0;n:{if(w[f|0]!=102|f+4>>>0>=k>>>0|(w[f+1|0]!=97|w[f+2|0]!=108)){break n}if(w[j+3|0]!=115){break n}f=(w[f+4|0]==101?6:0)+f|0}v[g+28>>2]=f;break k;case 2:e=xm(g+28|0,k,0);break k;case 3:e=xm(g+28|0,k,3);break k;case 7:break h;case 6:break i;case 4:case 5:break j;case 1:break l;default:break a}}e=RI(g+28|0,k)}o:{switch(w[b+20|0]-1|0){case 0:t[i|0]=e;break g;case 1:u[i>>1]=e;break g;default:break o}}v[i>>2]=e;break g}e=v[g+28>>2];if(e>>>0>=k>>>0){break g}h=k-e|0;j=v[a+16>>2];p:{q:{switch(s|0){case 2:v[g+28>>2]=e+1;e=h-1|0;break p;case 0:break q;default:break a}}v[g+28>>2]=e+1;e=h-2|0}f=v[i>>2];if(f){if(f){Qa[v[j+8>>2]](j,f)}v[i>>2]=0}j=cc(j,e+1|0,g+24|0);f=v[g+24>>2];if(f){break a}h=e;e=cb(j,v[g+28>>2],e);t[h+e|0]=0;v[i>>2]=e;break g}if((dt(g+28|0,k,4,g,0)|0)<=3){break a}e=v[g>>2];v[i>>2]=((e>>31)+e|0)+32768&-65536;e=v[g+4>>2];v[i+4>>2]=((e>>31)+e|0)+32768&-65536;e=v[g+8>>2];v[i+8>>2]=((e>>31)+e|0)+32768&-65536;e=v[g+12>>2];v[i+12>>2]=((e>>31)+e|0)+32768&-65536;break g}i=v[a+16>>2];e=yb(i,4,0,p,0,g+24|0);f=v[g+24>>2];if(f){break a}f=dt(g+28|0,k,d,e,0);if((f|0)<0|d>>>0>f>>>0){break b}f=g+28|0;Hg(f,k);f=dt(f,k,d,e+p|0,0);if((f|0)<0|d>>>0>f>>>0){break b}f=g+28|0;Hg(f,k);f=dt(f,k,d,e+(n<<2)|0,0);if((f|0)<0|d>>>0>f>>>0){break b}f=g+28|0;Hg(f,k);f=dt(f,k,d,e+(o<<2)|0,0);if((f|0)<0|d>>>0>f>>>0){break b}Hg(g+28|0,k);f=0;if(!q){while(1){h=f<<2;j=v[h+c>>2];h=v[e+h>>2];v[j>>2]=((h>>31)+h|0)+32768&-65536;h=v[e+(d+f<<2)>>2];v[j+4>>2]=((h>>31)+h|0)+32768&-65536;h=v[e+(f+n<<2)>>2];v[j+8>>2]=((h>>31)+h|0)+32768&-65536;h=j;j=v[e+(f+o<<2)>>2];v[h+12>>2]=((j>>31)+j|0)+32768&-65536;f=f+1|0;if((f|0)!=(d|0)){continue}break}}if(e){Qa[v[i+8>>2]](i,e)}}l=l+1|0;m=m-1|0;if(m){continue}break}}f=0;break a}v[g+24>>2]=3;if(e){Qa[v[i+8>>2]](i,e)}f=v[g+24>>2]}Ma=g+48|0;return f|0}function m$(a,b){var c=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{if((b|0)<=1935833198){if((b|0)<=1751346272){J:{switch(b-1735618608|0){case 9:break z;case 8:break A;case 7:break B;case 6:break C;case 5:break D;case 4:break E;case 3:break F;case 2:break G;case 1:break H;case 0:break I;default:break J}}if((b|0)==1668311156){break y}if((b|0)!=1751216995){break a}return a+442|0}if((b|0)<=1751347821){switch(b-1751346273|0){case 1:case 2:break a;case 3:break w;case 0:break x;default:break v}}K:{switch(b-1751347822|0){case 1:case 2:case 3:case 4:break a;case 5:break t;case 0:break u;default:break K}}if((b|0)==1751413603){break s}if((b|0)!=1751934832){break a}return a+446|0}if((b|0)<=1970168942){if((b|0)<=1936750702){L:{switch(b-1935833199|0){case 1:case 2:case 3:break a;case 4:break q;case 0:break r;default:break L}}switch(b-1935833455|0){case 4:break o;case 0:break p;default:break a}}M:{switch(b-1936750703|0){case 1:case 2:case 3:break a;case 4:break m;case 0:break n;default:break M}}N:{switch(b-1936750959|0){case 1:case 2:case 3:break a;case 4:break k;case 0:break l;default:break N}}switch(b-1937011311|0){case 0:break j;case 4:break i;default:break a}}if((b|0)<=1986228845){O:{switch(b-1970168943|0){case 1:case 2:case 3:break a;case 4:break g;case 0:break h;default:break O}}if((b|0)==1986098019){break f}if((b|0)!=1986228070){break a}return a+318|0}if((b|0)<=1986815855){switch(b-1986228846|0){case 1:case 2:case 3:case 4:break a;case 5:break d;case 0:break e;default:break c}}if((b|0)==1986815856){break b}if((b|0)!=2020108148){break a}return a+460|0}if(x[a+562>>1]<2){break a}return v[a+564>>2]}if(x[a+562>>1]<3){break a}return v[a+564>>2]+4|0}if(x[a+562>>1]<4){break a}return v[a+564>>2]+8|0}if(x[a+562>>1]<5){break a}return v[a+564>>2]+12|0}if(x[a+562>>1]<6){break a}return v[a+564>>2]+16|0}if(x[a+562>>1]<7){break a}return v[a+564>>2]+20|0}if(x[a+562>>1]<8){break a}return v[a+564>>2]+24|0}if(x[a+562>>1]<9){break a}return v[a+564>>2]+28|0}if(x[a+562>>1]<10){break a}return v[a+564>>2]+32|0}if(x[a+562>>1]<11){break a}return v[a+564>>2]+36|0}return a+462|0}return a+448|0}return a+450|0}if((b|0)!=1751347046){break a}return a+238|0}return a+236|0}return a+234|0}return a+444|0}return a+386|0}return a+382|0}return a+388|0}return a+384|0}return a+394|0}return a+390|0}return a+396|0}return a+392|0}return a+400|0}return a+398|0}return a+484|0}return a+486|0}return a+300|0}return a+316|0}return a+314|0}if((b|0)!=1986294627){break a}return a+302|0}c=a+304|0}return c}function vEa(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,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0;E=Ma-416|0;Ma=E;y=v[a+332>>2];a=v[b+84>>2];b=E;while(1){p=v[a+224>>2];l=u[c+112>>1];g=v[a+96>>2];i=u[c+48>>1];s=v[a+160>>2];x=u[c+80>>1];h=v[a+32>>2];j=u[c+16>>1];m=B(u[c>>1],v[a>>2])<<13|1024;f=B(v[a+128>>2],u[c+64>>1]);o=B(v[a+192>>2],u[c+96>>1]);n=f-o|0;k=B(v[a+64>>2],u[c+32>>1]);v[b+192>>2]=m+B(n-k|0,11585)>>11;g=B(g,i);h=B(h,j);j=B(g+h|0,10832);q=m+B(n,793)|0;f=f+o|0;o=B(f,9465);z=q+(o+B(k,11249)|0)|0;i=B(s,x);s=B(i+h|0,9534);p=B(p,l);l=p+h|0;x=B(l,7682);r=(s+(j+B(h,-16549)|0)|0)+x|0;v[b+384>>2]=z-r>>11;v[b>>2]=r+z>>11;r=m+B(n,3989)|0;z=B(f,2592);C=r+(B(k,8672)-z|0)|0;D=B(g+i|0,-2773);A=D+(j+B(g,6859)|0)|0;j=B(g+p|0,-9534);A=A+j|0;v[b+352>>2]=C-A>>11;v[b+32>>2]=C+A>>11;o=q+(B(k,4108)-o|0)|0;q=s+(B(i,-12879)+D|0)|0;s=B(i+p|0,-5384);q=q+s|0;v[b+320>>2]=o-q>>11;v[b+64>>2]=o+q>>11;n=m+B(n,-7678)|0;f=B(f,3570);m=n+(B(k,-1396)-f|0)|0;j=s+(x+(j+B(p,18068)|0)|0)|0;v[b+288>>2]=m-j>>11;v[b+96>>2]=j+m>>11;n=n+(f+B(k,-6581)|0)|0;f=B(h,2611);h=B(l,2773)+B(i-g|0,7682)|0;g=(f+h|0)+B(g,-3818)|0;v[b+256>>2]=n-g>>11;v[b+128>>2]=g+n>>11;k=r+(z+B(k,-10258)|0)|0;g=(h+B(i,3150)|0)+B(p,-14273)|0;v[b+224>>2]=k-g>>11;v[b+160>>2]=g+k>>11;b=b+4|0;a=a+4|0;c=c+2|0;F=F+1|0;if((F|0)!=8){continue}break}b=y+128|0;n=0;a=E;while(1){g=v[a+12>>2];h=v[a+4>>2];f=B(g+h|0,10832);c=v[(n<<2)+d>>2]+e|0;p=v[a+28>>2];s=p+h|0;x=B(s,7682);i=v[a+20>>2];l=B(i+h|0,9534);o=x+(l+(f+B(h,-16549)|0)|0)|0;m=v[a+24>>2];j=v[a+16>>2];y=m+j|0;q=B(y,9465);k=v[a+8>>2];m=j-m|0;j=(v[a>>2]<<13)+131072|0;z=B(m,793)+j|0;r=(q+B(k,11249)|0)+z|0;t[c|0]=w[b+(o+r>>>18&1023)|0];t[c+12|0]=w[b+(r-o>>>18&1023)|0];o=B(g+p|0,-9534);r=f+B(g,6859)|0;f=B(g+i|0,-2773);r=o+(r+f|0)|0;D=j+B(m,3989)|0;C=B(y,2592);A=D+(B(k,8672)-C|0)|0;t[c+1|0]=w[b+(r+A>>>18&1023)|0];t[c+11|0]=w[b+(A-r>>>18&1023)|0];l=l+(f+B(i,-12879)|0)|0;f=B(i+p|0,-5384);l=l+f|0;q=z+(B(k,4108)-q|0)|0;t[c+2|0]=w[b+(l+q>>>18&1023)|0];t[c+10|0]=w[b+(q-l>>>18&1023)|0];f=f+(x+(o+B(p,18068)|0)|0)|0;l=j+B(m,-7678)|0;y=B(y,3570);x=l+(B(k,-1396)-y|0)|0;t[c+3|0]=w[b+(f+x>>>18&1023)|0];t[c+9|0]=w[b+(x-f>>>18&1023)|0];f=B(h,2611);h=B(s,2773)+B(i-g|0,7682)|0;g=(f+h|0)+B(g,-3818)|0;f=l+(y+B(k,-6581)|0)|0;t[c+4|0]=w[b+(g+f>>>18&1023)|0];t[c+8|0]=w[b+(f-g>>>18&1023)|0];g=(h+B(i,3150)|0)+B(p,-14273)|0;i=D+(C+B(k,-10258)|0)|0;t[c+5|0]=w[b+(g+i>>>18&1023)|0];t[c+7|0]=w[b+(i-g>>>18&1023)|0];t[c+6|0]=w[b+(j+B(m-k|0,11585)>>>18&1023)|0];a=a+32|0;n=n+1|0;if((n|0)!=13){continue}break}Ma=E+416|0}function yJ(a,b){var 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;l=v[b+20>>2];e=v[b+16>>2];o=v[v[a+480>>2]+24>>2];j=v[b+12>>2];f=v[b+8>>2];g=v[b+4>>2];h=v[b>>2];a:{if(!((j|0)<(f|0)|(g|0)<=(h|0)|(e|0)>(l|0))){p=e<<1;i=h;while(1){m=v[(i<<2)+o>>2];d=f;while(1){a=p+(m+(d<<6)|0)|0;c=e;while(1){if(x[a>>1]){v[b>>2]=i;break a}a=a+2|0;k=(c|0)!=(l|0);c=c+1|0;if(k){continue}break}a=(d|0)!=(j|0);d=d+1|0;if(a){continue}break}a=(g|0)!=(i|0);i=i+1|0;if(a){continue}break}}i=h}b:{if(!((g|0)<=(i|0)|(f|0)>(j|0)|(e|0)>(l|0))){p=e<<1;k=g;while(1){m=v[(k<<2)+o>>2];d=f;while(1){a=p+(m+(d<<6)|0)|0;c=e;while(1){if(x[a>>1]){v[b+4>>2]=k;break b}a=a+2|0;h=(c|0)!=(l|0);c=c+1|0;if(h){continue}break}a=(d|0)!=(j|0);d=d+1|0;if(a){continue}break}a=(i|0)<(k|0);k=k-1|0;if(a){continue}break}}k=g}c:{if(!((i|0)>(k|0)|(f|0)>=(j|0)|(e|0)>(l|0))){m=e<<1;h=f;while(1){d=i;while(1){a=m+(v[(d<<2)+o>>2]+(h<<6)|0)|0;c=e;while(1){if(x[a>>1]){v[b+8>>2]=h;break c}a=a+2|0;g=(c|0)!=(l|0);c=c+1|0;if(g){continue}break}a=(d|0)!=(k|0);d=d+1|0;if(a){continue}break}a=(h|0)!=(j|0);h=h+1|0;if(a){continue}break}}h=f}d:{if(!((i|0)>(k|0)|(h|0)>=(j|0)|(e|0)>(l|0))){m=e<<1;d=j;while(1){f=i;while(1){a=m+(v[(f<<2)+o>>2]+(d<<6)|0)|0;c=e;while(1){if(x[a>>1]){v[b+12>>2]=d;break d}a=a+2|0;g=(c|0)!=(l|0);c=c+1|0;if(g){continue}break}a=(f|0)!=(k|0);f=f+1|0;if(a){continue}break}a=(d|0)>(h|0);d=d-1|0;if(a){continue}break}}d=j}e:{if(!((i|0)>(k|0)|(e|0)>=(l|0)|(d|0)<(h|0))){m=h<<6;f=e;while(1){g=i;while(1){a=(m+v[(g<<2)+o>>2]|0)+(f<<1)|0;c=h;while(1){if(x[a>>1]){v[b+16>>2]=f;break e}a=a- -64|0;j=(c|0)!=(d|0);c=c+1|0;if(j){continue}break}a=(g|0)!=(k|0);g=g+1|0;if(a){continue}break}a=(f|0)!=(l|0);f=f+1|0;if(a){continue}break}}f=e}f:{if(!((i|0)>(k|0)|(f|0)>=(l|0)|(d|0)<(h|0))){m=h<<6;e=l;while(1){g=i;while(1){a=(m+v[(g<<2)+o>>2]|0)+(e<<1)|0;c=h;while(1){if(x[a>>1]){v[b+20>>2]=e;break f}a=a- -64|0;j=(c|0)!=(d|0);c=c+1|0;if(j){continue}break}a=(g|0)!=(k|0);g=g+1|0;if(a){continue}break}a=(e|0)>(f|0);e=e-1|0;if(a){continue}break}}e=l}a=B(d-h|0,12);c=B(a,a);a=k-i<<4;c=c+B(a,a)|0;p=e-f|0;a=p<<3;v[b+24>>2]=c+B(a,a);c=0;if(!((d|0)<(h|0)|(i|0)>(k|0))){l=p+1&3;while(1){if((e|0)>=(f|0)){m=v[(i<<2)+o>>2];g=h;while(1){n=(m+(g<<6)|0)+(f<<1)|0;a=f;j=l;if(l){while(1){a=a+1|0;c=(x[n>>1]!=0)+c|0;n=n+2|0;j=j-1|0;if(j){continue}break}}if(p>>>0>=3){while(1){c=((((x[n>>1]!=0)+c|0)+(x[n+2>>1]!=0)|0)+(x[n+4>>1]!=0)|0)+(x[n+6>>1]!=0)|0;n=n+8|0;j=a+3|0;a=a+4|0;if((e|0)!=(j|0)){continue}break}}a=(d|0)!=(g|0);g=g+1|0;if(a){continue}break}}a=(i|0)!=(k|0);i=i+1|0;if(a){continue}break}}v[b+28>>2]=c}function Q1(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,z=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;g=v[a+4>>2];f=v[g>>2];l=A[f+32>>3];E=A[f>>3];s=A[f+16>>3];p=A[f+40>>3];m=A[f+8>>3];q=A[a+16>>3];i=A[f+24>>3];u=A[a+24>>3];h=(e|0)>1?e:1;v[g+24>>2]=h;v[g+4>>2]=h;f=g;q=q+ +(c|0);n=i;i=u+ +(d|0);u=n*i;n=(p+(m*q+u))*256;n=n+(n<0?-.5:.5);a:{if(D(n)<2147483648){d=~~n;break a}d=-2147483648}v[f+40>>2]=d;f=g;s=i*s;i=(l+(q*E+s))*256;i=i+(i<0?-.5:.5);b:{if(D(i)<2147483648){c=~~i;break b}c=-2147483648}v[f+20>>2]=c;r=g;i=p;p=q+ +(e>>>0);m=(i+(p*m+u))*256;m=m+(m<0?-.5:.5);c:{if(D(m)<2147483648){f=~~m;break c}f=-2147483648}d=f-d|0;f=(d|0)/(h|0)|0;k=d-B(f,h)|0;j=(k|0)<1;v[r+28>>2]=f-j;f=g;l=(l+(p*E+s))*256;l=l+(l<0?-.5:.5);d:{if(D(l)<2147483648){d=~~l;break d}d=-2147483648}c=d-c|0;d=(c|0)/(h|0)|0;r=d;c=c-B(d,h)|0;d=(c|0)<1;v[f+8>>2]=r-d;f=k+(j?e:0)|0;v[g+32>>2]=f;c=c+(d?e:0)|0;v[g+12>>2]=c;v[g+36>>2]=f-e;v[g+16>>2]=c-e;c=v[a+4>>2];g=v[c+40>>2];c=v[c+20>>2];while(1){f=v[a+36>>2];d=v[a>>2];k=c-v[a+32>>2]|0;c=k>>8;v[d+8>>2]=c;j=g-f|0;f=(v[d+32>>2]+(j>>8)>>>0)%y[d+28>>2]|0;v[d+36>>2]=f;g=v[v[d>>2]>>2];h=v[g+4>>2];o=v[g+16>>2];g=v[d+16>>2];c=(c+v[d+20>>2]>>>0)%(g>>>0)|0;v[d+24>>2]=c;h=h+B(f,o)|0;v[d+4>>2]=h;o=v[d+12>>2];f=h+((o>>>0>c>>>0?c:g+(c^-1)|0)<<2)|0;F=w[f+2|0];G=w[f+1|0];H=w[f|0];f=w[f+3|0];c=c+1|0;c=c>>>0>>0?c:0;v[d+24>>2]=c;c=h+((c>>>0>>0?c:g+(c^-1)|0)<<2)|0;o=w[c+2|0];I=w[c+1|0];J=w[c|0];g=w[c+3|0];c=v[a>>2];d=v[c+36>>2]+1|0;h=d>>>0>2]?d:0;v[c+36>>2]=h;d=v[v[c>>2]>>2];z=v[d+4>>2];C=v[d+16>>2];x=v[c+16>>2];d=(v[c+20>>2]+v[c+8>>2]>>>0)%(x>>>0)|0;v[c+24>>2]=d;h=z+B(h,C)|0;v[c+4>>2]=h;c=h+((d>>>0>2]?d:x+(d^-1)|0)<<2)|0;z=w[c+2|0];C=w[c+1|0];x=w[c|0];K=w[c+3|0];c=v[a>>2];d=v[c+24>>2]+1|0;h=v[c+16>>2];d=h>>>0>d>>>0?d:0;v[c+24>>2]=d;c=v[c+4>>2]+((d>>>0>2]?d:h+(d^-1)|0)<<2)|0;L=w[c+2|0];M=w[c+1|0];N=w[c|0];r=f;h=j&255;f=256-h|0;k=k&255;j=256-k|0;d=B(f,j);O=g;g=B(f,k);f=B(h,j);j=w[c+3|0];c=B(h,k);t[b+3|0]=(((B(r,d)+B(O,g)|0)+B(f,K)|0)+B(j,c)|0)+32768>>>16;t[b+2|0]=(((B(d,H)+B(g,J)|0)+B(f,x)|0)+B(c,N)|0)+32768>>>16;t[b+1|0]=(((B(d,G)+B(g,I)|0)+B(f,C)|0)+B(c,M)|0)+32768>>>16;t[b|0]=(((B(d,F)+B(g,o)|0)+B(f,z)|0)+B(c,L)|0)+32768>>>16;d=v[a+4>>2];c=d;g=v[c+16>>2]+v[c+12>>2]|0;v[c+16>>2]=g;c=v[c+20>>2]+v[c+8>>2]|0;v[d+20>>2]=c;if((g|0)>=1){c=c+1|0;v[d+20>>2]=c;v[d+16>>2]=g-v[d+4>>2]}f=v[d+36>>2]+v[d+32>>2]|0;v[d+36>>2]=f;g=v[d+40>>2]+v[d+28>>2]|0;v[d+40>>2]=g;if((f|0)>=1){g=g+1|0;v[d+40>>2]=g;v[d+36>>2]=f-v[d+24>>2]}b=b+4|0;e=e-1|0;if(e){continue}break}}function K1(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,z=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;g=v[a+4>>2];f=v[g>>2];l=A[f+32>>3];E=A[f>>3];s=A[f+16>>3];p=A[f+40>>3];m=A[f+8>>3];q=A[a+16>>3];i=A[f+24>>3];u=A[a+24>>3];h=(e|0)>1?e:1;v[g+24>>2]=h;v[g+4>>2]=h;f=g;q=q+ +(c|0);n=i;i=u+ +(d|0);u=n*i;n=(p+(m*q+u))*256;n=n+(n<0?-.5:.5);a:{if(D(n)<2147483648){d=~~n;break a}d=-2147483648}v[f+40>>2]=d;f=g;s=i*s;i=(l+(q*E+s))*256;i=i+(i<0?-.5:.5);b:{if(D(i)<2147483648){c=~~i;break b}c=-2147483648}v[f+20>>2]=c;r=g;i=p;p=q+ +(e>>>0);m=(i+(p*m+u))*256;m=m+(m<0?-.5:.5);c:{if(D(m)<2147483648){f=~~m;break c}f=-2147483648}d=f-d|0;f=(d|0)/(h|0)|0;k=d-B(f,h)|0;j=(k|0)<1;v[r+28>>2]=f-j;f=g;l=(l+(p*E+s))*256;l=l+(l<0?-.5:.5);d:{if(D(l)<2147483648){d=~~l;break d}d=-2147483648}c=d-c|0;d=(c|0)/(h|0)|0;r=d;c=c-B(d,h)|0;d=(c|0)<1;v[f+8>>2]=r-d;f=k+(j?e:0)|0;v[g+32>>2]=f;c=c+(d?e:0)|0;v[g+12>>2]=c;v[g+36>>2]=f-e;v[g+16>>2]=c-e;c=v[a+4>>2];g=v[c+40>>2];c=v[c+20>>2];while(1){f=v[a+36>>2];d=v[a>>2];k=c-v[a+32>>2]|0;c=k>>8;v[d+8>>2]=c;j=g-f|0;f=(v[d+32>>2]+(j>>8)>>>0)%y[d+28>>2]|0;v[d+36>>2]=f;g=v[v[d>>2]>>2];h=v[g+4>>2];o=v[g+16>>2];g=v[d+16>>2];c=(c+v[d+20>>2]>>>0)%(g>>>0)|0;v[d+24>>2]=c;h=h+B(f,o)|0;v[d+4>>2]=h;o=v[d+12>>2];f=h+((o>>>0>c>>>0?c:g+(c^-1)|0)<<2)|0;F=w[f|0];G=w[f+1|0];H=w[f+2|0];f=w[f+3|0];c=c+1|0;c=c>>>0>>0?c:0;v[d+24>>2]=c;c=h+((c>>>0>>0?c:g+(c^-1)|0)<<2)|0;o=w[c|0];I=w[c+1|0];J=w[c+2|0];g=w[c+3|0];c=v[a>>2];d=v[c+36>>2]+1|0;h=d>>>0>2]?d:0;v[c+36>>2]=h;d=v[v[c>>2]>>2];z=v[d+4>>2];C=v[d+16>>2];x=v[c+16>>2];d=(v[c+20>>2]+v[c+8>>2]>>>0)%(x>>>0)|0;v[c+24>>2]=d;h=z+B(h,C)|0;v[c+4>>2]=h;c=h+((d>>>0>2]?d:x+(d^-1)|0)<<2)|0;z=w[c|0];C=w[c+1|0];x=w[c+2|0];K=w[c+3|0];c=v[a>>2];d=v[c+24>>2]+1|0;h=v[c+16>>2];d=h>>>0>d>>>0?d:0;v[c+24>>2]=d;c=v[c+4>>2]+((d>>>0>2]?d:h+(d^-1)|0)<<2)|0;L=w[c|0];M=w[c+1|0];N=w[c+2|0];r=f;h=j&255;f=256-h|0;k=k&255;j=256-k|0;d=B(f,j);O=g;g=B(f,k);f=B(h,j);j=w[c+3|0];c=B(h,k);t[b+3|0]=(((B(r,d)+B(O,g)|0)+B(f,K)|0)+B(j,c)|0)+32768>>>16;t[b+2|0]=(((B(d,H)+B(g,J)|0)+B(f,x)|0)+B(c,N)|0)+32768>>>16;t[b+1|0]=(((B(d,G)+B(g,I)|0)+B(f,C)|0)+B(c,M)|0)+32768>>>16;t[b|0]=(((B(d,F)+B(g,o)|0)+B(f,z)|0)+B(c,L)|0)+32768>>>16;d=v[a+4>>2];c=d;g=v[c+16>>2]+v[c+12>>2]|0;v[c+16>>2]=g;c=v[c+20>>2]+v[c+8>>2]|0;v[d+20>>2]=c;if((g|0)>=1){c=c+1|0;v[d+20>>2]=c;v[d+16>>2]=g-v[d+4>>2]}f=v[d+36>>2]+v[d+32>>2]|0;v[d+36>>2]=f;g=v[d+40>>2]+v[d+28>>2]|0;v[d+40>>2]=g;if((f|0)>=1){g=g+1|0;v[d+40>>2]=g;v[d+36>>2]=f-v[d+24>>2]}b=b+4|0;e=e-1|0;if(e){continue}break}}function xX(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;k=Ma+-64|0;Ma=k;a:{b:{if(!c|(!b|!d)){break b}j=v[b+32>>2];c:{if(!j){break c}m=v[j+80>>2];if(v[j+48>>2]!=(b|0)){break c}j=v[j+44>>2];if(!j){break c}j=v[j+44>>2];if(!j){break c}if(le(j,d,e,c)){break b}}d:{n=v[b+44>>2];if(n){break d}n=Eo(0,m);v[b+44>>2]=n;if(n){break d}e:{if(!a){b=0;d=0;break e}b=v[a>>2];d=v[a+4>>2];if((v[a+28>>2]&-2)!=-1412623820){break e}l=(b^-1)+a>>>0<249?b:0}v[k>>2]=347520;nb(0,d,b,l,0,23,2,3,347520,0,0,0,340689,k);Xj(i);break a}j=Qa[v[256552]](64)|0;if(!j){f:{if(!a){b=0;d=0;break f}b=v[a>>2];d=v[a+4>>2];if((v[a+28>>2]&-2)!=-1412623820){break f}l=(b^-1)+a>>>0<249?b:0}v[k+16>>2]=290868;nb(0,d,b,l,0,23,2,3,290868,0,0,0,340689,k+16|0);Xj(i);break a}v[j>>2]=0;v[j+4>>2]=0;v[j+40>>2]=0;v[j+44>>2]=0;v[j+4>>2]=16;l=j+56|0;a=l;v[a>>2]=0;v[a+4>>2]=0;v[j+48>>2]=0;v[j+52>>2]=0;v[j+32>>2]=0;v[j+36>>2]=0;v[j+24>>2]=0;v[j+28>>2]=0;v[j+16>>2]=0;v[j+20>>2]=0;o=j+8|0;a=o;v[a>>2]=0;v[a+4>>2]=0;v[j+40>>2]=f;v[j+32>>2]=v[b+32>>2];a=j;g:{h:{if(!m){p=j,q=Sd(d),v[p+8>>2]=q;p=j,q=Sd(e),v[p+56>>2]=q;d=Sd(c);v[j+52>>2]=i;v[j+44>>2]=g;v[j+60>>2]=d;l=j+56|0;o=j+8|0;if(!h){break g}d=Sd(h);break h}p=j,q=Zc(m,d,-1),v[p+8>>2]=q;p=j,q=Zc(m,e,-1),v[p+56>>2]=q;d=Zc(m,c,-1);v[j+52>>2]=i;v[j+44>>2]=g;v[j+60>>2]=d;if(!h){break g}d=Zc(m,h,-1)}v[a+48>>2]=d}if((Tv(n,v[j+8>>2],v[j+56>>2],v[j+60>>2],j)|0)<=-1){wX(j);break a}v[k+60>>2]=0;i:{j:{a=v[b+40>>2];if(a){break j}a=b;e=a;d=v[a+32>>2];if(d){a=v[d+80>>2]}else{a=0}a=Eo(0,a);v[e+40>>2]=a;if(a){break j}v[k+32>>2]=290756;nb(0,0,0,0,0,23,2,3,290756,0,0,0,340689,k+32|0);break i}e=Co(c,k+60|0);c=e?e:c;d=sm(a,c,v[k+60>>2]);if(!d){d=Qa[v[256552]](56)|0;if(!d){v[k+48>>2]=290868;nb(0,0,0,0,0,23,2,3,290868,0,0,0,340689,k+48|0);break i}v[d>>2]=0;v[d+4>>2]=0;v[d+48>>2]=0;v[d+52>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=0;v[d+36>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d+4>>2]=15;p=d,q=Sd(c),v[p+8>>2]=q;f=Sd(v[k+60>>2]);v[d+36>>2]=0;v[d+48>>2]=f;GH(a,c,v[k+60>>2],d)}a=v[k+60>>2];if(a){Qa[v[256556]](a)}if(e){Qa[v[256556]](e)}k:{l:{if(!Ef(v[o>>2],235503)){a=v[l>>2];if(!a){break l}if(!Ef(a,235503)){break l}}break k}c=v[d+44>>2];m:{while(1){a=c;if(!a){break m}n:{if(!Ef(v[a+8>>2],235503)){c=v[l>>2];if(!c){break n}if(!Ef(c,235503)){break n}}c=v[a+36>>2];if(c){continue}}break}v[j+36>>2]=v[a+36>>2];v[a+36>>2]=j;break i}}v[j+36>>2]=v[d+44>>2];v[d+44>>2]=j}v[j+20>>2]=b;a=v[b+16>>2];o:{if(!a){v[b+12>>2]=j;break o}v[a+24>>2]=j;v[j+28>>2]=a}v[b+16>>2]=j;break a}Xj(i)}Ma=k- -64|0}function eF(a,b,c){var d=0,e=0,f=0;d=Ma-96|0;Ma=d;a:{b:{c:{if(w[b+89|0]){a=zg(a);d:{if(!(v[b+92>>2]&1)){break d}e:{switch(v[b+56>>2]-1|0){case 4:if((c|0)<=0){Rf(a,b+8|0);break d}lb(mb(d+56|0,253296,240864,720,225699));L();case 1:if((c|0)<=-1){Rf(a,b+8|0);break d}if(!(v[b+92>>2]&4)){break d}e=d+56|0;py(e,v[b+112>>2],c);Rf(a,e);v[d+80>>2]=969432;v[d+56>>2]=969400;a=v[d+84>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Qa[v[v[a>>2]+4>>2]](a)}v[d+84>>2]=0}v[d+72>>2]=969432;a=v[d+76>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Qa[v[v[a>>2]+4>>2]](a)}v[d+76>>2]=0}db(d- -64|0);break d;case 0:e=(c|0)>0;if(!(e|!(v[b+92>>2]&2))){c=a;a=ki(d+56|0,b+116|0,b+8|0);Rf(c,a);Ky(a);break d}if(!(v[b+92>>2]&4)){break d}f=d+56|0;py(f,v[b+112>>2],e?c:0);Rf(a,f);v[d+80>>2]=969432;v[d+56>>2]=969400;a=v[d+84>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Qa[v[v[a>>2]+4>>2]](a)}v[d+84>>2]=0}v[d+72>>2]=969432;a=v[d+76>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Qa[v[v[a>>2]+4>>2]](a)}v[d+76>>2]=0}db(d- -64|0);break d;case 2:if(!(v[b+92>>2]&2)){break d}WS(d+8|0,v[b+48>>2],(c|0)>0?c:0);c=v[d+8>>2];if(!c){break c}e=a;a=ki(d+56|0,c+36|0,b+8|0);Rf(e,a);v[a+24>>2]=969432;v[a>>2]=969400;b=v[a+28>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Qa[v[v[b>>2]+4>>2]](b)}v[a+28>>2]=0}v[a+16>>2]=969432;b=v[a+20>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Qa[v[v[b>>2]+4>>2]](b)}v[a+20>>2]=0}db(a+8|0);a=v[d+8>>2];v[d+8>>2]=0;if(!a){break d}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break d}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}break d;case 3:break e;default:break a}}if(!(v[b+92>>2]&2)){break d}WS(d+48|0,v[b+48>>2],(c|0)>0?c:0);c=v[d+48>>2];if(!c){break b}e=d+8|0;vj(e,b+8|0);b=a;a=ki(d+56|0,c+36|0,e);Rf(b,a);v[a+24>>2]=969432;v[a>>2]=969400;b=v[a+28>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Qa[v[v[b>>2]+4>>2]](b)}v[a+28>>2]=0}v[a+16>>2]=969432;b=v[a+20>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Qa[v[v[b>>2]+4>>2]](b)}v[a+20>>2]=0}db(a+8|0);v[d+32>>2]=969432;v[d+8>>2]=969400;a=v[d+36>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Qa[v[v[a>>2]+4>>2]](a)}v[d+36>>2]=0}v[d+24>>2]=969432;a=v[d+28>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Qa[v[v[a>>2]+4>>2]](a)}v[d+28>>2]=0}db(d+16|0);a=v[d+48>>2];v[d+48>>2]=0;if(!a){break d}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break d}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=d+96|0;return}lb(mb(d+56|0,231515,240864,286,226712));L()}lb(mb(d+56|0,253296,240864,749,225699));L()}lb(mb(d+56|0,253296,240864,761,225699));L()}lb(mb(d+56|0,278481,240864,767,225699));L()}function sua(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,p=0,q=0,r=0,s=0,t=0,u=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;I=Ma-256|0;Ma=I;g=a;while(1){a:{i=g;d=v[(k<<2)+b>>2]+c|0;n=w[d+9|0];o=w[d+6|0];e=n+o|0;q=w[d+14|0];l=w[d+1|0];h=q+l|0;f=e+h|0;j=w[d+10|0];m=w[d+5|0];p=j+m|0;s=w[d+13|0];t=w[d+2|0];r=s+t|0;u=p+r|0;x=w[d+8|0];y=w[d+7|0];z=x+y|0;A=w[d+15|0];C=w[d|0];D=A+C|0;E=z+D|0;F=w[d+11|0];G=w[d+4|0];H=F+G|0;J=w[d+3|0];K=w[d+12|0];d=J+K|0;L=H+d|0;v[g+16>>2]=(B(f-u|0,4433)+B(E-L|0,10703)|0)+1024>>11;v[g>>2]=(E+(f+(u+L|0)|0)<<2)+-8192;f=D-z|0;p=r-p|0;r=d-H|0;e=h-e|0;d=(B(f-p|0,11363)+B(r-e|0,2260)|0)+1024|0;v[g+24>>2]=(d+B(r,-8697)|0)+B(f,-1730)>>11;v[g+8>>2]=(d+B(p,17799)|0)+B(e,11893)>>11;d=m-j|0;e=G-F|0;h=J-K|0;f=t-s|0;j=(B(d-e|0,3363)+B(h+f|0,-11086)|0)+1024|0;n=o-n|0;o=l-q|0;q=B(n+e|0,-10217)+B(o+h|0,-5461)|0;p=q+((j+B(h,8728)|0)+B(e,17760)|0)|0;l=e;e=y-x|0;m=h;h=C-A|0;l=B(l-e|0,7350)+B(m+h|0,8956)|0;v[g+28>>2]=p+l>>11;m=(j+B(f,-9222)|0)+B(d,10055)|0;j=B(n-d|0,11529)+B(f+o|0,1136)|0;d=B(d+e|0,5461)+B(f+h|0,10217)|0;v[g+20>>2]=(m+j|0)+d>>11;f=B(n-e|0,3363)+B(h+o|0,11086)|0;v[g+12>>2]=(f+(j+((q+B(o,589)|0)+B(n,-13631)|0)|0)|0)+1024>>11;v[g+4>>2]=(d+(l+((f+B(h,-18730)|0)+B(e,6387)|0)|0)|0)+1024>>11;e=k-7|0;k=k+1|0;d=7;g=I;b:{switch(e|0){case 0:continue;case 8:break a;default:break b}}g=i+32|0;continue}break}while(1){e=v[g+32>>2];h=v[a+192>>2];b=e+h|0;n=v[g+192>>2];o=v[a+32>>2];c=n+o|0;i=b+c|0;k=v[g+64>>2];f=v[a+160>>2];j=k+f|0;q=v[g+160>>2];l=v[a+64>>2];m=q+l|0;p=j+m|0;s=v[g>>2];t=v[a+224>>2];r=s+t|0;u=v[g+224>>2];x=v[a>>2];y=u+x|0;z=r+y|0;A=v[g+96>>2];C=v[a+128>>2];D=A+C|0;E=v[g+128>>2];F=v[a+96>>2];G=E+F|0;H=D+G|0;v[a+128>>2]=(B(i-p|0,4433)+B(z-H|0,10703)|0)+65536>>17;v[a>>2]=(z+(i+(p+H|0)|0)|0)+8>>4;i=y-r|0;j=m-j|0;m=G-D|0;c=c-b|0;b=(B(i-j|0,11363)+B(m-c|0,2260)|0)+65536|0;v[a+192>>2]=(b+B(m,-8697)|0)+B(i,-1730)>>17;v[a+64>>2]=(b+B(j,17799)|0)+B(c,11893)>>17;b=f-k|0;c=C-A|0;i=F-E|0;k=l-q|0;f=(B(b-c|0,3363)+B(i+k|0,-11086)|0)+65536|0;e=h-e|0;h=o-n|0;n=B(e+c|0,-10217)+B(h+i|0,-5461)|0;j=n+((f+B(i,8728)|0)+B(c,17760)|0)|0;l=c;c=t-s|0;m=i;i=x-u|0;o=B(l-c|0,7350)+B(m+i|0,8956)|0;v[a+224>>2]=j+o>>17;l=(f+B(k,-9222)|0)+B(b,10055)|0;f=B(e-b|0,11529)+B(h+k|0,1136)|0;b=B(b+c|0,5461)+B(i+k|0,10217)|0;v[a+160>>2]=(l+f|0)+b>>17;k=B(e-c|0,3363)+B(h+i|0,11086)|0;v[a+96>>2]=(k+(f+((n+B(h,589)|0)+B(e,-13631)|0)|0)|0)+65536>>17;v[a+32>>2]=(b+(o+((k+B(i,-18730)|0)+B(c,6387)|0)|0)|0)+65536>>17;b=d;d=d-1|0;g=g+4|0;a=a+4|0;if(b){continue}break}Ma=I+256|0}function zIa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=Ma-1568|0;Ma=e;g=v[a+4>>2];t[e+47|0]=0;h=v[v[g+492>>2]+12>>2];a:{if(!(v[v[g+128>>2]+52>>2]|y[g+16>>2]>c>>>0)){f=6;break a}d=d&1024?d|3:d;b:{if(b){v[a+164>>2]=v[b+16>>2];f=v[b+20>>2];break b}v[a+164>>2]=65536;f=65536}v[a+108>>2]=0;v[a+72>>2]=1869968492;v[a+168>>2]=f;j=d&1;t[a+161|0]=!j;f=!(d&3);t[a+160|0]=f;f=Qa[v[h>>2]](e+48|0,g,b,a,v[g+424>>2],v[g+532>>2],f,d>>>16&15,2091)|0;if(f){break a}i=d&1024;t[e+117|0]=i>>>10;v[e+1412>>2]=v[g+404>>2];v[e+1416>>2]=v[g+408>>2];v[e+1420>>2]=v[g+412>>2];v[e+1424>>2]=v[g+416>>2];v[e+1544>>2]=v[g+548>>2];v[e+1548>>2]=v[g+544>>2];f=nw(e+48|0,c,e+16|0,e+47|0);if(!f){k=w[a+160|0];c=e+1436|0;f=v[c+4>>2];v[e+32>>2]=v[c>>2];v[e+36>>2]=f;c=v[e+1432>>2];v[e+24>>2]=v[e+1428>>2];v[e+28>>2]=c;c=v[e+1448>>2];f=v[e+1444>>2];Qa[v[h+4>>2]](e+48|0);v[a+124>>2]=v[a+124>>2]&1|4;c:{if(i){b=v[a+156>>2];d=v[e+80>>2];v[a+32>>2]=(((d>>31)+d|0)+32768&-65536)>>16;d=v[e+88>>2];v[a+40>>2]=(((d>>31)+d|0)+32768&-65536)>>16;d=v[e+36>>2];v[b+20>>2]=v[e+32>>2];v[b+24>>2]=d;d=v[e+28>>2];v[b+12>>2]=v[e+24>>2];v[b+16>>2]=d;v[b+32>>2]=c;v[b+28>>2]=f;t[b+8|0]=1;break c}h=v[e+88>>2];v[a+40>>2]=(((h>>31)+h|0)+32768&-65536)>>16;h=v[e+88>>2];v[a+56>>2]=(((h>>31)+h|0)+32768&-65536)>>16;t[v[a+156>>2]+8|0]=0;i=d&16;d:{if(i){d=v[g+476>>2]-v[g+468>>2]>>16;v[a+52>>2]=d;break d}d=v[e+92>>2];v[a+52>>2]=(((d>>31)+d|0)+32768&-65536)>>16;d=v[e+92>>2];d=(((d>>31)+d|0)+32768&-65536)>>16}v[a+72>>2]=1869968492;v[a+60>>2]=d;if(!(!b|x[b+14>>1]>23)){v[a+124>>2]=v[a+124>>2]|256}h=a+108|0;e:{if(!(v[e+28>>2]|(v[e+24>>2]!=65536|v[e+36>>2]!=65536))){if(!v[e+32>>2]){break e}}xn(h,e+24|0);l=a,m=xb(v[a+40>>2],v[e+24>>2]),v[l+40>>2]=m;l=a,m=xb(v[a+52>>2],v[e+36>>2]),v[l+52>>2]=m}if(c|f){Jg(h,f,c);v[a+40>>2]=f+v[a+40>>2];v[a+52>>2]=c+v[a+52>>2]}if(!(w[e+47|0]?0:j)){c=v[a+168>>2];f=v[a+164>>2];b=v[e+64>>2];f:{if(v[e+120>>2]?k:0){break f}d=u[b+2>>1];if((d|0)<1){break f}d=d&65535;b=v[b+4>>2];while(1){l=b,m=xb(v[b>>2],f),v[l>>2]=m;l=b,m=xb(v[b+4>>2],c),v[l+4>>2]=m;b=b+8|0;j=(d|0)>1;d=d-1|0;if(j){continue}break}}l=a,m=xb(v[a+40>>2],f),v[l+40>>2]=m;l=a,m=xb(v[a+52>>2],c),v[l+52>>2]=m}yn(h,e);b=v[e>>2];v[a+24>>2]=v[e+8>>2]-b;c=v[e+4>>2];d=v[e+12>>2];v[a+36>>2]=d;v[a+32>>2]=b;v[a+28>>2]=d-c;if(!i){break c}kt(a+24|0,v[a+52>>2])}v[a+136>>2]=v[e+16>>2];v[a+140>>2]=v[e+20>>2];f=0;b=v[v[g+128>>2]+52>>2];if(!b){break a}Qa[v[v[b>>2]+4>>2]](v[b+4>>2],e+16|0);v[a+136>>2]=0;v[a+140>>2]=0;break a}Qa[v[h+4>>2]](e+48|0)}Ma=e+1568|0;return f|0}function _0(a){var 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,w=0,x=0,y=0,z=0,B=0,C=0,E=0,F=0,G=0;B=A[a+72>>3];C=A[a+80>>3];s=K(B*B+C*C);A[a+200>>3]=s;p=v[a+180>>2];e=v[p- -64>>2];G=v[p+60>>2];g=v[p+56>>2];k=v[p+52>>2];f=v[a+260>>2];if(!f){u[p+68>>1]=2048;v[a+260>>2]=2048;f=2048}c=a;d=A[a+112>>3];E=A[a+8>>3];q=+(k|0);l=E*q;F=A[a+24>>3];h=+(g|0);m=F*h;i=+(((G|0)>2e4?65536:1)|0)*+(f|0);r=d*(l+m)/i;a:{if(D(r)<2147483648){f=~~r;break a}f=-2147483648}v[c+152>>2]=f;v[a+144>>2]=f;c=a;r=A[a+16>>3];n=r*q;q=A[a+32>>3];h=q*h;t=d*(n+h)/i;b:{if(D(t)<2147483648){g=~~t;break b}g=-2147483648}v[c+156>>2]=g;v[a+148>>2]=g;w=a+144|0;x=a+152|0;o=l;l=+(e|0);t=F*l;o=d*(o+t)/i;c:{if(D(o)<2147483648){e=~~o;break c}e=-2147483648}d:{e:{if((e|0)<(f|0)){j=w;c=f;f=e;break e}j=x;k=f;c=e;if((f|0)>=(e|0)){break d}}k=f;v[j>>2]=e;f=c}y=a+148|0;z=a+156|0;l=q*l;n=d*(n+l)/i;f:{if(D(n)<2147483648){b=~~n;break f}b=-2147483648}g:{h:{if((b|0)<(g|0)){c=y;e=g;g=b;break h}c=z;j=g;e=b;if((b|0)<=(g|0)){break g}}j=g;v[c>>2]=b;g=e}n=+(G|0);o=E*n;m=d*(o+m)/i;i:{if(D(m)<2147483648){b=~~m;break i}b=-2147483648}j:{k:{if((b|0)<(k|0)){e=w;c=f;k=b;break k}e=x;c=b;if((b|0)<=(f|0)){break j}}v[e>>2]=b;f=c}m=r*n;h=d*(m+h)/i;l:{if(D(h)<2147483648){b=~~h;break l}b=-2147483648}m:{n:{if((b|0)<(j|0)){e=y;c=g;j=b;break n}e=z;c=b;if((b|0)<=(g|0)){break m}}v[e>>2]=b;g=c}h=d*(o+t)/i;o:{if(D(h)<2147483648){b=~~h;break o}b=-2147483648}p:{q:{if((b|0)<(k|0)){e=w;k=b;c=f;break q}e=x;c=b;if((b|0)<=(f|0)){break p}}v[e>>2]=b;f=c}i=d*(m+l)/i;r:{if(D(i)<2147483648){b=~~i;break r}b=-2147483648}s:{t:{if((b|0)<(j|0)){e=y;j=b;c=g;break t}e=z;c=b;if((b|0)<=(g|0)){break s}}v[e>>2]=b;g=c}if((f|0)==(k|0)){v[w>>2]=0;if(D(d)<2147483648){c=~~d}else{c=-2147483648}v[x>>2]=c}if((g|0)==(j|0)){v[y>>2]=0;d=d*1.2;u:{if(D(d)<2147483648){c=~~d;break u}c=-2147483648}v[z>>2]=c}c=a;d=r*65536;v:{if(D(d)<2147483648){b=~~d;break v}b=-2147483648}v[c+220>>2]=b;c=a;d=E*65536;w:{if(D(d)<2147483648){b=~~d;break w}b=-2147483648}v[c+212>>2]=b;c=a;d=q*65536;x:{if(D(d)<2147483648){b=~~d;break x}b=-2147483648}v[c+224>>2]=b;c=a;d=F*65536;y:{if(D(d)<2147483648){b=~~d;break y}b=-2147483648}v[c+216>>2]=b;c=a;d=C/s*65536;z:{if(D(d)<2147483648){b=~~d;break z}b=-2147483648}v[c+240>>2]=b;c=a;d=B/s*65536;A:{if(D(d)<2147483648){b=~~d;break A}b=-2147483648}v[c+232>>2]=b;c=a;d=A[a+56>>3]/s*65536;B:{if(D(d)<2147483648){b=~~d;break B}b=-2147483648}v[c+228>>2]=b;c=a;d=A[a- -64>>3]/s*65536;C:{if(D(d)<2147483648){b=~~d;break C}b=-2147483648}v[c+236>>2]=b;tw(p,a+212|0)}function jj(a,b){var 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;k=v[b+4>>2];if((k|0)>2]){v[a+108>>2]=k}if(v[a+116>>2]<(k|0)){v[a+116>>2]=k}r=v[a+40>>2];g=v[b+28>>2];b=v[b+20>>2];p=g-b>>3;n=p;while(1){m=u[b+8>>1];j=v[b+12>>2];o=u[b+10>>1];c=o>>31;a:{b:{q=c^c+o;h=q;if(h>>>0>4095){break b}e=v[a+4>>2];c=v[a>>2];i=c>>>12|0;if(e>>>0<=i>>>0){d=v[a+8>>2];c:{if(d>>>0>i>>>0){f=v[a+12>>2];break c}d=d+v[a+16>>2]|0;f=ab((d|0)!=(d&1073741823)?-1:d<<2);g=a;l=v[a+12>>2];if(l){cb(f,l,e<<2);$a(l);c=v[a>>2];e=v[a+4>>2];d=v[a+8>>2]+v[a+16>>2]|0}v[g+8>>2]=d;v[a+12>>2]=f}s=(i<<2)+f|0,t=ab(4096),v[s>>2]=t;e=e+1|0;v[a+4>>2]=e}d=4096-(c&4095)|0;d:{if(d>>>0>=h>>>0){break d}g=v[a+12>>2];c=c+d|0;v[a>>2]=c;f=c>>>12|0;if(f>>>0>>0){break d}d=v[a+8>>2];e:{if(d>>>0>f>>>0){d=g;break e}c=d+v[a+16>>2]|0;d=ab((c|0)!=(c&1073741823)?-1:c<<2);c=cb(d,g,e<<2);$a(g);v[a+12>>2]=c;v[a+8>>2]=v[a+8>>2]+v[a+16>>2];c=v[a>>2];e=v[a+4>>2]}s=(f<<2)+d|0,t=ab(4096),v[s>>2]=t;v[a+4>>2]=e+1}v[a>>2]=c+h;if((c|0)<0){break b}cb(v[v[a+12>>2]+(c>>>10&4194300)>>2]+(c&4095)|0,j,h);break a}l=cb(ab(h),j,h);e=v[a+24>>2];j=v[a+20>>2];g=j>>>6|0;if(e>>>0<=g>>>0){c=v[a+28>>2];f:{if(c>>>0>g>>>0){f=v[a+32>>2];break f}c=c+v[a+36>>2]|0;f=ab((c|0)!=(c&1073741823)?-1:c<<2);d=a;i=v[a+32>>2];if(i){cb(f,i,e<<2);$a(i);e=v[a+24>>2];j=v[a+20>>2];c=v[a+28>>2]+v[a+36>>2]|0}v[d+28>>2]=c;v[a+32>>2]=f}s=(g<<2)+f|0,t=ab(512),v[s>>2]=t;v[a+24>>2]=e+1}c=v[v[a+32>>2]+(g<<2)>>2]+((j&63)<<3)|0;v[c+4>>2]=l;v[c>>2]=h;c=v[a+20>>2];v[a+20>>2]=c+1;c=c^-1}g=c;e=v[a+44>>2];j=v[a+40>>2];h=j>>>10|0;if(e>>>0<=h>>>0){c=v[a+48>>2];g:{if(c>>>0>h>>>0){d=v[a+52>>2];break g}c=c+v[a+56>>2]|0;d=ab((c|0)!=(c&1073741823)?-1:c<<2);f=a;i=v[a+52>>2];if(i){cb(d,i,e<<2);$a(i);e=v[a+44>>2];j=v[a+40>>2];c=v[a+48>>2]+v[a+56>>2]|0}v[f+48>>2]=c;v[a+52>>2]=d}s=(h<<2)+d|0,t=ab(12288),v[s>>2]=t;v[a+44>>2]=e+1}c=v[v[a+52>>2]+(h<<2)>>2]+B(j&1023,12)|0;v[c+8>>2]=g;v[c+4>>2]=o;v[c>>2]=m;v[a+40>>2]=v[a+40>>2]+1;if(v[a+104>>2]>(m|0)){v[a+104>>2]=m}c=(m+q|0)-1|0;if((c|0)>v[a+112>>2]){v[a+112>>2]=c}b=b+8|0;n=n-1|0;if(n){continue}break}d=v[a- -64>>2];f=v[a+60>>2];e=f>>>8|0;if(d>>>0<=e>>>0){b=v[a+68>>2];h:{if(b>>>0>e>>>0){b=v[a+72>>2];break h}c=b+v[a+76>>2]|0;b=ab((c|0)!=(c&1073741823)?-1:c<<2);g=a;h=v[a+72>>2];if(h){cb(b,h,d<<2);$a(h);f=w[a+60|0];d=v[a+64>>2];c=v[a+68>>2]+v[a+76>>2]|0}v[g+68>>2]=c;v[a+72>>2]=b}s=(e<<2)+b|0,t=ab(3072),v[s>>2]=t;v[a+64>>2]=d+1}b=v[v[a+72>>2]+(e<<2)>>2]+B(f&255,12)|0;v[b+8>>2]=r;v[b+4>>2]=p;v[b>>2]=k;v[a+60>>2]=v[a+60>>2]+1}function G$(a,b){var 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,x=0,y=0,z=0,A=0,C=0;m=Ma-16|0;Ma=m;r=v[a>>2];d=v[a+2748>>2];g=v[v[d>>2]+8>>2];c=B(b,1348)+a|0;j=c;v[c+56>>2]=0;e=(b|0)==1?w[v[(g<<2)+428992>>2]+12|0]:e;s=c+44|0;k=v[s>>2];c=v[c+52>>2];i=v[(b?12:4)+a>>2];if(!b){f=Ub(64,v[a+12>>2])}z=Ub(32,i);l=(B(b,1348)+a|0)- -64|0;g=0;a=xb(v[((d+44|0)+B(b,9804)|0)+204>>2],i);n=Ub((a|0)<16?a:16,i);a:{b:{if((k|0)<=0){break b}o=B(k,44)+c|0;A=B(f,3);b=c;while(1){a=u[b+10>>1];c:{if((a|0)<(f|0)|u[b+4>>1]>(z|0)){break c}p=w[b+1|0];if((p|0)==4|(a<<1<(A|0)?v[b+24>>2]:0)){break c}d:{x=v[j+56>>2];e:{if((x|0)<=0){h=u[b+2>>1];break e}h=u[b+2>>1];C=v[l>>2];a=0;while(1){d=B(a,44)+C|0;y=h-u[d>>1]|0;q=y>>31;if(w[d+13|0]==(p|0)&(n|0)>(q^q+y)){break d}a=a+1|0;if((x|0)!=(a|0)){continue}break}}a=L$(s,h,p<<24>>24,e,r,m+12|0);if(!a){a=v[m+12>>2];v[a+40>>2]=b;v[a+36>>2]=b;v[a>>2]=0;v[a+4>>2]=0;v[a+32>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;t[a+13|0]=w[b+1|0];d=a;a=u[b+2>>1];u[d>>1]=a;a=xb(a,i);d=v[m+12>>2];v[d+8>>2]=a;v[d+4>>2]=a;v[b+16>>2]=b;break c}g=a;break a}v[b+16>>2]=v[d+36>>2];v[v[d+40>>2]+16>>2]=b;v[d+40>>2]=b}b=b+44|0;if(o>>>0>b>>>0){continue}break}if((k|0)<=0){break b}while(1){f:{if(w[c+1|0]!=4){break f}i=v[j+56>>2];if((i|0)<1){break f}d=u[c+2>>1];f=v[l>>2];b=0;while(1){a=f+B(b,44)|0;h=d-u[a>>1]|0;e=h>>31;if((n|0)<=(e^e+h)){b=b+1|0;if((i|0)!=(b|0)){continue}break f}break}v[c+16>>2]=v[a+36>>2];v[v[a+40>>2]+16>>2]=c;v[a+40>>2]=c}c=c+44|0;if(o>>>0>c>>>0){continue}break}}e=v[l>>2];if(!e){break a}c=v[j+56>>2];if((c|0)<=0){break a}k=B(c,44)+e|0;a=e;while(1){g=v[a+36>>2];b=g;if(b){while(1){v[b+12>>2]=a;b=v[b+16>>2];if((g|0)!=(b|0)){continue}break}}a=a+44|0;if(k>>>0>a>>>0){continue}break}g=0;if((c|0)<=0){break a}while(1){i=e+28|0;d=e+24|0;n=v[e+36>>2];b=n;a=0;j=0;while(1){o=t[b|0]&1;p=!o;g:{h:{i:{j:{c=v[b+24>>2];k:{if(c){c=v[c+12>>2];f=(c|0)!=0&(c|0)!=(e|0);h=v[b+20>>2];if(!h){break j}c=b+20|0;break k}h=v[b+20>>2];if(!h){break g}f=0;c=b+20|0}if(!(f?1:v[h+12>>2])){break g}h=0;g=d;if(!f){break h}break i}if(!f){break g}}c=b+24|0;h=1;g=i}c=v[c>>2];f=v[g>>2];l:{if(f){q=u[b+2>>1]-u[c+2>>1]|0;g=q>>31;r=u[e>>1]-u[f>>1]|0;l=r>>31;if((g^g+q)>>>0>=(l^l+r)>>>0){break l}}f=v[c+12>>2]}if(h){v[i>>2]=f;t[f+12|0]=w[f+12|0]|2;break g}v[d>>2]=f}a=a+o|0;j=j+p|0;b=v[b+16>>2];if((n|0)!=(b|0)){continue}break}t[e+12|0]=(a|0)!=0&a>>>0>=j>>>0;if(!(!v[e+28>>2]|!v[d>>2])){v[i>>2]=0}e=e+44|0;if(k>>>0>e>>>0){continue}break}g=0}Ma=m+16|0;return g}function Ww(a){var b=0,c=0,d=0,e=0,f=0;c=v[a+528>>2];d=Nj(a,c,0,0,0,0,0,0,0,1);a:{if(d){break a}v[c+36>>2]=0;v[c+40>>2]=0;t[c+31|0]=1;t[c+32|0]=1;v[c+48>>2]=0;v[c+52>>2]=0;t[c+44|0]=0;v[c+56>>2]=0;v[c+60>>2]=0;b=c- -64|0;v[b>>2]=0;v[b+4>>2]=0;u[c+70>>1]=0;u[c+72>>1]=0;u[c+74>>1]=0;u[c+76>>1]=0;t[a+433|0]=0;c=a;b=v[a+548>>2];b:{if(b){t[a+306|0]=w[b|0];t[a+307|0]=w[b+1|0];t[a+308|0]=w[b+2|0];t[a+309|0]=w[b+3|0];t[a+310|0]=w[b+4|0];t[a+311|0]=w[b+5|0];t[a+312|0]=w[b+6|0];u[a+1052>>1]=x[b+8>>1];u[a+1054>>1]=x[b+10>>1];u[a+1056>>1]=x[b+12>>1];t[a+1058|0]=w[b+14|0];u[a+1060>>1]=x[b+16>>1];t[a+1062|0]=w[b+18|0];t[a+1080|0]=w[b+19|0];v[a+1088>>2]=v[b+24>>2];t[a+1092|0]=w[b+28|0];v[a+1096>>2]=v[b+32>>2];v[a+1100>>2]=v[b+36>>2];v[a+1104>>2]=v[b+40>>2];v[a+1108>>2]=v[b+44>>2];v[a+1144>>2]=v[a+1116>>2];v[a+1160>>2]=v[b+48>>2];cb(a+1164|0,b+52|0,768);v[a+1932>>2]=v[b+820>>2];cb(a+1936|0,b+824|0,256);v[a+2192>>2]=v[b+1080>>2];v[a+2196>>2]=v[b+1084>>2];v[a+2200>>2]=v[b+1088>>2];v[a+2204>>2]=v[b+1092>>2];v[a+2208>>2]=v[b+1096>>2];v[a+2212>>2]=v[b+1100>>2];v[a+2216>>2]=v[b+1104>>2];v[a+2220>>2]=v[b+1108>>2];v[a+2224>>2]=v[b+1112>>2];t[a+2228|0]=w[b+1116|0];d=v[b+1120>>2];v[a+2232>>2]=d;if(d){d=Qa[v[a+152>>2]](d)|0;v[a+2236>>2]=d;if(!d){ob(a,1,0,0);return 1}cb(d,v[b+1124>>2],v[a+2232>>2])}u[a+2240>>1]=x[b+1128>>1];u[a+2242>>1]=x[b+1130>>1];b=x[b+1132>>1];break b}u[a+306>>1]=0;u[a+308>>1]=0;t[a+309|0]=0;t[a+310|0]=0;t[a+311|0]=0;t[a+312|0]=0;if(!w[a+503|0]){t[a+1062|0]=0;u[a+1060>>1]=0;v[a+1052>>2]=0;b=a+1055|0;t[b|0]=0;t[b+1|0]=0;t[b+2|0]=0;t[b+3|0]=0}v[a+1096>>2]=0;v[a+1100>>2]=0;t[a+1092|0]=0;v[a+1088>>2]=2147483647;t[a+1080|0]=1;v[a+2192>>2]=0;v[a+2196>>2]=0;v[a+1932>>2]=0;v[a+1160>>2]=0;b=a+1104|0;v[b>>2]=0;v[b+4>>2]=0;v[a+1144>>2]=v[a+1116>>2];b=a+2200|0;v[b>>2]=0;v[b+4>>2]=0;b=a+2208|0;v[b>>2]=0;v[b+4>>2]=0;b=a+2216|0;v[b>>2]=0;v[b+4>>2]=0;b=a+2221|0;t[b|0]=0;t[b+1|0]=0;t[b+2|0]=0;t[b+3|0]=0;t[b+4|0]=0;t[b+5|0]=0;t[b+6|0]=0;t[b+7|0]=0;b=v[a+2232>>2];c:{if(!b){break c}d=v[a+2236>>2];if(!d){break c}Qa[v[a+156>>2]](d,b);v[a+2236>>2]=0}v[a+2240>>2]=0;v[a+2232>>2]=0;b=0}u[c+2244>>1]=b;d:{if(w[a+503|0]){break d}c=v[a+688>>2];if(!c){break d}f=a+692|0;while(1){b=c;c=v[b+8>>2];e:{if(w[b+30|0]){break e}d=v[b+12>>2];f:{if(d){v[d+8>>2]=c;break f}v[a+688>>2]=c}v[(c?c+12|0:f)>>2]=d;d=v[b+88>>2];if(w[d+32|0]){e=v[d+28>>2];if(e>>>0<=1){ob(a,999,0,0);return 999}v[d+28>>2]=e-1;Qa[v[a+156>>2]](b,92);break e}d=S4(a,d);Qa[v[a+156>>2]](b,92);if(d){break a}}if(c){continue}break}}d=0}return d}function FBa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=C(0),g=C(0),h=0,i=0,j=C(0),k=C(0),l=C(0),m=C(0),n=C(0),o=C(0),p=0,q=C(0),r=C(0),s=C(0),y=C(0),A=C(0),B=C(0),E=0,F=0,G=C(0);E=Ma-256|0;Ma=E;p=v[a+332>>2];a=v[b+84>>2];i=8;b=E;while(1){a:{b:{h=x[c+32>>1];F=x[c+16>>1];if(h|F){break b}h=0;if(x[c+48>>1]|x[c+64>>1]|(x[c+80>>1]|x[c+96>>1])){break b}if(x[c+112>>1]){break b}g=C(z[a>>2]*C(u[c>>1]));z[b+192>>2]=g;z[b+160>>2]=g;z[b+128>>2]=g;z[b+96>>2]=g;z[b+64>>2]=g;z[b+32>>2]=g;z[b>>2]=g;h=56;break a}j=C(z[a>>2]*C(u[c>>1]));k=C(z[a+128>>2]*C(u[c+64>>1]));q=C(j+k);l=C(z[a+64>>2]*C(h<<16>>16));m=C(z[a+192>>2]*C(u[c+96>>1]));g=C(l+m);n=C(q+g);o=C(z[a+96>>2]*C(u[c+48>>1]));r=C(z[a+160>>2]*C(u[c+80>>1]));s=C(o+r);y=C(z[a+32>>2]*C(F<<16>>16));A=C(z[a+224>>2]*C(u[c+112>>1]));B=C(y+A);f=C(s+B);z[b+224>>2]=n-f;z[b>>2]=n+f;j=C(j-k);k=C(C(C(l-m)*C(1.4142135381698608))-g);l=C(j+k);m=C(r-o);n=C(y-A);o=C(C(m+n)*C(1.8477590084075928));f=C(C(o+C(m*C(-2.613126039505005)))-f);z[b+192>>2]=l-f;z[b+32>>2]=l+f;j=C(j-k);f=C(C(C(B-s)*C(1.4142135381698608))-f);z[b+160>>2]=j-f;z[b+64>>2]=j+f;g=C(q-g);f=C(C(o+C(n*C(-1.0823922157287598)))-f);z[b+96>>2]=g+f;g=C(g-f);h=32}z[(h<<2)+b>>2]=g;c=c+2|0;a=a+4|0;b=b+4|0;h=i>>>0>1;i=i-1|0;if(h){continue}break}a=0;c=E;while(1){b=v[(a<<2)+d>>2]+e|0;h=b;j=C(z[c>>2]+C(128.5));k=z[c+16>>2];q=C(j+k);l=z[c+8>>2];m=z[c+24>>2];g=C(l+m);n=C(q+g);o=z[c+20>>2];r=z[c+12>>2];s=C(o+r);y=z[c+4>>2];A=z[c+28>>2];B=C(y+A);f=C(s+B);G=C(n+f);c:{if(C(D(G))>2];g=v[f>>2];m=A[g+32>>3];G=A[g>>3];u=A[g+16>>3];r=A[g+40>>3];n=A[g+8>>3];s=A[a+16>>3];j=A[g+24>>3];x=A[a+24>>3];h=(e|0)>1?e:1;v[f+24>>2]=h;v[f+4>>2]=h;i=f;s=s+ +(c|0);k=j;j=x+ +(d|0);x=k*j;k=(r+(n*s+x))*256;k=k+(k<0?-.5:.5);a:{if(D(k)<2147483648){d=~~k;break a}d=-2147483648}v[i+40>>2]=d;i=f;u=j*u;j=(m+(s*G+u))*256;j=j+(j<0?-.5:.5);b:{if(D(j)<2147483648){c=~~j;break b}c=-2147483648}v[i+20>>2]=c;i=f;k=r;r=s+ +(e>>>0);n=(k+(r*n+x))*256;n=n+(n<0?-.5:.5);c:{if(D(n)<2147483648){p=~~n;break c}p=-2147483648}d=p-d|0;g=(d|0)/(h|0)|0;l=d-B(g,h)|0;o=(l|0)<1;v[i+28>>2]=g-o;p=f;m=(m+(r*G+u))*256;m=m+(m<0?-.5:.5);d:{if(D(m)<2147483648){d=~~m;break d}d=-2147483648}c=d-c|0;d=(c|0)/(h|0)|0;i=d;c=c-B(d,h)|0;d=(c|0)<1;v[p+8>>2]=i-d;g=l+(o?e:0)|0;v[f+32>>2]=g;c=c+(d?e:0)|0;v[f+12>>2]=c;v[f+36>>2]=g-e;v[f+16>>2]=c-e;c=v[a+4>>2];f=v[c+40>>2];c=v[c+20>>2];while(1){g=v[a+36>>2];d=v[a>>2];l=c-v[a+32>>2]|0;h=l>>8;v[d+8>>2]=h;o=f-g|0;g=v[d+28>>2];c=(v[d+32>>2]+(o>>8)>>>0)%(g>>>0)|0;v[d+36>>2]=c;f=v[v[d>>2]>>2];C=v[f+4>>2];E=v[f+16>>2];f=h+v[d+16>>2]|0;h=v[d+12>>2];f=(f>>>0)%(h>>>0)|0;v[d+20>>2]=f;g=C+B(E,c>>>0>2]?c:g+(c^-1)|0)|0;v[d+4>>2]=g;c=g+(f<<2)|0;C=w[c+2|0];E=w[c+1|0];H=w[c|0];q=w[c+3|0];c=f+1|0;c=c>>>0>>0?c:0;v[d+20>>2]=c;c=g+(c<<2)|0;I=w[c+2|0];J=w[c+1|0];K=w[c|0];f=w[c+3|0];c=v[a>>2];d=v[c+36>>2]+1|0;g=v[c+28>>2];d=g>>>0>d>>>0?d:0;v[c+36>>2]=d;h=v[v[c>>2]>>2];F=v[h+4>>2];h=v[h+16>>2];z=(v[c+16>>2]+v[c+8>>2]>>>0)%y[c+12>>2]|0;v[c+20>>2]=z;i=c;c=F+B(h,d>>>0>2]?d:g+(d^-1)|0)|0;v[i+4>>2]=c;c=c+(z<<2)|0;F=w[c+2|0];z=w[c+1|0];L=w[c|0];g=w[c+3|0];c=v[a>>2];d=v[c+20>>2]+1|0;d=d>>>0>2]?d:0;v[c+20>>2]=d;c=v[c+4>>2]+(d<<2)|0;M=w[c+2|0];N=w[c+1|0];O=w[c|0];P=q;h=o&255;o=256-h|0;l=l&255;q=256-l|0;d=B(o,q);p=f;f=B(l,o);i=g;g=B(h,q);q=w[c+3|0];c=B(h,l);t[b+3|0]=(((B(P,d)+B(p,f)|0)+B(i,g)|0)+B(q,c)|0)+32768>>>16;t[b+2|0]=(((B(d,H)+B(f,K)|0)+B(g,L)|0)+B(c,O)|0)+32768>>>16;t[b+1|0]=(((B(d,E)+B(f,J)|0)+B(g,z)|0)+B(c,N)|0)+32768>>>16;t[b|0]=(((B(d,C)+B(f,I)|0)+B(g,F)|0)+B(c,M)|0)+32768>>>16;d=v[a+4>>2];c=d;f=v[c+16>>2]+v[c+12>>2]|0;v[c+16>>2]=f;c=v[c+20>>2]+v[c+8>>2]|0;v[d+20>>2]=c;if((f|0)>=1){c=c+1|0;v[d+20>>2]=c;v[d+16>>2]=f-v[d+4>>2]}g=v[d+36>>2]+v[d+32>>2]|0;v[d+36>>2]=g;f=v[d+40>>2]+v[d+28>>2]|0;v[d+40>>2]=f;if((g|0)>=1){f=f+1|0;v[d+40>>2]=f;v[d+36>>2]=g-v[d+24>>2]}b=b+4|0;e=e-1|0;if(e){continue}break}}function I1(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,z=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0;f=v[a+4>>2];g=v[f>>2];m=A[g+32>>3];G=A[g>>3];u=A[g+16>>3];r=A[g+40>>3];n=A[g+8>>3];s=A[a+16>>3];j=A[g+24>>3];x=A[a+24>>3];h=(e|0)>1?e:1;v[f+24>>2]=h;v[f+4>>2]=h;i=f;s=s+ +(c|0);k=j;j=x+ +(d|0);x=k*j;k=(r+(n*s+x))*256;k=k+(k<0?-.5:.5);a:{if(D(k)<2147483648){d=~~k;break a}d=-2147483648}v[i+40>>2]=d;i=f;u=j*u;j=(m+(s*G+u))*256;j=j+(j<0?-.5:.5);b:{if(D(j)<2147483648){c=~~j;break b}c=-2147483648}v[i+20>>2]=c;i=f;k=r;r=s+ +(e>>>0);n=(k+(r*n+x))*256;n=n+(n<0?-.5:.5);c:{if(D(n)<2147483648){p=~~n;break c}p=-2147483648}d=p-d|0;g=(d|0)/(h|0)|0;l=d-B(g,h)|0;o=(l|0)<1;v[i+28>>2]=g-o;p=f;m=(m+(r*G+u))*256;m=m+(m<0?-.5:.5);d:{if(D(m)<2147483648){d=~~m;break d}d=-2147483648}c=d-c|0;d=(c|0)/(h|0)|0;i=d;c=c-B(d,h)|0;d=(c|0)<1;v[p+8>>2]=i-d;g=l+(o?e:0)|0;v[f+32>>2]=g;c=c+(d?e:0)|0;v[f+12>>2]=c;v[f+36>>2]=g-e;v[f+16>>2]=c-e;c=v[a+4>>2];f=v[c+40>>2];c=v[c+20>>2];while(1){g=v[a+36>>2];d=v[a>>2];l=c-v[a+32>>2]|0;h=l>>8;v[d+8>>2]=h;o=f-g|0;g=v[d+28>>2];c=(v[d+32>>2]+(o>>8)>>>0)%(g>>>0)|0;v[d+36>>2]=c;f=v[v[d>>2]>>2];C=v[f+4>>2];E=v[f+16>>2];f=h+v[d+16>>2]|0;h=v[d+12>>2];f=(f>>>0)%(h>>>0)|0;v[d+20>>2]=f;g=C+B(E,c>>>0>2]?c:g+(c^-1)|0)|0;v[d+4>>2]=g;c=g+(f<<2)|0;C=w[c|0];E=w[c+1|0];H=w[c+2|0];q=w[c+3|0];c=f+1|0;c=c>>>0>>0?c:0;v[d+20>>2]=c;c=g+(c<<2)|0;I=w[c|0];J=w[c+1|0];K=w[c+2|0];f=w[c+3|0];c=v[a>>2];d=v[c+36>>2]+1|0;g=v[c+28>>2];d=g>>>0>d>>>0?d:0;v[c+36>>2]=d;h=v[v[c>>2]>>2];F=v[h+4>>2];h=v[h+16>>2];z=(v[c+16>>2]+v[c+8>>2]>>>0)%y[c+12>>2]|0;v[c+20>>2]=z;i=c;c=F+B(h,d>>>0>2]?d:g+(d^-1)|0)|0;v[i+4>>2]=c;c=c+(z<<2)|0;F=w[c|0];z=w[c+1|0];L=w[c+2|0];g=w[c+3|0];c=v[a>>2];d=v[c+20>>2]+1|0;d=d>>>0>2]?d:0;v[c+20>>2]=d;c=v[c+4>>2]+(d<<2)|0;M=w[c|0];N=w[c+1|0];O=w[c+2|0];P=q;h=o&255;o=256-h|0;l=l&255;q=256-l|0;d=B(o,q);p=f;f=B(l,o);i=g;g=B(h,q);q=w[c+3|0];c=B(h,l);t[b+3|0]=(((B(P,d)+B(p,f)|0)+B(i,g)|0)+B(q,c)|0)+32768>>>16;t[b+2|0]=(((B(d,H)+B(f,K)|0)+B(g,L)|0)+B(c,O)|0)+32768>>>16;t[b+1|0]=(((B(d,E)+B(f,J)|0)+B(g,z)|0)+B(c,N)|0)+32768>>>16;t[b|0]=(((B(d,C)+B(f,I)|0)+B(g,F)|0)+B(c,M)|0)+32768>>>16;d=v[a+4>>2];c=d;f=v[c+16>>2]+v[c+12>>2]|0;v[c+16>>2]=f;c=v[c+20>>2]+v[c+8>>2]|0;v[d+20>>2]=c;if((f|0)>=1){c=c+1|0;v[d+20>>2]=c;v[d+16>>2]=f-v[d+4>>2]}g=v[d+36>>2]+v[d+32>>2]|0;v[d+36>>2]=g;f=v[d+40>>2]+v[d+28>>2]|0;v[d+40>>2]=f;if((g|0)>=1){f=f+1|0;v[d+40>>2]=f;v[d+36>>2]=g-v[d+24>>2]}b=b+4|0;e=e-1|0;if(e){continue}break}}function $Z(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;g=Ma-16|0;Ma=g;a:{if(w[a+16|0]&8){break a}f=B(c,204)+b|0;l=v[f+200>>2];h=v[f+204>>2]+xb(v[a>>2],l)|0;f=xb(v[a+4>>2],l);b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{switch(c|0){case 1:if(w[d+121|0]){break k}break b;case 0:break l;default:break j}}if(!w[d+120|0]){break b}e=w[d+122|0];v[a+12>>2]=f;v[g>>2]=0;j=(e|0)!=0;e=a+12|0;break i}p=w[d+123|0];v[a+12>>2]=f;v[g>>2]=0;v[g+4>>2]=0;v[g+8>>2]=0;q=v[a>>2];j=q+v[a+4>>2]|0;v[g>>2]=0;e=b+412|0;r=w[e+2080|0];s=2;k=v[e>>2];m:{if(!k){break m}i=e+4|0;m=v[e+2076>>2];n=0-m|0;while(1){o=j-v[i+12>>2]|0;if((n|0)>(o|0)){break m}if((j|0)<=(m+v[i+8>>2]|0)){if(!r&v[e+2072>>2]<(o|0)){break m}v[g>>2]=1;v[g+4>>2]=v[i+16>>2];s=3;break m}i=i+32|0;k=k-1|0;if(k){continue}break}}j=v[e+516>>2];n:{if(!j){break n}k=v[e+2076>>2];m=0-k|0;i=(e+(j<<5)|0)+520|0;while(1){n=v[i-24>>2]-q|0;if((n|0)<(m|0)){break n}if((q|0)<(v[i-20>>2]-k|0)){i=i-32|0;j=j-1|0;if(!j){break n}continue}break}if(!r&(n|0)>=v[e+2072>>2]){break n}v[g>>2]=s;v[g+8>>2]=v[i-16>>2]}i=a+12|0;j=(p|0)!=0;o:{switch(v[g>>2]-1|0){case 1:v[a+8>>2]=v[g+8>>2];if(!p){break c}b=v[a+12>>2];f=(b|0)<64?64:b+32&-64;break d;case 2:break o;case 0:break g;default:break h}}b=v[g+8>>2];v[a+8>>2]=b;v[a+12>>2]=v[g+4>>2]-b;break c}v[a+12>>2]=f;v[g>>2]=0;e=a+12|0}i=e;v[g+4>>2]=0;v[g+8>>2]=0}e=v[a+20>>2];if(e){if(!(w[e+16|0]&8)){$Z(e,b,c,d)}h=((v[e+8>>2]-(f>>1)|0)+(v[e+12>>2]>>1)|0)+xb((v[a>>2]-(v[e>>2]+(v[e+4>>2]>>1)|0)|0)+(v[a+4>>2]>>1)|0,l)|0}v[a+12>>2]=f;o=a;e=f;p:{if(!w[d+124|0]){break p}if((f|0)<=64){if((f|0)>=32){h=(f>>>1|0)+h&-64;e=64;break p}b=h+32&-64;if((f|0)<1){h=b;e=f;break p}e=b-h|0;c=e>>31;d=f+h|0;h=d+32&-64;l=h-d|0;d=l>>31;h=(c^c+e)>>>0>(d^d+l)>>>0?h:b;e=f;break p}b=v[(B(c,204)+b|0)+12>>2];d=f-b|0;c=d>>31;if((c^c+d)>>>0<=39){f=b;e=54;if((f|0)<49){break p}}if((f|0)<=191){b=f&63;e=f;if(b>>>0<10){break p}c=f&-64;e=c|10;if(b>>>0<=31){break p}e=f;if(b>>>0>53){break p}e=c|54;break p}e=f+32&-64}v[o+12>>2]=e;b=(h+32&-64)-h|0;c=b>>31;d=e+h|0;d=(d+32&-64)-d|0;f=d>>31;d=((c^b+c)>>>0>(f^d+f)>>>0?d:b)+h|0;v[a+8>>2]=d;if(!j){break c}b=v[a+12>>2];f=(b|0)<64?64:b+32&-64;h=a+8|0;switch(v[g>>2]-1|0){case 2:break c;case 1:break d;case 0:break f;default:break e}}v[a+8>>2]=v[g+4>>2]-f;if(!p){break c}b=v[a+12>>2];f=(b|0)<64?64:b+32&-64;h=a+8|0}v[h>>2]=v[g+4>>2]-f;break d}v[i>>2]=f;c=f>>1;v[a+8>>2]=(f&64?c+d&-64|32:(c+d|0)+32&-64)-c}v[i>>2]=f}v[a+16>>2]=v[a+16>>2]|8;break a}v[a+12>>2]=f;v[a+8>>2]=h;v[a+16>>2]=v[a+16>>2]|8}Ma=g+16|0}function TK(a,b){var 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=Ma-16|0;Ma=c;i=x[a+25204>>1];Qa[v[v[a>>2]+8>>2]](v[a+4>>2],b,0)|0;a:{if(Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0){break a}if((Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0)!=77){break a}if((Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0)!=82){break a}o=a,p=B(Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0,257),u[o+25204>>1]=p;v[c+12>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,4)|0;f=w[c+12|0];if(x[a+25204>>1]==18761){f=f|w[c+13|0]<<8|w[c+14|0]<<16|w[c+15|0]<<24}else{f=w[c+15|0]|(w[c+13|0]<<16|f<<24|w[c+14|0]<<8)}h=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;b=(b+f|0)+8|0;if((h|0)<(b|0)){j=a+25797|0;k=b;l=b>>31;while(1){f=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;d=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;e=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;g=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[c+12>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,4)|0;d=(e|(f<<16|d<<8))<<8|g;f=w[c+12|0];if(x[a+25204>>1]==18761){f=f|w[c+13|0]<<8|w[c+14|0]<<16|w[c+15|0]<<24}else{f=w[c+15|0]|(w[c+13|0]<<16|f<<24|w[c+14|0]<<8)}b:{c:{d:{e:{if((d|0)!=5718599){if((d|0)==5526615){break e}if((d|0)!=5263940){break b}Qa[v[v[a>>2]+8>>2]](v[a+4>>2],8,1)|0;u[c+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,2)|0;d=w[c+12|0];if(x[a+25204>>1]==18761){d=d|w[c+13|0]<<8}else{d=w[c+13|0]|d<<8}u[c+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,2)|0;e=w[c+12|0];m=d&65535;if(x[a+25204>>1]==18761){d=e|w[c+13|0]<<8}else{d=w[c+13|0]|e<<8}n=d&65535;break b}v[c+12>>2]=-1;d=c+12|0;Qa[v[v[a>>2]>>2]](v[a+4>>2],d,1,4)|0;g=hb(j,75703);u[c+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],d,1,2)|0;e=w[c+12|0];d=g?0:3;g=((d<<2)+a|0)+59268|0;if(x[a+25204>>1]==18761){e=e|w[c+13|0]<<8}else{e=w[c+13|0]|e<<8}z[g>>2]=(e&65535)>>>0;u[c+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,2)|0;e=w[c+12|0];if(x[a+25204>>1]==18761){break d}e=w[c+13|0]|e<<8;break c}Wq(a,Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0);v[a+26048>>2]=k;v[a+26052>>2]=l;break b}e=e|w[c+13|0]<<8}z[(((d^1)<<2)+a|0)+59268>>2]=(e&65535)>>>0;u[c+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,2)|0;e=w[c+12|0];g=(((d^3)<<2)+a|0)+59268|0;if(x[a+25204>>1]!=18761){e=w[c+13|0]|e<<8}else{e=e|w[c+13|0]<<8}z[g>>2]=(e&65535)>>>0;u[c+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,2)|0;e=w[c+12|0];g=(((d^2)<<2)+a|0)+59268|0;if(x[a+25204>>1]!=18761){d=w[c+13|0]|e<<8}else{d=e|w[c+13|0]<<8}z[g>>2]=(d&65535)>>>0}Qa[v[v[a>>2]+8>>2]](v[a+4>>2],(f+h|0)+8|0,0)|0;h=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;if((b|0)>(h|0)){continue}break}}u[a+26306>>1]=n;u[a+26304>>1]=m;u[a+25204>>1]=i}Ma=c+16|0}function KS(a,b,c){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;i=Ma-16|0;Ma=i;a:{b:{c:{d:{e:{d=v[a+708>>2];switch(d|0){case 0:break c;case 1:break e;default:break d}}uc(a,c);break b}d=d-1|0;v[a+708>>2]=d;if((d|0)!=1){break c}Db(a,59427);uc(a,c);break b}d=v[a+200>>2];if(!(d&1)){break a}if(d&4){Db(a,60057);uc(a,c);break b}Tb(a,v[a+740>>2]);d=fg(a,c+1|0);v[a+740>>2]=d;Ye(a,d,c);gc(a,d,c);d=uc(a,0);e=v[a+740>>2];if(d){Tb(a,e);v[a+740>>2]=0;break b}t[c+e|0]=0;g=v[a+740>>2];e=g;while(1){d=e;e=d+1|0;if(w[d|0]){continue}break}if(!((c+g|0)-2>>>0>=e>>>0&c>>>0>=2)){Tb(a,g);v[a+740>>2]=0;Db(a,60177);break b}k=w[d+1|0];t[i+4|0]=k;e=d+2|0;d=(g-e|0)+c|0;c=(k|0)==8?6:10;h=(d>>>0)/(c>>>0)|0;if((d|0)!=(B(c,h)|0)){Tb(a,g);v[a+740>>2]=0;Db(a,60438);break b}if(h>>>0>=429496730){Db(a,60785);break b}v[i+12>>2]=h;g=jf(a,B(h,10));v[i+8>>2]=g;f:{g:{if(g){if(c>>>0>d>>>0){break f}if((k|0)!=8){break g}while(1){c=g+B(f,10)|0;u[c>>1]=w[e|0];u[c+2>>1]=w[e+1|0];u[c+4>>1]=w[e+2|0];u[c+6>>1]=w[e+3|0];d=c;c=w[e+4|0]|w[e+5|0]<<8;u[d+8>>1]=c<<8|c>>>8;e=e+6|0;f=f+1|0;if((h|0)!=(f|0)){continue}break}break f}Db(a,60890);break b}while(1){d=g+B(f,10)|0;c=w[e|0]|w[e+1|0]<<8;u[d>>1]=c<<8|c>>>8;c=w[e+2|0]|w[e+3|0]<<8;u[d+2>>1]=c<<8|c>>>8;c=w[e+4|0]|w[e+5|0]<<8;u[d+4>>1]=c<<8|c>>>8;c=w[e+6|0]|w[e+7|0]<<8;u[d+6>>1]=c<<8|c>>>8;c=w[e+8|0]|w[e+9|0]<<8;u[d+8>>1]=c<<8|c>>>8;e=e+10|0;f=f+1|0;if((h|0)!=(f|0)){continue}break}}v[i>>2]=v[a+740>>2];e=Ma-80|0;Ma=e;h:{if(!a|!b){break h}i:{c=v[b+216>>2];j:{if((2147483647-c|0)<1){break j}c=c+1|0;if(c>>>0>268435454){break j}c=jf(a,c<<4);if(c){break i}}Db(a,53610);break h}d=c;c=v[b+212>>2];g=cb(d,c,v[b+216>>2]<<4);Tb(a,c);v[b+212>>2]=0;while(1){l=(n<<4)+i|0;h=v[l>>2];k:{if(!h){t[e|0]=0;Db(a,54655);break k}k=v[b+216>>2];f=1;m=0;d=e;j=w[h|0];l:{if(!j){c=1;break l}while(1){h=h+1|0;m:{n:{if(j>>>0>160){c=0;break n}c=0;if((j-33&255)>>>0<94){break n}c=1;if(f){break m}j=32}t[d|0]=j;m=m+1|0;d=d+1|0}j=w[h|0];if(!j){break l}f=c;if(m>>>0<79){continue}break}}c=(m|0)!=0&c;t[d-c|0]=0;c=m-c|0;if(!c){Db(a,54655);break k}f=((k<<4)+g|0)+(o<<4)|0;c=c+1|0;d=jf(a,c);v[f>>2]=d;if(!d){Db(a,54978);break k}c=cb(d,e,c);d=jf(a,B(v[l+12>>2],10));v[f+8>>2]=d;if(!d){Db(a,54978);Tb(a,c);v[f>>2]=0;break k}c=v[l+12>>2];cb(d,v[l+8>>2],B(c,10));v[f+12>>2]=c;t[f+4|0]=w[l+4|0];o=o+1|0}n=n+1|0;if((n|0)!=1){continue}break}v[b+216>>2]=o;v[b+212>>2]=g;v[b+8>>2]=v[b+8>>2]|8192;v[b+184>>2]=v[b+184>>2]|32}Ma=e+80|0;Tb(a,v[a+740>>2]);v[a+740>>2]=0;Tb(a,v[i+8>>2])}Ma=i+16|0;return}dc(a,59673);L()}function UZ(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{switch(v[a+92>>2]){case 0:f=v[a+64>>2];if((f|0)<(c|0)){j:{if(v[a+84>>2]){e=v[a+36>>2];break j}e=v[a+36>>2];v[a+84>>2]=e;v[a+80>>2]=e;e=e+32|0;v[a+36>>2]=e}if(y[a+32>>2]>e>>>0){g=v[a+4>>2];h=v[a+8>>2];d=v[a+80>>2];v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=e;v[d+28>>2]=0;v[d+4>>2]=0;u[d+12>>1]=w[a+164|0]|((h|0)>(((f+g|0)-1&0-g)-f|0)?8:40);if(!v[a+88>>2]){v[a+88>>2]=d}break f}break a}if((c|0)>=(f|0)){break c}k:{if(v[a+84>>2]){e=v[a+36>>2];break k}e=v[a+36>>2];v[a+84>>2]=e;v[a+80>>2]=e;e=e+32|0;v[a+36>>2]=e}if(y[a+32>>2]>e>>>0){g=v[a+4>>2];h=v[a+8>>2];d=v[a+80>>2];v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=e;v[d+28>>2]=0;v[d+4>>2]=0;e=w[a+164|0];u[d+12>>1]=(h|0)>(f&g-1)?e:e|16;if(!v[a+88>>2]){v[a+88>>2]=d}break h}break a;case 2:break g;case 1:break i;default:break c}}d=v[a+64>>2];if((d|0)<=(c|0)){break e}f=v[a+36>>2];e=v[a+80>>2];g=f-v[e+8>>2]|0;if((g|0)<=-1){v[a+40>>2]=99;return 1}h=v[a+4>>2]-1&d;i=v[a+8>>2];l:{if(!g){d=f;break l}v[e+16>>2]=g>>2;if((h|0)>=(i|0)){d=x[e+12>>1];u[e+12>>1]=(d&8?16:32)|d}v[a+80>>2]=f;d=f+32|0;v[a+36>>2]=d;v[f+8>>2]=d;v[f+16>>2]=0;v[e+28>>2]=f;u[a+76>>1]=x[a+76>>1]+1;e=f}g=v[a+32>>2];if(g>>>0<=d>>>0){break a}t[a+79|0]=0;if(!v[a+84>>2]){v[a+84>>2]=d;v[a+80>>2]=d;f=d+32|0;v[a+36>>2]=f;e=d;d=f}if(d>>>0>=g>>>0){break a}v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=d;v[e+28>>2]=0;v[e+4>>2]=0;d=w[a+164|0];u[e+12>>1]=(h|0)<(i|0)?d:d|16;if(!v[a+88>>2]){v[a+88>>2]=e}}t[a+78|0]=1;v[a+92>>2]=2;t[a+79|0]=0;d=v[a+64>>2];break d}d=v[a+64>>2];if((d|0)>=(c|0)){break d}f=v[a+36>>2];e=v[a+80>>2];g=f-v[e+8>>2]|0;if((g|0)<=-1){v[a+40>>2]=99;return 1}h=v[a+4>>2];h=((h+d|0)-1&0-h)-d|0;i=v[a+8>>2];m:{if(!g){d=f;break m}v[e+16>>2]=g>>2;if((h|0)>=(i|0)){d=x[e+12>>1];u[e+12>>1]=(d&8?16:32)|d}v[a+80>>2]=f;d=f+32|0;v[a+36>>2]=d;v[f+8>>2]=d;v[f+16>>2]=0;v[e+28>>2]=f;u[a+76>>1]=x[a+76>>1]+1;e=f}g=v[a+32>>2];if(g>>>0<=d>>>0){break a}t[a+79|0]=0;if(!v[a+84>>2]){v[a+84>>2]=d;v[a+80>>2]=d;f=d+32|0;v[a+36>>2]=f;e=d;d=f}if(d>>>0>=g>>>0){break a}v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=d;v[e+28>>2]=0;v[e+4>>2]=0;u[e+12>>1]=w[a+164|0]|((h|0)<(i|0)?8:40);if(!v[a+88>>2]){v[a+88>>2]=e}}t[a+78|0]=1;v[a+92>>2]=1;t[a+79|0]=0;d=v[a+64>>2]}f=1;if(SZ(a,v[a+60>>2],d,b,c,v[a+68>>2],v[a+72>>2])){break b}break c}e=w[a+78|0];d=SZ(a,v[a+60>>2],0-d|0,b,0-c|0,0-v[a+72>>2]|0,0-v[a+68>>2]|0);if(!(w[a+78|0]|!e)){e=v[a+80>>2];v[e+20>>2]=0-v[e+20>>2]}f=1;if(d){break b}}v[a+64>>2]=c;v[a+60>>2]=b;f=0}return f}v[a+40>>2]=98;return 1}function y3(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=Ma-16|0;Ma=c;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],b,0)|0;v[c+12>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,4)|0;b=w[c+12|0];if(x[a+25204>>1]==18761){b=b|w[c+13|0]<<8|w[c+14|0]<<16|w[c+15|0]<<24}else{b=w[c+15|0]|(w[c+13|0]<<16|b<<24|w[c+14|0]<<8)}if(b>>>0<=255){if(b){while(1){u[c+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,2)|0;e=w[c+12|0];if(x[a+25204>>1]==18761){e=e|w[c+13|0]<<8}else{e=w[c+13|0]|e<<8}u[c+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,2)|0;d=w[c+12|0];b=b-1|0;if(x[a+25204>>1]==18761){d=d|w[c+13|0]<<8}else{d=w[c+13|0]|d<<8}f=d&65535;g=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;d=a;a:{b:{c:{d:{h=a;e:{f:{g:{h:{i:{e=e&65535;switch(e-289|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:break a;case 15:break g;case 0:break h;default:break i}}if((e|0)!=256){if((e|0)!=12272){break a}u[c+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,2)|0;e=w[c+12|0];if(x[a+25204>>1]!=18761){break f}e=e|w[c+13|0]<<8;break e}u[c+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,2)|0;d=w[c+12|0];e=a;if(x[a+25204>>1]==18761){d=d|w[c+13|0]<<8}else{d=w[c+13|0]|d<<8}u[e+26304>>1]=d;u[c+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,2)|0;e=w[c+12|0];if(x[a+25204>>1]!=18761){break d}u[a+26306>>1]=e|w[c+13|0]<<8;break a}u[c+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,2)|0;d=w[c+12|0];e=a;if(x[a+25204>>1]==18761){d=d|w[c+13|0]<<8}else{d=w[c+13|0]|d<<8}u[e+26308>>1]=d;u[c+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,2)|0;d=w[c+12|0];e=a;if(x[a+25204>>1]==18761){d=d|w[c+13|0]<<8}else{d=w[c+13|0]|d<<8}u[e+26310>>1]=(d&65535)==4284?4287:d;break a}i=a,j=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])>>7,v[i+26100>>2]=j;break a}e=w[c+13|0]|e<<8}z[h+59272>>2]=(e&65535)>>>0;u[c+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,2)|0;e=w[c+12|0];if(x[a+25204>>1]==18761){break c}e=w[c+13|0]|e<<8;break b}u[a+26306>>1]=w[c+13|0]|e<<8;break a}e=e|w[c+13|0]<<8}z[d+59268>>2]=(e&65535)>>>0;u[c+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,2)|0;d=w[c+12|0];e=a;if(x[a+25204>>1]!=18761){d=w[c+13|0]|d<<8}else{d=d|w[c+13|0]<<8}z[e+59280>>2]=(d&65535)>>>0;u[c+12>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,2)|0;d=w[c+12|0];e=a;if(x[a+25204>>1]!=18761){d=w[c+13|0]|d<<8}else{d=d|w[c+13|0]<<8}z[e+59276>>2]=(d&65535)>>>0}Qa[v[v[a>>2]+8>>2]](v[a+4>>2],f+g|0,0)|0;if(b){continue}break}}b=v[a+26100>>2];u[a+26308>>1]=x[a+26308>>1]<>1]=x[a+26310>>1]>>>b}Ma=c+16|0}function jza(a,b){a=a|0;b=b|0;var 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;n=v[a+4>>2];c=v[n+52>>2];h=c?c:64;e=v[a+24>>2];o=v[a+12>>2];j=v[a+8>>2];a:{b:{f=v[n+56>>2];d=v[a+16>>2];g=v[a+20>>2]-d|0;if(!(!f|(g|0)<=0)){k=f?-1:0;break b}c=0;break a}c=1}c:while(1){d:{e:{if(!c){c=o-j>>1;g=(c|0)<(g|0)?c:g;f:{if((g|0)<1){break f}while(1){f=x[j>>1];if(f>>>0>12287){break f}i=d;g:{if(f>>>0<=32){h=(f|0)==32?h:64;c=f;break g}c=f-h|0;if(c- -64>>>0>127){break f}h=f&65408|64;c=c-112|0}t[i|0]=c;v[e>>2]=l;d=d+1|0;e=e+4|0;l=l+1|0;j=j+2|0;c=(g|0)>1;g=g-1|0;if(c){continue}break}}g=v[a+20>>2]-d|0;c=0;break e}if(j>>>0>>0){i=x[j>>1];c=(i&64512)==56320;f=c?(i+(f<<10)|0)-56613888|0:f;l=c+l|0;j=(c<<1)+j|0;c=1;break e}f=0-f|0;break d}while(1){h:{i:{j:{k:{if(!c){if(j>>>0>=o>>>0){break d}if((g|0)<=0){break k}k=l;c=j;while(1){l:{l=k+1|0;j=c+2|0;f=x[c>>1];if(f>>>0>32){break l}t[d|0]=f;v[e>>2]=k;h=(f|0)==32?h:64;e=e+4|0;d=d+1|0;if(j>>>0>=o>>>0){break d}i=(g|0)<2;g=g-1|0;k=l;c=j;if(!i){continue}break k}break}if((f&64512)!=55296){break h}c=1;continue c}c=f-h|0;h=f&-128|64;m:{if(f-12352>>>0>=42852){break m}h=12400;if((f|0)<12448){break m}h=30481;if(f-19968>>>0<20902){break m}h=49617;if((f|0)>44031){break m}h=f&-128|64}if(c- -64>>>0<=127){t[d|0]=c-112;v[e>>2]=k;g=g-1|0;e=e+4|0;d=d+1|0;if((f|0)<12288){break j}break i}if(!((g|0)<2|c+10513>>>0>21025)){i=d;n:{o:{p:{q:{if((c|0)>=0){c=c+-64|0;m=(c<<16>>16)/243|0;c=c-B(m,243)<<16>>16;m=m+208&65535;break q}m=-64-c|0;c=(m>>>0)/243|0;p=c^-1;q=0-c|0;c=m-B(c,243)|0;m=(c?p:q)+80|0;if(!c){break p}c=243-c|0}t[d|0]=m;if((c|0)<20){break o}c=c+13|0;break n}t[d|0]=m;c=0}c=w[c+855072|0]}t[i+1|0]=c;v[e+4>>2]=k;v[e>>2]=k;g=g-2|0;e=e+8|0;d=d+2|0;break i}c=RY(c);m=c>>24;i=c>>>0<67108864?m:4;if((i|0)<=(g|0)){r:{switch(i-2|0){case 2:t[d|0]=m;v[e>>2]=k;e=e+4|0;d=d+1|0;case 1:t[d|0]=c>>>16;v[e>>2]=k;e=e+4|0;d=d+1|0;case 0:t[d|0]=c>>>8;v[e>>2]=k;t[d+1|0]=c;v[e+4>>2]=k;e=e+8|0;d=d+2|0;break;default:break r}}g=g-i|0;break i}l=n+76|0;s:{t:{u:{v:{i=i-g|0;switch(i-1|0){case 0:break t;case 1:break u;case 2:break v;default:break s}}t[n+76|0]=c>>>16;l=n+77|0}t[l|0]=c>>>8;l=l+1|0}t[l|0]=c}t[n+63|0]=i;c=c>>(i<<3);w:{switch(g-1|0){case 2:t[d|0]=c>>>16;v[e>>2]=k;e=e+4|0;d=d+1|0;case 1:t[d|0]=c>>>8;v[e>>2]=k;e=e+4|0;d=d+1|0;case 0:t[d|0]=c;v[e>>2]=k;e=e+4|0;d=d+1|0;break;default:break w}}v[b>>2]=15;break d}v[b>>2]=15;break d}c=0;continue c}c=0;continue}c=1;continue}}break}v[n+52>>2]=h;v[n+56>>2]=0-f&f>>31;v[a+24>>2]=e;v[a+16>>2]=d;v[a+8>>2]=j}function FEa(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,h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=Ma-96|0;Ma=h;v[h+80>>2]=0;v[h+84>>2]=0;v[h+72>>2]=0;v[h+76>>2]=0;g=h- -64|0;v[g>>2]=0;v[g+4>>2]=0;v[h+56>>2]=0;v[h+60>>2]=0;v[h+48>>2]=0;v[h+52>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;m=c+10|0;g=yb(a,8,0,m,0,h+92|0);v[b+20>>2]=g;j=v[h+92>>2];if(!j){a:{if(!c){break a}while(1){j=Qa[d|0](f,l)|0;b:{if(!j){break b}i=0;c:{d:{if(!hb(518208,j)){break d}i=1;if(!hb(518214,j)){break d}i=2;if(!hb(518220,j)){break d}i=3;if(!hb(518229,j)){break d}i=4;if(!hb(518236,j)){break d}i=5;if(!hb(518243,j)){break d}i=6;if(!hb(518246,j)){break d}i=7;if(!hb(518261,j)){break d}i=8;if(!hb(518267,j)){break d}if(hb(518280,j)){break c}i=9}k=i<<2;i=k+(h+48|0)|0;if(v[i>>2]){break c}v[i>>2]=1;v[h+k>>2]=l}i=f_(j);if(i&2147483647){n=h+48|0;e:{f:{g:{h:{i:{j:{k:{l:{m:{if((i|0)<=915){n:{switch(i-160|0){case 0:break i;case 13:break m;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break e;default:break n}}switch(i-538|0){case 1:break g;case 0:break h;default:break l}}o:{p:{switch(i-937|0){default:q:{switch(i-8725|0){case 4:break j;case 0:break o;case 1:case 2:case 3:break e;default:break q}}k=0;if((i|0)==916){break f}break e;case 19:break k;case 0:break p;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:break e}}k=1;break f}k=2;break f}k=3;break f}if((i|0)!=713){break e}k=4;break f}k=5;break f}k=6;break f}k=7;break f}k=8;break f}k=9}v[n+(k<<2)>>2]=2}v[g+4>>2]=l;v[g>>2]=i;g=g+8|0}if(!e){break b}Qa[e|0](f,j)}l=l+1|0;if((l|0)!=(c|0)){continue}break}if(v[h+48>>2]!=1){break a}v[g>>2]=916;v[g+4>>2]=v[h>>2];g=g+8|0}if(v[h+52>>2]==1){v[g>>2]=937;v[g+4>>2]=v[h+4>>2];g=g+8|0}if(v[h+56>>2]==1){v[g>>2]=8725;v[g+4>>2]=v[h+8>>2];g=g+8|0}if(v[h+60>>2]==1){v[g>>2]=173;v[g+4>>2]=v[h+12>>2];g=g+8|0}if(v[h+64>>2]==1){v[g>>2]=713;v[g+4>>2]=v[h+16>>2];g=g+8|0}if(v[h+68>>2]==1){v[g>>2]=956;v[g+4>>2]=v[h+20>>2];g=g+8|0}if(v[h+72>>2]==1){v[g>>2]=8729;v[g+4>>2]=v[h+24>>2];g=g+8|0}if(v[h+76>>2]==1){v[g>>2]=160;v[g+4>>2]=v[h+28>>2];g=g+8|0}if(v[h+80>>2]==1){v[g>>2]=538;v[g+4>>2]=v[h+32>>2];g=g+8|0}if(v[h+84>>2]==1){v[g>>2]=539;v[g+4>>2]=v[h+36>>2];g=g+8|0}j=v[b+20>>2];e=g-j|0;d=e>>3;r:{if(!e){if(j){Qa[v[a+8>>2]](a,j)}v[b+20>>2]=0;a=v[h+92>>2];j=a?a:163;break r}if(d>>>0>>1>>>0){j=yb(a,8,m,d,j,h+92|0);v[b+20>>2]=j;v[h+92>>2]=0}$l(j,d,8,2308);j=v[h+92>>2]}v[b+16>>2]=d}Ma=h+96|0;return j|0}function _Ra(a){a=a|0;var 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;c=Ma-16|0;Ma=c;g=v[a+24>>2];e=v[g+4>>2];a:{if(!e){if(!(Qa[v[g+12>>2]](a)|0)){e=0;break a}e=v[g+4>>2]}b=v[g>>2];f=w[b|0];e=e-1|0;if(e){b=b+1|0}else{if(!(Qa[v[g+12>>2]](a)|0)){e=0;break a}e=v[g+4>>2];b=v[g>>2]}k=b+1|0;e=e-1|0;b=w[b|0]|f<<8;f=b-2|0;b=b>>>0>15?14:b>>>0>>0?0:f;if(b){while(1){if(!e){if(!(Qa[v[g+12>>2]](a)|0)){e=0;break a}k=v[g>>2];e=v[g+4>>2]}t[(c+2|0)+d|0]=w[k|0];k=k+1|0;e=e-1|0;d=d+1|0;if((b|0)!=(d|0)){continue}break}}m=f-b|0;b:{c:{d:{d=v[a+436>>2];h=d-224|0;if(h){if((h|0)==14){break d}else{break c}}f=b+m|0;e:{f:{g:{h:{if(b>>>0>=14){if(w[c+2|0]!=74){break g}if(w[c+3|0]!=70|w[c+4|0]!=73|(w[c+6|0]|w[c+5|0]!=70)){break h}v[a+284>>2]=1;b=w[c+7|0];t[a+288|0]=b;d=w[c+8|0];t[a+289|0]=d;h=w[c+9|0];t[a+290|0]=h;i=w[c+10|0]|w[c+11|0]<<8;i=i<<8|i>>>8;u[a+292>>1]=i;j=w[c+12|0]|w[c+13|0]<<8;j=j<<8|j>>>8;u[a+294>>1]=j;l=1;if((b|0)!=1){d=v[a>>2];v[d+24>>2]=b;v[d+20>>2]=122;v[v[a>>2]+28>>2]=w[a+289|0];Qa[v[v[a>>2]+4>>2]](a,-1);l=w[a+288|0];h=w[a+290|0];j=x[a+294>>1];i=x[a+292>>1];d=w[a+289|0]}b=v[a>>2];v[b+24>>2]=l;v[b+20>>2]=89;v[b+40>>2]=h;v[b+36>>2]=j&65535;v[b+32>>2]=i&65535;v[b+28>>2]=d;Qa[v[b+4>>2]](a,1);f=f-14|0;h=f;d=w[c+14|0];b=w[c+15|0];if(d|b){b=v[a>>2];v[b+20>>2]=92;v[b+24>>2]=w[c+14|0];v[v[a>>2]+28>>2]=w[c+15|0];Qa[v[v[a>>2]+4>>2]](a,1);d=w[c+14|0];b=w[c+15|0]}if((B(B(b,d),3)|0)==(h|0)){break e}b=v[a>>2];v[b+24>>2]=f;v[b+20>>2]=90;break f}if(w[c+2|0]!=74|b>>>0<6){break g}}if(w[c+3|0]!=70|w[c+4|0]!=88|(w[c+6|0]|w[c+5|0]!=88)){break g}i:{switch(w[c+7|0]-16|0){case 0:b=v[a>>2];v[b+24>>2]=f;v[b+20>>2]=110;break f;case 1:b=v[a>>2];v[b+24>>2]=f;v[b+20>>2]=111;break f;case 3:b=v[a>>2];v[b+24>>2]=f;v[b+20>>2]=112;break f;default:break i}}b=v[a>>2];v[b+20>>2]=91;v[b+24>>2]=w[c+7|0];v[v[a>>2]+28>>2]=f;break f}b=v[a>>2];v[b+24>>2]=f;v[b+20>>2]=79;Qa[v[v[a>>2]+4>>2]](a,1);break e}Qa[v[v[a>>2]+4>>2]](a,1)}break b}j:{if(w[c+2|0]!=65|b>>>0<12|(w[c+3|0]!=100|w[c+4|0]!=111)){break j}if(w[c+5|0]!=98|w[c+6|0]!=101){break j}f=w[c+8|0];h=w[c+7|0];i=w[c+10|0];j=w[c+9|0];l=w[c+12|0];n=w[c+11|0];d=w[c+13|0];b=v[a>>2];v[b+20>>2]=78;v[b+36>>2]=d;v[b+32>>2]=l|n<<8;v[b+28>>2]=i|j<<8;v[b+24>>2]=f|h<<8;Qa[v[b+4>>2]](a,1);t[a+300|0]=d;v[a+296>>2]=1;break b}b=v[a>>2];v[b+24>>2]=f;v[b+20>>2]=80;Qa[v[v[a>>2]+4>>2]](a,1);break b}b=v[a>>2];v[b+24>>2]=d;v[b+20>>2]=70;Qa[v[v[a>>2]>>2]](a)}v[g+4>>2]=e;v[g>>2]=k;e=1;if((m|0)<1){break a}Qa[v[v[a+24>>2]+16>>2]](a,m)}Ma=c+16|0;return e|0}function Hd(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=v[a+420>>2];g=w[b|0];h=v[((g&127)<<2)+72736>>2];f=h>>16;e=v[d+16>>2]-f|0;v[d+16>>2]=e;a:{b:{if((g>>>7|0)!=(c|0)){if((e|0)>=(f|0)){v[d+16>>2]=f;v[d+12>>2]=e+v[d+12>>2]}c=g&128^h&255;break b}if((e|0)>32767){break a}if((e|0)<(f|0)){v[d+16>>2]=f;v[d+12>>2]=e+v[d+12>>2]}c=g&128^h>>>8}t[b|0]=c;b=v[d+28>>2];e=v[d+12>>2];c=v[d+16>>2];while(1){b=b-1|0;v[d+28>>2]=b;e=e<<1;v[d+12>>2]=e;c=c<<1;v[d+16>>2]=c;if(!b){f=e>>19;c:{if((e|0)>=134217728){c=v[d+32>>2];d:{if((c|0)<0){break d}if(v[d+24>>2]){while(1){b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;e:{if(c){break e}if(Qa[v[b+12>>2]](a)|0){break e}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[d+24>>2]-1|0;v[d+24>>2]=b;if(b){continue}break}c=v[d+32>>2]}b=v[a+24>>2];e=v[b>>2];v[b>>2]=e+1;t[e|0]=c+1;c=v[b+4>>2]-1|0;v[b+4>>2]=c;f:{if(c){break f}if(Qa[v[b+12>>2]](a)|0){break f}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}if(v[d+32>>2]!=254){break d}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break d}if(Qa[v[b+12>>2]](a)|0){break d}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}v[d+32>>2]=f&255;b=v[d+20>>2];v[d+20>>2]=0;v[d+24>>2]=b+v[d+24>>2];break c}if((f|0)==255){v[d+20>>2]=v[d+20>>2]+1;break c}b=v[d+32>>2];g:{if(!b){v[d+24>>2]=v[d+24>>2]+1;break g}if((b|0)<0){break g}if(v[d+24>>2]){while(1){b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;h:{if(c){break h}if(Qa[v[b+12>>2]](a)|0){break h}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[d+24>>2]-1|0;v[d+24>>2]=b;if(b){continue}break}b=v[d+32>>2]}c=v[a+24>>2];e=v[c>>2];v[c>>2]=e+1;t[e|0]=b;b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(b){break g}if(Qa[v[c+12>>2]](a)|0){break g}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}if(v[d+20>>2]){if(v[d+24>>2]){while(1){b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;i:{if(c){break i}if(Qa[v[b+12>>2]](a)|0){break i}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[d+24>>2]-1|0;v[d+24>>2]=b;if(b){continue}break}}while(1){b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=255;c=v[b+4>>2]-1|0;v[b+4>>2]=c;j:{if(c){break j}if(Qa[v[b+12>>2]](a)|0){break j}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;k:{if(c){break k}if(Qa[v[b+12>>2]](a)|0){break k}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[d+20>>2]-1|0;v[d+20>>2]=b;if(b){continue}break}}v[d+32>>2]=f&255}e=v[d+12>>2]&524287;v[d+12>>2]=e;b=v[d+28>>2]+8|0;v[d+28>>2]=b;c=v[d+16>>2]}if((c|0)<32768){continue}break}}}function cX(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0;j=Ma-48|0;Ma=j;a:{if((e|0)>=41){i=89;if(!b|!(w[b+362|0]&8)|(e|0)>1024){break a}}if(h){v[h>>2]=0}i=1;if(!(f|g)|!a){break a}f=aX(f,g,b);if(!f){i=27;break a}v[f+4>>2]=f;b:{if(!b){g=2;break b}g=v[b+96>>2];l=v[b+104>>2];m=v[b+276>>2];k=v[b+272>>2];v[f+68>>2]=v[b+68>>2];v[f+72>>2]=v[b+72>>2];v[f+76>>2]=v[b+76>>2];v[f+80>>2]=v[b+80>>2]}v[f+276>>2]=m;v[f+272>>2]=k;v[f+104>>2]=l;v[f+96>>2]=g;c:{if(!c){k=0;break c}k=v[f>>2];v[f>>2]=c;if(!d){break c}v[f+4>>2]=d}Av(f);d=Go(326168);if(!d){v[f+72>>2]=0;v[f+76>>2]=0;v[f+80>>2]=0;fj(f);break a}v[d+92>>2]=64;v[d+44>>2]=v[a+44>>2];v[d+48>>2]=v[a+48>>2];g=v[a+80>>2];v[d+80>>2]=g;RH(g);g=v[a+72>>2];if(g){n=d,o=Sd(g),v[n+72>>2]=o}g=Zz(d,227565);d:{if(!g){if(c){v[f>>2]=k}break d}Df(d,g);Dv(f,v[d+12>>2]);v[f+8>>2]=a;v[g+32>>2]=a;e:{if(v[f+292>>2]){break e}a=v[f+36>>2];if((v[a+20>>2]-v[a+16>>2]|0)>249){break e}oc(f)}g=v[f+36>>2];a=v[g+16>>2];f:{if((v[g+20>>2]-a|0)<4){break f}t[j+44|0]=w[a|0];t[j+45|0]=w[a+1|0];t[j+46|0]=w[a+2|0];t[j+47|0]=w[a+3|0];a=zq(j+44|0,4);if(!a){break f}xq(f,a)}a=v[v[f+36>>2]+16>>2];g:{if(w[a|0]!=60|w[a+1|0]!=63|(w[a+2|0]!=120|w[a+3|0]!=109)){break g}if(w[a+4|0]!=108){break g}a=w[a+5|0]-9|0;if(a>>>0>23|!(1<>2]=e;v[f+172>>2]=7;Iz(f);a=v[v[f+36>>2]+16>>2];e=w[a|0];h:{if(!e){break h}i:{if(!((e|0)!=60|w[a+1|0]!=47)){if(v[f+172>>2]==-1?v[f+212>>2]:0){break h}v[f+84>>2]=85;v[j+32>>2]=291628;nb(0,0,0,f,0,1,85,3,0,0,0,0,340716,j+32|0);v[f+12>>2]=0;if(v[f+288>>2]){break h}a=f+212|0;break i}if(v[f+172>>2]==-1?v[f+212>>2]:0){break h}v[f+84>>2]=86;v[j+16>>2]=262240;nb(0,0,0,f,0,1,86,3,0,0,0,0,340716,j+16|0);v[f+12>>2]=0;if(v[f+288>>2]){break h}a=f+212|0}v[a>>2]=1}j:{if(v[f+52>>2]==v[d+12>>2]|(v[f+172>>2]==-1?v[f+212>>2]:0)){break j}v[f+84>>2]=85;v[j>>2]=291628;nb(0,0,0,f,0,1,85,3,0,0,0,0,340716,j);v[f+12>>2]=0;if(v[f+288>>2]){break j}v[f+212>>2]=1}k:{if(!v[f+12>>2]){a=v[f+84>>2];i=a?a:1;break k}i=0;if(!h){break k}i=v[v[d+12>>2]+12>>2];v[h>>2]=i;if(i){while(1){v[i+20>>2]=0;i=v[i+24>>2];if(i){continue}break}}v[v[d+12>>2]+12>>2]=0;i=0}l:{if(!b){break l}v[b+440>>2]=v[b+440>>2]+v[f+440>>2];a=v[f+36>>2];if(!a){break l}v[b+444>>2]=(v[a+16>>2]+(v[b+444>>2]+v[a+36>>2]|0)|0)-v[a+12>>2]}if(v[f+388>>2]){OH(f+384|0,b+384|0)}if(c){v[f>>2]=k}if(b){v[b+72>>2]=v[f+72>>2];v[b+76>>2]=v[f+76>>2];v[b+80>>2]=v[f+80>>2]}}v[f+72>>2]=0;v[f+76>>2]=0;v[f+80>>2]=0;fj(f);v[d+44>>2]=0;v[d+48>>2]=0;wq(d)}Ma=j+48|0;return i}function ZS(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=Ma-128|0;Ma=d;g=zg(d+80|0);t[a+16|0]=0;f=v[b>>2];a:{if(!(v[f+8>>2]?f:0)){b=Ux(d,a+36|0);f=ze(d+40|0,b);v[b+24>>2]=969432;v[b>>2]=969400;c=v[b+28>>2];if(c){e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(!e){Qa[v[v[c>>2]+4>>2]](c)}v[b+28>>2]=0}v[b+16>>2]=969432;c=v[b+20>>2];if(c){e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(!e){Qa[v[v[c>>2]+4>>2]](c)}v[b+20>>2]=0}db(b+8|0);b:{c:{if(w[f+32|0]){break c}cg(f,1);if(w[f+32|0]){break c}c=a+20|0;b=v[a+36>>2];d:{if(b){Qa[v[v[b>>2]+28>>2]](d,b,1);break d}v[d>>2]=0}jb(c,d);b=v[d>>2];v[d>>2]=0;e:{if(!b){break e}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break e}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[a+20>>2];v[a+24>>2]=v[(b?b+12|0:1117e3)>>2];break b}fh(d,f);c=a+20|0;b=v[d>>2];f:{if(b){Qa[v[v[b>>2]+28>>2]](d+120|0,b,1);break f}v[d+120>>2]=0}jb(c,d+120|0);b=v[d+120>>2];v[d+120>>2]=0;g:{if(!b){break g}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break g}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[a+20>>2];v[a+24>>2]=v[(b?b+12|0:1117e3)>>2];db(d)}break a}c=Ux(d,b);f=ze(d+40|0,c);v[c+24>>2]=969432;v[c>>2]=969400;e=v[c+28>>2];if(e){h=v[e+4>>2]-1|0;v[e+4>>2]=h;if(!h){Qa[v[v[e>>2]+4>>2]](e)}v[c+28>>2]=0}v[c+16>>2]=969432;e=v[c+20>>2];if(e){h=v[e+4>>2]-1|0;v[e+4>>2]=h;if(!h){Qa[v[v[e>>2]+4>>2]](e)}v[c+20>>2]=0}db(c+8|0);h:{if(w[f+32|0]){break h}cg(f,1);if(w[f+32|0]){break h}b=$D(d,b);Rf(f,b);v[b+24>>2]=969432;v[b>>2]=969400;c=v[b+28>>2];if(c){e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(!e){Qa[v[v[c>>2]+4>>2]](c)}v[b+28>>2]=0}v[b+16>>2]=969432;c=v[b+20>>2];if(c){e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(!e){Qa[v[v[c>>2]+4>>2]](c)}v[b+20>>2]=0}db(b+8|0)}fh(d,f);c=a+20|0;b=v[d>>2];i:{if(b){Qa[v[v[b>>2]+28>>2]](d+120|0,b,1);break i}v[d+120>>2]=0}jb(c,d+120|0);b=v[d+120>>2];v[d+120>>2]=0;j:{if(!b){break j}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break j}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[a+20>>2];v[a+24>>2]=v[(b?b+12|0:1117e3)>>2];db(d)}v[f+24>>2]=969432;v[f>>2]=969400;b=v[f+28>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Qa[v[v[b>>2]+4>>2]](b)}v[f+28>>2]=0}v[f+16>>2]=969432;b=v[f+20>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Qa[v[v[b>>2]+4>>2]](b)}v[f+20>>2]=0}db(f+8|0);oi(a+28|0,349015);v[g+24>>2]=969432;v[g>>2]=969400;a=v[g+28>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Qa[v[v[a>>2]+4>>2]](a)}v[g+28>>2]=0}v[g+16>>2]=969432;a=v[g+20>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Qa[v[v[a>>2]+4>>2]](a)}v[g+20>>2]=0}db(g+8|0);Ma=d+128|0}function Ch(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=Ma-16|0;Ma=e;i=v[a>>2];v[e+4>>2]=0;a:{b:{d=v[a+4>>2];c:{if(!d){break c}if(v[a+40>>2]){g=d;break c}h=yb(i,8,0,d<<1,0,e+8|0);v[a+40>>2]=h;d=v[e+8>>2];if(d){break b}t[a+16|0]=1;g=v[a+4>>2];j=h+(g<<3)|0;v[a+44>>2]=j;d=a;f=v[a+24>>2];if(f){f=f+(u[a+22>>1]<<3)|0}else{f=0}v[d+60>>2]=f;f=a- -64|0;d=v[a+28>>2];if(d){d=d+u[a+22>>1]|0}else{d=0}v[f>>2]=d;d=a;f=v[a+32>>2];if(f){f=f+(u[a+20>>1]<<1)|0}else{f=0}v[d+68>>2]=f;d=u[a+22>>1]<<3;v[a+80>>2]=d+j;v[a+76>>2]=d+h}v[e+4>>2]=0;d:{b=u[a+58>>1]+(u[a+22>>1]+b|0)|0;h=b>>>0<=g>>>0;e:{if(h){b=g;break e}d=10;b=b+7&-8;if(b>>>0>32767){break a}k=a,l=yb(i,8,g,b,v[a+24>>2],e+4|0),v[k+24>>2]=l;if(v[e+4>>2]){break d}k=a,l=yb(i,1,g,b,v[a+28>>2],e+4|0),v[k+28>>2]=l;if(v[e+4>>2]){break d}if(w[a+16|0]){d=yb(i,8,g<<1,b<<1,v[a+40>>2],e+4|0);v[a+40>>2]=d;if(v[e+4>>2]){break d}f=b<<3;g=g<<3;id(f+d|0,g+d|0,g);v[a+44>>2]=f+v[a+40>>2]}v[a+4>>2]=b}if(!(v[a+40>>2]|!b)){g=yb(v[a>>2],8,0,b<<1,0,e+12|0);v[a+40>>2]=g;d=v[e+12>>2];if(d){break a}t[a+16|0]=1;f=g+(v[a+4>>2]<<3)|0;v[a+44>>2]=f;b=a;d=v[a+24>>2];if(d){d=d+(u[a+22>>1]<<3)|0}else{d=0}v[b+60>>2]=d;d=a- -64|0;b=v[a+28>>2];if(b){b=b+u[a+22>>1]|0}else{b=0}v[d>>2]=b;b=a;d=v[a+32>>2];if(d){d=d+(u[a+20>>1]<<1)|0}else{d=0}v[b+68>>2]=d;b=u[a+22>>1]<<3;v[a+80>>2]=b+f;v[a+76>>2]=b+g}d=0;v[e+4>>2]=0;b=u[a+56>>1]+(u[a+20>>1]+c|0)|0;c=v[a+8>>2];f:{if(b>>>0>c>>>0){d=10;b=b+3&-4;if(b>>>0>32767){break a}k=a,l=yb(i,2,c,b,v[a+32>>2],e+4|0),v[k+32>>2]=l;if(v[e+4>>2]){break d}v[a+8>>2]=b;break f}if(h){break a}}d=0;b=a;c=v[a+24>>2];if(c){c=c+(u[a+22>>1]<<3)|0}else{c=0}v[b+60>>2]=c;c=a- -64|0;b=v[a+28>>2];if(b){b=b+u[a+22>>1]|0}else{b=0}v[c>>2]=b;b=a;c=v[a+32>>2];if(c){c=c+(u[a+20>>1]<<1)|0}else{c=0}v[b+68>>2]=c;if(!w[a+16|0]){break a}b=u[a+22>>1]<<3;v[a+76>>2]=b+v[a+40>>2];v[a+80>>2]=b+v[a+44>>2];break a}b=v[a>>2];c=b;g=v[a+24>>2];if(g){Qa[v[c+8>>2]](c,g)}v[a+24>>2]=0;c=v[a+28>>2];if(c){Qa[v[b+8>>2]](b,c)}v[a+28>>2]=0;c=v[a+32>>2];if(c){Qa[v[b+8>>2]](b,c)}v[a+32>>2]=0;c=v[a+40>>2];if(c){Qa[v[b+8>>2]](b,c)}v[a+40>>2]=0;c=v[a+52>>2];if(c){Qa[v[b+8>>2]](b,c)}v[a+44>>2]=0;v[a+48>>2]=0;v[a+52>>2]=0;v[a+36>>2]=0;v[a+20>>2]=0;v[a+88>>2]=0;v[a+12>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;c=v[a+32>>2];b=a- -64|0;v[b>>2]=v[a+28>>2];v[b+4>>2]=c;b=v[a+48>>2];v[a+80>>2]=v[a+44>>2];v[a+84>>2]=b;b=v[a+40>>2];v[a+72>>2]=v[a+36>>2];v[a+76>>2]=b;b=v[a+24>>2];v[a+56>>2]=v[a+20>>2];v[a+60>>2]=b;d=v[e+4>>2];break a}v[e+4>>2]=d}Ma=e+16|0;return d}function tSa(a){a=a|0;var 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,w=0,y=0,z=0,C=0,E=0,F=0,G=0,H=0;i=Ma+-64|0;Ma=i;a:{b:{k=A[a+26344>>3];if(k!=1){if(v[a+188>>2]){Lb(213997,24,1,v[249419]);k=A[a+26344>>3]}c:{if(k<1){e=x[a+26310>>1];b=e;y=x[a+26308>>1];c=+(y>>>0)/k+.5;d:{if(c<4294967296&c>=0){r=~~c>>>0;break d}r=0}p=Yb(B(b,r),8);if(p){e:{if(!r|!e){break e}m=v[a+26336>>2];if((m|0)<1){break e}F=v[a+26352>>2];f=m&-2;z=m&1;c=0;G=e<<3;while(1){d=G;if(D(c)<2147483648){b=~~c}else{b=-2147483648}g=(B(b,e)<<3)+F|0;l=(y|0)>(b+1|0)?d+g|0:g;w=B(e,s);q=c-+(b|0);h=1-q;n=0;while(1){C=n+w|0;o=0;b=f;if((m|0)!=1){while(1){t=(C<<3)+p|0;d=o<<1;H=t+d|0;j=h*+x[g+d>>1]+q*+x[l+d>>1]+.5;f:{if(j<4294967296&j>=0){E=~~j>>>0;break f}E=0}u[H>>1]=E;d=d|2;t=d+t|0;j=h*+x[g+d>>1]+q*+x[l+d>>1]+.5;g:{if(j<4294967296&j>=0){d=~~j>>>0;break g}d=0}u[t>>1]=d;o=o+2|0;b=b-2|0;if(b){continue}break}}if(z){b=o<<1;d=b+((C<<3)+p|0)|0;j=h*+x[b+g>>1]+q*+x[b+l>>1]+.5;h:{if(j<4294967296&j>=0){b=~~j>>>0;break h}b=0}u[d>>1]=b}l=l+8|0;g=g+8|0;n=n+1|0;if((e|0)!=(n|0)){continue}break}c=k+c;s=s+1|0;if((r|0)!=(s|0)){continue}break}}u[a+26308>>1]=r;break c}b=v[a+190640>>2];i:{if(b){e=v[a+25208>>2];v[i+20>>2]=214022;v[i+16>>2]=e;Dc(b,4338,i+16|0);break i}b=v[a+25208>>2];v[i+4>>2]=214022;v[i>>2]=b;vb(v[249419],4338,i)}break a}d=x[a+26308>>1];b=d;s=x[a+26310>>1];c=k*+(s>>>0)+.5;j:{if(c<4294967296&c>=0){e=~~c>>>0;break j}e=0}p=Yb(B(b,e),8);if(!p){break b}k:{if(!e|!d){break k}m=v[a+26336>>2];if((m|0)<1){break k}j=1/k;r=v[a+26352>>2];F=m&-2;G=m&1;c=0;C=s<<3;while(1){if(D(c)<2147483648){b=~~c}else{b=-2147483648}g=(b<<3)+r|0;l=(s|0)>(b+1|0)?g+8|0:g;k=c-+(b|0);q=1-k;n=0;while(1){y=B(e,n)+z|0;o=0;b=F;if((m|0)!=1){while(1){w=(y<<3)+p|0;f=o<<1;E=w+f|0;h=q*+x[g+f>>1]+k*+x[l+f>>1]+.5;l:{if(h<4294967296&h>=0){t=~~h>>>0;break l}t=0}u[E>>1]=t;f=f|2;w=f+w|0;h=q*+x[g+f>>1]+k*+x[l+f>>1]+.5;m:{if(h<4294967296&h>=0){f=~~h>>>0;break m}f=0}u[w>>1]=f;o=o+2|0;b=b-2|0;if(b){continue}break}}if(G){b=o<<1;f=b+((y<<3)+p|0)|0;h=q*+x[b+g>>1]+k*+x[b+l>>1]+.5;n:{if(h<4294967296&h>=0){b=~~h>>>0;break n}b=0}u[f>>1]=b}l=l+C|0;g=g+C|0;n=n+1|0;if((d|0)!=(n|0)){continue}break}c=j+c;z=z+1|0;if((e|0)!=(z|0)){continue}break}}u[a+26310>>1]=e}$a(v[a+26352>>2]);v[a+26352>>2]=p}Ma=i- -64|0;return}b=v[a+190640>>2];o:{if(b){e=v[a+25208>>2];v[i+52>>2]=214022;v[i+48>>2]=e;Dc(b,4338,i+48|0);break o}b=v[a+25208>>2];v[i+36>>2]=214022;v[i+32>>2]=b;vb(v[249419],4338,i+32|0)}}tc(a+190484|0,1);L()}function j$(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;e=Ma-16|0;Ma=e;j=v[a+28>>2];f=Mb(a,c);v[e+12>>2]=f;a:{if(f){break a}f=Ac(a,e+12|0);if(v[e+12>>2]){break a}if((f|0)!=1){v[e+12>>2]=8;break a}g=Id(a,e+12|0);if(v[e+12>>2]){break a}i=Ac(a,e+12|0);v[d>>2]=i;if(v[e+12>>2]){break a}if(!i){v[e+12>>2]=8;break a}f=0;l=yb(j,4,0,i,0,e+12|0);if(v[e+12>>2]){break a}if(v[d>>2]){while(1){n=(f<<2)+l|0,o=Id(a,e+12|0),v[n>>2]=o;if(v[e+12>>2]){break a}f=f+1|0;if(f>>>0>2]){continue}break}}f=Mb(a,c+g|0);v[e+12>>2]=f;if(f){break a}n=d,o=Ac(a,e+12|0),u[n+8>>1]=o;if(v[e+12>>2]){break a}f=Ac(a,e+12|0);v[d+12>>2]=f;if(v[e+12>>2]){break a}if(v[v[b+12>>2]>>2]!=x[d+8>>1]){v[e+12>>2]=8;break a}n=d,o=yb(j,4,0,f,0,e+12|0),v[n+16>>2]=o;if(v[e+12>>2]){break a}if(v[d+12>>2]){b=x[d+8>>1];while(1){i=yb(j,12,0,b&65535,0,e+12|0);v[v[d+16>>2]+(h<<2)>>2]=i;if(v[e+12>>2]){break a}b=0;if(x[d+8>>1]){f=0;while(1){g=Ac(a,e+12|0);if(v[e+12>>2]){break a}k=Ac(a,e+12|0);if(v[e+12>>2]){break a}m=Ac(a,e+12|0);if(v[e+12>>2]){break a}b=i+B(f,12)|0;v[b+8>>2]=m<<16>>16<<2;v[b+4>>2]=k<<16>>16<<2;v[b>>2]=g<<16>>16<<2;b=x[d+8>>1];f=f+1|0;if(b>>>0>f>>>0){continue}break}}h=h+1|0;if(h>>>0>2]){continue}break}}f=yb(j,16,0,v[d>>2],0,e+12|0);v[d+4>>2]=f;if(v[e+12>>2]|!v[d>>2]){break a}b=Mb(a,v[l>>2]+c|0);v[e+12>>2]=b;if(b){break a}k=0;while(1){g=(k<<4)+f|0;n=g,o=Ac(a,e+12|0),v[n>>2]=o;if(v[e+12>>2]){break a}i=Ac(a,e+12|0);if(v[e+12>>2]){break a}b=Ac(a,e+12|0);v[g+4>>2]=b;if(v[e+12>>2]){break a}if(b>>>0>>0){v[e+12>>2]=8;break a}if(b>>>0>y[d+12>>2]){v[e+12>>2]=8;break a}n=g,o=yb(j,4,0,b,0,e+12|0),v[n+8>>2]=o;if(v[e+12>>2]){break a}f=0;b:{if(!v[g+4>>2]){b=0;break b}while(1){b=Ac(a,e+12|0);v[v[g+8>>2]+(f<<2)>>2]=b;if(v[e+12>>2]){break a}if(b>>>0>2]){b=v[g+4>>2];f=f+1|0;if(b>>>0<=f>>>0){break b}continue}break}v[e+12>>2]=8;break a}n=g,o=yb(j,2,0,B(v[g>>2],b),0,e+12|0),v[n+12>>2]=o;if(v[e+12>>2]){break a}h=v[g+4>>2];if(B(h,v[g>>2])){f=0;while(1){if(i){b=f+i|0;while(1){h=Ac(a,e+12|0);if(v[e+12>>2]){break a}u[v[g+12>>2]+(f<<1)>>1]=h;f=f+1|0;if((b|0)!=(f|0)){continue}break}h=v[g+4>>2];f=b}b=i;if(h>>>0>b>>>0){while(1){h=Gf(a,e+12|0);if(v[e+12>>2]){break a}u[v[g+12>>2]+(f<<1)>>1]=h;f=f+1|0;b=b+1|0;h=v[g+4>>2];if(b>>>0>>0){continue}break}}if(B(v[g>>2],h)>>>0>f>>>0){continue}break}}k=k+1|0;if(k>>>0>=y[d>>2]){break a}f=v[d+4>>2];b=Mb(a,v[(k<<2)+l>>2]+c|0);v[e+12>>2]=b;if(!b){continue}break}}if(l){Qa[v[j+8>>2]](j,l)}Ma=e+16|0;return v[e+12>>2]}function uI(a,b){a=a|0;b=b|0;var 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;h=v[a+4>>2];if(v[h+48>>2]<=7){tI(a,b);return}i=v[a+12>>2];c=v[a+8>>2];l=i-c|0;if(v[h+44>>2]?1:l){g=v[a+16>>2];d=v[a+20>>2];if(g>>>0>=d>>>0){v[b>>2]=15;return}k=1;m=d-g>>1;f=v[a+24>>2];a:{b:{c:{d:{e:{f:{g:{h:{d=v[h+44>>2];if(d){v[h+44>>2]=0;t[h+36|0]=1;t[h+37|0]=d;break h}k=w[h+36|0];if(k){break h}k=0;i=l;d=c;break g}e=k<<24>>24;n=4-e|0;o=((e+i|0)-c|0)-4|0;k=0;i=l;i:{j:{while(1){t[(e+h|0)+37|0]=w[c|0];i=i-1|0;k=k+1|0;d=c+1|0;k:{l:{switch(e-1|0){case 0:c=w[h+37|0]|w[h+38|0]<<8;j=c<<8|c>>>8;if((j&63488)!=55296){u[g>>1]=j;e=0;g=g+2|0;m=m-1|0;if(f){v[f>>2]=-1;f=f+4|0}else{f=0}break j}if(!(j&1024)){break k}e=2;break i;case 2:break l;default:break k}}i=w[h+39|0];if((i&252)==220){i=w[h+40|0]|i<<8;c=w[h+37|0]|w[h+38|0]<<8;u[g>>1]=c<<8|c>>>8;if(m>>>0>=2){u[g+2>>1]=i;e=0;g=g+4|0;m=m-2|0;k=n;i=o;if(f){v[f>>2]=-1;v[f+4>>2]=-1;f=f+8|0}else{f=0}break j}g=g+2|0;t[h+65|0]=1;u[h+116>>1]=i;v[b>>2]=15;m=0;k=n;i=o;e=0;break j}v[b>>2]=12;if((v[a+8>>2]-d|0)<2){break f}c=c-1|0;break e}e=e+1|0;c=d;if(i){continue}break}i=0;k=l}j=0}t[h+36|0]=e}if(!(j&65535)){break d}c=d;break c}v[h+44>>2]=w[h+39|0]|256}t[h+36|0]=2;v[a+24>>2]=f;v[a+16>>2]=g;v[a+8>>2]=c;return}c=m<<1;c=c>>>0>i>>>0?i&-2:c;if(!c){c=d;break c}i=i-c|0;e=c>>>1|0;m=m-e|0;m:{n:{if(!f){while(1){c=d+2|0;f=w[d|0]|w[d+1|0]<<8;j=f<<8|f>>>8;o:{if((j&63488)!=55296){u[g>>1]=j;break o}f=0;if(j&1024|e>>>0<2){break n}f=w[c|0];if((f&252)!=220){f=0;break m}c=w[d+3|0];u[g>>1]=j;u[g+2>>1]=c|f<<8;g=g+2|0;e=e-1|0;c=d+4|0}d=c;g=g+2|0;e=e-1|0;if(e){continue}break}e=0;break a}while(1){c=d+2|0;l=w[d|0]|w[d+1|0]<<8;j=l<<8|l>>>8;p:{if((j&63488)!=55296){u[g>>1]=j;d=2;break p}if(j&1024|e>>>0<2){break n}l=w[c|0];if((l&252)!=220){break m}c=w[d+3|0];u[g>>1]=j;u[g+2>>1]=c|l<<8;v[f>>2]=k;f=f+4|0;g=g+2|0;e=e-1|0;c=d+4|0;d=4}j=d;d=c;v[f>>2]=k;g=g+2|0;f=f+4|0;k=j+k|0;e=e-1|0;if(e){continue}break}e=f;break a}if(!e){break b}}m=e+m|0;i=((e<<1)+i|0)-2|0}if(!(j&65535)){break b}t[h+36|0]=2;d=j<<8|(j&65280)>>>8;t[h+37|0]=d;t[h+38|0]=d>>>8;l=12;q:{if(j&1024){e=f;break q}if(i>>>0<2){break b}d=w[c|0];if((d&252)!=220){e=f;i=1;break q}d=w[c+1|0]|d<<8;u[g>>1]=j;e=0;if(f){v[f>>2]=k;e=f+4|0}g=g+2|0;i=i-2|0;t[h+65|0]=1;u[h+116>>1]=d;t[h+36|0]=0;l=15;c=c+2|0}d=c;v[b>>2]=l;break a}e=f;d=c}r:{if(!i|v[b>>2]>0){break r}if(!m){v[b>>2]=15;break r}c=w[d|0];b=t[h+36|0];t[h+36|0]=b+1;t[(b+h|0)+37|0]=c;d=d+1|0}v[a+24>>2]=e;v[a+16>>2]=g;v[a+8>>2]=d}}function Gua(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,p=0,q=0,r=0,s=0,t=0,u=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0;E=Ma-160|0;Ma=E;d=a;while(1){a:{e=d;d=v[(j<<2)+b>>2]+c|0;k=w[d+12|0];r=w[d|0];h=k+r|0;s=w[d+11|0];t=w[d+1|0];g=s+t|0;l=w[d+10|0];m=w[d+2|0];o=l+m|0;u=w[d+9|0];f=w[d+3|0];p=u+f|0;y=w[d+8|0];z=w[d+4|0];q=y+z|0;A=w[d+7|0];C=w[d+5|0];i=A+C|0;d=w[d+6|0];v[e>>2]=((((((h+g|0)+o|0)+p|0)+q|0)+i|0)+d|0)-1664;d=d<<1;p=p-d|0;q=q-d|0;x=h-d|0;o=o-d|0;n=g-d|0;i=i-d|0;d=(B(p-q|0,-3570)+B(x-o|0,9465)|0)+B(n-i|0,-2592)|0;h=(B(p+q|0,-7678)+B(o+x|0,793)|0)+B(i+n|0,3989)|0;v[e+24>>2]=(d-h|0)+4096>>13;v[e+16>>2]=(d+h|0)+4096>>13;d=f-u|0;h=m-l|0;m=B(d+h|0,-5384);g=C-A|0;l=z-y|0;k=r-k|0;r=B(g+l|0,2773)+B(k+d|0,7682)|0;u=m+B(d,18068)|0;f=d;d=t-s|0;s=B(f+d|0,-9534);v[e+28>>2]=(r+((u+s|0)+B(g,-14273)|0)|0)+4096>>13;f=m;m=B(h+k|0,9534);f=(f+(m+B(h,-12879)|0)|0)+B(g,18515)|0;h=B(l-g|0,7682)+B(d+h|0,-2773)|0;v[e+20>>2]=(f+h|0)+4096>>13;f=B(d,6859);d=B(d+k|0,10832)+4096|0;v[e+12>>2]=h+((s+(f+d|0)|0)+B(l,-19183)|0)>>13;v[e+4>>2]=r+((m+(d+B(k,-16549)|0)|0)+B(l,2611)|0)>>13;v[e+8>>2]=(((((B(n,8672)+B(x,11249)|0)+B(o,4108)|0)+B(p,-1396)|0)+B(q,-6581)|0)+B(i,-10258)|0)+4096>>13;g=j-7|0;j=j+1|0;h=7;d=E;b:{switch(g|0){case 0:continue;case 5:break a;default:break b}}d=e+32|0;continue}break}while(1){c=v[d+32>>2];e=v[a+96>>2];m=c+e|0;r=v[a+192>>2];b=r<<1;l=m-b|0;j=v[d>>2];g=v[a+128>>2];s=j+g|0;k=s-b|0;i=v[d+128>>2];t=v[a>>2];u=i+t|0;p=u-b|0;n=v[d+64>>2];f=v[a+64>>2];y=n+f|0;q=y-b|0;z=v[d+96>>2];A=v[a+32>>2];C=z+A|0;x=C-b|0;D=v[a+224>>2];F=v[a+160>>2];G=D+F|0;o=G-b|0;b=(B(l-k|0,-2704)+B(p-q|0,7169)|0)+B(x-o|0,-1963)|0;H=(B(k+l|0,-5816)+B(p+q|0,601)|0)+B(o+x|0,3021)|0;v[a+192>>2]=(b-H|0)- -8192>>14;v[a+128>>2]=(b+H|0)- -8192>>14;b=e-c|0;c=f-n|0;n=B(b+c|0,-4078);e=F-D|0;j=g-j|0;g=t-i|0;i=B(e+j|0,2100)+B(g+b|0,5819)|0;D=n+B(b,13685)|0;f=b;b=A-z|0;t=B(f+b|0,-7221);v[a+224>>2]=(i+((D+t|0)+B(e,-10811)|0)|0)- -8192>>14;f=B(c+g|0,7221);n=(n+(f+B(c,-9754)|0)|0)+B(e,14023)|0;c=B(j-e|0,5819)+B(b+c|0,-2100)|0;v[a+160>>2]=(n+c|0)- -8192>>14;e=B(b,5195);b=B(b+g|0,8204)- -8192|0;v[a+96>>2]=c+((t+(e+b|0)|0)+B(j,-14529)|0)>>14;v[a+32>>2]=i+((f+(b+B(g,-12534)|0)|0)+B(j,1978)|0)>>14;v[a+64>>2]=(((((B(x,6568)+B(p,8520)|0)+B(q,3112)|0)+B(l,-1058)|0)+B(k,-4985)|0)+B(o,-7770)|0)- -8192>>14;v[a>>2]=B(r+((s+(m+(y+(u+C|0)|0)|0)|0)+G|0)|0,6205)- -8192>>14;b=h;h=b-1|0;d=d+4|0;a=a+4|0;if(b){continue}break}Ma=E+160|0}function rXa(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,v=0,y=0,z=0,A=0,C=0;if(e){z=e-1|0;A=e-2|0;y=(e|0)==1;while(1){a=f;u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];u[g+6>>1]=x[a+6>>1];f=a+8|0;g=g+8|0;a:{if(!y&o>>>0>=z>>>0){break a}k=o?(o|0)==(A|0)?d:b:c;l=!o&y;if(l){if(k>>>0<2){break a}l=k-1|0;m=l&1;if((k|0)!=2){k=l&-2;while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];u[g+6>>1]=x[a+6>>1];u[g+8>>1]=x[a>>1];u[g+10>>1]=x[a+2>>1];u[g+12>>1]=x[a+4>>1];u[g+14>>1]=x[a+6>>1];g=g+16|0;k=k-2|0;if(k){continue}break}}if(!m){break a}u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];u[g+6>>1]=x[a+6>>1];g=g+8|0;break a}p=a+4|0;q=a+2|0;l=l?0:f;r=l+4|0;s=l+2|0;v=k<<1;m=k+1>>>1|0;if(k>>>0>=3){C=m>>>0>2?m:2;j=1;while(1){h=x[a>>1];b:{if((h|0)==x[l>>1]){u[g>>1]=h;break b}h=w[a|0]|w[a+1|0]<<8;i=w[l|0]|w[l+1|0]<<8;h=((h<<8|h>>>8)&65535)+((k+(B(((i<<8|i>>>8)&65535)-((h<<8|h>>>8)&65535)|0,j)<<1)|0)/(v|0)|0)&65535;h=h<<8|h>>>8;t[g|0]=h;t[g+1|0]=h>>>8}h=g+2|0;i=x[q>>1];c:{if((i|0)==x[s>>1]){u[h>>1]=i;break c}i=w[q|0]|w[q+1|0]<<8;n=w[s|0]|w[s+1|0]<<8;i=((i<<8|i>>>8)&65535)+((k+(B(((n<<8|n>>>8)&65535)-((i<<8|i>>>8)&65535)|0,j)<<1)|0)/(v|0)|0)&65535;i=i<<8|i>>>8;t[h|0]=i;t[h+1|0]=i>>>8}h=g+4|0;i=x[p>>1];d:{if((i|0)==x[r>>1]){u[h>>1]=i;break d}i=w[p|0]|w[p+1|0]<<8;n=w[r|0]|w[r+1|0]<<8;i=((i<<8|i>>>8)&65535)+((k+(B(((n<<8|n>>>8)&65535)-((i<<8|i>>>8)&65535)|0,j)<<1)|0)/(v|0)|0)&65535;i=i<<8|i>>>8;t[h|0]=i;t[h+1|0]=i>>>8}u[g+6>>1]=x[a+6>>1];g=g+8|0;j=j+1|0;if((C|0)!=(j|0)){continue}break}}if(k>>>0<=m>>>0){break a}while(1){j=x[a>>1];e:{if((j|0)==x[l>>1]){u[g>>1]=j;break e}j=w[a|0]|w[a+1|0]<<8;i=j>>>8|0;h=w[l|0]|w[l+1|0]<<8;j=((j<<8|i)&65535)+((k+(B(((h<<8|h>>>8)&65535)-((i|j<<8)&65535)|0,m)<<1)|0)/(v|0)|0)&65535;j=j<<8|j>>>8;t[g|0]=j;t[g+1|0]=j>>>8}j=g+2|0;h=x[q>>1];f:{if((h|0)==x[s>>1]){u[j>>1]=h;break f}h=w[q|0]|w[q+1|0]<<8;n=h>>>8|0;i=w[s|0]|w[s+1|0]<<8;h=((h<<8|n)&65535)+((k+(B(((i<<8|i>>>8)&65535)-((n|h<<8)&65535)|0,m)<<1)|0)/(v|0)|0)&65535;h=h<<8|h>>>8;t[j|0]=h;t[j+1|0]=h>>>8}j=g+4|0;h=x[p>>1];g:{if((h|0)==x[r>>1]){u[j>>1]=h;break g}h=w[p|0]|w[p+1|0]<<8;n=h>>>8|0;i=w[r|0]|w[r+1|0]<<8;h=((h<<8|n)&65535)+((k+(B(((i<<8|i>>>8)&65535)-((n|h<<8)&65535)|0,m)<<1)|0)/(v|0)|0)&65535;h=h<<8|h>>>8;t[j|0]=h;t[j+1|0]=h>>>8}u[g+6>>1]=x[l+6>>1];g=g+8|0;m=m+1|0;if((k|0)!=(m|0)){continue}break}}o=o+1|0;if((o|0)!=(e|0)){continue}break}}return 0}function oX(a){var b=0,c=0,d=0,e=0,f=0,g=0;g=Ma-48|0;Ma=g;a:{b:{c:{d:{e:{f:{e=v[a+36>>2];b=v[e+16>>2];if(!(w[b|0]!=38|w[b+1|0]!=35)){d=v[a+200>>2];if(w[b+2|0]!=120){break f}v[a+200>>2]=d+3;v[e+16>>2]=b+3;v[e+32>>2]=v[e+32>>2]+3;b=w[b+3|0];if((b|0)==37){zc(a);e=v[a+36>>2];b=w[v[e+16>>2]]}g:{if(b&255){break g}if((Zb(e)|0)>0){break g}xc(a)}h:{if(v[a+292>>2]){break h}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break h}oc(a)}c=v[a+36>>2];f=v[c+16>>2];i:{if(w[f|0]==59){e=0;d=0;break i}e=0;b=0;d=0;while(1){if((b|0)<21){b=b+1|0}else{if(!(v[a+292>>2]|(v[c+20>>2]-f|0)>249)){oc(a)}if(v[a+172>>2]==-1){break b}c=v[a+36>>2];b=0}f=-48;j:{c=w[v[c+16>>2]];if((c-48&255)>>>0<10){break j}k:{if(c>>>0>=97){if(c>>>0>102){break k}f=-87;if((b|0)>=20){break k}break j}if(c>>>0<65|c>>>0>70){break k}f=-55;if((b|0)<20){break j}}if(!(!v[a+212>>2]|v[a+172>>2]!=-1)){d=0;break i}v[a+84>>2]=6;v[g>>2]=275202;d=0;nb(0,0,0,a,0,1,6,3,0,0,0,0,340716,g);v[a+12>>2]=0;if(v[a+288>>2]){break i}v[a+212>>2]=1;break i}d=c+((d<<4)+f|0)|0;e=d>>>0>1114111?d:e;b=b+1|0;Bc(a);c=v[a+36>>2];f=v[c+16>>2];if(w[f|0]!=59){continue}break}}c=v[a+36>>2];b=v[c+16>>2];if(w[b|0]==59){break e}break d}if(!(!v[a+212>>2]|v[a+172>>2]!=-1)){break c}v[a+84>>2]=8;v[g+32>>2]=275268;nb(0,0,0,a,0,1,8,3,0,0,0,0,340716,g+32|0);v[a+12>>2]=0;if(v[a+288>>2]){break c}v[a+212>>2]=1;break c}v[a+200>>2]=d+2;v[e+16>>2]=b+2;v[e+32>>2]=v[e+32>>2]+2;b=w[b+2|0];if((b|0)==37){zc(a);e=v[a+36>>2];b=w[v[e+16>>2]]}l:{if(b&255){break l}if((Zb(e)|0)>0){break l}xc(a)}m:{if(v[a+292>>2]){break m}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break m}oc(a)}c=v[a+36>>2];f=v[c+16>>2];n:{if(w[f|0]==59){e=0;d=0;break n}e=0;b=0;d=0;while(1){if((b|0)<21){b=b+1|0}else{if(!(v[a+292>>2]|(v[c+20>>2]-f|0)>249)){oc(a)}if(v[a+172>>2]==-1){break b}c=v[a+36>>2];b=0}c=w[v[c+16>>2]];if((c-48&255)>>>0<=9){d=(c+B(d,10)|0)-48|0;e=d>>>0>1114111?d:e;b=b+1|0;Bc(a);c=v[a+36>>2];f=v[c+16>>2];if(w[f|0]!=59){continue}break n}break}if(!(!v[a+212>>2]|v[a+172>>2]!=-1)){d=0;break n}v[a+84>>2]=7;v[g+16>>2]=275237;d=0;nb(0,0,0,a,0,1,7,3,0,0,0,0,340716,g+16|0);v[a+12>>2]=0;if(v[a+288>>2]){break n}v[a+212>>2]=1}c=v[a+36>>2];b=v[c+16>>2];if(w[b|0]!=59){break d}}v[c+32>>2]=v[c+32>>2]+1;v[a+200>>2]=v[a+200>>2]+1;v[c+16>>2]=b+1}o:{if(d>>>0<=255){if(d>>>0>31){break o}if(d>>>0>13){break c}if(1<>>0>55295&d-57344>>>0>8189&d-65536>>>0>1048575){break c}}if(!e){break a}}Bk(a,9,345062,d)}d=0}Ma=g+48|0;return d}function EU(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=Ma-32|0;Ma=h;v[h+16>>2]=13;v[h>>2]=13;a:{if((d|0)>=51){fb(1,-1,239773,0);break a}b:{c:{if(v[a>>2]!=9){break c}f=v[b+4>>2];g=v[f+8>>2];if((g|0)<1){break c}i=v[a+8>>2];e=v[a+12>>2];l=v[f>>2];while(1){f=v[l+(k<<2)>>2];if((i|0)==v[f>>2]&(e|0)==v[f+4>>2]){break b}k=k+1|0;if((g|0)!=(k|0)){continue}break}}g=0;ue(a,c,h+16|0,0);if(v[h+16>>2]!=6){bb(h+16|0);break a}a=v[h+24>>2];d:{if(v[a+12>>2]>=1){k=0;a=v[ub(a,0,h,0)>>2];g=ab(16);e:{if((a|0)==3){a=v[h+8>>2];i=ab(12);kl(i,a);v[g+4>>2]=0;v[g>>2]=i;k=1;break e}a=ab(12);v[a+8>>2]=0;v[a>>2]=0;v[a+4>>2]=0;v[g+4>>2]=0;v[g+8>>2]=0;v[g>>2]=a}v[g+12>>2]=0;bb(h);break d}g=ab(16);a=ab(12);v[a+8>>2]=0;v[a>>2]=0;v[a+4>>2]=0;k=0;v[g+12>>2]=0;v[g+4>>2]=0;v[g+8>>2]=0;v[g>>2]=a}a=v[h+24>>2];if(v[a+12>>2]>(k|0)){n=d+1|0;while(1){Nf(a,k,h);l=EU(h,b,c,n);f:{if(!l){break f}g:{h:{i:{if(v[l+4>>2]|v[l>>2]){break i}a=v[g+12>>2];if(!a){break h}d=v[a+8>>2];if((d|0)<1){break i}i=v[l+12>>2];j:{if(!i){break j}e=v[i+8>>2];if((e|0)<1){break j}m=v[(v[a>>2]+(d<<2)|0)-4>>2];a=0;v[l+12>>2]=0;f=e&3;d=v[i>>2];if(e-1>>>0>=3){e=e&-4;while(1){j=a<<2;v[v[j+d>>2]+8>>2]=0;v[v[d+(j|4)>>2]+8>>2]=0;v[v[d+(j|8)>>2]+8>>2]=0;v[v[d+(j|12)>>2]+8>>2]=0;a=a+4|0;e=e-4|0;if(e){continue}break}}if(f){while(1){v[v[d+(a<<2)>>2]+8>>2]=0;a=a+1|0;f=f-1|0;if(f){continue}break}}a=v[m+12>>2];if(!a){d=ab(16);a=hc(d);v[m+12>>2]=d}e=v[a+4>>2];d=v[a+8>>2];f=v[i+8>>2];if((e|0)<(d+f|0)){j=v[a>>2];while(1){d=v[a+12>>2];d=((d|0)>0?d:e)+e|0;v[a+4>>2]=d;j=yc(j,d,4);v[a>>2]=j;e=v[a+4>>2];d=v[a+8>>2];f=v[i+8>>2];if((e|0)<(d+f|0)){continue}break}}e=0;if((f|0)>0){while(1){j=v[v[i>>2]+(e<<2)>>2];f=d+1|0;v[a+8>>2]=f;v[v[a>>2]+(d<<2)>>2]=j;d=f;e=e+1|0;if((e|0)>2]){continue}break}}e=v[i+8>>2];k:{if((e|0)<1){break k}f=e&3;d=v[i>>2];a=0;if(e-1>>>0>=3){e=e&-4;while(1){j=a<<2;v[v[j+d>>2]+8>>2]=m;v[v[d+(j|4)>>2]+8>>2]=m;v[v[d+(j|8)>>2]+8>>2]=m;v[v[d+(j|12)>>2]+8>>2]=m;a=a+4|0;e=e-4|0;if(e){continue}break}}if(!f){break k}while(1){v[v[d+(a<<2)>>2]+8>>2]=m;a=a+1|0;f=f-1|0;if(f){continue}break}}$a(mc(i))}$a(iG(l));break f}a=v[g+12>>2];if(a){break g}}d=ab(16);a=hc(d);v[g+12>>2]=d}Ib(a,l);v[l+8>>2]=g}bb(h);k=k+1|0;a=v[h+24>>2];if((k|0)>2]){continue}break}}bb(h+16|0);break a}g=ab(16);c=ab(12);a=c;d=v[f+8>>2];b=v[d+4>>2];v[a+4>>2]=b;v[a+8>>2]=b;l:{if(b){b=Pb(b,4);v[a>>2]=b;cb(b,v[d>>2],v[a+4>>2]<<2);break l}v[a>>2]=0}v[g+12>>2]=0;v[g+4>>2]=f;v[g>>2]=c}Ma=h+32|0;return g}function Yv(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=Ma-16|0;Ma=h;e=Ma-16|0;Ma=e;v[h+8>>2]=0;v[h>>2]=0;v[h+4>>2]=0;a:{d=v[a>>2];if(!d){break a}f=w[b+11|0];b:{if(((f<<24>>24<0?v[b+4>>2]:f)|0)==1){i=Vc(b,869408,1);f=v[a>>2];d=v[f+24>>2];f=v[f+28>>2]-d|0;if((f|0)<=0){break a}g=f>>2;f=g;if(i){break b}f=(g|0)>1?g:1;b=0;while(1){v[e+8>>2]=0;d=v[(b<<2)+d>>2];v[e+8>>2]=d;if(d){Qa[v[v[d>>2]+8>>2]](d)|0}mY(h,v[h+4>>2],e+8|0);d=v[e+8>>2];v[e+8>>2]=0;if(d){Qa[v[v[d>>2]+12>>2]](d)|0}b=b+1|0;if((f|0)==(b|0)){break a}d=v[v[a>>2]+24>>2];continue}}f=v[d+28>>2];d=v[d+24>>2];f=f-d|0;if((f|0)<=0){break a}f=f>>2}n=(f|0)>1?f:1;f=0;while(1){j=w[b+11|0];g=j<<24>>24<0;l=f<<2;i=v[l+d>>2];m=w[i+59|0];k=m<<24>>24<0;j=g?v[b+4>>2]:j;c:{if((j|0)!=((k?v[i+52>>2]:m)|0)){break c}if(j){d=i+48|0;if(lc(g?v[b>>2]:b,k?v[d>>2]:d,j)){break c}d=v[v[a>>2]+24>>2]}v[e+8>>2]=0;d=v[d+l>>2];v[e+8>>2]=d;if(d){Qa[v[v[d>>2]+8>>2]](d)|0}mY(h,v[h+4>>2],e+8|0);d=v[e+8>>2];v[e+8>>2]=0;if(!d){break c}Qa[v[v[d>>2]+12>>2]](d)|0}f=f+1|0;if((n|0)==(f|0)){break a}d=v[v[a>>2]+24>>2];continue}}Ma=e+16|0;if((c|0)!=(h|0)){d:{d=v[h+4>>2];e=v[h>>2];i=d-e|0;f=i>>2;b=v[c+8>>2];a=v[c>>2];if(f>>>0<=b-a>>2>>>0){g=v[c+4>>2]-a|0;b=g+e|0;j=g>>2;k=j>>>0>>0?b:d;if((k|0)!=(e|0)){while(1){g=v[a>>2];i=v[e>>2];v[a>>2]=i;if(i){Qa[v[v[i>>2]+8>>2]](i)|0}if(g){Qa[v[v[g>>2]+12>>2]](g)|0}a=a+4|0;e=e+4|0;if((k|0)!=(e|0)){continue}break}}e=v[c+4>>2];if(f>>>0>j>>>0){if((d|0)!=(k|0)){while(1){v[e>>2]=0;a=v[b>>2];v[e>>2]=a;if(a){Qa[v[v[a>>2]+8>>2]](a)|0}e=e+4|0;b=b+4|0;if((d|0)!=(b|0)){continue}break}}v[c+4>>2]=e;break d}if((a|0)!=(e|0)){while(1){e=e-4|0;b=v[e>>2];v[e>>2]=0;if(b){Qa[v[v[b>>2]+12>>2]](b)|0}if((a|0)!=(e|0)){continue}break}}v[c+4>>2]=a;break d}if(a){b=v[c+4>>2];if((b|0)==(a|0)){b=a}else{while(1){b=b-4|0;g=v[b>>2];v[b>>2]=0;if(g){Qa[v[v[g>>2]+12>>2]](g)|0}if((a|0)!=(b|0)){continue}break}b=v[c>>2]}v[c+4>>2]=a;$a(b);v[c+8>>2]=0;v[c>>2]=0;v[c+4>>2]=0;b=0}e:{if((i|0)<=-1){break e}a=b>>1;a=b>>2>>>0<536870911?a>>>0>>0?f:a:1073741823;if(a>>>0>=1073741824){break e}a=a<<2;b=ab(a);v[c>>2]=b;v[c+4>>2]=b;v[c+8>>2]=a+b;if((d|0)!=(e|0)){while(1){a=v[e>>2];v[b>>2]=a;if(a){Qa[v[v[a>>2]+8>>2]](a)|0}b=b+4|0;e=e+4|0;if((d|0)!=(e|0)){continue}break}}v[c+4>>2]=b;break d}Jc();L()}}b=v[h>>2];if(b){a=v[h+4>>2];if((b|0)==(a|0)){a=b}else{while(1){a=a-4|0;c=v[a>>2];v[a>>2]=0;if(c){Qa[v[v[c>>2]+12>>2]](c)|0}if((a|0)!=(b|0)){continue}break}a=v[h>>2]}v[h+4>>2]=b;$a(a)}Ma=h+16|0}function ST(a,b,c){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;f=Ma-48|0;Ma=f;if(!yh(b)){j=f+32|0;e=j;v[e>>2]=0;v[e+4>>2]=0;t[e+8|0]=0;e=rg(b);a:{while(1){l=qe(b,e);if(!l){break a}Xc(f,b);d=qd(f+16|0,f);Xe(j,d);Qb(d);if(t[f+11|0]<=-1){$a(v[f>>2])}if(!nc(j,963020)){continue}break}k=f+16|0;e=k;v[e>>2]=0;v[e+4>>2]=0;t[e+8|0]=0;im(b,963096,e);b:{if(v[e+4>>2]){js(f,k);o=c;g=t[f+11|0]<0?v[f>>2]:f;e=0;b=Ma-32|0;Ma=b;c:{d:{e:{i=v[a+48>>2];a=v[i+60>>2];m=i- -64|0;f:{if((a|0)!=(m|0)){while(1){d=a;g:{if(t[a+27|0]>=0){v[b+24>>2]=v[d+24>>2];a=v[d+20>>2];v[b+16>>2]=v[d+16>>2];v[b+20>>2]=a;break g}vc(b+16|0,v[d+16>>2],v[d+20>>2])}v[b+28>>2]=v[d+28>>2];c=0;h=ce(g);n=w[b+27|0];a=n<<24>>24;if((h|0)==(((a|0)<0?v[b+20>>2]:n)|0)){a=Vc(b+16|0,g,h);e=a?e:v[b+28>>2];c=!a;a=w[b+27|0]}if(a<<24>>24<=-1){$a(v[b+16>>2])}if(c){break f}c=v[d+4>>2];h:{if(!c){a=v[d+8>>2];if((d|0)==v[a>>2]){break h}c=d+8|0;while(1){d=v[c>>2];c=d+8|0;a=v[d+8>>2];if((d|0)!=v[a>>2]){continue}break}break h}while(1){a=c;c=v[a>>2];if(c){continue}break}}if((a|0)!=(m|0)){continue}break}}e=ab(36);d=v[i+24>>2];c=ce(g);if(c>>>0>=1073741808){break e}i:{j:{if(c>>>0>=2){h=c+4&-4;a=ab(h<<2);v[b+8>>2]=h|-2147483648;v[b>>2]=a;v[b+4>>2]=c;break j}t[b+11|0]=c;a=b;if(!c){break i}}rb(a,g,c)}v[(c<<2)+a>>2]=0;h=b+16|0;po(h,d,b);c=Ma-16|0;Ma=c;v[e+4>>2]=0;v[e+8>>2]=0;a=e+16|0;v[a>>2]=0;v[a+4>>2]=0;v[e>>2]=e+4;d=e+28|0;v[d>>2]=0;v[d+4>>2]=0;v[e+12>>2]=a;v[e+24>>2]=d;a=Ss(c+8|0);if(mn(a,h)){QT(e,a)}v[a>>2]=869240;a=v[a+4>>2];if(a){Qa[v[v[a>>2]+4>>2]](a)}Ma=c+16|0;if(t[b+27|0]<=-1){$a(v[b+16>>2])}if(t[b+11|0]<=-1){$a(v[b>>2])}c=ce(g);if(c>>>0>=1073741808){break d}d=i+60|0;k:{l:{if(c>>>0>=2){h=c+4&-4;a=ab(h<<2);v[b+24>>2]=h|-2147483648;v[b+16>>2]=a;v[b+20>>2]=c;break l}t[b+27|0]=c;a=b+16|0;if(!c){break k}}rb(a,g,c)}v[(c<<2)+a>>2]=0;v[b+28>>2]=e;a=ug(d,b,b+16|0);if(!v[a>>2]){c=ab(32);v[c+24>>2]=v[b+24>>2];g=v[b+20>>2];v[c+16>>2]=v[b+16>>2];v[c+20>>2]=g;v[b+24>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[c+28>>2]=v[b+28>>2];v[c+8>>2]=v[b>>2];v[c>>2]=0;v[c+4>>2]=0;v[a>>2]=c;g=v[v[d>>2]>>2];if(g){v[d>>2]=g;c=v[a>>2]}Ob(v[i- -64>>2],c);v[i+68>>2]=v[i+68>>2]+1}if(t[b+27|0]>-1){break f}$a(v[b+16>>2])}Ma=b+32|0;break c}sc();L()}sc();L()}BT(o,e,0);if(t[f+11|0]>-1){break b}$a(v[f>>2]);break b}a=ab(36);v[a+4>>2]=0;v[a+8>>2]=0;e=a+16|0;v[e>>2]=0;v[e+4>>2]=0;v[a>>2]=a+4;d=a+28|0;v[d>>2]=0;v[d+4>>2]=0;v[a+12>>2]=e;v[a+24>>2]=d;if(!yh(b)){QT(a,b)}BT(c,a,1)}Qb(k)}Qb(j)}Ma=f+48|0;return l}function Jla(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;a=v[a+4>>2];if(!a){return 0}c=Ma-112|0;Ma=c;e=a+12|0;qb(e,0);v[c+104>>2]=0;v[c+108>>2]=v[279250];g=c- -64|0;a=g;d=Ma-16|0;Ma=d;f=w[b+11|0];i=v[b>>2];h=v[b+4>>2];v[d+12>>2]=0;v[d+8>>2]=0;j=b;b=f<<24>>24<0;Fj(b?i:j,b?h:f,d+12|0,d+8|0);a:{f=v[d+8>>2];if(f>>>0<4294967280){i=v[d+12>>2];b:{c:{if(f>>>0>=11){h=f+16&-16;b=ab(h);v[a+8>>2]=h|-2147483648;v[a>>2]=b;v[a+4>>2]=f;a=b;break c}t[a+11|0]=f;if(!f){break b}}cb(a,i,f)}t[a+f|0]=0;a=v[d+12>>2];if(a){$a(a)}Ma=d+16|0;break a}sc();L()}f=Oc(c+16|0,t[c+75|0]<0?v[c+64>>2]:g);if(t[c+75|0]<=-1){$a(v[c+64>>2])}a=$D(c+24|0,f);d=ze(c- -64|0,a);v[a+24>>2]=969432;v[a>>2]=969400;b=v[a+28>>2];if(b){g=v[b+4>>2]-1|0;v[b+4>>2]=g;if(!g){Qa[v[v[b>>2]+4>>2]](b)}v[a+28>>2]=0}v[a+16>>2]=969432;b=v[a+20>>2];if(b){g=v[b+4>>2]-1|0;v[b+4>>2]=g;if(!g){Qa[v[v[b>>2]+4>>2]](b)}v[a+20>>2]=0}db(a+8|0);db(f);v[c+8>>2]=0;qb(c+8|0,0);b=Sp(180);Xr(b);v[b>>2]=971480;zg(b+8|0);v[b+68>>2]=0;v[b+72>>2]=0;v[b+52>>2]=0;v[b+56>>2]=6;v[b+44>>2]=0;v[b+48>>2]=0;v[b+76>>2]=0;v[b+80>>2]=0;v[b+60>>2]=0;v[b+68>>2]=971412;v[b+72>>2]=0;v[b+76>>2]=0;v[b+80>>2]=0;v[b+92>>2]=0;u[b+88>>1]=0;v[b+84>>2]=0;v[b+100>>2]=0;v[b+104>>2]=0;v[b+108>>2]=0;v[b+112>>2]=0;v[b+116>>2]=0;v[b+96>>2]=0;a=v[279250];v[b+124>>2]=0;v[b+128>>2]=0;v[b+120>>2]=a;v[b+132>>2]=0;v[b+136>>2]=0;v[b+140>>2]=0;v[b+128>>2]=970612;v[b+132>>2]=0;v[b+136>>2]=0;v[b+140>>2]=0;v[b+156>>2]=0;v[b+160>>2]=0;v[b+148>>2]=0;v[b+152>>2]=0;v[b+148>>2]=970612;v[b+152>>2]=0;v[b+156>>2]=0;v[b+160>>2]=0;v[b+168>>2]=0;v[c+16>>2]=0;qb(c+16|0,b);a=c;g=a;f=v[a+8>>2];if(f){v[f+4>>2]=v[f+4>>2]+1;a=v[c+8>>2]}else{a=0}v[g+24>>2]=a;mS(b,d,c+24|0);a=v[c+24>>2];v[c+24>>2]=0;d:{if(!a){break d}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break d}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}jb(e,c+16|0);a=v[c+16>>2];v[c+16>>2]=0;e:{if(!a){break e}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break e}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}a=v[c+8>>2];v[c+8>>2]=0;f:{if(!a){break f}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break f}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}iS(v[e>>2]);v[d+24>>2]=969432;v[d>>2]=969400;a=v[d+28>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Qa[v[v[a>>2]+4>>2]](a)}v[d+28>>2]=0}v[d+16>>2]=969432;a=v[d+20>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Qa[v[v[a>>2]+4>>2]](a)}v[d+20>>2]=0}db(d+8|0);db(c+104|0);Ma=c+112|0;return 1}function MZ(a,b,c){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,p=0,q=0,r=0,s=0,t=0,u=0,x=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0;j=v[a+16>>2];l=w[j+6|0]<<8|w[j+7|0]&254;if(!l){return 0}z=v[a>>2];E=v[z+508>>2]+v[z+512>>2]|0;e=v[b>>2];s=e+1|0;p=c?s:e;u=l+2|0;t=j+14|0;x=l>>>1|0;h=x;a:{b:{c:{d:{while(1){i=g+h|0;m=(i&-2)+t|0;k=w[m|0]<<8|w[m+1|0];e=i>>>1|0;d=e;f=m+u|0;m=w[f|0]<<8|w[f+1|0];if(m>>>0<=p>>>0){if(k>>>0>=p>>>0){break d}g=e+1|0}else{h=d}if(g>>>0>>0){continue}break}g=0;break c}g=0;d=f+l|0;f=d+l|0;A=w[f|0]<<8|w[f+1|0];h=(m|0)==65535&x-1>>>0<=e>>>0&(k|0)==65535&(A|0)!=0&(f+A|0)+2>>>0>E>>>0;q=h?0:A;d=w[d|0]|w[d+1|0]<<8;F=(d<<8|d>>>8)<<16>>16;n=h?1:F;e:{f:{g:{h:{if(w[a+20|0]&2){o=e+1|0;h=(q|0)==65535?o:e;if(i>>>0<2){break h}g=e-1|0;r=g<<1;d=r+t|0;i=w[d|0]<<8|w[d+1|0];if(p>>>0>i>>>0){break h}n=(j+B(l,3)|0)+16|0;G=t+u|0;i:{while(1){j:{j=i;d=g;C=r+G|0;D=C+l|0;f=D+l|0;q=w[f|0]<<8|w[f+1|0];h=(q|0)==65535?h:d;if(!d){break j}g=d-1|0;r=g<<1;i=r+t|0;i=w[i|0]<<8|w[i+1|0];if(p>>>0<=i>>>0){continue}break i}break}d=0;f=n}i=w[D|0]|w[D+1|0]<<8;n=(i<<8|i>>>8)<<16>>16;i=w[C+1|0]|w[C|0]<<8;break g}d=e;if((q|0)==65535){break e}break f}d=e;j=k;i=m}k:{if((h|0)!=(o|0)){k=j;break k}if((d|0)!=(e|0)){n=F;q=A;i=m;j=k}g=0;if(o>>>0>=x>>>0){d=e;k=j;break e}d=(o<<1)+t|0;f=u+d|0;r=w[f|0]<<8|w[f+1|0];l:{if(r>>>0>p>>>0){h=e;break l}h=e;m:{while(1){n:{i=r;j=d;k=(d+u|0)+l|0;f=k+l|0;q=w[f|0]<<8|w[f+1|0];h=(q|0)==65535?h:o;o=o+1|0;if((x|0)==(o|0)){break n}d=(o<<1)+t|0;f=u+d|0;r=w[f|0]<<8|w[f+1|0];if(r>>>0<=p>>>0){continue}break m}break}o=x}d=w[k|0]|w[k+1|0]<<8;n=(d<<8|d>>>8)<<16>>16;j=w[j+1|0]|w[j|0]<<8}k=j;d=o-1|0;if((e|0)==(h|0)){break e}}if((d|0)==(h|0)){e=h;m=i;break f}e=(h<<1)+t|0;k=w[e|0]<<8|w[e+1|0];e=e+u|0;m=w[e|0]<<8|w[e+1|0];e=e+l|0;f=e+l|0;q=w[f|0]<<8|w[f+1|0];e=w[e|0]|w[e+1|0]<<8;n=(e<<8|e>>>8)<<16>>16;e=h}if(q){g=0;d=((p-m<<1)+q|0)+f|0;if(d>>>0>E>>>0?c:0){break c}d=w[d+1|0]|w[d|0]<<8;if(!d){break c}d=d+n&65535;g=d>>>0>2]?d:0;d=e;if(c){break b}break a}d=n+p|0;g=d&65535;if(!c){break a}o:{if(y[z+16>>2]>g>>>0){break o}c=k+n|0;p:{if((d|0)>-1){break p}g=0;if((c|0)<0){break p}s=0-n|0;break o}s=(d|0)<65536?(c|0)>65535?65536-n|0:p:p;g=0}d=e;break b}if(c){break b}break a}d=e;if(!c){break a}}c=g;if(k>>>0>>0){g=0;d=d+1|0;if((x|0)==(d|0)){break a}}q:{if(GZ(a,d)){g=c;if(c){break q}return 0}v[a+24>>2]=s;if(c){v[a+28>>2]=c;g=c;break q}v[a+24>>2]=s;LZ(a);g=v[a+28>>2];if(!g){return 0}s=v[a+24>>2]}v[b>>2]=s}return g} -function OR(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;lg(a);g=v[a>>2];b=v[b+8>>2];if(b){j=Ma-16|0;Ma=j;e=Ma-16|0;Ma=e;k=j+8|0;lg(k);v[e+8>>2]=0;qb(e+8|0,b);b=Ma-48|0;Ma=b;d=v[k>>2];c=v[e+8>>2];a:{b:{if(v[c+148>>2]&16){i=v[e+8>>2];if(v[c+148>>2]&128){c=v[i+40>>2];if(c){break b}}if(!(v[i+148>>2]&16)){break a}c=b+32|0;th(c,v[v[e+8>>2]+108>>2]);Ve(b+24|0,c);i=v[b+24>>2];v[b+16>>2]=0;v[b+20>>2]=v[279250];c:{if(!Ad(i,b+16|0,0)){break c}if(!Ad(i,b+16|0,0)){break c}while(1){d:{if(Hb(b+16|0,306560,-1)){if(Hb(b+16|0,217587,-1)){break d}}if(Qa[v[v[d>>2]+16>>2]](d)|0){Qa[v[v[d>>2]+12>>2]](d,349015,1)|0}Ve(b+8|0,k);h=v[b+8>>2];c=v[b+16>>2];Uf(h,v[(c?c+12|0:1117e3)>>2],0);v[b>>2]=0;qb(b,i);c=v[b>>2];v[b+40>>2]=0;qb(b+40|0,h);Rg(v[b+40>>2],c);c=v[b+40>>2];v[b+40>>2]=0;e:{if(!c){break e}f=v[c+4>>2]-1|0;v[c+4>>2]=f;if(f){break e}f=v[c+4>>2];if(!f){v[c+4>>2]=-32767}if(!f){Qa[v[v[c>>2]+4>>2]](c)}}c=v[b>>2];v[b>>2]=0;f:{if(!c){break f}f=v[c+4>>2]-1|0;v[c+4>>2]=f;if(f){break f}f=v[c+4>>2];if(!f){v[c+4>>2]=-32767}if(!f){Qa[v[v[c>>2]+4>>2]](c)}}Od(h);c=v[b+8>>2];v[b+8>>2]=0;if(!c){break d}h=v[c+4>>2]-1|0;v[c+4>>2]=h;if(h){break d}h=v[c+4>>2];if(!h){v[c+4>>2]=-32767}if(!h){Qa[v[v[c>>2]+4>>2]](c)}}Od(i);if(Ad(i,b+16|0,0)){continue}break}}vk(v[v[e+8>>2]+108>>2]);db(b+16|0);d=v[b+24>>2];v[b+24>>2]=0;g:{if(!d){break g}c=v[d+4>>2]-1|0;v[d+4>>2]=c;if(c){break g}c=v[d+4>>2];if(!c){v[d+4>>2]=-32767}if(!c){Qa[v[v[d>>2]+4>>2]](d)}}d=v[b+32>>2];v[b+32>>2]=0;if(!d){break a}c=v[d+4>>2]-1|0;v[d+4>>2]=c;if(c){break a}c=v[d+4>>2];if(!c){v[d+4>>2]=-32767}if(!c){Qa[v[v[d>>2]+4>>2]](d)}break a}c=v[c+40>>2];if(!c){break a}}if(!(Qa[v[v[c>>2]+28>>2]](c)|0)){break a}if(Qa[v[v[d>>2]+16>>2]](d)|0){Qa[v[v[d>>2]+12>>2]](d,349015,1)|0}c=v[v[e+8>>2]+40>>2];Qa[v[v[c>>2]+20>>2]](c,0,0,0)|0;Rg(d,v[v[e+8>>2]+40>>2])}Ma=b+48|0;b=v[e+8>>2];v[e+8>>2]=0;h:{if(!b){break h}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break h}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}b=v[k>>2];i:{if(!(Qa[v[v[b>>2]+16>>2]](b)|0)){qb(k,0);break i}Qa[v[v[b>>2]+20>>2]](b,0,0,0)|0}Ma=e+16|0;b=v[j+8>>2];if(b){Qa[v[v[b>>2]+20>>2]](b,0,0,0)|0;if(Qa[v[v[g>>2]+16>>2]](g)|0){Qa[v[v[g>>2]+12>>2]](g,349015,1)|0}Rg(g,v[j+8>>2]);b=v[j+8>>2]}v[j+8>>2]=0;j:{if(!b){break j}e=v[b+4>>2]-1|0;v[b+4>>2]=e;if(e){break j}e=v[b+4>>2];if(!e){v[b+4>>2]=-32767}if(!e){Qa[v[v[b>>2]+4>>2]](b)}}Ma=j+16|0}Qa[v[v[g>>2]+20>>2]](g,0,0,0)|0;if(!(Qa[v[v[g>>2]+28>>2]](g)|0)){qb(a,0)}}function dia(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=Ma-16|0;Ma=h;i=gb(40);v[i>>2]=0;v[h+12>>2]=0;v[296803]=0;j=W(368,1,0,0)|0;e=v[296803];v[296803]=0;f=-1;k=4;a:{b:{c:{if(!e){break c}g=v[296804];if(!g){break c}f=pb(v[e>>2],i,4);if(!f){break b}Q(g|0)}e=P()|0;d:{e:{if((f|0)==1){break e}v[h+8>>2]=j;e=0;if(!v[h+8>>2]){break d}v[v[h+8>>2]+700>>2]=1e6;v[v[h+8>>2]+704>>2]=1e6;v[296803]=0;e=v[h+8>>2];if(e){v[e+156>>2]=24}else{e=0}j=e;e=v[296803];v[296803]=0;f=-1;f:{if(!e){break f}g=v[296804];if(!g){break f}f=pb(v[e>>2],i,4);if(!f){break b}Q(g|0)}e=P()|0;if((f|0)==1){break e}i=be(j,1,i,4);k=P()|0;e=0}while(1){if(e){v[296803]=0;$a(i);ka(370);e=v[296803];v[296803]=0;g:{if(!e){break g}g=v[296804];if(!g){break g}if(!pb(v[e>>2],i,k)){break b}Q(g|0)}e=P()|0;continue}v[296803]=0;e=v[h+8>>2];if(e){v[e+676>>2]=0;v[e+672>>2]=0;v[e+668>>2]=0}e=v[296803];v[296803]=0;f=-1;h:{if(!e){break h}g=v[296804];if(!g){break h}f=pb(v[e>>2],i,k);if(!f){break b}Q(g|0)}e=P()|0;if((f|0)==1){continue}v[296803]=0;e=v[h+8>>2];if(e){v[e+164>>2]=d;v[e+160>>2]=c;v[e+168>>2]=b}e=v[296803];v[296803]=0;f=-1;i:{if(!e){break i}g=v[296804];if(!g){break i}f=pb(v[e>>2],i,k);if(!f){break b}Q(g|0)}e=P()|0;if((f|0)==1){continue}v[296803]=0;j=Y(372,v[h+8>>2],a|0)|0;e=v[296803];v[296803]=0;f=-1;j:{if(!e){break j}g=v[296804];if(!g){break j}f=pb(v[e>>2],i,k);if(!f){break b}Q(g|0)}e=P()|0;if((f|0)==1){continue}if(!j){v[h+12>>2]=1}v[v[h+8>>2]+272>>2]=8192;k:{if(v[h+12>>2]){break k}e=v[h+8>>2];j=v[e+272>>2];v[296803]=0;j=Y(373,e|0,j|0)|0;e=v[296803];v[296803]=0;f=-1;l:{if(!e){break l}g=v[296804];if(!g){break l}f=pb(v[e>>2],i,k);if(!f){break b}Q(g|0)}e=P()|0;if((f|0)==1){continue}v[v[h+8>>2]+268>>2]=j;if(v[v[h+8>>2]+268>>2]){break k}v[h+12>>2]=1}e=v[h+8>>2];if(v[h+12>>2]){j=v[v[h+8>>2]+268>>2];v[296803]=0;R(378,e|0,j|0);e=v[296803];v[296803]=0;f=-1;m:{if(!e){break m}g=v[296804];if(!g){break m}f=pb(v[e>>2],i,k);if(!f){break b}Q(g|0)}e=P()|0;if((f|0)==1){continue}v[v[h+8>>2]+268>>2]=0;v[296803]=0;X(379,v[h+8>>2],0,0);e=v[296803];v[296803]=0;f=-1;n:{if(!e){break n}g=v[296804];if(!g){break n}f=pb(v[e>>2],i,k);if(!f){break b}Q(g|0)}e=P()|0;if((f|0)==1){continue}e=0;break d}v[296803]=0;na(78,e|0,0,0,0);e=v[296803];v[296803]=0;f=-1;o:{if(!e){break o}g=v[296804];if(!g){break o}f=pb(v[e>>2],i,k);if(!f){break b}Q(g|0)}e=P()|0;if((f|0)==1){continue}break}e=v[h+8>>2]}$a(i);Ma=h+16|0;break a}$a(i);tc(e,g);L()}return e|0}function pNa(a,b){a=a|0;b=b|0;var 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;a:{if(!b|!v[a+12>>2]){break a}p=a+16|0;q=v[p+84>>2];if((q|0)<1){break a}o=ab(40);g=V0(o);while(1){b:{c:{d:{e:{k=Cm(p,n);switch(v[k+60>>2]){case 0:break d;case 1:break e;default:break b}}e=v[v[a+12>>2]+2228504>>2];if(e){break c}break b}e=v[a+12>>2]}c=Ma-144|0;Ma=c;v[c+140>>2]=v[k>>2];h=ab(40);V0(h);v[c+132>>2]=0;v[c+128>>2]=h;v[c+120>>2]=1026184;v[c+124>>2]=c+128;t[c+15|0]=0;t[c+14|0]=0;pt(c+16|0,e,c+140|0,c+15|0,c+120|0,c+14|0);Dh(c+92|0);Ma=c+144|0;h=v[c+128>>2];if(!h){break b}d=v[h+16>>2];f:{if((d|0)<1){break f}e=v[h+8>>2];i=d&3;c=0;if(d-1>>>0>=3){d=d&-4;while(1){f=c<<4;j=f+e|0;A[j+8>>3]=-A[j+8>>3];j=e+(f|16)|0;A[j+8>>3]=-A[j+8>>3];j=e+(f|32)|0;A[j+8>>3]=-A[j+8>>3];f=e+(f|48)|0;A[f+8>>3]=-A[f+8>>3];c=c+4|0;d=d-4|0;if(d){continue}break}}if(!i){break f}while(1){d=e+(c<<4)|0;A[d+8>>3]=-A[d+8>>3];c=c+1|0;i=i-1|0;if(i){continue}break}}c=v[a+12>>2];l=+y[c+120>>2];m=+y[c+124>>2];e=v[h+16>>2];g:{if((e|0)<1){break g}m=25.4/m;l=25.4/l;i=v[h+8>>2];c=0;if((e|0)!=1){d=e&-2;while(1){j=c<<4;f=j+i|0;A[f>>3]=l*A[f>>3];A[f+8>>3]=m*A[f+8>>3];f=i+(j|16)|0;A[f>>3]=l*A[f>>3];A[f+8>>3]=m*A[f+8>>3];c=c+2|0;d=d-2|0;if(d){continue}break}}if(!(e&1)){break g}c=i+(c<<4)|0;A[c>>3]=l*A[c>>3];A[c+8>>3]=m*A[c+8>>3]}c=v[a+12>>2];m=+z[k+4>>2]*25.4/+y[c+120>>2]+ +z[a+24>>2];l=25.4/+y[c+124>>2]+ +C(z[a+28>>2]+z[k+8>>2]);e=v[h+16>>2];h:{if((e|0)<1){break h}k=v[h+8>>2];c=0;if((e|0)!=1){d=e&-2;while(1){f=c<<4;i=f+k|0;A[i>>3]=A[i>>3]+m;A[i+8>>3]=A[i+8>>3]+l;i=k+(f|16)|0;A[i>>3]=A[i>>3]+m;A[i+8>>3]=A[i+8>>3]+l;c=c+2|0;d=d-2|0;if(d){continue}break}}if(!(e&1)){break h}c=k+(c<<4)|0;A[c>>3]=A[c>>3]+m;A[c+8>>3]=A[c+8>>3]+l}c=v[g+16>>2];v[g+24>>2]=c+v[h+24>>2];d=v[g+20>>2];j=c;c=v[h+16>>2];e=j+c|0;if((d|0)<(e|0)){if(!d){v[g+20>>2]=32;d=32}if((d|0)<(e|0)){while(1){d=d<<1;if((e|0)>(d|0)){continue}break}v[g+20>>2]=d}r=g,s=Wd(v[g+8>>2],d<<4),v[r+8>>2]=s;r=g,s=Wd(v[g+12>>2],v[g+20>>2]),v[r+12>>2]=s;c=v[h+16>>2]}if((c|0)>=1){e=v[g+16>>2];d=0;while(1){c=v[g+8>>2]+(e<<4)|0;e=v[h+8>>2]+(d<<4)|0;k=v[e+4>>2];v[c>>2]=v[e>>2];v[c+4>>2]=k;k=v[e+12>>2];v[c+8>>2]=v[e+8>>2];v[c+12>>2]=k;t[v[g+12>>2]+v[g+16>>2]|0]=w[v[h+12>>2]+d|0];e=v[g+16>>2]+1|0;v[g+16>>2]=e;d=d+1|0;if((d|0)>2]){continue}break}}Qa[v[v[h>>2]+4>>2]](h)}n=n+1|0;if((q|0)!=(n|0)){continue}break}Qa[v[v[o>>2]+16>>2]](g,b)|0;Qa[v[v[o>>2]+4>>2]](g);n=1}return n|0}function W1(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,z=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;g=v[a+4>>2];f=v[g>>2];l=A[f+32>>3];G=A[f>>3];r=A[f+16>>3];p=A[f+40>>3];m=A[f+8>>3];q=A[a+16>>3];i=A[f+24>>3];s=A[a+24>>3];h=(e|0)>1?e:1;v[g+24>>2]=h;v[g+4>>2]=h;f=g;q=q+ +(c|0);n=i;i=s+ +(d|0);s=n*i;n=(p+(m*q+s))*256;n=n+(n<0?-.5:.5);a:{if(D(n)<2147483648){d=~~n;break a}d=-2147483648}v[f+40>>2]=d;f=g;r=i*r;i=(l+(q*G+r))*256;i=i+(i<0?-.5:.5);b:{if(D(i)<2147483648){c=~~i;break b}c=-2147483648}v[f+20>>2]=c;j=g;i=p;p=q+ +(e>>>0);m=(i+(p*m+s))*256;m=m+(m<0?-.5:.5);c:{if(D(m)<2147483648){f=~~m;break c}f=-2147483648}d=f-d|0;f=(d|0)/(h|0)|0;k=d-B(f,h)|0;o=(k|0)<1;v[j+28>>2]=f-o;f=g;l=(l+(p*G+r))*256;l=l+(l<0?-.5:.5);d:{if(D(l)<2147483648){d=~~l;break d}d=-2147483648}c=d-c|0;d=(c|0)/(h|0)|0;j=d;c=c-B(d,h)|0;d=(c|0)<1;v[f+8>>2]=j-d;f=k+(o?e:0)|0;v[g+32>>2]=f;c=c+(d?e:0)|0;v[g+12>>2]=c;v[g+36>>2]=f-e;v[g+16>>2]=c-e;c=v[a+4>>2];g=v[c+40>>2];c=v[c+20>>2];while(1){f=v[a+36>>2];d=v[a>>2];h=c-v[a+32>>2]|0;c=h>>8;v[d+8>>2]=c;k=g-f|0;f=(v[d+28>>2]+(k>>8)>>>0)%y[d+24>>2]|0;v[d+32>>2]=f;g=v[v[d>>2]>>2];o=v[g+4>>2];C=v[g+16>>2];u=v[d+12>>2];g=(c+v[d+16>>2]>>>0)%(u>>>0)|0;v[d+20>>2]=g;f=o+B(f,C)|0;v[d+4>>2]=f;c=f+(g<<2)|0;o=w[c+2|0];C=w[c+1|0];H=w[c|0];j=w[c+3|0];c=g+1|0;c=c>>>0>>0?c:0;v[d+20>>2]=c;c=f+(c<<2)|0;u=w[c+2|0];I=w[c+1|0];J=w[c|0];g=w[c+3|0];c=v[a>>2];d=v[c+32>>2]+1|0;d=d>>>0>2]?d:0;v[c+32>>2]=d;f=v[v[c>>2]>>2];E=v[f+4>>2];f=v[f+16>>2];x=(v[c+16>>2]+v[c+8>>2]>>>0)%y[c+12>>2]|0;v[c+20>>2]=x;F=c;c=E+B(d,f)|0;v[F+4>>2]=c;c=c+(x<<2)|0;E=w[c+2|0];x=w[c+1|0];K=w[c|0];f=w[c+3|0];c=v[a>>2];d=v[c+20>>2]+1|0;d=d>>>0>2]?d:0;v[c+20>>2]=d;c=v[c+4>>2]+(d<<2)|0;L=w[c+2|0];M=w[c+1|0];N=w[c|0];F=j;h=h&255;j=256-h|0;k=k&255;z=256-k|0;d=B(j,z);O=g;g=B(h,z);z=f;f=B(k,j);j=w[c+3|0];c=B(h,k);t[b+3|0]=(((B(F,d)+B(O,g)|0)+B(z,f)|0)+B(j,c)|0)+32768>>>16;t[b+2|0]=(((B(d,H)+B(g,J)|0)+B(f,K)|0)+B(c,N)|0)+32768>>>16;t[b+1|0]=(((B(d,C)+B(g,I)|0)+B(f,x)|0)+B(c,M)|0)+32768>>>16;t[b|0]=(((B(d,o)+B(g,u)|0)+B(f,E)|0)+B(c,L)|0)+32768>>>16;d=v[a+4>>2];c=d;g=v[c+16>>2]+v[c+12>>2]|0;v[c+16>>2]=g;c=v[c+20>>2]+v[c+8>>2]|0;v[d+20>>2]=c;if((g|0)>=1){c=c+1|0;v[d+20>>2]=c;v[d+16>>2]=g-v[d+4>>2]}f=v[d+36>>2]+v[d+32>>2]|0;v[d+36>>2]=f;g=v[d+40>>2]+v[d+28>>2]|0;v[d+40>>2]=g;if((f|0)>=1){g=g+1|0;v[d+40>>2]=g;v[d+36>>2]=f-v[d+24>>2]}b=b+4|0;e=e-1|0;if(e){continue}break}}function E1(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,z=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;g=v[a+4>>2];f=v[g>>2];l=A[f+32>>3];G=A[f>>3];r=A[f+16>>3];p=A[f+40>>3];m=A[f+8>>3];q=A[a+16>>3];i=A[f+24>>3];s=A[a+24>>3];h=(e|0)>1?e:1;v[g+24>>2]=h;v[g+4>>2]=h;f=g;q=q+ +(c|0);n=i;i=s+ +(d|0);s=n*i;n=(p+(m*q+s))*256;n=n+(n<0?-.5:.5);a:{if(D(n)<2147483648){d=~~n;break a}d=-2147483648}v[f+40>>2]=d;f=g;r=i*r;i=(l+(q*G+r))*256;i=i+(i<0?-.5:.5);b:{if(D(i)<2147483648){c=~~i;break b}c=-2147483648}v[f+20>>2]=c;j=g;i=p;p=q+ +(e>>>0);m=(i+(p*m+s))*256;m=m+(m<0?-.5:.5);c:{if(D(m)<2147483648){f=~~m;break c}f=-2147483648}d=f-d|0;f=(d|0)/(h|0)|0;k=d-B(f,h)|0;o=(k|0)<1;v[j+28>>2]=f-o;f=g;l=(l+(p*G+r))*256;l=l+(l<0?-.5:.5);d:{if(D(l)<2147483648){d=~~l;break d}d=-2147483648}c=d-c|0;d=(c|0)/(h|0)|0;j=d;c=c-B(d,h)|0;d=(c|0)<1;v[f+8>>2]=j-d;f=k+(o?e:0)|0;v[g+32>>2]=f;c=c+(d?e:0)|0;v[g+12>>2]=c;v[g+36>>2]=f-e;v[g+16>>2]=c-e;c=v[a+4>>2];g=v[c+40>>2];c=v[c+20>>2];while(1){f=v[a+36>>2];d=v[a>>2];h=c-v[a+32>>2]|0;c=h>>8;v[d+8>>2]=c;k=g-f|0;f=(v[d+28>>2]+(k>>8)>>>0)%y[d+24>>2]|0;v[d+32>>2]=f;g=v[v[d>>2]>>2];o=v[g+4>>2];C=v[g+16>>2];u=v[d+12>>2];g=(c+v[d+16>>2]>>>0)%(u>>>0)|0;v[d+20>>2]=g;f=o+B(f,C)|0;v[d+4>>2]=f;c=f+(g<<2)|0;o=w[c|0];C=w[c+1|0];H=w[c+2|0];j=w[c+3|0];c=g+1|0;c=c>>>0>>0?c:0;v[d+20>>2]=c;c=f+(c<<2)|0;u=w[c|0];I=w[c+1|0];J=w[c+2|0];g=w[c+3|0];c=v[a>>2];d=v[c+32>>2]+1|0;d=d>>>0>2]?d:0;v[c+32>>2]=d;f=v[v[c>>2]>>2];E=v[f+4>>2];f=v[f+16>>2];x=(v[c+16>>2]+v[c+8>>2]>>>0)%y[c+12>>2]|0;v[c+20>>2]=x;F=c;c=E+B(d,f)|0;v[F+4>>2]=c;c=c+(x<<2)|0;E=w[c|0];x=w[c+1|0];K=w[c+2|0];f=w[c+3|0];c=v[a>>2];d=v[c+20>>2]+1|0;d=d>>>0>2]?d:0;v[c+20>>2]=d;c=v[c+4>>2]+(d<<2)|0;L=w[c|0];M=w[c+1|0];N=w[c+2|0];F=j;h=h&255;j=256-h|0;k=k&255;z=256-k|0;d=B(j,z);O=g;g=B(h,z);z=f;f=B(k,j);j=w[c+3|0];c=B(h,k);t[b+3|0]=(((B(F,d)+B(O,g)|0)+B(z,f)|0)+B(j,c)|0)+32768>>>16;t[b+2|0]=(((B(d,H)+B(g,J)|0)+B(f,K)|0)+B(c,N)|0)+32768>>>16;t[b+1|0]=(((B(d,C)+B(g,I)|0)+B(f,x)|0)+B(c,M)|0)+32768>>>16;t[b|0]=(((B(d,o)+B(g,u)|0)+B(f,E)|0)+B(c,L)|0)+32768>>>16;d=v[a+4>>2];c=d;g=v[c+16>>2]+v[c+12>>2]|0;v[c+16>>2]=g;c=v[c+20>>2]+v[c+8>>2]|0;v[d+20>>2]=c;if((g|0)>=1){c=c+1|0;v[d+20>>2]=c;v[d+16>>2]=g-v[d+4>>2]}f=v[d+36>>2]+v[d+32>>2]|0;v[d+36>>2]=f;g=v[d+40>>2]+v[d+28>>2]|0;v[d+40>>2]=g;if((f|0)>=1){g=g+1|0;v[d+40>>2]=g;v[d+36>>2]=f-v[d+24>>2]}b=b+4|0;e=e-1|0;if(e){continue}break}}function LIa(a,b){a=a|0;b=b|0;var 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;j=Ma-16|0;Ma=j;l=v[a+492>>2];g=v[b+8>>2];Qa[v[b+28>>2]](b);d=v[b>>2];a:{if(g>>>0<=d>>>0){v[b+12>>2]=3;break a}b:{k=w[d|0];if(!(k-48>>>0>=10&(k|0)!=91)){f=v[b+16>>2];c:{if((k|0)==91){v[b>>2]=d+1;m=256;c=256;break c}m=Qa[v[b+36>>2]](b)|0;c=(m|0)<256?m:256}Qa[v[b+28>>2]](b);if(y[b>>2]>=g>>>0){break a}h=c;i=b+100|0;e=v[a+384>>2];d:{if(!e){break d}c=f;if(e){Qa[v[c+8>>2]](c,e)}v[a+384>>2]=0;c=v[a+388>>2];if(c){Qa[v[f+8>>2]](f,c)}v[a+388>>2]=0;c=v[b+148>>2];if(!c){break d}Qa[c|0](i)}v[a+372>>2]=h;v[b+96>>2]=h;o=a,p=yb(f,2,0,h,0,j+12|0),v[o+384>>2]=p;e=v[j+12>>2];if(e){break b}o=a,p=yb(f,4,0,h,0,j+12|0),v[o+388>>2]=p;e=v[j+12>>2];if(e){break b}e=Qa[v[v[l>>2]>>2]](i,h,f)|0;v[j+12>>2]=e;if(e){break b}e:{if((h|0)<1){break e}f=h&3;c=0;if(h-1>>>0>=3){e=h&-4;while(1){Qa[v[b+144>>2]](i,c,273443,8)|0;Qa[v[b+144>>2]](i,c|1,273443,8)|0;Qa[v[b+144>>2]](i,c|2,273443,8)|0;Qa[v[b+144>>2]](i,c|3,273443,8)|0;c=c+4|0;e=e-4|0;if(e){continue}break}}if(!f){break e}while(1){Qa[v[b+144>>2]](i,c,273443,8)|0;c=c+1|0;f=f-1|0;if(f){continue}break}}Qa[v[b+28>>2]](b);c=v[b>>2];f:{if(g>>>0<=c>>>0){break f}e=0;n=(k|0)==91;while(1){g:{h:{i:{f=w[c|0];switch(f-93|0){case 0:break h;case 7:break i;default:break g}}d=c+3|0;if(w[c+1|0]!=101|g>>>0<=d>>>0|w[c+2|0]!=102){break g}switch(w[c+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break f;default:break g}}d=c+1|0;break f}j:{k:{l:{if(!((k|0)!=91&f-48>>>0>=10)){m:{if(n){d=c;f=e;break m}f=Qa[v[b+36>>2]](b)|0;Qa[v[b+28>>2]](b);d=v[b>>2];if((d|0)==(c|0)){break k}}if(w[d|0]!=47|d+2>>>0>=g>>>0|(e|0)>=(m|0)){break l}d=d+1|0;v[b>>2]=d;Qa[v[b+32>>2]](b);c=v[b>>2];if(v[b+12>>2]|c>>>0>=g>>>0){break a}if((e|0)<(h|0)){l=c-d|0;c=Qa[v[b+144>>2]](i,f,d,l+1|0)|0;v[b+12>>2]=c;if(c){break a}t[l+v[v[b+124>>2]+(f<<2)>>2]|0]=0}e=e+1|0;break j}Qa[v[b+32>>2]](b);d=c;if(v[b+12>>2]){break a}break j}if(!n){break j}}v[b+12>>2]=2;break a}Qa[v[b+28>>2]](b);c=v[b>>2];if(g>>>0>c>>>0){continue}break}}v[a+368>>2]=1;v[b>>2]=d;break a}n:{if(d+17>>>0>=g>>>0){break n}if(Kb(d,272610,16)){break n}v[a+368>>2]=2;break a}o:{if(d+15>>>0>=g>>>0){break o}if(Kb(d,272549,14)){break o}v[a+368>>2]=4;break a}p:{if(d+18>>>0>=g>>>0){break p}if(Kb(d,272627,17)){break p}v[a+368>>2]=3;break a}v[b+12>>2]=162;break a}v[b+12>>2]=e}Ma=j+16|0}function iy(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0;j=Ma+-64|0;Ma=j;v[j+56>>2]=0;v[j+60>>2]=0;v[j+48>>2]=0;v[j+52>>2]=0;v[j+40>>2]=0;v[j+44>>2]=0;v[j+32>>2]=0;v[j+36>>2]=0;vE(a,d,j+32|0,j+48|0);a:{b:{g=v[b+8>>2];f=v[b>>2];if(x[c+10>>1]!=(g-f|0)){break b}h=v[b+12>>2];i=v[b+4>>2];if(x[c+8>>1]!=(h-i|0)){break b}if((f|0)>v[j+48>>2]|(i|0)>v[j+52>>2]|((g|0)>2]|(h|0)>2])){break a}f=v[d+8>>2]-v[d>>2]|0;g=v[d+12>>2]-v[d+4>>2]|0;if(!((f|0)==x[e+10>>1]&(g|0)==x[e+8>>1])){h=v[e+20>>2];if(h){$a(h)}v[e+16>>2]=0;v[e+20>>2]=0;u[e+12>>1]=f;u[e+10>>1]=f;u[e+8>>1]=g;g=B(f&65535,g&65535);if(g){g=ab((E=-1,F=x3a(g,0,3,0),G=Pa,G?E:F));v[e+16>>2]=g;v[e+20>>2]=g}}q=a+80|0;Sc(q,0,3);r=a+92|0;Sc(r,0,3);s=a+68|0;Sc(s,0,3);WQ();y=v[j+32>>2];n=v[j+40>>2]-y|0;Sc(s,n+2|0,3);if(!(v[a+20>>2]<1&v[a+16>>2]<=0)){Sc(q,n,3);Sc(r,n,3);v[a+100>>2]=-1;v[a+104>>2]=-1}o=v[d+4>>2];if((o|0)>2]){z=v[j+44>>2]-1|0;A=v[j+36>>2];C=B(n+1|0,3);D=B(y,-3);while(1){k=v[v[a+40>>2]+(o<<2)>>2];f=k>>4;g=f+1|0;c:{if(!(v[a+20>>2]<1&v[a+16>>2]<=0)){i=f;f=j+32|0;i=VQ(a,i,f,b,c);g=VQ(a,g,f,b,c);break c}p=B(y-v[b>>2]|0,3);m=v[c+16>>2];h=v[b+4>>2];g=((g|0)<(z|0)?g:z)-h|0;i=x[c+12>>1];l=x[c+8>>1];g=p+((g|0)>-1?(l|0)>(g|0)?m+B(B(g,i),3)|0:0:0)|0;f=((f|0)>(A|0)?f:A)-h|0;i=p+((f|0)>-1?(f|0)<(l|0)?m+B(B(f,i),3)|0:0:0)|0}h=v[a+64>>2];if((n|0)>=1){m=h+C|0;k=((k&15)<<10)+1168608|0;f=h+3|0;while(1){l=w[i+2|0];t[f+2|0]=w[k+(w[g+2|0]-l<<1)|0]+l;l=w[i+1|0];t[f+1|0]=w[k+(w[g+1|0]-l<<1)|0]+l;l=w[i|0];t[f|0]=w[k+(w[g|0]-l<<1)|0]+l;i=i+3|0;g=g+3|0;f=f+3|0;if(m>>>0>f>>>0){continue}break}}g=w[h+3|0]|w[h+4|0]<<8;t[h|0]=g;t[h+1|0]=g>>>8;t[h+2|0]=w[h+5|0];f=v[a+64>>2];g=f+C|0;f=f+B(n,3)|0;h=w[f|0]|w[f+1|0]<<8;t[g|0]=h;t[g+1|0]=h>>>8;t[g+2|0]=w[f+2|0];h=v[a+64>>2];g=0;f=o-v[d+4>>2]|0;d:{if((f|0)<0|(f|0)>=x[e+8>>1]){break d}i=v[e+16>>2];if(!i){break d}g=i+B(B(f,x[e+12>>1]),3)|0}f=v[d>>2];m=v[d+8>>2];if((f|0)<(m|0)){l=(h+D|0)+3|0;p=v[a+52>>2];while(1){k=v[p+(f<<2)>>2];h=l+B(k>>4,3)|0;i=w[h+2|0];k=((k&15)<<10)+1168608|0;t[g+2|0]=i+w[k+(w[h+5|0]-i<<1)|0];i=w[h+1|0];t[g+1|0]=w[k+(w[h+4|0]-i<<1)|0]+i;i=w[h+3|0];h=w[h|0];t[g|0]=w[k+(i-h<<1)|0]+h;g=g+3|0;f=f+1|0;if((m|0)!=(f|0)){continue}break}}o=o+1|0;if((o|0)>2]){continue}break}}Sc(q,0,3);Sc(r,0,3);Sc(s,0,3);Ma=j- -64|0;return}lb(mb(j+8|0,270001,241249,611,334245));L()}lb(mb(j+8|0,260041,241249,616,334245));L()}function qS(a,b,c){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,p=0;a:{b:{c:{d=v[a+200>>2];if(d&1){if(d&4){Db(a,65728);uc(a,c);return}if(!(!b|!(w[b+9|0]&4))){Db(a,65853);uc(a,c);return}Tb(a,v[a+740>>2]);d=jf(a,c+1|0);v[a+740>>2]=d;if(!d){Db(a,65938);return}Ye(a,d,c);gc(a,d,c);d=uc(a,0);h=v[a+740>>2];if(d){Tb(a,h);v[a+740>>2]=0;return}t[c+h|0]=0;h=v[a+740>>2];d=h;while(1){e=d;d=d+1|0;if(w[e|0]){continue}break}i=c+h|0;if((i-e|0)<=12){Db(a,66052);break b}c=w[d|0];d:{if(c&128){h=0-(0-(w[e+4|0]|(c<<24|w[e+2|0]<<16|w[e+3|0]<<8))&2147483647)|0;break d}h=w[e+4|0]|(w[e+2|0]<<16|c<<24|w[e+3|0]<<8)}c=w[e+5|0];e:{if(c&128){k=0-(0-(w[e+8|0]|(c<<24|w[e+6|0]<<16|w[e+7|0]<<8))&2147483647)|0;break e}k=w[e+8|0]|(w[e+6|0]<<16|c<<24|w[e+7|0]<<8)}f:{j=w[e+9|0];g=w[e+10|0];if(!(!j&(g|0)!=2|(j|0)==1&(g|0)!=3|(j|0)==2&(g|0)!=3)){if((g|0)==4|(j|0)!=3){break f}}Db(a,66209);break b}if(j>>>0>=4){Db(a,66300)}e=e+11|0;d=e;while(1){c=d;d=c+1|0;if(w[c|0]){continue}break}m=jf(a,g<<2);if(!m){break c}if(g){l=i+1|0;d=0;while(1){c=c+1|0;v[(d<<2)+m>>2]=c;g:{if(c>>>0<=i>>>0){while(1){if(!w[c|0]){break g}c=c+1|0;if((l|0)!=(c|0)){continue}break}}Db(a,66052);break a}d=d+1|0;if((g|0)!=(d|0)){continue}break}}n=v[a+740>>2];i=Ma-80|0;Ma=i;h:{if(!a|!b){break h}i:{j:{if(!n){t[i|0]=0;break j}c=1;d=i;f=w[n|0];k:{if(!f){l=1;break k}while(1){n=n+1|0;l=0;p=d;l:{if(!((f-33&255)>>>0<94|(f&255)>>>0>160)){l=1;if(c){break l}f=32}t[p|0]=f;o=o+1|0;d=d+1|0}f=w[n|0];if(!f){break k}c=l;if(o>>>0<79){continue}break}}c=(o|0)!=0&l;t[d-c|0]=0;d=o-c|0;if(d){break i}}Db(a,37784);break h}m:{n:{if(j>>>0<=3){f=0;if(!g){break m}break n}dc(a,38556);L()}while(1){c=v[(f<<2)+m>>2];if(SF(c,zb(c))){f=f+1|0;if((g|0)!=(f|0)){continue}break m}break}dc(a,39976);L()}c=d+1|0;d=jf(a,c);v[b+160>>2]=d;if(!d){Db(a,41226);break h}cb(d,i,c);t[b+181|0]=g;t[b+180|0]=j;v[b+168>>2]=k;v[b+164>>2]=h;c=zb(e)+1|0;d=jf(a,c);v[b+172>>2]=d;if(!d){Db(a,41844);break h}cb(d,e,c);c=(g<<2)+4|0;d=jf(a,c);v[b+176>>2]=d;if(!d){Db(a,42749);break h}f=0;eb(d,0,c);if(g>>>0>=1){while(1){k=f<<2;h=k+m|0;d=zb(v[h>>2])+1|0;c=jf(a,d);v[k+v[b+176>>2]>>2]=c;c=v[k+v[b+176>>2]>>2];if(!c){Db(a,43758);break h}cb(c,v[h>>2],d);f=f+1|0;if((g|0)!=(f|0)){continue}break}}v[b+8>>2]=v[b+8>>2]|1024;v[b+184>>2]=v[b+184>>2]|128}Ma=i+80|0;break a}dc(a,65596);L()}Tb(a,v[a+740>>2]);v[a+740>>2]=0;Db(a,66399);return}Tb(a,v[a+740>>2]);v[a+740>>2]=0;return}Tb(a,v[a+740>>2]);v[a+740>>2]=0;Tb(a,m)}function nEa(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,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0;D=Ma-448|0;Ma=D;x=v[a+332>>2];a=v[b+84>>2];b=D;while(1){j=v[a+192>>2];n=u[c+96>>1];i=v[a+64>>2];k=u[c+32>>1];o=B(u[c>>1],v[a>>2])<<13|1024;p=B(v[a+128>>2],u[c+64>>1]);l=o+B(p,-11586)>>11;h=B(v[a+224>>2],u[c+112>>1]);m=B(v[a+32>>2],u[c+16>>1]);f=B(v[a+96>>2],u[c+48>>1]);y=m-f|0;g=B(v[a+160>>2],u[c+80>>1]);q=h+(y-g|0)<<2;v[b+320>>2]=l-q;v[b+96>>2]=l+q;n=B(j,n);i=B(i,k);k=B(n+i|0,9058);l=k+B(n,-14084)|0;q=o+B(p,2578)|0;r=l+q|0;j=h<<13;h=B(f+g|0,-1297)-j|0;C=B(f+m|0,10935);z=h+(C+B(f,-3474)|0)|0;v[b+384>>2]=r-z>>11;v[b+32>>2]=r+z>>11;n=B(n,-11295)+B(i,5027)|0;r=o+B(p,-7223)|0;z=n+r|0;s=h;h=g+m|0;A=B(h,9810);s=s+(A+B(g,-19447)|0)|0;v[b+352>>2]=z-s>>11;v[b+64>>2]=z+s>>11;l=q-l|0;y=B(y,3826)-j|0;s=B(f,5529);f=B(g-f|0,11512);q=y+(s+f|0)|0;v[b+256>>2]=l-q>>11;v[b+160>>2]=l+q>>11;p=o+B(p,10438)|0;o=k+B(i,2237)|0;i=p-o|0;k=B(h,6164);l=y+(k+B(m,-8693)|0)|0;v[b+224>>2]=i-l>>11;v[b+192>>2]=i+l>>11;p=p+o|0;m=j+(A+(C+B(m,-9232)|0)|0)|0;v[b+416>>2]=p-m>>11;v[b>>2]=m+p>>11;m=r-n|0;f=j+(k+(f+B(g,-13850)|0)|0)|0;v[b+288>>2]=m-f>>11;v[b+128>>2]=f+m>>11;b=b+4|0;a=a+4|0;c=c+2|0;E=E+1|0;if((E|0)!=8){continue}break}b=x+128|0;p=0;a=D;while(1){f=v[a+12>>2];m=v[a+4>>2];i=B(f+m|0,10935);k=v[a+24>>2];x=v[a+8>>2];l=B(k+x|0,9058);c=v[(p<<2)+d>>2]+e|0;q=v[a+28>>2];o=q<<13;g=v[a+20>>2];y=g+m|0;h=B(y,9810);r=o+(h+(i+B(m,-9232)|0)|0)|0;C=l+B(x,2237)|0;n=(v[a>>2]<<13)+131072|0;j=v[a+16>>2];z=n+B(j,10438)|0;A=C+z|0;t[c|0]=w[b+(r+A>>>18&1023)|0];t[c+13|0]=w[b+(A-r>>>18&1023)|0];s=i+B(f,-3474)|0;i=B(f+g|0,-1297)-o|0;r=s+i|0;l=l+B(k,-14084)|0;A=n+B(j,2578)|0;s=l+A|0;t[c+1|0]=w[b+(r+s>>>18&1023)|0];t[c+12|0]=w[b+(s-r>>>18&1023)|0];i=i+(h+B(g,-19447)|0)|0;k=B(k,-11295)+B(x,5027)|0;x=n+B(j,-7223)|0;h=k+x|0;t[c+2|0]=w[b+(i+h>>>18&1023)|0];t[c+11|0]=w[b+(h-i>>>18&1023)|0];i=m-f|0;h=q+(i-g|0)<<13;j=n+B(j,-11586)|0;t[c+3|0]=w[b+(h+j>>>18&1023)|0];t[c+10|0]=w[b+(j-h>>>18&1023)|0];j=B(y,6164);h=o+B(g,-13850)|0;g=B(g-f|0,11512);n=j+(h+g|0)|0;k=x-k|0;t[c+4|0]=w[b+(n+k>>>18&1023)|0];t[c+9|0]=w[b+(k-n>>>18&1023)|0];h=g+B(f,5529)|0;f=B(i,3826)-o|0;g=h+f|0;o=A-l|0;t[c+5|0]=w[b+(g+o>>>18&1023)|0];t[c+8|0]=w[b+(o-g>>>18&1023)|0];f=f+(j+B(m,-8693)|0)|0;g=z-C|0;t[c+6|0]=w[b+(f+g>>>18&1023)|0];t[c+7|0]=w[b+(g-f>>>18&1023)|0];a=a+32|0;p=p+1|0;if((p|0)!=14){continue}break}Ma=D+448|0}function f0a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=v[a+572>>2];d=v[a+664>>2];a:{if((c|0)<(d|0)|(c|0)>=v[a+668>>2]){break a}b=Qa[v[a+220>>2]](a,v[a+680>>2]+(c-d|0)|0)|0;d=v[a+580>>2];c=(b+(d<<2)|0)+(v[a+672>>2]<<2)|0;e=v[a+656>>2];b=(e|0)/v[a+584>>2]|0;f=v[a+644>>2];if(!w[a+648|0]){e=d+e|0;d=f+(b<<2)|0;b=v[a+660>>2];if(w[a+649|0]){if((b|0)<=(e|0)){break a}while(1){b:{c:{b=w[d+3|0];if((b|0)!=255){if(b){break c}v[c>>2]=0;break b}t[c|0]=w[d|0];t[c+1|0]=w[d+1|0];b=w[d+2|0];t[c+3|0]=255;t[c+2|0]=b;break b}t[c|0]=((B(b,w[d|0])+127&65535)>>>0)/255;t[c+1|0]=((B(b,w[d+1|0])+127&65535)>>>0)/255;f=w[d+2|0];t[c+3|0]=b;t[c+2|0]=((B(b,f)+127&65535)>>>0)/255}d=d+4|0;b=v[a+584>>2];c=(b<<2)+c|0;e=b+e|0;if((e|0)>2]){continue}break}break a}if((b|0)<=(e|0)){break a}while(1){b=w[d+3|0];d:{if(!b){break d}if((b|0)==255){t[c|0]=w[d|0];t[c+1|0]=w[d+1|0];b=w[d+2|0];t[c+3|0]=255;t[c+2|0]=b;break d}f=b^255;t[c|0]=((B(b,w[d|0])+B(f,w[c|0])|0)+127>>>0)/255;t[c+1|0]=((B(b,w[d+1|0])+B(f,w[c+1|0])|0)+127>>>0)/255;g=w[d+2|0];t[c+3|0]=(B(f,w[c+3|0]^255)+127>>>0)/255^-1;t[c+2|0]=((B(b,g)+B(f,w[c+2|0])|0)+127>>>0)/255}d=d+4|0;b=v[a+584>>2];c=(b<<2)+c|0;e=b+e|0;if((e|0)>2]){continue}break}break a}e=d+e|0;d=f+(b<<3)|0;b=v[a+660>>2];if(w[a+649|0]){if((b|0)<=(e|0)){break a}while(1){e:{f:{b=w[d+6|0];if((b|0)!=255){if(b){break f}v[c>>2]=0;break e}t[c|0]=w[d|0];t[c+1|0]=w[d+2|0];b=w[d+4|0];t[c+3|0]=255;t[c+2|0]=b;break e}t[c|0]=((B(b,w[d|0])+127&65535)>>>0)/255;t[c+1|0]=((B(b,w[d+2|0])+127&65535)>>>0)/255;f=w[d+4|0];t[c+3|0]=b;t[c+2|0]=((B(b,f)+127&65535)>>>0)/255}d=d+8|0;b=v[a+584>>2];c=(b<<2)+c|0;e=b+e|0;if((e|0)>2]){continue}break}break a}if((b|0)<=(e|0)){break a}while(1){b=w[d+6|0];g:{if(!b){break g}if((b|0)==255){t[c|0]=w[d|0];t[c+1|0]=w[d+2|0];b=w[d+4|0];t[c+3|0]=255;t[c+2|0]=b;break g}f=b^255;t[c|0]=((B(b,w[d|0])+B(f,w[c|0])|0)+127>>>0)/255;t[c+1|0]=((B(b,w[d+2|0])+B(f,w[c+1|0])|0)+127>>>0)/255;g=w[d+4|0];t[c+3|0]=(B(f,w[c+3|0]^255)+127>>>0)/255^-1;t[c+2|0]=((B(b,g)+B(f,w[c+2|0])|0)+127>>>0)/255}d=d+8|0;b=v[a+584>>2];c=(b<<2)+c|0;e=b+e|0;if((e|0)>2]){continue}break}}c=v[a+680>>2]+v[a+572>>2]|0;e=v[a+664>>2];d=v[a+556>>2];b=v[a+672>>2];h:{if((b|0)>=v[a+552>>2]){if(d){break h}d=0}v[a+552>>2]=b}b=d;d=v[a+676>>2];if((b|0)<(d|0)){v[a+556>>2]=d}d=v[a+564>>2];c=c-e|0;i:{if((c|0)>=v[a+560>>2]){if(d){break i}d=0}v[a+560>>2]=c}if((c|0)>=(d|0)){v[a+564>>2]=c+1}return 0}function Z$a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=v[a+572>>2];d=v[a+664>>2];a:{if((c|0)<(d|0)|(c|0)>=v[a+668>>2]){break a}b=Qa[v[a+220>>2]](a,v[a+680>>2]+(c-d|0)|0)|0;d=v[a+580>>2];c=(b+(d<<2)|0)+(v[a+672>>2]<<2)|0;e=v[a+656>>2];b=(e|0)/v[a+584>>2]|0;f=v[a+644>>2];if(!w[a+648|0]){e=d+e|0;d=f+(b<<2)|0;b=v[a+660>>2];if(w[a+649|0]){if((b|0)<=(e|0)){break a}while(1){b:{c:{b=w[d+3|0];if((b|0)!=255){if(b){break c}v[c>>2]=0;break b}t[c|0]=w[d+2|0];t[c+1|0]=w[d+1|0];b=w[d|0];t[c+3|0]=255;t[c+2|0]=b;break b}t[c|0]=((B(b,w[d+2|0])+127&65535)>>>0)/255;t[c+1|0]=((B(b,w[d+1|0])+127&65535)>>>0)/255;f=w[d|0];t[c+3|0]=b;t[c+2|0]=((B(b,f)+127&65535)>>>0)/255}d=d+4|0;b=v[a+584>>2];c=(b<<2)+c|0;e=b+e|0;if((e|0)>2]){continue}break}break a}if((b|0)<=(e|0)){break a}while(1){b=w[d+3|0];d:{if(!b){break d}if((b|0)==255){t[c|0]=w[d+2|0];t[c+1|0]=w[d+1|0];b=w[d|0];t[c+3|0]=255;t[c+2|0]=b;break d}f=b^255;t[c|0]=((B(b,w[d+2|0])+B(f,w[c|0])|0)+127>>>0)/255;t[c+1|0]=((B(b,w[d+1|0])+B(f,w[c+1|0])|0)+127>>>0)/255;g=w[d|0];t[c+3|0]=(B(f,w[c+3|0]^255)+127>>>0)/255^-1;t[c+2|0]=((B(b,g)+B(f,w[c+2|0])|0)+127>>>0)/255}d=d+4|0;b=v[a+584>>2];c=(b<<2)+c|0;e=b+e|0;if((e|0)>2]){continue}break}break a}e=d+e|0;d=f+(b<<3)|0;b=v[a+660>>2];if(w[a+649|0]){if((b|0)<=(e|0)){break a}while(1){e:{f:{b=w[d+6|0];if((b|0)!=255){if(b){break f}v[c>>2]=0;break e}t[c|0]=w[d+4|0];t[c+1|0]=w[d+2|0];b=w[d|0];t[c+3|0]=255;t[c+2|0]=b;break e}t[c|0]=((B(b,w[d+4|0])+127&65535)>>>0)/255;t[c+1|0]=((B(b,w[d+2|0])+127&65535)>>>0)/255;f=w[d|0];t[c+3|0]=b;t[c+2|0]=((B(b,f)+127&65535)>>>0)/255}d=d+8|0;b=v[a+584>>2];c=(b<<2)+c|0;e=b+e|0;if((e|0)>2]){continue}break}break a}if((b|0)<=(e|0)){break a}while(1){b=w[d+6|0];g:{if(!b){break g}if((b|0)==255){t[c|0]=w[d+4|0];t[c+1|0]=w[d+2|0];b=w[d|0];t[c+3|0]=255;t[c+2|0]=b;break g}f=b^255;t[c|0]=((B(b,w[d+4|0])+B(f,w[c|0])|0)+127>>>0)/255;t[c+1|0]=((B(b,w[d+2|0])+B(f,w[c+1|0])|0)+127>>>0)/255;g=w[d|0];t[c+3|0]=(B(f,w[c+3|0]^255)+127>>>0)/255^-1;t[c+2|0]=((B(b,g)+B(f,w[c+2|0])|0)+127>>>0)/255}d=d+8|0;b=v[a+584>>2];c=(b<<2)+c|0;e=b+e|0;if((e|0)>2]){continue}break}}c=v[a+680>>2]+v[a+572>>2]|0;e=v[a+664>>2];d=v[a+556>>2];b=v[a+672>>2];h:{if((b|0)>=v[a+552>>2]){if(d){break h}d=0}v[a+552>>2]=b}b=d;d=v[a+676>>2];if((b|0)<(d|0)){v[a+556>>2]=d}d=v[a+564>>2];c=c-e|0;i:{if((c|0)>=v[a+560>>2]){if(d){break i}d=0}v[a+560>>2]=c}if((c|0)>=(d|0)){v[a+564>>2]=c+1}return 0}function s7(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;j=Ma-16|0;Ma=j;k=v[a+584>>2];a:{if((b|0)==65557){f=v[c>>2];v[k+120>>2]=f;b=1;if(!(w[k+124|0]&2)){break a}g=-2;c=k- -64|0;b:{if(!c|!v[c+32>>2]|!v[c+36>>2]){break b}h=v[c+28>>2];if(!h|(c|0)!=v[h>>2]){break b}c:{d:{d=v[h+4>>2];switch(d-57|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 13:case 14:case 15:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 47:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:break b;case 0:case 12:case 16:case 34:case 46:case 56:break c;default:break d}}if((d|0)==666){break c}if((d|0)!=42){break b}}l=(f|0)==-1?6:f;if(l>>>0>9){break b}e:{if(!v[h+5824>>2]|!v[h+136>>2]&v[B(v[h+132>>2],12)+863832>>2]==v[B(l,12)+863832>>2]){break e}if((ck(c,5)|0)==-2){break b}if(v[c+16>>2]){break e}g=-5;break b}c=v[h+132>>2];if((c|0)!=(l|0)){f:{if(c){break f}g:{h:{switch(v[h+5808>>2]){case 1:g=v[h+76>>2];i=g-1|0;f=v[h+68>>2]+(g<<1)|0;c=v[h+44>>2];d=g&3;if(d){while(1){f=f-2|0;m=x[f>>1];e=m-c|0;u[f>>1]=e>>>0>m>>>0?0:e;g=g-1|0;d=d-1|0;if(d){continue}break}}if(i>>>0>=3){while(1){e=f-2|0;i=x[e>>1];d=i-c|0;u[e>>1]=d>>>0>i>>>0?0:d;e=f-4|0;i=x[e>>1];d=i-c|0;u[e>>1]=d>>>0>i>>>0?0:d;e=f-6|0;i=x[e>>1];d=i-c|0;u[e>>1]=d>>>0>i>>>0?0:d;f=f-8|0;e=x[f>>1];d=e-c|0;u[f>>1]=d>>>0>e>>>0?0:d;g=g-4|0;if(g){continue}break}}i=c-1|0;f=v[h+64>>2]+(c<<1)|0;d=c&3;i:{if(!d){g=c;break i}g=c;while(1){f=f-2|0;m=x[f>>1];e=m-c|0;u[f>>1]=e>>>0>m>>>0?0:e;g=g-1|0;d=d-1|0;if(d){continue}break}}if(i>>>0>=3){while(1){e=f-2|0;i=x[e>>1];d=i-c|0;u[e>>1]=d>>>0>i>>>0?0:d;e=f-4|0;i=x[e>>1];d=i-c|0;u[e>>1]=d>>>0>i>>>0?0:d;e=f-6|0;i=x[e>>1];d=i-c|0;u[e>>1]=d>>>0>i>>>0?0:d;f=f-8|0;e=x[f>>1];d=e-c|0;u[f>>1]=d>>>0>e>>>0?0:d;g=g-4|0;if(g){continue}break}}c=v[h+76>>2];g=v[h+68>>2];break g;case 0:break f;default:break h}}g=v[h+68>>2];c=v[h+76>>2];u[(g+(c<<1)|0)-2>>1]=0}eb(g,0,(c<<1)-2|0);v[h+5808>>2]=0}v[h+132>>2]=l;c=B(l,12);v[h+144>>2]=x[c+863828>>1];v[h+140>>2]=x[c+863824>>1];v[h+128>>2]=x[c+863826>>1];v[h+124>>2]=x[c+863830>>1]}v[h+136>>2]=0;g=0}if(!g){break a}b=v[a+628>>2];a=v[a>>2];v[j+4>>2]=v[k+88>>2];v[j>>2]=a;wb(b,88388,18004,j);b=0;break a}b=Qa[v[k+132>>2]](a,b,c)|0}Ma=j+16|0;return b|0}function zWa(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,n=0,o=0;a:{b:{if(w[a+286|0]|!w[a+285|0]|(w[a+287|0]|w[a+288|0])){break b}if(w[a+289|0]){break b}if(!(1<>>0<=22:0)){ob(a,1028,0,0);return 1028}t[a+287|0]=1;f=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);v[a+316>>2]=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);v[a+320>>2]=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=w[d+8|0];t[a+324|0]=f;g=w[d+9|0];t[a+325|0]=g;i=w[d+10|0];t[a+326|0]=i;j=w[d+11|0];t[a+327|0]=j;h=w[d+12|0];t[a+328|0]=h;if(!(1<>>0<=16:0)){break a}c:{d:{switch(g|0){default:ob(a,1037,0,0);return 1037;case 3:if(f>>>0<9){break c}break a;case 0:break c;case 2:case 4:case 6:break d}}if(f>>>0>7){break c}break a}if(i){ob(a,1038,0,0);return 1038}if(j){ob(a,1039,0,0);return 1039}if(h>>>0>=2){ob(a,1040,0,0);return 1040}v[a+48>>2]=v[a+48>>2]+1;e:{f:{g:{if(c>>>0<14){j=0;f=0;h=65535;break g}f=w[d+17|0]|w[d+18|0]<<8;k=f<<8|f>>>8;f=w[d+15|0]|w[d+16|0]<<8;f=f<<8|f>>>8;g=w[d+13|0]|w[d+14|0]<<8;l=g<<8|g>>>8;j=0;if(c>>>0>=20){break f}h=65535}i=0;g=0;break e}g=w[d+19|0]|w[d+20|0]<<8;h=g<<8|g>>>8;if(c>>>0<22){i=1;g=1;break e}n=w[d+21|0];j=1;i=1;g=1}l=l&65535;o=f&65535;k=k&65535;h=h&65535;h:{if(w[a+114|0]){f=Qa[v[a+152>>2]](40)|0;if(!f){ob(a,1,0,0);f=1;break h}v[f+4>>2]=717;v[f>>2]=718;m=v[a+700>>2];i:{if(m){v[m+8>>2]=f;break i}v[a+696>>2]=f}v[f+8>>2]=0;v[f+12>>2]=m;v[a+700>>2]=f;v[f+16>>2]=v[a+436>>2];v[f+20>>2]=v[a+440>>2];v[f+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=f}t[f+38|0]=n;u[f+36>>1]=h;t[f+34|0]=i;u[f+32>>1]=k;u[f+30>>1]=o;u[f+28>>1]=l}f=g4(a,l,o,k,i,h,n)}j:{if(f){break j}k:{if(!w[a+112|0]){break k}f=Qa[v[b+4>>2]](a,b,e)|0;if(f){break j}a=v[e>>2];b=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);v[a+32>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);v[a+36>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);t[a+40|0]=w[d+8|0];t[a+41|0]=w[d+9|0];t[a+42|0]=w[d+10|0];t[a+43|0]=w[d+11|0];t[a+44|0]=w[d+12|0];if(c>>>0>=14){b=w[d+13|0]|w[d+14|0]<<8;u[a+46>>1]=b<<8|b>>>8;b=w[d+15|0]|w[d+16|0]<<8;u[a+48>>1]=b<<8|b>>>8;b=w[d+17|0]|w[d+18|0]<<8;u[a+50>>1]=b<<8|b>>>8}if(g){b=w[d+19|0]|w[d+20|0]<<8;u[a+52>>1]=b<<8|b>>>8}if(!j){break k}t[a+54|0]=w[d+21|0]}f=0}return f|0}ob(a,1029,0,0);return 1029}ob(a,1036,0,0);return 1036}function BM(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=v[a+604>>2];if((c|0)<1){b=e}else{l=v[a+596>>2]+v[a+600>>2]|0;while(1){f=b+1|0;j=w[b|0];a:{if((c|0)<2){h=1;b=f;c=0;break a}b=b+c|0;h=1;d=c;while(1){d=d-1|0;if(w[f|0]!=(j|0)){b=f;c=d;break a}f=f+1|0;h=h+1|0;if((h|0)!=(c|0)){continue}break}h=c;c=0}d=e;b:{c:{d:{e:{while(1){f:{f=i;g:{h:{i:{j:{if((h|0)==1){while(1){k:{if(d+2>>>0>>0){e=d;break k}l:{m:{if((i&-3)!=1){v[a+608>>2]=v[a+608>>2]+(d-v[a+604>>2]|0);if(Xd(a)){break m}return-1}v[a+608>>2]=v[a+608>>2]+(g-v[a+604>>2]|0);if(!Xd(a)){return-1}e=v[a+604>>2];f=d-g|0;if((f|0)<1){g=e;break k}k=(g^-1)+d|0;d=f&7;if(d){while(1){t[e|0]=w[g|0];e=e+1|0;g=g+1|0;f=f-1|0;d=d-1|0;if(d){continue}break}}if(k>>>0<=6){break l}while(1){t[e|0]=w[g|0];t[e+1|0]=w[g+1|0];t[e+2|0]=w[g+2|0];t[e+3|0]=w[g+3|0];t[e+4|0]=w[g+4|0];t[e+5|0]=w[g+5|0];t[e+6|0]=w[g+6|0];t[e+7|0]=w[g+7|0];e=e+8|0;g=g+8|0;d=(f|0)>8;f=f-8|0;if(d){continue}break}break l}e=v[a+604>>2];break k}g=v[a+604>>2]}if((i|0)!=3){switch(i|0){case 2:break h;case 1:break i;case 0:break j;default:break b}}i=2;d=e;f=e-2|0;if(w[f|0]!=255){continue}e=w[g|0];if(e>>>0>125){continue}e=e+2|0;t[g|0]=e;t[f|0]=w[d-1|0];i=(e&255)!=127;continue}}while(1){i=f;n:{if(e+2>>>0>>0){break n}if((i&-3)==1){v[a+608>>2]=v[a+608>>2]+(g-v[a+604>>2]|0);if(!Xd(a)){return-1}f=v[a+604>>2];d=e-g|0;if((d|0)<1){e=f;g=e;break n}k=(g^-1)+e|0;e=d&7;if(e){while(1){t[f|0]=w[g|0];f=f+1|0;g=g+1|0;d=d-1|0;e=e-1|0;if(e){continue}break}}if(k>>>0>=7){while(1){t[f|0]=w[g|0];t[f+1|0]=w[g+1|0];t[f+2|0]=w[g+2|0];t[f+3|0]=w[g+3|0];t[f+4|0]=w[g+4|0];t[f+5|0]=w[g+5|0];t[f+6|0]=w[g+6|0];t[f+7|0]=w[g+7|0];f=f+8|0;g=g+8|0;e=(d|0)>8;d=d-8|0;if(e){continue}break}}g=v[a+604>>2];e=f;break n}v[a+608>>2]=v[a+608>>2]+(e-v[a+604>>2]|0);if(!Xd(a)){return-1}e=v[a+604>>2]}f=2;if((i|0)==3){continue}break}switch(i|0){case 2:break h;case 1:break i;case 0:break j;default:break b}}if((h|0)<2){break e}i=2;if((h|0)>128){break g}break d}if((h|0)>=2){i=3;if((h|0)>128){break g}t[e|0]=1-h;f=e+2|0;e=e+1|0;break c}d=w[g|0]+1|0;t[g|0]=d;f=e+1|0;i=(d&255)!=127;break c}if((h|0)<2){break e}i=2;if((h|0)<129){break f}}t[e+1|0]=j;t[e|0]=129;h=h-128|0;d=e+2|0;e=d;continue}break}break d}t[e|0]=0;f=e+2|0;i=1;g=e;e=e+1|0;break c}t[e|0]=1-h;f=e+2|0;e=e+1|0}t[e|0]=j;e=f}if((c|0)>0){continue}break}b=v[a+604>>2]}v[a+604>>2]=e;v[a+608>>2]=v[a+608>>2]+(e-b|0);return 1}function Oxa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;f=Ma-48|0;Ma=f;a:{if(!a){break a}b:{if(v[a+32>>2]){g=a+8|0;b=v[a+8>>2];if(!b){b=Qa[v[256552]](96)|0;if(!b){v[f+32>>2]=344746;nb(0,0,0,0,0,1,2,3,344746,0,0,0,340689,f+32|0);v[a+84>>2]=2;v[a+8>>2]=0;b=v[a>>2];if(!(!b|v[b+108>>2]!=-554844497)){c=v[b+124>>2]}b=v[a+108>>2];e=v[a+112>>2];v[f+20>>2]=0;v[f+16>>2]=338368;nb(c,e,b,a,0,1,2,2,338368,0,0,0,228795,f+16|0);v[a+212>>2]=1;v[a+172>>2]=-1;v[a+84>>2]=2;break a}eb(b+16|0,0,76);v[b>>2]=0;v[b+4>>2]=13;v[b+44>>2]=0;v[b+56>>2]=0;v[b+60>>2]=0;v[b+48>>2]=0;v[b+52>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b+64>>2]=0;v[b+68>>2]=0;v[b+36>>2]=0;v[b+40>>2]=1;v[b+92>>2]=160;v[b+76>>2]=1;v[b+32>>2]=b;v[a+8>>2]=b}v[b+92>>2]=128;v[b+88>>2]=v[a+360>>2];break b}d=Go(v[a+20>>2]);v[a+8>>2]=d;if(d){v[d+92>>2]=v[a+360>>2]>>>15&4;v[d+88>>2]=v[a+360>>2];c=v[a+24>>2];c:{if(!c){break c}b=c;while(1){e=b;b=b+1|0;if(w[e|0]){continue}break}b=0;e=e-c|0;if((e|0)<0){break c}g=Qa[v[256555]](e+1|0)|0;if(!g){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break c}b=cb(g,c,e);t[e+b|0]=0}g=a+8|0;v[d+60>>2]=b;v[d+40>>2]=v[a+28>>2];if(!v[a+364>>2]){break b}b=v[a+296>>2];v[d+80>>2]=b;if(!w[1164140]){c=gb(4);v[291036]=c;if(!c){break b}t[1164140]=1}if(!b){break b}v[b>>2]=v[b>>2]+1;break b}v[a+84>>2]=2;c=v[a>>2];b=0;d:{if(!c){break d}b=0;if(v[c+108>>2]!=-554844497){break d}b=v[c+124>>2]}c=v[a+108>>2];e=v[a+112>>2];v[f+4>>2]=0;v[f>>2]=338368;nb(b,e,c,a,0,1,2,2,338368,0,0,0,228795,f);v[a+212>>2]=1;v[a+172>>2]=-1;v[a+84>>2]=2;break a}b=v[g>>2];if(!b|v[b+72>>2]){break a}b=v[a+36>>2];if(!b){break a}c=v[b+4>>2];if(!c){break a}b=0;d=Ma+-64|0;Ma=d;e:{if(!c){break e}f:{g:{b=Qa[v[256552]](44)|0;h:{if(!b){v[d>>2]=342898;nb(0,0,0,0,0,30,2,3,342898,0,0,0,340689,d);break h}v[b>>2]=0;v[b+4>>2]=0;v[b+40>>2]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;if(!Rs(b,c)){break g}wi(b)}c=dA(c);if(c){break f}b=0;break e}wi(b);b=c;while(1){e=b;b=b+1|0;if(w[e|0]){continue}break}b=0;e=e-c|0;if((e|0)<0){break e}h=Qa[v[256555]](e+1|0)|0;if(!h){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break e}b=cb(h,c,e);t[e+b|0]=0;break e}v[d+40>>2]=0;v[d+44>>2]=0;v[d+56>>2]=0;v[d+48>>2]=0;v[d+52>>2]=0;v[d+32>>2]=0;v[d+36>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+40>>2]=c;v[d+16>>2]=0;v[d+20>>2]=0;b=Do(d+16|0);Qa[v[256556]](c)}Ma=d- -64|0;v[v[g>>2]+72>>2]=b;if(b){break a}Zj(a,228795)}Ma=f+48|0}function kea(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;var j=0;if(f){a=x[a+26>>1];d=B(a,g);c=e>>>0<8;j=h<<2;while(1){g=e;if(!c){while(1){h=w[i+3|0]^255;v[b>>2]=(B(h,w[i+1|0]^255)>>>0)/255<<8|(B(h,w[i|0]^255)>>>0)/255|(B(h,w[i+2|0]^255)>>>0)/255<<16|-16777216;h=a+i|0;i=w[h+3|0]^255;v[b+4>>2]=(B(i,w[h|0]^255)>>>0)/255|(B(i,w[h+1|0]^255)>>>0)/255<<8|(B(i,w[h+2|0]^255)>>>0)/255<<16|-16777216;h=a+h|0;i=w[h+3|0]^255;v[b+8>>2]=(B(i,w[h|0]^255)>>>0)/255|(B(i,w[h+1|0]^255)>>>0)/255<<8|(B(i,w[h+2|0]^255)>>>0)/255<<16|-16777216;h=a+h|0;i=w[h+3|0]^255;v[b+12>>2]=(B(i,w[h|0]^255)>>>0)/255|(B(i,w[h+1|0]^255)>>>0)/255<<8|(B(i,w[h+2|0]^255)>>>0)/255<<16|-16777216;h=a+h|0;i=w[h+3|0]^255;v[b+16>>2]=(B(i,w[h|0]^255)>>>0)/255|(B(i,w[h+1|0]^255)>>>0)/255<<8|(B(i,w[h+2|0]^255)>>>0)/255<<16|-16777216;h=a+h|0;i=w[h+3|0]^255;v[b+20>>2]=(B(i,w[h|0]^255)>>>0)/255|(B(i,w[h+1|0]^255)>>>0)/255<<8|(B(i,w[h+2|0]^255)>>>0)/255<<16|-16777216;h=a+h|0;i=w[h+3|0]^255;v[b+24>>2]=(B(i,w[h|0]^255)>>>0)/255|(B(i,w[h+1|0]^255)>>>0)/255<<8|(B(i,w[h+2|0]^255)>>>0)/255<<16|-16777216;h=a+h|0;i=w[h+3|0]^255;v[b+28>>2]=(B(i,w[h|0]^255)>>>0)/255|(B(i,w[h+1|0]^255)>>>0)/255<<8|(B(i,w[h+2|0]^255)>>>0)/255<<16|-16777216;b=b+32|0;i=a+h|0;g=g-8|0;if(g>>>0>7){continue}break}}f=f-1|0;a:{switch(g-1|0){case 6:g=w[i+3|0]^255;v[b>>2]=(B(g,w[i+1|0]^255)>>>0)/255<<8|(B(g,w[i|0]^255)>>>0)/255|(B(g,w[i+2|0]^255)>>>0)/255<<16|-16777216;i=a+i|0;b=b+4|0;case 5:g=w[i+3|0]^255;v[b>>2]=(B(g,w[i+1|0]^255)>>>0)/255<<8|(B(g,w[i|0]^255)>>>0)/255|(B(g,w[i+2|0]^255)>>>0)/255<<16|-16777216;i=a+i|0;b=b+4|0;case 4:g=w[i+3|0]^255;v[b>>2]=(B(g,w[i+1|0]^255)>>>0)/255<<8|(B(g,w[i|0]^255)>>>0)/255|(B(g,w[i+2|0]^255)>>>0)/255<<16|-16777216;i=a+i|0;b=b+4|0;case 3:g=w[i+3|0]^255;v[b>>2]=(B(g,w[i+1|0]^255)>>>0)/255<<8|(B(g,w[i|0]^255)>>>0)/255|(B(g,w[i+2|0]^255)>>>0)/255<<16|-16777216;i=a+i|0;b=b+4|0;case 2:g=w[i+3|0]^255;v[b>>2]=(B(g,w[i+1|0]^255)>>>0)/255<<8|(B(g,w[i|0]^255)>>>0)/255|(B(g,w[i+2|0]^255)>>>0)/255<<16|-16777216;i=a+i|0;b=b+4|0;case 1:g=w[i+3|0]^255;v[b>>2]=(B(g,w[i+1|0]^255)>>>0)/255<<8|(B(g,w[i|0]^255)>>>0)/255|(B(g,w[i+2|0]^255)>>>0)/255<<16|-16777216;i=a+i|0;b=b+4|0;case 0:g=w[i+3|0]^255;v[b>>2]=(B(g,w[i+1|0]^255)>>>0)/255<<8|(B(g,w[i|0]^255)>>>0)/255|(B(g,w[i+2|0]^255)>>>0)/255<<16|-16777216;i=a+i|0;b=b+4|0;break;default:break a}}i=d+i|0;b=b+j|0;if(f){continue}break}}}function CH(a,b,c){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,p=0,q=0,r=0;a:{if(!b|(!a|v[a+4>>2]!=1)){break a}d=v[a+44>>2];b:{if(!d){break b}if(!c){while(1){c:{if(v[d+36>>2]){break c}e=v[d+8>>2];if((e|0)==(b|0)){return d}f=b;if(!e){break c}while(1){g=w[e|0];if((g|0)!=w[f|0]){break c}f=f+1|0;e=e+1|0;if(g){continue}break}return d}d=v[d+24>>2];if(d){continue}break b}}while(1){d:{l=v[d+36>>2];if(!l){break d}e=v[d+8>>2];if((e|0)!=(b|0)){f=b;if(!e){break d}while(1){g=w[e|0];if((g|0)!=w[f|0]){break d}f=f+1|0;e=e+1|0;if(g){continue}break}}e=v[l+8>>2];if((e|0)==(c|0)){return d}f=c;if(!e){break d}while(1){g=w[e|0];if((g|0)!=w[f|0]){break d}f=f+1|0;e=e+1|0;if(g){continue}break}return d}d=v[d+24>>2];if(d){continue}break}}e:{n=v[a+32>>2];f:{if(!n|!v[n+44>>2]){break f}g:{h:{f=v[a+36>>2];if(!f){break h}f=v[f+12>>2];if(!f){break h}m=Fo(Fo(Sd(f),313512),v[a+8>>2]);q=m;if(m){break g}break a}m=v[a+8>>2]}i:{if(!c){h=Ao(v[n+44>>2],m,b,0);if(h){break i}h=0;a=v[n+48>>2];if(!a){break i}h=Ao(a,m,b,0);break i}d=0;r=Ma-16|0;Ma=r;g=0;j:{if(!a){break j}i=v[a+4>>2];g=0;if((i|0)==18){break j}p=10;while(1){k:{l:{if((i|0)!=1){break l}o=v[a+48>>2];if(!o){break l}while(1){if(!d){d=Qa[v[256552]]((p<<2)+4|0)|0;if(!d){break k}v[(j<<2)+d>>2]=0}m:{n:{if((j|0)<1){break n}l=1;k=0;g=v[o+12>>2];if(!g){while(1){if(!v[v[(k<<2)+d>>2]+12>>2]){break m}k=k+1|0;if((k|0)!=(j|0)){continue}break n}}while(1){i=v[v[(k<<2)+d>>2]+12>>2];if((g|0)==(i|0)){break m}f=g;o:{if(!i){break o}while(1){e=w[f|0];if((e|0)!=w[i|0]){break o}i=i+1|0;f=f+1|0;if(e){continue}break}if(!l){break n}break m}k=k+1|0;l=(k|0)<(j|0);if((j|0)!=(k|0)){continue}break}}if((j|0)>=(p|0)){d=Qa[v[256557]](d,p<<3|4)|0;if(!d){break k}p=p<<1}v[(j<<2)+d>>2]=o;j=j+1|0;v[(j<<2)+d>>2]=0}o=v[o>>2];if(o){continue}break}}a=v[a+20>>2];g=d;if(!a){break j}i=v[a+4>>2];continue}break}v[r>>2]=227080;nb(0,0,0,0,0,2,2,3,227080,0,0,0,340689,r);g=0}Ma=r+16|0;if(!g){break e}a=v[g>>2];p:{if(!a){break p}e=g;while(1){d=e;e=v[a+8>>2];q:{if((e|0)!=(c|0)){f=c;if(!e){break q}while(1){l=w[e|0];if((l|0)!=w[f|0]){break q}f=f+1|0;e=e+1|0;if(l){continue}break}}h=Ao(v[n+44>>2],m,b,v[a+12>>2]);if(h){break p}a=v[n+48>>2];if(!a){break q}h=Ao(a,m,b,v[v[d>>2]+12>>2]);if(h){break p}}e=d+4|0;a=v[d+4>>2];if(a){continue}break}h=0}Qa[v[256556]](g)}if(q){Qa[v[256556]](q)}if(!h){break f}if(v[h+48>>2]){break a}}return 0}if(!q){break a}Qa[v[256556]](q)}return h}function YT(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=ab(8);e=Qd(i);b=v[a+32>>2];d=v[a+36>>2];a:{if(b>>>0>=d>>>0|!w[w[b|0]+959376|0]){break a}v[a+32>>2]=b+1;$b(e,t[b|0]);b=v[a+32>>2];d=v[a+36>>2];if(b>>>0>=d>>>0|!w[w[b|0]+959632|0]){break a}while(1){v[a+32>>2]=b+1;$b(e,t[b|0]);b=v[a+32>>2];d=v[a+36>>2];if(b>>>0>=d>>>0){break a}if(w[w[b|0]+959632|0]){continue}break}}b:{if(b>>>0>=d>>>0){break b}while(1){c=w[b|0]-9|0;if(c>>>0>23|!(1<>2]=b;if((b|0)!=(d|0)){continue}break}b=d}c:{if(!(w[b|0]==61&(d-b|0)>=1)){break c}b=b+1|0;v[a+32>>2]=b;d:{if(b>>>0>=d>>>0){break d}while(1){c=w[b|0]-9|0;if(c>>>0>23|!(1<>2]=b;if((b|0)!=(d|0)){continue}break}b=d}if(b>>>0>=d>>>0){break c}e:{switch(w[b|0]-34|0){case 0:case 5:break e;default:break c}}v[a+32>>2]=b+1;j=w[b|0];k=ab(8);f=Qd(k);d=v[a+36>>2];e=v[a+32>>2];f:{if(d>>>0<=e>>>0){break f}while(1){g:{h:{i:{c=w[e|0];if((c|0)!=(j|0)){b=e;if((c|0)==38){c=e+1|0;v[a+32>>2]=c;b=c;if(!(d>>>0<=b>>>0|w[b|0]!=35)){b=e+2|0;v[a+32>>2]=b;c=0;j:{if(b>>>0>=d>>>0){break j}if(w[b|0]==120){b=e+3|0;v[a+32>>2]=b;k:{if(b>>>0>=d>>>0){break k}while(1){l:{e=-48;g=t[b|0];m:{if((g-48&255)>>>0<10){break m}e=-87;if((g-97&255)>>>0<6){break m}e=-55;if((g-65&255)>>>0>5){break l}}b=b+1|0;v[a+32>>2]=b;c=g+((c<<4)+e|0)|0;if((b|0)!=(d|0)){continue}break k}break}if((g|0)!=59){break k}v[a+32>>2]=b+1}Yy(f,c);break g}while(1){e=w[b|0];if((e-48&255)>>>0<=9){b=b+1|0;v[a+32>>2]=b;c=(e+B(c,10)|0)-48|0;if((b|0)!=(d|0)){continue}break j}break}if((e|0)!=59){break j}v[a+32>>2]=b+1}Yy(f,c);break g}while(1){g=b;b=b+1|0;v[a+32>>2]=b;if(b>>>0>=d>>>0){break i}h=w[b|0];if(!((h|0)==(j|0)|(h|0)==38)&(h|0)!=59){continue}break}d=b-c|0;if((h|0)!=59){break h}b=g+2|0;v[a+32>>2]=b;break h}while(1){n:{b=b+1|0;v[a+32>>2]=b;if(b>>>0>=d>>>0){break n}c=w[b|0];if((c|0)==(j|0)){break n}if((c|0)!=38){continue}}break}Wj(f,e,b-e|0);break g}v[a+32>>2]=e+1;break f}d=b-c|0}o:{p:{switch(d-2|0){case 0:if(!Kb(c,231492,2)){$b(f,60);break g}if(Kb(c,232363,2)){break o}$b(f,62);break g;case 1:if(Kb(c,242367,3)){break o}$b(f,38);break g;case 2:break p;default:break o}}if(!Kb(c,235142,4)){$b(f,39);break g}if(Kb(c,227560,4)){break o}$b(f,34);break g}Wj(f,e,(b-c|0)+1|0)}d=v[a+36>>2];e=v[a+32>>2];if(d>>>0>e>>>0){continue}break}}a=ab(16);v[a+8>>2]=0;v[a+12>>2]=0;v[a+4>>2]=k;v[a>>2]=i;return a}Bb(e);$a(i);return 0}function rc(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;a:{if(w[a+28|0]){o=v[a+24>>2];e=o&10;q=v[a+12>>2];f=v[a+8>>2];g=v[a>>2];k=((q|0)<(d|0))<<1|(f|0)<(c|0)|((g|0)>(c|0))<<2;r=v[a+4>>2];i=k|((r|0)>(d|0))<<3;if(!(!e|(e|0)!=(i&10))){v[a+24>>2]=i;break a}e=v[a+20>>2];j=v[a+16>>2];b:{switch(o<<1&10|k&5){case 0:zi(a,b,j,e,c,d,o,i);v[a+24>>2]=i;break a;case 1:g=a;k=b;n=j;l=e;m=f;h=+(d-e|0)*+(f-j|0)/+(c-j|0);h=h+(h<0?-.5:.5);c:{if(D(h)<2147483648){f=~~h;break c}f=-2147483648}e=f+e|0;f=((e|0)<(r|0))<<3|((e|0)>(q|0))<<1;zi(g,k,n,l,m,e,o,f);g=b;b=v[a+8>>2];zi(a,g,b,e,b,d,f,i);v[a+24>>2]=i;break a;case 2:g=a;k=b;n=f;l=e;m=f;h=+(d-e|0)*+(f-j|0)/+(c-j|0);h=h+(h<0?-.5:.5);d:{if(D(h)<2147483648){f=~~h;break d}f=-2147483648}e=f+e|0;f=((e|0)<(r|0))<<3|((e|0)>(q|0))<<1;zi(g,k,n,l,m,e,o,f);zi(a,b,v[a+8>>2],e,c,d,f,i);v[a+24>>2]=i;break a;case 3:zi(a,b,f,e,f,d,o,i);v[a+24>>2]=i;break a;case 4:f=a;k=b;n=j;l=e;m=g;h=+(d-e|0)*+(g-j|0)/+(c-j|0);h=h+(h<0?-.5:.5);e:{if(D(h)<2147483648){g=~~h;break e}g=-2147483648}e=g+e|0;g=((e|0)<(r|0))<<3|((e|0)>(q|0))<<1;zi(f,k,n,l,m,e,o,g);f=b;b=v[a>>2];zi(a,f,b,e,b,d,g,i);v[a+24>>2]=i;break a;case 6:k=a;n=b;l=f;m=e;u=f;h=+(d-e|0);s=+(c-j|0);p=h*+(f-j|0)/s;p=p+(p<0?-.5:.5);f:{if(D(p)<2147483648){f=~~p;break f}f=-2147483648}f=f+e|0;t=((f|0)<(r|0))<<3|((f|0)>(q|0))<<1;zi(k,n,l,m,u,f,o,t);l=v[a+8>>2];m=v[a>>2];h=h*+(g-j|0)/s;h=h+(h<0?-.5:.5);g:{if(D(h)<2147483648){g=~~h;break g}g=-2147483648}e=g+e|0;g=((e|0)<(r|0))<<3|((e|0)>(q|0))<<1;zi(k,n,l,f,m,e,t,g);f=b;b=v[a>>2];zi(a,f,b,e,b,d,g,i);v[a+24>>2]=i;break a;case 8:f=a;k=b;n=g;l=e;m=g;h=+(d-e|0)*+(g-j|0)/+(c-j|0);h=h+(h<0?-.5:.5);h:{if(D(h)<2147483648){g=~~h;break h}g=-2147483648}e=g+e|0;g=((e|0)<(r|0))<<3|((e|0)>(q|0))<<1;zi(f,k,n,l,m,e,o,g);zi(a,b,v[a>>2],e,c,d,g,i);v[a+24>>2]=i;break a;case 9:k=a;n=b;l=g;m=e;u=g;h=+(d-e|0);s=+(c-j|0);p=h*+(g-j|0)/s;p=p+(p<0?-.5:.5);i:{if(D(p)<2147483648){g=~~p;break i}g=-2147483648}g=g+e|0;t=((g|0)<(r|0))<<3|((g|0)>(q|0))<<1;zi(k,n,l,m,u,g,o,t);l=v[a>>2];m=v[a+8>>2];h=h*+(f-j|0)/s;h=h+(h<0?-.5:.5);j:{if(D(h)<2147483648){f=~~h;break j}f=-2147483648}e=f+e|0;f=((e|0)<(r|0))<<3|((e|0)>(q|0))<<1;zi(k,n,l,g,m,e,t,f);g=b;b=v[a+8>>2];zi(a,g,b,e,b,d,f,i);v[a+24>>2]=i;break a;case 12:zi(a,b,g,e,g,d,o,i);break;default:break b}}v[a+24>>2]=i;break a}Ew(b,v[a+16>>2],v[a+20>>2],c,d)}v[a+20>>2]=d;v[a+16>>2]=c}function d0a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=v[a+572>>2];c=v[a+664>>2];a:{if((b|0)<(c|0)|(b|0)>=v[a+668>>2]){break a}d=Qa[v[a+220>>2]](a,v[a+680>>2]+(b-c|0)|0)|0;c=v[a+580>>2];b=(d+(c<<2)|0)+(v[a+672>>2]<<2)|0;e=v[a+656>>2];d=(e|0)/v[a+584>>2]|0;f=v[a+644>>2];if(!w[a+648|0]){e=c+e|0;c=f+(d<<2)|0;d=v[a+660>>2];if(w[a+649|0]){if((d|0)<=(e|0)){break a}while(1){b:{c:{d=w[c+3|0];if((d|0)!=255){if(d){break c}v[b>>2]=0;break b}t[b|0]=255;t[b+1|0]=w[c|0];t[b+2|0]=w[c+1|0];t[b+3|0]=w[c+2|0];break b}t[b|0]=d;t[b+1|0]=((B(d,w[c|0])+127&65535)>>>0)/255;t[b+2|0]=((B(d,w[c+1|0])+127&65535)>>>0)/255;t[b+3|0]=((B(d,w[c+2|0])+127&65535)>>>0)/255}c=c+4|0;d=v[a+584>>2];b=(d<<2)+b|0;e=d+e|0;if((e|0)>2]){continue}break}break a}if((d|0)<=(e|0)){break a}while(1){d=w[c+3|0];d:{if(!d){break d}if((d|0)==255){t[b|0]=255;t[b+1|0]=w[c|0];t[b+2|0]=w[c+1|0];t[b+3|0]=w[c+2|0];break d}f=d^255;t[b|0]=(B(f,w[b|0]^255)+127>>>0)/255^-1;t[b+1|0]=((B(d,w[c|0])+B(f,w[b+1|0])|0)+127>>>0)/255;t[b+2|0]=((B(d,w[c+1|0])+B(f,w[b+2|0])|0)+127>>>0)/255;t[b+3|0]=((B(d,w[c+2|0])+B(f,w[b+3|0])|0)+127>>>0)/255}c=c+4|0;d=v[a+584>>2];b=(d<<2)+b|0;e=d+e|0;if((e|0)>2]){continue}break}break a}e=c+e|0;c=f+(d<<3)|0;d=v[a+660>>2];if(w[a+649|0]){if((d|0)<=(e|0)){break a}while(1){e:{f:{d=w[c+6|0];if((d|0)!=255){if(d){break f}v[b>>2]=0;break e}t[b|0]=255;t[b+1|0]=w[c|0];t[b+2|0]=w[c+2|0];t[b+3|0]=w[c+4|0];break e}t[b|0]=d;t[b+1|0]=((B(d,w[c|0])+127&65535)>>>0)/255;t[b+2|0]=((B(d,w[c+2|0])+127&65535)>>>0)/255;t[b+3|0]=((B(d,w[c+4|0])+127&65535)>>>0)/255}c=c+8|0;d=v[a+584>>2];b=(d<<2)+b|0;e=d+e|0;if((e|0)>2]){continue}break}break a}if((d|0)<=(e|0)){break a}while(1){d=w[c+6|0];g:{if(!d){break g}if((d|0)==255){t[b|0]=255;t[b+1|0]=w[c|0];t[b+2|0]=w[c+2|0];t[b+3|0]=w[c+4|0];break g}f=d^255;t[b|0]=(B(f,w[b|0]^255)+127>>>0)/255^-1;t[b+1|0]=((B(d,w[c|0])+B(f,w[b+1|0])|0)+127>>>0)/255;t[b+2|0]=((B(d,w[c+2|0])+B(f,w[b+2|0])|0)+127>>>0)/255;t[b+3|0]=((B(d,w[c+4|0])+B(f,w[b+3|0])|0)+127>>>0)/255}c=c+8|0;d=v[a+584>>2];b=(d<<2)+b|0;e=d+e|0;if((e|0)>2]){continue}break}}b=v[a+680>>2]+v[a+572>>2]|0;e=v[a+664>>2];c=v[a+556>>2];d=v[a+672>>2];h:{if((d|0)>=v[a+552>>2]){if(c){break h}c=0}v[a+552>>2]=d}d=c;c=v[a+676>>2];if((d|0)<(c|0)){v[a+556>>2]=c}c=v[a+564>>2];b=b-e|0;i:{if((b|0)>=v[a+560>>2]){if(c){break i}c=0}v[a+560>>2]=b}if((b|0)>=(c|0)){v[a+564>>2]=b+1}return 0}function X$a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=v[a+572>>2];c=v[a+664>>2];a:{if((b|0)<(c|0)|(b|0)>=v[a+668>>2]){break a}d=Qa[v[a+220>>2]](a,v[a+680>>2]+(b-c|0)|0)|0;c=v[a+580>>2];b=(d+(c<<2)|0)+(v[a+672>>2]<<2)|0;e=v[a+656>>2];d=(e|0)/v[a+584>>2]|0;f=v[a+644>>2];if(!w[a+648|0]){e=c+e|0;c=f+(d<<2)|0;d=v[a+660>>2];if(w[a+649|0]){if((d|0)<=(e|0)){break a}while(1){b:{c:{d=w[c+3|0];if((d|0)!=255){if(d){break c}v[b>>2]=0;break b}t[b|0]=255;t[b+1|0]=w[c+2|0];t[b+2|0]=w[c+1|0];t[b+3|0]=w[c|0];break b}t[b|0]=d;t[b+1|0]=((B(d,w[c+2|0])+127&65535)>>>0)/255;t[b+2|0]=((B(d,w[c+1|0])+127&65535)>>>0)/255;t[b+3|0]=((B(d,w[c|0])+127&65535)>>>0)/255}c=c+4|0;d=v[a+584>>2];b=(d<<2)+b|0;e=d+e|0;if((e|0)>2]){continue}break}break a}if((d|0)<=(e|0)){break a}while(1){d=w[c+3|0];d:{if(!d){break d}if((d|0)==255){t[b|0]=255;t[b+1|0]=w[c+2|0];t[b+2|0]=w[c+1|0];t[b+3|0]=w[c|0];break d}f=d^255;t[b|0]=(B(f,w[b|0]^255)+127>>>0)/255^-1;t[b+1|0]=((B(d,w[c+2|0])+B(f,w[b+1|0])|0)+127>>>0)/255;t[b+2|0]=((B(d,w[c+1|0])+B(f,w[b+2|0])|0)+127>>>0)/255;t[b+3|0]=((B(d,w[c|0])+B(f,w[b+3|0])|0)+127>>>0)/255}c=c+4|0;d=v[a+584>>2];b=(d<<2)+b|0;e=d+e|0;if((e|0)>2]){continue}break}break a}e=c+e|0;c=f+(d<<3)|0;d=v[a+660>>2];if(w[a+649|0]){if((d|0)<=(e|0)){break a}while(1){e:{f:{d=w[c+6|0];if((d|0)!=255){if(d){break f}v[b>>2]=0;break e}t[b|0]=255;t[b+1|0]=w[c+4|0];t[b+2|0]=w[c+2|0];t[b+3|0]=w[c|0];break e}t[b|0]=d;t[b+1|0]=((B(d,w[c+4|0])+127&65535)>>>0)/255;t[b+2|0]=((B(d,w[c+2|0])+127&65535)>>>0)/255;t[b+3|0]=((B(d,w[c|0])+127&65535)>>>0)/255}c=c+8|0;d=v[a+584>>2];b=(d<<2)+b|0;e=d+e|0;if((e|0)>2]){continue}break}break a}if((d|0)<=(e|0)){break a}while(1){d=w[c+6|0];g:{if(!d){break g}if((d|0)==255){t[b|0]=255;t[b+1|0]=w[c+4|0];t[b+2|0]=w[c+2|0];t[b+3|0]=w[c|0];break g}f=d^255;t[b|0]=(B(f,w[b|0]^255)+127>>>0)/255^-1;t[b+1|0]=((B(d,w[c+4|0])+B(f,w[b+1|0])|0)+127>>>0)/255;t[b+2|0]=((B(d,w[c+2|0])+B(f,w[b+2|0])|0)+127>>>0)/255;t[b+3|0]=((B(d,w[c|0])+B(f,w[b+3|0])|0)+127>>>0)/255}c=c+8|0;d=v[a+584>>2];b=(d<<2)+b|0;e=d+e|0;if((e|0)>2]){continue}break}}b=v[a+680>>2]+v[a+572>>2]|0;e=v[a+664>>2];c=v[a+556>>2];d=v[a+672>>2];h:{if((d|0)>=v[a+552>>2]){if(c){break h}c=0}v[a+552>>2]=d}d=c;c=v[a+676>>2];if((d|0)<(c|0)){v[a+556>>2]=c}c=v[a+564>>2];b=b-e|0;i:{if((b|0)>=v[a+560>>2]){if(c){break i}c=0}v[a+560>>2]=b}if((b|0)>=(c|0)){v[a+564>>2]=b+1}return 0}function sI(a,b){a=a|0;b=b|0;var 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;h=v[a+4>>2];if(v[h+48>>2]<=7){tI(a,b);return}i=v[a+12>>2];c=v[a+8>>2];m=i-c|0;if(v[h+44>>2]?1:m){g=v[a+16>>2];d=v[a+20>>2];if(g>>>0>=d>>>0){v[b>>2]=15;return}k=1;l=d-g>>1;f=v[a+24>>2];a:{b:{c:{d:{e:{f:{g:{h:{d=v[h+44>>2];if(d){v[h+44>>2]=0;t[h+36|0]=1;t[h+37|0]=d;break h}k=w[h+36|0];if(k){break h}k=0;i=m;d=c;break g}e=k<<24>>24;n=4-e|0;o=((e+i|0)-c|0)-4|0;k=0;i=m;i:{j:{while(1){t[(e+h|0)+37|0]=w[c|0];i=i-1|0;k=k+1|0;d=c+1|0;k:{l:{switch(e-1|0){case 0:j=w[h+37|0]|w[h+38|0]<<8;if((j&63488)!=55296){u[g>>1]=j;e=0;g=g+2|0;l=l-1|0;if(f){v[f>>2]=-1;f=f+4|0}else{f=0}break j}if(!(j&1024)){break k}e=2;break i;case 2:break l;default:break k}}i=w[h+40|0];if((i&252)==220){c=w[h+39|0]|i<<8;u[g>>1]=w[h+37|0]|w[h+38|0]<<8;if(l>>>0>=2){u[g+2>>1]=c;e=0;g=g+4|0;l=l-2|0;k=n;i=o;if(f){v[f>>2]=-1;v[f+4>>2]=-1;f=f+8|0}else{f=0}break j}g=g+2|0;t[h+65|0]=1;u[h+116>>1]=c;v[b>>2]=15;l=0;k=n;i=o;e=0;break j}v[b>>2]=12;if((v[a+8>>2]-d|0)<2){break f}c=c-1|0;break e}e=e+1|0;c=d;if(i){continue}break}i=0;k=m}j=0}t[h+36|0]=e}if(!j){break d}c=d;break c}v[h+44>>2]=w[h+39|0]|256}t[h+36|0]=2;v[a+24>>2]=f;v[a+16>>2]=g;v[a+8>>2]=c;return}c=l<<1;c=c>>>0>i>>>0?i&-2:c;if(!c){c=d;break c}i=i-c|0;e=c>>>1|0;l=l-e|0;m:{n:{if(!f){while(1){c=d+2|0;j=w[d|0]|w[d+1|0]<<8;o:{if((j&63488)!=55296){u[g>>1]=j;break o}f=0;if(j&1024|e>>>0<2){break n}f=w[d+3|0];if((f&252)!=220){f=0;break m}c=w[d+2|0];u[g>>1]=j;u[g+2>>1]=c|f<<8;g=g+2|0;e=e-1|0;c=d+4|0}d=c;g=g+2|0;e=e-1|0;if(e){continue}break}e=0;break a}while(1){c=d+2|0;j=w[d|0]|w[d+1|0]<<8;p:{if((j&63488)!=55296){u[g>>1]=j;d=2;break p}if(j&1024|e>>>0<2){break n}m=w[d+3|0];if((m&252)!=220){break m}c=w[d+2|0];u[g>>1]=j;u[g+2>>1]=c|m<<8;v[f>>2]=k;f=f+4|0;g=g+2|0;e=e-1|0;c=d+4|0;d=4}j=d;d=c;v[f>>2]=k;g=g+2|0;f=f+4|0;k=j+k|0;e=e-1|0;if(e){continue}break}e=f;break a}if(!e){break b}}l=e+l|0;i=((e<<1)+i|0)-2|0}if(!j){break b}t[h+36|0]=2;t[h+37|0]=j;t[h+38|0]=j>>>8;m=12;q:{if(j&1024){e=f;break q}if(i>>>0<2){break b}d=w[c+1|0];if((d&252)!=220){e=f;i=1;break q}d=w[c|0]|d<<8;u[g>>1]=j;e=0;if(f){v[f>>2]=k;e=f+4|0}g=g+2|0;i=i-2|0;t[h+65|0]=1;u[h+116>>1]=d;t[h+36|0]=0;m=15;c=c+2|0}d=c;v[b>>2]=m;break a}e=f;d=c}r:{if(!i|v[b>>2]>0){break r}if(!l){v[b>>2]=15;break r}c=w[d|0];b=t[h+36|0];t[h+36|0]=b+1;t[(b+h|0)+37|0]=c;d=d+1|0}v[a+24>>2]=e;v[a+16>>2]=g;v[a+8>>2]=d}}function ik(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0,y=0,z=0,A=0;a:{b:{c:{switch(d-4|0){case 4:d=0;if((b|0)>=32){o=b-32>>>5|0;q=o+1|0;while(1){d=g<<2;f=v[(d|28)+c>>2];h=v[(d|24)+c>>2];i=v[(d|20)+c>>2];k=v[(d|16)+c>>2];l=v[(d|12)+c>>2];m=v[(d|8)+c>>2];n=v[(d|4)+c>>2];d=v[c+d>>2];v[(j<<2)+a>>2]=(f>>>24|0)-e>>>28&8|((h>>>24|0)-e>>>28&8|((i>>>24|0)-e>>>28&8|((k>>>24|0)-e>>>28&8|((l>>>24|0)-e>>>28&8|((m>>>24|0)-e>>>28&8|((n>>>24|0)-e>>>28&8|((d>>>24|0)-e>>>28&8|(d>>>16&255)-e>>>29&4|(d>>>8&255)-e>>>30&2|(d&255)<(e|0))<<4|(n>>>16&255)-e>>>29&4|(n>>>8&255)-e>>>30&2|(n&255)<(e|0))<<4|(m>>>16&255)-e>>>29&4|(m>>>8&255)-e>>>30&2|(m&255)<(e|0))<<4|(l>>>16&255)-e>>>29&4|(l>>>8&255)-e>>>30&2|(l&255)<(e|0))<<4|(k>>>16&255)-e>>>29&4|(k>>>8&255)-e>>>30&2|(k&255)<(e|0))<<4|(i>>>16&255)-e>>>29&4|(i>>>8&255)-e>>>30&2|(i&255)<(e|0))<<4|(h>>>16&255)-e>>>29&4|(h>>>8&255)-e>>>30&2|(h&255)<(e|0))<<4|(f>>>16&255)-e>>>29&4|(f>>>8&255)-e>>>30&2|(f&255)<(e|0);g=g+8|0;d=(j|0)!=(o|0);j=j+1|0;if(d){continue}break}d=b&-32}if((b|0)<=(d|0)){break a}while(1){if(!(d&3)){f=v[(g<<2)+c>>2];g=g+1|0}p=((f>>>24|0)<(e|0))<<(d^-1)|p;f=f<<8;d=d+1|0;if((d|0)!=(b|0)){continue}break};break b;case 0:break c;default:break a}}if((b|0)>=32){i=b-32>>>5|0;q=i+1|0;while(1){h=g<<2;d=v[(h|12)+c>>2];f=v[(h|8)+c>>2];k=(f>>>4&15)-e>>>30&2|(f&15)<(e|0);l=(f>>>8&15)-e>>>29&4;m=(f>>>12&15)-e>>>28&8;n=(f>>>16&15)-e>>>27&16;o=(f>>>20&15)-e>>>26&32;r=(f>>>24&15)-e>>>25&64;s=(f>>>28|0)-e>>>24&128;f=v[(h|4)+c>>2];t=(f>>>4&15)-e>>>30&2|(f&15)<(e|0);u=(f>>>8&15)-e>>>29&4;w=(f>>>12&15)-e>>>28&8;x=(f>>>16&15)-e>>>27&16;y=(f>>>20&15)-e>>>26&32;z=(f>>>24&15)-e>>>25&64;A=(f>>>28|0)-e>>>24&128;f=v[c+h>>2];v[(j<<2)+a>>2]=(d>>>4&15)-e>>>30&2|(d&15)<(e|0)|((d>>>8&15)-e>>>29&4|((d>>>12&15)-e>>>28&8|((d>>>16&15)-e>>>27&16|((d>>>20&15)-e>>>26&32|((d>>>24&15)-e>>>25&64|((d>>>28|0)-e>>>24&128|(k|(l|(m|(n|(o|(r|(s|(t|(u|(w|(x|(y|(z|(A|((f>>>4&15)-e>>>30&2|(f&15)<(e|0)|((f>>>8&15)-e>>>29&4|((f>>>12&15)-e>>>28&8|((f>>>16&15)-e>>>27&16|((f>>>20&15)-e>>>26&32|((f>>>28|0)-e>>>24&128|(f>>>24&15)-e>>>25&64))))))<<8)))))))<<8)))))))<<8))))));g=g+4|0;f=(j|0)!=(i|0);j=j+1|0;if(f){continue}break}f=b&-32}if((b|0)<=(f|0)){break a}while(1){if(!(f&7)){d=v[(g<<2)+c>>2];g=g+1|0}p=((d>>>28|0)<(e|0))<<(f^-1)|p;d=d<<4;f=f+1|0;if((f|0)!=(b|0)){continue}break}}v[(q<<2)+a>>2]=p}}function Kd(a,b){var c=0,d=0,e=0,f=0,g=0;c=Ma-16|0;Ma=c;a:{b:{switch(b-3|0){case 0:u[c>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c,1,2)|0;b=w[c|0];if(x[a+25204>>1]==18761){a=b|w[c+1|0]<<8}else{a=w[c+1|0]|b<<8}d=+((a&65535)>>>0);break a;case 1:v[c>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c,1,4)|0;b=w[c|0];d=+((b|w[c+1|0]<<8|w[c+2|0]<<16|w[c+3|0]<<24)>>>0);if(x[a+25204>>1]==18761){break a}d=+((w[c+3|0]|(w[c+1|0]<<16|b<<24|w[c+2|0]<<8))>>>0);break a;case 2:v[c>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c,1,4)|0;b=w[c|0];if(x[a+25204>>1]==18761){b=b|w[c+1|0]<<8|w[c+2|0]<<16|w[c+3|0]<<24}else{b=w[c+3|0]|(w[c+1|0]<<16|b<<24|w[c+2|0]<<8)}v[c>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c,1,4)|0;e=w[c|0];d=+(b>>>0);if(x[a+25204>>1]==18761){a=e|w[c+1|0]<<8|w[c+2|0]<<16|w[c+3|0]<<24}else{a=w[c+3|0]|(w[c+1|0]<<16|e<<24|w[c+2|0]<<8)}d=d/+(a>>>0);break a;case 5:u[c>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c,1,2)|0;b=w[c|0];if(x[a+25204>>1]==18761){a=b|w[c+1|0]<<8}else{a=w[c+1|0]|b<<8}d=+(a<<16>>16);break a;case 6:v[c>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c,1,4)|0;b=w[c|0];d=+(b|w[c+1|0]<<8|w[c+2|0]<<16|w[c+3|0]<<24);if(x[a+25204>>1]==18761){break a}d=+(w[c+3|0]|(w[c+1|0]<<16|b<<24|w[c+2|0]<<8));break a;case 7:v[c+12>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,4)|0;e=w[c+12|0];b=c;if(x[a+25204>>1]==18761){e=e|w[c+13|0]<<8|w[c+14|0]<<16|w[c+15|0]<<24}else{e=w[c+15|0]|(w[c+13|0]<<16|e<<24|w[c+14|0]<<8)}d=+(e|0);A[b>>3]=d;v[c+12>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,4)|0;b=w[c+12|0];if(x[a+25204>>1]==18761){a=b|w[c+13|0]<<8|w[c+14|0]<<16|w[c+15|0]<<24}else{a=w[c+15|0]|(w[c+13|0]<<16|b<<24|w[c+14|0]<<8)}d=d/+(a|0);break a;case 8:v[c>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c,1,4)|0;b=w[c|0];if(x[a+25204>>1]==18761){a=b|w[c+1|0]<<8|w[c+2|0]<<16|w[c+3|0]<<24}else{a=w[c+3|0]|(w[c+1|0]<<16|b<<24|w[c+2|0]<<8)}d=+(l(2,a),p());break a;case 9:b=x[a+25204>>1]!=18761?7:0;f=b|c,g=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[f|0]=g;f=b^1|c,g=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[f|0]=g;f=b^2|c,g=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[f|0]=g;f=b^3|c,g=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[f|0]=g;f=b^4|c,g=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[f|0]=g;f=b^5|c,g=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[f|0]=g;f=b^6|c,g=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[f|0]=g;f=b^7|c,g=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[f|0]=g;d=A[c>>3];break a;default:break b}}d=+(Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0)}Ma=c+16|0;return d}function bR(a,b,c){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,p=0,q=0;v[a>>2]=0;qb(a,b);f=c&3;a:{if(!f){break a}e=ab(24);b:{c:{if(c&1){d=x[b+10>>1];c=x[b+8>>1];v[e+16>>2]=0;v[e+20>>2]=0;v[e>>2]=978308;v[e+4>>2]=0;u[e+12>>1]=c;u[e+10>>1]=c;u[e+8>>1]=d;c=B(c,d);if(!c){break b}d=e+16|0;break c}d=x[b+8>>1];c=x[b+10>>1];v[e+16>>2]=0;v[e+20>>2]=0;v[e>>2]=978308;v[e+4>>2]=0;u[e+12>>1]=c;u[e+10>>1]=c;u[e+8>>1]=d;c=B(c,d);if(!c){break b}d=e+16|0}c=ab((o=-1,p=x3a(c,0,3,0),q=Pa,q?o:p));v[e+20>>2]=c;v[d>>2]=c}qb(a,e);h=v[a>>2];d:{if(t[1168080]&1){break d}if(!ie(1168080)){break d}he(1168080)}e:{switch(f-1|0){case 2:if(!x[b+8>>1]){break a}c=x[h+8>>1];if(!c){break a}while(1){d=0;a=v[b+16>>2];i=a?a+B(B(x[b+12>>1],l),3)|0:0;a=c;while(1){e=a;a=e-1|0;f=0;f:{if((e|0)>x[h+8>>1]){break f}e=v[h+16>>2];f=0;if(!e){break f}f=e+B(B(x[h+12>>1],a),3)|0}e=f+B(l,3)|0;f=i+B(d,3)|0;m=w[f|0]|w[f+1|0]<<8;t[e|0]=m;t[e+1|0]=m>>>8;t[e+2|0]=w[f+2|0];d=d+1|0;if((c|0)!=(d|0)){continue}break}l=l+1|0;if(l>>>0>1]){continue}break};break a;case 1:f=x[h+8>>1];if(!f){break a}e=x[h+10>>1];if(!e){break a}m=e&3;n=e-1>>>0<3;c=f;while(1){d=0;g:{if(x[b+8>>1]<=k>>>0){break g}a=v[b+16>>2];d=0;if(!a){break g}d=a+B(B(x[b+12>>1],k),3)|0}i=c-1|0;l=0;h:{if(x[h+8>>1]<(c|0)){break h}a=v[h+16>>2];if(!a){break h}l=a+B(B(i,x[h+12>>1]),3)|0}c=e;a=m;if(a){while(1){c=c-1|0;g=B(c,3)+l|0;j=w[d|0]|w[d+1|0]<<8;t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=w[d+2|0];d=d+3|0;a=a-1|0;if(a){continue}break}}if(!n){while(1){a=B(c,3)+l|0;g=a-3|0;j=w[d|0]|w[d+1|0]<<8;t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=w[d+2|0];g=a-6|0;t[g+2|0]=w[d+5|0];j=w[d+3|0]|w[d+4|0]<<8;t[g|0]=j;t[g+1|0]=j>>>8;g=a-9|0;j=w[d+6|0]|w[d+7|0]<<8;t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=w[d+8|0];a=a-12|0;t[a+2|0]=w[d+11|0];g=w[d+9|0]|w[d+10|0]<<8;t[a|0]=g;t[a+1|0]=g>>>8;d=d+12|0;a=(c|0)>4;c=c-4|0;if(a){continue}break}}c=i;k=k+1|0;if((f|0)!=(k|0)){continue}break};break a;case 0:break e;default:break a}}e=x[h+10>>1];if(!e){break a}a=e;while(1){d=0;c=0;i:{if(x[b+8>>1]<=k>>>0){break i}f=v[b+16>>2];c=0;if(!f){break i}c=f+B(B(x[b+12>>1],k),3)|0}f=c;a=a-1|0;if(x[b+10>>1]){while(1){c=0;j:{if(x[h+8>>1]<=d>>>0){break j}i=v[h+16>>2];if(!i){break j}c=i+B(B(x[h+12>>1],d),3)|0}c=B(a,3)+c|0;i=f+B(d,3)|0;m=w[i|0]|w[i+1|0]<<8;t[c|0]=m;t[c+1|0]=m>>>8;t[c+2|0]=w[i+2|0];d=d+1|0;if(d>>>0>1]){continue}break}}k=k+1|0;if((e|0)!=(k|0)){continue}break}}}function xTa(a){a=a|0;var 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,z=0,A=0,C=0,D=0;f=Ma-96|0;Ma=f;a:{if(!x[a+26304>>1]){break a}while(1){C=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;if(y[a+26168>>2]<=2147483646){d=v[a>>2];b=v[d+8>>2];c=v[a+4>>2];v[f+92>>2]=-1;Qa[v[d>>2]](c,f+92|0,1,4)|0;d=w[f+92|0];if(x[a+25204>>1]==18761){d=d|w[f+93|0]<<8|w[f+94|0]<<16|w[f+95|0]<<24}else{d=w[f+95|0]|(w[f+93|0]<<16|d<<24|w[f+94|0]<<8)}Qa[b|0](c,d,0)|0}if(!dp(a,f+8|0,0)){break a}d=B(v[f+16>>2],v[a+26028>>2]?v[f+20>>2]:1);e=v[a+26148>>2];c=(d>>>0)/(e>>>0)|0;b:{if(v[f+12>>2]<1){break b}b=0;if(e>>>0<=d>>>0){t=c>>>0>1?c:1;h=0;l=0;o=0;while(1){b=Pw(a,o,f+8|0);z=v[a+26164>>2];q=v[a+26148>>2];i=v[a+26028>>2];c:{if(i){g=0;while(1){c=x[a+26314>>1];e=x[a+26312>>1];j=(q|0)!=2;b=j?b:((v[a+160>>2]!=0)<<1)+b|0;d=(h+m|0)-c|0;e=(l+p|0)-e|0;k=x[a+26322>>1];d:{if(!k){c=d;break d}c=(d+1>>1)+e|0;e=k+((d>>1^-1)+e|0)|0}if(!(x[a+26308>>1]<=e>>>0|x[a+26310>>1]<=c>>>0)){d=x[a+26316>>1];d=(v[a+26352>>2]+(B(x[a+26320>>1],e>>>d|0)+(c>>>d|0)<<3)|0)+((i>>>((e<<1&14|c&1)<<1)&3)<<1)|0;c=x[b>>1];if(c>>>0<=4095){c=x[((c<<1)+a|0)+26484>>1]}u[d>>1]=c}b=(q<<1)+b|0;b=j?b:(v[a+160>>2]?-2:0)+b|0;h=h+1|0;if(!(z>>>0>h>>>0&x[a+26306>>1]>h>>>0)){l=l+1|0;h=0}g=g+1|0;if((t|0)!=(g|0)){continue}break}break c}i=v[a+26108>>2];d=i&-2;D=i&1;r=0;while(1){j=(l+p|0)-x[a+26312>>1]|0;A=(q|0)!=2;b=A?b:((v[a+160>>2]!=0)<<1)+b|0;e:{if(j>>>0>=x[a+26308>>1]){break e}k=(h+m|0)-x[a+26314>>1]|0;if(!i|k>>>0>=x[a+26310>>1]){break e}s=v[a+26352>>2];e=0;c=d;if((i|0)!=1){while(1){n=e<<1;g=x[n+b>>1];if(g>>>0<=4095){g=x[((g<<1)+a|0)+26484>>1]}u[n+((k+B(j,x[a+26310>>1])<<3)+s|0)>>1]=g;n=(e|1)<<1;g=x[n+b>>1];if(g>>>0<4096){g=x[((g<<1)+a|0)+26484>>1]}u[n+((k+B(j,x[a+26310>>1])<<3)+s|0)>>1]=g;e=e+2|0;c=c-2|0;if(c){continue}break}}if(!D){break e}c=e<<1;e=x[c+b>>1];if(e>>>0<=4095){e=x[((e<<1)+a|0)+26484>>1]}u[c+((k+B(j,x[a+26310>>1])<<3)+s|0)>>1]=e}b=(i<<1)+b|0;b=A?b:(v[a+160>>2]?-2:0)+b|0;h=h+1|0;if(!(z>>>0>h>>>0&x[a+26306>>1]>h>>>0)){l=l+1|0;h=0}r=r+1|0;if((r|0)!=(t|0)){continue}break}}o=o+1|0;if((o|0)>2]){continue}break}break b}while(1){Pw(a,b,f+8|0);b=b+1|0;if((b|0)>2]){continue}break}}Qa[v[v[a>>2]+8>>2]](v[a+4>>2],C+4|0,0)|0;m=v[a+26164>>2]+m|0;if(m>>>0>=x[a+26306>>1]){p=v[a+26168>>2]+p|0;m=0}$a(v[f+84>>2]);if(x[a+26304>>1]>p>>>0){continue}break}}Ma=f+96|0}function Nda(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;var j=0,k=0,l=0,m=0,n=0,o=0;j=Ma-16|0;Ma=j;k=((e<<2)+b|0)+(h<<2)|0;n=(B(g,10)|0)/4|0;g=(h<<1)+e|0;a:{if(f&3|e&1){if(!f|!e){break a}while(1){h=e;while(1){c=w[i+9|0];d=w[i+8|0];b:{switch(h-1|0){default:if((f|0)!=1){Ic(v[a+68>>2],w[i+7|0],d,c,j+12|0,j+8|0,j+4|0);v[k+12>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216}Ic(v[a+68>>2],w[i+3|0],d,c,j+12|0,j+8|0,j+4|0);v[b+12>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;case 2:if((f|0)!=1){Ic(v[a+68>>2],w[i+6|0],d,c,j+12|0,j+8|0,j+4|0);v[k+8>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216}Ic(v[a+68>>2],w[i+2|0],d,c,j+12|0,j+8|0,j+4|0);v[b+8>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;case 1:if((f|0)!=1){Ic(v[a+68>>2],w[i+5|0],d,c,j+12|0,j+8|0,j+4|0);v[k+4>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216}Ic(v[a+68>>2],w[i+1|0],d,c,j+12|0,j+8|0,j+4|0);v[b+4>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;break;case 0:break b}}if((f|0)!=1){Ic(v[a+68>>2],w[i+4|0],d,c,j+12|0,j+8|0,j+4|0);v[k>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216}Ic(v[a+68>>2],w[i|0],d,c,j+12|0,j+8|0,j+4|0);v[b>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;i=i+10|0;c=(h>>>0<4?h:4)<<2;b=c+b|0;k=c+k|0;c=h>>>0>4;d=h-4|0;h=d>>>0>h>>>0?0:d;if(c){continue}break}if(f>>>0<3){break a}i=i+n|0;f=f-2|0;c=g<<2;k=c+k|0;b=b+c|0;continue}}if(f>>>0<2){break a}d=e>>>2|0;o=g<<2;while(1){c=d;while(1){e=w[i+8|0];g=w[i+9|0];h=j+12|0;l=j+8|0;m=j+4|0;Ic(v[a+68>>2],w[i|0],e,g,h,l,m);v[b>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Ic(v[a+68>>2],w[i+1|0],e,g,h,l,m);v[b+4>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Ic(v[a+68>>2],w[i+2|0],e,g,h,l,m);v[b+8>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Ic(v[a+68>>2],w[i+3|0],e,g,h,l,m);v[b+12>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Ic(v[a+68>>2],w[i+4|0],e,g,h,l,m);v[k>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Ic(v[a+68>>2],w[i+5|0],e,g,h,l,m);v[k+4>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Ic(v[a+68>>2],w[i+6|0],e,g,h,l,m);v[k+8>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Ic(v[a+68>>2],w[i+7|0],e,g,h,l,m);v[k+12>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;i=i+10|0;k=k+16|0;b=b+16|0;c=c-1|0;if(c){continue}break}i=i+n|0;k=k+o|0;b=b+o|0;f=f-2|0;if(f>>>0>1){continue}break}}Ma=j+16|0}function Aea(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;l=Ma-32|0;Ma=l;s=v[a+52>>2];p=v[a+16>>2];f=v[a>>2];o=gb(yr(f));a:{if(!o){wb(v[f+628>>2],v[f>>2],46701,0);break a}Hf(o,0,yr(f));b:{c:{d:{switch(x[a+28>>1]-1|0){case 0:case 4:e=x[a+30>>1]-2|0;if((e&65535)>>>0>=7){break b}e=(e<<16>>16<<2)+76796|0;break c;case 1:case 5:e=x[a+30>>1]-1|0;if((e&65535)>>>0>=8){break b}e=(e<<16>>16<<2)+76824|0;break c;case 2:case 6:e=x[a+30>>1]-1|0;if((e&65535)>>>0>=8){break b}e=(e<<16>>16<<2)+76856|0;break c;case 3:case 7:break d;default:break b}}e=x[a+30>>1]-1|0;if((e&65535)>>>0>=7){break b}e=(e<<16>>16<<2)+76888|0}n=v[e>>2]}v[l+16>>2]=l+28;li(f,278,l+16|0);v[l+4>>2]=l+24;v[l>>2]=l+26;li(f,530,l);i=1;g=Ma-80|0;Ma=g;e:{f:{if(x[f+138>>1]==1){if(!(w[f+13|0]&64|x[f+90>>1]!=6)){v[g+4>>2]=g+78;v[g>>2]=g+76;Mc(f,530,g);h=x[g+78>>1];e=x[g+76>>1];j=B(h,e);if(!j){wb(v[f+628>>2],v[f>>2],9852,0);e=0;break e}e=(B(x[f+84>>1],B(j+2|0,((e+v[f+56>>2]|0)-1>>>0)/(e>>>0)|0))+7>>>3>>>0)/(h>>>0)|0;break e}m=x[f+98>>1];h=x3a(v[f+56>>2],0,m,0);j=Pa;e=h;if(!m|!j){break f}e=v[f>>2];h=v[f+628>>2];v[g+64>>2]=18329;wb(h,e,22641,g- -64|0);e=0;break f}e=v[f+56>>2]}h=e;m=x[f+84>>1];e=x3a(e,0,m,0);j=(Pa|0)!=0;g:{h:{i:{j:{if(m){if(j){e=v[f>>2];j=v[f+628>>2];v[g+32>>2]=18329;wb(j,e,22641,g+32|0);m=x[f+84>>1];e=x3a(m,0,h,0);j=(Pa|0)!=0;break j}if(!(e&7)){break i}if(!j){break g}e=v[f>>2];h=v[f+628>>2];v[g+48>>2]=18329;wb(h,e,22641,g+48|0);e=0;break g}if(e&7){break g}}if(!m){break h}}if(!j){break h}e=v[f>>2];h=v[f+628>>2];v[g+16>>2]=18329;wb(h,e,22641,g+16|0);e=0}e=e>>>3|0;break e}e=(e>>>3|0)+1|0}Ma=g+80|0;k:{if(!d){break k}i=p-c|0;m=i>>>0>p>>>0?0:i;j=n&1;p=0-j&0-(c<<1);h=j?d-1|0:0;l:{while(1){i=v[l+28>>2];g=x[l+24>>1];r=v[a+76>>2]+k|0;t=g;i=i-((r>>>0)%(i>>>0)|0)|0;i=i+k>>>0>d>>>0?d-k|0:i;g=(i>>>0)%(g>>>0)|0;q=0;if(!((wr(f,zr(f,r,0),o,B((g?t-g|0:0)+i+(v[a+76>>2]+k>>>0)%y[l+28>>2]|0,e))|0)>-1|!v[a+4>>2])){break l}Qa[s|0](a,(B(c,h)<<2)+b|0,0,h,c,i,m,p,B((v[a+76>>2]+k>>>0)%y[l+28>>2]|0,e)+o|0);h=(j?0-i|0:i)+h|0;k=i+k|0;if(k>>>0>>0){continue}break}q=1}i=q;if(!(n&2)){break k}h=0;while(1){k=(B(c,h)<<2)+b|0;n=(k+(c<<2)|0)-4|0;if(k>>>0>>0){while(1){a=v[k>>2];v[k>>2]=v[n>>2];v[n>>2]=a;k=k+4|0;n=n-4|0;if(k>>>0>>0){continue}break}}h=h+1|0;if((h|0)!=(d|0)){continue}break}}$a(o)}Ma=l+32|0;return i|0}function YD(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,m=0;g=Ma-48|0;Ma=g;o(+a);d=j(1)|0;f=j(0)|0;a:{b:{e=d;d=e;h=e&2147483647;c:{if(h>>>0<=1074752122){if((d&1048575)==598523){break c}if(h>>>0<=1073928572){if((e|0)>0|(e|0)>=0){a=a+-1.5707963267341256;c=a+-6.077100506506192e-11;A[b>>3]=c;A[b+8>>3]=a-c+-6.077100506506192e-11;d=1;break a}a=a+1.5707963267341256;c=a+6.077100506506192e-11;A[b>>3]=c;A[b+8>>3]=a-c+6.077100506506192e-11;d=-1;break a}if((e|0)>0|(e|0)>=0){a=a+-3.1415926534682512;c=a+-1.2154201013012384e-10;A[b>>3]=c;A[b+8>>3]=a-c+-1.2154201013012384e-10;d=2;break a}a=a+3.1415926534682512;c=a+1.2154201013012384e-10;A[b>>3]=c;A[b+8>>3]=a-c+1.2154201013012384e-10;d=-2;break a}if(h>>>0<=1075594811){if(h>>>0<=1075183036){if((h|0)==1074977148){break c}if((e|0)>0|(e|0)>=0){a=a+-4.712388980202377;c=a+-1.8231301519518578e-10;A[b>>3]=c;A[b+8>>3]=a-c+-1.8231301519518578e-10;d=3;break a}a=a+4.712388980202377;c=a+1.8231301519518578e-10;A[b>>3]=c;A[b+8>>3]=a-c+1.8231301519518578e-10;d=-3;break a}if((h|0)==1075388923){break c}if((e|0)>0|(e|0)>=0){a=a+-6.2831853069365025;c=a+-2.430840202602477e-10;A[b>>3]=c;A[b+8>>3]=a-c+-2.430840202602477e-10;d=4;break a}a=a+6.2831853069365025;c=a+2.430840202602477e-10;A[b>>3]=c;A[b+8>>3]=a-c+2.430840202602477e-10;d=-4;break a}if(h>>>0>1094263290){break b}}k=a*.6366197723675814+6755399441055744+-6755399441055744;c=a+k*-1.5707963267341256;i=k*6.077100506506192e-11;a=c-i;A[b>>3]=a;o(+a);d=j(1)|0;j(0)|0;e=h>>>20|0;f=(e-(d>>>20&2047)|0)<17;if(D(k)<2147483648){d=~~k}else{d=-2147483648}d:{if(f){break d}i=c;a=k*6.077100506303966e-11;c=c-a;i=k*2.0222662487959506e-21-(i-c-a);a=c-i;A[b>>3]=a;f=e;o(+a);e=j(1)|0;j(0)|0;if((f-(e>>>20&2047)|0)<50){break d}i=c;a=k*2.0222662487111665e-21;c=c-a;i=k*8.4784276603689e-32-(i-c-a);a=c-i;A[b>>3]=a}A[b+8>>3]=c-a-i;break a}if(h>>>0>=2146435072){a=a-a;A[b>>3]=a;A[b+8>>3]=a;d=0;break a}l(0,f|0);l(1,e&1048575|1096810496);a=+n();d=0;f=1;while(1){m=(g+16|0)+(d<<3)|0;if(D(a)<2147483648){d=~~a}else{d=-2147483648}c=+(d|0);A[m>>3]=c;a=(a-c)*16777216;d=1;m=f&1;f=0;if(m){continue}break}A[g+32>>3]=a;e:{if(a!=0){d=2;break e}f=1;while(1){d=f;f=d-1|0;if(A[(g+16|0)+(d<<3)>>3]==0){continue}break}}d=TP(g+16|0,g,(h>>>20|0)-1046|0,d+1|0,1);a=A[g>>3];if((e|0)<-1|(e|0)<=-1){A[b>>3]=-a;A[b+8>>3]=-A[g+8>>3];d=0-d|0;break a}A[b>>3]=a;A[b+8>>3]=A[g+8>>3]}Ma=g+48|0;return d}function Tq(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=Ma-32|0;Ma=g;h=a+520|0;e=h;a:{b:{d=a+448|0;if(!d){break b}i=w[e+27|0];j=i<<24>>24;b=d;c=w[b+27|0];k=c<<24>>24;i=(j|0)<0?v[e+20>>2]:i;f=0;c:{if((i|0)!=(((k|0)<0?v[b+20>>2]:c)|0)){break c}if(i){c=e+16|0;c=(j|0)<0?v[c>>2]:c;j=b+16|0;f=0;if(lc(c,(k|0)<0?v[j>>2]:j,i)){break c}}c=w[e+15|0];j=c<<24>>24;i=w[b+15|0];k=i<<24>>24;f=(k|0)<0?v[b+8>>2]:i;i=(j|0)<0?v[e+8>>2]:c;if((f|0)!=(i|0)){break b}if(i){c=e+4|0;c=(j|0)<0?v[c>>2]:c;j=b+4|0;f=0;if(lc(c,(k|0)<0?v[j>>2]:j,i)){break c}}if(v[e+64>>2]!=v[b+64>>2]|v[e+52>>2]!=v[b+52>>2]|(v[e+40>>2]!=v[b+40>>2]|A[e+32>>3]!=A[b+32>>3])){break b}if(v[e+44>>2]!=v[b+44>>2]){break b}f=0;if(w[e+48|0]!=w[b+48|0]){break c}f=w[e+49|0]==w[b+49|0]}break a}f=0}c=f;l=A[a+592>>3];d:{if(c){if(!(l>1)){break d}A[g+24>>3]=A[a+504>>3]*A[a+608>>3]/l;a=v[a+12>>2];Qa[v[v[a>>2]+32>>2]](a,g+24|0);break d}if(l>1){A[v[a+12>>2]+128>>3]=A[a+504>>3]*A[a+608>>3]/l}b=w[a+463|0];e:{if(!(b<<24>>24<0?v[a+456>>2]:b)){b=v[a+12>>2];c=v[a+488>>2]!=0;v[g+20>>2]=w[a+496|0]<<2|(v[a+492>>2]?c|2:c)|w[a+497|0]<<7;A[g+24>>3]=A[v[a+16>>2]+24>>3];A[g+8>>3]=A[v[a+16>>2]+32>>3];Qa[v[v[b>>2]+140>>2]](b,a+464|0,a+480|0,g+20|0,g+24|0,g+8|0)|0;break e}b=v[a+12>>2];A[g+24>>3]=A[v[a+16>>2]+24>>3];A[g+8>>3]=A[v[a+16>>2]+32>>3];Qa[v[v[b>>2]+144>>2]](b,a+452|0,a+512|0,a+480|0,g+24|0,g+8|0)|0}b=v[a+12>>2]+16|0;v[b+24>>2]=0;v[b+28>>2]=1072693248;v[b+72>>2]=0;v[b+76>>2]=1072693248;v[b+32>>2]=0;v[b+36>>2]=0;v[b+40>>2]=0;v[b+44>>2]=0;v[b+56>>2]=0;v[b+60>>2]=0;v[b+48>>2]=0;v[b+52>>2]=1072693248;b=b- -64|0;v[b>>2]=0;v[b+4>>2]=0;b=v[a+12>>2];Qa[v[v[b>>2]+40>>2]](b,a+500|0);a=v[a+12>>2];Qa[v[v[a>>2]+32>>2]](a,a+128|0);f:{if((d|0)==(h|0)){break f}a=h+16|0;b=d+16|0;e=w[d+27|0];c=e<<24>>24;g:{if(t[h+27|0]>=0){if((c|0)>=0){c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;v[a+8>>2]=v[b+8>>2];break g}De(a,v[d+16>>2],v[d+20>>2]);break g}f=a;a=(c|0)<0;mf(f,a?v[d+16>>2]:b,a?v[d+20>>2]:e)}a=h+4|0;b=d+4|0;e=w[d+15|0];c=e<<24>>24;if(t[h+15|0]>=0){if((c|0)>=0){c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;v[a+8>>2]=v[b+8>>2];break f}De(a,v[d+4>>2],v[d+8>>2]);break f}f=a;a=(c|0)<0;mf(f,a?v[d+4>>2]:b,a?v[d+8>>2]:e)}A[h+32>>3]=A[d+32>>3];v[h+40>>2]=v[d+40>>2];v[h+44>>2]=v[d+44>>2];t[h+48|0]=w[d+48|0];t[h+49|0]=w[d+49|0];v[h+52>>2]=v[d+52>>2];A[h+56>>3]=A[d+56>>3];v[h+64>>2]=v[d+64>>2]}Ma=g+32|0}function QW(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=Ma-32|0;Ma=f;g=v[a+36>>2];d=v[g+20>>2];a:{b:{e=v[g+16>>2];b=w[e|0];c:{if(((b&223)-65&255)>>>0>=26){if((b|0)!=95){break b}if(e>>>0>>0){break c}break b}if(e>>>0>=d>>>0){break b}}b=e;while(1){d:{c=b;b=b+1|0;c=w[c+1|0];if(!(((c&223)-65&255)>>>0<26|(c-48&255)>>>0<10|c-45>>>0<2)){if((c|0)!=95){break d}}if(b>>>0>>0){continue}}break}if(c<<24>>24<1|b>>>0>=d>>>0){break b}d=b-e|0;if(!(w[a+362|0]&8|(d|0)<50001)){if(!(!v[a+212>>2]|v[a+172>>2]!=-1)){c=0;break a}v[a+84>>2]=110;v[f+4>>2]=280103;v[f>>2]=246135;c=0;nb(0,0,0,a,0,1,110,3,280103,0,0,0,340574,f);v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1;break a}c=Zc(v[a+296>>2],e,d);e=v[a+36>>2];v[e+16>>2]=b;v[a+200>>2]=d+v[a+200>>2];v[e+32>>2]=d+v[e+32>>2];if(c){break a}c=0;Yc(a,0);break a}if(!(v[a+292>>2]|(d-e|0)>249)){oc(a);g=v[a+36>>2];e=v[g+16>>2]}d=v[g+12>>2];c=0;e:{f:{b=Be(a,f+28|0);switch(b-47|0){case 0:case 15:break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:break e;default:break f}}if((b|0)==32){break a}}if(!jX(v[a+360>>2],b)|(b|0)==58){break a}g=e-d|0;e=0;while(1){g:{h:{switch(b-47|0){default:if((b|0)==32){break g}break;case 0:case 15:break g;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:break h}}if(!rq(v[a+360>>2],b)|(b|0)==58){break g}i:{if((c|0)<101){c=c+1|0;break i}if(!(w[a+362|0]&8|(e|0)<50001)){Md(a,110,280103);c=0;break a}j:{if(v[a+292>>2]){break j}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break j}oc(a)}c=0;if(v[a+172>>2]==-1){break a}}d=v[f+28>>2];b=v[a+36>>2];h=v[b+16>>2];k:{if(w[h|0]==10){v[b+32>>2]=1;v[b+28>>2]=v[b+28>>2]+1;break k}v[b+32>>2]=v[b+32>>2]+1}i=b;b=d+h|0;v[i+16>>2]=b;if(w[b|0]==37){zc(a)}e=e+d|0;b=Be(a,f+28|0);if(b){continue}b=v[a+36>>2];d=v[f+28>>2];c=v[b+16>>2]-d|0;v[b+16>>2]=c;if(!(v[a+292>>2]|(v[b+20>>2]-c|0)>249)){oc(a);d=v[f+28>>2];b=v[a+36>>2];c=v[b+16>>2]}v[b+16>>2]=c+d;c=0;if(v[a+172>>2]==-1){break a}b=Be(a,f+28|0);continue}break}if(!(w[a+362|0]&8|(e|0)<50001)){if(!(!v[a+212>>2]|v[a+172>>2]!=-1)){c=0;break a}v[a+84>>2]=110;v[f+20>>2]=280103;v[f+16>>2]=246135;c=0;nb(0,0,0,a,0,1,110,3,280103,0,0,0,340574,f+16|0);v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1;break a}c=Zc(v[a+296>>2],g+v[v[a+36>>2]+12>>2]|0,e)}Ma=f+32|0;return c}function bGa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=v[b>>2];if(!f){return 35}b=6;a:{if(y[f+16>>2]<=c>>>0){break a}g=v[f+104>>2];i=v[f+292>>2];b=i+(c<<4)|0;j=u[b+6>>1];k=j+u[b+8>>1]|0;v[a+76>>2]=k;h=u[b>>1];b=u[b+2>>1];t[a+94|0]=1;u[a+92>>1]=1;e=b-h|0;v[a+80>>2]=e;b=3;b:{c:{switch((1<<(v[f+312>>2]&3))-1|0){case 0:b=e+7>>>3|0;break b;case 1:b=e+15>>>3&536870910;break b;case 3:b=e+31>>>3&536870908;break b;case 7:break c;default:break a}}b=e+63>>>3&536870904}v[a+104>>2]=j;v[a+100>>2]=h;v[a+72>>2]=1651078259;v[a+84>>2]=b;b=u[((c<<4)+i|0)+4>>1];v[a+36>>2]=j<<6;v[a+32>>2]=h<<6;v[a+28>>2]=k<<6;v[a+24>>2]=e<<6;v[a+40>>2]=b<<6;kt(a+24|0,v[f+208>>2]+v[f+204>>2]<<6);d:{if(d&4194304){break d}d=B(v[a+76>>2],v[a+84>>2]);b=oB(a,d);if(b){break a}b=Mb(g,v[((c<<4)+i|0)+12>>2]);if(b){break a}b=_e(g,v[a+88>>2],d);if(b){break a}c=v[f+312>>2];if(!(c&8)){c=v[a+88>>2];b=d;e:{if(!b){break e}h=b-1|0;e=b&3;if(e){while(1){g=w[c|0];g=g>>>4|(g&15)<<4;g=g>>>2&51|(g&51)<<2;t[c|0]=g>>>1&85|(g&85)<<1;c=c+1|0;b=b-1|0;e=e-1|0;if(e){continue}break}}if(h>>>0<3){break e}while(1){e=w[c|0];e=e>>>4|(e&15)<<4;e=e>>>2&51|(e&51)<<2;t[c|0]=e>>>1&85|(e&85)<<1;e=w[c+1|0];e=e>>>4|(e&15)<<4;e=e>>>2&51|(e&51)<<2;t[c+1|0]=e>>>1&85|(e&85)<<1;e=w[c+2|0];e=e>>>4|(e&15)<<4;e=e>>>2&51|(e&51)<<2;t[c+2|0]=e>>>1&85|(e&85)<<1;e=w[c+3|0];e=e>>>4|(e&15)<<4;e=e>>>2&51|(e&51)<<2;t[c+3|0]=e>>>1&85|(e&85)<<1;c=c+4|0;b=b-4|0;if(b){continue}break}}c=v[f+312>>2]}if(!((c>>>2^c>>>3)&1)){break d}b=0;f:{switch((1<<(c>>>4&3))-2|0){case 0:a=v[a+88>>2];g:{if(d>>>0<2){break g}c=d-2|0;b=(c>>>1|0)+1&3;if(b){while(1){f=w[a+1|0];t[a+1|0]=w[a|0];t[a|0]=f;a=a+2|0;d=d-2|0;b=b-1|0;if(b){continue}break}}if(c>>>0<6){break g}while(1){b=w[a+1|0];t[a+1|0]=w[a|0];t[a|0]=b;b=w[a+2|0];t[a+2|0]=w[a+3|0];t[a+3|0]=b;b=w[a+4|0];t[a+4|0]=w[a+5|0];t[a+5|0]=b;b=w[a+6|0];t[a+6|0]=w[a+7|0];t[a+7|0]=b;a=a+8|0;d=d-8|0;if(d>>>0>1){continue}break}}break d;case 2:break f;default:break a}}b=v[a+88>>2];h:{if(d>>>0<4){break h}a=d-4|0;if(!(a&4)){c=w[b+3|0];t[b+3|0]=w[b|0];t[b|0]=c;c=w[b+1|0];t[b+1|0]=w[b+2|0];t[b+2|0]=c;d=a;b=b+4|0}if(a>>>0<4){break h}while(1){a=w[b+3|0];t[b+3|0]=w[b|0];t[b|0]=a;a=w[b+1|0];t[b+1|0]=w[b+2|0];t[b+2|0]=a;a=w[b+4|0];t[b+4|0]=w[b+7|0];t[b+7|0]=a;a=w[b+5|0];t[b+5|0]=w[b+6|0];t[b+6|0]=a;b=b+8|0;d=d-8|0;if(d>>>0>3){continue}break}}}b=0}return b|0}function KX(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=v[b>>2];e=f;a:{while(1){b:{c=w[e|0];d=c-48|0;c:{if(((c&223)-65&255)>>>0<26|(d&255)>>>0<10){break c}d:{switch(c-33|0){case 31:break b;case 0:case 3:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 25:case 26:case 28:case 62:case 93:break c;case 4:break d;default:break a}}e:{d=w[e+1|0];if((d-48&255)>>>0<10){break e}switch(d-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break e;default:break a}}d=w[e+2|0];if((d-48&255)>>>0<10){break c}switch(d-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break c;default:break a}}e=((c|0)==37?3:1)+e|0;continue}break}f:{if(!a){break f}c=v[a+16>>2];if(c){Qa[v[256556]](c)}d=e-f|0;g:{if(w[a+36|0]&2){c=0;if(!f|(d|0)<0){break g}c=Qa[v[256555]](d+1|0)|0;if(!c){c=0;nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break g}h=cb(c,f,d)+d|0,i=0,t[h|0]=i;break g}c=tm(f,d)}v[a+16>>2]=c;if(w[e|0]==64){break f}f=v[b>>2];break a}f=e+1|0}h:{i:{c=w[f|0];if((c|0)==91){c=f;while(1){e=c;g=w[c+1|0];d=1;if(!g){break h}c=e+1|0;if((g|0)!=93){continue}break}e=e+2|0;break i}e=f;while(1){j:{if(((c&223)-65&255)>>>0<26|(c-48&255)>>>0<10){break j}k:{switch((c&255)-33|0){case 0:case 3:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 26:case 28:case 62:case 93:break j;case 4:break k;default:break i}}l:{d=w[e+1|0];if((d-48&255)>>>0<10){break l}switch(d-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break l;default:break i}}d=w[e+2|0];if((d-48&255)>>>0<10){break j}switch(d-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break j;default:break i}}e=((c&255)==37?3:1)+e|0;c=w[e|0];continue}}if(a){c=v[a+8>>2];if(c){Qa[v[256556]](c)}c=0;v[a+8>>2]=0;d=v[a+12>>2];if(d){Qa[v[256556]](d)}m:{if((e|0)==(f|0)){e=f;break m}d=e-f|0;if(w[a+36|0]&2){if((d|0)<0){break m}g=Qa[v[256555]](d+1|0)|0;if(!g){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break m}c=cb(g,f,d);t[d+c|0]=0;break m}c=tm(f,d)}v[a+12>>2]=c}n:{if(w[e|0]!=58){break n}c=w[e+1|0];d=1;if((c-48&255)>>>0>9){break h}f=e+1|0;d=0;while(1){d=(B(d,10)+(c&255)|0)-48|0;c=w[f+1|0];e=f+1|0;f=e;if((c-48&255)>>>0<10){continue}break}if(!a){break n}v[a+20>>2]=d&2147483647}v[b>>2]=e;d=0}return d}function A7(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,y=0,z=0,A=0,B=0,C=0,D=0;e=v[a+584>>2];if(!e){return 0}if(v[e+144>>2]){D=v[e+140>>2];f=v[a+604>>2];i=x[e+64>>1];p=x[e+66>>1];k=x[e+68>>1];g=v[e+76>>2];j=v[e+72>>2];z=v[e+124>>2];l=v[e+136>>2];d=v[e+132>>2];n=x[e+120>>1];h=b;a:{if((n|0)!=65535){break a}h=b;if((c|0)<1){break a}j=j<>g;if((o|0)<16){f=f+1|0}else{g=o-16|0;t[f+1|0]=j>>g;f=f+2|0}d=d+1|0;c=c-1|0;l=i+l|0;n=w[b|0];h=b+1|0}A=h;b:{if((c|0)<1){break b}while(1){s=v[e+144>>2];o=c;c:{while(1){h=n;n=w[A|0];b=d+1|0;c=o-1|0;A=A+1|0;B=h+(n<<12)|0;m=h^n<<5;y=m<<3;q=y+s|0;r=v[q>>2];if((B|0)!=(r|0)){break c}h=(o|0)>1;n=x[(s+y|0)+4>>1];d=b;o=c;if(h){continue}break}break b}d:{if((r|0)>=0){y=m?m-9001|0:-1;while(1){m=m+y|0;m=(m|0)<0?m+9001|0:m;r=m<<3;q=r+s|0;C=v[q>>2];if((C|0)==(B|0)){n=x[(s+r|0)+4>>1];d=b;break d}if((C|0)>-1){continue}break}}if(f>>>0>D>>>0){v[a+608>>2]=f-v[a+596>>2];Xd(a);f=v[a+596>>2]}j=h|j<>g;if((h|0)<16){f=f+1|0}else{g=h-16|0;t[f+1|0]=j>>g;f=f+2|0}v[q>>2]=B;u[q+4>>1]=k;e:{f:{h=k+1|0;if((h|0)==4094){d=v[e+144>>2];b=d+72e3|0;k=8993;while(1){v[b>>2]=-1;v[b-8>>2]=-1;v[b-16>>2]=-1;v[b-24>>2]=-1;v[b-32>>2]=-1;v[b-40>>2]=-1;v[b-48>>2]=-1;v[b-56>>2]=-1;b=b+-64|0;l=k>>>0>7;k=k-8|0;if(l){continue}break}v[d>>2]=-1;d=0;v[e+128>>2]=0;j=j<>g;p=511;k=258;if((b|0)<16){break f}g=b-16|0;t[f+1|0]=j>>g;f=f+2|0;break e}l=i+l|0;g:{h:{if((k|0)>=(p|0)){if((i|0)>=12){break g}i=i+1|0;p=-1<=8388607){d=2147483647;if(l>>>0<256){break i}d=(b|0)/(l>>8)|0;break i}d=(b<<8)/(l|0)|0}if((d|0)<=v[e+128>>2]){d=v[e+144>>2];b=d+72e3|0;k=8993;while(1){v[b>>2]=-1;v[b-8>>2]=-1;v[b-16>>2]=-1;v[b-24>>2]=-1;v[b-32>>2]=-1;v[b-40>>2]=-1;v[b-48>>2]=-1;v[b-56>>2]=-1;b=b+-64|0;l=k>>>0>7;k=k-8|0;if(l){continue}break}v[d>>2]=-1;d=0;v[e+128>>2]=0;j=j<>g;p=511;k=258;if((b|0)<16){break f}g=b-16|0;t[f+1|0]=j>>g;f=f+2|0;break e}v[e+128>>2]=d}d=b;k=h;break d}O(40391,6139,940,88325);L()}f=f+1|0}l=i;i=9}if((o|0)>1){continue}break}}v[e+136>>2]=l;v[e+132>>2]=d;v[e+124>>2]=z;v[e+76>>2]=g;v[e+72>>2]=j;u[e+68>>1]=k;u[e+66>>1]=p;u[e+64>>1]=i;v[e+120>>2]=n;v[a+604>>2]=f;return 1}O(38838,6139,842,88325);L()}function jWa(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;g=v[a+8>>2];if((g&-2)!=2){ob(a,1030,0,0);return 1030}a:{b:{c:{d:{e:{if(!((g|0)!=3|y[a+272>>2]<2)|(w[a+286|0]|w[a+287|0])){break e}if(w[a+288|0]|w[a+289|0]){break e}if((c|0)!=16){ob(a,1028,0,0);return 1028}t[a+289|0]=1;c=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);v[a+316>>2]=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);v[a+320>>2]=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);g=w[d+8|0];t[a+336|0]=g;f=w[d+9|0];t[a+337|0]=f;k=w[d+10|0];t[a+338|0]=k;l=w[d+11|0];t[a+339|0]=l;c=w[d+12|0];t[a+340|0]=c;h=w[d+13|0];t[a+341|0]=h;i=w[d+14|0];t[a+342|0]=i;j=w[d+15|0];t[a+343|0]=j;if(!(1<>>0<=14:0)){ob(a,1037,0,0);return 1037}if(!(1<>>0<=20:0)){break d}if((k|0)!=8){break c}f:{switch(l|0){case 0:case 8:break f;default:break b}}g:{h:{switch(g-12|0){case 0:case 2:if(!(1<>>0<=16:0)){break d}i:{j:{switch(h|0){case 0:break i;case 8:break j;default:break c}}if((c|0)==8){break i}break d}if(i){break a}if(j>>>0<2){break g}break b;default:break h}}if(c){break d}if(h){break c}if(i){break a}if(!j){break g}break b}k:{l:{if(w[a+284|0]){break l}v[a+12>>2]=3;t[a+284|0]=1;f=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);h=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);v[a+16>>2]=h;f=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);v[a+20>>2]=f;m:{switch(g-12|0){default:c=0;break;case 0:case 2:break m}}t[a+44|0]=c;if(!(h>>>0<=y[a+124>>2]&f>>>0<=y[a+128>>2])){c=4097;if(!ob(a,4097,0,0)){break k}}c=v[a+188>>2];if(!c){break l}if(Qa[c|0](a,v[a+16>>2],v[a+20>>2])|0){break l}ob(a,904,0,0);return 904}t[a+325|0]=0;v[a+48>>2]=v[a+48>>2]+1;c=jL(a);if(c){break k}if(w[a+112|0]){c=Qa[v[b+4>>2]](a,b,e)|0;if(c){break k}a=v[e>>2];b=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);v[a+32>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);v[a+36>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);t[a+40|0]=w[d+8|0];t[a+41|0]=w[d+9|0];t[a+42|0]=w[d+10|0];t[a+43|0]=w[d+11|0];t[a+44|0]=w[d+12|0];t[a+45|0]=w[d+13|0];t[a+46|0]=w[d+14|0];t[a+47|0]=w[d+15|0]}c=0}return c|0}ob(a,1029,0,0);return 1029}ob(a,1036,0,0);return 1036}ob(a,1038,0,0);return 1038}ob(a,1040,0,0);return 1040}ob(a,1039,0,0);return 1039}function OU(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{if((d|0)==1){if((c|0)!=4){break a}v[b>>2]=v[b>>2]>>1;return}f=c+d|0;e=(f<<2)+b|0;v[e>>2]=v[e-8>>2];b:{if((d|0)==2){d=c+1|0;h=(d<<2)+b|0;v[e+4>>2]=v[h>>2];v[e+8>>2]=v[(c<<2)+b>>2];v[e+12>>2]=v[h>>2];break b}v[e+4>>2]=v[e-12>>2];if((d|0)==3){e=(f<<2)+b|0;d=c+1|0;v[e+8>>2]=v[(d<<2)+b>>2];v[e+12>>2]=v[((c<<2)+b|0)+8>>2];break b}e=(f<<2)+b|0;v[e+8>>2]=v[e-16>>2];if((d|0)==4){d=c+1|0;v[e+12>>2]=v[(d<<2)+b>>2];break b}v[e+12>>2]=v[e-20>>2];d=c+1|0}e=(c<<2)+b|0;v[e-4>>2]=v[(d<<2)+b>>2];d=e-12|0;i=d,j=D3a(v[e+8>>2],v[e+12>>2],32),v[i>>2]=j;v[d+4>>2]=Pa;if((c|0)==4){v[b>>2]=v[b+32>>2]}if(v[a+36>>2]){c=3;if(f>>>0<3){break a}a=v[b+8>>2];while(1){e=(c<<2)+b|0;d=v[e+4>>2];v[e>>2]=v[e>>2]-((a+d|0)+2>>2);a=d;c=c+2|0;if(f>>>0>=c>>>0){continue}break}if(f>>>0<5){break a}a=f-5|0;c=(a>>>1|0)+1|0;e=c&1;d=4;if(a>>>0>=2){a=c&-2;while(1){c=d<<2;f=c+b|0;h=(c|4)+b|0;v[f>>2]=v[f>>2]+(v[h>>2]+v[f-4>>2]>>1);f=(c|8)+b|0;v[f>>2]=v[f>>2]+(v[(c|12)+b>>2]+v[h>>2]>>1);d=d+4|0;a=a-2|0;if(a){continue}break}}if(!e){break a}c=d<<2;a=c+b|0;v[a>>2]=v[a>>2]+(v[(c|4)+b>>2]+v[a-4>>2]>>1);return}e=f+2|0;if(e){c=1;while(1){d=(c<<2)+b|0;g=+v[d>>2]*1.230174104914001;c:{if(D(g)<2147483648){a=~~g;break c}a=-2147483648}v[d>>2]=a;c=c+2|0;if(e>>>0>=c>>>0){continue}break}}d=f+3|0;c=0;while(1){h=(c<<2)+b|0;g=+v[h>>2]*.8128930661159609;d:{if(D(g)<2147483648){a=~~g;break d}a=-2147483648}v[h>>2]=a;c=c+2|0;if(d>>>0>=c>>>0){continue}break}e:{f:{if(!e){a=-1;break f}a=v[b>>2];c=1;while(1){d=a;h=(c<<2)+b|0;a=v[h+4>>2];g=+v[h>>2]+ +(a+d|0)*-.443506852043971;g:{if(D(g)<2147483648){d=~~g;break g}d=-2147483648}v[h>>2]=d;c=c+2|0;if(e>>>0>=c>>>0){continue}break}a=f+1|0;if(a>>>0<2){break e}}c=2;while(1){e=c<<2;d=e+b|0;g=+v[d>>2]+ +(v[(e|4)+b>>2]+v[d-4>>2]|0)*-.882911075530934;h:{if(D(g)<2147483648){e=~~g;break h}e=-2147483648}v[d>>2]=e;c=c+2|0;if(c>>>0<=a>>>0){continue}break}}c=3;if(f>>>0>=3){a=v[b+8>>2];while(1){d=a;e=(c<<2)+b|0;a=v[e+4>>2];g=+(d+a|0)*.052980118572961+ +v[e>>2];i:{if(D(g)<2147483648){d=~~g;break i}d=-2147483648}v[e>>2]=d;c=c+2|0;if(f>>>0>=c>>>0){continue}break}}c=4;f=f-1|0;if(f>>>0<4){break a}while(1){d=c<<2;a=d+b|0;g=+(v[(d|4)+b>>2]+v[a-4>>2]|0)*1.586134342059924+ +v[a>>2];j:{if(D(g)<2147483648){d=~~g;break j}d=-2147483648}v[a>>2]=d;c=c+2|0;if(f>>>0>=c>>>0){continue}break}}}function sGa(a,b){a=a|0;b=b|0;var 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;j=Ma-16|0;Ma=j;l=v[a+492>>2];h=v[b+8>>2];Qa[v[b+28>>2]](b);d=v[b>>2];a:{if(h>>>0<=d>>>0){v[b+12>>2]=3;break a}b:{k=w[d|0];if(!(k-48>>>0>=10&(k|0)!=91)){f=v[b+16>>2];c:{if((k|0)==91){v[b>>2]=d+1;g=256;break c}e=3;g=Qa[v[b+36>>2]](b)|0;if((g|0)>256){break b}}Qa[v[b+28>>2]](b);if(y[b>>2]>=h>>>0){break a}i=b+92|0;e=v[a+384>>2];d:{if(!e){break d}c=f;if(e){Qa[v[c+8>>2]](c,e)}v[a+384>>2]=0;c=v[a+388>>2];if(c){Qa[v[f+8>>2]](f,c)}v[a+388>>2]=0;c=v[b+140>>2];if(!c){break d}Qa[c|0](i)}v[a+372>>2]=g;v[b+88>>2]=g;n=a,o=yb(f,2,0,g,0,j+12|0),v[n+384>>2]=o;e=v[j+12>>2];if(e){break b}n=a,o=yb(f,4,0,g,0,j+12|0),v[n+388>>2]=o;e=v[j+12>>2];if(e){break b}e=Qa[v[v[l>>2]>>2]](i,g,f)|0;v[j+12>>2]=e;if(e){break b}e:{if((g|0)<1){break e}f=g&3;c=0;if(g-1>>>0>=3){e=g&-4;while(1){Qa[v[b+136>>2]](i,c,273443,8)|0;Qa[v[b+136>>2]](i,c|1,273443,8)|0;Qa[v[b+136>>2]](i,c|2,273443,8)|0;Qa[v[b+136>>2]](i,c|3,273443,8)|0;c=c+4|0;e=e-4|0;if(e){continue}break}}if(!f){break e}while(1){Qa[v[b+136>>2]](i,c,273443,8)|0;c=c+1|0;f=f-1|0;if(f){continue}break}}Qa[v[b+28>>2]](b);c=v[b>>2];f:{if(h>>>0<=c>>>0){break f}e=0;m=(k|0)==91;while(1){g:{h:{i:{f=w[c|0];switch(f-93|0){case 0:break h;case 7:break i;default:break g}}d=c+3|0;if(w[c+1|0]!=101|h>>>0<=d>>>0|w[c+2|0]!=102){break g}switch(w[c+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:break f;default:break g}}d=c+1|0;break f}j:{k:{l:{if(!((k|0)!=91&f-48>>>0>=10)){m:{if(m){d=c;f=e;break m}f=Qa[v[b+36>>2]](b)|0;Qa[v[b+28>>2]](b);d=v[b>>2];if((d|0)==(c|0)){break k}}if(w[d|0]!=47|d+2>>>0>=h>>>0|(e|0)>=(g|0)){break l}d=d+1|0;v[b>>2]=d;Qa[v[b+32>>2]](b);c=v[b>>2];if(v[b+12>>2]|c>>>0>=h>>>0){break a}l=c-d|0;c=Qa[v[b+136>>2]](i,f,d,l+1|0)|0;v[b+12>>2]=c;if(c){break a}t[l+v[v[b+116>>2]+(f<<2)>>2]|0]=0;e=e+1|0;break j}Qa[v[b+32>>2]](b);d=c;if(v[b+12>>2]){break a}break j}if(!m){break j}}v[b+12>>2]=2;break a}Qa[v[b+28>>2]](b);c=v[b>>2];if(h>>>0>c>>>0){continue}break}}v[a+368>>2]=1;v[b>>2]=d;break a}n:{if(d+17>>>0>=h>>>0){break n}if(Kb(d,272610,16)){break n}v[a+368>>2]=2;break a}o:{if(d+15>>>0>=h>>>0){break o}if(Kb(d,272549,14)){break o}v[a+368>>2]=4;break a}p:{if(d+18>>>0>=h>>>0){break p}if(Kb(d,272627,17)){break p}v[a+368>>2]=3;break a}v[b+12>>2]=162;break a}v[b+12>>2]=e}Ma=j+16|0}function CWa(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;f=1029;a:{b:{if(!w[a+285|0]){break b}if(!w[a+114|0]){f=17;break b}if(w[a+286|0]|w[a+287|0]|(w[a+288|0]|w[a+289|0])){break b}f=1028;if(c>>>0<5|(c+2&3?(c|0)!=5:0)){break b}i=1;t[a+305|0]=1;f=w[d+1|0];k=w[d|0];c:{d:{e:{if(!w[a+264|0]){g=w[d+4|0]|(w[d+2|0]<<16|f<<24|w[d+3|0]<<8);if((c|0)!=5){break e}h=2147483647;f=0;break c}g=w[d+2|0]|w[d+3|0]<<8|(w[d+4|0]<<16|w[d+5|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);h=2147483647;if((c|0)!=5){break d}break c}f=w[d+5|0]}h=2147483647;if(c>>>0<10){break c}i=w[d+6|0]|w[d+7|0]<<8|(w[d+8|0]<<16|w[d+9|0]<<24);i=i<<24|i<<8&16711680|(i>>>8&65280|i>>>24);if(c>>>0<14){break c}h=w[d+10|0]|w[d+11|0]<<8|(w[d+12|0]<<16|w[d+13|0]<<24);h=h<<24|h<<8&16711680|(h>>>8&65280|h>>>24)}l=f&255;f:{g:{if(w[a+114|0]){f=Qa[v[a+152>>2]](60)|0;if(!f){break g}v[f+4>>2]=711;v[f>>2]=712;j=v[a+700>>2];h:{if(j){v[j+8>>2]=f;break h}v[a+696>>2]=f}v[f+8>>2]=0;v[f+12>>2]=j;v[a+700>>2]=f;v[f+16>>2]=v[a+436>>2];v[f+20>>2]=v[a+440>>2];v[f+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=f}v[f+48>>2]=0;v[f+44>>2]=h;v[f+40>>2]=i;t[f+36|0]=l;v[f+32>>2]=g;t[f+28|0]=k;v[f+56>>2]=g}f=0;break f}ob(a,1,0,0);f=1}i:{if(f){break i}if(!(g|w[a+460|0])){t[a+460|0]=1}if(!w[a+112|0]){break a}f=Qa[v[b+4>>2]](a,b,e)|0;if(f){break i}b=v[e>>2];t[b+32|0]=w[d|0];f=w[d+1|0];j:{k:{if(!w[a+264|0]){v[b+36>>2]=w[d+4|0]|(w[d+2|0]<<16|f<<24|w[d+3|0]<<8);if((c|0)!=5){break k}break a}t[b+40|0]=f;f=w[d+2|0]|w[d+3|0]<<8|(w[d+4|0]<<16|w[d+5|0]<<24);v[b+36>>2]=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);if(c>>>0>9){break j}break a}t[b+40|0]=w[d+5|0];if(c>>>0>=10){break j}break a}f=w[d+6|0]|w[d+7|0]<<8|(w[d+8|0]<<16|w[d+9|0]<<24);v[b+44>>2]=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);if(c>>>0<14){break a}f=w[d+10|0]|w[d+11|0]<<8|(w[d+12|0]<<16|w[d+13|0]<<24);c=c-14|0;v[b+52>>2]=c>>>2;v[b+48>>2]=f<<8&16711680|f<<24|(f>>>8&65280|f>>>24);if(c>>>0<4){break a}b=Qa[v[a+152>>2]](c&-4)|0;v[v[e>>2]+56>>2]=b;e=v[e>>2];c=v[e+56>>2];if(!c){f=1;break b}f=0;if(!v[e+52>>2]){break i}d=d+14|0;b=0;while(1){a=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);v[c>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);d=d+4|0;c=c+4|0;b=b+1|0;if(b>>>0>2]){continue}break}}return f|0}ob(a,f,0,0);return f|0}return 0}function bn(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;g=Ma+-64|0;Ma=g;a:{while(1){b:{xS(g+56|0,a,d);c:{switch(v[g+56>>2]){case 0:e=t[v[d>>2]];if((e|0)==32|e-9>>>0<5){break a}xS(g+48|0,a,d);h=v[g+52>>2];if(h){v[h+4>>2]=v[h+4>>2]+1}d:{e:{f:{e=v[g+48>>2];if((e|0)==2){switch(v[h+8>>2]-1|0){case 1:break e;case 0:break f;default:break d}}if(e>>>0>1){break d}a=g+24|0;c=Oc(a,348386);ic(g+16|0,c,b);db(c);b=a;a=v[g+16>>2];lb(mb(b,v[(a?a+12|0:1117e3)>>2],241416,548,333484));L()}a=Oc(g+16|0,348324);_m(a,b);a=v[a>>2];lb(mb(g+24|0,v[(a?a+12|0:1117e3)>>2],241416,557,333484));L()}a=Oc(g+16|0,348492);_m(a,b);a=v[a>>2];lb(mb(g+24|0,v[(a?a+12|0:1117e3)>>2],241416,563,333484));L()}v[g+32>>2]=0;v[g+36>>2]=0;v[g+24>>2]=0;v[g+28>>2]=0;i=g+24|0;v[i>>2]=970612;v[i+4>>2]=0;v[i+8>>2]=0;v[i+12>>2]=0;f=g+16|0;uk(f,h);e=v[g+16>>2];bn(a,v[(e?e+12|0:1117e3)>>2],i,d);db(f);e=ab(56);uk(f,h);f=v[g+16>>2];f=v[(f?f+12|0:1117e3)>>2];v[e+8>>2]=4;v[e>>2]=971180;v[e+4>>2]=0;Oc(e+12|0,f);v[e+24>>2]=0;f=v[279250];v[e+36>>2]=f;v[e+32>>2]=0;v[e+28>>2]=f;Lf(e+40|0,i);v[g+8>>2]=0;qb(g+8|0,e);e=ab(12);v[e>>2]=0;v[e+4>>2]=0;v[e+8>>2]=0;j=e;f=v[g+8>>2];if(f){v[f+4>>2]=v[f+4>>2]+1;f=v[g+8>>2]}else{f=0}v[j+8>>2]=f;de(c,e);e=v[g+8>>2];v[g+8>>2]=0;g:{if(!e){break g}f=v[e+4>>2]-1|0;v[e+4>>2]=f;if(f){break g}f=v[e+4>>2];if(!f){v[e+4>>2]=-32767}if(!f){Qa[v[v[e>>2]+4>>2]](e)}}db(g+16|0);ac(i);h:{if(!h){break h}e=v[h+4>>2]-1|0;v[h+4>>2]=e;if(!e){e=v[h+4>>2];if(!e){v[h+4>>2]=-32767}if(!e){Qa[v[v[h>>2]+4>>2]](h)}}e=v[h+4>>2]-1|0;v[h+4>>2]=e;if(e){break h}e=v[h+4>>2];if(!e){v[h+4>>2]=-32767}if(!e){Qa[v[v[h>>2]+4>>2]](h)}}e=v[g+60>>2];if(!e){continue}f=v[e+4>>2]-1|0;v[e+4>>2]=f;if(f){continue}f=v[e+4>>2];if(!f){v[e+4>>2]=-32767}if(!f){Qa[v[v[e>>2]+4>>2]](e)}continue;case 1:break b;default:break c}}f=ab(12);v[f>>2]=0;v[f+4>>2]=0;v[f+8>>2]=0;e=v[g+60>>2];if(!e){v[f+8>>2]=e;de(c,f);continue}v[e+4>>2]=v[e+4>>2]+1;v[f+8>>2]=e;de(c,f);f=v[e+4>>2]-1|0;v[e+4>>2]=f;if(f){continue}f=v[e+4>>2];if(!f){v[e+4>>2]=-32767}if(!f){Qa[v[v[e>>2]+4>>2]](e)}continue}break}a=v[g+60>>2];i:{if(!a){break i}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break i}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=g- -64|0;return}a=g+24|0;c=Oc(a,348406);ic(g+48|0,c,b);db(c);b=a;a=v[g+48>>2];lb(mb(b,v[(a?a+12|0:1117e3)>>2],241416,536,333484));L()}function Ws(a,b,c,d,e,f,g,h,i,j,k){var l=0,m=0,n=0,o=0,p=0,q=0,r=0;o=Ma-16|0;Ma=o;t[a+67|0]=0;a:{if(b){m=Ma-48|0;Ma=m;v[m+12>>2]=0;n=v[d>>2];n=jI(b,c,0,0,n,e-n>>1,m+12|0,t[a+35|0],j);b:{if((n|0)>=2){j=v[m+12>>2];if((j&520093696)==16777216&w[v[a+24>>2]+200|0]==219){break b}v[d>>2]=(v[d>>2]+(n<<1)|0)-4;l=j>>>24&31;c:{if(l>>>0<=3){e=m+16|1;d=e;b=e;d:{switch(l-1|0){case 2:t[m+17|0]=j>>>16;d=m+16|2;case 1:t[d|0]=j>>>8;b=d+1|0;break;case 0:break d;default:break c}}t[b|0]=j;break c}e=(v[b+32>>2]+b|0)+(j&16777215)|0}b=v[a+52>>2];e:{if(!b){break e}d=2;f:{if(!((l|0)!=1|(b|0)<2)){b=15;d=1;break f}if((b|0)!=1){break e}b=14;if(l>>>0<2){break e}}v[a+52>>2]=d;t[m+16|0]=b;b=m+16|1;if((b|0)!=(e|0)){cb(b,e,l)}l=l+1|0;e=m+16|0}zh(a,e,l,f,g,h,i,k);l=1;break b}if((n|0)<=-1){v[a+180>>2]=c;e=v[d>>2];g:{if((n|0)>-3){break g}j=-2-n|0;b=j&3;if(-3-n>>>0>=3){j=j&-4;p=a+184|0;while(1){q=l<<1;u[q+p>>1]=x[e>>1];u[(q|2)+p>>1]=x[e+2>>1];u[(q|4)+p>>1]=x[e+4>>1];u[(q|6)+p>>1]=x[e+6>>1];l=l+4|0;e=e+8|0;j=j-4|0;if(j){continue}break}}if(!b){break g}while(1){u[((l<<1)+a|0)+184>>1]=x[e>>1];l=l+1|0;e=e+2|0;b=b-1|0;if(b){continue}break}}v[d>>2]=e;t[a+253|0]=-2-n;l=1;break b}if((n|0)!=1){break b}t[a+67|0]=1}Ma=m+48|0;if(l){break a}}h:{i:{if(!(w[a+29|0]&128)){break i}if(c>>>0>=65536){if(c>>>0>1114111){break i}b=-65536;d=837152;break h}j:{if(c>>>0>=40870){if(c>>>0>55295){break j}b=-40870;d=837168;break h}if(c>>>0<1106){break i}if(c>>>0<7743){b=-1106;d=837184;break h}if((c|0)==7743){break i}if(c>>>0>=8208){break j}b=-7744;d=837200;break h}b=-59493;d=837216;if(c-59493>>>0<4295){break h}if(c>>>0<9795){break i}if(c>>>0<11905){b=-9795;d=837232;break h}b=-64042;d=837248;if(c-64042>>>0<1030){break h}b=-15585;d=837264;if(c-15585>>>0<885){break h}if(c>>>0<13851){break i}if(c>>>0<14616){b=-13851;d=837280;break h}b=-18872;d=837296;if(c-18872>>>0<703){break h}if(c>>>0<16736){break i}if(c>>>0<17207){b=-16736;d=837312;break h}b=-18318;d=837328;if(c-18318>>>0<441){break h}if(c>>>0<17623){break i}if(c>>>0<17996){b=-17623;d=837344;break h}b=-65510;d=837360;if(c-65510>>>0<=25){break h}}v[k>>2]=10;r=c;break a}b=(v[d+8>>2]+(b+c|0)|0)-1687218|0;t[o+12|0]=((b>>>0)/12600|0)-127;t[o+13|0]=((b>>>0)/1260>>>0)%10|48;c=(b>>>0)/10|0;t[o+14|0]=((c>>>0)%126|0)-127;t[o+15|0]=b-B(c,10)|48;zh(a,o+12|0,4,f,g,h,i,k)}Ma=o+16|0;return r}function Owa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;l=v[a+372>>2];c=v[a+420>>2];e=v[a+24>>2];v[c+112>>2]=v[e>>2];v[c+116>>2]=v[e+4>>2];if(!(v[c+36>>2]|!v[a+236>>2])){Bz(c,v[c+40>>2])}if(v[a+316>>2]>=1){while(1){e=k<<2;d=v[(e+a|0)+320>>2]<<2;h=v[(d+a|0)+292>>2];d=c+d|0;f=v[d+20>>2];e=u[v[b+e>>2]>>1]>>l;v[d+20>>2]=e;d=e-f|0;f=d>>31;i=d+f|0;e=0;a:{if(!d){break a}g=f^i;while(1){d=e;e=d+1|0;f=g>>>0>1;g=g>>>1|0;if(f){continue}break}if(d>>>0<11){break a}d=v[a>>2];v[d+20>>2]=6;Qa[v[d>>2]](a)}d=v[h+20>>2];b:{if(v[c+108>>2]){d=v[((d<<2)+c|0)+76>>2]+(e<<2)|0;v[d>>2]=v[d>>2]+1;break b}d=v[((d<<2)+c|0)+44>>2];f=v[d+(e<<2)>>2];g=v[c+16>>2];d=t[(d+e|0)+1024|0];if(!d){h=v[c+120>>2];j=v[h>>2];v[j+20>>2]=41;Qa[v[j>>2]](h);if(v[c+108>>2]){break b}}f=f&(-1<>2]|f<<24-d;if((d|0)>=8){while(1){f=v[c+112>>2];v[c+112>>2]=f+1;t[f|0]=g>>>16;f=v[c+116>>2]-1|0;v[c+116>>2]=f;if(!f){h=v[c+120>>2];f=v[h+24>>2];if(!(Qa[v[f+12>>2]](h)|0)){h=v[c+120>>2];j=v[h>>2];v[j+20>>2]=25;Qa[v[j>>2]](h)}v[c+112>>2]=v[f>>2];v[c+116>>2]=v[f+4>>2]}f=d;c:{if((g&16711680)!=16711680){break c}d=v[c+112>>2];v[c+112>>2]=d+1;t[d|0]=0;d=v[c+116>>2]-1|0;v[c+116>>2]=d;if(d){break c}h=v[c+120>>2];d=v[h+24>>2];if(!(Qa[v[d+12>>2]](h)|0)){h=v[c+120>>2];j=v[h>>2];v[j+20>>2]=25;Qa[v[j>>2]](h)}v[c+112>>2]=v[d>>2];v[c+116>>2]=v[d+4>>2]}d=f-8|0;g=g<<8;if((f|0)>15){continue}break}}v[c+16>>2]=d;v[c+12>>2]=g}if(!(v[c+108>>2]|!e)){d=i&(-1<>2]+e|0;g=v[c+12>>2]|d<<24-e;if((e|0)>=8){while(1){d=v[c+112>>2];v[c+112>>2]=d+1;t[d|0]=g>>>16;d=v[c+116>>2]-1|0;v[c+116>>2]=d;if(!d){f=v[c+120>>2];d=v[f+24>>2];if(!(Qa[v[d+12>>2]](f)|0)){f=v[c+120>>2];i=v[f>>2];v[i+20>>2]=25;Qa[v[i>>2]](f)}v[c+112>>2]=v[d>>2];v[c+116>>2]=v[d+4>>2]}d=e;d:{if((g&16711680)!=16711680){break d}e=v[c+112>>2];v[c+112>>2]=e+1;t[e|0]=0;e=v[c+116>>2]-1|0;v[c+116>>2]=e;if(e){break d}f=v[c+120>>2];e=v[f+24>>2];if(!(Qa[v[e+12>>2]](f)|0)){f=v[c+120>>2];i=v[f>>2];v[i+20>>2]=25;Qa[v[i>>2]](f)}v[c+112>>2]=v[e>>2];v[c+116>>2]=v[e+4>>2]}e=d-8|0;g=g<<8;if((d|0)>15){continue}break}}v[c+16>>2]=e;v[c+12>>2]=g}k=k+1|0;if((k|0)>2]){continue}break}}b=v[a+24>>2];v[b>>2]=v[c+112>>2];v[b+4>>2]=v[c+116>>2];a=v[a+236>>2];if(a){b=c;e=v[c+36>>2];if(e){a=e}else{v[c+36>>2]=a;v[c+40>>2]=v[c+40>>2]+1&7}v[b+36>>2]=a-1}return 1}function vua(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,p=0,q=0,r=0,s=0,t=0,u=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;G=Ma-224|0;Ma=G;e=a;while(1){a:{d=v[(r<<2)+b>>2]+c|0;f=w[d+10|0];t=e;x=w[d+12|0];H=w[d+2|0];I=x+H|0;J=w[d+7|0];u=I+J|0;j=w[d+9|0];h=w[d+5|0];l=j+h|0;g=w[d+4|0];m=g+f|0;i=w[d+14|0];k=w[d|0];n=i+k|0;s=l+(m+n|0)|0;y=w[d+8|0];z=w[d+6|0];o=y+z|0;A=w[d+11|0];C=w[d+3|0];p=A+C|0;D=w[d+13|0];E=w[d+1|0];q=D+E|0;F=o+(p+q|0)|0;v[e>>2]=(u+(s+F|0)|0)-1920;d=k-i|0;g=g-f|0;f=h-j|0;i=E-D|0;j=C-A|0;h=z-y|0;v[e+12>>2]=(B(d-(g+f|0)|0,11018)+B(i-(j+h|0)|0,6810)|0)+4096>>13;k=u<<1;v[e+24>>2]=(B(s-k|0,9373)+B(F-k|0,-3580)|0)+4096>>13;k=H-x|0;s=B(k,10033);u=((B(d,-2912)+B(i,-17828)|0)-s|0)+B(f,-7121)|0;i=(B(f+j|0,4712)+B(g+i|0,11018)|0)+B(d-h|0,11522)|0;v[e+28>>2]=(u+i|0)+4096>>13;v[e+20>>2]=B(h+(f+(d-(j+k|0)|0)|0)|0,10033)+4096>>13;v[e+4>>2]=(i+(((s+B(j,3897)|0)+B(g,-4209)|0)+B(h,13930)|0)|0)+4096>>13;f=((B(q-m|0,6476)+B(n-p|0,11332)|0)+B(o-l|0,7752)|0)+4096|0;d=(I+(m+q>>>1|0)|0)-(J<<1)|0;v[e+16>>2]=(f+B(l-d|0,6541)|0)+B(n-d|0,-748)>>13;v[e+8>>2]=(f+B(p-d|0,12543)|0)+B(o-d|0,-18336)>>13;f=r-7|0;d=7;r=r+1|0;e=G;b:{switch(f|0){case 0:continue;case 7:break a;default:break b}}e=t+32|0;continue}break}while(1){f=v[e+128>>2];m=v[a>>2];n=v[e+192>>2];b=m-n|0;l=v[a+128>>2];p=v[e+64>>2];j=l-p|0;q=v[a+160>>2];o=v[e+32>>2];c=q-o|0;g=v[a+32>>2];i=v[e+160>>2];h=g-i|0;k=v[a+96>>2];s=v[e+96>>2];t=k-s|0;A=v[a+192>>2];C=v[e>>2];r=A-C|0;v[a+96>>2]=(B(b-(j+c|0)|0,12536)+B(h-(t+r|0)|0,7748)|0)+16384>>15;l=l+p|0;m=m+n|0;n=q+o|0;D=(l+m|0)+n|0;E=v[a+224>>2];y=v[a+64>>2];z=y+f|0;F=E+z|0;x=F<<1;o=A+C|0;p=k+s|0;q=g+i|0;g=o+(p+q|0)|0;v[a+192>>2]=(B(D-x|0,10664)+B(g-x|0,-4073)|0)+16384>>15;v[a>>2]=B(F+(g+D|0)|0,9321)+16384>>15;f=y-f|0;g=B(f,11415);u=((B(b,-3314)+B(h,-20284)|0)-g|0)+B(c,-8102)|0;h=(B(c+t|0,5361)+B(h+j|0,12536)|0)+B(b-r|0,13109)|0;v[a+224>>2]=(u+h|0)+16384>>15;v[a+160>>2]=B(r+(c+(b-(f+t|0)|0)|0)|0,11415)+16384>>15;v[a+32>>2]=(h+(((g+B(t,4434)|0)+B(j,-4788)|0)+B(r,15850)|0)|0)+16384>>15;c=((B(q-l|0,7369)+B(m-p|0,12893)|0)+B(o-n|0,8820)|0)+16384|0;b=(z+(l+q>>1)|0)-(E<<1)|0;v[a+128>>2]=(c+B(n-b|0,7442)|0)+B(m-b|0,-852)>>15;v[a+64>>2]=(c+B(p-b|0,14271)|0)+B(o-b|0,-20862)>>15;b=d;d=d-1|0;e=e+4|0;a=a+4|0;if(b){continue}break}Ma=G+224|0}function xma(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=Ma-48|0;Ma=e;$p(e+32|0,c);v[a+8>>2]=0;v[a>>2]=0;v[a+4>>2]=0;c=v[b+4>>2];b=v[c+8>>2];l=v[c+12>>2];a:{if((b|0)==(l|0)){break a}if(d){while(1){d=w[b+11|0];c=d<<24>>24<0;g=c?v[b+4>>2]:d;h=c?v[b>>2]:b;d=w[e+43|0];c=d<<24>>24<0;f=c?v[e+36>>2]:d;b:{if(f){if((f|0)>(g|0)){break b}i=g+h|0;j=c?v[e+32>>2]:e+32|0;m=w[j|0];d=g;c=h;while(1){k=d-f|0;d=k+1|0;if(d>>>0>>0){break b}c=ag(c,m,d);if(!c){break b}if(Jb(c,j,f)){c=c+1|0;d=i-c|0;if((f|0)<=(d|0)){continue}break b}break}if((c|0)==(i|0)|(c|0)!=(h|0)){break b}}Zg(e,h,g);eD(e,t[e+11|0]<0?v[e>>2]:e,47);v[e+24>>2]=v[e+8>>2];v[e+8>>2]=0;c=v[e+4>>2];v[e+16>>2]=v[e>>2];v[e+20>>2]=c;v[e>>2]=0;v[e+4>>2]=0;c=v[a+4>>2];c:{if(c>>>0>2]){d=v[e+20>>2];v[c>>2]=v[e+16>>2];v[c+4>>2]=d;v[c+8>>2]=v[e+24>>2];v[e+24>>2]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[a+4>>2]=c+12;break c}Kg(a,e+16|0);if(t[e+27|0]>-1){break c}$a(v[e+16>>2])}if(t[e+11|0]>-1){break b}$a(v[e>>2])}b=b+20|0;if((l|0)!=(b|0)){continue}break a}}while(1){d=w[b+11|0];c=d<<24>>24<0;h=c?v[b+4>>2]:d;g=c?v[b>>2]:b;d=w[e+43|0];c=d<<24>>24<0;f=c?v[e+36>>2]:d;d:{e:{if(f){if((f|0)>(h|0)){break d}i=g+h|0;j=c?v[e+32>>2]:e+32|0;m=w[j|0];d=h;c=g;while(1){k=d-f|0;d=k+1|0;if(d>>>0>>0){break d}c=ag(c,m,d);if(!c){break d}if(Jb(c,j,f)){c=c+1|0;d=i-c|0;if((f|0)<=(d|0)){continue}break d}break}if((c|0)==(i|0)|(c|0)!=(g|0)){break d}if(f>>>0>>0){break e}break d}if(!h){break d}}d=g+h|0;c=f+g|0;while(1){f:{f=w[c|0];if(!((f|0)!=92&(f|0)!=47)){if((c|0)==(d|0)){break d}c=c-g|0;if((c|0)==-1){break d}c=c+1|0;if(c>>>0>=h>>>0){break f}c=c+g|0;while(1){f=w[c|0];if(!((f|0)!=92&(f|0)!=47)){if((c|0)==(d|0)){break f}if((c-g|0)!=-1){break d}break f}c=c+1|0;if((d|0)!=(c|0)){continue}break}break f}c=c+1|0;if((d|0)!=(c|0)){continue}break d}break}Zg(e,g,h);eD(e,t[e+11|0]<0?v[e>>2]:e,47);v[e+24>>2]=v[e+8>>2];v[e+8>>2]=0;c=v[e+4>>2];v[e+16>>2]=v[e>>2];v[e+20>>2]=c;v[e>>2]=0;v[e+4>>2]=0;c=v[a+4>>2];g:{if(c>>>0>2]){d=v[e+20>>2];v[c>>2]=v[e+16>>2];v[c+4>>2]=d;v[c+8>>2]=v[e+24>>2];v[e+24>>2]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[a+4>>2]=c+12;break g}Kg(a,e+16|0);if(t[e+27|0]>-1){break g}$a(v[e+16>>2])}if(t[e+11|0]>-1){break d}$a(v[e>>2])}b=b+20|0;if((l|0)!=(b|0)){continue}break}}if(t[e+43|0]<=-1){$a(v[e+32>>2])}Ma=e+48|0}function ro(a,b,c,d){var e=0,f=0,g=0;if(!(!a|!b)){f=v[b+56>>2];a:{if(!f|!(v[b+184>>2]&c&16384)){break a}if((d|0)==-1){e=1;g=a;if(v[b+48>>2]>=1){Tb(a,v[f+4>>2]);if(v[b+48>>2]>1){while(1){Tb(a,v[(v[b+56>>2]+B(e,28)|0)+4>>2]);e=e+1|0;if((e|0)>2]){continue}break}}f=v[b+56>>2]}Tb(g,f);v[b+48>>2]=0;v[b+56>>2]=0;break a}e=B(d,28);Tb(a,v[(e+f|0)+4>>2]);v[(e+v[b+56>>2]|0)+4>>2]=0}e=v[b+184>>2];if(e&c&8192){v[b+8>>2]=v[b+8>>2]&-17;Tb(a,v[b+76>>2]);u[b+22>>1]=0;v[b+76>>2]=0;e=v[b+184>>2]}if(c&e&256){Tb(a,v[b+224>>2]);Tb(a,v[b+228>>2]);v[b+224>>2]=0;v[b+228>>2]=0;v[b+8>>2]=v[b+8>>2]&-16385;e=v[b+184>>2]}if(c&e&128){Tb(a,v[b+160>>2]);Tb(a,v[b+172>>2]);v[b+172>>2]=0;v[b+160>>2]=0;e=v[b+176>>2];if(e){f=a;if(w[b+181|0]){Tb(a,v[e>>2]);if(w[b+181|0]>=2){e=1;while(1){Tb(a,v[v[b+176>>2]+(e<<2)>>2]);e=e+1|0;if(e>>>0>2]}Tb(f,e);v[b+176>>2]=0}v[b+8>>2]=v[b+8>>2]&-1025;e=v[b+184>>2]}if(c&e&16){Tb(a,v[b+196>>2]);Tb(a,v[b+200>>2]);v[b+196>>2]=0;v[b+200>>2]=0;v[b+8>>2]=v[b+8>>2]&-4097}f=v[b+212>>2];b:{if(!f|!(v[b+184>>2]&c&32)){break b}if((d|0)==-1){e=1;g=a;if(v[b+216>>2]>=1){Tb(a,v[f>>2]);Tb(a,v[v[b+212>>2]+8>>2]);if(v[b+216>>2]>1){while(1){f=e<<4;Tb(a,v[f+v[b+212>>2]>>2]);Tb(a,v[(f+v[b+212>>2]|0)+8>>2]);e=e+1|0;if((e|0)>2]){continue}break}}f=v[b+212>>2]}Tb(g,f);v[b+212>>2]=0;v[b+216>>2]=0;v[b+8>>2]=v[b+8>>2]&-8193;break b}e=d<<4;Tb(a,v[e+f>>2]);Tb(a,v[(e+v[b+212>>2]|0)+8>>2]);e=e+v[b+212>>2]|0;v[e+8>>2]=0;v[e>>2]=0}f=v[b+188>>2];c:{if(!f|!(v[b+184>>2]&c&512)){break c}if((d|0)==-1){e=1;g=a;if(v[b+192>>2]>=1){Tb(a,v[f+8>>2]);if(v[b+192>>2]>1){while(1){Tb(a,v[(v[b+188>>2]+B(e,20)|0)+8>>2]);e=e+1|0;if((e|0)>2]){continue}break}}f=v[b+188>>2]}Tb(g,f);v[b+188>>2]=0;v[b+192>>2]=0;break c}e=B(d,20);Tb(a,v[(e+f|0)+8>>2]);v[(e+v[b+188>>2]|0)+8>>2]=0}e=v[b+184>>2];if(e&c&8){Tb(a,v[b+124>>2]);v[b+124>>2]=0;v[b+8>>2]=v[b+8>>2]&-65;e=v[b+184>>2]}if(c&e&4096){Tb(a,v[b+16>>2]);v[b+16>>2]=0;u[b+20>>1]=0;v[b+8>>2]=v[b+8>>2]&-9;e=v[b+184>>2]}if(c&e&64){f=v[b+232>>2];if(f){g=a;if(v[b+4>>2]){Tb(a,v[f>>2]);if(y[b+4>>2]>=2){e=1;while(1){Tb(a,v[v[b+232>>2]+(e<<2)>>2]);e=e+1|0;if(e>>>0>2]){continue}break}}f=v[b+232>>2]}Tb(g,f);v[b+232>>2]=0;e=v[b+184>>2]}v[b+8>>2]=v[b+8>>2]&-32769}v[b+184>>2]=(((d|0)==-1?c:c&-16929)^-1)&e}}function xWa(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,n=0;a:{b:{if(w[a+286|0]|!w[a+285|0]|(w[a+287|0]|w[a+288|0])){break b}if(w[a+289|0]){break b}c:{if(c>>>0>=41){c=c-11|0;g=(c>>>0)/30|0;if((B(g,30)|0)==(c|0)){break c}}ob(a,1028,0,0);return 1028}c=w[d+7|0]|w[d+8|0]<<8|(w[d+9|0]<<16|w[d+10|0]<<24);h=w[d+3|0]|w[d+4|0]<<8|(w[d+5|0]<<16|w[d+6|0]<<24);f=w[d|0]|w[d+1|0]<<8;l=w[d+2|0];j=B(g,36);i=Qa[v[a+152>>2]](j)|0;if(!i){break a}m=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);h=h<<8&16711680|h<<24|(h>>>8&65280|h>>>24);n=f<<8|f>>>8;c=d+11|0;d=i;while(1){f=w[c|0]|w[c+1|0]<<8;u[d>>1]=f<<8|f>>>8;t[d+2|0]=w[c+2|0];t[d+3|0]=w[c+3|0];t[d+4|0]=w[c+4|0];f=w[c+5|0]|w[c+6|0]<<8|(w[c+7|0]<<16|w[c+8|0]<<24);v[d+8>>2]=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=w[c+9|0]|w[c+10|0]<<8|(w[c+11|0]<<16|w[c+12|0]<<24);v[d+12>>2]=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);t[d+16|0]=w[c+13|0];f=w[c+14|0]|w[c+15|0]<<8|(w[c+16|0]<<16|w[c+17|0]<<24);v[d+20>>2]=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=w[c+18|0]|w[c+19|0]<<8|(w[c+20|0]<<16|w[c+21|0]<<24);v[d+24>>2]=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=w[c+22|0]|w[c+23|0]<<8|(w[c+24|0]<<16|w[c+25|0]<<24);v[d+28>>2]=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=w[c+26|0]|w[c+27|0]<<8|(w[c+28|0]<<16|w[c+29|0]<<24);v[d+32>>2]=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);c=c+30|0;d=d+36|0;k=k+1|0;if((k|0)!=(g|0)){continue}break}d=n&65535;d:{e:{f:{if(!w[a+114|0]){break f}c=Qa[v[a+152>>2]](48)|0;if(!c){break e}v[c+4>>2]=749;v[c>>2]=750;f=v[a+700>>2];g:{if(f){v[f+8>>2]=c;break g}v[a+696>>2]=c}v[c+8>>2]=0;v[c+12>>2]=f;v[a+700>>2]=c;v[c+16>>2]=v[a+436>>2];v[c+20>>2]=v[a+440>>2];v[c+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=c}v[c+40>>2]=g;v[c+36>>2]=m;v[c+32>>2]=h;t[c+30|0]=l;u[c+28>>1]=d;if(!g){break f}k=c;f=B(g,36);c=Qa[v[a+152>>2]](f)|0;v[k+44>>2]=c;if(!c){break e}cb(c,i,f)}c=X3(a,d,l,h,m,g,i);break d}ob(a,1,0,0);c=1}if(c){Qa[v[a+156>>2]](i,j);return c|0}if(w[a+112|0]){b=Qa[v[b+4>>2]](a,b,e)|0;if(b){Qa[v[a+156>>2]](i,j);return b|0}b=v[e>>2];v[b+44>>2]=g;v[b+40>>2]=m;v[b+36>>2]=h;t[b+34|0]=l;u[b+32>>1]=n;b=Qa[v[a+152>>2]](j)|0;v[v[e>>2]+48>>2]=b;b=v[v[e>>2]+48>>2];if(!b){break a}cb(b,i,j)}Qa[v[a+156>>2]](i,j);return 0}ob(a,1029,0,0);return 1029}ob(a,1,0,0);return 1}function IEa(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,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,z=0,A=0,C=0,D=0;C=Ma-352|0;Ma=C;z=v[a+332>>2];a=v[b+84>>2];b=C;while(1){q=v[a+224>>2];r=u[c+112>>1];g=v[a+96>>2];j=u[c+48>>1];n=v[a+160>>2];o=u[c+80>>1];k=v[a+32>>2];s=u[c+16>>1];f=B(u[c>>1],v[a>>2])<<13|1024;l=B(v[a+192>>2],u[c+96>>1]);m=B(v[a+64>>2],u[c+32>>1]);p=l+m|0;h=B(v[a+128>>2],u[c+64>>1]);x=p-h|0;v[b+160>>2]=f+B(x,-11585)>>11;g=B(g,j);k=B(k,s);i=g+k|0;s=B(i,7274);j=B(n,o);n=B(j+k|0,5492);q=B(q,r);r=B(q+(j+i|0)|0,3264);o=f+B(x,11116)|0;x=o+B(h-l|0,20862)|0;f=x+B(l,17333)|0;i=n+(s+B(k,-7562)|0)|0;k=r+B(k+q|0,3e3)|0;i=i+k|0;v[b+320>>2]=f-i>>11;v[b>>2]=f+i>>11;f=B(l,-6461);l=o+B(p,-9467)|0;p=f+l|0;f=n+B(j,-9766)|0;n=r+B(g+j|0,-9527)|0;f=f+n|0;v[b+256>>2]=p-f>>11;v[b+64>>2]=p+f>>11;f=o;o=B(h-m|0,3529);p=(f+o|0)+B(m,-12399)|0;f=k;k=B(g+q|0,-14731);f=f+(k+B(q,17223)|0)|0;v[b+224>>2]=p-f>>11;v[b+96>>2]=p+f>>11;l=l+(B(h,15929)+B(m,-11395)|0)|0;j=r+((B(j,8203)+B(g,-12019)|0)+B(q,-13802)|0)|0;v[b+192>>2]=l-j>>11;v[b+128>>2]=j+l>>11;h=o+(x+B(h,-14924)|0)|0;g=n+(k+(s+B(g,16984)|0)|0)|0;v[b+288>>2]=h-g>>11;v[b+32>>2]=g+h>>11;b=b+4|0;a=a+4|0;c=c+2|0;y=y+1|0;if((y|0)!=8){continue}break}b=z+128|0;l=0;a=C;while(1){h=v[a+12>>2];m=v[a+4>>2];c=h+m|0;o=B(c,7274);g=v[a+20>>2];z=B(g+m|0,5492);j=v[a+28>>2];k=B(j+(c+g|0)|0,3264);f=(v[a>>2]<<13)+131072|0;r=v[a+24>>2];s=v[a+8>>2];p=r+s|0;q=v[a+16>>2];x=p-q|0;n=f+B(x,11116)|0;c=v[(l<<2)+d>>2]+e|0;i=z+(o+B(m,-7562)|0)|0;m=k+B(j+m|0,3e3)|0;i=i+m|0;y=n+B(q-r|0,20862)|0;A=y+B(r,17333)|0;t[c|0]=w[b+(i+A>>>18&1023)|0];t[c+10|0]=w[b+(A-i>>>18&1023)|0];i=k+B(g+h|0,-9527)|0;A=o+B(h,16984)|0;o=B(j+h|0,-14731);A=i+(A+o|0)|0;D=B(q-s|0,3529);y=D+(y+B(q,-14924)|0)|0;t[c+1|0]=w[b+(A+y>>>18&1023)|0];t[c+9|0]=w[b+(y-A>>>18&1023)|0];z=i+(z+B(g,-9766)|0)|0;i=B(r,-6461);r=n+B(p,-9467)|0;p=i+r|0;t[c+2|0]=w[b+(z+p>>>18&1023)|0];t[c+8|0]=w[b+(p-z>>>18&1023)|0];m=m+(o+B(j,17223)|0)|0;n=(n+D|0)+B(s,-12399)|0;t[c+3|0]=w[b+(m+n>>>18&1023)|0];t[c+7|0]=w[b+(n-m>>>18&1023)|0];h=k+((B(g,8203)+B(h,-12019)|0)+B(j,-13802)|0)|0;g=r+(B(q,15929)+B(s,-11395)|0)|0;t[c+4|0]=w[b+(h+g>>>18&1023)|0];t[c+6|0]=w[b+(g-h>>>18&1023)|0];t[c+5|0]=w[b+(f+B(x,-11585)>>>18&1023)|0];a=a+32|0;l=l+1|0;if((l|0)!=11){continue}break}Ma=C+352|0}function oU(a,b,c){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,p=0,q=0,r=0,s=0,u=0,y=0,z=0;while(1){d=k<<2;e=d+958240|0;f=(k<<1)+a|0;d=b+d|0;g=v[d+4>>2];a:{b:{i=v[d+8>>2];if(g|i){break b}i=0;if(v[d+12>>2]|v[d+16>>2]|(v[d+20>>2]|v[d+24>>2])){break b}if(v[d+28>>2]){break b}e=B(v[e>>2],B(v[d>>2],x[f>>1]));e=k?e:e+4096|0;v[d+28>>2]=e;v[d+24>>2]=e;v[d+20>>2]=e;v[d+16>>2]=e;v[d+12>>2]=e;v[d+8>>2]=e;v[d+4>>2]=e;v[d>>2]=e;break a}i=B(v[e+8>>2],B(x[f+4>>1],i));l=(i>>5)+i|0;j=l>>2;h=B(v[e+24>>2],B(v[d+24>>2],x[f+12>>1]));r=(h>>5)+h|0;m=r>>2;h=m+((l-j|0)+(h>>4)|0)|0;l=B(v[e+16>>2],B(v[d+16>>2],x[f+8>>1]));n=B(v[e>>2],B(v[d>>2],x[f>>1]));n=k?n:n+4096|0;s=l+n|0;o=h+s|0;p=B(v[e+4>>2],B(g,x[f+2>>1]));q=B(v[e+28>>2],B(v[d+28>>2],x[f+14>>1]));u=p-q|0;y=B(v[e+20>>2],B(v[d+20>>2],x[f+10>>1]));g=u+y|0;z=B(v[e+12>>2],B(v[d+12>>2],x[f+6>>1]));p=p+q|0;e=z+p|0;f=(e>>9)-e|0;f=(g>>1)+((f>>2)-f|0)|0;v[d+28>>2]=o-f;v[d>>2]=f+o;f=s-h|0;g=(g>>9)-g|0;e=(g>>2)-(g+(e>>1)|0)|0;v[d+16>>2]=f-e;v[d+12>>2]=e+f;e=u-y|0;f=(e>>3)-(e>>7)|0;j=j+(i>>4)+(m-r)|0;h=n-l|0;m=j+h|0;g=p-z|0;i=(g>>3)-(g>>7)|0;l=(i-(g>>11)>>1)+i+(e-f)|0;v[d+24>>2]=m-l;v[d+4>>2]=m+l;j=h-j|0;e=g-((f+i|0)+(f-(e>>11)>>1)|0)|0;v[d+20>>2]=j-e;v[d+8>>2]=e+j}d=k>>>0<56;k=k+8|0;if(d){continue}break}k=0;while(1){d=(k<<2)+b|0;e=v[d+32>>2];c:{d:{a=v[d+64>>2];if(e|a){break d}a=0;if(v[d+96>>2]|v[d+128>>2]|(v[d+160>>2]|v[d+192>>2])){break d}if(v[d+224>>2]){break d}a=v[d>>2];v[d+224>>2]=a;v[d+192>>2]=a;v[d+160>>2]=a;v[d+128>>2]=a;v[d+96>>2]=a;v[d+64>>2]=a;v[d+32>>2]=a;break c}f=v[d+192>>2];j=(f>>5)+f|0;g=j>>2;h=(a>>5)+a|0;i=h>>2;m=v[d+128>>2];l=v[d>>2];r=m+l|0;h=g+(f>>4)+(h-i)|0;n=r-h|0;s=v[d+160>>2];o=v[d+224>>2];p=e-o|0;f=s+p|0;q=(f>>9)-f|0;o=e+o|0;u=v[d+96>>2];e=o+u|0;q=(q>>2)-(q+(e>>1)|0)|0;v[d+128>>2]=n-q;v[d+96>>2]=n+q;h=h+r|0;e=(e>>9)-e|0;e=((e>>2)-e|0)+(f>>1)|0;v[d+224>>2]=h-e;v[d>>2]=e+h;e=p-s|0;f=(e>>3)-(e>>7)|0;i=i+(a>>4)+(g-j)|0;j=l-m|0;h=i+j|0;a=o-u|0;g=(a>>3)-(a>>7)|0;m=(g-(a>>11)>>1)+g+(e-f)|0;v[d+192>>2]=h-m;v[d+32>>2]=h+m;i=j-i|0;a=a-((f+g|0)+(f-(e>>11)>>1)|0)|0;v[d+160>>2]=i-a;v[d+64>>2]=a+i}k=k+1|0;if((k|0)!=8){continue}break}a=0;while(1){t[a+c|0]=w[((v[(a<<2)+b>>2]>>>13|0)+512&1023)+1164544|0];d=a|1;t[d+c|0]=w[((v[(d<<2)+b>>2]>>>13|0)+512&1023)+1164544|0];a=a+2|0;if((a|0)!=64){continue}break}}function Xva(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=C(0),m=0,n=0,o=0,p=0,q=0,r=0,s=0,x=0,E=0,F=C(0);d=Ma-384|0;Ma=d;if(!(w[a+208|0]|w[a+203|0])){Ak(a,v[b+596>>2],A[b+104>>3],b+16|0);j=A[b+392>>3];f=v[a+104>>2];Qa[v[v[f>>2]+132>>2]](f,d+380|0)|0;f=v[a+104>>2];Qa[v[v[f>>2]+136>>2]](f,878856)|0;p=A[c+184>>3];q=A[c+192>>3];r=A[c+208>>3];s=A[c+216>>3];x=A[c+200>>3];E=A[c+224>>3];n=A[c+232>>3];o=A[c+240>>3];h=v[c+380>>2];k=v[c+384>>2];v[d+152>>2]=0;v[d+156>>2]=0;v[d+184>>2]=0;v[d+188>>2]=0;v[d+232>>2]=0;v[d+236>>2]=0;v[d+240>>2]=0;v[d+244>>2]=0;v[d+248>>2]=0;v[d+252>>2]=0;v[d+264>>2]=0;v[d+268>>2]=0;v[d+272>>2]=0;v[d+144>>2]=0;v[d+148>>2]=0;v[d+168>>2]=0;v[d+172>>2]=1065353216;v[d+176>>2]=0;v[d+180>>2]=0;v[d+212>>2]=0;v[d+204>>2]=1056964608;v[d+208>>2]=1065353216;u[d+200>>1]=0;v[d+192>>2]=1065353216;v[d+196>>2]=1065353216;e=ab(24);v[d+276>>2]=e;f=e+24|0;v[d+284>>2]=f;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;v[e>>2]=0;v[e+4>>2]=0;v[d+280>>2]=f;eb(d+292|0,0,88);v[d+224>>2]=1;v[d+228>>2]=1;z[d+220>>2]=k?C(1):C(0);z[d+216>>2]=h?C(1):C(0);l=C(n);g=FW(d+16|0,l,C(o));e=v[g>>2];v[d+232>>2]=e;j=j*255;a:{if(D(j)<2147483648){k=~~j;break a}k=-2147483648}h=v[d+236>>2];if(h){e=v[d+240>>2];if((h|0)==(e|0)){f=h}else{while(1){f=e-12|0;i=v[f>>2];if(i){v[e-8>>2]=i;$a(i)}e=f;if((h|0)!=(e|0)){continue}break}f=v[d+236>>2]}v[d+240>>2]=h;$a(f);e=v[d+232>>2]}v[d+236>>2]=v[g+4>>2];v[d+240>>2]=v[g+8>>2];v[d+244>>2]=v[g+12>>2];f=v[g+20>>2];v[d+248>>2]=v[g+16>>2];v[d+252>>2]=f;f=v[g+28>>2];v[d+256>>2]=v[g+24>>2];v[d+260>>2]=f;z[d+156>>2]=s/72*25.4;z[d+164>>2]=E/72*25.4;z[d+160>>2]=x/72*25.4;z[d+152>>2]=r/72*25.4;z[d+148>>2]=q/72*25.4;z[d+144>>2]=p/72*25.4;if(e){F=C((o-n)/+(e>>>0));g=v[c+8>>2];e=0;while(1){f=d+16|0;ys(c,+l,f);Qa[v[v[g>>2]+20>>2]](g,f,d,0);i=v[d+8>>2];h=v[d+4>>2];f=v[d>>2];m=v[v[d+236>>2]>>2]+(e<<2)|0;t[m+3|0]=k;t[m+2|0]=B(f,255)+32768>>>16;t[m+1|0]=B(h,255)+32768>>>16;t[m|0]=B(i,255)+32768>>>16;l=C(l+F);e=e+1|0;if(e>>>0>2]){continue}break}}e=v[a+104>>2];c=pr(e,351404,351416);if(c){Qa[v[v[c>>2]+560>>2]](c,d+144|0);c=v[a+104>>2];Qa[v[v[c>>2]+328>>2]](c,878840)|0;e=v[a+104>>2]}v[d+16>>2]=4;Qa[v[v[e>>2]+292>>2]](e,d+16|0)|0;a=v[a+104>>2];Qa[v[v[a>>2]+136>>2]](a,d+380|0)|0;Ae(b);Wf(d+224|0)}Ma=d+384|0;return 1}function SFa(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,n=0,o=0,p=0,q=0,r=0,s=0,y=0,z=0,A=0,C=0,D=0;A=Ma-256|0;Ma=A;n=v[a+332>>2];a=v[b+84>>2];h=8;b=A;while(1){a:{b:{f=x[c+32>>1];g=u[c+16>>1];if((f|g)&65535){break b}f=0;if(x[c+48>>1]|x[c+64>>1]|(x[c+80>>1]|x[c+96>>1])){break b}if(x[c+112>>1]){break b}f=B(u[c>>1],v[a>>2])<<2;v[b+192>>2]=f;v[b+160>>2]=f;v[b+128>>2]=f;v[b+96>>2]=f;v[b+64>>2]=f;v[b+32>>2]=f;v[b>>2]=f;i=56;break a}l=B(v[a+192>>2],u[c+96>>1]);q=B(v[a+64>>2],f<<16>>16);f=B(l+q|0,4433);g=B(g,v[a+32>>2]);y=B(v[a+224>>2],u[c+112>>1]);o=B(g+y|0,-7373);r=B(v[a+160>>2],u[c+80>>1]);m=r+g|0;k=B(v[a+96>>2],u[c+48>>1]);i=k+y|0;j=B(m+i|0,9633);s=B(u[c+64>>1],v[a+128>>2])<<13;z=B(u[c>>1],v[a>>2])<<13|1024;p=s+z|0;q=f+B(q,6270)|0;C=p+q|0;D=o+B(g,12299)|0;g=j+B(m,-3196)|0;m=D+g|0;v[b+224>>2]=C-m>>11;v[b>>2]=m+C>>11;m=z-s|0;f=f+B(l,-15137)|0;l=m+f|0;j=j+B(i,-16069)|0;i=B(k,25172);k=B(k+r|0,-20995);i=j+(i+k|0)|0;v[b+192>>2]=l-i>>11;v[b+32>>2]=l+i>>11;f=m-f|0;g=g+(k+B(r,16819)|0)|0;v[b+160>>2]=f-g>>11;v[b+64>>2]=f+g>>11;f=j+(o+B(y,2446)|0)|0;g=p-q|0;v[b+96>>2]=f+g>>11;f=g-f>>11;i=32}v[(i<<2)+b>>2]=f;c=c+2|0;a=a+4|0;b=b+4|0;p=h>>>0>1;h=h-1|0;if(p){continue}break}b=n+128|0;p=0;c=A;while(1){a=v[(p<<2)+d>>2]+e|0;c:{d:{f=v[c+8>>2];h=v[c+4>>2];if(f|h){break d}f=0;if(v[c+12>>2]|v[c+16>>2]|(v[c+20>>2]|v[c+24>>2])){break d}if(v[c+28>>2]){break d}f=x3a(w[b+(v[c>>2]+16>>>5&1023)|0],0,16843009,16843009);t[a|0]=f;t[a+1|0]=f>>>8;t[a+2|0]=f>>>16;t[a+3|0]=f>>>24;f=Pa;t[a+4|0]=f;t[a+5|0]=f>>>8;t[a+6|0]=f>>>16;t[a+7|0]=f>>>24;break c}g=v[c+28>>2];y=B(g+h|0,-7373);o=v[c+12>>2];j=o+g|0;r=v[c+20>>2];n=r+h|0;k=B(j+n|0,9633);i=y+B(h,12299)|0;h=k+B(n,-3196)|0;n=i+h|0;l=v[c>>2]+16|0;q=v[c+16>>2];m=l+q<<13;s=B(f,6270);i=f;f=v[c+24>>2];i=B(i+f|0,4433);s=s+i|0;z=m+s|0;t[a|0]=w[b+(n+z>>>18&1023)|0];t[a+7|0]=w[b+(z-n>>>18&1023)|0];k=k+B(j,-16069)|0;j=B(o,25172);o=B(o+r|0,-20995);j=k+(j+o|0)|0;n=l-q<<13;f=i+B(f,-15137)|0;l=n+f|0;t[a+1|0]=w[b+(j+l>>>18&1023)|0];t[a+6|0]=w[b+(l-j>>>18&1023)|0];h=h+(o+B(r,16819)|0)|0;f=n-f|0;t[a+2|0]=w[b+(h+f>>>18&1023)|0];t[a+5|0]=w[b+(f-h>>>18&1023)|0];f=k+(y+B(g,2446)|0)|0;h=m-s|0;t[a+3|0]=w[b+(f+h>>>18&1023)|0];t[a+4|0]=w[b+(h-f>>>18&1023)|0]}c=c+32|0;p=p+1|0;if((p|0)!=8){continue}break}Ma=A+256|0}function sda(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;var j=C(0),k=0,l=0,m=C(0),n=0,o=C(0),p=0,q=0,r=C(0),s=C(0),u=C(0),x=C(0),y=C(0),A=C(0),E=C(0),F=C(0),G=0,H=C(0),I=C(0),J=C(0),K=C(0),L=C(0);c=Ma-32|0;Ma=c;if(!(!f|!e)){d=B(g,3);G=h<<2;while(1){f=f-1|0;h=e;while(1){g=v[a+72>>2];l=t[i+1|0];k=t[i+2|0];j=C(C(C(w[i|0])*C(100))/C(255));a:{if(j>2])/C(903.2919921875));z[c+24>>2]=j;o=C(C(C(j/z[g+20>>2])*C(7.7870001792907715))+C(.13793103396892548));break a}o=C(C(j+C(16))/C(116));z[c+24>>2]=o*C(o*C(o*z[g+20>>2]))}j=z[g+16>>2];p=c;m=C(C(C(l|0)/C(500))+o);b:{if(m>2]=j;j=z[g+24>>2];m=C(o+C(C(k|0)/C(-200)));c:{if(m>2]=C(C(m+C(-.1379300057888031))*j)/C(7.7870001792907715);break c}z[c+20>>2]=m*C(m*C(m*j))}g=v[a+72>>2];E=z[g+72>>2];r=z[g+96>>2];H=z[g+60>>2];I=z[g+52>>2];J=z[g+56>>2];F=z[g+68>>2];s=z[g+92>>2];K=z[g+48>>2];L=z[g+40>>2];o=z[g+44>>2];p=c;k=v[g>>2];q=k;u=z[c+28>>2];x=z[c+24>>2];y=z[c+20>>2];j=C(C(C(z[g+28>>2]*u)+C(z[g+32>>2]*x))+C(z[g+36>>2]*y));A=z[g+88>>2];m=j>A?j:A;j=z[g- -64>>2];j=C(C((j>m?m:j)-A)/z[g+4>>2]);d:{if(C(D(j))>2];n=(j>C(0)?.5:-.5)+ +j;e:{if(n<4294967296&n>=0){k=~~n>>>0;break e}k=0}v[p+16>>2]=k;p=c;k=v[g>>2];q=k;j=C(C(C(L*u)+C(o*x))+C(K*y));j=j>s?j:s;j=C(C((j>2]);f:{if(C(D(j))>2];n=(j>C(0)?.5:-.5)+ +j;g:{if(n<4294967296&n>=0){k=~~n>>>0;break g}k=0}v[p+12>>2]=k;p=c;k=v[g>>2];q=k;j=C(C(C(I*u)+C(J*x))+C(H*y));j=j>r?j:r;j=C(C((j>2]);h:{if(C(D(j))>2];n=(j>C(0)?.5:-.5)+ +j;i:{if(n<4294967296&n>=0){k=~~n>>>0;break i}k=0}v[p+8>>2]=k;l=v[c+16>>2];k=v[g+76>>2];v[c+16>>2]=k>>>0>l>>>0?l:k;l=v[c+12>>2];k=v[g+80>>2];v[c+12>>2]=k>>>0>l>>>0?l:k;k=v[c+8>>2];g=v[g+84>>2];v[c+8>>2]=g>>>0>k>>>0?k:g;v[b>>2]=v[c+16>>2]|v[c+12>>2]<<8|v[c+8>>2]<<16|-16777216;i=i+3|0;b=b+4|0;h=h-1|0;if(h){continue}break}i=d+i|0;b=b+G|0;if(f){continue}break}}Ma=c+32|0}function mv(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;o=Ma-1152|0;Ma=o;k=(d+f)*.5;l=(c+e)*.5;n=v[b+8>>2];n=Qa[v[v[n>>2]+28>>2]](n)|0;i=1;a:{if((n|0)<=0){break a}b:{while(1){i=(j<<2)+g|0;m=v[i>>2]-v[i+128>>2]|0;i=m>>31;if((i^i+m)>>>0>256){break b}j=j+1|0;if((n|0)!=(j|0)){continue}break}j=0;while(1){i=(j<<2)+g|0;p=v[i+128>>2]-v[i+256>>2]|0;m=p>>31;i=0;if((m^m+p)>>>0>256){break a}j=j+1|0;if((n|0)!=(j|0)){continue}break}j=0;while(1){i=(j<<2)+g|0;p=v[i+256>>2]-v[i+384>>2]|0;m=p>>31;i=0;if((m^m+p)>>>0>256){break a}j=j+1|0;if((n|0)!=(j|0)){continue}break}j=0;while(1){i=(j<<2)+g|0;m=v[i+384>>2]-v[i>>2]|0;i=m>>31;i=i^i+m;if(i>>>0<=256){j=j+1|0;if((n|0)!=(j|0)){continue}}break}i=i>>>0<257;break a}i=0}c:{if(!(!(i&(h|0)>0)&(h|0)!=6)){pl(b,l,k,o);cb(v[a+28>>2]+124|0,o,128);g=v[a+8>>2];Qa[v[v[g>>2]+116>>2]](g,v[a+28>>2]);k=A[b+248>>3];l=A[b+232>>3];q=A[b+216>>3];g=v[a+28>>2];r=A[b+256>>3]+(A[b+224>>3]*c+A[b+240>>3]*d);A[g+608>>3]=r;k=k+(q*c+l*d);A[g+600>>3]=k;g=v[g+596>>2];A[g+16>>3]=r;A[g+8>>3]=k;v[g>>2]=1;k=A[b+248>>3];l=A[b+232>>3];q=A[b+216>>3];g=v[a+28>>2];r=A[b+256>>3]+(A[b+224>>3]*e+A[b+240>>3]*d);A[g+608>>3]=r;d=k+(q*e+l*d);A[g+600>>3]=d;cd(v[g+596>>2],d,r);d=A[b+248>>3];k=A[b+232>>3];l=A[b+216>>3];g=v[a+28>>2];q=A[b+256>>3]+(A[b+224>>3]*e+A[b+240>>3]*f);A[g+608>>3]=q;d=d+(l*e+k*f);A[g+600>>3]=d;cd(v[g+596>>2],d,q);d=A[b+248>>3];e=A[b+232>>3];k=A[b+216>>3];g=v[a+28>>2];l=A[b+256>>3]+(A[b+224>>3]*c+A[b+240>>3]*f);A[g+608>>3]=l;c=d+(k*c+e*f);A[g+600>>3]=c;cd(v[g+596>>2],c,l);b=v[a+28>>2];kf(v[b+596>>2]);g=v[b+596>>2];g=v[((v[g+28>>2]<<2)+v[g+24>>2]|0)-4>>2];h=(v[g+12>>2]<<3)-8|0;A[b+600>>3]=A[h+v[g>>2]>>3];A[b+608>>3]=A[h+v[g+4>>2]>>3];b=v[a+8>>2];Qa[v[v[b>>2]+204>>2]](b,v[a+28>>2]);Ae(v[a+28>>2]);break c}pl(b,c,k,o+1024|0);pl(b,e,k,o+896|0);pl(b,l,d,o+768|0);pl(b,l,f,o+640|0);pl(b,l,k,o+512|0);j=cb(o,g,128);n=j+1024|0;m=cb(j+128|0,n,128);p=cb(j+256|0,j+768|0,128);s=cb(j+384|0,j+512|0,128);i=h+1|0;mv(a,b,c,d,l,k,j,i);h=cb(j,n,128);j=cb(m,g+128|0,128);n=cb(p,h+512|0,128);m=cb(s,h+640|0,128);mv(a,b,c,k,l,f,h,i);h=cb(h,h+768|0,128);j=cb(j,h+512|0,128);n=cb(n,g+256|0,128);m=cb(m,h+896|0,128);mv(a,b,l,d,e,k,h,i);h=cb(h,h+512|0,128);cb(j,h+640|0,128);cb(n,h+896|0,128);cb(m,g+384|0,128);mv(a,b,l,k,e,f,h,i)}Ma=o+1152|0}function cz(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(v[a+16>>2]){a=0}else{d=v[a+49196>>2];c=v[a+24>>2];while(1){b:{c:{d:{e:{if((c|0)>=(d|0)){b=v[a+20>>2];break e}while(1){b=v[a+4>>2];e=Qa[v[v[b>>2]+28>>2]](b)|0;if((e|0)==-1){break d}c=v[a+24>>2]+8|0;v[a+24>>2]=c;d=v[a+53324>>2];f=v[a+53320>>2]+1|0;d=f>>>0<1?d+1|0:d;v[a+53320>>2]=f;v[a+53324>>2]=d;b=e&255|v[a+20>>2]<<8;v[a+20>>2]=b;d=v[a+49196>>2];if((d|0)>(c|0)){continue}break}}c=c-d|0;v[a+24>>2]=c;d=(-1<>c;if((d|0)==256){break c}if((d|0)==257){break d}if((d|0)!=-1){break b}}v[a+16>>2]=1;return 0}v[a+53316>>2]=1;v[a+53308>>2]=0;v[a+53312>>2]=0;v[a+49192>>2]=258;v[a+49196>>2]=9;d=9;continue}break}c=v[a+49192>>2];if((c|0)<=4096){e=v[a+53308>>2]}else{fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,283846,0);v[a+53316>>2]=1;v[a+53308>>2]=0;v[a+53312>>2]=0;v[a+49192>>2]=258;v[a+49196>>2]=9;c=258;e=0}f:{if((d|0)<=255){v[a+53308>>2]=1;t[a+49208|0]=d;b=d;break f}if((c|0)>(d|0)){c=v[(B(d,12)+a|0)+28>>2];v[a+53308>>2]=c;b=d;g:{if((c|0)<2){break g}g=c-2|0;f=c-1&3;if(f){while(1){c=c-1|0;b=B(b,12)+a|0;t[(c+a|0)+49208|0]=w[b+36|0];b=v[b+32>>2];f=f-1|0;if(f){continue}break}}if(g>>>0<3){break g}g=a+28|0;h=a+49208|0;while(1){f=c+h|0;b=g+B(b,12)|0;t[f-1|0]=w[b+8|0];b=g+B(v[b+4>>2],12)|0;t[f-2|0]=w[b+8|0];b=g+B(v[b+4>>2],12)|0;t[f-3|0]=w[b+8|0];f=c-4|0;b=g+B(v[b+4>>2],12)|0;t[f+h|0]=w[b+8|0];b=v[b+4>>2];i=(c|0)>5;c=f;if(i){continue}break}}t[a+49208|0]=b;break f}if((c|0)!=(d|0)){break a}t[(a+49208|0)+e|0]=v[a+49204>>2];v[a+53308>>2]=v[a+53308>>2]+1;b=w[a+49208|0]}v[a+49204>>2]=b&255;h:{if(v[a+53316>>2]){v[a+53316>>2]=0;break h}f=v[a+49192>>2];c=B(f,12)+a|0;v[c+28>>2]=e+1;e=v[a+49200>>2];t[c+36|0]=b;v[c+32>>2]=e;b=f+1|0;v[a+49192>>2]=b;b=b+v[a+12>>2]|0;if((b|0)!=2048){if((b|0)!=1024){if((b|0)!=512){break h}v[a+49196>>2]=10;break h}v[a+49196>>2]=11;break h}v[a+49196>>2]=12}v[a+49200>>2]=d;b=v[a+53308>>2];e=b;c=b+v[a+53328>>2]|0;b=v[a+53332>>2]+(b>>31)|0;b=c>>>0>>0?b+1|0:b;e=c;c=b;v[a+53328>>2]=e;v[a+53332>>2]=b;i:{if(!b&e>>>0<50000001){break i}d=v[a+53320>>2];b=v[a+53324>>2];c=z3a(e,c,250,0);e=Pa;if((e|0)==(b|0)&c>>>0<=d>>>0|b>>>0>e>>>0){break i}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,257095,0);v[a+16>>2]=1;return 0}v[a+53312>>2]=0;a=1}return a}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,283911,0);v[a+16>>2]=1;return 0}function fz(a,b,c){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;d=Ma+-64|0;Ma=d;v[d+48>>2]=13;v[d+32>>2]=13;v[d+16>>2]=13;v[d>>2]=13;a:{b:{c:{d:{e:{f:{g:{h:{switch(v[b>>2]-5|0){case 0:break a;case 4:break h;default:break g}}e=v[a+4>>2];h=v[e+8>>2];if((h|0)<1){break g}f=v[b+8>>2];j=v[b+12>>2];i=v[e>>2];e=0;while(1){g=v[i+(e<<2)>>2];if((f|0)==v[g>>2]&(j|0)==v[g+4>>2]){break f}e=e+1|0;if((h|0)!=(e|0)){continue}break}}e=0;ue(b,v[a>>2],d+48|0,0);i:{if(v[d+48>>2]==7){g=0;b=v[d+56>>2];b=v[v[b+8>>2]+(449666%((v[b+12>>2]<<1)-1>>>0)<<2)>>2];j:{if(!b){break j}while(1){if(hb(279292,v[b>>2])){b=v[b+24>>2];if(b){continue}break j}break}if(v[b+8>>2]!=4){break j}g=!hb(v[b+16>>2],312265)}if(g){break i}}bb(d+48|0);break a}b=0;if(v[ib(v[d+56>>2],311915,d+32|0,0)>>2]==6){n=c,o=ez(a,d+32|0,0),v[n>>2]=o;break c}f=d+32|0;bb(f);h=2;j=1;k:{if(v[ib(v[d+56>>2],310603,f,0)>>2]!=4){g=0;break k}if(v[d+32>>2]!=4){g=0;break k}f=v[d+40>>2];if(!hb(f,253249)){g=0;b=1;j=0;h=1;break k}if(!hb(f,253243)){g=0;break k}l:{if(!hb(f,273361)){h=3;g=0;break l}g=0;if(hb(f,273368)){break k}h=4;g=1}j=0}f=d+32|0;bb(f);Yd(v[d+56>>2],237034,f);m:{if(v[d+32>>2]!=9){break m}e=v[a+4>>2];k=v[e+8>>2];if((k|0)<1){break m}f=v[d+40>>2];l=v[d+44>>2];m=v[e>>2];e=0;while(1){i=v[(e<<2)+m>>2];if((f|0)==v[i>>2]&(l|0)==v[i+4>>2]){break e}e=e+1|0;if((k|0)!=(e|0)){continue}break}}v[c>>2]=b|g;e=0;if(v[ue(d+32|0,v[a>>2],d+16|0,0)>>2]!=6){break d}b=0;n:{e=v[d+24>>2];if(v[e+12>>2]>0){j=h-1|0;g=0;while(1){Nf(e,b,d);o:{if(v[d>>2]!=9){break o}e=v[a+4>>2];i=v[e+8>>2];if((i|0)<1){break o}f=v[d+8>>2];k=v[d+12>>2];l=v[e>>2];e=0;while(1){h=v[l+(e<<2)>>2];if(!((f|0)==v[h>>2]&(k|0)==v[h+4>>2])){e=e+1|0;if((i|0)!=(e|0)){continue}break o}break}g=1;e=c;p:{q:{switch(j|0){case 0:f=0;if(!v[c>>2]){break p}f=v[h+20>>2]!=0;break p;case 1:f=1;if(v[c>>2]){break p}f=v[h+20>>2]!=0;break p;case 2:f=1;if(v[c>>2]){break p}f=!v[h+20>>2];break p;case 3:break q;default:break o}}f=0;if(!v[c>>2]){break p}f=!v[h+20>>2]}v[e>>2]=f}bb(d);b=b+1|0;e=v[d+24>>2];if((b|0)>2]){continue}break}if(g){break n}}bb(d+16|0);bb(d+32|0);bb(d+48|0);e=0;break a}bb(d+16|0);break c}v[c>>2]=v[g+20>>2];break b}a=v[i+20>>2];v[c>>2]=b?a:j?a:!a;break c}bb(d+16|0);bb(d+32|0);bb(d+48|0);break a}bb(d+32|0);bb(d+48|0)}e=1}Ma=d- -64|0;return e}function pf(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=Ma-112|0;Ma=g;if(!v[291039]){QH()}a:{if(!a){break a}b=t[a|0];if(!b){break a}h=v[291037];b:{if(!h){break b}e=b-97>>>0<26?b&95:b;t[g|0]=e;b=0;c:{if(!(e&255)){break c}e=0;while(1){b=99;e=e+1|0;if((e|0)==99){break c}b=t[a+e|0];i=b-97>>>0<26?b&95:b;t[e+g|0]=i;b=e;if(i&255){continue}break}}t[b+g|0]=0;e=v[291038];if((e|0)<1){break b}while(1){if(!hb(v[(h+(f<<3)|0)+4>>2],g)){f=v[h+(f<<3)>>2];break b}f=f+1|0;if((e|0)!=(f|0)){continue}break}f=0}h=f?f:a;while(1){d:{e=t[d+h|0];e=e-97>>>0<26?e&95:e;t[d+g|0]=e;if(!(e&255)){e=d;break d}e=99;d=d+1|0;if((d|0)!=99){continue}}break}d=0;t[e+g|0]=0;f=v[291039];e:{if(!f){break e}b=v[291042];if((b|0)<=0){break e}while(1){e=v[f+(d<<2)>>2];if(!hb(g,v[e>>2])){break a}d=d+1|0;if((b|0)!=(d|0)){continue}break}}e=0;b=0;d=0;c=Ma-512|0;Ma=c;f:{if(!a){break f}i=v[291037];j=0;g:{if(!i){break g}while(1){h:{f=t[a+d|0];f=f-97>>>0<26?f&95:f;t[c+d|0]=f;if(!(f&255)){f=d;break h}f=99;d=d+1|0;if((d|0)!=99){continue}}break}t[c+f|0]=0;d=0;f=v[291038];j=0;if((f|0)<1){break g}while(1){if(!hb(v[(i+(d<<3)|0)+4>>2],c)){j=v[i+(d<<3)>>2];break g}d=d+1|0;if((f|0)!=(d|0)){continue}break}j=0}d=j;f=d?d:a;while(1){i:{a=t[b+f|0];a=a-97>>>0<26?a&95:a;t[b+c|0]=a;if(!(a&255)){d=b;break i}d=499;b=b+1|0;if((b|0)!=499){continue}}break}b=0;t[c+d|0]=0;if(!w[c|0]){break f}b=1;if(!Jb(c,314541,6)){break f}if(!Jb(c,314043,5)){break f}b=2;if(!Jb(c,315602,7)){break f}if(!Jb(c,315576,6)){break f}b=9;if(!Jb(c,320591,16)){break f}if(!Jb(c,320601,6)){break f}if(!Jb(c,320017,5)){break f}b=4;if(!Jb(c,316998,16)){break f}if(!Jb(c,317008,6)){break f}if(!Jb(c,316373,5)){break f}b=10;if(!Jb(c,325017,11)){break f}if(!Jb(c,325005,12)){break f}if(!Jb(c,325043,12)){break f}b=11;if(!Jb(c,320619,11)){break f}if(!Jb(c,320607,12)){break f}if(!Jb(c,320666,12)){break f}if(!Jb(c,319113,11)){b=12;break f}if(!Jb(c,317014,11)){b=13;break f}if(!Jb(c,316272,11)){b=14;break f}if(!Jb(c,315649,11)){b=15;break f}if(!Jb(c,315110,11)){b=16;break f}if(!Jb(c,314547,11)){b=17;break f}if(!Jb(c,313962,11)){b=18;break f}if(!Jb(c,310568,12)){b=19;break f}if(!Jb(c,310144,10)){b=20;break f}b=Jb(c,310561,7)?-1:21}Ma=c+512|0;a=b-1|0;if(a>>>0>20){break a}a=v[(a<<2)+874752>>2];if(!hb(h,a)){break a}e=pf(a)}Ma=g+112|0;return e}function n6(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;v[a+76>>2]=0;v[a+80>>2]=0;c=a- -64|0;v[c>>2]=0;v[c+4>>2]=0;v[a+56>>2]=0;c=v[b+8>>2];a:{if(c&7){break a}b:{d=v[b+64>>2];if((d|0)>=0&(d|0)<=v[b+60>>2]){break b}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;c:{if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=w[a+12|0];d=v[b+24>>2];v[b+24>>2]=d+1;t[d|0]=c;break c}if((Cb(b,w[a+12|0])|0)==-1){break a}}c=v[b+8>>2];if(c&7){break a}d=v[b+64>>2];if((d|0)>=0&(d|0)<=v[b+60>>2]){break b}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;d:{if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=w[a+13|0];d=v[b+24>>2];v[b+24>>2]=d+1;t[d|0]=c;break d}if((Cb(b,w[a+13|0])|0)==-1){break a}}c=v[b+8>>2];if(c&7){break a}d=v[b+64>>2];if((d|0)>=0&(d|0)<=v[b+60>>2]){break b}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;e:{if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=w[a+52|0];d=v[b+24>>2];v[b+24>>2]=d+1;t[d|0]=c;break e}if((Cb(b,w[a+52|0])|0)==-1){break a}}c=v[b+8>>2];if(c&7){break a}d=v[b+64>>2];if((d|0)>=0&(d|0)<=v[b+60>>2]){break b}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;f:{if((c|0)<=0){if((Cb(b,0)|0)!=-1){break f}break a}v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;t[c|0]=0}c=v[a+16>>2];if(Gh(b,c,c>>31)){break a}c=v[a+20>>2];if(Gh(b,c,c>>31)){break a}c=v[a+24>>2];if(Gh(b,c,c>>31)){break a}c=v[a+28>>2];if(Gh(b,c,c>>31)){break a}c=v[a+32>>2];if(Gh(b,c,c>>31)){break a}c=v[a+36>>2];if(Gh(b,c,c>>31)){break a}c=v[a+40>>2];if(Gh(b,c,c>>31)){break a}c=v[a+44>>2];if(Gh(b,c,c>>31)){break a}c=v[a+48>>2];if(Gh(b,c,c>>31)){break a}if(xg(b,2,v[a+60>>2],0)){break a}if(xg(b,2,v[a+72>>2],0)){break a}c=0;d=B(v[a+60>>2],w[a+12|0]);if((d|0)>0){while(1){if(xg(b,1,w[v[a+68>>2]+c|0],0)){break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}}c=0;d=B(v[a+72>>2],w[a+13|0]);if((d|0)>0){while(1){if(xg(b,1,w[v[a+80>>2]+c|0],0)){break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}}d=w[a+12|0];g:{if(!d){d=1;break g}c=w[a+52|0];e=d&7;h:{if(d-1>>>0<7){d=1;break h}f=d&248;d=1;while(1){d=B(c,B(c,B(c,B(c,B(c,B(c,B(c,B(c,d))))))));f=f-8|0;if(f){continue}break}}if(!e){break g}while(1){d=B(c,d);e=e-1|0;if(e){continue}break}}d=B(w[a+13|0],d);if((d|0)<=0){return 0}c=0;while(1){if(xg(b,1,w[v[a+56>>2]+c|0],0)){break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}return 0}v[b+8>>2]=c|4}return-1}function cKa(a){a=a|0;var 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;n=Ma-16|0;Ma=n;g=v[a+12>>2];k=v[a+200>>2];b=v[a+196>>2];l=u[a+32>>1];a:{if(l){if(y[g+8>>2]>1]+(u[g+20>>1]+l|0)>>>0){d=Ch(g,0,l);if(d){break a}}d=20;if((l|0)>4094){break a}}d=20;e=l<<1;if((e+b|0)+2>>>0>k>>>0){break a}c=v[g+68>>2];j=w[b|0];h=w[b+1|0]|j<<8;if((l|0)>=1){u[c>>1]=h}if(j<<24>>16<0){break a}j=c+e|0;while(1){e=c+2|0;if(e>>>0>>0){c=w[b+2|0]|w[b+3|0]<<8;f=c<<8|c>>>8;u[e>>1]=f;i=h<<16;c=e;e=f<<16>>16;h=e;b=b+2|0;if((e|0)>i>>16){continue}break a}break}e=v[g+4>>2];f=u[g+58>>1];if((l|0)<1){j=0}else{c=u[c>>1];if((c|0)<-1){break a}j=c+1|0}c=j+4|0;if(e>>>0>1]|0)>>>0){d=Ch(g,c,0);if(d){break a}}c=v[a+8>>2];v[c+136>>2]=0;v[c+140>>2]=0;e=b+4|0;if(e>>>0>k>>>0){d=20;break a}b=w[b+2|0]|w[b+3|0]<<8;b=b<<8|b>>>8;b:{c:{d:{e:{if(w[a+16|0]&2){c=b&65535;break e}c=b&65535;if((c|0)>(k-e|0)){break d}d=v[a+156>>2];v[n+12>>2]=v[d+392>>2];d=b$(v[d+8>>2],n+12|0,d+396|0,c);f=v[a+156>>2];v[f+392>>2]=x[n+12>>1];if(d){break a}d=v[a+8>>2];v[d+140>>2]=c;i=d;d=v[f+396>>2];v[i+136>>2]=d;if(!(b&65535)){break e}cb(d,e,c)}b=c+e|0;if((j|0)>=1){e=v[g- -64>>2];f=j+e|0;while(1){c=b+1|0;if(c>>>0>k>>>0){d=20;break a}m=w[b|0];t[e|0]=m;d=e+1|0;i=f;f:{if(!(m&8)){b=c;c=d;break f}b=b+2|0;if(k>>>0>>0){d=20;break a}h=w[c|0];if(f>>>0>>0){d=20;break a}c=d;if(!h){break f}eb(d,m,h);c=((h-1&255)+e|0)+2|0}e=c;if(i>>>0>e>>>0){continue}break}}d=v[g+64>>2];if(!(!j|!(w[d|0]&64))){v[g+36>>2]=v[g+36>>2]|64}if(b>>>0>k>>>0){d=20;break a}if((j|0)<=0){break b}f=v[g+60>>2];m=f+(j<<3)|0;c=f;e=d;while(1){o=w[e|0];g:{if(o&2){i=b+1|0;if(i>>>0>k>>>0){d=20;break a}b=w[b|0];h=o&16?b:0-b|0;b=i;break g}h=0;if(o&16){break g}i=b+2|0;if(i>>>0>k>>>0){d=20;break a}b=w[b|0]|w[b+1|0]<<8;h=(b<<8|b>>>8)<<16>>16;b=i}p=h+p|0;v[c>>2]=p;e=e+1|0;c=c+8|0;if(m>>>0>c>>>0){continue}break}break c}d=22;break a}h=0;if((j|0)<=0){break b}while(1){i=w[d|0];h:{if(i&4){e=b+1|0;if(e>>>0>k>>>0){d=20;break a}b=w[b|0];c=i&32?b:0-b|0;b=e;break h}c=0;if(i&32){break h}e=b+2|0;if(e>>>0>k>>>0){d=20;break a}b=w[b|0]|w[b+1|0]<<8;c=(b<<8|b>>>8)<<16>>16;b=e}h=c+h|0;v[f+4>>2]=h;t[d|0]=i&1;d=d+1|0;f=f+8|0;if(m>>>0>f>>>0){continue}break}}u[g+56>>1]=l;u[g+58>>1]=j;v[a+196>>2]=b;d=0}Ma=n+16|0;return d|0}function R$a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=v[a+572>>2];c=v[a+664>>2];a:{if((d|0)<(c|0)|(d|0)>=v[a+668>>2]){break a}d=Qa[v[a+220>>2]](a,v[a+680>>2]+(d-c|0)|0)|0;c=v[a+580>>2];d=(d+(c<<1)|0)+(v[a+672>>2]<<1)|0;b=v[a+656>>2];e=(b|0)/v[a+584>>2]|0;i=v[a+644>>2];b:{if(!w[a+648|0]){f=b+c|0;b=i+(e<<2)|0;c=v[a+660>>2];if(!w[a+649|0]){break b}if((c|0)<=(f|0)){break a}while(1){t[d+1|0]=w[b+2|0]>>>1&124|w[b+1|0]>>>6;t[d|0]=w[b+1|0]<<2&224|w[b|0]>>>3;b=b+4|0;c=v[a+584>>2];d=(c<<1)+d|0;f=c+f|0;if((f|0)>2]){continue}break}break a}f=b+c|0;b=i+(e<<3)|0;c=v[a+660>>2];if(w[a+649|0]){if((c|0)<=(f|0)){break a}while(1){t[d+1|0]=w[b+4|0]>>>1&124|w[b+2|0]>>>6;t[d|0]=w[b+2|0]<<2&224|w[b|0]>>>3;b=b+8|0;c=v[a+584>>2];d=(c<<1)+d|0;f=c+f|0;if((f|0)>2]){continue}break}break a}if((c|0)<=(f|0)){break a}while(1){c=w[b+6|0]|w[b+7|0]<<8;e=(c<<8|c>>>8)&65535;if(e){l=d;c:{if((e|0)==65535){t[d+1|0]=w[b+4|0]>>>1&124|w[b+2|0]>>>6;c=w[b+2|0]<<2&-32|w[b|0]>>>3;break c}i=w[b|0]|w[b+1|0]<<8;j=w[b+2|0]|w[b+3|0]<<8;c=B(e,(j<<8|j>>>8)&65535);j=e^65535;k=w[d+1|0];g=w[d|0];h=(c+B(B(j,(k<<6|g>>>2)&248),257)|0)+32768|0;h=(h>>>16|0)+h|0;c=w[b+4|0]|w[b+5|0]<<8;g=g<<3&248;g=(B(e,(c<<8|c>>>8)&65535)+B(j,g<<8|g)|0)+32768|0;t[d+1|0]=h>>>30|(g>>>16|0)+g>>>25&124;e=(B((i<<8|i>>>8)&65535,e)+B(B(j,k<<1&240),257)|0)+32768|0;c=h>>>22&224|(e>>>16|0)+e>>>30}t[l|0]=c}b=b+8|0;c=v[a+584>>2];d=(c<<1)+d|0;f=c+f|0;if((f|0)>2]){continue}break}break a}if((c|0)<=(f|0)){break a}while(1){e=w[b+3|0];if(e){l=d;d:{if((e|0)==255){t[d+1|0]=w[b+2|0]>>>1&124|w[b+1|0]>>>6;c=w[b+1|0]<<2&-32|w[b|0]>>>3;break d}j=w[b|0];i=e^255;k=w[d+1|0];g=w[d|0];h=(B(e,w[b+1|0])+B(i,(k<<6|g>>>2)&248)|0)+128|0;h=(h>>>8&255)+h|0;k=(B(i,k<<1&240)+B(e,w[b+2|0])|0)+128|0;t[d+1|0]=h>>>14&3|(k>>>8&255)+k>>>9&124;e=(B(i,g<<3&248)+B(e,j)|0)+128|0;c=(e>>>8&255)+e>>>11&31|h>>>6&224}t[l|0]=c}b=b+4|0;c=v[a+584>>2];d=(c<<1)+d|0;f=c+f|0;if((f|0)>2]){continue}break}}d=v[a+680>>2]+v[a+572>>2]|0;c=v[a+664>>2];b=v[a+556>>2];f=v[a+672>>2];e:{if((f|0)>=v[a+552>>2]){if(b){break e}b=0}v[a+552>>2]=f}l=b;b=v[a+676>>2];if((l|0)<(b|0)){v[a+556>>2]=b}b=v[a+564>>2];d=d-c|0;f:{if((d|0)>=v[a+560>>2]){if(b){break f}b=0}v[a+560>>2]=d}if((b|0)<=(d|0)){v[a+564>>2]=d+1}return 0}function Q$a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=v[a+572>>2];c=v[a+664>>2];a:{if((d|0)<(c|0)|(d|0)>=v[a+668>>2]){break a}d=Qa[v[a+220>>2]](a,v[a+680>>2]+(d-c|0)|0)|0;c=v[a+580>>2];d=(d+(c<<1)|0)+(v[a+672>>2]<<1)|0;b=v[a+656>>2];e=(b|0)/v[a+584>>2]|0;i=v[a+644>>2];b:{if(!w[a+648|0]){f=b+c|0;b=i+(e<<2)|0;c=v[a+660>>2];if(!w[a+649|0]){break b}if((c|0)<=(f|0)){break a}while(1){t[d+1|0]=w[b|0]>>>1&124|w[b+1|0]>>>6;t[d|0]=w[b+1|0]<<2&224|w[b+2|0]>>>3;b=b+4|0;c=v[a+584>>2];d=(c<<1)+d|0;f=c+f|0;if((f|0)>2]){continue}break}break a}f=b+c|0;b=i+(e<<3)|0;c=v[a+660>>2];if(w[a+649|0]){if((c|0)<=(f|0)){break a}while(1){t[d+1|0]=w[b|0]>>>1&124|w[b+2|0]>>>6;t[d|0]=w[b+2|0]<<2&224|w[b+4|0]>>>3;b=b+8|0;c=v[a+584>>2];d=(c<<1)+d|0;f=c+f|0;if((f|0)>2]){continue}break}break a}if((c|0)<=(f|0)){break a}while(1){c=w[b+6|0]|w[b+7|0]<<8;e=(c<<8|c>>>8)&65535;if(e){l=d;c:{if((e|0)==65535){t[d+1|0]=w[b|0]>>>1&124|w[b+2|0]>>>6;c=w[b+2|0]<<2&-32|w[b+4|0]>>>3;break c}i=w[b+4|0]|w[b+5|0]<<8;j=w[b+2|0]|w[b+3|0]<<8;c=B(e,(j<<8|j>>>8)&65535);j=e^65535;k=w[d+1|0];g=w[d|0];h=(c+B(B(j,(k<<6|g>>>2)&248),257)|0)+32768|0;h=(h>>>16|0)+h|0;c=w[b|0]|w[b+1|0]<<8;g=g<<3&248;g=(B(e,(c<<8|c>>>8)&65535)+B(j,g<<8|g)|0)+32768|0;t[d+1|0]=h>>>30|(g>>>16|0)+g>>>25&124;e=(B((i<<8|i>>>8)&65535,e)+B(B(j,k<<1&240),257)|0)+32768|0;c=h>>>22&224|(e>>>16|0)+e>>>30}t[l|0]=c}b=b+8|0;c=v[a+584>>2];d=(c<<1)+d|0;f=c+f|0;if((f|0)>2]){continue}break}break a}if((c|0)<=(f|0)){break a}while(1){e=w[b+3|0];if(e){l=d;d:{if((e|0)==255){t[d+1|0]=w[b|0]>>>1&124|w[b+1|0]>>>6;c=w[b+1|0]<<2&-32|w[b+2|0]>>>3;break d}j=w[b+2|0];i=e^255;k=w[d+1|0];g=w[d|0];h=(B(e,w[b+1|0])+B(i,(k<<6|g>>>2)&248)|0)+128|0;h=(h>>>8&255)+h|0;k=(B(i,k<<1&240)+B(e,w[b|0])|0)+128|0;t[d+1|0]=h>>>14&3|(k>>>8&255)+k>>>9&124;e=(B(i,g<<3&248)+B(e,j)|0)+128|0;c=(e>>>8&255)+e>>>11&31|h>>>6&224}t[l|0]=c}b=b+4|0;c=v[a+584>>2];d=(c<<1)+d|0;f=c+f|0;if((f|0)>2]){continue}break}}d=v[a+680>>2]+v[a+572>>2]|0;c=v[a+664>>2];b=v[a+556>>2];f=v[a+672>>2];e:{if((f|0)>=v[a+552>>2]){if(b){break e}b=0}v[a+552>>2]=f}l=b;b=v[a+676>>2];if((l|0)<(b|0)){v[a+556>>2]=b}b=v[a+564>>2];d=d-c|0;f:{if((d|0)>=v[a+560>>2]){if(b){break f}b=0}v[a+560>>2]=d}if((b|0)<=(d|0)){v[a+564>>2]=d+1}return 0}function C_(a,b){a=a|0;b=b|0;var 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;c=Ma-1328|0;Ma=c;d=v[a+4>>2];e=v[d+328>>2];v[c+1320>>2]=0;l=v[d+136>>2];m=v[d+100>>2];j=v[v[d+128>>2]+52>>2];a:{b:{if(j){f=Qa[v[v[j>>2]>>2]](v[j+4>>2],b,c+664|0)|0;v[c+1320>>2]=f;if(f){break a}v[c+1324>>2]=v[c+664>>2];h=QA(c+1324|0,w[d+288|0]);g=v[c+668>>2];c:{if(!g){f=0;g=0;break c}f=g-v[d+288>>2]|0;g=cc(m,f,c+1320|0);if(v[c+1320>>2]){break c}cb(g,v[c+664>>2]+v[d+288>>2]|0,f)}Qa[v[v[j>>2]+4>>2]](v[j+4>>2],c+664|0);if(!v[c+1320>>2]){break b}break a}f=v[d+292>>2]+v[d+288>>2]|0;h=Mb(e,(v[d+284>>2]+v[d+308>>2]|0)+B(f,b)|0);v[c+1320>>2]=h;if(h){break a}f=Ed(e,f<<1);v[c+1320>>2]=f;if(f){break a}v[c+1324>>2]=v[e+32>>2];g=c+1324|0;h=QA(g,w[d+288|0]);i=QA(g,w[d+292|0]);v[c+1324>>2]=v[c+1324>>2]+v[d+288>>2];g=QA(g,w[d+292|0]);dd(e);d:{e:{if(!(!(y[d+300>>2]<=h>>>0|g>>>0>y[e+4>>2])&g>>>0>=i>>>0)){v[c+1320>>2]=9;break e}f=g-i|0;if(f){break d}}g=0;break a}g=cc(m,f,c+1320|0);if(v[c+1320>>2]){break a}e=fB(e,i+v[d+308>>2]|0,g,f);v[c+1320>>2]=e;if(e){break a}}e=v[d+316>>2]+(h<<3)|0;v[a+1364>>2]=v[e>>2];e=v[e+4>>2];v[a+1372>>2]=0;v[a+1376>>2]=0;v[a+1368>>2]=e;e=v[d+304>>2]+B(h,252)|0;h=v[e+220>>2];v[a+1380>>2]=v[e+216>>2];v[a+1384>>2]=h;i=v[e+228>>2];h=a+1388|0;v[h>>2]=v[e+224>>2];v[h+4>>2]=i;h=v[e+236>>2];v[a+1396>>2]=v[e+232>>2];v[a+1400>>2]=h;i=v[e+4>>2];v[a+1360>>2]=i;h=(i|0)>-1?i:0;if(h>>>0<=f>>>0){if((i|0)>=0){Qa[v[l+16>>2]](g,f,4330)}f:{if(w[a+70|0]){d=Qa[v[v[l+12>>2]+8>>2]](a,g+h|0,f-h|0)|0;v[c+1320>>2]=d;k=0;break f}k=c+664|0;Qa[v[l+24>>2]](k,a,1);i=d;d=c+8|0;Qa[v[l+28>>2]](i,e,d);v[c+1200>>2]=d;e=g+h|0;f=f-h|0;d=Qa[v[v[l+12>>2]+12>>2]](k,e,f)|0;v[c+1320>>2]=d;k=0;if((d&255)!=164){break f}t[v[a+8>>2]+160|0]=0;d=Qa[v[v[l+12>>2]+12>>2]](c+664|0,e,f)|0;v[c+1320>>2]=d;k=1}if(!v[v[j>>2]+8>>2]|(!j|d)){break a}d=v[a+32>>2];v[c+668>>2]=0;v[c+664>>2]=((d+(d>>31)|0)+32768&-65536)>>16;d=v[a+40>>2];v[c+672>>2]=(((d>>31)+d|0)+32768&-65536)>>16;d=v[a+44>>2];v[c+676>>2]=(((d>>31)+d|0)+32768&-65536)>>16;n=c,o=Qa[v[v[j>>2]+8>>2]](v[j+4>>2],b,0,c+664|0)|0,v[n+1320>>2]=o;v[a+32>>2]=v[c+664>>2]<<16;v[a+40>>2]=v[c+672>>2]<<16;v[a+44>>2]=v[c+676>>2]<<16;break a}v[c+1320>>2]=9}if(g){Qa[v[m+8>>2]](m,g)}t[v[a+8>>2]+161|0]=k;Ma=c+1328|0;return v[c+1320>>2]}function FY(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=-102;a:{if(!a){break a}d=v[a+224>>2];if(!d){break a}if(!v[d>>2]){return-100}if(!c){return 0}v[d+20>>2]=c;v[d+16>>2]=b;f=v[d+132>>2];b=v[d+128>>2];a=c;if(!(v[d+200>>2]|(!f&b>>>0>=c>>>0|(f|0)!=0))){c=b;v[d+20>>2]=b}g=v[d+120>>2];b=v[d+8>>2];e=g+b|0;h=v[d+124>>2];h=b>>>0>e>>>0?h+1|0:h;if(!(!v[d+200>>2]|(!h&a>>>0<=e>>>0|(h|0)!=0))){c=b+g|0;v[d+20>>2]=c}a=0;if(!c){return 0}k=d+4|0;l=d+136|0;while(1){b:{if(b){break b}b=v[d+124>>2];e=b;g=v[d+120>>2];if(!(b|g)){b=0;break b}f=-1;h=v[d+196>>2]+v[d+68>>2]|0;b=v[d+64>>2];c=b+v[d+192>>2]|0;if(Qi(l,v[d+180>>2],c,b>>>0>c>>>0?h+1|0:h,0)){break a}b=!e&g>>>0<16384;c=b?g:16384;h=b?e:0;b=c;if((b|0)!=(Qa[v[d+140>>2]](v[d+164>>2],v[d+180>>2],v[d>>2],b)|0)){break a}v[d+8>>2]=b;v[d+4>>2]=v[d>>2];g=h+v[d+68>>2]|0;e=c+v[d+64>>2]|0;v[d+64>>2]=e;v[d+68>>2]=c>>>0>e>>>0?g+1|0:g;g=v[d+120>>2];f=v[d+124>>2]-((c>>>0>g>>>0)+h|0)|0;v[d+120>>2]=g-c;v[d+124>>2]=f}c:{d:{e:{c=v[d+184>>2];if(!(v[d+200>>2]?0:c)){if(!(!!(v[d+120>>2]|v[d+124>>2])|b)){return a}c=v[d+20>>2];g=b>>>0>c>>>0?c:b;f:{if(!g){break f}f=g&3;b=0;if(g-1>>>0>=3){c=g&-4;while(1){t[v[d+16>>2]+b|0]=w[v[d+4>>2]+b|0];e=b|1;t[e+v[d+16>>2]|0]=w[e+v[d+4>>2]|0];e=b|2;t[e+v[d+16>>2]|0]=w[e+v[d+4>>2]|0];e=b|3;t[e+v[d+16>>2]|0]=w[e+v[d+4>>2]|0];b=b+4|0;c=c-4|0;if(c){continue}break}}if(!f){break f}while(1){t[v[d+16>>2]+b|0]=w[v[d+4>>2]+b|0];b=b+1|0;f=f-1|0;if(f){continue}break}}i=v[d+108>>2];b=g;f=v[d+104>>2];e=b+f|0;v[d+104>>2]=e;v[d+108>>2]=f>>>0>e>>>0?i+1|0:i;m=d,n=lf(v[d+112>>2],v[d+16>>2],b),v[m+112>>2]=n;f=v[d+128>>2];c=v[d+132>>2]-(b>>>0>f>>>0)|0;v[d+128>>2]=f-b;v[d+132>>2]=c;v[d+8>>2]=v[d+8>>2]-b;v[d+20>>2]=v[d+20>>2]-b;v[d+16>>2]=v[d+16>>2]+b;v[d+4>>2]=v[d+4>>2]+b;v[d+24>>2]=v[d+24>>2]+b;a=a+b|0;break e}if((c|0)==12){break e}g=v[d+16>>2];f=v[d+24>>2];b=bk(k,2);if((b|0)>=0){b=v[d+28>>2]?-3:b}e=v[d+24>>2];c=e-f|0;h=v[d+104>>2];j=c+h|0;e=0-(f>>>0>e>>>0)|0;i=e+v[d+108>>2]|0;v[d+104>>2]=j;v[d+108>>2]=h>>>0>j>>>0?i+1|0:i;m=d,n=lf(v[d+112>>2],g,c),v[m+112>>2]=n;f=e;e=v[d+128>>2];g=v[d+132>>2]-(f+(c>>>0>e>>>0)|0)|0;v[d+128>>2]=e-c;v[d+132>>2]=g;a=a+c|0;if(!b){break e}f=a;if((b|0)==1){break a}break d}if(v[d+20>>2]){break c}b=a}f=b;break a}b=v[d+8>>2];continue}}return f}function DCa(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,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;C=Ma-512|0;Ma=C;s=v[a+332>>2];a=v[b+84>>2];b=C;while(1){l=B(v[a+64>>2],u[c+32>>1]);n=B(v[a+192>>2],u[c+96>>1]);i=l-n|0;p=B(i,11363);k=B(v[a+96>>2],u[c+48>>1]);j=B(v[a+32>>2],u[c+16>>1]);g=B(k+j|0,11086);q=p+B(n,20995)|0;o=B(v[a+128>>2],u[c+64>>1]);x=B(o,10703);h=B(u[c>>1],v[a>>2])<<13|1024;y=x+h|0;r=q+y|0;f=B(v[a+224>>2],u[c+112>>1]);D=B(f+j|0,8956);m=B(v[a+160>>2],u[c+80>>1]);E=m+j|0;z=B(E,10217);A=D+(z+(g+B(j,-18730)|0)|0)|0;v[b+480>>2]=r-A>>11;v[b>>2]=r+A>>11;i=B(i,2260);r=i+B(l,7373)|0;o=B(o,4433);A=o+h|0;F=r+A|0;G=f+k|0;H=B(G,-5461);I=B(k+m|0,1136);g=H+(I+(g+B(k,589)|0)|0)|0;v[b+448>>2]=F-g>>11;v[b+32>>2]=g+F>>11;l=p+B(l,-4926)|0;p=h-o|0;g=l+p|0;o=B(f+m|0,-11086);z=o+(z+(B(m,-9222)+I|0)|0)|0;v[b+416>>2]=g-z>>11;v[b+64>>2]=g+z>>11;n=i+B(n,-4176)|0;h=h-x|0;g=n+h|0;i=o+((B(f,8728)+H|0)+D|0)|0;v[b+384>>2]=g-i>>11;v[b+96>>2]=g+i>>11;h=h-n|0;g=B(j-f|0,7350);n=B(G,-10217);i=g+(n+B(f,25733)|0)|0;f=B(f-m|0,3363);i=i+f|0;v[b+352>>2]=h-i>>11;v[b+128>>2]=h+i>>11;h=p-l|0;l=B(E,5461);i=B(m,-6278);m=B(m-k|0,11529);f=f+(l+(i+m|0)|0)|0;v[b+320>>2]=h-f>>11;v[b+160>>2]=f+h>>11;f=A-r|0;h=B(k,16154);k=B(j-k|0,3363);m=n+(m+(h+k|0)|0)|0;v[b+288>>2]=f-m>>11;v[b+192>>2]=f+m>>11;f=y-q|0;k=g+(l+(k+B(j,-15038)|0)|0)|0;v[b+256>>2]=f-k>>11;v[b+224>>2]=f+k>>11;b=b+4|0;a=a+4|0;c=c+2|0;J=J+1|0;if((J|0)!=8){continue}break}a=s+128|0;k=0;b=C;while(1){j=v[b+4>>2];f=v[b+28>>2];m=B(j+f|0,-7373);h=v[b+20>>2];g=h+j|0;l=v[b+12>>2];s=l+f|0;n=B(g+s|0,9633);i=v[b+24>>2];q=v[b+8>>2];p=B(i+q|0,4433);c=v[(k<<2)+d>>2]+e|0;o=m+B(j,12299)|0;j=n+B(g,-3196)|0;g=o+j|0;o=v[b>>2]+16|0;x=v[b+16>>2];y=o+x<<13;q=p+B(q,6270)|0;r=y+q|0;t[c|0]=w[a+(g+r>>>18&1023)|0];t[c+7|0]=w[a+(r-g>>>18&1023)|0];n=n+B(s,-16069)|0;g=B(l,25172);l=B(h+l|0,-20995);g=n+(g+l|0)|0;s=o-x<<13;p=p+B(i,-15137)|0;i=s+p|0;t[c+1|0]=w[a+(g+i>>>18&1023)|0];t[c+6|0]=w[a+(i-g>>>18&1023)|0];j=j+(l+B(h,16819)|0)|0;h=s-p|0;t[c+2|0]=w[a+(j+h>>>18&1023)|0];t[c+5|0]=w[a+(h-j>>>18&1023)|0];j=n+(m+B(f,2446)|0)|0;f=y-q|0;t[c+3|0]=w[a+(j+f>>>18&1023)|0];t[c+4|0]=w[a+(f-j>>>18&1023)|0];b=b+32|0;k=k+1|0;if((k|0)!=16){continue}break}Ma=C+512|0}function W$a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=v[a+572>>2];c=v[a+664>>2];a:{if((d|0)<(c|0)|(d|0)>=v[a+668>>2]){break a}d=Qa[v[a+220>>2]](a,v[a+680>>2]+(d-c|0)|0)|0;c=v[a+580>>2];d=(d+(c<<1)|0)+(v[a+672>>2]<<1)|0;b=v[a+656>>2];e=(b|0)/v[a+584>>2]|0;j=v[a+644>>2];b:{if(!w[a+648|0]){f=b+c|0;b=j+(e<<2)|0;c=v[a+660>>2];if(!w[a+649|0]){break b}if((c|0)<=(f|0)){break a}while(1){t[d+1|0]=w[b|0]&248|w[b+1|0]>>>5;t[d|0]=w[b+1|0]<<3&224|w[b+2|0]>>>3;b=b+4|0;c=v[a+584>>2];d=(c<<1)+d|0;f=c+f|0;if((f|0)>2]){continue}break}break a}f=b+c|0;b=j+(e<<3)|0;c=v[a+660>>2];if(w[a+649|0]){if((c|0)<=(f|0)){break a}while(1){t[d+1|0]=w[b|0]&248|w[b+2|0]>>>5;t[d|0]=w[b+2|0]<<3&224|w[b+4|0]>>>3;b=b+8|0;c=v[a+584>>2];d=(c<<1)+d|0;f=c+f|0;if((f|0)>2]){continue}break}break a}if((c|0)<=(f|0)){break a}while(1){c=w[b+6|0]|w[b+7|0]<<8;e=(c<<8|c>>>8)&65535;if(e){k=d;c:{if((e|0)==65535){t[d+1|0]=w[b|0]&248|w[b+2|0]>>>5;c=w[b+2|0]<<3&-32|w[b+4|0]>>>3;break c}j=w[b+4|0]|w[b+5|0]<<8;i=w[b+2|0]|w[b+3|0]<<8;c=B(e,(i<<8|i>>>8)&65535);i=w[d|0];l=w[d+1|0];h=i>>>3&28|l<<5;g=h<<8&64512|h;h=e^65535;g=(c+B(g,h)|0)+32768|0;g=(g>>>16|0)+g|0;c=w[b|0]|w[b+1|0]<<8;i=(B(e,(c<<8|c>>>8)&65535)+B(h,i<<11&63488|i<<3)|0)+32768|0;t[d+1|0]=g>>>29|(i>>>16|0)+i>>>24&248;e=(B((j<<8|j>>>8)&65535,e)+B(B(h,l&248),257)|0)+32768|0;c=g>>>21&224|(e>>>16|0)+e>>>27}t[k|0]=c}b=b+8|0;c=v[a+584>>2];d=(c<<1)+d|0;f=c+f|0;if((f|0)>2]){continue}break}break a}if((c|0)<=(f|0)){break a}while(1){e=w[b+3|0];if(e){k=d;d:{if((e|0)==255){t[d+1|0]=w[b|0]&248|w[b+1|0]>>>5;c=w[b+1|0]<<3&-32|w[b+2|0]>>>3;break d}i=w[b+2|0];j=e^255;h=w[d+1|0];l=w[d|0];g=(B(e,w[b+1|0])+B(j,(h<<5|l>>>3)&252)|0)+128|0;g=(g>>>8&255)+g|0;h=(B(j,h&248)+B(e,w[b|0])|0)+128|0;t[d+1|0]=g>>>13&7|(h>>>8&255)+h>>>8&248;e=(B(j,l<<3&248)+B(e,i)|0)+128|0;c=(e>>>8&255)+e>>>11&31|g>>>5&224}t[k|0]=c}b=b+4|0;c=v[a+584>>2];d=(c<<1)+d|0;f=c+f|0;if((f|0)>2]){continue}break}}d=v[a+680>>2]+v[a+572>>2]|0;c=v[a+664>>2];b=v[a+556>>2];f=v[a+672>>2];e:{if((f|0)>=v[a+552>>2]){if(b){break e}b=0}v[a+552>>2]=f}k=b;b=v[a+676>>2];if((k|0)<(b|0)){v[a+556>>2]=b}b=v[a+564>>2];d=d-c|0;f:{if((d|0)>=v[a+560>>2]){if(b){break f}b=0}v[a+560>>2]=d}if((b|0)<=(d|0)){v[a+564>>2]=d+1}return 0}function cCa(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,h=0,i=0,j=0,k=0,l=0;k=3;a:{if((d|0)<0){break a}j=v[a+8>>2];f=v[a+12>>2];i=x[f+2>>1];if((e|0)<0|y[j+4>>2]>>0){break a}f=x[f>>1];if(y[j>>2]>>0){break a}i=B(i,w[a+18|0]);if(B(i+7>>>3|0,f)+b>>>0>c>>>0){break a}a=d>>>3|0;h=v[j+8>>2];j=v[j+12>>2];c=(a+B(h,e)|0)+j|0;g=d&7;if(g){k=0;if(!f){break a}if(i>>>0>=8){while(1){d=0;e=i;a=c;while(1){j=a;k=b;d=w[b|0]|d;t[a|0]=w[a|0]|d>>>g;l=e;e=e-8|0;a=a+1|0;b=b+1|0;d=d<<8;if((l|0)>15){continue}break}if((l|0)>8){d=w[k+1|0]&65280>>>e|d;b=k+2|0}t[a|0]=w[a|0]|d>>>g;if((e+g|0)>=9){t[j+2|0]=w[j+2|0]|d<<8>>>g}c=c+h|0;a=f;f=a-1|0;k=0;if((a|0)>1){continue}break a}}d=65280>>>i|0;if(g+i>>>0>=9){if(!i){break a}if((h|0)!=1){if(f&1){a=d&w[b|0];t[c|0]=w[c|0]|a>>>g;t[c+1|0]=w[c+1|0]|a<<8>>>g;c=c+h|0;b=b+1|0;a=f-1|0}else{a=f}if((f|0)==1){break a}while(1){e=d&w[b|0];t[c|0]=w[c|0]|e>>>g;t[c+1|0]=w[c+1|0]|e<<8>>>g;c=c+h|0;e=d&w[b+1|0];t[c|0]=w[c|0]|e>>>g;t[c+1|0]=w[c+1|0]|e<<8>>>g;b=b+2|0;c=c+h|0;e=(a|0)>2;a=a-2|0;if(e){continue}break}break a}e=w[j+(a+e|0)|0];if(f&1){a=d&w[b|0];t[c|0]=a>>>g|e;e=w[c+1|0]|a<<8>>>g;t[c+1|0]=e;c=c+h|0;b=b+1|0;a=f-1|0}else{a=f}if((f|0)==1){break a}while(1){f=e;e=d&w[b|0];t[c|0]=f|e>>>g;e=w[c+1|0]|e<<8>>>g;t[c+1|0]=e;c=c+h|0;f=d&w[b+1|0];t[c|0]=e|f>>>g;e=w[c+1|0]|f<<8>>>g;t[c+1|0]=e;b=b+2|0;c=c+h|0;f=(a|0)>2;a=a-2|0;if(f){continue}break}break a}if(!i){break a}if(f&1){t[c|0]=w[c|0]|(d&w[b|0])>>>g;c=c+h|0;b=b+1|0;a=f-1|0}else{a=f}if((f|0)==1){break a}while(1){t[c|0]=w[c|0]|(d&w[b|0])>>>g;c=c+h|0;t[c|0]=w[c|0]|(d&w[b+1|0])>>>g;b=b+2|0;c=c+h|0;e=(a|0)>2;a=a-2|0;if(e){continue}break}break a}k=0;if(!f){break a}if(i>>>0>=8){while(1){a=f;d=i;f=c;while(1){e=b;t[f|0]=w[b|0]|w[f|0];j=d;d=d-8|0;f=f+1|0;b=b+1|0;if((j|0)>15){continue}break}if((j|0)>8){t[f|0]=w[f|0]|w[e+1|0]&65280>>>d;b=e+2|0}c=c+h|0;f=a-1|0;if((a|0)>1){continue}break a}}if(!i){break a}d=65280>>>i|0;e=f-1|0;a=f&3;if(a){while(1){t[c|0]=w[c|0]|d&w[b|0];c=c+h|0;f=f-1|0;b=b+1|0;a=a-1|0;if(a){continue}break}}if(e>>>0<3){break a}while(1){t[c|0]=w[c|0]|d&w[b|0];a=c+h|0;t[a|0]=w[a|0]|d&w[b+1|0];a=a+h|0;t[a|0]=w[a|0]|d&w[b+2|0];a=a+h|0;t[a|0]=w[a|0]|d&w[b+3|0];b=b+4|0;c=a+h|0;a=(f|0)>4;f=f-4|0;if(a){continue}break}}return k|0}function NBa(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,n=0,o=0,p=0,q=0,r=0,s=0,y=0,z=0,A=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;b=v[b+84>>2];f=B(v[b+160>>2],u[c+80>>1]);h=B(v[b+32>>2],u[c+16>>1]);g=B(f+h|0,2998);l=v[d>>2]+e|0;a=v[a+332>>2]+128|0;m=B(v[b+96>>2],x[c+48>>1]);D=g+(m+h<<13)|0;E=B(B(u[c+32>>1],v[b+64>>2]),10033);r=B(u[c>>1],v[b>>2])<<13|1024;s=B(v[b+128>>2],u[c+64>>1]);F=r+B(s,5793)|0;G=E+F|0;H=(D+G<<2)+131072&-8192;i=B(v[b+168>>2],u[c+84>>1]);n=B(v[b+40>>2],u[c+20>>1]);y=B(i+n|0,2998);j=B(v[b+104>>2],u[c+52>>1]);I=y+(j+n<<13)|0;z=B(B(u[c+36>>1],v[b+72>>2]),10033);A=B(u[c+4>>1],v[b+8>>2])<<13|1024;k=B(v[b+136>>2],u[c+68>>1]);J=A+B(k,5793)|0;K=z+J|0;C=I+K>>11;L=H+B(C,5793)|0;o=B(v[b+164>>2],u[c+82>>1]);p=B(v[b+36>>2],u[c+18>>1]);M=B(o+p|0,2998);q=B(v[b+100>>2],u[c+50>>1]);N=M+(q+p<<13)|0;O=B(B(u[c+34>>1],v[b+68>>2]),10033);P=B(u[c+2>>1],v[b+4>>2])<<13|1024;c=B(v[b+132>>2],u[c+66>>1]);Q=P+B(c,5793)|0;R=O+Q|0;b=B(N+R>>11,10033);t[l|0]=w[a+(L+b>>>18&1023)|0];t[l+2|0]=w[a+(L-b>>>18&1023)|0];t[l+1|0]=w[a+(H+B(C,-11586)>>>18&1023)|0];b=v[d+4>>2]+e|0;l=n-(i+j|0)<<2;n=A+B(k,-11586)>>11;k=l+n|0;h=h-(f+m|0)<<2;A=r+B(s,-11586)>>11;C=(h+A<<13)+131072|0;s=B(k,5793)+C|0;p=p-(o+q|0)<<2;c=B(c,-11586)+P>>11;r=B(p+c|0,10033);t[b|0]=w[a+(s+r>>>18&1023)|0];t[b+2|0]=w[a+(s-r>>>18&1023)|0];t[b+1|0]=w[a+(C+B(k,-11586)>>>18&1023)|0];b=v[d+8>>2]+e|0;f=g+(f-m<<13)|0;g=F-E|0;m=(f+g<<2)+131072&-8192;i=(i-j<<13)+y|0;j=J-z|0;y=i+j>>11;z=m+B(y,5793)|0;o=(o-q<<13)+M|0;q=Q-O|0;k=B(o+q>>11,10033);t[b|0]=w[a+(z+k>>>18&1023)|0];t[b+2|0]=w[a+(z-k>>>18&1023)|0];t[b+1|0]=w[a+(m+B(y,-11586)>>>18&1023)|0];b=v[d+12>>2]+e|0;f=(g-f<<2)+131072&-8192;i=j-i>>11;g=f+B(i,5793)|0;j=B(q-o>>11,10033);t[b|0]=w[a+(g+j>>>18&1023)|0];t[b+2|0]=w[a+(g-j>>>18&1023)|0];t[b+1|0]=w[a+(f+B(i,-11586)>>>18&1023)|0];b=v[d+16>>2]+e|0;h=(A-h<<13)+131072|0;f=n-l|0;g=h+B(f,5793)|0;c=B(c-p|0,10033);t[b|0]=w[a+(g+c>>>18&1023)|0];t[b+2|0]=w[a+(g-c>>>18&1023)|0];t[b+1|0]=w[a+(h+B(f,-11586)>>>18&1023)|0];b=v[d+20>>2]+e|0;d=(G-D<<2)+131072&-8192;c=K-I>>11;e=d+B(c,5793)|0;f=B(R-N>>11,10033);t[b|0]=w[a+(e+f>>>18&1023)|0];t[b+2|0]=w[a+(e-f>>>18&1023)|0];t[b+1|0]=w[a+(d+B(c,-11586)>>>18&1023)|0]}function IJ(a,b,c,d,e,f,g,h){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,w=0,x=0;t=c+e;k=+v[a+24>>2];e=ef(k*f,k*e);s=ef(k*h,k*g);k=A[a+8>>3];k=Sx(k/(k+.125/A[a+48>>3]));l=v[b+4>>2];n=v[b>>2];o=n>>>6|0;if(l>>>0<=o>>>0){i=v[b+8>>2];a:{if(i>>>0>o>>>0){p=v[b+12>>2];break a}j=i+v[b+16>>2]|0;p=ab((j|0)!=(j&1073741823)?-1:j<<2);i=b;m=v[b+12>>2];if(m){cb(p,m,l<<2);$a(m);n=v[b>>2];l=v[b+4>>2];j=v[b+8>>2]+v[b+16>>2]|0}v[i+8>>2]=j;v[b+12>>2]=p}w=(o<<2)+p|0,x=ab(1024),v[w>>2]=x;v[b+4>>2]=l+1}u=k+k;i=v[v[b+12>>2]+(o<<2)>>2]+((n&63)<<4)|0;A[i+8>>3]=d+f;A[i>>3]=t;q=v[b>>2]+1|0;v[b>>2]=q;b:{if(v[a+24>>2]>=1){k=(e>s?s+6.283185307179586:s)-e;f=k/u;c:{if(D(f)<2147483648){m=~~f;break c}m=-2147483648}if((m|0)<1){break b}t=k/+(m+1|0);l=0;while(1){f=A[a>>3];e=t+e;k=f*_d(e)+d;f=f*oe(e)+c;p=v[b+4>>2];o=q>>>6|0;if(p>>>0<=o>>>0){i=v[b+8>>2];d:{if(i>>>0>o>>>0){r=v[b+12>>2];break d}j=i+v[b+16>>2]|0;r=ab((j|0)!=(j&1073741823)?-1:j<<2);i=b;n=v[b+12>>2];if(n){cb(r,n,p<<2);$a(n);q=v[b>>2];p=v[b+4>>2];j=v[b+8>>2]+v[b+16>>2]|0}v[i+8>>2]=j;v[b+12>>2]=r}w=(o<<2)+r|0,x=ab(1024),v[w>>2]=x;v[b+4>>2]=p+1}i=v[v[b+12>>2]+(o<<2)>>2]+((q&63)<<4)|0;A[i+8>>3]=k;A[i>>3]=f;q=v[b>>2]+1|0;v[b>>2]=q;l=l+1|0;if((m|0)!=(l|0)){continue}break}break b}k=e-(e>3];e=e-t;k=f*_d(e)+d;f=f*oe(e)+c;p=v[b+4>>2];o=q>>>6|0;if(p>>>0<=o>>>0){i=v[b+8>>2];f:{if(i>>>0>o>>>0){r=v[b+12>>2];break f}j=i+v[b+16>>2]|0;r=ab((j|0)!=(j&1073741823)?-1:j<<2);i=b;n=v[b+12>>2];if(n){cb(r,n,p<<2);$a(n);q=v[b>>2];p=v[b+4>>2];j=v[b+8>>2]+v[b+16>>2]|0}v[i+8>>2]=j;v[b+12>>2]=r}w=(o<<2)+r|0,x=ab(1024),v[w>>2]=x;v[b+4>>2]=p+1}i=v[v[b+12>>2]+(o<<2)>>2]+((q&63)<<4)|0;A[i+8>>3]=k;A[i>>3]=f;q=v[b>>2]+1|0;v[b>>2]=q;l=l+1|0;if((m|0)!=(l|0)){continue}break}}l=v[b+4>>2];n=q>>>6|0;if(l>>>0<=n>>>0){a=v[b+8>>2];g:{if(a>>>0>n>>>0){a=v[b+12>>2];break g}j=a+v[b+16>>2]|0;a=ab((j|0)!=(j&1073741823)?-1:j<<2);i=b;m=v[b+12>>2];if(m){cb(a,m,l<<2);$a(m);q=v[b>>2];l=v[b+4>>2];j=v[b+8>>2]+v[b+16>>2]|0}v[i+8>>2]=j;v[b+12>>2]=a}w=(n<<2)+a|0,x=ab(1024),v[w>>2]=x;v[b+4>>2]=l+1}a=v[v[b+12>>2]+(n<<2)>>2]+((q&63)<<4)|0;A[a+8>>3]=d+h;A[a>>3]=c+g;v[b>>2]=v[b>>2]+1}function Vta(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,p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0,A=0,C=0;t[a+192|0]=0;t[a+193|0]=0;t[a+194|0]=0;t[a+195|0]=0;t[a+196|0]=0;t[a+197|0]=0;t[a+198|0]=0;t[a+199|0]=0;t[a+248|0]=0;t[a+249|0]=0;t[a+250|0]=0;t[a+251|0]=0;t[a+252|0]=0;t[a+253|0]=0;t[a+254|0]=0;t[a+255|0]=0;t[a+240|0]=0;t[a+241|0]=0;t[a+242|0]=0;t[a+243|0]=0;t[a+244|0]=0;t[a+245|0]=0;t[a+246|0]=0;t[a+247|0]=0;t[a+232|0]=0;t[a+233|0]=0;t[a+234|0]=0;t[a+235|0]=0;t[a+236|0]=0;t[a+237|0]=0;t[a+238|0]=0;t[a+239|0]=0;t[a+224|0]=0;t[a+225|0]=0;t[a+226|0]=0;t[a+227|0]=0;t[a+228|0]=0;t[a+229|0]=0;t[a+230|0]=0;t[a+231|0]=0;t[a+216|0]=0;t[a+217|0]=0;t[a+218|0]=0;t[a+219|0]=0;t[a+220|0]=0;t[a+221|0]=0;t[a+222|0]=0;t[a+223|0]=0;t[a+208|0]=0;t[a+209|0]=0;t[a+210|0]=0;t[a+211|0]=0;t[a+212|0]=0;t[a+213|0]=0;t[a+214|0]=0;t[a+215|0]=0;t[a+200|0]=0;t[a+201|0]=0;t[a+202|0]=0;t[a+203|0]=0;t[a+204|0]=0;t[a+205|0]=0;t[a+206|0]=0;t[a+207|0]=0;f=a;while(1){d=v[(k<<2)+b>>2]+c|0;i=w[d+11|0];l=w[d|0];g=i+l|0;m=w[d+5|0];n=w[d+6|0];j=m+n|0;o=g-j|0;p=w[d+10|0];q=w[d+1|0];e=p+q|0;r=w[d+7|0];s=w[d+4|0];h=r+s|0;u=w[d+9|0];x=w[d+2|0];y=u+x|0;z=w[d+8|0];A=w[d+3|0];C=z+A|0;d=y-C|0;v[f+24>>2]=o-((e-h|0)+d|0)<<2;g=g+j|0;j=y+C|0;v[f+16>>2]=B(g-j|0,10033)+1024>>11;v[f>>2]=(g+(h+(e+j|0)|0)<<2)-6144;v[f+8>>2]=((e-(d+h|0)|0)+B(d+o|0,11190)|0)+1024>>11;h=s-r|0;j=q-p|0;g=B(h+j|0,4433);d=l-i|0;e=A-z|0;l=g+B(h,-15137)|0;h=m-n|0;i=x-u|0;v[f+12>>2]=((B(d-e|0,10703)+l|0)+B(h+i|0,-4433)|0)+1024>>11;m=B(d+e|0,7053);n=m+B(e,5946)|0;e=B(e+i|0,-1512);g=g+B(j,6270)|0;v[f+28>>2]=(((n+e|0)-g|0)+B(h,-9191)|0)+1024>>11;j=e;e=B(d+i|0,9191)+1024|0;v[f+20>>2]=((j+(e+B(i,-19165)|0)|0)-l|0)+B(h,7053)>>11;v[f+4>>2]=(g+(m+(e+B(d,-4758)|0)|0)|0)+B(h,1512)>>11;f=f+32|0;k=k+1|0;if((k|0)!=6){continue}break}b=7;while(1){f=v[a+160>>2];d=v[a>>2];c=f+d|0;e=v[a+96>>2];h=v[a+64>>2];i=e+h|0;v[a+64>>2]=B(c-i|0,17837)+32768>>16;c=c+i|0;i=v[a+128>>2];k=v[a+32>>2];g=i+k|0;v[a+128>>2]=B(c-(g<<1)|0,10298)+32768>>16;v[a>>2]=B(c+g|0,14564)+32768>>16;c=h-e|0;f=d-f|0;d=B(c+f|0,5331)+32768|0;e=k-i|0;v[a+160>>2]=d+B(c-e|0,14564)>>16;v[a+96>>2]=B(f-(c+e|0)|0,14564)+32768>>16;v[a+32>>2]=d+B(f+e|0,14564)>>16;c=b;b=c-1|0;a=a+4|0;if(c){continue}break}}function V$a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=v[a+572>>2];c=v[a+664>>2];a:{if((d|0)<(c|0)|(d|0)>=v[a+668>>2]){break a}d=Qa[v[a+220>>2]](a,v[a+680>>2]+(d-c|0)|0)|0;c=v[a+580>>2];d=(d+(c<<1)|0)+(v[a+672>>2]<<1)|0;b=v[a+656>>2];e=(b|0)/v[a+584>>2]|0;i=v[a+644>>2];b:{if(!w[a+648|0]){f=b+c|0;b=i+(e<<2)|0;c=v[a+660>>2];if(!w[a+649|0]){break b}if((c|0)<=(f|0)){break a}while(1){t[d+1|0]=w[b+2|0]&248|w[b+1|0]>>>5;t[d|0]=w[b+1|0]<<3&224|w[b|0]>>>3;b=b+4|0;c=v[a+584>>2];d=(c<<1)+d|0;f=c+f|0;if((f|0)>2]){continue}break}break a}f=b+c|0;b=i+(e<<3)|0;c=v[a+660>>2];if(w[a+649|0]){if((c|0)<=(f|0)){break a}while(1){t[d+1|0]=w[b+4|0]&248|w[b+2|0]>>>5;t[d|0]=w[b+2|0]<<3&224|w[b|0]>>>3;b=b+8|0;c=v[a+584>>2];d=(c<<1)+d|0;f=c+f|0;if((f|0)>2]){continue}break}break a}if((c|0)<=(f|0)){break a}while(1){c=w[b+6|0]|w[b+7|0]<<8;e=(c<<8|c>>>8)&65535;if(e){l=d;c:{if((e|0)==65535){t[d+1|0]=w[b+4|0]&248|w[b+2|0]>>>5;c=w[b+2|0]<<3&-32|w[b|0]>>>3;break c}i=w[b|0]|w[b+1|0]<<8;j=w[b+2|0]|w[b+3|0]<<8;c=B(e,(j<<8|j>>>8)&65535);j=e^65535;k=w[d+1|0];g=w[d|0];h=(c+B(B(j,(k<<5|g>>>3)&252),257)|0)+32768|0;h=(h>>>16|0)+h|0;c=w[b+4|0]|w[b+5|0]<<8;g=g<<3&248;g=(B(e,(c<<8|c>>>8)&65535)+B(j,g<<8|g)|0)+32768|0;t[d+1|0]=h>>>29|(g>>>16|0)+g>>>24&248;e=(B((i<<8|i>>>8)&65535,e)+B(B(j,k&248),257)|0)+32768|0;c=h>>>21&224|(e>>>16|0)+e>>>27}t[l|0]=c}b=b+8|0;c=v[a+584>>2];d=(c<<1)+d|0;f=c+f|0;if((f|0)>2]){continue}break}break a}if((c|0)<=(f|0)){break a}while(1){e=w[b+3|0];if(e){l=d;d:{if((e|0)==255){t[d+1|0]=w[b+2|0]&248|w[b+1|0]>>>5;c=w[b+1|0]<<3&-32|w[b|0]>>>3;break d}j=w[b|0];i=e^255;k=w[d+1|0];g=w[d|0];h=(B(e,w[b+1|0])+B(i,(k<<5|g>>>3)&252)|0)+128|0;h=(h>>>8&255)+h|0;k=(B(i,k&248)+B(e,w[b+2|0])|0)+128|0;t[d+1|0]=h>>>13&7|(k>>>8&255)+k>>>8&248;e=(B(i,g<<3&248)+B(e,j)|0)+128|0;c=(e>>>8&255)+e>>>11&31|h>>>5&224}t[l|0]=c}b=b+4|0;c=v[a+584>>2];d=(c<<1)+d|0;f=c+f|0;if((f|0)>2]){continue}break}}d=v[a+680>>2]+v[a+572>>2]|0;c=v[a+664>>2];b=v[a+556>>2];f=v[a+672>>2];e:{if((f|0)>=v[a+552>>2]){if(b){break e}b=0}v[a+552>>2]=f}l=b;b=v[a+676>>2];if((l|0)<(b|0)){v[a+556>>2]=b}b=v[a+564>>2];d=d-c|0;f:{if((d|0)>=v[a+560>>2]){if(b){break f}b=0}v[a+560>>2]=d}if((b|0)<=(d|0)){v[a+564>>2]=d+1}return 0}function fK(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{d=b;g=v[b>>2];if(g){c=v[b+4>>2];if(!c){break b}while(1){d=c;c=v[c>>2];if(c){continue}break}}g=v[d+4>>2];if(g){break b}g=0;e=1;break a}v[g+8>>2]=v[d+8>>2];e=0}f=v[d+8>>2];c=v[f>>2];c:{if((d|0)==(c|0)){v[f>>2]=g;if((a|0)==(d|0)){c=0;a=g;break c}c=v[f+4>>2];break c}v[f+4>>2]=g}h=!w[d+12|0];if((b|0)!=(d|0)){f=v[b+8>>2];v[d+8>>2]=f;v[f+((v[v[b+8>>2]>>2]!=(b|0))<<2)>>2]=d;f=v[b>>2];v[d>>2]=f;v[f+8>>2]=d;f=v[b+4>>2];v[d+4>>2]=f;if(f){v[f+8>>2]=d}t[d+12|0]=w[b+12|0];a=(a|0)==(b|0)?d:a}if(!(h|!a)){if(e){while(1){b=w[c+12|0];d:{e=v[c+8>>2];if(v[e>>2]!=(c|0)){e:{f:{if(!b){t[c+12|0]=1;t[e+12|0]=0;d=v[e+4>>2];b=v[d>>2];v[e+4>>2]=b;if(b){v[b+8>>2]=e}v[d+8>>2]=v[e+8>>2];b=v[e+8>>2];v[(((e|0)!=v[b>>2])<<2)+b>>2]=d;v[d>>2]=e;v[e+8>>2]=d;b=v[c>>2];a=(b|0)==(a|0)?c:a;c=v[b+4>>2]}d=v[c>>2];g:{if(!(w[d+12|0]?0:d)){b=v[c+4>>2];if(w[b+12|0]?0:b){break g}t[c+12|0]=0;c=v[c+8>>2];h:{if((c|0)==(a|0)){c=a;break h}if(w[c+12|0]){break d}}t[c+12|0]=1;return}b=v[c+4>>2];if(!b){break f}}if(w[b+12|0]){break f}d=c;break e}t[d+12|0]=1;t[c+12|0]=0;a=v[d+4>>2];v[c>>2]=a;if(a){v[a+8>>2]=c}v[d+8>>2]=v[c+8>>2];a=v[c+8>>2];v[((v[a>>2]!=(c|0))<<2)+a>>2]=d;v[d+4>>2]=c;v[c+8>>2]=d;b=c}c=v[d+8>>2];t[d+12|0]=w[c+12|0];t[c+12|0]=1;t[b+12|0]=1;b=v[c+4>>2];a=v[b>>2];v[c+4>>2]=a;if(a){v[a+8>>2]=c}v[b+8>>2]=v[c+8>>2];a=v[c+8>>2];v[(((c|0)!=v[a>>2])<<2)+a>>2]=b;v[b>>2]=c;v[c+8>>2]=b;return}if(!b){t[c+12|0]=1;t[e+12|0]=0;b=v[c+4>>2];v[e>>2]=b;if(b){v[b+8>>2]=e}v[c+8>>2]=v[e+8>>2];b=v[e+8>>2];v[(((e|0)!=v[b>>2])<<2)+b>>2]=c;v[c+4>>2]=e;v[e+8>>2]=c;a=(a|0)==(e|0)?c:a;c=v[e>>2]}b=v[c>>2];i:{if(!(!b|w[b+12|0])){d=c;break i}d=v[c+4>>2];if(!(w[d+12|0]?0:d)){t[c+12|0]=0;c=v[c+8>>2];if((a|0)!=(c|0)?w[c+12|0]:0){break d}t[c+12|0]=1;return}if(b){if(!w[b+12|0]){d=c;break i}d=v[c+4>>2]}t[d+12|0]=1;t[c+12|0]=0;a=v[d>>2];v[c+4>>2]=a;if(a){v[a+8>>2]=c}v[d+8>>2]=v[c+8>>2];a=v[c+8>>2];v[((v[a>>2]!=(c|0))<<2)+a>>2]=d;v[d>>2]=c;v[c+8>>2]=d;b=c}c=v[d+8>>2];t[d+12|0]=w[c+12|0];t[c+12|0]=1;t[b+12|0]=1;b=v[c>>2];a=v[b+4>>2];v[c>>2]=a;if(a){v[a+8>>2]=c}v[b+8>>2]=v[c+8>>2];a=v[c+8>>2];v[(((c|0)!=v[a>>2])<<2)+a>>2]=b;v[b+4>>2]=c;v[c+8>>2]=b;return}b=v[c+8>>2];c=v[((v[b>>2]==(c|0))<<2)+b>>2];continue}}t[g+12|0]=1}}function nFa(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;v[a+64>>2]=0;v[a+1140>>2]=b;v[a+1344>>2]=a+1140;j=a+112|0;v[a+1136>>2]=j;d=b+c|0;v[a+1148>>2]=d;v[a+1144>>2]=b;k=160;a:{if((c|0)<1){break a}c=j;while(1){e=b+1|0;f=22;b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{g=w[b|0];switch(g-1|0){case 0:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 13:case 14:case 20:case 21:case 29:case 30:break a;case 11:break j;case 12:break k;case 9:break f;case 10:break g;case 1:case 15:case 16:case 17:case 18:case 19:case 22:case 23:case 24:case 25:case 26:case 27:case 28:break h;default:break i}}f=2;break f}if(e>>>0>=d>>>0){break a}e=b+2|0;g=20;f=4;switch(w[b+1|0]-7|0){case 5:break e;case 0:break f;default:break a}}if((g|0)==255){break d}}if(g>>>0<32){break a}l:{if(g>>>0<=246){b=g-139|0;break l}f=b+2|0;if(f>>>0>d>>>0){break a}if(g>>>0<=250){b=(w[e|0]|g<<8)-63124|0}else{b=64148-(w[e|0]|g<<8)|0}e=f}b=i?b:b<<16;f=(i|0)!=0;break c}f=24}g=f;if(i){break a}}b=v[(g<<2)+455344>>2];if((b|0)>c-j>>2){return 161}c=c-(b<<2)|0;b=a;m:{n:{switch(g-2>>>1|0){case 1:v[a+64>>2]=1;v[a+32>>2]=v[c>>2]+v[a+32>>2];v[a+36>>2]=v[c+4>>2]+v[a+36>>2];v[a+40>>2]=v[c+8>>2];a=v[c+12>>2];break m;case 9:n=c,o=Ub(v[c>>2],v[c+4>>2]),v[n>>2]=o;c=c+4|0;i=0;b=e;break b;case 10:b=v[c>>2]>>16;d=v[a+1376>>2];if(d){b=Bl(b,d);if(!b){break a}b=v[b>>2]}if((b|0)<0|v[a+1364>>2]<=(b|0)|(h|0)>15){break a}d=B(h,12)+a|0;v[d+1140>>2]=e;f=d+1156|0;g=b<<2;l=g+v[a+1368>>2]|0;b=v[l>>2];v[f>>2]=b;e=d+1152|0;h=h+1|0;m=(B(h,12)+a|0)+1148|0;d=v[a+1372>>2];o:{if(d){d=v[d+g>>2]+b|0;break o}d=b;b=v[a+1360>>2];b=d+((b|0)>0?b:0)|0;v[f>>2]=b;d=v[l+4>>2]}v[m>>2]=d;v[e>>2]=b;if(!b){break a}v[a+1344>>2]=e;break b;case 11:if((h|0)<1){break a}h=h-1|0;b=B(h,12)+a|0;d=v[b+1148>>2];e=b+1140|0;b=v[e>>2];v[a+1344>>2]=e;break b;case 0:break n;default:break a}}v[a+64>>2]=1;v[a+32>>2]=v[c>>2]+v[a+32>>2];v[a+40>>2]=v[c+4>>2];a=0}v[b+44>>2]=a;k=0;break a}e=b+5|0;if(d>>>0>>0){break a}b=w[b+1|0]|w[b+2|0]<<8|(w[b+3|0]<<16|w[b+4|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(b+32e3>>>0>=64001){f=1;if(!i){break c}break a}b=i?b:b<<16;f=(i|0)!=0}i=f;if((c-j|0)>1020){break a}v[c>>2]=b;c=c+4|0;b=e}v[a+1136>>2]=c;if(b>>>0>>0){continue}break}}return k|0}function WAa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=Ma-16|0;Ma=d;e=v[a+8>>2];f=v[a+12>>2]-e|0;a:{if(!f){break a}l=v[a+4>>2];if(v[l+52>>2]==1){zh(l,839776,2,a+16|0,v[a+20>>2],a+24|0,-1,b);v[l+52>>2]=0}g=v[a+16>>2];v[d+12>>2]=g;c=v[a+20>>2];if(c>>>0<=g>>>0){v[b>>2]=15;break a}f=f>>1;j=v[a+24>>2];v[d+8>>2]=j;k=c-g|0;b:{c:{d:{e:{f:{g:{h:{c=v[l+56>>2];h=c&65535;if(!h){break h}i=x[e>>1];if((i&64512)!=56320|k>>>0<4){break h}t[g|0]=c>>>8;t[v[d+12>>2]+1|0]=c;t[v[d+12>>2]+2|0]=i>>>8;t[v[d+12>>2]+3|0]=i;g=v[d+12>>2]+4|0;v[d+12>>2]=g;j=0;c=v[d+8>>2];if(c){v[c+8>>2]=-1;v[c>>2]=-1;v[c+4>>2]=-1;j=c+16|0;v[d+8>>2]=j;v[c+12>>2]=-1}k=k-4|0;f=f-1|0;e=e+2|0;v[l+56>>2]=0;i=1;break g}i=0;if(h){break f}}c=f<<1;c=c>>>0>k>>>0?k&-2:c;k=k-c|0;h=c>>>1|0;m=f-h|0;i:{j:{if(j){if(!c){break i}while(1){k:{f=e+2|0;c=x[e>>1];l:{if((c&63488)!=55296){t[g|0]=c>>>8;t[v[d+12>>2]+1|0]=c;g=v[d+12>>2]+2|0;v[d+12>>2]=g;e=v[d+8>>2];v[e>>2]=i;v[d+8>>2]=e+8;v[e+4>>2]=i;i=i+1|0;e=f;break l}if(c&1024|h>>>0<2){break k}j=x[f>>1];if((j&64512)!=56320){break k}t[g|0]=c>>>8;t[v[d+12>>2]+1|0]=c;t[v[d+12>>2]+2|0]=j>>>8;t[v[d+12>>2]+3|0]=j;g=v[d+12>>2]+4|0;v[d+12>>2]=g;f=v[d+8>>2];v[f+8>>2]=i;v[f+4>>2]=i;v[f>>2]=i;v[d+8>>2]=f+16;v[f+12>>2]=i;i=i+2|0;h=h-1|0;e=e+4|0}h=h-1|0;if(h){continue}break i}break}break j}if(!c){break i}while(1){f=e+2|0;c=x[e>>1];m:{if((c&63488)!=55296){t[g|0]=c>>>8;t[v[d+12>>2]+1|0]=c;g=v[d+12>>2]+2|0;e=f;break m}if(c&1024|h>>>0<2){break j}j=x[f>>1];if((j&64512)!=56320){break j}t[g|0]=c>>>8;t[v[d+12>>2]+1|0]=c;t[v[d+12>>2]+2|0]=j>>>8;t[v[d+12>>2]+3|0]=j;h=h-1|0;g=v[d+12>>2]+4|0;e=e+4|0}v[d+12>>2]=g;h=h-1|0;if(h){continue}break}break i}e=f;k=(h<<1)+k|0;if(c){break f}break e}if(!m|!k){break b}m=2;f=e+2|0;c=x[e>>1];if((c&63488)!=55296){break d}e=f}n:{if(!(c&1024)){m=0;if(y[a+12>>2]<=e>>>0){break n}f=x[e>>1];if((f&64512)==56320){t[d+7|0]=f;t[d+6|0]=f>>>8;t[d+5|0]=c;t[d+4|0]=c>>>8;e=e+2|0;c=0;m=4;break n}v[b>>2]=12;break n}v[b>>2]=12;m=0}v[l+56>>2]=c&65535}if(!m){break b}break c}e=c<<8|c>>>8;t[d+4|0]=e;t[d+5|0]=e>>>8;e=f}zh(l,d+4|0,m,d+12|0,v[a+20>>2],d+8|0,i,b);g=v[d+12>>2];k=v[a+20>>2]-g|0}if(!(k|(y[a+12>>2]<=e>>>0|v[b>>2]>0))){v[b>>2]=15}v[a+16>>2]=g;v[a+8>>2]=e;v[a+24>>2]=v[d+8>>2]}Ma=d+16|0}function pA(a){var 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;h=v[a+44>>2];l=h-262|0;c=v[a+116>>2];d=h;while(1){i=v[a+108>>2];j=v[a+60>>2]-(i+c|0)|0;if(d+l>>>0<=i>>>0){f=v[a+56>>2];cb(f,f+h|0,h-j|0);v[a+112>>2]=v[a+112>>2]-h;i=v[a+108>>2]-h|0;v[a+108>>2]=i;v[a+92>>2]=v[a+92>>2]-h;f=v[a+76>>2];g=f-1|0;b=v[a+68>>2]+(f<<1)|0;d=v[a+44>>2];c=f&3;if(c){while(1){b=b-2|0;k=x[b>>1];e=k-d|0;u[b>>1]=e>>>0>k>>>0?0:e;f=f-1|0;c=c-1|0;if(c){continue}break}}if(g>>>0>=3){while(1){e=b-2|0;g=x[e>>1];c=g-d|0;u[e>>1]=c>>>0>g>>>0?0:c;e=b-4|0;g=x[e>>1];c=g-d|0;u[e>>1]=c>>>0>g>>>0?0:c;e=b-6|0;g=x[e>>1];c=g-d|0;u[e>>1]=c>>>0>g>>>0?0:c;b=b-8|0;e=x[b>>1];c=e-d|0;u[b>>1]=c>>>0>e>>>0?0:c;f=f-4|0;if(f){continue}break}}b=v[a+64>>2]+(d<<1)|0;f=d;c=d&3;if(c){while(1){b=b-2|0;g=x[b>>1];e=g-d|0;u[b>>1]=e>>>0>g>>>0?0:e;f=f-1|0;c=c-1|0;if(c){continue}break}}if(d-1>>>0>=3){while(1){e=b-2|0;g=x[e>>1];c=g-d|0;u[e>>1]=c>>>0>g>>>0?0:c;e=b-4|0;g=x[e>>1];c=g-d|0;u[e>>1]=c>>>0>g>>>0?0:c;e=b-6|0;g=x[e>>1];c=g-d|0;u[e>>1]=c>>>0>g>>>0?0:c;b=b-8|0;e=x[b>>1];c=e-d|0;u[b>>1]=c>>>0>e>>>0?0:c;f=f-4|0;if(f){continue}break}}j=h+j|0}a:{b=v[a>>2];e=v[b+4>>2];if(!e){break a}f=v[a+116>>2];d=a;c=e>>>0>j>>>0?j:e;if(c){j=v[a+56>>2];v[b+4>>2]=e-c;f=cb(f+(j+i|0)|0,v[b>>2],c);b:{c:{switch(v[v[b+28>>2]+24>>2]-1|0){case 0:m=b,n=on(v[b+48>>2],f,c),v[m+48>>2]=n;break b;case 1:break c;default:break b}}m=b,n=lf(v[b+48>>2],f,c),v[m+48>>2]=n}v[b>>2]=c+v[b>>2];v[b+8>>2]=c+v[b+8>>2];f=v[a+116>>2]}c=c+f|0;v[d+116>>2]=c;b=v[a+5812>>2];d:{if(b+c>>>0<3){break d}d=v[a+108>>2]-b|0;j=v[a+56>>2];f=d+j|0;i=w[f|0];v[a+72>>2]=i;e=v[a+84>>2];g=i;i=v[a+88>>2];f=e&(w[f+1|0]^g<>2]=f;while(1){if(!b){break d}f=e&(w[(d+j|0)+2|0]^f<>2]=f;g=v[a+68>>2]+(f<<1)|0;u[v[a+64>>2]+((v[a+52>>2]&d)<<1)>>1]=x[g>>1];u[g>>1]=d;b=b-1|0;v[a+5812>>2]=b;d=d+1|0;if(c+b>>>0>2){continue}break}}if(!v[v[a>>2]+4>>2]|c>>>0>261){break a}d=v[a+44>>2];continue}break}b=v[a+60>>2];d=v[a+5824>>2];e:{if(b>>>0<=d>>>0){break e}f=a;h=v[a+116>>2]+v[a+108>>2]|0;f:{if(h>>>0>d>>>0){d=h+v[a+56>>2]|0;a=b-h|0;a=a>>>0<258?a:258;eb(d,0,a);a=a+h|0;break f}h=h+258|0;if(h>>>0<=d>>>0){break e}i=d+v[a+56>>2]|0;b=b-d|0;d=h-d|0;d=b>>>0>>0?b:d;eb(i,0,d);a=d+v[a+5824>>2]|0}v[f+5824>>2]=a}}function TM(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;e=t[b|0];a:{if((e|0)<0|(d|0)<1){break a}f=b;g=d;b:{c:{if((d|0)<64){break c}d:{e:{if(b&3){if(e){break b}g=d-8|0;f=b+1|0;if(!(f&3)){h=8;e=d;break e}h=8;e=w[f|0];if(e){break b}j=d-16|0;f=b+2|0;if(!(f&3)){h=16;e=g;g=j;break e}h=16;e=w[f|0];if(e){break b}g=d-24|0;f=b+3|0;if(!(f&3)){h=24;e=j;break e}h=24;e=w[f|0];if(e){break b}f=b+4|0;if(!(f&3)){h=32;e=g;g=d-32|0;break e}e=w[f|0];h=32;break b}break d}if((e|0)<40){break c}}e=g;while(1){if(v[f>>2]){g=e;break c}f=f+4|0;h=h+32|0;j=(e|0)>63;g=e-32|0;e=g;if(j){continue}break}}f:{if((g|0)<8){e=g;break f}while(1){e=w[f|0];if(e){h=w[e+86224|0]+h|0;break a}f=f+1|0;h=h+8|0;j=(g|0)>15;e=g-8|0;g=e;if(j){continue}break}}if((e|0)<1){break a}g=w[w[f|0]+86224|0];h=((e|0)<(g|0)?e:g)+h|0;break a}h=w[(e&255)+86224|0]+h|0}e=t[c|0];g:{if((e|0)<0|(d|0)<1){break g}f=c;g=d;h:{i:{if((d|0)<64){break i}j:{k:{if(c&3){if(e){break h}g=d-8|0;f=c+1|0;if(!(f&3)){i=8;e=d;break k}i=8;e=w[f|0];if(e){break h}j=d-16|0;f=c+2|0;if(!(f&3)){i=16;e=g;g=j;break k}i=16;e=w[f|0];if(e){break h}g=d-24|0;f=c+3|0;if(!(f&3)){i=24;e=j;break k}i=24;e=w[f|0];if(e){break h}f=c+4|0;if(!(f&3)){i=32;e=g;g=d-32|0;break k}e=w[f|0];i=32;break h}break j}if((e|0)<40){break i}}e=g;while(1){if(v[f>>2]){g=e;break i}f=f+4|0;i=i+32|0;j=(e|0)>63;g=e-32|0;e=g;if(j){continue}break}}l:{if((g|0)<8){e=g;break l}while(1){e=w[f|0];if(e){i=w[e+86224|0]+i|0;break g}f=f+1|0;i=i+8|0;j=(g|0)>15;e=g-8|0;g=e;if(j){continue}break}}if((e|0)<1){break g}g=w[w[f|0]+86224|0];i=((e|0)<(g|0)?e:g)+i|0;break g}i=w[(e&255)+86224|0]+i|0}g=0;while(1){f=d;if(i>>>0>>0){m:{if(w[(i>>>3|0)+c|0]>>>((i^-1)&7)&1){e=jr(c,i,d);break m}e=lr(c,i,d)}f=e+i|0}n:{if(f>>>0>=h>>>0){e=(i-h|0)+3|0;if(e>>>0>=7){f=d;if(h>>>0>>0){o:{if(w[(h>>>3|0)+b|0]>>>((h^-1)&7)&1){e=jr(b,h,d);break o}e=lr(b,h,d)}f=e+h|0}Yk(a,1,3);if(!(w[(g>>>3|0)+b|0]>>>((g^-1)&7)&1&(0-h|0)!=(g|0))){kr(a,h-g|0,84448);kr(a,f-h|0,85104);break n}kr(a,h-g|0,85104);kr(a,f-h|0,84448);break n}g=B(e,6);Yk(a,x[g+86754>>1],x[g+86752>>1]);f=h;break n}Yk(a,1,4)}if(d>>>0>f>>>0){p:{if(w[(f>>>3|0)+b|0]>>>((f^-1)&7)&1){h=jr(b,f,d);i=lr(c,f,d)+f|0;g=jr(c,i,d);break p}h=lr(b,f,d);i=jr(c,f,d)+f|0;g=lr(c,i,d)}i=g+i|0;h=f+h|0;g=f;continue}break}}function Lv(a,b){var c=0,d=0,e=0;a:{if(!b|!a){break a}b:{c:{d:{e:{f:{g:{h:{i:{e=v[b+4>>2];switch(e-1|0){case 17:break c;case 8:case 12:break d;case 4:break e;case 6:case 7:break f;case 1:break g;case 0:case 10:break h;case 2:case 3:break i;default:break a}}if(v[a+32>>2]){break a}c=v[b+40>>2];b=v[a+8>>2];if(!((b|0)==v[a+24>>2]|b>>>0>2147483646)){v[a+24>>2]=b}b=v[a+4>>2];if(!((b|0)==v[a+20>>2]|b>>>0>2147483646)){v[a+20>>2]=b}if(v[a+12>>2]==2){break a}if(c){break b}break a}c=b;while(1){j:{k:{switch(e-3|0){case 0:case 1:e=v[c+40>>2];if(v[a+32>>2]|!e){break j}d=v[a+8>>2];if(!((d|0)==v[a+24>>2]|d>>>0>2147483646)){v[a+24>>2]=d}d=v[a+4>>2];if(!((d|0)==v[a+20>>2]|d>>>0>2147483646)){v[a+20>>2]=d}if(v[a+12>>2]==2){break j}ij(a,e,-1);break j;case 2:break k;default:break j}}Lv(a,c)}l:{d=v[c+12>>2];if(v[d+4>>2]!=17?d:0){break l}if((b|0)==(c|0)){break a}while(1){d=v[c+24>>2];if(d){break l}c=v[c+20>>2];if(!c){break a}if((b|0)!=(c|0)){continue}break}break a}e=v[d+4>>2];c=d;continue}}c=v[b+12>>2];if(!c){break a}while(1){m:{if(v[c+4>>2]==3){if(v[a+32>>2]){break m}b=v[c+40>>2];d=v[a+8>>2];if(!((d|0)==v[a+24>>2]|d>>>0>2147483646)){v[a+24>>2]=d}d=v[a+4>>2];if(!((d|0)==v[a+20>>2]|d>>>0>2147483646)){v[a+20>>2]=d}if(!b|v[a+12>>2]==2){break m}ij(a,b,-1);break m}Lv(a,c)}c=v[c+24>>2];if(c){continue}break}break a}if(v[a+32>>2]){break a}c=v[b+40>>2];b=v[a+8>>2];if(!((b|0)==v[a+24>>2]|b>>>0>2147483646)){v[a+24>>2]=b}b=v[a+4>>2];if(!((b|0)==v[a+20>>2]|b>>>0>2147483646)){v[a+20>>2]=b}if(v[a+12>>2]==2){break a}if(c){break b}break a}d=v[b+8>>2];b=v[b+32>>2];n:{o:{if(!b){break o}c=v[b+44>>2];p:{if(!c){break p}c=v[c+48>>2];if(!c){break p}c=le(c,d,0,0);if(c){break n}}if(v[b+40>>2]==1){break o}b=v[b+48>>2];if(!b){break o}b=v[b+48>>2];if(!b){break o}c=le(b,d,0,0);if(c){break n}}c=vi(d)}if(!c){return}c=v[c+12>>2];if(!c){break a}while(1){Lv(a,c);c=v[c+24>>2];if(c){continue}break}break a}c=v[b+12>>2];if(!c){break a}while(1){b=v[c+4>>2];if(!(b>>>0>4|!(1<>2];if(c){continue}break}break a}if(v[a+32>>2]){break a}c=v[b+8>>2];b=v[a+8>>2];if(!((b|0)==v[a+24>>2]|b>>>0>2147483646)){v[a+24>>2]=b}b=v[a+4>>2];if(!((b|0)==v[a+20>>2]|b>>>0>2147483646)){v[a+20>>2]=b}if(!c|v[a+12>>2]==2){break a}}ij(a,c,-1)}}function FR(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;d=Ma-1072|0;Ma=d;c=d+1040|0;v[c>>2]=0;v[c+4>>2]=0;v[d+1032>>2]=0;v[d+1036>>2]=0;l=d+1023|0;k=d+1032|0;v[k>>2]=971452;v[k+4>>2]=0;v[k+8>>2]=0;v[k+12>>2]=0;while(1){c=d;a:{b:{while(1){e=Qa[v[v[b>>2]+8>>2]](b,c,1)|0;j=!e;if(!e|w[c|0]==10){break a}e=c+1|0;f=Qa[v[v[b>>2]+8>>2]](b,e,1)|0;j=!f;if(!f|w[e|0]==10){break b}c=c+2|0;if((e|0)!=(l|0)){continue}break}lb(mb(d+1048|0,279711,241073,113,334510));L()}c=e}t[c|0]=0;c:{if(!w[d|0]){break c}e=Oc(d+1048|0,d);d:{c=v[d+1040>>2];if(c){while(1){if(!ld(c+8|0,d+1048|0,-1)){break d}c=v[c>>2];if(c){continue}break}}db(e);i=d+1032|0;g=Oc(d+1048|0,d);e=Ma-16|0;Ma=e;f=ab(16);v[f>>2]=0;v[f+4>>2]=0;h=f+8|0;v[h>>2]=0;v[f+12>>2]=v[279250];c=v[g>>2];e:{if(c){Qa[v[v[c>>2]+28>>2]](e+8|0,c,1);break e}v[e+8>>2]=0}jb(h,e+8|0);c=v[e+8>>2];v[e+8>>2]=0;f:{if(!c){break f}h=v[c+4>>2]-1|0;v[c+4>>2]=h;if(h){break f}h=v[c+4>>2];if(!h){v[c+4>>2]=-32767}if(!h){Qa[v[v[c>>2]+4>>2]](c)}}c=v[f+8>>2];v[f+12>>2]=v[(c?c+12|0:1117e3)>>2];de(i,f);Ma=e+16|0;db(g);break c}db(e)}if(!j){continue}break}c=0;j=v[d+1036>>2];pi(a+48|0,0,j-1|0);g:{b=v[d+1040>>2];if(b){while(1){if(!(v[a+64>>2]<=(c|0)&v[a+68>>2]>=(c|0))){break g}f=v[a+52>>2]+(c-v[a+56>>2]<<3)|0;e=v[b+8>>2];h:{if(e){Qa[v[v[e>>2]+28>>2]](d,e,1);break h}v[d>>2]=0}jb(f,d);e=v[d>>2];v[d>>2]=0;i:{if(!e){break i}g=v[e+4>>2]-1|0;v[e+4>>2]=g;if(g){break i}g=v[e+4>>2];if(!g){v[e+4>>2]=-32767}if(!g){Qa[v[v[e>>2]+4>>2]](e)}}e=v[f>>2];v[f+4>>2]=v[(e?e+12|0:1117e3)>>2];c=c+1|0;b=v[b>>2];if(b){continue}break}}c=0;j:{if((j|0)>0){e=a+100|0;f=a+12|0;g=a+72|0;l=d+8|0;while(1){if(!(v[a+64>>2]<=(c|0)&v[a+68>>2]>=(c|0))){break g}m=xj(g,v[a+52>>2]+(c-v[a+56>>2]<<3)|0),n=c,v[m+24>>2]=n;if(v[a+68>>2]<(c|0)|v[a+64>>2]>(c|0)){break j}ki(d,v[a+52>>2]+(c-v[a+56>>2]<<3)|0,f);m=il(e,d),n=c,v[m+52>>2]=n;v[d+24>>2]=969432;v[d>>2]=969400;b=v[d+28>>2];if(b){i=v[b+4>>2]-1|0;v[b+4>>2]=i;if(!i){Qa[v[v[b>>2]+4>>2]](b)}v[d+28>>2]=0}v[d+16>>2]=969432;b=v[d+20>>2];if(b){i=v[b+4>>2]-1|0;v[b+4>>2]=i;if(!i){Qa[v[v[b>>2]+4>>2]](b)}v[d+20>>2]=0}db(l);c=c+1|0;if((j|0)!=(c|0)){continue}break}}ac(k);Ma=d+1072|0;return}lb(mb(d+1048|0,227376,271519,619,307493));L()}lb(mb(d,227376,271519,619,307493));L()}function bJ(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Ma-16|0;Ma=f;v[a+4>>2]=c;v[a>>2]=b;if(c){v[a+400>>2]=v[c+124>>2];v[a+404>>2]=v[c+128>>2];v[a+412>>2]=v[c+136>>2];v[a+416>>2]=v[c+140>>2];v[a+408>>2]=v[c+132>>2];v[a+420>>2]=v[c+144>>2];v[a+216>>2]=v[c+120>>2];d=v[c+80>>2];v[a+248>>2]=v[c+76>>2];v[a+252>>2]=d;d=v[c+88>>2];v[a+256>>2]=v[c+84>>2];v[a+260>>2]=d;d=v[c+96>>2];v[a+264>>2]=v[c+92>>2];v[a+268>>2]=d;d=v[c+104>>2];v[a+272>>2]=v[c+100>>2];v[a+276>>2]=d;d=v[c+112>>2];v[a+280>>2]=v[c+108>>2];v[a+284>>2]=d;d=v[c+44>>2];e=v[d+4>>2];v[a+220>>2]=v[d>>2];v[a+224>>2]=e;e=v[d+12>>2];v[a+228>>2]=v[d+8>>2];v[a+232>>2]=e;e=v[d+20>>2];v[a+236>>2]=v[d+16>>2];v[a+240>>2]=e;v[a+244>>2]=v[d+24>>2];v[a+424>>2]=v[c+148>>2];v[a+428>>2]=v[c+152>>2];d=v[c+160>>2];v[a+448>>2]=v[c+156>>2];v[a+452>>2]=d;d=v[c+168>>2];v[a+456>>2]=v[c+164>>2];v[a+460>>2]=d;d=v[c+176>>2];v[a+464>>2]=v[c+172>>2];v[a+468>>2]=d;cb(a+288|0,c+180|0,68);v[a+384>>2]=v[c+248>>2];v[a+388>>2]=v[c+252>>2];u[a+472>>1]=x[c+256>>1];v[a+476>>2]=v[c+260>>2];d=v[c+268>>2];v[a+180>>2]=v[c+264>>2];v[a+184>>2]=d;d=v[c+276>>2];v[a+188>>2]=v[c+272>>2];v[a+192>>2]=d;d=v[c+284>>2];v[a+196>>2]=v[c+280>>2];v[a+200>>2]=d;d=v[c+292>>2];v[a+204>>2]=v[c+288>>2];v[a+208>>2]=d;v[a+212>>2]=v[c+296>>2];eb(a+36|0,0,108)}e=v[a+8>>2];a:{b:{c:{c=x[b+284>>1]+32|0;d=v[a+20>>2];d:{if(c>>>0<=d>>>0){c=d;break d}i=a,j=yb(e,1,d<<2,c<<2,v[a+24>>2],f+8|0),v[i+24>>2]=j;e=v[f+8>>2];if(e){break c}e=v[a+8>>2]}v[a+20>>2]=c;c=x[b+286>>1];b=v[a+392>>2];if(c>>>0<=b>>>0){c=b;break b}i=a,j=yb(e,1,b,c,v[a+396>>2],f+12|0),v[i+396>>2]=j;e=v[f+12>>2];if(!e){break b}v[a+392>>2]=b&65535;break a}v[a+20>>2]=d;break a}e=0;v[a+152>>2]=0;v[a+392>>2]=c&65535;b=v[a+148>>2];c=v[a+144>>2];v[a+72>>2]=c;v[a+76>>2]=b;v[a+108>>2]=c;v[a+112>>2]=b;v[a+36>>2]=c;v[a+40>>2]=b;d=v[a+164>>2];b=d;c=v[a+160>>2];v[a+88>>2]=c;v[a+92>>2]=d;g=v[a+172>>2];d=g;h=v[a+168>>2];v[a+96>>2]=h;v[a+100>>2]=d;g=v[a+176>>2];v[a+104>>2]=g;v[a+124>>2]=c;v[a+128>>2]=b;v[a+132>>2]=h;v[a+136>>2]=d;v[a+140>>2]=g;v[a+52>>2]=c;v[a+56>>2]=b;v[a+60>>2]=h;v[a+64>>2]=d;v[a+68>>2]=g;b=v[a+156>>2];c=v[a+152>>2];v[a+80>>2]=c;v[a+84>>2]=b;v[a+116>>2]=c;v[a+120>>2]=b;v[a+44>>2]=c;v[a+48>>2]=b;t[a+492|0]=0}Ma=f+16|0;return e}function OAa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=Ma-16|0;Ma=d;e=v[a+8>>2];f=v[a+12>>2]-e|0;a:{if(!f){break a}l=v[a+4>>2];if(v[l+52>>2]==1){zh(l,839778,2,a+16|0,v[a+20>>2],a+24|0,-1,b);v[l+52>>2]=0}g=v[a+16>>2];v[d+12>>2]=g;c=v[a+20>>2];if(c>>>0<=g>>>0){v[b>>2]=15;break a}f=f>>1;j=v[a+24>>2];v[d+8>>2]=j;k=c-g|0;b:{c:{d:{e:{f:{g:{h:{c=v[l+56>>2];h=c&65535;if(!h){break h}i=x[e>>1];if((i&64512)!=56320|k>>>0<4){break h}t[g|0]=c;t[v[d+12>>2]+1|0]=c>>>8;t[v[d+12>>2]+2|0]=i;t[v[d+12>>2]+3|0]=i>>>8;g=v[d+12>>2]+4|0;v[d+12>>2]=g;j=0;c=v[d+8>>2];if(c){v[c+8>>2]=-1;v[c>>2]=-1;v[c+4>>2]=-1;j=c+16|0;v[d+8>>2]=j;v[c+12>>2]=-1}k=k-4|0;f=f-1|0;e=e+2|0;v[l+56>>2]=0;i=1;break g}i=0;if(h){break f}}c=f<<1;c=c>>>0>k>>>0?k&-2:c;k=k-c|0;h=c>>>1|0;m=f-h|0;i:{j:{if(j){if(!c){break i}while(1){k:{f=e+2|0;c=x[e>>1];l:{if((c&63488)!=55296){t[g|0]=c;t[v[d+12>>2]+1|0]=c>>>8;g=v[d+12>>2]+2|0;v[d+12>>2]=g;e=v[d+8>>2];v[e>>2]=i;v[d+8>>2]=e+8;v[e+4>>2]=i;i=i+1|0;e=f;break l}if(c&1024|h>>>0<2){break k}j=x[f>>1];if((j&64512)!=56320){break k}t[g|0]=c;t[v[d+12>>2]+1|0]=c>>>8;t[v[d+12>>2]+2|0]=j;t[v[d+12>>2]+3|0]=j>>>8;g=v[d+12>>2]+4|0;v[d+12>>2]=g;f=v[d+8>>2];v[f+8>>2]=i;v[f+4>>2]=i;v[f>>2]=i;v[d+8>>2]=f+16;v[f+12>>2]=i;i=i+2|0;h=h-1|0;e=e+4|0}h=h-1|0;if(h){continue}break i}break}break j}if(!c){break i}while(1){f=e+2|0;c=x[e>>1];m:{if((c&63488)!=55296){t[g|0]=c;t[v[d+12>>2]+1|0]=c>>>8;g=v[d+12>>2]+2|0;e=f;break m}if(c&1024|h>>>0<2){break j}j=x[f>>1];if((j&64512)!=56320){break j}t[g|0]=c;t[v[d+12>>2]+1|0]=c>>>8;t[v[d+12>>2]+2|0]=j;t[v[d+12>>2]+3|0]=j>>>8;h=h-1|0;g=v[d+12>>2]+4|0;e=e+4|0}v[d+12>>2]=g;h=h-1|0;if(h){continue}break}break i}e=f;k=(h<<1)+k|0;if(c){break f}break e}if(!m|!k){break b}m=2;f=e+2|0;c=x[e>>1];if((c&63488)!=55296){break d}e=f}n:{if(!(c&1024)){m=0;if(y[a+12>>2]<=e>>>0){break n}f=x[e>>1];if((f&64512)==56320){t[d+6|0]=f;t[d+7|0]=f>>>8;t[d+4|0]=c;t[d+5|0]=c>>>8;e=e+2|0;c=0;m=4;break n}v[b>>2]=12;break n}v[b>>2]=12;m=0}v[l+56>>2]=c&65535}if(!m){break b}break c}t[d+4|0]=c;t[d+5|0]=c>>>8;e=f}zh(l,d+4|0,m,d+12|0,v[a+20>>2],d+8|0,i,b);g=v[d+12>>2];k=v[a+20>>2]-g|0}if(!(k|(y[a+12>>2]<=e>>>0|v[b>>2]>0))){v[b>>2]=15}v[a+16>>2]=g;v[a+8>>2]=e;v[a+24>>2]=v[d+8>>2]}Ma=d+16|0}function rJa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=v[a+464>>2];if(v[a+280>>2]){c=v[e+52>>2];if(!c){if(!(Qa[v[v[a+460>>2]+8>>2]](a)|0)){d=v[a>>2];v[d+20>>2]=25;Qa[v[d>>2]](a)}if(v[a+336>>2]>=1){d=0;while(1){g=d<<2;f=v[(g+a|0)+340>>2];a:{b:{if(v[a+224>>2]){if(v[a+408>>2]){break b}if(v[a+416>>2]){break a}}c=v[((v[f+20>>2]<<2)+e|0)+56>>2];t[c|0]=0;t[c+1|0]=0;t[c+2|0]=0;t[c+3|0]=0;t[c+4|0]=0;t[c+5|0]=0;t[c+6|0]=0;t[c+7|0]=0;t[c+56|0]=0;t[c+57|0]=0;t[c+58|0]=0;t[c+59|0]=0;t[c+60|0]=0;t[c+61|0]=0;t[c+62|0]=0;t[c+63|0]=0;t[c+48|0]=0;t[c+49|0]=0;t[c+50|0]=0;t[c+51|0]=0;t[c+52|0]=0;t[c+53|0]=0;t[c+54|0]=0;t[c+55|0]=0;t[c+40|0]=0;t[c+41|0]=0;t[c+42|0]=0;t[c+43|0]=0;t[c+44|0]=0;t[c+45|0]=0;t[c+46|0]=0;t[c+47|0]=0;t[c+32|0]=0;t[c+33|0]=0;t[c+34|0]=0;t[c+35|0]=0;t[c+36|0]=0;t[c+37|0]=0;t[c+38|0]=0;t[c+39|0]=0;t[c+24|0]=0;t[c+25|0]=0;t[c+26|0]=0;t[c+27|0]=0;t[c+28|0]=0;t[c+29|0]=0;t[c+30|0]=0;t[c+31|0]=0;t[c+16|0]=0;t[c+17|0]=0;t[c+18|0]=0;t[c+19|0]=0;t[c+20|0]=0;t[c+21|0]=0;t[c+22|0]=0;t[c+23|0]=0;t[c+8|0]=0;t[c+9|0]=0;t[c+10|0]=0;t[c+11|0]=0;t[c+12|0]=0;t[c+13|0]=0;t[c+14|0]=0;t[c+15|0]=0;c=e+g|0;v[c+36>>2]=0;v[c+20>>2]=0;if(!v[a+224>>2]){if(v[a+432>>2]){break b}break a}if(!v[a+408>>2]){break a}}eb(v[((v[f+24>>2]<<2)+e|0)+120>>2],0,256)}d=d+1|0;if((d|0)>2]){continue}break}}v[e+16>>2]=-16;v[e+8>>2]=0;v[e+12>>2]=0;c=v[a+280>>2];v[e+52>>2]=c}v[e+52>>2]=c-1}c:{d:{if(v[e+16>>2]==-1){break d}d=v[a+408>>2];if((d|0)>v[a+412>>2]){break d}g=e+184|0;c=v[v[a+340>>2]+24>>2];h=c+a|0;f=(c<<2)+e|0;i=v[b>>2];j=v[a+428>>2];while(1){c=d;d=(v[f+120>>2]+B(c,3)|0)-3|0;if(Ne(a,d)){break d}while(1){if(!Ne(a,d+1|0)){d=d+3|0;b=v[a+412>>2]>(c|0);c=c+1|0;if(b){continue}break c}break}k=Ne(a,g);b=d+2|0;d=Ne(a,b);e:{if(!d){b=0;break e}f:{if(!Ne(a,b)){break f}d=d<<1;b=v[f+120>>2]+(w[h+264|0]<(c|0)?217:189)|0;if(!Ne(a,b)){break f}while(1){d=d<<1;if((d|0)==32768){break c}b=b+1|0;if(Ne(a,b)){continue}break}}if(d>>>0<2){b=d;break e}l=b+14|0;b=d;while(1){d=d>>1;b=(Ne(a,l)?d:0)|b;if(d>>>0>1){continue}break}}u[(v[(c<<2)+j>>2]<<1)+i>>1]=(k?b^-1:b+1|0)<>2];d=c+1|0;if(v[a+412>>2]>(c|0)){continue}break}}return 1}b=v[a>>2];v[b+20>>2]=117;Qa[v[b+4>>2]](a,-1);v[e+16>>2]=-1;return 1}function k7(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=Ma-48|0;Ma=d;a:{b:{c:{d:{j=v[a+584>>2];if(j){if(v[j+124>>2]!=1){break d}v[j+80>>2]=c;v[j+76>>2]=b;g=j- -64|0;e:{while(1){f:{switch(bk(g,1)+3|0){case 0:b=v[a+628>>2];c=v[a>>2];f=v[a+472>>2];v[d+40>>2]=v[j+88>>2];v[d+36>>2]=f;v[d+32>>2]=c;wb(b,88429,28293,d+32|0);b=0;l=Ma-16|0;f=-2;g:{if(!v[g+36>>2]|(!g|!v[g+32>>2])){break g}e=v[g+28>>2];if(!e|(g|0)!=v[e>>2]){break g}c=v[e+4>>2];if(c-16180>>>0>31){break g}h=v[g+4>>2];if(!h){f=-5;if(y[e+64>>2]<8){break g}}h:{if((c|0)==16211){b=v[e+108>>2];break h}v[e+4>>2]=16211;c=v[e+64>>2];f=v[e+60>>2]<<(c&7);v[e+60>>2]=f;i:{j:{k:{c=c&-8;if(c){b=c-8|0;h=(b>>>3|0)+1|0;i=h&3;c=0;if(b>>>0>=24){break k}b=0;break j}v[e+108>>2]=0;v[e+64>>2]=0;i=e+108|0;break i}m=h&1073741820;b=0;while(1){k=l+12|0;t[k+b|0]=f;t[(b|1)+k|0]=f>>>8;t[(b|2)+k|0]=f>>>16;h=b|3;t[k+h|0]=f>>>24;b=b+4|0;f=0;m=m-4|0;if(m){continue}break}}if(i){c=f;while(1){h=b;t[(l+12|0)+b|0]=c;c=c>>>8|0;b=b+1|0;i=i-1|0;if(i){continue}break}}v[e+108>>2]=0;v[e+64>>2]=0;v[e+60>>2]=c;i=e+108|0;f=0;b=0;while(1){c=w[(l+12|0)+f|0];b=(c|0)==((b>>>0<2?0:255)|0)?b+1|0:c?0:4-b|0;if(f>>>0>=h>>>0){break i}f=f+1|0;if(b>>>0<4){continue}break}}v[i>>2]=b;h=v[g+4>>2]}c=v[g>>2];f=0;l:{if(!h|b>>>0>3){break l}while(1){i=w[c+f|0];b=(i|0)==((b>>>0<2?0:255)|0)?b+1|0:i?0:4-b|0;f=f+1|0;if(h>>>0<=f>>>0){break l}if(b>>>0<4){continue}break}}v[e+108>>2]=b;v[g>>2]=c+f;v[g+4>>2]=v[g+4>>2]-f;c=v[g+8>>2]+f|0;v[g+8>>2]=c;f=-3;if((b|0)!=4){break g}f=0;v[e+52>>2]=0;v[e+44>>2]=0;v[e+48>>2]=0;v[e+32>>2]=0;v[g+24>>2]=0;b=v[e+12>>2];if(b){v[g+48>>2]=b&1}v[e+60>>2]=0;v[e+64>>2]=0;v[e+36>>2]=0;v[e+24>>2]=32768;v[e+16>>2]=0;v[e+8>>2]=0;v[e+7108>>2]=1;v[e+7112>>2]=-1;b=e+1332|0;v[e+112>>2]=b;v[e+84>>2]=b;v[e+80>>2]=b;v[g+8>>2]=c;v[e+4>>2]=16191}if(f){break b}break;case 4:break e;case 3:break f;default:break c}}if(v[j+80>>2]){continue}break}b=1;break a}c=v[j+80>>2];b=1;if(!c){break a}b=v[a+628>>2];f=v[a>>2];a=v[a+472>>2];v[d+24>>2]=c;v[d+20>>2]=a;v[d+16>>2]=f;wb(b,88429,30562,d+16|0);break b}O(21265,6646,136,88429);L()}O(27391,6646,137,88429);L()}b=v[a+628>>2];a=v[a>>2];v[d+4>>2]=v[j+88>>2];v[d>>2]=a;wb(b,88429,18004,d)}b=0}Ma=d+48|0;return b|0}function DJa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;e=v[a+464>>2];if(v[a+280>>2]){c=v[e+52>>2];if(!c){if(!(Qa[v[v[a+460>>2]+8>>2]](a)|0)){c=v[a>>2];v[c+20>>2]=25;Qa[v[c>>2]](a)}if(v[a+336>>2]>=1){while(1){g=d<<2;f=v[(g+a|0)+340>>2];a:{b:{if(v[a+224>>2]){if(v[a+408>>2]){break b}if(v[a+416>>2]){break a}}c=v[((v[f+20>>2]<<2)+e|0)+56>>2];t[c|0]=0;t[c+1|0]=0;t[c+2|0]=0;t[c+3|0]=0;t[c+4|0]=0;t[c+5|0]=0;t[c+6|0]=0;t[c+7|0]=0;t[c+56|0]=0;t[c+57|0]=0;t[c+58|0]=0;t[c+59|0]=0;t[c+60|0]=0;t[c+61|0]=0;t[c+62|0]=0;t[c+63|0]=0;t[c+48|0]=0;t[c+49|0]=0;t[c+50|0]=0;t[c+51|0]=0;t[c+52|0]=0;t[c+53|0]=0;t[c+54|0]=0;t[c+55|0]=0;t[c+40|0]=0;t[c+41|0]=0;t[c+42|0]=0;t[c+43|0]=0;t[c+44|0]=0;t[c+45|0]=0;t[c+46|0]=0;t[c+47|0]=0;t[c+32|0]=0;t[c+33|0]=0;t[c+34|0]=0;t[c+35|0]=0;t[c+36|0]=0;t[c+37|0]=0;t[c+38|0]=0;t[c+39|0]=0;t[c+24|0]=0;t[c+25|0]=0;t[c+26|0]=0;t[c+27|0]=0;t[c+28|0]=0;t[c+29|0]=0;t[c+30|0]=0;t[c+31|0]=0;t[c+16|0]=0;t[c+17|0]=0;t[c+18|0]=0;t[c+19|0]=0;t[c+20|0]=0;t[c+21|0]=0;t[c+22|0]=0;t[c+23|0]=0;t[c+8|0]=0;t[c+9|0]=0;t[c+10|0]=0;t[c+11|0]=0;t[c+12|0]=0;t[c+13|0]=0;t[c+14|0]=0;t[c+15|0]=0;c=e+g|0;v[c+36>>2]=0;v[c+20>>2]=0;if(!v[a+224>>2]){if(v[a+432>>2]){break b}break a}if(!v[a+408>>2]){break a}}eb(v[((v[f+24>>2]<<2)+e|0)+120>>2],0,256)}d=d+1|0;if((d|0)>2]){continue}break}}v[e+16>>2]=-16;v[e+8>>2]=0;v[e+12>>2]=0;c=v[a+280>>2];v[e+52>>2]=c}v[e+52>>2]=c-1}if(!(v[e+16>>2]==-1|v[a+364>>2]<1)){while(1){c=i<<2;n=v[c+b>>2];c=v[(a+c|0)+368>>2]<<2;l=v[v[(c+a|0)+340>>2]+20>>2];h=(l<<2)+e|0;g=c+e|0;m=g;d=v[h+56>>2]+v[g+36>>2]|0;c:{if(!Ne(a,d)){v[m+36>>2]=0;c=v[g+20>>2];break c}j=0;c=0;k=Ne(a,d+1|0);d=(d+k|0)+2|0;f=Ne(a,d);d:{if(!f){break d}c=f;d=v[h+56>>2]+20|0;if(!Ne(a,d)){break d}while(1){c=c<<1;if((c|0)==32768){b=v[a>>2];v[b+20>>2]=117;Qa[v[b+4>>2]](a,-1);v[e+16>>2]=-1;return 1}d=d+1|0;if(Ne(a,d)){continue}break}}h=a+l|0;e:{if(1<>1>(c|0)){break e}f=k<<2;if(1<>1<(c|0)){j=f+12|0;break e}j=f+4|0}v[m+36>>2]=j;f:{if(c>>>0<2){d=c;break f}f=d+14|0;d=c;while(1){c=c>>1;d=(Ne(a,f)?c:0)|d;if(c>>>0>1){continue}break}}c=v[g+20>>2]+(k?d^-1:d+1|0)|0;v[g+20>>2]=c}u[n>>1]=c<>2];i=i+1|0;if((i|0)>2]){continue}break}}return 1}function Zva(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=C(0),m=0,n=0,o=0,p=0,q=0,r=0,s=0,x=C(0);d=Ma-384|0;Ma=d;if(!(w[a+208|0]|w[a+203|0])){Ak(a,v[b+596>>2],A[b+104>>3],b+16|0);j=A[b+392>>3];f=v[a+104>>2];Qa[v[v[f>>2]+132>>2]](f,d+380|0)|0;f=v[a+104>>2];Qa[v[v[f>>2]+136>>2]](f,878852)|0;p=A[c+184>>3];q=A[c+192>>3];r=A[c+200>>3];s=A[c+208>>3];n=A[c+216>>3];o=A[c+224>>3];h=v[c+364>>2];k=v[c+368>>2];v[d+152>>2]=0;v[d+156>>2]=0;v[d+184>>2]=0;v[d+188>>2]=0;v[d+232>>2]=0;v[d+236>>2]=0;v[d+240>>2]=0;v[d+244>>2]=0;v[d+248>>2]=0;v[d+252>>2]=0;v[d+264>>2]=0;v[d+268>>2]=0;v[d+272>>2]=0;v[d+144>>2]=0;v[d+148>>2]=0;v[d+168>>2]=0;v[d+172>>2]=1065353216;v[d+176>>2]=0;v[d+180>>2]=0;v[d+212>>2]=0;v[d+204>>2]=1056964608;v[d+208>>2]=1065353216;u[d+200>>1]=0;v[d+192>>2]=1065353216;v[d+196>>2]=1065353216;e=ab(24);v[d+276>>2]=e;f=e+24|0;v[d+284>>2]=f;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;v[e>>2]=0;v[e+4>>2]=0;v[d+280>>2]=f;eb(d+292|0,0,88);v[d+224>>2]=1;v[d+228>>2]=1;z[d+220>>2]=k?C(1):C(0);z[d+216>>2]=h?C(1):C(0);l=C(n);g=FW(d+16|0,l,C(o));e=v[g>>2];v[d+232>>2]=e;j=j*255;a:{if(D(j)<2147483648){k=~~j;break a}k=-2147483648}h=v[d+236>>2];if(h){e=v[d+240>>2];if((h|0)==(e|0)){f=h}else{while(1){f=e-12|0;i=v[f>>2];if(i){v[e-8>>2]=i;$a(i)}e=f;if((h|0)!=(e|0)){continue}break}f=v[d+236>>2]}v[d+240>>2]=h;$a(f);e=v[d+232>>2]}v[d+236>>2]=v[g+4>>2];v[d+240>>2]=v[g+8>>2];v[d+244>>2]=v[g+12>>2];f=v[g+20>>2];v[d+248>>2]=v[g+16>>2];v[d+252>>2]=f;f=v[g+28>>2];v[d+256>>2]=v[g+24>>2];v[d+260>>2]=f;z[d+304>>2]=s/72*25.4;z[d+300>>2]=r/72*25.4;z[d+296>>2]=q/72*25.4;t[d+288|0]=1;z[d+292>>2]=p/72*25.4;if(e){x=C((o-n)/+(e>>>0));g=v[c+8>>2];e=0;while(1){f=d+16|0;oz(c,+l,f);Qa[v[v[g>>2]+20>>2]](g,f,d,0);i=v[d+8>>2];h=v[d+4>>2];f=v[d>>2];m=v[v[d+236>>2]>>2]+(e<<2)|0;t[m+3|0]=k;t[m+2|0]=B(f,255)+32768>>>16;t[m+1|0]=B(h,255)+32768>>>16;t[m|0]=B(i,255)+32768>>>16;l=C(l+x);e=e+1|0;if(e>>>0>2]){continue}break}}e=v[a+104>>2];c=pr(e,351404,351416);if(c){Qa[v[v[c>>2]+560>>2]](c,d+144|0);c=v[a+104>>2];Qa[v[v[c>>2]+328>>2]](c,878840)|0;e=v[a+104>>2]}v[d+16>>2]=4;Qa[v[v[e>>2]+292>>2]](e,d+16|0)|0;a=v[a+104>>2];Qa[v[v[a>>2]+136>>2]](a,d+380|0)|0;Ae(b);Wf(d+224|0)}Ma=d+384|0;return 1}function k6(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=v[b+8>>2];a:{if(c&7){break a}b:{d=v[b+64>>2];if((d|0)>=0&(d|0)<=v[b+60>>2]){break b}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;c:{if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=w[a+12|0];d=v[b+24>>2];v[b+24>>2]=d+1;t[d|0]=c;break c}if((Cb(b,w[a+12|0])|0)==-1){break a}}c=v[b+8>>2];if(c&7){break a}d=v[b+64>>2];if((d|0)>=0&(d|0)<=v[b+60>>2]){break b}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;d:{if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=w[a+13|0];d=v[b+24>>2];v[b+24>>2]=d+1;t[d|0]=c;break d}if((Cb(b,w[a+13|0])|0)==-1){break a}}c=v[b+8>>2];if(c&7){break a}d=v[b+64>>2];if((d|0)>=0&(d|0)<=v[b+60>>2]){break b}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;e:{if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=w[a+52|0];d=v[b+24>>2];v[b+24>>2]=d+1;t[d|0]=c;break e}if((Cb(b,w[a+52|0])|0)==-1){break a}}c=v[b+8>>2];if(c&7){break a}d=v[b+64>>2];if((d|0)>=0&(d|0)<=v[b+60>>2]){break b}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;f:{if((c|0)<=0){if((Cb(b,0)|0)!=-1){break f}break a}v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;t[c|0]=0}c=v[a+16>>2];if(Gh(b,c,c>>31)){break a}c=v[a+20>>2];if(Gh(b,c,c>>31)){break a}c=v[a+24>>2];if(Gh(b,c,c>>31)){break a}c=v[a+28>>2];if(Gh(b,c,c>>31)){break a}c=v[a+32>>2];if(Gh(b,c,c>>31)){break a}c=v[a+36>>2];if(Gh(b,c,c>>31)){break a}c=v[a+40>>2];if(Gh(b,c,c>>31)){break a}c=v[a+44>>2];if(Gh(b,c,c>>31)){break a}c=v[a+48>>2];if(Gh(b,c,c>>31)){break a}if(xg(b,2,v[a+60>>2],0)){break a}if(xg(b,2,v[a+72>>2],0)){break a}c=0;d=B(v[a+60>>2],w[a+12|0]);if((d|0)>0){while(1){if(xg(b,2,v[v[a+68>>2]+(c<<2)>>2],0)){break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}}c=0;d=B(v[a+72>>2],w[a+13|0]);if((d|0)>0){while(1){if(xg(b,2,v[v[a+80>>2]+(c<<2)>>2],0)){break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}}d=w[a+12|0];g:{if(!d){d=1;break g}c=w[a+52|0];e=d&7;h:{if(d-1>>>0<7){d=1;break h}f=d&248;d=1;while(1){d=B(c,B(c,B(c,B(c,B(c,B(c,B(c,B(c,d))))))));f=f-8|0;if(f){continue}break}}if(!e){break g}while(1){d=B(c,d);e=e-1|0;if(e){continue}break}}d=B(w[a+13|0],d);if((d|0)<=0){return 0}c=0;while(1){if(xg(b,2,v[v[a+56>>2]+(c<<2)>>2],0)){break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}return 0}v[b+8>>2]=c|4}return-1}function U3(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;a:{if((d|0)<1){break a}v[e>>2]=0;f=v[a+1020>>2];if((f|0)>=16383){g=Qa[v[v[b>>2]+12>>2]](b,v[a+1028>>2],1,16383,0,0)|0;v[a+1024>>2]=g;if((g|0)<=16382){t[g+v[a+1028>>2]|0]=255}v[a+1020>>2]=0;f=0}if(v[a+1024>>2]<=(f|0)){break a}v[a+1020>>2]=f+1;g=w[v[a+1028>>2]+f|0];if((g<<16)-131072>>>0>458752){break a}v[a+1044>>2]=0;p=g+1|0;u[a+1032>>1]=p;g=1<>1]=g;r=1<>1]=r;j=g+2|0;u[a+1042>>1]=j;u[a+1038>>1]=j;u[a+1036>>1]=g+1;eb(v[a+1060>>2],0,4096);eb(v[a+1068>>2],0,4096);eb(v[a+1064>>2],0,4096);n=ab(d+1|0);f=v[a+1060>>2];g=iL(a,b);b:{if((g&65535)==x[a+1036>>1]){break b}i=d;j=n;while(1){l=g<<16>>16;if((l|0)<0){break b}c:{d:{if(x[a+1034>>1]==(g&65535)){u[a+1032>>1]=p;u[a+1040>>1]=r;u[a+1042>>1]=x[a+1038>>1];while(1){h=iL(a,b);g=h&65535;if((g|0)==x[a+1034>>1]){continue}break}if((g|0)==x[a+1036>>1]){break c}h=(h|0)>1]?h:0;t[j|0]=h;i=i-1|0;if(i&65535){j=j+1|0;g=h;break d}if(!c){j=n;i=d;g=h;break d}g=h;j=n;i=d;if(!(hL(a,c,j,i)&32768)){break d}break b}m=v[a+1060>>2];k=u[a+1042>>1];o=g;e:{if((k|0)>(l|0)){break e}o=g;if(m+4094>>>0<=f>>>0){break e}if((k|0)<(l|0)){v[e>>2]=v[e>>2]+1}t[f|0]=h;f=f+1|0;m=v[a+1060>>2];o=q}k=o;f:{if(m+4094>>>0<=f>>>0|u[a+1038>>1]>k<<16>>16){break f}while(1){k=k<<16>>16;t[f|0]=w[k+v[a+1064>>2]|0];f=f+1|0;k=u[v[a+1068>>2]+(k<<1)>>1];if((k|0)>1]){break f}if(v[a+1060>>2]+4094>>>0>f>>>0){continue}break}}t[f|0]=k;m=u[a+1042>>1];l=u[a+1040>>1];g:{if((m|0)>=(l|0)){k=h;g=q;break g}t[v[a+1064>>2]+m|0]=k;h=u[a+1042>>1];u[a+1042>>1]=h+1;u[v[a+1068>>2]+(h<<1)>>1]=q;l=x[a+1040>>1];m=x[a+1042>>1]}f=f+1|0;h:{if(m<<16>>16>16){break h}h=u[a+1032>>1];if((h|0)>11){break h}u[a+1032>>1]=h+1;u[a+1040>>1]=l<<1}i:{if(y[a+1060>>2]>=f>>>0){break i}if(!c){while(1){f=f-1|0;t[j|0]=w[f|0];i=i-1|0;h=i&65535;i=h?i:d;j=h?j+1|0:n;if(y[a+1060>>2]>>0){continue}break i}}while(1){f=f-1|0;t[j|0]=w[f|0];j:{i=i-1|0;if(i&65535){j=j+1|0;break j}j=n;i=d;if(!(hL(a,c,j,i)&32768)){break j}break b}if(y[a+1060>>2]>>0){continue}break}}h=k}q=g;g=iL(a,b);if((g&65535)!=x[a+1036>>1]){continue}}break}if(!c|(i&65535)==(d&65535)){break b}hL(a,c,n,d-(i<<16>>16)|0)}$a(n)}}function eY(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{if(!b|!a){break a}g=v[a+32>>2];if(g){i=v[g+80>>2]}b:{c:{d:{switch(c-1|0){case 0:case 1:case 2:h=v[a+48>>2];if(h){break b}k=a+48|0;h=Qa[v[256552]](16)|0;if(!h){h=0;break c}v[h+4>>2]=256;v[h+8>>2]=0;v[h+12>>2]=0;g=Qa[v[256552]](6144)|0;v[h>>2]=g;if(!g){Qa[v[256556]](h);h=0;break c}eb(g,0,6144);v[h+12>>2]=i;if(!w[1164140]){g=gb(4);v[291036]=g;if(!g){break c}t[1164140]=1}if(!i){break c}v[i>>2]=v[i>>2]+1;break c;case 3:case 4:break d;default:break a}}h=v[a+60>>2];if(h){break b}k=a+60|0;h=Qa[v[256552]](16)|0;if(!h){h=0;break c}v[h+4>>2]=256;v[h+8>>2]=0;v[h+12>>2]=0;g=Qa[v[256552]](6144)|0;v[h>>2]=g;if(!g){Qa[v[256556]](h);h=0;break c}eb(g,0,6144);v[h+12>>2]=i;if(!w[1164140]){g=gb(4);v[291036]=g;if(!g){break c}t[1164140]=1}if(!i){break c}v[i>>2]=v[i>>2]+1}v[k>>2]=h}if(!h){break a}g=b;m=Ma-16|0;Ma=m;l=Qa[v[256552]](76)|0;e:{if(!l){v[m>>2]=290788;nb(0,0,0,0,0,2,2,3,290788,0,0,0,340689,m);l=0;break e}j=eb(l,0,72);v[j+72>>2]=0;v[j+4>>2]=17;v[j+48>>2]=c;f:{g:{if(!i){h:{if(!g){c=0;break h}c=g;while(1){k=c;c=c+1|0;if(w[k|0]){continue}break}c=0;n=k-g|0;if((n|0)<0){break h}k=Qa[v[256555]](n+1|0)|0;if(!k){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break h}c=cb(k,g,n);t[n+c|0]=0}v[j+8>>2]=c;if(d){c=d;while(1){g=c;c=g+1|0;if(w[g|0]){continue}break}c=0;k=g-d|0;i:{if((k|0)<0){break i}g=Qa[v[256555]](k+1|0)|0;if(!g){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break i}c=cb(g,d,k);t[k+c|0]=0}v[j+52>>2]=c}if(!e){break f}c=e;while(1){d=c;c=c+1|0;if(w[d|0]){continue}break}c=0;g=d-e|0;if((g|0)<0){break g}d=Qa[v[256555]](g+1|0)|0;if(!d){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break g}c=cb(d,e,g);t[g+c|0]=0;break g}o=j,p=Zc(i,g,-1),v[o+8>>2]=p;if(d){o=j,p=Zc(i,d,-1),v[o+52>>2]=p}if(!e){break f}c=Zc(i,e,-1)}v[j+56>>2]=c}j:{if(f){e=0;if(w[f|0]){c=f;while(1){e=e+1|0;d=w[c+1|0];c=c+1|0;if(d){continue}break}}v[j+44>>2]=e;if(!(!i|(e|0)>4)){c=Zc(i,f,e);break j}c=Qa[v[256555]](e+1|0)|0;if(!c){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break j}o=cb(c,f,e)+e|0,p=0,t[o|0]=p;break j}c=0;v[j+44>>2]=0}v[j+40>>2]=c;v[j+64>>2]=0;v[j+68>>2]=0;v[j+36>>2]=0}Ma=m+16|0;if(!l){break a}v[l+32>>2]=v[a+32>>2];if(!Tv(h,b,0,0,l)){return l}dY(l)}return 0}function s$(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=v[v[a>>2]+96>>2];d=v[v[a+8>>2]+140>>2];if((d|0)>=1){cb(v[a+132>>2],v[a+136>>2],x[a+128>>1]<<3)}cb(v[a+156>>2]+288|0,v[a+4>>2]+180|0,68);a:{if(b){c=v[a+156>>2];v[c+224>>2]=65536;v[c+228>>2]=65536;cb(v[a+140>>2],v[a+136>>2],x[a+128>>1]<<3);break a}c=v[a+156>>2];e=v[v[a+4>>2]+44>>2];v[c+224>>2]=v[e+4>>2];v[c+228>>2]=v[e+8>>2]}c=v[a+136>>2]+(x[a+128>>1]<<3)|0;e=c-32|0;v[e>>2]=v[e>>2]+32&-64;e=c-24|0;v[e>>2]=v[e>>2]+32&-64;e=c-12|0;v[e>>2]=v[e>>2]+32&-64;c=c-4|0;v[c>>2]=v[c>>2]+32&-64;b:{if((d|0)>=1){e=v[v[a+12>>2]- -64>>2];c=v[a+156>>2];f=v[c+396>>2];v[c+468>>2]=d;v[c+464>>2]=f;c=v[a+156>>2];t[c+564|0]=b;b=v[a+124>>2];v[c+144>>2]=v[a+120>>2];v[c+148>>2]=b;b=v[a+132>>2];v[c+152>>2]=v[a+128>>2];v[c+156>>2]=b;b=v[a+140>>2];v[c+160>>2]=v[a+136>>2];v[c+164>>2]=b;b=v[a+148>>2];v[c+168>>2]=v[a+144>>2];v[c+172>>2]=b;v[c+176>>2]=v[a+152>>2];b=v[a+156>>2];v[b+364>>2]=0;v[b+356>>2]=3;c=v[b+148>>2];d=v[b+144>>2];v[b+36>>2]=d;v[b+40>>2]=c;v[b+72>>2]=d;v[b+76>>2]=c;v[b+360>>2]=v[b+464>>2];v[b+368>>2]=v[b+468>>2];c=v[b+156>>2];g=v[b+152>>2];v[b+44>>2]=g;v[b+48>>2]=c;d=v[b+164>>2];h=v[b+160>>2];v[b+52>>2]=h;v[b+56>>2]=d;f=v[b+172>>2];i=v[b+168>>2];v[b+60>>2]=i;v[b+64>>2]=f;j=v[b+176>>2];v[b+68>>2]=j;v[b+80>>2]=g;v[b+84>>2]=c;v[b+88>>2]=h;v[b+92>>2]=d;v[b+96>>2]=i;v[b+100>>2]=f;v[b+104>>2]=j;v[b+348>>2]=65537;u[b+352>>1]=1;u[b+298>>1]=16384;u[b+300>>1]=0;u[b+302>>1]=16384;u[b+304>>1]=0;u[b+294>>1]=16384;u[b+296>>1]=0;v[b+316>>2]=1;v[b+308>>2]=1;v[b+16>>2]=0;v[b+432>>2]=0;v[b+140>>2]=v[b+176>>2];c=v[b+172>>2];v[b+132>>2]=v[b+168>>2];v[b+136>>2]=c;c=v[b+164>>2];v[b+124>>2]=v[b+160>>2];v[b+128>>2]=c;c=v[b+156>>2];v[b+116>>2]=v[b+152>>2];v[b+120>>2]=c;c=v[b+148>>2];v[b+108>>2]=v[b+144>>2];v[b+112>>2]=c;b=Qa[v[v[b>>2]+708>>2]](b)|0;c=v[a+156>>2];if(w[c+565|0]?b:0){break b}t[e|0]=w[e|0]|w[c+344|0]<<5|4}if(v[k+64>>2]==40){b=0;if(w[v[a+156>>2]+615|0]){break b}}b=v[a+136>>2]+(x[a+128>>1]<<3)|0;c=b-32|0;d=v[c+4>>2];v[a+68>>2]=v[c>>2];v[a+72>>2]=d;c=b-24|0;d=v[c+4>>2];v[a+76>>2]=v[c>>2];v[a+80>>2]=d;c=b-16|0;d=v[c+4>>2];v[a+180>>2]=v[c>>2];v[a+184>>2]=d;b=b-8|0;c=v[b+4>>2];v[a+188>>2]=v[b>>2];v[a+192>>2]=c;b=0}return b}function Jua(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,p=0,q=0,r=0,s=0,t=0,u=0,x=0,y=0,z=0,A=0,C=0,D=0;q=Ma-96|0;d=a;while(1){a:{f=d;d=v[(t<<2)+b>>2]+c|0;y=w[d+9|0];n=w[d+1|0];r=y+n|0;z=w[d+10|0];A=w[d|0];h=z+A|0;l=w[d+8|0];o=w[d+2|0];j=l+o|0;p=w[d+7|0];s=w[d+3|0];i=p+s|0;k=w[d+6|0];e=w[d+4|0];g=k+e|0;d=w[d+5|0];v[f>>2]=(((((r+h|0)+j|0)+i|0)+g|0)+d<<1)-2816;m=d<<1;h=h-m|0;i=i-m|0;x=j-m|0;u=g-m|0;d=B(h+i|0,11116)+B(x+u|0,1649)|0;g=B(h,-13275);r=r-m|0;h=B(h-r|0,9746)+2048|0;v[f+24>>2]=d+((g+h|0)+B(x,-6461)|0)>>12;j=B(r-i|0,7587);v[f+8>>2]=(d+((j+B(i,-8342)|0)+B(u,-11395)|0)|0)+2048>>12;d=s-p|0;n=n-y|0;s=B(d+n|0,-11467);p=A-z|0;i=B(p+d|0,6263);m=i+(s+B(d,10695)|0)|0;g=o-l|0;d=B(g+d|0,3264);k=e-k|0;v[f+28>>2]=((m+d|0)+B(k,-10538)|0)+2048>>12;e=B(g+n|0,-6263);l=e+B(g,-16294)|0;g=B(g+p|0,8756);v[f+20>>2]=(((l+g|0)+d|0)+B(k,11467)|0)+2048>>12;d=B(n+p|0,10538)+2048|0;v[f+12>>2]=(s+(e+(d+B(n,10456)|0)|0)|0)+B(k,-8756)>>12;v[f+4>>2]=(i+(g+(d+B(p,-14090)|0)|0)|0)+B(k,3264)>>12;v[f+16>>2]=j+(((h+B(r,511)|0)+B(x,-11116)|0)+B(u,4813)|0)>>12;e=t-7|0;t=t+1|0;g=7;d=q;b:{switch(e|0){case 0:continue;case 3:break a;default:break b}}d=f+32|0;continue}break}while(1){y=v[d+64>>2];n=v[a>>2];r=y+n|0;z=v[a+160>>2];e=z<<1;b=r-e|0;A=v[a+224>>2];l=v[a+96>>2];o=A+l|0;C=o-e|0;p=v[d>>2];s=v[a+64>>2];k=p+s|0;m=k-e|0;h=v[a+128>>2];j=v[a+192>>2];f=h+j|0;t=f-e|0;x=B(b+C|0,11759)+B(m+t|0,1744)|0;D=B(b,-14043);i=b;q=v[d+32>>2];c=v[a+32>>2];b=q+c|0;u=b-e|0;i=B(i-u|0,10310)+16384|0;v[a+192>>2]=x+((D+i|0)+B(m,-6835)|0)>>15;e=B(u-C|0,8026);v[a+64>>2]=(x+((e+B(C,-8825)|0)+B(t,-12054)|0)|0)+16384>>15;v[a>>2]=B(z+(f+(o+(k+(b+r|0)|0)|0)|0)|0,8666)+16384>>15;b=l-A|0;l=c-q|0;k=B(b+l|0,-12131);o=n-y|0;f=B(o+b|0,6626);q=f+(k+B(b,11314)|0)|0;c=s-p|0;b=B(c+b|0,3453);j=h-j|0;v[a+224>>2]=((q+b|0)+B(j,-11148)|0)+16384>>15;q=B(c+l|0,-6626);h=q+B(c,-17237)|0;c=B(c+o|0,9262);v[a+160>>2]=(((h+c|0)+b|0)+B(j,12131)|0)+16384>>15;b=B(l+o|0,11148)+16384|0;v[a+96>>2]=(k+(q+(b+B(l,11061)|0)|0)|0)+B(j,-9262)>>15;v[a+32>>2]=(f+(c+(b+B(o,-14905)|0)|0)|0)+B(j,3453)>>15;v[a+128>>2]=(((i+B(u,540)|0)+B(m,-11759)|0)+B(t,5091)|0)+e>>15;b=g;g=b-1|0;d=d+4|0;a=a+4|0;if(b){continue}break}}function Eua(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,p=0,q=0,r=0,s=0,t=0,u=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0;G=Ma-192|0;Ma=G;e=a;while(1){a:{o=e;d=v[(k<<2)+b>>2]+c|0;f=w[d|0];g=w[d+13|0];l=f-g|0;i=w[d+3|0];j=w[d+10|0];A=i-j|0;r=w[d+2|0];s=w[d+11|0];m=r-s|0;t=w[d+1|0];u=w[d+12|0];h=t-u|0;C=m+h|0;x=w[d+5|0];y=w[d+8|0];n=x-y|0;z=w[d+4|0];D=w[d+9|0];q=z-D|0;E=n-q|0;F=w[d+6|0];p=w[d+7|0];d=F-p|0;v[e+28>>2]=l+A-((C+E|0)+d);x=x+y|0;t=t+u|0;u=x+t|0;i=i+j|0;j=z+D|0;r=r+s|0;s=j+r|0;y=F+p|0;g=f+g|0;z=y+g|0;v[e>>2]=((u+(i+s|0)|0)+z|0)-1792;f=i<<1;v[e+16>>2]=((B(s-f|0,-7223)+B(u-f|0,2578)|0)+B(z-f|0,10438)|0)+4096>>13;f=r-j|0;g=g-y|0;i=t-x|0;j=B(g+i|0,9058)+4096|0;v[e+24>>2]=(B(f,-11295)+j|0)+B(i,-14084)>>13;v[e+8>>2]=(j+B(f,5027)|0)+B(g,2237)>>13;f=A<<13;g=((B(E,11512)-f|0)+B(C,-1297)|0)+4096|0;p=(g+B(m,-19447)|0)+B(q,9175)|0;m=B(d+q|0,6164)+B(l+m|0,9810)|0;v[e+20>>2]=p+m>>13;p=(g+B(h,-3474)|0)+B(n,-25148)|0;h=B(n-d|0,3826)+B(l+h|0,10935)|0;v[e+12>>2]=p+h>>13;v[e+4>>2]=(m+((d+(f+h|0)|0)+B(d+l|0,-9232)|0)|0)+4096>>13;l=k-7|0;k=k+1|0;d=7;e=G;b:{switch(l|0){case 0:continue;case 6:break a;default:break b}}e=o+32|0;continue}break}while(1){c=v[e+32>>2];m=v[a+128>>2];h=c+m|0;o=v[e+96>>2];k=v[a+64>>2];n=o+k|0;l=h+n|0;q=v[e+64>>2];f=v[a+96>>2];g=q+f|0;b=g<<1;i=v[e>>2];j=v[a+160>>2];A=i+j|0;r=v[e+128>>2];s=v[a+32>>2];t=r+s|0;u=A+t|0;C=v[a+224>>2];x=v[a+192>>2];y=C+x|0;z=v[e+160>>2];D=v[a>>2];E=z+D|0;F=y+E|0;v[a+128>>2]=((B(l-b|0,-4717)+B(u-b|0,1684)|0)+B(F-b|0,6817)|0)- -8192>>14;v[a>>2]=B(F+(u+(g+l|0)|0)|0,5350)- -8192>>14;b=D-z|0;q=f-q|0;o=k-o|0;k=s-r|0;f=o+k|0;l=j-i|0;m=m-c|0;g=l-m|0;c=x-C|0;v[a+224>>2]=B(b+q-((f+g|0)+c)|0,5350)- -8192>>14;h=n-h|0;n=E-y|0;i=t-A|0;j=B(n+i|0,5915)- -8192|0;v[a+192>>2]=(B(h,-7376)+j|0)+B(i,-9198)>>14;v[a+64>>2]=(j+B(h,3283)|0)+B(n,1461)>>14;h=B(q,5350);n=((B(g,7518)-h|0)+B(f,-847)|0)- -8192|0;p=(n+B(o,-12700)|0)+B(m,5992)|0;o=B(c+m|0,4025)+B(b+o|0,6406)|0;v[a+160>>2]=p+o>>14;p=(n+B(k,-2269)|0)+B(l,-16423)|0;k=B(l-c|0,2499)+B(b+k|0,7141)|0;v[a+96>>2]=p+k>>14;v[a+32>>2]=(o+((h+(k+B(b,-6029)|0)|0)+B(c,-679)|0)|0)- -8192>>14;b=d;d=d-1|0;e=e+4|0;a=a+4|0;if(b){continue}break}Ma=G+192|0}function cDa(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,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,z=0,A=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;b=v[b+84>>2];l=B(B(u[c+26>>1],v[b+52>>2]),10033);m=B(u[c+10>>1],v[b+20>>2])<<13|1024;k=B(v[b+84>>2],u[c+42>>1]);p=m+B(k,5793)|0;i=l+p>>11;q=B(B(u[c+18>>1],v[b+36>>2]),10033);n=B(u[c+2>>1],v[b+4>>2])<<13|1024;o=B(v[b+68>>2],u[c+34>>1]);r=n+B(o,5793)|0;g=q+r>>11;h=B(i+g|0,2998);f=v[d>>2]+e|0;a=v[a+332>>2]+128|0;s=B(B(u[c+22>>1],v[b+44>>2]),10033);x=B(u[c+6>>1],v[b+12>>2])<<13|1024;y=B(v[b+76>>2],u[c+38>>1]);z=x+B(y,5793)|0;j=s+z>>11;A=h+(j+g<<13)|0;C=B(B(u[c+16>>1],v[b+32>>2]),10033);D=B(u[c>>1],v[b>>2])<<13|1024;E=B(v[b+64>>2],u[c+32>>1]);F=D+B(E,5793)|0;G=(C+F<<2)+131072&-8192;H=B(B(u[c+24>>1],v[b+48>>2]),10033);I=B(u[c+8>>1],v[b+16>>2])<<13|1024;J=B(v[b+80>>2],u[c+40>>1]);K=I+B(J,5793)|0;L=H+K>>11;M=G+B(L,5793)|0;N=B(B(u[c+20>>1],v[b+40>>2]),10033);O=B(u[c+4>>1],v[b+8>>2])<<13|1024;P=B(v[b+72>>2],u[c+36>>1]);Q=O+B(P,5793)|0;b=B(N+Q>>11,10033);c=M+b|0;t[f|0]=w[a+(A+c>>>18&1023)|0];t[f+5|0]=w[a+(c-A>>>18&1023)|0];c=g-(i+j|0)<<13;g=B(L,-11586)+G|0;t[f+1|0]=w[a+(c+g>>>18&1023)|0];t[f+4|0]=w[a+(g-c>>>18&1023)|0];c=h+(i-j<<13)|0;b=M-b|0;t[f+2|0]=w[a+(c+b>>>18&1023)|0];t[f+3|0]=w[a+(b-c>>>18&1023)|0];c=m+B(k,-11586)>>11;f=n+B(o,-11586)>>11;i=B(c+f|0,2998);b=v[d+4>>2]+e|0;g=B(y,-11586)+x>>11;h=i+(g+f<<13)|0;k=(B(E,-11586)+D<<2)+131072&-8192;j=B(J,-11586)+I>>11;m=k+B(j,5793)|0;o=B(B(P,-11586)+O>>11,10033);n=m+o|0;t[b|0]=w[a+(h+n>>>18&1023)|0];t[b+5|0]=w[a+(n-h>>>18&1023)|0];f=f-(c+g|0)<<13;h=k+B(j,-11586)|0;t[b+1|0]=w[a+(f+h>>>18&1023)|0];t[b+4|0]=w[a+(h-f>>>18&1023)|0];c=i+(c-g<<13)|0;f=m-o|0;t[b+2|0]=w[a+(c+f>>>18&1023)|0];t[b+3|0]=w[a+(f-c>>>18&1023)|0];c=p-l>>11;f=r-q>>11;l=B(c+f|0,2998);b=v[d+8>>2]+e|0;d=z-s>>11;e=l+(d+f<<13)|0;g=(F-C<<2)+131072&-8192;i=K-H>>11;h=g+B(i,5793)|0;j=B(Q-N>>11,10033);k=h+j|0;t[b|0]=w[a+(e+k>>>18&1023)|0];t[b+5|0]=w[a+(k-e>>>18&1023)|0];e=f-(c+d|0)<<13;f=g+B(i,-11586)|0;t[b+1|0]=w[a+(e+f>>>18&1023)|0];t[b+4|0]=w[a+(f-e>>>18&1023)|0];c=l+(c-d<<13)|0;d=h-j|0;t[b+2|0]=w[a+(c+d>>>18&1023)|0];t[b+3|0]=w[a+(d-c>>>18&1023)|0]}function QZ(a){var 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;d=Ma-16|0;Ma=d;c=v[a+104>>2];b=Qa[v[a+516>>2]](a,1886352244,c,d+4|0)|0;a:{if(b){break a}h=v[c+8>>2];m=v[d+4>>2];f=v[a+476>>2];b=re(c,32);if(b){break a}b:{c:{d:{e:{f:{if((f|0)!=151552){b=3;if((f|0)!=131072){break b}f=v[c+28>>2];i=Ac(c,d+8|0);b=v[d+8>>2];if(b){break b}b=3;if(i>>>0>x[a+264>>1]){break b}l=yb(f,2,0,i,0,d+8|0);if(v[d+8>>2]){break c}b=Ed(c,i<<1);v[d+8>>2]=b;if(b){break c}if(!i){break f}b=0;while(1){q=l+(b<<1)|0,r=ae(c),u[q>>1]=r;b=b+1|0;if((i|0)!=(b|0)){continue}break}dd(c);n=i&1;g:{if((i|0)==1){b=0;break g}e=i&65534;b=0;while(1){k=g<<1;j=x[l+(k|2)>>1];o=j-257|0;k=x[l+k>>1];p=k-257|0;b=k>>>0>257?(b&65535)<(p|0)?p:b:b;b=j>>>0>257?(b&65535)<(o|0)?o:b:b;g=g+2|0;e=e-2|0;if(e){continue}break}}if(!n){break d}e=x[l+(g<<1)>>1];g=e-257|0;b=e>>>0>257?(g|0)>(b&65535)?g:b:b;break d}g=v[c+28>>2];f=Ac(c,d+12|0);b=v[d+12>>2];if(b){break b}b=3;if(x[a+264>>1]<=(f-1&65535)>>>0|f>>>0>258){break b}b=0;e=yb(g,1,0,f,0,d+12|0);h:{if(v[d+12>>2]){break h}c=_e(c,e,f);v[d+12>>2]=c;if(c){break h}while(1){c=t[b+e|0]+b|0;if(!((c|0)<0|(c|0)>(f|0))){b=b+1|0;if((f|0)!=(b|0)){continue}break e}break}v[d+12>>2]=3}if(e){Qa[v[g+8>>2]](g,e)}b=v[d+12>>2];break b}dd(c);b=0;break d}v[a+640>>2]=e;u[a+636>>1]=f;b=0;break b}e=0;n=b&65535;g=yb(f,4,0,n,0,d+8|0);if(v[d+8>>2]){break c}i:{j:{if(!n){break j}m=h+m|0;while(1){if(m>>>0<=y[c+8>>2]){if((b&65535)>>>0<=(e&65535)>>>0){break j}while(1){c=yb(f,1,0,1,0,d+8|0);v[(e<<2)+g>>2]=c;if(v[d+8>>2]){break i}t[c|0]=0;e=e+1|0;if((n|0)!=(e|0)){continue}break}break j}h=Gf(c,d+8|0);if(v[d+8>>2]){break i}k=(e<<2)+g|0;o=k;j=f;h=h&255;if(!(m>>>0>=h>>>0&y[c+8>>2]<=m-h>>>0)){h=m-v[c+8>>2]|0;h=(h|0)>0?h:0}j=yb(j,1,0,h+1|0,0,d+8|0);v[o>>2]=j;if(v[d+8>>2]){break i}j=_e(c,j,h);v[d+8>>2]=j;if(j){break i}t[v[k>>2]+h|0]=0;e=e+1|0;if((n|0)!=(e|0)){continue}break}}v[a+644>>2]=g;v[a+640>>2]=l;u[a+638>>1]=b;u[a+636>>1]=i;b=0;break b}b=b&65535;c=b>>>0>1?b:1;b=0;while(1){e=(b<<2)+g|0;i=v[e>>2];if(i){Qa[v[f+8>>2]](f,i)}v[e>>2]=0;b=b+1|0;if((c|0)!=(b|0)){continue}break}}if(g){Qa[v[f+8>>2]](f,g)}if(l){Qa[v[f+8>>2]](f,l)}b=v[d+8>>2]}t[a+632|0]=1}Ma=d+16|0;return b}function GKa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=Ma-48|0;Ma=e;a:{b:{c:{if(!hb(b,227452)){f=6;if(d){break a}d=0;b=v[107312];if(!b){break a}c=v[c>>2];while(1){if(!((c|0)!=v[b+8>>2]|v[b+16>>2]!=10)){v[a+12>>2]=d;break c}d=d+1|0;b=v[(d<<2)+429248>>2];if(b){continue}break}break a}if(!hb(b,227437)){f=6;if(d){break a}v[a+16>>2]=v[c>>2];break c}if(!hb(b,232097)){f=6;if(d){break a}b=v[c>>2];if(!b){f=35;break a}d=v[b+116>>2];v[e+16>>2]=d;if(!d){f=aB(b,e+16|0,a);if(f){break a}d=v[e+16>>2];v[b+116>>2]=d;v[b+120>>2]=1958}v[d+12>>2]=v[c+4>>2];break c}if(!hb(b,272445)){if(d){f=6;d:{switch(Af(c,0,10)|0){case 0:f=0;t[a+20|0]=0;break a;case 1:break d;default:break a}}t[a+20|0]=1;break c}t[a+20|0]=w[c|0];break c}e:{f:{if(!hb(b,234996)){if(d){b=Af(c,e+12|0,10);d=v[e+12>>2];if(w[d|0]!=44|(c|0)==(d|0)){break b}d=d+1|0;l=e,m=Af(d,e+12|0,10),v[l+20>>2]=m;c=v[e+12>>2];if(w[c|0]!=44){break b}if((c|0)!=(d|0)){break f}break b}b=v[c>>2];break e}f=12;if(hb(b,272476)){break a}if(d){f=0;if(!Af(c,0,10)){t[a+21|0]=0;break a}t[a+21|0]=1;break a}t[a+21|0]=w[c|0];break c}d=c+1|0;l=e,m=Af(d,e+12|0,10),v[l+24>>2]=m;c=v[e+12>>2];if(w[c|0]!=44|(c|0)==(d|0)){break b}d=c+1|0;l=e,m=Af(d,e+12|0,10),v[l+28>>2]=m;c=v[e+12>>2];if(w[c|0]!=44|(c|0)==(d|0)){break b}d=c+1|0;l=e,m=Af(d,e+12|0,10),v[l+32>>2]=m;c=v[e+12>>2];if(w[c|0]!=44|(c|0)==(d|0)){break b}d=c+1|0;l=e,m=Af(d,e+12|0,10),v[l+36>>2]=m;c=v[e+12>>2];if(w[c|0]!=44|(c|0)==(d|0)){break b}d=c+1|0;l=e,m=Af(d,e+12|0,10),v[l+40>>2]=m;c=v[e+12>>2];if(w[c|0]!=44|(c|0)==(d|0)){break b}d=c+1|0;l=e,m=Af(d,e+12|0,10),v[l+44>>2]=m;f=v[e+12>>2];if((w[f|0]|32)!=32){break b}c=e+16|0;if((d|0)!=(f|0)){break e}f=6;break a}f=6;if((b|0)<0){break a}d=v[c+8>>2];if((d|0)<0){break a}g=v[c+16>>2];if((g|0)<0){break a}h=v[c+24>>2];if((h|0)<0){break a}i=v[c+4>>2];if((i|0)<0){break a}j=v[c+12>>2];if((j|0)<0){break a}k=v[c+20>>2];if((k|0)<0){break a}c=v[c+28>>2];if((c|0)<0|(b|0)>(d|0)|((d|0)>(g|0)|(g|0)>(h|0))){break a}if((i|0)>500|(j|0)>500|((k|0)>500|(c|0)>500)){break a}v[a+48>>2]=h;v[a+36>>2]=j;v[a+24>>2]=b;v[a+52>>2]=c;v[a+44>>2]=k;v[a+40>>2]=g;v[a+32>>2]=d;v[a+28>>2]=i}f=0;break a}f=6}Ma=e+48|0;return f|0}function OGa(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,p=0;j=Ma-16|0;Ma=j;i=v[c>>2];v[j+12>>2]=0;d=8;e=a+5|0;a:{if(e>>>0>b>>>0){break a}f=w[a+3|0];h=w[a+4|0];a=v[c+92>>2];d=h+a|0;if(d>>>0>y[c+96>>2]){g=a;a=d+3&-4;o=c,p=yb(i,36,g,a,v[c+100>>2],j+12|0),v[o+100>>2]=p;d=v[j+12>>2];if(d){break a}v[c+96>>2]=a}d=8;a=b;b=f&4;i=f&1;k=f&2;m=f&8;l=f&16;if(a>>>0>>2|0)+(k?i+9|0:i|8)+(m>>>3)+(l>>>4)|0,h)+e>>>0){break a}n=v[c+92>>2];b:{if(!h){break b}a=v[c+100>>2]+B(n,36)|0;if(!b){b=0;while(1){f=a;c:{if(i){d=e+2|0;g=w[e+1|0]|w[e|0]<<8;break c}d=e+1|0;g=w[e|0]}v[f>>2]=g;f=a;d:{if(k){e=d+2|0;g=w[d+1|0]|w[d|0]<<8;break d}e=d+1|0;g=w[d|0]}v[f+4>>2]=g;v[a+8>>2]=w[e|0];v[a+20>>2]=w[e+2|0]|w[e+1|0]<<8;e:{if(m){d=w[e+4|0]<<8|w[e+3|0]<<16;g=5;f=e+6|0;break e}d=w[e+3|0]<<8;g=4;f=e+5|0}v[a+24>>2]=w[e+g|0]|d;g=a;f:{if(l){e=f+2|0;f=w[f+1|0]|w[f|0]<<8;break f}e=f+1|0;f=w[f|0]}v[g+28>>2]=f;a=a+36|0;b=b+1|0;if((h|0)!=(b|0)){continue}break}break b}if(!m){d=0;while(1){f=a;g:{if(i){b=e+2|0;g=w[e+1|0]|w[e|0]<<8;break g}b=e+1|0;g=w[e|0]}v[f>>2]=g;h:{if(k){e=w[b+1|0]|w[b|0]<<8;b=b+2|0;break h}e=w[b|0];b=b+1|0}v[a+4>>2]=e;v[a+8>>2]=w[b|0];v[a+20>>2]=w[b+3|0]|(w[b+2|0]<<8|w[b+1|0]<<16);v[a+24>>2]=w[b+5|0]|w[b+4|0]<<8;f=a;i:{if(l){e=b+8|0;b=w[b+7|0]|w[b+6|0]<<8;break i}e=b+7|0;b=w[b+6|0]}v[f+28>>2]=b;a=a+36|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}break b}b=0;if(!i){while(1){v[a>>2]=w[e|0];f=a;j:{if(k){d=e+3|0;g=w[e+2|0]|w[e+1|0]<<8;break j}d=e+2|0;g=w[e+1|0]}v[f+4>>2]=g;v[a+8>>2]=w[d|0];v[a+20>>2]=w[d+3|0]|(w[d+2|0]<<8|w[d+1|0]<<16);v[a+24>>2]=w[d+6|0]|(w[d+5|0]<<8|w[d+4|0]<<16);f=a;k:{if(l){e=d+9|0;g=w[d+8|0]|w[d+7|0]<<8;break k}e=d+8|0;g=w[d+7|0]}v[f+28>>2]=g;a=a+36|0;b=b+1|0;if((h|0)!=(b|0)){continue}break b}}while(1){v[a>>2]=w[e+1|0]|w[e|0]<<8;f=a;l:{if(k){d=e+4|0;g=w[e+3|0]|w[e+2|0]<<8;break l}d=e+3|0;g=w[e+2|0]}v[f+4>>2]=g;v[a+8>>2]=w[d|0];v[a+20>>2]=w[d+3|0]|(w[d+2|0]<<8|w[d+1|0]<<16);v[a+24>>2]=w[d+6|0]|(w[d+5|0]<<8|w[d+4|0]<<16);f=a;m:{if(l){e=d+9|0;g=w[d+8|0]|w[d+7|0]<<8;break m}e=d+8|0;g=w[d+7|0]}v[f+28>>2]=g;a=a+36|0;b=b+1|0;if((h|0)!=(b|0)){continue}break}}v[c+92>>2]=h+n;d=v[j+12>>2]}Ma=j+16|0;return d|0}function kza(a,b){a=a|0;b=b|0;var 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=v[a+4>>2];d=v[k+52>>2];j=d?d:64;l=v[a+12>>2];h=v[a+8>>2];e=v[k+56>>2];d=v[a+16>>2];g=v[a+20>>2]-d|0;c=!!((g|0)>0?e:0);a:while(1){b:{c:{if(!c){c=l-h>>1;g=(c|0)<(g|0)?c:g;d:{if((g|0)<1){break d}while(1){e=x[h>>1];if(e>>>0>12287){break d}f=d;e:{if(e>>>0<=32){j=(e|0)==32?j:64;c=e;break e}c=e-j|0;if(c- -64>>>0>127){break d}j=e&65408|64;c=c-112|0}t[f|0]=c;h=h+2|0;d=d+1|0;c=(g|0)>1;g=g-1|0;if(c){continue}break}}g=v[a+20>>2]-d|0;c=0;break c}if(h>>>0>>0){f=x[h>>1];c=(f&64512)==56320;e=c?(f+(e<<10)|0)-56613888|0:e;h=(c<<1)+h|0;c=1;break c}e=0-e|0;break b}while(1){f:{g:{h:{i:{if(!c){if(h>>>0>=l>>>0){break b}if((g|0)<=0){break i}c=h;while(1){j:{h=c+2|0;e=x[c>>1];if(e>>>0>32){break j}t[d|0]=e;j=(e|0)==32?j:64;d=d+1|0;if(h>>>0>=l>>>0){break b}f=(g|0)<2;g=g-1|0;c=h;if(!f){continue}break i}break}if((e&64512)!=55296){break f}c=1;continue a}c=e-j|0;f=e&-128|64;k:{if(e-12352>>>0>=42852){break k}f=12400;if((e|0)<12448){break k}f=30481;if(e-19968>>>0<20902){break k}f=49617;if((e|0)>44031){break k}f=e&-128|64}j=f;if(c- -64>>>0<=127){t[d|0]=c-112;g=g-1|0;d=d+1|0;if((e|0)<12288){break h}break g}if(!((g|0)<2|c+10513>>>0>21025)){f=d;l:{m:{n:{o:{if((c|0)>=0){c=c+-64|0;i=(c<<16>>16)/243|0;c=c-B(i,243)<<16>>16;i=i+208&65535;break o}i=-64-c|0;c=(i>>>0)/243|0;m=c^-1;n=0-c|0;c=i-B(c,243)|0;i=(c?m:n)+80|0;if(!c){break n}c=243-c|0}t[d|0]=i;if((c|0)<20){break m}c=c+13|0;break l}t[d|0]=i;c=0}c=w[c+855072|0]}t[f+1|0]=c;g=g-2|0;d=d+2|0;break g}c=RY(c);f=c>>24;i=c>>>0<67108864?f:4;if((i|0)<=(g|0)){p:{switch(i-3|0){case 1:t[d|0]=f;d=d+1|0;case 0:t[d+2|0]=c;t[d+1|0]=c>>>8;t[d|0]=c>>>16;d=d+3|0;break;default:break p}}g=g-i|0;break g}f=k+76|0;q:{r:{s:{t:{l=i-g|0;switch(l-1|0){case 0:break r;case 1:break s;case 2:break t;default:break q}}t[k+76|0]=c>>>16;f=k+77|0}t[f|0]=c>>>8;f=f+1|0}t[f|0]=c}t[k+63|0]=l;c=c>>(l<<3);u:{switch(g-1|0){case 2:t[d|0]=c>>>16;d=d+1|0;case 1:t[d|0]=c>>>8;d=d+1|0;case 0:t[d|0]=c;d=d+1|0;break;default:break u}}v[b>>2]=15;break b}v[b>>2]=15;break b}c=0;continue a}c=0;continue}c=1;continue}}break}v[k+52>>2]=j;v[k+56>>2]=0-e&e>>31;v[a+16>>2]=d;v[a+8>>2]=h}function Uv(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=v[((b<<2)+a|0)+88>>2];if(!g){c=v[a>>2];v[c+24>>2]=b;v[c+20>>2]=54;Qa[v[v[a>>2]>>2]](a)}c=v[a+384>>2];a:{if((c|0)<0){break a}f=c+1|0;e=f&3;d=v[a+380>>2];b:{if(c>>>0<3){f=0;c=0;break b}h=f&-4;f=0;c=0;while(1){i=f;f=c<<2;f=x[(v[d+(f|12)>>2]<<1)+g>>1]>255?1:x[(v[d+(f|8)>>2]<<1)+g>>1]>255?1:x[(v[d+(f|4)>>2]<<1)+g>>1]>255?1:x[(v[f+d>>2]<<1)+g>>1]>255?1:i;c=c+4|0;h=h-4|0;if(h){continue}break}}if(!e){break a}while(1){f=x[(v[d+(c<<2)>>2]<<1)+g>>1]>255?1:f;c=c+1|0;e=e-1|0;if(e){continue}break}}if(!v[g+128>>2]){c=v[a+24>>2];d=v[c>>2];v[c>>2]=d+1;t[d|0]=255;d=v[c+4>>2]-1|0;v[c+4>>2]=d;c:{if(d){break c}if(Qa[v[c+12>>2]](a)|0){break c}c=v[a>>2];v[c+20>>2]=25;Qa[v[c>>2]](a)}c=v[a+24>>2];d=v[c>>2];v[c>>2]=d+1;t[d|0]=219;d=v[c+4>>2]-1|0;v[c+4>>2]=d;d:{if(d){break d}if(Qa[v[c+12>>2]](a)|0){break d}c=v[a>>2];v[c+20>>2]=25;Qa[v[c>>2]](a)}d=v[a+384>>2];c=v[a+24>>2];e=v[c>>2];v[c>>2]=e+1;i=e;e=f?(d<<1)+5|0:d+4|0;t[i|0]=e>>>8;d=v[c+4>>2]-1|0;v[c+4>>2]=d;e:{if(d){break e}if(Qa[v[c+12>>2]](a)|0){break e}c=v[a>>2];v[c+20>>2]=25;Qa[v[c>>2]](a)}c=v[a+24>>2];d=v[c>>2];v[c>>2]=d+1;t[d|0]=e;d=v[c+4>>2]-1|0;v[c+4>>2]=d;f:{if(d){break f}if(Qa[v[c+12>>2]](a)|0){break f}c=v[a>>2];v[c+20>>2]=25;Qa[v[c>>2]](a)}c=v[a+24>>2];d=v[c>>2];v[c>>2]=d+1;t[d|0]=(f<<4)+b;b=v[c+4>>2]-1|0;v[c+4>>2]=b;g:{if(b){break g}if(Qa[v[c+12>>2]](a)|0){break g}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}c=0;h:{if(v[a+384>>2]<0){break h}if(!f){while(1){b=c;e=w[(v[v[a+380>>2]+(c<<2)>>2]<<1)+g|0];c=v[a+24>>2];d=v[c>>2];v[c>>2]=d+1;t[d|0]=e;d=v[c+4>>2]-1|0;v[c+4>>2]=d;i:{if(d){break i}if(Qa[v[c+12>>2]](a)|0){break i}c=v[a>>2];v[c+20>>2]=25;Qa[v[c>>2]](a)}c=b+1|0;if((b|0)>2]){continue}break h}}while(1){b=c;d=x[(v[v[a+380>>2]+(c<<2)>>2]<<1)+g>>1];c=v[a+24>>2];e=v[c>>2];v[c>>2]=e+1;t[e|0]=d>>>8;e=v[c+4>>2]-1|0;v[c+4>>2]=e;j:{if(e){break j}if(Qa[v[c+12>>2]](a)|0){break j}c=v[a>>2];v[c+20>>2]=25;Qa[v[c>>2]](a)}c=v[a+24>>2];e=v[c>>2];v[c>>2]=e+1;t[e|0]=d;d=v[c+4>>2]-1|0;v[c+4>>2]=d;k:{if(d){break k}if(Qa[v[c+12>>2]](a)|0){break k}c=v[a>>2];v[c+20>>2]=25;Qa[v[c>>2]](a)}c=b+1|0;if((b|0)>2]){continue}break}}v[g+128>>2]=1}return f}function mda(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,y=0,z=0,A=0,C=0,D=0;j=Ma-32|0;Ma=j;t=v[a+52>>2];n=v[a+12>>2];k=v[a>>2];e=$k(k);f=B(n?4:3,e);m=gb(f);a:{if(!m){wb(v[k+628>>2],v[k>>2],46020,0);break a}Hf(m,0,f);v[j+16>>2]=j+28;Mc(k,322,j+16|0);v[j>>2]=j+24;Mc(k,323,j);b:{c:{d:{e:{f:{g:{h:{switch(x[a+28>>1]-1|0){case 0:case 4:f=x[a+30>>1];if(f>>>0>8){break d}h=1<>1];if(f>>>0>8){break d}h=1<>1];if(f>>>0>8){break d}h=1<>1];if(f>>>0>7){break d}g=1<>2]+c|0)|0;f=d-1|0;break b}g=0}r=c-v[j+28>>2]|0;z=1;f=0}u=1;i:{if(!d){break i}if(c){p=e+m|0;q=e+p|0;s=n?e+q|0:0;h=0;while(1){e=v[j+24>>2];i=v[a+76>>2];e=e-((i+h>>>0)%(e>>>0)|0)|0;o=e+h>>>0>d>>>0?d-h|0:e;w=(B(c,f)<<2)+b|0;e=0;while(1){j:{k:{l:{if(A=(vr(k,m,v[a+80>>2]+e|0,i+h|0,0)|0)<=-1,C=0,D=v[a+4>>2],D?A:C){break l}if(A=(vr(k,p,v[a+80>>2]+e|0,v[a+76>>2]+h|0,1)|0)<=-1,C=0,D=v[a+4>>2],D?A:C){break l}if(A=(vr(k,q,v[a+80>>2]+e|0,v[a+76>>2]+h|0,2)|0)<=-1,C=0,D=v[a+4>>2],D?A:C){break l}if(!n){break k}if((vr(k,s,v[a+80>>2]+e|0,v[a+76>>2]+h|0,3)|0)>-1|!v[a+4>>2]){break k}}u=0;break j}i=v[a+76>>2];l=v[j+24>>2];i=B(Tl(k),(i+h>>>0)%(l>>>0)|0);l=v[j+28>>2];m:{if(l+e>>>0<=c>>>0){Qa[t|0](a,(e<<2)+w|0,e,f,l,o,0,r,i+m|0,i+p|0,i+q|0,n?i+s|0:0);break m}y=c-e|0;l=l-y|0;Qa[t|0](a,(e<<2)+w|0,e,f,y,o,l,l+r|0,i+m|0,i+p|0,i+q|0,n?i+s|0:0)}e=v[j+28>>2]+e|0;if(e>>>0>=c>>>0){break j}i=v[a+76>>2];continue}break}f=(z?o:0-o|0)+f|0;h=h+o|0;if(h>>>0>>0){continue}break}}if(!(g&2)){break i}i=0;while(1){a=(B(c,i)<<2)+b|0;e=(a+(c<<2)|0)-4|0;if(a>>>0>>0){while(1){g=v[a>>2];v[a>>2]=v[e>>2];v[e>>2]=g;a=a+4|0;e=e-4|0;if(a>>>0>>0){continue}break}}i=i+1|0;if((i|0)!=(d|0)){continue}break}}$a(m)}Ma=j+32|0;return u|0}function AN(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;i=Ma-32|0;Ma=i;d=v[a+12>>2];a:{b:{if(d&131072){break b}f=v[v[a+188>>2]+(b<<2)>>2];if(!f){d=v[a>>2];a=v[a+628>>2];v[i+4>>2]=b;v[i>>2]=0;wb(a,d,26512,i);c=0;break a}if(!(!(d&2048)|!((x[a+94>>1]|256)&d))){c:{if(!(d&512)){break c}c=v[a+596>>2];if(!c){break c}$a(c);d=v[a+12>>2]}d=d&-513;v[a+12>>2]=d;d:{c=v[a+616>>2];if(c>>>0>=f>>>0){g=v[a+184>>2]+(b<<2)|0;if(y[g>>2]<=c-f>>>0){break d}}v[a+504>>2]=-1;c=0;break a}v[a+600>>2]=f;v[a+596>>2]=v[a+612>>2]+v[g>>2];break b}if(f>>>0>y[a+600>>2]){v[a+504>>2]=-1;if(!(d&512)){d=v[a+628>>2];a=v[a>>2];v[i+20>>2]=b;v[i+16>>2]=a;wb(d,77138,28710,i+16|0);c=0;break a}c=0;if(!JN(a,f>>>0<4294966272?f+1023&-1024:0)){break a}}g=v[a+596>>2];d=f;c=Ma-80|0;Ma=c;e:{e=v[a+12>>2];if(!(e&131072)){f:{if(!(e&2048)){e=b<<2;if((Qa[v[a+640>>2]](v[a+628>>2],v[e+v[a+184>>2]>>2],0)|0)!=v[e+v[a+184>>2]>>2]){d=v[a+628>>2];g=v[a>>2];e=v[a+472>>2];h=v[a+500>>2];v[c+44>>2]=b;v[c+40>>2]=h;v[c+36>>2]=e;v[c+32>>2]=g;wb(d,77138,44862,c+32|0);d=-1;break f}g=Qa[v[a+632>>2]](v[a+628>>2],g,d)|0;if((g|0)==(d|0)){break f}e=v[a+628>>2];h=v[a>>2];j=v[a+472>>2];k=v[a+500>>2];v[c+16>>2]=d;v[c+12>>2]=g;v[c+8>>2]=k;v[c+4>>2]=j;v[c>>2]=h;wb(e,77138,45135,c);d=-1;break f}h=v[a+616>>2];e=v[v[a+184>>2]+(b<<2)>>2];if(h>>>0>>0){g=v[a+628>>2];j=v[a>>2];k=v[a+472>>2];l=v[a+500>>2];v[c+68>>2]=d;v[c- -64>>2]=h-e;v[c+60>>2]=b;v[c+56>>2]=l;v[c+52>>2]=k;v[c+48>>2]=j;wb(g,77138,45819,c+48|0);d=-1;break f}Fd(g,e+v[a+612>>2]|0,d)}Ma=c+80|0;break e}O(30408,31925,415,77266);L()}c=0;if((d|0)!=(f|0)){break a}d=v[a+12>>2];if(d&(x[a+94>>1]|256)){break b}SC(v[a+596>>2],f);d=v[a+12>>2]}if(!(d&32)){c=0;if(!(Qa[v[a+516>>2]](a)|0)){break a}d=v[a+12>>2]|32;v[a+12>>2]=d}v[a+504>>2]=b;g=a;e=v[a+72>>2];h=e;j=b;c=v[a+56>>2];f=v[a+68>>2];if(c>>>0<0-f>>>0){c=((c+f|0)-1>>>0)/(f>>>0)|0}else{c=m}v[g+472>>2]=B(h,(j>>>0)%(c>>>0)|0);c=a;g=b;h=v[a+60>>2];if(h>>>0<0-e>>>0){e=((e+h|0)-1>>>0)/(e>>>0)|0}else{e=0}v[c+500>>2]=B((g>>>0)%(e>>>0)|0,f);f=0;c=0;if(!(d&131072)){c=v[v[a+188>>2]+(b<<2)>>2];f=v[a+596>>2]}v[a+608>>2]=c;v[a+604>>2]=f;c=Qa[v[a+520>>2]](a,(b>>>0)/y[a+176>>2]&65535)|0}Ma=i+32|0;return c}function aJa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=v[a+464>>2];if(v[a+280>>2]){c=v[e+52>>2];if(!c){if(!(Qa[v[v[a+460>>2]+8>>2]](a)|0)){c=v[a>>2];v[c+20>>2]=25;Qa[v[c>>2]](a)}if(v[a+336>>2]>=1){while(1){g=f<<2;d=v[(g+a|0)+340>>2];a:{b:{if(v[a+224>>2]){if(v[a+408>>2]){break b}if(v[a+416>>2]){break a}}c=v[((v[d+20>>2]<<2)+e|0)+56>>2];t[c|0]=0;t[c+1|0]=0;t[c+2|0]=0;t[c+3|0]=0;t[c+4|0]=0;t[c+5|0]=0;t[c+6|0]=0;t[c+7|0]=0;t[c+56|0]=0;t[c+57|0]=0;t[c+58|0]=0;t[c+59|0]=0;t[c+60|0]=0;t[c+61|0]=0;t[c+62|0]=0;t[c+63|0]=0;t[c+48|0]=0;t[c+49|0]=0;t[c+50|0]=0;t[c+51|0]=0;t[c+52|0]=0;t[c+53|0]=0;t[c+54|0]=0;t[c+55|0]=0;t[c+40|0]=0;t[c+41|0]=0;t[c+42|0]=0;t[c+43|0]=0;t[c+44|0]=0;t[c+45|0]=0;t[c+46|0]=0;t[c+47|0]=0;t[c+32|0]=0;t[c+33|0]=0;t[c+34|0]=0;t[c+35|0]=0;t[c+36|0]=0;t[c+37|0]=0;t[c+38|0]=0;t[c+39|0]=0;t[c+24|0]=0;t[c+25|0]=0;t[c+26|0]=0;t[c+27|0]=0;t[c+28|0]=0;t[c+29|0]=0;t[c+30|0]=0;t[c+31|0]=0;t[c+16|0]=0;t[c+17|0]=0;t[c+18|0]=0;t[c+19|0]=0;t[c+20|0]=0;t[c+21|0]=0;t[c+22|0]=0;t[c+23|0]=0;t[c+8|0]=0;t[c+9|0]=0;t[c+10|0]=0;t[c+11|0]=0;t[c+12|0]=0;t[c+13|0]=0;t[c+14|0]=0;t[c+15|0]=0;c=e+g|0;v[c+36>>2]=0;v[c+20>>2]=0;if(!v[a+224>>2]){if(v[a+432>>2]){break b}break a}if(!v[a+408>>2]){break a}}eb(v[((v[d+24>>2]<<2)+e|0)+120>>2],0,256)}f=f+1|0;if((f|0)>2]){continue}break}}v[e+16>>2]=-16;v[e+8>>2]=0;v[e+12>>2]=0;c=v[a+280>>2];v[e+52>>2]=c}v[e+52>>2]=c-1}c:{if(v[e+16>>2]==-1){break c}g=v[b>>2];i=v[a+428>>2];c=v[a+412>>2];b=c;d:{if((c|0)<1){break d}b=c;while(1){if(x[g+(v[(b<<2)+i>>2]<<1)>>1]){break d}d=(b|0)>1;b=b-1|0;if(d){continue}break}b=0}d=v[a+408>>2];if((c|0)<(d|0)){break c}c=v[a+420>>2];j=-1<>2]+24>>2]<<2)+e|0;while(1){f=(v[m+120>>2]+B(d,3)|0)-3|0;if((b|0)<(d|0)){if(Ne(a,f)){break c}}c=d;e:{f:{g:{while(1){h=g+(v[(c<<2)+i>>2]<<1)|0;if(x[h>>1]){if(!Ne(a,f+2|0)){break e}d=u[h>>1];if((d|0)>-1){break g}d=d+j|0;break f}if(Ne(a,f+1|0)){d=Ne(a,l)?j:k;break f}f=f+3|0;d=v[a+412>>2]>(c|0);c=c+1|0;if(d){continue}break}b=v[a>>2];v[b+20>>2]=117;Qa[v[b+4>>2]](a,-1);v[e+16>>2]=-1;return 1}d=d+k|0}u[h>>1]=d}d=c+1|0;if(v[a+412>>2]>(c|0)){continue}break}}return 1}function RG(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0;h=Ma-112|0;Ma=h;v[a+4>>2]=b;v[a>>2]=952700;v[a>>2]=885080;cb(a+8|0,c,e);v[a+52>>2]=g;v[a+48>>2]=f;v[a+44>>2]=e;v[a+40>>2]=d;a:{if((e|0)<1){break a}b=e&3;g=0;if(e-1>>>0>=3){k=e&-4;c=a+60|0;j=a+8|0;while(1){t[c+g|0]=w[g+j|0];i=g|1;t[i+c|0]=w[i+j|0];i=g|2;t[i+c|0]=w[i+j|0];i=g|3;t[i+c|0]=w[i+j|0];g=g+4|0;k=k-4|0;if(k){continue}break}}if(!b){break a}while(1){c=a+g|0;t[c+60|0]=w[c+8|0];g=g+1|0;b=b-1|0;if(b){continue}break}}b:{c:{switch(d|0){case 0:b=e;e=a+60|0;t[b+e|0]=f;t[(e+v[a+44>>2]|0)+1|0]=v[a+48>>2]>>>8;t[(e+v[a+44>>2]|0)+2|0]=x[a+50>>1];t[(e+v[a+44>>2]|0)+3|0]=v[a+52>>2];t[(e+v[a+44>>2]|0)+4|0]=v[a+52>>2]>>>8;c=v[a+44>>2];d=c+5|0;f=a;if((c|0)>=-5){v[h+88>>2]=0;v[h+92>>2]=0;v[h+16>>2]=-1732584194;v[h+20>>2]=271733878;v[h+8>>2]=1732584193;v[h+12>>2]=-271733879;g=0;d:{if((c|0)<59){b=d;c=e;break d}c=e;b=d;while(1){i=(g+h|0)+24|0;g=64-g|0;cb(i,c,g);v[h+88>>2]=64;c=c+g|0;wo(h+8|0);b=b-g|0;g=v[h+88>>2];if((b+g|0)>63){continue}break}}if((b|0)>=1){cb((g+h|0)+24|0,c,b);v[h+88>>2]=v[h+88>>2]+b}v[h+92>>2]=d+v[h+92>>2];mq(h+8|0);b=v[h+108>>2];v[e+8>>2]=v[h+104>>2];v[e+12>>2]=b;b=v[h+100>>2];v[e>>2]=v[h+96>>2];v[e+4>>2]=b;c=v[a+44>>2];d=c+5|0}v[f+56>>2]=(c|0)>11?16:d;break b;case 1:d=a+60|0;t[d+e|0]=f;t[(d+v[a+44>>2]|0)+1|0]=v[a+48>>2]>>>8;t[(d+v[a+44>>2]|0)+2|0]=x[a+50>>1];t[(d+v[a+44>>2]|0)+3|0]=v[a+52>>2];t[(d+v[a+44>>2]|0)+4|0]=v[a+52>>2]>>>8;t[(d+v[a+44>>2]|0)+5|0]=115;t[(d+v[a+44>>2]|0)+6|0]=65;t[(d+v[a+44>>2]|0)+7|0]=108;t[(d+v[a+44>>2]|0)+8|0]=84;f=a;g=v[a+44>>2];if((g|0)>=-9){e=g+9|0;v[h+88>>2]=0;v[h+92>>2]=0;v[h+16>>2]=-1732584194;v[h+20>>2]=271733878;v[h+8>>2]=1732584193;v[h+12>>2]=-271733879;c=0;e:{if((g|0)<55){b=e;g=d;break e}g=d;b=e;while(1){i=(c+h|0)+24|0;c=64-c|0;cb(i,g,c);v[h+88>>2]=64;g=c+g|0;wo(h+8|0);b=b-c|0;c=v[h+88>>2];if((b+c|0)>63){continue}break}}if((b|0)>=1){cb((c+h|0)+24|0,g,b);v[h+88>>2]=v[h+88>>2]+b}v[h+92>>2]=e+v[h+92>>2];mq(h+8|0);b=v[h+108>>2];v[d+8>>2]=v[h+104>>2];v[d+12>>2]=b;b=v[h+100>>2];v[d>>2]=v[h+96>>2];v[d+4>>2]=b;g=v[a+44>>2]}v[f+56>>2]=(g|0)>11?16:g+5|0;break b;case 2:break c;default:break b}}v[a+56>>2]=e}Ma=h+112|0;return a}function ut(a,b,c){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,p=0,q=0,r=0,s=0,t=0,u=0;n=a+24|0;a:{b:{c:{d:{e:{if(v[a+200>>2]){d=v[a+176>>2];if(d>>>0>=y[a+180>>2]){break e}v[a+176>>2]=d+1;d=v[v[a+192>>2]+(d>>>4&268435452)>>2]+((d&63)<<4)|0;A[b>>3]=A[d>>3];A[c>>3]=A[d+8>>3];break d}e=2;if(mt(n,b,c)){break a}}o=a+208|0;f:{if(v[a+424>>2]){d=v[a+400>>2];if(d>>>0>=y[a+404>>2]){break f}v[a+400>>2]=d+1;d=v[v[a+416>>2]+(d>>>4&268435452)>>2]+((d&63)<<4)|0;A[b>>3]=A[d>>3];A[c>>3]=A[d+8>>3];break d}e=2;if(Bn(o,b,c)){break a}}e=0;f=v[a>>2];g=v[f+20>>2];p=v[f>>2];if(g>>>0>=p>>>0){break a}d=g+1|0;v[f+20>>2]=d;q=v[f+12>>2];r=g>>>6&67108860;s=g&255;e=v[q+r>>2]+(s<<4)|0;A[b>>3]=A[e>>3];h=A[e+8>>3];A[c>>3]=h;g:{h:{e=w[v[v[f+16>>2]+r>>2]+s|0];switch(e-3|0){case 0:break h;case 1:break g;default:break a}}if(d>>>0

>>0){v[f+20>>2]=g+2;d=v[(d>>>6&67108860)+q>>2]+(d<<4&4080)|0;i=A[d+8>>3];j=A[d>>3]}k=A[b>>3];l=A[a+16>>3];m=A[a+8>>3];i:{if(!v[a+200>>2]){D0(n,m,l,k,h,j,i);break i}C0(a+152|0,m,l,k,h,j,i)}if(v[a+200>>2]){d=v[a+176>>2];if(d>>>0>=y[a+180>>2]){break b}v[a+176>>2]=d+1;d=v[v[a+192>>2]+(d>>>4&268435452)>>2]+((d&63)<<4)|0;A[b>>3]=A[d>>3];A[c>>3]=A[d+8>>3];break b}mt(n,b,c);if(v[a+200>>2]){break b}mt(n,b,c);break d}j:{if(d>>>0>=p>>>0){e=d;break j}e=g+2|0;v[f+20>>2]=e;d=v[(d>>>6&67108860)+q>>2]+(d<<4&4080)|0;t=A[d+8>>3];u=A[d>>3]}if(e>>>0

>>0){v[f+20>>2]=e+1;d=v[(e>>>6&67108860)+q>>2]+(e<<4&4080)|0;i=A[d+8>>3];j=A[d>>3]}k=A[b>>3];l=A[a+16>>3];m=A[a+8>>3];k:{if(!v[a+424>>2]){HJ(o,m,l,k,h,u,t,j,i);break k}GJ(a+368|0,m,l,k,h,u,t,j,i)}if(v[a+424>>2]){d=v[a+400>>2];if(d>>>0>=y[a+404>>2]){break c}v[a+400>>2]=d+1;d=v[v[a+416>>2]+(d>>>4&268435452)>>2]+((d&63)<<4)|0;A[b>>3]=A[d>>3];A[c>>3]=A[d+8>>3];break c}Bn(o,b,c);if(v[a+424>>2]){break c}Bn(o,b,c)}e=2;break a}e=2;d=v[a+400>>2];if(d>>>0>=y[a+404>>2]){break a}v[a+400>>2]=d+1;d=v[v[a+416>>2]+(d>>>4&268435452)>>2]+((d&63)<<4)|0;A[b>>3]=A[d>>3];A[c>>3]=A[d+8>>3];break a}e=2;d=v[a+176>>2];if(d>>>0>=y[a+180>>2]){break a}v[a+176>>2]=d+1;d=v[v[a+192>>2]+(d>>>4&268435452)>>2]+((d&63)<<4)|0;A[b>>3]=A[d>>3];A[c>>3]=A[d+8>>3]}A[a+8>>3]=A[b>>3];A[a+16>>3]=A[c>>3];return e}function GF(a,b,c){var d=0,e=0,f=0,g=0,h=0;g=Ma-32|0;Ma=g;d=v[a+4>>2];a:{if((d|0)<1){break a}b:{c:{if(!w[a+8|0]){break c}a=v[a>>2];if(a){break c}e=0;break b}e=v[a>>2]}a=v[e>>2];if((a|0)==35){a=e+4|0;h=255;d:{switch(d-7|0){case 2:d=v[e+4>>2];a=d-48|0;e:{if(a>>>0<10){break e}if(d-97>>>0<=5){a=d-87|0;break e}a=d-65>>>0<6?d-55|0:0}h=a<<4;a=v[e+8>>2];d=a-48|0;f:{if(d>>>0<10){break f}if(a-97>>>0<=5){d=a-87|0;break f}d=a-65>>>0<6?a-55|0:0}a=e+12|0;h=d+h|0;break;case 0:break d;default:break a}}v[c>>2]=h;c=v[a+16>>2];d=c-48|0;g:{if(d>>>0<10){break g}if(c-97>>>0<=5){d=c-87|0;break g}d=c-65>>>0<6?c-55|0:0}e=d<<4;c=v[a+20>>2];d=c-48|0;h:{if(d>>>0<10){break h}if(c-97>>>0<=5){d=c-87|0;break h}d=c-65>>>0<6?c-55|0:0}e=d+e<<4;c=v[a+8>>2];d=c-48|0;i:{if(d>>>0<10){break i}if(c-97>>>0<=5){d=c-87|0;break i}d=c-65>>>0<6?c-55|0:0}e=d+e<<4;c=v[a+12>>2];d=c-48|0;j:{if(d>>>0<10){break j}if(c-97>>>0<=5){d=c-87|0;break j}d=c-65>>>0<6?c-55|0:0}e=d+e<<4;c=v[a>>2];d=c-48|0;k:{if(d>>>0<10){break k}if(c-97>>>0<=5){d=c-87|0;break k}d=c-65>>>0<6?c-55|0:0}d=d+e<<4;c=v[a+4>>2];a=c-48|0;l:{if(a>>>0<10){break l}if(c-97>>>0<=5){a=c-87|0;break l}a=c-65>>>0<6?c-55|0:0}v[b>>2]=a+d;break a}if((a|0)!=115|(d|0)<3|(v[e+4>>2]!=99|v[e+8>>2]!=35)){break a}if((d|0)<4){break a}a=g+16|0;v[a>>2]=0;v[a+4>>2]=0;t[a+8|0]=0;h=a;ls(a,e+12|0,0,-1);ET(g,a);m:{n:{o:{p:{d=v[g>>2];switch(((v[g+4>>2]-d|0)/12|0)-3|0){case 1:break o;case 0:break p;default:break m}}v[c>>2]=255;f=F(jl(d+24|0),1)*255;q:{if(D(f)<2147483648){a=~~f;break q}a=-2147483648}c=a<<16;f=F(jl(v[g>>2]+12|0),1)*255;r:{if(D(f)<2147483648){a=~~f;break r}a=-2147483648}a=c+(a<<8)|0;c=v[g>>2];break n}f=F(jl(d),1)*255;s:{if(D(f)<2147483648){a=~~f;break s}a=-2147483648}v[c>>2]=a;f=F(jl(v[g>>2]+36|0),1)*255;t:{if(D(f)<2147483648){a=~~f;break t}a=-2147483648}c=a<<16;f=F(jl(v[g>>2]+24|0),1)*255;u:{if(D(f)<2147483648){a=~~f;break u}a=-2147483648}a=c+(a<<8)|0;c=v[g>>2]+12|0}f=F(jl(c),1)*255;v:{if(D(f)<2147483648){c=~~f;break v}c=-2147483648}v[b>>2]=a+c;d=v[g>>2]}if(d){a=v[g+4>>2];if((d|0)==(a|0)){a=d}else{while(1){a=Qb(a-12|0);if((d|0)!=(a|0)){continue}break}a=v[g>>2]}v[g+4>>2]=d;$a(a)}Qb(h)}Ma=g+32|0}function iTa(a){a=a|0;var 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;c=Ma-96|0;Ma=c;a:{b:{b=v[a+160>>2];c:{if(v[a+180>>2]?1:b){b=b?b-1|0:0;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],v[a+26048>>2]+((b>>>0<3?b:3)<<2)|0,0)|0;d=v[a>>2];g=v[d+8>>2];b=v[a+4>>2];v[c+92>>2]=-1;Qa[v[d>>2]](b,c+92|0,1,4)|0;d=w[c+92|0];if(x[a+25204>>1]==18761){d=d|w[c+93|0]<<8|w[c+94|0]<<16|w[c+95|0]<<24}else{d=w[c+95|0]|(w[c+93|0]<<16|d<<24|w[c+94|0]<<8)}Qa[g|0](b,d,0)|0;H3(a);break c}$a(v[a+26352>>2]);b=x[a+26308>>1];u[a+26318>>1]=b;d=x[a+26310>>1];u[a+26320>>1]=d;b=Yb(B(b,d),8);v[a+26352>>2]=b;if(!b){b=v[a+190640>>2];if(b){d=v[a+25208>>2];v[c+20>>2]=44206;v[c+16>>2]=d;Dc(b,4338,c+16|0);break a}b=v[a+25208>>2];v[c+4>>2]=44206;v[c>>2]=b;vb(v[249419],4338,c);break a}d=Yb(x[a+26306>>1],2);if(!d){break b}h=v[249419];while(1){Qa[v[v[a>>2]+8>>2]](v[a+4>>2],v[a+26048>>2]+(g<<2)|0,0)|0;f=v[a>>2];i=v[f+8>>2];b=v[a+4>>2];v[c+92>>2]=-1;Qa[v[f>>2]](b,c+92|0,1,4)|0;e=w[c+92|0];f=0;if(x[a+25204>>1]==18761){e=e|w[c+93|0]<<8|w[c+94|0]<<16|w[c+95|0]<<24}else{e=w[c+95|0]|(w[c+93|0]<<16|e<<24|w[c+94|0]<<8)}Qa[i|0](b,e,0)|0;if(x[a+26304>>1]){i=g&1;m=g>>>1&1;while(1){b=x[a+26306>>1];if((Qa[v[v[a>>2]>>2]](v[a+4>>2],d,2,b)|0)<(b|0)){d:{if(v[a+26160>>2]){break d}v[c+80>>2]=v[a+25208>>2];vb(h,8292,c+80|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,h);break d}e=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[c+64>>2]=e;v[c+68>>2]=e>>31;vb(h,14622,c- -64|0)}v[a+26160>>2]=1}if(x[a+25204>>1]!=18761){Fp(d,d,b<<1)}j=f-(x[a+26312>>1]+m|0)|0;e:{if(j>>>0>=x[a+26308>>1]){break e}e=x[a+26306>>1];if(!e){break e}n=f<<1&14;b=0;while(1){k=b-(i+x[a+26314>>1]|0)|0;l=x[a+26310>>1];if(k>>>0>>0){u[(v[a+26352>>2]+(B(j,l)+k<<3)|0)+((v[a+26028>>2]>>>((b&1|n)<<1)&3)<<1)>>1]=x[d+(b<<1)>>1];e=x[a+26306>>1]}b=b+1|0;if(e>>>0>b>>>0){continue}break}}f=f+1|0;if(f>>>0>1]){continue}break}}g=g+1|0;if((g|0)!=4){continue}break}$a(d);u[a+26316>>1]=0;v[a+26028>>2]=0}Ma=c+96|0;return}b=v[a+190640>>2];f:{if(b){d=v[a+25208>>2];v[c+52>>2]=44206;v[c+48>>2]=d;Dc(b,4338,c+48|0);break f}b=v[a+25208>>2];v[c+36>>2]=44206;v[c+32>>2]=b;vb(v[249419],4338,c+32|0)}}tc(a+190484|0,1);L()}function U2(a,b){var 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;i=Ma-32|0;Ma=i;a:{if(!b){break a}v[b>>2]=0;if(!a){break a}m=a?v[a+36>>2]:0;if(m){X2(m,b);if(!v[b>>2]){break a}d=Ma-32|0;Ma=d;b:{if(!a){break b}e=a?v[a+8>>2]:-1;v[d+20>>2]=e;if((e|0)>16){break b}f=d;c:{if(a?v[a+36>>2]:0){a=kk(a,1);break c}if(a){v[a+16>>2]=v[a+16>>2]+1}}e=f;f=a;v[e+8>>2]=a;a=d+28|0;e=d+24|0;g=d+20|0;if(f){if(a){v[a>>2]=v[f>>2]}if(e){v[e>>2]=v[f+4>>2]}if(g){v[g>>2]=v[f+8>>2]}}e=1<>2];a=Gm(e);v[d+12>>2]=a;if(!a){break b}d:{if(!a){break d}g=v[a>>2];if((g|0)<(e|0)){g=Kj(a+20|0,g<<2,e<<2);v[a+20>>2]=g;if(!g){break d}v[a>>2]=e}v[a+4>>2]=e}if(a){e=v[a+20>>2]}else{e=0}e:{f:{if(v[d+20>>2]==1){jk(f,d+16|0,0);c=v[d+24>>2];f=v[d+28>>2];g=v[d+16>>2];z[e+4>>2]=g|0;z[e>>2]=B(c,f)-g|0;break f}g=f?v[f+12>>2]:-1;f=f?v[f+40>>2]:0;n=v[d+24>>2];g:{if((n|0)<1){break g}k=v[d+28>>2];h:{switch(C3a(v[d+20>>2]-2|0,31)|0){case 0:if((k|0)<1){break g}while(1){l=(B(h,g)<<2)+f|0;c=0;while(1){j=e+((v[l+(c>>4<<2)>>2]>>>((c<<1^-1)&30)&3)<<2)|0;z[j>>2]=z[j>>2]+C(1);c=c+1|0;if((k|0)>(c|0)){continue}break}h=h+1|0;if((n|0)>(h|0)){continue}break};break g;case 1:if((k|0)<1){break g}while(1){l=(B(h,g)<<2)+f|0;c=0;while(1){j=e+((v[l+(c>>3<<2)>>2]>>>((c<<2^-1)&28)&15)<<2)|0;z[j>>2]=z[j>>2]+C(1);c=c+1|0;if((k|0)>(c|0)){continue}break}h=h+1|0;if((n|0)>(h|0)){continue}break};break g;case 3:if((k|0)<1){break g}while(1){l=(B(h,g)<<2)+f|0;c=0;while(1){j=e+(w[c+l^3]<<2)|0;z[j>>2]=z[j>>2]+C(1);c=c+1|0;if((k|0)>(c|0)){continue}break}h=h+1|0;if((n|0)>(h|0)){continue}break};break g;case 7:break h;default:break e}}if((k|0)<1){break g}while(1){l=(B(h,g)<<2)+f|0;c=0;while(1){j=e+(x[(l+(c<<1)^2)>>1]<<2)|0;z[j>>2]=z[j>>2]+C(1);c=c+1|0;if((k|0)>(c|0)){continue}break}h=h+1|0;if((n|0)>(h|0)){continue}break}}}_b(d+8|0);c=a;break b}$h(d+12|0)}Ma=d+32|0;v[i+12>>2]=c;a=m?v[m+12>>2]:0;i:{if((a|0)<1){break i}while(1){$o(m,o,i+28|0,i+24|0,i+20|0);kj(c,o,i+16|0);j:{d=v[i+28>>2];k:{if((d|0)==v[i+24>>2]){if((d|0)==v[i+20>>2]){break j}if(v[i+16>>2]){break k}break j}if(!v[i+16>>2]){break j}}v[b>>2]=1;break i}o=o+1|0;if((a|0)!=(o|0)){continue}break}}$h(i+12|0)}}Ma=i+32|0}function a0a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=v[a+572>>2];d=v[a+664>>2];a:{if((c|0)<(d|0)|(c|0)>=v[a+668>>2]){break a}b=Qa[v[a+220>>2]](a,v[a+680>>2]+(c-d|0)|0)|0;c=v[a+580>>2];d=(b+(c<<2)|0)+(v[a+672>>2]<<2)|0;e=v[a+656>>2];b=(e|0)/v[a+584>>2]|0;f=v[a+644>>2];b:{if(!w[a+648|0]){e=c+e|0;c=f+(b<<2)|0;b=v[a+660>>2];if(!w[a+649|0]){break b}if((b|0)<=(e|0)){break a}while(1){t[d|0]=w[c+2|0];t[d+1|0]=w[c+1|0];b=w[c|0];t[d+3|0]=255;t[d+2|0]=b;c=c+4|0;b=v[a+584>>2];d=(b<<2)+d|0;e=b+e|0;if((e|0)>2]){continue}break}break a}e=c+e|0;c=f+(b<<3)|0;b=v[a+660>>2];if(w[a+649|0]){if((b|0)<=(e|0)){break a}while(1){t[d|0]=w[c+4|0];t[d+1|0]=w[c+2|0];b=w[c|0];t[d+3|0]=255;t[d+2|0]=b;c=c+8|0;b=v[a+584>>2];d=(b<<2)+d|0;e=b+e|0;if((e|0)>2]){continue}break}break a}if((b|0)<=(e|0)){break a}while(1){b=w[c+6|0]|w[c+7|0]<<8;b=(b<<8|b>>>8)&65535;if(b){c:{if((b|0)==65535){t[d|0]=w[c+4|0];t[d+1|0]=w[c+2|0];t[d+2|0]=w[c|0];break c}f=w[c+2|0]|w[c+3|0]<<8;h=w[c+4|0]|w[c+5|0]<<8;g=w[c|0]|w[c+1|0]<<8;i=B(b,(g<<8|g>>>8)&65535);g=w[d+2|0];j=g<<8|g;g=b^65535;i=(i+B(j,g)|0)+32768|0;t[d+2|0]=(i>>>16|0)+i>>>24;i=B((f<<8|f>>>8)&65535,b);f=w[d+1|0];f=(i+B(g,f<<8|f)|0)+32768|0;t[d+1|0]=(f>>>16|0)+f>>>24;f=B(b,(h<<8|h>>>8)&65535);b=w[d|0];b=(f+B(g,b<<8|b)|0)+32768|0;t[d|0]=(b>>>16|0)+b>>>24}t[d+3|0]=255}c=c+8|0;b=v[a+584>>2];d=(b<<2)+d|0;e=b+e|0;if((e|0)>2]){continue}break}break a}if((b|0)<=(e|0)){break a}while(1){b=w[c+3|0];if(b){d:{if((b|0)==255){t[d|0]=w[c+2|0];t[d+1|0]=w[c+1|0];t[d+2|0]=w[c|0];break d}f=b^255;h=(B(b,w[c+2|0])+B(f,w[d|0])|0)+128|0;t[d|0]=(h>>>8&255)+h>>>8;h=(B(b,w[c+1|0])+B(f,w[d+1|0])|0)+128|0;t[d+1|0]=(h>>>8&255)+h>>>8;b=(B(b,w[c|0])+B(f,w[d+2|0])|0)+128|0;t[d+2|0]=(b>>>8&255)+b>>>8}t[d+3|0]=255}c=c+4|0;b=v[a+584>>2];d=(b<<2)+d|0;e=b+e|0;if((e|0)>2]){continue}break}}d=v[a+680>>2]+v[a+572>>2]|0;e=v[a+664>>2];c=v[a+556>>2];b=v[a+672>>2];e:{if((b|0)>=v[a+552>>2]){if(c){break e}c=0}v[a+552>>2]=b}b=c;c=v[a+676>>2];if((b|0)<(c|0)){v[a+556>>2]=c}c=v[a+564>>2];d=d-e|0;f:{if((d|0)>=v[a+560>>2]){if(c){break f}c=0}v[a+560>>2]=d}if((c|0)<=(d|0)){v[a+564>>2]=d+1}return 0}function GEa(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,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,z=0,A=0,C=0,D=0;A=Ma-384|0;Ma=A;p=v[a+332>>2];a=v[b+84>>2];b=A;while(1){s=v[a+128>>2];l=u[c+64>>1];o=B(v[a+32>>2],u[c+16>>1]);j=B(v[a+224>>2],u[c+112>>1]);i=o-j|0;m=B(v[a+96>>2],u[c+48>>1]);k=B(v[a+160>>2],u[c+80>>1]);g=m-k|0;h=B(i+g|0,4433);n=B(v[a+64>>2],u[c+32>>1]);q=B(v[a+192>>2],u[c+96>>1]);x=n-q<<13;f=B(u[c>>1],v[a>>2])<<13|1024;y=x+f|0;i=h+B(i,6270)|0;v[b+320>>2]=y-i>>11;v[b+32>>2]=i+y>>11;i=f-x|0;h=h+B(g,-15137)|0;v[b+224>>2]=i-h>>11;v[b+128>>2]=h+i>>11;s=B(B(l,s),10033);l=s+f|0;i=q<<13;g=i+B(n,11190)|0;q=l-g|0;y=k+o|0;h=B(y+j|0,7053);x=B(m,-4433);z=h+((x+B(o,-5540)|0)+B(j,-16244)|0)|0;v[b+192>>2]=q-z>>11;v[b+160>>2]=q+z>>11;l=g+l|0;g=B(o,2295);o=B(m,10703);m=h+B(y,2139)|0;g=(g+o|0)+m|0;v[b+352>>2]=l-g>>11;v[b>>2]=g+l>>11;n=B(n,2998)-i|0;f=f-s|0;s=n+f|0;i=x+B(k,-12112)|0;k=B(j+k|0,-8565);m=m+(i+k|0)|0;v[b+288>>2]=s-m>>11;v[b+64>>2]=m+s>>11;f=f-n|0;j=k+(h+(B(j,12998)-o|0)|0)|0;v[b+256>>2]=f-j>>11;v[b+96>>2]=f+j>>11;b=b+4|0;a=a+4|0;c=c+2|0;r=r+1|0;if((r|0)!=8){continue}break}b=p+128|0;o=0;a=A;while(1){k=v[a+4>>2];f=v[a+20>>2];h=k+f|0;j=v[a+28>>2];m=B(h+j|0,7053);c=v[(o<<2)+d>>2]+e|0;l=m+B(h,2139)|0;n=v[a+12>>2];s=B(n,10703);i=l+(s+B(k,2295)|0)|0;g=v[a+24>>2];q=g<<13;p=v[a+8>>2];x=q+B(p,11190)|0;h=(v[a>>2]<<13)+131072|0;y=B(v[a+16>>2],10033);z=h+y|0;r=x+z|0;t[c|0]=w[b+(i+r>>>18&1023)|0];t[c+11|0]=w[b+(r-i>>>18&1023)|0];i=p-g<<13;g=i+h|0;r=k-j|0;C=n-f|0;D=B(r+C|0,4433);r=D+B(r,6270)|0;t[c+1|0]=w[b+(g+r>>>18&1023)|0];t[c+10|0]=w[b+(g-r>>>18&1023)|0];n=B(n,-4433);g=n+B(f,-12112)|0;f=B(f+j|0,-8565);l=(g+f|0)+l|0;p=B(p,2998)-q|0;g=h-y|0;q=p+g|0;t[c+2|0]=w[b+(l+q>>>18&1023)|0];t[c+9|0]=w[b+(q-l>>>18&1023)|0];f=f+(m+(B(j,12998)-s|0)|0)|0;p=g-p|0;t[c+3|0]=w[b+(f+p>>>18&1023)|0];t[c+8|0]=w[b+(p-f>>>18&1023)|0];f=B(C,-15137)+D|0;h=h-i|0;t[c+4|0]=w[b+(f+h>>>18&1023)|0];t[c+7|0]=w[b+(h-f>>>18&1023)|0];j=m+((n+B(k,-5540)|0)+B(j,-16244)|0)|0;k=z-x|0;t[c+5|0]=w[b+(j+k>>>18&1023)|0];t[c+6|0]=w[b+(k-j>>>18&1023)|0];a=a+32|0;o=o+1|0;if((o|0)!=12){continue}break}Ma=A+384|0}function xm(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=Ma-16|0;Ma=h;e=v[a>>2];a:{if(e>>>0>=b>>>0){break a}b:{c:{d=w[e|0];switch(d-43|0){case 0:case 2:break c;default:break b}}e=e+1|0;if((e|0)==(b|0)){break a}m=(d|0)==45;d=w[e|0];switch(d-43|0){case 0:case 2:break a;default:break b}}d:{if((d|0)==46){d=e;break d}v[h+8>>2]=e;f=ct(h+8|0,b,10);e:{d=v[h+8>>2];if((e|0)!=(d|0)){if(w[d|0]!=35|b>>>0<=d>>>0){break e}i=d+1|0;v[h+8>>2]=i;f=ct(h+8|0,b,f);d=v[h+8>>2];if((i|0)!=(d|0)){break e}}f=0;break a}if((d|0)==(e|0)){f=0;break a}l=(f|0)>32767;i=l?f:f<<16}f:{if(!(w[d|0]!=46|b>>>0<=d>>>0)){g=1;d=d+1|0;if(d>>>0>=b>>>0){e=0;break f}e=0;g:{if(!i){while(1){h:{f=w[d|0];switch(f|0){case 0:case 9:case 10:case 12:case 13:case 32:break f;default:break h}}if(f<<24>>24<0|f-48>>>0>9){break f}i:{if((g|0)>214748363|(e|0)>214748363){break i}e=t[f+455920|0]+B(e,10)|0;if((c|0)>=1){c=c-1|0;break i}g=B(g,10)}d=d+1|0;if((d|0)!=(b|0)){continue}break g}}while(1){j:{f=w[d|0];switch(f|0){case 0:case 9:case 10:case 12:case 13:case 32:break f;default:break j}}if(f<<24>>24<0|f-48>>>0>9){break f}k=t[f+455920|0]+B(e,10)|0;f=(g|0)<214748364&(e|0)<214748364;e=f?k:e;g=f?B(g,10):g;d=d+1|0;if((d|0)!=(b|0)){continue}break}}d=b;break f}e=0;g=1}k:{l:{m:{n:{k=d+1|0;if(!((w[d|0]|32)!=101|k>>>0>=b>>>0)){v[h+12>>2]=k;j=ct(h+12|0,b,10);o:{d=v[h+12>>2];if((k|0)!=(d|0)){if(w[d|0]!=35|b>>>0<=d>>>0){break o}f=d+1|0;v[h+12>>2]=f;j=ct(h+12|0,b,j);d=v[h+12>>2];if((f|0)!=(d|0)){break o}}f=0;break a}f=0;if((d|0)==(k|0)){break a}if((j|0)>1e3){break n}b=j;j=(j|0)<-1e3;c=(j?0:b)+c|0}v[a>>2]=d;f=0;if(!(e|i)){break a}b=2147483647;if(l){break k}if(j){break a}if((c|0)<=0){break m}while(1){if((i|0)>214748363){break k}p:{if((e|0)>=214748364){if((g|0)==1){break k}g=(g|0)/10|0;break p}e=B(e,10)}i=B(i,10);a=(c|0)>1;c=c-1|0;if(a){continue}break}break l}v[a>>2]=d;b=2147483647;if(e|i){break k}break a}if((c|0)>=0){break l}while(1){a=i;i=(i|0)/10|0;q:{if((g|0)<=214748363){g=B(g,10);break q}e=(e|0)/10|0}if(!(e?0:a+9>>>0<=18)){a=c;c=c+1|0;if(a>>>0>c>>>0){break l}continue}break}break a}if(!e){b=i;break k}b=Ub(e,g)+i|0}f=m?0-b|0:b}Ma=h+16|0;return f}function ZI(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;h=Ma-16|0;Ma=h;v[h+8>>2]=0;m=v[v[a>>2]+28>>2];v[b>>2]=0;a:{b:{if(v[a+28>>2]){break b}v[h+12>>2]=0;c:{f=v[a+12>>2];if(f){l=w[a+16|0];j=v[a>>2];i=v[j+28>>2];f=f+1|0;r=a,s=yb(i,4,0,f,0,h+12|0),v[r+28>>2]=s;if(v[h+12>>2]){break c}e=Mb(j,v[a+8>>2]+v[a+4>>2]|0);v[h+12>>2]=e;if(e){break c}f=B(f,l);e=Ed(j,f);v[h+12>>2]=e;if(e){break c}e=v[j+32>>2];k=f+e|0;g=v[a+28>>2];d:{e:{switch(l-1|0){case 2:if((f|0)<=0){break d}while(1){v[g>>2]=w[e+2|0]|(w[e+1|0]<<8|w[e|0]<<16);g=g+4|0;e=e+3|0;if(k>>>0>e>>>0){continue}break};break d;case 1:if((f|0)<=0){break d}while(1){v[g>>2]=w[e+1|0]|w[e|0]<<8;g=g+4|0;e=e+2|0;if(k>>>0>e>>>0){continue}break};break d;case 0:if((f|0)<=0){break d}while(1){v[g>>2]=w[e|0];g=g+4|0;e=e+1|0;if(k>>>0>e>>>0){continue}break};break d;default:break e}}if((f|0)<=0){break d}while(1){f=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24);v[g>>2]=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);g=g+4|0;e=e+4|0;if(k>>>0>e>>>0){continue}break}}dd(j);if(v[h+12>>2]){break c}}v[h+8>>2]=0;break b}f=v[a+28>>2];if(f){Qa[v[i+8>>2]](i,f)}v[a+28>>2]=0;g=v[h+12>>2];v[h+8>>2]=g;if(g){break a}}g=0;i=v[a+12>>2];if(!i){break a}f=v[a+24>>2];j=yb(m,4,0,i+1|0,0,h+8|0);g=v[h+8>>2];f:{if(g){break f}p=f+i|0;g:{h:{i:{j:{if(c){e=cc(m,p,h+8|0);if(v[h+8>>2]){break g}q=v[a+32>>2];v[j>>2]=e;n=v[a+12>>2];if(n){g=1;k=0;i=0;while(1){f=g<<2;o=v[f+v[a+28>>2]>>2]-1|0;k:{if(o>>>0>>0){v[f+j>>2]=(e+i|0)+k;break k}l=f+j|0;f=v[a+24>>2];f=f>>>0>>0?f:o;o=(f+e|0)+k|0;v[l>>2]=o;if((f|0)!=(i|0)){n=v[l-4>>2];cb(n,i+q|0,o-n|0);t[v[l>>2]]=0;v[l>>2]=v[l>>2]+1;n=v[a+12>>2];k=k+1|0}i=f}g=g+1|0;if(n>>>0>=g>>>0){continue}break}break j}v[b>>2]=j;break i}f=v[a+32>>2];v[j>>2]=f;e=0;k=v[a+12>>2];if(!k){break j}g=1;while(1){l=g<<2;i=v[l+v[a+28>>2]>>2]-1|0;if(i>>>0>=e>>>0){e=v[a+24>>2];e=e>>>0>>0?e:i}v[j+l>>2]=e+f;g=g+1|0;if(k>>>0>=g>>>0){continue}break}e=0}v[b>>2]=j;if(!c){break h}}v[c>>2]=e}if(!d){break g}v[d>>2]=p}g=v[h+8>>2];if(!g|!e){break f}if(e){Qa[v[m+8>>2]](m,e)}g=v[h+8>>2]}if(!g|!j){break a}if(j){Qa[v[m+8>>2]](m,j)}g=v[h+8>>2]}Ma=h+16|0;return g}function XM(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{if(b<.016939999535679817){break a}f=(b+-.016939999535679817)*285.7142768952314;if(c){e=x3a(v[296254],v[296255],1284865837,1481765933)+1|0;d=Pa;d=e>>>0<1?d+1|0:d;v[296254]=e;v[296255]=d;f=f+ +(d>>>1|0)*4.656612875245797e-10+-.5}b:{if(D(f)<2147483648){e=~~f;break b}e=-2147483648}if((e|0)>=163){break a}f=+z[(e<<3)+82800>>2];if(f>a){break a}f=(a-f)*285.7142768952314;if(c){c=x3a(v[296254],v[296255],1284865837,1481765933)+1|0;d=Pa;d=c>>>0<1?d+1|0:d;v[296254]=c;v[296255]=d;f=f+ +(d>>>1|0)*4.656612875245797e-10+-.5}if(D(f)<2147483648){c=~~f}else{c=-2147483648}if((c|0)>=u[(e<<3)+82804>>1]){break a}return c+u[(e<<3)+82806>>1]|0}h=Ma-800|0;Ma=h;if(!w[1118112]){c=99;while(1){e=(c<<3)+h|0;v[e>>2]=0;v[e+4>>2]=1073741824;d=e-8|0;v[d>>2]=0;v[d+4>>2]=1073741824;d=e-16|0;v[d>>2]=0;v[d+4>>2]=1073741824;e=e-24|0;v[e>>2]=0;v[e+4>>2]=1073741824;e=c-4|0;d=(e<<3)+h|0;v[d>>2]=0;v[d+4>>2]=1073741824;c=c-5|0;if(e){continue}break}c=162;while(1){e=c;d=c<<3;c=u[d+82804>>1]-1|0;i=(e|0)==162?1:e?c:1;g=d+82806|0;k=(+(e|0)+.5)*.0035000001080334187+.016939999535679817+-.473684211;l=+z[d+82800>>2];while(1){f=ef(k,(+(c|0)+.5)*.0035000001080334187+l+-.210526316)*15.915494277358546+50;c:{if(D(f)<2147483648){d=~~f;break c}d=-2147483648}j=(d<<3)+h|0;f=D(f-(+(d|0)+.5));if(A[j>>3]>f){v[(d<<2)+1117712>>2]=u[g>>1]+c;A[j>>3]=f}c=c-i|0;if((c|0)>-1){continue}break}c=e-1|0;if(e){continue}break}e=100;g=99;while(1){c=1;d=g;if(A[(d<<3)+h>>3]>1.5){while(1){d:{if(A[((c+d>>>0)%100<<3)+h>>3]<1.5){i=c;break d}i=50;g=c+1|0;if((g|0)==50){break d}i=g;if(A[((g+d>>>0)%100<<3)+h>>3]<1.5){break d}c=c+2|0;continue}break}j=e+99|0;c=1;g=-1;while(1){e:{if(A[((g+j>>>0)%100<<3)+h>>3]<1.5){e=c;break e}e=c+1|0;if((e|0)==50){g=-50;e=50;break e}g=c^-1;if(A[((j+g>>>0)%100<<3)+h>>3]<1.5){break e}g=-2-c|0;c=c+2|0;continue}break}v[(d<<2)+1117712>>2]=v[(((e>>>0>i>>>0?d+i|0:g+j|0)|0)%100<<2)+1117712>>2]}g=d-1|0;e=d;if(d){continue}break}t[1118112]=1}a=ef(b+-.473684211,a+-.210526316)*15.915494277358546+50;f:{if(D(a)<2147483648){c=~~a;break f}c=-2147483648}Ma=h+800|0;return v[(c<<2)+1117712>>2]}function dp(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=Ma-65568|0;Ma=d;if(!c){j=a,k=eb(a+232|0,0,24576),v[j+24812>>2]=k}b=eb(b,0,80);v[b+52>>2]=v[a+24812>>2];v[b+56>>2]=v[a+24812>>2];v[b+60>>2]=v[a+24812>>2];v[b- -64>>2]=v[a+24812>>2];v[b+68>>2]=v[a+24812>>2];g=v[a+24812>>2];v[b+24>>2]=2147483647;v[b+72>>2]=g;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+32|0,2,1)|0;a:{if(w[d+33|0]!=216){break a}b:{c:{d:{while(1){Qa[v[v[a>>2]>>2]](v[a+4>>2],d+32|0,2,2)|0;g=w[d+33|0]|w[d+32|0]<<8;if(g>>>0<65281){break a}e=w[d+35|0]|w[d+34|0]<<8;f=e-2|0;Qa[v[v[a>>2]>>2]](v[a+4>>2],d+32|0,1,f)|0;e:{f:{g:{h:{i:{j:{k:{l:{m:{switch(g-65472|0){case 0:e=v[b+16>>2];break l;case 29:break i;case 26:break j;case 4:break k;case 3:break m;default:break h}}e=w[d+39|0];e=B(e>>>4|0,e)-1&3;v[b+16>>2]=e}v[b>>2]=w[d+32|0];v[b+4>>2]=w[d+34|0]|w[d+33|0]<<8;v[b+8>>2]=w[d+36|0]|w[d+35|0]<<8;v[b+12>>2]=w[d+37|0]+e;if(v[a+26152>>2]|(f|0)!=9){break h}Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;break h}if(c){break e}if(e>>>0<3){break g}e=d+32|0;f=f+e|0;while(1){h=w[e|0];if(h>>>0>3){break h}v[(b+(h<<2)|0)+52>>2]=v[a+24812>>2];e=Jn(a,e+1|0,0);if(f>>>0>e>>>0){continue}break}break h}e=(d+32|0)+(w[d+32|0]<<1)|0;v[b+20>>2]=w[e+1|0];v[b>>2]=v[b>>2]-(w[e+3|0]&15);break h}v[b+24>>2]=w[d+33|0]|w[d+32|0]<<8}if((g|0)!=65498){continue}i=1;if(!c){break f}break a}if((g|0)!=65498){continue}}f=v[b+16>>2];n:{if(!f){break n}c=v[b+56>>2];v[b+72>>2]=c;v[b+68>>2]=c;v[b+64>>2]=c;v[b+60>>2]=c;if((f|0)<1){break n}c=f&7;g=v[b+52>>2];e=0;if(f-1>>>0>=7){i=f&-8;f=b+52|0;while(1){h=e<<2;v[f+(h|4)>>2]=g;v[f+(h|8)>>2]=g;v[f+(h|12)>>2]=g;v[f+(h|16)>>2]=g;v[f+(h|20)>>2]=g;v[f+(h|24)>>2]=g;v[f+(h|28)>>2]=g;e=e+8|0;v[f+(e<<2)>>2]=g;i=i-8|0;if(i){continue}break}}if(!c){break n}while(1){e=e+1|0;v[(b+(e<<2)|0)+52>>2]=g;c=c-1|0;if(c){continue}break}}c=b;b=Yb(B(v[b+12>>2],v[b+8>>2]),4);v[c+76>>2]=b;if(b){break b}b=v[a+190640>>2];if(!b){break d}c=v[a+25208>>2];v[d+20>>2]=21825;v[d+16>>2]=c;Dc(b,4338,d+16|0);break c}if((g|0)!=65498){continue}break}i=1;break a}b=v[a+25208>>2];v[d+4>>2]=21825;v[d>>2]=b;vb(v[249419],4338,d)}tc(a+190484|0,1);L()}i=1;v[a+26144>>2]=1}Ma=d+65568|0;return i}function dea(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;var j=0,k=0,l=0,m=0,n=0,o=0;k=(g|0)/4|0;a:{if(!f){break a}c=f-1|0;j=v[a+64>>2];if(e>>>0>=4){d=e-4|0;m=d&4;n=d>>>0<4;o=(e-(d&-4)|0)-5|0;while(1){l=c;a=e;f=b;c=i;if(!m){a=v[(w[i|0]<<2)+j>>2];v[b>>2]=v[a>>2];v[b+4>>2]=v[a+4>>2];v[b+8>>2]=v[a+8>>2];v[b+12>>2]=v[a+12>>2];f=b+16|0;c=i+1|0;a=d}g=d;if(!n){while(1){b=f;g=v[(w[c|0]<<2)+j>>2];v[b>>2]=v[g>>2];v[b+4>>2]=v[g+4>>2];v[b+8>>2]=v[g+8>>2];v[b+12>>2]=v[g+12>>2];g=c;i=v[(w[c+1|0]<<2)+j>>2];v[b+16>>2]=v[i>>2];v[b+20>>2]=v[i+4>>2];v[b+24>>2]=v[i+8>>2];v[b+28>>2]=v[i+12>>2];f=b+32|0;c=c+2|0;a=a-8|0;if(a>>>0>3){continue}break}i=g+1|0;g=a;b=b+16|0}b:{if(g){a=2;c=v[(w[c|0]<<2)+j>>2];c:{switch(o|0){case 2:v[f>>2]=v[c>>2];f=b+20|0;c=c+4|0;case 1:v[f>>2]=v[c>>2];f=f+4|0;c=c+4|0;break;case 0:break c;default:break b}}v[f>>2]=v[c>>2];f=f+4|0;break b}a=1}c=l-1|0;i=(i+k|0)+a|0;b=(h<<2)+f|0;if(l){continue}break}break a}d:{switch(e-1|0){case 1:if(f&1){a=v[(w[i|0]<<2)+j>>2];v[b>>2]=v[a>>2];v[b+4>>2]=v[a+4>>2];i=(i+k|0)+1|0;b=((h<<2)+b|0)+8|0;f=f-2|0}else{f=c}if(!c){break a}while(1){a=v[(w[i|0]<<2)+j>>2];v[b>>2]=v[a>>2];v[b+4>>2]=v[a+4>>2];a=h<<2;b=a+b|0;c=b+8|0;d=(i+k|0)+1|0;e=v[(w[d|0]<<2)+j>>2];v[c>>2]=v[e>>2];v[b+12>>2]=v[e+4>>2];b=(a+c|0)+8|0;i=(d+k|0)+1|0;a=(f|0)==1;f=f-2|0;if(!a){continue}break};break a;case 2:if(f&1){a=v[(w[i|0]<<2)+j>>2];v[b>>2]=v[a>>2];v[b+4>>2]=v[a+4>>2];v[b+8>>2]=v[a+8>>2];i=(i+k|0)+1|0;b=((h<<2)+b|0)+12|0;f=f-2|0}else{f=c}if(!c){break a}while(1){a=v[(w[i|0]<<2)+j>>2];v[b>>2]=v[a>>2];v[b+4>>2]=v[a+4>>2];v[b+8>>2]=v[a+8>>2];c=h<<2;a=c+b|0;d=a+12|0;e=(i+k|0)+1|0;b=v[(w[e|0]<<2)+j>>2];v[d>>2]=v[b>>2];v[a+16>>2]=v[b+4>>2];v[a+20>>2]=v[b+8>>2];b=(c+d|0)+12|0;i=(e+k|0)+1|0;a=(f|0)==1;f=f-2|0;if(!a){continue}break};break a;case 0:break d;default:break a}}if(f&1){v[b>>2]=v[v[(w[i|0]<<2)+j>>2]>>2];i=(i+k|0)+1|0;b=((h<<2)+b|0)+4|0;f=f-2|0}else{f=c}if(!c){break a}while(1){v[b>>2]=v[v[(w[i|0]<<2)+j>>2]>>2];a=h<<2;b=(a+b|0)+4|0;c=(i+k|0)+1|0;v[b>>2]=v[v[(w[c|0]<<2)+j>>2]>>2];b=(a+b|0)+4|0;i=(c+k|0)+1|0;a=(f|0)!=1;f=f-2|0;if(a){continue}break}}}function Tda(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;var j=0,k=0,l=0,m=0,n=0,o=0;k=(g|0)/4|0;a:{if(!f){break a}c=f-1|0;j=v[a+60>>2];if(e>>>0>=4){d=e-4|0;m=d&4;n=d>>>0<4;o=(e-(d&-4)|0)-5|0;while(1){l=c;a=e;f=b;c=i;if(!m){a=v[(w[i|0]<<2)+j>>2];v[b>>2]=v[a>>2];v[b+4>>2]=v[a+4>>2];v[b+8>>2]=v[a+8>>2];v[b+12>>2]=v[a+12>>2];f=b+16|0;c=i+1|0;a=d}g=d;if(!n){while(1){b=f;g=v[(w[c|0]<<2)+j>>2];v[b>>2]=v[g>>2];v[b+4>>2]=v[g+4>>2];v[b+8>>2]=v[g+8>>2];v[b+12>>2]=v[g+12>>2];g=c;i=v[(w[c+1|0]<<2)+j>>2];v[b+16>>2]=v[i>>2];v[b+20>>2]=v[i+4>>2];v[b+24>>2]=v[i+8>>2];v[b+28>>2]=v[i+12>>2];f=b+32|0;c=c+2|0;a=a-8|0;if(a>>>0>3){continue}break}i=g+1|0;g=a;b=b+16|0}b:{if(g){a=2;c=v[(w[c|0]<<2)+j>>2];c:{switch(o|0){case 2:v[f>>2]=v[c>>2];f=b+20|0;c=c+4|0;case 1:v[f>>2]=v[c>>2];f=f+4|0;c=c+4|0;break;case 0:break c;default:break b}}v[f>>2]=v[c>>2];f=f+4|0;break b}a=1}c=l-1|0;i=(i+k|0)+a|0;b=(h<<2)+f|0;if(l){continue}break}break a}d:{switch(e-1|0){case 1:if(f&1){a=v[(w[i|0]<<2)+j>>2];v[b>>2]=v[a>>2];v[b+4>>2]=v[a+4>>2];i=(i+k|0)+1|0;b=((h<<2)+b|0)+8|0;f=f-2|0}else{f=c}if(!c){break a}while(1){a=v[(w[i|0]<<2)+j>>2];v[b>>2]=v[a>>2];v[b+4>>2]=v[a+4>>2];a=h<<2;b=a+b|0;c=b+8|0;d=(i+k|0)+1|0;e=v[(w[d|0]<<2)+j>>2];v[c>>2]=v[e>>2];v[b+12>>2]=v[e+4>>2];b=(a+c|0)+8|0;i=(d+k|0)+1|0;a=(f|0)==1;f=f-2|0;if(!a){continue}break};break a;case 2:if(f&1){a=v[(w[i|0]<<2)+j>>2];v[b>>2]=v[a>>2];v[b+4>>2]=v[a+4>>2];v[b+8>>2]=v[a+8>>2];i=(i+k|0)+1|0;b=((h<<2)+b|0)+12|0;f=f-2|0}else{f=c}if(!c){break a}while(1){a=v[(w[i|0]<<2)+j>>2];v[b>>2]=v[a>>2];v[b+4>>2]=v[a+4>>2];v[b+8>>2]=v[a+8>>2];c=h<<2;a=c+b|0;d=a+12|0;e=(i+k|0)+1|0;b=v[(w[e|0]<<2)+j>>2];v[d>>2]=v[b>>2];v[a+16>>2]=v[b+4>>2];v[a+20>>2]=v[b+8>>2];b=(c+d|0)+12|0;i=(e+k|0)+1|0;a=(f|0)==1;f=f-2|0;if(!a){continue}break};break a;case 0:break d;default:break a}}if(f&1){v[b>>2]=v[v[(w[i|0]<<2)+j>>2]>>2];i=(i+k|0)+1|0;b=((h<<2)+b|0)+4|0;f=f-2|0}else{f=c}if(!c){break a}while(1){v[b>>2]=v[v[(w[i|0]<<2)+j>>2]>>2];a=h<<2;b=(a+b|0)+4|0;c=(i+k|0)+1|0;v[b>>2]=v[v[(w[c|0]<<2)+j>>2]>>2];b=(a+b|0)+4|0;i=(c+k|0)+1|0;a=(f|0)!=1;f=f-2|0;if(a){continue}break}}}function wY(a,b,c){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;a:{if(!v[a+5792>>2]){d=v[a+5820>>2];break a}l=a+5817|0;while(1){n=e+1|0;f=w[v[a+5784>>2]+e|0];o=a;k=x[v[a+5796>>2]+(e<<1)>>1];b:{c:{if(!k){d=(f<<2)+b|0;e=x[d+2>>1];h=x[d>>1];d=v[a+5820>>2];f=x[a+5816>>1]|h<>1]=f;if((d|0)>(16-e|0)){d=v[a+20>>2];v[a+20>>2]=d+1;t[d+v[a+8>>2]|0]=f;d=v[a+20>>2];v[a+20>>2]=d+1;t[d+v[a+8>>2]|0]=w[l|0];d=v[a+5820>>2];u[a+5816>>1]=h>>>16-d;d=(d+e|0)-16|0;break c}d=d+e|0;break c}m=w[f+866944|0];i=m<<2;d=i+b|0;e=x[d+1030>>1];h=x[d+1028>>1];g=v[a+5820>>2];d=x[a+5816>>1]|h<>1]=d;j=a;d:{if((g|0)>(16-e|0)){g=v[a+20>>2];v[a+20>>2]=g+1;t[g+v[a+8>>2]|0]=d;d=v[a+20>>2];v[a+20>>2]=d+1;t[d+v[a+8>>2]|0]=w[l|0];g=v[a+5820>>2];d=h>>>16-g|0;u[a+5816>>1]=d;e=(e+g|0)-16|0;break d}e=e+g|0}v[j+5820>>2]=e;if(m-8>>>0<=19){f=f-v[i+868912>>2]|0;j=a;i=v[i+868544>>2];e:{if((16-i|0)<(e|0)){e=f<>1]=e;d=v[a+20>>2];v[a+20>>2]=d+1;t[d+v[a+8>>2]|0]=e;e=v[a+20>>2];v[a+20>>2]=e+1;t[e+v[a+8>>2]|0]=w[l|0];e=v[a+5820>>2];d=(f&65535)>>>16-e|0;u[a+5816>>1]=d;e=(e+i|0)-16|0;break e}d=f<>1]=d;e=e+i|0}v[j+5820>>2]=e}i=k-1|0;m=w[(i>>>0<256?i:(i>>>7|0)+256|0)+866432|0];k=m<<2;h=k+c|0;g=x[h+2>>1];j=d;d=x[h>>1];f=j|d<>1]=f;j=a;f:{if((16-g|0)<(e|0)){e=v[a+20>>2];v[a+20>>2]=e+1;t[e+v[a+8>>2]|0]=f;e=v[a+20>>2];v[a+20>>2]=e+1;t[e+v[a+8>>2]|0]=w[l|0];e=v[a+5820>>2];f=d>>>16-e|0;u[a+5816>>1]=f;d=(e+g|0)-16|0;break f}d=e+g|0}v[j+5820>>2]=d;if(m>>>0<4){break b}e=i-v[k+869040>>2]|0;h=v[k+868672>>2];if((16-h|0)<(d|0)){d=e<>1]=d;f=v[a+20>>2];v[a+20>>2]=f+1;t[f+v[a+8>>2]|0]=d;d=v[a+20>>2];v[a+20>>2]=d+1;t[d+v[a+8>>2]|0]=w[l|0];d=e&65535;e=v[a+5820>>2];u[a+5816>>1]=d>>>16-e;d=(e+h|0)-16|0;break c}u[a+5816>>1]=e<>2]=d}e=n;if(e>>>0>2]){continue}break}}c=x[b+1026>>1];b=x[b+1024>>1];e=x[a+5816>>1]|b<>1]=e;if((16-c|0)<(d|0)){d=v[a+20>>2];v[a+20>>2]=d+1;t[d+v[a+8>>2]|0]=e;e=v[a+20>>2];v[a+20>>2]=e+1;t[e+v[a+8>>2]|0]=w[a+5817|0];d=b;b=v[a+5820>>2];u[a+5816>>1]=d>>>16-b;v[a+5820>>2]=(b+c|0)-16;return}v[a+5820>>2]=c+d}function ij(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=-1;a:{b:{if(v[a+32>>2]|(!b|!a)){break b}f=v[a+24>>2];d=v[a+8>>2];if(!((f|0)==(d|0)|d>>>0>2147483646)){v[a+24>>2]=d;f=d}d=v[a+20>>2];e=v[a+4>>2];if(!((d|0)==(e|0)|e>>>0>2147483646)){v[a+20>>2]=e;d=e}h=v[a+12>>2];if((h|0)==2|(c|0)<-1){break b}if(!c){return 0}if((c|0)<=-1){c=0;if(!w[b|0]){return 0}g=b;while(1){c=c+1|0;e=w[g+1|0];g=g+1|0;if(e){continue}break}}e=(c+d|0)+2|0;if(e>>>0>f>>>0){if(!((h|0)!=5|e>>>0<1e7)){Lo(a,342192);return-1}h=Ma-16|0;Ma=h;c:{if(v[a+32>>2]|!a){break c}f=v[a+24>>2];d=v[a+8>>2];if(!((f|0)==(d|0)|d>>>0>2147483646)){v[a+24>>2]=d;f=d}g=v[a+20>>2];d=v[a+4>>2];if(!((g|0)==(d|0)|d>>>0>2147483646)){v[a+20>>2]=d;g=d}i=v[a+12>>2];if((i|0)==2){break c}if(!((i|0)!=5|e>>>0<1e7)){v[h>>2]=342192;nb(0,0,0,0,0,29,2,3,342192,0,0,0,340689,h);if(v[a+32>>2]){break c}v[a+32>>2]=2;break c}j=1;if(e>>>0>>0){break c}d:{e:{f:{g:{h:{i:{switch(i|0){case 0:case 3:d=f?f<<1:e+10|0;if(e>>>0<=d>>>0){break h}while(1){if((d|0)<=-1){Lo(a,239691);j=0;break c}d=d<<1;if(e>>>0>d>>>0){continue}break};break h;case 4:if(g>>>0<4096){d=e;break f}d=f;while(1){d=d<<1;if(e>>>0<=d>>>0){break h}if((d|0)>-1){continue}break};Lo(a,239691);j=0;break c;case 1:break g;default:break i}}d=e+10|0}if((i|0)!=3){break f}e=v[a+16>>2];if(!e){break f}i=v[a>>2];f=i-e|0;if(f>>>0>d>>>0){id(e,i,g);f=v[a+16>>2];v[a>>2]=f;t[f+v[a+20>>2]|0]=0;break e}g=Qa[v[256557]](e,d+f|0)|0;if(!g){Lo(a,239691);j=0;break c}v[a+16>>2]=g;v[a>>2]=f+g;break e}d=e+10|0}j:{k:{e=v[a>>2];l:{if(!e){f=Qa[v[256555]](d)|0;break l}if(f-g>>>0>99){break k}f=Qa[v[256557]](e,d)|0}if(f){break j}break d}f=Qa[v[256555]](d)|0;if(!f){break d}g=cb(f,v[a>>2],v[a+20>>2]);Qa[v[256556]](v[a>>2]);t[g+v[a+20>>2]|0]=0}v[a>>2]=f}v[a+24>>2]=d;v[a+8>>2]=d>>>0<2147483647?d:2147483647;d=v[a+20>>2];v[a+4>>2]=d>>>0<2147483647?d:2147483647;break c}Lo(a,239691);j=0}Ma=h+16|0;if(!j){break a}d=v[a+20>>2]}id(v[a>>2]+d|0,b,c);b=v[a+20>>2]+c|0;v[a+20>>2]=b;g=0;t[b+v[a>>2]|0]=0;b=v[a+24>>2];v[a+8>>2]=b>>>0<2147483647?b:2147483647;b=a;a=v[a+20>>2];v[b+4>>2]=a>>>0<2147483647?a:2147483647}return g}Lo(a,239691);return 2}function aua(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,p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0;t[a+224|0]=0;t[a+225|0]=0;t[a+226|0]=0;t[a+227|0]=0;t[a+228|0]=0;t[a+229|0]=0;t[a+230|0]=0;t[a+231|0]=0;t[a+248|0]=0;t[a+249|0]=0;t[a+250|0]=0;t[a+251|0]=0;t[a+252|0]=0;t[a+253|0]=0;t[a+254|0]=0;t[a+255|0]=0;t[a+240|0]=0;t[a+241|0]=0;t[a+242|0]=0;t[a+243|0]=0;t[a+244|0]=0;t[a+245|0]=0;t[a+246|0]=0;t[a+247|0]=0;t[a+232|0]=0;t[a+233|0]=0;t[a+234|0]=0;t[a+235|0]=0;t[a+236|0]=0;t[a+237|0]=0;t[a+238|0]=0;t[a+239|0]=0;f=a;while(1){d=v[(m<<2)+b>>2]+c|0;h=w[d|0];e=w[d+3|0];i=w[d+10|0];z=e-i|0;l=w[d+13|0];g=h-l|0;p=w[d+2|0];q=w[d+11|0];j=p-q|0;r=w[d+1|0];s=w[d+12|0];k=r-s|0;A=j+k|0;u=w[d+5|0];x=w[d+8|0];n=u-x|0;y=w[d+4|0];C=w[d+9|0];o=y-C|0;D=n-o|0;E=w[d+6|0];F=w[d+7|0];d=E-F|0;v[f+28>>2]=z+g-((A+D|0)+d)<<2;y=y+C|0;p=p+q|0;q=y+p|0;e=e+i|0;i=u+x|0;r=r+s|0;s=i+r|0;u=E+F|0;l=h+l|0;x=u+l|0;v[f>>2]=(((q+e|0)+s|0)+x<<2)-7168;h=e<<1;v[f+16>>2]=((B(q-h|0,-7223)+B(s-h|0,2578)|0)+B(x-h|0,10438)|0)+1024>>11;e=l-u|0;i=r-i|0;l=B(e+i|0,9058)+1024|0;h=p-y|0;v[f+24>>2]=(l+B(h,-11295)|0)+B(i,-14084)>>11;v[f+8>>2]=(l+B(h,5027)|0)+B(e,2237)>>11;h=z<<13;e=((B(D,11512)-h|0)+B(A,-1297)|0)+1024|0;i=(e+B(j,-19447)|0)+B(o,9175)|0;j=B(d+o|0,6164)+B(g+j|0,9810)|0;v[f+20>>2]=i+j>>11;e=(e+B(k,-3474)|0)+B(n,-25148)|0;k=B(n-d|0,3826)+B(g+k|0,10935)|0;v[f+12>>2]=e+k>>11;v[f+4>>2]=(j+((d+(h+k|0)|0)+B(d+g|0,-9232)|0)|0)+1024>>11;f=f+32|0;d=7;m=m+1|0;if((m|0)!=7){continue}break}while(1){j=v[a+128>>2];k=v[a+64>>2];f=j+k|0;n=v[a+192>>2];o=v[a>>2];g=n+o|0;e=f+g|0;c=v[a+96>>2];m=v[a+160>>2];h=v[a+32>>2];b=m+h|0;v[a>>2]=B(e+(c+b|0)|0,10700)+32768>>16;e=B(e-(c<<2)|0,3783);i=B(g-b|0,9434)+32768|0;g=B(g-f|0,9850);v[a+192>>2]=e+(i-g|0)>>16;f=B(b-f|0,3367);v[a+128>>2]=(f+i|0)+B(b-(c<<1)|0,-7566)>>16;v[a+64>>2]=(e+(f+g|0)|0)+32768>>16;b=k-j|0;c=o-n|0;f=B(b+c|0,6565)+32768|0;e=f+B(b,20017)|0;g=b;b=h-m|0;g=B(g+b|0,-14752);v[a+160>>2]=e+g>>16;e=g;g=B(c-b|0,1822);b=B(b+c|0,10009);v[a+96>>2]=((e+g|0)+b|0)+32768>>16;v[a+32>>2]=b+(f-g|0)>>16;b=d;d=d-1|0;a=a+4|0;if(b){continue}break}}function PSa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=Ma-144|0;Ma=c;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],200896,0)|0;d=v[a>>2];b=v[d+8>>2];e=v[a+4>>2];Qa[b|0](e,(Qa[v[d+28>>2]](e)<<2)-1|0,1)|0;u[a+25204>>1]=19789;v[c+96>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+96|0,1,4)|0;d=w[c+96|0];if(x[a+25204>>1]==18761){d=d|w[c+97|0]<<8|w[c+98|0]<<16|w[c+99|0]<<24}else{d=w[c+99|0]|(w[c+97|0]<<16|d<<24|w[c+98|0]<<8)}Qa[v[v[a>>2]+8>>2]](v[a+4>>2],164600,0)|0;b=c+96|0;Qa[v[v[a>>2]>>2]](v[a+4>>2],b,1,40)|0;VK(b,10,1,d);j=x[c+118>>1]|x[c+120>>1]<<16;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],v[a+26048>>2],0)|0;a:{b:{b=x[a+26306>>1];d=Yb(b,2);if(d){if(x[a+26308>>1]){break b}b=0;break a}d=v[a+190640>>2];c:{if(d){b=v[a+25208>>2];v[c+20>>2]=49688;v[c+16>>2]=b;Dc(d,4338,c+16|0);break c}d=v[a+25208>>2];v[c+4>>2]=49688;v[c>>2]=d;vb(v[249419],4338,c)}tc(a+190484|0,1);L()}f=v[249419];while(1){e=d;g=Qa[v[v[a>>2]>>2]](v[a+4>>2],d,2,b&65535)|0;b=x[a+26306>>1];if((g|0)<(b|0)){d:{if(v[a+26160>>2]){break d}v[c+80>>2]=v[a+25208>>2];vb(f,8292,c+80|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,f);break d}b=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[c+64>>2]=b;v[c+68>>2]=b>>31;vb(f,14622,c- -64|0)}v[a+26160>>2]=1;b=x[a+26306>>1]}VK(e,(b&65534)>>>1|0,!h,j);b=9;e=x[a+26314>>1];if(e>>>0>9){while(1){g=x[(b<<1)+d>>1];v[a+26120>>2]=v[a+26120>>2]+((g<<8|g>>>8)&65535);b=b+1|0;if((e|0)!=(b|0)){continue}break}}e:{if(!x[a+26310>>1]){break e}g=h<<1&14;b=0;while(1){i=x[a+26316>>1];e=x[(b+e<<1)+d>>1];e=(e<<8|e>>>8)&65535;u[(v[a+26352>>2]+(B(x[a+26320>>1],h>>>i|0)+(b>>>i|0)<<3)|0)+((v[a+26028>>2]>>>((g|b&1)<<1)&3)<<1)>>1]=e;if(e>>>0>=16384){f:{if(v[a+26160>>2]){break f}v[c+48>>2]=v[a+25208>>2];vb(f,8292,c+48|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,f);break f}e=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[c+32>>2]=e;v[c+36>>2]=e>>31;vb(f,14622,c+32|0)}v[a+26160>>2]=1}b=b+1|0;if(b>>>0>=x[a+26310>>1]){break e}e=x[a+26314>>1];continue}}b=x[a+26308>>1];h=h+1|0;if(b>>>0<=h>>>0){break a}b=x[a+26306>>1];continue}}$a(d);d=x[a+26314>>1];if(d>>>0>=10){v[a+26120>>2]=y[a+26120>>2]/(B(d-9|0,b)>>>0)}v[a+26124>>2]=16368;Ma=c+144|0}function Iw(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=v[a+24>>2];g=v[e+4>>2];f=v[e>>2];v[a+228>>2]=d;v[a+224>>2]=c;v[a+220>>2]=b;a:{if(!g){if(!(Qa[v[e+12>>2]](a)|0)){break a}f=v[e>>2];g=v[e+4>>2]}i=w[f|0];b=g-1|0;if(b){c=f+1|0}else{if(!(Qa[v[e+12>>2]](a)|0)){break a}b=v[e+4>>2];c=v[e>>2]}g=w[c|0];d=a;f=b-1|0;if(f){b=c+1|0}else{if(!(Qa[v[e+12>>2]](a)|0)){break a}f=v[e+4>>2];b=v[e>>2]}v[d+212>>2]=w[b|0];d=a;f=f-1|0;if(f){c=b+1|0}else{if(!(Qa[v[e+12>>2]](a)|0)){break a}f=v[e+4>>2];c=v[e>>2]}b=w[c|0]<<8;v[d+32>>2]=b;d=a;f=f-1|0;if(f){c=c+1|0}else{if(!(Qa[v[e+12>>2]](a)|0)){break a}b=v[a+32>>2];f=v[e+4>>2];c=v[e>>2]}v[d+32>>2]=w[c|0]+b;h=a;f=f-1|0;if(f){c=c+1|0}else{if(!(Qa[v[e+12>>2]](a)|0)){break a}f=v[e+4>>2];c=v[e>>2]}b=w[c|0]<<8;v[h+28>>2]=b;f=f-1|0;if(f){c=c+1|0}else{if(!(Qa[v[e+12>>2]](a)|0)){break a}b=v[a+28>>2];f=v[e+4>>2];c=v[e>>2]}h=b;b=c;v[d+28>>2]=h+w[b|0];d=a;c=f-1|0;if(c){b=b+1|0}else{if(!(Qa[v[e+12>>2]](a)|0)){break a}c=v[e+4>>2];b=v[e>>2]}v[d+36>>2]=w[b|0];d=v[a>>2];v[d+24>>2]=v[a+436>>2];v[d+28>>2]=v[a+28>>2];v[d+32>>2]=v[a+32>>2];f=v[a+36>>2];v[d+20>>2]=102;v[d+36>>2]=f;Qa[v[d+4>>2]](a,1);if(v[v[a+460>>2]+16>>2]){d=v[a>>2];v[d+20>>2]=60;Qa[v[d>>2]](a)}d=(g|i<<8)-8|0;b:{if(!(!v[a+32>>2]|!v[a+28>>2])){g=v[a+36>>2];if((g|0)>0){break b}}g=v[a>>2];v[g+20>>2]=33;Qa[v[g>>2]](a);g=v[a+36>>2]}if((d|0)!=(B(g,3)|0)){d=v[a>>2];v[d+20>>2]=12;Qa[v[d>>2]](a)}g=v[a+216>>2];if(!g){g=Qa[v[v[a+4>>2]>>2]](a,1,B(v[a+36>>2],88))|0;v[a+216>>2]=g}b=b+1|0;f=c-1|0;if(v[a+36>>2]>=1){c=0;while(1){v[g+4>>2]=c;if(!f){if(!(Qa[v[e+12>>2]](a)|0)){break a}f=v[e+4>>2];b=v[e>>2]}v[g>>2]=w[b|0];h=g;d=f-1|0;if(d){b=b+1|0}else{if(!(Qa[v[e+12>>2]](a)|0)){break a}d=v[e+4>>2];b=v[e>>2]}i=w[b|0];v[h+12>>2]=i&15;v[g+8>>2]=i>>>4;h=g;d=d-1|0;if(d){f=b+1|0}else{if(!(Qa[v[e+12>>2]](a)|0)){break a}d=v[e+4>>2];f=v[e>>2]}v[h+16>>2]=w[f|0];b=v[a>>2];v[b+24>>2]=v[g>>2];v[b+28>>2]=v[g+8>>2];v[b+32>>2]=v[g+12>>2];i=v[g+16>>2];v[b+20>>2]=103;v[b+36>>2]=i;Qa[v[b+4>>2]](a,1);b=f+1|0;f=d-1|0;g=g+88|0;c=c+1|0;if((c|0)>2]){continue}break}}v[v[a+460>>2]+16>>2]=1;v[e+4>>2]=f;v[e>>2]=b;return 1}return 0}function vVa(a,b){a=a|0;b=b|0;var 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,u=0,x=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;if(w[b+32|0]){return hd(a,v[b>>2],0,0)|0}c=v[a+428>>2];t[c+8|0]=w[b+33|0];E=c+8|0;a:{if(!v[b+36>>2]){h=1;break a}C=w[b+33|0]==16?25:17;e=v[b+40>>2];A=v[e+28>>2];t[c+9|0]=w[e|0];b:{if(w[b+33|0]!=16){i=26;h=25;f=24;j=23;k=22;l=21;m=20;n=19;o=18;p=17;q=16;r=15;s=14;u=13;x=12;z=11;g=e+8|0;B=c+10|0;break b}q=24;d=v[e+4>>2];d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);t[c+10|0]=d;t[c+11|0]=d>>>8;t[c+12|0]=d>>>16;t[c+13|0]=d>>>24;d=v[e+8>>2];d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);t[c+14|0]=d;t[c+15|0]=d>>>8;t[c+16|0]=d>>>16;t[c+17|0]=d>>>24;i=34;h=33;f=32;j=31;k=30;l=29;m=28;n=27;o=26;p=25;r=23;s=22;u=21;x=20;z=19;g=e+12|0;B=c+18|0}d=v[g>>2];t[B|0]=d>>>24;t[c+z|0]=d>>>16;t[c+x|0]=d>>>8;t[c+u|0]=d;d=v[e+16>>2];t[c+s|0]=d>>>24;t[c+r|0]=d>>>16;t[c+q|0]=d>>>8;t[c+p|0]=d;d=v[e+20>>2];t[c+o|0]=d>>>24;t[c+n|0]=d>>>16;t[c+m|0]=d>>>8;t[c+l|0]=d;d=v[e+24>>2];t[c+k|0]=d>>>24;t[c+j|0]=d>>>16;t[c+f|0]=d>>>8;t[c+h|0]=d;c=c+i|0;d=v[e+28>>2];if(d){c=cb(c,v[e+32>>2],d)+v[e+28>>2]|0}h=(A+C|0)+1|0;if(y[b+36>>2]<2){break a}i=1;while(1){t[c|0]=0;F=v[e- -64>>2];t[c+1|0]=w[e+36|0];g=c+1|0;B=c;c:{if(w[b+33|0]==16){j=24;f=v[e+40>>2];f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);t[c+2|0]=f;t[c+3|0]=f>>>8;t[c+4|0]=f>>>16;t[c+5|0]=f>>>24;f=v[e+44>>2];f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);t[c+6|0]=f;t[c+7|0]=f>>>8;t[c+8|0]=f>>>16;t[c+9|0]=f>>>24;k=e+48|0;l=25;m=23;n=22;o=21;p=20;q=19;r=18;s=17;u=16;x=15;z=14;f=13;A=12;D=11;c=10;break c}k=e+44|0;l=17;j=16;m=15;n=14;o=13;p=12;q=11;r=10;s=9;u=8;x=7;z=6;f=5;A=4;D=3;c=2}d=v[k>>2];t[B+c|0]=d>>>24;t[c+g|0]=d>>>16;t[g+D|0]=d>>>8;t[g+A|0]=d;c=v[e+52>>2];t[f+g|0]=c>>>24;t[g+z|0]=c>>>16;t[g+x|0]=c>>>8;t[g+u|0]=c;c=v[e+56>>2];t[g+s|0]=c>>>24;t[g+r|0]=c>>>16;t[g+q|0]=c>>>8;t[g+p|0]=c;c=v[e+60>>2];t[g+o|0]=c>>>24;t[g+n|0]=c>>>16;t[g+m|0]=c>>>8;t[g+j|0]=c;c=g+l|0;d=v[e+64>>2];if(d){c=cb(c,v[e+68>>2],d)+v[e+64>>2]|0}h=((h+C|0)+F|0)+1|0;e=e+36|0;i=i+1|0;if(i>>>0>2]){continue}break}}return hd(a,v[b>>2],h,E)|0}function s5(a,b){var 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;a:{b:{a=v[a+12>>2];d=v[a+44>>2];c:{if(!d){break c}g=v[a+48>>2];k=g+B(d,716)|0;if(!b){while(1){a=v[g>>2];if(a){e=v[g+4>>2];h=e+(a<<6)|0;while(1){d=v[e+56>>2];d:{if(!d){break d}a=v[e+52>>2];if(!a){break d}i=B(a,36)+d|0;while(1){if(!(!v[d+4>>2]|v[e+32>>2]<1)){b=v[d>>2];f=0;while(1){e:{if(!v[b+28>>2]){break e}qC(v[b+32>>2]);qC(v[b+36>>2]);c=v[b+24>>2];if(!c){break e}a=v[b+28>>2];j=a+B(c,60)|0;while(1){if(Qm(v[a+20>>2])){break b}c=v[a>>2]<1?0:v[a+4>>2];v[a+16>>2]=3;v[a+8>>2]=0;v[a+40>>2]=c;c=v[d+12>>2]-v[a+36>>2]|0;v[a+12>>2]=c;if((c|0)<0){break a}c=v[b+36>>2];oC(c,v[c+12>>2]+((a-v[b+28>>2]|0)/60<<4)|0,v[a+12>>2]);a=a+60|0;if((j|0)!=(a|0)){continue}break}}b=b+52|0;f=f+1|0;if((f|0)>2]){continue}break}}d=d+36|0;if((i|0)!=(d|0)){continue}break}}e=e- -64|0;if((h|0)!=(e|0)){continue}break}}g=g+716|0;if((k|0)!=(g|0)){continue}break c}}while(1){a=v[g>>2];if(a){f=v[g+4>>2];i=f+(a<<6)|0;while(1){e=v[f+56>>2];f:{if(!e){break f}a=v[f+52>>2];if(!a){break f}j=B(a,36)+e|0;while(1){if(!(!v[e+4>>2]|v[f+32>>2]<1)){d=v[e>>2];h=0;while(1){g:{if(!v[d+28>>2]){break g}qC(v[d+32>>2]);qC(v[d+36>>2]);a=v[d+24>>2];if(!a){break g}c=v[d+28>>2];o=c+B(a,60)|0;while(1){if(Qm(v[c+20>>2])){break b}a=v[c>>2]<1?0:v[c+4>>2];v[c+16>>2]=3;v[c+8>>2]=0;v[c+40>>2]=a;a=v[e+12>>2]-v[c+36>>2]|0;v[c+12>>2]=a;if((a|0)<=-1){break a}a=v[d+36>>2];oC(a,v[a+12>>2]+((c-v[d+28>>2]|0)/60<<4)|0,v[c+12>>2]);b=v[c>>2];h:{if(!b){break h}l=v[c+4>>2];a=l;m=B(b,72);n=m-72|0;b=((n>>>0)/72|0)+1&7;if(b){while(1){v[a+32>>2]=0;a=a+72|0;b=b-1|0;if(b){continue}break}}if(n>>>0<504){break h}b=l+m|0;while(1){v[a+32>>2]=0;v[a+536>>2]=0;v[a+464>>2]=0;v[a+392>>2]=0;v[a+320>>2]=0;v[a+248>>2]=0;v[a+176>>2]=0;v[a+104>>2]=0;a=a+576|0;if((b|0)!=(a|0)){continue}break}}c=c+60|0;if((o|0)!=(c|0)){continue}break}}d=d+52|0;h=h+1|0;if((h|0)>2]){continue}break}}e=e+36|0;if((j|0)!=(e|0)){continue}break}}f=f- -64|0;if((i|0)!=(f|0)){continue}break}}g=g+716|0;if((k|0)!=(g|0)){continue}break}}return}O(29184,7578,526,189477);L()}O(30455,7578,532,189477);L()}function fJ(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;i=Ma-16|0;Ma=i;v[i+12>>2]=0;m=v[a+100>>2];j=v[a+736>>2];a:{b:{if(!j){e=et(a,0);v[i+12>>2]=e;if(e){break b}j=v[a+736>>2]}k=v[j+12>>2];e=v[k>>2];d=v[j+4>>2];if(!d){d=yb(m,4,0,e,0,i+12|0);v[j+4>>2]=d;if(v[i+12>>2]){break b}}e=b>>>0>e>>>0?e:b;c:{if(!e){break c}h=e&3;if(e-1>>>0>=3){b=e&-4;while(1){f=v[c>>2];if((f|0)!=v[d>>2]){v[d>>2]=f;g=1}f=v[c+4>>2];if((f|0)!=v[d+4>>2]){v[d+4>>2]=f;g=1}f=v[c+8>>2];if((f|0)!=v[d+8>>2]){v[d+8>>2]=f;g=1}f=v[c+12>>2];if((f|0)!=v[d+12>>2]){v[d+12>>2]=f;g=1}d=d+16|0;c=c+16|0;b=b-4|0;if(b){continue}break}}if(!h){break c}while(1){b=v[c>>2];if((b|0)!=v[d>>2]){v[d>>2]=b;g=1}d=d+4|0;c=c+4|0;h=h-1|0;if(h){continue}break}}f=v[k>>2];b=v[a+4>>2];d:{if(b&2147418112){if(e>>>0>=f>>>0){break d}c=v[(v[k+16>>2]+B(b>>>16|0,12)|0)-12>>2]+(e<<2)|0;n=f+(e^-1)|0;b=f-e&3;e:{if(!b){h=e;break e}h=e;while(1){l=v[c>>2];if((l|0)!=v[d>>2]){v[d>>2]=l;g=1}d=d+4|0;c=c+4|0;h=h+1|0;b=b-1|0;if(b){continue}break}}if(n>>>0<3){break d}while(1){b=v[c>>2];if((b|0)!=v[d>>2]){v[d>>2]=b;g=1}b=v[c+4>>2];if((b|0)!=v[d+4>>2]){v[d+4>>2]=b;g=1}b=v[c+8>>2];if((b|0)!=v[d+8>>2]){v[d+8>>2]=b;g=1}b=v[c+12>>2];if((b|0)!=v[d+12>>2]){v[d+12>>2]=b;g=1}d=d+16|0;c=c+16|0;h=h+4|0;if((f|0)!=(h|0)){continue}break}break d}if(e>>>0>=f>>>0){break d}n=f+(e^-1)|0;c=v[k+12>>2]+B(e,24)|0;b=f-e&3;f:{if(!b){h=e;break f}h=e;while(1){l=v[c+8>>2];if((l|0)!=v[d>>2]){v[d>>2]=l;g=1}d=d+4|0;c=c+24|0;h=h+1|0;b=b-1|0;if(b){continue}break}}if(n>>>0<3){break d}while(1){b=v[c+8>>2];if((b|0)!=v[d>>2]){v[d>>2]=b;g=1}b=v[c+32>>2];if((b|0)!=v[d+4>>2]){v[d+4>>2]=b;g=1}b=v[c+56>>2];if((b|0)!=v[d+8>>2]){v[d+8>>2]=b;g=1}b=v[c+80>>2];if((b|0)!=v[d+12>>2]){v[d+12>>2]=b;g=1}d=d+16|0;c=c+96|0;h=h+4|0;if((f|0)!=(h|0)){continue}break}}if(v[j+8>>2]){b=-1;if(!(g&255)){break a}}g=yb(m,4,0,f,0,i+12|0);if(v[i+12>>2]){break b}b=v[a+736>>2];if(!w[b+24|0]){l$(a);b=v[a+736>>2]}k$(b,e,v[j+4>>2],g);b=XA(a,v[k>>2],g,0);v[i+12>>2]=b;if(b){break b}v[a+8>>2]=v[a+8>>2]&-32769|((e|0)!=0)<<15}if(g){Qa[v[m+8>>2]](m,g)}b=v[i+12>>2]}Ma=i+16|0;return b|0}function h0a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=v[a+572>>2];d=v[a+664>>2];a:{if((b|0)<(d|0)|(b|0)>=v[a+668>>2]){break a}g=Qa[v[a+220>>2]](a,v[a+680>>2]+(b-d|0)|0)|0;b=v[a+580>>2];d=(g+B(b,3)|0)+B(v[a+672>>2],3)|0;e=v[a+656>>2];c=(e|0)/v[a+584>>2]|0;h=v[a+644>>2];b:{if(!w[a+648|0]){e=b+e|0;b=h+(c<<2)|0;c=v[a+660>>2];if(!w[a+649|0]){break b}if((c|0)<=(e|0)){break a}while(1){t[d|0]=w[b|0];t[d+1|0]=w[b+1|0];t[d+2|0]=w[b+2|0];b=b+4|0;c=v[a+584>>2];d=B(c,3)+d|0;e=c+e|0;if((e|0)>2]){continue}break}break a}e=b+e|0;b=h+(c<<3)|0;c=v[a+660>>2];if(w[a+649|0]){if((c|0)<=(e|0)){break a}while(1){t[d|0]=w[b|0];t[d+1|0]=w[b+2|0];t[d+2|0]=w[b+4|0];b=b+8|0;c=v[a+584>>2];d=B(c,3)+d|0;e=c+e|0;if((e|0)>2]){continue}break}break a}if((c|0)<=(e|0)){break a}while(1){c=w[b+6|0]|w[b+7|0]<<8;c=(c<<8|c>>>8)&65535;c:{if(!c){break c}if((c|0)==65535){t[d|0]=w[b|0];t[d+1|0]=w[b+2|0];t[d+2|0]=w[b+4|0];break c}h=w[b|0]|w[b+1|0]<<8;f=w[b+2|0]|w[b+3|0]<<8;i=w[b+4|0]|w[b+5|0]<<8;j=B(c,(i<<8|i>>>8)&65535);i=w[d+2|0];g=i<<8|i;i=c^65535;g=(j+B(g,i)|0)+32768|0;t[d+2|0]=(g>>>16|0)+g>>>24;g=B((f<<8|f>>>8)&65535,c);f=w[d+1|0];f=(g+B(i,f<<8|f)|0)+32768|0;t[d+1|0]=(f>>>16|0)+f>>>24;g=B((h<<8|h>>>8)&65535,c);c=w[d|0];c=(g+B(i,c<<8|c)|0)+32768|0;t[d|0]=(c>>>16|0)+c>>>24}b=b+8|0;c=v[a+584>>2];d=B(c,3)+d|0;e=c+e|0;if((e|0)>2]){continue}break}break a}if((c|0)<=(e|0)){break a}while(1){c=w[b+3|0];d:{if(!c){break d}if((c|0)==255){t[d|0]=w[b|0];t[d+1|0]=w[b+1|0];t[d+2|0]=w[b+2|0];break d}h=c^255;f=(B(c,w[b|0])+B(h,w[d|0])|0)+128|0;t[d|0]=(f>>>8&255)+f>>>8;f=(B(c,w[b+1|0])+B(h,w[d+1|0])|0)+128|0;t[d+1|0]=(f>>>8&255)+f>>>8;c=(B(c,w[b+2|0])+B(h,w[d+2|0])|0)+128|0;t[d+2|0]=(c>>>8&255)+c>>>8}b=b+4|0;c=v[a+584>>2];d=B(c,3)+d|0;e=c+e|0;if((e|0)>2]){continue}break}}d=v[a+680>>2]+v[a+572>>2]|0;e=v[a+664>>2];b=v[a+556>>2];c=v[a+672>>2];e:{if((c|0)>=v[a+552>>2]){if(b){break e}b=0}v[a+552>>2]=c}g=b;b=v[a+676>>2];if((g|0)<(b|0)){v[a+556>>2]=b}b=v[a+564>>2];d=d-e|0;f:{if((d|0)>=v[a+560>>2]){if(b){break f}b=0}v[a+560>>2]=d}if((b|0)<=(d|0)){v[a+564>>2]=d+1}return 0}function b0a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=v[a+572>>2];d=v[a+664>>2];a:{if((b|0)<(d|0)|(b|0)>=v[a+668>>2]){break a}g=Qa[v[a+220>>2]](a,v[a+680>>2]+(b-d|0)|0)|0;b=v[a+580>>2];d=(g+B(b,3)|0)+B(v[a+672>>2],3)|0;e=v[a+656>>2];c=(e|0)/v[a+584>>2]|0;f=v[a+644>>2];b:{if(!w[a+648|0]){e=b+e|0;b=f+(c<<2)|0;c=v[a+660>>2];if(!w[a+649|0]){break b}if((c|0)<=(e|0)){break a}while(1){t[d|0]=w[b+2|0];t[d+1|0]=w[b+1|0];t[d+2|0]=w[b|0];b=b+4|0;c=v[a+584>>2];d=B(c,3)+d|0;e=c+e|0;if((e|0)>2]){continue}break}break a}e=b+e|0;b=f+(c<<3)|0;c=v[a+660>>2];if(w[a+649|0]){if((c|0)<=(e|0)){break a}while(1){t[d|0]=w[b+4|0];t[d+1|0]=w[b+2|0];t[d+2|0]=w[b|0];b=b+8|0;c=v[a+584>>2];d=B(c,3)+d|0;e=c+e|0;if((e|0)>2]){continue}break}break a}if((c|0)<=(e|0)){break a}while(1){c=w[b+6|0]|w[b+7|0]<<8;c=(c<<8|c>>>8)&65535;c:{if(!c){break c}if((c|0)==65535){t[d|0]=w[b+4|0];t[d+1|0]=w[b+2|0];t[d+2|0]=w[b|0];break c}f=w[b+2|0]|w[b+3|0]<<8;i=w[b+4|0]|w[b+5|0]<<8;h=w[b|0]|w[b+1|0]<<8;j=B(c,(h<<8|h>>>8)&65535);h=w[d+2|0];g=h<<8|h;h=c^65535;g=(j+B(g,h)|0)+32768|0;t[d+2|0]=(g>>>16|0)+g>>>24;g=B((f<<8|f>>>8)&65535,c);f=w[d+1|0];f=(g+B(h,f<<8|f)|0)+32768|0;t[d+1|0]=(f>>>16|0)+f>>>24;g=B(c,(i<<8|i>>>8)&65535);c=w[d|0];c=(g+B(h,c<<8|c)|0)+32768|0;t[d|0]=(c>>>16|0)+c>>>24}b=b+8|0;c=v[a+584>>2];d=B(c,3)+d|0;e=c+e|0;if((e|0)>2]){continue}break}break a}if((c|0)<=(e|0)){break a}while(1){c=w[b+3|0];d:{if(!c){break d}if((c|0)==255){t[d|0]=w[b+2|0];t[d+1|0]=w[b+1|0];t[d+2|0]=w[b|0];break d}f=c^255;i=(B(c,w[b+2|0])+B(f,w[d|0])|0)+128|0;t[d|0]=(i>>>8&255)+i>>>8;i=(B(c,w[b+1|0])+B(f,w[d+1|0])|0)+128|0;t[d+1|0]=(i>>>8&255)+i>>>8;c=(B(c,w[b|0])+B(f,w[d+2|0])|0)+128|0;t[d+2|0]=(c>>>8&255)+c>>>8}b=b+4|0;c=v[a+584>>2];d=B(c,3)+d|0;e=c+e|0;if((e|0)>2]){continue}break}}d=v[a+680>>2]+v[a+572>>2]|0;e=v[a+664>>2];b=v[a+556>>2];c=v[a+672>>2];e:{if((c|0)>=v[a+552>>2]){if(b){break e}b=0}v[a+552>>2]=c}g=b;b=v[a+676>>2];if((g|0)<(b|0)){v[a+556>>2]=b}b=v[a+564>>2];d=d-e|0;f:{if((d|0)>=v[a+560>>2]){if(b){break f}b=0}v[a+560>>2]=d}if((b|0)<=(d|0)){v[a+564>>2]=d+1}return 0}function dTa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=Ma-48|0;Ma=e;v[290048]=0;c=x[a+26308>>1];if(c){j=v[249419];f=x[a+26306>>1];while(1){b=f&65535;f=0;if(b){m=h<<1&14;while(1){d=(f>>>0)%14|0;a:{if(!d){v[e+32>>2]=0;v[e+36>>2]=0;v[e+40>>2]=0;v[e+44>>2]=0;break a}if(((d>>>0)%3|0)!=2){break a}b=v[290048];if(!b){b=v[a+26300>>2];Qa[v[v[a>>2]>>2]](v[a+4>>2],b+1143808|0,1,16384-b|0)|0;Qa[v[v[a>>2]>>2]](v[a+4>>2],1143808,1,v[a+26300>>2])|0;b=v[290048]}b=b-2|0;c=b&131071;v[290048]=c;c=(c>>>3^16368)+1143808|0;i=4>>>(((w[c|0]|w[c+1|0]<<8)>>>(b&7)^-1)&3)|0}c=v[290048];k=(d&1)<<2;g=k+(e+32|0)|0;b:{if(v[g>>2]){if(!c){b=v[a+26300>>2];Qa[v[v[a>>2]>>2]](v[a+4>>2],b+1143808|0,1,16384-b|0)|0;Qa[v[v[a>>2]>>2]](v[a+4>>2],1143808,1,v[a+26300>>2])|0;c=v[290048]}b=c+131064&131071;v[290048]=b;b=(b>>>3^16368)+1143808|0;c=(w[b|0]|w[b+1|0]<<8)>>>(c&7)&255;if(!c){break b}d=(e+40|0)+k|0;b=v[d>>2]+(-128<>2]=(b&((b|0)<0?d:(i|0)==4?d:-1))+(c<>2];Qa[v[v[a>>2]>>2]](v[a+4>>2],b+1143808|0,1,16384-b|0)|0;Qa[v[v[a>>2]>>2]](v[a+4>>2],1143808,1,v[a+26300>>2])|0;c=v[290048]}b=c+131064&131071;v[290048]=b;l=g;g=(b>>>3^16368)+1143808|0;c=(w[g|0]|w[g+1|0]<<8)>>>(c&7)&255;v[l>>2]=c;if(!c&d>>>0<12){break b}if(!b){b=v[a+26300>>2];Qa[v[v[a>>2]>>2]](v[a+4>>2],b+1143808|0,1,16384-b|0)|0;Qa[v[v[a>>2]>>2]](v[a+4>>2],1143808,1,v[a+26300>>2])|0;b=v[290048]}b=b-4|0;d=b&131071;v[290048]=d;d=(d>>>3^16368)+1143808|0;v[(e+40|0)+k>>2]=(w[d|0]|w[d+1|0]<<8)>>>(b&7)&15|c<<4}c:{if(x[a+26310>>1]<=f>>>0){break c}c=f&1;b=v[(e+40|0)+(c<<2)>>2];d=x[a+26316>>1];u[(v[a+26352>>2]+(B(x[a+26320>>1],h>>>d|0)+(f>>>d|0)<<3)|0)+((v[a+26028>>2]>>>((c|m)<<1)&3)<<1)>>1]=b;if((b&65535)>>>0<4099){break c}d:{if(v[a+26160>>2]){break d}v[e+16>>2]=v[a+25208>>2];vb(j,8292,e+16|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,j);break d}b=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[e>>2]=b;v[e+4>>2]=b>>31;vb(j,14622,e)}v[a+26160>>2]=1}f=f+1|0;b=x[a+26306>>1];if(f>>>0>>0){continue}break}c=x[a+26308>>1];f=b}h=h+1|0;if(h>>>0>>0){continue}break}}Ma=e+48|0}function ps(a){var 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=Ma-80|0;Ma=p;c=v[a+4>>2];a:{if((c|0)>=10){b=v[a>>2];b=Qa[v[v[b>>2]+36>>2]](b)|0;d=0;if((b|0)==-1){break a}c=b+10|0}b=v[a+24>>2];f=eb(p,0,b+1|0);b:{if(v[a+28>>2]<=(b|0)){break b}i=f|1;l=c-11|0;c=b;while(1){if((b|0)>=1){id(i,f,b)}t[f|0]=w[v[a+32>>2]+c|0];b=v[a>>2];e=Qa[v[v[b>>2]+36>>2]](b)|0;if((e|0)==-1){d=0;if(v[a+24>>2]>=(c|0)){break a}break b}c:{d:{switch(l|0){case 0:b=v[a+32>>2];t[b+c|0]=e+w[b+(c-v[a+24>>2]|0)|0];break c;case 1:b=v[a+32>>2]+c|0;t[b|0]=e+w[b|0];break c;case 2:d=v[a+32>>2];b=d+c|0;t[b|0]=e+(w[b|0]+w[d+(c-v[a+24>>2]|0)|0]>>>1|0);break c;case 3:d=v[a+32>>2];g=d+c|0;j=w[g|0];b=v[a+24>>2];k=w[d+(c-b|0)|0];m=w[b+f|0];h=(j+k|0)-m|0;b=h-m|0;d=b>>31;n=d^b+d;d=h-k|0;o=d>>31;b=h-j|0;h=b>>31;d=o^d+o;b=h^b+h;if(!(d>>>0>b>>>0|d>>>0>n>>>0)){t[g|0]=e+k;break c}if(b>>>0<=n>>>0){t[g|0]=e+j;break c}t[g|0]=e+m;break c;default:break d}}t[v[a+32>>2]+c|0]=e}c=c+1|0;if((c|0)>=v[a+28>>2]){break b}b=v[a+24>>2];continue}}e:{if(v[a+4>>2]!=2){break e}f:{g:{h:{c=v[a+16>>2];switch(c-8|0){case 8:break g;case 0:break h;default:break f}}c=v[a+24>>2];if((c|0)>=v[a+28>>2]){break e}while(1){d=v[a+32>>2];b=d+c|0;t[b|0]=w[d+(c-v[a+12>>2]|0)|0]+w[b|0];c=c+1|0;if((c|0)>2]){continue}break}break e}c=v[a+24>>2];if((c|0)>=v[a+28>>2]){break e}while(1){i=v[a+32>>2];d=i+c|0;l=c+1|0;b=v[a+12>>2]<<1;b=(w[l+i|0]|w[i+(c-b|0)|0]+w[d|0]<<8)+w[i+(l-b|0)|0]|0;t[d|0]=b>>>8;t[l+v[a+32>>2]|0]=b;c=c+2|0;if((c|0)>2]){continue}break}break e}h=0;b=f;f=v[a+12>>2];l=eb(b,0,f);b=v[a+8>>2];if((b|0)<1|(f|0)<1){break e}d=-1<>2];m=g;e=0;c=0;j=0;k=0;while(1){n=0;if((f|0)>=1){while(1){o=v[a+16>>2];if((o|0)>(c|0)){k=w[v[a+32>>2]+m|0]|k<<8;m=m+1|0;c=c+8|0}b=l+n|0;c=c-o|0;i=d&w[b|0]+(k>>>c|0);t[b|0]=i;j=i&255|j<=8){e=e-8|0;t[v[a+32>>2]+g|0]=j>>>e;f=v[a+12>>2];g=g+1|0}n=n+1|0;if((n|0)<(f|0)){continue}break}b=v[a+8>>2]}h=h+1|0;if((h|0)<(b|0)){continue}break}if((e|0)<1){break e}b=8-e|0;t[v[a+32>>2]+g|0]=((-1<>2]=v[a+24>>2];d=1}Ma=p+80|0;return d}function dBa(a,b){a=a|0;b=b|0;var 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,u=0,w=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;l=v[a+4>>2];f=v[l+56>>2];e=f?-1:0;m=v[a+12>>2];c=v[a+8>>2];d=m-c>>1;j=v[a+16>>2];g=v[a+20>>2]-j|0;h=(d|0)<(g|0)?d:g;d=v[l+24>>2];g=v[a+24>>2];a:{b:{c:{d:{if(!(!f|(h|0)<=0)){d=j;i=c;break d}n=(d|0)==837548?255:127;e:{if((h|0)<16){d=j;break e}i=h>>>4|0;f=i;d=j;f:{while(1){k=x[c>>1];t[d|0]=k;o=x[c+2>>1];t[d+1|0]=o;p=x[c+4>>1];t[d+2|0]=p;q=x[c+6>>1];t[d+3|0]=q;r=x[c+8>>1];t[d+4|0]=r;s=x[c+10>>1];t[d+5|0]=s;u=x[c+12>>1];t[d+6|0]=u;w=x[c+14>>1];t[d+7|0]=w;z=x[c+16>>1];t[d+8|0]=z;A=x[c+18>>1];t[d+9|0]=A;B=x[c+20>>1];t[d+10|0]=B;C=x[c+22>>1];t[d+11|0]=C;D=x[c+24>>1];t[d+12|0]=D;E=x[c+26>>1];t[d+13|0]=E;F=x[c+28>>1];t[d+14|0]=F;G=x[c+30>>1];t[d+15|0]=G;if((k|o|p|q|r|s|u|w|z|A|B|C|D|E|F|G)>>>0>n>>>0){break f}d=d+16|0;c=c+32|0;k=(f|0)>1;f=f-1|0;if(k){continue}break}f=0}f=i-f|0;i=f<<4;h=h-i|0;if(!g){g=0;break e}j=i+j|0;if((f|0)<1){break e}while(1){v[g>>2]=e;v[g+60>>2]=e+15;v[g+56>>2]=e+14;v[g+52>>2]=e+13;v[g+48>>2]=e+12;v[g+44>>2]=e+11;v[g+40>>2]=e+10;v[g+36>>2]=e+9;v[g+32>>2]=e+8;v[g+28>>2]=e+7;v[g+24>>2]=e+6;v[g+20>>2]=e+5;v[g+16>>2]=e+4;v[g+12>>2]=e+3;v[g+8>>2]=e+2;v[g+4>>2]=e+1;g=g- -64|0;e=e+16|0;i=(f|0)>1;f=f-1|0;if(i){continue}break}}if((h|0)<1){i=c;break a}while(1){g:{i=c+2|0;f=x[c>>1];if(n>>>0>>0){break g}t[d|0]=f;d=d+1|0;k=(h|0)>1;c=i;h=h-1|0;if(k){continue}}break}if(f>>>0<=n>>>0){break a}if((f&64512)!=55296){break c}}if(i>>>0>=m>>>0){break b}h=x[i>>1];c=(h&64512)==56320;f=c?(h+(f<<10)|0)-56613888|0:f;i=(c<<1)+i|0}v[b>>2]=(f&-2048)==55296?12:10}v[l+56>>2]=f}c=0;h:{if(!g){break h}h=d-j|0;if(!h){c=g;break h}j=(j^-1)+d|0;f=h&7;i:{if(!f){c=g;break i}c=g;while(1){v[c>>2]=e;h=h-1|0;c=c+4|0;e=e+1|0;f=f-1|0;if(f){continue}break}}if(j>>>0<7){break h}while(1){v[c>>2]=e;v[c+28>>2]=e+7;v[c+24>>2]=e+6;v[c+20>>2]=e+5;v[c+16>>2]=e+4;v[c+12>>2]=e+3;v[c+8>>2]=e+2;v[c+4>>2]=e+1;c=c+32|0;e=e+8|0;h=h-8|0;if(h){continue}break}}if(!(v[b>>2]>0|i>>>0>=m>>>0|y[a+20>>2]>d>>>0)){v[b>>2]=15}v[a+24>>2]=c;v[a+16>>2]=d;v[a+8>>2]=i}function H$(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;j=v[(c?16:12)+b>>2];f=v[(c?8:4)+b>>2];b=B(c,9804)+a|0;d=b+9840|0;a:{if((f|0)==v[d>>2]&(j|0)==v[b+9844>>2]){break a}v[d>>2]=f;v[b+9844>>2]=j;d=v[a+10064>>2];b:{if(!d){break b}b=0;while(1){if(!(w[(B(b,36)+a|0)+10100|0]&16)){b=b+1|0;if((d|0)!=(b|0)){continue}break b}break}b=xb(v[(B(b,36)+a|0)+10080>>2],f);d=v[v[a+36>>2]+12>>2];g=x[v[v[a+4>>2]+88>>2]+12>>1];d=b+(d?g>>>0>5?d>>>0>=g>>>0?52:40:40:40)&-64;if((b|0)==(d|0)|(c|0)!=1){break b}g=fc(f,d,b);d=v[a+40>>2];b=v[a+10064>>2];c:{if(!b){break c}l=b&1;d:{if((b|0)==1){b=0;break d}e=b&-2;i=a+10068|0;b=0;while(1){h=i+B(b,36)|0;k=v[h+24>>2];d=(d|0)>(k|0)?d:k;h=0-v[h+28>>2]|0;d=(d|0)>(h|0)?d:h;h=i+B(b|1,36)|0;k=v[h+24>>2];d=(d|0)>(k|0)?d:k;h=0-v[h+28>>2]|0;d=(d|0)>(h|0)?d:h;b=b+2|0;e=e-2|0;if(e){continue}break}}if(!l){break c}b=B(b,36)+a|0;e=v[b+10092>>2];d=(d|0)>(e|0)?d:e;b=0-v[b+10096>>2]|0;d=(b|0)<(d|0)?d:b}b=g-f|0;e=xb(d,b);b=xb(d,b);f=((e|0)<0?0-b|0:b)>>>0<128?g:f}b=B(c,9804)+a|0;v[b+48>>2]=j;v[b+44>>2]=f;e:{if(!c){v[a+8>>2]=f;b=a+16|0;break e}v[a+12>>2]=f;b=a+20|0}v[b>>2]=j;d=B(c,9804)+a|0;i=d;if(v[d+52>>2]){b=0;while(1){g=d+B(b,12)|0;e=xb(v[g+56>>2],f);v[g- -64>>2]=e;v[g+60>>2]=e;b=b+1|0;if(b>>>0>2]){continue}break}}m=d,n=(xb(v[d+252>>2],f)|0)<40,t[m+256|0]=n;if(!v[a+10064>>2]|(c|0)!=1){break a}d=0;while(1){b=B(d,36)+a|0;g=b+10076|0;c=b+10068|0;e=xb(v[c>>2],f)+j|0;v[g>>2]=e;i=b+10072|0;v[i>>2]=e;e=b+10088|0;l=b+10080|0;h=xb(v[l>>2],f)+j|0;v[e>>2]=h;v[b+10084>>2]=h;b=b+10100|0;v[b>>2]=v[b>>2]&-2;c=xb(v[c>>2]-v[l>>2]|0,f);if(c+48>>>0<=96){h=g;g=v[i>>2]+32&-64;v[h>>2]=g;i=e;e=c>>31;e=e+c^e;e=(e|0)<32?0:(e|0)<48?32:64;v[i>>2]=g+((c|0)<0?e:0-e|0);v[b>>2]=v[b>>2]|1}d=d+1|0;c=v[a+10064>>2];if(d>>>0>>0){continue}break}if(!c){break a}f=0;while(1){b=B(f,36)+a|0;j=b+10100|0;g=v[j>>2];f:{if((g&5)!=5){break f}e=b+10076|0;i=b+10088|0;b=0;while(1){d=B(b,36)+a|0;if(!((v[d+10100>>2]&5)!=1|v[d+10076>>2]>v[i>>2]|v[d+10088>>2]>2])){v[j>>2]=g&-2;break f}b=b+1|0;if((c|0)!=(b|0)){continue}break}}f=f+1|0;if((c|0)!=(f|0)){continue}break}}}function O3(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;i=Ma-16|0;Ma=i;if((e|0)>0){while(1){if((g&255)==255){Qa[v[v[d>>2]+12>>2]](d,i+15|0,1,1,0,0)|0;g=w[i+15|0]}a:{if(g<<24>>24<=-1){h=g-127|0;t[i+15|0]=h;g=255;if(((h&255)+o|0)>(e|0)){q=Qa[v[v[d>>2]+24>>2]](d)|0;g=e-o|0;t[i+15|0]=g;g=h+(g^-1)^-128}b:{c:{switch(w[c+16|0]-8|0){case 24:h=0;Qa[v[v[d>>2]+12>>2]](d,i+8|0,4,1,0,0)|0;if(!w[i+15|0]){break b}while(1){j=B(h,3)+b|0;m=x[i+8>>1];t[j|0]=m;t[j+1|0]=m>>>8;t[j+2|0]=w[i+10|0];ah(a,h+o|0,f,w[i+11|0]);h=h+1|0;if(h>>>0>2]+12>>2]](d,i+5|0,3,1,0,0)|0;j=w[i+15|0];if(!j){break b}m=j&3;h=0;if(j-1>>>0>=3){j=j&252;while(1){k=B(h,3)+b|0;l=w[i+5|0]|w[i+6|0]<<8;t[k|0]=l;t[k+1|0]=l>>>8;t[k+2|0]=w[i+7|0];k=B(h|1,3)+b|0;t[k+2|0]=w[i+7|0];l=w[i+5|0]|w[i+6|0]<<8;t[k|0]=l;t[k+1|0]=l>>>8;k=B(h|2,3)+b|0;t[k+2|0]=w[i+7|0];l=w[i+5|0]|w[i+6|0]<<8;t[k|0]=l;t[k+1|0]=l>>>8;k=B(h|3,3)+b|0;t[k+2|0]=w[i+7|0];l=w[i+5|0]|w[i+6|0]<<8;t[k|0]=l;t[k+1|0]=l>>>8;h=h+4|0;j=j-4|0;if(j){continue}break}}if(!m){break b}while(1){j=B(h,3)+b|0;k=w[i+5|0]|w[i+6|0]<<8;t[j|0]=k;t[j+1|0]=k>>>8;t[j+2|0]=w[i+7|0];h=h+1|0;m=m-1|0;if(m){continue}break};break b;case 7:case 8:Qa[v[v[d>>2]+12>>2]](d,i+2|0,2,1,0,0)|0;l=w[i+15|0];if(!l){break b}h=x[i+2>>1];j=h<<3;m=h>>>7&248;k=h>>>2&248;p=l&3;h=0;if(l-1>>>0>=3){l=l&252;while(1){n=B(h,3)+b|0;t[n+2|0]=m;t[n+1|0]=k;t[n|0]=j;n=B(h|1,3)+b|0;t[n+2|0]=m;t[n+1|0]=k;t[n|0]=j;n=B(h|2,3)+b|0;t[n+2|0]=m;t[n+1|0]=k;t[n|0]=j;n=B(h|3,3)+b|0;t[n+2|0]=m;t[n+1|0]=k;t[n|0]=j;h=h+4|0;l=l-4|0;if(l){continue}break}}if(!p){break b}while(1){l=B(h,3)+b|0;t[l+2|0]=m;t[l+1|0]=k;t[l|0]=j;h=h+1|0;p=p-1|0;if(p){continue}break};break b;case 0:break c;default:break b}}Qa[v[v[d>>2]+12>>2]](d,i+1|0,1,1,0,0)|0;h=w[i+15|0];if(!h){break b}eb(b,w[i+1|0],h)}if((g&255)==255){g=255;break a}Qa[v[v[d>>2]+20>>2]](d,q,0)|0;break a}j=g+1|0;h=((j&255)+o|0)>(e|0);m=e-o|0;j=h?m:j;t[i+15|0]=j;dL(a,b,c,d,j&255,f,o);g=h?g-m|0:-1}h=w[i+15|0];b=(x[a+26>>1]==24?B(h,3):h)+b|0;o=h+o|0;if((o|0)<(e|0)){continue}break}}Ma=i+16|0;return g&255}function qAa(a,b){a=a|0;b=b|0;var 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;m=v[a+4>>2];f=v[m+44>>2];g=f>>>16|0;d=v[a+24>>2];q=v[a+20>>2];e=v[a+16>>2];p=v[a+12>>2];k=v[a+8>>2];h=w[m+36|0];l=h?-1:0;i=l;c=!(f&16777216);while(1){a:{b:{c:{if(!c){h=0;d:{i=q-e>>1;c=p-k|0;j=(c|0)>(i|0)?i:c;e:{if((j|0)<1){break e}c=k;while(1){k=c+1|0;c=w[c|0];if((c-32&255)>>>0>=95){t[m+37|0]=c;v[b>>2]=12;h=1;break e}if((c|0)==38){break d}u[e>>1]=c;if(d){v[d>>2]=l;l=l+1|0;d=d+4|0}else{d=0}e=e+2|0;i=(j|0)>1;c=k;j=j-1|0;if(i){continue}break}}l=16777216;if(k>>>0>=p>>>0){c=f;break b}r=15;c=f;if(e>>>0>=q>>>0){break c}break b}g=255;f=0;i=l+1|0;s=i;c=1;continue}f:{if(k>>>0>=p>>>0){c=f;break f}l=s;c=f;while(1){f=l;g:{h:{if(e>>>0>>0){n=w[k|0];t[((h&255)+m|0)+37|0]=n;h=h+1|0;k=k+1|0;r=12;if(n>>>0>126){break c}l=f+1|0;j=63;i:{j:{k:{switch(n-44|0){default:j=t[n+842992|0];if((j|0)<0){break j}break;case 3:break i;case 0:break k}}l:{switch((g<<24>>24)+1|0){case 2:case 4:case 5:case 7:g=g+1|0;c=(c&65535)<<6|j;break g;case 3:o=(c&65535)<<4|j>>2;if((o&65535)-32>>>0<95){break c}u[e>>1]=o;if(d){v[d>>2]=i;i=f;d=d+4|0}else{d=0}e=e+2|0;t[m+37|0]=n;g=3;c=j&3;h=1;break g;case 6:o=(c&65535)<<2|j>>4;if((o&65535)-32>>>0<95){break c}u[e>>1]=o;if(d){v[d>>2]=i;i=f;d=d+4|0}else{d=0}e=e+2|0;t[m+37|0]=n;c=j&15;g=6;h=1;break g;case 0:case 1:break h;case 8:break l;default:break g}}f=(c&65535)<<6|j;if((f&65535)-32>>>0<95){break c}u[e>>1]=f;e=e+2|0;if(!d){h=0;d=0;c=0;g=0;break g}v[d>>2]=i;d=d+4|0;h=0;c=0;g=0;i=l;break g}if((n|0)!=45){break i}if((g&255)==255){u[e>>1]=38;e=e+2|0;if(d){v[d>>2]=i-1;d=d+4|0}else{d=0}f=c;g=255;break a}if(c&65535){break c}o=g&255;if(o>>>0>6){break c}f=0;if(1<>2]=15;break f}c=j&255;g=1}if((k|0)!=(p|0)){continue}break}k=p}l=0;if(h&255|v[b>>2]>0){break b}h=0;if(!w[a+2|0]|k>>>0

>>0){break b}r=11;if((g&255)!=255){break c}t[m+37|0]=38;h=1}v[b>>2]=r;l=16777216}t[m+36|0]=h;v[m+44>>2]=c&65535|((g&255)<<16|l);v[a+24>>2]=d;v[a+16>>2]=e;v[a+8>>2]=k;return}c=0;continue}}function qsa(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;a=eb(a,0,256);d=v[b>>2]+c|0;e=w[d+2|0];f=w[d|0];g=e+f|0;d=w[d+1|0];v[a>>2]=(g+d<<3)-3072;v[a+4>>2]=B(f-e|0,10033)+512>>10;v[a+8>>2]=B(g-(d<<1)|0,5793)+512>>10;d=v[b+4>>2]+c|0;e=w[d+2|0];f=w[d|0];g=e+f|0;d=w[d+1|0];v[a+32>>2]=(g+d<<3)-3072;v[a+36>>2]=B(f-e|0,10033)+512>>10;v[a+40>>2]=B(g-(d<<1)|0,5793)+512>>10;d=v[b+8>>2]+c|0;e=w[d+2|0];f=w[d|0];g=e+f|0;d=w[d+1|0];v[a+64>>2]=(g+d<<3)-3072;v[a+68>>2]=B(f-e|0,10033)+512>>10;v[a+72>>2]=B(g-(d<<1)|0,5793)+512>>10;d=v[b+12>>2]+c|0;e=w[d+2|0];f=w[d|0];g=e+f|0;h=w[d+1|0];d=(g+h<<3)-3072|0;v[a+96>>2]=d;v[a+100>>2]=B(f-e|0,10033)+512>>10;v[a+104>>2]=B(g-(h<<1)|0,5793)+512>>10;e=v[b+16>>2]+c|0;f=w[e+2|0];g=w[e|0];h=f+g|0;i=w[e+1|0];e=(h+i<<3)-3072|0;v[a+128>>2]=e;f=B(g-f|0,10033)+512>>10;v[a+132>>2]=f;v[a+136>>2]=B(h-(i<<1)|0,5793)+512>>10;b=v[b+20>>2]+c|0;g=w[b+2|0];h=w[b|0];c=g+h|0;b=w[b+1|0];v[a+168>>2]=B(c-(b<<1)|0,5793)+512>>10;c=(b+c<<3)-3072|0;i=v[a>>2];b=c+i|0;k=v[a+64>>2];j=d+k|0;v[a+64>>2]=B(b-j|0,17837)+16384>>15;b=b+j|0;j=v[a+32>>2];l=j+e|0;v[a+128>>2]=B(b-(l<<1)|0,10298)+16384>>15;v[a>>2]=B(b+l|0,14564)+16384>>15;b=k-d|0;c=i-c|0;d=B(b+c|0,5331)+16384|0;e=j-e|0;v[a+160>>2]=d+B(b-e|0,14564)>>15;v[a+96>>2]=B(c-(b+e|0)|0,14564)+16384>>15;v[a+32>>2]=d+B(c+e|0,14564)>>15;c=B(h-g|0,10033)+512>>10;d=v[a+4>>2];b=c+d|0;e=v[a+100>>2];g=v[a+68>>2];h=e+g|0;v[a+68>>2]=B(b-h|0,17837)+16384>>15;b=b+h|0;h=v[a+36>>2];i=h+f|0;v[a+132>>2]=B(b-(i<<1)|0,10298)+16384>>15;v[a+4>>2]=B(b+i|0,14564)+16384>>15;b=g-e|0;c=d-c|0;d=B(b+c|0,5331)+16384|0;e=h-f|0;v[a+36>>2]=d+B(e+c|0,14564)>>15;v[a+164>>2]=d+B(b-e|0,14564)>>15;v[a+100>>2]=B(c-(b+e|0)|0,14564)+16384>>15;b=v[a+136>>2];c=v[a+40>>2];e=v[a+168>>2];f=v[a+8>>2];d=e+f|0;g=v[a+104>>2];h=v[a+72>>2];i=g+h|0;v[a+72>>2]=B(d-i|0,17837)+16384>>15;d=d+i|0;i=b+c|0;v[a+136>>2]=B(d-(i<<1)|0,10298)+16384>>15;v[a+8>>2]=B(d+i|0,14564)+16384>>15;d=h-g|0;e=f-e|0;f=B(d+e|0,5331)+16384|0;b=c-b|0;v[a+168>>2]=f+B(d-b|0,14564)>>15;v[a+104>>2]=B(e-(b+d|0)|0,14564)+16384>>15;v[a+40>>2]=f+B(b+e|0,14564)>>15}function jZ(a,b,c){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,p=0,q=0,r=0,s=0,y=0,z=0,A=0;n=Ma+-64|0;Ma=n;a:{b:{c:{d:{d=x[v[290928]>>1];if(!d){g=v[290934];e=g>>>1|0;k=v[290924];break d}if(zb(a)>>>0>=60){v[c>>2]=15;break b}f=w[a|0];e:{if(f){i=n;while(1){g=k;f:{g:{while(1){h:{a=a+1|0;i:{j:{k:{if(f<<24>>24<0){break k}k=1;e=w[(f&255)+836320|0];switch(e|0){case 2:break g;case 1:break j;case 0:break k;default:break h}}e=w[a|0];break i}if(g&255){break g}k=0;g=w[a|0];e=g<<24>>24;if((e|0)<0|(w[g+836320|0]-1&255)>>>0>1){break g}}g=0;f=e;if(e&255){continue}break f}break}k=0;f=e}t[i|0]=f;i=i+1|0;f=w[a|0];if(f){continue}}break}t[i|0]=0;k=v[290924];g=v[290934];e=g>>>1|0;a=e;if(d){break e}a=n;break d}t[n|0]=0;k=v[290924];g=v[290934];a=g>>>1|0}e=a;d=v[290930];i=0;while(1){f=e;a=hb(n,d+(x[(e<<1)+k>>1]<<1)|0);if((a|0)>=0){i=e;f=g;if(!a){break c}}g=f;a=e;e=f+i>>>1|0;if((a|0)!=(e|0)){continue}break}break b}A=v[290929];i=0;while(1){f=e;d=a;s=(x[(e<<1)+k>>1]<<1)+A|0;l=0;r=0;y=0;while(1){o=d+1|0;p=0;h=w[d|0];l:{if(!h){break l}while(1){m:{n:{o:{d=h;if(d<<24>>24<0){break o}m=1;y=0;p:{p=w[(d&255)+836320|0];switch(p|0){case 2:break m;case 0:break o;case 1:break p;default:break l}}if(l&255){break m}m=0;j=w[o|0];h=j<<24>>24;if((h|0)<0){break m}if((w[j+836320|0]-1&255)>>>0<=1){break n}break m}h=w[o|0]}o=o+1|0;l=0;d=0;m=0;if(h&255){continue}}break}p=d;y=m}h=s+1|0;z=0;q=0;j=r;d=w[s|0];q:{if(!d){break q}while(1){r:{m=d;s:{t:{if(d<<24>>24<0){break t}l=1;j=0;u:{q=w[(m&255)+836320|0];switch(q|0){case 2:break r;case 0:break t;case 1:break u;default:break q}}if(r&255){break r}l=0;j=w[h|0];d=j<<24>>24;if((d|0)<0){break r}if((w[j+836320|0]-1&255)>>>0<=1){break s}break r}d=w[h|0]}h=h+1|0;r=0;m=0;l=0;if(d&255){continue}}break}q=m;j=l}if((p|q)&255){d=o;s=h;l=y;r=j;z=(p&255)-(q&255)|0;if(!z){continue}}break}d=z;if((d|0)>=0){i=e;f=g;if(!d){break c}}g=f;d=e;e=f+i>>>1|0;if((d|0)!=(e|0)){continue}break}break b}a=u[v[290925]+(e<<1)>>1];if((a|0)<=-1){v[c>>2]=-122}if(b){t[b|0]=!w[v[290928]+2|0]|(a&16384)>>>14;a=x[v[290925]+(e<<1)>>1]}a=a&4095;break a}a=-1}Ma=n- -64|0;return a}function NI(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,p=0;l=Ma-16|0;Ma=l;n=v[a+88>>2];v[c>>2]=0;a:{b:{if(w[a+848|0]){g=v[a+844>>2];f=v[a+828>>2];break b}p=v[a+104>>2];v[a+844>>2]=0;v[a+848>>2]=0;v[a+836>>2]=0;v[a+840>>2]=0;v[a+828>>2]=0;v[a+832>>2]=0;c:{d:{if(PZ(a,1111770656,p,l+12|0)){break d}d=v[l+12>>2];if(d>>>0<8){break d}i=a+828|0;if(Zh(p,d,i)){break d}f=v[a+828>>2];h=v[l+12>>2];v[a+832>>2]=f+h;e:{if((w[f+1|0]|w[f|0]<<8)!=1){break e}d=w[f+4|0]|w[f+5|0]<<8|(w[f+6|0]<<16|w[f+7|0]<<24);e=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(e>>>0<8){break e}d=w[f+3|0];g=d|w[f+2|0]<<8;if(h>>>0>>0|g>>>0>e-8>>>2>>>0){break e}v[a+840>>2]=h-e;k=e+f|0;v[a+836>>2]=k;v[a+844>>2]=g;e=f+8|0;m=e+(g<<2)|0;f:{if(!g){break f}o=g-1|0;j=d&3;g:{if(!j){d=g;break g}d=g;h=e;while(1){d=d-1|0;m=B(w[h+3|0]|w[h+2|0]<<8,10)+m|0;e=h+4|0;h=e;j=j-1|0;if(j){continue}break}}if(o>>>0<3){break f}while(1){m=(((B(w[e+3|0]|w[e+2|0]<<8,10)+m|0)+B(w[e+7|0]|w[e+6|0]<<8,10)|0)+B(w[e+11|0]|w[e+10|0]<<8,10)|0)+B(w[e+15|0]|w[e+14|0]<<8,10)|0;e=e+16|0;d=d-4|0;if(d){continue}break}}if(k>>>0>=m>>>0){break c}}Oe(p,i);v[i+16>>2]=0;v[i+20>>2]=0;v[i+8>>2]=0;v[i+12>>2]=0;v[i>>2]=0;v[i+4>>2]=0}h=8;break a}t[a+848|0]=1}h=6;if(!n|!b){break a}o=zb(b);if(!o|!g){break a}e=f+8|0;f=e+(g<<2)|0;d=x[n+14>>1];while(1){j=w[e+3|0]|w[e+2|0]<<8;if((d|0)==(w[e+1|0]|w[e|0]<<8)){if(!j){break a}while(1){h:{i=w[f+5|0];if(!(i&16)){break h}e=v[a+840>>2];d=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(e>>>0<=d>>>0){break h}g=e-d|0;if(g>>>0<=o>>>0){break h}k=w[f+6|0]|w[f+7|0]<<8|(w[f+8|0]<<16|w[f+9|0]<<24);n=d;d=v[a+836>>2];if(Kb(b,n+d|0,g)){break h}g=k<<8&16711680|k<<24|(k>>>8&65280|k>>>24);i:{switch(i&15){case 0:case 1:if(e>>>0<=g>>>0){break h}d=d+g|0;if(!ag(d,0,e)){break h}v[c+4>>2]=d;v[c>>2]=1;h=0;break a;case 2:v[c+4>>2]=g;v[c>>2]=2;h=0;break a;case 3:break i;default:break h}}v[c+4>>2]=g;v[c>>2]=3;h=0;break a}f=f+10|0;j=j-1|0;if(j){continue}break}break a}e=e+4|0;f=B(j,10)+f|0;g=g-1|0;if(g){continue}break}}Ma=l+16|0;return h|0}function hza(a,b){a=a|0;b=b|0;var 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;f=Ma-32|0;Ma=f;i=v[a+16>>2];m=v[v[a+4>>2]+8>>2];g=v[a+12>>2];d=v[a+8>>2];j=f;f=x[a>>1];f=f>>>0<28?f:28;h=cb(j,a,f);u[h>>1]=f;j=v[m+80>>2];a:{if(d>>>0>=g>>>0){break a}while(1){b:{if(y[a+20>>2]>i>>>0){n=v[a+4>>2];o=t[n+36|0];if(w[((o|0)>0?n+37|0:d)|0]!=27){break b}f=0;c:{while(1){k=B(f,5);l=k+855520|0;c=w[l|0];e=0;d:{while(1){p=c&255;e:{if((e|0)<(o|0)){if(w[(e+n|0)+37|0]!=(p|0)){break d}break e}c=(e-o|0)+d|0;if(c>>>0>=g>>>0){v[b>>2]=11;break d}if(t[c|0]!=(p|0)){break d}}e=e+1|0;c=w[(k+e|0)+855520|0];if(c){continue}break}if(v[b>>2]==11){break c}c=zb(l);e=v[a+4>>2];j=t[e+36|0];t[e+36|0]=0;d=(c-j|0)+d|0;j=f;break b}f=f+1|0;if((f|0)!=20){continue}break}if(v[b>>2]==11){break c}g=w[v[a+4>>2]+36|0];v[b>>2]=12;d=!g+d|0;break a}if(d>>>0>>0){e=g+(d^-1)|0;c=g-d&3;if(c){while(1){f=w[d|0];k=v[a+4>>2];l=t[k+36|0];t[k+36|0]=l+1;t[(k+l|0)+37|0]=f;d=d+1|0;c=c-1|0;if(c){continue}break}}if(e>>>0>=3){while(1){f=w[d|0];c=v[a+4>>2];e=t[c+36|0];t[c+36|0]=e+1;t[(e+c|0)+37|0]=f;f=w[d+1|0];c=v[a+4>>2];e=t[c+36|0];t[c+36|0]=e+1;t[(e+c|0)+37|0]=f;f=w[d+2|0];c=v[a+4>>2];e=t[c+36|0];t[c+36|0]=e+1;t[(e+c|0)+37|0]=f;f=w[d+3|0];c=v[a+4>>2];e=t[c+36|0];t[c+36|0]=e+1;t[(e+c|0)+37|0]=f;d=d+4|0;if((g|0)!=(d|0)){continue}break}}d=g}v[b>>2]=0;break a}v[b>>2]=15;break a}f:{g:{if(!j){if(d>>>0>=g>>>0){break f}while(1){f=w[d|0];if((f|0)==27){break f}if(y[a+20>>2]<=i>>>0){break g}u[i>>1]=f;i=i+2|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}d=g;break f}if(d>>>0>=g>>>0){break f}e=1;c=g-d|0;h:{if((c|0)<2){break h}while(1){if(w[d+e|0]==27){c=e;break h}e=e+1|0;if((e|0)!=(c|0)){continue}break}}v[h+16>>2]=i;v[h+8>>2]=d;v[h+12>>2]=d+c;f=v[h+4>>2];d=v[f+24>>2];v[f+24>>2]=v[(j<<2)+m>>2];xI(h,b);e=v[h+4>>2];v[e+24>>2]=d;i=v[h+16>>2];d=v[h+8>>2];f=v[b>>2];if((f|0)<1){break f}if((f|0)!=15){break a}b=w[e+65|0];c=b<<24>>24;if((c|0)>=1){cb(v[a+4>>2]+116|0,e+116|0,b);c=w[e+65|0]}t[v[a+4>>2]+65|0]=c;t[e+65|0]=0;break a}v[b>>2]=15}if(d>>>0>>0){continue}break}}v[m+80>>2]=j;v[a+8>>2]=d;v[a+16>>2]=i;Ma=h+32|0}function k0(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,p=0,q=0;d=Ma-48|0;Ma=d;a:{b:{if(!a){break b}if(!b){f=6;break a}if(u[a>>1]<1){break a}h=v[b+20>>2];i=v[b+16>>2];while(1){m=u[v[a+12>>2]+(n<<1)>>1];if((m|0)<0){break b}k=v[a+4>>2];e=k+(g<<3)|0;f=v[e+4>>2];o=(v[e>>2]<>2]=o;f=(f<>2]=f;l=k+(m<<3)|0;k=v[l>>2];q=v[l+4>>2];j=v[d+36>>2];v[d+40>>2]=v[d+32>>2];v[d+44>>2]=j;p=v[a+8>>2];j=p+g|0;g=w[j|0]&3;c:{if((g|0)==3){break c}d:{switch(g-1|0){case 1:break b;case 0:break c;default:break d}}g=(q<>2]=g;v[d+32>>2]=k;l=l-8|0;break e}v[d+36>>2]=(g+f|0)/2;v[d+32>>2]=(k+o|0)/2}j=j-1|0;e=e-8|0}f=Qa[v[b>>2]](d+32|0,c)|0;if(f){break a}f:{if(e>>>0>>0){while(1){k=j+1|0;g=e+8|0;g:{h:{i:{switch(w[j+1|0]&3){case 1:v[d+24>>2]=(v[e+8>>2]<>2]=(v[e+12>>2]<>2]](d+24|0,c)|0;if(f){break a}break g;case 0:v[d+40>>2]=(v[e+8>>2]<>2]=(v[e+12>>2]<>>0>>0){while(1){e=w[k+1|0];j=(v[g+8>>2]<>2]=j;f=(v[g+12>>2]<>2]=f;k=k+1|0;g=g+8|0;j:{e=e&3;k:{if(e){if((e|0)!=1){g=7;f=0;break h}f=Qa[v[b+8>>2]](d+40|0,d+24|0,c)|0;if(f){break k}e=g;j=k;break g}v[d+16>>2]=(j+v[d+40>>2]|0)/2;v[d+20>>2]=(f+v[d+44>>2]|0)/2;f=Qa[v[b+8>>2]](d+40|0,d+16|0,c)|0;if(!f){break j}}g=10;break h}e=v[d+28>>2];v[d+40>>2]=v[d+24>>2];v[d+44>>2]=e;if(g>>>0>>0){continue}break}}f=Qa[v[b+8>>2]](d+40|0,d+32|0,c)|0;break f;default:break i}}g=7;f=0;if((w[j+2|0]&3)!=2|e+16>>>0>l>>>0){break h}v[d+24>>2]=(v[e+8>>2]<>2]=(v[e+12>>2]<>2]=(v[e+16>>2]<>2]=(v[e+20>>2]<>>0<=l>>>0){v[d+8>>2]=(v[e+24>>2]<>2]=(v[e+28>>2]<>2]](d+24|0,d+16|0,d+8|0,c)|0;if(f){g=10;break h}j=j+3|0;e=g;break g}f=Qa[v[b+12>>2]](d+24|0,d+16|0,d+32|0,c)|0;break f}if((g|0)!=7){break a}break b}if(e>>>0>>0){continue}break}}f=Qa[v[b+4>>2]](d+32|0,c)|0}if(f){break a}g=m+1|0;f=0;n=n+1|0;if((n|0)>1]){continue}break}break a}f=20}Ma=d+48|0;return f|0}function J0(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=a+72|0;j=a+92|0;d=v[a+124>>2];h=2;a:{b:{c:{while(1){d:{e:{f:{g:{h:{i:{j:{k:{switch(d|0){case 1:d=v[a+72>>2];break j;case 10:break a;case 2:break i;case 0:break k;case 9:break b;case 8:break c;case 7:break d;case 6:break e;case 5:break f;case 4:break g;case 3:break h;default:continue}}vw(k,v[a+120>>2]!=0);pB(k,A[a+112>>3],v[a+120>>2]);d=v[a+72>>2];if(d>>>0<=2){v[a+120>>2]=0}v[a+132>>2]=0;v[a+136>>2]=0;v[a+124>>2]=1}h=d;d=v[a+120>>2];if(h>>>0<(d?3:2)>>>0){break a}v[a+132>>2]=0;v[a+136>>2]=0;d=d?4:2;v[a+124>>2]=d;h=1;continue}d=v[v[a+84>>2]>>2];I0(a,j,d,d+24|0,A[d+16>>3]);v[a+132>>2]=1;v[a+136>>2]=0;v[a+124>>2]=7;v[a+128>>2]=4;d=7;continue}e=v[a+72>>2];d=e-1|0;f=v[a+84>>2];e=e-2|0;e=v[f+(e>>>4&268435452)>>2]+B(e&63,24)|0;I0(a,j,v[f+(d>>>4&268435452)>>2]+B(d&63,24)|0,e,A[e+16>>3]);v[a+136>>2]=0;v[a+124>>2]=7;v[a+128>>2]=6;d=7;continue}e=v[a+72>>2];d=v[a+132>>2];l:{if(v[a+120>>2]){if(d>>>0>>0){break l}v[a+124>>2]=8;v[a+128>>2]=5;d=8;continue}if(d>>>0>>0){break l}d=3;v[a+124>>2]=3;continue}f=v[a+84>>2];g=((d+e|0)-1>>>0)%(e>>>0)|0;g=v[f+(g>>>4&268435452)>>2]+B(g&63,24)|0;i=v[f+(d>>>4&268435452)>>2]+B(d&63,24)|0;d=(d+1>>>0)%(e>>>0)|0;H0(a,j,g,i,v[f+(d>>>4&268435452)>>2]+B(d&63,24)|0,A[g+16>>3],A[i+16>>3]);v[a+136>>2]=0;e=v[a+124>>2];d=7;v[a+124>>2]=7;v[a+128>>2]=e;v[a+132>>2]=v[a+132>>2]+1;continue}v[a+124>>2]=6;h=1}d=v[a+132>>2];if(d>>>0<=!v[a+120>>2]>>>0){v[a+124>>2]=9;v[a+128>>2]=10;d=9;continue}e=d-1|0;v[a+132>>2]=e;f=v[a+84>>2];e=v[f+(e>>>4&268435452)>>2]+B(e&63,24)|0;g=v[a+72>>2];i=(d>>>0)%(g>>>0)|0;d=((d+g|0)-2>>>0)%(g>>>0)|0;d=v[f+(d>>>4&268435452)>>2]+B(d&63,24)|0;H0(a,j,v[f+(i>>>4&268435452)>>2]+B(i&63,24)|0,e,d,A[e+16>>3],A[d+16>>3]);v[a+136>>2]=0;v[a+128>>2]=v[a+124>>2];d=7;v[a+124>>2]=7;continue}d=v[a+136>>2];if(d>>>0>=y[a+92>>2]){d=v[a+128>>2];v[a+124>>2]=d;continue}break}v[a+136>>2]=d+1;a=v[v[a+104>>2]+(d>>>4&268435452)>>2]+((d&63)<<4)|0;A[b>>3]=A[a>>3];A[c>>3]=A[a+8>>3];return h}v[a+124>>2]=v[a+128>>2];return 95}v[a+124>>2]=v[a+128>>2];l=111}return l}function iN(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;j=Ma-128|0;Ma=j;a:{b:{c:{if(!Ep(f,g,h,i,0,0,0,0)){break c}l=h;m=i&65535;o=i>>>16&32767;d:{e:{if((o|0)!=32767){n=4;if(o){break e}n=f|l|(g|m)?3:2;break d}n=!(f|l|(g|m))}}if(!n){break c}r=e>>>16|0;p=r&32767;if((p|0)!=32767){break b}}Le(j+16|0,b,c,d,e,f,g,h,i);e=v[j+16>>2];d=v[j+20>>2];c=v[j+24>>2];b=v[j+28>>2];qP(j,e,d,c,b,e,d,c,b);d=v[j+8>>2];e=v[j+12>>2];h=v[j>>2];i=v[j+4>>2];break a}l=p<<16;n=d;q=l|e&65535;m=q;o=h;q=i>>>16&32767;k=i&65535|q<<16;if((Ep(b,c,n,m,f,g,h,k)|0)<=0){if(Ep(b,c,n,m,f,g,o,k)){h=b;i=c;break a}Le(j+112|0,b,c,d,e,0,0,0,0);d=v[j+120>>2];e=v[j+124>>2];h=v[j+112>>2];i=v[j+116>>2];break a}if(p){i=c;h=b}else{Le(j+96|0,b,c,n,m,0,0,0,1081540608);h=v[j+108>>2];m=h;n=v[j+104>>2];p=(h>>>16|0)-120|0;i=v[j+100>>2];h=v[j+96>>2]}if(!q){Le(j+80|0,f,g,o,k,0,0,0,1081540608);f=v[j+92>>2];k=f;o=v[j+88>>2];q=(k>>>16|0)-120|0;g=v[j+84>>2];f=v[j+80>>2]}s=k&65535|65536;m=m&65535|65536;if((p|0)>(q|0)){while(1){k=n;l=o;t=k-l|0;l=m-((k>>>0>>0)+s|0)|0;k=(g|0)==(i|0)&f>>>0>h>>>0|g>>>0>i>>>0;l=l-(k>>>0>t>>>0)|0;k=t-k|0;f:{if((l|0)>0|(l|0)>=0){m=h;h=h-f|0;i=i-((f>>>0>m>>>0)+g|0)|0;if(!(h|k|(i|l))){Le(j+32|0,b,c,d,e,0,0,0,0);d=v[j+40>>2];e=v[j+44>>2];h=v[j+32>>2];i=v[j+36>>2];break a}l=l<<1|k>>>31;n=k<<1|i>>>31;break f}l=m<<1|n>>>31;n=n<<1|i>>>31}m=l;l=i<<1|h>>>31;h=h<<1;i=l;p=p-1|0;if((q|0)<(p|0)){continue}break}p=q}l=n;q=l-o|0;k=m-((l>>>0>>0)+s|0)|0;l=(g|0)==(i|0)&f>>>0>h>>>0|g>>>0>i>>>0;k=k-(l>>>0>q>>>0)|0;o=q-l|0;g:{if((k|0)<0){o=n;k=m;break g}n=h;h=h-f|0;i=i-((f>>>0>n>>>0)+g|0)|0;if(h|o|(i|k)){break g}Le(j+48|0,b,c,d,e,0,0,0,0);d=v[j+56>>2];e=v[j+60>>2];h=v[j+48>>2];i=v[j+52>>2];break a}if((k|0)==65535|k>>>0<65535){while(1){b=i>>>31|0;p=p-1|0;m=i<<1|h>>>31;h=h<<1;i=m;c=b;b=o;k=k<<1|b>>>31;o=c|b<<1;if(k>>>0<65536){continue}break}}b=r&32768;if((p|0)<=0){Le(j- -64|0,h,i,o,k&65535|(b|p+120)<<16,0,0,0,1065811968);d=v[j+72>>2];e=v[j+76>>2];h=v[j+64>>2];i=v[j+68>>2];break a}d=o;e=k&65535|(b|p)<<16}v[a>>2]=h;v[a+4>>2]=i;v[a+8>>2]=d;v[a+12>>2]=e;Ma=j+128|0}function VOa(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,n=0,o=0;f=Ma-48|0;Ma=f;a:{if(t[b+11|0]>=0){v[f+40>>2]=v[b+8>>2];h=v[b+4>>2];v[f+32>>2]=v[b>>2];v[f+36>>2]=h;break a}vc(f+32|0,v[b>>2],v[b+4>>2])}t[f+11|0]=1;rb(f,354400,1);v[f+4>>2]=0;t[f+27|0]=1;rb(f+16|0,354408,1);v[f+20>>2]=0;j=t[f+27|0];b=t[f+11|0];i=(b|0)<0;k=i?v[f+4>>2]:b&255;b:{if(k){b=w[f+43|0];g=b<<24>>24;b=(g|0)<0?v[f+36>>2]:b;if((k|0)>(b|0)){break b}h=(g|0)<0?v[f+32>>2]:f+32|0;l=h+(b<<2)|0;i=i?v[f>>2]:f;o=v[i>>2];g=h;while(1){m=b-k|0;b=m+1|0;if(b>>>0>>0){break b}b=xe(g,o,b);if(!b){break b}if(lc(b,i,k)){g=b+4|0;b=l-g>>2;if((k|0)<=(b|0)){continue}break b}break}if((b|0)==(l|0)){break b}b=b-h|0;if((b|0)==-4){break b}g=b>>2}o=((j|0)>0?j:0)&255;while(1){b=w[f+27|0];h=b<<24>>24<0;tr(f+32|0,g,k,h?v[f+16>>2]:f+16|0,h?v[f+20>>2]:b);h=w[f+43|0];b=h<<24>>24<0;g=g+o|0;i=b?v[f+36>>2]:h;if(g>>>0>i>>>0){break b}h=w[f+11|0];j=h<<24>>24<0;h=j?v[f+4>>2]:h;if(h){n=i<<2;i=b?v[f+32>>2]:f+32|0;l=n+i|0;b=i+(g<<2)|0;g=l-b>>2;if((h|0)>(g|0)){break b}j=j?v[f>>2]:f;m=v[j>>2];while(1){g=g-h|0;n=g+1|0;if(n>>>0>>0){break b}b=xe(b,m,n);if(!b){break b}if(lc(b,j,h)){b=b+4|0;g=l-b>>2;if((h|0)<=(g|0)){continue}break b}break}if((b|0)==(l|0)){break b}g=b-i>>2}if((g|0)!=-1){continue}break}}if(t[f+27|0]<=-1){$a(v[f+16>>2])}if(t[f+11|0]<=-1){$a(v[f>>2])}g=a+8|0;h=Xo(g,f+32|0);k=a+12|0;c:{if((h|0)!=(k|0)){break c}j=ab(20);b=j;v[b+4>>2]=1;v[b>>2]=353400;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=360620;t[b+16|0]=0;Qa[v[v[b>>2]+20>>2]](b,c,d,e)|0;d:{if(t[f+43|0]>=0){v[f+8>>2]=v[f+40>>2];c=v[f+36>>2];v[f>>2]=v[f+32>>2];v[f+4>>2]=c;break d}vc(f,v[f+32>>2],v[f+36>>2])}v[f+12>>2]=b;c=ug(g,f+16|0,f);if(!v[c>>2]){b=ab(32);v[b+24>>2]=v[f+8>>2];d=v[f+4>>2];v[b+16>>2]=v[f>>2];v[b+20>>2]=d;v[f+8>>2]=0;v[f>>2]=0;v[f+4>>2]=0;v[b+28>>2]=v[f+12>>2];v[b+8>>2]=v[f+16>>2];v[b>>2]=0;v[b+4>>2]=0;v[c>>2]=b;d=v[v[g>>2]>>2];if(d){v[g>>2]=d;b=v[c>>2]}Ob(v[a+12>>2],b);v[a+16>>2]=v[a+16>>2]+1}if(t[f+11|0]>-1){break c}$a(v[f>>2])}if(t[f+43|0]<=-1){$a(v[f+32>>2])}Ma=f+48|0;return(h|0)==(k|0)|0}function tR(a,b){var c=0,d=0,e=0;d=Ma-48|0;Ma=d;v[d+40>>2]=0;v[d+44>>2]=v[279250];Ve(d+32|0,b);a:{b:{e=v[d+32>>2];if(Ad(e,d+40|0,0)){b=a+8|0;while(1){c:{if(!Hb(d+40|0,306560,-1)){if(v[b>>2]){break b}a=ab(64);v[a+8>>2]=0;v[a>>2]=973064;v[a+4>>2]=0;c=v[279250];v[a+20>>2]=0;v[a+24>>2]=0;v[a+16>>2]=1;v[a+12>>2]=c;v[a+28>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;v[a+40>>2]=0;v[a+44>>2]=0;v[a+48>>2]=0;v[a+52>>2]=0;v[a+56>>2]=0;v[a+44>>2]=973096;v[a+48>>2]=0;v[a+52>>2]=0;v[a+56>>2]=0;v[a+60>>2]=0;v[d+8>>2]=0;c=d+8|0;qb(c,a);jb(b,c);a=v[d+8>>2];v[d+8>>2]=0;d:{if(!a){break d}c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(c){break d}c=v[a+4>>2];if(!c){v[a+4>>2]=-32767}if(!c){Qa[v[v[a>>2]+4>>2]](a)}}a=v[b>>2];v[d+8>>2]=0;c=d+8|0;qb(c,e);uR(a,c);a=v[d+8>>2];v[d+8>>2]=0;if(!a){break c}c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(c){break c}c=v[a+4>>2];if(!c){v[a+4>>2]=-32767}if(!c){Qa[v[v[a>>2]+4>>2]](a)}break c}if(Hb(d+40|0,217587,-1)){break c}if(v[b>>2]){break a}a=ab(64);v[a+8>>2]=0;v[a>>2]=973064;v[a+4>>2]=0;c=v[279250];v[a+20>>2]=0;v[a+24>>2]=0;v[a+16>>2]=1;v[a+12>>2]=c;v[a+28>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;v[a+40>>2]=0;v[a+44>>2]=0;v[a+48>>2]=0;v[a+52>>2]=0;v[a+56>>2]=0;v[a+44>>2]=973096;v[a+48>>2]=0;v[a+52>>2]=0;v[a+56>>2]=0;v[a+60>>2]=0;v[d+8>>2]=0;c=d+8|0;qb(c,a);jb(b,c);a=v[d+8>>2];v[d+8>>2]=0;e:{if(!a){break e}c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(c){break e}c=v[a+4>>2];if(!c){v[a+4>>2]=-32767}if(!c){Qa[v[v[a>>2]+4>>2]](a)}}v[d>>2]=0;qb(d,e);Vu(d+8|0,d);a=v[d>>2];v[d>>2]=0;f:{if(!a){break f}c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(c){break f}c=v[a+4>>2];if(!c){v[a+4>>2]=-32767}if(!c){Qa[v[v[a>>2]+4>>2]](a)}}uR(v[b>>2],d+8|0);a=v[d+8>>2];v[d+8>>2]=0;if(!a){break c}c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(c){break c}c=v[a+4>>2];if(!c){v[a+4>>2]=-32767}if(!c){Qa[v[v[a>>2]+4>>2]](a)}}Od(e);if(Ad(e,d+40|0,0)){continue}break}}a=v[d+32>>2];v[d+32>>2]=0;g:{if(!a){break g}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break g}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}db(d+40|0);Ma=d+48|0;return}lb(mb(d+8|0,225211,240780,709,335256));L()}lb(mb(d+8|0,225211,240780,716,335256));L()}function wk(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0;a:{if((d|0)==-2147483648){break a}f=v[b+12>>2];if((2147483647-f|0)<(d|0)){break a}h=0-d&d>>31;g=v[a+12>>2];o=(g|0)<(d+f|0)?g-d|0:f;if((h|0)>=(o|0)){break a}g=(c|0)>-1?c&-8:0;f=v[a+8>>2];i=v[b+8>>2]+c|0;f=(f|0)<(i|0)?f:i;if((g|0)>=(f|0)){break a}i=f&7;k=i?255<<8-i&255:255;j=c&7;q=c>>>3|0;r=0-c>>>3|0;n=255>>>i|0;if((g|0)!=(f-1&-8)){s=f-8|0;p=g+8|0;u=255<<8-j;x=(c|0)<0;while(1){c=B(v[a+16>>2],d+h|0);f=v[a+20>>2];b:{if(!x){f=c+(f+q|0)|0;c=w[f|0];m=v[b+20>>2]+B(v[b+16>>2],h)|0;l=w[m|0];c:{d:{switch(e|0){case 0:c=l>>>j|c;break c;case 1:c=(l|65280)>>>j&c;break c;case 2:c=l>>>j^c;break c;case 3:c=(l^255)>>>j^c;break c;case 4:break d;default:break c}}c=c&u|l>>>j}t[f|0]=c;i=p;c=f+1|0;break b}m=(v[b+20>>2]+r|0)+B(v[b+16>>2],h)|0;l=w[m|0];i=0;c=c+f|0}m=m+1|0;if((i|0)<(s|0)){while(1){f=l<<8;l=w[m|0];g=(f|l)>>>j|0;f=w[c|0];e:{f:{switch(e|0){case 0:f=f|g;break e;case 1:f=f&g;break e;case 2:f=f^g;break e;case 3:f=f^g^-1;break e;case 4:break f;default:break e}}f=g}t[c|0]=f;m=m+1|0;c=c+1|0;i=i+8|0;if((s|0)>(i|0)){continue}break}}g=(w[m|0]|l<<8)>>>j|0;f=w[c|0];g:{h:{switch(e|0){case 0:f=g&k|f;break g;case 1:f=(g|n)&f;break g;case 2:f=g&k^f;break g;case 3:f=(g^-1)&k^f;break g;case 4:break h;default:break g}}f=g&k|f&n}t[c|0]=f;h=h+1|0;if((o|0)>(h|0)){continue}break}break a}if((c|0)>=0){g=255>>>j&k;i=g^-1;while(1){p=(v[a+20>>2]+q|0)+B(v[a+16>>2],d+h|0)|0;c=w[p|0];f=w[v[b+20>>2]+B(v[b+16>>2],h)|0];i:{j:{switch(e|0){case 4:c=g&f>>>j|c&i;break i;case 3:c=(f^255)>>>j&k^c;break i;case 2:c=f>>>j&k^c;break i;case 1:c=((f|65280)>>>j|n)&c;break i;case 0:break j;default:break i}}c=f>>>j&k|c}t[p|0]=c;h=h+1|0;if((o|0)>(h|0)){continue}break}break a}while(1){f=w[(v[b+20>>2]+r|0)+B(v[b+16>>2],h)|0];g=v[a+20>>2]+B(v[a+16>>2],d+h|0)|0;c=w[g|0];k:{l:{switch(e|0){case 4:c=f&k|c&n;break k;case 3:c=(f^-1)&k^c;break k;case 2:c=f&k^c;break k;case 1:c=(f|n)&c;break k;case 0:break l;default:break k}}c=f&k|c}t[g|0]=c;h=h+1|0;if((o|0)>(h|0)){continue}break}}}function Osa(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,p=0,q=0,r=0,s=0,t=0,u=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;u=Ma-256|0;Ma=u;e=a;while(1){a:{h=e;d=v[(l<<2)+b>>2]+c|0;i=w[d+4|0];m=w[d+3|0];g=i+m|0;k=w[d+7|0];j=w[d|0];f=k+j|0;n=g+f|0;p=w[d+5|0];o=w[d+2|0];q=p+o|0;r=w[d+6|0];s=w[d+1|0];d=r+s|0;t=q+d|0;v[e+16>>2]=n-t<<2;v[e>>2]=(n+t<<2)-4096;g=f-g|0;f=d-q|0;d=B(g+f|0,4433)+1024|0;v[e+24>>2]=d+B(f,-15137)>>11;v[e+8>>2]=d+B(g,6270)>>11;d=m-i|0;i=j-k|0;m=B(d+i|0,-7373)+1024|0;g=s-r|0;f=g+d|0;k=o-p|0;n=k+i|0;j=B(f+n|0,9633);o=m+B(d,2446)|0;d=j+B(f,-16069)|0;v[e+28>>2]=o+d>>11;j=j+B(n,-3196)|0;f=B(k,16819);k=B(g+k|0,-20995)+1024|0;v[e+20>>2]=j+(f+k|0)>>11;v[e+12>>2]=d+(k+B(g,25172)|0)>>11;v[e+4>>2]=j+(m+B(i,12299)|0)>>11;i=l-7|0;l=l+1|0;d=7;e=u;b:{switch(i|0){case 0:continue;case 8:break a;default:break b}}e=h+32|0;continue}break}while(1){i=v[e+32>>2];m=v[a+192>>2];b=i+m|0;k=v[e+192>>2];j=v[a+32>>2];c=k+j|0;h=b+c|0;l=v[e+64>>2];g=v[a+160>>2];f=l+g|0;n=v[e+160>>2];p=v[a+64>>2];o=n+p|0;q=f+o|0;r=v[e>>2];s=v[a+224>>2];t=r+s|0;x=v[e+224>>2];y=v[a>>2];z=x+y|0;A=t+z|0;C=v[e+96>>2];D=v[a+128>>2];E=C+D|0;F=v[e+128>>2];G=v[a+96>>2];H=F+G|0;I=E+H|0;v[a+128>>2]=(B(h-q|0,4433)+B(A-I|0,10703)|0)+32768>>16;v[a>>2]=((h+(q+I|0)|0)+A|0)+4>>3;h=z-t|0;f=o-f|0;o=H-E|0;c=c-b|0;b=(B(h-f|0,11363)+B(o-c|0,2260)|0)+32768|0;v[a+192>>2]=(b+B(o,-8697)|0)+B(h,-1730)>>16;v[a+64>>2]=(b+B(f,17799)|0)+B(c,11893)>>16;b=g-l|0;c=D-C|0;h=G-F|0;l=p-n|0;g=(B(b-c|0,3363)+B(h+l|0,-11086)|0)+32768|0;i=m-i|0;m=j-k|0;k=B(i+c|0,-10217)+B(m+h|0,-5461)|0;n=k+((g+B(h,8728)|0)+B(c,17760)|0)|0;j=c;c=s-r|0;f=h;h=y-x|0;j=B(j-c|0,7350)+B(f+h|0,8956)|0;v[a+224>>2]=n+j>>16;f=(g+B(l,-9222)|0)+B(b,10055)|0;g=B(i-b|0,11529)+B(l+m|0,1136)|0;b=B(b+c|0,5461)+B(h+l|0,10217)|0;v[a+160>>2]=(f+g|0)+b>>16;l=B(i-c|0,3363)+B(h+m|0,11086)|0;v[a+96>>2]=(l+(g+((k+B(m,589)|0)+B(i,-13631)|0)|0)|0)+32768>>16;v[a+32>>2]=(b+(j+((l+B(h,-18730)|0)+B(c,6387)|0)|0)|0)+32768>>16;b=d;d=d-1|0;e=e+4|0;a=a+4|0;if(b){continue}break}Ma=u+256|0}function IX(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(!b){return-1}e=v[b>>2];a:{if(!a){while(1){a=w[e|0];c=a-48|0;b:{if(((a&223)-65&255)>>>0<26|(c&255)>>>0<10){break b}c:{switch(a-33|0){case 0:case 3:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 25:case 26:case 28:case 30:case 31:case 62:case 93:break b;case 4:break c;default:break a}}d:{c=w[e+1|0];if((c-48&255)>>>0<10){break d}switch(c-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break d;default:break a}}c=w[e+2|0];if((c-48&255)>>>0<10){break b}switch(c-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break b;default:break a}}e=((a|0)==37?3:1)+e|0;continue}}while(1){e:{c=w[e|0];d=c-48|0;f:{if(((c&223)-65&255)>>>0<26|(d&255)>>>0<10){break f}g:{h:{switch(c-33|0){case 0:case 3:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 25:case 26:case 28:case 30:case 31:case 62:case 93:break f;case 4:break h;default:break g}}i:{d=w[e+1|0];if((d-48&255)>>>0<10){break i}switch(d-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break i;default:break g}}d=w[e+2|0];if((d-48&255)>>>0<10){break f}switch(d-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break f;default:break g}}g=v[a+36>>2];if(!(g&1)){break e}switch(c-91|0){case 0:case 1:case 2:case 3:case 5:case 32:case 33:case 34:break f;default:break e}}e=((c|0)==37?3:1)+e|0;continue}break}c=v[a+28>>2];if(c){Qa[v[256556]](c);g=v[a+36>>2]}f=v[b>>2];d=e-f|0;j:{if(g&2){c=0;if(!f|(d|0)<0){break j}c=Qa[v[256555]](d+1|0)|0;if(!c){c=0;nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break j}h=cb(c,f,d)+d|0,i=0,t[h|0]=i;break j}c=tm(f,d)}v[a+28>>2]=c;c=v[a+40>>2];if(c){Qa[v[256556]](c)}c=0;f=v[b>>2];k:{if(!f){break k}d=e-f|0;if((d|0)<0){break k}c=Qa[v[256555]](d+1|0)|0;if(!c){c=0;nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break k}h=cb(c,f,d)+d|0,i=0,t[h|0]=i}v[a+40>>2]=c}v[b>>2]=e;return 0}function pi(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=Ma-32|0;Ma=l;d=c-b|0;if((d|0)>-2){a:{if((d|0)==-1){b=v[a+16>>2];if((b|0)<=v[a+20>>2]){c=v[a>>2];d=v[c+16>>2];Qa[d|0](Qa[v[c+4>>2]](v[a+4>>2],b-v[a+8>>2]|0)|0,(v[a+20>>2]-v[a+16>>2]|0)+1|0)}b=v[a+4>>2];if(b){$a(b)}v[a+4>>2]=0;v[a+8>>2]=0;v[a+20>>2]=-1;v[a+12>>2]=-1;v[a+16>>2]=0;break a}e=v[a+12>>2];d=v[a+8>>2];if(!((e|0)<(c|0)|(d|0)>(b|0))){e=v[a+16>>2];b:{c:{if((e|0)>(b|0)){e=v[a>>2];f=v[e+8>>2];g=Qa[v[e+4>>2]](v[a+4>>2],b-d|0)|0;e=v[a+16>>2];d=b;break c}if((b|0)<=(e|0)){break b}g=v[a>>2];f=v[g+16>>2];g=Qa[v[g+4>>2]](v[a+4>>2],e-d|0)|0;e=b;d=v[a+16>>2]}Qa[f|0](g,e-d|0)}d=v[a+20>>2];d:{e:{if((d|0)<(c|0)){f=v[a>>2];e=v[f+8>>2];g=Qa[v[f+4>>2]](v[a+4>>2],(d-v[a+8>>2]|0)+1|0)|0;f=v[a+20>>2];d=c;break e}if((c|0)>=(d|0)){break d}d=v[a>>2];e=v[d+16>>2];g=Qa[v[d+4>>2]](v[a+4>>2],(c-v[a+8>>2]|0)+1|0)|0;f=c;d=v[a+20>>2]}Qa[e|0](g,d-f|0)}v[a+20>>2]=c;v[a+16>>2]=b;break a}f=e;e=(d|0)>(e|0);g=e?b:f;e=e?b:d;if((e|0)>(b|0)){while(1){d=g-e|0;d=(d|0)<32768?d:32768;e=e-((d|0)>8?d:8)|0;if((e|0)>(b|0)){continue}break}}if((c|0)>(g|0)){while(1){d=g-e|0;d=(d|0)<32768?d:32768;g=((d|0)>8?d:8)+g|0;if((g|0)<(c|0)){continue}break}}j=1-e|0;d=B(v[v[a>>2]>>2],j+g|0);k=eb(ab(d),0,d);f=v[a+16>>2];f:{if((f|0)>(b|0)){d=v[a>>2];f=v[d+8>>2];Qa[f|0](Qa[v[d+4>>2]](k,b-e|0)|0,v[a+16>>2]-b|0);h=v[a+16>>2];break f}d=b;h=d;if((d|0)<=(f|0)){break f}d=v[a>>2];i=v[d+16>>2];Qa[i|0](Qa[v[d+4>>2]](v[a+4>>2],f-v[a+8>>2]|0)|0,b-v[a+16>>2]|0);h=b}f=h;m=f;i=v[a+20>>2];g:{if((i|0)<(c|0)){d=v[a>>2];h=v[d+8>>2];Qa[h|0](Qa[v[d+4>>2]](k,i+j|0)|0,c-v[a+20>>2]|0);h=v[a+20>>2];break g}d=c;h=d;if((d|0)>=(i|0)){break g}d=v[a>>2];i=v[d+16>>2];Qa[i|0](Qa[v[d+4>>2]](v[a+4>>2],(c-v[a+8>>2]|0)+1|0)|0,v[a+20>>2]-c|0);h=c}d=h;if((m|0)<=(d|0)){i=v[a>>2];j=v[i+12>>2];Qa[j|0](Qa[v[i+4>>2]](k,f-e|0)|0,Qa[v[v[a>>2]+4>>2]](v[a+4>>2],f-v[a+8>>2]|0)|0,(d-f|0)+1|0,1)}d=v[a+4>>2];if(d){$a(d)}v[a+20>>2]=c;v[a+16>>2]=b;v[a+12>>2]=g;v[a+8>>2]=e;v[a+4>>2]=k}Ma=l+32|0;return}lb(mb(l+8|0,236212,241205,178,327829));L()}function ODa(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,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,z=0,A=0,C=0,D=0;z=Ma-224|0;Ma=z;n=v[a+332>>2];b=v[b+84>>2];a=z;while(1){h=v[b+160>>2];i=u[c+80>>1];j=v[b+32>>2];o=u[c+16>>1];q=v[b+96>>2];l=u[c+48>>1];p=B(u[c>>1],v[b>>2])<<13|1024;g=B(v[b+128>>2],u[c+64>>1]);f=B(v[b+192>>2],u[c+96>>1]);m=B(v[b+64>>2],u[c+32>>1]);k=f+m|0;v[a+96>>2]=p+B(g-k|0,11585)>>11;h=B(h,i);i=B(j,o);j=B(h+i|0,5027);k=p+B(k,10438)|0;o=B(g-f|0,7223);s=k+(o+B(f,-637)|0)|0;f=B(q,l);q=B(f+i|0,7663);i=B(i-f|0,1395);l=j+(q-i|0)|0;v[a+192>>2]=s-l>>11;v[a>>2]=l+s>>11;l=B(m,-20239);m=B(m-g|0,2578);l=k+(l+m|0)|0;f=B(f+h|0,-11295);h=f+(j+B(h,15326)|0)|0;v[a+128>>2]=l-h>>11;v[a+64>>2]=h+l>>11;g=o+(m+(p+B(g,-15083)|0)|0)|0;f=f+(i+q|0)|0;v[a+160>>2]=g-f>>11;v[a+32>>2]=f+g>>11;a=a+4|0;b=b+4|0;c=c+2|0;r=r+1|0;if((r|0)!=8){continue}break}b=n+128|0;r=0;a=z;while(1){g=v[a+12>>2];m=v[a+4>>2];j=B(g+m|0,10935);n=v[a+24>>2];o=v[a+8>>2];q=B(n+o|0,9058);c=v[(r<<2)+d>>2]+e|0;s=v[a+28>>2];p=s<<13;f=v[a+20>>2];l=f+m|0;k=B(l,9810);x=p+(k+(j+B(m,-9232)|0)|0)|0;C=q+B(o,2237)|0;i=(v[a>>2]<<13)+131072|0;h=v[a+16>>2];D=i+B(h,10438)|0;y=C+D|0;t[c|0]=w[b+(x+y>>>18&1023)|0];t[c+13|0]=w[b+(y-x>>>18&1023)|0];q=q+B(n,-14084)|0;x=i+B(h,2578)|0;y=q+x|0;A=j+B(g,-3474)|0;j=B(f+g|0,-1297)-p|0;A=A+j|0;t[c+1|0]=w[b+(y+A>>>18&1023)|0];t[c+12|0]=w[b+(y-A>>>18&1023)|0];j=j+(k+B(f,-19447)|0)|0;n=B(n,-11295)+B(o,5027)|0;o=i+B(h,-7223)|0;k=n+o|0;t[c+2|0]=w[b+(j+k>>>18&1023)|0];t[c+11|0]=w[b+(k-j>>>18&1023)|0];j=m-g|0;k=s+(j-f|0)<<13;h=i+B(h,-11586)|0;t[c+3|0]=w[b+(k+h>>>18&1023)|0];t[c+10|0]=w[b+(h-k>>>18&1023)|0];h=B(l,6164);i=p+B(f,-13850)|0;f=B(f-g|0,11512);i=h+(i+f|0)|0;n=o-n|0;t[c+4|0]=w[b+(i+n>>>18&1023)|0];t[c+9|0]=w[b+(n-i>>>18&1023)|0];f=f+B(g,5529)|0;g=B(j,3826)-p|0;f=f+g|0;p=x-q|0;t[c+5|0]=w[b+(f+p>>>18&1023)|0];t[c+8|0]=w[b+(p-f>>>18&1023)|0];g=g+(h+B(m,-8693)|0)|0;f=D-C|0;t[c+6|0]=w[b+(g+f>>>18&1023)|0];t[c+7|0]=w[b+(f-g>>>18&1023)|0];a=a+32|0;r=r+1|0;if((r|0)!=7){continue}break}Ma=z+224|0}function HBa(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,n=0,o=0,p=0,q=0,r=0,s=0,y=0,z=0,A=0;z=Ma-256|0;Ma=z;p=v[a+332>>2];a=v[b+84>>2];b=z;i=8;while(1){a:{b:{g=x[c+32>>1];f=u[c+16>>1];if((g|f)&65535){break b}g=0;if(x[c+48>>1]|x[c+64>>1]|(x[c+80>>1]|x[c+96>>1])){break b}if(x[c+112>>1]){break b}g=B(v[a>>2],u[c>>1]);v[b+192>>2]=g;v[b+160>>2]=g;v[b+128>>2]=g;v[b+96>>2]=g;v[b+64>>2]=g;v[b+32>>2]=g;v[b>>2]=g;f=56;break a}k=B(v[a+192>>2],u[c+96>>1]);j=B(v[a+64>>2],g<<16>>16);g=k+j|0;l=B(v[a+128>>2],u[c+64>>1]);q=B(v[a>>2],u[c>>1]);r=l+q|0;m=g+r|0;n=B(v[a+160>>2],u[c+80>>1]);o=B(v[a+96>>2],u[c+48>>1]);s=n+o|0;y=B(v[a+224>>2],u[c+112>>1]);h=B(f,v[a+32>>2]);A=y+h|0;f=s+A|0;v[b+224>>2]=m-f;v[b>>2]=f+m;n=n-o|0;o=h-y|0;m=B(n+o|0,473)>>8;k=(B(j-k|0,362)>>8)-g|0;j=q-l|0;l=k+j|0;f=m+((B(n,-669)>>8)-f|0)|0;v[b+192>>2]=l-f;v[b+32>>2]=f+l;k=j-k|0;f=(B(A-s|0,362)>>8)-f|0;v[b+160>>2]=k-f;v[b+64>>2]=f+k;f=f+((B(o,277)>>8)-m|0)|0;g=r-g|0;v[b+128>>2]=f+g;g=g-f|0;f=24}v[(f<<2)+b>>2]=g;c=c+2|0;a=a+4|0;b=b+4|0;h=i>>>0>1;i=i-1|0;if(h){continue}break}b=p+128|0;g=0;c=z;while(1){a=v[(g<<2)+d>>2]+e|0;c:{d:{i=v[c+8>>2];h=v[c+4>>2];if(i|h){break d}i=0;if(v[c+12>>2]|v[c+16>>2]|(v[c+20>>2]|v[c+24>>2])){break d}if(v[c+28>>2]){break d}h=x3a(w[b+(v[c>>2]>>>5&1023)|0],0,16843009,16843009);t[a|0]=h;t[a+1|0]=h>>>8;t[a+2|0]=h>>>16;t[a+3|0]=h>>>24;h=Pa;t[a+4|0]=h;t[a+5|0]=h>>>8;t[a+6|0]=h>>>16;t[a+7|0]=h>>>24;break c}p=v[c+28>>2];k=p+h|0;j=v[c+12>>2];l=v[c+20>>2];q=j+l|0;f=k+q|0;r=v[c+24>>2];m=r+i|0;n=v[c+16>>2];o=v[c>>2];s=n+o|0;y=m+s|0;t[a|0]=w[b+(f+y>>>5&1023)|0];t[a+7|0]=w[b+(y-f>>>5&1023)|0];j=l-j|0;p=h-p|0;h=B(j+p|0,473)>>8;f=h+((B(j,-669)>>8)-f|0)|0;j=(B(i-r|0,362)>>8)-m|0;l=o-n|0;i=j+l|0;t[a+1|0]=w[b+(f+i>>>5&1023)|0];t[a+6|0]=w[b+(i-f>>>5&1023)|0];i=(B(k-q|0,362)>>8)-f|0;f=l-j|0;t[a+2|0]=w[b+(i+f>>>5&1023)|0];t[a+5|0]=w[b+(f-i>>>5&1023)|0];h=i+((B(p,277)>>8)-h|0)|0;i=s-m|0;t[a+4|0]=w[b+(h+i>>>5&1023)|0];t[a+3|0]=w[b+(i-h>>>5&1023)|0]}c=c+32|0;g=g+1|0;if((g|0)!=8){continue}break}Ma=z+256|0}function fWa(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,n=0;a:{b:{if(w[a+286|0]|!w[a+285|0]|(w[a+287|0]|w[a+288|0])){break b}if(w[a+289|0]){break b}if(!(1<>>0<=20:0)){break a}k=w[d+2|0];if(k>>>0>=3){ob(a,1052,0,0);return 1052}j=w[d+3|0];g=j;if(g>>>0>=8){ob(a,1053,0,0);return 1053}if(!(c>>>0<13|g)|!((j|0)!=7|c>>>0<5)){break a}t[a+2253|0]=j;t[a+288|0]=1;v[a+48>>2]=v[a+48>>2]+1;g=w[d|0]|w[d+1|0]<<8;m=(g>>>8|g<<8)&65535;if(c>>>0>=5){h=w[d+8|0]|w[d+9|0]<<8|(w[d+10|0]<<16|w[d+11|0]<<24);h=h<<24|h<<8&16711680|(h>>>8&65280|h>>>24);g=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24)}else{g=0}if(c>>>0>=13){i=w[d+16|0]|w[d+17|0]<<8|(w[d+18|0]<<16|w[d+19|0]<<24);n=i<<24|i<<8&16711680|(i>>>8&65280|i>>>24);i=w[d+12|0]|w[d+13|0]<<8|(w[d+14|0]<<16|w[d+15|0]<<24);i=i<<24|i<<8&16711680|(i>>>8&65280|i>>>24)}else{i=0}c:{if(w[a+114|0]){f=Qa[v[a+152>>2]](48)|0;if(!f){ob(a,1,0,0);h=1;break c}v[f+4>>2]=737;v[f>>2]=738;l=v[a+700>>2];d:{if(l){v[l+8>>2]=f;break d}v[a+696>>2]=f}v[f+8>>2]=0;v[f+12>>2]=l;v[a+700>>2]=f;v[f+16>>2]=v[a+436>>2];v[f+20>>2]=v[a+440>>2];v[f+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=f}v[f+44>>2]=n;v[f+40>>2]=i;v[f+36>>2]=h;v[f+32>>2]=g;t[f+31|0]=j;t[f+30|0]=k;u[f+28>>1]=m}h=$3(a,m,k,j,g,h,i,n)}e:{if(h){break e}f:{if(!w[a+112|0]){break f}h=Qa[v[b+4>>2]](a,b,e)|0;if(h){break e}b=w[d|0]|w[d+1|0]<<8;a=v[e>>2];t[a+35|0]=j;t[a+34|0]=k;u[a+32>>1]=b<<8|b>>>8;if(c>>>0>=5){b=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);v[a+36>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=w[d+8|0]|w[d+9|0]<<8|(w[d+10|0]<<16|w[d+11|0]<<24);v[a+40>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24)}if(c>>>0<13){break f}b=w[d+12|0]|w[d+13|0]<<8|(w[d+14|0]<<16|w[d+15|0]<<24);v[a+44>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=a;a=w[d+16|0]|w[d+17|0]<<8|(w[d+18|0]<<16|w[d+19|0]<<24);v[b+48>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}h=0}return h|0}ob(a,1029,0,0);return 1029}ob(a,1028,0,0);return 1028}function SAa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=v[a+20>>2];if((c|0)!=100){d=v[a>>2];v[d+24>>2]=c;v[d+20>>2]=21;Qa[v[v[a>>2]>>2]](a)}v[a+256>>2]=0;v[a+244>>2]=0;v[a+80>>2]=b;a:{b:{c:{switch(b|0){case 1:v[a+76>>2]=1;v[a+244>>2]=1;a=v[a+84>>2];v[a+24>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=1;v[a+12>>2]=1;v[a>>2]=1;return;case 2:v[a+76>>2]=3;v[a+256>>2]=1;a=v[a+84>>2];v[a+176>>2]=66;v[a+88>>2]=71;v[a+24>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=1;v[a+12>>2]=1;v[a>>2]=82;break b;case 3:v[a+76>>2]=3;v[a+244>>2]=1;a=v[a+84>>2];v[a+176>>2]=3;v[a+88>>2]=2;v[a+24>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=2;v[a+12>>2]=2;v[a>>2]=1;break a;case 4:v[a+76>>2]=4;v[a+256>>2]=1;a=v[a+84>>2];v[a+264>>2]=75;v[a+176>>2]=89;v[a+88>>2]=77;v[a+24>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=1;v[a+12>>2]=1;v[a>>2]=67;v[a+288>>2]=0;v[a+280>>2]=0;v[a+284>>2]=0;v[a+272>>2]=1;v[a+276>>2]=1;break b;case 5:v[a+76>>2]=4;v[a+256>>2]=1;a=v[a+84>>2];v[a+264>>2]=4;v[a+176>>2]=3;v[a+88>>2]=2;v[a+24>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=2;v[a+12>>2]=2;v[a>>2]=1;v[a+288>>2]=0;v[a+280>>2]=0;v[a+284>>2]=0;v[a+272>>2]=2;v[a+276>>2]=2;break a;case 0:b=v[a+36>>2];v[a+76>>2]=b;d:{if(b-1>>>0>=10){c=v[a>>2];v[c+24>>2]=b;v[c+20>>2]=27;v[v[a>>2]+28>>2]=10;Qa[v[v[a>>2]>>2]](a);b=v[a+76>>2];if((b|0)<1){break d}}d=v[a+84>>2];a=0;if((b|0)!=1){e=b&-2;while(1){c=d+B(a,88)|0;v[c+24>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=1;v[c+12>>2]=1;v[c>>2]=a;f=a|1;c=d+B(f,88)|0;v[c+24>>2]=0;v[c+8>>2]=1;v[c+12>>2]=1;v[c+16>>2]=0;v[c+20>>2]=0;v[c>>2]=f;a=a+2|0;e=e-2|0;if(e){continue}break}}if(!(b&1)){break d}b=d+B(a,88)|0;v[b+24>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=1;v[b+12>>2]=1;v[b>>2]=a}return;default:break c}}b=v[a>>2];v[b+20>>2]=11;Qa[v[b>>2]](a);return}v[a+200>>2]=0;v[a+192>>2]=0;v[a+196>>2]=0;v[a+184>>2]=1;v[a+188>>2]=1;v[a+112>>2]=0;v[a+104>>2]=0;v[a+108>>2]=0;v[a+96>>2]=1;v[a+100>>2]=1;return}v[a+200>>2]=1;v[a+192>>2]=1;v[a+196>>2]=1;v[a+184>>2]=1;v[a+188>>2]=1;v[a+112>>2]=1;v[a+104>>2]=1;v[a+108>>2]=1;v[a+96>>2]=1;v[a+100>>2]=1}function Nu(a,b,c,d,e){var f=0,g=0,h=0;f=Ma-96|0;Ma=f;v[c>>2]=1e3;v[d>>2]=1e3;g=f+56|0;eF(g,a,b);Qa[v[v[a>>2]+20>>2]](f+48|0,a,0,g);a=f+40|0;th(a,v[f+48>>2]);Ve(f+32|0,a);v[f+24>>2]=0;v[f+28>>2]=v[279250];a:{if(!Ad(v[f+32>>2],f+24|0,0)){break a}b:{if(!Hb(f+24|0,311242,-1)){break b}if(!Hb(f+24|0,309208,-1)){break b}if(!Hb(f+24|0,316701,-1)){break b}if(Hb(f+24|0,316735,-1)){break a}}b=0;if(!Ad(v[f+32>>2],f+24|0,0)){break a}while(1){v[f+16>>2]=0;qb(f+16|0,v[f+32>>2]);c:{if(!Hb(f+24|0,310682,-1)){RE(f+8|0);IR(v[f+8>>2],v[f+16>>2]);a=v[f+8>>2];g=v[a+8>>2];v[c>>2]=(g|0)>0?g:0;g=v[a+12>>2];v[d>>2]=(g|0)>0?g:0;g=v[a+32>>2];h=v[a+20>>2];v[e>>2]=(h|0)>0?h:0;if(g&1){g=v[c>>2];v[c>>2]=v[d>>2];v[d>>2]=g}v[f+8>>2]=0;g=v[a+4>>2]-1|0;v[a+4>>2]=g;if(g){break c}g=v[a+4>>2];if(!g){v[a+4>>2]=-32767}if(!g){Qa[v[v[a>>2]+4>>2]](a)}break c}if(!(b&1)){if(Hb(f+24|0,316706,-1)){b=0;if(Hb(f+24|0,316740,-1)){break c}}Me(v[f+16>>2]);Me(v[f+16>>2]);Me(v[f+16>>2]);Me(v[f+16>>2]);a=Me(v[f+16>>2]);b=Me(v[f+16>>2]);g=Me(v[f+16>>2]);h=Me(v[f+16>>2]);v[c>>2]=b|a<<8;v[d>>2]=h|g<<8;v[e>>2]=100}b=1}eo(v[f+32>>2]);a=v[f+16>>2];v[f+16>>2]=0;d:{if(!a){break d}g=v[a+4>>2]-1|0;v[a+4>>2]=g;if(g){break d}g=v[a+4>>2];if(!g){v[a+4>>2]=-32767}if(!g){Qa[v[v[a>>2]+4>>2]](a)}}if(Ad(v[f+32>>2],f+24|0,0)){continue}break}}db(f+24|0);a=v[f+32>>2];v[f+32>>2]=0;e:{if(!a){break e}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break e}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}a=v[f+40>>2];v[f+40>>2]=0;f:{if(!a){break f}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break f}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}a=v[f+48>>2];v[f+48>>2]=0;g:{if(!a){break g}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break g}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}v[f+80>>2]=969432;v[f+56>>2]=969400;a=v[f+84>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Qa[v[v[a>>2]+4>>2]](a)}v[f+84>>2]=0}v[f+72>>2]=969432;a=v[f+76>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Qa[v[v[a>>2]+4>>2]](a)}v[f+76>>2]=0}db(f- -64|0);Ma=f+96|0}function Y4(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(!a|!b){break a}e=Qa[v[v[b>>2]+36>>2]](b)|0;c=Qa[v[v[b>>2]+20>>2]](b,4)|0;g=Qa[v[v[b>>2]+20>>2]](b,4)|0;b:{c:{switch(c|0){case 1:c=1;if(Qa[v[v[b>>2]+20>>2]](b,4)|0){break b}c=Qa[v[v[b>>2]+20>>2]](b,4)|0;if(c){break b}c=(Qa[v[v[b>>2]+40>>2]](b)|0)+12|0;break b;case 0:break c;default:break b}}c=Qa[v[v[b>>2]+40>>2]](b)|0;c=(c|0)>0?c+8|0:0}if((g|0)!=1783636e3){break a}if((Qa[v[v[b>>2]+20>>2]](b,4)|0)!=218793738){break a}if(((Qa[v[v[b>>2]+36>>2]](b)|0)-e|0)!=(c|0)){break a}g=Qa[v[v[b>>2]+36>>2]](b)|0;c=Qa[v[v[b>>2]+20>>2]](b,4)|0;e=Qa[v[v[b>>2]+20>>2]](b,4)|0;d:{e:{switch(c|0){case 1:c=1;if(Qa[v[v[b>>2]+20>>2]](b,4)|0){break d}c=Qa[v[v[b>>2]+20>>2]](b,4)|0;if(c){break d}c=(Qa[v[v[b>>2]+40>>2]](b)|0)+12|0;break d;case 0:break e;default:break d}}c=Qa[v[v[b>>2]+40>>2]](b)|0;c=(c|0)>0?c+8|0:0}if((e|0)!=1718909296){break a}h=a,i=Qa[v[v[b>>2]+20>>2]](b,4)|0,v[h+52>>2]=i;d=Qa[v[v[b>>2]+20>>2]](b,4)|0;e=(c-16|0)/4|0;v[a+60>>2]=e;v[a+56>>2]=d;e=e<<2;f=gb(e);if(!f){v[a+64>>2]=0;v[v[a>>2]+20>>2]=1;return 0}d=0;f=eb(f,0,e);v[a+64>>2]=f;Qa[v[v[b>>2]+16>>2]](b,f,e);if(((Qa[v[v[b>>2]+36>>2]](b)|0)-g|0)!=(c|0)){break a}if(!X4(a,b)){break a}Qa[v[v[b>>2]+36>>2]](b)|0;d=Qa[v[v[b>>2]+20>>2]](b,4)|0;c=Qa[v[v[b>>2]+20>>2]](b,4)|0;f:{g:{switch(d|0){case 1:d=1;if(Qa[v[v[b>>2]+20>>2]](b,4)|0){break f}d=Qa[v[v[b>>2]+20>>2]](b,4)|0;if(d){break f}d=(Qa[v[v[b>>2]+40>>2]](b)|0)+12|0;break f;case 0:break g;default:break f}}d=Qa[v[v[b>>2]+40>>2]](b)|0;d=(d|0)>0?d+8|0:0}while(1){if((c|0)!=1785737827){Qa[v[v[b>>2]+24>>2]](b,d-8|0);Qa[v[v[b>>2]+36>>2]](b)|0;d=Qa[v[v[b>>2]+20>>2]](b,4)|0;c=Qa[v[v[b>>2]+20>>2]](b,4)|0;h:{i:{switch(d|0){case 1:d=1;if(Qa[v[v[b>>2]+20>>2]](b,4)|0){break h}d=Qa[v[v[b>>2]+20>>2]](b,4)|0;if(d){break h}d=(Qa[v[v[b>>2]+40>>2]](b)|0)+12|0;break h;case 0:break i;default:break h}}d=Qa[v[v[b>>2]+40>>2]](b)|0;d=(d|0)>0?d+8|0:0}if((c|0)!=1785737827){continue}}break}c=Qa[v[v[b>>2]+36>>2]](b)|0;v[a+76>>2]=d-8;v[a+72>>2]=c;d=lC(v[a+4>>2],b)}return d}function Km(a,b){var c=0,d=0,e=0,f=0;c=v[a+996>>2];e=c+v[a+1080>>2]|0;v[a+996>>2]=e;d=(c|0)>0?v[a+992>>2]&v[(c<<2)+54352>>2]|b<>2]=d;if((e|0)>=8){c=v[a+1108>>2];while(1){v[a+1108>>2]=c+1;t[v[a+1112>>2]+c|0]=d;c=v[a+1108>>2];if((c|0)>=254){d=v[a+1096>>2];Qa[v[v[d>>2]+44>>2]](d,c&255)|0;c=v[a+1096>>2];Qa[v[v[c>>2]+16>>2]](c,v[a+1112>>2],1,v[a+1108>>2])|0;v[a+1108>>2]=0;c=0}d=v[a+992>>2]>>>8|0;v[a+992>>2]=d;f=v[a+996>>2];e=f-8|0;v[a+996>>2]=e;if((f|0)>15){continue}break}}c=v[a+1088>>2];a:{if(c?0:u[a+1086>>1]<=u[a+1084>>1]){break a}if(c){v[a+1088>>2]=0;c=v[a+1092>>2];v[a+1080>>2]=c;u[a+1084>>1]=-1<>2]+1|0;v[a+1080>>2]=c;if((c|0)==12){u[a+1084>>1]=4096;break a}u[a+1084>>1]=-1<>2]!=(b|0)){break b}c=v[a+1108>>2];if((e|0)>=1){while(1){v[a+1108>>2]=c+1;t[v[a+1112>>2]+c|0]=d;c=v[a+1108>>2];if((c|0)>=254){b=v[a+1096>>2];Qa[v[v[b>>2]+44>>2]](b,c&255)|0;b=v[a+1096>>2];Qa[v[v[b>>2]+16>>2]](b,v[a+1112>>2],1,v[a+1108>>2])|0;v[a+1108>>2]=0;c=0}d=v[a+992>>2]>>>8|0;v[a+992>>2]=d;b=v[a+996>>2];v[a+996>>2]=b-8;if((b|0)>8){continue}break}}if((c|0)>=1){b=v[a+1096>>2];Qa[v[v[b>>2]+44>>2]](b,c&255)|0;b=v[a+1096>>2];Qa[v[v[b>>2]+16>>2]](b,v[a+1112>>2],1,v[a+1108>>2])|0;v[a+1108>>2]=0}b=v[a+1096>>2];Qa[v[v[b>>2]+32>>2]](b)|0;b=v[a+1096>>2];if(!(Qa[v[v[b>>2]+40>>2]](b)|0)){break b}b=w[26936]|w[26937]<<8|(w[26938]<<16|w[26939]<<24);c=w[26932]|w[26933]<<8|(w[26934]<<16|w[26935]<<24);t[a+88|0]=c;t[a+89|0]=c>>>8;t[a+90|0]=c>>>16;t[a+91|0]=c>>>24;t[a+92|0]=b;t[a+93|0]=b>>>8;t[a+94|0]=b>>>16;t[a+95|0]=b>>>24;b=w[26928]|w[26929]<<8|(w[26930]<<16|w[26931]<<24);c=w[26924]|w[26925]<<8|(w[26926]<<16|w[26927]<<24);t[a+80|0]=c;t[a+81|0]=c>>>8;t[a+82|0]=c>>>16;t[a+83|0]=c>>>24;t[a+84|0]=b;t[a+85|0]=b>>>8;t[a+86|0]=b>>>16;t[a+87|0]=b>>>24;b=w[26920]|w[26921]<<8|(w[26922]<<16|w[26923]<<24);c=w[26916]|w[26917]<<8|(w[26918]<<16|w[26919]<<24);t[a+72|0]=c;t[a+73|0]=c>>>8;t[a+74|0]=c>>>16;t[a+75|0]=c>>>24;t[a+76|0]=b;t[a+77|0]=b>>>8;t[a+78|0]=b>>>16;t[a+79|0]=b>>>24}}function Gva(a,b){a=a|0;b=b|0;var 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,w=0,z=0,A=0;if(v[a+76>>2]>=1){w=v[a+284>>2]-1|0;r=v[a+400>>2];e=v[a+84>>2];while(1){i=s<<2;c=v[e+12>>2];p=Qa[v[v[a+4>>2]+32>>2]](a,v[(i+r|0)- -64>>2],B(c,v[r+8>>2]),c,1)|0;if(y[r+8>>2]>>0){g=v[e+12>>2]}else{c=v[e+12>>2];g=y[e+32>>2]%(c>>>0)|0;g=g?g:c}k=v[e+28>>2];l=v[e+8>>2];c=(k>>>0)%(l>>>0)|0;m=(c|0)>0?l-c|0:c;a:{if((g|0)<1){break a}o=b+i|0;q=v[(i+v[a+416>>2]|0)+4>>2];if((m|0)<=0){d=0;if((g|0)!=1){c=g&-2;while(1){Qa[q|0](a,e,v[o>>2],v[(d<<2)+p>>2],B(v[e+40>>2],d),0,k);i=d|1;Qa[q|0](a,e,v[o>>2],v[(i<<2)+p>>2],B(i,v[e+40>>2]),0,k);d=d+2|0;c=c-2|0;if(c){continue}break}}if(!(g&1)){break a}Qa[q|0](a,e,v[o>>2],v[(d<<2)+p>>2],B(v[e+40>>2],d),0,k);break a}z=m<<7;i=m&-8;t=m&7;A=m-1|0;n=0;while(1){c=v[(n<<2)+p>>2];Qa[q|0](a,e,v[o>>2],c,B(v[e+40>>2],n),0,k);d=c+(k<<7)|0;Jd(d,z);f=x[d-128>>1];j=0;c=i;if(A>>>0>=7){while(1){h=j<<7;u[h+d>>1]=f;u[d+(h|128)>>1]=f;u[d+(h|256)>>1]=f;u[d+(h|384)>>1]=f;u[d+(h|512)>>1]=f;u[d+(h|640)>>1]=f;u[d+(h|768)>>1]=f;u[d+(h|896)>>1]=f;j=j+8|0;c=c-8|0;if(c){continue}break}}c=t;if(c){while(1){u[d+(j<<7)>>1]=f;j=j+1|0;c=c-1|0;if(c){continue}break}}n=n+1|0;if((n|0)!=(g|0)){continue}break}}b:{if(v[r+8>>2]!=(w|0)|v[e+12>>2]<=(g|0)){break b}c=k+m|0;i=(c>>>0)/(l>>>0)|0;k=c<<7;if(c>>>0>=l>>>0){m=l-1|0;q=i>>>0>1?i:1;i=l&-8;t=l&7;while(1){c=(g<<2)+p|0;n=v[c-4>>2];d=v[c>>2];Jd(d,k);o=0;if((l|0)>0){while(1){f=x[(m<<7)+n>>1];j=0;c=i;if(m>>>0>=7){while(1){h=j<<7;u[h+d>>1]=f;u[(h|128)+d>>1]=f;u[(h|256)+d>>1]=f;u[(h|384)+d>>1]=f;u[(h|512)+d>>1]=f;u[(h|640)+d>>1]=f;u[(h|768)+d>>1]=f;u[(h|896)+d>>1]=f;j=j+8|0;c=c-8|0;if(c){continue}break}}c=t;if(c){while(1){u[(j<<7)+d>>1]=f;j=j+1|0;c=c-1|0;if(c){continue}break}}c=l<<7;n=c+n|0;d=c+d|0;o=o+1|0;if((q|0)!=(o|0)){continue}break}}g=g+1|0;if((g|0)>2]){continue}break}break b}while(1){Jd(v[(g<<2)+p>>2],k);g=g+1|0;if((g|0)>2]){continue}break}}e=e+88|0;s=s+1|0;if((s|0)>2]){continue}break}}return BW(a,b)|0}function pP(a){var b=0,c=0,d=0,e=C(0),f=0,g=0,h=0,i=0,j=0,k=C(0),l=C(0),m=C(0),n=0,o=C(0),p=C(0),q=C(0),r=C(0),s=C(0),u=0,w=0,x=0,y=0,A=0,E=0,F=0,G=0,H=0,I=0,J=0,K=C(0);j=Ma-32|0;Ma=j;a:{b:{if(v[a+68>>2]){break b}c=gb(6168);v[a+68>>2]=c;if(c){break b}wb(v[v[a>>2]+628>>2],1015200,49477,0);a=0;break a}c=v[a>>2];v[j+16>>2]=j+28;li(c,529,j+16|0);c=v[a>>2];v[j>>2]=j+24;li(c,532,j);h=v[j+28>>2];c=v[j+24>>2];f=v[a+68>>2];Hf(f+24|0,0,256);d=f+280|0;v[f>>2]=d;while(1){t[b+d|0]=b;a=b|1;t[a+d|0]=a;a=b|2;t[a+d|0]=a;a=b|3;t[a+d|0]=a;a=b|4;t[a+d|0]=a;a=b|5;t[a+d|0]=a;a=b|6;t[a+d|0]=a;a=b|7;t[a+d|0]=a;b=b+8|0;if((b|0)!=256){continue}break}Hf(d+256|0,255,512);x=d+4864|0;v[f+20>>2]=x;y=d+3840|0;v[f+16>>2]=y;A=d+2816|0;v[f+12>>2]=A;E=d+1792|0;v[f+8>>2]=E;F=d+768|0;v[f+4>>2]=F;k=z[c+12>>2];p=C(z[c+16>>2]+C(-128));l=z[c+20>>2];q=z[c>>2];K=z[c+4>>2];r=C(z[c+8>>2]+C(-128));c:{if(C(D(r))>2];e=C(C(2)-C(m+m));i=+C(e*C(65536))+.5;d:{if(D(i)<2147483648){c=~~i;break d}c=-2147483648}s=z[h>>2];o=C(C(2)-C(s+s));i=+C(o*C(65536))+.5;e:{if(D(i)<2147483648){a=~~i;break e}a=-2147483648}k=C(k+C(-128));l=C(l+C(-128));m=C(m*e);e=z[h+4>>2];i=+C(C(m/e)*C(65536))+.5;f:{if(D(i)<2147483648){I=~~i;break f}I=-2147483648}m=C(k-r);k=C(l-p);l=C(K-q);i=+C(C(C(s*o)/e)*C(65536))+.5;g:{if(D(i)<2147483648){J=~~i;break g}J=-2147483648}b=m!=C(0);f=k!=C(0);h=l!=C(0);if(C(D(q))>2]=B(h,f)+32768>>16;w=n+E|0;h=c;e=C(C(C(b-G|0)*C(127))/o);i:{if(C(D(e))>2]=B(h,g)+32768>>16;v[n+A>>2]=0-B(f,J);v[n+y>>2]=32768-B(I,g);h=n+x|0;e=C(C(C((b-d|0)+128|0)*C(255))/l);j:{if(C(D(e))>2]=g;b=b+1|0;u=u+1|0;if((u|0)!=256){continue}break}a=1}Ma=j+32|0;return a}function a_(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,x=0;i=Ma-16|0;Ma=i;g=v[b>>2];e=g<<1;u=a,x=yb(d,4,0,e,0,i+12|0),v[u+12>>2]=x;a:{if(v[i+12>>2]){break a}u=a,x=yb(d,28,0,g,0,i+12|0),v[u+8>>2]=x;if(v[i+12>>2]){break a}u=a,x=yb(d,16,0,e|1,0,i+12|0),v[u+24>>2]=x;if(v[i+12>>2]){break a}v[a>>2]=g;v[a+28>>2]=0;v[a+20>>2]=0;v[a+4>>2]=0;v[a+16>>2]=v[a+12>>2]+(g<<2);b:{if(!g){break b}h=g-1|0;d=v[a+8>>2];b=v[b+8>>2];e=g&3;c:{if(!e){f=g;break c}f=g;while(1){v[d>>2]=v[b>>2];v[d+4>>2]=v[b+4>>2];v[d+16>>2]=v[b+8>>2];b=b+12|0;d=d+28|0;f=f-1|0;e=e-1|0;if(e){continue}break}}if(h>>>0<3){break b}while(1){v[d>>2]=v[b>>2];v[d+4>>2]=v[b+4>>2];v[d+16>>2]=v[b+8>>2];v[d+28>>2]=v[b+12>>2];v[d+32>>2]=v[b+16>>2];v[d+44>>2]=v[b+20>>2];v[d+56>>2]=v[b+24>>2];v[d+60>>2]=v[b+28>>2];v[d+72>>2]=v[b+32>>2];v[d+84>>2]=v[b+36>>2];v[d+88>>2]=v[b+40>>2];v[d+100>>2]=v[b+44>>2];b=b+48|0;d=d+112|0;f=f-4|0;if(f){continue}break}}e=0;d:{if(!c){break d}j=v[c>>2];k=v[c+8>>2];v[a+32>>2]=c;if(!j){break d}while(1){p=v[k>>2];if(p){m=v[k+8>>2];b=0;l=0;q=0;while(1){if(!b){q=w[m|0];m=m+1|0;b=128}e:{if(!(b&q)|g>>>0<=l>>>0){break e}h=v[a+8>>2]+B(l,28)|0;c=v[h+16>>2];if(c&4){break e}v[h+16>>2]=c|4;c=v[a+16>>2];v[h+20>>2]=0;f:{if(!e){break f}r=v[h>>2];t=r+v[h+4>>2]|0;f=e;d=c;while(1){n=v[d>>2];s=v[n>>2];if(!((s|0)>(t|0)|(v[n+4>>2]+s|0)<(r|0))){v[h+20>>2]=n;break f}d=d+4|0;f=f-1|0;if(f){continue}break}}if(e>>>0>=g>>>0){break e}d=e+1|0;v[a+4>>2]=d;v[c+(e<<2)>>2]=h;e=d}b=b>>1;l=l+1|0;if((p|0)!=(l|0)){continue}break}}k=k+16|0;j=j-1|0;if(j){continue}break}}if(!g|(e|0)==(g|0)){break a}while(1){f=v[a+8>>2]+B(o,28)|0;b=v[f+16>>2];g:{if(b&4){break g}v[f+16>>2]=b|4;c=v[a+16>>2];v[f+20>>2]=0;h:{if(!e){break h}k=v[f>>2];l=k+v[f+4>>2]|0;b=e;d=c;while(1){h=v[d>>2];j=v[h>>2];if(!((j|0)>(l|0)|(k|0)>(j+v[h+4>>2]|0))){v[f+20>>2]=h;break h}d=d+4|0;b=b-1|0;if(b){continue}break}}if(e>>>0>=g>>>0){break g}b=e+1|0;v[a+4>>2]=b;v[c+(e<<2)>>2]=f;e=b}o=o+1|0;if((o|0)!=(g|0)){continue}break}}Ma=i+16|0;return v[i+12>>2]}function bHa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;e=Ma-1552|0;Ma=e;f=6;g=v[a+4>>2];a:{if(y[g+16>>2]<=c>>>0){break a}h=v[g+136>>2];v[a+164>>2]=v[b+16>>2];v[a+168>>2]=v[b+20>>2];d=d&1024?d|3:d;i=d&1;t[a+161|0]=!i;f=!(d&3);t[a+160|0]=f;v[a+108>>2]=0;v[a+72>>2]=1869968492;f=Qa[v[v[h+12>>2]>>2]](e+32|0,g,b,a,0,0,f,d>>>16&15,2169)|0;if(f){break a}j=d&1024;t[e+101|0]=j>>>10;f=C_(e+32|0,c);if(!f){k=w[a+161|0];l=w[a+160|0];c=e+1420|0;f=v[c+4>>2];v[e+24>>2]=v[c>>2];v[e+28>>2]=f;c=v[e+1416>>2];v[e+16>>2]=v[e+1412>>2];v[e+20>>2]=c;c=v[e+1432>>2];f=v[e+1428>>2];Qa[v[v[h+12>>2]+4>>2]](e+32|0);v[a+124>>2]=v[a+124>>2]&1|4;if(j){b=v[a+156>>2];d=v[e+64>>2];v[a+32>>2]=(((d>>31)+d|0)+32768&-65536)>>16;d=a;a=v[e+72>>2];v[d+40>>2]=(((a>>31)+a|0)+32768&-65536)>>16;a=v[e+28>>2];v[b+20>>2]=v[e+24>>2];v[b+24>>2]=a;a=v[e+20>>2];v[b+12>>2]=v[e+16>>2];v[b+16>>2]=a;v[b+32>>2]=c;v[b+28>>2]=f;t[b+8|0]=1;f=0;break a}h=v[e+72>>2];v[a+40>>2]=(((h>>31)+h|0)+32768&-65536)>>16;h=v[e+72>>2];v[a+56>>2]=(((h>>31)+h|0)+32768&-65536)>>16;t[v[a+156>>2]+8|0]=0;h=v[g+200>>2];g=v[g+208>>2];v[a+72>>2]=1869968492;g=g-h>>16;v[a+60>>2]=g;v[a+52>>2]=g;if(x[b+14>>1]<=23){v[a+124>>2]=v[a+124>>2]|256}g=a+108|0;b:{if(!(v[e+20>>2]|(v[e+16>>2]!=65536|v[e+28>>2]!=65536))){if(!v[e+24>>2]){break b}}xn(g,e+16|0);m=a,n=xb(v[a+40>>2],v[e+16>>2]),v[m+40>>2]=n;m=a,n=xb(v[a+52>>2],v[e+28>>2]),v[m+52>>2]=n}if(c|f){Jg(g,f,c);v[a+40>>2]=f+v[a+40>>2];v[a+52>>2]=c+v[a+52>>2]}if(!(k?0:i)){c=v[a+168>>2];h=v[a+164>>2];f=v[e+48>>2];c:{if(v[e+104>>2]?l:0){break c}b=u[f+2>>1];if((b|0)<1){break c}b=b&65535;f=v[f+4>>2];while(1){m=f,n=xb(v[f>>2],h),v[m>>2]=n;m=f,n=xb(v[f+4>>2],c),v[m+4>>2]=n;f=f+8|0;i=(b|0)>1;b=b-1|0;if(i){continue}break}}m=a,n=xb(v[a+40>>2],h),v[m+40>>2]=n;m=a,n=xb(v[a+52>>2],c),v[m+52>>2]=n}yn(g,e);b=v[e>>2];v[a+24>>2]=v[e+8>>2]-b;c=v[e+4>>2];f=v[e+12>>2];v[a+36>>2]=f;v[a+32>>2]=b;v[a+28>>2]=f-c;if(d&16){kt(a+24|0,v[a+52>>2])}f=0;break a}Qa[v[v[h+12>>2]+4>>2]](e+32|0)}Ma=e+1552|0;return f|0} -function zc(a){var b=0,c=0,d=0,e=0;c=Ma+-64|0;Ma=c;b=v[v[a+36>>2]+16>>2];a:{if(w[b|0]!=37){break a}b:{c:{switch(v[a+172>>2]+1|0){case 0:if(v[a+212>>2]){break a}v[a+84>>2]=18;v[c+16>>2]=228678;nb(0,0,0,a,0,1,18,3,0,0,0,0,340716,c+16|0);v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1;break a;case 1:case 2:case 5:v[a+84>>2]=19;v[c+32>>2]=271713;nb(0,0,0,a,0,1,19,3,0,0,0,0,340716,c+32|0);v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1;break a;case 15:v[a+84>>2]=20;v[c+48>>2]=271735;nb(0,0,0,a,0,1,20,3,0,0,0,0,340716,c+48|0);v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1;break a;case 3:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 16:case 17:break a;case 4:break c;default:break b}}if(!v[a+96>>2]&v[a+40>>2]==1){break a}switch(w[b+1|0]){case 0:case 9:case 10:case 13:case 32:break a;default:break b}}Bc(a);b=kh(a);if(v[291060]){v[c>>2]=b;Qa[v[256654]](v[291043],340607,c)}if(!b){Md(a,24,0);break a}if(w[v[v[a+36>>2]+16>>2]]==59){Bc(a);d=v[a>>2];d:{if(!d){break d}d=v[d+96>>2];if(!d){break d}e=Qa[d|0](v[a+4>>2],b)|0}if(v[a+172>>2]==-1){break a}if(!e){e:{if(!(v[a+88>>2]|v[a+92>>2]?v[a+28>>2]!=1:0)){He(a,26,343716,b);break e}f:{if(!(!v[a+104>>2]|!v[a+112>>2])){gj(a,27,343716,b,0);break f}rm(a,27,343716,b)}v[a+100>>2]=0}Dj(a,0,0,0);break a}if(v[v[a+36>>2]+40>>2]!=2727){Ls(a,pX(a,e));break a}d=v[e+48>>2];if((d&-2)==4){if(!(v[a+16>>2]|(w[a+360|0]&30|(d|0)!=5))){if(!v[a+104>>2]){break a}}if((Ls(a,BH(a,e))|0)<0){break a}g:{if(v[a+292>>2]){break g}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break g}oc(a)}if(v[a+172>>2]==-1){break a}d=v[a+36>>2];b=v[d+16>>2];h:{if((v[d+20>>2]-b|0)<4){break h}t[c+60|0]=w[b|0];t[c+61|0]=w[b+1|0];t[c+62|0]=w[b+2|0];t[c+63|0]=w[b+3|0];b=zq(c+60|0,4);if(!b){break h}xq(a,b)}if(v[e+48>>2]!=5){break a}b=v[v[a+36>>2]+16>>2];if(w[b|0]!=60|w[b+1|0]!=63|(w[b+2|0]!=120|w[b+3|0]!=109)){break a}if(w[b+4|0]!=108){break a}b=w[b+5|0]-9|0;if(b>>>0>23|!(1<>2];j=v[a+24>>2];k=w[j+200|0];if((k|0)==219){e=e&-17;v[b+12>>2]=e;v[a+28>>2]=e}b:{if(v[j+40>>2]|!(e&16)){break b}c:{e=v[a+24>>2];f=w[e+200|0];d=f;if(!(!d|(d|0)==12)){break c}d=v[e+36>>2];if(v[d+148>>2]!=-2147483638|v[d+84>>2]!=-2147483515){break c}h=v[e+188>>2];d=v[e+52>>2];d:{if(!f){f=d+(x[d>>1]<<1)|0;if(x[(h+(x[f>>1]<<1)|0)+20>>1]!=3877){break c}if(x[(h+(x[f+16>>1]<<1)|0)+10>>1]==3861){break d}break c}f=x[d>>1];g=v[d+(f<<2)>>2];if(!(g&67108864)|x[(h+(g<<5&2097120)|0)+20>>1]!=37){break c}f=v[(d+(f<<2)|0)+32>>2];if(!(f&2097152)|x[(h+(f<<5&2097120)|0)+10>>1]!=21){break c}}g=v[e+196>>2];if(g){f=Fg((g+(w[e+28|0]<<10)|0)+80|0);if(!f){v[c>>2]=7;return}c=w[e+28|0]<<10;f=cb(f,v[e+36>>2],c);v[f+84>>2]=-2147483638;v[f+148>>2]=-2147483515;h=cb(c+f|0,h,g);i=h;e:{if(!w[e+200|0]){u[(h+(x[d+(x[d>>1]<<1)>>1]<<1)|0)+20>>1]=3861;d=x[(d+(x[d>>1]<<1)|0)+16>>1]+5|0;c=3877;break e}u[(h+(v[d+(x[d>>1]<<2)>>2]<<5&2097120)|0)+20>>1]=21;d=v[(d+(x[d>>1]<<2)|0)+32>>2]<<4&1048560|5;c=37}u[(d<<1)+i>>1]=c;i=od(h+g|0,v[e+12>>2]+4|0);d=zb(i)+i|0;c=w[258596]|w[258597]<<8|(w[258598]<<16|w[258599]<<24);g=w[258592]|w[258593]<<8|(w[258594]<<16|w[258595]<<24);t[d|0]=g;t[d+1|0]=g>>>8;t[d+2|0]=g>>>16;t[d+3|0]=g>>>24;t[d+4|0]=c;t[d+5|0]=c>>>8;t[d+6|0]=c>>>16;t[d+7|0]=c>>>24;c=w[258600]|w[258601]<<8;t[d+8|0]=c;t[d+9|0]=c>>>8;if(!v[e+40>>2]){v[e+40>>2]=f;v[e+216>>2]=i;v[e+192>>2]=h;break b}Nd(f);break b}v[c>>2]=3;return}if(v[c>>2]>0){break a}c=v[b+12>>2]&-17;v[b+12>>2]=c;v[a+28>>2]=c}b=v[b+20>>2];f:{g:{if(Cc(b,325607)){e=32768;if(Cc(b,325597)){break g}if(Cc(b,325605)){break g}break f}e=4096;if(Cc(b,310174)){break g}if(Cc(b,236133)){break g}e=8192;if(Cc(b,311681)){break g}if(Cc(b,273439)){break g}e=16384;if(Cc(b,310058)){break g}if(!Cc(b,235111)){break f}}v[a+28>>2]=v[a+28>>2]|e}if((k|0)==12){t[a+60|0]=3}b=v[j+224>>2];if(!b){break a}b=w[b+68|0]+((k|0)==12)<<24>>24;if((b|0)<=t[a+60|0]){break a}t[a+60|0]=b}}function Jwa(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;c=Ma-16|0;Ma=c;g=v[a+4>>2];f=v[g+32>>2];if(f){Qa[v[v[f>>2]+12>>2]](f)|0;g=v[a+4>>2];v[g+32>>2]=0}f=v[g+28>>2];f=Qa[v[v[f>>2]+48>>2]](f)|0;v[v[a+4>>2]+32>>2]=f;f=Fm();g=v[v[a+4>>2]+28>>2];l=f,m=Qa[v[v[g>>2]+24>>2]](g)|0,k=v[v[f>>2]+24>>2],Qa[k](l|0,m|0);g=v[v[a+4>>2]+32>>2];Qa[v[v[g>>2]+68>>2]](g,f);v[c>>2]=1;Qa[v[v[f>>2]+20>>2]](f,c);g=0;v[v[291134]+456>>2]=v[v[a+4>>2]+32>>2];f=v[v[a+4>>2]>>2];if(f){$a(qs(f))}Qa[v[v[a>>2]+24>>2]](c,a);h=w[c+11|0];f=h<<24>>24;if(!((f|0)<0?v[c+4>>2]:h)){g=!Vc(c,875764,0);f=t[c+11|0]}if(f<<24>>24<=-1){$a(v[c>>2])}a:{if(!g){break a}g=w[1163495];f=g<<24>>24<0;h=v[290872];b:{if(f?h:g){if(!f){v[c+8>>2]=v[290873];f=v[290872];v[c>>2]=v[290871];v[c+4>>2]=f;break b}vc(c,v[290871],h);break b}g=ii(310553);c:{if(g){break c}g=ii(310549);if(g){break c}g=ii(310377)}f=g?g:242362;g=zb(f);v[c+8>>2]=0;v[c>>2]=0;v[c+4>>2]=0;EA(f,g,c)}Qa[v[v[a>>2]+28>>2]](a,c);if(t[c+11|0]>-1){break a}$a(v[c>>2])}v[a+8>>2]=0;f=Fz(d);g=Fz(e);d=w[b+11|0];e=d<<24>>24<0;Ti(c,e?v[b>>2]:b,e?v[b+4>>2]:d);j=ab(48);b=j;d=t[c+11|0]<0?v[c>>2]:c;e=Ma-32|0;Ma=e;v[b+40>>2]=0;v[b+44>>2]=0;v[b+12>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;v[b+32>>2]=0;v[b+36>>2]=0;h=ab(8);d=Rb(h,d);v[b>>2]=h;h=ji(v[d+4>>2],301143);v[b+4>>2]=h;d:{if(!h){v[e>>2]=v[b>>2];fb(4,-1,335993,e);v[b+44>>2]=1;break d}v[e+16>>2]=5;d=ab(312);v[d+8>>2]=13;v[d>>2]=952584;i=v[e+20>>2];v[d+8>>2]=v[e+16>>2];v[d+12>>2]=i;i=v[e+28>>2];v[d+16>>2]=v[e+24>>2];v[d+20>>2]=i;v[d>>2]=952800;i=ab(8);v[i+4>>2]=1;v[i>>2]=h;h=d+40|0;v[d+300>>2]=h;v[d+36>>2]=0;v[d+32>>2]=0;v[d+28>>2]=0;v[d+24>>2]=i;v[d+304>>2]=0;v[d+296>>2]=h;v[b+8>>2]=d;k=b,m=BU(b,f,g),v[k+40>>2]=m}Ma=e+32|0;v[v[a+4>>2]>>2]=j;if(f){$a(Bb(f))}if(g){$a(Bb(g))}d=v[a+4>>2];b=v[d>>2];e:{if(!b){v[a+8>>2]=12;a=0;break e}v[a+8>>2]=v[b+44>>2];if(!v[b+40>>2]){$a(qs(b));v[v[a+4>>2]>>2]=0;a=0;break e}Ez(v[d+36>>2]);a=!v[a+8>>2]}if(t[c+11|0]<=-1){$a(v[c>>2])}Ma=c+16|0;return a|0}function xf(a){var b=0,c=0,d=0,e=0,f=0;d=v[a>>2];c=v[a+4>>2];e=v[a+20>>2];f=v[e>>2];b=v[f>>2];v[e>>2]=v[f+12>>2];e=c-b|0;c=e>>>0>>0;e=c?e:b;b=d+(c?b:0)|0;c=v[a+8>>2];while(1){c=c-1|0;v[a+8>>2]=c;d=b<<1;v[a>>2]=d;v[a+4>>2]=e<<1;a:{if(c){b=d;break a}e=a;c=v[a+28>>2];b:{c:{if((c|0)!=255){if(b&67108864){f=c+1|0;v[a+28>>2]=f;if((f|0)==255){v[a>>2]=d&134217726;b=v[a+24>>2];c=v[b+8>>2];d:{e:{if(c&7){break e}d=v[b+64>>2];if(!((d|0)<0|(d|0)>v[b+60>>2])){v[b+8>>2]=c|4;break e}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=b;b=v[b+24>>2];v[c+24>>2]=b+1;t[b|0]=255;break d}if((Cb(b,255)|0)!=-1){break d}}v[a+36>>2]=v[a+36>>2]|1}v[a+32>>2]=v[a+28>>2];b=v[a>>2];v[a+28>>2]=b>>>20&255;b=b&1048575;break c}f:{if((c|0)<-1){break f}b=v[a+24>>2];c=v[b+8>>2];g:{if(c&7){break g}d=v[b+64>>2];if(!((d|0)<0|(d|0)>v[b+60>>2])){v[b+8>>2]=c|4;break g}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=b;b=v[b+24>>2];v[c+24>>2]=b+1;t[b|0]=f;break f}if((Cb(b,f&255)|0)!=-1){break f}}v[a+36>>2]=v[a+36>>2]|1}v[a+32>>2]=v[a+28>>2];b=v[a>>2];v[a+28>>2]=b>>>19&255;b=b&524287;c=8;break b}h:{if((c|0)<0){break h}b=v[a+24>>2];d=v[b+8>>2];i:{if(d&7){break i}f=v[b+64>>2];if(!((f|0)<0|(f|0)>v[b+60>>2])){v[b+8>>2]=d|4;break i}v[b+4>>2]=v[b+4>>2]|32;d=v[b+28>>2];v[b+28>>2]=d-1;if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=b;b=v[b+24>>2];v[d+24>>2]=b+1;t[b|0]=c;break h}if((Cb(b,c&255)|0)!=-1){break h}}v[a+36>>2]=v[a+36>>2]|1}v[a+32>>2]=v[a+28>>2];b=v[a>>2];v[a+28>>2]=b>>>19&255;b=b&524287;c=8;break b}b=v[a+24>>2];c=v[b+8>>2];j:{k:{if(c&7){break k}d=v[b+64>>2];if(!((d|0)<0|(d|0)>v[b+60>>2])){v[b+8>>2]=c|4;break k}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=b;b=v[b+24>>2];v[c+24>>2]=b+1;t[b|0]=255;break j}if((Cb(b,255)|0)!=-1){break j}}v[a+36>>2]=v[a+36>>2]|1}v[a+32>>2]=v[a+28>>2];b=v[a>>2];v[a+28>>2]=b>>>20&255;b=b&1048575}c=7}v[e+8>>2]=c;v[a>>2]=b}e=v[a+4>>2];if(!(e&32768)){continue}break}}function yf(a){var b=0,c=0,d=0,e=0,f=0;d=v[a>>2];c=v[a+4>>2];e=v[a+20>>2];f=v[e>>2];b=v[f>>2];v[e>>2]=v[f+8>>2];e=c;c=b>>>0>c>>>0;e=c?b:e;b=d+(c?0:b)|0;c=v[a+8>>2];while(1){c=c-1|0;v[a+8>>2]=c;d=b<<1;v[a>>2]=d;v[a+4>>2]=e<<1;a:{if(c){b=d;break a}e=a;c=v[a+28>>2];b:{c:{if((c|0)!=255){if(b&67108864){f=c+1|0;v[a+28>>2]=f;if((f|0)==255){v[a>>2]=d&134217726;b=v[a+24>>2];c=v[b+8>>2];d:{e:{if(c&7){break e}d=v[b+64>>2];if(!((d|0)<0|(d|0)>v[b+60>>2])){v[b+8>>2]=c|4;break e}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=b;b=v[b+24>>2];v[c+24>>2]=b+1;t[b|0]=255;break d}if((Cb(b,255)|0)!=-1){break d}}v[a+36>>2]=v[a+36>>2]|1}v[a+32>>2]=v[a+28>>2];b=v[a>>2];v[a+28>>2]=b>>>20&255;b=b&1048575;break c}f:{if((c|0)<-1){break f}b=v[a+24>>2];c=v[b+8>>2];g:{if(c&7){break g}d=v[b+64>>2];if(!((d|0)<0|(d|0)>v[b+60>>2])){v[b+8>>2]=c|4;break g}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=b;b=v[b+24>>2];v[c+24>>2]=b+1;t[b|0]=f;break f}if((Cb(b,f&255)|0)!=-1){break f}}v[a+36>>2]=v[a+36>>2]|1}v[a+32>>2]=v[a+28>>2];b=v[a>>2];v[a+28>>2]=b>>>19&255;b=b&524287;c=8;break b}h:{if((c|0)<0){break h}b=v[a+24>>2];d=v[b+8>>2];i:{if(d&7){break i}f=v[b+64>>2];if(!((f|0)<0|(f|0)>v[b+60>>2])){v[b+8>>2]=d|4;break i}v[b+4>>2]=v[b+4>>2]|32;d=v[b+28>>2];v[b+28>>2]=d-1;if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=b;b=v[b+24>>2];v[d+24>>2]=b+1;t[b|0]=c;break h}if((Cb(b,c&255)|0)!=-1){break h}}v[a+36>>2]=v[a+36>>2]|1}v[a+32>>2]=v[a+28>>2];b=v[a>>2];v[a+28>>2]=b>>>19&255;b=b&524287;c=8;break b}b=v[a+24>>2];c=v[b+8>>2];j:{k:{if(c&7){break k}d=v[b+64>>2];if(!((d|0)<0|(d|0)>v[b+60>>2])){v[b+8>>2]=c|4;break k}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=b;b=v[b+24>>2];v[c+24>>2]=b+1;t[b|0]=255;break j}if((Cb(b,255)|0)!=-1){break j}}v[a+36>>2]=v[a+36>>2]|1}v[a+32>>2]=v[a+28>>2];b=v[a>>2];v[a+28>>2]=b>>>20&255;b=b&1048575}c=7}v[e+8>>2]=c;v[a>>2]=b}e=v[a+4>>2];if(!(e&32768)){continue}break}}function vA(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{f=v[b>>2];if(f>>>0>=c>>>0){break a}k=t[a+36|0];g=v[a+8>>2];h=v[g+60>>2];v[b>>2]=f+1;f=w[f|0];t[a+36|0]=k+1;t[(a+k|0)+37|0]=f;b:{c:{d:{e:{f=w[f+845280|0];if(!f){break e}f:{g:{while(1){j=(h<<5)+(f<<24>>24)|0;i=74;f=0;l=0;while(1){h=f;f=i+l>>1;if((h|0)==(f|0)){break e}h=f;h:{m=v[(f<<2)+844896>>2];if((m|0)<=(j|0)){l=f;h=i;if((j|0)<=(m|0)){break h}}i=h;if((h|0)==(l|0)){break e}continue}break}i:{i=t[f+845200|0];switch(i+1|0){case 0:break d;case 2:case 3:break g;default:break i}}h=v[b>>2];if(h>>>0>>0){f=t[a+36|0];v[b>>2]=h+1;i=w[h|0];t[a+36|0]=f+1;t[(a+f|0)+37|0]=i;h=j;j=0;f=w[i+845280|0];if(!f){break d}continue}break}v[g+60>>2]=j;switch(i+1|0){case 1:break a;case 0:break c;default:break f}}v[g+60>>2]=0}j:{k:{l:{m:{switch(d-1|0){case 0:n:{o:{p:{c=t[f+844736|0];switch(c+1|0){case 0:break k;case 2:case 3:break o;case 17:break p;default:break n}}if(!w[g+50|0]){break c}c=t[g+52|0];if((c|0)<=1){t[g+53|0]=c}t[g+52|0]=2;break l}if(!(x[(v[g+64>>2]<<1)+843868>>1]>>>c&1)){break k}t[g+50|0]=c;break l}if(!(x[(v[g+64>>2]<<1)+843868>>1]>>>c&1)){break k}t[g+48|0]=c;break l;case 2:q:{r:{s:{t:{u:{v:{c=t[f+844816|0];switch(c+1|0){case 0:break k;case 35:break r;case 2:case 34:break s;case 3:break t;case 18:break u;case 17:break v;default:break q}}if(!w[g+50|0]){break c}c=t[g+52|0];if((c|0)<=1){t[g+53|0]=c}t[g+52|0]=2;break l}if(!w[g+51|0]){break c}c=t[g+52|0];if((c|0)<=1){t[g+53|0]=c}t[g+52|0]=3;break l}if(!v[g+64>>2]){break k}}t[g+49|0]=c;break l}t[g+50|0]=c;break l}if(!v[g+64>>2]){break k}t[g+51|0]=c;break l;case 1:break m;default:break c}}if((f|0)!=48){break k}}c=v[e>>2];if((c|0)<=0){t[a+36|0]=0;return}switch(c-18|0){case 1:break j;case 0:break b;default:break a}}v[e>>2]=19}v[a+256>>2]=0;break a}j=0}v[g+60>>2]=j}v[e>>2]=18}c=t[a+36|0];if((c|0)<2){break a}h=c-k<<24>>24;c=(c<<24)-16777216>>24;w:{if((h|0)>=(c|0)){h=c&255;break w}c=h-c|0;t[a+254|0]=c;cb(a+222|0,a+38|0,0-(c<<24>>24)|0)}v[b>>2]=v[b>>2]-h;t[a+36|0]=1}}function t3(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0;k=(c+31|0)/32|0;if((d|0)>0){C=k<<2;while(1){a:{b:{c:{d:{z=l>>>0<2;e:{if(!z){i=v[(B(l-2|0,k)<<2)+b>>2];break e}i=0;if(!l){break d}}g=(B(l-1|0,k)<<2)+b|0;j=v[g>>2];m=1;f=i;if(!e){break b}h=s;s=!Jb((B(k,l)<<2)+b|0,g,C);D=h^s;h=1;break c}j=0;h=0;m=0;f=0;if(!e){break b}}f=w[a+39741|0];m=f<<2;g=x[m+1025792>>1];o=a;f:{g:{if((D&255)==(f>>>0>46|0)){f=x[a+4>>1]-g|0;u[a+4>>1]=f;if(f<<16>>16>=0){if(g>>>0>(f&65535)>>>0){f=g;g=m+1025794|0;break g}v[a>>2]=g+v[a>>2];g=m+1025794|0;break g}v[a>>2]=g+v[a>>2];break f}f=x[a+4>>1]-g|0;h:{if(g>>>0<=(f&65535)>>>0){f=g;break h}v[a>>2]=g+v[a>>2]}g=m+1025795|0}t[o+39741|0]=w[g|0];while(1){f=f<<1;u[a+4>>1]=f;v[a>>2]=v[a>>2]<<1;g=w[a+6|0]-1|0;t[a+6|0]=g;if(!(g&255)){El(a);f=x[a+4>>1]}if(f<<16>>16>-1){continue}break}}if(s){break a}s=0;m=h;f=i}if((c|0)<1){break a}E=B(l-2|0,k);F=B(l-1|0,k);i=f>>>29|0;y=j>>>28|0;q=f<<3;n=j<<4;A=B(k,l);o=v[(A<<2)+b>>2];j=0;f=0;while(1){h=(i<<11|y<<4|f)+a|0;r=w[h+24|0];p=r<<2;g=x[p+1025792>>1];G=h;h=r>>>0>46;r=o>>>31|0;i:{j:{if((h|0)==(r|0)){h=x[a+4>>1]-g|0;u[a+4>>1]=h;if(h<<16>>16>=0){if(g>>>0>(h&65535)>>>0){h=g;g=p+1025794|0;break j}v[a>>2]=g+v[a>>2];g=p+1025794|0;break j}v[a>>2]=g+v[a>>2];break i}h=x[a+4>>1]-g|0;k:{if(g>>>0<=(h&65535)>>>0){h=g;break k}v[a>>2]=g+v[a>>2]}g=p+1025795|0}t[G+24|0]=w[g|0];while(1){h=h<<1;u[a+4>>1]=h;v[a>>2]=v[a>>2]<<1;g=w[a+6|0]-1|0;t[a+6|0]=g;if(!(g&255)){El(a);h=x[a+4>>1]}if(h<<16>>16>-1){continue}break}}g=y<<1|n>>>31;h=i<<1|q>>>31;p=f<<1;f=j&31;l:{if(!(z|(f|0)!=28)){q=0;f=(j>>>5|0)+1|0;if(f>>>0>>0){q=v[(f+E<<2)+b>>2]}n=n<<1;i=o<<1;break l}q=q<<1;m:{if(!(m^1|(f|0)!=27)){n=0;f=(j>>>5|0)+1|0;if(f>>>0>=k>>>0){break m}n=v[(f+F<<2)+b>>2];break m}n=n<<1;if((f|0)!=31){break m}f=(j>>>5|0)+1|0;i=0;if(f>>>0>=k>>>0){break l}i=v[(f+A<<2)+b>>2];break l}i=o<<1}o=i;y=g&127;i=h&31;f=r|p&14;j=j+1|0;if((j|0)!=(c|0)){continue}break}}l=l+1|0;if((l|0)!=(d|0)){continue}break}}}function KE(a,b,c){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,p=0;m=Ma-160|0;Ma=m;a:{if(!a|!b){break a}b:{f=v[b+48>>2];if((2147483639-f|0)>=1){d=f+1|0;j=d+8|0;if(j>>>0<153391689){break b}}Db(a,50839);break a}e=d;d=v[b+52>>2];c:{if((e|0)<=(d|0)){break c}e=v[b+56>>2];if(e){v[b+52>>2]=j;f=jf(a,B(j,28));v[b+56>>2]=f;if(!f){v[b+56>>2]=e;v[b+52>>2]=d;g=1;break a}cb(f,e,B(d,28));Tb(a,e);break c}v[b+48>>2]=0;v[b+52>>2]=9;e=jf(a,252);v[b+56>>2]=e;if(!e){v[b+52>>2]=d;v[b+48>>2]=f;g=1;break a}v[b+184>>2]=v[b+184>>2]|16384}d:{while(1){k=B(n,28)+c|0;h=v[k+4>>2];e:{if(!h){break e}if(v[k>>2]+1>>>0>=4){Db(a,51372);break e}j=v[b+48>>2];o=v[b+56>>2];e=1;i=0;f=m+80|0;g=w[h|0];f:{if(!g){d=1;break f}while(1){h=h+1|0;g:{h:{if(g>>>0>160){d=0;break h}d=0;if((g-33&255)>>>0<94){break h}d=1;if(e){break g}g=32}t[f|0]=g;i=i+1|0;f=f+1|0}g=w[h|0];if(!g){break f}e=d;if(i>>>0<79){continue}break}}d=(i|0)!=0&(d|0)!=0;t[f-d|0]=0;l=i-d|0;if(!l){Db(a,51958);break e}p=B(j,28);i:{if(v[k>>2]<1){d=0;j=0;break i}j=0;d=0;h=v[k+20>>2];if(h){e=1;i=0;f=m;g=w[h|0];j:{if(!g){d=1;break j}while(1){h=h+1|0;k:{l:{if(g>>>0>160){d=0;break l}d=0;if((g-33&255)>>>0<94){break l}d=1;if(e){break k}g=32}t[f|0]=g;i=i+1|0;f=f+1|0}g=w[h|0];if(!g){break j}e=d;if(i>>>0<79){continue}break}}d=(i|0)!=0&(d|0)!=0;t[f-d|0]=0;d=i-d|0}e=v[k+24>>2];if(!e){break i}j=zb(e)}e=o+p|0;f=v[k+8>>2];m:{if(!(w[f|0]?f:0)){if(v[k>>2]>=1){v[e>>2]=1;h=0;break m}v[e>>2]=-1;h=0;break m}h=zb(f);v[e>>2]=v[k>>2]}f=jf(a,(((d+l|0)+j|0)+h|0)+4|0);v[e+4>>2]=f;if(!f){break d}cb(f,m+80|0,l);i=e+4|0;t[v[i>>2]+l|0]=0;n:{if(v[k>>2]>=1){f=(v[e+4>>2]+l|0)+1|0;v[e+20>>2]=f;cb(f,v[k+20>>2],d);t[v[e+20>>2]+d|0]=0;d=(v[e+20>>2]+d|0)+1|0;v[e+24>>2]=d;cb(d,v[k+24>>2],j);t[v[e+24>>2]+j|0]=0;i=e+24|0;break n}v[e+20>>2]=0;v[e+24>>2]=0;j=l}d=(v[i>>2]+j|0)+1|0;v[e+8>>2]=d;if(h){cb(d,v[k+8>>2],h);d=v[e+8>>2]}t[d+h|0]=0;d=v[e>>2]>0;v[e+16>>2]=d?h:0;v[e+12>>2]=d?0:h;v[b+48>>2]=v[b+48>>2]+1}n=n+1|0;if((n|0)!=1){continue}break}g=0;break a}g=1}Ma=m+160|0;return g}function XWa(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;if((c|0)!=13){ob(a,1028,0,0);return 1028}c=v[a+8>>2];if(c-1>>>0>=2){ob(a,1030,0,0);return 1030}a:{b:{c:{if(!((c|0)!=1|y[a+272>>2]<2)|(w[a+286|0]|w[a+287|0])){break c}if(w[a+300|0]|w[a+289|0]){break c}t[a+286|0]=1;f=w[a+288|0];if(!(w[a+2253|0]!=7?f:0)){c=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);v[a+316>>2]=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);v[a+320>>2]=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)}c=w[d+8|0];t[a+324|0]=c;g=w[d+9|0];t[a+325|0]=g;h=w[d+10|0];t[a+326|0]=h;i=w[d+11|0];t[a+327|0]=i;j=w[d+12|0];t[a+328|0]=j;if(!(1<>>0<=16:0)){break b}d:{e:{switch(g|0){case 3:if(c>>>0<9){break d}break b;case 0:break d;case 2:case 4:case 6:break e;default:break a}}if(c>>>0>7){break d}break b}if(h){ob(a,1038,0,0);return 1038}if(i){ob(a,1039,0,0);return 1039}if(j>>>0>=2){ob(a,1040,0,0);return 1040}f:{if(!f){break f}f=w[v[v[a+528>>2]+88>>2]+45|0];if((f|0)==(g|0)|(f?(g|0)==3:0)|!g&(f|0)!=3){break f}break a}g:{h:{if(w[a+284|0]){break h}v[a+12>>2]=1;t[a+284|0]=1;f=v[a+316>>2];v[a+16>>2]=f;h=v[a+320>>2];v[a+20>>2]=h;i:{j:{switch(g-3|0){case 0:c=8;break i;case 1:case 3:break i;default:break j}}c=1}t[a+44|0]=c;if(!(f>>>0<=y[a+124>>2]&h>>>0<=y[a+128>>2])){c=4097;if(!ob(a,4097,0,0)){break g}}c=v[a+188>>2];if(!c){break h}if(Qa[c|0](a,v[a+16>>2],v[a+20>>2])|0){break h}ob(a,904,0,0);return 904}if(!w[a+288|0]){v[a+48>>2]=v[a+48>>2]+1}c=lL(a);if(c){break g}c=0;if(!w[a+112|0]){break g}c=Qa[v[b+4>>2]](a,b,e)|0;if(c){break g}b=v[e>>2];c=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);v[b+32>>2]=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);v[b+36>>2]=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[b+40|0]=w[a+324|0];t[b+41|0]=w[a+325|0];t[b+42|0]=w[a+326|0];t[b+43|0]=w[a+327|0];t[b+44|0]=w[a+328|0];c=0}return c|0}ob(a,1029,0,0);return 1029}ob(a,1036,0,0);return 1036}ob(a,1037,0,0);return 1037}function KN(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=Ma-48|0;Ma=g;d=v[a+12>>2];a:{b:{if(d&131072){break b}h=v[v[a+188>>2]+(b<<2)>>2];if(!h){d=v[a+628>>2];a=v[a>>2];v[g+8>>2]=b;v[g+4>>2]=0;v[g>>2]=a;wb(d,77124,15267,g);c=0;break a}if(!(!(d&2048)|!((x[a+94>>1]|256)&d))){c:{if(!(d&512)){break c}c=v[a+596>>2];if(!c){break c}$a(c);d=v[a+12>>2]}d=d&-513;v[a+12>>2]=d;c=v[a+616>>2];e=v[a+184>>2]+(b<<2)|0;f=v[e>>2];if(!(c>>>0>=h>>>0&f>>>0<=c-h>>>0)){d=v[a+628>>2];e=v[a>>2];v[g+44>>2]=h;v[g+40>>2]=c-f;v[g+36>>2]=b;v[g+32>>2]=e;wb(d,77124,17702,g+32|0);v[a+480>>2]=-1;c=0;break a}v[a+600>>2]=h;v[a+596>>2]=v[a+612>>2]+v[e>>2];break b}if(h>>>0>y[a+600>>2]){v[a+480>>2]=-1;if(!(d&512)){d=v[a+628>>2];a=v[a>>2];v[g+20>>2]=b;v[g+16>>2]=a;wb(d,77124,20135,g+16|0);c=0;break a}c=0;if(!JN(a,h>>>0<4294966272?h+1023&-1024:0)){break a}}e=v[a+596>>2];d=h;c=Ma+-64|0;Ma=c;d:{f=v[a+12>>2];if(!(f&131072)){e:{if(!(f&2048)){f=b<<2;if((Qa[v[a+640>>2]](v[a+628>>2],v[f+v[a+184>>2]>>2],0)|0)!=v[f+v[a+184>>2]>>2]){d=v[a+628>>2];e=v[a>>2];f=v[a+472>>2];v[c+24>>2]=b;v[c+20>>2]=f;v[c+16>>2]=e;wb(d,77124,41732,c+16|0);d=-1;break e}e=Qa[v[a+632>>2]](v[a+628>>2],e,d)|0;if((e|0)==(d|0)){break e}f=v[a+628>>2];i=v[a>>2];j=v[a+472>>2];v[c+12>>2]=d;v[c+8>>2]=e;v[c+4>>2]=j;v[c>>2]=i;wb(f,77124,42663,c);d=-1;break e}i=v[a+616>>2];f=v[v[a+184>>2]+(b<<2)>>2];if(i>>>0>>0){e=v[a+628>>2];j=v[a>>2];k=v[a+472>>2];v[c+48>>2]=d;v[c+44>>2]=i-f;v[c+40>>2]=b;v[c+36>>2]=k;v[c+32>>2]=j;wb(e,77124,43498,c+32|0);d=-1;break e}Fd(e,f+v[a+612>>2]|0,d)}Ma=c- -64|0;break d}O(30408,31925,176,77248);L()}c=0;if((d|0)!=(h|0)){break a}d=v[a+12>>2];if(d&(x[a+94>>1]|256)){break b}SC(v[a+596>>2],h);d=v[a+12>>2]}if(!(d&32)){c=0;if(!(Qa[v[a+516>>2]](a)|0)){break a}d=v[a+12>>2]|32;v[a+12>>2]=d}v[a+480>>2]=b;c=v[a+176>>2];h=(b>>>0)/(c>>>0)|0;v[a+472>>2]=B(v[a+100>>2],b-B(c,h)|0);c=0;e=0;if(!(d&131072)){e=v[v[a+188>>2]+(b<<2)>>2];c=v[a+596>>2]}v[a+608>>2]=e;v[a+604>>2]=c;c=Qa[v[a+520>>2]](a,h&65535)|0}Ma=g+48|0;return c}function XBa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=Ma-16|0;Ma=o;a:{b:{if(!v[c+88>>2]){v[c+100>>2]=v[d+100>>2];v[c+104>>2]=v[d+104>>2];e=v[d+80>>2];v[c+80>>2]=e;f=v[d+76>>2];t[c+94|0]=7;v[c+76>>2]=f;u[c+92>>1]=256;e=e<<2;v[c+84>>2]=e;e=B(e,f);f=oB(c,e);v[o+12>>2]=f;if(f){break a}eb(v[c+88>>2],0,e);break b}i=v[d+104>>2];j=i-v[d+76>>2]|0;k=v[c+104>>2];m=k-v[c+76>>2]|0;l=v[d+100>>2];g=l+v[d+80>>2]|0;f=v[c+100>>2];e=f+v[c+80>>2]|0;if(!((e|0)<(g|0)|(f|0)>(l|0)|(i|0)>(k|0))){if((j|0)>=(m|0)){break b}}i=(i|0)<(k|0)?k:i;m=i-((j|0)>(m|0)?m:j)|0;k=(f|0)<(l|0)?f:l;g=((e|0)>(g|0)?e:g)-k|0;j=g<<2;l=cc(v[a+100>>2],B(m,j),o+12|0);f=v[o+12>>2];if(f){break a}if(v[c+76>>2]){e=(l+B(j,i-v[c+104>>2]|0)|0)+(v[c+100>>2]-k<<2)|0;f=v[c+88>>2];while(1){e=cb(e,f,v[c+80>>2]<<2)+j|0;f=v[c+84>>2]+f|0;h=h+1|0;if(h>>>0>2]){continue}break}}EJ(c,l);v[c+100>>2]=k;v[c+104>>2]=i;v[c+80>>2]=g;v[c+84>>2]=j;v[c+76>>2]=m;e=v[c+156>>2];v[e+4>>2]=v[e+4>>2]|1;v[c+72>>2]=1651078259}c:{if((b|0)==65535){if(w[a+676|0]){e=w[a+680|0];h=w[a+679|0];n=w[a+678|0];g=w[a+677|0];break c}b=v[a+656>>2];if(b){e=255;h=255;n=255;g=255;if(w[b+(x[a+668>>1]<<1)|0]&2){break c}}h=0;e=255;n=0;g=0;break c}a=v[a+672>>2]+(b<<2)|0;e=w[a+3|0];h=w[a+2|0];n=w[a+1|0];g=w[a|0]}f=0;i=v[d+76>>2];if(!i|!v[d+80>>2]){break a}l=h&255;m=n&255;g=g&255;b=e&255;a=v[c+84>>2];n=(v[c+88>>2]+B(a,v[c+104>>2]-v[d+104>>2]|0)|0)+(v[d+100>>2]-v[c+100>>2]<<2)|0;j=v[d+88>>2];k=0;e=1;while(1){h=0;f=0;if(e){while(1){f=(h<<2)+n|0;e=(B(b,w[j+h|0])>>>0)/255|0;a=255-e|0;t[f+1|0]=(((B(a,w[f+1|0])&65535)>>>0)/255|0)+(((B(e,m)&65535)>>>0)/255|0);t[f|0]=(((B(a,w[f|0])&65535)>>>0)/255|0)+(((B(e,g)&65535)>>>0)/255|0);t[f+2|0]=(((B(a,w[f+2|0])&65535)>>>0)/255|0)+(((B(e,l)&65535)>>>0)/255|0);t[f+3|0]=e+(((B(a,w[f+3|0])&65535)>>>0)/255|0);f=v[d+80>>2];h=h+1|0;if(f>>>0>h>>>0){continue}break}i=v[d+76>>2];a=v[c+84>>2]}n=a+n|0;j=v[d+84>>2]+j|0;e=f;k=k+1|0;if(k>>>0>>0){continue}break}f=0}Ma=o+16|0;return f|0}function sEa(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,p=0,q=0,r=0,s=0,u=0,x=0;e=Ma-16|0;Ma=e;a:{if(v[a+4>>2]){break a}d=6;b:{if(v[a+12>>2]!=1){break b}f=(b|0)!=0;b=(B(f,36)+a|0)+16|0;d=v[c>>2];g=(((d>>31)+d|0)+32768&-65536)>>16;d=v[c+4>>2];k=v[a>>2];d=iw(b,g,(((d>>31)+d|0)+32768&-65536)>>16,k,e);if(d){break b}d=v[c+8>>2];g=(((d>>31)+d|0)+32768&-65536)>>16;d=v[c+12>>2];d=iw(b,g,(((d>>31)+d|0)+32768&-65536)>>16,k,e+4|0);if(d){break b}d=b;b=v[c+16>>2];g=(((b>>31)+b|0)+32768&-65536)>>16;b=v[c+20>>2];d=iw(d,g,(((b>>31)+b|0)+32768&-65536)>>16,k,e+8|0);if(d){break b}h=v[e+8>>2];n=128>>>(h&7)|0;i=v[e+4>>2];o=128>>>(i&7)|0;j=v[e>>2];p=128>>>(j&7)|0;g=B(f,36)+a|0;q=g;f=v[g+48>>2];l=v[g+40>>2];c:{if(l){m=h>>3;r=i>>3;s=j>>3;d=l;c=f;while(1){b=v[c>>2];if((w[v[c+8>>2]+s|0]&p?j>>>0>>0:0)|(w[v[c+8>>2]+r|0]&o?b>>>0>i>>>0:0)|(w[m+v[c+8>>2]|0]&n?b>>>0>h>>>0:0)){break c}c=c+16|0;d=d-1|0;if(d){continue}break}}m=l+1|0;b=v[g+44>>2];if(m>>>0>b>>>0){v[e+12>>2]=0;c=b;b=l+8&-8;f=yb(k,16,c,b,f,e+12|0);v[q+48>>2]=f;d=v[e+12>>2];if(d){break b}v[g+44>>2]=b}b=0;c=(l<<4)+f|0;v[c+12>>2]=0;v[c>>2]=0;v[g+40>>2]=m}if((j|0)>=0){if(b>>>0<=j>>>0){b=v[c+4>>2];v[e+12>>2]=0;d=j+8>>>3|0;b=b+7>>>3|0;if(d>>>0>b>>>0){f=b;b=d+7&1073741816;u=c,x=yb(k,1,f,b,v[c+8>>2],e+12|0),v[u+8>>2]=x;d=v[e+12>>2];if(d){break b}v[c+4>>2]=b<<3}v[c>>2]=j+1}b=v[c+8>>2]+(j>>>3|0)|0;t[b|0]=w[b|0]|p}d:{if((i|0)>=0){if(y[c>>2]<=i>>>0){b=v[c+4>>2];v[e+12>>2]=0;d=i+8>>>3|0;b=b+7>>>3|0;if(d>>>0>b>>>0){f=b;b=d+7&1073741816;u=c,x=yb(k,1,f,b,v[c+8>>2],e+12|0),v[u+8>>2]=x;d=v[e+12>>2];if(d){break b}v[c+4>>2]=b<<3}v[c>>2]=i+1}b=v[c+8>>2]+(i>>>3|0)|0;t[b|0]=w[b|0]|o;if((h|0)>-1){break d}break a}if((h|0)<0){break a}}if(y[c>>2]<=h>>>0){b=v[c+4>>2];v[e+12>>2]=0;d=h+8>>>3|0;b=b+7>>>3|0;if(d>>>0>b>>>0){f=b;b=d+7&1073741816;u=c,x=yb(k,1,f,b,v[c+8>>2],e+12|0),v[u+8>>2]=x;d=v[e+12>>2];if(d){break b}v[c+4>>2]=b<<3}v[c>>2]=h+1}a=v[c+8>>2]+(h>>>3|0)|0;t[a|0]=w[a|0]|n;break a}v[a+4>>2]=d}Ma=e+16|0}function kra(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{if(!a|!b){break a}b:{c=w[a+407|0];if(c>>>0>7){break b}v[a+744>>2]=17;d=b+32|0;e=8-c|0;Ye(a,d+c|0,e);t[a+407|0]=8;c:{if(tU(d,c,e)){if(c>>>0<=3){if(tU(d,c,4-c|0)){break c}}dc(a,9650);L()}if(c>>>0>2){break b}v[a+200>>2]=v[a+200>>2]|4096;break b}dc(a,5764);L()}d:{e:{while(1){f:{d=Iy(a);g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{c=v[a+348>>2];if((c|0)!=1229278788){if((c|0)!=1229472850){if((c|0)!=1229209940){break r}c=v[a+200>>2];if(c&8){v[a+200>>2]=c|8192}e=bv(a,1229209940);c=v[a+200>>2];if(!e){break q}v[a+200>>2]=c|4;Ku(a,b,d);b=v[a+200>>2];if(!(b&1)){break f}if(b&2|w[a+401|0]!=3){break a}dc(a,21212);L()}nT(a,b,d);continue}fT(a,d);continue}if(bv(a,c)){Ku(a,b,d);if((c|0)!=1347179589){continue}v[a+200>>2]=v[a+200>>2]|2;continue}s:{if((c|0)<=1883789682){if((c|0)<=1749635923){if((c|0)<=1665684044){if((c|0)==1347179589){break s}if((c|0)!=1649100612){break g}DS(a,b,d);continue}if((c|0)==1665684045){break p}if((c|0)!=1732332865){break g}aT(a,b,d);continue}if((c|0)<=1767135347){if((c|0)==1749635924){break o}if((c|0)!=1766015824){break g}RS(a,b,d);continue}if((c|0)==1767135348){break h}if((c|0)==1866876531){break n}if((c|0)!=1883455820){break g}qS(a,b,d);continue}if((c|0)<=1934772033){if((c|0)<=1933787467){if((c|0)==1883789683){break l}if((c|0)!=1933723988){break g}$S(a,b,d);continue}if((c|0)==1933787468){break m}if((c|0)!=1934642260){break g}KS(a,b,d);continue}if((c|0)<=1950960964){if((c|0)==1934772034){break k}if((c|0)!=1950701684){break g}dS(a,b,d);continue}if((c|0)==1950960965){break j}if((c|0)==1951551059){break i}if((c|0)!=2052348020){break g}bS(a,b,d);continue}jT(a,b,d);continue}if(!(c&1)){break e}if(c&2?0:w[a+401|0]==3){break d}v[a+380>>2]=d;v[a+200>>2]=c|4;break a}_S(a,b,d);continue}zS(a,b,d);continue}rS(a,b,d);continue}lS(a,b,d);continue}wS(a,b,d);continue}TS(a,b,d);continue}hS(a,b,d);continue}FS(a,b,d);continue}$R(a,b,d);continue}Ku(a,b,d);continue}break}dc(a,18903);L()}dc(a,18903);L()}dc(a,21212);L()}}function dna(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=Ma-80|0;Ma=d;c=v[v[a+12>>2]+8>>2];if(c){Qa[v[v[c>>2]+4>>2]](c);v[v[a+12>>2]+8>>2]=0}v[d+72>>2]=0;v[d+64>>2]=0;v[d+68>>2]=0;c=w[b+11|0];e=c<<24>>24<0;a:{f=e?v[b+4>>2]:c;c=f+5|0;if(c>>>0<1073741808){h=v[b>>2];b:{c:{if(c>>>0<=1){t[d+75|0]=f;c=d- -64|0;break c}g=f+9&-4;c=ab(g<<2);v[d+72>>2]=g|-2147483648;v[d+64>>2]=c;v[d+68>>2]=f;if(!f){break b}}rb(c,e?h:b,f)}h=0;v[(f<<2)+c>>2]=0;c=d- -64|0;bd(c,960528,5);if(Xs(c)){k=d- -64|4;f=k;while(1){v[d+32>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;c=w[b+11|0];g=c<<24>>24<0;e=g?v[b+4>>2]:c;c=e+4|0;if(c>>>0>=1073741808){break a}i=v[b>>2];d:{e:{if(c>>>0<=1){t[d+35|0]=e;c=d+24|0;break e}j=e+8&-4;c=ab(j<<2);v[d+32>>2]=j|-2147483648;v[d+24>>2]=c;v[d+28>>2]=e;if(!e){break d}}rb(c,g?i:b,e)}v[(e<<2)+c>>2]=0;c=d+24|0;bd(c,960552,4);e=d+8|0;rj(e,h);i=c;j=e;c=w[d+19|0];e=c<<24>>24<0;c=bd(i,e?v[d+8>>2]:j,e?v[d+12>>2]:c);v[d+48>>2]=v[c+8>>2];e=v[c+4>>2];v[d+40>>2]=v[c>>2];v[d+44>>2]=e;v[c>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;c=kc(d+40|0,960572);g=v[c>>2];v[d+56>>2]=v[c+4>>2];e=w[c+7|0]|w[c+8|0]<<8|(w[c+9|0]<<16|w[c+10|0]<<24);t[d+59|0]=e;t[d+60|0]=e>>>8;t[d+61|0]=e>>>16;t[d+62|0]=e>>>24;v[c>>2]=0;v[c+4>>2]=0;i=w[c+11|0];v[c+8>>2]=0;if(t[d+75|0]<=-1){$a(v[d+64>>2])}v[d+64>>2]=g;c=f;e=w[d+59|0]|w[d+60|0]<<8|(w[d+61|0]<<16|w[d+62|0]<<24);t[c+3|0]=e;t[c+4|0]=e>>>8;t[c+5|0]=e>>>16;t[c+6|0]=e>>>24;v[k>>2]=v[d+56>>2];t[d+75|0]=i;if(t[d+51|0]<=-1){$a(v[d+40>>2])}if(t[d+19|0]<=-1){$a(v[d+8>>2])}if(t[d+35|0]<=-1){$a(v[d+24>>2])}h=h+1|0;if(Xs(d- -64|0)){continue}break}}fw(d- -64|0);b=ab(16);v[b+4>>2]=0;v[b+8>>2]=0;v[b>>2]=960612;v[b+12>>2]=0;c=b+4|0;f:{if(t[d+75|0]>=0){f=v[d+68>>2];v[c>>2]=v[d+64>>2];v[c+4>>2]=f;v[c+8>>2]=v[d+72>>2];break f}De(c,v[d+64>>2],v[d+68>>2])}e=w[b+15|0];f=e<<24>>24<0;e=f?v[b+8>>2]:e;g:{if(!e){break g}e=e-1|0;if(v[(e<<2)+(f?v[c>>2]:c)>>2]!=47){break g}rr(c,e,1)}v[v[a+12>>2]+8>>2]=b;if(t[d+75|0]<=-1){$a(v[d+64>>2])}Ma=d+80|0;return}sc();L()}sc();L()}function XR(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=Ma+-64|0;Ma=e;a:{b:{if(w[b+144|0]){j=b+48|0;d=v[b+48>>2];c:{if(d){v[d+4>>2]=v[d+4>>2]+1;v[a>>2]=v[j>>2];break c}h=b+72|0;d=eh(h);g=v[v[c+12>>2]+((d>>>0)%y[c+8>>2]<<2)>>2];d:{if(g){while(1){if((d|0)==v[g+12>>2]){if(ff(g+16|0,h)){break d}}g=v[g+8>>2];if(g){continue}break}}g=0;l=il(c,h),m=0,v[l+52>>2]=m;d=e+32|0;th(d,v[b+108>>2]);v[e+24>>2]=0;v[e+28>>2]=v[279250];Ve(e+16|0,d);i=v[e+16>>2];if(!Ad(i,e+24|0,0)){break b}d=v[b+132>>2]>1?v[b+140>>2]:-1;e:{f:{if(!d){break f}k=d;while(1){if(!Ad(i,e+24|0,0)){break f}if(!Hb(e+24|0,310384,-1)){d=qy(ab(128),h);v[e+40>>2]=0;qb(e+40|0,d);d=v[e+40>>2];v[e+8>>2]=0;qb(e+8|0,i);FR(d,v[e+8>>2]);d=v[e+8>>2];v[e+8>>2]=0;g:{if(!d){break g}f=v[d+4>>2]-1|0;v[d+4>>2]=f;if(f){break g}f=v[d+4>>2];if(!f){v[d+4>>2]=-32767}if(!f){Qa[v[v[d>>2]+4>>2]](d)}}jb(j,e+40|0);d=v[e+40>>2];v[e+40>>2]=0;if(!d){break f}f=v[d+4>>2]-1|0;v[d+4>>2]=f;if(f){break f}f=v[d+4>>2];if(!f){v[d+4>>2]=-32767}if(!f){Qa[v[v[d>>2]+4>>2]](d)}break f}f=Hb(e+24|0,311183,-1)?f:1;if(!(f|g>>>0<2|w[v[b+108>>2]+8|0])){v[a>>2]=0;qb(a,0);f=1;break e}g=g+1|0;eo(i);k=k-1|0;if(k){continue}break}g=d}if(!(v[b+48>>2]|v[b+140>>2]>-1)){v[b+140>>2]=g}f=1;vk(v[b+108>>2]);d=v[b+48>>2];if(d){v[d+4>>2]=v[d+4>>2]+1;v[a>>2]=v[j>>2];break e}if(!w[b+144|0]){break a}if(!(v[b+148>>2]&64)){Lu(b)}d=Lf(e+40|0,b+112|0);g=v[e+48>>2];h:{if(g){while(1){XR(a,v[g+8>>2],c);f=1;if(v[a>>2]){break h}v[a>>2]=0;g=v[g>>2];if(g){continue}break}}vk(v[b+108>>2]);f=0}ac(d)}b=v[e+16>>2];v[e+16>>2]=0;i:{if(!b){break i}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break i}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}db(e+24|0);b=v[e+32>>2];v[e+32>>2]=0;j:{if(!b){break j}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break j}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}if(f){break c}}v[a>>2]=0;qb(a,0)}Ma=e- -64|0;return}break a}lb(mb(e+40|0,v[279242],241865,1541,335576));L()}lb(mb(e+40|0,231556,241865,164,226745));L()}function m1(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;z[a+8>>2]=z[a>>2]+c;z[a+12>>2]=z[a+4>>2]+d;f=v[a+80>>2];if(f){h=f-4|0;e=v[h>>2];if(e){e=f+B(e,96)|0;while(1){g=e;e=e-96|0;a:{if(!v[g-4>>2]){break a}g=g-8|0;i=v[g>>2];if(!i){break a}$a(i);v[g>>2]=0}if((e|0)!=(f|0)){continue}break}}$a(h)}i=t[b+11|0];l=v[b>>2];v[a+88>>2]=0;e=w[b+11|0];f=e<<24>>24<0?v[b+4>>2]:e;v[a+84>>2]=f;if((f|0)>=1){e=ab((m=-1,n=x3a(f,0,96,0)|4,o=Pa,o?m:n));v[e>>2]=f;g=e+4|0;e=g;j=B(f,96);k=j-96|0;h=((k>>>0)/96|0)+1&7;if(h){e=g;while(1){v[e+68>>2]=0;v[e+72>>2]=0;v[e+84>>2]=0;v[e+88>>2]=0;v[e+76>>2]=0;v[e+80>>2]=0;v[e+92>>2]=1;e=e+96|0;h=h-1|0;if(h){continue}break}}if(k>>>0>=672){h=g+j|0;while(1){v[e+68>>2]=0;v[e+72>>2]=0;v[e+84>>2]=0;v[e+88>>2]=0;v[e+76>>2]=0;v[e+80>>2]=0;v[e+164>>2]=0;v[e+168>>2]=0;v[e+92>>2]=1;v[e+172>>2]=0;v[e+176>>2]=0;v[e+180>>2]=0;v[e+184>>2]=0;v[e+260>>2]=0;v[e+264>>2]=0;v[e+188>>2]=1;v[e+268>>2]=0;v[e+272>>2]=0;v[e+276>>2]=0;v[e+280>>2]=0;v[e+356>>2]=0;v[e+360>>2]=0;v[e+284>>2]=1;v[e+364>>2]=0;v[e+368>>2]=0;v[e+372>>2]=0;v[e+376>>2]=0;v[e+380>>2]=1;v[e+452>>2]=0;v[e+456>>2]=0;v[e+460>>2]=0;v[e+464>>2]=0;v[e+468>>2]=0;v[e+472>>2]=0;v[e+548>>2]=0;v[e+552>>2]=0;v[e+476>>2]=1;v[e+556>>2]=0;v[e+560>>2]=0;v[e+564>>2]=0;v[e+568>>2]=0;v[e+644>>2]=0;v[e+648>>2]=0;v[e+572>>2]=1;v[e+652>>2]=0;v[e+656>>2]=0;v[e+660>>2]=0;v[e+664>>2]=0;v[e+740>>2]=0;v[e+744>>2]=0;v[e+668>>2]=1;v[e+748>>2]=0;v[e+752>>2]=0;v[e+756>>2]=0;v[e+760>>2]=0;v[e+764>>2]=1;e=e+768|0;if((h|0)!=(e|0)){continue}break}}b=(i|0)<0?l:b;v[a+80>>2]=g;h=f&3;e=0;if(f-1>>>0>=3){a=f&-4;while(1){f=v[b+(e<<2)>>2];i=g+B(e,96)|0;t[i+64|0]=0;v[i>>2]=f;f=e|1;i=v[b+(f<<2)>>2];f=g+B(f,96)|0;t[f+64|0]=0;v[f>>2]=i;f=e|2;i=v[b+(f<<2)>>2];f=g+B(f,96)|0;t[f+64|0]=0;v[f>>2]=i;f=e|3;i=v[b+(f<<2)>>2];f=g+B(f,96)|0;t[f+64|0]=0;v[f>>2]=i;e=e+4|0;a=a-4|0;if(a){continue}break}}if(h){while(1){a=v[b+(e<<2)>>2];f=g+B(e,96)|0;t[f+64|0]=0;v[f>>2]=a;e=e+1|0;h=h-1|0;if(h){continue}break}}return}v[a+80>>2]=0}function $X(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;h=Ma+-64|0;Ma=h;a:{if(a){f=v[a+12>>2];b:{if(f){while(1){if(v[f+4>>2]==14){break b}f=v[f+24>>2];if(f){continue}break}}f=v[a+44>>2]}if(f){break a}}e=Qa[v[256552]](64)|0;if(!e){v[h>>2]=233193;nb(0,0,0,0,0,2,2,3,233193,0,0,0,340689,h);break a}v[e>>2]=0;v[e+4>>2]=0;v[e+56>>2]=0;v[e+60>>2]=0;v[e+48>>2]=0;v[e+52>>2]=0;v[e+40>>2]=0;v[e+44>>2]=0;v[e+32>>2]=0;v[e+36>>2]=0;v[e+24>>2]=0;v[e+28>>2]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;v[e+4>>2]=14;if(b){g=b;while(1){f=g;g=f+1|0;if(w[f|0]){continue}break}g=0;c:{i=f-b|0;if((i|0)>=0){f=Qa[v[256555]](i+1|0)|0;if(f){break c}nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0)}v[e+8>>2]=0;v[h+48>>2]=233193;nb(0,0,0,0,0,2,2,3,233193,0,0,0,340689,h+48|0);Qa[v[256556]](e);break a}b=cb(f,b,i);t[b+i|0]=0;v[e+8>>2]=b}if(c){f=c;while(1){b=f;f=b+1|0;if(w[b|0]){continue}break}d:{g=b-c|0;if((g|0)>=0){b=Qa[v[256555]](g+1|0)|0;if(b){break d}nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0)}v[e+52>>2]=0;v[h+32>>2]=233193;nb(0,0,0,0,0,2,2,3,233193,0,0,0,340689,h+32|0);a=v[e+8>>2];if(a){Qa[v[256556]](a)}g=0;Qa[v[256556]](e);break a}b=cb(b,c,g);t[b+g|0]=0;v[e+52>>2]=b}if(d){f=d;while(1){b=f;f=b+1|0;if(w[b|0]){continue}break}e:{c=b-d|0;if((c|0)>=0){b=Qa[v[256555]](c+1|0)|0;if(b){break e}nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0)}v[e+56>>2]=0;v[h+16>>2]=233193;nb(0,0,0,0,0,2,2,3,233193,0,0,0,340689,h+16|0);a=v[e+8>>2];if(a){Qa[v[256556]](a)}a=v[e+52>>2];if(a){Qa[v[256556]](a)}g=0;Qa[v[256556]](e);break a}b=cb(b,d,c);t[b+c|0]=0;v[e+56>>2]=b}if(a){v[a+44>>2]=e;v[e+32>>2]=a;v[e+20>>2]=a;f=v[a+12>>2];f:{if(!f){v[a+12>>2]=e;g=a+16|0;break f}g=a+12|0;if(v[a+4>>2]!=13){g:{while(1){if(v[f+4>>2]==1){break g}f=v[f+24>>2];if(f){continue}break}b=v[a+16>>2];v[e+28>>2]=b;v[b+24>>2]=e;v[e+24>>2]=0;g=a+16|0;break f}v[e+24>>2]=f;a=v[f+28>>2];v[e+28>>2]=a;v[(a?a+24|0:g)>>2]=e;g=f+28|0;break f}v[f+28>>2]=e;v[e+24>>2]=f}v[g>>2]=e}if(v[291069]){g=e;a=v[291066];if(!a){break a}Qa[a|0](e)}g=e}Ma=h- -64|0;return g}function OO(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=v[b>>2];a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{if(!d){break l}g=v[d>>2];if(!g){break l}if(!a){d=c;break j}v[d>>2]=0;d=c;break k}m:{if(!v[v[279293]>>2]){if(!a){break m}if(!c){break a}g=c;while(1){d=t[e|0];if(d){v[a>>2]=d&57343;a=a+4|0;e=e+1|0;g=g-1|0;if(g){continue}break a}break}v[a>>2]=0;v[b>>2]=0;return c-g|0}d=c;if(!a){break i}break g}return zb(e)}f=1;break g}f=0;break h}f=1}while(1){if(!f){f=w[e|0]>>>3|0;if((f-16|f+(g>>26))>>>0>7){break f}h=e+1|0;f=h;n:{if(!(g&33554432)){break n}if((w[h|0]&192)!=128){e=e-1|0;break d}h=e+2|0;f=h;if(!(g&524288)){break n}if((w[h|0]&192)!=128){e=e-1|0;break d}f=e+3|0}e=f;d=d-1|0;f=1;continue}while(1){g=w[e|0];o:{if(e&3|g-1>>>0>126){break o}g=v[e>>2];if((g|g-16843009)&-2139062144){break o}while(1){d=d-4|0;g=v[e+4>>2];f=e+4|0;e=f;if(!((g-16843009|g)&-2139062144)){continue}break}e=f}f=g&255;if(f-1>>>0<=126){d=d-1|0;e=e+1|0;continue}break}f=f-194|0;if(f>>>0>50){break e}e=e+1|0;g=v[(f<<2)+997472>>2];f=0;continue}}while(1){if(!f){if(!d){break a}while(1){p:{f=w[e|0];h=f-1|0;q:{r:{if(h>>>0>126){g=f;break r}if(e&3|d>>>0<5){break q}s:{while(1){g=v[e>>2];if((g|g-16843009)&-2139062144){break s}v[a>>2]=g&255;v[a+4>>2]=w[e+1|0];v[a+8>>2]=w[e+2|0];v[a+12>>2]=w[e+3|0];a=a+16|0;e=e+4|0;d=d-4|0;if(d>>>0>4){continue}break}g=w[e|0]}f=g&255;h=f-1|0}if(h>>>0>126){break p}}v[a>>2]=f;a=a+4|0;e=e+1|0;d=d-1|0;if(d){continue}break a}break}f=f-194|0;if(f>>>0>50){break e}e=e+1|0;g=v[(f<<2)+997472>>2];f=1;continue}h=w[e|0];f=h>>>3|0;if((f-16|f+(g>>26))>>>0>7){break f}t:{u:{i=e+1|0;f=h-128|g<<6;h=i;v:{if((f|0)>-1){break v}h=w[i|0]-128|0;if(h>>>0>63){break u}i=e+2|0;f=h|f<<6;h=i;if((f|0)>-1){break v}h=w[i|0]-128|0;if(h>>>0>63){break u}f=h|f<<6;h=e+3|0}e=h;v[a>>2]=f;d=d-1|0;a=a+4|0;break t}v[296206]=25;e=e-1|0;break c}f=0;continue}}e=e-1|0;if(g){break d}g=w[e|0]}if(g&255){break d}if(a){v[a>>2]=0;v[b>>2]=0}return c-d|0}v[296206]=25;if(!a){break b}}v[b>>2]=e}return-1}v[b>>2]=e;return c}function XQ(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0;g=Ma-48|0;Ma=g;a:{b:{c:{h=v[c+4>>2];f=v[c+12>>2];i=(b|0)<(h|0)?h:(b|0)<(f|0)?b:f-1|0;b=v[a+116>>2];if((i|0)==(b|0)){break c}k=v[a+88>>2];f=k;if((i|0)==v[a+112>>2]){break b}v[a+112>>2]=b;v[a+116>>2]=i;v[a+88>>2]=v[a+100>>2];v[a+100>>2]=k;h=v[a+16>>2];f=v[a+20>>2];if(!(h|f)){b=i-v[d+4>>2]|0;f=v[d>>2];d=v[c+8>>2];c=v[c>>2];if(!v[e+20>>2]){Re(e)}d:{if(!((b|0)>1]&(b|0)>=0)){b=x[e+12>>1];if(v[279246]<(b+x[e+14>>1]|0)){break a}b=b+v[279245]|0;break d}b=v[e+20>>2]+(x[e+12>>1]+B(b,x[e+14>>1])|0)|0}if((c|0)>=(d|0)){break c}d=d-f|0;c=c-f|0;b=b+c|0;while(1){t[k|0]=w[v[a+76>>2]+w[b|0]|0];k=k+1|0;b=b+1|0;c=c+1|0;if((d|0)>(c|0)){continue}break}break c}v[g+8>>2]=v[c>>2]<>2];v[g+20>>2]=i+1<>2]=i<>2]=b<>2]|0,0-v[d+4>>2]|0);b=v[g+12>>2];if(!v[e+20>>2]){Re(e)}e:{f:{if(!((b|0)>1]&(b|0)>=0)){n=x[e+14>>1];b=x[e+12>>1];if(v[279246]<(n+b|0)){break e}f=b+v[279245]|0;break f}n=x[e+14>>1];f=v[e+20>>2]+(x[e+12>>1]+B(b,n)|0)|0}j=v[g+16>>2];i=v[g+8>>2];if((j|0)<=(i|0)){break c}o=v[a+16>>2];A=1<>2];s=o+c|0;u=1<>2]-v[g+12>>2]|0;c=1<(h|0)?h:c;if((y|0)>=1){E=0-b|0;m=v[a+76>>2];b=b+f|0;p=(d|0)<(j|0)?d:j;c=z<>>0<=b>>>0){break g}j=c;if(c){while(1){e=w[w[b|0]+m|0]+e|0;b=b+1|0;j=j-1|0;if(j){continue}break}}if(F>>>0<3){break g}while(1){e=w[w[b+3|0]+m|0]+(w[w[b+2|0]+m|0]+(w[w[b+1|0]+m|0]+(w[w[b|0]+m|0]+e|0)|0)|0)|0;b=b+4|0;if(r>>>0>b>>>0){continue}break}}b=h+n|0;l=(l-h|0)+r|0;q=q+1|0;if((y|0)!=(q|0)){continue}break}}t[k|0]=(l|0)==(C|0)?e+u>>s:(((l|0)/2|0)+e|0)/(l|0)|0;j=v[g+16>>2];if((d|0)>=(j|0)){break c}z=z+1|0;k=k+1|0;c=v[a+20>>2];b=d;continue}}break a}f=v[a+100>>2]}Ma=g+48|0;return f}lb(mb(g+24|0,260021,271561,592,225834));L()}function Bc(a){var b=0,c=0,d=0,e=0,f=0;e=Ma-208|0;Ma=e;a:{if(!a|v[a+172>>2]==-1){break a}c=v[a+36>>2];if(!c){break a}b=v[c+16>>2];if(b>>>0>y[c+20>>2]){v[a+84>>2]=1;v[e>>2]=0;nb(0,0,0,a,0,1,1,3,0,0,0,0,340817,e);v[a+12>>2]=0;if(!v[a+288>>2]){v[a+212>>2]=1}v[a+84>>2]=1;RW(a);break a}b:{if(w[b|0]){break b}if((Zb(c)|0)>0){break b}if(v[a+172>>2]==5){break a}xc(a);break a}d=v[a+36>>2];b=v[d+16>>2];c=w[b|0];c:{d:{e:{if(v[a+256>>2]==1){f:{if((c|0)==10){v[d+32>>2]=1;v[d+28>>2]=v[d+28>>2]+1;break f}v[d+32>>2]=v[d+32>>2]+1}f=w[b|0];g:{if(f&128){if((f|0)==192){break c}c=w[b+1|0];if(!c){Zb(d);d=v[a+36>>2];b=v[d+16>>2];c=w[b+1|0]}if((c&192)!=128){break c}if((f&224)==224){c=w[b+2|0];if(!c){Zb(d);d=v[a+36>>2];b=v[d+16>>2];c=w[b+2|0]}if((c&192)!=128){break c}h:{if((f&240)==240){if(!w[b+3|0]){Zb(d);d=v[a+36>>2];b=v[d+16>>2]}if((f&248)!=240|(w[b+3|0]&192)!=128){break c}c=b+3|0;v[d+16>>2]=b+4;f=(w[b+1|0]&63)<<12|(w[b|0]&7)<<18;b=(w[b+2|0]&63)<<6;break h}c=b+2|0;v[d+16>>2]=b+3;f=(w[b+1|0]&63)<<6;b=(w[b|0]&15)<<12}b=b|f;c=b|w[c|0]&63;if(!((b&2095104)==55296|c>>>0>1114111)&(c&2097150)!=65534){break g}bA(a,343527,c);d=v[a+36>>2];break g}v[d+16>>2]=b+2;break g}v[d+16>>2]=b+1}v[a+200>>2]=v[a+200>>2]+1;if(!w[v[d+16>>2]]){break e}break d}i:{if((c|0)==10){v[d+32>>2]=1;v[d+28>>2]=v[d+28>>2]+1;break i}v[d+32>>2]=v[d+32>>2]+1}v[d+16>>2]=b+1;v[a+200>>2]=v[a+200>>2]+1;if(w[b+1|0]){break d}}Zb(d)}b=v[a+36>>2];c=w[v[b+16>>2]];if((c|0)==37){if(v[a+32>>2]){break a}zc(a);b=v[a+36>>2];c=w[v[b+16>>2]]}if(c&255){break a}if((Zb(b)|0)>0){break a}xc(a);break a}j:{if((v[d+20>>2]-b|0)<=3){if(v[a+172>>2]==-1?v[a+212>>2]:0){break j}v[a+84>>2]=9;v[e+16>>2]=0;v[e+20>>2]=0;nb(0,0,0,a,0,1,9,3,0,0,0,0,347900,e+16|0);v[a+12>>2]=0;if(v[a+288>>2]){break j}v[a+212>>2]=1;break j}c=w[b|0];d=w[b+1|0];f=w[b+2|0];v[e+44>>2]=w[b+3|0];v[e+40>>2]=f;v[e+36>>2]=d;v[e+32>>2]=c;c=e+48|0;_i(c,149,345390,e+32|0);Yj(a,9,237149,c)}v[a+256>>2]=10;a=v[a+36>>2];v[a+16>>2]=v[a+16>>2]+1}Ma=e+208|0}function TZ(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;v[a+168>>2]=f;n=a+168|0;v[a+48>>2]=n;i=v[a+64>>2];v[a+192>>2]=v[a+60>>2];v[a+196>>2]=i;v[a+188>>2]=c;v[a+184>>2]=b;v[a+180>>2]=e;v[a+176>>2]=d;v[a+172>>2]=g;g=n;while(1){j=v[g+12>>2];m=v[g+20>>2];b=(j|0)<(m|0);i=v[g+4>>2];e=v[g+28>>2];k=(i|0)<(e|0);a:{b:{if(!(((b?m:j)|0)<=((k?e:i)|0)&((b?j:m)|0)>=((k?i:e)|0))){b=v[g+24>>2];v[g+48>>2]=b;v[g+52>>2]=e;c=e+m|0;v[g+44>>2]=c>>1;d=i+j|0;v[g+12>>2]=d>>1;e=v[g+8>>2];k=e+f|0;v[g+8>>2]=k>>1;l=b;b=v[g+16>>2];h=l+b|0;v[g+40>>2]=h>>1;l=c;c=j+m|0;j=l+c|0;v[g+36>>2]=j>>2;c=c+d|0;v[g+20>>2]=c>>2;b=b+e|0;d=b+k|0;v[g+16>>2]=d>>2;e=b+h|0;v[g+32>>2]=e>>2;b=3;v[g+28>>2]=c+j>>3;v[g+24>>2]=d+e>>3;break b}b=-3;if((e|0)==(i|0)){break b}o=k?2:1;c=v[a+92>>2];if((o|0)!=(c|0)){b=v[a+4>>2];d=k?e&b-1:((b+e|0)-1&0-b)-e|0;l=v[a+8>>2];if(c){b=v[a+36>>2];h=v[a+80>>2];c=b-v[h+8>>2]|0;if((c|0)<=-1){v[a+40>>2]=99;return 1}c:{if(!c){c=b;break c}v[h+16>>2]=c>>2;if((d|0)>=(l|0)){c=x[h+12>>1];u[h+12>>1]=(c&8?16:32)|c}v[a+80>>2]=b;c=b+32|0;v[a+36>>2]=c;v[b+8>>2]=c;v[b+16>>2]=0;v[h+28>>2]=b;u[a+76>>1]=x[a+76>>1]+1}if(y[a+32>>2]<=c>>>0){v[a+40>>2]=98;return 1}t[a+79|0]=0}d:{if(v[a+84>>2]){c=v[a+36>>2];break d}b=v[a+36>>2];v[a+84>>2]=b;v[a+80>>2]=b;c=b+32|0;v[a+36>>2]=c}if(y[a+32>>2]<=c>>>0){v[a+40>>2]=98;return 1}b=v[a+80>>2];v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=c;v[b+28>>2]=0;v[b+4>>2]=0;h=w[a+164|0];u[b+12>>1]=h;e:{f:{if(!k){u[b+12>>1]=h|8;c=40;if((d|0)>=(l|0)){break f}break e}c=16;if((d|0)<(l|0)){break e}}u[b+12>>1]=c|h}if(!v[a+88>>2]){v[a+88>>2]=b}u[a+78>>1]=1;v[a+92>>2]=o}b=v[a+72>>2];c=v[a+68>>2];if(!k){if(!GA(a,3,2348,c,b)){break a}return 1}v[g+28>>2]=0-e;v[g+20>>2]=0-m;v[g+12>>2]=0-j;v[g+4>>2]=0-i;d=w[a+78|0];b=GA(a,3,2348,0-b|0,0-c|0);if(!(w[a+78|0]|!d)){c=v[a+80>>2];v[c+20>>2]=0-v[c+20>>2]}v[g+4>>2]=0-v[g+4>>2];if(!b){break a}return 1}v[a+48>>2]=(b<<3)+g}g=v[a+48>>2];if(n>>>0<=g>>>0){f=v[g>>2];continue}break}v[a+64>>2]=i;v[a+60>>2]=f;return 0}function IW(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=Ma-2128|0;Ma=d;e=d+2096|0;v[e>>2]=0;v[e+4>>2]=0;e=d+2104|0;v[e>>2]=0;v[e+4>>2]=0;t[d+2112|0]=0;v[d+2080>>2]=0;v[d+2084>>2]=0;v[d+2088>>2]=0;v[d+2092>>2]=0;eb(d+1040|0,0,1028);f=eb(d,255,1028);v[c+1024>>2]=1;i=1e9;j=-1;a:while(1){d=v[(h<<2)+c>>2];e=!d|(d|0)>(i|0);i=e?i:d;j=e?j:h;g=1e9;d=0;e=-1;h=h+1|0;if((h|0)!=257){continue}while(1){h=v[(d<<2)+c>>2];l=!h|(g|0)<(h|0)|(d|0)==(j|0);i=l?e:d;e=d|1;if((e|0)==257){if((i|0)<=-1){d=0;while(1){c=v[(f+1040|0)+(d<<2)>>2];if(c){if((c|0)>=33){e=v[a>>2];v[e+20>>2]=40;Qa[v[e>>2]](a)}c=c+(f+2080|0)|0;t[c|0]=w[c|0]+1}d=d+1|0;if((d|0)!=257){continue}break}a=32;while(1){c=a-1|0;i=(f+2080|0)+a|0;j=w[i|0];if(j){g=a-2|0;h=c+(f+2080|0)|0;while(1){d=g;while(1){e=d;d=d-1|0;k=e+(f+2080|0)|0;if(!w[k|0]){continue}break}t[i|0]=j-2;t[h|0]=w[h|0]+1;d=(e+f|0)+2081|0;t[d|0]=w[d|0]+2;t[k|0]=w[k|0]-1;j=w[i|0];if(j){continue}break}}d=a>>>0>17;a=c;if(d){continue}break}d=16;while(1){a=(f+2080|0)+d|0;d=d-1|0;c=w[a|0];if(!c){continue}break}t[a|0]=c-1;t[b+16|0]=w[f+2096|0];a=v[f+2092>>2];v[b+8>>2]=v[f+2088>>2];v[b+12>>2]=a;a=v[f+2084>>2];v[b>>2]=v[f+2080>>2];v[b+4>>2]=a;e=0;g=1;while(1){d=0;while(1){if(v[(f+1040|0)+(d<<2)>>2]==(g|0)){t[(b+e|0)+17|0]=d;e=e+1|0}a=d|1;if(v[(f+1040|0)+(a<<2)>>2]==(g|0)){t[(b+e|0)+17|0]=a;e=e+1|0}d=d+2|0;if((d|0)!=256){continue}break}g=g+1|0;if((g|0)!=33){continue}break}v[b+276>>2]=0;Ma=f+2128|0;return}d=j<<2;e=d+c|0;l=e;k=v[e>>2];g=i<<2;e=g+c|0;v[l>>2]=k+v[e>>2];v[e>>2]=0;e=d+(f+1040|0)|0;v[e>>2]=v[e>>2]+1;e=d+f|0;d=v[e>>2];if((d|0)>=0){while(1){d=d<<2;e=d+(f+1040|0)|0;v[e>>2]=v[e>>2]+1;e=d+f|0;d=v[e>>2];if((d|0)>-1){continue}break}}v[e>>2]=i;d=g+(f+1040|0)|0;v[d>>2]=v[d>>2]+1;h=0;i=1e9;j=-1;d=v[f+g>>2];if((d|0)<0){continue a}while(1){d=d<<2;e=d+(f+1040|0)|0;v[e>>2]=v[e>>2]+1;d=v[d+f>>2];if((d|0)>-1){continue}break}continue a}else{k=v[(e<<2)+c>>2];g=l?g:h;h=!k|(k|0)>(g|0)|(e|0)==(j|0);g=h?g:k;e=h?i:e;d=d+2|0;continue}}}}function tCa(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,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0;z=Ma-400|0;Ma=z;A=v[a+332>>2];a=v[b+84>>2];b=z;while(1){j=v[a+192>>2];o=u[c+96>>1];k=v[a+64>>2];n=u[c+32>>1];l=B(u[c>>1],v[a>>2])<<13|1024;g=B(v[a+128>>2],u[c+64>>1]);m=l+B(g,-11586)>>11;i=B(v[a+224>>2],u[c+112>>1]);f=B(v[a+32>>2],u[c+16>>1]);h=B(v[a+96>>2],u[c+48>>1]);r=f-h|0;p=B(v[a+160>>2],u[c+80>>1]);q=i+(r-p|0)<<2;v[b+280>>2]=m-q;v[b+84>>2]=m+q;o=B(j,o);k=B(k,n);n=B(o+k|0,9058);m=n+B(o,-14084)|0;q=l+B(g,2578)|0;x=m+q|0;j=i<<13;i=B(h+p|0,-1297)-j|0;C=B(f+h|0,10935);y=i+(C+B(h,-3474)|0)|0;v[b+336>>2]=x-y>>11;v[b+28>>2]=x+y>>11;o=B(o,-11295)+B(k,5027)|0;x=l+B(g,-7223)|0;y=o+x|0;s=i;i=f+p|0;D=B(i,9810);s=s+(D+B(p,-19447)|0)|0;v[b+308>>2]=y-s>>11;v[b+56>>2]=y+s>>11;m=q-m|0;r=B(r,3826)-j|0;s=B(h,5529);h=B(p-h|0,11512);q=r+(s+h|0)|0;v[b+224>>2]=m-q>>11;v[b+140>>2]=m+q>>11;g=l+B(g,10438)|0;l=n+B(k,2237)|0;k=g-l|0;n=B(i,6164);m=r+(n+B(f,-8693)|0)|0;v[b+196>>2]=k-m>>11;v[b+168>>2]=k+m>>11;g=g+l|0;f=j+((B(f,-9232)+C|0)+D|0)|0;v[b+364>>2]=g-f>>11;v[b>>2]=f+g>>11;f=x-o|0;h=j+(n+(h+B(p,-13850)|0)|0)|0;v[b+252>>2]=f-h>>11;v[b+112>>2]=f+h>>11;b=b+4|0;a=a+4|0;c=c+2|0;E=E+1|0;if((E|0)!=7){continue}break}a=A+128|0;h=0;b=z;while(1){p=v[b+16>>2];f=v[b+24>>2];g=B(p-f|0,7223);c=v[(h<<2)+d>>2]+e|0;l=v[b+12>>2];j=v[b+4>>2];k=B(l+j|0,7663);n=B(j-l|0,1395);i=j;j=v[b+20>>2];A=B(i+j|0,5027);m=(k-n|0)+A|0;s=g+B(f,-637)|0;o=(v[b>>2]<<13)+131072|0;i=f;f=v[b+8>>2];r=i+f|0;i=o+B(r,10438)|0;q=s+i|0;t[c|0]=w[a+(m+q>>>18&1023)|0];t[c+6|0]=w[a+(q-m>>>18&1023)|0];l=B(j+l|0,-11295);k=l+(k+n|0)|0;n=B(f-p|0,2578);g=g+(n+(o+B(p,-15083)|0)|0)|0;t[c+1|0]=w[a+(k+g>>>18&1023)|0];t[c+5|0]=w[a+(g-k>>>18&1023)|0];g=l+(A+B(j,15326)|0)|0;f=i+(n+B(f,-20239)|0)|0;t[c+2|0]=w[a+(g+f>>>18&1023)|0];t[c+4|0]=w[a+(f-g>>>18&1023)|0];t[c+3|0]=w[a+(o+B(p-r|0,11585)>>>18&1023)|0];b=b+28|0;h=h+1|0;if((h|0)!=14){continue}break}Ma=z+400|0}function rFa(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,n=0,o=0,p=0,q=0,r=0,s=0,y=0,z=0,A=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=v[b+84>>2];j=B(v[b+108>>2],u[c+54>>1]);f=B(v[b+44>>2],u[c+22>>1]);g=B(j+f|0,4433)+1024|0;k=B(v[b+100>>2],u[c+50>>1]);h=B(v[b+36>>2],u[c+18>>1]);i=B(k+h|0,4433)+1024|0;m=B(v[b+76>>2],u[c+38>>1]);n=B(v[b+12>>2],u[c+6>>1]);y=m+n<<2;z=g+B(f,6270)>>11;o=y+z|0;p=B(v[b+68>>2],u[c+34>>1]);q=B(v[b+4>>2],u[c+2>>1]);A=p+q<<2;C=i+B(h,6270)>>11;l=A+C|0;h=B(o+l|0,4433);f=v[d>>2]+e|0;a=v[a+332>>2]+128|0;r=B(v[b+64>>2],x[c+32>>1]);D=B(v[b>>2],x[c>>1]);E=r+D<<2;F=B(v[b+96>>2],u[c+48>>1]);s=B(v[b+32>>2],u[c+16>>1]);G=B(F+s|0,4433)+1024|0;s=G+B(s,6270)>>11;H=(E+s|0)+16|0;I=B(v[b+72>>2],x[c+36>>1]);J=B(v[b+8>>2],x[c+4>>1]);K=I+J<<2;L=B(v[b+104>>2],u[c+52>>1]);b=B(v[b+40>>2],u[c+20>>1]);M=B(L+b|0,4433)+1024|0;N=M+B(b,6270)>>11;b=K+N|0;c=H+b<<13;l=h+B(l,6270)|0;t[f|0]=w[a+(c+l>>>18&1023)|0];t[f+3|0]=w[a+(c-l>>>18&1023)|0];c=h+B(o,-15137)|0;b=H-b<<13;t[f+1|0]=w[a+(c+b>>>18&1023)|0];t[f+2|0]=w[a+(b-c>>>18&1023)|0];f=g+B(j,-15137)>>11;g=n-m<<2;h=f+g|0;i=i+B(k,-15137)>>11;j=q-p<<2;k=i+j|0;c=B(h+k|0,4433);b=v[d+4>>2]+e|0;k=c+B(k,6270)|0;m=B(F,-15137)+G>>11;n=D-r<<2;o=(m+n|0)+16|0;p=B(L,-15137)+M>>11;q=J-I<<2;l=p+q|0;r=o+l<<13;t[b|0]=w[a+(k+r>>>18&1023)|0];t[b+3|0]=w[a+(r-k>>>18&1023)|0];c=c+B(h,-15137)|0;h=o-l<<13;t[b+1|0]=w[a+(c+h>>>18&1023)|0];t[b+2|0]=w[a+(h-c>>>18&1023)|0];f=g-f|0;g=j-i|0;c=B(f+g|0,4433);b=v[d+8>>2]+e|0;g=c+B(g,6270)|0;i=(n-m|0)+16|0;h=q-p|0;j=i+h<<13;t[b|0]=w[a+(g+j>>>18&1023)|0];t[b+3|0]=w[a+(j-g>>>18&1023)|0];c=c+B(f,-15137)|0;f=i-h<<13;t[b+1|0]=w[a+(c+f>>>18&1023)|0];t[b+2|0]=w[a+(f-c>>>18&1023)|0];f=y-z|0;g=A-C|0;c=B(f+g|0,4433);b=v[d+12>>2]+e|0;d=c+B(g,6270)|0;e=(E-s|0)+16|0;g=K-N|0;i=e+g<<13;t[b|0]=w[a+(d+i>>>18&1023)|0];t[b+3|0]=w[a+(i-d>>>18&1023)|0];c=c+B(f,-15137)|0;d=e-g<<13;t[b+1|0]=w[a+(c+d>>>18&1023)|0];t[b+2|0]=w[a+(d-c>>>18&1023)|0]}function ZE(a,b,c,d,e){var f=0,g=0,h=0,i=0;g=Ma-16|0;Ma=g;f=Sp(172);Xr(f);v[f+8>>2]=0;v[f+12>>2]=0;v[f>>2]=971804;v[f+16>>2]=0;v[f+20>>2]=0;v[f+24>>2]=0;v[f+28>>2]=0;v[f+32>>2]=0;v[f+36>>2]=0;v[f+40>>2]=0;v[f+44>>2]=0;v[f+48>>2]=0;v[f+52>>2]=0;h=v[279250];v[f+68>>2]=0;v[f+64>>2]=h;v[f+60>>2]=0;v[f+56>>2]=h;zg(f+72|0);v[f+124>>2]=0;v[f+116>>2]=0;v[f+120>>2]=0;v[f+108>>2]=0;v[f+112>>2]=0;v[f+112>>2]=970612;v[f+116>>2]=0;v[f+120>>2]=0;v[f+124>>2]=0;v[f+148>>2]=0;t[f+144|0]=0;v[f+140>>2]=-1;t[f+136|0]=0;v[f+132>>2]=0;v[f+164>>2]=0;v[f+156>>2]=0;v[f+160>>2]=0;v[a>>2]=0;qb(a,f);Qa[v[v[f>>2]+56>>2]](f,d);Qa[v[v[f>>2]+60>>2]](f,e);a=g;d=v[c>>2];if(d){v[d+4>>2]=v[d+4>>2]+1;c=v[c>>2]}else{c=0}v[a+8>>2]=c;h=g+8|0;e=Ma-48|0;Ma=e;a:{b:{c:{d:{if(!w[f+144|0]){if(!v[f+4>>2]){break d}a=v[b+8>>2];if(!a|!v[a+8>>2]){break b}Sf(e+24|0,b);a=v[e+24>>2];if(!a){db(e+24|0);break b}a=v[a+8>>2];db(e+24|0);if(!a){break b}i=f+72|0;Rf(i,b);v[f+152>>2]=0;v[f+68>>2]=0;a=Mf();jo(a,f,f);c=a;d=f;b=v[h>>2];if(!b){b=Sp(8);v[b>>2]=0;v[b+4>>2]=0;Xr(b);v[b>>2]=972832;jb(h,qb(f+164|0,b));b=v[h>>2]}jo(c,d,b);t[f+144|0]=1;b=e+16|0;Qa[v[v[a>>2]+16>>2]](b,a,f,i);a=e+24|0;Tu(a,b,0,-1);b=v[jb(f+108|0,a)>>2];a=v[e+24>>2];v[e+24>>2]=0;e:{if(!a){break e}c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(c){break e}c=v[a+4>>2];if(!c){v[a+4>>2]=-32767}if(!c){Qa[v[v[a>>2]+4>>2]](a)}}a=v[e+16>>2];v[e+16>>2]=0;f:{if(!a){break f}c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(c){break f}c=v[a+4>>2];if(!c){v[a+4>>2]=-32767}if(!c){Qa[v[v[a>>2]+4>>2]](a)}}if(!b){break c}es(v[f+108>>2],0,-1,3749,f);Ma=e+48|0;break a}lb(mb(e+24|0,231598,241865,230,331117));L()}lb(mb(e+24|0,290362,241865,232,331117));L()}a=e+8|0;Sf(a,i);Rc(e+16|0,348785,a);a=v[e+16>>2];lb(mb(e+24|0,v[(a?a+12|0:1117e3)>>2],241865,253,331117));L()}lb(mb(e+24|0,310964,241865,234,331117));L()}a=v[g+8>>2];v[g+8>>2]=0;g:{if(!a){break g}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break g}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=g+16|0} -function KIa(a,b){a=a|0;b=b|0;var 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;f=Ma-16|0;Ma=f;i=v[b+16>>2];n=v[a+492>>2];Qa[v[b+28>>2]](b);e=v[b>>2];a:{if(!(e>>>0>=y[b+8>>2]|w[e|0]!=91)){Qa[v[b+32>>2]](b);Qa[v[b+28>>2]](b);a=v[b>>2];if(a>>>0>2]&w[a|0]==93){break a}v[b+12>>2]=3;break a}e=Qa[v[b+36>>2]](b)|0;if((e|0)<=-1){v[b+12>>2]=3;break a}b:{d=v[b+8>>2];g=v[b>>2];c:{if(d>>>0>>0){break c}d=d-g>>3;if((d|0)>=(e|0)){break c}if(v[b+368>>2]){e=d;break c}e=cc(i,24,f+12|0);v[b+368>>2]=e;c=v[f+12>>2];if(c){break b}g=Ma-16|0;Ma=g;v[e+16>>2]=1905;v[e+12>>2]=1906;v[e+8>>2]=0;v[e>>2]=80;v[e+4>>2]=241;o=e,p=yb(i,4,0,241,0,g+12|0),v[o+20>>2]=p;Ma=g+16|0;c=v[g+12>>2];v[f+12>>2]=c;e=d;if(c){break b}}Qa[v[b+32>>2]](b);if(v[b+12>>2]){break a}j=b+316|0;Qa[v[b+28>>2]](b);if(!v[b+312>>2]){c=Qa[v[v[n>>2]>>2]](j,e,i)|0;v[f+12>>2]=c;if(c){break b}}d=v[b>>2];d:{if(y[b+8>>2]<=d+4>>>0){break d}g=0;while(1){if(Kb(d,240570,3)){break d}Qa[v[b+32>>2]](b);d=Qa[v[b+36>>2]](b)|0;k=v[v[a+128>>2]+52>>2];c=v[b+8>>2];Qa[v[b+28>>2]](b);e:{h=v[b>>2];f:{if(h>>>0>=c>>>0|w[h|0]-48>>>0>9){break f}h=Qa[v[b+36>>2]](b)|0;Qa[v[b+32>>2]](b);if((h|0)<0){break f}l=c;c=v[b>>2];m=c+1|0;if((h|0)<(l-m|0)){break e}}if(k){break a}v[b+12>>2]=3;break a}v[b>>2]=(c+h|0)+1;if(v[b+12>>2]){break a}Qa[v[b+32>>2]](b);if(v[b+12>>2]){break a}Qa[v[b+28>>2]](b);c=v[b>>2];g:{if(y[b+8>>2]<=c+4>>>0){break g}if(Kb(c,225437,3)){break g}Qa[v[b+32>>2]](b);Qa[v[b+28>>2]](b)}c=v[b+368>>2];if(c){dB(d,g,c,i);d=g}if(!v[b+312>>2]){c=v[a+172>>2];h:{if((c|0)>=0){if(c>>>0>h>>>0){c=3;v[f+12>>2]=3;break b}k=cc(i,h,f+12|0);c=v[f+12>>2];if(c){break b}c=cb(k,m,h);Qa[v[n+16>>2]](c,h,4330);l=d;d=v[a+172>>2];o=f,p=Qa[v[b+360>>2]](j,l,d+c|0,h-d|0)|0,v[o+12>>2]=p;if(c){Qa[v[i+8>>2]](i,c)}c=v[f+12>>2];break h}c=Qa[v[b+360>>2]](j,d,m,h)|0;v[f+12>>2]=c}if(c){break b}}g=g+1|0;d=v[b>>2];if(y[b+8>>2]>d+4>>>0){continue}break}}if(v[b+312>>2]){break a}v[b+312>>2]=e;break a}v[b+12>>2]=c}Ma=f+16|0}function gZ(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=C(0),k=0,l=0,m=0,n=0,o=0,p=0,q=C(0),r=0;h=Ma-16|0;Ma=h;e=t[a+48|0];i=v[a+28>>2];n=v[a>>2];d=v[a+24>>2];a:{b:{if((d|0)>v[a+32>>2]){if((e|0)>26){break a}d=e+1|0;break b}if((e|0)<1|(d|0)>=v[a+36>>2]){break a}d=e-1|0}c:{if(v[b>>2]>0){break c}t[a+48|0]=d;d=v[(d<<2)+836480>>2];v[a+28>>2]=d;c=Fg(B(d,12));v[a>>2]=c;if(!c){v[b>>2]=7;break c}f=v[a+28>>2];e=B(f,12)+c|0;d:{if(e>>>0<=c>>>0){break d}d=B(f,12)-1|0;g=((d>>>0)/12|0)+1&7;if(g){while(1){v[c+8>>2]=0;v[c>>2]=-2147483647;v[c+4>>2]=0;c=c+12|0;g=g-1|0;if(g){continue}break}}if(d>>>0<84){break d}while(1){v[c+8>>2]=0;v[c+12>>2]=-2147483647;v[c>>2]=-2147483647;v[c+4>>2]=0;v[c+24>>2]=-2147483647;v[c+28>>2]=0;v[c+36>>2]=-2147483647;v[c+40>>2]=0;v[c+48>>2]=-2147483647;v[c+52>>2]=0;v[c+60>>2]=-2147483647;v[c+64>>2]=0;v[c+84>>2]=-2147483647;v[c+16>>2]=0;v[c+20>>2]=0;v[c+32>>2]=0;v[c+44>>2]=0;v[c+56>>2]=0;v[c+68>>2]=0;v[c+72>>2]=-2147483647;v[c+76>>2]=0;v[c+80>>2]=0;v[c+88>>2]=0;v[c+92>>2]=0;c=c+96|0;if(e>>>0>c>>>0){continue}break}}v[a+24>>2]=0;e=a;q=C(f|0);j=C(z[a+44>>2]*q);e:{if(C(D(j))>2]=d;e=a;j=C(z[a+40>>2]*q);f:{if(C(D(j))>2]=d;if(v[b>>2]>0){break c}if((i|0)>0){while(1){d=i-1|0;k=B(d,12)+n|0;m=v[k>>2];if((m|0)>=0){v[h+8>>2]=v[k+8>>2];o=v[a>>2];g=0;f=-1;b=v[a+28>>2];e=(m^67108864)%(b|0)|0;c=e;g:{h:{i:{while(1){r=B(c,12);l=r+o|0;p=v[l>>2];j:{if((p|0)==(m|0)){b=v[a+8>>2];v[h+4>>2]=v[h+8>>2];v[h>>2]=v[(o+r|0)+8>>2];if(Qa[b|0](h+4|0,h)|0){break g}b=v[a+28>>2];break j}if((p|0)>-1){break j}if((p|0)==-2147483647){break i}f=(f|0)<0?c:f}g=g?g:((m|0)%(b-1|0)|0)+1|0;c=(g+c|0)%(b|0)|0;if((e|0)!=(c|0)){continue}break}if((f|0)>-1){break h}f=e;break h}f=(f|0)>-1?f:c}l=B(f,12)+o|0}v[l+8>>2]=v[k+8>>2];v[l+4>>2]=v[k+4>>2];v[l>>2]=v[k>>2];v[a+24>>2]=v[a+24>>2]+1}b=(i|0)>1;i=d;if(b){continue}break}}Nd(n);break a}v[a+28>>2]=i;v[a>>2]=n}Ma=h+16|0}function tAa(a,b){a=a|0;b=b|0;var 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,x=0,y=0;m=v[a+4>>2];i=w[m+36|0];k=i?-1:0;f=v[m+44>>2];j=f>>>16|0;c=v[a+24>>2];s=v[a+20>>2];g=v[a+16>>2];n=v[a+12>>2];e=v[a+8>>2];d=!(f&16777216);a:{b:{while(1){if(!d){i=0;c:{d=s-g>>1;h=n-e|0;h=(d|0)<(h|0)?d:h;d:{if((h|0)<1){d=e;break d}d=e;while(1){e=w[d|0];d=d+1|0;e:{if(!((e|0)!=92&(e-32&255)>>>0<94)){if(1<>>0<=13:0){break e}t[m+37|0]=e;v[b>>2]=12;i=1;break d}if((e|0)==43){break c}}u[g>>1]=e;if(c){v[c>>2]=k;k=k+1|0;c=c+4|0}else{c=0}g=g+2|0;e=(h|0)>1;h=h-1|0;if(e){continue}break}}o=16777216;if(d>>>0>=n>>>0){break a}p=15;if(g>>>0>=s>>>0){break b}break a}j=255;f=0;k=k+1|0;r=k;e=d;d=1;continue}if(e>>>0>=n>>>0){o=0;d=e;break a}o=0;p=15;d=e;h=k;f:{g:{h:{while(1){x=i;k=r;e=d;if(g>>>0>=s>>>0){break f}q=w[e|0];t[((x&255)+m|0)+37|0]=q;i=x+1|0;d=e+1|0;i:{j:{if(q>>>0>125){l=253;break j}y=w[q+842992|0];l=y<<24>>24;if((y&253)!=253){break i}}if((j&255)==255){t[m+37|0]=43;o=16777216;i=1;p=12;j=255;d=e;break b}o=16777216;p=12;if(f&65535){break f}f=0;if((l&255)!=253){break g}break b}r=k+1|0;k:{l:{if((l|0)>=0){m:{switch((j<<24>>24)+1|0){case 2:case 4:case 5:case 7:j=j+1|0;f=(f&65535)<<6|l;break k;case 3:u[g>>1]=f<<4|l>>>2;if(c){v[c>>2]=h;h=k;c=c+4|0}else{c=0}g=g+2|0;t[m+37|0]=q;j=3;f=l&3;i=1;break k;case 6:u[g>>1]=f<<2|l>>>4;if(c){v[c>>2]=h;h=k;c=c+4|0}else{c=0}g=g+2|0;t[m+37|0]=q;f=l&15;j=6;i=1;break k;case 0:case 1:break l;case 8:break m;default:break k}}u[g>>1]=f<<6|l;g=g+2|0;if(!c){c=0;i=0;f=0;j=0;break k}v[c>>2]=h;c=c+4|0;i=0;f=0;j=0;h=r;break k}n:{if((j&255)==255){u[g>>1]=43;g=g+2|0;if(c){v[c>>2]=h-1;c=c+4|0}else{c=0}j=255;break n}if(f&65535){break h}f=0}k=r;e=d;break g}f=l&255;j=1}if((d|0)!=(n|0)){continue}break}d=n;break a}o=16777216;p=12;break b}d=0;continue}break}i=x;d=e}v[b>>2]=p}t[m+36|0]=!w[a+2|0]|v[b>>2]>0?i:(d|0)==(n|0)?f&65535?i:0:i;v[m+44>>2]=f&65535|((j&255)<<16|o);v[a+24>>2]=c;v[a+16>>2]=g;v[a+8>>2]=d}function QG(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=Ma-16|0;Ma=i;a:{b:{e=v[c>>2];if((e|0)>2]){while(1){v[c>>2]=e+1;e=v[v[b>>2]+(e<<2)>>2];f=v[e+4>>2];g=t[f|0];c:{if(!(g-48>>>0>=10&(g-45&255)>>>0>1)){l=Ue(f);h=v[d>>2];e=v[a+1056>>2];d:{if((h|0)<(e|0)){e=v[a+1048>>2];break d}e=e?e<<1:16;v[a+1056>>2]=e;e=yc(v[a+1048>>2],e,16);v[a+1048>>2]=e;h=v[d>>2]}v[(h<<4)+e>>2]=40;A[((v[d>>2]<<4)+e|0)+8>>3]=l;v[d>>2]=v[d>>2]+1;break c}if(!Ec(e,217551)){e=v[d>>2];f=v[a+1056>>2];e:{if((e|0)<(f|0)){h=v[a+1048>>2];f=e;break e}f=f?f<<1:16;v[a+1056>>2]=f;h=yc(v[a+1048>>2],f,16);v[a+1048>>2]=h;f=v[d>>2]}v[(f<<4)+h>>2]=42;v[((v[d>>2]<<4)+h|0)+8>>2]=0;v[d>>2]=v[d>>2]+1;g=0;if(!QG(a,b,c,d)){break a}f=v[c>>2];if((f|0)>=v[b+8>>2]){fb(1,-1,256754,0);g=0;break a}v[c>>2]=f+1;f=v[v[b>>2]+(f<<2)>>2];if(!Ec(f,273334)){v[(v[a+1048>>2]+(e<<4)|0)+8>>2]=v[d>>2];break c}if(!Ec(f,217551)){f=v[d>>2];g=v[a+1056>>2];f:{if((f|0)<(g|0)){h=v[a+1048>>2];g=f;break f}g=g?g<<1:16;v[a+1056>>2]=g;h=yc(v[a+1048>>2],g,16);v[a+1048>>2]=h;g=v[d>>2]}v[(g<<4)+h>>2]=41;v[((v[d>>2]<<4)+h|0)+8>>2]=0;g=v[d>>2]+1|0;v[d>>2]=g;v[(v[a+1048>>2]+(e<<4)|0)+8>>2]=g;g=0;if(!QG(a,b,c,d)){break a}e=v[c>>2];if((e|0)>=v[b+8>>2]){fb(1,-1,256754,0);g=0;break a}v[c>>2]=e+1;if(!Ec(v[v[b>>2]+(e<<2)>>2],276870)){v[(v[a+1048>>2]+(f<<4)|0)+8>>2]=v[d>>2];break c}fb(1,-1,256706,0);g=0;break a}fb(1,-1,256612,0);g=0;break a}g=1;if(!Ec(e,217547)){break a}if(!Ec(e,273334)){fb(1,-1,256566,0);g=0;break a}if(!Ec(e,276870)){break b}f=40;h=-1;while(1){g=(f+h|0)/2|0;j=Ec(e,v[(g<<2)+886832>>2]);k=(j|0)>0;f=k?f:g;h=k?g:(j|0)<0?h:g;if((f-h|0)>1){continue}break}if(j){v[i>>2]=e;fb(1,-1,246420,i);g=0;break a}e=v[d>>2];f=v[a+1056>>2];g:{if((e|0)<(f|0)){f=v[a+1048>>2];break g}e=f?f<<1:16;v[a+1056>>2]=e;f=yc(v[a+1048>>2],e,16);v[a+1048>>2]=f;e=v[d>>2]}v[(e<<4)+f>>2]=h;v[d>>2]=v[d>>2]+1}e=v[c>>2];if((e|0)>2]){continue}break}}fb(1,-1,256754,0);g=0;break a}fb(1,-1,256656,0);g=0}Ma=i+16|0;return g}function Eva(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,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,y=0;c=Ma-160|0;Ma=c;a:{if(w[a+208|0]){break a}i=B(e,f)<<2;if((i|0)<1){break a}y=A[b+104>>3];j=ab(i);i=c+128|0;v[i+12>>2]=0;v[i+16>>2]=0;v[i+4>>2]=1;v[i+8>>2]=8;v[i>>2]=360452;v[i+20>>2]=0;v[i+24>>2]=0;t[i+28|0]=0;r=i;v[c+48>>2]=e;v[c+96>>2]=f;v[c+40>>2]=0-(e<<2);Uo(i,j,c+48|0,c+96|0,c+40|0);q=v[g+8>>2];s=ab(36);o=cq(s,d,e,q,v[g+4>>2]);d=v[o>>2];Qa[v[v[d>>2]+20>>2]](d);i=255;b:{if(!w[a+202|0]){break b}l=A[b+392>>3]*255;if(l<4294967296&l>=0){i=~~l>>>0;break b}i=0}v[c+120>>2]=0;v[c+124>>2]=0;v[c+112>>2]=0;v[c+116>>2]=0;v[c+104>>2]=0;v[c+108>>2]=0;v[c+96>>2]=0;v[c+100>>2]=0;c:{if((f|0)<1|(e|0)<1){break c}d=f-1|0;if(!h){while(1){k=B(d,e);h=0;while(1){f=c+96|0;ll(o,f);ws(g,f,c+48|0);m=(h+k<<2)+j|0;t[m|0]=B(v[c+56>>2],255)+32768>>>16;t[m+1|0]=B(v[c+52>>2],255)+32768>>>16;f=v[c+48>>2];t[m+3|0]=i;t[m+2|0]=B(f,255)+32768>>>16;h=h+1|0;if((h|0)!=(e|0)){continue}break}f=(d|0)>0;d=d-1|0;if(f){continue}break c}}while(1){m=B(d,e);p=0;while(1){k=c+96|0;ll(o,k);f=0;ws(g,k,c+48|0);n=(m+p<<2)+j|0;t[n|0]=B(v[c+56>>2],255)+32768>>>16;t[n+1|0]=B(v[c+52>>2],255)+32768>>>16;k=v[c+48>>2];t[n+3|0]=i;t[n+2|0]=B(k,255)+32768>>>16;d:{if((q|0)>0){while(1){k=w[(c+96|0)+f|0];u=f<<3;if((k|0)>2]|(k|0)>v[(u|4)+h>>2]){break d}f=f+1|0;if((q|0)!=(f|0)){continue}break}}t[n+3|0]=0}p=p+1|0;if((p|0)!=(e|0)){continue}break}f=(d|0)>0;d=d-1|0;if(f){continue}break}}bq(o);$a(s);A[c+48>>3]=A[b+16>>3];A[c+56>>3]=-A[b+24>>3];x=A[b+32>>3];A[c+64>>3]=-x;l=A[b+40>>3];A[c+72>>3]=l;A[c+80>>3]=x+A[b+48>>3];A[c+88>>3]=y-(l+A[b+56>>3]);v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;Es(a,c+48|0,c+40|0,c+32|0,1);a=v[a+104>>2];A[c+24>>3]=A[c+40>>3]+0;A[c+16>>3]=A[c+32>>3]+0;v[c+8>>2]=1049880894;v[c+12>>2]=1071027177;v[c>>2]=1049880894;v[c+4>>2]=1071027177;Qa[v[v[a>>2]+356>>2]](a,r,c+24|0,c+16|0,c+8|0,c)|0;Vo(r)}Ma=c+160|0}function $wa(a,b){a=a|0;b=b|0;var 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;h=v[a+420>>2];if(v[a+236>>2]){e=v[h+68>>2];if(!e){Fv(a,v[h+72>>2]);e=v[a+236>>2];v[h+68>>2]=e;v[h+72>>2]=v[h+72>>2]+1&7}v[h+68>>2]=e-1}if(v[a+316>>2]>=1){r=h+204|0;p=v[a+380>>2];while(1){f=q<<2;c=v[(f+a|0)+320>>2]<<2;m=v[(c+a|0)+292>>2];k=v[m+20>>2];j=(k<<2)+h|0;g=c+h|0;l=g;n=v[j+76>>2]+v[g+52>>2]|0;o=v[b+f>>2];c=u[o>>1];d=c-v[g+36>>2]|0;a:{if(!d){Hd(a,n,0);v[l+52>>2]=0;break a}v[g+36>>2]=c;Hd(a,n,1);e=0;b:{if((d|0)>0){i=2;f=0;c=4;break b}d=0-d|0;i=3;f=1;c=8}Hd(a,n+1|0,f);v[l+52>>2]=c;c=i+n|0;g=d-1|0;c:{if(!g){break c}e=1;Hd(a,c,1);c=v[j+76>>2]+20|0;d=g;if((d|0)==1){break c}while(1){Hd(a,c,1);c=c+1|0;e=e<<1;d=d>>1;if(d>>>0>1){continue}break}}Hd(a,c,0);f=l;d=a+k|0;d:{if(1<>1<=(e|0)){if(1<>1>=(e|0)){break d}d=v[l+52>>2]+8|0}else{d=0}v[f+52>>2]=d}if(e>>>0<2){break a}c=c+14|0;while(1){e=e>>1;Hd(a,c,(g&e)!=0);if(e>>>0>1){continue}break}}f=v[m+24>>2];d=v[a+384>>2];i=d;e:{f:{if((d|0)>=1){while(1){if(x[(v[(i<<2)+p>>2]<<1)+o>>1]){break f}c=(i|0)>1;i=i-1|0;if(c){continue}break}}m=((f<<2)+h|0)+140|0;c=1;break e}l=a+f|0;k=(f<<2)+h|0;m=k+140|0;c=1;while(1){e=(v[k+140>>2]+B(c,3)|0)-3|0;Hd(a,e,0);d=x[(v[(c<<2)+p>>2]<<1)+o>>1];if(!d){while(1){Hd(a,e+1|0,0);e=e+3|0;c=c+1|0;d=x[(v[(c<<2)+p>>2]<<1)+o>>1];if(!d){continue}break}}g=c;Hd(a,e+1|0,1);f=d<<16;c=f>>16;Hd(a,r,(c|0)<1);d=e+2|0;g:{h:{i:{j:{e=c;c=f>>31;j=(e+c^c)-1|0;if(!j){break j}Hd(a,d,1);if((j|0)==1){break j}Hd(a,d,1);c=v[k+140>>2]+((g|0)>w[l+184|0]?217:189)|0;e=2;d=j>>1;if(d>>>0>1){break i}Hd(a,c,0);c=c+14|0;break h}Hd(a,d,0);break g}while(1){f=c;Hd(a,c,1);c=c+1|0;e=e<<1;d=d>>1;if(d>>>0>=2){continue}break}Hd(a,c,0);if(!e){break g}c=f+15|0}while(1){e=e>>1;Hd(a,c,(j&e)!=0);if(e>>>0>1){continue}break}}c=g+1|0;if((g|0)<(i|0)){continue}break}d=v[a+384>>2]}if((c|0)<=(d|0)){Hd(a,(v[m>>2]+B(c,3)|0)-3|0,1)}q=q+1|0;if((q|0)>2]){continue}break}}return 1}function Y1(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,E=0,F=0,G=0,H=0,I=C(0),J=0,K=C(0),L=0,M=0,N=0,O=0;n=v[a+20>>2];x=v[a+28>>2]-n>>3;r=v[a+4>>2];E=+(r|0);while(1){F=v[n+12>>2];h=u[n+8>>1];a=u[n+10>>1];f=a>>31;j=(f^a+f)&65535;f=v[c+4>>2];a:{if(j>>>0<=f>>>0){break a}o=f;f=j+255&130816;if((o|0)==(f|0)){break a}e=v[c>>2];if(e){$a(e)}v[c+4>>2]=f;N=c,O=ab(f<<2),v[N>>2]=O}y=0;s=v[c>>2];o=s;f=h;if(a){while(1){g=+(f|0);p=(A[d+88>>3]+(A[d+56>>3]*g+A[d+72>>3]*E))*A[d+24>>3]+A[d+32>>3]*(A[d+96>>3]+(A[d+64>>3]*g+A[d+80>>3]*E));g=D(A[d+40>>3]+p);p=D(p+A[d+48>>3]);G=g>p?0:1;g=(g>=1?G:p>=1?G:g)*512+.5;b:{if(D(g)<2147483648){e=~~g;break b}e=-2147483648}H=(e+d|0)+2168|0;if(!w[H|0]){i=v[d+112>>2];c:{if((i|0)>=2){g=+(e|0)*.001953125;k=v[d+108>>2];a=1;while(1){l=a<<2;I=z[l+k>>2];if(g<+I){if(!(!(g<+z[k>>2])|(a|0)!=1)){a=v[d+104>>2];v[((e<<2)+d|0)+116>>2]=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);break c}a=v[d+104>>2];i=a+l|0;m=a;a=l-4|0;l=m+a|0;J=w[l+3|0];L=w[i+3|0]-J|0;M=(e<<2)+d|0;m=w[l|0];q=m;K=z[a+k>>2];g=(g-+K)/+C(I-K)*256+.5;d:{if(g<4294967296&g>=0){a=~~g>>>0;break d}a=0}m=q+(B(a,w[i|0]-m|0)>>>8|0)&255;k=w[l+2|0];q=(B(a,L)>>>8|0)+J<<24|((B(a,w[i+2|0]-k|0)>>>8|0)+k&255)<<16;k=w[i+1|0];i=w[l+1|0];v[M+116>>2]=m|(q|((B(a,k-i|0)>>>8|0)+i&255)<<8);break c}a=a+1|0;if((i|0)!=(a|0)){continue}break}}a=v[d+104>>2];if(!a|(i|0)<1){break c}a=(a+(i<<2)|0)-4|0;v[((e<<2)+d|0)+116>>2]=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24)}t[H|0]=1}a=o;e=v[((e<<2)+d|0)+116>>2];t[a|0]=e;t[a+1|0]=e>>>8;t[a+2|0]=e>>>16;t[a+3|0]=e>>>24;f=f+1|0;o=a+4|0;y=y+1|0;if((y|0)!=(j|0)){continue}break}}e:{if(v[b+16>>2]<(r|0)|v[b+8>>2]>(r|0)){break e}e=u[n+10>>1]<0;f=e?0:F;o=w[F|0];a=v[b+4>>2];f:{if((h|0)>=(a|0)){a=h;break f}h=a-h|0;j=j-h|0;if((j|0)<1){break e}f=e?0:f+h|0;s=(h<<2)+s|0}q=v[b>>2];e=a;m=r;h=v[b+12>>2];if((h|0)<(a+j|0)){h=h-a|0;if((h|0)<0){break e}j=h+1|0}Pf(q,e,m,j,s,f,o)}n=n+8|0;x=x-1|0;if(x){continue}break}}function GSa(a){a=a|0;var 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,w=0,y=0;j=Ma-32|0;Ma=j;a:{if(!x[a+26316>>1]){break a}if(v[a+180>>2]){v[a+26308>>2]=x[a+26318>>1]|x[a+26320>>1]<<16;break a}b:{p=x[a+26308>>1];d=x[a+26310>>1];e=Yb(B(p,d),8);if(e){if(!p|!d){break b}y=x[a+26320>>1];q=v[a+26352>>2];k=v[a+26028>>2];if((k|0)!=1){h=d&65534;l=d&1;while(1){m=B(d,f);n=B(f>>>1|0,y);o=f<<1&14;c=0;if((d|0)!=1){b=o<<1;r=k>>>b&3;s=k>>>(b|2)&3;b=h;while(1){g=r<<1;w=g+(e+(c+m<<3)|0)|0;i=g;g=(n+(c>>>1|0)<<3)+q|0;u[w>>1]=x[i+g>>1];i=s<<1;u[i+(e+(m+(c|1)<<3)|0)>>1]=x[g+i>>1];c=c+2|0;b=b-2|0;if(b){continue}break}}if(l){b=(k>>>((o|c&1)<<1)&3)<<1;u[b+(e+(c+m<<3)|0)>>1]=x[b+((n+(c>>>1|0)<<3)+q|0)>>1]}f=f+1|0;if((p|0)!=(f|0)){continue}break}break b}h=d&65534;r=d&1;k=x[a+26314>>1];s=x[a+26312>>1];while(1){m=B(d,f);n=f+s&15;o=B(f>>>1|0,y);c=0;b=h;if((d|0)!=1){while(1){l=(n<<4)+194800|0;g=t[l+(c+k&15)|0]<<1;w=g+(e+(c+m<<3)|0)|0;i=g;g=(o+(c>>>1|0)<<3)+q|0;u[w>>1]=x[i+g>>1];i=c|1;l=t[l+(i+k&15)|0]<<1;u[l+(e+(m+i<<3)|0)>>1]=x[g+l>>1];c=c+2|0;b=b-2|0;if(b){continue}break}}if(r){b=t[(c+k&15|n<<4)+194800|0]<<1;u[b+(e+(c+m<<3)|0)>>1]=x[b+((o+(c>>>1|0)<<3)+q|0)>>1]}f=f+1|0;if((p|0)!=(f|0)){continue}break}break b}b=v[a+190640>>2];c:{if(b){h=v[a+25208>>2];v[j+20>>2]=57408;v[j+16>>2]=h;Dc(b,4338,j+16|0);break c}b=v[a+25208>>2];v[j+4>>2]=57408;v[j>>2]=b;vb(v[249419],4338,j)}tc(a+190484|0,1);L()}$a(v[a+26352>>2]);u[a+26316>>1]=0;v[a+26352>>2]=e}d=v[a+26028>>2];d:{if(!d|v[a+26336>>2]!=3){break d}b=v[a+184>>2];v[a+26128>>2]=b;if(b){v[a+26336>>2]=4;break d}f=x[a+26308>>1];e=d>>>5&1;if(f>>>0>e>>>0){h=x[a+26310>>1];while(1){c=d>>>(e<<2&28|2)&1;b=h&65535;if(c>>>0>>0){h=v[a+26352>>2];while(1){b=h+(B(b,e)+c<<3)|0;u[b+2>>1]=x[b+6>>1];c=c+2|0;b=x[a+26310>>1];if(c>>>0>>0){continue}break}f=x[a+26308>>1];h=b}e=e+2|0;if(e>>>0>>0){continue}break}}v[a+26028>>2]=d&(d<<1^-1|1431655765)}if(v[a+180>>2]){v[a+26028>>2]=0}Ma=j+32|0}function B0(a,b,c,d,e,f,g,h){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,w=0,x=0,y=0,z=0;a:{if(h>>>0>32){break a}while(1){s=c;m=e;u=(s+m)*.5;e=(m+g)*.5;c=(u+e)*.5;t=b;q=d;w=(t+q)*.5;d=(q+f)*.5;b=(w+d)*.5;b:{i=g-s;r=f-t;k=i*(q-f)-r*(m-g);c:{if(D(k)>1e-30){if(!(k*k<=(r*r+i*i)*A[a+8>>3])){break b}i=A[a+16>>3];if(i<.01){h=v[a+32>>2];o=v[a+28>>2];n=o>>>6|0;if(h>>>0<=n>>>0){j=v[a+36>>2];d:{if(j>>>0>n>>>0){j=v[a+40>>2];break d}l=j+v[a+44>>2]|0;j=ab((l&1073741823)!=(l|0)?-1:l<<2);p=v[a+40>>2];if(p){cb(j,p,h<<2);$a(p);l=v[a+36>>2]+v[a+44>>2]|0;o=v[a+28>>2];h=v[a+32>>2]}v[a+36>>2]=l;v[a+40>>2]=j}y=(n<<2)+j|0,z=ab(1024),v[y>>2]=z;v[a+32>>2]=h+1}h=a+28|0;a=v[v[a+40>>2]+(n<<2)>>2]+((o&63)<<4)|0;A[a+8>>3]=c;A[a>>3]=b;break c}m=D(ef(g-m,f-q)-ef(m-s,q-t));if(!(i>(m>=3.141592653589793?6.283185307179586-m:m))){break b}h=v[a+32>>2];o=v[a+28>>2];n=o>>>6|0;if(h>>>0<=n>>>0){j=v[a+36>>2];e:{if(j>>>0>n>>>0){j=v[a+40>>2];break e}l=j+v[a+44>>2]|0;j=ab((l&1073741823)!=(l|0)?-1:l<<2);p=v[a+40>>2];if(p){cb(j,p,h<<2);$a(p);l=v[a+36>>2]+v[a+44>>2]|0;o=v[a+28>>2];h=v[a+32>>2]}v[a+36>>2]=l;v[a+40>>2]=j}y=(n<<2)+j|0,z=ab(1024),v[y>>2]=z;v[a+32>>2]=h+1}h=a+28|0;a=v[v[a+40>>2]+(n<<2)>>2]+((o&63)<<4)|0;A[a+8>>3]=c;A[a>>3]=b;break c}k=q-t;x=r*r+i*i;f:{if(x==0){i=m-s;i=k*k+i*i;break f}k=(r*k+i*(m-s))/x;if(k>0&k<1){break a}if(k<=0){i=t-q;k=i*i;i=s-m;i=k+i*i;break f}if(k>=1){i=f-q;k=i*i;i=g-m;i=k+i*i;break f}r=t+r*k-q;i=s+i*k-m;i=r*r+i*i}if(!(i>3])){break b}h=v[a+32>>2];o=v[a+28>>2];n=o>>>6|0;if(h>>>0<=n>>>0){j=v[a+36>>2];g:{if(j>>>0>n>>>0){j=v[a+40>>2];break g}l=j+v[a+44>>2]|0;j=ab((l&1073741823)!=(l|0)?-1:l<<2);p=v[a+40>>2];if(p){cb(j,p,h<<2);$a(p);l=v[a+36>>2]+v[a+44>>2]|0;o=v[a+28>>2];h=v[a+32>>2]}v[a+36>>2]=l;v[a+40>>2]=j}y=(n<<2)+j|0,z=ab(1024),v[y>>2]=z;v[a+32>>2]=h+1}h=a+28|0;a=v[v[a+40>>2]+(n<<2)>>2]+((o&63)<<4)|0;A[a+8>>3]=m;A[a>>3]=q}v[h>>2]=v[h>>2]+1;break a}h=h+1|0;B0(a,t,s,w,u,b,c,h);if((h|0)!=33){continue}break}}}function PQ(a,b,c,d){var e=0,f=0;e=Ma-16|0;Ma=e;v[a>>2]=0;a:{if(v[c>>2]){v[e>>2]=0;qb(e,0);f=e+8|0;Qa[v[v[b>>2]+32>>2]](f,b,c,e);jb(a,f);c=v[e+8>>2];v[e+8>>2]=0;b:{if(!c){break b}f=v[c+4>>2]-1|0;v[c+4>>2]=f;if(f){break b}f=v[c+4>>2];if(!f){v[c+4>>2]=-32767}if(!f){Qa[v[v[c>>2]+4>>2]](c)}}c=v[e>>2];v[e>>2]=0;c:{if(!c){break c}f=v[c+4>>2]-1|0;v[c+4>>2]=f;if(f){break c}f=v[c+4>>2];if(!f){v[c+4>>2]=-32767}if(!f){Qa[v[v[c>>2]+4>>2]](c)}}if(!d|!w[d|0]){break a}c=v[a>>2];if(c){v[e>>2]=0;b=e+8|0;hy(b,c,v[c+12>>2],d);jb(e,b);b=v[e+8>>2];v[e+8>>2]=0;d:{if(!b){break d}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break d}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}jb(a,e);a=v[e>>2];v[e>>2]=0;if(!a){break a}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break a}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}break a}v[e>>2]=0;f=zb(d);if((f|0)>=1){c=e+8|0;Qa[v[v[b>>2]+8>>2]](c,b,f);jb(e,c);b=v[e+8>>2];v[e+8>>2]=0;e:{if(!b){break e}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break e}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}c=v[v[e>>2]+12>>2];b=w[d|0];f:{if(!b){break f}f=d+f|0;while(1){t[c|0]=b;c=c+1|0;b=w[d+1|0];if(!b){break f}d=d+1|0;if((f|0)!=(d|0)){continue}break}}t[c|0]=0}jb(a,e);a=v[e>>2];v[e>>2]=0;if(!a){break a}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break a}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}break a}if(!d|!w[d|0]){break a}v[e>>2]=0;f=zb(d);if((f|0)>=1){c=e+8|0;Qa[v[v[b>>2]+8>>2]](c,b,f);jb(e,c);b=v[e+8>>2];v[e+8>>2]=0;g:{if(!b){break g}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break g}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}c=v[v[e>>2]+12>>2];b=w[d|0];h:{if(!b){break h}f=d+f|0;while(1){t[c|0]=b;c=c+1|0;b=w[d+1|0];if(!b){break h}d=d+1|0;if((f|0)!=(d|0)){continue}break}}t[c|0]=0}jb(a,e);a=v[e>>2];v[e>>2]=0;if(!a){break a}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break a}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=e+16|0}function JR(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=Ma-32|0;Ma=g;j=b+8|0;a:{if(v[b+8>>2]){gf(g+16|0,b,j);break a}v[g+16>>2]=0;qb(g+16|0,0)}f=v[g+16>>2];b:{if(!f){break b}k=v[f+8>>2];v[g+16>>2]=0;h=v[f+4>>2]-1|0;v[f+4>>2]=h;if(h){break b}h=v[f+4>>2];if(!h){v[f+4>>2]=-32767}if(!h){Qa[v[v[f>>2]+4>>2]](f)}}c:{if(v[j>>2]){gf(g+24|0,b,j);break c}v[g+24>>2]=0;qb(g+24|0,0)}f=v[g+24>>2];d:{if(!f){break d}i=v[f+12>>2];v[g+24>>2]=0;h=v[f+4>>2]-1|0;v[f+4>>2]=h;if(h){break d}h=v[f+4>>2];if(!h){v[f+4>>2]=-32767}if(!h){Qa[v[v[f>>2]+4>>2]](f)}}e:{if(v[j>>2]){Tp(g+8|0,b,j);break e}v[g+8>>2]=0;qb(g+8|0,0)}f:{g:{if(!k|!i){break g}b=v[g+8>>2];if(!b|v[b+72>>2]!=(k|0)|v[b+76>>2]!=(i|0)){break g}j=Ma-32|0;Ma=j;h:{i:{if(!(!v[b+72>>2]|!v[b+76>>2])){f=v[c+4>>2];i=v[c+12>>2];k=v[c>>2];c=v[c+8>>2]-k|0;c=Rp(ab(72),i-f|0,c,((c+e|0)-1&0-e)-c|0);v[a>>2]=0;qb(a,c);Vr(v[a>>2],B(d,d)+1|0);i=v[b+100>>2];c=v[b+96>>2];if(((i-c|0)+1|0)>=1){k=B(d,k);h=0-B(d,f)|0;while(1){if((i|0)<(l|0)|(c|0)>(l|0)){break i}e=Ma-32|0;Ma=e;j:{i=v[b+84>>2]+(l-v[b+88>>2]<<3)|0;f=v[i+4>>2];c=b;m=v[c+16>>2];if((f|0)>=(m|0)){f=f-m|0;if((f|0)>=v[c+40>>2]&v[c+44>>2]>=(f|0)){break j}lb(mb(e+8|0,227376,271519,632,307571));L()}c=v[c+20>>2];if(c){while(1){m=v[c+16>>2];if((m|0)<=(f|0)){f=f-m|0;if((f|0)>=v[c+40>>2]&v[c+44>>2]>=(f|0)){break j}lb(mb(e+8|0,227376,271519,619,307655));L()}c=v[c+20>>2];if(c){continue}break}lb(mb(e+8|0,239984,241993,165,327454));L()}lb(mb(e+8|0,239984,241993,183,225886));L()}Ma=e+32|0;c=v[(v[c+28>>2]+B(f-v[c+32>>2]|0,12)|0)+4>>2];if(c){HE(v[a>>2],c,x[i>>1]-k|0,h+x[i+2>>1]|0,d)}l=l+1|0;i=v[b+100>>2];c=v[b+96>>2];if((l|0)<((i-c|0)+1|0)){continue}break}}Ma=j+32|0;break h}lb(mb(j+8|0,276696,241993,316,225989));L()}lb(mb(j+8|0,227376,271519,632,306827));L()}break f}v[a>>2]=0;qb(a,0)}a=v[g+8>>2];v[g+8>>2]=0;k:{if(!a){break k}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break k}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=g+32|0}function kA(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=Ma-96|0;Ma=h;e=-1;a:{if(!a|!v[a+12>>2]){break a}c=v[a+16>>2];if(!c){break a}i=v[a+20>>2];if(!i){break a}e=0;if(v[i+32>>2]){break a}f=v[i+8>>2];if(!((f|0)==v[i+24>>2]|f>>>0>2147483646)){v[i+24>>2]=f}f=v[i+20>>2];d=v[i+4>>2];if(!((f|0)==(d|0)|d>>>0>2147483646)){v[i+20>>2]=d;f=d}if(!f){break a}j=f>>>0>65536?b?f:65536:f;b:{c:{d:{f=v[c+32>>2];if(!f){d=v[c+24>>2];g=v[c+8>>2];if((d|0)==(g|0)|g>>>0>2147483646){g=d}else{v[c+24>>2]=g}d=g;g=v[c+20>>2];e=v[c+4>>2];if(!((g|0)==(e|0)|e>>>0>2147483646)){v[c+20>>2]=e;g=e}d=d-g|0;if(d){break d}}d=j<<1;break c}e=d-1|0;d=j<<1;g=0;if(e>>>0>d>>>0){break b}}if((d|0)>=1){SH(c,d);f=v[c+32>>2]}e:{if(f){break e}d=v[c+24>>2];g=v[c+8>>2];if((d|0)==(g|0)|g>>>0>2147483646){g=d}else{v[c+24>>2]=g}d=g;g=v[c+20>>2];e=v[c+4>>2];if(!((g|0)==(e|0)|e>>>0>2147483646)){v[c+20>>2]=e;g=e}d=d-g|0;if(!d){break e}e=d-1|0;g=0;break b}e=0;g=f}v[h+92>>2]=j;v[h+88>>2]=e>>>0>131072?b?e:131072:e;f:{g:{h:{d=v[v[a+12>>2]+4>>2];if(!d){break h}if(g){a=0}else{a=v[c+8>>2];if(!((a|0)==v[c+24>>2]|a>>>0>2147483646)){v[c+24>>2]=a}f=v[c+20>>2];a=v[c+4>>2];if((f|0)==(a|0)|a>>>0>2147483646){a=f}else{v[c+20>>2]=a}a=a+v[c>>2]|0}a=Qa[d|0](a,h+88|0,v[i+32>>2]?0:v[i>>2],h+92|0)|0;Xv(i,v[h+92>>2]);i:{if(v[c+32>>2]){break i}e=v[c+24>>2];b=v[c+8>>2];if(!((e|0)==(b|0)|b>>>0>2147483646)){v[c+24>>2]=b;e=b}d=v[h+88>>2];b=v[c+20>>2];f=v[c+4>>2];if(!((b|0)==(f|0)|f>>>0>2147483646)){v[c+20>>2]=f;b=f}if(d>>>0>e-b>>>0){break i}b=b+d|0;v[c+20>>2]=b;v[c+8>>2]=e>>>0<2147483647?e:2147483647;v[c+4>>2]=b>>>0<2147483647?b:2147483647;if(b>>>0>=e>>>0){break i}t[b+v[c>>2]|0]=0}switch(a+3|0){case 0:break g;case 1:break h;default:break f}}a=v[i>>2];b=w[a|0];f=w[a+1|0];d=w[a+2|0];v[h+28>>2]=w[a+3|0];v[h+24>>2]=d;v[h+20>>2]=f;v[h+16>>2]=b;a=h+32|0;_i(a,49,308632,h+16|0);t[h+81|0]=0;v[h>>2]=a;nb(0,0,0,0,0,27,6003,3,a,0,0,0,340204,h);a=-2;break f}a=0}b=v[h+88>>2];e=b?b:a}Ma=h+96|0;return e}function Wd(a,b){a=a|0;b=b|0;var 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;if(!a){return gb(b)|0}if(b>>>0>=4294967232){v[296206]=48;return 0}g=b>>>0<11?16:b+11&-8;f=a-8|0;j=v[f+4>>2];e=j&-8;a:{if(!(j&3)){if(g>>>0<256){break a}if(e>>>0>=g+4>>>0){c=f;if(e-g>>>0<=v[297432]<<1>>>0){break a}}c=0;break a}h=e+f|0;b:{if(e>>>0>=g>>>0){d=e-g|0;if(d>>>0<16){break b}v[f+4>>2]=j&1|g|2;c=f+g|0;v[c+4>>2]=d|3;v[h+4>>2]=v[h+4>>2]|1;jN(c,d);break b}if(v[297318]==(h|0)){e=e+v[297315]|0;if(e>>>0<=g>>>0){break a}v[f+4>>2]=j&1|g|2;d=f+g|0;c=e-g|0;v[d+4>>2]=c|1;v[297315]=c;v[297318]=d;break b}if(v[297317]==(h|0)){d=e+v[297314]|0;if(d>>>0>>0){break a}c=d-g|0;c:{if(c>>>0>=16){v[f+4>>2]=j&1|g|2;e=f+g|0;v[e+4>>2]=c|1;d=d+f|0;v[d>>2]=c;v[d+4>>2]=v[d+4>>2]&-2;break c}v[f+4>>2]=d|j&1|2;c=d+f|0;v[c+4>>2]=v[c+4>>2]|1;c=0;e=0}v[297317]=e;v[297314]=c;break b}d=v[h+4>>2];if(d&2){break a}k=e+(d&-8)|0;if(k>>>0>>0){break a}m=k-g|0;d:{if(d>>>0<=255){e=v[h+8>>2];c=d>>>3|0;d=v[h+12>>2];if((d|0)==(e|0)){n=1189248,o=v[297312]&C3a(-2,c),v[n>>2]=o;break d}v[e+12>>2]=d;v[d+8>>2]=e;break d}l=v[h+24>>2];i=v[h+12>>2];e:{if((i|0)!=(h|0)){c=v[h+8>>2];v[c+12>>2]=i;v[i+8>>2]=c;break e}f:{e=h+20|0;c=v[e>>2];if(c){break f}e=h+16|0;c=v[e>>2];if(c){break f}i=0;break e}while(1){d=e;i=c;e=c+20|0;c=v[e>>2];if(c){continue}e=i+16|0;c=v[i+16>>2];if(c){continue}break}v[d>>2]=0}if(!l){break d}d=v[h+28>>2];c=(d<<2)+1189552|0;g:{if(v[c>>2]==(h|0)){v[c>>2]=i;if(i){break g}n=1189252,o=v[297313]&C3a(-2,d),v[n>>2]=o;break d}v[(v[l+16>>2]==(h|0)?16:20)+l>>2]=i;if(!i){break d}}v[i+24>>2]=l;c=v[h+16>>2];if(c){v[i+16>>2]=c;v[c+24>>2]=i}c=v[h+20>>2];if(!c){break d}v[i+20>>2]=c;v[c+24>>2]=i}if(m>>>0<=15){v[f+4>>2]=j&1|k|2;c=f+k|0;v[c+4>>2]=v[c+4>>2]|1;break b}v[f+4>>2]=j&1|g|2;d=f+g|0;v[d+4>>2]=m|3;c=f+k|0;v[c+4>>2]=v[c+4>>2]|1;jN(d,m)}c=f}if(c){return c+8|0}f=gb(b);if(!f){return 0}c=v[a-4>>2];c=(c&3?-4:-8)+(c&-8)|0;cb(f,a,b>>>0>c>>>0?c:b);$a(a);return f|0}function u1(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){rc(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Gc(a);a:{if(!v[a+12>>2]){break a}v[a+1176>>2]=v[a+84>>2];if(!(!w[b+1160|0]|v[b+1172>>2]!=2)){rc(b+100|0,b,v[b+1164>>2],v[b+1168>>2]);v[b+1172>>2]=3}Gc(b);i=v[b+12>>2];if(i){v[b+1176>>2]=v[b+84>>2]}g=(v[a+88>>2]-v[a+80>>2]|0)+3|0;b:{if(g>>>0<=y[e+24>>2]){break b}h=v[e+20>>2];if(h){$a(h)}v[e+24>>2]=g;j=e,k=ab((g|0)!=(g&536870911)?-1:g<<3),v[j+20>>2]=k;if((g|0)==v[e+12>>2]){break b}h=v[e+8>>2];if(h){$a(h)}v[e+12>>2]=g;j=e,k=ab(g),v[j+8>>2]=k}v[e>>2]=2147483632;v[e+16>>2]=v[e+8>>2];g=v[e+20>>2];v[e+28>>2]=g;u[g+2>>1]=0;g=(v[a+88>>2]-v[a+80>>2]|0)+3|0;c:{if(g>>>0<=y[c+24>>2]){break c}h=v[c+20>>2];if(h){$a(h)}v[c+24>>2]=g;j=c,k=ab((g|0)!=(g&536870911)?-1:g<<3),v[j+20>>2]=k;if((g|0)==v[c+12>>2]){break c}h=v[c+8>>2];if(h){$a(h)}v[c+12>>2]=g;j=c,k=ab(g),v[j+8>>2]=k}v[c>>2]=2147483632;v[c+16>>2]=v[c+8>>2];g=v[c+20>>2];v[c+28>>2]=g;u[g+2>>1]=0;g=(v[b+88>>2]-v[b+80>>2]|0)+3|0;d:{if(g>>>0<=y[d+24>>2]){break d}h=v[d+20>>2];if(h){$a(h)}v[d+24>>2]=g;j=d,k=ab((g|0)!=(g&536870911)?-1:g<<3),v[j+20>>2]=k;if((g|0)==v[d+12>>2]){break d}h=v[d+8>>2];if(h){$a(h)}v[d+12>>2]=g;j=d,k=ab(g),v[j+8>>2]=k}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];h=v[d+20>>2];v[d+28>>2]=h;g=0;u[h+2>>1]=0;if(!Gb(a,c)){break a}if(i){g=Gb(b,d)}i=v[f+20>>2]-1|0;if((i|0)>=0){while(1){h=v[(v[v[f+32>>2]+(i>>>4&268435452)>>2]+((i&63)<<3)|0)+4>>2];if(h){$a(h)}i=i-1|0;if((i|0)>-1){continue}break}}v[f+60>>2]=0;v[f>>2]=0;v[f+20>>2]=0;v[f+120>>2]=0;v[f+112>>2]=-2147483647;v[f+116>>2]=-2147483647;v[f+104>>2]=2147483647;v[f+108>>2]=2147483647;v[f+40>>2]=0;while(1){i=g&1;g=0;e:{f:{if(!i){break f}while(1){i=v[d+4>>2];h=v[c+4>>2];if((i|0)<(h|0)){if(Gb(b,d)){continue}break f}break}g=1;if((h|0)!=(i|0)){break f}UJ(c,d,e);if(v[e+28>>2]==v[e+20>>2]){break e}v[e+4>>2]=v[c+4>>2];jj(f,e);break e}Ie(c,e,f)}if(Gb(a,c)){continue}break}}}function iua(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,p=0,q=0,r=0,s=0,t=0,u=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;h=a;while(1){d=v[(p<<2)+b>>2]+c|0;i=w[d+9|0];k=w[d+6|0];f=i+k|0;n=w[d+14|0];j=w[d+1|0];g=n+j|0;e=f+g|0;m=w[d+13|0];o=w[d+2|0];l=m+o|0;r=w[d+10|0];s=w[d+5|0];q=r+s|0;t=l+q|0;u=w[d+8|0];x=w[d+7|0];y=u+x|0;z=w[d+15|0];A=w[d|0];C=z+A|0;D=y+C|0;E=w[d+11|0];F=w[d+4|0];G=E+F|0;H=w[d+12|0];I=w[d+3|0];d=H+I|0;J=G+d|0;v[h+16>>2]=(B(e-t|0,4433)+B(D-J|0,10703)|0)+1024>>11;v[h>>2]=((e+(t+J|0)|0)+D<<2)+-8192;e=C-y|0;l=l-q|0;q=d-G|0;f=g-f|0;d=(B(e-l|0,11363)+B(q-f|0,2260)|0)+1024|0;v[h+24>>2]=(d+B(q,-8697)|0)+B(e,-1730)>>11;v[h+8>>2]=(d+B(l,17799)|0)+B(f,11893)>>11;d=s-r|0;f=F-E|0;g=I-H|0;e=o-m|0;m=(B(d-f|0,3363)+B(g+e|0,-11086)|0)+1024|0;i=k-i|0;k=j-n|0;n=B(i+f|0,-10217)+B(k+g|0,-5461)|0;o=n+((m+B(g,8728)|0)+B(f,17760)|0)|0;j=f;f=x-u|0;l=g;g=A-z|0;j=B(j-f|0,7350)+B(l+g|0,8956)|0;v[h+28>>2]=o+j>>11;l=(m+B(e,-9222)|0)+B(d,10055)|0;m=B(i-d|0,11529)+B(e+k|0,1136)|0;d=B(d+f|0,5461)+B(e+g|0,10217)|0;v[h+20>>2]=(l+m|0)+d>>11;e=B(i-f|0,3363)+B(g+k|0,11086)|0;v[h+12>>2]=(e+(m+((n+B(k,589)|0)+B(i,-13631)|0)|0)|0)+1024>>11;v[h+4>>2]=(d+(j+((e+B(g,-18730)|0)+B(f,6387)|0)|0)|0)+1024>>11;h=h+32|0;p=p+1|0;if((p|0)!=8){continue}break}b=7;while(1){h=v[a+128>>2];d=v[a+96>>2];c=h+d|0;f=v[a+224>>2];g=v[a>>2];e=f+g|0;i=c+e|0;k=v[a+160>>2];p=v[a+64>>2];m=k+p|0;n=v[a+192>>2];j=v[a+32>>2];o=n+j|0;l=m+o|0;v[a+128>>2]=(i-l|0)+4>>3;v[a>>2]=(i+l|0)+4>>3;e=e-c|0;i=o-m|0;c=B(e+i|0,4433)+32768|0;v[a+192>>2]=c+B(i,-15137)>>16;v[a+64>>2]=c+B(e,6270)>>16;c=d-h|0;h=g-f|0;d=B(c+h|0,-7373)+32768|0;f=j-n|0;i=f+c|0;g=p-k|0;k=g+h|0;e=B(i+k|0,9633);j=d+B(c,2446)|0;c=e+B(i,-16069)|0;v[a+224>>2]=j+c>>16;e=e+B(k,-3196)|0;j=B(g,16819);g=B(f+g|0,-20995)+32768|0;v[a+160>>2]=e+(j+g|0)>>16;v[a+96>>2]=c+(g+B(f,25172)|0)>>16;v[a+32>>2]=e+(d+B(h,12299)|0)>>16;c=b;b=c-1|0;a=a+4|0;if(c){continue}break}}function Hua(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,p=0,q=0,r=0,s=0,t=0,u=0,x=0,y=0,z=0,A=0,C=0;n=Ma-128|0;d=a;while(1){a:{e=d;d=v[(h<<2)+b>>2]+c|0;k=w[d+11|0];l=w[d|0];i=k+l|0;o=w[d+6|0];p=w[d+5|0];j=o+p|0;q=i-j|0;r=w[d+10|0];s=w[d+1|0];g=r+s|0;t=w[d+7|0];u=w[d+4|0];f=t+u|0;x=w[d+9|0];y=w[d+2|0];m=x+y|0;z=w[d+8|0];A=w[d+3|0];C=z+A|0;d=m-C|0;v[e+24>>2]=q-((g-f|0)+d|0);i=i+j|0;m=m+C|0;v[e>>2]=(i+(f+(m+g|0)|0)|0)-1536;v[e+16>>2]=B(i-m|0,10033)+4096>>13;v[e+8>>2]=((g-(d+f|0)|0)+B(d+q|0,11190)|0)+4096>>13;f=u-t|0;j=s-r|0;i=B(f+j|0,4433);d=l-k|0;g=A-z|0;l=i+B(f,-15137)|0;f=p-o|0;k=y-x|0;v[e+12>>2]=((B(d-g|0,10703)+l|0)+B(f+k|0,-4433)|0)+4096>>13;o=B(d+g|0,7053);m=o+B(g,5946)|0;g=B(g+k|0,-1512);i=i+B(j,6270)|0;v[e+28>>2]=(((m+g|0)-i|0)+B(f,-9191)|0)+4096>>13;j=g;g=B(d+k|0,9191)+4096|0;v[e+20>>2]=((j+(g+B(k,-19165)|0)|0)-l|0)+B(f,7053)>>13;v[e+4>>2]=(i+(o+(g+B(d,-4758)|0)|0)|0)+B(f,1512)>>13;f=h-7|0;h=h+1|0;g=7;d=n;b:{switch(f|0){case 0:continue;case 4:break a;default:break b}}d=e+32|0;continue}break}while(1){b=v[d+64>>2];c=v[a+128>>2];n=v[a+192>>2];f=v[a+160>>2];e=n+f|0;k=v[d+96>>2];i=v[a>>2];h=k+i|0;l=e+h|0;o=v[d>>2];p=v[a+96>>2];j=o+p|0;q=v[d+32>>2];r=v[a+64>>2];s=q+r|0;t=j+s|0;v[a+128>>2]=B(l-t|0,8918)- -8192>>14;h=h-e|0;u=v[a+32>>2];x=u+b|0;y=v[a+224>>2];m=y+c|0;z=x-m|0;e=s-j|0;v[a+192>>2]=B(h-(z+e|0)|0,7282)- -8192>>14;v[a+64>>2]=(B(z-e|0,7282)+B(e+h|0,9947)|0)- -8192>>14;v[a>>2]=B(l+(m+(t+x|0)|0)|0,7282)- -8192>>14;e=c-y|0;l=u-b|0;h=B(e+l|0,3941);b=i-k|0;c=p-o|0;k=h+B(e,-13455)|0;e=f-n|0;n=r-q|0;v[a+96>>2]=((B(b-c|0,9514)+k|0)+B(e+n|0,-3941)|0)- -8192>>14;f=B(b+c|0,6269);j=f+B(c,5285)|0;c=B(c+n|0,-1344);h=h+B(l,5573)|0;v[a+224>>2]=(((j+c|0)-h|0)+B(e,-8170)|0)- -8192>>14;j=c;c=B(b+n|0,8170)- -8192|0;v[a+160>>2]=((j+(c+B(n,-17036)|0)|0)-k|0)+B(e,6269)>>14;v[a+32>>2]=(h+(f+(c+B(b,-4229)|0)|0)|0)+B(e,1344)>>14;b=g;g=g-1|0;d=d+4|0;a=a+4|0;if(b){continue}break}}function fXa(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,j=0,k=0,l=0;a:{b:{if(f){a=c<<1;l=b<<1;if(((c+1|0)/2|0)>(b|0)){break b}if(!d){break a}b=0;while(1){i=x[e>>1];c:{if((i|0)==x[f>>1]){u[g>>1]=i;break c}i=w[e|0]|w[e+1|0]<<8;h=i;j=(h<<8|h>>>8)&65535;h=w[f|0]|w[f+1|0]<<8;i=j+((B(((h<<8|h>>>8)&65535)-((i<<8|i>>>8)&65535)|0,l)+c|0)/(a|0)|0)&65535;i=i<<8|i>>>8;t[g|0]=i;t[g+1|0]=i>>>8}i=g+2|0;h=x[e+2>>1];d:{if((h|0)==x[f+2>>1]){u[i>>1]=h;break d}h=e+2|0;j=w[h+1|0]<<8;k=w[h|0]|j;h=j|w[h|0];j=(h<<8|h>>>8)&65535;h=w[f+2|0]|w[f+3|0]<<8;h=j+((B(((h<<8|h>>>8)&65535)-((k<<8|k>>>8)&65535)|0,l)+c|0)/(a|0)|0)&65535;h=h<<8|h>>>8;t[i|0]=h;t[i+1|0]=h>>>8}i=g+4|0;h=x[e+4>>1];e:{if((h|0)==x[f+4>>1]){u[i>>1]=h;break e}h=e+4|0;j=w[h+1|0]<<8;k=w[h|0]|j;h=j|w[h|0];j=(h<<8|h>>>8)&65535;h=w[f+4|0]|w[f+5|0]<<8;h=j+((B(((h<<8|h>>>8)&65535)-((k<<8|k>>>8)&65535)|0,l)+c|0)/(a|0)|0)&65535;h=h<<8|h>>>8;t[i|0]=h;t[i+1|0]=h>>>8}u[g+6>>1]=x[f+6>>1];g=g+8|0;f=f+8|0;e=e+8|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}break a}cb(g,e,d<<3);break a}if(!d){break a}b=0;while(1){i=x[e>>1];f:{if((i|0)==x[f>>1]){u[g>>1]=i;break f}i=w[e|0]|w[e+1|0]<<8;h=i;j=(h<<8|h>>>8)&65535;h=w[f|0]|w[f+1|0]<<8;i=j+((B(((h<<8|h>>>8)&65535)-((i<<8|i>>>8)&65535)|0,l)+c|0)/(a|0)|0)&65535;i=i<<8|i>>>8;t[g|0]=i;t[g+1|0]=i>>>8}i=g+2|0;h=x[e+2>>1];g:{if((h|0)==x[f+2>>1]){u[i>>1]=h;break g}h=e+2|0;j=w[h+1|0]<<8;k=w[h|0]|j;h=j|w[h|0];j=(h<<8|h>>>8)&65535;h=w[f+2|0]|w[f+3|0]<<8;h=j+((B(((h<<8|h>>>8)&65535)-((k<<8|k>>>8)&65535)|0,l)+c|0)/(a|0)|0)&65535;h=h<<8|h>>>8;t[i|0]=h;t[i+1|0]=h>>>8}i=g+4|0;h=x[e+4>>1];h:{if((h|0)==x[f+4>>1]){u[i>>1]=h;break h}h=e+4|0;j=w[h+1|0]<<8;k=w[h|0]|j;h=j|w[h|0];j=(h<<8|h>>>8)&65535;h=w[f+4|0]|w[f+5|0]<<8;h=j+((B(((h<<8|h>>>8)&65535)-((k<<8|k>>>8)&65535)|0,l)+c|0)/(a|0)|0)&65535;h=h<<8|h>>>8;t[i|0]=h;t[i+1|0]=h>>>8}u[g+6>>1]=x[e+6>>1];g=g+8|0;e=e+8|0;f=f+8|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}}return 0}function rta(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;a=eb(a,0,256);d=v[b>>2]+c|0;e=w[d|0];f=w[d+5|0];h=e-f|0;j=w[d+1|0];i=w[d+4|0];g=j-i|0;k=w[d+2|0];l=w[d+3|0];d=k-l|0;v[a+12>>2]=h-(g+d|0)<<3;e=e+f|0;f=k+l|0;v[a+8>>2]=B(e-f|0,10033)+512>>10;e=e+f|0;f=i+j|0;v[a>>2]=(e+f<<3)-6144;v[a+16>>2]=B(e-(f<<1)|0,5793)+512>>10;e=d-g<<3;d=B(d+h|0,2998)+512>>10;v[a+20>>2]=e+d;v[a+4>>2]=d+(g+h<<3);d=v[b+4>>2]+c|0;e=w[d|0];f=w[d+5|0];h=e-f|0;j=w[d+1|0];i=w[d+4|0];g=j-i|0;k=w[d+2|0];l=w[d+3|0];d=k-l|0;v[a+44>>2]=h-(g+d|0)<<3;e=e+f|0;f=k+l|0;v[a+40>>2]=B(e-f|0,10033)+512>>10;f=e+f|0;j=i+j|0;e=(f+j<<3)-6144|0;v[a+32>>2]=e;v[a+48>>2]=B(f-(j<<1)|0,5793)+512>>10;f=d-g<<3;d=B(d+h|0,2998)+512>>10;v[a+52>>2]=f+d;d=d+(g+h<<3)|0;v[a+36>>2]=d;b=v[b+8>>2]+c|0;f=w[b+2|0];j=w[b+3|0];c=f-j|0;i=w[b|0];k=w[b+5|0];h=i-k|0;g=B(c+h|0,2998)+512>>10;l=w[b+1|0];m=w[b+4|0];b=l-m|0;v[a+84>>2]=g+(c-b<<3);f=f+j|0;j=i+k|0;i=f+j|0;k=l+m|0;v[a+80>>2]=B(i-(k<<1)|0,5793)+512>>10;l=v[a>>2];i=(i+k<<3)-6144|0;v[a+32>>2]=B(l-i|0,17837)+16384>>15;i=i+l|0;v[a+64>>2]=B(i-(e<<1)|0,10298)+16384>>15;v[a>>2]=B(e+i|0,14564)+16384>>15;e=v[a+4>>2];g=g+(b+h<<3)|0;v[a+36>>2]=B(e-g|0,17837)+16384>>15;g=e+g|0;v[a+68>>2]=B(g-(d<<1)|0,10298)+16384>>15;v[a+4>>2]=B(d+g|0,14564)+16384>>15;d=v[a+40>>2];g=v[a+8>>2];e=B(j-f|0,10033)+512>>10;v[a+40>>2]=B(g-e|0,17837)+16384>>15;g=e+g|0;v[a+72>>2]=B(g-(d<<1)|0,10298)+16384>>15;v[a+8>>2]=B(d+g|0,14564)+16384>>15;b=h-(b+c|0)<<3;c=v[a+12>>2];d=b+c|0;h=v[a+44>>2];v[a+76>>2]=B(d-(h<<1)|0,10298)+16384>>15;v[a+12>>2]=B(d+h|0,14564)+16384>>15;v[a+44>>2]=B(c-b|0,17837)+16384>>15;b=v[a+80>>2];c=v[a+16>>2];d=b+c|0;h=v[a+48>>2];v[a+80>>2]=B(d-(h<<1)|0,10298)+16384>>15;v[a+16>>2]=B(d+h|0,14564)+16384>>15;v[a+48>>2]=B(c-b|0,17837)+16384>>15;b=v[a+84>>2];c=v[a+20>>2];d=b+c|0;h=v[a+52>>2];v[a+84>>2]=B(d-(h<<1)|0,10298)+16384>>15;v[a+20>>2]=B(d+h|0,14564)+16384>>15;v[a+52>>2]=B(c-b|0,17837)+16384>>15}function WK(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;j=Ma-784|0;Ma=j;l=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;a:{b:{c=c+3|0;n=c&-4;if((n|0)<=0){break b}while(1){c:{h=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;e=h&15;t[(j+16|0)+g|0]=e;if(e>>>0>12){break c}h=h>>>4&15;t[(j+16|0)+(g|1)|0]=h;if(h>>>0>=13){break c}g=g+2|0;if((n|0)>(g|0)){continue}break b}break}c=0;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],l,0)|0;while(1){Wi(a,j+4|0,6);e=1;f=c<<1;g=x[j+8>>1];d=x[j+4>>1];l=x[j+12>>1];u[f+b>>1]=g>>>8&240|d>>>4&3840|l>>>12;h=x[j+10>>1];m=x[j+6>>1];i=x[j+14>>1];u[(f|2)+b>>1]=h>>>8&240|m>>>4&3840|i>>>12;u[(f|4)+b>>1]=d&4095;u[(f|6)+b>>1]=m&4095;u[(f|8)+b>>1]=g&4095;u[(f|10)+b>>1]=h&4095;u[(f|12)+b>>1]=l&4095;u[(f|14)+b>>1]=i&4095;c=c+8|0;if((n|0)>(c|0)){continue}break}break a}g=0;if(c&4){c=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;f=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;g=c<<8;d=g;c=f+d|0;f=(f>>31)+(d>>31)|0;f=c>>>0>>0?f+1|0:f;d=c;g=16}if((n|0)<1){e=0;break a}while(1){h=w[(j+16|0)+m|0];l=h;if((g|0)<(h|0)){c=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;e=c;c=c>>31;i=e;k=g+8|0;e=k&31;if((k&63)>>>0>=32){c=i<>>32-e|c<>>0>e>>>0?c+1|0:c;f=e;d=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;e=d;k=f;i=d>>31;f=g;d=f&31;if((f&63)>>>0>=32){f=e<>>32-d|i<>>0>>0?c+1|0:c;f=c;c=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;e=c;k=d;c=c>>31;i=g+24|0;d=i&31;if((i&63)>>>0>=32){c=e<>>32-d|c<>>0>>0?f+1|0:f;c=d;d=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;e=d;k=c;c=d>>31;i=g+16|0;d=i&31;if((i&63)>>>0>=32){c=e<>>32-d|c<>>0>>0?c+1|0:c;g=g+32|0;f=c}e=0;c=65535>>>16-h&d;u[(m<<1)+b>>1]=(c>>>h-1&1?0:(-1<>>0>=32){f=c>>31;d=c>>d}else{f=c>>d;d=((1<>>d}m=m+1|0;if((n|0)!=(m|0)){continue}break}}Ma=j+784|0;return e}function c_(a,b,c){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,p=0,q=0,r=0;i=Ma-16|0;Ma=i;d=v[a+12>>2];if(d){v[(v[a+20>>2]+(d<<4)|0)-4>>2]=b}k=v[a+24>>2];a:{if((k|0)<2){break a}o=k;while(1){p=o;g=v[a+32>>2];o=o-1|0;b=g+(o<<4)|0;l=v[b>>2];d=v[b+8>>2];j=p-2|0;b:{c:{while(1){d:{e=g+(j<<4)|0;b=v[e+8>>2];e:{e=v[e>>2];f=e>>>0>l>>>0?l:e;f:{g:{if(f>>>0<8){m=d;break g}m=(f-8>>>3|0)+1|0;e=m+b|0;m=d+m|0;h=d;while(1){if(w[b|0]&w[h|0]){break f}b=b+1|0;h=h+1|0;f=f-8|0;if(f>>>0>7){continue}break}b=e}if(!f|!(w[b|0]&w[m|0]&-256>>f)){break e}}d=j>>>0>o>>>0;b=d?o:j;m=d?j:o;if(b>>>0>=m>>>0|m>>>0>=k>>>0){break b}n=g+(m<<4)|0;l=v[n>>2];if(!l){break c}g=g+(b<<4)|0;b=v[g>>2];if(l>>>0<=b>>>0){k=l+7|0;f=k>>>3|0;break d}d=v[g+4>>2];v[i>>2]=0;k=l+7|0;f=k>>>3|0;d=d+7>>>3|0;if(f>>>0>d>>>0){e=d;d=f+7&1073741816;q=g,r=yb(c,1,e,d,v[g+8>>2],i),v[q+8>>2]=r;h=v[i>>2];if(h){break a}v[g+4>>2]=d<<3}d=b+1|0;if(l-b&1){if(y[g>>2]>b>>>0){e=v[g+8>>2]+(b>>>3|0)|0;t[e|0]=w[e|0]&-129>>(b&7)}b=d}if((d|0)==(l|0)){break d}while(1){if(y[g>>2]>b>>>0){d=v[g+8>>2]+(b>>>3|0)|0;t[d|0]=w[d|0]&-129>>(b&7)}e=b+1|0;if(e>>>0>2]){d=v[g+8>>2]+(e>>>3|0)|0;t[d|0]=w[d|0]&-129>>(e&7)}b=b+2|0;if((l|0)!=(b|0)){continue}break}break d}b=(j|0)>0;j=j-1|0;if(b){continue}break b}break}if(k>>>0<8){break c}d=f-1|0;h=v[n+8>>2];b=v[g+8>>2];j=f&3;if(j){while(1){t[b|0]=w[h|0]|w[b|0];f=f-1|0;h=h+1|0;b=b+1|0;j=j-1|0;if(j){continue}break}}if(d>>>0<3){break c}while(1){t[b|0]=w[h|0]|w[b|0];t[b+1|0]=w[h+1|0]|w[b+1|0];t[b+2|0]=w[h+2|0]|w[b+2|0];t[b+3|0]=w[h+3|0]|w[b+3|0];h=h+4|0;b=b+4|0;f=f-4|0;if(f){continue}break}}v[n>>2]=0;v[n+12>>2]=0;d=a;b=v[d+24>>2];e=b+(m^-1)|0;if((e|0)>=1){b=v[n+12>>2];v[i+8>>2]=v[n+8>>2];v[i+12>>2]=b;b=v[n+4>>2];v[i>>2]=v[n>>2];v[i+4>>2]=b;b=e<<4;e=id(n,n+16|0,b)+b|0;b=v[i+12>>2];v[e+8>>2]=v[i+8>>2];v[e+12>>2]=b;b=v[i+4>>2];v[e>>2]=v[i>>2];v[e+4>>2]=b;b=v[a+24>>2]}k=b-1|0;v[d+24>>2]=k}if((p|0)>2){continue}break}h=0}Ma=i+16|0;return h}function dy(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=Ma-32|0;Ma=d;t[d+15|0]=c;a:{b:{c:{d:{e:{if(b){e=v[a>>2];if(!(!e|(b|0)>-1)){b=v[e+8>>2]+b|0}if(v[e+8>>2]>=(b|0)?!(!e|(b|0)<0):0){break e}ni();L()}e=v[a>>2];if(!e){break d}b=0}g=Ma-16|0;Ma=g;h=d+8|0;v[h>>2]=0;f:{f=v[e+8>>2];b=(f&b>>31)+b|0;if(!((b|0)<0|(b|0)>(f|0))){g:{if(w[b+v[e+12>>2]|0]==(c&255)){qb(h,e);break g}if(!c){c=g+8|0;qE(c,e,b);jb(h,c);b=v[g+8>>2];v[g+8>>2]=0;if(!b){break g}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break g}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}break g}qE(g,e,(b|0)<(f|0)?f:b);jb(h,g);f=v[g>>2];v[g>>2]=0;h:{if(!f){break h}i=v[f+4>>2]-1|0;v[f+4>>2]=i;if(i){break h}i=v[f+4>>2];if(!i){v[f+4>>2]=-32767}if(!i){Qa[v[v[f>>2]+4>>2]](f)}}t[b+v[v[h>>2]+12>>2]|0]=c;if((b|0)!=v[e+8>>2]){break g}t[(b+v[v[h>>2]+12>>2]|0)+1|0]=0}Ma=g+16|0;break f}ni();L()}b=v[d+8>>2];if(!b){break c}Qa[v[v[b>>2]+28>>2]](d+16|0,b,1);break b}v[d+24>>2]=0;v[d+28>>2]=0;v[d+20>>2]=0;v[d+16>>2]=978704;Qr(d+8|0,d+16|0,d+15|0,0,1);v[d+16>>2]=978608;b=v[d+28>>2];if(b){t[b|0]=0;$a(v[d+28>>2])}v[d+28>>2]=0;bc(d+16|0);b=v[d+8>>2];i:{if(b){Qa[v[v[b>>2]+28>>2]](d+16|0,b,1);break i}v[d+16>>2]=0}jb(a,d+16|0);b=v[d+16>>2];v[d+16>>2]=0;j:{if(!b){break j}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break j}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=a;a=v[a>>2];v[b+4>>2]=v[(a?a+12|0:1117e3)>>2];a=v[d+8>>2];v[d+8>>2]=0;if(!a){break a}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break a}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}break a}v[d+16>>2]=0}jb(a,d+16|0);b=v[d+16>>2];v[d+16>>2]=0;k:{if(!b){break k}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break k}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=a;a=v[a>>2];v[b+4>>2]=v[(a?a+12|0:1117e3)>>2];a=v[d+8>>2];v[d+8>>2]=0;if(!a){break a}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break a}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=d+32|0}function GB(a,b,c){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,p=0,q=0,r=0;a:{if(!a|(((a?v[a+8>>2]:-1)|0)!=1|b-1>>>0>3)){break a}h=c;if(!h){h=J2();if(!h){break a}}g=a?v[a>>2]:-1;e=a?v[a+4>>2]:-1;if((e|0)<2){break a}l=a?v[a+12>>2]:-1;r=a?v[a+40>>2]:0;g=Mg((g|0)/2|0,e>>>1|0,1);if(!g){break a}if(!(!a|!g|(a|0)==(g|0))){v[g+20>>2]=v[a+20>>2];v[g+24>>2]=v[a+24>>2]}a=g;if(a){nr(a,C(.5),C(.5))}g=a?v[a+12>>2]:-1;o=a?v[a+40>>2]:0;i=g<<1;i=(l|0)<(i|0)?l:i;b:{c:{switch(b-1|0){case 3:if((e|0)<2|(i|0)<1){break b}e=e-2>>>1|0;while(1){k=(B(j,l)<<2)+r|0;m=k+(l<<2)|0;n=(B(f,g)<<2)+o|0;b=0;while(1){d=b<<2;d=v[d+m>>2]&v[d+k>>2];d=B(d<<1&d&-1431655766,129);u[(n+(b<<1)^2)>>1]=w[(d>>>24|0)+h|0]<<8|w[(d>>>8&255)+h|0];b=b+1|0;if((i|0)!=(b|0)){continue}break}j=j+2|0;b=(e|0)==(f|0);f=f+1|0;if(!b){continue}break};break b;case 2:if((e|0)<2|(i|0)<1){break b}e=e-2>>>1|0;while(1){k=(B(j,l)<<2)+r|0;m=k+(l<<2)|0;n=(B(f,g)<<2)+o|0;b=0;while(1){d=b<<2;p=v[d+m>>2];d=v[d+k>>2];q=p|d;d=d&p;d=B(q<<1&q&(d<<1|d)&-1431655766,129);u[(n+(b<<1)^2)>>1]=w[(d>>>24|0)+h|0]<<8|w[(d>>>8&255)+h|0];b=b+1|0;if((i|0)!=(b|0)){continue}break}j=j+2|0;b=(e|0)==(f|0);f=f+1|0;if(!b){continue}break};break b;case 1:if((e|0)<2|(i|0)<1){break b}e=e-2>>>1|0;while(1){k=(B(j,l)<<2)+r|0;m=k+(l<<2)|0;n=(B(f,g)<<2)+o|0;b=0;while(1){d=b<<2;p=v[d+m>>2];d=v[d+k>>2];q=p&d;d=d|p;d=B((q<<1|q|d<<1&d)&-1431655766,129);u[(n+(b<<1)^2)>>1]=w[(d>>>24|0)+h|0]<<8|w[(d>>>8&255)+h|0];b=b+1|0;if((i|0)!=(b|0)){continue}break}j=j+2|0;b=(e|0)==(f|0);f=f+1|0;if(!b){continue}break};break b;case 0:break c;default:break b}}if((e|0)<2|(i|0)<1){break b}e=e-2>>>1|0;while(1){k=(B(j,l)<<2)+r|0;m=k+(l<<2)|0;n=(B(f,g)<<2)+o|0;b=0;while(1){d=b<<2;d=v[d+m>>2]|v[d+k>>2];d=B((d<<1|d)&-1431655766,129);u[(n+(b<<1)^2)>>1]=w[(d>>>24|0)+h|0]<<8|w[(d>>>8&255)+h|0];b=b+1|0;if((i|0)!=(b|0)){continue}break}j=j+2|0;b=(e|0)!=(f|0);f=f+1|0;if(b){continue}break}}if(!c){$a(h)}o=a}return o}function uw(a,b,c){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;h=Ma-16|0;Ma=h;v[c>>2]=0;a:{if(!a){a=33;break a}if(!b){a=6;break a}j=v[a>>2];d=cc(j,40,h+12|0);a=v[h+12>>2];if(a){break a}v[d+28>>2]=j;b:{c:{d:{a=v[b>>2];e:{f:{if(a&1){f=v[b+4>>2];a=v[b+8>>2];v[d+32>>2]=0;v[d+8>>2]=0;v[d+4>>2]=a;v[d>>2]=f;v[d+20>>2]=0;v[d+24>>2]=0;break f}if(a&4){n=v[b+12>>2];i=Ma-96|0;Ma=i;g:{if(!d){m=40;break g}k=mu(n,0,0);if((k|0)<0){m=1;break g}v[i>>2]=1;f=Ma-128|0;Ma=f;v[f+120>>2]=i+4;v[f>>2]=v[i>>2];a=fa(k|0,2,f|0)|0;if(a>>>0>=4294963201){v[296206]=0-a}Ma=f+128|0;l=Ma-32|0;Ma=l;h:{i:{a=k;o=i+8|0;f=Ga(a|0,o|0)|0;if((f|0)==-8){g=Ma-32|0;Ma=g;e=ta(a|0,g+8|0)|0;if(e){v[296206]=e;e=0}else{e=1}Ma=g+32|0;if(e){break i}}if(f>>>0>=4294963201){v[296206]=0-f;a=-1}else{a=f}break h}g=0;while(1){e=g+l|0;t[e|0]=w[g+326265|0];f=(g|0)!=14;g=g+1|0;if(f){continue}break}j:{if(a){g=14;e=a;while(1){g=g+1|0;f=e>>>0>9;e=(e>>>0)/10|0;if(f){continue}break}t[g+l|0]=0;while(1){g=g-1|0;f=(a>>>0)/10|0;t[l+g|0]=a-B(f,10)|48;e=a>>>0>9;a=f;if(e){continue}break}break j}t[e|0]=48;t[l+15|0]=0}a=ia(l|0,o|0)|0;if(a>>>0>=4294963201){v[296206]=0-a;a=-1}}Ma=l+32|0;k:{if((a|0)<0){break k}e=v[i+52>>2];a=v[i+48>>2];if(a>>>0>2147483647&(e|0)>=0|(e|0)>0|!(a|e)){break k}v[d+8>>2]=0;v[d+4>>2]=a;a=RP(a,2,k);v[d>>2]=a;f=d;if(a+1>>>0>1){a=1953}else{g=v[d+4>>2];e=gb(g);v[d>>2]=e;if(!e){break k}a=0;while(1){e=sP(k,a+e|0,g-a|0);l:{if((e|0)<=0){if((e|0)==-1&v[296206]==27){break l}$a(v[d>>2]);break k}a=a+e|0}g=v[d+4>>2];if((a|0)!=(g|0)){e=v[d>>2];continue}break}a=1954}v[f+24>>2]=a;fu(k);v[d+20>>2]=0;v[d+16>>2]=n;v[d+12>>2]=v[d>>2];break g}fu(k);v[d+8>>2]=0;v[d>>2]=0;v[d+4>>2]=0;m=81}Ma=i+96|0;a=m;v[h+12>>2]=a;v[d+16>>2]=v[b+12>>2];break e}if(!(a&2)|!v[b+16>>2]){break d}if(d){Qa[v[j+8>>2]](j,d)}d=v[b+16>>2]}a=v[h+12>>2]}if(a){break c}v[d+28>>2]=j;a=0;break b}v[h+12>>2]=6}if(d){Qa[v[j+8>>2]](j,d)}d=0;a=v[h+12>>2]}v[c>>2]=d}Ma=h+16|0;return a}function qGa(a,b){a=a|0;b=b|0;var 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,u=0;f=Ma-16|0;Ma=f;j=v[b+16>>2];k=v[b+8>>2];Qa[v[b+28>>2]](b);a:{b:{c:{d:{c=v[b>>2];if(c>>>0>>0){v[b>>2]=c+1;if(w[c|0]==91){break d}}c=3;v[f+12>>2]=3;break c}Qa[v[b+28>>2]](b);e:{f:{d=v[b>>2];g:{if(k>>>0<=d>>>0){break g}while(1){h:{i:{j:{c=w[d|0];if((c|0)!=60){if((c|0)!=93){break j}v[b>>2]=d+1;break b}if(l?0:g){break e}Qa[v[b+32>>2]](b);if(v[b+12>>2]){break b}c=v[b>>2];i=(c+(d^-1)|0)/2|0;if(c-d>>>0<=2){break g}g=yb(j,1,p,i,g,f+12|0);c=v[f+12>>2];if(c){break c}v[b>>2]=d;l=1;Qa[v[b+44>>2]](b,g,i,f+8|0,1)|0;h=v[f+8>>2];break i}if(c-48>>>0>9){i=p;break i}if(l){break g}h=Qa[v[b+36>>2]](b)|0;if((h|0)<=-1){break e}Qa[v[b+32>>2]](b);if(v[b+12>>2]){break a}c=v[b>>2];g=c+1|0;if(k-c>>>0<=h>>>0){break e}v[b>>2]=(c+h|0)+1;l=0;break h}if(!g){break f}p=i}k:{l:{if(!(h&1)){c=h;break l}c=h-1|0;if(w[g+c|0]){break k}}h=c;if(!c){break g}}i=k-v[b>>2]|0;n=0;while(1){m:{n:{o:{switch(e|0){case 0:e=0;if((m|0)<12){break n}c=v[a+496>>2];o=(w[c+4|0]<<4)+w[c+5|0]|0;d=o<<4|12;v[a+500>>2]=d;if((d|0)>(i|0)){break g}s=a,u=yb(j,1,12,d,c,f+12|0),v[s+496>>2]=u;c=v[f+12>>2];if(c){break c}case 1:e=1;c=v[a+500>>2];if((m|0)<(c|0)){break n}q=v[a+496>>2];if(o>>>0>=1){r=q+24|0;d=0;while(1){e=(d<<4)+r|0;e=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(e>>>0>i>>>0|(i-e|0)<(c|0)){break g}c=(e+3&-4)+c|0;v[a+500>>2]=c;d=d+1|0;if((o|0)!=(d|0)){continue}break}}s=a,u=yb(j,1,o<<4|12,c+1|0,q,f+12|0),v[s+496>>2]=u;c=v[f+12>>2];if(c){break c}break;case 2:break o;default:break m}}e=2;if(v[a+500>>2]<=(m|0)){break g}}t[v[a+496>>2]+m|0]=w[g+n|0];m=m+1|0}n=n+1|0;if((n|0)!=(h|0)){continue}break}Qa[v[b+28>>2]](b);d=v[b>>2];if(k>>>0>d>>>0){continue}break}}c=3;v[f+12>>2]=3;break c}c=3;v[f+12>>2]=3;g=0;break c}c=3;v[f+12>>2]=3;l=0}v[b+12>>2]=c}if(!l){break a}if(g){Qa[v[j+8>>2]](j,g)}}Ma=f+16|0}function eQ(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=Ma-32|0;Ma=g;Lr(g+24|0,b);c=v[g+24>>2];if(c){j=v[c+8>>2]}e=g+24|0;db(e);d=g+20|0;c=v[b>>2];if(c){c=v[c+8>>2]}else{c=0}k=pc(e,d,c+1|0,1);c=v[b>>2];od(v[g+20>>2],v[(c?c+12|0:1117e3)>>2]);l=v[g+20>>2];a:{h=v[b>>2];if(h){e=v[h+8>>2]}else{e=0}d=j+1|0;b:{if((e|0)<=(d|0)){break b}c:{if(d){f=!h;c=d;d:{if((j|0)>-2){break d}c=d;if(!h){break d}c=d+v[h+8>>2]|0}if(f|(c|0)<0|v[h+8>>2]<(c|0)){break a}i=v[h+12>>2];break c}if(!h){break b}c=0;i=v[h+12>>2]}f=h;if(w[c+i|0]==47){d=j+2|0;e:{if(!d){c=0;break e}c=d;c=(j|0)<=-3?c+v[h+8>>2]|0:c;if((c|0)<0|v[h+8>>2]<(c|0)){break a}}d=w[c+i|0]==47?j+3|0:d}c=an(f,47,d);e=(c|0)>0?c:e}v[g+8>>2]=0;v[g+12>>2]=v[279250];f=e+l|0;c=f;while(1){f:{d=w[c|0];if(d){if((d|0)!=63&(d|0)!=35){break f}oi(g+8|0,c);t[c|0]=0}c=Cc(f,326314);if(c){while(1){d=zb(c);e=((d|0)<3?d:3)+c|0;while(1){d=w[e|0];t[c|0]=d;c=c+1|0;e=e+1|0;if(d){continue}break}c=Cc(f,326314);if(c){continue}break}}c=Cc(f,326316);if(c){while(1){d=zb(c);e=((d|0)<1?d:1)+c|0;while(1){d=w[e|0];t[c|0]=d;c=c+1|0;e=e+1|0;if(d){continue}break}c=Cc(f,326316);if(c){continue}break}}c=Cc(f,326319);if(c){while(1){d=zb(c);e=((d|0)<2?d:2)+c|0;while(1){d=w[e|0];t[c|0]=d;c=c+1|0;e=e+1|0;if(d){continue}break}c=Cc(f,326319);if(c){continue}break}}e=Cc(f,326323);if(e){while(1){c=e;g:{while(1){c=c-1|0;if(f>>>0>c>>>0){break g}if(w[c|0]!=47){continue}break}i=zb(c);d=(e-c|0)+3|0;e=((d|0)>(i|0)?i:d)+c|0;while(1){d=w[e|0];t[c|0]=d;c=c+1|0;e=e+1|0;if(d){continue}break}}e=Cc(f,326323);if(e){continue}break}}e=(zb(f)+f|0)-2|0;h:{if(e>>>0>>0){break h}d=Oc(g,326343);c=Hb(d,e,-1);db(d);if(c){break h}t[e+1|0]=0}c=(zb(f)+f|0)-3|0;i:{if(f>>>0>c>>>0){break i}e=Oc(g,326346);d=Hb(e,c,-1);db(e);if(d){break i}while(1){d=c;c=c-1|0;if(f>>>0>c>>>0){break i}if(w[c|0]!=47){continue}break}t[d|0]=0}oi(b,v[g+20>>2]);c=a;a=g+8|0;Xb(c,b,a);db(a);ec(k);Ma=g+32|0;return}c=c+1|0;continue}}ni();L()}function ky(a,b,c,d){var e=0;e=B(b,3);b=e+a|0;t[c|0]=((w[b+3|0]+B(w[a|0],11)|0)+(w[b|0]+w[a+3|0]<<1)|0)+8>>>4;t[c+1|0]=((w[b+4|0]+B(w[a+1|0],11)|0)+(w[b+1|0]+w[a+4|0]<<1)|0)+8>>>4;t[c+2|0]=((w[b+5|0]+B(w[a+2|0],11)|0)+(w[b+2|0]+w[a+5|0]<<1)|0)+8>>>4;t[c+3|0]=(w[b+6|0]+(w[b+3|0]+B(w[a+6|0]+w[a+3|0]|0,7)|0)|0)+8>>>4;t[c+4|0]=(w[b+7|0]+(w[b+4|0]+B(w[a+7|0]+w[a+4|0]|0,7)|0)|0)+8>>>4;t[c+5|0]=(w[b+8|0]+(w[b+5|0]+B(w[a+8|0]+w[a+5|0]|0,7)|0)|0)+8>>>4;t[c+6|0]=((w[b+6|0]+B(w[a+9|0],11)|0)+(w[b+9|0]+w[a+6|0]<<1)|0)+8>>>4;t[c+7|0]=((w[b+7|0]+B(w[a+10|0],11)|0)+(w[b+10|0]+w[a+7|0]<<1)|0)+8>>>4;t[c+8|0]=((w[b+8|0]+B(w[a+11|0],11)|0)+(w[b+11|0]+w[a+8|0]<<1)|0)+8>>>4;d=B(d,3);c=d+c|0;a=b+e|0;t[c|0]=(w[b+3|0]+(w[a+3|0]+B(w[b|0]+w[a|0]|0,7)|0)|0)+8>>>4;t[c+1|0]=(w[b+4|0]+(w[a+4|0]+B(w[b+1|0]+w[a+1|0]|0,7)|0)|0)+8>>>4;t[c+2|0]=(w[b+5|0]+(w[a+5|0]+B(w[b+2|0]+w[a+2|0]|0,7)|0)|0)+8>>>4;t[c+3|0]=(w[b+3|0]+(w[a+3|0]+(w[a+6|0]+w[b+6|0]|0)|0)|0)+2>>>2;t[c+4|0]=(w[b+4|0]+(w[a+4|0]+(w[a+7|0]+w[b+7|0]|0)|0)|0)+2>>>2;t[c+5|0]=(w[b+5|0]+(w[a+5|0]+(w[a+8|0]+w[b+8|0]|0)|0)|0)+2>>>2;t[c+6|0]=(w[b+6|0]+(w[a+6|0]+B(w[b+9|0]+w[a+9|0]|0,7)|0)|0)+8>>>4;t[c+7|0]=(w[b+7|0]+(w[a+7|0]+B(w[b+10|0]+w[a+10|0]|0,7)|0)|0)+8>>>4;t[c+8|0]=(w[b+8|0]+(w[a+8|0]+B(w[b+11|0]+w[a+11|0]|0,7)|0)|0)+8>>>4;c=c+d|0;b=a+e|0;t[c|0]=((w[a+3|0]+B(w[b|0],11)|0)+(w[a|0]+w[b+3|0]<<1)|0)+8>>>4;t[c+1|0]=((w[a+4|0]+B(w[b+1|0],11)|0)+(w[a+1|0]+w[b+4|0]<<1)|0)+8>>>4;t[c+2|0]=((w[a+5|0]+B(w[b+2|0],11)|0)+(w[a+2|0]+w[b+5|0]<<1)|0)+8>>>4;t[c+3|0]=(w[a+6|0]+(w[a+3|0]+B(w[b+6|0]+w[b+3|0]|0,7)|0)|0)+8>>>4;t[c+4|0]=(w[a+7|0]+(w[a+4|0]+B(w[b+7|0]+w[b+4|0]|0,7)|0)|0)+8>>>4;t[c+5|0]=(w[a+8|0]+(w[a+5|0]+B(w[b+8|0]+w[b+5|0]|0,7)|0)|0)+8>>>4;t[c+6|0]=((w[a+6|0]+B(w[b+9|0],11)|0)+(w[a+9|0]+w[b+6|0]<<1)|0)+8>>>4;t[c+7|0]=((w[a+7|0]+B(w[b+10|0],11)|0)+(w[a+10|0]+w[b+7|0]<<1)|0)+8>>>4;t[c+8|0]=((w[a+8|0]+B(w[b+11|0],11)|0)+(w[a+11|0]+w[b+8|0]<<1)|0)+8>>>4}function j3(a){var 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;i=Ma-16|0;Ma=i;a:{if(!a){break a}b:{switch((a?v[a+8>>2]:-1)-1|0){case 0:e=Ma-16|0;Ma=e;c:{if(!a|((a?v[a+8>>2]:-1)|0)!=1){break c}g=e+12|0;h=e+8|0;if(a){if(g){v[g>>2]=v[a>>2]}if(h){v[h>>2]=v[a+4>>2]}}c=Mg(v[e+12>>2],v[e+8>>2],32);if(!c){break c}if(!(!a|!c|(a|0)==(c|0))){v[c+20>>2]=v[a+20>>2];v[c+24>>2]=v[a+24>>2]}v[e+4>>2]=0;v[e>>2]=-1;l=a?v[a+40>>2]:0;m=a?v[a+12>>2]:-1;g=c?v[c+40>>2]:0;h=c?v[c+12>>2]:-1;a=v[e+8>>2];d:{if((a|0)<1){break d}b=v[e+12>>2];if((b|0)<1){break d}while(1){if((b|0)>=1){n=g+(B(f,h)<<2)|0;j=l+(B(f,m)<<2)|0;a=0;while(1){v[n+(a<<2)>>2]=v[e+((v[j+(a>>>3&536870908)>>2]>>>(a^-1)&1)<<2)>>2];a=a+1|0;b=v[e+12>>2];if((a|0)<(b|0)){continue}break}a=v[e+8>>2]}f=f+1|0;if((f|0)<(a|0)){continue}break}}b=c}Ma=e+16|0;break a;case 1:a=l3(a,1);v[i+12>>2]=a;b=LB(a);_b(i+12|0);break a;case 3:a=k3(a,1);v[i+12>>2]=a;b=LB(a);_b(i+12|0);break a;case 7:b=LB(a);break a;case 15:a=m3(a);v[i+12>>2]=a;b=LB(a);_b(i+12|0);break a;case 23:d=Ma-32|0;Ma=d;e:{if(!a){break e}g=d+28|0;h=d+24|0;b=d+20|0;if(a){if(g){v[g>>2]=v[a>>2]}if(h){v[h>>2]=v[a+4>>2]}if(b){v[b>>2]=v[a+8>>2]}}if(v[d+20>>2]!=32){break e}l=a?v[a+40>>2]:0;m=a?v[a+12>>2]:-1;c=CK(v[d+28>>2],v[d+24>>2],24);g=c?v[c+40>>2]:0;h=c?v[c+12>>2]:-1;b=v[d+24>>2];f:{if((b|0)<1){break f}f=v[d+28>>2];if((f|0)<1){break f}while(1){if((f|0)>=1){n=l+(B(m,k)<<2)|0;b=g+(B(h,k)<<2)|0;e=0;while(1){f=v[(e<<2)+n>>2];if(d+16|0){v[d+16>>2]=f>>>24}j=d+12|0;if(j){v[j>>2]=f>>>16&255}j=d+8|0;if(j){v[j>>2]=f>>>8&255}t[b|0]=v[d+16>>2];t[b+1|0]=v[d+12>>2];t[b+2|0]=v[d+8>>2];b=b+3|0;e=e+1|0;f=v[d+28>>2];if((e|0)<(f|0)){continue}break}b=v[d+24>>2]}k=k+1|0;if((k|0)<(b|0)){continue}break}}if(!(!a|!c|(a|0)==(c|0))){v[c+20>>2]=v[a+20>>2];v[c+24>>2]=v[a+24>>2]}if(!(!a|!c|(a|0)==(c|0))){v[c+28>>2]=v[a+28>>2]}}Ma=d+32|0;b=c;break a;case 31:break b;default:break a}}b=se(0,a)}Ma=i+16|0;return b}function n1(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;z[a+8>>2]=z[a>>2]+d;z[a+12>>2]=z[a+4>>2]+e;h=v[a+80>>2];if(h){i=h-4|0;f=v[i>>2];if(f){f=h+B(f,96)|0;while(1){g=f;f=f-96|0;a:{if(!v[g-4>>2]){break a}g=g-8|0;j=v[g>>2];if(!j){break a}$a(j);v[g>>2]=0}if((f|0)!=(h|0)){continue}break}}$a(i)}v[a+88>>2]=0;g=v[c>>2];v[a+84>>2]=g;if((g|0)>=1){c=ab((k=-1,l=x3a(g,0,96,0)|4,m=Pa,m?k:l));v[c>>2]=g;c=c+4|0;f=c;i=B(g,96);j=i-96|0;h=((j>>>0)/96|0)+1&7;if(h){f=c;while(1){v[f+68>>2]=0;v[f+72>>2]=0;v[f+84>>2]=0;v[f+88>>2]=0;v[f+76>>2]=0;v[f+80>>2]=0;v[f+92>>2]=1;f=f+96|0;h=h-1|0;if(h){continue}break}}if(j>>>0>=672){h=c+i|0;while(1){v[f+68>>2]=0;v[f+72>>2]=0;v[f+84>>2]=0;v[f+88>>2]=0;v[f+76>>2]=0;v[f+80>>2]=0;v[f+164>>2]=0;v[f+168>>2]=0;v[f+92>>2]=1;v[f+172>>2]=0;v[f+176>>2]=0;v[f+180>>2]=0;v[f+184>>2]=0;v[f+260>>2]=0;v[f+264>>2]=0;v[f+188>>2]=1;v[f+268>>2]=0;v[f+272>>2]=0;v[f+276>>2]=0;v[f+280>>2]=0;v[f+356>>2]=0;v[f+360>>2]=0;v[f+284>>2]=1;v[f+364>>2]=0;v[f+368>>2]=0;v[f+372>>2]=0;v[f+376>>2]=0;v[f+380>>2]=1;v[f+452>>2]=0;v[f+456>>2]=0;v[f+460>>2]=0;v[f+464>>2]=0;v[f+468>>2]=0;v[f+472>>2]=0;v[f+548>>2]=0;v[f+552>>2]=0;v[f+476>>2]=1;v[f+556>>2]=0;v[f+560>>2]=0;v[f+564>>2]=0;v[f+568>>2]=0;v[f+644>>2]=0;v[f+648>>2]=0;v[f+572>>2]=1;v[f+652>>2]=0;v[f+656>>2]=0;v[f+660>>2]=0;v[f+664>>2]=0;v[f+740>>2]=0;v[f+744>>2]=0;v[f+668>>2]=1;v[f+748>>2]=0;v[f+752>>2]=0;v[f+756>>2]=0;v[f+760>>2]=0;v[f+764>>2]=1;f=f+768|0;if((h|0)!=(f|0)){continue}break}}v[a+80>>2]=c;h=g&3;f=0;if(g-1>>>0>=3){a=g&-4;while(1){g=v[(f<<2)+b>>2];i=c+B(f,96)|0;t[i+64|0]=0;v[i>>2]=g;g=f|1;i=v[(g<<2)+b>>2];g=c+B(g,96)|0;t[g+64|0]=0;v[g>>2]=i;g=f|2;i=v[(g<<2)+b>>2];g=c+B(g,96)|0;t[g+64|0]=0;v[g>>2]=i;g=f|3;i=v[(g<<2)+b>>2];g=c+B(g,96)|0;t[g+64|0]=0;v[g>>2]=i;f=f+4|0;a=a-4|0;if(a){continue}break}}if(h){while(1){a=v[(f<<2)+b>>2];g=c+B(f,96)|0;t[g+64|0]=0;v[g>>2]=a;f=f+1|0;h=h-1|0;if(h){continue}break}}return}v[a+80>>2]=0}function R4(a,b,c,d,e,f,g,h,i,j,k,l,m){var n=0,o=0,p=0,q=0,r=0,s=0,y=0;q=Ma-16|0;Ma=q;o=Qa[v[a+152>>2]](92)|0;a:{if(!o){ob(a,1,0,0);a=1;break a}n=Qa[v[a+152>>2]](1180)|0;b:{if(n){t[n+54|0]=0;t[n+53|0]=0;t[n+49|0]=0;t[n+50|0]=0;t[n+51|0]=0;t[n+52|0]=0;t[n+48|0]=0;t[n+47|0]=0;t[n+46|0]=0;t[n+45|0]=0;t[n+44|0]=0;v[n+40>>2]=0;v[n+36>>2]=0;t[n+34|0]=e;t[n+33|0]=c;t[n+32|0]=0;v[n+28>>2]=1;v[n+4>>2]=0;v[n>>2]=621;v[n+1164>>2]=1;v[n+1168>>2]=0;v[n+1172>>2]=0;p=w[a+308|0];t[n+57|0]=p;r=w[a+309|0];t[n+58|0]=r;s=w[a+310|0];t[n+59|0]=s;y=w[a+311|0];t[n+60|0]=y;c=w[a+312|0];t[n+61|0]=c;if(p){v[n+1104>>2]=v[a+2192>>2]}if(r){v[n+1108>>2]=v[a+2196>>2];v[n+1112>>2]=v[a+2200>>2];v[n+1116>>2]=v[a+2204>>2];v[n+1120>>2]=v[a+2208>>2];v[n+1124>>2]=v[a+2212>>2];v[n+1128>>2]=v[a+2216>>2];v[n+1132>>2]=v[a+2220>>2];v[n+1136>>2]=v[a+2224>>2]}if(s){t[n+1140|0]=w[a+2228|0]}c:{d:{if(!y){break d}p=v[a+2232>>2];v[n+1144>>2]=p;if(!p){break d}c=Qa[v[a+152>>2]](p)|0;v[n+1148>>2]=c;if(!c){c=v[n+1176>>2];if(c){Qa[v[a+156>>2]](c,v[n+1172>>2])}break c}cb(c,v[a+2236>>2],v[n+1144>>2]);c=w[a+312|0]}if(c){u[n+1156>>1]=x[a+2240>>1];u[n+1158>>1]=x[a+2242>>1];u[n+1160>>1]=x[a+2244>>1]}v[q+12>>2]=n;c=0;break b}Qa[v[a+156>>2]](n,1180)}ob(a,1,0,0);c=1}if(c){Qa[v[a+156>>2]](o,92);a=1;break a}t[o+32|0]=e;t[o+31|0]=d;e=0;t[o+30|0]=0;u[o+28>>1]=b;v[o+4>>2]=0;v[o>>2]=622;e=!w[a+432|0]|!(w[a+476|0]?1:w[a+496|0])?e:!w[a+500|0];v[o+80>>2]=0;v[o+84>>2]=0;v[o+60>>2]=l;v[o+56>>2]=k;v[o+52>>2]=j;v[o+48>>2]=i;t[o+44|0]=h;v[o+40>>2]=g;v[o+36>>2]=f;t[o+33|0]=e;v[o+64>>2]=0;v[o+68>>2]=0;u[o+70>>1]=0;u[o+72>>1]=0;u[o+74>>1]=0;u[o+76>>1]=0;v[o+88>>2]=v[q+12>>2];if(b){c=a+692|0;e:{f:{e=v[a+692>>2];if(e){while(1){if(x[e+28>>1]<=b>>>0){break f}e=v[e+12>>2];if(e){continue}break}}e=v[a+688>>2];v[o+8>>2]=e;v[a+688>>2]=o;break e}v[o+12>>2]=e;v[o+8>>2]=v[e+8>>2];v[e+8>>2]=o;e=v[o+8>>2]}v[(e?e+12|0:c)>>2]=o}v[m>>2]=o;a=0}Ma=q+16|0;return a}function JOa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;a:{e=v[a+444>>2];if(!v[e+48>>2]){if(!(Qa[v[v[a+448>>2]+12>>2]](a,v[((v[e+64>>2]<<2)+e|0)+56>>2])|0)){break a}v[e+48>>2]=1;v[e+76>>2]=v[e+76>>2]+1}b:{switch(v[e+68>>2]){case 2:Qa[v[v[a+452>>2]+4>>2]](a,v[((v[e+64>>2]<<2)+e|0)+56>>2],e+52|0,v[e+72>>2],b,c,d);if(y[e+52>>2]>2]){break a}v[e+68>>2]=0;if(y[c>>2]>=d>>>0){break a}case 0:v[e+52>>2]=0;l=v[a+324>>2];v[e+72>>2]=l-1;c:{if(v[e+76>>2]!=v[a+328>>2]){break c}m=v[a+36>>2];if((m|0)<1){break c}p=v[a+444>>2];q=(v[p+64>>2]<<2)+p|0;j=v[a+216>>2];while(1){f=B(v[j+40>>2],v[j+12>>2]);g=y[j+48>>2]%(f>>>0)|0;g=g?g:f;h=g-1|0;f=(f|0)/(l|0)|0;if(!n){v[p+72>>2]=((h|0)/(f|0)|0)+1}d:{if((f|0)<1){break d}i=h<<2;h=v[v[q+56>>2]+(n<<2)>>2];i=i+h|0;f=f<<1;k=(f|0)>1?f:1;o=k&3;f=0;if(k-1>>>0>=3){k=k&2147483644;while(1){v[h+(f+g<<2)>>2]=v[i>>2];v[h+(g+(f|1)<<2)>>2]=v[i>>2];v[h+(g+(f|2)<<2)>>2]=v[i>>2];v[h+(g+(f|3)<<2)>>2]=v[i>>2];f=f+4|0;k=k-4|0;if(k){continue}break}}if(!o){break d}while(1){v[h+(f+g<<2)>>2]=v[i>>2];f=f+1|0;o=o-1|0;if(o){continue}break}}j=j+88|0;n=n+1|0;if((m|0)!=(n|0)){continue}break}}v[e+68>>2]=1;break;case 1:break b;default:break a}}Qa[v[v[a+452>>2]+4>>2]](a,v[((v[e+64>>2]<<2)+e|0)+56>>2],e+52|0,v[e+72>>2],b,c,d);if(y[e+52>>2]>2]){break a}e:{if(v[e+76>>2]!=1){a=v[a+324>>2];d=a+2|0;b=a+1|0;break e}i=v[a+324>>2];d=i+2|0;b=i+1|0;o=v[a+36>>2];if((o|0)<1){break e}n=v[a+444>>2];a=v[a+216>>2];h=0;while(1){c=(B(v[a+40>>2],v[a+12>>2])|0)/(i|0)|0;if((c|0)>=1){p=B(c,d);k=B(b,c);f=h<<2;j=v[f+v[n+60>>2]>>2];g=v[f+v[n+56>>2]>>2];f=0;while(1){l=f-c<<2;m=f+k<<2;v[l+g>>2]=v[m+g>>2];v[j+l>>2]=v[j+m>>2];l=f+p<<2;m=f<<2;v[l+g>>2]=v[m+g>>2];v[j+l>>2]=v[j+m>>2];f=f+1|0;if((c|0)!=(f|0)){continue}break}}a=a+88|0;h=h+1|0;if((o|0)!=(h|0)){continue}break}}v[e+72>>2]=d;v[e+52>>2]=b;v[e+48>>2]=0;v[e+68>>2]=2;v[e+64>>2]=v[e+64>>2]^1}}function oH(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=Ma-128|0;Ma=i;a:{if(!c){break a}v[c>>2]=0;if(!b){break a}b:{c:{d:{d=w[b|0];if((d|0)!=58){g=b;while(1){h=g+1|0;f=d&255;if(!f|(f|0)==58){break d}e:{if((e|0)!=100){t[(i+16|0)+e|0]=d;h=g+2|0;f=e|1;d=w[g+1|0];if(d?(d|0)!=58:0){break e}e=f;break d}g=d&255;e=100;break c}t[f+(i+16|0)|0]=d;h=g+3|0;f=e|2;d=w[g+2|0];if(!d){e=f;break d}if((d|0)==58){e=f;break d}t[f+(i+16|0)|0]=d;h=g+4|0;f=e|3;d=w[g+3|0];if(!d){e=f;break d}if((d|0)==58){e=f;break d}else{t[f+(i+16|0)|0]=d;e=e+4|0;d=w[h|0];g=h;continue}}}d=Sd(b);break a}g=d&255;if(e>>>0>99){break c}f=0;j=100;break b}d=0;j=e<<1;f=Qa[v[256555]](j)|0;if(!f){Yc(a,0);break a}cb(f,i+16|0,e);while(1){f:{d=g&255;if(!(!d|(d|0)==58)){if((e+10|0)<=(j|0)){d=f;break f}j=j<<1;d=Qa[v[256557]](f,j)|0;if(d){break f}d=0;Qa[v[256556]](f);Yc(a,0);break a}t[e+f|0]=0;break b}t[d+e|0]=g;e=e+1|0;g=w[h|0];h=h+1|0;f=d;continue}}if(!(w[h|0]|(g|0)!=58)){if(f){Qa[v[256556]](f)}v[c>>2]=0;d=Sd(b);break a}d=100;if(!f){f=Ek(i+16|0,e);d=j}if((g|0)!=58){d=f;break a}g=w[h|0];v[c>>2]=f;if(!g){d=Ek(349015,0);break a}g:{if((g-97&255)>>>0<26|(g-65&255)>>>0<26){break g}c=g&255;if((c|0)==58|(c|0)==95){break g}c=tl(a,h,i+12|0);h:{if((c|0)<=255){if((c&-33)-65>>>0<26|c-192>>>0<23|((c|0)==95|(c|0)>247)){break g}if(c-216>>>0>=31){break h}break g}if(xl(c,870612)|(c|0)==12295|(c-19968>>>0<20902|c-12321>>>0<9)){break g}}He(a,202,338904,b)}h=h+1|0;i:{j:{if((d|0)<1){e=0;break j}e=0;while(1){k:{t[(i+16|0)+e|0]=g;b=h+1|0;e=e+1|0;g=w[h|0];if(!g){break k}h=b;if((d|0)>(e|0)){continue}}break}if((d|0)>(e|0)){break i}h=b}b=e<<1;c=Qa[v[256555]](b)|0;if(!c){d=0;Yc(a,0);break a}d=cb(c,i+16|0,e);if(g){while(1){l:{if((e+10|0)<=(b|0)){d=c;break l}b=b<<1;d=Qa[v[256557]](c,b)|0;if(d){break l}d=0;Yc(a,0);Qa[v[256556]](c);break a}t[d+e|0]=g;e=e+1|0;g=w[h|0];c=d;h=h+1|0;if(g){continue}break}}t[d+e|0]=0;break a}d=Ek(i+16|0,e)}Ma=i+128|0;return d}function vM(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0;j=gb(44);a:{if(j){v[j+32>>2]=0;v[j+28>>2]=h;v[j+24>>2]=g;v[j+20>>2]=f;v[j+16>>2]=e;v[j+12>>2]=d;v[j+8>>2]=c;v[j+4>>2]=b;v[j>>2]=a;v[j+40>>2]=65536;a=g+7>>>3|0;v[j+36>>2]=a;h=B(a,B(e,f));d=j;b:{if(i){a=fi(0,h);break b}f=0;e=Ma-16|0;Ma=e;a=gb(68);c:{if(!a){a=0;break c}v[a+52>>2]=0;v[a+56>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a+60>>2]=0;v[a+64>>2]=-1;v[a>>2]=11;v[a+12>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;d:{c=gb(32);if(!c){if(!(w[a+4|0]&8)){break d}b=v[a+12>>2];if(!b){break d}$a(b);v[a+12>>2]=0;break d}t[c+8|0]=0;v[c>>2]=-1;v[c+4>>2]=0;v[a+56>>2]=c;i=c+8|0;k=i;b=Ma-128|0;Ma=b;g=w[997743]|w[997744]<<8|(w[997745]<<16|w[997746]<<24);t[b+111|0]=g;t[b+112|0]=g>>>8;t[b+113|0]=g>>>16;t[b+114|0]=g>>>24;g=v[249435];v[b+104>>2]=v[249434];v[b+108>>2]=g;g=v[249433];v[b+96>>2]=v[249432];v[b+100>>2]=g;g=b+96|12;e:{f:{while(1){uP(g);l=b+8|0;eb(l,0,88);if((Ea(b+96|0,l|0)|0)==-44){break f}f=f+1|0;if((f|0)!=100){continue}break}break e}od(k?k:1187136,b+96|0)}Ma=b+128|0;v[e>>2]=438;b=mu(i,706,e);v[c>>2]=b;if((b|0)<=-1){if(!(w[a+4|0]&8)){break d}b=v[a+12>>2];if(!b){break d}$a(b);v[a+12>>2]=0;break d}if(rP(i)){v[c+4>>2]=v[c+4>>2]|1}if(!v[a+12>>2]){b=gb(8208);v[a+12>>2]=b;g:{if(b){f=v[a+4>>2]|8;c=8192;break g}b=a+32|0;v[a+12>>2]=b;f=v[a+4>>2];c=1}v[a+28>>2]=0;v[a+20>>2]=c;v[a+52>>2]=1015496;b=b+16|0;v[a+24>>2]=b;v[a+16>>2]=b;v[a+4>>2]=f|2;break c}O(36522,6782,703,188128);L()}$a(a);a=0}Ma=e+16|0}v[d+32>>2]=a;h:{if(!a){break h}i:{j:{if((af(a,h-1|0,0)|0)<0){break j}e=v[j+32>>2];a=v[e+8>>2];if(a&7){break i}b=v[e+64>>2];if(!((b|0)<0|(b|0)>v[e+60>>2])){v[e+8>>2]=a|4;break j}v[e+4>>2]=v[e+4>>2]|32;a=v[e+28>>2];v[e+28>>2]=a-1;k:{if((a|0)<=0){if((Cb(e,0)|0)!=-1){break k}break j}v[e+60>>2]=v[e+60>>2]+1;a=v[e+24>>2];v[e+24>>2]=a+1;t[a|0]=0}if((af(v[j+32>>2],0,0)|0)>-1){break a}}e=v[j+32>>2];if(!e){break h}}ne(e)}$a(j)}j=0}return j}function lf(a,b,c){var d=0,e=0;if(b){d=a^-1;a:{if(!c|!(b&3)){break a}d=v[((w[b|0]^d&255)<<2)+855632>>2]^d>>>8;a=c-1|0;e=b+1|0;if(!(e&3?a:0)){b=e;c=a;break a}d=v[((w[b+1|0]^d&255)<<2)+855632>>2]^d>>>8;e=c-2|0;a=b+2|0;if(!(!e|!(a&3))){d=v[((w[b+2|0]^d&255)<<2)+855632>>2]^d>>>8;e=c-3|0;a=b+3|0;if(!(!e|!(a&3))){d=v[((w[b+3|0]^d&255)<<2)+855632>>2]^d>>>8;c=c-4|0;b=b+4|0;break a}b=a;c=e;break a}b=a;c=e}if(c>>>0>31){while(1){a=v[b>>2]^d;a=v[b+4>>2]^(v[(a>>>6&1020)+857680>>2]^v[((a&255)<<2)+858704>>2]^v[(a>>>14&1020)+856656>>2]^v[(a>>>22&1020)+855632>>2]);a=v[b+8>>2]^(v[(a>>>6&1020)+857680>>2]^v[((a&255)<<2)+858704>>2]^v[(a>>>14&1020)+856656>>2]^v[(a>>>22&1020)+855632>>2]);a=v[b+12>>2]^(v[(a>>>6&1020)+857680>>2]^v[((a&255)<<2)+858704>>2]^v[(a>>>14&1020)+856656>>2]^v[(a>>>22&1020)+855632>>2]);a=v[b+16>>2]^(v[(a>>>6&1020)+857680>>2]^v[((a&255)<<2)+858704>>2]^v[(a>>>14&1020)+856656>>2]^v[(a>>>22&1020)+855632>>2]);a=v[b+20>>2]^(v[(a>>>6&1020)+857680>>2]^v[((a&255)<<2)+858704>>2]^v[(a>>>14&1020)+856656>>2]^v[(a>>>22&1020)+855632>>2]);a=v[b+24>>2]^(v[(a>>>6&1020)+857680>>2]^v[((a&255)<<2)+858704>>2]^v[(a>>>14&1020)+856656>>2]^v[(a>>>22&1020)+855632>>2]);a=v[b+28>>2]^(v[(a>>>6&1020)+857680>>2]^v[((a&255)<<2)+858704>>2]^v[(a>>>14&1020)+856656>>2]^v[(a>>>22&1020)+855632>>2]);d=v[(a>>>6&1020)+857680>>2]^v[((a&255)<<2)+858704>>2]^v[(a>>>14&1020)+856656>>2]^v[(a>>>22&1020)+855632>>2];b=b+32|0;c=c-32|0;if(c>>>0>31){continue}break}}if(c>>>0>3){while(1){a=v[b>>2]^d;d=v[(a>>>6&1020)+857680>>2]^v[((a&255)<<2)+858704>>2]^v[(a>>>14&1020)+856656>>2]^v[(a>>>22&1020)+855632>>2];b=b+4|0;c=c-4|0;if(c>>>0>3){continue}break}}b:{if(!c){break b}if(c&1){d=v[((w[b|0]^d&255)<<2)+855632>>2]^d>>>8;b=b+1|0;a=c-1|0}else{a=c}if((c|0)==1){break b}while(1){c=v[((w[b|0]^d&255)<<2)+855632>>2]^d>>>8;d=v[((w[b+1|0]^c&255)<<2)+855632>>2]^c>>>8;b=b+2|0;a=a-2|0;if(a){continue}break}}a=d^-1}else{a=0}return a}function Nj(a,b,c,d,e,f,g,h,i,j){var k=0,l=0;k=v[b+88>>2];t[k+49|0]=0;t[k+50|0]=0;t[k+48|0]=i;t[k+47|0]=h;t[k+46|0]=g;t[k+45|0]=f;t[k+44|0]=e;v[k+40>>2]=d;v[k+36>>2]=c;a:{b:{switch(f|0){case 0:case 8:l=e>>>0>8?2:1;break a;case 2:case 10:l=e>>>0>8?6:3;break a;case 3:l=1;break a;case 4:case 12:l=e>>>0>8?4:2;break a;case 6:case 14:break b;default:break a}}l=e>>>0>8?8:4}c:{h=B(c,l);g=B(h,d);f=v[k+1172>>2];d:{if((g|0)!=(f|0)){i=v[k+1176>>2];if(i){Qa[v[a+156>>2]](i,f);v[k+1176>>2]=0}if(!g){break d}f=Qa[v[a+152>>2]](g)|0;v[k+1176>>2]=f;if(f){break d}break c}if(!g){break d}i=v[k+1176>>2];e:{if(g>>>0<4){f=i;break e}f=g&-4;f=eb(i,0,f)+f|0;i=v[k+1176>>2]}if(g+i>>>0<=f>>>0){break d}while(1){t[f|0]=0;f=f+1|0;if(f>>>0>2]>>>0){continue}break}}v[k+1172>>2]=g;v[k+1168>>2]=h;v[k+1164>>2]=l;if(!w[k+53|0]){t[k+53|0]=e}if(!w[k+54|0]){t[k+54|0]=e}if(!(w[b+44|0]|(!c|!d))){v[b+60>>2]=d;v[b+56>>2]=0;v[b+52>>2]=c;v[b+48>>2]=0}if(x[b+28>>1]){v[b+64>>2]=0;v[b+68>>2]=0;u[b+70>>1]=0;u[b+72>>1]=0;u[b+74>>1]=0;u[b+76>>1]=0}if(!j){return 0}v[b+80>>2]=0;v[b+84>>2]=0;t[k+55|0]=0;t[k+56|0]=0;f=w[a+308|0];t[k+57|0]=f;t[k+58|0]=w[a+309|0];t[k+59|0]=w[a+310|0];t[k+60|0]=w[a+311|0];t[k+61|0]=w[a+312|0];b=v[k+1144>>2];if(b){c=v[k+1148>>2];if(c){Qa[v[a+156>>2]](c,b);v[k+1148>>2]=0;f=w[a+308|0]}v[k+1144>>2]=0}if(f&255){v[k+1104>>2]=v[a+2192>>2]}if(w[a+309|0]){v[k+1108>>2]=v[a+2196>>2];v[k+1112>>2]=v[a+2200>>2];v[k+1116>>2]=v[a+2204>>2];v[k+1120>>2]=v[a+2208>>2];v[k+1124>>2]=v[a+2212>>2];v[k+1128>>2]=v[a+2216>>2];v[k+1132>>2]=v[a+2220>>2];v[k+1136>>2]=v[a+2224>>2]}if(w[a+310|0]){t[k+1140|0]=w[a+2228|0]}if(w[a+311|0]){b=k;c=v[a+2232>>2];if(c){c=Qa[v[a+152>>2]](c)|0;v[k+1148>>2]=c;if(!c){break c}cb(c,v[a+2236>>2],v[a+2232>>2]);c=v[a+2232>>2]}else{c=0}v[b+1144>>2]=c}if(w[a+312|0]){u[k+1156>>1]=x[a+2240>>1];u[k+1158>>1]=x[a+2242>>1];u[k+1160>>1]=x[a+2244>>1]}return 0}ob(a,1,0,0);return 1}function kr(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=v[a+584>>2];g=v[i+64>>2];e=v[i+68>>2];if((b|0)>=2624){while(1){h=x[c+620>>1];d=x[c+618>>1];a:{if(d>>>0<=e>>>0){break a}d=d-e|0;e=h>>>d|g;if(v[a+608>>2]>=v[a+600>>2]){Xd(a)}g=v[a+604>>2];v[a+604>>2]=g+1;t[g|0]=e;f=v[a+608>>2]+1|0;v[a+608>>2]=f;e=8;g=0;if(d>>>0<9){break a}while(1){d=d-8|0;e=h>>>d|0;if(v[a+600>>2]<=(f|0)){Xd(a)}f=v[a+604>>2];v[a+604>>2]=f+1;t[f|0]=e;f=v[a+608>>2]+1|0;v[a+608>>2]=f;e=8;if(d>>>0>8){continue}break}}e=e-d|0;g=(h&v[(d<<2)+86176>>2])<>2]>=v[a+600>>2]){Xd(a)}h=v[a+604>>2];v[a+604>>2]=h+1;t[h|0]=g;v[a+608>>2]=v[a+608>>2]+1;g=0;e=8}b=b-u[c+622>>1]|0;if((b|0)>2623){continue}break}}h=c;b:{if((b|0)>=64){c=B((b>>>6|0)+63|0,6)+c|0;if(u[c+4>>1]!=(b&-64)){break b}j=x[c+2>>1];d=x[c>>1];c:{if(d>>>0<=e>>>0){break c}d=d-e|0;e=j>>>d|g;if(v[a+608>>2]>=v[a+600>>2]){Xd(a)}g=v[a+604>>2];v[a+604>>2]=g+1;t[g|0]=e;f=v[a+608>>2]+1|0;v[a+608>>2]=f;e=8;g=0;if(d>>>0<9){break c}while(1){d=d-8|0;e=j>>>d|0;if(v[a+600>>2]<=(f|0)){Xd(a)}f=v[a+604>>2];v[a+604>>2]=f+1;t[f|0]=e;f=v[a+608>>2]+1|0;v[a+608>>2]=f;e=8;if(d>>>0>8){continue}break}}e=e-d|0;g=(v[(d<<2)+86176>>2]&j)<>2]>=v[a+600>>2]){Xd(a)}d=v[a+604>>2];v[a+604>>2]=d+1;t[d|0]=g;v[a+608>>2]=v[a+608>>2]+1;g=0;e=8}b=b-u[c+4>>1]|0}c=B(b,6)+h|0;b=x[c+2>>1];d=x[c>>1];d:{if(d>>>0<=e>>>0){break d}d=d-e|0;c=b>>>d|g;if(v[a+608>>2]>=v[a+600>>2]){Xd(a)}h=v[a+604>>2];v[a+604>>2]=h+1;t[h|0]=c;f=v[a+608>>2]+1|0;v[a+608>>2]=f;e=8;g=0;if(d>>>0<9){break d}while(1){d=d-8|0;c=b>>>d|0;if(v[a+600>>2]<=(f|0)){Xd(a)}h=v[a+604>>2];v[a+604>>2]=h+1;t[h|0]=c;f=v[a+608>>2]+1|0;v[a+608>>2]=f;if(d>>>0>8){continue}break}}c=b&v[(d<<2)+86176>>2];b=e-d|0;f=c<>2]>=v[a+600>>2]){Xd(a)}b=v[a+604>>2];v[a+604>>2]=b+1;t[b|0]=f;v[a+608>>2]=v[a+608>>2]+1;f=0;b=8}v[c+68>>2]=b;v[i+64>>2]=f;return}O(58935,7814,643,86480);L()}function LAa(a,b){a=a|0;b=b|0;var 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;n=Ma-16|0;o=v[a+12>>2];f=v[a+24>>2];j=v[a+8>>2];g=v[a+4>>2];r=v[g+24>>2];d=v[g+56>>2];e=v[a+16>>2];k=v[a+20>>2];a:{if(!(!d|e>>>0>=k>>>0)){v[g+56>>2]=0;h=-1;c=0;break a}c=1}while(1){b:{c:{d:{e:{f:{g:{if(!c){if(j>>>0>=o>>>0){break f}if(d&1024){break e}c=x[j>>1];if((c&64512)!=56320){break e}p=p+1|0;j=j+2|0;d=(c+(d<<10)|0)-56613888|0;break g}d=j;while(1){if(d>>>0>=o>>>0){j=d;break d}if(e>>>0>=k>>>0){j=d;break d}j=d+2|0;h:{d=x[d>>1];i:{if(d>>>0<=127){v[f>>2]=h;t[e|0]=d;f=f+4|0;h=h+1|0;c=e+1|0;break i}if(d>>>0>2047){break h}v[f>>2]=h;t[e|0]=d>>>6|192;c=e+1|0;if(c>>>0>=k>>>0){f=f+4|0;t[g+63|0]=1;t[g+76|0]=d&63|128;v[b>>2]=15;break i}v[f+4>>2]=h;t[e+1|0]=d&63|128;f=f+8|0;h=h+1|0;c=e+2|0}e=c;d=j;continue}break}p=h+1|0;if((r|0)==840208|(d&63488)!=55296){break g}c=0;continue}c=3;i=(k-e|0)>3?e:n+12|0;j:{if((d|0)<=65535){t[i|0]=d>>>12|224;c=2;break j}t[i|0]=d>>>18|240;t[i+1|0]=d>>>12&63|128}m=c+i|0;t[m|0]=d&63|128;t[m-1|0]=d>>>6&63|128;if((e|0)==(i|0)){break c}m=(n+12|0)+c|0;if(m>>>0>>0){break b}l=(n+12|0)+c|0;if((l-i|0)+1&1){k:{if(e>>>0>=k>>>0){c=w[i|0];q=t[g+63|0];t[g+63|0]=q+1;t[(g+q|0)+76|0]=c;v[b>>2]=15;break k}v[f>>2]=h;t[e|0]=w[i|0];e=e+1|0;f=f+4|0}c=i+1|0}else{c=i}if((i|0)==(l|0)){break b}while(1){l:{if(e>>>0>>0){v[f>>2]=h;t[e|0]=w[c|0];e=e+1|0;f=f+4|0;break l}i=w[c|0];l=t[g+63|0];t[g+63|0]=l+1;t[(g+l|0)+76|0]=i;v[b>>2]=15}m:{if(e>>>0>=k>>>0){i=w[c+1|0];l=t[g+63|0];t[g+63|0]=l+1;t[(g+l|0)+76|0]=i;v[b>>2]=15;break m}v[f>>2]=h;t[e|0]=w[c+1|0];e=e+1|0;f=f+4|0}c=c+2|0;if(m>>>0>=c>>>0){continue}break}break b}v[g+56>>2]=d;break d}v[g+56>>2]=d;v[b>>2]=12}if(!(e>>>0>>0|j>>>0>=o>>>0|v[b>>2]>0)){v[b>>2]=15}v[a+24>>2]=f;v[a+8>>2]=j;v[a+16>>2]=e;return}v[f+8>>2]=h;v[f+4>>2]=h;v[f>>2]=h;if((d|0)>=65536){v[f+12>>2]=h}c=c+1|0;e=c+e|0;f=(c<<2)+f|0}h=p;c=1;continue}}function BI(a,b){var c=0,d=0,e=0;d=Ma-32|0;Ma=d;a:{if(!a){break a}if(!v[290921]){a=d;v[a>>2]=0;v[a+4>>2]=0;v[a+24>>2]=-1;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;v[290921]=1}b:{c:{if(v[b>>2]>0){break c}d:{if(v[290919]==2){break d}if(!xA(1163676)){break d}e:{f:{if(v[b>>2]<=0){c=Fg(52);if(!c){v[b>>2]=7;a=0;break e}g:{if(v[b>>2]<=0){a=c;v[a+16>>2]=0;v[a+20>>2]=0;v[a+12>>2]=0;v[a+8>>2]=2479;v[a+4>>2]=2478;u[a+48>>1]=3;v[a+40>>2]=1056964608;v[a+44>>2]=0;v[a+28>>2]=127;a=Fg(1524);v[c>>2]=a;if(a){break g}v[b>>2]=7}t[c+49|0]=1;break f}e=a+1524|0;while(1){v[a+8>>2]=0;v[a+12>>2]=-2147483647;v[a>>2]=-2147483647;v[a+4>>2]=0;v[a+24>>2]=-2147483647;v[a+28>>2]=0;v[a+36>>2]=-2147483647;v[a+40>>2]=0;v[a+48>>2]=-2147483647;v[a+52>>2]=0;v[a+60>>2]=-2147483647;v[a+64>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+32>>2]=0;v[a+44>>2]=0;v[a+56>>2]=0;v[a+76>>2]=0;v[a+80>>2]=0;v[a+68>>2]=0;v[a+72>>2]=-2147483647;if(a+84>>>0>=e>>>0){v[c+24>>2]=0;v[c+32>>2]=63;v[c+36>>2]=0;a=v[b>>2];t[c+49|0]=1;if((a|0)>0){break f}a=c}else{v[a+84>>2]=-2147483647;v[a+88>>2]=0;v[a+92>>2]=0;a=a+96|0;continue}break}}else{a=0}break e}Nd(c);a=0}v[290918]=a;c=v[b>>2];if((c|0)<=0){v[a+20>>2]=2481;v[291028]=2482;c=v[b>>2]}v[290920]=c;v[290919]=2;a=v[290918];break b}a=v[290920];if((a|0)<1){break c}v[b>>2]=a}a=v[290918]}if(v[b>>2]>0){break a}a=yI(a,261561);if(!a|v[b>>2]>0){break a}a=v[a+4>>2];if(!a){break a}b=v[290908];h:{if(v[b+4>>2]==v[a+4>>2]?b:0){break h}b=v[290909];if(v[b+4>>2]==v[a+4>>2]?b:0){break h}b=v[290910];if(v[b+4>>2]==v[a+4>>2]?b:0){break h}b=v[290911];if(v[b+4>>2]==v[a+4>>2]?b:0){break h}b=v[290912];if(v[b+4>>2]==v[a+4>>2]?b:0){break h}b=v[290913];if(v[b+4>>2]==v[a+4>>2]?b:0){break h}b=v[290914];if(v[b+4>>2]==v[a+4>>2]?b:0){break h}b=v[290915];if(v[b+4>>2]==v[a+4>>2]?b:0){break h}b=v[290916];if(v[b+4>>2]==v[a+4>>2]?b:0){break h}b=v[290917];if(v[b+4>>2]==v[a+4>>2]?b:0){break h}}}Ma=d+32|0}function RAa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=-9;a:{b:{c:{d:{e:{h=v[a+4>>2];switch(v[h+48>>2]-8|0){case 1:break d;case 0:break e;default:break b}}c=v[a+8>>2];g=v[a+12>>2];if(c>>>0>=g>>>0){v[b>>2]=8;break c}d=c+2|0;if(g>>>0>>0){t[h+37|0]=w[c|0];t[v[a+4>>2]+36|0]=1;v[a+8>>2]=c+1;v[b>>2]=11;break c}f=w[c|0];i=w[c+1|0]|f<<8;e=a;if((f&248)==216){f:{g:{h:{if(f&4){break h}f=c+4|0;if(f>>>0>g>>>0){break g}g=w[d|0];if((g&252)!=220){break h}d=(w[c+3|0]|g<<8)+(i<<10)|0;if(d>>>0>56613887){break f}d=f}t[h+36|0]=2;t[h+37|0]=w[d-2|0];t[h+38|0]=w[d-1|0];f=12;break a}d=g-c|0;t[h+36|0]=d;e=h+37|0;h=g+(c^-1)|0;d=d&7;if(d){while(1){t[e|0]=w[c|0];e=e+1|0;c=c+1|0;d=d-1|0;if(d){continue}break}}f=11;if(h>>>0<7){d=g;break a}while(1){t[e|0]=w[c|0];t[e+1|0]=w[c+1|0];t[e+2|0]=w[c+2|0];t[e+3|0]=w[c+3|0];t[e+4|0]=w[c+4|0];t[e+5|0]=w[c+5|0];t[e+6|0]=w[c+6|0];t[e+7|0]=w[c+7|0];e=e+8|0;c=c+8|0;if((g|0)!=(c|0)){continue}break}d=g;break a}i=d-56613888|0;d=f}v[e+8>>2]=d;return i|0}c=v[a+8>>2];g=v[a+12>>2];if(c>>>0>=g>>>0){v[b>>2]=8;break c}d=c+2|0;if(d>>>0>g>>>0){t[h+37|0]=w[c|0];t[v[a+4>>2]+36|0]=1;v[a+8>>2]=c+1;v[b>>2]=11;break c}f=w[c+1|0];e=w[c|0]|f<<8;if((f&248)!=216){v[a+8>>2]=d;return e|0}i:{j:{k:{if(f&4){break k}f=c+4|0;if(g>>>0>=f>>>0){g=w[c+3|0];if((g&252)!=220){break k}d=(w[d|0]|g<<8)+(e<<10)|0;if(d>>>0<=56613887){break j}v[a+8>>2]=f;return d-56613888|0}d=g-c|0;t[h+36|0]=d;e=h+37|0;f=g+(c^-1)|0;d=d&7;if(d){while(1){t[e|0]=w[c|0];e=e+1|0;c=c+1|0;d=d-1|0;if(d){continue}break}}d=11;if(f>>>0<7){f=g;break i}while(1){t[e|0]=w[c|0];t[e+1|0]=w[c+1|0];t[e+2|0]=w[c+2|0];t[e+3|0]=w[c+3|0];t[e+4|0]=w[c+4|0];t[e+5|0]=w[c+5|0];t[e+6|0]=w[c+6|0];t[e+7|0]=w[c+7|0];e=e+8|0;c=c+8|0;if((g|0)!=(c|0)){continue}break}f=g;break i}f=d}t[h+36|0]=2;t[h+37|0]=w[f-2|0];t[h+38|0]=w[f-1|0];d=12}v[b>>2]=d;v[a+8>>2]=f;return 65535}c=65535}return c|0}v[b>>2]=f;v[a+8>>2]=d;return 65535}function iT(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;v[a>>2]=0;e=v[b+16>>2];a:{b:{if(!e){break b}while(1){if(!ff(v[e+8>>2]+8|0,c)){e=v[e>>2];if(e){continue}break b}break}jb(a,e+8|0);f=v[a>>2];if(f){break a}}f=a;g=ab(76);h=Ma-16|0;Ma=h;v[g>>2]=970356;v[g+4>>2]=0;ze(g+8|0,c);v[g+52>>2]=0;v[g+56>>2]=0;v[g+44>>2]=0;v[g+60>>2]=0;v[g+64>>2]=0;v[g+52>>2]=970612;v[g+56>>2]=0;v[g+60>>2]=0;v[g+64>>2]=0;v[g+72>>2]=0;c=h+8|0;gs(c);jb(g+44|0,c);c=v[h+8>>2];v[h+8>>2]=0;c:{if(!c){break c}e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(e){break c}e=v[c+4>>2];if(!e){v[c+4>>2]=-32767}if(!e){Qa[v[v[c>>2]+4>>2]](c)}}c=v[g+60>>2];d:{if(c){e=v[d>>2];while(1){if((e|0)==v[c+8>>2]){break d}c=v[c>>2];if(c){continue}break}}c=ab(12);v[c>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;e=c;i=v[d>>2];if(i){v[i+4>>2]=v[i+4>>2]+1;i=v[d>>2]}else{i=0}v[e+8>>2]=i;de(g+52|0,c)}Ma=h+16|0;qb(f,g);c=ab(12);v[c>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;f=c;e=v[a>>2];if(e){v[e+4>>2]=v[e+4>>2]+1;e=v[a>>2]}else{e=0}v[f+8>>2]=e;de(b+8|0,c);h=Ma-16|0;Ma=h;e:{f:{e=b;if(v[e+12>>2]>=16){i=e+8|0;while(1){f=0;c=v[e+16>>2];v[h+12>>2]=i;v[h+8>>2]=c;b=c;if(!c){v[h+4>>2]=i;v[h>>2]=0;break f}while(1){g=v[v[b+8>>2]+72>>2];if(g>>>0>>0){v[h+12>>2]=i;v[h+8>>2]=b;f=g;c=b}b=v[b>>2];if(b){continue}break}v[h+4>>2]=i;v[h>>2]=c;if(!c){break f}g=v[c+8>>2];b=v[g+60>>2];if(b){while(1){c=v[b+8>>2];g:{if(!c){break g}f=v[c+56>>2];if(!f){break g}v[f+4>>2]=v[f+4>>2]+1;f=c+56|0;c=v[f>>2];if(!c){break g}qb(f,0);f=v[c+4>>2]-1|0;v[c+4>>2]=f;if(f){break g}f=v[c+4>>2];if(!f){v[c+4>>2]=-32767}if(!f){Qa[v[v[c>>2]+4>>2]](c)}}b=v[b>>2];if(b){continue}break}}ac(g+52|0);Ag(i,h+8|0);if(v[e+12>>2]>15){continue}break}}Ma=h+16|0;break e}wd(h,i);L()}f=v[a>>2]}e=v[f+60>>2];h:{if(e){a=v[d>>2];while(1){if((a|0)==v[e+8>>2]){break h}e=v[e>>2];if(e){continue}break}}a=ab(12);v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;b=a;c=v[d>>2];if(c){v[c+4>>2]=v[c+4>>2]+1;c=v[d>>2]}else{c=0}v[b+8>>2]=c;de(f+52|0,a)}}function Kk(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=Ma-48|0;Ma=f;v[a+8>>2]=0;i=v[a+4>>2];if(i){v[v[a>>2]>>2]=425584;v[v[a>>2]+4>>2]=425584;v[v[a>>2]+8>>2]=425584;v[v[a>>2]+12>>2]=425584;v[v[a>>2]+16>>2]=425584}a:{if(!d){break a}h=w[c|0];if(!h){break a}j=6;if(!b){break a}e=w[b|0];if(!e){break a}v[f+24>>2]=0;v[f+28>>2]=0;v[f+16>>2]=0;v[f+20>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;v[f>>2]=0;v[f+4>>2]=0;while(1){b:{c:{d:{g=e&255;if((g|0)!=43){if(!g){break d}g=w[b+1|0];break c}g=w[b+1|0];if(g){break c}k=1;g=0;break b}e:{if((d|0)<1){d=0;b=0;break e}i=c+d|0;while(1){e=c;while(1){f:{if(w[((h&248)>>>3|0)+f|0]>>>(h&7)&1){g=e;break f}h=w[e+1|0];g=e+1|0;e=g;if(h){continue}}break}e=a;b=v[a+8>>2];g:{if((b|0)!=v[a+4>>2]){d=b;break g}v[f+44>>2]=0;d=-1;if((b|0)==-1){break g}if((b|0)==536870911){j=64;break a}h=b;d=(b+(b>>>1|0)|0)+5|0;b=b>>>0>d>>>0?536870911:d>>>0>536870911?536870911:d;l=a,m=yb(v[a+12>>2],4,h,b,v[a>>2],f+44|0),v[l>>2]=m;j=v[f+44>>2];if(j){break a}v[a+4>>2]=b;d=v[a+8>>2]}v[e+8>>2]=d+1;v[v[a>>2]+(d<<2)>>2]=c>>>0>>0?c:425584;e=w[g|0];h:{i:{if(k){d=0;b=g;if(!(e&255)){h=0;c=g;break h}while(1){j:{if(!(w[((e&248)>>>3|0)+f|0]>>>(e&7)&1)){h=e;c=b;break j}h=0;t[b|0]=0;e=w[b+1|0];c=b+1|0;b=c;if(e){continue}}break}if(c>>>0<=g>>>0){break h}break i}if(!(e&255)){h=0;c=g;d=0;break h}t[g|0]=0;c=g+1|0;h=w[g+1|0]}d=!(h&255)}if(h&255?c>>>0>>0:0){continue}break}i=v[a+4>>2];b=v[a+8>>2]}b=b+d|0;k:{if(b>>>0>>0){break k}v[f+44>>2]=0;if(b+1>>>0<=i>>>0){break k}j=64;if((i|0)==536870911){break a}b=((i>>>1|0)+i|0)+5|0;b=b>>>0>>0?536870911:b>>>0>536870911?536870911:b;l=a,m=yb(v[a+12>>2],4,i,b,v[a>>2],f+44|0),v[l>>2]=m;j=v[f+44>>2];if(j){break a}v[a+4>>2]=b}l:{if(!d){h=v[a+8>>2];break l}b=v[a+8>>2];h=b+1|0;v[a+8>>2]=h;v[v[a>>2]+(b<<2)>>2]=425584}j=0;v[v[a>>2]+(h<<2)>>2]=0;break a}j=((e&248)>>>3|0)+f|0;t[j|0]=w[j|0]|1<<(e&7)}b=b+1|0;e=g;continue}}Ma=f+48|0;return j}function qX(a){var b=0,c=0,d=0,e=0;a:{b:{c:{if(!a){break c}d:{e:{f:{g:{h:{i:{b=w[a|0];switch(b-73|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:break d;case 15:break f;case 0:break h;default:break i}}c=b-105|0;if(!c){break e}if((c|0)==15){break g}break d}if(w[a+1|0]==45){break a}break d}if(w[a+1|0]==45){break a}break d}if(w[a+1|0]!=45){break d}break a}if(w[a+1|0]==45){break a}}d=a+1|0;j:{if(((b&223)-65&255)>>>0>25){e=a;break j}while(1){e=d;d=d+1|0;b=w[e|0];if(((b&223)-65&255)>>>0<26){continue}break}}a=e-a|0;if((a|0)>=4){return!b&(a|0)<9}if((a|0)<2){break c}e=1;if(!b){break b}if((b|0)!=45){break c}k:{l:{m:{a=w[d|0];if((a-48&255)>>>0<10){break m}c=d;if(((a&223)-65&255)>>>0<=25){b=d;while(1){a=w[b+1|0];c=b+1|0;b=c;if(((a&223)-65&255)>>>0<26){continue}break}}n:{o:{b=c-d|0;switch(b-2|0){case 0:break l;case 2:break n;default:break o}}if(b-5>>>0<4){break k}if((b|0)!=3){break c}a=a&255;if(!a){break b}if((a|0)!=45){break c}d=c+1|0;a=w[c+1|0];if((a-48&255)>>>0<10){break m}b=d;if(((a&223)-65&255)>>>0<=25){c=c+2|0;while(1){b=c;c=b+1|0;a=w[b|0];if(((a&223)-65&255)>>>0<26){continue}break}}d=b-d|0;if((d|0)==2){c=b;break l}if(d-5>>>0<4){break k}c=b;if((d|0)!=4){break c}}a=a&255;if(!a){break b}if((a|0)!=45){break c}d=c+1|0;a=w[c+1|0];if((a-48&255)>>>0<10){break m}b=d;if(((a&223)-65&255)>>>0<=25){c=c+2|0;while(1){b=c;c=b+1|0;a=w[b|0];if(((a&223)-65&255)>>>0<26){continue}break}}d=b-d|0;if(d-5>>>0<4){break k}c=b;if((d|0)==2){break l}break c}if((w[d+1|0]-48&255)>>>0>9|(w[d+2|0]-48&255)>>>0>9){break c}c=d+3|0;a=w[d+3|0]}a=a&255;if(!a){break b}if((a|0)!=45){break c}c=c+1|0;e=c;while(1){b=e;e=b+1|0;a=w[b|0];if(((a&223)-65&255)>>>0<26){continue}break}e=0;if((b-c|0)-5>>>0>3){break b}}a=a&255;return!a|(a|0)==45}e=0}return e}e=a+2|0;while(1){a=w[e|0];e=e+1|0;if(((a&223)-65&255)>>>0<26){continue}break}return!a}function iL(a,b){var c=0,d=0,e=0,f=0,g=0;e=u[a+1044>>1];a:{b:{d=x[a+1046>>1];if(!d){c:{if((e|0)>0){break c}v[a+1056>>2]=v[a+1052>>2];c=v[a+1020>>2];if((c|0)>=16383){c=0;d=Qa[v[v[b>>2]+12>>2]](b,v[a+1028>>2],1,16383,0,0)|0;v[a+1024>>2]=d;if((d|0)<=16382){t[d+v[a+1028>>2]|0]=255}v[a+1020>>2]=0}if(v[a+1024>>2]<=(c|0)){break b}d=c+1|0;v[a+1020>>2]=d;c=w[v[a+1028>>2]+c|0];u[a+1044>>1]=c;if(!c){e=0;break c}c=0;while(1){if((d|0)>=16383){d=Qa[v[v[b>>2]+12>>2]](b,v[a+1028>>2],1,16383,0,0)|0;v[a+1024>>2]=d;if((d|0)<=16382){t[d+v[a+1028>>2]|0]=255}v[a+1020>>2]=0;d=0}f=65535;if(v[a+1024>>2]<=(d|0)){break a}v[a+1020>>2]=d+1;t[v[a+1052>>2]+c|0]=w[v[a+1028>>2]+d|0];c=c+1|0;e=u[a+1044>>1];if((c|0)>=(e|0)){break c}d=v[a+1020>>2];continue}}c=v[a+1056>>2];v[a+1056>>2]=c+1;c=w[c|0];u[a+1046>>1]=8;t[a+1048|0]=c;e=e-1|0;u[a+1044>>1]=e;d=8}f=x[a+1036>>1];if(e<<16>>16<=-1){break a}f=d<<16>>16;g=w[a+1048|0]>>>8-f|0;c=u[a+1032>>1];if((f|0)<(c|0)){while(1){d:{if(e<<16>>16>0){break d}v[a+1056>>2]=v[a+1052>>2];c=v[a+1020>>2];if((c|0)>=16383){c=Qa[v[v[b>>2]+12>>2]](b,v[a+1028>>2],1,16383,0,0)|0;v[a+1024>>2]=c;if((c|0)<=16382){t[c+v[a+1028>>2]|0]=255}v[a+1020>>2]=0;c=0}if(v[a+1024>>2]<=(c|0)){break b}d=c+1|0;v[a+1020>>2]=d;c=w[v[a+1028>>2]+c|0];u[a+1044>>1]=c;e=0;if(!c){break d}c=0;while(1){if((d|0)>=16383){d=Qa[v[v[b>>2]+12>>2]](b,v[a+1028>>2],1,16383,0,0)|0;v[a+1024>>2]=d;if((d|0)<=16382){t[d+v[a+1028>>2]|0]=255}v[a+1020>>2]=0;d=0}f=65535;if(v[a+1024>>2]<=(d|0)){break a}v[a+1020>>2]=d+1;t[v[a+1052>>2]+c|0]=w[v[a+1028>>2]+d|0];c=c+1|0;e=u[a+1044>>1];if((c|0)>=(e|0)){break d}d=v[a+1020>>2];continue}}c=v[a+1056>>2];v[a+1056>>2]=c+1;c=w[c|0];t[a+1048|0]=c;d=x[a+1046>>1];f=d+8|0;u[a+1046>>1]=f;e=e-1|0;u[a+1044>>1]=e;g=c<>16;c=u[a+1032>>1];if((d|0)<(c|0)){continue}break}}u[a+1046>>1]=d-c;f=v[(c<<2)+54352>>2]&g;break a}u[a+1044>>1]=65535;f=65535}return f<<16>>16}function CSa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=Ma+-64|0;Ma=i;k=1;if(v[a+152>>2]>=1){l=v[249419];while(1){if(v[a+188>>2]){v[i>>2]=k;vb(l,59550,i)}j=v[a+26352>>2];c=j;e=x[a+26310>>1];d=x[a+26308>>1];if(B(e,d)){while(1){u[c+6>>1]=x[c>>1];c=c+8|0;e=x[a+26310>>1];d=x[a+26308>>1];if(c>>>0<(B(e,d)<<3)+j>>>0){continue}break}}a:{if((B(d-1|0,e)|0)<=(e|0)){f=d;b=e;break a}g=(e<<3)+j|0;b=e;while(1){if((((g-j>>3)+1|0)%(b|0)|0)>=2){e=0;d=0-b|0;f=0;while(1){c=(i+16|0)+(f<<2)|0;h=(d<<3)+g|0;v[c>>2]=x[h-2>>1]-x[h-6>>1];v[c+4>>2]=x[h+6>>1]-x[h+2>>1];v[c+8>>2]=x[h+14>>1]-x[h+10>>1];f=f+3|0;c=(d|0)<1;d=b+d|0;if(c){continue}break}while(1){b=i+16|0;c=b+(w[e+198496|0]<<2)|0;f=v[c>>2];d=b+(w[(e|1)+198496|0]<<2)|0;b=v[d>>2];if((f|0)>(b|0)){b=b^f;v[c>>2]=b;b=b^v[d>>2];v[d>>2]=b;v[c>>2]=b^v[c>>2]}b=e>>>0<36;e=e+2|0;if(b){continue}break}b=v[i+32>>2]+x[g+2>>1]|0;b=(b|0)<65535?b:65535;u[g>>1]=(b|0)>0?b:0;d=x[a+26308>>1];e=x[a+26310>>1]}g=g+8|0;b=e&65535;f=d&65535;if(g>>>0<(B(b,f-1|0)<<3)+j>>>0){continue}break}}c=j;if(B(b,f)){while(1){u[c+6>>1]=x[c+4>>1];c=c+8|0;b=x[a+26310>>1];f=x[a+26308>>1];if(c>>>0<(B(b,f)<<3)+j>>>0){continue}break}d=f;e=b}if((B(f-1|0,b)|0)>(b|0)){g=(b<<3)+j|0;while(1){if((((g-j>>3)+1|0)%(b|0)|0)>=2){e=0;d=0-b|0;f=0;while(1){c=(i+16|0)+(f<<2)|0;h=(d<<3)+g|0;v[c>>2]=x[h-2>>1]-x[h-6>>1];v[c+4>>2]=x[h+6>>1]-x[h+2>>1];v[c+8>>2]=x[h+14>>1]-x[h+10>>1];f=f+3|0;c=(d|0)<1;d=b+d|0;if(c){continue}break}while(1){b=i+16|0;c=b+(w[e+198496|0]<<2)|0;f=v[c>>2];d=b+(w[(e|1)+198496|0]<<2)|0;b=v[d>>2];if((f|0)>(b|0)){b=b^f;v[c>>2]=b;b=b^v[d>>2];v[d>>2]=b;v[c>>2]=b^v[c>>2]}b=e>>>0<36;e=e+2|0;if(b){continue}break}b=v[i+32>>2]+x[g+2>>1]|0;b=(b|0)<65535?b:65535;u[g+4>>1]=(b|0)>0?b:0;d=x[a+26308>>1];e=x[a+26310>>1]}g=g+8|0;b=e&65535;if(g>>>0<(B(b,(d&65535)-1|0)<<3)+j>>>0){continue}break}}b=v[a+152>>2]>(k|0);k=k+1|0;if(b){continue}break}}Ma=i- -64|0}function ATa(a){a=a|0;var 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;e=Ma-96|0;Ma=e;v[e+88>>2]=0;v[e+92>>2]=0;v[e+80>>2]=0;v[e+84>>2]=0;a:{if(!dp(a,e,0)){break a}b:{if(v[e+4>>2]>=1){o=B(v[e+12>>2],v[e+8>>2]);if((o|0)>=1){m=2147483647;while(1){s=B(k,o);h=Pw(a,k,e);p=v[e+4>>2];t=v[e>>2];l=0;while(1){c=x[h>>1];c=(t|0)<=12?x[(((c&4095)<<1)+a|0)+26484>>1]:c;f=x[a+59254>>1];if(f){d=l+s|0;g=x[a+59256>>1];i=B(g,p);q=(d|0)/(i|0)|0;b=(q|0)<(f|0);f=b?q:f;i=d-B(f,i)|0;b=x[((b?2:4)+a|0)+59254>>1];d=(i|0)/(b|0)|0;b=(i-B(b,d)|0)+B(f,g)|0}f=x[a+26306>>1];c:{if((f|0)!=3984){break c}if((b|0)>1){b=b-2|0;break c}b=b+3982|0;d=d-1|0}i=d-x[a+26312>>1]|0;d:{if(i>>>0>=x[a+26308>>1]){break d}g=b-x[a+26314>>1]|0;if(g>>>0>=x[a+26310>>1]){if((b|0)<2){break d}g=e+80|(g&1)<<3;A[g>>3]=A[g>>3]+ +(c|0);break d}f=x[a+26316>>1];u[(v[a+26352>>2]+(B(x[a+26320>>1],i>>f)+(g>>f)<<3)|0)+((v[a+26028>>2]>>>((g&1|i<<1&14)<<1)&3)<<1)>>1]=c;m=(c|0)<(m|0)?c:m;f=x[a+26306>>1]}h=h+2|0;c=b+1|0;b=(c|0)<(f|0)?c:0;d=((c|0)>=(f|0))+d|0;l=l+1|0;if((o|0)!=(l|0)){continue}break}k=k+1|0;if((p|0)>(k|0)){continue}break}break b}while(1){Pw(a,b,e);b=b+1|0;if((b|0)>2]){continue}break}}m=2147483647}$a(v[e+76>>2]);c=x[a+26306>>1];d=x[a+26310>>1];if(c>>>0>=d+4>>>0){b=x[a+26308>>1];n=+(B(b,(c-d|0)-2|0)>>1);j=A[e+80>>3]/n;A[e+80>>3]=j;n=A[e+88>>3]/n;r=j-n;e:{if(D(r)<2147483648){c=~~r;break e}c=-2147483648}if(!(!c|!b)){h=0;while(1){if((d&65535)>>>0>=2){k=v[a+26028>>2]>>>(h<<2&28|2)&3;l=v[a+26352>>2];b=1;while(1){d=x[a+26316>>1];d=(l+(B(x[a+26320>>1],h>>>d|0)+(b>>>d|0)<<3)|0)+(k<<1)|0;u[d>>1]=c+x[d>>1];b=b+2|0;d=x[a+26310>>1];if(b>>>0>>0){continue}break}b=x[a+26308>>1]}h=h+1|0;if(h>>>0<(b&65535)>>>0){continue}break}}b=a;j=(j+(n+ +(c|0))+1)*.5;f:{if(j<4294967296&j>=0){c=~~j>>>0;break f}c=0}v[b+26120>>2]=c}if(Ii(a+25733|0,23360)){break a}v[a+26120>>2]=m}Ma=e+96|0}function on(a,b,c){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,p=0,q=0,r=0,s=0,t=0,u=0;d=a&65535;f=a>>>16|0;a:{if((c|0)==1){a=w[b|0]+d|0;a=a>>>0>65520?a-65521|0:a;b=a+f|0;c=b<<16;a=(b>>>0>65520?c+983040|0:c)|a;break a}if(b){if(c>>>0>=16){b:{c:{d:{if(c>>>0>5551){while(1){c=c-5552|0;e=347;a=b;while(1){g=w[a|0]+d|0;h=g+w[a+1|0]|0;i=h+w[a+2|0]|0;j=i+w[a+3|0]|0;k=j+w[a+4|0]|0;l=k+w[a+5|0]|0;m=l+w[a+6|0]|0;n=m+w[a+7|0]|0;o=n+w[a+8|0]|0;p=o+w[a+9|0]|0;q=p+w[a+10|0]|0;r=q+w[a+11|0]|0;s=r+w[a+12|0]|0;t=s+w[a+13|0]|0;u=t+w[a+14|0]|0;d=u+w[a+15|0]|0;f=d+(u+(t+(s+(r+(q+(p+(o+(n+(m+(l+(k+(j+(i+(h+(f+g|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0;a=a+16|0;e=e-1|0;if(e){continue}break}f=(f>>>0)%65521|0;d=(d>>>0)%65521|0;b=b+5552|0;if(c>>>0>5551){continue}break}if(!c){break b}if(c>>>0<16){break d}}while(1){a=w[b|0]+d|0;e=a+w[b+1|0]|0;g=e+w[b+2|0]|0;h=g+w[b+3|0]|0;i=h+w[b+4|0]|0;j=i+w[b+5|0]|0;k=j+w[b+6|0]|0;l=k+w[b+7|0]|0;m=l+w[b+8|0]|0;n=m+w[b+9|0]|0;o=n+w[b+10|0]|0;p=o+w[b+11|0]|0;q=p+w[b+12|0]|0;r=q+w[b+13|0]|0;s=r+w[b+14|0]|0;d=s+w[b+15|0]|0;f=d+(s+(r+(q+(p+(o+(n+(m+(l+(k+(j+(i+(h+(g+(e+(a+f|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0;b=b+16|0;c=c-16|0;if(c>>>0>15){continue}break}if(!c){break c}}g=c-1|0;e=c&3;if(e){a=b;while(1){c=c-1|0;d=w[a|0]+d|0;f=f+d|0;b=a+1|0;a=b;e=e-1|0;if(e){continue}break}}if(g>>>0<3){break c}while(1){a=w[b|0]+d|0;e=a+w[b+1|0]|0;g=e+w[b+2|0]|0;d=g+w[b+3|0]|0;f=d+(g+(e+(a+f|0)|0)|0)|0;b=b+4|0;c=c-4|0;if(c){continue}break}}f=(f>>>0)%65521|0;d=(d>>>0)%65521|0}a=f<<16|d;break a}e:{if(!c){break e}g=c-1|0;e=c&3;if(e){a=b;while(1){c=c-1|0;d=w[a|0]+d|0;f=f+d|0;b=a+1|0;a=b;e=e-1|0;if(e){continue}break}}if(g>>>0<3){break e}while(1){a=w[b|0]+d|0;e=a+w[b+1|0]|0;g=e+w[b+2|0]|0;d=g+w[b+3|0]|0;f=d+(g+(e+(a+f|0)|0)|0)|0;b=b+4|0;c=c-4|0;if(c){continue}break}}a=(f>>>0)%65521<<16|(d>>>0>65520?d-65521|0:d)}else{a=1}}return a}function YN(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){var p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;u=Ma-16|0;Ma=u;v[c>>2]=a;z=d&512;A=h<<2;while(1){if((x|0)==4){if(w[n+11|0]>>>7|0){e=v[n+4>>2]}else{e=w[n+11|0]}if(e>>>0>1){C=u,D=Hi(n),v[C+8>>2]=D;C=c,D=ux(oD(u+8|0,1),Zn(n),v[c>>2]),v[C>>2]=D}d=d&176;if((d|0)!=16){if((d|0)==32){a=v[c>>2]}v[b>>2]=a}Ma=u+16|0}else{a:{b:{switch(t[i+x|0]){case 0:v[b>>2]=v[c>>2];break a;case 1:v[b>>2]=v[c>>2];p=Qa[v[v[g>>2]+44>>2]](g,32)|0;h=v[c>>2];v[c>>2]=h+4;v[h>>2]=p;break a;case 3:if(w[n+11|0]>>>7|0){h=v[n+4>>2]}else{h=w[n+11|0]}if(!h){break a}if(w[n+11|0]>>>7|0){h=v[n>>2]}else{h=n}p=v[h>>2];h=v[c>>2];v[c>>2]=h+4;v[h>>2]=p;break a;case 2:if(w[m+11|0]>>>7|0){h=v[m+4>>2]}else{h=w[m+11|0]}if(!h|!z){break a}C=c,D=ux(Hi(m),Zn(m),v[c>>2]),v[C>>2]=D;break a;case 4:break b;default:break a}}B=v[c>>2];e=e+A|0;h=e;while(1){c:{if(f>>>0<=h>>>0){break c}if(!(Qa[v[v[g>>2]+12>>2]](g,2048,v[h>>2])|0)){break c}h=h+4|0;continue}break}p=o;if((p|0)>=1){while(1){if(!((p|0)<1|e>>>0>=h>>>0)){h=h-4|0;q=v[h>>2];r=v[c>>2];v[c>>2]=r+4;v[r>>2]=q;p=p-1|0;continue}break}if((p|0)<1){q=0}else{q=Qa[v[v[g>>2]+44>>2]](g,48)|0}y=q;r=v[c>>2];while(1){q=r+4|0;if((p|0)>=1){v[r>>2]=y;p=p-1|0;r=q;continue}break}v[c>>2]=q;v[r>>2]=j}d:{if((e|0)==(h|0)){r=Qa[v[v[g>>2]+44>>2]](g,48)|0;p=v[c>>2];h=p+4|0;v[c>>2]=h;v[p>>2]=r;break d}if(w[l+11|0]>>>7|0){p=v[l>>2]}else{p=l}p=t[p|0];if(w[l+11|0]>>>7|0){q=v[l+4>>2]}else{q=w[l+11|0]}q=q?p:-1;p=0;s=0;while(1){if((e|0)!=(h|0)){e:{if((p|0)!=(q|0)){r=p;break e}r=v[c>>2];v[c>>2]=r+4;v[r>>2]=k;r=0;if(w[l+11|0]>>>7|0){q=v[l+4>>2]}else{q=w[l+11|0]}s=s+1|0;if(q>>>0<=s>>>0){q=p;break e}if(w[l+11|0]>>>7|0){p=v[l>>2]}else{p=l}if(w[p+s|0]==127){q=-1;break e}if(w[l+11|0]>>>7|0){p=v[l>>2]}else{p=l}q=t[p+s|0]}h=h-4|0;y=v[h>>2];p=v[c>>2];v[c>>2]=p+4;v[p>>2]=y;p=r+1|0;continue}break}h=v[c>>2]}xx(B,h)}x=x+1|0;continue}break}}function Mja(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=Ma-96|0;Ma=c;a:{b:{if(w[b+89|0]){c:{if(w[b+63|0]){Lf(a,b+68|0);break c}v[c+88>>2]=0;v[c+80>>2]=0;v[c+84>>2]=0;v[c+72>>2]=0;v[c+76>>2]=0;v[c+64>>2]=0;v[c+68>>2]=0;h=jd(c- -64|0,971432);d:{if(v[b+56>>2]-3>>>0<=1){yy(c+48|0,v[b+48>>2]);d=v[c+56>>2];if(d){g=c+16|0;while(1){e=c+8|0;Ou(e,b,v[d+8>>2]+36|0);j=il(c- -64|0,e),k=0,v[j+52>>2]=k;v[c+32>>2]=969432;v[c+8>>2]=969400;e=v[c+36>>2];if(e){f=v[e+4>>2]-1|0;v[e+4>>2]=f;if(!f){Qa[v[v[e>>2]+4>>2]](e)}v[c+36>>2]=0}v[c+24>>2]=969432;e=v[c+28>>2];if(e){f=v[e+4>>2]-1|0;v[e+4>>2]=f;if(!f){Qa[v[v[e>>2]+4>>2]](e)}v[c+28>>2]=0}db(g);d=v[d>>2];if(d){continue}break}}ac(c+48|0);break d}f=cF(b);if((f|0)<1){break d}while(1){$r(c,b,g,0);d=v[c>>2];v[c+32>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;i=c+8|0;e=jd(i,971432);cS(d,c- -64|0,i);d=v[e+24>>2];v[c+52>>2]=e;v[c+48>>2]=d;d=v[c+48>>2];e:{if(!d){break e}while(1){if(v[c+52>>2]!=(c+8|0)){break b}j=il(c- -64|0,d+16|0),k=0,v[j+52>>2]=k;d=v[c+48>>2];if(!d){break e}d=v[d>>2];v[c+48>>2]=d;if(d){continue}break}}vd(e);d=v[c>>2];v[c>>2]=0;f:{if(!d){break f}e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(e){break f}e=v[d+4>>2];if(!e){v[d+4>>2]=-32767}if(!e){Qa[v[v[d>>2]+4>>2]](d)}}g=g+1|0;if((f|0)!=(g|0)){continue}break}}d=v[h+24>>2];v[c+12>>2]=h;v[c+8>>2]=d;e=b+68|0;d=v[c+8>>2];g:{if(!d){break g}while(1){if(v[c+12>>2]!=(c- -64|0)){break a}if(bg(d+16|0)){f=v[c+8>>2];if(!f|v[c+12>>2]!=(c- -64|0)){break a}d=ab(44);v[d>>2]=0;v[d+4>>2]=0;v[d+40>>2]=0;v[d+32>>2]=0;v[d+36>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;g=d+8|0;v[g>>2]=0;v[g+4>>2]=0;ze(g,f+16|0);de(e,d)}d=v[c+8>>2];if(!d){break g}d=v[d>>2];v[c+8>>2]=d;if(d){continue}break}}t[b+63|0]=1;Lf(a,e);vd(h)}Ma=c+96|0;return}lb(mb(c+8|0,231515,240864,286,226712));L()}wd(c+48|0,c+8|0);L()}wd(c+8|0,c- -64|0);L()}function JEa(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,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,z=0,A=0;A=Ma-320|0;Ma=A;s=v[a+332>>2];a=v[b+84>>2];b=A;while(1){k=v[a+192>>2];l=u[c+96>>1];i=v[a+64>>2];m=u[c+32>>1];g=B(u[c>>1],v[a>>2])<<13|1024;f=B(v[a+128>>2],u[c+64>>1]);p=g+B(f,-11586)>>11;h=B(v[a+32>>2],u[c+16>>1]);n=B(v[a+160>>2],u[c+80>>1]);q=B(v[a+96>>2],u[c+48>>1]);o=B(v[a+224>>2],u[c+112>>1]);j=q-o|0;r=h-(n+j|0)<<2;v[b+224>>2]=p-r;v[b+64>>2]=p+r;l=B(k,l);i=B(i,m);k=B(l+i|0,6810);i=k+B(i,4209)|0;m=g+B(f,9373)|0;p=i+m|0;r=B(j,2531);n=n<<13;y=r+n|0;q=o+q|0;o=B(q,7791);z=y+(o+B(h,11443)|0)|0;v[b+288>>2]=p-z>>11;v[b>>2]=p+z>>11;i=m-i|0;m=y+(B(h,1812)-o|0)|0;v[b+160>>2]=i-m>>11;v[b+128>>2]=i+m>>11;f=g+B(f,-3580)|0;g=k+B(l,-17828)|0;k=f-g|0;j=(n-r|0)-(j<<12)|0;l=B(q,4815);i=j+(B(h,5260)-l|0)|0;v[b+192>>2]=k-i>>11;v[b+96>>2]=k+i>>11;f=f+g|0;h=B(h,10323)-(j+l|0)|0;v[b+256>>2]=f-h>>11;v[b+32>>2]=f+h>>11;b=b+4|0;a=a+4|0;c=c+2|0;x=x+1|0;if((x|0)!=8){continue}break}a=s+128|0;x=0;c=A;while(1){s=v[c+24>>2];j=v[c+8>>2];f=B(s+j|0,6810);b=v[(x<<2)+d>>2]+e|0;g=v[c+28>>2];k=v[c+12>>2];l=g+k|0;i=B(l,7791);h=v[c+4>>2];g=k-g|0;m=B(g,2531);p=v[c+20>>2];n=p<<13;q=m+n|0;o=(i+B(h,11443)|0)+q|0;r=f+B(j,4209)|0;k=(v[c>>2]<<13)+131072|0;j=v[c+16>>2];y=k+B(j,9373)|0;z=r+y|0;t[b|0]=w[a+(o+z>>>18&1023)|0];t[b+9|0]=w[a+(z-o>>>18&1023)|0];l=B(l,4815);m=(n-m|0)-(g<<12)|0;n=B(h,10323)-(l+m|0)|0;f=f+B(s,-17828)|0;s=k+B(j,-3580)|0;o=f+s|0;t[b+1|0]=w[a+(n+o>>>18&1023)|0];t[b+8|0]=w[a+(o-n>>>18&1023)|0];g=h-(g+p|0)<<13;j=k+B(j,-11586)|0;t[b+2|0]=w[a+(g+j>>>18&1023)|0];t[b+7|0]=w[a+(j-g>>>18&1023)|0];g=m+(B(h,5260)-l|0)|0;f=s-f|0;t[b+3|0]=w[a+(g+f>>>18&1023)|0];t[b+6|0]=w[a+(f-g>>>18&1023)|0];h=q+(B(h,1812)-i|0)|0;f=y-r|0;t[b+4|0]=w[a+(h+f>>>18&1023)|0];t[b+5|0]=w[a+(f-h>>>18&1023)|0];c=c+32|0;x=x+1|0;if((x|0)!=10){continue}break}Ma=A+320|0}function EC(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=gb(120);if(!f){return 0}d=gb(12);a:{if(!d){break a}v[d+8>>2]=0;v[d>>2]=0;v[d+4>>2]=0;b:{c:{d:{b=gb(256);if(!b){c=v[d+8>>2];if(!c){break b}b=v[d>>2];if((b|0)<1){break c}while(1){a=v[c+4>>2];c=v[a>>2];v[a>>2]=c-1;if((c|0)<=1){b=v[v[a+8>>2]>>2];if(b){Qa[b|0](a)}$a(a);b=v[d>>2]}a=b-1|0;if((a|0)<=0){v[d>>2]=a;break d}b=v[d+8>>2];id(b,b+8|0,a<<3);a=v[d>>2];b=a-1|0;v[d>>2]=b;if((a|0)<2){break d}c=v[d+8>>2];continue}}v[d+4>>2]=32;v[d+8>>2]=b;v[f+112>>2]=d;g=cb(eb(f,0,112),a,104);b=g;v[b+104>>2]=0;v[b+108>>2]=0;c=v[d+8>>2];if(c){b=v[d>>2];if((b|0)>=1){while(1){c=v[c+4>>2];e=v[c>>2];v[c>>2]=e-1;if((e|0)<=1){b=v[v[c+8>>2]>>2];if(b){Qa[b|0](c)}$a(c);b=v[d>>2]}e:{b=b-1|0;if((b|0)<=0){v[d>>2]=b;break e}c=v[d+8>>2];id(c,c+8|0,b<<3);c=v[d>>2];b=c-1|0;v[d>>2]=b;if((c|0)<2){break e}c=v[d+8>>2];continue}break}c=v[d+8>>2]}$a(c)}$a(d);h=v[a+112>>2];e=gb(12);if(!e){break a}v[e+8>>2]=0;v[e>>2]=0;v[e+4>>2]=0;f:{g:{h:{b=gb(256);if(!b){c=v[e+8>>2];if(!c){break f}b=v[e>>2];if((b|0)<1){break g}while(1){a=v[c+4>>2];c=v[a>>2];v[a>>2]=c-1;if((c|0)<=1){b=v[v[a+8>>2]>>2];if(b){Qa[b|0](a)}$a(a);b=v[e>>2]}a=b-1|0;if((a|0)<=0){v[e>>2]=a;break h}b=v[e+8>>2];id(b,b+8|0,a<<3);a=v[e>>2];b=a-1|0;v[e>>2]=b;if((a|0)<2){break h}c=v[e+8>>2];continue}}v[e+4>>2]=32;v[e+8>>2]=b;i:{if(v[h>>2]>=1){c=v[e>>2];a=0;while(1){if((a|0)>(c|0)){break i}i=a<<3;d=i+v[h+8>>2]|0;j=v[d+4>>2];k=v[d>>2];if(v[e+4>>2]<=(c|0)){c=c+32|0;j:{if(b){b=ph(b,c<<3);break j}b=gb(c<<3)}if(!b){break a}v[e+4>>2]=c;v[e+8>>2]=b;c=v[e>>2]}v[j>>2]=v[j>>2]+1;d=a+1|0;a=c-a|0;if((a|0)>=1){id((d<<3)+b|0,b+i|0,a<<3);c=v[e>>2];b=v[e+8>>2]}a=b+i|0;v[a+4>>2]=j;v[a>>2]=k;c=c+1|0;v[e>>2]=c;a=d;if((d|0)>2]){continue}break}}v[g+112>>2]=e;return g}O(31371,7738,765,188461);L()}c=v[e+8>>2]}$a(c)}$a(e);break a}c=v[d+8>>2]}$a(c)}$a(d)}v[f+112>>2]=0;Om(f);return 0}function FJ(a,b,c){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;f=Ma-16|0;Ma=f;d=1;if(v[a+72>>2]==1869968492){d=a+108|0;if(c){e=v[c+4>>2];c=v[c>>2]}else{c=0}yn(d,f);g=e&63;d=v[f+12>>2];i=g+(d&63)|0;v[f+12>>2]=i;h=c&63;j=v[f+8>>2];l=h+(j&63)|0;v[f+8>>2]=l;k=v[f+4>>2];m=g+(k&63)|0;v[f+4>>2]=m;g=v[f>>2];n=h+(g&63)|0;v[f>>2]=n;h=d>>6;d=e>>6;h=h+d|0;c=c>>6;o=c+(j>>6)|0;j=d+(k>>6)|0;k=c+(g>>6)|0;d=2;c=5;a:{b:{switch(b-2|0){case 0:c=l+32|0;g=(c>>>6|0)+o|0;d=n+31|0;b=k+(d>>>6|0)|0;c:{if((g|0)==(b|0)){if((((d&63)+(c&63)|0)-31|0)<=31){g=b;b=b-1|0;break c}g=b+1|0}}e=i+32|0;c=h+(e>>>6|0)|0;h=m+31|0;d=j+(h>>>6|0)|0;d:{if((c|0)==(d|0)){if((((h&63)+(e&63)|0)-31|0)<=31){c=d;d=d-1|0;break d}c=d+1|0}}j=d;i=c-d|0;e=g-b|0;h=e+15>>3&-2;d=1;break a;case 2:b=4;c=6;case 1:d=v[a>>2];e:{f:{switch(b-3|0){case 0:b=v[d+180>>2];e=v[d+188>>2];i=(b|0)>(e|0)?b:e;g=v[d+196>>2];v[f>>2]=v[f>>2]-((g|0)<(i|0)?i:g);b=(b|0)<(e|0)?b:e;v[f+8>>2]=v[f+8>>2]-((b|0)<(g|0)?b:g);b=v[d+184>>2];e=v[d+192>>2];g=(b|0)>(e|0)?b:e;d=v[d+200>>2];v[f+4>>2]=v[f+4>>2]-((d|0)<(g|0)?g:d);b=(b|0)<(e|0)?b:e;v[f+12>>2]=v[f+12>>2]-((b|0)<(d|0)?b:d);break e;case 1:break f;default:break e}}b=v[d+184>>2];e=v[d+192>>2];i=(b|0)>(e|0)?b:e;g=v[d+200>>2];v[f>>2]=v[f>>2]-((g|0)<(i|0)?i:g);b=(b|0)<(e|0)?b:e;v[f+8>>2]=v[f+8>>2]-((b|0)<(g|0)?b:g);b=v[d+180>>2];e=v[d+188>>2];g=(b|0)<(e|0)?b:e;d=v[d+196>>2];v[f+4>>2]=v[f+4>>2]+((d|0)>(g|0)?g:d);b=(b|0)>(e|0)?b:e;v[f+12>>2]=v[f+12>>2]+((b|0)>(d|0)?b:d)}d=c;break;default:break b}}c=h+(v[f+12>>2]+63>>6)|0;j=j+(v[f+4>>2]>>6)|0;i=c-j|0;g=(v[f+8>>2]+63>>6)+o|0;b=k+(v[f>>2]>>6)|0;e=g-b|0;h=e;g:{switch(d-5|0){case 0:e=B(e,3);h=e+3&-4;d=5;break a;case 1:break g;default:break a}}i=B(i,3);d=6;h=e}v[a+104>>2]=c;v[a+100>>2]=b;v[a+76>>2]=i;t[a+94|0]=d;u[a+92>>1]=256;v[a+80>>2]=e;v[a+84>>2]=h;d=(b|0)<-32768|(g|0)>32767|(j|0)<-32768|(c|0)>32767}Ma=f+16|0;return d}function X1(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,E=0,G=0,H=0,I=0,J=C(0),L=C(0),M=0,N=0,O=0,P=0;m=v[a+20>>2];s=v[a+28>>2]-m>>3;p=v[a+4>>2];E=+(p|0);while(1){G=v[m+12>>2];h=u[m+8>>1];a=u[m+10>>1];f=a>>31;i=(f^a+f)&65535;f=v[c+4>>2];a:{if(i>>>0<=f>>>0){break a}n=f;f=i+255&130816;if((n|0)==(f|0)){break a}e=v[c>>2];if(e){$a(e)}v[c+4>>2]=f;O=c,P=ab(f<<2),v[O>>2]=P}x=0;q=v[c>>2];n=q;f=h;if(a){while(1){g=+(f|0);H=A[d+64>>3]+(A[d+32>>3]*g+A[d+48>>3]*E)-A[d+8>>3];g=A[d+72>>3]+(A[d+40>>3]*g+A[d+56>>3]*E)-A[d+16>>3];g=F(A[d+24>>3]*K(H*H+g*g),1)*512+.5;b:{if(D(g)<2147483648){e=~~g;break b}e=-2147483648}I=(e+d|0)+2144|0;if(!w[I|0]){k=v[d+88>>2];c:{if((k|0)>=2){g=+(e|0)*.001953125;j=v[d+84>>2];a=1;while(1){if(!(!(g<+z[j>>2])|(a|0)!=1)){a=v[d+80>>2];v[((e<<2)+d|0)+92>>2]=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);break c}l=a<<2;J=z[l+j>>2];if(g<+J){a=v[d+80>>2];k=a+l|0;o=a;a=l-4|0;l=o+a|0;r=w[l+3|0];M=w[k+3|0]-r|0;N=(e<<2)+d|0;o=w[l|0];y=o;L=z[a+j>>2];g=(g-+L)/+C(J-L)*256+.5;d:{if(g<4294967296&g>=0){a=~~g>>>0;break d}a=0}j=w[l+2|0];r=(B(a,M)>>>8|0)+r<<24|((B(a,w[k+2|0]-j|0)>>>8|0)+j&255)<<16;j=w[l+1|0];v[N+92>>2]=y+(B(a,w[k|0]-o|0)>>>8|0)&255|(r|((B(a,w[k+1|0]-j|0)>>>8|0)+j&255)<<8);break c}a=a+1|0;if((k|0)!=(a|0)){continue}break}}a=(v[d+80>>2]+(k<<2)|0)-4|0;v[((e<<2)+d|0)+92>>2]=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24)}t[I|0]=1}a=n;e=v[((e<<2)+d|0)+92>>2];t[a|0]=e;t[a+1|0]=e>>>8;t[a+2|0]=e>>>16;t[a+3|0]=e>>>24;f=f+1|0;n=a+4|0;x=x+1|0;if((x|0)!=(i|0)){continue}break}}e:{if(v[b+16>>2]<(p|0)|v[b+8>>2]>(p|0)){break e}e=u[m+10>>1]<0;f=e?0:G;n=w[G|0];a=v[b+4>>2];f:{if((h|0)>=(a|0)){a=h;break f}h=a-h|0;i=i-h|0;if((i|0)<1){break e}f=e?0:f+h|0;q=(h<<2)+q|0}y=v[b>>2];e=a;o=p;h=v[b+12>>2];if((h|0)<(a+i|0)){h=h-a|0;if((h|0)<0){break e}i=h+1|0}Pf(y,e,o,i,q,f,n)}m=m+8|0;s=s-1|0;if(s){continue}break}}function mS(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=Ma+-64|0;Ma=e;a:{b:{c:{if(!w[a+89|0]){if(!v[a+4>>2]){break c}d:{e:{d=v[b+8>>2];f:{if(!d|!v[d+8>>2]){break f}Sf(e+24|0,b);d=v[e+24>>2];if(!d){db(e+24|0);break f}d=v[d+8>>2];db(e+24|0);if(d){break e}}if(!v[a+44>>2]){break b}f=a+8|0;d=v[a+16>>2];g:{if(!d|!v[d+8>>2]){break g}Sf(e+24|0,f);d=v[e+24>>2];if(!d){db(e+24|0);break g}d=v[d+8>>2];db(e+24|0);if(d){break d}}d=e+24|0;g=Oc(e+16|0,224911);gF(d,a,g);Rf(f,d);v[e+48>>2]=969432;v[e+24>>2]=969400;f=v[e+52>>2];if(f){d=v[f+4>>2]-1|0;v[f+4>>2]=d;if(!d){Qa[v[v[f>>2]+4>>2]](f)}v[e+52>>2]=0}v[e+40>>2]=969432;f=v[e+44>>2];if(f){d=v[f+4>>2]-1|0;v[f+4>>2]=d;if(!d){Qa[v[v[f>>2]+4>>2]](f)}v[e+44>>2]=0}db(e+32|0);db(g);break d}Rf(a+8|0,b)}v[a+56>>2]=6;v[a+100>>2]=0;h=Mf();f=h;g=a;d=v[c>>2];if(!d){d=Sp(8);v[d>>2]=0;v[d+4>>2]=0;Xr(d);v[d>>2]=972832;qb(c,v[qb(a+104|0,d)>>2]);d=v[c>>2]}jo(f,g,d);jo(h,a,a);c=v[b+8>>2];h:{if(!c|!v[c+8>>2]){break h}Sf(e+24|0,b);b=v[e+24>>2];if(!b){db(e+24|0);break h}b=v[b+8>>2];db(e+24|0);if(!b){break h}b=e+24|0;d=a+8|0;Qa[v[v[h>>2]+16>>2]](b,h,a,d);c=a+44|0;jb(c,b);g=v[e+24>>2];v[e+24>>2]=0;i:{if(!g){break i}b=v[g+4>>2]-1|0;v[g+4>>2]=b;if(b){break i}b=v[g+4>>2];if(!b){v[g+4>>2]=-32767}if(!b){Qa[v[v[g>>2]+4>>2]](g)}}j:{if(!v[c>>2]){break j}b=v[a+16>>2];k:{if(!b|!v[b+8>>2]){break k}Sf(e+24|0,d);b=v[e+24>>2];if(!b){db(e+24|0);break k}b=v[b+8>>2];db(e+24|0);if(!b){break k}if(!bg(d)){break k}b=v[291401];if(!b){break k}Qa[b|0](c,d,a+60|0,a+62|0)}if(!w[a+62|0]){break j}t[a+61|0]=1}if(!v[c>>2]){break a}}t[a+89|0]=1;if(v[a+96>>2]!=1){v[a+96>>2]=1}qb(a+168|0,a);Qa[3712](a);Ma=e- -64|0;return}lb(mb(e+24|0,231575,240864,168,332377));L()}lb(mb(e+24|0,277081,240864,170,332377));L()}lb(mb(e+24|0,258418,240864,174,332377));L()}a=e+8|0;Sf(a,d);Rc(e+16|0,348822,a);a=v[e+16>>2];lb(mb(e+24|0,v[(a?a+12|0:1117e3)>>2],240864,207,332377));L()}function $N(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){var p=0,q=0,r=0,s=0,u=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;y=Ma-16|0;Ma=y;v[c>>2]=a;B=d&512;while(1){if((z|0)==4){if(w[n+11|0]>>>7|0){e=v[n+4>>2]}else{e=w[n+11|0]}if(e>>>0>1){D=y,E=Hi(n),v[D+8>>2]=E;D=c,E=ux(gO(y+8|0,1),ao(n),v[c>>2]),v[D>>2]=E}d=d&176;if((d|0)!=16){if((d|0)==32){a=v[c>>2]}v[b>>2]=a}Ma=y+16|0;return}a:{b:{switch(t[i+z|0]){case 0:v[b>>2]=v[c>>2];break a;case 1:v[b>>2]=v[c>>2];p=Qa[v[v[g>>2]+28>>2]](g,32)|0;q=v[c>>2];v[c>>2]=q+1;t[q|0]=p;break a;case 3:if(w[n+11|0]>>>7|0){p=v[n+4>>2]}else{p=w[n+11|0]}if(!p){break a}if(w[n+11|0]>>>7|0){p=v[n>>2]}else{p=n}p=w[p|0];q=v[c>>2];v[c>>2]=q+1;t[q|0]=p;break a;case 2:if(w[m+11|0]>>>7|0){p=v[m+4>>2]}else{p=w[m+11|0]}if(!p|!B){break a}D=c,E=ux(Hi(m),ao(m),v[c>>2]),v[D>>2]=E;break a;case 4:break b;default:break a}}C=v[c>>2];e=e+h|0;r=e;while(1){c:{if(f>>>0<=r>>>0){break c}p=t[r|0];if((p|0)>=0){p=(x[v[g+8>>2]+((p&255)<<1)>>1]&2048)!=0}else{p=0}if(!p){break c}r=r+1|0;continue}break}p=o;if((p|0)>=1){while(1){if(!((p|0)<1|e>>>0>=r>>>0)){r=r-1|0;q=w[r|0];s=v[c>>2];v[c>>2]=s+1;t[s|0]=q;p=p-1|0;continue}break}if((p|0)<1){q=0}else{q=Qa[v[v[g>>2]+28>>2]](g,48)|0}while(1){s=v[c>>2];v[c>>2]=s+1;if((p|0)>=1){t[s|0]=q;p=p-1|0;continue}break}t[s|0]=j}d:{if((e|0)==(r|0)){p=Qa[v[v[g>>2]+28>>2]](g,48)|0;q=v[c>>2];v[c>>2]=q+1;t[q|0]=p;break d}if(w[l+11|0]>>>7|0){p=v[l>>2]}else{p=l}q=t[p|0];if(w[l+11|0]>>>7|0){p=v[l+4>>2]}else{p=w[l+11|0]}q=p?q:-1;p=0;u=0;while(1){if((e|0)==(r|0)){break d}e:{if((p|0)!=(q|0)){s=p;break e}q=v[c>>2];v[c>>2]=q+1;t[q|0]=k;s=0;if(w[l+11|0]>>>7|0){q=v[l+4>>2]}else{q=w[l+11|0]}u=u+1|0;if(q>>>0<=u>>>0){q=p;break e}if(w[l+11|0]>>>7|0){p=v[l>>2]}else{p=l}if(w[p+u|0]==127){q=-1;break e}if(w[l+11|0]>>>7|0){p=v[l>>2]}else{p=l}q=t[p+u|0]}r=r-1|0;p=w[r|0];A=v[c>>2];v[c>>2]=A+1;t[A|0]=p;p=s+1|0;continue}}Cp(C,v[c>>2])}z=z+1|0;continue}}function tXa(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,v=0,y=0,z=0,A=0,C=0;if(e){A=e-1|0;C=e-2|0;z=(e|0)==1;while(1){a=f;u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];u[g+6>>1]=x[a+6>>1];f=a+8|0;g=g+8|0;a:{if(!z&n>>>0>=A>>>0){break a}l=n?(n|0)==(C|0)?d:b:c;k=!n&z;if(!k){j=1;if(l>>>0<=1){break a}p=a+6|0;q=a+4|0;r=a+2|0;k=k?0:f;s=k+6|0;v=k+4|0;y=k+2|0;o=l<<1;while(1){i=x[a>>1];b:{if((i|0)==x[k>>1]){u[g>>1]=i;break b}i=w[a|0]|w[a+1|0]<<8;h=i;m=(h<<8|h>>>8)&65535;h=w[k|0]|w[k+1|0]<<8;i=m+(((B(((h<<8|h>>>8)&65535)-((i<<8|i>>>8)&65535)|0,j)<<1)+l|0)/(o|0)|0)&65535;i=i<<8|i>>>8;t[g|0]=i;t[g+1|0]=i>>>8}i=g+2|0;h=x[r>>1];c:{if((h|0)==x[y>>1]){u[i>>1]=h;break c}h=w[r|0]|w[r+1|0]<<8;m=w[y|0]|w[y+1|0]<<8;h=((h<<8|h>>>8)&65535)+(((B(((m<<8|m>>>8)&65535)-((h<<8|h>>>8)&65535)|0,j)<<1)+l|0)/(o|0)|0)&65535;h=h<<8|h>>>8;t[i|0]=h;t[i+1|0]=h>>>8}i=g+4|0;h=x[q>>1];d:{if((h|0)==x[v>>1]){u[i>>1]=h;break d}h=w[q|0]|w[q+1|0]<<8;m=w[v|0]|w[v+1|0]<<8;h=((h<<8|h>>>8)&65535)+(((B(((m<<8|m>>>8)&65535)-((h<<8|h>>>8)&65535)|0,j)<<1)+l|0)/(o|0)|0)&65535;h=h<<8|h>>>8;t[i|0]=h;t[i+1|0]=h>>>8}i=g+6|0;h=x[p>>1];e:{if((h|0)==x[s>>1]){u[i>>1]=h;break e}h=w[p|0]|w[p+1|0]<<8;m=w[s|0]|w[s+1|0]<<8;h=((h<<8|h>>>8)&65535)+(((B(((m<<8|m>>>8)&65535)-((h<<8|h>>>8)&65535)|0,j)<<1)+l|0)/(o|0)|0)&65535;h=h<<8|h>>>8;t[i|0]=h;t[i+1|0]=h>>>8}g=g+8|0;j=j+1|0;if((l|0)!=(j|0)){continue}break}break a}if(l>>>0<2){break a}j=l-1|0;k=j&1;if((l|0)!=2){j=j&-2;while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];u[g+6>>1]=x[a+6>>1];u[g+8>>1]=x[a>>1];u[g+10>>1]=x[a+2>>1];u[g+12>>1]=x[a+4>>1];u[g+14>>1]=x[a+6>>1];g=g+16|0;j=j-2|0;if(j){continue}break}}if(!k){break a}u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];u[g+6>>1]=x[a+6>>1];g=g+8|0}n=n+1|0;if((n|0)!=(e|0)){continue}break}}return 0}function u3(a,b){var c=0,d=0,e=0,f=0;f=((b<<9)+a|0)+65561|0;e=w[f|0];c=x[(e<<2)+1025792>>1];a:{b:{if(e>>>0>=47){d=x[a+4>>1]-c|0;if(d<<16>>16>=0){c:{if(c>>>0>(d&65535)>>>0){d=c;break c}v[a>>2]=c+v[a>>2]}c=(e<<2)+1025794|0;break b}v[a>>2]=c+v[a>>2];break a}d=x[a+4>>1]-c|0;d:{if(c>>>0<=(d&65535)>>>0){d=c;break d}v[a>>2]=c+v[a>>2]}c=(e<<2)+1025795|0}t[f|0]=w[c|0];while(1){d=d<<1;u[a+4>>1]=d;v[a>>2]=v[a>>2]<<1;c=w[a+6|0]-1|0;t[a+6|0]=c;if(!(c&255)){El(a);d=x[a+4>>1]}if(d<<16>>16>-1){continue}break}}f=((b<<9)+a|0)+65563|0;e=w[f|0];c=x[(e<<2)+1025792>>1];e:{f:{if(e>>>0<=46){d=d-c|0;if(d<<16>>16>=0){g:{if(c>>>0>(d&65535)>>>0){d=c;break g}v[a>>2]=c+v[a>>2]}c=(e<<2)+1025794|0;break f}v[a>>2]=c+v[a>>2];break e}d=d-c|0;h:{if(c>>>0<=(d&65535)>>>0){d=c;break h}v[a>>2]=c+v[a>>2]}c=(e<<2)+1025795|0}t[f|0]=w[c|0];while(1){d=d<<1;u[a+4>>1]=d;v[a>>2]=v[a>>2]<<1;c=w[a+6|0]-1|0;t[a+6|0]=c;if(!(c&255)){El(a);d=x[a+4>>1]}if(d<<16>>16>-1){continue}break}}f=((b<<9)+a|0)+65566|0;e=w[f|0];c=x[(e<<2)+1025792>>1];i:{j:{if(e>>>0<=46){d=d-c|0;if(d<<16>>16>=0){k:{if(c>>>0>(d&65535)>>>0){d=c;break k}v[a>>2]=c+v[a>>2]}c=(e<<2)+1025794|0;break j}v[a>>2]=c+v[a>>2];break i}d=d-c|0;l:{if(c>>>0<=(d&65535)>>>0){d=c;break l}v[a>>2]=c+v[a>>2]}c=(e<<2)+1025795|0}t[f|0]=w[c|0];while(1){d=d<<1;u[a+4>>1]=d;v[a>>2]=v[a>>2]<<1;c=w[a+6|0]-1|0;t[a+6|0]=c;if(!(c&255)){El(a);d=x[a+4>>1]}if(d<<16>>16>-1){continue}break}}f=((b<<9)+a|0)+65572|0;e=w[f|0];c=x[(e<<2)+1025792>>1];m:{if(e>>>0<=46){b=d-c|0;u[a+4>>1]=b;if(b<<16>>16>=0){n:{if(c>>>0>(b&65535)>>>0){b=c;break n}v[a>>2]=c+v[a>>2]}c=(e<<2)+1025794|0;break m}v[a>>2]=c+v[a>>2];return}b=d-c|0;o:{if(c>>>0<=(b&65535)>>>0){b=c;break o}v[a>>2]=c+v[a>>2]}c=(e<<2)+1025795|0}t[f|0]=w[c|0];while(1){b=b<<1;u[a+4>>1]=b;v[a>>2]=v[a>>2]<<1;d=w[a+6|0]-1|0;t[a+6|0]=d;if(!(d&255)){El(a);b=x[a+4>>1]}if(b<<16>>16>-1){continue}break}}function fE(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;h=Ma-32|0;Ma=h;f=JE(ab(72));v[h>>2]=0;qb(h,f);f=v[c>>2];if(v[f+64>>2]){oR(v[h>>2],f,0);jb(c,h)}a:{if(!(v[a+140>>2]<(d|0)|v[a+136>>2]>(d|0))){f=x[b+8>>1];l=x[b+10>>1];d=v[a+124>>2]+(d-v[a+128>>2]<<4)|0;m=v[d+12>>2];g=v[d>>2];j=v[d+4>>2];d=v[d+8>>2];n=x[v[c>>2]+10>>1];Cu(b,2);d=(d+((l>>>1|0)-l|0)|0)+(((d-j|0)+1|0)/-2|0)|0;Cu(v[c>>2],1-d|0);j=d+1|0;Cu(v[c>>2],(j+(l-n|0)|0)+2|0);Bu(b);Bu(v[c>>2]);o=v[c>>2];if(!v[b+20>>2]){Re(b)}i=((g-m|0)+1|0)/-2|0;e=x[b+8>>1];b:{if(e>>>0<=f>>>0){d=x[b+12>>1];if(v[279246]<(d+x[b+14>>1]|0)){break a}m=d+v[279245]|0;d=v[b+20>>2];break b}d=v[b+20>>2];m=d+(x[b+12>>1]+B(f,x[b+14>>1])|0)|0}n=f-1|0;k=f;if(!d){Re(b);e=x[b+8>>1]}c:{if(!((e&65535)>>>0>=f>>>0?k:0)){d=x[b+12>>1];if(v[279246]<(d+x[b+14>>1]|0)){break a}d=d+v[279245]|0;break c}d=v[b+20>>2]+(x[b+12>>1]+B(x[b+14>>1],n)|0)|0}e=v[c>>2];if(!v[e+20>>2]){Re(e)}d:{e:{f=(g+(f>>>1|0)|0)+i|0;if((f|0)>=-1){g=f+1|0;if((g|0)>1]){break e}}g=x[e+14>>1];e=x[e+12>>1];if(v[279246]<(g+e|0)){break a}g=e+v[279245]|0;break d}g=v[e+20>>2]+(x[e+12>>1]+B(g,x[e+14>>1])|0)|0}e=v[c>>2];if(!v[e+20>>2]){Re(e)}f:{if(!((f|0)>1]&(f|0)>=0)){k=x[e+14>>1];e=x[e+12>>1];if(v[279246]<(k+e|0)){break a}e=e+v[279245]|0;break f}e=v[e+20>>2]+(x[e+12>>1]+B(f,x[e+14>>1])|0)|0}i=v[c>>2];if(!v[i+20>>2]){Re(i)}c=a;k=j;p=f;g=g+j|0;q=e+j|0;g:{if(!((f|0)<=x[i+8>>1]&(f|0)>=1)){f=x[i+12>>1];if(v[279246]<(f+x[i+14>>1]|0)){break a}e=f+v[279245]|0;break g}e=v[i+20>>2]+(x[i+12>>1]+B(x[i+14>>1],f-1|0)|0)|0}Qa[v[v[a>>2]+52>>2]](c,b,o,k,l,n,p,m,d,g,q,e+j|0);a=v[h>>2];v[h>>2]=0;h:{if(!a){break h}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break h}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=h+32|0;return}lb(mb(h+8|0,227376,271519,619,306979));L()}lb(mb(h+8|0,260021,271561,577,327329));L()}function Wma(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=v[v[a+12>>2]+12>>2];a=gb(1e3);v[a>>2]=0;g=v[e>>2];k=v[e+4>>2];a:{if((g|0)==(k|0)){f=4;break a}c=a+4|0;f=4;d=1e3;while(1){b=v[g+4>>2];b:{c:{d:{e:{f:{g:{if(!a){f=0;d=1e3;i=gb(1e3);a=i;break g}h=f+4|0;if(h>>>0<=d>>>0){t[c|0]=b;t[c+1|0]=b>>>8;t[c+2|0]=b>>>16;t[c+3|0]=b>>>24;c=c+4|0;b=v[g>>2];break f}while(1){d=d<<1;if(h>>>0>d>>>0){continue}break}e=Wd(a,d);if(e){a=e+f|0;t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;c=a+4|0;b=v[g>>2];a=e;break f}i=gb(d);e=cb(i,a,f);$a(a);a=e+f|0}t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;b=v[g>>2];if(!i){break e}h=f+4|0;c=a+4|0;a=i}h:{i:{f=f+8|0;j:{if(f>>>0<=d>>>0){e=a;break j}while(1){d=d<<1;if(f>>>0>d>>>0){continue}break}e=Wd(a,d);if(!e){break i}c=e+h|0}t[c|0]=b;t[c+1|0]=b>>>8;t[c+2|0]=b>>>16;t[c+3|0]=b>>>24;j=A[g+8>>3]*100;if(!(j<4294967296&j>=0)){break h}b=~~j>>>0;break c}e=gb(d);c=cb(e,a,h);$a(a);c=c+h|0;break d}b=0;break c}h=0;d=1e3;e=gb(1e3);c=e}t[c|0]=b;t[c+1|0]=b>>>8;t[c+2|0]=b>>>16;t[c+3|0]=b>>>24;j=A[g+8>>3]*100;k:{if(j<4294967296&j>=0){b=~~j>>>0;break k}b=0}if(e){f=h+4|0;break c}f=0;d=1e3;a=gb(1e3);e=a;break b}a=f+4|0;if(a>>>0<=d>>>0){a=c+4|0;break b}while(1){d=d<<1;if(a>>>0>d>>>0){continue}break}c=Wd(e,d);if(c){a=c+f|0;e=c;break b}c=cb(gb(d),e,f);$a(e);a=c+f|0;e=c}t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;c=w[g+27|0];b=c<<24>>24<0;c=b?v[g+20>>2]:c;h=c+4|0;l=b?v[g+16>>2]:g+16|0;l:{if(!e){i=0;d=h>>>0>1e3?h:1e3;b=gb(d);a=b;break l}i=f+4|0;b=h+i|0;if(b>>>0<=d>>>0){b=a+4|0;a=e;break l}while(1){d=d<<1;if(b>>>0>d>>>0){continue}break}a=Wd(e,d);if(!a){a=gb(d);cb(a,e,i);$a(e)}b=a+i|0}t[b|0]=c;t[b+1|0]=c>>>8;t[b+2|0]=c>>>16;t[b+3|0]=c>>>24;f=h+i|0;c=cb(b+4|0,l,c)+c|0;g=g+40|0;if((k|0)!=(g|0)){continue}break}}t[a|0]=f;t[a+1|0]=f>>>8;t[a+2|0]=f>>>16;t[a+3|0]=f>>>24;return a|0}function IQ(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=Ma+-64|0;Ma=d;j=pc(d+48|0,d+60|0,B(v[b+8>>2],7),1);t[v[d+60>>2]]=0;g=v[d+60>>2];h=v[b+12>>2];v[d+44>>2]=h;v[d+40>>2]=0;f=h;a:{while(1){b:{c=313455;c:{d:{e:{f:{g:{h:{i:{j:{e=Qa[v[v[b>>2]+60>>2]](b,d+44|0)|0;switch(e-34|0){case 4:break i;case 26:break d;case 28:break e;case 1:case 2:case 3:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 27:break f;case 0:break g;case 5:break h;default:break j}}if(e){break f}v[a>>2]=0;if(!k){break b}od(g,f);f=d+32|0;aj(f,b,v[d+60>>2]);jb(a,f);a=v[d+32>>2];v[d+32>>2]=0;if(!a){break a}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break a}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}break a}c=313472;break d}c=313465;break d}c=313448;break d}if((e>>>0<126|e>>>0>127)&e>>>0>=32){break c}v[d>>2]=e;c=d+24|0;GQ(c,313441,d);v[d+16>>2]=0;e=d+16|0;qb(e,0);i=d+32|0;Qa[v[v[b>>2]+32>>2]](i,b,c,e);jb(d+40|0,i);c=v[d+32>>2];v[d+32>>2]=0;k:{if(!c){break k}e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(e){break k}e=v[c+4>>2];if(!e){v[c+4>>2]=-32767}if(!e){Qa[v[v[c>>2]+4>>2]](c)}}c=v[d+16>>2];v[d+16>>2]=0;l:{if(!c){break l}e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(e){break l}e=v[c+4>>2];if(!e){v[c+4>>2]=-32767}if(!e){Qa[v[v[c>>2]+4>>2]](c)}}c=v[d+24>>2];v[d+24>>2]=0;m:{if(!c){break m}e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(e){break m}e=v[c+4>>2];if(!e){v[c+4>>2]=-32767}if(!e){Qa[v[v[c>>2]+4>>2]](c)}}c=v[v[d+40>>2]+12>>2];if(c){break d}break c}c=313460}if(v[d+44>>2]!=(f|0)){e=f;f=h-f|0;g=Sb(g,e,f)+f|0;f=v[d+44>>2]}k=1;if(!w[c|0]){break c}g=zb(c)+od(g,c)|0}h=v[d+44>>2];continue}break}qb(a,b)}a=v[d+40>>2];v[d+40>>2]=0;n:{if(!a){break n}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break n}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}ec(j);Ma=d- -64|0}function eK(a){var b=0,c=0,d=0,e=0,f=0;d=a+2848|0;b=v[d>>2];e=v[d+4>>2];if((b|0)!=(e|0)){while(1){c=v[b>>2];if(c){e=v[c>>2];if(e){$a(tt(e));v[c>>2]=0}e=v[c+4>>2];if(e){$a(me(e))}$a(c);e=v[d+4>>2]}b=b+4|0;if((e|0)!=(b|0)){continue}break}b=v[d>>2]}v[d+4>>2]=b;if(b){v[d+4>>2]=b;$a(b)}d=a+1596|0;b=v[d+1212>>2];if(b){$a(b)}c=v[d+32>>2];a:{if(!c){break a}b=c-1|0;v[d+32>>2]=b;e=v[d+48>>2]+(c<<2)|0;while(1){f=d;e=e-4|0;c=v[e>>2];if(c){$a(c);b=v[d+32>>2]}c=b;b=c-1|0;v[f+32>>2]=b;if(c){continue}break}b=v[d+48>>2];if(!b){break a}$a(b)}b=v[d+76>>2];if(b){$a(b)}b=v[d- -64>>2];if(b){$a(b)}b=v[d+20>>2];if(b){$a(b)}b=v[d+12>>2];if(b){$a(b)}b:{if(w[a+1592|0]){break b}b=v[a+1532>>2];if(!b){break b}$a(b)}d=a+96|0;c=v[d+1368>>2];if(c){b=c-1|0;v[d+1368>>2]=b;e=v[d+1376>>2]+(c<<2)|0;while(1){f=d;e=e-4|0;c=v[e>>2];if(c){$a(c);b=v[d+1368>>2]}c=b;b=c-1|0;v[f+1368>>2]=b;if(c){continue}break}}b=v[d+1376>>2];if(b){$a(b)}c=v[d+1348>>2];if(c){b=c-1|0;v[d+1348>>2]=b;e=v[d+1356>>2]+(c<<2)|0;while(1){f=d;e=e-4|0;c=v[e>>2];if(c){$a(c);b=v[d+1348>>2]}c=b;b=c-1|0;v[f+1348>>2]=b;if(c){continue}break}}b=v[d+1356>>2];if(b){$a(b)}bK(d+1304|0);c=v[d+1244>>2];if(c){b=c-1|0;v[d+1244>>2]=b;e=v[d+1252>>2]+(c<<2)|0;while(1){f=d;e=e-4|0;c=v[e>>2];if(c){$a(c);b=v[d+1244>>2]}c=b;b=c-1|0;v[f+1244>>2]=b;if(c){continue}break}}b=v[d+1252>>2];if(b){$a(b)}c=v[d+1224>>2];if(c){b=c-1|0;v[d+1224>>2]=b;e=v[d+1232>>2]+(c<<2)|0;while(1){f=d;e=e-4|0;c=v[e>>2];if(c){$a(c);b=v[d+1224>>2]}c=b;b=c-1|0;v[f+1224>>2]=b;if(c){continue}break}}b=v[d+1232>>2];if(b){$a(b)}bK(d+1180|0);c=v[d>>2];c:{if(!c){break c}b=c-1|0;v[d>>2]=b;e=v[d+16>>2]+(c<<2)|0;while(1){f=d;e=e-4|0;c=v[e>>2];if(c){$a(c);b=v[d>>2]}c=b;b=c-1|0;v[f>>2]=b;if(c){continue}break}b=v[d+16>>2];if(!b){break c}$a(b)}b=v[d+44>>2];if(b){$a(b)}b=v[d+32>>2];if(b){$a(b)}me(a+56|0);me(a+52|0);me(a+48|0);me(a+44|0);return a}function Iza(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;k=Ma-16|0;Ma=k;j=v[a+16>>2];i=v[a+4>>2];d=v[i+8>>2];m=v[a+12>>2];f=v[a+8>>2];t[k+14|0]=0;t[k+15|0]=0;a:{if(f>>>0>=m>>>0){break a}b:while(1){if(y[a+20>>2]>j>>>0){g=v[i+48>>2];while(1){c=f;f=c+1|0;e=w[c|0];h=e<<24>>24;c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{if((g|0)!=126){r:{if(w[d+13|0]){l=v[i+44>>2];if(l){break q}if((h|0)==126){break r}v[i+44>>2]=e|256;t[d+15|0]=0;break c}if((h|0)!=126){break p}}g=126;v[i+48>>2]=126;break c}g=0;v[i+48>>2]=0;s:{switch(e-123|0){case 1:break l;case 3:break o;case 0:case 2:break s;default:break m}}t[d+13|0]=(h|0)==123;if(w[d+15|0]){break n}t[d+15|0]=1;break c}g=h-33|0;if((g&255)>>>0<94&(l+223&255)>>>0<=92){break j}v[i+44>>2]=0;d=l&255;if((g&255)>>>0>=94){break k}f=c;e=d;break e}t[d+15|0]=0;if((h|0)<=-1){break e}break i}c=v[a+24>>2];if(c){v[c+(j-v[a+16>>2]<<1)>>2]=(f-v[a+8>>2]|0)-2}u[j>>1]=126;t[d+15|0]=0;break f}t[d+15|0]=0;v[b>>2]=18;b=v[a+4>>2];t[b+37|0]=126;v[b+256>>2]=2;t[v[a+4>>2]+38|0]=h;t[v[a+4>>2]+36|0]=2;break a}if((e|0)==10){break c}}t[d+15|0]=0;v[b>>2]=18;t[v[a+4>>2]+37|0]=126;t:{u:{if(w[d+13|0]){g=1;if((h-33&255)>>>0>=94){break u}break t}g=1;if((h|0)>-1){break t}}t[v[a+4>>2]+38|0]=h;g=2;c=f}t[v[a+4>>2]+36|0]=g;f=c;break a}e=d<<8|e|65536;c=12;break g}t[k+15|0]=h^128;t[k+14|0]=l^128;c=wm(v[v[d>>2]+24>>2],k+14|0,2);i=v[a+4>>2];v[i+44>>2]=0;if((c|0)>65533){break h}e=c}c=v[a+24>>2];if(c){v[c+(j-v[a+16>>2]<<1)>>2]=((v[a+8>>2]^-1)+f|0)-t[d+13|0]}u[j>>1]=e;break f}e=l<<8&65280|e;c=(c|0)==65534?10:12}v[b>>2]=c;if((e|0)<256){break d}t[v[a+4>>2]+37|0]=e>>>8;t[v[a+4>>2]+38|0]=e;t[v[a+4>>2]+36|0]=2;break a}j=j+2|0;if(f>>>0>>0){continue b}break a}v[b>>2]=12}t[v[a+4>>2]+37|0]=e;t[v[a+4>>2]+36|0]=1;break a}if(f>>>0>>0){continue}break}break a}break}v[b>>2]=15}v[a+8>>2]=f;v[a+16>>2]=j;Ma=k+16|0}function tG(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=Ma-16|0;a:{if(!b){break a}l=b-2|0;while(1){c=g;while(1){i=(c<<4)+a|0;if(!v[i+4>>2]){c=c+1|0;if((c|0)!=(b|0)){continue}break a}break}if((b|0)==(c|0)){break a}j=g^-1;e=c+1|0;b:{if(e>>>0>=b>>>0){d=c;break b}c:{if(!((c^-1)+b&1)){d=c;break c}d=c;f=v[((e<<4)+a|0)+4>>2];if(f){d=f>>>0>2]?e:c}e=c+2|0}if((c|0)==(l|0)){break b}while(1){c=v[((e<<4)+a|0)+4>>2];if(c){d=c>>>0>2]?e:d}f=e+1|0;c=v[((f<<4)+a|0)+4>>2];if(c){d=c>>>0>2]?f:d}e=e+2|0;if((e|0)!=(b|0)){continue}break}}if((d|0)!=(g|0)){f=(d<<4)+a|0;c=v[f+12>>2];v[k+8>>2]=v[f+8>>2];v[k+12>>2]=c;c=v[f+4>>2];v[k>>2]=v[f>>2];v[k+4>>2]=c;d:{if(d>>>0<=g>>>0){break d}i=d+j|0;c=d-g&3;if(c){while(1){e=(d<<4)+a|0;d=d-1|0;h=(d<<4)+a|0;f=v[h+4>>2];v[e>>2]=v[h>>2];v[e+4>>2]=f;f=v[h+12>>2];v[e+8>>2]=v[h+8>>2];v[e+12>>2]=f;c=c-1|0;if(c){continue}break}}if(i>>>0<3){break d}while(1){i=(d<<4)+a|0;h=i-16|0;c=v[h+4>>2];v[i>>2]=v[h>>2];v[i+4>>2]=c;e=i-32|0;c=v[e+4>>2];v[h>>2]=v[e>>2];v[h+4>>2]=c;j=i-48|0;f=j;c=v[f+4>>2];v[e>>2]=v[f>>2];v[e+4>>2]=c;c=v[h+12>>2];v[i+8>>2]=v[h+8>>2];v[i+12>>2]=c;c=v[e+12>>2];v[h+8>>2]=v[e+8>>2];v[h+12>>2]=c;c=v[f+12>>2];v[e+8>>2]=v[f+8>>2];v[e+12>>2]=c;d=d-4|0;f=(d<<4)+a|0;c=v[f+4>>2];v[j>>2]=v[f>>2];v[j+4>>2]=c;c=v[f+12>>2];v[j+8>>2]=v[f+8>>2];v[j+12>>2]=c;if(d>>>0>g>>>0){continue}break}}c=v[k+4>>2];d=(g<<4)+a|0;v[d>>2]=v[k>>2];v[d+4>>2]=c;c=v[k+12>>2];v[d+8>>2]=v[k+8>>2];v[d+12>>2]=c}g=g+1|0;if((g|0)!=(b|0)){continue}break}g=b}c=(b<<4)+a|0;b=v[c+4>>2];d=(g<<4)+a|0;v[d>>2]=v[c>>2];v[d+4>>2]=b;b=v[c+12>>2];v[d+8>>2]=v[c+8>>2];v[d+12>>2]=b;e:{if(v[a+8>>2]==-1){break e}v[a+12>>2]=0;if(v[a+24>>2]==-1){break e}d=v[a+4>>2];b=1;c=1;while(1){j=b;b=(c<<4)+a|0;g=v[b+4>>2];d=j<>2]=d;b=d+1|0;d=g;c=c+1|0;if(v[((c<<4)+a|0)+8>>2]!=-1){continue}break}}}function uba(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;q=Ma-16|0;Ma=q;j=c;while(1){a:{if((d|0)==(j|0)){j=d;break a}if(!w[j|0]){break a}j=j+1|0;continue}break}v[h>>2]=f;v[e>>2]=c;while(1){b:{c:{d:{if((c|0)==(d|0)|(f|0)==(g|0)){break d}k=v[b+4>>2];v[q+8>>2]=v[b>>2];v[q+12>>2]=k;r=Ma-16|0;Ma=r;v[r+12>>2]=v[a+8>>2];t=al(r+8|0,r+12|0);o=j-c|0;m=Ma-1040|0;Ma=m;n=v[e>>2];v[m+12>>2]=n;p=f?f:m+16|0;k=0;e:{f:{g:{l=f?g-f>>2:256;if(!n|!l){break g}i=o>>>2|0;s=l>>>0<=i>>>0;if(i>>>0>>0&o>>>0<=131){break f}while(1){i=s?l:i;o=o-i|0;i=OO(p,m+12|0,i,b);if((i|0)==-1){l=0;n=v[m+12>>2];k=-1;break g}n=(m+16|0)==(p|0)?0:i;l=l-n|0;p=(n<<2)+p|0;k=i+k|0;n=v[m+12>>2];if(!n|!l){break g}i=o>>>2|0;s=l>>>0<=i>>>0;if(o>>>0>131|i>>>0>=l>>>0){continue}break}break f}if(!n){break e}}if(!l|!o){break e}i=k;while(1){h:{k=Qx(p,n,o,b);i:{if(k+2>>>0<=2){j:{switch(k+1|0){case 1:v[m+12>>2]=0;break i;case 0:break e;default:break j}}v[b>>2]=0;break i}n=v[m+12>>2]+k|0;v[m+12>>2]=n;i=i+1|0;l=l-1|0;if(l){break h}}k=i;break e}p=p+4|0;o=o-k|0;k=i;if(o){continue}break}}if(f){v[e>>2]=v[m+12>>2]}Ma=m+1040|0;i=v[t>>2];if(i?i:0){v[279293]=(i|0)==-1?1184868:i}Ma=r+16|0;k:{l:{m:{n:{if((k|0)==-1){while(1){o:{v[h>>2]=f;if(v[e>>2]==(c|0)){break o}g=1;p:{q:{r:{b=ON(f,c,j-c|0,q+8|0,v[a+8>>2]);switch(b+2|0){case 2:break p;case 1:break r;case 0:break l;default:break q}}v[e>>2]=c;break n}g=b}c=c+g|0;f=v[h>>2]+4|0;continue}break}v[e>>2]=c;break d}f=v[h>>2]+(k<<2)|0;v[h>>2]=f;if((f|0)==(g|0)){break k}c=v[e>>2];if((d|0)==(j|0)){j=d;continue}if(!ON(f,c,1,b,v[a+8>>2])){break m}}a=2;break c}v[h>>2]=v[h>>2]+4;c=v[e>>2]+1|0;v[e>>2]=c;j=c;while(1){if((d|0)==(j|0)){j=d;break b}if(!w[j|0]){break b}j=j+1|0;continue}}v[e>>2]=c;a=1;break c}c=v[e>>2]}a=(c|0)!=(d|0)}Ma=q+16|0;return a|0}f=v[h>>2];continue}}function fR(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=Ma-96|0;Ma=d;e=d+40|0;Rc(e,336614,c);c=d+48|0;ic(c,e,336702);f=d+56|0;ic(f,c,Qa[v[v[b>>2]+16>>2]](b)|0);g=d- -64|0;ic(g,f,337464);h=d+72|0;ic(h,g,336599);i=d+32|0;vS(i,b+24|0);j=d+80|0;Xb(j,h,i);ic(d+88|0,j,337464);db(j);db(i);db(h);db(g);db(f);db(c);db(e);c=v[b+8>>2];a:{if(!(!c|!v[c+8>>2])){c=d+72|0;Rc(c,336682,b+8|0);e=d+80|0;ic(e,c,337464);Cd(d+88|0,e);db(e);db(c);break a}_m(d+88|0,337412)}c=v[b+16>>2];if(!(!c|!v[c+8>>2])){c=d- -64|0;vS(c,b+16|0);e=d+72|0;Rc(e,336605,c);f=d+80|0;ic(f,e,337464);Cd(d+88|0,f);db(f);db(e);db(c)}c=v[b+48>>2];if(!((c|0)==-16777216|(c|0)==-1)){v[d+16>>2]=c;v[d+80>>2]=0;v[d+84>>2]=v[279250];c=d+80|0;Cd(d+88|0,Gd(c,337448,d+16|0));db(c)}c=977371;e=v[b+32>>2]-1|0;if(e>>>0<=5){c=v[(e<<2)+978272>>2]}e=d- -64|0;ic(e,d+88|0,336689);f=d+72|0;ic(f,e,c);ic(d+80|0,f,337464);c=v[d+80>>2];b:{if(c){Qa[v[v[c>>2]+28>>2]](d+56|0,c,1);break b}v[d+56>>2]=0}jb(d+88|0,d+56|0);c=v[d+56>>2];v[d+56>>2]=0;c:{if(!c){break c}e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(e){break c}e=v[c+4>>2];if(!e){v[c+4>>2]=-32767}if(!e){Qa[v[v[c>>2]+4>>2]](c)}}c=v[d+88>>2];v[d+92>>2]=v[(c?c+12|0:1117e3)>>2];db(d+80|0);db(d+72|0);db(d- -64|0);if(v[b+32>>2]){v[d+48>>2]=0;v[d+52>>2]=v[279250];v[d>>2]=v[b+40>>2];c=d+56|0;h=d+48|0;Rc(c,336629,Gd(h,308626,d));e=d- -64|0;ic(e,c,336643);f=d+72|0;i=Qe(d+40|0,v[b+44>>2]);Xb(f,e,i);g=d+80|0;ic(g,f,337464);Cd(d+88|0,g);db(g);db(f);db(i);db(e);db(c);db(h)}if(w[b+36|0]){ic(d+80|0,d+88|0,337429);b=v[d+80>>2];d:{if(b){Qa[v[v[b>>2]+28>>2]](d+72|0,b,1);break d}v[d+72>>2]=0}jb(d+88|0,d+72|0);b=v[d+72>>2];v[d+72>>2]=0;e:{if(!b){break e}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break e}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[d+88>>2];v[d+92>>2]=v[(b?b+12|0:1117e3)>>2];db(d+80|0)}b=a;a=d+88|0;ic(b,a,346318);db(a);Ma=d+96|0}function HX(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;if(!b){return-1}e=v[b>>2];a:{if(!a){while(1){a=w[e|0];c=a-48|0;b:{if(((a&223)-65&255)>>>0<26|(c&255)>>>0<10){break b}c:{switch(a-33|0){case 0:case 3:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 25:case 26:case 28:case 30:case 31:case 58:case 60:case 62:case 93:break b;case 4:break c;default:break a}}d:{c=w[e+1|0];if((c-48&255)>>>0<10){break d}switch(c-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break d;default:break a}}c=w[e+2|0];if((c-48&255)>>>0<10){break b}switch(c-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break b;default:break a}}e=((a|0)==37?3:1)+e|0;continue}}while(1){e:{d=w[e|0];c=d-48|0;f:{if(((d&223)-65&255)>>>0<26|(c&255)>>>0<10){break f}g:{h:{switch(d-33|0){case 0:case 3:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 25:case 26:case 28:case 30:case 31:case 58:case 60:case 62:case 93:break f;case 4:break h;default:break g}}i:{c=w[e+1|0];if((c-48&255)>>>0<10){break i}switch(c-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break i;default:break g}}c=w[e+2|0];if((c-48&255)>>>0<10){break f}switch(c-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break f;default:break g}}c=v[a+36>>2];if(!(c&1)){break e}switch(d-92|0){case 0:case 2:case 4:case 31:case 32:case 33:break f;default:break e}}e=((d|0)==37?3:1)+e|0;continue}break}d=v[a+32>>2];if(d){Qa[v[256556]](d);c=v[a+36>>2]}f=v[b>>2];d=e-f|0;j:{if(c&2){c=0;if(!f|(d|0)<0){break j}c=Qa[v[256555]](d+1|0)|0;if(!c){c=0;nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break j}g=cb(c,f,d)+d|0,h=0,t[g|0]=h;break j}c=tm(f,d)}v[a+32>>2]=c}v[b>>2]=e;return 0}function Esa(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,p=0,q=0,r=0,s=0,t=0,u=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0;u=Ma-192|0;Ma=u;f=eb(a,0,256);while(1){a:{i=f;d=v[(j<<2)+b>>2]+c|0;l=w[d+5|0];m=w[d+1|0];g=l+m|0;h=w[d+3|0];n=w[d+4|0];o=w[d+2|0];e=n+o|0;p=w[d+6|0];r=w[d|0];d=p+r|0;q=e+d|0;v[f>>2]=((g+h|0)+q<<2)-3584;q=B(q-(h<<2)|0,2896);s=B(d-g|0,7223)+1024|0;d=B(d-e|0,7542);v[f+24>>2]=q+(s-d|0)>>11;e=B(g-e|0,2578);v[f+16>>2]=(e+s|0)+B(g-(h<<1)|0,-5793)>>11;v[f+8>>2]=(q+(d+e|0)|0)+1024>>11;d=o-n|0;g=r-p|0;h=B(d+g|0,5027)+1024|0;t=h+B(d,15326)|0;k=d;d=m-l|0;e=B(k+d|0,-11295);v[f+20>>2]=t+e>>11;k=e;e=B(g-d|0,1395);d=B(d+g|0,7663);v[f+12>>2]=((k+e|0)+d|0)+1024>>11;v[f+4>>2]=d+(h-e|0)>>11;d=j-7|0;j=j+1|0;f=u;b:{switch(d|0){case 0:continue;case 6:break a;default:break b}}f=i+32|0;continue}break}while(1){c=v[f+32>>2];g=v[a+128>>2];h=c+g|0;i=v[f+96>>2];d=v[a+64>>2];e=i+d|0;j=h+e|0;l=v[f+64>>2];m=v[a+96>>2];n=l+m|0;b=n<<1;o=v[a+32>>2];p=v[f+128>>2];r=o+p|0;q=v[f>>2];s=v[a+160>>2];x=q+s|0;y=r+x|0;z=v[a+224>>2];A=v[a+192>>2];C=z+A|0;D=v[f+160>>2];E=v[a>>2];t=D+E|0;k=C+t|0;v[a+128>>2]=((B(j-b|0,-4717)+B(y-b|0,1684)|0)+B(k-b|0,6817)|0)+16384>>15;v[a>>2]=B(((j+n|0)+y|0)+k|0,5350)+16384>>15;b=E-D|0;l=m-l|0;i=d-i|0;d=o-p|0;m=i+d|0;j=s-q|0;g=g-c|0;n=j-g|0;c=A-z|0;v[a+224>>2]=B(b+l-((m+n|0)+c)|0,5350)+16384>>15;h=e-h|0;e=t-C|0;o=r-x|0;p=B(e+o|0,5915)+16384|0;v[a+192>>2]=(B(h,-7376)+p|0)+B(o,-9198)>>15;v[a+64>>2]=(p+B(h,3283)|0)+B(e,1461)>>15;h=B(l,5350);e=((B(n,7518)-h|0)+B(m,-847)|0)+16384|0;k=(e+B(i,-12700)|0)+B(g,5992)|0;i=B(c+g|0,4025)+B(b+i|0,6406)|0;v[a+160>>2]=k+i>>15;k=(e+B(d,-2269)|0)+B(j,-16423)|0;d=B(j-c|0,2499)+B(b+d|0,7141)|0;v[a+96>>2]=k+d>>15;v[a+32>>2]=(i+((h+(d+B(b,-6029)|0)|0)+B(c,-679)|0)|0)+16384>>15;f=f+4|0;a=a+4|0;F=F+1|0;if((F|0)!=7){continue}break}Ma=u+192|0}function F4(a,b){var c=0,d=0,e=0,f=0,g=0;g=Ma-992|0;Ma=g;a:{if(!v[a+4>>2]){break a}b:{switch(b-4|0){case 0:b=x[a+26>>1];if((b|0)==4|b>>>0>4){break a}c=Ge(g+16|0,0);gh(c,a);Cf(c,v[a+16>>2],v[a+20>>2],4,v[a+68>>2]);b=v[a+4>>2];d=v[a+44>>2];On(c,b?d?b+40|0:0:0,d);c:{if(!v[c+4>>2]){od(a+72|0,c+72|0);break c}FL(c,a);LC(c,a);d=v[a+20>>2];d:{if(v[a+332>>2]|(d|0)<1){break d}e=v[a+16>>2];if((e|0)<1){break d}while(1){b=0;if((e|0)>0){while(1){XL(c,b,f,qp(a,b,f));b=b+1|0;e=v[a+16>>2];if((b|0)<(e|0)){continue}break}d=v[a+20>>2];b=v[a+332>>2]}f=f+1|0;if((f|0)>=(d|0)){break d}if(!b){continue}break}}tk(a,c,1)}v[c>>2]=1032;Tg(c);Cg(c);break a;case 4:b=x[a+26>>1];if((b|0)==8|b>>>0>8){break a}c=Ge(g+16|0,0);gh(c,a);Cf(c,v[a+16>>2],v[a+20>>2],8,v[a+68>>2]);b=v[a+4>>2];d=v[a+44>>2];On(c,b?d?b+40|0:0:0,d);e:{if(!v[c+4>>2]){od(a+72|0,c+72|0);break e}FL(c,a);LC(c,a);d=v[a+20>>2];f:{if(v[a+332>>2]|(d|0)<1){break f}e=v[a+16>>2];if((e|0)<1){break f}while(1){b=0;if((e|0)>0){while(1){XL(c,b,f,qp(a,b,f));b=b+1|0;e=v[a+16>>2];if((b|0)<(e|0)){continue}break}d=v[a+20>>2];b=v[a+332>>2]}f=f+1|0;if((f|0)>=(d|0)){break f}if(!b){continue}break}}tk(a,c,1)}v[c>>2]=1032;Tg(c);Cg(c);break a;case 20:break b;default:break a}}b=x[a+26>>1];if((b|0)==24|b>>>0>24){break a}c=Ge(g+16|0,0);gh(c,a);Cf(c,v[a+16>>2],v[a+20>>2],24,v[a+68>>2]);g:{if(!v[c+4>>2]){od(a+72|0,c+72|0);break g}b=v[a+336>>2];if((b|0)>=0){Qf(g+12|0,a,b&255);v[c+340>>2]=v[g+12>>2]}FL(c,a);LC(c,a);if(!(!jM(a)|v[a+964>>2])){Fi(c)}d=v[a+20>>2];h:{if(v[a+332>>2]|(d|0)<1){break h}e=v[a+16>>2];if((e|0)<1){break h}while(1){b=0;if((e|0)>0){while(1){Mm(g+8|0,a,b,f,1);v[g+4>>2]=v[g+8>>2];O5(c,b,f,g+4|0,1);b=b+1|0;e=v[a+16>>2];if((b|0)<(e|0)){continue}break}d=v[a+20>>2];b=v[a+332>>2]}f=f+1|0;if((f|0)>=(d|0)){break h}if(!b){continue}break}}tk(a,c,1)}v[c>>2]=1032;Tg(c);Cg(c)}Ma=g+992|0}function lX(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Ma-128|0;Ma=e;a:{if(v[a+292>>2]){break a}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break a}oc(a)}b:{if(v[a+172>>2]==-1){b=0;break b}f=Be(a,e+12|0);c:{while(1){if(!rq(v[a+360>>2],f)){break c}d:{if((g|0)<101){g=g+1|0;break d}g=0;if(v[a+292>>2]){break d}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break d}oc(a)}e:{if(v[e+12>>2]==1){t[(e+16|0)+d|0]=f;d=d+1|0;break e}d=ui((e+16|0)+d|0,f)+d|0}b=v[a+36>>2];c=v[b+16>>2];f:{if(w[c|0]==10){v[b+32>>2]=1;v[b+28>>2]=v[b+28>>2]+1;break f}v[b+32>>2]=v[b+32>>2]+1}i=b;b=c+v[e+12>>2]|0;v[i+16>>2]=b;if(w[b|0]==37){zc(a)}f=Be(a,e+12|0);if(!f){g:{if(v[a+292>>2]){break g}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break g}oc(a)}if(v[a+172>>2]==-1){b=0;break b}g=0;f=Be(a,e+12|0)}if((d|0)<100){continue}break}b=0;h=d<<1;c=Qa[v[256555]](h)|0;if(!c){Yc(a,0);break b}b=cb(c,e+16|0,d);if(rq(v[a+360>>2],f)){while(1){h:{if((g|0)<101){g=g+1|0;break h}i:{if(v[a+292>>2]){break i}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break i}oc(a)}g=0;if(v[a+172>>2]!=-1){break h}b=0;Qa[v[256556]](c);break b}j:{if((d+10|0)<=(h|0)){b=c;break j}if(!(w[a+362|0]&8|(h|0)<50001)){k:{if(v[a+172>>2]==-1?v[a+212>>2]:0){break k}v[a+84>>2]=110;v[e+4>>2]=249335;v[e>>2]=246135;nb(0,0,0,a,0,1,110,3,249335,0,0,0,340574,e);v[a+12>>2]=0;if(v[a+288>>2]){break k}v[a+212>>2]=1}b=0;Qa[v[256556]](c);break b}h=h<<1;b=Qa[v[256557]](c,h)|0;if(b){break j}b=0;Yc(a,0);Qa[v[256556]](c);break b}l:{if(v[e+12>>2]==1){t[b+d|0]=f;d=d+1|0;break l}d=ui(b+d|0,f)+d|0}c=v[a+36>>2];f=v[c+16>>2];m:{if(w[f|0]==10){v[c+32>>2]=1;v[c+28>>2]=v[c+28>>2]+1;break m}v[c+32>>2]=v[c+32>>2]+1}i=c;c=f+v[e+12>>2]|0;v[i+16>>2]=c;if(w[c|0]==37){zc(a)}f=Be(a,e+12|0);c=b;if(rq(v[a+360>>2],f)){continue}break}}t[b+d|0]=0;break b}if(!d){b=0;break b}b=Ek(e+16|0,d)}Ma=e+128|0;return b}function bG(a){var b=0,c=0,d=0,e=0,f=0,g=0;g=Ma-16|0;Ma=g;b=v[a+56>>2];a:{b:{if(!v[a+28>>2]){c=1;while(1){c:{d:{if((b|0)>=(c|0)){d=v[a+52>>2];break d}while(1){b=v[a+4>>2];d=Qa[v[v[b>>2]+28>>2]](b)|0;if((d|0)==-1){b=v[a+56>>2];if(!b){e=1;break a}d=v[a+52>>2];f=d<>2]+8|0;v[a+56>>2]=b;d=d+(v[a+52>>2]<<8)|0;v[a+52>>2]=d;if((b|0)<(c|0)){continue}break}}f=d>>>b-c|0}e=1;f=f&-1>>>32-c;if((f&65535)==65535){break a}f=f<<9-c<<16;if(u[(f>>14)+954288>>1]==(c|0)){d=a;a=b-c|0;v[d+56>>2]=(a|0)>0?a:0;e=u[(f>>16<<2)+954290>>1];break a}c=c+1|0;if((c|0)!=10){continue}break}e:{if((b|0)<11){while(1){b=v[a+4>>2];c=Qa[v[v[b>>2]+28>>2]](b)|0;if((c|0)==-1){b=v[a+56>>2];if(!b){break a}d=v[a+52>>2];c=d<<11-b;break e}f=v[a+56>>2];b=f+8|0;v[a+56>>2]=b;d=c+(v[a+52>>2]<<8)|0;v[a+52>>2]=d;if((f|0)<3){continue}break}}c=d>>>b-11|0}e=-11;c=c<<1&4094;if(!(251854848>>>c&1)){f:{g:{if((b|0)<12){while(1){b=v[a+4>>2];c=Qa[v[v[b>>2]+28>>2]](b)|0;if((c|0)==-1){break g}e=v[a+56>>2];b=e+8|0;v[a+56>>2]=b;d=c+(v[a+52>>2]<<8)|0;v[a+52>>2]=d;if((e|0)<4){continue}break}}c=d>>>b-12|0;break f}b=v[a+56>>2];if(!b){e=1;break a}c=v[a+52>>2]<<12-b}e=-12;c=c&4095;if(!(-251920382>>>c&1)){break b}}f=a;a=b+e|0;v[f+56>>2]=(a|0)>0?a:0;e=u[(c<<2)+954162>>1];break a}h:{i:{if((b|0)<12){while(1){b=v[a+4>>2];c=Qa[v[v[b>>2]+28>>2]](b)|0;if((c|0)==-1){b=v[a+56>>2];if(!b){e=1;break a}c=v[a+52>>2]<<12-b;break h}e=v[a+56>>2];b=e+8|0;v[a+56>>2]=b;d=c+(v[a+52>>2]<<8)|0;v[a+52>>2]=d;if((e|0)<4){continue}break i}}d=v[a+52>>2]}c=d>>>b-12|0}c=c&4095;d=c>>>0<32?(c<<2)+954160|0:(c>>>1&2044)+954288|0;e=u[d>>1];if((e|0)<=0){break b}c=a;a=b-(e&65535)|0;v[c+56>>2]=(a|0)>0?a:0;e=u[d+2>>1];break a}b=Qa[v[v[a>>2]+52>>2]](a)|0;v[g>>2]=c;e=1;fb(1,b,256134,g);v[a+80>>2]=v[a+80>>2]+1;c=a;a=v[a+56>>2];v[c+56>>2]=((a|0)>1?a:1)-1}Ma=g+16|0;return e<<16>>16}function Sz(a){var b=0,c=0,d=0,e=0,f=0;a:{b:{if(!a){break b}e=v[a+64>>2];if(!e){break a}b=2;c:{d:{e:{f:{g:{h:{i:{c=v[a+68>>2];c=v[(c?c:e)+4>>2];switch(c-1|0){case 1:case 17:break a;case 14:case 15:case 16:case 18:case 19:break c;case 9:case 13:break d;case 10:case 11:break e;case 8:case 12:break f;case 3:case 4:case 5:case 6:case 7:break g;case 2:break h;case 0:break i;default:break b}}a=v[a+16>>2];return(a|0)==2?15:(a|0)==4?15:1}b=0;j:{if(!e){break j}a=1;b=0;if(v[e+4>>2]-3>>>0>1){break j}b=v[e+40>>2];k:{if(!b){break k}while(1){l:{a=0;m:{switch(w[b|0]){case 0:break l;case 9:case 10:case 13:case 32:break m;default:break k}}b=b+1|0;continue}break}a=1}b=a}if(!b){return 3}n:{o:{if(!(!e|v[e+4>>2]!=1)){while(1){a=CH(e,286126,285713);p:{if(!a){break p}c=0;q:{r:{s:{if(!a){break s}t:{b=v[a+4>>2]-2|0;if(b){if((b|0)==14){break t}else{break s}}b=v[a+12>>2];if(b){if(!(v[b+24>>2]|v[b+4>>2]-3>>>0>1)){b=v[b+40>>2];if(!b){break s}a=b;while(1){d=a;a=a+1|0;if(w[d|0]){continue}break}a=d-b|0;if((a|0)<0){break s}c=Qa[v[256555]](a+1|0)|0;if(!c){break r}d=a;a=cb(c,b,a);t[d+a|0]=0;break q}c=Ov(v[a+32>>2],b);if(c){break s}}a=Qa[v[256555]](1)|0;if(!a){break r}t[a|0]=0;break q}b=v[a+48>>2];if(!b){break s}a=b;while(1){d=a;a=a+1|0;if(w[d|0]){continue}break}a=d-b|0;if((a|0)<0){break s}c=Qa[v[256555]](a+1|0)|0;if(!c){break r}c=cb(c,b,a);t[a+c|0]=0}a=c;break q}nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);a=0}b=a;if(!a){break p}d=273842;if((b|0)==273842){c=1;break o}while(1){f=w[a|0];if((f|0)==w[d|0]){c=1;d=d+1|0;a=a+1|0;if(f){continue}break o}break}d=231473;c=0;a=b;if((a|0)==231473){break o}while(1){f=w[a|0];if((f|0)==w[d|0]){d=d+1|0;a=a+1|0;if(f){continue}break o}break}Qa[v[256556]](b)}e=v[e+20>>2];if(e){continue}break}}c=-1;break n}Qa[v[256556]](b)}return c?14:13}return c}return 9}return c}return 10}return 0}b=-1}return b}function qM(a){var b=0,c=0,d=0,e=0;a:{b:{c:{d:{e:{f:{if((a|0)==1281){a=aM(1025);if(!a){break c}c=IC(a);Om(a);if(!c){break c}v[c>>2]=1281;if(v[c+4>>2]!=3|v[c+12>>2]!=3){break e}if(v[c+8>>2]!=257){break d}d=gb(152);if(!d){break c}a=d;v[a+32>>2]=0;v[a+36>>2]=0;v[a+4>>2]=1015512;v[a+8>>2]=3;v[a+12>>2]=3;v[a+136>>2]=0;v[a+140>>2]=0;v[a+128>>2]=-1408749273;v[a+132>>2]=1073502748;v[a+120>>2]=0;v[a+124>>2]=1072693248;v[a+104>>2]=555253372;v[a+108>>2]=-1075389892;v[a+96>>2]=-706436221;v[a+100>>2]=-1076492743;v[a+88>>2]=0;v[a+92>>2]=1072693248;v[a+72>>2]=-1924145349;v[a+76>>2]=1073114775;v[a+64>>2]=0;v[a+68>>2]=0;v[a+56>>2]=0;v[a+60>>2]=1072693248;v[a+24>>2]=0;v[a+28>>2]=1;v[a+16>>2]=0;v[a+20>>2]=0;v[a>>2]=1;v[a+144>>2]=-1408749273;v[a+148>>2]=-1075029476;v[a+112>>2]=-2046466017;v[a+116>>2]=1071705772;v[a+80>>2]=-1924145349;v[a+84>>2]=-1075417449;v[a+40>>2]=0;v[a+44>>2]=0;v[a+48>>2]=0;v[a+52>>2]=0;a=gb(152);if(!a){break c}v[a+4>>2]=1015512;v[a+8>>2]=3;v[a+12>>2]=3;eb(a+32|0,0,120);v[a+24>>2]=0;v[a+28>>2]=1;v[a+16>>2]=0;v[a+20>>2]=1;v[a>>2]=1;pM(a+56|0,d+56|0);g:{b=v[c+20>>2];if(!b){break g}if(!Ll(b,0,d)){break g}return 0}b=v[c+36>>2];if(!b){break f}if(!Ll(b,-1,a)){break f}return 0}c=aM(a);if(!c){break c}d=IC(c);Om(c);if(!d){break c}if(a&255){v[d>>2]=a}b=d;break c}e=v[c+24>>2];if(e){b=0;if(Ll(e,0,d)){break c}}h:{b=v[c+40>>2];if(!b){break h}if(!Ll(b,-1,a)){break h}return 0}e=v[c+28>>2];if(e){b=0;if(Ll(e,0,d)){break c}}i:{b=v[c+44>>2];if(!b){break i}if(!Ll(b,-1,a)){break i}return 0}e=v[c+32>>2];if(e){b=0;if(Ll(e,0,d)){break c}}e=v[c+48>>2];if(e){b=0;if(Ll(e,-1,a)){break c}}b=v[d>>2];v[d>>2]=b-1;if((b|0)<2){break b}break a}O(14173,6744,187,188268);L()}O(16225,6744,188,188268);L()}return b}Qa[v[v[d+4>>2]>>2]](d);$a(d)}d=v[a>>2];v[a>>2]=d-1;if((d|0)>1){return c}Qa[v[v[a+4>>2]>>2]](a);$a(a);return c}function BDa(a,b){a=a|0;b=b|0;var 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;d=Ma-48|0;Ma=d;i=v[b+28>>2];v[d+20>>2]=v[b+8>>2];o=d,p=Id(b,d+4|0),v[o+8>>2]=p;c=v[d+4>>2];a:{if(c){break a}c=Dd(b,518960,d+8|0);v[d+4>>2]=c;if(c){break a}c=1330926671;b:{if(v[d+8>>2]!=1330926671){e=v[d+20>>2];c=Mb(b,e+12|0);v[d+44>>2]=c;if(c){break a}c=2;if(!x[d+12>>1]){break a}j=e+28|0;e=0;while(1){c:{c=Dd(b,519520,d+24|0);v[d+44>>2]=c;if(c){u[d+12>>1]=e-1;break c}g=v[b+4>>2];h=v[d+32>>2];d:{if(g>>>0>>0){break d}c=v[d+24>>2];m=g-h|0;g=v[d+36>>2];if(!((c|0)==1986884728|m>>>0>=g>>>0)&(c|0)!=1752003704){break d}f=f+1|0;e:{if((c|0)<=1651008867){if((c|0)==1296389185){break e}if((c|0)!=1397313095){break d}l=1;break d}if((c|0)!=1751474532&(c|0)!=1651008868){break d}if(g>>>0<54){c=142;break a}c=Mb(b,h+12|0);v[d+44>>2]=c;if(c){break a}Id(b,d+44|0);c=v[d+44>>2];if(c){break a}c=Mb(b,j+(e<<4)|0);v[d+44>>2]=c;k=1;if(!c){break d}break a}n=1}e=e+1|0;if(e>>>0>1]){continue}}break}c=2;if(!(f&65535)){break a}if(!k){c=142;if(!l|!n){break a}}v[d+4>>2]=0;c=v[d+8>>2];break b}f=x[d+12>>1];if(f){break b}c=2;break a}v[a+148>>2]=c;u[a+152>>1]=f;o=a,p=yb(i,16,0,f&65535,0,d+4|0),v[o+156>>2]=p;c=v[d+4>>2];if(c){break a}c=Mb(b,v[d+20>>2]+12|0);v[d+4>>2]=c;if(c){break a}c=Ed(b,x[d+12>>1]<<4);v[d+4>>2]=c;if(c){break a}j=0;f:{if(!x[d+12>>1]){f=0;break f}f=0;while(1){h=Ig(b);l=Ig(b);i=Ig(b);k=Ig(b);c=v[b+4>>2];g:{if(c>>>0>>0){break g}c=c-i|0;if(c>>>0>>0){if((h|0)!=1986884728&(h|0)!=1752003704){break g}k=c&-4}g=v[a+156>>2];e=f&65535;h:{if(!e){e=0;break h}c=0;while(1){if((h|0)==v[g+(c<<4)>>2]){break g}c=c+1|0;if((e|0)!=(c|0)){continue}break}}c=g+(e<<4)|0;v[c+12>>2]=k;v[c+8>>2]=i;v[c+4>>2]=l;v[c>>2]=h;f=f+1|0}j=j+1|0;if(x[d+12>>1]>(j&65535)>>>0){continue}break}}u[a+152>>1]=f;dd(b);c=v[d+4>>2]}Ma=d+48|0;return c|0}function vm(a,b,c){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,p=0,q=0,r=0,s=0,u=0,x=0,y=0;e=c?b+16|0:b;b=(b<<2)+a|0;b=v[(c?b+136|0:b+120|0)>>2];if(!b){c=v[a>>2];v[c+24>>2]=e;v[c+20>>2]=52;Qa[v[v[a>>2]>>2]](a)}if(!v[b+276>>2]){c=v[a+24>>2];f=v[c>>2];v[c>>2]=f+1;t[f|0]=255;f=v[c+4>>2]-1|0;v[c+4>>2]=f;a:{if(f){break a}if(Qa[v[c+12>>2]](a)|0){break a}c=v[a>>2];v[c+20>>2]=25;Qa[v[c>>2]](a)}c=v[a+24>>2];f=v[c>>2];v[c>>2]=f+1;t[f|0]=196;f=v[c+4>>2]-1|0;v[c+4>>2]=f;b:{if(f){break b}if(Qa[v[c+12>>2]](a)|0){break b}c=v[a>>2];v[c+20>>2]=25;Qa[v[c>>2]](a)}d=w[b+16|0];g=w[b+15|0];h=w[b+14|0];i=w[b+13|0];j=w[b+12|0];k=w[b+11|0];l=w[b+10|0];m=w[b+9|0];n=w[b+8|0];o=w[b+7|0];p=w[b+6|0];q=w[b+5|0];r=w[b+4|0];s=w[b+3|0];u=w[b+2|0];x=w[b+1|0];c=v[a+24>>2];f=v[c>>2];v[c>>2]=f+1;y=f;f=d+(g+(h+((((((((((((u+x|0)+s|0)+r|0)+q|0)+p|0)+o|0)+n|0)+m|0)+l|0)+k|0)+j|0)+i|0)|0)|0)|0;g=f+19|0;t[y|0]=g>>>8;d=v[c+4>>2]-1|0;v[c+4>>2]=d;c:{if(d){break c}if(Qa[v[c+12>>2]](a)|0){break c}c=v[a>>2];v[c+20>>2]=25;Qa[v[c>>2]](a)}c=v[a+24>>2];d=v[c>>2];v[c>>2]=d+1;t[d|0]=g;d=v[c+4>>2]-1|0;v[c+4>>2]=d;d:{if(d){break d}if(Qa[v[c+12>>2]](a)|0){break d}c=v[a>>2];v[c+20>>2]=25;Qa[v[c>>2]](a)}c=v[a+24>>2];d=v[c>>2];v[c>>2]=d+1;t[d|0]=e;e=v[c+4>>2]-1|0;v[c+4>>2]=e;e:{if(e){break e}if(Qa[v[c+12>>2]](a)|0){break e}c=v[a>>2];v[c+20>>2]=25;Qa[v[c>>2]](a)}c=1;while(1){g=w[b+c|0];e=v[a+24>>2];d=v[e>>2];v[e>>2]=d+1;t[d|0]=g;d=v[e+4>>2]-1|0;v[e+4>>2]=d;f:{if(d){break f}if(Qa[v[e+12>>2]](a)|0){break f}e=v[a>>2];v[e+20>>2]=25;Qa[v[e>>2]](a)}c=c+1|0;if((c|0)!=17){continue}break}if(f){c=0;while(1){g=w[(b+c|0)+17|0];e=v[a+24>>2];d=v[e>>2];v[e>>2]=d+1;t[d|0]=g;d=v[e+4>>2]-1|0;v[e+4>>2]=d;g:{if(d){break g}if(Qa[v[e+12>>2]](a)|0){break g}e=v[a>>2];v[e+20>>2]=25;Qa[v[e>>2]](a)}c=c+1|0;if(f>>>0>c>>>0){continue}break}}v[b+276>>2]=1}}function sWa(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:{if(w[a+286|0]|!w[a+285|0]|(w[a+287|0]|w[a+288|0])){break a}if(w[a+289|0]){break a}if((c|0)!=21){ob(a,1028,0,0);return 1028}c=w[d|0]|w[d+1|0]<<8;g=(c<<8|c>>>8)&65535;c=w[d+2|0]|w[d+3|0]<<8;h=(c<<8|c>>>8)&65535;i=w[d+4|0];c=w[d+5|0]|w[d+6|0]<<8|(w[d+7|0]<<16|w[d+8|0]<<24);j=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=w[d+9|0]|w[d+10|0]<<8|(w[d+11|0]<<16|w[d+12|0]<<24);k=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=w[d+13|0]|w[d+14|0]<<8|(w[d+15|0]<<16|w[d+16|0]<<24);l=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=w[d+17|0]|w[d+18|0]<<8|(w[d+19|0]<<16|w[d+20|0]<<24);m=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);b:{if(w[a+114|0]){c=Qa[v[a+152>>2]](52)|0;if(!c){ob(a,1,0,0);c=1;break b}v[c+4>>2]=727;v[c>>2]=728;f=v[a+700>>2];c:{if(f){v[f+8>>2]=c;break c}v[a+696>>2]=c}v[c+8>>2]=0;v[c+12>>2]=f;v[a+700>>2]=c;v[c+16>>2]=v[a+436>>2];v[c+20>>2]=v[a+440>>2];v[c+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=c}v[c+48>>2]=m;v[c+44>>2]=l;v[c+40>>2]=k;v[c+36>>2]=j;t[c+32|0]=i;u[c+30>>1]=h;u[c+28>>1]=g}c=b4(a,g,h,i,j,k,l,m)}d:{if(c){break d}c=0;if(!w[a+112|0]){break d}c=Qa[v[b+4>>2]](a,b,e)|0;if(c){break d}a=v[e>>2];b=w[d|0]|w[d+1|0]<<8;u[a+32>>1]=b<<8|b>>>8;b=w[d+2|0]|w[d+3|0]<<8;u[a+34>>1]=b<<8|b>>>8;t[a+36|0]=w[d+4|0];b=w[d+5|0]|w[d+6|0]<<8|(w[d+7|0]<<16|w[d+8|0]<<24);v[a+40>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=w[d+9|0]|w[d+10|0]<<8|(w[d+11|0]<<16|w[d+12|0]<<24);v[a+44>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=w[d+13|0]|w[d+14|0]<<8|(w[d+15|0]<<16|w[d+16|0]<<24);v[a+48>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=a;a=w[d+17|0]|w[d+18|0]<<8|(w[d+19|0]<<16|w[d+20|0]<<24);v[b+52>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);c=0}return c|0}ob(a,1029,0,0);return 1029}function MJ(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=C(0),k=0,l=C(0),m=0,n=0,o=0,p=C(0),q=0,r=0;g=Ma-128|0;Ma=g;o=v[b+84>>2];if((o|0)>=1){q=a+264|0;r=g+92|0;while(1){d=f;i=Cm(b,h);f=v[i>>2];v[g+124>>2]=f;c=65535;a:{b:{c:{if(f>>>0>1114111){break c}f=x[((f<<1)+a|0)+276>>1];if((f|0)==65535){break c}e=v[a+264>>2];c=f;if(w[(e+B(c,104)|0)+72|0]){break b}}t[g+15|0]=1;t[g+14|0]=0;pt(g+16|0,a,g+124|0,g+15|0,0,g+14|0);if(v[g+16>>2]<=1114111){f=v[a+268>>2];d:{if((f|0)!=v[a+272>>2]){c=cb(f,g+16|0,104)+104|0;v[a+268>>2]=c;break d}sB(q,g+16|0);c=v[a+268>>2]}c=((c-v[a+264>>2]|0)/104|0)-1|0;u[((v[g+16>>2]<<1)+a|0)+276>>1]=c}Dh(r);f=c&65535;if((f|0)==65535){f=0;break a}e=v[a+264>>2]}c=B(f,104)+e|0;f=x[c+12>>1];e:{f:{g:{e=v[c+4>>2];switch(e-1|0){case 0:break e;case 1:break g;default:break f}}uB(b,h,j,C(0));vB(b,h,C(0),C(0),C(0),C(0));tB(b,h,2);j=C(j+C(A[a+136>>3]+A[a+8>>3]*+z[c+16>>2]));f=0;break a}e=0}tB(b,h,e);h:{if(!w[a+105|0]|!d){break h}if(v[Cm(b,h)+60>>2]!=v[Cm(b,h-1|0)+60>>2]){break h}e=v[a+180>>2];k=g+16|0;if(k?e:0){dN(e,d,f,k)}j=C(j+C(v[g+16>>2]>>6))}l=z[b+8>>2];m=+C(j+l);p=z[b+12>>2];n=+C(p+C(0));uB(b,h,C(A[b+56>>3]+A[b+24>>3]*m+A[b+40>>3]*n-+l),C(A[b+64>>3]+A[b+32>>3]*m+A[b+48>>3]*n-+p));d=Cm(b,h);k=c- -64|0;e=v[k+4>>2];v[d+52>>2]=v[k>>2];v[d+56>>2]=e;e=v[c+60>>2];v[d+44>>2]=v[c+56>>2];v[d+48>>2]=e;e=v[c+52>>2];v[d+36>>2]=v[c+48>>2];v[d+40>>2]=e;e=v[c+44>>2];v[d+28>>2]=v[c+40>>2];v[d+32>>2]=e;vB(b,h,z[c+24>>2],z[c+36>>2],z[c+28>>2],z[c+32>>2]);l=z[c+16>>2];m=A[a+136>>3];n=A[a+8>>3];t[i+64|0]=w[c+72|0];d=v[c+80>>2];v[i+68>>2]=v[c+76>>2];v[i+72>>2]=d;d=v[c+88>>2];v[i+76>>2]=v[c+84>>2];v[i+80>>2]=d;d=v[c+96>>2];v[i+84>>2]=v[c+92>>2];v[i+88>>2]=d;v[i+92>>2]=v[c+100>>2];j=C(j+C(m+n*+l))}h=h+1|0;if((o|0)!=(h|0)){continue}break}z[b+16>>2]=j+z[b+8>>2];z[b+20>>2]=z[b+12>>2]+C(0)}Ma=g+128|0}function DXa(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;if(e){p=e-1|0;q=e-2|0;n=(e|0)==1;while(1){i=g;a=f;u[g>>1]=x[a>>1];f=a+2|0;g=g+2|0;a:{if(!n&m>>>0>=p>>>0){break a}j=m?(m|0)==(q|0)?d:b:c;h=!m&n;if(h){if(j>>>0<2){break a}h=j-1|0;i=h&7;if(j-2>>>0>=7){h=h&-8;while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a>>1];u[g+4>>1]=x[a>>1];u[g+6>>1]=x[a>>1];u[g+8>>1]=x[a>>1];u[g+10>>1]=x[a>>1];u[g+12>>1]=x[a>>1];u[g+14>>1]=x[a>>1];g=g+16|0;h=h-8|0;if(h){continue}break}}if(!i){break a}while(1){u[g>>1]=x[a>>1];g=g+2|0;i=i-1|0;if(i){continue}break}break a}k=x[a>>1];l=h?0:f;if((k|0)==x[l>>1]){if(j>>>0<2){break a}u[i+2>>1]=k;g=i+4|0;if((j|0)==2){break a}h=j-2|0;i=h&7;if(j-3>>>0>=7){h=h&-8;while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a>>1];u[g+4>>1]=x[a>>1];u[g+6>>1]=x[a>>1];u[g+8>>1]=x[a>>1];u[g+10>>1]=x[a>>1];u[g+12>>1]=x[a>>1];u[g+14>>1]=x[a>>1];g=g+16|0;h=h-8|0;if(h){continue}break}}if(!i){break a}while(1){u[g>>1]=x[a>>1];g=g+2|0;i=i-1|0;if(i){continue}break}break a}h=j+1>>>1|0;b:{if(j>>>0<3){break b}u[i+2>>1]=k;g=i+4|0;if(j>>>0<5){break b}k=h>>>0>2?h:2;o=k-2|0;i=o&7;if(k-3>>>0>=7){k=o&-8;while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a>>1];u[g+4>>1]=x[a>>1];u[g+6>>1]=x[a>>1];u[g+8>>1]=x[a>>1];u[g+10>>1]=x[a>>1];u[g+12>>1]=x[a>>1];u[g+14>>1]=x[a>>1];g=g+16|0;k=k-8|0;if(k){continue}break}}if(!i){break b}while(1){u[g>>1]=x[a>>1];g=g+2|0;i=i-1|0;if(i){continue}break}}if(h>>>0>=j>>>0){break a}i=(h^-1)+j|0;a=j-h&7;if(a){while(1){u[g>>1]=x[l>>1];h=h+1|0;g=g+2|0;a=a-1|0;if(a){continue}break}}if(i>>>0<7){break a}while(1){u[g>>1]=x[l>>1];u[g+2>>1]=x[l>>1];u[g+4>>1]=x[l>>1];u[g+6>>1]=x[l>>1];u[g+8>>1]=x[l>>1];u[g+10>>1]=x[l>>1];u[g+12>>1]=x[l>>1];u[g+14>>1]=x[l>>1];g=g+16|0;h=h+8|0;if((j|0)!=(h|0)){continue}break}}m=m+1|0;if((m|0)!=(e|0)){continue}break}}return 0}function F6(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=-1;d=v[b+8>>2];a:{if(d&7){break a}f=v[a+12>>2];b:{c:{e=v[b+64>>2];if((e|0)>=0&(e|0)<=v[b+60>>2]){break c}e=f;d=e>>>24|0;v[b+4>>2]=v[b+4>>2]|32;g=v[b+28>>2];v[b+28>>2]=g-1;d:{if((g|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;t[c|0]=d;break d}if((Cb(b,d)|0)==-1){break a}}c=-1;d=v[b+8>>2];if(d&7){break a}c=v[b+64>>2];if((c|0)>=0&(c|0)<=v[b+60>>2]){break c}d=e>>>16|0;v[b+4>>2]=v[b+4>>2]|32;c=-1;g=v[b+28>>2];v[b+28>>2]=g-1;e:{if((g|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;t[c|0]=d;break e}if((Cb(b,d&255)|0)==-1){break a}}c=-1;d=v[b+8>>2];if(d&7){break a}c=v[b+64>>2];if((c|0)>=0&(c|0)<=v[b+60>>2]){break c}e=e>>>8|0;v[b+4>>2]=v[b+4>>2]|32;c=-1;d=v[b+28>>2];v[b+28>>2]=d-1;f:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;t[c|0]=e;break f}if((Cb(b,e&255)|0)==-1){break a}}c=-1;d=v[b+8>>2];if(d&7){break a}e=v[b+64>>2];if((e|0)>=0&(e|0)<=v[b+60>>2]){break c}v[b+4>>2]=v[b+4>>2]|32;e=v[b+28>>2];v[b+28>>2]=e-1;g:{if((e|0)>=1){v[b+60>>2]=v[b+60>>2]+1;e=v[b+24>>2];v[b+24>>2]=e+1;t[e|0]=f;break g}if((Cb(b,f&255)|0)==-1){break a}}e=0;if(!v[a+12>>2]){return 0}while(1){d=v[b+8>>2];if(d&7){break b}f=v[v[a+16>>2]+(e<<2)>>2];c=v[b+64>>2];if((c|0)>=0&(c|0)<=v[b+60>>2]){break c}d=f>>>8|0;v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;h:{if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;t[c|0]=d;break h}c=-1;if((Cb(b,d&255)|0)==-1){break a}}d=v[b+8>>2];if(d&7){break b}c=v[b+64>>2];if((c|0)>=0&(c|0)<=v[b+60>>2]){break c}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;i:{if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;t[c|0]=f;break i}c=-1;if((Cb(b,f&255)|0)==-1){break a}}c=0;e=e+1|0;if(e>>>0>2]){continue}break}break a}v[b+8>>2]=d|4}c=-1}return c|0}function _ma(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,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;k=Ma-16|0;Ma=k;v[k+12>>2]=0;v[k+8>>2]=0;a=v[v[a+12>>2]+12>>2];if(a){m=k+12|0;n=k+8|0;g=a+32|0;h=v[g>>2];a:{if(!h){break a}a=g;while(1){i=v[h+16>>2]<(b|0);a=i?a:h;h=v[(i<<2)+h>>2];if(h){continue}break}if((a|0)==(g|0)|v[a+16>>2]>(b|0)){break a}g=v[a+20>>2];b=Ma-96|0;Ma=b;a=Ss(b+88|0);h=b+72|0;po(h,v[g+36>>2],g+24|0);g=mn(a,h);if(t[b+83|0]<=-1){$a(v[b+72>>2])}b:{if(!g){break b}if(!Yg(a)){break b}g=b+56|0;Xc(g,a);h=qd(b+72|0,g);if(t[b+67|0]<=-1){$a(v[b+56>>2])}g=b+56|0;v[g>>2]=0;v[g+4>>2]=0;t[g+8|0]=0;c:{if(nc(h,962344)){if(yh(a)){break c}j=rg(a);if(!qe(a,j)){break c}while(1){i=b+24|0;Xc(i,a);i=qd(b+40|0,i);Xe(h,i);Qb(i);if(t[b+35|0]<=-1){$a(v[b+24>>2])}d:{e:{if(nc(h,962424)){i=b+40|0;v[i>>2]=0;v[i+4>>2]=0;t[i+8|0]=0;im(a,962464,i);if(!nc(i,962500)){break e}if(yh(a)){Qb(i);break c}j=rg(a);f:{while(1){if(!qe(a,j)){break f}l=b+8|0;Xc(l,a);l=qd(b+24|0,l);Xe(h,l);Qb(l);if(t[b+19|0]<=-1){$a(v[b+8>>2])}if(!nc(h,962516)){continue}break}im(a,962556,g);q=m,r=is(g),v[q>>2]=r;im(a,962580,g);q=n,r=is(g),v[q>>2]=r}Qb(i);break c}if(!nc(h,962608)){break d}if(yh(a)){break c}i=rg(a);while(1){if(!qe(a,i)){break c}j=b+24|0;Xc(j,a);j=qd(b+40|0,j);Xe(h,j);Qb(j);if(t[b+35|0]<=-1){$a(v[b+24>>2])}if(!nc(h,962516)){continue}break}im(a,962556,g);q=m,r=is(g),v[q>>2]=r;im(a,962580,g);q=n,r=is(g),v[q>>2]=r;break c}Qb(i)}if(qe(a,j)){continue}break}break c}if(!nc(h,962516)){break c}im(a,962556,g);q=m,r=is(g),v[q>>2]=r;im(a,962580,g);q=n,r=is(g),v[q>>2]=r}Qb(g);Qb(h)}v[a>>2]=869240;a=v[a+4>>2];if(a){Qa[v[v[a>>2]+4>>2]](a)}Ma=b+96|0}p=+v[k+12>>2]*25.4;o=+v[k+8>>2]*25.4}else{o=0}A[c>>3]=p/96;A[d>>3]=o/96;v[e>>2]=1717986918;v[e+4>>2]=1077503590;v[f>>2]=1717986918;v[f+4>>2]=1077503590;Ma=k+16|0}function MK(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=v[a>>2];b=c|65535;v[a>>2]=(b>>>0>1]>>>0?b:b-32768|0)<>2]=v[a>>2]<>2];g:{if((b|0)!=20480){c=v[a+16>>2];break g}c=v[a+12>>2];b=v[c+4>>2];h:{if((b|0)!=v[c+8>>2]){v[b>>2]=v[a+16>>2];v[c+4>>2]=b+4;break h}e=v[c>>2];g=b-e|0;f=g>>2;b=f+1|0;if(b>>>0>=1073741824){break f}d=g>>1;d=f>>>0<536870911?b>>>0>d>>>0?b:d:1073741823;if(d){if(d>>>0>=1073741824){break e}b=ab(d<<2)}else{b=0}f=b+(f<<2)|0;v[f>>2]=v[a+16>>2];if((g|0)>=1){cb(b,e,g)}v[c+8>>2]=b+(d<<2);v[c+4>>2]=f+4;v[c>>2]=b;if(!e){break h}$a(e)}c=ab(20480);v[a+16>>2]=c;b=0}v[a+20>>2]=b+1;t[b+c|0]=w[a+7|0];if(w[a+7|0]!=255){t[a+7|0]=255;b=v[a+20>>2];i:{if((b|0)!=20480){c=v[a+16>>2];e=255;break i}c=v[a+12>>2];b=v[c+4>>2];j:{if((b|0)!=v[c+8>>2]){v[b>>2]=v[a+16>>2];v[c+4>>2]=b+4;break j}e=v[c>>2];g=b-e|0;f=g>>2;b=f+1|0;if(b>>>0>=1073741824){break d}d=g>>1;d=f>>>0<536870911?b>>>0>d>>>0?b:d:1073741823;if(d){if(d>>>0>=1073741824){break c}b=ab(d<<2)}else{b=0}f=b+(f<<2)|0;v[f>>2]=v[a+16>>2];if((g|0)>=1){cb(b,e,g)}v[c+8>>2]=b+(d<<2);v[c+4>>2]=f+4;v[c>>2]=b;if(!e){break j}$a(e)}c=ab(20480);v[a+16>>2]=c;b=0;e=w[a+7|0]}v[a+20>>2]=b+1;t[b+c|0]=e}c=172;t[a+7|0]=172;b=v[a+20>>2];k:{if((b|0)!=20480){e=v[a+16>>2];break k}c=v[a+12>>2];b=v[c+4>>2];l:{if((b|0)!=v[c+8>>2]){v[b>>2]=v[a+16>>2];v[c+4>>2]=b+4;break l}e=v[c>>2];g=b-e|0;f=g>>2;b=f+1|0;if(b>>>0>=1073741824){break b}d=g>>1;d=f>>>0<536870911?b>>>0>d>>>0?b:d:1073741823;if(d){if(d>>>0>=1073741824){break a}b=ab(d<<2)}else{b=0}f=b+(f<<2)|0;v[f>>2]=v[a+16>>2];if((g|0)>=1){cb(b,e,g)}v[c+8>>2]=b+(d<<2);v[c+4>>2]=f+4;v[c>>2]=b;if(!e){break l}$a(e)}e=ab(20480);v[a+16>>2]=e;c=w[a+7|0];b=0}v[a+20>>2]=b+1;t[b+e|0]=c;return}Jc();L()}Zd(2065);L()}Jc();L()}Zd(2065);L()}Jc();L()}Zd(2065);L()}function Pva(a,b){a=a|0;b=b|0;var 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,w=0,z=0;d=v[a+400>>2];e=d;c=v[d+20>>2];j=v[d+16>>2];if((c|0)>(j|0)){m=d+24|0;t=v[a+284>>2]-1|0;p=v[a+308>>2]-1|0;i=v[d+12>>2];while(1){if(i>>>0<=p>>>0){while(1){e=0;n=0;c=v[a+288>>2];if((c|0)>=1){while(1){f=v[((n<<2)+a|0)+292>>2];if(v[f+60>>2]>=1){w=B(v[f+68>>2],i);z=v[(v[a+416>>2]+(v[f+4>>2]<<2)|0)+4>>2];k=v[(i>>>0

>>0?56:72)+f>>2];s=k+1|0;q=B(v[f+40>>2],j);o=0;while(1){a:{if(!(v[f+76>>2]<=(j+o|0)&y[d+8>>2]>=t>>>0)){Qa[z|0](a,f,v[(v[f+4>>2]<<2)+b>>2],v[((e<<2)+d|0)+24>>2],q,w,k);h=v[f+56>>2];if((k|0)>=(h|0)){break a}g=(e+k<<2)+d|0;Jd(v[g+24>>2],h-k<<7);h=v[f+56>>2];if((k|0)>=(h|0)){break a}l=g;c=k;if(h-c&1){u[v[l+24>>2]>>1]=x[v[g+20>>2]>>1];c=s}if((h|0)==(s|0)){break a}while(1){g=(c+e<<2)+d|0;u[v[g+24>>2]>>1]=x[v[g+20>>2]>>1];u[v[g+28>>2]>>1]=x[v[g+24>>2]>>1];c=c+2|0;if((h|0)!=(c|0)){continue}break}break a}c=(e<<2)+d|0;Jd(v[c+24>>2],v[f+56>>2]<<7);h=v[f+56>>2];if((h|0)<1){break a}l=h&3;g=v[c+20>>2];c=0;if(h-1>>>0>=3){r=h&-4;while(1){u[v[(c+e<<2)+m>>2]>>1]=x[g>>1];u[v[((c|1)+e<<2)+m>>2]>>1]=x[g>>1];u[v[((c|2)+e<<2)+m>>2]>>1]=x[g>>1];u[v[((c|3)+e<<2)+m>>2]>>1]=x[g>>1];c=c+4|0;r=r-4|0;if(r){continue}break}}if(!l){break a}while(1){u[v[((c+e<<2)+d|0)+24>>2]>>1]=x[g>>1];c=c+1|0;l=l-1|0;if(l){continue}break}}e=e+h|0;q=v[f+40>>2]+q|0;o=o+1|0;if((o|0)>2]){continue}break}c=v[a+288>>2]}n=n+1|0;if((n|0)<(c|0)){continue}break}}if(!(Qa[v[v[a+420>>2]+4>>2]](a,m)|0)){v[d+12>>2]=i;v[d+16>>2]=j;return 0}i=i+1|0;if(p>>>0>=i>>>0){continue}break}c=v[d+20>>2]}i=0;v[d+12>>2]=0;j=j+1|0;if((j|0)<(c|0)){continue}break}e=v[a+400>>2]}v[d+8>>2]=v[d+8>>2]+1;c=1;c=v[a+288>>2]<=1?v[v[a+292>>2]+(y[e+8>>2]>2]-1>>>0?12:76)>>2]:c;v[e+12>>2]=0;v[e+16>>2]=0;v[e+20>>2]=c;return 1}function G6(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;v[a+12>>2]=0;v[a+16>>2]=0;d=v[b+8>>2];a:{b:{c:{if(d&7){break c}d:{f=v[b+64>>2];if((f|0)>=0&(f|0)<=v[b+60>>2]){break d}f=v[b+28>>2];v[b+28>>2]=f-1;e:{if((f|0)>=1){v[b+60>>2]=v[b+60>>2]+1;f=v[b+24>>2];v[b+24>>2]=f+1;f=w[f|0];break e}f=Eb(b,1);if((f|0)==-1){break c}d=v[b+8>>2]}if(d&7){break c}g=v[b+64>>2];if((g|0)>=0&(g|0)<=v[b+60>>2]){break d}g=v[b+28>>2];v[b+28>>2]=g-1;f:{if((g|0)>=1){v[b+60>>2]=v[b+60>>2]+1;g=v[b+24>>2];v[b+24>>2]=g+1;g=w[g|0];break f}g=Eb(b,1);if((g|0)==-1){break c}d=v[b+8>>2]}if(d&7){break c}e=v[b+64>>2];if((e|0)>=0&(e|0)<=v[b+60>>2]){break d}e=v[b+28>>2];v[b+28>>2]=e-1;g:{if((e|0)>=1){v[b+60>>2]=v[b+60>>2]+1;e=v[b+24>>2];v[b+24>>2]=e+1;e=w[e|0];break g}e=Eb(b,1);if((e|0)==-1){break c}d=v[b+8>>2]}if(d&7){break c}h=v[b+64>>2];if((h|0)>=0&(h|0)<=v[b+60>>2]){break d}d=v[b+28>>2];v[b+28>>2]=d-1;h:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;d=w[d|0];break h}d=Eb(b,1);if((d|0)==-1){break c}}d=(f<<16|g<<8|e)<<8|d;v[a+12>>2]=d;f=gb(d<<2);v[a+16>>2]=f;if(!f){break b}if(v[a+12>>2]){d=v[b+8>>2];if(d&7){break c}g=0;while(1){e=v[b+64>>2];if((e|0)>=0&(e|0)<=v[b+60>>2]){break d}e=v[b+28>>2];v[b+28>>2]=e-1;i:{if((e|0)>=1){v[b+60>>2]=v[b+60>>2]+1;e=v[b+24>>2];v[b+24>>2]=e+1;e=w[e|0];break i}e=Eb(b,1);if((e|0)==-1){break c}d=v[b+8>>2]}if(d&7){break c}h=v[b+64>>2];if((h|0)>=0&(h|0)<=v[b+60>>2]){break d}d=v[b+28>>2];v[b+28>>2]=d-1;j:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;d=w[d|0];break j}d=Eb(b,1);if((d|0)==-1){break c}}v[f>>2]=e<<8|d;g=g+1|0;d=v[a+12>>2];if(g>>>0>>0){f=v[a+16>>2]+(g<<2)|0;d=v[b+8>>2];if(!(d&7)){continue}break c}break}d=(d<<1)+4|0}else{d=4}b=0;if((c|0)==(d|0)){break a}break c}v[b+8>>2]=d|4}f=v[a+16>>2]}b=-1;if(!f){break a}$a(f)}return b|0}function Rja(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;f=Ma+-64|0;Ma=f;if(w[b+89|0]){h=Mf();v[f+32>>2]=0;a:{b:{if(!v[b+100>>2]){break b}e=f+40|0;Sf(e,c);g=f+16|0;PE(g,h,e);jb(f+32|0,g);e=v[f+16>>2];v[f+16>>2]=0;c:{if(!e){break c}g=v[e+4>>2]-1|0;v[e+4>>2]=g;if(g){break c}g=v[e+4>>2];if(!g){v[e+4>>2]=-32767}if(!g){Qa[v[v[e>>2]+4>>2]](e)}}db(f+40|0);e=v[f+32>>2];if(!e){break b}g=Oc(f+40|0,280549);e=Qa[v[v[e>>2]+8>>2]](e,g)|0;db(g);if(!e){break b}b=v[f+32>>2];v[a>>2]=0;qb(a,b);break a}e=f+16|0;fF(e,b);g=f+40|0;i=e;e=v[c+8>>2];ic(g,i,v[(e?e+12|0:1117e3)>>2]);e=f+24|0;PE(e,h,g);jb(f+32|0,e);e=v[f+24>>2];v[f+24>>2]=0;d:{if(!e){break d}h=v[e+4>>2]-1|0;v[e+4>>2]=h;if(h){break d}h=v[e+4>>2];if(!h){v[e+4>>2]=-32767}if(!h){Qa[v[v[e>>2]+4>>2]](e)}}db(f+40|0);db(f+16|0);e:{e=v[f+32>>2];if(!e){break e}h=Oc(f+40|0,280549);e=Qa[v[v[e>>2]+8>>2]](e,h)|0;db(h);if(!e){break e}b=v[f+32>>2];v[a>>2]=0;qb(a,b);break a}v[f+40>>2]=0;f:{if(!d){v[f+8>>2]=0;d=f+8|0;qb(d,b);e=f+16|0;ZE(e,c,d,v[b+84>>2],w[b+88|0]);jb(f+40|0,e);c=v[f+16>>2];v[f+16>>2]=0;g:{if(!c){break g}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break g}d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}}c=v[f+8>>2];v[f+8>>2]=0;h:{if(!c){break h}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break h}d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}}dF(b,v[f+40>>2]);b=v[f+40>>2];if(b){break f}}v[a>>2]=0;break a}v[b+4>>2]=v[b+4>>2]+1;b=a;a=v[f+40>>2];v[b>>2]=a;v[f+40>>2]=0;if(!a){break a}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break a}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}a=v[f+32>>2];v[f+32>>2]=0;i:{if(!a){break i}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break i}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=f- -64|0;return}lb(mb(f+40|0,231515,240864,286,226712));L()}function xta(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;g=Ma-128|0;Ma=g;d=v[a+28>>2];a:{if(v[d+664>>2]){d=-1;a=v[a+108>>2];b:{if(!a){break b}a=v[a+4>>2];if(v[a+8>>2]==13){break b}a=v[a+16>>2];d=Qa[v[v[a>>2]+52>>2]](a)|0}fb(0,d,245116,0);break a}c:{d=v[d+120>>2];if((Qa[v[v[d>>2]+12>>2]](d)|0)==10){d:{if(c){e=c-1|0;if(v[(e<<4)+b>>2]==4){break d}}d=-1;a=v[a+108>>2];e:{if(!a){break e}a=v[a+4>>2];if(v[a+8>>2]==13){break e}a=v[a+16>>2];d=Qa[v[v[a>>2]+52>>2]](a)|0}fb(1,d,287755,0);break a}if((c|0)>=2){d=v[v[v[a+28>>2]+120>>2]+12>>2];if(!d){break c}if((Qa[v[v[d>>2]+28>>2]](d)|0)!=(e|0)){break c}c=c-2|0;f=c>>>0<31?c:31;d=0;while(1){c=(d<<4)+b|0;i=v[c>>2];if(i-1>>>0<=1){j=(d<<2)+g|0;h=((i|0)==1?+v[c+8>>2]:A[c+8>>3])*65536;f:{if(D(h)<2147483648){c=~~h;break f}c=-2147483648}v[j>>2]=c}c=(d|0)!=(f|0);d=d+1|0;if(c){continue}break}cb(v[a+28>>2]+252|0,g,128);c=v[a+8>>2];Qa[v[v[c>>2]+120>>2]](c,v[a+28>>2])}b=HV(v[a+20>>2],v[((e<<4)+b|0)+8>>2]);if(!b){break a}c=v[a+28>>2];a=v[c+384>>2];if(a){Qa[v[v[a>>2]+4>>2]](a)}v[c+384>>2]=b;break a}d=v[v[a+28>>2]+120>>2];if((Qa[v[v[d>>2]+28>>2]](d)|0)!=(c|0)){d=-1;a=v[a+108>>2];g:{if(!a){break g}a=v[a+4>>2];if(v[a+8>>2]==13){break g}a=v[a+16>>2];d=Qa[v[v[a>>2]+52>>2]](a)|0}fb(1,d,287708,0);break a}d=0;f=v[a+28>>2];e=v[f+384>>2];if(e){Qa[v[v[e>>2]+4>>2]](e)}v[f+384>>2]=0;if((c|0)>=1){c=c-1|0;e=c>>>0<31?c:31;while(1){c=(d<<4)+b|0;f=v[c>>2];if(f-1>>>0<=1){i=(d<<2)+g|0;h=((f|0)==1?+v[c+8>>2]:A[c+8>>3])*65536;h:{if(D(h)<2147483648){c=~~h;break h}c=-2147483648}v[i>>2]=c}c=(d|0)!=(e|0);d=d+1|0;if(c){continue}break}}cb(v[a+28>>2]+252|0,g,128);b=v[a+8>>2];Qa[v[v[b>>2]+120>>2]](b,v[a+28>>2]);break a}d=-1;a=v[a+108>>2];i:{if(!a){break i}a=v[a+4>>2];if(v[a+8>>2]==13){break i}a=v[a+16>>2];d=Qa[v[v[a>>2]+52>>2]](a)|0}fb(1,d,287708,0)}Ma=g+128|0}function Jsa(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;g=Ma-128|0;Ma=g;d=v[a+28>>2];a:{if(v[d+664>>2]){d=-1;a=v[a+108>>2];b:{if(!a){break b}a=v[a+4>>2];if(v[a+8>>2]==13){break b}a=v[a+16>>2];d=Qa[v[v[a>>2]+52>>2]](a)|0}fb(0,d,245116,0);break a}c:{d=v[d+116>>2];if((Qa[v[v[d>>2]+12>>2]](d)|0)==10){d:{if(c){e=c-1|0;if(v[(e<<4)+b>>2]==4){break d}}d=-1;a=v[a+108>>2];e:{if(!a){break e}a=v[a+4>>2];if(v[a+8>>2]==13){break e}a=v[a+16>>2];d=Qa[v[v[a>>2]+52>>2]](a)|0}fb(1,d,287627,0);break a}if((c|0)>=2){d=v[v[v[a+28>>2]+116>>2]+12>>2];if(!d){break c}if((Qa[v[v[d>>2]+28>>2]](d)|0)!=(e|0)){break c}c=c-2|0;f=c>>>0<31?c:31;d=0;while(1){c=(d<<4)+b|0;i=v[c>>2];if(i-1>>>0<=1){j=(d<<2)+g|0;h=((i|0)==1?+v[c+8>>2]:A[c+8>>3])*65536;f:{if(D(h)<2147483648){c=~~h;break f}c=-2147483648}v[j>>2]=c}c=(d|0)!=(f|0);d=d+1|0;if(c){continue}break}cb(v[a+28>>2]+124|0,g,128);c=v[a+8>>2];Qa[v[v[c>>2]+116>>2]](c,v[a+28>>2])}b=HV(v[a+20>>2],v[((e<<4)+b|0)+8>>2]);if(!b){break a}c=v[a+28>>2];a=v[c+380>>2];if(a){Qa[v[v[a>>2]+4>>2]](a)}v[c+380>>2]=b;break a}d=v[v[a+28>>2]+116>>2];if((Qa[v[v[d>>2]+28>>2]](d)|0)!=(c|0)){d=-1;a=v[a+108>>2];g:{if(!a){break g}a=v[a+4>>2];if(v[a+8>>2]==13){break g}a=v[a+16>>2];d=Qa[v[v[a>>2]+52>>2]](a)|0}fb(1,d,287580,0);break a}d=0;f=v[a+28>>2];e=v[f+380>>2];if(e){Qa[v[v[e>>2]+4>>2]](e)}v[f+380>>2]=0;if((c|0)>=1){c=c-1|0;e=c>>>0<31?c:31;while(1){c=(d<<4)+b|0;f=v[c>>2];if(f-1>>>0<=1){i=(d<<2)+g|0;h=((f|0)==1?+v[c+8>>2]:A[c+8>>3])*65536;h:{if(D(h)<2147483648){c=~~h;break h}c=-2147483648}v[i>>2]=c}c=(d|0)!=(e|0);d=d+1|0;if(c){continue}break}}cb(v[a+28>>2]+124|0,g,128);b=v[a+8>>2];Qa[v[v[b>>2]+116>>2]](b,v[a+28>>2]);break a}d=-1;a=v[a+108>>2];i:{if(!a){break i}a=v[a+4>>2];if(v[a+8>>2]==13){break i}a=v[a+16>>2];d=Qa[v[v[a>>2]+52>>2]](a)|0}fb(1,d,287580,0)}Ma=g+128|0}function zfa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;k=Ma-16|0;Ma=k;a:{if(!v[b+12>>2]){v[a>>2]=0;qb(a,0);break a}m=v[d+12>>2]-v[d+4>>2]|0;h=v[d+8>>2];n=v[d>>2];l=h-n|0;f=BE(ab(24),m,l,0);v[k+8>>2]=0;qb(k+8|0,f);f=0;o=v[b+12>>2];i=c;p=d;j=v[k+8>>2];if(x[j+8>>1]){f=v[j+16>>2]}e=B(x[j+12>>1],3);Zx(o,i,p,f,e,3,0);i=v[b+20>>2];b:{if(!i){break b}j=v[b+16>>2];if(!j){g=i;break b}g=i;if(v[b+36>>2]<0){break b}Zx(j,c,d,f+1|0,e,3,v[b+40>>2]);Zx(v[b+20>>2],c,d,f+2|0,e,3,v[b+40>>2]);g=v[b+20>>2]}i=v[k+8>>2];c:{if(!(!(!g|!v[b+16>>2])&v[b+36>>2]>-1)){if((m|0)<1|(l|0)<1){break c}d=l&-4;g=l&3;c=0;l=h+(n^-1)>>>0<3;while(1){b=0;d:{if(x[i+8>>1]<=c>>>0){break d}f=v[i+16>>2];b=0;if(!f){break d}b=f+B(B(x[i+12>>1],c),3)|0}f=d;if(!l){while(1){e=127-w[b|0]|0;t[b+2|0]=e;t[b+1|0]=e;t[b|0]=e;e=127-w[b+3|0]|0;t[b+3|0]=e;t[b+5|0]=e;t[b+4|0]=e;e=127-w[b+6|0]|0;t[b+6|0]=e;t[b+8|0]=e;t[b+7|0]=e;e=127-w[b+9|0]|0;t[b+9|0]=e;t[b+11|0]=e;t[b+10|0]=e;b=b+12|0;f=f-4|0;if(f){continue}break}}f=g;if(f){while(1){e=127-w[b|0]|0;t[b+2|0]=e;t[b+1|0]=e;t[b|0]=e;b=b+3|0;f=f-1|0;if(f){continue}break}}c=c+1|0;if((m|0)!=(c|0)){continue}break}break c}f=0;c=0;c=x[i+8>>1]?v[i+16>>2]:c;if((m|0)<1|(l|0)<1){break c}e=B(x[i+12>>1],3);while(1){b=c;d=0;while(1){g=t[b+2|0];j=(g>>1)+g|0;g=t[b|0]+128|0;h=j+g|0;h=(h|0)<255?h:255;t[b+2|0]=(h|0)>0?h:0;h=t[b+1|0];g=g-(h>>2)|0;h=g+(h<<1)|0;h=(h|0)<255?h:255;t[b|0]=(h|0)>0?h:0;g=g-(j>>1)|0;g=(g|0)<255?g:255;t[b+1|0]=(g|0)>0?g:0;b=b+3|0;d=d+1|0;if((l|0)!=(d|0)){continue}break}c=c+e|0;f=f+1|0;if((m|0)!=(f|0)){continue}break}}if(!i){v[a>>2]=0;break a}v[i+4>>2]=v[i+4>>2]+1;b=a;a=v[k+8>>2];v[b>>2]=a;v[k+8>>2]=0;if(!a){break a}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break a}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=k+16|0}function ZNa(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;j=c+d|0;if(v[b>>2]?y[b+12>>2]>>0|j>>>0>y[b+4>>2]:1){d=v[a>>2];v[d+20>>2]=23;Qa[v[d>>2]](a)}d=v[b+24>>2];a:{if(d>>>0<=c>>>0&d+v[b+16>>2]>>>0>=j>>>0){break a}if(!v[b+40>>2]){d=v[a>>2];v[d+20>>2]=71;Qa[v[d>>2]](a)}if(v[b+36>>2]){d=v[b+16>>2];b:{if((d|0)<1){break b}g=v[b+20>>2];g=(d|0)>(g|0)?g:d;d=v[b+24>>2];f=v[b+28>>2]-d|0;g=(f|0)>(g|0)?g:f;f=v[b+4>>2]-d|0;f=(f|0)>(g|0)?g:f;if((f|0)<1){break b}l=b+48|0;k=v[b+8>>2]<<7;g=B(k,d);d=0;while(1){h=B(f,k);Qa[v[b+52>>2]](a,l,v[v[b>>2]+(d<<2)>>2],g,h);f=v[b+20>>2];d=f+d|0;i=v[b+16>>2];if((d|0)>=(i|0)){break b}g=g+h|0;h=i-d|0;f=(f|0)<(h|0)?f:h;h=v[b+24>>2]+d|0;i=v[b+28>>2]-h|0;f=(f|0)<(i|0)?f:i;h=v[b+4>>2]-h|0;f=(f|0)<(h|0)?f:h;if((f|0)>0){continue}break}}v[b+36>>2]=0}d=v[b+16>>2];g=j-d|0;g=y[b+24>>2]>>0?c:(g|0)>0?g:0;v[b+24>>2]=g;if((d|0)<1){break a}f=v[b+20>>2];d=(d|0)>(f|0)?f:d;f=v[b+28>>2]-g|0;d=(d|0)<(f|0)?d:f;f=v[b+4>>2]-g|0;f=(d|0)<(f|0)?d:f;if((f|0)<1){break a}l=b+48|0;k=v[b+8>>2]<<7;g=B(k,g);d=0;while(1){h=B(f,k);Qa[v[b+48>>2]](a,l,v[v[b>>2]+(d<<2)>>2],g,h);f=v[b+20>>2];d=f+d|0;i=v[b+16>>2];if((d|0)>=(i|0)){break a}g=g+h|0;h=i-d|0;f=(f|0)<(h|0)?f:h;h=v[b+24>>2]+d|0;i=v[b+28>>2]-h|0;f=(f|0)<(i|0)?f:i;h=v[b+4>>2]-h|0;f=(f|0)<(h|0)?f:h;if((f|0)>0){continue}break}}d=v[b+28>>2];c:{d:{e:{if(j>>>0<=d>>>0){break e}f:{g:{h:{if(c>>>0>d>>>0){d=c;if(!e){break h}d=v[a>>2];v[d+20>>2]=23;Qa[v[d>>2]](a);d=c;break g}if(e){break g}}if(v[b+32>>2]){break f}d=v[a>>2];v[d+20>>2]=23;Qa[v[d>>2]](a);break c}v[b+28>>2]=j;if(!v[b+32>>2]){break d}}a=v[b+24>>2];d=d-a|0;a=j-a|0;if(d>>>0>=a>>>0){break e}g=v[b+8>>2]<<7;while(1){Jd(v[v[b>>2]+(d<<2)>>2],g);d=d+1|0;if((a|0)!=(d|0)){continue}break}}if(!e){break c}}v[b+36>>2]=1}return v[b>>2]+(c-v[b+24>>2]<<2)|0}function N0(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=Ma-32|0;Ma=h;f=v[a+32>>2];if(f){e=f-4|0;c=v[e>>2];if(c){c=f+B(c,20)|0;while(1){d=c-20|0;if(t[c-9|0]<=-1){$a(v[d>>2])}c=d;if((f|0)!=(c|0)){continue}break}}$a(e);v[a+32>>2]=0}f=h+24|0;v[f+4>>2]=b;v[f>>2]=b;b=v[f+4>>2];d=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);v[f+4>>2]=b+4;v[a+36>>2]=d;a:{if((d|0)<1){break a}e=x3a(d,0,20,0);g=e+4|0;b=ab(Pa?-1:e>>>0>g>>>0?-1:g);v[b>>2]=d;c=b+4|0;b=c;e=B(d,20);i=e-20|0;g=((i>>>0)/20|0)+1&7;if(g){b=c;while(1){v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;b=b+20|0;g=g-1|0;if(g){continue}break}}if(i>>>0>=140){e=c+e|0;while(1){v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+40>>2]=0;v[b+44>>2]=0;v[b+60>>2]=0;v[b+64>>2]=0;v[b+80>>2]=0;v[b+84>>2]=0;v[b+100>>2]=0;v[b+104>>2]=0;v[b+120>>2]=0;v[b+124>>2]=0;v[b+140>>2]=0;v[b+144>>2]=0;v[b+8>>2]=0;v[b+28>>2]=0;v[b+48>>2]=0;v[b+68>>2]=0;v[b+88>>2]=0;v[b+108>>2]=0;v[b+128>>2]=0;v[b+148>>2]=0;b=b+160|0;if((e|0)!=(b|0)){continue}break}}v[a+32>>2]=c;g=0;if((d|0)<=0){break a}while(1){k=h+8|0;b=Ma-16|0;Ma=b;i=v[f+4>>2];d=i;while(1){c=d;d=c+1|0;if(w[c|0]){continue}break}b:{e=c-i|0;if(e>>>0<4294967280){c:{d:{if(e>>>0>=11){j=e+16&-16;c=ab(j);v[b+8>>2]=j|-2147483648;v[b>>2]=c;v[b+4>>2]=e;break d}t[b+11|0]=e;c=b;if(!e){break c}}cb(c,i,e)}t[c+e|0]=0;v[f+4>>2]=d;c=w[b+11|0];d=c<<24>>24<0;Zg(k,d?v[b>>2]:b,d?v[b+4>>2]:c);if(t[b+11|0]<=-1){$a(v[b>>2])}Ma=b+16|0;break b}sc();L()}c=B(g,20);b=c+v[a+32>>2]|0;if(t[b+11|0]<=-1){$a(v[b>>2])}d=v[h+12>>2];v[b>>2]=v[h+8>>2];v[b+4>>2]=d;v[b+8>>2]=v[h+16>>2];b=v[f+4>>2];d=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);v[f+4>>2]=b+4;v[(c+v[a+32>>2]|0)+12>>2]=d;b=v[f+4>>2];d=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);v[f+4>>2]=b+4;v[(c+v[a+32>>2]|0)+16>>2]=d;g=g+1|0;if((g|0)>2]){continue}break}}Ma=h+32|0}function AXa(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;if(e){p=e-1|0;q=e-2|0;m=(e|0)==1;while(1){a=f;u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];f=a+6|0;g=g+6|0;a:{if(!m&l>>>0>=p>>>0){break a}j=l?(l|0)==(q|0)?d:b:c;n=!l&m;if(n){if(j>>>0<2){break a}h=j-1|0;i=h&3;if(j-2>>>0>=3){h=h&-4;while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];u[g+6>>1]=x[a>>1];u[g+8>>1]=x[a+2>>1];u[g+10>>1]=x[a+4>>1];u[g+12>>1]=x[a>>1];u[g+14>>1]=x[a+2>>1];u[g+16>>1]=x[a+4>>1];u[g+18>>1]=x[a>>1];u[g+20>>1]=x[a+2>>1];u[g+22>>1]=x[a+4>>1];g=g+24|0;h=h-4|0;if(h){continue}break}}if(!i){break a}while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];g=g+6|0;i=i-1|0;if(i){continue}break}break a}i=j+1>>>1|0;b:{if(j>>>0<3){break b}k=i>>>0>2?i:2;o=k-1|0;h=o&3;if(k-2>>>0>=3){k=o&-4;while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];u[g+6>>1]=x[a>>1];u[g+8>>1]=x[a+2>>1];u[g+10>>1]=x[a+4>>1];u[g+12>>1]=x[a>>1];u[g+14>>1]=x[a+2>>1];u[g+16>>1]=x[a+4>>1];u[g+18>>1]=x[a>>1];u[g+20>>1]=x[a+2>>1];u[g+22>>1]=x[a+4>>1];g=g+24|0;k=k-4|0;if(k){continue}break}}if(!h){break b}while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];g=g+6|0;h=h-1|0;if(h){continue}break}}if(i>>>0>=j>>>0){break a}a=n?0:f;k=(i^-1)+j|0;h=j-i&3;if(h){while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];i=i+1|0;g=g+6|0;h=h-1|0;if(h){continue}break}}if(k>>>0<3){break a}while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];u[g+6>>1]=x[a>>1];u[g+8>>1]=x[a+2>>1];u[g+10>>1]=x[a+4>>1];u[g+12>>1]=x[a>>1];u[g+14>>1]=x[a+2>>1];u[g+16>>1]=x[a+4>>1];u[g+18>>1]=x[a>>1];u[g+20>>1]=x[a+2>>1];u[g+22>>1]=x[a+4>>1];g=g+24|0;i=i+4|0;if((j|0)!=(i|0)){continue}break}}l=l+1|0;if((l|0)!=(e|0)){continue}break}}return 0}function RV(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=Ma-832|0;Ma=e;h=ab(12);f=h;v[f+8>>2]=-1;v[f+4>>2]=d;v[f>>2]=c;$d(f,e+576|0,e+60|0);if($d(f,e+320|0,e+56|0)){j=e+320|1;d=e+576|1;while(1){a:{if(v[e+320>>2]==1667593077&v[e+324>>2]==7364973){if(w[e+576|0]==47){i=ab(8);g=Rb(i,d);b:{if(b){c=PV(b,v[a>>2],g);break b}c=bV(v[291134],v[a>>2],g)}Bb(g);$a(i);if(c){v[a+8>>2]=v[c+8>>2];g=v[c+16>>2];if(g){UG(a,v[a+16>>2],g)}xo(c)}}$d(f,e+576|0,e+60|0);break a}if(!Jb(e+576|0,284015,7)){k=a,l=td(e+320|0),v[k+12>>2]=l;$d(f,e+576|0,e+60|0);break a}if(!Jb(e+320|0,240183,13)){c:{if(!$d(f,e+576|0,e+60|0)){break c}while(1){if(!Jb(e+576|0,240196,11)){break c}d:{if($d(f,e+320|0,e+56|0)){if(Jb(e+320|0,240196,11)){break d}}fb(1,-1,242563,0);break c}e:{f:{if(w[e+576|0]!=60){break f}c=v[e+60>>2];g=c+e|0;if(w[g+575|0]!=62|(c|0)<4|c&1){break f}t[g+575|0]=0;v[e>>2]=e+40;if((df(d,221174,e)|0)!=1){break f}c=(v[e+60>>2]-2|0)/2|0;v[e+60>>2]=c;g=v[e+40>>2];QV(a,g,g,c,td(e+320|0));break e}fb(1,-1,242563,0)}if($d(f,e+576|0,e+60|0)){continue}break}}$d(f,e+576|0,e+60|0);break a}if(!Jb(e+320|0,282788,14)){g:{if(!$d(f,e+576|0,e+60|0)){break g}while(1){if(!Jb(e+576|0,282802,12)){break g}h:{i:{if(!$d(f,e+320|0,e+56|0)){break i}if(!Jb(e+320|0,282802,12)){break i}if(!$d(f,e- -64|0,e+52|0)){break i}if(Jb(e- -64|0,282802,12)){break h}}fb(1,-1,242602,0);break g}j:{if(w[e+576|0]!=60|w[e+320|0]!=60){break j}c=v[e+60>>2];if(c&1|(c|0)<4|(c|0)!=v[e+56>>2]){break j}c=c-1|0;t[c+(e+576|0)|0]=0;t[c+(e+320|0)|0]=0;v[e+32>>2]=e+48;df(d,221174,e+32|0);v[e+16>>2]=e+44;df(j,221174,e+16|0);c=(v[e+60>>2]-2|0)/2|0;v[e+60>>2]=c;QV(a,v[e+48>>2],v[e+44>>2],c,td(e- -64|0))}if($d(f,e+576|0,e+60|0)){continue}break}}$d(f,e+576|0,e+60|0);break a}od(e+576|0,e+320|0)}if($d(f,e+320|0,e+56|0)){continue}break}}$a(h);Ma=e+832|0}function bT(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;e=Ma-16|0;Ma=e;v[a>>2]=970372;vk(a);c=a+20|0;a:{if(!bg(c)|v[a+4>>2]<2){break a}b=v[291394];if(!b){b=ab(32);v[b>>2]=0;v[b+4>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;jd(b,970540);v[291394]=b}v[e+8>>2]=0;d=e+8|0;qb(d,a);hT(b,c,d);b=v[e+8>>2];v[e+8>>2]=0;if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b:{c:{b=v[a+16>>2];if(b){v[b+4>>2]=v[b+4>>2]+1;b=v[a+16>>2];if(b){break c}}ds(a,3623,a);b=0;g=1;break b}ds(b,3623,a);ds(a,3623,a);d=v[a+116>>2];if(!d){break b}g=!b;while(1){c=v[d+8>>2];v[c+4>>2]=v[c+4>>2]+1;c=v[d+8>>2];ds(b,v[c+20>>2],v[c+24>>2]);f=v[c+4>>2]-1|0;v[c+4>>2]=f;if(!f){f=v[c+4>>2];if(!f){v[c+4>>2]=-32767}if(!f){Qa[v[v[c>>2]+4>>2]](c)}}d=v[d>>2];if(d){continue}break}}c=v[a+72>>2];if(c){ac(c+4|0);$a(c)}c=v[a+12>>2];if(c){$a(c)}d:{if(g){break d}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break d}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}ac(a+108|0);ac(a+88|0);b=v[a+64>>2];v[a+64>>2]=0;e:{if(!b){break e}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break e}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[a+56>>2];v[a+56>>2]=0;f:{if(!b){break f}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break f}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}v[a+20>>2]=969400;v[a+44>>2]=969432;b=v[a+48>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Qa[v[v[b>>2]+4>>2]](b)}v[a+48>>2]=0}v[a+36>>2]=969432;b=v[a+40>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Qa[v[v[b>>2]+4>>2]](b)}v[a+40>>2]=0}db(a+28|0);b=v[a+16>>2];v[a+16>>2]=0;g:{if(!b){break g}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break g}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}bc(a);Ma=e+16|0;return a|0}function dQ(a,b){var c=0,d=0,e=0,f=0;f=Ma-16|0;Ma=f;zg(a);v[a>>2]=987940;d=Ma-80|0;Ma=d;c=Vx(d+32|0,b);v[d+32>>2]=987924;if(!w[d+64|0]){cg(c,1)}v[d+56>>2]=969432;v[d+32>>2]=969400;c=v[d+60>>2];if(c){e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(!e){Qa[v[v[c>>2]+4>>2]](c)}v[d+60>>2]=0}v[d+48>>2]=969432;c=v[d+52>>2];if(c){e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(!e){Qa[v[v[c>>2]+4>>2]](c)}v[d+52>>2]=0}db(d+40|0);a:{b:{b=v[b>>2];b=v[(b?b+12|0:1117e3)>>2];if(b){c=w[b|0];if((c|0)==239){if(w[b+1|0]!=187){break b}b=(w[b+2|0]==191?3:0)+b|0;c=w[b|0]}if(c){break b}}v[f>>2]=0;v[f+4>>2]=v[279250];break a}c=d+24|0;b=Oc(c,b);v[d+32>>2]=0;v[d+36>>2]=v[279250];db(b);bE(c,d+32|0);b=Oc(d+16|0,987905);c=v[d+24>>2];c=v[(c?c+12|0:1117e3)>>2];c:{if(w[c|0]==47){if(w[c+1|0]==47){_m(b,c+2|0);break c}Rc(d+8|0,987856,d+24|0);c=v[d+8>>2];d:{if(c){Qa[v[v[c>>2]+28>>2]](d+72|0,c,1);break d}v[d+72>>2]=0}jb(b,d+72|0);c=v[d+72>>2];v[d+72>>2]=0;e:{if(!c){break e}e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(e){break e}e=v[c+4>>2];if(!e){v[c+4>>2]=-32767}if(!e){Qa[v[v[c>>2]+4>>2]](c)}}c=v[b>>2];v[b+4>>2]=v[(c?c+12|0:1117e3)>>2];db(d+8|0);break c}c=d+8|0;Rc(c,987972,d+24|0);Cd(b,c);db(c)}v[f>>2]=0;v[f+4>>2]=v[279250];c=v[b>>2];f:{if(c){Qa[v[v[c>>2]+28>>2]](d+8|0,c,1);break f}v[d+8>>2]=0}jb(f,d+8|0);c=v[d+8>>2];v[d+8>>2]=0;g:{if(!c){break g}e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(e){break g}e=v[c+4>>2];if(!e){v[c+4>>2]=-32767}if(!e){Qa[v[v[c>>2]+4>>2]](c)}}c=v[f>>2];v[f+4>>2]=v[(c?c+12|0:1117e3)>>2];db(b);db(d+24|0);db(d+32|0)}Ma=d+80|0;c=a+8|0;b=v[f>>2];h:{if(b){Qa[v[v[b>>2]+28>>2]](f+8|0,b,1);break h}v[f+8>>2]=0}jb(c,f+8|0);b=v[f+8>>2];v[f+8>>2]=0;i:{if(!b){break i}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break i}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=a;a=v[a+8>>2];v[b+12>>2]=v[(a?a+12|0:1117e3)>>2];db(f);Ma=f+16|0}function XNa(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;j=c+d|0;if(v[b>>2]?y[b+12>>2]>>0|j>>>0>y[b+4>>2]:1){d=v[a>>2];v[d+20>>2]=23;Qa[v[d>>2]](a)}d=v[b+24>>2];a:{if(d>>>0<=c>>>0&d+v[b+16>>2]>>>0>=j>>>0){break a}if(!v[b+40>>2]){d=v[a>>2];v[d+20>>2]=71;Qa[v[d>>2]](a)}if(v[b+36>>2]){d=v[b+16>>2];b:{if((d|0)<1){break b}g=v[b+20>>2];g=(d|0)>(g|0)?g:d;d=v[b+24>>2];f=v[b+28>>2]-d|0;g=(f|0)>(g|0)?g:f;f=v[b+4>>2]-d|0;f=(f|0)>(g|0)?g:f;if((f|0)<1){break b}l=b+48|0;k=v[b+8>>2];g=B(k,d);d=0;while(1){h=B(f,k);Qa[v[b+52>>2]](a,l,v[v[b>>2]+(d<<2)>>2],g,h);f=v[b+20>>2];d=f+d|0;i=v[b+16>>2];if((d|0)>=(i|0)){break b}g=g+h|0;h=i-d|0;f=(f|0)<(h|0)?f:h;h=v[b+24>>2]+d|0;i=v[b+28>>2]-h|0;f=(f|0)<(i|0)?f:i;h=v[b+4>>2]-h|0;f=(f|0)<(h|0)?f:h;if((f|0)>0){continue}break}}v[b+36>>2]=0}d=v[b+16>>2];g=j-d|0;g=y[b+24>>2]>>0?c:(g|0)>0?g:0;v[b+24>>2]=g;if((d|0)<1){break a}f=v[b+20>>2];d=(d|0)>(f|0)?f:d;f=v[b+28>>2]-g|0;d=(d|0)<(f|0)?d:f;f=v[b+4>>2]-g|0;f=(d|0)<(f|0)?d:f;if((f|0)<1){break a}l=b+48|0;k=v[b+8>>2];g=B(k,g);d=0;while(1){h=B(f,k);Qa[v[b+48>>2]](a,l,v[v[b>>2]+(d<<2)>>2],g,h);f=v[b+20>>2];d=f+d|0;i=v[b+16>>2];if((d|0)>=(i|0)){break a}g=g+h|0;h=i-d|0;f=(f|0)<(h|0)?f:h;h=v[b+24>>2]+d|0;i=v[b+28>>2]-h|0;f=(f|0)<(i|0)?f:i;h=v[b+4>>2]-h|0;f=(f|0)<(h|0)?f:h;if((f|0)>0){continue}break}}d=v[b+28>>2];c:{d:{e:{if(j>>>0<=d>>>0){break e}f:{g:{h:{if(c>>>0>d>>>0){d=c;if(!e){break h}d=v[a>>2];v[d+20>>2]=23;Qa[v[d>>2]](a);d=c;break g}if(e){break g}}if(v[b+32>>2]){break f}d=v[a>>2];v[d+20>>2]=23;Qa[v[d>>2]](a);break c}v[b+28>>2]=j;if(!v[b+32>>2]){break d}}a=v[b+24>>2];d=d-a|0;a=j-a|0;if(d>>>0>=a>>>0){break e}g=v[b+8>>2];while(1){Jd(v[v[b>>2]+(d<<2)>>2],g);d=d+1|0;if((a|0)!=(d|0)){continue}break}}if(!e){break c}}v[b+36>>2]=1}return v[b>>2]+(c-v[b+24>>2]<<2)|0}function yWa(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,n=0,o=0,p=0,q=0,r=0,s=0;a:{if(w[a+286|0]|!w[a+285|0]|(w[a+287|0]|w[a+288|0])){break a}if(w[a+289|0]){break a}if(!((c|0)==16|c-4>>>0<4)){ob(a,1028,0,0);return 1028}g=w[d+2|0]|w[d+3|0]<<8;f=g<<8|g>>>8;g=w[d|0]|w[d+1|0]<<8;i=g<<8|g>>>8;b:{c:{d:{e:{if(c>>>0>=5){o=w[d+4|0];if((c|0)!=5){break e}}break d}p=w[d+5|0];if(c>>>0<7){k=1;j=1;break d}h=w[d+6|0];if((c|0)==7){k=1;j=1;g=1;break c}g=w[d+12|0]|w[d+13|0]<<8|(w[d+14|0]<<16|w[d+15|0]<<24);q=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);g=w[d+8|0]|w[d+9|0]<<8|(w[d+10|0]<<16|w[d+11|0]<<24);r=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);l=1;k=1;j=1;g=1;m=w[d+7|0];break b}g=0}m=0}i=i&65535;s=f&65535;f:{if(w[a+114|0]){f=Qa[v[a+152>>2]](48)|0;if(!f){ob(a,1,0,0);h=1;break f}v[f+4>>2]=719;v[f>>2]=720;n=v[a+700>>2];g:{if(n){v[n+8>>2]=f;break g}v[a+696>>2]=f}v[f+8>>2]=0;v[f+12>>2]=n;v[a+700>>2]=f;v[f+16>>2]=v[a+436>>2];v[f+20>>2]=v[a+440>>2];v[f+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=f}v[f+44>>2]=q;v[f+40>>2]=r;t[f+37|0]=m;t[f+36|0]=l;t[f+35|0]=h;t[f+34|0]=p;t[f+33|0]=j;t[f+32|0]=o;u[f+28>>1]=s;u[f+30>>1]=i}h=f4(a,i,s,o,j,p,h,l,m,r,q)}h:{if(h){break h}h=0;if(!w[a+112|0]){break h}h=Qa[v[b+4>>2]](a,b,e)|0;if(h){break h}a=v[e>>2];b=w[d|0]|w[d+1|0]<<8;u[a+32>>1]=b<<8|b>>>8;b=w[d+2|0]|w[d+3|0]<<8;u[a+34>>1]=b<<8|b>>>8;if(c>>>0>=5){t[a+36|0]=w[d+4|0]}if(k){t[a+37|0]=w[d+5|0]}if(g){t[a+38|0]=w[d+6|0]}if(l){t[a+39|0]=1;t[a+40|0]=w[d+7|0];b=w[d+8|0]|w[d+9|0]<<8|(w[d+10|0]<<16|w[d+11|0]<<24);v[a+44>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=a;a=w[d+12|0]|w[d+13|0]<<8|(w[d+14|0]<<16|w[d+15|0]<<24);v[b+48>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return 0}h=0;t[a+39|0]=0}return h|0}ob(a,1029,0,0);return 1029}function l2(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;b=1;c=v[a+336>>2];a:{b:{if((c|0)==1){c=v[a+340>>2];v[a+356>>2]=v[c+28>>2];d=v[c+32>>2];v[a+360>>2]=d;v[c+64>>2]=1;v[c+56>>2]=1;v[c+60>>2]=1;v[c+72>>2]=1;v[c+68>>2]=v[c+36>>2];g=c;c=v[c+12>>2];d=(d>>>0)%(c>>>0)|0;v[g+76>>2]=d?d:c;v[a+364>>2]=1;v[a+368>>2]=0;break b}if(c-1>>>0>=4){b=v[a>>2];v[b+24>>2]=c;v[b+20>>2]=27;v[v[a>>2]+28>>2]=4;Qa[v[v[a>>2]>>2]](a)}c=B(v[a+424>>2],v[a+312>>2]);v[a+356>>2]=((c+v[a+28>>2]|0)-1|0)/(c|0);c=B(v[a+424>>2],v[a+316>>2]);c=((c+v[a+32>>2]|0)-1|0)/(c|0)|0;v[a+364>>2]=0;v[a+360>>2]=c;if(v[a+336>>2]<1){break a}h=a+368|0;while(1){b=v[((d<<2)+a|0)+340>>2];e=v[b+8>>2];v[b+56>>2]=e;f=v[b+12>>2];v[b+60>>2]=f;c=B(e,f);v[b+64>>2]=c;v[b+68>>2]=B(e,v[b+36>>2]);g=y[b+28>>2]%(e>>>0)|0;v[b+72>>2]=g?g:e;g=b;b=y[b+32>>2]%(f>>>0)|0;v[g+76>>2]=b?b:f;if((c+i|0)>=11){b=v[a>>2];v[b+20>>2]=14;Qa[v[b>>2]](a)}c:{if((c|0)<1){break c}b=B(e,f);e=b-1|0;b=b&3;if(b){while(1){f=v[a+364>>2];v[a+364>>2]=f+1;v[((f<<2)+a|0)+368>>2]=d;c=c-1|0;b=b-1|0;if(b){continue}break}}if(e>>>0<3){break c}while(1){b=v[a+364>>2];v[a+364>>2]=b+1;v[(b<<2)+h>>2]=d;b=v[a+364>>2];v[a+364>>2]=b+1;v[(b<<2)+h>>2]=d;b=v[a+364>>2];v[a+364>>2]=b+1;v[(b<<2)+h>>2]=d;b=v[a+364>>2];v[a+364>>2]=b+1;v[(b<<2)+h>>2]=d;b=(c|0)>4;c=c-4|0;if(b){continue}break}}b=v[a+336>>2];d=d+1|0;if((b|0)>(d|0)){i=v[a+364>>2];continue}break}if((b|0)<1){break a}}c=0;while(1){d=v[((c<<2)+a|0)+340>>2];if(!v[d+80>>2]){b=v[d+16>>2];if(!(v[((b<<2)+a|0)+164>>2]?b>>>0<=3:0)){e=v[a>>2];v[e+24>>2]=b;v[e+20>>2]=54;Qa[v[v[a>>2]>>2]](a)}j=d,k=cb(Qa[v[v[a+4>>2]>>2]](a,1,132)|0,v[((b<<2)+a|0)+164>>2],132),v[j+80>>2]=k;b=v[a+336>>2]}c=c+1|0;if((c|0)<(b|0)){continue}break}}Qa[v[v[a+464>>2]>>2]](a);Qa[v[v[a+448>>2]>>2]](a);v[v[a+456>>2]>>2]=v[v[a+448>>2]+4>>2]}function UOa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=Ma-48|0;Ma=c;a:{if(t[b+11|0]>=0){v[c+40>>2]=v[b+8>>2];e=v[b+4>>2];v[c+32>>2]=v[b>>2];v[c+36>>2]=e;break a}vc(c+32|0,v[b>>2],v[b+4>>2])}t[c+27|0]=1;rb(c+16|0,354400,1);v[c+20>>2]=0;t[c+11|0]=1;rb(c,354408,1);v[c+4>>2]=0;g=t[c+11|0];b=t[c+27|0];f=(b|0)<0;h=f?v[c+20>>2]:b&255;b:{if(h){b=w[c+43|0];d=b<<24>>24;b=(d|0)<0?v[c+36>>2]:b;if((h|0)>(b|0)){break b}e=(d|0)<0?v[c+32>>2]:c+32|0;i=e+(b<<2)|0;f=f?v[c+16>>2]:c+16|0;k=v[f>>2];d=e;while(1){j=b-h|0;b=j+1|0;if(b>>>0>>0){break b}b=xe(d,k,b);if(!b){break b}if(lc(b,f,h)){d=b+4|0;b=i-d>>2;if((h|0)<=(b|0)){continue}break b}break}if((b|0)==(i|0)){break b}b=b-e|0;if((b|0)==-4){break b}d=b>>2}k=((g|0)>0?g:0)&255;while(1){b=w[c+11|0];e=b<<24>>24<0;tr(c+32|0,d,h,e?v[c>>2]:c,e?v[c+4>>2]:b);b=w[c+43|0];e=b<<24>>24<0;d=d+k|0;f=e?v[c+36>>2]:b;if(d>>>0>f>>>0){break b}b=w[c+27|0];g=b<<24>>24<0;b=g?v[c+20>>2]:b;if(b){e=e?v[c+32>>2]:c+32|0;f=e+(f<<2)|0;i=e+(d<<2)|0;d=f-i>>2;if((b|0)>(d|0)){break b}g=g?v[c+16>>2]:c+16|0;j=v[g>>2];while(1){d=d-b|0;l=d+1|0;if(l>>>0>>0){break b}d=xe(i,j,l);if(!d){break b}if(lc(d,g,b)){i=d+4|0;d=f-i>>2;if((b|0)<=(d|0)){continue}break b}break}if((d|0)==(f|0)){break b}d=d-e>>2}if((d|0)!=-1){continue}break}}if(t[c+11|0]<=-1){$a(v[c>>2])}if(t[c+27|0]<=-1){$a(v[c+16>>2])}e=Xo(a+8|0,c+32|0);g=a+12|0;if((e|0)!=(g|0)){b=v[e+28>>2];Qa[v[v[b>>2]+12>>2]](b)|0;b=v[e+4>>2];c:{if(!b){d=v[e+8>>2];if((e|0)==v[d>>2]){break c}b=e+8|0;while(1){h=v[b>>2];b=h+8|0;d=v[h+8>>2];if((h|0)!=v[d>>2]){continue}break}break c}while(1){d=b;b=v[b>>2];if(b){continue}break}}if((e|0)==v[a+8>>2]){v[a+8>>2]=d}v[a+16>>2]=v[a+16>>2]-1;fK(v[a+12>>2],e);if(t[e+27|0]<=-1){$a(v[e+16>>2])}$a(e)}if(t[c+43|0]<=-1){$a(v[c+32>>2])}Ma=c+48|0;return(e|0)!=(g|0)|0}function gda(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0;i=Ma-16|0;Ma=i;t=v[a+52>>2];g=v[a+16>>2];n=v[a+12>>2];h=v[a>>2];f=yr(h);k=B(n?4:3,f);m=gb(k);a:{if(!m){wb(v[h+628>>2],v[h>>2],46020,0);break a}Hf(m,0,k);b:{c:{d:{switch(x[a+28>>1]-1|0){case 0:case 4:e=x[a+30>>1]-2|0;if((e&65535)>>>0>=7){break b}e=(e<<16>>16<<2)+76796|0;break c;case 1:case 5:e=x[a+30>>1]-1|0;if((e&65535)>>>0>=8){break b}e=(e<<16>>16<<2)+76824|0;break c;case 2:case 6:e=x[a+30>>1]-1|0;if((e&65535)>>>0>=8){break b}e=(e<<16>>16<<2)+76856|0;break c;case 3:case 7:break d;default:break b}}e=x[a+30>>1]-1|0;if((e&65535)>>>0>=7){break b}e=(e<<16>>16<<2)+76888|0}r=v[e>>2]}v[i>>2]=i+12;li(h,278,i);e=1;k=Gi(h);e:{if(!d){break e}o=f+m|0;p=f+o|0;s=n?f+p|0:0;e=g-c|0;u=g>>>0>>0?0:e;q=r&1;w=0-q&0-(c<<1);e=q?d-1|0:0;f=0;f:{while(1){g=v[i+12>>2];j=v[a+76>>2]+f|0;g=g-((j>>>0)%(g>>>0)|0)|0;g=f+g>>>0>d>>>0?d-f|0:g;l=0;if(!((wr(h,zr(h,j,0),m,B(k,g+((v[a+76>>2]+f>>>0)%y[i+12>>2]|0)|0))|0)>-1|!v[a+4>>2])){break f}l=0;if(!((wr(h,zr(h,j,1),o,B(k,g+((v[a+76>>2]+f>>>0)%y[i+12>>2]|0)|0))|0)>-1|!v[a+4>>2])){break f}l=0;if(!((wr(h,zr(h,j,2),p,B(k,g+((v[a+76>>2]+f>>>0)%y[i+12>>2]|0)|0))|0)>-1|!v[a+4>>2])){break f}g:{if(!n){break g}if((wr(h,zr(h,j,3),s,B(k,g+((v[a+76>>2]+f>>>0)%y[i+12>>2]|0)|0))|0)>-1|!v[a+4>>2]){break g}l=0;break f}j=B(k,(v[a+76>>2]+f>>>0)%y[i+12>>2]|0);Qa[t|0](a,(B(c,e)<<2)+b|0,0,e,c,g,u,w,j+m|0,j+o|0,j+p|0,n?j+s|0:0);e=(q?0-g|0:g)+e|0;f=f+g|0;if(f>>>0>>0){continue}break}l=1}e=l;if(!(r&2)){break e}h=0;while(1){f=(B(c,h)<<2)+b|0;a=(f+(c<<2)|0)-4|0;if(a>>>0>f>>>0){while(1){g=v[f>>2];v[f>>2]=v[a>>2];v[a>>2]=g;a=a-4|0;f=f+4|0;if(a>>>0>f>>>0){continue}break}}h=h+1|0;if((h|0)!=(d|0)){continue}break}}$a(m)}Ma=i+16|0;return e|0}function OQ(a,b,c,d){var e=0,f=0;e=Ma-16|0;Ma=e;v[a>>2]=0;a:{if(v[d>>2]){v[e>>2]=0;qb(e,0);f=e+8|0;Qa[v[v[b>>2]+32>>2]](f,b,d,e);jb(a,f);d=v[e+8>>2];v[e+8>>2]=0;b:{if(!d){break b}f=v[d+4>>2]-1|0;v[d+4>>2]=f;if(f){break b}f=v[d+4>>2];if(!f){v[d+4>>2]=-32767}if(!f){Qa[v[v[d>>2]+4>>2]](d)}}d=v[e>>2];v[e>>2]=0;c:{if(!d){break c}f=v[d+4>>2]-1|0;v[d+4>>2]=f;if(f){break c}f=v[d+4>>2];if(!f){v[d+4>>2]=-32767}if(!f){Qa[v[v[d>>2]+4>>2]](d)}}if(!c|!w[c|0]){break a}d=v[a>>2];if(d){f=e+8|0;hy(f,b,c,v[d+12>>2]);jb(a,f);a=v[e+8>>2];v[e+8>>2]=0;if(!a){break a}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break a}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}break a}v[e>>2]=0;f=zb(c);if((f|0)>=1){d=e+8|0;Qa[v[v[b>>2]+8>>2]](d,b,f);jb(e,d);b=v[e+8>>2];v[e+8>>2]=0;d:{if(!b){break d}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break d}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}b=v[v[e>>2]+12>>2];d=w[c|0];e:{if(!d){break e}f=c+f|0;while(1){t[b|0]=d;b=b+1|0;d=w[c+1|0];if(!d){break e}c=c+1|0;if((f|0)!=(c|0)){continue}break}}t[b|0]=0}jb(a,e);a=v[e>>2];v[e>>2]=0;if(!a){break a}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break a}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}break a}if(!c|!w[c|0]){break a}v[e>>2]=0;f=zb(c);if((f|0)>=1){d=e+8|0;Qa[v[v[b>>2]+8>>2]](d,b,f);jb(e,d);b=v[e+8>>2];v[e+8>>2]=0;f:{if(!b){break f}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break f}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}b=v[v[e>>2]+12>>2];d=w[c|0];g:{if(!d){break g}f=c+f|0;while(1){t[b|0]=d;b=b+1|0;d=w[c+1|0];if(!d){break g}c=c+1|0;if((f|0)!=(c|0)){continue}break}}t[b|0]=0}jb(a,e);a=v[e>>2];v[e>>2]=0;if(!a){break a}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break a}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=e+16|0}function OI(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;v[a+168>>2]=d;k=a+168|0;v[a+48>>2]=k;g=v[a+64>>2];v[a+184>>2]=v[a+60>>2];v[a+188>>2]=g;v[a+180>>2]=c;v[a+176>>2]=b;v[a+172>>2]=e;e=k;while(1){h=v[e+4>>2];f=v[e+20>>2];b=(h|0)<(f|0);a:{b:{i=v[e+12>>2];if(!((i|0)>=((b?h:f)|0)&(i|0)<=((b?f:h)|0))){b=v[e+16>>2];v[e+32>>2]=b;v[e+36>>2]=f;c=f+i|0;v[e+28>>2]=c>>1;g=h+i|0;v[e+12>>2]=g>>1;f=v[e+8>>2];i=f+d|0;v[e+8>>2]=i>>1;f=b+f|0;v[e+24>>2]=f>>1;b=2;v[e+20>>2]=c+g>>2;v[e+16>>2]=f+i>>2;break b}b=-2;if((f|0)==(h|0)){break b}m=(f|0)<(h|0)?1:2;c=v[a+92>>2];if((m|0)!=(c|0)){b=v[a+4>>2];n=(f|0)>=(h|0);g=n?f&b-1:((b+f|0)-1&0-b)-f|0;l=v[a+8>>2];if(c){b=v[a+36>>2];j=v[a+80>>2];c=b-v[j+8>>2]|0;if((c|0)<=-1){v[a+40>>2]=99;return 1}c:{if(!c){c=b;break c}v[j+16>>2]=c>>2;if((g|0)>=(l|0)){c=x[j+12>>1];u[j+12>>1]=(c&8?16:32)|c}v[a+80>>2]=b;c=b+32|0;v[a+36>>2]=c;v[b+8>>2]=c;v[b+16>>2]=0;v[j+28>>2]=b;u[a+76>>1]=x[a+76>>1]+1}if(y[a+32>>2]<=c>>>0){v[a+40>>2]=98;return 1}t[a+79|0]=0}d:{if(v[a+84>>2]){c=v[a+36>>2];break d}b=v[a+36>>2];v[a+84>>2]=b;v[a+80>>2]=b;c=b+32|0;v[a+36>>2]=c}if(y[a+32>>2]<=c>>>0){v[a+40>>2]=98;return 1}b=v[a+80>>2];v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=c;v[b+28>>2]=0;v[b+4>>2]=0;c=w[a+164|0];u[b+12>>1]=c;e:{f:{if(!n){u[b+12>>1]=c|8;j=40;if((g|0)>=(l|0)){break f}break e}j=16;if((g|0)<(l|0)){break e}}u[b+12>>1]=c|j}if(!v[a+88>>2]){v[a+88>>2]=b}u[a+78>>1]=1;v[a+92>>2]=m}b=v[a+72>>2];c=v[a+68>>2];if((f|0)<(h|0)){if(!GA(a,2,2347,c,b)){break a}return 1}v[e+20>>2]=0-f;v[e+12>>2]=0-i;v[e+4>>2]=0-h;g=w[a+78|0];b=GA(a,2,2347,0-b|0,0-c|0);if(!(w[a+78|0]|!g)){c=v[a+80>>2];v[c+20>>2]=0-v[c+20>>2]}v[e+4>>2]=0-v[e+4>>2];if(!b){break a}return 1}v[a+48>>2]=(b<<3)+e}e=v[a+48>>2];if(k>>>0<=e>>>0){d=v[e>>2];continue}break}v[a+64>>2]=h;v[a+60>>2]=d;return 0}function p9(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;if(!d){d=v[a+584>>2];if(d){l=(c|0)/v[d+8>>2]|0;a:{if(v[d>>2]!=2){if(v[d+16>>2]<(l|0)){break a}c=v[d+12>>2];Qa[v[d+20>>2]](d,b,l);b=c}c=v[a+600>>2];g=c-v[a+608>>2]|0;d=v[a+604>>2];if((l|0)>=1){c=24;while(1){k=c;m=255<>2]=d;v[a+608>>2]=v[a+600>>2]-g;if(!Xd(a)){return-1}g=v[a+600>>2]-v[a+608>>2]|0;d=v[a+604>>2]}e=c;h=c;b:{if((c|0)>=(l|0)){break b}while(1){h=e;i=v[(e<<2)+b>>2];f=1;c:{while(1){e=f+h|0;if((l|0)<=(e|0)){j=f;break c}d:{if((i^v[(e<<2)+b>>2])&m){j=f;break d}j=f+1|0;e=j+h|0;if((l|0)<=(e|0)){break c}if((i^v[(e<<2)+b>>2])&m){break d}j=129;f=f+2|0;if((f|0)!=129){continue}break b}break}if(j>>>0<=3){continue}break b}break}h=j>>>0>3?h:e}i=h-c|0;e:{if((i&-2)!=2){break e}e=c+1|0;f=v[(c<<2)+b>>2]&m;while(1){if((f|0)!=(v[(e<<2)+b>>2]&m)){break e}e=e+1|0;if((h|0)!=(e|0)){continue}break}t[d+1|0]=f>>>k;t[d|0]=i+126;g=g-2|0;d=d+2|0;c=h}if((c|0)<(h|0)){while(1){e=h-c|0;i=(e|0)<127?e:127;if((i+3|0)>(g|0)){v[a+604>>2]=d;v[a+608>>2]=v[a+600>>2]-g;if(!Xd(a)){return-1}g=v[a+600>>2]-v[a+608>>2]|0;d=v[a+604>>2]}t[d|0]=i;d=d+1|0;g=g-1|0;if(i){e=i;f=e&3;if(f){while(1){t[d|0]=v[(c<<2)+b>>2]>>>k;d=d+1|0;c=c+1|0;e=e-1|0;f=f-1|0;if(f){continue}break}}if(i-1>>>0>=3){while(1){f=(c<<2)+b|0;t[d|0]=v[f>>2]>>>k;t[d+1|0]=v[f+4>>2]>>>k;t[d+2|0]=v[f+8>>2]>>>k;t[d+3|0]=v[f+12>>2]>>>k;d=d+4|0;c=c+4|0;e=e-4|0;if(e){continue}break}}g=g-i|0}if((c|0)<(h|0)){continue}break}}f:{if((j|0)<4){j=0;break f}t[d|0]=j+126;t[d+1|0]=v[(h<<2)+b>>2]>>>k;g=g-2|0;d=d+2|0}c=c+j|0;if((l|0)>(c|0)){continue}break}c=k-8|0;if(k){continue}break}c=v[a+600>>2]}v[a+604>>2]=d;v[a+608>>2]=c-g;return 1}O(34494,6284,524,84303);L()}O(25714,6284,516,84303);L()}O(33866,6284,515,84303);L()}function xH(a){var b=0,c=0;if(v[296206]){b=1501;a:{if(v[296206]==2){break a}b=1502;if(v[296206]==6){break a}b=1503;if(v[296206]==8){break a}b=1504;if(v[296206]==9){break a}b=1505;if(v[296206]==10){break a}b=1506;if(v[296206]==11){break a}b=1507;if(v[296206]==12){break a}b=1508;if(v[296206]==16){break a}b=1509;if(v[296206]==18){break a}b=1510;if(v[296206]==20){break a}b=1511;if(v[296206]==21){break a}b=1512;if(v[296206]==22){break a}b=1513;if(v[296206]==26){break a}b=1514;if(v[296206]==27){break a}b=1515;if(v[296206]==28){break a}b=1516;if(v[296206]==29){break a}b=1517;if(v[296206]==31){break a}b=1518;if(v[296206]==33){break a}b=1519;if(v[296206]==34){break a}b=1520;if(v[296206]==35){break a}b=1521;if(v[296206]==37){break a}b=1522;if(v[296206]==41){break a}b=1523;if(v[296206]==43){break a}b=1524;if(v[296206]==44){break a}b=1525;if(v[296206]==45){break a}b=1526;if(v[296206]==46){break a}b=1527;if(v[296206]==48){break a}b=1528;if(v[296206]==51){break a}b=1529;if(v[296206]==52){break a}b=1530;if(v[296206]==54){break a}b=1531;if(v[296206]==55){break a}b=1532;if(v[296206]==138){break a}b=1533;if(v[296206]==59){break a}b=1534;if(v[296206]==60){break a}b=1535;if(v[296206]==63){break a}b=1536;if(v[296206]==64){break a}b=1537;if(v[296206]==68){break a}b=1538;if(v[296206]==69){break a}b=1539;if(v[296206]==70){break a}b=1540;if(v[296206]==71){break a}b=1541;if(v[296206]==73){break a}b=1542;if(v[296206]==75){break a}b=1550;if(v[296206]==57){break a}b=1551;if(v[296206]==30){break a}b=1552;if(v[296206]==14){break a}b=1541;if(v[296206]==73){break a}b=1553;if(v[296206]==40){break a}b=1554;if(v[296206]==3){break a}b=1513;if(v[296206]==26){break a}b=1555;if(v[296206]==7){break a}b=v[296206]==5?1556:1500}c=b;b=b-1500|0}else{b=0}Io(8,c,v[(b<<2)+874256>>2],a)}function bY(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=Ma-352|0;Ma=f;a:{if(!a|!v[a+4>>2]){break a}j=v[291043];g=v[256654];h=v[a+48>>2];if(!(!h|v[h+4>>2]!=1)){m=v[h+8>>2]}i=d?e:j;g=d?d:g;d=v[a+12>>2];k=v[a>>2];l=v[a+20>>2];b:{c:{d:{if(b){h=v[b+36>>2];if(!h){j=0;break d}e=v[h+4>>2];e:{if(e){j=h;h=0;break e}e=v[b+40>>2];if((e|0)<2){j=h;h=0;break c}j=v[(v[b+48>>2]+(e<<2)|0)-8>>2];if(!j){j=0;break b}e=v[j+4>>2];if(!e){break c}}v[f+180>>2]=v[j+28>>2];v[f+176>>2]=e;Qa[g|0](i,337323,f+176|0);break b}e=v[a+16>>2];if(e){v[f+148>>2]=l;v[f+144>>2]=e;Qa[g|0](i,337323,f+144|0);j=0;break d}j=0;if(!(1<>>0>19)){break d}v[f+128>>2]=l;Qa[g|0](i,337331,f+128|0)}h=0;break b}if(!l|(k|0)!=1){break b}v[f+160>>2]=v[j+28>>2];Qa[g|0](i,337331,f+160|0)}if(m){v[f+112>>2]=m;Qa[g|0](i,337254,f+112|0)}e=k-1|0;if(!(e>>>0>29|!(1048558845>>>e&1))){Qa[g|0](i,v[(e<<2)+874836>>2],0)}if(d>>>0<=3){Qa[g|0](i,v[(d<<2)+874956>>2],0)}f:{if(c){g:{if(!w[c|0]){break g}e=0;d=c;while(1){m=e;e=e+1|0;n=w[d+1|0];d=d+1|0;if(n){continue}break}if(w[c+m|0]==10){break g}v[f+96>>2]=c;Qa[g|0](i,340716,f+96|0);break f}v[f+80>>2]=c;Qa[g|0](i,237230,f+80|0);break f}v[f+64>>2]=237851;Qa[g|0](i,340716,f- -64|0)}h:{if(!b){break h}Ho(j,g,i);if(!h){break h}b=v[h+4>>2];i:{if(b){v[f+52>>2]=v[h+28>>2];v[f+48>>2]=b;Qa[g|0](i,348245,f+48|0);break i}if(!l|(k|0)!=1){break i}v[f+32>>2]=v[h+28>>2];Qa[g|0](i,348254,f+32|0)}Ho(h,g,i)}if((k|0)!=12){break a}b=v[a+24>>2];if(!b){break a}c=v[a+36>>2];if((c|0)>99){break a}e=0;if(w[b|0]){d=b;while(1){e=e+1|0;h=w[d+1|0];d=d+1|0;if(h){continue}break}}if((c|0)>=(e|0)){break a}v[f+16>>2]=b;Qa[g|0](i,340716,f+16|0);d=v[a+36>>2];j:{if((d|0)<1){d=0;break j}eb(f+192|0,32,d)}a=f+192|0;b=a+d|0;t[b|0]=94;t[b+1|0]=0;v[f>>2]=a;Qa[g|0](i,340716,f)}Ma=f+352|0}function zW(a){var b=0,c=0,d=0,e=0,f=0;e=Ma-16|0;Ma=e;a:{if(Qa[v[v[a>>2]+28>>2]](a,0,324988)|0){break a}if(Qa[v[v[a>>2]+28>>2]](a,0,324238)|0){break a}b:{if((Qa[v[v[a>>2]+8>>2]](a,0)|0)!=128){break b}if((Qa[v[v[a>>2]+8>>2]](a,1)|0)!=1){break b}if(!(Qa[v[v[a>>2]+20>>2]](a,2,e+12|0)|0)){break b}b=v[e+12>>2];if(b>>>0>=16){b=1;if(Qa[v[v[a>>2]+28>>2]](a,6,324988)|0){break a}b=v[e+12>>2]}if(b>>>0<11){break b}b=1;if(Qa[v[v[a>>2]+28>>2]](a,6,324238)|0){break a}}c:{if(Qa[v[v[a>>2]+8>>2]](a,0)|0){break c}if((Qa[v[v[a>>2]+8>>2]](a,1)|0)!=1){break c}if(Qa[v[v[a>>2]+8>>2]](a,2)|0){break c}if(Qa[v[v[a>>2]+8>>2]](a,3)|0){break c}b=4;break a}d:{if((Qa[v[v[a>>2]+8>>2]](a,0)|0)!=116){break d}if((Qa[v[v[a>>2]+8>>2]](a,1)|0)!=114){break d}if((Qa[v[v[a>>2]+8>>2]](a,2)|0)!=117){break d}b=4;if((Qa[v[v[a>>2]+8>>2]](a,3)|0)==101){break a}}e:{if((Qa[v[v[a>>2]+8>>2]](a,0)|0)!=116){break e}if((Qa[v[v[a>>2]+8>>2]](a,1)|0)!=116){break e}if((Qa[v[v[a>>2]+8>>2]](a,2)|0)!=99){break e}b=5;if((Qa[v[v[a>>2]+8>>2]](a,3)|0)==102){break a}}f:{if((Qa[v[v[a>>2]+8>>2]](a,0)|0)!=79){break f}if((Qa[v[v[a>>2]+8>>2]](a,1)|0)!=84){break f}if((Qa[v[v[a>>2]+8>>2]](a,2)|0)!=84){break f}if((Qa[v[v[a>>2]+8>>2]](a,3)|0)!=79){break f}c=Ma-16|0;Ma=c;b=9;g:{if(!(Qa[v[v[a>>2]+12>>2]](a,4,c+8|0)|0)|v[c+8>>2]<=0){break g}while(1){f=d<<4;if(!(Qa[v[v[a>>2]+28>>2]](a,f|12,337215)|0)){d=d+1|0;if((d|0)>2]){continue}break g}break}if(!(Qa[v[v[a>>2]+16>>2]](a,f+20|0,c+12|0)|0)){break g}d=v[c+12>>2];if(d>>>0>2147483646){break g}a=eH(a,d);b=(a|0)==2?6:(a|0)==3?7:a}Ma=c+16|0;break a}h:{if((Qa[v[v[a>>2]+8>>2]](a,0)|0)!=1){break h}if(Qa[v[v[a>>2]+8>>2]](a,1)|0){break h}b=eH(a,0);break a}b=9;if((Qa[v[v[a>>2]+8>>2]](a,1)|0)!=1){break a}if(Qa[v[v[a>>2]+8>>2]](a,2)|0){break a}b=eH(a,1)}Ma=e+16|0;return b}function o3(a,b,c){var d=0,e=0,f=C(0),g=0,h=C(0),i=0,j=C(0),k=0,l=0,m=0,n=0,o=0;l=1;a:{b:{c:{d:{switch(b-a>>2){case 2:c=v[v[c>>2]+16>>2];b=b-4|0;d=v[b>>2];e=v[a>>2];if(!(z[c+(d<<2)>>2]>2])){break c}v[a>>2]=d;v[b>>2]=e;break a;case 3:c=v[v[c>>2]+16>>2];b=b-4|0;e=v[b>>2];f=z[c+(e<<2)>>2];g=v[a+4>>2];h=z[c+(g<<2)>>2];d=v[a>>2];j=z[c+(d<<2)>>2];if(!(h>2]=e;v[b>>2]=g;b=v[a+4>>2];d=v[a>>2];if(!(z[c+(b<<2)>>2]>2])){break c}break b}if(f>2]=e;v[b>>2]=d;break a}v[a+4>>2]=d;v[a>>2]=g;e=v[b>>2];if(!(j>z[c+(e<<2)>>2])){break c}v[a+4>>2]=e;v[b>>2]=d;break a;case 4:Mw(a,a+4|0,a+8|0,b-4|0,c);break a;case 5:Mw(a,a+4|0,a+8|0,a+12|0,c);c=v[v[c>>2]+16>>2];b=b-4|0;d=v[b>>2];e=v[a+12>>2];if(!(z[c+(d<<2)>>2]>2])){break c}v[a+12>>2]=d;v[b>>2]=e;b=v[a+12>>2];f=z[c+(b<<2)>>2];d=v[a+8>>2];if(!(f>2])){break c}v[a+8>>2]=b;v[a+12>>2]=d;d=v[a+4>>2];if(!(f>2])){break c}v[a+8>>2]=d;v[a+4>>2]=b;d=v[a>>2];if(!(f>2])){break c}break b;case 0:case 1:break c;default:break d}}i=a+4|0;e=a+8|0;k=v[v[c>>2]+16>>2];g=v[a+8>>2];f=z[k+(g<<2)>>2];e:{f:{g:{n=v[a+4>>2];h=z[(n<<2)+k>>2];o=v[a>>2];j=z[(o<<2)+k>>2];if(!(h>2]=o;v[a>>2]=n;c=i;if(f>2]=g;v[e>>2]=n;c=a;m=i;d=n;if(!(f>2]=g;v[m>>2]=o}c=a+12|0;if((c|0)==(b|0)){break c}i=0;while(1){h:{g=c;l=c;m=v[c>>2];f=z[(m<<2)+k>>2];if(f>2]){while(1){i:{v[l>>2]=d;c=e;if((c|0)==(a|0)){c=a;break i}l=c;e=c-4|0;d=v[e>>2];if(f>2]){continue}}break}v[c>>2]=m;i=i+1|0;if((i|0)==8){break h}}c=g+4|0;if((c|0)==(b|0)){break a}d=v[g>>2];e=g;continue}break}l=(g+4|0)==(b|0)}return l}v[a+4>>2]=d;v[a>>2]=b}return 1}function n3(a,b,c){var d=0,e=0,f=C(0),g=0,h=C(0),i=0,j=C(0),k=0,l=0,m=0,n=0,o=0;l=1;a:{b:{c:{d:{switch(b-a>>2){case 2:c=v[v[c>>2]+12>>2];b=b-4|0;d=v[b>>2];e=v[a>>2];if(!(z[c+(d<<2)>>2]>2])){break c}v[a>>2]=d;v[b>>2]=e;break a;case 3:c=v[v[c>>2]+12>>2];b=b-4|0;e=v[b>>2];f=z[c+(e<<2)>>2];g=v[a+4>>2];h=z[c+(g<<2)>>2];d=v[a>>2];j=z[c+(d<<2)>>2];if(!(h>2]=e;v[b>>2]=g;b=v[a+4>>2];d=v[a>>2];if(!(z[c+(b<<2)>>2]>2])){break c}break b}if(f>2]=e;v[b>>2]=d;break a}v[a+4>>2]=d;v[a>>2]=g;e=v[b>>2];if(!(j>z[c+(e<<2)>>2])){break c}v[a+4>>2]=e;v[b>>2]=d;break a;case 4:Lw(a,a+4|0,a+8|0,b-4|0,c);break a;case 5:Lw(a,a+4|0,a+8|0,a+12|0,c);c=v[v[c>>2]+12>>2];b=b-4|0;d=v[b>>2];e=v[a+12>>2];if(!(z[c+(d<<2)>>2]>2])){break c}v[a+12>>2]=d;v[b>>2]=e;b=v[a+12>>2];f=z[c+(b<<2)>>2];d=v[a+8>>2];if(!(f>2])){break c}v[a+8>>2]=b;v[a+12>>2]=d;d=v[a+4>>2];if(!(f>2])){break c}v[a+8>>2]=d;v[a+4>>2]=b;d=v[a>>2];if(!(f>2])){break c}break b;case 0:case 1:break c;default:break d}}i=a+4|0;e=a+8|0;k=v[v[c>>2]+12>>2];g=v[a+8>>2];f=z[k+(g<<2)>>2];e:{f:{g:{n=v[a+4>>2];h=z[(n<<2)+k>>2];o=v[a>>2];j=z[(o<<2)+k>>2];if(!(h>2]=o;v[a>>2]=n;c=i;if(f>2]=g;v[e>>2]=n;c=a;m=i;d=n;if(!(f>2]=g;v[m>>2]=o}c=a+12|0;if((c|0)==(b|0)){break c}i=0;while(1){h:{g=c;l=c;m=v[c>>2];f=z[(m<<2)+k>>2];if(f>2]){while(1){i:{v[l>>2]=d;c=e;if((c|0)==(a|0)){c=a;break i}l=c;e=c-4|0;d=v[e>>2];if(f>2]){continue}}break}v[c>>2]=m;i=i+1|0;if((i|0)==8){break h}}c=g+4|0;if((c|0)==(b|0)){break a}d=v[g>>2];e=g;continue}break}l=(g+4|0)==(b|0)}return l}v[a+4>>2]=d;v[a>>2]=b}return 1}function i8(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{c=v[a+584>>2];if(c){if(v[c+16>>2]){break a}g=c;b:{if(w[a+13|0]&4){e=v[a+72>>2];d=v[a+68>>2];h=Tl(a);break b}d=v[a+100>>2];e=v[a+60>>2]-v[a+472>>2]|0;e=d>>>0>>0?d:e;d=v[a+56>>2];h=_N(a)}v[g+840>>2]=h;c:{if(x[a+138>>1]!=2){f=d;break c}if(!b){f=d;break c}g=x[c+834>>1];if(0-g>>>0>d>>>0){f=((d+g|0)-1>>>0)/(g>>>0)|0}d=x[c+836>>1];if(0-d>>>0<=e>>>0){e=0;break c}e=((d+e|0)-1>>>0)/(d>>>0)|0}if(!(e>>>0<65536&f>>>0<=65535)){wb(v[a+628>>2],88128,52864,0);return 0}v[c+32>>2]=e;v[c+28>>2]=f;d:{e:{if(x[a+138>>1]==1){v[c+36>>2]=x[a+98>>1];if(x[c+832>>1]==6){f:{if(v[c+924>>2]==1){v[c+40>>2]=2;f=0;break f}v[c+40>>2]=3;if(x[c+834>>1]==1){f=0;if(x[c+836>>1]==1){break f}}f=1}if(!OC(c,3)){return 0}v[v[c+84>>2]+8>>2]=x[c+834>>1];v[v[c+84>>2]+12>>2]=x[c+836>>1];break e}f=0;v[c+40>>2]=0;if(OC(c,0)){break e}break d}v[c+36>>2]=1;v[c+40>>2]=0;f=0;if(!OC(c,0)){break d}v[v[c+84>>2]>>2]=b;if(!b|x[c+832>>1]!=6){break e}v[v[c+84>>2]+16>>2]=1;v[v[c+84>>2]+20>>2]=1;v[v[c+84>>2]+24>>2]=1}v[c+256>>2]=0;v[c+244>>2]=0;if(!JM(c,v[c+920>>2])){return 0}b=v[c+928>>2];g:{if(b&1){break g}d=v[c+88>>2];if(d){v[d+128>>2]=0}d=v[c+92>>2];if(!d){break g}v[d+128>>2]=0}v[c+216>>2]=(b>>>1^-1)&1;h:{if(!f){f=0;v[c+208>>2]=0;v[a+560>>2]=524;v[a+552>>2]=524;v[a+544>>2]=524;if(HM(c)){break h}break d}v[c+208>>2]=1;v[a+560>>2]=536;v[a+552>>2]=536;v[a+544>>2]=536;f=0;if(!HM(c)){break d}b=v[a+584>>2];g=v[c+76>>2];i:{if((g|0)<1){d=0;break i}a=v[c+84>>2];d=0;e=0;while(1){j=v[a+8>>2];h=v[a+12>>2];i=GM(b,v[a+28>>2]<<3,h<<3);if(!i){break d}v[(b+(e<<2)|0)+844>>2]=i;a=a+88|0;d=B(j,h)+d|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}}v[b+888>>2]=d}v[c+884>>2]=0;f=1}return f|0}O(29012,7121,1306,88128);L()}O(48344,7121,1307,88128);L()}function yT(a,b){var c=0,d=0,e=0;a:{d=w[a+8|0];if(!(d&2)){break a}c=v[a>>2];b:{switch(w[a+9|0]-8|0){case 0:c:{switch(d-2|0){case 4:if(!c){break a}a=c&3;if(c-1>>>0>=3){c=c&-4;while(1){d=w[b+2|0];t[b+2|0]=w[b|0];t[b|0]=d;d=w[b+4|0];t[b+4|0]=w[b+6|0];t[b+6|0]=d;d=w[b+8|0];t[b+8|0]=w[b+10|0];t[b+10|0]=d;d=w[b+12|0];t[b+12|0]=w[b+14|0];t[b+14|0]=d;b=b+16|0;c=c-4|0;if(c){continue}break}}if(!a){break a}while(1){c=w[b+2|0];t[b+2|0]=w[b|0];t[b|0]=c;b=b+4|0;a=a-1|0;if(a){continue}break};break a;case 0:break c;default:break a}}if(!c){break a}a=c&3;if(c-1>>>0>=3){c=c&-4;while(1){d=w[b+2|0];t[b+2|0]=w[b|0];t[b|0]=d;d=w[b+3|0];t[b+3|0]=w[b+5|0];t[b+5|0]=d;d=w[b+6|0];t[b+6|0]=w[b+8|0];t[b+8|0]=d;d=w[b+9|0];t[b+9|0]=w[b+11|0];t[b+11|0]=d;b=b+12|0;c=c-4|0;if(c){continue}break}}if(!a){break a}while(1){c=w[b+2|0];t[b+2|0]=w[b|0];t[b|0]=c;b=b+3|0;a=a-1|0;if(a){continue}break};break a;case 8:break b;default:break a}}d:{switch(d-2|0){case 4:if(!c){break a}if((c|0)!=1){a=c&-2;while(1){d=w[b|0]|w[b+1|0]<<8;e=w[b+4|0]|w[b+5|0]<<8;t[b|0]=e;t[b+1|0]=e>>>8;t[b+4|0]=d;t[b+5|0]=d>>>8;d=w[b+8|0]|w[b+9|0]<<8;e=w[b+12|0]|w[b+13|0]<<8;t[b+8|0]=e;t[b+9|0]=e>>>8;t[b+12|0]=d;t[b+13|0]=d>>>8;b=b+16|0;a=a-2|0;if(a){continue}break}}if(!(c&1)){break a}a=w[b|0]|w[b+1|0]<<8;c=w[b+4|0]|w[b+5|0]<<8;t[b|0]=c;t[b+1|0]=c>>>8;t[b+4|0]=a;t[b+5|0]=a>>>8;return;case 0:break d;default:break a}}if(!c){break a}if((c|0)!=1){a=c&-2;while(1){d=w[b|0]|w[b+1|0]<<8;e=w[b+4|0]|w[b+5|0]<<8;t[b|0]=e;t[b+1|0]=e>>>8;t[b+4|0]=d;t[b+5|0]=d>>>8;d=w[b+6|0]|w[b+7|0]<<8;e=w[b+10|0]|w[b+11|0]<<8;t[b+6|0]=e;t[b+7|0]=e>>>8;t[b+10|0]=d;t[b+11|0]=d>>>8;b=b+12|0;a=a-2|0;if(a){continue}break}}if(!(c&1)){break a}a=w[b|0]|w[b+1|0]<<8;c=w[b+4|0]|w[b+5|0]<<8;t[b|0]=c;t[b+1|0]=c>>>8;t[b+4|0]=a;t[b+5|0]=a>>>8}}function Ck(a){var b=0,c=0,d=0,e=0;if(a){a:{switch(v[a+4>>2]-2|0){case 12:yq(a);return;case 16:c=v[a+8>>2];if(c){Qa[v[256556]](c)}c=v[a+12>>2];if(c){Qa[v[256556]](c)}Qa[v[256556]](a);return;case 0:Pv(a);return;default:break a}}b:{if(!v[291069]){break b}c=v[291067];if(!c){break b}Qa[c|0](a)}c=v[a+32>>2];if(c){d=v[c+80>>2]}c:{if(v[a+4>>2]!=17){break c}e=v[a+56>>2];d:{if(!e){break d}if(d){c=d;while(1){b=v[c+16>>2];if(b){while(1){if(e>>>0<=y[b+4>>2]&e>>>0>=b+20>>>0){break d}b=v[b>>2];if(b){continue}break}}c=v[c+20>>2];if(c){continue}break}}Qa[v[256556]](e)}e=v[a+52>>2];if(!e){break c}if(d){c=d;while(1){b=v[c+16>>2];if(b){while(1){if(e>>>0<=y[b+4>>2]&e>>>0>=b+20>>>0){break c}b=v[b>>2];if(b){continue}break}}c=v[c+20>>2];if(c){continue}break}}Qa[v[256556]](e)}b=v[a+12>>2];e:{f:{if(b){c=5;if(v[a+4>>2]==5){break f}vl(b)}c=v[a+4>>2];g:{if(c>>>0>20|!(1<>2];if(!b){break g}while(1){c=v[b+24>>2];Pv(b);b=c;if(b){continue}break}c=v[a+4>>2]}if((c|0)==1){break e}}e=v[a+40>>2];if(!e|(c|0)==5|((c|0)==20|(c|0)==19)){break e}if((e|0)==(a+44|0)){break e}if(d){c=d;while(1){b=v[c+16>>2];if(b){while(1){if(e>>>0<=y[b+4>>2]&e>>>0>=b+20>>>0){break e}b=v[b>>2];if(b){continue}break}}c=v[c+20>>2];if(c){continue}break}}Qa[v[256556]](e)}c=v[a+8>>2];h:{i:{if(!c){break i}j:{b=v[a+4>>2];switch(b-3|0){case 0:case 5:break h;default:break j}}if(d){while(1){b=v[d+16>>2];if(b){while(1){if(c>>>0<=y[b+4>>2]&c>>>0>=b+20>>>0){break i}b=v[b>>2];if(b){continue}break}}d=v[d+20>>2];if(d){continue}break}}Qa[v[256556]](c)}b=v[a+4>>2]}k:{if(!(1<>>0>20){break k}b=v[a+48>>2];if(!b){break k}while(1){c=v[b>>2];d=v[b+8>>2];if(d){Qa[v[256556]](d)}d=v[b+12>>2];if(d){Qa[v[256556]](d)}Qa[v[256556]](b);b=c;if(b){continue}break}}Qa[v[256556]](a)}}function vR(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;k=Ma-32|0;Ma=k;g=v[b>>2];f=Me(g);v[a>>2]=f;a:{if(f-1>>>0<7){i=yj(g);h=yj(g);m=yj(g);j=yj(g);p=a,q=yj(g)-32768|0,v[p+20>>2]=q;p=a,q=Wp(g),v[p+24>>2]=q;f=a+20|0;i=i-32768|0;l=32768-h|0;h=h-32768|0;n=m-32768|0;m=32768-j|0;o=j-32768|0;b:{c:{if(e){d=v[a>>2];d:{if(!(d>>>0>5|!(1<>2]+(l+m|0)|0;d=e+4|0;break d}h=v[e+8>>2]+h|0;d=e+12|0}j=v[e+24>>2]+v[e+20>>2]|0;e=f;break c}if(!d){break b}h=v[d+16>>2]+(l+m|0)|0;e=d+20|0;d=d+4|0;j=v[f>>2]}d=v[d>>2];v[f>>2]=v[e>>2]+j;i=d+i|0}v[a+4>>2]=i;v[a+16>>2]=h+o;v[a+12>>2]=i+n;v[a+8>>2]=h;i=Wp(g);d=v[a+20>>2];if((d|0)<0|(d+v[a+24>>2]|0)>(c|0)){break a}j=a+28|0;ac(j);if((i|0)>=1){e=0;while(1){d=Ma+-64|0;Ma=d;v[d+28>>2]=0;v[d+32>>2]=0;v[d+36>>2]=0;v[d+40>>2]=0;h=d+44|0;f=h;v[f>>2]=0;v[f+4>>2]=0;v[d+52>>2]=0;v[d+56>>2]=0;v[d+20>>2]=0;v[d+24>>2]=0;v[d+16>>2]=1;v[f>>2]=973096;v[f+4>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;f=v[a>>2];v[d+36>>2]=0;v[d+40>>2]=0;v[d+60>>2]=a;v[d+16>>2]=f;g=ab(56);f=g;v[f>>2]=0;v[f+4>>2]=0;v[f+48>>2]=0;v[f+52>>2]=0;v[f+40>>2]=0;v[f+44>>2]=0;v[f+32>>2]=0;v[f+36>>2]=0;v[f+24>>2]=0;v[f+28>>2]=0;v[f+16>>2]=0;v[f+20>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;f=v[d+20>>2];v[g+8>>2]=v[d+16>>2];v[g+12>>2]=f;f=v[d+28>>2];v[g+16>>2]=v[d+24>>2];v[g+20>>2]=f;f=v[d+36>>2];v[g+24>>2]=v[d+32>>2];v[g+28>>2]=f;v[g+32>>2]=v[d+40>>2];Lf(g+36|0,h);v[g+52>>2]=v[d+60>>2];l=a+28|0;de(l,g);f=v[a+40>>2];v[d+12>>2]=l;v[d+8>>2]=f;if(!f){wd(d+8|0,l);L()}ac(h);Ma=d- -64|0;d=f+8|0;vR(d,b,c,a,e);f=(i|0)>1;i=i-1|0;if(v[d+4>>2]>2]&v[d+8>>2]>2]){e=d}else{d=v[a+40>>2];v[k+12>>2]=j;v[k+8>>2]=d;Ag(j,k+8|0)}if(f){continue}break}}Ma=k+32|0;return}lb(mb(k+8|0,225188,240780,254,332275));L()}lb(mb(k+8|0,225188,240780,293,332275));L()}function $g(a,b,c){var d=0,e=0;a:{if(!(w[a+460|0]|!(w[a+476|0]?1:w[a+496|0])|(w[a+498|0]|!(w[b+65|0]?1:w[b+64|0])))){d=Nt(a,b);if(d){break a}}v[a+544>>2]=b;if(!c){c=v[a+512>>2];v[a+512>>2]=b;pL(a);v[a+512>>2]=c}if(!(w[a+497|0]|!w[a+477|0])){t[a+477|0]=0;c=v[a+512>>2];v[a+512>>2]=b;d=gp(a);v[a+512>>2]=c;if(d){break a}v[a+440>>2]=v[a+440>>2]+1}b:{if(w[a+497|0]|(w[a+460|0]|!(w[a+476|0]?1:w[a+496|0]))){break b}t[a+498|0]=0;if(v[a+676>>2]>2]|v[a+684>>2]>2]){break b}Yw(a);c=a;c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{b=v[b+88>>2];switch(w[b+45|0]){case 14:break f;case 12:break g;case 10:break h;case 8:break i;case 6:break j;case 4:break k;case 3:break l;case 2:break m;case 0:break n;default:break c}}v[a+980>>2]=w[b+44|0]>8?820:821;d=!w[b+56|0];break d}v[a+980>>2]=w[b+44|0]>8?822:823;d=!w[b+56|0];break d}v[a+980>>2]=824;d=!w[b+56|0];break d}v[a+980>>2]=w[b+44|0]>8?825:826;break e}v[a+980>>2]=w[b+44|0]>8?693:694;break e}v[a+980>>2]=w[b+44|0]>8?820:821;d=1;break d}v[a+980>>2]=w[b+44|0]>8?822:823;d=1;break d}v[a+980>>2]=w[b+44|0]>8?825:826;break e}v[a+980>>2]=w[b+44|0]>8?693:694}d=0}t[c+649|0]=d}v[a+584>>2]=1;v[a+576>>2]=1;v[a+580>>2]=0;t[a+568|0]=255;v[a+572>>2]=v[a+664>>2];c=v[b+36>>2];v[a+588>>2]=c;t[a+648|0]=0;v[a+604>>2]=c<<2;if(w[b+44|0]>=9){t[a+648|0]=1;v[a+604>>2]=c<<3}v[a+976>>2]=0;d=Kt(a,0,0,1);if(d){break a}b=Qa[v[a+152>>2]](v[a+604>>2])|0;v[a+644>>2]=b;if(!b){ob(a,1,0,0);return 1}b=v[a+664>>2];while(1){o:{c=b;e=v[a+668>>2];if((e|0)<=(b|0)){d=0;break o}d=Qa[v[a+980>>2]](a)|0;if(d){break o}b=v[a+976>>2];if(b){d=Qa[b|0](a)|0;if(d){break o}}d=Qa[v[a+968>>2]](a)|0;if(d){break o}b=c+1|0;d=_q(a);if(!d){continue}}break}b=v[a+644>>2];if(b){Qa[v[a+156>>2]](b,v[a+604>>2]);v[a+644>>2]=0}if((c|0)<(e|0)){break a}}d=0}return d}function Xw(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{switch(w[a+498|0]){case 3:b=ig(a,x[a+1154>>1]);if(b){$g(a,b,0)}t[a+498|0]=0;return 0;default:h=x[a+1156>>1];b=x[a+1154>>1];g=u[a+1152>>1];c=x[a+1150>>1];break a;case 0:break b}}b=x[a+1150>>1];g=x[a+1152>>1];h=b>>>0>g>>>0?-1:1;u[a+1156>>1]=h;c=b}c:{d:{if((w[a+1148|0]&254)!=6){e:{while(1){c=ig(a,b&65535);f:{if(!c){break f}if(w[a+498|0]){$g(a,c,0);t[a+498|0]=0;break f}g:{switch(w[a+1148|0]){case 0:t[c+31|0]=1;$g(a,c,0);break f;case 1:t[c+31|0]=0;break f;case 2:if(!w[c+31|0]){break f}$g(a,c,0);break f;case 3:t[c+31|0]=1;break f;case 4:d=w[c+31|0];t[c+31|0]=!d;if(d){break f}$g(a,c,0);break f;case 5:break g;default:break f}}t[c+31|0]=!w[c+31|0]}d=b;c=b+h|0;b=w[a+497|0];d=(b?d:c)<<16>>16;if(b){break e}e=h<<16>>16;if((e|0)>=1){b=c;if((d|0)<=g<<16>>16){continue}}if((e|0)<=-1){b=c;if((d|0)>=g<<16>>16){continue}}break}t[a+498|0]=0;break d}u[a+1154>>1]=d;t[a+498|0]=4;return 0}i=1;h:{if(h<<16>>16>=1){if(c<<16>>16>g<<16>>16){break c}while(1){d=0;b=c;while(1){f=ig(a,b&65535);i:{if(!f){break i}if(d&65535){t[f+31|0]=0;break i}if(e&65535){t[f+31|0]=1;d=b;j=f;break i}if(!w[f+31|0]){e=0;d=0;break i}d=0;t[f+31|0]=0;e=b}b=b+h<<16>>16;if((b|0)<=g<<16>>16){continue}break}e=e&65535?e:1;b=!(d&65535)&i;i=0;if(b){continue}break}break h}if(c<<16>>16>16){break c}while(1){d=0;b=c;while(1){f=ig(a,b&65535);j:{if(!f){break j}if(d&65535){t[f+31|0]=0;break j}if(e&65535){t[f+31|0]=1;d=b;j=f;break j}if(!w[f+31|0]){e=0;d=0;break j}d=0;t[f+31|0]=0;e=b}b=b+h<<16>>16;if((b|0)>=g<<16>>16){continue}break}e=e&65535?e:1;b=!(d&65535)&i;i=0;if(b){continue}break}}t[a+498|0]=0;if(!j|w[a+1148|0]!=6){break d}$g(a,j,0);if(!w[a+497|0]){break d}u[a+1154>>1]=d;t[a+498|0]=3;return 0}return 0}t[a+498|0]=0;return 0}function xLa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=Ma-48|0;Ma=e;a:{b:{c:{d:{if(!hb(b,234996)){if(d){b=Af(c,e+12|0,10);d=v[e+12>>2];if(w[d|0]!=44|(c|0)==(d|0)){break b}d=d+1|0;l=e,m=Af(d,e+12|0,10),v[l+20>>2]=m;c=v[e+12>>2];if(w[c|0]!=44){break b}if((c|0)!=(d|0)){break d}break b}b=v[c>>2];break c}if(!hb(b,279733)){if(d){f=6;if(hb(c,286231)){break a}v[a+28>>2]=1;f=0;break a}f=7;if(v[c>>2]!=1){break a}v[a+28>>2]=1;f=0;break a}if(!hb(b,272476)){if(d){if(!Af(c,0,10)){t[a+32|0]=0;break a}t[a+32|0]=1;break a}t[a+32|0]=w[c|0];break a}f=12;if(hb(b,291433)){break a}f=0;e:{if(d){b=Af(c,0,10);break e}b=v[c>>2]}v[a+68>>2]=(b|0)>0?b:0;break a}d=c+1|0;l=e,m=Af(d,e+12|0,10),v[l+24>>2]=m;c=v[e+12>>2];if(w[c|0]!=44|(c|0)==(d|0)){break b}d=c+1|0;l=e,m=Af(d,e+12|0,10),v[l+28>>2]=m;c=v[e+12>>2];if(w[c|0]!=44|(c|0)==(d|0)){break b}d=c+1|0;l=e,m=Af(d,e+12|0,10),v[l+32>>2]=m;c=v[e+12>>2];if(w[c|0]!=44|(c|0)==(d|0)){break b}d=c+1|0;l=e,m=Af(d,e+12|0,10),v[l+36>>2]=m;c=v[e+12>>2];if(w[c|0]!=44|(c|0)==(d|0)){break b}d=c+1|0;l=e,m=Af(d,e+12|0,10),v[l+40>>2]=m;c=v[e+12>>2];if(w[c|0]!=44|(c|0)==(d|0)){break b}d=c+1|0;l=e,m=Af(d,e+12|0,10),v[l+44>>2]=m;f=v[e+12>>2];if((w[f|0]|32)!=32){break b}c=e+16|0;if((d|0)!=(f|0)){break c}f=6;break a}f=6;if((b|0)<0){break a}d=v[c+8>>2];if((d|0)<0){break a}g=v[c+16>>2];if((g|0)<0){break a}h=v[c+24>>2];if((h|0)<0){break a}i=v[c+4>>2];if((i|0)<0){break a}j=v[c+12>>2];if((j|0)<0){break a}k=v[c+20>>2];if((k|0)<0){break a}c=v[c+28>>2];if((c|0)<0|(b|0)>(d|0)|((d|0)>(g|0)|(g|0)>(h|0))){break a}if((i|0)>500|(j|0)>500|((k|0)>500|(c|0)>500)){break a}v[a+60>>2]=h;v[a+48>>2]=j;v[a+36>>2]=b;v[a- -64>>2]=c;v[a+56>>2]=k;v[a+52>>2]=g;v[a+44>>2]=d;v[a+40>>2]=i;f=0;break a}f=6}Ma=e+48|0;return f|0}function Qoa(a){a=a|0;var b=0,c=0,d=0;a:{b:{c:{if(v[a+44>>2]>2]){break c}b=-1;if(v[a+52>>2]){break b}v[a+44>>2]=0;while(1){b=v[a+4>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;v[a+8>>2]=b;if(w[b+928528|0]==1&b>>>0<=255){continue}break}d:{e:{f:{b=v[a+8>>2];switch(b-122|0){case 4:break a;case 1:case 2:case 3:break d;case 0:break f;default:break e}}v[a+28>>2]=0;v[a+32>>2]=0;v[a+48>>2]=4;v[a+36>>2]=0;v[a+40>>2]=0;break c}if((b|0)==-1){break a}}while(1){b=v[a+4>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;v[a+12>>2]=b;if(w[b+928528|0]==1&b>>>0<=255){continue}break}d=1;g:{h:{b=v[a+12>>2];if((b|0)==-1){c=1;break h}c=1;if((b|0)==126){break h}while(1){b=v[a+4>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;v[a+16>>2]=b;if(w[b+928528|0]==1&b>>>0<=255){continue}break}c=2;b=v[a+16>>2];if((b|0)==-1|(b|0)==126){break h}while(1){b=v[a+4>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;v[a+20>>2]=b;if(w[b+928528|0]==1&b>>>0<=255){continue}break}c=3;b=v[a+20>>2];if((b|0)==-1|(b|0)==126){break h}while(1){b=v[a+4>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;v[a+24>>2]=b;if(w[b+928528|0]==1&b>>>0<=255){continue}break}c=4;d=0;b=v[a+24>>2];if((b|0)==-1|(b|0)==126){break h}v[a+48>>2]=4;break g}v[a+48>>2]=c-1;if((b|0)!=126&(b|0)!=-1){break g}i:{if(!d){break i}d=3-c|0;b=4-c&7;if(b){while(1){c=c+1|0;v[((c<<2)+a|0)+8>>2]=117;b=b-1|0;if(b){continue}break}}if(d>>>0<7){break i}while(1){d=a+8|0;b=d+(c<<2)|0;v[b+28>>2]=117;v[b+20>>2]=117;v[b+24>>2]=117;v[b+12>>2]=117;v[b+16>>2]=117;v[b+4>>2]=117;v[b+8>>2]=117;c=c+8|0;v[d+(c<<2)>>2]=117;continue}}v[a+52>>2]=1}b=(v[a+24>>2]+B(v[a+20>>2]+B(v[a+16>>2]+B(v[a+12>>2]+B(v[a+8>>2],85)|0,85)|0,85)|0,85)|0)-1743128013|0;v[a+40>>2]=b&255;v[a+28>>2]=b>>>24;v[a+36>>2]=b>>>8&255;v[a+32>>2]=b>>>16&255}b=v[((v[a+44>>2]<<2)+a|0)+28>>2]}return b|0}v[a+48>>2]=0;v[a+52>>2]=1;return-1}function X0(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=C(0),k=0,l=C(0),m=0,n=0,o=0,p=0,q=C(0),r=0;f=Ma-128|0;Ma=f;o=v[b+84>>2];if((o|0)>=1){r=a+264|0;p=f+92|0;while(1){e=d;i=Cm(b,h);d=v[i>>2];v[f+124>>2]=d;a:{b:{if(d>>>0<=1114111){d=x[((d<<1)+a|0)+276>>1];if((d|0)!=65535){break b}}t[f+15|0]=0;t[f+14|0]=0;pt(f+16|0,a,f+124|0,f+15|0,0,f+14|0);if(v[f+16>>2]>=1114112){Dh(p);d=0;break a}d=v[a+268>>2];c:{if((d|0)!=v[a+272>>2]){d=cb(d,f+16|0,104)+104|0;v[a+268>>2]=d;break c}sB(r,f+16|0);d=v[a+268>>2]}c=(d-v[a+264>>2]|0)/104|0;d=c-1|0;u[((v[f+16>>2]<<1)+a|0)+276>>1]=d;Dh(p);if(c&65535){break b}d=0;break a}c=v[a+264>>2]+B(d&65535,104)|0;d=x[c+12>>1];d:{e:{f:{g=v[c+4>>2];switch(g-1|0){case 1:break f;case 0:break d;default:break e}}uB(b,h,j,C(0));vB(b,h,C(0),C(0),C(0),C(0));tB(b,h,2);j=C(j+C(A[a+136>>3]+A[a+8>>3]*+z[c+16>>2]));d=0;break a}g=0}tB(b,h,g);g:{if(!w[a+105|0]|!e){break g}if(v[Cm(b,h)+60>>2]!=v[Cm(b,h-1|0)+60>>2]){break g}g=v[a+180>>2];k=f+16|0;if(k?g:0){dN(g,e,d,k)}j=C(j+C(v[f+16>>2]>>6))}l=z[b+8>>2];m=+C(j+l);q=z[b+12>>2];n=+C(q+C(0));uB(b,h,C(A[b+56>>3]+A[b+24>>3]*m+A[b+40>>3]*n-+l),C(A[b+64>>3]+A[b+32>>3]*m+A[b+48>>3]*n-+q));e=Cm(b,h);k=c- -64|0;g=v[k+4>>2];v[e+52>>2]=v[k>>2];v[e+56>>2]=g;g=v[c+60>>2];v[e+44>>2]=v[c+56>>2];v[e+48>>2]=g;g=v[c+52>>2];v[e+36>>2]=v[c+48>>2];v[e+40>>2]=g;g=v[c+44>>2];v[e+28>>2]=v[c+40>>2];v[e+32>>2]=g;vB(b,h,z[c+24>>2],z[c+36>>2],z[c+28>>2],z[c+32>>2]);l=z[c+16>>2];m=A[a+136>>3];n=A[a+8>>3];t[i+64|0]=w[c+72|0];e=v[c+80>>2];v[i+68>>2]=v[c+76>>2];v[i+72>>2]=e;e=v[c+88>>2];v[i+76>>2]=v[c+84>>2];v[i+80>>2]=e;e=v[c+96>>2];v[i+84>>2]=v[c+92>>2];v[i+88>>2]=e;v[i+92>>2]=v[c+100>>2];j=C(j+C(m+n*+l))}h=h+1|0;if((o|0)!=(h|0)){continue}break}z[b+16>>2]=j+z[b+8>>2];z[b+20>>2]=z[b+12>>2]+C(0)}Ma=f+128|0}function Dk(a,b,c){var d=0,e=0,f=0,g=0,h=0;h=Ma-16|0;Ma=h;a:{if(v[a+4>>2]!=1?a:0){break a}b:{if(!c){break b}d=258604;if((c|0)!=258604){e=c;while(1){f=w[e|0];if((f|0)!=w[d|0]){break b}d=d+1|0;e=e+1|0;if(f){continue}break}}d=285713;f=0;if((b|0)==285713){break a}if(!b){break b}e=b;while(1){g=w[e|0];if((g|0)!=w[d|0]){break b}d=d+1|0;e=e+1|0;if(g){continue}break}break a}f=Qa[v[256552]](24)|0;if(!f){v[h>>2]=285770;nb(0,0,0,0,0,2,2,3,285770,0,0,0,340689,h);f=0;break a}v[f>>2]=0;v[f+4>>2]=0;v[f+16>>2]=0;v[f+20>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;v[f+4>>2]=18;if(b){d=b;while(1){e=d;d=d+1|0;if(w[e|0]){continue}break}d=0;e=e-b|0;c:{if((e|0)<0){break c}g=Qa[v[256555]](e+1|0)|0;if(!g){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break c}d=cb(g,b,e);t[e+d|0]=0}v[f+8>>2]=d}if(c){d=c;while(1){b=d;d=d+1|0;if(w[b|0]){continue}break}d=0;b=b-c|0;d:{if((b|0)<0){break d}e=Qa[v[256555]](b+1|0)|0;if(!e){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break d}d=cb(e,c,b);t[b+d|0]=0}v[f+12>>2]=d}if(!a){break a}b=v[a+48>>2];if(!b){v[a+48>>2]=f;break a}e=0;e:{c=v[f+12>>2];d=v[b+12>>2];if(!(c|d)){break e}if((c|0)==(d|0)){e=d;break e}f:{if(!d|!c){break f}e=c;while(1){a=w[d|0];if((a|0)!=w[e|0]){break f}e=e+1|0;d=d+1|0;if(a){continue}break}e=c;break e}g:{d=v[b>>2];h:{if(!d){break h}if(c){while(1){b=d;d=v[d+12>>2];if((d|0)==(c|0)){break g}e=c;i:{if(!d){break i}while(1){a=w[d|0];if((a|0)!=w[e|0]){break i}e=e+1|0;d=d+1|0;if(a){continue}break}break g}d=v[b>>2];if(d){continue}break h}}while(1){b=d;if(!v[d+12>>2]){break g}d=v[b>>2];if(d){continue}break}}v[b>>2]=f;break a}a=v[f+8>>2];if(a){Qa[v[256556]](a);c=v[f+12>>2]}if(c){Qa[v[256556]](c)}Qa[v[256556]](f);f=0;break a}a=v[f+8>>2];if(a){Qa[v[256556]](a);e=v[f+12>>2]}if(e){Qa[v[256556]](e)}Qa[v[256556]](f);f=0}Ma=h+16|0;return f}function MWa(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;f=Ma-16|0;Ma=f;a:{b:{if(w[a+285|0]|w[a+286|0]|(w[a+287|0]|w[a+288|0])){break b}if(w[a+289|0]){break b}c=1029;ob(a,1029,0,0);break a}if(c>>>0>2){k=d;while(1){j=k;k=j+1|0;if(w[j|0]){continue}break}i=j-d|0;if((i|0)>(c|0)){c=1043;ob(a,1043,0,0);break a}if((d|0)==(j|0)){c=1044;ob(a,1044,0,0);break a}if(w[k|0]){c=1038;ob(a,1038,0,0);break a}v[f+4>>2]=0;l=(c-i|0)-2|0;c:{if(!v[a+192>>2]){break c}c=Lt(a,j+2|0,l,f+4|0,f+8|0,f+12|0);if(c){b=v[f+4>>2];if(!b){break a}Qa[v[a+156>>2]](b,v[f+8>>2]);break a}c=i+1|0;h=Qa[v[a+152>>2]](c)|0;if(!h){b=v[f+4>>2];if(b){Qa[v[a+156>>2]](b,v[f+8>>2])}c=1;ob(a,1,0,0);break a}m=cb(h,d,i);g=v[f+4>>2];if(Qa[v[a+192>>2]](a,1,m,g,0,0)|0){break c}if(g){Qa[v[a+156>>2]](g,v[f+8>>2])}Qa[v[a+156>>2]](m,c);c=904;ob(a,904,0,0);break a}d:{if(!w[a+112|0]){break d}c=Qa[v[b+4>>2]](a,b,e)|0;if(c){if(g){Qa[v[a+156>>2]](g,v[f+8>>2])}if(!h){break a}Qa[v[a+156>>2]](h,i+1|0);break a}b=v[e>>2];v[b+32>>2]=i;t[b+40|0]=w[k|0];e:{if(!l|g){break e}c=Lt(a,j+2|0,l,f+4|0,f+8|0,f+12|0);if(!c){break e}b=v[f+4>>2];if(b){Qa[v[a+156>>2]](b,v[f+8>>2])}if(!h){break a}Qa[v[a+156>>2]](h,i+1|0);break a}b=i+1|0;c=Qa[v[a+152>>2]](b)|0;v[v[e>>2]+36>>2]=c;c=v[v[e>>2]+36>>2];if(!c){c=v[f+4>>2];if(c){Qa[v[a+156>>2]](c,v[f+8>>2])}if(h){Qa[v[a+156>>2]](h,b)}c=1;ob(a,1,0,0);break a}cb(c,d,i);c=v[f+12>>2];v[v[e>>2]+44>>2]=c;if(!l){g=v[f+4>>2];break d}d=Qa[v[a+152>>2]](c+1|0)|0;v[v[e>>2]+48>>2]=d;g=v[f+4>>2];d=v[v[e>>2]+48>>2];if(!d){if(g){Qa[v[a+156>>2]](g,v[f+8>>2])}if(h){Qa[v[a+156>>2]](h,b)}c=1;ob(a,1,0,0);break a}cb(d,g,c)}if(g){Qa[v[a+156>>2]](g,v[f+8>>2])}c=0;if(!h){break a}Qa[v[a+156>>2]](h,i+1|0);break a}c=1028;ob(a,1028,0,0)}Ma=f+16|0;return c|0}function jTa(a){a=a|0;var 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=Ma+-64|0;Ma=c;e=Yb(x[a+26306>>1],2);if(e){d=v[a+26108>>2];if(d){j=v[249419];b=x[a+26304>>1];while(1){f=b&65535;b=0;if(f){f=0;while(1){if(!((f>>>0)%y[a+26168>>2]|0)){Qa[v[v[a>>2]+8>>2]](v[a+4>>2],v[a+26048>>2]+(k<<2)|0,0)|0;d=v[a>>2];g=v[d+8>>2];b=v[a+4>>2];v[c+60>>2]=-1;Qa[v[d>>2]](b,c+60|0,1,4)|0;d=w[c+60|0];if(x[a+25204>>1]==18761){h=d|w[c+61|0]<<8|w[c+62|0]<<16|w[c+63|0]<<24}else{h=w[c+63|0]|(w[c+61|0]<<16|d<<24|w[c+62|0]<<8)}Qa[g|0](b,h+(x[a+26314>>1]<<1)|0,0)|0;k=k+1|0}a:{if(v[a+160>>2]!=(i|0)?v[a+26028>>2]:0){break a}b=x[a+26306>>1];if((Qa[v[v[a>>2]>>2]](v[a+4>>2],e,2,b)|0)<(b|0)){b:{if(v[a+26160>>2]){break b}v[c+48>>2]=v[a+25208>>2];vb(j,8292,c+48|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,j);break b}d=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[c+32>>2]=d;v[c+36>>2]=d>>31;vb(j,14622,c+32|0)}v[a+26160>>2]=1}if(x[a+25204>>1]!=18761){Fp(e,e,b<<1)}g=f-x[a+26312>>1]|0;if(g>>>0>=x[a+26308>>1]){break a}d=x[a+26310>>1];if(!d){break a}l=v[a+26352>>2];m=v[a+26028>>2];if(m){d=g<<1&14;b=0;while(1){h=x[a+26316>>1];u[((B(x[a+26320>>1],g>>>h|0)+(b>>>h|0)<<3)+l|0)+((m>>>((d|b&1)<<1)&3)<<1)>>1]=x[e+(b<<1)>>1];b=b+1|0;if(b>>>0>1]){continue}break}break a}b=0;while(1){u[((B(d,g)+b<<3)+l|0)+(i<<1)>>1]=x[e+(b<<1)>>1];b=b+1|0;d=x[a+26310>>1];if(b>>>0>>0){continue}break}}b=x[a+26304>>1];f=f+1|0;if(b>>>0>f>>>0){continue}break}d=v[a+26108>>2]}i=i+1|0;if(i>>>0>>0){continue}break}}$a(e);if(!v[a+26028>>2]){v[a+26132>>2]=1;v[a+26124>>2]=65535}Ma=c- -64|0;return}b=v[a+190640>>2];c:{if(b){e=v[a+25208>>2];v[c+20>>2]=43377;v[c+16>>2]=e;Dc(b,4338,c+16|0);break c}b=v[a+25208>>2];v[c+4>>2]=43377;v[c>>2]=b;vb(v[249419],4338,c)}tc(a+190484|0,1);L()}function aTa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=Ma-800|0;Ma=e;j=v[249419];while(1){if((Qa[v[v[a>>2]>>2]](v[a+4>>2],e+32|0,1,768)|0)<=767){a:{if(v[a+26160>>2]){break a}v[e+16>>2]=v[a+25208>>2];vb(j,8292,e+16|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,j);break a}d=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[e>>2]=d;v[e+4>>2]=d>>31;vb(j,14622,e)}v[a+26160>>2]=1}c=984;b=((i&65535)>>>0)/82|0;d=(i>>>0<984?b|1:(b<<1)-24|0)+(B(i-B(b,82)|0,12)&65532)|0;b:{c:{d:{switch(i-1476|0){case 2:d=985;b=1;default:if(b>>>0>11){c=d;break c}if(!(b&1)){c=d;break c}b=2;u[(v[a+26352>>2]+(B(x[a+26320>>1],d>>>x[a+26316>>1]|0)<<3)|0)+((v[a+26028>>2]>>>(d<<2)&3)<<1)>>1]=w[e+32|0]<<1;h=v[a+26028>>2];f=v[a+26352>>2];while(1){c=b>>>1|0;g=x[a+26316>>1];g=(f+(B(x[a+26320>>1],d>>>g|0)+(b>>>g|0)<<3)|0)+((h>>>((d<<1&14|b&1)<<1)&3)<<1)|0;b=b+1|0;e:{if(b&2){c=c+(e+32|0)|0;c=w[c+1|0]+w[c-1|0]|0;break e}c=w[c+(e+32|0)|0]<<1}u[g>>1]=c;d=d^1;if((b|0)!=1533){continue}break};b=(v[a+26028>>2]>>>(d<<2&28|2)&3)<<1;c=x[a+26316>>1];f=B(x[a+26320>>1],d>>>c|0)+(1>>>c|0)<<3;c=v[a+26352>>2];u[b+(f+c|0)>>1]=w[e+33|0]<<1;f=d;d=x[a+26316>>1];u[b+(c+(B(x[a+26320>>1],f>>>d|0)+(1533>>>d|0)<<3)|0)>>1]=w[e+797|0]<<1;break b;case 1:case 3:break b;case 0:break c;case 4:break d}}c=985}b=c&1;d=(v[a+26028>>2]>>>((b|c<<1&14)<<1)&3)<<1;h=x[a+26316>>1];f=B(x[a+26320>>1],c>>>h|0)+(b>>>h|0)<<3;h=v[a+26352>>2];u[d+(f+h|0)>>1]=w[e+32|0]<<1;b=b|2;while(1){f=x[a+26316>>1];g=d+(h+(B(x[a+26320>>1],c>>>f|0)+(b>>>f|0)<<3)|0)|0;f=e+32|0;u[g>>1]=w[f+(b>>>1|0)|0]<<1;g=x[a+26316>>1];k=b+2|0;u[d+(h+(B(x[a+26320>>1],c>>>g|0)+(k>>>g|0)<<3)|0)>>1]=w[(k>>>1|0)+f|0]<<1;f=b>>>0<1530;b=b+4|0;if(f){continue}break}}i=i+1|0;if((i|0)!=1481){continue}break}v[a+26124>>2]=510;Ma=e+800|0}function tX(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=Ma+-64|0;Ma=e;a:{if(!d|(!b|!c)){break a}b:{g=v[b+68>>2];if(g){break b}g=Eo(0,v[b+80>>2]);v[b+68>>2]=g;if(g){break b}c:{if(!a){b=0;c=0;break c}b=v[a>>2];c=v[a+4>>2];if((v[a+28>>2]&-2)!=-1412623820){break c}h=(b^-1)+a>>>0<249?b:0}v[e>>2]=347565;nb(0,c,b,h,0,23,2,3,347565,0,0,0,340689,e);break a}f=Qa[v[256552]](20)|0;if(!f){d:{if(!a){b=0;d=0;c=0;break d}b=v[a>>2];d=v[a+4>>2];c=0;if((v[a+28>>2]&-2)!=-1412623820){break d}c=(b^-1)+a>>>0<249?b:0}v[e+16>>2]=290868;nb(0,d,b,c,0,23,2,3,290868,0,0,0,340689,e+16|0);break a}j=f,k=Sd(c),v[j+4>>2]=k;i=f;b=d;e:{if(!a){break e}b=d;if(!v[a+44>>2]){break e}h=Sd(v[d+8>>2]);b=0}v[i+8>>2]=b;v[f+12>>2]=h;j=f,k=aY(v[d+20>>2]),v[j+16>>2]=k;f:{g:{d=YX(g,c);if(d){break g}d=Qa[v[256552]](12)|0;h:{if(!d){Qa[v[256654]](v[291043],227046,0);d=0;break h}v[d>>2]=0;v[d+4>>2]=0;v[d+8>>2]=0;a=Qa[v[256552]](12)|0;v[d>>2]=a;if(!a){Qa[v[256654]](v[291043],260429,0);Qa[v[256556]](d);d=0;break h}v[a+8>>2]=0;v[a+4>>2]=a;v[a>>2]=a;v[d+4>>2]=2724;v[d+8>>2]=2725}if(!d){v[e+32>>2]=347389;nb(0,0,0,0,0,23,1,2,0,0,0,0,237230,e+32|0);break f}if((HH(g,c,d)|0)>-1){break g}TX(d);a=Ma-16|0;Ma=a;v[a>>2]=347344;nb(0,0,0,0,0,23,1,2,0,0,0,0,237230,a);Ma=a+16|0;break f}if(d){a=v[d>>2];c=v[a+4>>2];i:{if((a|0)==(c|0)){break i}while(1){if((Qa[v[d+8>>2]](v[c+8>>2],f)|0)<1){a=c;break i}a=v[d>>2];c=v[c+4>>2];if((a|0)!=(c|0)){continue}break}}b=Qa[v[256552]](12)|0;j:{if(!b){Qa[v[256654]](v[291043],262288,0);a=1;break j}v[b+8>>2]=f;v[b>>2]=v[a>>2];v[v[a>>2]+4>>2]=b;v[a>>2]=b;v[b+4>>2]=a;a=0}}else{a=1}if(!a){break a}v[e+48>>2]=347344;nb(0,0,0,0,0,23,1,2,0,0,0,0,237230,e+48|0)}a=v[f+4>>2];if(a){Qa[v[256556]](a)}a=v[f+12>>2];if(a){Qa[v[256556]](a)}Qa[v[256556]](f)}Ma=e- -64|0}function pk(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;a:{b:{if((b|0)<0|v[a+16>>2]<=(b|0)){break b}h=v[v[a+24>>2]+(b<<2)>>2];a=v[h+16>>2];if((a|0)<=(c|0)){break b}b=v[h+20>>2];if((a|0)<(c+e|0)|(b|0)<=(d|0)|(b|0)<(d+f|0)){break b}c:{if(v[g+20>>2]==(f|0)){a=f;if(v[g+24>>2]==(e|0)){break c}}a=0;k=-1;d:{if(v[g+40>>2]<(B(e,f)|0)|v[g+32>>2]<(f|0)){break d}v[g+24>>2]=e;v[g+20>>2]=f;k=0;if((f|0)<1){break d}b=f&3;if(f-1>>>0>=3){j=f&-4;while(1){v[v[g+28>>2]+(a<<2)>>2]=v[g+36>>2]+(B(a,e)<<2);i=a|1;v[v[g+28>>2]+(i<<2)>>2]=v[g+36>>2]+(B(e,i)<<2);i=a|2;v[v[g+28>>2]+(i<<2)>>2]=v[g+36>>2]+(B(e,i)<<2);i=a|3;v[v[g+28>>2]+(i<<2)>>2]=v[g+36>>2]+(B(e,i)<<2);a=a+4|0;j=j-4|0;if(j){continue}break}}if(!b){break d}while(1){v[v[g+28>>2]+(a<<2)>>2]=v[g+36>>2]+(B(a,e)<<2);a=a+1|0;b=b-1|0;if(b){continue}break}}if(k){break b}a=v[g+20>>2]}j=v[g+28>>2];k=v[j>>2];b=0;g=0;g=(a|0)>=2?v[j+4>>2]-k>>2:g;if((f|0)<1){break a}if((e|0)>=1){o=g<<2;while(1){j=k;i=e;if((af(v[h+32>>2],B(v[h+36>>2],B(v[h+16>>2],d+l|0)+c|0),0)|0)<0){break b}while(1){m=0;e:{g=v[h+36>>2];if((g|0)<=0){break e}while(1){a=v[h+32>>2];b=v[a+8>>2];if(b&7){break b}n=v[a+64>>2];if(!((n|0)>=0&v[a+60>>2]>=(n|0))){b=v[a+28>>2];v[a+28>>2]=b-1;f:{if((b|0)>=1){v[a+60>>2]=v[a+60>>2]+1;b=a;a=v[a+24>>2];v[b+24>>2]=a+1;a=w[a|0];break f}b=-1;a=Eb(a,1);if((a|0)==-1){break a}}m=a&255|m<<8;a=(g|0)>1;g=g-1|0;if(!a){break e}continue}break}v[a+8>>2]=b|4;break b}a=m;g=v[h+24>>2];m=1<>2]){a=a-(m&0-(a>>>g-1&1))|0}v[b>>2]=a;j=j+4|0;a=(i|0)>1;i=i-1|0;if(a){continue}break}k=k+o|0;b=0;l=l+1|0;if((l|0)!=(f|0)){continue}break}break a}while(1){if((af(v[h+32>>2],B(v[h+36>>2],B(v[h+16>>2],d+l|0)+c|0),0)|0)<0){break b}l=l+1|0;if((l|0)!=(f|0)){continue}break}break a}b=-1}return b}function LEa(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,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,z=0,A=0,C=0;y=Ma-288|0;Ma=y;q=v[a+332>>2];a=v[b+84>>2];b=y;while(1){j=v[a+96>>2];i=u[c+48>>1];k=v[a+160>>2];h=u[c+80>>1];o=v[a+224>>2];m=u[c+112>>1];n=v[a+32>>2];z=u[c+16>>1];r=B(u[c>>1],v[a>>2])<<13|1024;l=B(v[a+192>>2],u[c+96>>1]);s=r+B(l,-11586)|0;g=B(v[a+64>>2],u[c+32>>1]);f=B(v[a+128>>2],u[c+64>>1]);x=g-f|0;v[b+128>>2]=s+B(x,-11586)>>11;A=B(f+g|0,10887);C=B(f,2012);f=r+B(l,5793)|0;l=(A-C|0)+f|0;k=B(h,k);h=B(n,z);n=B(k+h|0,7447);j=B(B(i,j),-10033);i=B(m,o);o=B(i+h|0,3962);m=(n-j|0)+o|0;v[b+256>>2]=l-m>>11;v[b>>2]=m+l>>11;m=s+B(x,5793)|0;h=B(h-(i+k|0)|0,10033);v[b+224>>2]=m-h>>11;v[b+32>>2]=h+m>>11;g=B(g,8875);h=g+(f-A|0)|0;k=B(k-i|0,11409);i=n+(j-k|0)|0;v[b+192>>2]=h-i>>11;v[b+64>>2]=h+i>>11;g=(f-g|0)+C|0;f=o+(j+k|0)|0;v[b+160>>2]=g-f>>11;v[b+96>>2]=f+g>>11;b=b+4|0;a=a+4|0;c=c+2|0;p=p+1|0;if((p|0)!=8){continue}break}a=q+128|0;p=0;b=y;while(1){c=v[(p<<2)+d>>2]+e|0;g=v[b+20>>2];f=v[b+4>>2];o=B(g+f|0,7447);k=B(v[b+12>>2],-10033);h=v[b+28>>2];m=B(h+f|0,3962);n=(o-k|0)+m|0;r=(v[b>>2]<<13)+131072|0;l=v[b+24>>2];q=r+B(l,5793)|0;j=v[b+16>>2];i=v[b+8>>2];z=B(j+i|0,10887);x=B(j,2012);s=q+(z-x|0)|0;t[c|0]=w[a+(n+s>>>18&1023)|0];t[c+8|0]=w[a+(s-n>>>18&1023)|0];f=B(f-(h+g|0)|0,10033);n=r+B(l,-11586)|0;j=i-j|0;l=n+B(j,5793)|0;t[c+1|0]=w[a+(f+l>>>18&1023)|0];t[c+7|0]=w[a+(l-f>>>18&1023)|0];g=B(g-h|0,11409);f=o+(k-g|0)|0;h=B(i,8875);i=h+(q-z|0)|0;t[c+2|0]=w[a+(f+i>>>18&1023)|0];t[c+6|0]=w[a+(i-f>>>18&1023)|0];g=m+(g+k|0)|0;f=x+(q-h|0)|0;t[c+3|0]=w[a+(g+f>>>18&1023)|0];t[c+5|0]=w[a+(f-g>>>18&1023)|0];t[c+4|0]=w[a+(n+B(j,-11586)>>>18&1023)|0];b=b+32|0;p=p+1|0;if((p|0)!=9){continue}break}Ma=y+288|0}function Dea(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;h=Ma-32|0;Ma=h;p=v[a+52>>2];i=v[a>>2];m=gb($k(i));a:{if(!m){wb(v[i+628>>2],v[i>>2],46020,0);break a}Hf(m,0,$k(i));v[h+16>>2]=h+28;Mc(i,322,h+16|0);v[h>>2]=h+24;Mc(i,323,h);b:{c:{d:{e:{f:{g:{h:{switch(x[a+28>>1]-1|0){case 0:case 4:g=x[a+30>>1];if(g>>>0>8){break d}e=1<>1];if(g>>>0>8){break d}e=1<>1];if(g>>>0>8){break d}e=1<>1];if(g>>>0>7){break d}f=1<>2]+c|0)|0;break b}f=0}t=1;g=c-v[h+28>>2]|0}q=1;if(!(!d|!c)){while(1){e=v[h+24>>2];j=v[a+76>>2];e=e-((j+l>>>0)%(e>>>0)|0)|0;o=e+l>>>0>d>>>0?d-l|0:e;r=(B(c,n)<<2)+b|0;e=0;while(1){i:{if(!((vr(i,m,v[a+80>>2]+e|0,j+l|0,0)|0)>-1|!v[a+4>>2])){q=0;break i}j=v[a+76>>2];k=v[h+24>>2];j=B(Tl(i),(j+l>>>0)%(k>>>0)|0);k=v[h+28>>2];j:{if(k+e>>>0<=c>>>0){Qa[p|0](a,(e<<2)+r|0,e,n,k,o,0,g,j+m|0);break j}s=c-e|0;k=k-s|0;Qa[p|0](a,(e<<2)+r|0,e,n,s,o,k,g+k|0,j+m|0)}e=v[h+28>>2]+e|0;if(e>>>0>=c>>>0){break i}j=v[a+76>>2];continue}break}n=(t?o:0-o|0)+n|0;l=l+o|0;if(l>>>0>>0){continue}break}}$a(m);if(!(f&2)|!d){break a}f=0;while(1){e=(B(c,f)<<2)+b|0;a=(e+(c<<2)|0)-4|0;if(a>>>0>e>>>0){while(1){g=v[e>>2];v[e>>2]=v[a>>2];v[a>>2]=g;a=a-4|0;e=e+4|0;if(a>>>0>e>>>0){continue}break}}f=f+1|0;if((f|0)!=(d|0)){continue}break}}Ma=h+32|0;return q|0}function $7(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,z=0,A=0,C=0,D=0,E=0;f=v[a+584>>2];k=v[f+32>>2];a:{b:{if(!k){break b}r=f+844|0;e=v[f+884>>2];d=v[v[f+216>>2]+132>>2];if(!d){while(1){if((e|0)>=8){e=0;b=v[f+316>>2]<<3;c=0;if((CM(f,r,b)|0)!=(b|0)){break a}}e=e+1|0;v[f+884>>2]=e;b=x[f+836>>1];v[a+472>>2]=b+v[a+472>>2];k=k-b|0;if((k|0)>0){continue}break b}}m=v[f+888>>2];u=d&3;z=d-1>>>0<3;while(1){if((e|0)>=8){e=0;g=v[f+316>>2]<<3;c=0;if((CM(f,r,g)|0)!=(g|0)){break a}v[f+884>>2]=0}A=f;if(v[f+36>>2]>=1){o=v[f+216>>2];i=0;p=0;while(1){n=v[o+12>>2];c:{if((n|0)<1){break c}s=(p<<2)+f|0;j=0;l=v[o+8>>2];if((l|0)==1){while(1){h=b+i|0;e=v[v[s+844>>2]+(B(v[f+884>>2],n)+j<<2)>>2];g=d;c=u;if(c){while(1){t[h|0]=w[e|0];h=h+m|0;e=e+1|0;g=g-1|0;c=c-1|0;if(c){continue}break}}if(!z){while(1){t[h|0]=w[e|0];c=h+m|0;t[c|0]=w[e+1|0];c=c+m|0;t[c|0]=w[e+2|0];c=c+m|0;t[c|0]=w[e+3|0];e=e+4|0;h=c+m|0;g=g-4|0;if(g){continue}break}}i=i+1|0;j=j+1|0;if((n|0)!=(j|0)){continue}break c}}if((l|0)>=1){C=l&-4;D=l&3;E=l-1|0;q=0;while(1){g=b+i|0;h=v[v[s+844>>2]+(B(v[f+884>>2],n)+q<<2)>>2];j=d;while(1){e=0;c=C;if(E>>>0>=3){while(1){t[e+g|0]=w[h|0];t[(e|1)+g|0]=w[h+1|0];t[(e|2)+g|0]=w[h+2|0];t[(e|3)+g|0]=w[h+3|0];e=e+4|0;h=h+4|0;c=c-4|0;if(c){continue}break}}j=j-1|0;c=D;if(c){while(1){t[e+g|0]=w[h|0];e=e+1|0;h=h+1|0;c=c-1|0;if(c){continue}break}}g=g+m|0;if(j){continue}break}i=i+l|0;q=q+1|0;if((q|0)!=(n|0)){continue}break}break c}i=B(l,n)+i|0}o=o+88|0;p=p+1|0;if((p|0)>2]){continue}break}e=v[f+884>>2]}e=e+1|0;v[A+884>>2]=e;c=x[f+836>>1];v[a+472>>2]=c+v[a+472>>2];b=v[f+840>>2]+b|0;k=k-c|0;if((k|0)>0){continue}break}}c=1;if(y[f+140>>2]>2]){break a}c=(KM(f)|0)!=0}return c|0}function zk(a,b,c){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,p=0,q=0,r=0,s=0;d=Ma-32|0;Ma=d;xh(d,879336,b);e=kc(d,879344);v[d+24>>2]=v[e+8>>2];b=v[e+4>>2];v[d+16>>2]=v[e>>2];v[d+20>>2]=b;v[e>>2]=0;v[e+4>>2]=0;v[e+8>>2]=0;e=w[d+27|0];b=e<<24>>24<0;bd(a,b?v[d+16>>2]:d+16|0,b?v[d+20>>2]:e);if(t[d+27|0]<=-1){$a(v[d+16>>2])}if(t[d+11|0]<=-1){$a(v[d>>2])}t[d+27|0]=1;b=d+16|0;rb(b,879352,1);v[d+20>>2]=0;f=b;e=t[d+27|0];b=(e|0)<0;bd(a,b?v[d+16>>2]:f,(b?0:e)&255);if(t[d+27|0]<=-1){$a(v[d+16>>2])}f=Ma-16|0;Ma=f;e=qD(f,20,0);cD(e,w[e+11|0]>>>7|0?(v[e+8>>2]&2147483647)-1|0:1);o=d+16|0;l=o;j=Ma-16|0;Ma=j;if(w[f+11|0]>>>7|0){e=v[f+4>>2]}else{e=w[f+11|0]}while(1){a:{if(w[f+11|0]>>>7|0){b=v[f>>2]}else{b=f}m=b;A[j>>3]=c;q=f;n=Ma-16|0;Ma=n;v[n+12>>2]=j;g=Ma-416|0;Ma=g;b=-1;k=e+1|0;v[g+156>>2]=k-1;v[g+152>>2]=m;eb(g+8|0,0,144);v[g+84>>2]=-1;t[g+83|0]=255;v[g+56>>2]=256;v[g+44>>2]=4419;v[g+52>>2]=g+160;v[g+92>>2]=g+152;b:{if(!k){break b}if((k|0)<=-1){v[296206]=61;break b}p=g+8|0;i=p;h=Ma-192|0;Ma=h;v[h+188>>2]=j;b=h+144|0;eb(b,0,36);v[h+184>>2]=v[h+188>>2];c:{if((yN(0,h+184|0,h,b)|0)<0){b=-1;break c}r=v[i+76>>2]<0;BN(i);b=v[i>>2];v[i>>2]=b&-33;m=yN(i,h+184|0,h,h+144|0);s=b&32;b=v[i>>2];v[i>>2]=s|b;b=b&32?-1:m;if(r){break c}}Ma=h+192|0;iD(p,0,0);b=b>>>0>>0?b:-1}Ma=g+416|0;Ma=n+16|0;d:{if((b|0)>=0){if(b>>>0<=e>>>0){break a}break d}b=e<<1|1}e=b;cD(q,b);continue}break}cD(f,b);b=v[f+4>>2];v[l>>2]=v[f>>2];v[l+4>>2]=b;v[l+8>>2]=v[f+8>>2];BD(f);Ma=j+16|0;Vb(f);Ma=f+16|0;e=w[d+27|0];b=e<<24>>24<0;bd(a,b?v[d+16>>2]:o,b?v[d+20>>2]:e);if(t[d+27|0]<=-1){$a(v[d+16>>2])}t[d+27|0]=1;b=d+16|0;rb(b,879352,1);v[d+20>>2]=0;f=a;e=b;b=t[d+27|0];a=(b|0)<0;bd(f,a?v[d+16>>2]:e,(a?0:b)&255);if(t[d+27|0]<=-1){$a(v[d+16>>2])}Ma=d+32|0}function Zw(a){var 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;if(!v[a+4>>2]){return}o=ab(976);i=cv(o,a,0);if(v[i+4>>2]){b=x[a+26>>1];g=B(v[a+16>>2]-1|0,(b|0)==24?3:1);f=g+v[a+56>>2]|0;c=v[i+56>>2];a:{b:{c:{b=b-8|0;if(b){if((b|0)==16){break c}break b}if(v[a+20>>2]<1|(g|0)<0){break a}b=g+1|0;l=b&-4;m=b&3;while(1){d=0;b=l;if(g>>>0>=3){while(1){j=f-d|0;t[c+d|0]=w[j|0];t[(d|1)+c|0]=w[(d^-1)+f|0];t[(d|2)+c|0]=w[j-2|0];t[(d|3)+c|0]=w[j-3|0];d=d+4|0;b=b-4|0;if(b){continue}break}}b=m;if(b){while(1){t[c+d|0]=w[f-d|0];d=d+1|0;b=b-1|0;if(b){continue}break}}b=v[a+52>>2];c=b+c|0;f=b+f|0;e=e+1|0;if((e|0)>2]){continue}break}break a}if(v[a+20>>2]<1|(g|0)<0){break a}b=((g>>>0)/3|0)+1|0;m=b&2147483646;j=b&1;while(1){b=0;e=m;if(g>>>0>=3){while(1){h=b+c|0;d=f-b|0;t[h|0]=w[d|0];t[h+1|0]=w[d+1|0];t[h+2|0]=w[d+2|0];d=d-3|0;t[h+3|0]=w[d|0];t[h+4|0]=w[d+1|0];t[h+5|0]=w[d+2|0];b=b+6|0;e=e-2|0;if(e){continue}break}}if(j){e=b+c|0;b=f-b|0;t[e|0]=w[b|0];t[e+1|0]=w[b+1|0];t[e+2|0]=w[b+2|0]}b=v[a+52>>2];c=b+c|0;f=b+f|0;l=l+1|0;if((l|0)>2]){continue}break}break a}if(v[a+20>>2]<1|(g|0)<0){break a}c=0;while(1){d=0;while(1){Pn(i,d,c,Vk(a,g-d|0,c));b=(d|0)!=(g|0);d=d+1|0;if(b){continue}break}c=c+1|0;if((c|0)>2]){continue}break}}n=v[i+964>>2];if(n){g=v[i+20>>2];k=v[i+16>>2];j=gb(B(g,k));if(j){if(!((g|0)<1|(k|0)<1)){l=k&-4;m=k&3;d=k-1|0;f=n+d|0;e=j;while(1){c=0;b=l;if(d>>>0>=3){while(1){h=f-c|0;t[c+e|0]=w[h|0];t[(c|1)+e|0]=w[(c^-1)+f|0];t[(c|2)+e|0]=w[h-2|0];t[(c|3)+e|0]=w[h-3|0];c=c+4|0;b=b-4|0;if(b){continue}break}}b=m;if(b){while(1){t[c+e|0]=w[f-c|0];c=c+1|0;b=b-1|0;if(b){continue}break}}e=e+k|0;f=f+k|0;p=p+1|0;if((g|0)!=(p|0)){continue}break}}$a(n);v[i+964>>2]=j}}tk(a,i,1)}Qa[v[v[o>>2]+4>>2]](i)}function g9(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;if(c-b&4){v[c>>2]=0;c=c+4|0}if(b>>>0>>0){while(1){g=v[b>>2];if(!(g>>>0<=d>>>0&g+j>>>0<=d>>>0)){g=d-j|0;v[b>>2]=g}if(g){e=(j>>>3|0)+a|0;a:{b:{c:{d:{e:{h=j&7;f=8-h|0;if(f>>>0>>0){if(h){t[e|0]=w[e|0]&255<>>0<8){break b}i=g>>>3|0;if(g>>>0<64){break c}if(!(e&3)){h=e;f=i;break d}t[e|0]=0;h=e+1|0;f=i-1|0;if(!f){break d}if(h&3){break e}break d}t[e|0]=w[e|0]&(w[g+85758|0]>>>h^-1);break a}t[e+1|0]=0;f=i-2|0;h=e+2|0;if(!f|!(h&3)){break d}t[e+2|0]=0;f=i-3|0;h=e+3|0;if(!f|!(h&3)){break d}t[e+3|0]=0;f=i-4|0;h=e+4|0}i=f&3;f=f&-4;e=eb(h,0,f)+f|0}f:{switch(i-1|0){case 6:t[e+6|0]=0;case 5:t[e+5|0]=0;case 4:t[e+4|0]=0;case 3:t[e+3|0]=0;case 2:t[e+2|0]=0;case 1:t[e+1|0]=0;case 0:t[e|0]=0;e=e+i|0;break;default:break f}}g=g&7}if(!g){break a}t[e|0]=w[e|0]&255>>>g}j=v[b>>2]+j|0}g=v[b+4>>2];if(!(g>>>0<=d>>>0&g+j>>>0<=d>>>0)){g=d-j|0;v[b+4>>2]=g}if(g){e=(j>>>3|0)+a|0;g:{h:{i:{j:{k:{l:{h=j&7;f=8-h|0;if(f>>>0>>0){if(h){t[e|0]=w[e|0]|255>>>h;g=g-f|0;e=e+1|0}if(g>>>0<8){break i}i=g>>>3|0;if(g>>>0<64){break j}if(!(e&3)){h=e;f=i;break k}t[e|0]=255;h=e+1|0;f=i-1|0;if(!f){break k}if(h&3){break l}break k}f=w[g+85758|0]>>>h|0;break h}t[e+1|0]=255;f=i-2|0;h=e+2|0;if(!f|!(h&3)){break k}t[e+2|0]=255;f=i-3|0;h=e+3|0;if(!f|!(h&3)){break k}t[e+3|0]=255;f=i-4|0;h=e+4|0}i=f&3;f=f&-4;e=eb(h,255,f)+f|0}m:{switch(i-1|0){case 6:t[e+6|0]=255;case 5:t[e+5|0]=255;case 4:t[e+4|0]=255;case 3:t[e+3|0]=255;case 2:t[e+2|0]=255;case 1:t[e+1|0]=255;case 0:t[e|0]=255;e=e+i|0;break;default:break m}}g=g&7}if(!g){break g}f=65280>>>g|0}t[e|0]=f|w[e|0]}j=v[b+4>>2]+j|0}b=b+8|0;if(c>>>0>b>>>0){continue}break}}if((d|0)==(j|0)){return}O(1110,7814,450,85767);L()}function O_a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=v[v[a+2248>>2]+88>>2];d=v[c+1168>>2];b=(v[c+1176>>2]+B(d,v[a+572>>2])|0)+B(d,v[a+2268>>2])|0;c=v[c+1164>>2];e=(b+B(c,v[a+580>>2])|0)+B(c,v[a+2264>>2])|0;d=v[a+636>>2]+v[a+616>>2]|0;c=v[a+588>>2];a:{b:{if(w[a+2253|0]!=4){if((c|0)<=0){break a}while(1){c=w[e|0]|w[e+1|0]<<8;b=(c<<8|c>>>8)&65535;c=w[d|0]|w[d+1|0]<<8;c=b+((c<<8|c>>>8)&65535)&65535;c=c<<8|c>>>8;t[e|0]=c;t[e+1|0]=c>>>8;c=e+2|0;b=w[c|0]|w[c+1|0]<<8;g=(b<<8|b>>>8)&65535;b=w[d+2|0]|w[d+3|0]<<8;b=g+((b<<8|b>>>8)&65535)&65535;b=b<<8|b>>>8;t[c|0]=b;t[c+1|0]=b>>>8;c=e+4|0;b=w[c|0]|w[c+1|0]<<8;g=(b<<8|b>>>8)&65535;b=w[d+4|0]|w[d+5|0]<<8;b=g+((b<<8|b>>>8)&65535)&65535;b=b<<8|b>>>8;t[c|0]=b;t[c+1|0]=b>>>8;c=e+6|0;b=w[c|0]|w[c+1|0]<<8;g=(b<<8|b>>>8)&65535;b=w[d+6|0]|w[d+7|0]<<8;b=g+((b<<8|b>>>8)&65535)&65535;b=b<<8|b>>>8;t[c|0]=b;t[c+1|0]=b>>>8;d=d+8|0;e=(v[a+584>>2]<<3)+e|0;b=v[a+588>>2];f=f+1|0;if((b|0)>(f|0)){continue}break}break b}if((c|0)<1){break a}while(1){c=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);b=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);t[e|0]=b;t[e+1|0]=b>>>8;t[e+2|0]=b>>>16;t[e+3|0]=b>>>24;t[e+4|0]=c;t[e+5|0]=c>>>8;t[e+6|0]=c>>>16;t[e+7|0]=c>>>24;d=d+8|0;e=(v[a+584>>2]<<3)+e|0;b=v[a+588>>2];f=f+1|0;if((b|0)>(f|0)){continue}break}}if((b|0)<1){break a}c=v[a+540>>2];e=(v[c+1176>>2]+B(v[a+572>>2],v[c+1168>>2])|0)+B(v[a+580>>2],v[c+1164>>2])|0;d=v[a+636>>2]+v[a+616>>2]|0;b=0;while(1){c=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);f=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);t[e|0]=f;t[e+1|0]=f>>>8;t[e+2|0]=f>>>16;t[e+3|0]=f>>>24;t[e+4|0]=c;t[e+5|0]=c>>>8;t[e+6|0]=c>>>16;t[e+7|0]=c>>>24;d=d+8|0;e=(v[a+584>>2]<<3)+e|0;b=b+1|0;if((b|0)>2]){continue}break}}return 0}function Qo(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;if(d){v[d>>2]=0}g=4;a:{while(1){f=i;b:{while(1){c:{if(!g){break c}b=b+1|0;if(b>>>0>2]){break c}e=0;break a}e=4-g|0;i=w[b|0];h=i>>>g&15;if((h|0)==14){o=1;g=e;continue}if(h>>>0>9){break b}if((f|0)>=214748364){n=n+1|0;g=e;continue}break}i=0;g=e;if(!(f|h)){continue}l=l+1|0;i=B(f,10)+h|0;continue}break}g=0;d:{if((h|0)!=10){break d}e:while(1){j=(f|0)<214748364&(m|0)<9;while(1){if(e){b=b+1|0;if(b>>>0>=y[a+8>>2]){e=0;break a}i=w[b|0]}k=4-e|0;h=(i&255)>>>e&15;if(h>>>0>9){e=k;break d}if(!(f|h)){n=n-1|0;f=0;e=k;continue e}e=k;if(!j){continue}break}m=m+1|0;f=B(f,10)+h|0;continue}}f:{g:{h:{if(h-11>>>0<=1){k=0;while(1){if(e){b=b+1|0;if(b>>>0>=y[a+8>>2]){e=0;break a}i=w[b|0]}j=(i&255)>>>e&15;if(j>>>0<=9){p=j+B(g,10)|0;j=(g|0)>1e3;g=j?g:p;k=j?1:k;e=4-e|0;continue}break}if(!f){e=0;break a}a=(h|0)==12;if(k){break g}e=a?0-g|0:g;break h}e=0;if(!f){break a}}a=(c+n|0)+e|0;if(d){a=a+l|0;b=l+m|0;if((b|0)<=5){if((f|0)>=32768){e=Ub(f,10);v[d>>2]=(a-b|0)+1;break a}i:{j:{if((a|0)<1){break j}c=(a|0)<5?a:5;e=c-b|0;if((e|0)<1){break j}b=a-c|0;f=B(v[(e<<2)+450528>>2],f);a=b;if((f|0)<32768){break i}f=(f>>>0)/10|0;a=b+1|0;break i}a=a-b|0}v[d>>2]=a;e=f<<16;break a}b=b<<2;c=v[b+450508>>2];if(((f|0)/(c|0)|0)>=32768){e=Ub(f,v[b+450512>>2]);v[d>>2]=a-4;break a}e=Ub(f,c);v[d>>2]=a-5;break a}e=2147483647;b=a+l|0;if((b|0)>5){break a}if((b|0)<-5){break f}if((b|0)>-1){a=m-a|0}else{f=(f|0)/v[450528-(b<<2)>>2]|0;a=l+m|0}c=(a|0)==10;b=c?(f|0)/10|0:f;a=c?9:a;if((a|0)>=1){e=0;a=v[(a<<2)+450528>>2];if(((b|0)/(a|0)|0)>32767){break a}e=Ub(b,a);break a}a=B(b,v[450528-(a<<2)>>2]);e=(a|0)>32767?2147483647:a<<16;break a}e=2147483647;if(!a){break a}}e=0}return o?0-e|0:e}function M7(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=Ma-16|0;Ma=j;d=1;a:{if((c|0)<1){break a}k=v[a+608>>2];m=v[a+604>>2];while(1){l=v[a+56>>2];e=(l|0)>0;b:{if((k|0)<1){f=k;g=0;break b}g=0;h=0;d=b;f=k;if((l|0)<1){break b}while(1){c:{d:{e:{f:{g:{f=w[m|0];switch((f>>>6|0)-1|0){case 2:break d;case 1:break e;case 0:break f;default:break g}}h:{if(g&1){e=w[d|0]|h;t[d|0]=e;f=f-1|0;g=g+1|0;d=d+1|0;e=e&255;break h}e=h<<4|h}g=f+g|0;if(!((f|0)<1|(l|0)<=(g|0))){i=(f-((f|0)<2?f:2)|0)+1|0;f=(f-(i&-2)|0)-2|0;h=d;d=i>>>1|0;d=(eb(h,e,d+1|0)+d|0)+1|0}if((f|0)==-1){d=d-1|0;t[d|0]=w[d|0]&240}h=e&15;break c}e=f>>>4&3;i:{if((e|0)==2){e=d;break i}e=v[(e<<2)+88176>>2]+h|0;h=e&15;j:{if(g&1){i=w[d|0]|h;e=d+1|0;break j}i=e<<4;e=d}g=g+1|0;t[d|0]=i}d=f>>>2&3;k:{if((d|0)==2){d=e;e=g;break k}d=v[(d<<2)+88176>>2]+h|0;h=d&15;l:{if(g&1){i=w[e|0]|h;d=e+1|0;break l}i=d<<4;d=e}t[e|0]=i;e=g+1|0}f=f&3;if((f|0)==2){g=e;break c}g=e+1|0;f=v[(f<<2)+88176>>2]+h|0;h=f&15;if(e&1){t[d|0]=w[d|0]|h;d=d+1|0;break c}t[d|0]=f<<4;break c}e=f>>>3&7;m:{if((e|0)==4){e=d;break m}e=v[(e<<2)+88192>>2]+h|0;h=e&15;n:{if(g&1){i=w[d|0]|h;e=d+1|0;break n}i=e<<4;e=d}t[d|0]=i;g=g+1|0}i=g;d=f&7;if((d|0)==4){d=e;break c}g=i+1|0;d=v[(d<<2)+88192>>2]+h|0;h=d&15;if(i&1){t[e|0]=w[e|0]|h;d=e+1|0;break c}t[e|0]=d<<4;d=e;break c}e=g+1|0;h=f&15;o:{if(g&1){t[d|0]=w[d|0]|h;d=d+1|0;break o}t[d|0]=f<<4}g=e}f=k-1|0;m=m+1|0;e=(g|0)<(l|0);if((k|0)<2){break b}k=f;if((g|0)<(l|0)){continue}break}}v[a+608>>2]=f;v[a+604>>2]=m;if((g|0)!=(l|0)){b=v[a>>2];c=v[a+628>>2];a=v[a+472>>2];v[j+12>>2]=l;v[j+8>>2]=g;v[j+4>>2]=a;v[j>>2]=e?5579:9833;wb(c,b,3803,j);d=0;break a}d=v[a+588>>2];b=d+b|0;k=f;c=c-d|0;if((c|0)>0){continue}break}d=1}Ma=j+16|0;return d|0}function Afa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=Ma-16|0;Ma=j;d=v[b+12>>2];a:{if(!d){v[a>>2]=0;qb(a,0);break a}k=v[d+8>>2];c=v[d+4>>2];d=0;f=BE(ab(24),k,c,0);v[j+8>>2]=0;qb(j+8|0,f);e=v[b+12>>2];f=v[j+8>>2];if(x[f+8>>1]){i=v[f+16>>2]}h=B(x[f+12>>1],3);_x(e,i,h,3,0);f=v[b+20>>2];b:{if(!f){break b}e=v[b+16>>2];if(!e){d=f;break b}d=f;if(v[b+36>>2]<0){break b}_x(e,i+1|0,h,3,v[b+40>>2]);_x(v[b+20>>2],i+2|0,h,3,v[b+40>>2]);d=v[b+20>>2]}h=v[j+8>>2];c:{if(!(!(!d|!v[b+16>>2])&v[b+36>>2]>-1)){if((k|0)<1|(c|0)<1){break c}f=c&-4;i=c&3;e=0;l=c-1>>>0<3;while(1){b=0;d:{if(x[h+8>>1]<=e>>>0){break d}d=v[h+16>>2];b=0;if(!d){break d}b=d+B(B(x[h+12>>1],e),3)|0}d=f;if(!l){while(1){c=127-w[b|0]|0;t[b+2|0]=c;t[b+1|0]=c;t[b|0]=c;c=127-w[b+3|0]|0;t[b+3|0]=c;t[b+5|0]=c;t[b+4|0]=c;c=127-w[b+6|0]|0;t[b+6|0]=c;t[b+8|0]=c;t[b+7|0]=c;c=127-w[b+9|0]|0;t[b+9|0]=c;t[b+11|0]=c;t[b+10|0]=c;b=b+12|0;d=d-4|0;if(d){continue}break}}d=i;if(d){while(1){c=127-w[b|0]|0;t[b+2|0]=c;t[b+1|0]=c;t[b|0]=c;b=b+3|0;d=d-1|0;if(d){continue}break}}e=e+1|0;if((k|0)!=(e|0)){continue}break}break c}f=0;d=0;d=x[h+8>>1]?v[h+16>>2]:d;if((k|0)<1|(c|0)<1){break c}l=B(x[h+12>>1],3);while(1){b=d;i=0;while(1){e=t[b+2|0];m=(e>>1)+e|0;e=t[b|0]+128|0;g=m+e|0;g=(g|0)<255?g:255;t[b+2|0]=(g|0)>0?g:0;g=t[b+1|0];e=e-(g>>2)|0;g=e+(g<<1)|0;g=(g|0)<255?g:255;t[b|0]=(g|0)>0?g:0;e=e-(m>>1)|0;e=(e|0)<255?e:255;t[b+1|0]=(e|0)>0?e:0;b=b+3|0;i=i+1|0;if((c|0)!=(i|0)){continue}break}d=d+l|0;f=f+1|0;if((k|0)!=(f|0)){continue}break}}if(!h){v[a>>2]=0;break a}v[h+4>>2]=v[h+4>>2]+1;b=a;a=v[j+8>>2];v[b>>2]=a;v[j+8>>2]=0;if(!a){break a}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break a}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=j+16|0}function jw(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;k=1;a:{b:{if(!v[b>>2]){b=c;break b}if(!v[c>>2]){break b}k=0;if(v[c+8>>2]>2]){break a}}d=v[a+20>>2];c:{if(!d){break c}g=v[b+8>>2];d:{while(1){h=v[(B(f,20)+a|0)+36>>2];if((h|0)>=(g|0)){break d}f=f+1|0;if((d|0)!=(f|0)){continue}break}f=d;break c}if(w[(B(f,20)+a|0)+28|0]&8|(!k&(h|0)<=v[c+8>>2]|(g|0)==(h|0))){break a}}d=v[a+4>>2];if(!(!w[d+12|0]|w[b|0]&16)){e:{if(!k){d=Al(d,(v[b+8>>2]+v[c+8>>2]|0)/2|0);g=xb((v[c+8>>2]-v[b+8>>2]|0)/2|0,v[a+16>>2]);v[b+12>>2]=d-g;g=d+g|0;d=c;break e}g=Al(d,v[b+8>>2]);d=b}v[d+12>>2]=g}if(v[b+12>>2]>2]?f:0){break a}d=v[a+20>>2];f:{if(d>>>0<=f>>>0){break f}if(!k){if(v[c+12>>2]<=v[(B(f,20)+a|0)+40>>2]){break f}break a}if(v[b+12>>2]>v[(B(f,20)+a|0)+40>>2]){break a}}h=d+!k|0;if(h>>>0>191){break a}j=d-f|0;g:{if(!j){break g}l=f+1|0;h:{if(!(j&1)){g=d;break h}e=a+28|0;m=e+B(h,20)|0;i=m;g=d-1|0;e=e+B(g,20)|0;n=v[e+4>>2];v[i>>2]=v[e>>2];v[i+4>>2]=n;v[i+16>>2]=v[e+16>>2];i=v[e+12>>2];v[m+8>>2]=v[e+8>>2];v[m+12>>2]=i;h=h-1|0;j=j-1|0}if((d|0)==(l|0)){break g}m=a+28|0;while(1){l=m+B(g,20)|0;e=l-20|0;n=v[e+4>>2];d=m+B(h,20)|0;v[d>>2]=v[e>>2];v[d+4>>2]=n;v[d+16>>2]=v[e+16>>2];i=v[e+12>>2];v[d+8>>2]=v[e+8>>2];v[d+12>>2]=i;e=l-40|0;l=v[e+4>>2];d=d-20|0;v[d>>2]=v[e>>2];v[d+4>>2]=l;i=v[e+12>>2];v[d+8>>2]=v[e+8>>2];v[d+12>>2]=i;v[d+16>>2]=v[e+16>>2];h=h-2|0;g=g-2|0;j=j-2|0;if(j){continue}break}}d=B(f,20)+a|0;v[d+44>>2]=v[b+16>>2];f=v[b+12>>2];v[d+36>>2]=v[b+8>>2];v[d+40>>2]=f;f=v[b+4>>2];v[d+28>>2]=v[b>>2];v[d+32>>2]=f;v[a+20>>2]=v[a+20>>2]+1;if(k){break a}v[d- -64>>2]=v[c+16>>2];b=v[c+12>>2];v[d+56>>2]=v[c+8>>2];v[d+60>>2]=b;b=v[c+4>>2];v[d+48>>2]=v[c>>2];v[d+52>>2]=b;v[a+20>>2]=v[a+20>>2]+1}}function dYa(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0;if(e){o=e-1|0;p=e-2|0;while(1){i=g;a=f;t[g|0]=w[a|0];f=a+1|0;g=g+1|0;h=(e|0)==1;a:{if(!h&m>>>0>=o>>>0){break a}j=m?(m|0)==(p|0)?d:b:c;h=h&!m;if(h){if(j>>>0<2){break a}h=j-1|0;i=h&7;if(j-2>>>0>=7){h=h&-8;while(1){t[g|0]=w[a|0];t[g+1|0]=w[a|0];t[g+2|0]=w[a|0];t[g+3|0]=w[a|0];t[g+4|0]=w[a|0];t[g+5|0]=w[a|0];t[g+6|0]=w[a|0];t[g+7|0]=w[a|0];g=g+8|0;h=h-8|0;if(h){continue}break}}if(!i){break a}while(1){t[g|0]=w[a|0];g=g+1|0;i=i-1|0;if(i){continue}break}break a}k=w[a|0];l=h?0:f;if((k|0)==w[l|0]){if(j>>>0<2){break a}t[i+1|0]=k;g=i+2|0;if((j|0)==2){break a}h=j-2|0;i=h&7;if(j-3>>>0>=7){h=h&-8;while(1){t[g|0]=w[a|0];t[g+1|0]=w[a|0];t[g+2|0]=w[a|0];t[g+3|0]=w[a|0];t[g+4|0]=w[a|0];t[g+5|0]=w[a|0];t[g+6|0]=w[a|0];t[g+7|0]=w[a|0];g=g+8|0;h=h-8|0;if(h){continue}break}}if(!i){break a}while(1){t[g|0]=w[a|0];g=g+1|0;i=i-1|0;if(i){continue}break}break a}h=j+1>>>1|0;b:{if(j>>>0<3){break b}t[i+1|0]=k;g=i+2|0;if(j>>>0<5){break b}k=h>>>0>2?h:2;n=k-2|0;i=n&7;if(k-3>>>0>=7){k=n&-8;while(1){t[g|0]=w[a|0];t[g+1|0]=w[a|0];t[g+2|0]=w[a|0];t[g+3|0]=w[a|0];t[g+4|0]=w[a|0];t[g+5|0]=w[a|0];t[g+6|0]=w[a|0];t[g+7|0]=w[a|0];g=g+8|0;k=k-8|0;if(k){continue}break}}if(!i){break b}while(1){t[g|0]=w[a|0];g=g+1|0;i=i-1|0;if(i){continue}break}}if(h>>>0>=j>>>0){break a}i=(h^-1)+j|0;a=j-h&7;if(a){while(1){t[g|0]=w[l|0];h=h+1|0;g=g+1|0;a=a-1|0;if(a){continue}break}}if(i>>>0<7){break a}while(1){t[g|0]=w[l|0];t[g+1|0]=w[l|0];t[g+2|0]=w[l|0];t[g+3|0]=w[l|0];t[g+4|0]=w[l|0];t[g+5|0]=w[l|0];t[g+6|0]=w[l|0];t[g+7|0]=w[l|0];g=g+8|0;h=h+8|0;if((j|0)!=(h|0)){continue}break}}m=m+1|0;if((m|0)!=(e|0)){continue}break}}return 0}function Qv(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=Ma-16|0;Ma=j;a:{if(!a|!b){break a}d=v[a+76>>2];b:{f=v[b>>2];if(!f){g=-1;break b}if(d){m=v[a+80>>2];e=1;c=d;while(1){c:{g=(c-e>>>1|0)+e|0;h=g-1|0;i=v[B(h,20)+m>>2];k=f>>>0>i>>>0;l=(f|0)==(i|0);if(l){break c}c=l?c:f>>>0>>0?h:c;e=k?g+1|0:e;if(c>>>0>=e>>>0){continue}}break}g=g?k?g:h:0}else{g=0}if(g>>>0>=d>>>0){break b}c=v[a+80>>2];if(!c){break b}c=c+B(g,20)|0;if((f|0)!=v[c>>2]){break b}a=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=a;v[c+16>>2]=v[b+16>>2];a=v[b+12>>2];v[c+8>>2]=v[b+8>>2];v[c+12>>2]=a;break a}c=v[a+72>>2];d:{if(c>>>0>=d+1>>>0){e=v[a+80>>2];if(e){break d}}if(!c){v[a+72>>2]=2;c=2}d=B(c,40);c=v[a+80>>2];e:{if(!c){e=Qa[v[256552]](d)|0;break e}e=Qa[v[256557]](c,d)|0}if(!e){if(v[a+172>>2]==-1?v[a+212>>2]:0){break a}v[a+212>>2]=1;v[a+172>>2]=-1;v[a+84>>2]=2;v[j>>2]=341202;nb(0,0,0,a,0,1,2,3,341202,0,0,0,340689,j);break a}v[a+80>>2]=e;v[a+72>>2]=v[a+72>>2]<<1;d=v[a+76>>2]}f:{if((d|0)==(g|0)|d>>>0<=g>>>0){break f}f=g+1|0;if(d-g&1){c=B(d,20)+e|0;e=c-20|0;h=v[e+4>>2];v[c>>2]=v[e>>2];v[c+4>>2]=h;v[c+16>>2]=v[e+16>>2];h=v[e+12>>2];v[c+8>>2]=v[e+8>>2];v[c+12>>2]=h;e=v[a+80>>2];c=d-1|0}else{c=d}if((d|0)==(f|0)){break f}while(1){f=B(c,20);h=f+e|0;d=e;e=f-20|0;d=d+e|0;k=v[d+4>>2];v[h>>2]=v[d>>2];v[h+4>>2]=k;v[h+16>>2]=v[d+16>>2];i=v[d+12>>2];v[h+8>>2]=v[d+8>>2];v[h+12>>2]=i;d=v[a+80>>2];e=d+e|0;d=(d+f|0)-40|0;f=v[d+4>>2];v[e>>2]=v[d>>2];v[e+4>>2]=f;v[e+16>>2]=v[d+16>>2];f=v[d+12>>2];v[e+8>>2]=v[d+8>>2];v[e+12>>2]=f;e=v[a+80>>2];c=c-2|0;if(g>>>0>>0){continue}break}}c=v[b+4>>2];d=B(g,20)+e|0;v[d>>2]=v[b>>2];v[d+4>>2]=c;v[d+16>>2]=v[b+16>>2];c=v[b+12>>2];v[d+8>>2]=v[b+8>>2];v[d+12>>2]=c;v[a+76>>2]=v[a+76>>2]+1}Ma=j+16|0}function Tz(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{if(!a){break a}c=v[a+20>>2];if(!c){break a}h=v[c+296>>2]}b:{if(!b){break b}c:{d:{e:{c=v[b+4>>2];switch(c-9|0){case 0:case 4:break c;case 9:break e;default:break d}}while(1){a=v[b>>2];c=v[b+8>>2];if(c){Qa[v[256556]](c)}c=v[b+12>>2];if(c){Qa[v[256556]](c)}Qa[v[256556]](b);b=a;if(b){continue}break}break b}while(1){g=v[b+24>>2];f:{if((c|0)==14){break f}d=v[b+12>>2];if(!(!d|(c|0)==5)){if(v[d+20>>2]==(b|0)){Tz(a,d)}v[b+12>>2]=0}g:{if(!v[291069]){break g}c=v[291067];if(!c){break g}Qa[c|0](b)}c=v[b+4>>2];h:{if(c>>>0>20|!(1<>2];if(!c){break h}while(1){d=v[c+24>>2];vH(a,c);c=d;if(c){continue}break}}e=v[b+40>>2];i:{j:{if((e|0)==(b+44|0)){break j}d=v[b+4>>2];if(!e|(1<>>0<=20:0)){break i}d=h;if(d){while(1){c=v[d+16>>2];if(c){while(1){if(e>>>0<=y[c+4>>2]&e>>>0>=c+20>>>0){break j}c=v[c>>2];if(c){continue}break}}d=v[d+20>>2];if(d){continue}break}}Qa[v[256556]](e)}d=v[b+4>>2]}k:{if(!(1<>>0>20){break k}c=v[b+48>>2];if(!c){break k}while(1){d=v[c>>2];e=v[c+8>>2];if(e){Qa[v[256556]](e)}e=v[c+12>>2];if(e){Qa[v[256556]](e)}Qa[v[256556]](c);c=d;if(c){continue}break}d=v[b+4>>2]}l:{m:{n:{switch(d-3|0){default:f=v[b+8>>2];o:{if(!f){break o}e=h;if(e){while(1){c=v[e+16>>2];if(c){while(1){if(c+20>>>0<=f>>>0&y[c+4>>2]>=f>>>0){break o}c=v[c>>2];if(c){continue}break}}e=v[e+20>>2];if(e){continue}break}}Qa[v[256556]](f);d=v[b+4>>2]}if((d|0)==1){break m}break;case 0:case 5:break n}}if((d|0)!=3){break l}}if(!a){break l}c=v[a+20>>2];if(!c){break l}d=v[c+368>>2];if((d|0)>99){break l}v[b+24>>2]=v[c+372>>2];v[c+368>>2]=d+1;v[c+372>>2]=b;break f}Qa[v[256556]](b)}if(!g){break b}c=v[g+4>>2];b=g;continue}}wq(b)}}function hCa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=Ma-16|0;Ma=d;v[a+788>>2]=0;v[a+792>>2]=0;f=a+796|0;v[f>>2]=0;v[f+4>>2]=0;h=a+788|0;a:{b:{c:{d:{if(!(Qa[v[a+516>>2]](a,1128418371,b,d+12|0)|0)){c=2;break d}c=1;if(!(Qa[v[a+516>>2]](a,1161972803,b,d+12|0)|0)){break d}if(!(Qa[v[a+516>>2]](a,1651273571,b,d+12|0)|0)){break d}c=Qa[v[a+516>>2]](a,1935829368,b,d+12|0)|0;if(c){break c}c=3}v[f>>2]=c;if(y[d+12>>2]<8){c=3;break c}i=a+800|0;k=v[b+8>>2];e:{f:{g:{h:{i:{c=v[f>>2];switch(c-1|0){case 2:break h;case 0:case 1:break i;default:break f}}c=Zh(b,v[d+12>>2],h);if(c){break c}g=v[d+12>>2];v[a+792>>2]=g;c=v[a+788>>2];e=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);j=w[c+1|0]<<16|w[c|0]<<24;if(!((j|0)==131072|(j|0)==196608)){c=w[c+2|0]|w[c+3|0]<<8;if(((c<<8|c>>>8|256)&65535)!=768){break e}}c=3;e=e<<8&16711680|e<<24|(e>>>8&65280|e>>>24);if(e>>>0>65535){break c}if(g>>>0>=(B(e,48)|8)>>>0){break g}e=(g-8>>>0)/48|0;break g}c=Ed(b,8);if(c){break c}c=ae(b);g=ae(b);e=Ig(b);dd(b);if(!c){break e}if((g&65533)!=1){c=3;break c}c=3;if(e>>>0>65535){break c}g=v[d+12>>2];c=Mb(b,v[b+8>>2]-8|0);if(c){break c}e=g>>>0<(e<<2)+8>>>0?g-8>>>2|0:e;c=(e<<2)+8|0;v[a+792>>2]=c;c=Zh(b,c,h);if(c){break c}}v[a+800>>2]=e;c=v[f>>2]}v[a+860>>2]=0;v[a+864>>2]=0;f=a;j:{k:{l:{switch(c|0){case 3:v[a+860>>2]=k;b=v[d+12>>2];break k;case 0:break b;default:break l}}m:{if(!(Qa[v[a+516>>2]](a,1128416340,b,d+8|0)|0)){break m}if(!(Qa[v[a+516>>2]](a,1161970772,b,d+8|0)|0)){break m}if(!(Qa[v[a+516>>2]](a,1650745716,b,d+8|0)|0)){break m}b=v[a+864>>2];break j}v[a+860>>2]=v[b+8>>2];b=v[d+8>>2]}v[f+864>>2]=b}c=0;if(b){break a}break b}c=2}if(v[h>>2]){Oe(b,h)}v[a+792>>2]=0;i=f}v[i>>2]=0}Ma=d+16|0;return c|0}function kv(a,b,c,d,e,f,g,h,i,j,k,l){var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0,y=0,z=0;p=Ma-1152|0;Ma=p;m=v[k+8>>2];q=Qa[v[v[m>>2]+28>>2]](m)|0;xs(k,d,p+256|0);xs(k,g,p+128|0);xs(k,j,p);m=0;a:{if((q|0)<1){break a}while(1){n=m<<2;x=v[n+(p+128|0)>>2];y=v[n+(p+256|0)>>2]-x|0;z=y>>31;if((z^z+y)>>>0>256){break a}x=x-v[p+n>>2]|0;n=x>>31;if((n^n+x)>>>0>256){break a}m=m+1|0;if((q|0)!=(m|0)){continue}break}m=q}n=v[a+28>>2];b:{c:{if(!((m|0)==(q|0)|(l|0)==6)){r=e-b;o=A[n+16>>3];s=f-c;t=A[n+32>>3];if(!(D(r*o+s*t)<.5)){break c}u=r;r=A[n+24>>3];w=s;s=A[n+40>>3];if(!(D(u*r+w*s)<.5)){break c}u=h-e;w=i-f;if(!(D(u*o+w*t)<.5)|!(D(u*r+w*s)<.5)){break c}u=b-h;w=u*o;o=c-i;if(!(D(w+o*t)<.5)|!(D(u*r+o*s)<.5)){break c}}cb(n+124|0,p+256|0,128);d=v[a+8>>2];Qa[v[v[d>>2]+116>>2]](d,v[a+28>>2]);d=v[a+28>>2];A[d+608>>3]=c;A[d+600>>3]=b;d=v[d+596>>2];A[d+16>>3]=c;A[d+8>>3]=b;v[d>>2]=1;d=v[a+28>>2];A[d+608>>3]=f;A[d+600>>3]=e;cd(v[d+596>>2],e,f);d=v[a+28>>2];A[d+608>>3]=i;A[d+600>>3]=h;cd(v[d+596>>2],h,i);d=v[a+28>>2];kf(v[d+596>>2]);g=v[d+596>>2];g=v[((v[g+28>>2]<<2)+v[g+24>>2]|0)-4>>2];j=(v[g+12>>2]<<3)-8|0;A[d+600>>3]=A[j+v[g>>2]>>3];A[d+608>>3]=A[j+v[g+4>>2]>>3];d=v[a+8>>2];Qa[v[v[d>>2]+204>>2]](d,v[a+28>>2]);Ae(v[a+28>>2]);break b}n=v[k+324>>2];if((n|0)>=1){q=0;while(1){m=q<<3;o=A[m+d>>3];t=A[g+m>>3];A[m+(p+896|0)>>3]=(o+t)*.5;r=o;o=A[j+m>>3];A[m+(p+384|0)>>3]=(r+o)*.5;A[m+(p+640|0)>>3]=(t+o)*.5;q=q+1|0;if((n|0)!=(q|0)){continue}break}}r=b;s=c;n=d;o=(b+e)*.5;t=(c+f)*.5;m=p+896|0;b=(b+h)*.5;c=(c+i)*.5;q=p+384|0;d=l+1|0;kv(a,r,s,n,o,t,m,b,c,q,k,d);r=e;s=f;l=g;e=(e+h)*.5;f=(f+i)*.5;g=p+640|0;kv(a,o,t,m,r,s,l,e,f,g,k,d);kv(a,o,t,m,e,f,g,b,c,q,k,d);kv(a,b,c,q,e,f,g,h,i,j,k,d)}Ma=p+1152|0}function SK(a,b){var c=C(0),d=0,e=C(0),f=0;v[a+59300>>2]=0;c=C(C(z[b>>2]*C(2.0341930389404297))+C(0));z[a+59300>>2]=c;c=C(c+C(z[b+12>>2]*C(-.7274199724197388)));z[a+59300>>2]=c;e=z[b+24>>2];d=a+59304|0;v[d>>2]=0;z[a+59300>>2]=c+C(e*C(-.30676600337028503));c=C(C(z[b+4>>2]*C(2.0341930389404297))+C(0));z[d>>2]=c;c=C(c+C(z[b+16>>2]*C(-.7274199724197388)));z[d>>2]=c;e=z[b+28>>2];f=a+59308|0;v[f>>2]=0;z[d>>2]=c+C(e*C(-.30676600337028503));c=C(C(z[b+8>>2]*C(2.0341930389404297))+C(0));z[f>>2]=c;c=C(c+C(z[b+20>>2]*C(-.7274199724197388)));z[f>>2]=c;e=z[b+32>>2];d=a+59316|0;v[d>>2]=0;z[f>>2]=c+C(e*C(-.30676600337028503));c=C(C(z[b>>2]*C(-.22881099581718445))+C(0));z[d>>2]=c;c=C(c+C(z[b+12>>2]*C(1.2317290306091309)));z[d>>2]=c;e=z[b+24>>2];f=a+59320|0;v[f>>2]=0;z[d>>2]=c+C(e*C(-.0029219998978078365));c=C(C(z[b+4>>2]*C(-.22881099581718445))+C(0));z[f>>2]=c;c=C(c+C(z[b+16>>2]*C(1.2317290306091309)));z[f>>2]=c;e=z[b+28>>2];d=a+59324|0;v[d>>2]=0;z[f>>2]=c+C(e*C(-.0029219998978078365));c=C(C(z[b+8>>2]*C(-.22881099581718445))+C(0));z[d>>2]=c;c=C(c+C(z[b+20>>2]*C(1.2317290306091309)));z[d>>2]=c;e=z[b+32>>2];f=a+59332|0;v[f>>2]=0;z[d>>2]=c+C(e*C(-.0029219998978078365));c=C(C(z[b>>2]*C(-.008565000258386135))+C(0));z[f>>2]=c;c=C(c+C(z[b+12>>2]*C(-.15327300131320953)));z[f>>2]=c;e=z[b+24>>2];d=a+59336|0;v[d>>2]=0;z[f>>2]=c+C(e*C(1.1618390083312988));c=C(C(z[b+4>>2]*C(-.008565000258386135))+C(0));z[d>>2]=c;c=C(c+C(z[b+16>>2]*C(-.15327300131320953)));z[d>>2]=c;e=z[b+28>>2];a=a+59340|0;v[a>>2]=0;z[d>>2]=c+C(e*C(1.1618390083312988));c=C(C(z[b+8>>2]*C(-.008565000258386135))+C(0));z[a>>2]=c;c=C(c+C(z[b+20>>2]*C(-.15327300131320953)));z[a>>2]=c;z[a>>2]=c+C(z[b+32>>2]*C(1.1618390083312988))}function E$(a,b){var c=0,d=0,e=0,f=0,g=0;c=Ma-22064|0;Ma=c;nJ(c+15424|0,v[b+100>>2]);v[a+7728>>2]=0;v[a+52>>2]=0;d=v[v[(v[v[a>>2]+8>>2]<<2)+428992>>2]+16>>2];a:{while(1){e=w[d|0];if(!e){break a}if((e|0)==32){while(1){e=w[d+1|0];d=d+1|0;if((e|0)==32){continue}break}}d=Iq(d,a,c+12|0,c+16|0);if(y[c+16>>2]>1){continue}e=Hq(a,c+12|0,0,0);if(!e){continue}break}if(Am(b,e,1)|u[v[b+84>>2]+110>>1]<1){break a}d=c+16|0;eb(d,0,15396);e=v[a+40>>2];v[c+32>>2]=0;v[c+36>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+24>>2]=65536;v[c+28>>2]=65536;v[c+56>>2]=e;v[c+20>>2]=b;e=c+15424|0;v[e+2748>>2]=d;v[e+2740>>2]=v[d+28>>2];if(qw(e,v[b+84>>2]+108|0)){break a}v[c+8>>2]=0;if(So(c+15424|0,0)){break a}ft(c+15424|0,0,0,0);b=v[c+15468>>2];if((b|0)>=1){d=v[c+15476>>2];g=d+B(b,44)|0;f=v[c+8>>2];b=0;while(1){e=v[d+20>>2];if(!(!e|v[e+20>>2]!=(d|0)|(b>>>0>15|d>>>0>=e>>>0))){f=u[d+2>>1]-u[e+2>>1]|0;e=f>>31;v[(B(b,12)+a|0)+56>>2]=e^e+f;f=b+1|0;b=f}d=d+44|0;if(g>>>0>d>>>0){continue}break}v[c+8>>2]=f}ZA(c+8|0,a+56|0,y[c+56>>2]/100|0);v[a+52>>2]=v[c+8>>2];v[c+8>>2]=0;if(So(c+15424|0,1)){break a}ft(c+15424|0,0,0,1);b=v[c+16816>>2];if((b|0)>=1){d=v[c+16824>>2];f=d+B(b,44)|0;while(1){b=v[d+20>>2];b:{if(!b|v[b+20>>2]!=(d|0)|b>>>0<=d>>>0){break b}e=v[c+8>>2];if(e>>>0>15){break b}b=u[b+2>>1];g=u[d+2>>1];v[c+8>>2]=e+1;g=g-b|0;b=g>>31;v[(B(e,12)+a|0)+7732>>2]=b^b+g}d=d+44|0;if(f>>>0>d>>>0){continue}break}}ZA(c+8|0,a+7732|0,y[c+56>>2]/100|0);v[a+7728>>2]=v[c+8>>2]}if(v[a+52>>2]){b=v[a+56>>2]}else{b=(B(v[a+40>>2],50)|0)/2048|0}t[a+256|0]=0;v[a+252>>2]=b;v[a+248>>2]=(b|0)/5;if(v[a+7728>>2]){b=v[a+7732>>2]}else{b=(B(v[a+40>>2],50)|0)/2048|0}t[a+7932|0]=0;v[a+7928>>2]=b;v[a+7924>>2]=(b|0)/5;mJ(c+15424|0);Ma=c+22064|0}function lxa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=v[a+420>>2];if(b){b=v[a>>2];v[b+20>>2]=49;Qa[v[b>>2]](a)}a:{if(v[a+264>>2]){b=v[a+360>>2];if(!v[a+368>>2]){if(!b){v[d+4>>2]=348;break a}v[d+4>>2]=349;break a}if(!b){v[d+4>>2]=350;break a}v[d+4>>2]=351;break a}v[d+4>>2]=352}if(v[a+288>>2]>=1){b=0;while(1){f=b<<2;g=v[(f+a|0)+292>>2];if(!(v[a+360>>2]|v[a+368>>2])){e=v[g+20>>2];if(e>>>0>=16){c=v[a>>2];v[c+24>>2]=e;v[c+20>>2]=50;Qa[v[v[a>>2]>>2]](a)}e=(e<<2)+d|0;c=v[e+76>>2];if(!c){c=Qa[v[v[a+4>>2]>>2]](a,1,64)|0;v[e+76>>2]=c}t[c|0]=0;t[c+1|0]=0;t[c+2|0]=0;t[c+3|0]=0;t[c+4|0]=0;t[c+5|0]=0;t[c+6|0]=0;t[c+7|0]=0;t[c+56|0]=0;t[c+57|0]=0;t[c+58|0]=0;t[c+59|0]=0;t[c+60|0]=0;t[c+61|0]=0;t[c+62|0]=0;t[c+63|0]=0;t[c+48|0]=0;t[c+49|0]=0;t[c+50|0]=0;t[c+51|0]=0;t[c+52|0]=0;t[c+53|0]=0;t[c+54|0]=0;t[c+55|0]=0;t[c+40|0]=0;t[c+41|0]=0;t[c+42|0]=0;t[c+43|0]=0;t[c+44|0]=0;t[c+45|0]=0;t[c+46|0]=0;t[c+47|0]=0;t[c+32|0]=0;t[c+33|0]=0;t[c+34|0]=0;t[c+35|0]=0;t[c+36|0]=0;t[c+37|0]=0;t[c+38|0]=0;t[c+39|0]=0;t[c+24|0]=0;t[c+25|0]=0;t[c+26|0]=0;t[c+27|0]=0;t[c+28|0]=0;t[c+29|0]=0;t[c+30|0]=0;t[c+31|0]=0;t[c+16|0]=0;t[c+17|0]=0;t[c+18|0]=0;t[c+19|0]=0;t[c+20|0]=0;t[c+21|0]=0;t[c+22|0]=0;t[c+23|0]=0;t[c+8|0]=0;t[c+9|0]=0;t[c+10|0]=0;t[c+11|0]=0;t[c+12|0]=0;t[c+13|0]=0;t[c+14|0]=0;t[c+15|0]=0;c=d+f|0;v[c+52>>2]=0;v[c+36>>2]=0}if(v[a+364>>2]){e=v[g+24>>2];if(e>>>0>=16){c=v[a>>2];v[c+24>>2]=e;v[c+20>>2]=50;Qa[v[v[a>>2]>>2]](a)}e=(e<<2)+d|0;c=v[e+140>>2];if(!c){c=Qa[v[v[a+4>>2]>>2]](a,1,256)|0;v[e+140>>2]=c}eb(c,0,256)}b=b+1|0;if((b|0)>2]){continue}break}}v[d+28>>2]=11;v[d+32>>2]=-1;v[d+20>>2]=0;v[d+24>>2]=0;v[d+12>>2]=0;v[d+16>>2]=65536;a=v[a+236>>2];v[d+72>>2]=0;v[d+68>>2]=a}function $Q(a,b,c,d,e,f){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;a:{b:{f=f-16|0;if(f){if((f|0)!=16){break a}h=v[a+20>>2];if((h|0)<1){break a}f=v[a+16>>2];if((f|0)<=0){break a}k=((e>>>0>255)+(e>>>0>65535)|0)+(e>>>0>16777215)|0;j=((d>>>0>255)+(d>>>0>65535)|0)+(d>>>0>16777215)|0;l=((c>>>0>255)+(c>>>0>65535)|0)+(c>>>0>16777215)|0;m=f<<2;n=v[a+56>>2];break b}h=v[a+20>>2];f=v[a+16>>2];if((h|0)<1|(f|0)<=0){break a}g=(((((((((((((((c&1)+(c>>>1&1)|0)+(c>>>2&1)|0)+(c>>>3&1)|0)+(c>>>4&1)|0)+(c>>>5&1)|0)+(c>>>6&1)|0)+(c>>>7&1)|0)+(c>>>8&1)|0)+(c>>>9&1)|0)+(c>>>10&1)|0)+(c>>>11&1)|0)+(c>>>12&1)|0)+(c>>>13&1)|0)+(c>>>14&1)|0)+(c>>>15&1)|0;l=(g+((((((((((((((((d&1)+(d>>>1&1)|0)+(d>>>2&1)|0)+(d>>>3&1)|0)+(d>>>4&1)|0)+(d>>>5&1)|0)+(d>>>6&1)|0)+(d>>>7&1)|0)+(d>>>8&1)|0)+(d>>>9&1)|0)+(d>>>10&1)|0)+(d>>>11&1)|0)+(d>>>12&1)|0)+(d>>>13&1)|0)+(d>>>14&1)|0)+(d>>>15&1)|0)|0)-8|0;m=l+((((((((((((((((e>>>1&1)+(e&1)|0)+(e>>>2&1)|0)+(e>>>3&1)|0)+(e>>>4&1)|0)+(e>>>5&1)|0)+(e>>>6&1)|0)+(e>>>7&1)|0)+(e>>>8&1)|0)+(e>>>9&1)|0)+(e>>>10&1)|0)+(e>>>11&1)|0)+(e>>>12&1)|0)+(e>>>13&1)|0)+(e>>>14&1)|0)+(e>>>15&1)|0)|0;n=8-g|0;o=(f+1|0)/2<<2;p=v[a+56>>2];while(1){g=h-1|0;if((f|0)>=1){q=B(g,v[a+52>>2]);r=B(g,o);while(1){k=f-1|0;i=(k<<1)+r|0;s=w[(i|1)+b|0];j=p+(B(k,3)+q|0)|0;i=w[b+i|0];t[j|0]=(i&e)<>>m;t[j+1|0]=(d&i)>>>l;j=(f|0)>1;f=k;if(j){continue}break}}if((h|0)<2){break a}f=v[a+16>>2];h=g;continue}}while(1){c=h-1|0;if((f|0)>=1){o=B(c,v[a+52>>2]);p=B(c,m);while(1){d=f-1|0;e=n+(o+B(d,3)|0)|0;g=p+(d<<2)|0;t[e|0]=w[(g+k|0)+b|0];t[e+1|0]=w[(g+j|0)+b|0];t[e+2|0]=w[(g+l|0)+b|0];e=(f|0)>1;f=d;if(e){continue}break}}if((h|0)<2){break a}f=v[a+16>>2];h=c;continue}}}function EWa(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;if(v[a+8>>2]!=2){ob(a,1030,0,0);return 1030}if(w[a+284|0]){ob(a,1029,0,0);return 1029}if((c&-17)!=12){ob(a,1028,0,0);return 1028}u[a+284>>1]=257;v[a+12>>2]=2;f=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);g=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);v[a+16>>2]=g;f=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);h=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);v[a+20>>2]=h;f=w[d+8|0]|w[d+9|0]<<8|(w[d+10|0]<<16|w[d+11|0]<<24);v[a+24>>2]=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);a:{b:{c:{if((c|0)!=28){v[a+28>>2]=0;v[a+32>>2]=0;t[a+264|0]=1;v[a+36>>2]=0;v[a+40>>2]=0;d=0;break c}c=w[d+12|0]|w[d+13|0]<<8|(w[d+14|0]<<16|w[d+15|0]<<24);v[a+28>>2]=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=w[d+16|0]|w[d+17|0]<<8|(w[d+18|0]<<16|w[d+19|0]<<24);v[a+32>>2]=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=w[d+20|0]|w[d+21|0]<<8|(w[d+22|0]<<16|w[d+23|0]<<24);v[a+36>>2]=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=w[d+27|0];f=w[d+26|0];i=w[d+25|0];d=w[d+24|0];t[a+264|0]=0;d=c|(i<<16|d<<24|f<<8);v[a+40>>2]=d;if(c&1){break b}}t[a+44|0]=16;break a}if(!(c&8)){t[a+44|0]=0;break a}if((d&320)==64){t[a+44|0]=1;break a}t[a+44|0]=16}if(d&64512){ob(a,1060,0,0);return 1060}d:{if(!(y[a+124>>2]>=g>>>0&y[a+128>>2]>=h>>>0)){d=4097;if(!ob(a,4097,0,0)){break d}}e:{c=v[a+188>>2];if(!c){break e}if(Qa[c|0](a,v[a+16>>2],v[a+20>>2])|0){break e}ob(a,904,0,0);return 904}v[a+48>>2]=v[a+48>>2]+1;d=0;if(!w[a+112|0]){break d}d=Qa[v[b+4>>2]](a,b,e)|0;if(d){break d}b=v[e>>2];v[b+32>>2]=v[a+16>>2];v[b+36>>2]=v[a+20>>2];v[b+40>>2]=v[a+24>>2];v[b+44>>2]=v[a+28>>2];v[b+48>>2]=v[a+32>>2];v[b+52>>2]=v[a+36>>2];v[b+56>>2]=v[a+40>>2];d=0}return d|0}function fTa(a){a=a|0;var 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=Ma-32|0;Ma=c;h=x[a+26306>>1];f=h<<1;if(f>>>0>=B(x[a+26310>>1],3)>>>0){f=(f>>>0)/3|0;u[a+26306>>1]=f;m=B(f,12)-(h<<3)|0}d=v[a+26300>>2];u[a+25204>>1]=d&1?18761:19789;a:{b=x[a+26308>>1];if(!b){break a}j=v[249419];h=0;while(1){b:{if(!(d&2)){f=h;break b}f=((h>>>0)/(b>>>1>>>0)|0)+((h<<1>>>0)%(b>>>0)|0)|0;if((f|0)!=1){break b}f=1;if(!(d&4)){break b}d=v[a+4>>2];e=v[v[a>>2]+8>>2];if(v[a+26116>>2]){g=0;Qa[e|0](d,v[a+26048>>2]-((B(B(x[a+26310>>1],b),-3)|0)/4&-2048)|0,0)|0;break b}g=0;Qa[e|0](d,0,2)|0;b=v[a>>2];d=v[b+8>>2];e=v[a+4>>2];Qa[d|0](e,(Qa[v[b+24>>2]](e)|0)/2|0,0)|0}if(x[a+26306>>1]){n=f<<1&14;d=0;while(1){if((g|0)>11){g=g-12|0}else{v[c+28>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+28|0,1,4)|0;b=w[c+28|0];o=i;if(x[a+25204>>1]==18761){i=b|w[c+29|0]<<8|w[c+30|0]<<16|w[c+31|0]<<24}else{i=w[c+31|0]|(w[c+29|0]<<16|b<<24|w[c+30|0]<<8)}g=g+20|0}b=d-x[a+26314>>1]|0;if(b>>>0>1]){e=x[a+26316>>1];p=(v[a+26352>>2]+(B(x[a+26320>>1],f>>e)+(b>>e)<<3)|0)+((v[a+26028>>2]>>>((n|b&1)<<1)&3)<<1)|0;b=o;k=i;l=52-g|0;e=l&31;if((l&63)>>>0>=32){b=k<>>32-e|b<>1]=b>>>20}c:{if(!(w[a+26300|0]&8)|((d>>>0)%10|0)!=9){break c}g=0;if(!(i&255)){break c}d:{if(v[a+26160>>2]){break d}v[c+16>>2]=v[a+25208>>2];vb(j,8292,c+16|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,j);break d}b=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[c>>2]=b;v[c+4>>2]=b>>31;vb(j,14622,c)}v[a+26160>>2]=1}d=d+1|0;if(d>>>0>1]){continue}break}}b=x[a+26308>>1];h=h+1|0;if(b>>>0<=h>>>0){break a}g=g+m|0;d=v[a+26300>>2];continue}}if(!hb(a+25733|0,44919)){v[a+26120>>2]=v[a+26120>>2]>>>4}Ma=c+32|0}function aYa(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;if(e){p=e-1|0;q=e-2|0;m=(e|0)==1;while(1){a=f;t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];f=a+3|0;g=g+3|0;a:{if(!m&l>>>0>=p>>>0){break a}j=l?(l|0)==(q|0)?d:b:c;n=!l&m;if(n){if(j>>>0<2){break a}h=j-1|0;i=h&3;if(j-2>>>0>=3){h=h&-4;while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];t[g+3|0]=w[a|0];t[g+4|0]=w[a+1|0];t[g+5|0]=w[a+2|0];t[g+6|0]=w[a|0];t[g+7|0]=w[a+1|0];t[g+8|0]=w[a+2|0];t[g+9|0]=w[a|0];t[g+10|0]=w[a+1|0];t[g+11|0]=w[a+2|0];g=g+12|0;h=h-4|0;if(h){continue}break}}if(!i){break a}while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];g=g+3|0;i=i-1|0;if(i){continue}break}break a}i=j+1>>>1|0;b:{if(j>>>0<3){break b}k=i>>>0>2?i:2;o=k-1|0;h=o&3;if(k-2>>>0>=3){k=o&-4;while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];t[g+3|0]=w[a|0];t[g+4|0]=w[a+1|0];t[g+5|0]=w[a+2|0];t[g+6|0]=w[a|0];t[g+7|0]=w[a+1|0];t[g+8|0]=w[a+2|0];t[g+9|0]=w[a|0];t[g+10|0]=w[a+1|0];t[g+11|0]=w[a+2|0];g=g+12|0;k=k-4|0;if(k){continue}break}}if(!h){break b}while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];g=g+3|0;h=h-1|0;if(h){continue}break}}if(i>>>0>=j>>>0){break a}a=n?0:f;k=(i^-1)+j|0;h=j-i&3;if(h){while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];i=i+1|0;g=g+3|0;h=h-1|0;if(h){continue}break}}if(k>>>0<3){break a}while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];t[g+3|0]=w[a|0];t[g+4|0]=w[a+1|0];t[g+5|0]=w[a+2|0];t[g+6|0]=w[a|0];t[g+7|0]=w[a+1|0];t[g+8|0]=w[a+2|0];t[g+9|0]=w[a|0];t[g+10|0]=w[a+1|0];t[g+11|0]=w[a+2|0];g=g+12|0;i=i+4|0;if((j|0)!=(i|0)){continue}break}}l=l+1|0;if((l|0)!=(e|0)){continue}break}}return 0}function Yba(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;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;a=Ma-1072|0;Ma=a;v[a+16>>2]=f;v[a+20>>2]=g;v[a+24>>2]=h;v[a+28>>2]=i;j=a+960|0;v[a+956>>2]=j;j=_i(j,100,273525,a+16|0);v[a+544>>2]=1563;l=a+544|0;m=nf(a+536|0,0,l);v[a+544>>2]=1563;k=nf(a+528|0,0,l);a:{if(j>>>0>=100){j=te();v[a>>2]=f;v[a+4>>2]=g;v[a+8>>2]=h;v[a+12>>2]=i;j=Xl(a+956|0,j,273525,a);if((j|0)==-1){break a}f=v[m>>2];v[m>>2]=v[a+956>>2];if(f){Qa[v[m+4>>2]](f)}g=gb(j<<2);f=v[k>>2];v[k>>2]=g;if(f){Qa[v[k+4>>2]](f)}if(!v[k>>2]){break a}l=v[k>>2]}g=a+520|0;f=v[d+28>>2];v[g>>2]=f;v[f+4>>2]=v[f+4>>2]+1;r=hi(g);f=r;g=v[a+956>>2];Qa[v[v[f>>2]+48>>2]](f,g,g+j|0,l)|0;p=(j|0)>=1?w[v[a+956>>2]]==45:p;q=ud(a+488|0);g=ud(a+472|0);h=ud(a+456|0);ZN(c,p,a+520|0,a+512|0,a+508|0,a+504|0,q,g,h,a+452|0);v[a+48>>2]=1563;c=a+48|0;i=nf(a+40|0,0,c);f=v[a+452>>2];b:{if((f|0)<(j|0)){s=v[a+452>>2];if(w[g+11|0]>>>7|0){n=v[g+4>>2]}else{n=w[g+11|0]}if(w[h+11|0]>>>7|0){o=v[h+4>>2]}else{o=w[h+11|0]}f=(s+(n+(o+(j-f<<1)|0)|0)|0)+1|0;break b}o=v[a+452>>2];if(w[h+11|0]>>>7|0){f=v[h+4>>2]}else{f=w[h+11|0]}if(w[g+11|0]>>>7|0){n=v[g+4>>2]}else{n=w[g+11|0]}f=(o+(f+n|0)|0)+2|0}if(f>>>0>=101){f=gb(f<<2);c=v[i>>2];v[i>>2]=f;if(c){Qa[v[i+4>>2]](c)}c=v[i>>2];if(!c){break a}}YN(c,a+36|0,a+32|0,v[d+4>>2],l,(j<<2)+l|0,r,p,a+512|0,v[a+508>>2],v[a+504>>2],q,g,h,v[a+452>>2]);d=Wm(b,c,v[a+36>>2],v[a+32>>2],d,e);b=v[i>>2];v[i>>2]=0;if(b){Qa[v[i+4>>2]](b)}Vb(h);Vb(g);Vb(q);b=v[a+520>>2];c=v[b+4>>2]-1|0;v[b+4>>2]=c;if((c|0)==-1){Qa[v[v[b>>2]+8>>2]](b)}b=v[k>>2];v[k>>2]=0;if(b){Qa[v[k+4>>2]](b)}b=v[m>>2];v[m>>2]=0;if(b){Qa[v[m+4>>2]](b)}Ma=a+1072|0;return d|0}_f();L()}function DW(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{e:{if(!(!b|!c)){g=ab(40);jV(g,v[b>>2],A[b+8>>3],A[b+16>>3],v[b+24>>2],v[b+28>>2],v[b+32>>2]);b=v[a+4>>2];f=v[a+8>>2];f:{if(b>>>0>>0){v[b>>2]=g;v[a+4>>2]=b+4;break f}e=v[a>>2];h=b-e|0;i=h>>2;b=i+1|0;if(b>>>0>=1073741824){break e}f=f-e|0;j=f>>1;f=f>>2>>>0<536870911?b>>>0>j>>>0?b:j:1073741823;if(f){if(f>>>0>=1073741824){break d}b=ab(f<<2)}else{b=0}i=b+(i<<2)|0;v[i>>2]=g;if((h|0)>=1){cb(b,e,h)}v[a+8>>2]=b+(f<<2);v[a+4>>2]=i+4;v[a>>2]=b;if(!e){break f}$a(e)}b=v[a+28>>2];g:{if((b|0)!=v[a+32>>2]){v[b>>2]=c;v[a+28>>2]=b+4;break g}e=v[a+24>>2];f=b-e|0;h=f>>2;b=h+1|0;if(b>>>0>=1073741824){break c}g=f>>1;g=h>>>0<536870911?b>>>0>g>>>0?b:g:1073741823;if(g){if(g>>>0>=1073741824){break b}b=ab(g<<2)}else{b=0}h=b+(h<<2)|0;v[h>>2]=c;if((f|0)>=1){cb(b,e,f)}v[a+32>>2]=b+(g<<2);v[a+28>>2]=h+4;v[a+24>>2]=b;if(!e){break g}$a(e)}b=v[a+16>>2];e=v[a+20>>2];if((b|0)==e<<5){if((b+1|0)<=-1){break a}c=Ma-16|0;Ma=c;h:{i:{if(b>>>0<=1073741822){b=b+32&-32;e=e<<6;b=b>>>0>e>>>0?b:e}else{b=2147483647}j:{if(b>>>0<=v[a+20>>2]<<5>>>0){break j}v[c+8>>2]=0;v[c>>2]=0;v[c+4>>2]=0;if((b|0)<=-1){break i}g=(b-1>>>5|0)+1|0;e=ab(g<<2);v[c+8>>2]=g;v[c>>2]=e;f=v[a+12>>2];b=v[a+16>>2];v[c+4>>2]=b;v[e+((b>>>0<33?0:b-1>>>5|0)<<2)>>2]=0;k:{if((b|0)<1){break k}h=b>>>5|0;i=h<<2;j=id(e,f,i);b=b-(h<<5)|0;if((b|0)<1){break k}i=i+j|0;b=-1>>>32-b|0;v[i>>2]=v[i>>2]&(b^-1)|b&v[f+(h<<2)>>2]}v[a+20>>2]=g;v[a+12>>2]=e;if(!f){break j}$a(f)}Ma=c+16|0;break h}Jc();L()}b=v[a+16>>2]}v[a+16>>2]=b+1;c=1<>2]+(b>>>3&536870908)|0;b=a;if(d){a=c|v[a>>2]}else{a=v[a>>2]&(c^-1)}v[b>>2]=a}return}Jc();L()}Zd(273730);L()}Jc();L()}Zd(273730);L()}Jc();L()}function B2a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=y[a+4>>2]/((y[b>>2]>256?9:7)>>>0)|0;v[a+12>>2]=d;e=gb(d<<4);v[a+16>>2]=e;a:{if(!e){break a}if(v[a+12>>2]<1){return 0}b:{while(1){d=v[c+8>>2];if(d&7){break a}f=v[c+64>>2];if((f|0)>=0&(f|0)<=v[c+60>>2]){break b}d=v[c+28>>2];v[c+28>>2]=d-1;c:{if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;d=v[c+24>>2];v[c+24>>2]=d+1;d=w[d|0];break c}d=Eb(c,1);if((d|0)==-1){break a}}t[e+1|0]=d;d:{if(y[b>>2]>=257){if(!qf(c,e+4|0)){break d}break a}d=v[c+8>>2];if(d&7){break a}f=v[c+64>>2];if((f|0)>=0&(f|0)<=v[c+60>>2]){break b}d=v[c+28>>2];v[c+28>>2]=d-1;e:{if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;d=v[c+24>>2];v[c+24>>2]=d+1;d=w[d|0];break e}d=Eb(c,1);if((d|0)==-1){break a}}v[e+4>>2]=d&255}if(qf(c,e+12|0)){break a}d=v[c+8>>2];if(d&7){break a}f=v[c+64>>2];if((f|0)>=0&(f|0)<=v[c+60>>2]){break b}d=v[c+28>>2];v[c+28>>2]=d-1;f:{if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;d=v[c+24>>2];v[c+24>>2]=d+1;d=w[d|0];break f}d=Eb(c,1);if((d|0)==-1){break a}}t[e+2|0]=d;g:{if(y[b>>2]>=257){if(!qf(c,e+8|0)){break g}break a}d=v[c+8>>2];if(d&7){break a}f=v[c+64>>2];if((f|0)>=0&(f|0)<=v[c+60>>2]){break b}d=v[c+28>>2];v[c+28>>2]=d-1;h:{if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;d=v[c+24>>2];v[c+24>>2]=d+1;d=w[d|0];break h}d=Eb(c,1);if((d|0)==-1){break a}}v[e+8>>2]=d&255}d=v[c+8>>2];if(d&7){break a}f=v[c+64>>2];if((f|0)>=0&(f|0)<=v[c+60>>2]){break b}d=v[c+28>>2];v[c+28>>2]=d-1;i:{if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;d=v[c+24>>2];v[c+24>>2]=d+1;d=w[d|0];break i}d=Eb(c,1);if((d|0)==-1){break a}}t[e|0]=d;if(w[e+1|0]>w[e+2|0]|y[e+4>>2]>y[e+8>>2]){break a}e=e+16|0;g=g+1|0;if((g|0)>2]){continue}break}return 0}v[c+8>>2]=d|4}a=v[a+16>>2];if(a){$a(a)}return-1}function BXa(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,v=0,y=0,z=0;if(e){y=e-1|0;z=e-2|0;v=(e|0)==1;while(1){a=f;u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];f=a+6|0;g=g+6|0;a:{if(!v&n>>>0>=y>>>0){break a}j=n?(n|0)==(z|0)?d:b:c;k=!n&v;if(!k){l=1;if(j>>>0<=1){break a}o=a+4|0;p=a+2|0;k=k?0:f;q=k+4|0;r=k+2|0;s=j<<1;while(1){i=x[a>>1];b:{if((i|0)==x[k>>1]){u[g>>1]=i;break b}i=w[a|0]|w[a+1|0]<<8;h=i;m=(h<<8|h>>>8)&65535;h=w[k|0]|w[k+1|0]<<8;i=m+((j+(B(((h<<8|h>>>8)&65535)-((i<<8|i>>>8)&65535)|0,l)<<1)|0)/(s|0)|0)&65535;i=i<<8|i>>>8;t[g|0]=i;t[g+1|0]=i>>>8}i=g+2|0;h=x[p>>1];c:{if((h|0)==x[r>>1]){u[i>>1]=h;break c}h=w[p|0]|w[p+1|0]<<8;m=w[r|0]|w[r+1|0]<<8;h=((h<<8|h>>>8)&65535)+((j+(B(((m<<8|m>>>8)&65535)-((h<<8|h>>>8)&65535)|0,l)<<1)|0)/(s|0)|0)&65535;h=h<<8|h>>>8;t[i|0]=h;t[i+1|0]=h>>>8}i=g+4|0;h=x[o>>1];d:{if((h|0)==x[q>>1]){u[i>>1]=h;break d}h=w[o|0]|w[o+1|0]<<8;m=w[q|0]|w[q+1|0]<<8;h=((h<<8|h>>>8)&65535)+((j+(B(((m<<8|m>>>8)&65535)-((h<<8|h>>>8)&65535)|0,l)<<1)|0)/(s|0)|0)&65535;h=h<<8|h>>>8;t[i|0]=h;t[i+1|0]=h>>>8}g=g+6|0;l=l+1|0;if((j|0)!=(l|0)){continue}break}break a}if(j>>>0<2){break a}k=j-1|0;l=k&3;if(j-2>>>0>=3){j=k&-4;while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];u[g+6>>1]=x[a>>1];u[g+8>>1]=x[a+2>>1];u[g+10>>1]=x[a+4>>1];u[g+12>>1]=x[a>>1];u[g+14>>1]=x[a+2>>1];u[g+16>>1]=x[a+4>>1];u[g+18>>1]=x[a>>1];u[g+20>>1]=x[a+2>>1];u[g+22>>1]=x[a+4>>1];g=g+24|0;j=j-4|0;if(j){continue}break}}if(!l){break a}while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];g=g+6|0;l=l-1|0;if(l){continue}break}}n=n+1|0;if((n|0)!=(e|0)){continue}break}}return 0}function l3(a,b){var 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=Ma-32|0;Ma=c;a:{if(!a|((a?v[a+8>>2]:-1)|0)!=2){break a}f=a?v[a+36>>2]:0;if(!(b|!f)){d=kk(a,1);break a}h=c+28|0;i=c+24|0;if(a){if(h){v[h>>2]=v[a>>2]}if(i){v[i>>2]=v[a+4>>2]}}e=Mg(v[c+28>>2],v[c+24>>2],8);if(!e){break a}if(!(!a|!e|(a|0)==(e|0))){v[e+20>>2]=v[a+20>>2];v[e+24>>2]=v[a+24>>2]}n=a?v[a+40>>2]:0;o=a?v[a+12>>2]:-1;h=e?v[e+40>>2]:0;i=e?v[e+12>>2]:-1;b:{if((b|0)==1){d=Y2();c:{if(f){b=f?v[f+12>>2]:0;if((b|0)<1){break c}a=0;while(1){$o(f,a,c+20|0,c+16|0,c+12|0);Lg(d,v[c+20>>2],v[c+16>>2],v[c+12>>2]);a=a+1|0;if((b|0)!=(a|0)){continue}break}break c}Lg(d,0,0,0);Lg(d,85,85,85);Lg(d,170,170,170);Lg(d,255,255,255)}AK(e,d);a=v[c+24>>2];if((a|0)<1){break b}b=v[c+28>>2];if((b|0)<1){break b}d=0;while(1){if((b|0)>=1){k=(B(d,i)<<2)+h|0;f=(B(d,o)<<2)+n|0;a=0;while(1){t[a+k^3]=v[f+(a>>>2&1073741820)>>2]>>>((a<<1^-1)&30)&3;a=a+1|0;b=v[c+28>>2];if((a|0)<(b|0)){continue}break}a=v[c+24>>2]}d=d+1|0;if((d|0)<(a|0)){continue}break}break b}g=Yb(256,4);if(!g){break a}t[c+23|0]=255;t[c+22|0]=170;t[c+21|0]=85;t[c+20|0]=0;a=0;while(1){b=c+20|0;v[g+(a<<2)>>2]=w[b+(a&3)|0]|(w[b+(a>>>4&3)|0]<<16|w[b+(a>>>6|0)|0]<<24|w[b+(a>>>2&3)|0]<<8);a=a+1|0;if((a|0)!=256){continue}break}d:{if(v[c+24>>2]<1){break d}d=v[c+28>>2];if((d|0)<1){break d}a=(d+3|0)/4|0;a=(a|0)>1?a:1;b=a&2147483646;p=a&1;k=(d|0)<5;while(1){l=(B(i,j)<<2)+h|0;m=(B(j,o)<<2)+n|0;a=0;d=b;if(!k){while(1){v[l+(a<<2)>>2]=v[g+(w[a+m^3]<<2)>>2];f=a|1;v[l+(f<<2)>>2]=v[g+(w[f+m^3]<<2)>>2];a=a+2|0;d=d-2|0;if(d){continue}break}}if(p){v[l+(a<<2)>>2]=v[g+(w[a+m^3]<<2)>>2]}j=j+1|0;if((j|0)>2]){continue}break}}$a(g)}d=e}Ma=c+32|0;return d}function Iva(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;d=Ma-112|0;Ma=d;a:{if(w[a+203|0]){break a}g=v[a+168>>2];if(!g){break a}v[d+80>>2]=0;v[d+84>>2]=0;v[d+72>>2]=0;v[d+76>>2]=0;v[d+64>>2]=0;v[d+68>>2]=0;b:{if(!NW(g,v[b+492>>2]+8|0,d+56|0)|v[b+592>>2]==3){break b}j=v[c>>2];g=ab((j&1073741823)!=(j|0)?-1:j<<2);b=0;v[d+48>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;c:{if((j|0)<1){break c}e=v[d+92>>2];if(e){while(1){h=t[v[c+4>>2]+b|0];if(e){Ap(d+40|0,x[(h<<2)+e>>1])}f=g+(b<<2)|0;e=v[d+88>>2];d:{if(e){e=v[e+(h<<2)>>2];break d}e=h?h:65534}v[f>>2]=e;b=b+1|0;if((b|0)>=v[c>>2]){break c}e=v[d+92>>2];continue}}c=v[c+4>>2];h=v[d+88>>2];if(h){e=j&3;if(j-1>>>0>=3){i=j&-4;while(1){v[g+(b<<2)>>2]=v[h+(t[b+c|0]<<2)>>2];f=b|1;v[g+(f<<2)>>2]=v[h+(t[c+f|0]<<2)>>2];f=b|2;v[g+(f<<2)>>2]=v[h+(t[c+f|0]<<2)>>2];f=b|3;v[g+(f<<2)>>2]=v[h+(t[c+f|0]<<2)>>2];b=b+4|0;i=i-4|0;if(i){continue}break}}if(!e){break c}while(1){v[g+(b<<2)>>2]=v[h+(t[b+c|0]<<2)>>2];b=b+1|0;e=e-1|0;if(e){continue}break}break c}h=j&3;if(j-1>>>0>=3){e=j&-4;while(1){i=t[b+c|0];v[g+(b<<2)>>2]=i?i:65534;f=b|1;i=t[f+c|0];v[g+(f<<2)>>2]=i?i:65534;f=b|2;i=t[f+c|0];v[g+(f<<2)>>2]=i?i:65534;f=b|3;i=t[f+c|0];v[g+(f<<2)>>2]=i?i:65534;b=b+4|0;e=e-4|0;if(e){continue}break}}if(!h){break c}while(1){e=t[b+c|0];v[g+(b<<2)>>2]=e?e:65534;b=b+1|0;h=h-1|0;if(h){continue}break}}a=v[a+104>>2];v[d+32>>2]=954437176;v[d+36>>2]=1078043534;v[d+24>>2]=954437176;v[d+28>>2]=1078043534;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;Qa[v[v[a>>2]+284>>2]](a,d+40|0,g,j,d+32|0,d+24|0,d+16|0,d+8|0)|0;$a(g);if(t[d+51|0]>-1){break b}$a(v[d+40>>2])}if(t[d+87|0]<=-1){$a(v[d+76>>2])}if(t[d+75|0]>-1){break a}$a(v[d+64>>2])}Ma=d+112|0}function fA(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=Ma-16|0;Ma=g;a:{b:{d=v[a+372>>2];if(d){v[a+372>>2]=v[d+24>>2];v[a+368>>2]=v[a+368>>2]-1;break b}d=Qa[v[256552]](60)|0;if(d){break b}if(!(!v[a+212>>2]|v[a+172>>2]!=-1)){d=0;break a}v[a+212>>2]=1;v[a+172>>2]=-1;v[a+84>>2]=2;v[g>>2]=235068;nb(0,0,0,a,0,1,2,3,235068,0,0,0,340689,g);d=0;break a}v[d>>2]=0;v[d+4>>2]=0;v[d+56>>2]=0;v[d+48>>2]=0;v[d+52>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=0;v[d+36>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;c:{d:{e:{if(!v[a+364>>2]){break e}f=b+c|0;e=w[f|0];f:{g:{if((c|0)>7){break g}if(t[a+362|0]&1){e=d+44|0;j=cb(e,b,c)+c|0,k=0,t[j|0]=k;v[d+8>>2]=874220;v[d+4>>2]=3;break c}if((c|0)>3){break g}h:{switch(e-34|0){case 26:break h;case 0:case 5:break f;default:break g}}if(w[f+1|0]!=33){break f}}h=w[b|0];i=h-9|0;i:{if(!(1<>>0<=23:0)){if((h|0)!=13|(c|0)>59){break e}if((e|0)==60){break i}break e}if((e|0)!=60|(c|0)>59){break e}}e=1;if(w[f+1|0]==33){break e}if((c|0)<2){break f}while(1){f=w[b+e|0]-9|0;if(f>>>0>23|!(1<>2],b,c);v[d+8>>2]=874220;v[d+4>>2]=3;if(e){break c}break d}v[d+8>>2]=874220;v[d+4>>2]=3}j:{if(!(!b|(c|0)<0)){e=Qa[v[256555]](c+1|0)|0;if(e){break j}nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0)}v[d+40>>2]=0;Zj(a,283967);Qa[v[256556]](d);d=0;break a}j=cb(e,b,c)+c|0,k=0,t[j|0]=k}v[d+40>>2]=e;k:{if(!v[a+280>>2]){break k}b=v[a+36>>2];if(!b){break k}b=v[b+28>>2];if((b|0)<=65534){u[d+56>>1]=b;break k}u[d+56>>1]=65535;if(!(w[a+362|0]&64)){break k}v[d+52>>2]=b}l:{if(!v[291069]){break l}a=v[291066];if(!a){break l}Qa[a|0](d)}}Ma=g+16|0;return d}function pR(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=Ma-32|0;Ma=d;v[a>>2]=0;v[a+4>>2]=v[279250];b=v[b+8>>2];a:{if(b){lg(d+8|0);e=v[d+8>>2];f=e;g=Ma-16|0;Ma=g;b:{if(!(!v[b+8>>2]|v[b+20>>2]>=v[b+28>>2]|v[b+24>>2]>=v[b+32>>2])){sR(f,b+8|0,1,v[b+52>>2],c);break b}b=g+8|0;rR(b,1);Li(f,b);db(b);LE(b,1);Li(f,b);db(b)}Ma=g+16|0;Qa[v[v[e>>2]+20>>2]](e,0,0,0)|0;h=d+16|0;b=Ma-16|0;Ma=b;i=pc(b,b+12|0,0,1);c=Qa[v[v[e>>2]+28>>2]](e)|0;c:{if((c|0)>=1){f=c+1|0;Sc(b,f,1);c=0;while(1){g=Qa[v[v[e>>2]+8>>2]](e,v[b+12>>2]+c|0,f)|0;if((g|0)<1){break c}c=c+g|0;f=f-g|0;if(f){continue}break}break c}Sc(b,32768,1);c=0;f=Qa[v[v[e>>2]+8>>2]](e,v[b+12>>2],32768)|0;if((f|0)<1){break c}while(1){c=c+f|0;Sc(b,c+32768|0,1);f=Qa[v[v[e>>2]+8>>2]](e,v[b+12>>2]+c|0,32768)|0;if((f|0)>0){continue}break}}t[v[b+12>>2]+c|0]=0;Oc(h,v[b+12>>2]);ec(i);Ma=b+16|0;b=v[d+8>>2];v[d+8>>2]=0;d:{if(!b){break d}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break d}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[d+16>>2];e:{if(b){Qa[v[v[b>>2]+28>>2]](d+8|0,b,1);break e}v[d+8>>2]=0}jb(a,d+8|0);b=v[d+8>>2];v[d+8>>2]=0;f:{if(!b){break f}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break f}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=a;a=v[a>>2];v[b+4>>2]=v[(a?a+12|0:1117e3)>>2];db(d+16|0);break a}b=d+8|0;c=Oc(d,309230);Rc(b,313439,c);ic(d+16|0,b,346318);b=v[d+16>>2];g:{if(b){Qa[v[v[b>>2]+28>>2]](d+24|0,b,1);break g}v[d+24>>2]=0}jb(a,d+24|0);b=v[d+24>>2];v[d+24>>2]=0;h:{if(!b){break h}e=v[b+4>>2]-1|0;v[b+4>>2]=e;if(e){break h}e=v[b+4>>2];if(!e){v[b+4>>2]=-32767}if(!e){Qa[v[v[b>>2]+4>>2]](b)}}b=a;a=v[a>>2];v[b+4>>2]=v[(a?a+12|0:1117e3)>>2];db(d+16|0);db(d+8|0);db(c)}Ma=d+32|0}function _ba(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;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;a=Ma-464|0;Ma=a;v[a+16>>2]=f;v[a+20>>2]=g;v[a+24>>2]=h;v[a+28>>2]=i;j=a+352|0;v[a+348>>2]=j;j=_i(j,100,273525,a+16|0);v[a+240>>2]=1563;l=a+240|0;m=nf(a+232|0,0,l);v[a+240>>2]=1563;k=nf(a+224|0,0,l);a:{if(j>>>0>=100){j=te();v[a>>2]=f;v[a+4>>2]=g;v[a+8>>2]=h;v[a+12>>2]=i;j=Xl(a+348|0,j,273525,a);if((j|0)==-1){break a}f=v[m>>2];v[m>>2]=v[a+348>>2];if(f){Qa[v[m+4>>2]](f)}g=gb(j);f=v[k>>2];v[k>>2]=g;if(f){Qa[v[k+4>>2]](f)}if(!v[k>>2]){break a}l=v[k>>2]}g=a+216|0;f=v[d+28>>2];v[g>>2]=f;v[f+4>>2]=v[f+4>>2]+1;r=Yi(g);f=r;g=v[a+348>>2];Qa[v[v[f>>2]+32>>2]](f,g,g+j|0,l)|0;p=(j|0)>=1?w[v[a+348>>2]]==45:p;q=ud(a+192|0);g=ud(a+176|0);h=ud(a+160|0);aO(c,p,a+216|0,a+208|0,a+207|0,a+206|0,q,g,h,a+156|0);v[a+48>>2]=1563;c=a+48|0;i=nf(a+40|0,0,c);f=v[a+156>>2];b:{if((f|0)<(j|0)){s=v[a+156>>2];if(w[g+11|0]>>>7|0){n=v[g+4>>2]}else{n=w[g+11|0]}if(w[h+11|0]>>>7|0){o=v[h+4>>2]}else{o=w[h+11|0]}f=(s+(n+(o+(j-f<<1)|0)|0)|0)+1|0;break b}o=v[a+156>>2];if(w[h+11|0]>>>7|0){f=v[h+4>>2]}else{f=w[h+11|0]}if(w[g+11|0]>>>7|0){n=v[g+4>>2]}else{n=w[g+11|0]}f=(o+(f+n|0)|0)+2|0}if(f>>>0>=101){f=gb(f);c=v[i>>2];v[i>>2]=f;if(c){Qa[v[i+4>>2]](c)}c=v[i>>2];if(!c){break a}}$N(c,a+36|0,a+32|0,v[d+4>>2],l,j+l|0,r,p,a+208|0,t[a+207|0],t[a+206|0],q,g,h,v[a+156>>2]);d=Xm(b,c,v[a+36>>2],v[a+32>>2],d,e);b=v[i>>2];v[i>>2]=0;if(b){Qa[v[i+4>>2]](b)}Vb(h);Vb(g);Vb(q);b=v[a+216>>2];c=v[b+4>>2]-1|0;v[b+4>>2]=c;if((c|0)==-1){Qa[v[v[b>>2]+8>>2]](b)}b=v[k>>2];v[k>>2]=0;if(b){Qa[v[k+4>>2]](b)}b=v[m>>2];v[m>>2]=0;if(b){Qa[v[m+4>>2]](b)}Ma=a+464|0;return d|0}_f();L()}function Kua(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,p=0,q=0,r=0,s=0,t=0,u=0,x=0,y=0;m=Ma+-64|0;d=a;while(1){a:{e=d;d=v[(i<<2)+b>>2]+c|0;f=w[d+4|0];g=w[d+5|0];r=f-g|0;l=w[d|0];n=w[d+9|0];h=l-n|0;s=r+h|0;o=w[d+2|0];t=w[d+7|0];u=o-t|0;p=w[d+1|0];q=w[d+8|0];j=p-q|0;x=w[d+3|0];y=w[d+6|0];d=x-y|0;k=j-d|0;v[e+20>>2]=s-(u+k|0)<<1;f=f+g|0;g=l+n|0;l=f+g|0;x=x+y|0;p=p+q|0;q=x+p|0;o=o+t|0;v[e>>2]=(l+(q+o|0)<<1)-2560;n=o<<1;v[e+16>>2]=(B(q-n|0,-3580)+B(l-n|0,9373)|0)+2048>>12;g=g-f|0;l=p-x|0;f=B(g+l|0,6810)+2048|0;v[e+24>>2]=f+B(l,-17828)>>12;v[e+8>>2]=f+B(g,4209)>>12;f=(B(h-r|0,7791)+B(d+j|0,-4815)|0)+2048|0;g=u<<13;k=((k<<12)-g|0)+B(k+s|0,2531)|0;v[e+28>>2]=f-k>>12;v[e+12>>2]=f+k>>12;v[e+4>>2]=(((g+(B(h,11443)+B(j,10323)|0)|0)+B(d,5260)|0)+B(r,1812)|0)+2048>>12;h=i-7|0;i=i+1|0;r=7;d=m;b:{switch(h|0){case 0:continue;case 2:break a;default:break b}}d=e+32|0;continue}break}while(1){m=v[a+192>>2];i=v[a+96>>2];b=m+i|0;e=v[d>>2];h=v[a+32>>2];c=e+h|0;j=b+c|0;k=v[a+224>>2];f=v[a+64>>2];g=k+f|0;l=g<<1;n=v[a+160>>2];s=v[a+128>>2];o=n+s|0;t=v[d+32>>2];u=v[a>>2];p=t+u|0;q=o+p|0;v[a+128>>2]=(B(j-l|0,-4582)+B(q-l|0,11997)|0)+16384>>15;v[a>>2]=B(q+(g+j|0)|0,10486)+16384>>15;j=p-o|0;c=c-b|0;b=B(j+c|0,8716)+16384|0;v[a+192>>2]=b+B(c,-22820)>>15;v[a+64>>2]=b+B(j,5387)>>15;b=s-n|0;c=u-t|0;j=b+c|0;e=h-e|0;m=i-m|0;i=e-m|0;h=f-k|0;v[a+160>>2]=B(j-(i+h|0)|0,10486)+16384>>15;k=(B(c-b|0,9973)+B(e+m|0,-6163)|0)+16384|0;h=B(h,10486);i=(B(i,5243)-h|0)+B(i+j|0,3240)|0;v[a+224>>2]=k-i>>15;v[a+96>>2]=i+k>>15;v[a+32>>2]=(((h+(B(c,14647)+B(e,13213)|0)|0)+B(m,6732)|0)+B(b,2320)|0)+16384>>15;b=r;r=b-1|0;d=d+4|0;a=a+4|0;if(b){continue}break}}function vT(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=Ma-176|0;Ma=d;v[d+8>>2]=0;v[d>>2]=0;v[d+4>>2]=0;v[d+96>>2]=965884;v[d+32>>2]=965864;v[d+40>>2]=965644;v[d+36>>2]=0;e=d+44|0;Gr(d+96|0,e);v[d+168>>2]=0;v[d+172>>2]=-1;v[d+96>>2]=965664;v[d+32>>2]=965624;v[d+40>>2]=965644;g=Fx(e);v[d+76>>2]=0;v[d+80>>2]=0;v[d+84>>2]=0;v[d+88>>2]=0;v[d+92>>2]=24;v[d+44>>2]=965476;Sy(e,a);v[d+24>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;a:{a=ns(d+32|0,d+16|0,44);if(w[(v[v[a>>2]-12>>2]+a|0)+16|0]&5){break a}e=0;while(1){b:{if((e|0)!=(f|0)){c:{if(t[d+27|0]>=0){a=v[d+20>>2];v[e>>2]=v[d+16>>2];v[e+4>>2]=a;v[e+8>>2]=v[d+24>>2];break c}vc(e,v[d+16>>2],v[d+20>>2])}v[d+4>>2]=e+12;break b}yw(d,d+16|0)}a=ns(d+32|0,d+16|0,44);if(w[(v[v[a>>2]-12>>2]+a|0)+16|0]&5){break a}f=v[d+8>>2];e=v[d+4>>2];continue}}if(t[d+27|0]<=-1){$a(v[d+16>>2])}v[d+96>>2]=965664;v[d+32>>2]=965624;v[d+44>>2]=965476;v[d+40>>2]=965644;if(t[d+87|0]<=-1){$a(v[d+76>>2])}Nh(g);Kf(d+96|0);d:{a=v[d>>2];e=(v[d+4>>2]-a|0)/12|0;if(e>>>0>3){f=w[a+11|0];if(f<<24>>24<0?v[a+4>>2]:f){h=+(qr(a)|0);a=v[d>>2];e=(v[d+4>>2]-a|0)/12|0}A[b>>3]=h*c;if(e>>>0<=1){break d}f=b;g=w[a+23|0];if(g<<24>>24<0?v[a+16>>2]:g){g=qr(a+12|0);a=v[d>>2];e=(v[d+4>>2]-a|0)/12|0;h=+(g|0)}else{h=0}A[f+8>>3]=h*c;if(e>>>0<3){break d}f=b;g=w[a+35|0];if(g<<24>>24<0?v[a+28>>2]:g){g=qr(a+24|0);a=v[d>>2];e=(v[d+4>>2]-a|0)/12|0;h=+(g|0)}else{h=0}A[f+16>>3]=h*c;if(e>>>0<4){break d}f=w[a+47|0];e:{if(!(f<<24>>24<0?v[a+40>>2]:f)){h=0;break e}h=+(qr(a+36|0)|0);a=v[d>>2]}A[b+24>>3]=h*c}if(a){f=v[d+4>>2];if((f|0)==(a|0)){b=a}else{while(1){b=f-12|0;if(t[f-1|0]<=-1){$a(v[b>>2])}f=b;if((f|0)!=(a|0)){continue}break}b=v[d>>2]}v[d+4>>2]=a;$a(b)}Ma=d+176|0;return}gi();L()}function ML(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,p=0,q=0;a:{e=v[a+4>>2];if(!e|!e){break a}l=v[a+44>>2];if(!l){break a}b:{c:{if(!l){break c}m=e+40|0;g=b>>>0>=l>>>0;if(!g){h=m+(b<<2)|0;i=w[h|0];k=w[h+3|0];n=w[h+1|0];h=w[h+2|0]}if(c>>>0>>0){d=m+(c<<2)|0;o=w[d|0];j=w[d+3|0];f=w[d+2|0];d=w[d+1|0]}if(g){break c}g=m+(b<<2)|0;t[g|0]=o;t[g+1|0]=d;t[g+2|0]=f;t[g+3|0]=j;t[a+481|0]=0;e=v[a+4>>2];if(!e){break b}}d=v[a+44>>2];if(!d|c>>>0>=d>>>0){break b}d=(e+40|0)+(c<<2)|0;t[d|0]=i;t[d+1|0]=n;t[d+2|0]=h;t[d+3|0]=k;t[a+481|0]=0}k=v[a+20>>2];if((k|0)<1){break a}d=v[a+16>>2];if((d|0)<1){break a}l=b&15;m=b&1;o=c&15;g=c&1;i=0;while(1){e=0;if((d|0)>0){while(1){d:{e:{f:{g:{f=x[a+26>>1];if((f|0)!=8){j=v[a+56>>2];n=B(v[a+52>>2],i);h=B(e,f)>>>3|0;k=w[j+(n+h|0)|0];d=0;h:{i:{j:{f=f-1|0;switch(f|0){case 0:break i;case 3:break j;default:break h}}d=B(e&1,252)+4&252;d=(k&15<>>d|0;break h}d=(e^-1)&7;d=(k&1<>>d|0}if((b|0)!=(d|0)){break d}j=h+(j+n|0)|0;d=b;switch(f|0){case 0:break f;case 3:break g;default:break d}}f=v[a+56>>2]+(B(v[a+52>>2],i)+e|0)|0;d=w[f|0];if((d|0)!=(b|0)){break d}t[f|0]=c;break e}d=B(e&1,252)+4&252;t[j|0]=w[j|0]&(15<>1];if((d|0)==8){t[v[a+56>>2]+(B(v[a+52>>2],i)+e|0)|0]=b;break k}f=v[a+56>>2]+B(v[a+52>>2],i)+(B(d,e)>>>3)|0;l:{switch(d-1|0){case 3:d=B(e&1,252)+4&252;t[f|0]=w[f|0]&(15<>2];e=e+1|0;if((d|0)>(e|0)){continue}break}k=v[a+20>>2]}i=i+1|0;if((k|0)>(i|0)){continue}break}}}function FDa(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,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,z=0,A=0,C=0,D=0;x=Ma-192|0;Ma=x;h=v[a+332>>2];b=v[b+84>>2];a=x;while(1){k=v[b+64>>2];i=u[c+32>>1];g=B(u[c>>1],v[b>>2])<<13|1024;j=B(v[b+128>>2],u[c+64>>1]);r=g+B(j,-11586)>>11;f=B(v[b+32>>2],u[c+16>>1]);n=B(v[b+96>>2],u[c+48>>1]);l=B(v[b+160>>2],u[c+80>>1]);o=f-(n+l|0)<<2;v[a+128>>2]=r-o;v[a+32>>2]=o+r;k=B(B(i,k),10033);i=g+B(j,5793)|0;j=k+i|0;g=f+n<<13;f=B(f+l|0,2998);g=g+f|0;v[a+160>>2]=j-g>>11;v[a>>2]=g+j>>11;k=i-k|0;f=f+(l-n<<13)|0;v[a+96>>2]=k-f>>11;v[a+64>>2]=f+k>>11;a=a+4|0;b=b+4|0;c=c+2|0;p=p+1|0;if((p|0)!=8){continue}break}b=h+128|0;n=0;a=x;while(1){l=v[a+4>>2];h=v[a+20>>2];i=l+h|0;f=v[a+28>>2];k=B(i+f|0,7053);c=v[(n<<2)+d>>2]+e|0;o=k+B(i,2139)|0;j=v[a+12>>2];r=B(j,10703);p=o+(r+B(l,2295)|0)|0;m=v[a+24>>2];s=m<<13;g=v[a+8>>2];y=s+B(g,11190)|0;z=B(v[a+16>>2],10033);i=(v[a>>2]<<13)+131072|0;A=z+i|0;q=y+A|0;t[c|0]=w[b+(p+q>>>18&1023)|0];t[c+11|0]=w[b+(q-p>>>18&1023)|0];p=g-m<<13;m=p+i|0;q=l-f|0;C=j-h|0;D=B(q+C|0,4433);q=D+B(q,6270)|0;t[c+1|0]=w[b+(m+q>>>18&1023)|0];t[c+10|0]=w[b+(m-q>>>18&1023)|0];j=B(j,-4433);m=j+B(h,-12112)|0;h=B(f+h|0,-8565);o=(m+h|0)+o|0;g=B(g,2998)-s|0;m=i-z|0;s=g+m|0;t[c+2|0]=w[b+(o+s>>>18&1023)|0];t[c+9|0]=w[b+(s-o>>>18&1023)|0];h=h+(k+(B(f,12998)-r|0)|0)|0;g=m-g|0;t[c+3|0]=w[b+(h+g>>>18&1023)|0];t[c+8|0]=w[b+(g-h>>>18&1023)|0];h=B(C,-15137)+D|0;i=i-p|0;t[c+4|0]=w[b+(h+i>>>18&1023)|0];t[c+7|0]=w[b+(i-h>>>18&1023)|0];f=k+((j+B(l,-5540)|0)+B(f,-16244)|0)|0;l=A-y|0;t[c+5|0]=w[b+(f+l>>>18&1023)|0];t[c+6|0]=w[b+(l-f>>>18&1023)|0];a=a+32|0;n=n+1|0;if((n|0)!=6){continue}break}Ma=x+192|0}function uh(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{if(v[c+8>>2]==-1){break a}f=c+8|0;j=b;b:{while(1){g=(e<<4)+c|0;h=v[g+4>>2];if(h>>>0>i>>>0){b=v[a+8>>2];while(1){k=d<<1;l=a;c:{if(b){d=v[a+4>>2];b=b-1|0;break c}b=v[a>>2];d=Qa[v[v[b>>2]+28>>2]](b)|0;v[a+4>>2]=d;v[a+12>>2]=v[a+12>>2]+1;h=v[g+4>>2];b=7}v[l+8>>2]=b;d=d>>>b&1|k;i=i+1|0;if(h>>>0>i>>>0){continue}break}}d:{if(v[g+12>>2]==(d|0)){c=(e<<4)+c|0;e:{f:{b=v[f>>2];switch(b+3|0){case 1:break a;case 0:break f;case 3:break d;default:break e}}d=v[a+4>>2];f=v[c>>2];c=v[a+8>>2];if(c>>>0>=32){b=a;a=c-32|0;v[b+8>>2]=a;a=f-(d>>>a|0)|0;break b}v[a+8>>2]=0;b=32-c|0;d=d&(-1<>>0<=24){e=24-c|0;if(!(e&8)){b=v[a>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;v[a+12>>2]=v[a+12>>2]+1;d=b&255|d<<8;b=24-c|0}if(e>>>0>=8){while(1){c=v[a>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;v[a+12>>2]=v[a+12>>2]+1;e=v[a>>2];e=Qa[v[v[e>>2]+28>>2]](e)|0;v[a+12>>2]=v[a+12>>2]+1;d=e&255|(c<<8&65280|d<<16);b=b-16|0;if(b>>>0>7){continue}break}}if(!b){break g}}c=v[a>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;v[a+4>>2]=c;e=8-b|0;v[a+8>>2]=e;v[a+12>>2]=v[a+12>>2]+1;d=(-1<>>e|d<>2];c=v[a+8>>2];if(c>>>0>=b>>>0){c=c-b|0;v[a+8>>2]=c;a=f+(v[a+4>>2]>>>c&((b|0)==32?-1:-1<>2]=0;d=v[a+4>>2]&(-1<>>0>=8){while(1){c=v[a>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;v[a+12>>2]=v[a+12>>2]+1;d=c&255|d<<8;b=b-8|0;if(b>>>0>7){continue}break}}if(b){c=v[a>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;v[a+4>>2]=c;e=8-b|0;v[a+8>>2]=e;v[a+12>>2]=v[a+12>>2]+1;d=(-1<>>e|d<>2]!=-1){continue}break a}break}a=v[c>>2]}v[j>>2]=a;m=1}return m}function XCa(a,b){a=a|0;b=b|0;var 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;if(y[b+160>>2]>>0){$c(b,8)}e=w[a+3|0]|w[a+2|0]<<8;if(y[b+160>>2]>>0){if(v[b+164>>2]){$c(b,8)}e=v[b+160>>2]-a|0}if(e>>>0<=15){$c(b,8)}c=w[a+7|0];k=c|w[a+6|0]<<8;if(!(!(c&1)|y[b+164>>2]<2)){$c(b,8)}h=k&65534;if((h<<2)+16>>>0>e>>>0){$c(b,8)}d=k>>>1|0;a:{if(y[b+164>>2]<2){break a}l=w[a+12|0];i=w[a+10|0];f=w[a+11|0];c=w[a+9|0];p=c|w[a+8|0]<<8;g=c;c=w[a+13|0];if((g|c)&1){$c(b,8)}g=p>>>1|0;if(!(g>>>0>d>>>0|d>>>0>(p&65534)>>>0|(d|0)!=(g+((c|l<<8)>>>1|0)|0))){if((g|0)==1<<(f|i<<8)){break a}}$c(b,8)}m=a+14|0;b:{if(y[b+164>>2]<2){break b}c=(h+m|0)-2|0;if((w[c|0]<<8|w[c+1|0])==65535){break b}$c(b,8)}if(k>>>0>=2){n=(a+h|0)+16|0;o=h+n|0;j=h+o|0;r=h+j|0;h=a+e|0;s=d-1|0;k=d>>>0>1?d:1;f=0;c=0;d=0;while(1){a=c;e=f;p=w[j|0]<<8;g=w[j+1|0];l=w[o|0];i=w[o+1|0];c=w[n+1|0]|w[n|0]<<8;f=w[m+1|0]|w[m|0]<<8;if(c>>>0>f>>>0){$c(b,8)}g=g|p;c:{if(!d|c>>>0>e>>>0){break c}if(v[b+164>>2]){$c(b,8);break c}if(!(a>>>0<=c>>>0&f>>>0>=e>>>0)){q=q|1;break c}q=q|2}d:{if(!g){break d}if((g|0)!=65535){a=g+j|0;e:{f:{if(v[b+164>>2]){if(a>>>0>>0|h>>>0<((f-c<<1)+a|0)+2>>>0){break f}break e}if(!((d|0)!=(s|0)|(c|0)!=65535)&(f|0)==65535){break e}if(a>>>0>>0){break f}if(y[b+160>>2]>=((f-c<<1)+a|0)+2>>>0){break e}}$c(b,8)}if(!v[b+164>>2]|c>>>0>=f>>>0){break d}l=i|l<<8;e=c;while(1){i=w[a+1|0]|w[a|0]<<8;if(!(!i|y[b+172>>2]>(l+i&65535)>>>0)){$c(b,16)}a=a+2|0;e=e+1|0;if((e|0)!=(f|0)){continue}break}break d}if(!((d|0)!=(s|0)|y[b+164>>2]>1|(c|0)!=65535)){if((f|0)==65535){break d}}$c(b,8)}j=j+2|0;o=o+2|0;m=m+2|0;n=n+2|0;d=d+1|0;if((k|0)!=(d|0)){continue}break}}return q|0}function pRa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=v[a+20>>2];if((c&-2)!=200){d=v[a>>2];v[d+24>>2]=c;v[d+20>>2]=21;Qa[v[v[a>>2]>>2]](a)}c=1;a:{b:{c:{d:{e:{d=v[a+20>>2];switch(d-200|0){case 2:break a;case 3:case 4:case 5:case 6:case 7:case 8:case 10:break c;case 1:break d;case 0:break e;default:break b}}Qa[v[v[a+456>>2]+4>>2]](a);Qa[v[v[a+24>>2]+8>>2]](a);v[a+20>>2]=201}c=Qa[v[v[a+456>>2]>>2]](a)|0;if((c|0)!=1){break a}c=v[a+36>>2];d=c;f:{g:{switch(c-1|0){case 2:d=2;c=3;if(v[a+284>>2]){break f}if(v[a+296>>2]){c=2;h:{i:{e=w[a+300|0];switch(e|0){case 1:break i;case 0:break f;default:break h}}c=3;break f}c=v[a>>2];v[c+24>>2]=e;v[c+20>>2]=116;Qa[v[v[a>>2]+4>>2]](a,-1);c=3;break f}f=v[a+216>>2];e=v[f+176>>2];g=v[f+88>>2];f=v[f>>2];if(!((f|0)!=1|(g|0)!=2)&(e|0)==3){break f}if(!((f|0)!=82|(g|0)!=71|(e|0)!=66)){c=2;break f}c=v[a>>2];v[c+24>>2]=f;v[c+20>>2]=113;v[c+32>>2]=e;v[c+28>>2]=g;Qa[v[c+4>>2]](a,1);c=3;break f;case 3:d=4;if(!v[a+296>>2]){c=4;break f}c=4;j:{k:{e=w[a+300|0];switch(e|0){case 2:break k;case 0:break f;default:break j}}c=5;break f}c=v[a>>2];v[c+24>>2]=e;v[c+20>>2]=116;Qa[v[v[a>>2]+4>>2]](a,-1);c=5;break f;case 0:break f;default:break g}}c=0;d=0}v[a+44>>2]=d;v[a+40>>2]=c;v[a+136>>2]=0;v[a+96>>2]=256;v[a+88>>2]=2;v[a+92>>2]=1;v[a+80>>2]=1;v[a+84>>2]=0;v[a+72>>2]=0;v[a+76>>2]=1;v[a+64>>2]=0;v[a+68>>2]=0;v[a+56>>2]=0;v[a+60>>2]=1072693248;v[a+108>>2]=0;v[a+100>>2]=0;v[a+104>>2]=0;v[a+20>>2]=202;c=v[a+424>>2];v[a+52>>2]=c;v[a+48>>2]=c;c=1;break a}c=Qa[v[v[a+456>>2]>>2]](a)|0;break a}c=v[a>>2];v[c+24>>2]=d;v[c+20>>2]=21;Qa[v[v[a>>2]>>2]](a);c=0}if((c|0)==2){if(b){b=v[a>>2];v[b+20>>2]=53;Qa[v[b>>2]](a)}Fw(a)}return c|0}function Wx(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=Ma-32|0;Ma=d;b=v[b>>2];c=b?b+12|0:1117e3;e=1;e=b?v[b+8>>2]+1|0:e;b=v[c>>2];i=pc(d+8|0,d+20|0,e,1);c=v[d+20>>2];a:{b:{while(1){c:{e=w[b|0];d:{if((e|0)!=37){if(e){break d}t[c|0]=0;e=Oc(a,v[d+20>>2]);a=v[e>>2];if(!a){break a}if(Qa[v[v[a>>2]+80>>2]](a)|0){break a}b=v[d+20>>2];a=Ma-32|0;Ma=a;v[d>>2]=0;v[d+4>>2]=v[279250];v[a+24>>2]=0;v[a+28>>2]=0;v[a+20>>2]=0;v[a+16>>2]=978512;aj(a+8|0,a+16|0,b);v[a+16>>2]=978608;b=v[a+28>>2];if(b){t[b|0]=0;$a(v[a+28>>2])}v[a+28>>2]=0;bc(a+16|0);b=v[a+8>>2];e:{if(b){Qa[v[v[b>>2]+24>>2]](a+16|0,b,2);break e}v[a+16>>2]=0}jb(d,a+16|0);b=v[a+16>>2];v[a+16>>2]=0;f:{if(!b){break f}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break f}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[d>>2];v[d+4>>2]=v[(b?b+12|0:1117e3)>>2];b=v[a+8>>2];v[a+8>>2]=0;g:{if(!b){break g}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break g}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}Ma=a+32|0;a=d;b=v[a>>2];if(!b){break c}Qa[v[v[b>>2]+28>>2]](d+24|0,b,1);break b}f=t[b+1|0];g=f-48|0;h:{if((g&255)>>>0<=9){break h}if((f-65&255)>>>0<=5){g=f-55|0;break h}e=37;if((f-97&255)>>>0>5){break d}g=f-87|0}e=37;if((g|0)<0){break d}f=t[b+2|0];h=f-48|0;i:{if((h&255)>>>0<=9){break i}if((f-65&255)>>>0<=5){h=f-55|0;break i}if((f-97&255)>>>0>5){break d}h=f-87|0}if((h|0)<0){break d}b=b+2|0;e=g<<4|h}t[c|0]=e;c=c+1|0;b=b+1|0;continue}break}v[d+24>>2]=0}jb(e,d+24|0);b=v[d+24>>2];v[d+24>>2]=0;j:{if(!b){break j}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break j}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[e>>2];v[e+4>>2]=v[(b?b+12|0:1117e3)>>2];db(a)}ec(i);Ma=d+32|0}function jMa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0;a:{if((d|0)<1){break a}n=v[a+112>>2];f=v[a+480>>2];j=v[a+120>>2];if((j|0)<1){while(1){Jd(v[(e<<2)+c>>2],n);v[f+84>>2]=!v[f+84>>2];e=e+1|0;if((e|0)!=(d|0)){continue}break a}}r=n+1|0;if(n){q=0-j|0;y=n-1|0;C=B(j,y);D=v[a+332>>2];while(1){a=s<<2;z=a+c|0;Jd(v[z>>2],n);E=a+b|0;l=0;while(1){o=v[E>>2]+l|0;e=v[z>>2];b:{if(v[f+84>>2]){e=e+y|0;o=o+C|0;x=-1;p=q;a=v[((l<<2)+f|0)+68>>2]+(r<<1)|0;break b}x=1;p=j;a=v[((l<<2)+f|0)+68>>2]}k=l<<2;F=v[k+v[f+16>>2]>>2];G=v[k+v[f+24>>2]>>2];i=0;h=0;g=n;m=0;while(1){k=(x<<1)+a|0;A=w[(w[o|0]+((u[k>>1]+i|0)+8>>4)|0)+D|0];i=w[A+G|0];t[e|0]=i+w[e|0];H=a;a=A-w[i+F|0]|0;u[H>>1]=B(a,3)+m;i=B(a,7);m=B(a,5)+h|0;e=e+x|0;o=o+p|0;h=a;a=k;g=g-1|0;if(g){continue}break}u[a>>1]=m;l=l+1|0;if((j|0)!=(l|0)){continue}break}v[f+84>>2]=!v[f+84>>2];s=s+1|0;if((s|0)!=(d|0)){continue}break}break a}p=j&-4;b=j&3;q=j-1|0;while(1){Jd(v[(i<<2)+c>>2],0);k=v[f+84>>2];c:{if(k){e=0;m=p;if(q>>>0>=3){while(1){a=r<<1;h=f+68|0;g=e<<2;u[a+v[h+g>>2]>>1]=0;u[a+v[h+(g|4)>>2]>>1]=0;u[a+v[h+(g|8)>>2]>>1]=0;u[a+v[h+(g|12)>>2]>>1]=0;e=e+4|0;m=m-4|0;if(m){continue}break}}a=b;if(!a){break c}while(1){u[v[((e<<2)+f|0)+68>>2]+(r<<1)>>1]=0;e=e+1|0;a=a-1|0;if(a){continue}break}break c}e=0;a=p;if(q>>>0>=3){while(1){h=f+68|0;g=e<<2;u[v[h+g>>2]>>1]=0;u[v[h+(g|4)>>2]>>1]=0;u[v[h+(g|8)>>2]>>1]=0;u[v[h+(g|12)>>2]>>1]=0;e=e+4|0;a=a-4|0;if(a){continue}break}}a=b;if(!a){break c}while(1){u[v[((e<<2)+f|0)+68>>2]>>1]=0;e=e+1|0;a=a-1|0;if(a){continue}break}}v[f+84>>2]=!k;i=i+1|0;if((i|0)!=(d|0)){continue}break}}}function eTa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=Ma+-64|0;Ma=f;d=x[a+26306>>1];i=B(d,5)>>>2|0;d=gb(i+(d<<1)|0);if(!d){g=v[a+190640>>2];a:{if(g){d=v[a+25208>>2];v[f+20>>2]=46503;v[f+16>>2]=d;Dc(g,4338,f+16|0);break a}d=v[a+25208>>2];v[f+4>>2]=46503;v[f>>2]=d;vb(v[249419],4338,f)}tc(a+190484|0,1);L()}if(x[a+26304>>1]){g=d+i|0;k=v[249419];while(1){if((Qa[v[v[a>>2]>>2]](v[a+4>>2],d,1,i)|0)<(i|0)){b:{if(v[a+26160>>2]){break b}v[f+48>>2]=v[a+25208>>2];vb(k,8292,f+48|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,k);break b}b=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[f+32>>2]=b;v[f+36>>2]=b>>31;vb(k,14622,f+32|0)}v[a+26160>>2]=1}c=d;b=g;e=b+(x[a+26306>>1]<<1)|0;if(b>>>0>>0){while(1){u[b>>1]=w[c+4|0]&3|w[c|0]<<2;u[b+2>>1]=w[c+4|0]>>>2&3|w[c+1|0]<<2;u[b+4>>1]=w[c+4|0]>>>4&3|w[c+2|0]<<2;u[b+6>>1]=w[c+3|0]<<2|w[c+4|0]>>>6;c=c+5|0;b=b+8|0;if(e>>>0>b>>>0){continue}break}}e=x[a+26310>>1];b=x[a+26312>>1];c:{if(j>>>0>=b>>>0){if(!e){break c}l=v[a+26028>>2];h=v[a+26352>>2];c=0;while(1){e=j-(b&65535)|0;b=x[a+26316>>1];u[(h+(B(x[a+26320>>1],e>>b)+(c>>>b|0)<<3)|0)+((l>>>((e<<1&14|c&1)<<1)&3)<<1)>>1]=x[g+(c<<1)>>1];c=c+1|0;if(c>>>0>=x[a+26310>>1]){break c}b=x[a+26312>>1];continue}}if(!e){break c}h=e&3;b=v[a+26120>>2];c=0;if(e-1>>>0>=3){e=e&65532;while(1){l=b;b=c<<1;b=(((l+x[b+g>>1]|0)+x[g+(b|2)>>1]|0)+x[g+(b|4)>>1]|0)+x[g+(b|6)>>1]|0;c=c+4|0;e=e-4|0;if(e){continue}break}}if(h){while(1){b=x[g+(c<<1)>>1]+b|0;c=c+1|0;h=h-1|0;if(h){continue}break}}v[a+26120>>2]=b}j=j+1|0;if(j>>>0>1]){continue}break}}$a(d);d=x[a+26312>>1];if(d){v[a+26120>>2]=y[a+26120>>2]/(B(d,x[a+26310>>1])>>>0)}v[a+26124>>2]=1023;Ma=f- -64|0}function C5(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=Ma-16|0;Ma=g;b=Vt(b?b:19977);a:{if(!b){break a}d=16384;f=-1;if(!Nm(b)){while(1){b:{c:{d:{e:{c=rp(1021136,v[b+4>>2]);switch(v[(c?c:1019296)>>2]){case 2:break b;case 1:break d;case 0:break e;default:break c}}d=td(v[b+8>>2]);break b}f=td(v[b+8>>2]);break b}v[g>>2]=v[b+4>>2];Nb(22121,g)}if(!Nm(b)){continue}break}}gr(b);A5();c=gb(108);if(!c){break a}v[c>>2]=0;v[c+4>>2]=0;v[c+76>>2]=0;v[c+80>>2]=0;v[c+72>>2]=f;v[c+68>>2]=d;v[c+64>>2]=0;v[c+60>>2]=a;v[c+56>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c+84>>2]=0;v[c+88>>2]=0;v[c+92>>2]=0;v[c+96>>2]=0;v[c+100>>2]=0;f=S5();f:{if(!f){break f}v[c+84>>2]=1;v[c+104>>2]=f;while(1){d=WL(v[c+60>>2],f);if(!d){e=0;Nb(24077,0);break f}b=v[d>>2];e=1020896;while(1){a=e;h=v[a>>2];if(h){e=a+12|0;if((b|0)!=(h|0)){continue}}break}if(!(v[a+4>>2]&v[c+84>>2])){e=0;Nb(27821,0);ci(d);break f}a=v[a+8>>2];g:{if(!a){ci(d);b=0;break g}b=Qa[a|0](c,d)|0;ci(d);e=0;if((b|0)<0){break f}}if(!b){continue}break}e=v[c>>2];d=v[e+16>>2];b=v[e+24>>2];v[v[b>>2]+40>>2]=0;a=e;if((d|0)>=3){v[v[b+4>>2]+40>>2]=1;v[v[b+8>>2]+40>>2]=2;b=1025}else{b=769}v[a+28>>2]=b;v[c>>2]=0}a=v[c+104>>2];if(a){$a(a)}d=v[c+96>>2];if(d){a=v[d+8>>2];if(a){b=1;if(v[d>>2]>=1){ne(v[a>>2]);if(v[d>>2]>=2){while(1){ne(v[v[d+8>>2]+(b<<2)>>2]);b=b+1|0;if((b|0)>2]){continue}break}}a=v[d+8>>2]}$a(a)}$a(d)}a=v[c>>2];if(a){Og(a)}a=v[c+64>>2];if(a){b=v[a+24>>2];if(b){$a(b)}b=v[a+4>>2];if(b){NL(b)}$a(a)}a=v[c+88>>2];if(a){$a(a)}a=v[c+48>>2];if(a){$a(a)}$a(c)}Ma=g+16|0;return e|0}function rR(a,b){var c=0,d=0,e=0,f=0;c=Ma-48|0;Ma=c;v[a>>2]=0;d=v[279250];v[a+4>>2]=d;a:{if(b-1>>>0>6){break a}b:{switch(b-6|0){case 1:b=c+24|0;d=Oc(c+16|0,310401);Rc(b,313439,d);ic(c+32|0,b,313360);b=v[c+32>>2];c:{if(b){Qa[v[v[b>>2]+28>>2]](c+8|0,b,1);break c}v[c+8>>2]=0}jb(a,c+8|0);b=v[c+8>>2];v[c+8>>2]=0;d:{if(!b){break d}e=v[b+4>>2]-1|0;v[b+4>>2]=e;if(e){break d}e=v[b+4>>2];if(!e){v[b+4>>2]=-32767}if(!e){Qa[v[v[b>>2]+4>>2]](b)}}b=a;a=v[a>>2];v[b+4>>2]=v[(a?a+12|0:1117e3)>>2];db(c+32|0);db(c+24|0);db(d);break a;case 0:v[c+12>>2]=d;v[c+8>>2]=0;b=c+8|0;Pd(b,32);Pd(b,32);Pd(b,32);Pd(b,32);Pd(b,32);Pd(b,32);Pd(b,32);Pd(b,32);Pd(b,32);Pd(b,32);Pd(b,32);Pd(b,32);Pd(b,32);Pd(b,32);d=c+16|0;ic(d,b,313439);b=c+24|0;ic(b,d,312260);ic(c+32|0,b,313360);b=v[c+32>>2];e:{if(b){Qa[v[v[b>>2]+28>>2]](c+40|0,b,1);break e}v[c+40>>2]=0}jb(a,c+40|0);b=v[c+40>>2];v[c+40>>2]=0;f:{if(!b){break f}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break f}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}b=a;a=v[a>>2];v[b+4>>2]=v[(a?a+12|0:1117e3)>>2];db(c+32|0);db(c+24|0);db(c+16|0);db(c+8|0);break a;default:break b}}v[c+12>>2]=d;d=0;v[c+8>>2]=0;e=b<<1|1;while(1){Pd(c+8|0,32);f=(d|0)!=(e|0);d=d+1|0;if(f){continue}break}d=c+16|0;ic(d,c+8|0,313439);e=c+24|0;ic(e,d,v[(b<<2)+973024>>2]);ic(c+32|0,e,346319);b=v[c+32>>2];g:{if(b){Qa[v[v[b>>2]+28>>2]](c+40|0,b,1);break g}v[c+40>>2]=0}jb(a,c+40|0);b=v[c+40>>2];v[c+40>>2]=0;h:{if(!b){break h}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break h}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}b=a;a=v[a>>2];v[b+4>>2]=v[(a?a+12|0:1117e3)>>2];db(c+32|0);db(c+24|0);db(c+16|0);db(c+8|0)}Ma=c+48|0}function dY(a){var b=0,c=0,d=0,e=0;if(a){d=v[a+32>>2];if(d){d=v[d+80>>2]}else{d=0}c=v[a+12>>2];if(!(!c|v[a+68>>2]!=1|v[c+20>>2]!=(a|0))){vl(c)}e=v[a+8>>2];a:{b:{if(d){c:{if(!e){break c}c=d;while(1){b=v[c+16>>2];if(b){while(1){if(e>>>0<=y[b+4>>2]&e>>>0>=b+20>>>0){break c}b=v[b>>2];if(b){continue}break}}c=v[c+20>>2];if(c){continue}break}Qa[v[256556]](e)}e=v[a+52>>2];d:{if(!e){break d}c=d;while(1){if(!c){break d}b=v[c+16>>2];if(b){while(1){if(e>>>0<=y[b+4>>2]&e>>>0>=b+20>>>0){break d}b=v[b>>2];if(b){continue}break}}c=v[c+20>>2];if(c){continue}break}Qa[v[256556]](e)}e=v[a+56>>2];e:{if(!e){break e}c=d;while(1){if(!c){break e}b=v[c+16>>2];if(b){while(1){if(e>>>0<=y[b+4>>2]&e>>>0>=b+20>>>0){break e}b=v[b>>2];if(b){continue}break}}c=v[c+20>>2];if(c){continue}break}Qa[v[256556]](e)}e=v[a+64>>2];f:{if(!e){break f}c=d;while(1){if(!c){break f}b=v[c+16>>2];if(b){while(1){if(e>>>0<=y[b+4>>2]&e>>>0>=b+20>>>0){break f}b=v[b>>2];if(b){continue}break}}c=v[c+20>>2];if(c){continue}break}Qa[v[256556]](e)}e=v[a+40>>2];g:{if(!e){break g}c=d;while(1){if(!c){break g}b=v[c+16>>2];if(b){while(1){if(e>>>0<=y[b+4>>2]&e>>>0>=b+20>>>0){break g}b=v[b>>2];if(b){continue}break}}c=v[c+20>>2];if(c){continue}break}Qa[v[256556]](e)}c=v[a+36>>2];if(!c){break a}while(1){if(!d){break a}b=v[d+16>>2];if(b){while(1){if(b+20>>>0<=c>>>0&y[b+4>>2]>=c>>>0){break a}b=v[b>>2];if(b){continue}break}}d=v[d+20>>2];if(d){continue}break}break b}if(e){Qa[v[256556]](e)}d=v[a+52>>2];if(d){Qa[v[256556]](d)}d=v[a+56>>2];if(d){Qa[v[256556]](d)}d=v[a+64>>2];if(d){Qa[v[256556]](d)}d=v[a+40>>2];if(d){Qa[v[256556]](d)}c=v[a+36>>2];if(!c){break a}}Qa[v[256556]](c)}Qa[v[256556]](a)}}function Rua(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;a=eb(a,0,256);d=v[b>>2]+c|0;e=w[d+3|0];f=w[d|0];g=e+f|0;h=w[d+2|0];d=w[d+1|0];i=h+d|0;v[a+8>>2]=g-i<<4;v[a>>2]=(g+i<<4)+-8192;g=d-h|0;e=f-e|0;d=B(g+e|0,4433)+256|0;v[a+12>>2]=d+B(g,-15137)>>9;v[a+4>>2]=d+B(e,6270)>>9;d=v[b+4>>2]+c|0;f=w[d+3|0];g=w[d|0];e=f+g|0;h=w[d+2|0];d=w[d+1|0];i=h+d|0;v[a+40>>2]=e-i<<4;e=(e+i<<4)+-8192|0;v[a+32>>2]=e;h=d-h|0;f=g-f|0;d=B(h+f|0,4433)+256|0;v[a+44>>2]=d+B(h,-15137)>>9;v[a+36>>2]=d+B(f,6270)>>9;d=v[b+8>>2]+c|0;f=w[d+3|0];g=w[d|0];h=f+g|0;i=w[d+2|0];j=w[d+1|0];d=i+j|0;v[a+72>>2]=h-d<<4;d=(d+h<<4)+-8192|0;v[a+64>>2]=d;h=j-i|0;g=g-f|0;f=B(h+g|0,4433)+256|0;v[a+76>>2]=f+B(h,-15137)>>9;f=f+B(g,6270)>>9;v[a+68>>2]=f;b=v[b+12>>2]+c|0;c=w[b+2|0];g=w[b+3|0];h=w[b|0];i=g+h|0;j=w[b+1|0];k=j+c|0;b=(i+k<<4)+-8192|0;l=v[a>>2];m=(b+l|0)+2|0;n=d+e|0;v[a+64>>2]=m-n>>2;v[a>>2]=m+n>>2;d=e-d|0;e=l-b|0;b=B(d+e|0,4433)+16384|0;v[a+96>>2]=b+B(d,-15137)>>15;v[a+32>>2]=b+B(e,6270)>>15;d=j-c|0;c=h-g|0;b=B(d+c|0,4433)+256|0;e=v[a+4>>2];c=b+B(c,6270)>>9;g=(e+c|0)+2|0;h=v[a+36>>2];j=h+f|0;v[a+68>>2]=g-j>>2;v[a+4>>2]=g+j>>2;f=h-f|0;e=e-c|0;c=B(f+e|0,4433)+16384|0;v[a+100>>2]=c+B(f,-15137)>>15;v[a+36>>2]=c+B(e,6270)>>15;c=v[a+8>>2];e=i-k<<4;f=(c+e|0)+2|0;g=v[a+72>>2];h=v[a+40>>2];i=g+h|0;v[a+72>>2]=f-i>>2;v[a+8>>2]=f+i>>2;f=h-g|0;e=c-e|0;c=B(f+e|0,4433)+16384|0;v[a+104>>2]=c+B(f,-15137)>>15;v[a+40>>2]=c+B(e,6270)>>15;c=v[a+12>>2];b=b+B(d,-15137)>>9;d=(c+b|0)+2|0;e=v[a+76>>2];f=v[a+44>>2];g=e+f|0;v[a+76>>2]=d-g>>2;v[a+12>>2]=d+g>>2;d=f-e|0;c=c-b|0;b=B(d+c|0,4433)+16384|0;v[a+108>>2]=b+B(d,-15137)>>15;v[a+44>>2]=b+B(c,6270)>>15}function Z3(a,b,c,d,e,f){var g=0,h=0,i=0;h=v[v[a+528>>2]+88>>2];a:{b:{c:{d:{e:{f:{switch(b|0){case 5:if(!c){break d}a=0;while(1){if(w[a+f|0]){i=B(a,3);g=i+h|0;i=d+i|0;t[g+68|0]=w[i|0]+w[g+68|0];t[g+69|0]=w[i+1|0]+w[g+69|0];t[g+70|0]=w[i+2|0]+w[g+70|0];g=a+h|0;t[g+848|0]=w[a+e|0]+w[g+848|0]}a=a+1|0;if((c|0)!=(a|0)){continue}break};break e;case 4:if(!c){break d}a=0;while(1){if(w[a+f|0]){i=B(a,3);g=i+h|0;i=d+i|0;t[g+68|0]=w[i|0];t[g+69|0]=w[i+1|0];t[g+70|0]=w[i+2|0];t[(a+h|0)+848|0]=w[a+e|0]}a=a+1|0;if((c|0)!=(a|0)){continue}break};break e;case 3:if(!c){break d}a=0;if((c|0)!=1){d=c&-2;while(1){if(w[a+f|0]){g=a+h|0;t[g+848|0]=w[a+e|0]+w[g+848|0]}g=a|1;if(w[g+f|0]){i=g+h|0;t[i+848|0]=w[e+g|0]+w[i+848|0]}a=a+2|0;d=d-2|0;if(d){continue}break}}if(!(c&1)|!w[a+f|0]){break e}d=a+h|0;t[d+848|0]=w[a+e|0]+w[d+848|0];break e;case 2:if(!c){break d}a=0;if((c|0)!=1){d=c&-2;while(1){if(w[a+f|0]){t[(a+h|0)+848|0]=w[a+e|0]}g=a|1;if(w[g+f|0]){t[(g+h|0)+848|0]=w[e+g|0]}a=a+2|0;d=d-2|0;if(d){continue}break}}if(!(c&1)|!w[a+f|0]){break e}t[(a+h|0)+848|0]=w[a+e|0];break e;case 1:if(!c){break b}a=0;while(1){if(w[a+f|0]){g=B(a,3);e=g+h|0;g=d+g|0;t[e+68|0]=w[g|0]+w[e+68|0];t[e+69|0]=w[g+1|0]+w[e+69|0];t[e+70|0]=w[g+2|0]+w[e+70|0]}a=a+1|0;if((c|0)!=(a|0)){continue}break};break e;case 0:break f;default:break d}}if(!c){break b}a=0;while(1){if(w[a+f|0]){g=B(a,3);e=g+h|0;g=d+g|0;t[e+68|0]=w[g|0];t[e+69|0]=w[g+1|0];t[e+70|0]=w[g+2|0]}a=a+1|0;if((c|0)!=(a|0)){continue}break}}if(b>>>0<2){break c}}g:{if(w[h+56|0]){if(y[h+844>>2]>>0){break g}break c}t[h+56|0]=1}v[h+844>>2]=c}if((b&254)==2){break a}}if(y[h+64>>2]>=c>>>0){break a}v[h+64>>2]=c}return 0}function cTa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;b=Ma-96|0;Ma=b;h=(x[a+26306>>1]<<4>>>0)/10|0;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],B(h,x[a+26312>>1]),1)|0;f=gb((x[a+26306>>1]<<1)+h|0);if(!f){c=v[a+190640>>2];a:{if(c){d=v[a+25208>>2];v[b+20>>2]=47178;v[b+16>>2]=d;Dc(c,4338,b+16|0);break a}c=v[a+25208>>2];v[b+4>>2]=47178;v[b>>2]=c;vb(v[249419],4338,b)}tc(a+190484|0,1);L()}if(x[a+26308>>1]){j=f+h|0;g=v[249419];while(1){if((Qa[v[v[a>>2]>>2]](v[a+4>>2],f,1,h)|0)<(h|0)){b:{if(v[a+26160>>2]){break b}v[b+80>>2]=v[a+25208>>2];vb(g,8292,b+80|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,g);break b}c=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[b+64>>2]=c;v[b+68>>2]=c>>31;vb(g,14622,b- -64|0)}v[a+26160>>2]=1}c=f;e=j;i=x[a+26306>>1];if(e>>>0<(i<<1)+e>>>0){while(1){c:{if((c-f&15)!=15){d=c;break c}d=c+1|0;if(!w[c|0]|((x[a+26310>>1]<<1)+j|0)+(x[a+26314>>1]<<1)>>>0<=e>>>0){break c}d:{if(v[a+26160>>2]){break d}v[b+48>>2]=v[a+25208>>2];vb(g,8292,b+48|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,g);break d}c=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[b+32>>2]=c;v[b+36>>2]=c>>31;vb(g,14622,b+32|0)}v[a+26160>>2]=1;i=x[a+26306>>1]}u[e>>1]=w[d|0]|w[d+1|0]<<8;u[e+2>>1]=w[d+2|0]<<4|w[d+1|0]>>>4;c=d+3|0;e=e+4|0;if(e>>>0<(i<<1)+j>>>0){continue}break}}if(x[a+26310>>1]){c=k<<1&14;e=v[a+26028>>2];i=v[a+26352>>2];d=0;while(1){l=x[a+26316>>1];u[(i+(B(x[a+26320>>1],k>>>l|0)+(d>>>l|0)<<3)|0)+((e>>>((c|d&1)<<1)&3)<<1)>>1]=x[(x[a+26314>>1]+d<<1)+j>>1]&4095;d=d+1|0;if(d>>>0>1]){continue}break}}k=k+1|0;if(k>>>0>1]){continue}break}}$a(f);v[a+26124>>2]=v[a+26124>>2]>>>4;v[a+26120>>2]=v[a+26120>>2]>>>4;Ma=b+96|0}function $B(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;g=Ma-16|0;Ma=g;a:{b:{c:{d:{if(w[a+370|0]){v[e>>2]=0;if(!v[a+376>>2]){v[a+372>>2]=32768;f=Qa[v[a+152>>2]](32768)|0;v[a+376>>2]=f;if(!f){f=1;break b}v[a+380>>2]=f;v[a+384>>2]=0}if(y[a+372>>2]>>0){break d}if(w[a+368|0]){break c}while(1){if(w[a+346|0]){break c}e:{f=v[a+384>>2];if(f>>>0>>0){c=v[a+376>>2];h=v[a+372>>2];i=v[a+380>>2];f:{if(c+(h-(i+f|0)|0)>>>0>1023){c=i;break f}if(f){cb(c,i,f);h=v[a+372>>2];c=v[a+376>>2];f=v[a+384>>2]}else{f=0}v[a+380>>2]=c}if(h-f>>>0<1024){f=999;break b}f=rL(a,c+f|0,1024,g+12|0);if(f){break a}f=v[g+12>>2];c=f+v[a+384>>2]|0;v[a+384>>2]=c;if(!(f|!w[a+369|0])){g:{if(w[a+346|0]){break g}t[a+346|0]=1;f=v[a+168>>2];if(!f){break g}if(!(Qa[f|0](a)|0)){f=901;break b}c=v[a+384>>2]}f=e;if(c){cb(b,v[a+380>>2],c);c=v[a+384>>2]}else{c=0}v[f>>2]=c;v[a+384>>2]=0;v[a+380>>2]=v[a+376>>2];break e}if(f>>>0>1023|c>>>0>=d>>>0){break e}t[a+368|0]=1;break c}cb(b,v[a+380>>2],d);v[e>>2]=d;v[a+380>>2]=v[a+380>>2]+d;v[a+384>>2]=v[a+384>>2]-d;break c}t[a+369|0]=0;if(!w[a+368|0]){continue}break}break c}f=rL(a,b,d,e);if(f){break a}if(v[e>>2]){break c}t[a+368|0]=1;break c}f=v[c>>2];h:{if(f){break h}f=v[a+384>>2];if(f){j=c,k=cb(b,v[a+380>>2],f)+v[a+384>>2]|0,v[j>>2]=k;v[a+384>>2]=0;v[a+380>>2]=v[a+376>>2];f=v[c>>2];break h}v[c>>2]=b;f=b}i=f-b|0;h=d-i|0;f=rL(a,f,h,g+12|0);if(f){break a}i:{b=v[g+12>>2];if(!(b|!w[a+369|0])){if(w[a+346|0]){break i}t[a+346|0]=1;b=v[a+168>>2];if(!b){break i}if(Qa[b|0](a)|0){break i}f=901;break b}if(b>>>0>>0){v[c>>2]=b+v[c>>2];t[a+368|0]=1;break c}v[e>>2]=d;break c}v[e>>2]=i}f=0;t[a+369|0]=0;break a}ob(a,f,0,0)}Ma=g+16|0;return f}function Hfa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=Ma-32|0;Ma=g;a:{b:{if(!v[b+12>>2]){v[a>>2]=0;qb(a,0);break b}j=v[d+12>>2]-v[d+4>>2]|0;h=v[d+8>>2];k=v[d>>2];i=h-k|0;e=Rp(ab(72),j,i,0);v[g>>2]=0;qb(g,e);b=v[b+12>>2];e=v[g>>2];if(!v[e+20>>2]){Re(e)}c:{if(!x[e+8>>1]){f=x[e+14>>1];e=x[e+12>>1];if(v[279246]<(f+e|0)){break a}e=e+v[279245]|0;break c}e=v[e+20>>2]+x[e+12>>1]|0}Zx(b,c,d,e,x[v[g>>2]+14>>1],1,0);d:{e:{if((j|0)<1){break e}if((i|0)>=1){e=i&-4;i=i&3;k=h+(k^-1)>>>0<3;h=0;while(1){b=v[g>>2];if(!v[b+20>>2]){Re(b)}f:{if(x[b+8>>1]<=h>>>0){c=x[b+14>>1];b=x[b+12>>1];if(v[279246]<(c+b|0)){break d}b=b+v[279245]|0;break f}b=v[b+20>>2]+(x[b+12>>1]+B(x[b+14>>1],h)|0)|0}d=0;c=e;if(!k){while(1){f=b+d|0;t[f|0]=w[f|0]^128;f=b+(d|1)|0;t[f|0]=w[f|0]^128;f=b+(d|2)|0;t[f|0]=w[f|0]^128;f=b+(d|3)|0;t[f|0]=w[f|0]^128;d=d+4|0;c=c-4|0;if(c){continue}break}}c=i;if(c){while(1){f=b+d|0;t[f|0]=w[f|0]^128;d=d+1|0;c=c-1|0;if(c){continue}break}}h=h+1|0;if((j|0)!=(h|0)){continue}break}break e}d=v[g>>2];if(!v[d+20>>2]){c=0;b=0;while(1){if(!c){Re(d)}if(v[279246]<(x[d+12>>1]+x[d+14>>1]|0)&x[d+8>>1]<=b>>>0){break d}b=b+1|0;if((j|0)==(b|0)){break e}d=v[g>>2];c=v[d+20>>2];continue}}b=0;c=v[279246];e=x[d+8>>1];while(1){if((c|0)<(x[d+12>>1]+x[d+14>>1]|0)&b>>>0>=e>>>0){break d}b=b+1|0;if((j|0)!=(b|0)){continue}break}}Vr(v[g>>2],256);b=v[g>>2];if(!b){v[a>>2]=0;break b}v[b+4>>2]=v[b+4>>2]+1;b=a;a=v[g>>2];v[b>>2]=a;v[g>>2]=0;if(!a){break b}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break b}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}break b}break a}Ma=g+32|0;return}lb(mb(g+8|0,260021,271561,577,327329));L()}function PV(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{d=v[a>>2];if(!d){break b}if(vh(v[d>>2],b)){break b}if(vh(v[d+4>>2],c)){break b}b=v[a>>2];break a}c:{d:{e:{g=a+4|0;d=v[g>>2];if(!d){break e}if(vh(v[d>>2],b)){break e}if(vh(v[d+4>>2],c)){break e}c=4;e=g;break d}f:{d=v[a+8>>2];if(!d){break f}if(vh(v[d>>2],b)){break f}if(vh(v[d+4>>2],c)){break f}e=a+8|0;c=8;break d}e=a+12|0;g:{d=v[a+12>>2];if(!d){break g}if(vh(v[d>>2],b)){break g}if(vh(v[d+4>>2],c)){break g}c=12;break d}e=0;h=Ma-16|0;Ma=h;d=0;i=om(v[v[291134]+32>>2],b);h:{if(!i){break h}if(v[i+8>>2]<=0){break h}i:{while(1){d=v[v[i>>2]+(j<<2)>>2];f=hn(Hc(ab(8),d),v[c+4>>2]);d=gn(v[f+4>>2],240365);$a(Bb(f));if(d){break i}j=j+1|0;if((j|0)>2]){continue}break}d=0}}j:{if(!d){k:{if(Ec(c,217754)){if(Ec(c,311553)){break k}}e=ab(24);d=ab(8);Hc(d,b);b=ab(8);Hc(b,c);v[e+16>>2]=0;v[e+20>>2]=1;v[e+8>>2]=1;v[e+12>>2]=0;v[e+4>>2]=b;v[e>>2]=d;break j}if(!Ec(c,309188)){e=ab(24);d=ab(8);Hc(d,b);b=ab(8);Hc(b,c);v[e+16>>2]=0;v[e+20>>2]=1;v[e+8>>2]=1;v[e+12>>2]=1;v[e+4>>2]=b;v[e>>2]=d;break j}v[h+4>>2]=b;v[h>>2]=c;fb(1,-1,246893,h);break j}e=ab(24);f=ab(8);Hc(f,b);b=ab(8);Hc(b,c);v[e+8>>2]=0;v[e+12>>2]=0;v[e+4>>2]=b;v[e>>2]=f;b=Pb(256,8);v[e+16>>2]=b;v[b>>2]=0;v[b+4>>2]=0;b=1;while(1){f=b<<3;c=f+v[e+16>>2]|0;v[c>>2]=0;v[c+4>>2]=0;c=f+v[e+16>>2]|0;v[c+8>>2]=0;v[c+12>>2]=0;c=f+v[e+16>>2]|0;v[c+16>>2]=0;v[c+20>>2]=0;b=b+3|0;if((b|0)!=256){continue}break}v[e+20>>2]=1;RV(e,a,2925,d);Fe(d)}Ma=h+16|0;b=e;if(!b){return 0}c=v[a+12>>2];if(c){xo(c)}d=v[a+4>>2];c=v[a>>2];v[g+8>>2]=v[a+8>>2];v[g>>2]=c;v[g+4>>2]=d;break c}b=v[e>>2];id(g,a,c)}v[a>>2]=b}v[b+20>>2]=v[b+20>>2]+1;return b}function Isa(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;e=Ma-32|0;Ma=e;a:{if(v[v[a+28>>2]+664>>2]){b=-1;a=v[a+108>>2];b:{if(!a){break b}a=v[a+4>>2];if(v[a+8>>2]==13){break b}a=v[a+16>>2];b=Qa[v[v[a>>2]+52>>2]](a)|0}fb(0,b,244905,0);break a}c=v[a+8>>2];if(!(Qa[v[v[c>>2]+28>>2]](c)|0)|!v[a+100>>2]){break a}c=v[b+8>>2];b=v[a+20>>2];v[e+16>>2]=13;c:{while(1){if(v[b+56>>2]==7){if(v[ib(v[b- -64>>2],c,e+16|0,0)>>2]!=5){break c}bb(e+16|0)}b=v[b+104>>2];if(b){continue}break}v[e>>2]=c;fb(1,-1,336176,e);break a}b=e+16|0;c=pV(b);bb(b);if(!c){break a}b=v[a+8>>2];Qa[v[v[b>>2]+64>>2]](b,v[a+28>>2]);k=v[a+28>>2];d=ab(672);b=vs(d,k,1);v[a+28>>2]=d;if(v[c+176>>2]){f=A[c+168>>3];g=A[c+160>>3];h=A[c+144>>3];i=A[c+152>>3];A[b+608>>3]=i;A[b+600>>3]=h;b=v[b+596>>2];A[b+16>>3]=i;A[b+8>>3]=h;v[b>>2]=1;b=v[a+28>>2];A[b+608>>3]=i;A[b+600>>3]=g;cd(v[b+596>>2],g,i);b=v[a+28>>2];A[b+608>>3]=f;A[b+600>>3]=g;cd(v[b+596>>2],g,f);b=v[a+28>>2];A[b+608>>3]=f;A[b+600>>3]=h;cd(v[b+596>>2],h,f);b=v[a+28>>2];kf(v[b+596>>2]);d=v[b+596>>2];d=v[((v[d+28>>2]<<2)+v[d+24>>2]|0)-4>>2];j=(v[d+12>>2]<<3)-8|0;A[b+600>>3]=A[j+v[d>>2]>>3];A[b+608>>3]=A[j+v[d+4>>2]>>3];ej(v[a+28>>2]);b=v[a+8>>2];Qa[v[v[b>>2]+220>>2]](b,v[a+28>>2]);Ae(v[a+28>>2]);b=v[a+28>>2]}d=v[c+8>>2];j=Qa[v[v[d>>2]+8>>2]](d)|0;d=v[b+116>>2];if(d){Qa[v[v[d>>2]+4>>2]](d)}v[b+116>>2]=j;b=v[a+8>>2];Qa[v[v[b>>2]+108>>2]](b,v[a+28>>2]);FV(a,c);b=v[a+28>>2];if(v[b+668>>2]){while(1){b=nl(b);v[a+28>>2]=b;d=v[a+8>>2];Qa[v[v[d>>2]+68>>2]](d,b);b=v[a+28>>2];if(v[b+668>>2]){continue}break}}$a(hq(b));v[a+28>>2]=k;a=v[a+8>>2];Qa[v[v[a>>2]+68>>2]](a,k);Qa[v[v[c>>2]+4>>2]](c)}Ma=e+32|0}function up(a,b){var c=0;c=w[b+12|0]|w[b+13|0]<<8;a=w[a+494|0];c=a?c:c<<8|c>>>8;t[b+12|0]=c;t[b+13|0]=c>>>8;c=w[b+14|0]|w[b+15|0]<<8;c=a?c:c<<8|c>>>8;t[b+14|0]=c;t[b+15|0]=c>>>8;c=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);c=a?c:c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);t[b|0]=c;t[b+1|0]=c>>>8;t[b+2|0]=c>>>16;t[b+3|0]=c>>>24;c=w[b+4|0]|w[b+5|0]<<8|(w[b+6|0]<<16|w[b+7|0]<<24);c=a?c:c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);t[b+4|0]=c;t[b+5|0]=c>>>8;t[b+6|0]=c>>>16;t[b+7|0]=c>>>24;c=w[b+8|0]|w[b+9|0]<<8|(w[b+10|0]<<16|w[b+11|0]<<24);c=a?c:c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);t[b+8|0]=c;t[b+9|0]=c>>>8;t[b+10|0]=c>>>16;t[b+11|0]=c>>>24;c=w[b+16|0]|w[b+17|0]<<8|(w[b+18|0]<<16|w[b+19|0]<<24);c=a?c:c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);t[b+16|0]=c;t[b+17|0]=c>>>8;t[b+18|0]=c>>>16;t[b+19|0]=c>>>24;c=w[b+20|0]|w[b+21|0]<<8|(w[b+22|0]<<16|w[b+23|0]<<24);c=a?c:c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);t[b+20|0]=c;t[b+21|0]=c>>>8;t[b+22|0]=c>>>16;t[b+23|0]=c>>>24;c=w[b+24|0]|w[b+25|0]<<8|(w[b+26|0]<<16|w[b+27|0]<<24);c=a?c:c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);t[b+24|0]=c;t[b+25|0]=c>>>8;t[b+26|0]=c>>>16;t[b+27|0]=c>>>24;c=w[b+28|0]|w[b+29|0]<<8|(w[b+30|0]<<16|w[b+31|0]<<24);c=a?c:c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);t[b+28|0]=c;t[b+29|0]=c>>>8;t[b+30|0]=c>>>16;t[b+31|0]=c>>>24;c=w[b+32|0]|w[b+33|0]<<8|(w[b+34|0]<<16|w[b+35|0]<<24);c=a?c:c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);t[b+32|0]=c;t[b+33|0]=c>>>8;t[b+34|0]=c>>>16;t[b+35|0]=c>>>24;c=w[b+36|0]|w[b+37|0]<<8|(w[b+38|0]<<16|w[b+39|0]<<24);a=a?c:c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);t[b+36|0]=a;t[b+37|0]=a>>>8;t[b+38|0]=a>>>16;t[b+39|0]=a>>>24}function pCa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;d=a+10|0;if(d>>>0>y[b+160>>2]){$c(b,8)}c=w[a+6|0]|w[a+7|0]<<8|(w[a+8|0]<<16|w[a+9|0]<<24);k=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=w[a+2|0]|w[a+3|0]<<8|(w[a+4|0]<<16|w[a+5|0]<<24);g=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);if(!(!(g>>>0<10|v[b+160>>2]-a>>>0>>0)&(g-10>>>0)/11>>>0>=k>>>0)){$c(b,8)}if(k){l=a+4|0;c=1;while(1){m=w[d+2|0]|(w[d+1|0]<<8|w[d|0]<<16);a=w[d+7|0]|w[d+8|0]<<8|(w[d+9|0]<<16|w[d+10|0]<<24);e=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=w[d+3|0]|w[d+4|0]<<8|(w[d+5|0]<<16|w[d+6|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!(e>>>0>>0&a>>>0>>0)){$c(b,8)}if(c>>>0>m>>>0){$c(b,8)}a:{if(!a){break a}a=a+l|0;if(a>>>0>y[b+160>>2]){$c(b,8)}c=a-4|0;c=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);f=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);b:{if(f>>>0>v[b+160>>2]-a>>>2>>>0){$c(b,8);break b}if(!f){break a}}c=0;h=0;while(1){i=w[a+2|0]|(w[a+1|0]<<8|w[a|0]<<16);j=i+w[a+3|0]|0;if(j>>>0>=1114112){$c(b,8)}if(h>>>0>i>>>0){$c(b,8)}a=a+4|0;h=j+1|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}c:{if(!e){break c}a=e+l|0;if(a>>>0>y[b+160>>2]){$c(b,8)}c=a-4|0;c=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d:{if(c>>>0>(v[b+160>>2]-a>>>0)/5>>>0){$c(b,8);break d}if(!c){break c}}h=0;e=0;while(1){i=w[a+3|0];j=w[a+4|0];f=w[a+2|0]|(w[a+1|0]<<8|w[a|0]<<16);if(f>>>0>=1114112){$c(b,8)}if(f>>>0>>0){$c(b,8)}if(!(!v[b+164>>2]|y[b+172>>2]>(j|i<<8)>>>0)){$c(b,16)}a=a+5|0;h=f+1|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}}d=d+11|0;c=m+1|0;n=n+1|0;if((n|0)!=(k|0)){continue}break}}return 0}function QX(a){var b=0,c=0,d=0,e=0,f=0;f=Ma-16|0;Ma=f;a:{if(!a){break a}e=v[a+52>>2];if(e){break a}e=Qa[v[256552]](24)|0;if(!e){v[f>>2]=285789;nb(0,0,0,0,0,2,2,3,285789,0,0,0,340689,f);e=0;break a}b=e;v[b>>2]=0;v[b+4>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b+4>>2]=18;b=Qa[v[256555]](37)|0;b:{if(!b){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break b}c=w[285745]|w[285746]<<8|(w[285747]<<16|w[285748]<<24);t[b+32|0]=c;t[b+33|0]=c>>>8;t[b+34|0]=c>>>16;t[b+35|0]=c>>>24;c=w[285741]|w[285742]<<8|(w[285743]<<16|w[285744]<<24);d=w[285737]|w[285738]<<8|(w[285739]<<16|w[285740]<<24);t[b+24|0]=d;t[b+25|0]=d>>>8;t[b+26|0]=d>>>16;t[b+27|0]=d>>>24;t[b+28|0]=c;t[b+29|0]=c>>>8;t[b+30|0]=c>>>16;t[b+31|0]=c>>>24;c=w[285733]|w[285734]<<8|(w[285735]<<16|w[285736]<<24);d=w[285729]|w[285730]<<8|(w[285731]<<16|w[285732]<<24);t[b+16|0]=d;t[b+17|0]=d>>>8;t[b+18|0]=d>>>16;t[b+19|0]=d>>>24;t[b+20|0]=c;t[b+21|0]=c>>>8;t[b+22|0]=c>>>16;t[b+23|0]=c>>>24;c=w[285725]|w[285726]<<8|(w[285727]<<16|w[285728]<<24);d=w[285721]|w[285722]<<8|(w[285723]<<16|w[285724]<<24);t[b+8|0]=d;t[b+9|0]=d>>>8;t[b+10|0]=d>>>16;t[b+11|0]=d>>>24;t[b+12|0]=c;t[b+13|0]=c>>>8;t[b+14|0]=c>>>16;t[b+15|0]=c>>>24;c=w[285717]|w[285718]<<8|(w[285719]<<16|w[285720]<<24);d=w[285713]|w[285714]<<8|(w[285715]<<16|w[285716]<<24);t[b|0]=d;t[b+1|0]=d>>>8;t[b+2|0]=d>>>16;t[b+3|0]=d>>>24;t[b+4|0]=c;t[b+5|0]=c>>>8;t[b+6|0]=c>>>16;t[b+7|0]=c>>>24;t[b+36|0]=0}v[e+8>>2]=b;b=Qa[v[256555]](4)|0;c:{if(!b){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break c}t[b+2|0]=w[258606];c=w[258604]|w[258605]<<8;t[b|0]=c;t[b+1|0]=c>>>8;t[b+3|0]=0}v[e+12>>2]=b;v[a+52>>2]=e}Ma=f+16|0;return e}function P5(a,b,c){var d=0,e=0,f=0,g=0;f=w[c+1|0];if(f>>>0<33){d=-1;e=v[a+8>>2];a:{if(e&7){break a}b:{c:{d=v[a+64>>2];if((d|0)>=0&(d|0)<=v[a+60>>2]){break c}v[a+4>>2]=v[a+4>>2]|32;d=-1;e=v[a+28>>2];v[a+28>>2]=e-1;d:{if((e|0)>=1){v[a+60>>2]=v[a+60>>2]+1;d=v[a+24>>2];v[a+24>>2]=d+1;t[d|0]=f;break d}if((Cb(a,f)|0)==-1){break a}}d=-1;e=v[a+8>>2];if(e&7){break a}f=w[c+2|0];d=v[a+64>>2];if((d|0)>=0&(d|0)<=v[a+60>>2]){break c}v[a+4>>2]=v[a+4>>2]|32;d=-1;e=v[a+28>>2];v[a+28>>2]=e-1;e:{if((e|0)>=1){v[a+60>>2]=v[a+60>>2]+1;d=v[a+24>>2];v[a+24>>2]=d+1;t[d|0]=f;break e}if((Cb(a,f)|0)==-1){break a}}d=-1;e=v[a+8>>2];if(e&7){break a}f=w[c+3|0];d=v[a+64>>2];if((d|0)>=0&(d|0)<=v[a+60>>2]){break c}v[a+4>>2]=v[a+4>>2]|32;d=-1;e=v[a+28>>2];v[a+28>>2]=e-1;f:{if((e|0)>=1){v[a+60>>2]=v[a+60>>2]+1;d=v[a+24>>2];v[a+24>>2]=d+1;t[d|0]=f;break f}if((Cb(a,f)|0)==-1){break a}}d=-1;e=v[a+8>>2];if(e&7){break a}f=w[c+4|0];d=v[a+64>>2];if((d|0)>=0&(d|0)<=v[a+60>>2]){break c}v[a+4>>2]=v[a+4>>2]|32;d=-1;e=v[a+28>>2];v[a+28>>2]=e-1;g:{if((e|0)>=1){v[a+60>>2]=v[a+60>>2]+1;d=v[a+24>>2];v[a+24>>2]=d+1;t[d|0]=f;break g}if((Cb(a,f)|0)==-1){break a}}d=-1;if(dr(a,w[c+5|0])){break a}if(!b){return 0}b=0;if(v[c+8>>2]<1){return 0}while(1){e=v[a+8>>2];if(e&7){break b}d=(b<<1)+c|0;f=w[d+13|0];d=w[d+12|0];g=v[a+64>>2];if((g|0)>=0&v[a+60>>2]>=(g|0)){break c}e=d&15|f<<4;v[a+4>>2]=v[a+4>>2]|32;d=v[a+28>>2];v[a+28>>2]=d-1;h:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;d=v[a+24>>2];v[a+24>>2]=d+1;t[d|0]=e;break h}d=-1;if((Cb(a,e&255)|0)==-1){break a}}d=0;b=b+1|0;if((b|0)>2]){continue}break}break a}v[a+8>>2]=e|4}d=-1}return d}O(50608,47016,771,188697);L()}function Cwa(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;f=Ma-96|0;Ma=f;i=v[v[a+4>>2]+28>>2];j=Qa[v[v[i>>2]+48>>2]](i)|0;i=Fm();g=v[v[a+4>>2]+28>>2];l=i,m=Qa[v[v[g>>2]+24>>2]](g)|0,k=v[v[i>>2]+24>>2],Qa[k](l|0,m|0);Qa[v[v[j>>2]+68>>2]](j,i);g=wt();Qa[v[v[g>>2]+428>>2]](g,j);Qa[v[v[a>>2]+36>>2]](a,b,f+88|0,f+80|0,f+72|0,f- -64|0);i=f;if((c|0)>=1){h=+(c|0)}else{h=A[f+88>>3];a:{if(D(h)<2147483648){c=~~h;break a}c=-2147483648}h=+(B(c,72)|0)/25.4}b:{if(D(h)<2147483648){c=~~h;break b}c=-2147483648}v[i+60>>2]=c;i=f;if((d|0)>=1){h=+(d|0)}else{h=A[f+80>>3];c:{if(D(h)<2147483648){d=~~h;break c}d=-2147483648}h=+(B(d,72)|0)/25.4}d:{if(D(h)<2147483648){d=~~h;break d}d=-2147483648}v[i+56>>2]=d;c=B(c,d)<<2;d=eb(ab(c),255,c);c=f+8|0;v[c>>2]=0;v[c+4>>2]=0;t[c+40|0]=0;v[c+32>>2]=0;v[c+36>>2]=-1074790400;t[c+21|0]=0;t[c+22|0]=0;t[c+23|0]=0;t[c+24|0]=0;t[c+25|0]=0;t[c+26|0]=0;t[c+27|0]=0;t[c+28|0]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c+16>>2]=d;v[c+4>>2]=v[f+60>>2];v[c+8>>2]=v[f+56>>2];v[f+4>>2]=B(v[f+60>>2],e?4:-4);e=f+4|0;v[c+12>>2]=v[e>>2];Qa[v[v[g>>2]+456>>2]](g,c);Qa[v[v[g>>2]+448>>2]](g,1);A[f+88>>3]=A[f+88>>3]*(25.4/A[f+72>>3]);A[f+80>>3]=A[f+80>>3]*(25.4/A[f+64>>3]);Qa[v[v[g>>2]+36>>2]](g,f+88|0)|0;Qa[v[v[g>>2]+28>>2]](g,f+80|0)|0;t[f+4|0]=0;Qa[v[v[a>>2]+40>>2]](a,g,b,e);v[c>>2]=0;v[c+4>>2]=0;t[c+40|0]=0;v[c+32>>2]=0;v[c+36>>2]=-1074790400;t[c+21|0]=0;t[c+22|0]=0;t[c+23|0]=0;t[c+24|0]=0;t[c+25|0]=0;t[c+26|0]=0;t[c+27|0]=0;t[c+28|0]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;Qa[v[v[j>>2]+12>>2]](j)|0;Qa[v[v[g>>2]+4>>2]](g);un(c);Ma=f+96|0;return d|0}function q3(a,b,c){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,p=0;k=1;a:{b:{c:{switch(b-a>>2){case 2:c=v[v[c>>2]+12>>2];b=b-4|0;d=v[b>>2];e=v[a>>2];if(y[v[c+(d<<2)>>2]+4>>2]>=y[v[c+(e<<2)>>2]+4>>2]){break b}v[a>>2]=d;v[b>>2]=e;break a;case 3:d=b-4|0;e=v[d>>2];b=v[v[c>>2]+12>>2];f=v[v[(e<<2)+b>>2]+4>>2];g=v[a+4>>2];i=v[v[b+(g<<2)>>2]+4>>2];c=v[a>>2];h=v[b+(c<<2)>>2];if(i>>>0>=y[h+4>>2]){if(f>>>0>=i>>>0){break b}v[a+4>>2]=e;v[d>>2]=g;c=v[a+4>>2];d=v[a>>2];if(y[v[b+(c<<2)>>2]+4>>2]>=y[v[b+(d<<2)>>2]+4>>2]){break b}v[a+4>>2]=d;v[a>>2]=c;break a}if(f>>>0>>0){v[a>>2]=e;v[d>>2]=c;break a}v[a+4>>2]=c;v[a>>2]=g;e=v[d>>2];if(y[v[b+(e<<2)>>2]+4>>2]>=y[h+4>>2]){break b}v[a+4>>2]=e;v[d>>2]=c;break a;case 4:HK(a,a+4|0,a+8|0,b-4|0,c);break a;case 5:GK(a,a+4|0,a+8|0,a+12|0,b-4|0,c);break a;case 0:case 1:break b;default:break c}}g=a+4|0;e=a+8|0;j=v[v[c>>2]+12>>2];f=v[a+8>>2];m=v[j+(f<<2)>>2];p=v[m+4>>2];d:{e:{f:{h=v[a+4>>2];n=v[v[(h<<2)+j>>2]+4>>2];l=v[a>>2];o=v[(l<<2)+j>>2];if(n>>>0>=y[o+4>>2]){if(p>>>0>>0){break f}d=f;break d}c=a;i=e;d=l;if(p>>>0>>0){break e}v[a+4>>2]=l;v[a>>2]=h;c=g;if(y[m+4>>2]>2]){break e}d=f;break d}v[g>>2]=f;v[e>>2]=h;c=a;i=g;d=h;if(y[m+4>>2]>=y[o+4>>2]){break d}}v[c>>2]=f;v[i>>2]=l}c=a+12|0;if((c|0)==(b|0)){break b}g=0;while(1){g:{f=c;k=c;i=v[c>>2];h=v[(i<<2)+j>>2];if(y[h+4>>2]>2]+4>>2]){while(1){h:{v[k>>2]=d;c=e;if((c|0)==(a|0)){c=a;break h}k=c;e=c-4|0;d=v[e>>2];if(y[h+4>>2]>2]+4>>2]){continue}}break}v[c>>2]=i;g=g+1|0;if((g|0)==8){break g}}c=f+4|0;if((c|0)==(b|0)){break a}d=v[f>>2];e=f;continue}break}k=(f+4|0)==(b|0)}return k}return 1}function Ada(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=Ma-16|0;Ma=d;a:{b:{if(!v[a+64>>2]){e=-1;break b}g=v[a+92>>2]&8;if(!g){v[a+28>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;c:{if(w[a+98|0]){b=v[a+32>>2];c=b;b=b+v[a+52>>2]|0;e=b;break c}b=v[a+56>>2];c=b;b=b+v[a+60>>2]|0;e=b}v[a+16>>2]=b;v[a+12>>2]=e;v[a+8>>2]=c;v[a+92>>2]=8}if(!v[a+12>>2]){b=d+16|0;v[a+16>>2]=b;v[a+12>>2]=b;v[a+8>>2]=d+15}if(g){b=v[a+16>>2];c=v[a+8>>2];v[d+4>>2]=4;v[d+8>>2]=(b-c|0)/2;b=Ma-16|0;Ma=b;Ma=b+16|0;b=d+4|0;c=d+8|0;f=v[(y[b>>2]>2]?b:c)>>2]}e=-1;d:{if(v[a+12>>2]==v[a+16>>2]){id(v[a+8>>2],v[a+16>>2]-f|0,f);if(w[a+98|0]){b=v[a+8>>2];b=kg(b+f|0,1,v[a+16>>2]-(b+f|0)|0,v[a+64>>2]);if(!b){break d}e=b;b=v[a+8>>2];c=b+f|0;v[a+16>>2]=e+c;v[a+12>>2]=c;v[a+8>>2]=b;e=w[v[a+12>>2]];break d}g=a;b=v[a+40>>2];c=v[a+36>>2];e:{if((b|0)==(c|0)){c=b;break e}id(v[a+32>>2],c,b-c|0);b=v[a+36>>2];c=v[a+40>>2]}c=c-b|0;b=v[a+32>>2];c=c+b|0;v[g+36>>2]=c;b=b+((b|0)==(a+44|0)?8:v[a+52>>2])|0;v[a+40>>2]=b;v[d+8>>2]=v[a+60>>2]-f;v[d+4>>2]=b-c;b=Ma-16|0;Ma=b;Ma=b+16|0;b=d+4|0;c=d+8|0;b=v[(y[b>>2]>2]?b:c)>>2];c=v[a+76>>2];v[a+80>>2]=v[a+72>>2];v[a+84>>2]=c;c=kg(v[a+36>>2],1,b,v[a+64>>2]);if(!c){break d}b=v[a+68>>2];if(!b){break a}c=c+v[a+36>>2]|0;v[a+40>>2]=c;g=c;c=v[a+8>>2];f:{if((Qa[v[v[b>>2]+16>>2]](b,a+72|0,v[a+32>>2],g,a+36|0,c+f|0,c+v[a+60>>2]|0,d+8|0)|0)==3){b=v[a+32>>2];v[a+16>>2]=v[a+40>>2];v[a+12>>2]=b;break f}if(v[d+8>>2]==(v[a+8>>2]+f|0)){break d}b=v[a+8>>2];v[a+16>>2]=v[d+8>>2];v[a+12>>2]=b+f}v[a+8>>2]=b;e=w[v[a+12>>2]];break d}e=w[v[a+12>>2]]}if(v[a+8>>2]!=(d+15|0)){break b}v[a+16>>2]=0;v[a+12>>2]=0;v[a+8>>2]=0}Ma=d+16|0;return e|0}_f();L()}function aK(a,b){var c=0,d=0,e=0,f=0;c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;v[a+8>>2]=v[b+8>>2];ZJ(a+12|0,b+12|0);c=v[b+24>>2];d=v[b+28>>2];e=v[b+32>>2];f=v[b+36>>2];v[a+48>>2]=0;v[a+40>>2]=0;v[a+44>>2]=0;v[a+32>>2]=e;v[a+36>>2]=f;v[a+24>>2]=c;v[a+28>>2]=d;a:{b:{c:{d:{e:{d=v[b+44>>2]-v[b+40>>2]|0;if(d){if((d|0)<=-1){break e}c=ab(d);v[a+40>>2]=c;v[a+44>>2]=c;v[a+48>>2]=c+(d>>2<<2);d=a;f=v[b+40>>2];e=v[b+44>>2]-f|0;if((e|0)>=1){c=cb(c,f,e)+e|0}v[d+44>>2]=c}v[a+52>>2]=0;v[a+56>>2]=0;v[a+60>>2]=0;d=v[b+56>>2]-v[b+52>>2]|0;if(d){if((d|0)<=-1){break d}c=ab(d);v[a+52>>2]=c;v[a+56>>2]=c;v[a+60>>2]=c+(d>>2<<2);d=a;f=v[b+52>>2];e=v[b+56>>2]-f|0;if((e|0)>=1){c=cb(c,f,e)+e|0}v[d+56>>2]=c}c=v[b+68>>2];v[a+64>>2]=v[b+64>>2];v[a+68>>2]=c;c=v[b+72>>2];d=v[b+76>>2];e=v[b+80>>2];v[a+92>>2]=0;v[a+84>>2]=0;v[a+88>>2]=0;v[a+80>>2]=e;v[a+72>>2]=c;v[a+76>>2]=d;d=v[b+88>>2]-v[b+84>>2]|0;if(d){if((d|0)<=-1){break c}c=ab(d);v[a+84>>2]=c;v[a+88>>2]=c;v[a+92>>2]=c+(d>>3<<3);d=a;f=v[b+84>>2];e=v[b+88>>2]-f|0;if((e|0)>=1){c=cb(c,f,e)+e|0}v[d+88>>2]=c}v[a+96>>2]=0;v[a+100>>2]=0;v[a+104>>2]=0;d=v[b+100>>2]-v[b+96>>2]|0;if(d){if((d|0)<=-1){break b}c=ab(d);v[a+96>>2]=c;v[a+100>>2]=c;v[a+104>>2]=c+(d>>2<<2);d=a;f=v[b+96>>2];e=v[b+100>>2]-f|0;if((e|0)>=1){c=cb(c,f,e)+e|0}v[d+100>>2]=c}v[a+108>>2]=0;v[a+112>>2]=0;v[a+116>>2]=0;d=v[b+112>>2]-v[b+108>>2]|0;if(d){if((d|0)<=-1){break a}c=ab(d);v[a+108>>2]=c;v[a+112>>2]=c;v[a+116>>2]=c+(d>>2<<2);d=a;f=v[b+108>>2];e=v[b+112>>2]-f|0;if((e|0)>=1){c=cb(c,f,e)+e|0}v[d+112>>2]=c}_J(a+120|0,b+120|0);ZJ(a+132|0,b+132|0);ZJ(a+144|0,b+144|0);return}Jc();L()}Jc();L()}Jc();L()}Jc();L()}Jc();L()}function V2(a,b,c,d,e,f){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,u=0,v=0,x=0,y=0,z=0;q=d-1|0;p=q<<2;a:{b:{c:{if(!f){h=B(b,12)+a|0;j=(b<<3)+a|0;k=(b<<2)+a|0;f=w[c^3];z=(e<<2)+c|0;e=w[z^3];if((d|0)<=1){break c}b=0;while(1){m=m+1|0;d=w[z+m^3];g=w[c+m^3];t[a+b^3]=f;n=b|1;l=B(f,3);s=l+g|0;t[n+a^3]=s>>>2;o=b|2;u=f+g|0;t[o+a^3]=u>>>1;r=b|3;i=B(g,3);v=i+f|0;t[r+a^3]=v>>>2;x=e+l|0;t[b+k^3]=x>>>2;l=B(e,3);y=d+i|0;t[k+n^3]=l+(y+B(f,9)|0)>>>4;t[k+o^3]=d+(i+x|0)>>>3;i=B(d,3);t[k+r^3]=i+(B(g,9)+x|0)>>>4;t[b+j^3]=e+f>>>1;t[j+n^3]=(d+l|0)+s>>>3;t[j+o^3]=(d+e|0)+u>>>2;t[j+r^3]=(e+i|0)+v>>>3;t[b+h^3]=f+l>>>2;t[h+n^3]=(B(e,9)+s|0)+i>>>4;t[h+o^3]=(l+u|0)+i>>>3;t[h+r^3]=(l+v|0)+B(d,9)>>>4;b=b+4|0;e=d;f=g;if((m|0)!=(q|0)){continue}break}break b}e=B(b,12)+a|0;g=(b<<3)+a|0;h=(b<<2)+a|0;f=w[c^3];d:{if((d|0)<2){d=f;break d}b=0;while(1){o=o+1|0;d=w[o+c^3];t[a+b^3]=f;j=b|1;k=B(f,3)+d>>>2|0;t[j+a^3]=k;i=b|2;l=d+f>>>1|0;t[i+a^3]=l;m=b|3;n=B(d,3)+f>>>2|0;t[m+a^3]=n;t[b+h^3]=f;t[h+j^3]=k;t[h+i^3]=l;t[h+m^3]=n;t[b+g^3]=f;t[g+j^3]=k;t[g+i^3]=l;t[g+m^3]=n;t[b+e^3]=f;t[e+j^3]=k;t[e+i^3]=l;t[e+m^3]=n;b=b+4|0;f=d;if((o|0)!=(q|0)){continue}break}}b=q<<2;t[b+a^3]=d;c=p|1;t[c+a^3]=d;f=p|2;t[f+a^3]=d;i=a;a=p|3;t[i+a^3]=d;t[b+h^3]=d;t[c+h^3]=d;t[f+h^3]=d;t[a+h^3]=d;t[b+g^3]=d;t[c+g^3]=d;t[f+g^3]=d;t[a+g^3]=d;t[b+e^3]=d;t[c+e^3]=d;t[e+f^3]=d;a=a+e|0;break a}i=B(e,3);y=B(f,3)+e|0}b=q<<2;t[b+a^3]=f;c=p|1;t[c+a^3]=f;g=p|2;t[g+a^3]=f;d=a;a=p|3;t[d+a^3]=f;d=y>>>2|0;t[b+k^3]=d;t[c+k^3]=d;t[g+k^3]=d;t[a+k^3]=d;d=e+f>>>1|0;t[b+j^3]=d;t[c+j^3]=d;t[g+j^3]=d;t[a+j^3]=d;d=f+i>>>2|0;t[b+h^3]=d;t[c+h^3]=d;t[g+h^3]=d;a=a+h|0}t[a^3]=d}function iCa(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,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,z=0,A=0;x=Ma-288|0;Ma=x;y=v[a+332>>2];a=v[b+84>>2];b=x;while(1){m=v[a+128>>2];n=u[c+64>>1];i=B(v[a+32>>2],u[c+16>>1]);j=B(v[a+224>>2],u[c+112>>1]);g=i-j|0;k=B(v[a+96>>2],u[c+48>>1]);f=B(v[a+160>>2],u[c+80>>1]);o=k-f|0;h=B(g+o|0,4433);p=B(v[a+64>>2],u[c+32>>1]);q=B(v[a+192>>2],u[c+96>>1]);r=p-q<<13;l=B(u[c>>1],v[a>>2])<<13|1024;s=r+l|0;g=h+B(g,6270)|0;v[b+240>>2]=s-g>>11;v[b+24>>2]=g+s>>11;g=l-r|0;h=h+B(o,-15137)|0;v[b+168>>2]=g-h>>11;v[b+96>>2]=h+g>>11;m=B(B(m,n),10033);n=m+l|0;g=q<<13;o=g+B(p,11190)|0;q=n-o|0;s=f+i|0;h=B(s+j|0,7053);r=B(k,-4433);z=h+((r+B(i,-5540)|0)+B(j,-16244)|0)|0;v[b+144>>2]=q-z>>11;v[b+120>>2]=q+z>>11;n=n+o|0;o=B(i,2295);i=B(k,10703);k=h+B(s,2139)|0;o=(o+i|0)+k|0;v[b+264>>2]=n-o>>11;v[b>>2]=n+o>>11;p=B(p,2998)-g|0;l=l-m|0;m=p+l|0;g=r+B(f,-12112)|0;f=B(f+j|0,-8565);k=k+(g+f|0)|0;v[b+216>>2]=m-k>>11;v[b+48>>2]=k+m>>11;l=l-p|0;j=f+(h+(B(j,12998)-i|0)|0)|0;v[b+192>>2]=l-j>>11;v[b+72>>2]=j+l>>11;b=b+4|0;a=a+4|0;c=c+2|0;A=A+1|0;if((A|0)!=6){continue}break}a=y+128|0;j=0;b=x;while(1){i=v[b+20>>2];f=v[b+4>>2];l=B(i+f|0,2998);c=v[(j<<2)+d>>2]+e|0;k=v[b+12>>2];h=l+(k+f<<13)|0;y=(v[b>>2]<<13)+131072|0;p=v[b+16>>2];m=y+B(p,5793)|0;n=B(v[b+8>>2],10033);g=m+n|0;t[c|0]=w[a+(h+g>>>18&1023)|0];t[c+5|0]=w[a+(g-h>>>18&1023)|0];f=f-(i+k|0)<<13;h=y+B(p,-11586)|0;t[c+1|0]=w[a+(f+h>>>18&1023)|0];t[c+4|0]=w[a+(h-f>>>18&1023)|0];i=l+(i-k<<13)|0;f=m-n|0;t[c+2|0]=w[a+(i+f>>>18&1023)|0];t[c+3|0]=w[a+(f-i>>>18&1023)|0];b=b+24|0;j=j+1|0;if((j|0)!=12){continue}break}Ma=x+288|0}function NZ(a,b,c){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,p=0,q=0,r=0,s=0,t=0,u=0;a:{f=v[a+16>>2];k=w[f+6|0]<<8|w[f+7|0]&254;b:{if(!k){break b}p=(c|0)!=0;e=p+v[b>>2]|0;if(e>>>0>65535){break b}o=v[a>>2];q=v[o+508>>2]+v[o+512>>2]|0;a=k>>>1|0;r=a>>>0>1?a:1;s=a-1|0;m=f+14|0;f=(f+k|0)+16|0;c:{if(!c){while(1){i=w[f+1|0]|w[f|0]<<8;a=i>>>0<=e>>>0;if(!(a|p)){break c}d:{e=a?e:i;a=w[m+1|0]|w[m|0]<<8;if(e>>>0>a>>>0){break d}j=(i|0)==65535&l>>>0>=s>>>0&(a|0)==65535;a=f+k|0;g=a+k|0;h=w[g|0]<<8|w[g+1|0];j=j&(h|0)!=0&(g+h|0)+2>>>0>q>>>0;h=j?0:h;if((h|0)==65535){break d}if(!h){break a}f=g+(h+(e-i<<1)|0)|0;f=w[f|0]<<8|w[f+1|0];if(!f){break c}a=f+(j?1:w[a+1|0]|w[a|0]<<8)&65535;d=a>>>0>2]?a:0;break c}f=f+2|0;m=m+2|0;l=l+1|0;if((r|0)!=(l|0)){continue}break}break c}while(1){e:{a=f;i=w[a|0]<<8|w[a+1|0];g=i>>>0<=e>>>0;if(!(g|p)){break e}f=a+2|0;d=m;m=d+2|0;j=w[d+1|0]|w[d|0]<<8;t=(i|0)==65535&l>>>0>=s>>>0&(j|0)==65535;e=g?e:i;h=a+k|0;g=h+k|0;u=g+2|0;f:{while(1){if(e>>>0>j>>>0){break f}a=w[h|0]|w[h+1|0]<<8;d=w[g+1|0]|w[g|0]<<8;n=t&(d|0)!=0&d+u>>>0>q>>>0;a=n?1:(a<<8|a>>>8)<<16>>16;g:{h:{d=n?0:d;if(d){if((d|0)==65535){break f}d=(d+(e-i<<1)|0)+g|0;if(d>>>0>q>>>0){break f}d=w[d+1|0]|w[d|0]<<8;if(!d){a=e;break g}d=a+d&65535;if(d>>>0>2]){break h}a=e;break g}n=a+e|0;d=n&65535;if(d>>>0>2]){break h}d=a+j|0;if(!((d|0)<0|(n|0)>-1)){a=0-a|0;break g}if((d|0)<65536|(n|0)>65535){break f}a=65536-a|0;break g}a=e;if(d){break c}}e=a+1|0;if(a>>>0<=65534){continue}break}e=a;break e}l=l+1|0;if((r|0)!=(l|0)){continue}}break}d=0}if(!c){break b}v[b>>2]=e}return d}return(j?1:w[a+1|0]|w[a|0]<<8)+e&65535}function es(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=Ma-16|0;Ma=g;a:{if(!d){break a}b:{c:{if(w[a+8|0]){break c}d:{f=v[a+16>>2];if(!f){break d}v[f+4>>2]=v[f+4>>2]+1;f=v[a+16>>2];if(!f){break d}i=v[a+84>>2];h=ab(28);v[h+4>>2]=0;v[h>>2]=970688;v[h+24>>2]=e;v[h+20>>2]=d;v[h+12>>2]=b;v[h+8>>2]=0;c=(c|0)<0?(i|0)>0?i-b|0:c:c;v[h+16>>2]=c;v[g+8>>2]=0;qb(g+8|0,h);es(f,v[a+80>>2]+b|0,c,d,e);b=ab(12);v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;c=b;d=v[g+8>>2];if(d){v[d+4>>2]=v[d+4>>2]+1;d=v[g+8>>2]}else{d=0}v[c+8>>2]=d;de(a+108|0,b);a=v[g+8>>2];v[g+8>>2]=0;e:{if(!a){break e}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break e}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}a=v[f+4>>2]-1|0;v[f+4>>2]=a;if(a){break a}a=v[f+4>>2];if(!a){v[f+4>>2]=-32767}if(!a){Qa[v[v[f>>2]+4>>2]](f)}break a}if(bg(a+20|0)){break a}if((c|0)<0){break b}j=v[v[a+72>>2]+12>>2];if(j){k=b+c|0;f=0;while(1){h=f;if((f|0)<(k|0)){l=v[j+8>>2];f=l>>31;m=f^f+l;f=h+m|0;f:{if((l|0)<1){break f}if((b|0)>(h|0)){if(!((b|0)>(f|0)|(f|0)>=(k|0))){i=(i-b|0)+f|0;break f}i=((f|0)<(k|0)?0:c)+i|0;break f}if((f|0)<=(k|0)){i=i+m|0;break f}i=(i+k|0)-h|0}j=v[j>>2];if(j){continue}}break}if((c|0)==(i|0)){break c}break b}if(c){break b}}Qa[d|0](e);break a}f=ab(28);v[f+4>>2]=0;v[f>>2]=970688;v[f+24>>2]=e;v[f+20>>2]=d;v[f+16>>2]=c;v[f+12>>2]=b;v[f+8>>2]=0;v[g>>2]=0;qb(g,f);b=ab(12);v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;c=b;d=v[g>>2];if(d){v[d+4>>2]=v[d+4>>2]+1;d=v[g>>2]}else{d=0}v[c+8>>2]=d;de(a+108|0,b);a=v[g>>2];v[g>>2]=0;if(!a){break a}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break a}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=g+16|0}function U1(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0,C=0,E=0;f=v[a+4>>2];g=v[f>>2];k=A[g+32>>3];x=A[g>>3];s=A[g+16>>3];q=A[g+40>>3];l=A[g+8>>3];r=A[a+16>>3];j=A[g+24>>3];u=A[a+24>>3];i=(e|0)>1?e:1;v[f+24>>2]=i;v[f+4>>2]=i;h=f;r=r+ +(c|0);n=j;j=u+ +(d|0);u=n*j;n=(q+(l*r+u))*256;n=n+(n<0?-.5:.5);a:{if(D(n)<2147483648){d=~~n;break a}d=-2147483648}v[h+40>>2]=d;h=f;s=j*s;j=(k+(r*x+s))*256;j=j+(j<0?-.5:.5);b:{if(D(j)<2147483648){c=~~j;break b}c=-2147483648}v[h+20>>2]=c;h=f;j=q;q=r+ +(e>>>0);l=(j+(q*l+u))*256;l=l+(l<0?-.5:.5);c:{if(D(l)<2147483648){m=~~l;break c}m=-2147483648}d=m-d|0;g=(d|0)/(i|0)|0;o=d-B(g,i)|0;p=(o|0)<1;v[h+28>>2]=g-p;h=f;k=(k+(q*x+s))*256;k=k+(k<0?-.5:.5);d:{if(D(k)<2147483648){d=~~k;break d}d=-2147483648}c=d-c|0;d=(c|0)/(i|0)|0;m=d;c=c-B(d,i)|0;d=(c|0)<1;v[h+8>>2]=m-d;g=o+(p?e:0)|0;v[f+32>>2]=g;c=c+(d?e:0)|0;v[f+12>>2]=c;v[f+36>>2]=g-e;v[f+16>>2]=c-e;i=v[a>>2];d=i+4|0;f=v[a+4>>2];g=v[f+40>>2];c=v[f+20>>2];y=v[f+28>>2];z=v[f+32>>2];C=v[f+8>>2];E=v[f+12>>2];while(1){a=g>>8;v[i+16>>2]=a;o=c>>8;v[i+8>>2]=o;v[i+12>>2]=o;m=0;h=d;e:{if((g|0)<0){break e}p=v[v[i>>2]>>2];h=d;if(v[p+12>>2]<=(a|0)){break e}h=d;if((c|0)<0){break e}h=d;if((o|0)>=v[p+8>>2]){break e}m=(v[p+4>>2]+B(v[p+16>>2],a)|0)+(o<<2)|0;h=m}a=h;v[i+20>>2]=m;t[b|0]=w[a+2|0];t[b+1|0]=w[a+1|0];t[b+2|0]=w[a|0];t[b+3|0]=w[a+3|0];c=c+C|0;v[f+20>>2]=c;a=v[f+16>>2]+E|0;v[f+16>>2]=a;if((a|0)>=1){c=c+1|0;v[f+20>>2]=c;v[f+16>>2]=a-v[f+4>>2]}g=g+y|0;v[f+40>>2]=g;a=v[f+36>>2]+z|0;v[f+36>>2]=a;if((a|0)>=1){g=g+1|0;v[f+40>>2]=g;v[f+36>>2]=a-v[f+24>>2]}b=b+4|0;e=e-1|0;if(e){continue}break}}function S1(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0,C=0,E=0;f=v[a+4>>2];g=v[f>>2];k=A[g+32>>3];x=A[g>>3];s=A[g+16>>3];q=A[g+40>>3];l=A[g+8>>3];r=A[a+16>>3];j=A[g+24>>3];u=A[a+24>>3];i=(e|0)>1?e:1;v[f+24>>2]=i;v[f+4>>2]=i;h=f;r=r+ +(c|0);n=j;j=u+ +(d|0);u=n*j;n=(q+(l*r+u))*256;n=n+(n<0?-.5:.5);a:{if(D(n)<2147483648){d=~~n;break a}d=-2147483648}v[h+40>>2]=d;h=f;s=j*s;j=(k+(r*x+s))*256;j=j+(j<0?-.5:.5);b:{if(D(j)<2147483648){c=~~j;break b}c=-2147483648}v[h+20>>2]=c;h=f;j=q;q=r+ +(e>>>0);l=(j+(q*l+u))*256;l=l+(l<0?-.5:.5);c:{if(D(l)<2147483648){m=~~l;break c}m=-2147483648}d=m-d|0;g=(d|0)/(i|0)|0;o=d-B(g,i)|0;p=(o|0)<1;v[h+28>>2]=g-p;h=f;k=(k+(q*x+s))*256;k=k+(k<0?-.5:.5);d:{if(D(k)<2147483648){d=~~k;break d}d=-2147483648}c=d-c|0;d=(c|0)/(i|0)|0;m=d;c=c-B(d,i)|0;d=(c|0)<1;v[h+8>>2]=m-d;g=o+(p?e:0)|0;v[f+32>>2]=g;c=c+(d?e:0)|0;v[f+12>>2]=c;v[f+36>>2]=g-e;v[f+16>>2]=c-e;i=v[a>>2];d=i+4|0;f=v[a+4>>2];g=v[f+40>>2];c=v[f+20>>2];y=v[f+28>>2];z=v[f+32>>2];C=v[f+8>>2];E=v[f+12>>2];while(1){a=g>>8;v[i+16>>2]=a;o=c>>8;v[i+8>>2]=o;v[i+12>>2]=o;m=0;h=d;e:{if((g|0)<0){break e}p=v[v[i>>2]>>2];h=d;if(v[p+12>>2]<=(a|0)){break e}h=d;if((c|0)<0){break e}h=d;if((o|0)>=v[p+8>>2]){break e}m=(v[p+4>>2]+B(v[p+16>>2],a)|0)+(o<<2)|0;h=m}a=h;v[i+20>>2]=m;t[b|0]=w[a|0];t[b+1|0]=w[a+1|0];t[b+2|0]=w[a+2|0];t[b+3|0]=w[a+3|0];c=c+C|0;v[f+20>>2]=c;a=v[f+16>>2]+E|0;v[f+16>>2]=a;if((a|0)>=1){c=c+1|0;v[f+20>>2]=c;v[f+16>>2]=a-v[f+4>>2]}g=g+y|0;v[f+40>>2]=g;a=v[f+36>>2]+z|0;v[f+36>>2]=a;if((a|0)>=1){g=g+1|0;v[f+40>>2]=g;v[f+36>>2]=a-v[f+24>>2]}b=b+4|0;e=e-1|0;if(e){continue}break}}function Gb(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;e=v[a+1176>>2];if((e|0)<=v[a+92>>2]){f=v[b+20>>2];a:{while(1){v[b>>2]=2147483632;v[b+28>>2]=f;j=v[b+8>>2];v[b+16>>2]=j;u[f+2>>1]=0;e=v[a+44>>2]+(e-v[a+84>>2]<<3)|0;k=v[e+4>>2];if(k){e=v[a+32>>2]+(v[e>>2]<<2)|0;l=0;i=2147483632;g=f;while(1){f=v[e>>2];l=v[f+8>>2]+l|0;m=v[f+12>>2];h=v[f>>2];d=k-1|0;b:{if(!d){n=1;c=0;break b}k=((k<<2)+e|0)-4|0;while(1){c=e+4|0;f=v[e+4>>2];e=v[f>>2];n=(e|0)==(h|0);if((e|0)!=(h|0)){e=c;c=d;break b}l=v[f+8>>2]+l|0;m=v[f+12>>2]+m|0;e=c;d=d-1|0;if(d){continue}break}e=k;c=0}k=c;if(m){c=(l<<9)-m|0;d=c>>9;d=(c|0)<0?0-d|0:d;c=d&511;c=v[a+1156>>2]==1?c>>>0>256?512-c|0:c:d;c=v[((((c|0)<255?c:255)<<2)+a|0)+132>>2];if(c){t[j|0]=c;c=v[b+28>>2];c:{d:{if((v[b>>2]+1|0)!=(h|0)){break d}g=u[c+2>>1];if((g|0)<1){break d}u[c+2>>1]=g+1;d=v[b+16>>2];g=c;break c}g=c+8|0;v[b+28>>2]=g;d=v[b+16>>2];u[c+10>>1]=1;u[c+8>>1]=h;v[c+12>>2]=d}v[b>>2]=h;j=d+1|0;v[b+16>>2]=j;i=h}h=h+1|0}e:{if(n){break e}f=v[f>>2];if((f|0)<=(h|0)){break e}c=l<<9;d=c>>9;d=(c|0)<0?0-d|0:d;c=d&511;c=v[a+1156>>2]==1?c>>>0>256?512-c|0:c:d;c=v[((((c|0)<255?c:255)<<2)+a|0)+132>>2];if(!c){break e}d=f-h|0;f:{g:{if((i+1|0)!=(h|0)){break g}i=u[g+2>>1];if((c|0)!=w[v[g+4>>2]]|(i|0)>-1){break g}u[g+2>>1]=i-d;break f}t[j|0]=c;c=v[b+28>>2];g=c+8|0;v[b+28>>2]=g;i=v[b+16>>2];j=i+1|0;v[b+16>>2]=j;u[c+10>>1]=0-d;u[c+8>>1]=h;v[c+12>>2]=i}i=f-1|0;v[b>>2]=i}if(k){continue}break}f=v[b+20>>2];if((g|0)!=(f|0)){break a}}g=v[a+1176>>2];e=g+1|0;v[a+1176>>2]=e;if((g|0)>2]){continue}break}return 0}e=b;b=v[a+1176>>2];v[e+4>>2]=b;v[a+1176>>2]=b+1;a=1}else{a=0}return a}function LY(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=Ma-32|0;Ma=l;a:{b:{c:{d:{g=v[a+8>>2];k=v[a+12>>2];if((g|0)==(k|0)){break d}e=w[b+11|0];f=e<<24>>24<0;j=f?v[b>>2]:b;i=f?v[b+4>>2]:e;if(!i){while(1){h=w[g+11|0];e=h<<24>>24;e:{if((e|0)<0?v[g+4>>2]:h){break e}if((e|0)<1){break d}if(w[j|0]!=w[g|0]){break e}f=g;e=j;while(1){h=h-1|0;if(!h){break d}i=w[e+1|0];e=e+1|0;f=f+1|0;if((i|0)==w[f|0]){continue}break}}g=g+20|0;if((k|0)!=(g|0)){continue}break c}}while(1){h=w[g+11|0];f=h<<24>>24;e=(f|0)<0;f:{if((i|0)!=((e?v[g+4>>2]:h)|0)){break f}m=v[g>>2];if(!e){if(!f){break d}f=g;e=j;if(w[e|0]!=(m&255)){break f}while(1){h=h-1|0;if(!h){break d}m=w[e+1|0];e=e+1|0;f=f+1|0;if((m|0)==w[f|0]){continue}break}break f}if(!Jb(m,j,i)){break d}}g=g+20|0;if((k|0)!=(g|0)){continue}break}break c}if((g|0)!=(k|0)){break b}}v[c>>2]=0;v[d>>2]=0;break a}e=v[g+16>>2];if(e){v[c>>2]=v[g+12>>2];v[d>>2]=e;break a}j=ab(24);v[j>>2]=v[a>>2];v[j+4>>2]=v[a+4>>2];aI(l,j);e=HY(l);v[c>>2]=0;v[d>>2]=0;k=t[b+11|0]<0?v[b>>2]:b;h=Ma-80|0;Ma=h;if(c){g:{v[c>>2]=0;while(1){b=0;a=Ma-352|0;Ma=a;h:{i:{if(!dw(e,a+16|0,a+96|0,256)){f=zb(a+96|0);if(f>>>0>=4294967280){break i}j:{k:{if(f>>>0>=11){i=f+16&-16;b=ab(i);v[a+8>>2]=i|-2147483648;v[a>>2]=b;v[a+4>>2]=f;break k}t[a+11|0]=f;b=a;if(!f){break j}}cb(b,a+96|0,f)}t[b+f|0]=0;b=v[a>>2];f=t[a+11|0];i=hb(k,(f|0)<0?b:a);if((f|0)<=-1){$a(b)}b=!i}Ma=a+352|0;break h}sc();L()}if(b){dw(e,h,0,0);a=v[h+28>>2];b=v[d>>2];a=b?a>>>0>>0?a:b:a;v[d>>2]=a;b=ab(a);v[c>>2]=b;if(!GY(e)){FY(e,b,a);dI(e)}break g}if(!cI(e)){continue}break}}}Ma=h+80|0;eI(e);v[g+16>>2]=v[d>>2];v[g+12>>2]=v[c>>2];$a(j)}Ma=l+32|0}function vr(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;if(v[a+8>>2]==1){wb(v[a+628>>2],v[a>>2],46863,0);return-1}if(!(w[a+13|0]&4)){wb(v[a+628>>2],v[a>>2],47383,0);return-1}f=Ma+-64|0;Ma=f;g=v[a+56>>2];a:{b:{if(g>>>0<=c>>>0){h=v[a>>2];i=v[a+628>>2];v[f+52>>2]=g-1;v[f+48>>2]=c;wb(i,h,1123,f+48|0);break b}g=v[a+60>>2];if(g>>>0<=d>>>0){h=v[a>>2];i=v[a+628>>2];v[f+36>>2]=g-1;v[f+32>>2]=d;wb(i,h,5008,f+32|0);break b}g=v[a- -64>>2];if(!g){h=v[a>>2];i=v[a+628>>2];v[f+20>>2]=g-1;v[f+16>>2]=0;wb(i,h,9278,f+16|0);break b}g=1;if(x[a+138>>1]!=2){break a}h=x[a+98>>1];if(h>>>0>e>>>0){break a}g=v[a>>2];i=v[a+628>>2];v[f+4>>2]=h-1;v[f>>2]=e;wb(i,g,12641,f)}g=0}Ma=f- -64|0;if(!g){return-1}f=a;h=v[a+72>>2];g=1;i=v[a+68>>2];if((i|0)==-1){i=v[f+56>>2]}h=(h|0)==-1?v[f+60>>2]:h;c:{d:{if(!i|!h){break d}l=v[f- -64>>2];j=v[f+76>>2];j=(j|0)==-1?l:j;if(!j){break d}g=0;k=v[f+56>>2];if(k>>>0<0-i>>>0){m=((i+k|0)-1>>>0)/(i>>>0)|0}k=v[f+60>>2];if(k>>>0<0-h>>>0){g=((h+k|0)-1>>>0)/(h>>>0)|0}k=0;k=0-j>>>0>l>>>0?((j+l|0)-1>>>0)/(j>>>0)|0:k;e=B(B(B(e,k)+(0/(j>>>0)|0)|0,g)+((d>>>0)/(h>>>0)|0)|0,m)+((c>>>0)/(i>>>0)|0)|0;if(x[f+138>>1]==2){break c}g=B(B(0/(j>>>0)|0,g)+((d>>>0)/(h>>>0)|0)|0,m)+((c>>>0)/(i>>>0)|0)|0}e=g}c=e;e=b;f=Ma-16|0;Ma=f;e:{if(v[a+8>>2]==1){wb(v[a+628>>2],v[a>>2],46863,0);b=-1;break e}if(!(w[a+13|0]&4)){wb(v[a+628>>2],v[a>>2],47383,0);b=-1;break e}b=v[a+180>>2];if(b>>>0<=c>>>0){d=v[a>>2];a=v[a+628>>2];v[f+4>>2]=b;v[f>>2]=c;wb(a,d,22970,f);b=-1;break e}d=v[a+508>>2];b=-1;if(!AN(a,c)){break e}if(!(Qa[v[a+556>>2]](a,e,d,(c>>>0)/y[a+176>>2]&65535)|0)){break e}Qa[v[a+652>>2]](a,e,d);b=d}Ma=f+16|0;return b}function bva(a,b){a=a|0;b=b|0;var c=0,d=0;a:{c=v[a+508>>2];if((c|0)>=2){d=c-1|0;c=0;while(1){if(v[(B(c,12)+a|0)+272>>2]==218){break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}}b=w[43840]|w[43841]<<8|(w[43842]<<16|w[43843]<<24);t[a+35|0]=b;t[a+36|0]=b>>>8;t[a+37|0]=b>>>16;t[a+38|0]=b>>>24;b=w[43837]|w[43838]<<8|(w[43839]<<16|w[43840]<<24);c=w[43833]|w[43834]<<8|(w[43835]<<16|w[43836]<<24);t[a+28|0]=c;t[a+29|0]=c>>>8;t[a+30|0]=c>>>16;t[a+31|0]=c>>>24;t[a+32|0]=b;t[a+33|0]=b>>>8;t[a+34|0]=b>>>16;t[a+35|0]=b>>>24;b=w[43829]|w[43830]<<8|(w[43831]<<16|w[43832]<<24);c=w[43825]|w[43826]<<8|(w[43827]<<16|w[43828]<<24);t[a+20|0]=c;t[a+21|0]=c>>>8;t[a+22|0]=c>>>16;t[a+23|0]=c>>>24;t[a+24|0]=b;t[a+25|0]=b>>>8;t[a+26|0]=b>>>16;t[a+27|0]=b>>>24;b=w[43821]|w[43822]<<8|(w[43823]<<16|w[43824]<<24);c=w[43817]|w[43818]<<8|(w[43819]<<16|w[43820]<<24);t[a+12|0]=c;t[a+13|0]=c>>>8;t[a+14|0]=c>>>16;t[a+15|0]=c>>>24;t[a+16|0]=b;t[a+17|0]=b>>>8;t[a+18|0]=b>>>16;t[a+19|0]=b>>>24;b=w[43813]|w[43814]<<8|(w[43815]<<16|w[43816]<<24);c=w[43809]|w[43810]<<8|(w[43811]<<16|w[43812]<<24);t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+8|0]=b;t[a+9|0]=b>>>8;t[a+10|0]=b>>>16;t[a+11|0]=b>>>24;return 0}Qa[v[v[b>>2]+44>>2]](b,255)|0;Qa[v[v[b>>2]+44>>2]](b,216)|0;if((v[a+272>>2]&-2)!=224){Qa[v[v[b>>2]+16>>2]](b,1015072,18,1)|0}c=0;if(v[a+508>>2]>=2){while(1){Qa[v[v[b>>2]+44>>2]](b,255)|0;d=B(c,12)+a|0;Qa[v[v[b>>2]+44>>2]](b,w[d+272|0])|0;Qa[v[v[b>>2]+16>>2]](b,v[d+268>>2],v[d+276>>2],1)|0;c=c+1|0;if((c|0)<(v[a+508>>2]-1|0)){continue}break}}a=B(c,12)+a|0;Qa[v[v[b>>2]+16>>2]](b,v[a+268>>2],v[a+276>>2],1)|0;return 1}function A2a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;if(v[a+12>>2]<1){return 0}g=v[a+16>>2];a:{b:{while(1){d=v[c+8>>2];if(d&7){break a}e=w[g+1|0];f=v[c+64>>2];if((f|0)>=0&(f|0)<=v[c+60>>2]){break b}v[c+4>>2]=v[c+4>>2]|32;d=v[c+28>>2];v[c+28>>2]=d-1;c:{if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;d=v[c+24>>2];v[c+24>>2]=d+1;t[d|0]=e;break c}if((Cb(c,e)|0)==-1){break a}}e=v[g+4>>2];d:{if(y[b>>2]>=257){if(!wg(c,e)){break d}break a}d=v[c+8>>2];if(d&7){break a}f=v[c+64>>2];if((f|0)>=0&(f|0)<=v[c+60>>2]){break b}v[c+4>>2]=v[c+4>>2]|32;d=v[c+28>>2];v[c+28>>2]=d-1;if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;d=v[c+24>>2];v[c+24>>2]=d+1;t[d|0]=e;break d}if((Cb(c,e&255)|0)==-1){break a}}if(wg(c,v[g+12>>2])){break a}d=v[c+8>>2];if(d&7){break a}e=w[g+2|0];f=v[c+64>>2];if((f|0)>=0&(f|0)<=v[c+60>>2]){break b}v[c+4>>2]=v[c+4>>2]|32;d=v[c+28>>2];v[c+28>>2]=d-1;e:{if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;d=v[c+24>>2];v[c+24>>2]=d+1;t[d|0]=e;break e}if((Cb(c,e)|0)==-1){break a}}e=v[g+8>>2];f:{if(y[b>>2]>=257){if(!wg(c,e)){break f}break a}d=v[c+8>>2];if(d&7){break a}f=v[c+64>>2];if((f|0)>=0&(f|0)<=v[c+60>>2]){break b}v[c+4>>2]=v[c+4>>2]|32;d=v[c+28>>2];v[c+28>>2]=d-1;if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;d=v[c+24>>2];v[c+24>>2]=d+1;t[d|0]=e;break f}if((Cb(c,e&255)|0)==-1){break a}}d=v[c+8>>2];if(d&7){break a}e=w[g|0];f=v[c+64>>2];if((f|0)>=0&(f|0)<=v[c+60>>2]){break b}v[c+4>>2]=v[c+4>>2]|32;d=v[c+28>>2];v[c+28>>2]=d-1;g:{if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;d=v[c+24>>2];v[c+24>>2]=d+1;t[d|0]=e;break g}if((Cb(c,e)|0)==-1){break a}}g=g+16|0;h=h+1|0;if((h|0)>2]){continue}break}return 0}v[c+8>>2]=d|4}return-1}function ZB(a){var b=0,c=0,d=0;a:{b:{c:{if(w[a+432|0]){d:{if(!w[a+496|0]|!w[a+304|0]){break d}c=v[a+520>>2];if(!c){break d}v[a+524>>2]=v[a+524>>2]+1;e:{switch(w[c+28|0]-1|0){case 0:d=a;b=v[c+32>>2];c=v[a+1116>>2];f:{if(b>>>0<=c>>>0){if(c){break f}b=1}v[d+1116>>2]=b}b=_B(a);if(b){break b}if(!w[a+497|0]){b=p4(a);if(b){break b}}t[a+498|0]=10;break d;case 1:b=Ww(a);if(b){break b}g:{b=v[a+208>>2];if(!b){break g}if(Qa[b|0](a,v[a+524>>2],0)|0){break g}break a}v[a+508>>2]=0;t[a+504|0]=1;v[a+516>>2]=c;b=v[c+32>>2];d=v[a+1116>>2];if(b>>>0>d>>>0){v[a+1116>>2]=b;break d}if(d){break d}v[a+1116>>2]=1;break d;case 2:break e;default:break d}}d=v[c+36>>2];b=d-1|0;if(b>>>0<=2147483645){v[c+36>>2]=b}else{b=d}if(b){b=Ww(a);if(b){break b}h:{b=v[a+208>>2];if(!b){break h}if(Qa[b|0](a,v[a+524>>2],v[c+36>>2])|0){break h}break a}v[a+516>>2]=c;b=v[c+32>>2];if(!b){break d}d=a;c=v[a+1116>>2];i:{if(c>>>0>=b>>>0){if(c){break i}b=1}v[d+1116>>2]=b}t[a+502|0]=1;break d}j:{switch(w[c+29|0]-1|0){case 0:d=a;b=v[c+32>>2];c=v[a+1116>>2];k:{if(b>>>0<=c>>>0){if(c){break k}b=1}v[d+1116>>2]=b}b=_B(a);if(b){break b}if(!w[a+497|0]){b=p4(a);if(b){break b}}t[a+498|0]=10;break d;case 1:break j;default:break d}}b=Ww(a);if(b){break b}l:{b=v[a+208>>2];if(!b){break l}if(Qa[b|0](a,v[a+524>>2],0)|0){break l}break a}v[a+508>>2]=0;t[a+504|0]=1;v[a+516>>2]=c;b=v[c+32>>2];d=v[a+1116>>2];if(b>>>0>d>>>0){v[a+1116>>2]=b;break d}if(d){break d}v[a+1116>>2]=1}if(w[a+432|0]){break c}}if(!w[a+344|0]){break c}b=v[a+208>>2];if(!b){break c}if(Qa[b|0](a,0,0)|0){break c}break a}b=0;if(v[a+516>>2]){break b}t[a+502|0]=1}return b}ob(a,904,0,0);return 904}function Oea(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Ma-32|0;Ma=d;v[a+24>>2]=0;f=v[a+12>>2];f=Qa[v[v[f>>2]+8>>2]](f,b,c)|0;a:{if(f){v[d+8>>2]=0;c=v[a+16>>2];b:{if(!c){break b}e=d+16|0;Qa[v[v[c>>2]+76>>2]](e,c);jb(d+8|0,e);c=v[d+16>>2];v[d+16>>2]=0;if(!c){break b}e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(e){break b}e=v[c+4>>2];if(!e){v[c+4>>2]=-32767}if(!e){Qa[v[v[c>>2]+4>>2]](c)}}c=a+16|0;vu(d+16|0,b,f,d+8|0);b=v[d+16>>2];c:{if(b){Qa[v[v[b>>2]+28>>2]](d+24|0,b,1);break c}v[d+24>>2]=0}jb(c,d+24|0);b=v[d+24>>2];v[d+24>>2]=0;d:{if(!b){break d}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break d}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=a;a=v[a+16>>2];v[b+20>>2]=v[(a?a+12|0:1117e3)>>2];db(d+16|0);a=v[d+8>>2];v[d+8>>2]=0;if(!a){break a}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break a}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}break a}v[d+8>>2]=0;b=v[a+16>>2];e:{if(!b){break e}c=d+16|0;Qa[v[v[b>>2]+76>>2]](c,b);jb(d+8|0,c);b=v[d+16>>2];v[d+16>>2]=0;if(!b){break e}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break e}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}c=a+16|0;vu(d+16|0,0,0,d+8|0);b=v[d+16>>2];f:{if(b){Qa[v[v[b>>2]+28>>2]](d+24|0,b,1);break f}v[d+24>>2]=0}jb(c,d+24|0);b=v[d+24>>2];v[d+24>>2]=0;g:{if(!b){break g}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break g}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=a;a=v[a+16>>2];v[b+20>>2]=v[(a?a+12|0:1117e3)>>2];db(d+16|0);a=v[d+8>>2];v[d+8>>2]=0;if(!a){break a}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break a}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=d+32|0;return f|0}function yO(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;j=Ma-16|0;Ma=j;k=hi(g);o=Br(g);g=o;Qa[v[v[g>>2]+20>>2]](j,g);v[f>>2]=d;a:{b:{h=a;g=w[h|0];switch(g-43|0){case 0:case 2:break b;default:break a}}g=Qa[v[v[k>>2]+44>>2]](k,g<<24>>24)|0;h=v[f>>2];v[f>>2]=h+4;v[h>>2]=g;h=a+1|0}c:{g=h;if(!((c-g|0)<=1|w[g|0]!=48|(w[g+1|0]|32)!=120)){g=Qa[v[v[k>>2]+44>>2]](k,48)|0;i=v[f>>2];v[f>>2]=i+4;v[i>>2]=g;g=Qa[v[v[k>>2]+44>>2]](k,t[h+1|0])|0;i=v[f>>2];v[f>>2]=i+4;v[i>>2]=g;h=h+2|0;g=h;while(1){if(c>>>0<=g>>>0){break c}i=t[g|0];te();if(!(i-48>>>0<10|(i|32)-97>>>0<6)){break c}g=g+1|0;continue}}while(1){if(c>>>0<=g>>>0){break c}i=t[g|0];te();if(i-48>>>0>=10){break c}g=g+1|0;continue}}if(w[j+11|0]>>>7|0){l=v[j+4>>2]}else{l=w[j+11|0]}d:{if(!l){Qa[v[v[k>>2]+48>>2]](k,h,g,v[f>>2])|0;v[f>>2]=v[f>>2]+(g-h<<2);break d}Cp(h,g);q=Qa[v[v[o>>2]+16>>2]](o)|0;i=h;while(1){if(g>>>0<=i>>>0){xx((h-a<<2)+d|0,v[f>>2])}else{if(w[j+11|0]>>>7|0){l=v[j>>2]}else{l=j}p=t[l+m|0]!=(n|0);if(w[j+11|0]>>>7|0){l=v[j>>2]}else{l=j}if(!(p|t[l+m|0]<1)){n=v[f>>2];v[f>>2]=n+4;v[n>>2]=q;if(w[j+11|0]>>>7|0){l=v[j+4>>2]}else{l=w[j+11|0]}m=(l-1>>>0>m>>>0)+m|0;n=0}l=Qa[v[v[k>>2]+44>>2]](k,t[i|0])|0;p=v[f>>2];v[f>>2]=p+4;v[p>>2]=l;i=i+1|0;n=n+1|0;continue}break}}e:{f:{while(1){if(c>>>0<=g>>>0){break f}h=w[g|0];if((h|0)!=46){h=Qa[v[v[k>>2]+44>>2]](k,h<<24>>24)|0;m=v[f>>2];v[f>>2]=m+4;v[m>>2]=h;g=g+1|0;continue}break}h=Qa[v[v[o>>2]+12>>2]](o)|0;m=v[f>>2];i=m+4|0;v[f>>2]=i;v[m>>2]=h;g=g+1|0;break e}i=v[f>>2]}Qa[v[v[k>>2]+48>>2]](k,g,c,i)|0;h=f;f=v[f>>2]+(c-g<<2)|0;v[h>>2]=f;v[e>>2]=(b|0)==(c|0)?f:(b-a<<2)+d|0;Vb(j);Ma=j+16|0}function AVa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;if(w[b+32|0]){return hd(a,v[b>>2],0,0)|0}d=v[a+428>>2];t[d+8|0]=w[b+33|0];g=d+8|0;e=v[b+36>>2];a:{b:{c:{if(!e){if(w[b+44|0]){d=d+9|0;break b}if(!(w[b+47|0]|(w[b+45|0]|w[b+46|0]))){e=1;break a}d=d+9|0;e=1;break c}cb(d+9|0,v[b+40>>2],e);c=v[b+36>>2];d=(g+c|0)+1|0;if(w[b+44|0]){break b}e=c+1|0}if(w[b+45|0]|w[b+46|0]){break b}if(!w[b+47|0]){break a}}t[d|0]=0;t[d+1|0]=w[b+44|0];t[d+2|0]=w[b+45|0];t[d+3|0]=w[b+46|0];t[d+4|0]=w[b+47|0];d:{if(!w[b+44|0]){e=c+6|0;d=d+5|0;break d}e=v[b+48>>2];e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);t[d+5|0]=e;t[d+6|0]=e>>>8;t[d+7|0]=e>>>16;t[d+8|0]=e>>>24;e=c+10|0;d=d+9|0}if(w[b+45|0]){c=v[b+52>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d|0]=c;t[d+1|0]=c>>>8;t[d+2|0]=c>>>16;t[d+3|0]=c>>>24;e=e+4|0;d=d+4|0}if(w[b+46|0]){t[d|0]=w[b+56|0];c=v[b+60>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+1|0]=c;t[d+2|0]=c>>>8;t[d+3|0]=c>>>16;t[d+4|0]=c>>>24;c=v[b+64>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+5|0]=c;t[d+6|0]=c>>>8;t[d+7|0]=c>>>16;t[d+8|0]=c>>>24;c=v[b+68>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+9|0]=c;t[d+10|0]=c>>>8;t[d+11|0]=c>>>16;t[d+12|0]=c>>>24;c=v[b+72>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+13|0]=c;t[d+14|0]=c>>>8;t[d+15|0]=c>>>16;t[d+16|0]=c>>>24;e=e+17|0;d=d+17|0}if(!w[b+47|0]){break a}c=v[b+76>>2];e=(c<<2)+e|0;if(!c){break a}c=v[b+80>>2];while(1){f=v[c>>2];f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);t[d|0]=f;t[d+1|0]=f>>>8;t[d+2|0]=f>>>16;t[d+3|0]=f>>>24;d=d+4|0;c=c+4|0;h=h+1|0;if(h>>>0>2]){continue}break}}return hd(a,v[b>>2],e,g)|0}function SWa(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;a:{b:{c:{if(w[a+285|0]|w[a+286|0]|(w[a+287|0]|w[a+288|0])){break c}if(w[a+289|0]){break c}break b}if(w[a+300|0]|w[a+293|0]|(w[a+292|0]|w[a+291|0])){break b}d:{e:{f:{g:{h:{i:{j:{k:{l:{if(!w[a+286|0]){f=w[a+287|0];if(f){break k}if(!(w[a+289|0]?1:w[a+288|0])){break l}if((c|0)!=4){break a}if(f){break j}break i}if((c|0)==4){break j}break a}if(!(c&-5)){break i}break a}if((c|0)!=4){break a}}t[a+295|0]=1;break h}m:{if(!(w[a+288|0]|w[a+289|0])){t[a+308|0]=(c|0)!=0;break m}t[a+295|0]=1}if(w[a+288|0]|w[a+289|0]){break h}if(c){break g}f=v[a+2192>>2];break f}n:{if(!w[a+288|0]){g=v[a+512>>2];if(g){break n}}g=v[a+528>>2]}f=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);g=v[g+88>>2];t[g+57|0]=1;v[g+1104>>2]=f<<8&16711680|f<<24|(f>>>8&65280|f>>>24);break e}f=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);v[a+2192>>2]=f}h=0;o:{if(!w[a+114|0]){break o}h=!c;g=Qa[v[a+152>>2]](36)|0;if(!g){ob(a,1,0,0);h=1;break o}v[g+4>>2]=701;v[g>>2]=702;i=v[a+700>>2];p:{if(i){v[i+8>>2]=g;break p}v[a+696>>2]=g}v[g+8>>2]=0;v[g+12>>2]=i;v[a+700>>2]=g;v[g+16>>2]=v[a+436>>2];v[g+20>>2]=v[a+440>>2];v[g+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=g}v[g+32>>2]=f;t[g+28|0]=h;h=0}f=h;if(f){break d}}q:{if(!w[a+112|0]){break q}f=Qa[v[b+4>>2]](a,b,e)|0;if(f){break d}a=v[e>>2];b=!c;t[a+32|0]=b;if(b){break q}b=a;a=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);v[b+36>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}f=0}return f|0}ob(a,1029,0,0);return 1029}ob(a,1028,0,0);return 1028}function $T(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;n=d+e|0;a:{if((n|0)<0){break a}g=v[a+12>>2];if((g|0)<(n|0)){g=g?g<<1:1024;while(1){f=g;if((n|0)>(f|0)){g=f<<1;if((f|0)>0){continue}}break}if((f|0)<0){break a}i=yc(v[a+8>>2],f,12);v[a+8>>2]=i;g=v[a+12>>2];b:{if((f|0)<=(g|0)){break b}h=(g^-1)+f|0;k=f-g&3;if(k){while(1){j=B(g,12)+i|0;v[j+8>>2]=0;v[j>>2]=-1;g=g+1|0;k=k-1|0;if(k){continue}break}}if(h>>>0<3){break b}while(1){h=B(g,12)+i|0;v[h>>2]=-1;v[h+8>>2]=0;v[h+12>>2]=-1;v[h+20>>2]=0;v[h+24>>2]=-1;v[h+44>>2]=0;v[h+32>>2]=0;v[h+36>>2]=-1;g=g+4|0;if((f|0)!=(g|0)){continue}break}}v[a+12>>2]=f}k=1;if((e|0)<1){break a}while(1){f=v[c>>2];c:{if(!f){m=1;g=0;break c}m=0;g=0;k=0;e=0;if((f|0)<1){break c}while(1){f=Qa[v[v[b>>2]+28>>2]](b)|0;if((f|0)==-1){break a}h=f>>31;j=f;f=m;g=g<<8|f>>>24;i=f<<8;f=j+i|0;g=h+g|0;g=f>>>0>>0?g+1|0:g;m=f;e=e+1|0;if((e|0)>2]){continue}break}}l=0;f=0;k=0;e=0;i=0;h=0;j=0;if(v[c+4>>2]>=1){while(1){j=Qa[v[v[b>>2]+28>>2]](b)|0;if((j|0)==-1){break a}o=j>>31;p=j;h=h<<8|i>>>24;j=i<<8;i=p+j|0;h=h+o|0;h=i>>>0>>0?h+1|0:h;e=e+1|0;if((e|0)>2]){continue}break}j=i;if(!h&i>>>0>2147483647|h){break a}}e=0;if(v[c+8>>2]>=1){while(1){h=Qa[v[v[b>>2]+28>>2]](b)|0;if((h|0)==-1){break a}o=h>>31;p=h;i=l;h=f<<8|i>>>24;l=i<<8;i=p+l|0;f=h+o|0;f=i>>>0>>0?f+1|0:f;l=i;e=e+1|0;if((e|0)>2]){continue}break}if(!f&l>>>0>2147483647|f){break a}}e=v[a+8>>2]+B(d,12)|0;d:{if(v[e>>2]!=-1){break d}if(!g&m>>>0>2|g){return 0}v[e>>2]=j;v[e+8>>2]=m;v[e+4>>2]=l;if(v[a+16>>2]>=(d|0)){break d}v[a+16>>2]=d}k=1;d=d+1|0;if((n|0)>(d|0)){continue}break}}return k}function xq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=Ma-16|0;Ma=e;a:{if(!a){break a}c=-1;b:{c:{switch(b+1|0){case 0:Yj(a,31,341241,0);break a;case 1:v[a+256>>2]=1;break a;case 2:v[a+256>>2]=1;b=v[a+36>>2];if(!b){break a}a=v[b+16>>2];if(w[a|0]!=239|w[a+1|0]!=187|w[a+2|0]!=191){break a}v[b+16>>2]=a+3;break a;case 3:case 4:c=90;f=v[a+36>>2];if(!f){break b}d=v[f+16>>2];if(!d|w[d|0]!=239|(w[d+1|0]!=187|w[d+2|0]!=191)){break b}v[f+16>>2]=d+3;break b;case 10:c=90;break b;case 5:case 6:case 8:case 9:c=180;break b;case 7:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:break c;default:break b}}c=45}d=PH(b);if(!d){d:{switch(b-4|0){case 18:v[a+256>>2]=1;break a;case 0:Yj(a,32,340485,251070);break a;case 1:Yj(a,32,340485,251054);break a;case 2:Yj(a,32,340485,312757);break a;case 3:Yj(a,32,340485,318904);break a;case 4:Yj(a,32,340485,320522);break a;case 5:Yj(a,32,340485,320017);break a;case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:e:{if(v[a+24>>2]|v[a+40>>2]!=1){break e}c=v[a+36>>2];if(!c){break e}c=v[c+44>>2];if(!c){break e}g=a,h=Sd(c),v[g+24>>2]=h}v[a+256>>2]=b;break a;case 15:Yj(a,32,340485,310568);break a;case 16:Yj(a,32,340485,310134);break a;case 17:break d;default:break a}}Yj(a,32,340485,310561);break a}v[a+256>>2]=1;b=v[a+36>>2];f:{if(!b){if(v[a+172>>2]==-1?v[a+212>>2]:0){break f}v[a+84>>2]=1;v[e>>2]=0;nb(0,0,0,a,0,1,1,3,0,0,0,0,338591,e);v[a+12>>2]=0;if(v[a+288>>2]){break f}v[a+212>>2]=1;break f}b=WX(a,b,d,c);v[a+256>>2]=1;if((b|0)<0){break f}if(v[a+84>>2]!=6003){break a}}RW(a);v[a+84>>2]=6003}Ma=e+16|0}function Ms(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{if(!a|v[a+4>>2]==18|(!b|v[b+4>>2]==18)){break a}if((a|0)==(b|0)){break a}hj(b);b:{c:{switch(v[b+4>>2]-2|0){case 1:if(v[a+4>>2]==3){d=v[b+40>>2];if(d){if(w[d|0]){c=d;while(1){f=f+1|0;e=w[c+1|0];c=c+1|0;if(e){continue}break}}Wz(a,d,f)}Ck(b);return a}c=v[a+24>>2];if(!c|v[c+4>>2]!=3|v[a+8>>2]!=v[c+8>>2]){break b}h=Fo(Sd(v[b+40>>2]),v[v[a+24>>2]+40>>2]);f=h;e=v[a+24>>2];d:{if(!e){break d}c=v[e+4>>2];if(c>>>0>11){break d}c=1<>2];if(c){vl(c)}c=Yz(v[e+32>>2],f);v[e+12>>2]=c;e:{f:{if(c){f=v[c+24>>2];if(f){break f}d=c;break e}v[e+16>>2]=0;break d}while(1){v[c+20>>2]=e;d=f;c=d;f=v[c+24>>2];if(f){continue}break}}v[d+20>>2]=e;v[e+16>>2]=d;break d}d=v[e+40>>2];g:{if(!d|(d|0)==(e+44|0)){break g}c=v[e+32>>2];h:{if(!c){break h}g=v[c+80>>2];if(!g){break h}while(1){c=v[g+16>>2];if(c){while(1){if(d>>>0<=y[c+4>>2]&d>>>0>=c+20>>>0){break g}c=v[c>>2];if(c){continue}break}}g=v[g+20>>2];if(g){continue}break}}Qa[v[256556]](d)}c=v[e+12>>2];if(c){vl(c)}v[e+12>>2]=0;v[e+16>>2]=0;i:{if(!f){c=0;break i}c=f;while(1){d=c;c=c+1|0;if(w[d|0]){continue}break}c=0;d=d-f|0;if((d|0)<0){break i}g=Qa[v[256555]](d+1|0)|0;if(!g){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break i}c=cb(g,f,d);t[d+c|0]=0}v[e+44>>2]=0;v[e+48>>2]=0;v[e+40>>2]=c}Qa[v[256556]](h);Ck(b);return v[a+24>>2];case 0:break c;default:break b}}return UX(a,a,b)}c=v[a+32>>2];if((c|0)!=v[b+32>>2]){ul(b,c)}c=v[a+20>>2];v[b+28>>2]=a;v[b+20>>2]=c;v[b+24>>2]=v[a+24>>2];v[a+24>>2]=b;f=v[b+24>>2];if(f){v[f+28>>2]=b}if(!(!c|v[c+16>>2]!=(a|0))){v[c+16>>2]=b}c=b}return c}function oza(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(v[d>>2]<=0){if(!v[c>>2]){v[c>>2]=308;return 0}a=v[a+8>>2];c=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);d=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);t[b+260|0]=d;t[b+261|0]=d>>>8;t[b+262|0]=d>>>16;t[b+263|0]=d>>>24;t[b+264|0]=c;t[b+265|0]=c>>>8;t[b+266|0]=c>>>16;t[b+267|0]=c>>>24;c=w[a+44|0]|w[a+45|0]<<8|(w[a+46|0]<<16|w[a+47|0]<<24);d=w[a+40|0]|w[a+41|0]<<8|(w[a+42|0]<<16|w[a+43|0]<<24);t[b+300|0]=d;t[b+301|0]=d>>>8;t[b+302|0]=d>>>16;t[b+303|0]=d>>>24;t[b+304|0]=c;t[b+305|0]=c>>>8;t[b+306|0]=c>>>16;t[b+307|0]=c>>>24;c=w[a+36|0]|w[a+37|0]<<8|(w[a+38|0]<<16|w[a+39|0]<<24);d=w[a+32|0]|w[a+33|0]<<8|(w[a+34|0]<<16|w[a+35|0]<<24);t[b+292|0]=d;t[b+293|0]=d>>>8;t[b+294|0]=d>>>16;t[b+295|0]=d>>>24;t[b+296|0]=c;t[b+297|0]=c>>>8;t[b+298|0]=c>>>16;t[b+299|0]=c>>>24;c=w[a+28|0]|w[a+29|0]<<8|(w[a+30|0]<<16|w[a+31|0]<<24);d=w[a+24|0]|w[a+25|0]<<8|(w[a+26|0]<<16|w[a+27|0]<<24);t[b+284|0]=d;t[b+285|0]=d>>>8;t[b+286|0]=d>>>16;t[b+287|0]=d>>>24;t[b+288|0]=c;t[b+289|0]=c>>>8;t[b+290|0]=c>>>16;t[b+291|0]=c>>>24;c=w[a+20|0]|w[a+21|0]<<8|(w[a+22|0]<<16|w[a+23|0]<<24);d=w[a+16|0]|w[a+17|0]<<8|(w[a+18|0]<<16|w[a+19|0]<<24);t[b+276|0]=d;t[b+277|0]=d>>>8;t[b+278|0]=d>>>16;t[b+279|0]=d>>>24;t[b+280|0]=c;t[b+281|0]=c>>>8;t[b+282|0]=c>>>16;t[b+283|0]=c>>>24;c=w[a+12|0]|w[a+13|0]<<8|(w[a+14|0]<<16|w[a+15|0]<<24);a=w[a+8|0]|w[a+9|0]<<8|(w[a+10|0]<<16|w[a+11|0]<<24);t[b+268|0]=a;t[b+269|0]=a>>>8;t[b+270|0]=a>>>16;t[b+271|0]=a>>>24;t[b+272|0]=c;t[b+273|0]=c>>>8;t[b+274|0]=c>>>16;t[b+275|0]=c>>>24;t[b+34|0]=1;v[b+8>>2]=b+260}else{b=0}return b|0}function MAa(a,b){a=a|0;b=b|0;var 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;l=Ma-16|0;m=v[a+12>>2];h=v[a+8>>2];g=v[a+4>>2];o=v[g+24>>2];c=v[g+56>>2];d=v[a+16>>2];i=v[a+20>>2];a:{if(!(!c|d>>>0>=i>>>0)){v[g+56>>2]=0;e=0;break a}e=1}while(1){b:{c:{d:{e:{f:{g:{if(!e){if(h>>>0>=m>>>0){break f}if(c&1024){break e}e=x[h>>1];if((e&64512)!=56320){break e}h=h+2|0;c=(e+(c<<10)|0)-56613888|0;break g}c=h;while(1){if(c>>>0>=m>>>0){h=c;break d}if(d>>>0>=i>>>0){h=c;break d}h=c+2|0;h:{c=x[c>>1];i:{if(c>>>0<=127){t[d|0]=c;c=d+1|0;break i}if(c>>>0>2047){break h}t[d|0]=c>>>6|192;e=c&63|-128;c=d+1|0;if(c>>>0>=i>>>0){t[g+63|0]=1;t[g+76|0]=e;v[b>>2]=15;break i}t[d+1|0]=e;c=d+2|0}d=c;c=h;continue}break}if((o|0)==840208|(c&63488)!=55296){break g}e=0;continue}e=3;f=(i-d|0)>3?d:l+12|0;j:{if((c|0)<=65535){t[f|0]=c>>>12|224;e=2;break j}t[f|0]=c>>>18|240;t[f+1|0]=c>>>12&63|128}k=e+f|0;t[k|0]=c&63|128;t[k-1|0]=c>>>6&63|128;if((d|0)==(f|0)){break c}k=(l+12|0)+e|0;if(k>>>0>>0){break b}j=(l+12|0)+e|0;if((j-f|0)+1&1){e=w[f|0];k:{if(d>>>0>=i>>>0){n=t[g+63|0];t[g+63|0]=n+1;t[(g+n|0)+76|0]=e;v[b>>2]=15;break k}t[d|0]=e;d=d+1|0}e=f+1|0}else{e=f}if((f|0)==(j|0)){break b}while(1){f=w[e|0];l:{if(d>>>0>>0){t[d|0]=f;d=d+1|0;break l}j=t[g+63|0];t[g+63|0]=j+1;t[(g+j|0)+76|0]=f;v[b>>2]=15}f=w[e+1|0];m:{if(d>>>0>=i>>>0){j=t[g+63|0];t[g+63|0]=j+1;t[(g+j|0)+76|0]=f;v[b>>2]=15;break m}t[d|0]=f;d=d+1|0}e=e+2|0;if(k>>>0>=e>>>0){continue}break}break b}v[g+56>>2]=c;break d}v[g+56>>2]=c;v[b>>2]=12}if(!(d>>>0>>0|h>>>0>=m>>>0|v[b>>2]>0)){v[b>>2]=15}v[a+8>>2]=h;v[a+16>>2]=d;return}d=(d+e|0)+1|0}e=1;continue}}function Fva(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;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,y=0;c=Ma-144|0;Ma=c;a:{if(w[a+208|0]){break a}h=v[b+116>>2];if(Qa[v[v[h>>2]+40>>2]](h)|0){break a}h=B(e,f)<<2;if((h|0)<1){break a}u=A[b+104>>3];q=ab(h);k=c+112|0;h=k;v[h+12>>2]=0;v[h+16>>2]=0;v[h+4>>2]=1;v[h+8>>2]=8;v[h>>2]=360452;v[h+20>>2]=0;v[h+24>>2]=0;t[h+28|0]=0;v[c+48>>2]=e;v[c+96>>2]=f;v[c+40>>2]=0-(e<<2);h=c+96|0;Uo(k,q,c+48|0,h,c+40|0);r=ab(36);i=cq(r,d,e,1,1);d=v[i>>2];Qa[v[v[d>>2]+20>>2]](d);d=v[b+116>>2];Qa[v[v[d>>2]+20>>2]](d,b+124|0,h,0);n=v[c+104>>2];o=v[c+100>>2];p=v[c+96>>2];h=255;b:{if(!w[a+202|0]){break b}j=A[b+392>>3]*255;if(j<4294967296&j>=0){h=~~j>>>0;break b}h=0}c:{if((f|0)<1){break c}d=f-1|0;if((e|0)>=1){x=B(n,255)+32768>>>16|0;y=B(o,255)+32768>>>16|0;n=B(p,255)+32768>>>16|0;o=(g|0)!=0;while(1){p=B(d,e);g=eG(i);f=0;while(1){l=(f+p<<2)+q|0;m=w[g|0]==(o|0);t[l|0]=m?x:-1;t[l+1|0]=m?y:-1;t[l+2|0]=m?n:-1;t[l+3|0]=m?h:0;g=g+1|0;f=f+1|0;if((f|0)!=(e|0)){continue}break}f=(d|0)>0;d=d-1|0;if(f){continue}break}break c}while(1){eG(i);e=(d|0)>0;d=d-1|0;if(e){continue}break}}bq(i);$a(r);A[c+48>>3]=A[b+16>>3];A[c+56>>3]=-A[b+24>>3];s=A[b+32>>3];A[c+64>>3]=-s;j=A[b+40>>3];A[c+72>>3]=j;A[c+80>>3]=s+A[b+48>>3];A[c+88>>3]=u-(j+A[b+56>>3]);v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;Es(a,c+48|0,c+40|0,c+32|0,1);a=v[a+104>>2];A[c+24>>3]=A[c+40>>3]+0;A[c+16>>3]=A[c+32>>3]+0;v[c+8>>2]=1049880894;v[c+12>>2]=1071027177;v[c>>2]=1049880894;v[c+4>>2]=1071027177;Qa[v[v[a>>2]+356>>2]](a,k,c+24|0,c+16|0,c+8|0,c)|0;Vo(k)}Ma=c+144|0}function Be(a,b){var c=0,d=0,e=0,f=0,g=0;g=Ma-176|0;Ma=g;a:{if(!a|!b){break a}e=v[a+36>>2];if(!e|v[a+172>>2]==-1){break a}d=v[e+16>>2];f=w[d|0];if(!(f>>>0<32|f<<24>>24<0)){v[b>>2]=1;c=w[d|0];break a}b:{c:{d:{if(v[a+256>>2]==1){if(f&128){if(!(f&64)|(f|0)==192){break c}c=w[d+1|0];if(!c){Zb(e);e=v[a+36>>2];d=v[e+16>>2];c=w[d+1|0]}if((c&192)!=128){break c}if((f&224)==224){c=w[d+2|0];if(!c){Zb(e);e=v[a+36>>2];d=v[e+16>>2];c=w[d+2|0]}if((c&192)!=128){break c}if((f&240)!=240){break d}if(!w[d+3|0]){Zb(e);e=v[a+36>>2];d=v[e+16>>2]}if((f&248)!=240|(w[d+3|0]&192)!=128){break c}v[b>>2]=4;c=w[d+3|0]&63|((w[d+1|0]&63)<<12|(w[d|0]&7)<<18|(w[d+2|0]&63)<<6);if(c>>>0>=65536){break b}break c}v[b>>2]=2;c=w[d+1|0]&63|(w[d|0]&31)<<6;if(c>>>0<128){break c}break b}v[b>>2]=1;e:{c=w[d|0];f:{if(c){break f}Zb(e);e=v[a+36>>2];d=v[e+16>>2];c=w[d|0];if(c){break f}c=0;if(y[e+20>>2]<=d>>>0){break e}bA(a,343559,0);e=v[a+36>>2];d=v[e+16>>2];c=w[d|0]}if((c&255)!=13){break e}c=10;if(w[d+1|0]!=10){break a}v[a+200>>2]=v[a+200>>2]+1;v[e+16>>2]=d+1;break a}c=c&255;break a}v[b>>2]=1;c=w[d|0];if((c|0)!=13){break a}c=10;if(w[d+1|0]!=10){break a}v[a+200>>2]=v[a+200>>2]+1;v[e+16>>2]=d+1;break a}v[b>>2]=3;c=w[d+2|0]&63|((w[d+1|0]&63)<<6|(w[d|0]&15)<<12);if(c>>>0>=2048){break b}}c=v[e+16>>2];if((v[e+20>>2]-c|0)<=3){c=0;v[b>>2]=0;break a}d=w[c|0];e=w[c+1|0];f=w[c+2|0];v[g+12>>2]=w[c+3|0];v[g+8>>2]=f;v[g+4>>2]=e;v[g>>2]=d;c=g+16|0;_i(c,149,345390,g);Yj(a,9,237149,c);v[a+256>>2]=10;v[b>>2]=1;c=w[v[v[a+36>>2]+16>>2]];break a}if(c>>>0<55296|c-57344>>>0<8190|c-65536>>>0<1048576){break a}bA(a,343527,c)}Ma=g+176|0;return c}function tC(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{e:{f=v[a+8>>2];if((f|0)<=0){if(!f){break e}break b}if(f>>>0>31){break d}break c}f=7;if(w[a+4|0]==255){break c}break b}O(25793,18822,198,189273);L()}j=f;while(1){f:{if(t[a+16|0]&1){g=v[a+8>>2];d=g-1|0;v[a+8>>2]=d;if((g|0)>=1){g=v[a+4>>2]>>>d&1;break f}g=zf(a);if((g|0)>=0){break f}return-1}break a}i=i<<1|g;g=(j|0)>1;j=j-1|0;if(g){continue}break}g=f;if((i|0)>=0){break b}return-1}f=v[a+4>>2];g:{if((f&255)==255){if(!(t[a+16|0]&1)){break a}j=-1;e=v[a+8>>2];d=e-1|0;v[a+8>>2]=d;h:{if((e|0)>=1){f=f>>>d&1;break h}f=zf(a);if((f|0)<0){break g}if(!(t[a+16|0]&1)){break a}d=v[a+8>>2]}e=d-1|0;v[a+8>>2]=e;i:{if((d|0)<=0){d=zf(a);if((d|0)<0){break g}if(!(t[a+16|0]&1)){break a}break i}d=v[a+4>>2]>>>e&1}e=v[a+8>>2];h=e-1|0;v[a+8>>2]=h;j:{if((e|0)<=0){e=zf(a);if((e|0)<0){break g}if(!(t[a+16|0]&1)){break a}f=e|(f<<2|d<<1);break j}f=v[a+4>>2]>>>h&1|(f<<2|d<<1)}d=v[a+8>>2];e=d-1|0;v[a+8>>2]=e;k:{if((d|0)<=0){d=zf(a);if((d|0)<0){break g}if(!(t[a+16|0]&1)){break a}break k}d=v[a+4>>2]>>>e&1}e=v[a+8>>2];h=e-1|0;v[a+8>>2]=h;l:{if((e|0)<=0){e=zf(a);if((e|0)<0){break g}if(!(t[a+16|0]&1)){break a}f=e|(f<<2|d<<1);break l}f=v[a+4>>2]>>>h&1|(f<<2|d<<1)}d=v[a+8>>2];e=d-1|0;v[a+8>>2]=e;m:{if((d|0)<=0){d=zf(a);if((d|0)<0){break g}if(t[a+16|0]&1){break m}break a}d=v[a+4>>2]>>>e&1}e=v[a+8>>2];h=e-1|0;v[a+8>>2]=h;n:{if((e|0)<=0){a=zf(a);if((a|0)<0){break g}break n}a=v[a+4>>2]>>>h&1}a=f<<2|d<<1|a;if((a|0)<0){break g}i=a|i<<7;g=g+7|0}o:{if((g|0)>=8){i=i>>g-7;break o}a=7-g|0;b=b>>a;c=c>>a}j=((c^i^-1)&b)!=(b|0)}return j}O(21334,18822,203,189273);L()}function lC(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;v[a+52>>2]=b;f=v[a>>2];a:{c=gb(28);b:{c:{if(c){v[c>>2]=0;v[c+4>>2]=0;v[c+24>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[a+4>>2]=1;v[a+40>>2]=c;while(1){d=1025248;h=Qa[v[v[b>>2]+20>>2]](b,2)|0;if((h&-256)!=65280){d=v[c+24>>2];d:{if(!d){break d}e=0;f=v[c+16>>2];if((f|0)>0){while(1){a=B(e,48)+d|0;g=v[a+44>>2];if(g){$a(g);v[a+44>>2]=0;f=v[c+16>>2];d=v[c+24>>2]}e=e+1|0;if((f|0)>(e|0)){continue}break}if(!d){break d}}$a(d)}$a(c);Qa[v[v[b>>2]+36>>2]](b)|0;break c}while(1){e=d;g=v[d>>2];if(g){d=e+12|0;if((g|0)!=(h|0)){continue}}break}if(!(v[e+4>>2]&v[a+4>>2])){d=v[c+24>>2];e:{if(!d){break e}e=0;f=v[c+16>>2];if((f|0)>0){while(1){a=B(e,48)+d|0;g=v[a+44>>2];if(g){$a(g);v[a+44>>2]=0;f=v[c+16>>2];d=v[c+24>>2]}e=e+1|0;if((f|0)>(e|0)){continue}break}if(!d){break e}}$a(d)}$a(c);Qa[v[v[b>>2]+36>>2]](b)|0;break c}if((g|0)==65424&v[v[a+44>>2]+20>>2]==1){break b}f:{g:{d=v[e+8>>2];if(d){Qa[d|0](a);d=v[a+4>>2];if((d|0)==32){break g}if((d|0)!=64){break f}v[f+20>>2]=0;break a}d=v[c+24>>2];h:{if(!d){break h}e=0;f=v[c+16>>2];if((f|0)>0){while(1){b=B(e,48)+d|0;g=v[b+44>>2];if(g){$a(g);v[b+44>>2]=0;f=v[c+16>>2];d=v[c+24>>2]}e=e+1|0;if((f|0)>(e|0)){continue}break}if(!d){break h}}$a(d)}$a(c);c=0;if(v[a+4>>2]==64){break a}break b}v[f+20>>2]=0;return c}if(!v[f+20>>2]){continue}break}d=v[c+24>>2];i:{if(!d){break i}e=0;f=v[c+16>>2];if((f|0)>0){while(1){a=B(e,48)+d|0;b=v[a+44>>2];if(b){$a(b);v[a+44>>2]=0;f=v[c+16>>2];d=v[c+24>>2]}e=e+1|0;if((f|0)>(e|0)){continue}break}if(!d){break i}}$a(d)}$a(c);break c}v[f+20>>2]=1}c=0}return c}a5(a);return c}function Y8(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;if((c|0)>=1){g=v[a+584>>2];while(1){if(!(w[g+4|0]&2)){j=v[a+584>>2];i=v[j+64>>2];e=v[j+68>>2];a:{if(!(w[j+28|0]&4)){break a}if((e|0)==4){e=4;break a}h=((e|0)<4?4:-4)+e|0;b:{if(h>>>0<=e>>>0){break b}if(v[a+608>>2]>=v[a+600>>2]){Xd(a)}d=v[a+604>>2];v[a+604>>2]=d+1;t[d|0]=i;f=v[a+608>>2]+1|0;v[a+608>>2]=f;h=4;d=-4;if((e|0)<4){i=0;e=8;break b}while(1){d=d-8|0;if(v[a+600>>2]<=(f|0)){Xd(a)}e=v[a+604>>2];v[a+604>>2]=e+1;i=0;t[e|0]=0;f=v[a+608>>2]+1|0;v[a+608>>2]=f;e=8;if(d>>>0>8){continue}break}}e=e-h|0;if(e){break a}if(v[a+608>>2]>=v[a+600>>2]){Xd(a)}d=v[a+604>>2];v[a+604>>2]=d+1;t[d|0]=i;v[a+608>>2]=v[a+608>>2]+1;i=0;e=8}h=1;d=12;if(t[j+28|0]&1){h=!v[j+92>>2]|2;d=13}c:{if(d>>>0<=e>>>0){break c}d=d-e|0;e=h>>>d|i;if(v[a+608>>2]>=v[a+600>>2]){Xd(a)}f=v[a+604>>2];v[a+604>>2]=f+1;t[f|0]=e;f=v[a+608>>2]+1|0;v[a+608>>2]=f;i=0;e=8;if(d>>>0<9){break c}while(1){d=d-8|0;e=h>>>d|0;if(v[a+600>>2]<=(f|0)){Xd(a)}f=v[a+604>>2];v[a+604>>2]=f+1;t[f|0]=e;f=v[a+608>>2]+1|0;v[a+608>>2]=f;e=8;if(d>>>0>8){continue}break}}h=v[(d<<2)+86176>>2]&h;d=e-d|0;f=h<>2]>=v[a+600>>2]){Xd(a)}d=v[a+604>>2];v[a+604>>2]=d+1;t[d|0]=f;v[a+608>>2]=v[a+608>>2]+1;f=0;d=8}v[e+68>>2]=d;v[j+64>>2]=f}d:{if(t[g+28|0]&1){e:{if(!v[g+92>>2]){RM(a,b,v[g+12>>2]);v[g+92>>2]=1;d=v[g+100>>2];break e}TM(a,b,v[g+96>>2],v[g+12>>2]);d=v[g+100>>2]-1|0;v[g+100>>2]=d}if(!d){v[g+92>>2]=0;v[g+100>>2]=v[g+104>>2]-1;break d}Fd(v[g+96>>2],b,v[g+8>>2]);break d}RM(a,b,v[g+12>>2])}d=v[g+8>>2];b=d+b|0;c=c-d|0;if((c|0)>0){continue}break}}return 1}function Kea(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;h=Ma-16|0;Ma=h;v[a>>2]=0;v[a+4>>2]=v[279250];i=b+16|0;a:{b:{g=v[b+16>>2];if(g){f=v[g+8>>2]}else{f=0}f=f-v[b+24>>2]|0;if(!f){g=pc(h,h+8|0,327680,1);while(1){if(!(Qa[v[v[b>>2]+8>>2]](b,v[h+8>>2],327680)|0)){ec(g);break a}f=v[i>>2];if(f){f=v[f+8>>2]}else{f=0}f=f-v[b+24>>2]|0;if(!f){continue}break}ec(g);g=v[i>>2]}if(!g){k=-1;break b}k=an(g,d<<24>>24,v[b+24>>2]);if((k|0)<0){break b}g=v[b+24>>2];f=g+c|0;d=e+k|0;d=c?(d|0)>(f|0)?f:d:d;c:{if((d|0)<=(g|0)){v[b+24>>2]=d;f=0;break c}We(h,i,g,d-g|0);c=v[h>>2];d:{if(c){Qa[v[v[c>>2]+28>>2]](h+8|0,c,1);break d}v[h+8>>2]=0}jb(a,h+8|0);c=v[h+8>>2];g=0;v[h+8>>2]=0;e:{if(!c){break e}e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(e){break e}e=v[c+4>>2];if(!e){v[c+4>>2]=-32767}if(!e){Qa[v[v[c>>2]+4>>2]](c)}}c=v[a>>2];v[a+4>>2]=v[(c?c+12|0:1117e3)>>2];db(h);i=v[a>>2];v[b+24>>2]=d;if(!i){f=0;break c}f=0;while(1){c=an(i,10,g);if((c|0)<0){break c}f=f+1|0;g=c+1|0;i=v[a>>2];if(i){continue}break}}v[b+28>>2]=v[b+28>>2]+f;break a}We(h,i,v[b+24>>2],f);g=v[h>>2];f:{if(g){Qa[v[v[g>>2]+28>>2]](h+8|0,g,1);break f}v[h+8>>2]=0}jb(a,h+8|0);f=v[h+8>>2];g=0;v[h+8>>2]=0;g:{if(!f){break g}j=v[f+4>>2]-1|0;v[f+4>>2]=j;if(j){break g}j=v[f+4>>2];if(!j){v[f+4>>2]=-32767}if(!j){Qa[v[v[f>>2]+4>>2]](f)}}f=v[a>>2];v[a+4>>2]=v[(f?f+12|0:1117e3)>>2];db(h);f=v[i>>2];if(f){g=v[f+8>>2]}v[b+24>>2]=g;f=0;i=v[a>>2];if(i){g=0;while(1){g=an(i,10,g);if((g|0)>=0){f=f+1|0;g=g+1|0;i=v[a>>2];if(i){continue}}break}g=v[b+24>>2]}v[b+28>>2]=v[b+28>>2]+f;Qa[v[v[b>>2]+36>>2]](h,b,c?(c-k|0)+g|0:0,d,e);Cd(a,h);db(h)}Ma=h+16|0}function J3(a,b,c){A[c>>3]=A[a>>3]*A[b>>3]+A[a+8>>3]*A[b+32>>3]+A[a+16>>3]*A[b+64>>3]+A[a+24>>3]*A[b+96>>3];A[c+8>>3]=A[a>>3]*A[b+8>>3]+A[a+8>>3]*A[b+40>>3]+A[a+16>>3]*A[b+72>>3]+A[a+24>>3]*A[b+104>>3];A[c+16>>3]=A[a>>3]*A[b+16>>3]+A[a+8>>3]*A[b+48>>3]+A[a+16>>3]*A[b+80>>3]+A[a+24>>3]*A[b+112>>3];A[c+24>>3]=A[a>>3]*A[b+24>>3]+A[a+8>>3]*A[b+56>>3]+A[a+16>>3]*A[b+88>>3]+A[a+24>>3]*A[b+120>>3];A[c+32>>3]=A[a+32>>3]*A[b>>3]+A[a+40>>3]*A[b+32>>3]+A[a+48>>3]*A[b+64>>3]+A[a+56>>3]*A[b+96>>3];A[c+40>>3]=A[a+32>>3]*A[b+8>>3]+A[a+40>>3]*A[b+40>>3]+A[a+48>>3]*A[b+72>>3]+A[a+56>>3]*A[b+104>>3];A[c+48>>3]=A[a+32>>3]*A[b+16>>3]+A[a+40>>3]*A[b+48>>3]+A[a+48>>3]*A[b+80>>3]+A[a+56>>3]*A[b+112>>3];A[c+56>>3]=A[a+32>>3]*A[b+24>>3]+A[a+40>>3]*A[b+56>>3]+A[a+48>>3]*A[b+88>>3]+A[a+56>>3]*A[b+120>>3];A[c+64>>3]=A[a+64>>3]*A[b>>3]+A[a+72>>3]*A[b+32>>3]+A[a+80>>3]*A[b+64>>3]+A[a+88>>3]*A[b+96>>3];A[c+72>>3]=A[a+64>>3]*A[b+8>>3]+A[a+72>>3]*A[b+40>>3]+A[a+80>>3]*A[b+72>>3]+A[a+88>>3]*A[b+104>>3];A[c+80>>3]=A[a+64>>3]*A[b+16>>3]+A[a+72>>3]*A[b+48>>3]+A[a+80>>3]*A[b+80>>3]+A[a+88>>3]*A[b+112>>3];A[c+88>>3]=A[a+64>>3]*A[b+24>>3]+A[a+72>>3]*A[b+56>>3]+A[a+80>>3]*A[b+88>>3]+A[a+88>>3]*A[b+120>>3];A[c+96>>3]=A[a+96>>3]*A[b>>3]+A[a+104>>3]*A[b+32>>3]+A[a+112>>3]*A[b+64>>3]+A[a+120>>3]*A[b+96>>3];A[c+104>>3]=A[a+96>>3]*A[b+8>>3]+A[a+104>>3]*A[b+40>>3]+A[a+112>>3]*A[b+72>>3]+A[a+120>>3]*A[b+104>>3];A[c+112>>3]=A[a+96>>3]*A[b+16>>3]+A[a+104>>3]*A[b+48>>3]+A[a+112>>3]*A[b+80>>3]+A[a+120>>3]*A[b+112>>3];A[c+120>>3]=A[a+96>>3]*A[b+24>>3]+A[a+104>>3]*A[b+56>>3]+A[a+112>>3]*A[b+88>>3]+A[a+120>>3]*A[b+120>>3]}function RN(a,b){var c=0,d=0,e=0,f=0,g=0;f=Ma-144|0;Ma=f;a:{if(!v[a+72>>2]){break a}e=v[a+68>>2];if(!e|!v[a+76>>2]){break a}b:{c:{d:{d=x[a+138>>1];if(!(w[a+13|0]&64|((d|0)!=1|x[a+90>>1]!=6))){c=x[a+204>>1];if(e>>>0<0-c>>>0){d=((c+e|0)-1>>>0)/(c>>>0)|0}else{d=0}g=B(d,c);e=x[a+84>>1];c=x3a(g,0,e,0);d=(Pa|0)!=0;e:{f:{g:{if(e){if(d){c=v[a>>2];d=v[a+628>>2];v[f+64>>2]=20618;wb(d,c,24808,f- -64|0);e=x[a+84>>1];c=x3a(e,0,g,0);d=(Pa|0)!=0;break g}if(!(c&7)){break f}if(!d){break d}c=v[a>>2];d=v[a+628>>2];v[f+80>>2]=20618;wb(d,c,24808,f+80|0);c=0;break d}if(c&7){break d}}if(!e){break e}}if(!(d&1)){break e}c=v[a>>2];d=v[a+628>>2];v[f+48>>2]=20618;wb(d,c,24808,f+48|0);c=0}c=c>>>3|0;break c}c=x3a(x[a+84>>1],0,e,0);if(Pa){c=v[a>>2];d=v[a+628>>2];v[f+128>>2]=18313;wb(d,c,24808,f+128|0);d=x[a+138>>1];c=0}h:{if((d|0)!=1){break h}g=x[a+98>>1];d=x3a(g,0,c,0);e=Pa;c=d;if(!g|!e){break h}c=v[a>>2];d=v[a+628>>2];v[f+112>>2]=18313;wb(d,c,24808,f+112|0);c=0}e=(c>>>3|0)+((c&7)!=0)|0;b=x3a(e,0,b,0);d=Pa;c=b;if(!e|!d){break b}b=v[a>>2];c=v[a+628>>2];v[f+96>>2]=20618;wb(c,b,24808,f+96|0);c=0;break b}c=(c>>>3|0)+1|0}e=x[a+206>>1];g=B(e,x[a+204>>1]);if(!g){c=0;wb(v[a+628>>2],v[a>>2],22830,0);break a}d=x3a(c,0,B(e,0-e>>>0>b>>>0?((b+e|0)-1>>>0)/(e>>>0)|0:0),0);e=Pa;b=d;if(!(!c|!e)){b=v[a>>2];c=v[a+628>>2];v[f+32>>2]=20618;wb(c,b,24808,f+32|0);b=0}c=(b|0)/(g|0)|0;e=c+c|0;if(!(!c|c>>>0<=e>>>0)){c=v[a>>2];d=v[a+628>>2];v[f+16>>2]=20618;wb(d,c,24808,f+16|0);e=0}c=e+b|0}e=v[a+76>>2];b=x3a(e,0,c,0);d=Pa;c=b;if(!e|!d){break a}b=v[a>>2];a=v[a+628>>2];v[f>>2]=20618;wb(a,b,24808,f);c=0}Ma=f+144|0;return c}function IG(a,b){var c=0,d=0,e=0;c=Ma-48|0;Ma=c;v[c+32>>2]=13;v[c+16>>2]=13;v[c>>2]=13;v[a+24>>2]=2;if(v[ib(b,237426,c+32|0,0)>>2]==7){if(v[ib(v[c+40>>2],236281,c+16|0,0)>>2]==1){v[a+24>>2]=v[c+24>>2]}b=c+16|0;bb(b);ib(v[c+40>>2],280061,b,0);if(v[c+16>>2]==4){b=ab(8);Rb(b,v[c+24>>2]);v[a+28>>2]=b}b=c+16|0;bb(b);ib(v[c+40>>2],269402,b,0);b=v[c+16>>2];if(b-1>>>0<=1){A[a+120>>3]=(b|0)==1?+v[c+24>>2]:A[c+24>>3]}b=c+16|0;bb(b);ib(v[c+40>>2],230769,b,0);ib(v[c+40>>2],232126,c,0);b=v[c+16>>2];a:{b:{if(b-1>>>0>=2){if(v[c>>2]-1>>>0<=1){break b}break a}d=((b|0)==1?+v[c+24>>2]:A[c+24>>3])*.001;if(!(d<0)){break b}d=-d}b=v[c>>2];c:{if(b-1>>>0>1){break c}e=((b|0)==1?+v[c+8>>2]:A[c+8>>3])*.001;if(!(e<0)){break c}e=-e}if(!(!(d<1.9)|d==0)){A[a+144>>3]=d}d=e!=0?d==0?e:d>e?e:d:d;if(d==0|!(d<1.9)){break a}A[a+128>>3]=d}b=c+16|0;bb(b);bb(c);ib(v[c+40>>2],230761,b,0);b=v[c+16>>2];d:{if(b-1>>>0>1){break d}d=((b|0)==1?+v[c+24>>2]:A[c+24>>3])*.001;d=d>0?-d:d;if(d==0|!(d>-1.9)){break d}A[a+136>>3]=d}b=c+16|0;bb(b);e:{if(v[ib(v[c+40>>2],220491,b,0)>>2]!=6){break e}b=v[c+24>>2];if(v[b+12>>2]<1){break e}if(v[ub(b,0,c,0)>>2]-1>>>0<=1){A[a+88>>3]=(v[c>>2]==1?+v[c+8>>2]:A[c+8>>3])*.001}bb(c);b=v[c+24>>2];if(v[b+12>>2]<=1){break e}if(v[ub(b,1,c,0)>>2]-1>>>0<=1){A[a+96>>3]=(v[c>>2]==1?+v[c+8>>2]:A[c+8>>3])*.001}bb(c);b=v[c+24>>2];if(v[b+12>>2]<3){break e}if(v[ub(b,2,c,0)>>2]-1>>>0<=1){A[a+104>>3]=(v[c>>2]==1?+v[c+8>>2]:A[c+8>>3])*.001}bb(c);b=v[c+24>>2];if(v[b+12>>2]<4){break e}if(v[ub(b,3,c,0)>>2]-1>>>0<=1){A[a+112>>3]=(v[c>>2]==1?+v[c+8>>2]:A[c+8>>3])*.001}bb(c)}bb(c+16|0)}bb(c+32|0);Ma=c+48|0}function pL(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{b:{if(w[a+498|0]){break b}c:{d:{if(!v[a+440>>2]|v[a+12>>2]!=2){break d}switch(w[a+1112|0]-1|0){case 0:case 2:break c;default:break d}}v[a+1116>>2]=v[a+1144>>2];break b}if(_B(a)){break a}}if(w[a+497|0]){break a}e:{f:{if(!v[a+440>>2]){g:{switch(v[a+12>>2]-1|0){case 0:case 2:t[a+477|0]=1;break e;default:break g}}e=gp(a);v[a+440>>2]=v[a+440>>2]+1;break f}if(w[a+1112|0]!=3){break e}e=gp(a)}if(e){break a}}j=a;e=v[(w[a+288|0]?2248:512)+a>>2];if(!e){e=v[a+528>>2]}h=v[e+36>>2];f=(h|0)>0?h:0;v[j+672>>2]=f;i=v[e+40>>2];g=(i|0)>0?i:0;v[a+680>>2]=g;j=a;h:{i:{l=v[e+88>>2];k=v[l+36>>2];if(!k){break i}c=v[l+40>>2];if(!c){break i}d=v[a+16>>2];b=h+k|0;d=(b|0)>(d|0)?d:b;v[a+676>>2]=d;b=v[a+20>>2];c=c+i|0;c=(b|0)<(c|0)?b:c;break h}c=v[a+16>>2];d=v[a+316>>2];d=(c|0)<(d|0)?c:d;v[a+676>>2]=d;c=v[a+20>>2];b=v[a+320>>2];c=(b|0)>(c|0)?c:b}v[j+684>>2]=c;if(w[a+1124|0]){b=v[a+1128>>2];f=(b|0)<(f|0)?f:b;v[a+672>>2]=f;b=v[a+1136>>2];g=(b|0)<(g|0)?g:b;v[a+680>>2]=g;b=v[a+1132>>2];d=(b|0)>(d|0)?d:b;v[a+676>>2]=d;b=v[a+1140>>2];c=(b|0)>(c|0)?c:b;v[a+684>>2]=c}if(w[e+44|0]){b=v[e+48>>2];f=(b|0)<(f|0)?f:b;v[a+672>>2]=f;b=v[e+56>>2];g=(b|0)<(g|0)?g:b;v[a+680>>2]=g;b=v[e+52>>2];d=(b|0)>(d|0)?d:b;v[a+676>>2]=d;b=v[e+60>>2];c=(b|0)>(c|0)?c:b;v[a+684>>2]=c}b=g-i|0;e=(b|0)>0?b:0;v[a+664>>2]=e;b=f-h|0;h=(b|0)>0?b:0;v[a+656>>2]=h;j=a;j:{k:{if(!k){break k}i=v[l+40>>2];if(!i){break k}f=(h-f|0)+d|0;v[a+660>>2]=(f|0)>(k|0)?k:f;c=(e-g|0)+c|0;c=(c|0)>(i|0)?i:c;break j}v[a+660>>2]=(h-f|0)+d;c=(e-g|0)+c|0}v[j+668>>2]=c;v[a+440>>2]=v[a+440>>2]+1}}function UHa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=Ma-48|0;Ma=d;m=v[a+420>>2];f=v[a+464>>2];a:{b:{if(v[f+40>>2]|!v[a+280>>2]){break b}e=v[a+460>>2];v[e+24>>2]=v[e+24>>2]+(v[f+12>>2]/8|0);v[f+12>>2]=0;g=0;if(!(Qa[v[e+8>>2]](a)|0)){break a}if(v[a+336>>2]>=1){e=0;while(1){v[((e<<2)+f|0)+20>>2]=0;e=e+1|0;if((e|0)>2]){continue}break}}v[f+16>>2]=0;v[f+40>>2]=v[a+280>>2];if(v[a+436>>2]){break b}v[f+36>>2]=0}if(!v[f+36>>2]){v[d+40>>2]=a;c=v[a+24>>2];i=v[c>>2];v[d+24>>2]=i;g=v[c+4>>2];v[d+28>>2]=g;e=v[f+12>>2];h=v[f+8>>2];v[d+16>>2]=v[f+32>>2];j=v[f+28>>2];v[d+8>>2]=v[f+24>>2];v[d+12>>2]=j;j=v[f+20>>2];v[d>>2]=v[f+16>>2];v[d+4>>2]=j;if(v[a+364>>2]>=1){i=0;while(1){c=i<<2;j=v[c+b>>2];l=v[(a+c|0)+368>>2]<<2;c=v[((v[v[(l+a|0)+340>>2]+20>>2]<<2)+f|0)+44>>2];c:{d:{e:{if((e|0)>7){break e}g=0;if(!Ff(d+24|0,h,e,0)){break a}h=v[d+32>>2];e=v[d+36>>2];if((e|0)>7){break e}c=Yh(d+24|0,h,e,c,1);break d}g=h>>e-8&255;k=v[(c+(g<<2)|0)+144>>2];if(k){c=w[(c+g|0)+1168|0];e=e-k|0;break c}c=Yh(d+24|0,h,e,c,9)}g=0;if((c|0)<0){break a}h=v[d+32>>2];e=v[d+36>>2]}if(c){if((c|0)>(e|0)){g=0;if(!Ff(d+24|0,h,e,c)){break a}h=v[d+32>>2];e=v[d+36>>2]}e=e-c|0;c=c<<2;g=v[c+72672>>2];k=h>>e&g;c=k-((k|0)>v[c+72668>>2]?0:g)|0}else{c=0}g=d+l|0;c=c+v[g+4>>2]|0;v[g+4>>2]=c;u[j>>1]=c<>2]){continue}break}g=v[d+28>>2];i=v[d+24>>2];c=v[a+24>>2]}v[c+4>>2]=g;v[c>>2]=i;v[f+12>>2]=e;v[f+8>>2]=h;v[f+32>>2]=v[d+16>>2];a=v[d+12>>2];v[f+24>>2]=v[d+8>>2];v[f+28>>2]=a;a=v[d+4>>2];v[f+16>>2]=v[d>>2];v[f+20>>2]=a}v[f+40>>2]=v[f+40>>2]-1;g=1}Ma=d+48|0;return g|0}function aA(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=Ma-48|0;Ma=g;e=-1;a:{if(v[a+28>>2]|!a){break a}b:{f=v[a+16>>2];if(!(!f|v[f+32>>2])){d=v[f+24>>2];c=v[f+8>>2];if(!((d|0)==(c|0)|c>>>0>2147483646)){v[f+24>>2]=c;d=c}h=d;d=v[f+20>>2];c=v[f+4>>2];if(!((d|0)==(c|0)|c>>>0>2147483646)){v[f+20>>2]=c;d=c}if((h|0)!=(d|0)){break b}}v[g>>2]=0;nb(0,0,0,0,0,8,1548,2,0,0,0,0,258693,g);v[a+28>>2]=1548;break a}c=(b|0)<4001?(b|0)!=4?4e3:b:b;b=SH(f,c+1|0);if(!(!v[f+32>>2]&(b|0)>-1)){v[g+16>>2]=239648;nb(0,0,0,0,0,8,2,3,239648,0,0,0,340689,g+16|0);v[a+28>>2]=2;break a}b=0;d=v[a+16>>2];if(!(!d|v[d+32>>2])){b=v[d+8>>2];if(!((b|0)==v[d+24>>2]|b>>>0>2147483646)){v[d+24>>2]=b}e=v[d+20>>2];b=v[d+4>>2];if((e|0)==(b|0)|b>>>0>2147483646){b=e}else{v[d+20>>2]=b}b=b+v[d>>2]|0}e=v[a+4>>2];if(e){c:{c=Qa[e|0](v[a>>2],b,c)|0;if((c|0)>=1){break c}v[a+4>>2]=2673;if((c|0)>=0){break c}e=-1;break a}if(v[a+12>>2]){d=v[a+20>>2];if(!d){d=TH();v[a+20>>2]=d}e=-1;if(ij(d,b,c)){break a}d=Wh(v[a+20>>2]);b=kA(a,1);if((b|0)<=-1){Io(8,1544,237991,0);v[a+28>>2]=1544;break a}i=a,j=(d-Wh(v[a+20>>2])|0)+v[a+32>>2]|0,v[i+32>>2]=j;e=b;break a}e=c;c=v[a+16>>2];d:{if(!c|v[c+32>>2]){break d}a=v[c+24>>2];b=v[c+8>>2];if(!((a|0)==(b|0)|b>>>0>2147483646)){v[c+24>>2]=b;a=b}b=v[c+20>>2];d=v[c+4>>2];if(!((b|0)==(d|0)|d>>>0>2147483646)){v[c+20>>2]=d;b=d}if(a-b>>>0>>0){break d}b=b+e|0;v[c+20>>2]=b;v[c+8>>2]=a>>>0<2147483647?a:2147483647;v[c+4>>2]=b>>>0<2147483647?b:2147483647;if(a>>>0<=b>>>0){break d}t[b+v[c>>2]|0]=0}break a}v[g+32>>2]=0;nb(0,0,0,0,0,8,1547,2,0,0,0,0,225342,g+32|0);v[a+28>>2]=1547;e=-1}Ma=g+48|0;return e}function pv(a,b,c){var d=0,e=0,f=0,g=0;d=Ma-96|0;Ma=d;v[d+24>>2]=528734635;v[d+28>>2]=1541459225;v[d+16>>2]=1359893119;v[d+20>>2]=-1694144372;v[d+8>>2]=1013904242;v[d+12>>2]=-1521486534;v[d>>2]=1779033703;v[d+4>>2]=-1150833019;e=64;if((b|0)>=64){while(1){SG(a+f|0,d);g=e;f=e;e=e- -64|0;if((e|0)<=(b|0)){continue}break}}e=b-g|0;a:{b:{if((e|0)<=0){t[e+(d+32|0)|0]=128;a=e+1|0;break b}f=d+32|0;cb(f,a+g|0,e);t[e+f|0]=128;if((e|0)>=56){if((e|0)<=62){eb((d+e|0)+33|0,0,(g|63)-b|0)}SG(d+32|0,d);a=0;break b}if((e|0)==55){break a}a=e+1|0}eb(a+(d+32|0)|0,0,56-a|0)}v[d+88>>2]=0;t[d+95|0]=b<<3;t[d+94|0]=b>>>5;t[d+93|0]=b>>>13;t[d+92|0]=b>>>21;SG(d+32|0,d);a=v[d>>2];a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);t[c|0]=a;t[c+1|0]=a>>>8;t[c+2|0]=a>>>16;t[c+3|0]=a>>>24;a=v[d+4>>2];a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);t[c+4|0]=a;t[c+5|0]=a>>>8;t[c+6|0]=a>>>16;t[c+7|0]=a>>>24;a=v[d+8>>2];a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);t[c+8|0]=a;t[c+9|0]=a>>>8;t[c+10|0]=a>>>16;t[c+11|0]=a>>>24;a=v[d+12>>2];a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);t[c+12|0]=a;t[c+13|0]=a>>>8;t[c+14|0]=a>>>16;t[c+15|0]=a>>>24;a=v[d+16>>2];a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);t[c+16|0]=a;t[c+17|0]=a>>>8;t[c+18|0]=a>>>16;t[c+19|0]=a>>>24;a=v[d+20>>2];a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);t[c+20|0]=a;t[c+21|0]=a>>>8;t[c+22|0]=a>>>16;t[c+23|0]=a>>>24;a=v[d+24>>2];a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);t[c+24|0]=a;t[c+25|0]=a>>>8;t[c+26|0]=a>>>16;t[c+27|0]=a>>>24;a=v[d+28>>2];a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);t[c+28|0]=a;t[c+29|0]=a>>>8;t[c+30|0]=a>>>16;t[c+31|0]=a>>>24;Ma=d+96|0}function KOa(a,b){a=a|0;b=b|0;var 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;i=v[a+444>>2];a:{switch(b|0){case 0:b:{if(v[v[a+472>>2]+8>>2]){v[i+4>>2]=178;p=v[a+36>>2];if((p|0)>=1){m=v[a+324>>2];q=m-2|0;r=m+2|0;n=v[a+216>>2];while(1){a=o<<2;b=v[a+v[i+60>>2]>>2];f=v[a+v[i+56>>2]>>2];e=v[(a+i|0)+8>>2];h=(B(v[n+40>>2],v[n+12>>2])|0)/(m|0)|0;d=B(r,h);c:{if((d|0)<1){break c}g=d&3;a=0;if(d-1>>>0>=3){j=d&-4;while(1){d=a<<2;c=v[d+e>>2];v[b+d>>2]=c;v[d+f>>2]=c;c=d|4;k=v[c+e>>2];v[b+c>>2]=k;v[c+f>>2]=k;c=d|8;k=v[c+e>>2];v[b+c>>2]=k;v[c+f>>2]=k;d=d|12;c=v[d+e>>2];v[b+d>>2]=c;v[d+f>>2]=c;a=a+4|0;j=j-4|0;if(j){continue}break}}if(!g){break c}while(1){d=a<<2;j=v[d+e>>2];v[b+d>>2]=j;v[d+f>>2]=j;a=a+1|0;g=g-1|0;if(g){continue}break}}d:{if((h|0)<1){break d}d=B(h,q);j=B(h,m);g=h<<1;c=(g|0)>1?g:1;k=c&1;a=0;if((g|0)>=2){g=c&2147483646;while(1){c=a+d<<2;l=a+j<<2;v[c+b>>2]=v[l+e>>2];v[b+l>>2]=v[c+e>>2];c=a|1;l=c+d<<2;c=c+j<<2;v[l+b>>2]=v[c+e>>2];v[b+c>>2]=v[e+l>>2];a=a+2|0;g=g-2|0;if(g){continue}break}}if(k){g=a+d<<2;a=a+j<<2;v[g+b>>2]=v[a+e>>2];v[a+b>>2]=v[e+g>>2]}e=h&3;b=0;if(h-1>>>0>=3){a=h&-4;while(1){v[(b-h<<2)+f>>2]=v[f>>2];v[((b|1)-h<<2)+f>>2]=v[f>>2];v[((b|2)-h<<2)+f>>2]=v[f>>2];v[((b|3)-h<<2)+f>>2]=v[f>>2];b=b+4|0;a=a-4|0;if(a){continue}break}}if(!e){break d}while(1){v[(b-h<<2)+f>>2]=v[f>>2];b=b+1|0;e=e-1|0;if(e){continue}break}}n=n+88|0;o=o+1|0;if((p|0)!=(o|0)){continue}break}}v[i+76>>2]=0;v[i+64>>2]=0;v[i+68>>2]=0;break b}v[i+4>>2]=179}v[i+48>>2]=0;v[i+52>>2]=0;return;case 2:v[i+4>>2]=180;return;default:break a}}b=v[a>>2];v[b+20>>2]=3;Qa[v[b>>2]](a)}function p3(a,b,c){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,p=0;k=1;a:{b:{c:{switch(b-a>>2){case 2:c=v[v[c>>2]+12>>2];b=b-4|0;d=v[b>>2];e=v[a>>2];if(y[v[c+(d<<2)>>2]>>2]>=y[v[c+(e<<2)>>2]>>2]){break b}v[a>>2]=d;v[b>>2]=e;break a;case 3:d=b-4|0;e=v[d>>2];b=v[v[c>>2]+12>>2];f=v[v[(e<<2)+b>>2]>>2];g=v[a+4>>2];i=v[v[b+(g<<2)>>2]>>2];c=v[a>>2];h=v[b+(c<<2)>>2];if(i>>>0>=y[h>>2]){if(f>>>0>=i>>>0){break b}v[a+4>>2]=e;v[d>>2]=g;c=v[a+4>>2];d=v[a>>2];if(y[v[b+(c<<2)>>2]>>2]>=y[v[b+(d<<2)>>2]>>2]){break b}v[a+4>>2]=d;v[a>>2]=c;break a}if(f>>>0>>0){v[a>>2]=e;v[d>>2]=c;break a}v[a+4>>2]=c;v[a>>2]=g;e=v[d>>2];if(y[v[b+(e<<2)>>2]>>2]>=y[h>>2]){break b}v[a+4>>2]=e;v[d>>2]=c;break a;case 4:FK(a,a+4|0,a+8|0,b-4|0,c);break a;case 5:EK(a,a+4|0,a+8|0,a+12|0,b-4|0,c);break a;case 0:case 1:break b;default:break c}}g=a+4|0;e=a+8|0;j=v[v[c>>2]+12>>2];f=v[a+8>>2];m=v[j+(f<<2)>>2];p=v[m>>2];d:{e:{f:{h=v[a+4>>2];n=v[v[(h<<2)+j>>2]>>2];l=v[a>>2];o=v[(l<<2)+j>>2];if(n>>>0>=y[o>>2]){if(p>>>0>>0){break f}d=f;break d}c=a;i=e;d=l;if(p>>>0>>0){break e}v[a+4>>2]=l;v[a>>2]=h;c=g;if(y[m>>2]>2]){break e}d=f;break d}v[g>>2]=f;v[e>>2]=h;c=a;i=g;d=h;if(y[m>>2]>=y[o>>2]){break d}}v[c>>2]=f;v[i>>2]=l}c=a+12|0;if((c|0)==(b|0)){break b}g=0;while(1){g:{f=c;k=c;i=v[c>>2];h=v[(i<<2)+j>>2];if(y[h>>2]>2]>>2]){while(1){h:{v[k>>2]=d;c=e;if((c|0)==(a|0)){c=a;break h}k=c;e=c-4|0;d=v[e>>2];if(y[h>>2]>2]>>2]){continue}}break}v[c>>2]=i;g=g+1|0;if((g|0)==8){break g}}c=f+4|0;if((c|0)==(b|0)){break a}d=v[f>>2];e=f;continue}break}k=(f+4|0)==(b|0)}return k}return 1}function v9(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=Ma-16|0;Ma=k;a:{b:{c:{d:{e:{if(!d){i=v[a+584>>2];if(!i){break e}g=(c|0)/v[i+8>>2]|0;if(v[i>>2]==1){c=b}else{if(v[i+16>>2]<(g|0)){break d}c=v[i+12>>2]}d=0;j=c;Hf(c,0,g<<1);e=v[a+608>>2];c=v[a+604>>2];f:{g:{if((g|0)>=1){if((e|0)<=0){break b}while(1){h=t[c|0];f=h&255;h:{if((h|0)>=0){c=c+1|0;e=e-1|0;if(e){while(1){if(!f|(d|0)>=(g|0)){break h}h=j+(d<<1)|0;u[h>>1]=x[h>>1]|w[c|0]<<8;c=c+1|0;d=d+1|0;f=f-1|0;e=e-1|0;if(e){continue}break}}e=0;f=0;if((d|0)!=(g|0)){break b}break f}e=e-2|0;h=c+2|0;f=f-126|0;i:{if(!f|(d|0)>=(g|0)){break i}c=w[c+1|0]<<8;while(1){l=j+(d<<1)|0;u[l>>1]=c|x[l>>1];d=d+1|0;f=f-1|0;if(!f){break i}if((d|0)<(g|0)){continue}break}}c=h}if((d|0)<(g|0)&(e|0)>0){continue}break}if((d|0)==(g|0)){break g}break b}if(g){break b}break c}f=0;if((e|0)<1){break f}while(1){h=t[c|0];d=h&255;j:{if((h|0)>=0){c=c+1|0;e=e-1|0;if(!e){e=0;break f}while(1){if(!d|(f|0)>=(g|0)){break j}h=j+(f<<1)|0;u[h>>1]=x[h>>1]|w[c|0];c=c+1|0;f=f+1|0;d=d-1|0;e=e-1|0;if(e){continue}break}e=0;break f}e=e-2|0;h=c+2|0;d=d-126|0;k:{if(!d|(f|0)>=(g|0)){break k}c=w[c+1|0];while(1){l=j+(f<<1)|0;u[l>>1]=c|x[l>>1];f=f+1|0;d=d-1|0;if(!d){break k}if((f|0)<(g|0)){continue}break}}c=h}if((f|0)>=(g|0)){break f}if((e|0)>0){continue}break}}d=f;if((g|0)!=(d|0)){break b}break c}O(33866,6284,193,84240);L()}O(25714,6284,194,84240);L()}O(34494,6284,201,84240);L()}Qa[v[i+20>>2]](i,b,g);b=1;break a}b=v[a>>2];f=v[a+628>>2];j=v[a+472>>2];v[k+4>>2]=g-d;v[k>>2]=j;wb(f,b,41505,k);b=0}v[a+608>>2]=e;v[a+604>>2]=c;Ma=k+16|0;return b|0}function rQ(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=Ma-32|0;Ma=h;i=x[b+14>>1];d=x[b+8>>1];f=x[b+10>>1];v[a+8>>2]=f-1;g=B(d,i);a:{b:{if(!f){break b}while(1){if(!v[b+20>>2]){Re(b)}c:{if(!x[b+8>>1]){c=x[b+12>>1];if(v[279246]<(c+x[b+14>>1]|0)){break a}c=c+v[279245]|0;break c}c=v[b+20>>2]+x[b+12>>1]|0}e=v[a+8>>2];if(g){c=c+e|0;j=g+c|0;while(1){if(w[c|0]){break b}c=c+i|0;if(j>>>0>c>>>0){continue}break}}v[a+8>>2]=e-1;if((e|0)>=1){continue}break}}c=d-1|0;v[a>>2]=c;d:{e:{if(!d){break e}while(1){if(!v[b+20>>2]){Re(b)}f:{if(x[b+8>>1]<(d|0)){c=x[b+12>>1];if(v[279246]<(c+x[b+14>>1]|0)){break d}c=c+v[279245]|0;break f}c=v[b+20>>2]+(x[b+12>>1]+B(x[b+14>>1],c)|0)|0}if(f){d=c+f|0;while(1){if(w[c|0]){break e}c=c+1|0;if(d>>>0>c>>>0){continue}break}}d=v[a>>2];c=d-1|0;v[a>>2]=c;if((d|0)>0){continue}break}}d=0;v[a+4>>2]=0;g:{if(v[a+8>>2]<0){break g}while(1){if(!v[b+20>>2]){Re(b)}h:{if(!x[b+8>>1]){c=x[b+12>>1];if(v[279246]<(c+x[b+14>>1]|0)){break d}c=c+v[279245]|0;break h}c=v[b+20>>2]+x[b+12>>1]|0}e=v[a+4>>2];if(g){c=c+e|0;j=g+c|0;while(1){if(w[c|0]){break g}c=c+i|0;if(j>>>0>c>>>0){continue}break}}v[a+4>>2]=e+1;if((e|0)>2]){continue}break}}v[a+12>>2]=0;i:{if(v[a>>2]<0){break i}while(1){if(!v[b+20>>2]){Re(b)}j:{if(!(x[b+8>>1]>(d|0)&(d|0)>=0)){c=x[b+12>>1];if(v[279246]<(c+x[b+14>>1]|0)){break d}c=c+v[279245]|0;break j}c=v[b+20>>2]+(x[b+12>>1]+B(x[b+14>>1],d)|0)|0}if(f){d=c+f|0;while(1){if(w[c|0]){break i}c=c+1|0;if(d>>>0>c>>>0){continue}break}}c=v[a+12>>2];d=c+1|0;v[a+12>>2]=d;if((c|0)>2]){continue}break}}Ma=h+32|0;return}}lb(mb(h+8|0,260021,271561,592,225834));L()}function vDa(a,b){a=a|0;b=b|0;var 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;d=Ma-16|0;Ma=d;i=v[b+28>>2];v[a+368>>2]=b;c=Qa[v[a+516>>2]](a,1851878757,b,d+8|0)|0;a:{if(c){break a}j=v[b+8>>2];c=Dd(b,519072,a+344|0);v[d+12>>2]=c;if(c){break a}c=145;m=j+6|0;f=v[a+348>>2];h=m+B(f,12)|0;k=v[d+8>>2]+j|0;if(h>>>0>k>>>0){break a}g=a;e=i;if(x[a+344>>1]==1){c=Mb(b,h);v[d+12>>2]=c;if(c){break a}f=Ac(b,d+12|0);v[a+360>>2]=f;c=v[d+12>>2];if(c){break a}n=a,o=yb(i,12,0,f,0,d+12|0),v[n+364>>2]=o;c=v[d+12>>2];if(c){break a}c=Ed(b,v[a+360>>2]<<2);v[d+12>>2]=c;if(c){break a}h=((f<<2)+h|0)+2|0;c=v[a+364>>2];b:{if(!c){break b}f=v[a+360>>2];if((f|0)<1){break b}f=B(f,12)+c|0;while(1){n=d,o=Dd(b,519132,c),v[n+12>>2]=o;l=v[c+4>>2]+(v[a+352>>2]+j|0)|0;v[c+4>>2]=l;if(!(h>>>0<=l>>>0&l+x[c>>1]>>>0<=k>>>0)){u[c>>1]=0}c=c+12|0;if(f>>>0>c>>>0){continue}break}}dd(b);n=d,o=Mb(b,m),v[n+12>>2]=o;f=v[a+348>>2]}n=g,o=yb(e,20,0,f,0,d+12|0),v[n+356>>2]=o;c=v[d+12>>2];if(c){break a}c=Ed(b,B(v[a+348>>2],12));v[d+12>>2]=c;if(c){break a}e=v[a+356>>2];f=v[a+348>>2];c:{if(!f){c=e;g=0;break c}c=e;while(1){e=Dd(b,519104,c);v[d+12>>2]=e;d:{if(e){break d}e=x[c+8>>1];if(!e){break d}g=v[c+12>>2]+(v[a+352>>2]+j|0)|0;v[c+12>>2]=g;if(h>>>0>g>>>0|e+g>>>0>k>>>0){break d}e:{if(x[a+344>>1]!=1){break e}e=u[c+4>>1];if((e|0)>-1){break e}e=(e&65535)-32768|0;if(e>>>0>=y[a+360>>2]|!x[v[a+364>>2]+B(e,12)>>1]){break d}}c=c+20|0}f=f-1|0;if(f){continue}break}e=v[a+356>>2];g=v[a+348>>2]}c=(c-e|0)/20|0;i=yb(i,20,g,c,e,d+12|0);v[a+348>>2]=c;v[a+356>>2]=i;dd(b);u[a+340>>1]=v[a+348>>2];c=v[d+12>>2]}Ma=d+16|0;return c|0}function uSa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=C(0),i=0,j=C(0),k=0,l=0,m=0,n=0,o=0,p=C(0),q=0,r=0,s=C(0),t=0,w=0,y=0,z=0,A=C(0);g=Ma-32|0;Ma=g;a:{b=x[a+26322>>1];if(b){e=a;if(v[a+188>>2]){Lb(213953,29,1,v[249419]);c=x[a+26322>>1]}else{c=b}b=x[a+26316>>1];d=(c+b|0)-1>>b;u[e+26322>>1]=d;e=d&65535;f=+(e|0)/.7071067811865476;b:{if(f<4294967296&f>=0){b=~~f>>>0;break b}b=0}c=b;m=x[a+26308>>1];f=+(m-e|0)/.7071067811865476;c:{if(f<4294967296&f>=0){e=~~f>>>0;break c}e=0}n=Yb(B(c,e),8);if(!n){break a}if(!(!e|!b)){m=m-2|0;f=+((d&65535)>>>0);while(1){t=B(b,l);k=0;while(1){h=C(+(l-k|0)*.7071067811865476+f);d:{if(h=C(0)){c=~~h>>>0;break d}c=0}i=(c|0)>(m|0);j=C(+(l+k|0)*.7071067811865476);e:{if(j=C(0)){d=~~j>>>0;break e}d=0}f:{if(i){break f}i=x[a+26310>>1];if((d|0)>(i-2|0)){break f}q=v[a+26336>>2];if((q|0)<1){break f}o=(v[a+26352>>2]+(B(c,i)<<3)|0)+(d<<3)|0;w=o+8|0;r=(i<<3)+o|0;y=r+8|0;z=k+t|0;s=C(h-C(c>>>0));A=C(C(1)-s);h=C(j-C(d>>>0));j=C(C(1)-h);c=0;while(1){d=c<<1;p=C(C(A*C(C(j*C(x[d+o>>1]))+C(h*C(x[d+w>>1]))))+C(s*C(C(j*C(x[d+r>>1]))+C(h*C(x[d+y>>1])))));g:{if(p=C(0)){i=~~p>>>0;break g}i=0}u[d+((z<<3)+n|0)>>1]=i;c=c+1|0;if((q|0)!=(c|0)){continue}break}}k=k+1|0;if((b|0)!=(k|0)){continue}break}l=l+1|0;if((e|0)!=(l|0)){continue}break}}$a(v[a+26352>>2]);v[a+26352>>2]=n;u[a+26308>>1]=e;u[a+26310>>1]=b;u[a+26322>>1]=0}Ma=g+32|0;return}b=v[a+190640>>2];h:{if(b){e=v[a+25208>>2];v[g+20>>2]=213983;v[g+16>>2]=e;Dc(b,4338,g+16|0);break h}b=v[a+25208>>2];v[g+4>>2]=213983;v[g>>2]=b;vb(v[249419],4338,g)}tc(a+190484|0,1);L()}function zO(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;j=Ma-16|0;Ma=j;k=Yi(g);o=Dr(g);g=o;Qa[v[v[g>>2]+20>>2]](j,g);v[f>>2]=d;a:{b:{h=a;g=w[h|0];switch(g-43|0){case 0:case 2:break b;default:break a}}g=Qa[v[v[k>>2]+28>>2]](k,g<<24>>24)|0;h=v[f>>2];v[f>>2]=h+1;t[h|0]=g;h=a+1|0}c:{g=h;if(!((c-g|0)<=1|w[g|0]!=48|(w[g+1|0]|32)!=120)){g=Qa[v[v[k>>2]+28>>2]](k,48)|0;i=v[f>>2];v[f>>2]=i+1;t[i|0]=g;g=Qa[v[v[k>>2]+28>>2]](k,t[h+1|0])|0;i=v[f>>2];v[f>>2]=i+1;t[i|0]=g;h=h+2|0;g=h;while(1){if(c>>>0<=g>>>0){break c}i=t[g|0];te();if(!(i-48>>>0<10|(i|32)-97>>>0<6)){break c}g=g+1|0;continue}}while(1){if(c>>>0<=g>>>0){break c}i=t[g|0];te();if(i-48>>>0>=10){break c}g=g+1|0;continue}}if(w[j+11|0]>>>7|0){l=v[j+4>>2]}else{l=w[j+11|0]}d:{if(!l){Qa[v[v[k>>2]+32>>2]](k,h,g,v[f>>2])|0;v[f>>2]=v[f>>2]+(g-h|0);break d}Cp(h,g);q=Qa[v[v[o>>2]+16>>2]](o)|0;i=h;while(1){if(g>>>0<=i>>>0){Cp((h-a|0)+d|0,v[f>>2])}else{if(w[j+11|0]>>>7|0){l=v[j>>2]}else{l=j}p=t[l+m|0]!=(n|0);if(w[j+11|0]>>>7|0){l=v[j>>2]}else{l=j}if(!(p|t[l+m|0]<1)){n=v[f>>2];v[f>>2]=n+1;t[n|0]=q;if(w[j+11|0]>>>7|0){l=v[j+4>>2]}else{l=w[j+11|0]}m=(l-1>>>0>m>>>0)+m|0;n=0}l=Qa[v[v[k>>2]+28>>2]](k,t[i|0])|0;p=v[f>>2];v[f>>2]=p+1;t[p|0]=l;i=i+1|0;n=n+1|0;continue}break}}while(1){e:{h=k;if(c>>>0>g>>>0){m=w[g|0];if((m|0)!=46){break e}m=Qa[v[v[o>>2]+12>>2]](o)|0;i=v[f>>2];v[f>>2]=i+1;t[i|0]=m;g=g+1|0}Qa[v[v[k>>2]+32>>2]](h,g,c,v[f>>2])|0;h=f;f=v[f>>2]+(c-g|0)|0;v[h>>2]=f;v[e>>2]=(b|0)==(c|0)?f:(b-a|0)+d|0;Vb(j);Ma=j+16|0;return}h=Qa[v[v[k>>2]+28>>2]](k,m<<24>>24)|0;m=v[f>>2];v[f>>2]=m+1;t[m|0]=h;g=g+1|0;continue}}function Ifa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=Ma-32|0;Ma=d;a:{b:{c=v[b+12>>2];if(!c){v[a>>2]=0;qb(a,0);break b}h=v[c+8>>2];e=v[c+4>>2];c=Rp(ab(72),h,e,0);v[d>>2]=0;qb(d,c);b=v[b+12>>2];c=v[d>>2];if(!v[c+20>>2]){Re(c)}c:{if(!x[c+8>>1]){j=x[c+14>>1];c=x[c+12>>1];if(v[279246]<(j+c|0)){break a}c=c+v[279245]|0;break c}c=v[c+20>>2]+x[c+12>>1]|0}_x(b,c,x[v[d>>2]+14>>1],1,0);d:{e:{if((h|0)<1){break e}if((e|0)>=1){g=e&-4;j=e&3;k=e-1>>>0<3;while(1){b=v[d>>2];if(!v[b+20>>2]){Re(b)}f:{if(x[b+8>>1]<=i>>>0){c=x[b+14>>1];b=x[b+12>>1];if(v[279246]<(c+b|0)){break d}e=b+v[279245]|0;break f}e=v[b+20>>2]+(x[b+12>>1]+B(x[b+14>>1],i)|0)|0}b=0;c=g;if(!k){while(1){f=b+e|0;t[f|0]=w[f|0]^128;f=(b|1)+e|0;t[f|0]=w[f|0]^128;f=(b|2)+e|0;t[f|0]=w[f|0]^128;f=(b|3)+e|0;t[f|0]=w[f|0]^128;b=b+4|0;c=c-4|0;if(c){continue}break}}c=j;if(c){while(1){f=b+e|0;t[f|0]=w[f|0]^128;b=b+1|0;c=c-1|0;if(c){continue}break}}i=i+1|0;if((i|0)!=(h|0)){continue}break}break e}b=v[d>>2];if(!v[b+20>>2]){c=0;while(1){if(!c){Re(b)}if(v[279246]<(x[b+12>>1]+x[b+14>>1]|0)&x[b+8>>1]<=g>>>0){break d}g=g+1|0;if((h|0)==(g|0)){break e}b=v[d>>2];c=v[b+20>>2];continue}}c=v[279246];e=x[b+8>>1];while(1){if((c|0)<(x[b+12>>1]+x[b+14>>1]|0)&e>>>0<=g>>>0){break d}g=g+1|0;if((h|0)!=(g|0)){continue}break}}Vr(v[d>>2],256);b=v[d>>2];if(!b){v[a>>2]=0;break b}v[b+4>>2]=v[b+4>>2]+1;b=a;a=v[d>>2];v[b>>2]=a;v[d>>2]=0;if(!a){break b}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break b}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}break b}break a}Ma=d+32|0;return}lb(mb(d+8|0,260021,271561,577,327329));L()}function mX(a){var b=0,c=0,d=0,e=0;Fc(a);a:{c=v[a+36>>2];b=v[c+16>>2];b:{c:{if(w[b|0]!=101|w[b+1|0]!=110|(w[b+2|0]!=99|w[b+3|0]!=111)){break c}if(w[b+4|0]!=100|w[b+5|0]!=105|(w[b+6|0]!=110|w[b+7|0]!=103)){break c}v[a+200>>2]=v[a+200>>2]+8;v[c+16>>2]=b+8;v[c+32>>2]=v[c+32>>2]+8;b=w[b+8|0];if((b|0)==37){zc(a);c=v[a+36>>2];b=w[v[c+16>>2]]}d:{if(b&255){break d}if((Zb(c)|0)>0){break d}xc(a)}Fc(a);if(w[v[v[a+36>>2]+16>>2]]!=61){Md(a,75,0);return 0}Bc(a);Fc(a);e:{f:{g:{h:{i:{switch(w[v[v[a+36>>2]+16>>2]]-34|0){case 0:Bc(a);d=eX(a);if(w[v[v[a+36>>2]+16>>2]]==34){break h}Md(a,34,0);Qa[v[256556]](d);return 0;case 5:break i;default:break g}}Bc(a);d=eX(a);if(w[v[v[a+36>>2]+16>>2]]!=39){break a}}Bc(a);if(w[a+362|0]&32){break f}if(!d){break c}if(cA(d,315602)){if(cA(d,315576)){break e}}c=v[a+24>>2];j:{if(!c){b=v[v[a+36>>2]>>2];if(!b|v[b+12>>2]){break j}Pc(a,81,338695);c=v[a+24>>2];if(!c){break j}}Qa[v[256556]](c)}v[a+24>>2]=d;return d}Md(a,33,0);if(!(w[a+362|0]&32)){break b}}Qa[v[256556]](d);break c}k:{if(cA(d,314541)){if(cA(d,314043)){break k}}b=v[a+24>>2];if(b){Qa[v[256556]](b)}v[a+24>>2]=d;return d}b=v[a+36>>2];c=v[b+44>>2];if(c){Qa[v[256556]](c);b=v[a+36>>2]}v[b+44>>2]=d;b=pf(d);if(b){c=Ma-16|0;Ma=c;l:{if(!b){b=-1;break l}e=v[a+36>>2];m:{if(e){b=WX(a,e,b,-1);e=a+256|0;break m}if(v[a+212>>2]){b=-1;if(v[a+172>>2]==-1){break l}}v[a+84>>2]=1;v[c>>2]=0;nb(0,0,0,a,0,1,1,3,0,0,0,0,338591,c);v[a+12>>2]=0;b=-1;if(v[a+288>>2]){break l}e=a+212|0}v[e>>2]=1}Ma=c+16|0;if((b|0)>-1){break b}v[a+84>>2]=32;break c}He(a,32,340258,d)}d=0}return d}Md(a,34,0);Qa[v[256556]](d);return 0}function Yma(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;f=Ma-96|0;Ma=f;v[a+8>>2]=d;v[a+4>>2]=c;i=v[v[a+12>>2]>>2];j=Qa[v[v[i>>2]+48>>2]](i)|0;i=Fm();g=v[v[a+12>>2]>>2];l=i,m=Qa[v[v[g>>2]+24>>2]](g)|0,k=v[v[i>>2]+24>>2],Qa[k](l|0,m|0);Qa[v[v[j>>2]+68>>2]](j,i);g=wt();Qa[v[v[g>>2]+428>>2]](g,j);Qa[v[v[a>>2]+36>>2]](a,b,f+72|0,f- -64|0,f+88|0,f+80|0);i=f;if((c|0)>=1){h=+(c|0)}else{h=A[f+72>>3];a:{if(D(h)<2147483648){c=~~h;break a}c=-2147483648}h=+(B(c,96)|0)/A[f+88>>3]}b:{if(D(h)<2147483648){c=~~h;break b}c=-2147483648}v[i+60>>2]=c;i=f;if((d|0)>=1){h=+(d|0)}else{h=A[f+64>>3];c:{if(D(h)<2147483648){d=~~h;break c}d=-2147483648}h=+(B(d,96)|0)/A[f+88>>3]}d:{if(D(h)<2147483648){d=~~h;break d}d=-2147483648}v[i+56>>2]=d;c=B(c,d)<<2;d=eb(ab(c),255,c);c=f+8|0;v[c>>2]=0;v[c+4>>2]=0;t[c+40|0]=0;v[c+32>>2]=0;v[c+36>>2]=-1074790400;t[c+21|0]=0;t[c+22|0]=0;t[c+23|0]=0;t[c+24|0]=0;t[c+25|0]=0;t[c+26|0]=0;t[c+27|0]=0;t[c+28|0]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c+16>>2]=d;v[c+4>>2]=v[f+60>>2];v[c+8>>2]=v[f+56>>2];v[f+4>>2]=B(v[f+60>>2],e?4:-4);e=f+4|0;v[c+12>>2]=v[e>>2];Qa[v[v[g>>2]+456>>2]](g,c);Qa[v[v[g>>2]+448>>2]](g,1);Qa[v[v[g>>2]+36>>2]](g,f+72|0)|0;Qa[v[v[g>>2]+28>>2]](g,f- -64|0)|0;t[f+4|0]=0;Qa[v[v[a>>2]+40>>2]](a,g,b,e);Qa[v[v[j>>2]+12>>2]](j)|0;Qa[v[v[g>>2]+4>>2]](g);v[c>>2]=0;v[c+4>>2]=0;t[c+40|0]=0;v[c+32>>2]=0;v[c+36>>2]=-1074790400;t[c+21|0]=0;t[c+22|0]=0;t[c+23|0]=0;t[c+24|0]=0;t[c+25|0]=0;t[c+26|0]=0;t[c+27|0]=0;t[c+28|0]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;un(c);Ma=f+96|0;return d|0}function Cla(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,n=0,o=0,p=0;i=Ma-16|0;Ma=i;v[i+8>>2]=d;v[i+12>>2]=c;j=v[a+4>>2];if(j){a=Ma-80|0;Ma=a;c=v[j+16>>2];if(c){k=Qa[v[v[c>>2]+48>>2]](c)|0;d=Fm();c=v[j+16>>2];o=d,p=Qa[v[v[c>>2]+24>>2]](c)|0,n=v[v[d>>2]+24>>2],Qa[n](o|0,p|0);Qa[v[v[k>>2]+68>>2]](k,d);f=wt();Qa[v[v[f>>2]+428>>2]](f,k);c=v[j+12>>2];v[a+8>>2]=0;v[a+76>>2]=0;v[a+72>>2]=0;Nu(c,b,a+8|0,a+76|0,a+72|0);g=v[a+8>>2];A[a+64>>3]=g|0;c=v[a+76>>2];A[a+56>>3]=c|0;m=+v[a+72>>2];l=a;d=v[i+12>>2];a:{if((d|0)>=1){h=+(d|0);break a}h=+(B(g,96)|0)/m}b:{if(D(h)<2147483648){d=~~h;break b}d=-2147483648}v[l+76>>2]=d;l=a;g=v[i+8>>2];c:{if((g|0)>=1){h=+(g|0);break c}h=+(B(c,96)|0)/m}d:{if(D(h)<2147483648){g=~~h;break d}g=-2147483648}v[l+72>>2]=g;c=B(d,g)<<2;g=ab(c);c=eb(g,255,c);d=a+8|0;v[d>>2]=0;v[d+4>>2]=0;t[d+40|0]=0;v[d+32>>2]=0;v[d+36>>2]=-1074790400;t[d+21|0]=0;t[d+22|0]=0;t[d+23|0]=0;t[d+24|0]=0;t[d+25|0]=0;t[d+26|0]=0;t[d+27|0]=0;t[d+28|0]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d+16>>2]=c;v[d+4>>2]=v[a+76>>2];v[d+8>>2]=v[a+72>>2];v[a+4>>2]=B(v[a+76>>2],e?4:-4);v[d+12>>2]=v[a+4>>2];Qa[v[v[f>>2]+456>>2]](f,d);Qa[v[v[f>>2]+448>>2]](f,1);Qa[v[v[f>>2]+36>>2]](f,a- -64|0)|0;Qa[v[v[f>>2]+28>>2]](f,a+56|0)|0;zF(j,f,b);Qa[v[v[k>>2]+12>>2]](k)|0;Qa[v[v[f>>2]+4>>2]](f);v[d>>2]=0;v[d+4>>2]=0;t[d+40|0]=0;v[d+32>>2]=0;v[d+36>>2]=-1074790400;t[d+21|0]=0;t[d+22|0]=0;t[d+23|0]=0;t[d+24|0]=0;t[d+25|0]=0;t[d+26|0]=0;t[d+27|0]=0;t[d+28|0]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;un(d)}Ma=a+80|0}Ma=i+16|0;return g|0}function rf(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=Ma-16|0;Ma=g;v[a+4>>2]=v[a+4>>2]+1;c=Ma-16|0;Ma=c;v[c+12>>2]=a;v[g+8>>2]=v[c+12>>2];Ma=c+16|0;if(v[297253]-v[297252]>>2>>>0<=b>>>0){a:{c=v[297253]-v[297252]>>2;a=b+1|0;if(c>>>0>>0){i=Ma-32|0;Ma=i;f=a-c|0;b:{if(f>>>0<=v[297254]-v[297253]>>2>>>0){WN(f);break b}d=i+8|0;a=Ma-16|0;Ma=a;e=f+(v[297253]-v[297252]>>2)|0;v[a+12>>2]=e;c:{c=HN();if(e>>>0<=c>>>0){e=v[297254]-v[297252]>>2;if(e>>>0>>1>>>0){v[a+8>>2]=e<<1;c=Ma-16|0;Ma=c;Ma=c+16|0;c=a+12|0;e=a+8|0;c=v[(y[e>>2]>2]?c:e)>>2]}Ma=a+16|0;break c}Jc();L()}h=v[297253]-v[297252]>>2;a=0;e=Ma-16|0;Ma=e;v[e+12>>2]=0;v[d+12>>2]=0;v[d+16>>2]=1189024;if(c){a=GN(v[d+16>>2],c)}v[d>>2]=a;h=(h<<2)+a|0;v[d+8>>2]=h;v[d+4>>2]=h;v[d+12>>2]=(c<<2)+a;Ma=e+16|0;a=Ma-16|0;Ma=a;v[a>>2]=v[d+8>>2];c=v[d+8>>2];v[a+8>>2]=d+8;v[a+4>>2]=c+(f<<2);c=v[a>>2];while(1){if(v[a+4>>2]!=(c|0)){v[v[a>>2]>>2]=0;c=v[a>>2]+4|0;v[a>>2]=c;continue}break}v[v[a+8>>2]>>2]=v[a>>2];Ma=a+16|0;c=d+4|0;a=v[297252];f=v[297253]-a|0;e=v[c>>2]-f|0;v[c>>2]=e;if((f|0)>=1){cb(e,a,f)}Fr(1189008,c);Fr(1189012,d+8|0);Fr(1189016,d+12|0);v[d>>2]=v[d+4>>2];a=v[d+4>>2];while(1){if((a|0)!=v[d+8>>2]){v[d+8>>2]=v[d+8>>2]-4;continue}break}if(v[d>>2]){a=v[d>>2];EN(v[d+16>>2],a)}}Ma=i+32|0;break a}if(a>>>0>>0){DN(1189008,v[297252]+(a<<2)|0)}}}if(v[v[297252]+(b<<2)>>2]){a=v[v[297252]+(b<<2)>>2];c=v[a+4>>2]-1|0;v[a+4>>2]=c;if((c|0)==-1){Qa[v[v[a>>2]+8>>2]](a)}}a=v[g+8>>2];v[g+8>>2]=0;v[v[297252]+(b<<2)>>2]=a;a=v[g+8>>2];v[g+8>>2]=0;if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Qa[v[v[a>>2]+8>>2]](a)}}Ma=g+16|0}function pw(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;m=v[a+2744>>2];a:{if(!(m&4)){break a}h=v[a+2748>>2];if(w[(h+B(b,9804)|0)+256|0]){break a}a=c>>31;g=a+c^a;b:{c:{d:{if((b|0)==1){if(m&2){break d}if(!(f&2)|(g|0)>=192){break c}a=g;break b}if(!(m&1)){break c}}e:{f:{g:{h:{i:{a=v[(B(b,9804)+h|0)+52>>2];if(a){q=a&1;if((a|0)!=1){break i}e=98;a=0;f=g;break h}a=g+32&2147483584;f=g;break g}d=a&-2;e=98;a=0;n=(B(b,9804)+h|0)+56|0;f=g;while(1){o=v[(B(a|1,12)+n|0)+4>>2];i=g-o|0;j=i>>31;p=v[(B(a,12)+n|0)+4>>2];k=g-p|0;l=k>>31;k=l^l+k;l=(k|0)<(e|0);i=j^j+i;e=l?k:e;j=(i|0)<(e|0);e=j?i:e;f=j?o:l?p:f;a=a+2|0;d=d-2|0;if(d){continue}break}}if(q){d=v[((B(b,9804)+h|0)+B(a,12)|0)+60>>2];h=g-d|0;a=h>>31;f=(a^a+h)<(e|0)?d:f}a=f+32&-64;if((f|0)>(g|0)){break f}}d=(a|48)>(g|0)?f:g;break e}d=(a-48|0)<(g|0)?f:g}if((b|0)==1){a=64;if((d|0)<64){break b}a=d+16&-64;break b}if(m&8){a=64;if((d|0)<64){break b}a=d+32&-64;break b}if((d|0)<=47){a=d- -64>>1;break b}if((d|0)<=127){a=d+22&-64;d=a-g|0;b=d>>31;if((b^b+d)>>>0<16){break b}if((g|0)>47){a=g;break b}a=g- -64>>>1|0;break b}a=d+32&-64;break b}a=e&1?(g|0)<80?64:g:(g|0)>56?g:56;b=B(b,9804)+h|0;if(!v[b+52>>2]){break b}b=v[b+60>>2];f=a-b|0;e=f>>31;if((e^e+f)>>>0<=39){a=(b|0)>48?b:48;break b}if((a|0)<=191){b=a&63;if(b>>>0<10){break b}d=a&2147483584;if(b>>>0<=31){a=d|10;break b}a=b>>>0<54?d|54:a;break b}j:{if(!((d|0)>0&(c|0)>=1)){e=0;if((c|0)>-1|(d|0)>-1){break j}}b=x[v[v[h+4>>2]+88>>2]+12>>1];if(b>>>0>=10){e=0;if(b>>>0>29){break j}d=(B(30-b|0,d)|0)/20|0}b=d>>31;e=b-(b^d)|0}a=(e+a|0)+32&-64}c=(c|0)<0?0-a|0:a}return c}function ofa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=Ma-32|0;Ma=d;g=Ki(a,0,262142,a+164|0);c=v[b+20>>2];if(c){v[c+4>>2]=v[c+4>>2]+1;f=v[b+20>>2]}v[d+24>>2]=f;a:{b:{c:{d:{e:{f:{c=f;e=c;g:{if(c){break g}e=f;if((g|0)<1){break g}c=v[a+3316>>2];h:{if(!c){a=0;break h}Qa[c|0](d,v[a+3320>>2]);jb(d+24|0,d);a=v[d>>2];v[d>>2]=0;i:{if(!a){break i}c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(c){break i}c=v[a+4>>2];if(!c){v[a+4>>2]=-32767}if(!c){Qa[v[v[a>>2]+4>>2]](a)}}a=v[d+24>>2];f=a}if(!f){break f}i=d+24|0;f=0;c=Ma-32|0;Ma=c;j:{k:{if(((v[b+44>>2]-v[b+40>>2]|0)+1|0)<1){if(v[b+20>>2]){break k}jb(b+20|0,i);a=v[i>>2];h=((v[a+16>>2]+v[a+44>>2]|0)-v[a+40>>2]|0)+1|0;v[b+16>>2]=h;if((h|0)<=0){break j}while(1){l:{e=v[a+16>>2];if((e|0)<=(f|0)){e=f-e|0;if((e|0)>=v[a+40>>2]&(e|0)<=v[a+44>>2]){break l}lb(mb(c+8|0,227376,271519,619,307655));L()}a=v[a+20>>2];if(a){continue}lb(mb(c+8|0,239984,241993,165,327454));L()}a=v[(v[a+28>>2]+B(e-v[a+32>>2]|0,12)|0)+4>>2];if(a){if(!v[a+64>>2]){v[a+64>>2]=((a^a>>>5)&7)+1166192}h=v[b+16>>2]}f=f+1|0;if((h|0)<=(f|0)){break j}a=v[i>>2];continue}}lb(mb(c+8|0,233262,241993,193,334931));L()}lb(mb(c+8|0,282918,241993,195,334931));L()}Ma=c+32|0;e=v[d+24>>2]}a=e;if(a|(g|0)<=0){break e}break a}if(!a&(g|0)>0){break a}v[d+24>>2]=0;if(a){break d}break c}if((((v[a+16>>2]+v[a+44>>2]|0)-v[a+40>>2]|0)+1|0)!=(g|0)?a:0){break b}v[d+24>>2]=0;if(!a){break c}}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break c}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=d+32|0;return}lb(mb(d,233504,241993,660,333691));L()}lb(mb(d,233484,241993,658,333691));L()}function cm(a,b){var c=0,d=0,e=0;d=Ma-16|0;Ma=d;c=v[a>>2];a:{if(c){qE(d,c,b);b=v[d>>2];b:{if(b){Qa[v[v[b>>2]+28>>2]](d+8|0,b,1);break b}v[d+8>>2]=0}jb(a,d+8|0);b=v[d+8>>2];v[d+8>>2]=0;c:{if(!b){break c}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break c}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[a>>2];v[a+4>>2]=v[(b?b+12|0:1117e3)>>2];b=v[d>>2];v[d>>2]=0;if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}break a}if((b|0)>=1){v[d>>2]=0;c=ab(16);v[c+8>>2]=0;v[c+12>>2]=0;v[c+4>>2]=0;v[c>>2]=978704;qb(d,c);e=ab(b+1|0);v[c+8>>2]=b;v[c+12>>2]=e;t[b+e|0]=0;b=v[d>>2];d:{if(b){Qa[v[v[b>>2]+28>>2]](d+8|0,b,1);break d}v[d+8>>2]=0}jb(a,d+8|0);b=v[d+8>>2];v[d+8>>2]=0;e:{if(!b){break e}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break e}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[a>>2];v[a+4>>2]=v[(b?b+12|0:1117e3)>>2];b=v[d>>2];v[d>>2]=0;if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}break a}v[d>>2]=0;qb(d,0);b=v[d>>2];f:{if(b){Qa[v[v[b>>2]+28>>2]](d+8|0,b,1);break f}v[d+8>>2]=0}jb(a,d+8|0);b=v[d+8>>2];v[d+8>>2]=0;g:{if(!b){break g}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break g}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[a>>2];v[a+4>>2]=v[(b?b+12|0:1117e3)>>2];b=v[d>>2];v[d>>2]=0;if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}Ma=d+16|0;a=v[a>>2];if(a){a=v[a+12>>2]}else{a=0}return a}function bs(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{if(w[a|0]!=35){break a}b=0;k=a+1|0;l=zb(k);i=l+a|0;c=i+1|0;d=l-1|0;j=d+a|0;e=(l|0)<2?k:j;if(c>>>0>e>>>0){f=t[e|0];g=c>>>0>e+1>>>0?w[e+1|0]:g;b:{if(!f){break b}c=f-97>>>0<26?f&95:f;b=c<<24;b=b-1073741825>>>0<117440511?c-55|0:b-788529153>>>0<184549375?c-48|0:0;if(!g){break b}c=g<<24>>24;e=c-97>>>0<26?c&95:c;c=e<<24;b=(b&255)<<4|(c-1073741825>>>0<117440511?e+201|0:c-788529153>>>0<184549375?e+208|0:0)}b=b&255}c=l-3|0;f=c+a|0;d=(d|0)<3?k:f;if(d>>>0>>0){e=t[d|0];g=0;g=j>>>0>d+1>>>0?w[d+1|0]:g;c:{if(!e){break c}e=e-97>>>0<26?e&95:e;d=e<<24;h=d-1073741825>>>0<117440511?e-55|0:d-788529153>>>0<184549375?e-48|0:0;if(!g){break c}d=g<<24>>24;e=d-97>>>0<26?d&95:d;d=e<<24;h=(h&255)<<4|(d-1073741825>>>0<117440511?e+201|0:d-788529153>>>0<184549375?e+208|0:0)}b=(h&255)<<8|b}d=l-5|0;j=d+a|0;c=(c|0)<3?k:j;if(c>>>0>>0){e=t[c|0];a=0;h=0;h=f>>>0>c+1>>>0?w[c+1|0]:h;d:{if(!e){break d}c=e-97>>>0<26?e&95:e;a=c<<24;a=a-1073741825>>>0<117440511?c-55|0:a-788529153>>>0<184549375?c-48|0:0;if(!(h&255)){break d}c=h<<24>>24;e=c-97>>>0<26?c&95:c;c=e<<24;a=(a&255)<<4|(c-1073741825>>>0<117440511?e+201|0:c-788529153>>>0<184549375?e+208|0:0)}b=(a&255)<<16|b}d=(d|0)<3?k:i-7|0;if(d>>>0>=j>>>0){break a}i=t[d|0];a=0;c=0;c=j>>>0>d+1>>>0?w[d+1|0]:c;e:{if(!i){break e}d=i-97>>>0<26?i&95:i;a=d<<24;a=a-1073741825>>>0<117440511?d-55|0:a-788529153>>>0<184549375?d-48|0:0;if(!c){break e}d=c<<24>>24;c=d-97>>>0<26?d&95:d;d=c<<24;a=(a&255)<<4|(d-1073741825>>>0<117440511?c+201|0:d-788529153>>>0<184549375?c+208|0:0)}b=a<<24|b}return b}function wH(a,b){var c=0,d=0,e=0,f=0;a:{if(!a){break a}c=v[a+20>>2];if(!c){break a}f=v[c+296>>2]}b:{c:{d:{e:{d=v[b+4>>2];switch(d-2|0){case 0:break c;case 16:break d;case 12:break e;default:break b}}yq(b);return}a=v[b+8>>2];if(a){Qa[v[256556]](a)}a=v[b+12>>2];if(a){Qa[v[256556]](a)}Qa[v[256556]](b);return}vH(a,b);return}c=v[b+12>>2];if(!(!c|(d|0)==5)){if(v[c+20>>2]==(b|0)){Tz(a,c)}v[b+12>>2]=0}f:{if(!v[291069]){break f}c=v[291067];if(!c){break f}Qa[c|0](b)}c=v[b+4>>2];g:{if(c>>>0>20|!(1<>2];if(!c){break g}while(1){d=v[c+24>>2];vH(a,c);c=d;if(c){continue}break}}e=v[b+40>>2];h:{i:{if((e|0)==(b+44|0)){break i}d=v[b+4>>2];if(!e|(1<>>0<=20:0)){break h}if(f){d=f;while(1){c=v[d+16>>2];if(c){while(1){if(e>>>0<=y[c+4>>2]&e>>>0>=c+20>>>0){break i}c=v[c>>2];if(c){continue}break}}d=v[d+20>>2];if(d){continue}break}}Qa[v[256556]](e)}d=v[b+4>>2]}j:{if(!(1<>>0>20){break j}c=v[b+48>>2];if(!c){break j}while(1){d=v[c>>2];e=v[c+8>>2];if(e){Qa[v[256556]](e)}e=v[c+12>>2];if(e){Qa[v[256556]](e)}Qa[v[256556]](c);c=d;if(c){continue}break}d=v[b+4>>2]}k:{l:{m:{switch(d-3|0){default:e=v[b+8>>2];n:{if(!e){break n}if(f){while(1){c=v[f+16>>2];if(c){while(1){if(e>>>0<=y[c+4>>2]&e>>>0>=c+20>>>0){break n}c=v[c>>2];if(c){continue}break}}f=v[f+20>>2];if(f){continue}break}}Qa[v[256556]](e);d=v[b+4>>2]}if((d|0)==1){break l}break;case 0:case 5:break m}}if((d|0)!=3){break k}}if(!a){break k}a=v[a+20>>2];if(!a){break k}c=v[a+368>>2];if((c|0)>99){break k}v[b+24>>2]=v[a+372>>2];v[a+368>>2]=c+1;v[a+372>>2]=b;return}Qa[v[256556]](b)}function $Y(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;j=Ma-128|0;Ma=j;k=v[a+16>>2];l=v[a+8>>2];i=t[b+c|0];g=i<<2&224;a:{b:{if(!g){if((i|0)<=63){m=((i&7)<<5)+32|0;g=0;break b}v[j>>2]=-1;g=1}m=((i&7)<<5)+32|0;h=1;if(m>>>0<=g>>>0){break a}}o=e<<8;q=l+(c<<10)|0;i=-1;while(1){c=g;g=v[(c<<2)+q>>2];c:{if((g|0)>=0){d:{e=g>>>24|0;if(t[e+b|0]<0){break d}if($Y(a,b,e,(g&16777215)+d|0,c|o,f)){break d}h=0;break a}v[((c&31)<<2)+j>>2]=-1;break c}e=-1;e:{f:{switch(g>>>20&15){case 0:e=g&65535;break e;case 4:e=x[((g&65535)+d<<1)+k>>1];e=e>>>0<65534?e:-1;break e;case 5:g=(g&65535)+d|0;e=x[(g<<1)+k>>1];if(e>>>0<55296){break e}g=g+1|0;if(e>>>0<=56319){e=(x[(g<<1)+k>>1]+(e<<10&1047552)|0)+9216|0;break e}h=(e|0)!=57344;e=-1;if(h){break e}e=x[(g<<1)+k>>1];break e;case 1:break f;default:break e}}e=(g&1048575)+65536|0}v[((c&31)<<2)+j>>2]=e;i=e&i}g=c+1|0;if(!(g&31|(i|0)<0)){c=c-31|o;g:{h:{switch(w[f+172|0]-8|0){case 0:if(c>>>0<65536){break g}if(c>>>0<=9371647){c=c&32767;break g}c=c&65407;break g;case 1:break h;default:break g}}if(c>>>0<16777216){break g}if(c>>>0<=2399141887){c=c&8388607;break g}c=c&16744447}e=v[f+160>>2];l=v[f+24>>2];i=0;while(1){h=v[(i<<2)+j>>2];if((h|0)>=0){p=h&15;n=(l+(x[l+(h>>>9&8388606)>>1]<<2)|0)+(h>>>2&252)|0;h=p|v[n>>2]<<4&1048560;i:{j:{switch(w[f+172|0]-2|0){case 0:case 7:h=e+B(h,3)|0;t[h+2|0]=c;t[h+1|0]=c>>>8;t[h|0]=c>>>16;break i;case 1:v[e+(h<<2)>>2]=c;break i;default:break j}}u[e+(h<<1)>>1]=c}v[n>>2]=v[n>>2]|1<<(p|16)}c=c+1|0;i=i+1|0;if((i|0)!=32){continue}break}i=-1}if((g|0)!=(m|0)){continue}break}h=1}Ma=j+128|0;return h}function dIa(a,b){a=a|0;b=b|0;var 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;d=Ma-32|0;Ma=d;e=v[a+464>>2];a:{b:{if(v[e+40>>2]|!v[a+280>>2]){break b}c=v[a+460>>2];v[c+24>>2]=v[c+24>>2]+(v[e+12>>2]/8|0);v[e+12>>2]=0;i=0;if(!(Qa[v[c+8>>2]](a)|0)){break a}if(v[a+336>>2]>=1){c=0;while(1){v[((c<<2)+e|0)+20>>2]=0;c=c+1|0;if((c|0)>2]){continue}break}}v[e+16>>2]=0;v[e+40>>2]=v[a+280>>2];if(v[a+436>>2]){break b}v[e+36>>2]=0}if(!v[e+36>>2]){c=v[e+16>>2];c:{if(c){f=c-1|0;break c}m=v[a+428>>2];n=v[a+420>>2];l=v[a+412>>2];v[d+24>>2]=a;c=v[a+24>>2];v[d+8>>2]=v[c>>2];v[d+12>>2]=v[c+4>>2];c=v[e+12>>2];g=v[e+8>>2];k=v[a+408>>2];f=0;d:{if((l|0)<(k|0)){break d}f=v[e+60>>2];o=v[b>>2];while(1){e:{f:{g:{if((c|0)>7){break g}i=0;if(!Ff(d+8|0,g,c,0)){break a}g=v[d+16>>2];c=v[d+20>>2];if((c|0)>7){break g}b=Yh(d+8|0,g,c,f,1);break f}b=g>>c-8&255;h=v[((b<<2)+f|0)+144>>2];if(h){b=w[(b+f|0)+1168|0];c=c-h|0;break e}b=Yh(d+8|0,g,c,f,9)}i=0;if((b|0)<0){break a}g=v[d+16>>2];c=v[d+20>>2]}h=b>>>4|0;h:{j=b&15;if(j){if((c|0)<(j|0)){i=0;if(!Ff(d+8|0,g,c,j)){break a}g=v[d+16>>2];c=v[d+20>>2]}b=h+k|0;h=j<<2;k=v[h+72672>>2];c=c-j|0;j=k&g>>c;u[(v[(b<<2)+m>>2]<<1)+o>>1]=j-((j|0)>v[h+72668>>2]?0:k)<>>0>=16){if((c|0)<(h|0)){i=0;if(!Ff(d+8|0,g,c,h)){break a}g=v[d+16>>2];c=v[d+20>>2]}c=c-h|0;f=f+(v[(h<<2)+72672>>2]&g>>c)|0}f=f-1|0;break d}k=b+1|0;if((b|0)<(l|0)){continue}break}f=0}a=v[a+24>>2];v[a>>2]=v[d+8>>2];v[a+4>>2]=v[d+12>>2];v[e+12>>2]=c;v[e+8>>2]=g}v[e+16>>2]=f}v[e+40>>2]=v[e+40>>2]-1;i=1}Ma=d+32|0;return i|0}function oK(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;if(b){v[b>>2]=0}a:{if(!a|((a?v[a+8>>2]:-1)|0)!=1){break a}b:{switch(c-4|0){case 0:case 4:break b;default:break a}}if(!b){return nK(a,c)}d=Ma-48|0;Ma=d;c:{if(!b){break c}v[b>>2]=0;if(!a|((a?v[a+8>>2]:-1)|0)!=1){break c}d:{switch(c-4|0){case 0:case 4:break d;default:break c}}h=b;b=hk(0);v[h>>2]=b;Kw(a,d+32|0);if(v[d+32>>2]){f=_o(1);break c}e=se(0,a);v[d+20>>2]=e;if(!e){break c}j=se(0,a);v[d+16>>2]=j;if(!j){break c}i=FB(a?v[a+4>>2]:-1);v[d+8>>2]=i;if(!i){break c}a=FB(0);if(!a){break c}v[i+12>>2]=a;h=_o(0);if(!h){break c}a=d+44|0;f=d+40|0;g=d+36|0;if(e){if(a){v[a>>2]=v[e>>2]}if(f){v[f>>2]=v[e+4>>2]}if(g){v[g>>2]=v[e+8>>2]}}e:{if(v[d+36>>2]!=1){break e}m=c-4|0;while(1){a=e?v[e+12>>2]:-1;if(!S2(e?v[e+40>>2]:0,v[d+44>>2],v[d+40>>2],a,k,l,d+28|0,d+24|0)){break e}l=v[d+24>>2];k=v[d+28>>2];f=0;if(((e?v[e+8>>2]:-1)|0)!=1){break c}f:{g:{switch(m|0){case 0:g=R2(e,i,k,l);if(g){break f}break c;case 4:break g;default:break c}}g=Q2(e,i,k,l);if(!g){break c}}HB(h,g);f=JB(e,g);c=JB(j,g);v[d+12>>2]=c;h:{if(!f|!c|(c|0)==(f|0)){break h}if(((f?v[f+8>>2]:-1)|0)!=((c?v[c+8>>2]:-1)|0)){break h}a=se(f,f);if(!a){break h}fe(a,0,0,a?v[a>>2]:-1,a?v[a+4>>2]:-1,12,c,0,0)}fe(j,v[g>>2],v[g+4>>2],v[g+8>>2],v[g+12>>2],12,f,0,0);oh(b,f,0);_b(d+12|0);a=d+44|0;c=d+40|0;f=d+36|0;if(e){if(a){v[a>>2]=v[e>>2]}if(c){v[c>>2]=v[e+4>>2]}if(f){v[f>>2]=v[e+8>>2]}}if(v[d+36>>2]==1){continue}break}}Fn(b+16|0);a=h;i:{if(a){v[a+8>>2]=v[a+8>>2]+1;c=a;break i}c=0}v[b+16>>2]=c;jK(d+8|0,1);_b(d+20|0);_b(d+16|0);f=a}Ma=d+48|0}return f}function cca(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,j=0,k=0,l=0,m=0;a=Ma-160|0;Ma=a;v[a+144>>2]=c;v[a+152>>2]=b;v[a+20>>2]=4175;h=a+20|0;i=nf(a+24|0,a+32|0,h);j=a+16|0;b=v[e+28>>2];v[j>>2]=b;v[b+4>>2]=v[b+4>>2]+1;b=Yi(j);t[a+15|0]=0;if(lO(a+152|0,c,d,j,v[e+4>>2],f,a+15|0,b,i,h,a+132|0)){c=Ma-16|0;Ma=c;a:{if(w[g+11|0]>>>7|0){d=v[g>>2];t[c+15|0]=0;t[d|0]=w[c+15|0];v[g+4>>2]=0;break a}t[c+14|0]=0;t[g|0]=w[c+14|0];t[g+11|0]=0}Ma=c+16|0;if(w[a+15|0]){fD(g,Qa[v[v[b>>2]+28>>2]](b,45)|0)}b=Qa[v[v[b>>2]+28>>2]](b,48)|0;e=v[i>>2];l=v[a+20>>2];c=l-1|0;b=b&255;while(1){if(!((b|0)!=w[e|0]|c>>>0<=e>>>0)){e=e+1|0;continue}break}h=Ma-32|0;Ma=h;if(w[g+11|0]>>>7|0){c=v[g+4>>2]}else{c=w[g+11|0]}d=w[g+11|0]>>>7|0?(v[g+8>>2]&2147483647)-1|0:10;b=l-e|0;b:{if(!b){break b}if(w[g+11|0]>>>7|0){k=v[g>>2]}else{k=g}j=k;if(w[g+11|0]>>>7|0){k=v[g>>2]}else{k=g}if(w[g+11|0]>>>7|0){m=v[g+4>>2]}else{m=w[g+11|0]}if(k+m>>>0>e>>>0&e>>>0>=j>>>0){b=Ma-16|0;Ma=b;c=h+16|0;ZO(c,e,l);Ma=b+16|0;b=c;if(w[b+11|0]>>>7|0){b=v[b>>2]}if(w[c+11|0]>>>7|0){d=v[c+4>>2]}else{d=w[c+11|0]}Bp(g,b,d);Vb(c);break b}if(b>>>0>d-c>>>0){gD(g,d,(b+c|0)-d|0,c,c)}if(w[g+11|0]>>>7|0){d=v[g>>2]}else{d=g}d=d+c|0;while(1){if((e|0)!=(l|0)){t[d|0]=w[e|0];e=e+1|0;d=d+1|0;continue}break}t[h+15|0]=0;t[d|0]=w[h+15|0];b=b+c|0;c:{if(w[g+11|0]>>>7|0){v[g+4>>2]=b;break c}t[g+11|0]=b}}Ma=h+32|0}if(yg(a+152|0,a+144|0)){v[f>>2]=v[f>>2]|2}d=v[a+152>>2];b=v[a+16>>2];c=v[b+4>>2]-1|0;v[b+4>>2]=c;if((c|0)==-1){Qa[v[v[b>>2]+8>>2]](b)}b=v[i>>2];v[i>>2]=0;if(b){Qa[v[i+4>>2]](b)}Ma=a+160|0;return d|0}function Qp(a){var 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;o=Ma-32|0;Ma=o;if(x[a+16>>1]<3){a:{if(!v[a+20>>2]){break a}j=a+40|0;Sc(j,0,1);Sc(a+52|0,0,4);r=a;g=Ma-16|0;Ma=g;b:{c:{d=a;if(!(!x[a+8>>1]|!x[a+10>>1])){a=v[d+20>>2];if(a|v[d+36>>2]){break c}}Sc(j,0,1);break b}if(!a){a=pc(g,g+12|0,v[d+60>>2],1);cb(v[g+12>>2],v[d+36>>2],v[d+60>>2]);tE(a,j);h=v[d+60>>2];ec(a);break b}Sc(j,0,1);k=(x[d+10>>1]<<1)+1024|0;l=pc(g,g+12|0,k,1);a=x[d+8>>1];if(a){m=a-1|0;n=(v[d+20>>2]+x[d+12>>1]|0)+B(m,x[d+14>>1])|0;while(1){a=x[d+10>>1];c=a<<1;if(((c+h|0)+2|0)>(k|0)){k=(c+k|0)+1024|0;Sc(l,k,1);a=x[d+10>>1]}p=v[g+12>>2]+h|0;e=p;if(a){f=a+n|0;q=0;e=p;c=n;while(1){b=w[c|0];d:{e:{q=q^1;f:{if(!(q&1)){if(!b){a=0;break e}a=1;b=c+1|0;if(f>>>0<=b>>>0){c=b;break e}i=f-c|0;while(1){c=b;if(!w[b|0]){break f}a=a+1|0;b=b+1|0;if((f|0)!=(b|0)){continue}break}a=i;c=f;break f}a=0;if(b){break e}a=1;b=c+1|0;if(f>>>0<=b>>>0){c=b;break e}i=f-c|0;while(1){c=b;if(w[b|0]){break f}a=a+1|0;b=b+1|0;if((f|0)!=(b|0)){continue}break}a=i;c=f}if(a>>>0<=191){break e}g:{if(a>>>0<=16383){t[e+1|0]=a;t[e|0]=(a>>>8|0)+-64;break g}while(1){b=e;t[b+2|0]=0;t[b|0]=255;t[b+1|0]=255;i=a;a=a-16383|0;e=b+3|0;if((i|0)>32766){continue}break}if((i|0)<=16574){break e}t[b+4|0]=a;t[b+3|0]=(a>>>8|0)+-64}a=2;break d}t[e|0]=a;a=1}e=a+e|0;if(c>>>0>>0){continue}break}}n=n-x[d+14>>1]|0;h=(h-p|0)+e|0;a=(m|0)>0;m=m-1|0;if(a){continue}break}}Sc(l,h,1);tE(j,l);ec(l)}Ma=g+16|0;v[r+60>>2]=h;if(!h){break a}Sc(d+28|0,0,1);v[d+20>>2]=0}Ma=o+32|0;return}lb(mb(o+8|0,234703,241375,402,332592));L()}function $ba(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,j=0,k=0,l=0,m=0;a=Ma-448|0;Ma=a;v[a+432>>2]=c;v[a+440>>2]=b;v[a+20>>2]=4175;k=a+20|0;i=nf(a+24|0,a+32|0,k);h=a+16|0;b=v[e+28>>2];v[h>>2]=b;v[b+4>>2]=v[b+4>>2]+1;b=hi(h);t[a+15|0]=0;if(eO(a+440|0,c,d,h,v[e+4>>2],f,a+15|0,b,i,k,a+432|0)){c=Ma-16|0;Ma=c;a:{if(w[g+11|0]>>>7|0){d=v[g>>2];v[c+12>>2]=0;v[d>>2]=v[c+12>>2];v[g+4>>2]=0;break a}v[c+8>>2]=0;v[g>>2]=v[c+8>>2];t[g+11|0]=0}Ma=c+16|0;if(w[a+15|0]){Ap(g,Qa[v[v[b>>2]+44>>2]](b,45)|0)}b=Qa[v[v[b>>2]+44>>2]](b,48)|0;e=v[i>>2];l=v[a+20>>2];c=l-4|0;while(1){if(!((b|0)!=v[e>>2]|c>>>0<=e>>>0)){e=e+4|0;continue}break}c=Ma-16|0;Ma=c;if(w[g+11|0]>>>7|0){h=v[g+4>>2]}else{h=w[g+11|0]}d=w[g+11|0]>>>7|0?(v[g+8>>2]&2147483647)-1|0:1;b=l-e>>2;b:{if(!b){break b}if(w[g+11|0]>>>7|0){j=v[g>>2]}else{j=g}k=j;if(w[g+11|0]>>>7|0){j=v[g>>2]}else{j=g}if(w[g+11|0]>>>7|0){m=v[g+4>>2]}else{m=w[g+11|0]}if(j+(m<<2)>>>0>e>>>0&e>>>0>=k>>>0){b=Ma-16|0;Ma=b;MO(c,e,l);Ma=b+16|0;b=c;if(w[b+11|0]>>>7|0){b=v[b>>2]}if(w[c+11|0]>>>7|0){d=v[c+4>>2]}else{d=w[c+11|0]}bd(g,b,d);Vb(c);break b}if(b>>>0>d-h>>>0){rx(g,d,(b+h|0)-d|0,h,h,0)}if(w[g+11|0]>>>7|0){d=v[g>>2]}else{d=g}d=d+(h<<2)|0;while(1){if((e|0)!=(l|0)){v[d>>2]=v[e>>2];e=e+4|0;d=d+4|0;continue}break}v[c>>2]=0;v[d>>2]=v[c>>2];b=b+h|0;c:{if(w[g+11|0]>>>7|0){v[g+4>>2]=b;break c}t[g+11|0]=b}}Ma=c+16|0}if(jg(a+440|0,a+432|0)){v[f>>2]=v[f>>2]|2}d=v[a+440>>2];b=v[a+16>>2];c=v[b+4>>2]-1|0;v[b+4>>2]=c;if((c|0)==-1){Qa[v[v[b>>2]+8>>2]](b)}b=v[i>>2];v[i>>2]=0;if(b){Qa[v[i+4>>2]](b)}Ma=a+448|0;return d|0}function JL(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=Ma-128|0;Ma=l;a:{b:{if(b){if((c|0)<0){break b}a=v[b>>2];if(!a){g=b;break a}e=b;while(1){v[(i<<2)+l>>2]=e;i=i+1|0;g=a;e=a;a=v[e>>2];if(a){continue}break}break a}O(15813,7271,278,189662);L()}O(19230,7271,279,189662);L()}e=0;c:{d:{e:{while(1){a=v[g+8>>2];if((e|0)>(a|0)){v[g+8>>2]=e;a=e}f:{if((a|0)>=(c|0)){break f}while(1){if(v[g+4>>2]<=(a|0)){if(v[g+12>>2]){break f}if(!(w[d+16|0]&2)){break d}e=v[d+8>>2];f=e-1|0;v[d+8>>2]=f;g:{if((e|0)<=0){h=v[d+4>>2];e=h<<8&65280;f=(e|0)==65280?6:7;v[d+8>>2]=f;v[d+4>>2]=e|1<>2];j=v[e+8>>2];if(j&7){break e}k=v[e+64>>2];if(!((k|0)<0|(k|0)>v[e+60>>2])){v[e+8>>2]=j|4;break e}v[e+4>>2]=v[e+4>>2]|32;f=v[e+28>>2];v[e+28>>2]=f-1;if((f|0)>=1){v[e+60>>2]=v[e+60>>2]+1;f=e;e=v[e+24>>2];v[f+24>>2]=e+1;t[e|0]=h;v[g+12>>2]=1;break f}f=-1;if((Cb(e,h&255)|0)!=-1){break g}break e}v[d+4>>2]=v[d+4>>2]|1<>2]=1;break f}if(!(w[d+16|0]&2)){break c}e=v[d+8>>2];v[d+8>>2]=e-1;h:{if((e|0)>0){break h}j=v[d+4>>2];h=j<<8&65280;v[d+4>>2]=h;v[d+8>>2]=(h|0)==65280?6:7;f=-1;e=v[d+12>>2];k=v[e+8>>2];if(k&7){break e}m=v[e+64>>2];if(!((m|0)<0|v[e+60>>2]<(m|0))){v[e+8>>2]=k|4;break e}v[e+4>>2]=v[e+4>>2]|32;f=v[e+28>>2];v[e+28>>2]=f-1;if((f|0)>=1){v[e+60>>2]=v[e+60>>2]+1;f=e;e=v[e+24>>2];v[f+24>>2]=e+1;t[e|0]=j;break h}f=-1;if((Cb(e,h>>>8|0)|0)==-1){break e}}a=a+1|0;if((c|0)!=(a|0)){continue}break}a=c}v[g+8>>2]=a;if(i){i=i-1|0;g=v[(i<<2)+l>>2];e=a;continue}break}f=v[b+8>>2]<(c|0)}Ma=l+128|0;return f}O(21291,7271,302,189662);L()}O(21291,7271,309,189662);L()}function OH(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!(!a|!b)){c=v[a+8>>2];a:{if(!c){break a}d=c;while(1){e=d;d=e+1|0;if(w[e|0]){continue}break}d=e-c|0;if((d|0)<0){break a}e=Qa[v[256555]](d+1|0)|0;if(!e){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break a}f=cb(e,c,d);t[d+f|0]=0}c=v[a+16>>2];b:{if(!c){break b}d=c;while(1){e=d;d=e+1|0;if(w[e|0]){continue}break}d=e-c|0;if((d|0)<0){break b}e=Qa[v[256555]](d+1|0)|0;if(!e){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break b}g=cb(e,c,d);t[d+g|0]=0}c=v[a+24>>2];c:{if(!c){break c}d=c;while(1){e=d;d=e+1|0;if(w[e|0]){continue}break}d=e-c|0;if((d|0)<0){break c}e=Qa[v[256555]](d+1|0)|0;if(!e){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break c}h=cb(e,c,d);t[d+h|0]=0}c=v[a+28>>2];d:{if(!c){break d}d=c;while(1){e=d;d=e+1|0;if(w[e|0]){continue}break}d=e-c|0;if((d|0)<0){break d}e=Qa[v[256555]](d+1|0)|0;if(!e){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break d}i=cb(e,c,d);t[d+i|0]=0}c=v[a+32>>2];e:{if(!c){d=0;break e}d=c;while(1){e=d;d=e+1|0;if(w[e|0]){continue}break}d=0;e=e-c|0;if((e|0)<0){break e}j=Qa[v[256555]](e+1|0)|0;if(!j){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break e}d=cb(j,c,e);t[e+d|0]=0}c=v[b+8>>2];if(c){Qa[v[256556]](c)}c=v[b+16>>2];if(c){Qa[v[256556]](c)}c=v[b+24>>2];if(c){Qa[v[256556]](c)}c=v[b+28>>2];if(c){Qa[v[256556]](c)}c=v[b+32>>2];if(c){Qa[v[256556]](c)}v[b>>2]=v[a>>2];v[b+4>>2]=v[a+4>>2];v[b+12>>2]=v[a+12>>2];v[b+20>>2]=v[a+20>>2];v[b+48>>2]=v[a+48>>2];v[b+36>>2]=v[a+36>>2];v[b+40>>2]=v[a+40>>2];v[b+48>>2]=v[a+48>>2];a=v[a+44>>2];v[b+32>>2]=d;v[b+28>>2]=i;v[b+24>>2]=h;v[b+16>>2]=g;v[b+8>>2]=f;v[b+44>>2]=a}}function qXa(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,v=0,y=0,z=0;if(e){v=e-1|0;y=e-2|0;q=(e|0)==1;while(1){a=f;u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];u[g+6>>1]=x[a+6>>1];f=a+8|0;g=g+8|0;a:{if(!q&m>>>0>=v>>>0){break a}i=m?(m|0)==(y|0)?d:b:c;k=!m&q;if(k){if(i>>>0<2){break a}k=i-1|0;l=k&1;if((i|0)!=2){i=k&-2;while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];u[g+6>>1]=x[a+6>>1];u[g+8>>1]=x[a>>1];u[g+10>>1]=x[a+2>>1];u[g+12>>1]=x[a+4>>1];u[g+14>>1]=x[a+6>>1];g=g+16|0;i=i-2|0;if(i){continue}break}}if(!l){break a}u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];u[g+6>>1]=x[a+6>>1];g=g+8|0;break a}l=a+6|0;r=i<<1;o=k?0:f;p=o+6|0;k=i+1>>>1|0;if(i>>>0>=3){z=k>>>0>2?k:2;h=1;while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];n=g+6|0;j=x[a+6>>1];b:{if((j|0)==x[p>>1]){u[n>>1]=j;break b}j=w[l|0]|w[l+1|0]<<8;s=w[p|0]|w[p+1|0]<<8;j=((j<<8|j>>>8)&65535)+((i+(B(((s<<8|s>>>8)&65535)-((j<<8|j>>>8)&65535)|0,h)<<1)|0)/(r|0)|0)&65535;j=j<<8|j>>>8;t[n|0]=j;t[n+1|0]=j>>>8}g=g+8|0;h=h+1|0;if((z|0)!=(h|0)){continue}break}}if(i>>>0<=k>>>0){break a}while(1){u[g>>1]=x[o>>1];u[g+2>>1]=x[o+2>>1];u[g+4>>1]=x[o+4>>1];a=g+6|0;h=x[l>>1];c:{if((h|0)==x[o+6>>1]){u[a>>1]=h;break c}h=w[l|0]|w[l+1|0]<<8;n=w[p|0]|w[p+1|0]<<8;h=((h<<8|h>>>8)&65535)+((i+(B(((n<<8|n>>>8)&65535)-((h<<8|h>>>8)&65535)|0,k)<<1)|0)/(r|0)|0)&65535;h=h<<8|h>>>8;t[a|0]=h;t[a+1|0]=h>>>8}g=g+8|0;k=k+1|0;if((i|0)!=(k|0)){continue}break}}m=m+1|0;if((m|0)!=(e|0)){continue}break}}return 0}function uz(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;i=Ma-32|0;Ma=i;a:{if((d|0)<1|b>>>0>16777215){break a}b:{while(1){g=0;f=j;j=(d-f|0)>4?f+4|0:d;k=j-f|0;if((k|0)>=1){m=c+f|0;f=0;while(1){l=v[(w[f+m|0]<<2)+884048>>2];if((l|0)<0){break b}g=(g<<4)+l|0;f=f+1|0;if((k|0)!=(f|0)){continue}break}}c:{if((h|0)>=1){k=((h<<2)+i|0)-4|0;f=v[k>>2];if(!(f>>>0<55296|f>>>0>56319|(g>>>0<56320|g>>>0>57343))){v[k>>2]=(f<<10&1047552|g&1023)+65536;break c}if((h|0)>7){break c}}v[(h<<2)+i>>2]=g;h=h+1|0}if((d|0)>(j|0)){continue}break}if(!h){break a}f=v[a+8>>2];d:{if(f>>>0>b>>>0){break d}c=f?f<<1:256;c=b>>>0>>0?c:b+256&-256;v[a+8>>2]=c;c=yc(v[a+4>>2],c,4);v[a+4>>2]=c;if(y[a+8>>2]<=f>>>0){break d}while(1){v[c+(f<<2)>>2]=0;f=f+1|0;if(f>>>0>2]){continue}break}}if((h|0)==1){v[v[a+4>>2]+(b<<2)>>2]=v[i>>2]+e;break a}c=v[a+20>>2];e:{if((c|0)>v[a+16>>2]){g=v[a+12>>2];break e}c=c+16|0;v[a+20>>2]=c;g=yc(v[a+12>>2],c,40);v[a+12>>2]=g}f=0;v[v[a+4>>2]+(b<<2)>>2]=0;c=v[a+16>>2];v[B(c,40)+g>>2]=b;f:{if((h|0)<1){break f}d=h&3;if(h-1>>>0>=3){j=h&-4;while(1){b=f<<2;v[(b+(B(c,40)+g|0)|0)+4>>2]=v[b+i>>2];c=b|4;v[(c+(B(v[a+16>>2],40)+g|0)|0)+4>>2]=v[c+i>>2];c=b|8;v[(c+(B(v[a+16>>2],40)+g|0)|0)+4>>2]=v[c+i>>2];b=b|12;v[(b+(B(v[a+16>>2],40)+g|0)|0)+4>>2]=v[b+i>>2];f=f+4|0;c=v[a+16>>2];j=j-4|0;if(j){continue}break}}if(!d){break f}while(1){b=f<<2;v[(b+(B(c,40)+g|0)|0)+4>>2]=v[b+i>>2];f=f+1|0;c=v[a+16>>2];d=d-1|0;if(d){continue}break}}b=(B(c,40)+g|0)+(h<<2)|0;v[b>>2]=v[b>>2]+e;b=v[a+16>>2];v[(B(b,40)+g|0)+36>>2]=h;v[a+16>>2]=b+1;break a}fb(0,-1,242684,0)}Ma=i+32|0}function rA(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;d=w[b+11|0];e=d<<24>>24<0;g=e?v[b+4>>2]:d;i=e?v[b>>2]:b;d=w[a+11|0];e=d<<24>>24<0;f=e?v[a+4>>2]:d;e=e?v[a>>2]:a;while(1){a:{if(g){m=e+f|0;f=e+l|0;l=m-f|0;if((l|0)<(g|0)){break a}h=w[i|0];while(1){l=l-g|0;d=l+1|0;if(d>>>0>>0){break a}d=ag(f,h,d);if(!d){break a}if(Jb(d,i,g)){f=d+1|0;l=m-f|0;if((l|0)>=(g|0)){continue}break a}break}if((d|0)==(m|0)){break a}l=d-e|0}if((l|0)==-1){break a}e=w[c+11|0];d=e<<24>>24<0;i=d?v[c>>2]:c;f=d?v[c+4>>2]:e;h=Ma-16|0;Ma=h;v[h+12>>2]=g;b:{c:{d:{g=l;d=g;e=a;e:{if(w[e+11|0]>>>7|0){m=v[e+4>>2];break e}m=w[e+11|0]}if(d>>>0<=m>>>0){j=m-g|0;v[h+8>>2]=j;d=Ma-16|0;Ma=d;Ma=d+16|0;d=h+8|0;k=h+12|0;v[h+12>>2]=v[(y[d>>2]>2]?d:k)>>2];k=v[h+12>>2];e=w[e+11|0]>>>7|0?(v[a+8>>2]&2147483647)-1|0:10;if(k+(e-m|0)>>>0>=f>>>0){e=a;f:{if(w[e+11|0]>>>7|0){d=v[e>>2];break f}d=e}k=v[h+12>>2];g:{if((k|0)==(f|0)){break g}n=j-k|0;if(!n){break g}j=d+g|0;if(f>>>0>>0){break d}h:{if(i>>>0<=j>>>0|d+m>>>0<=i>>>0){break h}if(j+k>>>0<=i>>>0){i=(f-k|0)+i|0;break h}ur(j,i,k);j=v[h+12>>2];k=0;v[h+12>>2]=0;i=f+i|0;f=f-j|0;g=g+j|0}j=d+g|0;ur(j+f|0,j+k|0,n)}ur(d+g|0,i,f);break c}$t(a,e,f+m-(e+k)|0,m,g,k,f,i);break b}gi();L()}ur(j,i,f);ur(f+j|0,j+v[h+12>>2]|0,n)}g=(f-v[h+12>>2]|0)+m|0;f=g;i:{if(w[e+11|0]>>>7|0){v[a+4>>2]=f;break i}t[a+11|0]=f}t[h+7|0]=0;t[d+g|0]=w[h+7|0]}Ma=h+16|0;d=w[b+11|0];e=d<<24>>24<0;g=e?v[b+4>>2]:d;i=e?v[b>>2]:b;d=w[a+11|0];f=d<<24>>24<0;e=f?v[a>>2]:a;f=f?v[a+4>>2]:d;d=w[c+11|0];l=(d<<24>>24<0?v[c+4>>2]:d)+l|0;if(f>>>0>=l>>>0){continue}}break}}function d3a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;v[a+28>>2]=0;e=-1;a:{b:{c:{if(qf(b,a+20|0)){break c}c=v[b+8>>2];if(c&7){break c}d=v[b+64>>2];if((d|0)>=0&(d|0)<=v[b+60>>2]){break b}d=v[b+28>>2];v[b+28>>2]=d-1;d:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;c=w[d|0];break d}c=Eb(b,1);if((c|0)==-1){break c}}t[a+24|0]=c;d=gb(B(v[a+20>>2],c<<2&1020));v[a+28>>2]=d;if(!d){break c}d=gb(w[a+24|0]);v[a+32>>2]=d;if(!d){break c}c=0;e:{if(!w[a+24|0]){break e}c=v[b+8>>2];if(c&7){break c}g=d;while(1){e=v[b+64>>2];if((e|0)>=0&(e|0)<=v[b+60>>2]){break b}c=v[b+28>>2];v[b+28>>2]=c-1;f:{if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;c=w[c|0];break f}e=-1;c=Eb(b,1);if((c|0)==-1){break c}}if(g){t[d|0]=c}c=w[a+24|0];f=f+1|0;if(c>>>0<=f>>>0){break e}g=v[a+32>>2];d=g+f|0;e=-1;c=v[b+8>>2];if(!(c&7)){continue}break}break c}f=v[a+20>>2];if(!f){return 0}while(1){g=0;g:{if(!(c&255)){c=0;break g}while(1){d=w[v[a+32>>2]+g|0];k=d<<24>>24;i=d&127;j=i+8|0;l=j>>>3|0;d=0;f=0;while(1){c=v[b+8>>2];if(c&7){break a}e=v[b+64>>2];if((e|0)>=0&(e|0)<=v[b+60>>2]){break b}c=v[b+28>>2];v[b+28>>2]=c-1;h:{if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;c=w[c|0];break h}e=-1;c=Eb(b,1);if((c|0)==-1){break c}}f=f<<8|c;d=d+1|0;if((l|0)!=(d|0)){continue}break}e=(-2<>>d-1&1?0-c|0:c}c=w[a+24|0];v[v[a+28>>2]+(B(h,c)+g<<2)>>2]=e;g=g+1|0;if(g>>>0>>0){continue}break}f=v[a+20>>2]}e=0;h=h+1|0;if(h>>>0>>0){continue}break}}return e|0}v[b+8>>2]=c|4}return-1}function wT(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=Ma-48|0;Ma=f;a:{if((c|0)<1){break a}l=e+1|0;while(1){if(v[v[a>>2]+16>>2]<=v[b>>2]){break a}j=c;v[f+32>>2]=0;h=v[a>>2];i=v[b>>2];v[b>>2]=i+1;g=f+32|0;c=Ma-16|0;Ma=c;h=h+12|0;FE(c+8|0,h,i);b:{c:{i=v[c+8>>2];d:{if(i){v[c>>2]=i;k=v[c+12>>2];v[c+4>>2]=k;if((h|0)!=(k|0)){break c}jb(g,i+8|0);break d}qb(g,0)}Ma=c+16|0;break b}wd(c,h);L()}v[f+24>>2]=0;v[f+28>>2]=v[279250];c=v[v[f+32>>2]+20>>2];e:{if(c){Qa[v[v[c>>2]+28>>2]](f+8|0,c,1);break e}v[f+8>>2]=0}jb(f+24|0,f+8|0);c=v[f+8>>2];v[f+8>>2]=0;f:{if(!c){break f}g=v[c+4>>2]-1|0;v[c+4>>2]=g;if(g){break f}g=v[c+4>>2];if(!g){v[c+4>>2]=-32767}if(!g){Qa[v[v[c>>2]+4>>2]](c)}}c=v[f+24>>2];v[f+28>>2]=v[(c?c+12|0:1117e3)>>2];g:{if(!c){v[f+20>>2]=-1;break g}g=Qa[v[v[c>>2]+48>>2]](c,1,f+20|0,10)|0;h=v[f+20>>2];c=v[f+24>>2];if(c){c=v[c+8>>2]}else{c=0}if((c|0)!=(h|0)){break g}cn(d,g-1|0);cn(d,e);cn(d,0);v[f+8>>2]=0;v[f+12>>2]=v[279250];c=v[v[f+32>>2]+12>>2];h:{if(c){Qa[v[v[c>>2]+28>>2]](f+40|0,c,1);break h}v[f+40>>2]=0}jb(f+8|0,f+40|0);c=v[f+40>>2];v[f+40>>2]=0;i:{if(!c){break i}g=v[c+4>>2]-1|0;v[c+4>>2]=g;if(g){break i}g=v[c+4>>2];if(!g){v[c+4>>2]=-32767}if(!g){Qa[v[v[c>>2]+4>>2]](c)}}c=v[f+8>>2];v[f+12>>2]=v[(c?c+12|0:1117e3)>>2];c=d;h=cm(f+8|0,-1);g=v[f+8>>2];if(g){g=v[g+8>>2]}else{g=0}TT(c,h,g);db(f+8|0)}wT(a,b,v[v[f+32>>2]+8>>2],d,l);db(f+24|0);c=v[f+32>>2];v[f+32>>2]=0;j:{if(!c){break j}g=v[c+4>>2]-1|0;v[c+4>>2]=g;if(g){break j}g=v[c+4>>2];if(!g){v[c+4>>2]=-32767}if(!g){Qa[v[v[c>>2]+4>>2]](c)}}c=j-1|0;if((j|0)>1){continue}break}}Ma=f+48|0}function dya(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;g=Ma-16|0;Ma=g;h=Qa[v[256552]](76)|0;a:{if(!h){v[g>>2]=290852;nb(0,0,0,0,0,2,2,3,290852,0,0,0,340689,g);h=0;break a}f=eb(h,0,76);v[f+4>>2]=17;v[f+48>>2]=v[a+48>>2];d=v[a+8>>2];if(d){c=d;while(1){b=c;c=b+1|0;if(w[b|0]){continue}break}c=0;b=b-d|0;b:{if((b|0)<0){break b}e=Qa[v[256555]](b+1|0)|0;if(!e){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break b}c=cb(e,d,b);t[b+c|0]=0}v[f+8>>2]=c}d=v[a+52>>2];if(d){c=d;while(1){b=c;c=b+1|0;if(w[b|0]){continue}break}c=0;b=b-d|0;c:{if((b|0)<0){break c}e=Qa[v[256555]](b+1|0)|0;if(!e){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break c}c=cb(e,d,b);t[b+c|0]=0}v[f+52>>2]=c}d=v[a+56>>2];if(d){c=d;while(1){b=c;c=b+1|0;if(w[b|0]){continue}break}c=0;b=b-d|0;d:{if((b|0)<0){break d}e=Qa[v[256555]](b+1|0)|0;if(!e){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break d}c=cb(e,d,b);t[b+c|0]=0}v[f+56>>2]=c}d=v[a+40>>2];if(d){c=d;while(1){b=c;c=b+1|0;if(w[b|0]){continue}break}c=0;b=b-d|0;e:{if((b|0)<0){break e}e=Qa[v[256555]](b+1|0)|0;if(!e){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break e}c=cb(e,d,b);t[b+c|0]=0}v[f+40>>2]=c}d=v[a+36>>2];if(d){c=d;while(1){b=c;c=b+1|0;if(w[b|0]){continue}break}c=0;b=b-d|0;f:{if((b|0)<0){break f}e=Qa[v[256555]](b+1|0)|0;if(!e){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break f}c=cb(e,d,b);t[b+c|0]=0}v[f+36>>2]=c}a=v[a+64>>2];if(!a){break a}c=a;while(1){d=c;c=d+1|0;if(w[d|0]){continue}break}c=0;d=d-a|0;g:{if((d|0)<0){break g}b=Qa[v[256555]](d+1|0)|0;if(!b){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break g}c=cb(b,a,d);t[d+c|0]=0}v[f+64>>2]=c}Ma=g+16|0;return h|0}function wsa(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;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;l=Ma-16|0;Ma=l;p=v[a+164>>2];a:{if(!p){v[d>>2]=0;v[g>>2]=0;v[i>>2]=0;v[i+4>>2]=0;v[h>>2]=0;v[h+4>>2]=0;a=1;break a}m=d;n=v[p+16>>2];b:{c:{if(!n|(c|0)<1){break c}while(1){q=w[b+o|0];r=q|r<<8;o=o+1|0;s=(q<<3)+n|0;if(!v[s>>2]){v[l+12>>2]=r;v[l+8>>2]=o;b=v[((q<<3)+n|0)+4>>2];break b}n=v[s+4>>2];if(!n){break c}if((c|0)>(o|0)){continue}break}}if(!(!v[p+8>>2]|(c|0)<2)){v[l+8>>2]=2;b=w[b+1|0]|w[b|0]<<8;v[l+12>>2]=b;break b}v[l+8>>2]=1;v[l+12>>2]=w[b|0];b=0}v[m>>2]=b;c=g;m=v[a+168>>2];if(m){m=ql(m,v[a+172>>2]?v[l+12>>2]:b,e,f)}else{m=0}v[c>>2]=m;if(!(!v[v[291134]+380>>2]|((f|0)<1|m))){v[e>>2]=v[d>>2];v[g>>2]=1}d:{if(!v[v[a+164>>2]+12>>2]){e=v[a+204>>2];e:{if((e|0)>=1){c=v[a+200>>2];d=0;while(1){f=c+(d<<4)|0;g=(c+(d<<4)|0)+8|0;if(!(b>>>0>2]|b>>>0>y[f+4>>2])){break e}d=d+1|0;if((e|0)!=(d|0)){continue}break}}g=a+176|0}A[h>>3]=A[g>>3];v[k>>2]=0;v[k+4>>2]=0;v[j>>2]=0;v[j+4>>2]=0;break d}e=v[a+212>>2];f:{if((e|0)>=1){c=v[a+208>>2];d=0;while(1){f=c+(d<<5)|0;if(!(b>>>0>2]|b>>>0>y[f+4>>2])){a=c+(d<<5)|0;A[i>>3]=A[a+8>>3];A[j>>3]=A[a+16>>3];a=a+24|0;break f}d=d+1|0;if((e|0)!=(d|0)){continue}break}}A[i>>3]=A[a+184>>3];e=v[a+204>>2];g:{if((e|0)>=1){c=v[a+200>>2];d=0;while(1){f=c+(d<<4)|0;g=(c+(d<<4)|0)+8|0;if(!(b>>>0>2]|b>>>0>y[f+4>>2])){break g}d=d+1|0;if((e|0)!=(d|0)){continue}break}}g=a+176|0}A[j>>3]=A[g>>3]*.5;a=a+192|0}A[k>>3]=A[a>>3];i=h}v[i>>2]=0;v[i+4>>2]=0;a=v[l+8>>2]}Ma=l+16|0;return a|0}function NFa(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,n=0,o=0,p=0,q=0,r=0,s=0,x=0;x=Ma-208|0;Ma=x;q=v[a+332>>2];b=v[b+84>>2];a=x;while(1){i=v[b+160>>2];h=u[c+80>>1];o=v[b+32>>2];m=u[c+16>>1];r=v[b+96>>2];n=u[c+48>>1];j=B(u[c>>1],v[b>>2])<<13|1024;k=B(v[b+128>>2],u[c+64>>1]);f=B(v[b+192>>2],u[c+96>>1]);g=B(v[b+64>>2],u[c+32>>1]);p=f+g|0;v[a+84>>2]=j+B(k-p|0,11585)>>11;i=B(h,i);h=B(o,m);o=B(i+h|0,5027);p=j+B(p,10438)|0;m=B(k-f|0,7223);l=p+(m+B(f,-637)|0)|0;f=B(n,r);r=B(f+h|0,7663);h=B(h-f|0,1395);n=o+(r-h|0)|0;v[a+168>>2]=l-n>>11;v[a>>2]=n+l>>11;l=B(g,-20239);g=B(g-k|0,2578);n=p+(l+g|0)|0;f=B(f+i|0,-11295);i=f+(o+B(i,15326)|0)|0;v[a+112>>2]=n-i>>11;v[a+56>>2]=i+n>>11;k=m+(g+(j+B(k,-15083)|0)|0)|0;f=f+(h+r|0)|0;v[a+140>>2]=k-f>>11;v[a+28>>2]=f+k>>11;a=a+4|0;b=b+4|0;c=c+2|0;s=s+1|0;if((s|0)!=7){continue}break}a=q+128|0;k=0;c=x;while(1){f=v[c+16>>2];g=v[c+24>>2];j=B(f-g|0,7223);b=v[(k<<2)+d>>2]+e|0;i=v[c+12>>2];h=v[c+4>>2];q=B(i+h|0,7663);m=B(h-i|0,1395);l=h;h=v[c+20>>2];r=B(l+h|0,5027);n=(q-m|0)+r|0;s=j+B(g,-637)|0;o=(v[c>>2]<<13)+131072|0;l=g;g=v[c+8>>2];p=l+g|0;l=o+B(p,10438)|0;s=s+l|0;t[b|0]=w[a+(n+s>>>18&1023)|0];t[b+6|0]=w[a+(s-n>>>18&1023)|0];i=B(h+i|0,-11295);q=i+(m+q|0)|0;m=B(g-f|0,2578);j=j+(m+(o+B(f,-15083)|0)|0)|0;t[b+1|0]=w[a+(q+j>>>18&1023)|0];t[b+5|0]=w[a+(j-q>>>18&1023)|0];j=i+(r+B(h,15326)|0)|0;g=l+(m+B(g,-20239)|0)|0;t[b+2|0]=w[a+(j+g>>>18&1023)|0];t[b+4|0]=w[a+(g-j>>>18&1023)|0];t[b+3|0]=w[a+(o+B(f-p|0,11585)>>>18&1023)|0];c=c+28|0;k=k+1|0;if((k|0)!=7){continue}break}Ma=x+208|0}function XZ(a,b){var 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;h=Ma+-64|0;Ma=h;g=v[a>>2];a:{if((g|0)<1){break a}e=v[a+24>>2];c=B(b,204);k=v[a+16>>2];d=v[a+8>>2];l=d+B(g,40)|0;b=0;a=d;while(1){b=(v[a+16>>2]>>>4&1)+b|0;a=a+40|0;if(l>>>0>a>>>0){continue}break}if(!b){break a}m=v[(e+c|0)+200>>2];b:{if(b>>>0<=16){e=h;break b}e=yb(k,4,0,b,0,h);if(v[h>>2]){break a}}c:{if((g|0)<=0){break c}c=d;while(1){if(w[c+16|0]&16){a=(f<<2)+e|0;d:{if((f|0)<1){b=a;break d}i=v[c+28>>2];while(1){b=a-4|0;j=v[b>>2];if((i|0)>=v[j+28>>2]){b=a;break d}v[a>>2]=j;a=b;if(e>>>0>>0){continue}break}}v[b>>2]=c;f=f+1|0}c=c+40|0;if(l>>>0>c>>>0){continue}break}if((g|0)<1){break c}j=((f<<2)+e|0)-4|0;while(1){b=v[d+16>>2];e:{if(b&16){break e}a=v[d+12>>2];if(a&2){c=w[d+20|0];if(!(b&64|a&4)|((c|0)==4|(c|0)!=w[d+21|0])){break e}v[d+12>>2]=a&-3}n=d;f:{g:{if(f){b=v[d+28>>2];a=0;h:{while(1){if((b|0)>2]+28>>2]){break h}a=a+1|0;if((f|0)!=(a|0)){continue}break}a=f}if(a){break g}}a=v[e>>2];c=v[a+36>>2]+xb(v[d+28>>2]-v[a+28>>2]|0,m)|0;break f}g=v[((a<<2)+e|0)-4>>2];b=f;while(1){a=b;if(a){b=a-1|0;if(v[v[(b<<2)+e>>2]+28>>2]>=v[d+28>>2]){continue}}break}if((a|0)==(f|0)){a=v[j>>2];c=v[a+36>>2]+xb(v[d+28>>2]-v[a+28>>2]|0,m)|0;break f}b=v[d+28>>2];i=v[g+28>>2];c=v[g+36>>2];if((b|0)==(i|0)){break f}a=v[(a<<2)+e>>2];c=v[a+28>>2];if((c|0)==(b|0)){c=v[a+36>>2];break f}o=v[a+36>>2];a=v[g+36>>2];c=fc(b-i|0,o-a|0,c-i|0)+a|0}v[n+36>>2]=c;v[d+16>>2]=v[d+16>>2]|32}d=d+40|0;if(l>>>0>d>>>0){continue}break}}if((e|0)==(h|0)){break a}if(e){Qa[v[k+8>>2]](k,e)}}Ma=h- -64|0}function UY(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=Ma-16|0;Ma=h;e=v[a+8>>2];i=v[a+12>>2];a:{if(e>>>0>=i>>>0){v[b>>2]=1;c=65535;break a}j=e+1|0;v[a+8>>2]=j;f=t[e|0];d=f&255;if(d>>>0>31&(f|0)>-1){c=d;break a}b:{if(d>>>0>25){break b}c=d;if(1<>>0<=i>>>0){break c}v[b>>2]=11;v[a+8>>2]=v[a+12>>2];c=65535;break a}d=e+2|0;if(d>>>0>i>>>0){v[b>>2]=11;v[a+8>>2]=v[a+12>>2];c=65535;break a}v[a+8>>2]=d;b=t[j|0];a=b&255;c=(b|0)>-1?a-32|0:a;break a}v[a+8>>2]=e+2;c=w[e+1|0];v[a+8>>2]=d;b=w[e+2|0];a=(c|0)==246;c=((a?b:c)&255)<<8|(a?0:b)&255;break a}c=f&255;if(c>>>0<=32){d:{if(c>>>0<=19){c=v[v[a+4>>2]+8>>2];g=v[c+(d<<2)>>2];if(g){break d}}v[b>>2]=10;c=0;break a}if((f&255)>>>0>=16){if(e+3>>>0>i>>>0){v[b>>2]=11;v[a+8>>2]=v[a+12>>2];c=65535;break a}if((d|0)==t[j|0]){b=e+2|0;v[a+8>>2]=b;c=wm(g,b,1);v[a+8>>2]=v[a+8>>2]+1;break a}c=wm(g,j,2);v[a+8>>2]=v[a+8>>2]+2;break a}d=e+2|0;if(d>>>0>i>>>0){v[b>>2]=11;v[a+8>>2]=v[a+12>>2];c=65535;break a}v[a+8>>2]=d;a=w[j|0];b=a<<24>>24;if((b|0)<=-1){c=x[v[g+36>>2]+(a<<2)>>1];break a}a=v[c>>2];t[h+15|0]=b;t[h+14|0]=f;c=wm(a,h+14|0,2);break a}c=0;if((f|0)>-1){break a}c=v[v[a+4>>2]+8>>2];g=w[c+80|0];c=v[(g<<2)+c>>2];if(g>>>0>=16){d=v[a+8>>2];if(!((v[v[c+36>>2]+((f&255)<<2)>>2]^-1)>>>31|0)){if(d>>>0>y[a+12>>2]){v[b>>2]=11;v[a+8>>2]=v[a+12>>2];c=65535;break a}c=wm(c,d-1|0,1);break a}if(y[a+12>>2]>>0){v[b>>2]=11;v[a+8>>2]=v[a+12>>2];c=65535;break a}c=wm(c,d-1|0,2);v[a+8>>2]=v[a+8>>2]+1;break a}c=x[v[c+36>>2]+(d<<2)>>1]}Ma=h+16|0;return c}function JSa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=Ma-80|0;Ma=d;v[d+72>>2]=0;v[d+64>>2]=0;v[d+68>>2]=0;a:{g=ji(b,52861);b:{if(!g){a=fl(v[296206]);c=v[249419];if(!(!b|!w[b|0])){Lb(b,zb(b),1,c);Ee(58,c);Ee(32,c)}Lb(a,zb(a),1,c);Ee(10,c);break b}c:{if((Hp(g)|0)==80){e=0;if((Hp(g)|0)==53){break c}}e=1}d:{e:{while(1){h=0;while(1){if(e){break e}i=Hp(g);f:{if((i|0)!=35){c=h;if((i|0)!=-1){break f}break e}c=1}if((i|0)!=10){h=1;e=0;if(c){continue}}break}h=i-48|0;g:{if(!(f?0:h>>>0>=10)){if(h>>>0<=9){c=(d- -64|0)+(j<<2)|0;v[c>>2]=h+B(v[c>>2],10);e=0;f=1;break g}if(!((i|0)==32|i-9>>>0<5)){e=1;f=1;break g}j=j+1|0}e=0;f=0}if((j|0)<3){continue}break}if(!e){break d}}v[d>>2]=b;vb(v[249419],53516,d);Fe(g);break b}h:{e=x[a+26310>>1];f=v[d+64>>2];i:{if((e|0)!=(f|0)){break i}c=x[a+26308>>1];if((c|0)!=v[d+68>>2]){break i}if(v[d+72>>2]==65535){break h}}v[d+16>>2]=b;vb(v[249419],53925,d+16|0);Fe(g);break b}k=Yb(f,2);if(!k){break a}if(c){while(1){kg(k,2,e,g);e=0;if(x[a+26310>>1]){i=l<<1&14;j=v[a+26028>>2];h=v[a+26352>>2];b=0;while(1){c=x[a+26316>>1];f=(h+(B(x[a+26320>>1],l>>>c|0)+(b>>>c|0)<<3)|0)+((j>>>((i|b&1)<<1)&3)<<1)|0;c=x[k+(b<<1)>>1];c=x[f>>1]-((c<<8|c>>>8)&65535)|0;u[f>>1]=(c|0)>0?c:0;b=b+1|0;e=x[a+26310>>1];if(b>>>0>>0){continue}break}}l=l+1|0;if(l>>>0>1]){continue}break}}Fe(g);$a(k);v[a+26120>>2]=0}Ma=d+80|0;return}c=v[a+190640>>2];j:{if(c){b=v[a+25208>>2];v[d+52>>2]=54702;v[d+48>>2]=b;Dc(c,4338,d+48|0);break j}b=v[a+25208>>2];v[d+36>>2]=54702;v[d+32>>2]=b;vb(v[249419],4338,d+32|0)}tc(a+190484|0,1);L()}function QT(a,b){var 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;d=Ma-112|0;Ma=d;g=d- -64|0;v[g>>2]=0;v[g+4>>2]=0;t[g+8|0]=0;c=d+48|0;v[c>>2]=0;v[c+4>>2]=0;t[c+8|0]=0;n=c;l=rg(b);if(qe(b,l)){i=a+12|0;o=a+24|0;m=d+100|0;while(1){c=d+32|0;Xc(c,b);c=qd(d+88|0,c);Xe(g,c);Qb(c);if(t[d+43|0]<=-1){$a(v[d+32>>2])}a:{if(nc(g,966184)){c=d+32|0;v[c>>2]=0;v[c+4>>2]=0;t[c+8|0]=0;f=d+16|0;v[f>>2]=0;v[f+4>>2]=0;t[f+8|0]=0;v[d>>2]=0;v[d+4>>2]=0;t[d+8|0]=0;j=d;e=c;HF(b,f,d,c);if(!(!v[c+4>>2]|!v[f+4>>2])){h=d+88|0;c=hm(h,e);k=hm(m,f);PT(d+80|0,a,c,h);Qb(k);Qb(c)}Qb(j);Qb(f);Qb(e);break a}b:{c:{if(nc(g,966236)){break c}if(nc(g,966300)){break c}if(nc(g,966344)){break c}if(!nc(g,966424)){break b}}c=d+32|0;v[c>>2]=0;v[c+4>>2]=0;t[c+8|0]=0;j=c;v[d+88>>2]=0;v[d+92>>2]=1072693248;c=OT(b,d+88|0,c);if(c){h=d+88|0;k=hm(h,j);v[d+100>>2]=c;c=v[i+4>>2];d:{e:{if(c){f=i+4|0;while(1){e=c+16|0;f:{if(gm(k,e)){e=v[c>>2];if(e){break f}break e}if(!gm(e,k)){break d}f=c+4|0;e=v[c+4>>2];if(!e){break d}c=f}f=c;c=e;continue}}c=i+4|0}f=c}p=d;e=v[f>>2];if(e){c=0}else{e=ab(32);hm(e+16|0,h);h=v[h+12>>2];v[e+8>>2]=c;v[e>>2]=0;v[e+4>>2]=0;v[e+28>>2]=h;v[f>>2]=e;c=v[v[i>>2]>>2];if(c){v[i>>2]=c;c=v[f>>2]}else{c=e}Ob(v[i+4>>2],c);v[i+8>>2]=v[i+8>>2]+1;c=1}t[p+20|0]=c;v[d+16>>2]=e;Qb(k)}Qb(j);break a}if(!nc(g,966504)){break a}c=d+32|0;v[c>>2]=0;v[c+4>>2]=0;t[c+8|0]=0;f=d+16|0;v[f>>2]=0;v[f+4>>2]=0;t[f+8|0]=0;e=c;IT(b,f,c);if(!(!v[c+4>>2]|!v[f+4>>2])){j=d+88|0;c=hm(j,e);h=hm(m,f);PT(d,o,c,j);Qb(h);Qb(c)}Qb(f);Qb(e)}if(qe(b,l)){continue}break}}Qb(n);Qb(g);Ma=d+112|0}function FS(a,b,c){var d=0,e=0,f=0;d=Ma-256|0;Ma=d;f=v[a+200>>2];if(f&1){a:{if(f&4){Db(a,61296);uc(a,c);break a}if(!(!b|!(w[b+8|0]&16))){Db(a,61463);uc(a,c);break a}b:{c:{d:{switch(w[a+401|0]){case 0:if((c|0)==2){Ye(a,d,2);gc(a,d,2);u[a+394>>1]=1;c=w[d|0]|w[d+1|0]<<8;u[a+516>>1]=c<<8|c>>>8;break b}Db(a,61593);uc(a,c);break a;case 2:if((c|0)==6){Ye(a,d,6);gc(a,d,6);u[a+394>>1]=1;c=w[d|0]|w[d+1|0]<<8;u[a+510>>1]=c<<8|c>>>8;c=w[d+2|0]|w[d+3|0]<<8;u[a+512>>1]=c<<8|c>>>8;c=w[d+4|0]|w[d+5|0]<<8;u[a+514>>1]=c<<8|c>>>8;break b}Db(a,61593);uc(a,c);break a;case 3:if(!(f&2)){Db(a,61824)}if(!(c>>>0<=256&x[a+392>>1]>=c>>>0)){Db(a,61593);uc(a,c);break a}if(c){break c}Db(a,61934);uc(a,0);break a;default:break d}}Db(a,62202);uc(a,c);break a}Ye(a,d,c);gc(a,d,c);u[a+394>>1]=c}if(uc(a,0)){u[a+394>>1]=0;break a}f=x[a+394>>1];c=a+508|0;e:{if(!a|!b){break e}if(f>>>0>=257){Db(a,52739);break e}f:{g:{h:{i:{if(d){ro(a,b,8192,0);e=fg(a,256);v[b+76>>2]=e;v[a+504>>2]=e;if(f>>>0<1){break i}cb(e,d,f)}if(!c){break h}break g}if(c){break g}u[b+22>>1]=f;break e}u[b+22>>1]=f;if(!f){break e}break f}e=w[b+24|0];j:{if(e>>>0>15){break j}e=-1<>>0>1]){break k}break j;case 2:break l;default:break j}}if(e>>>0>1]|e>>>0>1]){break k}if(e>>>0>=x[c+6>>1]){break j}}Db(a,53214)}a=x[c+4>>1]|x[c+6>>1]<<16;e=x[c>>1]|x[c+2>>1]<<16;u[b+80>>1]=e;u[b+82>>1]=e>>>16;u[b+84>>1]=a;u[b+86>>1]=a>>>16;u[b+88>>1]=x[c+8>>1];u[b+22>>1]=f?f:1}v[b+8>>2]=v[b+8>>2]|16;v[b+184>>2]=v[b+184>>2]|8192}}Ma=d+256|0;return}dc(a,61174);L()}function UBa(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,n=0,o=0,p=0,q=0,r=0,s=0,y=0,z=0,A=0,C=0,D=0;C=v[a+332>>2];a=v[b+84>>2];l=Ma-128|0;b=l;m=4;while(1){a:{b:{f=x[c+32>>1];g=u[c+16>>1];if((f|g)&65535){break b}f=0;if(x[c+48>>1]|x[c+64>>1]|(x[c+80>>1]|x[c+96>>1])){break b}if(x[c+112>>1]){break b}f=B(u[c>>1],v[a>>2])<<2;v[b+96>>2]=f;v[b+80>>2]=f;v[b+64>>2]=f;v[b+48>>2]=f;v[b+32>>2]=f;v[b+16>>2]=f;v[b>>2]=f;i=28;break a}h=B(v[a+192>>2],u[c+96>>1]);j=B(v[a+64>>2],f<<16>>16);f=B(h+j|0,4433);n=B(u[c+64>>1],v[a+128>>2])<<13;o=B(u[c>>1],v[a>>2])<<13|1024;r=n+o|0;s=f+B(j,6270)|0;p=r+s|0;g=B(g,v[a+32>>2]);j=B(v[a+224>>2],u[c+112>>1]);y=B(g+j|0,-7373);D=y+B(g,12299)|0;k=B(v[a+96>>2],u[c+48>>1]);z=k+j|0;i=g;g=B(v[a+160>>2],u[c+80>>1]);q=i+g|0;A=B(z+q|0,9633);q=A+B(q,-3196)|0;i=D+q|0;v[b+112>>2]=p-i>>11;v[b>>2]=p+i>>11;n=o-n|0;f=f+B(h,-15137)|0;h=n+f|0;o=B(z,-16069)+A|0;i=B(k,25172);k=B(g+k|0,-20995);p=o+(i+k|0)|0;v[b+96>>2]=h-p>>11;v[b+16>>2]=h+p>>11;f=n-f|0;g=q+(k+B(g,16819)|0)|0;v[b+80>>2]=f-g>>11;v[b+32>>2]=f+g>>11;f=o+(B(j,2446)+y|0)|0;g=r-s|0;v[b+48>>2]=f+g>>11;f=g-f>>11;i=16}v[(i<<2)+b>>2]=f;c=c+2|0;a=a+4|0;b=b+4|0;h=m>>>0>1;m=m-1|0;if(h){continue}break}a=C+128|0;m=0;c=l;while(1){h=v[c+12>>2];f=v[c+4>>2];l=B(h+f|0,4433);b=v[(m<<2)+d>>2]+e|0;f=l+B(f,6270)|0;g=v[c>>2]+16|0;j=v[c+8>>2];k=g+j<<13;t[b|0]=w[a+(f+k>>>18&1023)|0];t[b+3|0]=w[a+(k-f>>>18&1023)|0];l=l+B(h,-15137)|0;h=g-j<<13;t[b+1|0]=w[a+(l+h>>>18&1023)|0];t[b+2|0]=w[a+(h-l>>>18&1023)|0];c=c+16|0;m=m+1|0;if((m|0)!=8){continue}break}}function GBa(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;a:{if(f>>>0>2){break a}b:{if(f){break b}c:{d:{if((e|0)<=8202){if((e|0)<=6067){if((e|0)<=4446){if((e|0)==173|(e|0)==847){break c}if((e|0)!=1564){break d}break c}if(e-4447>>>0>=2){break d}break c}if(e-6155>>>0<4){break c}if(e-6068>>>0>=2){break d}break c}e:{switch(e-8203|0){case 0:case 1:case 2:case 3:case 4:case 31:case 32:case 33:case 34:case 35:case 85:case 86:case 87:case 88:case 89:case 91:case 92:case 93:case 94:case 95:case 96:case 97:case 98:case 99:case 100:break c;case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 90:break d;default:break e}}if((e|0)==12644){break c}}if((e&-4)==113824|(e|0)==65440|((e|0)==65279|(e&-16)==65024)){break c}if((e|0)==917505|e-119155>>>0<8|((e|0)==8293|e-917536>>>0<96)){break c}if(e-917760>>>0<240|e-917506>>>0<30|((e|0)==917504|e-65520>>>0<9)){break c}if((e&-128)==917632){break c}if(e-918e3>>>0>3599){break b}}v[g>>2]=0;return}if(f|w[a|0]!=105?a:0){break a}v[g>>2]=0;mZ(b,g)}}function RS(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=Ma-272|0;Ma=g;d=v[a+200>>2];if(d&1){a:{if(d&4){Db(a,57370);uc(a,c);break a}if(d&2){Db(a,57528);d=v[a+200>>2]}if(!(!b|!(w[b+9|0]&24)?!(d&16384):0)){Db(a,57933);uc(a,c);break a}v[a+200>>2]=d|16384;Tb(a,v[a+740>>2]);d=fg(a,c+1|0);v[a+740>>2]=d;Ye(a,d,c);gc(a,d,c);e=uc(a,0);d=v[a+740>>2];if(e){Tb(a,d);v[a+740>>2]=0;break a}t[c+d|0]=0;e=v[a+740>>2];d=e;while(1){f=d;d=d+1|0;if(w[f|0]){continue}break}if(!((c+e|0)-1>>>0>d>>>0?c:0)){Tb(a,e);v[a+740>>2]=0;Db(a,58307);break a}d=a;j=f+2|0;if(w[f+1|0]){Db(a,58565);e=v[a+740>>2]}f=d;d=j-e|0;xF(f,0,c,d,g+268|0);c=v[a+740>>2];b:{e=v[g+268>>2];if(e>>>0>=d>>>0){e=e-d|0;if(e>>>0>3){break b}}Tb(a,c);v[a+740>>2]=0;Db(a,58776);break a}l=c+d|0;d=l;d=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);i=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(i>>>0>e>>>0){Tb(a,c);v[a+740>>2]=0;JU(g,1,i);JU(g,2,e);dq(a,g,59197);break a}f=Ma-80|0;Ma=f;c:{if(!a|!b|(!c|!l)){break c}j=1;d=f;h=w[c|0];d:{if(!h){e=1;break d}while(1){c=c+1|0;e=0;m=d;e:{if(!((h-33&255)>>>0<94|h>>>0>160)){e=1;if(j){break e}h=32}t[m|0]=h;k=k+1|0;d=d+1|0}h=w[c|0];if(!h){break d}j=e;if(k>>>0<79){continue}break}}c=(k|0)!=0&e;t[d-c|0]=0;c=k-c|0;if(!c){Db(a,49030);break c}c=c+1|0;d=jf(a,c);if(!d){Db(a,49388);break c}c=cb(d,f,c);d=jf(a,i);if(!d){Tb(a,c);Db(a,49767);break c}d=cb(d,l,i);ro(a,b,16,0);t[b+208|0]=0;v[b+200>>2]=d;v[b+196>>2]=c;v[b+204>>2]=i;v[b+184>>2]=v[b+184>>2]|16;v[b+8>>2]=v[b+8>>2]|4096}Ma=f+80|0;Tb(a,v[a+740>>2]);v[a+740>>2]=0}Ma=g+272|0;return}dc(a,57073);L()}function Qk(a,b,c){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,p=0,q=0,r=0,s=0,t=0;d=Ma-48|0;Ma=d;e=L2(a,b,c,d+4|0);if(e){a=0;f=d+44|0;g=d+40|0;if(b){if(f){v[f>>2]=v[b>>2]}if(g){v[g>>2]=v[b+4>>2]}}Uq(c,d+32|0,d+36|0,d+24|0,d+28|0);a:{if(!e){break a}b=e?v[e+36>>2]:0;if(v[b+8>>2]>((b?v[b+12>>2]:0)|0)?b:0){break a}fe(e,0,0,e?v[e>>2]:-1,e?v[e+4>>2]:-1,30,0,0,0)}g=v[d+32>>2];b:{if((g|0)<1){break b}f=v[d+36>>2];if((f|0)<1){break b}while(1){b=0;if((f|0)>=1){while(1){if(v[v[v[c+16>>2]+(a<<2)>>2]+(b<<2)>>2]==1){fe(e,v[d+28>>2]-b|0,v[d+24>>2]-a|0,v[d+44>>2],v[d+40>>2],16,v[d+4>>2],0,0);f=v[d+36>>2]}b=b+1|0;if((f|0)>(b|0)){continue}break}g=v[d+32>>2]}a=a+1|0;if((g|0)>(a|0)){continue}break}}c:{if(v[256545]!=1){break c}i=d+12|0;j=d+8|0;f=0;a=0;g=0;k=d+16|0;d:{if(!k|(d|0)==-20|(!i|!j)){break d}v[j>>2]=0;v[i>>2]=0;v[k>>2]=0;v[d+20>>2]=0;if(!c){break d}n=v[c>>2];e:{if((n|0)<1){break e}o=v[c+4>>2];if((o|0)<1){break e}p=v[c+12>>2];q=v[c+8>>2];s=v[c+16>>2];while(1){c=a-q|0;r=q-a|0;t=v[(a<<2)+s>>2];b=0;while(1){if(v[(b<<2)+t>>2]==1){h=b-p|0;g=(g|0)>(h|0)?g:h;h=p-b|0;l=(h|0)<(l|0)?l:h;m=(c|0)<(m|0)?m:c;f=(f|0)>(r|0)?f:r}b=b+1|0;if((o|0)!=(b|0)){continue}break}a=a+1|0;if((n|0)!=(a|0)){continue}break}}v[d+20>>2]=l;v[k>>2]=f;v[i>>2]=g;v[j>>2]=m}a=v[d+20>>2];if((a|0)>=1){fe(e,0,0,a,v[d+40>>2],0,0,0,0)}a=v[d+12>>2];if((a|0)>=1){fe(e,v[d+44>>2]-a|0,0,a,v[d+40>>2],0,0,0,0)}a=v[d+16>>2];if((a|0)>=1){fe(e,0,0,v[d+44>>2],a,0,0,0,0)}a=v[d+8>>2];if((a|0)<1){break c}fe(e,0,v[d+40>>2]-a|0,v[d+44>>2],a,0,0,0,0)}_b(d+4|0)}Ma=d+48|0;return e}function hJa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=v[a+464>>2];if(v[a+280>>2]){c=v[d+52>>2];if(!c){if(!(Qa[v[v[a+460>>2]+8>>2]](a)|0)){c=v[a>>2];v[c+20>>2]=25;Qa[v[c>>2]](a)}if(v[a+336>>2]>=1){while(1){g=e<<2;f=v[(g+a|0)+340>>2];a:{b:{if(v[a+224>>2]){if(v[a+408>>2]){break b}if(v[a+416>>2]){break a}}c=v[(d+(v[f+20>>2]<<2)|0)+56>>2];t[c|0]=0;t[c+1|0]=0;t[c+2|0]=0;t[c+3|0]=0;t[c+4|0]=0;t[c+5|0]=0;t[c+6|0]=0;t[c+7|0]=0;t[c+56|0]=0;t[c+57|0]=0;t[c+58|0]=0;t[c+59|0]=0;t[c+60|0]=0;t[c+61|0]=0;t[c+62|0]=0;t[c+63|0]=0;t[c+48|0]=0;t[c+49|0]=0;t[c+50|0]=0;t[c+51|0]=0;t[c+52|0]=0;t[c+53|0]=0;t[c+54|0]=0;t[c+55|0]=0;t[c+40|0]=0;t[c+41|0]=0;t[c+42|0]=0;t[c+43|0]=0;t[c+44|0]=0;t[c+45|0]=0;t[c+46|0]=0;t[c+47|0]=0;t[c+32|0]=0;t[c+33|0]=0;t[c+34|0]=0;t[c+35|0]=0;t[c+36|0]=0;t[c+37|0]=0;t[c+38|0]=0;t[c+39|0]=0;t[c+24|0]=0;t[c+25|0]=0;t[c+26|0]=0;t[c+27|0]=0;t[c+28|0]=0;t[c+29|0]=0;t[c+30|0]=0;t[c+31|0]=0;t[c+16|0]=0;t[c+17|0]=0;t[c+18|0]=0;t[c+19|0]=0;t[c+20|0]=0;t[c+21|0]=0;t[c+22|0]=0;t[c+23|0]=0;t[c+8|0]=0;t[c+9|0]=0;t[c+10|0]=0;t[c+11|0]=0;t[c+12|0]=0;t[c+13|0]=0;t[c+14|0]=0;t[c+15|0]=0;c=d+g|0;v[c+36>>2]=0;v[c+20>>2]=0;if(!v[a+224>>2]){if(v[a+432>>2]){break b}break a}if(!v[a+408>>2]){break a}}eb(v[(d+(v[f+24>>2]<<2)|0)+120>>2],0,256)}e=e+1|0;if((e|0)>2]){continue}break}}v[d+16>>2]=-16;v[d+8>>2]=0;v[d+12>>2]=0;c=v[a+280>>2];v[d+52>>2]=c}v[d+52>>2]=c-1}if(v[a+364>>2]>=1){d=d+184|0;e=1<>2];c=0;while(1){if(Ne(a,d)){f=v[(c<<2)+b>>2];u[f>>1]=e|x[f>>1]}c=c+1|0;if((c|0)>2]){continue}break}}return 1}function F5(a,b){var 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;f=v[b+36>>2];if(!(!f|v[a+56>>2]<1)){while(1){d=v[f+24>>2];j=0;if(v[f+20>>2]>=1){while(1){g=v[d+4>>2];a:{if(!g){break a}k=0;if(v[d>>2]>=1){while(1){h=v[g>>2];b:{if(!h){break b}l=0;if(v[d+40>>2]<1){break b}while(1){e=v[h+28>>2];c:{if(!e){break c}m=0;if(v[h+24>>2]>=1){while(1){c=v[e+4>>2];if(c){q=e+8|0;o=e+4|0;while(1){i=v[c+4>>2];n=v[c>>2];v[(i?i:o)>>2]=n;v[(n?n+4|0:q)>>2]=i;v[c>>2]=0;v[c+4>>2]=0;i=v[c+24>>2];if(i){ne(i)}$a(c);c=v[o>>2];if(c){continue}break}}ve(v[e+40>>2]);c=v[e+28>>2];if(c){Pt(c)}c=v[e+32>>2];if(c){St(c)}c=v[e+36>>2];if(c){ve(c)}e=e+44|0;m=m+1|0;if((m|0)>2]){continue}break}}c=v[h+32>>2];if(c){bi(c)}c=v[h+36>>2];if(c){bi(c)}c=v[h+28>>2];if(!c){break c}$a(c)}h=h+40|0;l=l+1|0;if((l|0)>2]){continue}break}}c=v[g+4>>2];if(c){ve(c)}c=v[g>>2];if(c){$a(c)}g=g+32|0;k=k+1|0;if((k|0)>2]){continue}break}g=v[d+4>>2];if(!g){break a}}$a(g)}d=d+60|0;j=j+1|0;if((j|0)>2]){continue}break}d=v[f+24>>2]}if(d){$a(d)}d=v[f+16>>2];if(d){ve(d)}d=v[f+28>>2];if(d){$a(d)}f=f+32|0;p=p+1|0;if((p|0)>2]){continue}break}}a=v[b+32>>2];if(a){d=v[a+24>>2];if(d){$a(d)}d=v[a+4>>2];if(d){NL(d)}$a(a);v[b+32>>2]=0}a=v[b+36>>2];if(a){$a(a);v[b+36>>2]=0}a=v[b+52>>2];if(a){rC(a);v[b+52>>2]=0}a=v[b+24>>2];if(a){ne(a);v[b+24>>2]=0}a=v[b+20>>2];if(a){if(v[a>>2]>=1){c=0;while(1){d=v[v[a+8>>2]+(c<<2)>>2];e=v[d+8>>2];if(e){$a(e)}$a(d);c=c+1|0;if((c|0)>2]){continue}break}}d=v[a+8>>2];if(d){$a(d)}$a(a);v[b+20>>2]=0}v[b>>2]=3}function k3(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=Ma-32|0;Ma=d;a:{if(!a|((a?v[a+8>>2]:-1)|0)!=4){break a}f=a?v[a+36>>2]:0;if(!(b|!f)){c=kk(a,1);break a}g=d+28|0;h=d+24|0;if(a){if(g){v[g>>2]=v[a>>2]}if(h){v[h>>2]=v[a+4>>2]}}e=Mg(v[d+28>>2],v[d+24>>2],8);if(!e){break a}if(!(!a|!e|(a|0)==(e|0))){v[e+20>>2]=v[a+20>>2];v[e+24>>2]=v[a+24>>2]}j=a?v[a+40>>2]:0;k=a?v[a+12>>2]:-1;g=e?v[e+40>>2]:0;h=e?v[e+12>>2]:-1;b:{if((b|0)!=1){a=v[d+24>>2];if((a|0)<1){break b}c=v[d+28>>2];if((c|0)<=0){break b}b=0;while(1){if((c|0)>=1){i=(B(b,h)<<2)+g|0;f=j+(B(b,k)<<2)|0;a=0;while(1){t[a+i^3]=B(v[f+(a>>>1&2147483644)>>2]>>>((a<<2^-1)&28)&15,17);a=a+1|0;c=v[d+28>>2];if((a|0)<(c|0)){continue}break}a=v[d+24>>2]}b=b+1|0;if((b|0)<(a|0)){continue}break}break b}c=Y2();c:{if(!f){Lg(c,0,0,0);Lg(c,17,17,17);Lg(c,34,34,34);Lg(c,51,51,51);Lg(c,68,68,68);Lg(c,85,85,85);Lg(c,102,102,102);Lg(c,119,119,119);Lg(c,136,136,136);Lg(c,153,153,153);Lg(c,170,170,170);Lg(c,187,187,187);Lg(c,204,204,204);Lg(c,221,221,221);Lg(c,238,238,238);Lg(c,255,255,255);break c}b=f?v[f+12>>2]:0;if((b|0)<1){break c}a=0;while(1){$o(f,a,d+20|0,d+16|0,d+12|0);Lg(c,v[d+20>>2],v[d+16>>2],v[d+12>>2]);a=a+1|0;if((b|0)!=(a|0)){continue}break}}AK(e,c);a=v[d+24>>2];if((a|0)<1){break b}c=v[d+28>>2];if((c|0)<1){break b}b=0;while(1){if((c|0)>=1){i=(B(b,h)<<2)+g|0;f=j+(B(b,k)<<2)|0;a=0;while(1){t[a+i^3]=v[f+(a>>>1&2147483644)>>2]>>>((a<<2^-1)&28)&15;a=a+1|0;c=v[d+28>>2];if((a|0)<(c|0)){continue}break}a=v[d+24>>2]}b=b+1|0;if((b|0)<(a|0)){continue}break}}c=e}Ma=d+32|0;return c}function WLa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,y=0,z=0,A=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;a:{if((d|0)>=1){o=v[a+112>>2];e=B(o,3);p=e+3|0;i=v[a+480>>2];if(!o){break a}M=o-1|0;N=e-3|0;q=v[a+332>>2];e=v[a+136>>2];O=v[e+8>>2];P=v[e+4>>2];Q=v[e>>2];r=v[i+40>>2];R=v[i+24>>2];while(1){e=s<<2;l=v[e+c>>2];g=v[b+e>>2];b:{if(v[i+36>>2]){l=l+M|0;g=g+N|0;m=-3;D=-1;f=0;e=v[i+32>>2]+(p<<1)|0;break b}m=3;f=1;D=1;e=v[i+32>>2]}v[i+36>>2]=f;S=m+2|0;T=m+1|0;n=0;j=0;k=0;E=0;F=0;G=0;y=0;z=0;A=0;C=o;while(1){h=l;H=(m<<1)+e|0;I=w[(v[((u[H>>1]+n|0)+8>>4<<2)+r>>2]+w[g|0]|0)+q|0];J=I>>>3|0;K=w[(v[((u[(T<<1)+e>>1]+j|0)+8>>4<<2)+r>>2]+w[g+1|0]|0)+q|0];L=K>>>2|0;n=w[(v[((u[(S<<1)+e>>1]+k|0)+8>>4<<2)+r>>2]+w[g+2|0]|0)+q|0];j=n>>>3|0;k=(v[(J<<2)+R>>2]+(L<<6)|0)+(j<<1)|0;f=x[k>>1];if(!f){m0(a,J,L,j);f=x[k>>1]}j=h;h=f-1|0;t[j|0]=h;k=w[h+Q|0];f=w[h+P|0];h=n-w[h+O|0]|0;u[e+4>>1]=B(h,3)+A;f=K-f|0;u[e+2>>1]=B(f,3)+z;j=e;e=I-k|0;u[j>>1]=B(e,3)+y;l=l+D|0;g=g+m|0;k=B(h,7);j=B(f,7);n=B(e,7);A=B(h,5)+G|0;z=B(f,5)+F|0;y=B(e,5)+E|0;E=e;F=f;G=h;e=H;C=C-1|0;if(C){continue}break}u[e+4>>1]=A;u[e+2>>1]=z;u[e>>1]=y;s=s+1|0;if((s|0)!=(d|0)){continue}break}}return}e=v[i+36>>2];if((d|0)!=1){g=d&-2;b=v[i+32>>2];while(1){a=b+((e?p:0)<<1)|0;u[a+4>>1]=0;u[a>>1]=0;u[a+2>>1]=0;a=b+((e?0:p)<<1)|0;u[a>>1]=0;u[a+2>>1]=0;u[a+4>>1]=0;e=(e|0)!=0;g=g-2|0;if(g){continue}break}}a=i;if(d&1){b=v[i+32>>2]+((e?p:0)<<1)|0;u[b+4>>1]=0;u[b>>1]=0;u[b+2>>1]=0;e=!e}v[a+36>>2]=e}function Fk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;if(!b){return 0}f=v[b+4>>2];if((f|0)==18){return 0}a:{b:{if(!c){break b}d=258604;c:{d:{if((c|0)!=258604){e=c;while(1){g=w[e|0];if((g|0)!=w[d|0]){break d}d=d+1|0;e=e+1|0;if(g){continue}break}}if(!a){if((f|0)==1){d=Qa[v[256552]](24)|0;if(d){break c}Io(2,2,0,285750);return 0}d=0;a=v[b+32>>2];if(!a){break a}}d=v[a+52>>2];if(d){break a}return QX(a)}if(!c){break b}a=b;while(1){d=0;e:{f:{switch(f-1|0){case 0:break f;case 4:case 5:case 16:break a;default:break e}}d=v[a+48>>2];if(d){while(1){g:{e=v[d+12>>2];if(!e|!v[d+8>>2]){break g}f=c;if((f|0)==(e|0)){break a}while(1){g=w[e|0];if((g|0)!=w[f|0]){break g}f=f+1|0;e=e+1|0;if(g){continue}break}break a}d=v[d>>2];if(d){continue}break}}if((a|0)==(b|0)){break e}d=v[a+36>>2];if(!d){break e}e=v[d+12>>2];if(!e|!v[d+8>>2]){break e}f=c;if((f|0)==(e|0)){break a}while(1){g=w[e|0];if((g|0)!=w[f|0]){break e}f=f+1|0;e=e+1|0;if(g){continue}break}break a}a=v[a+20>>2];if(a){f=v[a+4>>2];continue}else{return 0}}}v[d>>2]=0;v[d+4>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d+4>>2]=18;h=d,i=Sd(285713),v[h+8>>2]=i;h=d,i=Sd(258604),v[h+12>>2]=i;v[d>>2]=v[b+48>>2];v[b+48>>2]=d;break a}e=b;while(1){d=0;h:{i:{switch(f-1|0){case 0:break i;case 4:case 5:case 16:break a;default:break h}}d=v[e+48>>2];if(d){while(1){if(!(v[d+8>>2]?v[d+12>>2]:1)){break a}d=v[d>>2];if(d){continue}break}}if((b|0)==(e|0)){break h}d=v[e+36>>2];if(!d|v[d+12>>2]){break h}if(v[d+8>>2]){break a}}e=v[e+20>>2];if(e){f=v[e+4>>2];continue}else{return 0}}}return d}function hx(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=Ma-32|0;Ma=f;e=v[a+584>>2];v[f+28>>2]=0;a:{b:{if(v[e+488>>2]){if(!(v[e+16>>2]|!c?v[e+16>>2]?b:0:1)){break b}DM(e);v[e+488>>2]=0}d=1;c:{if(!(v[a+12>>2]>>>10&1)){break c}v[f+16>>2]=f+28;if(!Mc(a,325,f+16|0)){break c}g=v[f+28>>2];if(!g){break c}d=!v[g>>2]}d:{if(v[a+12>>2]>>>10&1){break d}v[f>>2]=f+28;if(!Mc(a,279,f)){break d}g=v[f+28>>2];if(!g){break d}d=!v[g>>2]}e:{f:{g:{if(c){break g}if(b){break f}if(!v[a+8>>2]){break g}if(d){break f}}c=gb(40);v[c>>2]=0;v[296803]=0;h=cp(e+492|0);a=v[296803];v[296803]=0;d=-1;g=4;h:{if(!a){break h}b=v[296804];if(!b){break h}d=pb(v[a>>2],c,4);if(!d){break a}Q(b|0)}a=P()|0;if((d|0)!=1){v[e+492>>2]=548;v[e>>2]=h;v[e+500>>2]=549;c=be(e+624|0,1,c,4);g=P()|0;a=0}while(1){i:{if(a){b=0;break i}v[296803]=0;X(16,e|0,80,488);a=v[296803];v[296803]=0;d=-1;j:{if(!a){break j}b=v[296804];if(!b){break j}d=pb(v[a>>2],c,g);if(!d){break a}Q(b|0)}b=1;a=P()|0;if((d|0)==1){continue}}break}$a(c);if(b){break e}break b}c=gb(40);v[c>>2]=0;v[296803]=0;h=cp(e+492|0);a=v[296803];v[296803]=0;d=-1;g=4;k:{if(!a){break k}b=v[296804];if(!b){break k}d=pb(v[a>>2],c,4);if(!d){break a}Q(b|0)}a=P()|0;if((d|0)!=1){v[e+492>>2]=548;v[e>>2]=h;v[e+500>>2]=549;c=be(e+624|0,1,c,4);g=P()|0;a=0}while(1){l:{if(a){b=0;break l}v[296803]=0;X(41,e|0,80,432);a=v[296803];v[296803]=0;d=-1;m:{if(!a){break m}b=v[296804];if(!b){break m}d=pb(v[a>>2],c,g);if(!d){break a}Q(b|0)}b=1;a=P()|0;if((d|0)==1){continue}}break}$a(c);if(!b){break b}}v[e+488>>2]=1}Ma=f+32|0;return}$a(c);tc(a,b);L()}function SB(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;g=-15;h=16777215;a:{switch(b|0){case 0:v[a>>2]=w[c+4|0]|(x[c+2>>1]<<8&65280|x[c>>1]<<16)|-16777216;return 0;case 1:h=x[c>>1];d=+x[c+4>>1]/100;i=a;b:{c:{d:{f=+x[c+2>>1]/100;if(f==0){d=d*255;if(!(D(d)<2147483648)){break d}g=~~d;b=g;a=b;break b}e=d+d;d=d<=.5?(f+1)*d:f+d-f*d;f=e-d;b=(h>>>0)%360|0;a=b>>>0>59;c=(h+120>>>0)%360|0;e:{if(c>>>0<=59){e=f+(d-f)*+(c|0)/60;break e}e=d;if(c>>>0<180){break e}e=f;if(c>>>0>239){break e}e=f+(d-f)*+(240-c|0)/60}e=e*255;f:{if(D(e)<2147483648){g=~~e;break f}g=-2147483648}c=(h-120|0)%360|0;h=(c|0)>59;e=f+(d-f)*+(b|0)/60;g:{if(!a){break g}e=d;if(b>>>0<180){break g}e=f;if(b>>>0>239){break g}e=f+(d-f)*+(240-b|0)/60}e=e*255;h:{if(D(e)<2147483648){b=~~e;break h}b=-2147483648}i:{if(!h){d=f+(d-f)*+(c|0)/60;break i}if((c|0)<180){break i}if((c|0)>239){d=f;break i}d=f+(d-f)*+(240-c|0)/60}d=d*255;if(!(D(d)<2147483648)){break c}a=~~d;break b}g=-2147483648;b=-2147483648}a=-2147483648}v[i>>2]=a|(g<<16|-16777216|b<<8);return 0;case 2:g=a;d=+x[c+6>>1]/100;f=1-d;e=1-(d+ +x[c+2>>1]/100*f);j:{if(D(e)<2147483648){a=~~e;break j}a=-2147483648}b=B(a,255);b=(b|0)>0?b:0;a=((b|0)<255?b:255)<<8;e=1-(d+ +x[c>>1]/100*f);k:{if(D(e)<2147483648){b=~~e;break k}b=-2147483648}b=B(b,255);b=(b|0)>0?b:0;b=a|((b|0)<255?b:255)<<16;d=1-(d+ +x[c+4>>1]/100*f);l:{if(D(d)<2147483648){a=~~d;break l}a=-2147483648}a=B(a,255);a=(a|0)>0?a:0;v[g>>2]=b|((a|0)<255?a:255)|-16777216;return 0;case 7:g=0;h=ep(255,x[c>>1],x[c+2>>1],x[c+4>>1]);break;default:break a}}v[a>>2]=h;return g}function FGa(a){a=a|0;var 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;j=Ma-16|0;Ma=j;e=v[a+448>>2];if(v[a+336>>2]>=1){while(1){d=c<<2;f=v[(d+a|0)+340>>2];b=v[f+12>>2];t=d+j|0,u=Qa[v[v[a+4>>2]+32>>2]](a,v[((v[f+4>>2]<<2)+e|0)+72>>2],B(b,v[a+148>>2]),b,1)|0,v[t>>2]=u;c=c+1|0;if((c|0)>2]){continue}break}}b=v[e+28>>2];h=v[e+24>>2];a:{if((b|0)>(h|0)){p=e+32|0;c=v[a+356>>2];g=v[e+20>>2];while(1){if(c>>>0>g>>>0){while(1){k=0;f=0;n=v[a+336>>2];if((n|0)>=1){while(1){b=k<<2;d=v[(b+a|0)+340>>2];o=v[d+60>>2];b:{if((o|0)<1){break b}i=v[d+56>>2];if((i|0)<1){break b}q=B(g,i);r=v[b+j>>2];l=i&7;s=i-1|0;m=0;while(1){c=v[(h+m<<2)+r>>2]+(q<<7)|0;d=f;b=l;if(b){while(1){v[((d<<2)+e|0)+32>>2]=c;d=d+1|0;c=c+128|0;b=b-1|0;if(b){continue}break}}f=f+i|0;if(s>>>0>=7){while(1){b=(d<<2)+e|0;v[b+36>>2]=c+128;v[b+32>>2]=c;v[b+40>>2]=c+256;v[b+44>>2]=c+384;v[b+48>>2]=c+512;v[b+52>>2]=c+640;v[b+56>>2]=c+768;v[b+60>>2]=c+896;c=c+1024|0;d=d+8|0;if((f|0)!=(d|0)){continue}break}}m=m+1|0;if((o|0)!=(m|0)){continue}break}}k=k+1|0;if((n|0)!=(k|0)){continue}break}}if(!(Qa[v[v[a+464>>2]+4>>2]](a,p)|0)){v[e+20>>2]=g;v[e+24>>2]=h;a=0;break a}c=v[a+356>>2];g=g+1|0;if(c>>>0>g>>>0){continue}break}b=v[e+28>>2]}g=0;v[e+20>>2]=0;h=h+1|0;if((h|0)<(b|0)){continue}break}}b=1;f=v[a+148>>2]+1|0;v[a+148>>2]=f;l=v[a+328>>2];if(l>>>0>f>>>0){d=v[a+448>>2];b=v[a+336>>2]<=1?v[v[a+340>>2]+(f>>>0>>0?12:76)>>2]:b;v[d+20>>2]=0;v[d+24>>2]=0;v[d+28>>2]=b;a=3;break a}Qa[v[v[a+456>>2]+12>>2]](a);a=4}Ma=j+16|0;return a|0}function Mr(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;h=Ma-16|0;Ma=h;v[a>>2]=0;e=ab(2860);a:{b:{c:{if(c){c=v[b>>2];if(!c){break c}v[c+4>>2]=v[c+4>>2]+1;b=v[b>>2];if(!b){break c}v[b+4>>2]=v[b+4>>2]+1;c=0;break b}d:{e:{c=v[b>>2];if(!c){break e}v[c+4>>2]=v[c+4>>2]+1;b=v[b>>2];if(!b){break e}v[b+4>>2]=v[b+4>>2]+1;c=0;break d}b=0;c=1}v[h+8>>2]=b;iQ(e,h+8|0,0);f:{if(!b){break f}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break f}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}v[e>>2]=986192;i=Ma-32|0;Ma=i;v[e+20>>2]=0;d=e;f=v[e+12>>2];g=e+17|0;g:{if(Qa[v[v[f>>2]+8>>2]](f,g,1)|0){f=w[g|0]<<8;break g}t[g|0]=255;f=65280}v[d+24>>2]=f;d=v[e+12>>2];h:{if(Qa[v[v[d>>2]+8>>2]](d,g,1)|0){d=w[g|0];break h}t[g|0]=255;d=255}u[e+18>>1]=6400;v[e+24>>2]=d|v[e+24>>2];i:{j:{while(1){d=v[e+12>>2];k:{if(Qa[v[v[d>>2]+8>>2]](d,g,1)|0){f=w[g|0];break k}f=255;t[e+17|0]=255;d=w[e+19|0]-1|0;t[e+19|0]=d;if(!(d&255)){break j}}d=w[e+18|0]+8|0;t[e+18|0]=d;v[e+36>>2]=v[e+36>>2]<<8|f;if((d&255)>>>0<25){continue}break}d=v[e+24>>2];v[e+28>>2]=d>>>0<32767?d:32767;Ma=i+32|0;break i}lb(mb(i+8|0,v[279242],242125,768,333116));L()}break a}b=0;c=1}v[h>>2]=b;iQ(e,h,1);l:{if(!b){break l}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break l}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}v[e+20>>2]=0;v[e>>2]=986176;v[e+40>>2]=0;v[e+32>>2]=0;v[e+36>>2]=16777215;t[e+19|0]=25;t[e+17|0]=0;t[e+18|0]=0}qb(a,e);m:{if(c){break m}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break m}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}}Ma=h+16|0}function Vqa(a,b){a=a|0;b=b|0;var c=0,d=0;if(a){uc(a,0);while(1){d=Iy(a);a:{b:{c=v[a+348>>2];if((c|0)!=1229278788){if((c|0)!=1229472850){break b}nT(a,b,d);break a}fT(a,d);break a}c:{if(bv(a,c)){if((c|0)==1229209940){if(!(w[a+201|0]&32?1:d)){break c}gG(a,36245);break c}Ku(a,b,d);if((c|0)!=1347179589){break a}v[a+200>>2]=v[a+200>>2]|2;break a}d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{if((c|0)<=1883455819){if((c|0)<=1732332864){if((c|0)<=1649100611){if((c|0)==1229209940){break n}if((c|0)!=1347179589){break c}jT(a,b,d);break a}if((c|0)==1649100612){break m}if((c|0)!=1665684045){break c}_S(a,b,d);break a}if((c|0)<=1766015823){if((c|0)==1732332865){break l}if((c|0)!=1749635924){break c}zS(a,b,d);break a}if((c|0)==1766015824){break g}if((c|0)==1767135348){break d}if((c|0)!=1866876531){break c}rS(a,b,d);break a}if((c|0)<=1934772033){if((c|0)<=1933723987){if((c|0)==1883455820){break k}if((c|0)!=1883789683){break c}wS(a,b,d);break a}if((c|0)==1933723988){break i}if((c|0)==1933787468){break j}if((c|0)!=1934642260){break c}KS(a,b,d);break a}if((c|0)<=1950960964){if((c|0)==1934772034){break h}if((c|0)!=1950701684){break c}dS(a,b,d);break a}if((c|0)==1950960965){break f}if((c|0)==1951551059){break e}if((c|0)!=2052348020){break c}bS(a,b,d);break a}if(w[a+201|0]&32?1:d){gG(a,36245)}uc(a,d);break a}DS(a,b,d);break a}aT(a,b,d);break a}qS(a,b,d);break a}lS(a,b,d);break a}$S(a,b,d);break a}TS(a,b,d);break a}RS(a,b,d);break a}hS(a,b,d);break a}FS(a,b,d);break a}$R(a,b,d);break a}Ku(a,b,d)}if(!(w[a+200|0]&16)){continue}break}}}function RY(a){var b=0,c=0,d=0;if((a|0)>=-64){if((a|0)<=10512){a=a+-64|0;b=(a<<16>>16)/243|0;c=b&65535;a=a-B(b,243)<<16>>16;a:{if((a|0)>=20){a=a+13|0;break a}a=t[a+855072|0]}return a|(c<<8)+53248|33554432}if((a|0)<=187659){a=a-10513|0;b=(a>>>0)/243|0;c=a-B(b,243)|0;b:{if(c>>>0>=20){c=c+13|0;break b}c=t[c+855072|0]}c=c|((a>>>0)/59049<<16)+16449536;a=((b&65535)>>>0)%243|0;c:{if(a>>>0>=20){a=a+13|0;break c}a=t[a+855072|0]}return c|a<<8|50331648}c=a-187660|0;d=(c>>>0)/243|0;b=c-B(d,243)|0;d:{if(b>>>0>=20){b=b+13|0;break d}b=t[b+855072|0]}c=(c>>>0)/59049|0;d=(d>>>0)%243|0;e:{if(d>>>0>=20){d=d+13|0;break e}d=t[d+855072|0]}return b|d<<8|((a|0)>=1368640?c+13|0:t[c+855072|0])<<16|-33554432}if((a|0)>=-10513){b=-64-a|0;a=((b&65535)>>>0)/243|0;c=a^-1;d=0-a|0;a=b-B(a,243)|0;b=a&65535;c=b?c:d;a=(b?243-a|0:0)&65535;f:{if(a>>>0>=20){a=a+13|0;break f}a=t[a+855072|0]}return a|(c<<8)+20480|33554432}if((a|0)>=-187660){b=-10513-a|0;a=(b>>>0)/243|0;b=b-B(a,243)|0;a=a+((b|0)!=0)|0;c=a;a=((a&65535)>>>0)/243|0;d=c-B(a,243)|0;c=d&65535;b=b?243-b|0:0;g:{if((b|0)>=20){b=b+13|0;break g}b=t[b+855072|0]}b=b|((c?a^-1:0-a|0)<<16)+2424832;a=(c?243-d|0:0)&65535;h:{if(a>>>0>=20){a=a+13|0;break h}a=t[a+855072|0]}return b|a<<8|50331648}b=-187660-a|0;a=(b>>>0)/243|0;b=b-B(a,243)|0;c=a+((b|0)!=0)|0;a=b?243-b|0:0;i:{if((a|0)>=20){a=a+13|0;break i}a=t[a+855072|0]}b=c;c=(c>>>0)/243|0;b=b-B(c,243)|0;c=b?c^-1:0-c|0;b=b?243-b|0:0;j:{if((b|0)>=20){b=b+13|0;break j}b=t[b+855072|0]}return a|b<<8|((c|0)>=-223?c+256|0:t[c+855315|0])<<16|553648128}function DVa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{g=B(v[b+44>>2],30)+11|0;if(g>>>0<=y[a+424>>2]){e=v[a+428>>2]+8|0;break b}e=Qa[v[a+152>>2]](g)|0;if(e){break b}d=1;ob(a,1,0,0);break a}d=x[b+32>>1];d=d<<8|d>>>8;t[e|0]=d;t[e+1|0]=d>>>8;t[e+2|0]=w[b+34|0];d=v[b+36>>2];d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);t[e+3|0]=d;t[e+4|0]=d>>>8;t[e+5|0]=d>>>16;t[e+6|0]=d>>>24;d=v[b+40>>2];d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);t[e+7|0]=d;t[e+8|0]=d>>>8;t[e+9|0]=d>>>16;t[e+10|0]=d>>>24;if(v[b+44>>2]){d=e+11|0;f=v[b+48>>2];while(1){c=x[f>>1];c=c<<8|c>>>8;t[d|0]=c;t[d+1|0]=c>>>8;t[d+2|0]=w[f+2|0];t[d+3|0]=w[f+3|0];t[d+4|0]=w[f+4|0];c=v[f+8>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+5|0]=c;t[d+6|0]=c>>>8;t[d+7|0]=c>>>16;t[d+8|0]=c>>>24;c=v[f+12>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+9|0]=c;t[d+10|0]=c>>>8;t[d+11|0]=c>>>16;t[d+12|0]=c>>>24;t[d+13|0]=w[f+16|0];c=v[f+20>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+14|0]=c;t[d+15|0]=c>>>8;t[d+16|0]=c>>>16;t[d+17|0]=c>>>24;c=v[f+24>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+18|0]=c;t[d+19|0]=c>>>8;t[d+20|0]=c>>>16;t[d+21|0]=c>>>24;c=v[f+28>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+22|0]=c;t[d+23|0]=c>>>8;t[d+24|0]=c>>>16;t[d+25|0]=c>>>24;c=v[f+32>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+26|0]=c;t[d+27|0]=c>>>8;t[d+28|0]=c>>>16;t[d+29|0]=c>>>24;d=d+30|0;f=f+36|0;h=h+1|0;if(h>>>0>2]){continue}break}}d=hd(a,v[b>>2],g,e);if(y[a+424>>2]>=g>>>0){break a}Qa[v[a+156>>2]](e,g);return d|0}return d|0}function kJ(a,b){var 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,w=0,y=0,z=0;a:{d=B(b,1348)+a|0;g=v[d+56>>2];if((g|0)<1){break a}c=v[a+24>>2];if((c|0)<1){break a}a=v[a+28>>2];m=a+B(c,40)|0;i=b?8:4;n=i|16;e=v[d- -64>>2];j=e+B(g,44)|0;h=j-44|0;d=(b|0)==1;o=d?14:12;p=d?8:4;q=(g|0)==2;r=(g|0)==3;s=(g|0)==5;t=(g|0)==6;w=(g|0)==7;y=b?20:16;while(1){if(!(x[a>>1]&n)){b=v[a+p>>2];z=a+y|0;c=u[e>>1];f=u[a+o>>1];d=(b+v[e+8>>2]|0)-v[e+4>>2]|0;b:{if((c|0)>=(f|0)){break b}d=(b+v[h+8>>2]|0)-v[h+4>>2]|0;if(u[h>>1]<=(f|0)){break b}b=0;d=g;c:{d:{e:{f:{g:{if((g|0)<=8){if((c|0)>=(f|0)){break d}if((g|0)==1){break e}b=1;c=u[e+44>>1];if((f|0)>(c|0)){break g}break d}while(1){c=b+d>>1;k=B(c,44)+e|0;l=u[k>>1];h:{if((l|0)>(f|0)){d=c;break h}if((f|0)<=(l|0)){break f}b=c+1|0}if((b|0)<(d|0)){continue}break}break c}if(q){break e}b=2;c=u[e+88>>1];if((f|0)<=(c|0)){break d}if(r){break e}b=3;c=u[e+132>>1];if((f|0)<=(c|0)){break d}if((g|0)==4){break e}b=4;c=u[e+176>>1];if((f|0)<=(c|0)){break d}if(s){break e}b=5;c=u[e+220>>1];if((f|0)<=(c|0)){break d}if(t){break e}b=6;c=u[e+264>>1];if((f|0)<=(c|0)){break d}if(w){break e}b=7;c=u[e+308>>1];if((f|0)<=(c|0)){break d}if((g|0)==8){break e}c=x[e+352>>1];b=8;break d}d=v[k+8>>2];break b}c=x[j>>1];b=g}if((c&65535)!=(f&65535)){break c}d=v[(B(b,44)+e|0)+8>>2];break b}d=B(b,44)+e|0;b=d-44|0;c=v[d-28>>2];if(!c){c=Ub(v[d+8>>2]-v[b+8>>2]|0,u[d>>1]-u[b>>1]|0);v[b+16>>2]=c}d=v[b+8>>2]+xb(f-u[b>>1]|0,c)|0}v[z>>2]=d;u[a>>1]=x[a>>1]|i}a=a+40|0;if(m>>>0>a>>>0){continue}break}}}function W6(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;a:{d=v[v[a+584>>2]+4>>2];if((d|0)>=(c|0)){break a}c=c-d|0;b:{switch(d-3|0){case 0:a=w[b+2|0];f=w[b+1|0];e=w[b|0];while(1){h=w[b+3|0];t[b+3|0]=h-e;e=w[b+4|0];t[b+4|0]=e-f;f=w[b+5|0];t[b+5|0]=f-a;b=b+3|0;d=(c|0)>3;a=f;f=e;e=h;c=c-3|0;if(d){continue}break};break a;case 1:a=w[b+3|0];f=w[b+2|0];e=w[b+1|0];h=w[b|0];while(1){d=w[b+4|0];t[b+4|0]=d-h;i=w[b+5|0];t[b+5|0]=i-e;g=w[b+6|0];t[b+6|0]=g-f;j=w[b+7|0];t[b+7|0]=j-a;b=b+4|0;k=(c|0)>4;c=c-4|0;h=d;e=i;f=g;a=j;if(k){continue}break};break a;default:break b}}b=(b+c|0)-1|0;if((d|0)<5){while(1){c:{switch(d|0){default:a=b+d|0;t[a|0]=w[a|0]-w[b|0];b=b-1|0;case 3:a=b+d|0;t[a|0]=w[a|0]-w[b|0];b=b-1|0;case 2:a=b+d|0;t[a|0]=w[a|0]-w[b|0];b=b-1|0;case 1:a=b+d|0;t[a|0]=w[a|0]-w[b|0];b=b-1|0;break;case 0:break c}}c=c-d|0;if((c|0)>0){continue}break a}}a=d-4|0;h=d&3;i=d-5>>>0>2;while(1){d:{e:{f:{g:{h:{i:{switch(d|0){case 0:break d;case 1:break e;case 2:break f;case 3:break g;case 4:break h;default:break i}}f=a;e=h;if(e){while(1){g=b+d|0;t[g|0]=w[g|0]-w[b|0];f=f-1|0;b=b-1|0;e=e-1|0;if(e){continue}break}}if(!i){break h}while(1){e=b+d|0;t[e|0]=w[e|0]-w[b|0];e=b-1|0;g=e+d|0;t[g|0]=w[g|0]-w[e|0];e=b-2|0;g=e+d|0;t[g|0]=w[g|0]-w[e|0];e=b-3|0;g=e+d|0;t[g|0]=w[g|0]-w[e|0];b=b-4|0;e=(f|0)>4;f=f-4|0;if(e){continue}break}}f=b+d|0;t[f|0]=w[f|0]-w[b|0];b=b-1|0}f=b+d|0;t[f|0]=w[f|0]-w[b|0];b=b-1|0}f=b+d|0;t[f|0]=w[f|0]-w[b|0];b=b-1|0}f=b+d|0;t[f|0]=w[f|0]-w[b|0];b=b-1|0}c=c-d|0;if((c|0)>0){continue}break}}}function lga(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;f=Ma-32|0;Ma=f;v[f+12>>2]=0;h=v[a+12>>2];g=gy(f+16|0,312822);if(h){h=b+h|0;while(1){e=h;h=e+1|0;if(w[e|0]==32){continue}break}}h=Af(e,f+12|0,d);e=v[g>>2];a:{if(!e){break a}b:{if(!v[e+8>>2]){v[g>>2]=0;break b}bm(v[g+8>>2],v[e+12>>2]);e=v[g>>2];v[g>>2]=0;if(!e){break a}}g=v[e+4>>2]-1|0;v[e+4>>2]=g;if(g){break a}g=v[e+4>>2];if(!g){v[e+4>>2]=-32767}if(!g){Qa[v[v[e>>2]+4>>2]](e)}}e=v[f+12>>2];c:{if(e){v[c>>2]=e-v[a+12>>2];break c}v[c>>2]=-1;aj(f+16|0,e,v[a+12>>2]+b|0);e=v[f+16>>2];d:{if(!e){break d}b=f+8|0;Qa[v[v[e>>2]+24>>2]](b,e,2);jb(f+16|0,b);e=v[f+8>>2];v[f+8>>2]=0;e:{if(!e){break e}b=v[e+4>>2]-1|0;v[e+4>>2]=b;if(b){break e}b=v[e+4>>2];if(!b){v[e+4>>2]=-32767}if(!b){Qa[v[v[e>>2]+4>>2]](e)}}e=v[f+16>>2];if(!e){break d}h=Qa[v[v[e>>2]+44>>2]](e,0,f+8|0,d)|0;b=v[f+8>>2];if((b|0)<=0){e=v[f+16>>2];break d}v[c>>2]=v[a+8>>2];aj(f,v[f+16>>2],b+v[a+12>>2]|0);jb(f+16|0,f);b=v[f>>2];v[f>>2]=0;f:{if(!b){break f}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break f}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}}e=v[f+16>>2];if(!e){break d}Qa[v[v[e>>2]+28>>2]](f,e,1);jb(f+16|0,f);b=v[f>>2];v[f>>2]=0;g:{if(!b){break g}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break g}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}}e=v[f+16>>2];if(!e){break d}v[c>>2]=v[c>>2]-v[e+8>>2]}v[f+16>>2]=0;if(!e){break c}a=v[e+4>>2]-1|0;v[e+4>>2]=a;if(a){break c}a=v[e+4>>2];if(!a){v[e+4>>2]=-32767}if(!a){Qa[v[v[e>>2]+4>>2]](e)}}Ma=f+32|0;return h|0}function kga(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;f=Ma-32|0;Ma=f;v[f+12>>2]=0;h=v[a+12>>2];g=gy(f+16|0,312822);if(h){h=b+h|0;while(1){e=h;h=e+1|0;if(w[e|0]==32){continue}break}}h=Hx(e,f+12|0,d);e=v[g>>2];a:{if(!e){break a}b:{if(!v[e+8>>2]){v[g>>2]=0;break b}bm(v[g+8>>2],v[e+12>>2]);e=v[g>>2];v[g>>2]=0;if(!e){break a}}g=v[e+4>>2]-1|0;v[e+4>>2]=g;if(g){break a}g=v[e+4>>2];if(!g){v[e+4>>2]=-32767}if(!g){Qa[v[v[e>>2]+4>>2]](e)}}e=v[f+12>>2];c:{if(e){v[c>>2]=e-v[a+12>>2];break c}v[c>>2]=-1;aj(f+16|0,e,v[a+12>>2]+b|0);e=v[f+16>>2];d:{if(!e){break d}b=f+8|0;Qa[v[v[e>>2]+24>>2]](b,e,2);jb(f+16|0,b);e=v[f+8>>2];v[f+8>>2]=0;e:{if(!e){break e}b=v[e+4>>2]-1|0;v[e+4>>2]=b;if(b){break e}b=v[e+4>>2];if(!b){v[e+4>>2]=-32767}if(!b){Qa[v[v[e>>2]+4>>2]](e)}}e=v[f+16>>2];if(!e){break d}h=Qa[v[v[e>>2]+48>>2]](e,0,f+8|0,d)|0;b=v[f+8>>2];if((b|0)<=0){e=v[f+16>>2];break d}v[c>>2]=v[a+8>>2];aj(f,v[f+16>>2],b+v[a+12>>2]|0);jb(f+16|0,f);b=v[f>>2];v[f>>2]=0;f:{if(!b){break f}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break f}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}}e=v[f+16>>2];if(!e){break d}Qa[v[v[e>>2]+28>>2]](f,e,1);jb(f+16|0,f);b=v[f>>2];v[f>>2]=0;g:{if(!b){break g}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break g}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}}e=v[f+16>>2];if(!e){break d}v[c>>2]=v[c>>2]-v[e+8>>2]}v[f+16>>2]=0;if(!e){break c}a=v[e+4>>2]-1|0;v[e+4>>2]=a;if(a){break c}a=v[e+4>>2];if(!a){v[e+4>>2]=-32767}if(!a){Qa[v[v[e>>2]+4>>2]](e)}}Ma=f+32|0;return h|0}function Lua(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,p=0,q=0,r=0,s=0,t=0,u=0,x=0;k=Ma-32|0;j=a;while(1){a:{d=v[(e<<2)+b>>2]+c|0;g=w[d+6|0];f=j;l=w[d+5|0];m=w[d+3|0];j=l+m|0;n=w[d+2|0];h=n+g|0;o=w[d+8|0];p=w[d|0];i=o+p|0;q=j+(h+i|0)|0;r=w[d+7|0];s=w[d+1|0];t=r+s|0;u=w[d+4|0];x=t+u|0;v[f>>2]=(q+x<<1)-2304;d=p-o|0;g=n-g|0;l=m-l|0;v[f+12>>2]=B(d-(g+l|0)|0,10033)+2048>>12;v[f+24>>2]=B(q-(x<<1)|0,5793)+2048>>12;n=B(j-i|0,2012);i=B(i-h|0,10887)+2048|0;m=B(t-(u<<1)|0,5793);v[f+16>>2]=(n+i|0)-m>>12;v[f+8>>2]=m+(i+B(h-j|0,8875)|0)>>12;i=B(g-l|0,11409);h=B(d+l|0,3962);j=B(s-r|0,10033);v[f+28>>2]=(i+(h-j|0)|0)+2048>>12;d=B(d+g|0,7447);v[f+20>>2]=(d-(j+i|0)|0)+2048>>12;v[f+4>>2]=(h+(d+j|0)|0)+2048>>12;g=e-7|0;e=e+1|0;d=7;j=k;b:{switch(g|0){case 0:continue;case 1:break a;default:break b}}j=f+32|0;continue}break}while(1){e=v[a>>2];g=v[j>>2];b=e-g|0;k=v[a+64>>2];h=v[a+192>>2];c=k-h|0;i=v[a+96>>2];l=v[a+160>>2];f=i-l|0;v[a+96>>2]=B(b-(c+f|0)|0,15855)+16384>>15;k=h+k|0;e=e+g|0;g=i+l|0;h=(k+e|0)+g|0;i=v[a+128>>2];l=v[a+224>>2];m=v[a+32>>2];n=l+m|0;o=i+n|0;v[a+192>>2]=B(h-(o<<1)|0,9154)+16384>>15;v[a>>2]=B(h+o|0,12945)+16384>>15;o=B(g-e|0,3179);e=B(e-k|0,17203)+16384|0;h=B(n-(i<<1)|0,9154);v[a+128>>2]=(o+e|0)-h>>15;v[a+64>>2]=h+(e+B(k-g|0,14024)|0)>>15;e=B(b+f|0,6262);k=B(m-l|0,15855);f=B(c-f|0,18029);v[a+224>>2]=((e-k|0)+f|0)+16384>>15;b=B(b+c|0,11768);v[a+160>>2]=(b-(f+k|0)|0)+16384>>15;v[a+32>>2]=(e+(b+k|0)|0)+16384>>15;b=d;d=d-1|0;j=j+4|0;a=a+4|0;if(b){continue}break}}function bp(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;while(1){d=f<<4;if(!(v[d+214192>>2]<=(c|0)&v[d+214196>>2]>=(c|0))){f=f+1|0;continue}break}e=f<<4;d=w[e+214201|0];h=d>>>0>1?d:1;d=c;c=c>>31;i=(d+c^c)-x[e+214202>>1]|0;l=w[e+214200|0];m=(b<<9)+a|0;c=1;while(1){g=(c+m|0)+65560|0;e=w[g|0];j=e<<2;d=x[j+1025792>>1];n=g;g=l&1;a:{b:{if((g|0)!=(e>>>0<47|0)){e=x[a+4>>1]-d|0;u[a+4>>1]=e;if(e<<16>>16>=0){if(d>>>0>(e&65535)>>>0){e=d;d=j+1025794|0;break b}v[a>>2]=d+v[a>>2];d=j+1025794|0;break b}v[a>>2]=d+v[a>>2];break a}e=x[a+4>>1]-d|0;c:{if(d>>>0<=(e&65535)>>>0){e=d;break c}v[a>>2]=d+v[a>>2]}d=j+1025795|0}t[n|0]=w[d|0];while(1){e=e<<1;u[a+4>>1]=e;v[a>>2]=v[a>>2]<<1;d=w[a+6|0]-1|0;t[a+6|0]=d;if(!(d&255)){El(a);e=x[a+4>>1]}if(e<<16>>16>-1){continue}break}}d=c<<1;c=c&256?g|d&254|256:d|g;l=(l&254)>>>1|0;k=k+1|0;if((h|0)!=(k|0)){continue}break}if((f|0)!=1){d=w[(f<<4)+214204|0];m=d>>>0>1?d:1;f=i<<32-d;k=(b<<9)+a|0;e=0;while(1){g=(c+k|0)+65560|0;b=w[g|0];h=b<<2;d=x[h+1025792>>1];i=f>>>31|0;d:{e:{if((i|0)==(b>>>0>46|0)){b=x[a+4>>1]-d|0;u[a+4>>1]=b;if(b<<16>>16>=0){if(d>>>0>(b&65535)>>>0){b=d;d=h+1025794|0;break e}v[a>>2]=d+v[a>>2];d=h+1025794|0;break e}v[a>>2]=d+v[a>>2];break d}b=x[a+4>>1]-d|0;f:{if(d>>>0<=(b&65535)>>>0){b=d;break f}v[a>>2]=d+v[a>>2]}d=h+1025795|0}t[g|0]=w[d|0];while(1){b=b<<1;u[a+4>>1]=b;v[a>>2]=v[a>>2]<<1;d=w[a+6|0]-1|0;t[a+6|0]=d;if(!(d&255)){El(a);b=x[a+4>>1]}if(b<<16>>16>-1){continue}break}}b=c<<1;c=c&256?i|b&254|256:b|i;f=f<<1;e=e+1|0;if((m|0)!=(e|0)){continue}break}}}function Qt(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;j=Ma-256|0;Ma=j;a:{b:{if(!((a|0)<1|(b|0)<=0)){g=gb(16);if(!g){break a}v[g+4>>2]=b;v[g>>2]=a;v[g+8>>2]=0;v[g+12>>2]=0;v[j+128>>2]=a;d=b;while(1){n=f;f=f+1|0;c=f<<2;k=(d+1|0)/2|0;v[c+j>>2]=k;h=c+(j+128|0)|0;c=(a+1|0)/2|0;v[h>>2]=c;h=B(a,d);e=h+e|0;d=k;a=c;if((h|0)>1){continue}break}v[g+8>>2]=e;c=gb(e<<4);v[g+12>>2]=c;if(!c){d=0;break a}if(!n){d=c;break b}d=c;f=(B(v[g+4>>2],v[g>>2])<<4)+c|0;a=f;while(1){c:{if((b|0)<1){e=f;break c}m=b-1|0;i=0;k=v[(j+128|0)+(l<<2)>>2];if((k|0)>0){e=f;while(1){f=e;e=k;while(1){d:{v[d>>2]=a;if((e|0)==1){d=d+16|0;a=a+16|0;break d}v[d+16>>2]=a;a=a+16|0;d=d+32|0;h=(e|0)>2;e=e-2|0;if(h){continue}}break}h=i&1|(i|0)==(m|0);e=h?a:f+(k<<4)|0;a=h?a:f;i=i+1|0;if((i|0)!=(b|0)){continue}break}break c}e=0;if((b|0)!=1){i=b&-2;while(1){h=(e|0)==(m|0);e=e+2|0;f=h?a:f;a=f;i=i-2|0;if(i){continue}break}}if(!(b&1)){a=f;e=a;break c}b=e&1|(e|0)==(m|0);e=b?a:(k<<4)+f|0;a=b?a:f}l=l+1|0;if((n|0)==(l|0)){break b}b=v[(l<<2)+j>>2];f=e;continue}}O(3676,7271,109,189605);L()}v[d>>2]=0;a=v[g+8>>2];if((a|0)>=1){b=a-1|0;d=a&3;if(d){while(1){v[c+12>>2]=0;v[c+4>>2]=2147483647;v[c+8>>2]=0;c=c+16|0;a=a-1|0;d=d-1|0;if(d){continue}break}}d=g;if(b>>>0<3){break a}while(1){v[c+12>>2]=0;v[c+4>>2]=2147483647;v[c+8>>2]=0;v[c+60>>2]=0;v[c+52>>2]=2147483647;v[c+56>>2]=0;v[c+44>>2]=0;v[c+36>>2]=2147483647;v[c+40>>2]=0;v[c+28>>2]=0;v[c+20>>2]=2147483647;v[c+24>>2]=0;c=c- -64|0;b=(a|0)>4;a=a-4|0;if(b){continue}break}}d=g}Ma=j+256|0;return d}function Bua(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=v[a+4>>2];Qa[v[v[b>>2]+20>>2]](b);a:{switch(v[a+40>>2]){case 0:u[a+348>>1]=0;d=a+92|0;g=v[a+56>>2];while(1){t[c+d|0]=c;b=c|1;t[b+d|0]=b;b=c|2;t[b+d|0]=b;b=c|3;t[b+d|0]=b;b=c|4;t[b+d|0]=b;b=c|5;t[b+d|0]=b;b=c|6;t[b+d|0]=b;b=c|7;t[b+d|0]=b;c=c+8|0;if((c|0)!=256){continue}break};c=0;b=0;while(1){f=d+e|0;h=w[f|0];i=c&255;b=h+(w[(i+a|0)+60|0]+(b&255)|0)|0;c=d+(b&255)|0;t[f|0]=w[c|0];t[c|0]=h;c=(i+1|0)%(g|0)|0;e=e+1|0;if((e|0)!=256){continue}break};v[a+352>>2]=-1;return;case 1:c=a+92|0;b=w[a+60|0]|w[a+61|0]<<8|(w[a+62|0]<<16|w[a+63|0]<<24);v[c>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=w[a+64|0]|w[a+65|0]<<8|(w[a+66|0]<<16|w[a+67|0]<<24);v[c+4>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=w[a+68|0]|w[a+69|0]<<8|(w[a+70|0]<<16|w[a+71|0]<<24);v[c+8>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=w[a+72|0]|w[a+73|0]<<8|(w[a+74|0]<<16|w[a+75|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);v[c+12>>2]=b;d=4;while(1){e=c+(d<<2)|0;g=e;if(!(d&3)){f=v[(d&-4)+885184>>2];b=C3a(b,8);b=f^(w[(b>>>16&255)+885264|0]<<16|w[(b>>>24|0)+885264|0]<<24|w[(b>>>8&255)+885264|0]<<8|w[(b&255)+885264|0])}b=v[e-16>>2]^b;v[g>>2]=b;d=d+1|0;if((d|0)!=44){continue}break};Dg(c+16|0);Dg(c+32|0);Dg(c+48|0);Dg(c- -64|0);Dg(c+80|0);Dg(c+96|0);Dg(c+112|0);Dg(c+128|0);Dg(c+144|0);b=v[a+4>>2];Qa[v[v[b>>2]+40>>2]](b,a+284|0,16)|0;v[a+316>>2]=16;return;case 2:TG(a+92|0,a+60|0);b=v[a+4>>2];Qa[v[v[b>>2]+40>>2]](b,a+348|0,16)|0;v[a+380>>2]=16;break;default:break a}}}function jga(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=Ma-32|0;Ma=e;v[e+12>>2]=0;f=v[a+12>>2];g=gy(e+16|0,312822);if(f){f=b+f|0;while(1){d=f;f=d+1|0;if(w[d|0]==32){continue}break}}h=Jx(d,e+12|0);d=v[g>>2];a:{if(!d){break a}b:{if(!v[d+8>>2]){v[g>>2]=0;break b}bm(v[g+8>>2],v[d+12>>2]);d=v[g>>2];v[g>>2]=0;if(!d){break a}}f=v[d+4>>2]-1|0;v[d+4>>2]=f;if(f){break a}f=v[d+4>>2];if(!f){v[d+4>>2]=-32767}if(!f){Qa[v[v[d>>2]+4>>2]](d)}}f=v[e+12>>2];c:{if(f){v[c>>2]=f-v[a+12>>2];break c}v[c>>2]=-1;aj(e+16|0,f,v[a+12>>2]+b|0);d=v[e+16>>2];d:{if(!d){break d}b=e+8|0;Qa[v[v[d>>2]+24>>2]](b,d,2);jb(e+16|0,b);f=v[e+8>>2];v[e+8>>2]=0;e:{if(!f){break e}b=v[f+4>>2]-1|0;v[f+4>>2]=b;if(b){break e}b=v[f+4>>2];if(!b){v[f+4>>2]=-32767}if(!b){Qa[v[v[f>>2]+4>>2]](f)}}d=v[e+16>>2];if(!d){break d}h=+Qa[v[v[d>>2]+52>>2]](d,0,e+8|0);b=v[e+8>>2];if((b|0)<=-1){d=v[e+16>>2];break d}v[c>>2]=v[a+8>>2];aj(e,v[e+16>>2],b+v[a+12>>2]|0);jb(e+16|0,e);b=v[e>>2];v[e>>2]=0;f:{if(!b){break f}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break f}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}}d=v[e+16>>2];if(!d){break d}Qa[v[v[d>>2]+28>>2]](e,d,1);jb(e+16|0,e);b=v[e>>2];v[e>>2]=0;g:{if(!b){break g}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break g}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}}d=v[e+16>>2];if(!d){break d}v[c>>2]=v[c>>2]-v[d+8>>2]}v[e+16>>2]=0;if(!d){break c}a=v[d+4>>2]-1|0;v[d+4>>2]=a;if(a){break c}a=v[d+4>>2];if(!a){v[d+4>>2]=-32767}if(!a){Qa[v[v[d>>2]+4>>2]](d)}}Ma=e+32|0;return+h}function Q5(a,b,c){var d=0,e=0,f=0;e=-1;a:{d=v[a+8>>2];b:{if(d&7){break b}e=v[a+64>>2];if(!((e|0)<0|(e|0)>v[a+60>>2])){break a}e=-1;d=v[a+28>>2];v[a+28>>2]=d-1;c:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;d=v[a+24>>2];v[a+24>>2]=d+1;d=w[d|0];break c}d=Eb(a,1);if((d|0)==-1){break b}}t[c+1|0]=d;d=v[a+8>>2];if(d&7){break b}e=v[a+64>>2];if(!((e|0)<0|(e|0)>v[a+60>>2])){break a}e=-1;d=v[a+28>>2];v[a+28>>2]=d-1;d:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;d=v[a+24>>2];v[a+24>>2]=d+1;d=w[d|0];break d}d=Eb(a,1);if((d|0)==-1){break b}}t[c+2|0]=d;d=v[a+8>>2];if(d&7){break b}e=v[a+64>>2];if(!((e|0)<0|(e|0)>v[a+60>>2])){break a}e=-1;d=v[a+28>>2];v[a+28>>2]=d-1;e:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;d=v[a+24>>2];v[a+24>>2]=d+1;d=w[d|0];break e}d=Eb(a,1);if((d|0)==-1){break b}}t[c+3|0]=d;d=v[a+8>>2];if(d&7){break b}e=v[a+64>>2];if(!((e|0)<0|(e|0)>v[a+60>>2])){break a}e=-1;d=v[a+28>>2];v[a+28>>2]=d-1;f:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;d=v[a+24>>2];v[a+24>>2]=d+1;d=w[d|0];break f}d=Eb(a,1);if((d|0)==-1){break b}}t[c+4|0]=d;if(er(a,c+5|0)){break b}e=w[c+1|0]+1|0;v[c+8>>2]=e;if(b){d=0;while(1){b=v[a+8>>2];if(b&7){return-1}f=v[a+64>>2];if(!((f|0)<0|(f|0)>v[a+60>>2])){v[a+8>>2]=b|4;return-1}b=v[a+28>>2];v[a+28>>2]=b-1;g:{if((b|0)>=1){v[a+60>>2]=v[a+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;b=w[b|0];break g}e=-1;b=Eb(a,1);if((b|0)==-1){break b}e=v[c+8>>2]}f=(d<<1)+c|0;t[f+13|0]=(b&240)>>>4;t[f+12|0]=b&15;d=d+1|0;if((e|0)>(d|0)){continue}break}t[c|0]=w[c|0]|1}e=0-(v[a+8>>2]&1)|0}return e}v[a+8>>2]=d|4;return-1}function sXa(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0;if(e){n=e-1|0;o=e-2|0;l=(e|0)==1;while(1){a=f;u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];u[g+6>>1]=x[a+6>>1];f=a+8|0;g=g+8|0;a:{if(!l&k>>>0>=n>>>0){break a}i=k?(k|0)==(o|0)?d:b:c;m=!k&l;if(m){if(i>>>0<2){break a}h=i-1|0;j=h&1;if((i|0)!=2){h=h&-2;while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];u[g+6>>1]=x[a+6>>1];u[g+8>>1]=x[a>>1];u[g+10>>1]=x[a+2>>1];u[g+12>>1]=x[a+4>>1];u[g+14>>1]=x[a+6>>1];g=g+16|0;h=h-2|0;if(h){continue}break}}if(!j){break a}u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];u[g+6>>1]=x[a+6>>1];g=g+8|0;break a}h=i+1>>>1|0;b:{if(i>>>0<3){break b}j=(h>>>0>2?h:2)-1|0;p=j&1;if(i>>>0>=5){j=j&-2;while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];u[g+6>>1]=x[a+6>>1];u[g+8>>1]=x[a>>1];u[g+10>>1]=x[a+2>>1];u[g+12>>1]=x[a+4>>1];u[g+14>>1]=x[a+6>>1];g=g+16|0;j=j-2|0;if(j){continue}break}}if(!p){break b}u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];u[g+6>>1]=x[a+6>>1];g=g+8|0}if(h>>>0>=i>>>0){break a}a=m?0:f;j=h^-1;if(i-h&1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];u[g+6>>1]=x[a+6>>1];h=h+1|0;g=g+8|0}if((j|0)==(0-i|0)){break a}while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];u[g+6>>1]=x[a+6>>1];u[g+8>>1]=x[a>>1];u[g+10>>1]=x[a+2>>1];u[g+12>>1]=x[a+4>>1];u[g+14>>1]=x[a+6>>1];g=g+16|0;h=h+2|0;if((i|0)!=(h|0)){continue}break}}k=k+1|0;if((k|0)!=(e|0)){continue}break}}return 0} -function uGa(a,b){a=a|0;b=b|0;var 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;e=v[a+328>>2];f=v[a+448>>2];j=v[f+24>>2];a:{c=v[f+28>>2];if((j|0)<(c|0)){l=f+32|0;r=e-1|0;p=v[a+356>>2]-1|0;i=v[f+20>>2];while(1){if(i>>>0<=p>>>0){while(1){Jd(v[l>>2],v[a+364>>2]<<7);if(!(Qa[v[v[a+464>>2]+4>>2]](a,l)|0)){break a}g=0;m=0;c=v[a+336>>2];if((c|0)>0){while(1){d=v[((m<<2)+a|0)+340>>2];b:{if(!v[d+52>>2]){g=v[d+64>>2]+g|0;break b}e=v[d+60>>2];if((e|0)<1){break b}n=v[(i>>>0

>>0?56:72)+d>>2];if((n|0)>=1){s=B(v[d+68>>2],i);c=v[d+4>>2]<<2;q=v[(c+v[a+468>>2]|0)+4>>2];h=v[b+c>>2];c=v[d+40>>2];k=h+(B(j,c)<<2)|0;t=n&-2;u=n&1;o=0;while(1){if(!(v[d+76>>2]<=(j+o|0)&y[a+148>>2]>=r>>>0)){e=0;c=s;h=t;if((n|0)!=1){while(1){Qa[q|0](a,d,v[(e+g<<2)+l>>2],k,c);c=v[d+36>>2]+c|0;Qa[q|0](a,d,v[((e|1)+g<<2)+l>>2],k,c);e=e+2|0;c=c+v[d+36>>2]|0;h=h-2|0;if(h){continue}break}}if(u){Qa[q|0](a,d,v[((e+g<<2)+f|0)+32>>2],k,c)}e=v[d+60>>2];c=v[d+40>>2]}k=(c<<2)+k|0;g=v[d+56>>2]+g|0;o=o+1|0;if((o|0)<(e|0)){continue}break}c=v[a+336>>2];break b}g=B(v[d+56>>2],e)+g|0}m=m+1|0;if((m|0)<(c|0)){continue}break}}i=i+1|0;if(p>>>0>=i>>>0){continue}break}c=v[f+28>>2]}i=0;v[f+20>>2]=0;j=j+1|0;if((j|0)<(c|0)){continue}break}e=v[a+328>>2]}c=1;v[a+156>>2]=v[a+156>>2]+1;h=v[a+148>>2]+1|0;v[a+148>>2]=h;if(e>>>0>h>>>0){b=v[a+448>>2];c=v[a+336>>2]<=1?v[v[a+340>>2]+(h>>>0>>0?12:76)>>2]:c;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=c;return 3}Qa[v[v[a+456>>2]+12>>2]](a);return 4}v[f+20>>2]=i;v[f+24>>2]=j;return 0}function o9(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;if((c|0)>=1){i=v[a+12>>2];while(1){g=v[a+4>>2];e=+z[b+4>>2];d=32767;a:{if(e>=18371976e12){break a}d=65535;if(e<=-18371976e12){break a}if(e>5.4136769e-20){e=(Kr(e)*1.4426950408889634+64)*256;if(g){d=x3a(v[296254],v[296255],1284865837,1481765933)+1|0;f=Pa;f=d>>>0<1?f+1|0:f;v[296254]=d;v[296255]=f;e=e+ +(f>>>1|0)*4.656612875245797e-10+-.5}if(D(e)<2147483648){d=~~e;break a}d=-2147483648;break a}d=0;if(!(e<-5.4136769e-20)){break a}e=(Kr(-e)*1.4426950408889634+64)*256;if(g){d=x3a(v[296254],v[296255],1284865837,1481765933)+1|0;f=Pa;f=d>>>0<1?f+1|0:f;v[296254]=d;v[296255]=f;e=e+ +(f>>>1|0)*4.656612875245797e-10+-.5}b:{if(D(e)<2147483648){d=~~e;break b}d=-2147483648}d=d|-32768}n=d;h=.210526316;e=.473684211;c:{d:{if(!d){break d}k=+z[b+4>>2];l=+z[b>>2];j=k*15+l+ +z[b+8>>2]*3;if(j<=0){break d}e=k*9/j;h=l*4/j;d=0;if(h<=0){break c}}h=h*410;if(g){d=x3a(v[296254],v[296255],1284865837,1481765933)+1|0;f=Pa;f=d>>>0<1?f+1|0:f;v[296254]=d;v[296255]=f;h=h+ +(f>>>1|0)*4.656612875245797e-10+-.5}if(D(h)<2147483648){d=~~h;break c}d=-2147483648}e:{f:{if(e<=0){m=d>>>0<255?d:255;d=0;break f}e=e*410;f=255;m=d>>>0<255?d:255;if(g){d=x3a(v[296254],v[296255],1284865837,1481765933)+1|0;g=Pa;g=d>>>0<1?g+1|0:g;v[296254]=d;v[296255]=g;e=e+ +(g>>>1|0)*4.656612875245797e-10+-.5}g:{if(D(e)<2147483648){d=~~e;break g}d=-2147483648}if(d>>>0>254){break e}}f=d}v[i>>2]=m<<8|n<<16|f;b=b+12|0;i=i+4|0;d=(c|0)>1;c=c-1|0;if(d){continue}break}}}function Txa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;k=B(v[b+36>>2],v[b+28>>2]);l=v[a+28>>2];g=(k<<1)-l|0;f=v[a+272>>2];if(!((g|0)<1|(f|0)<-1)){h=c-4|0;e=f+2|0;i=e&3;b=0;if(f+1>>>0>=3){e=e&-4;while(1){f=b<<2;j=l+v[f+h>>2]|0;eb(j,w[j-1|0],g);j=l+v[c+f>>2]|0;eb(j,w[j-1|0],g);j=l+v[h+(f|8)>>2]|0;eb(j,w[j-1|0],g);f=l+v[h+(f|12)>>2]|0;eb(f,w[f-1|0],g);b=b+4|0;e=e-4|0;if(e){continue}break}}if(i){while(1){e=l+v[h+(b<<2)>>2]|0;eb(e,w[e-1|0],g);b=b+1|0;i=i-1|0;if(i){continue}break}}f=v[a+272>>2]}if((f|0)>=1){l=k-2|0;b=v[a+228>>2];j=b<<4;o=B(b,-80)+16384|0;k=0;while(1){b=k<<2;i=v[(b|4)+c>>2];e=b+c|0;b=v[e>>2];f=w[i|0]+w[b|0]|0;h=v[(p<<2)+d>>2];e=v[e-4>>2];m=w[e|0];k=k+2|0;g=v[(k<<2)+c>>2];n=w[g|0];t[h|0]=(B(w[i+1|0]+(f+w[b+1|0]|0)|0,o)+B(j,(((m+n|0)+w[e+2|0]|0)+w[g+2|0]|0)+(w[i+2|0]+(w[b+2|0]+(w[g+1|0]+(n+(w[e+1|0]+(f+m|0)|0)|0)|0)|0)<<1)|0)|0)+32768>>>16;f=h+1|0;b=b+2|0;g=g+2|0;h=e+2|0;e=i+2|0;i=l;if(i){while(1){t[f|0]=(B(w[e+1|0]+(w[e|0]+(w[b+1|0]+w[b|0]|0)|0)|0,o)+B(j,w[g+2|0]+(w[g-1|0]+((w[h+2|0]+w[h-1|0]|0)+(w[e+2|0]+(w[e-1|0]+(w[b+2|0]+(w[b-1|0]+(w[g+1|0]+(w[g|0]+(w[h+1|0]+w[h|0]|0)|0)|0)|0)|0)|0)<<1)|0)|0)|0)|0)+32768>>>16;f=f+1|0;g=g+2|0;h=h+2|0;e=e+2|0;b=b+2|0;i=i-1|0;if(i){continue}break}}n=f;i=w[e+1|0]+w[b+1|0]|0;f=w[g+1|0];m=w[h+1|0];t[n|0]=(B(w[e|0]+(i+w[b|0]|0)|0,o)+B(j,(w[g-1|0]+(w[h-1|0]+(f+m|0)|0)|0)+(w[e-1|0]+(w[b-1|0]+(f+(w[g|0]+(m+(i+w[h|0]|0)|0)|0)|0)|0)<<1)|0)|0)+32768>>>16;p=p+1|0;if(v[a+272>>2]>(k|0)){continue}break}}}function hd(a,b,c,d){var e=0,f=0,g=0;f=Ma-16|0;Ma=f;e=v[a+428>>2];a:{b:{if(!(!d|(e+8|0)==(d|0))){g=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);t[e|0]=g;t[e+1|0]=g>>>8;t[e+2|0]=g>>>16;t[e+3|0]=g>>>24;e=v[a+428>>2];b=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);t[e+4|0]=b;t[e+5|0]=b>>>8;t[e+6|0]=b>>>16;t[e+7|0]=b>>>24;e=v[a+116>>2]&240;if(e){b=0;if((e|0)==32){b=YB(a,YB(a,-1,v[a+428>>2]+4|0,4),d,c)^-1}e=v[a+428>>2];b=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);t[e+8|0]=b;t[e+9|0]=b>>>8;t[e+10|0]=b>>>16;t[e+11|0]=b>>>24}b=901;if(!(Qa[v[a+176>>2]](a,v[a+428>>2],8,f+12|0)|0)){break b}if(v[f+12>>2]!=8){b=12;break b}if(!(Qa[v[a+176>>2]](a,d,c,f+12|0)|0)){break b}if(v[f+12>>2]!=(c|0)){b=12;break b}c=0;if(!(w[a+116|0]&240)){break a}if(!(Qa[v[a+176>>2]](a,v[a+428>>2]+8|0,4,f+12|0)|0)){break b}b=12;if(v[f+12>>2]!=4){break b}break a}d=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);t[e|0]=d;t[e+1|0]=d>>>8;t[e+2|0]=d>>>16;t[e+3|0]=d>>>24;d=v[a+428>>2];b=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);t[d+4|0]=b;t[d+5|0]=b>>>8;t[d+6|0]=b>>>16;t[d+7|0]=b>>>24;d=v[a+116>>2]&240;if(d){b=0;if((d|0)==32){b=YB(a,-1,v[a+428>>2]+4|0,c+4|0)^-1}d=v[a+428>>2]+c|0;b=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);t[d+8|0]=b;t[d+9|0]=b>>>8;t[d+10|0]=b>>>16;t[d+11|0]=b>>>24;b=12;d=c+12|0;if(!(Qa[v[a+176>>2]](a,v[a+428>>2],d,f+12|0)|0)){b=901;break b}c=0;if((d|0)!=v[f+12>>2]){break b}break a}d=c+8|0;if(!(Qa[v[a+176>>2]](a,v[a+428>>2],d,f+12|0)|0)){b=901;break b}b=12;c=0;if((d|0)==v[f+12>>2]){break a}}ob(a,b,0,0);c=b}Ma=f+16|0;return c}function d7(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;a:{d=v[v[a+584>>2]+4>>2];if((d|0)>=(c|0)){break a}c=c-d|0;b:{c:{switch(d-3|0){default:if((d|0)>=5){break b}while(1){d:{switch(d|0){default:a=b+d|0;t[a|0]=w[b|0]+w[a|0];b=b+1|0;case 3:a=b+d|0;t[a|0]=w[b|0]+w[a|0];b=b+1|0;case 2:a=b+d|0;t[a|0]=w[b|0]+w[a|0];b=b+1|0;case 1:a=b+d|0;t[a|0]=w[b|0]+w[a|0];b=b+1|0;break;case 0:break d}}c=c-d|0;if((c|0)>0){continue}break};break a;case 1:a=w[b+3|0];f=w[b+2|0];e=w[b+1|0];g=w[b|0];while(1){g=w[b+4|0]+g|0;t[b+4|0]=g;e=w[b+5|0]+e|0;t[b+5|0]=e;f=w[b+6|0]+f|0;t[b+6|0]=f;a=w[b+7|0]+a|0;t[b+7|0]=a;b=b+4|0;d=(c|0)>4;c=c-4|0;if(d){continue}break};break a;case 0:break c}}a=w[b+2|0];f=w[b+1|0];e=w[b|0];while(1){e=w[b+3|0]+e|0;t[b+3|0]=e;f=w[b+4|0]+f|0;t[b+4|0]=f;a=w[b+5|0]+a|0;t[b+5|0]=a;b=b+3|0;g=(c|0)>3;c=c-3|0;if(g){continue}break}break a}a=d-4|0;g=d&3;i=d-5>>>0>2;while(1){e:{f:{g:{h:{i:{j:{switch(d|0){case 0:break e;case 1:break f;case 2:break g;case 3:break h;case 4:break i;default:break j}}f=a;e=g;if(e){while(1){h=b+d|0;t[h|0]=w[b|0]+w[h|0];f=f-1|0;b=b+1|0;e=e-1|0;if(e){continue}break}}if(!i){break i}while(1){e=b+d|0;t[e|0]=w[b|0]+w[e|0];e=d+(b+1|0)|0;t[e|0]=w[b+1|0]+w[e|0];e=d+(b+2|0)|0;t[e|0]=w[b+2|0]+w[e|0];e=d+(b+3|0)|0;t[e|0]=w[b+3|0]+w[e|0];b=b+4|0;e=(f|0)>4;f=f-4|0;if(e){continue}break}}f=b+d|0;t[f|0]=w[b|0]+w[f|0];b=b+1|0}f=b+d|0;t[f|0]=w[b|0]+w[f|0];b=b+1|0}f=b+d|0;t[f|0]=w[b|0]+w[f|0];b=b+1|0}f=b+d|0;t[f|0]=w[b|0]+w[f|0];b=b+1|0}c=c-d|0;if((c|0)>0){continue}break}}}function Fda(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;var j=0,k=0,l=0,m=0,n=0,o=0;d=Ma-16|0;Ma=d;c=(g|0)/2|0;if(f>>>0>=2){o=B(c,6);g=((e<<2)+b|0)+(h<<2)|0;n=(h<<1)+e<<2;while(1){c=e;if(c>>>0>=2){while(1){h=w[i+4|0];j=w[i+5|0];k=d+12|0;l=d+8|0;m=d+4|0;Ic(v[a+68>>2],w[i|0],h,j,k,l,m);v[b>>2]=v[d+12>>2]|v[d+8>>2]<<8|v[d+4>>2]<<16|-16777216;Ic(v[a+68>>2],w[i+1|0],h,j,k,l,m);v[b+4>>2]=v[d+12>>2]|v[d+8>>2]<<8|v[d+4>>2]<<16|-16777216;Ic(v[a+68>>2],w[i+2|0],h,j,k,l,m);v[g>>2]=v[d+12>>2]|v[d+8>>2]<<8|v[d+4>>2]<<16|-16777216;Ic(v[a+68>>2],w[i+3|0],h,j,k,l,m);v[g+4>>2]=v[d+12>>2]|v[d+8>>2]<<8|v[d+4>>2]<<16|-16777216;i=i+6|0;g=g+8|0;b=b+8|0;c=c-2|0;if(c>>>0>1){continue}break}}if((c|0)==1){c=w[i+4|0];h=w[i+5|0];j=d+12|0;k=d+8|0;l=d+4|0;Ic(v[a+68>>2],w[i|0],c,h,j,k,l);v[b>>2]=v[d+12>>2]|v[d+8>>2]<<8|v[d+4>>2]<<16|-16777216;Ic(v[a+68>>2],w[i+2|0],c,h,j,k,l);v[g>>2]=v[d+12>>2]|v[d+8>>2]<<8|v[d+4>>2]<<16|-16777216;i=i+6|0;g=g+4|0;b=b+4|0}i=i+o|0;g=g+n|0;b=b+n|0;f=f-2|0;if(f>>>0>1){continue}break}}a:{if((f|0)!=1){break a}if(e>>>0>=2){while(1){c=w[i+4|0];f=w[i+5|0];g=d+12|0;h=d+8|0;j=d+4|0;Ic(v[a+68>>2],w[i|0],c,f,g,h,j);v[b>>2]=v[d+12>>2]|v[d+8>>2]<<8|v[d+4>>2]<<16|-16777216;Ic(v[a+68>>2],w[i+1|0],c,f,g,h,j);v[b+4>>2]=v[d+12>>2]|v[d+8>>2]<<8|v[d+4>>2]<<16|-16777216;i=i+6|0;b=b+8|0;e=e-2|0;if(e>>>0>1){continue}break}}if((e|0)!=1){break a}Ic(v[a+68>>2],w[i|0],w[i+4|0],w[i+5|0],d+12|0,d+8|0,d+4|0);v[b>>2]=v[d+12>>2]|v[d+8>>2]<<8|v[d+4>>2]<<16|-16777216}Ma=d+16|0}function X6(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;k=x[a+84>>1];g=k>>>3|0;j=(c>>>0)/(g>>>0)|0;f=v[v[a+584>>2]+4>>2];i=gb(c);if(i){a:{if((c|0)<=(f|0)){break a}if((f|0)<5){e=c;a=b;while(1){b:{switch(f|0){default:d=a+f|0;t[d|0]=w[d|0]+w[a|0];a=a+1|0;case 3:d=a+f|0;t[d|0]=w[d|0]+w[a|0];a=a+1|0;case 2:d=a+f|0;t[d|0]=w[d|0]+w[a|0];a=a+1|0;case 1:d=a+f|0;t[d|0]=w[d|0]+w[a|0];a=a+1|0;break;case 0:break b}}e=e-f|0;if((e|0)>(f|0)){continue}break}break a}l=f-4|0;m=f&3;o=f-5>>>0>2;h=c;a=b;while(1){c:{d:{e:{f:{g:{h:{switch(f|0){case 0:break c;case 1:break d;case 2:break e;case 3:break f;case 4:break g;default:break h}}e=l;d=m;if(d){while(1){n=a+f|0;t[n|0]=w[n|0]+w[a|0];e=e-1|0;a=a+1|0;d=d-1|0;if(d){continue}break}}if(!o){break g}while(1){d=a+f|0;t[d|0]=w[d|0]+w[a|0];d=(a+1|0)+f|0;t[d|0]=w[d|0]+w[a+1|0];d=(a+2|0)+f|0;t[d|0]=w[d|0]+w[a+2|0];d=(a+3|0)+f|0;t[d|0]=w[d|0]+w[a+3|0];a=a+4|0;d=(e|0)>4;e=e-4|0;if(d){continue}break}}e=a+f|0;t[e|0]=w[e|0]+w[a|0];a=a+1|0}e=a+f|0;t[e|0]=w[e|0]+w[a|0];a=a+1|0}e=a+f|0;t[e|0]=w[e|0]+w[a|0];a=a+1|0}e=a+f|0;t[e|0]=w[e|0]+w[a|0];a=a+1|0}h=h-f|0;if((h|0)>(f|0)){continue}break}}Fd(i,b,c);if(!((j|0)<1|k>>>0<8)){a=g>>>0>1?g:1;c=a&8190;l=a&1;e=0;m=k>>>0<16;while(1){h=B(e,g);a=0;d=c;if(!m){while(1){t[(a+h|0)+b|0]=w[(B((a^-1)+g|0,j)+e|0)+i|0];t[(h+(a|1)|0)+b|0]=w[(B((g-a|0)-2|0,j)+e|0)+i|0];a=a+2|0;d=d-2|0;if(d){continue}break}}if(l){t[(a+h|0)+b|0]=w[(B((a^-1)+g|0,j)+e|0)+i|0]}e=e+1|0;if((j|0)!=(e|0)){continue}break}}$a(i)}}function o$(a,b){var 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;f=Ma-16|0;Ma=f;d=v[a+104>>2];e=v[d+28>>2];k=v[a+736>>2];t[k+(b?44:32)|0]=1;c=Qa[v[a+516>>2]](a,b?1448493394:1213612370,d,f+8|0)|0;v[f+12>>2]=c;a:{if(c){break a}g=v[d+8>>2];j=Ac(d,f+12|0);c=v[f+12>>2];if(c){break a}c=re(d,2);v[f+12>>2]=c;if(c){break a}if((j|0)!=1){c=8;v[f+12>>2]=8;break a}j=Id(d,f+12|0);c=v[f+12>>2];if(c){break a}h=Id(d,f+12|0);c=v[f+12>>2];if(c){break a}d=cc(e,32,f+12|0);b:{if(b){v[k+52>>2]=d;break b}v[k+40>>2]=d}c=v[f+12>>2];if(c){break a}c=j$(v[a+104>>2],v[a+736>>2],g+j|0,d);v[f+12>>2]=c;if(c){break a}if(h){e=Ma-16|0;Ma=e;j=v[a+104>>2];i=v[j+28>>2];c=Mb(j,g+h|0);v[e+12>>2]=c;c:{if(c){break c}g=Ac(j,e+12|0);c=v[e+12>>2];if(c){break c}h=Ac(j,e+12|0);v[d+20>>2]=h;c=v[e+12>>2];if(c){break c}c=8;if(g&65472){break c}p=d,q=yb(i,4,0,h,0,e+12|0),v[p+28>>2]=q;c=v[e+12>>2];if(c){break c}p=d,q=yb(i,4,0,v[d+20>>2],0,e+12|0),v[p+24>>2]=q;c=v[e+12>>2];if(c){break c}h=0;if(!v[d+20>>2]){c=0;break c}c=g&15;m=c+1|0;n=g>>>4&3;o=(2<>2];if(c){break c}g=l&255|g<<8;c=(i|0)!=(n|0);i=i+1|0;if(c){continue}break}c=8;i=g>>>m|0;if(i>>>0>=y[d>>2]){break c}l=h<<2;v[l+v[d+24>>2]>>2]=i;g=g&o;if(g>>>0>=y[v[d+4>>2]+(i<<4)>>2]){break c}v[l+v[d+28>>2]>>2]=g;h=h+1|0;if(h>>>0>2]){continue}break}c=v[e+12>>2]}Ma=e+16|0;if(c){break a}}d:{if(b){t[k+45|0]=1;v[a+740>>2]=v[a+740>>2]|16;break d}t[k+33|0]=1;v[a+740>>2]=v[a+740>>2]|2}c=0}Ma=f+16|0;return c}function Lu(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=Ma+-64|0;Ma=b;if(w[a+144|0]){e=b+32|0;th(e,v[a+108>>2]);v[b+40>>2]=0;v[b+44>>2]=v[279250];Ve(b+24|0,e);h=v[b+24>>2];a:{if(!Ad(h,b+40|0,0)){break a}g=v[a+140>>2];e=v[a+132>>2]>1?g:-1;if(e){f=a+148|0;g=e;b:{while(1){if(!Ad(h,b+40|0,0)){break b}g=g-1|0;c:{if(!Hb(b+40|0,311183,-1)){v[b+8>>2]=0;qb(b+8|0,h);YE(b+16|0,a,v[b+8>>2],j);c=v[b+16>>2];v[b+16>>2]=0;d:{if(!c){break d}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break d}d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}}c=v[b+8>>2];v[b+8>>2]=0;e:{if(!c){break e}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break e}d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}}j=j+1|0;break c}if(!Hb(b+40|0,312166,-1)){d=v[f>>2];c=d|4096;if((c|0)!=(d|0)){v[f>>2]=c}d=v[f>>2];c=d|2048;if((c|0)!=(d|0)){v[f>>2]=c}break c}if(!Hb(b+40|0,242387,-1)){d=v[f>>2];c=d|2048;if((c|0)!=(d|0)){v[f>>2]=c}break c}if(Hb(b+40|0,238983,-1)){break c}d=v[f>>2];c=d|2048;if((c|0)!=(d|0)){v[f>>2]=c}}i=i+1|0;eo(h);if(g){continue}break}i=e}g=v[a+140>>2]}if((g|0)>-1){break a}v[a+140>>2]=i}mi(a+148|0,0,64,0);vk(v[a+108>>2]);e=v[b+24>>2];v[b+24>>2]=0;f:{if(!e){break f}a=v[e+4>>2]-1|0;v[e+4>>2]=a;if(a){break f}a=v[e+4>>2];if(!a){v[e+4>>2]=-32767}if(!a){Qa[v[v[e>>2]+4>>2]](e)}}db(b+40|0);e=v[b+32>>2];v[b+32>>2]=0;g:{if(!e){break g}a=v[e+4>>2]-1|0;v[e+4>>2]=a;if(a){break g}a=v[e+4>>2];if(!a){v[e+4>>2]=-32767}if(!a){Qa[v[v[e>>2]+4>>2]](e)}}Ma=b- -64|0;return}lb(mb(b+40|0,231556,241865,164,226745));L()}function Gv(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=Ma-16|0;Ma=g;a:{if(!b){break a}f=a?v[a+80>>2]:f;e=Qa[v[256552]](28)|0;if(e){v[e>>2]=0;v[e+4>>2]=0;v[e+24>>2]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;v[e>>2]=v[b>>2];v[e+4>>2]=v[b+4>>2];d=e;b:{c:{d:{e:{c=v[b+8>>2];if(c){if(!f){break e}h=e,i=Zc(f,c,-1),v[h+8>>2]=i}c=v[b+24>>2];if(!c){break b}if(!f){break d}c=Zc(f,c,-1);break c}h=e,i=Sd(c),v[h+8>>2]=i;c=v[b+24>>2];if(!c){break b}}c=Sd(c)}v[d+24>>2]=c}c=v[b+12>>2];f:{if(!c){c=v[e+12>>2];break f}c=Gv(a,c);v[e+12>>2]=c}if(c){v[c+20>>2]=e}g:{b=v[b+16>>2];h:{if(!b){break h}if(!f){c=e;while(1){d=Qa[v[256552]](28)|0;if(!d){break g}v[d>>2]=0;v[d+4>>2]=0;v[d+24>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=v[b>>2];v[d+4>>2]=v[b+4>>2];v[c+16>>2]=d;c=v[b+8>>2];if(c){h=d,i=Sd(c),v[h+8>>2]=i}c=v[b+24>>2];if(c){h=d,i=Sd(c),v[h+24>>2]=i}c=v[b+12>>2];i:{if(!c){c=v[d+12>>2];break i}c=Gv(a,c);v[d+12>>2]=c}if(c){v[c+20>>2]=e}c=d;b=v[b+16>>2];if(b){continue}break}break h}c=e;while(1){d=Qa[v[256552]](28)|0;if(!d){break g}v[d>>2]=0;v[d+4>>2]=0;v[d+24>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=v[b>>2];v[d+4>>2]=v[b+4>>2];v[c+16>>2]=d;c=v[b+8>>2];if(c){h=d,i=Zc(f,c,-1),v[h+8>>2]=i}c=v[b+24>>2];if(c){h=d,i=Zc(f,c,-1),v[h+24>>2]=i}c=v[b+12>>2];j:{if(!c){c=v[d+12>>2];break j}c=Gv(a,c);v[d+12>>2]=c}if(c){v[c+20>>2]=e}c=d;b=v[b+16>>2];if(b){continue}break}}c=e;break a}c=e}v[g>>2]=290868;nb(0,0,0,0,0,23,2,3,290868,0,0,0,340689,g)}Ma=g+16|0;return c}function wf(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=v[a+1176>>2];if((g|0)<=v[a+92>>2]){d=v[b+20>>2];a:{while(1){v[b+28>>2]=d;v[b+4>>2]=2147483632;e=v[a+44>>2]+(g-v[a+84>>2]<<3)|0;h=v[e+4>>2];if(h){g=v[a+32>>2]+(v[e>>2]<<2)|0;j=0;e=d;while(1){d=v[g>>2];j=v[d+8>>2]+j|0;k=v[d+12>>2];i=v[d>>2];c=h-1|0;b:{if(!c){l=1;h=0;break b}f=((h<<2)+g|0)-4|0;while(1){h=g+4|0;d=v[g+4>>2];g=v[d>>2];l=(g|0)==(i|0);if((g|0)!=(i|0)){g=h;h=c;break b}j=v[d+8>>2]+j|0;k=v[d+12>>2]+k|0;g=h;c=c-1|0;if(c){continue}break}g=f;h=0}if(k){c=(j<<9)-k|0;f=c>>9;f=(c|0)<0?0-f|0:f;c=f&511;c=v[a+1156>>2]==1?c>>>0>256?512-c|0:c:f;c=v[((((c|0)<255?c:255)<<2)+a|0)+132>>2];if(c){f=i-v[b>>2]|0;t[f+v[b+12>>2]|0]=c;e=v[b+28>>2];c:{if((f|0)==(v[b+4>>2]+1|0)){u[e+2>>1]=x[e+2>>1]+1;break c}c=e+8|0;v[b+28>>2]=c;k=v[b>>2];u[e+10>>1]=1;u[e+8>>1]=f+k;v[e+12>>2]=f+v[b+12>>2];e=c}v[b+4>>2]=f}i=i+1|0}d:{if(l){break d}f=v[d>>2];if((f|0)<=(i|0)){break d}d=j<<9;c=d>>9;c=(d|0)<0?0-c|0:c;d=c&511;d=v[a+1156>>2]==1?d>>>0>256?512-d|0:d:c;d=v[((((d|0)<255?d:255)<<2)+a|0)+132>>2];if(!d){break d}c=i-v[b>>2]|0;f=f-i|0;eb(c+v[b+12>>2]|0,d,f);e=v[b+28>>2];e:{if((c|0)==(v[b+4>>2]+1|0)){u[e+2>>1]=f+x[e+2>>1];break e}d=e+8|0;v[b+28>>2]=d;i=v[b>>2];u[e+10>>1]=f;u[e+8>>1]=c+i;v[e+12>>2]=c+v[b+12>>2];e=d}v[b+4>>2]=(c+f|0)-1}if(h){continue}break}d=v[b+20>>2];if((d|0)!=(e|0)){break a}}e=v[a+1176>>2];g=e+1|0;v[a+1176>>2]=g;if((e|0)>2]){continue}break}return 0}e=b;b=v[a+1176>>2];v[e+8>>2]=b;v[a+1176>>2]=b+1;a=1}else{a=0}return a}function gPa(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=+c;d=+d;e=+e;f=+f;g=+g;h=+h;var i=0,j=0,k=0,l=0;k=Ma-32|0;Ma=k;l=A[v[a+16>>2]+24>>3];A[k+24>>3]=d;A[k+16>>3]=c;A[k+8>>3]=e;A[k>>3]=c;i=Qa[v[v[a>>2]+508>>2]](a)|0;zd(i,k+24|0,k+16|0);zd(i,k+8|0,k);c=l*f/25.4+.5;a:{if(D(c)<2147483648){i=~~c;break a}i=-2147483648}c=A[k+8>>3];b:{if(D(c)<2147483648){j=~~c;break b}j=-2147483648}f=+(j|0);c=A[k+24>>3];c:{if(D(c)<2147483648){j=~~c;break c}j=-2147483648}d=+(j|0)+.5;e=d;d:{if(g==0){break d}c=d;e=D(g)*A[v[a+16>>2]+24>>3];e=(e+e)/25.4+.5;e:{if(D(e)<2147483648){j=~~e;break e}j=-2147483648}j=j?j:1;e=c-+(j>>1);if(g<0){break d}e=d+ +(j-1>>1)}j=i?i:1;d=f+.5;c=d;f:{if(h==0){break f}c=d;f=D(h)*A[v[a+16>>2]+24>>3];f=(f+f)/25.4+.5;g:{if(D(f)<2147483648){i=~~f;break g}i=-2147483648}i=i?i:1;c=c-+(i>>1);if(h<0){break f}c=d+ +(i-1>>1)}d=c;g=+(j|0);A[a+40>>3]=g;c=e+-.5;h:{i:{j:{switch(b|0){case 0:f=A[k+16>>3];b=v[v[a+20>>2]+4>>2];t[b+25|0]=0;v[b+20>>2]=0;v[b>>2]=0;i=v[a+20>>2];e=c;c=g*.5;if(D(f)<2147483648){b=~~f}else{b=-2147483648}c=c+(+(b|0)+.5)+-.5;Jj(i,e,c);break i;case 1:e=A[k+16>>3];b=v[v[a+20>>2]+4>>2];t[b+25|0]=0;v[b+20>>2]=0;v[b>>2]=0;i=j&1;j=v[a+20>>2];f=c;if(D(e)<2147483648){b=~~e}else{b=-2147483648}c=+(b|0)+.5;c=i?c:c+-.5;Jj(j,f,c);break i;case 2:break j;default:break h}}f=A[k+16>>3];b=v[v[a+20>>2]+4>>2];t[b+25|0]=0;v[b+20>>2]=0;v[b>>2]=0;e=g*.5;i=v[a+20>>2];g=c;if(D(f)<2147483648){b=~~f}else{b=-2147483648}c=+(b|0)+.5-e+.5;Jj(i,g,c)}Nk(v[a+20>>2],d+.5,c);Qa[v[v[a>>2]+532>>2]](a)}Ma=k+32|0}function UIa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=Ma-80|0;Ma=f;h=v[a+532>>2];a:{if(!h){a=6;break a}g=v[a+100>>2];i=v[h+4>>2];v[f+24>>2]=i;if(i){a=0;while(1){c=B(a,12);e=c+(f+24|0)|0;v[e+8>>2]=v[((a<<2)+h|0)+8>>2];c=c+h|0;d=v[c+92>>2];v[e+12>>2]=v[d>>2];v[e+16>>2]=v[(d+(w[c+88|0]<<2)|0)-4>>2];a=a+1|0;if((i|0)!=(a|0)){continue}break}}c=v[h>>2];v[f+20>>2]=0;d=i<<1;e=d+3&-4;g=cc(g,(e+B(i,24)|0)+20|0,f+20|0);a=v[f+20>>2];if(a){break a}v[g+8>>2]=0;v[g+4>>2]=c;v[g>>2]=i;c=g+20|0;b:{if(!i){v[g+16>>2]=0;v[g+12>>2]=c+e;UA(v[h+140>>2],f,v[h+4>>2]);break b}a=0;c=eb(c,0,d);v[g+16>>2]=0;j=c+e|0;v[g+12>>2]=j;while(1){e=j+B(a,24)|0;d=(f+24|0)+B(a,12)|0;c=v[d+8>>2];v[e>>2]=c;v[e+4>>2]=v[d+12>>2]<<16;d=v[d+16>>2];v[e+16>>2]=-1;v[e+20>>2]=-1;v[e+12>>2]=d<<16;c:{if(!c){break c}d=2003265652;d:{if(!hb(c,232119)){break d}d=2003072104;if(!hb(c,269433)){break d}if(hb(c,273798)){break c}d=1869640570}v[e+16>>2]=d}a=a+1|0;if((i|0)!=(a|0)){continue}break}UA(v[h+140>>2],f,v[h+4>>2]);if(!i){break b}e=0;while(1){j=v[(e<<2)+f>>2];c=B(e,12)+h|0;d=v[c+96>>2];e:{if((j|0)>v[d>>2]){a=1;k=w[c+88|0];if(k>>>0>1){while(1){l=a<<2;m=v[d+l>>2];if((j|0)<=(m|0)){c=v[c+92>>2];k=l-4|0;a=v[c+k>>2];c=v[c+l>>2];d=v[d+k>>2];a=B(Ub(j-d|0,m-d|0),c-a|0)+(a<<16)|0;break e}a=a+1|0;if((k|0)!=(a|0)){continue}break}}a=v[(v[c+92>>2]+(k<<2)|0)-4>>2]<<16;break e}a=v[v[c+92>>2]>>2]<<16}v[(v[g+12>>2]+B(e,24)|0)+8>>2]=a;e=e+1|0;if((i|0)!=(e|0)){continue}break}}v[b>>2]=g;a=v[f+20>>2]}Ma=f+80|0;return a|0}function S6(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;d=x[a+84>>1];h=d>>>3|0;j=(c>>>0)/(h>>>0)|0;e=v[v[a+584>>2]+4>>2];i=gb(c);a:{if(!i){break a}Fd(i,b,c);if(!((j|0)<1|d>>>0<8)){a=h>>>0>1?h:1;k=a&8190;l=a&1;f=d>>>0<16;while(1){m=B(g,h);a=0;d=k;if(!f){while(1){t[(B((a^-1)+h|0,j)+g|0)+b|0]=w[(a+m|0)+i|0];t[(B((h-a|0)-2|0,j)+g|0)+b|0]=w[((a|1)+m|0)+i|0];a=a+2|0;d=d-2|0;if(d){continue}break}}if(l){t[(B((a^-1)+h|0,j)+g|0)+b|0]=w[(a+m|0)+i|0]}g=g+1|0;if((j|0)!=(g|0)){continue}break}}$a(i);if((c|0)<=(e|0)){break a}a=((e^-1)+c|0)+b|0;if((e|0)<5){while(1){b:{switch(e|0){default:b=a+e|0;t[b|0]=w[b|0]-w[a|0];a=a-1|0;case 3:b=a+e|0;t[b|0]=w[b|0]-w[a|0];a=a-1|0;case 2:b=a+e|0;t[b|0]=w[b|0]-w[a|0];a=a-1|0;case 1:b=a+e|0;t[b|0]=w[b|0]-w[a|0];a=a-1|0;break;case 0:break b}}c=c-e|0;if((e|0)<(c|0)){continue}break a}}k=e-4|0;b=e&3;l=e-5>>>0>2;while(1){c:{d:{e:{f:{g:{h:{switch(e|0){case 0:break c;case 1:break d;case 2:break e;case 3:break f;case 4:break g;default:break h}}g=k;d=b;if(d){while(1){f=a+e|0;t[f|0]=w[f|0]-w[a|0];g=g-1|0;a=a-1|0;d=d-1|0;if(d){continue}break}}if(!l){break g}while(1){d=a+e|0;t[d|0]=w[d|0]-w[a|0];f=a-1|0;d=f+e|0;t[d|0]=w[d|0]-w[f|0];f=a-2|0;d=f+e|0;t[d|0]=w[d|0]-w[f|0];f=a-3|0;d=f+e|0;t[d|0]=w[d|0]-w[f|0];a=a-4|0;d=(g|0)>4;g=g-4|0;if(d){continue}break}}d=a+e|0;t[d|0]=w[d|0]-w[a|0];a=a-1|0}d=a+e|0;t[d|0]=w[d|0]-w[a|0];a=a-1|0}d=a+e|0;t[d|0]=w[d|0]-w[a|0];a=a-1|0}d=a+e|0;t[d|0]=w[d|0]-w[a|0];a=a-1|0}c=c-e|0;if((e|0)<(c|0)){continue}break}}}function Rma(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;d=Ma-32|0;Ma=d;a:{if(t[c+11|0]>=0){v[d+24>>2]=v[c+8>>2];e=v[c+4>>2];v[d+16>>2]=v[c>>2];v[d+20>>2]=e;break a}vc(d+16|0,v[c>>2],v[c+4>>2])}c=w[b+15|0];f=c<<24>>24<0;b:{c:{d:{g=f?v[b+8>>2]:c;if(g){h=b+4|0;c=w[d+27|0];e=c<<24>>24<0;c=e?v[d+20>>2]:c;if((g|0)>(c|0)){break d}e=e?v[d+16>>2]:d+16|0;i=e+(c<<2)|0;j=f?v[b+4>>2]:h;l=v[j>>2];f=e;while(1){c=c-g|0;k=c+1|0;if(k>>>0>>0){break d}c=xe(f,l,k);if(!c){break d}if(lc(c,j,g)){f=c+4|0;c=i-f>>2;if((g|0)<=(c|0)){continue}break d}break}if((c|0)==(i|0)|(c|0)!=(e|0)){break d}}b=v[d+20>>2];v[a>>2]=v[d+16>>2];v[a+4>>2]=b;v[a+8>>2]=v[d+24>>2];v[d+24>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;break c}e=w[d+27|0];c=e<<24>>24<0;if(!(c?v[d+20>>2]:e)){if(t[b+15|0]>=0){b=v[h+4>>2];v[a>>2]=v[h>>2];v[a+4>>2]=b;v[a+8>>2]=v[h+8>>2];break c}vc(a,v[b+4>>2],v[b+8>>2]);break c}if(v[(c?v[d+16>>2]:d+16|0)>>2]==47){Rq(a,h,d+16|0);break c}v[d+8>>2]=0;v[d>>2]=0;v[d+4>>2]=0;c=w[b+15|0];f=c<<24>>24<0;e=f?v[b+8>>2]:c;c=e+1|0;if(c>>>0>=1073741808){break b}b=v[b+4>>2];e:{f:{if(c>>>0>=2){g=e+5&-4;c=ab(g<<2);v[d+8>>2]=g|-2147483648;v[d>>2]=c;v[d+4>>2]=e;break f}t[d+11|0]=e;c=d;if(!e){break e}}rb(c,f?b:h,e)}v[(e<<2)+c>>2]=0;bd(d,960572,1);b=w[d+27|0];c=b<<24>>24<0;b=bd(d,c?v[d+16>>2]:d+16|0,c?v[d+20>>2]:b);c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;v[a+8>>2]=v[b+8>>2];v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;if(t[d+11|0]>-1){break c}$a(v[d>>2])}if(t[d+27|0]<=-1){$a(v[d+16>>2])}Ma=d+32|0;return}sc();L()}function VX(a,b,c,d){var e=0,f=0,g=0;g=Ma-32|0;Ma=g;a:{if(!(!a|v[a+4>>2]==1)){if((d|0)!=1){break a}a=v[a+32>>2];if(a){if(!c){break a}a=v[a+80>>2];while(1){if(!a){break a}d=v[a+16>>2];if(d){while(1){if(d+20>>>0<=c>>>0&y[d+4>>2]>=c>>>0){break a}d=v[d>>2];if(d){continue}break}}a=v[a+20>>2];if(a){continue}break}}Qa[v[256556]](c);break a}e=Qa[v[256552]](48)|0;if(!e){b:{if((d|0)!=1){break b}c:{if(!a){break c}a=v[a+32>>2];if(!a){break c}if(!c){break b}d=v[a+80>>2];while(1){if(!d){break b}e=v[d+16>>2];if(e){while(1){if(e+20>>>0<=c>>>0&y[e+4>>2]>=c>>>0){break b}e=v[e>>2];if(e){continue}break}}d=v[d+20>>2];if(d){continue}break}}Qa[v[256556]](c)}v[g>>2]=276017;e=0;nb(0,0,0,0,0,2,2,3,276017,0,0,0,340689,g);break a}v[e>>2]=0;v[e+4>>2]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[e+40>>2]=0;v[e+44>>2]=0;v[e+32>>2]=0;v[e+36>>2]=0;v[e+24>>2]=0;v[e+28>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;v[e+4>>2]=2;v[e+20>>2]=a;d:{e:{f:{if(a){f=v[a+32>>2];v[e+36>>2]=b;v[e+32>>2]=f;if(!d){break f}d=c;break d}v[e+36>>2]=b;if(!d){break e}d=c;break d}if(!f){break e}b=v[f+80>>2];if(!b){break e}d=Zc(b,c,-1);break d}if(!c){d=0;break d}d=c;while(1){b=d;d=d+1|0;if(w[b|0]){continue}break}d=0;b=b-c|0;if((b|0)<0){break d}f=Qa[v[256555]](b+1|0)|0;if(!f){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break d}d=cb(f,c,b);t[b+d|0]=0}v[e+8>>2]=d;if(a){g:{d=v[a+44>>2];if(!d){v[a+44>>2]=e;break g}while(1){a=d;d=v[a+24>>2];if(d){continue}break}v[a+24>>2]=e;v[e+28>>2]=a}}if(!v[291069]){break a}a=v[291066];if(!a){break a}Qa[a|0](e)}Ma=g+32|0;return e}function L$(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;j=Ma-16|0;Ma=j;v[j+12>>2]=0;g=v[a+12>>2];a:{b:{c:{d:{if((g|0)<=11){if(v[a+20>>2]){break d}v[a+16>>2]=12;v[a+20>>2]=a+820;break d}k=v[a+16>>2];if((k|0)>(g|0)){e=v[a+20>>2];i=e+B(g,44)|0;break c}g=64;if((k|0)>48806445){break a}g=((k>>2)+k|0)+4|0;l=(k|0)<-16?48806446:(g|0)>48806446?48806446:g;h=v[a+20>>2];e:{if((h|0)==(a+820|0)){e=yb(e,44,0,l,0,j+12|0);v[a+20>>2]=e;g=v[j+12>>2];if(g){break a}cb(e,h,528);break e}m=a,n=yb(e,44,k,l,h,j+12|0),v[m+20>>2]=n;g=v[j+12>>2];if(g){break a}}v[a+16>>2]=l;g=v[a+12>>2]}e=v[a+20>>2];i=e+B(g,44)|0;if((g|0)<1){break b}}if(!d){g=i;while(1){i=g-44|0;d=u[i>>1];if((d|0)<(b|0)){i=g;break b}if(!((b|0)!=(d|0)|v[a+24>>2]!=(c|0))){i=g;break b}d=i;h=v[d+4>>2];v[g>>2]=v[d>>2];v[g+4>>2]=h;v[g+40>>2]=v[d+40>>2];h=v[d+36>>2];v[g+32>>2]=v[d+32>>2];v[g+36>>2]=h;h=v[d+28>>2];v[g+24>>2]=v[d+24>>2];v[g+28>>2]=h;h=v[d+20>>2];v[g+16>>2]=v[d+16>>2];v[g+20>>2]=h;h=v[d+12>>2];v[g+8>>2]=v[d+8>>2];v[g+12>>2]=h;g=d;if(g>>>0>e>>>0){continue}break}break b}g=i;while(1){i=g-44|0;d=u[i>>1];if((d|0)>(b|0)){i=g;break b}if(!((b|0)!=(d|0)|v[a+24>>2]!=(c|0))){i=g;break b}d=i;h=v[d+4>>2];v[g>>2]=v[d>>2];v[g+4>>2]=h;v[g+40>>2]=v[d+40>>2];h=v[d+36>>2];v[g+32>>2]=v[d+32>>2];v[g+36>>2]=h;h=v[d+28>>2];v[g+24>>2]=v[d+24>>2];v[g+28>>2]=h;h=v[d+20>>2];v[g+16>>2]=v[d+16>>2];v[g+20>>2]=h;h=v[d+12>>2];v[g+8>>2]=v[d+8>>2];v[g+12>>2]=h;g=d;if(g>>>0>e>>>0){continue}break}}v[a+12>>2]=v[a+12>>2]+1;g=0}v[f>>2]=i;Ma=j+16|0;return g}function vWa(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,n=0,o=0;a:{if(w[a+286|0]|!w[a+285|0]|(w[a+287|0]|w[a+288|0])){break a}if(w[a+289|0]){break a}if(!(1<>>0<=10:0)){ob(a,1028,0,0);return 1028}t[a+302|0]=1;g=w[d|0]|w[d+1|0]<<8;j=g<<8|g>>>8;u[a+1052>>1]=j;g=w[d+2|0]|w[d+3|0]<<8;k=g<<8|g>>>8;u[a+1054>>1]=k;g=w[d+4|0]|w[d+5|0]<<8;l=g<<8|g>>>8;u[a+1056>>1]=l;f=a;b:{c:{d:{if(c>>>0<=6){t[a+1058|0]=0;break d}h=w[d+6|0];t[a+1058|0]=h;if((c|0)!=7){break c}}u[a+1060>>1]=0;g=0;break b}m=w[d+7|0]|w[d+8|0]<<8;i=m<<8|m>>>8;u[a+1060>>1]=i;if(c>>>0<10){n=1;g=0;break b}o=1;n=1;g=w[d+9|0]}t[f+1062|0]=g;f=0;e:{if(!w[a+114|0]){break e}j=j&65535;k=k&65535;l=l&65535;m=i&65535;g=g&255;f=Qa[v[a+152>>2]](40)|0;if(!f){ob(a,1,0,0);f=1;break e}v[f+4>>2]=721;v[f>>2]=722;i=v[a+700>>2];f:{if(i){v[i+8>>2]=f;break f}v[a+696>>2]=f}v[f+8>>2]=0;v[f+12>>2]=i;v[a+700>>2]=f;v[f+16>>2]=v[a+436>>2];v[f+20>>2]=v[a+440>>2];v[f+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=f}t[f+38|0]=g;u[f+36>>1]=m;t[f+34|0]=h;u[f+32>>1]=l;u[f+30>>1]=k;u[f+28>>1]=j;f=0}h=f;g:{if(h){break g}h:{if(!w[a+112|0]){break h}h=Qa[v[b+4>>2]](a,b,e)|0;if(h){break g}b=v[e>>2];a=w[d|0]|w[d+1|0]<<8;u[b+32>>1]=a<<8|a>>>8;a=w[d+2|0]|w[d+3|0]<<8;u[b+34>>1]=a<<8|a>>>8;a=w[d+4|0]|w[d+5|0]<<8;u[b+36>>1]=a<<8|a>>>8;if(c>>>0>=7){t[b+38|0]=w[d+6|0]}if(n){a=w[d+7|0]|w[d+8|0]<<8;u[b+40>>1]=a<<8|a>>>8}if(!o){break h}t[b+42|0]=w[d+9|0]}h=0}return h|0}ob(a,1029,0,0);return 1029}function Dsa(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,p=0,q=0,r=0,s=0,t=0,u=0,x=0,y=0,z=0;p=Ma-128|0;Ma=p;f=eb(a,0,256);while(1){a:{k=f;d=v[(l<<2)+b>>2]+c|0;o=w[d|0];e=w[d+5|0];m=o-e|0;g=w[d+1|0];i=w[d+4|0];h=g-i|0;j=w[d+2|0];d=w[d+3|0];n=j-d|0;v[f+12>>2]=m-(h+n|0)<<2;e=e+o|0;d=d+j|0;v[f+8>>2]=B(e-d|0,10033)+1024>>11;e=d+e|0;d=g+i|0;v[f>>2]=(e+d<<2)-3072;v[f+16>>2]=B(e-(d<<1)|0,5793)+1024>>11;d=B(m+n|0,2998)+1024>>11;v[f+20>>2]=d+(n-h<<2);v[f+4>>2]=d+(h+m<<2);d=l-7|0;l=l+1|0;f=p;b:{switch(d|0){case 0:continue;case 4:break a;default:break b}}f=k+32|0;continue}break}while(1){q=v[f+64>>2];r=v[a+128>>2];s=v[a+192>>2];t=v[a+160>>2];c=s+t|0;u=v[f+96>>2];x=v[a>>2];b=u+x|0;y=c+b|0;l=v[f>>2];m=v[a+96>>2];h=l+m|0;n=v[f+32>>2];o=v[a+64>>2];g=n+o|0;i=h+g|0;v[a+128>>2]=B(y-i|0,8918)+16384>>15;j=b-c|0;e=v[a+32>>2];d=e+q|0;k=v[a+224>>2];c=k+r|0;b=d-c|0;g=g-h|0;v[a+192>>2]=B(j-(b+g|0)|0,7282)+16384>>15;v[a+64>>2]=(B(b-g|0,7282)+B(g+j|0,9947)|0)+16384>>15;v[a>>2]=B((c+(d+i|0)|0)+y|0,7282)+16384>>15;b=r-k|0;c=e-q|0;e=B(b+c|0,3941);d=e+B(b,-13455)|0;h=x-u|0;g=m-l|0;i=t-s|0;j=o-n|0;v[a+96>>2]=((d+B(h-g|0,9514)|0)+B(i+j|0,-3941)|0)+16384>>15;b=B(g+j|0,-1344);k=B(g+h|0,6269);c=e+B(c,5573)|0;v[a+224>>2]=(((b+(k+B(g,5285)|0)|0)-c|0)+B(i,-8170)|0)+16384>>15;e=b;b=B(h+j|0,8170)+16384|0;v[a+160>>2]=((e+(b+B(j,-17036)|0)|0)-d|0)+B(i,6269)>>15;v[a+32>>2]=(c+(k+(b+B(h,-4229)|0)|0)|0)+B(i,1344)>>15;f=f+4|0;a=a+4|0;z=z+1|0;if((z|0)!=6){continue}break}Ma=p+128|0}function dEa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=Ma-17408|0;Ma=e;d=96;a:{if(!a){break a}a=v[b+4>>2];d=20;if(!a){break a}f=u[a+2>>1];d=0;if(!f){break a}c=u[a>>1];d=0;if((c|0)<1){break a}g=v[a+12>>2];d=20;if(!g){break a}d=20;if(!v[a+4>>2]){break a}d=20;if((f|0)!=(u[((c<<1)+g|0)-2>>1]+1|0)){break a}d=19;if(w[b+8|0]&3){break a}b=v[b>>2];d=20;if(!b){break a}d=0;if(!v[b+4>>2]){break a}d=0;if(!v[b>>2]){break a}d=20;if(!v[b+12>>2]){break a}v[e+16520>>2]=v[a+16>>2];f=v[a+12>>2];c=e+16512|0;v[c>>2]=v[a+8>>2];v[c+4>>2]=f;c=v[a+4>>2];v[e+16504>>2]=v[a>>2];v[e+16508>>2]=c;c=v[b+12>>2];a=e+16488|0;v[a>>2]=v[b+8>>2];v[a+4>>2]=c;c=v[b+20>>2];a=e+16496|0;v[a>>2]=v[b+16>>2];v[a+4>>2]=c;a=v[b+4>>2];v[e+16480>>2]=v[b>>2];v[e+16484>>2]=a;a=e+16384|0;v[e+16412>>2]=a;v[e+16408>>2]=e;b=v[a+136>>2];c=b&256;v[a+20>>2]=c?30:2;v[a+16>>2]=c?256:32;c=c?12:6;v[a>>2]=c;c=1<>2]=c;v[a+12>>2]=c>>>6;v[a+8>>2]=c>>>1;b:{if(b&8){t[a+164|0]=2;break b}c=b>>>2&4;t[a+164|0]=c;if(b&32){break b}t[a+164|0]=c|1}v[a+1008>>2]=0;v[a+160>>2]=2339;v[a+156>>2]=2340;v[a+152>>2]=2341;v[a+148>>2]=2342;u[a+944>>1]=0;c=v[a+96>>2]-1|0;u[a+946>>1]=c;u[a+52>>1]=v[a+100>>2];f=v[a+108>>2];v[a+56>>2]=f;t[a+165|0]=(b>>>9^-1)&1;b=v[a+104>>2];if((b|0)>=1){v[a+56>>2]=f+B(b,c)}b=VZ(a,0);c:{if(b){break c}if(!(!w[a+165|0]|w[a+164|0]==2)){v[a+1008>>2]=0;v[a+160>>2]=2343;v[a+156>>2]=2344;v[a+152>>2]=2345;v[a+148>>2]=2346;u[a+944>>1]=0;u[a+946>>1]=x[a+100>>1]-1;b=VZ(a,1);if(b){break c}}b=0}d=b}c=d;Ma=e+17408|0;return c|0}function BW(a,b){a=a|0;b=b|0;var 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;j=Ma-16|0;Ma=j;e=v[a+400>>2];c=v[a+288>>2];if((c|0)>=1){while(1){f=d<<2;c=v[(f+a|0)+292>>2];b=v[c+12>>2];t=f+j|0,u=Qa[v[v[a+4>>2]+32>>2]](a,v[((v[c+4>>2]<<2)+e|0)- -64>>2],B(b,v[e+8>>2]),b,0)|0,v[t>>2]=u;d=d+1|0;c=v[a+288>>2];if((d|0)<(c|0)){continue}break}}b=v[e+20>>2];h=v[e+16>>2];a:{if((b|0)>(h|0)){o=e+24|0;d=v[a+308>>2];g=v[e+12>>2];while(1){if(d>>>0>g>>>0){while(1){k=0;f=0;m=v[a+288>>2];if((m|0)>=1){while(1){b=k<<2;c=v[(b+a|0)+292>>2];n=v[c+60>>2];b:{if((n|0)<1){break b}i=v[c+56>>2];if((i|0)<1){break b}p=B(g,i);q=v[b+j>>2];r=i&7;s=i-1|0;l=0;while(1){d=v[(h+l<<2)+q>>2]+(p<<7)|0;b=f;c=r;if(c){while(1){v[((b<<2)+e|0)+24>>2]=d;b=b+1|0;d=d+128|0;c=c-1|0;if(c){continue}break}}f=f+i|0;if(s>>>0>=7){while(1){c=(b<<2)+e|0;v[c+28>>2]=d+128;v[c+24>>2]=d;v[c+32>>2]=d+256;v[c+36>>2]=d+384;v[c+40>>2]=d+512;v[c+44>>2]=d+640;v[c+48>>2]=d+768;v[c+52>>2]=d+896;d=d+1024|0;b=b+8|0;if((f|0)!=(b|0)){continue}break}}l=l+1|0;if((n|0)!=(l|0)){continue}break}}k=k+1|0;if((m|0)!=(k|0)){continue}break}}if(!(Qa[v[v[a+420>>2]+4>>2]](a,o)|0)){v[e+12>>2]=g;v[e+16>>2]=h;d=0;break a}d=v[a+308>>2];g=g+1|0;if(d>>>0>g>>>0){continue}break}b=v[e+20>>2]}g=0;v[e+12>>2]=0;h=h+1|0;if((h|0)<(b|0)){continue}break}c=v[a+288>>2]}d=1;v[e+8>>2]=v[e+8>>2]+1;b=v[a+400>>2];f=1;f=(c|0)<=1?v[v[a+292>>2]+(y[b+8>>2]>2]-1>>>0?12:76)>>2]:f;v[b+12>>2]=0;v[b+16>>2]=0;v[b+20>>2]=f}Ma=j+16|0;return d|0}function wHa(a){a=a|0;var 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;d=3;e=v[a+32>>2];a:{if(!e){break a}b=v[e+364>>2];if(!b){break a}d=b+556|0;if(M_(d,v[e+360>>2],v[b+584>>2],v[b+588>>2])){d=N_(d,v[e+360>>2],v[b+584>>2],v[b+588>>2]);if(d){break a}}d=3;i=ek(a,v[a+20>>2]-4|0);if(i>>>0>y[a+24>>2]){break a}j=Ma-16|0;Ma=j;c=v[v[b+560>>2]+8>>2];v[j+12>>2]=0;e=161;k=(v[a+20>>2]-v[a+16>>2]|0)-4>>2;l=B(i,v[b+576>>2]);b:{if(k>>>0>>0){break b}d=v[b+604>>2];g=v[b+600>>2];h=B(i,5);c:{if(d>>>0>=g+h>>>0){break c}m=v[b+596>>2];e=d;f=d+h|0;d=v[b+592>>2];f=yb(c,1,e,f,d,j+12|0);v[b+592>>2]=f;e=v[j+12>>2];if(e){break b}g=v[b+600>>2];v[b+596>>2]=f+g;v[b+604>>2]=h+v[b+604>>2];if(!d|(d|0)==(f|0)){break c}c=v[a+16>>2];e=v[a+20>>2];if(c>>>0>=e>>>0){break c}n=f-d|0;while(1){f=v[c>>2];if(!(f>>>0>>0|f>>>0>=m>>>0)){v[c>>2]=f+n;e=v[a+20>>2]}c=c+4|0;if(e>>>0>c>>>0){continue}break}}v[b+600>>2]=h+g;k=k-l|0;h=k+i|0;e=0;if(i){d=h;while(1){c=v[b+580>>2];l=e+k<<2;f=ek(a,l+v[a+16>>2]|0)<<16;g=1;if(y[b+576>>2]>=2){while(1){f=B(ek(a,v[a+16>>2]+(d<<2)|0),v[c+4>>2])+f|0;c=c+4|0;d=d+1|0;g=g+1|0;if(g>>>0>2]){continue}break}}v[l+v[a+16>>2]>>2]=v[b+596>>2];c=v[b+596>>2];v[b+596>>2]=c+1;t[c|0]=255;c=v[b+596>>2];v[b+596>>2]=c+1;t[c|0]=f>>>24;c=v[b+596>>2];v[b+596>>2]=c+1;t[c|0]=f>>>16;c=v[b+596>>2];v[b+596>>2]=c+1;t[c|0]=f>>>8;c=v[b+596>>2];v[b+596>>2]=c+1;t[c|0]=f;e=e+1|0;if((i|0)!=(e|0)){continue}break}e=v[j+12>>2]}v[a+20>>2]=v[a+16>>2]+(h<<2)}Ma=j+16|0;d=e;t[b+557|0]=1}return d|0}function aE(a,b){var c=0,d=0,e=0;c=Ma-32|0;Ma=c;if(!w[b+32|0]){cg(b,0)}v[a>>2]=0;e=v[279250];v[a+4>>2]=e;d=v[b+8>>2];a:{if(!d|!v[d+8>>2]){break a}b:{c:{d:{if(w[b+32|0]){v[c+20>>2]=e;v[c+16>>2]=0;e=b+8|0;break d}cg(b,0);d=v[b+8>>2];v[c+20>>2]=v[279250];v[c+16>>2]=0;e=b+8|0;if(!d){break c}}Qa[v[v[d>>2]+28>>2]](c+8|0,d,1);break b}v[c+8>>2]=0}jb(c+16|0,c+8|0);b=v[c+8>>2];v[c+8>>2]=0;e:{if(!b){break e}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break e}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}b=v[c+16>>2];v[c+20>>2]=v[(b?b+12|0:1117e3)>>2];if(!b){db(c+16|0);break a}b=v[b+8>>2];db(c+16|0);if(!b){break a}v[c+16>>2]=0;v[c+20>>2]=v[279250];b=v[e>>2];f:{if(b){Qa[v[v[b>>2]+28>>2]](c+8|0,b,1);break f}v[c+8>>2]=0}jb(c+16|0,c+8|0);b=v[c+8>>2];d=0;v[c+8>>2]=0;g:{if(!b){break g}e=v[b+4>>2]-1|0;v[b+4>>2]=e;if(e){break g}e=v[b+4>>2];if(!e){v[b+4>>2]=-32767}if(!e){Qa[v[v[b>>2]+4>>2]](b)}}b=v[c+16>>2];v[c+20>>2]=v[(b?b+12|0:1117e3)>>2];Lr(c+8|0,c+16|0);b=v[c+8>>2];if(b){d=v[b+8>>2]}db(c+8|0);b=v[c+16>>2];b=v[(b?b+12|0:1117e3)>>2]+d|0;e=b-1|0;while(1){d=w[b|0];if(!(!d|(d|0)==35|(d|0)==63)){e=(d|0)==47?b:e;b=b+1|0;continue}break}d=eg(c+8|0,e+1|0,(e^-1)+b|0);b=v[d>>2];h:{if(b){Qa[v[v[b>>2]+28>>2]](c+24|0,b,1);break h}v[c+24>>2]=0}jb(a,c+24|0);b=v[c+24>>2];v[c+24>>2]=0;i:{if(!b){break i}e=v[b+4>>2]-1|0;v[b+4>>2]=e;if(e){break i}e=v[b+4>>2];if(!e){v[b+4>>2]=-32767}if(!e){Qa[v[v[b>>2]+4>>2]](b)}}b=a;a=v[a>>2];v[b+4>>2]=v[(a?a+12|0:1117e3)>>2];db(d);db(c+16|0)}Ma=c+32|0}function Fv(a,b){var c=0,d=0,e=0,f=0;f=v[a+420>>2];SX(a);d=v[a+24>>2];e=v[d>>2];v[d>>2]=e+1;t[e|0]=255;e=v[d+4>>2]-1|0;v[d+4>>2]=e;a:{if(e){break a}if(Qa[v[d+12>>2]](a)|0){break a}e=v[a>>2];v[e+20>>2]=25;Qa[v[e>>2]](a)}d=v[a+24>>2];e=v[d>>2];v[d>>2]=e+1;t[e|0]=b-48;b=v[d+4>>2]-1|0;v[d+4>>2]=b;b:{if(b){break b}if(Qa[v[d+12>>2]](a)|0){break b}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}if(v[a+288>>2]>=1){d=0;while(1){b=d<<2;e=v[(b+a|0)+292>>2];if(!(v[a+360>>2]|v[a+368>>2])){c=v[((v[e+20>>2]<<2)+f|0)+76>>2];t[c|0]=0;t[c+1|0]=0;t[c+2|0]=0;t[c+3|0]=0;t[c+4|0]=0;t[c+5|0]=0;t[c+6|0]=0;t[c+7|0]=0;t[c+56|0]=0;t[c+57|0]=0;t[c+58|0]=0;t[c+59|0]=0;t[c+60|0]=0;t[c+61|0]=0;t[c+62|0]=0;t[c+63|0]=0;t[c+48|0]=0;t[c+49|0]=0;t[c+50|0]=0;t[c+51|0]=0;t[c+52|0]=0;t[c+53|0]=0;t[c+54|0]=0;t[c+55|0]=0;t[c+40|0]=0;t[c+41|0]=0;t[c+42|0]=0;t[c+43|0]=0;t[c+44|0]=0;t[c+45|0]=0;t[c+46|0]=0;t[c+47|0]=0;t[c+32|0]=0;t[c+33|0]=0;t[c+34|0]=0;t[c+35|0]=0;t[c+36|0]=0;t[c+37|0]=0;t[c+38|0]=0;t[c+39|0]=0;t[c+24|0]=0;t[c+25|0]=0;t[c+26|0]=0;t[c+27|0]=0;t[c+28|0]=0;t[c+29|0]=0;t[c+30|0]=0;t[c+31|0]=0;t[c+16|0]=0;t[c+17|0]=0;t[c+18|0]=0;t[c+19|0]=0;t[c+20|0]=0;t[c+21|0]=0;t[c+22|0]=0;t[c+23|0]=0;t[c+8|0]=0;t[c+9|0]=0;t[c+10|0]=0;t[c+11|0]=0;t[c+12|0]=0;t[c+13|0]=0;t[c+14|0]=0;t[c+15|0]=0;b=b+f|0;v[b+52>>2]=0;v[b+36>>2]=0}if(v[a+364>>2]){eb(v[((v[e+24>>2]<<2)+f|0)+140>>2],0,256)}d=d+1|0;if((d|0)>2]){continue}break}}v[f+28>>2]=11;v[f+32>>2]=-1;v[f+20>>2]=0;v[f+24>>2]=0;v[f+12>>2]=0;v[f+16>>2]=65536}function fs(a){var 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;d=Ma-16|0;Ma=d;a:{if(v[a+16>>2]){break a}if(bg(a+20|0)){break a}n=a+108|0;while(1){v[d+8>>2]=0;b=0;g=v[a+116>>2];if(g){while(1){j=d;c=v[g+8>>2];if(c){v[c+4>>2]=v[c+4>>2]+1;c=v[g+8>>2]}else{c=0}v[j>>2]=c;b:{c:{d:{e:{if(!w[a+8|0]){k=v[c+16>>2];if((k|0)<=-1){v[d>>2]=0;break d}f=0;e=v[v[a+72>>2]+12>>2];f:{if(!e){break f}l=v[c+12>>2];h=l+k|0;b=0;while(1){if((b|0)>=(h|0)){break f}m=v[e+8>>2];i=m>>31;j=b;i=i^i+m;b=b+i|0;g:{if((m|0)<1){break g}if((l|0)>(j|0)){if(!((b|0)<(l|0)|(b|0)>=(h|0))){f=(f-l|0)+b|0;break g}f=((b|0)<(h|0)?0:k)+f|0;break g}if((b|0)<=(h|0)){f=f+i|0;break g}f=(f+h|0)-j|0}e=v[e>>2];if(e){continue}break}}if((f|0)!=(k|0)){break e}}jb(d+8|0,d);b=v[d>>2];v[d>>2]=0;if(!b){break b}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break b}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}break b}v[d>>2]=0;if(!c){break c}}b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(b){break c}b=v[c+4>>2];if(!b){v[c+4>>2]=-32767}if(!b){Qa[v[v[c>>2]+4>>2]](c)}}g=v[g>>2];if(g){continue}}break}b=v[d+8>>2]}if(!b){break a}h:{if(v[b+8>>2]){break h}b=v[d+8>>2];c=v[b+20>>2];if(!c){break h}Qa[c|0](v[b+24>>2])}b=v[a+116>>2];v[d+4>>2]=n;v[d>>2]=b;e=v[d+8>>2];i:{if(!b){break i}while(1){if(v[b+8>>2]!=(e|0)){b=v[b>>2];v[d>>2]=b;if(b){continue}break i}break}Ag(n,d);e=v[d+8>>2]}v[d+8>>2]=0;if(!e){continue}b=v[e+4>>2]-1|0;v[e+4>>2]=b;if(b){continue}b=v[e+4>>2];if(!b){v[e+4>>2]=-32767}if(!b){Qa[v[v[e>>2]+4>>2]](e)}continue}}Ma=d+16|0}function E0(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=a+320|0;h=v[a+344>>2];a:{b:{c:{d:{while(1){e:{switch(h|0){case 3:break b;case 2:break c;case 1:break d;case 0:break e;default:continue}}break}vw(d,v[a+340>>2]!=0);pB(d,A[a+280>>3],v[a+340>>2]);v[a+344>>2]=1;v[a+348>>2]=0}if(y[a+264>>2]<2|y[a+320>>2]<2){break b}v[a+344>>2]=2;v[a+348>>2]=1;d=v[a+332>>2];f=v[d>>2];v[a+312>>2]=f;v[a+316>>2]=v[d>>2]+24;A[a+304>>3]=A[f+16>>3];A[b>>3]=A[f>>3];A[c>>3]=A[f+8>>3];f=1;e=A[a+272>>3];if(!(e>=0)){break b}v[a+288>>2]=0;v[a+292>>2]=0;b=0;v[a+296>>2]=0;if(!(e>0)){break b}c=v[a+264>>2];while(1){g=A[(b<<3)+a>>3];if(!(g>2]=0;v[a+292>>2]=0;b=b+1|0;v[a+296>>2]=b;e=e-g;if(b>>>0>=c>>>0){v[a+296>>2]=0;b=0}if(e>0){continue}break}return 1}d=v[a+296>>2];f=d&1?1:2;g=A[a+288>>3];i=A[(d<<3)+a>>3]-g;e=A[a+304>>3];if(i>2]=0;v[a+292>>2]=0;e=e-i;A[a+304>>3]=e;d=d+1|0;v[a+296>>2]=d>>>0>2]?d:0;h=b;d=v[a+316>>2];g=A[d>>3];b=v[a+312>>2];A[h>>3]=g-e*(g-A[b>>3])/A[b+16>>3];e=A[d+8>>3];A[c>>3]=e-(e-A[b+8>>3])*A[a+304>>3]/A[b+16>>3];return f}A[a+288>>3]=g+e;d=v[a+316>>2];A[b>>3]=A[d>>3];A[c>>3]=A[d+8>>3];v[a+312>>2]=d;b=v[a+348>>2]+1|0;v[a+348>>2]=b;A[a+304>>3]=A[d+16>>3];c=v[a+320>>2];if(v[a+340>>2]){if(b>>>0>c>>>0){v[a+344>>2]=3;return f}h=a;d=v[a+332>>2];a=b>>>0>>0?b:0;v[h+316>>2]=v[d+(a>>>4&268435452)>>2]+B(a&63,24);return f}if(b>>>0>=c>>>0){v[a+344>>2]=3;return f}v[a+316>>2]=v[v[a+332>>2]+(b>>>4&268435452)>>2]+B(b&63,24)}return f}A[a+288>>3]=e;return 1}function Ku(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{b:{c:{d:{e:{f:{e=v[a+708>>2];switch(e|0){case 1:break d;case 0:break e;default:break f}}e=e-1|0;v[a+708>>2]=e;if((e|0)!=1){break e}Db(a,75434);uc(a,c);return}d=v[a+348>>2];e=v[a+200>>2];g:{h:{if(e&4){if((d|0)==1229209940){e=a+348|0;d=1229209940;break h}v[a+200>>2]=e|8}e=a+348|0;if(d&536870912){break g}}if((bv(a,d)|0)==3){break g}if(!v[a+640>>2]){break c}}if(!(v[a+640>>2]?1:w[a+205|0]&128)){break d}v[a+728>>2]=c;t[a+720|0]=0;d=v[a+348>>2];t[a+719|0]=d;t[a+718|0]=d>>>8;t[a+717|0]=d>>>16;t[a+716|0]=d>>>24;i:{if(!c){v[a+724>>2]=0;break i}d=fg(a,c);v[a+724>>2]=d;Ye(a,d,c);gc(a,d,c)}g=a+716|0;c=v[a+640>>2];j:{k:{if(!c){break k}c=Qa[c|0](a,g)|0;if((c|0)<=-1){break b}if(c){break j}c=v[e>>2];if(c&536870912){break k}if((bv(a,c)|0)!=3){break a}}e=0;l:{if(!a|!b){break l}m:{c=v[b+192>>2];n:{if((2147483647-c|0)<1){break n}c=c+1|0;if(c>>>0>214748363){break n}c=jf(a,B(c,20));if(c){break m}}Db(a,55363);break l}d=c;c=v[b+188>>2];h=cb(d,c,B(v[b+192>>2],20));Tb(a,c);v[b+188>>2]=0;while(1){c=B(e,20);d=c+g|0;f=v[d>>2];c=c+(B(v[b+192>>2],20)+h|0)|0;t[c+4|0]=0;v[c>>2]=f;f=v[d+12>>2];v[c+12>>2]=f;t[c+16|0]=v[a+200>>2];o:{if(!f){v[c+8>>2]=0;break o}f=jf(a,f);v[c+8>>2]=f;if(!f){Db(a,55363);v[c+12>>2]=0;break o}cb(f,v[d+8>>2],v[d+12>>2])}e=e+1|0;if((e|0)!=1){continue}break}v[b+188>>2]=h;v[b+192>>2]=v[b+192>>2]+1;v[b+184>>2]=v[b+184>>2]|512}}Tb(a,v[a+724>>2]);c=0;v[a+724>>2]=0}uc(a,c);return}dv(a,75495);L()}dv(a,75536);L()}dv(a,75495);L()}function $0a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:{b:{c:{d:{if(w[a+288|0]){d=v[a+2248>>2];if(!w[a+498|0]){t[a+2272|0]=0;b=n4(a,d,b);if(b){break b}}b=0;if(!(!w[d+31|0]|!w[d+32|0])){b=$g(a,d,0)}if(w[a+497|0]){break d}t[a+288|0]=0;break d}f=v[a+512>>2];if(f){e:{if(w[a+498|0]){break e}d=v[f+88>>2];c=v[d+1172>>2];f:{if(!c){break f}e=v[d+1176>>2];if(!e){break f}Qa[v[a+156>>2]](e,c);v[d+1176>>2]=0}c=v[d+1144>>2];g:{if(!c){break g}e=v[d+1148>>2];if(!e){break g}Qa[v[a+156>>2]](e,c);v[d+1148>>2]=0}d=cb(d,v[b+88>>2],1180);t[f+32|0]=w[b+32|0];c=v[d+1172>>2];if(c){c=Qa[v[a+152>>2]](c)|0;v[d+1176>>2]=c;if(!c){break a}cb(c,v[v[b+88>>2]+1176>>2],v[d+1172>>2])}c=v[d+1144>>2];if(!c){break e}c=Qa[v[a+152>>2]](c)|0;v[d+1148>>2]=c;if(!c){break a}cb(c,v[v[b+88>>2]+1148>>2],v[d+1144>>2])}if(!w[f+31|0]|!w[f+32|0]){break c}b=$g(a,f,0);break d}f=v[a+528>>2];h:{if(w[a+498|0]){break h}d=v[f+88>>2];c=v[d+1172>>2];i:{if(!c){break i}e=v[d+1176>>2];if(!e){break i}Qa[v[a+156>>2]](e,c);v[d+1176>>2]=0}c=v[d+1144>>2];j:{if(!c){break j}e=v[d+1148>>2];if(!e){break j}Qa[v[a+156>>2]](e,c);v[d+1148>>2]=0}d=cb(d,v[b+88>>2],1180);t[f+32|0]=w[b+32|0];c=v[d+1172>>2];if(c){c=Qa[v[a+152>>2]](c)|0;v[d+1176>>2]=c;if(!c){break a}cb(c,v[v[b+88>>2]+1176>>2],v[d+1172>>2])}c=v[d+1144>>2];if(!c){break h}c=Qa[v[a+152>>2]](c)|0;v[d+1148>>2]=c;if(!c){break a}cb(c,v[v[b+88>>2]+1148>>2],v[d+1144>>2])}b=$g(a,f,0)}if(b){break b}}if(w[a+497|0]){t[a+498|0]=99;return 0}b=0;t[a+498|0]=0}return b|0}ob(a,1,0,0);return 1}function $R(a,b,c){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;i=Ma-16|0;Ma=i;a:{b:{c:{d:{e:{f:{d=v[a+708>>2];switch(d|0){case 1:break d;case 0:break e;default:break f}}d=d-1|0;v[a+708>>2]=d;if((d|0)!=1){break e}Db(a,68949);uc(a,c);break a}d=v[a+200>>2];if(!(d&1)){break c}if(d&4){v[a+200>>2]=d|8}Tb(a,v[a+740>>2]);d=jf(a,c+1|0);v[a+740>>2]=d;if(!d){Db(a,69152);break a}Ye(a,d,c);gc(a,d,c);e=uc(a,0);d=v[a+740>>2];if(e){Tb(a,d);v[a+740>>2]=0;break a}t[c+d|0]=0;h=v[a+740>>2];d=h;while(1){e=d;d=d+1|0;if(w[e|0]){continue}break}g:{if(c>>>0>=3){k=c+h|0;if(k-3>>>0>d>>>0){break g}}Db(a,69278);Tb(a,v[a+740>>2]);v[a+740>>2]=0;break a}l=t[e+2|0];f=e+3|0;d=f;h:{j=w[e+1|0];if(!j){break h}if((j|0)!=1){Db(a,69385);Tb(a,v[a+740>>2]);v[a+740>>2]=0;break a}d=f;if(!l){break h}Db(a,69969);Tb(a,v[a+740>>2]);v[a+740>>2]=0;break a}while(1){g=w[d|0];e=d+1|0;d=e;if(g){continue}break}if(e>>>0>=k>>>0){break b}d=e;while(1){m=w[d|0];g=d+1|0;d=g;if(m){continue}break}if(g>>>0>=k>>>0){Db(a,75232);Tb(a,v[a+740>>2]);v[a+740>>2]=0;break a}d=g-h|0;i:{if(j){xF(a,l,c,d,i+12|0);break i}n=i,o=zb(d+h|0),v[n+12>>2]=o}c=jf(a,28);if(!c){Db(a,75292);Tb(a,v[a+740>>2]);v[a+740>>2]=0;break a}v[c>>2]=j?2:1;g=f-h|0;f=v[a+740>>2];v[c+20>>2]=g+f;v[c+24>>2]=f+(e-h|0);e=v[i+12>>2];v[c+12>>2]=0;v[c+16>>2]=e;v[c+8>>2]=d+f;v[c+4>>2]=f;b=KE(a,b,c);Tb(a,c);Tb(a,v[a+740>>2]);v[a+740>>2]=0;if(!b){break a}dc(a,75360);L()}uc(a,c);break a}dc(a,69056);L()}Db(a,69278);Tb(a,v[a+740>>2]);v[a+740>>2]=0}Ma=i+16|0}function wDa(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,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,z=0,A=0;s=Ma-160|0;Ma=s;n=v[a+332>>2];b=v[b+84>>2];a=s;while(1){f=v[b+96>>2];j=u[c+48>>1];g=v[b+32>>2];h=u[c+16>>1];l=B(u[c>>1],v[b>>2])<<13|1024;k=B(v[b+64>>2],u[c+32>>1]);i=B(v[b+128>>2],u[c+64>>1]);m=k-i|0;v[a+64>>2]=l+B(m,-11584)>>11;j=B(f,j);g=B(g,h);f=B(j+g|0,6810);h=l+B(m,2896)|0;k=B(i+k|0,6476);i=h+k|0;g=f+B(g,4209)|0;v[a+128>>2]=i-g>>11;v[a>>2]=g+i>>11;g=h-k|0;f=f+B(j,-17828)|0;v[a+96>>2]=g-f>>11;v[a+32>>2]=f+g>>11;a=a+4|0;b=b+4|0;c=c+2|0;o=o+1|0;if((o|0)!=8){continue}break}a=n+128|0;n=0;b=s;while(1){f=v[b+28>>2];i=v[b+12>>2];m=f+i|0;j=B(m,7791);l=v[b+24>>2];h=v[b+8>>2];g=B(l+h|0,6810);c=v[(n<<2)+d>>2]+e|0;o=g+B(h,4209)|0;k=(v[b>>2]<<13)+131072|0;h=v[b+16>>2];x=k+B(h,9373)|0;p=o+x|0;i=i-f|0;q=B(i,2531);y=v[b+20>>2];r=y<<13;z=q+r|0;f=v[b+4>>2];A=z+(j+B(f,11443)|0)|0;t[c|0]=w[a+(p+A>>>18&1023)|0];t[c+9|0]=w[a+(p-A>>>18&1023)|0];m=B(m,4815);p=(r-q|0)-(i<<12)|0;q=B(f,10323)-(m+p|0)|0;g=g+B(l,-17828)|0;l=k+B(h,-3580)|0;r=g+l|0;t[c+1|0]=w[a+(q+r>>>18&1023)|0];t[c+8|0]=w[a+(r-q>>>18&1023)|0];i=f-(i+y|0)<<13;h=k+B(h,-11586)|0;t[c+2|0]=w[a+(i+h>>>18&1023)|0];t[c+7|0]=w[a+(h-i>>>18&1023)|0];h=p+(B(f,5260)-m|0)|0;g=l-g|0;t[c+3|0]=w[a+(h+g>>>18&1023)|0];t[c+6|0]=w[a+(g-h>>>18&1023)|0];f=(B(f,1812)-j|0)+z|0;j=x-o|0;t[c+4|0]=w[a+(f+j>>>18&1023)|0];t[c+5|0]=w[a+(j-f>>>18&1023)|0];b=b+32|0;n=n+1|0;if((n|0)!=5){continue}break}Ma=s+160|0}function mGa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;h=Ma-16|0;Ma=h;b=v[b>>2];v[h+12>>2]=0;a:{if(!b){e=35;break a}e=6;g=v[b+132>>2];if(!g|y[b+16>>2]<=c>>>0){break a}e=x[g+4>>1];b=(e|0)==768;c=B(c?c-1|0:w[g+106|0],b?6:4)+(b?148:118)|0;b:{f=b?-4:-2;b=v[g+8>>2];if(c>>>0>=(f+b|0)-2>>>0){break b}c=c+v[g+160>>2]|0;i=w[c|0]|w[c+1|0]<<8;v[a+80>>2]=i;f=b;c=c+2|0;j=w[c|0];if((e|0)==768){b=w[c+2|0]<<16|w[c+3|0]<<24|w[c+1|0]<<8}else{b=w[c+1|0]<<8}b=j|b;if(f>>>0<=b>>>0){break b}c=x[g+96>>1];e=0;v[a+100>>2]=0;t[a+94|0]=1;v[a+76>>2]=c;f=x[g+80>>1];v[a+72>>2]=1651078259;v[a+104>>2]=f;i=i<<6;v[a+40>>2]=i;c=c<<6;v[a+28>>2]=c;v[a+24>>2]=i;v[a+32>>2]=0;v[a+36>>2]=f<<6;kt(a+24|0,c);if(d&4194304){break a}e=3;c=v[v[a+4>>2]+100>>2];i=v[g+160>>2];d=v[a+80>>2]+7|0;f=d>>>3|0;v[a+84>>2]=f;if(d>>>0<8){break a}j=v[g+8>>2];g=v[a+76>>2];if(j>>>0>>0){break a}c=yb(c,f,0,g,0,h+12|0);v[a+88>>2]=c;e=v[h+12>>2];if(e){break a}b=b+i|0;if(d&8){d=v[a+76>>2];if((d|0)>=1){d=b+d|0;e=c;while(1){t[e|0]=w[b|0];e=v[a+84>>2]+e|0;b=b+1|0;if(d>>>0>b>>>0){continue}break}}c=c+1|0;d=f-1|0}else{d=f}if((f|0)!=1){while(1){e=v[a+76>>2];if((e|0)>=1){f=b+e|0;e=c;while(1){t[e|0]=w[b|0];e=v[a+84>>2]+e|0;b=b+1|0;if(f>>>0>b>>>0){continue}break}}e=v[a+76>>2];if((e|0)>0){f=b+e|0;e=c+1|0;while(1){t[e|0]=w[b|0];e=v[a+84>>2]+e|0;b=b+1|0;if(f>>>0>b>>>0){continue}break}}c=c+2|0;d=d-2|0;if(d){continue}break}}e=v[h+12>>2];v[v[a+156>>2]+4>>2]=1;break a}e=3;v[h+12>>2]=3}Ma=h+16|0;return e|0}function TXa(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0;if(e){r=e-1|0;s=e-2|0;q=(e|0)==1;while(1){a=f;t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];t[g+3|0]=w[a+3|0];f=a+4|0;g=g+4|0;a:{if(!q&o>>>0>=r>>>0){break a}j=o?(o|0)==(s|0)?d:b:c;h=!o&q;if(h){if(j>>>0<2){break a}h=j-1|0;k=h&1;if((j|0)!=2){i=h&-2;while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];t[g+3|0]=w[a+3|0];t[g+4|0]=w[a|0];t[g+5|0]=w[a+1|0];t[g+6|0]=w[a+2|0];t[g+7|0]=w[a+3|0];g=g+8|0;i=i-2|0;if(i){continue}break}}if(!k){break a}t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];t[g+3|0]=w[a+3|0];g=g+4|0;break a}n=h?0:f;p=j<<1;l=j+1>>>1|0;if(j>>>0>=3){u=l>>>0>2?l:2;i=1;while(1){k=g;m=w[n|0];h=w[a|0];if((m|0)!=(h|0)){h=h+(((B(m-h|0,i)<<1)+j|0)/(p|0)|0)|0}t[k|0]=h;m=w[n+1|0];h=w[a+1|0];if((m|0)!=(h|0)){h=h+(((B(m-h|0,i)<<1)+j|0)/(p|0)|0)|0}t[k+1|0]=h;m=w[n+2|0];h=w[a+2|0];if((m|0)!=(h|0)){h=h+(((B(m-h|0,i)<<1)+j|0)/(p|0)|0)|0}t[k+2|0]=h;t[g+3|0]=w[a+3|0];g=g+4|0;i=i+1|0;if((u|0)!=(i|0)){continue}break}}if(j>>>0<=l>>>0){break a}while(1){k=g;i=w[n|0];h=w[a|0];if((i|0)!=(h|0)){h=h+(((B(i-h|0,l)<<1)+j|0)/(p|0)|0)|0}t[k|0]=h;i=w[n+1|0];h=w[a+1|0];if((i|0)!=(h|0)){h=h+(((B(i-h|0,l)<<1)+j|0)/(p|0)|0)|0}t[k+1|0]=h;i=w[n+2|0];h=w[a+2|0];if((i|0)!=(h|0)){h=h+(((B(i-h|0,l)<<1)+j|0)/(p|0)|0)|0}t[k+2|0]=h;t[g+3|0]=w[n+3|0];g=g+4|0;l=l+1|0;if((l|0)!=(j|0)){continue}break}}o=o+1|0;if((o|0)!=(e|0)){continue}break}}return 0}function NMa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=-1;a:{d=v[a+180>>2];b:{if(!d){break b}g=zn(d,2);if(!g|x[g>>1]==65535){break b}c:{if(!b){f=1;break c}e=b&7;d:{if(b-1>>>0<7){f=1;break d}d=b&-8;f=1;while(1){f=f<<8;d=d-8|0;if(d){continue}break}}if(!e){break c}while(1){f=f<<1;e=e-1|0;if(e){continue}break}}d=44;e=0;e:{f:{switch(c|0){case 2:d=52;break e;case 3:d=56;break e;case 5:d=84;break e;case 4:c=v[g+80>>2]&f;if(c){return(c|0)!=0|0}a=v[a+180>>2];c=v[a+36>>2];if((c|0)<1){break b}g:{switch(b-17|0){case 14:a=v[a+40>>2];d=0;while(1){b=v[a+(d<<2)>>2];if(!(x[b+10>>1]|x[b+8>>1]!=3)){break a}d=d+1|0;if((c|0)!=(d|0)){continue}break};break b;case 0:a=v[a+40>>2];d=0;while(1){b=v[a+(d<<2)>>2];if(!(x[b+10>>1]!=2|x[b+8>>1]!=3)){break a}d=d+1|0;if((c|0)!=(d|0)){continue}break};break b;case 1:a=v[a+40>>2];d=0;while(1){b=v[a+(d<<2)>>2];if(!(x[b+10>>1]!=3|x[b+8>>1]!=3)){break a}d=d+1|0;if((c|0)!=(d|0)){continue}break};break b;case 3:a=v[a+40>>2];d=0;while(1){b=v[a+(d<<2)>>2];if(!(x[b+10>>1]!=4|x[b+8>>1]!=3)){break a}d=d+1|0;if((c|0)!=(d|0)){continue}break};break b;case 2:a=v[a+40>>2];d=0;while(1){b=v[a+(d<<2)>>2];if(!(x[b+10>>1]!=5|x[b+8>>1]!=3)){break a}d=d+1|0;if((c|0)!=(d|0)){continue}break};break b;case 4:break g;default:break b}}a=v[a+40>>2];d=0;while(1){b=v[a+(d<<2)>>2];if(!(x[b+10>>1]!=6|x[b+8>>1]!=3)){break a}d=d+1|0;if((c|0)!=(d|0)){continue}break};break b;case 1:break f;case 0:break e;default:break b}}d=48}e=(v[d+g>>2]&f)!=0}return e|0}return 1}function ms(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;j=Ma-48|0;Ma=j;v[j+8>>2]=0;v[j+12>>2]=0;v[j>>2]=0;v[j+4>>2]=0;n=g*3.141592/180;o=oe(n);m=ef(_d(n)/f,o/e);r=j,s=oe(m)*e+c,A[r+40>>3]=s;r=j,s=_d(m)*f+d,A[r+32>>3]=s;zd(b,j+40|0,j+32|0);A[j+24>>3]=A[j+40>>3]*25.4/96;A[j+16>>3]=A[j+32>>3]*25.4/96;Qa[v[v[a>>2]+300>>2]](a,j+24|0,j+16|0)|0;if(D(g)<2147483648){k=~~g}else{k=-2147483648}k=((k|0)/90|0)+1|0;k=k>>>0>1?k:1;k=k>>>0<4?k:4;if(D(h)<2147483648){l=~~h}else{l=-2147483648}l=((l|0)/90|0)+1|0;l=l>>>0>1?l:1;l=l>>>0<4?l:4;o=h*3.141592/180;a:{if(!i){if(k>>>0>l>>>0){break a}h=o;i=(k|0)==(l|0);h=i?h:+C(C(C(B(k,90)>>>0)*C(3.141592025756836))/C(180));g=oe(h);Qy(a,b,c,d,e,f,m,ef(_d(h)/f,g/e),j+8|0,j);if(i){break a}i=k;while(1){h=o;i=i+1|0;p=(l|0)==(i|0);if(!p){h=+C(C(C(B(i,90)>>>0)*C(3.141592025756836))/C(180))}g=oe(h);h=_d(h);n=(i|0)!=(k|0)?+C(C(C(B(i,90)-90>>>0)*C(3.141592025756836))/C(180)):n;m=oe(n);Qy(a,b,c,d,e,f,ef(_d(n)/f,m/e),ef(h/f,g/e),j+8|0,j);if(!p){continue}break}break a}if(k>>>0>>0){break a}h=o;h=(k|0)!=(l|0)?+C(C(C(B(k,90)-90>>>0)*C(3.141592025756836))/C(180)):h;g=oe(h);Qy(a,b,c,d,e,f,m,ef(_d(h)/f,g/e),j+8|0,j);i=k-1|0;if(l>>>0>i>>>0){break a}while(1){h=n;h=(i|0)!=(k|0)?+C(C(C(B(i,90)>>>0)*C(3.141592025756836))/C(180)):h;g=o;g=(i|0)!=(l|0)?+C(C(C(B(i,90)-90>>>0)*C(3.141592025756836))/C(180)):g;m=oe(g);g=_d(g);q=oe(h);Qy(a,b,c,d,e,f,ef(_d(h)/f,q/e),ef(g/f,m/e),j+8|0,j);i=i-1|0;if(l>>>0<=i>>>0){continue}break}}Ma=j+48|0}function ft(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=B(d,1348)+a|0;k=v[f+44>>2];g=b?v[(B(b,12)+c|0)-12>>2]:0;e=v[v[a+2748>>2]+40>>2];b=(e|0)/256|0;l=(B(e,6e3)|0)/2048|0;a:{if((k|0)<1){break a}c=v[f+52>>2];h=c+B(k,44)|0;m=e+255>>>0<511?1:b;i=v[(B(d,1348)+a|0)+68>>2];b:{if(!g){b=c;while(1){if((i|0)==t[b+1|0]){e=u[b+2>>1];a=c;while(1){c:{if((i|0)!=(0-t[a+1|0]|0)){break c}f=u[a+2>>1];if((f|0)<=(e|0)){break c}g=u[a+8>>1];d=u[b+8>>1];j=(d|0)>(g|0)?g:d;g=u[a+6>>1];d=u[b+6>>1];d=j-((d|0)<(g|0)?g:d)|0;if((d|0)<(m|0)){break c}d=(f-e|0)+((l|0)/(d|0)|0)|0;if((d|0)>2]){v[b+20>>2]=a;v[b+28>>2]=d}if((d|0)>=v[a+28>>2]){break c}v[a+20>>2]=b;v[a+28>>2]=d}a=a+44|0;if(h>>>0>a>>>0){continue}break}}b=b+44|0;if(h>>>0>b>>>0){continue}break}break b}b=c;while(1){if((i|0)==t[b+1|0]){j=u[b+2>>1];a=c;while(1){d:{if((i|0)!=(0-t[a+1|0]|0)){break d}e=u[a+2>>1];if((e|0)<=(j|0)){break d}f=u[a+8>>1];d=u[b+8>>1];n=(d|0)>(f|0)?f:d;f=u[a+6>>1];d=u[b+6>>1];f=n-((d|0)<(f|0)?f:d)|0;if((f|0)<(m|0)){break d}d=(e-j<<10)/(g|0)|0;e=32e3;e:{if((d|0)>11024){break e}e=0;if((d|0)<1025){break e}d=d-1024|0;e=(B(d,d)>>>0)/3e3|0}d=e+((l|0)/(f|0)|0)|0;if((d|0)>2]){v[b+20>>2]=a;v[b+28>>2]=d}if((d|0)>=v[a+28>>2]){break d}v[a+20>>2]=b;v[a+28>>2]=d}a=a+44|0;if(h>>>0>a>>>0){continue}break}}b=b+44|0;if(h>>>0>b>>>0){continue}break}}if((k|0)<1){break a}while(1){a=v[c+20>>2];if(!(!a|v[a+20>>2]==(c|0))){v[c+20>>2]=0;v[c+24>>2]=v[a+20>>2]}c=c+44|0;if(h>>>0>c>>>0){continue}break}}}function CE(a,b){var c=0,d=0,e=0,f=0;e=Ma-32|0;Ma=e;v[a+8>>2]=0;v[a>>2]=977532;v[a+4>>2]=0;v[a+12>>2]=v[279250];d=a+8|0;c=v[b+8>>2];a:{if(c){Qa[v[v[c>>2]+28>>2]](e+8|0,c,1);break a}v[e+8>>2]=0}jb(d,e+8|0);c=v[e+8>>2];v[e+8>>2]=0;b:{if(!c){break b}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break b}d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}}c=v[a+8>>2];c=v[(c?c+12|0:1117e3)>>2];v[a+16>>2]=0;v[a+12>>2]=c;v[a+20>>2]=v[279250];d=a+16|0;c=v[b+16>>2];c:{if(c){Qa[v[v[c>>2]+28>>2]](e+16|0,c,1);break c}v[e+16>>2]=0}jb(d,e+16|0);c=v[e+16>>2];v[e+16>>2]=0;d:{if(!c){break d}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break d}d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}}c=v[a+16>>2];c=v[(c?c+12|0:1117e3)>>2];v[a+24>>2]=0;v[a+20>>2]=c;v[a+28>>2]=v[279250];d=a+24|0;c=v[b+24>>2];e:{if(c){Qa[v[v[c>>2]+28>>2]](e+24|0,c,1);break e}v[e+24>>2]=0}jb(d,e+24|0);c=v[e+24>>2];v[e+24>>2]=0;f:{if(!c){break f}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break f}d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}}c=v[a+24>>2];v[a+28>>2]=v[(c?c+12|0:1117e3)>>2];c=v[b+36>>2];v[a+32>>2]=v[b+32>>2];v[a+36>>2]=c;c=v[b+44>>2];v[a+40>>2]=v[b+40>>2];v[a+44>>2]=c;c=v[b+52>>2];v[a+48>>2]=v[b+48>>2];v[a+52>>2]=c;c=v[b+60>>2];v[a+56>>2]=v[b+56>>2];v[a+60>>2]=c;d=b- -64|0;f=v[d+4>>2];c=a- -64|0;v[c>>2]=v[d>>2];v[c+4>>2]=f;c=v[b+76>>2];v[a+72>>2]=v[b+72>>2];v[a+76>>2]=c;c=v[b+84>>2];v[a+80>>2]=v[b+80>>2];v[a+84>>2]=c;t[a+88|0]=w[b+88|0];Ma=e+32|0;return a}function nba(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,j=0,k=0,l=0,m=0;a=Ma-16|0;Ma=a;v[a+12>>2]=c;v[a+8>>2]=f;v[a+12>>2]=c;v[a+8>>2]=f;a:{b:{c:{while(1){d:{f=v[a+12>>2];if(f>>>0>=d>>>0){break d}j=v[a+8>>2];if(j>>>0>=g>>>0){break d}b=2;c=w[f|0];if(c>>>0>1114111){break b}m=a;e:{if(c<<24>>24>=0){u[j>>1]=c;b=f+1|0;break e}if(c>>>0<194){break b}if(c>>>0<=223){if((d-f|0)<2){break c}i=w[f+1|0];if((i&192)!=128){break a}c=i&63|c<<6&1984;if(c>>>0>1114111){break a}u[j>>1]=c;b=f+2|0;break e}if(c>>>0<=239){if((d-f|0)<3){break c}k=w[f+2|0];i=w[f+1|0];f:{g:{if((c|0)!=237){if((c|0)!=224){break g}if((i&224)==160){break f}break a}if((i&224)==128){break f}break a}if((i&192)!=128){break a}}if((k&192)!=128){break a}c=k&63|((i&63)<<6|c<<12);if((c&65535)>>>0>1114111){break a}u[j>>1]=c;b=f+3|0;break e}if(c>>>0>244){break b}b=1;if((d-f|0)<4){break a}k=w[f+2|0];i=w[f+1|0];h:{i:{switch(c-240|0){case 0:if((i+112&255)>>>0>=48){break b}break h;case 4:if((i&240)!=128){break b}break h;default:break i}}if((i&192)!=128){break b}}if((k&192)!=128){break b}f=w[f+3|0];if((f&192)!=128){break b}if((g-j|0)<4){break a}b=2;f=f&63;l=k<<6;c=c&7;if((f|(l&4032|(i<<12&258048|c<<18)))>>>0>1114111){break a}b=i<<2;u[j>>1]=(k>>>4&3|(b&192|c<<8|b&60))+16320|55296;v[a+8>>2]=j+2;u[j+2>>1]=f|l&960|56320;b=v[a+12>>2]+4|0}v[m+12>>2]=b;v[a+8>>2]=v[a+8>>2]+2;continue}break}b=d>>>0>f>>>0;break a}b=1;break a}b=2}v[e>>2]=v[a+12>>2];v[h>>2]=v[a+8>>2];Ma=a+16|0;return b|0}function Ama(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;e=Ma-32|0;Ma=e;f=v[a+4>>2];a=e+16|0;$p(a,b);$p(e,c);b=a;a:{b:{a=v[f+8>>2];h=v[f+12>>2];if((a|0)==(h|0)){break b}c=w[b+11|0];d=c<<24>>24<0;f=d?v[b>>2]:b;g=d?v[b+4>>2]:c;if(!g){while(1){d=w[a+11|0];b=d<<24>>24;c:{if((b|0)<0?v[a+4>>2]:d){break c}if((b|0)<1){break b}if(w[f|0]!=w[a|0]){break c}c=a;b=f;while(1){d=d-1|0;if(!d){break b}g=w[b+1|0];b=b+1|0;c=c+1|0;if((g|0)==w[c|0]){continue}break}}a=a+20|0;if((h|0)!=(a|0)){continue}break a}}while(1){d=w[a+11|0];c=d<<24>>24;b=(c|0)<0;d:{if((g|0)!=((b?v[a+4>>2]:d)|0)){break d}i=v[a>>2];if(!b){if(!c){break b}c=a;b=f;if(w[b|0]!=(i&255)){break d}while(1){d=d-1|0;if(!d){break b}i=w[b+1|0];b=b+1|0;c=c+1|0;if((i|0)==w[c|0]){continue}break}break d}if(!Jb(i,f,g)){break b}}a=a+20|0;if((h|0)!=(a|0)){continue}break}break a}if((a|0)==(h|0)|(a|0)==(e|0)){break a}d=w[e+11|0];b=d<<24>>24;if(t[a+11|0]>=0){if((b|0)>=0){b=v[e+4>>2];v[a>>2]=v[e>>2];v[a+4>>2]=b;v[a+8>>2]=v[e+8>>2];break a}f=v[e>>2];c=Ma-16|0;Ma=c;b=v[e+4>>2];e:{if(b>>>0<=10){t[a+11|0]=b;sk(a,f,b);t[c+15|0]=0;t[a+b|0]=w[c+15|0];break e}g=a;a=w[a+11|0];$t(g,10,b-10|0,a,0,a,b,f)}Ma=c+16|0;break a}b=(b|0)<0;f=b?v[e>>2]:e;c=Ma-16|0;Ma=c;b=b?v[e+4>>2]:d;d=v[a+8>>2]&2147483647;f:{if(b>>>0>>0){d=v[a>>2];v[a+4>>2]=b;sk(d,f,b);t[c+15|0]=0;t[b+d|0]=w[c+15|0];break f}g=a;a=v[a+4>>2];$t(g,d-1|0,(b-d|0)+1|0,a,0,a,b,f)}Ma=c+16|0}if(t[e+11|0]<=-1){$a(v[e>>2])}if(t[e+27|0]<=-1){$a(v[e+16>>2])}Ma=e+32|0}function cda(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;if(f){a=e>>>0<8;c=h<<2;while(1){h=e;if(!a){while(1){v[b>>2]=w[i|0]|w[j|0]<<8|w[k|0]<<16|w[l|0]<<24;v[b+4>>2]=w[i+1|0]|w[j+1|0]<<8|w[k+1|0]<<16|w[l+1|0]<<24;v[b+8>>2]=w[i+2|0]|w[j+2|0]<<8|w[k+2|0]<<16|w[l+2|0]<<24;v[b+12>>2]=w[i+3|0]|w[j+3|0]<<8|w[k+3|0]<<16|w[l+3|0]<<24;v[b+16>>2]=w[i+4|0]|w[j+4|0]<<8|w[k+4|0]<<16|w[l+4|0]<<24;v[b+20>>2]=w[i+5|0]|w[j+5|0]<<8|w[k+5|0]<<16|w[l+5|0]<<24;v[b+24>>2]=w[i+6|0]|w[j+6|0]<<8|w[k+6|0]<<16|w[l+6|0]<<24;v[b+28>>2]=w[i+7|0]|w[j+7|0]<<8|w[k+7|0]<<16|w[l+7|0]<<24;b=b+32|0;l=l+8|0;k=k+8|0;j=j+8|0;i=i+8|0;h=h-8|0;if(h>>>0>7){continue}break}}f=f-1|0;a:{switch(h-1|0){case 6:v[b>>2]=w[i|0]|w[j|0]<<8|w[k|0]<<16|w[l|0]<<24;b=b+4|0;l=l+1|0;k=k+1|0;j=j+1|0;i=i+1|0;case 5:v[b>>2]=w[i|0]|w[j|0]<<8|w[k|0]<<16|w[l|0]<<24;b=b+4|0;l=l+1|0;k=k+1|0;j=j+1|0;i=i+1|0;case 4:v[b>>2]=w[i|0]|w[j|0]<<8|w[k|0]<<16|w[l|0]<<24;b=b+4|0;l=l+1|0;k=k+1|0;j=j+1|0;i=i+1|0;case 3:v[b>>2]=w[i|0]|w[j|0]<<8|w[k|0]<<16|w[l|0]<<24;b=b+4|0;l=l+1|0;k=k+1|0;j=j+1|0;i=i+1|0;case 2:v[b>>2]=w[i|0]|w[j|0]<<8|w[k|0]<<16|w[l|0]<<24;b=b+4|0;l=l+1|0;k=k+1|0;j=j+1|0;i=i+1|0;case 1:v[b>>2]=w[i|0]|w[j|0]<<8|w[k|0]<<16|w[l|0]<<24;b=b+4|0;l=l+1|0;k=k+1|0;j=j+1|0;i=i+1|0;case 0:v[b>>2]=w[i|0]|w[j|0]<<8|w[k|0]<<16|w[l|0]<<24;b=b+4|0;l=l+1|0;k=k+1|0;j=j+1|0;i=i+1|0;break;default:break a}}l=g+l|0;k=g+k|0;j=g+j|0;i=g+i|0;b=b+c|0;if(f){continue}break}}}function LE(a,b){var c=0,d=0,e=0,f=0;c=Ma-48|0;Ma=c;v[a>>2]=0;d=v[279250];v[a+4>>2]=d;a:{if(b>>>0>7){break a}b:{switch(b-6|0){case 1:b=c+24|0;d=Oc(c+16|0,310401);Rc(b,326280,d);ic(c+32|0,b,313360);b=v[c+32>>2];c:{if(b){Qa[v[v[b>>2]+28>>2]](c+8|0,b,1);break c}v[c+8>>2]=0}jb(a,c+8|0);b=v[c+8>>2];v[c+8>>2]=0;d:{if(!b){break d}e=v[b+4>>2]-1|0;v[b+4>>2]=e;if(e){break d}e=v[b+4>>2];if(!e){v[b+4>>2]=-32767}if(!e){Qa[v[v[b>>2]+4>>2]](b)}}b=a;a=v[a>>2];v[b+4>>2]=v[(a?a+12|0:1117e3)>>2];db(c+32|0);db(c+24|0);db(d);break a;case 0:b=c+24|0;d=Oc(c+16|0,312260);Rc(b,326280,d);ic(c+32|0,b,346319);b=v[c+32>>2];e:{if(b){Qa[v[v[b>>2]+28>>2]](c+8|0,b,1);break e}v[c+8>>2]=0}jb(a,c+8|0);b=v[c+8>>2];v[c+8>>2]=0;f:{if(!b){break f}e=v[b+4>>2]-1|0;v[b+4>>2]=e;if(e){break f}e=v[b+4>>2];if(!e){v[b+4>>2]=-32767}if(!e){Qa[v[v[b>>2]+4>>2]](b)}}b=a;a=v[a>>2];v[b+4>>2]=v[(a?a+12|0:1117e3)>>2];db(c+32|0);db(c+24|0);db(d);break a;default:break b}}v[c+12>>2]=d;d=0;v[c+8>>2]=0;e=b<<1|1;while(1){Pd(c+8|0,32);f=(d|0)!=(e|0);d=d+1|0;if(f){continue}break}d=c+16|0;ic(d,c+8|0,326280);e=c+24|0;ic(e,d,v[(b<<2)+973024>>2]);ic(c+32|0,e,346319);b=v[c+32>>2];g:{if(b){Qa[v[v[b>>2]+28>>2]](c+40|0,b,1);break g}v[c+40>>2]=0}jb(a,c+40|0);b=v[c+40>>2];v[c+40>>2]=0;h:{if(!b){break h}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break h}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}b=a;a=v[a>>2];v[b+4>>2]=v[(a?a+12|0:1117e3)>>2];db(c+32|0);db(c+24|0);db(c+16|0);db(c+8|0)}Ma=c+48|0}function FI(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;v[c+20>>2]=a;i=b+60|0;v[c+24>>2]=i;v[c+12>>2]=v[b+220>>2];f=b;a:{b:{c:{d:{while(1){e=w[a|0];if(!e|(e|0)==44){break a}t[f|0]=e;e=w[a+1|0];if(!((e|0)!=44?e:0)){f=f+1|0;a=a+1|0;break a}t[f+1|0]=e;e=w[a+2|0];if(!e|(e|0)==44){break d}t[f+2|0]=e;e=w[a+3|0];if(!e|(e|0)==44){break c}t[f+3|0]=e;e=w[a+4|0];if(!e|(e|0)==44){break b}if((g|0)!=55){t[f+4|0]=e;a=a+5|0;f=f+5|0;g=g+5|0;continue}break}v[d>>2]=1;t[b|0]=0;return}f=f+2|0;a=a+2|0;break a}f=f+3|0;a=a+3|0;break a}f=f+4|0;a=a+4|0}t[f|0]=0;v[c+20>>2]=b;e:while(1){f:{e=w[a|0];g:{if((e|0)!=44){if(e){break g}break f}a=a+1|0}h:{i:{f=a;if(!Kb(f,313405,7)){g=f+7|0;j=0;e=i;while(1){f=w[g|0];if(!f){a=g;break i}if((f|0)==44){a=g;break i}a=g+1|0;if((j|0)==156){v[d>>2]=1;t[i|0]=0;break h}t[e|0]=f;h=e+1|0;f=w[a|0];if(!(f?(f|0)!=44:0)){e=h;break i}t[e+1|0]=f;h=e+2|0;a=g+2|0;f=w[g+2|0];if(!f){e=h;break i}if((f|0)==44){e=h;break i}t[e+2|0]=f;h=e+3|0;a=g+3|0;f=w[g+3|0];if(!f){e=h;break i}if((f|0)==44){e=h;break i}else{t[e+3|0]=f;e=e+4|0;j=j+4|0;g=g+4|0;continue}}}if(!Kb(f,313396,8)){e=t[f+8|0];if(!e){a=v[b+220>>2]&-16;v[b+220>>2]=a;v[c+12>>2]=a;return}a=f+8|0;e=e-48|0;if((e&254)>>>0>9){continue}a=e|v[b+220>>2]&-16;v[b+220>>2]=a;v[c+12>>2]=a;a=f+9|0;continue}if(!Kb(f,258593,8)){a=v[b+220>>2]|16;v[b+220>>2]=a;v[c+12>>2]=a;a=f+8|0;continue}while(1){a=f+1|0;e=w[f|0];if((e|0)==44){continue e}f=a;if(e){continue}break}break f}t[e|0]=0}if(!f|(f|0)==44){continue}}break}}function xXa(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;if(e){p=e-1|0;q=e-2|0;m=(e|0)==1;while(1){a=f;u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];f=a+4|0;g=g+4|0;a:{if(!m&l>>>0>=p>>>0){break a}j=l?(l|0)==(q|0)?d:b:c;n=!l&m;if(n){if(j>>>0<2){break a}h=j-1|0;i=h&3;if(j-2>>>0>=3){h=h&-4;while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a>>1];u[g+6>>1]=x[a+2>>1];u[g+8>>1]=x[a>>1];u[g+10>>1]=x[a+2>>1];u[g+12>>1]=x[a>>1];u[g+14>>1]=x[a+2>>1];g=g+16|0;h=h-4|0;if(h){continue}break}}if(!i){break a}while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];g=g+4|0;i=i-1|0;if(i){continue}break}break a}i=j+1>>>1|0;b:{if(j>>>0<3){break b}k=i>>>0>2?i:2;o=k-1|0;h=o&3;if(k-2>>>0>=3){k=o&-4;while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a>>1];u[g+6>>1]=x[a+2>>1];u[g+8>>1]=x[a>>1];u[g+10>>1]=x[a+2>>1];u[g+12>>1]=x[a>>1];u[g+14>>1]=x[a+2>>1];g=g+16|0;k=k-4|0;if(k){continue}break}}if(!h){break b}while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];g=g+4|0;h=h-1|0;if(h){continue}break}}if(i>>>0>=j>>>0){break a}a=n?0:f;k=(i^-1)+j|0;h=j-i&3;if(h){while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];i=i+1|0;g=g+4|0;h=h-1|0;if(h){continue}break}}if(k>>>0<3){break a}while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a>>1];u[g+6>>1]=x[a+2>>1];u[g+8>>1]=x[a>>1];u[g+10>>1]=x[a+2>>1];u[g+12>>1]=x[a>>1];u[g+14>>1]=x[a+2>>1];g=g+16|0;i=i+4|0;if((j|0)!=(i|0)){continue}break}}l=l+1|0;if((l|0)!=(e|0)){continue}break}}return 0}function xV(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=Ma-16|0;Ma=i;j=eb(Pb(256,4),0,1024);f=-1;a:{if(v[b+32>>2]<1){d=-1;e=-1;break a}e=-1;d=-1;while(1){g=v[b+28>>2]+B(c,20)|0;h=v[g+4>>2];g=v[g>>2];b:{if(!((g|0)!=3|(h|0)!=1)){f=c;break b}if(!((h|0)>=5|g)){f=c;break b}if(!(h|(g|0)!=1)){e=c;break b}d=(g|0)==3?h?d:c:d}c=c+1|0;if((c|0)>2]){continue}break}}c=v[a+24>>2];c:{d:{e:{if((e|0)>-1?v[a+1452>>2]:0){break e}if(!(!v[a+1448>>2]|v[a+32>>2]>-1)&(f|0)>-1){break d}c=c&4;if(!c&(f|0)>-1){break d}if(!c&(e|0)>-1){break e}c=0;f=(d|0)>-1?d:(f|0)>-1?f:(e|0)>-1?e:0;while(1){e=(c<<2)+j|0;d=jn(b,f,c);v[e>>2]=d;if(!d){k=e,l=jn(b,f,c+61440|0),v[k>>2]=l}c=c+1|0;if((c|0)!=256){continue}break}break c}c=0;while(1){h=c<<2;d=v[(h+a|0)+164>>2];f:{g:{if(d){g=FU(v[v[291134]>>2],d);if(g){d=jn(b,e,g);break g}if((f|0)<0){break f}d=vG(v[291134],d);v[i+12>>2]=d;if(!d){break f}d=jn(b,f,d);break g}d=-1;if((f|0)<0){break g}if(!ql(v[a+1444>>2],c,i+12|0,1)){break g}d=jn(b,e,v[i+12>>2])}v[h+j>>2]=d}c=c+1|0;if((c|0)!=256){continue}break}break c}c=0;while(1){h=c<<2;e=v[(h+a|0)+164>>2];h:{i:{if(e){d=vG(v[291134],e);v[i+12>>2]=d;if(d){break i}}e=-1;if(!ql(v[a+1444>>2],c,i+12|0,1)){break h}d=v[i+12>>2]}e=jn(b,f,d)}v[h+j>>2]=e;c=c+1|0;if((c|0)!=256){continue}break}}c=0;while(1){e=c<<2;f=e+j|0;j:{if(v[f>>2]>0){break j}e=v[(a+e|0)+164>>2];if(!e){break j}d=v[b+60>>2];if(d){e=yz(d,e)}else{e=0}v[f>>2]=e}c=c+1|0;if((c|0)!=256){continue}break}Ma=i+16|0;return j}function aCa(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,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,z=0,A=0;x=Ma-208|0;Ma=x;n=v[a+332>>2];a=v[b+84>>2];b=x;while(1){h=v[a+192>>2];l=u[c+96>>1];f=v[a+64>>2];m=u[c+32>>1];j=B(u[c>>1],v[a>>2])<<13|1024;g=B(v[a+128>>2],u[c+64>>1]);o=j+B(g,-11586)>>11;i=B(v[a+32>>2],u[c+16>>1]);p=B(v[a+160>>2],u[c+80>>1]);q=B(v[a+96>>2],u[c+48>>1]);r=B(v[a+224>>2],u[c+112>>1]);k=q-r|0;s=i-(p+k|0)<<2;v[b+140>>2]=o-s;v[b+40>>2]=o+s;l=B(h,l);f=B(f,m);h=B(l+f|0,6810);f=h+B(f,4209)|0;m=j+B(g,9373)|0;o=f+m|0;s=B(k,2531);p=p<<13;y=s+p|0;q=q+r|0;r=B(q,7791);z=y+(r+B(i,11443)|0)|0;v[b+180>>2]=o-z>>11;v[b>>2]=o+z>>11;f=m-f|0;m=(B(i,1812)-r|0)+y|0;v[b+100>>2]=f-m>>11;v[b+80>>2]=f+m>>11;g=j+B(g,-3580)|0;j=h+B(l,-17828)|0;h=g-j|0;k=(p-s|0)-(k<<12)|0;l=B(q,4815);f=k+(B(i,5260)-l|0)|0;v[b+120>>2]=h-f>>11;v[b+60>>2]=f+h>>11;g=g+j|0;i=B(i,10323)-(k+l|0)|0;v[b+160>>2]=g-i>>11;v[b+20>>2]=g+i>>11;b=b+4|0;a=a+4|0;c=c+2|0;A=A+1|0;if((A|0)!=5){continue}break}a=n+128|0;i=0;b=x;while(1){j=v[b+12>>2];k=v[b+4>>2];g=B(j+k|0,6810);c=v[(i<<2)+d>>2]+e|0;k=g+B(k,4209)|0;f=(v[b>>2]<<13)+131072|0;h=v[b+8>>2];n=v[b+16>>2];l=h-n|0;m=f+B(l,2896)|0;h=B(h+n|0,6476);n=m+h|0;t[c|0]=w[a+(k+n>>>18&1023)|0];t[c+4|0]=w[a+(n-k>>>18&1023)|0];g=g+B(j,-17828)|0;j=m-h|0;t[c+1|0]=w[a+(g+j>>>18&1023)|0];t[c+3|0]=w[a+(j-g>>>18&1023)|0];t[c+2|0]=w[a+(f+B(l,-11584)>>>18&1023)|0];b=b+20|0;i=i+1|0;if((i|0)!=10){continue}break}Ma=x+208|0}function o8(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=Ma-16|0;Ma=i;d=v[a+584>>2];g=v[d+840>>2];e=(c|0)/(g|0)|0;if((B(e,g)|0)!=(c|0)){Nc(v[a+628>>2],v[a>>2],48084,0)}c=v[d+32>>2];k=(c|0)<(e|0)?c:e;a:{b:{if(!k){break b}c=0;v[i+12>>2]=0;if(v[d+212>>2]==12){c=gb(B(v[d+112>>2],v[d+36>>2])<<1);v[i+12>>2]=c}while(1){c:{d:{if(c){if((LM(d,i+12|0)|0)!=1){break d}e:{switch(v[d+212>>2]-8|0){case 4:h=B(v[d+36>>2],v[d+112>>2]);if(h>>>0<2){break c}g=v[i+12>>2];c=0;e=h>>>1|0;if((e|0)!=1){e=e&2147483646;while(1){f=B(c,3)+b|0;j=g+(c<<1)|0;t[f|0]=w[j|0]>>>4;t[f+1|0]=w[j|0]<<4;t[f+2|0]=w[j+1|0];j=c|1;f=B(j,3)+b|0;j=g+(j<<1)|0;t[f|0]=w[j|0]>>>4;t[f+1|0]=w[j|0]<<4;t[f+2|0]=w[j+1|0];c=c+2|0;e=e-2|0;if(e){continue}break}}if(!(h&2)){break c}e=B(c,3)+b|0;c=g+(c<<1)|0;t[e|0]=w[c|0]>>>4;t[e+1|0]=w[c|0]<<4;t[e+2|0]=w[c+1|0];break c;case 0:break e;default:break c}}h=B(v[d+36>>2],v[d+112>>2]);if((h|0)<1){break c}g=v[i+12>>2];e=h&3;c=0;if(h-1>>>0>=3){h=h&-4;while(1){t[b+c|0]=w[c+g|0];f=c|1;t[f+b|0]=w[g+f|0];f=c|2;t[f+b|0]=w[g+f|0];f=c|3;t[f+b|0]=w[g+f|0];c=c+4|0;h=h-4|0;if(h){continue}break}}if(!e){break c}while(1){t[b+c|0]=w[c+g|0];c=c+1|0;e=e-1|0;if(e){continue}break}break c}v[i+8>>2]=b;if((LM(d,i+8|0)|0)==1){break c}}a=0;break a}v[a+472>>2]=v[a+472>>2]+1;if((k|0)>=2){k=k-1|0;b=v[d+840>>2]+b|0;c=v[i+12>>2];continue}break}a=v[i+12>>2];if(!a){break b}$a(a)}a=1;if(y[d+140>>2]>2]){break a}a=(KM(d)|0)!=0}Ma=i+16|0;return a|0}function Ui(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=Ma-16|0;Ma=g;a:{if(!a|!b|v[b+16>>2]>131082){break a}e=v[a+16>>2];b:{if(!e){h=v[a>>2];v[g+12>>2]=0;break b}c=v[b+8>>2];c:{while(1){h=v[((d<<2)+a|0)+20>>2];i=v[h>>2];if(hb(v[i+8>>2],c)){d=d+1|0;if((e|0)!=(d|0)){continue}break c}break}if(v[b+12>>2]<=v[i+12>>2]){break a}if(a){eN(a,h)}e=v[a+16>>2]}h=v[a>>2];v[g+12>>2]=0;if(e>>>0>31){break a}}c=cc(h,v[b+4>>2],g+12|0);if(v[g+12>>2]){break a}v[c+8>>2]=h;v[c+4>>2]=a;v[c>>2]=b;e=b;d:{d=v[b>>2];if(d&2){e=Ma-16|0;Ma=e;k=v[c+4>>2];l=v[k>>2];i=cc(l,12,e+12|0);d=v[e+12>>2];e:{if(d){break e}d=v[c>>2];v[c+12>>2]=d;f=v[d+36>>2];v[c+16>>2]=f;f:{g:{if((f|0)!=1869968492){break g}f=v[v[d+56>>2]+4>>2];if(!f){break g}f=Qa[f|0](l,c+52|0)|0;v[e+12>>2]=f;if(f){break f}v[c+56>>2]=v[v[d+56>>2]+16>>2];v[c+60>>2]=v[d+40>>2]}v[i+8>>2]=c;iB(k+148|0,i);d=0;f=0;j=v[k+148>>2];h:{if(!j){break h}while(1){f=v[j+8>>2];if(v[f+16>>2]==1869968492){break h}j=v[j+4>>2];if(j){continue}break}f=0}v[k+156>>2]=f;if(!v[e+12>>2]){break e}}if(i){Qa[v[l+8>>2]](l,i)}d=v[e+12>>2]}Ma=e+16|0;v[g+12>>2]=d;if(d){break d}e=v[c>>2];d=v[e>>2]}if(d&4){v[a+160>>2]=c}if(d&1){v[c+12>>2]=e}b=v[b+24>>2];if(b){b=Qa[b|0](c)|0;v[g+12>>2]=b;if(b){break d}}b=v[a+16>>2];v[a+16>>2]=b+1;v[((b<<2)+a|0)+20>>2]=c;break a}i:{if(!(w[v[c>>2]]&2)){break i}a=v[c+12>>2];if(!a|v[a+36>>2]!=1869968492){break i}b=v[c+52>>2];if(!b){break i}Qa[v[v[a+56>>2]+20>>2]](b)}if(c){Qa[v[h+8>>2]](h,c)}}Ma=g+16|0}function It(a){var b=0,c=0,d=0,e=0,f=0;b=v[a+376>>2];if((b|0)>=1){while(1){e=(d<<2)+a|0;f=e;c=v[e+460>>2];if(c){a:{b:{switch(v[e+380>>2]-1|0){case 0:tb(v[c+352>>2]);$a(c);break a;case 1:tb(v[c+4>>2]);$a(c);break a;case 10:tb(v[c+8>>2]);tb(v[c+16>>2]);tb(v[c+24>>2]);$a(c);break a;case 12:b=0;if(u[c+48>>1]>=1){while(1){$a(v[(v[c+52>>2]+B(b,788)|0)+784>>2]);b=b+1|0;if((b|0)>1]){continue}break}}$a(v[c+52>>2]);$a(v[c+60>>2]);$a(v[c+96>>2]);$a(c);break a;case 14:case 15:if(c){tb(v[c+3300>>2]);v[c+3300>>2]=0;b=c+3304|0;tb(v[b>>2]);v[b>>2]=0;b=c+3308|0;tb(v[b>>2]);v[b>>2]=0;b=c+3312|0;tb(v[b>>2]);v[b>>2]=0;b=c+3316|0;tb(v[b>>2]);v[b>>2]=0;b=c+3320|0;tb(v[b>>2]);v[b>>2]=0;b=c+3324|0;tb(v[b>>2]);v[b>>2]=0;b=c+3328|0;tb(v[b>>2]);v[b>>2]=0;b=c+3332|0;tb(v[b>>2]);v[b>>2]=0;b=c+3336|0;tb(v[b>>2]);v[b>>2]=0;b=c+3340|0;tb(v[b>>2]);v[b>>2]=0;b=c+3344|0;tb(v[b>>2]);v[b>>2]=0;b=c+3348|0;tb(v[b>>2]);v[b>>2]=0;b=c+3352|0;tb(v[b>>2]);v[b>>2]=0;tb(v[c+1892>>2]);tb(v[c+2500>>2]);tb(v[c+2508>>2]);tb(v[c+2516>>2]);tb(v[c+2576>>2]);tb(v[c+2880>>2]);tb(v[c+2888>>2]);tb(v[c+2896>>2]);tb(v[c+2932>>2]);$a(c)}break a;default:break b}}tb(c)}v[f+460>>2]=0;b=v[a+376>>2]}d=d+1|0;if((d|0)<(b|0)){continue}break}}v[a+376>>2]=0;tb(v[a+32>>2]);v[a+32>>2]=0;tb(v[a+548>>2]);v[a+548>>2]=0;tb(v[a+372>>2]);v[a+372>>2]=0;tb(v[a+76>>2]);v[a+76>>2]=0;tb(v[a+92>>2]);v[a+92>>2]=0;tb(v[a+96>>2]);v[a+96>>2]=0;tb(v[a+100>>2]);v[a+100>>2]=0;tb(v[a+104>>2]);v[a+104>>2]=0}function TG(a,b){var c=0,d=0,e=0;c=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);v[a>>2]=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=w[b+4|0]|w[b+5|0]<<8|(w[b+6|0]<<16|w[b+7|0]<<24);v[a+4>>2]=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=w[b+8|0]|w[b+9|0]<<8|(w[b+10|0]<<16|w[b+11|0]<<24);v[a+8>>2]=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=w[b+12|0]|w[b+13|0]<<8|(w[b+14|0]<<16|w[b+15|0]<<24);v[a+12>>2]=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=w[b+16|0]|w[b+17|0]<<8|(w[b+18|0]<<16|w[b+19|0]<<24);v[a+16>>2]=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=w[b+20|0]|w[b+21|0]<<8|(w[b+22|0]<<16|w[b+23|0]<<24);v[a+20>>2]=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=w[b+24|0]|w[b+25|0]<<8|(w[b+26|0]<<16|w[b+27|0]<<24);v[a+24>>2]=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);b=w[b+28|0]|w[b+29|0]<<8|(w[b+30|0]<<16|w[b+31|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);v[a+28>>2]=b;e=a+16|0;c=8;while(1){a:{b:{switch(c&7){case 0:d=v[(c>>>1&2147483644)+885184>>2];b=C3a(b,8);b=d^(w[(b>>>16&255)+885264|0]<<16|w[(b>>>24|0)+885264|0]<<24|w[(b>>>8&255)+885264|0]<<8|w[(b&255)+885264|0]);break a;case 4:break b;default:break a}}b=w[(b&255)+885264|0]|(w[(b>>>16&255)+885264|0]<<16|w[(b>>>24|0)+885264|0]<<24|w[(b>>>8&255)+885264|0]<<8)}d=(c<<2)+a|0;b=v[d-32>>2]^b;v[d>>2]=b;c=c+1|0;if((c|0)!=60){continue}break}Dg(e);Dg(a+32|0);Dg(a+48|0);Dg(a- -64|0);Dg(a+80|0);Dg(a+96|0);Dg(a+112|0);Dg(a+128|0);Dg(a+144|0);Dg(a+160|0);Dg(a+176|0);Dg(a+192|0);Dg(a+208|0)}function T0(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,x,y,z,A,B,C){var D=0,E=0,F=0,G=0;v[a+28>>2]=0;v[a+32>>2]=0;v[a+112>>2]=0;v[a+116>>2]=0;v[a>>2]=0;v[a+4>>2]=0;v[a+36>>2]=0;v[a+120>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;D=a+12|0;a:{if((a|0)==(b|0)){break a}if(t[b+11|0]>=0){E=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=E;v[a+8>>2]=v[b+8>>2];break a}De(a,v[b>>2],v[b+4>>2])}b=a+28|0;b:{if((d|0)==(D|0)){break b}G=w[d+11|0];E=G<<24>>24;if(t[a+23|0]>=0){if((E|0)>=0){E=v[d+4>>2];v[D>>2]=v[d>>2];v[D+4>>2]=E;v[D+8>>2]=v[d+8>>2];break b}De(D,v[d>>2],v[d+4>>2]);break b}F=D;D=(E|0)<0;mf(F,D?v[d>>2]:d,D?v[d+4>>2]:G)}c:{if((b|0)==(c|0)){break c}D=w[c+11|0];d=D<<24>>24;if(t[a+39|0]>=0){if((d|0)>=0){d=v[c+4>>2];v[b>>2]=v[c>>2];v[b+4>>2]=d;v[b+8>>2]=v[c+8>>2];break c}De(b,v[c>>2],v[c+4>>2]);break c}F=b;b=(d|0)<0;mf(F,b?v[c>>2]:c,b?v[c+4>>2]:D)}v[a+48>>2]=h;v[a+44>>2]=g;v[a+40>>2]=f;v[a+24>>2]=e;b=a+52|0;d:{if(i){c=w[i+4|0]|w[i+5|0]<<8|(w[i+6|0]<<16|w[i+7|0]<<24);d=w[i|0]|w[i+1|0]<<8|(w[i+2|0]<<16|w[i+3|0]<<24);t[b|0]=d;t[b+1|0]=d>>>8;t[b+2|0]=d>>>16;t[b+3|0]=d>>>24;t[b+4|0]=c;t[b+5|0]=c>>>8;t[b+6|0]=c>>>16;t[b+7|0]=c>>>24;c=w[i+8|0]|w[i+9|0]<<8;t[b+8|0]=c;t[b+9|0]=c>>>8;break d}v[b>>2]=0;v[b+4>>2]=0;u[b+8>>1]=0}u[a+110>>1]=C;u[a+108>>1]=B;u[a+106>>1]=A;u[a+104>>1]=z;u[a+102>>1]=y;u[a+100>>1]=x;v[a+96>>2]=s;u[a+92>>1]=r;u[a+90>>1]=q;u[a+88>>1]=p;v[a+84>>2]=o;v[a+80>>2]=n;v[a+76>>2]=m;v[a+72>>2]=l;v[a+68>>2]=k;v[a+64>>2]=j;return a}function wWa(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;a:{b:{if(w[a+286|0]|!w[a+285|0]|(w[a+287|0]|w[a+288|0])){break b}if(w[a+289|0]){break b}if(c&1){ob(a,1028,0,0);return 1028}i=c>>>1|0;c:{if(c>>>0<2){break c}d:{e:{h=Qa[v[a+152>>2]](c)|0;if(h){f=i>>>0>1?i:1;j=f&3;if(f-1>>>0>=3){break e}f=h;break d}break a}k=f&2147483644;f=h;while(1){g=w[d|0]|w[d+1|0]<<8;u[f>>1]=g<<8|g>>>8;g=w[d+2|0]|w[d+3|0]<<8;u[f+2>>1]=g<<8|g>>>8;g=w[d+4|0]|w[d+5|0]<<8;u[f+4>>1]=g<<8|g>>>8;g=w[d+6|0]|w[d+7|0]<<8;u[f+6>>1]=g<<8|g>>>8;d=d+8|0;f=f+8|0;k=k-4|0;if(k){continue}break}}if(!j){break c}while(1){k=w[d|0]|w[d+1|0]<<8;u[f>>1]=k<<8|k>>>8;d=d+2|0;f=f+2|0;j=j-1|0;if(j){continue}break}}f:{g:{h:{if(!w[a+114|0]){break h}d=Qa[v[a+152>>2]](36)|0;if(!d){break g}v[d+4>>2]=751;v[d>>2]=752;f=v[a+700>>2];i:{if(f){v[f+8>>2]=d;break i}v[a+696>>2]=d}v[d+8>>2]=0;v[d+12>>2]=f;v[a+700>>2]=d;v[d+16>>2]=v[a+436>>2];v[d+20>>2]=v[a+440>>2];v[d+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=d}v[d+28>>2]=i;if(!i){break h}j=d;f=i<<1;d=Qa[v[a+152>>2]](f)|0;v[j+32>>2]=d;if(!d){break g}cb(d,h,f)}e4(a,i,h);d=0;break f}ob(a,1,0,0);d=1}j:{if(d){break j}if(w[a+112|0]){d=Qa[v[b+4>>2]](a,b,e)|0;if(d){break j}v[v[e>>2]+32>>2]=i;if(!c){return 0}b=Qa[v[a+152>>2]](c)|0;v[v[e>>2]+36>>2]=b;b=v[v[e>>2]+36>>2];if(!b){break a}cb(b,h,c)}d=0;if(!c|!h){break j}Qa[v[a+156>>2]](h,c)}return d|0}ob(a,1029,0,0);return 1029}ob(a,1,0,0);return 1}function TOa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=Ma-48|0;Ma=c;a:{if(t[b+11|0]>=0){v[c+40>>2]=v[b+8>>2];e=v[b+4>>2];v[c+32>>2]=v[b>>2];v[c+36>>2]=e;break a}vc(c+32|0,v[b>>2],v[b+4>>2])}t[c+27|0]=1;rb(c+16|0,354400,1);v[c+20>>2]=0;t[c+11|0]=1;rb(c,354408,1);v[c+4>>2]=0;g=t[c+11|0];b=t[c+27|0];f=(b|0)<0;i=f?v[c+20>>2]:b&255;b:{if(i){b=w[c+43|0];d=b<<24>>24;b=(d|0)<0?v[c+36>>2]:b;if((i|0)>(b|0)){break b}e=(d|0)<0?v[c+32>>2]:c+32|0;h=e+(b<<2)|0;f=f?v[c+16>>2]:c+16|0;k=v[f>>2];d=e;while(1){j=b-i|0;b=j+1|0;if(b>>>0>>0){break b}b=xe(d,k,b);if(!b){break b}if(lc(b,f,i)){d=b+4|0;b=h-d>>2;if((i|0)<=(b|0)){continue}break b}break}if((b|0)==(h|0)){break b}b=b-e|0;if((b|0)==-4){break b}d=b>>2}k=((g|0)>0?g:0)&255;while(1){b=w[c+11|0];e=b<<24>>24<0;tr(c+32|0,d,i,e?v[c>>2]:c,e?v[c+4>>2]:b);b=w[c+43|0];e=b<<24>>24<0;d=d+k|0;f=e?v[c+36>>2]:b;if(d>>>0>f>>>0){break b}b=w[c+27|0];g=b<<24>>24<0;b=g?v[c+20>>2]:b;if(b){e=e?v[c+32>>2]:c+32|0;f=e+(f<<2)|0;h=e+(d<<2)|0;d=f-h>>2;if((b|0)>(d|0)){break b}g=g?v[c+16>>2]:c+16|0;j=v[g>>2];while(1){d=d-b|0;l=d+1|0;if(l>>>0>>0){break b}d=xe(h,j,l);if(!d){break b}if(lc(d,g,b)){h=d+4|0;d=f-h>>2;if((b|0)<=(d|0)){continue}break b}break}if((d|0)==(f|0)){break b}d=d-e>>2}if((d|0)!=-1){continue}break}}if(t[c+11|0]<=-1){$a(v[c>>2])}if(t[c+27|0]<=-1){$a(v[c+16>>2])}b=a+12|0;a=Xo(a+8|0,c+32|0);if((b|0)==(a|0)){a=0}else{a=v[a+28>>2]}if(t[c+43|0]<=-1){$a(v[c+32>>2])}Ma=c+48|0;return a|0}function DB(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{b:{c:{g=(c-b|0)/12|0;e=v[a+8>>2];d=v[a>>2];if(g>>>0<=(e-d|0)/12>>>0){f=(v[a+4>>2]-d|0)/12|0;e=B(f,12)+b|0;h=f>>>0>>0?e:c;if((h|0)!=(b|0)){while(1){if((b|0)!=(d|0)){In(d,v[b>>2],v[b+4>>2])}d=d+12|0;b=b+12|0;if((h|0)!=(b|0)){continue}break}}b=v[a+4>>2];if(f>>>0>>0){if((c|0)!=(h|0)){while(1){v[b+8>>2]=0;v[b>>2]=0;v[b+4>>2]=0;f=v[e+4>>2]-v[e>>2]|0;if(f){if((f|0)<=-1){break c}d=ab(f);v[b>>2]=d;v[b+4>>2]=d;v[b+8>>2]=d+(f>>2<<2);f=b;h=v[e>>2];g=v[e+4>>2]-h|0;if((g|0)>=1){d=cb(d,h,g)+g|0}v[f+4>>2]=d}b=b+12|0;e=e+12|0;if((e|0)!=(c|0)){continue}break}}v[a+4>>2]=b;return}if((b|0)!=(d|0)){while(1){c=b-12|0;e=v[c>>2];if(e){v[b-8>>2]=e;$a(e)}b=c;if((d|0)!=(b|0)){continue}break}}v[a+4>>2]=d;return}if(d){e=v[a+4>>2];if((e|0)==(d|0)){e=d}else{while(1){f=e-12|0;h=v[f>>2];if(h){v[e-8>>2]=h;$a(h)}e=f;if((e|0)!=(d|0)){continue}break}e=v[a>>2]}v[a+4>>2]=d;$a(e);v[a+8>>2]=0;v[a>>2]=0;v[a+4>>2]=0;e=0}if(g>>>0>=357913942){break b}d=(e|0)/12|0;e=d<<1;d=d>>>0<178956970?e>>>0>>0?g:e:357913941;if(d>>>0>=357913942){break b}e=B(d,12);d=ab(e);v[a>>2]=d;v[a+4>>2]=d;v[a+8>>2]=d+e;if((b|0)!=(c|0)){while(1){v[d+8>>2]=0;v[d>>2]=0;v[d+4>>2]=0;g=v[b>>2];f=v[b+4>>2]-g|0;if(f){if((f|0)<=-1){break a}e=ab(f);v[d>>2]=e;v[d+4>>2]=e;v[d+8>>2]=e+(f>>2<<2);f=d;h=v[b+4>>2]-g|0;if((h|0)>=1){e=cb(e,g,h)+h|0}v[f+4>>2]=e}d=d+12|0;b=b+12|0;if((c|0)!=(b|0)){continue}break}}v[a+4>>2]=d;return}Jc();L()}Jc();L()}Jc();L()} -function rT(a){a=a|0;var b=0,c=0;c=Ma-32|0;Ma=c;v[a>>2]=970088;a:{b=v[a+16>>2];if((b|0)>=1){if((b|0)>=v[a+20>>2]){break a}b=b+v[a+36>>2]|0;t[b|0]=0;t[b+1|0]=0;t[b+2|0]=0;t[b+3|0]=0;t[b+4|0]=0;t[b+5|0]=0;t[b+6|0]=0;t[b+7|0]=0;t[b+24|0]=0;t[b+25|0]=0;t[b+26|0]=0;t[b+27|0]=0;t[b+28|0]=0;t[b+29|0]=0;t[b+30|0]=0;t[b+31|0]=0;t[b+16|0]=0;t[b+17|0]=0;t[b+18|0]=0;t[b+19|0]=0;t[b+20|0]=0;t[b+21|0]=0;t[b+22|0]=0;t[b+23|0]=0;t[b+8|0]=0;t[b+9|0]=0;t[b+10|0]=0;t[b+11|0]=0;t[b+12|0]=0;t[b+13|0]=0;t[b+14|0]=0;t[b+15|0]=0;v[a+24>>2]=v[a+16>>2]+1;sT(a)}v[a+24>>2]=0;v[a+16>>2]=0;b=v[a+48>>2];of(b,(v[b+20>>2]>>>1|0)+32768|0);of(b,(v[b+20>>2]>>>1|0)+32768|0);of(b,(v[b+20>>2]>>>1|0)+32768|0);of(b,(v[b+20>>2]>>>1|0)+32768|0);of(b,(v[b+20>>2]>>>1|0)+32768|0);of(b,(v[b+20>>2]>>>1|0)+32768|0);of(b,(v[b+20>>2]>>>1|0)+32768|0);of(b,(v[b+20>>2]>>>1|0)+32768|0);of(b,(v[b+20>>2]>>>1|0)+32768|0);of(b,(v[b+20>>2]>>>1|0)+32768|0);of(b,(v[b+20>>2]>>>1|0)+32768|0);of(b,(v[b+20>>2]>>>1|0)+32768|0);of(b,(v[b+20>>2]>>>1|0)+32768|0);of(b,(v[b+20>>2]>>>1|0)+32768|0);of(b,(v[b+20>>2]>>>1|0)+32768|0);of(b,(v[b+20>>2]>>>1|0)+32768|0);of(b,(v[b+20>>2]>>>1|0)+32768|0);of(b,(v[b+20>>2]>>>1|0)+32768|0);of(b,(v[b+20>>2]>>>1|0)+32768|0);of(b,(v[b+20>>2]>>>1|0)+32768|0);of(b,(v[b+20>>2]>>>1|0)+32768|0);of(b,(v[b+20>>2]>>>1|0)+32768|0);of(b,(v[b+20>>2]>>>1|0)+32768|0);of(b,(v[b+20>>2]>>>1|0)+32768|0);tT(a);Ma=c+32|0;return a|0}lb(mb(c+8|0,290931,241544,963,332833));L()}function HR(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=Ma-32|0;Ma=f;v[a>>2]=0;e=v[279250];v[a+4>>2]=e;d=v[b+36>>2];if(!(!d|!v[d+8>>2])){g=b+36|0;v[f+20>>2]=e;v[f+16>>2]=0;e=f+8|0;Qa[v[v[d>>2]+28>>2]](e,d,1);jb(f+16|0,e);d=v[f+8>>2];v[f+8>>2]=0;a:{if(!d){break a}e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(e){break a}e=v[d+4>>2];if(!e){v[d+4>>2]=-32767}if(!e){Qa[v[v[d>>2]+4>>2]](d)}}d=v[f+16>>2];v[f+20>>2]=v[(d?d+12|0:1117e3)>>2];xu(g);HR(f,b,f+16|0);ic(f+8|0,f,348279);d=v[f+8>>2];b:{if(d){Qa[v[v[d>>2]+28>>2]](f+24|0,d,1);break b}v[f+24>>2]=0}jb(a,f+24|0);d=v[f+24>>2];v[f+24>>2]=0;c:{if(!d){break c}e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(e){break c}e=v[d+4>>2];if(!e){v[d+4>>2]=-32767}if(!e){Qa[v[v[d>>2]+4>>2]](d)}}d=v[a>>2];v[a+4>>2]=v[(d?d+12|0:1117e3)>>2];db(f+8|0);db(f);db(f+16|0)}d:{d=v[c>>2];e:{if(!d){break e}i=v[d+8>>2];if((i|0)<1){break e}d=0;while(1){l=i;m=a;f:{g:{h:{i:{j:{k:{l:{if(d){e=v[c>>2];h=!e;j=(d|0)>-1;g=d;m:{if(j){break m}g=d;if(!e){break m}g=v[e+8>>2]+d|0}if(h|(g|0)<0){break d}h=v[e+8>>2];if((g|0)<=(h|0)){break l}break d}e=v[c>>2];if(!e){break h}h=10;g=1;if(w[v[e+12>>2]]==10){break k}break i}k=v[e+12>>2];if(w[g+k|0]!=10){break j}e=d;if(!j){e=d+h|0;if((e|0)<0){break d}}if((e|0)>(h|0)){break d}h=w[e+k|0];g=d+1|0}Pd(m,h<<24>>24);d=g;break f}if(!e){break h}}e=an(e,10,d);if((e|0)>-1){break g}}e=i}g=f+8|0;We(g,c,d,e-d|0);d=f+16|0;ry(d,b,g);Cd(a,d);db(d);db(g);d=e}if((l|0)>(d|0)){continue}break}}Ma=f+32|0;return}ni();L()}function CB(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{b:{c:{g=(c-b|0)/12|0;e=v[a+8>>2];d=v[a>>2];if(g>>>0<=(e-d|0)/12>>>0){f=(v[a+4>>2]-d|0)/12|0;e=B(f,12)+b|0;h=f>>>0>>0?e:c;if((h|0)!=(b|0)){while(1){if((b|0)!=(d|0)){Gw(d,v[b>>2],v[b+4>>2])}d=d+12|0;b=b+12|0;if((h|0)!=(b|0)){continue}break}}b=v[a+4>>2];if(f>>>0>>0){if((c|0)!=(h|0)){while(1){v[b+8>>2]=0;v[b>>2]=0;v[b+4>>2]=0;f=v[e+4>>2]-v[e>>2]|0;if(f){if((f|0)<=-1){break c}d=ab(f);v[b>>2]=d;v[b+4>>2]=d;v[b+8>>2]=d+(f>>3<<3);f=b;h=v[e>>2];g=v[e+4>>2]-h|0;if((g|0)>=1){d=cb(d,h,g)+g|0}v[f+4>>2]=d}b=b+12|0;e=e+12|0;if((e|0)!=(c|0)){continue}break}}v[a+4>>2]=b;return}if((b|0)!=(d|0)){while(1){c=b-12|0;e=v[c>>2];if(e){v[b-8>>2]=e;$a(e)}b=c;if((d|0)!=(b|0)){continue}break}}v[a+4>>2]=d;return}if(d){e=v[a+4>>2];if((e|0)==(d|0)){e=d}else{while(1){f=e-12|0;h=v[f>>2];if(h){v[e-8>>2]=h;$a(h)}e=f;if((e|0)!=(d|0)){continue}break}e=v[a>>2]}v[a+4>>2]=d;$a(e);v[a+8>>2]=0;v[a>>2]=0;v[a+4>>2]=0;e=0}if(g>>>0>=357913942){break b}d=(e|0)/12|0;e=d<<1;d=d>>>0<178956970?e>>>0>>0?g:e:357913941;if(d>>>0>=357913942){break b}e=B(d,12);d=ab(e);v[a>>2]=d;v[a+4>>2]=d;v[a+8>>2]=d+e;if((b|0)!=(c|0)){while(1){v[d+8>>2]=0;v[d>>2]=0;v[d+4>>2]=0;g=v[b>>2];f=v[b+4>>2]-g|0;if(f){if((f|0)<=-1){break a}e=ab(f);v[d>>2]=e;v[d+4>>2]=e;v[d+8>>2]=e+(f>>3<<3);f=d;h=v[b+4>>2]-g|0;if((h|0)>=1){e=cb(e,g,h)+h|0}v[f+4>>2]=e}d=d+12|0;b=b+12|0;if((c|0)!=(b|0)){continue}break}}v[a+4>>2]=d;return}Jc();L()}Jc();L()}Jc();L()}function CJ(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0;j=Ma-16|0;Ma=j;i=v[a+8>>2];l=v[a+12>>2];h=cc(i,v[l+36>>2],j+12|0);a:{b:{c:{d:{if(!v[j+12>>2]){v[h+100>>2]=i;v[h+96>>2]=a;v[h+104>>2]=v[b>>2];if(c){v[h+8>>2]=v[h+8>>2]|1024}k=cc(i,68,j+12|0);if(v[j+12>>2]){break d}v[h+128>>2]=k;c=0;v[k+52>>2]=0;e:{if((e|0)<1){break e}a=0;while(1){if(c){break e}c=0;m=(a<<3)+f|0;if(v[m>>2]==1768842098){c=v[m+4>>2];v[k+52>>2]=c}a=a+1|0;if((e|0)!=(a|0)){continue}break}}v[k+60>>2]=-1;a=v[l+48>>2];f:{if(!a){v[b>>2]=v[h+104>>2];break f}a=Qa[a|0](v[b>>2],h,d,e,f)|0;v[j+12>>2]=a;v[b>>2]=v[h+104>>2];if(a){break d}}b=v[h+40>>2];if(!b){break b}a=b+(v[h+36>>2]<<2)|0;e=a-4|0;g:{if(b>>>0<=e>>>0){while(1){c=v[e>>2];h:{if(v[c+4>>2]!=1970170211){break h}i:{switch(x[c+8>>1]){case 3:if(x[c+10>>1]!=10){break h}break g;case 0:break i;default:break h}}if(x[c+10>>1]==4){break g}}e=e-4|0;if(b>>>0<=e>>>0){continue}break}}while(1){a=a-4|0;if(b>>>0>a>>>0){break b}c=v[a>>2];if(v[c+4>>2]!=1970170211){continue}break}}v[h+92>>2]=c;break b}if(!h){break c}}if(v[h+36>>2]>=1){c=0;while(1){d=c<<2;a=v[d+v[h+40>>2]>>2];b=v[v[a>>2]+100>>2];e=v[v[a+12>>2]+8>>2];if(e){Qa[e|0](a)}if(a){Qa[v[b+8>>2]](b,a)}v[d+v[h+40>>2]>>2]=0;c=c+1|0;if((c|0)>2]){continue}break}}a=v[h+40>>2];if(a){Qa[v[i+8>>2]](i,a)}v[h+36>>2]=0;v[h+40>>2]=0}a=v[l+52>>2];if(a){Qa[a|0](h)}if(k){Qa[v[i+8>>2]](i,k)}if(h){Qa[v[i+8>>2]](i,h)}v[g>>2]=0;a=v[j+12>>2];break a}v[g>>2]=h;a=0}Ma=j+16|0;return a}function IAa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=v[a+8>>2];i=v[a+12>>2];a:{b:{if(f>>>0>=i>>>0){v[b>>2]=8;break b}c=f+1|0;e=w[f|0];d=e<<24>>24;if((d|0)>=0){v[a+8>>2]=c;return e|0}g=v[a+4>>2];j=t[e+840512|0];h=j&65535;if(!h){t[g+36|0]=1;t[g+37|0]=d;v[b>>2]=12;v[a+8>>2]=c;break b}if((c+h|0)-1>>>0>i>>>0){t[g+37|0]=d;v[b>>2]=11;f=1;c:{if(y[a+12>>2]<=c>>>0){break c}while(1){e=w[c|0];if((e&192)==128){t[((f<<24>>24)+g|0)+37|0]=e;f=f+1|0;c=c+1|0;if(c>>>0>2]){continue}break c}break}v[b>>2]=12}t[g+36|0]=f;v[a+8>>2]=c;break b}e=e<<6;d=1;d:{e:{f:{switch((j&65535)-2|0){case 4:d=w[c|0];if((d&192)!=128){break e}c=f+2|0;e=e+d<<6;case 3:d=w[c|0];if((d&192)!=128){break e}c=c+1|0;e=e+d<<6;case 2:d=w[c|0];if((d&192)!=128){break e}c=c+1|0;e=e+d<<6;case 1:d=w[c|0];if((d&192)!=128){break e}c=c+1|0;e=e+d<<6;case 0:d=w[c|0];e=d+e|0;d=(d&192)==128;c=d+c|0;break;default:break f}}v[a+8>>2]=c;if(!d){break d}a=e-v[(h<<2)+840768>>2]|0;if(a>>>0>1114111|(a&-2048)==55296){break d}if(y[(h<<2)+840800>>2]<=a>>>0){break a}break d}v[a+8>>2]=c}a=0;g:{if(c>>>0<=f>>>0){break g}a=c-f|0;d=a&3;h:{if((f^-1)+c>>>0<3){a=0;break h}h=a&-4;a=0;c=g+37|0;while(1){e=a<<24>>24;t[e+c|0]=w[f|0];t[c+(e|1)|0]=w[f+1|0];t[c+(e|2)|0]=w[f+2|0];t[c+(e|3)|0]=w[f+3|0];a=a+4|0;f=f+4|0;h=h-4|0;if(h){continue}break}}if(!d){break g}while(1){t[((a<<24>>24)+g|0)+37|0]=w[f|0];a=a+1|0;f=f+1|0;d=d-1|0;if(d){continue}break}}t[g+36|0]=a;v[b>>2]=12}a=65535}return a|0}function gya(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{l=B(v[b+36>>2],v[b+28>>2]);f=v[a+28>>2];j=l-f|0;e=v[a+272>>2];if(!((j|0)<1|(e|0)<-1)){i=c-4|0;h=e+2|0;g=h&3;b=0;if(e+1>>>0>=3){h=h&-4;while(1){e=b<<2;k=f+v[e+i>>2]|0;eb(k,w[k-1|0],j);k=f+v[c+e>>2]|0;eb(k,w[k-1|0],j);k=f+v[i+(e|8)>>2]|0;eb(k,w[k-1|0],j);e=f+v[i+(e|12)>>2]|0;eb(e,w[e-1|0],j);b=b+4|0;h=h-4|0;if(h){continue}break}}if(g){while(1){e=f+v[i+(b<<2)>>2]|0;eb(e,w[e-1|0],j);b=b+1|0;g=g-1|0;if(g){continue}break}}e=v[a+272>>2]}if((e|0)<1){break a}b=v[a+228>>2];k=b<<6;o=65536-(b<<9)|0;i=0;j=l-2|0;if(!j){while(1){f=i<<2;b=v[f+d>>2];e=c+f|0;f=v[e>>2];g=w[f|0];i=i+1|0;h=v[(i<<2)+c>>2];j=v[e-4>>2];l=w[h|0]+w[j|0]|0;e=g+l|0;p=B(g,o);g=w[f+1|0]+(w[h+1|0]+w[j+1|0]|0)|0;t[b|0]=(p+B(k,g+(e+l|0)|0)|0)+32768>>>16;j=b;b=w[f+1|0];t[j+1|0]=(B(b,o)+B(k,(e+(g<<1)|0)-b|0)|0)+32768>>>16;if(v[a+272>>2]>(i|0)){continue}break a}}while(1){f=i<<2;b=v[f+d>>2];e=c+f|0;f=v[e>>2];l=w[f|0];i=i+1|0;h=v[(i<<2)+c>>2];m=v[e-4>>2];n=w[h|0]+w[m|0]|0;g=l+n|0;e=w[f+1|0]+(w[h+1|0]+w[m+1|0]|0)|0;t[b|0]=(B(l,o)+B(k,e+(g+n|0)|0)|0)+32768>>>16;l=b+1|0;b=f+1|0;n=h+1|0;m=m+1|0;h=j;while(1){f=e;g=e+g|0;e=w[b|0];g=g-e|0;p=B(e,o);e=w[b+1|0]+(w[n+1|0]+w[m+1|0]|0)|0;t[l|0]=(p+B(k,g+e|0)|0)+32768>>>16;l=l+1|0;n=n+1|0;m=m+1|0;b=b+1|0;g=f;h=h-1|0;if(h){continue}break}b=w[b|0];t[l|0]=(B(b,o)+B(k,((e<<1)+g|0)-b|0)|0)+32768>>>16;if(v[a+272>>2]>(i|0)){continue}break}}}function Ot(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(a){if(v[v[a>>2]+8>>2]){g=v[a+4>>2];if(g){c=v[g+48>>2];if(c){a:{if(!v[c>>2]){break a}d=v[g+44>>2];if(!d){break a}if((B(v[d+52>>2],v[d+48>>2])|0)>0){while(1){e=v[c+80>>2]+B(b,568)|0;f=v[e>>2];if(f){$a(f);v[e>>2]=0}f=v[e+548>>2];if(f){$a(f);v[e+548>>2]=0}b=b+1|0;if((b|0)<(B(v[d+52>>2],v[d+48>>2])|0)){continue}break}}b=v[c+80>>2];if(!b){break a}$a(b);v[c+80>>2]=0}$a(c)}c=v[g+44>>2];if(c){b=v[c+44>>2];if(b){$a(b);v[c+44>>2]=0}b=v[c+92>>2];if(b){$a(b);v[c+92>>2]=0}d=0;b=v[c+52>>2];e=v[c+48>>2];if((B(b,e)|0)>0){while(1){f=v[c+88>>2]+B(d,1876)|0;i=v[f+1872>>2];if(i){$a(i);v[f+1872>>2]=0;e=v[c+48>>2];b=v[c+52>>2]}d=d+1|0;if((d|0)<(B(b,e)|0)){continue}break}}b=v[c+88>>2];if(b){$a(b);v[c+88>>2]=0}$a(c)}$a(g)}}c=v[a+20>>2];if(c){$a(c);v[a+20>>2]=0}if((v[a+52>>2]+(v[a+48>>2]+v[a+44>>2]|0)|0)>0){while(1){c=v[a+100>>2]+B(h,384)|0;b=v[c+284>>2];if(b){$a(b);v[c+284>>2]=0}b:{if(v[c+8>>2]){break b}b=v[c+356>>2];if(b){$a(b);v[c+356>>2]=0}b=v[c+352>>2];if(b){$a(b);v[c+352>>2]=0}b=v[c+196>>2];if(!b){break b}$a(b);v[c+196>>2]=0}b=v[c+84>>2];if(b){$a(b);v[c+84>>2]=0}b=v[c+92>>2];if(b){$a(b);v[c+92>>2]=0}b=v[c+188>>2];if(b){$a(b);v[c+188>>2]=0}b=v[c+264>>2];if(b){$a(b);v[c+264>>2]=0}b=v[c+272>>2];if(b){$a(b);v[c+272>>2]=0}b=v[c+280>>2];if(b){$a(b);v[c+280>>2]=0}b=v[c+380>>2];if(b){$a(b);v[c+380>>2]=0}$a(c);h=h+1|0;if((h|0)<(v[a+52>>2]+(v[a+48>>2]+v[a+44>>2]|0)|0)){continue}break}}$a(a)}}function jI(a,b,c,d,e,f,g,h,i){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,w=0,y=0,z=0;a:{if(!a){break a}k=b>>10;if((k|0)>=v[a+44>>2]){break a}j=k<<1;k=v[a+40>>2]+a|0;j=v[(v[a+60>>2]+a|0)+(x[(v[a+52>>2]+a|0)+((b&15)+(x[(x[j+k>>1]+(b>>>4&63)<<1)+k>>1]<<2)<<1)>>1]<<2)>>2];if(!j){break a}b:{c:{d:{if(j>>>0<=2031615){u=v[a+24>>2]+a|0;w=v[a+20>>2]+a|0;s=b-57344|0;y=s>>>0<6400;t=b-983040|0;z=t>>>0<131072;k=0;while(1){l=(j<<1)+w|0;o=(j<<2)+u|0;a=v[o>>2];if(!(!a|!((h|0)!=0|a>>>0>1073741823|y|z)|a&536870912)){r=(m+n|0)+2|0;k=a}b=x[l>>1];e:{if((d|0)>(m|0)){j=(m<<1)+c|0;m=m+1|0;break e}if((f|0)<=(n|0)){break d}j=(n<<1)+e|0;n=n+1|0}p=l+2|0;q=x[j>>1];a=0;j=b;f:{if(j>>>0<2){break f}while(1){if((b|0)<=4){if(q>>>0<=x[(a<<1)+p>>1]){break f}b=a+1|0;if(!((b|0)>=(j|0)|q>>>0>x[(b<<1)+p>>1])){a=b;break f}b=a+2|0;if(!((b|0)>=(j|0)|q>>>0>x[(b<<1)+p>>1])){a=b;break f}a=a+3|0;break f}l=(a+j|0)/2|0;b=q>>>0>1];j=b?l:j;a=b?a:l;b=j-a|0;if((b|0)>1){continue}break}}if((q|0)!=x[(a<<1)+p>>1]|(a|0)>=(j|0)|(a|0)<0){break c}j=v[(o+4|0)+(a<<2)>>2];if(j>>>0<16777216){continue}break}if(!((h|0)!=0|j>>>0>1073741823|s>>>0<6400|t>>>0<131072)|j&536870912){break c}r=(m+n|0)+2|0;k=j;break c}if(!((h|0)!=0|j>>>0>1073741823|b-57344>>>0<6400|b-983040>>>0<131072)){break a}r=2;k=j;if(j&536870912){break a}break b}if(i){break c}a=m+n|0;if((a|0)>19){break c}return-2-a|0}if(r){break b}return 0}o=1;if((k|0)==-2147483647){break a}v[g>>2]=k;o=r}return o}function Kn(a){var b=0,c=0;c=Ma-16|0;Ma=c;a:{b:{c:{if((Vd(a,c+12|0,4)|0)!=4){break c}d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{a=w[c+12|0]|w[c+13|0]<<8|(w[c+14|0]<<16|w[c+15|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if((a|0)<=1818850404){if((a|0)<=1749903735){if((a|0)<=1684632434){if((a|0)==1668246642){break o}if((a|0)==1684107883){break b}if((a|0)!=1684629094){break c}b=17;break a}if((a|0)==1684632435){break l}if((a|0)==1684633120){break h}if((a|0)!=1749838196){break c}b=12;break a}if((a|0)<=1816947059){if((a|0)==1749903736){break e}if((a|0)==1752524064){break p}if((a|0)!=1768188278){break c}b=4;break a}if((a|0)==1816947060){break f}if((a|0)==1818391150){break g}if((a|0)!=1818518631){break c}b=9;break a}q:{if((a|0)<=1885434738){if((a|0)<=1852797548){if((a|0)==1818850405){break q}if((a|0)==1819634976){break n}if((a|0)!=1836411936){break c}b=3;break a}b=0;if((a|0)==1852797549){break a}if((a|0)==1870030194){break k}if((a|0)!=1884055924){break c}b=15;break a}if((a|0)<=1935897197){if((a|0)==1885434739){break d}if((a|0)==1934387572){break j}if((a|0)!=1935766560){break c}b=20;break a}if((a|0)==1935897198){break m}if((a|0)==1936553316){break i}if((a|0)!=1984719220){break c}b=13;break a}b=6;break a}b=19;break a}b=21;break a}b=22;break a}b=7;break a}b=1;break a}b=10;break a}b=11;break a}b=18;break a}b=8;break a}b=5;break a}b=14;break a}b=16;break a}b=23;break a}O(11815,6824,361,193498);L()}b=2}a=b;Ma=c+16|0;return a}function Xba(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,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;a=Ma-496|0;Ma=a;g=a+488|0;h=v[d+28>>2];v[g>>2]=h;v[h+4>>2]=v[h+4>>2]+1;o=hi(g);h=c;g=f;c=v[f+4>>2];a:{if(w[f+11|0]>>>7|0){break a}c=w[g+11|0]}if(c){if(w[g+11|0]>>>7|0){c=v[g>>2]}else{c=g}q=v[c>>2]==(Qa[v[v[o>>2]+44>>2]](o,45)|0)}p=ud(a+456|0);i=ud(a+440|0);j=ud(a+424|0);ZN(h,q,a+488|0,a+480|0,a+476|0,a+472|0,p,i,j,a+420|0);v[a+16>>2]=1563;c=a+16|0;k=nf(a+8|0,0,c);b:{if(w[g+11|0]>>>7|0){g=v[f+4>>2]}else{g=w[f+11|0]}c:{if((g|0)>v[a+420>>2]){if(w[f+11|0]>>>7|0){h=v[f+4>>2]}else{h=w[f+11|0]}l=v[a+420>>2];g=l;if(w[i+11|0]>>>7|0){m=v[i+4>>2]}else{m=w[i+11|0]}if(w[j+11|0]>>>7|0){n=v[j+4>>2]}else{n=w[j+11|0]}g=((m+(n+(h-g<<1)|0)|0)+l|0)+1|0;break c}l=v[a+420>>2];if(w[j+11|0]>>>7|0){g=v[j+4>>2]}else{g=w[j+11|0]}if(w[i+11|0]>>>7|0){h=v[i+4>>2]}else{h=w[i+11|0]}g=(l+(g+h|0)|0)+2|0}if(g>>>0<101){break b}c=gb(g<<2);g=v[k>>2];v[k>>2]=c;if(g){Qa[v[k+4>>2]](g)}c=v[k>>2];if(c){break b}_f();L()}h=c;n=a+4|0;l=a;r=v[d+4>>2];if(w[f+11|0]>>>7|0){g=v[f>>2]}else{g=f}m=g;if(w[f+11|0]>>>7|0){g=v[f>>2]}else{g=f}if(w[f+11|0]>>>7|0){f=v[f+4>>2]}else{f=w[f+11|0]}YN(h,n,l,r,m,g+(f<<2)|0,o,q,a+480|0,v[a+476>>2],v[a+472>>2],p,i,j,v[a+420>>2]);b=Wm(b,c,v[a+4>>2],v[a>>2],d,e);c=v[k>>2];v[k>>2]=0;if(c){Qa[v[k+4>>2]](c)}Vb(j);Vb(i);Vb(p);d=v[a+488>>2];c=v[d+4>>2]-1|0;v[d+4>>2]=c;if((c|0)==-1){Qa[v[v[d>>2]+8>>2]](d)}Ma=a+496|0;return b|0}function $Aa(a,b){a=a|0;b=b|0;var 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;e=v[a+24>>2];k=v[a+12>>2];d=v[a+8>>2];f=k-d|0;l=v[a+20>>2];j=v[a+16>>2];g=l-j>>1;h=(f|0)<(g|0)?f:g;a:{if((h|0)<8){f=j;break a}g=h>>>3|0;c=g;f=j;b:{while(1){i=w[d|0];u[f>>1]=i;m=w[d+1|0];u[f+2>>1]=m;n=w[d+2|0];u[f+4>>1]=n;o=w[d+3|0];u[f+6>>1]=o;p=w[d+4|0];u[f+8>>1]=p;q=w[d+5|0];u[f+10>>1]=q;r=w[d+6|0];u[f+12>>1]=r;s=w[d+7|0];u[f+14>>1]=s;if((i|m|n|o|p|q|r|s)<<24>>24<0){break b}f=f+16|0;d=d+8|0;i=(c|0)>1;c=c-1|0;if(i){continue}break}c=0}g=g-c|0;c=g<<3;h=h-c|0;if(!e){e=0;c=0;break a}j=(c<<1)+j|0;c=0;if((g|0)<1){break a}while(1){v[e>>2]=c;v[e+28>>2]=c|7;v[e+24>>2]=c|6;v[e+20>>2]=c|5;v[e+16>>2]=c|4;v[e+12>>2]=c|3;v[e+8>>2]=c|2;v[e+4>>2]=c|1;e=e+32|0;c=c+8|0;i=(g|0)>1;g=g-1|0;if(i){continue}break}}c:{d:{e:{f:{if((h|0)<1){g=d;break f}while(1){g=d+1|0;d=t[d|0];if((d|0)<0){break e}u[f>>1]=d&255;f=f+2|0;i=(h|0)>1;d=g;h=h-1|0;if(i){continue}break}}if(g>>>0>=k>>>0){break c}d=15;if(f>>>0>>0){break c}break d}h=v[a+4>>2];t[h+36|0]=1;t[h+37|0]=d;d=12}v[b>>2]=d}g:{if(!e){e=0;break g}b=f-j|0;if(!b){break g}d=b>>1;b=d-1|0;h=d&7;if(h){while(1){v[e>>2]=c;d=d-1|0;e=e+4|0;c=c+1|0;h=h-1|0;if(h){continue}break}}if(b>>>0<7){break g}while(1){v[e>>2]=c;v[e+28>>2]=c+7;v[e+24>>2]=c+6;v[e+20>>2]=c+5;v[e+16>>2]=c+4;v[e+12>>2]=c+3;v[e+8>>2]=c+2;v[e+4>>2]=c+1;e=e+32|0;c=c+8|0;d=d-8|0;if(d){continue}break}}v[a+24>>2]=e;v[a+16>>2]=f;v[a+8>>2]=g}function vXa(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,v=0,y=0,z=0;if(e){v=e-1|0;y=e-2|0;q=(e|0)==1;while(1){a=f;u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];f=a+4|0;g=g+4|0;a:{if(!q&m>>>0>=v>>>0){break a}k=m?(m|0)==(y|0)?d:b:c;i=!m&q;if(i){if(k>>>0<2){break a}i=k-1|0;l=i&3;if(k-2>>>0>=3){i=i&-4;while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a>>1];u[g+6>>1]=x[a+2>>1];u[g+8>>1]=x[a>>1];u[g+10>>1]=x[a+2>>1];u[g+12>>1]=x[a>>1];u[g+14>>1]=x[a+2>>1];g=g+16|0;i=i-4|0;if(i){continue}break}}if(!l){break a}while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];g=g+4|0;l=l-1|0;if(l){continue}break}break a}l=a+2|0;r=k<<1;p=i?0:f;o=p+2|0;i=k+1>>>1|0;if(k>>>0>=3){z=i>>>0>2?i:2;h=1;while(1){u[g>>1]=x[a>>1];n=g+2|0;j=x[a+2>>1];b:{if((j|0)==x[o>>1]){u[n>>1]=j;break b}j=w[l|0]|w[l+1|0]<<8;s=w[o|0]|w[o+1|0]<<8;j=((j<<8|j>>>8)&65535)+(((B(((s<<8|s>>>8)&65535)-((j<<8|j>>>8)&65535)|0,h)<<1)+k|0)/(r|0)|0)&65535;j=j<<8|j>>>8;t[n|0]=j;t[n+1|0]=j>>>8}g=g+4|0;h=h+1|0;if((z|0)!=(h|0)){continue}break}}if(i>>>0>=k>>>0){break a}while(1){u[g>>1]=x[p>>1];a=g+2|0;h=x[l>>1];c:{if((h|0)==x[p+2>>1]){u[a>>1]=h;break c}h=w[l|0]|w[l+1|0]<<8;n=w[o|0]|w[o+1|0]<<8;h=((h<<8|h>>>8)&65535)+(((B(((n<<8|n>>>8)&65535)-((h<<8|h>>>8)&65535)|0,i)<<1)+k|0)/(r|0)|0)&65535;h=h<<8|h>>>8;t[a|0]=h;t[a+1|0]=h>>>8}g=g+4|0;i=i+1|0;if((k|0)!=(i|0)){continue}break}}m=m+1|0;if((m|0)!=(e|0)){continue}break}}return 0}function uea(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;h=Ma-16|0;Ma=h;if((e|0)>=1){j=b+e|0;while(1){j=j-1|0;f=(j<<3)+a|0;a:{if((j-c|0)>=(e|0)){v[f>>2]=0;v[f+4>>2]=v[279250];g=v[(j-e<<3)+a>>2];b:{if(g){Qa[v[v[g>>2]+28>>2]](h+8|0,g,1);break b}v[h+8>>2]=0}jb(f,h+8|0);g=v[h+8>>2];v[h+8>>2]=0;if(!g){break a}i=v[g+4>>2]-1|0;v[g+4>>2]=i;if(i){break a}i=v[g+4>>2];if(!i){v[g+4>>2]=-32767}if(!i){Qa[v[v[g>>2]+4>>2]](g)}break a}v[f>>2]=0;v[f+4>>2]=v[279250];g=v[d>>2];c:{if(g){Qa[v[v[g>>2]+28>>2]](h+8|0,g,1);break c}v[h+8>>2]=0}jb(f,h+8|0);g=v[h+8>>2];v[h+8>>2]=0;if(!g){break a}i=v[g+4>>2]-1|0;v[g+4>>2]=i;if(i){break a}i=v[g+4>>2];if(!i){v[g+4>>2]=-32767}if(!i){Qa[v[v[g>>2]+4>>2]](g)}}i=f;f=v[f>>2];v[i+4>>2]=v[(f?f+12|0:1117e3)>>2];if((b|0)<(j|0)){continue}break}}if((b|0)>(c|0)){while(1){b=b-1|0;d:{if((b-c|0)>=(e|0)){f=v[(b-e<<3)+a>>2];e:{if(f){Qa[v[v[f>>2]+28>>2]](h+8|0,f,1);break e}v[h+8>>2]=0}jb((b<<3)+a|0,h+8|0);f=v[h+8>>2];v[h+8>>2]=0;if(!f){break d}g=v[f+4>>2]-1|0;v[f+4>>2]=g;if(g){break d}g=v[f+4>>2];if(!g){v[f+4>>2]=-32767}if(!g){Qa[v[v[f>>2]+4>>2]](f)}break d}f=v[d>>2];f:{if(f){Qa[v[v[f>>2]+28>>2]](h+8|0,f,1);break f}v[h+8>>2]=0}jb((b<<3)+a|0,h+8|0);f=v[h+8>>2];v[h+8>>2]=0;if(!f){break d}g=v[f+4>>2]-1|0;v[f+4>>2]=g;if(g){break d}g=v[f+4>>2];if(!g){v[f+4>>2]=-32767}if(!g){Qa[v[v[f>>2]+4>>2]](f)}}g=(b<<3)+a|0;f=v[g>>2];v[g+4>>2]=v[(f?f+12|0:1117e3)>>2];if((b|0)>(c|0)){continue}break}}Ma=h+16|0}function Lha(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,p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0;o=Ma-32|0;Ma=o;a:{b:{if(w[a+89|0]){break b}if(!w[a+88|0]){D=a,E=Qa[v[v[a>>2]+36>>2]](a)|0,v[D+72>>2]=E;D=a,E=Qa[v[v[a>>2]+44>>2]](a)|0,v[D+76>>2]=E;D=a,E=Qa[v[v[a>>2]+40>>2]](a)|0,v[D+80>>2]=E;d=Qa[v[v[a>>2]+48>>2]](a)|0;t[a+88|0]=1;v[a+84>>2]=d}g=v[a+92>>2];if((g|0)>=1){z=v[a+76>>2]<<1;k=v[a+108>>2];l=v[a+104>>2];m=v[a+120>>2];n=v[a+116>>2];p=v[a+132>>2];q=v[a+128>>2];r=v[a+144>>2];s=v[a+140>>2];A=v[a+72>>2];d=0;while(1){if((d|0)<(s|0)|(d|0)>(r|0)){break a}C=g;a=d;u=v[(a-p<<2)+q>>2]-c|0;if(u){while(1){f=a;a=a+1|0;h=(a|0)%(g|0)|0;if((h|0)<(s|0)|(h|0)>(r|0)){break a}j=v[(h-p<<2)+q>>2];x=j-c|0;if(!x){continue}break}if((d|0)!=(f|0)){i=(d+1|0)%(g|0)|0;if((i|0)<(n|0)|(i|0)>(m|0)){break a}e=(f|0)%(g|0)|0;if((e|0)<(n|0)|(e|0)>(m|0)){break a}d=1;if((B(v[(e-k<<2)+l>>2]-b|0,v[(i-k<<2)+l>>2]-b|0)|0)<1){break b}}if(!(!((u|0)<=-1&(x|0)>0)&((u|0)<1|(x|0)>-1))){e=(f|0)%(g|0)|0;if((e|0)<(n|0)|(e|0)>(m|0)|((e|0)<(s|0)|(e|0)>(r|0))){break a}if((h|0)<(n|0)|(h|0)>(m|0)){break a}d=1;f=v[(e-p<<2)+q>>2];i=j-f|0;e=v[(e-k<<2)+l>>2];f=B(v[(h-k<<2)+l>>2]-e|0,c-f|0);j=B(i,b-e|0)-f|0;if(!j){break b}f=B(i,z-(e+A|0)|0)-f|0;if(!f){break b}d=(f|0)>-1?1:-1;y=(((j|0)>-1?d:0-d|0)>>>31|0)+y|0}}else{a=d+1|0}d=a;if((C|0)>(a|0)){continue}break}}d=y&1}Ma=o+32|0;return d|0}lb(mb(o+8|0,227376,271519,632,306691));L()}function oI(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b=v[a+288>>2];if((b|0)==1){b=v[a+292>>2];v[a+308>>2]=v[b+28>>2];c=v[b+32>>2];v[a+312>>2]=c;v[b+64>>2]=1;v[b+56>>2]=1;v[b+60>>2]=1;v[b+72>>2]=1;v[b+68>>2]=v[b+36>>2];d=b;b=v[b+12>>2];c=(c>>>0)%(b>>>0)|0;v[d+76>>2]=c?c:b;v[a+316>>2]=1;v[a+320>>2]=0;break a}if(b-1>>>0>=4){c=v[a>>2];v[c+24>>2]=b;v[c+20>>2]=27;v[v[a>>2]+28>>2]=4;Qa[v[v[a>>2]>>2]](a)}b=B(v[a+376>>2],v[a+268>>2]);v[a+308>>2]=((b+v[a+64>>2]|0)-1|0)/(b|0);b=B(v[a+376>>2],v[a+272>>2]);b=((b+v[a+68>>2]|0)-1|0)/(b|0)|0;v[a+316>>2]=0;v[a+312>>2]=b;if(v[a+288>>2]<1){break a}h=a+320|0;c=0;while(1){b=v[((c<<2)+a|0)+292>>2];e=v[b+8>>2];v[b+56>>2]=e;f=v[b+12>>2];v[b+60>>2]=f;g=B(e,f);v[b+64>>2]=g;v[b+68>>2]=B(e,v[b+36>>2]);d=y[b+28>>2]%(e>>>0)|0;v[b+72>>2]=d?d:e;d=b;b=y[b+32>>2]%(f>>>0)|0;v[d+76>>2]=b?b:f;if((g+i|0)>=11){b=v[a>>2];v[b+20>>2]=14;Qa[v[b>>2]](a)}b:{if((g|0)<1){break b}b=B(e,f);e=b-1|0;b=b&3;if(b){while(1){f=v[a+316>>2];v[a+316>>2]=f+1;v[((f<<2)+a|0)+320>>2]=c;g=g-1|0;b=b-1|0;if(b){continue}break}}if(e>>>0<3){break b}while(1){b=v[a+316>>2];v[a+316>>2]=b+1;v[(b<<2)+h>>2]=c;b=v[a+316>>2];v[a+316>>2]=b+1;v[(b<<2)+h>>2]=c;b=v[a+316>>2];v[a+316>>2]=b+1;v[(b<<2)+h>>2]=c;b=v[a+316>>2];v[a+316>>2]=b+1;v[(b<<2)+h>>2]=c;b=(g|0)>4;g=g-4|0;if(b){continue}break}}c=c+1|0;if((c|0)>=v[a+288>>2]){break a}i=v[a+316>>2];continue}}b=v[a+240>>2];if((b|0)>=1){d=a;a=B(b,v[a+308>>2]);v[d+236>>2]=(a|0)<65535?a:65535}}function eX(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=Ma-32|0;Ma=h;e=w[v[v[a+36>>2]+16>>2]];a:{if(((e&223)-65&255)>>>0<=25){g=Qa[v[256555]](10)|0;if(!g){Yc(a,0);break a}t[g|0]=e;Bc(a);c=w[v[v[a+36>>2]+16>>2]];b=1;i=10;while(1){b:{c:{d:{if(((c&223)-65&255)>>>0<26|(c-48&255)>>>0<10){break d}e=c&255;if(e-45>>>0<2){break d}if((e|0)!=95){break c}}e=b+1|0;if((e|0)<(i|0)){d=g;break b}i=i<<1;d=Qa[v[256557]](g,i)|0;if(d){break b}c=0;Yc(a,0);Qa[v[256556]](g);break a}t[b+g|0]=0;c=g;break a}g=d;t[b+d|0]=c;Bc(a);b=e;f=v[a+36>>2];d=v[f+16>>2];c=w[d|0];if(c){continue}e:{if(v[a+292>>2]){break e}f:{if((d-v[f+12>>2]|0)<501|(v[f+20>>2]-d|0)>499){break f}Xg(f);b=v[a+36>>2];if(w[v[b+16>>2]]){break f}if((Zb(b)|0)>0){break f}while(1){c=v[a+40>>2];if((c|0)<2){break f}g:{h:{i:{if(!v[291060]){f=c-1|0;v[a+40>>2]=f;b=v[a+48>>2];break i}v[h>>2]=c;b=0;Qa[v[256654]](v[291043],344907,h);c=v[a+40>>2];if((c|0)<1){break g}f=c-1|0;v[a+40>>2]=f;b=v[a+48>>2];j=0;d=0;if((c|0)==1){break h}}j=v[((c<<2)+b|0)-8>>2];d=f}v[a+36>>2]=j;d=(d<<2)+b|0;b=v[d>>2];v[d>>2]=0}Vh(b);b=v[a+36>>2];if(w[v[b+16>>2]]){break f}if((Zb(b)|0)<1){continue}break}}if(v[a+292>>2]){break e}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break e}oc(a)}c=w[v[v[a+36>>2]+16>>2]];b=e;continue}}if(!(!v[a+212>>2]|v[a+172>>2]!=-1)){break a}v[a+84>>2]=79;v[h+16>>2]=279995;nb(0,0,0,a,0,1,79,3,0,0,0,0,340716,h+16|0);v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1}Ma=h+32|0;return c}function K_(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0;j=Ma-48|0;Ma=j;v[j+4>>2]=0;l=v[h+556>>2];k=(f|0)==12288|(f|0)==16384;i=H_(j+8|0,f,a,v[g>>2],k?513:96,0,0);a:{if(i){break a}eb(a+24|0,0,160);v[a+156>>2]=8720;v[a+60>>2]=65536;v[a+44>>2]=2;v[a+48>>2]=65536;v[a+32>>2]=-6553600;v[a+36>>2]=3276800;v[a+184>>2]=k?513:48;v[a+172>>2]=65535;v[a+136>>2]=65535;v[a+128>>2]=65535;v[a+132>>2]=65535;v[a+16>>2]=65535;v[a+20>>2]=65535;v[a+8>>2]=65535;v[a+12>>2]=65535;v[a>>2]=65535;v[a+4>>2]=65535;b:{c:{if(!v[b+12>>2]){i=Mb(d,v[b+20>>2]);if(i){break a}i=Zh(d,v[b+24>>2],j+4|0);if(i){break a}c=v[b+24>>2];v[j>>2]=c;break c}i=SA(b,c,j+4|0,j);if(i){break b}c=v[j>>2]}i=v[j+4>>2];i=G_(j+8|0,i,i?c+i|0:0)}d:{if(v[b+12>>2]){if(v[b+32>>2]){break d}b=v[b>>2]}else{b=d}Oe(b,j+4|0)}if(i){break a}i=0;if(v[a+132>>2]!=65535){break a}i=L_(g,a,0,0);if(i){break a}e:{if((f|0)==12288|(f|0)==16384){break e}f=v[v[h+128>>2]+60>>2];f:{if((f|0)==-1){b=v[h+96>>2];f=v[b+68>>2];v[a+648>>2]=f;if(!f){break f}while(1){f=Qa[v[l+20>>2]](f)|0;v[b+68>>2]=f;if((f|0)<0){continue}break}break f}v[a+648>>2]=f;if(!f){break f}while(1){f=Qa[v[l+20>>2]](f)|0;v[v[h+128>>2]+60>>2]=f;if((f|0)<0){continue}break}}if(v[a+648>>2]){break e}v[a+648>>2]=v[a+532>>2]}b=v[a+536>>2];if(!b){i=0;break a}i=Mb(d,v[a+116>>2]+(b+e|0)|0);if(i){break a}b=a+608|0;i=Ro(b,d,1,k);if(i){break a}i=ZI(b,a+644|0,0,0)}a=v[v[j+8>>2]>>2];b=v[j+24>>2];if(b){Qa[v[a+8>>2]](a,b)}v[j+24>>2]=0;Ma=j+48|0;return i}function sFa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a=eb(a,0,656);v[a+56>>2]=0;v[a+48>>2]=0;v[a+52>>2]=0;v[a+40>>2]=0;v[a+44>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=0;v[a+4>>2]=0;v[a>>2]=v[b>>2];v[a+4>>2]=v[b+4>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=v[b+12>>2];v[a+16>>2]=v[b+16>>2];d=v[b+20>>2];v[a+40>>2]=b+48;v[a+36>>2]=b+40;v[a+32>>2]=b+32;v[a+28>>2]=b+28;v[a+24>>2]=b+24;v[a+20>>2]=d;if(c){t[a+44|0]=0;d=w[b+68|0]|w[b+69|0]<<8;e=w[b+70|0];v[a+540>>2]=b+1508;f=v[113785];v[a+52>>2]=v[113784];v[a+56>>2]=f;t[a+48|0]=c;t[a+47|0]=e;t[a+45|0]=d;t[a+46|0]=d>>>8;v[a+604>>2]=v[b+1348>>2];v[a+584>>2]=v[b+1352>>2];v[a+580>>2]=v[b+1356>>2];v[a+588>>2]=v[b+1472>>2];v[a+644>>2]=v[b+1468>>2];v[a+556>>2]=v[b+1364>>2];v[a+572>>2]=v[b+1368>>2];v[a+612>>2]=v[b+1372>>2];v[a+616>>2]=v[b+1376>>2];v[a+648>>2]=v[b+1496>>2];v[a+652>>2]=v[b+1500>>2];v[a+608>>2]=v[b+1360>>2];return}t[a+44|0]=w[b+64|0];c=w[b+65|0]|w[b+66|0]<<8;d=w[b+67|0];e=v[113785];v[a+52>>2]=v[113784];v[a+56>>2]=e;t[a+48|0]=0;t[a+47|0]=d;t[a+45|0]=c;t[a+46|0]=c>>>8;c=v[b+108>>2];v[a+532>>2]=c;v[a+540>>2]=c+3104;v[a+536>>2]=v[b+768>>2];v[a+560>>2]=v[b+732>>2];v[a+576>>2]=v[b+748>>2];v[a+568>>2]=v[b+740>>2];v[a+556>>2]=v[b+728>>2];v[a+572>>2]=v[b+744>>2];c=v[b+736>>2];v[a+544>>2]=b+584;v[a+564>>2]=c;t[a+548|0]=w[b+593|0];v[a+588>>2]=v[b+760>>2];v[a+596>>2]=v[b+772>>2];v[a+600>>2]=v[b+776>>2]}function dx(a,b,c){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,p=0,q=0;if((c|0)>1){d=v[a>>2];if(d){$a(d);v[a>>2]=0}a:{e=v[b+4>>2];if((e|0)<2){break a}f=v[b>>2];h=A[f>>3];d=1;while(1){g=h;h=A[f+(d<<3)>>3];if(!(g>h)){d=d+1|0;if((e|0)!=(d|0)){continue}break a}break}O(19336,6744,952,188362);L()}e=gb(c<<3);v[a>>2]=e;if(!e){return-1}v[a+4>>2]=c;if((c|0)>=1){b:{d=0;i=v[b+4>>2];if((i|0)<=0){f=c&7;if(c-1>>>0>=7){a=c&-8;while(1){b=d<<3;c=b+e|0;v[c>>2]=0;v[c+4>>2]=1072693248;c=e+(b|8)|0;v[c>>2]=0;v[c+4>>2]=1072693248;c=e+(b|16)|0;v[c>>2]=0;v[c+4>>2]=1072693248;c=e+(b|24)|0;v[c>>2]=0;v[c+4>>2]=1072693248;c=e+(b|32)|0;v[c>>2]=0;v[c+4>>2]=1072693248;c=e+(b|40)|0;v[c>>2]=0;v[c+4>>2]=1072693248;c=e+(b|48)|0;v[c>>2]=0;v[c+4>>2]=1072693248;b=e+(b|56)|0;v[b>>2]=0;v[b+4>>2]=1072693248;d=d+8|0;a=a-8|0;if(a){continue}break}}if(!f){break b}while(1){a=e+(d<<3)|0;v[a>>2]=0;v[a+4>>2]=1072693248;d=d+1|0;f=f-1|0;if(f){continue}break}break b}p=+(c-1|0);l=i-1|0;j=+(l|0);k=v[b>>2];f=0;while(1){h=+(f|0)/p;d=0;q=e+(f<<3)|0;c:{d:{while(1){a=d;g=A[(d<<3)+k>>3];if(h==g){while(1){b=d;d=d+1|0;g=1;if((i|0)<=(d|0)){break c}if(h==A[(d<<3)+k>>3]){continue}break}g=(+(a|0)/j+ +(b|0)/j)*.5;break c}d=a+1|0;if(!(!(h>g)|(a|0)>=(l|0))){m=A[(d<<3)+k>>3];if(h>3]=g;f=f+1|0;if((f|0)!=(c|0)){continue}break}}}return 0}O(29177,6744,944,188362);L()}function cXa(a){a=a|0;var 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;if(v[a+588>>2]>=1){e=v[v[a+536>>2]+88>>2];e=(v[e+1176>>2]+B(v[e+1168>>2],v[a+572>>2])|0)+B(v[e+1164>>2],v[a+580>>2])|0;f=v[a+644>>2];while(1){d=e+6|0;b=w[d|0]|w[d+1|0]<<8;h=(b<<8|b>>>8)&65535;b=w[f+6|0]|w[f+7|0]<<8;b=(b<<8|b>>>8)&65535;a:{if(!b){break a}if(!(h?(b|0)!=65535:0)){u[e>>1]=x[f>>1];u[e+2>>1]=x[f+2>>1];u[e+4>>1]=x[f+4>>1];u[e+6>>1]=x[f+6>>1];break a}c=w[f|0]|w[f+1|0]<<8;g=(c<<8|c>>>8)&65535;c=w[f+2|0]|w[f+3|0]<<8;l=(c<<8|c>>>8)&65535;c=w[f+4|0]|w[f+5|0]<<8;m=(c<<8|c>>>8)&65535;c=w[e|0]|w[e+1|0]<<8;n=(c<<8|c>>>8)&65535;c=e+2|0;i=w[c|0]|w[c+1|0]<<8;o=(i<<8|i>>>8)&65535;i=e+4|0;j=w[i|0]|w[i+1|0]<<8;j=(j<<8|j>>>8)&65535;if((h|0)==65535){h=b^65535;d=(B(b,g)+B(h,n)|0)+32768|0;d=(d>>>16|0)+d>>>16|0;d=d<<8|d>>>8;t[e|0]=d;t[e+1|0]=d>>>8;d=(B(b,l)+B(h,o)|0)+32768|0;d=(d>>>16|0)+d>>>16|0;d=d<<8|d>>>8;t[c|0]=d;t[c+1|0]=d>>>8;b=(B(b,m)+B(h,j)|0)+32768|0;b=(b>>>16|0)+b>>>16|0;b=b<<8|b>>>8;t[i|0]=b;t[i+1|0]=b>>>8;break a}k=b<<16;p=b^65535;b=(B(p,h^65535)^-1)>>>16|0;k=(k>>>0)/(b>>>0)|0;h=(B(h,p)>>>0)/(b>>>0)|0;g=(B(g,k)+B(h,n)|0)+32767>>>16|0;g=g<<8|g>>>8;t[e|0]=g;t[e+1|0]=g>>>8;g=(B(l,k)+B(h,o)|0)+32767>>>16|0;g=g<<8|g>>>8;t[c|0]=g;t[c+1|0]=g>>>8;c=(B(m,k)+B(h,j)|0)+32767>>>16|0;c=c<<8|c>>>8;t[i|0]=c;t[i+1|0]=c>>>8;b=b<<8|b>>>8;t[d|0]=b;t[d+1|0]=b>>>8}f=f+8|0;e=e+8|0;q=q+1|0;if((q|0)>2]){continue}break}}return 0}function $H(a){var b=0,c=0,d=0;c=-2;a:{if(!v[a+36>>2]|(!a|!v[a+32>>2])){break a}b=v[a+28>>2];if(!b|v[b>>2]!=(a|0)){break a}b:{c:{d=v[b+4>>2];switch(d-57|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 13:case 14:case 15:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 47:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:break a;case 0:case 12:case 16:case 34:case 46:case 56:break b;default:break c}}if((d|0)==666){break b}if((d|0)!=42){break a}}v[a+44>>2]=2;v[a+8>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;v[b+20>>2]=0;v[b+16>>2]=v[b+8>>2];c=v[b+24>>2];if((c|0)<=-1){c=0-c|0;v[b+24>>2]=c}d=(c|0)==2;v[b+4>>2]=d?57:c?42:113;c=a;d:{if(d){d=lf(0,0,0);break d}d=on(0,0,0)}v[c+48>>2]=d;c=0;v[b+40>>2]=0;v[b+5820>>2]=0;u[b+5816>>1]=0;v[b+2872>>2]=867240;v[b+2864>>2]=b+2684;v[b+2860>>2]=867220;v[b+2852>>2]=b+2440;v[b+2848>>2]=867200;v[b+2840>>2]=b+148;xY(b)}if(!c){a=v[a+28>>2];v[a+60>>2]=v[a+44>>2]<<1;b=v[a+68>>2];d=(v[a+76>>2]<<1)-2|0;u[b+d>>1]=0;eb(b,0,d);v[a+5812>>2]=0;v[a+116>>2]=0;v[a+120>>2]=2;v[a+104>>2]=0;v[a+108>>2]=0;v[a+92>>2]=0;v[a+96>>2]=2;v[a+72>>2]=0;b=B(v[a+132>>2],12);v[a+144>>2]=x[b+863828>>1];v[a+140>>2]=x[b+863824>>1];v[a+128>>2]=x[b+863826>>1];v[a+124>>2]=x[b+863830>>1]}return c}function Zba(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,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;a=Ma-192|0;Ma=a;g=a+184|0;h=v[d+28>>2];v[g>>2]=h;v[h+4>>2]=v[h+4>>2]+1;o=Yi(g);h=c;g=f;c=v[f+4>>2];a:{if(w[f+11|0]>>>7|0){break a}c=w[g+11|0]}if(c){if(w[g+11|0]>>>7|0){c=v[g>>2]}else{c=g}q=w[c|0]==(Qa[v[v[o>>2]+28>>2]](o,45)&255)}p=ud(a+160|0);i=ud(a+144|0);j=ud(a+128|0);aO(h,q,a+184|0,a+176|0,a+175|0,a+174|0,p,i,j,a+124|0);v[a+16>>2]=1563;c=a+16|0;k=nf(a+8|0,0,c);b:{if(w[g+11|0]>>>7|0){g=v[f+4>>2]}else{g=w[f+11|0]}c:{if((g|0)>v[a+124>>2]){if(w[f+11|0]>>>7|0){h=v[f+4>>2]}else{h=w[f+11|0]}l=v[a+124>>2];g=l;if(w[i+11|0]>>>7|0){m=v[i+4>>2]}else{m=w[i+11|0]}if(w[j+11|0]>>>7|0){n=v[j+4>>2]}else{n=w[j+11|0]}g=((m+(n+(h-g<<1)|0)|0)+l|0)+1|0;break c}l=v[a+124>>2];if(w[j+11|0]>>>7|0){g=v[j+4>>2]}else{g=w[j+11|0]}if(w[i+11|0]>>>7|0){h=v[i+4>>2]}else{h=w[i+11|0]}g=(l+(g+h|0)|0)+2|0}if(g>>>0<101){break b}c=gb(g);g=v[k>>2];v[k>>2]=c;if(g){Qa[v[k+4>>2]](g)}c=v[k>>2];if(c){break b}_f();L()}h=c;n=a+4|0;l=a;r=v[d+4>>2];if(w[f+11|0]>>>7|0){g=v[f>>2]}else{g=f}m=g;if(w[f+11|0]>>>7|0){g=v[f>>2]}else{g=f}if(w[f+11|0]>>>7|0){f=v[f+4>>2]}else{f=w[f+11|0]}$N(h,n,l,r,m,g+f|0,o,q,a+176|0,t[a+175|0],t[a+174|0],p,i,j,v[a+124>>2]);b=Xm(b,c,v[a+4>>2],v[a>>2],d,e);c=v[k>>2];v[k>>2]=0;if(c){Qa[v[k+4>>2]](c)}Vb(j);Vb(i);Vb(p);d=v[a+184>>2];c=v[d+4>>2]-1|0;v[d+4>>2]=c;if((c|0)==-1){Qa[v[v[d>>2]+8>>2]](d)}Ma=a+192|0;return b|0}function Bma(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=Ma-16|0;Ma=f;$p(f,b);m=c;k=d;e=Ma-32|0;Ma=e;a:{b:{c:{d:{i=v[a+4>>2];a=v[i+8>>2];g=v[i+12>>2];if((a|0)==(g|0)){break d}b=w[f+11|0];n=b<<24>>24;c=(n|0)<0;d=c?v[f>>2]:f;j=c?v[f+4>>2]:b;if(!j){while(1){h=w[a+11|0];b=h<<24>>24;e:{if((b|0)<0?v[a+4>>2]:h){break e}if((b|0)<1){break d}if(w[d|0]!=w[a|0]){break e}c=a;b=d;while(1){h=h-1|0;if(!h){break d}j=w[b+1|0];b=b+1|0;c=c+1|0;if((j|0)==w[c|0]){continue}break}}a=a+20|0;if((g|0)!=(a|0)){continue}break c}}while(1){h=w[a+11|0];c=h<<24>>24;b=(c|0)<0;f:{if((j|0)!=((b?v[a+4>>2]:h)|0)){break f}l=v[a>>2];if(!b){if(!c){break d}c=a;b=d;if(w[b|0]!=(l&255)){break f}while(1){h=h-1|0;if(!h){break d}l=w[b+1|0];b=b+1|0;c=c+1|0;if((l|0)==w[c|0]){continue}break}break f}if(!Jb(l,d,j)){break d}}a=a+20|0;if((g|0)!=(a|0)){continue}break}break c}if((a|0)!=(g|0)){break b}n=t[f+11|0]}a=cb(ab(k),m,k);g:{if((n|0)>=0){v[e+16>>2]=v[f+8>>2];b=v[f+4>>2];v[e+8>>2]=v[f>>2];v[e+12>>2]=b;break g}Sl(e+8|0,v[f>>2],v[f+4>>2]);g=v[i+12>>2]}v[e+24>>2]=k;v[e+20>>2]=a;if(y[i+16>>2]>g>>>0){a=v[e+12>>2];v[g>>2]=v[e+8>>2];v[g+4>>2]=a;v[g+8>>2]=v[e+16>>2];a=v[e+24>>2];v[g+12>>2]=v[e+20>>2];v[g+16>>2]=a;v[i+12>>2]=g+20;break a}MY(i+8|0,e+8|0);if(t[e+19|0]>-1){break a}$a(v[e+8>>2]);break a}b=v[a+12>>2];if((b|0)!=(m|0)){if(b){$a(b);v[a+12>>2]=0}v[a+12>>2]=m}v[a+16>>2]=k}Ma=e+32|0;if(t[f+11|0]<=-1){$a(v[f>>2])}Ma=f+16|0}function vl(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{if(!a){break a}b:{c:{d:{b=v[a+4>>2];switch(b-9|0){case 0:case 4:break b;case 9:break d;default:break c}}while(1){b=v[a>>2];c=v[a+8>>2];if(c){Qa[v[256556]](c)}c=v[a+12>>2];if(c){Qa[v[256556]](c)}Qa[v[256556]](a);a=b;if(b){continue}break}break a}c=v[a+32>>2];if(c){g=v[c+80>>2]}while(1){f=v[a+24>>2];if((b|0)!=14){e:{if(!v[291069]){break e}b=v[291067];if(!b){break e}Qa[b|0](a)}b=v[a+12>>2];f:{if(b){if(v[a+4>>2]==5){break f}vl(b)}d=v[a+4>>2];g:{if(d>>>0>20|!(1<>2];if(!b){break g}while(1){c=v[b+24>>2];Pv(b);b=c;if(b){continue}break}d=v[a+4>>2]}h:{if(1<>>0<=20:0){break h}e=v[a+40>>2];if((e|0)==(a+44|0)|!e){break h}c=g;if(c){while(1){b=v[c+16>>2];if(b){while(1){if(b+20>>>0<=e>>>0&y[b+4>>2]>=e>>>0){break h}b=v[b>>2];if(b){continue}break}}c=v[c+20>>2];if(c){continue}break}}Qa[v[256556]](e);d=v[a+4>>2]}if(!(1<>>0>20){break f}b=v[a+48>>2];if(!b){break f}while(1){c=v[b>>2];d=v[b+8>>2];if(d){Qa[v[256556]](d)}d=v[b+12>>2];if(d){Qa[v[256556]](d)}Qa[v[256556]](b);b=c;if(b){continue}break}}d=v[a+8>>2];i:{if(!d){break i}j:{switch(v[a+4>>2]-3|0){case 0:case 5:break i;default:break j}}c=g;if(c){while(1){b=v[c+16>>2];if(b){while(1){if(d>>>0<=y[b+4>>2]&d>>>0>=b+20>>>0){break i}b=v[b>>2];if(b){continue}break}}c=v[c+20>>2];if(c){continue}break}}Qa[v[256556]](d)}Qa[v[256556]](a)}if(!f){break a}b=v[f+4>>2];a=f;continue}}wq(a)}}function ze(a,b){var c=0,d=0,e=0,f=0;d=Ma-16|0;Ma=d;v[a+8>>2]=0;v[a>>2]=969400;c=v[279250];v[a+20>>2]=0;v[a+12>>2]=c;v[a+16>>2]=988088;e=oo(ab(52));v[e+4>>2]=v[e+4>>2]+1;c=v[a+20>>2];a:{if(!c){break a}f=v[c+4>>2]-1|0;v[c+4>>2]=f;if(f){break a}Qa[v[v[c>>2]+4>>2]](c)}v[a+20>>2]=e;v[a+24>>2]=988088;v[a+28>>2]=0;e=oo(ab(52));v[e+4>>2]=v[e+4>>2]+1;c=v[a+28>>2];b:{if(!c){break b}f=v[c+4>>2]-1|0;v[c+4>>2]=f;if(f){break b}Qa[v[v[c>>2]+4>>2]](c)}c=a+8|0;t[a+32|0]=0;v[a+28>>2]=e;c:{d:{if(!w[b+32|0]){cg(b,1);if(!w[b+32|0]){break d}}v[d>>2]=0;v[d+4>>2]=v[279250];b=v[b+8>>2];e:{if(b){Qa[v[v[b>>2]+28>>2]](d+8|0,b,1);break e}v[d+8>>2]=0}jb(d,d+8|0);b=v[d+8>>2];v[d+8>>2]=0;f:{if(!b){break f}e=v[b+4>>2]-1|0;v[b+4>>2]=e;if(e){break f}e=v[b+4>>2];if(!e){v[b+4>>2]=-32767}if(!e){Qa[v[v[b>>2]+4>>2]](b)}}b=v[d>>2];v[d+4>>2]=v[(b?b+12|0:1117e3)>>2];g:{if(b){Qa[v[v[b>>2]+28>>2]](d+8|0,b,1);break g}v[d+8>>2]=0}jb(c,d+8|0);b=v[d+8>>2];v[d+8>>2]=0;h:{if(!b){break h}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break h}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[a+8>>2];v[a+12>>2]=v[(b?b+12|0:1117e3)>>2];db(d);cg(a,0);break c}b=v[b+8>>2];i:{if(b){Qa[v[v[b>>2]+28>>2]](d,b,1);break i}v[d>>2]=0}jb(c,d);b=v[d>>2];v[d>>2]=0;j:{if(!b){break j}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break j}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[a+8>>2];v[a+12>>2]=v[(b?b+12|0:1117e3)>>2]}Ma=d+16|0;return a}function oy(a,b){var c=0,d=0,e=0,f=0;d=Ma-32|0;Ma=d;e=a- -64|0;c=e;f=v[c+24>>2];v[d+28>>2]=c;v[d+24>>2]=f;a:{c=v[d+24>>2];if(c){while(1){if((e|0)!=v[d+28>>2]){break a}b:{if(v[c+24>>2]==(b|0)){v[d+20>>2]=e;v[d+16>>2]=c;v[d+24>>2]=v[c>>2];ho(e,d+16|0);c=v[d+24>>2];break b}c=v[c>>2];v[d+24>>2]=c}if(c){continue}break}}c:{d:{e=a+36|0;c=e;c=v[v[c+12>>2]+((b>>>0)%y[c+8>>2]<<2)>>2];if(c){while(1){if(v[c+12>>2]==(b|0)&v[c+16>>2]==(b|0)){break d}c=v[c+8>>2];if(c){continue}break}}v[d+28>>2]=e;v[d+24>>2]=0;break c}v[d+28>>2]=e;v[d+24>>2]=c;ho(e,d+24|0)}e:{f:{f=a+8|0;a=f;c=v[v[a+12>>2]+((b>>>0)%y[a+8>>2]<<2)>>2];if(c){while(1){if(v[c+12>>2]==(b|0)&v[c+16>>2]==(b|0)){break f}c=v[c+8>>2];if(c){continue}break}}v[d+28>>2]=f;v[d+24>>2]=0;break e}v[d+28>>2]=f;v[d+24>>2]=c;a=v[c+20>>2];if(a){ac(a);$a(a)}ho(f,d+24|0)}a=v[f+24>>2];v[d+20>>2]=f;v[d+16>>2]=a;c=v[d+20>>2];e=c;a=v[d+16>>2];v[d+24>>2]=a;v[d+28>>2]=c;g:{c=a;if(!c){break g}if((f|0)==(e|0)){while(1){a=v[c+20>>2];v[d+16>>2]=0;v[d+20>>2]=0;c=v[a+8>>2];h:{if(!c){break h}while(1){if(v[c+8>>2]!=(b|0)){c=v[c>>2];if(c){continue}break h}break}v[d+20>>2]=a;v[d+16>>2]=c;Ag(a,d+16|0)}i:{if(!v[a+4>>2]){ac(a);$a(a);a=v[d+24>>2];v[d+8>>2]=a;v[d+12>>2]=v[d+28>>2];if(a){v[d+24>>2]=v[a>>2]}ho(f,d+8|0);c=v[d+24>>2];break i}a=v[d+24>>2];if(!a){break g}c=v[a>>2];v[d+24>>2]=c}if(!c){break g}if((f|0)==v[d+28>>2]){continue}break}}wd(d+24|0,f);L()}Ma=d+32|0;return}wd(d+24|0,e);L()}function q8(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=v[a+584>>2];if(d){a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{if((b|0)<=34907){if((b|0)==262){break j}if((b|0)==347){break m}if((b|0)!=530){break d}v[d+932>>2]=1;return Qa[v[d+896>>2]](a,530,c)|0}n:{switch(b-34908|0){case 3:break e;case 2:break f;case 1:break g;case 0:break h;default:break n}}switch(b-65537|0){case 2:break i;case 1:break k;case 0:break l;default:break d}}e=v[c>>2];if(e){break c}return 0}v[d+920>>2]=v[c>>2];return 1}c=v[c>>2];v[d+924>>2]=c;d=v[a+12>>2];b=d&-16385;v[a+12>>2]=b;if(!(x[a+138>>1]!=1|x[a+90>>1]!=6|(c|0)!=1)){b=d|16384;v[a+12>>2]=b}if(v[a+508>>2]>=1){c=a;if(b&1024){b=$k(a)}else{b=-1}v[c+508>>2]=b}b=1;if(v[a+588>>2]<1){break a}f=a,g=Gi(a),v[f+588>>2]=g;return 1}b=Qa[v[d+896>>2]](a,262,c)|0;c=v[a+12>>2];d=c&-16385;v[a+12>>2]=d;if(!(x[a+138>>1]!=1|x[a+90>>1]!=6|v[v[a+584>>2]+924>>2]!=1)){d=c|16384;v[a+12>>2]=d}if(v[a+508>>2]>=1){c=a;if(d&1024){d=$k(a)}else{d=-1}v[c+508>>2]=d}if(v[a+588>>2]<1){break a}f=a,g=Gi(a),v[f+588>>2]=g;return b|0}v[d+928>>2]=v[c>>2];return 1}v[d+936>>2]=v[c>>2];break b}uu(d+940|0,v[c>>2]);break b}v[d+944>>2]=v[c>>2];break b}uu(d+948|0,v[c>>2]);break b}return Qa[v[d+896>>2]](a,b,c)|0}yQ(d+912|0,v[c+4>>2],e);v[d+916>>2]=e;v[a+48>>2]=v[a+48>>2]|4}c=Pe(a,b);if(!c){return 0}b=1;c=x[c+12>>1];d=(c>>>3&8188)+a|0;v[d+40>>2]=v[d+40>>2]|1<>2]=v[a+12>>2]|8}return b|0}O(29012,7121,1634,88046);L()}function V_a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=v[v[a+2248>>2]+88>>2];d=v[b+1168>>2];c=(v[b+1176>>2]+B(d,v[a+572>>2])|0)+B(d,v[a+2268>>2])|0;b=v[b+1164>>2];b=(c+B(b,v[a+580>>2])|0)+B(b,v[a+2264>>2])|0;d=v[a+636>>2]+v[a+616>>2]|0;c=v[a+588>>2];a:{b:{if(w[a+2253|0]!=4){if((c|0)<=0){break a}while(1){c=w[b|0]|w[b+1|0]<<8;e=(c<<8|c>>>8)&65535;c=w[d|0]|w[d+1|0]<<8;c=e+((c<<8|c>>>8)&65535)&65535;c=c<<8|c>>>8;t[b|0]=c;t[b+1|0]=c>>>8;c=b+2|0;e=w[c|0]|w[c+1|0]<<8;g=(e<<8|e>>>8)&65535;e=w[d+2|0]|w[d+3|0]<<8;e=g+((e<<8|e>>>8)&65535)&65535;e=e<<8|e>>>8;t[c|0]=e;t[c+1|0]=e>>>8;c=b+4|0;e=w[c|0]|w[c+1|0]<<8;g=(e<<8|e>>>8)&65535;e=w[d+4|0]|w[d+5|0]<<8;e=g+((e<<8|e>>>8)&65535)&65535;e=e<<8|e>>>8;t[c|0]=e;t[c+1|0]=e>>>8;d=d+6|0;b=B(v[a+584>>2],6)+b|0;c=v[a+588>>2];f=f+1|0;if((c|0)>(f|0)){continue}break}break b}if((c|0)<1){break a}while(1){t[b|0]=w[d|0];t[b+1|0]=w[d+1|0];t[b+2|0]=w[d+2|0];t[b+3|0]=w[d+3|0];t[b+4|0]=w[d+4|0];t[b+5|0]=w[d+5|0];d=d+6|0;b=B(v[a+584>>2],6)+b|0;c=v[a+588>>2];f=f+1|0;if((c|0)>(f|0)){continue}break}}if((c|0)<1){break a}b=v[a+540>>2];b=(v[b+1176>>2]+B(v[a+572>>2],v[b+1168>>2])|0)+B(v[a+580>>2],v[b+1164>>2])|0;d=v[a+636>>2]+v[a+616>>2]|0;c=0;while(1){f=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);t[b|0]=f;t[b+1|0]=f>>>8;t[b+2|0]=f>>>16;t[b+3|0]=f>>>24;f=w[d+4|0]|w[d+5|0]<<8;t[b+4|0]=f;t[b+5|0]=f>>>8;d=d+6|0;b=B(v[a+584>>2],6)+b|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function SA(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=Ma-16|0;Ma=k;f=6;a:{if(!a){break a}h=v[a+12>>2];if(h>>>0<=b>>>0){break a}l=v[a>>2];b:{c:{d:{e:{f:{g=v[a+28>>2];if(!g){f=Mb(l,(v[a+8>>2]+v[a+4>>2]|0)+B(w[a+16|0],b)|0);if(f){break a}f=_e(v[a>>2],k+8|0,w[a+16|0]);if(f){break a}g:{f=w[a+16|0];if(f){g=f&3;if(f-1>>>0<3){i=0}else{j=f&252;while(1){i=e;e=e+4|0;j=j-4|0;if(j){continue}break}h=k+8|0;i=w[h+(i|3)|0]|(w[h+(i|2)|0]|(w[i+h|0]<<16|w[h+(i|1)|0]<<8))<<8}if(g){while(1){i=w[(k+8|0)+e|0]|i<<8;e=e+1|0;g=g-1|0;if(g){continue}break}}if(i){break g}}i=0;f=0;break e}while(1){f=_e(v[a>>2],k+12|0,f&255);h:{if(f){break h}h=w[a+16|0];if(!h){break h}j=h&3;g=0;e=0;if(h-1>>>0>=3){e=h&252;while(1){h=g;g=h+4|0;e=e-4|0;if(e){continue}break}e=k+12|0;e=w[e+(h|3)|0]|(w[e+(h|2)|0]|(w[e+h|0]<<16|w[e+(h|1)|0]<<8))<<8}if(j){while(1){e=w[(k+12|0)+g|0]|e<<8;g=g+1|0;j=j-1|0;if(j){continue}break}}if(e){break f}}b=b+1|0;if(b>>>0>=y[a+12>>2]){break e}f=w[a+16|0];continue}}f=0;i=v[g+(b<<2)>>2];if(!i){break e}while(1){b=b+1|0;e=v[g+(b<<2)>>2];if(e){break f}if((b|0)!=(h|0)){continue}break}break e}f=0;b=v[l+4>>2];g=b+1|0;if(g>>>0>=e>>>0){break d}j=v[a+20>>2];break c}b=v[l+4>>2];e=0}j=v[a+20>>2];g=b+1|0;if(j>>>0<=g-e>>>0){break b}}e=g-j|0}if(!(!i|e>>>0<=i>>>0)){b=e-i|0;v[d>>2]=b;d=v[a+32>>2];if(d){v[c>>2]=(d+i|0)-1;break a}f=Mb(l,(v[a+20>>2]+i|0)-1|0);if(f){break a}f=Zh(l,b,c);break a}v[c>>2]=0;v[d>>2]=0}Ma=k+16|0;return f}function ZK(a){a=a|0;var 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,w=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;b=x[a+26308>>1];if(b){p=x[a+26310>>1];e=p;r=3;while(1){g=e&65535;a:{if(!g){e=0;break a}z=i-2|0;if(z>>>0>i+2>>>0){break a}E=i<<1&14;j=v[a+26028>>2];k=v[a+26352>>2];f=0;while(1){q=f&1;l=j>>>((E|q)<<1)&3;m=l<<1;h=x[a+26316>>1];A=f>>>h|0;C=x[a+26320>>1];D=m+((A+B(C,i>>>h|0)<<3)+k|0)|0;b:{if(x[D>>1]){break b}s=f-2|0;t=f+2|0;if(s>>>0>t>>>0){break b}F=s>>>h|0;G=t>>>h|0;w=f+1|0;H=w>>>h|0;I=w&1;y=f-1|0;J=y>>>h|0;K=y&1;L=x[a+26308>>1];c=0;e=z;d=0;while(1){c:{if(e>>>0>=L>>>0){break c}n=B(e>>>h|0,C);o=e<<1&14;d:{if((j>>>((q|o)<<1)&3)!=(l|0)|g>>>0<=s>>>0){break d}b=x[((n+F<<3)+k|0)+m>>1];if(!b){break d}d=b+d|0;c=c+1|0}e:{if((j>>>((o|K)<<1)&3)!=(l|0)|g>>>0<=y>>>0){break e}b=x[((n+J<<3)+k|0)+m>>1];if(!b){break e}d=b+d|0;c=c+1|0}f:{if((j>>>((o|q)<<1)&3)!=(l|0)|f>>>0>=g>>>0){break f}b=x[((n+A<<3)+k|0)+m>>1];if(!b){break f}d=b+d|0;c=c+1|0}g:{if((j>>>((o|I)<<1)&3)!=(l|0)|g>>>0<=w>>>0){break g}b=x[((n+H<<3)+k|0)+m>>1];if(!b){break g}d=b+d|0;c=c+1|0}if((j>>>((o|q)<<1)&3)!=(l|0)|g>>>0<=t>>>0){break c}b=x[((n+G<<3)+k|0)+m>>1];if(!b){break c}d=b+d|0;c=c+1|0}e=e+1|0;if((r|0)!=(e|0)){continue}break}if(!c){break b}u[D>>1]=(d>>>0)/(c>>>0);p=x[a+26310>>1]}f=f+1|0;g=p;if(f>>>0>>0){continue}break}b=x[a+26308>>1];e=p}r=r+1|0;i=i+1|0;if(i>>>0>>0){continue}break}}}function mj(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{if((b|0)<0|v[a+16>>2]<=(b|0)){break a}h=v[v[a+24>>2]+(b<<2)>>2];a=v[h+16>>2];if((a|0)<=(c|0)){break a}b=v[h+20>>2];if((a|0)<(c+e|0)|(b|0)<=(d|0)|(v[g+20>>2]!=(f|0)|(b|0)<(d+f|0))){break a}if(v[g+24>>2]!=(e|0)){break a}g=v[g+28>>2];b=v[g>>2];b:{c:{if((f|0)>=2){j=v[g+4>>2]-b>>2;break c}if((f|0)!=1){break b}}g=0;a=af(v[h+32>>2],B(v[h+36>>2],B(a,d)+c|0),0);if((e|0)<=0){if((a|0)<0){break a}while(1){g=g+1|0;if((g|0)==(f|0)){break b}if((af(v[h+32>>2],B(v[h+36>>2],B(v[h+16>>2],d+g|0)+c|0),0)|0)>=0){continue}break}break a}i=-1;if((a|0)<0){break b}p=j<<2;while(1){m=b;n=e;d:{g=v[h+36>>2];if((g|0)<=0){break d}while(1){e:{if((g|0)<1){break e}i=-1;a=v[h+32>>2];k=v[a+8>>2];if(k&7){break b}j=v[h+24>>2];i=v[m>>2];l=(v[h+28>>2]?1<>31:0)+i&(-1<>(g<<3)-8;while(1){i=v[a+64>>2];if(!((i|0)<0|(i|0)>v[a+60>>2])){v[a+8>>2]=k|4;break a}v[a+4>>2]=v[a+4>>2]|32;i=v[a+28>>2];v[a+28>>2]=i-1;f:{if((i|0)>=1){v[a+60>>2]=v[a+60>>2]+1;i=a;a=v[a+24>>2];v[i+24>>2]=a+1;t[a|0]=j;break f}i=-1;if((Cb(a,j&255)|0)==-1){break b}}if((g|0)<2){break e}l=l<<8;j=l>>(v[h+36>>2]<<3)-8;i=-1;g=g-1|0;a=v[h+32>>2];k=v[a+8>>2];if(!(k&7)){continue}break}break b}if((n|0)<2){break d}n=n-1|0;m=m+4|0;g=v[h+36>>2];continue}}o=o+1|0;if((o|0)==(f|0)){return 0}b=b+p|0;i=-1;if((af(v[h+32>>2],B(v[h+36>>2],B(v[h+16>>2],d+o|0)+c|0),0)|0)>=0){continue}break}}return i}return-1}function lS(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=Ma-16|0;Ma=e;d=v[a+200>>2];if(d&1){a:{if(d&4){Db(a,66564);uc(a,c);break a}if(!(!b|!(w[b+9|0]&64))){Db(a,66611);uc(a,c);break a}if(c>>>0<=3){Db(a,66679);uc(a,c);break a}d=jf(a,c+1|0);v[a+740>>2]=d;if(!d){Db(a,66807);uc(a,c);break a}Ye(a,d,c);gc(a,d,c);t[v[a+740>>2]+c|0]=0;f=uc(a,0);d=v[a+740>>2];if(f){Tb(a,d);v[a+740>>2]=0;break a}if((w[d|0]-1&255)>>>0>=2){Db(a,66855);Tb(a,v[a+740>>2]);v[a+740>>2]=0;break a}v[e+8>>2]=0;v[e+12>>2]=1;b:{c:{d:{if(!TF(d,c,e+8|0,e+12|0)){break d}d=v[e+12>>2];if(d>>>0>=c>>>0){break d}f=v[a+740>>2];g=d+1|0;v[e+12>>2]=g;if(!w[d+f|0]){break c}}Db(a,66965);break b}if((v[e+8>>2]&392)!=264){Db(a,67084);break b}v[e+8>>2]=0;if(!(i=TF(f,c,e+8|0,e+12|0),j=0,k=v[e+12>>2]==(c|0),k?i:j)){Db(a,67164);break b}if((v[e+8>>2]&392)!=264){Db(a,67279);break b}d=v[a+740>>2];f=t[d|0];c=d+1|0;d=d+g|0;e:{if(!a|!b){break e}f:{g:{if(f-1>>>0<2){if(!c){break g}g=zb(c);if(!g|w[c|0]==45){break g}if(!SF(c,g)){break g}if(!d){break f}h=zb(d);if(!h|w[d|0]==45){break f}if(!SF(d,h)){break f}t[b+220|0]=f;g=g+1|0;f=jf(a,g);v[b+224>>2]=f;if(!f){Db(a,47080);break e}cb(f,c,g);f=h+1|0;c=jf(a,f);v[b+228>>2]=c;if(!c){Tb(a,v[b+224>>2]);v[b+224>>2]=0;Db(a,47080);break e}cb(c,d,f);v[b+8>>2]=v[b+8>>2]|16384;v[b+184>>2]=v[b+184>>2]|256;break e}dc(a,44438);L()}dc(a,45270);L()}dc(a,45893);L()}}Tb(a,v[a+740>>2]);v[a+740>>2]=0}Ma=e+16|0;return}dc(a,66482);L()}function eH(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=Ma-16|0;Ma=d;f=9;a:{if((Qa[v[v[a>>2]+8>>2]](a,b)|0)!=1){break a}if(Qa[v[v[a>>2]+8>>2]](a,b+1|0)|0){break a}c=Qa[v[v[a>>2]+8>>2]](a,b+2|0)|0;if((c|0)<0){break a}if((Qa[v[v[a>>2]+8>>2]](a,b+3|0)|0)-1>>>0>3){break a}c=b+c|0;if((c|0)<0){break a}if(!(Qa[v[v[a>>2]+12>>2]](a,c,d+4|0)|0)){break a}b=c+2|0;if(v[d+4>>2]){e=Qa[v[v[a>>2]+8>>2]](a,b)|0;if(e-1>>>0>3){break a}if(!(Qa[v[v[a>>2]+24>>2]](a,(c+B(e,v[d+4>>2])|0)+3|0,e,d+8|0)|0)){break a}c=v[d+8>>2];if((c|0)<0){break a}b=(b+c|0)+B(e,v[d+4>>2]+1|0)|0;if((b|0)<0){break a}}if(!(Qa[v[v[a>>2]+12>>2]](a,b,d+4|0)|0)|v[d+4>>2]<1){break a}c=Qa[v[v[a>>2]+8>>2]](a,b+2|0)|0;if(c-1>>>0>3){break a}b=b+3|0;if(!(Qa[v[v[a>>2]+24>>2]](a,b,c,d+12|0)|0)|v[d+12>>2]<0){break a}if(!(Qa[v[v[a>>2]+24>>2]](a,b+c|0,c,d+8|0)|0)){break a}e=v[d+8>>2];if((e|0)<0){break a}g=v[d+12>>2];if(g>>>0>e>>>0){break a}h=B(c,v[d+4>>2]+1|0);c=h+(b+g|0)|0;if((c|0)<1){break a}g=c+(e+h|0)|0;e=g+2|0;if((e|0)<1|(c|0)>(e|0)){break a}b=c-1|0;g=g+1|0;b:{if((c|0)>=(e|0)){break b}while(1){f=3;c:{d:{e:{c=Qa[v[v[a>>2]+8>>2]](a,b)|0;switch(c-28|0){case 0:break c;case 1:break d;default:break e}}f=2;if(c-247>>>0<8){break c}f=1;if(c-32>>>0<=214){break c}break b}f=5}b=b+f|0;if((g|0)>(b|0)){continue}break}}c=b+1|0;f:{if((c|0)>=(g|0)){break f}if((Qa[v[v[a>>2]+8>>2]](a,b)|0)!=12){break f}f=3;if((Qa[v[v[a>>2]+8>>2]](a,c)|0)==30){break a}}f=2}Ma=d+16|0;return f}function Bwa(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,h=0,i=0,j=0,k=0,l=0,m=0,n=0;g=Ma-96|0;Ma=g;j=v[v[a+4>>2]+28>>2];k=Qa[v[v[j>>2]+48>>2]](j)|0;j=Fm();h=v[v[a+4>>2]+28>>2];m=j,n=Qa[v[v[h>>2]+24>>2]](h)|0,l=v[v[j>>2]+24>>2],Qa[l](m|0,n|0);Qa[v[v[k>>2]+68>>2]](k,j);h=wt();Qa[v[v[h>>2]+428>>2]](h,k);Qa[v[v[a>>2]+36>>2]](a,b,g+88|0,g+80|0,g+72|0,g- -64|0);j=g;if((e|0)>=1){i=+(e|0)}else{i=A[g+88>>3];a:{if(D(i)<2147483648){e=~~i;break a}e=-2147483648}i=+(B(e,72)|0)/25.4}b:{if(D(i)<2147483648){e=~~i;break b}e=-2147483648}v[j+60>>2]=e;j=g;if((f|0)>=1){i=+(f|0)}else{i=A[g+80>>3];c:{if(D(i)<2147483648){f=~~i;break c}f=-2147483648}i=+(B(f,72)|0)/25.4}d:{if(D(i)<2147483648){f=~~i;break d}f=-2147483648}v[j+56>>2]=f;e=B(e,f)<<2;f=eb(ab(e),255,e);e=g+8|0;v[e>>2]=0;v[e+4>>2]=0;t[e+40|0]=0;v[e+32>>2]=0;v[e+36>>2]=-1074790400;t[e+21|0]=0;t[e+22|0]=0;t[e+23|0]=0;t[e+24|0]=0;t[e+25|0]=0;t[e+26|0]=0;t[e+27|0]=0;t[e+28|0]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;v[e+16>>2]=f;v[e+4>>2]=v[g+60>>2];v[e+8>>2]=v[g+56>>2];v[g+4>>2]=0-(v[g+60>>2]<<2);f=g+4|0;v[e+12>>2]=v[f>>2];Qa[v[v[h>>2]+456>>2]](h,e);Qa[v[v[h>>2]+448>>2]](h,0);A[g+88>>3]=A[g+88>>3]*(25.4/A[g+72>>3]);A[g+80>>3]=A[g+80>>3]*(25.4/A[g+64>>3]);Qa[v[v[h>>2]+36>>2]](h,g+88|0)|0;Qa[v[v[h>>2]+28>>2]](h,g+80|0)|0;t[g+4|0]=0;Qa[v[v[a>>2]+40>>2]](a,h,b,f);JC(e,c,d);Qa[v[v[k>>2]+12>>2]](k)|0;Qa[v[v[h>>2]+4>>2]](h);un(e);Ma=g+96|0}function UXa(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0;if(e){n=e-1|0;o=e-2|0;l=(e|0)==1;while(1){a=f;t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];t[g+3|0]=w[a+3|0];f=a+4|0;g=g+4|0;a:{if(!l&k>>>0>=n>>>0){break a}i=k?(k|0)==(o|0)?d:b:c;m=!k&l;if(m){if(i>>>0<2){break a}h=i-1|0;j=h&1;if((i|0)!=2){h=h&-2;while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];t[g+3|0]=w[a+3|0];t[g+4|0]=w[a|0];t[g+5|0]=w[a+1|0];t[g+6|0]=w[a+2|0];t[g+7|0]=w[a+3|0];g=g+8|0;h=h-2|0;if(h){continue}break}}if(!j){break a}t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];t[g+3|0]=w[a+3|0];g=g+4|0;break a}h=i+1>>>1|0;b:{if(i>>>0<3){break b}j=(h>>>0>2?h:2)-1|0;p=j&1;if(i>>>0>=5){j=j&-2;while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];t[g+3|0]=w[a+3|0];t[g+4|0]=w[a|0];t[g+5|0]=w[a+1|0];t[g+6|0]=w[a+2|0];t[g+7|0]=w[a+3|0];g=g+8|0;j=j-2|0;if(j){continue}break}}if(!p){break b}t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];t[g+3|0]=w[a+3|0];g=g+4|0}if(h>>>0>=i>>>0){break a}a=m?0:f;j=h^-1;if(i-h&1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];t[g+3|0]=w[a+3|0];h=h+1|0;g=g+4|0}if((j|0)==(0-i|0)){break a}while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];t[g+3|0]=w[a+3|0];t[g+4|0]=w[a|0];t[g+5|0]=w[a+1|0];t[g+6|0]=w[a+2|0];t[g+7|0]=w[a+3|0];g=g+8|0;h=h+2|0;if((i|0)!=(h|0)){continue}break}}k=k+1|0;if((k|0)!=(e|0)){continue}break}}return 0}function Q1a(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,p=0,q=0,r=0;c=Ma-48|0;Ma=c;a:{b:{c:{if((v[a+28>>2]&-256)==768){d=-1;j=Pj(a,0);if((j|0)>-1){break c}Nb(4086,0);break a}Nb(8501,0);break b}d:{if(v[a+16>>2]<=1){d=v[v[a+24>>2]+(j<<2)>>2];e=v[d+24>>2];if((e|0)<17){break d}}Nb(12396,0);break b}o=v[d+28>>2];i=v[d+16>>2];k=v[d+20>>2];v[c+32>>2]=80;v[c+36>>2]=71;Xk(b,13848,c+32|0);v[c+16>>2]=k;v[c+12>>2]=i;v[c+8>>2]=e;v[c+4>>2]=o?23641:25850;v[c>>2]=18963;Xk(b,17326,c);d=-1;if(w[b+8|0]&2){break a}g=Oj(1,i);if(!g){break a}e:{f:{g:{if(!k){break g}if(!i){b=0;while(1){if(pk(a,j,0,b,0,1,g)){break e}b=b+1|0;if((k|0)!=(b|0)){continue}break}break g}n=(e+7|0)/8|0;if((e|0)>=1){p=(n|0)>1?n:1;q=1<>2]>>2]+(e<<2)>>2];l=(o?l>>31&q:0)+l&r;while(1){m=v[b+8>>2];if(m&7){break e}f=v[b+64>>2];if((f|0)>=0&(f|0)<=v[b+60>>2]){break f}m=(d^-1)+n|0;v[b+4>>2]=v[b+4>>2]|32;f=v[b+28>>2];v[b+28>>2]=f-1;h:{if((f|0)>=1){v[b+60>>2]=v[b+60>>2]+1;f=v[b+24>>2];v[b+24>>2]=f+1;t[f|0]=l>>>(m<<3);break h}if((Cb(b,l>>>(m<<3)&255)|0)==-1){break e}}d=d+1|0;if((p|0)!=(d|0)){continue}break}e=e+1|0;if((i|0)!=(e|0)){continue}break}h=h+1|0;if((k|0)!=(h|0)){continue}break}break g}while(1){if(pk(a,j,0,h,i,1,g)){break e}h=h+1|0;if((k|0)!=(h|0)){continue}break}}ve(g);d=0;break a}v[b+8>>2]=m|4}ve(g)}d=-1}Ma=c+48|0;return d|0}function fj(a){var b=0,c=0,d=0;if(a){b=Oz(a);if(b){while(1){c=v[b+4>>2];if(c){Qa[v[256556]](c)}c=v[b+8>>2];if(c){Qa[v[256556]](c)}c=v[b+44>>2];if(c){Qa[v[256556]](c)}c=v[b+48>>2];if(c){Qa[v[256556]](c)}c=v[b+40>>2];a:{if(!c){break a}d=v[b+12>>2];if(!d){break a}Qa[c|0](d)}c=v[b>>2];if(c){um(c)}Qa[v[256556]](b);b=Oz(a);if(b){continue}break}}b=v[a+244>>2];if(b){Qa[v[256556]](b)}b=v[a+196>>2];if(b){Qa[v[256556]](b)}b=v[a+64>>2];if(b){Qa[v[256556]](b)}b=v[a+460>>2];if(b){Qa[v[256556]](b)}b=v[a+48>>2];if(b){Qa[v[256556]](b)}b=v[a+20>>2];if(b){Qa[v[256556]](b)}b=v[a+24>>2];if(b){Qa[v[256556]](b)}b=v[a+224>>2];if(b){Qa[v[256556]](b)}b=v[a+228>>2];if(b){Qa[v[256556]](b)}b=v[a>>2];if(!(!b|(b|0)==1026628)){Qa[v[256556]](b)}b=v[a+180>>2];if(b){Qa[v[256556]](b)}b=v[a+132>>2];if(b){Qa[v[256556]](b)}b=v[a+300>>2];if(b){Qa[v[256556]](b)}b=v[a+296>>2];if(b){ln(b)}b=v[a+336>>2];if(b){Qa[v[256556]](b)}b=v[a+344>>2];if(b){Qa[v[256556]](b)}b=v[a+340>>2];if(b){Qa[v[256556]](b)}b=v[a+348>>2];if(b){wl(b,v[256556])}b=v[a+352>>2];if(b){wl(b,0)}b=v[a+372>>2];if(b){while(1){c=v[b+24>>2];Qa[v[256556]](b);b=c;if(b){continue}break}}b=v[a+380>>2];if(b){while(1){c=v[b+24>>2];Qa[v[256556]](b);b=c;if(b){continue}break}}b=v[a+392>>2];if(b){Qa[v[256556]](b)}b=v[a+400>>2];if(b){Qa[v[256556]](b)}b=v[a+408>>2];if(b){Qa[v[256556]](b)}b=v[a+412>>2];if(b){Qa[v[256556]](b)}b=v[a+416>>2];if(b){Qa[v[256556]](b)}Qa[v[256556]](a)}}function Bx(a,b,c,d,e,f,g){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,u=0,x=0;k=Ma-128|0;Ma=k;v[k+120>>2]=b;v[k+16>>2]=1563;j=k+16|0;n=nf(k+8|0,0,j);a:{l=(d-c|0)/12|0;if(l>>>0>=101){j=gb(l);if(!j){break a}b=v[n>>2];v[n>>2]=j;if(b){Qa[v[n+4>>2]](b)}}h=j;b=c;while(1)if((b|0)==(d|0)){b:while(1){c:{if(!(s=Lh(a,k+120|0),u=0,x=l,x?s:u)){if(jg(a,k+120|0)){v[f>>2]=v[f>>2]|2}break c}h=v[a>>2];b=v[h+12>>2];d:{if((b|0)==v[h+16>>2]){b=Qa[v[v[h>>2]+36>>2]](h)|0;break d}b=v[b>>2]}o=b;if(!g){o=Qa[v[v[e>>2]+28>>2]](e,o)|0}q=p+1|0;r=0;h=j;b=c;while(1)if((b|0)==(d|0)){p=q;if(!r){continue b}Yf(a);h=j;b=c;if(l+m>>>0<2){continue b}while(1){if((b|0)==(d|0)){continue b}if(w[b+11|0]>>>7|0){i=v[b+4>>2]}else{i=w[b+11|0]}if(!((i|0)==(p|0)|w[h|0]!=2)){t[h|0]=0;m=m-1|0}h=h+1|0;b=b+12|0;continue}}else{e:{if(w[h|0]!=1){break e}if(w[b+11|0]>>>7|0){i=v[b>>2]}else{i=b}i=v[i+(p<<2)>>2];if(!g){i=Qa[v[v[e>>2]+28>>2]](e,i)|0}f:{if((o|0)==(i|0)){r=1;if(w[b+11|0]>>>7|0){i=v[b+4>>2]}else{i=w[b+11|0]}if((i|0)!=(q|0)){break e}t[h|0]=2;m=m+1|0;break f}t[h|0]=0}l=l-1|0}h=h+1|0;b=b+12|0;continue}}break}g:{h:{while(1){if((c|0)==(d|0)){break h}if(w[j|0]!=2){j=j+1|0;c=c+12|0;continue}break}d=c;break g}v[f>>2]=v[f>>2]|4}a=n;b=v[a>>2];v[a>>2]=0;if(b){Qa[v[a+4>>2]](b)}Ma=k+128|0;return d}else{if(w[b+11|0]>>>7|0){i=v[b+4>>2]}else{i=w[b+11|0]}i:{if(i){t[h|0]=1;break i}t[h|0]=2;m=m+1|0;l=l-1|0}h=h+1|0;b=b+12|0;continue}}_f();L()}function dKa(a){a=a|0;var 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;i=v[a+12>>2];j=v[a+200>>2];c=v[a+196>>2];n=v[v[a>>2]+16>>2];a:{while(1){b=k;k=b+1|0;g=d0(i,k);if(g){break a}g=21;h=c+4|0;if(h>>>0>j>>>0){break a}d=v[i+88>>2]+(b<<5)|0;v[d+8>>2]=0;v[d+12>>2]=0;l=w[c+1|0];e=l|w[c|0]<<8;u[d+4>>1]=e;b=w[c+3|0]|w[c+2|0]<<8;v[d>>2]=b;if((b|0)>=(n|0)){break a}f=l&1?4:2;m=e&8;b=f+2|0;b:{if(m){break b}b=f+4|0;if(e&64){break b}b=f|e>>>4&8}if(b+h>>>0>j>>>0){break a}b=e&1;c:{if(e&2){if(b){b=w[c+4|0]|w[c+5|0]<<8;v[d+8>>2]=(b<<8|b>>>8)<<16>>16;b=w[c+6|0]|w[c+7|0]<<8;f=(b<<8|b>>>8)<<16>>16;b=c+8|0;break c}v[d+8>>2]=t[c+4|0];f=t[c+5|0];b=c+6|0;break c}if(b){v[d+8>>2]=w[c+5|0]|w[c+4|0]<<8;f=w[c+7|0]|w[c+6|0]<<8;b=c+8|0;break c}v[d+8>>2]=w[c+4|0];f=w[c+5|0];b=c+6|0}v[d+12>>2]=f;d:{if(m){c=b+2|0;e=0;b=w[b|0]|w[b+1|0]<<8;g=(b<<8|b>>>8)<<16>>16<<2;f=g;h=0;break d}if(e&64){c=w[b+2|0]|w[b+3|0]<<8;f=(c<<8|c>>>8)<<16>>16<<2;c=w[b|0]|w[b+1|0]<<8;g=(c<<8|c>>>8)<<16>>16<<2;c=b+4|0;e=0;h=0;break d}if(!(e&128)){e=0;g=65536;c=b;f=65536;h=0;break d}c=w[b+6|0]|w[b+7|0]<<8;f=(c<<8|c>>>8)<<16>>16<<2;c=w[b+4|0]|w[b+5|0]<<8;e=(c<<8|c>>>8)<<16>>16<<2;c=w[b+2|0]|w[b+3|0]<<8;h=(c<<8|c>>>8)<<16>>16<<2;c=w[b|0]|w[b+1|0]<<8;g=(c<<8|c>>>8)<<16>>16<<2;c=b+8|0}v[d+16>>2]=g;v[d+28>>2]=f;v[d+24>>2]=h;v[d+20>>2]=e;if(l&32){continue}break}v[i+84>>2]=k;b=v[v[a+24>>2]+8>>2];v[a+196>>2]=c;v[a+164>>2]=(c+b|0)-j;g=0}return g|0}function Kxa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0;g=v[a+412>>2]+v[b+4>>2]|0;k=w[g+102|0];i=w[g+92|0];m=B(v[b+36>>2],v[b+28>>2]);g=v[a+28>>2];h=B(i,m)-g|0;f=v[a+272>>2];if(!((h|0)<1|(f|0)<1)){l=f&3;b=0;if(f-1>>>0>=3){j=f&-4;while(1){e=b<<2;f=g+v[e+c>>2]|0;eb(f,w[f-1|0],h);f=g+v[(e|4)+c>>2]|0;eb(f,w[f-1|0],h);f=g+v[(e|8)+c>>2]|0;eb(f,w[f-1|0],h);e=g+v[(e|12)+c>>2]|0;eb(e,w[e-1|0],h);b=b+4|0;j=j-4|0;if(j){continue}break}}if(l){while(1){e=g+v[(b<<2)+c>>2]|0;eb(e,w[e-1|0],h);b=b+1|0;l=l-1|0;if(l){continue}break}}f=v[a+272>>2]}a:{if((f|0)<1|!m){break a}n=B(k,i);o=n>>>1|0;if(k){if(i){h=i&248;l=i&7;u=i-1>>>0<7;while(1){p=v[(s<<2)+d>>2];j=0;q=0;while(1){e=0;f=0;while(1){b=v[(f+r<<2)+c>>2]+j|0;g=h;if(!u){while(1){e=w[b+7|0]+(w[b+6|0]+(w[b+5|0]+(w[b+4|0]+(w[b+3|0]+(w[b+2|0]+(w[b+1|0]+(w[b|0]+e|0)|0)|0)|0)|0)|0)|0)|0;b=b+8|0;g=g-8|0;if(g){continue}break}}g=l;if(g){while(1){e=w[b|0]+e|0;b=b+1|0;g=g-1|0;if(g){continue}break}}f=f+1|0;if((k|0)!=(f|0)){continue}break}t[p|0]=(e+o|0)/(n|0);j=i+j|0;p=p+1|0;q=q+1|0;if((q|0)!=(m|0)){continue}break}s=s+1|0;r=k+r|0;if((r|0)>2]){continue}break}break a}c=(o>>>0)/(n>>>0)|0;e=0;b=0;while(1){eb(v[(b<<2)+d>>2],c,m);b=b+1|0;e=e+k|0;if((e|0)>2]){continue}break}break a}c=(o>>>0)/(n>>>0)|0;e=0;b=0;while(1){eb(v[(b<<2)+d>>2],c,m);b=b+1|0;e=e+k|0;if((e|0)>2]){continue}break}}}function kG(a){a=a|0;var 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;tb(v[a+16>>2]);v[a+16>>2]=0;if(v[a+96>>2]){tb(v[a+88>>2]);tb(v[a+92>>2]);v[a+96>>2]=0}if(v[a+116>>2]){tb(v[a+104>>2]);tb(v[a+108>>2]);tb(v[a+112>>2]);v[a+116>>2]=0}if(v[a+136>>2]){tb(v[a+124>>2]);tb(v[a+128>>2]);tb(v[a+132>>2]);v[a+136>>2]=0}b=v[a+200>>2];if(b){d=v[a+196>>2];c=v[a+192>>2];if(B(d,c)){while(1){l=(k<<6)+b|0;b=v[l+60>>2];if(b){if(v[a+188>>2]){h=0;while(1){e=B(h,88)+b|0;tb(v[e+44>>2]);tb(v[e+76>>2]);tb(v[e+80>>2]);b=v[e+84>>2];if(b){f=0;while(1){g=B(f,100)+b|0;b=v[g+96>>2];if(b){d=v[g+8>>2];if(d){o=f?3:1;i=0;while(1){j=0;m=(i<<2)+b|0;b=v[m>>2];if(b){while(1){c=B(j,24)+b|0;tb(v[c+12>>2]);tb(v[c+16>>2]);b=v[c+20>>2];if(b){if(B(v[c+4>>2],v[c>>2])){d=0;while(1){b=B(d,68)+b|0;tb(v[b+40>>2]);tb(v[b+52>>2]);n=v[b+60>>2];if(n){$a($U(n))}b=v[b+64>>2];if(b){$a(mc(b))}d=d+1|0;if(d>>>0>2],v[c>>2])>>>0){b=v[c+20>>2];continue}break}b=v[c+20>>2]}tb(b)}j=j+1|0;if((o|0)!=(j|0)){b=v[m>>2];continue}break}tb(v[m>>2]);d=v[g+8>>2]}i=i+1|0;if(i>>>0>>0){b=v[g+96>>2];continue}break}b=v[g+96>>2]}tb(b)}f=f+1|0;if(f>>>0<=y[e+20>>2]){b=v[e+84>>2];continue}break}tb(v[e+84>>2])}h=h+1|0;if(h>>>0>2]){b=v[l+60>>2];continue}break}b=v[l+60>>2]}tb(b);c=v[a+192>>2];d=v[a+196>>2]}k=k+1|0;if(k>>>0>>0){b=v[a+200>>2];continue}break}b=v[a+200>>2]}tb(b);v[a+200>>2]=0}a=v[a+8>>2];Qa[v[v[a>>2]+24>>2]](a)}function wXa(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;if(e){q=e-1|0;r=e-2|0;o=(e|0)==1;while(1){a=f;u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];f=a+4|0;g=g+4|0;a:{if(!o&m>>>0>=q>>>0){break a}l=m?(m|0)==(r|0)?d:b:c;i=!m&o;if(i){if(l>>>0<2){break a}i=l-1|0;k=i&3;if(l-2>>>0>=3){i=i&-4;while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a>>1];u[g+6>>1]=x[a+2>>1];u[g+8>>1]=x[a>>1];u[g+10>>1]=x[a+2>>1];u[g+12>>1]=x[a>>1];u[g+14>>1]=x[a+2>>1];g=g+16|0;i=i-4|0;if(i){continue}break}}if(!k){break a}while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];g=g+4|0;k=k-1|0;if(k){continue}break}break a}k=i?0:f;p=l<<1;i=l+1>>>1|0;if(l>>>0>=3){s=i>>>0>2?i:2;j=1;while(1){h=x[a>>1];b:{if((h|0)==x[k>>1]){u[g>>1]=h;break b}h=w[a|0]|w[a+1|0]<<8;n=w[k|0]|w[k+1|0]<<8;h=((h<<8|h>>>8)&65535)+(((B(((n<<8|n>>>8)&65535)-((h<<8|h>>>8)&65535)|0,j)<<1)+l|0)/(p|0)|0)&65535;h=h<<8|h>>>8;t[g|0]=h;t[g+1|0]=h>>>8}u[g+2>>1]=x[a+2>>1];g=g+4|0;j=j+1|0;if((s|0)!=(j|0)){continue}break}}if(i>>>0>=l>>>0){break a}while(1){j=x[a>>1];c:{if((j|0)==x[k>>1]){u[g>>1]=j;break c}j=w[a|0]|w[a+1|0]<<8;h=j;n=(h<<8|h>>>8)&65535;h=w[k|0]|w[k+1|0]<<8;j=n+(((B(((h<<8|h>>>8)&65535)-((j<<8|j>>>8)&65535)|0,i)<<1)+l|0)/(p|0)|0)&65535;j=j<<8|j>>>8;t[g|0]=j;t[g+1|0]=j>>>8}u[g+2>>1]=x[k+2>>1];g=g+4|0;i=i+1|0;if((l|0)!=(i|0)){continue}break}}m=m+1|0;if((m|0)!=(e|0)){continue}break}}return 0}function vj(a,b){var c=0,d=0,e=0,f=0;c=Ma-80|0;Ma=c;if(!w[b+32|0]){cg(b,0)}v[c+72>>2]=0;v[c+76>>2]=v[279250];b=v[b+8>>2];a:{if(b){Qa[v[v[b>>2]+28>>2]](c+32|0,b,1);break a}v[c+32>>2]=0}jb(c+72|0,c+32|0);b=v[c+32>>2];v[c+32>>2]=0;b:{if(!b){break b}e=v[b+4>>2]-1|0;v[b+4>>2]=e;if(e){break b}e=v[b+4>>2];if(!e){v[b+4>>2]=-32767}if(!e){Qa[v[v[b>>2]+4>>2]](b)}}b=v[c+72>>2];v[c+76>>2]=v[(b?b+12|0:1117e3)>>2];Lr(c+32|0,c+72|0);b=v[c+32>>2];if(b){d=v[b+8>>2]}db(c+32|0);b=v[c+72>>2];e=v[(b?b+12|0:1117e3)>>2];d=e+d|0;b=d+1|0;c:{if(w[d+1|0]!=47){d=b;break c}b=(b+1|0)+(w[b+1|0]==47)|0;d=b;while(1){d:{e:{f:{g:{f=w[b|0];switch(f-35|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:break d;case 12:break e;case 0:case 28:break f;default:break g}}if(f){break d}}d=w[d|0]==47?d:b;break c}f=w[b+1|0];if(!f){break d}d=(f|0)==35?d:(f|0)==63?d:b}b=b+1|0;continue}}f=c+16|0;d=eg(c+8|0,e,d-e|0);ic(f,d,326326);e=c+24|0;ic(e,f,b);b=Vx(c+32|0,e);v[c+32>>2]=987924;ze(a,b);v[c+56>>2]=969432;v[c+32>>2]=969400;a=v[c+60>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Qa[v[v[a>>2]+4>>2]](a)}v[c+60>>2]=0}v[c+48>>2]=969432;a=v[c+52>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Qa[v[v[a>>2]+4>>2]](a)}v[c+52>>2]=0}db(c+40|0);db(c+24|0);db(c+16|0);db(d);db(c+72|0);Ma=c+80|0}function eYa(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;if(e){p=e-1|0;q=e-2|0;while(1){i=g;a=f;t[g|0]=w[a|0];f=a+1|0;g=g+1|0;j=(e|0)==1;a:{if(!j&m>>>0>=p>>>0){break a}h=m?(m|0)==(q|0)?d:b:c;k=j&!m;if(k){if(h>>>0<2){break a}j=h-1|0;i=j&7;if(h-2>>>0>=7){h=j&-8;while(1){t[g|0]=w[a|0];t[g+1|0]=w[a|0];t[g+2|0]=w[a|0];t[g+3|0]=w[a|0];t[g+4|0]=w[a|0];t[g+5|0]=w[a|0];t[g+6|0]=w[a|0];t[g+7|0]=w[a|0];g=g+8|0;h=h-8|0;if(h){continue}break}}if(!i){break a}while(1){t[g|0]=w[a|0];g=g+1|0;i=i-1|0;if(i){continue}break}break a}j=w[a|0];k=k?0:f;l=w[k|0];if((j|0)!=(l|0)){if(h>>>0<2){break a}g=h+(l-j<<1)|0;l=h<<1;t[i+1|0]=j+((g|0)/(l|0)|0);g=i+2|0;if((h|0)==2){break a}i=2;if((h|0)!=3){j=h-2&-2;while(1){o=i<<1;n=w[a|0];t[g|0]=((h+B(o,w[k|0]-n|0)|0)/(l|0)|0)+n;n=w[a|0];t[g+1|0]=((h+B(w[k|0]-n|0,o|2)|0)/(l|0)|0)+n;i=i+2|0;g=g+2|0;j=j-2|0;if(j){continue}break}}if(!(h&1)){break a}a=w[a|0];t[g|0]=((h+(B(w[k|0]-a|0,i)<<1)|0)/(l|0)|0)+a;g=g+1|0;break a}if(h>>>0<2){break a}t[i+1|0]=j;g=i+2|0;if((h|0)==2){break a}j=h-2|0;i=j&7;if(h-3>>>0>=7){h=j&-8;while(1){t[g|0]=w[a|0];t[g+1|0]=w[a|0];t[g+2|0]=w[a|0];t[g+3|0]=w[a|0];t[g+4|0]=w[a|0];t[g+5|0]=w[a|0];t[g+6|0]=w[a|0];t[g+7|0]=w[a|0];g=g+8|0;h=h-8|0;if(h){continue}break}}if(!i){break a}while(1){t[g|0]=w[a|0];g=g+1|0;i=i-1|0;if(i){continue}break}}m=m+1|0;if((m|0)!=(e|0)){continue}break}}return 0}function W0(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=C(0),j=0,k=C(0),l=C(0),m=0;f=Ma-128|0;Ma=f;e=Cm(b,0);g=v[e>>2];v[f+124>>2]=g;c=65535;a:{b:{c:{d:{if(g>>>0>1114111){break d}g=x[((g<<1)+a|0)+276>>1];if((g|0)==65535){break d}d=v[a+264>>2];c=g;if(w[(d+B(c,104)|0)+72|0]){break c}}t[f+15|0]=1;t[f+14|0]=0;pt(f+16|0,a,f+124|0,f+15|0,0,f+14|0);if(v[f+16>>2]<=1114111){c=v[a+268>>2];e:{if((c|0)!=v[a+272>>2]){c=cb(c,f+16|0,104)+104|0;v[a+268>>2]=c;break e}sB(a+264|0,f+16|0);c=v[a+268>>2]}c=((c-v[a+264>>2]|0)/104|0)-1|0;u[((v[f+16>>2]<<1)+a|0)+276>>1]=c}Dh(f+92|0);g=65535;if((c&65535)==65535){break b}g=c&65535;d=v[a+264>>2]}f:{g:{c=B(g,104)+d|0;d=v[c+4>>2];switch(d-1|0){case 1:break a;case 0:break f;default:break g}}d=0}v[e+60>>2]=d;d=v[c+44>>2];v[e+28>>2]=v[c+40>>2];v[e+32>>2]=d;d=v[c+52>>2];v[e+36>>2]=v[c+48>>2];v[e+40>>2]=d;d=v[c+60>>2];v[e+44>>2]=v[c+56>>2];v[e+48>>2]=d;d=c- -64|0;m=v[d+4>>2];v[e+52>>2]=v[d>>2];v[e+56>>2]=m;t[e+64|0]=w[c+72|0];v[e+92>>2]=v[c+100>>2];d=v[c+96>>2];v[e+84>>2]=v[c+92>>2];v[e+88>>2]=d;d=v[c+88>>2];v[e+76>>2]=v[c+84>>2];v[e+80>>2]=d;d=v[c+80>>2];v[e+68>>2]=v[c+76>>2];v[e+72>>2]=d}k=z[b+8>>2];h=+C(k+C(0));i=z[b+12>>2];l=C(i+C(0));j=+l;z[e+4>>2]=A[b+56>>3]+A[b+24>>3]*h+A[b+40>>3]*j-+k;z[e+8>>2]=A[b- -64>>3]+A[b+32>>3]*h+A[b+48>>3]*j-+i;i=z[(v[a+264>>2]+B(g,104)|0)+16>>2];h=A[a+136>>3];j=A[a+8>>3];z[b+20>>2]=l;z[b+16>>2]=k+C(C(h+j*+i)+C(0))}Ma=f+128|0}function ZXa(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;if(e){p=e-1|0;q=e-2|0;m=(e|0)==1;while(1){a=f;t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];f=a+2|0;g=g+2|0;a:{if(!m&l>>>0>=p>>>0){break a}j=l?(l|0)==(q|0)?d:b:c;n=!l&m;if(n){if(j>>>0<2){break a}h=j-1|0;i=h&3;if(j-2>>>0>=3){h=h&-4;while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a|0];t[g+3|0]=w[a+1|0];t[g+4|0]=w[a|0];t[g+5|0]=w[a+1|0];t[g+6|0]=w[a|0];t[g+7|0]=w[a+1|0];g=g+8|0;h=h-4|0;if(h){continue}break}}if(!i){break a}while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];g=g+2|0;i=i-1|0;if(i){continue}break}break a}i=j+1>>>1|0;b:{if(j>>>0<3){break b}k=i>>>0>2?i:2;o=k-1|0;h=o&3;if(k-2>>>0>=3){k=o&-4;while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a|0];t[g+3|0]=w[a+1|0];t[g+4|0]=w[a|0];t[g+5|0]=w[a+1|0];t[g+6|0]=w[a|0];t[g+7|0]=w[a+1|0];g=g+8|0;k=k-4|0;if(k){continue}break}}if(!h){break b}while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];g=g+2|0;h=h-1|0;if(h){continue}break}}if(i>>>0>=j>>>0){break a}a=n?0:f;k=(i^-1)+j|0;h=j-i&3;if(h){while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];i=i+1|0;g=g+2|0;h=h-1|0;if(h){continue}break}}if(k>>>0<3){break a}while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a|0];t[g+3|0]=w[a+1|0];t[g+4|0]=w[a|0];t[g+5|0]=w[a+1|0];t[g+6|0]=w[a|0];t[g+7|0]=w[a+1|0];g=g+8|0;i=i+4|0;if((j|0)!=(i|0)){continue}break}}l=l+1|0;if((l|0)!=(e|0)){continue}break}}return 0}function LH(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=Ma-16|0;Ma=g;a:{if(!b){break a}d=Qa[v[256552]](60)|0;if(!d){v[g>>2]=284435;nb(0,0,0,0,0,2,2,3,284435,0,0,0,340689,g);d=0;break a}v[d>>2]=0;v[d+4>>2]=0;c=d+32|0;v[c>>2]=0;v[c+4>>2]=0;v[d+4>>2]=5;v[d+56>>2]=0;v[d+48>>2]=0;v[d+52>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d+32>>2]=a;b:{c:{d:{c=b;e=w[c|0];if(e){if((e|0)==38){break d}e=b;while(1){f=w[e+1|0];c=e+1|0;e=c;if(f){continue}break}}e=0;c=c-b|0;if((c|0)<0){break b}f=Qa[v[256555]](c+1|0)|0;if(f){break c}nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break b}f=b+1|0;c=0;e:{if(!w[b+1|0]){break e}e=f;while(1){h=c;c=c+1|0;i=w[e+1|0];e=e+1|0;if(i){continue}break}if(w[b+c|0]!=59){break e}e=0;b=Qa[v[256555]](c)|0;if(!b){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break b}e=cb(b,f,h);t[h+e|0]=0;break b}e=Qa[v[256555]](c+1|0)|0;if(!e){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break b}j=cb(e,f,c)+c|0,k=0,t[j|0]=k;break b}e=cb(f,b,c);t[c+e|0]=0}v[d+8>>2]=e;f:{g:{if(!a){break g}b=v[a+44>>2];h:{if(!b){break h}b=v[b+48>>2];if(!b){break h}c=le(b,e,0,0);if(c){break f}}if(v[a+40>>2]==1){break g}a=v[a+48>>2];if(!a){break g}a=v[a+48>>2];if(!a){break g}c=le(a,e,0,0);if(c){break f}}c=vi(e)}if(c){a=v[c+40>>2];v[d+16>>2]=c;v[d+12>>2]=c;v[d+40>>2]=a}if(!v[291069]){break a}a=v[291066];if(!a){break a}Qa[a|0](d)}Ma=g+16|0;return d}function UMa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=v[a+480>>2];v[a+136>>2]=v[c+16>>2];v[a+132>>2]=v[c+20>>2];a:{b:{switch(v[a+88>>2]){case 0:if(v[a+120>>2]==3){v[c+4>>2]=195;return}v[c+4>>2]=196;return;case 1:b=v[a+120>>2];v[c+48>>2]=0;v[c+4>>2]=(b|0)==3?197:198;if(!v[c+28>>2]){Z0(a)}if(v[c+52>>2]){break a}d=v[a+120>>2];if((d|0)<1){break a}h=v[a+480>>2];c=0;while(1){i=(c<<2)+h|0;g=v[i+32>>2];b=0;c:{d:{if(!c){break d}while(1){e=(b<<2)+h|0;if((g|0)!=v[e+32>>2]){b=b+1|0;if((c|0)!=(b|0)){continue}break d}break}e=v[e+52>>2];if(e){break c}}g=(g<<9)-512|0;d=0;e=Qa[v[v[a+4>>2]>>2]](a,1,1024)|0;while(1){b=0;while(1){j=((d<<6)+e|0)+(b<<2)|0;f=B(w[((d<<4)+b|0)+71344|0],-510);e:{if((f|0)<=-65026){f=0-((-65025-f|0)/(g|0)|0)|0;break e}f=(f+65025|0)/(g|0)|0}v[j>>2]=f;b=b+1|0;if((b|0)!=16){continue}break}d=d+1|0;if((d|0)!=16){continue}break}d=v[a+120>>2]}v[i+52>>2]=e;c=c+1|0;if((d|0)>(c|0)){continue}break};break a;case 2:b=0;v[c+84>>2]=0;v[c+4>>2]=199;f:{if(v[c+68>>2]){d=v[a+120>>2];break f}if(v[a+120>>2]<1){break a}e=(v[a+112>>2]<<1)+4|0;while(1){k=c+(b<<2)|0,l=Qa[v[v[a+4>>2]+4>>2]](a,1,e)|0,v[k+68>>2]=l;b=b+1|0;d=v[a+120>>2];if((b|0)<(d|0)){continue}break}}if((d|0)<1){break a}d=(v[a+112>>2]<<1)+4|0;b=0;while(1){Jd(v[(c+(b<<2)|0)+68>>2],d);b=b+1|0;if((b|0)>2]){continue}break};break a;default:break b}}b=v[a>>2];v[b+20>>2]=49;Qa[v[b>>2]](a)}}function OKa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;i=Ma-400|0;Ma=i;e=v[c+4>>2];f=v[b+4>>2];c=v[c>>2];b=v[b>>2];g=v[a>>2];a=v[a+4>>2];v[i+20>>2]=a<<2;v[i+16>>2]=g<<2;v[i+12>>2]=f<<2;v[i+8>>2]=b<<2;g=e<<2;v[i+4>>2]=g;h=c<<2;v[i>>2]=h;v[i+24>>2]=v[d+208>>2];b=v[d+212>>2];v[i+28>>2]=b;c=a>>6;a:{b:{l=e>>6;a=v[d+176>>2];f=f>>6;c:{d:{if(!((l|0)>=(a|0)&(f|0)>=(a|0))){e=b>>8;break d}e=b>>8;if((a|0)>(c|0)){break d}if((a|0)<=(e|0)){break c}}b=0;a=v[d+172>>2];if((a|0)<=(l|0)|(a|0)<=(f|0)|((a|0)<=(c|0)|(a|0)<=(e|0))){break b}}v[d+212>>2]=g;v[d+208>>2]=h;break a}while(1){a=b+3|0;h=v[(a<<3)+i>>2];c=(b<<3)+i|0;m=v[c+8>>2];g=v[c>>2];f=h+(B(m,-3)+(g<<1)|0)|0;e=f>>31;e:{if((e^e+f)>>>0>=129){l=v[c+12>>2];e=v[c+28>>2];f=v[c+4>>2];break e}e=v[c+28>>2];l=v[c+12>>2];f=v[c+4>>2];k=e+(B(l,-3)+(f<<1)|0)|0;j=k>>31;if((j^j+k)>>>0>128){break e}k=(g+(h<<1)|0)+B(v[c+16>>2],-3)|0;j=k>>31;if((j^j+k)>>>0>128){break e}k=((e<<1)+f|0)+B(v[c+20>>2],-3)|0;j=k>>31;if((j^j+k)>>>0>128){break e}oJ(d,g,f);if(!b){break a}b=b-3|0;continue}v[c+48>>2]=h;v[c+52>>2]=e;b=g+m|0;v[c+8>>2]=b>>1;f=f+l|0;v[c+12>>2]=f>>1;g=v[c+16>>2];h=g+h|0;v[c+40>>2]=h>>1;j=b;b=g+m|0;g=j+b|0;v[c+16>>2]=g>>2;b=b+h|0;v[c+32>>2]=b>>2;j=e;e=v[c+20>>2];h=j+e|0;v[c+44>>2]=h>>1;v[c+24>>2]=b+g>>3;b=e+l|0;e=b+f|0;v[c+20>>2]=e>>2;b=b+h|0;v[c+36>>2]=b>>2;v[c+28>>2]=b+e>>3;b=a;continue}}Ma=i+400|0;return 0}function xL(a,b,c,d,e,f,g,h,i,j,k){var l=0,m=0,n=0;n=Ma-16|0;Ma=n;a:{if(!(!x[j+28>>1]|!(w[j+65|0]?1:w[j+64|0]))){m=Nt(a,j);if(m){break a}}l=Qa[v[a+152>>2]](92)|0;if(!l){m=1;ob(a,1,0,0);break a}t[l+31|0]=d;t[l+30|0]=0;u[l+28>>1]=b;v[l+4>>2]=0;v[l>>2]=622;d=w[j+32|0];t[l+33|0]=1;t[l+32|0]=d;b:{if(f){if(!g){v[l+36>>2]=h;break b}v[l+36>>2]=v[j+36>>2]+h;i=v[j+40>>2]+i|0;break b}v[l+36>>2]=v[j+36>>2];i=v[j+40>>2]}v[l+40>>2]=i;t[l+44|0]=w[j+44|0];v[l+48>>2]=v[j+48>>2];v[l+52>>2]=v[j+52>>2];v[l+56>>2]=v[j+56>>2];d=v[j+60>>2];v[l+80>>2]=0;v[l+84>>2]=0;v[l+60>>2]=d;if(b){d=a+692|0;c:{d:{m=v[a+692>>2];if(m){while(1){if(x[m+28>>1]<=b>>>0){break d}m=v[m+12>>2];if(m){continue}break}}m=v[a+688>>2];v[l+8>>2]=m;v[a+688>>2]=l;break c}v[l+12>>2]=m;v[l+8>>2]=v[m+8>>2];v[m+8>>2]=l;m=v[l+8>>2]}v[(m?m+12|0:d)>>2]=l}e:{f:{if(c){a=v[j+88>>2];v[l+88>>2]=a;v[a+28>>2]=v[a+28>>2]+1;break f}c=v[j+88>>2];d=(e?0:w[c+33|0])<<24>>24;b=Qa[v[a+152>>2]](1180)|0;g:{if(b){b=cb(b,c,1180);t[b+33|0]=d;v[b+28>>2]=1;t[b+32|0]=0;h:{d=v[b+1172>>2];if(d){d=Qa[v[a+152>>2]](d)|0;v[b+1176>>2]=d;if(!d){break h}cb(d,v[c+1176>>2],v[b+1172>>2])}d=v[b+1144>>2];if(d){d=Qa[v[a+152>>2]](d)|0;v[b+1148>>2]=d;if(!d){break h}cb(d,v[c+1148>>2],v[b+1144>>2])}v[n+12>>2]=b;m=0;break g}Qa[v[a+156>>2]](b,1180)}ob(a,1,0,0);m=1}if(m){break e}v[l+88>>2]=v[n+12>>2]}v[k>>2]=l;m=0;break a}Qa[v[a+156>>2]](l,92)}Ma=n+16|0;return m}function Gi(a){var b=0,c=0,d=0,e=0,f=0;c=Ma-128|0;Ma=c;a:{b:{c:{d:{if(x[a+138>>1]==1){if(!(w[a+13|0]&64|x[a+90>>1]!=6)){v[c+52>>2]=c+126;v[c+48>>2]=c+124;Mc(a,530,c+48|0);b=x[c+124>>1];if(!b){wb(v[a+628>>2],v[a>>2],9852,0);a=0;break a}e=v[a+56>>2];if(e>>>0<0-b>>>0){e=((b+e|0)-1>>>0)/(b>>>0)|0}else{e=0}e=B(e,b);f=x[a+84>>1];b=x3a(e,0,f,0);d=(Pa|0)!=0;e:{f:{g:{if(f){if(d){b=v[a>>2];d=v[a+628>>2];v[c+16>>2]=18329;wb(d,b,22641,c+16|0);f=x[a+84>>1];b=x3a(f,0,e,0);d=(Pa|0)!=0;break g}if(!(b&7)){break f}if(!d){break c}b=v[a>>2];a=v[a+628>>2];v[c+32>>2]=18329;wb(a,b,22641,c+32|0);b=0;break c}if(b&7){break c}}if(!f){break e}}if(!d){break e}b=v[a>>2];a=v[a+628>>2];v[c>>2]=18329;wb(a,b,22641,c);b=0}a=b>>>3|0;break b}f=x[a+98>>1];e=x3a(v[a+56>>2],0,f,0);d=Pa;b=e;if(!f|!d){break d}b=v[a>>2];e=v[a+628>>2];v[c+112>>2]=18329;wb(e,b,22641,c+112|0);b=0;break d}b=v[a+56>>2]}e=b;f=x[a+84>>1];b=x3a(b,0,f,0);d=(Pa|0)!=0;h:{i:{j:{k:{if(f){if(d){b=v[a>>2];d=v[a+628>>2];v[c+80>>2]=18329;wb(d,b,22641,c+80|0);f=x[a+84>>1];b=x3a(f,0,e,0);d=(Pa|0)!=0;break k}if(!(b&7)){break j}if(!d){break h}b=v[a>>2];a=v[a+628>>2];v[c+96>>2]=18329;wb(a,b,22641,c+96|0);b=0;break h}if(b&7){break h}}if(!f){break i}}if(!d){break i}b=v[a>>2];a=v[a+628>>2];v[c+64>>2]=18329;wb(a,b,22641,c- -64|0);b=0}a=b>>>3|0;break a}a=(b>>>3|0)+1|0;break a}a=(b>>>3|0)+1|0}a=((a>>>0)/x[c+124>>1]<<1)+a|0}Ma=c+128|0;return a}function EAa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=v[a+8>>2];m=v[a+12>>2];if(h>>>0>>0){k=v[a+20>>2];c=v[a+4>>2];if(v[c+52>>2]==1){zh(c,842160,4,a+16|0,k,a+24|0,-1,b);c=v[a+4>>2];v[c+52>>2]=0}e=v[a+24>>2];d=v[a+16>>2];g=v[c+56>>2];if(g){v[c+56>>2]=0;j=h;c=1}else{c=0}a:{while(1){b:{c:{d:{e:{f:{g:{h:{if(!c){if(h>>>0>=m>>>0){j=h;break a}if(d>>>0>=k>>>0){j=h;break a}j=h+2|0;g=x[h>>1];c=j;if((g&63488)!=55296){break h}if((g&64512)!=55296){break g}c=1;continue}if(j>>>0>=m>>>0){break d}h=x[j>>1];if((h&64512)!=56320){break g}g=(h+(g<<10)|0)-56613888|0;c=j+2|0}h=c;i=g>>>16|0;i:{if(d>>>0>>0){t[d|0]=0;v[e>>2]=l;e=e+4|0;d=d+1|0;break i}c=v[a+4>>2];f=t[c+63|0];t[c+63|0]=f+1;t[(c+f|0)+76|0]=0;v[b>>2]=15}c=i&31;if(d>>>0>>0){break f}f=v[a+4>>2];i=t[f+63|0];t[f+63|0]=i+1;t[(f+i|0)+76|0]=c;v[b>>2]=15;break e}v[v[a+4>>2]+56>>2]=g;break b}t[d|0]=c;v[e>>2]=l;e=e+4|0;d=d+1|0}f=g>>>8|0;j:{if(d>>>0>=k>>>0){i=v[a+4>>2];n=t[i+63|0];t[i+63|0]=n+1;t[(i+n|0)+76|0]=f;v[b>>2]=15;break j}t[d|0]=f;v[e>>2]=l;e=e+4|0;d=d+1|0}k:{if(d>>>0>=k>>>0){f=v[a+4>>2];i=t[f+63|0];t[f+63|0]=i+1;t[(f+i|0)+76|0]=g;v[b>>2]=15;break k}t[d|0]=g;v[e>>2]=l;e=e+4|0;d=d+1|0}l=(((c|0)!=0)+l|0)+1|0;break c}v[v[a+4>>2]+56>>2]=g;if(w[a+2|0]){break b}break a}c=0;continue}break}v[b>>2]=12}if(!(d>>>0>>0|j>>>0>=m>>>0|v[b>>2]>0)){v[b>>2]=15}v[a+24>>2]=e;v[a+8>>2]=j;v[a+16>>2]=d}}function BAa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=v[a+8>>2];m=v[a+12>>2];if(h>>>0>>0){k=v[a+20>>2];c=v[a+4>>2];if(v[c+52>>2]==1){zh(c,842168,4,a+16|0,k,a+24|0,-1,b);c=v[a+4>>2];v[c+52>>2]=0}f=v[a+24>>2];d=v[a+16>>2];g=v[c+56>>2];if(g){v[c+56>>2]=0;i=h;c=1}else{c=0}a:{while(1){b:{c:{d:{e:{f:{g:{h:{if(!c){if(h>>>0>=m>>>0){i=h;break a}if(d>>>0>=k>>>0){i=h;break a}i=h+2|0;g=x[h>>1];c=i;if((g&63488)!=55296){break h}if((g&64512)!=55296){break g}c=1;continue}if(i>>>0>=m>>>0){break d}h=x[i>>1];if((h&64512)!=56320){break g}g=(h+(g<<10)|0)-56613888|0;c=i+2|0}h=c;i:{if(d>>>0>>0){t[d|0]=g;v[f>>2]=l;f=f+4|0;d=d+1|0;break i}c=v[a+4>>2];e=t[c+63|0];t[c+63|0]=e+1;t[(c+e|0)+76|0]=g;v[b>>2]=15}n=g>>>16|0;c=g>>>8|0;if(d>>>0>>0){break f}e=v[a+4>>2];j=t[e+63|0];t[e+63|0]=j+1;t[(e+j|0)+76|0]=c;v[b>>2]=15;break e}v[v[a+4>>2]+56>>2]=g;break b}t[d|0]=c;v[f>>2]=l;f=f+4|0;d=d+1|0}c=n&31;j:{if(d>>>0>=k>>>0){e=v[a+4>>2];j=t[e+63|0];t[e+63|0]=j+1;t[(e+j|0)+76|0]=c;v[b>>2]=15;break j}t[d|0]=c;v[f>>2]=l;f=f+4|0;d=d+1|0}k:{if(d>>>0>=k>>>0){e=v[a+4>>2];j=t[e+63|0];t[e+63|0]=j+1;t[(e+j|0)+76|0]=0;v[b>>2]=15;break k}t[d|0]=0;v[f>>2]=l;f=f+4|0;d=d+1|0}l=(((c|0)!=0)+l|0)+1|0;break c}v[v[a+4>>2]+56>>2]=g;if(w[a+2|0]){break b}break a}c=0;continue}break}v[b>>2]=12}if(!(d>>>0>>0|i>>>0>=m>>>0|v[b>>2]>0)){v[b>>2]=15}v[a+24>>2]=f;v[a+8>>2]=i;v[a+16>>2]=d}}function CDa(a){a=a|0;var b=0,c=0,d=0,e=0;if(a){c=v[a+100>>2];d=v[a+540>>2];a:{if(!d){break a}b=v[d+80>>2];if(b){Qa[b|0](a)}b=v[d+100>>2];if(b){Qa[b|0](a)}b=v[d+120>>2];if(!b){break a}Qa[b|0](a);Qa[v[d+124>>2]](a)}if(w[a+848|0]){if(v[a+828>>2]){Oe(v[a+104>>2],a+828|0)}v[a+840>>2]=0;v[a+832>>2]=0;v[a+836>>2]=0}Oe(v[a+104>>2],a+808|0);v[a+820>>2]=0;v[a+824>>2]=0;v[a+812>>2]=0;v[a+816>>2]=0;b=c;e=v[a+144>>2];if(e){Qa[v[b+8>>2]](b,e)}v[a+140>>2]=0;v[a+144>>2]=0;b=v[a+156>>2];if(b){Qa[v[c+8>>2]](c,b)}u[a+152>>1]=0;v[a+156>>2]=0;Oe(v[a+104>>2],a+508|0);v[a+752>>2]=0;v[a+756>>2]=0;v[a+512>>2]=0;if(w[a+292|0]){b=c;e=v[a+332>>2];if(e){Qa[v[b+8>>2]](b,e)}v[a+332>>2]=0;b=v[a+336>>2];if(b){Qa[v[c+8>>2]](c,b)}t[a+292|0]=0;v[a+336>>2]=0}b=v[a+564>>2];if(b){Qa[v[c+8>>2]](c,b)}u[a+562>>1]=0;v[a+564>>2]=0;if(d){Qa[v[d+52>>2]](a)}b=v[a+20>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+20>>2]=0;b=v[a+24>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+24>>2]=0;b=v[a+32>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+32>>2]=0;b=v[a+804>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+28>>2]=0;v[a+804>>2]=0;b=v[a+720>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+720>>2]=0;b=v[a+744>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+744>>2]=0;b=v[a+652>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+652>>2]=0;b=v[a+656>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+656>>2]=0;b=v[a+664>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+664>>2]=0;b=v[a+672>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+540>>2]=0;v[a+672>>2]=0}}function KRa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;v[a+4>>2]=0;if((b|0)!=80){d=v[a>>2];v[d+20>>2]=13;v[d+24>>2]=80;v[v[a>>2]+28>>2]=b;Qa[v[v[a>>2]>>2]](a)}if((c|0)!=488){b=v[a>>2];v[b+20>>2]=22;v[b+24>>2]=488;v[v[a>>2]+28>>2]=c;Qa[v[v[a>>2]>>2]](a)}b=v[a>>2];c=v[a+12>>2];eb(a+4|0,0,484);v[a+16>>2]=1;v[a+12>>2]=c;v[a>>2]=b;A1(a);v[a+308>>2]=0;v[a+24>>2]=0;v[a+8>>2]=0;v[a+164>>2]=0;v[a+168>>2]=0;v[a+172>>2]=0;v[a+176>>2]=0;v[a+180>>2]=0;v[a+184>>2]=0;v[a+188>>2]=0;v[a+192>>2]=0;v[a+196>>2]=0;v[a+200>>2]=0;v[a+204>>2]=0;v[a+208>>2]=0;b=Qa[v[v[a+4>>2]>>2]](a,0,172)|0;v[a+460>>2]=b;v[b+96>>2]=0;v[b+100>>2]=0;v[b+28>>2]=166;v[b+8>>2]=167;v[b+4>>2]=168;v[b>>2]=169;v[b+104>>2]=0;v[b+36>>2]=166;v[b+40>>2]=166;v[b+108>>2]=0;v[b+112>>2]=0;v[b+44>>2]=166;v[b+48>>2]=166;v[b+116>>2]=0;v[b+120>>2]=0;v[b+52>>2]=166;v[b+56>>2]=166;v[b+124>>2]=0;v[b+128>>2]=0;v[b+60>>2]=166;v[b+132>>2]=0;v[b+64>>2]=166;v[b+136>>2]=0;v[b+140>>2]=0;v[b+68>>2]=166;v[b+72>>2]=166;v[b+76>>2]=166;v[b+80>>2]=166;v[b+144>>2]=0;v[b+148>>2]=0;v[b+84>>2]=166;v[b+152>>2]=0;v[b+156>>2]=0;v[b+160>>2]=0;v[b+92>>2]=166;v[b+32>>2]=170;v[b+88>>2]=170;v[a+436>>2]=0;v[a+144>>2]=0;v[a+216>>2]=0;b=v[a+460>>2];v[b+164>>2]=0;v[b+24>>2]=0;v[b+12>>2]=0;v[b+16>>2]=0;b=Qa[v[v[a+4>>2]>>2]](a,0,28)|0;v[a+456>>2]=b;v[b+24>>2]=1;v[b+16>>2]=0;v[b+20>>2]=0;v[b+12>>2]=173;v[b+8>>2]=174;v[b+4>>2]=175;v[b>>2]=176;v[a+20>>2]=200}function rCa(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,p=0,q=0;j=Ma-16|0;Ma=j;d=v[a+28>>2];e=v[a+16>>2];k=v[a+24>>2];v[j+12>>2]=0;a:{b:{g=k+1|0;c:{if(g>>>0<=d>>>0){l=v[a+32>>2];break c}v[a+36>>2]=b;l=yb(b,4,d,g,v[a+32>>2],j+12|0);v[a+32>>2]=l;if(v[j+12>>2]){break b}v[a+28>>2]=g}g=l;if(k){e=e+10|0;while(1){h=w[e+7|0]|w[e+8|0]<<8|(w[e+9|0]<<16|w[e+10|0]<<24);o=w[e|0];p=w[e+1|0];q=w[e+2|0];d:{e:{f:{b=w[e+3|0]|w[e+4|0]<<8|(w[e+5|0]<<16|w[e+6|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(!b){break f}d=b+v[a+16>>2]|0;b=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);m=d+7|0;i=0;while(1){if(b>>>0<=i>>>0){break f}d=b;b=b+i>>>1|0;n=m+(b<<2)|0;f=n-3|0;f=w[f+1|0]<<8|w[f|0]<<16|w[f+2|0];if(f>>>0>c>>>0){continue}i=b+1|0;b=d;if(f+w[n|0]>>>0>>0){continue}break}break e}b=h<<8&16711680|h<<24|(h>>>8&65280|h>>>24);if(!b){break d}d=b+v[a+16>>2]|0;b=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(!b){break d}m=d+7|0;i=0;while(1){g:{d=b+i>>>1|0;h=m+B(d,5)|0;f=h-3|0;f=w[f+1|0]<<8|w[f|0]<<16|w[f+2|0];h:{if(f>>>0>c>>>0){b=d;break h}if(c>>>0<=f>>>0){break g}i=d+1|0}if(b>>>0>i>>>0){continue}break d}break}if(!(w[h+1|0]|w[h|0]<<8)){break d}}v[g>>2]=p<<8|o<<16|q;g=g+4|0}e=e+11|0;k=k-1|0;if(k){continue}break}}v[g>>2]=0;break a}l=0}Ma=j+16|0;return l|0}function u0(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;f=Ma-16|0;Ma=f;k=v[a>>2];m=v[b+8>>2];g=Id(b,f+12|0);e=v[f+12>>2];a:{b:{c:{if(e){break c}e=2;if((g|0)!=1954115633){break c}l=Ac(b,f+12|0);e=v[f+12>>2];if(e){break c}e=re(b,6);v[f+12>>2]=e;if(e){break c}if(!l){e=142;break c}h=-1;d:{e:{j=(c|0)>0?c&65535:c;if((j|0)<=-1){while(1){c=Id(b,f+12|0);e=v[f+12>>2];if(e){break c}e=re(b,4);v[f+12>>2]=e;if(e){break c}g=Id(b,f+12|0);e=v[f+12>>2];if(e){break c}h=Id(b,f+12|0);e=v[f+12>>2];if(e){break c}if((c|0)==1415139377){break e}if((c|0)==1128875040){c=h-22|0;g=g+22|0;i=1;break d}i=i+1|0;if((l|0)!=(i|0)){continue}break}e=142;break c}while(1){n=Id(b,f+12|0);e=v[f+12>>2];if(e){break c}e=re(b,4);v[f+12>>2]=e;if(e){break c}g=Id(b,f+12|0);e=v[f+12>>2];if(e){break c}c=Id(b,f+12|0);e=v[f+12>>2];if(e){break c}f:{if((n|0)!=1415139377){if((n|0)!=1128875040){break f}c=c-22|0;g=g+22|0;i=1;h=h+1|0;break f}c=c-24|0;g=g+24|0;h=h+1|0;i=0}if((h|0)==(j|0)){break d}o=o+1|0;if((o|0)!=(l|0)){continue}break}e=142;break c}c=h-24|0;g=g+24|0;i=0}e=8;h=v[b+4>>2];if(h>>>0>>0|h-g>>>0>>0){break a}e=Mb(b,g+m|0);v[f+8>>2]=e;if(e){break b}g=cc(k,c,f+8|0);e=v[f+8>>2];if(e){break b}e=_e(b,g,c);v[f+8>>2]=e;if(e){if(g){Qa[v[k+8>>2]](k,g)}e=v[f+8>>2];break b}e=AJ(a,g,c,j>>31&j,i&255?288626:324232,d)}v[f+8>>2]=e}if((e&255)!=2){break a}a=Mb(b,m);e=a?a:v[f+8>>2]}Ma=f+16|0;return e}function TA(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=Ma-16|0;Ma=e;f=v[a+100>>2];v[e+12>>2]=0;d=v[a+532>>2];a:{if(!d){d=cc(f,420,e+12|0);if(v[e+12>>2]){break a}v[d+416>>2]=0;v[a+532>>2]=d}b:{c:{if(!b){break c}g=v[d>>2];if(!g){k=d,l=yb(f,32,0,b,0,e+12|0),v[k+148>>2]=l;if(v[e+12>>2]){break a}k=d,l=yb(f,196,0,b,0,e+12|0),v[k+216>>2]=l;if(v[e+12>>2]){break a}k=d,l=yb(f,16,0,b,0,e+12|0),v[k+288>>2]=l;if(v[e+12>>2]){break a}g=yb(f,4,0,b<<1,0,e+12|0);v[d+136>>2]=g;if(v[e+12>>2]){break a}v[d+284>>2]=a+464;v[d+212>>2]=a+168;v[d+144>>2]=a+132;v[d+140>>2]=g+(b<<2);if(b>>>0>=2){h=v[d+288>>2];g=v[d+216>>2];i=v[d+148>>2];a=2;while(1){j=(a<<2)+d|0;h=h+16|0;v[j+284>>2]=h;g=g+196|0;v[j+212>>2]=g;i=i+32|0;v[j+144>>2]=i;a=a+1|0;if(b>>>0>=a>>>0){continue}break}}v[d>>2]=b;break c}if((b|0)!=(g|0)){break b}}a=v[d+4>>2];d:{if(!c){c=a;break d}if((a|0)!=(c|0)?a:0){break b}v[d+4>>2]=c}h=v[d>>2];if(v[d+24>>2]|(!h|!c)){break a}b=yb(f,4,0,B(c,h),0,e+12|0);v[d+24>>2]=b;if(v[e+12>>2]|h>>>0<2){break a}f=h-1|0;g=f&3;a=1;if(h-2>>>0>=3){h=f&-4;f=d+24|0;while(1){v[f+(a<<2)>>2]=b+(B(a,c)<<2);i=a+1|0;v[f+(i<<2)>>2]=b+(B(c,i)<<2);i=a+2|0;v[f+(i<<2)>>2]=b+(B(c,i)<<2);i=a+3|0;v[f+(i<<2)>>2]=b+(B(c,i)<<2);a=a+4|0;h=h-4|0;if(h){continue}break}}if(!g){break a}while(1){v[((a<<2)+d|0)+24>>2]=b+(B(a,c)<<2);a=a+1|0;g=g-1|0;if(g){continue}break}break a}v[e+12>>2]=3}Ma=e+16|0;return v[e+12>>2]}function Ew(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;n=d-b|0;if(n+4194303>>>0>=8388607){h=b+d>>1;g=c+e>>1;Ew(a,b,c,h,g);Ew(a,h,g,d,e)}f=v[a+80>>2];g=b>>8;if((f|0)>(g|0)){v[a+80>>2]=g;f=g}l=v[a+88>>2];if((g|0)>(l|0)){v[a+88>>2]=g;l=g}i=v[a+84>>2];h=c>>8;if((i|0)>(h|0)){v[a+84>>2]=h;i=h}j=v[a+92>>2];if((h|0)>(j|0)){v[a+92>>2]=h;j=h}m=f;f=d>>8;if((m|0)>(f|0)){v[a+80>>2]=f}if((f|0)>(l|0)){v[a+88>>2]=f}k=e>>8;if((k|0)<(i|0)){v[a+84>>2]=k}if((j|0)<(k|0)){v[a+92>>2]=k}o=e&255;f=c&255;Wo(a,g,h);if((h|0)==(k|0)){Dw(a,h,b,f,d,o);return}c=e-c|0;if(!n){d=(c>>>23^-1)&256;f=d-f|0;v[a+56>>2]=f+v[a+56>>2];i=f;f=b<<1&510;v[a+60>>2]=v[a+60>>2]+B(i,f);c=(c|0)>-1?1:-1;b=c+h|0;Wo(a,g,b);if((b|0)!=(k|0)){h=(d<<1)-256|0;j=B(h,f);while(1){v[a+60>>2]=j;v[a+56>>2]=h;b=b+c|0;Wo(a,g,b);if((b|0)!=(k|0)){continue}break}}b=d+(e|-256)|0;v[a+56>>2]=b+v[a+56>>2];v[a+60>>2]=v[a+60>>2]+B(b,f);return}l=-1;e=a;g=h;i=b;m=f;a:{if((c|0)>-1){l=1;f=256-f|0;j=256;break a}c=0-c|0;j=0}p=e;q=g;g=b;b=B(f,n);e=(b|0)/(c|0)|0;g=g+e|0;e=b-B(c,e)|0;g=g+(e>>31)|0;Dw(p,q,i,m,g,j);b=h+l|0;Wo(a,g>>8,b);if((b|0)==(k|0)){Dw(a,k,g,256-j|0,d,o);return}f=n<<8;h=(f|0)/(c|0)|0;f=f-B(c,h)|0;i=f>>31;f=(i&c)+f|0;i=h+i|0;h=256-j|0;e=e-((e|0)<0?0:c)|0;while(1){m=g;e=e+f|0;g=g+i+((e^-1)>>>31)|0;Dw(a,b,m,h,g,j);b=b+l|0;Wo(a,g>>8,b);e=e-((e|0)<0?0:c)|0;if((b|0)!=(k|0)){continue}break}Dw(a,k,g,h,d,o)}function Dra(a,b,c){a=a|0;b=b|0;c=c|0;var d=C(0),e=C(0),f=C(0),g=C(0),h=0,i=0,j=C(0),k=C(0),l=C(0),m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=C(0),x=C(0),y=C(0),A=C(0),B=C(0),D=C(0),E=C(0);h=a;while(1){i=v[(m<<2)+b>>2]+c|0;n=w[i+7|0];o=w[i|0];d=C(n+o|0);p=w[i+4|0];q=w[i+3|0];e=C(p+q|0);g=C(d+e);r=w[i+6|0];s=w[i+1|0];f=C(r+s|0);t=w[i+5|0];i=w[i+2|0];j=C(t+i|0);k=C(f+j);z[h+16>>2]=g-k;z[h>>2]=C(k+g)+C(-1024);d=C(d-e);e=C(C(d+C(f-j))*C(.7071067690849304));z[h+24>>2]=d-e;z[h+8>>2]=d+e;d=C(o-n|0);g=C(s-r|0);f=C(i-t|0);j=C(C(g+f)*C(.7071067690849304));e=C(d-j);f=C(f+C(q-p|0));k=C(d+g);g=C(C(f-k)*C(.3826834261417389));f=C(C(f*C(.5411961078643799))+g);z[h+20>>2]=e+f;z[h+12>>2]=e-f;d=C(j+d);e=C(C(k*C(1.3065630197525024))+g);z[h+28>>2]=d-e;z[h+4>>2]=d+e;h=h+32|0;m=m+1|0;if((m|0)!=8){continue}break}h=7;while(1){g=z[a>>2];f=z[a+224>>2];d=C(g+f);j=z[a+96>>2];k=z[a+128>>2];e=C(j+k);l=C(d+e);u=z[a+32>>2];x=z[a+192>>2];y=C(u+x);A=z[a+64>>2];B=z[a+160>>2];D=C(A+B);E=C(y+D);z[a+128>>2]=l-E;z[a>>2]=E+l;d=C(d-e);e=C(C(d+C(y-D))*C(.7071067690849304));z[a+192>>2]=d-e;z[a+64>>2]=d+e;d=C(g-f);g=C(u-x);f=C(A-B);l=C(C(g+f)*C(.7071067690849304));e=C(d-l);f=C(f+C(j-k));j=C(d+g);g=C(C(f-j)*C(.3826834261417389));f=C(C(f*C(.5411961078643799))+g);z[a+160>>2]=e+f;z[a+96>>2]=e-f;d=C(d+l);e=C(C(j*C(1.3065630197525024))+g);z[a+224>>2]=d-e;z[a+32>>2]=d+e;b=h;h=h-1|0;a=a+4|0;if(b){continue}break}}function gz(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=v[a+8>>2];e=Qa[v[v[e>>2]+28>>2]](e)|0;a:{if((e|0)==-1){break a}f=v[a+8>>2];f=Qa[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break a}g=v[a+8>>2];g=Qa[v[v[g>>2]+28>>2]](g)|0;if((g|0)==-1){break a}h=v[a+8>>2];h=Qa[v[v[h>>2]+28>>2]](h)|0;if((h|0)==-1){break a}i=v[a+8>>2];i=Qa[v[v[i>>2]+28>>2]](i)|0;if((i|0)==-1){break a}j=v[a+8>>2];j=Qa[v[v[j>>2]+28>>2]](j)|0;if((j|0)==-1){break a}k=v[a+8>>2];k=Qa[v[v[k>>2]+28>>2]](k)|0;if((k|0)==-1){break a}l=v[a+8>>2];l=Qa[v[v[l>>2]+28>>2]](l)|0;if((l|0)==-1){break a}v[b>>2]=l|(j<<16|i<<24|k<<8);b:{c:{d:{e:{b=h|(f<<16|e<<24|g<<8);switch(b|0){case 0:break d;case 1:break e;default:break c}}b=v[a+8>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break a}e=v[a+8>>2];e=Qa[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){break a}f=v[a+8>>2];f=Qa[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break a}g=v[a+8>>2];g=Qa[v[v[g>>2]+28>>2]](g)|0;if((g|0)==-1){break a}h=v[a+8>>2];h=Qa[v[v[h>>2]+28>>2]](h)|0;if((h|0)==-1){break a}i=v[a+8>>2];i=Qa[v[v[i>>2]+28>>2]](i)|0;if((i|0)==-1){break a}j=v[a+8>>2];j=Qa[v[v[j>>2]+28>>2]](j)|0;if((j|0)==-1){break a}k=v[a+8>>2];k=Qa[v[v[k>>2]+28>>2]](k)|0;if((k|0)==-1){break a}if(g|(e<<16|b<<24|f<<8)){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,236378,0);return 0}a=k|(i<<16|h<<24|j<<8);v[c>>2]=a;v[d>>2]=a-16;break b}v[c>>2]=0;v[d>>2]=0;break b}v[c>>2]=b;v[d>>2]=b-8}m=1}return m}function zea(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;var j=0;if(f){a=x[a+26>>1];c=B(a,g);d=e>>>0<8;j=h<<2;while(1){h=e;if(!d){while(1){v[b>>2]=w[i|0]|w[i+1|0]<<8|(w[i+2|0]<<16|w[i+3|0]<<24);g=a+i|0;v[b+4>>2]=w[g|0]|w[g+1|0]<<8|(w[g+2|0]<<16|w[g+3|0]<<24);g=a+g|0;v[b+8>>2]=w[g|0]|w[g+1|0]<<8|(w[g+2|0]<<16|w[g+3|0]<<24);g=a+g|0;v[b+12>>2]=w[g|0]|w[g+1|0]<<8|(w[g+2|0]<<16|w[g+3|0]<<24);g=a+g|0;v[b+16>>2]=w[g|0]|w[g+1|0]<<8|(w[g+2|0]<<16|w[g+3|0]<<24);g=a+g|0;v[b+20>>2]=w[g|0]|w[g+1|0]<<8|(w[g+2|0]<<16|w[g+3|0]<<24);g=a+g|0;v[b+24>>2]=w[g|0]|w[g+1|0]<<8|(w[g+2|0]<<16|w[g+3|0]<<24);g=a+g|0;v[b+28>>2]=w[g|0]|w[g+1|0]<<8|(w[g+2|0]<<16|w[g+3|0]<<24);b=b+32|0;i=a+g|0;h=h-8|0;if(h>>>0>7){continue}break}}f=f-1|0;a:{switch(h-1|0){case 6:v[b>>2]=w[i|0]|w[i+1|0]<<8|(w[i+2|0]<<16|w[i+3|0]<<24);i=a+i|0;b=b+4|0;case 5:v[b>>2]=w[i|0]|w[i+1|0]<<8|(w[i+2|0]<<16|w[i+3|0]<<24);i=a+i|0;b=b+4|0;case 4:v[b>>2]=w[i|0]|w[i+1|0]<<8|(w[i+2|0]<<16|w[i+3|0]<<24);i=a+i|0;b=b+4|0;case 3:v[b>>2]=w[i|0]|w[i+1|0]<<8|(w[i+2|0]<<16|w[i+3|0]<<24);i=a+i|0;b=b+4|0;case 2:v[b>>2]=w[i|0]|w[i+1|0]<<8|(w[i+2|0]<<16|w[i+3|0]<<24);i=a+i|0;b=b+4|0;case 1:v[b>>2]=w[i|0]|w[i+1|0]<<8|(w[i+2|0]<<16|w[i+3|0]<<24);i=a+i|0;b=b+4|0;case 0:v[b>>2]=w[i|0]|w[i+1|0]<<8|(w[i+2|0]<<16|w[i+3|0]<<24);i=a+i|0;b=b+4|0;break;default:break a}}i=c+i|0;b=b+j|0;if(f){continue}break}}}function wq(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}e=v[a+80>>2];b:{if(!v[291069]){break b}c=v[291067];if(!c){break b}Qa[c|0](a)}c=v[a+64>>2];if(c){wl(c,2723)}v[a+64>>2]=0;c=v[a+68>>2];if(c){sX(c)}v[a+68>>2]=0;b=v[a+48>>2];c=v[a+44>>2];if(!(!b|(b|0)==(c|0))){hj(b);v[a+48>>2]=0;yq(b)}if(c){hj(v[a+44>>2]);v[a+44>>2]=0;yq(c)}c=v[a+12>>2];if(c){vl(c)}b=v[a+52>>2];if(b){while(1){c=v[b>>2];d=v[b+8>>2];if(d){Qa[v[256556]](d)}d=v[b+12>>2];if(d){Qa[v[256556]](d)}Qa[v[256556]](b);b=c;if(b){continue}break}}d=v[a+56>>2];c:{if(!d){break c}if(e){c=e;while(1){b=v[c+16>>2];if(b){while(1){if(d>>>0<=y[b+4>>2]&d>>>0>=b+20>>>0){break c}b=v[b>>2];if(b){continue}break}}c=v[c+20>>2];if(c){continue}break}}Qa[v[256556]](d)}d=v[a+8>>2];d:{if(!d){break d}if(e){c=e;while(1){b=v[c+16>>2];if(b){while(1){if(d>>>0<=y[b+4>>2]&d>>>0>=b+20>>>0){break d}b=v[b>>2];if(b){continue}break}}c=v[c+20>>2];if(c){continue}break}}Qa[v[256556]](d)}d=v[a+60>>2];e:{if(!d){break e}if(e){c=e;while(1){b=v[c+16>>2];if(b){while(1){if(d>>>0<=y[b+4>>2]&d>>>0>=b+20>>>0){break e}b=v[b>>2];if(b){continue}break}}c=v[c+20>>2];if(c){continue}break}}Qa[v[256556]](d)}d=v[a+72>>2];f:{if(!d){break f}if(e){c=e;while(1){b=v[c+16>>2];if(b){while(1){if(d>>>0<=y[b+4>>2]&d>>>0>=b+20>>>0){break f}b=v[b>>2];if(b){continue}break}}c=v[c+20>>2];if(c){continue}break}}Qa[v[256556]](d)}Qa[v[256556]](a);if(!e){break a}ln(e)}}function tKa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;k=Ma-80|0;Ma=k;e=qw(b,c);a:{if(e){break a}g=v[b+2740>>2];if(!(g&1)){g=v[d+52>>2];e=So(b,0);if(e){break a}ft(b,g,d+56|0,0);e=G$(b,0);if(e){break a}g=v[b+2740>>2]}b:{if(g&2){break b}g=v[d+9856>>2];e=So(b,1);if(e){break a}ft(b,g,d+9860|0,1);e=G$(b,1);if(e){break a}if(w[(v[v[d+36>>2]+8>>2]+(a<<1)|0)+1|0]&64){break b}a=v[b+1404>>2];if((a|0)<1){break b}h=v[b+1412>>2];q=h+B(a,44)|0;n=v[d+9848>>2];while(1){a=xb(y[d+40>>2]/40|0,n);c:{if(!v[d+10064>>2]){break c}a=(a|0)<32?a:32;e=0;g=0;m=0;while(1){i=B(e,36)+d|0;f=v[i+10100>>2];d:{if(!(f&1)){break d}j=f>>>3&1;p=(f&6)!=0;if(!(j|p^v[b+1416>>2]==t[h+13|0])){break d}o=i+10068|0;l=u[h>>1]-v[o>>2]|0;f=l>>31;l=xb(f^f+l,n);f=(l|0)<(a|0);a=f?l:a;g=f?o:g;m=f?j:m;if(j|(!(t[h+12|0]&1)|!l)){break d}f=u[h>>1];if(((f|0)>2]|0)==(p|0)){break d}j=f;f=i+10080|0;j=j-v[f>>2]|0;i=j>>31;i=xb(i^i+j,n);if((i|0)>=(a|0)){break d}m=0;a=i;g=f}e=e+1|0;if(e>>>0>2]){continue}break}if(!g){break c}v[h+20>>2]=g;if(!(m&255)){break c}t[h+12|0]=w[h+12|0]|8}h=h+44|0;if(q>>>0>h>>>0){continue}break}}a=v[b+2740>>2];e:{if(!(v[d+24>>2]|a&8)){v$(k+16|0,b,k+12|0,k+8|0);J$(b,v[k+12>>2],v[k+8>>2]);break e}if(a&1){break e}F$(b,0);K$(b,0);kJ(b,0);jJ(b,0)}if(!(w[b+2740|0]&2)){F$(b,1);K$(b,1);kJ(b,1);jJ(b,1)}lJ(b,c);e=0}Ma=k+80|0;return e|0}function oba(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,j=0;a=Ma-16|0;Ma=a;v[a+12>>2]=c;v[a+8>>2]=f;v[a+12>>2]=c;v[a+8>>2]=f;c=v[a+12>>2];a:{b:{while(1){if(c>>>0>=d>>>0){f=0;break a}f=2;b=x[c>>1];if(b>>>0>1114111){break a}c:{d:{if(b>>>0<=127){f=1;c=v[a+8>>2];if((g-c|0)<1){break a}v[a+8>>2]=c+1;t[c|0]=b;break d}if(b>>>0<=2047){c=v[a+8>>2];if((g-c|0)<2){break b}v[a+8>>2]=c+1;t[c|0]=b>>>6|192;c=v[a+8>>2];v[a+8>>2]=c+1;t[c|0]=b&63|128;break d}if(b>>>0<=55295){c=v[a+8>>2];if((g-c|0)<3){break b}v[a+8>>2]=c+1;t[c|0]=b>>>12|224;c=v[a+8>>2];v[a+8>>2]=c+1;t[c|0]=b>>>6&63|128;c=v[a+8>>2];v[a+8>>2]=c+1;t[c|0]=b&63|128;break d}if(b>>>0<=56319){f=1;if((d-c|0)<4){break a}i=x[c+2>>1];if((i&64512)!=56320){break c}if((g-v[a+8>>2]|0)<4){break a}f=b&960;if((i&1023|(b<<10&64512|f<<10))+65536>>>0>1114111){break c}v[a+12>>2]=c+2;c=v[a+8>>2];v[a+8>>2]=c+1;j=c;c=(f>>>6|0)+1|0;t[j|0]=c>>>2|240;f=v[a+8>>2];v[a+8>>2]=f+1;t[f|0]=c<<4&48|b>>>2&15|128;c=v[a+8>>2];v[a+8>>2]=c+1;t[c|0]=i>>>6&15|b<<4&48|128;b=v[a+8>>2];v[a+8>>2]=b+1;t[b|0]=i&63|128;break d}if(b>>>0<57344){break a}c=v[a+8>>2];if((g-c|0)<3){break b}v[a+8>>2]=c+1;t[c|0]=b>>>12|224;c=v[a+8>>2];v[a+8>>2]=c+1;t[c|0]=b>>>6&63|128;c=v[a+8>>2];v[a+8>>2]=c+1;t[c|0]=b&63|128}c=v[a+12>>2]+2|0;v[a+12>>2]=c;continue}break}f=2;break a}f=1}v[e>>2]=v[a+12>>2];v[h>>2]=v[a+8>>2];Ma=a+16|0;return f|0}function Zp(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=Ma-32|0;Ma=g;d=c-b|0;if((d|0)>-2){a:{if((d|0)==-1){d=v[a+12>>2];Qa[v[a+32>>2]](v[a+8>>2],v[a+20>>2]-d|0,v[a+24>>2]-d|0);$a(v[a+8>>2]);v[a+20>>2]=b;v[a+12>>2]=b;v[a+8>>2]=0;v[a+24>>2]=c;v[a+16>>2]=c;break a}e=v[a+16>>2];d=v[a+12>>2];if(!((e|0)<(c|0)|(d|0)>(b|0))){Qa[v[a+36>>2]](v[a+8>>2],b-d|0,v[a+20>>2]+(d^-1)|0);d=v[a+12>>2];Qa[v[a+32>>2]](v[a+8>>2],v[a+20>>2]-d|0,(d^-1)+b|0);d=v[a+12>>2];Qa[v[a+36>>2]](v[a+8>>2],(v[a+24>>2]-d|0)+1|0,c-d|0);d=v[a+12>>2];Qa[v[a+32>>2]](v[a+8>>2],(c-d|0)+1|0,v[a+24>>2]-d|0);v[a+24>>2]=c;v[a+20>>2]=b;break a}h=(d|0)>(e|0);e=h?b:e;d=h?b:d;if((d|0)>(b|0)){while(1){f=d;d=e-d|0;d=(d|0)<32768?d:32768;d=f-((d|0)>8?d:8)|0;if((d|0)>(b|0)){continue}break}}if((c|0)>(e|0)){while(1){f=e;e=e-d|0;e=(e|0)<32768?e:32768;e=f+((e|0)>8?e:8)|0;if((e|0)<(c|0)){continue}break}}h=1-d|0;f=B(v[a+28>>2],h+e|0);j=pc(g+8|0,g+4|0,f,1);eb(v[g+4>>2],0,f);Qa[v[a+36>>2]](v[g+4>>2],b-d|0,v[a+20>>2]+(d^-1)|0);f=v[a+20>>2];k=f-d|0;i=v[a+24>>2];l=f;f=v[a+12>>2];Qa[v[a+40>>2]](v[g+4>>2],k,i-d|0,v[a+8>>2],l-f|0,i-f|0);Qa[v[a+36>>2]](v[g+4>>2],h+v[a+24>>2]|0,c-d|0);h=v[a+12>>2];Qa[v[a+32>>2]](v[a+8>>2],v[a+20>>2]-h|0,v[a+24>>2]-h|0);h=v[a+8>>2];v[a+8>>2]=v[g+4>>2];v[g+4>>2]=h;v[a+24>>2]=c;v[a+20>>2]=b;v[a+16>>2]=e;v[a+12>>2]=d;ec(j)}Ma=g+32|0;return}lb(mb(g+8|0,273596,240949,148,327797));L()}function SSa(a){a=a|0;var 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=Ma-1632|0;Ma=b;d=x[a+26308>>1];if(d){e=v[249419];c=x[a+26310>>1];g=v[a+26352>>2];while(1){c=c&65535;a:{if(!c){c=0;break a}k=0;h=0;while(1){d=c-h|0;WK(a,b+96|0,B((d|0)<256?d:256,3));if((d|0)>=1){c=c+k|0;c=(c|0)<256?c:256;n=(c|0)>1?c:1;c=0;d=b+96|0;i=0;j=0;l=0;while(1){c=x[d>>1]+c|0;u[g>>1]=c;if(c&61440){b:{if(v[a+26160>>2]){break b}v[b+80>>2]=v[a+25208>>2];vb(e,8292,b+80|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,e);break b}f=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[b+64>>2]=f;v[b+68>>2]=f>>31;vb(e,14622,b- -64|0)}v[a+26160>>2]=1}i=x[d+2>>1]+i|0;u[g+2>>1]=i;if(i&61440){c:{if(v[a+26160>>2]){break c}v[b+48>>2]=v[a+25208>>2];vb(e,8292,b+48|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,e);break c}f=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[b+32>>2]=f;v[b+36>>2]=f>>31;vb(e,14622,b+32|0)}v[a+26160>>2]=1}j=x[d+4>>1]+j|0;u[g+4>>1]=j;if(j&61440){d:{if(v[a+26160>>2]){break d}v[b+16>>2]=v[a+25208>>2];vb(e,8292,b+16|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,e);break d}f=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[b>>2]=f;v[b+4>>2]=f>>31;vb(e,14622,b)}v[a+26160>>2]=1}d=d+6|0;g=g+8|0;l=l+1|0;if((n|0)!=(l|0)){continue}break}}k=k-256|0;c=x[a+26310>>1];h=h+256|0;if(c>>>0>h>>>0){continue}break}d=x[a+26308>>1]}m=m+1|0;if(m>>>0<(d&65535)>>>0){continue}break}}Ma=b+1632|0}function ava(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,p=0,q=0,r=0,s=0;f=a;while(1){d=v[(l<<2)+b>>2]+c|0;h=w[d+4|0];g=w[d+3|0];e=h+g|0;i=w[d+7|0];j=w[d|0];k=i+j|0;m=e+k|0;n=w[d+5|0];o=w[d+2|0];p=n+o|0;q=w[d+6|0];r=w[d+1|0];d=q+r|0;s=p+d|0;v[f+16>>2]=m-s<<2;v[f>>2]=(m+s<<2)-4096;e=k-e|0;k=d-p|0;d=B(e+k|0,4433)+1024|0;v[f+24>>2]=d+B(k,-15137)>>11;v[f+8>>2]=d+B(e,6270)>>11;d=g-h|0;h=j-i|0;g=B(d+h|0,-7373);e=r-q|0;k=e+d|0;i=o-n|0;m=i+h|0;j=B(k+m|0,9633)+1024|0;n=g+B(d,2446)|0;d=j+B(k,-16069)|0;v[f+28>>2]=n+d>>11;j=j+B(m,-3196)|0;k=B(i,16819);i=B(e+i|0,-20995);v[f+20>>2]=j+(k+i|0)>>11;v[f+12>>2]=d+(i+B(e,25172)|0)>>11;v[f+4>>2]=j+(g+B(h,12299)|0)>>11;f=f+32|0;l=l+1|0;if((l|0)!=8){continue}break}b=7;while(1){f=v[a+224>>2];d=v[a>>2];c=f+d|0;l=v[a+128>>2];h=v[a+96>>2];g=l+h|0;e=(c+g|0)+2|0;i=v[a+160>>2];j=v[a+64>>2];k=i+j|0;m=v[a+192>>2];n=v[a+32>>2];o=m+n|0;p=k+o|0;v[a+128>>2]=e-p>>2;v[a>>2]=e+p>>2;g=c-g|0;e=o-k|0;c=B(g+e|0,4433)+16384|0;v[a+192>>2]=c+B(e,-15137)>>15;v[a+64>>2]=c+B(g,6270)>>15;c=h-l|0;f=d-f|0;d=B(c+f|0,-7373);l=n-m|0;e=l+c|0;h=j-i|0;i=h+f|0;g=B(e+i|0,9633)+16384|0;j=d+B(c,2446)|0;c=g+B(e,-16069)|0;v[a+224>>2]=j+c>>15;g=g+B(i,-3196)|0;e=B(h,16819);h=B(h+l|0,-20995);v[a+160>>2]=g+(e+h|0)>>15;v[a+96>>2]=c+(h+B(l,25172)|0)>>15;v[a+32>>2]=g+(d+B(f,12299)|0)>>15;c=b;b=c-1|0;a=a+4|0;if(c){continue}break}}function nL(a,b,c,d,e,f,g,h,i,j,k,l){var m=0,n=0;a:{b:{if(w[a+498|0]){break b}c:{d:{e:{f:{n=w[a+1112|0];switch(n-2|0){case 0:case 2:break f;default:break e}}if(!(!v[a+436>>2]|(b|0)==1)&(b|0)!=3){break d}v[a+1116>>2]=v[a+1144>>2];break c}if(!w[a+433|0]|(b|0)!=4){break c}}m=_B(a);if(m){break a}}g:{if(b){t[a+1080|0]=b;break g}b=w[a+1080|0]}t[a+1112|0]=b;h:{if(c){v[a+1144>>2]=d;i:{switch(n-2|0){case 0:case 2:v[a+1116>>2]=v[a+1084>>2];break;default:break i}}if((c|0)!=2){break h}v[a+1084>>2]=d;break h}v[a+1144>>2]=v[a+1084>>2]}j:{if(e){v[a+1120>>2]=f;if(!(1<>>0>8){break j}v[a+1088>>2]=f;break j}v[a+1120>>2]=v[a+1088>>2]}if(g){t[a+1124|0]=1;if(!h){v[a+1140>>2]=l;v[a+1136>>2]=k;v[a+1132>>2]=j;v[a+1128>>2]=i;if((g|0)!=2){break b}v[a+1108>>2]=l;v[a+1104>>2]=k;v[a+1100>>2]=j;v[a+1096>>2]=i;t[a+1092|0]=1;break b}v[a+1128>>2]=v[a+1128>>2]+i;v[a+1132>>2]=v[a+1132>>2]+j;v[a+1136>>2]=v[a+1136>>2]+k;v[a+1140>>2]=v[a+1140>>2]+l;if((g|0)!=2){break b}t[a+1092|0]=1;v[a+1096>>2]=v[a+1096>>2]+i;v[a+1100>>2]=v[a+1100>>2]+j;v[a+1104>>2]=v[a+1104>>2]+k;v[a+1108>>2]=v[a+1108>>2]+l;break b}t[a+1124|0]=w[a+1092|0];b=v[a+1100>>2];v[a+1128>>2]=v[a+1096>>2];v[a+1132>>2]=b;b=v[a+1108>>2];v[a+1136>>2]=v[a+1104>>2];v[a+1140>>2]=b}m=0;if(w[a+497|0]){break a}if(!(v[a+440>>2]?w[a+1112|0]!=4:0)){m=gp(a);if(m){break a}}t[a+433|0]=1;v[a+436>>2]=v[a+436>>2]+1;m=0}return m}function Bla(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,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;i=Ma-16|0;Ma=i;v[i+8>>2]=f;v[i+12>>2]=e;j=v[a+4>>2];if(j){a=Ma-80|0;Ma=a;e=v[j+16>>2];if(e){k=Qa[v[v[e>>2]+48>>2]](e)|0;e=Fm();f=v[j+16>>2];p=e,q=Qa[v[v[f>>2]+24>>2]](f)|0,o=v[v[e>>2]+24>>2],Qa[o](p|0,q|0);Qa[v[v[k>>2]+68>>2]](k,e);g=wt();Qa[v[v[g>>2]+428>>2]](g,k);e=v[j+12>>2];v[a+8>>2]=0;v[a+76>>2]=0;v[a+72>>2]=0;Nu(e,b,a+8|0,a+76|0,a+72|0);e=v[a+8>>2];A[a+64>>3]=e|0;f=v[a+76>>2];A[a+56>>3]=f|0;n=+v[a+72>>2];m=a;l=v[i+12>>2];a:{if((l|0)>=1){h=+(l|0);break a}h=+(B(e,96)|0)/n}b:{if(D(h)<2147483648){e=~~h;break b}e=-2147483648}v[m+76>>2]=e;m=a;l=v[i+8>>2];c:{if((l|0)>=1){h=+(l|0);break c}h=+(B(f,96)|0)/n}d:{if(D(h)<2147483648){f=~~h;break d}f=-2147483648}v[m+72>>2]=f;e=B(e,f)<<2;f=eb(ab(e),255,e);e=a+8|0;v[e>>2]=0;v[e+4>>2]=0;t[e+40|0]=0;v[e+32>>2]=0;v[e+36>>2]=-1074790400;t[e+21|0]=0;t[e+22|0]=0;t[e+23|0]=0;t[e+24|0]=0;t[e+25|0]=0;t[e+26|0]=0;t[e+27|0]=0;t[e+28|0]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;v[e+16>>2]=f;v[e+4>>2]=v[a+76>>2];v[e+8>>2]=v[a+72>>2];v[a+4>>2]=0-(v[a+76>>2]<<2);v[e+12>>2]=v[a+4>>2];Qa[v[v[g>>2]+456>>2]](g,e);Qa[v[v[g>>2]+448>>2]](g,0);Qa[v[v[g>>2]+36>>2]](g,a- -64|0)|0;Qa[v[v[g>>2]+28>>2]](g,a+56|0)|0;zF(j,g,b);JC(e,c,d);Qa[v[v[k>>2]+12>>2]](k)|0;Qa[v[v[g>>2]+4>>2]](g);un(e)}Ma=a+80|0}Ma=i+16|0}function BH(a,b){var c=0,d=0,e=0,f=0,g=0;f=Ma-32|0;Ma=f;a:{if(!b){vq(a,345585,0);break a}if(v[291060]){v[f+16>>2]=v[b+8>>2];Qa[v[256654]](v[291043],340547,f+16|0)}if(!v[b+40>>2]){b:{switch(v[b+48>>2]-1|0){case 2:vq(a,340049,v[b+8>>2]);break a;case 1:case 4:c=jA(v[b+64>>2],v[b+52>>2],a);break a;case 0:vq(a,347774,v[b+8>>2]);break a;case 3:vq(a,347726,v[b+8>>2]);break a;case 5:break b;default:break a}}vq(a,347812,v[b+8>>2]);break a}c=Qa[v[256552]](60)|0;if(!c){if(a){if(!(!v[a+212>>2]|v[a+172>>2]!=-1)){c=0;break a}v[a+212>>2]=1;v[a+172>>2]=-1;v[a+84>>2]=2}v[f>>2]=341856;c=0;nb(0,0,0,a,0,1,2,3,341856,0,0,0,340689,f);break a}v[c+48>>2]=0;v[c+52>>2]=0;d=c+32|0;v[d>>2]=0;v[d+4>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c>>2]=0;v[c+4>>2]=0;v[c+56>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c+52>>2]=-1;v[c+32>>2]=1;v[c+28>>2]=1;if(a){d=a;a=v[a+464>>2];v[d+464>>2]=a+1;v[c+56>>2]=a}d=v[b+64>>2];if(d){a=d;while(1){e=a;a=a+1|0;if(w[e|0]){continue}break}a=0;e=e-d|0;c:{if((e|0)<0){break c}g=Qa[v[256555]](e+1|0)|0;if(!g){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break c}a=cb(g,d,e);t[e+a|0]=0}v[c+4>>2]=a}d=v[b+40>>2];v[c+12>>2]=d;e=v[b+44>>2];if(!e){d:{if(!d){e=0;break d}e=0;if(!w[d|0]){break d}a=d;while(1){e=e+1|0;g=w[a+1|0];a=a+1|0;if(g){continue}break}}v[b+44>>2]=e}v[c+24>>2]=e;v[c+16>>2]=d;v[c+20>>2]=e+d}Ma=f+32|0;return c}function uNa(a,b){a=a|0;b=b|0;var c=C(0),d=C(0),e=0,f=0,g=0,h=0,i=C(0),j=0,k=C(0),l=C(0),m=0,n=0,o=0,p=0,q=C(0),r=C(0),s=0,t=0,u=0,w=C(0),x=C(0),y=C(0),D=C(0),E=0,F=0,G=0;g=Ma-16|0;Ma=g;v[a>>2]=1199570688;v[a+4>>2]=-947912960;v[a+8>>2]=1199570688;v[a+12>>2]=-947912960;f=b+16|0;u=v[f+84>>2];if((u|0)>=1){w=C(65535);x=C(-65535);y=C(65535);D=C(-65535);b=0;while(1){e=v[f+84>>2];G=v[f+80>>2];a:{b:{if((b|0)<=-1){if((e|0)<1){break a}s=v[f+88>>2];if((s|0)<1|(e|0)<(s|0)){break a}e=s-1|0;break b}if((e|0)<1){break a}e=(b|0)<(e|0)?b:e-1|0}e=G+B(e,96)|0;c=z[e+12>>2];d=z[e+20>>2];i=C(-z[e+16>>2]);l=C(-z[e+24>>2]);j=A[f+48>>3];m=A[f+40>>3];t=A[f+24>>3];n=A[f+32>>3];c:{d:{if(t!=1|n!=0|(m!=0|j!=1)){break d}if(A[f+56>>3]!=0){break d}if(A[f- -64>>3]==0){break c}}p=+c;h=n*p;E=+i;F=j*E;c=C(h+F);o=h;h=j;j=+l;h=h*j;l=C(o+h);i=ci?i:d;k=C(o+F);i=il?c:l;c=c>d?c:d;l=c>k?c:k;p=t*p;h=m*E;d=C(p+h);j=m*j;k=C(p+j);c=dk?d:k;d=d>q?d:q;d=d>r?d:r}z[g+4>>2]=C(c+z[e+4>>2])+z[f+8>>2];z[g>>2]=C(d+z[e+4>>2])+z[f+8>>2];z[g+12>>2]=C(i+z[e+8>>2])+z[f+12>>2];z[g+8>>2]=C(l+z[e+8>>2])+z[f+12>>2]}c=z[g+8>>2];if(c>D){z[a+12>>2]=c;D=c}c=z[g+12>>2];if(c>2]=c;y=c}c=z[g+4>>2];if(c>2]=c;w=c}c=z[g>>2];if(c>x){z[a+4>>2]=c;x=c}b=b+1|0;if((u|0)!=(b|0)){continue}break}}Ma=g+16|0}function Vca(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;if(f){a=e>>>0<8;c=h<<2;while(1){h=e;if(!a){while(1){v[b>>2]=w[i|0]|w[j|0]<<8|w[k|0]<<16|-16777216;v[b+4>>2]=w[i+1|0]|w[j+1|0]<<8|w[k+1|0]<<16|-16777216;v[b+8>>2]=w[i+2|0]|w[j+2|0]<<8|w[k+2|0]<<16|-16777216;v[b+12>>2]=w[i+3|0]|w[j+3|0]<<8|w[k+3|0]<<16|-16777216;v[b+16>>2]=w[i+4|0]|w[j+4|0]<<8|w[k+4|0]<<16|-16777216;v[b+20>>2]=w[i+5|0]|w[j+5|0]<<8|w[k+5|0]<<16|-16777216;v[b+24>>2]=w[i+6|0]|w[j+6|0]<<8|w[k+6|0]<<16|-16777216;v[b+28>>2]=w[i+7|0]|w[j+7|0]<<8|w[k+7|0]<<16|-16777216;b=b+32|0;k=k+8|0;j=j+8|0;i=i+8|0;h=h-8|0;if(h>>>0>7){continue}break}}f=f-1|0;a:{switch(h-1|0){case 6:v[b>>2]=w[i|0]|w[j|0]<<8|w[k|0]<<16|-16777216;b=b+4|0;k=k+1|0;j=j+1|0;i=i+1|0;case 5:v[b>>2]=w[i|0]|w[j|0]<<8|w[k|0]<<16|-16777216;b=b+4|0;k=k+1|0;j=j+1|0;i=i+1|0;case 4:v[b>>2]=w[i|0]|w[j|0]<<8|w[k|0]<<16|-16777216;b=b+4|0;k=k+1|0;j=j+1|0;i=i+1|0;case 3:v[b>>2]=w[i|0]|w[j|0]<<8|w[k|0]<<16|-16777216;b=b+4|0;k=k+1|0;j=j+1|0;i=i+1|0;case 2:v[b>>2]=w[i|0]|w[j|0]<<8|w[k|0]<<16|-16777216;b=b+4|0;k=k+1|0;j=j+1|0;i=i+1|0;case 1:v[b>>2]=w[i|0]|w[j|0]<<8|w[k|0]<<16|-16777216;b=b+4|0;k=k+1|0;j=j+1|0;i=i+1|0;case 0:v[b>>2]=w[i|0]|w[j|0]<<8|w[k|0]<<16|-16777216;b=b+4|0;k=k+1|0;j=j+1|0;i=i+1|0;break;default:break a}}k=g+k|0;j=g+j|0;i=g+i|0;b=b+c|0;if(f){continue}break}}}function V3(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=Ma-16|0;Ma=d;c=1;a:{if((Qa[v[v[b>>2]+12>>2]](b,d+14|0,1,1,0,0)|0)!=1){break a}e=w[d+14|0];if((e|0)==249){c=0;b:{if((Qa[v[v[b>>2]+12>>2]](b,d+15|0,1,1,0,0)|0)!=1){break b}f=w[d+15|0];g=Qa[v[v[b>>2]+12>>2]](b,a+976|0,1,4,0,0)|0;c=(w[a+977|0]|w[a+978|0]<<8)<<16>>16;e=(w[a+494|0]?c:c<<8|(c&65280)>>>8)<<16>>16;t[a+977|0]=e;t[a+978|0]=e>>>8;c=0;if((f|0)!=(g|0)){break b}v[a+360>>2]=e&65535;c=w[a+976|0];v[a+336>>2]=c&1?w[a+979|0]:-1;t[a+492|0]=c>>>2&7;c=1}e=w[d+14|0]}c:{if((e|0)!=254){break c}c=0;if((Qa[v[v[b>>2]+12>>2]](b,d+15|0,1,1,0,0)|0)!=1){break c}c=Qa[v[v[b>>2]+12>>2]](b,v[a+1116>>2],w[d+15|0],1,0,0)|0;t[v[a+1116>>2]+w[d+15|0]|0]=0;c=(c|0)==1}d:{if(w[d+14|0]==255){if((Qa[v[v[b>>2]+12>>2]](b,d+15|0,1,1,0,0)|0)!=1|w[d+15|0]!=11){break a}if((Qa[v[v[b>>2]+12>>2]](b,d+3|0,11,1,0,0)|0)!=1){break a}if((Qa[v[v[b>>2]+12>>2]](b,d+15|0,1,1,0,0)|0)!=1){break a}e=w[d+15|0];c=gb(e);if(!c){$a(c);break a}e=Qa[v[v[b>>2]+12>>2]](b,c,e,1,0,0)|0;if(w[d+15|0]>=3){v[a+1120>>2]=w[c+1|0]|w[c+2|0]<<8;$a(c);if((e|0)==1){break d}break a}$a(c);if((e|0)==1){break d}break a}if(!c){break a}}h=1;if(!(Qa[v[v[b>>2]+12>>2]](b,d+15|0,1,1,0,0)|0)){break a}c=w[d+15|0];if(!c){break a}while(1){Qa[v[v[b>>2]+20>>2]](b,c,1)|0;if(!(Qa[v[v[b>>2]+12>>2]](b,d+15|0,1,1,0,0)|0)){break a}c=w[d+15|0];if(c){continue}break}}Ma=d+16|0;return h}function mTa(a){a=a|0;var 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;c=Ma-32|0;Ma=c;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],v[a+25180>>2],0)|0;u[c+30>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+30|0,1,2)|0;b=w[c+30|0];if(x[a+25204>>1]==18761){e=b|w[c+31|0]<<8}else{e=w[c+31|0]|b<<8}u[c+30>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],c+30|0,1,2)|0;b=w[c+30|0];if(x[a+25204>>1]==18761){b=b|w[c+31|0]<<8}else{b=w[c+31|0]|b<<8}k=v[a+25176>>2];l=v[a+4>>2];d=v[a+26048>>2];f=x3a(x[a+26312>>1],0,x[a+26306>>1],0);f=d+(f<<1)|0;Qa[v[v[a>>2]+8>>2]](l,f,0)|0;d=x[a+26306>>1];g=Yb(d,2);if(g){a:{if(!x[a+26308>>1]){break a}m=(k|0)==1?21845:4948;f=m^-1;k=e&65535;n=b&65535;while(1){Wi(a,g,d&65535);d=0;h=x[a+26306>>1];if(h){while(1){e=d<<1;b=e+g|0;l=b;i=g+(e|2)|0;e=n^x[i>>1];b=k^x[b>>1];u[l>>1]=e&f|b&m;u[i>>1]=e&m|b&f;d=d+2|0;if(h>>>0>d>>>0){continue}break}}if(x[a+26310>>1]){h=j<<1&14;i=v[a+26028>>2];e=v[a+26352>>2];d=0;while(1){b=x[a+26316>>1];u[(e+(B(x[a+26320>>1],j>>>b|0)+(d>>>b|0)<<3)|0)+((i>>>((h|d&1)<<1)&3)<<1)>>1]=x[g+(x[a+26314>>1]+d<<1)>>1];d=d+1|0;if(d>>>0>1]){continue}break}}j=j+1|0;if(j>>>0>=x[a+26308>>1]){break a}d=x[a+26306>>1];continue}}$a(g);I3(a);Ma=c+32|0;return}e=v[a+190640>>2];b:{if(e){b=v[a+25208>>2];v[c+20>>2]=41563;v[c+16>>2]=b;Dc(e,4338,c+16|0);break b}b=v[a+25208>>2];v[c+4>>2]=41563;v[c>>2]=b;vb(v[249419],4338,c)}tc(a+190484|0,1);L()}function Yu(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;c=Ma-80|0;Ma=c;e=FF(c- -64|0,a);j=!v[e+4>>2];a:{if(j){break a}b:{if(!v[e+4>>2]){break b}v[c>>2]=0;if(v[v[(w[e+8|0]?v[e>>2]:e)>>2]+(v[c>>2]<<2)>>2]!=123){break b}f=Ma-16|0;Ma=f;c:{d:{l=e;if(y[e+4>>2]>=17){g=f;e:{f:{a=e;if(!w[a+8|0]){break f}a=v[a>>2];if(a){break f}a=0;break e}a=v[a>>2]}i=ks(g,a- -64|0,v[e+4>>2]-17|0);h=v[b+60>>2]-v[b+56>>2]>>3;while(1){if((h|0)>=1){h=h-1|0;a=v[b+56>>2];if(h>>>0>=v[b+60>>2]-a>>3>>>0){break d}g=v[a+(h<<3)>>2]+28|0;d=v[g>>2];if(d){a=g;while(1){k=gm(d+16|0,i);a=k?a:d;d=v[(k?4:0)+d>>2];if(d){continue}break}d=0;g:{if((a|0)==(g|0)){break g}if(gm(i,a+16|0)){break g}Xe(l,a+28|0);d=1}}else{d=0}if(!d){continue}}break}Qb(i)}Ma=f+16|0;break c}gi();L()}}ET(c+48|0,e);v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+24>>2]=0;v[c+28>>2]=1072693248;v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=0;v[c+4>>2]=1072693248;f=v[c+48>>2];g=v[c+52>>2]-f|0;d=(g|0)/12|0;a=1;h:{if((g|0)<1){break h}m=c,n=jl(f),A[m>>3]=n;d=(d|0)<6?d:6;f=(d|0)>1;if(!f){break h}d=f?d:1;while(1){m=(a<<3)+c|0,n=jl(v[c+48>>2]+B(a,12)|0),A[m>>3]=n;a=a+1|0;if((d|0)!=(a|0)){continue}break}}Ly(b,c);b=v[c+48>>2];if(!b){break a}a=v[c+52>>2];if((b|0)==(a|0)){a=b}else{while(1){a=Qb(a-12|0);if((b|0)!=(a|0)){continue}break}a=v[c+48>>2]}v[c+52>>2]=b;$a(a)}Qb(e);Ma=c+80|0;return!j}function tWa(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;a:{if(w[a+286|0]|!w[a+285|0]|(w[a+287|0]|w[a+288|0])){break a}if(w[a+289|0]){break a}if((c|0)!=13){ob(a,1028,0,0);return 1028}c=w[d|0]|w[d+1|0]<<8;g=(c<<8|c>>>8)&65535;c=w[d+2|0]|w[d+3|0]<<8;h=(c<<8|c>>>8)&65535;i=w[d+4|0];c=w[d+5|0]|w[d+6|0]<<8|(w[d+7|0]<<16|w[d+8|0]<<24);j=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=w[d+9|0]|w[d+10|0]<<8|(w[d+11|0]<<16|w[d+12|0]<<24);k=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);b:{if(w[a+114|0]){c=Qa[v[a+152>>2]](44)|0;if(!c){ob(a,1,0,0);c=1;break b}v[c+4>>2]=725;v[c>>2]=726;f=v[a+700>>2];c:{if(f){v[f+8>>2]=c;break c}v[a+696>>2]=c}v[c+8>>2]=0;v[c+12>>2]=f;v[a+700>>2]=c;v[c+16>>2]=v[a+436>>2];v[c+20>>2]=v[a+440>>2];v[c+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=c}v[c+40>>2]=k;v[c+36>>2]=j;t[c+32|0]=i;u[c+30>>1]=h;u[c+28>>1]=g}c=c4(a,g,h,i,j,k)}d:{if(c){break d}c=0;if(!w[a+112|0]){break d}c=Qa[v[b+4>>2]](a,b,e)|0;if(c){break d}a=v[e>>2];b=w[d|0]|w[d+1|0]<<8;u[a+32>>1]=b<<8|b>>>8;b=w[d+2|0]|w[d+3|0]<<8;u[a+34>>1]=b<<8|b>>>8;t[a+36|0]=w[d+4|0];b=w[d+5|0]|w[d+6|0]<<8|(w[d+7|0]<<16|w[d+8|0]<<24);v[a+40>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=a;a=w[d+9|0]|w[d+10|0]<<8|(w[d+11|0]<<16|w[d+12|0]<<24);v[b+44>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);c=0}return c|0}ob(a,1029,0,0);return 1029}function ZA(a,b,c){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,p=0,q=0;h=Ma-16|0;e=1;a:{b:{c:{switch(v[a>>2]){case 1:break a;case 0:break b;default:break c}}while(1){i=e;while(1){f=B(i,12)+b|0;d=f-12|0;if(v[f>>2]>2]){v[h+8>>2]=v[f+8>>2];g=v[f+4>>2];v[h>>2]=v[f>>2];v[h+4>>2]=g;v[f+8>>2]=v[d+8>>2];g=v[d+4>>2];v[f>>2]=v[d>>2];v[f+4>>2]=g;v[d+8>>2]=v[h+8>>2];f=v[h+4>>2];v[d>>2]=v[h>>2];v[d+4>>2]=f;i=i-1|0;if(i){continue}}break}e=e+1|0;j=v[a>>2];if(e>>>0>>0){continue}break}e=1;if(j>>>0<2){break b}l=j-1|0;m=v[b>>2];h=0;d=1;while(1){f=v[B(d,12)+b>>2]-m|0;d:{if(!((d|0)==(l|0)|(f|0)>(c|0))){f=d;break d}i=0;g=(d|0)==(l|0)&(c|0)>=(f|0);f=g+d|0;e=h;e:{if(h>>>0>=f>>>0){break e}e=(d+g|0)-h|0;k=e&3;d=h;if(e-1>>>0>=3){e=e&-4;while(1){g=B(d,12)+b|0;n=v[g>>2];v[g>>2]=0;o=v[g+12>>2];v[g+12>>2]=0;p=v[g+24>>2];v[g+24>>2]=0;q=v[g+36>>2];v[g+36>>2]=0;i=q+(((i+n|0)+o|0)+p|0)|0;d=d+4|0;e=e-4|0;if(e){continue}break}}e=f;if(!k){break e}while(1){e=B(d,12)+b|0;g=v[e>>2];v[e>>2]=0;d=d+1|0;i=g+i|0;k=k-1|0;if(k){continue}break}e=f}v[B(h,12)+b>>2]=(i|0)/(e|0);if(f>>>0>=l>>>0){break d}h=f+1|0;m=v[B(h,12)+b>>2]}d=f+1|0;if(j>>>0>d>>>0){continue}break}e=1;if(j>>>0<=1){break b}d=1;while(1){c=B(d,12)+b|0;if(v[c>>2]){h=v[c+4>>2];f=B(e,12)+b|0;v[f>>2]=v[c>>2];v[f+4>>2]=h;v[f+8>>2]=v[c+8>>2];j=v[a>>2];e=e+1|0}d=d+1|0;if(j>>>0>d>>>0){continue}break}}v[a>>2]=e}}function Ak(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;e=Ma-112|0;Ma=e;a:{if(w[a+208|0]|w[a+203|0]){break a}A[e+64>>3]=A[d>>3];A[e+72>>3]=-A[d+8>>3];A[e+80>>3]=A[d+16>>3];A[e+88>>3]=-A[d+24>>3];A[e+96>>3]=A[d+32>>3];A[e+104>>3]=c-A[d+40>>3];v[e+56>>2]=0;v[e+60>>2]=0;v[e+48>>2]=0;v[e+52>>2]=0;Es(a,e- -64|0,e+56|0,e+48|0,0);d=v[a+104>>2];v[e+40>>2]=4;Qa[v[v[d>>2]+288>>2]](d,e+40|0)|0;d=v[a+104>>2];Qa[v[v[d>>2]+324>>2]](d)|0;l=v[b+28>>2];if((l|0)<=0){break a}c=A[e+48>>3];g=A[e+56>>3];while(1){f=v[v[b+24>>2]+(i<<2)>>2];m=v[f+12>>2];d=v[a+104>>2];A[e+40>>3]=(A[v[f>>2]>>3]+g)/72*25.4;A[e+32>>3]=(A[v[f+4>>2]>>3]+c)/72*25.4;Qa[v[v[d>>2]+296>>2]](d,e+40|0,e+32|0)|0;d=1;if((m|0)>=2){while(1){h=v[a+104>>2];o=m;p=d;b:{if(v[v[f+8>>2]+(d<<2)>>2]){j=v[f>>2];d=d<<3;A[e+40>>3]=(g+A[j+d>>3])/72*25.4;k=v[f+4>>2];A[e+32>>3]=(c+A[d+k>>3])/72*25.4;n=d+8|0;A[e+24>>3]=(g+A[n+j>>3])/72*25.4;A[e+16>>3]=(c+A[k+n>>3])/72*25.4;d=d+16|0;A[e+8>>3]=(g+A[d+j>>3])/72*25.4;A[e>>3]=(c+A[d+k>>3])/72*25.4;Qa[v[v[h>>2]+308>>2]](h,e+40|0,e+32|0,e+24|0,e+16|0,e+8|0,e)|0;d=3;break b}d=d<<3;A[e+40>>3]=(g+A[d+v[f>>2]>>3])/72*25.4;A[e+32>>3]=(c+A[d+v[f+4>>2]>>3])/72*25.4;Qa[v[v[h>>2]+300>>2]](h,e+40|0,e+32|0)|0;d=1}d=p+d|0;if((o|0)>(d|0)){continue}break}}if(v[f+20>>2]){d=v[a+104>>2];Qa[v[v[d>>2]+320>>2]](d)|0}i=i+1|0;if((l|0)!=(i|0)){continue}break}}Ma=e+112|0}function N_(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;j=Ma-16|0;Ma=j;v[j+12>>2]=0;k=v[a+4>>2];q=v[k+8>>2];e=3;a:{if(d?0:c){break a}t[a|0]=0;if(y[k+3112>>2]<=b>>>0|(x[k+3120>>1]!=(c|0)?c:0)){break a}o=v[k+3116>>2]+(b<<3)|0;p=v[o>>2];g=p+1|0;f=yb(q,1,v[a+20>>2]<<2,g<<2,v[a+24>>2],j+12|0);v[a+24>>2]=f;e=v[j+12>>2];if(e){break a}v[a+20>>2]=g;b:{if(!g){break b}g=0;if(!c){while(1){c:{if(g){e=g<<2;if(y[(e+v[o+4>>2]|0)-4>>2]>=y[k+3124>>2]){e=3;break a}v[e+f>>2]=0;break c}v[f>>2]=65536}e=(g|0)==(p|0);g=g+1|0;if(!e){continue}break b}}while(1){d:{if(!g){v[f>>2]=65536;break d}n=g<<2;e=v[(n+v[o+4>>2]|0)-4>>2];if(e>>>0>=y[k+3124>>2]){e=3;break a}h=v[k+3128>>2];v[f+n>>2]=65536;r=h+(e<<2)|0;e=0;while(1){f=65536;i=v[r>>2]+B(e,12)|0;h=v[i+4>>2];l=v[i>>2];e:{if((h|0)<(l|0)){break e}m=v[i+8>>2];if(!h|((h|0)>(m|0)|!(!h|((m|0)<1|(l|0)>-1)))){break e}f=0;i=v[(e<<2)+d>>2];if((i|0)<(l|0)|(i|0)>(m|0)){break e}f=65536;if((h|0)==(i|0)){break e}if((h|0)>(i|0)){f=Ub(i-l|0,h-l|0);break e}f=Ub(m-i|0,m-h|0)}h=xb(v[v[a+24>>2]+n>>2],f);f=v[a+24>>2];v[n+f>>2]=h;e=e+1|0;if((e|0)!=(c|0)){continue}break}}e=(g|0)!=(p|0);g=g+1|0;if(e){continue}break}}v[a+8>>2]=b;if(c){b=c<<2;f=yb(q,1,v[a+12>>2]<<2,b,v[a+16>>2],j+12|0);v[a+16>>2]=f;e=v[j+12>>2];if(e){break a}cb(f,d,b)}t[a|0]=1;v[a+12>>2]=c;e=v[j+12>>2]}Ma=j+16|0;return e|0}function mV(a,b,c,d,e,f,g,h,i,j,k){var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;l=c;n=v[a+180>>2];r=v[a+188>>2];s=r+B(b,12)|0;p=v[s>>2];c=n+B(p,272)|0;A[l>>3]=A[c>>3];A[d>>3]=A[c+8>>3];m=v[a+324>>2];t=(m|0)<1;a:{if(t){break a}d=m&3;a=0;if(m-1>>>0>=3){q=m&-4;c=(B(p,272)+n|0)+16|0;while(1){l=a<<3;A[l+e>>3]=A[c+l>>3];o=l|8;A[o+e>>3]=A[c+o>>3];o=l|16;A[o+e>>3]=A[c+o>>3];l=l|24;A[l+e>>3]=A[c+l>>3];a=a+4|0;q=q-4|0;if(q){continue}break}}if(!d){break a}c=B(p,272)+n|0;while(1){l=a<<3;A[l+e>>3]=A[(c+l|0)+16>>3];a=a+1|0;d=d-1|0;if(d){continue}break}}l=v[s+4>>2];a=B(l,272)+n|0;A[f>>3]=A[a>>3];A[g>>3]=A[a+8>>3];b:{if(t){break b}c=m&3;a=0;if(m-1>>>0>=3){d=m&-4;e=(B(l,272)+n|0)+16|0;while(1){f=a<<3;A[f+h>>3]=A[e+f>>3];g=f|8;A[g+h>>3]=A[e+g>>3];g=f|16;A[g+h>>3]=A[e+g>>3];f=f|24;A[f+h>>3]=A[e+f>>3];a=a+4|0;d=d-4|0;if(d){continue}break}}if(!c){break b}d=B(l,272)+n|0;while(1){e=a<<3;A[e+h>>3]=A[(d+e|0)+16>>3];a=a+1|0;c=c-1|0;if(c){continue}break}}f=v[(B(b,12)+r|0)+8>>2];a=B(f,272)+n|0;A[i>>3]=A[a>>3];A[j>>3]=A[a+8>>3];c:{if((m|0)<1){break c}d=m&3;a=0;if(m-1>>>0>=3){c=m&-4;b=(B(f,272)+n|0)+16|0;while(1){e=a<<3;A[e+k>>3]=A[b+e>>3];g=e|8;A[g+k>>3]=A[b+g>>3];g=e|16;A[g+k>>3]=A[b+g>>3];e=e|24;A[e+k>>3]=A[b+e>>3];a=a+4|0;c=c-4|0;if(c){continue}break}}if(!d){break c}b=B(f,272)+n|0;while(1){c=a<<3;A[c+k>>3]=A[(b+c|0)+16>>3];a=a+1|0;d=d-1|0;if(d){continue}break}}}function W3(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;a:{b:{c:{if(w[a+285|0]|w[a+286|0]|(w[a+287|0]|w[a+288|0])){break c}if(w[a+289|0]){break c}break b}if(w[a+300|0]|w[a+293|0]|(w[a+292|0]|w[a+291|0])){break b}d:{e:{f:{g:{h:{i:{j:{k:{l:{if(!w[a+286|0]){f=w[a+287|0];if(f){break k}if(!(w[a+289|0]?1:w[a+288|0])){break l}if((c|0)!=1){break a}if(f){break j}break i}if((c|0)==1){break j}break a}if(c>>>0<2){break i}break a}if((c|0)!=1){break a}}t[a+297|0]=1;break h}m:{if(!(w[a+288|0]|w[a+289|0])){t[a+310|0]=(c|0)!=0;break m}t[a+297|0]=1}if(w[a+288|0]|w[a+289|0]){break h}if(c){break g}f=w[a+2228|0];break f}n:{if(!w[a+288|0]){f=v[a+512>>2];if(f){break n}}f=v[a+528>>2]}h=w[d|0];f=v[f+88>>2];t[f+59|0]=1;t[f+1140|0]=h;break e}f=w[d|0];t[a+2228|0]=f}g=0;o:{if(!w[a+114|0]){break o}i=!c;g=f&255;f=Qa[v[a+152>>2]](32)|0;if(!f){ob(a,1,0,0);g=1;break o}v[f+4>>2]=705;v[f>>2]=706;h=v[a+700>>2];p:{if(h){v[h+8>>2]=f;break p}v[a+696>>2]=f}v[f+8>>2]=0;v[f+12>>2]=h;v[a+700>>2]=f;v[f+16>>2]=v[a+436>>2];v[f+20>>2]=v[a+440>>2];v[f+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=f}t[f+29|0]=g;t[f+28|0]=i;g=0}f=g;if(f){break d}}q:{if(!w[a+112|0]){break q}f=Qa[v[b+4>>2]](a,b,e)|0;if(f){break d}a=v[e>>2];b=!c;t[a+32|0]=b;if(b){break q}t[a+33|0]=w[d|0]}f=0}return f|0}ob(a,1029,0,0);return 1029}ob(a,1028,0,0);return 1028}function iX(a){var b=0,c=0,d=0,e=0,f=0;f=Ma-16|0;Ma=f;a:{if(v[a+292>>2]){break a}c=v[a+36>>2];if((v[c+20>>2]-v[c+16>>2]|0)>249){break a}oc(a)}c=0;b:{if(v[a+172>>2]==-1|w[v[v[a+36>>2]+16>>2]]!=38){break b}Bc(a);e=kh(a);if(!e){Pc(a,68,343278);break b}if(w[v[v[a+36>>2]+16>>2]]!=59){if(v[a+172>>2]==-1?v[a+212>>2]:0){break b}v[a+84>>2]=23;v[f>>2]=336466;nb(0,0,0,a,0,1,23,3,0,0,0,0,340716,f);v[a+12>>2]=0;if(v[a+288>>2]){break b}v[a+212>>2]=1;break b}Bc(a);if(!(w[a+362|0]&16)){c=vi(e);if(c){break b}}v[a+440>>2]=v[a+440>>2]+1;c=0;d=v[a>>2];c:{if(!d){break c}b=v[d+20>>2];if(b){b=Qa[b|0](v[a+4>>2],e)|0}else{b=0}d=v[a+12>>2];d:{if(b|(d|0)!=1){break d}if(!(w[a+362|0]&16)){b=0;d=1;break d}b=vi(e);d=v[a+12>>2]}if(b|(d|0)!=1){break c}b=0;if(v[a+4>>2]!=(a|0)){break c}b=iA(a,e)}d=v[a+172>>2];if((d|0)==-1){break b}if(!b){e:{if(!(v[a+88>>2]|v[a+92>>2]?v[a+28>>2]!=1:0)){He(a,26,344721,e);break e}Ks(a,27,344721,e);if(v[a+216>>2]){break e}b=v[a>>2];if(!b){break e}b=v[b+64>>2];if(!b){break e}Qa[b|0](v[a+4>>2],e)}Dj(a,0,0,0);v[a+100>>2]=0;break b}c=v[b+48>>2];f:{if((c|0)==3){He(a,28,340073,e);break f}d=(d|0)!=12;if(!(d|(c|0)!=2)){He(a,29,346445,e);break f}if(!d){if((c|0)==6){break f}c=v[b+72>>2];if(c&1?0:c){break f}c=v[b+40>>2];if(!c){break f}if(!Ko(c,60)){break f}He(a,38,339607,e);break f}if((c&-2)!=4){break f}He(a,30,346397,e)}c=b}Ma=f+16|0;return c}function Es(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;g=Ma-16|0;Ma=g;a:{b:{f=A[b>>3];if(f!=1|A[b+8>>3]!=0|(A[b+16>>3]!=0|A[b+24>>3]!=1)){break b}if(e){break b}f=A[b+32>>3];if(!(f!=0|A[b+40>>3]!=0)){b=v[a+104>>2];Qa[v[v[b>>2]+380>>2]](b)|0;v[a+120>>2]=0;v[a+124>>2]=0;v[a+112>>2]=0;v[a+116>>2]=1072693248;v[a+128>>2]=0;v[a+132>>2]=0;v[a+144>>2]=0;v[a+148>>2]=0;v[a+136>>2]=0;v[a+140>>2]=1072693248;v[a+152>>2]=0;v[a+156>>2]=0;break a}A[c>>3]=f;A[d>>3]=A[b+40>>3];b=v[a+104>>2];Qa[v[v[b>>2]+380>>2]](b)|0;v[a+120>>2]=0;v[a+124>>2]=0;v[a+112>>2]=0;v[a+116>>2]=1072693248;v[a+128>>2]=0;v[a+132>>2]=0;v[a+144>>2]=0;v[a+148>>2]=0;v[a+136>>2]=0;v[a+140>>2]=1072693248;v[a+152>>2]=0;v[a+156>>2]=0;break a}c:{if(f!=A[a+112>>3]){break c}j=A[a+120>>3];k=A[b+8>>3];if(j!=k){break c}l=A[b+16>>3];if(l!=A[a+128>>3]){break c}m=A[a+136>>3];n=A[b+24>>3];if(m!=n){break c}h=A[b+32>>3];o=A[a+144>>3];if(h!=o){break c}i=A[b+40>>3];p=A[a+152>>3];if(e|i!=p){break c}f=1/(f*n-k*l);A[c>>3]=f*(m*(h-o)-j*(i-p));A[d>>3]=f*((i-A[a+152>>3])*A[a+112>>3]-(h-A[a+144>>3])*A[a+128>>3]);break a}c=v[a+104>>2];A[g+8>>3]=A[b+32>>3]/72*25.4;A[g>>3]=A[b+40>>3]/72*25.4;Qa[v[v[c>>2]+372>>2]](c,b,b+8|0,b+16|0,b+24|0,g+8|0,g)|0;A[a+112>>3]=A[b>>3];A[a+120>>3]=A[b+8>>3];A[a+128>>3]=A[b+16>>3];A[a+136>>3]=A[b+24>>3];A[a+144>>3]=A[b+32>>3];A[a+152>>3]=A[b+40>>3]}Ma=g+16|0}function aXa(a){a=a|0;var 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;if(v[a+588>>2]>=1){e=v[v[a+536>>2]+88>>2];e=(v[e+1176>>2]+B(v[e+1168>>2],v[a+572>>2])|0)+B(v[e+1164>>2],v[a+580>>2])|0;g=v[a+644>>2];while(1){d=w[g+6|0]|w[g+7|0]<<8;c=(d<<8|d>>>8)&65535;i=e+6|0;b=w[i|0]|w[i+1|0]<<8;b=(b<<8|b>>>8)&65535;a:{if(!c|(b|0)==65535){break a}d=w[e|0]|w[e+1|0]<<8;f=(d<<8|d>>>8)&65535;d=e+2|0;h=w[d|0]|w[d+1|0]<<8;o=(h<<8|h>>>8)&65535;h=e+4|0;j=w[h|0]|w[h+1|0]<<8;j=(j<<8|j>>>8)&65535;k=w[g|0]|w[g+1|0]<<8;k=(k<<8|k>>>8)&65535;l=w[g+2|0]|w[g+3|0]<<8;l=(l<<8|l>>>8)&65535;m=w[g+4|0]|w[g+5|0]<<8;m=(m<<8|m>>>8)&65535;if((c|0)==65535){i=b^65535;c=(B(b,f)+B(i,k)|0)+32768|0;c=(c>>>16|0)+c>>>16|0;c=c<<8|c>>>8;t[e|0]=c;t[e+1|0]=c>>>8;c=(B(b,o)+B(i,l)|0)+32768|0;c=(c>>>16|0)+c>>>16|0;c=c<<8|c>>>8;t[d|0]=c;t[d+1|0]=c>>>8;b=(B(b,j)+B(i,m)|0)+32768|0;b=(b>>>16|0)+b>>>16|0;b=b<<8|b>>>8;t[h|0]=b;t[h+1|0]=b>>>8;u[e+6>>1]=65535;break a}n=b<<16;p=b^65535;b=(B(p,c^65535)^-1)>>>16|0;n=(n>>>0)/(b>>>0)|0;c=(B(c,p)>>>0)/(b>>>0)|0;f=(B(f,n)+B(c,k)|0)+32767>>>16|0;f=f<<8|f>>>8;t[e|0]=f;t[e+1|0]=f>>>8;f=(B(o,n)+B(c,l)|0)+32767>>>16|0;f=f<<8|f>>>8;t[d|0]=f;t[d+1|0]=f>>>8;d=(B(j,n)+B(c,m)|0)+32767>>>16|0;d=d<<8|d>>>8;t[h|0]=d;t[h+1|0]=d>>>8;b=b<<8|b>>>8;t[i|0]=b;t[i+1|0]=b>>>8}g=g+8|0;e=e+8|0;q=q+1|0;if((q|0)>2]){continue}break}}return 0}function Wz(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{if(!a|(c|0)<1){break b}d=v[a+4>>2];if(d>>>0>12){break b}d=1<>2];f=Ma-16|0;Ma=f;d=Qa[v[256552]](60)|0;c:{if(!d){v[f>>2]=225270;nb(0,0,0,0,0,2,2,3,225270,0,0,0,340689,f);d=0;break c}v[d>>2]=0;v[d+4>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d+56>>2]=0;v[d+48>>2]=0;v[d+52>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=0;v[d+36>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+4>>2]=3;v[d+8>>2]=874220;if(b){d:{if((c|0)<0){break d}g=Qa[v[256555]](c+1|0)|0;if(!g){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break d}h=cb(g,b,c);t[h+c|0]=0}v[d+40>>2]=h}if(!v[291069]){break c}b=v[291066];if(!b){break c}Qa[b|0](d)}Ma=f+16|0;if(!d){break b}b=a;a=d;if(!e|(Df(b,d)|0)!=(d|0)|(d|0)!=v[e+24>>2]){break b}d=0;if(e){if(!(!a|v[e+4>>2]!=3|(v[a+4>>2]!=3|v[a+8>>2]!=v[e+8>>2]))){b=v[a+40>>2];if(b){if(w[b|0]){c=b;while(1){d=d+1|0;f=w[c+1|0];c=c+1|0;if(f){continue}break}}Wz(e,b,d)}hj(a);Ck(a)}}return}if(!b){break b}e=v[a+40>>2];if((e|0)==(a+44|0)){break a}d=v[a+32>>2];e:{if(!d){break e}f=v[d+80>>2];if(!f){break e}if(!e){break a}while(1){d=v[f+16>>2];if(d){while(1){if(e>>>0<=y[d+4>>2]&e>>>0>=d+20>>>0){break a}d=v[d>>2];if(d){continue}break}}f=v[f+20>>2];if(f){continue}break}}i=a,j=KH(e,b,c),v[i+40>>2]=j}return}b=JH(e,b,c);v[a+44>>2]=0;v[a+48>>2]=0;v[a+40>>2]=b}function B_(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;v[d>>2]=0;v[d+4>>2]=0;h=b?b-1|0:0;b=v[a+408>>2];a:{if(h>>>0>b>>>0){break a}c=c?c-1|0:0;if(c>>>0>b>>>0){break a}b=v[a+424>>2];if(!b){break a}f=c<<4;c=v[a+416>>2];c=x[f+c>>1]|v[c+(h<<4)>>2]<<16;i=v[a+104>>2];while(1){if(!(c>>>0<=y[b+20>>2]&c>>>0>=y[b+16>>2])){b=v[b>>2];if(b){continue}break a}break}e=Mb(i,v[b+12>>2]);if(e){break a}e=Ed(i,B(v[b+8>>2],w[b+4|0]));if(e){break a}a=w[b+5|0];j=a&1;k=a>>>1&1;h=v[b+8>>2];e=v[i+32>>2];a=w[b+4|0];f=-2147483648>>>E(a)|0;a=a-f|0;b:{c:{d:{if(!a){break d}a=B(a,h)+e|0;e:{if(j){g=w[a+1|0]<<16|w[a|0]<<24|w[a+2|0]<<8;l=a+3|0;a=a+4|0;break e}l=a+1|0;g=w[a|0]<<16;a=a+2|0}g=w[l|0]|g;if((g|0)==(c|0)){break c}if(c>>>0<=g>>>0){break d}e=(k?2:1)+a|0}a=B(f,h);f:{if(h>>>0>=a>>>0){break f}if(!j){while(1){a=a>>>1|0;f=e+a|0;g=w[f|0]<<16|w[f+1|0];if((g|0)==(c|0)){a=f+2|0;break c}e=c>>>0>g>>>0?f:e;if(a>>>0>h>>>0){continue}break f}}while(1){a=a>>>1|0;f=e+a|0;g=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);if((g|0)==(c|0)){a=f+4|0;break c}e=c>>>0>g>>>0?f:e;if(a>>>0>h>>>0){continue}break}}g:{if(j){h=3;f=w[e+1|0]<<16|w[e|0]<<24|w[e+2|0]<<8;a=e+4|0;break g}h=1;f=w[e|0]<<16;a=e+2|0}if((c|0)!=(f|w[e+h|0])){break b}}c=w[a|0];if(k){c=(w[a+1|0]|c<<8)<<16>>16}v[d>>2]=u[b+6>>1]+c}dd(i);e=0}return e|0}function xAa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=v[a+4>>2];c=v[i+48>>2];d=v[a+8>>2];g=v[a+12>>2];a:{if(d>>>0>=g>>>0){break a}e=v[a+24>>2];while(1){f=v[b>>2];b:{c:{d:{e:{f:{g:{h:{i:{j:{while(1){if((f|0)>0){break b}k:{while(1){if(c){if(c>>>0>9){break c}if(1<>2]=d;if(e){break i}rI(a,b);break h}h=w[d|0];if(!h){c=1;d=d+1|0;break c}c=8;if((h|0)!=255){continue}break}c=5;d=d+1|0;break c}if(w[d|0]==w[c+842172|0]){break e}h=d;d=v[a+8>>2];h=h-d|0;k=c&3;if((h|0)!=(k|0)){f=w[a+2|0];t[a+2|0]=0;c=(c&4)+842172|0;v[a+8>>2]=c;v[a+12>>2]=c+(k-h|0);ew(a,b);t[a+2|0]=f;v[a+12>>2]=g;f=v[b>>2]}c=8;if(d>>>0>>0){continue}break}break b}v[a+8>>2]=d;if(!e){break g}XY(a,b);break f}WY(a,b)}d=v[a+8>>2];break d}ew(a,b)}d=v[a+8>>2];c=8;break c}f=c-3|0;d=d+1|0;c=c+1|0;l:{switch(f|0){case 0:j=d-v[a+8>>2]|0;c=8;break c;case 4:break l;default:break c}}j=d-v[a+8>>2]|0}c=9}if(d>>>0>>0){continue}}break}if(!e|!j){break a}f=v[a+24>>2];if(f>>>0<=e>>>0){break a}while(1){v[e>>2]=v[e>>2]+j;e=e+4|0;if(f>>>0>e>>>0){continue}break}}v[a+8>>2]=d;m:{if(!w[a+2|0]|(d|0)!=(g|0)){break m}n:{o:{switch(c|0){case 8:ew(a,b);break n;case 9:rI(a,b);v[i+48>>2]=9;return;case 0:break m;default:break o}}d=(c&4)+842172|0;v[a+8>>2]=d;v[a+12>>2]=d+(c&3);ew(a,b);v[a+12>>2]=g;v[a+8>>2]=g}c=8}v[i+48>>2]=c}function rl(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0;l=d*.5;m=v[a>>2];a:{if((m|0)<=(b|0)){i=b;break a}i=b;if(!(e>=0)){break a}if(c){while(1){b:{j=w[v[a+4>>2]+i|0];switch(j-10|0){case 0:case 3:break a;default:break b}}if(Qa[v[v[c>>2]+8>>2]](c)|0){n=l}else{n=A[((j<<3)+c|0)+1464>>3]*d}k=k+n;i=i+1|0;if((i|0)>=v[a>>2]){break a}if(e>=k){continue}break}break a}j=v[a+4>>2];while(1){c:{switch(w[i+j|0]-10|0){case 0:case 3:break a;default:break c}}k=k+l;i=i+1|0;if((m|0)<=(i|0)){break a}if(e>=k){continue}break}}o=f;if(e(i|0)?i:b;f=i;while(1){d:{j=f;if((j|0)<=(b|0)){j=m;break d}f=j-1|0;if(w[f+v[a+4>>2]|0]!=32){continue}}break}while(1){e:{f=j;if((j|0)<=(b|0)){f=i;break e}j=f-1|0;if(w[j+v[a+4>>2]|0]==32){continue}}break}i=(b|0)==(f|0)?b+1|0:f}v[o>>2]=i;k=0;f:{if((b|0)>=(i|0)){break f}if(c){while(1){if(Qa[v[v[c>>2]+8>>2]](c)|0){e=l}else{e=A[((w[v[a+4>>2]+b|0]<<3)+c|0)+1464>>3]*d}k=k+e;b=b+1|0;if((i|0)!=(b|0)){continue}break}break f}c=(b^-1)+i|0;j=i-b&7;if(j){while(1){b=b+1|0;k=k+l;j=j-1|0;if(j){continue}break}}if(c>>>0<7){break f}while(1){k=k+l+l+l+l+l+l+l+l;b=b+8|0;if((i|0)!=(b|0)){continue}break}}A[g>>3]=k;b=h;g=v[a>>2];if((g|0)>(i|0)){f=v[a+4>>2];g:{while(1){c=w[f+i|0];if((c|0)!=32){break g}i=i+1|0;if((g|0)!=(i|0)){continue}break}v[h>>2]=g;return}i=((c|0)==13)+i|0}if((g|0)>(i|0)){i=(w[v[a+4>>2]+i|0]==10)+i|0}v[b>>2]=i}function uZ(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;a:{if(!d|(!a|!c)){break a}h=v[d>>2];if((b|0)<=536870911){e=b;g=y3a(e<<2,e>>31<<2|e>>>30,3,0)+((e|0)%3|0)|0;e=(g|0)/76|0;f=g-B(e,76)|0;b:{if(!f){break b}f=(f<<24>>24)%4|0;if(!f){break b}g=(4-f&255)+g|0}e=((e<<1)+2|0)+g|0}else{e=-1}if((e|0)>(h|0)){break a}n=(b|0)/57|0;k=(b|0)/3|0;g=((k<<2)%76<<24>>24)/4|0;h=0;f=0;c:{if((b|0)<-56){break c}o=g<<24>>24;i=19;g=0;while(1){f=0;l=(h|0)==(n|0);i=l?o:i;if((i|0)>=1){while(1){j=w[a+1|0];e=w[a|0];m=w[a+2|0];t[c+3|0]=w[(m&63)+520784|0];t[c|0]=w[(e>>>2|0)+520784|0];j=j<<8;t[c+2|0]=w[((j|m)>>>6&63)+520784|0];t[c+1|0]=w[((j|e<<16)>>>12&63)+520784|0];a=a+3|0;c=c+4|0;f=f+1|0;if((i|0)!=(f|0)){continue}break}}t[c|0]=13;t[c+1|0]=10;g=((i<<2)+g|0)+2|0;c=c+2|0;h=h+1|0;if(!l){continue}break}e=g;f=e;if(!e){break c}c=c-2|0;f=g-2|0}h=f;i=1;e=b-B(k,3)|0;if(!(!e|e>>>0>e+1>>>0)){d:{e:{if((e|0)>=1){b=w[a|0]<<8;if((e|0)!=1){b=b|w[a+1|0]}a=b<<16;break e}a=0;if((e|0)<0){break d}}b=e+1|0;g=b&3;if(e>>>0>=3){f=b&-4;while(1){t[c|0]=w[(a>>>26|0)+520784|0];t[c+3|0]=w[(a>>>8&63)+520784|0];t[c+2|0]=w[(a>>>14&63)+520784|0];t[c+1|0]=w[(a>>>20&63)+520784|0];c=c+4|0;a=0;f=f-4|0;if(f){continue}break}}if(!g){break d}while(1){t[c|0]=w[(a>>>26|0)+520784|0];a=a<<6;c=c+1|0;g=g-1|0;if(g){continue}break}}a=3-e|0;eb(c,61,(a|0)>1?a:1);h=h+4|0}v[d>>2]=h}return i}function Xma(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,h=0,i=0,j=0,k=0,l=0,m=0,n=0;g=Ma-96|0;Ma=g;j=v[v[a+12>>2]>>2];k=Qa[v[v[j>>2]+48>>2]](j)|0;j=Fm();h=v[v[a+12>>2]>>2];m=j,n=Qa[v[v[h>>2]+24>>2]](h)|0,l=v[v[j>>2]+24>>2],Qa[l](m|0,n|0);Qa[v[v[k>>2]+68>>2]](k,j);h=wt();Qa[v[v[h>>2]+428>>2]](h,k);Qa[v[v[a>>2]+36>>2]](a,b,g+72|0,g- -64|0,g+88|0,g+80|0);j=g;if((e|0)>=1){i=+(e|0)}else{i=A[g+72>>3];a:{if(D(i)<2147483648){e=~~i;break a}e=-2147483648}i=+(B(e,96)|0)/A[g+88>>3]}b:{if(D(i)<2147483648){e=~~i;break b}e=-2147483648}v[j+60>>2]=e;j=g;if((f|0)>=1){i=+(f|0)}else{i=A[g+64>>3];c:{if(D(i)<2147483648){f=~~i;break c}f=-2147483648}i=+(B(f,96)|0)/A[g+88>>3]}d:{if(D(i)<2147483648){f=~~i;break d}f=-2147483648}v[j+56>>2]=f;e=B(e,f)<<2;f=eb(ab(e),255,e);e=g+8|0;v[e>>2]=0;v[e+4>>2]=0;t[e+40|0]=0;v[e+32>>2]=0;v[e+36>>2]=-1074790400;t[e+21|0]=0;t[e+22|0]=0;t[e+23|0]=0;t[e+24|0]=0;t[e+25|0]=0;t[e+26|0]=0;t[e+27|0]=0;t[e+28|0]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;v[e+16>>2]=f;v[e+4>>2]=v[g+60>>2];v[e+8>>2]=v[g+56>>2];v[g+4>>2]=0-(v[g+60>>2]<<2);f=g+4|0;v[e+12>>2]=v[f>>2];Qa[v[v[h>>2]+456>>2]](h,e);Qa[v[v[h>>2]+448>>2]](h,0);Qa[v[v[h>>2]+36>>2]](h,g+72|0)|0;Qa[v[v[h>>2]+28>>2]](h,g- -64|0)|0;t[g+4|0]=0;Qa[v[v[a>>2]+40>>2]](a,h,b,f);JC(e,c,d);Qa[v[v[k>>2]+12>>2]](k)|0;Qa[v[v[h>>2]+4>>2]](h);un(e);Ma=g+96|0}function qT(a,b,c){var d=0,e=0,f=0,g=0,h=0;g=Ma-16|0;Ma=g;e=ab(352);a:{b:{d=v[b>>2];if(!d){break b}v[d+4>>2]=v[d+4>>2]+1;b=v[b>>2];if(!b){break b}v[b+4>>2]=v[b+4>>2]+1;h=0;break a}b=0;h=1}v[g+8>>2]=b;v[e+8>>2]=1;v[e+4>>2]=0;v[e+12>>2]=0;v[e+16>>2]=0;v[e>>2]=969676;v[e+20>>2]=0;v[e+24>>2]=0;f=v[g+8>>2];v[e+28>>2]=f;d=e;if(f){v[f+4>>2]=v[f+4>>2]+1;f=v[g+8>>2]}else{f=0}v[d+32>>2]=f;pc(e+40|0,e+36|0,0,1);eb(e+48|0,0,304);f=v[g+8>>2];v[g+8>>2]=0;c:{if(!f){break c}d=v[f+4>>2]-1|0;v[f+4>>2]=d;if(d){break c}d=v[f+4>>2];if(!d){v[f+4>>2]=-32767}if(!d){Qa[v[v[f>>2]+4>>2]](f)}}v[e>>2]=970088;d:{if(h){break d}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break d}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}v[a>>2]=0;qb(a,e);b=Ma-48|0;Ma=b;a=b;d=v[e+32>>2];if(d){v[d+4>>2]=v[d+4>>2]+1;h=v[e+32>>2]}else{h=0}v[a+40>>2]=h;a=b+16|0;Mr(a,b+40|0,1);jb(e+48|0,a);d=v[b+16>>2];v[b+16>>2]=0;e:{if(!d){break e}a=v[d+4>>2]-1|0;v[d+4>>2]=a;if(a){break e}a=v[d+4>>2];if(!a){v[d+4>>2]=-32767}if(!a){Qa[v[v[d>>2]+4>>2]](d)}}d=v[b+40>>2];v[b+40>>2]=0;f:{if(!d){break f}a=v[d+4>>2]-1|0;v[d+4>>2]=a;if(a){break f}a=v[d+4>>2];if(!a){v[d+4>>2]=-32767}if(!a){Qa[v[v[d>>2]+4>>2]](d)}}a=(c|0)>10?c:10;if((a|0)>=4097){Rc(b+8|0,348531,Qe(b,4096));a=v[b+8>>2];lb(mb(b+16|0,v[(a?a+12|0:1117e3)>>2],241544,931,327411));L()}v[e+20>>2]=a<<10;Ma=b+48|0;Ma=g+16|0}function pH(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=Ma-144|0;Ma=c;e=v[b>>2];f=tl(a,e,c+28|0);a:{if(!jX(v[a+360>>2],f)){break a}g=1;b:{if(v[c+28>>2]==1){t[c+32|0]=f;d=1;break b}d=ui(c+32|0,f);g=v[c+28>>2]}g=e+g|0;e=tl(a,g,c+28|0);c:{while(1){if(!rq(v[a+360>>2],e)){break c}f=a;d:{if(v[c+28>>2]==1){t[(c+32|0)+d|0]=e;d=d+1|0;e=1;break d}d=ui((c+32|0)+d|0,e)+d|0;e=v[c+28>>2]}g=e+g|0;e=tl(f,g,c+28|0);if((d|0)<100){continue}break}i=d<<1;f=Qa[v[256555]](i)|0;if(!f){Yc(a,0);break a}h=cb(f,c+32|0,d);if(rq(v[a+360>>2],e)){while(1){e:{if((d+10|0)<=(i|0)){h=f;break e}if(!(w[a+362|0]&8|(d|0)<50001)){f:{if(v[a+172>>2]==-1?v[a+212>>2]:0){break f}v[a+84>>2]=110;v[c+20>>2]=280103;v[c+16>>2]=246135;nb(0,0,0,a,0,1,110,3,280103,0,0,0,340574,c+16|0);v[a+12>>2]=0;if(v[a+288>>2]){break f}v[a+212>>2]=1}h=0;Qa[v[256556]](f);break a}i=i<<1;h=Qa[v[256557]](f,i)|0;if(h){break e}h=0;Yc(a,0);Qa[v[256556]](f);break a}g:{if(v[c+28>>2]==1){t[d+h|0]=e;d=d+1|0;break g}d=ui(d+h|0,e)+d|0}g=v[c+28>>2]+g|0;e=tl(a,g,c+28|0);f=h;if(rq(v[a+360>>2],e)){continue}break}}t[d+h|0]=0;v[b>>2]=g;break a}if(!(w[a+362|0]&8|(d|0)<50001)){if(v[a+172>>2]==-1?v[a+212>>2]:0){break a}v[a+84>>2]=110;v[c+4>>2]=280103;v[c>>2]=246135;nb(0,0,0,a,0,1,110,3,280103,0,0,0,340574,c);v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1;break a}v[b>>2]=g;h=Ek(c+32|0,d)}Ma=c+144|0;return h}function hOa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=ab(336);b=v[a+4>>2];v[d>>2]=360120;v[d+4>>2]=b;b=d;v[b+8>>2]=0;v[b+12>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+40>>2]=0;v[b+44>>2]=0;v[b+32>>2]=0;v[b+36>>2]=1065353216;v[b+48>>2]=0;v[b+52>>2]=0;v[b+92>>2]=1;v[b+84>>2]=0;v[b+88>>2]=1;v[b+76>>2]=0;v[b+80>>2]=0;v[b+68>>2]=1056964608;v[b+72>>2]=1065353216;u[b- -64>>1]=0;v[b+56>>2]=1065353216;v[b+60>>2]=1065353216;v[b+96>>2]=0;v[b+100>>2]=0;v[b+104>>2]=0;v[b+108>>2]=0;v[b+112>>2]=0;v[b+116>>2]=0;v[b+144>>2]=0;v[b+148>>2]=0;v[b+136>>2]=0;v[b+140>>2]=0;v[b+128>>2]=0;v[b+132>>2]=0;c=ab(24);v[b+140>>2]=c;e=c+24|0;v[b+148>>2]=e;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=0;v[c+4>>2]=0;v[b+144>>2]=e;eb(b+156|0,0,88);v[b+252>>2]=0;v[b+256>>2]=0;v[b+244>>2]=-16777216;v[b+248>>2]=-16777216;v[b+260>>2]=0;v[b+264>>2]=0;c=b+268|0;v[c>>2]=0;v[c+4>>2]=0;v[b+276>>2]=0;e=_h(b+280|0);v[b+312>>2]=0;v[b+316>>2]=0;v[b+304>>2]=0;v[b+308>>2]=0;v[b+296>>2]=0;v[b+300>>2]=0;v[b+288>>2]=0;v[b+292>>2]=0;v[b+244>>2]=v[a+244>>2];v[b+248>>2]=v[a+248>>2];f=v[a+256>>2];v[b+252>>2]=v[a+252>>2];v[b+256>>2]=f;f=v[a+264>>2];v[b+260>>2]=v[a+260>>2];v[b+264>>2]=f;if((a|0)!=(b|0)){Gw(c,v[a+268>>2],v[a+272>>2])}Dl(e,a+280|0);z[d+284>>2]=z[a+284>>2];v[d+320>>2]=v[a+320>>2];v[d+324>>2]=v[a+324>>2];v[d+328>>2]=v[a+328>>2];v[d+332>>2]=v[a+332>>2];return d|0}function Jz(a){var b=0,c=0,d=0,e=0;d=Ma-32|0;Ma=d;a:{if(w[v[v[a+36>>2]+16>>2]]!=37){break a}Bc(a);e=kh(a);if(!e){Pc(a,68,343342);break a}if(w[v[v[a+36>>2]+16>>2]]!=59){if(v[a+172>>2]==-1?v[a+212>>2]:0){break a}v[a+84>>2]=23;v[d+16>>2]=336466;nb(0,0,0,a,0,1,23,3,0,0,0,0,340716,d+16|0);v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1;break a}Bc(a);v[a+440>>2]=v[a+440>>2]+1;c=v[a>>2];b:{if(!c){break b}c=v[c+96>>2];if(!c){break b}b=Qa[c|0](v[a+4>>2],e)|0}if(v[a+172>>2]==-1){break a}c:{if(!b){d:{if(!(v[a+88>>2]|v[a+92>>2]?v[a+28>>2]!=1:0)){He(a,26,343716,e);break d}rm(a,27,343716,e);v[a+100>>2]=0}if(w[a+362|0]&8){break c}b=v[a+388>>2];if((b|0)==89|(b&-2)!=26|(y[a+440>>2]<10001|(v[a+172>>2]==-1?v[a+212>>2]:0))){break c}v[a+84>>2]=89;v[d>>2]=242322;nb(0,0,0,a,0,1,89,3,0,0,0,0,340716,d);v[a+12>>2]=0;if(v[a+288>>2]){break c}v[a+212>>2]=1;break c}c=v[b+48>>2];if((c&-2)!=4){rm(a,27,337615,e);break c}if(v[v[a+36>>2]+40>>2]!=2727){if((Ls(a,pX(a,b))|0)>=0){break c}break a}if(!(v[a+16>>2]|(w[a+360|0]&30|(c|0)!=5))){if(!v[a+104>>2]){break a}}if((Ls(a,BH(a,b))|0)<0){break a}if(v[b+48>>2]!=5){break c}b=v[v[a+36>>2]+16>>2];if(w[b|0]!=60|w[b+1|0]!=63|(w[b+2|0]!=120|w[b+3|0]!=109)){break c}if(w[b+4|0]!=108){break c}b=w[b+5|0]-9|0;if(b>>>0>23|!(1<>2]!=32){break c}sl(a);break a}v[a+92>>2]=1}Ma=d+32|0}function zxa(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;a:{if(y[f>>2]>=g>>>0){break a}i=v[a+396>>2];o=i+8|0;p=B(v[a+272>>2],3);while(1){b:{c:{d:{h=v[c>>2];if(h>>>0>>0){j=v[i+52>>2];l=v[i+60>>2]-j|0;k=d-h|0;l=k>>>0>l>>>0?l:k;Qa[v[v[a+408>>2]+4>>2]](a,(h<<2)+b|0,o,j,l);e:{if(v[i+48>>2]!=v[a+32>>2]){break e}k=v[a+76>>2];if((k|0)<1){break e}m=0;h=v[a+272>>2];if((h|0)<1){break e}while(1){j=1;if((h|0)>=1){k=(m<<2)+i|0;while(1){h=v[k+8>>2];Em(h,0,h,0-j|0,1,v[a+28>>2]);h=v[a+272>>2];n=(h|0)>(j|0);j=j+1|0;if(n){continue}break}k=v[a+76>>2]}m=m+1|0;if((m|0)<(k|0)){continue}break}}v[c>>2]=l+v[c>>2];j=l+v[i+52>>2]|0;v[i+52>>2]=j;v[i+48>>2]=v[i+48>>2]-l;h=v[i+60>>2];break d}if(v[i+48>>2]){break a}j=v[i+52>>2];h=v[i+60>>2];if((j|0)>=(h|0)){break d}m=0;l=i;k=v[a+76>>2];if((k|0)>=1){while(1){if((h|0)>(j|0)){n=j-1|0;k=v[((m<<2)+i|0)+8>>2];q=v[a+28>>2];while(1){Em(k,n,k,j,1,q);j=j+1|0;if((h|0)!=(j|0)){continue}break}k=v[a+76>>2]}m=m+1|0;if((m|0)<(k|0)){h=v[i+60>>2];j=v[i+52>>2];continue}break}h=v[i+60>>2]}v[l+52>>2]=h;break c}if((h|0)!=(j|0)){break b}}Qa[v[v[a+412>>2]+4>>2]](a,o,v[i+56>>2],e,v[f>>2]);v[f>>2]=v[f>>2]+1;j=v[a+272>>2];h=j+v[i+56>>2]|0;v[i+56>>2]=(h|0)<(p|0)?h:0;l=i;h=v[i+52>>2];if((h|0)>=(p|0)){v[i+52>>2]=0;h=0}v[l+60>>2]=h+j}if(y[f>>2]>>0){continue}break}}}function lNa(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,h=0,i=0,j=0,k=0,l=0,m=0;h=Ma-32|0;Ma=h;j=v[a+164>>2];a:{if(!j){f=0;break a}g=v[a+168>>2];if(!g){g=Qa[v[v[j>>2]+16>>2]](j)|0}k=A2(h+24|0);v[v[k>>2]>>2]=v[a+8>>2];b=Qa[v[v[g>>2]+28>>2]](g,k,b,c,d)|0;v[a+12>>2]=b;b:{if(!b){f=0;break b}v[b+2228512>>2]=a;m=A[d>>3];i=A[f>>3];c:{if(i<4294967296&i>=0){c=~~i>>>0;break c}c=0}i=A[e>>3];d:{if(i<4294967296&i>=0){d=~~i>>>0;break d}d=0}NJ(b,m,d,c);c=a+112|0;e:{if(t[a+123|0]<=-1){v[a+116>>2]=0;b=v[a+112>>2];break e}t[a+123|0]=0;b=c}v[b>>2]=0;f=1;b=v[v[a+12>>2]+180>>2];if(!b){break b}e=v[b+20>>2];f:{if(e){d=0;g:{l=w[e|0];if(!l){break g}g=e;while(1){b=d;d=b+1|0;j=w[g+1|0];g=g+1|0;if(j){continue}break}if((l|0)!=60|b>>>0<6|(w[e+1|0]!=117|w[e+2|0]!=116)){break g}if(w[e+3|0]!=102|w[e+4|0]!=56|w[e+5|0]!=62){break g}Zg(h+8|0,e+6|0,b-5|0);break f}Zs(h+8|0,e,d);break f}t[h+19|0]=0;v[h+8>>2]=0}b=v[a+12>>2];d=b+2228520|0;if(t[b+2228531|0]<=-1){$a(v[d>>2])}b=v[h+12>>2];v[d>>2]=v[h+8>>2];v[d+4>>2]=b;v[d+8>>2]=v[h+16>>2];g=v[a+12>>2];e=g+2228520|0;if((e|0)==(c|0)){break b}b=w[g+2228531|0];d=b<<24>>24;if(t[a+123|0]>=0){if((d|0)>=0){a=v[e+4>>2];v[c>>2]=v[e>>2];v[c+4>>2]=a;v[c+8>>2]=v[e+8>>2];break b}De(c,v[g+2228520>>2],v[g+2228524>>2]);break b}a=(d|0)<0;mf(c,a?v[g+2228520>>2]:e,a?v[g+2228524>>2]:b)}me(k)}Ma=h+32|0;return f|0}function WY(a,b){a=a|0;b=b|0;var 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;l=v[a+12>>2];k=v[a+24>>2];d=v[a+8>>2];a:{b:{j=v[a+4>>2];c=v[j+44>>2];h=v[a+16>>2];m=v[a+20>>2];if(!(!c|h>>>0>=m>>>0)){v[j+44>>2]=0;e=t[j+36|0];t[j+36|0]=0;g=c-1|0;break b}c=0;break a}c=1}c:{while(1){if(!c){if(d>>>0>=l>>>0){break c}g=0;e=0;if(h>>>0>=m>>>0){break c}c=1;continue}d:{e:{if(e>>>0>3){c=e;break e}if(d>>>0>=l>>>0){break d}c=w[d|0];t[(e+j|0)+37|0]=c;f=d+1|0;g=c<<(e<<3)|g;c=4;i=e+1|0;if((i|0)==4){d=f;break e}if(f>>>0>=l>>>0){e=i;d=f;break d}c=w[d+1|0];t[(i+j|0)+37|0]=c;f=d+2|0;g=c<<(i<<3)|g;c=4;i=e+2|0;if((i|0)==4){d=f;break e}if(f>>>0>=l>>>0){e=i;d=f;break d}c=w[d+2|0];t[(i+j|0)+37|0]=c;f=d+3|0;g=c<<(i<<3)|g;c=4;e=e+3|0;if((e|0)==4){d=f;break e}if(f>>>0>=l>>>0){d=f;break d}f=w[d+3|0];t[(e+j|0)+37|0]=f;d=d+4|0;g=f<<(e<<3)|g}f:{if(!((g&-2048)==55296|g>>>0>1114111)){g:{h:{if(g>>>0<=65535){u[h>>1]=g;o=1;f=k;h=h+2|0;break h}u[h>>1]=(g>>>10|0)-10304;v[k>>2]=n;f=k+4|0;p=g&1023|-9216;o=2;i=h+2|0;if(i>>>0>=m>>>0){break g}u[h+2>>1]=p;h=h+4|0}v[f>>2]=n;n=c+n|0;k=(o<<2)+k|0;break f}e=v[a+4>>2];t[e+65|0]=1;u[e+116>>1]=p;v[b>>2]=15;k=f;h=i;break c}t[v[a+4>>2]+36|0]=c;v[b>>2]=12;break c}c=0;continue}break}c=v[a+4>>2];t[c+36|0]=e;v[c+44>>2]=g+1}if(!(h>>>0>>0|d>>>0>=l>>>0|v[b>>2]>0)){v[b>>2]=15}v[a+24>>2]=k;v[a+8>>2]=d;v[a+16>>2]=h}function ywa(a,b){a=a|0;b=b|0;var 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;g=v[a+420>>2];c=v[a+236>>2];if(c){d=g;e=v[d+36>>2];if(!e){if(v[a+288>>2]>=1){c=0;while(1){v[((c<<2)+g|0)+20>>2]=0;c=c+1|0;if((c|0)>2]){continue}break}c=v[a+236>>2]}v[g+36>>2]=c;e=c}v[d+36>>2]=e-1}if(v[a+316>>2]>=1){while(1){d=j<<2;c=v[(d+a|0)+320>>2]<<2;e=v[(c+a|0)+292>>2];i=v[((v[e+24>>2]<<2)+g|0)+92>>2];h=v[((v[e+20>>2]<<2)+g|0)+76>>2];o=v[a+380>>2];k=v[a+384>>2];e=0;l=b+d|0;m=v[l>>2];n=c+g|0;d=u[m>>1]-v[n+20>>2]|0;a:{if(!d){break a}e=d>>31;c=e+d^e;e=0;while(1){d=e;e=d+1|0;f=c>>>0>1;c=c>>>1|0;if(f){continue}break}if(d>>>0<11){break a}d=v[a>>2];v[d+20>>2]=6;Qa[v[d>>2]](a)}f=1;e=h+(e<<2)|0;v[e>>2]=v[e>>2]+1;d=0;b:{if((k|0)<1){break b}while(1){c:{c=x[(v[(f<<2)+o>>2]<<1)+m>>1];d:{if(c){if((d|0)>=16){e=(d-((d|0)<31?d:31)|0)+15|0;v[i+960>>2]=(v[i+960>>2]+(e>>>4|0)|0)+1;d=(d-(e&-16)|0)-16|0}e=1;h=c<<16;c=h>>31;c=(c^c+(h>>16))&65535;e:{if(c>>>0<2){break e}while(1){h=e;e=e+1|0;p=c>>>0>3;c=c>>>1|0;if(p){continue}break}if(h>>>0<10){break e}c=v[a>>2];v[c+20>>2]=6;Qa[v[c>>2]](a)}e=((d<<4)+e<<2)+i|0;v[e>>2]=v[e>>2]+1;d=0;if((f|0)!=(k|0)){break d}break b}if((f|0)==(k|0)){break c}d=d+1|0}f=f+1|0;continue}break}if((d|0)<0){break b}v[i>>2]=v[i>>2]+1}v[n+20>>2]=u[v[l>>2]>>1];j=j+1|0;if((j|0)>2]){continue}break}}return 1}function Asa(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,p=0,q=0,r=0,s=0,t=0,u=0,x=0;n=Ma+-64|0;Ma=n;d=eb(a,0,256);while(1){a:{h=d;d=v[(i<<2)+b>>2]+c|0;e=w[d+3|0];f=w[d+1|0];g=e+f|0;j=w[d+4|0];k=w[d|0];l=j+k|0;m=g+l|0;d=w[d+2|0];v[h>>2]=(m+d<<2)-2560;g=B(l-g|0,6476)+1024|0;d=B(m-(d<<2)|0,2896);v[h+16>>2]=g-d>>11;v[h+8>>2]=d+g>>11;e=f-e|0;f=k-j|0;d=B(e+f|0,6810)+1024|0;v[h+12>>2]=d+B(e,-17828)>>11;v[h+4>>2]=d+B(f,4209)>>11;e=i-7|0;i=i+1|0;d=n;b:{switch(e|0){case 0:continue;case 2:break a;default:break b}}d=h+32|0;continue}break}while(1){i=v[a+192>>2];e=v[a+96>>2];b=i+e|0;h=v[d>>2];f=v[a+32>>2];c=h+f|0;g=b+c|0;j=v[a+224>>2];k=v[a+64>>2];l=j+k|0;m=l<<1;o=v[a+160>>2];p=v[a+128>>2];q=o+p|0;r=v[d+32>>2];s=v[a>>2];t=r+s|0;u=q+t|0;v[a+128>>2]=(B(g-m|0,-4582)+B(u-m|0,11997)|0)+16384>>15;v[a>>2]=B((g+l|0)+u|0,10486)+16384>>15;g=t-q|0;c=c-b|0;b=B(g+c|0,8716)+16384|0;v[a+192>>2]=b+B(c,-22820)>>15;v[a+64>>2]=b+B(g,5387)>>15;b=p-o|0;c=s-r|0;g=b+c|0;h=f-h|0;i=e-i|0;e=h-i|0;f=k-j|0;v[a+160>>2]=B(g-(e+f|0)|0,10486)+16384>>15;j=(B(c-b|0,9973)+B(h+i|0,-6163)|0)+16384|0;f=B(f,10486);e=(B(e,5243)-f|0)+B(e+g|0,3240)|0;v[a+224>>2]=j-e>>15;v[a+96>>2]=e+j>>15;v[a+32>>2]=(((f+(B(c,14647)+B(h,13213)|0)|0)+B(i,6732)|0)+B(b,2320)|0)+16384>>15;d=d+4|0;a=a+4|0;x=x+1|0;if((x|0)!=5){continue}break}Ma=n- -64|0}function ZZ(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;if(d){g=(f|0)==2;m=g?256:128;n=g?128:256;l=0-f|0;while(1){i=v[c+16>>2];a:{if(i&16){break a}k=v[c+28>>2];b:{g=t[c+20|0];c:{if((g|0)==(f|0)|(g|0)==(l|0)){break c}g=t[c+21|0];if((g|0)==(f|0)){break c}if((g|0)!=(l|0)){break b}}if(!g){break b}if((f|0)==(g|0)){g=0;if(!a){break a}while(1){h=v[(g<<2)+b>>2];j=k-v[h>>2]|0;if(!((j|0)<(e|0)&(0-j|0)<(e|0))){g=g+1|0;if((g|0)!=(a|0)){continue}break a}break}v[c+24>>2]=h;v[c+16>>2]=i|528;break a}if((g|0)!=(l|0)){break a}g=0;if(!a){break a}while(1){h=v[(g<<2)+b>>2];j=k-(v[h>>2]+v[h+4>>2]|0)|0;if(!((j|0)<(e|0)&(0-j|0)<(e|0))){g=g+1|0;if((g|0)!=(a|0)){continue}break a}break}v[c+24>>2]=h;v[c+16>>2]=i|1040;break a}if(!(i&64)){break a}d:{e:{if(i&n){g=0;if(!a){break a}while(1){h=v[(g<<2)+b>>2];j=k-v[h>>2]|0;if(!((j|0)<(e|0)&(0-j|0)<(e|0))){g=g+1|0;if((g|0)!=(a|0)){continue}break d}break}g=528;break e}if(!(i&m)){break d}g=0;if(!a){break d}while(1){h=v[(g<<2)+b>>2];j=k-(v[h>>2]+v[h+4>>2]|0)|0;if(!((j|0)<(e|0)&(0-j|0)<(e|0))){g=g+1|0;if((g|0)!=(a|0)){continue}break d}break}g=1040}v[c+24>>2]=h;v[c+16>>2]=g|i}if(v[c+24>>2]){break a}g=0;if(!a){break a}while(1){i=v[(g<<2)+b>>2];h=v[i>>2];if(!((h|0)>(k|0)|(h+v[i+4>>2]|0)<(k|0))){v[c+24>>2]=i;break a}g=g+1|0;if((g|0)!=(a|0)){continue}break}}c=c+40|0;d=d-1|0;if(d){continue}break}}}function Ho(a,b,c){var d=0,e=0,f=0,g=0,h=0;g=Ma-128|0;Ma=g;a:{if(!a){break a}h=v[a+16>>2];if(!h){break a}d=h;a=v[a+12>>2];b:{if(d>>>0<=a>>>0){break b}while(1){c:{switch(w[d|0]-10|0){case 0:case 3:break c;default:break b}}d=d-1|0;if(a>>>0>>0){continue}break}d=a}d:{e:{if(a>>>0>=d>>>0){break e}e=1;while(1){f:{f=w[d|0];switch(f-10|0){case 0:case 3:break d;default:break f}}d=d-1|0;if(e>>>0>79){break e}e=e+1|0;if(a>>>0>>0){continue}break}}f=w[d|0]}g:{switch((f&255)-10|0){case 0:case 3:d=d+1|0;break;default:break g}}h=h-d|0;f=0;a=g+32|0;while(1){h:{i:{e=w[d|0];switch(e|0){case 0:case 10:break h;default:break i}}if((e|0)==13|f>>>0>79){break h}t[a|0]=e;f=f+1|0;a=a+1|0;d=d+1|0;continue}break}e=0;t[a|0]=0;a=g+32|0;v[g+16>>2]=a;Qa[b|0](c,340716,g+16|0);j:{if(!h){d=a;break j}while(1){d=a;k:{switch(w[a|0]){default:t[d|0]=32;break;case 0:break j;case 9:break k}}d=d+1|0;if((h|0)==(e|1)){break j}l:{switch(w[a+1|0]){default:t[a+1|0]=32;break;case 0:break j;case 9:break l}}d=a+2|0;if((h|0)==(e|2)){break j}m:{switch(w[a+2|0]){default:t[a+2|0]=32;break;case 0:break j;case 9:break m}}d=a+3|0;f=e|3;if((f|0)==(h|0)|(f|0)==79){break j}n:{switch(w[a+3|0]){default:t[a+3|0]=32;break;case 0:break j;case 9:break n}}a=a+4|0;d=a;e=e+4|0;if((h|0)!=(e|0)){continue}break}}t[d|0]=94;t[d+1|0]=0;v[g>>2]=g+32;Qa[b|0](c,340716,g)}Ma=g+128|0}function rz(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=Ma+-64|0;Ma=c;v[c+48>>2]=13;v[c+32>>2]=13;a:{if(v[ib(b,248044,c+48|0,0)>>2]!=6){fb(1,-1,248017,0);break a}g=v[c+56>>2];d=v[g+12>>2];v[a+4>>2]=(d|0)/2;b:{if((d|0)<=65){c:{d:{if((d|0)<2){break d}d=0;ub(g,0,c+32|0,0);g=219747;f=v[c+32>>2];if(f-1>>>0>1){break c}while(1){h=(e<<4)+a|0;A[h+16>>3]=(f|0)==1?+v[c+40>>2]:A[c+40>>3];f=c+32|0;bb(f);ub(v[c+56>>2],d|1,f,0);d=v[c+32>>2];if(d-1>>>0>1){break c}A[h+24>>3]=(d|0)==1?+v[c+40>>2]:A[c+40>>3];bb(c+32|0);e=e+1|0;if((e|0)>=v[a+4>>2]){break d}d=e<<1;ub(v[c+56>>2],d,c+32|0,0);f=v[c+32>>2];if(f-1>>>0<=1){continue}break}break c}d=c+48|0;bb(d);v[a+8>>2]=0;v[a+1040>>2]=0;e=1;if(v[ib(b,282952,d,0)>>2]!=6){break a}v[a+1040>>2]=1;d=v[c+56>>2];b=v[d+12>>2];v[a+8>>2]=(b|0)/2;if((b|0)>65){break b}if((b|0)<2){break a}e=0;ub(d,0,c+32|0,0);g=219916;d=v[c+32>>2];if(d-1>>>0>1){break c}b=0;while(1){f=(b<<4)+a|0;A[f+528>>3]=(d|0)==1?+v[c+40>>2]:A[c+40>>3];d=c+32|0;bb(d);ub(v[c+56>>2],e|1,d,0);d=v[c+32>>2];if(d-1>>>0>1){break c}e=1;A[f+536>>3]=(d|0)==1?+v[c+40>>2]:A[c+40>>3];bb(c+32|0);b=b+1|0;if((b|0)>=v[a+8>>2]){break a}e=b<<1;ub(v[c+56>>2],e,c+32|0,0);d=v[c+32>>2];if(d-1>>>0<2){continue}break}}e=0;fb(1,-1,g,0);bb(c+32|0);break a}v[c>>2]=32;fb(1,-1,288957,c);break a}v[c+16>>2]=32;fb(1,-1,288840,c+16|0);e=0}bb(c+48|0);Ma=c- -64|0;return e}function EXa(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;if(e){o=e-1|0;p=e-2|0;m=(e|0)==1;while(1){i=g;a=f;u[g>>1]=x[a>>1];f=a+2|0;g=g+2|0;a:{if(!m&l>>>0>=o>>>0){break a}h=l?(l|0)==(p|0)?d:b:c;k=!l&m;if(k){if(h>>>0<2){break a}k=h-1|0;i=k&7;if(h-2>>>0>=7){h=k&-8;while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a>>1];u[g+4>>1]=x[a>>1];u[g+6>>1]=x[a>>1];u[g+8>>1]=x[a>>1];u[g+10>>1]=x[a>>1];u[g+12>>1]=x[a>>1];u[g+14>>1]=x[a>>1];g=g+16|0;h=h-8|0;if(h){continue}break}}if(!i){break a}while(1){u[g>>1]=x[a>>1];g=g+2|0;i=i-1|0;if(i){continue}break}break a}j=x[a>>1];k=k?0:f;if((j|0)!=x[k>>1]){i=1;if(h>>>0<=1){break a}q=h<<1;while(1){j=w[a|0]|w[a+1|0]<<8;n=w[k|0]|w[k+1|0]<<8;j=((j<<8|j>>>8)&65535)+((h+(B(((n<<8|n>>>8)&65535)-((j<<8|j>>>8)&65535)|0,i)<<1)|0)/(q|0)|0)&65535;j=j<<8|j>>>8;t[g|0]=j;t[g+1|0]=j>>>8;g=g+2|0;i=i+1|0;if((h|0)!=(i|0)){continue}break}break a}if(h>>>0<2){break a}u[i+2>>1]=j;g=i+4|0;if((h|0)==2){break a}k=h-2|0;i=k&7;if(h-3>>>0>=7){h=k&-8;while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a>>1];u[g+4>>1]=x[a>>1];u[g+6>>1]=x[a>>1];u[g+8>>1]=x[a>>1];u[g+10>>1]=x[a>>1];u[g+12>>1]=x[a>>1];u[g+14>>1]=x[a>>1];g=g+16|0;h=h-8|0;if(h){continue}break}}if(!i){break a}while(1){u[g>>1]=x[a>>1];g=g+2|0;i=i-1|0;if(i){continue}break}}l=l+1|0;if((l|0)!=(e|0)){continue}break}}return 0}function dg(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=Ma-32|0;Ma=f;e=w[b|0];g=e&1;h=v[a+20>>2];d=(h+c>>>2|0)+24576|0;d=c>>>0>d>>>0?d:c;a:{c=v[a+24>>2];b:{if(d>>>0>c>>>0){e=c;c=65536-d|0;v[a+24>>2]=e+c;v[a+20>>2]=c+h;t[b|0]=w[(w[b|0]+a|0)+2348|0];c=v[a+20>>2];c:{if(c>>>0>=65280){b=t[((c&255)+a|0)+2604|0]+8|0;break c}b=t[((c>>>8|0)+a|0)+2604|0]}v[a+20>>2]=c<>2]>>>d|v[a+24>>2]<>2]=c;b=a;if(d>>>0<=15){d=a+17|0;while(1){c=v[a+12>>2];d:{if(Qa[v[v[c>>2]+8>>2]](c,d,1)|0){c=w[d|0];break d}c=255;t[a+17|0]=255;e=w[a+19|0]-1|0;t[a+19|0]=e;if(!(e&255)){break a}}e=w[a+18|0]+8|0;t[a+18|0]=e;v[a+36>>2]=c&255|v[a+36>>2]<<8;if((e&255)>>>0<25){continue}break}c=v[a+24>>2]}v[b+28>>2]=c>>>0<32767?c:32767;g=g^1;break b}if(y[((e<<2)+a|0)+1068>>2]<=h>>>0){t[b|0]=w[(a+e|0)+2092|0];c=v[a+24>>2]}v[a+20>>2]=d<<1&65534;b=w[a+18|0]-1|0;t[a+18|0]=b;d=b&255;c=v[a+36>>2]>>>d&1|c<<1&65534;v[a+24>>2]=c;b=a;if(d>>>0<=15){d=a+17|0;while(1){c=v[a+12>>2];e:{if(Qa[v[v[c>>2]+8>>2]](c,d,1)|0){c=w[d|0];break e}c=255;t[a+17|0]=255;e=w[a+19|0]-1|0;t[a+19|0]=e;if(!(e&255)){break a}}e=w[a+18|0]+8|0;t[a+18|0]=e;v[a+36>>2]=c&255|v[a+36>>2]<<8;if((e&255)>>>0<25){continue}break}c=v[a+24>>2]}v[b+28>>2]=c>>>0<32767?c:32767}Ma=f+32|0;return g}lb(mb(f+8|0,v[279242],242125,768,333116));L()}function Cv(a){var b=0,c=0,d=0,e=0;e=Ma-16|0;Ma=e;a:{b:{c:{d:{c=v[a+36>>2];b=v[c+16>>2];if(w[b|0]!=60|w[b+1|0]!=63|(w[b+2|0]!=120|w[b+3|0]!=109)){break d}if(w[b+4|0]!=108){break d}d=w[b+5|0]-9|0;if(d>>>0>23|!(1<>2]=v[a+200>>2]+5;v[c+16>>2]=b+5;v[c+32>>2]=v[c+32>>2]+5;b=w[b+5|0];if((b|0)==37){zc(a);c=v[a+36>>2];b=w[v[c+16>>2]]}e:{if(b&255){break e}if((Zb(c)|0)>0){break e}xc(a)}b=w[v[v[a+36>>2]+16>>2]]-9|0;if(!(1<>>0<=23:0)){Pc(a,65,346784)}Fc(a);b=nX(a);if(b){break c}b=sH();break b}if(v[a+172>>2]==-1?v[a+212>>2]:0){break a}v[a+84>>2]=56;v[e>>2]=290414;nb(0,0,0,a,0,1,56,3,0,0,0,0,340716,e);v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1;break a}c=w[v[v[a+36>>2]+16>>2]]-9|0;if(1<>>0<=23:0){break b}Pc(a,65,342941)}v[v[a+36>>2]+48>>2]=b;b=mX(a);c=v[a+84>>2];if((c|0)==32){break a}if(!(b|c)){Pc(a,101,341466)}Fc(a);f:{g:{h:{i:{c=v[a+36>>2];b=v[c+16>>2];switch(w[b|0]-62|0){case 0:break g;case 1:break i;default:break h}}if(w[b+1|0]!=62){break h}v[a+200>>2]=v[a+200>>2]+2;v[c+16>>2]=b+2;v[c+32>>2]=v[c+32>>2]+2;b=w[b+2|0];if((b|0)==37){zc(a);c=v[a+36>>2];b=w[v[c+16>>2]]}if(b&255){break a}if((Zb(c)|0)>0){break a}xc(a);break a}Md(a,57,0);c=v[a+36>>2];b=v[c+16>>2];while(1){d=w[b|0];if(!d|(d|0)==62){break f}b=b+1|0;v[c+16>>2]=b;continue}}Md(a,57,0)}Bc(a)}Ma=e+16|0}function eCa(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;e=v[a+804>>2];a:{b:{if(e){d=6;if(y[a+28>>2]<=b>>>0){break a}b=v[e+(b<<2)>>2];break b}d=6;if(y[a+800>>2]<=b>>>0){break a}}d=2;c:{d:{switch(v[a+796>>2]-1|0){case 0:case 1:f=v[a+788>>2]+B(b,48)|0;h=w[f+52|0];u[c>>1]=h;i=w[f+53|0];u[c+2>>1]=i;e=t[f+24|0];g=e<<6;v[c+12>>2]=g;j=t[f+25|0];d=j<<6;v[c+16>>2]=d;b=t[f+33|0];k=c;e:{f:{if((j|0)>=1){if((b|0)>-1){break e}d=0-d|0;break f}if(e|j){break e}d=t[f+32|0];if(d|b){g=d<<6;v[c+12>>2]=g;d=b<<6;break f}g=i<<6;v[c+12>>2]=g;d=0}v[k+16>>2]=d}b=g-d|0;v[c+20>>2]=b;if(!b){b=i<<6;v[c+20>>2]=b;v[c+16>>2]=g-b}v[c+24>>2]=t[f+31|0]+(w[f+26|0]+t[f+30|0]|0)<<6;b=a+178|0;break c;case 2:break d;default:break a}}d=3;b=v[a+788>>2]+(b<<2)|0;b=w[b+8|0]|w[b+9|0]<<8|(w[b+10|0]<<16|w[b+11|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(y[a+864>>2]>>0){break a}e=v[a+104>>2];d=Mb(e,b+v[a+860>>2]|0);if(d){break a}d=Ed(e,4);if(d){break a}d=ae(e);ae(e);dd(e);b=a+178|0;e=x[b>>1];u[c+2>>1]=d;u[c>>1]=d;d=d<<6;l=c,m=fc(u[a+220>>1],d,e),v[l+12>>2]=m;l=c,m=fc(u[a+222>>1],d,e),v[l+16>>2]=m;l=c,m=fc(u[a+224>>1]+(u[a+220>>1]-u[a+222>>1]|0)|0,d,e),v[l+20>>2]=m;l=c,m=fc(x[a+226>>1],d,e),v[l+24>>2]=m;h=x[c>>1]}l=c,m=fc(h,4194304,x[b>>1]),v[l+4>>2]=m;l=c,m=fc(x[c+2>>1],4194304,x[b>>1]),v[l+8>>2]=m;d=0}return d|0}function Cx(a,b,c,d,e,f,g){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,u=0,x=0,y=0;k=Ma-128|0;Ma=k;v[k+120>>2]=b;v[k+16>>2]=1563;j=k+16|0;n=nf(k+8|0,0,j);a:{l=(d-c|0)/12|0;if(l>>>0>=101){j=gb(l);if(!j){break a}b=v[n>>2];v[n>>2]=j;if(b){Qa[v[n+4>>2]](b)}}h=j;b=c;while(1)if((b|0)==(d|0)){b:while(1){c:{if(!(u=Mh(a,k+120|0),x=0,y=l,y?u:x)){if(yg(a,k+120|0)){v[f>>2]=v[f>>2]|2}break c}o=sf(a);if(!g){o=Qa[v[v[e>>2]+12>>2]](e,o)|0}r=p+1|0;s=0;h=j;b=c;while(1)if((b|0)==(d|0)){p=r;if(!s){continue b}Zf(a);h=j;b=c;if(l+m>>>0<2){continue b}while(1){if((b|0)==(d|0)){continue b}if(w[b+11|0]>>>7|0){i=v[b+4>>2]}else{i=w[b+11|0]}if(!((i|0)==(p|0)|w[h|0]!=2)){t[h|0]=0;m=m-1|0}h=h+1|0;b=b+12|0;continue}}else{d:{if(w[h|0]!=1){break d}if(w[b+11|0]>>>7|0){i=v[b>>2]}else{i=b}q=t[i+p|0];i=o&255;if(!g){q=Qa[v[v[e>>2]+12>>2]](e,q)|0}e:{if((q&255)==(i|0)){s=1;if(w[b+11|0]>>>7|0){i=v[b+4>>2]}else{i=w[b+11|0]}if((i|0)!=(r|0)){break d}t[h|0]=2;m=m+1|0;break e}t[h|0]=0}l=l-1|0}h=h+1|0;b=b+12|0;continue}}break}f:{g:{while(1){if((c|0)==(d|0)){break g}if(w[j|0]!=2){j=j+1|0;c=c+12|0;continue}break}d=c;break f}v[f>>2]=v[f>>2]|4}a=n;b=v[a>>2];v[a>>2]=0;if(b){Qa[v[a+4>>2]](b)}Ma=k+128|0;return d}else{if(w[b+11|0]>>>7|0){i=v[b+4>>2]}else{i=w[b+11|0]}h:{if(i){t[h|0]=1;break h}t[h|0]=2;m=m+1|0;l=l-1|0}h=h+1|0;b=b+12|0;continue}}_f();L()}function bca(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,j=0,k=0;a=Ma-624|0;Ma=a;v[a+608>>2]=c;v[a+616>>2]=b;v[a+16>>2]=4175;h=nf(a+200|0,a+208|0,a+16|0);i=a+192|0;b=v[e+28>>2];v[i>>2]=b;v[b+4>>2]=v[b+4>>2]+1;b=hi(i);t[a+191|0]=0;a:{if(!eO(a+616|0,c,d,i,v[e+4>>2],f,a+191|0,b,h,a+196|0,a+608|0)){break a}c=w[313618]|w[313619]<<8|(w[313620]<<16|w[313621]<<24);t[a+183|0]=c;t[a+184|0]=c>>>8;t[a+185|0]=c>>>16;t[a+186|0]=c>>>24;c=w[313615]|w[313616]<<8|(w[313617]<<16|w[313618]<<24);v[a+176>>2]=w[313611]|w[313612]<<8|(w[313613]<<16|w[313614]<<24);v[a+180>>2]=c;Qa[v[v[b>>2]+48>>2]](b,a+176|0,a+186|0,a+128|0)|0;v[a+16>>2]=1563;c=a+16|0;b=nf(a+8|0,0,c);b:{if((v[a+196>>2]-v[h>>2]|0)>=393){d=gb((v[a+196>>2]-v[h>>2]>>2)+2|0);c=v[b>>2];v[b>>2]=d;if(c){Qa[v[b+4>>2]](c)}if(!v[b>>2]){break b}c=v[b>>2]}if(w[a+191|0]){t[c|0]=45;c=c+1|0}e=v[h>>2];while(1){if(y[a+196>>2]<=e>>>0){c:{t[c|0]=0;v[a>>2]=g;if((df(a+16|0,273531,a)|0)!=1){break c}c=v[b>>2];v[b>>2]=0;if(c){Qa[v[b+4>>2]](c)}break a}}else{d=a+128|0;j=c,k=w[(a+176|0)+(rD(d,d+40|0,e)-d>>2)|0],t[j|0]=k;c=c+1|0;e=e+4|0;continue}break}_f();L()}_f();L()}if(jg(a+616|0,a+608|0)){v[f>>2]=v[f>>2]|2}d=v[a+616>>2];b=v[a+192>>2];c=v[b+4>>2]-1|0;v[b+4>>2]=c;if((c|0)==-1){Qa[v[v[b>>2]+8>>2]](b)}b=v[h>>2];v[h>>2]=0;if(b){Qa[v[h+4>>2]](b)}Ma=a+624|0;return d|0}function J8(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;g=Ma-16|0;Ma=g;a:{b:{c:{e=v[a+584>>2];if(!w[e+401|0]){if((c>>>0)%y[e+1116>>2]|0){wb(v[a+628>>2],87724,64201,0);break a}if((c|0)<1){break c}p=e+536|0;a=v[e+1112>>2];while(1){if(!a){if(!PC(e,p,v[e+1104>>2],w[e+209|0]<<3)){f=0;break a}a=v[e+1112>>2]}if(v[e+1108>>2]){d=B(v[e+1064>>2],a);k=d+v[e+1092>>2]|0;l=d+v[e+1096>>2]|0;i=w[e+209|0];m=v[e+1088>>2]+B(v[e+1056>>2],B(i,a))|0;n=0;d=b;while(1){h=w[e+208|0];d:{if(!i){break d}j=1;o=0;a=m;if(!h){h=0;break d}while(1){q=j&255;f=0;j=0;if(q){while(1){t[d|0]=w[a|0];d=d+1|0;a=a+1|0;h=w[e+208|0];f=f+1|0;if(h>>>0>(f&255)>>>0){continue}break}i=w[e+209|0];j=h}a=(v[e+1056>>2]-j|0)+a|0;o=o+1|0;if((o&255)>>>0>>0){continue}break}}t[d|0]=w[k|0];t[d+1|0]=w[l|0];n=n+1|0;if(n>>>0>2]){k=k+1|0;l=l+1|0;d=d+2|0;m=h+m|0;i=w[e+209|0];continue}break}a=v[e+1112>>2]}f=1;a=a+1|0;a=(a|0)==v[e+1068>>2]?0:a;v[e+1112>>2]=a;d=v[e+1116>>2];b=d+b|0;c=c-d|0;if(c){continue}break}break a}if((c>>>0)%y[e+1116>>2]|0){wb(v[a+628>>2],87744,64201,0);break a}if((c|0)<=0){break b}v[g+12>>2]=b;a=e+536|0;while(1){if(!NM(e,a,g+12|0)){break a}b=v[e+1116>>2];v[g+12>>2]=b+v[g+12>>2];c=c-b|0;if(c){continue}break}f=1;break a}O(64418,7087,778,87724);L()}O(64418,7087,826,87744);L()}Ma=g+16|0;return f|0}function INa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=v[a+12>>2];if(!d){v[a+140>>2]=0;v[a+144>>2]=0;v[a+148>>2]=0;v[a+152>>2]=0;return}v[a+140>>2]=v[d+260>>2];v[a+144>>2]=v[d+248>>2];v[a+148>>2]=v[d+252>>2];v[a+152>>2]=v[d+256>>2];c=Ma-32|0;Ma=c;v[d+2228516>>2]=1;a=v[d+180>>2];a:{if(!a){break a}a=v[a+96>>2];if(!a){break a}a=v[a+12>>2];if(!a){break a}b:{c:{d:{e=v[a+8>>2];b=zb(e);if(b>>>0<4294967280){e:{f:{if(b>>>0>=11){f=b+16&-16;a=ab(f);v[c+24>>2]=f|-2147483648;v[c+16>>2]=a;v[c+20>>2]=b;break f}t[c+27|0]=b;a=c+16|0;if(!b){break e}}cb(a,e,b)}t[a+b|0]=0;g:{a=w[c+27|0];if(((a<<24>>24<0?v[c+20>>2]:a)|0)==8){if(!_k(c+16|0,278441,8)){break g}}v[d+2228516>>2]=0;break b}b=v[v[d+180>>2]+20>>2];if(!b){break d}a=0;h:{g=w[b|0];if(!g){break h}e=b;while(1){f=a;a=a+1|0;h=w[e+1|0];e=e+1|0;if(h){continue}break}if((g|0)!=60|f>>>0<6|(w[b+1|0]!=117|w[b+2|0]!=116)){break h}if(w[b+3|0]!=102|w[b+4|0]!=56|w[b+5|0]!=62){break h}Zg(c,b+6|0,f-5|0);break c}Zs(c,b,a);break c}sc();L()}t[c+11|0]=0;v[c>>2]=0}f=d+2228520|0;e=w[d+2228531|0];a=e<<24>>24;b=v[d+2228524>>2];i:{j:{if((((a|0)<0?b:e)|0)==9){if(!Vc(f,361148,9)){break j}e=w[d+2228531|0];a=e;b=v[d+2228524>>2]}if(((a<<24>>24<0?b:e)|0)!=9){break i}if(Vc(f,361188,9)){break i}}v[d+2228516>>2]=0}if(t[c+11|0]>-1){break b}$a(v[c>>2])}if(t[c+27|0]>-1){break a}$a(v[c+16>>2])}Ma=c+32|0}function Mca(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,h=0;a=Ma-384|0;Ma=a;v[a+368>>2]=c;v[a+376>>2]=b;tD(a+216|0,d,a+240|0,a+236|0,a+232|0);b=ud(a+200|0);md(b,w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10);d=a;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+196>>2]=c;v[a+28>>2]=a+32;v[a+24>>2]=0;t[a+23|0]=1;t[a+22|0]=69;while(1){a:{if(!Lh(a+376|0,a+368|0)){break a}g=v[a+196>>2];if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}if((g|0)==(d+c|0)){c=b;b:{if(w[c+11|0]>>>7|0){d=v[c+4>>2];break b}d=w[c+11|0]}g=c;if(w[c+11|0]>>>7|0){h=v[c+4>>2]}else{h=w[c+11|0]}md(g,h<<1);md(c,w[c+11|0]>>>7|0?(v[c+8>>2]&2147483647)-1|0:10);g=a;if(w[c+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[g+196>>2]=d+c}d=v[a+376>>2];g=v[d+12>>2];c:{if((g|0)==v[d+16>>2]){d=Qa[v[v[d>>2]+36>>2]](d)|0;break c}d=v[g>>2]}if(sD(d,a+23|0,a+22|0,c,a+196|0,v[a+236>>2],v[a+232>>2],a+216|0,a+32|0,a+28|0,a+24|0,a+240|0)){break a}Yf(a+376|0);continue}break}if(w[a+227|0]>>>7|0){d=v[a+220>>2]}else{d=w[a+227|0]}d:{if(!d|!w[a+23|0]){break d}d=v[a+28>>2];if((d-(a+32|0)|0)>159){break d}v[a+28>>2]=d+4;v[d>>2]=v[a+24>>2]}DO(a,c,v[a+196>>2],e);c=v[a>>2];d=v[a+4>>2];g=v[a+12>>2];v[f+8>>2]=v[a+8>>2];v[f+12>>2]=g;v[f>>2]=c;v[f+4>>2]=d;Jh(a+216|0,a+32|0,v[a+28>>2],e);if(jg(a+376|0,a+368|0)){v[e>>2]=v[e>>2]|2}c=v[a+376>>2];Vb(b);Vb(a+216|0);Ma=a+384|0;return c|0}function hya(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;l=Ma-32|0;Ma=l;f=-1;if(!(!d|(!a|!b))){a:{b:{c:{if(!c){v[b>>2]=0;e=0;break c}g=c;k=a;i=v[d>>2];d:{if((i|0)<1){break d}n=v[b>>2]+a|0;m=c+i|0;i=c;while(1){g=t[i|0];f=g&255;j=0;o=n;e:{if((g|0)>-1){h=0;break e}g=g&255;if(g>>>0<=191){break b}if(g>>>0<=223){f=f&31;j=1;h=1;break e}f:{if(g>>>0<=239){h=2;f=f&15;break f}if(g>>>0>247){break b}h=3;f=f&7}j=1}e=i+1|0;if((m-e|0)<(h|0)){g=i;break d}g=e;g:{if(!(e>>>0>>0&j)){break g}while(1){g=e+1|0;e=w[e|0];if((e&192)!=128){break g}f=e&63|f<<6;h=h-1|0;if(!h){break g}e=g;if(m>>>0>e>>>0){continue}break}}h:{i:{j:{k:{l:{m:{if(f>>>0<=127){e=k+1|0;if(e>>>0>>0){break m}g=i;break d}e=0;while(1){h=v[B(e,12)+871184>>2];if(h>>>0>=f>>>0){j=e;break l}j=e|1;if((j|0)==253){break k}h=v[B(j,12)+871184>>2];if(h>>>0>=f>>>0){break l}j=e|2;h=v[B(j,12)+871184>>2];if(h>>>0>=f>>>0){break l}j=e|3;h=v[B(j,12)+871184>>2];if(h>>>0>=f>>>0){break l}e=e+4|0;continue}}t[k|0]=f;k=e;break h}if(f>>>0>=h>>>0){break j}}v[l>>2]=f;e=l+16|0;_i(e,16,225135,l);break i}e=v[B(j,12)+871188>>2]}f=zb(e);if((f+k|0)+2>>>0>>0){t[k|0]=38;i=cb(k+1|0,e,f)+f|0;t[i|0]=59;k=i+1|0;break h}g=i;break d}i=g;if(m>>>0>i>>>0){continue}break}}v[b>>2]=k-a;e=g-c|0}f=0;break a}v[b>>2]=k-a;e=i-c|0;f=-2}v[d>>2]=e}Ma=l+32|0;return f|0}function Um(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0;j=Ma-32|0;Ma=j;v[j+16>>2]=c;v[j+24>>2]=b;c=j+8|0;b=v[d+28>>2];v[c>>2]=b;v[b+4>>2]=v[b+4>>2]+1;b=hi(c);c=v[c>>2];i=v[c+4>>2]-1|0;v[c+4>>2]=i;if((i|0)==-1){Qa[v[v[c>>2]+8>>2]](c)}v[e>>2]=0;c=0;a:{while(1){if(c|(g|0)==(h|0)){break a}b:{if(jg(j+24|0,j+16|0)){break b}c:{if((Qa[v[v[b>>2]+52>>2]](b,v[g>>2],0)|0)==37){c=g+4|0;if((h|0)==(c|0)){break b}k=0;i=Qa[v[v[b>>2]+52>>2]](b,v[c>>2],0)|0;d:{if(!((i|0)==69|(i&255)==48)){c=g;break d}if((g+8|0)==(h|0)){break b}k=i;i=Qa[v[v[b>>2]+52>>2]](b,v[g+8>>2],0)|0}l=j,m=Qa[v[v[a>>2]+36>>2]](a,v[j+24>>2],v[j+16>>2],d,e,f,i,k)|0,v[l+24>>2]=m;g=c+8|0;break c}if(Qa[v[v[b>>2]+12>>2]](b,8192,v[g>>2])|0){while(1){e:{g=g+4|0;if((h|0)==(g|0)){g=h;break e}if(Qa[v[v[b>>2]+12>>2]](b,8192,v[g>>2])|0){continue}}break}while(1){if(!Lh(j+24|0,j+16|0)){break c}c=b;i=v[j+24>>2];k=v[i+12>>2];f:{if((k|0)==v[i+16>>2]){i=Qa[v[v[i>>2]+36>>2]](i)|0;break f}i=v[k>>2]}if(!(Qa[v[v[b>>2]+12>>2]](c,8192,i)|0)){break c}Yf(j+24|0);continue}}c=b;i=v[j+24>>2];k=v[i+12>>2];g:{if((k|0)==v[i+16>>2]){i=Qa[v[v[i>>2]+36>>2]](i)|0;break g}i=v[k>>2]}if((Qa[v[v[b>>2]+28>>2]](c,i)|0)==(Qa[v[v[b>>2]+28>>2]](b,v[g>>2])|0)){g=g+4|0;Yf(j+24|0);break c}v[e>>2]=4}c=v[e>>2];continue}break}v[e>>2]=4}if(jg(j+24|0,j+16|0)){v[e>>2]=v[e>>2]|2}Ma=j+32|0;return v[j+24>>2]}function dca(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,j=0,k=0;a=Ma-288|0;Ma=a;v[a+272>>2]=c;v[a+280>>2]=b;v[a+16>>2]=4175;h=nf(a+152|0,a+160|0,a+16|0);i=a+144|0;b=v[e+28>>2];v[i>>2]=b;v[b+4>>2]=v[b+4>>2]+1;b=Yi(i);t[a+143|0]=0;a:{if(!lO(a+280|0,c,d,i,v[e+4>>2],f,a+143|0,b,h,a+148|0,a+260|0)){break a}c=w[313618]|w[313619]<<8|(w[313620]<<16|w[313621]<<24);t[a+135|0]=c;t[a+136|0]=c>>>8;t[a+137|0]=c>>>16;t[a+138|0]=c>>>24;c=w[313615]|w[313616]<<8|(w[313617]<<16|w[313618]<<24);v[a+128>>2]=w[313611]|w[313612]<<8|(w[313613]<<16|w[313614]<<24);v[a+132>>2]=c;Qa[v[v[b>>2]+32>>2]](b,a+128|0,a+138|0,a+118|0)|0;v[a+16>>2]=1563;c=a+16|0;b=nf(a+8|0,0,c);b:{if((v[a+148>>2]-v[h>>2]|0)>=99){d=gb((v[a+148>>2]-v[h>>2]|0)+2|0);c=v[b>>2];v[b>>2]=d;if(c){Qa[v[b+4>>2]](c)}if(!v[b>>2]){break b}c=v[b>>2]}if(w[a+143|0]){t[c|0]=45;c=c+1|0}e=v[h>>2];while(1){if(y[a+148>>2]<=e>>>0){c:{t[c|0]=0;v[a>>2]=g;if((df(a+16|0,273531,a)|0)!=1){break c}c=v[b>>2];v[b>>2]=0;if(c){Qa[v[b+4>>2]](c)}break a}}else{d=a+118|0;j=c,k=w[((uD(d,d+10|0,e)-a|0)+a|0)+10|0],t[j|0]=k;c=c+1|0;e=e+1|0;continue}break}_f();L()}_f();L()}if(yg(a+280|0,a+272|0)){v[f>>2]=v[f>>2]|2}d=v[a+280>>2];b=v[a+144>>2];c=v[b+4>>2]-1|0;v[b+4>>2]=c;if((c|0)==-1){Qa[v[v[b>>2]+8>>2]](b)}b=v[h>>2];v[h>>2]=0;if(b){Qa[v[h+4>>2]](b)}Ma=a+288|0;return d|0}function a3(){var a=0,b=0,c=0,d=0;b=Yb(256,4);if(!b){return 0}v[b+252>>2]=27;a=b;v[a+244>>2]=21;v[a+248>>2]=20;v[a+236>>2]=22;v[a+240>>2]=14;v[a+228>>2]=16;v[a+232>>2]=15;v[a+220>>2]=23;v[a+224>>2]=9;v[a+212>>2]=17;v[a+216>>2]=16;v[a+204>>2]=18;v[a+208>>2]=10;v[a+196>>2]=12;v[a+200>>2]=11;v[a+188>>2]=24;v[a+192>>2]=5;v[a+180>>2]=18;v[a+184>>2]=17;v[a+172>>2]=19;v[a+176>>2]=11;v[a+164>>2]=13;v[a+168>>2]=12;v[a+156>>2]=20;v[a+160>>2]=6;v[a+148>>2]=14;v[a+152>>2]=13;v[a+140>>2]=15;v[a+144>>2]=7;v[a+132>>2]=9;v[a+136>>2]=8;v[a+124>>2]=25;v[a+128>>2]=2;v[a+116>>2]=19;v[a+120>>2]=18;v[a+108>>2]=20;v[a+112>>2]=12;v[a+100>>2]=14;v[a+104>>2]=13;v[a+92>>2]=21;v[a+96>>2]=7;v[a+84>>2]=15;v[a+88>>2]=14;v[a+76>>2]=16;v[a+80>>2]=8;v[a+68>>2]=10;v[a+72>>2]=9;v[a+60>>2]=22;v[a+64>>2]=3;v[a+52>>2]=16;v[a+56>>2]=15;v[a+44>>2]=17;v[a+48>>2]=9;v[a+36>>2]=11;v[a+40>>2]=10;v[a+28>>2]=18;v[a+32>>2]=4;v[a+20>>2]=12;v[a+24>>2]=11;v[a+12>>2]=13;v[a+16>>2]=5;v[a+4>>2]=7;v[a+8>>2]=6;c=64;while(1){a=c<<2;d=a+b|0;v[d>>2]=v[d-256>>2]+1;v[(a|4)+b>>2]=v[d-252>>2]+1;v[(a|8)+b>>2]=v[d-248>>2]+1;v[(a|12)+b>>2]=v[d-244>>2]+1;d=128;c=c+4|0;if((c|0)!=128){continue}break}while(1){a=d<<2;c=a+b|0;v[c>>2]=v[c-512>>2];v[(a|4)+b>>2]=v[c-508>>2];v[(a|8)+b>>2]=v[c-504>>2];v[(a|12)+b>>2]=v[c-500>>2];d=d+4|0;if((d|0)!=256){continue}break}return b}function JAa(a,b){a=a|0;b=b|0;var 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;d=v[a+4>>2];p=v[d+24>>2];o=v[a+12>>2];f=v[a+24>>2];h=v[a+8>>2];k=v[d+44>>2];e=v[a+16>>2];n=v[a+20>>2];a:{if(!(!k|e>>>0>=n>>>0)){v[d+44>>2]=0;i=t[d+36|0];t[d+36|0]=0;j=v[d+48>>2];c=0;break a}g=h;c=1}b:{c:{while(1){d:{if(!c){g=h;e:{if((i|0)>=(j|0)){break e}while(1){if(h>>>0>=o>>>0){break d}c=w[h|0];t[(d+i|0)+37|0]=c;g=h;if((c&192)!=128){break e}h=h+1|0;k=c+(k<<6)|0;i=i+1|0;if((i|0)!=(j|0)){continue}break}i=j;g=h}if((i|0)!=(j|0)){break c}m=j<<2;c=k-v[m+840768>>2]|0;if(c>>>0>1114111|c>>>0>2]){break c}f:{if((p|0)==840208){if((j|0)<4){break f}break c}if((c&-2048)==55296){break c}}g:{if(c>>>0<=65535){u[e>>1]=c;v[f>>2]=l;f=f+4|0;c=e+2|0;break g}u[e>>1]=(c+67043328>>>10|0)-10240;v[f>>2]=l;m=c&1023|-9216;c=e+2|0;if(c>>>0>>0){u[e+2>>1]=m;v[f+4>>2]=l;f=f+8|0;c=e+4|0;break g}f=f+4|0;t[d+65|0]=1;u[d+116>>1]=m;v[b>>2]=15}e=c;l=j+l|0;c=1;continue}while(1){if(g>>>0>=o>>>0|e>>>0>=n>>>0){break b}h=g+1|0;k=w[g|0];c=k<<24>>24;if((c|0)>=0){u[e>>1]=c&255;v[f>>2]=l;f=f+4|0;l=l+1|0;e=e+2|0;g=h;continue}break}t[d+37|0]=c;j=t[k+840512|0];i=1;c=0;continue}break}v[d+48>>2]=j;v[d+44>>2]=k;t[d+36|0]=i;g=h;break b}t[d+36|0]=i;v[b>>2]=12}if(!(e>>>0>>0|g>>>0>=o>>>0|v[b>>2]>0)){v[b>>2]=15}v[a+24>>2]=f;v[a+8>>2]=g;v[a+16>>2]=e}function br(a){var 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;a:{c=v[a+4>>2];if(!c){break a}b:{if((B(v[c+4>>2],v[c>>2])|0)<1){break b}a=v[c+8>>2];if(!a){break a}while(1){c:{if(!a){break c}d:{n=B(m,840)+a|0;f=n;if(v[f+16>>2]<1){break d}a=v[f+20>>2];if(!a){break c}h=0;while(1){e:{if(!a){break e}g=(h<<5)+a|0;i=g;f:{g:{b=v[g+16>>2];if((b|0)<1){break g}a=v[i+20>>2];if(!a){break f}j=0;while(1){h:{if(!a){break h}e=B(j,124)+a|0;if(v[e+24>>2]<1){break h}k=0;while(1){l=(k<<5)+e|0;i:{j:{if((B(v[e+16>>2],v[e+20>>2])|0)<1){break j}a=0;b=v[l+48>>2];if(!b){break i}while(1){k:{if(!b){break k}b=B(a,36)+b|0;d=v[b+24>>2];if(d){$a(d);v[b+24>>2]=0}d=v[b+32>>2];if(d){o=v[d+12>>2];if(o){$a(o)}$a(d)}b=v[b+28>>2];if(!b){break k}d=v[b+12>>2];if(d){$a(d)}$a(b)}a=a+1|0;if((a|0)>=(B(v[e+16>>2],v[e+20>>2])|0)){break j}b=v[l+48>>2];continue}}a=v[l+48>>2];if(!a){break i}$a(a);v[l+48>>2]=0}k=k+1|0;if((k|0)>2]){continue}break}b=v[g+16>>2]}j=j+1|0;if((j|0)>=(b|0)){break g}a=v[i+20>>2];continue}}a=v[i+20>>2];if(!a){break f}$a(a);v[i+20>>2]=0}a=v[g+24>>2];if(!a){break e}$a(a);v[g+24>>2]=0}h=h+1|0;if((h|0)>=v[n+16>>2]){break d}a=v[f+20>>2];continue}}a=v[f+20>>2];if(!a){break c}$a(a);v[f+20>>2]=0}m=m+1|0;if((m|0)>=(B(v[c+4>>2],v[c>>2])|0)){break b}a=v[c+8>>2];continue}}a=v[c+8>>2];if(!a){break a}$a(a);v[c+8>>2]=0}}function _y(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=v[b>>2];if((i|0)>2]){k=1;d=i+1|0;v[b>>2]=d;f=v[a+4>>2];e=f+i|0;g=t[e|0];h=g&255;a:{if((g|0)>-1){break a}if((g&255)>>>0<=223){if((d|0)>=v[a>>2]){break a}a=w[d+f|0];if((a&192)!=128){break a}v[b>>2]=i+2;h=a&63|h<<6&1984;break a}j=g&255;if(j>>>0<=239){if((d|0)>=(v[a>>2]-1|0)){break a}a=w[d+f|0];if((a&192)!=128){break a}d=w[e+2|0];if((d&192)!=128){break a}v[b>>2]=i+3;h=d&63|(a<<6&4032|h<<12&61440);break a}if(j>>>0<=247){if((d|0)>=(v[a>>2]-2|0)){break a}a=w[d+f|0];if((a&192)!=128){break a}d=w[e+2|0];if((d&192)!=128){break a}e=w[e+3|0];if((e&192)!=128){break a}v[b>>2]=i+4;h=e&63|(d<<6&4032|(a<<12&258048|h<<18&1835008));break a}g=g&255;if(g>>>0<=251){if((d|0)>=(v[a>>2]-3|0)){break a}a=w[d+f|0];if((a&192)!=128){break a}d=w[e+2|0];if((d&192)!=128){break a}f=w[e+3|0];if((f&192)!=128){break a}e=w[e+4|0];if((e&192)!=128){break a}v[b>>2]=i+5;h=e&63|(f<<6&4032|(d<<12&258048|(a<<18&16515072|h<<24&50331648)));break a}if(g>>>0>253|(d|0)>=(v[a>>2]-4|0)){break a}a=w[d+f|0];if((a&192)!=128){break a}d=w[e+2|0];if((d&192)!=128){break a}f=w[e+3|0];if((f&192)!=128){break a}g=w[e+4|0];if((g&192)!=128){break a}e=w[e+5|0];if((e&192)!=128){break a}v[b>>2]=i+6;h=e&63|(g<<6&4032|(f<<12&258048|(d<<18&16515072|(a<<24&1056964608|h<<30&1073741824))))}v[c>>2]=h}return k}function XY(a,b){a=a|0;b=b|0;var 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;l=v[a+12>>2];k=v[a+24>>2];e=v[a+8>>2];a:{b:{j=v[a+4>>2];c=v[j+44>>2];g=v[a+16>>2];m=v[a+20>>2];if(!(!c|g>>>0>=m>>>0)){v[j+44>>2]=0;d=t[j+36|0];t[j+36|0]=0;f=c-1|0;break b}c=0;break a}c=1}c:{while(1){if(!c){if(e>>>0>=l>>>0){break c}f=0;d=0;if(g>>>0>=m>>>0){break c}c=1;continue}d:{e:{if(d>>>0>3){break e}if(e>>>0>=l>>>0){break d}c=w[e|0];t[(d+j|0)+37|0]=c;f=c|f<<8;h=e+1|0;c=h;f:{i=d+1|0;g:{if((i|0)==4){break g}if(h>>>0>=l>>>0){d=i;e=h;break d}c=w[e+1|0];t[(i+j|0)+37|0]=c;f=c|f<<8;h=e+2|0;c=h;i=d+2|0;if((i|0)==4){break g}if(h>>>0>=l>>>0){d=i;e=h;break d}h=w[e+2|0];t[(i+j|0)+37|0]=h;c=e+3|0;f=h|f<<8;d=d+3|0;if((d|0)!=4){break f}}e=c;d=4;break e}if(c>>>0>=l>>>0){e=c;break d}c=w[e+3|0];t[(d+j|0)+37|0]=c;d=4;e=e+4|0;f=c|f<<8}h:{if(!((f&-2048)==55296|f>>>0>1114111)){i:{j:{if(f>>>0<=65535){u[g>>1]=f;i=1;c=k;g=g+2|0;break j}u[g>>1]=(f>>>10|0)-10304;v[k>>2]=n;c=k+4|0;o=f&1023|-9216;i=2;h=g+2|0;if(h>>>0>=m>>>0){break i}u[g+2>>1]=o;g=g+4|0}v[c>>2]=n;n=d+n|0;k=(i<<2)+k|0;break h}d=v[a+4>>2];t[d+65|0]=1;u[d+116>>1]=o;v[b>>2]=15;k=c;g=h;break c}t[v[a+4>>2]+36|0]=d;v[b>>2]=12;break c}c=0;continue}break}c=v[a+4>>2];t[c+36|0]=d;v[c+44>>2]=f+1}if(!(g>>>0>>0|e>>>0>=l>>>0|v[b>>2]>0)){v[b>>2]=15}v[a+24>>2]=k;v[a+8>>2]=e;v[a+16>>2]=g}function zR(a,b){var c=0,d=0,e=0,f=0,g=0;a:{c=w[a+9|0];if(c>>>0<8){break a}d=w[a+8|0];if(d&2){break a}e=v[a>>2];b:{c:{switch(d|0){case 0:if((c|0)==8){if(!e){break b}b=(b+e|0)-1|0;c=b+(e<<1)|0;if((e|0)!=1){d=e&-2;while(1){t[c|0]=w[b|0];t[c-1|0]=w[b|0];t[c-2|0]=w[b|0];f=b-1|0;t[c-3|0]=w[f|0];t[c-4|0]=w[f|0];t[c-5|0]=w[f|0];c=c-6|0;b=b-2|0;d=d-2|0;if(d){continue}break}}if(!(e&1)){break b}t[c|0]=w[b|0];t[c-1|0]=w[b|0];t[c-2|0]=w[b|0];break b}if(!e){break b}b=((e<<1)+b|0)-1|0;c=b+(e<<2)|0;d=0;while(1){t[c|0]=w[b|0];f=b-1|0;t[c-1|0]=w[f|0];t[c-2|0]=w[b|0];t[c-3|0]=w[f|0];t[c-4|0]=w[b|0];t[c-5|0]=w[f|0];c=c-6|0;b=b-2|0;d=d+1|0;if((d|0)!=(e|0)){continue}break};break b;case 4:break c;default:break b}}if((c|0)==8){if(!e){break b}c=e<<1;b=(c+b|0)-1|0;c=b+c|0;d=0;while(1){t[c|0]=w[b|0];f=b-1|0;t[c-1|0]=w[f|0];t[c-2|0]=w[f|0];t[c-3|0]=w[f|0];c=c-4|0;b=b-2|0;d=d+1|0;if((d|0)!=(e|0)){continue}break}break b}if(!e){break b}c=e<<2;b=(c+b|0)-1|0;c=b+c|0;d=0;while(1){t[c|0]=w[b|0];t[c-1|0]=w[b-1|0];f=b-2|0;t[c-2|0]=w[f|0];g=b-3|0;t[c-3|0]=w[g|0];t[c-4|0]=w[f|0];t[c-5|0]=w[g|0];t[c-6|0]=w[f|0];t[c-7|0]=w[g|0];c=c-8|0;b=b-4|0;d=d+1|0;if((d|0)!=(e|0)){continue}break}}b=w[a+10|0]+2|0;t[a+10|0]=b;t[a+8|0]=w[a+8|0]|2;b=B(b,w[a+9|0]);t[a+11|0]=b;b=b&255;d:{if(b>>>0>=8){b=B(b>>>3|0,e);break d}b=B(b,e)+7>>>3|0}v[a+4>>2]=b}}function VI(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=Ma-16|0;Ma=c;v[c+12>>2]=v[a>>2];d=v[a+8>>2];Hg(c+12|0,d);b=v[c+12>>2];a:{if(d>>>0<=b>>>0){break a}b:{c:{d:{e:{f:{g:{h:{i:{e=w[b|0];switch(e-40|0){case 1:case 2:case 3:case 4:case 5:case 6:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 21:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 48:case 49:case 50:case 52:break c;case 7:break d;case 22:break e;case 20:break f;case 0:break g;case 51:case 53:break i;default:break h}}v[c+12>>2]=b+1;break b}if((e|0)!=123){break c}e=v_(c+12|0,d);break a}e=UI(c+12|0,d);break a}if(!(w[b+1|0]!=60|b+1>>>0>=d>>>0)){v[c+12>>2]=b+2;break b}e=u_(c+12|0,d);break a}f=b+1|0;v[c+12>>2]=f;e=3;if(w[f|0]!=62|d>>>0<=f>>>0){break a}v[c+12>>2]=b+2;break b}b=b+1|0}j:{if(b>>>0>=d>>>0){break j}while(1){k:{switch(w[b|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break j;default:break k}}b=b+1|0;if((d|0)!=(b|0)){continue}break}b=d}v[c+12>>2]=b}e=0}b=a;f=v[c+12>>2];if(f>>>0>>0){e=(f|0)==v[a>>2]?3:e}v[b+12>>2]=e;v[a>>2]=d>>>0>>0?d:f;Ma=c+16|0}function b3(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;i=Ma-16|0;Ma=i;a:{if(!c){break a}v[c>>2]=0;if(!a|((a?v[a+8>>2]:-1)|0)!=1){break a}e=d;b:{if(e){break b}e=0;g=Yb(256,4);if(!g){break b}while(1){v[g+(e<<2)>>2]=(((((((e&1)+(e>>>7|0)|0)+(e>>>1&1)|0)+(e>>>2&1)|0)+(e>>>3&1)|0)+(e>>>4&1)|0)+(e>>>5&1)|0)+(e>>>6&1);e=e+1|0;if((e|0)!=256){continue}break}e=g}j=i+12|0;g=i+8|0;if(a){if(j){v[j>>2]=v[a>>2]}if(g){v[g>>2]=v[a+4>>2]}}j=a?v[a+12>>2]:-1;g=a?v[a+40>>2]:0;l=v[i+8>>2];c:{if((l|0)<1){break c}a=v[i+12>>2];m=a&31;o=-1<<32-m;d:{if((a|0)>=32){a=a>>5;p=(a|0)>1?a:1;a=0;while(1){f=(B(j,n)<<2)+g|0;h=0;while(1){k=v[(h<<2)+f>>2];if(k){a=v[(k>>>22&1020)+e>>2]+(v[(k>>>14&1020)+e>>2]+(v[(k>>>6&1020)+e>>2]+(v[((k&255)<<2)+e>>2]+a|0)|0)|0)|0}h=h+1|0;if((p|0)!=(h|0)){continue}break}e:{if(!m){break e}f=v[(p<<2)+f>>2]&o;if(!f){break e}a=v[(f>>>22&1020)+e>>2]+(v[(f>>>14&1020)+e>>2]+(v[(f>>>6&1020)+e>>2]+(v[((f&255)<<2)+e>>2]+a|0)|0)|0)|0}if((a|0)>(b|0)){break d}n=n+1|0;if((n|0)!=(l|0)){continue}break}break c}if(m){a=0;while(1){f=v[(B(h,j)<<2)+g>>2]&o;if(f){a=v[(f>>>22&1020)+e>>2]+(v[(f>>>14&1020)+e>>2]+(v[(f>>>6&1020)+e>>2]+(v[((f&255)<<2)+e>>2]+a|0)|0)|0)|0}if((a|0)>(b|0)){break d}h=h+1|0;if((l|0)!=(h|0)){continue}break}break c}if((b|0)<0){break d}break c}v[c>>2]=1}if(d){break a}$a(e)}Ma=i+16|0}function Oq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=v[a+88>>2];if(t[a+8|0]&1){a:{b:{c:{d:{e:{switch(v[b>>2]){case 0:g=x[a+68>>1];e=g;break c;case 2:f=v[a+60>>2]-v[a+52>>2]|0;e=v[a- -64>>2]-v[a+56>>2]|0;break d;case 3:f=u[a+76>>1];e=u[a+70>>1]-u[a+72>>1]|0;break d;case 4:d=v[b+4>>2];v[c+16>>2]=d;e=v[b+8>>2];v[c+20>>2]=e;if(!d){v[c+16>>2]=e;d=0;break b}if(e){d=0;break b}v[c+20>>2]=d;d=0;break b;case 1:break e;default:break c}}f=u[a+70>>1]-u[a+72>>1]|0;e=f}d=e;d=d>>31;e=e+d^d;d=f>>31;g=d+f^d}h=v[b+4>>2];f=h;d=v[b+12>>2];if(d){f=(B(d,h)+36|0)/72|0}d=v[b+8>>2];i=v[b+16>>2];if(i){d=(B(d,i)+36|0)/72|0}if(h){h=Ub(f,g);v[c+16>>2]=h;if(v[b+8>>2]){g=Ub(d,e);v[c+20>>2]=g;e=v[b>>2];if((e|0)!=3){break a}e=v[c+16>>2];if((e|0)<(g|0)){v[c+20>>2]=e;break b}v[c+16>>2]=g;break b}v[c+20>>2]=h;d=fc(f,e,g);break b}f=Ub(d,e);v[c+16>>2]=f;v[c+20>>2]=f;f=fc(d,g,e)}e=v[b>>2]}b=c;if(e){f=xb(x[a+68>>1],v[c+16>>2]);d=xb(x[a+68>>1],v[c+20>>2])}u[b+14>>1]=d+32>>>6;u[c+12>>1]=f+32>>>6;j=c,k=xb(u[a+70>>1],v[c+20>>2])+63&-64,v[j+24>>2]=k;j=c,k=xb(u[a+72>>1],v[c+20>>2])&-64,v[j+28>>2]=k;j=c,k=xb(u[a+74>>1],v[c+20>>2])+32&-64,v[j+32>>2]=k;j=c,k=xb(u[a+76>>1],v[c+16>>2])+32&-64,v[j+36>>2]=k;return}v[c+12>>2]=0;v[c+16>>2]=0;v[c+36>>2]=0;v[c+28>>2]=0;v[c+32>>2]=0;v[c+20>>2]=0;v[c+24>>2]=0;v[c+16>>2]=65536;v[c+20>>2]=65536}function Fc(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;f=Ma-16|0;Ma=f;a:{if(!(v[a+172>>2]==3|v[a+40>>2]!=1)){while(1){c=v[a+36>>2];b=v[c+16>>2];while(1){b:{c:{d=w[b|0];if((d|0)==32){break c}d:{if((d-9&255)>>>0>=2){if((d|0)!=13){break d}break c}if((d|0)!=10){break c}v[c+32>>2]=1;v[c+28>>2]=v[c+28>>2]+1;break b}v[c+16>>2]=b;break a}v[c+32>>2]=v[c+32>>2]+1}g=g+1|0;d=w[b+1|0];e=b+1|0;b=e;if(d){continue}break}v[c+16>>2]=e;Zb(c);continue}}while(1){e:{f:{g:{h:{i:{b=w[v[v[a+36>>2]+16>>2]];switch(b|0){case 9:case 10:case 13:case 32:break h;case 0:break i;default:break f}}b=v[a+40>>2];if((b|0)>1){break g}break a}if(v[a+172>>2]==-1){break e}Bc(a);g=g+1|0;continue}while(1){if(v[a+172>>2]==5){break a}while(1){j:{k:{l:{if(!v[291060]){c=b-1|0;v[a+40>>2]=c;e=v[a+48>>2];break l}v[f>>2]=b;e=0;Qa[v[256654]](v[291043],344907,f);b=v[a+40>>2];if((b|0)<1){break j}c=b-1|0;v[a+40>>2]=c;e=v[a+48>>2];h=0;d=0;if((b|0)==1){break k}}h=v[((b<<2)+e|0)-8>>2];d=c}v[a+36>>2]=h;c=(d<<2)+e|0;e=v[c>>2];v[c>>2]=0}Vh(e);c=v[a+36>>2];m:{if(w[v[c+16>>2]]){break m}if((Zb(c)|0)>0){break m}b=v[a+40>>2];if((b|0)>1){continue}}break}b=w[v[v[a+36>>2]+16>>2]];if(b){break f}b=v[a+40>>2];if((b|0)>=2){continue}break}break a}if((b|0)!=37){break e}zc(a)}c=b-9|0;if(c>>>0>23|!(1<>2]!=-1){continue}break}}Ma=f+16|0;return g}function Sda(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;var j=0,k=0,l=0;k=(g|0)/8|0;a:{if(!f){break a}f=f-1|0;j=v[a+60>>2];if(e>>>0>=8){l=(e-(e-8&-8)|0)-9|0;while(1){a=f;g=e;while(1){d=i;c=b;f=v[(w[i|0]<<2)+j>>2];v[b>>2]=v[f>>2];v[b+4>>2]=v[f+4>>2];v[b+8>>2]=v[f+8>>2];v[b+12>>2]=v[f+12>>2];v[b+16>>2]=v[f+16>>2];v[b+20>>2]=v[f+20>>2];v[b+24>>2]=v[f+24>>2];v[b+28>>2]=v[f+28>>2];b=b+32|0;i=i+1|0;g=g-8|0;if(g>>>0>7){continue}break}b:{if(g){g=2;i=v[(w[i|0]<<2)+j>>2];c:{switch(l|0){case 6:v[c+32>>2]=v[i>>2];b=c+36|0;i=i+4|0;case 5:v[b>>2]=v[i>>2];b=b+4|0;i=i+4|0;case 4:v[b>>2]=v[i>>2];b=b+4|0;i=i+4|0;case 3:v[b>>2]=v[i>>2];b=b+4|0;i=i+4|0;case 2:v[b>>2]=v[i>>2];b=b+4|0;i=i+4|0;case 1:v[b>>2]=v[i>>2];b=b+4|0;i=i+4|0;break;case 0:break c;default:break b}}v[b>>2]=v[i>>2];b=b+4|0;break b}g=1}f=a-1|0;i=(d+k|0)+g|0;b=(h<<2)+b|0;if(a){continue}break}break a}if(!e){break a}c=e-1|0;while(1){a=f;d=i+1|0;f=v[(w[i|0]<<2)+j>>2];d:{switch(c|0){case 6:v[b>>2]=v[f>>2];b=b+4|0;f=f+4|0;case 5:v[b>>2]=v[f>>2];b=b+4|0;f=f+4|0;case 4:v[b>>2]=v[f>>2];b=b+4|0;f=f+4|0;case 3:v[b>>2]=v[f>>2];b=b+4|0;f=f+4|0;case 2:v[b>>2]=v[f>>2];b=b+4|0;f=f+4|0;case 1:v[b>>2]=v[f>>2];b=b+4|0;f=f+4|0;case 0:v[b>>2]=v[f>>2];b=b+4|0;break;default:break d}}f=a-1|0;i=d+k|0;b=(h<<2)+b|0;if(a){continue}break}}}function Fxa(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;a:{if(!a){break a}g=v[a+52>>2];i=v[a+8>>2];h=Ma-16|0;Ma=h;b:{if(!b){break b}f=b;d=Qa[v[256552]](60)|0;if(!d){v[h>>2]=311356;nb(0,0,0,0,0,2,2,3,311356,0,0,0,340689,h);d=0;break b}v[d>>2]=0;v[d+4>>2]=0;v[d+56>>2]=0;v[d+48>>2]=0;v[d+52>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=0;v[d+36>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d+4>>2]=7;c:{d:{if(!i){break d}e=v[i+80>>2];if(!e){break d}b=Zc(e,f,-1);break c}while(1){e=b;b=b+1|0;if(w[e|0]){continue}break}b=0;e=e-f|0;if((e|0)<0){break c}j=Qa[v[256555]](e+1|0)|0;if(!j){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break c}b=cb(j,f,e);t[e+b|0]=0}v[d+8>>2]=b;if(c){b=c;while(1){f=b;b=b+1|0;if(w[f|0]){continue}break}b=0;f=f-c|0;e:{if((f|0)<0){break e}e=Qa[v[256555]](f+1|0)|0;if(!e){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break e}b=cb(e,c,f);t[f+b|0]=0}v[d+40>>2]=b}v[d+32>>2]=i;if(!v[291069]){break b}b=v[291066];if(!b){break b}Qa[b|0](d)}Ma=h+16|0;if(!d){break a}f:{if(!v[a+280>>2]){break f}b=v[a+36>>2];if(!b){break f}b=v[b+28>>2];u[d+56>>1]=(b|0)<65535?b:65535}g:{switch(v[a+216>>2]-1|0){case 0:Df(v[v[a+8>>2]+44>>2],d);return;case 1:Df(v[v[a+8>>2]+48>>2],d);return;default:break g}}if(!g){Df(v[a+8>>2],d);return}if(v[g+4>>2]==1){Df(g,d);return}hA(g,d)}}function Fea(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=Ma-16|0;Ma=f;a:{if((c|0)<1){break a}c=c-1|0;if(!d){while(1){d=c;c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;c=a;e=v[b+8>>2];if(e){v[e+4>>2]=v[e+4>>2]+1;e=v[b+8>>2]}else{e=0}v[c+8>>2]=e;e=a+12|0;v[e>>2]=0;v[a+16>>2]=v[279250];c=v[b+12>>2];b:{if(c){Qa[v[v[c>>2]+28>>2]](f+8|0,c,1);break b}v[f+8>>2]=0}jb(e,f+8|0);c=v[f+8>>2];v[f+8>>2]=0;c:{if(!c){break c}e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(e){break c}e=v[c+4>>2];if(!e){v[c+4>>2]=-32767}if(!e){Qa[v[v[c>>2]+4>>2]](c)}}c=v[a+12>>2];v[a+16>>2]=v[(c?c+12|0:1117e3)>>2];c=d-1|0;b=b+20|0;a=a+20|0;if((d|0)>0){continue}break a}}while(1){d=c;c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;c=a;e=v[b+8>>2];if(e){v[e+4>>2]=v[e+4>>2]+1;e=v[b+8>>2]}else{e=0}v[c+8>>2]=e;e=a+12|0;v[e>>2]=0;v[a+16>>2]=v[279250];g=b+12|0;c=v[g>>2];d:{if(c){Qa[v[v[c>>2]+28>>2]](f+8|0,c,1);break d}v[f+8>>2]=0}jb(e,f+8|0);c=v[f+8>>2];v[f+8>>2]=0;e:{if(!c){break e}e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(e){break e}e=v[c+4>>2];if(!e){v[c+4>>2]=-32767}if(!e){Qa[v[v[c>>2]+4>>2]](c)}}c=v[a+12>>2];v[a+16>>2]=v[(c?c+12|0:1117e3)>>2];db(g);c=v[b+8>>2];v[b+8>>2]=0;f:{if(!c){break f}e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(e){break f}e=v[c+4>>2];if(!e){v[c+4>>2]=-32767}if(!e){Qa[v[v[c>>2]+4>>2]](c)}}c=d-1|0;b=b+20|0;a=a+20|0;if((d|0)>0){continue}break}}Ma=f+16|0}function $da(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;var j=0,k=0,l=0;k=(g|0)/8|0;a:{if(!f){break a}f=f-1|0;j=v[a+64>>2];if(e>>>0>=8){l=(e-(e-8&-8)|0)-9|0;while(1){a=f;g=e;while(1){d=i;c=b;f=v[(w[i|0]<<2)+j>>2];v[b>>2]=v[f>>2];v[b+4>>2]=v[f+4>>2];v[b+8>>2]=v[f+8>>2];v[b+12>>2]=v[f+12>>2];v[b+16>>2]=v[f+16>>2];v[b+20>>2]=v[f+20>>2];v[b+24>>2]=v[f+24>>2];v[b+28>>2]=v[f+28>>2];b=b+32|0;i=i+1|0;g=g-8|0;if(g>>>0>7){continue}break}b:{if(g){g=2;i=v[(w[i|0]<<2)+j>>2];c:{switch(l|0){case 6:v[c+32>>2]=v[i>>2];b=c+36|0;i=i+4|0;case 5:v[b>>2]=v[i>>2];b=b+4|0;i=i+4|0;case 4:v[b>>2]=v[i>>2];b=b+4|0;i=i+4|0;case 3:v[b>>2]=v[i>>2];b=b+4|0;i=i+4|0;case 2:v[b>>2]=v[i>>2];b=b+4|0;i=i+4|0;case 1:v[b>>2]=v[i>>2];b=b+4|0;i=i+4|0;break;case 0:break c;default:break b}}v[b>>2]=v[i>>2];b=b+4|0;break b}g=1}f=a-1|0;i=(d+k|0)+g|0;b=(h<<2)+b|0;if(a){continue}break}break a}if(!e){break a}c=e-1|0;while(1){a=f;d=i+1|0;f=v[(w[i|0]<<2)+j>>2];d:{switch(c|0){case 6:v[b>>2]=v[f>>2];b=b+4|0;f=f+4|0;case 5:v[b>>2]=v[f>>2];b=b+4|0;f=f+4|0;case 4:v[b>>2]=v[f>>2];b=b+4|0;f=f+4|0;case 3:v[b>>2]=v[f>>2];b=b+4|0;f=f+4|0;case 2:v[b>>2]=v[f>>2];b=b+4|0;f=f+4|0;case 1:v[b>>2]=v[f>>2];b=b+4|0;f=f+4|0;case 0:v[b>>2]=v[f>>2];b=b+4|0;break;default:break d}}f=a-1|0;i=d+k|0;b=(h<<2)+b|0;if(a){continue}break}}}function jy(a,b,c,d,e){var f=0,g=0;g=Ma-256|0;Ma=g;v[e+16>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;v[e+4>>2]=c;v[e>>2]=0;a:{if((d|0)==-1){v[e>>2]=b;break a}if((d|0)>=3){Vj(g,1,1,d);dq(a,g,50057)}SQ(a,2);v[a+212>>2]=b;v[a+216>>2]=c;b=v[a+272>>2];v[a+224>>2]=v[a+268>>2];v[a+228>>2]=b;c=a+212|0;b:{c:{while(1){if(ck(c,0)){b=v[a+236>>2];if(b){break c}dc(a,48900);L()}if(!v[a+228>>2]){b=v[e+8>>2];d=v[e+12>>2];d:{if((b|0)<(d|0)){break d}f=b+4|0;v[e+12>>2]=f;b=v[e+16>>2];f=fg(a,f<<2);v[e+16>>2]=f;if(!b){break d}cb(f,b,d<<2);Tb(a,b)}b=fg(a,v[a+272>>2]);d=v[e+8>>2]<<2;v[d+v[e+16>>2]>>2]=b;cb(v[d+v[e+16>>2]>>2],v[a+268>>2],v[a+272>>2]);v[e+8>>2]=v[e+8>>2]+1;b=v[a+272>>2];v[a+224>>2]=v[a+268>>2];v[a+228>>2]=b}if(v[a+216>>2]){continue}break}while(1){e:{b=ck(c,4);if(b){if((b|0)!=1){break e}b=v[a+272>>2];a=b-v[a+228>>2]|0;c=(a>>>0>b>>>0?0:a)+B(b,v[e+8>>2])|0;break a}if(v[a+228>>2]){continue}b=v[e+8>>2];d=v[e+12>>2];f:{if((b|0)<(d|0)){break f}f=b+4|0;v[e+12>>2]=f;b=v[e+16>>2];f=fg(a,f<<2);v[e+16>>2]=f;if(!b){break f}cb(f,b,d<<2);Tb(a,b)}b=fg(a,v[a+272>>2]);d=v[e+8>>2]<<2;v[d+v[e+16>>2]>>2]=b;cb(v[d+v[e+16>>2]>>2],v[a+268>>2],v[a+272>>2]);v[e+8>>2]=v[e+8>>2]+1;b=v[a+272>>2];v[a+224>>2]=v[a+268>>2];v[a+228>>2]=b;continue}break}b=v[a+236>>2];if(b){break b}dc(a,48900);L()}dc(a,b);L()}dc(a,b);L()}Ma=g+256|0;return c}function Xua(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,p=0,q=0,r=0;f=eb(a,0,256);while(1){d=v[(j<<2)+b>>2]+c|0;k=w[d+5|0];l=w[d+1|0];h=k+l|0;i=w[d+3|0];g=w[d+4|0];m=w[d+2|0];e=g+m|0;o=w[d+6|0];p=w[d|0];d=o+p|0;n=e+d|0;v[f>>2]=((h+i|0)+n<<2)-3584;n=B(n-(i<<2)|0,2896);q=B(d-h|0,7223)+1024|0;d=B(d-e|0,7542);v[f+24>>2]=n+(q-d|0)>>11;e=B(h-e|0,2578);v[f+16>>2]=(e+q|0)+B(h-(i<<1)|0,-5793)>>11;v[f+8>>2]=(n+(d+e|0)|0)+1024>>11;d=m-g|0;h=p-o|0;i=B(d+h|0,5027)+1024|0;g=i+B(d,15326)|0;e=d;d=l-k|0;e=B(e+d|0,-11295);v[f+20>>2]=g+e>>11;g=e;e=B(h-d|0,1395);d=B(d+h|0,7663);v[f+12>>2]=((g+e|0)+d|0)+1024>>11;v[f+4>>2]=d+(i-e|0)>>11;f=f+32|0;j=j+1|0;if((j|0)!=7){continue}break}while(1){i=v[a+128>>2];e=v[a+64>>2];f=i+e|0;k=v[a+192>>2];l=v[a>>2];d=k+l|0;g=f+d|0;c=v[a+96>>2];h=v[a+160>>2];j=v[a+32>>2];b=h+j|0;v[a>>2]=B(g+(c+b|0)|0,10700)+16384>>15;g=B(g-(c<<2)|0,3783);m=B(d-b|0,9434)+16384|0;d=B(d-f|0,9850);v[a+192>>2]=g+(m-d|0)>>15;f=B(b-f|0,3367);v[a+128>>2]=(f+m|0)+B(b-(c<<1)|0,-7566)>>15;v[a+64>>2]=(g+(d+f|0)|0)+16384>>15;b=e-i|0;c=l-k|0;f=B(b+c|0,6565)+16384|0;e=f+B(b,20017)|0;d=b;b=j-h|0;d=B(d+b|0,-14752);v[a+160>>2]=e+d>>15;e=d;d=B(c-b|0,1822);b=B(b+c|0,10009);v[a+96>>2]=((e+d|0)+b|0)+16384>>15;v[a+32>>2]=b+(f-d|0)>>15;a=a+4|0;r=r+1|0;if((r|0)!=7){continue}break}}function Rz(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;h=Ma-128|0;Ma=h;a:{if(!c){break a}e=v[c+8>>2];if(!e){break a}b:{d=v[c+36>>2];c:{d:{if(!d){break d}f=v[d+12>>2];if(!f){break d}if(hb(e,288690)){break d}if(!hb(f,258604)){break c}}if(!a|!(v[a+44>>2]|v[a+48>>2])&v[a+4>>2]!=13){break a}if(v[a+4>>2]==13){g=1;if(Ef(288690,e)){break a}if(!Ef(280032,v[c+8>>2])){break b}if(!b){break a}if(Ef(v[b+8>>2],306608)){break a}break b}if(!b){break a}e:{f:{e=v[b+36>>2];if(!e){break f}e=v[e+12>>2];if(!e){break f}g=Ns(v[b+8>>2],e,h- -64|0,50);d=v[c+36>>2];break e}g=v[b+8>>2]}g:{h:{if(!d){break h}d=v[d+12>>2];if(!d){break h}e=Ns(v[c+8>>2],d,h,50);break g}e=v[c+8>>2]}d=0;i:{if(!g|!e){break i}d=v[a+44>>2];v[h+124>>2]=0;j:{if(!d){break j}d=v[d+44>>2];if(!d){break j}f=Co(e,h+124|0);k:{if(f){d=le(d,f,v[h+124>>2],g);i=v[h+124>>2];if(i){Qa[v[256556]](i)}Qa[v[256556]](f);break k}d=le(d,e,0,g)}if(d){break i}}f=v[a+48>>2];if(!f){d=0;break i}d=0;a=Ma-16|0;Ma=a;v[a+12>>2]=0;l:{if(!f){break l}f=v[f+44>>2];if(!f){break l}i=Co(e,a+12|0);if(i){d=le(f,i,v[a+12>>2],g);f=v[a+12>>2];if(f){Qa[v[256556]](f)}Qa[v[256556]](i);break l}d=le(f,e,0,g)}Ma=a+16|0}if(!((e|0)==(h|0)|(e|0)==v[c+8>>2])){Qa[v[256556]](e)}if(!((h- -64|0)==(g|0)|v[b+8>>2]==(g|0))){Qa[v[256556]](g)}if(!d|v[d+40>>2]!=2){break b}}g=1;break a}g=0}Ma=h+128|0;return g}function qWa(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;a:{if(w[a+286|0]|!w[a+285|0]|(w[a+287|0]|w[a+288|0])){break a}if(w[a+289|0]){break a}b:{if(!(w[a+301|0]|y[a+272>>2]<3)){t[a+503|0]=1;f=1029;if(!ob(a,1029,0,0)){break b}}if(w[a+305|0]){break a}if(w[a+304|0]){ob(a,1031,0,0);return 1031}c:{switch(c-1|0){default:ob(a,1028,0,0);return 1028;case 0:case 9:break c}}t[a+304|0]=1;if(c>>>0>=2){c=w[d+6|0]|w[d+7|0]<<8|(w[d+8|0]<<16|w[d+9|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);h=w[d+1|0];c=w[d+2|0]|w[d+3|0]<<8|(w[d+4|0]<<16|w[d+5|0]<<24);i=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)}d=w[d|0];d:{c=v[a+216>>2];if(!c){break d}if(Qa[c|0](a,d,h,i,g)|0){break d}ob(a,904,0,0);return 904}f=0;e:{if(!w[a+114|0]){break e}c=Qa[v[a+152>>2]](40)|0;if(!c){ob(a,1,0,0);f=1;break e}v[c+4>>2]=731;v[c>>2]=732;f=v[a+700>>2];f:{if(f){v[f+8>>2]=c;break f}v[a+696>>2]=c}v[c+8>>2]=0;v[c+12>>2]=f;v[a+700>>2]=c;v[c+16>>2]=v[a+436>>2];v[c+20>>2]=v[a+440>>2];v[c+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=c}v[c+36>>2]=g;v[c+32>>2]=i;t[c+29|0]=h;t[c+28|0]=d;f=0}if(f){break b}v[a+520>>2]=v[a+700>>2];f=0;if(!w[a+112|0]){break b}f=Qa[v[b+4>>2]](a,b,e)|0;if(f){break b}a=v[e>>2];v[a+40>>2]=g;v[a+36>>2]=i;t[a+33|0]=h;t[a+32|0]=d;f=0}return f|0}ob(a,1029,0,0);return 1029}function hQa(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=1;a:{if(!v[a+16>>2]){break a}a=v[a+20>>2];if(!a){break a}m=A[b>>3];l=A[c>>3];p=-A[f>>3];i=-A[g>>3];j=A[d>>3];h=A[e>>3];if(!(j<=0|h<=0)){b=v[a+4>>2];c=v[b>>2];b:{if(c){c=c-1|0;if(!(w[v[v[b+16>>2]+(c>>>6&67108860)>>2]+(c&255)|0]&64)){break b}}k=p*3.141592653589793/180;o=oe(k);q=_d(k);k=h*.5;n=o;o=j*.5;n=ef(q/k,n/o);if(!(i<360)){break b}t[b+25|0]=1;q=_d(n);Td(b,o+m+o*oe(n),k+l-k*q,1)}c:{if(D(i)>=360){b=v[a+4>>2];t[b+25|0]=1;j=j*.5;i=j+m;m=i-j;k=h*.5;h=k+l;Td(b,m,h,1);b=v[a+4>>2];p=k*.552;o=p+h;Td(b,m,o,4);n=j*.552;q=i-n;l=h+k;Td(b,q,l,4);Td(b,i,l,4);b=v[a+4>>2];n=n+i;Td(b,n,l,4);j=i+j;Td(b,j,o,4);Td(b,j,h,4);b=v[a+4>>2];l=h-p;Td(b,j,l,4);j=h-k;Td(b,n,j,4);Td(b,i,j,4);a=v[a+4>>2];Td(a,q,j,4);Td(a,m,l,4);Td(a,m,h,4);break c}j=j*.5;m=j+m;k=h*.5;l=k+l;h=360-(p+i);b=i>0;i=360-p;if(i<0){while(1){i=i+360;if(i<0){continue}break}}if(i>360){while(1){i=i+-360;if(i>360){continue}break}}if(h<0){while(1){h=h+360;if(h<0){continue}break}}if(h>=360){while(1){h=h+-360;if(h>=360){continue}break}}d:{if(!b){if(h>=i){st(a,m,l,j,k,i,h,0);break d}st(a,m,l,j,k,i,360,0);st(a,m,l,j,k,0,h,0);break d}if(h<=i){st(a,m,l,j,k,i,h,1);break d}st(a,m,l,j,k,i,0,1);st(a,m,l,j,k,360,h,1)}}}r=0}return r|0}function nIa(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;g=Ma-16|0;Ma=g;j=v[a+84>>2];a:{b:{c:{f=v[a+8>>2];if(!(f&8)){i=d&16;break c}f=!(v[a+4>>2]&2147418112|f&32768);i=d&16;if(i){if(!f){h=7;if(!(w[a+740|0]&16)){break a}}if(!w[a+292|0]){break c}if(!c){break b}h=0;f=0;if((c|0)!=1){d=c&-2;while(1){j=g+14|0;i=g+12|0;Qa[v[v[a+540>>2]+140>>2]](a,1,b+f|0,j,i);v[(f<<2)+e>>2]=x[g+12>>1];k=f|1;Qa[v[v[a+540>>2]+140>>2]](a,1,k+b|0,j,i);v[(k<<2)+e>>2]=x[g+12>>1];f=f+2|0;d=d-2|0;if(d){continue}break}}if(!(c&1)){break a}Qa[v[v[a+540>>2]+140>>2]](a,1,b+f|0,g+14|0,g+12|0);v[(f<<2)+e>>2]=x[g+12>>1];break a}if(!f){h=7;if(!(w[a+740|0]&2)){break a}}if(!x[a+250>>1]){break c}if(!c){break b}h=0;f=0;if((c|0)!=1){d=c&-2;while(1){j=g+14|0;i=g+10|0;Qa[v[v[a+540>>2]+140>>2]](a,0,b+f|0,j,i);v[(f<<2)+e>>2]=x[g+10>>1];k=f|1;Qa[v[v[a+540>>2]+140>>2]](a,0,k+b|0,j,i);v[(k<<2)+e>>2]=x[g+10>>1];f=f+2|0;d=d-2|0;if(d){continue}break}}if(!(c&1)){break a}Qa[v[v[a+540>>2]+140>>2]](a,0,b+f|0,g+14|0,g+10|0);v[(f<<2)+e>>2]=x[g+10>>1];break a}f=0;h=c?37:0;if(!c|!j){break a}k=j+(i?60:56)|0;while(1){h=v[a+88>>2];i=(h?256:259)|d;l=i&1?0:h;if(!(!l|v[h>>2]==v[j+4>>2])){h=35;break a}h=R_(j,l,b+f|0,i);if(h){break a}v[(f<<2)+e>>2]=v[k>>2];f=f+1|0;if((f|0)!=(c|0)){continue}break}}h=0}Ma=g+16|0;return h|0}function yda(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Ma-16|0;Ma=e;a:{b:{if(!v[a+64>>2]){break b}if(!(w[a+92|0]&16)){v[a+16>>2]=0;v[a+12>>2]=0;v[a+8>>2]=0;c=v[a+52>>2];c:{if(c>>>0>=9){if(w[a+98|0]){f=c;c=v[a+32>>2];v[a+28>>2]=(f+c|0)-1;v[a+20>>2]=c;v[a+24>>2]=c;break c}c=v[a+56>>2];v[a+28>>2]=(c+v[a+60>>2]|0)-1;v[a+20>>2]=c;v[a+24>>2]=c;break c}v[a+28>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0}v[a+92>>2]=16}g=v[a+20>>2];i=v[a+28>>2];if((b|0)!=-1){if(!v[a+24>>2]){v[a+28>>2]=e+16;c=e+15|0;v[a+20>>2]=c;v[a+24>>2]=c}t[v[a+24>>2]]=b;v[a+24>>2]=v[a+24>>2]+1}if(v[a+24>>2]!=v[a+20>>2]){d:{if(w[a+98|0]){d=v[a+20>>2];c=v[a+24>>2]-d|0;if((Lb(d,1,c,v[a+64>>2])|0)!=(c|0)){break b}break d}v[e+8>>2]=v[a+32>>2];f=a+72|0;while(1){c=v[a+68>>2];if(c){d=v[a+32>>2];c=Qa[v[v[c>>2]+12>>2]](c,f,v[a+20>>2],v[a+24>>2],e+4|0,d,d+v[a+52>>2]|0,e+8|0)|0;if(v[a+20>>2]==v[e+4>>2]){break b}if((c|0)==3){d=v[a+20>>2];c=v[a+24>>2]-d|0;if((Lb(d,1,c,v[a+64>>2])|0)!=(c|0)){break b}break d}if(c>>>0>1){break b}h=v[a+32>>2];d=v[e+8>>2]-h|0;if((Lb(h,1,d,v[a+64>>2])|0)!=(d|0)){break b}if((c|0)!=1){break d}c=v[e+4>>2];v[a+28>>2]=v[a+24>>2];v[a+20>>2]=c;v[a+24>>2]=c;v[a+24>>2]=v[a+24>>2]+(v[a+28>>2]-v[a+20>>2]|0);continue}break}_f();L()}v[a+28>>2]=i;v[a+20>>2]=g;v[a+24>>2]=g}a=(b|0)==-1?0:b;break a}a=-1}Ma=e+16|0;return a|0}function wl(a,b){var c=0,d=0,e=0,f=0,g=0;if(a){d=v[a>>2];if(d){a:{e=v[a+4>>2];if((e|0)<1){break a}f=v[a+8>>2];if((f|0)<1){break a}if(!b){while(1){b=B(g,24)+d|0;if(!(!v[b+20>>2]|!d)){e=v[b>>2];b:{if(v[a+12>>2]){break b}c=v[b+4>>2];if(c){Qa[v[256556]](c)}c=v[b+8>>2];if(c){Qa[v[256556]](c)}c=v[b+12>>2];if(!c){break b}Qa[v[256556]](c)}v[b+16>>2]=0;while(1){f=f-1|0;if(e){b=e;e=v[b>>2];c:{if(v[a+12>>2]){break c}c=v[b+4>>2];if(c){Qa[v[256556]](c)}c=v[b+8>>2];if(c){Qa[v[256556]](c)}c=v[b+12>>2];if(!c){break c}Qa[v[256556]](c)}v[b+16>>2]=0;Qa[v[256556]](b);continue}else{e=v[a+4>>2]}break}}g=g+1|0;if((f|0)<1|(g|0)>=(e|0)){break a}d=v[a>>2];continue}}while(1){c=B(g,24)+d|0;if(!(!v[c+20>>2]|!d)){e=v[c>>2];d=v[c+16>>2];if(d){Qa[b|0](d,v[c+4>>2])}d:{if(v[a+12>>2]){break d}d=v[c+4>>2];if(d){Qa[v[256556]](d)}d=v[c+8>>2];if(d){Qa[v[256556]](d)}d=v[c+12>>2];if(!d){break d}Qa[v[256556]](d)}v[c+16>>2]=0;while(1){f=f-1|0;if(e){c=e;e=v[c>>2];d=v[c+16>>2];if(d){Qa[b|0](d,v[c+4>>2])}e:{if(v[a+12>>2]){break e}d=v[c+4>>2];if(d){Qa[v[256556]](d)}d=v[c+8>>2];if(d){Qa[v[256556]](d)}d=v[c+12>>2];if(!d){break e}Qa[v[256556]](d)}v[c+16>>2]=0;Qa[v[256556]](c);continue}break}e=v[a+4>>2]}g=g+1|0;if((f|0)<1|(g|0)>=(e|0)){break a}d=v[a>>2];continue}}Qa[v[256556]](v[a>>2])}b=v[a+12>>2];if(b){ln(b)}Qa[v[256556]](a)}}function tca(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,j=0,k=0,l=0,m=0;a=Ma-432|0;Ma=a;v[a+424>>2]=37;v[a+428>>2]=0;m=zx(a+424|1,311186,v[c+4>>2]);v[a+380>>2]=a+384;i=te();a:{if(m){k=v[c+8>>2];j=a- -64|0;v[j>>2]=g;v[j+4>>2]=h;v[a+56>>2]=e;v[a+60>>2]=f;v[a+48>>2]=k;i=Ih(a+384|0,30,i,a+424|0,a+48|0);break a}v[a+80>>2]=e;v[a+84>>2]=f;v[a+88>>2]=g;v[a+92>>2]=h;i=Ih(a+384|0,30,i,a+424|0,a+80|0)}v[a+128>>2]=1563;k=nf(a+368|0,0,a+128|0);l=a+384|0;j=l;b:{if((i|0)>=30){i=te();c:{if(m){j=v[c+8>>2];v[a+16>>2]=g;v[a+20>>2]=h;v[a+8>>2]=e;v[a+12>>2]=f;v[a>>2]=j;i=Xl(a+380|0,i,a+424|0,a);break c}v[a+32>>2]=e;v[a+36>>2]=f;v[a+40>>2]=g;v[a+44>>2]=h;i=Xl(a+380|0,i,a+424|0,a+32|0)}if((i|0)==-1){break b}e=v[k>>2];v[k>>2]=v[a+380>>2];if(e){Qa[v[k+4>>2]](e)}j=v[a+380>>2]}h=i+j|0;j=tj(j,h,c);v[a+128>>2]=1563;e=nf(a+120|0,0,a+128|0);d:{if(v[a+380>>2]==(a+384|0)){i=a+128|0;break d}i=gb(i<<3);if(!i){break b}f=v[e>>2];v[e>>2]=i;if(f){Qa[v[e+4>>2]](f)}l=v[a+380>>2]}f=a+104|0;g=v[c+28>>2];v[f>>2]=g;v[g+4>>2]=v[g+4>>2]+1;yO(l,j,h,i,a+116|0,a+112|0,f);f=v[f>>2];g=v[f+4>>2]-1|0;v[f+4>>2]=g;if((g|0)==-1){Qa[v[v[f>>2]+8>>2]](f)}c=Wm(b,i,v[a+116>>2],v[a+112>>2],c,d);b=v[e>>2];v[e>>2]=0;if(b){Qa[v[e+4>>2]](b)}b=v[k>>2];v[k>>2]=0;if(b){Qa[v[k+4>>2]](b)}Ma=a+432|0;return c|0}_f();L()}function Ps(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{if(!a|!b){break a}g=w[b|0];e=B(g,30);if(g){f=b;while(1){e=((e<<5)+(e>>>3|0)|0)+(g<<24>>24)^e;g=w[f+1|0];f=f+1|0;if(g){continue}break}}e=(e<<5)+(e>>>3|0)^e;b:{if(!c){break b}g=w[c|0];if(!g){break b}f=c;while(1){e=((g<<24>>24)+(e>>>3|0)|0)+(e<<5)^e;g=w[f+1|0];f=f+1|0;if(g){continue}break}}f=v[a>>2];i=(((e<<5)+(e>>>3|0)^e)>>>0)%y[a+4>>2]|0;if(!v[(f+B(i,24)|0)+20>>2]|!f){break a}e=f+B(i,24)|0;while(1){f=e;c:{j=v[e+4>>2];if((j|0)!=(b|0)){g=b;e=j;if(!e){break c}while(1){h=w[e|0];if((h|0)!=w[g|0]){break c}g=g+1|0;e=e+1|0;if(h){continue}break}}e=v[f+8>>2];if((e|0)!=(c|0)){if(!e){break c}g=c;if(!g){break c}while(1){h=w[e|0];if((h|0)!=w[g|0]){break c}g=g+1|0;e=e+1|0;if(h){continue}break}}if(v[f+12>>2]){break c}d:{if(!d){break d}b=v[f+16>>2];if(!b){break d}Qa[d|0](b,j)}v[f+16>>2]=0;e:{if(v[a+12>>2]){break e}b=v[f+4>>2];if(b){Qa[v[256556]](b)}b=v[f+8>>2];if(b){Qa[v[256556]](b)}b=v[f+12>>2];if(!b){break e}Qa[v[256556]](b)}d=v[f>>2];f:{if(k){v[k>>2]=d;Qa[v[256556]](f);break f}if(!d){v[f+20>>2]=0;break f}b=v[d+4>>2];c=v[a>>2]+B(i,24)|0;v[c>>2]=v[d>>2];v[c+4>>2]=b;b=v[d+20>>2];v[c+16>>2]=v[d+16>>2];v[c+20>>2]=b;b=v[d+12>>2];v[c+8>>2]=v[d+8>>2];v[c+12>>2]=b;Qa[v[256556]](d)}v[a+8>>2]=v[a+8>>2]-1;return}k=f;e=v[f>>2];if(e){continue}break}}}function Cca(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,j=0,k=0,l=0,m=0;a=Ma-256|0;Ma=a;v[a+248>>2]=37;v[a+252>>2]=0;m=zx(a+248|1,311186,v[c+4>>2]);v[a+204>>2]=a+208;i=te();a:{if(m){k=v[c+8>>2];j=a- -64|0;v[j>>2]=g;v[j+4>>2]=h;v[a+56>>2]=e;v[a+60>>2]=f;v[a+48>>2]=k;i=Ih(a+208|0,30,i,a+248|0,a+48|0);break a}v[a+80>>2]=e;v[a+84>>2]=f;v[a+88>>2]=g;v[a+92>>2]=h;i=Ih(a+208|0,30,i,a+248|0,a+80|0)}v[a+128>>2]=1563;k=nf(a+192|0,0,a+128|0);l=a+208|0;j=l;b:{if((i|0)>=30){i=te();c:{if(m){j=v[c+8>>2];v[a+16>>2]=g;v[a+20>>2]=h;v[a+8>>2]=e;v[a+12>>2]=f;v[a>>2]=j;i=Xl(a+204|0,i,a+248|0,a);break c}v[a+32>>2]=e;v[a+36>>2]=f;v[a+40>>2]=g;v[a+44>>2]=h;i=Xl(a+204|0,i,a+248|0,a+32|0)}if((i|0)==-1){break b}e=v[k>>2];v[k>>2]=v[a+204>>2];if(e){Qa[v[k+4>>2]](e)}j=v[a+204>>2]}h=i+j|0;j=tj(j,h,c);v[a+128>>2]=1563;e=nf(a+120|0,0,a+128|0);d:{if(v[a+204>>2]==(a+208|0)){i=a+128|0;break d}i=gb(i<<1);if(!i){break b}f=v[e>>2];v[e>>2]=i;if(f){Qa[v[e+4>>2]](f)}l=v[a+204>>2]}f=a+104|0;g=v[c+28>>2];v[f>>2]=g;v[g+4>>2]=v[g+4>>2]+1;zO(l,j,h,i,a+116|0,a+112|0,f);f=v[f>>2];g=v[f+4>>2]-1|0;v[f+4>>2]=g;if((g|0)==-1){Qa[v[v[f>>2]+8>>2]](f)}c=Xm(b,i,v[a+116>>2],v[a+112>>2],c,d);b=v[e>>2];v[e>>2]=0;if(b){Qa[v[e+4>>2]](b)}b=v[k>>2];v[k>>2]=0;if(b){Qa[v[k+4>>2]](b)}Ma=a+256|0;return c|0}_f();L()}function Bo(a,b,c){var d=0,e=0,f=0;a:{d=v[a>>2];e=w[d|0];if(((e&223)-65&255)>>>0<26|(e-48&255)>>>0<10){break a}b:{c:{switch(e-33|0){case 0:case 3:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 25:case 26:case 28:case 31:case 62:case 93:break a;case 4:break c;default:break b}}d:{f=w[d+1|0];if((f-48&255)>>>0<10){break d}switch(f-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break d;default:break b}}f=w[d+2|0];if((f-48&255)>>>0<10){break a}switch(f-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break a;default:break b}}return!c}while(1){e:{f:{g:{if(((e&223)-65&255)>>>0<26|(e-48&255)>>>0<10){break g}h:{switch(e-33|0){case 0:case 3:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 25:case 26:case 28:case 31:case 62:case 93:break g;case 4:break h;default:break e}}i:{c=w[d+1|0];if((c-48&255)>>>0<10){break i}switch(c-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break i;default:break e}}c=w[d+2|0];if((c-48&255)>>>0<10|(c-97&255)>>>0<6){break g}if((c-65&255)>>>0>5){break e}if((b|0)!=37){break f}break e}if((b&255)==(e|0)){break e}}d=((e|0)==37?3:1)+d|0;e=w[d|0];continue}break}v[a>>2]=d;return 0}function jo(a,b,c){var d=0,e=0,f=0;a:{e=a+36|0;d=e;d=v[v[d+12>>2]+((b>>>0)%y[d+8>>2]<<2)>>2];if(!d){break a}while(1){if(!(v[d+12>>2]==(b|0)&v[d+16>>2]==(b|0))){d=v[d+8>>2];if(d){continue}break a}break}if(v[b+4>>2]<1){break a}d=v[v[e+12>>2]+((c>>>0)%y[e+8>>2]<<2)>>2];if(!d){break a}while(1){if(!(v[d+12>>2]==(c|0)&v[d+16>>2]==(c|0))){d=v[d+8>>2];if(d){continue}break a}break}if(v[c+4>>2]<1){break a}e=a+8|0;a=e;d=v[v[a+12>>2]+((b>>>0)%y[a+8>>2]<<2)>>2];b:{if(d){while(1){if(v[d+12>>2]==(b|0)&v[d+16>>2]==(b|0)){break b}d=v[d+8>>2];if(d){continue}break}}f=ab(16);a=f;v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=972960;v[a+4>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;d=v[v[e+12>>2]+((b>>>0)%y[e+8>>2]<<2)>>2];c:{if(d){while(1){if(v[d+12>>2]==(b|0)&v[d+16>>2]==(b|0)){break c}d=v[d+8>>2];if(d){continue}break}}d=ab(24);v[d>>2]=0;v[d+4>>2]=0;v[d+20>>2]=0;v[d+16>>2]=b;v[d+12>>2]=b;v[d+8>>2]=0;bj(e,d)}v[d+20>>2]=f}d=v[v[e+12>>2]+((b>>>0)%y[e+8>>2]<<2)>>2];d:{if(d){while(1){if(v[d+12>>2]==(b|0)&v[d+16>>2]==(b|0)){break d}d=v[d+8>>2];if(d){continue}break}}d=ab(24);v[d>>2]=0;v[d+4>>2]=0;v[d+20>>2]=0;v[d+16>>2]=b;v[d+12>>2]=b;v[d+8>>2]=0;bj(e,d)}b=v[d+20>>2];d=v[b+8>>2];if(d){while(1){if(v[d+8>>2]==(c|0)){break a}d=v[d>>2];if(d){continue}break}}a=ab(12);v[a+8>>2]=c;v[a>>2]=0;v[a+4>>2]=0;de(b,a)}}function Uc(a,b){var 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;d=2147483632;v[b>>2]=2147483632;h=v[b+8>>2];v[b+16>>2]=h;e=v[b+20>>2];v[b+28>>2]=e;u[e+2>>1]=0;c=v[a+120>>2];a:{while(1){k=c;m=v[a+60>>2];if(c>>>0>=m>>>0){break a}n=v[v[a+72>>2]+(k>>>6&67108860)>>2];o=k&255;c=n+B(o,12)|0;j=v[c+8>>2];l=v[c+4>>2];while(1){f=v[v[a+52>>2]+(j>>>8&16777212)>>2]+B(j&1023,12)|0;c=v[f+8>>2];b:{if((c|0)>=0){g=0;if(c>>>0>=y[a>>2]){break b}g=v[v[a+12>>2]+(c>>>10&4194300)>>2]+(c&4095)|0;break b}c=c^-1;g=0;if(c>>>0>=y[a+20>>2]){break b}g=v[(v[v[a+32>>2]+(c>>>4&268435452)>>2]+((c&63)<<3)|0)+4>>2]}c=g;i=v[f>>2];j=j+1|0;g=b;f=v[f+4>>2];c:{if((f|0)<=-1){c=w[c|0];d:{e:{if((d+1|0)!=(i|0)){break e}d=u[e+2>>1];if((c|0)!=w[v[e+4>>2]]|(d|0)>-1){break e}u[e+2>>1]=f+d;break d}t[h|0]=c;c=v[b+28>>2];e=c+8|0;v[b+28>>2]=e;d=v[b+16>>2];h=d+1|0;v[b+16>>2]=h;u[c+10>>1]=f;u[c+8>>1]=i;v[c+12>>2]=d}d=(f^-1)+i|0;break c}cb(h,c,f);c=v[b+28>>2];f:{g:{if((v[b>>2]+1|0)!=(i|0)){break g}e=u[c+2>>1];if((e|0)<1){break g}u[c+2>>1]=f+e;d=v[b+16>>2];e=c;break f}e=c+8|0;v[b+28>>2]=e;d=v[b+16>>2];u[c+10>>1]=f;u[c+8>>1]=i;v[c+12>>2]=d}h=f+d|0;v[b+16>>2]=h;d=(f+i|0)-1|0}v[g>>2]=d;l=l-1|0;if(l){continue}break}c=v[a+120>>2]+1|0;v[a+120>>2]=c;if(v[b+20>>2]==(e|0)){continue}break}v[b+4>>2]=v[B(o,12)+n>>2]}return k>>>0>>0}function QQ(a,b,c,d){var e=0,f=0,g=0;e=Ma-32|0;Ma=e;v[a>>2]=0;a:{if(v[c>>2]){f=e+24|0;Qa[v[v[b>>2]+32>>2]](f,b,c,d);jb(a,f);c=v[e+24>>2];v[e+24>>2]=0;b:{if(!c){break b}f=v[c+4>>2]-1|0;v[c+4>>2]=f;if(f){break b}f=v[c+4>>2];if(!f){v[c+4>>2]=-32767}if(!f){Qa[v[v[c>>2]+4>>2]](c)}}c=v[a>>2];if(!c|!v[d>>2]){break a}v[e+8>>2]=0;f=e+8|0;qb(f,0);g=e+16|0;Qa[v[v[b>>2]+32>>2]](g,b,d,f);b=e+24|0;Qa[v[v[c>>2]+12>>2]](b,c,g);jb(a,b);a=v[e+24>>2];v[e+24>>2]=0;c:{if(!a){break c}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break c}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}a=v[e+16>>2];v[e+16>>2]=0;d:{if(!a){break d}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break d}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}a=v[e+8>>2];v[e+8>>2]=0;if(!a){break a}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break a}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}break a}if(!v[d>>2]){break a}v[e+16>>2]=0;c=e+16|0;qb(c,0);f=e+24|0;Qa[v[v[b>>2]+32>>2]](f,b,d,c);jb(a,f);a=v[e+24>>2];v[e+24>>2]=0;e:{if(!a){break e}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break e}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}a=v[e+16>>2];v[e+16>>2]=0;if(!a){break a}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break a}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=e+32|0}function sea(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;var j=0;if(f){a=x[a+26>>1];d=B(a,g);g=e>>>0<8;j=h<<2;while(1){h=e;if(!g){while(1){v[b>>2]=w[i|0]|w[i+1|0]<<8|w[i+2|0]<<16|-16777216;c=a+i|0;v[b+4>>2]=w[c|0]|w[c+1|0]<<8|w[c+2|0]<<16|-16777216;c=a+c|0;v[b+8>>2]=w[c|0]|w[c+1|0]<<8|w[c+2|0]<<16|-16777216;c=a+c|0;v[b+12>>2]=w[c|0]|w[c+1|0]<<8|w[c+2|0]<<16|-16777216;c=a+c|0;v[b+16>>2]=w[c|0]|w[c+1|0]<<8|w[c+2|0]<<16|-16777216;c=a+c|0;v[b+20>>2]=w[c|0]|w[c+1|0]<<8|w[c+2|0]<<16|-16777216;c=a+c|0;v[b+24>>2]=w[c|0]|w[c+1|0]<<8|w[c+2|0]<<16|-16777216;c=a+c|0;v[b+28>>2]=w[c|0]|w[c+1|0]<<8|w[c+2|0]<<16|-16777216;b=b+32|0;i=a+c|0;h=h-8|0;if(h>>>0>7){continue}break}}f=f-1|0;a:{switch(h-1|0){case 6:v[b>>2]=w[i|0]|w[i+1|0]<<8|w[i+2|0]<<16|-16777216;i=a+i|0;b=b+4|0;case 5:v[b>>2]=w[i|0]|w[i+1|0]<<8|w[i+2|0]<<16|-16777216;i=a+i|0;b=b+4|0;case 4:v[b>>2]=w[i|0]|w[i+1|0]<<8|w[i+2|0]<<16|-16777216;i=a+i|0;b=b+4|0;case 3:v[b>>2]=w[i|0]|w[i+1|0]<<8|w[i+2|0]<<16|-16777216;i=a+i|0;b=b+4|0;case 2:v[b>>2]=w[i|0]|w[i+1|0]<<8|w[i+2|0]<<16|-16777216;i=a+i|0;b=b+4|0;case 1:v[b>>2]=w[i|0]|w[i+1|0]<<8|w[i+2|0]<<16|-16777216;i=a+i|0;b=b+4|0;case 0:v[b>>2]=w[i|0]|w[i+1|0]<<8|w[i+2|0]<<16|-16777216;i=a+i|0;b=b+4|0;break;default:break a}}i=d+i|0;b=b+j|0;if(f){continue}break}}}function kn(a){var b=0,c=0,d=0,e=0;if(a){b=v[a+76>>2];if(b){Ck(b)}c=v[a+20>>2];a:{if(!c){break a}if(v[a+88>>2]==v[c+296>>2]){v[a+88>>2]=0}d=v[c+8>>2];if(d){if(!v[a+80>>2]){if(d){b:{if(!v[291069]){break b}b=v[291067];if(!b){break b}Qa[b|0](d)}b=v[d+64>>2];if(b){wl(b,2709)}v[d+64>>2]=0;b=v[d+68>>2];if(b){sX(b)}v[d+68>>2]=0;b=v[d+48>>2];c=v[d+44>>2];if(!(!b|(b|0)==(c|0))){hj(b);v[d+48>>2]=0;yq(b)}if(c){hj(v[d+44>>2]);v[d+44>>2]=0;yq(c)}b=v[d+12>>2];if(b){Tz(a,b)}b=v[d+56>>2];if(b){Qa[v[256556]](b)}b=v[d+8>>2];if(b){Qa[v[256556]](b)}b=v[d+60>>2];if(b){Qa[v[256556]](b)}c=v[d+52>>2];if(c){while(1){b=v[c>>2];e=v[c+8>>2];if(e){Qa[v[256556]](e)}e=v[c+12>>2];if(e){Qa[v[256556]](e)}Qa[v[256556]](c);c=b;if(b){continue}break}}b=v[d+72>>2];if(b){Qa[v[256556]](b)}b=v[d+80>>2];if(b){ln(b)}Qa[v[256556]](d)}c=v[a+20>>2]}v[c+8>>2]=0}b=v[c+160>>2];if(!(!b|v[c+156>>2]<1)){Qa[v[256556]](b);c=v[a+20>>2];v[c+156>>2]=0;v[c+160>>2]=0}if(!(w[a+12|0]&2)){break a}fj(c)}b=v[a+24>>2];if(b){Qa[v[256556]](b)}b=v[a+28>>2];if(!(!b|!(t[a+12|0]&1))){um(b)}e=v[a+84>>2];if(e){b=v[e+12>>2];c:{d:{if((b|0)==3){c=v[e+16>>2];if(c){break d}c=v[e>>2];if(c){break d}break c}c=v[e>>2];if(!c|(b|0)==2){break c}}Qa[v[256556]](c)}Qa[v[256556]](e)}b=v[a+104>>2];if(b){Qa[v[256556]](b)}b=v[a+88>>2];if(b){ln(b)}Qa[v[256556]](a)}}function aL(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0;g=Ma+-64|0;Ma=g;v[g+24>>2]=0;v[g+28>>2]=0;v[g+56>>2]=0;v[g+60>>2]=0;v[g+48>>2]=0;v[g+52>>2]=0;v[g+40>>2]=0;v[g+44>>2]=0;v[g+32>>2]=0;v[g+36>>2]=0;v[g+24>>2]=d;v[g+16>>2]=0;v[g+20>>2]=0;v[g+12>>2]=b;v[g+8>>2]=a;v[g+20>>2]=c;a:{b:{if(!aw(g+8|0,3416,56)){while(1){a=bk(g+8|0,1);if((a|0)==1){break b}if(!(v[g+24>>2]?a:1)){continue}break}if(a>>>0<2){break b}}a=-101;break a}if(!w[1143769]){t[1143769]=1}i=e-1|0;if((f|0)==16){if(!i){a=0;break a}j=0-(e<<1)|0;k=e-2|0;l=e&1;while(1){b=w[c|0];c:{if(l){h=i;f=c;break c}a=w[c+3|0]+w[c+1|0]|0;t[c+3|0]=a;b=w[c+2|0]+b+(a>>>8)|0;t[c+2|0]=b;h=k;f=c+2|0}if((e|0)!=2){while(1){a=f;c=w[a+3|0]+w[a+1|0]|0;t[a+3|0]=c;f=w[a+5|0];t[a+5|0]=f+c;b=w[a+2|0]+b+(c>>>8)|0;t[a+2|0]=b;b=b+w[a+4|0]+(f+(c&255)>>>8)|0;t[a+4|0]=b;f=a+4|0;h=h-2|0;if(h){continue}break}c=a+2|0}c=c+4|0;a=0;d=d+j|0;if((d|0)>0){continue}break}break a}if(!i){a=0;break a}k=e-1&3;j=e-2>>>0<3;while(1){b=w[c|0];h=i;f=k;if(f){while(1){a=c;b=w[c+1|0]+b|0;t[c+1|0]=b;h=h-1|0;c=c+1|0;f=f-1|0;if(f){continue}break}}if(!j){while(1){a=c;b=w[c+1|0]+b|0;t[c+1|0]=b;b=b+w[c+2|0]|0;t[c+2|0]=b;b=b+w[c+3|0]|0;t[c+3|0]=b;b=b+w[c+4|0]|0;t[c+4|0]=b;c=c+4|0;h=h-4|0;if(h){continue}break}a=a+3|0}c=a+2|0;a=0;d=d-e|0;if((d|0)>0){continue}break}}Ma=g- -64|0;return a}function Oo(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;h=Ma+-64|0;Ma=h;j=a+11724|0;QI(a,v[a+11720>>2],v[j>>2],b,c,h+20|0,h+16|0);QI(a,d,e,f,g,h+12|0,h+8|0);i=v[a+4>>2];v[i+16>>2]=v[i+16>>2]+(B(e-c>>16,b>>16)-B(d-b>>16,c>>16)|0);i=v[h+20>>2];l=i+v[a+11720>>2]|0;v[h>>2]=l;k=v[h+16>>2];j=k+v[j>>2]|0;v[h+4>>2]=j;n=v[h+8>>2];o=v[h+12>>2];c=c+k|0;k=b+i|0;if(w[a+11667|0]){v[h+56>>2]=1;b=v[a+11732>>2];v[h+24>>2]=v[a+11728>>2];v[h+28>>2]=b;if(!w[a+20|0]){at(a,v[a+11736>>2],v[a+11740>>2])}i=xb(v[a+11644>>2],l);m=xb(v[a+11648>>2],j);b=Al(a+8|0,j);i=i+m|0;p=h,q=(xb(v[v[a>>2]+64>>2],i)+xb(v[v[a>>2]+72>>2],b)|0)+v[a+11656>>2]|0,v[p+32>>2]=q;p=h,q=(xb(v[v[a>>2]+68>>2],i)+xb(v[v[a>>2]+76>>2],b)|0)+v[a+11660>>2]|0,v[p+36>>2]=q;b=v[a+4>>2];Qa[v[b>>2]](b,h+24|0);m=v[h+32>>2];b=v[h+36>>2];i=0;v[a+11704>>2]=i|l;v[a+11708>>2]=j;v[a+11728>>2]=m;v[a+11732>>2]=b;v[a+11712>>2]=i|k;v[a+11716>>2]=c;t[a+11664|0]=1;t[a+11667|0]=0}if(w[a+11744|0]){KA(a,a+8|0,h,k,c,0)}v[a+11748>>2]=4;t[a+11744|0]=1;b=v[h+4>>2];j=v[h>>2];v[a+11780>>2]=g+n;v[a+11776>>2]=f+o;v[a+11772>>2]=e+n;v[a+11768>>2]=d+o;v[a+11752>>2]=j;v[a+11756>>2]=b;v[a+11760>>2]=k;v[a+11764>>2]=c;if(w[v[a+11676>>2]+5|0]){kw(a+8|0,v[a+11668>>2],v[a+11672>>2],v[a+11676>>2],v[a+11680>>2],0)}v[a+11724>>2]=g;v[a+11720>>2]=f;Ma=h- -64|0}function jxa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=v[a+420>>2];if(v[a+236>>2]){c=v[f+68>>2];if(!c){Fv(a,v[f+72>>2]);c=v[a+236>>2];v[f+68>>2]=c;v[f+72>>2]=v[f+72>>2]+1&7}v[f+68>>2]=c-1}j=v[b>>2];k=v[a+380>>2];b=v[v[a+292>>2]+24>>2];d=v[a+364>>2];g=d;a:{if((d|0)<1){break a}g=d;while(1){c=u[(v[(g<<2)+k>>2]<<1)+j>>1];b:{if((c|0)>=0){if(!(c>>v[a+372>>2])){break b}break a}if(0-c>>v[a+372>>2]){break a}}c=(g|0)>1;g=g-1|0;if(c){continue}break}g=0}i=f+(b<<2)|0;c:{c=v[a+360>>2];if((g|0)<(c|0)){break c}l=f+204|0;m=a+b|0;d:while(1){e=(v[i+140>>2]+B(c,3)|0)-3|0;Hd(a,e,0);b=c;while(1){e:{c=u[(v[(b<<2)+k>>2]<<1)+j>>1];f:{if((c|0)>=0){c=c>>v[a+372>>2];if(!c){break e}d=0;break f}c=0-c>>v[a+372>>2];if(!c){break e}d=1}Hd(a,e+1|0,1);Hd(a,l,d);d=e+2|0;g:{h:{i:{j:{h=c-1|0;if(!h){break j}Hd(a,d,1);if((h|0)==1){break j}Hd(a,d,1);c=v[i+140>>2]+(w[m+184|0]<(b|0)?217:189)|0;e=2;d=h>>1;if(d>>>0>1){break i}Hd(a,c,0);c=c+14|0;break h}Hd(a,d,0);break g}while(1){f=c;Hd(a,c,1);c=c+1|0;e=e<<1;d=d>>1;if(d>>>0>=2){continue}break}Hd(a,c,0);if(!e){break g}c=f+15|0}while(1){e=e>>1;Hd(a,c,(h&e)!=0);if(e>>>0>1){continue}break}}c=b+1|0;if((b|0)<(g|0)){continue d}d=v[a+364>>2];break c}Hd(a,e+1|0,0);b=b+1|0;e=e+3|0;continue}}}if((c|0)<=(d|0)){Hd(a,(v[i+140>>2]+B(c,3)|0)-3|0,1)}return 1}function yXa(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,v=0;if(e){s=e-1|0;v=e-2|0;q=(e|0)==1;while(1){a=f;u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];f=a+4|0;g=g+4|0;a:{if(!q&m>>>0>=s>>>0){break a}j=m?(m|0)==(v|0)?d:b:c;l=!m&q;if(!l){k=1;if(j>>>0<=1){break a}n=a+2|0;l=l?0:f;p=l+2|0;r=j<<1;while(1){i=x[a>>1];b:{if((i|0)==x[l>>1]){u[g>>1]=i;break b}i=w[a|0]|w[a+1|0]<<8;h=i;o=(h<<8|h>>>8)&65535;h=w[l|0]|w[l+1|0]<<8;i=o+((j+(B(((h<<8|h>>>8)&65535)-((i<<8|i>>>8)&65535)|0,k)<<1)|0)/(r|0)|0)&65535;i=i<<8|i>>>8;t[g|0]=i;t[g+1|0]=i>>>8}i=g+2|0;h=x[n>>1];c:{if((h|0)==x[p>>1]){u[i>>1]=h;break c}h=w[n|0]|w[n+1|0]<<8;o=w[p|0]|w[p+1|0]<<8;h=((h<<8|h>>>8)&65535)+((j+(B(((o<<8|o>>>8)&65535)-((h<<8|h>>>8)&65535)|0,k)<<1)|0)/(r|0)|0)&65535;h=h<<8|h>>>8;t[i|0]=h;t[i+1|0]=h>>>8}g=g+4|0;k=k+1|0;if((j|0)!=(k|0)){continue}break}break a}if(j>>>0<2){break a}n=j-1|0;k=n&3;if(j-2>>>0>=3){j=n&-4;while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a>>1];u[g+6>>1]=x[a+2>>1];u[g+8>>1]=x[a>>1];u[g+10>>1]=x[a+2>>1];u[g+12>>1]=x[a>>1];u[g+14>>1]=x[a+2>>1];g=g+16|0;j=j-4|0;if(j){continue}break}}if(!k){break a}while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];g=g+4|0;k=k-1|0;if(k){continue}break}}m=m+1|0;if((m|0)!=(e|0)){continue}break}}return 0}function pQa(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,j=0,k=0,l=C(0),m=0,n=0;a:{if(!(!c|!d|(v[c>>2]?0:(d|0)==1))){v[a+500>>2]=1;b=0;if(v[a+624>>2]==8){break a}Qa[v[v[a>>2]+136>>2]](a,351224)|0;Tq(a);j=Hw(a,a+88|0);g=v[a+16>>2];h=v[a+12>>2];m=A[e>>3];n=A[f>>3];e=Ma-144|0;Ma=e;v[e+140>>2]=d;if(!v[j+4>>2]){d=Dm(e+136|0,g+48|0);Mk(d,g+52|0,0);rt(d,e+80|0);A[e+72>>3]=m;A[e+64>>3]=n;f=Dm(e+56|0,d);qt(f);Mk(f,g+56|0,0);zd(f,e+72|0,e- -64|0);A[e+48>>3]=C(A[e+80>>3]);A[e+40>>3]=C(A[e+88>>3]);A[e+32>>3]=C(A[e+96>>3]);A[e+24>>3]=C(A[e+104>>3]);A[e+16>>3]=C(A[e+112>>3]);A[e+8>>3]=C(A[e+120>>3]);a=e+48|0;i=e+40|0;k=e+32|0;Qa[v[v[h>>2]+120>>2]](h,a,i,k,e+24|0,e+16|0,e+8|0)|0;v[g+2860>>2]=v[h+160>>2];z[e+48>>2]=A[e+72>>3];z[e+40>>2]=A[e+64>>3];Qa[v[v[h>>2]+92>>2]](h,c,e+140|0,a,i)|0;v[e+48>>2]=0;v[e+40>>2]=0;v[e+32>>2]=0;if(Qa[v[v[h>>2]+184>>2]](h,k,a,i)|0){while(1){k=v[e+32>>2];if(k){l=z[e+40>>2];b:{if(C(D(l))>2];c:{if(C(D(l))>2]=0;if(Qa[v[v[h>>2]+184>>2]](h,e+32|0,e+48|0,e+40|0)|0){continue}break}}me(f);me(d)}Ma=e+144|0;if(!j){break a}Qa[v[v[j>>2]+4>>2]](j);return 0}v[a+500>>2]=0;b=Qa[v[v[a>>2]+276>>2]](a,b,e,f,g,h)|0}return b|0}function Z1(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;a:{h=w[e+3|0];if(!h){break a}a=v[a>>2];j=v[a+4>>2];i=v[a+16>>2];b:{c:{if((i|0)>=0){a=B(c,i);break c}k=j-v[a>>2]|0;a=B(c,i);if((k|0)<(0-a|0)){break b}}g=a+j|0}g=(b<<2)+g|0;a=B(f+1|0,h)>>>8|0;if((a|0)==255){a=w[e+2|0]|(w[e|0]<<16|h<<24|w[e+1|0]<<8);b=d-1|0;e=d&7;if(e){while(1){v[g>>2]=a;d=d-1|0;g=g+4|0;e=e-1|0;if(e){continue}break}}if(b>>>0<7){break a}while(1){v[g+28>>2]=a;v[g+24>>2]=a;v[g+20>>2]=a;v[g+16>>2]=a;v[g+12>>2]=a;v[g+8>>2]=a;v[g+4>>2]=a;v[g>>2]=a;g=g+32|0;d=d-8|0;if(d){continue}break}break a}if((f|0)==255){while(1){b=w[e+2|0];c=w[e+1|0];f=w[g+2|0];t[g+2|0]=B(a,w[e|0]-f|0)+(f<<8)>>>8;f=c;c=w[g+1|0];t[g+1|0]=B(a,f-c|0)+(c<<8)>>>8;c=w[g+3|0];t[g+3|0]=c+a-(B(a,c)+255>>>8);c=b;b=w[g|0];t[g|0]=B(a,c-b|0)+(b<<8)>>>8;g=g+4|0;d=d-1|0;if(d){continue}break a}}b=w[e+2|0];c=w[e+1|0];f=w[g+2|0];t[g+2|0]=B(a,w[e|0]-f|0)+(f<<8)>>>8;f=c;c=w[g+1|0];t[g+1|0]=B(a,f-c|0)+(c<<8)>>>8;c=w[g+3|0];t[g+3|0]=c+a-(B(a,c)+255>>>8);c=b;b=w[g|0];t[g|0]=B(a,c-b|0)+(b<<8)>>>8;d=d-1|0;if(!d){break a}while(1){b=w[e+2|0];c=w[e+1|0];f=w[g+6|0];t[g+6|0]=B(a,w[e|0]-f|0)+(f<<8)>>>8;f=c;c=w[g+5|0];t[g+5|0]=B(a,f-c|0)+(c<<8)>>>8;c=w[g+7|0];t[g+7|0]=c+a-(B(a,c)+255>>>8);c=b;b=w[g+4|0];t[g+4|0]=B(a,c-b|0)+(b<<8)>>>8;g=g+4|0;d=d-1|0;if(d){continue}break}}}function W2(a,b,c,d,e,f){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,u=0,x=0,y=0;m=d-1|0;x=m;a:{b:{c:{if(!f){h=v[c>>2];f=h>>>24|0;l=(b<<2)+a|0;q=(e<<2)+c|0;g=v[q>>2];b=g>>>24|0;e=0;i=e;if((d|0)<5){break b}s=d-5>>>2|0;y=s<<3;while(1){k=e<<3;j=h>>>16&255;i=j+f|0;u=h>>>8|0;n=u&255;o=j+n|0;v[k+a>>2]=i<<15&16711680|f<<24|(j<<8|o>>>1);p=b+f<<23&-16777216;r=g>>>8&255;f=g>>>16&255;v[l+k>>2]=p|r+(f+o|0)>>>2|f+j<<7&65280|f+(b+i|0)<<14&-65536;i=e+1|0;f=i<<2;j=v[f+q>>2];b=h&255;k=k|4;h=v[c+f>>2];f=h>>>24|0;o=b+f|0;p=b+n|0;v[k+a>>2]=b<<8|o>>>1|(p<<15&16711680|u<<24);g=g&255;n=(n+r<<23|g+b<<7)&-16711936|(g+r|0)+p<<14&16711680;b=j>>>24|0;v[l+k>>2]=n|b+(g+o|0)>>>2;k=(e|0)==(s|0);g=j;e=i;if(!k){continue}break}break c}g=(b<<2)+a|0;b=w[c^3];d:{if((d|0)<2){e=b;break d}d=0;f=0;while(1){d=d+1|0;e=w[d+c^3];t[a+f^3]=b;t[f+g^3]=b;h=f|1;b=b+e>>>1|0;t[h+a^3]=b;t[g+h^3]=b;f=f+2|0;b=e;if((d|0)!=(m|0)){continue}break}}b=m<<1;t[b+a^3]=e;c=a;a=b|1;t[c+a^3]=e;t[b+g^3]=e;a=a+g|0;break a}j=d-1&-4;i=y+8|0}e=i;h=j;e:{if((x|0)<=(h|0)){g=f;d=b;break e}while(1){h=h+1|0;d=w[q+h^3];g=w[c+h^3];t[a+e^3]=f;j=e|1;i=f+g|0;t[j+a^3]=i>>>1;t[e+l^3]=b+f>>>1;t[j+l^3]=(b+i|0)+d>>>2;e=e+2|0;b=d;f=g;if((h|0)!=(m|0)){continue}break}}b=m<<1;t[b+a^3]=g;c=a;a=b|1;t[c+a^3]=g;e=d+g>>>1|0;t[b+l^3]=e;a=a+l|0}t[a^3]=e}function Lz(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=v[a>>2];a:{if(v[e+72>>2]==v[e+68>>2]){break a}e=v[a+232>>2];if(!e){break a}b:{switch(v[e>>2]+2|0){case 0:case 3:break a;default:break b}}if(!((c|0)<1|d)){d=0;while(1){e=w[b+d|0]-9|0;if(e>>>0>23|!(1<>2];if(!b){return 0}c:{e=v[a+8>>2];if(!e){break c}f=1;c=v[b+8>>2];b=Ma-16|0;Ma=b;h=-1;d:{if(!e){break d}d=v[e+44>>2];if(!d){break d}v[b+8>>2]=0;if(c){d=v[d+40>>2];e:{if(d){g=Co(c,b+8|0);d=sm(d,g?g:c,v[b+8>>2]);i=v[b+8>>2];if(i){Qa[v[256556]](i)}if(g){Qa[v[256556]](g)}if(d){break e}}d=v[e+48>>2];if(!d){break d}v[b+12>>2]=0;d=v[d+40>>2];if(!d){break d}e=Co(c,b+12|0);d=sm(d,e?e:c,v[b+12>>2]);c=v[b+12>>2];if(c){Qa[v[256556]](c)}if(e){Qa[v[256556]](e)}if(!d){break d}}h=1;c=v[d+36>>2];if(c>>>0>4){break d}h=v[(c<<2)+875232>>2]}}Ma=b+16|0;f:{switch(h|0){case 0:break a;case 1:break f;default:break c}}return 0}d=v[v[a+36>>2]+16>>2];c=w[d|0];if(!((c|0)==60|(c|0)==13)){return 0}b=v[a+52>>2];if(!(v[b+12>>2]|(c|0)!=60|w[d+1|0]!=47)){return 0}c=0;c=!b|v[b+4>>2]==18?c:v[b+16>>2];g:{if(!c){a=v[a+52>>2];if(v[a+4>>2]==1){break g}f=0;if(!v[a+40>>2]){break g}break a}if(c?v[c+4>>2]==3:0){return 0}a=v[v[a+52>>2]+12>>2];if(!a){break g}f=0;if(a?v[a+4>>2]==3:0){break a}}f=1}return f}function x5(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;a:{if((i|0)>=1){k=d+1>>1;m=e+1>>1;p=f+1>>1;q=g+1>>1;x5(a,b,c,k,m,p,q,h,i-1|0);j=v[h>>2];n=(c-m|0)+q|0;v[j+32>>2]=n;o=(b-k|0)+p|0;f=f>>1;r=d>>1;s=o+(f-r|0)|0;v[j+28>>2]=s;v[j+24>>2]=c;v[j+20>>2]=o;v[j+12>>2]=q;v[j+8>>2]=f;v[j+4>>2]=m;v[j>>2]=r;v[j+16>>2]=2;c=j;d=v[a>>2]-i<<3;m=v[a+4>>2];l=A[d+v[m+12>>2]>>3]*A[d+v[m+8>>2]>>3]*8192;b:{if(D(l)<2147483648){i=~~l;break b}i=-2147483648}v[c+36>>2]=i;v[h>>2]=j+40;c=g>>1;e=e>>1;i=(c-e|0)+n|0;v[j+72>>2]=i;v[j+68>>2]=o;v[j- -64>>2]=n;v[j+60>>2]=b;v[j+52>>2]=c;v[j+48>>2]=p;v[j+44>>2]=e;v[j+40>>2]=k;v[j+56>>2]=1;b=j;g=v[a+4>>2];l=A[d+v[g+8>>2]>>3]*A[d+v[g+12>>2]>>3]*8192;c:{if(D(l)<2147483648){g=~~l;break c}g=-2147483648}v[b+76>>2]=g;k=j+80|0;v[h>>2]=k;v[j+112>>2]=i;v[j+108>>2]=s;v[j+104>>2]=n;v[j+100>>2]=o;v[j+92>>2]=c;v[j+88>>2]=f;v[j+84>>2]=e;v[j+80>>2]=r;v[j+96>>2]=3;l=A[d+v[v[a+4>>2]+12>>2]>>3];l=l*l*8192;if(D(l)<2147483648){v[j+116>>2]=~~l;break a}v[j+116>>2]=-2147483648;break a}k=v[h>>2];v[k+24>>2]=c;v[k+20>>2]=b;v[k+12>>2]=g;v[k+8>>2]=f;v[k+4>>2]=e;v[k>>2]=d;v[k+16>>2]=0;v[k+32>>2]=(c-e|0)+g;v[k+28>>2]=(b-d|0)+f;b=k;l=A[v[v[a+4>>2]+8>>2]+(v[a>>2]+(i^-1)<<3)>>3];l=l*l*8192;d:{if(D(l)<2147483648){a=~~l;break d}a=-2147483648}v[b+36>>2]=a}v[h>>2]=k+40}function st(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;o=f*3.141592/180;m=oe(o);m=ef(_d(o)/e,m/d);i=_d(m);m=oe(m);Td(v[a+4>>2],m*d+b,i*e+c,2);if(D(f)<2147483648){k=~~f}else{k=-2147483648}k=(k|0)>89?((k|0)/90|0)+1|0:1;k=(k|0)<4?k:4;if(D(g)<2147483648){l=~~g}else{l=-2147483648}l=(l|0)>89?((l|0)/90|0)+1|0:1;l=(l|0)<4?l:4;m=g*3.141592/180;a:{if(h){if(k>>>0>>0){break a}h=k;while(1){g=o;g=(h|0)!=(k|0)?+C(C(C(B(h,90)>>>0)*C(3.141592025756836))/C(180)):g;f=m;f=(h|0)!=(l|0)?+C(C(C(B(h,90)-90>>>0)*C(3.141592025756836))/C(180)):f;i=oe(f);j=_d(f);f=oe(g);f=ef(_d(g)/e,f/d);g=ef(j/e,i/d);j=g-f;i=ZD(j*.5);n=_d(j);j=oe(f);f=_d(f);p=v[a+4>>2];i=n*(K(i*(i*3)+4)+-1)/3;n=i*d;i=i*e;Td(p,j*d+b-f*n,f*e+c+j*i,4);j=oe(g);f=j*d+b;q=_d(g);g=q*e+c;Td(p,f+q*n,g-j*i,4);Td(p,f,g,4);h=h-1|0;if(l>>>0<=h>>>0){continue}break}break a}if(k>>>0>l>>>0){break a}h=k;while(1){g=m;g=(h|0)!=(l|0)?+C(C(C(B(h,90)>>>0)*C(3.141592025756836))/C(180)):g;i=oe(g);g=_d(g);o=(h|0)!=(k|0)?+C(C(C(B(h,90)-90>>>0)*C(3.141592025756836))/C(180)):o;f=oe(o);f=ef(_d(o)/e,f/d);g=ef(g/e,i/d);j=g-f;i=ZD(j*.5);n=_d(j);j=oe(f);f=_d(f);p=v[a+4>>2];i=n*(K(i*(i*3)+4)+-1)/3;n=i*d;i=i*e;Td(p,j*d+b-f*n,f*e+c+j*i,4);j=oe(g);f=j*d+b;q=_d(g);g=q*e+c;Td(p,f+q*n,g-j*i,4);Td(p,f,g,4);h=h+1|0;if(l>>>0>=h>>>0){continue}break}}}function a4(a){var b=0,c=0,d=0;d=999;a:{b:{if(v[a+548>>2]){break b}b=Qa[v[a+152>>2]](1136)|0;v[a+548>>2]=b;d=1;if(!b){break b}t[b|0]=w[a+306|0];t[b+1|0]=w[a+307|0];t[b+2|0]=w[a+308|0];t[b+3|0]=w[a+309|0];t[b+4|0]=w[a+310|0];t[b+5|0]=w[a+311|0];t[b+6|0]=w[a+312|0];u[b+8>>1]=x[a+1052>>1];u[b+10>>1]=x[a+1054>>1];u[b+12>>1]=x[a+1056>>1];t[b+14|0]=w[a+1058|0];u[b+16>>1]=x[a+1060>>1];t[b+18|0]=w[a+1062|0];t[b+19|0]=w[a+1080|0];v[b+20>>2]=v[a+1084>>2];v[b+24>>2]=v[a+1088>>2];t[b+28|0]=w[a+1092|0];v[b+32>>2]=v[a+1096>>2];v[b+36>>2]=v[a+1100>>2];v[b+40>>2]=v[a+1104>>2];v[b+44>>2]=v[a+1108>>2];v[b+48>>2]=v[a+1160>>2];cb(b+52|0,a+1164|0,768);v[b+820>>2]=v[a+1932>>2];cb(b+824|0,a+1936|0,256);v[b+1080>>2]=v[a+2192>>2];v[b+1084>>2]=v[a+2196>>2];v[b+1088>>2]=v[a+2200>>2];v[b+1092>>2]=v[a+2204>>2];v[b+1096>>2]=v[a+2208>>2];v[b+1100>>2]=v[a+2212>>2];v[b+1104>>2]=v[a+2216>>2];v[b+1108>>2]=v[a+2220>>2];v[b+1112>>2]=v[a+2224>>2];t[b+1116|0]=w[a+2228|0];c=v[a+2232>>2];v[b+1120>>2]=c;if(c){c=Qa[v[a+152>>2]](c)|0;v[b+1124>>2]=c;if(!c){break b}cb(c,v[a+2236>>2],v[b+1120>>2])}u[b+1128>>1]=x[a+2240>>1];u[b+1130>>1]=x[a+2242>>1];u[b+1132>>1]=x[a+2244>>1];d=0;a=v[a+688>>2];if(!a){break a}while(1){t[a+30|0]=1;t[v[a+88>>2]+32|0]=1;a=v[a+8>>2];if(a){continue}break}break a}ob(a,d,0,0)}return d}function Yza(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(v[c>>2]<=0){v[c>>2]=344;return 0}a=v[a+8>>2];d=cb(b+260|0,a,84);c=v[a>>2];if(!c|!w[c+17|0]?0:c){v[c+4>>2]=v[c+4>>2]+1}c=v[a+4>>2];if(!c|!w[c+17|0]?0:c){v[c+4>>2]=v[c+4>>2]+1}c=v[a+8>>2];if(!c|!w[c+17|0]?0:c){v[c+4>>2]=v[c+4>>2]+1}c=v[a+12>>2];if(!c|!w[c+17|0]?0:c){v[c+4>>2]=v[c+4>>2]+1}c=v[a+16>>2];if(!c|!w[c+17|0]?0:c){v[c+4>>2]=v[c+4>>2]+1}c=v[a+20>>2];if(!c|!w[c+17|0]?0:c){v[c+4>>2]=v[c+4>>2]+1}c=v[a+24>>2];if(!c|!w[c+17|0]?0:c){v[c+4>>2]=v[c+4>>2]+1}c=v[a+28>>2];if(!c|!w[c+17|0]?0:c){v[c+4>>2]=v[c+4>>2]+1}c=v[a+32>>2];if(!c|!w[c+17|0]?0:c){v[c+4>>2]=v[c+4>>2]+1}c=v[a+36>>2];if(!c|!w[c+17|0]?0:c){v[c+4>>2]=v[c+4>>2]+1}c=v[a+40>>2];if(!c|!w[c+17|0]?0:c){v[c+4>>2]=v[c+4>>2]+1}c=v[a+44>>2];if(!c|!w[c+17|0]?0:c){v[c+4>>2]=v[c+4>>2]+1}c=v[a+48>>2];if(!c|!w[c+17|0]?0:c){v[c+4>>2]=v[c+4>>2]+1}c=v[a+52>>2];if(!c|!w[c+17|0]?0:c){v[c+4>>2]=v[c+4>>2]+1}c=v[a+56>>2];if(!c|!w[c+17|0]?0:c){v[c+4>>2]=v[c+4>>2]+1}c=v[a+60>>2];if(!c|!w[c+17|0]?0:c){v[c+4>>2]=v[c+4>>2]+1}c=v[a+64>>2];if(!c|!w[c+17|0]?0:c){v[c+4>>2]=v[c+4>>2]+1}c=v[a+68>>2];if(!c|!w[c+17|0]?0:c){v[c+4>>2]=v[c+4>>2]+1}c=v[a+72>>2];if(!c|!w[c+17|0]?0:c){v[c+4>>2]=v[c+4>>2]+1}a=v[a+76>>2];if(!a|!w[a+17|0]?0:a){v[a+4>>2]=v[a+4>>2]+1}t[b+34|0]=1;v[b+8>>2]=d;return b|0}function Hl(a){var b=0,c=0;c=Ma-256|0;Ma=c;a:{b:{c:{b=kb(a);if(!b){d:{e:{f:{g:{h:{i:{j:{a=kb(a);if((a|0)<=1281845357){if((a|0)<=1148349293){if((a|0)<=1131180575){if((a|0)==1128428142){break j}if((a|0)!=1128555623){break a}b=8;break b}if((a|0)==1131180576){break d}if((a|0)!=1147564654){break a}b=17;break b}if((a|0)<=1210064927){if((a|0)==1148349294){break c}if((a|0)!=1148415094){break a}b=1;break b}if((a|0)==1210064928){break f}if((a|0)!=1215456332){break a}b=12;break b}k:{if((a|0)<=1333162603){if((a|0)<=1298953327){if((a|0)==1281845358){break i}if((a|0)!=1282240115){break a}b=22;break b}if((a|0)==1298953328){break k}b=0;if((a|0)==1316121964){break b}break a}if((a|0)<=1399223371){if((a|0)==1333162604){break h}if((a|0)!=1399026286){break a}b=7;break b}if((a|0)==1399223372){break g}if((a|0)==1400140404){break e}if((a|0)!=1482910837){break a}b=18;break b}b=3;break b}b=4;break b}b=6;break b}b=10;break b}b=11;break b}b=19;break b}b=20;break b}b=21;break b}Vd(a,c,b);t[c+b|0]=0;b=5;if(!Jb(c,40033,11)){break b}b=9;if(!Jb(c,41263,12)){break b}b=13;if(!Jb(c,41809,11)){break b}b=14;if(!Jb(c,42723,12)){break b}b=15;if(!Jb(c,43718,9)){break b}b=16;if(v[c>>2]==1685217640&v[c+4>>2]==7891277){break b}O(3794,6490,800,194238);L()}b=2}Ma=c+256|0;return b}O(3794,6490,779,194238);L()}function kba(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,j=0,k=0,l=0,m=0;a=Ma-16|0;Ma=a;v[a+12>>2]=c;v[a+8>>2]=f;v[a+12>>2]=c;v[a+8>>2]=f;a:{b:{while(1){c:{i=v[a+12>>2];if(i>>>0>=d>>>0){break c}m=v[a+8>>2];if(m>>>0>=g>>>0){break c}c=t[i|0];b=c&255;d:{if((c|0)>=0){if(b>>>0<=1114111){f=1;break d}c=2;break a}c=2;if(b>>>0<194){break a}if(b>>>0<=223){if((d-i|0)<2){break b}j=w[i+1|0];if((j&192)!=128){break a}f=2;b=j&63|b<<6&1984;if(b>>>0<=1114111){break d}break a}if(b>>>0<=239){if((d-i|0)<3){break b}j=w[i+2|0];k=w[i+1|0];e:{f:{if((b|0)!=237){if((b|0)!=224){break f}if((k&224)==160){break e}break a}if((k&224)==128){break e}break a}if((k&192)!=128){break a}}if((j&192)!=128){break a}f=3;b=j&63|(b<<12&61440|(k&63)<<6);if(b>>>0<=1114111){break d}break a}if(b>>>0>244){break a}if((d-i|0)<4){break b}k=w[i+2|0];l=w[i+1|0];g:{h:{switch(b-240|0){case 0:if((l+112&255)>>>0<48){break g}break a;case 4:if((l&240)==128){break g}break a;default:break h}}if((l&192)!=128){break a}}if((k&192)!=128){break a}j=w[i+3|0];if((j&192)!=128){break a}f=4;b=j&63|(k<<6&4032|(b<<18&1835008|(l&63)<<12));if(b>>>0>1114111){break a}}v[m>>2]=b;v[a+12>>2]=f+i;v[a+8>>2]=v[a+8>>2]+4;continue}break}c=d>>>0>i>>>0;break a}c=1}v[e>>2]=v[a+12>>2];v[h>>2]=v[a+8>>2];Ma=a+16|0;return c|0}function Qq(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{d=v[290869];e=v[290868];c=(d-e|0)/12|0;b=c+1|0;if(b>>>0<357913942){f=(v[290870]-e|0)/12|0;g=f<<1;f=f>>>0<178956970?b>>>0>g>>>0?b:g:357913941;if(f){if(f>>>0>=357913942){break d}h=ab(B(f,12))}b=B(c,12)+h|0;v[b+8>>2]=0;v[b>>2]=0;v[b+4>>2]=0;g=v[a+4>>2];a=v[a>>2];c=g-a|0;i=(c|0)/12|0;if(c){if(i>>>0>=357913942){break c}c=ab(c);v[b+4>>2]=c;v[b>>2]=c;v[b+8>>2]=B(i,12)+c;if((a|0)!=(g|0)){while(1){e:{if(t[a+11|0]>=0){e=v[a+4>>2];v[c>>2]=v[a>>2];v[c+4>>2]=e;v[c+8>>2]=v[a+8>>2];break e}vc(c,v[a>>2],v[a+4>>2])}c=c+12|0;a=a+12|0;if((g|0)!=(a|0)){continue}break}d=v[290869];e=v[290868]}v[b+4>>2]=c}a=B(f,12)+h|0;c=b+12|0;if((d|0)==(e|0)){break b}while(1){b=b-12|0;v[b+8>>2]=0;v[b>>2]=0;v[b+4>>2]=0;d=d-12|0;v[b>>2]=v[d>>2];v[b+4>>2]=v[d+4>>2];v[b+8>>2]=v[d+8>>2];v[d+8>>2]=0;v[d>>2]=0;v[d+4>>2]=0;if((d|0)!=(e|0)){continue}break}v[290870]=a;a=v[290869];v[290869]=c;d=v[290868];v[290868]=b;if((a|0)==(d|0)){break a}while(1){c=a-12|0;b=v[c>>2];if(b){f=a-8|0;a=v[f>>2];if((b|0)==(a|0)){a=b}else{while(1){e=a-12|0;if(t[a-1|0]<=-1){$a(v[e>>2])}a=e;if((b|0)!=(a|0)){continue}break}a=v[c>>2]}v[f>>2]=b;$a(a)}a=c;if((d|0)!=(a|0)){continue}break}break a}Jc();L()}Zd(273730);L()}Jc();L()}v[290870]=a;v[290869]=c;v[290868]=b}if(d){$a(d)}}function f_(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{c:{g=w[a|0];if((g|0)!=117){break c}d:{c=w[a+1|0];if((c|0)!=110|w[a+2|0]!=105){break d}b=w[a+3|0];d=b-48|0;e=d>>>0>9?b-65>>>0>5?16:b-55|0:d;if(e>>>0>15){break d}b=w[a+4|0];d=b-48|0;f=d>>>0>9?b-65>>>0>5?16:b-55|0:d;if(f>>>0>15){break d}b=w[a+5|0];d=b-48|0;h=d>>>0>9?b-65>>>0>5?16:b-55|0:d;if(h>>>0>15){break d}b=w[a+6|0];d=b-48|0;b=d>>>0>9?b-65>>>0>5?16:b-55|0:d;if(b>>>0>15){break d}b=b+((f+(e<<4)<<4)+h<<4)|0;d=w[a+7|0];if(!d){break a}if((d|0)!=46){break d}return b|-2147483648}b=c-65>>>0>5?16:c-55|0;c=c-48|0;d=c>>>0>9?b:c;if(d>>>0>15){break c}c=w[a+2|0];b=c-48|0;e=b>>>0>9?c-65>>>0>5?16:c-55|0:b;if(e>>>0>15){break c}c=w[a+3|0];b=c-48|0;f=b>>>0>9?c-65>>>0>5?16:c-55|0:b;if(f>>>0>15){break c}c=w[a+4|0];b=c-48|0;c=b>>>0>9?c-65>>>0>5?16:c-55|0:b;if(c>>>0>15){break c}b=c+(f+(e+(d<<4)<<4)<<4)|0;d=w[a+5|0];e=d-48|0;d=e>>>0>9?d-65>>>0>5?16:d-55|0:e;c=a+5|0;e:{if(d>>>0>15){break e}b=d+(b<<4)|0;d=w[a+6|0];e=d-48|0;d=e>>>0>9?d-65>>>0>5?16:d-55|0:e;c=a+6|0;if(d>>>0>15){break e}b=d+(b<<4)|0;c=a+7|0}d=w[c|0];if(!d){break a}c=a;if((d|0)!=46){break b}return b|-2147483648}c=a}while(1){f:{g:{if((g|0)!=46){if(g){break g}return e_(a,c)|0}if(a>>>0>>0){break f}}g=w[c+1|0];c=c+1|0;continue}break}b=e_(a,c)|-2147483648}return b|0}function uCa(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;i=-1;g=v[a+16>>2];a=w[g+6|0]|w[g+7|0]<<8|(w[g+8|0]<<16|w[g+9|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a:{if(!a){break a}j=g+13|0;while(1){b:{e=a+f>>>1|0;d=j+B(e,11)|0;h=d-3|0;h=w[h+1|0]<<8|w[h|0]<<16|w[h+2|0];c:{if(h>>>0>c>>>0){a=e;break c}if(c>>>0<=h>>>0){break b}f=e+1|0}if(a>>>0>f>>>0){continue}break a}break}e=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);d:{a=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!a){break d}c=a+g|0;a=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);h=c+7|0;f=0;while(1){if(a>>>0<=f>>>0){break d}c=a;a=a+f>>>1|0;j=h+(a<<2)|0;d=j-3|0;d=w[d+1|0]<<8|w[d|0]<<16|w[d+2|0];if(d>>>0>b>>>0){continue}i=1;f=a+1|0;a=c;if(d+w[j|0]>>>0>>0){continue}break}break a}a=e<<8&16711680|e<<24|(e>>>8&65280|e>>>24);e:{if(!a){break e}c=a+g|0;a=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!a){break e}g=c+7|0;f=0;while(1){f:{c=a+f>>>1|0;e=g+B(c,5)|0;d=e-3|0;d=w[d+1|0]<<8|w[d|0]<<16|w[d+2|0];g:{if(d>>>0>b>>>0){a=c;break g}if(b>>>0<=d>>>0){break f}f=c+1|0}if(a>>>0>f>>>0){continue}break e}break}i=0;if(w[e+1|0]|w[e|0]<<8){break a}}i=-1}return i|0}function vCa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;a:{i=v[a+16>>2];a=w[i+6|0]|w[i+7|0]<<8|(w[i+8|0]<<16|w[i+9|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);b:{if(!a){break b}j=i+13|0;while(1){c:{f=a+g>>>1|0;e=j+B(f,11)|0;h=e-3|0;h=w[h+1|0]<<8|w[h|0]<<16|w[h+2|0];d:{if(h>>>0>d>>>0){a=f;break d}if(d>>>0<=h>>>0){break c}g=f+1|0}if(a>>>0>g>>>0){continue}break b}break}f=w[e+4|0]|w[e+5|0]<<8|(w[e+6|0]<<16|w[e+7|0]<<24);e:{a=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!a){break e}d=a+i|0;a=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);h=d+7|0;g=0;while(1){if(a>>>0<=g>>>0){break e}d=a;a=a+g>>>1|0;j=h+(a<<2)|0;e=j-3|0;e=w[e+1|0]<<8|w[e|0]<<16|w[e+2|0];if(e>>>0>c>>>0){continue}g=a+1|0;a=d;if(e+w[j|0]>>>0>>0){continue}break}return Qa[v[v[b+12>>2]+12>>2]](b,c)|0}a=f<<8&16711680|f<<24|(f>>>8&65280|f>>>24);if(!a){break b}b=a+i|0;a=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!a){break b}e=b+7|0;g=0;while(1){b=a+g>>>1|0;d=e+B(b,5)|0;f=d-3|0;f=w[f+1|0]<<8|w[f|0]<<16|w[f+2|0];f:{if(f>>>0>c>>>0){a=b;break f}if(c>>>0<=f>>>0){break a}g=b+1|0}if(a>>>0>g>>>0){continue}break}}return 0}return w[d+1|0]|w[d|0]<<8}function kNa(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,j=0,k=0,l=0,m=0;h=Ma-32|0;Ma=h;a:{if(!b){f=0;break a}j=A2(h+24|0);v[v[j>>2]>>2]=v[a+8>>2];b=Qa[v[v[b>>2]+28>>2]](b,j,c,d,e)|0;v[a+12>>2]=b;b:{if(!b){f=0;break b}v[b+2228512>>2]=a;l=A[e>>3];i=A[g>>3];c:{if(i<4294967296&i>=0){c=~~i>>>0;break c}c=0}i=A[f>>3];d:{if(i<4294967296&i>=0){d=~~i>>>0;break d}d=0}NJ(b,l,d,c);d=a+112|0;e:{if(t[a+123|0]<=-1){v[a+116>>2]=0;b=v[a+112>>2];break e}t[a+123|0]=0;b=d}v[b>>2]=0;f=1;b=v[v[a+12>>2]+180>>2];if(!b){break b}c=v[b+20>>2];f:{if(c){e=0;g:{k=w[c|0];if(!k){break g}b=c;while(1){g=e;e=e+1|0;m=w[b+1|0];b=b+1|0;if(m){continue}break}if((k|0)!=60|g>>>0<6|(w[c+1|0]!=117|w[c+2|0]!=116)){break g}if(w[c+3|0]!=102|w[c+4|0]!=56|w[c+5|0]!=62){break g}Zg(h+8|0,c+6|0,g-5|0);break f}Zs(h+8|0,c,e);break f}t[h+19|0]=0;v[h+8>>2]=0}c=v[a+12>>2];b=c+2228520|0;if(t[c+2228531|0]<=-1){$a(v[b>>2])}c=v[h+12>>2];v[b>>2]=v[h+8>>2];v[b+4>>2]=c;v[b+8>>2]=v[h+16>>2];b=v[a+12>>2];c=b+2228520|0;if((c|0)==(d|0)){break b}g=w[b+2228531|0];e=g<<24>>24;if(t[a+123|0]>=0){if((e|0)>=0){a=v[c+4>>2];v[d>>2]=v[c>>2];v[d+4>>2]=a;v[d+8>>2]=v[c+8>>2];break b}De(d,v[b+2228520>>2],v[b+2228524>>2]);break b}a=(e|0)<0;mf(d,a?v[b+2228520>>2]:c,a?v[b+2228524>>2]:g)}me(j)}Ma=h+32|0;return f|0}function uda(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;e=Ma-16|0;Ma=e;a:{b:{if(!v[a+64>>2]){break b}b=v[a+68>>2];if(!b){break a}c:{c=v[a+92>>2];d:{if(c&16){if(v[a+24>>2]!=v[a+20>>2]){b=-1;if((Qa[v[v[a>>2]+52>>2]](a,-1)|0)==-1){break b}}c=a+72|0;while(1){b=v[a+68>>2];d=v[a+32>>2];d=Qa[v[v[b>>2]+20>>2]](b,c,d,d+v[a+52>>2]|0,e+12|0)|0;f=v[a+32>>2];b=v[e+12>>2]-f|0;if((Lb(f,1,b,v[a+64>>2])|0)!=(b|0)){break c}b=-1;e:{switch(d-1|0){case 1:break b;case 0:continue;default:break e}}break}if(!$i(v[a+64>>2])){break d}break b}if(!(c&8)){break d}c=v[a+84>>2];v[e>>2]=v[a+80>>2];v[e+4>>2]=c;f:{g:{h:{if(w[a+98|0]){c=v[a+16>>2]-v[a+12>>2]|0;b=c;c=b>>31;break h}d=Qa[v[v[b>>2]+24>>2]](b)|0;c=v[a+40>>2]-v[a+36>>2]|0;b=c;c=b>>31;if((d|0)>=1){f=B(d,v[a+16>>2]-v[a+12>>2]|0);d=b+f|0;c=c+(f>>31)|0;c=b>>>0>d>>>0?c+1|0:c;b=d;break h}if(v[a+12>>2]!=v[a+16>>2]){break g}}d=0;break f}d=v[a+68>>2];d=Qa[v[v[d>>2]+32>>2]](d,e,v[a+32>>2],v[a+36>>2],v[a+12>>2]-v[a+8>>2]|0)|0;f=v[a+36>>2]-(d+v[a+32>>2]|0)|0;d=b+f|0;c=(f>>31)+c|0;c=b>>>0>d>>>0?c+1|0:c;b=d;d=1}if(gu(v[a+64>>2],0-b|0,0-(c+((b|0)!=0)|0)|0,1)){break c}if(d){b=v[e+4>>2];v[a+72>>2]=v[e>>2];v[a+76>>2]=b}b=v[a+32>>2];v[a+40>>2]=b;v[a+36>>2]=b;v[a+16>>2]=0;v[a+12>>2]=0;v[a+8>>2]=0;v[a+92>>2]=0}b=0;break b}b=-1}Ma=e+16|0;return b|0}_f();L()}function ol(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;h=v[a+28>>2];i=v[a>>2];if(!(!i&(!v[v[(v[a+24>>2]+(h<<2)|0)-4>>2]+20>>2]|(h|0)<1))){j=h;h=v[a+32>>2];if((j|0)>=(h|0)){h=h<<1;v[a+32>>2]=h;p=a,q=yc(v[a+24>>2],h,4),v[p+24>>2]=q;i=v[a>>2]}h=ab(24);a:{if(i){m=A[a+16>>3];n=A[a+8>>3];v[h+16>>2]=16;j=Pb(16,8);v[h>>2]=j;k=Pb(16,8);v[h+4>>2]=k;i=Pb(16,4);v[h+12>>2]=1;v[h+8>>2]=i;A[j>>3]=n;A[k>>3]=m;v[i>>2]=0;v[h+20>>2]=0;i=v[a+28>>2];j=v[a+24>>2]+(i<<2)|0;break a}i=v[(v[a+24>>2]+(v[a+28>>2]<<2)|0)-4>>2];j=(v[i+12>>2]<<3)-8|0;m=A[j+v[i+4>>2]>>3];n=A[j+v[i>>2]>>3];v[h+16>>2]=16;j=Pb(16,8);v[h>>2]=j;k=Pb(16,8);v[h+4>>2]=k;i=Pb(16,4);v[h+12>>2]=1;v[h+8>>2]=i;A[j>>3]=n;A[k>>3]=m;v[i>>2]=0;v[h+20>>2]=0;i=v[a+28>>2];j=v[a+24>>2]+(i<<2)|0}v[j>>2]=h;v[a>>2]=0;h=i+1|0;v[a+28>>2]=h}a=v[(v[a+24>>2]+(h<<2)|0)-4>>2];h=v[a+16>>2];i=v[a+12>>2];b:{if((h|0)>=(i+3|0)){h=v[a+8>>2];break b}h=h<<1;v[a+16>>2]=h;p=a,q=yc(v[a>>2],h,8),v[p>>2]=q;p=a,q=yc(v[a+4>>2],v[a+16>>2],8),v[p+4>>2]=q;h=yc(v[a+8>>2],v[a+16>>2],4);v[a+8>>2]=h;i=v[a+12>>2]}j=v[a>>2];k=i<<3;A[j+k>>3]=b;o=v[a+4>>2];A[k+o>>3]=c;i=i+1|0;l=i<<3;A[j+l>>3]=d;A[o+l>>3]=e;l=j;j=k+16|0;A[l+j>>3]=f;A[j+o>>3]=g;v[(i<<2)+h>>2]=1;v[(v[a+12>>2]<<2)+h>>2]=1;v[((v[a+12>>2]<<2)+h|0)+8>>2]=0;v[a+12>>2]=v[a+12>>2]+3}function sIa(a){a=a|0;var b=0,c=0,d=0;if(a){c=v[a+100>>2];b=v[a+548>>2];if(b){if(b){Qa[v[c+8>>2]](c,b)}v[a+544>>2]=0;v[a+548>>2]=0}ow(a);v[a+532>>2]=0;b=v[a+132>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+132>>2]=0;b=v[a+136>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+136>>2]=0;b=v[a+140>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+140>>2]=0;b=v[a+144>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+144>>2]=0;b=v[a+148>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+148>>2]=0;b=v[a+432>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+432>>2]=0;b=v[a+428>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+428>>2]=0;b=v[a+424>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+424>>2]=0;b=v[a+408>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+408>>2]=0;b=v[a+412>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+412>>2]=0;eB(v[a+416>>2],c);b=v[a+416>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+416>>2]=0;b=v[a+392>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+392>>2]=0;b=v[a+396>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+396>>2]=0;b=v[a+400>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+400>>2]=0;b=v[a+384>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+384>>2]=0;b=v[a+388>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+388>>2]=0;b=v[a+364>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+364>>2]=0;b=v[a+496>>2];if(b){d=v[b+36>>2];if(d){Qa[v[c+8>>2]](c,d)}v[b+36>>2]=0;v[b+40>>2]=0;d=v[b+28>>2];if(d){Qa[v[c+8>>2]](c,d)}v[b+28>>2]=0;v[b+32>>2]=0;if(b){Qa[v[c+8>>2]](c,b)}}v[a+20>>2]=0;v[a+24>>2]=0}}function CI(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0;j=Ma-224|0;Ma=j;k=a;m=Ma-16|0;Ma=m;a=j;v[a+72>>2]=0;v[a+24>>2]=40;v[a+20>>2]=a+29;v[a+128>>2]=0;v[a+80>>2]=40;v[a+76>>2]=a+85;u[a+28>>1]=0;v[a+184>>2]=0;v[a+136>>2]=40;v[a+132>>2]=a+141;u[a+84>>1]=0;u[a+140>>1]=0;n=a;if(!b){b=dZ()}v[n>>2]=b;if(k){n=Vs(a+132|0,i);b=Ri(m+8|0,k);Of(n,v[b>>2],v[b+4>>2],i)}b=Ym(d,47);k=b?b+1|0:d;v[a+8>>2]=k;o=a,p=zb(k),v[o+16>>2]=p;a:{if((d|0)==(k|0)){b=a;break a}b=a+20|0;Of(b,d,k-d|0,i)}b=v[b>>2];t[a+188|0]=0;v[a+12>>2]=c?c:349015;v[a+4>>2]=b;Ma=m+16|0;b=DI(a,i);b:{if(!b){break b}c:{if(!g){while(1){if(OY(j+192|0,b)){d:{if(v[i>>2]>0){break d}b=v[j+196>>2];if(!(w[b+2|0]!=218|w[b+3|0]!=39)){l=fZ(i);if(v[i>>2]>=1){break d}break c}v[h>>2]=3}Gg(j+192|0);l=0;if(v[i>>2]>0){break b}v[h>>2]=3}b=DI(a,i);if(b){continue}break b}}while(1){if(OY(j+192|0,b)){e:{if(v[i>>2]>0){break e}f:{b=v[j+196>>2];if(w[b+2|0]!=218|w[b+3|0]!=39){break f}if(!(Qa[g|0](0,e,f,b+4|0)|0)){break f}l=fZ(i);if(v[i>>2]>=1){break e}break c}v[h>>2]=3}Gg(j+192|0);l=0;if(v[i>>2]>0){break b}v[h>>2]=3}b=DI(a,i);if(b){continue}break}break b}v[l+4>>2]=b;v[l+16>>2]=v[j+208>>2];v[l+20>>2]=v[j+212>>2]}if(w[a+140|0]){Nd(v[a+132>>2])}if(w[a+84|0]){Nd(v[a+76>>2])}if(w[a+28|0]){Nd(v[a+20>>2])}Ma=j+224|0;return l}function uta(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;c=Ma-16|0;Ma=c;v[c>>2]=13;d=v[a+28>>2];a:{if(!v[d+492>>2]){b=-1;a=v[a+108>>2];b:{if(!a){break b}a=v[a+4>>2];if(v[a+8>>2]==13){break b}a=v[a+16>>2];b=Qa[v[v[a>>2]+52>>2]](a)|0}fb(1,b,285853,0);break a}if(v[a+32>>2]){f=v[a+8>>2];Qa[v[v[f>>2]+156>>2]](f,d);v[a+32>>2]=0}if(v[a+100>>2]){d=v[a+8>>2];Qa[v[v[d>>2]+232>>2]](d,v[a+28>>2]);d=v[v[a+28>>2]+492>>2];h=Qa[v[v[d>>2]+12>>2]](d)|0;f=v[b+8>>2];if(v[f+12>>2]>=1){b=0;while(1){ub(f,b,c,0);e=v[c>>2];c:{if(e-1>>>0<=1){d=v[a+28>>2];g=A[d+496>>3]*(((e|0)==1?+v[c+8>>2]:A[c+8>>3])*-.001);d:{if(h){gV(d,0,g);break d}gV(d,A[d+568>>3]*g,0)}d=v[a+8>>2];Qa[v[v[d>>2]+188>>2]](d,v[a+28>>2],v[c>>2]==1?+v[c+8>>2]:A[c+8>>3]);break c}if((e|0)==3){qz(a,v[c+8>>2]);break c}d=-1;e=v[a+108>>2];e:{if(!e){break e}e=v[e+4>>2];if(v[e+8>>2]==13){break e}d=v[e+16>>2];d=Qa[v[v[d>>2]+52>>2]](d)|0}fb(1,d,272134,0)}bb(c);b=b+1|0;if((b|0)>2]){continue}break}}b=v[a+8>>2];Qa[v[v[b>>2]+236>>2]](b,v[a+28>>2]);break a}d=v[b+8>>2];if(v[d+12>>2]<1){break a}b=0;while(1){ub(d,b,c,0);f:{if(v[c>>2]!=3){break f}f=v[c+8>>2];e=v[a+8>>2];if(!(Qa[v[v[e>>2]+32>>2]](e)|0)){break f}e=v[a+8>>2];Qa[v[v[e>>2]+268>>2]](e,v[f>>2])}bb(c);b=b+1|0;if((b|0)>2]){continue}break}}Ma=c+16|0}function BMa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;if(v[b+4>>2]){d=v[b>>2];c=v[d+24>>2];f=v[d+16>>2];if((c|0)!=(f|0)){e=v[d+8>>2];f=f-1|0;a:{b:{if((f|0)==(c|0)){g=A[e+(c<<4)>>3];break b}i=e+(c<<4)|0;g=A[i>>3];j=e+(f<<4)|0;if(g!=A[j>>3]){break b}if(A[j+8>>3]==A[i+8>>3]){break a}}h=A[(e+(c<<4)|0)+8>>3];c=f+v[d+12>>2]|0;t[c|0]=w[c|0]&253;c=v[d+20>>2];e=v[d+16>>2];c:{if((c|0)>(e|0)){c=v[d+12>>2];break c}if(!c){v[d+20>>2]=32;c=32}if((c|0)<=(e|0)){while(1){c=c<<1;if((e|0)>=(c|0)){continue}break}v[d+20>>2]=c}k=d,l=Wd(v[d+8>>2],c<<4),v[k+8>>2]=l;c=Wd(v[d+12>>2],v[d+20>>2]);v[d+12>>2]=c;e=v[d+16>>2]}f=v[d+8>>2]+(e<<4)|0;A[f+8>>3]=h;A[f>>3]=g;t[c+e|0]=2;v[d+16>>2]=v[d+16>>2]+1;c=v[d+24>>2]}c=v[d+12>>2]+c|0;t[c|0]=w[c|0]|4;c=(v[d+16>>2]+v[d+12>>2]|0)-1|0;t[c|0]=w[c|0]|4;v[d+24>>2]=v[d+16>>2]}v[b+4>>2]=0}g=+v[a>>2]*.015625;h=+v[a+4>>2]*.015625;a=v[b>>2];d=v[a+16>>2];if(v[a+24>>2]!=(d-1|0)){b=v[a+20>>2];d:{if((d|0)<(b|0)){b=v[a+12>>2];break d}if(!b){v[a+20>>2]=32;b=32}if((b|0)<=(d|0)){while(1){b=b<<1;if((d|0)>=(b|0)){continue}break}v[a+20>>2]=b}k=a,l=Wd(v[a+8>>2],b<<4),v[k+8>>2]=l;b=Wd(v[a+12>>2],v[a+20>>2]);v[a+12>>2]=b;d=v[a+16>>2]}c=v[a+8>>2]+(d<<4)|0;A[c+8>>3]=h;A[c>>3]=g;t[b+d|0]=3;b=v[a+16>>2];v[a+24>>2]=b;v[a+16>>2]=b+1}return 0}function Dt(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(v[a+92>>2]){Lj(a+92|0)}a:{if(!a){break a}b=v[a>>2];if(!b){break a}lK(b);$h(b+28|0);g=b+68|0;b:{if(!g){break b}c=v[g>>2];if(!c){break b}c:{f=v[c>>2];if((f|0)<1){break c}d=v[c+8>>2];if(!d){break c}while(1){d:{if(!d){break d}i=(h<<2)+d|0;e=v[i>>2];if(!e){break d}d=v[e+8>>2]-1|0;v[e+8>>2]=d;if(!d){d=0;if(v[e>>2]>=1){while(1){_b(v[e+12>>2]+(d<<2)|0);d=d+1|0;if((d|0)>2]){continue}break}}$a(v[e+12>>2]);Fn(e+16|0);$a(e);f=v[c>>2]}v[i>>2]=0}h=h+1|0;if((f|0)<=(h|0)){break c}d=v[c+8>>2];continue}}$a(v[c+8>>2]);Fn(c+12|0);$a(c);v[g>>2]=0}Lj(b+72|0);Lj(b+76|0);d=0;g=b+80|0;e:{if(!g){break e}e=v[g>>2];if(!e){break e}f:{f=v[e>>2];if((f|0)<1){break f}c=v[e+8>>2];if(!c){break f}while(1){g:{if(!c){break g}h=(d<<2)+c|0;c=v[h>>2];if(!c){break g}i=v[c+8>>2];v[c+8>>2]=i-1;if((i|0)<=1){f=v[c+20>>2];if(f){$a(f)}$a(c);f=v[e>>2]}v[h>>2]=0}d=d+1|0;if((f|0)<=(d|0)){break f}c=v[e+8>>2];continue}}$a(v[e+8>>2]);$a(e);v[g>>2]=0}$h(b+84|0);$h(b+48|0);Vq(b+88|0);Vq(b+92|0);$h(b+96|0);$h(b+100|0);Vq(b+104|0);Vq(b+108|0);$a(b);v[a>>2]=0}b=v[a+100>>2];if(b){v[a+104>>2]=b;$a(b)}QB(a+76|0,v[a+80>>2]);b=v[a+64>>2];if(b){v[a+68>>2]=b;$a(b)}b=v[a+52>>2];if(b){v[a+56>>2]=b;$a(b)}OK(a+36|0,v[a+40>>2]);NK(a+24|0,v[a+28>>2]);$a(a)} -function XSa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=Ma+-64|0;Ma=c;b=x[a+26306>>1];e=Yb(b,1);if(!e){b=v[a+190640>>2];a:{if(b){d=v[a+25208>>2];v[c+20>>2]=47674;v[c+16>>2]=d;Dc(b,4338,c+16|0);break a}b=v[a+25208>>2];v[c+4>>2]=47674;v[c>>2]=b;vb(v[249419],4338,c)}tc(a+190484|0,1);L()}Qa[v[v[a>>2]+8>>2]](v[a+4>>2],B(b,x[a+26312>>1]),1)|0;b=x[a+26306>>1];if(x[a+26308>>1]){h=v[249419];while(1){d=0;f=Qa[v[v[a>>2]>>2]](v[a+4>>2],e,1,b)|0;b=x[a+26306>>1];if((f|0)<(b|0)){b:{if(v[a+26160>>2]){break b}v[c+48>>2]=v[a+25208>>2];vb(h,8292,c+48|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,h);break b}b=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[c+32>>2]=b;v[c+36>>2]=b>>31;vb(h,14622,c+32|0)}v[a+26160>>2]=1;b=x[a+26306>>1]}c:{if(b){k=g<<1&14;while(1){f=x[((w[d+e|0]<<1)+a|0)+26484>>1];i=d-x[a+26314>>1]|0;d:{if(i>>>0>1]){b=x[a+26316>>1];u[(v[a+26352>>2]+(B(x[a+26320>>1],g>>>b|0)+(i>>>b|0)<<3)|0)+((v[a+26028>>2]>>>((i&1|k)<<1)&3)<<1)>>1]=f;b=x[a+26306>>1];break d}j=f+j|0}d=d+1|0;if(d>>>0>>0){continue}break}break c}b=0}d=x[a+26308>>1];g=g+1|0;if(d>>>0>g>>>0){continue}break}}$a(e);e=x[a+26310>>1];if(e+1>>>0>>0){v[a+26120>>2]=(j>>>0)/(B(b-e|0,d)>>>0)}if(!Kb(a+25797|0,48233,3)){v[a+26120>>2]=0}v[a+26124>>2]=x[a+26994>>1];Ma=c- -64|0}function BS(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=Ma-32|0;Ma=d;c=d;g=v[b>>2];if(g){v[g+4>>2]=v[g+4>>2]+1;b=v[b>>2]}else{b=0}v[c+16>>2]=b;Vu(d+24|0,d+16|0);c=v[d+16>>2];v[d+16>>2]=0;a:{if(!c){break a}b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(b){break a}b=v[c+4>>2];if(!b){v[c+4>>2]=-32767}if(!b){Qa[v[v[c>>2]+4>>2]](c)}}g=a+12|0;ac(g);h=yj(v[d+24>>2]);if(!(!h|(h|0)<1)){a=0;while(1){c=ab(28);v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=971056;v[c+4>>2]=0;b=v[279250];v[c+20>>2]=0;v[c+24>>2]=b;v[c+16>>2]=b;v[d+8>>2]=0;qb(d+8|0,c);e=v[d+8>>2];f=v[d+24>>2];i=e,j=Me(f),v[i+8>>2]=j;b=e+12|0;xu(b);i=e,j=(Me(f)<<8)+v[e+8>>2]|0,v[i+8>>2]=j;c=yj(f);if(c){b=cm(b,c);i=(Qa[v[v[f>>2]+8>>2]](f,b,c)|0)+b|0,j=0,t[i|0]=j}b=e+20|0;xu(b);c=Wp(f);if(c){b=cm(b,c);i=(Qa[v[v[f>>2]+8>>2]](f,b,c)|0)+b|0,j=0,t[i|0]=j}c=ab(12);v[c>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;b=c;e=v[d+8>>2];if(e){v[e+4>>2]=v[e+4>>2]+1;e=v[d+8>>2]}else{e=0}v[b+8>>2]=e;de(g,c);c=v[d+8>>2];v[d+8>>2]=0;b:{if(!c){break b}b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(b){break b}b=v[c+4>>2];if(!b){v[c+4>>2]=-32767}if(!b){Qa[v[v[c>>2]+4>>2]](c)}}a=a+1|0;if((h|0)!=(a|0)){continue}break}}b=v[d+24>>2];v[d+24>>2]=0;c:{if(!b){break c}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break c}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}}Ma=d+32|0}function _W(a,b){var c=0,d=0,e=0,f=0,g=0;f=Ma-16|0;Ma=f;a:{if(v[a+292>>2]){break a}c=v[a+36>>2];if((v[c+20>>2]-v[c+16>>2]|0)>249){break a}oc(a)}d=v[a+36>>2];c=v[d+16>>2];b:{if(!(w[c|0]==60&w[c+1|0]==47)){Pc(a,74,343746);break b}v[a+200>>2]=v[a+200>>2]+2;v[d+16>>2]=c+2;v[d+32>>2]=v[d+32>>2]+2;c=w[c+2|0];if((c|0)==37){zc(a);d=v[a+36>>2];c=w[v[d+16>>2]]}c:{if(c){break c}if((Zb(d)|0)>0){break c}xc(a)}d=ZW(a,v[a+184>>2]);d:{if(v[a+292>>2]){break d}c=v[a+36>>2];if((v[c+20>>2]-v[c+16>>2]|0)>249){break d}oc(a)}Fc(a);c=v[a+36>>2];e=v[c+16>>2];g=w[e|0];e:{if(!((g|0)==62&(g-9&255)>>>0>1)){if(v[a+172>>2]==-1?v[a+212>>2]:0){break e}v[a+84>>2]=73;v[f>>2]=336440;nb(0,0,0,a,0,1,73,3,0,0,0,0,340716,f);v[a+12>>2]=0;if(v[a+288>>2]){break e}v[a+212>>2]=1;break e}v[c+16>>2]=e+1;v[c+32>>2]=v[c+32>>2]+1;v[a+200>>2]=v[a+200>>2]+1;if(w[e+1|0]){break e}Zb(c)}if((d|0)!=1){Hz(a,76,340433,v[a+184>>2],b,d?d:282367)}b=v[a>>2];f:{if(!b){break f}b=v[b+60>>2];if(v[a+212>>2]|!b){break f}Qa[b|0](v[a+4>>2],v[a+184>>2])}c=v[a+188>>2];if((c|0)>=1){e=c-1|0;v[a+188>>2]=e;d=v[a+196>>2];v[a+184>>2]=(c|0)!=1?v[(d+(c<<2)|0)-8>>2]:0;v[d+(e<<2)>>2]=0}b=v[a+236>>2];if((b|0)<1){break b}c=b-1|0;v[a+236>>2]=c;d=a;a=v[a+244>>2];v[d+232>>2]=a+(((b|0)==1?0:b-2|0)<<2);v[a+(c<<2)>>2]=-1}Ma=f+16|0}function Dd(a,b,c){var d=0,e=0,f=0,g=0,h=0;if(!b){return 6}if(!a){return 40}d=v[a+32>>2];a:{while(1){b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{g=w[b|0];switch(g-4|0){case 14:case 15:break g;case 12:case 13:break h;case 10:case 11:break i;case 8:case 9:break j;case 20:case 21:break k;case 0:break l;case 4:case 5:break d;case 18:case 19:break e;case 16:case 17:break f;default:break b}}d=Ed(a,x[b+2>>1]);if(d){break a}d=v[a+32>>2];h=1;b=b+4|0;continue}f=w[b+1|0];e=f+d|0;if(e>>>0>y[a+36>>2]){d=85;break a}if((g|0)!=24){d=e;b=b+4|0;continue}cb(x[b+2>>1]+c|0,d,f);d=e;b=b+4|0;continue}e=w[d+1|0]|w[d|0]<<8;f=16;d=d+2|0;break c}e=w[d|0]|w[d+1|0]<<8;f=16;d=d+2|0;break c}e=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);f=0;d=d+4|0;break c}e=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);f=0;d=d+4|0;break c}f=8;e=w[d+2|0]|(w[d+1|0]<<8|w[d|0]<<16);d=d+3|0;break c}f=8;e=w[d|0]|(w[d+1|0]<<8|w[d+2|0]<<16);d=d+3|0;break c}e=w[d|0];f=24;d=d+1|0}e=g&1?e<>f:e;f=x[b+2>>1]+c|0;m:{n:{switch(w[b+1|0]-1|0){case 0:t[f|0]=e;break m;case 1:u[f>>1]=e;break m;default:break n}}v[f>>2]=e}b=b+4|0;continue}break}v[a+32>>2]=d;d=0}if(h){if(v[a+20>>2]){b=v[a+28>>2];c=v[a>>2];if(c){Qa[v[b+8>>2]](b,c)}v[a>>2]=0}v[a+32>>2]=0;v[a+36>>2]=0}return d}function txa(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{h=v[c>>2];if(h>>>0>=d>>>0){break a}k=v[a+396>>2];n=k+8|0;while(1){if(y[f>>2]>=g>>>0){break a}l=v[k+52>>2];i=v[a+272>>2]-l|0;j=d-h|0;i=i>>>0>>0?i:j;Qa[v[v[a+408>>2]+4>>2]](a,(h<<2)+b|0,n,l,i);v[c>>2]=i+v[c>>2];h=i+v[k+52>>2]|0;v[k+52>>2]=h;l=v[k+48>>2]-i|0;v[k+48>>2]=l;i=v[a+272>>2];b:{c:{if(!((i|0)<=(h|0)|l)){j=0;l=k;m=v[a+76>>2];if((m|0)>=1){while(1){if((h|0)<(i|0)){o=h-1|0;m=v[(k+(j<<2)|0)+8>>2];p=v[a+28>>2];while(1){Em(m,o,m,h,1,p);h=h+1|0;if((i|0)!=(h|0)){continue}break}m=v[a+76>>2]}j=j+1|0;if((m|0)>(j|0)){i=v[a+272>>2];h=v[k+52>>2];continue}break}i=v[a+272>>2]}v[l+52>>2]=i;break c}if((h|0)!=(i|0)){break b}}Qa[v[v[a+412>>2]+4>>2]](a,n,0,e,v[f>>2]);v[k+52>>2]=0;v[f>>2]=v[f>>2]+1}d:{if(v[k+48>>2]){break d}h=v[f>>2];if(h>>>0>=g>>>0){break d}e:{c=v[a+76>>2];if((c|0)<1){break e}j=v[a+84>>2];b=0;while(1){d=(B(v[j+40>>2],v[j+12>>2])|0)/v[a+280>>2]|0;h=B(d,h);d=B(d,g);if((h|0)<(d|0)){k=B(v[j+36>>2],v[j+28>>2]);i=h-1|0;c=v[(b<<2)+e>>2];while(1){Em(c,i,c,h,1,k);h=h+1|0;if((d|0)!=(h|0)){continue}break}c=v[a+76>>2]}b=b+1|0;if((c|0)<=(b|0)){break e}j=j+88|0;h=v[f>>2];continue}}v[f>>2]=g;return}h=v[c>>2];if(h>>>0>>0){continue}break}}}function sQ(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=Ma-32|0;Ma=i;j=v[b+16>>2];c=j-1|0;pi(a+72|0,0,c);pi(a+96|0,0,c);pi(a+120|0,0,c);a:{b:{if((j|0)>0){while(1){if(v[a+92>>2]<(d|0)|v[a+88>>2]>(d|0)){break a}v[v[a+76>>2]+(d-v[a+80>>2]<<2)>>2]=d;if(v[a+116>>2]<(d|0)|v[a+112>>2]>(d|0)){break a}v[v[a+100>>2]+(d-v[a+104>>2]<<2)>>2]=d;if(v[a+140>>2]<(d|0)|v[a+136>>2]>(d|0)){break b}c=b;g=v[a+124>>2]+(d-v[a+128>>2]<<4)|0;h=Ma-32|0;Ma=h;c:{d:{while(1){e=c;f=v[c+16>>2];if((f|0)>(d|0)){c=v[e+20>>2];if(c){continue}break d}break}k=v[e+68>>2];c=v[e- -64>>2];if((((k+f|0)-c|0)+1|0)<=(d|0)){break d}l=c;c=d-f|0;if(!((l|0)>(c|0)|(c|0)>(k|0))){c=v[e+52>>2]+(c-v[e+56>>2]<<4)|0;e=v[c+4>>2];v[g>>2]=v[c>>2];v[g+4>>2]=e;e=v[c+12>>2];v[g+8>>2]=v[c+8>>2];v[g+12>>2]=e;break c}lb(mb(h+8|0,227376,271519,619,306979));L()}e:{if((d|0)>=(f|0)){break e}while(1){e=v[e+20>>2];if(e){f=v[e+16>>2];if((f|0)>(d|0)){continue}break e}break}lb(mb(h+8|0,239984,241993,165,327454));L()}c=d-f|0;if(!((c|0)>=v[e+40>>2]&(c|0)<=v[e+44>>2])){lb(mb(h+8|0,227376,271519,619,307655));L()}rQ(g,v[(v[e+28>>2]+B(c-v[e+32>>2]|0,12)|0)+4>>2])}Ma=h+32|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}Ma=i+32|0;return}lb(mb(i+8|0,227376,271519,619,306979));L()}lb(mb(i+8|0,227376,271519,619,306765));L()}function rWa(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;a:{if(w[a+286|0]|!w[a+285|0]|(w[a+287|0]|w[a+288|0])){break a}if(w[a+289|0]){break a}if(!(1<>>0<=5:0)){ob(a,1028,0,0);return 1028}b:{c:{if(c){f=w[d|0]|w[d+1|0]<<8;f=f<<8|f>>>8;u[a+1150>>1]=f;if(c>>>0<=2){u[a+1152>>1]=f;g=f;break c}g=w[d+2|0]|w[d+3|0]<<8;g=g<<8|g>>>8;u[a+1152>>1]=g;if(c>>>0<5){break c}i=w[d+4|0];t[a+1148|0]=i;break b}u[a+1150>>1]=1;u[a+1152>>1]=65535;i=2;t[a+1148|0]=2;f=1;g=65535;break b}t[a+1148|0]=0}h=0;d:{if(!w[a+114|0]){break d}h=f&65535;j=g&65535;f=Qa[v[a+152>>2]](36)|0;if(!f){ob(a,1,0,0);h=1;break d}v[f+4>>2]=729;v[f>>2]=730;g=v[a+700>>2];e:{if(g){v[g+8>>2]=f;break e}v[a+696>>2]=f}v[f+8>>2]=0;v[f+12>>2]=g;v[a+700>>2]=f;v[f+16>>2]=v[a+436>>2];v[f+20>>2]=v[a+440>>2];v[f+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=f}t[f+32|0]=i;u[f+30>>1]=j;u[f+28>>1]=h;h=0}f=h;f:{if(f){break f}f=Xw(a);if(f){break f}g:{if(!w[a+112|0]){break g}f=Qa[v[b+4>>2]](a,b,e)|0;if(f){break f}a=v[e>>2];b=!c;t[a+32|0]=b;if(b){break g}b=w[d|0]|w[d+1|0]<<8;b=b<<8|b>>>8;u[a+34>>1]=b;if(c>>>0<=2){u[a+36>>1]=b;break g}b=w[d+2|0]|w[d+3|0]<<8;u[a+36>>1]=b<<8|b>>>8;if(c>>>0<5){break g}t[a+38|0]=w[d+4|0]}f=0}return f|0}ob(a,1029,0,0);return 1029}function gR(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;d=Ma-80|0;Ma=d;if(!w[b+88|0]){j=b,k=Qa[v[v[b>>2]+36>>2]](b)|0,v[j+72>>2]=k;j=b,k=Qa[v[v[b>>2]+44>>2]](b)|0,v[j+76>>2]=k;j=b,k=Qa[v[v[b>>2]+40>>2]](b)|0,v[j+80>>2]=k;e=Qa[v[v[b>>2]+48>>2]](b)|0;t[b+88|0]=1;v[b+84>>2]=e}g=Qe(d+24|0,v[b+72>>2]);ic(d+32|0,g,326442);e=c-1|0;a:{if(w[b+88|0]){c=v[b+84>>2];break a}j=b,k=Qa[v[v[b>>2]+36>>2]](b)|0,v[j+72>>2]=k;j=b,k=Qa[v[v[b>>2]+44>>2]](b)|0,v[j+76>>2]=k;j=b,k=Qa[v[v[b>>2]+40>>2]](b)|0,v[j+80>>2]=k;c=Qa[v[v[b>>2]+48>>2]](b)|0;t[b+88|0]=1;v[b+84>>2]=c}f=d+40|0;h=Qe(d+16|0,e-c|0);Xb(f,d+32|0,h);ic(d+48|0,f,326442);if(!w[b+88|0]){j=b,k=Qa[v[v[b>>2]+36>>2]](b)|0,v[j+72>>2]=k;j=b,k=Qa[v[v[b>>2]+44>>2]](b)|0,v[j+76>>2]=k;j=b,k=Qa[v[v[b>>2]+40>>2]](b)|0,v[j+80>>2]=k;c=Qa[v[v[b>>2]+48>>2]](b)|0;t[b+88|0]=1;v[b+84>>2]=c}c=d+56|0;f=Qe(d+8|0,v[b+76>>2]);Xb(c,d+48|0,f);ic(d- -64|0,c,326442);if(!w[b+88|0]){j=b,k=Qa[v[v[b>>2]+36>>2]](b)|0,v[j+72>>2]=k;j=b,k=Qa[v[v[b>>2]+44>>2]](b)|0,v[j+76>>2]=k;j=b,k=Qa[v[v[b>>2]+40>>2]](b)|0,v[j+80>>2]=k;c=Qa[v[v[b>>2]+48>>2]](b)|0;t[b+88|0]=1;v[b+84>>2]=c}c=d+72|0;i=d- -64|0;e=Qe(d,e-v[b+80>>2]|0);Xb(c,i,e);fR(a,b,c);db(c);db(e);db(i);db(d+56|0);db(f);db(d+48|0);db(d+40|0);db(h);db(d+32|0);db(g);Ma=d+80|0}function Ix(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0;k=Ma-16|0;Ma=k;a:{b:{c:{if((c|0)<=36){f=w[a|0];if(f){break c}g=a;break b}v[296206]=28;d=0;e=0;break a}g=a;d:{while(1){f=f<<24>>24;if(!((f|0)==32|f-9>>>0<5)){break d}f=w[g+1|0];h=g+1|0;g=h;if(f){continue}break}g=h;break b}e:{f=w[g|0];switch(f-43|0){case 0:case 2:break e;default:break b}}m=(f|0)==45?-1:0;g=g+1|0}f:{if(!(c&-17|w[g|0]!=48)){o=1;if((w[g+1|0]&223)==88){g=g+2|0;l=16;break f}g=g+1|0;l=c?c:8;break f}l=c?c:10}p=l;q=l>>31;c=0;while(1){g:{f=-48;h=t[g|0];h:{if((h-48&255)>>>0<10){break h}f=-87;if((h-97&255)>>>0<26){break h}f=-55;if((h-65&255)>>>0>25){break g}}h=f+h|0;if((h|0)>=(l|0)){break g}rh(k,p,q,0,0,j,i,0,0);f=1;i:{if(v[k+8>>2]|v[k+12>>2]){break i}r=x3a(j,i,p,q);n=Pa;s=h>>31;u=s^-1;if((n|0)==(u|0)&(h^-1)>>>0>>0|n>>>0>u>>>0){break i}i=n+s|0;f=h+r|0;i=f>>>0>>0?i+1|0:i;j=f;o=1;f=c}g=g+1|0;c=f;continue}break}if(b){v[b>>2]=o?g:a}j:{k:{if(c){v[296206]=68;a=d&1;m=a?0:m;j=d;i=e;break k}if((e|0)==(i|0)&d>>>0>j>>>0|e>>>0>i>>>0){break j}a=d&1}if(!(a|m)){v[296206]=68;a=d;d=a-1|0;e=e-(a>>>0<1)|0;break a}if((e|0)==(i|0)&d>>>0>=j>>>0|e>>>0>i>>>0){break j}v[296206]=68;break a}a=m;b=a^j;d=b-a|0;c=a>>31;e=(c^i)-((a>>>0>b>>>0)+c|0)|0}Ma=k+16|0;Pa=e;return d}function OM(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;g=Ma-16|0;Ma=g;a:{b:{c:{d:{b=v[a+584>>2];if(!w[b+205|0]){if(!w[b+303|0]){wb(v[a+628>>2],87264,53690,0);break b}if(!Rm(b,g+14|0)){break b}c=w[b+194|0];if(x[g+14>>1]!=((c<<1)+6|0)){wb(v[a+628>>2],87264,53690,0);break b}e=x[b+1148>>1];if(!e){if(!oj(b)){break b}e=x[b+1148>>1];if(!e){break a}c=w[b+194|0]}f=v[b+1152>>2];h=w[f|0];d=e-1|0;u[b+1148>>1]=d;e=f+1|0;v[b+1152>>2]=e;c=c&255;if((c|0)!=(h|0)){break d}if(c){a=0;while(1){if(!(d&65535)){if(!oj(b)){d=0;break b}d=x[b+1148>>1];if(!d){break a}}c=v[b+1152>>2];e=w[c|0];u[b+1148>>1]=d-1;v[b+1152>>2]=c+1;c=w[b+193|0]+a|0;t[(c+b|0)+325|0]=e;d=x[b+1148>>1];if(!d){if(!oj(b)){d=0;break b}d=x[b+1148>>1];if(!d){break a}c=w[b+193|0]+a|0}e=v[b+1152>>2];f=w[e|0];u[b+1148>>1]=d-1;v[b+1152>>2]=e+1;t[(b+c|0)+328|0]=f;d=x[b+1148>>1];a=a+1|0;if(a>>>0>2]}a=(d&65535)>>>0<3?d:3;c=d-a|0;u[b+1148>>1]=c;v[b+1152>>2]=(a&65535)+e;d=1;e=a^3;f=e&65535;if(!f){break b}if(c&65535){break c}t[b+1140|0]=0;a=v[b+1144>>2];c=(a>>>0>>0?a:e)&65535;v[b+1144>>2]=a-c;v[b+1136>>2]=c+v[b+1136>>2];break b}O(53437,7087,1640,87264);L()}d=0;wb(v[a+628>>2],87264,53690,0);break b}O(47616,7087,2034,87099);L()}Ma=g+16|0;return d}O(43294,7087,1949,87085);L()}function w0(a,b,c){var d=0,e=0,f=0,g=0,h=0;g=Ma-32|0;Ma=g;h=v[b+72>>2];a:{if((h|0)==1651078259){break a}b:{if(!(w[v[b+156>>2]+42|0]&16)){break b}d=v[b+4>>2];f=v[b+12>>2];v[g+24>>2]=0;if(!(w[d+8|0]&8)|(!d|f>>>0>=y[d+16>>2])){break b}e=v[v[d+540>>2]+132>>2];if(!e){break b}if(!(Qa[e|0](d,f,g+12|0,g+8|0,g+16|0)|0)){h=v[b+72>>2];break b}if(!DJ(d,0)){e=v[d+540>>2];c:{while(1){if(Am(d,v[g+12>>2],v[v[b+156>>2]+40>>2]&-1048581|4)){break c}if(Qa[v[e+136>>2]](d,v[g+8>>2],b,v[d+84>>2])|0){break c}d:{if(!(w[d+8|0]&8)|f>>>0>=y[d+16>>2]){break d}h=v[v[d+540>>2]+132>>2];if(!h){break d}if(Qa[h|0](d,f,g+12|0,g+8|0,g+16|0)|0){continue}}break}v[b+72>>2]=1651078259;nB(v[d+84>>2]);f=0;break a}nB(v[d+84>>2])}h=1869968492;v[b+72>>2]=1869968492}e:{if((h|0)!=1869968492){f=7;if(!a){break a}e=v[a+148>>2];if(!e){break a}while(1){d=v[e+8>>2];if(v[d+16>>2]==(h|0)){break e}e=v[e+4>>2];if(e){continue}break}break a}d=v[a+156>>2];if(!d){f=7;break a}e=v[a+148>>2]}f=0;d=Qa[v[d+60>>2]](d,b,c,0)|0;if(!d){break a}h=a+148|0;while(1){f:{g:{if((d&255)!=19){break g}e=v[(e?e+4|0:h)>>2];if(!e){break g}f=v[b+72>>2];while(1){a=v[e+8>>2];if((f|0)==v[a+16>>2]){break f}e=v[e+4>>2];if(e){continue}break}}f=d;break a}f=0;d=Qa[v[a+60>>2]](a,b,c,0)|0;if(d){continue}break}}Ma=g+32|0;return f}function hg(a,b,c){var d=0;a:{b:{c:{d:{e:{f:{g:{h:{c=c-1|0;switch(c|0){case 2:case 7:break c;case 11:break d;case 10:break e;case 4:case 9:break f;case 3:case 8:break g;case 0:case 5:break h;default:break b}}if(v[b+4>>2]){break b}return 0}if(y[b+4>>2]>3){break b}break a}if(y[b+4>>2]>7){break b}break a}if(y[b+4>>2]<4){break a}return+z[v[b>>2]>>2]}if(y[b+4>>2]<8){break a}return A[v[b>>2]>>3]}if(y[b+4>>2]<=1){break a}}b=v[b>>2];i:{switch(c|0){case 5:return+t[b|0];case 0:return+w[b|0];case 2:a=v[a+264>>2];return+(w[!a+b|0]<<8|w[((a|0)!=0)+b|0]);case 3:j:{if(v[a+264>>2]){c=w[b+1|0]<<16|w[b|0]<<24|w[b+2|0]<<8;b=b+3|0;break j}c=w[b+2|0]<<16|w[b+3|0]<<24|w[b+1|0]<<8}return+((w[b|0]|c)>>>0);case 4:case 9:k:{if(v[a+264>>2]){a=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);c=w[b+5|0]<<16|w[b+4|0]<<24|w[b+6|0]<<8;b=b+7|0;break k}c=w[b+6|0]<<16|w[b+7|0]<<24|w[b+5|0]<<8;a=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);b=b+4|0}b=w[b|0]|c;if(!b){break a}return+(a|0)/+(b|0);case 7:a=v[a+264>>2];return+((w[!a+b|0]<<8|w[((a|0)!=0)+b|0])<<16>>16);case 8:break i;default:break a}}l:{if(v[a+264>>2]){c=w[b+1|0]<<16|w[b|0]<<24|w[b+2|0]<<8;b=b+3|0;break l}c=w[b+2|0]<<16|w[b+3|0]<<24|w[b+1|0]<<8}d=+(w[b|0]|c)}return d}function CAa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=v[a+8>>2];k=v[a+12>>2];if(g>>>0>>0){i=v[a+20>>2];c=v[a+4>>2];if(v[c+52>>2]==1){zh(c,842164,4,a+16|0,i,a+24|0,-1,b);c=v[a+4>>2];v[c+52>>2]=0}d=v[a+16>>2];f=v[c+56>>2];a:{if(!f){h=g;c=0;break a}v[c+56>>2]=0;c=1}b:{while(1){c:{d:{e:{f:{g:{h:{i:{if(!c){if(h>>>0>=k>>>0){g=h;break b}if(d>>>0>=i>>>0){g=h;break b}g=h+2|0;f=x[h>>1];c=g;if((f&63488)!=55296){break i}if((f&64512)!=55296){break h}c=1;continue}if(g>>>0>=k>>>0){break e}h=x[g>>1];if((h&64512)!=56320){break h}f=(h+(f<<10)|0)-56613888|0;c=g+2|0}h=c;j:{if(d>>>0>>0){t[d|0]=f;d=d+1|0;break j}c=v[a+4>>2];e=t[c+63|0];t[c+63|0]=e+1;t[(c+e|0)+76|0]=f;v[b>>2]=15}l=f>>>16|0;c=f>>>8|0;if(d>>>0>>0){break g}e=v[a+4>>2];j=t[e+63|0];t[e+63|0]=j+1;t[(e+j|0)+76|0]=c;v[b>>2]=15;break f}v[v[a+4>>2]+56>>2]=f;break c}t[d|0]=c;d=d+1|0}c=l&31;k:{if(d>>>0>=i>>>0){e=v[a+4>>2];j=t[e+63|0];t[e+63|0]=j+1;t[(e+j|0)+76|0]=c;v[b>>2]=15;break k}t[d|0]=c;d=d+1|0}if(d>>>0>=i>>>0){c=v[a+4>>2];e=t[c+63|0];t[c+63|0]=e+1;t[(c+e|0)+76|0]=0;v[b>>2]=15;break d}t[d|0]=0;d=d+1|0;break d}v[v[a+4>>2]+56>>2]=f;if(w[a+2|0]){break c}break b}c=0;continue}break}v[b>>2]=12}if(!(d>>>0>>0|g>>>0>=k>>>0|v[b>>2]>0)){v[b>>2]=15}v[a+8>>2]=g;v[a+16>>2]=d}}function kM(a){var b=0,c=0,d=0,e=0,f=0,g=0;d=gb(72);if(!d){return 0}d=eb(d,0,72);v[d>>2]=v[a>>2];v[d+4>>2]=v[a+4>>2];v[d+8>>2]=v[a+8>>2];v[d+12>>2]=v[a+12>>2];f=d,g=EC(v[a+16>>2]),v[f+16>>2]=g;a:{c=v[a+20>>2];if(c){b=Di();if(!b){break a}if(Xi(b,c)){break a}v[d+20>>2]=b}c=v[a+24>>2];if(c){e=1;b=Di();if(!b){break a}if(Xi(b,c)){break a}v[d+24>>2]=b}c=v[a+28>>2];if(c){e=2;b=Di();if(!b){break a}if(Xi(b,c)){break a}v[d+28>>2]=b}c=v[a+32>>2];if(c){e=3;b=Di();if(!b){break a}if(Xi(b,c)){break a}v[d+32>>2]=b}c=v[a+36>>2];if(c){e=4;b=Di();if(!b){break a}if(Xi(b,c)){break a}v[d+36>>2]=b}c=v[a+40>>2];if(c){e=5;b=Di();if(!b){break a}if(Xi(b,c)){break a}v[d+40>>2]=b}c=v[a+44>>2];if(c){e=6;b=Di();if(!b){break a}if(Xi(b,c)){break a}v[d+44>>2]=b}c=v[a+48>>2];if(c){e=7;b=Di();if(!b){break a}if(Xi(b,c)){break a}v[d+48>>2]=b}c=v[a+52>>2];if(c){e=8;b=Di();if(!b){break a}if(Xi(b,c)){break a}v[d+52>>2]=b}c=v[a+56>>2];if(c){e=9;b=Di();if(!b){break a}if(Xi(b,c)){break a}v[d+56>>2]=b}c=v[a+60>>2];if(c){e=10;b=Di();if(!b){break a}if(Xi(b,c)){break a}v[d+60>>2]=b}c=v[a- -64>>2];if(c){e=11;b=Di();if(!b){break a}if(Xi(b,c)){break a}v[d+64>>2]=b}b=v[a+68>>2];if(b){e=12;a=Di();if(!a){break a}if(Xi(a,b)){break a}v[d+68>>2]=a}return d}v[(d+(e<<2)|0)+20>>2]=0;return 0}function Vm(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0;i=Ma-32|0;Ma=i;v[i+16>>2]=c;v[i+24>>2]=b;b=i+8|0;c=v[d+28>>2];v[b>>2]=c;v[c+4>>2]=v[c+4>>2]+1;j=Yi(b);b=v[b>>2];c=v[b+4>>2]-1|0;v[b+4>>2]=c;if((c|0)==-1){Qa[v[v[b>>2]+8>>2]](b)}v[e>>2]=0;c=0;a:{while(1){if(c|(g|0)==(h|0)){break a}b:{if(yg(i+24|0,i+16|0)){break b}c:{if((Qa[v[v[j>>2]+36>>2]](j,t[g|0],0)|0)==37){c=g+1|0;if((h|0)==(c|0)){break b}k=0;b=Qa[v[v[j>>2]+36>>2]](j,t[c|0],0)|0;d:{if(!((b|0)==69|(b&255)==48)){c=g;break d}if((g+2|0)==(h|0)){break b}k=b;b=Qa[v[v[j>>2]+36>>2]](j,t[g+2|0],0)|0}l=i,m=Qa[v[v[a>>2]+36>>2]](a,v[i+24>>2],v[i+16>>2],d,e,f,b,k)|0,v[l+24>>2]=m;g=c+2|0;break c}b=t[g|0];if((b|0)>=0){b=x[v[j+8>>2]+((b&255)<<1)>>1]&8192}else{b=0}if(b){while(1){e:{g=g+1|0;if((h|0)==(g|0)){g=h;break e}b=t[g|0];if((b|0)>=0){b=x[v[j+8>>2]+((b&255)<<1)>>1]&8192}else{b=0}if(b){continue}}break}while(1){if(!Mh(i+24|0,i+16|0)){break c}b=sf(i+24|0);if((b|0)>=0){b=(x[v[j+8>>2]+((b&255)<<1)>>1]&8192)!=0}else{b=0}if(!b){break c}Zf(i+24|0);continue}}if(((m=j,n=sf(i+24|0),l=v[v[j>>2]+12>>2],Qa[l](m|0,n|0)|0)|0)==(Qa[v[v[j>>2]+12>>2]](j,t[g|0])|0)){g=g+1|0;Zf(i+24|0);break c}v[e>>2]=4}c=v[e>>2];continue}break}v[e>>2]=4}if(yg(i+24|0,i+16|0)){v[e>>2]=v[e>>2]|2}Ma=i+32|0;return v[i+24>>2]}function v3a(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{g=b;if(g){e=c;if(!e){break j}f=d;if(!f){break i}f=E(f)-E(g)|0;if(f>>>0<=31){break h}break b}if((d|0)==1|d>>>0>1){break b}b=(a>>>0)/(c>>>0)|0;Na=a-B(b,c)|0;Oa=0;Pa=0;return b}e=d;if(!a){break g}if(!e){break f}f=e-1|0;if(f&e){break f}Na=a;Oa=f&g;a=g>>>w3a(e)|0;Pa=0;return a}f=e-1|0;if(!(f&e)){break e}j=(E(e)+33|0)-E(g)|0;h=0-j|0;break c}j=f+1|0;h=63-f|0;break c}Na=0;a=(g>>>0)/(e>>>0)|0;Oa=g-B(a,e)|0;Pa=0;return a}f=E(e)-E(g)|0;if(f>>>0<31){break d}break b}Na=a&f;Oa=0;if((e|0)==1){break a}c=a;a=w3a(e);d=a&31;if((a&63)>>>0>=32){f=0;a=b>>>d|0}else{f=b>>>d|0;a=((1<>>d}Pa=f;return a}j=f+1|0;h=63-f|0}e=b;g=a;f=j&63;i=f&31;if((f&63)>>>0>=32){f=0;l=e>>>i|0}else{f=e>>>i|0;l=((1<>>i}a=h&63;h=a&31;if((a&63)>>>0>=32){e=g<>>32-h|b<>>31;e=e<<1;k=f;f=b>>>31|e;m=k;e=k;k=f;i=g-((f>>>0>h>>>0)+e|0)|0;f=i>>31;e=f;i=e;f=c&e;l=k-f|0;f=m-((d&e)+(f>>>0>k>>>0)|0)|0;e=b<<1|a>>>31;a=n|a<<1;b=e|o;e=0;m=e;k=i&1;n=k;j=j-1|0;if(j){continue}break}}Na=l;Oa=f;e=b<<1|a>>>31;a=k|a<<1;Pa=e|m;return a}Na=a;Oa=b;a=0;b=0}Pa=b;return a}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;var h=0,i=0,j=0,k=0,l=0;a:{if(f){if(!d){break a}a=c<<1;b=b<<1;while(1){i=x[e>>1];b:{if((i|0)==x[f>>1]){u[g>>1]=i;break b}i=w[e|0]|w[e+1|0]<<8;h=i;j=(h<<8|h>>>8)&65535;h=w[f|0]|w[f+1|0]<<8;i=j+((B(b,((h<<8|h>>>8)&65535)-((i<<8|i>>>8)&65535)|0)+c|0)/(a|0)|0)&65535;i=i<<8|i>>>8;t[g|0]=i;t[g+1|0]=i>>>8}i=g+2|0;h=x[e+2>>1];c:{if((h|0)==x[f+2>>1]){u[i>>1]=h;break c}h=e+2|0;j=w[h+1|0]<<8;k=w[h|0]|j;h=j|w[h|0];j=(h<<8|h>>>8)&65535;h=w[f+2|0]|w[f+3|0]<<8;h=j+((B(b,((h<<8|h>>>8)&65535)-((k<<8|k>>>8)&65535)|0)+c|0)/(a|0)|0)&65535;h=h<<8|h>>>8;t[i|0]=h;t[i+1|0]=h>>>8}i=g+4|0;h=x[e+4>>1];d:{if((h|0)==x[f+4>>1]){u[i>>1]=h;break d}h=e+4|0;j=w[h+1|0]<<8;k=w[h|0]|j;h=j|w[h|0];j=(h<<8|h>>>8)&65535;h=w[f+4|0]|w[f+5|0]<<8;h=j+((B(b,((h<<8|h>>>8)&65535)-((k<<8|k>>>8)&65535)|0)+c|0)/(a|0)|0)&65535;h=h<<8|h>>>8;t[i|0]=h;t[i+1|0]=h>>>8}i=g+6|0;h=x[e+6>>1];e:{if((h|0)==x[f+6>>1]){u[i>>1]=h;break e}h=e+6|0;j=w[h+1|0]<<8;k=w[h|0]|j;h=j|w[h|0];j=(h<<8|h>>>8)&65535;h=w[f+6|0]|w[f+7|0]<<8;h=j+((B(b,((h<<8|h>>>8)&65535)-((k<<8|k>>>8)&65535)|0)+c|0)/(a|0)|0)&65535;h=h<<8|h>>>8;t[i|0]=h;t[i+1|0]=h>>>8}f=f+8|0;e=e+8|0;g=g+8|0;l=l+1|0;if((l|0)!=(d|0)){continue}break}break a}cb(g,e,d<<3)}return 0}function V$(a){var b=0,c=0,d=0,e=0,f=0;if(a){d=v[a+100>>2];b=d;e=v[a>>2];if(e){Qa[v[b+8>>2]](b,e)}v[a>>2]=0;b=v[a+92>>2];if(b){eB(b,d);b=v[a+92>>2];if(b){Qa[v[d+8>>2]](d,b)}v[a+92>>2]=0}b=v[a+84>>2];if(b){Qa[v[d+8>>2]](d,b)}v[a+84>>2]=0;e=v[a+72>>2];if(e){while(1){b=c<<4;f=b+v[a+80>>2]|0;if(v[f+4>>2]==1){e=v[f+12>>2];if(e){Qa[v[d+8>>2]](d,e)}v[(b+v[a+80>>2]|0)+12>>2]=0;e=v[a+72>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}b=v[a+80>>2];if(b){Qa[v[d+8>>2]](d,b)}v[a+80>>2]=0;if(v[a+52>>2]){c=v[a+56>>2];e=0;while(1){b=d;f=v[c>>2];if(f){Qa[v[b+8>>2]](b,f)}v[c>>2]=0;b=v[c+24>>2];if(b){Qa[v[d+8>>2]](d,b)}v[c+24>>2]=0;c=c+36|0;e=e+1|0;if(e>>>0>2]){continue}break}}if(v[a+64>>2]){c=v[a+68>>2];e=0;while(1){b=d;f=v[c>>2];if(f){Qa[v[b+8>>2]](b,f)}v[c>>2]=0;b=v[c+24>>2];if(b){Qa[v[d+8>>2]](d,b)}v[c+24>>2]=0;c=c+36|0;e=e+1|0;if(e>>>0>2]){continue}break}}b=d;c=v[a+56>>2];if(c){Qa[v[b+8>>2]](b,c)}e=0;v[a+56>>2]=0;c=v[a+68>>2];if(c){Qa[v[b+8>>2]](b,c)}v[a+68>>2]=0;eB(a+112|0,b);c=v[a+104>>2];if(v[a+108>>2]){while(1){f=v[c>>2];if(f){Qa[v[d+8>>2]](d,f)}v[c>>2]=0;if(v[c+4>>2]==1){f=v[c+12>>2];if(f){Qa[v[d+8>>2]](d,f)}v[c+12>>2]=0}c=c+16|0;e=e+1|0;if(e>>>0>2]){continue}break}c=v[a+104>>2]}if(c){Qa[v[b+8>>2]](b,c)}v[a+104>>2]=0}}function FAa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=v[a+8>>2];k=v[a+12>>2];if(g>>>0>>0){i=v[a+20>>2];c=v[a+4>>2];if(v[c+52>>2]==1){zh(c,842156,4,a+16|0,i,a+24|0,-1,b);c=v[a+4>>2];v[c+52>>2]=0}d=v[a+16>>2];f=v[c+56>>2];a:{if(!f){h=g;c=0;break a}v[c+56>>2]=0;c=1}b:{while(1){c:{d:{e:{f:{g:{h:{i:{if(!c){if(h>>>0>=k>>>0){g=h;break b}if(d>>>0>=i>>>0){g=h;break b}g=h+2|0;f=x[h>>1];c=g;if((f&63488)!=55296){break i}if((f&64512)!=55296){break h}c=1;continue}if(g>>>0>=k>>>0){break e}h=x[g>>1];if((h&64512)!=56320){break h}f=(h+(f<<10)|0)-56613888|0;c=g+2|0}h=c;j=f>>>16|0;j:{if(d>>>0>>0){t[d|0]=0;d=d+1|0;break j}c=v[a+4>>2];e=t[c+63|0];t[c+63|0]=e+1;t[(c+e|0)+76|0]=0;v[b>>2]=15}c=j&31;if(d>>>0>>0){break g}e=v[a+4>>2];j=t[e+63|0];t[e+63|0]=j+1;t[(e+j|0)+76|0]=c;v[b>>2]=15;break f}v[v[a+4>>2]+56>>2]=f;break c}t[d|0]=c;d=d+1|0}c=f>>>8|0;k:{if(d>>>0>=i>>>0){e=v[a+4>>2];j=t[e+63|0];t[e+63|0]=j+1;t[(e+j|0)+76|0]=c;v[b>>2]=15;break k}t[d|0]=c;d=d+1|0}if(d>>>0>=i>>>0){c=v[a+4>>2];e=t[c+63|0];t[c+63|0]=e+1;t[(c+e|0)+76|0]=f;v[b>>2]=15;break d}t[d|0]=f;d=d+1|0;break d}v[v[a+4>>2]+56>>2]=f;if(w[a+2|0]){break c}break b}c=0;continue}break}v[b>>2]=12}if(!(d>>>0>>0|g>>>0>=k>>>0|v[b>>2]>0)){v[b>>2]=15}v[a+8>>2]=g;v[a+16>>2]=d}}function Oca(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,h=0,i=0,j=C(0);a=Ma-368|0;Ma=a;v[a+352>>2]=c;v[a+360>>2]=b;tD(a+200|0,d,a+224|0,a+220|0,a+216|0);b=ud(a+184|0);md(b,w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10);d=a;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+180>>2]=c;v[a+12>>2]=a+16;v[a+8>>2]=0;t[a+7|0]=1;t[a+6|0]=69;while(1){a:{if(!Lh(a+360|0,a+352|0)){break a}g=v[a+180>>2];if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}if((g|0)==(d+c|0)){c=b;b:{if(w[c+11|0]>>>7|0){d=v[c+4>>2];break b}d=w[c+11|0]}g=c;if(w[c+11|0]>>>7|0){h=v[c+4>>2]}else{h=w[c+11|0]}md(g,h<<1);md(c,w[c+11|0]>>>7|0?(v[c+8>>2]&2147483647)-1|0:10);g=a;if(w[c+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[g+180>>2]=d+c}d=v[a+360>>2];g=v[d+12>>2];c:{if((g|0)==v[d+16>>2]){d=Qa[v[v[d>>2]+36>>2]](d)|0;break c}d=v[g>>2]}if(sD(d,a+7|0,a+6|0,c,a+180|0,v[a+220>>2],v[a+216>>2],a+200|0,a+16|0,a+12|0,a+8|0,a+224|0)){break a}Yf(a+360|0);continue}break}if(w[a+211|0]>>>7|0){d=v[a+204>>2]}else{d=w[a+211|0]}d:{if(!d|!w[a+7|0]){break d}d=v[a+12>>2];if((d-(a+16|0)|0)>159){break d}v[a+12>>2]=d+4;v[d>>2]=v[a+8>>2]}i=f,j=FO(c,v[a+180>>2],e),z[i>>2]=j;Jh(a+200|0,a+16|0,v[a+12>>2],e);if(jg(a+360|0,a+352|0)){v[e>>2]=v[e>>2]|2}c=v[a+360>>2];Vb(b);Vb(a+200|0);Ma=a+368|0;return c|0}function vGa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;h=v[v[v[a+4>>2]+96>>2]+28>>2];i=Af(v[v[v[b>>2]+428>>2]+(c<<2)>>2],0,10);c=v[a+160>>2];e=c;f=v[c+156>>2];a:{if(!(!f|!(t[f+4|0]&1))){f=v[v[e+4>>2]+100>>2];g=v[e+88>>2];if(g){Qa[v[f+8>>2]](f,g)}v[e+88>>2]=0;e=v[e+156>>2];v[e+4>>2]=v[e+4>>2]&-2;break a}v[e+88>>2]=0}v[c+24>>2]=0;v[c+28>>2]=0;v[c+152>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;eb(c+72|0,0,72);c=Qa[v[h+72>>2]](v[a+160>>2],v[b+44>>2],i,d|8)|0;if(!c){b=v[a+160>>2];d=v[b+28>>2];v[a+24>>2]=v[b+24>>2];v[a+28>>2]=d;d=v[b+36>>2];v[a+32>>2]=v[b+32>>2];v[a+36>>2]=d;d=v[b+44>>2];v[a+40>>2]=v[b+40>>2];v[a+44>>2]=d;d=v[b+52>>2];v[a+48>>2]=v[b+48>>2];v[a+52>>2]=d;v[a+56>>2]=v[b+56>>2];v[a+60>>2]=v[b+60>>2];v[a+72>>2]=v[b+72>>2];v[a+124>>2]=v[b+124>>2];d=v[b+120>>2];v[a+116>>2]=v[b+116>>2];v[a+120>>2]=d;d=v[b+112>>2];v[a+108>>2]=v[b+108>>2];v[a+112>>2]=d;d=v[b+96>>2];v[a+92>>2]=v[b+92>>2];v[a+96>>2]=d;d=v[b+88>>2];v[a+84>>2]=v[b+84>>2];v[a+88>>2]=d;d=v[b+80>>2];v[a+76>>2]=v[b+76>>2];v[a+80>>2]=d;v[a+100>>2]=v[b+100>>2];v[a+104>>2]=v[b+104>>2];v[a+128>>2]=v[b+128>>2];v[a+132>>2]=v[b+132>>2];v[a+136>>2]=v[b+136>>2];v[a+140>>2]=v[b+140>>2]}return c|0}function Nca(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,h=0,i=0,j=0;a=Ma-368|0;Ma=a;v[a+352>>2]=c;v[a+360>>2]=b;tD(a+200|0,d,a+224|0,a+220|0,a+216|0);b=ud(a+184|0);md(b,w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10);d=a;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+180>>2]=c;v[a+12>>2]=a+16;v[a+8>>2]=0;t[a+7|0]=1;t[a+6|0]=69;while(1){a:{if(!Lh(a+360|0,a+352|0)){break a}g=v[a+180>>2];if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}if((g|0)==(d+c|0)){c=b;b:{if(w[c+11|0]>>>7|0){d=v[c+4>>2];break b}d=w[c+11|0]}g=c;if(w[c+11|0]>>>7|0){h=v[c+4>>2]}else{h=w[c+11|0]}md(g,h<<1);md(c,w[c+11|0]>>>7|0?(v[c+8>>2]&2147483647)-1|0:10);g=a;if(w[c+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[g+180>>2]=d+c}d=v[a+360>>2];g=v[d+12>>2];c:{if((g|0)==v[d+16>>2]){d=Qa[v[v[d>>2]+36>>2]](d)|0;break c}d=v[g>>2]}if(sD(d,a+7|0,a+6|0,c,a+180|0,v[a+220>>2],v[a+216>>2],a+200|0,a+16|0,a+12|0,a+8|0,a+224|0)){break a}Yf(a+360|0);continue}break}if(w[a+211|0]>>>7|0){d=v[a+204>>2]}else{d=w[a+211|0]}d:{if(!d|!w[a+7|0]){break d}d=v[a+12>>2];if((d-(a+16|0)|0)>159){break d}v[a+12>>2]=d+4;v[d>>2]=v[a+8>>2]}i=f,j=EO(c,v[a+180>>2],e),A[i>>3]=j;Jh(a+200|0,a+16|0,v[a+12>>2],e);if(jg(a+360|0,a+352|0)){v[e>>2]=v[e>>2]|2}c=v[a+360>>2];Vb(b);Vb(a+200|0);Ma=a+368|0;return c|0}function YM(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=Ma-16|0;Ma=h;f=49811;e=v[b+4>>2];a:{if(e>>>0>=c>>>0){f=50410;if(c>>>0>=e>>>0){break a}}e=v[a>>2];g=v[a+628>>2];i=v[Pe(a,x[b>>1])+16>>2];j=v[b+4>>2];v[h+8>>2]=c;v[h+4>>2]=j;v[h>>2]=i;Nc(g,e,f,h)}b:{c:{f=v[d>>2];if(f){break c}f=Tf(a,c,4,56984);v[d>>2]=f;if(f){break c}d=0;break b}d=0;Hf(f,0,c<<2);e=v[b+4>>2];if(x[b+2>>1]==3){e=Tf(a,e,2,57247);if(!e){break b}g=v[b+4>>2];d:{if(g>>>0<=2){if(x[a+456>>1]==19789){d=1;e:{f:{switch(g-1|0){case 0:a=v[b+8>>2];break e;case 1:break f;default:break d}}a=v[b+8>>2];u[e+2>>1]=a}u[e>>1]=a>>>16;break d}d=1;g:{switch(g-1|0){case 0:u[e>>1]=v[b+8>>2];break d;case 1:break g;default:break d}}a=v[b+8>>2];u[e+2>>1]=a>>>16;u[e>>1]=a;break d}d=(bh(a,b,e)|0)!=0}h:{if(!d|(c|0)<1){break h}a=0;while(1){if(v[b+4>>2]<=(a|0)){break h}v[(a<<2)+f>>2]=x[e+(a<<1)>>1];a=a+1|0;if((c|0)!=(a|0)){continue}break}}$a(e);break b}if((c|0)!=(e|0)){e=Tf(a,e,4,57247);if(!e){break b}d=1;i:{if(v[b+4>>2]==1){v[e>>2]=v[b+8>>2];break i}d=(bh(a,b,e)|0)!=0}j:{if(!d|(c|0)<1){break j}a=0;while(1){if(v[b+4>>2]<=(a|0)){break j}g=a<<2;v[g+f>>2]=v[e+g>>2];a=a+1|0;if((c|0)!=(a|0)){continue}break}}$a(e);break b}d=1;if((c|0)==1){v[f>>2]=v[b+8>>2];break b}d=(bh(a,b,f)|0)!=0}Ma=h+16|0;return d}function IC(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=Ma-112|0;Ma=d;v[d+4>>2]=0;v[d>>2]=0;b=gb(72);a:{if(!b){break a}e=eb(b,0,72);bM(a,d+8|0);f=EC(a);v[e+16>>2]=f;b:{if(!f){break b}c:{b=e;c=v[d+24>>2];d:{if((c|0)!=1196573017){a=1280;if((c|0)==1497588338){break d}if((c|0)!=1380401696){break c}a=1024;break d}a=768}v[b>>2]=a;b=e;c=v[d+28>>2];if((c|0)!=1482250784){if((c|0)!=1281450528){break c}c=513}else{c=257}v[b+8>>2]=c;a=a>>>8|0;e:{if(a-4>>>0>=2){if((a|0)!=3){break c}v[e+12>>2]=3;v[e+4>>2]=1;if(oM(f,0,d+4|0)){break b}if(!oM(v[e+16>>2],1,d)){break e}break b}v[e+12>>2]=3;v[e+4>>2]=3;if(nM(f,0,d+4|0)){break b}if(nM(v[e+16>>2],1,d)){break b}}v[e+20>>2]=v[d+4>>2];v[e+36>>2]=v[d>>2];break a}S();L()}b=v[d+4>>2];if(b){a=v[b>>2];if((a|0)>=1){while(1){f=v[b+8>>2];a=a-1|0;g=a<<2;c=v[f+g>>2];h=v[c>>2];v[c>>2]=h-1;if((h|0)<=1){Qa[v[v[c+4>>2]>>2]](c);$a(c);f=v[b+8>>2];a=v[b>>2]-1|0}v[f+g>>2]=0;v[b>>2]=a;if((a|0)>0){continue}break}}a=v[b+8>>2];if(a){$a(a)}$a(b)}b=v[d>>2];if(b){a=v[b>>2];if((a|0)>=1){while(1){f=v[b+8>>2];a=a-1|0;g=a<<2;c=v[f+g>>2];h=v[c>>2];v[c>>2]=h-1;if((h|0)<=1){Qa[v[v[c+4>>2]>>2]](c);$a(c);f=v[b+8>>2];a=v[b>>2]-1|0}v[f+g>>2]=0;v[b>>2]=a;if((a|0)>0){continue}break}}a=v[b+8>>2];if(a){$a(a)}$a(b)}ex(e);e=0}Ma=d+112|0;return e}function $A(a,b,c){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,p=0,q=0,r=0;j=v[a+2744>>2];if(j&4){k=v[a+2748>>2];a=c>>31;d=a+c^a;a:{b:{c:{if((b|0)==1){if(!(j&2)){break c}break b}if(j&1){break b}}d:{a=B(b,7676)+k|0;if(!v[a+52>>2]){break d}e=v[a+60>>2];a=d-e|0;b=a>>31;if((b^a+b)>>>0>39){break d}d=(e|0)>48?e:48;break a}if((d|0)<=53){d=(54-d>>>1|0)+d|0;break a}if((d|0)>191){break a}b=d&63;if(b>>>0<10){break a}a=d&2147483584;if(b>>>0<=21){d=a|10;break a}d=b-42>>>0<12?a|54:d;break a}e:{f:{g:{h:{i:{a=v[(B(b,7676)+k|0)+52>>2];if(a){r=a&1;if((a|0)!=1){break i}h=98;a=0;e=d;break h}a=d+32&2147483584;e=d;break g}l=a&-2;h=98;a=0;m=(B(b,7676)+k|0)+56|0;e=d;while(1){n=v[(B(a|1,12)+m|0)+4>>2];g=d-n|0;o=g>>31;p=v[(B(a,12)+m|0)+4>>2];f=d-p|0;i=f>>31;f=i^f+i;q=(f|0)<(h|0);g=o^g+o;f=q?f:h;i=(g|0)<(f|0);h=i?g:f;e=i?n:q?p:e;a=a+2|0;l=l-2|0;if(l){continue}break}}if(r){f=v[((B(b,7676)+k|0)+B(a,12)|0)+60>>2];a=d-f|0;g=a>>31;e=(g^a+g)<(h|0)?f:e}a=e+32&-64;if((d|0)<(e|0)){break f}}a=(a|48)>(d|0)?e:d;break e}a=(a-48|0)<(d|0)?e:d}if((b|0)==1){d=64;if((a|0)<64){break a}d=a+16&-64;break a}if(j&8){d=64;if((a|0)<64){break a}d=a+32&-64;break a}if((a|0)<=47){d=a- -64>>1;break a}if((a|0)<=127){d=a+22&-64;break a}d=a+32&-64}c=(c|0)<0?0-d|0:d}return c}function Uf(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;e=Ma-32|0;Ma=e;a:{b:{c:{if(v[a+36>>2]>-1){f=v[a+24>>2];if(w[f+20|0]?0:f){break c}v[a+36>>2]=1;f=cy(b);if((f|0)<0){break a}d=w[b+4|0];d:{if(!f){if(!d){break d}break a}if((d|0)!=58){break a}if(cy(b+5|0)|w[b+9|0]){break a}}d=v[a+28>>2];if((d|0)>2]){break b}v[e+8>>2]=0;v[e+12>>2]=0;if(d&1){d=v[a+16>>2];h=a,i=(Qa[v[v[d>>2]+12>>2]](d,e+8|4,1)|0)+v[a+28>>2]|0,v[h+28>>2]=i}if(c){v[e+8>>2]=1411798081;h=a,i=Xp(v[a+16>>2],e+8|0,4)+v[a+28>>2]|0,v[h+28>>2]=i}v[e+8>>2]=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);d=Xp(v[a+16>>2],e+8|0,8)+v[a+28>>2]|0;v[a+32>>2]=d;v[a+28>>2]=d;if(f){v[e+12>>2]=w[b+5|0]|w[b+6|0]<<8|(w[b+7|0]<<16|w[b+8|0]<<24);h=a,i=Xp(v[a+16>>2],e+8|4,4)+v[a+28>>2]|0,v[h+28>>2]=i;d=v[a+32>>2]}b=ab(24);g=v[a+24>>2];c=0;v[b+8>>2]=0;v[b+4>>2]=d;v[b>>2]=g;d=v[e+8>>2];t[b+12|0]=d;t[b+13|0]=d>>>8;t[b+14|0]=d>>>16;t[b+15|0]=d>>>24;e:{if(f){c=v[e+12>>2];t[b+16|0]=c;t[b+17|0]=c>>>8;t[b+18|0]=c>>>16;t[b+19|0]=c>>>24;c=1;break e}t[b+16|0]=0;t[b+17|0]=0;t[b+18|0]=0;t[b+19|0]=0}t[b+20|0]=c;v[a+24>>2]=b;Ma=e+32|0;return}lb(mb(e+8|0,276204,241642,320,328910));L()}lb(mb(e+8|0,319136,241642,322,328910));L()}O(232873,241642,332,262132);L()}lb(mb(e+8|0,262215,241642,329,328910));L()}function wR(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a=Ma-16|0;Ma=a;b=a+8|0;HR(b,Qa[v[279244]]()|0,c);c=v[a+8>>2];v[a>>2]=v[(c?c+12|0:1117e3)>>2];g=Ma-32|0;Ma=g;v[g+24>>2]=0;qb(g+24|0,0);c=v[g+24>>2];if(c){v[c+8>>2]=2;v[g+20>>2]=a;h=Oc(g,340716);c=Ma-32|0;Ma=c;f=g+8|0;v[f>>2]=0;v[f+4>>2]=v[279250];d=v[h>>2];a:{if(d){LQ(c+8|0,d,v[g+20>>2]);d=v[c+8>>2];b:{if(d){Qa[v[v[d>>2]+28>>2]](c+16|0,d,1);break b}v[c+16>>2]=0}jb(f,c+16|0);d=v[c+16>>2];v[c+16>>2]=0;c:{if(!d){break c}e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(e){break c}e=v[d+4>>2];if(!e){v[d+4>>2]=-32767}if(!e){Qa[v[v[d>>2]+4>>2]](d)}}d=v[f>>2];v[f+4>>2]=v[(d?d+12|0:1117e3)>>2];d=v[c+8>>2];v[c+8>>2]=0;if(!d){break a}e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(e){break a}e=v[d+4>>2];if(!e){v[d+4>>2]=-32767}if(!e){Qa[v[v[d>>2]+4>>2]](d)}break a}v[c+24>>2]=0;jb(f,c+24|0);d=v[c+24>>2];v[c+24>>2]=0;d:{if(!d){break d}e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(e){break d}e=v[d+4>>2];if(!e){v[d+4>>2]=-32767}if(!e){Qa[v[v[d>>2]+4>>2]](d)}}d=v[f>>2];v[f+4>>2]=v[(d?d+12|0:1117e3)>>2]}Ma=c+32|0;db(h);Li(v[g+24>>2],f);db(f);c=v[g+24>>2]}v[g+24>>2]=0;e:{if(!c){break e}f=v[c+4>>2]-1|0;v[c+4>>2]=f;if(f){break e}f=v[c+4>>2];if(!f){v[c+4>>2]=-32767}if(!f){Qa[v[v[c>>2]+4>>2]](c)}}Ma=g+32|0;db(b);Ma=a+16|0;return 1}function jk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;i=Ma-16|0;Ma=i;a:{if(!b){break a}v[b>>2]=0;if(!a|((a?v[a+8>>2]:-1)|0)!=1){break a}d=c;b:{if(d){break b}d=0;e=Yb(256,4);if(!e){break b}while(1){v[e+(d<<2)>>2]=(((((((d&1)+(d>>>7|0)|0)+(d>>>1&1)|0)+(d>>>2&1)|0)+(d>>>3&1)|0)+(d>>>4&1)|0)+(d>>>5&1)|0)+(d>>>6&1);d=d+1|0;if((d|0)!=256){continue}break}d=e}e=i+12|0;g=i+8|0;if(a){if(e){v[e>>2]=v[a>>2]}if(g){v[g>>2]=v[a+4>>2]}}g=a?v[a+12>>2]:-1;e=a?v[a+40>>2]:0;a=0;j=v[i+8>>2];c:{if((j|0)<1){break c}a=v[i+12>>2];k=a&31;l=-1<<32-k;if((a|0)>=32){a=a>>5;m=(a|0)>1?a:1;a=0;while(1){f=0;while(1){h=v[(f<<2)+e>>2];if(h){a=v[(h>>>22&1020)+d>>2]+(v[(h>>>14&1020)+d>>2]+(v[(h>>>6&1020)+d>>2]+(v[((h&255)<<2)+d>>2]+a|0)|0)|0)|0}f=f+1|0;if((m|0)!=(f|0)){continue}break}d:{if(!k){break d}f=v[(m<<2)+e>>2]&l;if(!f){break d}a=v[(f>>>22&1020)+d>>2]+(v[(f>>>14&1020)+d>>2]+(v[(f>>>6&1020)+d>>2]+(v[((f&255)<<2)+d>>2]+a|0)|0)|0)|0}e=(g<<2)+e|0;n=n+1|0;if((n|0)!=(j|0)){continue}break}break c}if(!k){a=0;break c}h=g<<2;a=0;while(1){g=v[e>>2]&l;if(g){a=v[(g>>>22&1020)+d>>2]+(v[(g>>>14&1020)+d>>2]+(v[(g>>>6&1020)+d>>2]+(v[((g&255)<<2)+d>>2]+a|0)|0)|0)|0}e=e+h|0;f=f+1|0;if((j|0)!=(f|0)){continue}break}}v[b>>2]=a;if(c){break a}$a(d)}Ma=i+16|0}function Hm(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=v[a+20>>2];f=v[a+28>>2];g=v[a+16>>2];h=x[a+12>>1];i=x[a+8>>1];j=x[a+4>>1];d=v[a>>2];c=d;c=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);t[b|0]=c;t[b+1|0]=c>>>8;t[b+2|0]=c>>>16;t[b+3|0]=c>>>24;c=e-g<<11&-8192|(h<<8&7936|(i<<7&128|j&63));g=f>>>0>255;c=g?c|64:c;t[b+4|0]=c;t[b+5|0]=c>>>8;c=v[a+16>>2];a:{if((c|0)==v[a+20>>2]){e=6;break a}e=6;b:{switch((d>>>0<257?1:d>>>0<65537?2:4)-2|0){case 2:while(1){d=b+e|0;f=v[c>>2];f=f<<8&16711680|f<<24|(f>>>8&65280|f>>>24);t[d|0]=f;t[d+1|0]=f>>>8;t[d+2|0]=f>>>16;t[d+3|0]=f>>>24;e=e+4|0;c=c+4|0;if((c|0)!=v[a+20>>2]){continue}break};break a;case 0:while(1){d=b+e|0;f=x[c>>1];f=f<<8|f>>>8;t[d|0]=f;t[d+1|0]=f>>>8;e=e+2|0;c=c+4|0;if((c|0)!=v[a+20>>2]){continue}break};break a;default:break b}}while(1){t[b+e|0]=v[c>>2];e=e+1|0;c=c+4|0;if((c|0)!=v[a+20>>2]){continue}break}}d=v[a+28>>2];c=b;c:{if(g){b=b+e|0;d=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);t[b|0]=d;t[b+1|0]=d>>>8;b=2;break c}t[b+e|0]=d;b=1}e=b+e|0;b=c+e|0;c=v[a+32>>2];c=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);t[b|0]=c;t[b+1|0]=c>>>8;t[b+2|0]=c>>>16;t[b+3|0]=c>>>24;b=v[a>>2];if((e+4|0)==(B(v[a+20>>2]-v[a+16>>2]>>2,b>>>0<257?1:b>>>0<65537?2:4)+(y[a+28>>2]<256?11:12)|0)){return}S();L()}function Xca(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,h=0;a=Ma-288|0;Ma=a;v[a+272>>2]=c;v[a+280>>2]=b;wD(a+224|0,d,a+240|0,a+239|0,a+238|0);b=ud(a+208|0);md(b,w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10);d=a;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+204>>2]=c;v[a+28>>2]=a+32;v[a+24>>2]=0;t[a+23|0]=1;t[a+22|0]=69;while(1){a:{if(!Mh(a+280|0,a+272|0)){break a}g=v[a+204>>2];if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}if((g|0)==(d+c|0)){c=b;b:{if(w[c+11|0]>>>7|0){d=v[c+4>>2];break b}d=w[c+11|0]}g=c;if(w[c+11|0]>>>7|0){h=v[c+4>>2]}else{h=w[c+11|0]}md(g,h<<1);md(c,w[c+11|0]>>>7|0?(v[c+8>>2]&2147483647)-1|0:10);g=a;if(w[c+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[g+204>>2]=d+c}if(vD(sf(a+280|0),a+23|0,a+22|0,c,a+204|0,t[a+239|0],t[a+238|0],a+224|0,a+32|0,a+28|0,a+24|0,a+240|0)){break a}Zf(a+280|0);continue}break}if(w[a+235|0]>>>7|0){d=v[a+228>>2]}else{d=w[a+235|0]}c:{if(!d|!w[a+23|0]){break c}d=v[a+28>>2];if((d-(a+32|0)|0)>159){break c}v[a+28>>2]=d+4;v[d>>2]=v[a+24>>2]}DO(a,c,v[a+204>>2],e);c=v[a>>2];d=v[a+4>>2];g=v[a+12>>2];v[f+8>>2]=v[a+8>>2];v[f+12>>2]=g;v[f>>2]=c;v[f+4>>2]=d;Jh(a+224|0,a+32|0,v[a+28>>2],e);if(yg(a+280|0,a+272|0)){v[e>>2]=v[e>>2]|2}c=v[a+280>>2];Vb(b);Vb(a+224|0);Ma=a+288|0;return c|0}function H3(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=Ma+-64|0;Ma=c;e=v[a+26124>>2];while(1){d=2<>2]+8>>2]](v[a+4>>2],x[a+26314>>1]+B(x[a+26306>>1],x[a+26312>>1])<<1,1)|0;d=x[a+26310>>1];g=Yb(d,2);if(g){if(x[a+26308>>1]){e=0;h=v[249419];while(1){Wi(a,g,d);Qa[v[v[a>>2]+8>>2]](v[a+4>>2],x[a+26306>>1]-x[a+26310>>1]<<1,1)|0;b=0;a:{if(x[a+26310>>1]){j=e<<1&14;while(1){d=x[(b<<1)+g>>1];f=x[a+26316>>1];k=v[a+26352>>2]+(B(x[a+26320>>1],e>>>f|0)+(b>>>f|0)<<3)|0;f=v[a+26028>>2];b:{if((f|0)!=1){f=f>>>((b&1|j)<<1)&3;break b}f=t[(x[a+26314>>1]+b&15|(x[a+26312>>1]+e&15)<<4)+194800|0]}u[k+(f<<1)>>1]=d;if(d>>>i|0){c:{if(v[a+26160>>2]){break c}v[c+48>>2]=v[a+25208>>2];vb(h,8292,c+48|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,h);break c}d=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[c+32>>2]=d;v[c+36>>2]=d>>31;vb(h,14622,c+32|0)}v[a+26160>>2]=1}b=b+1|0;d=x[a+26310>>1];if(b>>>0>>0){continue}break}break a}d=0}e=e+1|0;if(e>>>0>1]){continue}break}}$a(g);Ma=c- -64|0;return}b=v[a+190640>>2];d:{if(b){e=v[a+25208>>2];v[c+20>>2]=45725;v[c+16>>2]=e;Dc(b,4338,c+16|0);break d}b=v[a+25208>>2];v[c+4>>2]=45725;v[c>>2]=b;vb(v[249419],4338,c)}tc(a+190484|0,1);L()}function bna(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,h=0,i=0,j=0;Qa[v[v[a>>2]+16>>2]](a);e=ab(8);v[e>>2]=960728;d=ab(20);g=d;v[g+8>>2]=0;v[g+12>>2]=0;v[g+16>>2]=0;f=Ma-352|0;Ma=f;h=ab(c);v[g>>2]=h;b=cb(h,b,c);v[g+4>>2]=c;h=ab(24);v[h+4>>2]=c;v[h>>2]=b;b=f+96|0;aI(b,h);j=g+8|0;g=HY(b);while(1){dw(g,f+16|0,0,0);a:{if(!v[f+44>>2]){break a}b:{c:{if(!dw(g,0,f+96|0,256)){c=zb(f+96|0);if(c>>>0<4294967280){d:{e:{if(c>>>0>=11){i=c+16&-16;b=ab(i);v[f+8>>2]=i|-2147483648;v[f>>2]=b;v[f+4>>2]=c;break e}t[f+11|0]=c;b=f;if(!c){break d}}cb(b,f+96|0,c)}t[b+c|0]=0;if(t[f+11|0]>=0){break c}Sl(f+96|0,v[f>>2],v[f+4>>2]);break b}sc();L()}t[f|0]=0;t[f+11|0]=0}v[f+104>>2]=v[f+8>>2];b=v[f+4>>2];v[f+96>>2]=v[f>>2];v[f+100>>2]=b}v[f+108>>2]=0;v[f+112>>2]=0;b=v[d+12>>2];f:{if(b>>>0>2]){c=v[f+100>>2];v[b>>2]=v[f+96>>2];v[b+4>>2]=c;v[b+8>>2]=v[f+104>>2];v[f+104>>2]=0;v[f+96>>2]=0;v[f+100>>2]=0;c=v[f+112>>2];v[b+12>>2]=v[f+108>>2];v[b+16>>2]=c;v[d+12>>2]=b+20;break f}MY(j,f+96|0);if(t[f+107|0]>-1){break f}$a(v[f+96>>2])}if(t[f+11|0]>-1){break a}$a(v[f>>2])}if(!cI(g)){continue}break}eI(g);$a(h);Ma=f+352|0;v[e+4>>2]=d;b=v[a+12>>2];v[b+8>>2]=e;c=ab(72);b=WT(c,v[b+4>>2]);a=v[a+12>>2];v[a+12>>2]=c;VT(b,v[a+8>>2]);return 1}function Ki(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;k=Ma-32|0;Ma=k;a:{b:{if(!d){break b}e=v[d>>2];if((e|0)>=v[a+8>>2]){break b}n=a+24|0;i=a+36|0;o=a+40|0;p=a+28|0;q=a+16|0;h=-1;j=1;while(1){if(!e){e=v[a+8>>2];g=v[v[a+16>>2]>>2]?v[a+20>>2]:0;if((e|0)>=(g|0)){e=g+2e4|0;Sc(q,e,1);Sc(p,e,4);Sc(o,e,4);e=v[a+8>>2]}v[a+8>>2]=e+1;v[d>>2]=e;t[v[a+12>>2]+e|0]=0;v[v[a+36>>2]+(v[d>>2]<<2)>>2]=0;v[v[a+24>>2]+(v[d>>2]<<2)>>2]=0}c:{d:{if(w[a+4|0]){if(!((c|0)<(f|0)|(b|0)>=(f|0))){g=1;e=i;if(!(Qa[v[v[a>>2]+8>>2]](a,(f|0)<=(l|0),v[a+12>>2]+v[d>>2]|0)|0)){break d}break c}g=1;e=i;if((f|0)>(l|0)){break d}break c}g=1;if((b|0)>=(f|0)){e=i;break c}if((c|0)<(f|0)){break d}e=i;if(Qa[v[v[a>>2]+8>>2]](a,0,v[a+12>>2]+v[d>>2]|0)|0){break c}}g=0;e=n}r=v[d>>2];e=v[e>>2];e:{f:{g:{h:{i:{switch(j-1|0){case 0:j=2;if(g){m=0;f=1;break e}d=c^-1;c=b^-1;l=0-w[a+4|0]<<24>>24^l;f=1;b=d;m=1;break e;case 1:if(!g){if(f-1>>>0>=2){break h}f=0;break a}f=f<<1|1;j=2;break e;case 2:break i;default:break e}}if((h&-2)!=2){if(!g){break g}d=(h|0)/4|0;break f}f=f-!g|0;break a}h=f+1|0}d=(h|0)/-4|0}f=d+f|0;j=3;if((h&-2)==2){break a}h=(h|0)/2|0}d=e+(r<<2)|0;e=v[d>>2];continue}}lb(mb(k+8|0,225139,241993,478,328831));L()}Ma=k+32|0;return 0-m^f}function oj(a){var b=0,c=0,d=0,e=0,f=0;c=v[a+1144>>2];a:{b:{if(!c){c=v[a+1124>>2];while(1){c:{d:{e:{f:{switch(c|0){case 0:b=v[a+196>>2];g:{if(!b){b=0;break g}v[a+1136>>2]=b;b=v[a+200>>2];v[a+1144>>2]=b}c=1;v[a+1124>>2]=1;break c;case 1:v[a+1124>>2]=2;case 2:d=v[a+1128>>2];if((d|0)==v[a+1132>>2]){c=3;v[a+1124>>2]=3;continue}b=v[a>>2];c=v[b+184>>2];if(!c){t[a+1140|0]=0;wb(v[b+628>>2],v[b>>2],46823,0);return 0}f=d<<2;c=v[c+f>>2];v[a+1136>>2]=c;if(!c){b=0;break d}e=v[a+168>>2];if(c>>>0>=e>>>0){break e}v[a+1144>>2]=0;b=v[b+188>>2];if(!b){break e}b=v[b+f>>2];v[a+1144>>2]=b;if(!b){break e}if(b+c>>>0<=e>>>0){break d}b=e-c|0;v[a+1144>>2]=b;break d;default:break f}}t[a+1140|0]=0;return 0}b=0;v[a+1136>>2]=0}v[a+1128>>2]=d+1;c=2}if(!b){continue}break}t[a+1140|0]=0;break b}if(w[a+1140|0]){break a}}b=v[a>>2];Qa[v[b+640>>2]](v[b+628>>2],v[a+1136>>2],0)|0;t[a+1140|0]=1;c=v[a+1144>>2]}b=v[a>>2];d=a+1156|0;b=Qa[v[b+632>>2]](v[b+628>>2],d,c>>>0<2048?c&65535:2048)|0;if(!b){return 0}h:{i:{if((b|0)>0){if((b|0)>=2049){break i}c=v[a+1144>>2];if(c>>>0>>0){break h}v[a+1152>>2]=d;u[a+1148>>1]=b;v[a+1144>>2]=c-b;v[a+1136>>2]=b+v[a+1136>>2];return 1}O(44096,7087,1883,87065);L()}O(44927,7087,1884,87065);L()}O(46045,7087,1886,87065);L()}function h5(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;h=Ma;r=h;g=b+1|0;p=g-e|0;k=p>>1;n=k-1|0;l=h-((B(g>>>1|0,c)<<2)+15&-16)|0;Ma=l;a:{if((p|0)<2|(c|0)<1){break a}m=c<<2;h=n>>31&n;g=k-h|0;q=g&1;if((h+1|0)!=(k|0)){g=g&-2;while(1){cb((B(c,f)<<2)+l|0,(B(d,f)<<2)+a|0,m);h=f|1;cb((B(h,c)<<2)+l|0,(B(d,h)<<2)+a|0,m);f=f+2|0;g=g-2|0;if(g){continue}break}}if(!q){break a}cb((B(c,f)<<2)+l|0,(B(d,f)<<2)+a|0,m)}o=d<<1;j=b-k|0;if(!((j|0)<1|(c|0)<1)){q=c&-8;h=c&7;b=(B(d,k)<<2)+a|0;m=(B(1-e|0,d)<<2)+a|0;s=c-1>>>0<7;while(1){f=m;i=b;g=q;if(!s){while(1){v[f>>2]=v[i>>2];v[f+4>>2]=v[i+4>>2];v[f+8>>2]=v[i+8>>2];v[f+12>>2]=v[i+12>>2];v[f+16>>2]=v[i+16>>2];v[f+20>>2]=v[i+20>>2];v[f+24>>2]=v[i+24>>2];v[f+28>>2]=v[i+28>>2];i=i+32|0;f=f+32|0;g=g-8|0;if(g){continue}break}}g=h;if(g){while(1){v[f>>2]=v[i>>2];i=i+4|0;f=f+4|0;g=g-1|0;if(g){continue}break}}b=(d<<2)+b|0;m=(o<<2)+m|0;g=(j|0)>1;j=j-1|0;if(g){continue}break}}b:{if((p|0)<2|(c|0)<1){break b}h=c<<2;g=B(d,e);e=n>>31&n;b=k-e|0;d=b&1;f=0;if((e+1|0)!=(k|0)){j=b&-2;while(1){cb((g+B(f,o)<<2)+a|0,(B(c,f)<<2)+l|0,h);b=f|1;cb((g+B(b,o)<<2)+a|0,(B(b,c)<<2)+l|0,h);f=f+2|0;j=j-2|0;if(j){continue}break}}if(!d){break b}cb((g+B(f,o)<<2)+a|0,(B(c,f)<<2)+l|0,h)}Ma=r}function WL(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=Ma-16|0;Ma=h;c=gb(108);a:{if(!c){c=0;break a}v[c>>2]=0;v[c+4>>2]=0;f=c+4|0;d=1020112;while(1){e=d;d=d+24|0;if(v[e>>2]>0){continue}break}v[c+104>>2]=e+8;eb(c+12|0,0,92);b:{c:{d:{e:{f:{if(qf(a,c)){break f}g=v[c>>2];if((g&-256)!=65280){break f}d=1020112;while(1){e=d;i=v[d>>2];if((i|0)!=(g|0)){d=e+24|0;if((i|0)>-1){continue}}break}v[c+104>>2]=e+8;if((g|0)==65359|g-65426>>>0<2|((g|0)==65497|(g&-16)==65328)){break d}if(!qf(a,f)){d=v[f>>2];if(d>>>0>2){break e}}a=v[c+104>>2];if(!a){break b}a=v[a>>2];if(!a){break b}Qa[a|0](c);break b}a=v[c+104>>2];if(!a){break b}a=v[a>>2];if(!a){break b}Qa[a|0](c);break b}v[f>>2]=d-2;d=fi(0,0);if(!d){a=v[c+104>>2];if(!a){break b}a=v[a>>2];if(!a){break b}Qa[a|0](c);break b}g:{if(!Pm(d,a,v[f>>2])){if((af(d,0,0)|0)>-1){break g}}ne(d);a=v[c+104>>2];if(!a){break b}a=v[a>>2];if(!a){break b}Qa[a|0](c);break b}if(Qa[v[v[c+104>>2]+4>>2]](c,b,d)|0){v[c+104>>2]=0;$a(c);ne(d);c=0;break a}if(v[279756]>=1){yC(c,v[249419])}e=Ei(d);a=v[f>>2];if((e|0)!=(a|0)){j=h,k=a-Ei(d)|0,v[j>>2]=k;Nb(4818,h)}ne(d);break c}v[f>>2]=0;if(v[279756]<1){break c}yC(c,v[249419])}if(v[c>>2]!=65361){break a}v[b>>2]=v[c+48>>2];break a}$a(c);c=0}Ma=h+16|0;return c}function VQ(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,y=0,z=0,A=0;h=Ma-16|0;Ma=h;g=v[c+4>>2];f=v[c+12>>2];b=(b|0)<(g|0)?g:(b|0)<(f|0)?b:f-1|0;f=v[a+104>>2];a:{b:{if((b|0)==(f|0)){break b}i=v[a+76>>2];g=i;if((b|0)==v[a+100>>2]){break a}v[a+100>>2]=f;v[a+104>>2]=b;v[a+76>>2]=v[a+88>>2];v[a+88>>2]=i;g=v[a+16>>2];v[h>>2]=v[c>>2]<>2]=v[c+8>>2]<>2];v[h+12>>2]=b+1<>2]=b<>2]|0,0-v[d+4>>2]|0);g=v[h>>2];m=v[h+8>>2];if((g|0)>=(m|0)){break b}b=v[h+4>>2];c=v[h+12>>2]-b|0;d=v[a+20>>2];f=1<>1];s=(b|0)>-1?(b|0)>1]?v[e+16>>2]+B(B(b,p),3)|0:0:0;b=v[a+16>>2];u=1<(g|0);z=q?g:m;n=0;A=0-b|0;e=B(b,3)+s|0;c=0;f=0;l=0;d=0;while(1){b=e;r=(b+B(z,3)|0)+B(A,3)|0;if(b>>>0>>0){while(1){c=c+1|0;f=w[b|0]+f|0;l=w[b+1|0]+l|0;d=w[b+2|0]+d|0;b=b+3|0;if(r>>>0>b>>>0){continue}break}}e=B(p,3)+e|0;n=n+1|0;if((o|0)!=(n|0)){continue}break}c:{if((c|0)==(y|0)){b=f+k>>j;f=l+k>>j;c=d+k>>j;break c}e=(c|0)/2|0;b=(e+f|0)/(c|0)|0;f=(e+l|0)/(c|0)|0;c=(d+e|0)/(c|0)|0}t[i+1|0]=f;t[i+2|0]=c;t[i|0]=b;i=i+3|0;if(q){continue}break}}g=v[a+88>>2]}Ma=h+16|0;return g}function tO(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=Ma-112|0;Ma=d;b=(b|0)==-1?v[a+60>>2]:b;a:{b:{c:{if(!(w[a+13|0]&64|(x[a+138>>1]!=1|x[a+90>>1]!=6))){v[d+84>>2]=d+110;v[d+80>>2]=d+108;Mc(a,530,d+80|0);e=x[d+108>>1];h=B(e,x[d+110>>1]);if(!h){b=0;wb(v[a+628>>2],v[a>>2],9852,0);break a}c=v[a+56>>2];if(c>>>0<0-e>>>0){c=((c+e|0)-1>>>0)/(e>>>0)|0}else{c=0}f=B(c,e);g=x[a+84>>1];c=x3a(f,0,g,0);e=(Pa|0)!=0;d:{e:{f:{if(g){if(e){e=v[a>>2];c=v[a+628>>2];v[d+48>>2]=13308;wb(c,e,22641,d+48|0);g=x[a+84>>1];c=x3a(g,0,f,0);e=(Pa|0)!=0;break f}if(!(c&7)){break e}if(!e){break c}e=v[a>>2];c=v[a+628>>2];v[d+64>>2]=13308;wb(c,e,22641,d- -64|0);c=0;break c}if(c&7){break c}}if(!g){break d}}if(!e){break d}e=v[a>>2];c=v[a+628>>2];v[d+32>>2]=13308;wb(c,e,22641,d+32|0);c=0}e=c>>>3|0;break b}f=Gi(a);e=x3a(f,0,b,0);c=Pa;b=e;if(!f|!c){break a}b=v[a>>2];a=v[a+628>>2];v[d+96>>2]=13308;wb(a,b,22641,d+96|0);b=0;break a}e=(c>>>3|0)+1|0}c=e;f=x[d+110>>1];if(0-f>>>0>b>>>0){b=((b+f|0)-1>>>0)/(f>>>0)|0}else{b=0}f=x3a(c,0,B(b,f),0);b=Pa;c=f;if(!(!e|!b)){c=v[a>>2];b=v[a+628>>2];v[d+16>>2]=13308;wb(b,c,22641,d+16|0);c=0}b=(c|0)/(h|0)|0;g=b+b|0;if(!(!b|b>>>0<=g>>>0)){b=v[a>>2];a=v[a+628>>2];v[d>>2]=13308;wb(a,b,22641,d);g=0}b=g+c|0}Ma=d+112|0;return b}function ff(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=Ma-32|0;Ma=c;if(!w[a+32|0]){cg(a,0)}v[c+16>>2]=0;v[c+20>>2]=v[279250];a=v[a+8>>2];a:{if(a){Qa[v[v[a>>2]+28>>2]](c+8|0,a,1);break a}v[c+8>>2]=0}jb(c+16|0,c+8|0);a=v[c+8>>2];v[c+8>>2]=0;b:{if(!a){break b}d=v[a+4>>2]-1|0;v[a+4>>2]=d;if(d){break b}d=v[a+4>>2];if(!d){v[a+4>>2]=-32767}if(!d){Qa[v[v[a>>2]+4>>2]](a)}}a=v[c+16>>2];v[c+20>>2]=v[(a?a+12|0:1117e3)>>2];if(!w[b+32|0]){cg(b,0)}v[c+8>>2]=0;v[c+12>>2]=v[279250];a=v[b+8>>2];c:{if(a){Qa[v[v[a>>2]+28>>2]](c+24|0,a,1);break c}v[c+24>>2]=0}jb(c+8|0,c+24|0);a=v[c+24>>2];b=0;v[c+24>>2]=0;d:{if(!a){break d}d=v[a+4>>2]-1|0;v[a+4>>2]=d;if(d){break d}d=v[a+4>>2];if(!d){v[a+4>>2]=-32767}if(!d){Qa[v[v[a>>2]+4>>2]](a)}}a=v[c+8>>2];e=v[(a?a+12|0:1117e3)>>2];v[c+12>>2]=e;a=v[c+16>>2];f=v[(a?a+12|0:1117e3)>>2];while(1){g=b+f|0;a=w[g|0];if(!(!(!a|(a|0)==63)&(a|0)!=35)){a=0;while(1){h=a+e|0;d=w[h|0];if(!(!d|(d|0)==35|(d|0)==63)){a=a+1|0;continue}break}e:{if((a|0)==(b|0)){d=0;if(hb(g,h)){break e}d=!Kb(f,e,b);break e}if(!((a+1|0)!=(b|0)|w[a+f|0]!=47)){d=0;if(hb(g,h)){break e}d=!Kb(f,e,a);break e}d=0;if((b+1|0)!=(a|0)|w[b+e|0]!=47){break e}if(hb(g,h)){break e}d=!Kb(f,e,b)}db(c+8|0);db(c+16|0);Ma=c+32|0;return d}b=b+1|0;continue}}function Zz(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=Ma-16|0;Ma=f;a:{b:{c:{if(!a){break c}c=v[a+80>>2];if(!c){break c}d=Zc(c,b,-1);if(!d){b=0;break a}b=Qa[v[256552]](60)|0;if(!b){v[f>>2]=283429;nb(0,0,0,0,0,2,2,3,283429,0,0,0,340689,f);b=0;break a}c=b;v[c>>2]=0;v[c+4>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c+4>>2]=1;v[c+56>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+36>>2]=0;v[c+8>>2]=d;if(!v[291069]){break b}c=v[291066];if(!c){break b}Qa[c|0](b);break b}g=Ma-16|0;Ma=g;d:{if(!b){break d}d=Qa[v[256552]](60)|0;if(!d){v[g>>2]=283429;nb(0,0,0,0,0,2,2,3,283429,0,0,0,340689,g);d=0;break d}c=d;v[c>>2]=0;v[c+4>>2]=0;v[c+56>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c+4>>2]=1;c=b;while(1){e=c;c=c+1|0;if(w[e|0]){continue}break}c=0;h=e-b|0;e:{if((h|0)<0){break e}e=Qa[v[256555]](h+1|0)|0;if(!e){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break e}c=cb(e,b,h);t[h+c|0]=0}v[d+36>>2]=0;v[d+8>>2]=c;if(!v[291069]){break d}b=v[291066];if(!b){break d}Qa[b|0](d)}Ma=g+16|0;b=d;if(b){break b}b=0;break a}v[b+32>>2]=a}Ma=f+16|0;return b}function tTa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=Ma-32|0;Ma=e;b=x[a+26308>>1];if(b){g=v[249419];while(1){d=0;i=(h<<1>>>0)%(b>>>0)|0;j=(i|0)==1?0-(0-c&-4096)|0:c;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],j,0)|0;k=x[a+26306>>1];v[285944]=0;v[285945]=0;v[285943]=0;if(x[a+26310>>1]){l=i<<1&14;f=0;while(1){b=0;a:{if(d){break a}b=v[285944];b:{if((b|0)>=10){c=v[285943];break b}while(1){c:{d:{c=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;e:{if((c|0)==-1){if(!v[a+26160>>2]){v[e+16>>2]=v[a+25208>>2];vb(g,8292,e+16|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,g);v[a+26160>>2]=1;break e}b=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[e>>2]=b;v[e+4>>2]=b>>31;vb(g,14622,e)}v[a+26160>>2]=1;break e}if(!v[a+26144>>2]){break e}if((c|0)==255){break d}}v[285945]=0;break c}b=0;d=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[285945]=(d|0)!=0;if(!d){break c}d=1;break a}d=v[285944];b=d+8|0;v[285944]=b;c=c&255|v[285943]<<8;v[285943]=c;if((d|0)<2){continue}break}}d=0;v[285944]=b-10;b=c<<32-b>>>22|0}c=x[a+26316>>1];u[(v[a+26352>>2]+(B(x[a+26320>>1],i>>>c|0)+(f>>>c|0)<<3)|0)+((v[a+26028>>2]>>>((f&1|l)<<1)&3)<<1)>>1]=b;f=f+1|0;if(f>>>0>1]){continue}break}}c=j+k|0;b=x[a+26308>>1];h=h+1|0;if(b>>>0>h>>>0){continue}break}}Ma=e+32|0}function pI(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=v[a+204>>2];a:{if(f){i=v[v[a+388>>2]+32>>2];d=v[f+B(i,36)>>2];v[a+288>>2]=d;b:{if((d|0)<1){break b}j=d&3;c=v[a+84>>2];if(d-1>>>0>=3){k=d&-4;d=a+292|0;g=(f+B(i,36)|0)+4|0;while(1){e=b<<2;v[e+d>>2]=c+B(v[e+g>>2],88);h=e|4;v[h+d>>2]=c+B(v[g+h>>2],88);h=e|8;v[h+d>>2]=c+B(v[g+h>>2],88);e=e|12;v[e+d>>2]=c+B(v[e+g>>2],88);b=b+4|0;k=k-4|0;if(k){continue}break}}if(!j){break b}d=f+B(i,36)|0;while(1){g=b<<2;v[(g+a|0)+292>>2]=c+B(v[(d+g|0)+4>>2],88);b=b+1|0;j=j-1|0;if(j){continue}break}}if(!v[a+264>>2]){break a}b=f+B(i,36)|0;v[a+360>>2]=v[b+20>>2];v[a+364>>2]=v[b+24>>2];v[a+368>>2]=v[b+28>>2];v[a+372>>2]=v[b+32>>2];return}c=v[a+76>>2];if((c|0)>=5){b=v[a>>2];v[b+24>>2]=c;v[b+20>>2]=27;v[v[a>>2]+28>>2]=4;Qa[v[v[a>>2]>>2]](a);c=v[a+76>>2]}v[a+288>>2]=c;if((c|0)<1){break a}d=c&3;f=v[a+84>>2];b=0;if(c-1>>>0>=3){g=c&-4;c=a+292|0;while(1){v[c+(b<<2)>>2]=f+B(b,88);e=b|1;v[c+(e<<2)>>2]=f+B(e,88);e=b|2;v[c+(e<<2)>>2]=f+B(e,88);e=b|3;v[c+(e<<2)>>2]=f+B(e,88);b=b+4|0;g=g-4|0;if(g){continue}break}}if(!d){break a}while(1){v[((b<<2)+a|0)+292>>2]=f+B(b,88);b=b+1|0;d=d-1|0;if(d){continue}break}}v[a+360>>2]=0;v[a+368>>2]=0;b=v[a+376>>2];v[a+364>>2]=B(b,b)-1;v[a+372>>2]=0}function e$(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=v[a+736>>2];if(c){e=v[v[c+12>>2]>>2];d=v[a+100>>2];b=d;f=v[c+4>>2];if(f){Qa[v[b+8>>2]](b,f)}v[c+4>>2]=0;b=d;f=v[c+8>>2];if(f){Qa[v[b+8>>2]](b,f)}v[c+8>>2]=0;f=v[c+20>>2];if(f){Qa[v[b+8>>2]](b,f)}v[c+20>>2]=0;b=v[c+12>>2];if(b){Qa[v[d+8>>2]](d,b)}v[c+12>>2]=0;b=v[c+28>>2];if(b){if(e){while(1){f=g<<3;b=v[(f+b|0)+4>>2];if(b){Qa[v[d+8>>2]](d,b)}b=v[c+28>>2];v[(f+b|0)+4>>2]=0;g=g+1|0;if((e|0)!=(g|0)){continue}break}}if(b){Qa[v[d+8>>2]](d,b)}v[c+28>>2]=0}b=v[c+40>>2];if(b){cJ(v[a+100>>2],b);b=d;e=v[v[c+40>>2]+28>>2];if(e){Qa[v[b+8>>2]](b,e)}e=v[c+40>>2];v[e+28>>2]=0;e=v[e+24>>2];if(e){Qa[v[b+8>>2]](b,e)}b=v[c+40>>2];v[b+24>>2]=0;if(b){Qa[v[d+8>>2]](d,b)}v[c+40>>2]=0}b=v[c+52>>2];if(b){cJ(v[a+100>>2],b);b=d;e=v[v[c+52>>2]+28>>2];if(e){Qa[v[b+8>>2]](b,e)}e=v[c+52>>2];v[e+28>>2]=0;e=v[e+24>>2];if(e){Qa[v[b+8>>2]](b,e)}b=v[c+52>>2];v[b+24>>2]=0;if(b){Qa[v[d+8>>2]](d,b)}v[c+52>>2]=0}b=v[c+56>>2];if(b){cJ(v[a+100>>2],b+4|0);a=d;b=v[v[c+56>>2]+24>>2];if(b){Qa[v[a+8>>2]](a,b)}a=v[c+56>>2];v[a+24>>2]=0;if(a){Qa[v[d+8>>2]](d,a)}v[c+56>>2]=0}a=v[c+64>>2];if(a){Qa[v[d+8>>2]](d,a)}v[c+64>>2]=0;a=v[c+72>>2];if(a){Qa[v[d+8>>2]](d,a)}v[c+72>>2]=0;if(c){Qa[v[d+8>>2]](d,c)}}}function Lca(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,h=0,i=0;a=Ma-352|0;Ma=a;v[a+336>>2]=c;v[a+344>>2]=b;h=ud(a+208|0);g=a+16|0;b=v[d+28>>2];v[g>>2]=b;v[b+4>>2]=v[b+4>>2]+1;b=hi(g);Qa[v[v[b>>2]+48>>2]](b,1004032,1004058,a+224|0)|0;b=v[g>>2];c=v[b+4>>2]-1|0;v[b+4>>2]=c;if((c|0)==-1){Qa[v[v[b>>2]+8>>2]](b)}c=ud(a+192|0);md(c,w[c+11|0]>>>7|0?(v[c+8>>2]&2147483647)-1|0:10);d=a;if(w[c+11|0]>>>7|0){b=v[c>>2]}else{b=c}v[d+188>>2]=b;v[a+12>>2]=g;v[a+8>>2]=0;while(1){a:{if(!Lh(a+344|0,a+336|0)){break a}g=v[a+188>>2];if(w[c+11|0]>>>7|0){d=v[c+4>>2]}else{d=w[c+11|0]}if((g|0)==(d+b|0)){b=c;b:{if(w[b+11|0]>>>7|0){d=v[b+4>>2];break b}d=w[b+11|0]}g=b;if(w[b+11|0]>>>7|0){i=v[b+4>>2]}else{i=w[b+11|0]}md(g,i<<1);md(b,w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10);g=a;if(w[b+11|0]>>>7|0){b=v[c>>2]}else{b=c}v[g+188>>2]=d+b}d=v[a+344>>2];g=v[d+12>>2];c:{if((g|0)==v[d+16>>2]){d=Qa[v[v[d>>2]+36>>2]](d)|0;break c}d=v[g>>2]}if(Ar(d,16,b,a+188|0,a+8|0,0,h,a+16|0,a+12|0,a+224|0)){break a}Yf(a+344|0);continue}break}md(c,v[a+188>>2]-b|0);if(w[c+11|0]>>>7|0){b=v[c>>2]}else{b=c}d=te();v[a>>2]=f;if((CO(b,d,a)|0)!=1){v[e>>2]=4}if(jg(a+344|0,a+336|0)){v[e>>2]=v[e>>2]|2}b=v[a+344>>2];Vb(c);Vb(h);Ma=a+352|0;return b|0}function KAa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=v[a+4>>2];m=v[f+24>>2];l=v[a+12>>2];g=v[a+8>>2];i=v[f+44>>2];e=v[a+16>>2];k=v[a+20>>2];a:{if(!(!i|e>>>0>=k>>>0)){v[f+44>>2]=0;h=t[f+36|0];t[f+36|0]=0;c=v[f+48>>2];d=0;break a}d=1}b:{c:{d:{while(1){e:{f:{g:{if(!d){h:{if((c|0)<=(h|0)){break h}while(1){if(g>>>0>=l>>>0){break d}d=w[g|0];t[(f+h|0)+37|0]=d;if((d&192)!=128){break h}g=g+1|0;i=d+(i<<6)|0;h=h+1|0;if((h|0)!=(c|0)){continue}break}h=c}if((c|0)!=(h|0)){break c}j=c<<2;d=i-v[j+840768>>2]|0;if(d>>>0>1114111|d>>>0>2]){break c}i:{if((m|0)==840208){if((c|0)<4){break i}break c}if((d&-2048)==55296){break c}}if(d>>>0>65535){break g}u[e>>1]=d;e=e+2|0;break f}c=g;while(1){if(c>>>0>=l>>>0){g=c;break b}if(e>>>0>=k>>>0){g=c;break b}g=c+1|0;i=w[c|0];c=i<<24>>24;if((c|0)>=0){u[e>>1]=c&255;e=e+2|0;c=g;continue}break}t[f+37|0]=c;c=t[i+840512|0];h=1;d=0;continue}u[e>>1]=(d+67043328>>>10|0)-10240;j=d&1023|-9216;d=e+2|0;if(d>>>0>=k>>>0){break e}u[e+2>>1]=j;e=e+4|0}d=1;continue}break}t[f+65|0]=1;u[f+116>>1]=j;v[b>>2]=15;e=d;break b}v[f+48>>2]=c;v[f+44>>2]=i;t[f+36|0]=h;break b}t[f+36|0]=h;v[b>>2]=12}if(!(e>>>0>>0|g>>>0>=l>>>0|v[b>>2]>0)){v[b>>2]=15}v[a+8>>2]=g;v[a+16>>2]=e}function Rca(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,h=0,i=0,j=0,k=0,l=0;a=Ma-352|0;Ma=a;v[a+336>>2]=c;v[a+344>>2]=b;h=Yl(d);j=bu(d,a+224|0);au(a+208|0,d,a+332|0);b=ud(a+192|0);md(b,w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10);d=a;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+188>>2]=c;v[a+12>>2]=a+16;v[a+8>>2]=0;while(1){a:{if(!Lh(a+344|0,a+336|0)){break a}g=v[a+188>>2];if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}if((g|0)==(d+c|0)){c=b;b:{if(w[c+11|0]>>>7|0){d=v[c+4>>2];break b}d=w[c+11|0]}g=c;if(w[c+11|0]>>>7|0){i=v[c+4>>2]}else{i=w[c+11|0]}md(g,i<<1);md(c,w[c+11|0]>>>7|0?(v[c+8>>2]&2147483647)-1|0:10);g=a;if(w[c+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[g+188>>2]=d+c}d=v[a+344>>2];g=v[d+12>>2];c:{if((g|0)==v[d+16>>2]){d=Qa[v[v[d>>2]+36>>2]](d)|0;break c}d=v[g>>2]}if(Ar(d,h,c,a+188|0,a+8|0,v[a+332>>2],a+208|0,a+16|0,a+12|0,j)){break a}Yf(a+344|0);continue}break}if(w[a+219|0]>>>7|0){d=v[a+212>>2]}else{d=w[a+219|0]}d:{if(!d){break d}d=v[a+12>>2];if((d-(a+16|0)|0)>159){break d}v[a+12>>2]=d+4;v[d>>2]=v[a+8>>2]}k=f,l=KO(c,v[a+188>>2],e,h),v[k>>2]=l;v[f+4>>2]=Pa;Jh(a+208|0,a+16|0,v[a+12>>2],e);if(jg(a+344|0,a+336|0)){v[e>>2]=v[e>>2]|2}c=v[a+344>>2];Vb(b);Vb(a+208|0);Ma=a+352|0;return c|0}function Pca(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,h=0,i=0,j=0,k=0,l=0;a=Ma-352|0;Ma=a;v[a+336>>2]=c;v[a+344>>2]=b;h=Yl(d);j=bu(d,a+224|0);au(a+208|0,d,a+332|0);b=ud(a+192|0);md(b,w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10);d=a;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+188>>2]=c;v[a+12>>2]=a+16;v[a+8>>2]=0;while(1){a:{if(!Lh(a+344|0,a+336|0)){break a}g=v[a+188>>2];if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}if((g|0)==(d+c|0)){c=b;b:{if(w[c+11|0]>>>7|0){d=v[c+4>>2];break b}d=w[c+11|0]}g=c;if(w[c+11|0]>>>7|0){i=v[c+4>>2]}else{i=w[c+11|0]}md(g,i<<1);md(c,w[c+11|0]>>>7|0?(v[c+8>>2]&2147483647)-1|0:10);g=a;if(w[c+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[g+188>>2]=d+c}d=v[a+344>>2];g=v[d+12>>2];c:{if((g|0)==v[d+16>>2]){d=Qa[v[v[d>>2]+36>>2]](d)|0;break c}d=v[g>>2]}if(Ar(d,h,c,a+188|0,a+8|0,v[a+332>>2],a+208|0,a+16|0,a+12|0,j)){break a}Yf(a+344|0);continue}break}if(w[a+219|0]>>>7|0){d=v[a+212>>2]}else{d=w[a+219|0]}d:{if(!d){break d}d=v[a+12>>2];if((d-(a+16|0)|0)>159){break d}v[a+12>>2]=d+4;v[d>>2]=v[a+8>>2]}k=f,l=GO(c,v[a+188>>2],e,h),v[k>>2]=l;v[f+4>>2]=Pa;Jh(a+208|0,a+16|0,v[a+12>>2],e);if(jg(a+344|0,a+336|0)){v[e>>2]=v[e>>2]|2}c=v[a+344>>2];Vb(b);Vb(a+208|0);Ma=a+352|0;return c|0}function $d(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=v[a+8>>2];a:{while(1){b:{if((e|0)>=0){v[a+8>>2]=-1;d=e;break b}d=Qa[v[a>>2]](v[a+4>>2])|0;v[a+8>>2]=-1;if((d|0)!=-1){break b}e=0;break a}if(f){f=(d|0)!=13&(d|0)!=10;e=-1;continue}f=1;e=-1;if((d|0)==37){continue}f=0;if(w[d+952192|0]==1){continue}break}t[b|0]=d;h=1;e=1;c:{d:{e:{switch(d-91|0){case 0:case 2:break c;case 1:break d;default:break e}}if((d|0)!=40){if((d|0)!=60){break d}while(1){d=v[a+8>>2];f:{if((d|0)>-1){break f}d=Qa[v[a>>2]](v[a+4>>2])|0;v[a+8>>2]=d;if((d|0)==-1){break c}if((d|0)>-1){break f}Qa[v[a>>2]](v[a+4>>2])|0}v[a+8>>2]=-1;if(!(w[d+952192|0]==1|(e|0)>=255)){t[b+e|0]=d;e=e+1|0}if((d|0)!=62){continue}break}break c}d=v[a+8>>2];f=1;while(1){if((d|0)<=-1){d=Qa[v[a>>2]](v[a+4>>2])|0;v[a+8>>2]=d;if((d|0)==-1){break c}}if((e|0)>=255){g=d}else{t[b+e|0]=d;e=e+1|0;g=v[a+8>>2]}if((g|0)<=-1){Qa[v[a>>2]](v[a+4>>2])|0}v[a+8>>2]=-1;if((d|0)==41&f&(d|0)!=92){break c}f=(d|0)!=92;d=-1;continue}}while(1){d=v[a+8>>2];if((d|0)<=-1){d=Qa[v[a>>2]](v[a+4>>2])|0;v[a+8>>2]=d;if((d|0)==-1){break c}}if(w[d+952192|0]){break c}if((d|0)<=-1){Qa[v[a>>2]](v[a+4>>2])|0}v[a+8>>2]=-1;if((e|0)>=255){continue}t[b+e|0]=d;e=e+1|0;continue}}b=b+e|0}t[b|0]=0;v[c>>2]=e;return h}function rI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=v[a+12>>2];d=v[a+8>>2];a:{b:{j=v[a+4>>2];c=v[j+44>>2];h=v[a+16>>2];l=v[a+20>>2];if(!(!c|h>>>0>=l>>>0)){v[j+44>>2]=0;e=t[j+36|0];t[j+36|0]=0;g=c-1|0;break b}c=0;break a}c=1}c:{while(1){if(!c){if(d>>>0>=k>>>0){break c}g=0;e=0;if(h>>>0>=l>>>0){break c}c=1;continue}d:{e:{if(e>>>0>3){c=e;break e}if(d>>>0>=k>>>0){break d}c=w[d|0];t[(e+j|0)+37|0]=c;f=d+1|0;g=c<<(e<<3)|g;c=4;i=e+1|0;if((i|0)==4){d=f;break e}if(f>>>0>=k>>>0){e=i;d=f;break d}c=w[d+1|0];t[(j+i|0)+37|0]=c;f=d+2|0;g=c<<(i<<3)|g;c=4;i=e+2|0;if((i|0)==4){d=f;break e}if(f>>>0>=k>>>0){e=i;d=f;break d}c=w[d+2|0];t[(j+i|0)+37|0]=c;f=d+3|0;g=c<<(i<<3)|g;c=4;e=e+3|0;if((e|0)==4){d=f;break e}if(f>>>0>=k>>>0){d=f;break d}f=w[d+3|0];t[(e+j|0)+37|0]=f;d=d+4|0;g=f<<(e<<3)|g}f:{if(!((g&-2048)==55296|g>>>0>1114111)){if(g>>>0<=65535){u[h>>1]=g;h=h+2|0;break f}u[h>>1]=(g>>>10|0)-10304;f=g&1023|-9216;c=h+2|0;if(c>>>0>>0){u[h+2>>1]=f;h=h+4|0;break f}e=v[a+4>>2];t[e+65|0]=1;u[e+116>>1]=f;v[b>>2]=15;h=c;break c}t[v[a+4>>2]+36|0]=c;v[b>>2]=12;break c}c=0;continue}break}c=v[a+4>>2];t[c+36|0]=e;v[c+44>>2]=g+1}if(!(h>>>0>>0|d>>>0>=k>>>0|v[b>>2]>0)){v[b>>2]=15}v[a+8>>2]=d;v[a+16>>2]=h}function sTa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=Ma-32|0;Ma=d;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],x[a+26314>>1]+B(x[a+26306>>1],x[a+26312>>1])<<1,1)|0;e=x[a+26322>>1]<>2];f=Yb(e,2);if(f){a:{if(!x[a+26304>>1]){break a}if(!e){while(1){Wi(a,f,0);Qa[v[v[a>>2]+8>>2]](v[a+4>>2],x[a+26306>>1]<<1,1)|0;c=c+1|0;if(c>>>0>1]){continue}break a}}while(1){Wi(a,f,e);Qa[v[v[a>>2]+8>>2]](v[a+4>>2],x[a+26306>>1]-e<<1,1)|0;k=c+1|0;l=v[a+26028>>2];m=v[a+26352>>2];b=0;b:{if(v[a+26100>>2]){c=c>>>1|0;j=k>>>1|0;while(1){g=x[a+26322>>1]+(c+(b^-1)|0)|0;h=x[a+26316>>1];i=b+j|0;u[((B(x[a+26320>>1],g>>h)+(i>>>h|0)<<3)+m|0)+((l>>>((g<<1&14|i&1)<<1)&3)<<1)>>1]=x[(b<<1)+f>>1];b=b+1|0;if((e|0)!=(b|0)){continue}break}break b}while(1){g=x[a+26322>>1]+((b>>>1^-1)+c|0)|0;h=x[a+26316>>1];j=b+1|0;i=(j>>>1|0)+c|0;u[((B(x[a+26320>>1],g>>h)+(i>>>h|0)<<3)+m|0)+((l>>>((g<<1&14|i&1)<<1)&3)<<1)>>1]=x[(b<<1)+f>>1];b=j;if((e|0)!=(b|0)){continue}break}}c=k;if(c>>>0>1]){continue}break}}$a(f);Ma=d+32|0;return}b=v[a+190640>>2];c:{if(b){c=v[a+25208>>2];v[d+20>>2]=29309;v[d+16>>2]=c;Dc(b,4338,d+16|0);break c}b=v[a+25208>>2];v[d+4>>2]=29309;v[d>>2]=b;vb(v[249419],4338,d)}tc(a+190484|0,1);L()}function n9(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;g=v[a+12>>2];a:{if(v[a+4>>2]){if((c|0)<=0){break a}d=1;while(1){h=x[b>>1]<<16;e=+u[b+2>>1]*.01251220703125;b:{c:{d:{if(!d){if(D(e)<2147483648){d=~~e}else{d=-2147483648}d=h|d<<8&65280;break d}d=x3a(v[296254],v[296255],1284865837,1481765933)+1|0;f=Pa;f=d>>>0<1?f+1|0:f;v[296254]=d;v[296255]=f;e=e+ +(f>>>1|0)*4.656612875245797e-10+-.5;e:{if(D(e)<2147483648){d=~~e;break e}d=-2147483648}d=h|d<<8&65280;if(v[a+4>>2]){break c}}e=+u[b+4>>1]*.01251220703125;break b}e=+u[b+4>>1]*.01251220703125;f=x3a(v[296254],v[296255],1284865837,1481765933)+1|0;h=Pa;h=f>>>0<1?h+1|0:h;v[296254]=f;v[296255]=h;e=e+ +(h>>>1|0)*4.656612875245797e-10+-.5}f:{if(D(e)<2147483648){f=~~e;break f}f=-2147483648}v[g>>2]=f&255|d;if((c|0)<2){break a}c=c-1|0;g=g+4|0;b=b+6|0;d=v[a+4>>2];continue}}if((c|0)<1){break a}if(c&1){v[g>>2]=B(u[b+4>>1],410)>>>15&255|(B(u[b+2>>1],410)>>>7&65280|x[b>>1]<<16);b=b+6|0;g=g+4|0;a=c-1|0}else{a=c}d=a;if((c|0)==1){break a}while(1){v[g>>2]=B(u[b+4>>1],410)>>>15&255|(B(u[b+2>>1],410)>>>7&65280|x[b>>1]<<16);v[g+4>>2]=B(u[b+10>>1],410)>>>15&255|(B(u[b+8>>1],410)>>>7&65280|x[b+6>>1]<<16);b=b+12|0;g=g+8|0;a=(d|0)>2;d=d-2|0;if(a){continue}break}}}function le(a,b,c,d){var e=0,f=0,g=0;a:{b:{c:{if(!a|!b){break c}f=w[b|0];e=B(f,30);if(f){g=b;while(1){e=((e<<5)+(e>>>3|0)|0)+(f<<24>>24)^e;f=w[g+1|0];g=g+1|0;if(f){continue}break}}e=(e<<5)+(e>>>3|0)^e;d:{if(!c){break d}f=w[c|0];if(!f){break d}g=c;while(1){e=((f<<24>>24)+(e>>>3|0)|0)+(e<<5)^e;f=w[g+1|0];g=g+1|0;if(f){continue}break}}e=(e<<5)+(e>>>3|0)^e;e:{if(!d){break e}f=w[d|0];if(!f){break e}g=d;while(1){e=((f<<24>>24)+(e>>>3|0)|0)+(e<<5)^e;f=w[g+1|0];g=g+1|0;if(f){continue}break}}f=v[a>>2];g=f+B((e>>>0)%y[a+4>>2]|0,24)|0;if(!v[g+20>>2]){break c}if(v[a+12>>2]){e=g;while(1){if(!(v[e+4>>2]!=(b|0)|v[e+8>>2]!=(c|0))&v[e+12>>2]==(d|0)){break a}e=v[e>>2];if(e){continue}break}if(!f){break c}}while(1){f:{e=v[g+4>>2];if((e|0)!=(b|0)){f=b;if(!e){break f}while(1){a=w[e|0];if((a|0)!=w[f|0]){break f}f=f+1|0;e=e+1|0;if(a){continue}break}}e=v[g+8>>2];if((e|0)!=(c|0)){if(!e){break f}f=c;if(!f){break f}while(1){a=w[e|0];if((a|0)!=w[f|0]){break f}f=f+1|0;e=e+1|0;if(a){continue}break}}e=v[g+12>>2];if((e|0)==(d|0)){break b}if(!e){break f}f=d;if(!f){break f}while(1){a=w[e|0];if((a|0)!=w[f|0]){break f}f=f+1|0;e=e+1|0;if(a){continue}break}break b}g=v[g>>2];if(g){continue}break}}return 0}e=g}return v[e+16>>2]}function tI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=v[a+4>>2];c=v[e+48>>2];a:{d=v[a+8>>2];h=v[a+12>>2];b:{if(d>>>0>=h>>>0){break b}f=v[a+24>>2];while(1){c:{if(v[b>>2]>0){break c}d:{e:{switch(c|0){case 0:g=w[d|0];c=1;t[e+36|0]=1;t[e+37|0]=g;d=d+1|0;break d;case 1:f:{g:{i=w[e+37|0];c=w[d|0];if(!((i|0)!=254|(c|0)!=255)){c=8;if(v[e+24>>2]!=838748){break g}f=9;c=255;break a}g=v[e+24>>2];h:{if(!((i|0)==255&(c&255)==254)){if((g|0)!=839148&(g|0)!=839376|(v[e+28>>2]&15)!=1){break h}f=8;break a}c=9;if((g|0)!=838348){break g}f=8;c=254;break a}c=v[a+8>>2];if((c|0)!=(d|0)){t[e+36|0]=0;d=c}c=(g|0)==838748?9:8;break f}t[e+36|0]=0;d=d+1|0;j=d-v[a+8>>2]|0}v[e+48>>2]=c;if(d>>>0>>0){continue}break c;case 8:v[a+8>>2]=d;uI(a,b);d=v[a+8>>2];c=8;break d;case 9:break e;default:break d}}v[a+8>>2]=d;sI(a,b);d=v[a+8>>2];c=9}if(d>>>0>>0){continue}}break}if(!f|!j){break b}g=v[a+24>>2];if(g>>>0<=f>>>0){break b}while(1){v[f>>2]=v[f>>2]+j;f=f+4|0;if(g>>>0>f>>>0){continue}break}}v[a+8>>2]=d;i:{if(!w[a+2|0]|(d|0)!=(h|0)){break i}j:{switch(c-8|0){case 0:uI(a,b);v[e+48>>2]=c;return;case 1:break j;default:break i}}sI(a,b)}v[e+48>>2]=c;return}t[e+36|0]=2;t[e+38|0]=c;v[a+8>>2]=d+1;v[e+48>>2]=f;v[b>>2]=18}function hL(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=-1;a:{if(!b|!c){break a}b:{e=x[a+26>>1];if(v[a+16>>2]<1|e>>>0>7){break b}while(1){c:{d:{e:{f:{g=e&65535;switch(g-1|0){case 0:break e;case 3:break f;default:break c}}i=(f<<2^-1)&4;e=15;break d}i=(f^-1)&7;e=1}g=(B(f,g)>>>3|0)+c|0;j=w[g|0]&(e<=v[a+16>>2]){break b}e=x[a+26>>1];continue}}if(v[a+1e3>>2]){e=v[a+1012>>2]+(v[a+1004>>2]^-1)|0;if(!((e|0)<0|(e|0)>v[v[b+20>>2]+20>>2])){v[b+4>>2]=e;k=b,l=Ud(v[b+20>>2],0)+B(e,v[v[b+20>>2]+52>>2])|0,v[k+16>>2]=l}e=v[v[b+20>>2]+52>>2];b=v[b+16>>2];g:{if(!b){break g}d=(d|0)<0?e:(d|0)>(e|0)?e:d;if((d|0)<1){break g}cb(b,c,d)}e=v[a+1008>>2];b=e+v[a+1004>>2]|0;v[a+1004>>2]=b;h=0;c=b;b=v[a+1012>>2];if((c|0)<(b|0)){break a}f=v[a+1016>>2];while(1){if((f|0)>=1){e=(e|0)/2|0;v[a+1008>>2]=e}f=f+1|0;c=(e|0)/2|0;if((c|0)>(b|0)){continue}break}v[a+1004>>2]=c;v[a+1016>>2]=f;return 0}a=v[b+20>>2];if(!a){break a}if(!Pu(a,v[b>>2],v[b+4>>2])){break a}a=v[v[b+20>>2]+52>>2];h=0;e=v[b+16>>2];h:{if(!e){break h}a=(d|0)<0?a:(a|0)<(d|0)?a:d;if((a|0)<1){break h}cb(e,c,a)}a=v[b+4>>2];v[b+4>>2]=a-1;if((a|0)<1){break a}v[b+16>>2]=v[b+16>>2]-v[v[b+20>>2]+52>>2]}return h}function l5(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;o=Ma;f=b+1|0;j=o-((B(f>>>1|0,c)<<2)+15&-16)|0;Ma=j;a:{if((b|0)<2){break a}i=B(1-e|0,d);l=f-e>>1;h=e?l:b-l|0;b:{if((h|0)<1|(c|0)<1){break b}m=c<<2;n=d<<1;f=0;if((h|0)!=1){g=h&-2;while(1){cb((B(c,f)<<2)+j|0,(i+B(f,n)<<2)+a|0,m);k=f|1;cb((B(k,c)<<2)+j|0,(i+B(n,k)<<2)+a|0,m);f=f+2|0;g=g-2|0;if(g){continue}break}}if(!(h&1)){break b}cb((B(c,f)<<2)+j|0,(i+B(f,n)<<2)+a|0,m)}k=(b-!e|0)-h|0;if(!((k|0)<1|(c|0)<1)){g=(i<<2)+a|0;m=c&-8;n=c&7;i=(B(2-e|0,d)<<2)+a|0;p=c-1>>>0<7;q=d<<3;while(1){f=g;e=i;b=m;if(!p){while(1){v[f>>2]=v[e>>2];v[f+4>>2]=v[e+4>>2];v[f+8>>2]=v[e+8>>2];v[f+12>>2]=v[e+12>>2];v[f+16>>2]=v[e+16>>2];v[f+20>>2]=v[e+20>>2];v[f+24>>2]=v[e+24>>2];v[f+28>>2]=v[e+28>>2];e=e+32|0;f=f+32|0;b=b-8|0;if(b){continue}break}}b=n;if(b){while(1){v[f>>2]=v[e>>2];e=e+4|0;f=f+4|0;b=b-1|0;if(b){continue}break}}i=i+q|0;g=(d<<2)+g|0;b=(k|0)>1;k=k-1|0;if(b){continue}break}}if((h|0)<1|(c|0)<1){break a}e=c<<2;f=0;if((h|0)!=1){b=h&-2;while(1){cb((B(f+l|0,d)<<2)+a|0,(B(c,f)<<2)+j|0,e);g=f|1;cb((B(g+l|0,d)<<2)+a|0,(B(c,g)<<2)+j|0,e);f=f+2|0;b=b-2|0;if(b){continue}break}}if(!(h&1)){break a}cb((B(f+l|0,d)<<2)+a|0,(B(c,f)<<2)+j|0,e)}Ma=o}function Tca(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,h=0,i=0,j=0,k=0,l=0;a=Ma-352|0;Ma=a;v[a+336>>2]=c;v[a+344>>2]=b;h=Yl(d);j=bu(d,a+224|0);au(a+208|0,d,a+332|0);b=ud(a+192|0);md(b,w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10);d=a;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+188>>2]=c;v[a+12>>2]=a+16;v[a+8>>2]=0;while(1){a:{if(!Lh(a+344|0,a+336|0)){break a}g=v[a+188>>2];if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}if((g|0)==(d+c|0)){c=b;b:{if(w[c+11|0]>>>7|0){d=v[c+4>>2];break b}d=w[c+11|0]}g=c;if(w[c+11|0]>>>7|0){i=v[c+4>>2]}else{i=w[c+11|0]}md(g,i<<1);md(c,w[c+11|0]>>>7|0?(v[c+8>>2]&2147483647)-1|0:10);g=a;if(w[c+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[g+188>>2]=d+c}d=v[a+344>>2];g=v[d+12>>2];c:{if((g|0)==v[d+16>>2]){d=Qa[v[v[d>>2]+36>>2]](d)|0;break c}d=v[g>>2]}if(Ar(d,h,c,a+188|0,a+8|0,v[a+332>>2],a+208|0,a+16|0,a+12|0,j)){break a}Yf(a+344|0);continue}break}if(w[a+219|0]>>>7|0){d=v[a+212>>2]}else{d=w[a+219|0]}d:{if(!d){break d}d=v[a+12>>2];if((d-(a+16|0)|0)>159){break d}v[a+12>>2]=d+4;v[d>>2]=v[a+8>>2]}k=f,l=LO(c,v[a+188>>2],e,h),v[k>>2]=l;Jh(a+208|0,a+16|0,v[a+12>>2],e);if(jg(a+344|0,a+336|0)){v[e>>2]=v[e>>2]|2}c=v[a+344>>2];Vb(b);Vb(a+208|0);Ma=a+352|0;return c|0}function Qca(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,h=0,i=0,j=0,k=0,l=0;a=Ma-352|0;Ma=a;v[a+336>>2]=c;v[a+344>>2]=b;h=Yl(d);j=bu(d,a+224|0);au(a+208|0,d,a+332|0);b=ud(a+192|0);md(b,w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10);d=a;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+188>>2]=c;v[a+12>>2]=a+16;v[a+8>>2]=0;while(1){a:{if(!Lh(a+344|0,a+336|0)){break a}g=v[a+188>>2];if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}if((g|0)==(d+c|0)){c=b;b:{if(w[c+11|0]>>>7|0){d=v[c+4>>2];break b}d=w[c+11|0]}g=c;if(w[c+11|0]>>>7|0){i=v[c+4>>2]}else{i=w[c+11|0]}md(g,i<<1);md(c,w[c+11|0]>>>7|0?(v[c+8>>2]&2147483647)-1|0:10);g=a;if(w[c+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[g+188>>2]=d+c}d=v[a+344>>2];g=v[d+12>>2];c:{if((g|0)==v[d+16>>2]){d=Qa[v[v[d>>2]+36>>2]](d)|0;break c}d=v[g>>2]}if(Ar(d,h,c,a+188|0,a+8|0,v[a+332>>2],a+208|0,a+16|0,a+12|0,j)){break a}Yf(a+344|0);continue}break}if(w[a+219|0]>>>7|0){d=v[a+212>>2]}else{d=w[a+219|0]}d:{if(!d){break d}d=v[a+12>>2];if((d-(a+16|0)|0)>159){break d}v[a+12>>2]=d+4;v[d>>2]=v[a+8>>2]}k=f,l=JO(c,v[a+188>>2],e,h),u[k>>1]=l;Jh(a+208|0,a+16|0,v[a+12>>2],e);if(jg(a+344|0,a+336|0)){v[e>>2]=v[e>>2]|2}c=v[a+344>>2];Vb(b);Vb(a+208|0);Ma=a+352|0;return c|0}function Ld(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{d=v[b>>2];b:{if((d|0)>=v[c>>2]){break b}c:{while(1){g=v[(d<<2)+a>>2];e=g-32|0;if((e|0)!=12?e:0){break c}d=d+1|0;v[b>>2]=d;if(!((e|0)!=12?e:0)){if(v[c>>2]>(d|0)){continue}break b}break}g=v[(d<<2)+a>>2]}d=d+1|0;v[b>>2]=d;d:{if(g-48>>>0<10){break d}c=g-45|0;if(1<>>0<=24:0){break d}if((g|0)!=101){break b}}e=0;e:{f:{g:{h:{i:{if((g|0)!=45){f=0;if((g|0)==46){break i}e=g-48|0}h=v[(d<<2)+a>>2];c=h-48|0;if(c>>>0<=9){while(1){e=B(e,10)+c|0;d=d+1|0;h=v[(d<<2)+a>>2];c=h-48|0;if(c>>>0<10){continue}break}v[b>>2]=d}if((h|0)!=46){break h}d=d+1|0;v[b>>2]=d;f=+(e|0)}e=v[(d<<2)+a>>2];if((e&-33)==69){break g}i=.1;while(1){c=e-48|0;if(c>>>0>9){break a}d=d+1|0;v[b>>2]=d;f=f+i*+(c|0);i=i*.1;e=v[(d<<2)+a>>2];if((e&-33)!=69){continue}break}break g}if((h&-33)!=69){break f}f=+(e|0)}e=d+2|0;v[b>>2]=e;c=v[((d<<2)+a|0)+4>>2];if(v[(e<<2)+a>>2]-48>>>0<=9){while(1){e=e+1|0;if(v[(e<<2)+a>>2]-48>>>0<10){continue}break}v[b>>2]=e}f=(g|0)==45?-f:f;if((c|0)==45){break e}return f*10*10*10*10*10*10*10*10*10*10*10*10*10*10*10*10*10*10*10*10}return+(((g|0)==45?0-e|0:e)|0)}i=f/10/10/10/10/10/10/10/10/10/10/10/10/10/10/10/10/10/10/10/10}return i}return(g|0)==45?-f:f}function iv(a,b){var c=0,d=0,e=0,f=0,g=0;c=Ma-32|0;Ma=c;v[c+16>>2]=13;v[c>>2]=13;d=c+16|0;ib(b,286132,d,0);d=mm(d,0);v[a+8>>2]=d;a:{if(!d){fb(1,-1,219323,0);break a}e=c+16|0;bb(e);eb(a+12|0,0,132);b:{if(v[ib(b,287163,e,0)>>2]!=6){break b}e=v[a+8>>2];if(v[v[c+24>>2]+12>>2]==(Qa[v[v[e>>2]+28>>2]](e)|0)){v[a+140>>2]=1;e=v[a+8>>2];if((Qa[v[v[e>>2]+28>>2]](e)|0)<1){break b}e=0;while(1){g=(e<<2)+a|0;d=ub(v[c+24>>2],e,c,0);f=(v[d>>2]==1?+v[d+8>>2]:A[d+8>>3])*65536;c:{if(D(f)<2147483648){d=~~f;break c}d=-2147483648}v[g+12>>2]=d;bb(c);d=v[a+8>>2];e=e+1|0;if((Qa[v[v[d>>2]+28>>2]](d)|0)>(e|0)){continue}break}break b}fb(1,-1,219361,0)}d=c+16|0;bb(d);v[a+144>>2]=0;v[a+148>>2]=0;v[a+176>>2]=0;v[a+168>>2]=0;v[a+172>>2]=0;v[a+160>>2]=0;v[a+164>>2]=0;v[a+152>>2]=0;v[a+156>>2]=0;e=1;if(v[ib(b,220495,d,0)>>2]!=6){break a}b=v[c+24>>2];if(v[b+12>>2]==4){v[a+176>>2]=1;b=ub(b,0,c,0);A[a+144>>3]=v[b>>2]==1?+v[b+8>>2]:A[b+8>>3];bb(c);b=ub(v[c+24>>2],1,c,0);A[a+152>>3]=v[b>>2]==1?+v[b+8>>2]:A[b+8>>3];bb(c);b=ub(v[c+24>>2],2,c,0);A[a+160>>3]=v[b>>2]==1?+v[b+8>>2]:A[b+8>>3];bb(c);b=a;a=ub(v[c+24>>2],3,c,0);A[b+168>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];bb(c);break a}fb(1,-1,218755,0)}bb(c+16|0);Ma=c+32|0;return e}function WSa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=Ma+-64|0;Ma=d;b=x[a+26306>>1];g=Yb(b,3);if(g){if(x[a+26308>>1]){h=v[249419];while(1){c=f&1;a:{if(c){break a}if((Qa[v[v[a>>2]>>2]](v[a+4>>2],g,b,3)|0)>2){break a}b:{if(v[a+26160>>2]){break b}v[d+48>>2]=v[a+25208>>2];vb(h,8292,d+48|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,h);break b}b=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[d+32>>2]=b;v[d+36>>2]=b>>31;vb(h,14622,d+32|0)}v[a+26160>>2]=1}c:{if(!x[a+26306>>1]){b=0;break c}l=c<<1;i=v[a+26352>>2];c=0;while(1){e=x[a+26310>>1];b=(e+(c&2147483646)|0)+g|0;j=w[b|0];k=w[b+1|0]-128|0;b=w[(B(e,l)+c|0)+g|0]-((k+j|0)-126>>2)|0;m=(B(e,f)+c<<3)+i|0;e=b+k|0;e=(e|0)<255?e:255;u[m>>1]=(e|0)>0?e:0;e=(b|0)<255?b:255;u[((B(x[a+26310>>1],f)+c<<3)+i|0)+2>>1]=(e|0)>0?e:0;b=(b+j|0)-128|0;b=(b|0)<255?b:255;u[((B(x[a+26310>>1],f)+c<<3)+i|0)+4>>1]=(b|0)>0?b:0;b=x[a+26306>>1];c=c+1|0;if(b>>>0>c>>>0){continue}break}}f=f+1|0;if(f>>>0>1]){continue}break}}$a(g);v[a+26136>>2]=0;Ma=d- -64|0;return}c=v[a+190640>>2];d:{if(c){f=v[a+25208>>2];v[d+20>>2]=48691;v[d+16>>2]=f;Dc(c,4338,d+16|0);break d}c=v[a+25208>>2];v[d+4>>2]=48691;v[d>>2]=c;vb(v[249419],4338,d)}tc(a+190484|0,1);L()}function BO(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,h=0,i=0,j=0,k=0,l=0;a=Ma-352|0;Ma=a;v[a+336>>2]=c;v[a+344>>2]=b;h=Yl(d);j=bu(d,a+224|0);au(a+208|0,d,a+332|0);b=ud(a+192|0);md(b,w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10);d=a;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+188>>2]=c;v[a+12>>2]=a+16;v[a+8>>2]=0;while(1){a:{if(!Lh(a+344|0,a+336|0)){break a}g=v[a+188>>2];if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}if((g|0)==(d+c|0)){c=b;b:{if(w[c+11|0]>>>7|0){d=v[c+4>>2];break b}d=w[c+11|0]}g=c;if(w[c+11|0]>>>7|0){i=v[c+4>>2]}else{i=w[c+11|0]}md(g,i<<1);md(c,w[c+11|0]>>>7|0?(v[c+8>>2]&2147483647)-1|0:10);g=a;if(w[c+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[g+188>>2]=d+c}d=v[a+344>>2];g=v[d+12>>2];c:{if((g|0)==v[d+16>>2]){d=Qa[v[v[d>>2]+36>>2]](d)|0;break c}d=v[g>>2]}if(Ar(d,h,c,a+188|0,a+8|0,v[a+332>>2],a+208|0,a+16|0,a+12|0,j)){break a}Yf(a+344|0);continue}break}if(w[a+219|0]>>>7|0){d=v[a+212>>2]}else{d=w[a+219|0]}d:{if(!d){break d}d=v[a+12>>2];if((d-(a+16|0)|0)>159){break d}v[a+12>>2]=d+4;v[d>>2]=v[a+8>>2]}k=f,l=HO(c,v[a+188>>2],e,h),v[k>>2]=l;Jh(a+208|0,a+16|0,v[a+12>>2],e);if(jg(a+344|0,a+336|0)){v[e>>2]=v[e>>2]|2}c=v[a+344>>2];Vb(b);Vb(a+208|0);Ma=a+352|0;return c|0}function _La(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=v[a+480>>2];c=v[d+24>>2];a:{b:{c:{if(!v[a+88>>2]){if(b){break b}b=202;break c}v[a+88>>2]=2;if(b){break b}b=203}v[d+8>>2]=204;v[d+4>>2]=b;b=1;e=v[a+132>>2];d:{if((e|0)<1){e=58}else{if((e|0)<257){break d}b=256;e=59}f=v[a>>2];v[f+24>>2]=b;v[f+20>>2]=e;Qa[v[v[a>>2]>>2]](a)}if(v[a+88>>2]!=2){break a}b=B(v[a+112>>2],6)+12|0;e=v[d+32>>2];if(!e){e=Qa[v[v[a+4>>2]+4>>2]](a,1,b)|0;v[d+32>>2]=e}Jd(e,b);if(!v[d+40>>2]){A0(a)}v[d+36>>2]=0;break a}v[d+28>>2]=1;v[d+8>>2]=205;v[d+4>>2]=206}if(v[d+28>>2]){Jd(v[c>>2],4096);Jd(v[c+4>>2],4096);Jd(v[c+8>>2],4096);Jd(v[c+12>>2],4096);Jd(v[c+16>>2],4096);Jd(v[c+20>>2],4096);Jd(v[c+24>>2],4096);Jd(v[c+28>>2],4096);Jd(v[c+32>>2],4096);Jd(v[c+36>>2],4096);Jd(v[c+40>>2],4096);Jd(v[c+44>>2],4096);Jd(v[c+48>>2],4096);Jd(v[c+52>>2],4096);Jd(v[c+56>>2],4096);Jd(v[c+60>>2],4096);Jd(v[c+64>>2],4096);Jd(v[c+68>>2],4096);Jd(v[c+72>>2],4096);Jd(v[c+76>>2],4096);Jd(v[c+80>>2],4096);Jd(v[c+84>>2],4096);Jd(v[c+88>>2],4096);Jd(v[c+92>>2],4096);Jd(v[c+96>>2],4096);Jd(v[c+100>>2],4096);Jd(v[c+104>>2],4096);Jd(v[c+108>>2],4096);Jd(v[c+112>>2],4096);Jd(v[c+116>>2],4096);Jd(v[c+120>>2],4096);Jd(v[c+124>>2],4096);v[d+28>>2]=0}}function Ixa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{if(!a){break a}e=v[a+8>>2];b:{if(w[b|0]==35){g=Ma-16|0;Ma=g;c:{if(!b){break c}c=Qa[v[256552]](60)|0;if(!c){v[g>>2]=284406;nb(0,0,0,0,0,2,2,3,284406,0,0,0,340689,g);c=0;break c}v[c>>2]=0;v[c+4>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+4>>2]=5;v[c+56>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c+32>>2]=e;e=b;d:{e:{f:{d=w[b|0];if(d){if((d|0)==38){break f}d=b;while(1){f=w[d+1|0];e=d+1|0;d=e;if(f){continue}break}}d=0;f=e-b|0;if((f|0)<0){break d}e=Qa[v[256555]](f+1|0)|0;if(e){break e}nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break d}h=b+1|0;e=0;g:{if(!w[b+1|0]){break g}d=h;while(1){f=e;e=e+1|0;i=w[d+1|0];d=d+1|0;if(i){continue}break}if(w[b+e|0]!=59){break g}d=0;b=Qa[v[256555]](e)|0;if(!b){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break d}d=cb(b,h,f);t[f+d|0]=0;break d}d=Qa[v[256555]](e+1|0)|0;if(!d){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break d}j=cb(d,h,e)+e|0,k=0,t[j|0]=k;break d}d=cb(e,b,f);t[f+d|0]=0}v[c+8>>2]=d;if(!v[291069]){break c}b=v[291066];if(!b){break c}Qa[b|0](c)}Ma=g+16|0;b=c;break b}b=LH(e,b)}if(Df(v[a+52>>2],b)){break a}Ck(b)}}function Gh(a,b,c){var d=0,e=0,f=0;a:{if((c|0)>-1){d=-1;e=v[a+8>>2];b:{if(e&7){break b}d=v[a+64>>2];if((d|0)>=0&(d|0)<=v[a+60>>2]){break a}f=(c&16777215)<<8|b>>>24;v[a+4>>2]=v[a+4>>2]|32;d=-1;e=v[a+28>>2];v[a+28>>2]=e-1;c:{if((e|0)>=1){v[a+60>>2]=v[a+60>>2]+1;d=v[a+24>>2];v[a+24>>2]=d+1;t[d|0]=f;break c}if((Cb(a,f&255)|0)==-1){break b}}d=-1;e=v[a+8>>2];if(e&7){break b}d=v[a+64>>2];if((d|0)>=0&(d|0)<=v[a+60>>2]){break a}f=(c&65535)<<16|b>>>16;v[a+4>>2]=v[a+4>>2]|32;d=-1;e=v[a+28>>2];v[a+28>>2]=e-1;d:{if((e|0)>=1){v[a+60>>2]=v[a+60>>2]+1;d=v[a+24>>2];v[a+24>>2]=d+1;t[d|0]=f;break d}if((Cb(a,f&255)|0)==-1){break b}}d=-1;e=v[a+8>>2];if(e&7){break b}d=v[a+64>>2];if((d|0)>=0&(d|0)<=v[a+60>>2]){break a}c=(c&255)<<24|b>>>8;v[a+4>>2]=v[a+4>>2]|32;d=-1;e=v[a+28>>2];v[a+28>>2]=e-1;e:{if((e|0)>=1){v[a+60>>2]=v[a+60>>2]+1;d=v[a+24>>2];v[a+24>>2]=d+1;t[d|0]=c;break e}if((Cb(a,c&255)|0)==-1){break b}}d=-1;e=v[a+8>>2];if(e&7){break b}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break a}v[a+4>>2]=v[a+4>>2]|32;c=v[a+28>>2];v[a+28>>2]=c-1;f:{if((c|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=a;a=v[a+24>>2];v[c+24>>2]=a+1;t[a|0]=b;break f}if((Cb(a,b&255)|0)==-1){break b}}d=0}return d}S();L()}v[a+8>>2]=e|4;return-1}function BX(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{if(!a){break a}c=v[a+64>>2];if(!c){break a}b=v[a+68>>2];e=b?b:c;b=v[e+4>>2];if(b>>>0>18){break a}if(!(1<>2]}b=v[e+12>>2];if(!(!b|v[b+4>>2]!=3|v[b+24>>2])){return v[b+40>>2]}c=v[a+84>>2];b:{if(!c){b=Aq(100);v[a+84>>2]=b;if(!b){Qa[v[256654]](v[291043],344837,0);return 0}if(v[b+32>>2]|(v[b+12>>2]&-2)==2){break b}v[b+12>>2]=5;c=v[b+28>>2];if(!c){break b}v[c+12>>2]=5;break b}if(v[c+32>>2]){b=c;break b}d=v[c>>2];if(!d){b=c;break b}f=v[c+24>>2];b=v[c+8>>2];if(!((f|0)==(b|0)|b>>>0>2147483646)){v[c+24>>2]=b;f=b}v[c+20>>2]=0;c:{d:{e:{switch(v[c+12>>2]-2|0){case 0:v[c>>2]=349015;v[c+8>>2]=f>>>0<2147483647?f:2147483647;b=c;break c;case 1:break e;default:break d}}b=v[c+16>>2];if(!b){break d}v[c>>2]=b;v[c+24>>2]=(d+f|0)-b;d=b}t[d|0]=0;b=v[c+24>>2];v[c+8>>2]=b>>>0<2147483647?b:2147483647;b=v[c+20>>2];g=b>>>0<2147483647?b:2147483647;b=v[a+84>>2]}v[c+4>>2]=g}Lv(b,e);b=v[a+84>>2];if(!(!b|v[b+32>>2])){d=v[b>>2];if(d){break a}}mA(b);b=a;a=Aq(100);v[b+84>>2]=a;d=349015;if(v[a+32>>2]|!a|(v[a+12>>2]&-2)==2){break a}v[a+12>>2]=5;a=v[a+28>>2];if(!a){break a}v[a+12>>2]=5;return 349015}d=v[e+40>>2]}return d}function rd(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=w[b|0];if(f){d=f;e=b;while(1){g=B(g,17)+(d&255)|0;d=w[e+1|0];e=e+1|0;if(d){continue}break}}a:{e=v[a+12>>2];d=v[v[a+8>>2]+((g>>>0)%((e<<1)-1>>>0)<<2)>>2];if(d){while(1){if(!hb(b,v[d>>2])){break a}d=v[d+24>>2];if(d){continue}break}}if((e|0)==v[a+16>>2]){d=v[a+12>>2]<<1;v[a+12>>2]=d;k=a,l=yc(v[a+4>>2],d,32),v[k+4>>2]=l;e=yc(v[a+8>>2],(v[a+12>>2]<<1)-1|0,4);v[a+8>>2]=e;d=0;eb(e,0,(v[a+12>>2]<<3)-4|0);i=v[a+16>>2];if((i|0)>=1){j=(v[a+12>>2]<<1)-1|0;while(1){e=0;h=v[a+4>>2]+(d<<5)|0;f=v[h>>2];g=w[f|0];if(g){while(1){e=B(e,17)+g|0;g=w[f+1|0];f=f+1|0;if(g){continue}break}}e=v[a+8>>2]+((e>>>0)%(j>>>0)<<2)|0;v[h+24>>2]=v[e>>2];v[e>>2]=h;d=d+1|0;if((i|0)!=(d|0)){continue}break}}f=w[b|0]}e=0;if(f){d=b;while(1){e=B(e,17)+f|0;f=w[d+1|0];d=d+1|0;if(f){continue}break}}f=v[a+12>>2];d=v[a+4>>2]+(v[a+16>>2]<<5)|0;v[d>>2]=b;b=v[c+4>>2];v[d+8>>2]=v[c>>2];v[d+12>>2]=b;b=v[c+12>>2];v[d+16>>2]=v[c+8>>2];v[d+20>>2]=b;b=v[a+16>>2];c=v[a+4>>2]+(b<<5)|0;d=v[a+8>>2]+((e>>>0)%((f<<1)-1>>>0)<<2)|0;v[c+24>>2]=v[d>>2];v[d>>2]=c;v[a+16>>2]=b+1;return}bb(d+8|0);a=v[c+12>>2];v[d+16>>2]=v[c+8>>2];v[d+20>>2]=a;a=v[c+4>>2];v[d+8>>2]=v[c>>2];v[d+12>>2]=a;tb(b)}function Twa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=v[a+420>>2];a:{b:{c:{if(!b){v[d+8>>2]=354;if(v[a+264>>2]){break c}v[d+4>>2]=355;break a}v[d+8>>2]=356;if(!v[a+264>>2]){break b}}v[d+108>>2]=b;v[d+120>>2]=a;c=v[a+360>>2];d:{if(!v[a+368>>2]){if(!c){v[d+4>>2]=357;break d}v[d+4>>2]=358;break d}if(!c){v[d+4>>2]=359;break d}v[d+4>>2]=360;if(v[d+136>>2]){break d}i=d,j=Qa[v[v[a+4>>2]>>2]](a,1,1e3)|0,v[i+136>>2]=j}c=v[v[a+292>>2]+24>>2];v[d+128>>2]=0;v[d+132>>2]=0;v[d+124>>2]=c;break a}v[d+4>>2]=361}if(v[a+288>>2]>=1){while(1){h=g<<2;e=v[(h+a|0)+292>>2];if(!(v[a+360>>2]|v[a+368>>2])){c=v[e+20>>2];e:{if(b){if(c>>>0>=4){f=v[a>>2];v[f+24>>2]=c;v[f+20>>2]=52;Qa[v[v[a>>2]>>2]](a)}f=(c<<2)+d|0;c=v[f+76>>2];if(!c){c=Qa[v[v[a+4>>2]>>2]](a,1,1028)|0;v[f+76>>2]=c}eb(c,0,1028);break e}KW(a,1,c,((c<<2)+d|0)+44|0)}v[(d+h|0)+20>>2]=0}f:{if(!v[a+364>>2]){break f}c=v[e+24>>2];if(b){if(c>>>0>=4){e=v[a>>2];v[e+24>>2]=c;v[e+20>>2]=52;Qa[v[v[a>>2]>>2]](a)}e=(c<<2)+d|0;c=v[e+92>>2];if(!c){c=Qa[v[v[a+4>>2]>>2]](a,1,1028)|0;v[e+92>>2]=c}eb(c,0,1028);break f}KW(a,0,c,((c<<2)+d|0)+60|0)}g=g+1|0;if((g|0)>2]){continue}break}}v[d+12>>2]=0;v[d+16>>2]=0;a=v[a+236>>2];v[d+40>>2]=0;v[d+36>>2]=a}function pn(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=Ma-16|0;Ma=d;i=c;a:{b:{if((Qa[v[a+4>>2]](v[a+28>>2],b,d+8|0,1)|0)==1){c=w[d+8|0];f=c;break b}c=-1;if(Qa[v[a+24>>2]](v[a+28>>2],b)|0){break a}c=0}c:{d:{e:{if((Qa[v[a+4>>2]](v[a+28>>2],b,d+9|0,1)|0)==1){c=w[d+9|0];e=c>>>24|0;j=f|c<<8;break e}if(Qa[v[a+24>>2]](v[a+28>>2],b)|0){break d}j=c<<8|f}l=e;f:{if((Qa[v[a+4>>2]](v[a+28>>2],b,d+10|0,1)|0)==1){c=w[d+10|0];break f}if(Qa[v[a+24>>2]](v[a+28>>2],b)|0){break d}}e=c;g:{if((Qa[v[a+4>>2]](v[a+28>>2],b,d+11|0,1)|0)==1){f=w[d+11|0];break g}f=e;if(Qa[v[a+24>>2]](v[a+28>>2],b)|0){break d}}h:{if((Qa[v[a+4>>2]](v[a+28>>2],b,d+12|0,1)|0)==1){c=w[d+12|0];break h}c=f;if(Qa[v[a+24>>2]](v[a+28>>2],b)|0){break d}}i:{if((Qa[v[a+4>>2]](v[a+28>>2],b,d+13|0,1)|0)==1){h=w[d+13|0];break i}h=c;if(Qa[v[a+24>>2]](v[a+28>>2],b)|0){break d}}j:{if((Qa[v[a+4>>2]](v[a+28>>2],b,d+14|0,1)|0)==1){g=w[d+14|0];break j}g=h;if(Qa[v[a+24>>2]](v[a+28>>2],b)|0){break d}}if((Qa[v[a+4>>2]](v[a+28>>2],b,d+15|0,1)|0)==1){k=w[d+15|0];break c}k=g;if(!(Qa[v[a+24>>2]](v[a+28>>2],b)|0)){break c}}g=0;e=0;c=-1;break a}b=j|e<<16|f<<24;a=c|(l|e>>>16|f>>>8)|h<<8|g<<16;g=b;e=k<<24|a;c=0}v[i>>2]=g;v[i+4>>2]=e;Ma=d+16|0;return c}function ew(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=v[a+12>>2];e=v[a+8>>2];a:{b:{i=v[a+4>>2];c=v[i+44>>2];g=v[a+16>>2];l=v[a+20>>2];if(!(!c|g>>>0>=l>>>0)){v[i+44>>2]=0;d=t[i+36|0];t[i+36|0]=0;f=c-1|0;break b}c=0;break a}c=1}c:{while(1){if(!c){if(e>>>0>=k>>>0){break c}f=0;d=0;if(g>>>0>=l>>>0){break c}c=1;continue}d:{e:{if(d>>>0>3){break e}if(e>>>0>=k>>>0){break d}c=w[e|0];t[(d+i|0)+37|0]=c;f=c|f<<8;h=e+1|0;c=h;f:{j=d+1|0;g:{if((j|0)==4){break g}if(h>>>0>=k>>>0){d=j;e=h;break d}c=w[e+1|0];t[(i+j|0)+37|0]=c;f=c|f<<8;h=e+2|0;c=h;j=d+2|0;if((j|0)==4){break g}if(h>>>0>=k>>>0){d=j;e=h;break d}h=w[e+2|0];t[(i+j|0)+37|0]=h;c=e+3|0;f=h|f<<8;d=d+3|0;if((d|0)!=4){break f}}e=c;d=4;break e}if(c>>>0>=k>>>0){e=c;break d}c=w[e+3|0];t[(d+i|0)+37|0]=c;d=4;e=e+4|0;f=c|f<<8}h:{if(!((f&-2048)==55296|f>>>0>1114111)){if(f>>>0<=65535){u[g>>1]=f;g=g+2|0;break h}u[g>>1]=(f>>>10|0)-10304;h=f&1023|-9216;c=g+2|0;if(c>>>0>>0){u[g+2>>1]=h;g=g+4|0;break h}d=v[a+4>>2];t[d+65|0]=1;u[d+116>>1]=h;v[b>>2]=15;g=c;break c}t[v[a+4>>2]+36|0]=d;v[b>>2]=12;break c}c=0;continue}break}c=v[a+4>>2];t[c+36|0]=d;v[c+44>>2]=f+1}if(!(g>>>0>>0|e>>>0>=k>>>0|v[b>>2]>0)){v[b>>2]=15}v[a+8>>2]=e;v[a+16>>2]=g}function X$(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;i=Ma-16|0;Ma=i;l=v[a>>2];a=Mb(b,c);v[i+12>>2]=a;a:{if(a){break a}j=Ac(b,i+12|0);a=v[i+12>>2];if(a){break a}a=8;k=j<<16>>16;if((k|0)>4078){break a}j=0;if((k|0)<0){a=1;break a}while(1){n=Id(b,i+12|0);a=v[i+12>>2];if(a){break a}m=Ac(b,i+12|0);a=v[i+12>>2];if(a){break a}o=Ac(b,i+12|0);a=v[i+12>>2];if(a){break a}if((e|0)!=(n|0)){a=1;m=(j|0)==(k|0);j=j+1|0;if(m){break a}continue}break}v[h>>2]=(m<<16>>16)+1;a=8;if(m>>>0>2726){break a}a=Mb(b,(o<<16>>16)+c|0);v[i+12>>2]=a;if(a){break a}c=0;e=yb(l,8,0,v[h>>2],0,i+12|0);a=v[i+12>>2];if(a){break a}j=v[h>>2];b:{if((j|0)>=1){while(1){j=e+(c<<3)|0;p=j,q=Ac(b,i+12|0),u[p>>1]=q;if(v[i+12>>2]){break b}a=re(b,2);v[i+12>>2]=a;if(a){break b}a=Id(b,i+12|0);if(v[i+12>>2]){break b}k=re(b,4);v[i+12>>2]=k;if(k){break b}if((a|0)<=-1){v[i+12>>2]=8;break b}v[j+4>>2]=a&16777215;c=c+1|0;j=v[h>>2];if((c|0)<(j|0)){continue}break}}a=0;b=l;if(f){$l(e,j,8,1907);j=v[h>>2]}b=yb(b,4,0,j,0,i+12|0);if(v[i+12>>2]){break b}if(v[h>>2]>=1){while(1){v[b+(a<<2)>>2]=v[(e+(a<<3)|0)+4>>2]+d;a=a+1|0;if((a|0)>2]){continue}break}}v[g>>2]=b;v[i+12>>2]=0}if(e){Qa[v[l+8>>2]](l,e)}a=v[i+12>>2]}Ma=i+16|0;return a}function eBa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=v[a+24>>2];a:{b:{c:{d:{e:{c=v[a+8>>2];g=v[a+12>>2]-c|0;e=v[a+16>>2];f=v[a+20>>2]-e>>1;if((g|0)>(f|0)){v[b>>2]=15;g=f}f:{if((g|0)<8){b=0;break f}f=g>>>3|0;b=f;while(1){u[e>>1]=w[c|0];u[e+2>>1]=w[c+1|0];u[e+4>>1]=w[c+2|0];u[e+6>>1]=w[c+3|0];u[e+8>>1]=w[c+4|0];u[e+10>>1]=w[c+5|0];u[e+12>>1]=w[c+6|0];u[e+14>>1]=w[c+7|0];c=c+8|0;e=e+16|0;h=(b|0)>1;b=b-1|0;if(h){continue}break}g=g&7;b=0;if(!d){break e}while(1){v[d>>2]=b;v[d+28>>2]=b|7;v[d+24>>2]=b|6;v[d+20>>2]=b|5;v[d+16>>2]=b|4;v[d+12>>2]=b|3;v[d+8>>2]=b|2;v[d+4>>2]=b|1;d=d+32|0;b=b+8|0;h=(f|0)>1;f=f-1|0;if(h){continue}break}}if((g|0)>0){break d}v[a+16>>2]=e;v[a+8>>2]=c;if(d){break c}break b}if(!g){break a}d=0}f=g;while(1){u[e>>1]=w[c|0];e=e+2|0;c=c+1|0;h=(f|0)>1;f=f-1|0;if(h){continue}break}v[a+16>>2]=e;v[a+8>>2]=c;if(!d){break b}f=g-1|0;e=g&7;g:{if(!e){c=b;break g}c=b;while(1){v[d>>2]=c;d=d+4|0;c=c+1|0;e=e-1|0;if(e){continue}break}}if(f>>>0<7){break c}b=b+g|0;while(1){v[d>>2]=c;v[d+28>>2]=c+7;v[d+24>>2]=c+6;v[d+20>>2]=c+5;v[d+16>>2]=c+4;v[d+12>>2]=c+3;v[d+8>>2]=c+2;v[d+4>>2]=c+1;d=d+32|0;c=c+8|0;if((b|0)!=(c|0)){continue}break}}v[a+24>>2]=d}return}v[a+16>>2]=e;v[a+8>>2]=c}function Jo(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;f=Ma-592|0;Ma=f;h=0;a:{if(!a){break a}i=v[291037];h=0;if(!i){break a}while(1){b:{e=t[a+d|0];e=e-97>>>0<26?e&95:e;t[(f+80|0)+d|0]=e;if(!(e&255)){e=d;break b}e=99;d=d+1|0;if((d|0)!=99){continue}}break}t[(f+80|0)+e|0]=0;d=0;e=v[291038];h=0;if((e|0)<1){break a}while(1){if(!hb(v[((d<<3)+i|0)+4>>2],f+80|0)){h=v[(d<<3)+i>>2];break a}d=d+1|0;if((e|0)!=(d|0)){continue}break}h=0}e=h;e=e?e:a;c:{if(e){while(1){d:{a=t[e+g|0];a=a-97>>>0<26?a&95:a;t[(f+80|0)+g|0]=a;if(!(a&255)){d=g;break d}d=499;g=g+1|0;if((g|0)!=499){continue}}break}g=0;a=f+80|0;t[a+d|0]=0;a=Qa[v[256558]](a)|0;if(!a){v[f+16>>2]=347681;nb(0,0,0,0,0,27,2,3,347681,0,0,0,340689,f+16|0);break c}g=Qa[v[256552]](12)|0;if(!g){g=0;Qa[v[256556]](a);v[f+32>>2]=347681;nb(0,0,0,0,0,27,2,3,347681,0,0,0,340689,f+32|0);break c}v[g+8>>2]=c;v[g+4>>2]=b;v[g>>2]=a;e:{d=v[291039];if(d){break e}QH();d=v[291039];if(d){break e}v[f+48>>2]=0;nb(0,0,0,0,0,27,6001,3,0,0,0,0,347852,f+48|0);break c}a=v[291042];if((a|0)>=50){v[f+64>>2]=310014;nb(0,0,0,0,0,27,6002,3,310014,0,0,0,340364,f- -64|0);break c}v[291042]=a+1;v[(a<<2)+d>>2]=g;break c}v[f>>2]=0;nb(0,0,0,0,0,27,6e3,3,0,0,0,0,347948,f)}Ma=f+592|0;return g}function ow(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=v[a+532>>2];if(c){i=v[c+4>>2];e=v[c>>2];g=v[a+100>>2];b=g;d=v[c+24>>2];if(d){Qa[v[b+8>>2]](b,d)}v[c+24>>2]=0;if(e>>>0>=2){eb(c+28|0,0,(e<<2)-4|0)}b=g;d=v[c+216>>2];if(d){Qa[v[b+8>>2]](b,d)}v[c+216>>2]=0;d=v[c+148>>2];if(d){Qa[v[b+8>>2]](b,d)}v[c+148>>2]=0;d=v[c+288>>2];if(d){Qa[v[b+8>>2]](b,d)}v[c+288>>2]=0;a:{if(!e){break a}j=e&3;if(e-1>>>0>=3){l=e&-4;e=c+212|0;d=c+144|0;k=c+284|0;while(1){b=f<<2;v[b+e>>2]=0;v[b+d>>2]=0;v[b+k>>2]=0;h=b|4;v[h+e>>2]=0;v[d+h>>2]=0;v[h+k>>2]=0;h=b|8;v[h+e>>2]=0;v[d+h>>2]=0;v[h+k>>2]=0;b=b|12;v[b+e>>2]=0;v[b+d>>2]=0;v[b+k>>2]=0;f=f+4|0;l=l-4|0;if(l){continue}break}}if(!j){break a}while(1){b=(f<<2)+c|0;v[b+284>>2]=0;v[b+144>>2]=0;v[b+212>>2]=0;f=f+1|0;j=j-1|0;if(j){continue}break}}b=v[c+136>>2];if(b){Qa[v[g+8>>2]](g,b)}v[c+136>>2]=0;v[c+140>>2]=0;b:{if(!i){break b}f=0;while(1){b=(f<<2)+c|0;e=v[b+8>>2];if(e){Qa[v[g+8>>2]](g,e)}v[b+8>>2]=0;f=f+1|0;if((i|0)!=(f|0)){continue}break}if(!i){break b}f=0;while(1){b=B(f,12)+c|0;e=b;d=v[b+92>>2];if(d){Qa[v[g+8>>2]](g,d)}t[b+88|0]=0;v[e+92>>2]=0;f=f+1|0;if((i|0)!=(f|0)){continue}break}}b=v[a+532>>2];if(b){Qa[v[g+8>>2]](g,b)}v[a+532>>2]=0}}function axa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=v[a+420>>2];if(v[a+236>>2]){d=v[f+68>>2];if(!d){Fv(a,v[f+72>>2]);d=v[a+236>>2];v[f+68>>2]=d;v[f+72>>2]=v[f+72>>2]+1&7}v[f+68>>2]=d-1}h=v[b>>2];i=v[a+380>>2];d=v[v[a+292>>2]+24>>2];b=v[a+364>>2];g=b;e=b;a:{if((b|0)<1){break a}g=b;b:{c:{while(1){e=u[(v[(g<<2)+i>>2]<<1)+h>>1];d:{if((e|0)>=0){if(!(e>>v[a+372>>2])){break d}break c}if(0-e>>v[a+372>>2]){break c}}e=(g|0)>1;g=g-1|0;if(e){continue}break}g=0;break b}e=g;while(1){c=u[(v[(e<<2)+i>>2]<<1)+h>>1];e:{if((c|0)>=0){if(!(c>>v[a+368>>2])){break e}break a}if(0-c>>v[a+368>>2]){break a}}c=(e|0)>1;e=e-1|0;if(c){continue}break}}e=0}j=f+(d<<2)|0;c=v[a+360>>2];if((g|0)>=(c|0)){f=f+204|0;while(1){d=(v[j+140>>2]+B(c,3)|0)-3|0;if((c|0)>(e|0)){Hd(a,d,0)}b=c;f:{while(1){g:{h:{c=u[(v[(b<<2)+i>>2]<<1)+h>>1];if((c|0)>=0){c=c>>v[a+372>>2];if(!c){break h}if((c|0)==1){break g}Hd(a,d+2|0,c&1);break f}c=0-c>>v[a+372>>2];if(!c){break h}if((c|0)!=1){Hd(a,d+2|0,c&1);break f}Hd(a,d+1|0,1);Hd(a,f,1);break f}Hd(a,d+1|0,0);b=b+1|0;d=d+3|0;continue}break}Hd(a,d+1|0,1);Hd(a,f,0)}c=b+1|0;if((b|0)<(g|0)){continue}break}b=v[a+364>>2]}if((b|0)>=(c|0)){Hd(a,(v[j+140>>2]+B(c,3)|0)-3|0,1)}return 1}function SXa(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0;if(e){r=e-1|0;s=e-2|0;o=(e|0)==1;while(1){a=f;t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];t[g+3|0]=w[a+3|0];f=a+4|0;g=g+4|0;a:{if(!o&l>>>0>=r>>>0){break a}i=l?(l|0)==(s|0)?d:b:c;h=!l&o;if(h){if(i>>>0<2){break a}h=i-1|0;m=h&1;if((i|0)!=2){h=h&-2;while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];t[g+3|0]=w[a+3|0];t[g+4|0]=w[a|0];t[g+5|0]=w[a+1|0];t[g+6|0]=w[a+2|0];t[g+7|0]=w[a+3|0];g=g+8|0;h=h-2|0;if(h){continue}break}}if(!m){break a}t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];t[g+3|0]=w[a+3|0];g=g+4|0;break a}n=h?0:f;p=i<<1;j=i+1>>>1|0;if(i>>>0>=3){u=j>>>0>2?j:2;k=1;while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];m=g;q=w[n+3|0];h=w[a+3|0];if((q|0)!=(h|0)){h=h+((i+(B(q-h|0,k)<<1)|0)/(p|0)|0)|0}t[m+3|0]=h;g=g+4|0;k=k+1|0;if((u|0)!=(k|0)){continue}break}}if(i>>>0<=j>>>0){break a}while(1){t[g|0]=w[n|0];t[g+1|0]=w[n+1|0];t[g+2|0]=w[n+2|0];m=g;k=w[n+3|0];h=w[a+3|0];if((k|0)!=(h|0)){h=h+((i+(B(k-h|0,j)<<1)|0)/(p|0)|0)|0}t[m+3|0]=h;g=g+4|0;j=j+1|0;if((i|0)!=(j|0)){continue}break}}l=l+1|0;if((l|0)!=(e|0)){continue}break}}return 0}function c2(a,b){var 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;v[b+4>>2]=2147483632;v[b+28>>2]=v[b+20>>2];f=v[a+120>>2];a:{while(1){j=f;l=v[a+60>>2];if(l>>>0<=f>>>0){break a}m=v[v[a+72>>2]+(j>>>6&67108860)>>2];n=j&255;c=m+B(n,12)|0;f=v[c+8>>2];k=v[c+4>>2];while(1){e=v[v[a+52>>2]+(f>>>8&16777212)>>2]+B(f&1023,12)|0;c=v[e+8>>2];b:{if((c|0)>=0){g=0;if(c>>>0>=y[a>>2]){break b}g=v[v[a+12>>2]+(c>>>10&4194300)>>2]+(c&4095)|0;break b}c=c^-1;g=0;if(c>>>0>=y[a+20>>2]){break b}g=v[(v[v[a+32>>2]+(c>>>4&268435452)>>2]+((c&63)<<3)|0)+4>>2]}c=g;d=v[e>>2];f=f+1|0;g=b;h=v[e+4>>2];c:{if((h|0)<=-1){d=d-v[b>>2]|0;i=0-h|0;eb(d+v[b+12>>2]|0,w[c|0],i);c=v[b+28>>2];d:{if((d|0)==(v[b+4>>2]+1|0)){u[c+2>>1]=i+x[c+2>>1];break d}e=c+8|0;v[b+28>>2]=e;o=v[b>>2];u[c+10>>1]=i;u[c+8>>1]=d+o;v[c+12>>2]=d+v[b+12>>2];c=e}e=d+(h^-1)|0;break c}d=d-v[b>>2]|0;cb(d+v[b+12>>2]|0,c,h);c=v[b+28>>2];e:{if((d|0)==(v[b+4>>2]+1|0)){u[c+2>>1]=h+x[c+2>>1];break e}e=c+8|0;v[b+28>>2]=e;i=v[b>>2];u[c+10>>1]=h;u[c+8>>1]=d+i;v[c+12>>2]=d+v[b+12>>2];c=e}e=(d+h|0)-1|0}v[g+4>>2]=e;k=k-1|0;if(k){continue}break}f=v[a+120>>2]+1|0;v[a+120>>2]=f;if(v[b+20>>2]==(c|0)){continue}break}v[b+8>>2]=v[B(n,12)+m>>2]}return j>>>0>>0}function Q_a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=v[v[a+2248>>2]+88>>2];d=v[b+1168>>2];c=(v[b+1176>>2]+B(d,v[a+572>>2])|0)+B(d,v[a+2268>>2])|0;b=v[b+1164>>2];b=(c+B(b,v[a+580>>2])|0)+B(b,v[a+2264>>2])|0;d=v[a+636>>2]+v[a+616>>2]|0;c=v[a+588>>2];a:{b:{if(w[a+2253|0]!=4){if((c|0)<=0){break a}while(1){c=w[b|0]|w[b+1|0]<<8;e=(c<<8|c>>>8)&65535;c=w[d|0]|w[d+1|0]<<8;c=e+((c<<8|c>>>8)&65535)&65535;c=c<<8|c>>>8;t[b|0]=c;t[b+1|0]=c>>>8;c=b+2|0;e=w[c|0]|w[c+1|0]<<8;g=(e<<8|e>>>8)&65535;e=w[d+2|0]|w[d+3|0]<<8;e=g+((e<<8|e>>>8)&65535)&65535;e=e<<8|e>>>8;t[c|0]=e;t[c+1|0]=e>>>8;d=d+4|0;b=(v[a+584>>2]<<2)+b|0;c=v[a+588>>2];f=f+1|0;if((c|0)>(f|0)){continue}break}break b}if((c|0)<1){break a}while(1){t[b|0]=w[d|0];t[b+1|0]=w[d+1|0];t[b+2|0]=w[d+2|0];t[b+3|0]=w[d+3|0];d=d+4|0;b=(v[a+584>>2]<<2)+b|0;c=v[a+588>>2];f=f+1|0;if((c|0)>(f|0)){continue}break}}if((c|0)<1){break a}b=v[a+540>>2];b=(v[b+1176>>2]+B(v[a+572>>2],v[b+1168>>2])|0)+B(v[a+580>>2],v[b+1164>>2])|0;d=v[a+636>>2]+v[a+616>>2]|0;c=0;while(1){f=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);t[b|0]=f;t[b+1|0]=f>>>8;t[b+2|0]=f>>>16;t[b+3|0]=f>>>24;d=d+4|0;b=(v[a+584>>2]<<2)+b|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function GU(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=v[a+4>>2];if(v[a+8>>2]>=((i|0)/2|0)){d=i<<1|1;v[a+4>>2]=d;j=v[a>>2];d=Pb(d,8);v[a>>2]=d;e=v[a+4>>2];a:{if((e|0)<1){break a}g=e&7;if(e-1>>>0>=7){h=e&-8;while(1){e=f<<3;v[e+d>>2]=0;v[d+(e|8)>>2]=0;v[d+(e|16)>>2]=0;v[d+(e|24)>>2]=0;v[d+(e|32)>>2]=0;v[d+(e|40)>>2]=0;v[d+(e|48)>>2]=0;v[d+(e|56)>>2]=0;f=f+8|0;h=h-8|0;if(h){continue}break}}if(!g){break a}while(1){v[d+(f<<3)>>2]=0;f=f+1|0;g=g-1|0;if(g){continue}break}}g=0;if((i|0)>0){while(1){h=(g<<3)+j|0;e=v[h>>2];if(e){f=0;d=w[e|0];if(d){while(1){f=B(f,17)+(d&255)|0;d=w[e+1|0];e=e+1|0;if(d){continue}break}}k=v[a>>2];d=f;f=v[a+4>>2];e=(d>>>0)%(f>>>0)|0;d=k+(e<<3)|0;if(v[d>>2]){while(1){d=e+1|0;e=(d|0)==(f|0)?0:d;d=(e<<3)+k|0;if(v[d>>2]){continue}break}}e=v[h+4>>2];v[d>>2]=v[h>>2];v[d+4>>2]=e}g=g+1|0;if((i|0)!=(g|0)){continue}break}}tb(j)}f=0;e=w[b|0];if(e){d=b;while(1){f=B(f,17)+(e&255)|0;e=w[d+1|0];d=d+1|0;if(e){continue}break}}g=v[a>>2];d=f;f=v[a+4>>2];e=(d>>>0)%(f>>>0)|0;d=v[g+(e<<3)>>2];b:{if(d){while(1){if(!hb(d,b)){break b}d=e+1|0;e=(d|0)==(f|0)?0:d;d=v[(e<<3)+g>>2];if(d){continue}break}}b=qc(b);g=v[a>>2];v[g+(e<<3)>>2]=b}v[((e<<3)+g|0)+4>>2]=c;v[a+8>>2]=v[a+8>>2]+1}function A8(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=v[a+584>>2];a:{b:{c:{d:{e:{switch(b-512|0){case 2:v[d+200>>2]=v[c>>2];break a;case 18:t[d+207|0]=1;e=v[c>>2];t[d+208|0]=e;c=v[c+4>>2];t[d+209|0]=c;u[a+206>>1]=c&255;u[a+204>>1]=e&255;break a;case 7:e=v[c>>2];if(!e){break a}if(e>>>0<4){break b}wb(v[a+628>>2],87428,55913,0);return 0;case 8:e=v[c>>2];if(!e){break a}if(e>>>0<4){break c}wb(v[a+628>>2],87428,56226,0);return 0;case 9:e=v[c>>2];if(!e){break a}if(e>>>0<4){break d}wb(v[a+628>>2],87428,56577,0);return 0;case 0:t[d+204|0]=v[c>>2];break a;case 3:u[d+300>>1]=v[c>>2];break a;default:return Qa[v[d+164>>2]](a,b,c)|0;case 1:break e}}v[d+196>>2]=v[c>>2];break a}t[d+213|0]=e;c=v[c+4>>2];v[d+240>>2]=v[c>>2];if((e|0)==1){break a}v[d+244>>2]=v[c+4>>2];if((e|0)==2){break a}v[d+248>>2]=v[c+8>>2];break a}t[d+212|0]=e;c=v[c+4>>2];v[d+228>>2]=v[c>>2];if((e|0)==1){break a}v[d+232>>2]=v[c+4>>2];if((e|0)==2){break a}v[d+236>>2]=v[c+8>>2];break a}t[d+211|0]=e;c=v[c+4>>2];v[d+216>>2]=v[c>>2];if((e|0)==1){break a}v[d+220>>2]=v[c+4>>2];if((e|0)==2){break a}v[d+224>>2]=v[c+8>>2]}c=x[Pe(a,b)+12>>1];b=(x[Pe(a,b)+12>>1]>>>3&8188)+a|0;v[b+40>>2]=v[b+40>>2]|1<>2]=v[a+12>>2]|8;return 1}function pp(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;f=v[b+336>>2];a:{b:{c:{d:{e:{f:{g:{h=v[b+4>>2];h:{if(!(!h|(c|0)<0|((d|0)<0|v[b+16>>2]<=(c|0)))){if(v[b+20>>2]>(d|0)){break h}}if((f|0)>-1){break g}if(!h){break a}e=1;c=0;d=0}j=v[b+44>>2];if(!j){break d}f=x[b+26>>1];if((f|0)!=8){break f}i=w[v[b+56>>2]+(B(v[b+52>>2],d)+c|0)|0];break e}if(x[b+26>>1]<=23){t[a|0]=0;t[a+1|0]=0;t[a+2|0]=0;t[a+3|0]=0;if(!h){break b}b=v[b+44>>2];if(!b){break b}c=b;b=f&255;if(c>>>0<=b>>>0){break b}b=(h+40|0)+(b<<2)|0;t[a|0]=w[b|0];t[a+1|0]=w[b+1|0];t[a+2|0]=w[b+2|0];t[a+3|0]=w[b+3|0];return}break a}g=w[v[b+56>>2]+(B(v[b+52>>2],d)+(B(c,f)>>3)|0)|0];i:{switch(f-1|0){case 3:f=B(c&1,252)+4&252;i=(15<>>f|0;break e;case 0:break i;default:break e}}f=(c^-1)&7;i=(1<>>f|0}if(!h){g=0;f=0;break c}g=0;i=i&255;f=0;if(i>>>0>=j>>>0){break c}f=(h+40|0)+(i<<2)|0;k=w[f|0];l=w[f+2|0];g=w[f+1|0];f=w[f+3|0];break c}f=(v[b+56>>2]+B(v[b+52>>2],d)|0)+B(c,3)|0;g=w[f+1|0];k=w[f|0];l=w[f+2|0];f=w[b+343|0]}t[a+3|0]=!v[b+964>>2]|e^1?f:w[v[b+964>>2]+(B(v[b+16>>2],d)+c|0)|0];t[a+2|0]=l;t[a+1|0]=g;t[a|0]=k}return}b=v[b+340>>2];t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24}function jn(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=Ma-16|0;Ma=e;a:{if((b|0)<0|v[a+32>>2]<=(b|0)){break a}v[e+12>>2]=1;f=v[a+28>>2];g=f+B(b,20)|0;d=v[g+8>>2];b:{c:{switch(v[g+16>>2]){case 0:if((c|0)<0|(v[(f+B(b,20)|0)+12>>2]-6|0)<=(c|0)){break a}b=Je(a,(c+d|0)+6|0,e+12|0);break b;case 2:if(c>>>0>255){break a}if(pe(a,d+6|0,e+12|0)){break a}if(pe(a,d+518|0,e+12|0)){break a}if((pe(a,d+520|0,e+12|0)|0)!=256){break a}if(pe(a,d+522|0,e+12|0)){break a}b=d+524|0;j=a;a=e+12|0;b=pe(j,(b+(c<<1)|0)+pe(j,b,a)|0,a);break b;case 4:g=-1;i=e+12|0;k=pe(a,d+6|0,i);h=(k|0)/2|0;f=h-1|0;b=f<<1;l=d+14|0;if((pe(a,b+l|0,i)|0)<(c|0)){break a}j=a;if(!(!v[e+12>>2]|(k|0)<4)){while(1){b=(f+g|0)/2|0;i=(pe(a,(b<<1)+l|0,e+12|0)|0)<(c|0);f=i?f:b;g=i?b:g;if(v[e+12>>2]?(f-g|0)>=2:0){continue}break}b=f<<1}b=(b+d|0)+16|0;d=e+12|0;f=pe(j,b+(h<<1)|0,d);g=pe(a,b+(h<<2)|0,d);h=b+B(h,6)|0;d=pe(a,h,d);if((c|0)<(f|0)){break a}b=c+g&65535;if(!d){break b}a=pe(a,(d+h|0)+(c-f<<1)|0,e+12|0);b=0;if(!a){break b}b=a+g&65535;break b;case 6:break c;default:break a}}f=e+12|0;b=pe(a,d+6|0,f);if((b|0)>(c|0)|(pe(a,d+8|0,f)+b|0)<=(c|0)){break a}b=pe(a,(d+(c-b<<1)|0)+10|0,e+12|0)}m=v[e+12>>2]?b:0}Ma=e+16|0;return m}function ok(a,b){var c=0,d=0,e=0;a:{if((b|0)>=0){c=-1;d=v[a+8>>2];b:{if(d&7){break b}c=v[a+64>>2];if((c|0)>-1&(c|0)<=v[a+60>>2]){break a}v[a+4>>2]=v[a+4>>2]|32;c=v[a+28>>2];v[a+28>>2]=c-1;c:{if((c|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;t[c|0]=b;break c}c=-1;if((Cb(a,b&255)|0)==-1){break b}}c=-1;d=v[a+8>>2];if(d&7){break b}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break a}d=b>>>8|0;v[a+4>>2]=v[a+4>>2]|32;c=-1;e=v[a+28>>2];v[a+28>>2]=e-1;d:{if((e|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;t[c|0]=d;break d}if((Cb(a,d&255)|0)==-1){break b}}c=-1;d=v[a+8>>2];if(d&7){break b}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break a}d=b>>>16|0;v[a+4>>2]=v[a+4>>2]|32;c=-1;e=v[a+28>>2];v[a+28>>2]=e-1;e:{if((e|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;t[c|0]=d;break e}if((Cb(a,d&255)|0)==-1){break b}}c=-1;d=v[a+8>>2];if(d&7){break b}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break a}b=b>>>24|0;v[a+4>>2]=v[a+4>>2]|32;c=-1;d=v[a+28>>2];v[a+28>>2]=d-1;f:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=a;a=v[a+24>>2];v[c+24>>2]=a+1;t[a|0]=b;break f}if((Cb(a,b)|0)==-1){break b}}c=0}return c}O(23591,20990,383,188572);L()}v[a+8>>2]=d|4;return-1}function kI(a,b,c,d,e,f,g,h){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;a:{if(!a|v[a+8>>2]<1){break a}j=v[a+4>>2];if(!b){h=1;if((d|0)>1){break a}f=(d|0)==1?0:(f|0)<1?f:1}t=a+j|0;a=0;b:{while(1){q=(a<<2)+t|0;l=v[q>>2];j=l&16777215;if(j){a=m+n|0;i=!b^(a|0)!=1|(b|0)<0;o=i?a:o;r=i?j:r}c:{d:{e:{f:{if((d|0)>(m|0)){i=c+m|0;m=m+1|0;break f}if((f|0)<=(n|0)){break e}i=e+n|0;n=n+1|0}p=w[i|0];k=q+4|0;j=v[k>>2]>>>24|0;if(p>>>0>>0){break b}i=l>>>24|0;a=w[((i<<2)+k|0)-1|0];if(a>>>0

>>0){break b}if(((a-j|0)+1|0)!=(i|0)){break d}a=v[(p-j<<2)+k>>2];break c}if(h){break b}a=m+n|0;if((a|0)>31){break b}return 0-a|0}a=0;g:{if(l>>>0<33554432){j=i;break g}s=p<<24;q=s|16777215;j=i;while(1){if((i|0)<=4){if(y[(a<<2)+k>>2]>=s>>>0){break g}i=a+1|0;if(!((i|0)>=(j|0)|y[(i<<2)+k>>2]>>0)){a=i;break g}i=a+2|0;if(!((i|0)>=(j|0)|y[(i<<2)+k>>2]>>0)){a=i;break g}a=a+3|0;break g}l=(a+j|0)/2|0;i=q>>>0>2];j=i?l:j;a=i?a:l;i=j-a|0;if((i|0)>1){continue}break}}if((a|0)>=(j|0)){break b}a=v[(a<<2)+k>>2];if((a>>>24|0)!=(p|0)){break b}}a=a&16777215;if(!a){break b}if(a>>>0<2031616){continue}break}c=m+n|0;b=!b^(c|0)!=1|(b|0)<0;o=b?c:o;r=b?a:r}if(!o){return 0}v[g>>2]=r&-8388609}return o}function Cfa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=v[a+12>>2];if(d){f=v[d+20>>2];if((f|0)>=1){g=v[d>>2];while(1){c=0;while(1){d=(g+(b<<4)|0)+(c>>>2&1073741820)|0;h=v[d>>2];if(h){e=v[h+((c&14)<<2)>>2]}else{e=j}e=((e|0)!=0)+i|0;d=v[d>>2];if(d){d=v[(d+((c&14)<<2)|0)+4>>2]}else{d=0}i=e+((d|0)!=0)|0;c=c+2|0;if((c|0)!=64){continue}break}b=b+1|0;if((f|0)!=(b|0)){continue}break}}d=f<<6}else{d=0}c=v[a+16>>2];if(c){f=0;g=v[c+20>>2];a:{if((g|0)>=1){h=v[c>>2];b=0;while(1){c=0;while(1){k=b;b=(h+(f<<4)|0)+(c>>>2&1073741820)|0;e=v[b>>2];if(e){e=v[((c&14)<<2)+e>>2]}else{e=j}e=k+((e|0)!=0)|0;b=v[b>>2];if(b){b=v[(b+((c&14)<<2)|0)+4>>2]}else{b=0}b=e+((b|0)!=0)|0;c=c+2|0;if((c|0)!=64){continue}break}f=f+1|0;if((g|0)!=(f|0)){continue}break}break a}b=0}i=b+i|0;d=(g<<6)+d|0}a=v[a+20>>2];if(a){f=0;g=v[a+20>>2];b:{if((g|0)<1){b=0;break b}h=v[a>>2];b=0;while(1){c=0;while(1){e=b;a=(h+(f<<4)|0)+(c>>>2&1073741820)|0;b=v[a>>2];if(b){b=v[b+((c&14)<<2)>>2]}else{b=j}b=e+((b|0)!=0)|0;a=v[a>>2];if(a){a=v[(a+((c&14)<<2)|0)+4>>2]}else{a=0}b=b+((a|0)!=0)|0;c=c+2|0;if((c|0)!=64){continue}break}f=f+1|0;if((g|0)!=(f|0)){continue}break}}d=(g<<6)+d|0;i=b+i|0}return(B(i,100)|0)/((d?d:1)|0)|0}function ir(a,b){var c=0,d=0,e=0,f=0,g=0;d=gb(40);if(!d){return 0}v[d>>2]=0;v[d+4>>2]=0;v[d+32>>2]=0;v[d+24>>2]=0;v[d+16>>2]=0;v[d+28>>2]=16384;t[d+36|0]=1;v[d+20>>2]=a;v[d+8>>2]=0;v[d+12>>2]=0;c=gb(a<<2);v[d+24>>2]=c;a:{if(!c){break a}e=v[d+20>>2];b:{if((e|0)<1){break b}v[c>>2]=0;c=1;if((e|0)==1){break b}g=e-1|0;f=g&3;if(e-2>>>0>=3){g=g&-4;while(1){e=c<<2;v[e+v[d+24>>2]>>2]=0;v[(e+v[d+24>>2]|0)+4>>2]=0;v[(e+v[d+24>>2]|0)+8>>2]=0;v[(e+v[d+24>>2]|0)+12>>2]=0;c=c+4|0;g=g-4|0;if(g){continue}break}}if(!f){break b}while(1){v[v[d+24>>2]+(c<<2)>>2]=0;c=c+1|0;f=f-1|0;if(f){continue}break}}c:{if((a|0)<1){break c}g=a&1;d:{if((a|0)==1){e=0;c=b;break d}f=a&-2;e=0;c=b;while(1){e=(((B(v[c+24>>2]+7|0,B(v[c+20>>2],v[c+16>>2]))|0)/8|0)+e|0)+((B(v[c+56>>2]+7|0,B(v[c+52>>2],v[c+48>>2]))|0)/8|0)|0;c=c- -64|0;f=f-2|0;if(f){continue}break}}e=g?((B(v[c+24>>2]+7|0,B(v[c+20>>2],v[c+16>>2]))|0)/8|0)+e|0:e;if((a|0)<1){break c}f=e>>>0<536870912;e=0;while(1){c=vM(v[b>>2],v[b+4>>2],v[b+8>>2],v[b+12>>2],v[b+16>>2],v[b+20>>2],v[b+24>>2],v[b+28>>2]!=0,f);v[v[d+24>>2]+(e<<2)>>2]=c;if(!c){break a}v[d+16>>2]=v[d+16>>2]+1;b=b+32|0;e=e+1|0;if((e|0)!=(a|0)){continue}break}}Wt(d);return d}Og(d);return 0}function jaa(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;if(qj(a,v[b+8>>2],e)){if(!(v[b+28>>2]==1|v[b+4>>2]!=(c|0))){v[b+28>>2]=d}return}a:{if(qj(a,v[b>>2],e)){if(!(v[b+16>>2]!=(c|0)&v[b+20>>2]!=(c|0))){if((d|0)!=1){break a}v[b+32>>2]=1;return}v[b+32>>2]=d;if(v[b+44>>2]!=4){f=a+16|0;i=f+(v[a+12>>2]<<3)|0;j=b;b:{c:{while(1){d:{if(f>>>0>=i>>>0){break d}u[b+52>>1]=0;_C(f,b,c,c,1,e);if(w[b+54|0]){break d}e:{if(!w[b+53|0]){break e}if(w[b+52|0]){d=1;if(v[b+24>>2]==1){break c}h=1;g=1;if(w[a+8|0]&2){break e}break c}h=1;d=g;if(!(t[a+8|0]&1)){break c}}f=f+8|0;continue}break}d=g;a=4;if(!h){break b}}a=3}v[j+44>>2]=a;if(d&1){break a}}v[b+20>>2]=c;v[b+40>>2]=v[b+40>>2]+1;if(v[b+36>>2]!=1|v[b+24>>2]!=2){break a}t[b+54|0]=1;return}g=v[a+12>>2];f=a+16|0;px(f,b,c,d,e);if((g|0)<2){break a}g=f+(g<<3)|0;f=a+24|0;a=v[a+8>>2];if(!(!(a&2)&v[b+36>>2]!=1)){while(1){if(w[b+54|0]){break a}px(f,b,c,d,e);f=f+8|0;if(g>>>0>f>>>0){continue}break}break a}if(!(a&1)){while(1){if(w[b+54|0]|v[b+36>>2]==1){break a}px(f,b,c,d,e);f=f+8|0;if(g>>>0>f>>>0){continue}break a}}while(1){if(w[b+54|0]|v[b+36>>2]==1&v[b+24>>2]==1){break a}px(f,b,c,d,e);f=f+8|0;if(g>>>0>f>>>0){continue}break}}}function qga(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=Ma-48|0;Ma=d;v[a>>2]=0;f=v[b+12>>2];a:{if(w[f|0]){g=zb(f);h=pc(d+16|0,d+28|0,B(g,12)+12|0,1);e=v[d+28>>2];b=v[b+12>>2];v[d+32>>2]=b;f=f+g|0;b:{if(f>>>0<=b>>>0){break b}if((c|0)==1){while(1){if(!w[b|0]){break b}c=Op(d+32|0,f);b=Ip(e,c);c:{d:{if((b|0)>=0){e=b+e|0;t[e|0]=0;if(!b){break d}break c}t[e|0]=0}v[d>>2]=c;Dc(e,313441,d);e=zb(e)+e|0}b=v[d+32>>2];if(f>>>0>b>>>0){continue}break b}}while(1){if(!w[b|0]){break b}b=Ip(e,Op(d+32|0,f));if((b|0)<=-1){t[e|0]=0;e=v[d+28>>2];break b}e=b+e|0;t[e|0]=0;if(!b){e=v[d+28>>2];break b}b=v[d+32>>2];if(f>>>0>b>>>0){continue}break}}t[e|0]=0;b=v[d+28>>2];v[d+40>>2]=0;v[d+44>>2]=0;v[d+36>>2]=0;v[d+32>>2]=978512;aj(d+8|0,d+32|0,b);v[d+32>>2]=978608;b=v[d+44>>2];if(b){t[b|0]=0;$a(v[d+44>>2])}v[d+44>>2]=0;bc(d+32|0);jb(a,d+8|0);a=v[d+8>>2];v[d+8>>2]=0;e:{if(!a){break e}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break e}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}ec(h);break a}v[d+32>>2]=0;jb(a,d+32|0);a=v[d+32>>2];v[d+32>>2]=0;if(!a){break a}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break a}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=d+48|0}function cw(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0;h=-6;a:{if(!g|w[g|0]!=49){break a}h=-2;if(!a){break a}v[a+24>>2]=0;g=v[a+32>>2];if(!g){v[a+40>>2]=0;v[a+32>>2]=2632;g=2632}if(!v[a+36>>2]){v[a+36>>2]=2633}b:{if((d|0)<=-1){d=0-d|0}else{if((d|0)<16){j=1;k=0;break b}j=2;d=d-16|0}k=1}if((c|0)!=8|e-1>>>0>8|((d|0)<8|(d|0)>15)){break a}i=(b|0)==-1?6:b;if((i|0)<0|(i|0)>9|((f|0)<0|(f|0)>4)){break a}c=(d|0)==8;if(c&k){break a}h=-4;b=Qa[g|0](v[a+40>>2],1,5828)|0;if(!b){break a}v[a+28>>2]=b;c=c?9:d;v[b+48>>2]=c;v[b+28>>2]=0;v[b+24>>2]=j;v[b+4>>2]=42;v[b>>2]=a;d=e+7|0;v[b+80>>2]=d;c=1<>2]=c;v[b+52>>2]=c-1;d=1<>2]=d;v[b+88>>2]=((e+9&255)>>>0)/3;v[b+84>>2]=d-1;l=b,m=Qa[v[a+32>>2]](v[a+40>>2],c,2)|0,v[l+56>>2]=m;l=b,m=Qa[v[a+32>>2]](v[a+40>>2],v[b+44>>2],2)|0,v[l+64>>2]=m;c=Qa[v[a+32>>2]](v[a+40>>2],v[b+76>>2],2)|0;v[b+5824>>2]=0;v[b+68>>2]=c;c=1<>2]=c;c=Qa[v[a+32>>2]](v[a+40>>2],c,4)|0;v[b+8>>2]=c;d=v[b+5788>>2];v[b+12>>2]=d<<2;c:{if(!(!v[b+68>>2]|(!v[b+56>>2]|!v[b+64>>2]))){if(c){break c}}v[b+4>>2]=666;v[a+24>>2]=v[217298];nn(a);return-4}v[b+136>>2]=f;v[b+132>>2]=i;t[b+36|0]=8;v[b+5784>>2]=c+B(d,3);v[b+5796>>2]=c+(d&-2);h=$H(a)}return h}function Zy(a,b,c,d,e){var f=0;if(v[b+60>>2]){c=v[b+16>>2];v[a+12>>2]=v[b+12>>2];v[a+16>>2]=c;c=v[b+48>>2];v[a+44>>2]=v[b+44>>2];v[a+48>>2]=c;c=v[b+40>>2];v[a+36>>2]=v[b+36>>2];v[a+40>>2]=c;c=v[b+32>>2];v[a+28>>2]=v[b+28>>2];v[a+32>>2]=c;c=v[b+24>>2];v[a+20>>2]=v[b+20>>2];v[a+24>>2]=c;cb(a+52|0,b+52|0,908);v[a+4>>2]=v[b+4>>2];v[a+8>>2]=v[b+8>>2];v[a+960>>2]=v[b+960>>2];v[a+964>>2]=v[b+964>>2];v[a+968>>2]=v[b+968>>2];c=v[b+972>>2];v[a+60>>2]=b;v[a+972>>2]=c;return}cb(a+52|0,b+52|0,908);f=v[b+48>>2];v[a+44>>2]=v[b+44>>2];v[a+48>>2]=f;f=v[b+40>>2];v[a+36>>2]=v[b+36>>2];v[a+40>>2]=f;f=v[b+32>>2];v[a+28>>2]=v[b+28>>2];v[a+32>>2]=f;f=v[b+24>>2];v[a+20>>2]=v[b+20>>2];v[a+24>>2]=f;f=v[b+16>>2];v[a+12>>2]=v[b+12>>2];v[a+16>>2]=f;Cf(a,v[b+16>>2],v[b+20>>2],x[b+26>>1],v[b+68>>2]);a:{b:{if(!c){break b}c=v[a+4>>2];if(!c){break b}f=v[b+4>>2];if(!f){break b}cb(c,f,(v[a+32>>2]+v[a+12>>2]|0)+(v[a+44>>2]<<2)|0);break a}c=v[b+4>>2];On(a,c?v[b+44>>2]?c+40|0:0:0,256)}c=B(v[a+20>>2],v[a+16>>2]);if(!(!d|!v[b+960>>2])){d=v[a+960>>2];if(d){$a(d)}d=gb(c);v[a+960>>2]=d;cb(d,v[b+960>>2],c)}if(!(!e|!v[b+964>>2])){d=v[a+964>>2];if(d){$a(d)}d=a;a=gb(c);v[d+964>>2]=a;cb(a,v[b+964>>2],c)}}function zl(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,p=0,q=0;f=Ma-16|0;Ma=f;h=v[a+100>>2];v[f+12>>2]=0;m=x[a+340>>1];a:{if(!m){break a}g=-1;i=-1;k=-1;l=-1;j=v[a+356>>2];e=j;while(1){b:{if(!x[e+8>>1]|x[e+6>>1]!=(b|0)){break b}c:{switch(x[e>>1]){case 0:case 2:g=d;break b;case 1:if(!x[e+4>>1]){k=d;break b}l=x[e+2>>1]?l:d;break b;case 3:break c;default:break b}}if((i|0)!=-1&(x[e+4>>1]&1023)!=9){break b}n=x[e+2>>1];if(n>>>0>10|!(1<>1]&1023)==9;i=d}e=e+20|0;d=d+1|0;if((m|0)!=(d|0)){continue}break}d=(k|0)>-1?k:l;d:{e:{f:{if((i|0)>=0){if((d|0)>=0){b=2402;if(!o){break f}}e=0;d=B(i,20)+j|0;g=x[d+2>>1];if(g>>>0>10){break a}b=2403;if(1<-1){break f}e=0;b=2403;d=g;if((d|0)<0){break a}}if(!j){break d}d=B(d,20)+j|0}g:{if(v[d+16>>2]){break g}a=v[a+368>>2];e=0;p=d,q=yb(h,1,0,x[d+8>>1],0,f+12|0),v[p+16>>2]=q;h:{if(v[f+12>>2]){break h}g=Mb(a,v[d+12>>2]);v[f+12>>2]=g;if(g){break h}a=_e(a,v[d+16>>2],x[d+8>>1]);v[f+12>>2]=a;if(!a){break g}}a=v[d+16>>2];if(a){Qa[v[h+8>>2]](h,a)}u[d+8>>1]=0;v[d+16>>2]=0;break a}e=Qa[b|0](d,h)|0;break a}e=0}v[c>>2]=e;Ma=f+16|0;return v[f+12>>2]}function U6(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;a:{d=v[v[a+584>>2]+4>>2];a=(c|0)/4|0;if((d|0)>=(a|0)){break a}f=a-d|0;a=((f<<2)+b|0)-4|0;if((d|0)<5){b=d<<2;while(1){b:{switch(d|0){default:c=a+b|0;v[c>>2]=v[c>>2]-v[a>>2];a=a-4|0;case 3:c=a+b|0;v[c>>2]=v[c>>2]-v[a>>2];a=a-4|0;case 2:c=a+b|0;v[c>>2]=v[c>>2]-v[a>>2];a=a-4|0;case 1:c=a+b|0;v[c>>2]=v[c>>2]-v[a>>2];a=a-4|0;break;case 0:break b}}f=f-d|0;if((f|0)>0){continue}break}break a}h=d-4|0;i=d&3;j=d-5>>>0>2;while(1){c:{d:{e:{f:{g:{h:{switch(d|0){case 0:break c;case 1:break d;case 2:break e;case 3:break f;case 4:break g;default:break h}}c=h;b=i;if(b){while(1){e=(d<<2)+a|0;v[e>>2]=v[e>>2]-v[a>>2];c=c-1|0;a=a-4|0;b=b-1|0;if(b){continue}break}}if(!j){break g}while(1){b=d<<2;e=b+a|0;v[e>>2]=v[e>>2]-v[a>>2];e=a-4|0;g=e+b|0;v[g>>2]=v[g>>2]-v[e>>2];e=a-8|0;g=e+b|0;v[g>>2]=v[g>>2]-v[e>>2];e=b;b=a-12|0;e=e+b|0;v[e>>2]=v[e>>2]-v[b>>2];a=a-16|0;b=(c|0)>4;c=c-4|0;if(b){continue}break}}b=(d<<2)+a|0;v[b>>2]=v[b>>2]-v[a>>2];a=a-4|0}b=(d<<2)+a|0;v[b>>2]=v[b>>2]-v[a>>2];a=a-4|0}b=(d<<2)+a|0;v[b>>2]=v[b>>2]-v[a>>2];a=a-4|0}b=(d<<2)+a|0;v[b>>2]=v[b>>2]-v[a>>2];a=a-4|0}f=f-d|0;if((f|0)>0){continue}break}}}function OCa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=a+8208|0;if(d>>>0>y[b+160>>2]){$c(b,8)}c=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!(c>>>0<=v[b+160>>2]-a>>>0&c>>>0>8207)){$c(b,8)}c=w[a+8204|0]|w[a+8205|0]<<8|(w[a+8206|0]<<16|w[a+8207|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);a:{b:{if(g>>>0>(v[b+160>>2]-d>>>0)/12>>>0){$c(b,8);break b}if(!g){break a}}h=a+12|0;c=0;while(1){e=c;f=w[d+8|0]|w[d+9|0]<<8|(w[d+10|0]<<16|w[d+11|0]<<24);j=w[d+1|0]<<16|w[d|0]<<24;a=w[d+3|0]|(j|w[d+2|0]<<8);k=w[d+5|0]<<16|w[d+4|0]<<24;c=w[d+7|0]|(k|w[d+6|0]<<8);if(a>>>0>c>>>0){$c(b,8)}if(!(!i|a>>>0>e>>>0)){$c(b,8)}c:{if(!v[b+164>>2]){break c}l=v[b+172>>2];e=c-a|0;if(!(l>>>0>=e>>>0&l-e>>>0>(f<<8&16711680|f<<24|(f>>>8&65280|f>>>24))>>>0)){$c(b,16)}e=e+1|0;if(j){if(!e){break c}while(1){if(!(w[(a>>>19|0)+h|0]<<(a>>>16&7)&128)){$c(b,8)}if(!(w[(a>>>3&8191)+h|0]<<(a&7)&128)){$c(b,8)}a=a+1|0;e=e-1|0;if(e){continue}break}break c}if(k){$c(b,8)}if(!e){break c}while(1){if(w[(a>>>3&8191)+h|0]<<(a&7)&128){$c(b,8)}a=a+1|0;e=e-1|0;if(e){continue}break}}d=d+12|0;i=i+1|0;if((g|0)!=(i|0)){continue}break}}return 0}function KFa(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;e=Ma-464|0;Ma=e;f=b+8|0;g=v[f+4>>2];v[e+16>>2]=v[f>>2];v[e+20>>2]=g;v[e+40>>2]=v[b+32>>2];f=v[b+28>>2];v[e+32>>2]=v[b+24>>2];v[e+36>>2]=f;f=v[b+20>>2];v[e+24>>2]=v[b+16>>2];v[e+28>>2]=f;f=v[b+4>>2];g=v[b>>2];v[e+16>>2]=2;v[e+8>>2]=g;v[e+12>>2]=f;a:{switch(v[b+8>>2]-7|0){case 0:case 3:v[e+16>>2]=3;break;default:break a}}Po(a,e+448|0);b:{if(v[e+456>>2]!=3){b=162;break b}i=v[a>>2];g=v[e+448>>2]+1|0;v[a>>2]=g;j=v[a+8>>2];h=v[e+452>>2]-1|0;v[a+8>>2]=h;f=e+48|0;c:{if(g>>>0>=h>>>0){break c}g=e+432|0;while(1){Po(a,e+432|0);if(!v[e+440>>2]){break c}if(f>>>0>>0){h=v[e+436>>2];v[f>>2]=v[e+432>>2];v[f+4>>2]=h;v[f+8>>2]=v[e+440>>2]}f=f+12|0;if(y[a>>2]>2]){continue}break}}v[a+8>>2]=j;v[a>>2]=i;g=f-(e+48|0)|0;f=(g|0)/12|0;if((g|0)<0){b=162;break b}g=v[b+24>>2];g=f>>>0>g>>>0?g:f;d:{if(v[b+8>>2]==7){break d}b=v[b+28>>2];if(!b){break d}t[b+v[c>>2]|0]=g}e:{if((g|0)>=1){h=w[e+28|0];f=e+48|0;while(1){v[a>>2]=v[f>>2];v[a+8>>2]=v[f+4>>2];b=t_(a,e+8|0,c,d,e);if(b){break e}v[e+24>>2]=h+v[e+24>>2];f=f+12|0;b=(g|0)>1;g=g-1|0;if(b){continue}break}}b=0}v[a+8>>2]=j;v[a>>2]=i}Ma=e+464|0;return b|0}function PH(a){var b=0;if(!v[291039]){QH()}a:{b:{c:{switch(a+1|0){case 3:return v[291040];case 4:return v[291041];case 7:b=pf(312757);if(b){break a}b=pf(296562);if(b){break a}b=pf(309970);if(b){break a}b=pf(314946);if(!b){break b}break a;case 6:b=pf(316998);if(b){break a}b=pf(317008);if(b){break a}b=pf(316373);if(!b){break b}break a;case 5:b=pf(316998);if(b){break a}b=pf(317008);if(b){break a}b=pf(316373);if(!b){break b}break a;case 10:b=pf(320591);if(b){break a}b=pf(320601);if(b){break a}b=pf(320017);if(!b){break b}break a;case 11:b=pf(325017);if(!b){break b}break a;case 12:b=pf(320619);if(!b){break b}break a;case 13:b=pf(319113);if(!b){break b}break a;case 14:b=pf(317014);if(!b){break b}break a;case 15:b=pf(316272);if(!b){break b}break a;case 16:b=pf(315649);if(!b){break b}break a;case 17:b=pf(315110);if(!b){break b}break a;case 18:b=pf(314547);if(!b){break b}break a;case 19:b=pf(313962);if(!b){break b}break a;case 20:b=pf(310568);if(!b){break b}break a;case 21:b=pf(310164);if(b){break a}b=pf(310144);if(b){break a}b=pf(310134);if(!b){break b}break a;case 0:case 1:case 2:break a;case 22:break c;default:break b}}b=pf(310561);if(b){break a}}b=0}return b}function Lwa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=v[a+372>>2];c=v[a+420>>2];d=v[a+24>>2];v[c+112>>2]=v[d>>2];v[c+116>>2]=v[d+4>>2];if(!(v[c+36>>2]|!v[a+236>>2])){Bz(c,v[c+40>>2])}a:{e=v[a+316>>2];if(v[c+108>>2]|(e|0)<1){break a}while(1){if(!g){f=v[c+16>>2];g=v[c+12>>2]|(u[v[(i<<2)+b>>2]>>1]>>>j&1)<<23-f;d=f+1|0;if((f|0)>=7){while(1){e=v[c+112>>2];v[c+112>>2]=e+1;t[e|0]=g>>>16;e=v[c+116>>2]-1|0;v[c+116>>2]=e;if(!e){f=v[c+120>>2];e=v[f+24>>2];if(!(Qa[v[e+12>>2]](f)|0)){f=v[c+120>>2];h=v[f>>2];v[h+20>>2]=25;Qa[v[h>>2]](f)}v[c+112>>2]=v[e>>2];v[c+116>>2]=v[e+4>>2]}e=d;b:{if((g&16711680)!=16711680){break b}d=v[c+112>>2];v[c+112>>2]=d+1;t[d|0]=0;d=v[c+116>>2]-1|0;v[c+116>>2]=d;if(d){break b}f=v[c+120>>2];d=v[f+24>>2];if(!(Qa[v[d+12>>2]](f)|0)){f=v[c+120>>2];h=v[f>>2];v[h+20>>2]=25;Qa[v[h>>2]](f)}v[c+112>>2]=v[d>>2];v[c+116>>2]=v[d+4>>2]}d=e-8|0;g=g<<8;if((e|0)>15){continue}break}e=v[a+316>>2]}v[c+16>>2]=d;v[c+12>>2]=g}i=i+1|0;if((i|0)>=(e|0)){break a}g=v[c+108>>2];continue}}b=v[a+24>>2];v[b>>2]=v[c+112>>2];v[b+4>>2]=v[c+116>>2];a=v[a+236>>2];if(a){b=c;d=v[c+36>>2];if(d){a=d}else{v[c+36>>2]=a;v[c+40>>2]=v[c+40>>2]+1&7}v[b+36>>2]=a-1}return 1}function Vka(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;e=Ma-16|0;Ma=e;v[e+8>>2]=0;qb(e+8|0,a);a:{b:{a=v[e+8>>2];b=v[a+16>>2];if(!b){break b}v[b+4>>2]=v[b+4>>2]+1;b=v[a+16>>2];if(!b){break b}c:{if(!w[b+8|0]){if(!Ay(b,v[a+80>>2],v[a+84>>2])){break c}}t[a+8|0]=1}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break a}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}break a}if(bg(a+20|0)|v[a+84>>2]>-1){break a}b=Ma-32|0;Ma=b;c=b+24|0;th(c,a);Ve(b+16|0,c);c=v[b+16>>2];v[b+8>>2]=0;v[b+12>>2]=v[279250];d=Ad(c,b+8|0,0);if((d|0)>=1){f=a,g=((Qa[v[v[c>>2]+16>>2]](c)|0)+d|0)-4|0,v[f+84>>2]=g}db(b+8|0);c=v[b+16>>2];v[b+16>>2]=0;d:{if(!c){break d}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break d}d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}}c=v[b+24>>2];v[b+24>>2]=0;e:{if(!c){break e}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break e}d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}}Ma=b+32|0;if(!w[a+8|0]|v[a+84>>2]>-1){break a}b=a;a=v[a+64>>2];f=b,g=Qa[v[v[a>>2]+28>>2]](a)|0,v[f+84>>2]=g}a=v[e+8>>2];v[e+8>>2]=0;f:{if(!a){break f}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break f}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=e+16|0}function xR(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;var j=0,k=0;if(!(!a|!b)){t[b+28|0]=g;t[b+27|0]=i;t[b+26|0]=h;t[b+25|0]=f;t[b+24|0]=e;v[b+4>>2]=d;v[b>>2]=c;j=e&255;f=f&255;k=g&255;h=h&255;g=i&255;a:{b:{if(!c){Db(a,40413);break b}if((c|0)<=-1){Db(a,41313);break b}if(c>>>0>=536870799){Db(a,42030);break b}e=0;if(y[a+700>>2]>=c>>>0){break a}Db(a,43209)}e=1}c:{d:{if(!d){Db(a,43994);break d}if((d|0)<=-1){Db(a,44943);break d}if(y[a+704>>2]>=d>>>0){break c}Db(a,45541)}e=1}if(!(1<>>0<=16:0)){Db(a,46410);e=1}d=f&-5;if(!((d|0)!=1&f>>>0<=6)){Db(a,47053);e=1}if(!(!((f|0)==3&j>>>0>8)&((f|0)!=4&(d|0)!=2|j>>>0>7))){Db(a,47563);e=1}if(k>>>0>=2){Db(a,48169);e=1}if(h){Db(a,48621);e=1}if(!(!(w[a+201|0]&16)|!v[a+660>>2])){Db(a,48911)}e:{f:{g:{if(!g){break g}if(!(w[a+201|0]&16|(!(w[a+660|0]&4)|(g|0)!=64))){if((d|0)==2){break g}}Db(a,49553);if(!(w[a+201|0]&16)){break f}Db(a,50002);break f}if(!e){break e}}dc(a,50512);L()}d=b;e=w[b+25|0];h:{if((e|0)==3){a=1}else{f=e&2;a=f|1;t[b+29|0]=a;if(!(e&4)){break h}a=f+2|0}t[d+29|0]=a}a=B(w[b+24|0],a);t[b+30|0]=a;a=a&255;i:{if(a>>>0>=8){a=B(a>>>3|0,c);break i}a=B(a,c)+7>>>3|0}v[b+12>>2]=a}}function jm(a,b){var c=0,d=0,e=0,f=0;d=Ma-96|0;Ma=d;v[d+80>>2]=13;a:{b:{switch(v[a>>2]){case 0:ZC(v[a+8>>2]?275107:276877,b);break a;case 1:v[d>>2]=v[a+8>>2];vb(b,292112,d);break a;case 2:A[d+16>>3]=A[a+8>>3];Ph(b,272901,d+16|0);break a;case 3:Ee(40,b);a=v[a+8>>2];Lb(v[a+4>>2],1,v[a>>2],b);Ee(41,b);break a;case 4:v[d+32>>2]=v[a+8>>2];vb(b,237072,d+32|0);break a;case 5:Lb(258688,4,1,b);break a;case 6:Ee(91,b);e=1;c=v[a+8>>2];c:{if(v[c+12>>2]<1){break c}f=c;c=d+80|0;Nf(f,0,c);jm(c,b);bb(c);if(v[v[a+8>>2]+12>>2]<2){break c}while(1){Ee(32,b);c=d+80|0;Nf(v[a+8>>2],e,c);jm(c,b);bb(c);e=e+1|0;if((e|0)>2]+12>>2]){continue}break}}Ee(93,b);break a;case 7:Lb(313438,2,1,b);c=v[a+8>>2];if(v[c+16>>2]>=1){while(1){v[d+48>>2]=v[v[c+4>>2]+(e<<5)>>2];vb(b,336904,d+48|0);c=d+80|0;lq(v[a+8>>2],e,c);jm(c,b);bb(c);e=e+1|0;c=v[a+8>>2];if((e|0)>2]){continue}break}}Lb(313351,3,1,b);break a;case 8:Lb(313322,8,1,b);break a;case 9:e=v[a+12>>2];v[d+64>>2]=v[a+8>>2];v[d+68>>2]=e;vb(b,310507,d- -64|0);break a;case 10:ZC(v[a+8>>2],b);break a;case 11:Lb(313314,7,1,b);break a;case 12:Lb(313342,5,1,b);break a;case 13:break b;default:break a}}Lb(313331,6,1,b)}Ma=d+96|0}function MPa(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,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;n=Ma-16|0;Ma=n;m=A[c+16>>3];i=A[c>>3];g=a;k=A[c+8>>3];p=A[c+24>>3]-k;a:{if(D(p)<2147483648){h=~~p;break a}h=-2147483648}A[g+616>>3]=h|0;g=a;m=m-i;b:{if(D(m)<2147483648){h=~~m;break b}h=-2147483648}A[g+608>>3]=h|0;g=a;if(D(i)<2147483648){j=~~i}else{j=-2147483648}l=(j<<2)+b|0;if(D(k)<2147483648){h=~~k}else{h=-2147483648}v[g+652>>2]=l+(B(h,d)<<2);g=v[a+16>>2];if(g){$a(eK(g));v[a+16>>2]=0}g=v[a+20>>2];if(g){$a(tt(g));v[a+20>>2]=0}g=ab(2864);z2(g);v[a+16>>2]=g;g=ab(8);YJ(g);h=(h|0)>0?h:0;v[a+640>>2]=h;o=(j|0)>0?j:0;v[a+636>>2]=o;v[a+20>>2]=g;i=A[c+16>>3];j=a;l=e;k=A[c+24>>3];c:{if(D(k)<2147483648){g=~~k;break c}g=-2147483648}q=((e|0)<(g|0)?l:g)-h|0;v[j+648>>2]=q;l=a;j=d;if(D(i)<2147483648){g=~~i}else{g=-2147483648}j=((d|0)<(g|0)?j:g)-o|0;v[l+644>>2]=j;x2(v[a+16>>2],b,d,e,0-(d<<2)|0,o,h,j,q,i-A[c>>3],k-A[c+8>>3],f);b=En(n+8|0,1,0,0,1,A[c>>3],A[c+8>>3]);v2(v[a+16>>2],b);c=v[a+16>>2];i=A[c+8>>3]/(A[a+592>>3]/25.4);if(i!=A[c+24>>3]){A[c+24>>3]=i}c=v[a+16>>2];i=A[c+16>>3]/(A[a+600>>3]/25.4);if(i!=A[c+32>>3]){A[c+32>>3]=i}BB(v[a+16>>2]);me(b);Ma=n+16|0}function $s(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;d=Ma+-64|0;Ma=d;f=v[a+11720>>2];l=!(w[v[a+11676>>2]+5|0]?w[a+11665|0]:1);g=v[a+11724>>2];if(!(l|(g|0)!=(c|0)?0:(f|0)==(b|0))){QI(a,f,g,b,c,d+20|0,d+16|0);e=v[d+20>>2];i=e+v[a+11720>>2]|0;v[d+8>>2]=i;g=v[d+16>>2];f=g+v[a+11724>>2]|0;v[d+12>>2]=f;g=c+g|0;j=b+e|0;if(w[a+11667|0]){v[d+56>>2]=1;e=v[a+11732>>2];v[d+24>>2]=v[a+11728>>2];v[d+28>>2]=e;if(!w[a+20|0]){at(a,v[a+11736>>2],v[a+11740>>2])}h=xb(v[a+11644>>2],i);k=xb(v[a+11648>>2],f);e=Al(a+8|0,f);h=h+k|0;m=d,n=(xb(v[v[a>>2]+64>>2],h)+xb(v[v[a>>2]+72>>2],e)|0)+v[a+11656>>2]|0,v[m+32>>2]=n;m=d,n=(xb(v[v[a>>2]+68>>2],h)+xb(v[v[a>>2]+76>>2],e)|0)+v[a+11660>>2]|0,v[m+36>>2]=n;e=v[a+4>>2];Qa[v[e>>2]](e,d+24|0);h=v[d+32>>2];k=v[d+36>>2];e=0;v[a+11704>>2]=e|i;v[a+11708>>2]=f;v[a+11728>>2]=h;v[a+11732>>2]=k;v[a+11712>>2]=e|j;v[a+11716>>2]=g;t[a+11664|0]=1;t[a+11667|0]=0}if(w[a+11744|0]){KA(a,a+8|0,d+8|0,j,g,0)}v[a+11748>>2]=2;t[a+11744|0]=1;f=v[d+12>>2];v[a+11752>>2]=v[d+8>>2];v[a+11756>>2]=f;v[a+11760>>2]=j;v[a+11764>>2]=g;if(l){kw(a+8|0,v[a+11668>>2],v[a+11672>>2],v[a+11676>>2],v[a+11680>>2],0)}v[a+11724>>2]=c;v[a+11720>>2]=b}Ma=d- -64|0}function Ro(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=Ma-16|0;Ma=g;k=v[b+28>>2];v[a+28>>2]=0;v[a+32>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;v[a+12>>2]=0;v[a+16>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a>>2]=b;v[a+4>>2]=v[b+8>>2];h=a;a:{b:{c:{if(d){e=Id(b,g+12|0);if(v[g+12>>2]){break b}d=5;break c}e=Ac(b,g+12|0);if(v[g+12>>2]){break b}d=3}v[h+8>>2]=d;d=0;if(!e){break a}h=Gf(b,g+12|0);if(v[g+12>>2]){break b}if((h-1&255)>>>0>=4){v[g+12>>2]=8;break b}t[a+16|0]=h;v[a+12>>2]=e;h=h&255;v[a+20>>2]=v[a+8>>2]+(v[a+4>>2]+B(h,e+1|0)|0);e=re(b,B(e,h));v[g+12>>2]=e;if(e){break b}i=Ma-16|0;Ma=i;l=_e(v[a>>2],i+12|0,w[a+16|0]);d:{if(l){break d}e=w[a+16|0];if(!e){break d}j=e&3;e:{if(e-1>>>0<3){e=0;f=0;break e}f=e&252;e=0;while(1){h=e;e=e+4|0;f=f-4|0;if(f){continue}break}f=i+12|0;f=w[f+(h|3)|0]|(w[f+(h|2)|0]|(w[f+h|0]<<16|w[f+(h|1)|0]<<8))<<8}if(!j){break d}while(1){f=w[(i+12|0)+e|0]|f<<8;e=e+1|0;j=j-1|0;if(j){continue}break}}v[g+12>>2]=l;Ma=i+16|0;if(v[g+12>>2]){break b}if(!f){v[g+12>>2]=8;break b}e=f-1|0;v[a+24>>2]=e;f=g;f:{if(c){b=Zh(b,e,a+32|0);break f}b=re(b,e)}v[f+12>>2]=b;if(!b){break a}}b=v[a+28>>2];if(b){Qa[v[k+8>>2]](k,b)}v[a+28>>2]=0;d=v[g+12>>2]}Ma=g+16|0;return d}function O7(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0;m=Ma-16|0;Ma=m;a:{b:{if((c|0)<=0){q=a+608|0;r=a+604|0;d=v[a+608>>2];e=v[a+604>>2];break b}eb(b,255,c);q=a+608|0;r=a+604|0;i=v[a+588>>2];d=v[a+608>>2];e=v[a+604>>2];while(1){k=d-1|0;j=e+1|0;c:{d:{e:{g=w[e|0];if((g|0)!=64){if(g){break e}if((d|0)<=(i|0)){break d}Fd(b,j,i);d=k-i|0;e=i+j|0;break c}f=w[e+4|0]|w[e+3|0]<<8;h=f+4|0;if((h|0)>=(d|0)){break d}d=w[e+2|0]|w[e+1|0]<<8;if((d+f|0)>(i|0)){break d}Fd(b+d|0,e+5|0,f);d=k-h|0;e=h+j|0;break c}n=v[a+56>>2];f=0;d=b;while(1){l=f>>>0>>0;o=g&63;f:{if(!(!o|f>>>0>=n>>>0)){s=g&192;p=s>>>6|0;u=p<<4;x=p<<2;h=d;while(1){e=f+1|0;g=u;l=s;g:{h:{i:{switch((f&3)-1|0){case 1:g=x;h=d;break h;case 0:break h;case 2:break i;default:break g}}h=d+1|0;g=p}l=w[d|0]|g}t[d|0]=l;l=e>>>0>>0;if((o|0)<2){break f}o=o-1|0;f=e;d=h;if(e>>>0>>0){continue}break}break f}h=d;e=f}if(!l){d=k;e=j;break c}if(!k){break d}k=k-1|0;g=w[j|0];d=h;j=j+1|0;f=e;continue}}c=v[a>>2];b=v[a+628>>2];v[m>>2]=v[a+472>>2];wb(b,c,2566,m);a=0;break a}b=b+i|0;c=c-i|0;if((c|0)>0){continue}break}}v[r>>2]=e;v[q>>2]=d;a=1}Ma=m+16|0;return a|0}function DOa(a,b,c){a=a|0;b=C(b);c=C(c);var d=0,e=0,f=C(0),g=C(0),h=C(0),i=0;f=C(b-z[a+248>>2]);g=z[a+4>>2];c=C(c-z[a+252>>2]);h=z[a+8>>2];b=C(z[a+264>>2]*C(C(f*g)+C(c*h)));f=C(C(C(g*c)-C(f*h))*z[a+268>>2]);a:{if(!(((q(b),j(2))&2147483647)>>>0<2139095041&((q(f),j(2))&2147483647)>>>0<=2139095040)){c=C(b+f);break a}d=(q(f),j(2));if((d|0)==1065353216){c=YP(b);break a}i=d>>>30&2;e=(q(b),j(2));a=i|e>>>31;b:{e=e&2147483647;c:{if(!e){d:{switch(a-2|0){case 0:c=C(3.1415927410125732);break a;case 1:break d;default:break c}}c=C(-3.1415927410125732);break a}d=d&2147483647;if((d|0)!=2139095040){c=(l(2,(q(b),j(2))&-2147483648|1070141403),p());if(!d){break a}c=(l(2,(q(b),j(2))&-2147483648|1070141403),p());if(!((e|0)!=2139095040&e>>>0<=d+218103808>>>0)){break a}e:{if(i){c=C(0);if(d>>>0>e+218103808>>>0){break e}}c=YP(C(D(C(b/f))))}b=c;f:{switch(a|0){case 1:c=C(-b);break a;case 2:c=C(C(3.1415927410125732)-C(b+C(8.742277657347586e-8)));break a;case 0:break c;default:break f}}c=C(C(b+C(8.742277657347586e-8))+C(-3.1415927410125732));break a}if((e|0)==2139095040){break b}b=z[(a<<2)+994512>>2]}c=b;break a}c=z[(a<<2)+994496>>2]}return C(C(+C(D(c))*.3183098861837907))}function tNa(a,b){a=a|0;b=b|0;var c=C(0),d=C(0),e=C(0),f=C(0),g=0,h=0,i=C(0),j=0,k=C(0),l=C(0),m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0;v[a>>2]=0;v[a+4>>2]=0;m=a+8|0;v[m>>2]=0;v[m+4>>2]=0;b=b+16|0;if(v[b+84>>2]>=1){n=v[b+84>>2];a:{if((n|0)<=0){v[a>>2]=0;v[a+4>>2]=0;v[a+12>>2]=0;v[m>>2]=0;break a}o=v[b+80>>2];if((n|0)!=1){p=n&-2;while(1){r=B(h,96)+o|0;c=C(-z[r+16>>2]);e=c>e?e:c;s=B(h|1,96)+o|0;c=C(-z[s+16>>2]);e=c>e?e:c;c=C(-z[r+24>>2]);d=c>2]);d=c>2]);e=c>e?e:c;c=C(-z[h+24>>2]);d=c>3];q=A[b+40>>3];b:{c:{t=A[b+24>>3];g=A[b+32>>3];if(t!=1|g!=0|(q!=0|j!=1)){break c}if(A[b+56>>3]!=0|A[b- -64>>3]!=0){break c}f=C(0);break b}g=g*0;u=+e;c=C(g+j*u);w=j;j=+d;d=C(g+w*j);e=ce?e:c;d=c>d?c:d;d=ck?k:c;f=c>f?c:f;f=c>2];c=z[b+8>>2];i=C(i+c);l=z[b+16>>2];l=c>2]=i>2];i=z[b+16>>2];f=f>i?f:i;z[a+4>>2]=c>f?c:f;e=C(e+k);c=z[b+12>>2];f=z[b+20>>2];c=c>2]=c>e?e:c;e=C(d+k);d=z[b+12>>2];c=z[b+20>>2];d=c>2]=d>2]==89){g=1;break a}b:{if(!c|v[c+48>>2]==6){break b}e=v[c+40>>2];if(v[c+72>>2]|!e|v[a+84>>2]==89){break b}h=v[a+440>>2];v[c+72>>2]=1;v[a+248>>2]=v[a+248>>2]+1;e=Bv(a,e);v[a+248>>2]=v[a+248>>2]-1;if(v[a+84>>2]==89){t[v[c+40>>2]]=0}v[c+72>>2]=(v[a+440>>2]-h<<1)+2;if(!e){break b}if(Ko(e,60)){v[c+72>>2]=v[c+72>>2]|1}Qa[v[256556]](e)}c:{if(d){if(d>>>0<1e7){break a}b=v[a+36>>2];if(b){b=(v[b+36>>2]+v[b+16>>2]|0)-v[b+12>>2]|0}else{b=0}if(B(b+v[a+444>>2]|0,10)>>>0<=d>>>0){break c}break a}if(b){if(b>>>0<1e3){break a}d=b;c=v[a+36>>2];if(c){b=(v[c+36>>2]+v[c+16>>2]|0)-v[c+12>>2]|0}else{b=0}b=B(b+v[a+444>>2]|0,10);if(d>>>0>=b>>>0|b>>>0<=B(v[a+440>>2],3)>>>0){break c}break a}if(c){c=B(v[c+72>>2]/2|0,3);b=v[a+36>>2];if(b){b=(v[b+36>>2]+v[b+16>>2]|0)-v[b+12>>2]|0}else{b=0}if(c>>>0>=B(b+v[a+444>>2]|0,10)>>>0){break c}break a}if((v[a+388>>2]&-2)!=26|y[a+440>>2]<10001){break a}}if(v[a+212>>2]){g=1;if(v[a+172>>2]==-1){break a}}v[a+84>>2]=89;v[f>>2]=242322;g=1;nb(0,0,0,a,0,1,89,3,0,0,0,0,340716,f);v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1}Ma=f+16|0;return g}function d9(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:{d=v[a+584>>2];if(d){e=v[d+52>>2];if(!e){break a}b:{c:{d:{e:{f:{g:{h:{i:{switch(b-292|0){default:j:{switch(b-34908|0){case 3:break e;case 2:break f;case 1:break g;case 0:break h;default:break j}}k:{switch(b-65536|0){case 0:v[d+4>>2]=v[c>>2];return 1;case 4:break k;default:break d}}v[d+76>>2]=v[c>>2];return 1;case 0:if(x[a+88>>1]!=3){break b}v[d+28>>2]=v[c>>2];break b;case 1:if(x[a+88>>1]!=4){break b}v[d+28>>2]=v[c>>2];break b;case 35:u[d+16>>1]=v[c>>2];break b;case 36:break i;case 34:break c;case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:break d}}v[d+20>>2]=v[c>>2];break b}v[d+32>>2]=v[c>>2];break b}uu(d+36|0,v[c>>2]);break b}v[d+40>>2]=v[c>>2];break b}uu(d+44|0,v[c>>2]);break b}return Qa[e|0](a,b,c)|0}v[d+24>>2]=v[c>>2]}b=Pe(a,b);if(!b){return 0}b=x[b+12>>1];c=(b>>>3&8188)+a|0;v[c+40>>2]=v[c+40>>2]|1<>2]=v[a+12>>2]|8;return 1}O(40584,7814,1164,86090);L()}O(41466,7814,1165,86090);L()}function Zca(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,h=0,i=0,j=C(0);a=Ma-272|0;Ma=a;v[a+256>>2]=c;v[a+264>>2]=b;wD(a+208|0,d,a+224|0,a+223|0,a+222|0);b=ud(a+192|0);md(b,w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10);d=a;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+188>>2]=c;v[a+12>>2]=a+16;v[a+8>>2]=0;t[a+7|0]=1;t[a+6|0]=69;while(1){a:{if(!Mh(a+264|0,a+256|0)){break a}g=v[a+188>>2];if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}if((g|0)==(d+c|0)){c=b;b:{if(w[c+11|0]>>>7|0){d=v[c+4>>2];break b}d=w[c+11|0]}g=c;if(w[c+11|0]>>>7|0){h=v[c+4>>2]}else{h=w[c+11|0]}md(g,h<<1);md(c,w[c+11|0]>>>7|0?(v[c+8>>2]&2147483647)-1|0:10);g=a;if(w[c+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[g+188>>2]=d+c}if(vD(sf(a+264|0),a+7|0,a+6|0,c,a+188|0,t[a+223|0],t[a+222|0],a+208|0,a+16|0,a+12|0,a+8|0,a+224|0)){break a}Zf(a+264|0);continue}break}if(w[a+219|0]>>>7|0){d=v[a+212>>2]}else{d=w[a+219|0]}c:{if(!d|!w[a+7|0]){break c}d=v[a+12>>2];if((d-(a+16|0)|0)>159){break c}v[a+12>>2]=d+4;v[d>>2]=v[a+8>>2]}i=f,j=FO(c,v[a+188>>2],e),z[i>>2]=j;Jh(a+208|0,a+16|0,v[a+12>>2],e);if(yg(a+264|0,a+256|0)){v[e>>2]=v[e>>2]|2}c=v[a+264>>2];Vb(b);Vb(a+208|0);Ma=a+272|0;return c|0}function Vu(a,b){var c=0,d=0,e=0,f=0;f=Ma-16|0;Ma=f;c=ab(356);d=v[b>>2];if(d){v[d+4>>2]=v[d+4>>2]+1;e=v[b>>2]}v[f+8>>2]=e;d=0;b=v[f+8>>2];if(b){v[b+4>>2]=v[b+4>>2]+1;d=v[f+8>>2]}v[c+8>>2]=1;v[c+4>>2]=0;v[c+12>>2]=0;v[c+16>>2]=0;v[c>>2]=969676;v[c+28>>2]=d;v[c+20>>2]=0;v[c+24>>2]=0;a:{if(d){v[d+4>>2]=v[d+4>>2]+1;v[c+32>>2]=d;pc(c+40|0,c+36|0,0,1);eb(c+48|0,0,304);b=v[d+4>>2]-1|0;v[d+4>>2]=b;if(b){break a}b=v[d+4>>2];if(!b){v[d+4>>2]=-32767}if(!b){Qa[v[v[d>>2]+4>>2]](d)}break a}v[c+32>>2]=d;pc(c+40|0,c+36|0,0,1);eb(c+48|0,0,304)}t[c+352|0]=0;v[c>>2]=969720;v[f+8>>2]=0;b:{if(!e){break b}b=v[e+4>>2]-1|0;v[e+4>>2]=b;if(b){break b}b=v[e+4>>2];if(!b){v[e+4>>2]=-32767}if(!b){Qa[v[v[e>>2]+4>>2]](e)}}v[a>>2]=0;qb(a,c);b=Ma-16|0;Ma=b;a=b;d=v[c+32>>2];if(d){v[d+4>>2]=v[d+4>>2]+1;d=v[c+32>>2]}else{d=0}v[a>>2]=d;a=b+8|0;Mr(a,b,0);jb(c+48|0,a);c=v[b+8>>2];v[b+8>>2]=0;c:{if(!c){break c}a=v[c+4>>2]-1|0;v[c+4>>2]=a;if(a){break c}a=v[c+4>>2];if(!a){v[c+4>>2]=-32767}if(!a){Qa[v[v[c>>2]+4>>2]](c)}}c=v[b>>2];v[b>>2]=0;d:{if(!c){break d}a=v[c+4>>2]-1|0;v[c+4>>2]=a;if(a){break d}a=v[c+4>>2];if(!a){v[c+4>>2]=-32767}if(!a){Qa[v[v[c>>2]+4>>2]](c)}}Ma=b+16|0;Ma=f+16|0}function sQa(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,h=0,i=0,j=C(0),k=0,l=0,m=0;a:{if(v[a+624>>2]==8){break a}Qa[v[v[a>>2]+136>>2]](a,351224)|0;Tq(a);e=Hw(a,a+88|0);i=v[a+16>>2];f=v[a+12>>2];l=A[c>>3];m=A[d>>3];c=Ma-144|0;Ma=c;if(!v[e+4>>2]){d=Dm(c+136|0,i+48|0);Mk(d,i+52|0,0);rt(d,c+80|0);A[c+72>>3]=l;A[c+64>>3]=m;k=Dm(c+56|0,d);qt(k);Mk(k,i+56|0,0);zd(k,c+72|0,c- -64|0);A[c+48>>3]=C(A[c+80>>3]);A[c+40>>3]=C(A[c+88>>3]);A[c+32>>3]=C(A[c+96>>3]);A[c+24>>3]=C(A[c+104>>3]);A[c+16>>3]=C(A[c+112>>3]);A[c+8>>3]=C(A[c+120>>3]);a=c+48|0;g=c+40|0;h=c+32|0;Qa[v[v[f>>2]+120>>2]](f,a,g,h,c+24|0,c+16|0,c+8|0)|0;v[i+2860>>2]=v[f+160>>2];v[c+48>>2]=v[b>>2];z[c+40>>2]=A[c+72>>3];z[c+32>>2]=A[c+64>>3];Qa[v[v[f>>2]+104>>2]](f,a,g,h)|0;v[c+48>>2]=0;v[c+40>>2]=0;v[c+32>>2]=0;if(Qa[v[v[f>>2]+184>>2]](f,h,a,g)|0){while(1){h=v[c+32>>2];if(h){j=z[c+40>>2];b:{if(C(D(j))>2];c:{if(C(D(j))>2]=0;if(Qa[v[v[f>>2]+184>>2]](f,c+32|0,c+48|0,c+40|0)|0){continue}break}}me(k);me(d)}Ma=c+144|0;if(!e){break a}Qa[v[v[e>>2]+4>>2]](e)}return 0}function wu(a,b,c,d){var e=0,f=0,g=0;e=Ma-16|0;Ma=e;v[a>>2]=0;a:{b:{f=v[d>>2];c:{if(!f){break c}g=e+8|0;UQ(g,f);d=v[jb(d,g)>>2];f=v[e+8>>2];v[e+8>>2]=0;d:{if(!f){break d}g=v[f+4>>2]-1|0;v[f+4>>2]=g;if(g){break d}g=v[f+4>>2];if(!g){v[f+4>>2]=-32767}if(!g){Qa[v[v[f>>2]+4>>2]](f)}}if(!d){break c}if(v[d+8>>2]){break b}}d=e+8|0;gl(d,b,c,10);jb(a,d);a=v[e+8>>2];v[e+8>>2]=0;if(!a){break a}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break a}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}break a}e:{if(fo(d,314043)){if(fo(d,314541)){break e}}d=e+8|0;gl(d,b,c,8);jb(a,d);a=v[e+8>>2];v[e+8>>2]=0;if(!a){break a}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break a}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}break a}f:{g:{if(!fo(d,315576)){break g}if(!fo(d,315602)){break g}if(!fo(d,320017)){break g}if(fo(d,320017)){break f}}d=e+8|0;gl(d,b,c,5);jb(a,d);a=v[e+8>>2];v[e+8>>2]=0;if(!a){break a}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break a}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}break a}h:{if(fo(d,316373)){if(fo(d,317008)){break h}}d=e+8|0;gl(d,b,c,0);jb(a,d);db(d);break a}d=e+8|0;gl(d,b,c,10);jb(a,d);db(d)}Ma=e+16|0}function Yca(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,h=0,i=0,j=0;a=Ma-272|0;Ma=a;v[a+256>>2]=c;v[a+264>>2]=b;wD(a+208|0,d,a+224|0,a+223|0,a+222|0);b=ud(a+192|0);md(b,w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10);d=a;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+188>>2]=c;v[a+12>>2]=a+16;v[a+8>>2]=0;t[a+7|0]=1;t[a+6|0]=69;while(1){a:{if(!Mh(a+264|0,a+256|0)){break a}g=v[a+188>>2];if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}if((g|0)==(d+c|0)){c=b;b:{if(w[c+11|0]>>>7|0){d=v[c+4>>2];break b}d=w[c+11|0]}g=c;if(w[c+11|0]>>>7|0){h=v[c+4>>2]}else{h=w[c+11|0]}md(g,h<<1);md(c,w[c+11|0]>>>7|0?(v[c+8>>2]&2147483647)-1|0:10);g=a;if(w[c+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[g+188>>2]=d+c}if(vD(sf(a+264|0),a+7|0,a+6|0,c,a+188|0,t[a+223|0],t[a+222|0],a+208|0,a+16|0,a+12|0,a+8|0,a+224|0)){break a}Zf(a+264|0);continue}break}if(w[a+219|0]>>>7|0){d=v[a+212>>2]}else{d=w[a+219|0]}c:{if(!d|!w[a+7|0]){break c}d=v[a+12>>2];if((d-(a+16|0)|0)>159){break c}v[a+12>>2]=d+4;v[d>>2]=v[a+8>>2]}i=f,j=EO(c,v[a+188>>2],e),A[i>>3]=j;Jh(a+208|0,a+16|0,v[a+12>>2],e);if(yg(a+264|0,a+256|0)){v[e>>2]=v[e>>2]|2}c=v[a+264>>2];Vb(b);Vb(a+208|0);Ma=a+272|0;return c|0}function FP(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{c:{c=v[a+4>>2];d:{if(c>>>0>2]){v[a+4>>2]=c+1;c=w[c|0];break d}c=ke(a)}switch(c-43|0){case 0:case 2:break b;default:break c}}e=c-48|0;break a}f=(c|0)==45;b=!b;c=v[a+4>>2];e:{if(c>>>0>2]){v[a+4>>2]=c+1;c=w[c|0];break e}c=ke(a)}e=c-48|0;if(!(b|e>>>0<10|!v[a+104>>2])){v[a+4>>2]=v[a+4>>2]-1}}f:{if(e>>>0<10){while(1){d=B(d,10)+c|0;d=d-48|0;g=(d|0)<214748364;b=v[a+4>>2];g:{if(b>>>0>2]){v[a+4>>2]=b+1;c=w[b|0];break g}c=ke(a)}e=c-48|0;if(g&e>>>0<=9){continue}break}b=d;d=d>>31;h:{if(e>>>0>=10){break h}while(1){d=x3a(b,d,10,0);b=d+c|0;c=Pa;c=b>>>0>>0?c+1|0:c;d=b;b=d-48|0;d=c-(d>>>0<48)|0;c=v[a+4>>2];i:{if(c>>>0>2]){v[a+4>>2]=c+1;c=w[c|0];break i}c=ke(a)}e=c-48|0;if(e>>>0>9){break h}if(b>>>0<2061584302&(d|0)<=21474836|(d|0)<21474836){continue}break}}if(e>>>0<10){while(1){c=v[a+4>>2];j:{if(c>>>0>2]){v[a+4>>2]=c+1;c=w[c|0];break j}c=ke(a)}if(c-48>>>0<10){continue}break}}if(v[a+104>>2]){v[a+4>>2]=v[a+4>>2]-1}a=b;b=f?0-a|0:a;d=f?0-(((a|0)!=0)+d|0)|0:d;break f}b=0;d=-2147483648;if(!v[a+104>>2]){break f}v[a+4>>2]=v[a+4>>2]-1;Pa=-2147483648;return 0}Pa=d;return b}function Y6(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;a:{d=v[v[a+584>>2]+4>>2];a=(c|0)/4|0;if((d|0)>=(a|0)){break a}Vn(b,a);g=a-d|0;if((d|0)<5){a=d<<2;while(1){b:{switch(d|0){default:c=a+b|0;v[c>>2]=v[c>>2]+v[b>>2];b=b+4|0;case 3:c=a+b|0;v[c>>2]=v[c>>2]+v[b>>2];b=b+4|0;case 2:c=a+b|0;v[c>>2]=v[c>>2]+v[b>>2];b=b+4|0;case 1:c=a+b|0;v[c>>2]=v[c>>2]+v[b>>2];b=b+4|0;break;case 0:break b}}g=g-d|0;if((g|0)>0){continue}break}break a}h=d-4|0;c=d&3;i=d-5>>>0>2;while(1){c:{d:{e:{f:{g:{h:{switch(d|0){case 0:break c;case 1:break d;case 2:break e;case 3:break f;case 4:break g;default:break h}}a=h;e=c;if(c){while(1){f=(d<<2)+b|0;v[f>>2]=v[f>>2]+v[b>>2];a=a-1|0;b=b+4|0;e=e-1|0;if(e){continue}break}}if(!i){break g}while(1){e=d<<2;f=e+b|0;v[f>>2]=v[f>>2]+v[b>>2];f=e+(b+4|0)|0;v[f>>2]=v[f>>2]+v[b+4>>2];f=e+(b+8|0)|0;v[f>>2]=v[f>>2]+v[b+8>>2];e=e+(b+12|0)|0;v[e>>2]=v[e>>2]+v[b+12>>2];b=b+16|0;e=(a|0)>4;a=a-4|0;if(e){continue}break}}a=(d<<2)+b|0;v[a>>2]=v[a>>2]+v[b>>2];b=b+4|0}a=(d<<2)+b|0;v[a>>2]=v[a>>2]+v[b>>2];b=b+4|0}a=(d<<2)+b|0;v[a>>2]=v[a>>2]+v[b>>2];b=b+4|0}a=(d<<2)+b|0;v[a>>2]=v[a>>2]+v[b>>2];b=b+4|0}g=g-d|0;if((g|0)>0){continue}break}}}function ez(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=Ma-48|0;Ma=d;v[d+32>>2]=13;v[d+16>>2]=13;v[d>>2]=13;a:{if((c|0)>=51){e=1;fb(1,-1,247461,0);break a}b:{c:{if(v[b>>2]!=9){break c}e=v[a+4>>2];h=v[e+8>>2];if((h|0)<1){break c}f=v[b+8>>2];i=v[b+12>>2];j=v[e>>2];e=0;while(1){g=v[(e<<2)+j>>2];if(v[g>>2]==(f|0)&v[g+4>>2]==(i|0)){break b}e=e+1|0;if((h|0)!=(e|0)){continue}break}}ue(b,v[a>>2],d+32|0,0);d:{if(v[d+32>>2]==6){b=v[d+40>>2];if(v[b+12>>2]>0){break d}}e=1;fb(1,-1,247517,0);bb(d+32|0);break a}ub(b,0,d+16|0,0);e:{f:{if(v[d+16>>2]!=4){break f}b=v[d+24>>2];if(!hb(b,227745)){b=v[d+40>>2];if(v[b+12>>2]==2){Nf(b,1,d);e=!ez(a,d,c+1|0);bb(d);break e}e=1;fb(1,-1,247517,0);break e}if(!hb(b,287847)){b=1;f=v[d+40>>2];if(v[f+12>>2]<2){e=1;break e}c=c+1|0;while(1){Nf(f,b,d);e=ez(a,d,c);bb(d);b=b+1|0;f=v[d+40>>2];if((b|0)>=v[f+12>>2]){break e}if(e){continue}break}break e}if(hb(b,240364)){break f}e=0;f=v[d+40>>2];if(v[f+12>>2]<2){break e}b=1;c=c+1|0;while(1){Nf(f,b,d);e=ez(a,d,c);bb(d);b=b+1|0;f=v[d+40>>2];if((b|0)>=v[f+12>>2]){break e}if(!e){continue}break}break e}e=1;fb(1,-1,247517,0)}bb(d+16|0);bb(d+32|0);break a}e=v[g+20>>2]}Ma=d+48|0;return e}function VXa(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;if(e){q=e-1|0;r=e-2|0;p=(e|0)==1;while(1){a=f;t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];t[g+3|0]=w[a+3|0];f=a+4|0;g=g+4|0;a:{if(!p&l>>>0>=q>>>0){break a}k=l?(l|0)==(r|0)?d:b:c;h=!l&p;if(!h){i=1;if(k>>>0<=1){break a}n=h?0:f;o=k<<1;while(1){m=g;j=w[n|0];h=w[a|0];if((j|0)!=(h|0)){h=h+(((B(j-h|0,i)<<1)+k|0)/(o|0)|0)|0}t[m|0]=h;j=w[n+1|0];h=w[a+1|0];if((j|0)!=(h|0)){h=h+(((B(j-h|0,i)<<1)+k|0)/(o|0)|0)|0}t[m+1|0]=h;j=w[n+2|0];h=w[a+2|0];if((j|0)!=(h|0)){h=h+(((B(j-h|0,i)<<1)+k|0)/(o|0)|0)|0}t[m+2|0]=h;j=w[n+3|0];h=w[a+3|0];if((j|0)!=(h|0)){h=h+(((B(j-h|0,i)<<1)+k|0)/(o|0)|0)|0}t[m+3|0]=h;g=g+4|0;i=i+1|0;if((i|0)!=(k|0)){continue}break}break a}if(k>>>0<2){break a}h=k-1|0;m=h&1;if((k|0)!=2){i=h&-2;while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];t[g+3|0]=w[a+3|0];t[g+4|0]=w[a|0];t[g+5|0]=w[a+1|0];t[g+6|0]=w[a+2|0];t[g+7|0]=w[a+3|0];g=g+8|0;i=i-2|0;if(i){continue}break}}if(!m){break a}t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];t[g+3|0]=w[a+3|0];g=g+4|0}l=l+1|0;if((l|0)!=(e|0)){continue}break}}return 0}function Fh(a,b){var c=0,d=0;c=-1;a:{d=v[a+8>>2];b:{if(d&7){break b}c=v[a+64>>2];if(!((c|0)<0|(c|0)>v[a+60>>2])){break a}v[a+4>>2]=v[a+4>>2]|32;c=-1;d=v[a+28>>2];v[a+28>>2]=d-1;c:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;t[c|0]=b>>>24;break c}if((Cb(a,b>>>24|0)|0)==-1){break b}}c=-1;d=v[a+8>>2];if(d&7){break b}c=v[a+64>>2];if(!((c|0)<0|(c|0)>v[a+60>>2])){break a}v[a+4>>2]=v[a+4>>2]|32;c=-1;d=v[a+28>>2];v[a+28>>2]=d-1;d:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;t[c|0]=b>>>16;break d}if((Cb(a,b>>>16&255)|0)==-1){break b}}c=-1;d=v[a+8>>2];if(d&7){break b}c=v[a+64>>2];if(!((c|0)<0|(c|0)>v[a+60>>2])){break a}v[a+4>>2]=v[a+4>>2]|32;c=-1;d=v[a+28>>2];v[a+28>>2]=d-1;e:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;t[c|0]=b>>>8;break e}if((Cb(a,b>>>8&255)|0)==-1){break b}}c=v[a+8>>2];f:{if(c&7){break f}d=v[a+64>>2];if(!((d|0)<0|(d|0)>v[a+60>>2])){v[a+8>>2]=c|4;break f}v[a+4>>2]=v[a+4>>2]|32;c=v[a+28>>2];v[a+28>>2]=c-1;if((c|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=a;a=v[a+24>>2];v[c+24>>2]=a+1;t[a|0]=b;return 0}c=0;if((Cb(a,b&255)|0)!=-1){break b}}c=-1}return c}v[a+8>>2]=d|4;return-1}function _u(a){var b=0,c=0,d=0,e=0,f=0;b=v[a+28>>2];f=a+32|0;if((b|0)!=(f|0)){while(1){d=b;e=v[b+20>>2];if(e){b=v[e>>2];if(b){Qa[v[v[b>>2]+4>>2]](b);v[e>>2]=0}if(t[e+35|0]<=-1){$a(v[e+24>>2])}b=v[e+4>>2];if(b){c=v[e+8>>2];if((b|0)==(c|0)){c=b}else{while(1){if(t[c-5|0]<=-1){$a(v[c-16>>2])}c=c-48|0;if((b|0)!=(c|0)){continue}break}c=v[e+4>>2]}v[e+8>>2]=b;$a(c)}$a(e)}c=v[d+4>>2];a:{if(!c){b=v[d+8>>2];if((d|0)==v[b>>2]){break a}c=d+8|0;while(1){d=v[c>>2];c=d+8|0;b=v[d+8>>2];if((d|0)!=v[b>>2]){continue}break}break a}while(1){b=c;c=v[b>>2];if(c){continue}break}}if((b|0)!=(f|0)){continue}break}}$u(a+28|0,v[a+32>>2]);v[a+28>>2]=f;v[a+32>>2]=0;v[a+36>>2]=0;b=a+48|0;Vy(a+44|0,v[b>>2]);v[a+44>>2]=b;v[a+48>>2]=0;v[a+52>>2]=0;b=v[a+60>>2];e=a- -64|0;if((b|0)!=(e|0)){while(1){d=b;b=v[b+28>>2];if(b){$a(OF(b))}c=v[d+4>>2];b:{if(!c){b=v[d+8>>2];if((d|0)==v[b>>2]){break b}c=d+8|0;while(1){d=v[c>>2];c=d+8|0;b=v[d+8>>2];if((d|0)!=v[b>>2]){continue}break}break b}while(1){b=c;c=v[b>>2];if(c){continue}break}}if((b|0)!=(e|0)){continue}break}}Wy(a+60|0,v[a+64>>2]);v[a+60>>2]=e;v[a+64>>2]=0;v[a+68>>2]=0;b=v[a+24>>2];if(b){Qa[v[v[b>>2]+4>>2]](b);v[a+24>>2]=0}}function _xa(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;e=Ma-80|0;Ma=e;a:{if(!a){break a}d=v[a+36>>2];if(!d){break a}b:{l=v[d+4>>2];c:{if(l){f=v[d+28>>2];i=v[291043];g=v[256654];j=d;break c}h=v[a+40>>2];if((h|0)<=1){f=v[d+28>>2];h=0;i=v[291043];g=v[256654];j=d;break b}j=v[(v[a+48>>2]+(h<<2)|0)-8>>2];if(!j){h=d;j=0;break a}f=v[j+28>>2];i=v[291043];g=v[256654];h=d;l=v[j+4>>2];if(!l){break b}}v[e+68>>2]=f;v[e+64>>2]=l;Qa[g|0](i,337323,e- -64|0);break a}v[e+48>>2]=f;Qa[g|0](i,337331,e+48|0)}Qa[v[256654]](v[291043],337313,0);g=150;f=Qa[v[256552]](150)|0;d:{if(!f){break d}i=-1;while(1){k=f;if((g|0)>63999){break d}v[e+76>>2]=c;d=am(k,g,b,c);if(!((d|0)<0|(d|0)>=(g|0))){f=(d|0)==(i|0);i=d;if(f){break d}}g=((d|0)>-1?d+1|0:100)+g|0;f=Qa[v[256557]](k,g)|0;if(f){continue}break}}v[e+32>>2]=k;Qa[v[256654]](v[291043],237230,e+32|0);if(k){Qa[v[256556]](k)}e:{if(!a){break e}Ho(j,v[256654],v[291043]);if(!h){break e}d=v[h+28>>2];c=v[291043];b=v[256654];a=v[h+4>>2];f:{if(a){v[e+20>>2]=d;v[e+16>>2]=a;Qa[b|0](c,337323,e+16|0);break f}v[e>>2]=d;Qa[b|0](c,337331,e)}Qa[v[256654]](v[291043],348279,0);Ho(h,v[256654],v[291043])}Ma=e+80|0}function OS(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=Ma-16|0;Ma=f;a:{if((c|0)<1){break a}c=c-1|0;if(!d){while(1){d=c;c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;c=v[b+12>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=c;v[a+16>>2]=0;v[a+20>>2]=v[279250];e=a+16|0;c=v[b+16>>2];b:{if(c){Qa[v[v[c>>2]+28>>2]](f+8|0,c,1);break b}v[f+8>>2]=0}jb(e,f+8|0);c=v[f+8>>2];v[f+8>>2]=0;c:{if(!c){break c}e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(e){break c}e=v[c+4>>2];if(!e){v[c+4>>2]=-32767}if(!e){Qa[v[v[c>>2]+4>>2]](c)}}c=v[a+16>>2];v[a+20>>2]=v[(c?c+12|0:1117e3)>>2];Lf(a+24|0,b+24|0);c=d-1|0;b=b+40|0;a=a+40|0;if((d|0)>0){continue}break a}}while(1){d=c;c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;c=v[b+12>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=c;v[a+16>>2]=0;v[a+20>>2]=v[279250];e=a+16|0;c=v[b+16>>2];d:{if(c){Qa[v[v[c>>2]+28>>2]](f+8|0,c,1);break d}v[f+8>>2]=0}g=b+16|0;jb(e,f+8|0);c=v[f+8>>2];v[f+8>>2]=0;e:{if(!c){break e}e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(e){break e}e=v[c+4>>2];if(!e){v[c+4>>2]=-32767}if(!e){Qa[v[v[c>>2]+4>>2]](c)}}c=v[a+16>>2];v[a+20>>2]=v[(c?c+12|0:1117e3)>>2];c=b+24|0;Lf(a+24|0,c);ac(c);db(g);c=d-1|0;b=b+40|0;a=a+40|0;if((d|0)>0){continue}break}}Ma=f+16|0}function $xa(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;e=Ma-80|0;Ma=e;a:{if(!a){break a}d=v[a+36>>2];if(!d){break a}b:{l=v[d+4>>2];c:{if(l){f=v[d+28>>2];i=v[291043];g=v[256654];j=d;break c}h=v[a+40>>2];if((h|0)<=1){f=v[d+28>>2];h=0;i=v[291043];g=v[256654];j=d;break b}j=v[(v[a+48>>2]+(h<<2)|0)-8>>2];if(!j){h=d;j=0;break a}f=v[j+28>>2];i=v[291043];g=v[256654];h=d;l=v[j+4>>2];if(!l){break b}}v[e+68>>2]=f;v[e+64>>2]=l;Qa[g|0](i,337323,e- -64|0);break a}v[e+48>>2]=f;Qa[g|0](i,337331,e+48|0)}Qa[v[256654]](v[291043],337276,0);g=150;f=Qa[v[256552]](150)|0;d:{if(!f){break d}i=-1;while(1){k=f;if((g|0)>63999){break d}v[e+76>>2]=c;d=am(k,g,b,c);if(!((d|0)<0|(d|0)>=(g|0))){f=(d|0)==(i|0);i=d;if(f){break d}}g=((d|0)>-1?d+1|0:100)+g|0;f=Qa[v[256557]](k,g)|0;if(f){continue}break}}v[e+32>>2]=k;Qa[v[256654]](v[291043],237230,e+32|0);if(k){Qa[v[256556]](k)}e:{if(!a){break e}Ho(j,v[256654],v[291043]);if(!h){break e}d=v[h+28>>2];c=v[291043];b=v[256654];a=v[h+4>>2];f:{if(a){v[e+20>>2]=d;v[e+16>>2]=a;Qa[b|0](c,337323,e+16|0);break f}v[e>>2]=d;Qa[b|0](c,337331,e)}Qa[v[256654]](v[291043],348279,0);Ho(h,v[256654],v[291043])}Ma=e+80|0}function Fl(a,b){var c=0,d=0,e=0;c=v[a+24812>>2];if((c|0)==(a+232|0)){v[290052]=c;c=Eh(a,196864,0);v[290071]=c;v[290053]=v[a+24812>>2];c=Eh(a,c,0);v[290071]=c;v[290054]=v[a+24812>>2];c=Eh(a,c,0);v[290071]=c;v[290055]=v[a+24812>>2];c=Eh(a,c,0);v[290071]=c;v[290056]=v[a+24812>>2];c=Eh(a,c,0);v[290071]=c;v[290057]=v[a+24812>>2];c=Eh(a,c,0);v[290071]=c;v[290058]=v[a+24812>>2];c=Eh(a,c,0);v[290071]=c;v[290059]=v[a+24812>>2];c=Eh(a,c,0);v[290071]=c;v[290060]=v[a+24812>>2];c=Eh(a,c,0);v[290071]=c;v[290061]=v[a+24812>>2];c=Eh(a,c,0);v[290071]=c;v[290062]=v[a+24812>>2];c=Eh(a,c,0);v[290071]=c;v[290063]=v[a+24812>>2];c=Eh(a,c,0);v[290071]=c;v[290064]=v[a+24812>>2];c=Eh(a,c,0);v[290071]=c;v[290065]=v[a+24812>>2];c=Eh(a,c,0);v[290071]=c;v[290066]=v[a+24812>>2];c=Eh(a,c,0);v[290071]=c;v[290067]=v[a+24812>>2];c=Eh(a,c,0);v[290071]=c;v[290068]=v[a+24812>>2];c=Eh(a,c,0);v[290071]=c;v[290069]=v[a+24812>>2];d=1160284,e=Eh(a,c,0),v[d>>2]=e}if((b|0)==18){if(v[a+26024>>2]==243){return YK(a,6)<<2|2}return YK(a,5)<<3|4}b=v[(b<<2)+1160208>>2];v[290070]=b;if(v[b>>2]){while(1){b=v[(YK(a,1)<<2)+b>>2];v[290070]=b;if(v[b>>2]){continue}break}}return v[b+8>>2]}function Ev(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;g=Ma-32|0;Ma=g;a:{if(!d|(!b|!c)){break a}b:{f=v[b+64>>2];if(f){break b}f=Eo(0,v[b+80>>2]);v[b+64>>2]=f;if(f){break b}c:{if(!a){b=0;d=0;break c}b=v[a>>2];d=v[a+4>>2];if((v[a+28>>2]&-2)!=-1412623820){break c}e=(b^-1)+a>>>0<249?b:0}v[g>>2]=347600;nb(0,d,b,e,0,23,2,3,347600,0,0,0,340689,g);break a}e=Qa[v[256552]](24)|0;if(!e){d:{if(!a){b=0;e=0;break d}b=v[a>>2];e=v[a+4>>2];if((v[a+28>>2]&-2)!=-1412623820){break d}h=(b^-1)+a>>>0<249?b:0}v[g+16>>2]=290868;nb(0,e,b,h,0,23,2,3,290868,0,0,0,340689,g+16|0);break a}h=Sd(c);v[e+20>>2]=b;v[e+4>>2]=h;e:{if(!(!a|!v[a+44>>2])){a=v[d+8>>2];b=v[b+80>>2];f:{if(b){a=Zc(b,a,-1);break f}a=Sd(a)}v[e+8>>2]=0;v[e+12>>2]=a;break e}v[e+12>>2]=0;v[e+8>>2]=d}i=e,j=aY(v[d+20>>2]),v[i+16>>2]=j;g:{h:{i:{j:{if((HH(f,c,e)|0)<=-1){a=v[e+20>>2];if(a){b=v[a+80>>2];f=v[e+4>>2];if(!f){break i}if(!b){b=0;break j}if(_j(b,f)){break i}f=v[e+4>>2];break j}b=0;f=v[e+4>>2];if(f){break j}f=v[e+12>>2];if(!f){break g}break h}v[d+40>>2]=2;break a}Qa[v[256556]](f)}f=v[e+12>>2];if(!f){break g}if(!b){break h}if(_j(b,f)){break g}f=v[e+12>>2]}Qa[v[256556]](f)}Qa[v[256556]](e)}Ma=g+32|0}function pF(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=Ma-16|0;Ma=f;a:{if((c|0)<1){break a}c=c-1|0;if(!d){while(1){d=c;c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;c=v[b+12>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=c;v[a+16>>2]=0;v[a+20>>2]=v[279250];e=a+16|0;c=v[b+16>>2];b:{if(c){Qa[v[v[c>>2]+28>>2]](f+8|0,c,1);break b}v[f+8>>2]=0}jb(e,f+8|0);c=v[f+8>>2];v[f+8>>2]=0;c:{if(!c){break c}e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(e){break c}e=v[c+4>>2];if(!e){v[c+4>>2]=-32767}if(!e){Qa[v[v[c>>2]+4>>2]](c)}}c=v[a+16>>2];v[a+20>>2]=v[(c?c+12|0:1117e3)>>2];v[a+24>>2]=v[b+24>>2];c=d-1|0;b=b+28|0;a=a+28|0;if((d|0)>0){continue}break a}}while(1){d=c;c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;c=v[b+12>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=c;v[a+16>>2]=0;v[a+20>>2]=v[279250];e=a+16|0;c=v[b+16>>2];d:{if(c){Qa[v[v[c>>2]+28>>2]](f+8|0,c,1);break d}v[f+8>>2]=0}g=b+16|0;jb(e,f+8|0);c=v[f+8>>2];v[f+8>>2]=0;e:{if(!c){break e}e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(e){break e}e=v[c+4>>2];if(!e){v[c+4>>2]=-32767}if(!e){Qa[v[v[c>>2]+4>>2]](c)}}c=v[a+16>>2];v[a+20>>2]=v[(c?c+12|0:1117e3)>>2];v[a+24>>2]=v[b+24>>2];db(g);c=d-1|0;b=b+28|0;a=a+28|0;if((d|0)>0){continue}break}}Ma=f+16|0}function h0(a){var 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;a:{if(!a){break a}b=x[a+2>>1];c=b<<16>>16;if((c|0)<1){break a}h=2;if((c|0)==1){break a}i=v[a+4>>2];j=i+(b<<3)|0;f=i+8|0;d=v[i>>2];e=d;b=i;c=v[b+4>>2];g=c;while(1){b=v[b+12>>2];g=(b|0)>(g|0)?b:g;c=(b|0)<(c|0)?b:c;b=v[f>>2];e=(b|0)>(e|0)?b:e;d=(b|0)<(d|0)?b:d;b=f;f=b+8|0;if(j>>>0>f>>>0){continue}break}if((d|0)==(e|0)|(c|0)==(g|0)|((d|0)<-16777216|(c|0)<-16777216)){break a}if((e|0)>16777216|(g|0)>16777216){break a}m=u[a>>1];if((m|0)>=1){f=0;b=e>>31;e=b+e^b;b=d>>31;b=17-E(e|b+d^b)|0;h=(b|0)>0?b:0;b=17-E(g-c|0)|0;j=(b|0)>0?b:0;p=v[a+12>>2];a=0;while(1){e=u[(l<<1)+p>>1];b:{if((e|0)<(a|0)){break b}b=(e<<3)+i|0;c=v[b>>2]>>h;b=v[b+4>>2]>>j;c:{if(!((e-a|0)+1&1)){g=b;b=a;break c}d=c;c=(a<<3)+i|0;g=v[c+4>>2]>>j;c=v[c>>2]>>h;f=B(g-b|0,d+c|0)+f|0;b=a+1|0}if((a|0)==(e|0)){break b}while(1){n=b+1|0;d=(n<<3)+i|0;a=v[d+4>>2]>>j;k=(b<<3)+i|0;o=v[k+4>>2]>>j;d=v[d>>2]>>h;k=v[k>>2]>>h;f=B(a-o|0,d+k|0)+(B(c+k|0,o-g|0)+f|0)|0;b=b+2|0;c=d;g=a;if((e|0)!=(n|0)){continue}break}}a=e+1|0;l=l+1|0;if((m|0)!=(l|0)){continue}break}h=1;if((f|0)>0){break a}h=0;if(f){break a}}h=2}return h}function a7(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;a:{d=v[v[a+584>>2]+4>>2];a=(c|0)/4|0;if((d|0)>=(a|0)){break a}g=a-d|0;if((d|0)<5){a=d<<2;while(1){b:{switch(d|0){default:c=a+b|0;v[c>>2]=v[c>>2]+v[b>>2];b=b+4|0;case 3:c=a+b|0;v[c>>2]=v[c>>2]+v[b>>2];b=b+4|0;case 2:c=a+b|0;v[c>>2]=v[c>>2]+v[b>>2];b=b+4|0;case 1:c=a+b|0;v[c>>2]=v[c>>2]+v[b>>2];b=b+4|0;break;case 0:break b}}g=g-d|0;if((g|0)>0){continue}break}break a}h=d-4|0;c=d&3;i=d-5>>>0>2;while(1){c:{d:{e:{f:{g:{h:{switch(d|0){case 0:break c;case 1:break d;case 2:break e;case 3:break f;case 4:break g;default:break h}}a=h;e=c;if(c){while(1){f=(d<<2)+b|0;v[f>>2]=v[f>>2]+v[b>>2];a=a-1|0;b=b+4|0;e=e-1|0;if(e){continue}break}}if(!i){break g}while(1){e=d<<2;f=e+b|0;v[f>>2]=v[f>>2]+v[b>>2];f=e+(b+4|0)|0;v[f>>2]=v[f>>2]+v[b+4>>2];f=e+(b+8|0)|0;v[f>>2]=v[f>>2]+v[b+8>>2];e=e+(b+12|0)|0;v[e>>2]=v[e>>2]+v[b+12>>2];b=b+16|0;e=(a|0)>4;a=a-4|0;if(e){continue}break}}a=(d<<2)+b|0;v[a>>2]=v[a>>2]+v[b>>2];b=b+4|0}a=(d<<2)+b|0;v[a>>2]=v[a>>2]+v[b>>2];b=b+4|0}a=(d<<2)+b|0;v[a>>2]=v[a>>2]+v[b>>2];b=b+4|0}a=(d<<2)+b|0;v[a>>2]=v[a>>2]+v[b>>2];b=b+4|0}g=g-d|0;if((g|0)>0){continue}break}}}function Tla(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Ma-80|0;Ma=c;d=c- -64|0;e=a+4|0;js(d,e);f=v[a+16>>2];a:{if(!(Qa[v[v[f>>2]+32>>2]](f,d)|0)){d=c+32|0;js(d,a+20|0);f=c+16|0;js(f,e);Rq(c+48|0,d,f);if(t[c+75|0]<=-1){$a(v[c+64>>2])}v[c+72>>2]=v[c+56>>2];t[c+59|0]=0;d=v[c+52>>2];v[c+64>>2]=v[c+48>>2];v[c+68>>2]=d;v[c+48>>2]=0;if(t[c+27|0]<=-1){$a(v[c+16>>2])}if(t[c+43|0]<=-1){$a(v[c+32>>2])}e=v[a+16>>2];d=0;if(!(Qa[v[v[e>>2]+32>>2]](e,c- -64|0)|0)){break a}}v[c+16>>2]=0;a=v[a+16>>2];Qa[v[v[a>>2]+20>>2]](a,c- -64|0,c+16|0)|0;a=vZ(v[v[c+16>>2]+4>>2]);v[c+12>>2]=a;d=ab(a- -64|0);a=v[c+16>>2];e=uZ(v[a>>2],v[a+4>>2],d,c+12|0);b:{c:{d:{if((e|0)==1){Qa[v[v[b>>2]+136>>2]](b,966572)|0;a=c+32|0;Zg(a,d,v[c+12>>2]);a=Ql(a,966576);v[c+56>>2]=v[a+8>>2];f=v[a+4>>2];v[c+48>>2]=v[a>>2];v[c+52>>2]=f;v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;Qa[v[v[b>>2]+176>>2]](b,c+48|0)|0;if(t[c+59|0]<=-1){$a(v[c+48>>2])}if(t[c+43|0]<=-1){$a(v[c+32>>2])}$a(d);a=v[c+16>>2];if(!a){break b}if(w[a+8|0]){break d}break c}$a(d);a=v[c+16>>2];if(!a){break b}if(!w[a+8|0]){break c}}b=v[a>>2];if(!b){break c}$a(b)}$a(a)}d=(e|0)==1}if(t[c+75|0]<=-1){$a(v[c+64>>2])}Ma=c+80|0;return d|0}function Kja(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Ma-48|0;Ma=d;_E(d+40|0,a);a:{c=!c;e=v[d+40>>2];a=v[e+8>>2];if(a){v[a+4>>2]=v[a+4>>2]+1;a=v[e+8>>2]}else{a=0}b:{if(!(c&v[a+16>>2]<2)){e=v[d+40>>2];c=Ma-32|0;Ma=c;v[c+24>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=0;v[c+4>>2]=0;f=jd(c,970820);JS(e,b,c);vd(f);Ma=c+32|0;break b}e=d+24|0;xy(e,a,0);c=v[d+32>>2];v[d+8>>2]=c;v[d+12>>2]=e;if(!c){break a}nF(d+16|0,v[d+40>>2],v[c+8>>2]+36|0);th(d,v[d+16>>2]);b=v[b>>2];Xp(b,971568,4);Rg(b,v[d>>2]);b=v[d>>2];v[d>>2]=0;c:{if(!b){break c}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break c}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[d+16>>2];v[d+16>>2]=0;d:{if(!b){break d}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break d}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}ac(d+24|0)}e:{if(!a){break e}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break e}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}a=v[d+40>>2];v[d+40>>2]=0;f:{if(!a){break f}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break f}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=d+48|0;return}wd(d+8|0,d+24|0);L()}function nm(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=Ma-144|0;Ma=e;v[e+128>>2]=13;g=v[a+12>>2];f=(g|0)<4?g:4;a:{b:{if((g|0)<1){break b}j=(f|0)>1?f:1;while(1){k=(e+96|0)+(i<<3)|0;if(v[ub(a,i,e+128|0,0)>>2]-1>>>0<=1){h=v[e+128>>2]==1?+v[e+136>>2]:A[e+136>>3]}else{h=0}A[k>>3]=h;bb(e+128|0);i=i+1|0;if((j|0)!=(i|0)){continue}break}c:{if((((g|0)>3?0-c|0:c)|0)>=1){if((g|0)<1){break c}A[e+96>>3]=A[e+96>>3]*.5+.5;if((f|0)<2){break c}A[e+104>>3]=A[e+104>>3]*.5+.5;a=(f|0)>1?f:1;if((a|0)==2){break c}A[e+112>>3]=A[e+112>>3]*.5+.5;if((a|0)==3){break c}A[e+120>>3]=A[e+120>>3]*.5+.5;break c}if(!c|(g|0)<1){break c}A[e+96>>3]=A[e+96>>3]*.5;a=(f|0)>1;if(!a){break c}A[e+104>>3]=A[e+104>>3]*.5;a=a?f:1;if((a|0)==2){break c}A[e+112>>3]=A[e+112>>3]*.5;if((a|0)==3){break c}A[e+120>>3]=A[e+120>>3]*.5}if((g|0)<4){break b}A[e+16>>3]=A[e+112>>3];A[e+24>>3]=A[e+120>>3];v[e+32>>2]=b?107:75;A[e>>3]=A[e+96>>3];A[e+8>>3]=A[e+104>>3];Fb(d,337518,e);break a}h=A[e+96>>3];if((f|0)==3){A[e- -64>>3]=A[e+112>>3];v[e+72>>2]=b?271710:311564;A[e+48>>3]=h;A[e+56>>3]=A[e+104>>3];Fb(d,337480,e+48|0);break a}A[e+80>>3]=h;v[e+88>>2]=b?103:71;Fb(d,337557,e+80|0)}Ma=e+144|0}function op(a,b){var c=0,d=0,e=0;c=-1;a:{d=v[a+8>>2];b:{if(d&7){break b}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break a}d=b>>>24|0;v[a+4>>2]=v[a+4>>2]|32;c=-1;e=v[a+28>>2];v[a+28>>2]=e-1;c:{if((e|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;t[c|0]=d;break c}if((Cb(a,d)|0)==-1){break b}}c=-1;d=v[a+8>>2];if(d&7){break b}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break a}d=b>>>16|0;v[a+4>>2]=v[a+4>>2]|32;c=-1;e=v[a+28>>2];v[a+28>>2]=e-1;d:{if((e|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;t[c|0]=d;break d}if((Cb(a,d&255)|0)==-1){break b}}c=-1;d=v[a+8>>2];if(d&7){break b}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break a}d=b>>>8|0;v[a+4>>2]=v[a+4>>2]|32;c=-1;e=v[a+28>>2];v[a+28>>2]=e-1;e:{if((e|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;t[c|0]=d;break e}if((Cb(a,d&255)|0)==-1){break b}}c=-1;d=v[a+8>>2];if(d&7){break b}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break a}v[a+4>>2]=v[a+4>>2]|32;c=-1;d=v[a+28>>2];v[a+28>>2]=d-1;f:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=a;a=v[a+24>>2];v[c+24>>2]=a+1;t[a|0]=b;break f}if((Cb(a,b&255)|0)==-1){break b}}c=0}return c}v[a+8>>2]=d|4;return-1}function ffa(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;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0;p=Ma-32|0;Ma=p;a:{if((f|0)>=0){n=v[a+3312>>2];s=(e|0)<1;while(1){q=i;o=k;k=l;if(!s){i=w[k+1|0]|(w[h|0]<<9|w[h-1|0]<<10|w[h+1|0]<<8|w[q-1|0]<<7|w[j|0]<<6|w[o-1|0]<<5|w[o|0]<<4|w[o+1|0]<<3|w[k-1|0]<<2|w[k|0]<<1);l=0;while(1){u=l+q|0;m=(a+i|0)+1264|0;r=v[((w[m|0]<<2)+n|0)+44>>2]+v[n+20>>2]|0;b:{if(r>>>0<=y[n+28>>2]){v[n+20>>2]=r;m=t[m|0]&1;break b}m=dg(n,m,r)}t[u|0]=m;m=i<<1&1590|m<<7;i=l+2|0;l=l+1|0;i=m|w[i+h|0]<<8|w[l+j|0]<<6|w[i+o|0]<<3|w[i+k|0];if((e|0)!=(l|0)){continue}break}}if(!v[b+20>>2]){Re(b)}h=f-1|0;c:{if(!((f|0)>=1&x[b+8>>1]>=(f|0))){i=x[b+12>>1];if(v[279246]<(i+x[b+14>>1]|0)){break a}i=i+v[279245]|0;break c}i=v[b+20>>2]+(x[b+12>>1]+B(h,x[b+14>>1])|0)|0}if(!v[c+20>>2]){Re(c)}d:{e:{if((g|0)>=2){j=g-2|0;if((j|0)>1]){break e}}j=x[c+12>>1];if(v[279246]<(j+x[c+14>>1]|0)){break a}j=j+v[279245]|0;break d}j=v[c+20>>2]+(x[c+12>>1]+B(j,x[c+14>>1])|0)|0}g=g-1|0;Bu(b);l=d+j|0;m=(f|0)>0;f=h;j=o;h=q;if(m){continue}break}}Ma=p+32|0;return}lb(mb(p+8|0,260021,271561,577,327329));L()}function a0(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=Ma-16|0;Ma=h;v[h+12>>2]=0;a:{if(!a){d=33;break a}d=6;if(!b|!c){break a}if((b|0)==(c|0)){d=0;break a}f=v[c+8>>2];i=(f|0)>-1?1:-1;d=0;e=v[b+8>>2];j=e>>31|1;if(!v[b+12>>2]){a=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=a;a=v[b+20>>2];v[c+16>>2]=v[b+16>>2];v[c+20>>2]=a;a=v[b+12>>2];v[c+8>>2]=v[b+8>>2];v[c+12>>2]=a;if((i|0)==(j|0)){break a}v[c+8>>2]=0-v[c+8>>2];break a}d=e>>31;e=d+e^d;g=B(e,v[b>>2]);a=v[a>>2];l=c;d=v[c+12>>2];b:{c:{if(d){k=f>>31;f=B(v[c>>2],k^f+k);if((f|0)==(g|0)){break b}d=g0(a,f,g,d,h+12|0);break c}d=jB(a,g,h+12|0)}v[l+12>>2]=d}d:{if(v[h+12>>2]){break d}a=v[b+12>>2];v[c+8>>2]=v[b+8>>2];v[c+12>>2]=a;a=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=a;a=v[b+20>>2];v[c+16>>2]=v[b+16>>2];v[c+20>>2]=a;v[c+12>>2]=d;if((i|0)==(j|0)){cb(d,v[b+12>>2],g);break d}a=v[c>>2];if(!a){break d}c=0-e|0;f=a-1|0;d=B(f,e)+d|0;b=v[b+12>>2];g=a&3;if(g){while(1){a=a-1|0;d=cb(d,b,e)+c|0;b=b+e|0;g=g-1|0;if(g){continue}break}}if(f>>>0<3){break d}while(1){f=b+e|0;i=f+e|0;g=i+e|0;d=cb(cb(cb(cb(d,b,e)+c|0,f,e)+c|0,i,e)+c|0,g,e)+c|0;b=e+g|0;a=a-4|0;if(a){continue}break}}d=v[h+12>>2]}Ma=h+16|0;return d}function V6(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;a:{e=v[v[a+584>>2]+4>>2];a=(c|0)/2|0;if((e|0)>=(a|0)){break a}h=a-e|0;a=((h<<1)+b|0)-2|0;if((e|0)<5){b=e<<1;while(1){b:{switch(e|0){default:c=a+b|0;u[c>>1]=x[c>>1]-x[a>>1];a=a-2|0;case 3:c=a+b|0;u[c>>1]=x[c>>1]-x[a>>1];a=a-2|0;case 2:c=a+b|0;u[c>>1]=x[c>>1]-x[a>>1];a=a-2|0;case 1:c=a+b|0;u[c>>1]=x[c>>1]-x[a>>1];a=a-2|0;break;case 0:break b}}h=h-e|0;if((h|0)>0){continue}break}break a}i=e-4|0;c=e&3;j=e-5>>>0>2;g=e<<1;while(1){c:{d:{e:{f:{g:{h:{switch(e|0){case 0:break c;case 1:break d;case 2:break e;case 3:break f;case 4:break g;default:break h}}b=i;d=c;if(d){while(1){f=a+g|0;u[f>>1]=x[f>>1]-x[a>>1];b=b-1|0;a=a-2|0;d=d-1|0;if(d){continue}break}}if(!j){break g}while(1){d=a+g|0;u[d>>1]=x[d>>1]-x[a>>1];d=a-2|0;f=d+g|0;u[f>>1]=x[f>>1]-x[d>>1];d=a-4|0;f=d+g|0;u[f>>1]=x[f>>1]-x[d>>1];d=a-6|0;f=d+g|0;u[f>>1]=x[f>>1]-x[d>>1];a=a-8|0;d=(b|0)>4;b=b-4|0;if(d){continue}break}}b=a+g|0;u[b>>1]=x[b>>1]-x[a>>1];a=a-2|0}b=a+g|0;u[b>>1]=x[b>>1]-x[a>>1];a=a-2|0}b=a+g|0;u[b>>1]=x[b>>1]-x[a>>1];a=a-2|0}b=a+g|0;u[b>>1]=x[b>>1]-x[a>>1];a=a-2|0}h=h-e|0;if((h|0)>0){continue}break}}}function bYa(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;if(e){q=e-1|0;r=e-2|0;p=(e|0)==1;while(1){a=f;t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];f=a+3|0;g=g+3|0;a:{if(!p&l>>>0>=q>>>0){break a}j=l?(l|0)==(r|0)?d:b:c;h=!l&p;if(!h){i=1;if(j>>>0<=1){break a}m=h?0:f;n=j<<1;while(1){o=g;k=w[m|0];h=w[a|0];if((k|0)!=(h|0)){h=h+(((B(k-h|0,i)<<1)+j|0)/(n|0)|0)|0}t[o|0]=h;k=w[m+1|0];h=w[a+1|0];if((k|0)!=(h|0)){h=h+(((B(k-h|0,i)<<1)+j|0)/(n|0)|0)|0}t[o+1|0]=h;k=w[m+2|0];h=w[a+2|0];if((k|0)!=(h|0)){h=h+(((B(k-h|0,i)<<1)+j|0)/(n|0)|0)|0}t[o+2|0]=h;g=g+3|0;i=i+1|0;if((i|0)!=(j|0)){continue}break}break a}if(j>>>0<2){break a}h=j-1|0;i=h&3;if(j-2>>>0>=3){h=h&-4;while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];t[g+3|0]=w[a|0];t[g+4|0]=w[a+1|0];t[g+5|0]=w[a+2|0];t[g+6|0]=w[a|0];t[g+7|0]=w[a+1|0];t[g+8|0]=w[a+2|0];t[g+9|0]=w[a|0];t[g+10|0]=w[a+1|0];t[g+11|0]=w[a+2|0];g=g+12|0;h=h-4|0;if(h){continue}break}}if(!i){break a}while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];g=g+3|0;i=i-1|0;if(i){continue}break}}l=l+1|0;if((l|0)!=(e|0)){continue}break}}return 0}function PX(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{if(!c){break a}b:{if(b){if(v[b+4>>2]!=1){break a}e=Nv(v[b+32>>2],v[c+8>>2]);break b}if(a){e=Nv(a,v[c+8>>2]);break b}a=v[c+20>>2];if(a){e=Nv(v[a+32>>2],v[c+8>>2]);break b}a=v[c+12>>2];if(a){e=Nv(v[a+32>>2],v[c+8>>2]);break b}e=Nv(0,v[c+8>>2])}if(!e){break a}v[e+20>>2]=b;a=v[c+36>>2];c:{d:{if(!a|!b){break d}f=Fk(v[b+32>>2],b,v[a+12>>2]);if(!f){g=Fk(v[c+32>>2],v[c+20>>2],v[v[c+36>>2]+12>>2]);if(!g){break c}a=b;while(1){f=d;d=a;a=v[a+20>>2];if(a){continue}break}f=Dk(v[b+32>>2]==(d|0)?f:d,v[g+8>>2],v[g+12>>2]);break d}g=v[c+36>>2];a=v[g+8>>2];d=v[f+8>>2];if((a|0)==(d|0)){break d}e:{if(!d|!a){break e}while(1){h=w[d|0];if((h|0)!=w[a|0]){break e}a=a+1|0;d=d+1|0;if(h){continue}break}break d}f=OX(v[b+32>>2],b,g)}v[e+36>>2]=f}a=v[c+12>>2];f:{if(!a){break f}d=NX(a,v[e+32>>2],e);v[e+16>>2]=0;v[e+12>>2]=d;if(!d){break f}while(1){a=d;d=v[a+24>>2];if(d){continue}break}v[e+16>>2]=a}g:{if(!b|!v[b+32>>2]){break g}a=v[c+32>>2];if(!a|!v[a+64>>2]){break g}d=v[c+20>>2];if(!d){break g}if(!Rz(a,d,c)){break g}a=Ov(v[c+32>>2],v[c+12>>2]);if(!a){break g}Ev(0,v[b+32>>2],a,e);Qa[v[256556]](a)}d=e}return d}function Df(a,b){var c=0,d=0,e=0,f=0;a:{if(!a){break a}c=v[a+4>>2];if(!b|(c|0)==18){break a}e=v[b+4>>2];if((e|0)==18|(a|0)==(b|0)){break a}b:{c:{d:{e:{f:{g:{h:{if((e|0)!=3){break h}if(!(!v[a+40>>2]|(c|0)!=3|v[a+8>>2]!=v[b+8>>2])){Xz(a,v[b+40>>2]);break g}c=v[a+16>>2];if(!c|v[c+4>>2]!=3|((b|0)==(c|0)|v[c+8>>2]!=v[b+8>>2])){break h}Xz(c,v[b+40>>2]);Ck(b);return v[a+16>>2]}c=v[b+20>>2];v[b+20>>2]=a;e=v[a+32>>2];if((e|0)!=v[b+32>>2]){ul(b,e)}if((a|0)==(c|0)){break b}c=v[a+4>>2];if((c|0)!=3){break e}if(!v[a+40>>2]){break f}c=v[b+40>>2];if(!c){break g}e=0;if(w[c|0]){d=c;while(1){e=e+1|0;f=w[d+1|0];d=d+1|0;if(f){continue}break}}Wz(a,c,e)}Ck(b);return a}if(v[b+4>>2]!=2){break d}break a}if(v[b+4>>2]==2){break c}}if(!v[a+12>>2]){v[a+16>>2]=b;v[a+12>>2]=b;break b}d=v[a+16>>2];v[d+24>>2]=b;v[b+28>>2]=d;v[a+16>>2]=b;break b}if((c|0)!=1){break a}i:{if(v[a+44>>2]){d=a;e=v[b+8>>2];c=v[b+36>>2];if(c){c=v[c+8>>2]}else{c=0}d=CH(d,e,c);if(!(!d|(b|0)==(d|0)|v[d+4>>2]==16)){hj(d);Pv(d)}if((b|0)==(d|0)){break b}d=v[a+44>>2];if(d){break i}}v[a+44>>2]=b;break b}while(1){a=d;d=v[a+24>>2];if(d){continue}break}v[a+24>>2]=b;v[b+28>>2]=a}d=b}return d}function rQa(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,h=0,i=0,j=C(0),k=0,l=0,m=0;a:{if(v[a+624>>2]==8){break a}Qa[v[v[a>>2]+136>>2]](a,351224)|0;Tq(a);e=Hw(a,a+88|0);h=v[a+16>>2];f=v[a+12>>2];l=A[c>>3];m=A[d>>3];c=Ma-144|0;Ma=c;if(!v[e+4>>2]){d=Dm(c+136|0,h+48|0);Mk(d,h+52|0,0);rt(d,c+80|0);A[c+72>>3]=l;A[c+64>>3]=m;k=Dm(c+56|0,d);qt(k);Mk(k,h+56|0,0);zd(k,c+72|0,c- -64|0);A[c+48>>3]=C(A[c+80>>3]);A[c+40>>3]=C(A[c+88>>3]);A[c+32>>3]=C(A[c+96>>3]);A[c+24>>3]=C(A[c+104>>3]);A[c+16>>3]=C(A[c+112>>3]);A[c+8>>3]=C(A[c+120>>3]);a=c+48|0;g=c+40|0;i=c+32|0;Qa[v[v[f>>2]+120>>2]](f,a,g,i,c+24|0,c+16|0,c+8|0)|0;v[h+2860>>2]=v[f+160>>2];z[c+48>>2]=A[c+72>>3];z[c+40>>2]=A[c+64>>3];Qa[v[v[f>>2]+84>>2]](f,b,a,g)|0;v[c+48>>2]=0;v[c+40>>2]=0;v[c+32>>2]=0;if(Qa[v[v[f>>2]+184>>2]](f,i,a,g)|0){while(1){i=v[c+32>>2];if(i){j=z[c+40>>2];b:{if(C(D(j))>2];c:{if(C(D(j))>2]=0;if(Qa[v[v[f>>2]+184>>2]](f,c+32|0,c+48|0,c+40|0)|0){continue}break}}me(k);me(d)}Ma=c+144|0;if(!e){break a}Qa[v[v[e>>2]+4>>2]](e)}return 0}function QC(a,b,c){var d=0,e=0,f=0,g=0;f=Ma-16|0;Ma=f;d=v[a+188>>2];if(d){$a(d)}d=Tf(a,v[a+180>>2],4,47799);v[a+188>>2]=d;a:{if(!d){b=-1;break a}b:{c:{d:{if(x[a+88>>1]!=1){e=B(c,12)+14|0;g=Qa[v[a+648>>2]](v[a+628>>2])|0;if(c){while(1){d=x[b+2>>1];if(d>>>0<=13){d=v[(d<<2)+81924>>2]}else{d=0}if(!d){c=v[a+628>>2];a=v[a>>2];v[f+4>>2]=x[b+2>>1];v[f>>2]=a;wb(c,82544,48540,f);b=-1;break a}d=B(d,v[b+4>>2]);e=(d>>>0>4?d:0)+e|0;b=b+12|0;c=c-1|0;if(c&65535){continue}break}}e=g-e|0;e=x[a+138>>1]==2?(e>>>0)/x[a+98>>1]|0:e;d=v[a+188>>2];if(!v[a+180>>2]){break d}c=0;while(1){b=c;v[d+(b<<2)>>2]=e;c=b+1|0;if(c>>>0>2]){continue}break}break c}if(w[a+13|0]&4){c=$k(a);if(!v[a+180>>2]){break b}d=v[a+188>>2];b=0;while(1){v[d+(b<<2)>>2]=c;b=b+1|0;if(b>>>0>2]){continue}break}break b}b=Gi(a);if(!v[a+180>>2]){break b}c=B(y[a+60>>2]/y[a+176>>2]|0,b);d=v[a+188>>2];b=0;while(1){v[d+(b<<2)>>2]=c;b=b+1|0;if(b>>>0>2]){continue}break}break b}e=v[d-4>>2];b=-1}b=b<<2;c=v[b+v[a+184>>2]>>2];if(c+e>>>0<=g>>>0){break b}v[b+d>>2]=g-c}c=v[a+40>>2];v[a+40>>2]=c|16777216;b=1;if(c&131072){break a}v[a+100>>2]=v[a+60>>2]}Ma=f+16|0;return b}function Gda(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;var j=0,k=0,l=0,m=0,n=0,o=0,p=0;j=Ma-16|0;Ma=j;n=e&3;o=e>>>2|0;p=h<<2;while(1){e=o;while(1){c=i;h=w[c+4|0];i=w[c+5|0];k=j+12|0;l=j+8|0;m=j+4|0;Ic(v[a+68>>2],w[c|0],h,i,k,l,m);d=b;v[d>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Ic(v[a+68>>2],w[c+1|0],h,i,k,l,m);v[d+4>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Ic(v[a+68>>2],w[c+2|0],h,i,k,l,m);v[d+8>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Ic(v[a+68>>2],w[c+3|0],h,i,k,l,m);v[d+12>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;i=c+6|0;b=d+16|0;e=e-1|0;if(e){continue}break}a:{if(!n){i=c;break a}e=w[c+11|0];h=w[c+10|0];b:{switch(n-1|0){case 2:Ic(v[a+68>>2],w[c+8|0],h,e,j+12|0,j+8|0,j+4|0);v[d+24>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;case 1:Ic(v[a+68>>2],w[c+7|0],h,e,j+12|0,j+8|0,j+4|0);v[d+20>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;case 0:Ic(v[a+68>>2],w[i|0],h,e,j+12|0,j+8|0,j+4|0);v[b>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;break;default:break b}}b=(n<<2)+b|0}i=(g+i|0)+6|0;b=b+p|0;f=f-1|0;if(f){continue}break}Ma=j+16|0}function WC(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=v[a>>2];if(a){b=v[a+204>>2];v[a+204>>2]=b-1;if((b|0)<=1){j=v[a>>2];b=v[a+16>>2];a:{if(!b){break a}while(1){g=v[((f<<2)+a|0)+20>>2];c=v[g>>2];b:{if(hb(v[c+8>>2],320323)|!(t[c|0]&1)){break b}c=v[g+16>>2];if(!c){break b}while(1){b=v[c+8>>2];c:{if(!b){break c}c=v[b+96>>2];if(!c){break c}d=v[b+128>>2];e=v[d+64>>2];v[d+64>>2]=e-1;if((e|0)>1){break c}e=v[c+8>>2];h=c+16|0;d=wn(h,b);if(!d){break c}jt(h,d);if(d){Qa[v[e+8>>2]](e,d)}lt(e,b,c)}c=v[g+16>>2];if(c){continue}break}b=v[a+16>>2]}f=f+1|0;if(f>>>0>>0){continue}break}if(!b){break a}f=0;while(1){g=v[((f<<2)+a|0)+20>>2];d:{if(!(t[v[g>>2]]&1)){break d}c=v[g+16>>2];if(!c){break d}while(1){b=v[c+8>>2];e:{if(!b){break e}c=v[b+96>>2];if(!c){break e}d=v[b+128>>2];e=v[d+64>>2];v[d+64>>2]=e-1;if((e|0)>1){break e}e=v[c+8>>2];h=c+16|0;d=wn(h,b);if(!d){break e}jt(h,d);if(d){Qa[v[e+8>>2]](e,d)}lt(e,b,c)}c=v[g+16>>2];if(c){continue}break}b=v[a+16>>2]}f=f+1|0;if(f>>>0>>0){continue}break}if(!b){break a}while(1){b=v[((b<<2)+a|0)+16>>2];if(a){eN(a,b)}b=v[a+16>>2];if(b){continue}break}}if(a){Qa[v[j+8>>2]](j,a)}}}Qa[v[i+8>>2]](i,i)}function Oj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=gb(44);if(!c){return 0}v[c+36>>2]=0;v[c+32>>2]=a;v[c+28>>2]=0;v[c+24>>2]=b;v[c+20>>2]=a;v[c>>2]=0;b=B(a,b);v[c+40>>2]=b;a:{b:{if((a|0)>=1){b=gb(a<<2);v[c+28>>2]=b;if(!b){a=v[c+36>>2];if(a){if(t[c|0]&1){break b}$a(a);v[c+36>>2]=0;b=v[c+28>>2]}if(!b){break a}$a(b);v[c+28>>2]=0;break a}b=v[c+40>>2]}c:{if((b|0)<1){break c}b=gb(b<<2);v[c+36>>2]=b;if(b){break c}a=v[c+28>>2];if(!a){break a}$a(a);v[c+28>>2]=0;break a}d:{if((a|0)<1){break d}f=a&3;e=v[c+24>>2];b=0;if(a-1>>>0>=3){a=a&-4;while(1){v[v[c+28>>2]+(b<<2)>>2]=v[c+36>>2]+(B(b,e)<<2);d=b|1;v[v[c+28>>2]+(d<<2)>>2]=v[c+36>>2]+(B(e,d)<<2);d=b|2;v[v[c+28>>2]+(d<<2)>>2]=v[c+36>>2]+(B(e,d)<<2);d=b|3;v[v[c+28>>2]+(d<<2)>>2]=v[c+36>>2]+(B(e,d)<<2);b=b+4|0;a=a-4|0;if(a){continue}break}}if(!f){break d}while(1){v[v[c+28>>2]+(b<<2)>>2]=v[c+36>>2]+(B(b,e)<<2);b=b+1|0;f=f-1|0;if(f){continue}break}}if(v[c+40>>2]>=1){a=v[c+36>>2];b=0;while(1){v[a+(b<<2)>>2]=0;b=b+1|0;if((b|0)>2]){continue}break}}v[c+4>>2]=0;v[c+8>>2]=0;g=c,h=D3a(v[c+20>>2],v[c+24>>2],32),v[g+12>>2]=h;v[c+16>>2]=Pa;return c}O(11906,6607,151,188425);L()}$a(c);return 0}function zY(a,b){var 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;f=v[a+124>>2];d=f;c=f>>>2|0;f=v[a+120>>2];j=f>>>0>2]?d:c;d=v[a+108>>2];c=(d-v[a+44>>2]|0)+262|0;n=c>>>0>d>>>0?0:c;i=v[a+116>>2];c=v[a+144>>2];o=c>>>0>i>>>0?i:c;k=v[a+56>>2];h=d+k|0;p=h+258|0;d=f+h|0;l=w[d|0];m=w[d-1|0];q=v[a+52>>2];r=v[a+64>>2];while(1){a:{e=b+k|0;d=f+e|0;b:{if(w[d|0]!=(l|0)|w[d-1|0]!=(m|0)|w[e|0]!=w[h|0]){break b}d=2;if(w[e+1|0]!=w[h+1|0]){break b}c:{d:{e:{f:{g:{h:{i:{while(1){c=d+h|0;if(w[c+1|0]!=w[e+3|0]){break d}if(w[c+2|0]!=w[e+4|0]){break e}if(w[c+3|0]!=w[e+5|0]){break f}if(w[c+4|0]!=w[e+6|0]){break g}if(w[c+5|0]!=w[e+7|0]){break h}if(w[c+6|0]!=w[e+8|0]){break i}if(w[c+7|0]==w[e+9|0]){c=d+8|0;g=c+h|0;if(w[g|0]!=w[e+10|0]){break c}e=e+8|0;s=d>>>0<250;d=c;if(s){continue}break c}break}g=c+7|0;break c}g=c+6|0;break c}g=c+5|0;break c}g=c+4|0;break c}g=c+3|0;break c}g=c+2|0;break c}g=c+1|0}c=g-p|0;d=c+258|0;if((d|0)<=(f|0)){break b}v[a+112>>2]=b;if((d|0)>=(o|0)){f=d;break a}l=w[d+h|0];m=w[(c+h|0)+257|0];f=d}b=x[((b&q)<<1)+r>>1];if(n>>>0>=b>>>0){break a}j=j-1|0;if(j){continue}}break}return f>>>0>i>>>0?i:f}function GFa(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,n=0,o=0,p=0,q=0;q=Ma-144|0;Ma=q;n=v[a+332>>2];b=v[b+84>>2];a=q;while(1){g=v[b+64>>2];k=u[c+32>>1];i=B(u[c>>1],v[b>>2])<<13|1024;j=B(v[b+128>>2],u[c+64>>1]);o=i+B(j,-11586)>>11;f=B(v[b+32>>2],u[c+16>>1]);h=B(v[b+96>>2],u[c+48>>1]);m=B(v[b+160>>2],u[c+80>>1]);p=f-(h+m|0)<<2;v[a+96>>2]=o-p;v[a+24>>2]=o+p;g=B(B(g,k),10033);k=i+B(j,5793)|0;j=g+k|0;i=f+h<<13;f=B(f+m|0,2998);i=i+f|0;v[a+120>>2]=j-i>>11;v[a>>2]=j+i>>11;g=k-g|0;f=f+(m-h<<13)|0;v[a+72>>2]=g-f>>11;v[a+48>>2]=f+g>>11;a=a+4|0;b=b+4|0;c=c+2|0;l=l+1|0;if((l|0)!=6){continue}break}a=n+128|0;l=0;c=q;while(1){f=v[c+20>>2];h=v[c+4>>2];m=B(f+h|0,2998);b=v[(l<<2)+d>>2]+e|0;n=v[c+12>>2];g=m+(n+h<<13)|0;j=(v[c>>2]<<13)+131072|0;k=v[c+16>>2];i=j+B(k,5793)|0;o=B(v[c+8>>2],10033);p=i+o|0;t[b|0]=w[a+(g+p>>>18&1023)|0];t[b+5|0]=w[a+(p-g>>>18&1023)|0];h=h-(f+n|0)<<13;g=j+B(k,-11586)|0;t[b+1|0]=w[a+(h+g>>>18&1023)|0];t[b+4|0]=w[a+(g-h>>>18&1023)|0];f=m+(f-n<<13)|0;h=i-o|0;t[b+2|0]=w[a+(f+h>>>18&1023)|0];t[b+3|0]=w[a+(h-f>>>18&1023)|0];c=c+24|0;l=l+1|0;if((l|0)!=6){continue}break}Ma=q+144|0}function Wca(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,h=0,i=0;a=Ma-272|0;Ma=a;v[a+256>>2]=c;v[a+264>>2]=b;h=ud(a+208|0);g=a+16|0;b=v[d+28>>2];v[g>>2]=b;v[b+4>>2]=v[b+4>>2]+1;b=Yi(g);Qa[v[v[b>>2]+32>>2]](b,1004032,1004058,a+224|0)|0;b=v[g>>2];c=v[b+4>>2]-1|0;v[b+4>>2]=c;if((c|0)==-1){Qa[v[v[b>>2]+8>>2]](b)}c=ud(a+192|0);md(c,w[c+11|0]>>>7|0?(v[c+8>>2]&2147483647)-1|0:10);d=a;if(w[c+11|0]>>>7|0){b=v[c>>2]}else{b=c}v[d+188>>2]=b;v[a+12>>2]=g;v[a+8>>2]=0;while(1){a:{if(!Mh(a+264|0,a+256|0)){break a}g=v[a+188>>2];if(w[c+11|0]>>>7|0){d=v[c+4>>2]}else{d=w[c+11|0]}if((g|0)==(d+b|0)){b=c;b:{if(w[b+11|0]>>>7|0){d=v[b+4>>2];break b}d=w[b+11|0]}g=b;if(w[b+11|0]>>>7|0){i=v[b+4>>2]}else{i=w[b+11|0]}md(g,i<<1);md(b,w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10);g=a;if(w[b+11|0]>>>7|0){b=v[c>>2]}else{b=c}v[g+188>>2]=d+b}if(Cr(sf(a+264|0),16,b,a+188|0,a+8|0,0,h,a+16|0,a+12|0,a+224|0)){break a}Zf(a+264|0);continue}break}md(c,v[a+188>>2]-b|0);if(w[c+11|0]>>>7|0){b=v[c>>2]}else{b=c}d=te();v[a>>2]=f;if((CO(b,d,a)|0)!=1){v[e>>2]=4}if(yg(a+264|0,a+256|0)){v[e>>2]=v[e>>2]|2}b=v[a+264>>2];Vb(c);Vb(h);Ma=a+272|0;return b|0}function eA(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;h=Ma-16|0;Ma=h;a:{if(v[a+48>>2]?a:0){break a}e=Qa[v[256552]](64)|0;if(!e){v[h>>2]=312247;nb(0,0,0,0,0,2,2,3,312247,0,0,0,340689,h);e=0;break a}v[e>>2]=0;v[e+4>>2]=0;v[e+56>>2]=0;v[e+60>>2]=0;v[e+48>>2]=0;v[e+52>>2]=0;v[e+40>>2]=0;v[e+44>>2]=0;v[e+32>>2]=0;v[e+36>>2]=0;v[e+24>>2]=0;v[e+28>>2]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;v[e+4>>2]=14;if(b){f=b;while(1){g=f;f=f+1|0;if(w[g|0]){continue}break}f=0;g=g-b|0;b:{if((g|0)<0){break b}i=Qa[v[256555]](g+1|0)|0;if(!i){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break b}f=cb(i,b,g);t[g+f|0]=0}v[e+8>>2]=f}if(c){f=c;while(1){b=f;f=b+1|0;if(w[b|0]){continue}break}f=0;b=b-c|0;c:{if((b|0)<0){break c}g=Qa[v[256555]](b+1|0)|0;if(!g){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break c}f=cb(g,c,b);t[b+f|0]=0}v[e+52>>2]=f}if(d){f=d;while(1){b=f;f=b+1|0;if(w[b|0]){continue}break}f=0;b=b-d|0;d:{if((b|0)<0){break d}c=Qa[v[256555]](b+1|0)|0;if(!c){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break d}f=cb(c,d,b);t[b+f|0]=0}v[e+56>>2]=f}if(a){v[a+48>>2]=e}v[e+32>>2]=a;if(!v[291069]){break a}a=v[291066];if(!a){break a}Qa[a|0](e)}Ma=h+16|0;return e}function c9(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;c=Ma-176|0;Ma=c;e=v[a+584>>2];if(e){d=v[a+48>>2];if(d&512){a:{b:{if(x[a+88>>1]==4){Lb(43275,18,1,b);d=42492;if(w[e+28|0]&2){break b}break a}Lb(44980,18,1,b);d=42492;f=v[e+28>>2];if(f&1){v[c+160>>2]=42492;vb(b,45347,c+160|0);f=v[e+28>>2];d=46501}if(f&4){v[c+144>>2]=d;vb(b,46849,c+144|0);f=v[e+28>>2];d=46501}if(!(f&2)){break a}}v[c+128>>2]=d;vb(b,43974,c+128|0)}d=v[e+28>>2];v[c+116>>2]=d;v[c+112>>2]=d;vb(b,47783,c+112|0);d=v[a+48>>2]}if(d&8){Lb(48202,11,1,b);c:{d:{switch(x[e+16>>1]){case 0:Lb(48393,6,1,b);break c;case 1:Lb(49102,21,1,b);break c;case 2:break d;default:break c}}Lb(49353,19,1,b)}d=x[e+16>>1];v[c+100>>2]=d;v[c+96>>2]=d;vb(b,50317,c+96|0);d=v[a+48>>2]}if(d&4){v[c+80>>2]=v[e+24>>2];vb(b,50741,c+80|0);d=v[a+48>>2]}if(d&16){v[c+64>>2]=v[e+20>>2];vb(b,51140,c- -64|0);d=v[a+48>>2]}if(d&32){v[c+48>>2]=v[e+32>>2];vb(b,51569,c+48|0);d=v[a+48>>2]}if(d&64){v[c+32>>2]=v[e+36>>2];vb(b,52071,c+32|0);d=v[a+48>>2]}if(d&128){v[c+16>>2]=v[e+40>>2];vb(b,52475,c+16|0);d=v[a+48>>2]}if(d&256){v[c>>2]=v[e+44>>2];vb(b,52956,c)}Ma=c+176|0;return}O(40584,7814,1268,86104);L()}function Z6(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;a:{d=v[v[a+584>>2]+4>>2];a=(c|0)/2|0;if((d|0)>=(a|0)){break a}mr(b,a);f=a-d|0;if((d|0)<5){a=d<<1;while(1){b:{switch(d|0){default:c=a+b|0;u[c>>1]=x[c>>1]+x[b>>1];b=b+2|0;case 3:c=a+b|0;u[c>>1]=x[c>>1]+x[b>>1];b=b+2|0;case 2:c=a+b|0;u[c>>1]=x[c>>1]+x[b>>1];b=b+2|0;case 1:c=a+b|0;u[c>>1]=x[c>>1]+x[b>>1];b=b+2|0;break;case 0:break b}}f=f-d|0;if((f|0)>0){continue}break}break a}h=d-4|0;i=d&3;j=d-5>>>0>2;e=d<<1;while(1){c:{d:{e:{f:{g:{h:{switch(d|0){case 0:break c;case 1:break d;case 2:break e;case 3:break f;case 4:break g;default:break h}}c=h;a=i;if(a){while(1){g=b+e|0;u[g>>1]=x[g>>1]+x[b>>1];c=c-1|0;b=b+2|0;a=a-1|0;if(a){continue}break}}if(!j){break g}while(1){a=b+e|0;u[a>>1]=x[a>>1]+x[b>>1];a=(b+2|0)+e|0;u[a>>1]=x[a>>1]+x[b+2>>1];a=(b+4|0)+e|0;u[a>>1]=x[a>>1]+x[b+4>>1];a=(b+6|0)+e|0;u[a>>1]=x[a>>1]+x[b+6>>1];b=b+8|0;a=(c|0)>4;c=c-4|0;if(a){continue}break}}a=b+e|0;u[a>>1]=x[a>>1]+x[b>>1];b=b+2|0}a=b+e|0;u[a>>1]=x[a>>1]+x[b>>1];b=b+2|0}a=b+e|0;u[a>>1]=x[a>>1]+x[b>>1];b=b+2|0}a=b+e|0;u[a>>1]=x[a>>1]+x[b>>1];b=b+2|0}f=f-d|0;if((f|0)>0){continue}break}}}function Sha(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;if(!w[a+88|0]){e=a,f=Qa[v[v[a>>2]+36>>2]](a)|0,v[e+72>>2]=f;e=a,f=Qa[v[v[a>>2]+44>>2]](a)|0,v[e+76>>2]=f;e=a,f=Qa[v[v[a>>2]+40>>2]](a)|0,v[e+80>>2]=f;c=Qa[v[v[a>>2]+48>>2]](a)|0;t[a+88|0]=1;v[a+84>>2]=c}d=v[a+72>>2];c=ab(12);v[c+8>>2]=d;v[c>>2]=0;v[c+4>>2]=0;de(b,c);if(!w[a+88|0]){e=a,f=Qa[v[v[a>>2]+36>>2]](a)|0,v[e+72>>2]=f;e=a,f=Qa[v[v[a>>2]+44>>2]](a)|0,v[e+76>>2]=f;e=a,f=Qa[v[v[a>>2]+40>>2]](a)|0,v[e+80>>2]=f;c=Qa[v[v[a>>2]+48>>2]](a)|0;t[a+88|0]=1;v[a+84>>2]=c}d=v[a+80>>2];c=ab(12);v[c+8>>2]=d;v[c>>2]=0;v[c+4>>2]=0;de(b,c);if(!w[a+88|0]){e=a,f=Qa[v[v[a>>2]+36>>2]](a)|0,v[e+72>>2]=f;e=a,f=Qa[v[v[a>>2]+44>>2]](a)|0,v[e+76>>2]=f;e=a,f=Qa[v[v[a>>2]+40>>2]](a)|0,v[e+80>>2]=f;c=Qa[v[v[a>>2]+48>>2]](a)|0;t[a+88|0]=1;v[a+84>>2]=c}d=v[a+76>>2];c=ab(12);v[c+8>>2]=d;v[c>>2]=0;v[c+4>>2]=0;de(b,c);a:{if(w[a+88|0]){c=v[a+84>>2];break a}e=a,f=Qa[v[v[a>>2]+36>>2]](a)|0,v[e+72>>2]=f;e=a,f=Qa[v[v[a>>2]+44>>2]](a)|0,v[e+76>>2]=f;e=a,f=Qa[v[v[a>>2]+40>>2]](a)|0,v[e+80>>2]=f;c=Qa[v[v[a>>2]+48>>2]](a)|0;t[a+88|0]=1;v[a+84>>2]=c}a=ab(12);v[a+8>>2]=c;v[a>>2]=0;v[a+4>>2]=0;de(b,a)}function LPa(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,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;m=Ma-16|0;Ma=m;l=A[c+16>>3];i=A[c>>3];g=a;j=A[c+8>>3];p=A[c+24>>3]-j;a:{if(D(p)<2147483648){h=~~p;break a}h=-2147483648}A[g+616>>3]=h|0;g=a;l=l-i;b:{if(D(l)<2147483648){h=~~l;break b}h=-2147483648}A[g+608>>3]=h|0;g=v[a+16>>2];if(g){$a(eK(g));v[a+16>>2]=0}g=v[a+20>>2];if(g){$a(tt(g));v[a+20>>2]=0}g=ab(2864);z2(g);v[a+16>>2]=g;h=ab(8);YJ(h);k=a;if(D(j)<2147483648){g=~~j}else{g=-2147483648}n=(g|0)>0?g:0;v[k+640>>2]=n;k=a;if(D(i)<2147483648){g=~~i}else{g=-2147483648}o=(g|0)>0?g:0;v[k+636>>2]=o;v[a+20>>2]=h;i=A[c+16>>3];g=a;k=e;j=A[c+24>>3];c:{if(D(j)<2147483648){h=~~j;break c}h=-2147483648}q=((e|0)<(h|0)?k:h)-n|0;v[g+648>>2]=q;k=a;g=d;if(D(i)<2147483648){h=~~i}else{h=-2147483648}g=((d|0)<(h|0)?g:h)-o|0;v[k+644>>2]=g;x2(v[a+16>>2],b,d,e,d<<2,o,n,g,q,i-A[c>>3],j-A[c+8>>3],f);b=En(m+8|0,1,0,0,1,A[c>>3],A[c+8>>3]);v2(v[a+16>>2],b);c=v[a+16>>2];i=A[c+8>>3]/(A[a+592>>3]/25.4);if(i!=A[c+24>>3]){A[c+24>>3]=i}c=v[a+16>>2];i=A[c+16>>3]/(A[a+600>>3]/25.4);if(i!=A[c+32>>3]){A[c+32>>3]=i}BB(v[a+16>>2]);me(b);Ma=m+16|0}function Ne(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=v[a+464>>2];d=v[e+16>>2];c=v[e+12>>2];if((c|0)<=32767){while(1){c=d-1|0;v[e+16>>2]=c;a:{if((d|0)>0){d=c;break a}f=0;if(!v[a+436>>2]){c=v[a+24>>2];b:{if(v[c+4>>2]){break b}if(Qa[v[c+12>>2]](a)|0){break b}d=v[a>>2];v[d+20>>2]=25;Qa[v[d>>2]](a)}v[c+4>>2]=v[c+4>>2]-1;d=c;c=v[c>>2];v[d>>2]=c+1;f=w[c|0];c:{if((f|0)!=255){break c}while(1){c=v[a+24>>2];d:{if(v[c+4>>2]){break d}if(Qa[v[c+12>>2]](a)|0){break d}d=v[a>>2];v[d+20>>2]=25;Qa[v[d>>2]](a)}v[c+4>>2]=v[c+4>>2]-1;d=c;c=v[c>>2];v[d>>2]=c+1;f=255;c=w[c|0];if((c|0)==255){continue}break}if(!c){break c}v[a+436>>2]=c;f=0}c=v[e+16>>2]}d=c+8|0;v[e+16>>2]=d;v[e+8>>2]=v[e+8>>2]<<8|f;if((c|0)>-9){break a}d=c+9|0;v[e+16>>2]=d;if(d){break a}v[e+12>>2]=32768;d=0}c=v[e+12>>2]<<1;v[e+12>>2]=c;if((c|0)<32768){continue}break}}a=w[b|0];f=v[((a&127)<<2)+72736>>2];g=f>>16;c=c-g|0;v[e+12>>2]=c;h=f>>8;i=v[e+8>>2];d=c<=(d|0)){v[e+12>>2]=g;v[e+8>>2]=i-d;d=a&128;if((c|0)<(g|0)){t[b|0]=d^h;break e}t[b|0]=d^f;a=a^128;break e}if((c|0)>32767){break e}d=a&128;if((c|0)<(g|0)){t[b|0]=d^f;a=a^128;break e}t[b|0]=d^h}return a>>>7|0}function zQ(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Ma-16|0;Ma=f;d=v[a+8>>2];c=(c|0)<0?d:b+c|0;g=(c|0)>(d|0)?d:c;if((g|0)>(b|0)){j=g;while(1){a:{if((b|0)>=(d|0)){b=d;break a}c=v[a+12>>2]+b|0;d=d-b|0;b=g-b|0;b=(b|0)<0?d:b;b:{if((b|0)<1){break b}h=b+c|0;while(1){c:{b=c;if(!w[b|0]){break c}v[f+8>>2]=b;d=Qa[v[v[a>>2]+60>>2]](a,f+8|0)|0;c=v[f+8>>2];if((b|0)==(c|0)){break c}d:{if(d>>>0>255){break d}e=d<<24;e=(e|0)<-16777216?d:e>>24;if((e|0)==32|e-9>>>0<5){break d}switch(d-10|0){case 0:case 3:break d;default:break c}}if(c>>>0>>0){continue}break b}break}c=b}b=c-v[a+12>>2]|0;d=v[a+8>>2];if((b|0)>=(d|0)){break a}c=v[a+12>>2]+b|0;e=d-b|0;d=g-b|0;d=(d|0)<0?e:d;e:{if((d|0)<1){d=c;break e}e=c+d|0;while(1){if(!w[c|0]){d=c;break e}v[f+12>>2]=c;h=Qa[v[v[a>>2]+60>>2]](a,f+12|0)|0;f:{g:{d=v[f+12>>2];if((d|0)==(c|0)|h>>>0>255){break g}i=h<<24;i=(i|0)<-16777216?h:i>>24;if((i|0)==32|i-9>>>0<5){break g}switch(h-10|0){case 0:case 3:break g;default:break f}}d=c;break e}c=d;if(e>>>0>d>>>0){continue}break}}c=d-v[a+12>>2]|0;d=(c|0)==(b|0);b=d?b+1|0:c;j=d?j:c}if((b|0)>=(g|0)){g=j}else{d=v[a+8>>2];continue}break}}Ma=f+16|0;return g}function e5(a,b,c,d){var e=0,f=0,g=0,h=0;a:{b:{if(!d){if((c|0)<2&(b|0)<=0){break b}c:{if((c|0)<1){break c}e=(b<<1)-1|0;v[a>>2]=v[a>>2]-((v[a+4>>2]+v[(((b|0)>0?1:e)<<2)+a>>2]|0)+2>>2);if((c|0)==1){break c}d=1;while(1){f=(d<<3)+a|0;g=f;h=v[f>>2];f=d<<1;v[g>>2]=h-((v[(((b|0)<(d|0)?e:f-1|0)<<2)+a>>2]+v[(((b|0)>(d|0)?f|1:e)<<2)+a>>2]|0)+2>>2);d=d+1|0;if((d|0)!=(c|0)){continue}break}}d=0;if((b|0)<=0){break b}f=(c<<1)-2|0;while(1){e=(d<<3)+a|0;h=e+4|0;g=v[e+4>>2];e=d+1|0;v[h>>2]=g+(v[(((c|0)>(e|0)?e<<1:f)<<2)+a>>2]+v[(((c|0)>(d|0)?d<<1:f)<<2)+a>>2]>>1);d=e;if((d|0)!=(b|0)){continue}break}break b}if(!c&(b|0)==1){break a}d=0;if((c|0)>0){e=(b<<1)-2|0;while(1){f=(d<<3)+a|0;g=v[(((b|0)>(d|0)?d<<1:e)<<2)+a>>2];d=d+1|0;v[f+4>>2]=v[f+4>>2]-((g+v[(((b|0)>(d|0)?d<<1:e)<<2)+a>>2]|0)+2>>2);if((c|0)!=(d|0)){continue}break}}if((b|0)<1){break b}d=1;e=(c<<1)-1|0;v[a>>2]=v[a>>2]+(v[a+4>>2]+v[(((c|0)>0?1:e)<<2)+a>>2]>>1);if((b|0)==1){break b}while(1){f=(d<<3)+a|0;g=f;h=v[f>>2];f=d<<1;v[g>>2]=h+(v[(((c|0)<(d|0)?e:f-1|0)<<2)+a>>2]+v[(((c|0)>(d|0)?f|1:e)<<2)+a>>2]>>1);d=d+1|0;if((d|0)!=(b|0)){continue}break}}return}v[a>>2]=v[a>>2]/2}function b7(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;a:{d=v[v[a+584>>2]+4>>2];a=(c|0)/2|0;if((d|0)>=(a|0)){break a}f=a-d|0;if((d|0)<5){a=d<<1;while(1){b:{switch(d|0){default:c=a+b|0;u[c>>1]=x[c>>1]+x[b>>1];b=b+2|0;case 3:c=a+b|0;u[c>>1]=x[c>>1]+x[b>>1];b=b+2|0;case 2:c=a+b|0;u[c>>1]=x[c>>1]+x[b>>1];b=b+2|0;case 1:c=a+b|0;u[c>>1]=x[c>>1]+x[b>>1];b=b+2|0;break;case 0:break b}}f=f-d|0;if((f|0)>0){continue}break}break a}h=d-4|0;i=d&3;j=d-5>>>0>2;e=d<<1;while(1){c:{d:{e:{f:{g:{h:{switch(d|0){case 0:break c;case 1:break d;case 2:break e;case 3:break f;case 4:break g;default:break h}}c=h;a=i;if(a){while(1){g=b+e|0;u[g>>1]=x[g>>1]+x[b>>1];c=c-1|0;b=b+2|0;a=a-1|0;if(a){continue}break}}if(!j){break g}while(1){a=b+e|0;u[a>>1]=x[a>>1]+x[b>>1];a=(b+2|0)+e|0;u[a>>1]=x[a>>1]+x[b+2>>1];a=(b+4|0)+e|0;u[a>>1]=x[a>>1]+x[b+4>>1];a=(b+6|0)+e|0;u[a>>1]=x[a>>1]+x[b+6>>1];b=b+8|0;a=(c|0)>4;c=c-4|0;if(a){continue}break}}a=b+e|0;u[a>>1]=x[a>>1]+x[b>>1];b=b+2|0}a=b+e|0;u[a>>1]=x[a>>1]+x[b>>1];b=b+2|0}a=b+e|0;u[a>>1]=x[a>>1]+x[b>>1];b=b+2|0}a=b+e|0;u[a>>1]=x[a>>1]+x[b>>1];b=b+2|0}f=f-d|0;if((f|0)>0){continue}break}}}function kAa(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;f=Ma-16|0;Ma=f;e=v[a+4>>2];h=v[e+20>>2];d=f+8|0;a:{b:{c:{d:{e:{f:{g=v[e+8>>2];switch(t[g+99|0]-99|0){case 8:break d;case 0:break e;case 7:break f;default:break c}}d=f+8|0;if(w[g+58|0]==1){t[g+58|0]=0;t[f+8|0]=15;d=f+9|0}g:{switch(w[g+54|0]){default:t[g+54|0]=0;t[d+2|0]=66;t[d|0]=27;t[d+1|0]=40;d=d+3|0;break;case 0:case 3:break g}}t[d|0]=w[h|0];d=d+1|0;break c}if(w[g+58|0]){t[g+58|0]=0;t[f+8|0]=15;e=f+9|0}else{e=f+8|0}t[e|0]=w[h|0];d=e+1|0;break c}d=w[e+61|0];if(v[g+64>>2]){break b}g=v[e+52>>2];if((d|0)==1){if(g&255){v[e+52>>2]=0;t[f+8|0]=15;e=f+9|0}else{e=f+8|0}t[e|0]=w[h|0];d=e+1|0;break c}d=f+8|0;if(!(g&255)){v[e+52>>2]=1;t[f+8|0]=14;d=f+9|0}t[d|0]=w[h|0];t[d+1|0]=w[h+1|0];d=d+2|0}e=a;a=f+8|0;EI(e,a,d-a|0,b,c);break a}b=v[g+40>>2];i=w[b+61|0];t[b+61|0]=d;j=v[b+20>>2];v[b+20>>2]=h;v[a+4>>2]=b;v[b+56>>2]=v[e+56>>2];mZ(a,c);d=v[g+40>>2];v[e+56>>2]=v[d+56>>2];v[a+4>>2]=e;t[d+61|0]=i;v[d+20>>2]=j;if(v[c>>2]!=15){break a}b=e;c=w[d+63|0];a=c<<24>>24;if((a|0)>=1){cb(e+76|0,d+76|0,c);d=v[g+40>>2];a=w[d+63|0]}t[b+63|0]=a;t[d+63|0]=0}Ma=f+16|0}function ou(a,b){var c=0,d=0,e=0,f=0,g=0;f=Ma-32|0;Ma=f;a:{c=v[a+24>>2];b:{if(c>>>0>>0){b=65536-b|0;d=b+c|0;c=b+v[a+20>>2]|0;c:{if(c>>>0>=65280){b=t[((c&255)+a|0)+2604|0]+8|0;break c}b=t[((c>>>8|0)+a|0)+2604|0]}v[a+20>>2]=c<>2]>>>e|d<>2]=b;g=a;if(e>>>0<=15){d=a+17|0;while(1){b=v[a+12>>2];d:{if(Qa[v[v[b>>2]+8>>2]](b,d,1)|0){b=w[d|0];break d}b=255;t[a+17|0]=255;e=w[a+19|0]-1|0;t[a+19|0]=e;if(!(e&255)){break a}}e=w[a+18|0]+8|0;t[a+18|0]=e;v[a+36>>2]=b&255|v[a+36>>2]<<8;if((e&255)>>>0<25){continue}break}b=v[a+24>>2]}v[g+28>>2]=b>>>0<32767?b:32767;e=1;break b}v[a+20>>2]=b<<1&65534;b=w[a+18|0]-1|0;t[a+18|0]=b;d=b&255;b=v[a+36>>2]>>>d&1|c<<1&65534;v[a+24>>2]=b;g=a;if(d>>>0<=15){d=a+17|0;while(1){b=v[a+12>>2];e:{if(Qa[v[v[b>>2]+8>>2]](b,d,1)|0){b=w[d|0];break e}b=255;t[a+17|0]=255;c=w[a+19|0]-1|0;t[a+19|0]=c;if(!(c&255)){break a}}c=w[a+18|0]+8|0;t[a+18|0]=c;v[a+36>>2]=b&255|v[a+36>>2]<<8;if((c&255)>>>0<25){continue}break}b=v[a+24>>2]}v[g+28>>2]=b>>>0<32767?b:32767}Ma=f+32|0;return e}lb(mb(f+8|0,v[279242],242125,768,333116));L()}function QV(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;j=Ma-32|0;Ma=j;g=b&-256;m=c&-256;a:{if(g>>>0>m>>>0){break a}n=e-b|0;o=c&255;p=b&255;l=d-1|0;if(!l){while(1){e=b>>>0>g>>>0?p:0;h=(g|255)>>>0>c>>>0?o:255;if(e>>>0<=h>>>0){l=g+n|0;i=v[a+16>>2];while(1){f=i+(e<<3)|0;b:{if(v[f>>2]){v[j+4>>2]=d;v[j>>2]=g;fb(1,-1,242642,j);break b}v[f+4>>2]=e+l}f=(e|0)!=(h|0);e=e+1|0;if(f){continue}break}}g=g+256|0;if(m>>>0>=g>>>0){continue}break a}}while(1){e=v[a+16>>2];h=l;while(1){e=((g>>>(h<<3)&255)<<3)+e|0;if(!v[e>>2]){i=1;v[e>>2]=1;f=Pb(256,8);v[e+4>>2]=f;v[f>>2]=0;v[v[e+4>>2]+4>>2]=0;while(1){f=i<<3;v[f+v[e+4>>2]>>2]=0;v[(f+v[e+4>>2]|0)+4>>2]=0;k=f+8|0;v[k+v[e+4>>2]>>2]=0;v[(k+v[e+4>>2]|0)+4>>2]=0;f=f+16|0;v[f+v[e+4>>2]>>2]=0;v[(f+v[e+4>>2]|0)+4>>2]=0;i=i+3|0;if((i|0)!=256){continue}break}}e=v[e+4>>2];h=h-1|0;if(h){continue}break}h=b>>>0>g>>>0?p:0;i=(g|255)>>>0>c>>>0?o:255;if(h>>>0<=i>>>0){f=g+n|0;while(1){k=(h<<3)+e|0;c:{if(v[k>>2]){v[j+20>>2]=d;v[j+16>>2]=g;fb(1,-1,242642,j+16|0);break c}v[k+4>>2]=f+h}k=(h|0)!=(i|0);h=h+1|0;if(k){continue}break}}g=g+256|0;if(m>>>0>=g>>>0){continue}break}}Ma=j+32|0}function P2a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{b:{c:{if(!v[a+16>>2]){break c}d=w[a+25|0];if(d>>>0>=33){break c}b=-1;if((d|0)!=(v[a+32>>2]-1|0)){break b}d=v[c+8>>2];d:{if(d&7){break d}f=a+24|0;e=w[f|0];b=v[c+64>>2];if(!((b|0)<0|(b|0)>v[c+60>>2])){break a}v[c+4>>2]=v[c+4>>2]|32;b=-1;d=v[c+28>>2];v[c+28>>2]=d-1;e:{if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=v[c+24>>2];v[c+24>>2]=b+1;t[b|0]=e;break e}if((Cb(c,e)|0)==-1){break d}}b=-1;d=v[c+8>>2];if(d&7){break d}e=w[a+13|0];b=v[c+64>>2];if(!((b|0)<0|(b|0)>v[c+60>>2])){break a}v[c+4>>2]=v[c+4>>2]|32;b=-1;d=v[c+28>>2];v[c+28>>2]=d-1;f:{if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=v[c+24>>2];v[c+24>>2]=b+1;t[b|0]=e;break f}if((Cb(c,e)|0)==-1){break d}}b=-1;if(wg(c,v[a+16>>2])){break d}d=v[c+8>>2];if(d&7){break d}e=w[a+20|0];b=v[c+64>>2];if(!((b|0)<0|(b|0)>v[c+60>>2])){break a}v[c+4>>2]=v[c+4>>2]|32;b=-1;d=v[c+28>>2];v[c+28>>2]=d-1;g:{if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=v[c+24>>2];v[c+24>>2]=b+1;t[b|0]=e;break g}if((Cb(c,e)|0)==-1){break d}}b=P5(c,t[a+12|0]&1,f)?-1:0}return b|0}O(49621,47016,612,188680);L()}O(50085,47016,613,188680);L()}v[c+8>>2]=d|4;return-1}function EA(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=b+1|0;h=ab((e|0)!=(e&1073741823)?-1:e<<2);if((b|0)>=1){e=0;while(1){d=a+e|0;g=w[d|0];a:{if(!(g&128)){v[(i<<2)+h>>2]=g;e=e+1|0;break a}if(!(g&32)){f=(i<<2)+h|0;d=e+1|0;if((d|0)<(b|0)){d=g<<6&1984|w[a+d|0]&63}else{d=0}v[f>>2]=d;e=e+2|0;break a}if(!(g&16)){j=(i<<2)+h|0;f=e+2|0;if((f|0)<(b|0)){d=w[a+f|0]&63|(g<<12&61440|(w[d+1|0]&63)<<6)}else{d=0}v[j>>2]=d;e=e+3|0;break a}if(!(g&15)){j=(i<<2)+h|0;f=e+3|0;if((f|0)<(b|0)){d=w[a+f|0]&63|(g<<18&1835008|(w[d+1|0]&63)<<12|(w[d+2|0]&63)<<6)}else{d=0}v[j>>2]=d;e=e+4|0;break a}if(!(g&8)){j=(i<<2)+h|0;f=e+3|0;if((f|0)<(b|0)){d=w[a+f|0]&63|(g<<18&1835008|(w[d+1|0]&63)<<12|(w[d+2|0]&63)<<6)}else{d=0}v[j>>2]=d;e=e+4|0;break a}if(!(g&4)){j=(i<<2)+h|0;f=e+4|0;if((f|0)<(b|0)){d=w[a+f|0]&63|(g<<24&50331648|(w[d+1|0]&63)<<18|(w[d+2|0]&63)<<12|(w[d+3|0]&63)<<6)}else{d=0}v[j>>2]=d;e=e+5|0;break a}f=(i<<2)+h|0;e=e+5|0;if((e|0)<(b|0)){d=w[a+e|0]&63|(g<<30&1073741824|(w[d+1|0]&63)<<24|(w[d+2|0]&63)<<18|(w[d+3|0]&63)<<12|(w[d+4|0]&63)<<6)}else{d=0}v[f>>2]=d}i=i+1|0;if((b|0)>(e|0)){continue}break}}v[(i<<2)+h>>2]=0;kc(c,h);$a(h)}function fW(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=Ma-80|0;Ma=c;v[c+64>>2]=13;v[c+48>>2]=13;v[c+32>>2]=13;v[c+16>>2]=13;v[c>>2]=13;if(v[b>>2]==7){a:{if(v[ib(v[b+8>>2],235615,c- -64|0,0)>>2]!=6){break a}d=v[c+72>>2];if(v[d+12>>2]<2){break a}while(1){if(v[ub(d,f,c+48|0,0)>>2]==1){if(v[ub(v[c+72>>2],f|1,c+32|0,0)>>2]==7){j=v[a+156>>2];i=ab(20);g=i;e=v[c+56>>2];h=v[c+40>>2];d=Ma-48|0;Ma=d;v[d+32>>2]=13;v[d+16>>2]=13;v[d>>2]=13;v[g+4>>2]=-1;v[g>>2]=e+1;k=v[ib(h,310603,d+32|0,0)>>2];e=ab(12);b:{if((k|0)==3){kl(e,v[d+40>>2]);break b}v[e+8>>2]=0;v[e>>2]=0;v[e+4>>2]=0}v[g+8>>2]=e;bb(d+32|0);t[g+16|0]=0;c:{if(v[ib(h,310327,d+16|0,0)>>2]!=4){break c}e=v[d+24>>2];if((zb(e)|0)!=1){break c}t[g+16|0]=w[e|0]}bb(d+16|0);v[g+12>>2]=1;if(v[ib(h,234107,d,0)>>2]==1){v[g+12>>2]=v[d+8>>2]}bb(d);Ma=d+48|0;Ib(j,i)}bb(c+32|0)}bb(c+48|0);f=f+2|0;d=v[c+72>>2];if((f|0)<(v[d+12>>2]-1|0)){continue}break}}bb(c- -64|0);d:{if(v[ib(v[b+8>>2],236871,c+16|0,0)>>2]!=6){break d}d=v[c+24>>2];if(v[d+12>>2]<1){break d}f=0;while(1){ub(d,f,c,0);fW(a,c);bb(c);f=f+1|0;d=v[c+24>>2];if((f|0)>2]){continue}break}}bb(c+16|0)}Ma=c+80|0}function N5(a,b,c){var d=0,e=0,f=0;a:{b:{c:{e=a;d:{e:{f:{g:{h:{i:{j:{k:{d=v[b+8>>2];l:{if(d&7){break l}f=v[b+64>>2];if(!((f|0)<0|(f|0)>v[b+60>>2])){v[b+8>>2]=d|4;break l}d=v[b+28>>2];v[b+28>>2]=d-1;if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;d=w[d|0];break k}d=Eb(b,1);if((d|0)!=-1){break k}}t[a+12|0]=0;t[a|0]=0;break j}f=d&31;t[a|0]=f;t[a+12|0]=(d&224)>>>5;switch(f|0){case 0:break j;case 2:break g;case 1:break h;default:break i}}c=c-1|0;break f}c=v[a+4>>2];break e}c=1;v[a+4>>2]=1;break d}c=c-1>>>1|0}v[e+4>>2]=c}if((c|0)<1){break c}}c=gb(c<<2);v[a+8>>2]=c;if(!c){break a}c=0;if(v[a+4>>2]<=0){break b}while(1){m:{if(!w[a|0]){e=v[b+8>>2];n:{if(e&7){break n}f=v[b+64>>2];if(!((f|0)<0|(f|0)>v[b+60>>2])){v[b+8>>2]=e|4;break n}e=v[b+28>>2];v[b+28>>2]=e-1;o:{if((e|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;e=w[d|0];break o}e=Eb(b,1);if((e|0)==-1){break n}}d=e}v[v[a+8>>2]+(c<<2)>>2]=(d&248)<<8;break m}qf(b,v[a+8>>2]+(c<<2)|0)}c=c+1|0;if((c|0)>2]){continue}break}break b}v[a+8>>2]=0}if(!(w[b+8|0]&3)){return 0}a=v[a+8>>2];if(a){$a(a)}return-1}O(55316,47016,988,188735);L()}function iH(a,b){var c=0,d=0,e=0,f=0,g=0;e=Ma-48|0;Ma=e;a:{if(v[a+292>>2]){break a}c=v[a+36>>2];if((v[c+20>>2]-v[c+16>>2]|0)>249){break a}oc(a)}d=QW(a);g=w[v[v[a+36>>2]+16>>2]];b:{c:{if(!d){c=0;if((g|0)!=58){break b}d=kh(a);if(!d){break b}if(!(!v[a+212>>2]|v[a+172>>2]!=-1)){c=d;break c}v[a+84>>2]=202;v[e+4>>2]=0;v[e+8>>2]=0;v[e>>2]=d;nb(0,0,0,a,0,3,202,2,d,0,0,0,346685,e);v[a+356>>2]=0;c=d;break c}if((g|0)!=58){c=d;break c}Bc(a);c=QW(a);if(!c){if(!(v[a+172>>2]==-1?v[a+212>>2]:0)){v[a+84>>2]=202;v[e+20>>2]=0;v[e+24>>2]=0;v[e+16>>2]=d;nb(0,0,0,a,0,3,202,2,d,0,0,0,347251,e+16|0);v[a+356>>2]=0}c=lX(a);d:{if(!c){d=Ns(349015,d,0,0);break d}d=Ns(c,d,0,0);Qa[v[256556]](c)}c=Zc(v[a+296>>2],d,-1);if(!d){break c}Qa[v[256556]](d);break c}e:{if(w[v[v[a+36>>2]+16>>2]]!=58){break e}if(!(v[a+172>>2]==-1?v[a+212>>2]:0)){v[a+84>>2]=202;v[e+40>>2]=0;v[e+36>>2]=c;v[e+32>>2]=d;nb(0,0,0,a,0,3,202,2,d,c,0,0,347219,e+32|0);v[a+356>>2]=0}Bc(a);f=kh(a);f:{if(f){f=Ns(f,c,0,0);c=Zc(v[a+296>>2],f,-1);if(f){break f}break e}f=Ns(349015,c,0,0);c=Zc(v[a+296>>2],f,-1);if(!f){break e}}Qa[v[256556]](f)}f=d}v[b>>2]=f}Ma=e+48|0;return c}function TS(a,b,c){var d=0,e=0,f=0;d=Ma-272|0;Ma=d;e=v[a+200>>2];if(e&1){a:{if(e&4){Db(a,55166);uc(a,c);break a}if(e&2){Db(a,55408)}if(!(!b|!(w[b+9|0]&8))){Db(a,55645);uc(a,c);break a}if((c|0)!=1){Db(a,56075);uc(a,c);break a}c=d+271|0;Ye(a,c,1);gc(a,c,1);if(uc(a,0)){break a}e=w[d+271|0];if(e>>>0>=4){Db(a,56263);break a}b:{if(!b){break b}c=v[b+8>>2];c:{if(!(c&1)){break c}f=v[b+40>>2];if(f-45e3>>>0<1001){break c}Vj(d,1,5,f);dq(a,d,46605);c=v[b+8>>2]}if(!(c&4)){break b}d:{if(v[b+128>>2]-30270>>>0>2e3|v[b+132>>2]-31900>>>0>2e3|(v[b+136>>2]-63e3>>>0>2e3|v[b+140>>2]-32e3>>>0>2e3)){break d}if(v[b+144>>2]-29e3>>>0>2e3|v[b+148>>2]-59e3>>>0>2e3|v[b+152>>2]-14e3>>>0>2e3){break d}if(v[b+156>>2]-5e3>>>0<2001){break b}}Db(a,56614)}t[a+652|0]=1;if(!w[a+654|0]){v[a+656>>2]=1535777592;t[a+654|0]=1}e:{if(!a|!b){break e}t[b+44|0]=e;v[b+40>>2]=45455;v[b+8>>2]=v[b+8>>2]|2049;if(!WF(a,31270,32900,64e3,33e3,3e4,6e4,15e3,6e3)){break e}v[b+152>>2]=15e3;v[b+156>>2]=6e3;v[b+144>>2]=3e4;v[b+148>>2]=6e4;v[b+136>>2]=64e3;v[b+140>>2]=33e3;v[b+128>>2]=31270;v[b+132>>2]=32900;v[b+8>>2]=v[b+8>>2]|4}}Ma=d+272|0;return}dc(a,54677);L()}function HT(a,b){var c=0,d=0;a:{b:{switch(w[a+8|0]){case 0:c=v[a+4>>2];if(!c){break a}a=c&3;if(c-1>>>0>=3){c=c&-4;while(1){t[b|0]=w[b|0]^-1;t[b+1|0]=w[b+1|0]^-1;t[b+2|0]=w[b+2|0]^-1;t[b+3|0]=w[b+3|0]^-1;b=b+4|0;c=c-4|0;if(c){continue}break}}if(!a){break a}while(1){t[b|0]=w[b|0]^-1;b=b+1|0;a=a-1|0;if(a){continue}break};break a;case 4:break b;default:break a}}c:{switch(w[a+9|0]-8|0){case 0:a=v[a+4>>2];if(!a){break a}c=a-1|0;d=(c>>>1|0)+1|0;a=d&3;if(c>>>0>=6){c=d&-4;while(1){t[b|0]=w[b|0]^-1;t[b+2|0]=w[b+2|0]^-1;t[b+4|0]=w[b+4|0]^-1;t[b+6|0]=w[b+6|0]^-1;b=b+8|0;c=c-4|0;if(c){continue}break}}if(!a){break a}while(1){t[b|0]=w[b|0]^-1;b=b+2|0;a=a-1|0;if(a){continue}break};break a;case 8:break c;default:break a}}a=v[a+4>>2];if(!a){break a}c=a-1|0;d=(c>>>2|0)+1|0;a=d&3;if(c>>>0>=12){c=d&2147483644;while(1){t[b|0]=w[b|0]^-1;t[b+1|0]=w[b+1|0]^-1;t[b+4|0]=w[b+4|0]^-1;t[b+5|0]=w[b+5|0]^-1;t[b+8|0]=w[b+8|0]^-1;t[b+9|0]=w[b+9|0]^-1;t[b+12|0]=w[b+12|0]^-1;t[b+13|0]=w[b+13|0]^-1;b=b+16|0;c=c-4|0;if(c){continue}break}}if(!a){break a}while(1){t[b|0]=w[b|0]^-1;t[b+1|0]=w[b+1|0]^-1;b=b+4|0;a=a-1|0;if(a){continue}break}}}function Ora(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,p=0,q=0,r=0,s=0;e=a;while(1){d=v[(i<<2)+b>>2]+c|0;g=w[d+4|0];h=w[d+3|0];f=g+h|0;j=w[d+7|0];k=w[d|0];l=j+k|0;m=f+l|0;n=w[d+6|0];o=w[d+1|0];p=n+o|0;q=w[d+5|0];r=w[d+2|0];d=q+r|0;s=p+d|0;v[e+16>>2]=m-s;v[e>>2]=(m+s|0)-1024;m=p-d|0;d=l-f|0;f=B(m+d|0,181)>>8;v[e+24>>2]=d-f;v[e+8>>2]=d+f;d=h-g|0;g=r-q|0;h=d+g|0;l=o-n|0;d=k-j|0;j=l+d|0;f=B(h-j|0,98)>>8;h=f+(B(h,139)>>8)|0;g=B(g+l|0,181)>>8;k=d-g|0;v[e+20>>2]=h+k;v[e+12>>2]=k-h;d=d+g|0;f=f+(B(j,334)>>8)|0;v[e+28>>2]=d-f;v[e+4>>2]=d+f;e=e+32|0;i=i+1|0;if((i|0)!=8){continue}break}b=7;while(1){d=v[a+128>>2];i=v[a+96>>2];c=d+i|0;f=v[a+224>>2];g=v[a>>2];e=f+g|0;h=c+e|0;j=v[a+160>>2];k=v[a+64>>2];l=j+k|0;m=v[a+192>>2];n=v[a+32>>2];o=m+n|0;p=l+o|0;v[a+128>>2]=h-p;v[a>>2]=h+p;c=e-c|0;e=B(c+(o-l|0)|0,181)>>8;v[a+192>>2]=c-e;v[a+64>>2]=c+e;c=i-d|0;d=k-j|0;i=c+d|0;h=n-m|0;c=g-f|0;f=h+c|0;e=B(i-f|0,98)>>8;i=e+(B(i,139)>>8)|0;d=B(d+h|0,181)>>8;g=c-d|0;v[a+160>>2]=i+g;v[a+96>>2]=g-i;c=c+d|0;e=e+(B(f,334)>>8)|0;v[a+224>>2]=c-e;v[a+32>>2]=c+e;c=b;b=c-1|0;a=a+4|0;if(c){continue}break}}function $L(a,b,c){var d=0,e=0,f=0;e=Ma-272|0;Ma=e;if(c){while(1){v[e+256>>2]=f;vb(a,3164,e+256|0);v[e+240>>2]=w[b+f|0];vb(a,4987,e+240|0);d=f|1;if(d>>>0>>0){v[e+224>>2]=w[b+d|0];vb(a,4987,e+224|0)}d=f|2;if(d>>>0>>0){v[e+208>>2]=w[b+d|0];vb(a,4987,e+208|0)}d=f|3;if(d>>>0>>0){v[e+192>>2]=w[b+d|0];vb(a,4987,e+192|0)}d=f|4;if(d>>>0>>0){v[e+176>>2]=w[b+d|0];vb(a,4987,e+176|0)}d=f|5;if(d>>>0>>0){v[e+160>>2]=w[b+d|0];vb(a,4987,e+160|0)}d=f|6;if(d>>>0>>0){v[e+144>>2]=w[b+d|0];vb(a,4987,e+144|0)}d=f|7;if(d>>>0>>0){v[e+128>>2]=w[b+d|0];vb(a,4987,e+128|0)}d=f|8;if(d>>>0>>0){v[e+112>>2]=w[b+d|0];vb(a,4987,e+112|0)}d=f|9;if(d>>>0>>0){v[e+96>>2]=w[b+d|0];vb(a,4987,e+96|0)}d=f|10;if(d>>>0>>0){v[e+80>>2]=w[b+d|0];vb(a,4987,e+80|0)}d=f|11;if(d>>>0>>0){v[e+64>>2]=w[b+d|0];vb(a,4987,e- -64|0)}d=f|12;if(d>>>0>>0){v[e+48>>2]=w[b+d|0];vb(a,4987,e+48|0)}d=f|13;if(d>>>0>>0){v[e+32>>2]=w[b+d|0];vb(a,4987,e+32|0)}d=f|14;if(d>>>0>>0){v[e+16>>2]=w[b+d|0];vb(a,4987,e+16|0)}d=f|15;if(d>>>0>>0){v[e>>2]=w[b+d|0];vb(a,4987,e)}Ee(10,a);f=f+16|0;if(f>>>0>>0){continue}break}}Ma=e+272|0}function mZ(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=Ma-16|0;Ma=f;a:{if(v[b>>2]>0){break a}c=v[a+4>>2];e=t[c+61|0];if(!e){break a}if((e|0)<=-1){c=v[c+20>>2];v[f+12>>2]=c;j=f+12|0;k=c-(e<<1)|0;e=Ma-16|0;Ma=e;b:{if(v[b>>2]>0){break b}d=v[a+16>>2];rZ(v[a+4>>2],a+16|0,v[a+20>>2],j,k,b);c=v[a+24>>2];c:{if(!c){break c}g=v[a+16>>2];if((g|0)==(d|0)){break c}i=(d^-1)+g|0;h=g-d&7;if(h){while(1){v[c>>2]=0;d=d+1|0;c=c+4|0;h=h-1|0;if(h){continue}break}}if(i>>>0>=7){while(1){v[c+28>>2]=0;v[c+24>>2]=0;v[c+20>>2]=0;v[c+16>>2]=0;v[c+12>>2]=0;v[c+8>>2]=0;v[c+4>>2]=0;v[c>>2]=0;c=c+32|0;d=d+8|0;if((g|0)!=(d|0)){continue}break}}v[a+24>>2]=c}if(v[b>>2]!=15){break b}v[e+8>>2]=0;c=v[a+4>>2];d=t[c+63|0];v[e+12>>2]=(c+d|0)+76;if((d|0)>=32){v[b>>2]=5;break b}t[c+63|0]=0;i=c;c=c+108|0;rZ(i,e+12|0,c,j,k,e+8|0);a=v[a+4>>2];d=v[e+12>>2];t[a+63|0]=(d-a|0)-76;if(v[e+8>>2]!=15&c>>>0>d>>>0){break b}v[b>>2]=5}Ma=e+16|0;break a}d=v[v[v[c+24>>2]+20>>2]+52>>2];if(d){Qa[d|0](a,0,b);break a}if(!(!w[c+66|0]|x[c+112>>1]>255)){zh(c,c+66|0,1,a+16|0,v[a+20>>2],a+24|0,0,b);break a}zh(c,v[c+20>>2],e,a+16|0,v[a+20>>2],a+24|0,0,b)}Ma=f+16|0}function uca(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a=Ma-384|0;Ma=a;v[a+376>>2]=37;v[a+380>>2]=0;h=zx(a+376|1,349015,v[c+4>>2]);v[a+332>>2]=a+336;f=te();a:{if(h){i=v[c+8>>2];A[a+40>>3]=e;v[a+32>>2]=i;f=Ih(a+336|0,30,f,a+376|0,a+32|0);break a}A[a+48>>3]=e;f=Ih(a+336|0,30,f,a+376|0,a+48|0)}v[a+80>>2]=1563;i=nf(a+320|0,0,a+80|0);j=a+336|0;g=j;b:{if((f|0)>=30){f=te();c:{if(h){g=v[c+8>>2];A[a+8>>3]=e;v[a>>2]=g;f=Xl(a+332|0,f,a+376|0,a);break c}A[a+16>>3]=e;f=Xl(a+332|0,f,a+376|0,a+16|0)}if((f|0)==-1){break b}g=v[i>>2];v[i>>2]=v[a+332>>2];if(g){Qa[v[i+4>>2]](g)}g=v[a+332>>2]}l=f+g|0;m=tj(g,l,c);v[a+80>>2]=1563;g=nf(a+72|0,0,a+80|0);d:{if(v[a+332>>2]==(a+336|0)){f=a+80|0;break d}f=gb(f<<3);if(!f){break b}h=v[g>>2];v[g>>2]=f;if(h){Qa[v[g+4>>2]](h)}j=v[a+332>>2]}h=a+56|0;k=v[c+28>>2];v[h>>2]=k;v[k+4>>2]=v[k+4>>2]+1;yO(j,m,l,f,a+68|0,a- -64|0,h);h=v[h>>2];j=v[h+4>>2]-1|0;v[h+4>>2]=j;if((j|0)==-1){Qa[v[v[h>>2]+8>>2]](h)}c=Wm(b,f,v[a+68>>2],v[a+64>>2],c,d);b=v[g>>2];v[g>>2]=0;if(b){Qa[v[g+4>>2]](b)}b=v[i>>2];v[i>>2]=0;if(b){Qa[v[i+4>>2]](b)}Ma=a+384|0;return c|0}_f();L()}function bda(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,h=0,i=0,j=0,k=0;a=Ma-272|0;Ma=a;v[a+256>>2]=c;v[a+264>>2]=b;h=Yl(d);cu(a+208|0,d,a+255|0);b=ud(a+192|0);md(b,w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10);d=a;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+188>>2]=c;v[a+12>>2]=a+16;v[a+8>>2]=0;while(1){a:{if(!Mh(a+264|0,a+256|0)){break a}g=v[a+188>>2];if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}if((g|0)==(d+c|0)){c=b;b:{if(w[c+11|0]>>>7|0){d=v[c+4>>2];break b}d=w[c+11|0]}g=c;if(w[c+11|0]>>>7|0){i=v[c+4>>2]}else{i=w[c+11|0]}md(g,i<<1);md(c,w[c+11|0]>>>7|0?(v[c+8>>2]&2147483647)-1|0:10);g=a;if(w[c+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[g+188>>2]=d+c}if(Cr(sf(a+264|0),h,c,a+188|0,a+8|0,t[a+255|0],a+208|0,a+16|0,a+12|0,1004032)){break a}Zf(a+264|0);continue}break}if(w[a+219|0]>>>7|0){d=v[a+212>>2]}else{d=w[a+219|0]}c:{if(!d){break c}d=v[a+12>>2];if((d-(a+16|0)|0)>159){break c}v[a+12>>2]=d+4;v[d>>2]=v[a+8>>2]}j=f,k=KO(c,v[a+188>>2],e,h),v[j>>2]=k;v[f+4>>2]=Pa;Jh(a+208|0,a+16|0,v[a+12>>2],e);if(yg(a+264|0,a+256|0)){v[e>>2]=v[e>>2]|2}c=v[a+264>>2];Vb(b);Vb(a+208|0);Ma=a+272|0;return c|0}function bH(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=Ma-80|0;Ma=g;f=1;e=b+1|0;d=Je(a,b,c);a:{if((d|0)==28){c=Je(a,e,c)<<8|Je(a,b+2|0,c);l(0,(c&32768?c|-65536:c)|0);l(1,0);h=+n();e=b+3|0;break a}if((d|0)==29){d=Je(a,e,c);l(0,(Je(a,b+2|0,c)<<8|d<<16|Je(a,b+3|0,c))<<8|Je(a,b+4|0,c));l(1,0);h=+n();e=b+5|0;break a}if((d|0)==30){b=0;while(1){b:{i=Je(a,e,c);e=e+1|0;j=i>>4;if((j|0)==15){d=b;break b}t[b+g|0]=w[j+880864|0];d=64;f=b+1|0;if((f|0)==64){break b}if((j|0)==12){t[f+g|0]=45;f=b+2|0}if((f|0)==64){d=f;break b}i=i&15;if((i|0)==15){d=f;break b}t[f+g|0]=w[i+880864|0];b=f+1|0;if((b|0)==64){break b}if((i|0)==12){t[b+g|0]=45;b=f+2|0}d=b;if((b|0)<64){continue}}break}t[d+g|0]=0;f=2;h=Ue(g);break a}if(d-32>>>0<=214){l(0,d-139|0);l(1,0);h=+n();break a}if(d-247>>>0<=3){l(0,(Je(a,e,c)+(d<<8)|0)-63124|0);l(1,0);h=+n();e=b+2|0;break a}if(d-251>>>0<=3){l(0,64148-(Je(a,e,c)+(d<<8)|0)|0);l(1,0);h=+n();e=b+2|0;break a}c:{if((d|0)==12){l(0,Je(a,e,c)+3072|0);l(1,0);h=+n();e=b+2|0;break c}l(0,d|0);l(1,0);h=+n()}f=0}b=v[a+1144>>2];if((b|0)<=48){v[a+1144>>2]=b+1;a=(b<<4)+a|0;A[a+368>>3]=h;v[a+360>>2]=f}Ma=g+80|0;return e}function Dca(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a=Ma-208|0;Ma=a;v[a+200>>2]=37;v[a+204>>2]=0;h=zx(a+200|1,349015,v[c+4>>2]);v[a+156>>2]=a+160;f=te();a:{if(h){i=v[c+8>>2];A[a+40>>3]=e;v[a+32>>2]=i;f=Ih(a+160|0,30,f,a+200|0,a+32|0);break a}A[a+48>>3]=e;f=Ih(a+160|0,30,f,a+200|0,a+48|0)}v[a+80>>2]=1563;i=nf(a+144|0,0,a+80|0);j=a+160|0;g=j;b:{if((f|0)>=30){f=te();c:{if(h){g=v[c+8>>2];A[a+8>>3]=e;v[a>>2]=g;f=Xl(a+156|0,f,a+200|0,a);break c}A[a+16>>3]=e;f=Xl(a+156|0,f,a+200|0,a+16|0)}if((f|0)==-1){break b}g=v[i>>2];v[i>>2]=v[a+156>>2];if(g){Qa[v[i+4>>2]](g)}g=v[a+156>>2]}l=f+g|0;m=tj(g,l,c);v[a+80>>2]=1563;g=nf(a+72|0,0,a+80|0);d:{if(v[a+156>>2]==(a+160|0)){f=a+80|0;break d}f=gb(f<<1);if(!f){break b}h=v[g>>2];v[g>>2]=f;if(h){Qa[v[g+4>>2]](h)}j=v[a+156>>2]}h=a+56|0;k=v[c+28>>2];v[h>>2]=k;v[k+4>>2]=v[k+4>>2]+1;zO(j,m,l,f,a+68|0,a- -64|0,h);h=v[h>>2];j=v[h+4>>2]-1|0;v[h+4>>2]=j;if((j|0)==-1){Qa[v[v[h>>2]+8>>2]](h)}c=Xm(b,f,v[a+68>>2],v[a+64>>2],c,d);b=v[g>>2];v[g>>2]=0;if(b){Qa[v[g+4>>2]](b)}b=v[i>>2];v[i>>2]=0;if(b){Qa[v[i+4>>2]](b)}Ma=a+208|0;return c|0}_f();L()}function $ca(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,h=0,i=0,j=0,k=0;a=Ma-272|0;Ma=a;v[a+256>>2]=c;v[a+264>>2]=b;h=Yl(d);cu(a+208|0,d,a+255|0);b=ud(a+192|0);md(b,w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10);d=a;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+188>>2]=c;v[a+12>>2]=a+16;v[a+8>>2]=0;while(1){a:{if(!Mh(a+264|0,a+256|0)){break a}g=v[a+188>>2];if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}if((g|0)==(d+c|0)){c=b;b:{if(w[c+11|0]>>>7|0){d=v[c+4>>2];break b}d=w[c+11|0]}g=c;if(w[c+11|0]>>>7|0){i=v[c+4>>2]}else{i=w[c+11|0]}md(g,i<<1);md(c,w[c+11|0]>>>7|0?(v[c+8>>2]&2147483647)-1|0:10);g=a;if(w[c+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[g+188>>2]=d+c}if(Cr(sf(a+264|0),h,c,a+188|0,a+8|0,t[a+255|0],a+208|0,a+16|0,a+12|0,1004032)){break a}Zf(a+264|0);continue}break}if(w[a+219|0]>>>7|0){d=v[a+212>>2]}else{d=w[a+219|0]}c:{if(!d){break c}d=v[a+12>>2];if((d-(a+16|0)|0)>159){break c}v[a+12>>2]=d+4;v[d>>2]=v[a+8>>2]}j=f,k=GO(c,v[a+188>>2],e,h),v[j>>2]=k;v[f+4>>2]=Pa;Jh(a+208|0,a+16|0,v[a+12>>2],e);if(yg(a+264|0,a+256|0)){v[e>>2]=v[e>>2]|2}c=v[a+264>>2];Vb(b);Vb(a+208|0);Ma=a+272|0;return c|0}function cd(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=v[a+28>>2];e=v[a>>2];if(!(!e&(!v[v[(v[a+24>>2]+(d<<2)|0)-4>>2]+20>>2]|(d|0)<1))){g=d;d=v[a+32>>2];if((g|0)>=(d|0)){d=d<<1;v[a+32>>2]=d;j=a,k=yc(v[a+24>>2],d,4),v[j+24>>2]=k;e=v[a>>2]}d=ab(24);a:{if(e){h=A[a+16>>3];i=A[a+8>>3];v[d+16>>2]=16;f=Pb(16,8);v[d>>2]=f;g=Pb(16,8);v[d+4>>2]=g;e=Pb(16,4);v[d+12>>2]=1;v[d+8>>2]=e;A[f>>3]=i;A[g>>3]=h;v[e>>2]=0;v[d+20>>2]=0;e=v[a+28>>2];g=v[a+24>>2]+(e<<2)|0;break a}e=v[(v[a+24>>2]+(v[a+28>>2]<<2)|0)-4>>2];f=(v[e+12>>2]<<3)-8|0;h=A[f+v[e+4>>2]>>3];i=A[f+v[e>>2]>>3];v[d+16>>2]=16;f=Pb(16,8);v[d>>2]=f;g=Pb(16,8);v[d+4>>2]=g;e=Pb(16,4);v[d+12>>2]=1;v[d+8>>2]=e;A[f>>3]=i;A[g>>3]=h;v[e>>2]=0;v[d+20>>2]=0;e=v[a+28>>2];g=v[a+24>>2]+(e<<2)|0}v[g>>2]=d;v[a>>2]=0;d=e+1|0;v[a+28>>2]=d}a=v[(v[a+24>>2]+(d<<2)|0)-4>>2];d=v[a+12>>2];e=v[a+16>>2];b:{if((d|0)<(e|0)){e=v[a+8>>2];break b}d=e<<1;v[a+16>>2]=d;j=a,k=yc(v[a>>2],d,8),v[j>>2]=k;j=a,k=yc(v[a+4>>2],v[a+16>>2],8),v[j+4>>2]=k;e=yc(v[a+8>>2],v[a+16>>2],4);v[a+8>>2]=e;d=v[a+12>>2]}f=d<<3;A[f+v[a>>2]>>3]=b;A[f+v[a+4>>2]>>3]=c;v[(d<<2)+e>>2]=0;v[a+12>>2]=v[a+12>>2]+1}function cb(a,b,c){var d=0,e=0,f=0;if(c>>>0>=512){pa(a|0,b|0,c|0)|0;return a}e=a+c|0;a:{if(!((a^b)&3)){b:{if(!(a&3)){c=a;break b}if((c|0)<1){c=a;break b}c=a;while(1){t[c|0]=w[b|0];b=b+1|0;c=c+1|0;if(!(c&3)){break b}if(c>>>0>>0){continue}break}}d=e&-4;c:{if(d>>>0<64){break c}f=d+-64|0;if(f>>>0>>0){break c}while(1){v[c>>2]=v[b>>2];v[c+4>>2]=v[b+4>>2];v[c+8>>2]=v[b+8>>2];v[c+12>>2]=v[b+12>>2];v[c+16>>2]=v[b+16>>2];v[c+20>>2]=v[b+20>>2];v[c+24>>2]=v[b+24>>2];v[c+28>>2]=v[b+28>>2];v[c+32>>2]=v[b+32>>2];v[c+36>>2]=v[b+36>>2];v[c+40>>2]=v[b+40>>2];v[c+44>>2]=v[b+44>>2];v[c+48>>2]=v[b+48>>2];v[c+52>>2]=v[b+52>>2];v[c+56>>2]=v[b+56>>2];v[c+60>>2]=v[b+60>>2];b=b- -64|0;c=c- -64|0;if(f>>>0>=c>>>0){continue}break}}if(c>>>0>=d>>>0){break a}while(1){v[c>>2]=v[b>>2];b=b+4|0;c=c+4|0;if(d>>>0>c>>>0){continue}break}break a}if(e>>>0<4){c=a;break a}d=e-4|0;if(d>>>0>>0){c=a;break a}c=a;while(1){t[c|0]=w[b|0];t[c+1|0]=w[b+1|0];t[c+2|0]=w[b+2|0];t[c+3|0]=w[b+3|0];b=b+4|0;c=c+4|0;if(d>>>0>=c>>>0){continue}break}}if(c>>>0>>0){while(1){t[c|0]=w[b|0];b=b+1|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}return a}function h3(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;b=Ma-16|0;Ma=b;a:{if(!a|(a?v[a+36>>2]:0)){break a}f=b+12|0;g=b+8|0;d=b+4|0;if(a){if(f){v[f>>2]=v[a>>2]}if(g){v[g>>2]=v[a+4>>2]}if(d){v[d>>2]=v[a+8>>2]}}d=v[b+4>>2];if((d|0)>8){break a}if((d|0)==8){e=se(0,a);break a}c=Mg(v[b+12>>2],v[b+8>>2],8);if(!c){break a}if(!(!a|!c|(a|0)==(c|0))){v[c+20>>2]=v[a+20>>2];v[c+24>>2]=v[a+24>>2]}k=a?v[a+40>>2]:0;f=a?v[a+12>>2]:-1;g=c?v[c+40>>2]:0;d=c?v[c+12>>2]:-1;if(v[b+8>>2]>=1){while(1){h=(B(d,e)<<2)+g|0;i=(B(e,f)<<2)+k|0;b:{c:{d:{switch(v[b+4>>2]-1|0){case 3:j=v[b+12>>2];break c;case 1:if(v[b+12>>2]<1){break b}a=0;while(1){t[a+h^3]=v[i+(a>>>2&1073741820)>>2]>>>((a<<1^-1)&30)&3;a=a+1|0;j=v[b+12>>2];if((a|0)<(j|0)){continue}break};break c;case 0:break d;default:break b}}a=0;if(v[b+12>>2]<1){break b}while(1){t[a+h^3]=v[i+(a>>>3&536870908)>>2]>>>(a^-1)&1;a=a+1|0;if((a|0)>2]){continue}break}break b}a=0;if((j|0)<1){break b}while(1){t[a+h^3]=v[i+(a>>>2&1073741820)>>2]>>>((a<<1^-1)&30)&3;a=a+1|0;if((a|0)>2]){continue}break}}e=e+1|0;if((e|0)>2]){continue}break}}e=c}Ma=b+16|0;return e}function nTa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;b=Ma-80|0;Ma=b;d=x[a+26304>>1];c=x[a+26306>>1];if((Qa[v[v[a>>2]>>2]](v[a+4>>2],b+70|0,1,10)|0)==10){h=B(B(c,d),5)>>>3|0;while(1){d=i;v[b+8>>2]=d+1;v[b+16>>2]=d+2;v[b+24>>2]=d+3;v[b+32>>2]=d+4;c=w[b+70|0];v[b+4>>2]=w[b+71|0]|c<<8;i=w[b+72|0];v[b+12>>2]=w[b+73|0]|i<<8;e=w[b+74|0];v[b+20>>2]=w[b+75|0]|e<<8;g=w[b+76|0];v[b+28>>2]=w[b+77|0]|g<<8;f=w[b+78|0];v[b+36>>2]=w[b+79|0]|f<<8;v[b+40>>2]=h;v[b+56>>2]=h+2;v[b+48>>2]=h+1;c=c<<4&4032|j<<12|i>>>2;v[b+44>>2]=c>>>2&4095;c=e<<4&4032|c<<12|g>>>2;j=c<<6|f>>>2;v[b+60>>2]=j;v[b+52>>2]=c>>>4&4194303;i=d+5|0;h=h+3|0;c=d;e=0;while(1){f=x[a+26306>>1];k=(c>>>0)/(f>>>0)|0;g=k-x[a+26312>>1]|0;a:{if(g>>>0>=x[a+26308>>1]){break a}c=(c-B(f,k)|0)-x[a+26314>>1]|0;if(c>>>0>=x[a+26310>>1]){break a}f=x[a+26316>>1];u[(v[a+26352>>2]+(B(x[a+26320>>1],g>>>f|0)+(c>>>f|0)<<3)|0)+((v[a+26028>>2]>>>((c&1|g<<1&14)<<1)&3)<<1)>>1]=x[(e<<2|4)+b>>1]&1023}if(e>>>0<=13){e=e+2|0;c=v[(e<<2)+b>>2];continue}break}if((Qa[v[v[a>>2]>>2]](v[a+4>>2],b+70|0,1,10)|0)==10){continue}break}v[b>>2]=d}v[a+26124>>2]=1023;Ma=b+80|0}function Bja(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=Ma-16|0;Ma=d;b=Mf();c=d+8|0;v[c>>2]=0;b=v[v[b+48>>2]+((a>>>0)%y[b+44>>2]<<2)>>2];a:{if(!b){break a}while(1){if(!(v[b+12>>2]==(a|0)&v[b+16>>2]==(a|0))){b=v[b+8>>2];if(b){continue}break a}break}if(!v[b+20>>2]|v[a+4>>2]<1){break a}qb(c,a);a=v[c>>2];if(!a|v[a+4>>2]>0){break a}qb(c,0)}a=v[d+8>>2];b:{if(!a){break b}b=Oc(d,280549);a=Qa[v[v[a>>2]+8>>2]](a,b)|0;db(b);if(!a){break b}a=v[d+8>>2];b=Ma-32|0;Ma=b;v[b+24>>2]=0;qb(b+24|0,a);g=a,h=Su(v[a+108>>2]),v[g+68>>2]=h;e=a+148|0;mi(e,0,16,0);c=Mf();Qa[v[v[c>>2]+40>>2]](c,a,16,0);if(!(v[e>>2]&64)){Lu(a)}f=Lf(b+8|0,a+112|0);c=v[b+16>>2];c:{if(c){while(1){if(!(v[v[c+8>>2]+148>>2]&32)){break c}c=v[c>>2];if(c){continue}break}}mi(e,0,32,0);c=Mf();Qa[v[v[c>>2]+40>>2]](c,a,32,0)}ac(f);a=v[b+24>>2];v[b+24>>2]=0;d:{if(!a){break d}c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(c){break d}c=v[a+4>>2];if(!c){v[a+4>>2]=-32767}if(!c){Qa[v[v[a>>2]+4>>2]](a)}}Ma=b+32|0}a=v[d+8>>2];v[d+8>>2]=0;e:{if(!a){break e}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break e}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=d+16|0}function WA(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=Ma-16|0;Ma=h;f=v[a+28>>2];v[h+12>>2]=0;v[c>>2]=0;e=v[a+32>>2];if(e>>>0>2]){v[a+32>>2]=e+1;d=t[e|0]}else{d=0}e=d<<24>>24;d=-1;a:{if(!e){break a}g=e&255;if(g&128){g=g<<8&32512;e=v[a+32>>2];if(e>>>0>2]){v[a+32>>2]=e+1;d=t[e|0]}else{d=0}g=g|d<<24>>24&255}d=0;if(b>>>0>>0){break a}e=yb(f,2,0,g+1|0,0,h+12|0);d=0;if(v[h+12>>2]){break a}v[c>>2]=g;if(g){c=0;b=0;while(1){d=v[a+32>>2];if(d>>>0>2]){v[a+32>>2]=d+1;d=t[d|0]}else{d=0}f=d<<24>>24;j=f&255;b:{if(f&128){c=ae(a)+c|0;u[e+(b<<1)>>1]=c;b=b+1|0;d=0;f=j&127;if(!f){break b}while(1){c=ae(a)+c|0;u[e+(b<<1)>>1]=c;b=b+1|0;if(g>>>0<=b>>>0){break b}d=d+1|0;if(f>>>0>d>>>0){continue}break}break b}i=e+(b<<1)|0;d=v[a+32>>2];if(d>>>0>2]){v[a+32>>2]=d+1;d=t[d|0]}else{d=0}c=(d<<24>>24&255)+c|0;u[i>>1]=c;b=b+1|0;d=0;if(!f){break b}while(1){i=e+(b<<1)|0;f=v[a+32>>2];if(f>>>0>2]){v[a+32>>2]=f+1;f=t[f|0]}else{f=0}c=(f<<24>>24&255)+c|0;u[i>>1]=c;b=b+1|0;if(g>>>0<=b>>>0){break b}d=d+1|0;if(j>>>0>d>>>0){continue}break}}if(b>>>0>>0){continue}break}}d=e}Ma=h+16|0;return d}function Ksa(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;h=Ma-128|0;Ma=h;d=v[a+28>>2];a:{if(v[d+664>>2]){d=-1;a=v[a+108>>2];b:{if(!a){break b}a=v[a+4>>2];if(v[a+8>>2]==13){break b}a=v[a+16>>2];d=Qa[v[v[a>>2]+52>>2]](a)|0}fb(0,d,245116,0);break a}d=v[d+116>>2];if((Qa[v[v[d>>2]+28>>2]](d)|0)!=(c|0)){d=-1;a=v[a+108>>2];c:{if(!a){break c}a=v[a+4>>2];if(v[a+8>>2]==13){break c}a=v[a+16>>2];d=Qa[v[v[a>>2]+52>>2]](a)|0}fb(1,d,287662,0);break a}d=0;e=v[a+28>>2];g=v[e+380>>2];if(g){Qa[v[v[g>>2]+4>>2]](g)}v[e+380>>2]=0;d:{if((c|0)<1){break d}if((c|0)!=1){g=c&-2;while(1){i=(d<<2)+h|0;e=(d<<4)+b|0;f=(v[e>>2]==1?+v[e+8>>2]:A[e+8>>3])*65536;e:{if(D(f)<2147483648){e=~~f;break e}e=-2147483648}v[i>>2]=e;i=d|1;e=(i<<4)+b|0;f=(v[e>>2]==1?+v[e+8>>2]:A[e+8>>3])*65536;f:{if(D(f)<2147483648){e=~~f;break f}e=-2147483648}v[(i<<2)+h>>2]=e;d=d+2|0;g=g-2|0;if(g){continue}break}}if(!(c&1)){break d}c=(d<<2)+h|0;b=(d<<4)+b|0;f=(v[b>>2]==1?+v[b+8>>2]:A[b+8>>3])*65536;g:{if(D(f)<2147483648){b=~~f;break g}b=-2147483648}v[c>>2]=b}cb(v[a+28>>2]+124|0,h,128);b=v[a+8>>2];Qa[v[v[b>>2]+116>>2]](b,v[a+28>>2])}Ma=h+128|0}function eM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Ma-176|0;Ma=c;d=w[a+13|0];e=w[a+12|0];v[c+168>>2]=w[a+52|0];v[c+164>>2]=d;v[c+160>>2]=e;vb(b,44259,c+160|0);d=v[a+16>>2];v[c+144>>2]=0;v[c+148>>2]=0;A[c+152>>3]=+(d|0)*152587890625e-16;Ph(b,45065,c+144|0);d=v[a+20>>2];v[c+128>>2]=0;v[c+132>>2]=1;A[c+136>>3]=+(d|0)*152587890625e-16;Ph(b,45065,c+128|0);d=v[a+24>>2];v[c+112>>2]=0;v[c+116>>2]=2;A[c+120>>3]=+(d|0)*152587890625e-16;Ph(b,45065,c+112|0);Ee(10,b);d=v[a+28>>2];v[c+96>>2]=1;v[c+100>>2]=0;A[c+104>>3]=+(d|0)*152587890625e-16;Ph(b,45065,c+96|0);d=v[a+32>>2];v[c+80>>2]=1;v[c+84>>2]=1;A[c+88>>3]=+(d|0)*152587890625e-16;Ph(b,45065,c+80|0);d=v[a+36>>2];v[c+64>>2]=1;v[c+68>>2]=2;A[c+72>>3]=+(d|0)*152587890625e-16;Ph(b,45065,c- -64|0);Ee(10,b);d=v[a+40>>2];v[c+48>>2]=2;v[c+52>>2]=0;A[c+56>>3]=+(d|0)*152587890625e-16;Ph(b,45065,c+48|0);d=v[a+44>>2];v[c+32>>2]=2;v[c+36>>2]=1;A[c+40>>3]=+(d|0)*152587890625e-16;Ph(b,45065,c+32|0);d=v[a+48>>2];v[c+16>>2]=2;v[c+20>>2]=2;A[c+24>>3]=+(d|0)*152587890625e-16;Ph(b,45065,c+16|0);Ee(10,b);d=v[a+60>>2];v[c+4>>2]=v[a+72>>2];v[c>>2]=d;vb(b,46545,c);Ma=c+176|0}function u_a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=v[v[a+536>>2]+88>>2];d=(v[d+1176>>2]+B(v[d+1168>>2],v[a+572>>2])|0)+B(v[d+1164>>2],v[a+580>>2])|0;e=v[a+644>>2];a:{b:{switch(w[a+2253|0]-3|0){case 0:if(v[a+588>>2]<=0){break a}while(1){b=w[d|0]|w[d+1|0]<<8;c=(b<<8|b>>>8)&65535;b=w[e|0]|w[e+1|0]<<8;b=c+((b<<8|b>>>8)&65535)&65535;b=b<<8|b>>>8;t[d|0]=b;t[d+1|0]=b>>>8;b=d+2|0;c=w[b|0]|w[b+1|0]<<8;g=(c<<8|c>>>8)&65535;c=w[e+2|0]|w[e+3|0]<<8;c=g+((c<<8|c>>>8)&65535)&65535;c=c<<8|c>>>8;t[b|0]=c;t[b+1|0]=c>>>8;b=d+4|0;c=w[b|0]|w[b+1|0]<<8;g=(c<<8|c>>>8)&65535;c=w[e+4|0]|w[e+5|0]<<8;c=g+((c<<8|c>>>8)&65535)&65535;c=c<<8|c>>>8;t[b|0]=c;t[b+1|0]=c>>>8;e=e+6|0;d=d+8|0;f=f+1|0;if((f|0)>2]){continue}break};break a;case 3:break b;default:break a}}if(v[a+588>>2]<1){break a}while(1){b=w[e|0]|w[e+1|0]<<8;b=(b<<8|b>>>8)&65535;b=b<<8|b>>>8;t[d|0]=b;t[d+1|0]=b>>>8;b=w[e+2|0]|w[e+3|0]<<8;b=(b<<8|b>>>8)&65535;b=b<<8|b>>>8;t[d+2|0]=b;t[d+3|0]=b>>>8;b=w[e+4|0]|w[e+5|0]<<8;b=(b<<8|b>>>8)&65535;b=b<<8|b>>>8;t[d+4|0]=b;t[d+5|0]=b>>>8;e=e+6|0;d=d+8|0;f=f+1|0;if((f|0)>2]){continue}break}}return 0}function TW(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{if(!a|(b|0)<1){break c}while(1){d:{f=e;d=f+a|0;g=w[d|0];if(!(g&128)){if(g>>>0>=32){e=f+1|0;break d}if(!(!(1<>>0>13)){e=f+1|0;break d}break b}if((g&224)==192){e=f+2|0;if((e|0)>(b|0)){break a}d=w[d+1|0];if((d&192)!=128){break b}d=d&63|g<<6&1984;if(d>>>0>255|d>>>0>31|(1<>>0<=13:0)){break d}break b}if((g&240)==224){e=f+3|0;if((e|0)>(b|0)){break a}e:{h=w[d+1|0];if((h&192)==128){d=w[d+2|0];if((d&192)==128){break e}}break b}d=d&63|(h<<6&4032|g<<12&61440);f:{if(d>>>0<=255){if(d>>>0>31){break d}if(!(1<>>0>13){break f}break d}if(d>>>0<55296|d-57344>>>0<8190){break d}}break b}if((g&248)==240){e=f+4|0;if((e|0)>(b|0)){break a}i=w[d+1|0];if((i&192)!=128){break b}h=w[d+2|0];if((h&192)!=128){break b}d=w[d+3|0];if((d&192)!=128){break b}d=d&63|(h<<6&4032|(i<<12&258048|g<<18&1835008));g:{if(d>>>0<=255){if(d>>>0>31){break d}if(!(1<>>0>13){break g}break d}if(d>>>0<55296|d-57344>>>0<8190|d-65536>>>0<1048576){break d}}break b}e=0-f|0;break c}if((b|0)>(e|0)){continue}break}}return e}return 0-f|0}return c?0-f|0:f}function Z0(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=v[a+480>>2];b=v[a+88>>2];c=(b|0)==1;v[f+28>>2]=c;c=Qa[v[v[a+4>>2]+8>>2]](a,1,c?766:256,v[a+120>>2])|0;v[f+24>>2]=c;a:{if(v[a+120>>2]<1){break a}i=v[f+20>>2];if((b|0)==1){while(1){d=g<<2;b=v[(d+f|0)+32>>2];c=c+d|0;v[c>>2]=v[c>>2]+255;h=b-1|0;j=h<<1;e=(b+254|0)/(j|0)|0;i=(i|0)/(b|0)|0;d=v[d+v[f+24>>2]>>2];c=0;b=0;while(1){if((b|0)>(e|0)){while(1){c=c+1|0;e=(h+B(c<<1|1,255)|0)/(j|0)|0;if((e|0)<(b|0)){continue}break}}t[b+d|0]=B(c,i);b=b+1|0;if((b|0)!=256){continue}break}c=1;while(1){e=d-c|0;t[e|0]=w[d|0];b=c+d|0;t[b+255|0]=w[d+255|0];t[d+(c^-1)|0]=w[d|0];t[b+256|0]=w[d+255|0];t[e-2|0]=w[d|0];t[b+257|0]=w[d+255|0];c=c+3|0;if((c|0)!=256){continue}break}g=g+1|0;if((g|0)>=v[a+120>>2]){break a}c=v[f+24>>2];continue}}while(1){h=g<<2;b=v[(h+f|0)+32>>2];j=b-1|0;d=j<<1;e=(b+254|0)/(d|0)|0;i=(i|0)/(b|0)|0;h=v[c+h>>2];c=0;b=0;while(1){if((b|0)>(e|0)){while(1){c=c+1|0;e=(j+B(c<<1|1,255)|0)/(d|0)|0;if((e|0)<(b|0)){continue}break}}t[b+h|0]=B(c,i);b=b+1|0;if((b|0)!=256){continue}break}g=g+1|0;if((g|0)>=v[a+120>>2]){break a}c=v[f+24>>2];continue}}}function tl(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=Ma-192|0;Ma=e;a:{if(!c|!b){break a}b:{if(v[a+256>>2]!=1?a:0){break b}c:{d=w[b|0];if(d&128){if((w[b+1|0]&192)!=128){break c}d:{if((d&224)==224){if((w[b+2|0]&192)!=128){break c}if((d&240)==240){if((d&248)!=240|(w[b+3|0]&192)!=128){break c}d=b+3|0;v[c>>2]=4;b=(w[b+1|0]&63)<<12|(w[b|0]&7)<<18|(w[b+2|0]&63)<<6;break d}d=b+2|0;v[c>>2]=3;b=(w[b+1|0]&63)<<6|(w[b|0]&15)<<12;break d}d=b+1|0;v[c>>2]=2;b=(w[b|0]&31)<<6}d=b|w[d|0]&63;e:{if(d>>>0<=255){if(d>>>0>31){break a}if(!(1<>>0>13){break e}break a}if(d>>>0<55296|d-57344>>>0<8190|d-65536>>>0<1048576){break a}}bA(a,343527,d);break a}break b}f:{g:{if(!a){break g}d=v[a+36>>2];if(!d){break g}f=v[d+20>>2];d=v[d+16>>2];if((f-d|0)>3){break f}}d=0;v[c>>2]=0;break a}f=w[d|0];g=w[d+1|0];h=w[d+2|0];v[e+28>>2]=w[d+3|0];v[e+24>>2]=h;v[e+20>>2]=g;v[e+16>>2]=f;_i(e+32|0,149,345390,e+16|0);h:{if(v[a+172>>2]==-1?v[a+212>>2]:0){break h}v[a+84>>2]=9;v[e+4>>2]=0;d=e+32|0;v[e>>2]=d;nb(0,0,0,a,0,1,9,3,d,0,0,0,237149,e);v[a+12>>2]=0;if(v[a+288>>2]){break h}v[a+212>>2]=1}}v[c>>2]=1;d=w[b|0]}Ma=e+192|0;return d}function dda(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,h=0,i=0,j=0,k=0;a=Ma-272|0;Ma=a;v[a+256>>2]=c;v[a+264>>2]=b;h=Yl(d);cu(a+208|0,d,a+255|0);b=ud(a+192|0);md(b,w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10);d=a;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+188>>2]=c;v[a+12>>2]=a+16;v[a+8>>2]=0;while(1){a:{if(!Mh(a+264|0,a+256|0)){break a}g=v[a+188>>2];if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}if((g|0)==(d+c|0)){c=b;b:{if(w[c+11|0]>>>7|0){d=v[c+4>>2];break b}d=w[c+11|0]}g=c;if(w[c+11|0]>>>7|0){i=v[c+4>>2]}else{i=w[c+11|0]}md(g,i<<1);md(c,w[c+11|0]>>>7|0?(v[c+8>>2]&2147483647)-1|0:10);g=a;if(w[c+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[g+188>>2]=d+c}if(Cr(sf(a+264|0),h,c,a+188|0,a+8|0,t[a+255|0],a+208|0,a+16|0,a+12|0,1004032)){break a}Zf(a+264|0);continue}break}if(w[a+219|0]>>>7|0){d=v[a+212>>2]}else{d=w[a+219|0]}c:{if(!d){break c}d=v[a+12>>2];if((d-(a+16|0)|0)>159){break c}v[a+12>>2]=d+4;v[d>>2]=v[a+8>>2]}j=f,k=LO(c,v[a+188>>2],e,h),v[j>>2]=k;Jh(a+208|0,a+16|0,v[a+12>>2],e);if(yg(a+264|0,a+256|0)){v[e>>2]=v[e>>2]|2}c=v[a+264>>2];Vb(b);Vb(a+208|0);Ma=a+272|0;return c|0}function ada(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,h=0,i=0,j=0,k=0;a=Ma-272|0;Ma=a;v[a+256>>2]=c;v[a+264>>2]=b;h=Yl(d);cu(a+208|0,d,a+255|0);b=ud(a+192|0);md(b,w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10);d=a;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+188>>2]=c;v[a+12>>2]=a+16;v[a+8>>2]=0;while(1){a:{if(!Mh(a+264|0,a+256|0)){break a}g=v[a+188>>2];if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}if((g|0)==(d+c|0)){c=b;b:{if(w[c+11|0]>>>7|0){d=v[c+4>>2];break b}d=w[c+11|0]}g=c;if(w[c+11|0]>>>7|0){i=v[c+4>>2]}else{i=w[c+11|0]}md(g,i<<1);md(c,w[c+11|0]>>>7|0?(v[c+8>>2]&2147483647)-1|0:10);g=a;if(w[c+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[g+188>>2]=d+c}if(Cr(sf(a+264|0),h,c,a+188|0,a+8|0,t[a+255|0],a+208|0,a+16|0,a+12|0,1004032)){break a}Zf(a+264|0);continue}break}if(w[a+219|0]>>>7|0){d=v[a+212>>2]}else{d=w[a+219|0]}c:{if(!d){break c}d=v[a+12>>2];if((d-(a+16|0)|0)>159){break c}v[a+12>>2]=d+4;v[d>>2]=v[a+8>>2]}j=f,k=JO(c,v[a+188>>2],e,h),u[j>>1]=k;Jh(a+208|0,a+16|0,v[a+12>>2],e);if(yg(a+264|0,a+256|0)){v[e>>2]=v[e>>2]|2}c=v[a+264>>2];Vb(b);Vb(a+208|0);Ma=a+272|0;return c|0}function f4(a,b,c,d,e,f,g,h,i,j,k){var l=0,m=0;m=Ma-16|0;Ma=m;l=ig(a,b);b=ig(a,c);v[m+12>>2]=b;a:{if(!l){c=1045;ob(a,1045,0,0);break a}if(b){c=1046;ob(a,1046,0,0);break a}b=e?!f:w[l+31|0];f=(g|0)==1;b:{c:{switch(d-1|0){default:c=xL(a,c,0,b<<24>>24,f,h,i,j,k,l,m+12|0);break b;case 0:c=xL(a,c,1,b<<24>>24,f,h,i,j,k,l,m+12|0);break b;case 1:break c}}t[l+31|0]=b;d:{if(!h){break d}if(!i){v[l+40>>2]=k;v[l+36>>2]=j;break d}v[l+36>>2]=v[l+36>>2]+j;v[l+40>>2]=v[l+40>>2]+k}e:{if(!c){break e}d=0;e=v[a+692>>2];f:{if(!e){g=1;break f}while(1){b=x[e+28>>1];g=b>>>0>c>>>0;if(b>>>0<=c>>>0){d=e;break f}e=v[e+12>>2];if(e){continue}break}}b=v[l+12>>2];if((b|0)==(d|0)){break e}h=a+692|0;e=v[l+8>>2];g:{if(b){v[b+8>>2]=e;e=v[l+8>>2];break g}v[a+688>>2]=e}v[(e?e+12|0:h)>>2]=b;h:{if(!g){v[l+12>>2]=d;v[l+8>>2]=v[d+8>>2];v[d+8>>2]=l;e=v[l+8>>2];break h}e=v[a+688>>2];v[l+8>>2]=e;v[a+688>>2]=l}v[(e?e+12|0:h)>>2]=l}u[l+28>>1]=c;if(f){t[v[l+88>>2]+33|0]=0}v[m+12>>2]=l;c=0}if(c){break a}c=0;b=v[m+12>>2];if(!w[b+32|0]|!w[b+31|0]){break a}v[a+532>>2]=b;$g(a,b,0);if(!w[a+497|0]){break a}t[a+498|0]=5}Ma=m+16|0;return c}function bCa(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,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;f=3;a:{if((d|0)<0){break a}g=v[a+8>>2];h=v[a+12>>2];i=x[h+2>>1];if((e|0)<0|y[g+4>>2]>>0){break a}k=x[h>>1];if(y[g>>2]>>0){break a}i=B(i,w[a+18|0]);if((B(i,k)+7>>>3|0)+b>>>0>c>>>0){break a}f=0;if(!i|!k){break a}l=d&7;a=8-l|0;j=a>>>0>i>>>0?i:a;p=(255<>2];h=v[g+12>>2]+(B(n,e)+(d>>>3|0)|0)|0;q=i-j|0;o=8-j|0;e=0;g=0;d=k;while(1){m=d;b:{if(!l){f=b;d=h;a=i;break b}c:{if((k|0)==(m|0)){e=w[b|0];b=b+1|0;a=l;break c}if((g|0)<(j|0)){a=g+o|0;if(b>>>0>=c>>>0){break c}e=w[b|0]|e;b=b+1|0;a=g+o|0;break c}e=(e&65280)>>>8|0;a=g-j|0}g=a;f=b;t[h|0]=w[h|0]|(e&65535)>>>g&p;e=e<<8;d=h+1|0;a=q}if((a|0)>=8){while(1){b=w[f|0]|e;t[d|0]=w[d|0]|(b&65535)>>>g;d=d+1|0;f=f+1|0;e=b<<8;b=(a|0)>15;a=a-8|0;if(b){continue}break}}d:{if((a|0)>=1){if((a|0)>(g|0)){if(c>>>0<=f>>>0){b=f}else{e=w[f|0]|e;b=f+1|0}t[d|0]=w[d|0]|(e&65535)>>>g&65280>>>a;e=e<<8;g=(g-a|0)+8|0;break d}t[d|0]=w[d|0]|65280>>>a&(e&65535)>>>g;g=g-a|0}b=f}h=h+n|0;d=m-1|0;if((m|0)>1){continue}break}f=0}return f|0}function V4(a){var b=0,c=0;c=Ma-16|0;Ma=c;b=Qa[119](3752)|0;a:{if(!b){a=0;break a}v[b+184>>2]=0;v[b+4>>2]=a;v[b>>2]=1381173770;v[b+960>>2]=0;v[b+964>>2]=0;v[b+156>>2]=120;v[b+152>>2]=119;v[b+124>>2]=1e4;v[b+128>>2]=1e4;v[b+116>>2]=8481;v[b+120>>2]=0;v[b+112>>2]=16842753;v[b+104>>2]=-501652180;v[b+108>>2]=1071454040;v[b+96>>2]=-1717986918;v[b+100>>2]=1073846681;v[b+88>>2]=0;v[b+92>>2]=1072693248;t[b+86|0]=1;a=0;u[b+84>>1]=0;v[b+80>>2]=0;v[b+52>>2]=0;v[b+56>>2]=0;v[b+160>>2]=0;v[b+164>>2]=0;v[b+168>>2]=0;v[b+172>>2]=0;v[b+176>>2]=0;v[b+180>>2]=0;eb(b+188|0,0,76);if(R4(b,0,1,1,1,0,0,0,0,0,0,0,c+12|0)){Qa[v[b+156>>2]](b,3752);break a}a=v[c+12>>2];v[b+372>>2]=0;v[b+376>>2]=0;t[b+370|0]=0;v[b+528>>2]=a;v[b+380>>2]=0;v[b+384>>2]=0;v[b+388>>2]=0;v[b+392>>2]=0;v[b+396>>2]=0;v[b+400>>2]=0;v[b+404>>2]=0;v[b+408>>2]=0;v[b+412>>2]=0;u[b+2420>>1]=0;v[b+2380>>2]=b;v[b+2376>>2]=753;v[b+2372>>2]=754;v[b+2440>>2]=4096;u[b+2436>>1]=0;v[b+2432>>2]=0;v[b+2424>>2]=0;v[b+2428>>2]=100;v[b+2412>>2]=0;v[b+2416>>2]=4096;v[b+2404>>2]=15;v[b+2408>>2]=9;v[b+2396>>2]=9;v[b+2400>>2]=8;AL(b);a=b}Ma=c+16|0;return a}function IO(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,h=0,i=0,j=0,k=0;a=Ma-272|0;Ma=a;v[a+256>>2]=c;v[a+264>>2]=b;h=Yl(d);cu(a+208|0,d,a+255|0);b=ud(a+192|0);md(b,w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10);d=a;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+188>>2]=c;v[a+12>>2]=a+16;v[a+8>>2]=0;while(1){a:{if(!Mh(a+264|0,a+256|0)){break a}g=v[a+188>>2];if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}if((g|0)==(d+c|0)){c=b;b:{if(w[c+11|0]>>>7|0){d=v[c+4>>2];break b}d=w[c+11|0]}g=c;if(w[c+11|0]>>>7|0){i=v[c+4>>2]}else{i=w[c+11|0]}md(g,i<<1);md(c,w[c+11|0]>>>7|0?(v[c+8>>2]&2147483647)-1|0:10);g=a;if(w[c+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[g+188>>2]=d+c}if(Cr(sf(a+264|0),h,c,a+188|0,a+8|0,t[a+255|0],a+208|0,a+16|0,a+12|0,1004032)){break a}Zf(a+264|0);continue}break}if(w[a+219|0]>>>7|0){d=v[a+212>>2]}else{d=w[a+219|0]}c:{if(!d){break c}d=v[a+12>>2];if((d-(a+16|0)|0)>159){break c}v[a+12>>2]=d+4;v[d>>2]=v[a+8>>2]}j=f,k=HO(c,v[a+188>>2],e,h),v[j>>2]=k;Jh(a+208|0,a+16|0,v[a+12>>2],e);if(yg(a+264|0,a+256|0)){v[e>>2]=v[e>>2]|2}c=v[a+264>>2];Vb(b);Vb(a+208|0);Ma=a+272|0;return c|0}function qY(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=Ma-16|0;Ma=c;e=v[a+12>>2];a:{if(!e){break a}if((tq(e)|0)!=1){break a}e=0;while(1){b=Sz(v[a+12>>2]);d=(b|0)==-1;if(d){break a}e=d?e:b;if((e|0)==1){break a}if((tq(v[a+12>>2])|0)==1){continue}break}}pY(a);e=-1;b=v[a+12>>2];b:{c:{if(!b){break c}e=Hv(b);b=v[a+12>>2];if(!b){break c}if((uH(b)|0)==1){break b}}g=a+8|0;while(1){if((tq(v[a+12>>2])|0)!=1){break b}f=Sz(v[a+12>>2]);if((f|0)==-1){break b}b=v[a+12>>2];if(b){Hv(b)}d:{e:{switch(f-1|0){case 2:case 12:case 13:XH(c,g);b=w[c+11|0];d=b<<24>>24<0;bd(v[a+28>>2]+36|0,d?v[c>>2]:c,d?v[c+4>>2]:b);if(t[c+11|0]>-1){break d}$a(v[c>>2]);break d;case 3:XH(c,g);b=w[c+11|0];d=b<<24>>24<0;bd(v[a+28>>2]+36|0,d?v[c>>2]:c,d?v[c+4>>2]:b);if(t[c+11|0]>-1){break d}$a(v[c>>2]);break d;case 0:pY(a);break d;case 14:break e;default:break d}}b=v[a+32>>2];d=v[b>>2];v[d+4>>2]=v[b+4>>2];v[v[b+4>>2]>>2]=d;v[a+40>>2]=v[a+40>>2]-1;$a(b);if(v[a+40>>2]){v[a+28>>2]=v[v[a+32>>2]+8>>2];break d}v[a+28>>2]=v[a+24>>2]}b=v[a+12>>2];if(b){b=Hv(b)}else{b=-1}if((b|0)<(e|0)){break b}if((f|0)!=15|(b|0)!=(e|0)){continue}break}}Ma=c+16|0}function Uk(a,b){var c=0,d=0,e=0,f=0,g=0;c=-1;a:{d=v[a+8>>2];b:{if(d&7){break b}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break a}c=-1;e=v[a+28>>2];v[a+28>>2]=e-1;c:{if((e|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;e=w[c|0];break c}e=Eb(a,1);if((e|0)==-1){break b}d=v[a+8>>2]}c=-1;if(d&7){break b}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break a}c=-1;f=v[a+28>>2];v[a+28>>2]=f-1;d:{if((f|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;f=w[c|0];break d}f=Eb(a,1);if((f|0)==-1){break b}d=v[a+8>>2]}c=-1;if(d&7){break b}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break a}c=-1;g=v[a+28>>2];v[a+28>>2]=g-1;e:{if((g|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;g=w[c|0];break e}g=Eb(a,1);if((g|0)==-1){break b}d=v[a+8>>2]}c=-1;if(d&7){break b}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break a}c=-1;d=v[a+28>>2];v[a+28>>2]=d-1;f:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=a;a=v[a+24>>2];v[c+24>>2]=a+1;a=w[a|0];break f}a=Eb(a,1);if((a|0)==-1){break b}}c=0;if(!b){break b}v[b>>2]=a<<24|(g<<24|(e<<16&16711680|f<<24)>>>8)>>>8}return c}v[a+8>>2]=d|4;return-1}function HLa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;e=c<<2;h=v[e+v[b+8>>2]>>2];k=v[e+v[b+4>>2]>>2];b=v[b>>2]+(c<<3)|0;i=v[b>>2];l=v[b+4>>2];c=v[d+4>>2];d=v[d>>2];e=v[a+332>>2];b=v[a+472>>2];n=v[b+28>>2];o=v[b+24>>2];p=v[b+20>>2];q=v[b+16>>2];b=v[a+112>>2];if(b>>>0>=2){m=b>>>1|0;while(1){f=w[k|0]<<2;b=v[f+p>>2];j=w[h|0]<<2;r=v[j+o>>2];s=v[f+n>>2];f=v[j+q>>2];g=w[i|0];t[d|0]=w[(f+g|0)+e|0];j=r+s>>16;t[d+1|0]=w[(j+g|0)+e|0];t[d+2|0]=w[(b+g|0)+e|0];g=w[i+1|0];t[d+3|0]=w[(g+f|0)+e|0];t[d+4|0]=w[(g+j|0)+e|0];t[d+5|0]=w[(b+g|0)+e|0];g=w[l|0];t[c|0]=w[(g+f|0)+e|0];t[c+1|0]=w[(g+j|0)+e|0];t[c+2|0]=w[(b+g|0)+e|0];g=f;f=w[l+1|0];t[c+3|0]=w[(g+f|0)+e|0];t[c+4|0]=w[(f+j|0)+e|0];t[c+5|0]=w[(b+f|0)+e|0];c=c+6|0;l=l+2|0;d=d+6|0;i=i+2|0;h=h+1|0;k=k+1|0;m=m-1|0;if(m){continue}break}b=v[a+112>>2]}if(b&1){b=w[k|0]<<2;a=v[b+p>>2];h=w[h|0]<<2;k=v[h+o>>2];f=v[b+n>>2];h=v[h+q>>2];b=w[i|0];t[d|0]=w[(h+b|0)+e|0];i=f+k>>16;t[d+1|0]=w[(i+b|0)+e|0];t[d+2|0]=w[(a+b|0)+e|0];b=w[l|0];t[c|0]=w[(b+h|0)+e|0];t[c+1|0]=w[(b+i|0)+e|0];t[c+2|0]=w[(a+b|0)+e|0]}}function oWa(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;a:{b:{if(!(w[a+301|0]?w[a+285|0]:0)|(w[a+286|0]|w[a+287|0])){break b}if(w[a+288|0]|w[a+289|0]){break b}c:{d:{if(w[a+114|0]){e:{f=Qa[v[a+152>>2]](36)|0;if(!f){break d}v[f+4>>2]=735;v[f>>2]=736;g=v[a+700>>2];f:{if(g){v[g+8>>2]=f;break f}v[a+696>>2]=f}v[f+8>>2]=0;v[f+12>>2]=g;v[a+700>>2]=f;v[f+16>>2]=v[a+436>>2];v[f+20>>2]=v[a+440>>2];v[f+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=f}v[a+2336>>2]=f;v[f+28>>2]=c;if(!c){break e}g=f;f=Qa[v[a+152>>2]](c+1|0)|0;v[g+32>>2]=f;if(!f){break d}cb(f,d,c)}}f=0;break c}ob(a,1,0,0);f=1}g:{if(f){break g}h:{if(!v[a+200>>2]){break h}g=c+1|0;f=Qa[v[a+152>>2]](g)|0;if(!f){break a}if(c){cb(f,d,c)}h=Qa[v[a+200>>2]](a,f)|0;Qa[v[a+156>>2]](f,g);if(h){break h}ob(a,904,0,0);return 904}f=Ww(a);if(f){break g}i:{if(!w[a+112|0]){break i}f=Qa[v[b+4>>2]](a,b,e)|0;if(f){break g}v[v[e>>2]+32>>2]=c;if(!c){break i}b=Qa[v[a+152>>2]](c+1|0)|0;v[v[e>>2]+36>>2]=b;b=v[v[e>>2]+36>>2];if(!b){break a}cb(b,d,c)}f=0}return f|0}ob(a,1029,0,0);return 1029}ob(a,1,0,0);return 1}function jPa(a,b,c,d,e,f){a=a|0;b=b|0;c=+c;d=+d;e=+e;f=+f;var g=0,h=0,i=0,j=0,k=0;g=Ma-32|0;Ma=g;k=A[v[a+16>>2]+24>>3];A[g+24>>3]=d;A[g+16>>3]=c;A[g+8>>3]=e;A[g>>3]=c;i=Qa[v[v[a>>2]+508>>2]](a)|0;zd(i,g+24|0,g+16|0);zd(i,g+8|0,g);c=A[g+24>>3];d=A[g+8>>3];i=a;e=k*f/25.4+.5;a:{if(D(e)<2147483648){h=~~e;break a}h=-2147483648}h=h?h:1;e=+(h|0);A[i+40>>3]=e;if(D(d)<2147483648){i=~~d}else{i=-2147483648}if(D(c)<2147483648){j=~~c}else{j=-2147483648}c=+(j|0);b:{c:{d:{switch(b|0){case 0:d=A[g+16>>3];b=v[v[a+20>>2]+4>>2];t[b+25|0]=0;v[b+20>>2]=0;v[b>>2]=0;b=v[a+20>>2];e=e*.5;if(D(d)<2147483648){h=~~d}else{h=-2147483648}f=e+(+(h|0)+.5)+-.5;Jj(b,c,f);break c;case 1:d=A[g+16>>3];b=v[v[a+20>>2]+4>>2];t[b+25|0]=0;v[b+20>>2]=0;v[b>>2]=0;h=h&1;b=v[a+20>>2];e=c;if(D(d)<2147483648){j=~~d}else{j=-2147483648}c=+(j|0)+.5;f=h?c:c+-.5;Jj(b,e,f);break c;case 2:break d;default:break b}}d=A[g+16>>3];b=v[v[a+20>>2]+4>>2];t[b+25|0]=0;v[b+20>>2]=0;v[b>>2]=0;e=e*.5;b=v[a+20>>2];if(D(d)<2147483648){h=~~d}else{h=-2147483648}f=+(h|0)+.5-e+.5;Jj(b,c,f)}Nk(v[a+20>>2],+(i+1|0),f);Qa[v[v[a>>2]+532>>2]](a)}Ma=g+32|0}function WYa(a){a=a|0;var 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;e=v[a+636>>2]+v[a+616>>2]|0;d=v[a+644>>2];f=v[a+540>>2];if(!f){f=v[v[a+528>>2]+88>>2]}a:{if(w[f+56|0]){if(v[a+588>>2]<=0){break a}while(1){c=w[e+2|0]|w[e+3|0]<<8;j=(c<<8|c>>>8)&65535;c=w[e+4|0]|w[e+5|0]<<8;k=(c<<8|c>>>8)&65535;l=d;c=w[e|0]|w[e+1|0]<<8;c=(c<<8|c>>>8)&65535;b:{if(!((c|0)!=x[f+838>>1]|(j|0)!=x[f+840>>1])){b=0;h=0;g=0;i=0;if(x[f+842>>1]==(k|0)){break b}}h=65535;b=j;g=c;i=k}c=i;g=g<<8|g>>>8;t[l|0]=g;t[l+1|0]=g>>>8;b=b<<8|b>>>8;t[d+2|0]=b;t[d+3|0]=b>>>8;c=c<<8|c>>>8;t[d+4|0]=c;t[d+5|0]=c>>>8;c=h<<8|h>>>8;t[d+6|0]=c;t[d+7|0]=c>>>8;d=d+8|0;e=e+6|0;m=m+1|0;if((m|0)>2]){continue}break}break a}if(v[a+588>>2]<=0){n=1;break a}while(1){b=w[e|0]|w[e+1|0]<<8;b=(b<<8|b>>>8)&65535;b=b<<8|b>>>8;t[d|0]=b;t[d+1|0]=b>>>8;b=w[e+2|0]|w[e+3|0]<<8;b=(b<<8|b>>>8)&65535;b=b<<8|b>>>8;t[d+2|0]=b;t[d+3|0]=b>>>8;b=w[e+4|0]|w[e+5|0]<<8;b=(b<<8|b>>>8)&65535;b=b<<8|b>>>8;t[d+4|0]=b;t[d+5|0]=b>>>8;t[d+6|0]=255;t[d+7|0]=255;d=d+8|0;e=e+6|0;n=1;c=c+1|0;if((c|0)>2]){continue}break}}t[a+649|0]=n;return 0}function lI(a,b,c,d,e,f,g,h,i,j,k){var l=0,m=0,n=0,o=0,p=0;m=Ma-16|0;Ma=m;v[m+12>>2]=0;p=b;n=w[v[a+24>>2]+200|0];if((n|0)==12){o=v[a+48>>2]}else{o=(n|0)==219?1:-1}l=a+37|0;n=v[d>>2];e=kI(p,o<<24>>24,l,c,n,e-n|0,m+12|0,j);a:{b:{if((e|0)>=1){v[d>>2]=v[d>>2]+(e-c|0);c=v[m+12>>2];if(c>>>0<=3145727){mI(a,c-2031616|0,f,g,h,i,k);break b}nI(a,(v[b+12>>2]+b|0)+((c&262143)<<1)|0,(c>>>18|0)-12|0,f,g,h,i,k);b=1;break a}b=0;if((e|0)>-1){break a}t[a+255|0]=c;b=0;if((c|0)>=1){j=c&3;if(c-1>>>0>=3){f=c&-4;g=a+222|0;while(1){t[b+g|0]=w[l|0];t[g+(b|1)|0]=w[l+1|0];t[g+(b|2)|0]=w[l+2|0];t[g+(b|3)|0]=w[l+3|0];b=b+4|0;l=l+4|0;f=f-4|0;if(f){continue}break}}if(j){while(1){t[(a+b|0)+222|0]=w[l|0];b=b+1|0;l=l+1|0;j=j-1|0;if(j){continue}break}}b=c}l=v[d>>2];c=0-e|0;c:{if((c|0)<=(b|0)){break c}f=(e^-1)-b|0;e=c-b&3;if(e){while(1){t[(a+b|0)+222|0]=w[l|0];b=b+1|0;l=l+1|0;e=e-1|0;if(e){continue}break}}if(f>>>0<3){break c}while(1){e=a+b|0;t[e+222|0]=w[l|0];t[e+223|0]=w[l+1|0];t[e+224|0]=w[l+2|0];t[e+225|0]=w[l+3|0];l=l+4|0;b=b+4|0;if((c|0)!=(b|0)){continue}break}}v[d>>2]=l;t[a+254|0]=c}b=1}Ma=m+16|0;return b}function Cxa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;a:{b:{c:{if(!a){break c}d:{d=v[a+52>>2];if(!d|v[d+4>>2]==18){break d}d=v[d+16>>2];if(!d|v[d+4>>2]!=4){break d}e=v[d+40>>2];if((e|0)==(d+44|0)){break b}a=v[d+32>>2];e:{if(!a){break e}f=v[a+80>>2];if(!f){break e}if(!e){break b}while(1){a=v[f+16>>2];if(a){while(1){if(e>>>0<=y[a+4>>2]&e>>>0>=a+20>>>0){break b}a=v[a>>2];if(a){continue}break}}f=v[f+20>>2];if(f){continue}break}}a=KH(e,b,c);break a}f=v[a+8>>2];e=Ma-16|0;Ma=e;d=Qa[v[256552]](60)|0;f:{if(!d){v[e>>2]=313149;nb(0,0,0,0,0,2,2,3,313149,0,0,0,340689,e);d=0;break f}v[d>>2]=0;v[d+4>>2]=0;v[d+32>>2]=0;v[d+36>>2]=0;v[d+56>>2]=0;v[d+48>>2]=0;v[d+52>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d+4>>2]=4;v[d+32>>2]=f;if(b){f=0;g:{if((c|0)<0){break g}g=Qa[v[256555]](c+1|0)|0;if(!g){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break g}f=cb(g,b,c);t[f+c|0]=0}v[d+40>>2]=f}if(!v[291069]){break f}b=v[291066];if(!b){break f}Qa[b|0](d)}Ma=e+16|0;if(Df(v[a+52>>2],d)){break c}Ck(d)}return}a=JH(e,b,c)}v[d+44>>2]=0;v[d+40>>2]=a}function SMa(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;f=+f;g=+g;var h=0,i=0,j=0,k=0,l=0;j=A[b>>3];a:{b:{if(j!=A[a+56>>3]|A[a- -64>>3]!=-A[c>>3]){break b}if(A[a+72>>3]!=-A[d>>3]){break b}l=A[a+80>>3];i=l==e;if(e!=l|A[a+88>>3]!=f){break b}h=0;if(A[a+96>>3]==g){break a}}h=a;k=v[a+2228504>>2];if(k){Qa[v[v[k>>2]+76>>2]](k,b,c,d,e,f,g)|0;j=A[b>>3]}A[h+56>>3]=j;A[a- -64>>3]=-A[c>>3];j=A[d>>3];A[a+96>>3]=g;A[a+88>>3]=f;A[a+80>>3]=e;A[a+72>>3]=-j;if(!i){d=v[a+268>>2];c=v[a+264>>2];b=d-c|0;c:{if(!b){break c}b=(b|0)/104|0;i=b>>>0>1?b:1;h=i&7;b=0;if(i-1>>>0>=7){i=i&-8;while(1){v[(c+B(b,104)|0)+100>>2]=1;v[(c+B(b|1,104)|0)+100>>2]=1;v[(c+B(b|2,104)|0)+100>>2]=1;v[(c+B(b|3,104)|0)+100>>2]=1;v[(c+B(b|4,104)|0)+100>>2]=1;v[(c+B(b|5,104)|0)+100>>2]=1;v[(c+B(b|6,104)|0)+100>>2]=1;v[(c+B(b|7,104)|0)+100>>2]=1;b=b+8|0;i=i-8|0;if(i){continue}break}}if(!h){break c}while(1){v[(c+B(b,104)|0)+100>>2]=1;b=b+1|0;h=h-1|0;if(h){continue}break}}if((c|0)!=(d|0)){while(1){Dh(d-28|0);d=d-104|0;if((c|0)!=(d|0)){continue}break}}v[a+268>>2]=c;eb(a+276|0,255,2228224)}Qa[v[v[a>>2]+72>>2]](a);h=1}return h|0}function hV(a){var 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,w=0;i=A[a+40>>3];l=A[a+32>>3];m=A[a+16>>3];d=v[a+596>>2];u=v[d+28>>2];if((u|0)>=1){p=A[a+56>>3];q=A[a+24>>3];r=A[a+48>>3];w=v[d+24>>2];while(1){d=v[(n<<2)+w>>2];o=v[d+12>>2];a:{if((o|0)<1){break a}s=v[d+4>>2];t=v[d>>2];d=0;if(!n){d=1;g=A[t>>3];e=A[s>>3];b=r+(g*m+e*l);j=b;g=p+(g*q+e*i);e=g;if((o|0)==1){break a}while(1){k=d<<3;c=A[k+t>>3];h=A[s+k>>3];f=p+(c*q+h*i);c=r+(c*m+h*l);b:{if(cj)){break b}j=c}c:{if(fg)){break c}g=f}d=d+1|0;if((o|0)!=(d|0)){continue}break}break a}while(1){k=d<<3;c=A[k+t>>3];h=A[s+k>>3];f=p+(c*q+h*i);c=r+(c*m+h*l);d:{if(cj)){break d}j=c}e:{if(fg)){break e}g=f}d=d+1|0;if((o|0)!=(d|0)){continue}break}}n=n+1|0;if((u|0)!=(n|0)){continue}break}}h=e;e=D(m);f=D(i);c=A[a+440>>3]*.5;i=(fb?e:b)*c;e=h-b;if(e>A[a+632>>3]){A[a+632>>3]=e}if(f>A[a+640>>3]){A[a+640>>3]=f}b=j+b;if(b>3]){A[a+648>>3]=b}b=g+i;if(b>3]){A[a+656>>3]=b}}function hPa(a,b,c,d,e,f){a=a|0;b=b|0;c=+c;d=+d;e=+e;f=+f;var g=0,h=0,i=0,j=0,k=0;g=Ma-32|0;Ma=g;k=A[v[a+16>>2]+24>>3];A[g+24>>3]=c;A[g+16>>3]=d;A[g+8>>3]=c;A[g>>3]=e;i=Qa[v[v[a>>2]+508>>2]](a)|0;zd(i,g+24|0,g+16|0);zd(i,g+8|0,g);c=A[g+16>>3];d=A[g>>3];i=a;e=k*f/25.4+.5;a:{if(D(e)<2147483648){h=~~e;break a}h=-2147483648}h=h?h:1;e=+(h|0);A[i+40>>3]=e;if(D(d)<2147483648){i=~~d}else{i=-2147483648}if(D(c)<2147483648){j=~~c}else{j=-2147483648}c=+(j|0);b:{c:{d:{switch(b|0){case 0:d=A[g+24>>3];b=v[v[a+20>>2]+4>>2];t[b+25|0]=0;v[b+20>>2]=0;v[b>>2]=0;b=v[a+20>>2];e=e*.5;if(D(d)<2147483648){h=~~d}else{h=-2147483648}f=e+(+(h|0)+.5)+-.5;Jj(b,f,c);break c;case 1:d=A[g+24>>3];b=v[v[a+20>>2]+4>>2];t[b+25|0]=0;v[b+20>>2]=0;v[b>>2]=0;h=h&1;b=v[a+20>>2];if(D(d)<2147483648){j=~~d}else{j=-2147483648}d=+(j|0)+.5;f=h?d:d+-.5;Jj(b,f,c);break c;case 2:break d;default:break b}}d=A[g+24>>3];b=v[v[a+20>>2]+4>>2];t[b+25|0]=0;v[b+20>>2]=0;v[b>>2]=0;e=e*.5;b=v[a+20>>2];if(D(d)<2147483648){h=~~d}else{h=-2147483648}f=+(h|0)+.5-e+.5;Jj(b,f,c)}Nk(v[a+20>>2],f,+(i+1|0));Qa[v[v[a>>2]+532>>2]](a)}Ma=g+32|0}function XXa(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0;if(e){r=e-1|0;s=e-2|0;o=(e|0)==1;while(1){a=f;t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];f=a+2|0;g=g+2|0;a:{if(!o&m>>>0>=r>>>0){break a}i=m?(m|0)==(s|0)?d:b:c;h=!m&o;if(h){if(i>>>0<2){break a}j=i-1|0;h=j&3;if(i-2>>>0>=3){j=j&-4;while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a|0];t[g+3|0]=w[a+1|0];t[g+4|0]=w[a|0];t[g+5|0]=w[a+1|0];t[g+6|0]=w[a|0];t[g+7|0]=w[a+1|0];g=g+8|0;j=j-4|0;if(j){continue}break}}if(!h){break a}while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];g=g+2|0;h=h-1|0;if(h){continue}break}break a}n=h?0:f;p=i<<1;k=i+1>>>1|0;if(i>>>0>=3){u=k>>>0>2?k:2;l=1;while(1){t[g|0]=w[a|0];j=g;q=w[n+1|0];h=w[a+1|0];if((q|0)!=(h|0)){h=h+((i+(B(q-h|0,l)<<1)|0)/(p|0)|0)|0}t[j+1|0]=h;g=g+2|0;l=l+1|0;if((u|0)!=(l|0)){continue}break}}if(i>>>0<=k>>>0){break a}while(1){t[g|0]=w[n|0];j=g;l=w[n+1|0];h=w[a+1|0];if((l|0)!=(h|0)){h=h+((i+(B(l-h|0,k)<<1)|0)/(p|0)|0)|0}t[j+1|0]=h;g=g+2|0;k=k+1|0;if((i|0)!=(k|0)){continue}break}}m=m+1|0;if((m|0)!=(e|0)){continue}break}}return 0}function $w(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{f=v[a+4>>2];if(!f|(b|0)<0|((c|0)<0|v[a+16>>2]<=(b|0))){break a}if(v[a+20>>2]<=(c|0)){break a}h=v[a+44>>2];b:{if(h){c:{if(!f){d=0;break c}d=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);if(!(!w[a+481|0]|(d|0)!=v[a+476>>2])){d=w[a+480|0];break c}t[a+481|0]=1;v[a+476>>2]=d;i=v[a+48>>2];k=i?i:h;d:{if((k|0)<1){d=0;break d}l=d&255;h=f+40|0;m=d>>>16&255;n=d>>>8&255;i=2e5;d=0;f=0;while(1){e=w[h+(j|1)|0]-n|0;g=B(e,e);e=w[h+j|0]-l|0;g=g+B(e,e)|0;e=w[h+(j|2)|0]-m|0;e=g+B(e,e)|0;if(!e){d=f;break d}g=e;e=(e|0)<(i|0);i=e?g:i;d=e?f:d;j=j+4|0;f=f+1|0;if((k|0)!=(f|0)){continue}break}}t[a+480|0]=d}f=x[a+26>>1];if((f|0)==8){t[v[a+56>>2]+(B(v[a+52>>2],c)+b|0)|0]=d;break b}a=(v[a+56>>2]+B(v[a+52>>2],c)|0)+(B(b,f)>>3)|0;e:{switch(f-1|0){case 3:c=a;g=w[a|0];a=B((b|0)%2|0,252)+4&252;t[c|0]=g&(15<>2]+B(v[a+52>>2],c)|0)+B(b,3)|0;t[a|0]=w[d|0];t[a+1|0]=w[d+1|0];t[a+2|0]=w[d+2|0]}}}function Xg(a){var b=0,c=0,d=0,e=0,f=0;a:{if(!a){break a}d=v[a>>2];if(!d|!v[a+12>>2]){break a}b=v[a+16>>2];if(!b){break a}c=v[d+16>>2];if(!c){break a}b:{c:{b=b-(v[c+32>>2]?0:v[c>>2])|0;if(b>>>0>=251){b=Xv(c,b-80|0);if(b){v[a+16>>2]=v[a+16>>2]-b;v[a+36>>2]=b+v[a+36>>2]}d=v[a>>2];c=v[d+16>>2];if(!c){break c}f=a;if(v[c+32>>2]){b=0}else{b=v[c+8>>2];if(!((b|0)==v[c+24>>2]|b>>>0>2147483646)){v[c+24>>2]=b}b=v[c+20>>2];e=v[c+4>>2];if(!((b|0)==(e|0)|e>>>0>2147483646)){v[c+20>>2]=e;b=e}b=b+v[c>>2]|0}v[f+20>>2]=b}if(v[c+32>>2]){break b}b=v[c+8>>2];if(!((b|0)==v[c+24>>2]|b>>>0>2147483646)){v[c+24>>2]=b}b=v[c+20>>2];e=v[c+4>>2];if(!((b|0)==(e|0)|e>>>0>2147483646)){v[c+20>>2]=e;b=e}if(b>>>0>250){break a}break b}c=0;v[a+20>>2]=0}if(!(v[d+28>>2]|!v[d+4>>2])){aA(d,500);c=v[v[a>>2]+16>>2]}d=0;d=v[c+32>>2]|!c?d:v[c>>2];b=v[a+12>>2];if((d|0)!=(b|0)){v[a+12>>2]=d;v[a+16>>2]=(v[a+16>>2]-b|0)+d}d=0;if(!(v[c+32>>2]|!c)){b=v[c+8>>2];if(!((b|0)==v[c+24>>2]|b>>>0>2147483646)){v[c+24>>2]=b}b=v[c+20>>2];e=v[c+4>>2];if(!((b|0)==(e|0)|e>>>0>2147483646)){v[c+20>>2]=e;b=e}d=b+v[c>>2]|0}v[a+20>>2]=d}}function YXa(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0;if(e){r=e-1|0;s=e-2|0;o=(e|0)==1;while(1){a=f;t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];f=a+2|0;g=g+2|0;a:{if(!o&m>>>0>=r>>>0){break a}i=m?(m|0)==(s|0)?d:b:c;h=!m&o;if(h){if(i>>>0<2){break a}j=i-1|0;h=j&3;if(i-2>>>0>=3){j=j&-4;while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a|0];t[g+3|0]=w[a+1|0];t[g+4|0]=w[a|0];t[g+5|0]=w[a+1|0];t[g+6|0]=w[a|0];t[g+7|0]=w[a+1|0];g=g+8|0;j=j-4|0;if(j){continue}break}}if(!h){break a}while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];g=g+2|0;h=h-1|0;if(h){continue}break}break a}n=h?0:f;p=i<<1;k=i+1>>>1|0;if(i>>>0>=3){u=k>>>0>2?k:2;l=1;while(1){j=g;q=w[n|0];h=w[a|0];if((q|0)!=(h|0)){h=h+((i+(B(q-h|0,l)<<1)|0)/(p|0)|0)|0}t[j|0]=h;t[g+1|0]=w[a+1|0];g=g+2|0;l=l+1|0;if((u|0)!=(l|0)){continue}break}}if(i>>>0<=k>>>0){break a}while(1){j=g;l=w[n|0];h=w[a|0];if((l|0)!=(h|0)){h=h+((i+(B(l-h|0,k)<<1)|0)/(p|0)|0)|0}t[j|0]=h;t[g+1|0]=w[n+1|0];g=g+2|0;k=k+1|0;if((i|0)!=(k|0)){continue}break}}m=m+1|0;if((m|0)!=(e|0)){continue}break}}return 0}function hFa(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,n=0,o=0,p=0,q=0,r=0,s=0,x=0;f=v[d>>2]+e|0;a=v[a+332>>2]+128|0;b=v[b+84>>2];i=B(B(u[c+16>>1],v[b+32>>2]),10033);g=B(u[c>>1],v[b>>2])<<13|1024;h=B(v[b+64>>2],u[c+32>>1]);j=g+B(h,5793)|0;k=(i+j<<2)+131072&-8192;l=B(B(u[c+20>>1],v[b+40>>2]),10033);m=B(u[c+4>>1],v[b+8>>2])<<13|1024;n=B(v[b+72>>2],u[c+36>>1]);o=m+B(n,5793)|0;p=l+o>>11;q=k+B(p,5793)|0;r=B(B(u[c+18>>1],v[b+36>>2]),10033);s=B(u[c+2>>1],v[b+4>>2])<<13|1024;c=B(v[b+68>>2],u[c+34>>1]);x=s+B(c,5793)|0;b=B(r+x>>11,10033);t[f|0]=w[a+(q+b>>>18&1023)|0];t[f+2|0]=w[a+(q-b>>>18&1023)|0];t[f+1|0]=w[a+(B(p,-11586)+k>>>18&1023)|0];b=v[d+4>>2]+e|0;h=(g+B(h,-11586)<<2)+131072&-8192;f=B(n,-11586)+m>>11;g=h+B(f,5793)|0;c=B(B(c,-11586)+s>>11,10033);t[b|0]=w[a+(g+c>>>18&1023)|0];t[b+2|0]=w[a+(g-c>>>18&1023)|0];t[b+1|0]=w[a+(h+B(f,-11586)>>>18&1023)|0];b=v[d+8>>2]+e|0;d=(j-i<<2)+131072&-8192;c=o-l>>11;e=d+B(c,5793)|0;f=B(x-r>>11,10033);t[b|0]=w[a+(e+f>>>18&1023)|0];t[b+2|0]=w[a+(e-f>>>18&1023)|0];t[b+1|0]=w[a+(d+B(c,-11586)>>>18&1023)|0]}function h3a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;v[a+32>>2]=0;e=a+24|0;v[e>>2]=0;v[e+4>>2]=0;d=-1;a:{c=v[b+8>>2];b:{if(c&7){break b}d=v[b+64>>2];if(!((d|0)<0|(d|0)>v[b+60>>2])){break a}d=-1;c=v[b+28>>2];v[b+28>>2]=c-1;c:{if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;c=w[c|0];break c}c=Eb(b,1);if((c|0)==-1){break b}}t[a+20|0]=c;c=v[b+8>>2];if(c&7){break b}d=v[b+64>>2];if(!((d|0)<0|(d|0)>v[b+60>>2])){break a}d=-1;c=v[b+28>>2];v[b+28>>2]=c-1;d:{if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;c=w[c|0];break d}c=Eb(b,1);if((c|0)==-1){break b}}t[a+21|0]=c;c=v[b+8>>2];if(c&7){break b}d=v[b+64>>2];if(!((d|0)<0|(d|0)>v[b+60>>2])){break a}d=-1;c=v[b+28>>2];v[b+28>>2]=c-1;e:{if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;c=w[c|0];break e}c=Eb(b,1);if((c|0)==-1){break b}}t[a+22|0]=c;f:{g:{switch(w[a+20|0]-1|0){case 0:if(!di(b,e)){break f}break b;case 1:break g;default:break f}}c=v[a+16>>2]-3|0;v[a+32>>2]=c;c=gb(c);v[a+28>>2]=c;if(!c){break b}if((Hh(b,c,v[a+32>>2])|0)!=v[a+32>>2]){break b}}d=0}return d|0}v[b+8>>2]=c|4;return-1}function AF(a,b,c){var d=0,e=0,f=0,g=0;f=v[a+4>>2];g=f+b|0;a:{b:{c:{switch(w[a+10|0]-2|0){case 0:d:{e:{switch(w[a+9|0]-8|0){case 0:e=b+1|0;d=c?b:e;f=8;c=c?e:b+2|0;if(g>>>0<=c>>>0){break d}while(1){t[d|0]=w[c|0];d=d+1|0;c=c+2|0;if(g>>>0>c>>>0){continue}break};break d;case 8:break e;default:break a}}e=b+2|0;d=c?b:e;f=16;c=c?e:b+4|0;if(g>>>0<=c>>>0){break d}while(1){t[d|0]=w[c|0];t[d+1|0]=w[c+1|0];d=d+2|0;c=c+4|0;if(g>>>0>c>>>0){continue}break}}t[a+10|0]=1;t[a+11|0]=f;if(w[a+8|0]!=4){break b}t[a+8|0]=0;break b;case 2:break c;default:break a}}f:{g:{switch(w[a+9|0]-8|0){case 0:d=(c?0:3)+b|0;e=24;c=c?1:4;if((c|0)>=(f|0)){break f}c=b+c|0;while(1){t[d|0]=w[c|0];t[d+1|0]=w[c+1|0];t[d+2|0]=w[c+2|0];d=d+3|0;c=c+4|0;if(g>>>0>c>>>0){continue}break};break f;case 8:break g;default:break a}}d=(c?0:6)+b|0;e=48;c=c?2:8;if((c|0)>=(f|0)){break f}c=b+c|0;while(1){t[d|0]=w[c|0];t[d+1|0]=w[c+1|0];t[d+2|0]=w[c+2|0];t[d+3|0]=w[c+3|0];t[d+4|0]=w[c+4|0];t[d+5|0]=w[c+5|0];d=d+6|0;c=c+8|0;if(g>>>0>c>>>0){continue}break}}t[a+10|0]=3;t[a+11|0]=e;if(w[a+8|0]!=6){break b}t[a+8|0]=2}v[a+4>>2]=d-b}}function nw(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=Ma-1312|0;Ma=f;g=v[a+4>>2];i=v[g+492>>2];j=v[i+12>>2];h=v[v[g+128>>2]+52>>2];k=v[g+452>>2];e=a+1388|0;v[e>>2]=v[g+448>>2];v[e+4>>2]=k;e=v[g+444>>2];v[a+1380>>2]=v[g+440>>2];v[a+1384>>2]=e;e=v[g+460>>2];v[a+1396>>2]=v[g+456>>2];v[a+1400>>2]=e;a:{b:{if(!h){e=b<<2;v[c>>2]=v[e+v[g+428>>2]>>2];v[c+4>>2]=v[e+v[g+432>>2]>>2];break b}e=Qa[v[v[h>>2]>>2]](v[h+4>>2],b,c)|0;if(e){break a}}c:{if(w[a+70|0]){e=Qa[v[j+8>>2]](a,v[c>>2],v[c+4>>2])|0;break c}e=f+656|0;Qa[v[i+24>>2]](e,a,1);Qa[v[i+28>>2]](g,g+168|0,f);v[f+1192>>2]=f;e=Qa[v[j+12>>2]](e,v[c>>2],v[c+4>>2])|0;if((e&255)!=164){break c}t[v[a+8>>2]+160|0]=0;t[d|0]=1;e=Qa[v[j+12>>2]](f+656|0,v[c>>2],v[c+4>>2])|0}if(!h|e){break a}if(!v[v[h>>2]+8>>2]){e=0;break a}c=v[a+32>>2];v[f+4>>2]=0;v[f>>2]=((c+(c>>31)|0)+32768&-65536)>>16;c=v[a+40>>2];v[f+8>>2]=(((c>>31)+c|0)+32768&-65536)>>16;c=v[a+44>>2];v[f+12>>2]=(((c>>31)+c|0)+32768&-65536)>>16;e=Qa[v[v[h>>2]+8>>2]](v[h+4>>2],b,0,f)|0;v[a+32>>2]=v[f>>2]<<16;v[a+40>>2]=v[f+8>>2]<<16;v[a+44>>2]=v[f+12>>2]<<16}Ma=f+1312|0;return e}function zq(a,b){var c=0;a:{if(!a){break a}b:{c:{d:{e:{if((b|0)>=4){f:{g:{h:{i:{j:{k:{l:{c=w[a|0];switch(c-60|0){case 16:break i;case 0:break k;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break e;default:break l}}if(c){break e}b=w[a+1|0];if((b|0)==60){break j}if(b){break b}if(!w[a+2|0]){c=5;if(w[a+3|0]==60){break a}}if(w[a+3|0]|w[a+2|0]!=60){break b}return 7}b=w[a+1|0];if((b|0)==63){break h}if(b){break b}if(w[a+2|0]|w[a+3|0]){break g}return 4}if(w[a+2|0]|w[a+3|0]){break f}return 8}if(w[a+1|0]!=111|w[a+2|0]!=167){break b}c=6;if(w[a+3|0]!=148){break b}break a}if(w[a+2|0]!=120){break b}c=1;if(w[a+3|0]!=109){break b}break a}if(w[a+3|0]|w[a+2|0]!=63){break b}return 2}if(w[a+2|0]){break b}c=3;if(w[a+3|0]!=63){break b}break a}if((b|0)!=3){break d}c=w[a|0]}if((c|0)!=239){break c}if(w[a+1|0]!=187){break b}c=1;if(w[a+2|0]!=191){break b}break a}if((b|0)<2){break b}c=w[a|0]}m:{switch(c-254|0){case 0:if(w[a+1|0]!=255){break b}return 3;case 1:break m;default:break b}}c=2;if(w[a+1|0]==254){break a}}c=0}return c}function yx(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;i=Ma-16|0;Ma=i;l=hi(g);h=Br(g);g=h;Qa[v[v[g>>2]+20>>2]](i,g);if(w[i+11|0]>>>7|0){g=v[i+4>>2]}else{g=w[i+11|0]}a:{if(!g){Qa[v[v[l>>2]+48>>2]](l,a,c,d)|0;g=(c-a<<2)+d|0;v[f>>2]=g;break a}v[f>>2]=d;b:{c:{j=a;g=w[j|0];switch(g-43|0){case 0:case 2:break c;default:break b}}k=Qa[v[v[l>>2]+44>>2]](l,g<<24>>24)|0;g=v[f>>2];v[f>>2]=g+4;v[g>>2]=k;j=a+1|0}if(!(w[j|0]!=48|(c-j|0)<2|(w[j+1|0]|32)!=120)){k=Qa[v[v[l>>2]+44>>2]](l,48)|0;g=v[f>>2];v[f>>2]=g+4;v[g>>2]=k;k=Qa[v[v[l>>2]+44>>2]](l,t[j+1|0])|0;g=v[f>>2];v[f>>2]=g+4;v[g>>2]=k;j=j+2|0}Cp(j,c);o=Qa[v[v[h>>2]+16>>2]](h)|0;k=0;g=j;while(1){if(c>>>0<=g>>>0){xx((j-a<<2)+d|0,v[f>>2]);g=v[f>>2]}else{if(w[i+11|0]>>>7|0){h=v[i>>2]}else{h=i}m=!w[h+k|0];if(w[i+11|0]>>>7|0){h=v[i>>2]}else{h=i}if(!(m|t[h+k|0]!=(n|0))){h=v[f>>2];v[f>>2]=h+4;v[h>>2]=o;if(w[i+11|0]>>>7|0){h=v[i+4>>2]}else{h=w[i+11|0]}k=(h-1>>>0>k>>>0)+k|0;n=0}m=Qa[v[v[l>>2]+44>>2]](l,t[g|0])|0;h=v[f>>2];v[f>>2]=h+4;v[h>>2]=m;g=g+1|0;n=n+1|0;continue}break}}v[e>>2]=(b|0)==(c|0)?g:(b-a<<2)+d|0;Vb(i);Ma=i+16|0}function jT(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Ma-784|0;Ma=f;a:{d=v[a+200>>2];if(d&1){b:{if(d&4){Db(a,31971);uc(a,c);break b}if(d&2){break a}v[a+200>>2]=d|2;d=w[a+401|0];if(!(d&2)){Db(a,35037);uc(a,c);break b}if(!((c>>>0)%3|0?0:c>>>0<=768)){if((d|0)!=3){Db(a,36087);uc(a,c);break b}dc(a,36087);L()}e=256;e=(d|0)==3?1<>>0)/3|0;d=(d|0)>(e|0)?e:d;if((d|0)>=1){e=0;g=f+16|0;while(1){h=f+13|0;Ye(a,h,3);gc(a,h,3);t[g|0]=w[f+13|0];t[g+1|0]=w[f+14|0];t[g+2|0]=w[f+15|0];g=g+3|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}uc(a,B(d,-3)+c|0);c=f+16|0;c:{if(!a|!b){break c}d:{e:{if(w[b+25|0]==3){if((d|0)<=1<=0){break e}dc(a,48467);L()}if(d>>>0>256){break d}}ro(a,b,4096,0);e=fv(a,768);v[a+388>>2]=e;i=b,j=cb(e,c,B(d,3)),v[i+16>>2]=j;u[a+392>>1]=d;u[b+20>>1]=d;v[b+184>>2]=v[b+184>>2]|4096;v[b+8>>2]=v[b+8>>2]|8;break c}Db(a,48467)}if(!(w[b+8|0]&16)|(!b|w[a+401|0]!=3)){break b}c=d&65535;if(c>>>0>1]){Db(a,37554);u[a+394>>1]=d}if(c>>>0>=x[b+22>>1]){break b}Db(a,38482);u[b+22>>1]=d}Ma=f+784|0;return}dc(a,30315);L()}dc(a,33111);L()}function Qn(a,b){var c=0,d=0,e=0,f=0,g=0;c=-1;a:{d=v[a+8>>2];b:{if(d&7){break b}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break a}c=-1;e=v[a+28>>2];v[a+28>>2]=e-1;c:{if((e|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;e=w[c|0];break c}e=Eb(a,1);if((e|0)==-1){break b}d=v[a+8>>2]}c=-1;if(d&7){break b}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break a}c=-1;f=v[a+28>>2];v[a+28>>2]=f-1;d:{if((f|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;f=w[c|0];break d}f=Eb(a,1);if((f|0)==-1){break b}d=v[a+8>>2]}c=-1;if(d&7){break b}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break a}c=-1;g=v[a+28>>2];v[a+28>>2]=g-1;e:{if((g|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;g=w[c|0];break e}g=Eb(a,1);if((g|0)==-1){break b}d=v[a+8>>2]}c=-1;if(d&7){break b}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break a}c=-1;d=v[a+28>>2];v[a+28>>2]=d-1;f:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=a;a=v[a+24>>2];v[c+24>>2]=a+1;a=w[a|0];break f}a=Eb(a,1);if((a|0)==-1){break b}}v[b>>2]=a&255|(g<<8&65280|(f<<16&16711680|e<<24));c=0}return c}v[a+8>>2]=d|4;return-1}function yma(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=Ma-16|0;Ma=f;$p(f,b);g=v[a+4>>2];h=v[g+8>>2];e=v[g+12>>2];a:{if((h|0)==(e|0)){break a}b=w[f+11|0];a=b<<24>>24<0;k=a?v[f>>2]:f;j=a?v[f+4>>2]:b;a=h;while(1){d=w[a+11|0];b=d<<24>>24;c=(b|0)<0;b:{if(((c?v[a+4>>2]:d)|0)!=(j|0)){break b}i=v[a>>2];c:{if(!c){if(!b){break c}b=a;c=k;if(w[c|0]!=(i&255)){break b}while(1){d=d-1|0;if(!d){break c}i=w[c+1|0];c=c+1|0;b=b+1|0;if((i|0)==w[b|0]){continue}break}break b}if(!j){break c}if(Jb(c?i:a,k,j)){break b}}b=v[a+12>>2];if(b){$a(b);v[a+12>>2]=0;e=v[g+12>>2];h=v[g+8>>2]}c=B((a-h|0)/20|0,20)+h|0;d=c+20|0;d:{if((e|0)!=(d|0)){while(1){if(t[c+11|0]<=-1){$a(v[c>>2])}a=v[d+4>>2];v[c>>2]=v[d>>2];v[c+4>>2]=a;v[c+8>>2]=v[d+8>>2];t[d+11|0]=0;t[d|0]=0;a=v[d+16>>2];v[c+12>>2]=v[d+12>>2];v[c+16>>2]=a;c=c+20|0;d=d+20|0;if((e|0)!=(d|0)){continue}break}e=v[g+12>>2];if((e|0)==(c|0)){break d}}while(1){a=e-20|0;if(t[e-9|0]<=-1){$a(v[a>>2])}e=a;if((a|0)!=(c|0)){continue}break}}v[g+12>>2]=c;break a}a=a+20|0;if((e|0)!=(a|0)){continue}break}}if(t[f+11|0]<=-1){$a(v[f>>2])}Ma=f+16|0}function nU(a,b,c){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,p=0;v[c+4>>2]=0;a:{if((b|0)<1){break a}g=b&3;if(b-1>>>0>=3){i=b&-4;while(1){h=f<<2;d=v[h+a>>2];if((d|0)>(e|0)){v[c+4>>2]=d;e=d}d=v[(h|4)+a>>2];if((d|0)>(e|0)){v[c+4>>2]=d;e=d}d=v[(h|8)+a>>2];if((d|0)>(e|0)){v[c+4>>2]=d;e=d}d=v[(h|12)+a>>2];if((d|0)>(e|0)){v[c+4>>2]=d;e=d}f=f+4|0;i=i-4|0;if(i){continue}break}}if(!g){break a}while(1){d=v[(f<<2)+a>>2];if((d|0)>(e|0)){v[c+4>>2]=d;e=d}f=f+1|0;g=g-1|0;if(g){continue}break}}j=1<>2]=d;if((e|0)!=31){eb(d,0,((j|0)>1?j:1)<<2)}i=1;m=v[c+4>>2];if(!((m|0)<1|(b|0)<1)){k=2;h=0;while(1){l=n+1|0;o=l&-4;p=l&3;g=0;while(1){if(v[(g<<2)+a>>2]==(i|0)){f=0;e=h;d=o;if(n>>>0>=3){while(1){f=e>>>3&1|(e>>>2&1|(e&2|(e<<2&4|f<<3)))<<1;e=e>>4;d=d-4|0;if(d){continue}break}}d=p;if(d){while(1){f=e&1|f<<1;e=e>>1;d=d-1|0;if(d){continue}break}}if((f|0)<(j|0)){e=v[c>>2];while(1){d=e+(f<<2)|0;u[d+2>>1]=g;u[d>>1]=i;f=f+k|0;if((j|0)>(f|0)){continue}break}}h=h+1|0}g=g+1|0;if((g|0)!=(b|0)){continue}break}k=k<<1;h=h<<1;e=(i|0)!=(m|0);n=l;i=i+1|0;if(e){continue}break}}}function di(a,b){var c=0,d=0,e=0,f=0,g=0;c=-1;a:{d=v[a+8>>2];b:{if(d&7){break b}c=v[a+64>>2];if(!((c|0)<0|(c|0)>v[a+60>>2])){break a}c=-1;e=v[a+28>>2];v[a+28>>2]=e-1;c:{if((e|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;e=w[c|0];break c}e=Eb(a,1);if((e|0)==-1){break b}d=v[a+8>>2]}c=-1;if(d&7){break b}c=v[a+64>>2];if(!((c|0)<0|(c|0)>v[a+60>>2])){break a}c=-1;f=v[a+28>>2];v[a+28>>2]=f-1;d:{if((f|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;f=w[c|0];break d}f=Eb(a,1);if((f|0)==-1){break b}d=v[a+8>>2]}c=-1;if(d&7){break b}c=v[a+64>>2];if(!((c|0)<0|(c|0)>v[a+60>>2])){break a}c=-1;g=v[a+28>>2];v[a+28>>2]=g-1;e:{if((g|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;g=w[c|0];break e}g=Eb(a,1);if((g|0)==-1){break b}d=v[a+8>>2]}c=-1;if(d&7){break b}c=v[a+64>>2];if(!((c|0)<0|(c|0)>v[a+60>>2])){break a}c=-1;d=v[a+28>>2];v[a+28>>2]=d-1;f:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=a;a=v[a+24>>2];v[c+24>>2]=a+1;a=w[a|0];break f}a=Eb(a,1);if((a|0)==-1){break b}}c=0;if(!b){break b}v[b>>2]=(f<<8|e<<16|g)<<8|a}return c}v[a+8>>2]=d|4;return-1}function eia(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:{if(a){c=v[a+200>>2];if(!(c&4)){break a}b:{if(!b){break b}if(!(!(w[b+9|0]&2)|c&512)){FQ(a,b+60|0)}if(v[b+48>>2]>=1){e=v[b+56>>2];while(1){g=B(f,28);c=g+e|0;d=v[c>>2];c:{d:{e:{if((d|0)>=1){HQ(a,d,v[c+4>>2],v[c+20>>2],v[c+24>>2],v[c+8>>2]);break e}if((d|0)>=0){JQ(a,v[c+4>>2],v[c+8>>2]);c=-2;break d}if((d|0)!=-1){break c}ey(a,v[c+4>>2],v[c+8>>2])}c=-3}e=v[b+56>>2];v[g+e>>2]=c}f=f+1|0;if((f|0)>2]){continue}break}}c=v[b+192>>2];if(!c|(c|0)<1){break b}c=v[b+188>>2];while(1){d=ZF(a,c);if(!((d|0)==1|!(w[c+16|0]&8)|!(t[a+206|0]&1?1:w[c+3|0]&32|(d|0)==3))){AE(a,c,v[c+8>>2],v[c+12>>2])}c=c+20|0;if(c>>>0>2]+B(v[b+192>>2],20)>>>0){continue}break}}v[a+200>>2]=v[a+200>>2]|8;b=Ma-16|0;Ma=b;if(a){v[a+744>>2]=34;v[b+8>>2]=0;v[b+12>>2]=1145980233;jc(a,b+8|0,8);v[a+348>>2]=1229278788;Bf(a);gc(a,b+12|0,4);v[a+744>>2]=130;c=v[a+384>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[b+4|0]=c;t[b+5|0]=c>>>8;t[b+6|0]=c>>>16;t[b+7|0]=c>>>24;jc(a,b+4|0,4)}v[a+200>>2]=v[a+200>>2]|16;Ma=b+16|0}return}dc(a,13361);L()}function GVa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=v[a+428>>2];c=x[b+32>>1];c=c<<8|c>>>8;t[d+8|0]=c;t[d+9|0]=c>>>8;e=d+8|0;c=w[b+35|0];a:{if(!(c|w[b+37|0]|(w[b+38|0]|w[b+48|0]))){c=2;break a}t[d+10|0]=c;c=w[b+37|0];if(!(w[b+48|0]|(c|w[b+38|0]))){c=3;break a}t[d+11|0]=c;c=4;if(!(w[b+38|0]|w[b+48|0])){break a}c=v[b+40>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+12|0]=c;t[d+13|0]=c>>>8;t[d+14|0]=c>>>16;t[d+15|0]=c>>>24;c=v[b+44>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+16|0]=c;t[d+17|0]=c>>>8;t[d+18|0]=c>>>16;t[d+19|0]=c>>>24;c=12;if(!w[b+48|0]){break a}c=v[b+52>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+20|0]=c;t[d+21|0]=c>>>8;t[d+22|0]=c>>>16;t[d+23|0]=c>>>24;c=v[b+56>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+24|0]=c;t[d+25|0]=c>>>8;t[d+26|0]=c>>>16;t[d+27|0]=c>>>24;c=v[b+60>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+28|0]=c;t[d+29|0]=c>>>8;t[d+30|0]=c>>>16;t[d+31|0]=c>>>24;c=v[b+64>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+32|0]=c;t[d+33|0]=c>>>8;t[d+34|0]=c>>>16;t[d+35|0]=c>>>24;c=28}return hd(a,v[b>>2],c,e)|0}function iw(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;h=Ma-16|0;Ma=h;if(e){v[e>>2]=-1}k=(c|0)==-21;l=k?b-21|0:b;m=(c|0)<0?0:c;i=v[a+8>>2];g=v[a>>2];a:{b:{if(g){b=i;while(1){if(!(v[b>>2]!=(l|0)|v[b+4>>2]!=(m|0))){g=f;break b}b=b+12|0;f=f+1|0;if((f|0)!=(g|0)){continue}break}}j=g+1|0;b=v[a+4>>2];c:{if(j>>>0>>0){break c}v[h+4>>2]=0;if(b>>>0>=j>>>0){break c}f=b;b=g+8&-8;i=yb(d,12,f,b,i,h+4|0);v[a+8>>2]=i;f=v[h+4>>2];if(f){break a}v[a+4>>2]=b}v[a>>2]=j;b=B(g,12)+i|0;v[b+8>>2]=c>>31&(k?3:1);v[b+4>>2]=m;v[b>>2]=l}b=v[a+12>>2];d:{e:{if(!b){f:{if(v[a+16>>2]){b=v[a+20>>2];break f}v[h+8>>2]=0;b=yb(d,16,0,8,v[a+20>>2],h+8|0);v[a+20>>2]=b;f=v[h+8>>2];if(f){break a}v[a+16>>2]=8}v[b+12>>2]=0;v[b>>2]=0;v[a+12>>2]=1;break e}b=(v[a+20>>2]+(b<<4)|0)-16|0;if(y[b>>2]>g>>>0){break d}}a=v[b+4>>2];v[h+12>>2]=0;c=g+8>>>3|0;a=a+7>>>3|0;if(c>>>0>a>>>0){f=a;a=c+7&1073741816;n=b,o=yb(d,1,f,a,v[b+8>>2],h+12|0),v[n+8>>2]=o;f=v[h+12>>2];if(f){break a}v[b+4>>2]=a<<3}v[b>>2]=g+1}a=v[b+8>>2]+(g>>>3|0)|0;t[a|0]=w[a|0]|128>>>(g&7);f=0;if(!e){break a}v[e>>2]=g}Ma=h+16|0;return f}function Nr(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=Ma-32|0;Ma=i;if(w[a+49|0]){if(w[a+4|0]){e=x[b+2>>1];h=e+c|0;f=x[b>>1];g=f+d|0;f=f+1|0;e=e+1|0}else{e=0}a:{if(Qa[v[v[a>>2]+8>>2]](a,v[a+200>>2]>(f|0),a+168|0)|0){j=Qa[v[v[a>>2]+56>>2]](a,f-v[a+212>>2]|0,a+176|0)|0;k=Qa[v[v[a>>2]+56>>2]](a,h-v[a+208>>2]|0,a+184|0)|0;h=w[a+4|0];if(!h){f=j+v[a+212>>2]|0;g=(f+d|0)-1|0;e=(v[a+208>>2]+(k-c|0)|0)+1|0}v[a+208>>2]=e;v[a+204>>2]=g;v[a+200>>2]=f;v[a+212>>2]=f;v[a+196>>2]=e;v[a+236>>2]=0;v[a+224>>2]=e;v[a+232>>2]=e;v[a+228>>2]=e;break a}j=Qa[v[v[a>>2]+56>>2]](a,f-v[a+204>>2]|0,a+172|0)|0;k=Qa[v[v[a>>2]+56>>2]](a,e-v[a+196>>2]|0,a+180|0)|0;c=a;h=w[a+4|0];if(!h){e=k+v[a+196>>2]|0;f=j+v[a+204>>2]|0;g=(f+d|0)-1|0}v[c+204>>2]=g;v[a+200>>2]=f;c=v[a+236>>2]+1|0;c=(c|0)==3?0:c;v[a+236>>2]=c;v[(a+224|0)+(c<<2)>>2]=e;c=v[a+232>>2];g=v[a+224>>2];d=v[a+228>>2];b:{if((g|0)>=(d|0)){if((c|0)>=(g|0)){break b}g=(c|0)>(d|0)?c:d;break b}if((c|0)<=(g|0)){break b}g=(c|0)>(d|0)?d:c}v[a+196>>2]=g}if(!h){u[b>>1]=f-1;u[b+2>>1]=e-1}Ma=i+32|0;return}lb(mb(i+8|0,227206,241993,718,328360));L()}function Bu(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=Ma-32|0;Ma=e;a:{b:{c:{if(!v[a+20>>2]){break c}c=x[a+12>>1];if(v[279246]<(c+x[a+14>>1]|0)){break b}b=0-c|0;d=c+x[a+10>>1]|0;if((b|0)<(d|0)){c=c+v[279245]|0;while(1){if(w[b+c|0]){break a}b=b+1|0;if((d|0)!=(b|0)){continue}break}}if(!x[a+8>>1]){break c}d=0;while(1){b=Ma-32|0;Ma=b;d:{if(v[a+20>>2]){break d}c=v[a+36>>2];if(!c){break d}qi(a,c)}e:{f:{g:{if(!(x[a+8>>1]>(d|0)&(d|0)>=0)){c=x[a+12>>1];if(v[279246]<(c+x[a+14>>1]|0)){break f}c=c+v[279245]|0;break g}c=v[a+20>>2]+(x[a+12>>1]+B(x[a+14>>1],d)|0)|0}Ma=b+32|0;break e}lb(mb(b+8|0,260021,271561,592,225834));L()}h:{f=x[a+12>>1];if(!f){break h}b=0-f|0;g=(b|0)>-1?b:-1;i:{while(1){if(!w[b+c|0]){h=(b|0)==(g|0);b=b+1|0;if(!h){continue}break i}break}lb(mb(e+8|0,291389,241375,1671,226677));L()}b=x[a+10>>1];f=f+b|0;while(1){if(!w[b+c|0]){b=b+1|0;if(f>>>0>b>>>0){continue}break h}break}lb(mb(e+8|0,291366,241375,1674,226677));L()}d=d+1|0;if(d>>>0>1]){continue}break}}Ma=e+32|0;return}lb(mb(e+8|0,260021,271561,592,225834));L()}lb(mb(e+8|0,291411,241375,1665,226677));L()}function TVa(a,b){a=a|0;b=b|0;var c=0,d=0;if(w[b+32|0]){return hd(a,v[b>>2],0,0)|0}d=v[a+428>>2];c=v[b+36>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+8|0]=c;t[d+9|0]=c>>>8;t[d+10|0]=c>>>16;t[d+11|0]=c>>>24;c=v[b+40>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+12|0]=c;t[d+13|0]=c>>>8;t[d+14|0]=c>>>16;t[d+15|0]=c>>>24;c=v[b+44>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+16|0]=c;t[d+17|0]=c>>>8;t[d+18|0]=c>>>16;t[d+19|0]=c>>>24;c=v[b+48>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+20|0]=c;t[d+21|0]=c>>>8;t[d+22|0]=c>>>16;t[d+23|0]=c>>>24;c=v[b+52>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+24|0]=c;t[d+25|0]=c>>>8;t[d+26|0]=c>>>16;t[d+27|0]=c>>>24;c=v[b+56>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+28|0]=c;t[d+29|0]=c>>>8;t[d+30|0]=c>>>16;t[d+31|0]=c>>>24;c=v[b+60>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+32|0]=c;t[d+33|0]=c>>>8;t[d+34|0]=c>>>16;t[d+35|0]=c>>>24;c=v[b+64>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+36|0]=c;t[d+37|0]=c>>>8;t[d+38|0]=c>>>16;t[d+39|0]=c>>>24;return hd(a,v[b>>2],32,d+8|0)|0}function DJ(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=Ma-16|0;Ma=e;a:{if(!a){c=35;break a}c=v[a+96>>2];if(!c){c=6;break a}i=v[c+8>>2];d=cc(i,v[v[c+12>>2]+44>>2],e+8|0);b:{c:{c=v[e+8>>2];if(!c){v[d+4>>2]=a;f=v[a+96>>2];g=v[f+12>>2];j=v[f+8>>2];v[e+12>>2]=0;v[d>>2]=v[f+4>>2];k=cc(j,44,e+12|0);c=v[e+12>>2];if(c){break c}v[d+156>>2]=k;if(!(w[v[f>>2]+1|0]&2)){h=Ma-16|0;Ma=h;f=cc(j,96,h+12|0);c=v[h+12>>2];if(!c){v[f>>2]=j;v[k>>2]=f}Ma=h+16|0;v[e+12>>2]=c;if(c){break c}}c=v[g+64>>2];if(c){c=Qa[c|0](d)|0;v[e+8>>2]=c;if(c){break b}}v[d+8>>2]=v[a+84>>2];v[a+84>>2]=d;c=0;if(!b){break a}v[b>>2]=d;break a}if(!b){break a}v[b>>2]=0;break a}v[e+8>>2]=c}g=v[v[d+4>>2]+96>>2];c=v[g+8>>2];a=v[v[g+12>>2]+68>>2];if(a){Qa[a|0](d)}a=v[d+156>>2];d:{if(!a){v[d+88>>2]=0;break d}e:{if(t[a+4|0]&1){b=v[v[d+4>>2]+100>>2];a=v[d+88>>2];if(a){Qa[v[b+8>>2]](b,a)}v[d+88>>2]=0;a=v[d+156>>2];v[a+4>>2]=v[a+4>>2]&-2;break e}v[d+88>>2]=0}if(!(w[v[g>>2]+1|0]&2)){e0(v[a>>2]);a=v[d+156>>2];v[a>>2]=0}if(a){Qa[v[c+8>>2]](c,a)}v[d+156>>2]=0}if(d){Qa[v[i+8>>2]](i,d)}c=v[e+8>>2]}Ma=e+16|0;return c}function Ax(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;i=Ma-16|0;Ma=i;l=Yi(g);h=Dr(g);g=h;Qa[v[v[g>>2]+20>>2]](i,g);if(w[i+11|0]>>>7|0){g=v[i+4>>2]}else{g=w[i+11|0]}a:{if(!g){Qa[v[v[l>>2]+32>>2]](l,a,c,d)|0;g=(c-a|0)+d|0;v[f>>2]=g;break a}v[f>>2]=d;b:{c:{j=a;g=w[j|0];switch(g-43|0){case 0:case 2:break c;default:break b}}k=Qa[v[v[l>>2]+28>>2]](l,g<<24>>24)|0;g=v[f>>2];v[f>>2]=g+1;t[g|0]=k;j=a+1|0}if(!(w[j|0]!=48|(c-j|0)<2|(w[j+1|0]|32)!=120)){k=Qa[v[v[l>>2]+28>>2]](l,48)|0;g=v[f>>2];v[f>>2]=g+1;t[g|0]=k;k=Qa[v[v[l>>2]+28>>2]](l,t[j+1|0])|0;g=v[f>>2];v[f>>2]=g+1;t[g|0]=k;j=j+2|0}Cp(j,c);o=Qa[v[v[h>>2]+16>>2]](h)|0;k=0;g=j;while(1){if(c>>>0<=g>>>0){Cp((j-a|0)+d|0,v[f>>2]);g=v[f>>2]}else{if(w[i+11|0]>>>7|0){h=v[i>>2]}else{h=i}m=!w[h+k|0];if(w[i+11|0]>>>7|0){h=v[i>>2]}else{h=i}if(!(m|t[h+k|0]!=(n|0))){h=v[f>>2];v[f>>2]=h+1;t[h|0]=o;if(w[i+11|0]>>>7|0){h=v[i+4>>2]}else{h=w[i+11|0]}k=(h-1>>>0>k>>>0)+k|0;n=0}m=Qa[v[v[l>>2]+28>>2]](l,t[g|0])|0;h=v[f>>2];v[f>>2]=h+1;t[h|0]=m;g=g+1|0;n=n+1|0;continue}break}}v[e>>2]=(b|0)==(c|0)?g:(b-a|0)+d|0;Vb(i);Ma=i+16|0}function dB(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=Ma-16|0;Ma=g;h=Ma-16|0;Ma=h;v[h+8>>2]=a;i=v[c+20>>2];e=i+((Qa[v[c+12>>2]](h+8|0)>>>0)%y[c+4>>2]<<2)|0;j=v[e>>2];a:{if(!j){break a}while(1){if(Qa[v[c+16>>2]](j,h+8|0)|0){break a}e=e-4|0;if(i>>>0>e>>>0){e=(i+(v[c+4>>2]<<2)|0)-4|0}j=v[e>>2];if(j){continue}break}}Ma=h+16|0;h=e;v[g>>2]=0;e=v[e>>2];b:{if(!e){e=cc(d,8,g);f=v[g>>2];if(f){break b}v[h>>2]=e;v[e+4>>2]=b;v[e>>2]=a;a=v[c+8>>2];if(a>>>0>2]){f=v[g>>2]}else{b=v[c+20>>2];e=v[c+4>>2];i=0;v[g+4>>2]=0;a=e<<1;v[c>>2]=(a>>>0)/3;v[c+4>>2]=a;k=c,l=yb(d,4,0,a,0,g+4|0),v[k+20>>2]=l;f=v[g+4>>2];if(f){break b}if(e){a=b;while(1){f=v[a>>2];if(f){v[g+8>>2]=v[f>>2];h=v[c+20>>2];f=h+((Qa[v[c+12>>2]](g+8|0)>>>0)%y[c+4>>2]<<2)|0;while(1){c:{j=v[f>>2];if(!j){break c}if(Qa[v[c+16>>2]](j,g+8|0)|0){break c}f=f-4|0;if(h>>>0<=f>>>0){continue}f=(h+(v[c+4>>2]<<2)|0)-4|0;continue}break}v[f>>2]=v[a>>2]}a=a+4|0;i=i+1|0;if((e|0)!=(i|0)){continue}break}}if(b){Qa[v[d+8>>2]](d,b)}f=v[g+4>>2];if(f){break b}a=v[c+8>>2];f=0}v[c+8>>2]=a+1;break b}v[e+4>>2]=b}Ma=g+16|0;return f}function VC(a){var b=0,c=0,d=0,e=0;tb(v[a+60>>2]);e=v[a+360>>2];if(e){c=u[a+356>>1];if((c|0)>1]){b=c;while(1){tb(v[(B(b-c|0,272)+e|0)+268>>2]);c=v[a+360>>2]+B(b-u[a+356>>1]|0,272)|0;v[c+268>>2]=0;tb(v[c+260>>2]);e=v[a+360>>2];c=u[a+356>>1];v[(e+B(b-c|0,272)|0)+260>>2]=0;b=b+1|0;if((b|0)>1]){continue}break}}$a(e);v[a+360>>2]=0}tb(v[a+372>>2]);tb(v[a+408>>2]);tb(v[a+412>>2]);tb(v[a+432>>2]);tb(v[a+440>>2]);tb(v[a+500>>2]);tb(v[a+504>>2]);tb(v[a+544>>2]);tb(v[a+516>>2]);if(v[a+552>>2]>=1){while(1){tb(v[(v[a+556>>2]+(d<<4)|0)+12>>2]);d=d+1|0;if((d|0)>2]){continue}break}}tb(v[a+556>>2]);tb(v[a+564>>2]);tb(v[a+576>>2]);d=0;if(u[a+632>>1]>=1){while(1){It(v[a+636>>2]+B(d,600)|0);d=d+1|0;if((d|0)>1]){continue}break}}tb(v[a+636>>2]);tb(v[a+692>>2]);c=0;b=v[a+656>>2];if(b){if(v[a+652>>2]>=1){while(1){tb(v[b+12>>2]);tb(v[b+292>>2]);b=b+296|0;c=c+1|0;if((c|0)>2]){continue}break}b=v[a+656>>2]}$a(b)}tb(v[a+672>>2]);tb(v[a+684>>2]);tb(v[a+680>>2]);tb(v[a+676>>2]);b=v[a+12>>2];if(b){$a(b);v[a+20>>2]=0;v[a+12>>2]=0;v[a+16>>2]=0}}function wm(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=65535;a:{if((c|0)<1){break a}j=a+28|0;d=w[a+29|0];g=v[a+44>>2];k=v[a+36>>2];while(1){b:{f=b+h|0;h=h+1|0;f=v[(((d&255)<<10)+k|0)+(w[f|0]<<2)>>2];if((f|0)<0){break b}d=f>>>24|0;i=(f&16777215)+i|0;if((c|0)!=(h|0)){continue}break a}break}d=65534;c:{d:{switch(f>>>20&15){case 4:e=(f&65535)+i|0;d=x[(e<<1)+g>>1];if((d|0)!=65534){break c}d=bZ(j,e);break c;case 0:d=f&65535;break c;case 5:e=(f&65535)+i|0;d=x[(e<<1)+g>>1];if(d>>>0<55296){break c}e=e+1|0;if(d>>>0<=57343){d=(x[(e<<1)+g>>1]+(d<<10&1047552)|0)+9216|0;break c}if((d&65534)==57344){d=x[(e<<1)+g>>1];break c}e=65535;f=(d|0)==65535;d=65534;if(!f){break c}break a;case 1:d=(f&1048575)+65536|0;break c;case 2:d=f&65535;break c;case 6:break c;case 3:break d;default:break a}}d=(f&1048575)+65536|0}e=65535;if((c|0)!=(h|0)){break a}e=d;if((d|0)!=65534){break a}e=65534;a=v[a+224>>2];if(!a){break a}d=Ma-16|0;Ma=d;v[d+12>>2]=0;if((c|0)<1){e=65535}else{b=kI(a,-1,b,c,0,0,d+12|0,1);a=v[d+12>>2];e=(b|0)==(c|0)?a>>>0<3145728?a-2031616|0:65534:65534}Ma=d+16|0}return e}function lm(a){var b=0;b=v[a>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}tb(v[a+20>>2]);tb(v[a+148>>2]);tb(v[a+24>>2]);tb(v[a+152>>2]);tb(v[a+28>>2]);tb(v[a+156>>2]);tb(v[a+32>>2]);tb(v[a+160>>2]);tb(v[a+36>>2]);tb(v[a+164>>2]);tb(v[a+40>>2]);tb(v[a+168>>2]);tb(v[a+44>>2]);tb(v[a+172>>2]);tb(v[a+48>>2]);tb(v[a+176>>2]);tb(v[a+52>>2]);tb(v[a+180>>2]);tb(v[a+56>>2]);tb(v[a+184>>2]);tb(v[a+60>>2]);tb(v[a+188>>2]);tb(v[a- -64>>2]);tb(v[a+192>>2]);tb(v[a+68>>2]);tb(v[a+196>>2]);tb(v[a+72>>2]);tb(v[a+200>>2]);tb(v[a+76>>2]);tb(v[a+204>>2]);tb(v[a+80>>2]);tb(v[a+208>>2]);tb(v[a+84>>2]);tb(v[a+212>>2]);tb(v[a+88>>2]);tb(v[a+216>>2]);tb(v[a+92>>2]);tb(v[a+220>>2]);tb(v[a+96>>2]);tb(v[a+224>>2]);tb(v[a+100>>2]);tb(v[a+228>>2]);tb(v[a+104>>2]);tb(v[a+232>>2]);tb(v[a+108>>2]);tb(v[a+236>>2]);tb(v[a+112>>2]);tb(v[a+240>>2]);tb(v[a+116>>2]);tb(v[a+244>>2]);tb(v[a+120>>2]);tb(v[a+248>>2]);tb(v[a+124>>2]);tb(v[a+252>>2]);tb(v[a+128>>2]);tb(v[a+256>>2]);tb(v[a+132>>2]);tb(v[a+260>>2]);tb(v[a+136>>2]);tb(v[a+264>>2]);tb(v[a+140>>2]);tb(v[a+268>>2]);tb(v[a+144>>2]);tb(v[a+272>>2])}function jF(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=Ma+-64|0;Ma=d;f=d;e=v[b>>2];if(e){v[e+4>>2]=v[e+4>>2]+1;b=v[b>>2]}else{b=0}v[f+48>>2]=b;qT(d+56|0,d+48|0,1024);b=v[d+48>>2];v[d+48>>2]=0;a:{if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}g=v[a+16>>2];Uu(v[d+56>>2],g);b:{if(g){b=v[a+20>>2];if(!b){break b}while(1){h=Ma-32|0;Ma=h;c:{e=v[b+8>>2];c=v[e+8>>2];if((c|0)<65536){a=v[d+56>>2];mg(a,c&255);mg(a,w[e+9|0]);f=a;c=v[e+12>>2];if(c){c=v[c+8>>2]}else{c=0}Uu(f,c);Li(a,e+12|0);f=a;c=v[e+20>>2];if(c){c=v[c+8>>2]}else{c=0}pT(f,c);Li(a,e+20|0);Ma=h+32|0;break c}lb(mb(h+8|0,283222,240739,158,335197));L()}i=i+1|0;b=v[b>>2];if(b){continue}break}if((g|0)!=(i|0)){break b}}a=v[d+56>>2];v[d+56>>2]=0;d:{if(!a){break d}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break d}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=d- -64|0;return}v[d+40>>2]=0;v[d>>2]=i;v[d+4>>2]=g;v[d+44>>2]=v[279250];Gd(d+40|0,348195,d);a=v[d+40>>2];lb(mb(d+16|0,v[(a?a+12|0:1117e3)>>2],240739,226,335152));L()}function YS(a,b){var c=0,d=0,e=0,f=0;d=Ma-32|0;Ma=d;v[a>>2]=0;v[a+4>>2]=v[279250];a:{b:{c:{c=v[b>>2];if(!c){break c}if(v[c+8>>2]){Qa[v[v[c>>2]+24>>2]](d+8|0,c,2);b=v[d+8>>2];d:{if(b){Qa[v[v[b>>2]+24>>2]](d+16|0,b,2);break d}v[d+16>>2]=0}jb(a,d+16|0);b=v[d+16>>2];v[d+16>>2]=0;e:{if(!b){break e}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break e}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[a>>2];v[a+4>>2]=v[(b?b+12|0:1117e3)>>2];b=v[d+8>>2];v[d+8>>2]=0;if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}break a}v[c+4>>2]=v[c+4>>2]+1;b=v[b>>2];if(!b){break c}Qa[v[v[b>>2]+24>>2]](d+24|0,b,2);c=0;break b}b=0;v[d+24>>2]=0;c=1}jb(a,d+24|0);e=v[d+24>>2];v[d+24>>2]=0;f:{if(!e){break f}f=v[e+4>>2]-1|0;v[e+4>>2]=f;if(f){break f}f=v[e+4>>2];if(!f){v[e+4>>2]=-32767}if(!f){Qa[v[v[e>>2]+4>>2]](e)}}e=v[a>>2];v[a+4>>2]=v[(e?e+12|0:1117e3)>>2];if(c){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}Ma=d+32|0;return a}function tm(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=Ma-16|0;Ma=g;a:{if(!a){break a}if((b|0)<=0){b=zb(a);if((b|0)<0){break a}}i=Qa[v[256555]](b+1|0)|0;if(!i){v[g>>2]=342722;nb(0,0,0,0,0,30,2,3,342722,0,0,0,340689,g);break a}d=i;if((b|0)>=1){while(1){j=-1;c=w[a|0];b:{c:{if((c|0)!=37|(b|0)<3){break c}d:{f=w[a+1|0];h=f-48|0;k=(h&255)>>>0<10;if(k){break d}c=37;switch(f-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break d;default:break c}}e:{e=w[a+2|0];if((e-48&255)>>>0<10){break e}c=37;switch(e-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break e;default:break c}}a=a+2|0;f:{g:{if(k){break g}if((f-97&255)>>>0<=5){h=f-87|0;break g}if((f-65&255)>>>0>5){break f}h=f-55|0}t[d|0]=h}e=w[a|0];c=e-48|0;h:{if((c&255)>>>0<=9){c=c+(w[d|0]<<4)|0;break h}c=(e+(w[d|0]<<4)|0)-87|0;if((e-97&255)>>>0<=5){break h}j=-3;if((e-65&255)>>>0>5){break b}c=(e+(w[d|0]<<4)|0)-55|0}j=-3}t[d|0]=c}d=d+1|0;a=a+1|0;b=b+j|0;if((b|0)>0){continue}break}}t[d|0]=0;d=i}Ma=g+16|0;return d}function $l(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=Ma-208|0;Ma=e;v[e+8>>2]=1;v[e+12>>2]=0;i=B(b,c);a:{if(!i){break a}v[e+16>>2]=c;v[e+20>>2]=c;j=0-c|0;b=c;f=b;h=2;while(1){g=b;b=(c+f|0)+b|0;v[(e+16|0)+(h<<2)>>2]=b;h=h+1|0;f=g;if(b>>>0>>0){continue}break}g=(a+i|0)+j|0;b:{if(g>>>0<=a>>>0){h=0;b=1;g=0;break b}h=1;b=1;while(1){c:{if((h&3)==3){OD(a,c,d,b,e+16|0);Mx(e+8|0,2);b=b+2|0;break c}f=b-1|0;d:{if(y[(e+16|0)+(f<<2)>>2]>=g-a>>>0){Lx(a,c,d,e+8|0,b,0,e+16|0);break d}OD(a,c,d,b,e+16|0)}if((b|0)==1){Kx(e+8|0,1);b=0;break c}Kx(e+8|0,f);b=1}f=v[e+8>>2];h=f|1;v[e+8>>2]=h;a=a+c|0;if(g>>>0>a>>>0){continue}break}h=f>>>0>1;g=v[e+12>>2]!=0}Lx(a,c,d,e+8|0,b,0,e+16|0);if(!(g?1:h|(b|0)!=1)){break a}while(1){e:{if((b|0)<=1){g=e+8|0;h=g;f=w3a(v[g>>2]-1|0);if(!f){g=w3a(v[g+4>>2]);f=g?g+32|0:0}Mx(h,f);h=v[e+8>>2];b=b+f|0;break e}f=e+8|0;Kx(f,2);v[e+8>>2]=v[e+8>>2]^7;Mx(f,1);k=a+j|0;i=e+16|0;g=b-2|0;Lx(k-v[i+(g<<2)>>2]|0,c,d,f,b-1|0,1,i);Kx(f,1);h=v[e+8>>2]|1;v[e+8>>2]=h;Lx(k,c,d,f,g,1,i);b=g}a=a+j|0;if(v[e+12>>2]|((b|0)!=1|(h|0)!=1)){continue}break}}Ma=e+208|0}function zma(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=Ma-32|0;Ma=c;$p(c+16|0,b);b=v[a+4>>2];h=v[b+12>>2];b=v[b+8>>2];a:{if(t[c+27|0]>=0){v[c+8>>2]=v[c+24>>2];d=v[c+20>>2];v[c>>2]=v[c+16>>2];v[c+4>>2]=d;break a}Sl(c,v[c+16>>2],v[c+20>>2])}b:{if((b|0)==(h|0)){k=t[c+11|0];break b}d=w[c+11|0];k=d<<24>>24;e=(k|0)<0;i=e?v[c>>2]:c;g=e?v[c+4>>2]:d;c:{if(!g){while(1){f=w[b+11|0];d=f<<24>>24;d:{if((d|0)<0?v[b+4>>2]:f){break d}if((d|0)<1){break b}if(w[i|0]!=w[b|0]){break d}e=b;d=i;while(1){f=f-1|0;if(!f){break b}g=w[d+1|0];d=d+1|0;e=e+1|0;if((g|0)==w[e|0]){continue}break}}b=b+20|0;if((h|0)!=(b|0)){continue}break c}}while(1){f=w[b+11|0];e=f<<24>>24;d=(e|0)<0;e:{if((g|0)!=((d?v[b+4>>2]:f)|0)){break e}j=v[b>>2];if(!d){if(!e){break b}e=b;d=i;if(w[d|0]!=(j&255)){break e}while(1){f=f-1|0;if(!f){break b}j=w[d+1|0];d=d+1|0;e=e+1|0;if((j|0)==w[e|0]){continue}break}break e}if(!Jb(j,i,g)){break b}}b=b+20|0;if((h|0)!=(b|0)){continue}break}}b=h}a=v[v[a+4>>2]+12>>2];if((k|0)<=-1){$a(v[c>>2])}if(t[c+27|0]<=-1){$a(v[c+16>>2])}Ma=c+32|0;return(a|0)!=(b|0)|0}function C$a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=v[v[a+544>>2]+88>>2];e=v[f+1176>>2]+B(v[f+1168>>2],v[a+572>>2])|0;d=v[a+644>>2];a:{if(w[f+56|0]){if(v[a+588>>2]<=0){break a}while(1){c=w[e+2|0]|w[e+3|0]<<8;j=(c<<8|c>>>8)&65535;c=w[e+4|0]|w[e+5|0]<<8;k=(c<<8|c>>>8)&65535;l=d;c=w[e|0]|w[e+1|0]<<8;c=(c<<8|c>>>8)&65535;b:{if(!((c|0)!=x[f+838>>1]|(j|0)!=x[f+840>>1])){b=0;h=0;g=0;i=0;if(x[f+842>>1]==(k|0)){break b}}h=65535;b=j;g=c;i=k}c=i;g=g<<8|g>>>8;t[l|0]=g;t[l+1|0]=g>>>8;b=b<<8|b>>>8;t[d+2|0]=b;t[d+3|0]=b>>>8;c=c<<8|c>>>8;t[d+4|0]=c;t[d+5|0]=c>>>8;c=h<<8|h>>>8;t[d+6|0]=c;t[d+7|0]=c>>>8;d=d+8|0;e=e+6|0;m=m+1|0;if((m|0)>2]){continue}break}break a}if(v[a+588>>2]<=0){break a}while(1){b=w[e|0]|w[e+1|0]<<8;b=(b<<8|b>>>8)&65535;b=b<<8|b>>>8;t[d|0]=b;t[d+1|0]=b>>>8;b=w[e+2|0]|w[e+3|0]<<8;b=(b<<8|b>>>8)&65535;b=b<<8|b>>>8;t[d+2|0]=b;t[d+3|0]=b>>>8;b=w[e+4|0]|w[e+5|0]<<8;b=(b<<8|b>>>8)&65535;b=b<<8|b>>>8;t[d+4|0]=b;t[d+5|0]=b>>>8;t[d+6|0]=255;t[d+7|0]=255;d=d+8|0;e=e+6|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function __a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=v[v[a+2248>>2]+88>>2];c=v[b+1168>>2];h=(v[b+1176>>2]+B(c,v[a+572>>2])|0)+B(c,v[a+2268>>2])|0;b=v[b+1164>>2];b=(h+B(b,v[a+580>>2])|0)+B(b,v[a+2264>>2])|0;f=v[a+636>>2]+v[a+616>>2]|0;c=v[a+588>>2];a:{b:{if(w[a+2253|0]!=4){if((c|0)<=0){break a}while(1){h=b;if(!(d&255)){i=w[f|0];e=6;f=f+1|0;d=192}c=(((d&i)>>>e)+(w[b|0]>>>6)&3)-1|0;t[h|0]=c>>>0<3?B(c,85)+85|0:0;e=e-2|0;d=(d&252)>>>2|0;b=v[a+584>>2]+b|0;g=g+1|0;c=v[a+588>>2];if((g|0)<(c|0)){continue}break}break b}if((c|0)<1){break a}while(1){h=b;if(!(d&255)){i=w[f|0];e=6;f=f+1|0;d=192}c=((d&i)>>>e|0)-1|0;t[h|0]=c>>>0<3?B(c,85)+85|0:0;e=e-2|0;d=(d&252)>>>2|0;b=v[a+584>>2]+b|0;g=g+1|0;c=v[a+588>>2];if((g|0)<(c|0)){continue}break}}if((c|0)<1){break a}b=v[a+540>>2];e=(v[b+1176>>2]+B(v[a+572>>2],v[b+1168>>2])|0)+B(v[a+580>>2],v[b+1164>>2])|0;g=v[a+636>>2]+v[a+616>>2]|0;d=0;b=0;c=0;f=0;while(1){if(!(b&255)){c=w[g|0];g=g+1|0;d=6;b=192}t[e|0]=(b&c&255)>>>d;d=d-2|0;b=(b&252)>>>2|0;e=v[a+584>>2]+e|0;f=f+1|0;if((f|0)>2]){continue}break}}return 0}function C1a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=v[a+44>>2];e=v[a+52>>2];b=Qa[v[v[e>>2]+20>>2]](e,2)|0;v[c+72>>2]=1;d=Qa[v[v[e>>2]+20>>2]](e,1)|0;a:{b:{c:{if((b|0)<4){break c}f=b-3|0;b=v[c+80>>2];if(!d){while(1){if(!b){f=f-4|0;b=Qa[v[v[e>>2]+20>>2]](e,4)|0}g=v[c+76>>2];d=gb(b);if(!d){break b}d=eb(d,0,b);v[c+84>>2]=b;v[c+68>>2]=d;v[c+64>>2]=d;if((b|0)>=1){while(1){d=Qa[v[v[e>>2]+20>>2]](e,1)|0;t[v[c+64>>2]+g|0]=d;d=b-1|0;g=g+1|0;f=f-1|0;if(!f){break a}h=(b|0)>1;b=d;if(h){continue}break}}v[c+76>>2]=g;b=b-1|0;v[c+80>>2]=b;if((f|0)>0){continue}break c}}while(1){if(!b){f=f-4|0;b=Qa[v[v[e>>2]+20>>2]](e,4)|0}g=v[c+76>>2];d=g+b|0;h=gb(d);if(!h){v[v[a>>2]+20>>2]=1;return}d=cb(eb(h,0,d),v[c+64>>2],b);h=v[c+64>>2];if(h){$a(h)}v[c+68>>2]=d;v[c+64>>2]=d;v[c+84>>2]=v[c+76>>2]+b;if((b|0)>=1){while(1){d=Qa[v[v[e>>2]+20>>2]](e,1)|0;t[v[c+64>>2]+g|0]=d;d=b-1|0;g=g+1|0;f=f-1|0;if(!f){break a}h=(b|0)>1;b=d;if(h){continue}break}}v[c+76>>2]=g;b=b-1|0;v[c+80>>2]=b;if((f|0)>0){continue}break}}return}v[c+64>>2]=0;v[v[a>>2]+20>>2]=1;return}v[c+76>>2]=g;v[c+80>>2]=d}function Tj(a,b){var c=0,d=0,e=0,f=0;c=Ma+-64|0;Ma=c;a:{if(t[1165588]&1){break a}if(!ie(1165588)){break a}wj(1165580,50);he(1165588)}b:{if(t[1165600]&1){break b}if(!ie(1165600)){break b}wj(1165592,9);he(1165600)}f=Oc(c+56|0,326333);c:{d:{switch(v[a+8>>2]-1|0){case 0:d=c+32|0;Rc(d,240021,1165580);e=c+40|0;ic(e,d,v[(b<<2)+971152>>2]);b=c+48|0;Xb(b,e,1165592);a=Qe(c+24|0,v[a+20>>2]);Xb(c,b,a);Cd(f,c);db(c);db(a);db(b);db(e);db(d);break c;case 1:d=c+32|0;Rc(d,272381,1165580);e=c+40|0;ic(e,d,v[(b<<2)+971152>>2]);b=c+48|0;Xb(b,e,1165592);Xb(c,b,a+24|0);Cd(f,c);db(c);db(b);db(e);db(d);break c;case 2:d=c+32|0;Rc(d,258558,1165580);e=c+40|0;ic(e,d,v[(b<<2)+971152>>2]);b=c+48|0;Xb(b,e,1165592);Xb(c,b,a+32|0);Cd(f,c);db(c);db(b);db(e);db(d);break c;case 3:d=c+32|0;Rc(d,227098,1165580);e=c+40|0;ic(e,d,v[(b<<2)+971152>>2]);b=c+48|0;Xb(b,e,1165592);Xb(c,b,a+12|0);Cd(f,c);db(c);db(b);db(e);db(d);break c;default:break d}}a=c+48|0;Rc(a,288616,1165580);ic(c,a,v[(b<<2)+971152>>2]);Cd(f,c);db(c);db(a)}a=v[f>>2];lb(mb(c,v[(a?a+12|0:1117e3)>>2],241416,334,226401));L()}function g3a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=-1;a:{d=v[b+8>>2];b:{if(d&7){break b}e=w[a+20|0];c=v[b+64>>2];if(!((c|0)<0|(c|0)>v[b+60>>2])){break a}v[b+4>>2]=v[b+4>>2]|32;c=-1;d=v[b+28>>2];v[b+28>>2]=d-1;c:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;t[c|0]=e;break c}if((Cb(b,e)|0)==-1){break b}}c=-1;d=v[b+8>>2];if(d&7){break b}e=w[a+21|0];c=v[b+64>>2];if(!((c|0)<0|(c|0)>v[b+60>>2])){break a}v[b+4>>2]=v[b+4>>2]|32;c=-1;d=v[b+28>>2];v[b+28>>2]=d-1;d:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;t[c|0]=e;break d}if((Cb(b,e)|0)==-1){break b}}c=-1;d=v[b+8>>2];if(d&7){break b}e=w[a+22|0];c=v[b+64>>2];if(!((c|0)<0|(c|0)>v[b+60>>2])){break a}v[b+4>>2]=v[b+4>>2]|32;c=-1;d=v[b+28>>2];v[b+28>>2]=d-1;e:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;t[c|0]=e;break e}if((Cb(b,e)|0)==-1){break b}}c=-1;f:{g:{switch(w[a+20|0]-1|0){case 0:if(!Fh(b,v[a+24>>2])){break f}break b;case 1:break g;default:break f}}if((Un(b,v[a+28>>2],v[a+32>>2])|0)!=v[a+32>>2]){break b}}c=0}return c|0}v[b+8>>2]=d|4;return-1}function IWa(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;a:{b:{c:{if(w[a+285|0]|w[a+286|0]|(w[a+287|0]|w[a+288|0])){break c}if(w[a+289|0]){break c}break b}if(w[a+292|0]|(w[a+293|0]|w[a+300|0])){break b}if(w[a+291|0]){break b}if(c>>>0>=5){break a}d:{if(w[a+289|0]){f=w[a+336|0];if(!((c|0)==1|(f|0)!=8)|!((c|0)==3|(f|0)!=10)){break a}if(!((c|0)==2|(f|0)!=12)){break a}if((c|0)==4|(f|0)!=14){break d}break a}if(w[a+288|0]?1:w[a+286|0]|w[a+287|0]){f=w[a+325|0];if(!(f|(c|0)==1)|!((c|0)==3|(f|0)!=2)){break a}if(!((c|0)==3|(f|0)!=3)|!((c|0)==2|(f|0)!=4)){break a}if((c|0)==4|(f|0)!=6){break d}break a}if(!(c&-5)){break d}break a}e:{f:{if(!w[a+112|0]){break f}b=Qa[v[b+4>>2]](a,b,e)|0;if(b){break e}b=v[e>>2];f=!c;t[b+32|0]=f;if(f){break f}f=b;g=w[a+336|0];g:{if(w[a+289|0]){break g}g=6;if(!w[a+286|0]){break g}g=w[a+325|0]}t[f+33|0]=g;t[b+34|0]=w[d|0];if(c>>>0<2){break f}t[v[e>>2]+35|0]=w[d+1|0];if((c|0)==2){break f}t[v[e>>2]+36|0]=w[d+2|0];if(c>>>0<4){break f}t[v[e>>2]+37|0]=w[d+3|0]}b=0}return b|0}ob(a,1029,0,0);return 1029}ob(a,1028,0,0);return 1028}function woa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=v[a+4>>2];Qa[v[v[b>>2]+20>>2]](b);v[a+48>>2]=0;v[a+40>>2]=0;v[a+56>>2]=0;v[a+44>>2]=v[a+8>>2]>>>31;v[v[a+60>>2]>>2]=v[a+20>>2];v[a+72>>2]=0;v[a+68>>2]=v[a+20>>2];b=v[a+56>>2];while(1){a:{e=a;f=a;b:{c:{d:{e:{f:{g:{h:{i:{if((b|0)>=12){c=v[a+52>>2];break i}while(1){b=v[a+4>>2];c=Qa[v[v[b>>2]+28>>2]](b)|0;if((c|0)==-1){b=v[a+56>>2];if(!b){break g}c=v[a+52>>2]<<12-b;break h}d=v[a+56>>2];b=d+8|0;v[a+56>>2]=b;c=c+(v[a+52>>2]<<8)|0;v[a+52>>2]=c;if((d|0)<4){continue}break}}c=c>>>b-12|0}c=c&4095;if(!c){break a}if((c|0)==1){v[a+12>>2]=1;b=((b|0)>12?b:12)-12|0;v[a+56>>2]=b}if(v[a+8>>2]<=0){break b}if((b|0)<=0){break f}c=v[a+52>>2];break e}if(v[a+8>>2]<=0){break b}}while(1){b=v[a+4>>2];c=Qa[v[v[b>>2]+28>>2]](b)|0;if((c|0)==-1){b=v[a+56>>2];if(!b){v[a+44>>2]=0;a=0;break c}a=v[a+52>>2]<<1-b;break d}d=v[a+56>>2];b=d+8|0;v[a+56>>2]=b;c=c+(v[a+52>>2]<<8)|0;v[a+52>>2]=c;if((d|0)<-7){continue}break}}a=c>>>b-1|0}v[f+44>>2]=(a^-1)&1;a=((b|0)>1?b:1)-1|0}v[e+56>>2]=a}return}b=((b|0)>1?b:1)-1|0;v[a+56>>2]=b;continue}}function eR(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=Ma-256|0;Ma=h;a:{b:{if(b<1.001&b>.999){break b}c:{if(t[1168080]&1){break c}if(!ie(1168080)){break c}he(1168080)}if(A[139624]!=b){if(b<.1|b>10){break a}k=1/b;while(1){f=c+1167824|0;g=H(pd(+(c|0)/255,k)*255+.5);d:{if(D(g)<2147483648){d=~~g;break d}d=-2147483648}t[f|0]=d;d=c|1;f=d+1167824|0;g=H(pd(+(d|0)/255,k)*255+.5);e:{if(D(g)<2147483648){d=~~g;break e}d=-2147483648}t[f|0]=d;c=c+2|0;if((c|0)!=256){continue}break}t[1168079]=255;A[139624]=b;t[1167824]=0}e=cb(h,1167824,256);l=x[a+8>>1];if(!l){break b}i=x[a+10>>1];if(!i){break b}m=v[a+16>>2];f=i&65534;n=i&1;while(1){c=m?B(B(x[a+12>>1],j),3)+m|0:0;d=f;if((i|0)!=1){while(1){t[c+2|0]=w[w[c+2|0]+e|0];t[c+1|0]=w[w[c+1|0]+e|0];t[c|0]=w[w[c|0]+e|0];t[c+5|0]=w[w[c+5|0]+e|0];t[c+4|0]=w[w[c+4|0]+e|0];t[c+3|0]=w[w[c+3|0]+e|0];c=c+6|0;d=d-2|0;if(d){continue}break}}if(n){t[c+2|0]=w[w[c+2|0]+e|0];t[c+1|0]=w[w[c+1|0]+e|0];t[c|0]=w[w[c|0]+e|0]}j=j+1|0;if((l|0)!=(j|0)){continue}break}}Ma=h+256|0;return}lb(mb(h,255729,241334,657,332084));L()}function Xf(a,b){var c=0,d=0,e=0,f=0,g=0;c=-1;a:{d=v[a+8>>2];b:{if(d&7){break b}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break a}c=-1;e=v[a+28>>2];v[a+28>>2]=e-1;c:{if((e|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;e=w[c|0];break c}e=Eb(a,1);if((e|0)==-1){break b}d=v[a+8>>2]}c=-1;if(d&7){break b}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break a}c=-1;f=v[a+28>>2];v[a+28>>2]=f-1;d:{if((f|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;f=w[c|0];break d}f=Eb(a,1);if((f|0)==-1){break b}d=v[a+8>>2]}c=-1;if(d&7){break b}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break a}c=-1;g=v[a+28>>2];v[a+28>>2]=g-1;e:{if((g|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;g=w[c|0];break e}g=Eb(a,1);if((g|0)==-1){break b}d=v[a+8>>2]}c=-1;if(d&7){break b}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break a}c=-1;d=v[a+28>>2];v[a+28>>2]=d-1;f:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=a;a=v[a+24>>2];v[c+24>>2]=a+1;a=w[a|0];break f}a=Eb(a,1);if((a|0)==-1){break b}}v[b>>2]=(e<<16|f<<8|g)<<8|a;c=0}return c}v[a+8>>2]=d|4;return-1}function WZ(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;if(a){c=B(d,204)+c|0;k=v[c+200>>2];l=v[c+204>>2];while(1){c=v[b+4>>2];e=(c|0)<1;a:{if(e){break a}f=v[b>>2];i=f+B(c,40)|0;d=0;c=f;h=0;while(1){g=v[c+16>>2]&32;h=g?h?h:c:h;d=(g>>>5|0)+d|0;c=c+40|0;if(i>>>0>c>>>0){continue}break}c=h;if(d>>>0<=1){if((d|0)==1){l=v[h+36>>2]-xb(v[h+28>>2],k)|0}if(e){break a}while(1){if((f|0)!=(h|0)){o=f,p=xb(v[f+28>>2],k)+l|0,v[o+36>>2]=p}f=f+40|0;if(i>>>0>f>>>0){continue}break}break a}while(1){i=c;c=v[c+4>>2];if((h|0)==(c|0)){break a}if(w[c+16|0]&32){continue}d=c;while(1){d=v[d+4>>2];if(!(w[d+16|0]&32)){continue}break}f=v[i+28>>2];g=v[d+28>>2];b:{if((f|0)<=(g|0)){j=g-f|0;g=i;e=d;break b}j=f-g|0;f=g;g=d;e=i}m=v[e+36>>2];g=v[g+36>>2];c:{if((j|0)<1){n=65536;break c}n=Ub(m-g|0,j);c=v[i+4>>2]}while(1){i=c;e=v[c+28>>2]-f|0;d:{if((e|0)<=0){e=xb(e,k)+g|0;break d}if((e|0)>=(j|0)){e=xb(e-j|0,k)+m|0;break d}e=xb(e,n)+g|0}v[i+36>>2]=e;c=v[c+4>>2];if((d|0)!=(c|0)){continue}break}c=d;if((h|0)!=(c|0)){continue}break}}b=b+8|0;a=a-1|0;if(a){continue}break}}}function xM(a){var b=0,c=0,d=0,e=0;b=gb(68);if(!b){return 0}v[b+52>>2]=0;v[b+56>>2]=0;v[b>>2]=0;v[b+4>>2]=0;v[b+60>>2]=0;v[b+64>>2]=-1;v[b+8>>2]=0;v[b+12>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;d=w[a|0];if(d){while(1){e=a;a:{b:{c:{d:{e:{f:{a=d<<24>>24;switch(a-97|0){case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 18:case 19:case 20:case 21:break a;case 0:break b;case 1:break c;case 22:break d;case 17:break e;default:break f}}if((a|0)!=43){break a}c=c|3;break a}c=c|1;break a}c=c|18;break a}c=c|8;break a}c=c|4}a=e+1|0;d=w[e+1|0];if(d){continue}break}}v[b>>2]=c;a=gb(32);if(!a){g:{if(!(w[b+4|0]&8)){break g}a=v[b+12>>2];if(!a){break g}$a(a);v[b+12>>2]=0}$a(b);return 0}t[a+8|0]=0;v[a>>2]=0;v[b+56>>2]=a;v[a+4>>2]=2;if(!v[b+12>>2]){a=gb(8208);v[b+12>>2]=a;h:{if(a){d=8192;e=v[b+4>>2]|8;break h}a=b+32|0;v[b+12>>2]=a;d=1;e=v[b+4>>2]}v[b+28>>2]=0;v[b+20>>2]=d;v[b+52>>2]=1015496;a=a+16|0;v[b+24>>2]=a;v[b+16>>2]=a;v[b+4>>2]=e|2;return b}O(36522,6782,703,188128);L()}function _M(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=Ma+-64|0;Ma=g;f=49811;d=v[b+4>>2];h=x[a+98>>1];e=d>>>0>>0;a:{b:{if(!e){f=50410;if(d>>>0<=h>>>0){break b}}d=v[a>>2];i=v[a+628>>2];j=v[Pe(a,x[b>>1])+16>>2];v[g+20>>2]=v[b+4>>2];v[g+16>>2]=j;v[g+24>>2]=h;Nc(i,d,f,g+16|0);d=0;if(e){break a}d=v[b+4>>2]}f=g+32|0;if(d>>>0>=11){f=Tf(a,d,2,56040);if(!f){d=0;break a}d=v[b+4>>2]}c:{d:{if(d>>>0<=2){if(x[a+456>>1]==19789){e=0;e:{f:{switch(d-1|0){case 0:e=v[b+8>>2];break e;case 1:break f;default:break d}}e=v[b+8>>2];u[f+2>>1]=e}u[f>>1]=e>>>16;e=d;break d}e=0;g:{switch(d-1|0){case 0:u[f>>1]=v[b+8>>2];e=d;break d;case 1:break g;default:break d}}e=v[b+8>>2];u[f+2>>1]=e>>>16;u[f>>1]=e;e=d;break d}d=0;if(!bh(a,b,f)){break c}e=v[b+4>>2]}d=1;i=x[f>>1];h:{h=(e|0)>(h|0)?h:e;if((h|0)<=1){break h}e=1;while(1){if((i|0)==x[(d<<1)+f>>1]){e=e+1|0;d=e&65535;if((h|0)>(d|0)){continue}break h}break}c=v[a>>2];d=v[a+628>>2];k=g,l=v[Pe(a,x[b>>1])+16>>2],v[k>>2]=l;wb(d,c,56434,g);d=0;break c}u[c>>1]=i;d=1}if((g+32|0)==(f|0)){break a}$a(f)}Ma=g- -64|0;return d}function iza(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=Ma-256|0;Ma=d;f=Fg(84);v[a+8>>2]=f;a:{if(f){v[d+24>>2]=v[213879];e=v[213878];v[d+16>>2]=v[213877];v[d+20>>2]=e;e=v[213876];v[d+8>>2]=v[213875];v[d+12>>2]=e;e=v[213874];v[d>>2]=v[213873];v[d+4>>2]=e;v[f>>2]=0;e=d+32|0;g=f,h=Ze(324093,e,d,c),v[g+4>>2]=h;g=f,h=Ze(319512,e,d,c),v[g+8>>2]=h;g=f,h=Ze(317096,e,d,c),v[g+12>>2]=h;g=f,h=Ze(324279,e,d,c),v[g+16>>2]=h;g=f,h=Ze(319881,e,d,c),v[g+20>>2]=h;g=f,h=Ze(318630,e,d,c),v[g+24>>2]=h;g=f,h=Ze(316345,e,d,c),v[g+28>>2]=h;g=f,h=Ze(315686,e,d,c),v[g+32>>2]=h;g=f,h=Ze(315147,e,d,c),v[g+36>>2]=h;g=f,h=Ze(314563,e,d,c),v[g+40>>2]=h;g=f,h=Ze(234110,e,d,c),v[g+44>>2]=h;g=f,h=Ze(315736,e,d,c),v[g+48>>2]=h;g=f,h=Ze(315718,e,d,c),v[g+52>>2]=h;g=f,h=Ze(315772,e,d,c),v[g+56>>2]=h;g=f,h=Ze(315754,e,d,c),v[g+60>>2]=h;g=f,h=Ze(315790,e,d,c),v[g+64>>2]=h;g=f,h=Ze(325770,e,d,c),v[g+68>>2]=h;g=f,h=Ze(314052,e,d,c),v[g+72>>2]=h;g=f,h=Ze(314069,e,d,c),v[g+76>>2]=h;if(!(w[b+8|0]?0:v[c>>2]<=0)){QY(a);break a}v[f+80>>2]=0;break a}v[c>>2]=7}Ma=d+256|0}function Rxa(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,j=0,k=0,l=0;h=Ma-32|0;Ma=h;v[h+28>>2]=0;a:{if(!a|!v[a+8>>2]){break a}j=288686;b:{if((c|0)!=288686){if(!c){break b}i=c;while(1){k=w[i|0];if((k|0)!=w[j|0]){break b}j=j+1|0;i=i+1|0;if(k){continue}break}}if((d|0)==2){break b}k=v[a+100>>2];if(!(v[a+172>>2]==-1?v[a+212>>2]:0)){v[a+84>>2]=540;j=v[a>>2];i=0;c:{if(!j){break c}i=0;if(v[j+108>>2]!=-554844497){break c}i=v[j+124>>2]}j=v[a+108>>2];l=v[a+112>>2];v[h+16>>2]=0;v[h+20>>2]=0;nb(i,l,j,a,0,4,540,2,0,0,0,0,346220,h+16|0)}v[a+100>>2]=k}c=oH(a,c,h+28|0);v[a+144>>2]=1;i=a+108|0;d:{e:{switch(v[a+216>>2]-1|0){case 1:xX(i,v[v[a+8>>2]+48>>2],b,c,v[h+28>>2],d,e,f,g);break d;default:f:{if(v[a+172>>2]==-1?v[a+212>>2]:0){break f}v[a+84>>2]=1;v[h+4>>2]=0;v[h>>2]=c;nb(0,0,0,a,0,1,1,3,c,0,0,0,339212,h);v[a+100>>2]=0;v[a+12>>2]=0;if(v[a+288>>2]){break f}v[a+212>>2]=1}Xj(g);break a;case 0:break e}}xX(i,v[v[a+8>>2]+44>>2],b,c,v[h+28>>2],d,e,f,g)}a=v[h+28>>2];if(a){Qa[v[256556]](a)}if(!c){break a}Qa[v[256556]](c)}Ma=h+32|0}function PKa(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;g=Ma-272|0;Ma=g;e=v[b+4>>2];f=v[b>>2];b=v[a>>2];d=v[a+4>>2];v[g+12>>2]=d<<2;v[g+8>>2]=b<<2;h=e<<2;v[g+4>>2]=h;f=f<<2;v[g>>2]=f;k=v[c+208>>2];v[g+16>>2]=k;a=v[c+212>>2];v[g+20>>2]=a;j=d>>6;a:{b:{l=e>>6;i=v[c+176>>2];c:{d:{if((l|0)<(i|0)){e=a>>8;break d}e=a>>8;if((i|0)>(j|0)){break d}if((e|0)>=(i|0)){break c}}i=v[c+172>>2];if((i|0)<=(l|0)|(i|0)<=(j|0)|(e|0)>=(i|0)){break b}}v[c+212>>2]=h;v[c+208>>2]=f;break a}e=1;d=a+(h-(d<<3)|0)|0;a=d>>31;h=(f-(b<<3)|0)+k|0;b=h>>31;a=a^a+d;b=b^b+h;a=a>>>0>b>>>0?a:b;if(a>>>0>=65){while(1){e=e<<1;b=a>>>0>259;a=a>>>2|0;if(b){continue}break}}a=g;while(1){b=0-e&e;if(b>>>0>=2){while(1){d=v[a+16>>2];v[a+32>>2]=d;h=v[a+20>>2];v[a+36>>2]=h;f=v[a+8>>2];j=f+v[a>>2]|0;v[a+8>>2]=j>>1;d=d+f|0;v[a+24>>2]=d>>1;v[a+16>>2]=d+j>>2;d=v[a+12>>2];f=d+v[a+4>>2]|0;v[a+12>>2]=f>>1;d=d+h|0;v[a+28>>2]=d>>1;v[a+20>>2]=d+f>>2;a=a+16|0;b=b>>1;if(b>>>0>1){continue}break}}oJ(c,v[a>>2],v[a+4>>2]);a=a-16|0;e=e-1|0;if(e){continue}break}}Ma=g+272|0;return 0}function sD(a,b,c,d,e,f,g,h,i,j,k,l){var m=0;m=Ma-16|0;Ma=m;v[m+12>>2]=a;a:{b:{if((a|0)==(f|0)){if(!w[b|0]){break b}a=0;t[b|0]=0;b=v[e>>2];v[e>>2]=b+1;t[b|0]=46;if(w[h+11|0]>>>7|0){b=v[h+4>>2]}else{b=w[h+11|0]}if(!b){break a}b=v[j>>2];if((b-i|0)>159){break a}c=v[k>>2];v[j>>2]=b+4;v[b>>2]=c;break a}if(w[h+11|0]>>>7|0){f=v[h+4>>2]}else{f=w[h+11|0]}if(!(!f|(a|0)!=(g|0))){if(!w[b|0]){break b}a=0;b=v[j>>2];if((b-i|0)>159){break a}a=v[k>>2];v[j>>2]=b+4;v[b>>2]=a;a=0;v[k>>2]=0;break a}a=-1;f=rD(l,l+128|0,m+12|0)-l|0;if((f|0)>124){break a}g=w[(f>>2)+1004032|0];c:{d:{a=f&-5;if((a|0)!=88){if((a|0)!=96){break d}b=v[e>>2];if((b|0)!=(d|0)){a=-1;if((w[b-1|0]&95)!=(w[c|0]&127)){break a}}v[e>>2]=b+1;t[b|0]=g;a=0;break a}t[c|0]=80;break c}a=t[c|0];if((a|0)!=(g&95)){break c}t[c|0]=a|128;if(!w[b|0]){break c}t[b|0]=0;if(w[h+11|0]>>>7|0){a=v[h+4>>2]}else{a=w[h+11|0]}if(!a){break c}a=v[j>>2];if((a-i|0)>159){break c}b=v[k>>2];v[j>>2]=a+4;v[a>>2]=b}a=v[e>>2];v[e>>2]=a+1;t[a|0]=g;a=0;if((f|0)>84){break a}v[k>>2]=v[k>>2]+1;break a}a=-1}Ma=m+16|0;return a}function VM(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;f=Ma-16|0;Ma=f;a:{b:{c:{d:{e:{e=v[a+584>>2];if(e){if(x[a+90>>1]!=32845){break e}if(x[a+138>>1]!=1){wb(v[a+628>>2],84176,28914,0);break a}c=-1;b=v[e>>2];if((b|0)!=-1){break b}b=0;f:{g:{h:{d=x[a+86>>1]|x[a+84>>1]<<3;switch(d-257|0){case 2:break c;case 0:case 1:case 3:break g;default:break h}}b=d-129|0;if(b>>>0<=3){break f}break d}c=2;b=-1;break c}if((b|0)==2){break d}b=1;break c}O(25714,6284,1275,84176);L()}O(27288,6284,1276,84176);L()}i:{switch(d-65|0){case 0:case 3:b=3;break c;default:break i}}b=-1}j:{k:{switch(x[a+98>>1]-1|0){case 2:c=b;break j;case 0:break j;default:break k}}c=-1}v[e>>2]=c;b=c}if(b>>>0>=4){b=0;wb(v[a+628>>2],v[a>>2],29808,0);break a}v[e+8>>2]=v[(b<<2)+84380>>2];b=1;d=e;l:{if(w[a+13|0]&4){g=v[a+68>>2];c=x3a(v[a+72>>2],0,g,0);h=(Pa|0)!=0;break l}g=v[a+56>>2];c=x3a(v[a+100>>2],0,g,0);h=(Pa|0)!=0}c=g?h?0:c:c;v[d+16>>2]=c;d=c<<2;if(c?(c|0)!=(c&1073741823)?0:d:d){c=gb(d);v[e+12>>2]=c;if(c){break a}}b=v[a+628>>2];v[f>>2]=v[a>>2];wb(b,84176,31515,f);b=0}Ma=f+16|0;return b}function SW(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{b:{d=0;c:{if(!b){break c}d=0;if((c|0)<4){break c}d=zq(b,c)}g=d;f=IH(d);if(f){e=DH();if(!e){Yc(0,338351);um(f);return 0}v[e+364>>2]=1;d=Qa[v[256552]](B(v[e+192>>2],12))|0;v[e+344>>2]=d;if(!d){break a}if(a){d=v[e>>2];if((d|0)!=1026628){Qa[v[256556]](d)}d=Qa[v[256552]](128)|0;v[e>>2]=d;if(!d){break a}eb(d,0,128);d=v[e>>2];d:{if(v[a+108>>2]==-554844497){cb(d,a,128);break d}cb(d,a,112)}}v[e+180>>2]=0;a=FH(e);if(!a){break b}v[a+4>>2]=0;v[a>>2]=f;kY(v[f+16>>2],a);e:{f:{f=v[e+40>>2];d=v[e+44>>2];g:{if((f|0)<(d|0)){d=v[e+48>>2];break g}v[e+44>>2]=d<<1;d=Qa[v[256557]](v[e+48>>2],d<<3)|0;v[e+48>>2]=d;if(!d){break f}f=v[e+40>>2]}v[(f<<2)+d>>2]=a;v[e+40>>2]=f+1;v[e+36>>2]=a;break e}Yc(e,0);Vh(a);v[e+44>>2]=v[e+44>>2]/2}h:{if(!(b?c:0)){v[e+256>>2]=0;break h}a=v[e+36>>2];if(!a){break h}f=v[a>>2];if(!f){break h}f=Wv(v[f+16>>2],a);a=v[e+36>>2];d=v[a+12>>2];h=v[a+16>>2];$z(v[a>>2],c,b);a=v[e+36>>2];Vv(v[v[a>>2]+16>>2],a,f,h-d|0)}if(g){xq(e,g)}}return e}fj(e);um(f);return 0}Yc(e,0);um(f);fj(e);return 0}function ef(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;o(+a);c=j(1)|0;d=j(0)|0;c=c&2147483647;d=(c|0)==2146435072&d>>>0<1|c>>>0<2146435072;o(+b);c=j(1)|0;c=c&2147483647;if(!(d&(!(j(0)|0)&(c|0)==2146435072|c>>>0<2146435072))){return a+b}o(+b);d=j(1)|0;h=j(0)|0;e=d;if(!(h|d-1072693248)){return ZP(a)}o(+a);c=j(1)|0;d=j(0)|0;i=e>>>30&2;k=c;c=i|c>>>31;a:{f=d;d=k&2147483647;b:{if(!(f|d)){c:{switch(c-2|0){case 0:return 3.141592653589793;case 1:break c;default:break b}}return-3.141592653589793}e=e&2147483647;if(!(e|h)){break a}d:{if((e|0)==2146435072){if((d|0)!=2146435072){break d}return A[(c<<3)+994432>>3]}if(!((d|0)!=2146435072&d>>>0<=e+67108864>>>0)){break a}e:{if(i){g=0;if(e>>>0>d+67108864>>>0){break e}}g=ZP(D(a/b))}a=g;f:{switch(c|0){case 1:return-a;case 2:return 3.141592653589793-(a+-1.2246467991473532e-16);case 0:break b;default:break f}}return a+-1.2246467991473532e-16+-3.141592653589793}a=A[(c<<3)+994464>>3]}return a}o(1.5707963267948966);c=j(1)|0;f=j(0)|0;o(+a);d=j(1)|0;j(0)|0;l(0,f|0);l(1,c&2147483647|d&-2147483648);return+n()}function yq(a){var b=0,c=0,d=0,e=0;if(a){d=v[a+32>>2];if(d){c=v[d+80>>2]}a:{if(!v[291069]){break a}d=v[291067];if(!d){break a}Qa[d|0](a)}b=v[a+12>>2];if(b){while(1){d=v[b+24>>2];e=v[b+4>>2];if(!(1<>>0<=17:0)){hj(b);Ck(b)}b=d;if(b){continue}break}}e=v[a+8>>2];b:{if(!e){break b}if(c){d=c;while(1){b=v[d+16>>2];if(b){while(1){if(e>>>0<=y[b+4>>2]&e>>>0>=b+20>>>0){break b}b=v[b>>2];if(b){continue}break}}d=v[d+20>>2];if(d){continue}break}}Qa[v[256556]](e)}e=v[a+56>>2];c:{if(!e){break c}if(c){d=c;while(1){b=v[d+16>>2];if(b){while(1){if(e>>>0<=y[b+4>>2]&e>>>0>=b+20>>>0){break c}b=v[b>>2];if(b){continue}break}}d=v[d+20>>2];if(d){continue}break}}Qa[v[256556]](e)}d=v[a+52>>2];d:{if(!d){break d}if(c){while(1){b=v[c+16>>2];if(b){while(1){if(d>>>0<=y[b+4>>2]&d>>>0>=b+20>>>0){break d}b=v[b>>2];if(b){continue}break}}c=v[c+20>>2];if(c){continue}break}}Qa[v[256556]](d)}c=v[a+36>>2];if(c){wl(c,2721)}c=v[a+40>>2];if(c){wl(c,2717)}c=v[a+44>>2];if(c){wl(c,2719)}c=v[a+48>>2];if(c){wl(c,2668)}c=v[a+60>>2];if(c){wl(c,2668)}Qa[v[256556]](a)}}function Exa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(!a){break a}i=v[a+8>>2];f=v[a+52>>2];g=Ma-16|0;Ma=g;c=Qa[v[256552]](60)|0;b:{if(!c){v[g>>2]=228825;nb(0,0,0,0,0,2,2,3,228825,0,0,0,340689,g);c=0;break b}v[c>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c+56>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+4>>2]=8;v[c+8>>2]=874235;if(b){d=b;while(1){e=d;d=d+1|0;if(w[e|0]){continue}break}d=0;h=e-b|0;c:{if((h|0)<0){break c}e=Qa[v[256555]](h+1|0)|0;if(!e){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break c}d=cb(e,b,h);t[h+d|0]=0}v[c+40>>2]=d}if(!v[291069]){break b}b=v[291066];if(!b){break b}Qa[b|0](c)}Ma=g+16|0;if(!c){break a}b=c;v[c+32>>2]=i;d:{if(!v[a+280>>2]){break d}d=v[a+36>>2];if(!d){break d}d=v[d+28>>2];u[b+56>>1]=(d|0)<65535?d:65535}e:{switch(v[a+216>>2]-1|0){case 0:Df(v[v[a+8>>2]+44>>2],b);return;case 1:Df(v[v[a+8>>2]+48>>2],b);return;default:break e}}if(!f){Df(v[a+8>>2],b);return}if(v[f+4>>2]==1){Df(f,b);return}hA(f,b)}}function r8(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=Ma-16|0;Ma=e;d=v[a+584>>2];if(d){a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{if((b|0)<=65536){n:{switch(b-34908|0){case 3:break c;case 2:break d;case 1:break e;case 0:break f;default:break n}}if((b|0)==347){break m}if((b|0)!=530){break b}hx(a,0,0);if(v[d+932>>2]|!v[d+16>>2]|x[a+90>>1]!=6){break g}v[d+932>>2]=1;if(!(v[a+12>>2]>>>10&1)){break i}if(AN(a,0)){break h}break g}switch(b-65537|0){case 2:break j;case 1:break k;case 0:break l;default:break b}}v[v[c>>2]>>2]=v[d+916>>2];v[v[c+4>>2]>>2]=v[d+912>>2];a=1;break a}v[v[c>>2]>>2]=v[d+920>>2];a=1;break a}v[v[c>>2]>>2]=v[d+924>>2];a=1;break a}v[v[c>>2]>>2]=v[d+928>>2];a=1;break a}if(!KN(a,0)){break g}}b=x[d+834>>1];v[e+4>>2]=x[d+836>>1];v[e>>2]=b;Kc(a,530,e);v[a+480>>2]=-1}a=Qa[v[d+892>>2]](a,530,c)|0;break a}v[v[c>>2]>>2]=v[d+936>>2];a=1;break a}v[v[c>>2]>>2]=v[d+940>>2];a=1;break a}v[v[c>>2]>>2]=v[d+944>>2];a=1;break a}v[v[c>>2]>>2]=v[d+948>>2];a=1;break a}a=Qa[v[d+892>>2]](a,b,c)|0}Ma=e+16|0;return a|0}O(29012,7121,1775,88032);L()}function Sp(a){var b=0,c=0,d=0,e=0,f=0,g=0;if(!v[291416]){f=1165664,g=ab(1),v[f>>2]=g}a:{b:{c:{while(1){d=ab(a);v[(c<<2)+1165680>>2]=d;b=v[291417];if(!b){break c}e=c+1|0;while(1){if(v[b>>2]!=(d|0)){b=v[b+4>>2];if(b){continue}break c}break}c=e;if((c|0)!=128){continue}break}c=128;d=ab(a);break b}if(!c){break a}}while(1){a=c-1|0;$a(v[(a<<2)+1165680>>2]);e=(c|0)>1;c=a;if(e){continue}break}}b=v[291415];if(!b){b=ab(92);v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=972720;v[b+16>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+32>>2]=0;jd(b+8|0,972920);v[b+60>>2]=0;v[b+52>>2]=0;v[b+56>>2]=0;v[b+44>>2]=0;v[b+48>>2]=0;v[b+36>>2]=0;v[b+40>>2]=0;jd(b+36|0,972920);v[b+88>>2]=0;v[b+80>>2]=0;v[b+84>>2]=0;v[b+72>>2]=0;v[b+76>>2]=0;v[b+64>>2]=0;v[b+68>>2]=0;jd(b- -64|0,972940);v[291415]=b}a=b+36|0;c=a;b=v[v[c+12>>2]+((d>>>0)%y[c+8>>2]<<2)>>2];d:{if(b){while(1){if(v[b+12>>2]==(d|0)&v[b+16>>2]==(d|0)){break d}b=v[b+8>>2];if(b){continue}break}}b=ab(24);v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+16>>2]=d;v[b+12>>2]=d;v[b+8>>2]=0;bj(a,b)}v[b+20>>2]=0;return d}function LZ(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{b:{b=v[a+24>>2];if(b>>>0>65534){break b}i=v[a>>2];l=v[i+508>>2]+v[i+512>>2]|0;c=v[a+40>>2];b=b+1|0;b=b>>>0>>0?c:b;while(1){g=v[a+44>>2];c:{if(g>>>0>>0){break c}f=v[a+48>>2];d:{e=v[a+52>>2];if(!e){j=v[i+16>>2];c=f+g|0;if((c|0)<=-1){while(1){d=b+f&65535;if(j>>>0<=d>>>0){break c}if(d){break a}b=b+1|0;if(g>>>0>=b>>>0){continue}break c}}e=0-f|0;if((c|0)<=65535){break d}h=65536-f|0;while(1){k=b+f|0;d=k&65535;e:{if(j>>>0<=d>>>0){c=e;if((k|0)<0){break e}c=h;if((k|0)<65536){break e}break c}c=b;if(d){break a}}b=c+1|0;if(g>>>0>=b>>>0){continue}break}break c}c=e+(b-c<<1)|0;if(l>>>0>>0){break c}while(1){e=w[c+1|0]|w[c|0]<<8;if(e){d=f+e&65535;if(d){break a}}c=c+2|0;b=b+1|0;if(g>>>0>=b>>>0){continue}break}break c}while(1){h=b+f|0;d=h&65535;f:{if(j>>>0<=d>>>0){c=e;if((h|0)<0){break f}break c}c=b;if(d){break a}}b=c+1|0;if(g>>>0>=b>>>0){continue}break}}d=0;if((GZ(a,v[a+36>>2]+1|0)|0)<0){break b}c=v[a+40>>2];b=b>>>0>>0?c:b;continue}}b=-1}v[a+28>>2]=d;v[a+24>>2]=b}function zS(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;f=Ma-528|0;Ma=f;e=v[a+200>>2];if(e&1){a:{if(e&4){Db(a,63662);uc(a,c);break a}if(!(e&2)){Db(a,63979);uc(a,c);break a}if(!(!b|!(w[b+8|0]&64))){Db(a,64136);uc(a,c);break a}if(!(x[a+392>>1]<<1==(c|0)&c>>>0<=512)){Db(a,64354);uc(a,c);break a}if(c>>>0>=2){c=c>>>1|0;e=c>>>0>1?c:1;c=0;while(1){d=f+14|0;Ye(a,d,2);gc(a,d,2);d=w[f+14|0]|w[f+15|0]<<8;u[(f+16|0)+(c<<1)>>1]=d<<8|d>>>8;c=c+1|0;if((e|0)!=(c|0)){continue}break}}if(uc(a,0)){break a}e=f+16|0;b:{if(!a|!b){break b}if((x[b+20>>1]-1&65535)>>>0>=256){Db(a,34887);break b}ro(a,b,8,0);c=jf(a,512);v[a+596>>2]=c;if(c){d=x[b+20>>1];c:{if(!d){break c}h=d&3;a=0;if(d-1>>>0>=3){i=d&65532;while(1){d=a<<1;u[d+c>>1]=x[d+e>>1];g=d|2;u[g+c>>1]=x[e+g>>1];g=d|4;u[g+c>>1]=x[e+g>>1];d=d|6;u[d+c>>1]=x[d+e>>1];a=a+4|0;i=i-4|0;if(i){continue}break}}if(!h){break c}while(1){d=a<<1;u[d+c>>1]=x[d+e>>1];a=a+1|0;h=h-1|0;if(h){continue}break}}v[b+124>>2]=c;v[b+8>>2]=v[b+8>>2]|64;v[b+184>>2]=v[b+184>>2]|8;break b}Db(a,36425)}}Ma=f+528|0;return}dc(a,63502);L()}function vD(a,b,c,d,e,f,g,h,i,j,k,l){var m=0;m=Ma-16|0;Ma=m;t[m+15|0]=a;a:{b:{if((a|0)==(f|0)){if(!w[b|0]){break b}a=0;t[b|0]=0;b=v[e>>2];v[e>>2]=b+1;t[b|0]=46;if(w[h+11|0]>>>7|0){b=v[h+4>>2]}else{b=w[h+11|0]}if(!b){break a}b=v[j>>2];if((b-i|0)>159){break a}c=v[k>>2];v[j>>2]=b+4;v[b>>2]=c;break a}if(w[h+11|0]>>>7|0){f=v[h+4>>2]}else{f=w[h+11|0]}if(!(!f|(a|0)!=(g|0))){if(!w[b|0]){break b}a=0;b=v[j>>2];if((b-i|0)>159){break a}a=v[k>>2];v[j>>2]=b+4;v[b>>2]=a;a=0;v[k>>2]=0;break a}a=-1;f=uD(l,l+32|0,m+15|0)-l|0;if((f|0)>31){break a}g=w[f+1004032|0];c:{d:{switch((f&-2)-22|0){case 2:b=v[e>>2];if((b|0)!=(d|0)&(w[b-1|0]&95)!=(w[c|0]&127)){break a}v[e>>2]=b+1;t[b|0]=g;a=0;break a;case 0:t[c|0]=80;break c;default:break d}}a=t[c|0];if((a|0)!=(g&95)){break c}t[c|0]=a|128;if(!w[b|0]){break c}t[b|0]=0;if(w[h+11|0]>>>7|0){a=v[h+4>>2]}else{a=w[h+11|0]}if(!a){break c}a=v[j>>2];if((a-i|0)>159){break c}b=v[k>>2];v[j>>2]=a+4;v[a>>2]=b}a=v[e>>2];v[e>>2]=a+1;t[a|0]=g;a=0;if((f|0)>21){break a}v[k>>2]=v[k>>2]+1;break a}a=-1}Ma=m+16|0;return a}function ZN(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0;k=Ma-16|0;Ma=k;a:{if(a){a=cO(c);b:{if(b){Qa[v[v[a>>2]+44>>2]](k,a);b=v[k>>2];t[d|0]=b;t[d+1|0]=b>>>8;t[d+2|0]=b>>>16;t[d+3|0]=b>>>24;Qa[v[v[a>>2]+32>>2]](k,a);break b}Qa[v[v[a>>2]+40>>2]](k,a);b=v[k>>2];t[d|0]=b;t[d+1|0]=b>>>8;t[d+2|0]=b>>>16;t[d+3|0]=b>>>24;Qa[v[v[a>>2]+28>>2]](k,a)}Ul(i,k);Vb(k);l=e,m=Qa[v[v[a>>2]+12>>2]](a)|0,v[l>>2]=m;l=f,m=Qa[v[v[a>>2]+16>>2]](a)|0,v[l>>2]=m;Qa[v[v[a>>2]+20>>2]](k,a);Kh(g,k);Vb(k);Qa[v[v[a>>2]+24>>2]](k,a);Ul(h,k);Vb(k);a=Qa[v[v[a>>2]+36>>2]](a)|0;break a}a=bO(c);c:{if(b){Qa[v[v[a>>2]+44>>2]](k,a);b=v[k>>2];t[d|0]=b;t[d+1|0]=b>>>8;t[d+2|0]=b>>>16;t[d+3|0]=b>>>24;Qa[v[v[a>>2]+32>>2]](k,a);break c}Qa[v[v[a>>2]+40>>2]](k,a);b=v[k>>2];t[d|0]=b;t[d+1|0]=b>>>8;t[d+2|0]=b>>>16;t[d+3|0]=b>>>24;Qa[v[v[a>>2]+28>>2]](k,a)}Ul(i,k);Vb(k);l=e,m=Qa[v[v[a>>2]+12>>2]](a)|0,v[l>>2]=m;l=f,m=Qa[v[v[a>>2]+16>>2]](a)|0,v[l>>2]=m;Qa[v[v[a>>2]+20>>2]](k,a);Kh(g,k);Vb(k);Qa[v[v[a>>2]+24>>2]](k,a);Ul(h,k);Vb(k);a=Qa[v[v[a>>2]+36>>2]](a)|0}v[j>>2]=a;Ma=k+16|0}function Tn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;c=v[a>>2];if(c){$a(c);v[a>>2]=0}a:{b:{c:{d:{c=v[b>>2];switch(c|0){case 1:break c;case 0:break d;default:break b}}v[a+4>>2]=2;b=a;a=gb(16);v[b>>2]=a;if(!a){return-1}v[a+8>>2]=0;v[a+12>>2]=1072693248;v[a>>2]=0;v[a+4>>2]=0;return 0}v[a+4>>2]=256;c=gb(2048);v[a>>2]=c;if(!c){return-1}d=v[a+4>>2];if((d|0)<1){return 0}h=+y[v[b+4>>2]>>2]*.00390625;e=+(d-1|0);a=0;if((d|0)!=1){b=d&-2;while(1){g=+(a|0)/e;j=c+(a<<3)|0,k=(l=0,m=pd(g,h),n=g==0,n?l:m),A[j>>3]=k;f=a|1;g=+(f|0)/e;j=c+(f<<3)|0,k=(l=0,m=pd(g,h),n=g==0,n?l:m),A[j>>3]=k;a=a+2|0;b=b-2|0;if(b){continue}break}}if(!(d&1)){break a}e=+(a|0)/e;j=c+(a<<3)|0,k=(l=0,m=pd(e,h),n=e==0,n?l:m),A[j>>3]=k;return 0}v[a+4>>2]=c;c=gb(c<<3);v[a>>2]=c;if(!c){return-1}d=v[a+4>>2];if((d|0)<1){return 0}b=v[b+4>>2];a=0;if((d|0)!=1){f=d&-2;while(1){A[c+(a<<3)>>3]=+y[b+(a<<2)>>2]/65535;i=a|1;A[c+(i<<3)>>3]=+y[b+(i<<2)>>2]/65535;a=a+2|0;f=f-2|0;if(f){continue}break}}if(!(d&1)){break a}A[c+(a<<3)>>3]=+y[b+(a<<2)>>2]/65535}return 0}function BCa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(!(!w[a+24|0]|v[a+28>>2]!=v[b>>2])){HZ(a);if(!w[a+24|0]){return 0}g=v[a+32>>2];v[b>>2]=v[a+28>>2];return g|0}j=b;c=v[a+16>>2];b=w[c+12|0]|w[c+13|0]<<8|(w[c+14|0]<<16|w[c+15|0]<<24);i=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);a:{if(!i){break a}b=v[j>>2];if((b|0)==-1){break a}d=a;h=b+1|0;g=c+20|0;a=i;b:{c:{while(1){c=a+k>>>1|0;b=B(c,12)+g|0;f=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);e=b-4|0;e=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24);if((e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))>>>0<=h>>>0){if(f>>>0>=h>>>0){break c}k=c+1|0}else{a=c}if(a>>>0>k>>>0){continue}break}a=0;break b}a=w[b+4|0]|w[b+5|0]<<8|(w[b+6|0]<<16|w[b+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}b=v[d>>2];if(f>>>0>>0){g=0;c=c+1|0;if((i|0)==(c|0)){break a}}t[d+24|0]=1;v[d+36>>2]=c;v[d+28>>2]=h;d:{if(!(a>>>0>2]?a:0)){HZ(d);a=0;if(!w[d+24|0]){break d}a=v[d+32>>2];break d}v[d+32>>2]=a}g=a;v[j>>2]=v[d+28>>2]}return g|0}function aO(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0;k=Ma-16|0;Ma=k;a:{if(a){a=iO(c);b:{if(b){Qa[v[v[a>>2]+44>>2]](k,a);b=v[k>>2];t[d|0]=b;t[d+1|0]=b>>>8;t[d+2|0]=b>>>16;t[d+3|0]=b>>>24;Qa[v[v[a>>2]+32>>2]](k,a);break b}Qa[v[v[a>>2]+40>>2]](k,a);b=v[k>>2];t[d|0]=b;t[d+1|0]=b>>>8;t[d+2|0]=b>>>16;t[d+3|0]=b>>>24;Qa[v[v[a>>2]+28>>2]](k,a)}Kh(i,k);Vb(k);l=e,m=Qa[v[v[a>>2]+12>>2]](a)|0,t[l|0]=m;l=f,m=Qa[v[v[a>>2]+16>>2]](a)|0,t[l|0]=m;Qa[v[v[a>>2]+20>>2]](k,a);Kh(g,k);Vb(k);Qa[v[v[a>>2]+24>>2]](k,a);Kh(h,k);Vb(k);a=Qa[v[v[a>>2]+36>>2]](a)|0;break a}a=hO(c);c:{if(b){Qa[v[v[a>>2]+44>>2]](k,a);b=v[k>>2];t[d|0]=b;t[d+1|0]=b>>>8;t[d+2|0]=b>>>16;t[d+3|0]=b>>>24;Qa[v[v[a>>2]+32>>2]](k,a);break c}Qa[v[v[a>>2]+40>>2]](k,a);b=v[k>>2];t[d|0]=b;t[d+1|0]=b>>>8;t[d+2|0]=b>>>16;t[d+3|0]=b>>>24;Qa[v[v[a>>2]+28>>2]](k,a)}Kh(i,k);Vb(k);l=e,m=Qa[v[v[a>>2]+12>>2]](a)|0,t[l|0]=m;l=f,m=Qa[v[v[a>>2]+16>>2]](a)|0,t[l|0]=m;Qa[v[v[a>>2]+20>>2]](k,a);Kh(g,k);Vb(k);Qa[v[v[a>>2]+24>>2]](k,a);Kh(h,k);Vb(k);a=Qa[v[v[a>>2]+36>>2]](a)|0}v[j>>2]=a;Ma=k+16|0}function ds(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=Ma-32|0;Ma=f;h=a+108|0;while(1){v[f+24>>2]=0;d=0;g=v[a+116>>2];if(g){while(1){d=f;e=v[g+8>>2];if(e){v[e+4>>2]=v[e+4>>2]+1;e=v[g+8>>2]}else{e=0}v[d+16>>2]=e;a:{if(!(v[e+20>>2]!=(b|0)|v[e+24>>2]!=(c|0))){jb(f+24|0,f+16|0);v[f+12>>2]=h;v[f+8>>2]=g;Ag(h,f+8|0);e=v[f+16>>2];v[f+16>>2]=0;if(!e){break a}d=v[e+4>>2]-1|0;v[e+4>>2]=d;if(d){break a}d=v[e+4>>2];if(!d){v[e+4>>2]=-32767}if(!d){Qa[v[v[e>>2]+4>>2]](e)}break a}g=v[g>>2];v[f+16>>2]=0;d=v[e+4>>2]-1|0;v[e+4>>2]=d;if(!d){d=v[e+4>>2];if(!d){v[e+4>>2]=-32767}if(!d){Qa[v[v[e>>2]+4>>2]](e)}}if(g){continue}}break}d=v[f+24>>2]}if(d){if(v[d+8>>2]!=1){v[d+8>>2]=1}e=v[f+24>>2];v[f+24>>2]=0;if(!e){continue}d=v[e+4>>2]-1|0;v[e+4>>2]=d;if(d){continue}d=v[e+4>>2];if(!d){v[e+4>>2]=-32767}if(!d){Qa[v[v[e>>2]+4>>2]](e)}continue}break}d=v[a+16>>2];b:{if(!d){break b}v[d+4>>2]=v[d+4>>2]+1;d=v[a+16>>2];if(!d){break b}ds(d,b,c);a=v[d+4>>2]-1|0;v[d+4>>2]=a;if(a){break b}a=v[d+4>>2];if(!a){v[d+4>>2]=-32767}if(!a){Qa[v[v[d>>2]+4>>2]](d)}}Ma=f+32|0}function oc(a){var b=0,c=0,d=0;d=Ma-32|0;Ma=d;b=v[a+36>>2];c=v[b+16>>2];a:{b:{if(c-v[b+12>>2]>>>0<10000001&v[b+20>>2]-c>>>0<=1e7){break b}c=v[b>>2];if(w[a+362|0]&8|(!c|v[c+4>>2]==2674)){break b}if(!(v[a+172>>2]==-1?v[a+212>>2]:0)){v[a+84>>2]=1;v[d+20>>2]=240525;v[d+16>>2]=238031;nb(0,0,0,a,0,1,1,3,240525,0,0,0,340574,d+16|0);v[a+12>>2]=0}v[a+212>>2]=1;v[a+172>>2]=-1;b=v[a+36>>2];if(!b){break a}c=v[b+40>>2];if(c){Qa[c|0](v[b+12>>2]);b=v[a+36>>2];v[b+40>>2]=0}v[b+12>>2]=349015;v[b+16>>2]=349015;break a}Zb(b);b=v[a+36>>2];c=v[b+16>>2];if(!(c>>>0<=y[b+20>>2]&c>>>0>=y[b+12>>2])){v[a+212>>2]=1;v[a+172>>2]=-1;c=v[b+40>>2];c:{d:{if(!c){v[b+12>>2]=349015;v[b+16>>2]=349015;break d}Qa[c|0](v[b+12>>2]);b=v[a+36>>2];v[b+40>>2]=0;c=v[a+212>>2];v[b+12>>2]=349015;v[b+16>>2]=349015;if(!c){break c}}if(v[a+172>>2]==-1){break a}}v[a+84>>2]=1;v[d+4>>2]=287273;v[d>>2]=238031;nb(0,0,0,a,0,1,1,3,287273,0,0,0,340574,d);v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1;break a}if(w[c|0]|!c){break a}if((Zb(b)|0)>0){break a}xc(a)}Ma=d+32|0}function PVa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=Ma-16|0;Ma=d;v[d+12>>2]=0;a:{b:{c:{d:{e:{if(!w[b+40|0]){f=b+60|0;i=b+52|0;c=b+32|0;h=v[a+428>>2]+8|0;j=v[b+52>>2];k=v[b+44>>2];e=v[b+32>>2];break e}c=eL(a,v[b+64>>2],v[b+60>>2],d+12|0,d+8|0,d+4|0);if(c){break c}f=b+60|0;i=b+52|0;c=b+32|0;h=v[a+428>>2]+8|0;j=v[b+52>>2];k=v[b+44>>2];e=v[b+32>>2];g=d+4|0;if(w[b+40|0]){break d}}g=f}g=(v[g>>2]+((e+k|0)+j|0)|0)+5|0;if(g>>>0>y[a+424>>2]){h=Qa[v[a+152>>2]](g)|0;if(!h){break b}e=v[c>>2]}c=h;if(e){c=cb(h,v[b+36>>2],e)+v[b+32>>2]|0}t[c|0]=0;t[c+1|0]=w[b+40|0];t[c+2|0]=w[b+41|0];c=c+3|0;e=v[b+44>>2];if(e){c=cb(c,v[b+48>>2],e)+v[b+44>>2]|0}t[c|0]=0;c=c+1|0;e=v[i>>2];if(e){c=cb(c,v[b+56>>2],e)+v[b+52>>2]|0}t[c|0]=0;c=c+1|0;f:{if(w[b+40|0]){f=v[d+4>>2];if(!f){break f}cb(c,v[d+12>>2],f);break f}f=v[f>>2];if(!f){break f}cb(c,v[b+64>>2],f)}c=hd(a,v[b>>2],g,h);if(g>>>0<=y[a+424>>2]){break c}Qa[v[a+156>>2]](h,g)}b=v[d+12>>2];if(!b){break a}Qa[v[a+156>>2]](b,v[d+8>>2]);break a}c=1;ob(a,1,0,0)}Ma=d+16|0;return c|0}function Ob(a,b){var c=0,d=0,e=0;c=(a|0)==(b|0);t[b+12|0]=c;a:{if(c){break a}while(1){d=v[b+8>>2];if(w[d+12|0]){break a}b:{c=v[d+8>>2];e=v[c>>2];c:{if((d|0)==(e|0)){e=v[c+4>>2];if(!(!e|w[e+12|0])){break b}d:{if(v[d>>2]==(b|0)){b=d;break d}b=v[d+4>>2];e=v[b>>2];v[d+4>>2]=e;a=b;if(e){v[e+8>>2]=d;c=v[d+8>>2]}v[a+8>>2]=c;a=v[d+8>>2];v[(((d|0)!=v[a>>2])<<2)+a>>2]=b;v[b>>2]=d;v[d+8>>2]=b;c=v[b+8>>2]}t[b+12|0]=1;t[c+12|0]=0;a=v[c>>2];b=v[a+4>>2];v[c>>2]=b;if(b){v[b+8>>2]=c}v[a+8>>2]=v[c+8>>2];b=v[c+8>>2];v[((v[b>>2]!=(c|0))<<2)+b>>2]=a;v[a+4>>2]=c;b=c+8|0;break c}if(!(w[e+12|0]|!e)){break b}e:{if(v[d>>2]!=(b|0)){b=d;break e}e=v[b+4>>2];v[d>>2]=e;a=b;if(e){v[e+8>>2]=d;c=v[d+8>>2]}v[a+8>>2]=c;a=v[d+8>>2];v[(((d|0)!=v[a>>2])<<2)+a>>2]=b;v[b+4>>2]=d;v[d+8>>2]=b;c=v[b+8>>2]}t[b+12|0]=1;t[c+12|0]=0;a=v[c+4>>2];b=v[a>>2];v[c+4>>2]=b;if(b){v[b+8>>2]=c}v[a+8>>2]=v[c+8>>2];b=v[c+8>>2];v[((v[b>>2]!=(c|0))<<2)+b>>2]=a;v[a>>2]=c;b=c+8|0}v[b>>2]=a;break a}t[d+12|0]=1;d=(a|0)==(c|0);t[c+12|0]=d;t[e+12|0]=1;b=c;if(!d){continue}break}}}function w_(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;f=Ma-16|0;Ma=f;d=3;e=v[b+188>>2];a:{if(!e){break a}h=v[b+192>>2];while(1){if(v[h+(g<<4)>>2]==(c|0)){d=83;e=v[(h+(g<<4)|0)+12>>2];c=v[a+8>>2];if(e>>>0>>0){break a}if(re(a,e-c|0)){break a}v[f+12>>2]=0;g=xi(a,f+12|0);d=v[f+12>>2];if(d){break a}h=g&-256;if((h|256)==256){d=b+196|0;c=f;e=g&4;b:{if(e){d=Dd(a,454784,d);break b}d=Dd(a,454848,d)}v[c+12>>2]=d;if(d){break a}d=v[b+204>>2];c=d>>31;if((c^c+d)>=32768){v[b+204>>2]=(d|0)<0?-32767:32767}d=v[b+208>>2];c=d>>31;if((c^c+d)>=32768){v[b+208>>2]=(d|0)<0?-32767:32767}i=b+216|0;d=Dd(a,e?454912:454944,i);v[f+12>>2]=d;if(d){break a}c=g&255;e=b+232|0;d=WI(a,c,e);v[f+12>>2]=d;if(d){break a}d=b+248|0;if((h|0)==256){d=WI(a,c,d);v[f+12>>2]=d;if(d){break a}d=WI(a,c,b+264|0);break a}a=v[i+4>>2];v[d>>2]=v[i>>2];v[d+4>>2]=a;a=v[i+12>>2];v[d+8>>2]=v[i+8>>2];v[d+12>>2]=a;a=v[e+12>>2];v[b+272>>2]=v[e+8>>2];v[b+276>>2]=a;a=v[e+4>>2];v[b+264>>2]=v[e>>2];v[b+268>>2]=a}d=0;break a}g=g+1|0;if((e|0)!=(g|0)){continue}break}}Ma=f+16|0;return d}function vja(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=Ma-80|0;Ma=e;vk(v[a+108>>2]);a:{b:{c:{if(w[a+136|0]){f=v[b+4>>2];g=v[279242];d:{if(!(w[g|0]?g:0)){d=-1;if(!f){break d}d=w[f|0]?1:-1;break d}d=-1;if(!(!f|!w[f|0])){d=wP(f,348278);e:{if(d){h=d-g|0;d=d-f|0;break e}d=zb(f);h=zb(g)}if((d|0)==(h|0)){d=Kb(f,g,d);break d}d=hb(f,g)}}if(!d){break c}}if(c){break a}c=Mf();d=a;a=v[b+4>>2];a=Oc(e+16|0,a?a:246203);Qa[v[v[c>>2]+20>>2]](c,d,a)|0;db(a);break b}d=ze(e+16|0,a+72|0);Sf(e+8|0,d);f=Oc(e+56|0,348863);g=v[d+8>>2];ic(e,f,v[(g?g+12|0:1117e3)>>2]);db(f);if(c){a=v[e>>2];a=v[(a?a+12|0:1117e3)>>2];f:{if(a){mb(e+56|0,a,v[b+8>>2],v[b+16>>2],v[b+12>>2]);break f}DE(e+56|0,b)}lb(e+56|0);L()}b=Mf();Qa[v[v[b>>2]+20>>2]](b,a,e)|0;db(e);db(e+8|0);v[d+24>>2]=969432;v[d>>2]=969400;a=v[d+28>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Qa[v[v[a>>2]+4>>2]](a)}v[d+28>>2]=0}v[d+16>>2]=969432;a=v[d+20>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Qa[v[v[a>>2]+4>>2]](a)}v[d+20>>2]=0}db(d+8|0)}Ma=e+80|0;return}lb(DE(e+16|0,b));L()}function jba(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;a=c;while(1){a:{if(e>>>0<=i>>>0|a>>>0>=d>>>0){break a}g=t[a|0];b=g&255;b:{if((g|0)>=0){g=1;if(b>>>0<=1114111){break b}break a}if(b>>>0<194){break a}if(b>>>0<=223){if((d-a|0)<2){break a}f=w[a+1|0];if((f&192)!=128){break a}g=2;if((f&63|b<<6&1984)>>>0<=1114111){break b}break a}c:{d:{if(b>>>0<=239){if((d-a|0)<3){break a}h=w[a+2|0];f=w[a+1|0];if((b|0)==237){break d}if((b|0)==224){if((f&224)==160){break c}break a}if((f&192)!=128){break a}break c}if((d-a|0)<4|b>>>0>244){break a}h=w[a+2|0];f=w[a+1|0];e:{f:{switch(b-240|0){case 0:if((f+112&255)>>>0<48){break e}break a;case 4:if((f&240)==128){break e}break a;default:break f}}if((f&192)!=128){break a}}if((h&192)!=128){break a}j=w[a+3|0];if((j&192)!=128){break a}g=4;if((j&63|(h<<6&4032|(b<<18&1835008|(f&63)<<12)))>>>0>1114111){break a}break b}if((f&224)!=128){break a}}if((h&192)!=128){break a}g=3;if((h&63|(b<<12&61440|(f&63)<<6))>>>0>1114111){break a}}i=i+1|0;a=a+g|0;continue}break}return a-c|0}function SL(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=v[a+48>>2];if(e){if(v[a+44>>2]){while(1){f=v[e+4>>2];if(f){h=0;b=v[e>>2];if(b){while(1){g=v[f+56>>2];if(g){i=0;if(v[f+52>>2]){while(1){d=v[g>>2];if(d){j=0;l=v[g+32>>2];if(v[l+32>>2]){while(1){b=v[d+28>>2];if(b){k=0;if(v[d+24>>2]){while(1){c=v[b+4>>2];if(c){$a(c)}c=v[b+20>>2];if(c){ne(c)}c=v[b+24>>2];if(c){Pt(c)}c=v[b+28>>2];if(c){ve(c)}c=v[b+32>>2];if(c){ve(c)}b=b+60|0;k=k+1|0;if(k>>>0>2]){continue}break}b=v[d+28>>2]}$a(b)}b=v[d+32>>2];if(b){bi(b)}b=v[d+36>>2];if(b){bi(b)}b=v[d+44>>2];if(b){bi(b)}b=v[d+48>>2];if(b){bi(b)}d=d+52|0;j=j+1|0;if(j>>>0>2]){continue}break}d=v[g>>2]}$a(d)}b=v[g+4>>2];if(b){ve(b)}g=g+36|0;i=i+1|0;if(i>>>0>2]){continue}break}g=v[f+56>>2]}$a(g);b=v[e>>2]}f=f- -64|0;h=h+1|0;if(h>>>0>>0){continue}break}f=v[e+4>>2]}$a(f)}b=v[e+8>>2];if(b){ve(b)}b=v[e+20>>2];if(b){$a(b)}e=e+716|0;m=m+1|0;if(m>>>0>2]){continue}break}e=v[a+48>>2]}$a(e)}b=v[a+40>>2];if(b){$a(b)}b=v[a+32>>2];if(b){rC(b)}$a(a)}function Gx(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;g=Ma-32|0;Ma=g;e=d&2147483647;h=e;f=e-1006698496|0;e=e-1140785152|0;i=c;a:{if((f|0)==(e|0)&c>>>0>c>>>0|e>>>0>f>>>0){e=d<<4|c>>>28;c=c<<4|b>>>28;b=b&268435455;h=b;if((b|0)==134217728&a>>>0>=1|b>>>0>134217728){e=e+1073741824|0;a=c+1|0;e=a>>>0<1?e+1|0:e;f=a;break a}f=c;e=e+1073741824|0;if(a|h^134217728){break a}b=c&1;a=b+f|0;e=a>>>0>>0?e+1|0:e;f=a;break a}if(!(!i&(h|0)==2147418112?!(a|b):h>>>0<2147418112)){f=c;c=d<<4|c>>>28;f=f<<4|b>>>28;e=c&524287|2146959360;break a}f=0;e=2146435072;if(h>>>0>1140785151){break a}e=0;h=h>>>16|0;if(h>>>0<15249){break a}e=d&65535|65536;Oh(g+16|0,a,b,c,e,h-15233|0);Dp(g,a,b,c,e,15361-h|0);e=v[g+4>>2];h=e;a=v[g+8>>2];c=v[g+12>>2]<<4|a>>>28;f=a<<4|e>>>28;e=c;a=h&268435455;c=a;b=v[g>>2]|((v[g+16>>2]|v[g+24>>2])!=0|(v[g+20>>2]|v[g+28>>2])!=0);if((a|0)==134217728&b>>>0>=1|a>>>0>134217728){a=f+1|0;e=a>>>0<1?e+1|0:e;f=a;break a}if(b|c^134217728){break a}a=f+(f&1)|0;e=a>>>0>>0?e+1|0:e;f=a}Ma=g+32|0;l(0,f|0);l(1,d&-2147483648|e);return+n()}function $za(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=Ma-16|0;Ma=h;a:{b:{c:{if(v[b>>2]<=0){i=v[a+12>>2];j=v[a+8>>2];if(i>>>0<=j>>>0){break a}e=j;d:{e:{while(1){if(y[a+20>>2]>y[a+16>>2]){c=v[a+4>>2];f=w[c+36|0];f:{if(f){g=h+13|0;k=c+37|0;c=f<<24>>24;cb(g,k,c);k=c+g|0;d=3-c|0;c=i-e|0;d=c>>>0>d>>>0?d:c;c=cb(k,e,d);v[a+12>>2]=c+d;v[a+8>>2]=g;g=UY(a,b);v[a+12>>2]=i;v[a+8>>2]=(v[a+8>>2]-c|0)+e;f=d+f|0;c=v[a+4>>2];if(v[b>>2]==11){t[c+36|0]=f;cb(c+37|0,h+13|0,f<<24>>24);v[a+8>>2]=v[a+12>>2];e=0;break b}t[c+36|0]=0;c=h+13|0;break f}g=UY(a,b);f=v[a+8>>2]-e|0;c=e}if(v[b>>2]>0){break d}d=g&65535;if(d>>>0>65533){break e}d=v[a+16>>2];v[a+16>>2]=d+2;u[d>>1]=g;d=v[a+24>>2];if(d){v[a+24>>2]=d+4;v[d>>2]=e-j}if(v[b>>2]>0){break d}e=v[a+8>>2];i=v[a+12>>2];if(e>>>0>>0){continue}break a}break}e=15;if(y[a+20>>2]<=y[a+16>>2]){break b}break a}v[b>>2]=(d|0)==65534?10:12}a=v[a+4>>2];t[a+36|0]=f;if(f<<24>>24<1){break c}cb(a+37|0,c,f&255);break c}t[v[a+4>>2]+36|0]=0}e=0;if(v[b>>2]!=11){break a}}v[b>>2]=e}Ma=h+16|0}function qi(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Ma-32|0;Ma=f;a:{b:{c=x[a+8>>1];if(!c){break b}d=x[a+10>>1];if(!d){break b}e=d;d=x[a+12>>1];e=e+d|0;u[a+14>>1]=e;if(!b){break a}if(!v[a+24>>2]){Sc(a+28|0,d+B(c,e&65535)|0,1);v[a+20>>2]=v[a+24>>2]}Rh(a+28|0,1,0);c=f+8|0;IE(c,x[a+12>>1]+x[a+14>>1]|0);jb(a+68|0,c);c=v[f+8>>2];v[f+8>>2]=0;c:{if(!c){break c}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break c}d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}}c=x[a+8>>1];if(c){g=c-1|0;h=(v[a+24>>2]+x[a+12>>1]|0)+B(g,x[a+14>>1])|0;c=0;while(1){e=w[b|0];if(e>>>0<192){b=b+1|0}else{e=w[b+1|0]|e<<8&16128;b=b+2|0}d:{e:{d=c+e|0;i=x[a+10>>1];if((d|0)<=(i|0)){if(e>>>0>=1){break e}d=c;break d}lb(mb(f+8|0,319906,241375,1306,332046));L()}eb(c+h|0,j,e);i=x[a+10>>1]}f:{if((d|0)<(i|0)){j=1-j|0;break f}g=g-1|0;h=h-x[a+14>>1]|0;j=0;d=0}c=d;if((g|0)>-1){continue}break}}Sc(a+40|0,0,1);Sc(a+52|0,0,4);v[a+60>>2]=0;Bu(a);Ma=f+32|0;return}lb(mb(f+8|0,231538,241375,1283,332046));L()}lb(mb(f+8|0,271654,241375,1286,332046));L()}function Sk(a,b){a=a|0;b=b|0;var c=0;a:{b:{if(!b){b=w[1716]|w[1717]<<8;t[a+88|0]=b;t[a+89|0]=b>>>8;b=w[1712]|w[1713]<<8|(w[1714]<<16|w[1715]<<24);c=w[1708]|w[1709]<<8|(w[1710]<<16|w[1711]<<24);t[a+80|0]=c;t[a+81|0]=c>>>8;t[a+82|0]=c>>>16;t[a+83|0]=c>>>24;t[a+84|0]=b;t[a+85|0]=b>>>8;t[a+86|0]=b>>>16;t[a+87|0]=b>>>24;b=w[1704]|w[1705]<<8|(w[1706]<<16|w[1707]<<24);c=w[1700]|w[1701]<<8|(w[1702]<<16|w[1703]<<24);t[a+72|0]=c;t[a+73|0]=c>>>8;t[a+74|0]=c>>>16;t[a+75|0]=c>>>24;t[a+76|0]=b;t[a+77|0]=b>>>8;t[a+78|0]=b>>>16;t[a+79|0]=b>>>24;break b}b=0;if(v[a+4>>2]){break a}b=w[8288]|w[8289]<<8|(w[8290]<<16|w[8291]<<24);c=w[8284]|w[8285]<<8|(w[8286]<<16|w[8287]<<24);t[a+78|0]=c;t[a+79|0]=c>>>8;t[a+80|0]=c>>>16;t[a+81|0]=c>>>24;t[a+82|0]=b;t[a+83|0]=b>>>8;t[a+84|0]=b>>>16;t[a+85|0]=b>>>24;b=w[8282]|w[8283]<<8|(w[8284]<<16|w[8285]<<24);c=w[8278]|w[8279]<<8|(w[8280]<<16|w[8281]<<24);t[a+72|0]=c;t[a+73|0]=c>>>8;t[a+74|0]=c>>>16;t[a+75|0]=c>>>24;t[a+76|0]=b;t[a+77|0]=b>>>8;t[a+78|0]=b>>>16;t[a+79|0]=b>>>24}b=1}return b|0}function Cya(a){a=a|0;var b=0,c=0;b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=255;c=v[b+4>>2]-1|0;v[b+4>>2]=c;a:{if(c){break a}if(Qa[v[b+12>>2]](a)|0){break a}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=216;c=v[b+4>>2]-1|0;v[b+4>>2]=c;b:{if(c){break b}if(Qa[v[b+12>>2]](a)|0){break b}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}if(v[a+88>>2]){Uv(a,0)}if(v[a+92>>2]){Uv(a,1)}if(v[a+96>>2]){Uv(a,2)}if(v[a+100>>2]){Uv(a,3)}c:{if(v[a+212>>2]){break c}if(v[a+120>>2]){vm(a,0,0)}if(v[a+136>>2]){vm(a,0,1)}if(v[a+124>>2]){vm(a,1,0)}if(v[a+140>>2]){vm(a,1,1)}if(v[a+128>>2]){vm(a,2,0)}if(v[a+144>>2]){vm(a,2,1)}if(v[a+132>>2]){vm(a,3,0)}if(!v[a+148>>2]){break c}vm(a,3,1)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=255;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d:{if(c){break d}if(Qa[v[b+12>>2]](a)|0){break d}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=217;c=v[b+4>>2]-1|0;v[b+4>>2]=c;e:{if(c){break e}if(Qa[v[b+12>>2]](a)|0){break e}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}}function iAa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;if(v[d>>2]<=0){a:{b:{c:{d:{e=v[a+8>>2];switch(t[e+99|0]-99|0){case 8:break b;case 0:case 23:break c;case 7:break d;default:break a}}Qa[v[b+4>>2]](v[b>>2],165);Qa[v[b+4>>2]](v[b>>2],8254);Qa[v[b+8>>2]](v[b>>2],0,y[e+64>>2]<2?127:255);a=v[e+64>>2];if(!((a|0)==3|(a|0)==4)&(c|0)!=1){break a}Qa[v[b+8>>2]](v[b>>2],65377,65439);break a}Qa[v[b+8>>2]](v[b>>2],0,127);break a}a=v[e+40>>2];Qa[v[v[v[a+24>>2]+20>>2]+60>>2]](a,b,c,d)}a=v[e>>2];if(a){dk(a,b,c,0,d)}a=v[e+4>>2];if(a){dk(a,b,c,0,d)}a=v[e+8>>2];if(a){dk(a,b,c,0,d)}a=v[e+12>>2];if(a){f=a;g=b;h=c;a=w[e+99|0];if(v[e+64>>2]|(a|0)!=122&(a|0)!=99){a=0}else{a=2}dk(f,g,h,a,d)}a=v[e+16>>2];if(a){dk(a,b,c,w[e+99|0]==106?3:0,d)}a=v[e+20>>2];if(a){dk(a,b,c,0,d)}a=v[e+24>>2];if(a){dk(a,b,c,0,d)}a=v[e+28>>2];if(a){dk(a,b,c,4,d)}a=v[e+32>>2];if(a){dk(a,b,c,0,d)}a=v[e+36>>2];if(a){dk(a,b,c,0,d)}Qa[v[b+16>>2]](v[b>>2],14);Qa[v[b+16>>2]](v[b>>2],15);Qa[v[b+16>>2]](v[b>>2],27);Qa[v[b+20>>2]](v[b>>2],128,159)}}function Pd(a,b){var c=0,d=0;c=Ma-32|0;Ma=c;t[c+15|0]=b;b=v[a>>2];b=v[(b?b+12|0:1117e3)>>2];v[c+24>>2]=0;v[c+28>>2]=0;v[c+20>>2]=0;v[c+16>>2]=978704;Qr(c,c+16|0,c+15|0,0,1);v[c+16>>2]=978608;d=v[c+28>>2];if(d){t[d|0]=0;$a(v[c+28>>2])}v[c+28>>2]=0;d=c+16|0;bc(d);v[c+24>>2]=0;v[c+28>>2]=0;v[c+20>>2]=0;v[c+16>>2]=978704;OQ(c+8|0,d,b,c);v[c+16>>2]=978608;b=v[c+28>>2];if(b){t[b|0]=0;$a(v[c+28>>2])}v[c+28>>2]=0;bc(c+16|0);b=v[c+8>>2];a:{if(b){Qa[v[v[b>>2]+28>>2]](c+16|0,b,1);break a}v[c+16>>2]=0}jb(a,c+16|0);b=v[c+16>>2];v[c+16>>2]=0;b:{if(!b){break b}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break b}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}b=a;a=v[a>>2];v[b+4>>2]=v[(a?a+12|0:1117e3)>>2];a=v[c+8>>2];v[c+8>>2]=0;c:{if(!a){break c}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break c}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}a=v[c>>2];v[c>>2]=0;d:{if(!a){break d}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break d}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=c+32|0}function PJ(a){var b=0;b=v[a>>2];if(b){if(t[b+11|0]<=-1){$a(v[b>>2])}$a(b);v[a>>2]=0}b=v[a+4>>2];if(b){if(t[b+11|0]<=-1){$a(v[b>>2])}$a(b);v[a+4>>2]=0}b=v[a+8>>2];if(b){if(t[b+11|0]<=-1){$a(v[b>>2])}$a(b);v[a+8>>2]=0}b=v[a+12>>2];if(b){$a(b);v[a+12>>2]=0}b=v[a+16>>2];if(b){$a(b);v[a+16>>2]=0}b=v[a+20>>2];if(b){$a(b);v[a+20>>2]=0}b=v[a+24>>2];if(b){$a(b);v[a+24>>2]=0}b=v[a+28>>2];if(b){$a(b);v[a+28>>2]=0}b=v[a+32>>2];if(b){$a(b);v[a+32>>2]=0}b=v[a+36>>2];if(b){$a(b);v[a+36>>2]=0}b=v[a+40>>2];if(b){$a(b);v[a+40>>2]=0}b=v[a+44>>2];if(b){$a(b);v[a+44>>2]=0}b=v[a+48>>2];if(b){$a(b);v[a+48>>2]=0}b=v[a+52>>2];if(b){$a(b);v[a+52>>2]=0}b=v[a+56>>2];if(b){$a(b);v[a+56>>2]=0}b=v[a+60>>2];if(b){$a(b);v[a+60>>2]=0}b=v[a+64>>2];if(b){$a(b);v[a+64>>2]=0}b=v[a+68>>2];if(b){$a(b);v[a+68>>2]=0}b=v[a+72>>2];if(b){$a(b);v[a+72>>2]=0}b=v[a+76>>2];if(b){$a(b);v[a+76>>2]=0}b=v[a+80>>2];if(b){$a(b);v[a+80>>2]=0}b=v[a+84>>2];if(b){$a(b);v[a+84>>2]=0}b=v[a+88>>2];if(b){$a(b);v[a+88>>2]=0}b=v[a+92>>2];if(b){$a(b);v[a+92>>2]=0}}function O5(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;f=v[a+44>>2];a:{if(f){h=v[a+4>>2];b:{if(!h){h=0;break b}i=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);if(!(!w[a+481|0]|(i|0)!=v[a+476>>2])){h=w[a+480|0];break b}t[a+481|0]=1;v[a+476>>2]=i;g=v[a+48>>2];n=g?g:f;c:{if((n|0)<1){h=0;break c}o=i&255;l=h+40|0;p=i>>>16&255;i=i>>>8&255;m=2e5;h=0;g=0;while(1){f=w[(k|1)+l|0]-i|0;j=B(f,f);f=w[k+l|0]-o|0;j=j+B(f,f)|0;f=w[(k|2)+l|0]-p|0;f=j+B(f,f)|0;if(!f){h=g;break c}j=f;f=(f|0)<(m|0);m=f?j:m;h=f?g:h;k=k+4|0;g=g+1|0;if((n|0)!=(g|0)){continue}break}}t[a+480|0]=h}g=x[a+26>>1];if((g|0)==8){t[v[a+56>>2]+(B(v[a+52>>2],c)+b|0)|0]=h;break a}f=(v[a+56>>2]+B(v[a+52>>2],c)|0)+(B(b,g)>>3)|0;d:{switch(g-1|0){case 3:g=B((b|0)%2|0,252)+4&252;t[f|0]=w[f|0]&(15<>2]+B(v[a+52>>2],c)|0)+B(b,3)|0;t[g|0]=w[d|0];t[g+1|0]=w[d+1|0];t[g+2|0]=w[d+2|0]}if(e){ah(a,b,c,w[d+3|0])}}function p5(a){var b=0,c=0,d=0,e=0,f=0;v[a>>2]=0;v[a+32>>2]=0;a:{b:{c:{c=v[a+24>>2];b=v[c+8>>2];d:{if(b&7){break d}d=v[c+64>>2];if(!((d|0)<0|(d|0)>v[c+60>>2])){v[c+8>>2]=b|4;break d}b=v[c+28>>2];v[c+28>>2]=b-1;if((b|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=c;c=v[c+24>>2];v[b+24>>2]=c+1;d=w[c|0];t[a+28|0]=d;v[a>>2]=v[a>>2]+(d<<16);c=a+28|0;break b}d=Eb(c,1);if((d|0)!=-1){break c}}t[a+28|0]=255;c=1;v[a+32>>2]=1;v[a>>2]=v[a>>2]+16711680;b=65280;break a}t[a+28|0]=d;v[a>>2]=v[a>>2]+(d<<16&16711680);if(v[a+32>>2]){c=1;b=65280;break a}c=a+28|0}e:{f:{b=v[a+24>>2];e=v[b+8>>2];if(e&7){break f}f=v[b+64>>2];if(!((f|0)<0|v[b+60>>2]<(f|0))){v[b+8>>2]=e|4;break f}e=v[b+28>>2];v[b+28>>2]=e-1;g:{if((e|0)>=1){v[b+60>>2]=v[b+60>>2]+1;e=b;b=v[b+24>>2];v[e+24>>2]=b+1;b=w[b|0];break g}b=Eb(b,1);d=w[c|0];if((b|0)==-1){break f}}t[c|0]=b;if((d&255)!=255){break e}c=(b|0)>143;b=c?65280:b<<9;break a}b=255;t[a+28|0]=255;c=1;v[a+32>>2]=1;if((d&255)!=255){break e}b=65280;break a}c=1;b=b<<8}v[a+8>>2]=c;v[a+4>>2]=32768;v[a>>2]=b+v[a>>2]<<7}function Iwa(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,h=0,i=0,j=0,k=0;h=Ma-16|0;Ma=h;d=v[a+4>>2];g=v[d+32>>2];if(g){Qa[v[v[g>>2]+12>>2]](g)|0;d=v[a+4>>2];v[d+32>>2]=0}d=v[d+28>>2];d=Qa[v[v[d>>2]+48>>2]](d)|0;v[v[a+4>>2]+32>>2]=d;d=Fm();g=v[v[a+4>>2]+28>>2];j=d,k=Qa[v[v[g>>2]+24>>2]](g)|0,i=v[v[d>>2]+24>>2],Qa[i](j|0,k|0);g=v[v[a+4>>2]+32>>2];Qa[v[v[g>>2]+68>>2]](g,d);v[h+12>>2]=1;Qa[v[v[d>>2]+20>>2]](d,h+12|0);v[v[291134]+456>>2]=v[v[a+4>>2]+32>>2];d=v[v[a+4>>2]>>2];if(d){$a(qs(d));v[v[a+4>>2]>>2]=0}v[a+8>>2]=0;e=Fz(e);f=Fz(f);d=ab(48);g=Ma-16|0;Ma=g;v[d+40>>2]=0;v[d+44>>2]=0;v[d+12>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+8>>2]=0;v[d>>2]=0;v[d+4>>2]=0;v[d+32>>2]=0;v[d+36>>2]=0;v[g>>2]=5;i=d,k=aq(ab(48),b,c,g),v[i+8>>2]=k;i=d,k=BU(d,e,f),v[i+40>>2]=k;Ma=g+16|0;v[v[a+4>>2]>>2]=d;if(e){$a(Bb(e))}if(f){$a(Bb(f))}c=v[a+4>>2];b=v[c>>2];a:{if(!b){v[a+8>>2]=12;a=0;break a}v[a+8>>2]=v[b+44>>2];if(!v[b+40>>2]){$a(qs(b));v[v[a+4>>2]>>2]=0;a=0;break a}Ez(v[c+36>>2]);a=!v[a+8>>2]}Ma=h+16|0;return a|0}function Tsa(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;c=v[a+28>>2];if(v[c+664>>2]){b=-1;a=v[a+108>>2];a:{if(!a){break a}a=v[a+4>>2];if(v[a+8>>2]==13){break a}a=v[a+16>>2];b=Qa[v[v[a>>2]+52>>2]](a)|0}fb(0,b,245116,0);return}d=v[c+380>>2];if(d){Qa[v[v[d>>2]+4>>2]](d)}v[c+380>>2]=0;c=v[a+28>>2];h=xk(4);d=v[c+116>>2];if(d){Qa[v[v[d>>2]+4>>2]](d)}v[c+116>>2]=h;c=v[a+8>>2];Qa[v[v[c>>2]+108>>2]](c,v[a+28>>2]);e=A[b+24>>3];h=v[b+24>>2];g=A[b+40>>3];d=v[b+40>>2];j=A[b+8>>3];k=v[b+8>>2];l=v[b>>2];m=v[b+16>>2];n=v[b+32>>2];c=v[a+28>>2];f=c;i=(v[b+48>>2]==1?+v[b+56>>2]:A[b+56>>3])*65536;b:{if(D(i)<2147483648){b=~~i;break b}b=-2147483648}v[f+136>>2]=b;b=c;g=((n|0)==1?+(d|0):g)*65536;c:{if(D(g)<2147483648){f=~~g;break c}f=-2147483648}v[b+132>>2]=f;b=c;e=((m|0)==1?+(h|0):e)*65536;d:{if(D(e)<2147483648){f=~~e;break d}f=-2147483648}v[b+128>>2]=f;e=((l|0)==1?+(k|0):j)*65536;e:{if(D(e)<2147483648){b=~~e;break e}b=-2147483648}v[c+124>>2]=b;b=v[a+8>>2];Qa[v[v[b>>2]+116>>2]](b,v[a+28>>2])}function NWa(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;a:{if(w[a+285|0]|w[a+286|0]|(w[a+287|0]|w[a+288|0])){break a}if(w[a+289|0]){break a}ob(a,1029,0,0);return 1029}b:{if(c>>>0>1){i=d;while(1){f=i;i=f+1|0;if(w[f|0]){continue}break}g=f-d|0;if((g|0)>(c|0)){ob(a,1043,0,0);return 1043}if((d|0)==(f|0)){ob(a,1044,0,0);return 1044}f=c-g|0;c=f-1|0;c:{if(!v[a+192>>2]){break c}k=g+1|0;h=Qa[v[a+152>>2]](k)|0;if(!h){break b}h=cb(h,d,g);j=Qa[v[a+152>>2]](f)|0;if(!j){Qa[v[a+156>>2]](h,k);break b}if(c){cb(j,i,c)}l=Qa[v[a+192>>2]](a,0,h,j,0,0)|0;Qa[v[a+156>>2]](j,f);Qa[v[a+156>>2]](h,k);if(l){break c}ob(a,904,0,0);return 904}d:{e:{if(!w[a+112|0]){break e}b=Qa[v[b+4>>2]](a,b,e)|0;if(b){break d}b=v[e>>2];v[b+40>>2]=c;v[b+32>>2]=g;if(g){b=Qa[v[a+152>>2]](g+1|0)|0;v[v[e>>2]+36>>2]=b;b=v[v[e>>2]+36>>2];if(!b){break b}cb(b,d,g)}if(!c){break e}b=Qa[v[a+152>>2]](f)|0;v[v[e>>2]+44>>2]=b;b=v[v[e>>2]+44>>2];if(!b){break b}cb(b,i,c)}b=0}return b|0}ob(a,1028,0,0);return 1028}ob(a,1,0,0);return 1}function Eta(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;c=v[a+28>>2];if(v[c+664>>2]){b=-1;a=v[a+108>>2];a:{if(!a){break a}a=v[a+4>>2];if(v[a+8>>2]==13){break a}a=v[a+16>>2];b=Qa[v[v[a>>2]+52>>2]](a)|0}fb(0,b,245116,0);return}d=v[c+384>>2];if(d){Qa[v[v[d>>2]+4>>2]](d)}v[c+384>>2]=0;c=v[a+28>>2];h=xk(4);d=v[c+120>>2];if(d){Qa[v[v[d>>2]+4>>2]](d)}v[c+120>>2]=h;c=v[a+8>>2];Qa[v[v[c>>2]+112>>2]](c,v[a+28>>2]);e=A[b+24>>3];h=v[b+24>>2];g=A[b+40>>3];d=v[b+40>>2];j=A[b+8>>3];k=v[b+8>>2];l=v[b>>2];m=v[b+16>>2];n=v[b+32>>2];c=v[a+28>>2];f=c;i=(v[b+48>>2]==1?+v[b+56>>2]:A[b+56>>3])*65536;b:{if(D(i)<2147483648){b=~~i;break b}b=-2147483648}v[f+264>>2]=b;b=c;g=((n|0)==1?+(d|0):g)*65536;c:{if(D(g)<2147483648){f=~~g;break c}f=-2147483648}v[b+260>>2]=f;b=c;e=((m|0)==1?+(h|0):e)*65536;d:{if(D(e)<2147483648){f=~~e;break d}f=-2147483648}v[b+256>>2]=f;e=((l|0)==1?+(k|0):j)*65536;e:{if(D(e)<2147483648){b=~~e;break e}b=-2147483648}v[c+252>>2]=b;b=v[a+8>>2];Qa[v[v[b>>2]+120>>2]](b,v[a+28>>2])}function k5(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;l=Ma;d=b+1|0;j=l-((d<<1&-4)+15&-16)|0;Ma=j;a:{if((b|0)<2){break a}f=(1-c<<2)+a|0;k=d-c>>1;h=c?k:b-k|0;b:{if((h|0)<1){break b}d=f;e=j;g=h;i=h&7;if(i){while(1){v[e>>2]=v[d>>2];d=d+8|0;e=e+4|0;g=g-1|0;i=i-1|0;if(i){continue}break}}if(h-1>>>0<7){break b}while(1){v[e>>2]=v[d>>2];v[e+4>>2]=v[d+8>>2];v[e+8>>2]=v[d+16>>2];v[e+12>>2]=v[d+24>>2];v[e+16>>2]=v[d+32>>2];v[e+20>>2]=v[d+40>>2];v[e+24>>2]=v[d+48>>2];v[e+28>>2]=v[d+56>>2];d=d- -64|0;e=e+32|0;i=(g|0)>8;g=g-8|0;if(i){continue}break}}e=(b-!c|0)-h|0;c:{if((e|0)<1){break c}d=(2-c<<2)+a|0;g=e&7;if(g){while(1){v[f>>2]=v[d>>2];d=d+8|0;f=f+4|0;e=e-1|0;g=g-1|0;if(g){continue}break}}if(((c?0:-1)+b|0)+(h^-1)>>>0<7){break c}while(1){v[f>>2]=v[d>>2];v[f+4>>2]=v[d+8>>2];v[f+8>>2]=v[d+16>>2];v[f+12>>2]=v[d+24>>2];v[f+16>>2]=v[d+32>>2];v[f+20>>2]=v[d+40>>2];v[f+24>>2]=v[d+48>>2];v[f+28>>2]=v[d+56>>2];d=d- -64|0;f=f+32|0;b=(e|0)>8;e=e-8|0;if(b){continue}break}}if((h|0)<1){break a}cb((k<<2)+a|0,j,h<<2)}Ma=l}function bya(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;f=Ma-48|0;Ma=f;a:{b:{c:{if(!(!b|!w[b|0])){e=b;while(1){g=d;d=d+1|0;i=w[e+1|0];e=e+1|0;if(i){continue}break}i=0;if(!a){break a}h=1;if(w[b+g|0]==58){break a}e=v[a+36>>2];h=v[e+4>>2];d:{if(h){d=v[e+28>>2];a=v[291043];g=v[256654];break d}h=1;d=v[a+40>>2];if((d|0)<=1){d=v[e+28>>2];a=v[291043];g=v[256654];break c}e=v[(v[a+48>>2]+(d<<2)|0)-8>>2];if(!e){break a}d=v[e+28>>2];a=v[291043];g=v[256654];h=v[e+4>>2];if(!h){break c}}v[f+36>>2]=d;v[f+32>>2]=h;Qa[g|0](a,337323,f+32|0);break b}h=(a|0)!=0;break a}v[f+16>>2]=d;Qa[g|0](a,337331,f+16|0)}h=1;i=e}Qa[v[256654]](v[291043],337304,0);e=150;a=0;d=Qa[v[256552]](150)|0;e:{if(!d){break e}g=-1;while(1){a=d;if((e|0)>63999){break e}v[f+44>>2]=c;d=am(a,e,b,c);if(!((d|0)<0|(d|0)>=(e|0))){j=(d|0)==(g|0);g=d;if(j){break e}}e=((d|0)>-1?d+1|0:100)+e|0;d=Qa[v[256557]](a,e)|0;if(d){continue}break}}v[f>>2]=a;Qa[v[256654]](v[291043],237230,f);if(a){Qa[v[256556]](a)}if(h){Ho(i,v[256654],v[291043])}Ma=f+48|0}function D2a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=v[a+12>>2];a:{if(y[b>>2]<=256){b=v[c+8>>2];if(b&7){break a}e=v[c+64>>2];if(!((e|0)<0|(e|0)>v[c+60>>2])){v[c+8>>2]=b|4;break a}v[c+4>>2]=v[c+4>>2]|32;b=v[c+28>>2];v[c+28>>2]=b-1;if((b|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=v[c+24>>2];v[c+24>>2]=b+1;t[b|0]=d;break a}Cb(c,d&255);break a}wg(c,d)}b=v[c+8>>2];b:{if(b&7){break b}d=w[a+28|0];e=w[a+16|0];f=v[c+64>>2];if(!((f|0)<0|(f|0)>v[c+60>>2])){v[c+8>>2]=b|4;break b}b=e|d<<5;v[c+4>>2]=v[c+4>>2]|32;d=v[c+28>>2];v[c+28>>2]=d-1;if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;d=v[c+24>>2];v[c+24>>2]=d+1;t[d|0]=b;break b}Cb(c,b&255)}if(v[a+20>>2]>=1){b=0;while(1){d=v[v[a+24>>2]+(b<<2)>>2];c:{if(!w[a+16|0]){e=v[c+8>>2];if(e&7){break c}f=v[c+64>>2];if(!((f|0)<0|(f|0)>v[c+60>>2])){v[c+8>>2]=e|4;break c}d=d>>>8&248;v[c+4>>2]=v[c+4>>2]|32;e=v[c+28>>2];v[c+28>>2]=e-1;if((e|0)>=1){v[c+60>>2]=v[c+60>>2]+1;e=v[c+24>>2];v[c+24>>2]=e+1;t[e|0]=d;break c}Cb(c,d);break c}wg(c,d)}b=b+1|0;if((b|0)>2]){continue}break}}return 0}function lo(a,b,c){var d=0,e=0,f=0;f=Ma-32|0;Ma=f;d=v[a+8>>2];a:{b:{if(!d){a=1;break b}c:{e=v[d+8>>2];if((e|0)==(b|0)){a=1;if(v[d+12>>2]==(c|0)){break c}}a=2;if(((e+1|0)/2|0)==(b|0)&((v[d+12>>2]+1|0)/2|0)==(c|0)){break c}a=3;if(((e+2|0)/3|0)==(b|0)&((v[d+12>>2]+2|0)/3|0)==(c|0)){break c}a=4;if(((e+3|0)/4|0)==(b|0)&((v[d+12>>2]+3|0)/4|0)==(c|0)){break c}a=5;if(((e+4|0)/5|0)==(b|0)&((v[d+12>>2]+4|0)/5|0)==(c|0)){break c}a=6;if(((e+5|0)/6|0)==(b|0)&((v[d+12>>2]+5|0)/6|0)==(c|0)){break c}a=7;if(((e+6|0)/7|0)==(b|0)&((v[d+12>>2]+6|0)/7|0)==(c|0)){break c}a=8;if(((e+7|0)/8|0)==(b|0)&((v[d+12>>2]+7|0)/8|0)==(c|0)){break c}a=9;if(((e+8|0)/9|0)==(b|0)&((v[d+12>>2]+8|0)/9|0)==(c|0)){break c}a=10;if(((e+9|0)/10|0)==(b|0)&((v[d+12>>2]+9|0)/10|0)==(c|0)){break c}a=11;if(((e+10|0)/11|0)==(b|0)&((v[d+12>>2]+10|0)/11|0)==(c|0)){break c}a=12;if(((e+11|0)/12|0)==(b|0)&((v[d+12>>2]+11|0)/12|0)==(c|0)){break c}lb(mb(f+8|0,316755,241865,823,327765));L()}b=v[d+20>>2];if(b){break a}}b=300}Ma=f+32|0;return(b|0)/(a|0)|0}function eXa(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,j=0,k=0,l=0;a:{b:{if(f){a=c<<1;l=b<<1;if(((c+1|0)/2|0)>(b|0)){break b}if(!d){break a}b=0;while(1){u[g>>1]=x[f>>1];u[g+2>>1]=x[f+2>>1];u[g+4>>1]=x[f+4>>1];j=g+6|0;h=x[e+6>>1];c:{if((h|0)==x[f+6>>1]){u[j>>1]=h;break c}h=e+6|0;i=w[h+1|0]<<8;k=w[h|0]|i;h=i|w[h|0];i=(h<<8|h>>>8)&65535;h=w[f+6|0]|w[f+7|0]<<8;h=i+((B(((h<<8|h>>>8)&65535)-((k<<8|k>>>8)&65535)|0,l)+c|0)/(a|0)|0)&65535;h=h<<8|h>>>8;t[j|0]=h;t[j+1|0]=h>>>8}f=f+8|0;e=e+8|0;g=g+8|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}break a}cb(g,e,d<<3);break a}if(!d){break a}b=0;while(1){u[g>>1]=x[e>>1];u[g+2>>1]=x[e+2>>1];u[g+4>>1]=x[e+4>>1];j=g+6|0;h=x[e+6>>1];d:{if((h|0)==x[f+6>>1]){u[j>>1]=h;break d}h=e+6|0;i=w[h+1|0]<<8;k=w[h|0]|i;h=i|w[h|0];i=(h<<8|h>>>8)&65535;h=w[f+6|0]|w[f+7|0]<<8;h=i+((B(((h<<8|h>>>8)&65535)-((k<<8|k>>>8)&65535)|0,l)+c|0)/(a|0)|0)&65535;h=h<<8|h>>>8;t[j|0]=h;t[j+1|0]=h>>>8}f=f+8|0;e=e+8|0;g=g+8|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}}return 0}function dHa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(a){c=v[a+100>>2];d=v[a+316>>2];if(d){g=c;b=v[a+300>>2];if((b|0)>=1){while(1){e=(f<<3)+d|0;d=v[e+4>>2];if(d){b=c;d=v[d>>2];if(d){Qa[v[b+8>>2]](b,d)}v[v[e+4>>2]>>2]=0;b=v[e+4>>2];if(b){Qa[v[c+8>>2]](c,b)}v[e+4>>2]=0;b=v[a+300>>2]}f=f+1|0;if((f|0)<(b|0)){d=v[a+316>>2];continue}break}d=v[a+316>>2]}if(d){Qa[v[g+8>>2]](g,d)}v[a+316>>2]=0}b=v[a+164>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+164>>2]=0;b=v[a+168>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+168>>2]=0;b=v[a+172>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+172>>2]=0;b=v[a+176>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+176>>2]=0;b=v[a+180>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+180>>2]=0;b=v[a+304>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+300>>2]=0;v[a+304>>2]=0;b=v[a+140>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+140>>2]=0;b=v[a+152>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+152>>2]=0;b=v[a+156>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+20>>2]=0;v[a+24>>2]=0;v[a+156>>2]=0;b=v[a+324>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+324>>2]=0;b=v[a+328>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+328>>2]=0}}function Wja(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=Ma-16|0;Ma=f;a:{if((c|0)<1){break a}c=c-1|0;if(!d){while(1){d=c;c=v[b+4>>2];e=v[b>>2];v[a+8>>2]=0;v[a>>2]=e;v[a+4>>2]=c;v[a+12>>2]=v[279250];e=a+8|0;c=v[b+8>>2];b:{if(c){Qa[v[v[c>>2]+28>>2]](f+8|0,c,1);break b}v[f+8>>2]=0}jb(e,f+8|0);c=v[f+8>>2];v[f+8>>2]=0;c:{if(!c){break c}e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(e){break c}e=v[c+4>>2];if(!e){v[c+4>>2]=-32767}if(!e){Qa[v[v[c>>2]+4>>2]](c)}}c=v[a+8>>2];v[a+12>>2]=v[(c?c+12|0:1117e3)>>2];c=d-1|0;b=b+16|0;a=a+16|0;if((d|0)>0){continue}break a}}while(1){d=c;c=v[b+4>>2];e=v[b>>2];v[a+8>>2]=0;v[a>>2]=e;v[a+4>>2]=c;v[a+12>>2]=v[279250];e=a+8|0;c=v[b+8>>2];d:{if(c){Qa[v[v[c>>2]+28>>2]](f+8|0,c,1);break d}v[f+8>>2]=0}g=b+8|0;jb(e,f+8|0);c=v[f+8>>2];v[f+8>>2]=0;e:{if(!c){break e}e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(e){break e}e=v[c+4>>2];if(!e){v[c+4>>2]=-32767}if(!e){Qa[v[v[c>>2]+4>>2]](c)}}c=v[a+8>>2];v[a+12>>2]=v[(c?c+12|0:1117e3)>>2];db(g);c=d-1|0;b=b+16|0;a=a+16|0;if((d|0)>0){continue}break}}Ma=f+16|0}function Rf(a,b){var c=0,d=0;c=Ma-16|0;Ma=c;a:{b:{if(!w[b+32|0]){cg(b,1);if(!w[b+32|0]){break b}}v[c>>2]=0;v[c+4>>2]=v[279250];b=v[b+8>>2];c:{if(b){Qa[v[v[b>>2]+28>>2]](c+8|0,b,1);break c}v[c+8>>2]=0}jb(c,c+8|0);b=v[c+8>>2];v[c+8>>2]=0;d:{if(!b){break d}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break d}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}b=v[c>>2];v[c+4>>2]=v[(b?b+12|0:1117e3)>>2];d=a+8|0;e:{if(b){Qa[v[v[b>>2]+28>>2]](c+8|0,b,1);break e}v[c+8>>2]=0}jb(d,c+8|0);b=v[c+8>>2];v[c+8>>2]=0;f:{if(!b){break f}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break f}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}b=v[a+8>>2];v[a+12>>2]=v[(b?b+12|0:1117e3)>>2];db(c);cg(a,1);break a}d=a+8|0;b=v[b+8>>2];g:{if(b){Qa[v[v[b>>2]+28>>2]](c,b,1);break g}v[c>>2]=0}jb(d,c);b=v[c>>2];v[c>>2]=0;h:{if(!b){break h}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break h}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}b=v[a+8>>2];b=v[(b?b+12|0:1117e3)>>2];t[a+32|0]=0;v[a+12>>2]=b}Ma=c+16|0}function Z_a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=v[v[a+2248>>2]+88>>2];c=v[b+1168>>2];c=(v[b+1176>>2]+B(c,v[a+572>>2])|0)+B(c,v[a+2268>>2])|0;b=v[b+1164>>2];c=(c+B(b,v[a+580>>2])|0)+B(b,v[a+2264>>2])|0;e=v[a+636>>2]+v[a+616>>2]|0;b=v[a+588>>2];a:{b:{if(w[a+2253|0]!=4){if((b|0)<=0){break a}b=0;while(1){if(!(b&255)){h=w[e|0];d=4;e=e+1|0;b=240}t[c|0]=B((w[c|0]>>>4)+((b&h)>>>d)&15,17);d=d-4|0;b=(b&240)>>>4|0;c=v[a+584>>2]+c|0;f=f+1|0;g=v[a+588>>2];if((f|0)<(g|0)){continue}break}break b}if((b|0)<1){break a}b=0;while(1){if(!(b&255)){h=w[e|0];d=4;e=e+1|0;b=240}t[c|0]=B((b&h)>>>d|0,17);d=d-4|0;b=(b&240)>>>4|0;c=v[a+584>>2]+c|0;f=f+1|0;g=v[a+588>>2];if((f|0)<(g|0)){continue}break}}if((g|0)<1){break a}b=v[a+540>>2];d=(v[b+1176>>2]+B(v[a+572>>2],v[b+1168>>2])|0)+B(v[a+580>>2],v[b+1164>>2])|0;f=v[a+636>>2]+v[a+616>>2]|0;b=0;c=0;g=0;e=0;while(1){if(!(c&255)){g=w[f|0];c=240;f=f+1|0;b=4}t[d|0]=(c&g&255)>>>b;b=b-4|0;c=(c&240)>>>4|0;d=v[a+584>>2]+d|0;e=e+1|0;if((e|0)>2]){continue}break}}return 0}function YAa(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,p=0,q=0,r=0,s=0,u=0,x=0,z=0,A=0,B=0,C=0;if(v[v[b+4>>2]+44>>2]){v[c>>2]=-127;return}i=v[b+12>>2];d=v[b+8>>2];f=i-d|0;e=v[a+16>>2];g=v[a+20>>2]-e|0;f=(f|0)<(g|0)?f:g;if((f|0)>=16){j=f>>>4|0;g=j;a:{while(1){h=w[d|0];t[e|0]=h;k=w[d+1|0];t[e+1|0]=k;l=w[d+2|0];t[e+2|0]=l;m=w[d+3|0];t[e+3|0]=m;n=w[d+4|0];t[e+4|0]=n;o=w[d+5|0];t[e+5|0]=o;p=w[d+6|0];t[e+6|0]=p;q=w[d+7|0];t[e+7|0]=q;r=w[d+8|0];t[e+8|0]=r;s=w[d+9|0];t[e+9|0]=s;u=w[d+10|0];t[e+10|0]=u;x=w[d+11|0];t[e+11|0]=x;z=w[d+12|0];t[e+12|0]=z;A=w[d+13|0];t[e+13|0]=A;B=w[d+14|0];t[e+14|0]=B;C=w[d+15|0];t[e+15|0]=C;if((h|k|l|m|n|o|p|q|r|s|u|x|z|A|B|C)<<24>>24<0){break a}e=e+16|0;d=d+16|0;h=(g|0)>1;g=g-1|0;if(h){continue}break}g=0}f=(g-j<<4)+f|0}b:{c:{if((f|0)>=1){while(1){g=t[d|0];if((g|0)<0){f=-127;break c}t[e|0]=g;e=e+1|0;d=d+1|0;g=(f|0)>1;f=f-1|0;if(g){continue}break}}if(d>>>0>=i>>>0){break b}f=15;if(y[a+20>>2]>e>>>0){break b}}v[c>>2]=f}v[b+8>>2]=d;v[a+16>>2]=e}function jDa(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;g=v[a+816>>2];a:{if(!g){break a}f=v[a+812>>2];if((f|0)<10){break a}i=b<<16|c;c=v[a+808>>2];j=c+f|0;b=c+4|0;c=c+10|0;m=v[a+820>>2];h=1;while(1){f=(w[b+3|0]|w[b+2|0]<<8)+b|0;f=f>>>0>j>>>0?j:f;b:{if(!(h&m)){break b}e=b+14|0;if(w[b+4|0]){break b}n=w[b+5|0];d=f-e|0;c=w[b+7|0]|w[c|0]<<8;c=(d|0)<(B(c,6)|0)?(d|0)/6|0:c;c:{if(v[a+824>>2]&h){if(!c){break b}o=b+18|0;e=0;while(1){k=c+e>>>1|0;b=B(k,6)+o|0;d=b-4|0;d=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if((d|0)!=(i|0)){b=d>>>0>>0;e=b?k+1|0:e;c=b?c:k;if(e>>>0>>0){continue}break b}break}c=b+1|0;break c}if(!c){break b}while(1){b=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24);if((b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))!=(i|0)){e=e+6|0;c=c-1|0;if(c){continue}break b}break}b=e+4|0;c=e+5|0}l=((w[c|0]|w[b|0]<<8)<<16>>16)+(n&8?0:l)|0}g=g-1|0;if(!g){break a}h=h<<1;b=f;c=b+6|0;if(j>>>0>=c>>>0){continue}break}}return l|0}function cW(a,b,c){var d=0,e=0,f=0;d=Ma-128|0;Ma=d;v[d+112>>2]=13;v[d+96>>2]=13;v[d+80>>2]=13;v[d+64>>2]=13;v[d+48>>2]=13;v[d+32>>2]=13;v[d+16>>2]=13;v[d>>2]=13;e=v[b+8>>2];a:{if((e|0)<0|(e|0)>v[v[a+4>>2]+16>>2]){break a}b:{if(v[b>>2]==9){e=c+e|0;if(w[e|0]){break a}t[e|0]=1;dn(v[a+4>>2],v[b+8>>2],v[b+12>>2],d+112|0,0);break b}ee(b,d+112|0)}if(v[d+112>>2]==7){b=0;c:{if(v[ib(v[d+120>>2],236871,d+96|0,0)>>2]==6){e=v[d+104>>2];if(v[e+12>>2]<1){break c}while(1){f=e;e=d+80|0;cW(a,Nf(f,b,e),c);bb(e);b=b+1|0;e=v[d+104>>2];if((b|0)>2]){continue}break}break c}d:{if(v[ib(v[d+120>>2],234391,d- -64|0,0)>>2]!=6){break d}c=v[d+72>>2];if(v[c+12>>2]<1){break d}while(1){if(v[ub(c,b,d+48|0,0)>>2]==7){c=ib(v[d+56>>2],278450,d+32|0,0);e:{if(v[c>>2]!=4){break e}if(hb(v[c+8>>2],228852)){break e}if(ib(v[d+56>>2],310196,d+16|0,0)){$V(a,d+16|0,ib(v[d+56>>2],234430,d,0));bb(d)}bb(d+16|0)}bb(d+32|0)}bb(d+48|0);b=b+1|0;c=v[d+72>>2];if((b|0)>2]){continue}break}}bb(d- -64|0)}bb(d+96|0)}bb(d+112|0)}Ma=d+128|0}function FFa(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;f=Ma-16|0;Ma=f;Hg(a,v[a+8>>2]);g=v[a+8>>2];d=v[a>>2];v[f+12>>2]=d;a:{if(d>>>0>=g>>>0){break a}b:{c:{d:{e=w[d|0];if((e|0)==91){i=93}else{if((e|0)!=123){break d}i=125}d=d+1|0;v[f+12>>2]=d;if(d>>>0>=g>>>0){break a}e:{if(!c){while(1){Hg(f+12|0,g);e=v[f+12>>2];if(g>>>0<=e>>>0){d=e;break a}if(w[e|0]==(i|0)){break c}xm(f+12|0,g,0);d=v[f+12>>2];if((e|0)==(d|0)){break e}h=h+1|0;if(d>>>0>>0){continue}break}break a}b=(b|0)>0?b:0;while(1){Hg(f+12|0,g);e=v[f+12>>2];if(g>>>0<=e>>>0){d=e;break a}if(w[e|0]==(i|0)){break c}if((b|0)==(h|0)){d=e;h=b;break a}j=(h<<1)+c|0,k=xm(f+12|0,g,0)>>>16|0,u[j>>1]=k;d=v[f+12>>2];if((e|0)==(d|0)){break e}h=h+1|0;if(d>>>0>>0){continue}break}break a}h=-1;d=e;break a}Hg(f+12|0,g);e=v[f+12>>2];if(g>>>0<=e>>>0){d=e;break a}if(!w[e|0]){break c}if(!c|(b|0)>=1){break b}d=e;break a}d=e+1|0;break a}j=c?c:f+10|0,k=xm(f+12|0,g,0)>>>16|0,u[j>>1]=k;d=v[f+12>>2];h=(e|0)==(d|0)?-1:1}v[a>>2]=d;Ma=f+16|0;return h|0}function mba(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;a=c;while(1){a:{if(e>>>0<=g>>>0|a>>>0>=d>>>0){break a}b=w[a|0];if(b>>>0>1114111){break a}f=a+1|0;b:{if(b<<24>>24>=0){break b}if(b>>>0<194){break a}if(b>>>0<=223){if((d-a|0)<2){break a}f=w[a+1|0];if((f&192)!=128|(f&63|b<<6&1984)>>>0>1114111){break a}f=a+2|0;break b}c:{d:{if(b>>>0<=239){if((d-a|0)<3){break a}h=w[a+2|0];f=w[a+1|0];if((b|0)==237){break d}if((b|0)==224){if((f&224)==160){break c}break a}if((f&192)!=128){break a}break c}if((d-a|0)<4|b>>>0>244|e-g>>>0<2){break a}h=w[a+2|0];f=w[a+1|0];e:{f:{switch(b-240|0){case 0:if((f+112&255)>>>0<48){break e}break a;case 4:if((f&240)==128){break e}break a;default:break f}}if((f&192)!=128){break a}}if((h&192)!=128){break a}i=w[a+3|0];if((i&192)!=128|(i&63|(h<<6&4032|(b<<18&1835008|(f&63)<<12)))>>>0>1114111){break a}g=g+1|0;f=a+4|0;break b}if((f&224)!=128){break a}}if((h&192)!=128|(h&63|(b<<12&61440|(f&63)<<6))>>>0>1114111){break a}f=a+3|0}a=f;g=g+1|0;continue}break}return a-c|0}function DU(a,b,c){var d=0;v[a+48>>2]=13;v[a+32>>2]=13;v[a+16>>2]=13;v[a>>2]=b;b=v[b+24>>2];v[a+8>>2]=c;v[a+4>>2]=b;c=ab(296);b=c;v[b>>2]=0;v[b+4>>2]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+64>>2]=0;v[b+72>>2]=0;v[b+76>>2]=0;v[b+104>>2]=0;v[b+108>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b+16>>2]=0;v[b+20>>2]=1078525952;v[b+24>>2]=0;v[b+28>>2]=1078525952;v[b+40>>2]=0;v[b+44>>2]=0;v[b+48>>2]=0;v[b+52>>2]=1078525952;v[b+56>>2]=0;v[b+60>>2]=1078525952;v[b+80>>2]=0;v[b+84>>2]=0;v[b+88>>2]=0;v[b+92>>2]=1078525952;v[b+96>>2]=0;v[b+100>>2]=1078525952;v[b+128>>2]=0;v[b+132>>2]=1078525952;v[b+120>>2]=0;v[b+124>>2]=1078525952;v[b+112>>2]=0;v[b+116>>2]=0;v[b+280>>2]=5;v[b+256>>2]=5;v[b+240>>2]=5;v[b+224>>2]=5;v[b+208>>2]=5;v[b+192>>2]=5;v[b+176>>2]=5;v[b+168>>2]=0;d=v[b+28>>2];v[b+160>>2]=v[b+24>>2];v[b+164>>2]=d;b=v[b+20>>2];v[c+152>>2]=v[c+16>>2];v[c+156>>2]=b;b=v[c+12>>2];v[c+144>>2]=v[c+8>>2];v[c+148>>2]=b;b=v[c+4>>2];v[c+136>>2]=v[c>>2];v[c+140>>2]=b;v[a+64>>2]=1;v[a+48>>2]=5;v[a+32>>2]=5;v[a+16>>2]=5;v[a+12>>2]=c}function hsa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0;d=c;l=+v[b>>2]*152587890625e-16;e=+v[b+4>>2]*152587890625e-16;g=l*e;h=+v[b+8>>2]*152587890625e-16;i=+v[b+12>>2]*152587890625e-16;j=1-i;n=g*h*j;f=g;g=1-h;f=f*g;o=f*j;w=i*f*.0078;f=1-e;k=l*f;p=h*k;q=p*j;k=k*g;r=i*k;k=k*j;m=1-l;e=m*e;s=e*h;l=s*j;t=e*g;u=t*j;f=m*f;e=f*g;g=e*j;e=i*e;m=(n*.2235+(w+(o*.5725+(q*.3137+(r*.1412+(k*.9373+(l*.1412+(u*.549+(g+e*.1255)))))))))*65536;a:{if(D(m)<2147483648){b=~~m;break a}b=-2147483648}a=(b|0)<65536?b:65536;v[d+8>>2]=(a|0)>0?a:0;d=c;h=h*f;f=i*h;j=h*j;h=(n*.2118+(o*.1804+(s*i*.1333+(l*.9294+(i*t*.1412+(u*.9255+(f*.1098+(j+(g+e*.1373)))))))))*65536;b:{if(D(h)<2147483648){b=~~h;break b}b=-2147483648}a=(b|0)<65536?b:65536;v[d>>2]=(a|0)>0?a:0;i=(n*.2119+(o*.1922+(i*p*.0745+(q*.651+(r*.0588+(k*.6784+(l*.1098+(f*.102+(j*.949+(g+e*.1216))))))))))*65536;c:{if(D(i)<2147483648){a=~~i;break c}a=-2147483648}a=(a|0)<65536?a:65536;v[c+4>>2]=(a|0)>0?a:0}function O1a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=v[a+44>>2];b=v[a+52>>2];Qa[v[v[b>>2]+20>>2]](b,2)|0;e=Qa[v[v[b>>2]+20>>2]](b,2)|0;f=v[d+60>>2];a:{b:{if(f){g=v[d+56>>2];if((f|0)>0){while(1){c:{h=v[(c<<2)+g>>2];c=c+1|0;if((f|0)<=(c|0)){break c}if((e|0)!=(h|0)){continue}}break}if((e|0)==(h|0)){break a}}c=(f<<2)+g|0;break b}c=v[d+56>>2]}v[c>>2]=e;v[d+60>>2]=v[d+60>>2]+1}c=Qa[v[v[b>>2]+20>>2]](b,4)|0;if(!c){c=(Qa[v[v[b>>2]+40>>2]](b)|0)+8|0}Qa[v[v[b>>2]+20>>2]](b,1)|0;Qa[v[v[b>>2]+20>>2]](b,1)|0;v[a+8>>2]=e;b=Qa[v[v[b>>2]+36>>2]](b)|0;v[a+4>>2]=16;v[a+12>>2]=(b+c|0)-12;b=v[d+88>>2]+B(v[a+8>>2],1876)|0;if(v[b>>2]==1){c=v[b+1872>>2];b=cb(b,v[a+36>>2],1876);v[b+1872>>2]=c;v[b+1452>>2]=0;v[b+1456>>2]=0;v[b+1460>>2]=0;d:{if(v[v[a+40>>2]+16>>2]<1){break d}cb(c,v[v[a+36>>2]+1872>>2],1076);c=1;if(v[v[a+40>>2]+16>>2]<=1){break d}b=b+1872|0;while(1){e=B(c,1076);cb(e+v[b>>2]|0,e+v[v[a+36>>2]+1872>>2]|0,1076);c=c+1|0;if((c|0)>2]+16>>2]){continue}break}}v[v[d+88>>2]+B(v[a+8>>2],1876)>>2]=0}}function NJ(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=v[a+2228504>>2];if(e){NJ(e,b,c,d)}h=A[a+112>>3];i=b/h;e=i>1.001;a:{if(!(e|i<.999|v[a+120>>2]!=(c|0))){if(v[a+124>>2]==(d|0)){break a}}v[a+124>>2]=d;v[a+120>>2]=c;b:{if(!e){e=c;if(!(i<.999)){break b}}A[a+112>>3]=b;_0(a);h=A[a+112>>3];e=v[a+120>>2]}A[a+184>>3]=h*(+(e>>>0)/72);e=0;g=v[a+180>>2];b=b*64;c:{if(D(b)<2147483648){f=~~b;break c}f=-2147483648}p0(g,f,c,d);d=v[a+268>>2];c=v[a+264>>2];f=d-c|0;d:{if(!f){break d}f=(f|0)/104|0;g=f>>>0>1?f:1;f=g&7;if(g-1>>>0>=7){g=g&-8;while(1){v[(c+B(e,104)|0)+100>>2]=1;v[(c+B(e|1,104)|0)+100>>2]=1;v[(c+B(e|2,104)|0)+100>>2]=1;v[(c+B(e|3,104)|0)+100>>2]=1;v[(c+B(e|4,104)|0)+100>>2]=1;v[(c+B(e|5,104)|0)+100>>2]=1;v[(c+B(e|6,104)|0)+100>>2]=1;v[(c+B(e|7,104)|0)+100>>2]=1;e=e+8|0;g=g-8|0;if(g){continue}break}}if(!f){break d}while(1){v[(c+B(e,104)|0)+100>>2]=1;e=e+1|0;f=f-1|0;if(f){continue}break}}if((c|0)!=(d|0)){while(1){Dh(d-28|0);d=d-104|0;if((c|0)!=(d|0)){continue}break}}v[a+268>>2]=c;eb(a+276|0,255,2228224)}}function AB(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Ma-16|0;Ma=f;v[v[v[b>>2]>>2]+20>>2]=0;c=b;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c+24>>2]=0;v[c+28>>2]=-1;v[c+208>>2]=0;v[c+212>>2]=-1;v[c+176>>2]=0;v[c+180>>2]=0;v[c+400>>2]=0;v[c+404>>2]=0;if(w[a+96|0]){t[a+96|0]=0;c=a;v[c+64>>2]=2147483647;v[c+68>>2]=2147483647;v[c+48>>2]=2147483647;v[c+52>>2]=2147483647;v[c+8>>2]=0;v[c+12>>2]=0;v[c+1172>>2]=0;v[c+88>>2]=-2147483647;v[c+92>>2]=-2147483647;v[c+80>>2]=2147483647;v[c+84>>2]=2147483647;v[c+72>>2]=0;v[c+76>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0}e=r2(b,f+8|0,f);if(e){c=a+100|0;while(1){d=A[f>>3];g=A[f+8>>3];a:{if((e|0)==1){dK(a,g,d);break a}if(e-1>>>0<=13){d=d*256;d=d+(d<0?-.5:.5);b:{if(D(d)<2147483648){e=~~d;break b}e=-2147483648}i=c;j=a;d=g*256;d=d+(d<0?-.5:.5);c:{if(D(d)<2147483648){h=~~d;break c}h=-2147483648}rc(i,j,h,e);v[a+1172>>2]=2;break a}if((e&-49)!=79|v[a+1172>>2]!=2){break a}rc(c,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}e=r2(b,f+8|0,f);if(e){continue}break}}Ma=f+16|0}function nn(a){var b=0,c=0,d=0,e=0;b=-2;a:{if(!a|!v[a+32>>2]){break a}e=v[a+36>>2];if(!e){break a}c=v[a+28>>2];if(!c|v[c>>2]!=(a|0)){break a}b:{c:{d=v[c+4>>2];switch(d-57|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 13:case 14:case 15:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 47:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:break a;case 0:case 12:case 16:case 34:case 46:case 56:break b;default:break c}}if((d|0)==666){break b}if((d|0)!=42){break a}}b=v[c+8>>2];if(b){Qa[e|0](v[a+40>>2],b);c=v[a+28>>2]}b=v[c+68>>2];if(b){Qa[v[a+36>>2]](v[a+40>>2],b);c=v[a+28>>2]}b=v[c+64>>2];if(b){Qa[v[a+36>>2]](v[a+40>>2],b);c=v[a+28>>2]}b=v[c+56>>2];if(b){Qa[v[a+36>>2]](v[a+40>>2],b);c=v[a+28>>2]}Qa[v[a+36>>2]](v[a+40>>2],c);v[a+28>>2]=0;b=(d|0)==113?-3:0}return b}function kDa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=Ma-16|0;Ma=f;e=Qa[v[a+516>>2]](a,1801810542,b,f+12|0)|0;a:{if(e){break a}e=142;c=v[f+12>>2];if(c>>>0<4){break a}e=Zh(b,c,a+808|0);if(e){break a}c=v[f+12>>2];v[a+812>>2]=c;e=0;d=v[a+808>>2];b=w[d+2|0]<<8|w[d+3|0];j=b>>>0<32?b:32;b:{if(!j){break b}k=c+d|0;h=d+4|0;while(1){b=h;if(b+6>>>0>k>>>0){break b}c=w[b+3|0]|w[b+2|0]<<8;if(c>>>0<15){break b}c=b+c|0;h=c>>>0>k>>>0?k:c;c:{if(w[b+4|0]|(w[b+5|0]&3)!=1){break c}c=b+14|0;if(c>>>0>h>>>0){break c}l=1<>>8&65280|c>>>24);b=b+20|0;while(1){i=i-1|0;if(i){c=d;d=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);b=b+6|0;if(c>>>0>>0){continue}break c}break}n=n|l}g=g+1|0;if((j|0)!=(g|0)){continue}break}g=j}v[a+824>>2]=n;v[a+820>>2]=m;v[a+816>>2]=g}Ma=f+16|0;return e|0}function jv(a,b){var c=0,d=0,e=0;v[a>>2]=888092;v[a+4>>2]=v[b+4>>2];c=v[b+8>>2];d=a,e=Qa[v[v[c>>2]+8>>2]](c)|0,v[d+8>>2]=e;v[a+12>>2]=v[b+12>>2];v[a+16>>2]=v[b+16>>2];v[a+20>>2]=v[b+20>>2];v[a+24>>2]=v[b+24>>2];v[a+28>>2]=v[b+28>>2];v[a+32>>2]=v[b+32>>2];v[a+36>>2]=v[b+36>>2];v[a+40>>2]=v[b+40>>2];v[a+44>>2]=v[b+44>>2];v[a+48>>2]=v[b+48>>2];v[a+52>>2]=v[b+52>>2];v[a+56>>2]=v[b+56>>2];v[a+60>>2]=v[b+60>>2];v[a- -64>>2]=v[b- -64>>2];v[a+68>>2]=v[b+68>>2];v[a+72>>2]=v[b+72>>2];v[a+76>>2]=v[b+76>>2];v[a+80>>2]=v[b+80>>2];v[a+84>>2]=v[b+84>>2];v[a+88>>2]=v[b+88>>2];v[a+92>>2]=v[b+92>>2];v[a+96>>2]=v[b+96>>2];v[a+100>>2]=v[b+100>>2];v[a+104>>2]=v[b+104>>2];v[a+108>>2]=v[b+108>>2];v[a+112>>2]=v[b+112>>2];v[a+116>>2]=v[b+116>>2];v[a+120>>2]=v[b+120>>2];v[a+124>>2]=v[b+124>>2];v[a+128>>2]=v[b+128>>2];v[a+132>>2]=v[b+132>>2];v[a+136>>2]=v[b+136>>2];v[a+140>>2]=v[b+140>>2];A[a+144>>3]=A[b+144>>3];A[a+152>>3]=A[b+152>>3];A[a+160>>3]=A[b+160>>3];A[a+168>>3]=A[b+168>>3];v[a+176>>2]=v[b+176>>2];return a}function T3(a,b){var c=0,d=0,e=0;c=v[a+204>>2];a:{if(c){c=Qa[c|0](a,b)|0;if(c){break a}}c=b;while(1){d=c;c=c+1|0;if(w[d|0]){continue}break}b:{c:{d:{e:{switch((d-b|0)-4|0){case 0:a=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);d=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);c=21;b=42;a=0;while(1){e=v[(c<<2)+193056>>2];f:{if((d|0)>(e|0)){a=c+1|0;break f}if((d|0)>=(e|0)){break b}b=c-1|0}c=a+b>>1;if((a|0)<=(b|0)){continue}break};break d;case 4:c=0;d=w[b|0];if((d|0)==67){break c}if((d|0)!=100){break a}if(w[b+1|0]!=114|w[b+2|0]!=97|(w[b+3|0]!=102|w[b+4|0]!=116)){break d}if(w[b+5|0]!=32){break d}c=1;if((w[b+7|0]+B(w[b+6|0],10)|0)-528>>>0>99){break d}break a;case 3:break e;default:break d}}if(w[b|0]!=77|w[b+1|0]!=78|(w[b+2|0]!=71|w[b+3|0]!=45)){break d}if(w[b+4|0]!=49|w[b+5|0]!=46){break d}c=1;if((w[b+6|0]&254)==48){break a}}return 0}if(w[b+1|0]!=65|w[b+2|0]!=67|(w[b+3|0]!=72|w[b+4|0]!=69)){break a}if(w[b+5|0]!=79|w[b+6|0]!=70|(v[a+696>>2]|w[b+7|0]!=70)){break a}t[a+112|0]=0;t[a+114|0]=0}c=1}return c}function SG(a,b){var 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,x=0,y=0;f=Ma-256|0;Ma=f;while(1){e=d<<2;c=e+a|0;c=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);v[e+f>>2]=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);d=d+1|0;if((d|0)!=16){continue}break}d=16;l=v[f>>2];c=l;while(1){e=c;a=(d<<2)+f|0;c=v[a-8>>2];c=e+(v[a-28>>2]+(C3a(c,15)^C3a(c,13)^c>>>10)|0)|0;e=c;c=v[a-60>>2];x=a,y=e+(C3a(c,25)^C3a(c,14)^c>>>3)|0,v[x>>2]=y;d=d+1|0;if((d|0)!=64){continue}break}a=0;n=v[b>>2];m=n;o=v[b+4>>2];d=o;p=v[b+28>>2];g=p;q=v[b+24>>2];i=q;r=v[b+20>>2];j=r;s=v[b+16>>2];e=s;t=v[b+12>>2];h=t;u=v[b+8>>2];c=u;while(1){k=d;g=(v[(a<<2)+885776>>2]+((((e&j)+(C3a(e,26)^C3a(e,21)^C3a(e,7))|0)+g|0)+((e^-1)&i)|0)|0)+l|0;d=m;m=g+((C3a(d,30)^C3a(d,19)^C3a(d,10))+((c^k)&d^c&k)|0)|0;h=g+h|0;a=a+1|0;if((a|0)!=64){l=v[(a<<2)+f>>2];g=i;i=j;j=e;e=h;h=c;c=k;continue}break}v[b+28>>2]=i+p;v[b+24>>2]=j+q;v[b+20>>2]=e+r;v[b+16>>2]=h+s;v[b+12>>2]=c+t;v[b+8>>2]=k+u;v[b+4>>2]=d+o;v[b>>2]=m+n;Ma=f+256|0}function TQ(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;e=Ma-32|0;Ma=e;v[a>>2]=0;g=v[b+12>>2];i=g+v[b+8>>2]|0;a:{b:{while(1){f=g;if(f>>>0>=i>>>0){break b}v[e+16>>2]=f;h=Qa[v[v[b>>2]+60>>2]](b,e+16|0)|0;if((f|0)!=v[e+16>>2]){g=Qa[c|0](h)|0;g=g?v[e+16>>2]:f}if((f|0)!=(g|0)){continue}break}f=f-v[b+12>>2]|0;j=pc(e+16|0,e+28|0,(B(v[b+8>>2]-f|0,6)+f|0)+6|0,1);if((f|0)>=1){Sb(v[e+28>>2],v[b+12>>2],f)}h=v[e+28>>2];g=f+v[b+12>>2]|0;v[e+12>>2]=g;f=f+h|0;c:{if(g>>>0>=i>>>0){break c}while(1){h=Qa[v[v[b>>2]+60>>2]](b,e+12|0)|0;if(v[e+12>>2]==(g|0)){break c}d:{if(Qa[c|0](h)|0){h=g;g=v[e+12>>2]-g|0;f=Sb(f,h,g)+g|0;break d}v[e>>2]=0;v[e+4>>2]=0;f=(l=b,m=Qa[d|0](h)|0,n=f,o=e,k=v[v[b>>2]+56>>2],Qa[k](l|0,m|0,n|0,o|0)|0)}g=v[e+12>>2];if(i>>>0>g>>>0){continue}break}}t[f|0]=0;c=b;b=v[e+28>>2];Qr(e,c,b,0,f-b|0);jb(a,e);a=v[e>>2];v[e>>2]=0;e:{if(!a){break e}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break e}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}ec(j);break a}qb(a,b)}Ma=e+32|0}function MBa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;a:{b:{c:{a=v[a+12>>2];f=v[a+4280>>2];if(f>>>0>b>>>0){f=f-b|0;e=v[a+4284>>2];if(f>>>0<=(e-a|0)-184>>>0){v[a+4280>>2]=b;v[a+4284>>2]=e-f;break c}f=0;if(Mb(v[a>>2],0)){break a}v[a+12>>2]=0;v[a+16>>2]=0;v[a+104>>2]=0;v[a+48>>2]=0;v[a+36>>2]=0;v[a+40>>2]=0;t[a+44|0]=0;v[a- -64>>2]=9;e=a+4280|0;v[a+4288>>2]=e;v[a+4284>>2]=e;v[e>>2]=0}if(b>>>0<=f>>>0){break c}g=v[a+4284>>2];h=v[a+4288>>2]-g|0;e=b-f|0;b=e>>>0>h>>>0?h:e;v[a+4284>>2]=b+g;v[a+4280>>2]=b+f;b=e-b|0;if(b){g=a+12|0;while(1){f=0;e=b>>>0<4096?b:4096;if(zZ(g,0,e)>>>0>>0){break a}v[a+4280>>2]=e+v[a+4280>>2];b=b-e|0;if(b){continue}break}}if(d){break b}return 0}if(d){break b}return 0}g=a+184|0;i=a+12|0;e=v[a+4284>>2];b=v[a+4288>>2];f=0;while(1){b=b-e|0;b=b>>>0>>0?b:d;cb(c+f|0,e,b);v[a+4284>>2]=b+v[a+4284>>2];v[a+4280>>2]=b+v[a+4280>>2];f=b+f|0;d=d-b|0;if(!d){break a}v[a+4284>>2]=g;h=zZ(i,g,4096);e=v[a+4284>>2];b=h+e|0;v[a+4288>>2]=b;if(h){continue}break}}return f|0}function Dz(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=Ma-32|0;Ma=b;c=v[a+16>>2];a:{if(c>>>0>=93){v[a+16>>2]=c-93;c=v[a+4>>2];v[b+8>>2]=v[c>>2];v[a+4>>2]=c+4;Az(a,b+8|0);break a}b:{c:{d:{e:{e=v[a+8>>2];f=e-v[a+4>>2]>>2;d=v[a+12>>2];c=d-v[a>>2]|0;if(f>>>0>2>>>0){if((d|0)==(e|0)){break e}g=b,h=ab(4092),v[g+8>>2]=h;Az(a,b+8|0);break a}v[b+24>>2]=a+12;c=c?c>>1:1;if(c>>>0>=1073741824){break d}d=c<<2;c=ab(d);v[b+8>>2]=c;e=c+(f<<2)|0;v[b+16>>2]=e;v[b+20>>2]=c+d;v[b+12>>2]=e;g=b,h=ab(4092),v[g+4>>2]=h;Az(b+8|0,b+4|0);d=v[a+8>>2];if((d|0)==v[a+4>>2]){c=d;break b}while(1){d=d-4|0;AW(b+8|0,d);if(v[a+4>>2]!=(d|0)){continue}break}break c}g=b,h=ab(4092),v[g+8>>2]=h;c=b+8|0;AW(a,c);d=v[a+4>>2];v[b+8>>2]=v[d>>2];v[a+4>>2]=d+4;Az(a,c);break a}Zd(273730);L()}c=v[a+8>>2]}e=v[a>>2];v[a>>2]=v[b+8>>2];v[b+8>>2]=e;v[a+4>>2]=v[b+12>>2];v[b+12>>2]=d;v[a+8>>2]=v[b+16>>2];v[b+16>>2]=c;f=v[a+12>>2];v[a+12>>2]=v[b+20>>2];v[b+20>>2]=f;if((c|0)!=(d|0)){v[b+16>>2]=c+(((c-d|0)-4>>>2^-1)<<2)}if(!e){break a}$a(e)}Ma=b+32|0}function lya(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=-1;a:{if(!(!d|(!a|!b))){if(!c){v[b>>2]=0;v[d>>2]=0;return 0}f=v[b>>2]/2|0;e=v[d>>2];b:{if((e|0)<1){i=a;f=c;break b}k=c+e|0;m=(f<<1)+a|0;f=c;i=a;while(1){e=t[f|0];g=e&255;l=0;c:{if((e|0)>-1){j=0;break c}e=e&255;if(e>>>0<=191){v[b>>2]=i-a>>1;v[d>>2]=f-c;return-2}if(e>>>0<=223){g=g&31;l=1;j=1;break c}d:{if(e>>>0<=239){g=g&15;j=2;break d}if(e>>>0>247){break a}g=g&7;j=3}l=1}h=f+1|0;if((k-h|0)<(j|0)){break b}e:{f:{if(h>>>0>>0&l){while(1){g:{e=h+1|0;h=w[h|0];if((h&192)!=128){break g}g=h&63|g<<6;j=j-1|0;if(!j){break g}h=e;if(k>>>0>e>>>0){continue}}break}if(g>>>0>65535){break f}h=e}if(i>>>0>=m>>>0){break b}t[i|0]=g>>>8;j=i;e=h;f=1;break e}if(g>>>0>1114111){break b}j=i+2|0;if(m>>>0<=j>>>0){break b}f=g-65536|0;t[i+1|0]=f>>>10;t[i+2|0]=g>>>8&3|220;t[i|0]=f>>>18|216;f=2}t[j+1|0]=g;i=(f<<1)+i|0;f=e;if(k>>>0>e>>>0){continue}break}}v[b>>2]=i-a;v[d>>2]=f-c;h=v[b>>2]}return h|0}v[b>>2]=i-a>>1;v[d>>2]=f-c;return-2}function UWa(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;if(c){ob(a,1028,0,0);return 1028}a:{if(!w[a+286|0]){if(w[a+289|0]|(w[a+287|0]|w[a+288|0])){break a}ob(a,1029,0,0);return 1029}if(w[a+300|0]){break a}ob(a,1033,0,0);return 1033}v[a+48>>2]=v[a+48>>2]-1;d=0;f=Ma-16|0;Ma=f;b:{if(!w[a+114|0]){break b}c=a;d=v[(w[a+288|0]?a+528|0:a+512|0)>>2];if(!d){d=v[a+528>>2]}d=xL(c,0,0,t[d+31|0],0,0,0,0,0,d,f+12|0);if(d){break b}c=v[f+12>>2];v[c+4>>2]=695;v[c>>2]=696;g=v[a+700>>2];c:{if(g){v[g+8>>2]=c;break c}v[a+696>>2]=c}d=0;v[c+8>>2]=0;v[c+12>>2]=g;v[a+700>>2]=c;v[c+16>>2]=v[a+436>>2];v[c+20>>2]=v[a+440>>2];v[c+24>>2]=v[a+444>>2];if(v[a+516>>2]|(w[a+496|0]|!w[a+432|0])){break b}v[a+516>>2]=c}Ma=f+16|0;c=d;d:{if(c){break d}c=kL(a);if(c){break d}if(!w[a+497|0]){u[a+286>>1]=0;u[a+288>>1]=0;u[a+290>>1]=0;u[a+292>>1]=0;t[a+293|0]=0;t[a+294|0]=0;t[a+295|0]=0;t[a+296|0]=0;t[a+297|0]=0;t[a+298|0]=0;t[a+299|0]=0;t[a+300|0]=0}if(w[a+112|0]){c=Qa[v[b+4>>2]](a,b,e)|0;if(c){break d}}c=0}return c|0}function USa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=Ma-544|0;Ma=d;c=x[a+26308>>1];if(c){h=v[249419];b=x[a+26310>>1];while(1){b=b&65535;a:{if(!b){b=0;break a}k=g<<1&14;i=0;e=0;while(1){v[d+24>>2]=0;v[d+28>>2]=0;c=b-e|0;l=WK(a,d+32|0,(c|0)<256?c:256);if((c|0)>=1){b=b+i|0;b=(b|0)<256?b:256;m=(b|0)>1?b:1;c=0;while(1){b=u[(d+32|0)+(c<<1)>>1];if(!l){f=(d+24|0)+((c&1)<<2)|0;b=v[f>>2]+b|0;v[f>>2]=b}f=x[a+26316>>1];j=c+e|0;b=x[((b<<1)+a|0)+26484>>1];u[(v[a+26352>>2]+(B(x[a+26320>>1],g>>>f|0)+(j>>>f|0)<<3)|0)+((v[a+26028>>2]>>>((j&1|k)<<1)&3)<<1)>>1]=b;if(b>>>0>=4096){b:{if(v[a+26160>>2]){break b}v[d+16>>2]=v[a+25208>>2];vb(h,8292,d+16|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,h);break b}b=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[d>>2]=b;v[d+4>>2]=b>>31;vb(h,14622,d)}v[a+26160>>2]=1}c=c+1|0;if((m|0)!=(c|0)){continue}break}}i=i-256|0;b=x[a+26310>>1];e=e+256|0;if(b>>>0>e>>>0){continue}break}c=x[a+26308>>1]}g=g+1|0;if(g>>>0<(c&65535)>>>0){continue}break}}Ma=d+544|0}function QI(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0;i=w[v[a>>2]+236|0];v[g>>2]=0;v[f>>2]=0;if(w[a+11666|0]){h=e-c|0;e=i?0-h|0:h;j=v[a+4>>2];h=B(h>>16,b>>16);b=d-b|0;v[j+16>>2]=v[j+16>>2]+(h-B(b>>16,c>>16)|0);a:{b:{b=i?0-b|0:b;if((b|0)>=0){if((e|0)>=0){if((b|0)>e<<1){break b}c=v[a+11688>>2];if((e|0)>b<<1){v[f>>2]=c;a=v[a+11692>>2];break a}k=f,l=xb(45875,c),v[k>>2]=l;a=xb(19661,v[a+11692>>2]);break a}if((b|0)>(0-(e<<1)|0)){break b}c=v[a+11688>>2];if((0-e|0)>b<<1){v[f>>2]=0-c;a=v[a+11692>>2];break a}k=f,l=xb(-45874,c),v[k>>2]=l;a=xb(19661,v[a+11692>>2]);break a}c=0-b|0;if((e|0)>=0){if((c|0)>e<<1){v[f>>2]=0;a=v[a+11692>>2]<<1;break a}c=v[a+11688>>2];if((e|0)>(0-(b<<1)|0)){v[f>>2]=c;a=v[a+11692>>2];break a}k=f,l=xb(45875,c),v[k>>2]=l;a=xb(111411,v[a+11692>>2]);break a}if((c|0)>(0-(e<<1)|0)){v[f>>2]=0;a=v[a+11692>>2]<<1;break a}c=v[a+11688>>2];if((0-(b<<1)|0)<(0-e|0)){v[f>>2]=0-c;a=v[a+11692>>2];break a}k=f,l=xb(-45874,c),v[k>>2]=l;a=xb(111411,v[a+11692>>2]);break a}v[f>>2]=0;a=0}v[g>>2]=a}}function nga(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=Ma-16|0;Ma=f;d=v[b>>2];a:{if(d){if(Qa[v[v[d>>2]+20>>2]](d)|0){d=v[b>>2];Qa[v[v[d>>2]+28>>2]](f+8|0,d,1);d=v[f+8>>2];b:{if(d){if(!c){break b}b=v[d+12>>2];a=v[a+12>>2];if(!(!a|!w[a|0])){e=1;if(!b|!w[b|0]){break b}if((c|0)>=1){e=Kb(a,b,c);break b}e=hb(a,b);break b}if(!b){break b}e=w[b|0]?-1:0;break b}b=v[b>>2];Qa[v[v[a>>2]+24>>2]](f,a,2);b=Qa[v[v[b>>2]+36>>2]](b,f,c)|0;a=v[f>>2];v[f>>2]=0;c:{if(!a){break c}c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(c){break c}c=v[a+4>>2];if(!c){v[a+4>>2]=-32767}if(!c){Qa[v[v[a>>2]+4>>2]](a)}}e=0-b|0;d=v[f+8>>2]}v[f+8>>2]=0;if(!d){break a}a=v[d+4>>2]-1|0;v[d+4>>2]=a;if(a){break a}a=v[d+4>>2];if(!a){v[d+4>>2]=-32767}if(!a){Qa[v[v[d>>2]+4>>2]](d)}break a}if(!c){break a}b=v[v[b>>2]+12>>2];a=v[a+12>>2];if(!(!a|!w[a|0])){e=1;if(!b|!w[b|0]){break a}if((c|0)>=1){e=Kb(a,b,c);break a}e=hb(a,b);break a}if(!b){break a}e=w[b|0]?-1:0;break a}if(!c){break a}a=v[a+12>>2];if(a){e=1;if(w[a|0]){break a}}e=0}Ma=f+16|0;return e|0}function lDa(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,n=0;f=Ma-16|0;Ma=f;j=v[a+552>>2];a:{b:{g=x[(b?a+296|0:a+216|0)+34>>1];if(!g){break b}h=v[(b?856:852)+a>>2];k=h+v[(b?756:752)+a>>2]|0;i=v[a+104>>2];if(c>>>0>>0){g=h+(c<<2)|0;if(g+4>>>0>k>>>0){break b}g=Mb(i,g);v[f+12>>2]=g;if(g){break b}m=e,n=Ac(i,f+12|0),u[m>>1]=n;if(v[f+12>>2]){break b}m=d,n=Ac(i,f+12|0),u[m>>1]=n;if(!v[f+12>>2]){break a}break b}h=h+(g<<2)|0;if(h-2>>>0>k>>>0){break b}h=h-4|0;l=Mb(i,h);v[f+12>>2]=l;if(l){break b}m=e,n=Ac(i,f+12|0),u[m>>1]=n;if(v[f+12>>2]){break b}g=h+(c-g<<1)|0;if(g+6>>>0>k>>>0){u[d>>1]=0;break a}g=Mb(i,g+4|0);v[f+12>>2]=g;if(g){u[d>>1]=0;break a}m=d,n=Ac(i,f+12|0),u[m>>1]=n;break a}u[d>>1]=0;u[e>>1]=0}if(j){v[f+8>>2]=x[e>>1];v[f+4>>2]=u[d>>1];c:{d:{if(b){b=v[j+12>>2];if(b){Qa[b|0](a,c,f+8|0)|0}b=v[j+16>>2];if(b){break d}break c}b=v[j>>2];if(b){Qa[b|0](a,c,f+8|0)|0}b=v[j+4>>2];if(!b){break c}}Qa[b|0](a,c,f+4|0)|0}u[e>>1]=v[f+8>>2];u[d>>1]=v[f+4>>2]}Ma=f+16|0}function GX(a){var b=0,c=0,d=0;b=Ma-96|0;Ma=b;a:{if(!a){break a}if(!hb(a,326440)){c=v[249420];break a}b:{c:{d:{e:{if((a|0)!=326178){f:{d=w[a|0]&223;if((d|0)==70){if((w[a+1|0]&223)==73){break f}break e}if((a|0)==326305){break d}break c}if((w[a+2|0]&223)!=76|(w[a+3|0]&223)!=69|(w[a+4|0]!=58|w[a+5|0]!=47)){break e}if(w[a+6|0]!=47|(w[a+7|0]&223)!=76|((w[a+8|0]&223)!=79|(w[a+9|0]&223)!=67)){break e}if((w[a+10|0]&223)!=65|(w[a+11|0]&223)!=76|((w[a+12|0]&223)!=72|(w[a+13|0]&223)!=79)){break e}if((w[a+14|0]&223)!=83|(w[a+15|0]&223)!=84|w[a+16|0]!=47){break e}}a=a+16|0;break b}if((a|0)==326305){break d}if((d|0)!=70|(w[a+1|0]&223)!=73|((w[a+2|0]&223)!=76|(w[a+3|0]&223)!=69)){break c}if(w[a+4|0]!=58|w[a+5|0]!=47|(w[a+6|0]!=47|w[a+7|0]!=47)){break c}}a=a+7|0;break b}if((a|0)!=326283){if((d|0)!=70|(w[a+1|0]&223)!=73|((w[a+2|0]&223)!=76|(w[a+3|0]&223)!=69)){break b}if(w[a+4|0]!=58|w[a+5|0]!=47){break b}}a=a+5|0}if((co(a,b+8|0)|0)==-1){break a}c=ji(a,240365);if(c){break a}xH(a)}Ma=b+96|0;return c}function jA(a,b,c){var d=0,e=0,f=0;e=Ma-96|0;Ma=e;a:{b:{if(!a){break b}c:{d:{e:{f:{if((a|0)!=326178){g:{if((w[a|0]&223)==70){if((w[a+1|0]&223)==73){break g}d=a;if((a|0)==326305){break d}break c}d=a;if((a|0)!=326305){break c}break d}f=w[a+2|0]&223;if((f|0)!=76){break e}if((w[a+3|0]&223)!=69|w[a+4|0]!=58|(w[a+5|0]!=47|w[a+6|0]!=47)){break f}if((w[a+7|0]&223)!=76|(w[a+8|0]&223)!=79|((w[a+9|0]&223)!=67|(w[a+10|0]&223)!=65)){break f}if((w[a+11|0]&223)!=76|(w[a+12|0]&223)!=72|((w[a+13|0]&223)!=79|(w[a+14|0]&223)!=83)){break f}if((w[a+15|0]&223)!=84|w[a+16|0]!=47){break f}}d=a+16|0;break c}if((a|0)==326305){break d}d=a;if((f|0)!=76|(w[a+3|0]&223)!=69|(w[a+4|0]!=58|w[a+5|0]!=47)){break c}if(w[a+6|0]!=47){break c}if(w[a+7|0]==47){break d}break c}d=a;if((a|0)!=326305){break c}}d=a+7|0}if((co(d,e+8|0)|0)!=-1){break b}d=dA(a);if(!d){v[e>>2]=342139;a=0;nb(0,0,0,0,0,8,2,3,342139,0,0,0,340689,e);break a}a=Qa[v[256689]](d,b,c)|0;Qa[v[256556]](d);break a}a=Qa[v[256689]](a,b,c)|0}Ma=e+96|0;return a}function nXa(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,j=0,k=0,l=0;a:{if(f){if(!d){break a}a=c<<1;l=b<<1;b=0;while(1){i=x[e>>1];b:{if((i|0)==x[f>>1]){u[g>>1]=i;break b}i=w[e|0]|w[e+1|0]<<8;h=i;j=(h<<8|h>>>8)&65535;h=w[f|0]|w[f+1|0]<<8;i=j+((B(((h<<8|h>>>8)&65535)-((i<<8|i>>>8)&65535)|0,l)+c|0)/(a|0)|0)&65535;i=i<<8|i>>>8;t[g|0]=i;t[g+1|0]=i>>>8}i=g+2|0;h=x[e+2>>1];c:{if((h|0)==x[f+2>>1]){u[i>>1]=h;break c}h=e+2|0;j=w[h+1|0]<<8;k=w[h|0]|j;h=j|w[h|0];j=(h<<8|h>>>8)&65535;h=w[f+2|0]|w[f+3|0]<<8;h=j+((B(((h<<8|h>>>8)&65535)-((k<<8|k>>>8)&65535)|0,l)+c|0)/(a|0)|0)&65535;h=h<<8|h>>>8;t[i|0]=h;t[i+1|0]=h>>>8}i=g+4|0;h=x[e+4>>1];d:{if((h|0)==x[f+4>>1]){u[i>>1]=h;break d}h=e+4|0;j=w[h+1|0]<<8;k=w[h|0]|j;h=j|w[h|0];j=(h<<8|h>>>8)&65535;h=w[f+4|0]|w[f+5|0]<<8;h=j+((B(((h<<8|h>>>8)&65535)-((k<<8|k>>>8)&65535)|0,l)+c|0)/(a|0)|0)&65535;h=h<<8|h>>>8;t[i|0]=h;t[i+1|0]=h>>>8}f=f+6|0;e=e+6|0;g=g+6|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}break a}cb(g,e,B(d,6))}return 0}function bta(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;c=Ma-144|0;Ma=c;v[c+128>>2]=13;d=v[a+28>>2];a:{if(v[d+664>>2]){d=-1;a=v[a+108>>2];b:{if(!a){break b}a=v[a+4>>2];if(v[a+8>>2]==13){break b}a=v[a+16>>2];d=Qa[v[v[a>>2]+52>>2]](a)|0}fb(0,d,245260,0);break a}e=v[d+380>>2];if(e){Qa[v[v[e>>2]+4>>2]](e)}v[d+380>>2]=0;d=v[a+20>>2];c:{d:{e=v[b+8>>2];e:{if(!hb(e,220215)){break e}if(!hb(e,313008)){break e}if(!hb(e,311188)){break e}while(1){if(v[d+24>>2]==7){if(v[ib(v[d+32>>2],e,c+128|0,0)>>2]!=5){break d}bb(c+128|0)}d=v[d+104>>2];if(d){continue}break}}v[c+128>>2]=5;break c}b=v[c+128>>2]==5?b:c+128|0}b=mm(b,0);bb(c+128|0);if(b){e=v[a+28>>2];d=v[e+116>>2];if(d){Qa[v[v[d>>2]+4>>2]](d)}v[e+116>>2]=b;d=v[a+8>>2];Qa[v[v[d>>2]+108>>2]](d,v[a+28>>2]);Qa[v[v[b>>2]+32>>2]](b,c);cb(v[a+28>>2]+124|0,c,128);b=v[a+8>>2];Qa[v[v[b>>2]+116>>2]](b,v[a+28>>2]);break a}d=-1;a=v[a+108>>2];f:{if(!a){break f}a=v[a+4>>2];if(v[a+8>>2]==13){break f}a=v[a+16>>2];d=Qa[v[v[a>>2]+52>>2]](a)|0}fb(1,d,330436,0)}Ma=c+144|0}function Pta(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;c=Ma-144|0;Ma=c;v[c+128>>2]=13;d=v[a+28>>2];a:{if(v[d+664>>2]){d=-1;a=v[a+108>>2];b:{if(!a){break b}a=v[a+4>>2];if(v[a+8>>2]==13){break b}a=v[a+16>>2];d=Qa[v[v[a>>2]+52>>2]](a)|0}fb(0,d,245260,0);break a}e=v[d+384>>2];if(e){Qa[v[v[e>>2]+4>>2]](e)}v[d+384>>2]=0;d=v[a+20>>2];c:{d:{e=v[b+8>>2];e:{if(!hb(e,220215)){break e}if(!hb(e,313008)){break e}if(!hb(e,311188)){break e}while(1){if(v[d+24>>2]==7){if(v[ib(v[d+32>>2],e,c+128|0,0)>>2]!=5){break d}bb(c+128|0)}d=v[d+104>>2];if(d){continue}break}}v[c+128>>2]=5;break c}b=v[c+128>>2]==5?b:c+128|0}b=mm(b,0);bb(c+128|0);if(b){e=v[a+28>>2];d=v[e+120>>2];if(d){Qa[v[v[d>>2]+4>>2]](d)}v[e+120>>2]=b;d=v[a+8>>2];Qa[v[v[d>>2]+112>>2]](d,v[a+28>>2]);Qa[v[v[b>>2]+32>>2]](b,c);cb(v[a+28>>2]+252|0,c,128);b=v[a+8>>2];Qa[v[v[b>>2]+120>>2]](b,v[a+28>>2]);break a}d=-1;a=v[a+108>>2];f:{if(!a){break f}a=v[a+4>>2];if(v[a+8>>2]==13){break f}a=v[a+16>>2];d=Qa[v[v[a>>2]+52>>2]](a)|0}fb(1,d,330786,0)}Ma=c+144|0}function tW(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=v[a+4>>2];b=i<<1|1;v[a+4>>2]=b;k=v[a+12>>2];b=Pb(b,4);v[a+12>>2]=b;g=v[a+4>>2];a:{if((g|0)<1){break a}v[b>>2]=0;if((g|0)==1){break a}b=g-1|0;d=b&3;c=1;if(g-2>>>0>=3){e=b&-4;while(1){b=c<<2;v[b+v[a+12>>2]>>2]=0;v[(b+v[a+12>>2]|0)+4>>2]=0;v[(b+v[a+12>>2]|0)+8>>2]=0;v[(b+v[a+12>>2]|0)+12>>2]=0;c=c+4|0;e=e-4|0;if(e){continue}break}}if(!d){break a}while(1){v[v[a+12>>2]+(c<<2)>>2]=0;c=c+1|0;d=d-1|0;if(d){continue}break}}if((i|0)>0){while(1){l=(j<<2)+k|0;while(1){h=v[l>>2];if(h){v[l>>2]=v[h+8>>2];b=v[h>>2];f=v[b>>2];b:{if((f|0)<1){d=0;break b}e=f&3;c=v[b+4>>2];d=0;c:{if(f-1>>>0<3){b=c;break c}f=f&-4;while(1){d=w[c+3|0]+B(w[c+2|0]+B(w[c+1|0]+B(w[c|0]+B(d,17)|0,17)|0,17)|0,17)|0;b=c+4|0;c=b;f=f-4|0;if(f){continue}break}}if(!e){break b}while(1){d=w[b|0]+B(d,17)|0;b=b+1|0;e=e-1|0;if(e){continue}break}}b=v[a+12>>2]+((d>>>0)%(g>>>0)<<2)|0;v[h+8>>2]=v[b>>2];v[b>>2]=h;continue}break}j=j+1|0;if((i|0)!=(j|0)){continue}break}}tb(k)}function S_a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=v[v[a+2248>>2]+88>>2];c=v[b+1168>>2];c=(v[b+1176>>2]+B(c,v[a+572>>2])|0)+B(c,v[a+2268>>2])|0;b=v[b+1164>>2];c=(c+B(b,v[a+580>>2])|0)+B(b,v[a+2264>>2])|0;e=v[a+636>>2]+v[a+616>>2]|0;b=v[a+588>>2];a:{b:{if(w[a+2253|0]!=4){if((b|0)<=0){break a}b=0;while(1){if(!(b&255)){h=w[e|0];d=4;e=e+1|0;b=240}t[c|0]=w[c|0]+((b&h)>>>d|0)&15;d=d-4|0;b=(b&240)>>>4|0;c=v[a+584>>2]+c|0;f=f+1|0;g=v[a+588>>2];if((f|0)<(g|0)){continue}break}break b}if((b|0)<1){break a}b=0;while(1){if(!(b&255)){h=w[e|0];d=4;e=e+1|0;b=240}t[c|0]=(b&h)>>>d;d=d-4|0;b=(b&240)>>>4|0;c=v[a+584>>2]+c|0;f=f+1|0;g=v[a+588>>2];if((f|0)<(g|0)){continue}break}}if((g|0)<1){break a}b=v[a+540>>2];d=(v[b+1176>>2]+B(v[a+572>>2],v[b+1168>>2])|0)+B(v[a+580>>2],v[b+1164>>2])|0;f=v[a+636>>2]+v[a+616>>2]|0;b=0;c=0;g=0;e=0;while(1){if(!(c&255)){g=w[f|0];c=240;f=f+1|0;b=4}t[d|0]=(c&g&255)>>>b;b=b-4|0;c=(c&240)>>>4|0;d=v[a+584>>2]+d|0;e=e+1|0;if((e|0)>2]){continue}break}}return 0}function rq(a,b){var c=0;a:{b:{if(!(a&131072)){c:{switch(b-47|0){default:if((b|0)==32){break b}break;case 0:case 15:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:break c}}a=1;if((b&-33)-65>>>0<26|b-48>>>0<11|((b|0)==95|b-45>>>0<2)){break a}if((b|0)==183|b-192>>>0<23|(b-216>>>0<31|b-248>>>0<520)){break a}if(b-768>>>0<112|b-880>>>0<14|((b&-2)==8204|b-895>>>0<7297)){break a}if(b-8255>>>0<2|b-8304>>>0<288|(b-11264>>>0<1008|b-12289>>>0<43007)){break a}if(b-63744>>>0<1232|b-65008>>>0<526){break a}if(b-65536>>>0>=917504){break b}break a}d:{if((b|0)<=255){a=1;if((b&-33)-65>>>0<26|b-192>>>0<23|(b-48>>>0<10|(b|0)>247)){break a}if(b-216>>>0>=31){break d}break a}a=1;if(xl(b,870612)|b-12321>>>0<9|((b|0)==12295|b-19968>>>0<20902)){break a}if(xl(b,871096)){break a}}c=b-45|0;if((b|0)==95|(1<>>0<=13:0)){break a}if((b|0)>=256){if(xl(b,871020)){break a}if(xl(b,871160)){break a}break b}if((b|0)==183){break a}}a=0}return a}function T_a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=v[v[a+2248>>2]+88>>2];c=v[b+1168>>2];c=(v[b+1176>>2]+B(c,v[a+572>>2])|0)+B(c,v[a+2268>>2])|0;b=v[b+1164>>2];c=(c+B(b,v[a+580>>2])|0)+B(b,v[a+2264>>2])|0;e=v[a+636>>2]+v[a+616>>2]|0;b=v[a+588>>2];a:{b:{if(w[a+2253|0]!=4){if((b|0)<=0){break a}b=0;while(1){if(!(b&255)){h=w[e|0];d=6;e=e+1|0;b=192}t[c|0]=w[c|0]+((b&h)>>>d|0)&3;d=d-2|0;b=(b&252)>>>2|0;c=v[a+584>>2]+c|0;f=f+1|0;g=v[a+588>>2];if((f|0)<(g|0)){continue}break}break b}if((b|0)<1){break a}b=0;while(1){if(!(b&255)){h=w[e|0];d=6;e=e+1|0;b=192}t[c|0]=(b&h)>>>d;d=d-2|0;b=(b&252)>>>2|0;c=v[a+584>>2]+c|0;f=f+1|0;g=v[a+588>>2];if((f|0)<(g|0)){continue}break}}if((g|0)<1){break a}b=v[a+540>>2];d=(v[b+1176>>2]+B(v[a+572>>2],v[b+1168>>2])|0)+B(v[a+580>>2],v[b+1164>>2])|0;f=v[a+636>>2]+v[a+616>>2]|0;b=0;c=0;g=0;e=0;while(1){if(!(c&255)){g=w[f|0];c=192;f=f+1|0;b=6}t[d|0]=(c&g&255)>>>b;b=b-2|0;c=(c&252)>>>2|0;d=v[a+584>>2]+d|0;e=e+1|0;if((e|0)>2]){continue}break}}return 0}function kxa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;g=v[a+420>>2];if(v[a+236>>2]){c=v[g+68>>2];if(!c){Fv(a,v[g+72>>2]);c=v[a+236>>2];v[g+68>>2]=c;v[g+72>>2]=v[g+72>>2]+1&7}v[g+68>>2]=c-1}if(v[a+316>>2]>=1){while(1){d=k<<2;f=v[(d+a|0)+320>>2]<<2;l=v[v[(f+a|0)+292>>2]+20>>2];i=(l<<2)+g|0;c=g+f|0;f=c;h=v[i+76>>2]+v[c+52>>2]|0;e=u[v[b+d>>2]>>1]>>v[a+372>>2];d=e-v[c+36>>2]|0;a:{if(!d){Hd(a,h,0);v[f+52>>2]=0;break a}v[c+36>>2]=e;Hd(a,h,1);c=0;b:{if((d|0)>0){m=0;n=4;j=2;break b}d=0-d|0;m=1;n=8;j=3}e=j;Hd(a,h+1|0,m);v[f+52>>2]=n;e=e+h|0;h=d-1|0;c:{if(!h){break c}c=1;Hd(a,e,1);e=v[i+76>>2]+20|0;d=h;if((d|0)==1){break c}while(1){Hd(a,e,1);e=e+1|0;c=c<<1;d=d>>1;if(d>>>0>1){continue}break}}Hd(a,e,0);j=f;i=a+l|0;d:{if(1<>1<=(c|0)){if(1<>1>=(c|0)){break d}f=v[f+52>>2]+8|0}else{f=0}v[j+52>>2]=f}if(c>>>0<2){break a}d=e+14|0;while(1){c=c>>1;Hd(a,d,(h&c)!=0);if(c>>>0>1){continue}break}}k=k+1|0;if((k|0)>2]){continue}break}}return 1}function ZT(a,b){var c=0,d=0,e=0,f=0,g=0;v[a+32>>2]=v[a+32>>2]+2;g=ab(8);e=Qd(g);c=v[a+32>>2];d=v[a+36>>2];a:{if(c>>>0>=d>>>0|!w[w[c|0]+959376|0]){break a}v[a+32>>2]=c+1;$b(e,t[c|0]);c=v[a+32>>2];d=v[a+36>>2];if(c>>>0>=d>>>0|!w[w[c|0]+959632|0]){break a}while(1){v[a+32>>2]=c+1;$b(e,t[c|0]);c=v[a+32>>2];d=v[a+36>>2];if(c>>>0>=d>>>0){break a}if(w[w[c|0]+959632|0]){continue}break}}b:{if(c>>>0>=d>>>0){break b}while(1){e=w[c|0]-9|0;if(e>>>0>23|!(1<>2]=c;if((c|0)!=(d|0)){continue}break}c=d}if(d-2>>>0>=c>>>0){f=((c^-1)+d|0)+c|0;e=c;while(1){if(!Kb(e,313348,2)){d=ab(28);f=ab(8);Uh(f,c,e-c|0);v[d+24>>2]=f;v[d+20>>2]=g;v[d>>2]=960088;v[d+12>>2]=0;v[d+16>>2]=0;v[d+4>>2]=0;v[d+8>>2]=0;Qa[v[v[b>>2]+48>>2]](b,d);v[a+32>>2]=v[a+32>>2]+2;return}e=e+1|0;v[a+32>>2]=e;if((e|0)!=(f|0)){continue}break}}v[a+32>>2]=d;a=ab(28);e=ab(8);Uh(e,c,d-c|0);v[a+24>>2]=e;v[a+20>>2]=g;v[a>>2]=960088;v[a+12>>2]=0;v[a+16>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;Qa[v[v[b>>2]+48>>2]](b,a)}function ej(a){var 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,w=0;b=v[a+596>>2];u=v[b+28>>2];if((u|0)>=1){m=A[a+56>>3];n=A[a+40>>3];o=A[a+24>>3];p=A[a+48>>3];q=A[a+32>>3];r=A[a+16>>3];w=v[b+24>>2];while(1){b=v[(k<<2)+w>>2];l=v[b+12>>2];a:{if((l|0)<1){break a}s=v[b+4>>2];t=v[b>>2];b=0;if(!k){b=1;d=A[t>>3];e=A[s>>3];g=p+(d*r+e*q);h=g;d=m+(d*o+e*n);e=d;if((l|0)==1){break a}while(1){i=b<<3;c=A[i+t>>3];j=A[s+i>>3];f=m+(c*o+j*n);c=p+(c*r+j*q);b:{if(ch)){break b}h=c}c:{if(fd)){break c}d=f}b=b+1|0;if((l|0)!=(b|0)){continue}break}break a}while(1){i=b<<3;c=A[i+t>>3];j=A[s+i>>3];f=m+(c*o+j*n);c=p+(c*r+j*q);d:{if(ch)){break d}h=c}e:{if(fd)){break e}d=f}b=b+1|0;if((l|0)!=(b|0)){continue}break}}k=k+1|0;if((u|0)!=(k|0)){continue}break}}if(A[a+632>>3]>3]=g}if(A[a+640>>3]>3]=e}if(A[a+648>>3]>h){A[a+648>>3]=h}if(A[a+656>>3]>d){A[a+656>>3]=d}}function jr(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=c-b|0;if((d|0)<1){return 0}c=(b>>3)+a|0;a:{b=b&7;b:{c:{if(!b){a=0;break c}a=8-b|0;e=w[(w[c|0]<>>0>>0?a:e;a=(a|0)>(d|0)?d:a;if((b+a|0)<8){break b}c=c+1|0;d=d-a|0}d:{if((d|0)<64){b=d;break d}e:{if(!(c&3)){b=d;break e}b=w[c|0];if((b|0)!=255){e=a;break a}g=d-8|0;e=a+8|0;h=c+1|0;f:{if(!(h&3)){b=g;g=d;c=h;break f}b=w[h|0];if((b|0)!=255){break a}h=d-16|0;e=a+16|0;f=c+2|0;if(!(f&3)){b=h;c=f;break f}b=w[f|0];if((b|0)!=255){break a}g=d-24|0;e=a+24|0;f=c+3|0;if(!(f&3)){b=g;g=h;c=f;break f}b=w[f|0];if((b|0)!=255){break a}b=d-32|0;e=a+32|0;c=c+4|0}a=e;if((g|0)<40){break d}}d=b;while(1){if(v[c>>2]!=-1){b=d;break d}c=c+4|0;a=a+32|0;e=(d|0)>63;b=d-32|0;d=b;if(e){continue}break}}g:{if((b|0)<8){e=b;break g}while(1){d=w[c|0];if((d|0)!=255){return w[d+86496|0]+a|0}c=c+1|0;a=a+8|0;d=(b|0)>15;e=b-8|0;b=e;if(d){continue}break}}if((e|0)<1){break b}b=a;a=w[w[c|0]+86496|0];a=b+((a|0)>(e|0)?e:a)|0}return a}return w[b+86496|0]+e|0}function Bga(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=Ma-16|0;Ma=f;d=v[b>>2];a:{if(d){if(Qa[v[v[d>>2]+16>>2]](d)|0){Qa[v[v[a>>2]+28>>2]](f+8|0,a,1);d=v[f+8>>2];b:{if(d){if(!c){break b}a=v[v[b>>2]+12>>2];b=v[d+12>>2];if(!(!b|!w[b|0])){e=1;if(!a|!w[a|0]){break b}if((c|0)>=1){e=Kb(b,a,c);break b}e=hb(b,a);break b}if(!a){break b}e=w[a|0]?-1:0;break b}b=v[b>>2];Qa[v[v[b>>2]+24>>2]](f,b,2);e=Qa[v[v[a>>2]+36>>2]](a,f,c)|0;a=v[f>>2];v[f>>2]=0;c:{if(!a){break c}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break c}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}d=v[f+8>>2]}v[f+8>>2]=0;if(!d){break a}a=v[d+4>>2]-1|0;v[d+4>>2]=a;if(a){break a}a=v[d+4>>2];if(!a){v[d+4>>2]=-32767}if(!a){Qa[v[v[d>>2]+4>>2]](d)}break a}if(!c){break a}b=v[v[b>>2]+12>>2];a=v[a+12>>2];if(!(!a|!w[a|0])){e=1;if(!b|!w[b|0]){break a}if((c|0)>=1){e=Kb(a,b,c);break a}e=hb(a,b);break a}if(!b){break a}e=w[b|0]?-1:0;break a}if(!c){break a}a=v[a+12>>2];if(a){e=1;if(w[a|0]){break a}}e=0}Ma=f+16|0;return e|0}function yH(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;if(!a){return 0}c=eA(0,v[a+8>>2],v[a+52>>2],v[a+56>>2]);if(c){b=v[a+48>>2];if(b){g=c,h=Sv(b,2702),v[g+48>>2]=h}b=v[a+36>>2];if(b){g=c,h=Sv(b,2722),v[g+36>>2]=h}b=v[a+40>>2];if(b){g=c,h=Sv(b,2718),v[g+40>>2]=h}b=v[a+44>>2];if(b){g=c,h=Sv(b,2720),v[g+44>>2]=h}b=v[a+60>>2];if(b){g=c,h=Sv(b,2702),v[g+60>>2]=h}a=v[a+12>>2];a:{if(!a){break a}f=c+12|0;while(1){b:{c:{d:{e:{switch(v[a+4>>2]-8|0){case 9:f:{switch(v[a+48>>2]-1|0){case 0:case 1:case 2:b=v[c+48>>2];d=0;if(!b){break d}d=le(b,v[a+8>>2],0,0);break d;case 3:case 4:break f;default:break c}}b=v[c+60>>2];d=0;if(!b){break d}d=le(b,v[a+8>>2],0,0);break d;case 7:d=Qz(c,v[a+8>>2],v[a+48>>2]);break d;case 8:d=Ao(c,v[a+60>>2],v[a+8>>2],v[a+56>>2]);break d;case 0:break e;default:break c}}d=Mv(a,0,0,0)}b=d;if(b){break b}}a=v[a+24>>2];if(a){continue}break a}v[(e?e+24|0:f)>>2]=b;v[b+24>>2]=0;v[b+20>>2]=c;v[b+28>>2]=e;v[c+16>>2]=b;e=b;a=v[a+24>>2];if(a){continue}break}}}else{c=0}return c}function sA(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0;i=(v[a+24>>2]+a|0)+(h<<2)|0;l=i+4|0;j=(v[a+20>>2]+a|0)+(h<<1)|0;m=j+2|0;h=v[i>>2];j=x[j>>1];a:{b:{c:{d:{e:{if(!c){if((h&-1610612736)==-2147483648){break e}if(!j){break a}i=g+1|0;g=(g<<1)+f|0;break d}if(h&536870912){break c}}f:{if((h>>>24&31)<(d|0)){break f}if(((e>>>0<65536?1:2)|0)==(g|0)){Qa[v[b+4>>2]](v[b>>2],e);break f}Qa[v[b+12>>2]](v[b>>2],f,g)}if(!j){break a}i=g+1|0;g=(g<<1)+f|0;h=g;if(c){break b}}h=0;while(1){u[g>>1]=x[(h<<1)+m>>1];c=v[(h<<2)+l>>2];g:{if(!c){break g}if(c>>>0>=16777216){if((c&-1610612736)!=-2147483648|(c>>>24&31)<(d|0)){break g}Qa[v[b+12>>2]](v[b>>2],f,i);break g}sA(a,b,0,d,e,f,i,c)}h=h+1|0;if((j|0)!=(h|0)){continue}break}break a}if(!j){break a}i=g+1|0;h=(g<<1)+f|0}g=h;h=0;while(1){u[g>>1]=x[(h<<1)+m>>1];k=v[(h<<2)+l>>2];h:{if(!k){break h}if(k>>>0<=16777215){sA(a,b,c,d,e,f,i,k);break h}if(k&536870912|(k>>>24&31)<(d|0)){break h}Qa[v[b+12>>2]](v[b>>2],f,i)}h=h+1|0;if((j|0)!=(h|0)){continue}break}}}function qZa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=v[a+2308>>2];a:{if(!c){break a}b=v[a+2316>>2];d=v[a+2312>>2];e=v[a+2300>>2];if(w[e+56|0]){if((c|0)!=1){a=c&-2;while(1){f=x[d>>1];if((f|0)!=x[e+836>>1]){u[b+6>>1]=65535}u[b+4>>1]=f;u[b+2>>1]=f;u[b>>1]=f;f=x[d+2>>1];if((f|0)!=x[e+836>>1]){u[b+14>>1]=65535}u[b+12>>1]=f;u[b+10>>1]=f;u[b+8>>1]=f;b=b+16|0;d=d+4|0;a=a-2|0;if(a){continue}break}}if(!(c&1)){break a}a=x[d>>1];if((a|0)!=x[e+836>>1]){u[b+6>>1]=65535}u[b+4>>1]=a;u[b+2>>1]=a;u[b>>1]=a;return 0}e=c&3;if(c-1>>>0>=3){a=c&-4;while(1){c=x[d>>1];u[b+4>>1]=c;u[b+2>>1]=c;u[b>>1]=c;u[b+6>>1]=65535;c=x[d+2>>1];u[b+12>>1]=c;u[b+10>>1]=c;u[b+8>>1]=c;u[b+14>>1]=65535;c=x[d+4>>1];u[b+20>>1]=c;u[b+18>>1]=c;u[b+16>>1]=c;u[b+22>>1]=65535;c=x[d+6>>1];u[b+28>>1]=c;u[b+26>>1]=c;u[b+24>>1]=c;u[b+30>>1]=65535;b=b+32|0;d=d+8|0;a=a-4|0;if(a){continue}break}}if(!e){break a}while(1){a=x[d>>1];u[b+4>>1]=a;u[b+2>>1]=a;u[b>>1]=a;u[b+6>>1]=65535;b=b+8|0;d=d+2|0;e=e-1|0;if(e){continue}break}}return 0}function _Ba(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=Ma-16|0;Ma=e;h=v[a+100>>2];v[e+8>>2]=0;c=3;a:{if(!v[a+868>>2]){break a}c=Qa[v[a+516>>2]](a,1129270354,b,e+4|0)|0;v[e+12>>2]=c;b:{if(c){break b}c:{c=v[e+4>>2];if(c>>>0<14){break c}c=Zh(b,c,e+8|0);v[e+12>>2]=c;if(c){break b}c=v[e+8>>2];f=cc(h,24,e+12|0);if(v[e+12>>2]){break b}d=w[c|0]|w[c+1|0]<<8;d=d<<8|d>>>8;u[f>>1]=d;if(d&65535){break c}d=w[c+2|0]|w[c+3|0]<<8;g=d<<8|d>>>8;u[f+2>>1]=g;d=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);i=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=v[e+4>>2];if(i>>>0>=d>>>0|d-i>>>0>>0){break c}g=w[c+8|0]|w[c+9|0]<<8|(w[c+10|0]<<16|w[c+11|0]<<24);c=w[c+12|0]|w[c+13|0]<<8;j=c<<8|c>>>8;u[f+4>>1]=j;c=g<<8&16711680|g<<24|(g>>>8&65280|g>>>24);if(c>>>0>=d>>>0|d-c>>>0<(j&65535)<<2>>>0){break c}b=v[e+8>>2];v[f+20>>2]=d;v[f+16>>2]=b;v[f+12>>2]=b+c;v[f+8>>2]=b+i;v[a+872>>2]=f;c=0;break a}v[e+12>>2]=8}Oe(b,e+8|0);if(f){Qa[v[h+8>>2]](h,f)}c=v[e+12>>2]}Ma=e+16|0;return c|0}function Y_a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=v[v[a+2248>>2]+88>>2];d=v[b+1168>>2];c=(v[b+1176>>2]+B(d,v[a+572>>2])|0)+B(d,v[a+2268>>2])|0;b=v[b+1164>>2];b=(c+B(b,v[a+580>>2])|0)+B(b,v[a+2264>>2])|0;d=v[a+636>>2]+v[a+616>>2]|0;c=v[a+588>>2];a:{b:{if(w[a+2253|0]!=4){if((c|0)<=0){break a}while(1){c=w[b|0]|w[b+1|0]<<8;f=(c<<8|c>>>8)&65535;c=w[d|0]|w[d+1|0]<<8;c=f+((c<<8|c>>>8)&65535)&65535;c=c<<8|c>>>8;t[b|0]=c;t[b+1|0]=c>>>8;d=d+2|0;b=(v[a+584>>2]<<1)+b|0;c=v[a+588>>2];e=e+1|0;if((c|0)>(e|0)){continue}break}break b}if((c|0)<1){break a}while(1){t[b|0]=w[d|0];t[b+1|0]=w[d+1|0];d=d+2|0;b=(v[a+584>>2]<<1)+b|0;c=v[a+588>>2];e=e+1|0;if((c|0)>(e|0)){continue}break}}if((c|0)<1){break a}b=v[a+540>>2];b=(v[b+1176>>2]+B(v[a+572>>2],v[b+1168>>2])|0)+B(v[a+580>>2],v[b+1164>>2])|0;d=v[a+636>>2]+v[a+616>>2]|0;c=0;while(1){e=w[d|0]|w[d+1|0]<<8;e=(e<<8|e>>>8)&65535;e=e<<8|e>>>8;t[b|0]=e;t[b+1|0]=e>>>8;d=d+2|0;b=(v[a+584>>2]<<1)+b|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function $G(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=v[b>>2];a:{if((d|0)<1){break a}g=d&3;e=v[b+4>>2];if(d-1>>>0>=3){h=d&-4;d=e;while(1){f=w[d+3|0]+B(w[d+2|0]+B(w[d+1|0]+B(w[d|0]+B(f,17)|0,17)|0,17)|0,17)|0;e=d+4|0;d=e;h=h-4|0;if(h){continue}break}}if(!g){break a}while(1){f=w[e|0]+B(f,17)|0;e=e+1|0;g=g-1|0;if(g){continue}break}}b:{c:{d:{e:{e=v[a+4>>2];d=v[v[a+12>>2]+((f>>>0)%(e>>>0)<<2)>>2];if(d){while(1){if(!vh(v[d>>2],b)){break e}d=v[d+8>>2];if(d){continue}break}e=v[a+4>>2]}if((e|0)<=v[a+8>>2]){tW(a)}i=ab(12);v[i+4>>2]=c;v[i>>2]=b;c=v[b>>2];if((c|0)>=1){break d}f=0;break c}v[d+4>>2]=c;if(!v[a>>2]|!b){break b}$a(Bb(b));return}g=c&3;e=v[b+4>>2];f:{if(c-1>>>0<3){f=0;break f}h=c&-4;f=0;d=e;while(1){f=w[d+3|0]+B(w[d+2|0]+B(w[d+1|0]+B(w[d|0]+B(f,17)|0,17)|0,17)|0,17)|0;e=d+4|0;d=e;h=h-4|0;if(h){continue}break}}if(!g){break c}while(1){f=w[e|0]+B(f,17)|0;e=e+1|0;g=g-1|0;if(g){continue}break}}b=v[a+12>>2]+((f>>>0)%y[a+4>>2]<<2)|0;v[i+8>>2]=v[b>>2];v[b>>2]=i;v[a+8>>2]=v[a+8>>2]+1}}function w3(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=C(0),k=0,l=0,m=C(0);c=v[a+156>>2]&-3;f=+(B(x[a+26308>>1],x[a+26310>>1])|0)*.01;a:{if(D(f)<2147483648){d=~~f;break a}d=-2147483648}if(v[a+196>>2]|c){d=-1}else{d=x[a+26322>>1]?(d|0)/2|0:d}l=v[a+26336>>2];if((l|0)>=1){while(1){h=0;c=8192;while(1){b:{g=h;h=(k<<15)+a|0;e=c-1|0;g=g+v[(h+(e<<2)|0)+59396>>2]|0;if((g|0)>(d|0)){break b}e=c-2|0;g=g+v[(h+(e<<2)|0)+59396>>2]|0;if((g|0)>(d|0)){break b}e=c-3|0;g=g+v[(h+(e<<2)|0)+59396>>2]|0;if((g|0)>(d|0)){break b}if(e>>>0<34){e=32;break b}c=c-4|0;e=c;h=g+v[(h+(c<<2)|0)+59396>>2]|0;if((d|0)>=(h|0)){continue}}break}m=C(e|0);j=j>2]));c=0;while(1){e=b+c|0;f=+C(C(c|0)/j);i=f;c:{if(!v[a+26136>>2]){break c}i=A[a+120>>3]*f;if(f<=A[a+128>>3]){break c}i=A[a+136>>3];i=pd(f,A[a+112>>3])*(i+1)-i}f=i*256;d:{if(D(f)<2147483648){d=~~f;break d}d=-2147483648}t[e|0]=(d|0)<255?d:255;c=c+1|0;if((c|0)!=65536){continue}break}}function GJ(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;v[a+36>>2]=0;q=.5/A[a>>3];A[a+8>>3]=q*q;k=v[a+40>>2];n=v[a+36>>2];l=n>>>6|0;if(k>>>0<=l>>>0){j=v[a+44>>2];a:{if(j>>>0>l>>>0){m=v[a+48>>2];break a}j=j+v[a+52>>2]|0;m=ab((j|0)!=(j&1073741823)?-1:j<<2);p=a;o=v[a+48>>2];if(o){cb(m,o,k<<2);$a(o);n=v[a+36>>2];k=v[a+40>>2];j=v[a+44>>2]+v[a+52>>2]|0}v[p+44>>2]=j;v[a+48>>2]=m}r=(l<<2)+m|0,s=ab(1024),v[r>>2]=s;v[a+40>>2]=k+1}j=v[v[a+48>>2]+(l<<2)>>2]+((n&63)<<4)|0;A[j+8>>3]=c;A[j>>3]=b;v[a+36>>2]=v[a+36>>2]+1;y0(a,b,c,d,e,f,g,h,i,0);k=v[a+40>>2];n=v[a+36>>2];l=n>>>6|0;if(k>>>0<=l>>>0){j=v[a+44>>2];b:{if(j>>>0>l>>>0){m=v[a+48>>2];break b}j=j+v[a+52>>2]|0;m=ab((j|0)!=(j&1073741823)?-1:j<<2);p=a;o=v[a+48>>2];if(o){cb(m,o,k<<2);$a(o);n=v[a+36>>2];k=v[a+40>>2];j=v[a+44>>2]+v[a+52>>2]|0}v[p+44>>2]=j;v[a+48>>2]=m}r=(l<<2)+m|0,s=ab(1024),v[r>>2]=s;v[a+40>>2]=k+1}j=v[v[a+48>>2]+(l<<2)>>2]+((n&63)<<4)|0;A[j+8>>3]=i;A[j>>3]=h;v[a+36>>2]=v[a+36>>2]+1;v[a+32>>2]=0}function GA(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;n=b<<3;f=v[a+36>>2];a:{i=v[a+48>>2];g=v[i+4>>2];b:{if((g|0)<(d|0)){break b}h=v[(i+n|0)+4>>2];if((h|0)>(e|0)){break b}k=g;j=v[a+4>>2];g=0-j|0;l=k&g;m=(l|0)>(e|0);c:{if((d|0)>(h|0)){g=d;break c}g=g&(h+j|0)-1;if(h&j-1&65535){d=g;break c}if(w[a+79|0]){t[a+79|0]=0;f=f-4|0}v[f>>2]=v[(b<<3)+i>>2];d=g+j|0;f=f+4|0}if(w[a+78|0]){v[v[a+80>>2]+20>>2]=g>>v[a>>2];t[a+78|0]=0}h=m?e:l;if((h|0)<(d|0)){break b}if(y[a+32>>2]<=((h-d>>v[a>>2]<<2)+f|0)+4>>>0){break a}j=0-b|0;l=b<<3;e=i;while(1){t[a+79|0]=0;g=i;b=v[e+4>>2];d:{if((b|0)>(d|0)){k=b;b=e+l|0;m=v[b+4>>2];k=k-m|0;if((k|0)>=v[a+16>>2]){Qa[c|0](e);break d}b=v[b>>2];v[f>>2]=((B(v[e>>2]-b|0,d-m|0)|0)/(k|0)|0)+b;f=f+4|0;d=v[a+4>>2]+d|0;b=(j<<3)+e|0;break d}if((b|0)==(d|0)){t[a+79|0]=1;v[f>>2]=v[e>>2];f=f+4|0;d=v[a+4>>2]+d|0}b=(j<<3)+e|0}e=b;if(g>>>0<=e>>>0&(d|0)<=(h|0)){continue}break}i=v[a+48>>2]}v[a+36>>2]=f;v[a+48>>2]=i-n;return 0}v[a+40>>2]=98;v[a+36>>2]=f;return 1}function IB(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=Ma-16|0;Ma=d;b=v[a+12>>2];a:{if((b|0)>24){b=-1;break a}h=a+16|0;while(1){b:{c:{d:{c=b<<3;f=v[c+214836>>2]+v[a+8>>2]|0;if((f|0)>=1){g=v[c+214832>>2]+v[a+4>>2]|0;if((g|0)>0){break d}}b=b+1|0;break c}b=v[h>>2];if(!b){c=B(f,g);b=0;e=v[v[a>>2]+80>>2];e:{if(!e){break e}c=v[v[e+8>>2]+((c>>>0)%y[e>>2]<<2)>>2];if(!c){break e}v[c+8>>2]=v[c+8>>2]+1;b=c}v[a+16>>2]=b;if(!b){b=v[a+12>>2]+1|0;break c}v[a+20>>2]=0}e=b?v[b+4>>2]:0;b=v[a+20>>2];if((e|0)>(b|0)){while(1){c=v[v[a+16>>2]+20>>2];v[a+20>>2]=b+1;j=d;k=v[v[a>>2]+72>>2];i=+z[c+(b<<2)>>2]+.5;f:{if(D(i)<2147483648){b=~~i;break f}b=-2147483648}c=$e(k,b);v[j+12>>2]=c;g:{if(((c?v[c>>2]:-1)-12|0)!=(g|0)){break g}c=v[d+12>>2];if(c){c=v[c+4>>2]}else{c=-1}if((c-12|0)!=(f|0)){break g}_b(d+12|0);break a}_b(d+12|0);b=v[a+20>>2];if((e|0)>(b|0)){continue}break}}v[a+12>>2]=v[a+12>>2]+1;$h(h);b=v[a+12>>2];break b}v[a+12>>2]=b}if((b|0)<=24){continue}break}b=-1}Ma=d+16|0;return b}function P_a(a){a=a|0;var b=0,c=0,d=0,e=0;b=v[v[a+2248>>2]+88>>2];c=v[b+1168>>2];c=(v[b+1176>>2]+B(c,v[a+572>>2])|0)+B(c,v[a+2268>>2])|0;b=v[b+1164>>2];b=(c+B(b,v[a+580>>2])|0)+B(b,v[a+2264>>2])|0;c=v[a+636>>2]+v[a+616>>2]|0;d=v[a+588>>2];a:{b:{if(w[a+2253|0]!=4){if((d|0)<=0){break a}while(1){t[b|0]=w[c|0]+w[b|0];t[b+1|0]=w[c+1|0]+w[b+1|0];t[b+2|0]=w[c+2|0]+w[b+2|0];t[b+3|0]=w[c+3|0]+w[b+3|0];c=c+4|0;b=(v[a+584>>2]<<2)+b|0;d=v[a+588>>2];e=e+1|0;if((d|0)>(e|0)){continue}break}break b}if((d|0)<1){break a}while(1){t[b|0]=w[c|0];t[b+1|0]=w[c+1|0];t[b+2|0]=w[c+2|0];t[b+3|0]=w[c+3|0];c=c+4|0;b=(v[a+584>>2]<<2)+b|0;d=v[a+588>>2];e=e+1|0;if((d|0)>(e|0)){continue}break}}if((d|0)<1){break a}b=v[a+540>>2];b=(v[b+1176>>2]+B(v[a+572>>2],v[b+1168>>2])|0)+B(v[a+580>>2],v[b+1164>>2])|0;c=v[a+636>>2]+v[a+616>>2]|0;d=0;while(1){t[b|0]=w[c|0];t[b+1|0]=w[c+1|0];t[b+2|0]=w[c+2|0];t[b+3|0]=w[c+3|0];c=c+4|0;b=(v[a+584>>2]<<2)+b|0;d=d+1|0;if((d|0)>2]){continue}break}}return 0}function Il(a){var b=0,c=0,d=0,e=0;gd(a,kb(a)<<1);a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{if(!kb(a)){if((kb(a)|0)!=1380401731){break k}if((kb(a)|0)!=3){break j}if(kb(a)){break i}if((kb(a)|0)!=1382293536){break h}if((kb(a)|0)!=1685026146){break g}c=Lc(a);if(kb(a)){break f}if((kb(a)|0)!=1198681632){break e}if((kb(a)|0)!=1685026146){break d}d=Lc(a);if(kb(a)){break c}if((kb(a)|0)!=1114382368){break b}if((kb(a)|0)!=1685026146){break a}if(D(d)<2147483648){b=~~d}else{b=-2147483648}e=b&255;if(D(c)<2147483648){b=~~c}else{b=-2147483648}b=b&255;c=Lc(a);l:{if(D(c)<2147483648){a=~~c;break l}a=-2147483648}return a&255|(e<<8|b<<16)|-16777216}O(11805,6490,414,194180);L()}O(14551,6490,417,194180);L()}O(16555,6490,422,194180);L()}O(11805,6490,426,194180);L()}O(19518,6490,429,194180);L()}O(21872,6490,433,194180);L()}O(11805,6490,439,194180);L()}O(23989,6490,442,194180);L()}O(21872,6490,446,194180);L()}O(11805,6490,452,194180);L()}O(25944,6490,455,194180);L()}O(21872,6490,459,194180);L()}function gea(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;var j=0,k=0,l=0,m=0,n=0;k=(g|0)/2|0;a:{if(!f){break a}g=f-1|0;j=v[a+64>>2];if(e>>>0>=2){c=e-2|0;m=c&2;n=c>>>0<2;while(1){l=g;a=e;g=b;f=i;if(!m){a=v[(w[i|0]<<2)+j>>2];v[b>>2]=v[a>>2];v[b+4>>2]=v[a+4>>2];g=b+8|0;f=i+1|0;a=c}d=c;if(!n){while(1){b=g;d=v[(w[f|0]<<2)+j>>2];v[b>>2]=v[d>>2];v[b+4>>2]=v[d+4>>2];d=f;i=v[(w[f+1|0]<<2)+j>>2];v[b+8>>2]=v[i>>2];v[b+12>>2]=v[i+4>>2];g=b+16|0;f=f+2|0;a=a-4|0;if(a>>>0>1){continue}break}i=d+1|0;d=a;b=b+8|0}b:{if(d){v[g>>2]=v[v[(w[f|0]<<2)+j>>2]>>2];g=3;a=2;break b}g=2;a=1}b=((h<<2)+b|0)+(g<<2)|0;g=l-1|0;i=a+(i+k|0)|0;if(l){continue}break}break a}if(!e){break a}if(f&1){v[b>>2]=v[v[(w[i|0]<<2)+j>>2]>>2];i=(i+k|0)+1|0;b=((h<<2)+b|0)+4|0;f=f-2|0}else{f=g}if(!g){break a}while(1){v[b>>2]=v[v[(w[i|0]<<2)+j>>2]>>2];a=h<<2;b=(a+b|0)+4|0;c=(i+k|0)+1|0;v[b>>2]=v[v[(w[c|0]<<2)+j>>2]>>2];b=(a+b|0)+4|0;i=(c+k|0)+1|0;a=(f|0)!=1;f=f-2|0;if(a){continue}break}}}function Uda(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;var j=0,k=0,l=0,m=0,n=0;k=(g|0)/2|0;a:{if(!f){break a}g=f-1|0;j=v[a+60>>2];if(e>>>0>=2){c=e-2|0;m=c&2;n=c>>>0<2;while(1){l=g;a=e;g=b;f=i;if(!m){a=v[(w[i|0]<<2)+j>>2];v[b>>2]=v[a>>2];v[b+4>>2]=v[a+4>>2];g=b+8|0;f=i+1|0;a=c}d=c;if(!n){while(1){b=g;d=v[(w[f|0]<<2)+j>>2];v[b>>2]=v[d>>2];v[b+4>>2]=v[d+4>>2];d=f;i=v[(w[f+1|0]<<2)+j>>2];v[b+8>>2]=v[i>>2];v[b+12>>2]=v[i+4>>2];g=b+16|0;f=f+2|0;a=a-4|0;if(a>>>0>1){continue}break}i=d+1|0;d=a;b=b+8|0}b:{if(d){v[g>>2]=v[v[(w[f|0]<<2)+j>>2]>>2];g=3;a=2;break b}g=2;a=1}b=((h<<2)+b|0)+(g<<2)|0;g=l-1|0;i=a+(i+k|0)|0;if(l){continue}break}break a}if(!e){break a}if(f&1){v[b>>2]=v[v[(w[i|0]<<2)+j>>2]>>2];i=(i+k|0)+1|0;b=((h<<2)+b|0)+4|0;f=f-2|0}else{f=g}if(!g){break a}while(1){v[b>>2]=v[v[(w[i|0]<<2)+j>>2]>>2];a=h<<2;b=(a+b|0)+4|0;c=(i+k|0)+1|0;v[b>>2]=v[v[(w[c|0]<<2)+j>>2]>>2];b=(a+b|0)+4|0;i=(c+k|0)+1|0;a=(f|0)!=1;f=f-2|0;if(a){continue}break}}}function JZ(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=v[a+16>>2];f=w[d+12|0]|w[d+13|0]<<8|(w[d+14|0]<<16|w[d+15|0]<<24);i=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);a:{if(!i){break a}h=v[b>>2];if(c){if((h|0)==-1){break a}h=h+1|0}m=d+20|0;d=i;b:{c:{while(1){f=d+j>>>1|0;k=B(f,12)+m|0;e=k;g=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24);l=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);g=f;e=e-4|0;e=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(e>>>0<=h>>>0){if(h>>>0<=l>>>0){break c}j=f+1|0}else{d=g}if(d>>>0>j>>>0){continue}break}d=0;break b}d=k;d=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);g=h-e|0;d=d>>>0>(g^-1)>>>0?0:d+g|0}if(!c){return d}c=v[a>>2];if(h>>>0>l>>>0){g=0;f=f+1|0;if((i|0)==(f|0)){break a}}t[a+24|0]=1;v[a+36>>2]=f;v[a+28>>2]=h;d:{if(!(d>>>0>2]?d:0)){IZ(a);d=0;if(!w[a+24|0]){break d}d=v[a+32>>2];break d}v[a+32>>2]=d}g=d;v[b>>2]=v[a+28>>2]}return g}function _Z(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=v[a>>2];a:{if(!h){break a}g=h-1|0;d=v[a+8>>2];f=h&3;b:{if(!f){e=h;break b}e=h;while(1){v[d+24>>2]=-1;v[d+16>>2]=v[d+16>>2]&-5;d=d+28|0;e=e-1|0;f=f-1|0;if(f){continue}break}}if(g>>>0<3){break a}while(1){v[d+24>>2]=-1;v[d+52>>2]=-1;v[d+80>>2]=-1;v[d+108>>2]=-1;v[d+16>>2]=v[d+16>>2]&-5;v[d+44>>2]=v[d+44>>2]&-5;v[d+72>>2]=v[d+72>>2]&-5;v[d+100>>2]=v[d+100>>2]&-5;d=d+112|0;e=e-4|0;if(e){continue}break}}if(b){d=0;f=0;e=0;g=0;while(1){if(!d){f=w[c|0];d=128;c=c+1|0}c:{if(!(d&f)){break c}i=v[a+8>>2]+B(e,28)|0;j=v[i+16>>2];if(j&4){break c}v[i+16>>2]=j|4;if(g>>>0>=h>>>0){break c}v[v[a+12>>2]+(g<<2)>>2]=i;g=g+1|0}d=d>>1;e=e+1|0;if((e|0)!=(b|0)){continue}break}v[a+4>>2]=g;if((g|0)>=2){c=v[a+12>>2];a=1;while(1){e=v[c+(a<<2)>>2];h=v[e>>2];d=a;while(1){b=d-1|0;f=c+(b<<2)|0;i=v[f>>2];if((h|0)<=v[i>>2]){v[c+(d<<2)>>2]=i;v[f>>2]=e;f=(d|0)>1;d=b;if(f){continue}}break}a=a+1|0;if((g|0)!=(a|0)){continue}break}}return}v[a+4>>2]=0}function nK(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=Ma-32|0;Ma=c;a:{if(!a|((a?v[a+8>>2]:-1)|0)!=1){break a}b:{switch(b-4|0){case 0:case 4:break b;default:break a}}Kw(a,c+16|0);if(v[c+16>>2]){e=_o(1);break a}d=se(0,a);v[c+4>>2]=d;if(!d){break a}f=FB(a?v[a+4>>2]:-1);v[c>>2]=f;if(!f){break a}a=FB(0);if(!a){break a}v[f+12>>2]=a;h=_o(0);if(!h){break a}g=c+28|0;e=c+24|0;a=c+20|0;if(d){if(g){v[g>>2]=v[d>>2]}if(e){v[e>>2]=v[d+4>>2]}if(a){v[a>>2]=v[d+8>>2]}}c:{if(v[c+20>>2]!=1){break c}g=b-4|0;b=0;while(1){a=d?v[d+12>>2]:-1;if(!S2(d?v[d+40>>2]:0,v[c+28>>2],v[c+24>>2],a,b,i,c+12|0,c+8|0)){break c}i=v[c+8>>2];b=v[c+12>>2];e=0;if(((d?v[d+8>>2]:-1)|0)!=1){break a}d:{e:{switch(g|0){case 0:a=R2(d,f,b,i);if(a){break d}break a;case 4:break e;default:break a}}a=Q2(d,f,b,i);if(!a){break a}}HB(h,a);j=c+28|0;e=c+24|0;a=c+20|0;if(d){if(j){v[j>>2]=v[d>>2]}if(e){v[e>>2]=v[d+4>>2]}if(a){v[a>>2]=v[d+8>>2]}}if(v[c+20>>2]==1){continue}break}}jK(c,1);_b(c+4|0);e=h}Ma=c+32|0;return e}function C0(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;v[a+28>>2]=0;o=.5/A[a>>3];A[a+8>>3]=o*o;i=v[a+32>>2];l=v[a+28>>2];j=l>>>6|0;if(i>>>0<=j>>>0){h=v[a+36>>2];a:{if(h>>>0>j>>>0){k=v[a+40>>2];break a}h=h+v[a+44>>2]|0;k=ab((h|0)!=(h&1073741823)?-1:h<<2);n=a;m=v[a+40>>2];if(m){cb(k,m,i<<2);$a(m);l=v[a+28>>2];i=v[a+32>>2];h=v[a+36>>2]+v[a+44>>2]|0}v[n+36>>2]=h;v[a+40>>2]=k}p=(j<<2)+k|0,q=ab(1024),v[p>>2]=q;v[a+32>>2]=i+1}h=v[v[a+40>>2]+(j<<2)>>2]+((l&63)<<4)|0;A[h+8>>3]=c;A[h>>3]=b;v[a+28>>2]=v[a+28>>2]+1;B0(a,b,c,d,e,f,g,0);i=v[a+32>>2];l=v[a+28>>2];j=l>>>6|0;if(i>>>0<=j>>>0){h=v[a+36>>2];b:{if(h>>>0>j>>>0){k=v[a+40>>2];break b}h=h+v[a+44>>2]|0;k=ab((h|0)!=(h&1073741823)?-1:h<<2);n=a;m=v[a+40>>2];if(m){cb(k,m,i<<2);$a(m);l=v[a+28>>2];i=v[a+32>>2];h=v[a+36>>2]+v[a+44>>2]|0}v[n+36>>2]=h;v[a+40>>2]=k}p=(j<<2)+k|0,q=ab(1024),v[p>>2]=q;v[a+32>>2]=i+1}h=v[v[a+40>>2]+(j<<2)>>2]+((l&63)<<4)|0;A[h+8>>3]=g;A[h>>3]=f;v[a+28>>2]=v[a+28>>2]+1;v[a+24>>2]=0}function fG(a,b,c){var d=0,e=0,f=0,g=0;d=a>>>24|0;a:{if(!(d-65>>>0<=57&d-91>>>0>5)){t[b+3|0]=93;t[b|0]=91;t[b+2|0]=w[(d&15)+74432|0];t[b+1|0]=w[(a>>>28|0)+74432|0];d=4;break a}t[b|0]=d;d=1}e=a>>>16|0;f=e&255;b:{if(!(f-65>>>0>57|f-91>>>0<6)){f=d;break b}t[(b+d|0)+1|0]=w[(a>>>20&15)+74432|0];t[(d|2)+b|0]=w[(e&15)+74432|0];f=d+3|0;t[f+b|0]=93;e=91}t[b+d|0]=e;g=f+1|0;d=a>>>8|0;e=d&255;c:{if(!(e-65>>>0>57|e-91>>>0<6)){e=g;break c}e=f+4|0;t[e+b|0]=93;f=b+f|0;t[f+3|0]=w[(d&15)+74432|0];t[f+2|0]=w[(a>>>12&15)+74432|0];d=91}t[b+g|0]=d;f=e+1|0;d=a&255;d:{if(!(d-65>>>0>57|d-91>>>0<6)){d=f;break d}d=e+4|0;t[d+b|0]=93;e=b+e|0;t[e+3|0]=w[(a&15)+74432|0];t[e+2|0]=w[(a>>>4&15)+74432|0];a=91}t[b+f|0]=a;a=d+1|0;e:{if(!c){break e}t[a+b|0]=58;t[(b+d|0)+2|0]=32;a=d+3|0;d=0;while(1){f=c+d|0;e=w[f|0];if(!e){break e}t[a+b|0]=e;e=a+1|0;g=w[f+1|0];if(!g){a=e;break e}t[b+e|0]=g;e=a+2|0;f=w[f+2|0];if(!f){a=e;break e}t[b+e|0]=f;a=a+3|0;d=d+3|0;if((d|0)!=63){continue}break}}t[a+b|0]=0}function bS(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=Ma-16|0;Ma=f;a:{b:{c:{d:{e:{d=v[a+708>>2];switch(d|0){case 1:break c;case 0:break d;default:break e}}d=d-1|0;v[a+708>>2]=d;if((d|0)!=1){break d}Db(a,68256);uc(a,c);break b}d=v[a+200>>2];if(!(d&1)){break a}if(d&4){v[a+200>>2]=d|8}Tb(a,v[a+740>>2]);d=jf(a,c+1|0);v[a+740>>2]=d;if(!d){Db(a,68409);break b}Ye(a,d,c);gc(a,d,c);e=uc(a,0);d=v[a+740>>2];if(e){Tb(a,d);v[a+740>>2]=0;break b}t[c+d|0]=0;g=v[a+740>>2];e=g;while(1){d=e;e=d+1|0;if(w[d|0]){continue}break}if(!(d>>>0<(c+g|0)-2>>>0&c>>>0>=2)){Db(a,68509);Tb(a,v[a+740>>2]);v[a+740>>2]=0;break b}h=a;if(w[e|0]){Db(a,68681);g=v[a+740>>2]}e=(d-g|0)+2|0;xF(h,0,c,e,f+12|0);c=jf(a,28);if(!c){Db(a,68788);Tb(a,v[a+740>>2]);v[a+740>>2]=0;break b}v[c>>2]=0;d=v[a+740>>2];v[c+24>>2]=0;v[c+4>>2]=d;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=d+e;v[c+12>>2]=v[f+12>>2];b=KE(a,b,c);Tb(a,c);Tb(a,v[a+740>>2]);v[a+740>>2]=0;if(!b){break b}dc(a,68847);L()}uc(a,c)}Ma=f+16|0;return}dc(a,68323);L()}function HA(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;i=Ma-16|0;Ma=i;h=v[a+12>>2];if(h){v[(v[a+20>>2]+(h<<4)|0)-4>>2]=e}a:{b:{c:{k=h+1|0;g=v[a+16>>2];if(k>>>0>g>>>0){v[i+4>>2]=0;j=h+8&-8;e=yb(f,16,g,j,v[a+20>>2],i+4|0);v[a+20>>2]=e;g=v[i+4>>2];if(g){break a}v[a+16>>2]=j;g=(h<<4)+e|0;v[g+12>>2]=0;v[g>>2]=0;v[a+12>>2]=k;break c}e=v[a+20>>2];j=e+(h<<4)|0;v[j+12>>2]=0;v[j>>2]=0;v[a+12>>2]=k;if(k){break c}if(!g){v[i+8>>2]=0;e=yb(f,16,0,8,e,i+8|0);v[a+20>>2]=e;g=v[i+8>>2];if(g){break a}v[a+16>>2]=8}v[e+12>>2]=0;v[e>>2]=0;v[a+12>>2]=1;break b}e=(h<<4)+e|0}a=v[e+4>>2];v[i+12>>2]=0;h=d+7>>>3|0;a=a+7>>>3|0;d:{if(h>>>0<=a>>>0){f=v[e+8>>2];break d}g=a;a=h+7&1073741816;f=yb(f,1,g,a,v[e+8>>2],i+12|0);v[e+8>>2]=f;g=v[i+12>>2];if(g){break a}v[e+4>>2]=a<<3}v[e>>2]=d;g=0;if(!d){break a}b=(c>>>3|0)+b|0;e=128>>>(c&7)|0;a=128;while(1){c=w[f|0];t[f|0]=w[b|0]&e?c|a:c&(a^-1);c=a>>>0<2;a=c?128:a>>1;h=e>>>0<2;e=h?128:e>>1;f=c+f|0;b=b+h|0;d=d-1|0;if(d){continue}break}}Ma=i+16|0;return g}function e9(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{d=v[a+584>>2];if(d){b:{c:{d:{e:{f:{g:{switch(b-292|0){default:h:{switch(b-34908|0){case 3:break c;case 2:break d;case 1:break e;case 0:break f;default:break h}}i:{switch(b-65536|0){case 0:v[v[c>>2]>>2]=v[d+4>>2];break a;case 4:break i;default:break b}}v[v[c>>2]>>2]=v[d+76>>2];break a;case 0:case 1:v[v[c>>2]>>2]=v[d+28>>2];break a;case 34:v[v[c>>2]>>2]=v[d+24>>2];break a;case 35:u[v[c>>2]>>1]=x[d+16>>1];break a;case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:break b;case 36:break g}}v[v[c>>2]>>2]=v[d+20>>2];break a}v[v[c>>2]>>2]=v[d+32>>2];break a}v[v[c>>2]>>2]=v[d+36>>2];break a}v[v[c>>2]>>2]=v[d+40>>2];break a}v[v[c>>2]>>2]=v[d+44>>2];break a}return Qa[v[d+48>>2]](a,b,c)|0}O(40584,7814,1223,86076);L()}return 1}function dt(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=Ma-16|0;Ma=h;f=v[a>>2];v[h+12>>2]=f;a:{if(b>>>0<=f>>>0){break a}b:{c:{d:{g=w[f|0];if((g|0)==91){j=93}else{if((g|0)!=123){break d}j=125}f=f+1|0;v[h+12>>2]=f;if(b>>>0<=f>>>0){break a}e:{if(d){c=(c|0)>0?c:0;while(1){Hg(h+12|0,b);g=v[h+12>>2];if(g>>>0>=b>>>0){f=g;break a}if(w[g|0]==(j|0)){break c}if((c|0)==(i|0)){f=g;i=c;break a}k=(i<<2)+d|0,l=xm(h+12|0,b,e),v[k>>2]=l;f=v[h+12>>2];if((g|0)==(f|0)){break e}i=i+1|0;if(b>>>0>f>>>0){continue}break}break a}while(1){Hg(h+12|0,b);g=v[h+12>>2];if(g>>>0>=b>>>0){f=g;break a}if(w[g|0]==(j|0)){break c}xm(h+12|0,b,e);f=v[h+12>>2];if((g|0)==(f|0)){break e}i=i+1|0;if(b>>>0>f>>>0){continue}break}break a}i=-1;f=g;break a}if(b>>>0<=f>>>0){break a}Hg(h+12|0,b);g=v[h+12>>2];if(g>>>0>=b>>>0){f=g;break a}if(!w[g|0]){break c}if(!d|(c|0)>=1){break b}f=g;break a}f=g+1|0;break a}k=d?d:h+8|0,l=xm(h+12|0,b,e),v[k>>2]=l;f=v[h+12>>2];i=(g|0)==(f|0)?-1:1}v[a>>2]=f;Ma=h+16|0;return i}function tia(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;a:{if((c|0)<1){break a}f=c-1|0;d=c&3;if(d){while(1){e=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=e;e=v[b+20>>2];v[a+16>>2]=v[b+16>>2];v[a+20>>2]=e;e=v[b+12>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=e;b=b+24|0;a=a+24|0;c=c-1|0;d=d-1|0;if(d){continue}break}}if(f>>>0<3){break a}while(1){d=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=d;d=v[b+20>>2];v[a+16>>2]=v[b+16>>2];v[a+20>>2]=d;d=v[b+12>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=d;d=v[b+44>>2];v[a+40>>2]=v[b+40>>2];v[a+44>>2]=d;d=v[b+36>>2];v[a+32>>2]=v[b+32>>2];v[a+36>>2]=d;d=v[b+28>>2];v[a+24>>2]=v[b+24>>2];v[a+28>>2]=d;f=b- -64|0;e=v[f+4>>2];d=a- -64|0;v[d>>2]=v[f>>2];v[d+4>>2]=e;d=v[b+60>>2];v[a+56>>2]=v[b+56>>2];v[a+60>>2]=d;d=v[b+52>>2];v[a+48>>2]=v[b+48>>2];v[a+52>>2]=d;d=v[b+76>>2];v[a+72>>2]=v[b+72>>2];v[a+76>>2]=d;d=v[b+84>>2];v[a+80>>2]=v[b+80>>2];v[a+84>>2]=d;d=v[b+92>>2];v[a+88>>2]=v[b+88>>2];v[a+92>>2]=d;b=b+96|0;a=a+96|0;d=(c|0)>4;c=c-4|0;if(d){continue}break}}}function py(a,b,c){var d=0,e=0,f=0,g=0;d=Ma-48|0;Ma=d;e=Ma-32|0;Ma=e;a:{b:{c:{if((c|0)>-1){f=v[b+68>>2];g=v[b- -64>>2];if(((f-g|0)+1|0)<=(c|0)){break c}if((c|0)<(g|0)|(c|0)>(f|0)){break b}f=v[b+52>>2];g=v[b+56>>2];v[d>>2]=0;v[d+4>>2]=v[279250];c=v[f+(c-g<<3)>>2];d:{if(c){Qa[v[v[c>>2]+28>>2]](e+8|0,c,1);break d}v[e+8>>2]=0}jb(d,e+8|0);c=v[e+8>>2];v[e+8>>2]=0;e:{if(!c){break e}f=v[c+4>>2]-1|0;v[c+4>>2]=f;if(f){break e}f=v[c+4>>2];if(!f){v[c+4>>2]=-32767}if(!f){Qa[v[v[c>>2]+4>>2]](c)}}c=v[d>>2];v[d+4>>2]=v[(c?c+12|0:1117e3)>>2];Ma=e+32|0;break a}lb(mb(e+8|0,283036,241073,185,225741));L()}lb(mb(e+8|0,283057,241073,187,225741));L()}lb(mb(e+8|0,227376,271519,632,307335));L()}c=a;a=ki(d+8|0,d,b+12|0);ze(c,a);v[a+24>>2]=969432;v[a>>2]=969400;b=v[a+28>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Qa[v[v[b>>2]+4>>2]](b)}v[a+28>>2]=0}v[a+16>>2]=969432;b=v[a+20>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Qa[v[v[b>>2]+4>>2]](b)}v[a+20>>2]=0}db(a+8|0);db(d);Ma=d+48|0}function J2a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=v[a+12>>2];a:{b:{c:{if(y[b>>2]<=256){b=-1;e=v[c+8>>2];if(e&7){break b}b=v[c+64>>2];if(!((b|0)<0|(b|0)>v[c+60>>2])){break a}v[c+4>>2]=v[c+4>>2]|32;b=-1;e=v[c+28>>2];v[c+28>>2]=e-1;if((e|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=v[c+24>>2];v[c+24>>2]=b+1;t[b|0]=d;break c}if((Cb(c,d&255)|0)!=-1){break c}break b}b=-1;if(wg(c,d)){break b}}b=-1;e=v[c+8>>2];if(e&7){break b}d=w[a+16|0];b=v[c+64>>2];if(!((b|0)<0|(b|0)>v[c+60>>2])){break a}v[c+4>>2]=v[c+4>>2]|32;b=-1;e=v[c+28>>2];v[c+28>>2]=e-1;d:{if((e|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=v[c+24>>2];v[c+24>>2]=b+1;t[b|0]=d;break d}if((Cb(c,d)|0)==-1){break b}}b=-1;d=v[c+8>>2];if(d&7){break b}a=w[a+17|0];b=v[c+64>>2];if(!((b|0)<0|(b|0)>v[c+60>>2])){v[c+8>>2]=d|4;return-1}v[c+4>>2]=v[c+4>>2]|32;b=-1;d=v[c+28>>2];v[c+28>>2]=d-1;e:{if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=v[c+24>>2];v[c+24>>2]=b+1;t[b|0]=a;break e}if((Cb(c,a)|0)==-1){break b}}b=0}return b|0}v[c+8>>2]=e|4;return-1}function Yw(a){var b=0,c=0;a:{if(w[a+460|0]|!(w[a+476|0]?1:w[a+496|0])){break a}b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{c=v[a+52>>2];if((c|0)<=12287){b=835;t:{switch(c|0){case 2:case 3:case 4:break a;case 5:break i;case 1:break o;case 0:break b;case 8:break c;case 7:break d;case 6:break g;default:break t}}switch(c-4096|0){case 1:break m;case 0:break s;case 6:break f;case 5:break h;default:break a}}if((c|0)<=36863){u:{switch(c-12288|0){case 1:break k;case 0:break q;default:break u}}if((c|0)==16390){break e}if((c|0)!=20480){break a}b=836;break b}v:{switch(c-36864|0){case 1:break l;case 0:break r;default:break v}}switch(c-45056|0){case 1:break j;case 0:break p;default:break n}}b=837;break b}b=838;break b}b=839;break b}b=840;break b}b=841;break b}if((c|0)!=65537){break a}b=842;break b}b=843;break b}b=844;break b}b=845;break b}b=846;break b}b=847;break b}b=848;break b}b=849;break b}b=850;break b}b=851;break b}b=852;break b}b=853}v[a+968>>2]=b}}function PAa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=v[a+4>>2];if(v[g+48>>2]>=8){a:{d=v[a+8>>2];f=v[a+12>>2];if(d>>>0>=f>>>0){v[b>>2]=8;break a}e=d+2|0;if(e>>>0>f>>>0){t[g+37|0]=w[d|0];t[v[a+4>>2]+36|0]=1;v[a+8>>2]=d+1;v[b>>2]=11;break a}c=w[d+1|0];h=w[d|0]|c<<8;if((c&248)!=216){v[a+8>>2]=e;return h|0}b:{c:{d:{if(c&4){break d}c=d+4|0;if(f>>>0>=c>>>0){f=w[d+3|0];if((f&252)!=220){break d}f=(w[e|0]|f<<8)+(h<<10)|0;if(f>>>0<=56613887){break c}v[a+8>>2]=c;return f-56613888|0}e=f-d|0;t[g+36|0]=e;c=g+37|0;g=f+(d^-1)|0;e=e&7;if(e){while(1){t[c|0]=w[d|0];c=c+1|0;d=d+1|0;e=e-1|0;if(e){continue}break}}e=11;if(g>>>0<7){c=f;break b}while(1){t[c|0]=w[d|0];t[c+1|0]=w[d+1|0];t[c+2|0]=w[d+2|0];t[c+3|0]=w[d+3|0];t[c+4|0]=w[d+4|0];t[c+5|0]=w[d+5|0];t[c+6|0]=w[d+6|0];t[c+7|0]=w[d+7|0];c=c+8|0;d=d+8|0;if((f|0)!=(d|0)){continue}break}c=f;break b}c=e}t[g+36|0]=2;t[g+37|0]=w[c-2|0];t[g+38|0]=w[c-1|0];e=12}v[b>>2]=e;v[a+8>>2]=c;return 65535}a=65535}else{a=-9}return a|0}function aya(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;g=Ma-48|0;Ma=g;e=1;a:{if(!b|!w[b|0]){break a}e=b;while(1){d=f;f=d+1|0;h=w[e+1|0];e=e+1|0;if(h){continue}break}f=0;e=1;if(!d|w[(b+d|0)-1|0]==58){break a}e=0;b:{if(!a){break b}d=v[a+36>>2];c:{if(v[d+4>>2]){break c}f=v[a+40>>2];if((f|0)<2){break c}d=v[(v[a+48>>2]+(f<<2)|0)-8>>2]}f=0;d:{if(w[1164236]){break d}if(!d){break b}f=v[d+28>>2];h=v[291043];j=v[256654];k=v[d+4>>2];if(k){v[g+36>>2]=f;v[g+32>>2]=k;Qa[j|0](h,337323,g+32|0);break d}v[g+16>>2]=f;Qa[j|0](h,337331,g+16|0)}f=d}Qa[v[256654]](v[291043],337267,0)}t[1164236]=e;e=150;d=Qa[v[256552]](150)|0;e:{if(!d){break e}h=-1;while(1){i=d;if((e|0)>63999){break e}v[g+44>>2]=c;d=am(i,e,b,c);if(!((d|0)<0|(d|0)>=(e|0))){j=(d|0)==(h|0);h=d;if(j){break e}}e=((d|0)>-1?d+1|0:100)+e|0;d=Qa[v[256557]](i,e)|0;if(d){continue}break}}v[g>>2]=i;Qa[v[256654]](v[291043],237230,g);if(i){Qa[v[256556]](i)}if(!(!a|!f)){Ho(f,v[256654],v[291043])}Ma=g+48|0}function QM(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=Ma+-64|0;Ma=c;a:{b:{c:{b=v[a+584>>2];if(!w[b+206|0]){d:{e:{if(x[a+98>>1]!=3){break e}switch(x[a+90>>1]-6|0){case 0:case 4:break d;default:break e}}if(w[b+207|0]){Nc(v[a+628>>2],86992,31620,0)}t[b+210|0]=0;u[b+208>>1]=257;break a}t[b+205|0]=1;t[b+206|0]=1;d=w[b+208|0];e=w[b+209|0];PM(a);g=w[b+210|0];if(g){break c}t[b+205|0]=0;f=w[b+208|0];if(g|(e|0)==w[b+209|0]?(f|0)==(d|0):0){break b}g=w[b+209|0];h=v[a+628>>2];if(!w[b+207|0]){v[c+36>>2]=g;v[c+32>>2]=f;Nc(h,86992,32694,c+32|0);break b}v[c+60>>2]=e;v[c+56>>2]=d;v[c+52>>2]=g;v[c+48>>2]=f;Nc(h,86992,34302,c+48|0);break b}O(30377,7087,943,86992);L()}u[b+208>>1]=257;t[b+205|0]=0}if(w[b+210|0]){f=v[a+628>>2];f:{if(!w[b+207|0]){Nc(f,86992,35828,0);break f}v[c+20>>2]=e;v[c+16>>2]=d;Nc(f,86992,37311,c+16|0)}if(w[b+210|0]){break a}}d=w[b+208|0];e=w[b+209|0];if(d>>>0>=e>>>0){break a}a=v[a+628>>2];v[c+4>>2]=e;v[c>>2]=d;Nc(a,86992,38901,c)}t[b+206|0]=1;Ma=c- -64|0}function qKa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;a:{e=v[a+316>>2];b:{if((e|0)<1){break b}b=v[a+472>>2]+v[b+4>>2]|0;f=w[b+150|0];g=f-1|0;h=v[d>>2];i=w[b+140|0];if(i){d=0;if(f>>>0>=2){while(1){k=h;l=d;m=h;n=d+1|0;o=g;e=v[a+112>>2];if((e|0)>=1){b=v[(d<<2)+h>>2];p=e+b|0;e=v[(j<<2)+c>>2];while(1){q=w[e|0];e=e+1|0;b=eb(b,q,i)+i|0;if(p>>>0>b>>>0){continue}break}e=v[a+112>>2]}Em(k,l,m,n,o,e);j=j+1|0;d=d+f|0;if((d|0)>2]){continue}break}break b}while(1){g=v[a+112>>2];if((g|0)>=1){b=v[(d<<2)+h>>2];g=g+b|0;e=v[(j<<2)+c>>2];while(1){k=w[e|0];e=e+1|0;b=eb(b,k,i)+i|0;if(g>>>0>b>>>0){continue}break}e=v[a+316>>2]}j=j+1|0;d=d+f|0;if((e|0)>(d|0)){continue}break}break b}if(f>>>0>=2){d=0;while(1){b=v[a+112>>2];if((b|0)>0){break a}Em(h,d,h,d+1|0,g,b);d=d+f|0;if((d|0)>2]){continue}break}break b}d=0;a=v[a+112>>2]<1;while(1){if(!a){break a}d=d+f|0;if((e|0)>(d|0)){continue}break}}return}while(1)continue}function ym(a,b,c){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;f=Ma-16|0;Ma=f;a:{if((c|0)<1|(c|0)>5){break a}i=v[a+4>>2];while(1){g=(j<<3)+b|0;b:{if(!v[g>>2]){sn(i);if(v[i+12>>2]>1){break a}d=v[i>>2];h=d-1|0;l=v[i+8>>2];c:{while(1){k=3;if(d>>>0>=l>>>0){break c}e=d+1|0;v[i>>2]=e;m=w[d|0];d=e;d:{switch(m-10|0){case 16:break c;case 0:case 3:break d;default:continue}}break}k=2}v[i+12>>2]=k;v[f+12>>2]=h;break b}h=lw(i);v[f+12>>2]=h;if(!h){break a}}e=v[i>>2]-h|0;d=e-1|0;e:{f:{switch(v[g>>2]){case 0:case 1:e=jB(v[a>>2],e,f+8|0);v[g+4>>2]=e;if(v[f+8>>2]){break e}cb(e,v[f+12>>2],d);t[d+v[g+4>>2]|0]=0;break e;case 2:n=g,o=xm(f+12|0,d+h|0,0),v[n+4>>2]=o;break e;case 3:n=g,o=RI(f+12|0,d+h|0),v[n+4>>2]=o;break e;case 4:if((d|0)==4){d=Kb(h,275107,4)}else{d=1}t[g+4|0]=!d;break e;case 5:break f;default:break e}}e=v[a+12>>2];if(e){n=g,o=Qa[e|0](h,d,v[a+16>>2])|0,v[n+4>>2]=o;break e}v[g+4>>2]=0}j=j+1|0;if((j|0)!=(c|0)){continue}break}j=c}Ma=f+16|0;return j}function YO(a,b,c){var d=0,e=0;a:{b:{if(v[a+64>>2]){break b}d=224828;c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{e=c&-3;switch(e-1|0){case 4:case 20:break i;case 19:break j;case 8:case 24:break k;case 23:break m;case 7:break n;case 0:case 16:break o;case 15:break c;case 1:case 2:case 3:case 5:case 6:case 9:case 10:case 13:case 14:case 17:case 18:case 21:case 22:case 25:case 26:break d;case 12:case 28:break e;case 27:break g;case 11:break h;default:break p}}q:{switch(e-48|0){case 4:break j;case 0:break c;case 1:case 2:case 3:break d;default:break q}}switch(e-56|0){case 0:break l;case 4:break f;default:break d}}d=306608;break c}d=240365;break c}d=326447;break c}d=326444;break c}d=326454;break c}d=300427;break c}d=302454;break c}d=301143;break c}d=302489;break c}d=302485;break c}d=302493;break c}d=0}if(!d){break b}b=ji(b,d);v[a+64>>2]=b;if(!b){break b}v[a+88>>2]=c;if(!(c&2)){break a}if(!dh(b,0,2)){break a}Fe(v[a+64>>2]);v[a+64>>2]=0}return 0}return a}function Yta(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;c=v[a+28>>2];if(!v[c+492>>2]){c=-1;a=v[a+108>>2];a:{if(!a){break a}a=v[a+4>>2];if(v[a+8>>2]==13){break a}a=v[a+16>>2];c=Qa[v[v[a>>2]+52>>2]](a)|0}fb(1,c,222326,0);return}if(v[a+32>>2]){d=v[a+8>>2];Qa[v[v[d>>2]+156>>2]](d,c);v[a+32>>2]=0;c=v[a+28>>2]}A[c+560>>3]=v[b>>2]==1?+v[b+8>>2]:A[b+8>>3];g=A[b+24>>3];d=v[b+24>>2];h=v[b+16>>2];e=A[c+624>>3]-A[c+576>>3];A[c+624>>3]=e;f=A[c+616>>3];A[c+600>>3]=A[c+536>>3]+(f*A[c+504>>3]+e*A[c+520>>3]);A[c+552>>3]=(h|0)==1?+(d|0):g;A[c+608>>3]=A[c+544>>3]+(f*A[c+512>>3]+e*A[c+528>>3]);d=v[a+8>>2];Qa[v[v[d>>2]+176>>2]](d,c);c=v[a+8>>2];Qa[v[v[c>>2]+164>>2]](c,v[a+28>>2]);c=v[a+8>>2];Qa[v[v[c>>2]+184>>2]](c,v[a+28>>2]);if(v[a+100>>2]){c=v[a+8>>2];Qa[v[v[c>>2]+232>>2]](c,v[a+28>>2]);qz(a,v[b+40>>2]);b=v[a+8>>2];Qa[v[v[b>>2]+236>>2]](b,v[a+28>>2]);return}b=v[b+40>>2];c=v[a+8>>2];if(Qa[v[v[c>>2]+32>>2]](c)|0){a=v[a+8>>2];Qa[v[v[a>>2]+268>>2]](a,v[b>>2])}}function Op(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{e=v[a>>2];c:{if(e>>>0>=b>>>0){break c}g=e+1|0;f=w[e|0];if(f&128){if(b>>>0<=g>>>0){break c}d:{if(!(f&64)){break d}c=w[e+1|0];if((c&192)!=128){break d}d=c&63|f<<6;c=e+2|0;if(f&32){if(b>>>0<=c>>>0){break c}e:{c=w[e+2|0];if((c&192)!=128){break e}d=c&63|d<<6;if(!d){break e}c=e+3|0;if(f&16){if(b>>>0<=c>>>0){break c}f:{c=w[e+3|0];if((c&192)!=128){break f}d=c&63|d<<6;if(!d){break f}c=e+4|0;if(f&8){if(b>>>0<=c>>>0){break c}g:{c=w[e+4|0];if((c&192)!=128){break g}d=c&63|d<<6;if(!d){break g}c=e+5|0;if(f&4){if(b>>>0<=c>>>0){break c}h:{if(f&2){break h}b=w[c|0];if((b&192)!=128){break h}b=b&63|d<<6&2147483584;if(!b){break h}v[a>>2]=e+6;return b}break a}b=d&67108863;if(!b){break c}v[a>>2]=c;return b}break a}b=d&2097151;if(!b){break c}break b}break a}b=d&65535;if(!b){break c}break b}break a}b=d&2047;if(!b){break c}break b}break a}if(!f){break c}v[a>>2]=g;h=f}return h}v[a>>2]=c;return b}v[a>>2]=g;return w[e|0]^-1}function $0(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;v[a>>2]=361052;b=v[a+160>>2];if(b){Qa[v[v[b>>2]+12>>2]](b)|0;v[a+160>>2]=0}f=v[a+268>>2];b=v[a+264>>2];d=f-b|0;a:{if(!d){break a}d=(d|0)/104|0;e=d>>>0>1?d:1;d=e&7;if(e-1>>>0>=7){e=e&-8;while(1){v[(b+B(c,104)|0)+100>>2]=1;v[(b+B(c|1,104)|0)+100>>2]=1;v[(b+B(c|2,104)|0)+100>>2]=1;v[(b+B(c|3,104)|0)+100>>2]=1;v[(b+B(c|4,104)|0)+100>>2]=1;v[(b+B(c|5,104)|0)+100>>2]=1;v[(b+B(c|6,104)|0)+100>>2]=1;v[(b+B(c|7,104)|0)+100>>2]=1;c=c+8|0;e=e-8|0;if(e){continue}break}}if(!d){break a}while(1){v[(b+B(c,104)|0)+100>>2]=1;c=c+1|0;d=d-1|0;if(d){continue}break}}if((b|0)!=(f|0)){while(1){Dh(f-28|0);f=f-104|0;if((b|0)!=(f|0)){continue}break}}v[a+268>>2]=b;eb(a+276|0,255,2228224);if(t[a+2228531|0]<=-1){$a(v[a+2228520>>2])}b=v[a+264>>2];if(b){c=v[a+268>>2];if((b|0)==(c|0)){c=b}else{while(1){Dh(c-28|0);c=c-104|0;if((b|0)!=(c|0)){continue}break}c=v[a+264>>2]}v[a+268>>2]=b;$a(c)}if(t[a+175|0]<=-1){$a(v[a+164>>2])}return a|0}function y9(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=C(0),l=C(0),m=C(0),n=0,o=0;if((c|0)>=1){a=v[a+12>>2];while(1){m=C(0);f=v[a>>2];g=f>>16;e=g&32767;a:{if(!e){l=C(0);k=C(0);break a}l=C(0);d=Lp((+(e|0)+.5)*.0027076061740622863+-44.3614195558365);d=g&32768?-d:d;k=C(0);if(d<=0){break a}i=(+((f>>>8&255)>>>0)+.5)*.0024390243902439024;j=(+((f&255)>>>0)+.5)*.0024390243902439024;h=1/(i*6+j*-16+12);i=i*9*h;h=j*4*h;l=C(d*(i/h));m=C(d*((1-i-h)/h));k=C(d)}d=+l;h=+k;n=d*.061+h*-.224;i=+m;o=i*1.163;f=b;j=d*2.69+h*-1.276+i*-.414;if(j<=0){e=0}else{e=j>=1;j=K(j)*256;b:{if(D(j)<2147483648){g=~~j;break b}g=-2147483648}e=e?-1:g}t[f|0]=e;f=b;d=i*.044+(h*1.978+d*-1.022);if(d<=0){e=0}else{e=d>=1;d=K(d)*256;c:{if(D(d)<2147483648){g=~~d;break c}g=-2147483648}e=e?-1:g}t[f+1|0]=e;a=a+4|0;f=b;d=o+n;if(d<=0){e=0}else{e=d>=1;d=K(d)*256;d:{if(D(d)<2147483648){g=~~d;break d}g=-2147483648}e=e?-1:g}t[f+2|0]=e;b=b+3|0;f=(c|0)>1;c=c-1|0;if(f){continue}break}}}function uG(a){var b=0,c=0;c=v[a+4>>2];if(v[a>>2]==255){if(c>>>0>=144){if(!v[a+36>>2]){v[a+16>>2]=8;return}v[a>>2]=c;b=v[a+40>>2];a:{if((b|0)>=0){v[a+40>>2]=-1;break a}b=v[a+32>>2];v[a+32>>2]=b-1;if((b|0)<1){b=255;break a}v[a+28>>2]=v[a+28>>2]+1;b=v[a+24>>2];b=Qa[v[v[b>>2]+28>>2]](b)&255;c=v[a>>2]}v[a+4>>2]=b;v[a+8>>2]=(v[a+8>>2]-(c<<8)|0)+65280;v[a+16>>2]=8;return}v[a>>2]=c;b:{c:{if(!v[a+36>>2]){break c}b=v[a+40>>2];if((b|0)>=0){v[a+40>>2]=-1;break b}b=v[a+32>>2];v[a+32>>2]=b-1;if((b|0)>=1){break c}b=255;break b}v[a+28>>2]=v[a+28>>2]+1;b=v[a+24>>2];b=Qa[v[v[b>>2]+28>>2]](b)&255;c=v[a>>2]}v[a+4>>2]=b;v[a+8>>2]=(v[a+8>>2]-(c<<9)|0)+65024;v[a+16>>2]=7;return}v[a>>2]=c;d:{e:{if(!v[a+36>>2]){break e}b=v[a+40>>2];if((b|0)>=0){v[a+40>>2]=-1;break d}b=v[a+32>>2];v[a+32>>2]=b-1;if((b|0)>=1){break e}b=255;break d}v[a+28>>2]=v[a+28>>2]+1;b=v[a+24>>2];b=Qa[v[v[b>>2]+28>>2]](b)&255;c=v[a>>2]}v[a+4>>2]=b;v[a+8>>2]=(v[a+8>>2]-(c<<8)|0)+65280;v[a+16>>2]=8}function VAa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=-9;h=v[a+4>>2];if(v[h+48>>2]>=8){c=v[a+8>>2];g=v[a+12>>2];if(c>>>0>=g>>>0){v[b>>2]=8;return 65535}e=c+2|0;if(g>>>0>>0){t[h+37|0]=w[c|0];t[v[a+4>>2]+36|0]=1;v[a+8>>2]=c+1;v[b>>2]=11;return 65535}f=w[c|0];d=w[c+1|0]|f<<8;a:{if((f&248)!=216){break a}b:{c:{d:{e:{if(f&4){break e}f=c+4|0;if(f>>>0>g>>>0){break d}g=w[e|0];if((g&252)!=220){break e}e=(w[c+3|0]|g<<8)+(d<<10)|0;if(e>>>0>56613887){break c}e=f}t[h+36|0]=2;t[h+37|0]=w[e-2|0];t[h+38|0]=w[e-1|0];f=12;break b}e=g-c|0;t[h+36|0]=e;d=h+37|0;h=g+(c^-1)|0;f=e&7;if(f){while(1){t[d|0]=w[c|0];d=d+1|0;c=c+1|0;f=f-1|0;if(f){continue}break}}f=11;if(h>>>0<7){e=g;break b}while(1){t[d|0]=w[c|0];t[d+1|0]=w[c+1|0];t[d+2|0]=w[c+2|0];t[d+3|0]=w[c+3|0];t[d+4|0]=w[c+4|0];t[d+5|0]=w[c+5|0];t[d+6|0]=w[c+6|0];t[d+7|0]=w[c+7|0];d=d+8|0;c=c+8|0;if((g|0)!=(c|0)){continue}break}e=g;break b}d=e-56613888|0;e=f;break a}v[b>>2]=f;d=65535}v[a+8>>2]=e}return d|0}function S2(a,b,c,d,e,f,g,h){var i=0,j=0,k=0;a:{b:{k=(B(d,f)<<2)+a|0;i=(e|0)/32|0;c:{if(!v[k+(i<<2)>>2]){break c}j=(((i<<5)-e|0)+e|0)+31|0;if((j|0)<(e|0)|(b|0)<=(e|0)){break c}while(1){if(v[k+(e>>5<<2)>>2]>>>(e^-1)&1){break b}if((e|0)>=(j|0)){break c}e=e+1|0;if((e|0)<(b|0)){continue}break}}i=i+1|0;e=i<<5;if((e|0)<(b|0)){i=k+(i<<2)|0;while(1){d:{if(!v[i>>2]){break d}j=0;if((b|0)<=(e|0)){break d}while(1){if(v[k+(e>>5<<2)>>2]>>>(e^-1)&1){break b}e=e+1|0;if(j>>>0>30){break d}j=j+1|0;if((b|0)>(e|0)){continue}break}}i=i+4|0;e=e+32|0;if((e|0)<(b|0)){continue}break}}e=0;f=f+1|0;if((b|0)<1|(f|0)>=(c|0)){break a}while(1){k=(B(d,f)<<2)+a|0;i=k;while(1){e:{if(!v[i>>2]){break e}j=0;if((b|0)<=(e|0)){break e}while(1){if(v[k+(e>>5<<2)>>2]>>>(e^-1)&1){break b}e=e+1|0;if(j>>>0>30){break e}j=j+1|0;if((b|0)>(e|0)){continue}break}}i=i+4|0;e=e+32|0;if((e|0)<(b|0)){continue}break}e=0;f=f+1|0;if((f|0)!=(c|0)){continue}break}break a}v[g>>2]=e;v[h>>2]=f;e=1}return e}function lba(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;a=Ma-16|0;Ma=a;v[a+12>>2]=c;v[a+8>>2]=f;v[a+12>>2]=c;v[a+8>>2]=f;b=v[a+12>>2];a:{while(1){if(b>>>0>=d>>>0){c=0;break a}c=2;b=v[b>>2];if((b&-2048)==55296|b>>>0>1114111){break a}b:{c:{if(b>>>0<=127){c=1;f=v[a+8>>2];if((g-f|0)<1){break a}v[a+8>>2]=f+1;t[f|0]=b;break c}if(b>>>0<=2047){c=v[a+8>>2];if((g-c|0)<2){break b}v[a+8>>2]=c+1;t[c|0]=b>>>6|192;c=v[a+8>>2];v[a+8>>2]=c+1;t[c|0]=b&63|128;break c}c=v[a+8>>2];f=g-c|0;if(b>>>0<=65535){if((f|0)<3){break b}v[a+8>>2]=c+1;t[c|0]=b>>>12|224;c=v[a+8>>2];v[a+8>>2]=c+1;t[c|0]=b>>>6&63|128;c=v[a+8>>2];v[a+8>>2]=c+1;t[c|0]=b&63|128;break c}if((f|0)<4){break b}v[a+8>>2]=c+1;t[c|0]=b>>>18|240;c=v[a+8>>2];v[a+8>>2]=c+1;t[c|0]=b>>>12&63|128;c=v[a+8>>2];v[a+8>>2]=c+1;t[c|0]=b>>>6&63|128;c=v[a+8>>2];v[a+8>>2]=c+1;t[c|0]=b&63|128}b=v[a+12>>2]+4|0;v[a+12>>2]=b;continue}break}c=1}v[e>>2]=v[a+12>>2];v[h>>2]=v[a+8>>2];Ma=a+16|0;return c|0}function aBa(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;f=v[a+16>>2];j=v[a+20>>2]-f|0;a:{h=v[b+4>>2];d=v[h+44>>2];e=v[b+8>>2];i=v[b+12>>2];if(!(!d|e>>>0>=i>>>0)){if(!j){v[c>>2]=15;return}if((d&-2)!=194){break a}g=w[e|0]^-128;if((g&255)>>>0>63){break a}t[f|0]=g|d<<6;t[h+36|0]=0;v[h+44>>2]=0;j=j-1|0;f=f+1|0;e=e+1|0}if(e>>>0>>0){d=i-1|0;i=(w[d|0]- -64&255)>>>0<62?d:i}b:{c:{d:{e:{f:{if(e>>>0>>0){while(1){if((j|0)<1){break e}d=e+1|0;g=t[e|0];if(!((g|0)>-1)){if((g&-2)!=-62){break f}d=w[d|0]^-128;if((d&255)>>>0>63){break f}g=d|g<<6;d=e+2|0}e=d;t[f|0]=g;f=f+1|0;j=j-1|0;if(e>>>0>>0){continue}break}}if(y[b+12>>2]<=e>>>0|v[c>>2]>0){break b}c=w[e|0];v[h+44>>2]=c;t[h+37|0]=c;t[h+36|0]=1;if(c>>>0>239){break d}d=(c>>>0>191)+(c>>>0>223)|0;break c}v[b+8>>2]=e;v[a+16>>2]=f;v[c>>2]=-127;return}v[c>>2]=15;break b}d=0;if(c>>>0>253){break c}d=(c>>>0>251)+(c>>>0>247?4:3)|0}e=e+1|0;v[h+48>>2]=d+1}v[b+8>>2]=e;v[a+16>>2]=f;return}v[c>>2]=-127}function _B(a){var b=0,c=0,d=0,e=0;a:{b:{if(!v[a+1116>>2]){break b}c:{if(w[a+460|0]|!w[a+496|0]){break c}d=v[a+564>>2];b=v[a+560>>2];if(d>>>0<=b>>>0){break c}e=v[a+556>>2];c=v[a+552>>2];if(e>>>0<=c>>>0){break c}if(Qa[v[a+232>>2]](a,c,b,e-c|0,d-b|0)|0){break c}ob(a,904,0,0);return 904}v[a+552>>2]=0;v[a+556>>2]=0;c=0;t[a+502|0]=0;v[a+560>>2]=0;v[a+564>>2]=0;d:{if(!w[a+504|0]){break d}b=v[a+508>>2]+1|0;v[a+508>>2]=b;if(b>>>0<2){break d}t[a+496|0]=0;v[a+516>>2]=0;return 0}b=v[a+236>>2];if(b){b=Qa[b|0](a)|0;v[a+480>>2]=b-v[a+488>>2];c=b-v[a+484>>2]|0}e=v[a+1116>>2];d=v[a+24>>2];e:{if(!d){d=1e3;b=1;if(v[a+12>>2]!=2){break e}}b=v[a+120>>2]-1|0;if(b>>>0<=2){b=v[(b<<2)+192936>>2]}else{b=1e3}b=(B(b,e)>>>0)/(d>>>0)|0}if(w[a+460|0]|!w[a+496|0]){break b}c=b>>>0>c>>>0?b-c|0:1;if(!(Qa[v[a+240>>2]](a,c?c:1)|0)){break a}if(!w[a+496|0]){break b}t[a+497|0]=1}if(!w[a+460|0]){v[a+444>>2]=v[a+444>>2]+b}v[a+1116>>2]=v[a+1144>>2];return 0}ob(a,902,0,0);return 902}function Vj(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;k=Ma-32|0;t[k+23|0]=0;f=d>>31;f=f+d^f;e=k+23|0;m=c-1|0;n=(c|0)!=5;j=1;c=0;while(1){if(!(!f&(c|0)>=(j|0))){g=0;a:{b:{c:{d:{switch(m|0){case 4:g=(f>>>0)%10|0;j=g|l;l=0;if(j){e=e-1|0;h=w[g+74400|0];t[e|0]=h;l=1}g=(f>>>0)/10|0;j=5;default:c=c+1|0;if(!n){break b}i=g;break a;case 1:j=2;case 0:e=e-1|0;g=(f>>>0)/10|0;h=w[(f-B(g,10)|0)+74400|0];t[e|0]=h;break c;case 3:j=2;break;case 2:break d}}e=e-1|0;h=w[(f&15)+74400|0];t[e|0]=h;g=f>>>4|0}c=c+1|0;i=g;break a}i=g;if((c|0)!=5){break a}i=g;if(e>>>0<=k>>>0){break a}if(l){h=46;e=e-1|0;t[e|0]=46;c=5;i=g;break a}l=0;c=5;f=g;i=f;if(f){break a}h=48;e=e-1|0;t[e|0]=48;i=0}f=i;if(e>>>0>k>>>0){continue}}break}if(!(e>>>0<=k>>>0|(d|0)>-1)){e=e-1|0;t[e|0]=45;h=45}b=b-1|0;if(!(!a|b>>>0>7)){c=0;e:{if(!e|!h){break e}d=(b<<5)+a|0;f=0;while(1){t[d+f|0]=h;c=f+1|0;h=w[e+1|0];if(!h){break e}e=e+1|0;g=f>>>0<30;f=c;if(g){continue}break}}t[((b<<5)+a|0)+c|0]=0}}function wMa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;a:{if((d|0)<1){break a}h=v[a+112>>2];if(!h){break a}i=v[a+120>>2];if((i|0)<=0){b=d&3;if(d-1>>>0>=3){f=d&-4;while(1){a=e<<2;eb(v[a+c>>2],0,h);eb(v[(a|4)+c>>2],0,h);eb(v[(a|8)+c>>2],0,h);eb(v[(a|12)+c>>2],0,h);e=e+4|0;f=f-4|0;if(f){continue}break}}if(!b){break a}while(1){eb(v[(e<<2)+c>>2],0,h);e=e+1|0;b=b-1|0;if(b){continue}break}break a}j=v[v[a+480>>2]+24>>2];o=i&-4;p=i&3;q=i-1>>>0<3;while(1){a=k<<2;l=v[a+c>>2];m=v[a+b>>2];n=h;while(1){f=0;a=0;e=m;g=o;if(!q){while(1){r=f;f=a<<2;f=(((r+w[v[f+j>>2]+w[e|0]|0]|0)+w[v[(f|4)+j>>2]+w[e+1|0]|0]|0)+w[v[(f|8)+j>>2]+w[e+2|0]|0]|0)+w[v[(f|12)+j>>2]+w[e+3|0]|0]|0;a=a+4|0;e=e+4|0;g=g-4|0;if(g){continue}break}}g=p;if(g){while(1){f=w[v[(a<<2)+j>>2]+w[e|0]|0]+f|0;a=a+1|0;e=e+1|0;g=g-1|0;if(g){continue}break}}t[l|0]=f;l=l+1|0;m=i+m|0;n=n-1|0;if(n){continue}break}k=k+1|0;if((k|0)!=(d|0)){continue}break}}}function Wf(a){var b=0,c=0,d=0,e=0;c=v[a+144>>2];if(c){b=v[a+148>>2];if((c|0)==(b|0)){b=c}else{while(1){e=b-12|0;d=v[e>>2];if(d){v[b-8>>2]=d;$a(d)}b=e;if((c|0)!=(b|0)){continue}break}b=v[a+144>>2]}v[a+148>>2]=c;$a(b)}c=v[a+132>>2];if(c){b=v[a+136>>2];if((c|0)==(b|0)){b=c}else{while(1){e=b-12|0;d=v[e>>2];if(d){v[b-8>>2]=d;$a(d)}b=e;if((c|0)!=(b|0)){continue}break}b=v[a+132>>2]}v[a+136>>2]=c;$a(b)}c=v[a+120>>2];if(c){b=v[a+124>>2];if((c|0)==(b|0)){b=c}else{while(1){e=b-12|0;d=v[e>>2];if(d){v[b-8>>2]=d;$a(d)}b=e;if((c|0)!=(b|0)){continue}break}b=v[a+120>>2]}v[a+124>>2]=c;$a(b)}b=v[a+108>>2];if(b){v[a+112>>2]=b;$a(b)}b=v[a+96>>2];if(b){v[a+100>>2]=b;$a(b)}b=v[a+84>>2];if(b){v[a+88>>2]=b;$a(b)}b=v[a+52>>2];if(b){v[a+56>>2]=b;$a(b)}b=v[a+40>>2];if(b){v[a+44>>2]=b;$a(b)}c=v[a+12>>2];if(c){b=v[a+16>>2];if((c|0)==(b|0)){b=c}else{while(1){e=b-12|0;d=v[e>>2];if(d){v[b-8>>2]=d;$a(d)}b=e;if((c|0)!=(b|0)){continue}break}b=v[a+12>>2]}v[a+16>>2]=c;$a(b)}}function NH(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,h=0,i=0;g=Ma-48|0;Ma=g;a:{if(!a){break a}b:{switch(v[a+216>>2]-1|0){case 0:c=cY(v[a+8>>2],b,c,d,e,f);if(!c){if(!v[a+268>>2]|(v[a+172>>2]==-1?v[a+212>>2]:0)){break a}v[a+84>>2]=107;v[g+16>>2]=b;nb(0,0,0,a,0,1,107,1,b,0,0,0,339513,g+16|0);break a}if(v[c+64>>2]|!e){break a}b=v[a+36>>2];c:{if(b){b=v[b+4>>2];if(b){break c}}b=v[a+180>>2]}h=c,i=Qs(e,b),v[h+64>>2]=i;break a;case 1:c=fY(v[a+8>>2],b,c,d,e,f);if(!c){if(!v[a+268>>2]){break a}c=v[a>>2];if(!c){break a}c=v[c+84>>2];if(!c){break a}a=v[a+4>>2];v[g+32>>2]=b;Qa[c|0](a,339400,g+32|0);break a}if(v[c+64>>2]|!e){break a}b=v[a+36>>2];d:{if(b){b=v[b+4>>2];if(b){break d}}b=v[a+180>>2]}h=c,i=Qs(e,b),v[h+64>>2]=i;break a;default:break b}}if(v[a+172>>2]==-1?v[a+212>>2]:0){break a}v[a+84>>2]=104;v[g+4>>2]=0;v[g>>2]=b;nb(0,0,0,a,0,1,104,3,b,0,0,0,339047,g);v[a+100>>2]=0;v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1}Ma=g+48|0}function lMa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0;a:{if((d|0)<1){break a}g=v[a+112>>2];e=v[a+480>>2];j=v[a+120>>2];if((j|0)<1){a=0;while(1){Jd(v[(a<<2)+c>>2],g);v[e+48>>2]=v[e+48>>2]+1&15;a=a+1|0;if((d|0)!=(a|0)){continue}break}break a}if(!g){a=0;while(1){Jd(v[(a<<2)+c>>2],0);v[e+48>>2]=v[e+48>>2]+1&15;a=a+1|0;if((d|0)!=(a|0)){continue}break}break a}r=g&-2;s=g&1;while(1){a=k<<2;o=a+c|0;Jd(v[o>>2],g);u=a+b|0;l=v[e+48>>2];h=0;while(1){f=v[u>>2]+h|0;a=h<<2;m=v[a+v[e+24>>2]>>2];p=v[(a+e|0)+52>>2];a=v[o>>2];i=0;n=r;if((g|0)!=1){while(1){q=(l<<6)+p|0;t[a|0]=w[a|0]+w[(v[q+(i<<2)>>2]+w[f|0]|0)+m|0];f=f+j|0;t[a+1|0]=w[a+1|0]+w[(v[((i+1&15)<<2)+q>>2]+w[f|0]|0)+m|0];a=a+2|0;i=i+2&15;f=f+j|0;n=n-2|0;if(n){continue}break}}if(s){t[a|0]=w[a|0]+w[(v[((l<<6)+p|0)+(i<<2)>>2]+w[f|0]|0)+m|0]}h=h+1|0;if((j|0)!=(h|0)){continue}break}v[e+48>>2]=l+1&15;k=k+1|0;if((k|0)!=(d|0)){continue}break}}}function tL(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Ma-1744|0;Ma=f;e=v[47606];d=f+1736|0;v[d>>2]=v[47605];v[d+4>>2]=e;e=v[47604];d=f+1728|0;v[d>>2]=v[47603];v[d+4>>2]=e;e=v[47602];d=f+1720|0;v[d>>2]=v[47601];v[d+4>>2]=e;d=v[47600];v[f+1712>>2]=v[47599];v[f+1716>>2]=d;cb(f+16|0,190432,1696);if(!(w[a+432|0]|!w[a+344|0])){t[a+497|0]=0}d=Zq(b);v[f+12>>2]=0;i=c-4|0;j=b+4|0;b=11;c=52;a:{while(1){e=(f+16|0)+(b<<5)|0;g=v[e>>2];b:{if((g|0)<(d|0)){h=b+1|0;break b}if((d|0)>=(g|0)){break a}c=b-1|0}b=c+h>>1;if((c|0)>=(h|0)){continue}break}e=0}v[a+268>>2]=d;v[a+272>>2]=v[a+272>>2]+1;e=e?e:f+1712|0;b=v[e+12>>2];c:{if(!b){b=0;break c}b=Qa[b|0](a,e,i,j,f+12|0)|0;c=v[f+12>>2];d:{if(!(b|!c)){b=0;if(v[e>>2]!=1077952576){break d}v[c>>2]=d;break d}if(!c){break c}}Tw(a,c)}e:{if(w[a+289|0]|(w[a+285|0]|w[a+286|0])){break e}b=0;if(w[a+346|0]){break e}t[a+346|0]=1;c=v[a+168>>2];if(!c){break e}if(Qa[c|0](a)|0){break e}b=901;ob(a,901,0,0)}Ma=f+1744|0;return b}function yta(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;h=Ma-128|0;Ma=h;e=v[v[a+28>>2]+120>>2];a:{if((Qa[v[v[e>>2]+28>>2]](e)|0)!=(c|0)){e=-1;a=v[a+108>>2];b:{if(!a){break b}a=v[a+4>>2];if(v[a+8>>2]==13){break b}a=v[a+16>>2];e=Qa[v[v[a>>2]+52>>2]](a)|0}fb(1,e,287790,0);break a}e=0;d=v[a+28>>2];g=v[d+384>>2];if(g){Qa[v[v[g>>2]+4>>2]](g)}v[d+384>>2]=0;c:{if((c|0)<1){break c}if((c|0)!=1){g=c&-2;while(1){i=(e<<2)+h|0;d=(e<<4)+b|0;f=(v[d>>2]==1?+v[d+8>>2]:A[d+8>>3])*65536;d:{if(D(f)<2147483648){d=~~f;break d}d=-2147483648}v[i>>2]=d;i=e|1;d=(i<<4)+b|0;f=(v[d>>2]==1?+v[d+8>>2]:A[d+8>>3])*65536;e:{if(D(f)<2147483648){d=~~f;break e}d=-2147483648}v[(i<<2)+h>>2]=d;e=e+2|0;g=g-2|0;if(g){continue}break}}if(!(c&1)){break c}c=(e<<2)+h|0;b=(e<<4)+b|0;f=(v[b>>2]==1?+v[b+8>>2]:A[b+8>>3])*65536;f:{if(D(f)<2147483648){b=~~f;break f}b=-2147483648}v[c>>2]=b}cb(v[a+28>>2]+252|0,h,128);b=v[a+8>>2];Qa[v[v[b>>2]+120>>2]](b,v[a+28>>2])}Ma=h+128|0}function FIa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=Ma-336|0;Ma=d;i=v[a+100>>2];Qa[v[b+60>>2]](b,d+272|0,4,d+268|0);f=v[d+268>>2];a:{if((f|0)<0){c=162;break a}c=3;if(!f|(f|0)>4){break a}j=v[b+8>>2];k=v[b>>2];c=TA(a,0,f);v[d+332>>2]=c;if(c){break a}if(v[d+268>>2]<1){c=0}else{l=v[a+532>>2];while(1){a=B(h,12);c=a+(d+272|0)|0;v[b>>2]=v[c>>2];v[b+8>>2]=v[c+4>>2];Qa[v[b+60>>2]](b,d+16|0,20,d+12|0);c=v[d+12>>2];if(c-1>>>0>=20){c=3;break a}a=a+l|0;f=a;if(v[a+92>>2]){c=3;break a}g=yb(i,4,0,c<<1,0,d+332|0);v[f+92>>2]=g;c=v[d+332>>2];if(c){break a}e=v[d+12>>2];t[a+88|0]=e;v[a+96>>2]=g+(e<<2);c=0;if((e|0)>=1){while(1){e=(d+16|0)+B(c,12)|0;v[b>>2]=v[e>>2]+1;v[b+8>>2]=v[e+4>>2]-1;e=Qa[v[b+36>>2]](b)|0;g=c<<2;v[g+v[f+92>>2]>>2]=e;e=Qa[v[b+40>>2]](b,0)|0;v[g+v[a+96>>2]>>2]=e;c=c+1|0;if((c|0)>2]){continue}break}}h=h+1|0;if((h|0)>2]){continue}break}c=v[d+332>>2]}v[b+8>>2]=j;v[b>>2]=k}v[b+12>>2]=c;Ma=d+336|0}function lVa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=v[a+428>>2];c=x[b+32>>1];c=c<<8|c>>>8;t[d+8|0]=c;t[d+9|0]=c>>>8;c=x[b+34>>1];c=c<<8|c>>>8;t[d+10|0]=c;t[d+11|0]=c>>>8;t[d+12|0]=w[b+36|0];c=x[b+38>>1];c=c<<8|c>>>8;t[d+13|0]=c;t[d+14|0]=c>>>8;c=x[b+40>>1];c=c<<8|c>>>8;t[d+15|0]=c;t[d+16|0]=c>>>8;c=x[b+42>>1];c=c<<8|c>>>8;t[d+17|0]=c;t[d+18|0]=c>>>8;c=x[b+44>>1];c=c<<8|c>>>8;t[d+19|0]=c;t[d+20|0]=c>>>8;c=x[b+46>>1];c=c<<8|c>>>8;t[d+21|0]=c;t[d+22|0]=c>>>8;c=x[b+48>>1];c=c<<8|c>>>8;t[d+23|0]=c;t[d+24|0]=c>>>8;t[d+25|0]=w[b+50|0];d=d+8|0;g=a;h=v[b>>2];f=w[b+50|0];e=18;a:{if((f|0)!=w[b+36|0]){break a}c=x[b+48>>1];e=17;if((c|0)!=x[b+40>>1]){break a}e=15;if((c|0)!=x[b+46>>1]){break a}a=x[b+44>>1];e=13;if((a|0)!=x[b+38>>1]){break a}e=11;if((a|0)!=x[b+42>>1]){break a}e=9;if((a|0)!=(c|0)){break a}e=7;if((c|0)!=1){break a}e=5;if(f){break a}a=x[b+32>>1];b=x[b+34>>1];e=4;if((a|0)!=(b|0)){break a}e=((b|0)!=0)<<1}return hd(g,h,e,d)|0}function koa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:{b:{c:{if(!(v[a+8>>2]|!v[a+12>>2])){if((c|0)>=1){break c}return 0}d=v[a+3504>>2];if((c|0)<1|(d|0)>=v[a+20>>2]){break b}e=v[a+3496>>2];while(1){t[b+f|0]=v[v[((e<<2)+a|0)+3480>>2]+(v[a+3500>>2]+B(v[a+32>>2],d)<<2)>>2];e=v[a+3496>>2]+1|0;v[a+3496>>2]=e;d:{if(v[a+188>>2]!=(e|0)){break d}e=0;v[a+3496>>2]=0;d=v[a+3500>>2]+1|0;v[a+3500>>2]=d;if((d|0)!=v[a+16>>2]){break d}v[a+3500>>2]=0;d=v[a+3504>>2]+1|0;v[a+3504>>2]=d;if((d|0)>2]){break d}return f+1|0}f=f+1|0;if((f|0)==(c|0)){return c|0}else{d=v[a+3504>>2];continue}}}e=v[a+3472>>2];while(1){g=b+f|0;d=v[a+3476>>2];if((d|0)==(e|0)){e=v[a+28>>2]+v[a+3504>>2]|0;if((e|0)>=v[a+20>>2]){break b}v[a+3504>>2]=e;if(!$F(a)){break a}d=v[a+3476>>2];e=v[a+3472>>2]}h=e;e=d-e|0;d=c-f|0;d=(d|0)>(e|0)?e:d;cb(g,h,d);e=d+v[a+3472>>2]|0;v[a+3472>>2]=e;f=d+f|0;if((f|0)<(c|0)){continue}break}}return f|0}v[a+3504>>2]=v[a+20>>2];return f|0}function hj(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}b:{c:{switch(v[a+4>>2]-14|0){case 0:b=v[a+32>>2];if(!b){break b}if(v[b+44>>2]==(a|0)){v[b+44>>2]=0}if(v[b+48>>2]!=(a|0)){break b}v[b+48>>2]=0;break b;case 4:break a;case 3:break c;default:break b}}d=v[a+32>>2];if(!d){break b}c=v[d+44>>2];d:{if(!c){break d}e=v[c+48>>2];b=v[a+8>>2];if((le(e,b,0,0)|0)==(a|0)){Ps(e,b,0,0);c=v[d+44>>2];b=v[a+8>>2]}c=v[c+60>>2];if((le(c,b,0,0)|0)!=(a|0)){break d}Ps(c,b,0,0)}c=v[d+48>>2];if(!c){break b}e=v[c+48>>2];b=v[a+8>>2];if((le(e,b,0,0)|0)==(a|0)){Ps(e,b,0,0);c=v[d+48>>2];b=v[a+8>>2]}c=v[c+60>>2];if((le(c,b,0,0)|0)!=(a|0)){break b}Ps(c,b,0,0)}b=v[a+20>>2];if(b){e:{if(v[a+4>>2]==2){if(v[b+44>>2]!=(a|0)){break e}v[b+44>>2]=v[a+24>>2];break e}if(v[b+12>>2]==(a|0)){v[b+12>>2]=v[a+24>>2]}if(v[b+16>>2]!=(a|0)){break e}v[b+16>>2]=v[a+28>>2]}v[a+20>>2]=0}b=v[a+24>>2];if(b){v[b+28>>2]=v[a+28>>2]}c=v[a+28>>2];if(c){v[c+24>>2]=b}v[a+24>>2]=0;v[a+28>>2]=0}}function hY(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=-1;a:{if(!(!d|(!a|!b))){if(!c){v[b>>2]=0;v[d>>2]=0;return 0}e=v[b>>2]/2|0;h=v[d>>2];b:{if((h|0)<1){f=a;h=c;break b}k=c+h|0;l=(e<<1)+a|0;h=c;f=a;while(1){e=t[h|0];g=e&255;i=0;c:{if((e|0)>-1){j=0;break c}e=e&255;if(e>>>0<=191){v[b>>2]=f-a;v[d>>2]=h-c;return-2}if(e>>>0<=223){g=g&31;i=1;j=1;break c}d:{if(e>>>0<=239){j=2;g=g&15;break d}if(e>>>0>247){break a}j=3;g=g&7}i=1}e=h+1|0;if((k-e|0)<(j|0)){break b}m=k;e:{f:{if(e>>>0>>0&i){while(1){g:{i=e+1|0;e=w[e|0];if((e&192)!=128){break g}g=e&63|g<<6;j=j-1|0;if(!j){break g}e=i;if(k>>>0>e>>>0){continue}}break}if(g>>>0>65535){break f}e=i}if(f>>>0>=l>>>0){break b}u[f>>1]=g;f=f+2|0;break e}if(g>>>0>1114111|f+2>>>0>=l>>>0){break b}u[f+2>>1]=g&1023|56320;u[f>>1]=g+16711680>>>10|55296;e=i;f=f+4|0}h=e;if(m>>>0>e>>>0){continue}break}}v[b>>2]=f-a;v[d>>2]=h-c;e=v[b>>2]}return e|0}v[b>>2]=f-a;v[d>>2]=h-c;return-2}function aJ(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;g=Ma-16|0;Ma=g;a:{if(t[a+372|0]&1){i=v[a+52>>2];j=v[a+48>>2];k=x[a+46>>1];h=x[a+44>>1];l=v[a+36>>2];m=v[a+40>>2];f=a- -64|0;n=v[f+4>>2];v[g+8>>2]=v[f>>2];v[g+12>>2]=n;f=v[a+60>>2];v[g>>2]=v[a+56>>2];v[g+4>>2]=f;f=a+290|0;break a}i=v[a+88>>2];j=v[a+84>>2];k=x[a+82>>1];h=x[a+80>>1];l=v[a+72>>2];m=v[a+76>>2];f=v[a+104>>2];v[g+8>>2]=v[a+100>>2];v[g+12>>2]=f;f=v[a+96>>2];v[g>>2]=v[a+92>>2];v[g+4>>2]=f;f=a+292|0}f=x[f>>1];b:{if(f>>>0>=h>>>0){if(w[a+565|0]){v[a+12>>2]=134}u[e>>1]=0;a=1;break b}v[d+16>>2]=i;v[d+12>>2]=j;u[d+10>>1]=k;u[d+8>>1]=h;v[d>>2]=l;v[d+4>>2]=m;h=v[g+4>>2];v[d+20>>2]=v[g>>2];v[d+24>>2]=h;h=v[g+12>>2];v[d+28>>2]=v[g+8>>2];v[d+32>>2]=h;u[e>>1]=f;e=b;b=f<<3;d=b+i|0;b=b+j|0;b=Qa[v[a+576>>2]](a,v[d>>2]-v[b>>2]|0,v[d+4>>2]-v[b+4>>2]|0)|0;o=e,p=fc(b,u[a+302>>1],v[a+568>>2]),v[o>>2]=p;o=c,p=fc(b,u[a+304>>1],v[a+568>>2]),v[o>>2]=p;a=0}Ma=g+16|0;return a}function xN(a,b,c){var d=0,e=0,f=0;d=Ma-16|0;Ma=d;a:{if(b>>>0>20){break a}b:{switch(b-9|0){case 0:b=v[c>>2];v[c>>2]=b+4;v[a>>2]=v[b>>2];break a;case 1:b=v[c>>2];v[c>>2]=b+4;b=v[b>>2];v[a>>2]=b;v[a+4>>2]=b>>31;break a;case 2:b=v[c>>2];v[c>>2]=b+4;v[a>>2]=v[b>>2];v[a+4>>2]=0;break a;case 3:b=v[c>>2]+7&-8;v[c>>2]=b+8;c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;break a;case 4:b=v[c>>2];v[c>>2]=b+4;b=u[b>>1];v[a>>2]=b;v[a+4>>2]=b>>31;break a;case 5:b=v[c>>2];v[c>>2]=b+4;v[a>>2]=x[b>>1];v[a+4>>2]=0;break a;case 6:b=v[c>>2];v[c>>2]=b+4;b=t[b|0];v[a>>2]=b;v[a+4>>2]=b>>31;break a;case 7:b=v[c>>2];v[c>>2]=b+4;v[a>>2]=w[b|0];v[a+4>>2]=0;break a;case 8:b=v[c>>2]+7&-8;v[c>>2]=b+8;cl(d,A[b>>3]);b=v[d+12>>2];v[a+8>>2]=v[d+8>>2];v[a+12>>2]=b;b=v[d+4>>2];v[a>>2]=v[d>>2];v[a+4>>2]=b;break a;case 9:break b;default:break a}}b=v[c>>2]+7&-8;v[c>>2]=b+16;c=v[b>>2];e=v[b+4>>2];f=v[b+12>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=f;v[a>>2]=c;v[a+4>>2]=e}Ma=d+16|0}function v_a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=v[v[a+536>>2]+88>>2];e=(v[d+1176>>2]+B(v[d+1168>>2],v[a+572>>2])|0)+B(v[d+1164>>2],v[a+580>>2])|0;d=v[a+644>>2];a:{b:{c:{switch(w[a+2253|0]){case 0:case 4:break a;case 1:break c;default:break b}}if(v[a+588>>2]<=0){break b}while(1){c=w[e|0]|w[e+1|0]<<8;b=(c<<8|c>>>8)&65535;c=w[d|0]|w[d+1|0]<<8;c=b+((c<<8|c>>>8)&65535)&65535;c=c<<8|c>>>8;t[e|0]=c;t[e+1|0]=c>>>8;c=e+2|0;b=w[c|0]|w[c+1|0]<<8;f=(b<<8|b>>>8)&65535;b=w[d+2|0]|w[d+3|0]<<8;b=f+((b<<8|b>>>8)&65535)&65535;b=b<<8|b>>>8;t[c|0]=b;t[c+1|0]=b>>>8;c=e+4|0;b=w[c|0]|w[c+1|0]<<8;f=(b<<8|b>>>8)&65535;b=w[d+4|0]|w[d+5|0]<<8;b=f+((b<<8|b>>>8)&65535)&65535;b=b<<8|b>>>8;t[c|0]=b;t[c+1|0]=b>>>8;c=e+6|0;b=w[c|0]|w[c+1|0]<<8;f=(b<<8|b>>>8)&65535;b=w[d+6|0]|w[d+7|0]<<8;b=f+((b<<8|b>>>8)&65535)&65535;b=b<<8|b>>>8;t[c|0]=b;t[c+1|0]=b>>>8;d=d+8|0;e=e+8|0;g=g+1|0;if((g|0)>2]){continue}break}}return 0}cb(e,d,v[a+588>>2]<<3);return 0}function _Xa(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;if(e){q=e-1|0;r=e-2|0;n=(e|0)==1;while(1){a=f;t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];f=a+2|0;g=g+2|0;a:{if(!n&k>>>0>=q>>>0){break a}j=k?(k|0)==(r|0)?d:b:c;h=!k&n;if(!h){i=1;if(j>>>0<=1){break a}o=h?0:f;p=j<<1;while(1){l=g;m=w[o|0];h=w[a|0];if((m|0)!=(h|0)){h=h+(((B(m-h|0,i)<<1)+j|0)/(p|0)|0)|0}t[l|0]=h;m=w[o+1|0];h=w[a+1|0];if((m|0)!=(h|0)){h=h+(((B(m-h|0,i)<<1)+j|0)/(p|0)|0)|0}t[l+1|0]=h;g=g+2|0;i=i+1|0;if((j|0)!=(i|0)){continue}break}break a}if(j>>>0<2){break a}l=j-1|0;h=l&3;if(j-2>>>0>=3){i=l&-4;while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a|0];t[g+3|0]=w[a+1|0];t[g+4|0]=w[a|0];t[g+5|0]=w[a+1|0];t[g+6|0]=w[a|0];t[g+7|0]=w[a+1|0];g=g+8|0;i=i-4|0;if(i){continue}break}}if(!h){break a}while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];g=g+2|0;h=h-1|0;if(h){continue}break}}k=k+1|0;if((k|0)!=(e|0)){continue}break}}return 0}function tr(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;g=Ma-16|0;Ma=g;v[g+12>>2]=c;c=b;a:{b:{c:{if(w[a+11|0]>>>7|0){h=v[a+4>>2]}else{h=w[a+11|0]}if(c>>>0<=h>>>0){j=h-b|0;v[g+8>>2]=j;c=Ma-16|0;Ma=c;Ma=c+16|0;c=g+8|0;i=g+12|0;v[g+12>>2]=v[(y[c>>2]>2]?c:i)>>2];f=v[g+12>>2];c=w[a+11|0]>>>7|0?(v[a+8>>2]&2147483647)-1|0:1;if(f+(c-h|0)>>>0>=e>>>0){if(w[a+11|0]>>>7|0){c=v[a>>2]}else{c=a}i=c;c=v[g+12>>2];d:{if((e|0)==(c|0)){break d}j=j-c|0;if(!j){break d}f=i+(b<<2)|0;if(c>>>0>e>>>0){break c}e:{if(d>>>0<=f>>>0|i+(h<<2)>>>0<=d>>>0){break e}if(f+(c<<2)>>>0<=d>>>0){d=(e-c<<2)+d|0;break e}Rl(f,d,c);f=v[g+12>>2];c=0;v[g+12>>2]=0;d=(e<<2)+d|0;e=e-f|0;b=b+f|0}f=i+(b<<2)|0;Rl(f+(e<<2)|0,f+(c<<2)|0,j)}Rl(i+(b<<2)|0,d,e);break b}sr(a,c,e+h-(c+f)|0,h,b,f,e,d);break a}gi();L()}Rl(f,d,e);Rl(f+(e<<2)|0,f+(v[g+12>>2]<<2)|0,j)}c=(e-v[g+12>>2]|0)+h|0;b=c;f:{if(w[a+11|0]>>>7|0){v[a+4>>2]=b;break f}t[a+11|0]=b}v[g+4>>2]=0;v[i+(c<<2)>>2]=v[g+4>>2]}Ma=g+16|0}function U_a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=v[v[a+2248>>2]+88>>2];c=v[b+1168>>2];c=(v[b+1176>>2]+B(c,v[a+572>>2])|0)+B(c,v[a+2268>>2])|0;b=v[b+1164>>2];c=(c+B(b,v[a+580>>2])|0)+B(b,v[a+2264>>2])|0;e=v[a+636>>2]+v[a+616>>2]|0;d=v[a+588>>2];a:{b:{if(w[a+2253|0]!=4){b=0;if((d|0)<=0){break a}while(1){if(!(b&255)){g=w[e|0];e=e+1|0;b=128}if(b&g){t[c|0]=w[c|0]^1;d=v[a+588>>2]}b=(b&254)>>>1|0;c=v[a+584>>2]+c|0;f=f+1|0;if((f|0)<(d|0)){continue}break}break b}if((d|0)<1){break a}b=0;while(1){if(!(b&255)){g=w[e|0];e=e+1|0;b=128}t[c|0]=(b&g)!=0;b=(b&254)>>>1|0;c=v[a+584>>2]+c|0;d=v[a+588>>2];f=f+1|0;if((d|0)>(f|0)){continue}break}}if((d|0)<1){break a}b=v[a+540>>2];b=(v[b+1176>>2]+B(v[a+572>>2],v[b+1168>>2])|0)+B(v[a+580>>2],v[b+1164>>2])|0;f=v[a+636>>2]+v[a+616>>2]|0;c=0;e=0;d=0;while(1){if(!(c&255)){e=w[f|0];f=f+1|0;c=128}t[b|0]=(c&e&255)!=0;c=(c&254)>>>1|0;b=v[a+584>>2]+b|0;d=d+1|0;if((d|0)>2]){continue}break}}return 0}function ZP(a){var b=0,c=0,d=0,e=0,f=0,g=0;o(+a);b=j(1)|0;j(0)|0;f=b;b=b&2147483647;if(b>>>0>=1141899264){o(1.5707963267948966);b=j(1)|0;f=j(0)|0;o(+a);d=j(1)|0;j(0)|0;l(0,f|0);l(1,b&2147483647|d&-2147483648);e=+n();o(+a);b=j(1)|0;d=j(0)|0;b=b&2147483647;return(b|0)==2146435072&(d|0)!=0|b>>>0>2146435072?a:e}a:{b:{if(b>>>0<=1071382527){if(b>>>0<1044381696){break a}b=-1;d=1;break b}a=D(a);c:{if(b>>>0<=1072889855){if(b>>>0<=1072037887){a=(a+a+-1)/(a+2);b=0;d=0;break b}b=1;a=(a+-1)/(a+1);break c}if(b>>>0<=1073971199){b=2;a=(a+-1.5)/(a*1.5+1);break c}b=3;a=-1/a}d=0}g=a*a;c=g*g;e=c*(c*(c*(c*(c*-.036531572744216916+-.058335701337905735)+-.0769187620504483)+-.11111110405462356)+-.19999999999876483);c=g*(c*(c*(c*(c*(c*.016285820115365782+.049768779946159324)+.06661073137387531)+.09090887133436507)+.14285714272503466)+.3333333333333293);if(d){return a-a*(e+c)}b=b<<3;a=A[b+994368>>3]-(a*(e+c)-A[b+994400>>3]-a);a=(f|0)>-1?a:-a}return a}function PGa(a,b){a=a|0;b=b|0;var 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;l=v[a+328>>2]-1|0;m=v[a+448>>2];a:{while(1){f=v[a+144>>2];c=v[a+152>>2];if((f|0)>=(c|0)&((c|0)!=(f|0)|y[a+148>>2]>y[a+156>>2])){break a}if(Qa[v[v[a+456>>2]>>2]](a)|0){continue}break}return 0}if(v[a+36>>2]>=1){d=v[a+216>>2];while(1){b:{if(!v[d+52>>2]){break b}e=h<<2;c=v[d+12>>2];n=Qa[v[v[a+4>>2]+32>>2]](a,v[(e+m|0)+72>>2],B(c,v[a+156>>2]),c,0)|0;g=!v[d+28>>2];if(y[a+156>>2]>>0){c=v[d+12>>2]}else{f=v[d+12>>2];c=y[d+32>>2]%(f>>>0)|0;c=c?c:f}if(g|(c|0)<1){break b}o=v[(e+v[a+468>>2]|0)+4>>2];i=v[b+e>>2];g=0;e=1;while(1){f=0;if(e){e=v[(g<<2)+n>>2];j=0;k=0;while(1){Qa[o|0](a,d,e,i,j);e=e+128|0;j=v[d+36>>2]+j|0;f=v[d+28>>2];k=k+1|0;if(f>>>0>k>>>0){continue}break}}i=(v[d+40>>2]<<2)+i|0;e=f;g=g+1|0;if((c|0)!=(g|0)){continue}break}}d=d+88|0;h=h+1|0;if((h|0)>2]){continue}break}}b=v[a+156>>2]+1|0;v[a+156>>2]=b;return(b>>>0>2]?3:4)|0}function lr(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=c-b|0;if((d|0)<1){return 0}c=(b>>3)+a|0;a:{b=b&7;b:{c:{if(!b){a=0;break c}a=8-b|0;e=w[(w[c|0]<>>0>>0?a:e;a=(a|0)>(d|0)?d:a;if((b+a|0)<8){break b}c=c+1|0;d=d-a|0}d:{if((d|0)<64){b=d;break d}e:{if(!(c&3)){b=d;break e}b=w[c|0];if(b){e=a;break a}g=d-8|0;e=a+8|0;h=c+1|0;f:{if(!(h&3)){b=g;g=d;c=h;break f}b=w[h|0];if(b){break a}h=d-16|0;e=a+16|0;f=c+2|0;if(!(f&3)){b=h;c=f;break f}b=w[f|0];if(b){break a}g=d-24|0;e=a+24|0;f=c+3|0;if(!(f&3)){b=g;g=h;c=f;break f}b=w[f|0];if(b){break a}b=d-32|0;e=a+32|0;c=c+4|0}a=e;if((g|0)<40){break d}}d=b;while(1){if(v[c>>2]){b=d;break d}c=c+4|0;a=a+32|0;e=(d|0)>63;b=d-32|0;d=b;if(e){continue}break}}g:{if((b|0)<8){e=b;break g}while(1){d=w[c|0];if(d){return w[d+86224|0]+a|0}c=c+1|0;a=a+8|0;d=(b|0)>15;e=b-8|0;b=e;if(d){continue}break}}if((e|0)<1){break b}b=a;a=w[w[c|0]+86224|0];a=b+((a|0)>(e|0)?e:a)|0}return a}return w[b+86224|0]+e|0}function cM(a,b,c){var d=0,e=0,f=0,g=0;a:{b:{c:{d:{e:{f:{e=v[a+112>>2];d=v[e>>2];if((d|0)>=1){f=v[e+8>>2];a=0;while(1){g=f+(a<<3)|0;if(v[g>>2]==(b|0)){break f}a=a+1|0;if((d|0)!=(a|0)){continue}break}}if(!c){break b}if((d|0)<0){break a}a=d;f=a;if(v[e+4>>2]>(a|0)){break c}f=d+32|0;a=v[e+8>>2];if(!a){break e}a=ph(a,f<<3);break d}if(c){v[c>>2]=v[c>>2]+1;e=f+(a<<3)|0;a=v[e+4>>2];d=v[a>>2];v[a>>2]=d-1;if((d|0)<=1){d=v[v[a+8>>2]>>2];if(d){Qa[d|0](a)}$a(a)}v[g>>2]=b;v[e+4>>2]=c;return 0}c=v[(f+(a<<3)|0)+4>>2];f=v[c>>2];v[c>>2]=f-1;b=e;if((f|0)<=1){d=v[v[c+8>>2]>>2];if(d){Qa[d|0](c)}$a(c);d=v[e>>2]}c=(a^-1)+d|0;if((c|0)>=1){a=v[e+8>>2]+(a<<3)|0;id(a,a+8|0,c<<3);d=v[e>>2]}v[b>>2]=d-1;return 0}a=gb(f<<3)}if(!a){return-1}v[e+4>>2]=f;v[e+8>>2]=a;f=v[e>>2]}a=f;v[c>>2]=v[c>>2]+1;f=a-d|0;if((f|0)>=1){a=v[e+8>>2]+(d<<3)|0;id(a+8|0,a,f<<3);a=v[e>>2]}d=v[e+8>>2]+(d<<3)|0;v[d+4>>2]=c;v[d>>2]=b;v[e>>2]=a+1}return 0}O(31371,7738,765,188461);L()}function Pxa(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;f=Ma-48|0;Ma=f;a:{if(!a){break a}b:{switch(v[a+216>>2]-1|0){case 0:c=cY(v[a+8>>2],b,3,c,d,e);if(!c){if(!v[a+268>>2]){break a}c=v[a>>2];if(!c){break a}c=v[c+84>>2];if(!c){break a}a=v[a+4>>2];v[f+16>>2]=b;Qa[c|0](a,339513,f+16|0);break a}if(v[c+64>>2]|!d){break a}b=v[a+36>>2];c:{if(b){b=v[b+4>>2];if(b){break c}}b=v[a+180>>2]}g=c,h=Qs(d,b),v[g+64>>2]=h;break a;case 1:c=fY(v[a+8>>2],b,3,c,d,e);if(!c){if(!v[a+268>>2]){break a}c=v[a>>2];if(!c){break a}c=v[c+84>>2];if(!c){break a}a=v[a+4>>2];v[f+32>>2]=b;Qa[c|0](a,339400,f+32|0);break a}if(v[c+64>>2]|!d){break a}b=v[a+36>>2];d:{if(b){b=v[b+4>>2];if(b){break d}}b=v[a+180>>2]}g=c,h=Qs(d,b),v[g+64>>2]=h;break a;default:break b}}if(v[a+172>>2]==-1?v[a+212>>2]:0){break a}v[a+84>>2]=1;v[f+4>>2]=0;v[f>>2]=b;nb(0,0,0,a,0,1,1,3,b,0,0,0,338985,f);v[a+100>>2]=0;v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1}Ma=f+48|0}function PA(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;a:{if(!a){break a}c=v[a+100>>2];d=c;b=v[a+292>>2];if(b){Qa[v[d+8>>2]](d,b)}v[a+292>>2]=0;b=v[a+308>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+308>>2]=0;d=v[a+284>>2];if(d){b=c;if(v[a+280>>2]>=1){while(1){b:{if(!d){break b}e=B(f,12)+d|0;d=v[e>>2];if(d){Qa[v[c+8>>2]](c,d)}v[e>>2]=0;if(!w[e+4|0]){break b}d=v[e+8>>2];if(d){Qa[v[c+8>>2]](c,d)}v[e+8>>2]=0}f=f+1|0;if((f|0)>2]){d=v[a+284>>2];continue}break}d=v[a+284>>2]}if(d){Qa[v[b+8>>2]](b,d)}v[a+284>>2]=0}b=v[a+192>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+192>>2]=0;b=v[a+20>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+20>>2]=0;b=v[a+24>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+24>>2]=0;b=v[a+32>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+32>>2]=0;b=v[a+176>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+176>>2]=0;b=v[a+180>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+180>>2]=0;c=v[a+104>>2];if((c|0)!=(a+132|0)){break a}c:{if(!c){break c}b=v[c+24>>2];if(!b){break c}Qa[b|0](c)}v[a+104>>2]=v[a+172>>2]}}function A0(a){var b=0,c=0,d=0,e=0;b=v[a+480>>2];a=Qa[v[v[a+4>>2]>>2]](a,1,2044)|0;c=a+1020|0;v[b+40>>2]=c;v[a+1016>>2]=-1;v[a+1020>>2]=0;v[a+1024>>2]=1;v[a+1028>>2]=2;v[a+1032>>2]=3;v[a+1036>>2]=4;v[a+1008>>2]=-3;v[a+1012>>2]=-2;v[a+1040>>2]=5;v[a+1044>>2]=6;v[a+1e3>>2]=-5;v[a+1004>>2]=-4;v[a+1048>>2]=7;v[a+1052>>2]=8;v[a+992>>2]=-7;v[a+996>>2]=-6;v[a+1056>>2]=9;v[a+1060>>2]=10;v[a+984>>2]=-9;v[a+988>>2]=-8;v[a+1064>>2]=11;v[a+1068>>2]=12;v[a+976>>2]=-11;v[a+980>>2]=-10;v[a+1072>>2]=13;v[a+1076>>2]=14;v[a+968>>2]=-13;v[a+972>>2]=-12;v[a+1080>>2]=15;v[a+960>>2]=-15;v[a+964>>2]=-14;b=16;d=16;while(1){a=d<<2;v[a+c>>2]=b;e=0-b|0;v[c-a>>2]=e;v[(a|4)+c>>2]=b;v[((d^-1)<<2)+c>>2]=e;b=b+1|0;a=48;d=d+2|0;if((d|0)!=48){continue}break}while(1){b=a<<2;v[b+c>>2]=32;v[c-b>>2]=-32;v[(b|4)+c>>2]=32;v[((a^-1)<<2)+c>>2]=-32;v[(b|8)+c>>2]=32;v[(-2-a<<2)+c>>2]=-32;v[(b|12)+c>>2]=32;v[(-3-a<<2)+c>>2]=-32;a=a+4|0;if((a|0)!=256){continue}break}}function $_a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=v[v[a+2248>>2]+88>>2];c=v[b+1168>>2];c=(v[b+1176>>2]+B(c,v[a+572>>2])|0)+B(c,v[a+2268>>2])|0;b=v[b+1164>>2];b=(c+B(b,v[a+580>>2])|0)+B(b,v[a+2264>>2])|0;e=v[a+636>>2]+v[a+616>>2]|0;c=v[a+588>>2];a:{b:{if(w[a+2253|0]!=4){if((c|0)<=0){break a}while(1){if(!(d&255)){g=w[e|0];e=e+1|0;d=128}if(d&g){t[b|0]=w[b|0]^-1;c=v[a+588>>2]}d=(d&254)>>>1|0;b=v[a+584>>2]+b|0;f=f+1|0;if((f|0)<(c|0)){continue}break}break b}if((c|0)<1){break a}while(1){c=b;if(!(d&255)){g=w[e|0];e=e+1|0;d=128}t[c|0]=d&g?-1:0;d=(d&254)>>>1|0;b=v[a+584>>2]+b|0;c=v[a+588>>2];f=f+1|0;if((c|0)>(f|0)){continue}break}}if((c|0)<1){break a}b=v[a+540>>2];d=(v[b+1176>>2]+B(v[a+572>>2],v[b+1168>>2])|0)+B(v[a+580>>2],v[b+1164>>2])|0;f=v[a+636>>2]+v[a+616>>2]|0;b=0;e=0;c=0;while(1){if(!(b&255)){e=w[f|0];f=f+1|0;b=128}t[d|0]=(b&e&255)!=0;b=(b&254)>>>1|0;d=v[a+584>>2]+d|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function l$(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=Ma-16|0;Ma=c;d=v[a+104>>2];g=v[d+28>>2];e=v[a+736>>2];t[e+24|0]=1;a:{if(Qa[v[a+516>>2]](a,1635148146,d,c+8|0)|0){break a}a=Ed(d,v[c+8>>2]);v[c+12>>2]=a;if(a){break a}a=Ig(d);f=Ig(d);b:{if((a|0)!=65536|(f|0)!=v[v[e+12>>2]>>2]){break b}a=yb(g,8,0,f,0,c+12|0);v[e+28>>2]=a;if(v[c+12>>2]|(f|0)<1){break b}while(1){c:{b=ae(d);u[a>>1]=b;if(y[c+8>>2]>>0){break c}k=a,l=yb(g,8,0,b,0,c+12|0),v[k+4>>2]=l;if(v[c+12>>2]){break c}b=0;if(x[a>>1]){while(1){i=ae(d);j=b<<3;v[j+v[a+4>>2]>>2]=i<<16>>16<<2;i=ae(d);v[(v[a+4>>2]+j|0)+4>>2]=i<<16>>16<<2;b=b+1|0;if(b>>>0>1]){continue}break}}a=a+8|0;h=h+1|0;if((f|0)!=(h|0)){continue}break b}break}d:{if(!h){a=v[e+28>>2];break d}a=v[e+28>>2];while(1){f=h-1|0;b=f<<3;a=v[(b+a|0)+4>>2];if(a){Qa[v[g+8>>2]](g,a)}a=v[e+28>>2];v[(b+a|0)+4>>2]=0;b=(h|0)>1;h=f;if(b){continue}break}}if(a){Qa[v[g+8>>2]](g,a)}v[e+28>>2]=0}dd(d)}Ma=c+16|0}function xY(a){var b=0,c=0,d=0;c=a+148|0;while(1){d=b<<2;u[d+c>>1]=0;u[(d|4)+c>>1]=0;b=b+2|0;if((b|0)!=286){continue}break}u[a+2684>>1]=0;u[a+2440>>1]=0;u[a+2756>>1]=0;u[a+2752>>1]=0;u[a+2748>>1]=0;u[a+2744>>1]=0;u[a+2740>>1]=0;u[a+2736>>1]=0;u[a+2732>>1]=0;u[a+2728>>1]=0;u[a+2724>>1]=0;u[a+2720>>1]=0;u[a+2716>>1]=0;u[a+2712>>1]=0;u[a+2708>>1]=0;u[a+2704>>1]=0;u[a+2700>>1]=0;u[a+2696>>1]=0;u[a+2692>>1]=0;u[a+2688>>1]=0;u[a+2556>>1]=0;u[a+2552>>1]=0;u[a+2548>>1]=0;u[a+2544>>1]=0;u[a+2540>>1]=0;u[a+2536>>1]=0;u[a+2532>>1]=0;u[a+2528>>1]=0;u[a+2524>>1]=0;u[a+2520>>1]=0;u[a+2516>>1]=0;u[a+2512>>1]=0;u[a+2508>>1]=0;u[a+2504>>1]=0;u[a+2500>>1]=0;u[a+2496>>1]=0;u[a+2492>>1]=0;u[a+2488>>1]=0;u[a+2484>>1]=0;u[a+2480>>1]=0;u[a+2476>>1]=0;u[a+2472>>1]=0;u[a+2468>>1]=0;u[a+2464>>1]=0;u[a+2460>>1]=0;u[a+2456>>1]=0;u[a+2452>>1]=0;u[a+2448>>1]=0;u[a+2444>>1]=0;v[a+5804>>2]=0;v[a+5808>>2]=0;u[a+1172>>1]=1;v[a+5800>>2]=0;v[a+5792>>2]=0}function Yr(a,b,c,d){var e=0;a:{if((a|0)==(c|0)){e=1;if((b|0)==(d|0)){break a}}e=2;if(((a+1|0)/2|0)==(c|0)&((b+1|0)/2|0)==(d|0)){break a}e=3;if(((a+2|0)/3|0)==(c|0)&((b+2|0)/3|0)==(d|0)){break a}e=4;if(((a+3|0)/4|0)==(c|0)&((b+3|0)/4|0)==(d|0)){break a}e=5;if(((a+4|0)/5|0)==(c|0)&((b+4|0)/5|0)==(d|0)){break a}e=6;if(((a+5|0)/6|0)==(c|0)&((b+5|0)/6|0)==(d|0)){break a}e=7;if(((a+6|0)/7|0)==(c|0)&((b+6|0)/7|0)==(d|0)){break a}e=8;if(((a+7|0)/8|0)==(c|0)&((b+7|0)/8|0)==(d|0)){break a}e=9;if(((a+8|0)/9|0)==(c|0)&((b+8|0)/9|0)==(d|0)){break a}e=10;if(((a+9|0)/10|0)==(c|0)&((b+9|0)/10|0)==(d|0)){break a}e=11;if(((a+10|0)/11|0)==(c|0)&((b+10|0)/11|0)==(d|0)){break a}e=12;if(((a+11|0)/12|0)==(c|0)&((b+11|0)/12|0)==(d|0)){break a}e=13;if(((a+12|0)/13|0)==(c|0)&((b+12|0)/13|0)==(d|0)){break a}e=14;if(((a+13|0)/14|0)==(c|0)&((b+13|0)/14|0)==(d|0)){break a}e=15;if(((a+14|0)/15|0)==(c|0)&((b+14|0)/15|0)==(d|0)){break a}e=16}return e}function tZ(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;if(!(!a|!d)){i=!c;a:{if((b|0)<=0){break a}k=a+b|0;while(1){g=w[a|0];if(!g){break a}b=0;b:{c:{d:{e:{if(a>>>0>>0){l=0;h=0;while(1){f=g<<24>>24;e=f-65|0;f:{if(e>>>0<26){break f}if(f-97>>>0<=25){e=f-71|0;break f}if(f-48>>>0<=9){e=f+4|0;break f}e=g&255;e=(e|0)==43?62:(e|0)==47?63:-1}f=(e|0)==-1;b=f?b:b+6|0;h=f?h:h<<6|e;a=a+1|0;l=(l-f|0)+1|0;if(!(k>>>0<=a>>>0|(l|0)>3)){g=w[a|0];continue}break}if(!i){break e}e=(b|0)/8|0;i=1;if((b|0)<=7){break b}break d}if(i){i=1;break b}h=0}e=(b|0)/8|0;f=j+e|0;g=v[d>>2];i=(f|0)>(g|0);if((b|0)<=7){break b}if((f|0)<=(g|0)){break c}}j=e+j|0;break b}g=e&3;b=h<<24-b;g:{if(e-1>>>0<3){e=b;break g}h=e&-4;while(1){e=0;t[c+3|0]=0;t[c+2|0]=b;t[c+1|0]=b>>>8;t[c|0]=b>>>16;c=c+4|0;b=0;h=h-4|0;if(h){continue}break}}if(g){while(1){t[c|0]=e>>>16;e=e<<8;c=c+1|0;g=g-1|0;if(g){continue}break}}j=f}if(a>>>0>>0){continue}break}}v[d>>2]=j;e=!i}return e}function jXa(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,j=0,k=0,l=0;a:{b:{if(f){a=c<<1;l=b<<1;if(((c+1|0)/2|0)>(b|0)){break b}if(!d){break a}b=0;while(1){u[g>>1]=x[f>>1];j=g+2|0;h=x[e+2>>1];c:{if((h|0)==x[f+2>>1]){u[j>>1]=h;break c}h=e+2|0;i=w[h+1|0]<<8;k=w[h|0]|i;h=i|w[h|0];i=(h<<8|h>>>8)&65535;h=w[f+2|0]|w[f+3|0]<<8;h=i+((B(((h<<8|h>>>8)&65535)-((k<<8|k>>>8)&65535)|0,l)+c|0)/(a|0)|0)&65535;h=h<<8|h>>>8;t[j|0]=h;t[j+1|0]=h>>>8}f=f+4|0;e=e+4|0;g=g+4|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}break a}cb(g,e,d<<2);break a}if(!d){break a}b=0;while(1){u[g>>1]=x[e>>1];j=g+2|0;h=x[e+2>>1];d:{if((h|0)==x[f+2>>1]){u[j>>1]=h;break d}h=e+2|0;i=w[h+1|0]<<8;k=w[h|0]|i;h=i|w[h|0];i=(h<<8|h>>>8)&65535;h=w[f+2|0]|w[f+3|0]<<8;h=i+((B(((h<<8|h>>>8)&65535)-((k<<8|k>>>8)&65535)|0,l)+c|0)/(a|0)|0)&65535;h=h<<8|h>>>8;t[j|0]=h;t[j+1|0]=h>>>8}f=f+4|0;e=e+4|0;g=g+4|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}}return 0}function YA(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=v[a>>2];a:{if(w[c+732|0]){break a}t[a+112|0]=0;d=v[a+16>>2];e=v[a+12>>2];v[a+48>>2]=e;v[a+52>>2]=d;d=v[a+24>>2];v[a+56>>2]=v[a+20>>2];v[a+60>>2]=d;f=v[a+32>>2];d=a- -64|0;v[d>>2]=v[a+28>>2];v[d+4>>2]=f;v[a+72>>2]=v[a+36>>2];d=151;if(!(e&65535)|!x[a+50>>1]){break a}if(w[c+176|0]&8){g=a,h=xb(u[c+70>>1],v[a+56>>2])+32&-64,v[g+60>>2]=h;g=a- -64|0,h=xb(u[c+72>>1],v[a+56>>2])+32&-64,v[g>>2]=h;g=a,h=xb(u[c+74>>1],v[a+56>>2])+32&-64,v[g+68>>2]=h}t[a+112|0]=1;d=0;if(b){break a}if(w[c+176|0]&8){g=a,h=Ub(x[a+48>>1]<<6,x[c+68>>1]),v[g+52>>2]=h;g=a,h=Ub(x[a+50>>1]<<6,x[c+68>>1]),v[g+56>>2]=h;g=a,h=xb(u[c+76>>1],v[a+52>>2])+32&-64,v[g+72>>2]=h}e=a+48|0;b=x[a+48>>1];c=x[a+50>>1];b:{if(b>>>0>=c>>>0){v[a+76>>2]=65536;u[a+84>>1]=b;v[a+92>>2]=v[a+52>>2];b=Ub(c,b);break b}u[a+84>>1]=c;v[a+92>>2]=v[a+56>>2];g=a,h=Ub(b,c),v[g+76>>2]=h;b=65536}v[a+308>>2]=-1;v[a+44>>2]=e;v[a+80>>2]=b}return d}function RMa(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;f=+f;g=+g;var h=0,i=0,j=0;h=v[a+2228504>>2];if(h){Qa[v[v[h>>2]+80>>2]](h,b,c,d,e,f,g)}A[a+8>>3]=A[b>>3];A[a+16>>3]=A[c>>3];j=A[d>>3];a:{if(v[a+128>>2]){A[a+24>>3]=j+A[b>>3]*.3090169943749;e=A[c>>3]*.3090169943749+e;break a}A[a+24>>3]=j}A[a+48>>3]=g;A[a+40>>3]=f;A[a+32>>3]=e;d=v[a+268>>2];c=v[a+264>>2];b=d-c|0;b:{if(!b){break b}b=(b|0)/104|0;i=b>>>0>1?b:1;h=i&7;b=0;if(i-1>>>0>=7){i=i&-8;while(1){v[(c+B(b,104)|0)+100>>2]=1;v[(c+B(b|1,104)|0)+100>>2]=1;v[(c+B(b|2,104)|0)+100>>2]=1;v[(c+B(b|3,104)|0)+100>>2]=1;v[(c+B(b|4,104)|0)+100>>2]=1;v[(c+B(b|5,104)|0)+100>>2]=1;v[(c+B(b|6,104)|0)+100>>2]=1;v[(c+B(b|7,104)|0)+100>>2]=1;b=b+8|0;i=i-8|0;if(i){continue}break}}if(!h){break b}while(1){v[(c+B(b,104)|0)+100>>2]=1;b=b+1|0;h=h-1|0;if(h){continue}break}}if((c|0)!=(d|0)){while(1){Dh(d-28|0);d=d-104|0;if((c|0)!=(d|0)){continue}break}}v[a+268>>2]=c;eb(a+276|0,255,2228224)}function hr(a,b,c){var d=0,e=0,f=0,g=0;d=v[a+16>>2];a:{b:{if((b|0)<=-1){b=d;if((d|0)>-1){break b}break a}if((b|0)>(d|0)){break a}}g=v[a+20>>2];c:{if((g|0)>(d|0)){break c}f=g+128|0;d=v[a+24>>2];d:{if(!d){d=gb(f<<2);break d}d=ph(d,f<<2)}if(!d){return-1}v[a+20>>2]=f;v[a+24>>2]=d;e=v[a+16>>2];if((e|0)>=(f|0)){break c}v[d+(e<<2)>>2]=0;d=e+1|0;if((f|0)==(d|0)){break c}e=g-e|0;g=e+126|0;e=e-1&3;if(e){while(1){v[v[a+24>>2]+(d<<2)>>2]=0;d=d+1|0;e=e-1|0;if(e){continue}break}}if(g>>>0<3){break c}while(1){e=d<<2;v[e+v[a+24>>2]>>2]=0;v[(e+v[a+24>>2]|0)+4>>2]=0;v[(e+v[a+24>>2]|0)+8>>2]=0;v[(e+v[a+24>>2]|0)+12>>2]=0;d=d+4|0;if((f|0)!=(d|0)){continue}break}}c=vM(v[c>>2],v[c+4>>2],v[c+8>>2],v[c+12>>2],v[c+16>>2],v[c+20>>2],v[c+24>>2],v[c+28>>2]!=0,1);if(!c){return-1}d=v[a+16>>2];if((d|0)>(b|0)){f=v[a+24>>2]+(b<<2)|0;id(f+4|0,f,d-b<<2);d=v[a+16>>2]}v[v[a+24>>2]+(b<<2)>>2]=c;v[a+16>>2]=d+1;Wt(a);return 0}O(11101,7190,663,188164);L()}function eG(a){var b=0,c=0,d=0,e=0,f=0,g=0;d=v[a>>2];if((Qa[v[v[d>>2]+40>>2]](d,v[a+24>>2],v[a+20>>2])|0)==v[a+20>>2]){a:{b:{c:{d:{c=v[a+12>>2];switch(c-1|0){case 7:break a;case 0:break c;case 15:break d;default:break b}}if(v[a+16>>2]<=0){break a}while(1){t[v[a+28>>2]+b|0]=w[v[a+24>>2]+(b<<1)|0];b=b+1|0;if((b|0)>2]){continue}break}break a}if(v[a+16>>2]<1){break a}d=v[a+24>>2];while(1){c=w[d|0];t[v[a+28>>2]+b|0]=c>>>7;t[v[a+28>>2]+(b|1)|0]=c>>>6&1;t[v[a+28>>2]+(b|2)|0]=c>>>5&1;t[v[a+28>>2]+(b|3)|0]=c>>>4&1;t[v[a+28>>2]+(b|4)|0]=c>>>3&1;t[v[a+28>>2]+(b|5)|0]=c>>>2&1;t[v[a+28>>2]+(b|6)|0]=c>>>1&1;t[v[a+28>>2]+(b|7)|0]=c&1;d=d+1|0;b=b+8|0;if((b|0)>2]){continue}break}break a}if(v[a+16>>2]<1){break a}g=-1<>2];d=0;while(1){if((b|0)<(c|0)){f=w[e|0]|f<<8;e=e+1|0;b=b+8|0}t[v[a+28>>2]+d|0]=f>>>b-c&g;c=v[a+12>>2];b=b-c|0;d=d+1|0;if((d|0)>2]){continue}break}}a=v[a+28>>2]}else{a=0}return a}function aX(a,b,c){var d=0,e=0;d=DH();if(!d){return 0}if(c){v[d+360>>2]=v[c+360>>2];v[d+272>>2]=v[c+272>>2]}a:{b:{c:{d:{e:{f:{e=Qs(a,0);if(!e){e=jA(a,b,d);if(!e){break a}c=v[d+40>>2];b=v[d+44>>2];g:{if((c|0)<(b|0)){b=v[d+48>>2];break g}v[d+44>>2]=b<<1;b=Qa[v[256557]](v[d+48>>2],b<<3)|0;v[d+48>>2]=b;if(!b){break f}c=v[d+40>>2]}v[(c<<2)+b>>2]=e;v[d+40>>2]=c+1;v[d+36>>2]=e;break c}a=jA(e,b,d);if(!a){Qa[v[256556]](e);break a}c=v[d+40>>2];b=v[d+44>>2];h:{if((c|0)<(b|0)){b=v[d+48>>2];break h}v[d+44>>2]=b<<1;b=Qa[v[256557]](v[d+48>>2],b<<3)|0;v[d+48>>2]=b;if(!b){break e}c=v[d+40>>2]}v[(c<<2)+b>>2]=a;v[d+40>>2]=c+1;v[d+36>>2]=a;break d}Yc(d,0);Vh(e);v[d+44>>2]=v[d+44>>2]/2;break c}Yc(d,0);Vh(a);v[d+44>>2]=v[d+44>>2]/2}i:{if(v[d+180>>2]){break i}a=EH(e);if(v[d+180>>2]|!a){break i}v[d+180>>2]=a}Qa[v[256556]](e);break b}if(v[d+180>>2]){break b}a=EH(a);if(v[d+180>>2]|!a){break b}v[d+180>>2]=a;return d}return d}fj(d);return 0}function OE(a,b,c,d){var e=0,f=0;e=v[v[b+12>>2]+((c>>>0)%y[b+8>>2]<<2)>>2];a:{if(e){while(1){if(v[e+12>>2]==(c|0)&v[e+16>>2]==(c|0)){break a}e=v[e+8>>2];if(e){continue}break}}e=ab(24);v[e>>2]=0;v[e+4>>2]=0;v[e+20>>2]=0;v[e+16>>2]=c;v[e+12>>2]=c;v[e+8>>2]=0;bj(b,e)}v[e+20>>2]=d;f=a+8|0;e=f;e=v[v[e+12>>2]+((c>>>0)%y[e+8>>2]<<2)>>2];b:{if(!e){break b}while(1){if(!(v[e+12>>2]==(c|0)&v[e+16>>2]==(c|0))){e=v[e+8>>2];if(e){continue}break b}break}e=v[v[f+12>>2]+((c>>>0)%y[f+8>>2]<<2)>>2];c:{if(e){while(1){if(v[e+12>>2]==(c|0)&v[e+16>>2]==(c|0)){break c}e=v[e+8>>2];if(e){continue}break}}e=ab(24);v[e>>2]=0;v[e+4>>2]=0;v[e+20>>2]=0;v[e+16>>2]=c;v[e+12>>2]=c;v[e+8>>2]=0;bj(f,e)}c=v[v[e+20>>2]+8>>2];if(!c){break b}f=d+1|0;while(1){d=v[c+8>>2];e=v[v[b+12>>2]+((d>>>0)%y[b+8>>2]<<2)>>2];d:{if(e){while(1){if((d|0)==v[e+12>>2]&(d|0)==v[e+16>>2]){break d}e=v[e+8>>2];if(e){continue}break}}OE(a,b,d,f)}c=v[c>>2];if(c){continue}break}}}function aDa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;if(y[b+160>>2]>>0){$c(b,8)}c=w[a+3|0]|w[a+2|0]<<8;i=c+a|0;if(!(c>>>0>=518&y[b+160>>2]>=i>>>0)){$c(b,8)}c=a+6|0;while(1){d=w[c+1|0];f=d|w[c|0]<<8;if(!(!(d&7)|y[b+164>>2]<2)){$c(b,8)}c=c+2|0;d=f>>>3|0;g=d>>>0>g>>>0?d:g;e=e+1|0;if((e|0)!=256){continue}break}c=a+518|0;j=(c+(g<<3)|0)+8|0;if(j>>>0>y[b+160>>2]){$c(b,8)}a=0;while(1){d=c+8|0;f=w[c+3|0]|w[c+2|0]<<8;a:{if(!f){c=d;break a}e=w[c+7|0]|w[c+6|0]<<8;k=w[c+4|0];l=w[c+5|0];h=w[c|0];m=w[c+1|0];b:{if(y[b+164>>2]<2){break b}h=h<<8|m;if(h>>>0<=255&f>>>0<=256-h>>>0){break b}$c(b,8)}if(!e){c=d;break a}e=e+(c+6|0)|0;if(!(e>>>0>=j>>>0&e+(f<<1)>>>0<=i>>>0)){$c(b,9)}if(!v[b+164>>2]){c=d;break a}e=k<<8|l;f=((f<<1)+c|0)+8|0;c=d;while(1){d=c;c=c+2|0;d=w[d+1|0]|w[d|0]<<8;if(!(!d|y[b+172>>2]>(d+e&65535)>>>0)){$c(b,16)}if(c>>>0>>0){continue}break}}a=a+1|0;if(g>>>0>=a>>>0){continue}break}return 0}function Nxa(a,b,c,d){a=a|0;b=b|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=B(v[b+36>>2],v[b+28>>2]);g=v[a+28>>2];i=(l<<1)-g|0;e=v[a+272>>2];if(!((i|0)<1|(e|0)<1)){h=e&3;b=0;if(e-1>>>0>=3){k=e&-4;while(1){e=b<<2;f=g+v[e+c>>2]|0;eb(f,w[f-1|0],i);f=g+v[(e|4)+c>>2]|0;eb(f,w[f-1|0],i);f=g+v[(e|8)+c>>2]|0;eb(f,w[f-1|0],i);f=g+v[(e|12)+c>>2]|0;eb(f,w[f-1|0],i);b=b+4|0;k=k-4|0;if(k){continue}break}}if(h){while(1){f=g+v[(b<<2)+c>>2]|0;eb(f,w[f-1|0],i);b=b+1|0;h=h-1|0;if(h){continue}break}}e=v[a+272>>2]}if(!((e|0)<1|!l)){f=l&-2;i=l&1;h=0;k=0;while(1){e=h<<2;b=v[e+c>>2];g=v[(k<<2)+d>>2];j=v[(e|4)+c>>2];e=f;if((l|0)!=1){while(1){t[g|0]=(w[j+1|0]+(w[j|0]+(w[b|0]+w[b+1|0]|0)|0)|0)+1>>>2;t[g+1|0]=(w[j+3|0]+(w[j+2|0]+(w[b+2|0]+w[b+3|0]|0)|0)|0)+2>>>2;j=j+4|0;b=b+4|0;g=g+2|0;e=e-2|0;if(e){continue}break}}if(i){t[g|0]=(w[j+1|0]+(w[j|0]+(w[b|0]+w[b+1|0]|0)|0)|0)+1>>>2}k=k+1|0;h=h+2|0;if((h|0)>2]){continue}break}}}function $I(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!a){return 6}f=v[a>>2];a:{if(!f){break a}d=v[a+4>>2];if(d){j=b>>>0>d>>>0?d:b;f=d;while(1){b=0;g=65536;e=0;b:{if(!f){break b}while(1){c:{if(b>>>0>=j>>>0){g=g>>1;break c}e=v[(b<<2)+c>>2];e=i>>>b&1?e:65536-e|0;if((e|0)<1){g=0;e=f;break b}if((e|0)>65535){break c}g=xb(g,e);d=v[a+4>>2]}f=d;e=d;b=b+1|0;if(d>>>0>b>>>0){continue}break}}b=v[a+136>>2]+(i<<2)|0;if(v[b>>2]!=(g|0)){v[b>>2]=g;h=1}f=e;i=i+1|0;if(i>>>0>2]){continue}break}break a}e=f&3;a=v[a+136>>2];d:{if(f-1>>>0<3){b=0;break d}f=f&-4;b=0;while(1){c=b<<2;d=c+a|0;if(v[d>>2]!=65536){v[d>>2]=65536;h=1}d=a+(c|4)|0;if(v[d>>2]!=65536){v[d>>2]=65536;h=1}d=a+(c|8)|0;if(v[d>>2]!=65536){v[d>>2]=65536;h=1}c=a+(c|12)|0;if(v[c>>2]!=65536){v[c>>2]=65536;h=1}b=b+4|0;f=f-4|0;if(f){continue}break}}if(!e){break a}while(1){c=a+(b<<2)|0;if(v[c>>2]!=65536){v[c>>2]=65536;h=1}b=b+1|0;e=e-1|0;if(e){continue}break}}return h?0:-1}function vi(a){var b=0,c=0,d=0,e=0,f=0;a:{if(!a){break a}b:{switch(w[a|0]-97|0){case 11:b=231492;if((a|0)==231492){return 1026236}c=108;while(1){if(c){d=w[b+1|0];b=b+1|0;a=a+1|0;c=w[a|0];if((d|0)==(c|0)){continue}break a}break};return 1026236;case 6:b=232363;if((a|0)==232363){return 1026312}c=103;while(1){if(c){d=w[b+1|0];b=b+1|0;a=a+1|0;c=w[a|0];if((d|0)==(c|0)){continue}break a}break};return 1026312;case 0:b=242367;if((a|0)==242367){return 1026388}c=97;d=a;c:{while(1){if(c){e=w[b+1|0];b=b+1|0;d=d+1|0;c=w[d|0];if((e|0)==(c|0)){continue}break c}break}return 1026388}b=235142;if((a|0)==235142){return 1026464}c=97;while(1){if(!c){return 1026464}d=w[b+1|0];b=b+1|0;a=a+1|0;c=w[a|0];if((d|0)==(c|0)){continue}break};break a;case 16:break b;default:break a}}b=227560;d:{if((a|0)==227560){break d}c=113;while(1){if(!c){break d}d=w[b+1|0];b=b+1|0;a=a+1|0;c=w[a|0];if((d|0)==(c|0)){continue}break}break a}f=1026540}return f}function rj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=Ma-32|0;Ma=d;h=d+21|0;c=h;j=d+32|0;e=j;if(!((c|0)==(e|0)|(b|0)>-1)){t[c|0]=45;c=c+1|0;b=0-b|0}i=d;a:{b:{g=e-c|0;if((g|0)<=9){f=B(32-E(b|1)|0,1233)>>>12|0;if((g|0)<((f-(y[(f<<2)+1010448>>2]>b>>>0)|0)+1|0)){break b}}f=d;c:{if(b>>>0<=99999999){d:{if(b>>>0<=9999){b=uN(c,b);break d}e=c;c=(b>>>0)/1e4|0;b=sx(uN(e,c),b-B(c,1e4)|0)}break c}e=(b>>>0)/1e8|0;g=b-B(e,1e8)|0;b=(g>>>0)/1e4|0;b=sx(sx(vN(c,e),b),g-B(b,1e4)|0)}v[f+8>>2]=b;b=0;break a}v[d+8>>2]=e;b=61}v[i+12>>2]=b;e=Ma-16|0;Ma=e;c=Ma-16|0;Ma=c;e:{g=v[d+8>>2];d=g-h|0;if(d>>>0<=1073741807){f:{if(d>>>0<=1){t[a+11|0]=d;b=a;break f}i=a;if(d>>>0>=2){f=d+4&-4;b=f-1|0;b=(b|0)==2?f:b}else{b=1}f=b+1|0;b=FN(f);v[i>>2]=b;v[a+8>>2]=f|-2147483648;v[a+4>>2]=d}while(1){if((h|0)!=(g|0)){v[c+12>>2]=t[h|0];h=h+1|0;v[b>>2]=v[c+12>>2];b=b+4|0;continue}break}v[c+8>>2]=0;v[b>>2]=v[c+8>>2];Ma=c+16|0;break e}sc();L()}Ma=e+16|0;Ma=j}function DI(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=Ma-16|0;Ma=g;a:{if(v[b>>2]>0){break a}f=a+76|0;while(1){d=v[a+4>>2];if(!d){break a}b:{c:{if((d|0)==v[a+20>>2]){v[a+4>>2]=v[a>>2];c=zb(d);break c}c=ye(d,58);v[a+4>>2]=c;if(!c){c=zb(d);break c}v[a+4>>2]=c+1;c=c-d|0}if(!c){break b}v[a+128>>2]=0;t[v[a+76>>2]]=0;Of(f,d,c,b);d=v[a+76>>2];e=Ym(d,47);d:{e:{if(w[a+188|0]!=1|(c|0)<4){break e}if(Kb((c+d|0)-4|0,v[a+12>>2],4)){break e}e=e?e+1|0:d;h=v[a+16>>2];if(Kb(e,v[a+8>>2],h)){break e}if((zb(e)|0)==(h+4|0)){break d}}e=c+d|0;if(w[e-1|0]!=47){if((c|0)>=4){if(!Kb(e-4|0,234071,4)){break b}}d=v[a+184>>2];f:{if(!d|(c|0)<=(d|0)){break f}if(hb(e-d|0,v[a+132>>2])){break f}c=c-d|0;c=(c|0)>0?c:0;if((c|0)>2]){v[f+52>>2]=c;t[c+v[f>>2]|0]=0}}Vs(f,b)}Of(f,v[a+132>>2]+1|0,v[a+184>>2]-1|0,b);a=v[a+12>>2];if(!w[a|0]){break d}a=Ri(g+8|0,a);Of(f,v[a>>2],v[a+4>>2],b)}i=v[f>>2];break a}if(v[a>>2]){continue}break}}Ma=g+16|0;return i}function oya(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=v[b>>2];h=v[d>>2];if(((h|0)%2|0)==1){h=h-1|0;v[d>>2]=h}f=a;g=c;l=g+((h|0)/2<<1)|0;a:{if(g>>>0>=l>>>0){break a}k=a+e|0;e=a;h=c;while(1){g=h;f=e;j=f-a|0;if(v[b>>2]<=(j+5|0)){break a}h=g+2|0;b:{c:{i=x[g>>1];if((i&64512)==55296){if(h>>>0>=l>>>0){break a}e=x[h>>1];if((e&64512)!=56320){break c}i=(i<<10&1047552|e&1023)+65536|0;h=g+4|0}if(f>>>0>=k>>>0){break a}if(i>>>0<=127){t[f|0]=i;e=f+1|0;break b}d:{if(i>>>0<=2047){e=i>>>6|-64;m=0;j=0;g=0;break d}if(i>>>0<=65535){e=i>>>12|-32;j=0;m=1;g=6;break d}e=i>>>18|-16;m=1;j=1;g=12}t[f|0]=e;e=f+1|0;if(k>>>0<=e>>>0){break b}t[f+1|0]=i>>>g&63|128;e=f+2|0;if(!(k>>>0>e>>>0&m)){break b}t[f+2|0]=i>>>g-6&63|128;e=f+3|0;if(!(k>>>0>e>>>0&j)){break b}t[f+3|0]=i>>>g-12&63|128;e=f+4|0;break b}v[b>>2]=j;v[d>>2]=g-c;return-2}if(h>>>0>>0){continue}break}f=e;g=h}v[b>>2]=f-a;v[d>>2]=g-c;return v[b>>2]}function ZR(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=Ma-48|0;Ma=f;a:{b:{c:{d:{if(w[b+144|0]){d=v[b+24>>2];if(d){break c}j=b+112|0;e:{while(1){h=Lf(f+8|0,j);i=0;g=v[f+16>>2];if(!g){break e}while(1){d=v[g+8>>2];if(d){v[d+4>>2]=v[d+4>>2]+1;d=v[g+8>>2]}else{d=0}e=v[d+148>>2];ZR(a,d,0);if(v[a>>2]){f:{if(!d){break f}a=v[d+4>>2]-1|0;v[d+4>>2]=a;if(a){break f}a=v[d+4>>2];if(!a){v[d+4>>2]=-32767}if(!a){Qa[v[v[d>>2]+4>>2]](d)}}ac(h);break b}k=e&1;v[a>>2]=0;g:{if(!d){break g}e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(e){break g}e=v[d+4>>2];if(!e){v[d+4>>2]=-32767}if(!e){Qa[v[v[d>>2]+4>>2]](d)}}i=k?1:i;g=v[g>>2];if(g){continue}break}if(!c|!i){break e}if(!w[b+144|0]){break a}ac(h);if(w[b+144|0]){continue}break}break a}ac(h);if(v[b+148>>2]&8){break d}v[a>>2]=0;qb(a,0);break b}break a}lb(mb(f+24|0,v[279243],241865,808,327293));L()}v[d+4>>2]=v[d+4>>2]+1;v[a>>2]=v[b+24>>2]}Ma=f+48|0;return}lb(mb(f+24|0,231556,241865,164,226745));L()}function Tta(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=Ma-48|0;Ma=e;v[e+32>>2]=13;if(v[a+16>>2]){v[e+16>>2]=v[b+8>>2];yp(336928,e+16|0);a:{if((c|0)!=2){d=v[249421];break a}d=v[249421];jm(b+16|0,d)}bo(10);$i(d)}b:{if(v[b>>2]!=4){d=2;break b}c:{d:{e:{if(!(hb(v[b+8>>2],312744)|(c|0)!=2|v[b+16>>2]!=4)){f=v[b+24>>2];d=v[a+20>>2];while(1){if(v[d+88>>2]==7){if(v[Yd(v[d+96>>2],f,e+32|0)>>2]!=5){break e}bb(e+32|0)}d=v[d+104>>2];if(d){continue}break}v[e>>2]=f;fb(1,-1,244360,e);d=2;if(v[b>>2]!=4){break b}}if(!hb(v[b+8>>2],249435)){break d}d=2;break b}d=0;if(!fz(v[v[a>>2]+36>>2],e+32|0,e+28|0)){break c}v[a+100>>2]=v[a+100>>2]&v[e+28>>2];break c}d=2;if((c|0)!=2|v[b+16>>2]!=7){break b}if(v[ib(v[b+24>>2],225284,e+32|0,0)>>2]!=3){break c}c=ab(12);b=kl(c,v[e+40>>2]);d=v[a+8>>2];Qa[v[v[d>>2]+272>>2]](d,v[a+28>>2],v[b>>2],v[b+4>>2]);mc(b);$a(c);d=1}bb(e+32|0)}b=ab(8);v[b+4>>2]=v[a+100>>2];v[b>>2]=d;Ib(v[a+104>>2],b);Ma=e+48|0}function RU(a){var 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;e=v[a+28>>2];i=v[a+140>>2]>>>e|0;h=-1<>2]>>>e|0;k=v[a+180>>2];l=v[a+188>>2];m=v[a+200>>2];n=v[a+156>>2];o=v[a+164>>2];p=v[a+192>>2];q=v[a+160>>2];r=v[a+168>>2];f=v[a+224>>2];while(1){if(f>>>0>>0){c=v[a+220>>2];b=(B(((f<>>0)/(q>>>0)|0,p)+(((c<>>0)/(n>>>0)|0)<<6)+m|0;g=v[a+228>>2];d=v[b+60>>2]+B(g,88)|0;s=v[v[d+76>>2]+(B(v[d+68>>2],(f-(v[b+20>>2]+h>>>e|0)>>>0)/y[d+12>>2]|0)+((c-(v[b+16>>2]+h>>>e|0)>>>0)/y[d+8>>2]|0)<<2)>>2];d=v[d+4>>2];g=g+1|0;v[a+228>>2]=g;b=1;a:{if((g|0)!=(l|0)){break a}v[a+228>>2]=0;c=c+1|0;v[a+220>>2]=c;b=1;if((c|0)!=(i|0)){break a}v[a+220>>2]=k;f=f+1|0;v[a+224>>2]=f;b=0}c=d+v[a+236>>2]|0;v[a+236>>2]=c;d=((d|0)==8?255:-1<>2]<>2]=d;b:{if(b){break b}b=c&7;if(!b){break b}b=8-b|0;c=b+c|0;v[a+236>>2]=c;v[a+232>>2]=d<>>0<8){continue}}break}}function qTa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=Ma-48|0;Ma=d;f=x[a+26326>>1];e=x[a+26324>>1];g=B(f,e);v[a+26080>>2]=g;c=v[a+26092>>2]>>>5&7;v[a+26336>>2]=c;g=Yb(c,g);if(!g){b=v[a+190640>>2];a:{if(b){c=v[a+25208>>2];v[d+20>>2]=33955;v[d+16>>2]=c;Dc(b,4338,d+16|0);break a}b=v[a+25208>>2];v[d+4>>2]=33955;v[d>>2]=b;vb(v[249419],4338,d)}tc(a+190484|0,1);L()}v[d+40>>2]=f;v[d+36>>2]=e;v[d+32>>2]=(c>>>1|0)+5;vb(b,35540,d+32|0);Qa[v[v[a>>2]>>2]](v[a+4>>2],g,v[a+26080>>2],v[a+26336>>2])|0;c=v[a+26080>>2];b:{if((c|0)<1){break b}e=v[a+26336>>2];if((e|0)<1){break b}f=0;while(1){if((e|0)>=1){Ee(t[g+(B(t[(v[a+26092>>2]>>>6&67108860)+196176|0]-48|0,c)+f|0)|0],b);c=1;e=v[a+26336>>2];if((e|0)>=2){while(1){Ee(t[g+(B(v[a+26080>>2],t[((v[a+26092>>2]>>>6&67108860)+c|0)+196176|0]-48|0)+f|0)|0],b);c=c+1|0;e=v[a+26336>>2];if((c|0)<(e|0)){continue}break}}c=v[a+26080>>2]}f=f+1|0;if((f|0)<(c|0)){continue}break}}$a(g);Ma=d+48|0}function TMa(a){a=a|0;var b=0,c=0,d=0,e=0;v[a+2228508>>2]=1;if(!(A[a+56>>3]!=1|A[a- -64>>3]!=0|(A[a+72>>3]!=0|A[a+80>>3]!=1))){v[a+2228508>>2]=0;c=v[a+2228504>>2];if(c){d=c;b=A[c+8>>3]*65536;a:{if(D(b)<2147483648){e=~~b;break a}e=-2147483648}v[d+212>>2]=e;d=c;b=A[c+16>>3]*65536;b:{if(D(b)<2147483648){e=~~b;break b}e=-2147483648}v[d+220>>2]=e;d=c;b=A[c+24>>3]*65536;c:{if(D(b)<2147483648){e=~~b;break c}e=-2147483648}v[d+216>>2]=e;d=c;b=A[c+32>>3]*65536;d:{if(D(b)<2147483648){e=~~b;break d}e=-2147483648}v[d+224>>2]=e;tw(v[c+180>>2],c+212|0)}c=a;b=A[a+8>>3]*65536;e:{if(D(b)<2147483648){d=~~b;break e}d=-2147483648}v[c+212>>2]=d;c=a;b=A[a+16>>3]*65536;f:{if(D(b)<2147483648){d=~~b;break f}d=-2147483648}v[c+220>>2]=d;c=a;b=A[a+24>>3]*65536;g:{if(D(b)<2147483648){d=~~b;break g}d=-2147483648}v[c+216>>2]=d;c=a;b=A[a+32>>3]*65536;h:{if(D(b)<2147483648){d=~~b;break h}d=-2147483648}v[c+224>>2]=d;tw(v[a+180>>2],a+212|0)}}function Q2a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;b=-1;a:{d=v[c+8>>2];b:{if(d&7){break b}b=v[c+64>>2];if(!((b|0)<0|(b|0)>v[c+60>>2])){break a}b=-1;d=v[c+28>>2];v[c+28>>2]=d-1;c:{if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=v[c+24>>2];v[c+24>>2]=b+1;d=w[b|0];break c}d=Eb(c,1);if((d|0)==-1){break b}}t[a+12|0]=d;b=-1;d=v[c+8>>2];if(d&7){break b}b=v[c+64>>2];if(!((b|0)<0|(b|0)>v[c+60>>2])){break a}b=-1;d=v[c+28>>2];v[c+28>>2]=d-1;d:{if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=v[c+24>>2];v[c+24>>2]=b+1;d=w[b|0];break d}d=Eb(c,1);if((d|0)==-1){break b}}t[a+13|0]=d;b=-1;if(qf(c,a+16|0)){break b}d=v[c+8>>2];if(d&7){break b}b=v[c+64>>2];if(!((b|0)<0|(b|0)>v[c+60>>2])){break a}b=-1;d=v[c+28>>2];v[c+28>>2]=d-1;e:{if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=v[c+24>>2];v[c+24>>2]=b+1;d=w[b|0];break e}d=Eb(c,1);if((d|0)==-1){break b}}t[a+20|0]=d;b=-1;if(Q5(c,t[a+12|0]&1,a+24|0)){break b}b=0-(v[c+8>>2]&1)|0}return b|0}v[c+8>>2]=d|4;return-1}function K2a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=a+12|0;a:{b:{c:{if(y[b>>2]<=256){b=-1;d=v[c+8>>2];if(d&7){break b}b=v[c+64>>2];if(!((b|0)<0|(b|0)>v[c+60>>2])){break a}b=-1;d=v[c+28>>2];v[c+28>>2]=d-1;d:{if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=v[c+24>>2];v[c+24>>2]=b+1;d=w[b|0];break d}d=Eb(c,1);if((d|0)==-1){break b}}v[e>>2]=d&255;break c}b=-1;if(qf(c,e)){break b}}b=-1;d=v[c+8>>2];if(d&7){break b}b=v[c+64>>2];if(!((b|0)<0|(b|0)>v[c+60>>2])){break a}b=-1;d=v[c+28>>2];v[c+28>>2]=d-1;e:{if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=v[c+24>>2];v[c+24>>2]=b+1;d=w[b|0];break e}d=Eb(c,1);if((d|0)==-1){break b}}t[a+16|0]=d;b=-1;a=v[c+8>>2];if(a&7){break b}b=v[c+64>>2];if(!((b|0)<0|(b|0)>v[c+60>>2])){v[c+8>>2]=a|4;return-1}b=-1;a=v[c+28>>2];v[c+28>>2]=a-1;f:{if((a|0)>=1){v[c+60>>2]=v[c+60>>2]+1;a=v[c+24>>2];v[c+24>>2]=a+1;c=w[a|0];break f}c=Eb(c,1);if((c|0)==-1){break b}}t[e+5|0]=c;b=0}return b|0}v[c+8>>2]=d|4;return-1}function rha(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=Ma-16|0;Ma=d;if(!w[a+88|0]){l=a,m=Qa[v[v[a>>2]+36>>2]](a)|0,v[l+72>>2]=m;l=a,m=Qa[v[v[a>>2]+44>>2]](a)|0,v[l+76>>2]=m;l=a,m=Qa[v[v[a>>2]+40>>2]](a)|0,v[l+80>>2]=m;e=Qa[v[v[a>>2]+48>>2]](a)|0;t[a+88|0]=1;v[a+84>>2]=e}v[d>>2]=v[a+124>>2];v[d+8>>2]=v[a+132>>2];v[d+4>>2]=v[a+128>>2];v[d+12>>2]=v[a+136>>2];Tr(b,d);f=v[d>>2];v[a+124>>2]=f;c=v[d+4>>2];v[a+128>>2]=c;e=v[d+8>>2];v[a+132>>2]=e;h=v[d+12>>2];b=(e-f|0)/2|0;v[a+100>>2]=b;t[a+88|0]=0;v[a+136>>2]=h;g=(h-c|0)/2|0;v[a+104>>2]=g;f=(f+e|0)/2|0;i=(c+h|0)/2|0;a:{if((b|0)>(g|0)){e=f;j=K(+(B(b,b)-B(g,g)|0));b:{if(D(j)<2147483648){c=~~j;break b}c=-2147483648}h=e-c|0;f=f+c|0;e=g;c=i;break a}j=K(+(B(g,g)-B(b,b)|0));c:{if(D(j)<2147483648){c=~~j;break c}c=-2147483648}k=c;c=k+i|0;e=b;b=g;h=f;i=i-k|0}v[a+120>>2]=i;v[a+116>>2]=h;v[a+108>>2]=f;v[a+92>>2]=b;v[a+96>>2]=e;v[a+112>>2]=c;Ma=d+16|0}function qha(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=Ma-16|0;Ma=d;if(!w[a+88|0]){l=a,m=Qa[v[v[a>>2]+36>>2]](a)|0,v[l+72>>2]=m;l=a,m=Qa[v[v[a>>2]+44>>2]](a)|0,v[l+76>>2]=m;l=a,m=Qa[v[v[a>>2]+40>>2]](a)|0,v[l+80>>2]=m;e=Qa[v[v[a>>2]+48>>2]](a)|0;t[a+88|0]=1;v[a+84>>2]=e}v[d>>2]=v[a+124>>2];v[d+8>>2]=v[a+132>>2];v[d+4>>2]=v[a+128>>2];v[d+12>>2]=v[a+136>>2];_Q(b,d);f=v[d>>2];v[a+124>>2]=f;c=v[d+4>>2];v[a+128>>2]=c;e=v[d+8>>2];v[a+132>>2]=e;h=v[d+12>>2];b=(e-f|0)/2|0;v[a+100>>2]=b;t[a+88|0]=0;v[a+136>>2]=h;g=(h-c|0)/2|0;v[a+104>>2]=g;f=(f+e|0)/2|0;i=(c+h|0)/2|0;a:{if((b|0)>(g|0)){e=f;j=K(+(B(b,b)-B(g,g)|0));b:{if(D(j)<2147483648){c=~~j;break b}c=-2147483648}h=e-c|0;f=f+c|0;e=g;c=i;break a}j=K(+(B(g,g)-B(b,b)|0));c:{if(D(j)<2147483648){c=~~j;break c}c=-2147483648}k=c;c=k+i|0;e=b;b=g;h=f;i=i-k|0}v[a+120>>2]=i;v[a+116>>2]=h;v[a+108>>2]=f;v[a+92>>2]=b;v[a+96>>2]=e;v[a+112>>2]=c;Ma=d+16|0}function eEa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=Ma+-64|0;Ma=e;v[e+60>>2]=0;h=b+108|0;g=v[a+8>>2];a:{b:{c:{d:{if(v[b+72>>2]!=v[a+16>>2]){v[e+60>>2]=6;break d}i=19;if((c|0)!=2){break a}if(t[v[b+156>>2]+4|0]&1){c=v[b+88>>2];if(c){Qa[v[g+8>>2]](g,c)}v[b+88>>2]=0;c=v[b+156>>2];v[c+4>>2]=v[c+4>>2]&-2}if(FJ(b,2,d)){v[e+60>>2]=98;break d}j=b,k=yb(g,v[b+84>>2],0,v[b+76>>2],0,e+60|0),v[j+88>>2]=k;c=0;if(v[e+60>>2]){break c}c=v[b+156>>2];v[c+4>>2]=v[c+4>>2]|1;f=v[b+76>>2]-v[b+104>>2]<<6;c=0-(v[b+100>>2]<<6)|0;if(d){f=v[d+4>>2]+f|0;c=v[d>>2]+c|0}if(c|f){Jg(h,c,f)}v[e+16>>2]=0;v[e+12>>2]=h;v[e+8>>2]=b+76;a=Qa[v[a+56>>2]](v[a+52>>2],e+8|0)|0;v[e+60>>2]=a;if(a){break c}v[b+72>>2]=1651078259;break b}c=0}if(!(t[v[b+156>>2]+4|0]&1)){break b}a=v[b+88>>2];if(a){Qa[v[g+8>>2]](g,a)}v[b+88>>2]=0;a=v[b+156>>2];v[a+4>>2]=v[a+4>>2]&-2}if(c|f){Jg(h,0-c|0,0-f|0)}i=v[e+60>>2]}a=i;Ma=e- -64|0;return a|0}function PF(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=b;b=8-c|0;h=1<>2]=i;f=-1<<16-c^-1;a:{if(d-95e3>>>0>1e4){l=+(d|0)*1e-5;m=+(f>>>0);d=0;while(1){e=fg(a,512);v[(d<<2)+i>>2]=e;c=0;while(1){g=e+(c<<1)|0;j=H(pd(+((c<>>0)/m,l)*65535+.5);b:{if(j<4294967296&j>=0){f=~~j>>>0;break b}f=0}u[g>>1]=f;c=c+1|0;if((c|0)!=256){continue}break}d=d+1|0;if((h|0)!=(d|0)){continue}break}break a}d=0;if(!c){while(1){f=fg(a,512);v[(d<<2)+i>>2]=f;c=0;while(1){u[f+(c<<1)>>1]=(c<>1]=(e<>1]=(e<>1]=(e<>2]=g;c=0;while(1){u[(c<<1)+g>>1]=(e+B((c<>>0)/(f>>>0);k=c|1;u[(k<<1)+g>>1]=(e+B((k<>>0)/(f>>>0);c=c+2|0;if((c|0)!=256){continue}break}d=d+1|0;if((h|0)!=(d|0)){continue}break}}}function d2a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:{b:{c:{c=v[a+84>>2]-4|0;if(c){if((c|0)==12){break c}else{break a}}e=v[a+64>>2];d=v[e+20>>2];if((d|0)<1){break b}c=v[e+24>>2];while(1){a=v[c>>2];if(!(a&8)){v[c>>2]=a|2;a=v[b+16>>2];if((a|0)>=1){g=v[b+20>>2];d=0;while(1){a=d<<2;v[(a+c|0)+16>>2]=v[a+g>>2];a=v[b+16>>2];d=d+1|0;if((a|0)>(d|0)){continue}break}d=v[e+20>>2]}v[c+12>>2]=a;t[c+416|0]=w[b+24|0];t[c+9|0]=w[b+12|0]}c=c+488|0;f=f+1|0;if((f|0)<(d|0)){continue}break}break b}d=-1;a=v[a+52>>2];if(!a|v[a+40>>2]>0){break a}e=v[a+32>>2];d=v[e+20>>2];if((d|0)<1){break b}c=v[e+24>>2];while(1){a=v[c>>2];if(!(a&8)){v[c>>2]=a|2;a=v[b+16>>2];if((a|0)>=1){g=v[b+20>>2];d=0;while(1){a=d<<2;v[(a+c|0)+16>>2]=v[a+g>>2];a=v[b+16>>2];d=d+1|0;if((a|0)>(d|0)){continue}break}d=v[e+20>>2]}v[c+12>>2]=a;t[c+416|0]=w[b+24|0];t[c+9|0]=w[b+12|0]}c=c+488|0;f=f+1|0;if((f|0)<(d|0)){continue}break}}v[e>>2]=v[e>>2]|2;d=0}return d|0}function Boa(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;if((c|0)<1){return 0}i=a+8|0;d=v[a+136>>2];while(1){a:{k=b+g|0;f=v[a+140>>2];if(f>>>0<=d>>>0){if(v[a+144>>2]){break a}d=v[a+4>>2];e=Qa[v[v[d>>2]+28>>2]](d)|0;if(!((e|0)!=128&(e|0)!=-1)){v[a+144>>2]=1;return g|0}b:{if((e|0)<=127){h=e+1|0;if((e|0)<0){break b}d=e+1|0;l=d&1;c:{if(!e){d=0;break c}f=d&-2;d=0;while(1){j=a+8|0;e=v[a+4>>2];m=j+d|0,n=Qa[v[v[e>>2]+28>>2]](e)|0,t[m|0]=n;e=v[a+4>>2];m=(d|1)+j|0,n=Qa[v[v[e>>2]+28>>2]](e)|0,t[m|0]=n;d=d+2|0;f=f-2|0;if(f){continue}break}}if(!l){break b}e=a+d|0;d=v[a+4>>2];m=e,n=Qa[v[v[d>>2]+28>>2]](d)|0,t[m+8|0]=n;break b}h=257-e|0;d=v[a+4>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;if((e|0)>256){break b}eb(i,d,(h|0)>1?h:1)}v[a+136>>2]=i;f=(a+h|0)+8|0;v[a+140>>2]=f;d=i}h=d;e=c-g|0;d=f-d|0;e=(d|0)>(e|0)?e:d;cb(k,h,e);d=e+v[a+136>>2]|0;v[a+136>>2]=d;g=e+g|0;if((g|0)<(c|0)){continue}}break}return g|0}function B1a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=v[a+8>>2];h=v[v[a+44>>2]+88>>2];d=v[a+52>>2];i=Qa[v[v[d>>2]+20>>2]](d,2)|0;b=Qa[v[v[d>>2]+20>>2]](d,1)|0;c=B(g,1876)+h|0;v[c+1460>>2]=1;e=i-3|0;a:{if(!b){b=gb(e);if(!b){v[(B(g,1876)+h|0)+1452>>2]=0;v[v[a>>2]+20>>2]=1;return}a=0;f=eb(b,0,e);b=B(g,1876)+h|0;v[b+1464>>2]=0;v[b+1456>>2]=f;v[b+1452>>2]=f;b=e;break a}f=v[c+1464>>2]+e|0;b=gb(f);if(!b){v[v[a>>2]+20>>2]=1;return}j=B(g,1876)+h|0;f=cb(eb(b,0,f),v[j+1452>>2],e);b=j+1452|0;a=v[j+1452>>2];if(a){$a(a);v[b>>2]=0}v[b>>2]=f;v[j+1456>>2]=f;a=v[c+1464>>2];b=e+a|0}c=B(g,1876)+h|0;v[c+1468>>2]=b;f=c+1464|0;b:{if((i|0)<4){break b}c=c+1452|0;if(!(i&1)){b=Qa[v[v[d>>2]+20>>2]](d,1)|0;t[v[c>>2]+a|0]=b;e=i-4|0;a=a+1|0}if((i|0)==4){break b}while(1){b=Qa[v[v[d>>2]+20>>2]](d,1)|0;t[v[c>>2]+a|0]=b;b=Qa[v[v[d>>2]+20>>2]](d,1)|0;t[(v[c>>2]+a|0)+1|0]=b;a=a+2|0;b=(e|0)>2;e=e-2|0;if(b){continue}break}}v[f>>2]=a}function moa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=Ma-128|0;Ma=e;a:{b:{if(b){d=w[b|0];if((d|0)!=49){v[a+204>>2]=v[a+204>>2]|131072;d=w[b|0]}if(!d){break b}c=w[b+1|0];if((c|0)!=46){v[a+204>>2]=v[a+204>>2]|131072;c=w[b+1|0]}d=((c|0)==46)+((d|0)==46)|0;if(!c|d>>>0>1){break b}c=w[b+2|0];if((c|0)!=53){v[a+204>>2]=v[a+204>>2]|131072;c=w[b+2|0]}d=d+((c|0)==46)|0;if(!c|d>>>0>1){break b}c=w[b+3|0];if((c|0)!=46){v[a+204>>2]=v[a+204>>2]|131072;c=w[b+3|0]}d=d+((c|0)==46)|0;if(!c|d>>>0>1){break b}c=w[b+4|0];if((c|0)!=50){v[a+204>>2]=v[a+204>>2]|131072;c=w[b+4|0]}d=d+((c|0)==46)|0;if(!c|d>>>0>1){break b}c=w[b+5|0];if((c|0)!=54){v[a+204>>2]=v[a+204>>2]|131072;c=w[b+5|0]}if(!w[b+6|0]|(!c|d+((c|0)==46)>>>0>1)){break b}v[a+204>>2]=v[a+204>>2]|131072;break b}d=v[a+204>>2]|131072;v[a+204>>2]=d;break a}d=v[a+204>>2]}c=1;if(d&131072){fq(e,128,fq(e,128,fq(e,128,fq(e,128,0,14443),b),17069),11262);Db(a,e);c=0}Ma=e+128|0;return c|0}function XU(a,b,c){v[a+4>>2]=b;v[a>>2]=952700;v[a+40>>2]=0;v[a+8>>2]=13;v[a>>2]=927336;b=ab(44);v[b+24>>2]=0;v[b+28>>2]=0;v[b+40>>2]=-1;v[b+32>>2]=0;v[b+36>>2]=0;v[a+76>>2]=b;b=ab(8);Sg(b,2);v[a+80>>2]=b;b=ab(8);Sg(b,2);v[a+84>>2]=b;b=ab(8);Sg(b,512);v[a+88>>2]=b;b=ab(8);Sg(b,512);v[a+92>>2]=b;b=ab(8);Sg(b,512);v[a+96>>2]=b;b=ab(8);Sg(b,512);v[a+100>>2]=b;b=ab(8);Sg(b,512);v[a+104>>2]=b;b=ab(8);Sg(b,512);v[a+108>>2]=b;b=ab(8);Sg(b,512);v[a+112>>2]=b;b=ab(8);Sg(b,512);v[a+116>>2]=b;b=ab(8);Sg(b,512);v[a+120>>2]=b;b=ab(8);Sg(b,512);v[a+124>>2]=b;b=ab(8);Sg(b,512);v[a+128>>2]=b;b=ab(8);Sg(b,512);v[a+132>>2]=b;b=ab(8);Sg(b,512);v[a+136>>2]=b;b=ab(8);Sg(b,2);v[a+140>>2]=b;b=ab(16);v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[a+144>>2]=b;b=ab(20);v[b>>2]=0;v[b+4>>2]=0;v[b+16>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[a+148>>2]=b;ee(c,a+8|0);v[a- -64>>2]=0;v[a+56>>2]=0;v[a+60>>2]=0;v[a+48>>2]=0;v[a+52>>2]=0;return a}function oP(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=Ma-32|0;Ma=h;f=d&2147483647;g=f;e=f-1065418752|0;i=f-1082064896|0;f=c;a:{if((e|0)==(i|0)&f>>>0>>0|e>>>0>>0){g=(d&33554431)<<7|c>>>25;f=0;j=f;i=c&33554431;if(!(!f&(i|0)==16777216?!(a|b):!f&i>>>0<16777216)){e=g+1073741825|0;break a}e=g+1073741824|0;if(i^16777216|a|(b|j)){break a}e=(g&1)+e|0;break a}if(!(!f&(g|0)==2147418112?!(a|b):g>>>0<2147418112)){e=((d&33554431)<<7|c>>>25)&4194303|2143289344;break a}e=2139095040;if(g>>>0>1082064895){break a}e=0;f=g>>>16|0;if(f>>>0<16145){break a}g=c;e=d&65535|65536;Oh(h+16|0,a,b,g,e,f-16129|0);Dp(h,a,b,g,e,16257-f|0);b=v[h+8>>2];e=(v[h+12>>2]&33554431)<<7|b>>>25;g=v[h+4>>2];f=g;a=0;i=a;j=v[h>>2]|((v[h+16>>2]|v[h+24>>2])!=0|(v[h+20>>2]|v[h+28>>2])!=0);b=b&33554431;if(!(!a&(b|0)==16777216?!(f|j):!a&b>>>0<16777216)){e=e+1|0;break a}if(b^16777216|j|(f|i)){break a}e=(e&1)+e|0}Ma=h+32|0;return l(2,d&-2147483648|e),p()}function nNa(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;d=Ma-16|0;Ma=d;v[a+8>>2]=0;v[a>>2]=0;v[a+4>>2]=0;b=v[b+164>>2];if(b){k=Qa[v[v[b>>2]+20>>2]](b)|0;v[d+8>>2]=0;v[d>>2]=0;v[d+4>>2]=0;a:{b:{c:{j=v[k+8>>2];if((j|0)!=v[k+12>>2]){while(1){i=v[j>>2];f=w[i+11|0];b=f<<24>>24<0;g=w[c+11|0];h=g<<24>>24<0;f=b?v[i+4>>2]:f;d:{if((f|0)!=((h?v[c+4>>2]:g)|0)){break d}if(f){if(lc(b?v[i>>2]:i,h?v[c>>2]:c,f)){break d}}if(v[d+8>>2]!=(e|0)){v[e>>2]=i;e=e+4|0;v[d+4>>2]=e;break d}h=v[d>>2];f=e-h|0;e=f>>2;b=e+1|0;if(b>>>0>=1073741824){break c}g=f>>1;g=e>>>0<536870911?b>>>0>g>>>0?b:g:1073741823;if(g){if(g>>>0>=1073741824){break b}b=ab(g<<2)}else{b=0}e=b+(e<<2)|0;v[e>>2]=i;e=e+4|0;if((f|0)>=1){cb(b,h,f)}v[d+8>>2]=b+(g<<2);v[d+4>>2]=e;v[d>>2]=b;if(!h){break d}$a(h)}j=j+4|0;if((j|0)!=v[k+12>>2]){continue}break}}break a}Jc();L()}Zd(273730);L()}v[a>>2]=v[d>>2];v[a+4>>2]=v[d+4>>2];v[a+8>>2]=v[d+8>>2]}Ma=d+16|0}function DGa(a){a=a|0;var b=0,c=0;if(a){c=v[a+100>>2];b=v[a+504>>2];if(b){Pq(b)}b=v[a+132>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+132>>2]=0;b=v[a+136>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+136>>2]=0;b=v[a+140>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+140>>2]=0;b=v[a+144>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+144>>2]=0;b=v[a+148>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+148>>2]=0;b=v[a+432>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+432>>2]=0;b=v[a+428>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+428>>2]=0;b=v[a+424>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+424>>2]=0;b=v[a+396>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+396>>2]=0;b=v[a+400>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+400>>2]=0;b=v[a+384>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+384>>2]=0;b=v[a+388>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+388>>2]=0;b=v[a+364>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+364>>2]=0;b=v[a+496>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+496>>2]=0;b=v[a+560>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+556>>2]=0;v[a+560>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0}}function Aua(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=Ma-16|0;Ma=e;c=-1;a:{b:{switch(v[a+40>>2]){case 0:c=v[a+352>>2];if((c|0)==-1){b=v[a+4>>2];g=Qa[v[v[b>>2]+28>>2]](b)|0;if((g|0)==-1){c=v[a+352>>2];v[a+352>>2]=-1;break a}b=w[a+348|0]+1|0;t[a+348|0]=b;d=b&255;b=a+92|0;d=d+b|0;c=w[d|0];f=c+w[a+349|0]|0;t[a+349|0]=f;h=d;d=b+(f&255)|0;f=w[d|0];t[h|0]=f;t[d|0]=c;c=w[b+(c+f&255)|0]^g&255}v[a+352>>2]=-1;break a;case 1:b=v[a+316>>2];if((b|0)==16){b=v[a+4>>2];if((Qa[v[v[b>>2]+40>>2]](b,e,16)|0)!=16){break a}b=v[a+4>>2];LV(a+92|0,e,(Qa[v[v[b>>2]+32>>2]](b)|0)==-1);b=v[a+316>>2];if((b|0)==16){break a}}v[a+316>>2]=b+1;c=w[(a+b|0)+300|0];break a;case 2:break b;default:break a}}b=v[a+380>>2];if((b|0)==16){b=v[a+4>>2];if((Qa[v[v[b>>2]+40>>2]](b,e,16)|0)!=16){break a}b=v[a+4>>2];As(a+92|0,e,(Qa[v[v[b>>2]+32>>2]](b)|0)==-1);b=v[a+380>>2];if((b|0)==16){break a}}v[a+380>>2]=b+1;c=w[(a+b|0)+364|0]}Ma=e+16|0;return c|0}function Ft(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;g=Ma-16|0;Ma=g;u[g+4>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],g+4|0,1,2)|0;h=w[g+4|0];if(x[a+25204>>1]==18761){h=w[g+5|0]<<8|h}else{h=w[g+5|0]|h<<8}v[c>>2]=h&65535;u[g+6>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],g+6|0,1,2)|0;h=w[g+6|0];c=d;if(x[a+25204>>1]==18761){h=h|w[g+7|0]<<8}else{h=w[g+7|0]|h<<8}v[c>>2]=h&65535;v[g+8>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],g+8|0,1,4)|0;h=w[g+8|0];c=e;if(x[a+25204>>1]==18761){h=h|w[g+9|0]<<8|w[g+10|0]<<16|w[g+11|0]<<24}else{h=w[g+11|0]|(w[g+9|0]<<16|h<<24|w[g+10|0]<<8)}v[c>>2]=h;i=f,j=(Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0)+4|0,v[i>>2]=j;c=v[d>>2];if(B(v[e>>2],t[(c>>>0<14?c:0)+60579|0]-48|0)>>>0>=5){d=v[a>>2];e=v[d+8>>2];c=v[a+4>>2];v[g+12>>2]=-1;Qa[v[d>>2]](c,g+12|0,1,4)|0;d=w[g+12|0];if(x[a+25204>>1]==18761){a=d|w[g+13|0]<<8|w[g+14|0]<<16|w[g+15|0]<<24}else{a=w[g+15|0]|(w[g+13|0]<<16|d<<24|w[g+14|0]<<8)}Qa[e|0](c,a+b|0,0)|0}Ma=g+16|0}function fV(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;g=Qd(ab(8));c=v[a+4>>2];e=w[c|0];a:{if(!e){break a}b:while(1){if(!hb(c,311553)){break a}a=c;if(!hb(c,309188)){break a}while(1){c:{f=a;a=a+1|0;b=w[f+1|0];d=b-32|0;if((1<>>0<=13:0)|(b|0)==95){break c}if(b){continue}}break}b=a;d=b-c|0;d:{if((d|0)<2){break d}e:{f:{h=f-1|0;switch(w[h|0]-66|0){case 0:case 11:break f;default:break e}}b=w[f|0]==84?h:a;d=b-c|0;if((d|0)<2){break d}}f=b-2|0;if(w[f|0]==80){b=w[b-1|0]==83?f:b;d=b-c|0}if((d|0)<4){break d}d=b-4|0;if(w[d|0]!=87|w[b-3|0]!=71|w[b-2|0]!=76){break d}b=w[b-1|0]==52?d:b}g:{if(b>>>0<=c>>>0){break g}$b(g,((e-97&255)>>>0<26?e&223:e)<<24>>24);if((b-c|0)==1){break g}d=c+1|0;while(1){c=w[d|0];$b(g,((c-97&255)>>>0<26?c&223:c)<<24>>24);d=d+1|0;if((d|0)!=(b|0)){continue}break}}while(1){e=w[a|0];c=e-32|0;if((1<>>0<=13:0)|(e|0)==95){a=a+1|0;continue}else{c=a;if(e){continue b}}break}break}}return g}function W_a(a){a=a|0;var b=0,c=0,d=0,e=0;b=v[v[a+2248>>2]+88>>2];c=v[b+1168>>2];c=(v[b+1176>>2]+B(c,v[a+572>>2])|0)+B(c,v[a+2268>>2])|0;b=v[b+1164>>2];b=(c+B(b,v[a+580>>2])|0)+B(b,v[a+2264>>2])|0;c=v[a+636>>2]+v[a+616>>2]|0;d=v[a+588>>2];a:{b:{if(w[a+2253|0]!=4){if((d|0)<=0){break a}while(1){t[b|0]=w[c|0]+w[b|0];t[b+1|0]=w[c+1|0]+w[b+1|0];t[b+2|0]=w[c+2|0]+w[b+2|0];c=c+3|0;b=B(v[a+584>>2],3)+b|0;d=v[a+588>>2];e=e+1|0;if((d|0)>(e|0)){continue}break}break b}if((d|0)<1){break a}while(1){t[b|0]=w[c|0];t[b+1|0]=w[c+1|0];t[b+2|0]=w[c+2|0];c=c+3|0;b=B(v[a+584>>2],3)+b|0;d=v[a+588>>2];e=e+1|0;if((d|0)>(e|0)){continue}break}}if((d|0)<1){break a}b=v[a+540>>2];b=(v[b+1176>>2]+B(v[a+572>>2],v[b+1168>>2])|0)+B(v[a+580>>2],v[b+1164>>2])|0;c=v[a+636>>2]+v[a+616>>2]|0;d=0;while(1){t[b|0]=w[c|0];t[b+1|0]=w[c+1|0];t[b+2|0]=w[c+2|0];c=c+3|0;b=B(v[a+584>>2],3)+b|0;d=d+1|0;if((d|0)>2]){continue}break}}return 0}function s8(a,b){a=a|0;b=b|0;var c=0;if((b|0)==7){if(!Pl(a,87872,8)){wb(v[a+628>>2],87856,10498,0);return 0}b=gb(952);v[a+584>>2]=b;if(!b){wb(v[a+628>>2],87856,13255,0);return 0}Hf(b,0,952);b=v[a+584>>2];v[b+828>>2]=a;v[b+892>>2]=v[a+672>>2];v[a+672>>2]=517;v[b+896>>2]=v[a+668>>2];v[a+668>>2]=518;v[b+900>>2]=v[a+676>>2];v[a+676>>2]=519;v[b+948>>2]=0;v[b+936>>2]=0;v[b+940>>2]=0;v[b+920>>2]=75;v[b+924>>2]=0;v[b+912>>2]=0;v[b+916>>2]=0;v[b+928>>2]=3;v[b+932>>2]=0;v[a+556>>2]=520;v[a+548>>2]=520;v[a+540>>2]=520;v[a+520>>2]=521;v[a+516>>2]=522;v[a+572>>2]=523;v[a+560>>2]=524;v[a+552>>2]=524;v[a+544>>2]=524;v[a+536>>2]=525;v[a+532>>2]=526;v[a+524>>2]=527;v[b+904>>2]=v[a+576>>2];v[a+576>>2]=528;v[b+908>>2]=v[a+580>>2];v[a+580>>2]=529;v[a+12>>2]=v[a+12>>2]|256;v[b+488>>2]=0;if(!v[a+16>>2]){v[b+916>>2]=2e3;c=b;b=gb(2e3);v[c+912>>2]=b;Hf(b,0,2e3)}v[a+44>>2]=v[a+44>>2]|128;return 1}O(3090,7121,1951,87856);L()}function nF(a,b,c){var d=0,e=0,f=0;d=Ma+-64|0;Ma=d;e=Bd(c);a:{b=v[v[b+28>>2]+((e>>>0)%y[b+24>>2]<<2)>>2];if(b){while(1){if((e|0)==v[b+12>>2]){if(!ld(b+16|0,c,-1)){break a}}b=v[b+8>>2];if(b){continue}break}}Xb(d+32|0,Oc(d+24|0,348723),c);a=v[d+32>>2];lb(mb(d+40|0,v[(a?a+12|0:1117e3)>>2],242035,249,226774));L()}e=0;f=a;a=v[b+24>>2];if(a){v[a+4>>2]=v[a+4>>2]+1;e=v[b+24>>2]}v[f>>2]=e;a=d+16|0;th(a,e);Ve(d+8|0,a);a=v[d+8>>2];v[d+32>>2]=0;v[d+36>>2]=v[279250];if((Ad(a,d+32|0,0)|0)>-1){db(d+32|0);a=v[d+8>>2];v[d+8>>2]=0;b:{if(!a){break b}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break b}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}a=v[d+16>>2];v[d+16>>2]=0;c:{if(!a){break c}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break c}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=d- -64|0;return}Rc(d+24|0,348878,c);a=v[d+24>>2];lb(mb(d+40|0,v[(a?a+12|0:1117e3)>>2],242035,260,226774));L()}function RIa(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;f=6;d=v[a+532>>2];a:{if(!d){break a}if(!(b|c)){c=v[d>>2];if(!c){return 0}h=c&3;a=v[d+136>>2];b=v[d+140>>2];f=0;if(c-1>>>0>=3){g=c&-4;while(1){c=e<<2;v[c+a>>2]=v[b+c>>2];d=c|4;v[d+a>>2]=v[b+d>>2];d=c|8;v[d+a>>2]=v[b+d>>2];c=c|12;v[c+a>>2]=v[b+c>>2];e=e+4|0;g=g-4|0;if(g){continue}break}}if(!h){break a}while(1){c=e<<2;v[c+a>>2]=v[b+c>>2];e=e+1|0;h=h-1|0;if(h){continue}break}break a}if(!c){break a}l=v[d>>2];f=b>>>0>>0?b:l;b:{if(!f){break b}h=f&3;j=v[d+136>>2];if(f-1>>>0>=3){g=f&-4;while(1){i=e<<2;v[i+j>>2]=v[c+i>>2];k=i|4;v[k+j>>2]=v[c+k>>2];k=i|8;v[k+j>>2]=v[c+k>>2];i=i|12;v[i+j>>2]=v[c+i>>2];e=e+4|0;g=g-4|0;if(g){continue}break}}if(!h){break b}while(1){g=e<<2;v[g+j>>2]=v[c+g>>2];e=e+1|0;h=h-1|0;if(h){continue}break}}if(b>>>0>>0){eb(v[d+136>>2]+(f<<2)|0,0,l-f<<2)}f=0;v[a+8>>2]=v[a+8>>2]&-32769|((b|0)!=0)<<15}return f|0}function JVa(a,b){a=a|0;b=b|0;var c=0,d=0;d=v[a+428>>2];c=v[b+32>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+8|0]=c;t[d+9|0]=c>>>8;t[d+10|0]=c>>>16;t[d+11|0]=c>>>24;c=v[b+36>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+12|0]=c;t[d+13|0]=c>>>8;t[d+14|0]=c>>>16;t[d+15|0]=c>>>24;c=v[b+40>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+16|0]=c;t[d+17|0]=c>>>8;t[d+18|0]=c>>>16;t[d+19|0]=c>>>24;c=v[b+44>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+20|0]=c;t[d+21|0]=c>>>8;t[d+22|0]=c>>>16;t[d+23|0]=c>>>24;c=v[b+48>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+24|0]=c;t[d+25|0]=c>>>8;t[d+26|0]=c>>>16;t[d+27|0]=c>>>24;c=v[b+52>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+28|0]=c;t[d+29|0]=c>>>8;t[d+30|0]=c>>>16;t[d+31|0]=c>>>24;c=v[b+56>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+32|0]=c;t[d+33|0]=c>>>8;t[d+34|0]=c>>>16;t[d+35|0]=c>>>24;return hd(a,v[b>>2],28,d+8|0)|0}function Dza(a){a=a|0;var b=0,c=0,d=0;a:{b:{c:{d:{e:{b=v[a+388>>2];switch(v[b+20>>2]){case 2:break c;case 1:break d;case 0:break e;default:break b}}pI(a);oI(a);if(!v[a+208>>2]){Qa[v[v[a+408>>2]>>2]](a);Qa[v[v[a+412>>2]>>2]](a);Qa[v[v[a+396>>2]>>2]](a,0)}Qa[v[v[a+416>>2]>>2]](a);Qa[v[v[a+420>>2]>>2]](a,v[a+216>>2]);Qa[v[v[a+400>>2]>>2]](a,v[b+28>>2]>1?3:0);Qa[v[v[a+392>>2]>>2]](a,0);if(v[a+216>>2]){v[b+12>>2]=0;break a}v[b+12>>2]=1;break a}pI(a);oI(a);if(v[a+368>>2]?v[a+360>>2]:1){Qa[v[v[a+420>>2]>>2]](a,1);Qa[v[v[a+400>>2]>>2]](a,2);v[b+12>>2]=0;break a}v[b+20>>2]=2;v[b+24>>2]=v[b+24>>2]+1}if(!v[a+216>>2]){pI(a);oI(a)}Qa[v[v[a+420>>2]>>2]](a,0);Qa[v[v[a+400>>2]>>2]](a,2);if(!v[b+32>>2]){Qa[v[v[a+404>>2]+4>>2]](a)}Qa[v[v[a+404>>2]+8>>2]](a);v[b+12>>2]=0;break a}c=v[a>>2];v[c+20>>2]=49;Qa[v[c>>2]](a)}d=b;c=v[b+28>>2];b=v[b+24>>2];v[d+16>>2]=(c-1|0)==(b|0);a=v[a+8>>2];if(a){v[a+16>>2]=c;v[a+12>>2]=b}}function gy(a,b){var c=0,d=0;d=Ma-16|0;Ma=d;v[a>>2]=0;c=v[279250];v[a+8>>2]=1;v[a+4>>2]=c;a:{if(!b){break a}oi(a,bm(1,0));b:{c:{d:{e:{c=v[a>>2];if(!c|!v[c+8>>2]){break e}c=v[c+12>>2];f:{g:{if(!(!c|!w[c|0])){if(!w[b|0]){break f}c=hb(c,b);break g}c=w[b|0]?-1:0}if(!c){break e}}b=bm(v[a+8>>2],b);c=v[a>>2];if(!c){break d}c=v[c+12>>2];if(!(!c|!w[c|0])){if(!b|!w[b|0]){break a}b=hb(c,b);break c}break d}v[d+8>>2]=0;b=d+8|0;qb(b,0);jb(a,b);b=v[a>>2];v[a+4>>2]=v[(b?b+12|0:1117e3)>>2];b=v[d+8>>2];v[d+8>>2]=0;if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}break a}if(!b){break b}b=w[b|0]?-1:0}if(b){break a}}v[d>>2]=0;qb(d,0);jb(a,d);b=v[a>>2];v[a+4>>2]=v[(b?b+12|0:1117e3)>>2];b=v[d>>2];v[d>>2]=0;if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}Ma=d+16|0;return a}function zI(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{if(v[a>>2]>0){break a}b:{if(v[290940]==2){break b}if(!xA(1163760)){break b}v[291027]=2483;b=lZ(0,836448,836452,2484,a);c:{if(v[a>>2]>0){break c}c=eZ(b);d=v[c>>2];if(d>>>0<=7){v[a>>2]=3;Gg(b);break c}v[290942]=b;b=v[c+4>>2];v[290931]=b;f=v[c+8>>2];v[290932]=f;g=v[c+12>>2];v[290933]=g;h=v[c+16>>2];v[290934]=h;i=v[c+20>>2];v[290935]=i;j=v[c+24>>2];v[290936]=j;e=v[c+28>>2];v[290937]=e;k=v[c+32>>2];v[290938]=k;if((d|0)!=8){v[290939]=v[c+36>>2]}d=(d<<1)+2|0;v[290922]=c+(d<<1);b=b+d|0;v[290923]=c+(b<<1);b=b+f|0;v[290924]=c+(b<<1);b=b+g|0;v[290925]=c+(b<<1);b=b+h|0;v[290926]=c+(b<<1);b=b+i|0;v[290927]=c+(b<<1);d=b+j|0;if(e){b=c+(d<<1)|0;b=x[b>>1]<2?b:836462}else{b=836462}v[290928]=b;d=d+e|0;e=c+(d<<1)|0;v[290929]=e;v[290930]=x[b>>1]?c+(d+k<<1)|0:e}v[290941]=v[a>>2];v[290940]=2;break a}c=v[290941];if((c|0)<1){break a}v[a>>2]=c}return v[a>>2]<1}function pQ(a,b){var c=0,d=0,e=0;c=Ma+-64|0;Ma=c;a:{b:{if(w[a+13|0]&8){d=v[b>>2];e=d+2|0;if(e>>>0>y[a+616>>2]){b=v[a+628>>2];v[c+32>>2]=v[a>>2];wb(b,76736,41774,c+32|0);d=0;break a}Fd(c+62|0,d+v[a+612>>2]|0,2);if(w[a+12|0]&128){d=w[c+63|0];t[c+63|0]=w[c+62|0];t[c+62|0]=d}d=e+B(x[c+62>>1],12)|0;if(y[a+616>>2]>>0){b=v[a+628>>2];v[c+48>>2]=v[a>>2];wb(b,76736,42876,c+48|0);d=0;break a}Fd(b,d+v[a+612>>2]|0,4);d=1;if(w[a+12|0]&128){break b}break a}c:{if((Qa[v[a+640>>2]](v[a+628>>2],v[b>>2],0)|0)==v[b>>2]){if((Qa[v[a+632>>2]](v[a+628>>2],c+62|0,2)|0)==2){break c}}b=v[a+628>>2];v[c+16>>2]=v[a>>2];wb(b,76736,41774,c+16|0);break a}if(w[a+12|0]&128){e=w[c+63|0];t[c+63|0]=w[c+62|0];t[c+62|0]=e}Qa[v[a+640>>2]](v[a+628>>2],B(x[c+62>>1],12),1)|0;if((Qa[v[a+632>>2]](v[a+628>>2],b,4)|0)!=4){b=v[a+628>>2];v[c>>2]=v[a>>2];wb(b,76736,42876,c);break a}d=1;if(!(w[a+12|0]&128)){break a}}Wn(b)}Ma=c- -64|0;return d}function h4(a){var b=0,c=0,d=0,e=0;d=Ma-16|0;Ma=d;b=x[a+1016>>1];a:{b:{if(!b){c=v[a+528>>2];v[d+12>>2]=c;if(w[a+1018|0]){t[c+31|0]=!w[a+1019|0]}if(w[a+1022|0]){v[c+36>>2]=v[a+1024>>2];v[c+40>>2]=v[a+1028>>2]}b=0;e=w[a+1032|0];if(!e){break b}t[c+44|0]=e;v[c+48>>2]=v[a+1036>>2];v[c+52>>2]=v[a+1040>>2];v[c+56>>2]=v[a+1044>>2];v[c+60>>2]=v[a+1048>>2];break b}b=ig(a,b);v[d+12>>2]=b;if(!b){b=R4(a,x[a+1016>>1],w[a+1021|0]==1,!w[a+1019|0],0,v[a+1024>>2],v[a+1028>>2],t[a+1032|0],v[a+1036>>2],v[a+1040>>2],v[a+1044>>2],v[a+1048>>2],d+12|0);if(b){break a}b=v[d+12>>2];break b}if(w[a+1018|0]){t[b+31|0]=!w[a+1019|0]}t[b+32|0]=0;if(w[a+1022|0]){v[b+36>>2]=v[a+1024>>2];v[b+40>>2]=v[a+1028>>2]}c=w[a+1032|0];if(c){t[b+44|0]=c;v[b+48>>2]=v[a+1036>>2];v[b+52>>2]=v[a+1040>>2];v[b+56>>2]=v[a+1044>>2];v[b+60>>2]=v[a+1048>>2]}if(!w[a+1020|0]){break b}t[v[b+88>>2]+33|0]=w[a+1021|0]==1}v[a+512>>2]=b;b=0}Ma=d+16|0;return b}function SH(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=Ma-16|0;Ma=f;a:{if(v[a+32>>2]|!a){break a}e=v[a+24>>2];c=v[a+8>>2];if(!((e|0)==(c|0)|c>>>0>2147483646)){v[a+24>>2]=c;e=c}d=v[a+20>>2];c=v[a+4>>2];if(!((d|0)==(c|0)|c>>>0>2147483646)){v[a+20>>2]=c;d=c}c=v[a+12>>2];if((c|0)==2){break a}g=b+d|0;if(g>>>0>>0){h=e-d|0;break a}b=b>>>0>>0?e<<1:g+100|0;b:{c:{d:{e:{switch(c-3|0){case 2:if(e>>>0<1e7&g>>>0<=9999999){break d}v[f>>2]=342192;nb(0,0,0,0,0,29,2,3,342192,0,0,0,340689,f);if(v[a+32>>2]){break a}v[a+32>>2]=2;break a;case 0:break e;default:break c}}c=v[a+16>>2];if(!c){break c}d=c;c=v[a>>2]-c|0;d=Qa[v[256557]](d,c+b|0)|0;if(!d){Lo(a,239691);break a}v[a+16>>2]=d;v[a>>2]=c+d;break b}b=b>>>0<1e7?b:1e7}c=Qa[v[256557]](v[a>>2],b)|0;if(!c){Lo(a,239691);break a}v[a>>2]=c}v[a+24>>2]=b;v[a+8>>2]=b>>>0<2147483647?b:2147483647;c=a;a=v[a+20>>2];v[c+4>>2]=a>>>0<2147483647?a:2147483647;h=b-a|0}Ma=f+16|0;return h}function dXa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;if(v[a+588>>2]>=1){b=v[v[a+536>>2]+88>>2];b=(v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0;e=v[a+644>>2];while(1){c=w[e+3|0];a:{if(!c){break a}b:{if((c|0)!=255){d=w[b+3|0];if(d){break b}}t[b|0]=w[e|0];t[b+1|0]=w[e+1|0];d=w[e+2|0];t[b+3|0]=c;t[b+2|0]=d;break a}if((d|0)==255){d=c^255;f=(B(c,w[e|0])+B(d,w[b|0])|0)+128|0;t[b|0]=(f>>>8&255)+f>>>8;f=(B(c,w[e+1|0])+B(d,w[b+1|0])|0)+128|0;t[b+1|0]=(f>>>8&255)+f>>>8;c=(B(c,w[e+2|0])+B(d,w[b+2|0])|0)+128|0;t[b+2|0]=(c>>>8&255)+c>>>8;break a}f=w[e|0];k=w[e+1|0];g=w[e+2|0];h=c^255;i=B(h,d^255)>>>8^-1;t[b+3|0]=i;l=g;g=i&255;c=(c<<8>>>0)/(g>>>0)|0;d=(B(d,h)>>>0)/(g>>>0)|0;t[b+2|0]=(B(l,c)+B(d,w[b+2|0])|0)+127>>>8;t[b+1|0]=(B(c,k)+B(d,w[b+1|0])|0)+127>>>8;t[b|0]=(B(c,f)+B(d,w[b|0])|0)+127>>>8}e=e+4|0;b=b+4|0;j=j+1|0;if((j|0)>2]){continue}break}}return 0}function Po(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=Ma-16|0;Ma=d;v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;Hg(a,v[a+8>>2]);c=v[a>>2];v[d+12>>2]=c;f=v[a+8>>2];if(c>>>0>>0){a:{b:{c:{d:{e:{f:{g:{e=w[c|0];if((e|0)!=123){if((e|0)==91){break g}if((e|0)!=40){break f}v[b>>2]=c;v[b+8>>2]=2;if(UI(d+12|0,f)){break e}break d}v[b>>2]=c;v[b+8>>2]=3;if(!v_(d+12|0,f)){break d}break e}v[b>>2]=c;v[b+8>>2]=3;e=1;v[a>>2]=c+1;Hg(a,f);c=v[a>>2];h:{if(f>>>0<=c>>>0){break h}while(1){if(v[a+12>>2]){break h}i:{j:{switch(w[c|0]-91|0){case 2:if((e|0)>1){e=e-1|0;break i}c=c+1|0;v[d+12>>2]=c;v[b+4>>2]=c;break a;case 0:break j;default:break i}}e=e+1|0}VI(a);Hg(a,v[a+8>>2]);c=v[a>>2];if(f>>>0>c>>>0){continue}break}}v[d+12>>2]=c;break e}v[b>>2]=c;v[b+8>>2]=w[c|0]==47?4:1;VI(a);c=v[a>>2];v[d+12>>2]=c;if(!v[a+12>>2]){break c}}c=v[b+4>>2];break b}c=v[d+12>>2]}v[b+4>>2]=c}if(c){break a}v[b+8>>2]=0;v[b>>2]=0}v[a>>2]=v[d+12>>2]}Ma=d+16|0}function KBa(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,n=0,o=0,p=0,q=0,r=0;b=v[b+84>>2];f=B(v[b+96>>2],u[c+48>>1]);h=B(v[b+32>>2],u[c+16>>1]);g=B(f+h|0,4433);i=v[d>>2]+e|0;a=v[a+332>>2]+128|0;j=B(v[b+100>>2],u[c+50>>1]);k=B(v[b+36>>2],u[c+18>>1]);l=B(j+k|0,4433);k=l+B(k,6270)|0;m=B(v[b+68>>2],x[c+34>>1]);n=B(v[b+4>>2],x[c+2>>1]);o=m+n<<13;p=k+o|0;q=B(v[b+64>>2],x[c+32>>1]);b=B(v[b>>2],x[c>>1]);c=q+b<<13;h=g+B(h,6270)|0;r=(c+h|0)+32768|0;t[i|0]=w[a+(p+r>>>16&1023)|0];t[i+1|0]=w[a+(r-p>>>16&1023)|0];i=v[d+4>>2]+e|0;g=g+B(f,-15137)|0;b=b-q<<13;f=(g+b|0)+32768|0;j=B(j,-15137)+l|0;l=n-m<<13;m=j+l|0;t[i|0]=w[a+(f+m>>>16&1023)|0];t[i+1|0]=w[a+(f-m>>>16&1023)|0];f=v[d+8>>2]+e|0;b=(b-g|0)+32768|0;g=l-j|0;t[f|0]=w[a+(b+g>>>16&1023)|0];t[f+1|0]=w[a+(b-g>>>16&1023)|0];b=v[d+12>>2]+e|0;c=(c-h|0)+32768|0;d=o-k|0;t[b|0]=w[a+(c+d>>>16&1023)|0];t[b+1|0]=w[a+(c-d>>>16&1023)|0]}function Xd(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=v[a+608>>2];if((c|0)>=1){b=v[a+12>>2];if(!(b&(x[a+94>>1]|256))){SC(v[a+596>>2],c);c=v[a+608>>2];b=v[a+12>>2]}h=v[a+596>>2];e=Ma-32|0;Ma=e;a:{b:{f=v[(b&1024?504:480)+a>>2];d=v[v[a+184>>2]+(f<<2)>>2];c:{if(!(v[a+484>>2]?d:0)){if(!v[a+180>>2]){break b}b=f<<2;g=v[b+v[a+188>>2]>>2];d:{if(!(!g|!d|c>>>0>g>>>0)){b=0;d=Qa[v[a+640>>2]](v[a+628>>2],d,0)|0;if((d|0)==v[v[a+184>>2]+(f<<2)>>2]){break d}c=v[a+628>>2];v[e+16>>2]=v[a+472>>2];wb(c,82768,38299,e+16|0);break c}d=Qa[v[a+640>>2]](v[a+628>>2],0,2)|0;v[b+v[a+184>>2]>>2]=d}v[a+484>>2]=d;v[v[a+188>>2]+(f<<2)>>2]=0}if((Qa[v[a+636>>2]](v[a+628>>2],h,c)|0)!=(c|0)){b=v[a+628>>2];v[e>>2]=v[a+472>>2];wb(b,82768,39903,e);b=0;break c}v[a+484>>2]=v[a+484>>2]+c;b=v[a+188>>2]+(f<<2)|0;v[b>>2]=v[b>>2]+c;b=1}Ma=e+32|0;break a}O(37949,34991,629,82768);L()}if(!b){return 0}v[a+608>>2]=0;v[a+604>>2]=v[a+596>>2]}return 1}function SV(a,b){var c=0,d=0,e=0,f=0,g=0;f=Ma-16|0;Ma=f;a:{b:{switch(v[b>>2]-4|0){case 0:d=ab(8);e=Rb(d,v[b+8>>2]);b=bV(v[291134],a,e);if(!b){v[f+4>>2]=a;v[f>>2]=d;fb(1,-1,335766,f)}Bb(e);$a(d);break a;case 4:d=v[b+8>>2];e=Ma-16|0;Ma=e;v[e>>2]=13;b=ab(24);c=ab(8);Hc(c,a);v[b+12>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;v[b>>2]=c;a=Pb(256,8);v[b+16>>2]=a;v[a>>2]=0;v[a+4>>2]=0;a=1;while(1){c=a<<3;g=c+v[b+16>>2]|0;v[g>>2]=0;v[g+4>>2]=0;g=c+v[b+16>>2]|0;v[g+8>>2]=0;v[g+12>>2]=0;c=c+v[b+16>>2]|0;v[c+16>>2]=0;v[c+20>>2]=0;a=a+3|0;if((a|0)!=256){continue}break};v[b+20>>2]=1;c:{if(v[ib(Qa[v[v[d>>2]+76>>2]](d)|0,242555,e,0)>>2]==5){break c}a=SV(v[b>>2],e);if(!a){break c}v[b+8>>2]=v[a+8>>2];c=v[a+16>>2];if(c){UG(b,v[b+16>>2],c)}xo(a)}bb(e);Qa[v[v[d>>2]+20>>2]](d);RV(b,0,2924,d);Qa[v[v[d>>2]+24>>2]](d);Ma=e+16|0;if(b){break a}fb(1,-1,228256,0);b=0;break a;default:break b}}b=0;fb(1,-1,228284,0)}Ma=f+16|0;return b}function B8(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Ma-112|0;Ma=d;e=v[a+584>>2];if(e){c=v[a+48>>2];if(c&4){v[d+96>>2]=v[e+196>>2];vb(b,57462,d+96|0);c=v[a+48>>2]}if(c&8){v[d+80>>2]=v[e+200>>2];vb(b,57790,d+80|0);c=v[a+48>>2]}if(c&16){Lb(58044,14,1,b);if(w[e+211|0]){c=0;while(1){v[d+64>>2]=v[((c<<2)+e|0)+216>>2];vb(b,58285,d- -64|0);c=c+1|0;if(c>>>0>2]}if(c&32){Lb(58888,15,1,b);if(w[e+212|0]){c=0;while(1){v[d+48>>2]=v[((c<<2)+e|0)+228>>2];vb(b,58285,d+48|0);c=c+1|0;if(c>>>0>2]}if(c&64){Lb(59181,15,1,b);if(w[e+213|0]){c=0;while(1){v[d+32>>2]=v[((c<<2)+e|0)+240>>2];vb(b,58285,d+32|0);c=c+1|0;if(c>>>0>2]}if(c&128){v[d+16>>2]=w[e+204|0];vb(b,59490,d+16|0);c=v[a+48>>2]}if(c&256){v[d>>2]=x[e+300>>1];vb(b,59717,d)}Ma=d+112|0;return}O(57098,7087,582,87443);L()}function LGa(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;g=Ma-16|0;Ma=g;v[g+12>>2]=0;i=v[c>>2];d=cc(i,24,g+12|0);e=v[g+12>>2];a:{if(e){break a}b:{e=a+4|0;if(e>>>0>b>>>0){break b}h=w[a|0];t[d+4|0]=h;f=w[a+1|0]|w[a+2|0]<<8;u[d+6>>1]=f<<8|f>>>8;f=w[a+3|0];t[d+5|0]=f;k=v[c+148>>2];l=v[c+4>>2];j=f&1;f=(f>>>1&1)+(j?5:3)|0;v[d+8>>2]=f;v[d+12>>2]=(e+l|0)-k;if(e+B(f,h)>>>0>b>>>0){break b}if(h){c:{if(j){a=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);v[d+16>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=e+B(f,h-1|0)|0;a=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break c}v[d+16>>2]=w[a+5|0]|w[a+4|0]<<16;a=e+B(f,h-1|0)|0;a=w[a|0]<<16|w[a+1|0]}e=0;v[d>>2]=0;v[d+20>>2]=a;v[v[c+140>>2]>>2]=d;v[c+140>>2]=d;v[c+132>>2]=v[c+132>>2]+h;break a}if(d){Qa[v[i+8>>2]](i,d)}e=v[g+12>>2];break a}if(d){Qa[v[i+8>>2]](i,d)}e=8}Ma=g+16|0;return e|0}function Qua(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;a=eb(a,0,256);d=v[b>>2]+c|0;h=w[d+2|0];e=w[d|0];f=h+e|0;g=w[d+1|0];d=(f+g<<4)-6144|0;v[a>>2]=d;h=B(e-h|0,10033)+256>>9;v[a+4>>2]=h;v[a+8>>2]=B(f-(g<<1)|0,5793)+256>>9;e=v[b+4>>2]+c|0;f=w[e+2|0];g=w[e|0];i=f+g|0;j=w[e+1|0];e=(i+j<<4)-6144|0;v[a+32>>2]=e;f=B(g-f|0,10033)+256>>9;v[a+36>>2]=f;g=B(i-(j<<1)|0,5793)+256>>9;v[a+40>>2]=g;b=v[b+8>>2]+c|0;c=w[b+2|0];i=w[b|0];j=c+i|0;b=w[b+1|0];k=(j+b<<4)-6144|0;v[a+32>>2]=B(d-k|0,17837)+16384>>15;c=B(i-c|0,10033)+256>>9;v[a+36>>2]=B(h-c|0,17837)+16384>>15;d=d+k|0;v[a+64>>2]=B(d-(e<<1)|0,10298)+16384>>15;v[a>>2]=B(d+e|0,14564)+16384>>15;c=c+h|0;v[a+68>>2]=B(c-(f<<1)|0,10298)+16384>>15;v[a+4>>2]=B(c+f|0,14564)+16384>>15;c=v[a+8>>2];b=B(j-(b<<1)|0,5793)+256>>9;v[a+40>>2]=B(c-b|0,17837)+16384>>15;b=b+c|0;v[a+72>>2]=B(b-(g<<1)|0,10298)+16384>>15;v[a+8>>2]=B(b+g|0,14564)+16384>>15}function MY(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{c:{d=v[a>>2];f=(v[a+4>>2]-d|0)/20|0;c=f+1|0;if(c>>>0<214748365){d=(v[a+8>>2]-d|0)/20|0;e=d<<1;c=d>>>0<107374182?c>>>0>e>>>0?c:e:214748364;if(c>>>0>=214748365){break c}e=B(f,20);d=B(c,20);f=ab(d);c=e+f|0;e=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=e;v[c+8>>2]=v[b+8>>2];v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;e=v[b+16>>2];v[c+12>>2]=v[b+12>>2];v[c+16>>2]=e;f=d+f|0;e=c+20|0;b=v[a+4>>2];d=v[a>>2];if((b|0)==(d|0)){break b}while(1){b=b-20|0;g=v[b+4>>2];c=c-20|0;v[c>>2]=v[b>>2];v[c+4>>2]=g;v[c+8>>2]=v[b+8>>2];v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;g=v[b+16>>2];v[c+12>>2]=v[b+12>>2];v[c+16>>2]=g;if((b|0)!=(d|0)){continue}break}v[a+8>>2]=f;b=v[a+4>>2];v[a+4>>2]=e;d=v[a>>2];v[a>>2]=c;if((b|0)==(d|0)){break a}while(1){a=b-20|0;if(t[b-9|0]<=-1){$a(v[a>>2])}b=a;if((d|0)!=(b|0)){continue}break}break a}Jc();L()}Zd(273730);L()}v[a+8>>2]=f;v[a+4>>2]=e;v[a>>2]=c}if(d){$a(d)}}function yra(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=Ma-640|0;Ma=g;f=v[a+12>>2];a:{if((f|0)<1){break a}i=f&3;if(f-1>>>0>=3){j=f&-4;while(1){f=g+384|0;A[f+(e<<3)>>3]=+v[(e<<2)+b>>2]*152587890625e-16;h=e|1;A[(h<<3)+f>>3]=+v[(h<<2)+b>>2]*152587890625e-16;h=e|2;A[(h<<3)+f>>3]=+v[(h<<2)+b>>2]*152587890625e-16;h=f;f=e|3;A[h+(f<<3)>>3]=+v[(f<<2)+b>>2]*152587890625e-16;e=e+4|0;j=j-4|0;if(j){continue}break}}if(!i){break a}while(1){A[(g+384|0)+(e<<3)>>3]=+v[(e<<2)+b>>2]*152587890625e-16;e=e+1|0;i=i-1|0;if(i){continue}break}}b=v[a+148>>2];Qa[v[v[b>>2]+16>>2]](b,g+384|0,g+128|0);b=v[a+144>>2];if((Qa[v[v[b>>2]+28>>2]](b)|0)>=1){e=0;while(1){f=(e<<2)+g|0;k=A[(g+128|0)+(e<<3)>>3]*65536;b:{if(D(k)<2147483648){b=~~k;break b}b=-2147483648}v[f>>2]=b;b=v[a+144>>2];e=e+1|0;if((Qa[v[v[b>>2]+28>>2]](b)|0)>(e|0)){continue}break}}a=v[a+144>>2];Qa[v[v[a>>2]+16>>2]](a,g,c,d);Ma=g+640|0}function xra(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=Ma-640|0;Ma=g;f=v[a+12>>2];a:{if((f|0)<1){break a}i=f&3;if(f-1>>>0>=3){j=f&-4;while(1){f=g+384|0;A[f+(e<<3)>>3]=+v[(e<<2)+b>>2]*152587890625e-16;h=e|1;A[(h<<3)+f>>3]=+v[(h<<2)+b>>2]*152587890625e-16;h=e|2;A[(h<<3)+f>>3]=+v[(h<<2)+b>>2]*152587890625e-16;h=f;f=e|3;A[h+(f<<3)>>3]=+v[(f<<2)+b>>2]*152587890625e-16;e=e+4|0;j=j-4|0;if(j){continue}break}}if(!i){break a}while(1){A[(g+384|0)+(e<<3)>>3]=+v[(e<<2)+b>>2]*152587890625e-16;e=e+1|0;i=i-1|0;if(i){continue}break}}b=v[a+148>>2];Qa[v[v[b>>2]+16>>2]](b,g+384|0,g+128|0);b=v[a+144>>2];if((Qa[v[v[b>>2]+28>>2]](b)|0)>=1){e=0;while(1){f=(e<<2)+g|0;k=A[(g+128|0)+(e<<3)>>3]*65536;b:{if(D(k)<2147483648){b=~~k;break b}b=-2147483648}v[f>>2]=b;b=v[a+144>>2];e=e+1|0;if((Qa[v[v[b>>2]+28>>2]](b)|0)>(e|0)){continue}break}}a=v[a+144>>2];Qa[v[v[a>>2]+20>>2]](a,g,c,d);Ma=g+640|0}function wra(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=Ma-640|0;Ma=g;f=v[a+12>>2];a:{if((f|0)<1){break a}i=f&3;if(f-1>>>0>=3){j=f&-4;while(1){f=g+384|0;A[f+(e<<3)>>3]=+v[(e<<2)+b>>2]*152587890625e-16;h=e|1;A[(h<<3)+f>>3]=+v[(h<<2)+b>>2]*152587890625e-16;h=e|2;A[(h<<3)+f>>3]=+v[(h<<2)+b>>2]*152587890625e-16;h=f;f=e|3;A[h+(f<<3)>>3]=+v[(f<<2)+b>>2]*152587890625e-16;e=e+4|0;j=j-4|0;if(j){continue}break}}if(!i){break a}while(1){A[(g+384|0)+(e<<3)>>3]=+v[(e<<2)+b>>2]*152587890625e-16;e=e+1|0;i=i-1|0;if(i){continue}break}}b=v[a+148>>2];Qa[v[v[b>>2]+16>>2]](b,g+384|0,g+128|0);b=v[a+144>>2];if((Qa[v[v[b>>2]+28>>2]](b)|0)>=1){e=0;while(1){f=(e<<2)+g|0;k=A[(g+128|0)+(e<<3)>>3]*65536;b:{if(D(k)<2147483648){b=~~k;break b}b=-2147483648}v[f>>2]=b;b=v[a+144>>2];e=e+1|0;if((Qa[v[v[b>>2]+28>>2]](b)|0)>(e|0)){continue}break}}a=v[a+144>>2];Qa[v[v[a>>2]+24>>2]](a,g,c,d);Ma=g+640|0}function nya(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;g=v[b>>2];f=v[d>>2];if(((f|0)%2|0)==1){f=f-1|0;v[d>>2]=f}e=a;h=c;k=h+((f|0)/2<<1)|0;a:{b:{if(h>>>0>=k>>>0){break b}j=a+g|0;while(1){g=e;e=h;h=e+2|0;i=w[e|0];f=w[e+1|0]|i<<8;if((i&252)==216){if(h>>>0>=k>>>0){break a}h=w[h|0];if((h&252)!=220){break a}f=(f<<10&1047552|(w[e+3|0]|h<<8&768))+65536|0;h=e+4|0}if(g>>>0>=j>>>0){h=e;e=g;break b}c:{if(f>>>0<=127){t[g|0]=f;e=g+1|0;break c}e=g;d:{if(f>>>0<=2047){l=0;m=0;n=f>>>6|-64;i=0;break d}if(f>>>0<=65535){m=0;l=1;n=f>>>12|-32;i=6;break d}l=1;m=1;n=f>>>18|-16;i=12}t[e|0]=n;e=g+1|0;if(j>>>0<=e>>>0){break c}t[g+1|0]=f>>>i&63|128;e=g+2|0;if(!(j>>>0>e>>>0&l)){break c}t[g+2|0]=f>>>i-6&63|128;e=g+3|0;if(!(j>>>0>e>>>0&m)){break c}t[g+3|0]=f>>>i-12&63|128;e=g+4|0}if(h>>>0>>0){continue}break}}v[b>>2]=e-a;v[d>>2]=h-c;return v[b>>2]}v[b>>2]=g-a;v[d>>2]=e-c;return-2}function csa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;d=c;e=(+v[b>>2]*152587890625e-16+16)/116;g=e+ +v[b+4>>2]*152587890625e-16/500;g=A[a+16>>3]*(g>=.20689655172413793?g*(g*g):(g+-.13793103448275862)*.12841854934601665);h=A[a+24>>3]*(e>=.20689655172413793?e*(e*e):(e+-.13793103448275862)*.12841854934601665);e=e+ +v[b+8>>2]*152587890625e-16/-200;e=A[a+32>>3]*(e>=.20689655172413793?e*(e*e):(e+-.13793103448275862)*.12841854934601665);f=A[a+96>>3]*(g*3.240449+h*-1.537136+e*-.498531);f=f<0?0:F(f,1);f=f==-N?N:D(K(f))*65536;a:{if(D(f)<2147483648){b=~~f;break a}b=-2147483648}v[d>>2]=b;b=c;f=A[a+104>>3]*(h*1.876011+g*-.969265+e*.041556);f=f<0?0:F(f,1);f=f==-N?N:D(K(f))*65536;b:{if(D(f)<2147483648){d=~~f;break b}d=-2147483648}v[b+4>>2]=d;e=A[a+112>>3]*(g*.055643+h*-.204026+e*1.057229);e=e<0?0:F(e,1);e=e==-N?N:D(K(e))*65536;if(D(e)<2147483648){v[c+8>>2]=~~e;return}v[c+8>>2]=-2147483648}function E5(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;if(v[v[a+4>>2]>>2]>0){while(1){a:{g=v[a+4>>2];h=v[g>>2];if((h|0)>0){c=v[g+8>>2];f=c;k=v[c>>2];d=1;b:{if((h|0)<=1){break b}v[f>>2]=v[c+4>>2];f=2;if((h|0)==2){break b}i=h-3|0;e=h+2&3;c:{if(!e){c=1;break c}while(1){c=v[g+8>>2];l=c+(d<<2)|0;d=c;c=f;v[l>>2]=v[d+(c<<2)>>2];f=c+1|0;d=c;e=e-1|0;if(e){continue}break}}if(i>>>0<3){break b}while(1){d=c<<2;c=v[g+8>>2];e=d+c|0;d=c;c=f<<2;v[e>>2]=v[d+c>>2];d=v[g+8>>2];i=d+c|0;e=d;d=c+4|0;v[i>>2]=v[e+d>>2];e=d;d=v[g+8>>2];c=c+8|0;v[e+d>>2]=v[c+d>>2];d=v[g+8>>2];e=d+c|0;c=f+3|0;v[e>>2]=v[d+(c<<2)>>2];f=f+4|0;if((h|0)!=(f|0)){continue}break}}v[g>>2]=h-1;break a}O(1504,7424,594,189362);L()}$a(k);if(v[v[a+4>>2]>>2]>0){continue}break}}if(v[b>>2]<=0){return 0}d:{while(1){c=LL(v[b+4>>2]+(j<<4)|0);if(!c){return-1}if(u5(v[a+4>>2],c)){break d}j=j+1|0;if((j|0)>2]){continue}break}return 0}return-1}function aU(a){var b=0,c=0,d=0,e=0;if(v[a+1168>>2]>=0){bb(a+1176|0)}if(v[a+1192>>2]>-1){bb(a+1200|0)}if(v[a+1216>>2]>=0){bb(a+1224|0)}if(v[a+1240>>2]>=0){bb(a+1248|0)}if(v[a+1264>>2]>=0){bb(a+1272|0)}if(v[a+1288>>2]>=0){bb(a+1296|0)}if(v[a+1312>>2]>=0){bb(a+1320|0)}if(v[a+1336>>2]>=0){bb(a+1344|0)}if(v[a+1360>>2]>=0){bb(a+1368|0)}if(v[a+1384>>2]>=0){bb(a+1392|0)}if(v[a+1408>>2]>=0){bb(a+1416|0)}if(v[a+1432>>2]>=0){bb(a+1440|0)}if(v[a+1456>>2]>=0){bb(a+1464|0)}if(v[a+1480>>2]>=0){bb(a+1488|0)}if(v[a+1504>>2]>=0){bb(a+1512|0)}if(v[a+1528>>2]>=0){bb(a+1536|0)}tb(v[a+8>>2]);bb(a+40|0);b=v[a+64>>2];if(b){tb(b)}b=v[a+72>>2];if(b){tb(b)}while(1){b=v[((e<<2)+a|0)+80>>2];if(b){c=v[b+8>>2];a:{if(!c){break a}d=0;if(v[b+4>>2]>=1){while(1){bb((d<<4)+c|0);c=v[b+8>>2];d=d+1|0;if((d|0)>2]){continue}break}if(!c){break a}}$a(c)}tb(v[b+12>>2]);$a(b)}e=e+1|0;if((e|0)!=128){continue}break}return a}function HQ(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;g=Ma-32|0;Ma=g;v[g+16>>2]=0;v[g+8>>2]=0;v[g+12>>2]=0;v[g>>2]=0;k=zb(c);if(d){i=zb(d)}if(e){j=zb(e)}a:{if(!f){f=jy(a,0,0,b-2|0,g);break a}f=jy(a,f,zb(f),b-2|0,g)}b:{if(a){v[a+744>>2]=34;t[g+28|0]=105;t[g+29|0]=84;t[g+30|0]=88;t[g+31|0]=116;h=(f+((i+k|0)+j|0)|0)+5|0;t[g+27|0]=h;t[g+26|0]=h>>>8;t[g+25|0]=h>>>16;t[g+24|0]=h>>>24;jc(a,g+24|0,8);v[a+348>>2]=1767135348;Bf(a);gc(a,g+28|0,4);v[a+744>>2]=66;c:{if(!c){break c}h=k+1|0;if(!h){break c}jc(a,c,h);gc(a,c,h)}t[g+23|0]=0;t[g+22|0]=(b|0)!=-1&(b|0)!=1;b=g+22|0;jc(a,b,2);gc(a,b,2);t[g+22|0]=0;b=i+1|0;if(b>>>0>=i>>>0){c=d?d:g+22|0;jc(a,c,b);gc(a,c,b)}b=j+1|0;if(b>>>0>=j>>>0){c=e?e:g+22|0;jc(a,c,b);gc(a,c,b)}yu(a,g,f);v[a+744>>2]=130;b=v[a+384>>2];b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);t[g+24|0]=b;t[g+25|0]=b>>>8;t[g+26|0]=b>>>16;t[g+27|0]=b>>>24;jc(a,g+24|0,4);break b}yu(a,g,f)}Ma=g+32|0}function kna(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;h=ab(8);d=Rb(h,313439);Ug(d,v[a+20>>2]);e=v[a+28>>2];if(e){while(1){Wb(d,337465);Ug(d,v[e>>2]);Wb(d,336709);f=0;g=v[e+4>>2];if(v[g>>2]>=1){while(1){a:{b:{c:{d:{e:{f:{i=w[v[g+4>>2]+f|0];switch(i-34|0){case 26:break f;case 0:break c;case 4:break d;case 28:break e;default:break b}}Wb(d,313455);break a}Wb(d,313460);break a}Wb(d,313472);break a}Wb(d,313448);break a}$b(d,i<<24>>24)}f=f+1|0;if((f|0)>2]){continue}break}}Wb(d,336746);e=v[e+12>>2];if(e){continue}break}}e=Qa[v[v[a>>2]+40>>2]](a)|0;Wb(d,e?313360:313355);g=Qa[b|0](c,v[d+4>>2],v[d>>2])|0;Bb(d);$a(h);f=0;g:{if(!g){break g}if(e){while(1){if(!(Qa[v[v[e>>2]+52>>2]](e,b,c)|0)){break g}e=Qa[v[v[e>>2]+44>>2]](e)|0;if(e){continue}break}e=ab(8);d=Qd(e);Wb(d,326280);Ug(d,v[a+20>>2]);Wb(d,313360);a=Qa[b|0](c,v[d+4>>2],v[d>>2])|0;Bb(d);$a(e);if(!a){break g}}f=1}return f|0}function nT(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=Ma-16|0;Ma=d;a:{b:{c:{f=v[a+200>>2];if(!(f&1)){if((c|0)!=13){break c}v[a+200>>2]=f|1;c=d+3|0;Ye(a,c,13);gc(a,c,13);uc(a,0);c=w[d+3|0]|w[d+4|0]<<8|(w[d+5|0]<<16|w[d+6|0]<<24);f=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if((f|0)<=-1){break b}c=w[d+7|0]|w[d+8|0]<<8|(w[d+9|0]<<16|w[d+10|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if((g|0)<=-1){break a}j=w[d+15|0];h=w[d+12|0];k=w[d+14|0];l=w[d+13|0];i=w[d+11|0];t[a+402|0]=i;v[a+324>>2]=g;v[a+320>>2]=f;t[a+696|0]=l;t[a+664|0]=k;t[a+401|0]=h;t[a+398|0]=j;e=h-2|0;m=(e&255)<<3;c=m&31;c=(e&255)>>>0<5?(m&63)>>>0>=32?4>>>c|0:((1<>>c:1;t[a+405|0]=c;e=B(c,i);t[a+404|0]=e;c=a;e=e&255;d:{if(e>>>0>=8){e=B(f,e>>>3|0);break d}e=B(f,e)+7>>>3|0}v[c+336>>2]=e;xR(a,b,f,g,i,h,j,l,k);Ma=d+16|0;return}dc(a,27367);L()}dc(a,28484);L()}dc(a,2354);L()}dc(a,2354);L()}function Qma(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;d=Ma-16|0;Ma=d;a:{if(t[c+11|0]>=0){v[d+8>>2]=v[c+8>>2];f=v[c+4>>2];v[d>>2]=v[c>>2];v[d+4>>2]=f;break a}vc(d,v[c>>2],v[c+4>>2])}k=a;l=d;e=w[b+15|0];c=e<<24>>24;g=(c|0)<0;b:{c:{f=v[b+8>>2];h=g?f:e;if(h){c=w[d+11|0];f=c<<24>>24<0;e=f?v[d+4>>2]:c;if((h|0)>(e|0)){break c}f=f?v[d>>2]:d;i=f+(e<<2)|0;j=g?v[b+4>>2]:b+4|0;m=v[j>>2];c=f;while(1){e=e-h|0;g=e+1|0;if(g>>>0>>0){break c}c=xe(c,m,g);if(!c){break c}if(lc(c,j,h)){c=c+4|0;e=i-c>>2;if((h|0)<=(e|0)){continue}break c}break}if((c|0)==(i|0)|(c|0)!=(f|0)){break c}e=w[b+15|0];c=e;f=v[b+8>>2]}bf(k,l,(c<<24>>24<0?f:e)+1|0,-1);break b}b=w[d+11|0];c=b<<24>>24<0;if(!(!(c?v[d+4>>2]:b)|v[(c?v[d>>2]:d)>>2]!=47)){bf(a,d,1,-1);break b}b=v[d+4>>2];v[a>>2]=v[d>>2];v[a+4>>2]=b;v[a+8>>2]=v[d+8>>2];v[d+8>>2]=0;v[d>>2]=0;v[d+4>>2]=0}if(t[d+11|0]<=-1){$a(v[d>>2])}Ma=d+16|0}function HWa(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;a:{b:{if(!(w[a+285|0]|w[a+286|0]|(w[a+287|0]|w[a+288|0]))){break b}if(w[a+300|0]){break b}c:{if(!c){break c}f=d;while(1){i=f;f=f+1|0;if(w[i|0]){continue}break}g=i-d|0;if((g|0)>(c|0)){ob(a,1043,0,0);return 1043}f=w[f|0];if((f-1&255)>>>0>=2){ob(a,1048,0,0);return 1048}h=(c-g|0)-2|0;if(!((h>>>0)%6|0?(f&255)==1:0)&(!((h>>>0)%10|0)|(f&255)!=2)){break c}ob(a,1028,0,0);return 1028}d:{e:{if(!w[a+112|0]){break e}b=Qa[v[b+4>>2]](a,b,e)|0;if(b){break d}b=v[e>>2];c=!c;t[b+32|0]=c;if(c){break e}t[b+44|0]=f;v[b+36>>2]=g;v[b+48>>2]=(h>>>0)/(((f&255)==1?6:10)>>>0);if(g){b=Qa[v[a+152>>2]](g+1|0)|0;v[v[e>>2]+40>>2]=b;b=v[v[e>>2]+40>>2];if(!b){break a}cb(b,d,g)}if(!h){break e}b=Qa[v[a+152>>2]](h)|0;v[v[e>>2]+52>>2]=b;b=v[v[e>>2]+52>>2];if(!b){break a}cb(b,i+2|0,h)}b=0}return b|0}ob(a,1029,0,0);return 1029}ob(a,1,0,0);return 1}function fl(a){var 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;e=a;i=v[279293];a=0;a:{b:{while(1){if((e|0)!=w[a+991904|0]){b=87;a=a+1|0;if((a|0)!=87){continue}break b}break}b=a;if(a){break b}e=992e3;break a}a=992e3;while(1){d=w[a|0];e=a+1|0;a=e;if(d){continue}a=e;b=b-1|0;if(b){continue}break}}a=v[i+20>>2];if(a){g=v[a+4>>2];c=v[a>>2];f=v[c>>2]+1794895138|0;h=Mp(v[c+8>>2],f);d=Mp(v[c+12>>2],f);b=Mp(v[c+16>>2],f);c:{if(g>>>2>>>0<=h>>>0){break c}a=g-(h<<2)|0;if((b|d)&3|(a>>>0<=d>>>0|a>>>0<=b>>>0)){break c}n=b>>>2|0;i=d>>>2|0;while(1){j=h>>>1|0;d=j+k|0;b=d<<1;a=c+(b+i<<2)|0;l=Mp(v[a>>2],f);a=Mp(v[a+4>>2],f);if(a>>>0>=g>>>0|g-a>>>0<=l>>>0|w[c+(a+l|0)|0]){break c}a=hb(e,a+c|0);if(!a){a=c+(b+n<<2)|0;b=Mp(v[a>>2],f);a=Mp(v[a+4>>2],f);if(a>>>0>=g>>>0|b>>>0>=g-a>>>0){break c}m=w[c+(a+b|0)|0]?0:a+c|0;break c}if((h|0)==1){break c}a=(a|0)<0;h=a?j:h-j|0;k=a?k:d;continue}}}return m?m:e}function FVa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=x[b+52>>1];d=w[b+40|0];e=v[a+428>>2];c=v[b+32>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[e+8|0]=c;t[e+9|0]=c>>>8;t[e+10|0]=c>>>16;t[e+11|0]=c>>>24;c=v[b+36>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[e+12|0]=c;t[e+13|0]=c>>>8;t[e+14|0]=c>>>16;t[e+15|0]=c>>>24;t[e+16|0]=w[b+40|0];t[e+17|0]=w[b+41|0];t[e+18|0]=w[b+42|0];t[e+19|0]=w[b+43|0];t[e+20|0]=w[b+44|0];c=d>>>0<9?255:-1;g=e+8|0;a:{b:{d=x[b+46>>1];if(d|x[b+48>>1]|(x[b+50>>1]|(c&65535)!=(f|0))){break b}if(w[b+54|0]){break b}d=13;break a}d=d<<8|d>>>8;t[e+21|0]=d;t[e+22|0]=d>>>8;d=x[b+48>>1];d=d<<8|d>>>8;t[e+23|0]=d;t[e+24|0]=d>>>8;d=x[b+50>>1];d=d<<8|d>>>8;t[e+25|0]=d;t[e+26|0]=d>>>8;d=19;if(!(w[b+54|0]|(c&65535)!=(f|0))){break a}c=x[b+52>>1];c=c<<8|c>>>8;t[e+27|0]=c;t[e+28|0]=c>>>8;f=w[b+54|0];d=21;if(!f){break a}t[e+29|0]=f;d=22}c=d;return hd(a,v[b>>2],c,g)|0}function DS(a,b,c){var d=0,e=0,f=0;d=Ma-16|0;Ma=d;e=v[a+200>>2];if(e&1){a:{if(e&4){Db(a,62561);uc(a,c);break a}f=w[a+401|0];if(!(e&2|(f|0)!=3)){Db(a,62833);uc(a,c);break a}if(!(!b|!(w[b+8|0]&32))){Db(a,62923);uc(a,c);break a}if((((f|0)==3?1:f&2?6:2)|0)!=(c|0)){Db(a,63027);uc(a,c);break a}e=d+10|0;Ye(a,e,c);gc(a,e,c);if(uc(a,0)){break a}e=w[a+401|0];b:{if((e|0)==3){c=w[d+10|0];t[d|0]=c;c:{d:{if(!b){break d}e=x[b+20>>1];if(!e){break d}if(c>>>0>=e>>>0){Db(a,63318);break a}c=v[a+388>>2]+B(c,3)|0;u[d+2>>1]=w[c|0];u[d+4>>1]=w[c+1|0];u[d+6>>1]=w[c+2|0];break c}u[d+6>>1]=0;u[d+2>>1]=0;u[d+4>>1]=0}u[d+8>>1]=0;break b}t[d|0]=0;c=w[d+10|0]|w[d+11|0]<<8;c=c<<8|c>>>8;if(!(e&2)){u[d+6>>1]=c;u[d+8>>1]=c;u[d+4>>1]=c;u[d+2>>1]=c;break b}u[d+2>>1]=c;u[d+8>>1]=0;c=w[d+12|0]|w[d+13|0]<<8;u[d+4>>1]=c<<8|c>>>8;c=w[d+14|0]|w[d+15|0]<<8;u[d+6>>1]=c<<8|c>>>8}NE(a,b,d)}Ma=d+16|0;return}dc(a,62432);L()}function nI(a,b,c,d,e,f,g,h){var i=0,j=0,k=0;i=v[d>>2];a:{b:{c:{d:{if(!f){break d}k=v[f>>2];if(!k){break d}if((c|0)<1){j=c;break b}if(e>>>0>i>>>0){break c}j=c;break b}if((c|0)<1){j=c;break a}if(e>>>0<=i>>>0){j=c;break a}while(1){u[i>>1]=x[b>>1];j=c-1|0;i=i+2|0;b=b+2|0;if((c|0)<2){break a}c=j;if(e>>>0>i>>>0){continue}break}break a}while(1){u[i>>1]=x[b>>1];v[k>>2]=g;j=c-1|0;k=k+4|0;i=i+2|0;b=b+2|0;if((c|0)<2){break b}c=j;if(e>>>0>i>>>0){continue}break}}v[f>>2]=k}v[d>>2]=i;if((j|0)>=1){e:{if(!a){break e}t[a+65|0]=j;d=j-1|0;i=a+116|0;c=j&7;if(c){while(1){u[i>>1]=x[b>>1];j=j-1|0;i=i+2|0;b=b+2|0;c=c-1|0;if(c){continue}break}}if(d>>>0<7){break e}while(1){u[i>>1]=x[b>>1];u[i+2>>1]=x[b+2>>1];u[i+4>>1]=x[b+4>>1];u[i+6>>1]=x[b+6>>1];u[i+8>>1]=x[b+8>>1];u[i+10>>1]=x[b+10>>1];u[i+12>>1]=x[b+12>>1];u[i+14>>1]=x[b+14>>1];i=i+16|0;b=b+16|0;a=(j|0)>8;j=j-8|0;if(a){continue}break}}v[h>>2]=15}}function Cy(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=Ma-1024|0;Ma=e;c=ab(128);v[c+16>>2]=0;t[c+10|0]=0;u[c+8>>1]=0;v[c>>2]=970372;v[c+4>>2]=0;f=zg(c+20|0);v[c+88>>2]=0;v[c+92>>2]=0;v[c+84>>2]=-1;v[c+76>>2]=0;v[c+80>>2]=0;v[c+64>>2]=0;v[c+56>>2]=0;v[c+96>>2]=0;v[c+100>>2]=0;d=c+88|0;v[d>>2]=970612;v[d+4>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[c+116>>2]=0;v[c+120>>2]=0;v[c+108>>2]=0;v[c+112>>2]=0;d=c+108|0;v[d>>2]=970612;v[d+4>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[a>>2]=0;qb(a,c);Dy(c);es(c,0,32,3623,c);a=v[b>>2];a=Qa[v[v[a>>2]+8>>2]](a,e,1024)|0;if(a){while(1){Ey(c,e,v[c+76>>2],a);v[c+76>>2]=v[c+76>>2]+a;a=v[b>>2];a=Qa[v[v[a>>2]+8>>2]](a,e,1024)|0;if(a){continue}break}}if(!(bg(f)|v[c+16>>2])){t[c+8|0]=1;if(v[c+84>>2]<=-1){a=v[c+64>>2];g=c,h=Qa[v[v[a>>2]+28>>2]](a)|0,v[g+84>>2]=h}a=v[c+96>>2];if(a){while(1){b=v[a+8>>2];if(!v[b+8>>2]){v[b+8>>2]=1}a=v[a>>2];if(a){continue}break}}fs(c)}Ma=e+1024|0}function tza(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if(!w[b+8|0]){d=Fg(48);v[a+8>>2]=d;if(d){u[d>>1]=65534;v[a+44>>2]=65535;t[d+25|0]=0;u[d+2>>1]=0;e=v[b+12>>2]&15;if(e>>>0<=8){t[d+24|0]=1;b=B(e,12);a=v[b+853428>>2];v[d+20>>2]=a;v[d+16>>2]=a;v[d+12>>2]=a;a=x[b+853424>>1]<<7;u[d+8>>1]=a;u[d+4>>1]=a;u[d+6>>1]=a;a=w[313394]|w[313395]<<8|(w[313396]<<16|w[313397]<<24);b=w[313390]|w[313391]<<8|(w[313392]<<16|w[313393]<<24);t[d+26|0]=b;t[d+27|0]=b>>>8;t[d+28|0]=b>>>16;t[d+29|0]=b>>>24;t[d+30|0]=a;t[d+31|0]=a>>>8;t[d+32|0]=a>>>16;t[d+33|0]=a>>>24;a=w[313401]|w[313402]<<8|(w[313403]<<16|w[313404]<<24);b=w[313397]|w[313398]<<8|(w[313399]<<16|w[313400]<<24);t[d+33|0]=b;t[d+34|0]=b>>>8;t[d+35|0]=b>>>16;t[d+36|0]=b>>>24;t[d+37|0]=a;t[d+38|0]=a>>>8;t[d+39|0]=a>>>16;t[d+40|0]=a>>>24;a=d+26|0;a=zb(a)+a|0;t[a|0]=e|48;t[a+1|0]=0;v[d+44>>2]=0;return}Nd(d);v[a+8>>2]=0;v[c>>2]=1;return}v[c>>2]=7}}function L_(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=Ma-48|0;Ma=f;g=v[a+4>>2];t[b+557|0]=0;v[b+560>>2]=a;if(!(!v[b+116>>2]|!v[b+120>>2])){e=eb(b+188|0,0,364);v[b+528>>2]=3932;v[b+520>>2]=-1;v[b+392>>2]=1;v[b+588>>2]=d;v[b+584>>2]=c;v[b+552>>2]=b;v[b+384>>2]=2596864;v[b+388>>2]=7;a:{if(!w[a+32|0]){d=8192;c=97;break a}d=20480;c=v[a+1556>>2]+1|0}b:{c:{if(H_(f+8|0,d,e,v[a>>2],c,x[b+176>>1],x[b+178>>1])){break c}e=Mb(g,v[b+116>>2]+v[a+12>>2]|0);if(e){break b}e=Ed(g,v[b+120>>2]);if(e){break b}e=G_(f+8|0,v[g+32>>2],v[g+36>>2]);dd(g);if(e){break b}t[b+188|0]=w[b+188|0]&254;a=b;c=v[b+532>>2];d:{e:{if((c|0)<=-1){c=0-c|0;break e}if(c){break d}c=987654321}v[a+532>>2]=c}if(y[b+388>>2]>=1001){v[b+388>>2]=7}if(y[b+392>>2]<1001){break c}v[b+392>>2]=1}e=0}v[b+600>>2]=0;v[b+596>>2]=v[b+592>>2];a=v[v[f+8>>2]>>2];b=v[f+24>>2];if(b){Qa[v[a+8>>2]](a,b)}v[f+24>>2]=0}Ma=f+48|0;return e|0}function FKa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=Ma-16|0;Ma=e;d=w[a+20|0];f=v[a+16>>2];g=v[a+12>>2];a:{b:{if(!hb(b,242504)){b=v[c>>2];if(!b){d=35;break a}d=v[b+116>>2];v[e+8>>2]=d;if(!d){d=aB(b,e+8|0,a);if(d){break a}d=v[e+8>>2];v[b+116>>2]=d;v[b+120>>2]=1958}v[c+4>>2]=v[d+8>>2];break b}if(!hb(b,227452)){v[c>>2]=v[v[(g<<2)+429248>>2]+8>>2];break b}if(!hb(b,227437)){v[c>>2]=f;break b}if(!hb(b,232097)){b=v[c>>2];if(!b){d=35;break a}d=v[b+116>>2];v[e+12>>2]=d;if(!d){d=aB(b,e+12|0,a);if(d){break a}d=v[e+12>>2];v[b+116>>2]=d;v[b+120>>2]=1958}v[c+4>>2]=v[d+12>>2];break b}if(!hb(b,272445)){t[c|0]=d;break b}if(!hb(b,234996)){v[c>>2]=v[a+24>>2];v[c+4>>2]=v[a+28>>2];v[c+8>>2]=v[a+32>>2];v[c+12>>2]=v[a+36>>2];v[c+16>>2]=v[a+40>>2];v[c+20>>2]=v[a+44>>2];v[c+24>>2]=v[a+48>>2];v[c+28>>2]=v[a+52>>2];break b}d=12;if(hb(b,272476)){break a}t[c|0]=w[a+21|0]}d=0}Ma=e+16|0;return d|0}function wZ(a){var b=0,c=0,d=0,e=0,f=0,g=0;e=Ma-16|0;Ma=e;c=a;b=Ma-32800|0;Ma=b;a=b+32|0;eb(a,0,32768);a=ya(273827,a|0,32768)|0;if(a>>>0>=4294963201){v[296206]=0-a;a=-1}a:{b:{c:{if((a|0)<=0){v[c>>2]=0;t[c+11|0]=0;break c}a=zb(b+32|0);if(a>>>0>=4294967280){break b}d:{e:{if(a>>>0>=11){f=a+16&-16;d=ab(f);v[b+24>>2]=f|-2147483648;v[b+16>>2]=d;v[b+20>>2]=a;break e}t[b+27|0]=a;d=b+16|0;if(!a){break d}}cb(d,b+32|0,a)}t[a+d|0]=0;v[b+8>>2]=0;v[b>>2]=0;v[b+4>>2]=0;a=v[b+16>>2];d=w[b+27|0];f=d<<24>>24;g=(f|0)<0;EA(g?a:b+16|0,g?v[b+20>>2]:d,b);v[c+8>>2]=v[b+8>>2];d=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=d;if((f|0)>-1){break c}$a(a)}Ma=b+32800|0;break a}sc();L()}a=Xn(c,47);b=Xn(c,92);f:{g:{if((b|0)!=-1){if((a|0)==-1){a=b;break g}a=a>>>0>>0?b:a;break g}if((a|0)==-1){break f}}bf(e,c,0,a);if(t[c+11|0]<=-1){$a(v[c>>2])}a=v[e+4>>2];v[c>>2]=v[e>>2];v[c+4>>2]=a;v[c+8>>2]=v[e+8>>2]}Ma=e+16|0}function kf(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=v[a+28>>2];if(v[a>>2]){c=b;b=v[a+32>>2];if((c|0)>=(b|0)){b=b<<1;v[a+32>>2]=b;i=a,j=yc(v[a+24>>2],b,4),v[i+24>>2]=j}b=ab(24);g=A[a+16>>3];f=A[a+8>>3];v[b+16>>2]=16;e=Pb(16,8);v[b>>2]=e;d=Pb(16,8);v[b+4>>2]=d;c=Pb(16,4);v[b+12>>2]=1;v[b+8>>2]=c;A[e>>3]=f;A[d>>3]=g;v[c>>2]=0;v[b+20>>2]=0;c=v[a+28>>2];v[v[a+24>>2]+(c<<2)>>2]=b;v[a>>2]=0;b=c+1|0;v[a+28>>2]=b}a=v[(v[a+24>>2]+(b<<2)|0)-4>>2];b=v[a+4>>2];c=v[a>>2];g=A[c>>3];e=v[a+12>>2];d=e-1<<3;a:{b:{if(g!=A[d+c>>3]){f=A[b>>3];break b}f=A[b>>3];if(f==A[b+d>>3]){break a}}d=v[a+16>>2];c:{if((d|0)>(e|0)){d=v[a+8>>2];break c}b=d<<1;v[a+16>>2]=b;i=a,j=yc(c,b,8),v[i>>2]=j;i=a,j=yc(v[a+4>>2],v[a+16>>2],8),v[i+4>>2]=j;d=yc(v[a+8>>2],v[a+16>>2],4);v[a+8>>2]=d;b=v[a+4>>2];c=v[a>>2];e=v[a+12>>2]}h=c;c=e<<3;A[h+c>>3]=g;A[b+c>>3]=f;v[(e<<2)+d>>2]=0;v[a+12>>2]=v[a+12>>2]+1}v[a+20>>2]=1}function h1(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=v[b+4>>2];a:{b:{if(e){f=w[c+11|0];g=f<<24>>24<0;h=g?v[c>>2]:c;g=g?v[c+4>>2]:f;f=b+4|0;while(1){c=w[e+27|0];i=c<<24>>24<0;c=i?v[e+20>>2]:c;l=c>>>0>>0;c:{d:{e:{f:{g:{k=l?c:g;h:{if(k){j=e+16|0;i=i?v[j>>2]:j;j=Jb(h,i,k);if(!j){if(c>>>0>g>>>0){break h}break g}if((j|0)>-1){break g}break h}if(c>>>0<=g>>>0){break f}}c=v[e>>2];if(c){break c}break b}c=Jb(i,h,k);if(c){break e}}if(l){break d}break a}if((c|0)>-1){break a}}f=e+4|0;c=v[e+4>>2];if(!c){break a}e=f}f=e;e=c;continue}}e=b+4|0}f=e}g=a;c=v[f>>2];if(c){b=0}else{c=ab(32);h=c+16|0;d=v[d>>2];i:{if(t[d+11|0]>=0){i=v[d+4>>2];v[h>>2]=v[d>>2];v[h+4>>2]=i;v[h+8>>2]=v[d+8>>2];break i}Sl(h,v[d>>2],v[d+4>>2])}v[c+8>>2]=e;v[c>>2]=0;v[c+4>>2]=0;v[c+28>>2]=0;v[f>>2]=c;d=v[v[b>>2]>>2];if(d){v[b>>2]=d;d=v[f>>2]}else{d=c}Ob(v[b+4>>2],d);v[b+8>>2]=v[b+8>>2]+1;b=1}t[g+4|0]=b;v[a>>2]=c}function NW(a,b,c){var d=0,e=0,f=0,g=0;d=v[a+4>>2];if(!d){return 0}e=a+4|0;a=e;while(1){f=Gs(d+16|0,b);a=f?a:d;d=v[(f?4:0)+d>>2];if(d){continue}break}d=0;a:{if((a|0)==(e|0)){break a}if(Gs(b,a+16|0)){break a}a=v[a+24>>2];if(!a){break a}b=v[a+4>>2];v[c>>2]=v[a>>2];v[c+4>>2]=b;b:{if((a|0)==(c|0)){break b}d=a+8|0;b=c+8|0;f=w[a+19|0];e=f<<24>>24;c:{if(t[c+19|0]>=0){if((e|0)>=0){e=v[d+4>>2];v[b>>2]=v[d>>2];v[b+4>>2]=e;v[b+8>>2]=v[d+8>>2];break c}De(b,v[a+8>>2],v[a+12>>2]);break c}g=b;b=(e|0)<0;mf(g,b?v[a+8>>2]:d,b?v[a+12>>2]:f)}d=a+20|0;b=c+20|0;f=w[a+31|0];e=f<<24>>24;if(t[c+31|0]>=0){if((e|0)>=0){e=v[d+4>>2];v[b>>2]=v[d>>2];v[b+4>>2]=e;v[b+8>>2]=v[d+8>>2];break b}De(b,v[a+20>>2],v[a+24>>2]);break b}g=b;b=(e|0)<0;mf(g,b?v[a+20>>2]:d,b?v[a+24>>2]:f)}b=v[a+36>>2];v[c+32>>2]=v[a+32>>2];v[c+36>>2]=b;t[c+48|0]=w[a+48|0];b=v[a+44>>2];v[c+40>>2]=v[a+40>>2];v[c+44>>2]=b;d=1}return d}function FCa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=a+16|0;if(d>>>0>y[b+160>>2]){$c(b,8)}c=w[a+12|0]|w[a+13|0]<<8|(w[a+14|0]<<16|w[a+15|0]<<24);h=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);c=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);if(!(!(c>>>0<16|c>>>0>v[b+160>>2]-a>>>0)&(c-16>>>0)/12>>>0>=h>>>0)){$c(b,8)}if(h){c=0;a=0;while(1){f=c;g=w[d+8|0]|w[d+9|0]<<8|(w[d+10|0]<<16|w[d+11|0]<<24);c=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);e=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(c>>>0>>0){$c(b,8)}if(!(!a|e>>>0>f>>>0)){$c(b,8)}a:{if(!v[b+164>>2]){break a}f=v[b+172>>2];e=c-e|0;if(f>>>0>=e>>>0&f-e>>>0>(g<<8&16711680|g<<24|(g>>>8&65280|g>>>24))>>>0){break a}$c(b,16)}d=d+12|0;a=a+1|0;if((h|0)!=(a|0)){continue}break}}return 0}function Az(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{e=v[a+8>>2];b:{if((e|0)!=v[a+12>>2]){break b}d=v[a+4>>2];g=v[a>>2];if(d>>>0>g>>>0){g=((d-g>>2)+1|0)/-2<<2;c=g+d|0;f=e-d|0;if(f){id(c,d,f);d=v[a+4>>2]}e=c+f|0;v[a+8>>2]=e;v[a+4>>2]=d+g;break b}c=e-g|0;c=c?c>>1:1;if(c>>>0>=1073741824){break a}f=c<<2;h=ab(f);k=h+f|0;i=e-d|0;f=(c&-4)+h|0;e=f;c:{if(!i){break c}j=i-4|0;e=(j>>>2|0)+1&7;d:{if(!e){c=f;break d}c=f;while(1){v[c>>2]=v[d>>2];d=d+4|0;c=c+4|0;e=e-1|0;if(e){continue}break}}e=f+i|0;if(j>>>0<28){break c}while(1){v[c>>2]=v[d>>2];v[c+4>>2]=v[d+4>>2];v[c+8>>2]=v[d+8>>2];v[c+12>>2]=v[d+12>>2];v[c+16>>2]=v[d+16>>2];v[c+20>>2]=v[d+20>>2];v[c+24>>2]=v[d+24>>2];v[c+28>>2]=v[d+28>>2];d=d+32|0;c=c+32|0;if((e|0)!=(c|0)){continue}break}}v[a+12>>2]=k;v[a+8>>2]=e;v[a+4>>2]=f;v[a>>2]=h;if(!g){break b}$a(g);e=v[a+8>>2]}v[e>>2]=v[b>>2];v[a+8>>2]=v[a+8>>2]+4;return}Zd(273730);L()}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;var h=0,i=0,j=0,k=0;a:{if(f){a=c<<1;j=b<<1;if(((c+1|0)/2|0)<=(b|0)){if(!d){break a}while(1){i=g;h=w[f|0];b=w[e|0];if((h|0)!=(b|0)){b=b+((B(h-b|0,j)+c|0)/(a|0)|0)|0}t[i|0]=b;h=w[f+1|0];b=w[e+1|0];if((h|0)!=(b|0)){b=b+((B(h-b|0,j)+c|0)/(a|0)|0)|0}t[i+1|0]=b;h=w[f+2|0];b=w[e+2|0];if((h|0)!=(b|0)){b=b+((B(h-b|0,j)+c|0)/(a|0)|0)|0}t[i+2|0]=b;t[g+3|0]=w[f+3|0];g=g+4|0;f=f+4|0;e=e+4|0;k=k+1|0;if((k|0)!=(d|0)){continue}break}break a}if(!d){break a}while(1){i=g;h=w[f|0];b=w[e|0];if((h|0)!=(b|0)){b=b+((B(h-b|0,j)+c|0)/(a|0)|0)|0}t[i|0]=b;h=w[f+1|0];b=w[e+1|0];if((h|0)!=(b|0)){b=b+((B(h-b|0,j)+c|0)/(a|0)|0)|0}t[i+1|0]=b;h=w[f+2|0];b=w[e+2|0];if((h|0)!=(b|0)){b=b+((B(h-b|0,j)+c|0)/(a|0)|0)|0}t[i+2|0]=b;t[g+3|0]=w[e+3|0];g=g+4|0;e=e+4|0;f=f+4|0;k=k+1|0;if((k|0)!=(d|0)){continue}break}break a}cb(g,e,d<<2)}return 0}function CTa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=Ma-5136|0;Ma=g;u[a+25204>>1]=18761;a:{if(!x[a+26304>>1]){break a}d=0-x[a+26312>>1]|0;e=x[a+26306>>1];while(1){Wi(a,g,B(e,10)>>>4|0);e=x[a+26306>>1];b:{if(!e){e=0;break b}m=d<<1&14;b=x[a+26314>>1];c=0-b|0;h=g;j=b;while(1){if((f|0)>9){f=f-10|0}else{k=x[h>>1]|k<<16;h=h+2|0;f=f+6|0}l=k>>f&1023;c:{if(!(x[a+26308>>1]<=d>>>0|x[a+26310>>1]<=c>>>0)){b=x[a+26316>>1];u[(v[a+26352>>2]+(B(x[a+26320>>1],d>>b)+(c>>b)<<3)|0)+((v[a+26028>>2]>>>((c&1|m)<<1)&3)<<1)>>1]=l;b=x[a+26314>>1];e=x[a+26306>>1];break c}if(x[a+26310>>1]==(c|0)|(1-j|0)>=(c|0)){break c}v[a+26120>>2]=v[a+26120>>2]+l;i=i+1|0}j=b;c=c+1|0;if((c|0)<(e-b|0)){continue}break}}d=d+1|0;if((d|0)<(x[a+26304>>1]-x[a+26312>>1]|0)){continue}break}if(!i){break a}v[a+26120>>2]=y[a+26120>>2]/(i>>>0)}v[a+26124>>2]=1023;if(x[a+26306>>1]>=1601){ZK(a)}Ma=g+5136|0}function Zr(a,b){var c=0,d=0,e=0,f=0,g=0;c=Ma-48|0;Ma=c;e=v[a>>2];Qa[v[v[e>>2]+20>>2]](e,0,0,0)|0;Ve(c+40|0,a);e=v[c+40>>2];v[c+32>>2]=0;v[c+36>>2]=v[279250];a:{while(1){f=Ad(e,c+32|0,0);if(!f){break a}a=v[c+32>>2];Uf(b,v[(a?a+12|0:1117e3)>>2],0);v[c+24>>2]=0;qb(c+24|0,e);a=v[c+24>>2];v[c>>2]=0;qb(c,b);g=Rg(v[c>>2],a);a=v[c>>2];v[c>>2]=0;b:{if(!a){break b}d=v[a+4>>2]-1|0;v[a+4>>2]=d;if(d){break b}d=v[a+4>>2];if(!d){v[a+4>>2]=-32767}if(!d){Qa[v[v[a>>2]+4>>2]](a)}}a=v[c+24>>2];v[c+24>>2]=0;c:{if(!a){break c}d=v[a+4>>2]-1|0;v[a+4>>2]=d;if(d){break c}d=v[a+4>>2];if(!d){v[a+4>>2]=-32767}if(!d){Qa[v[v[a>>2]+4>>2]](a)}}Od(b);eo(e);if((f|0)==(g|0)){continue}break}lb(mb(c,v[279242],241865,2258,334452));L()}db(c+32|0);a=v[c+40>>2];v[c+40>>2]=0;d:{if(!a){break d}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break d}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=c+48|0}function DT(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d=v[a+4>>2];h=v[a>>2];e=(d-h|0)/12|0;c=e+1|0;if(c>>>0<357913942){g=(v[a+8>>2]-h|0)/12|0;f=g<<1;c=g>>>0<178956970?c>>>0>f>>>0?c:f:357913941;if(c>>>0>=357913942){break c}f=B(e,12);e=B(c,12);g=ab(e);c=f+g|0;v[c+4>>2]=v[b+4>>2];f=w[b+8|0];t[c+8|0]=f;b=v[b>>2];v[c>>2]=b;if(!(!f|!b)){v[b+4>>2]=v[b+4>>2]+1}g=e+g|0;f=c+12|0;if((d|0)==(h|0)){break b}b=d;while(1){c=c-12|0;b=b-12|0;v[c+4>>2]=v[b+4>>2];i=w[b+8|0];t[c+8|0]=i;e=v[b>>2];v[c>>2]=e;if(!(!i|!e)){v[e+4>>2]=v[e+4>>2]+1}if((b|0)!=(h|0)){continue}break}v[a+8>>2]=g;v[a+4>>2]=f;v[a>>2]=c;if((d|0)!=(h|0)){while(1){a=d;d=a-12|0;d:{if(!w[a-4|0]){break d}a=v[d>>2];if(!a){break d}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break d}$a(a)}v[d>>2]=0;v[d+4>>2]=0;t[d+8|0]=0;if((d|0)!=(h|0)){continue}break}}d=h;break a}Jc();L()}Zd(273730);L()}v[a+8>>2]=g;v[a+4>>2]=f;v[a>>2]=c}if(d){$a(d)}}function Mea(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=Ma-32|0;Ma=e;f=v[a+12>>2];c=Qa[v[v[f>>2]+20>>2]](f,b,c,d)|0;v[a+24>>2]=0;v[e+8>>2]=0;b=v[a+16>>2];a:{if(!b){break a}d=e+16|0;Qa[v[v[b>>2]+76>>2]](d,b);jb(e+8|0,d);b=v[e+16>>2];v[e+16>>2]=0;if(!b){break a}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break a}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}d=a+16|0;vu(e+16|0,0,0,e+8|0);b=v[e+16>>2];b:{if(b){Qa[v[v[b>>2]+28>>2]](e+24|0,b,1);break b}v[e+24>>2]=0}jb(d,e+24|0);b=v[e+24>>2];v[e+24>>2]=0;c:{if(!b){break c}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break c}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}b=a;a=v[a+16>>2];v[b+20>>2]=v[(a?a+12|0:1117e3)>>2];db(e+16|0);a=v[e+8>>2];v[e+8>>2]=0;d:{if(!a){break d}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break d}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=e+32|0;return c|0}function vX(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;f=Ma-32|0;Ma=f;a:{if(!(d|e)|(!b|!c)){break a}b:{g=v[b+36>>2];if(g){break b}h=b;b=v[b+32>>2];if(b){b=v[b+80>>2]}else{b=0}g=Eo(0,b);v[h+36>>2]=g;if(g){break b}c:{if(!a){b=0;d=0;c=0;break c}b=v[a>>2];d=v[a+4>>2];c=0;if((v[a+28>>2]&-2)!=-1412623820){break c}c=(b^-1)+a>>>0<249?b:0}v[f>>2]=347476;nb(0,d,b,c,0,23,2,3,347476,0,0,0,340689,f);break a}b=Qa[v[256552]](12)|0;if(!b){d:{if(!a){b=0;c=0;break d}b=v[a>>2];c=v[a+4>>2];if((v[a+28>>2]&-2)!=-1412623820){break d}i=(b^-1)+a>>>0<249?b:0}v[f+16>>2]=290868;nb(0,c,b,i,0,23,2,3,290868,0,0,0,340689,f+16|0);break a}v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;j=b,k=Sd(c),v[j>>2]=k;if(e){j=b,k=Sd(e),v[j+8>>2]=k}if(d){j=b,k=Sd(d),v[j+4>>2]=k}if(!HH(g,c,b)){break a}a=v[b>>2];if(a){Qa[v[256556]](a)}a=v[b+4>>2];if(a){Qa[v[256556]](a)}a=v[b+8>>2];if(a){Qa[v[256556]](a)}Qa[v[256556]](b)}Ma=f+32|0}function AW(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{g=v[a+4>>2];b:{if((g|0)!=v[a>>2]){c=g;break b}d=v[a+8>>2];c=v[a+12>>2];if(d>>>0>>0){f=((c-d>>2)+1|0)/2<<2;c=f+d|0;e=d-g|0;if(e){c=c-e|0;id(c,g,e);d=v[a+8>>2]}v[a+4>>2]=c;v[a+8>>2]=d+f;break b}c=c-g|0;c=c?c>>1:1;if(c>>>0>=1073741824){break a}e=c<<2;h=ab(e);k=h+e|0;c=(c+3&-4)+h|0;f=c;i=d-g|0;c:{if(!i){break c}d=c;e=g;j=i-4|0;f=(j>>>2|0)+1&7;if(f){while(1){v[d>>2]=v[e>>2];e=e+4|0;d=d+4|0;f=f-1|0;if(f){continue}break}}f=c+i|0;if(j>>>0<28){break c}while(1){v[d>>2]=v[e>>2];v[d+4>>2]=v[e+4>>2];v[d+8>>2]=v[e+8>>2];v[d+12>>2]=v[e+12>>2];v[d+16>>2]=v[e+16>>2];v[d+20>>2]=v[e+20>>2];v[d+24>>2]=v[e+24>>2];v[d+28>>2]=v[e+28>>2];e=e+32|0;d=d+32|0;if((f|0)!=(d|0)){continue}break}}v[a+12>>2]=k;v[a+8>>2]=f;v[a+4>>2]=c;v[a>>2]=h;if(!g){break b}$a(g);c=v[a+4>>2]}v[c-4>>2]=v[b>>2];v[a+4>>2]=v[a+4>>2]-4;return}Zd(273730);L()}function xw(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=w[b+11|0];e=d<<24>>24;g=v[b+4>>2];i=(e|0)<0?g:d;c=0;a:{if(!i){break a}f=w[a+11|0];h=f<<24>>24;j=v[a+4>>2];k=(h|0)<0?j:f;c=1e4;if(!k){break a}if((i|0)==(k|0)){c=0;if(!lc((e|0)<0?v[b>>2]:b,(h|0)<0?v[a>>2]:a,i)){break a}f=w[a+11|0];h=f;d=w[b+11|0];e=d;j=v[a+4>>2];g=v[b+4>>2]}c=e<<24>>24<0;i=c?v[b>>2]:b;e=h<<24>>24<0;h=e?v[a>>2]:a;k=c?g:d;j=e?j:f;f=0;e=0;d=0;while(1){if((f|0)>=(j|0)){c=d}else{c=v[h>>2];g=c-32|0;f=g>>>0>13|!(1<>>0<26?c+32|0:c}g=(f|0)==(j|0)?0:c;if((e|0)<(k|0)){d=v[i>>2];c=d-32|0;e=c>>>0>13|!(1<>>0<26?d+32|0:d}c=d;d=g;c=(e|0)==(k|0)?0:c;if((d|0)==(c|0)){continue}break}if(!(c?d:0)){return LJ(a,b)?700:1e3}c=1e3;if(LJ(a,b)){break a}d=v[b+4>>2];b=w[b+11|0];c=v[a+4>>2];a=w[a+11|0];c=(b<<24>>24<0?d:b)|(a<<24>>24<0?c:a)?1e4:1500}return c}function dT(a,b,c,d){var e=0,f=0;e=Ma-32|0;Ma=e;a:{b:{if(!v[a+16>>2]){if(bg(a+20|0)){break b}if((c|0)<=-1){break a}jb(a+16|0,b);v[a+84>>2]=d;v[a+80>>2]=c;c:{if(Ay(v[a+16>>2],c,d)){t[a+8|0]=1;break c}es(v[a+16>>2],v[a+80>>2],v[a+84>>2],3623,a)}qb(a- -64|0,0);c=v[a+96>>2];if(c){while(1){b=v[c+8>>2];if(!v[b+8>>2]){v[b+8>>2]=1}c=v[c>>2];if(c){continue}break}}d=v[a+116>>2];if(d){while(1){b=v[d+8>>2];if(b){v[b+4>>2]=v[b+4>>2]+1;c=v[d+8>>2]}else{c=0}b=v[c+16>>2];d:{if((b|0)>-1){break d}f=v[a+84>>2];if((f|0)<1){break d}b=f-v[c+12>>2]|0}es(v[a+16>>2],v[c+12>>2]+v[a+80>>2]|0,b,v[c+20>>2],v[c+24>>2]);b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(!b){b=v[c+4>>2];if(!b){v[c+4>>2]=-32767}if(!b){Qa[v[v[c>>2]+4>>2]](c)}}d=v[d>>2];if(d){continue}break}}Ma=e+32|0;return}lb(mb(e+8|0,324258,241733,881,328704));L()}lb(mb(e+8|0,319860,241733,882,328704));L()}lb(mb(e+8|0,227225,241733,883,328704));L()}function zua(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=Ma-16|0;Ma=e;c=-1;a:{b:{switch(v[a+40>>2]){case 0:c=v[a+352>>2];if((c|0)!=-1){break a}c=v[a+4>>2];g=Qa[v[v[c>>2]+28>>2]](c)|0;if((g|0)==-1){c=v[a+352>>2];break a}c=w[a+348|0]+1|0;t[a+348|0]=c;d=c&255;c=a+92|0;d=d+c|0;b=w[d|0];f=b+w[a+349|0]|0;t[a+349|0]=f;h=d;d=c+(f&255)|0;f=w[d|0];t[h|0]=f;t[d|0]=b;c=w[c+(b+f&255)|0]^g&255;v[a+352>>2]=c;break a;case 1:b=v[a+316>>2];if((b|0)==16){b=v[a+4>>2];if((Qa[v[v[b>>2]+40>>2]](b,e,16)|0)!=16){break a}b=v[a+4>>2];LV(a+92|0,e,(Qa[v[v[b>>2]+32>>2]](b)|0)==-1);b=v[a+316>>2];if((b|0)==16){break a}}c=w[(a+b|0)+300|0];break a;case 2:break b;default:break a}}b=v[a+380>>2];if((b|0)==16){b=v[a+4>>2];if((Qa[v[v[b>>2]+40>>2]](b,e,16)|0)!=16){break a}b=v[a+4>>2];As(a+92|0,e,(Qa[v[v[b>>2]+32>>2]](b)|0)==-1);b=v[a+380>>2];if((b|0)==16){break a}}c=w[(a+b|0)+364|0]}Ma=e+16|0;return c|0}function Iq(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=v[v[b+36>>2]>>2];while(1){b=a;a=b+1|0;g=w[b|0];if((g|0)==32){continue}break}if(g<<24>>24<=-1){h=g>>>0<240;e=g>>>0<224;f=e?1:h?2:3;j=f-1|0;i=f+1|0;g=(e?31:h?15:7)&g;e=f;while(1){g=w[a|0]&63|g<<6;f=f-1|0;a=a+1|0;e=e-1|0;if(e){continue}break}if(j>>>0>=3){while(1){g=w[a+3|0]&63|((w[a+1|0]&63|(g<<12|(w[a|0]&63)<<6))<<12|(w[a+2|0]&63)<<6);a=a+4|0;f=f-4|0;if(f){continue}break}}a=b+i|0}f=0;while(1){b=w[a|0];if((b|32)!=32){a=a+1|0;f=b;if(b<<24>>24>-1){continue}e=f>>>0<240;b=f>>>0<224;i=b?1:e?2:3;j=i-1|0;f=(b?31:e?15:7)&f;b=a;e=i;h=e;while(1){f=w[b|0]&63|f<<6;e=e-1|0;b=b+1|0;h=h-1|0;if(h){continue}break}if(j>>>0>=3){while(1){f=w[b+3|0]&63|((w[b+1|0]&63|(f<<12|(w[b|0]&63)<<6))<<12|(w[b+2|0]&63)<<6);b=b+4|0;e=e-4|0;if(e){continue}break}}a=a+i|0;continue}break}e=0;if(f){b=0}else{e=1;b=yi(k,g)}v[c>>2]=b;v[d>>2]=e;return a}function f2a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=v[b+12>>2];if((e|0)>v[a+56>>2]){Nb(50244,0);return-1}f=b+12|0;a:{b:{c:{d=v[a+84>>2]-4|0;if(d){if((d|0)==12){break c}else{break a}}c=v[v[a+64>>2]+24>>2]+B(e,488)|0;t[c+5|0]=w[b+17|0]+1;t[c+6|0]=w[b+18|0]+2;t[c+7|0]=w[b+19|0]+2;t[c+8|0]=w[b+21|0];t[c+418|0]=w[b+20|0];t[c+4|0]=t[b+16|0]&1;if(v[b+24>>2]>=1){a=0;while(1){e=a+c|0;d=(a<<1)+f|0;t[e+419|0]=w[d+16|0];t[e+452|0]=w[d+17|0];a=a+1|0;if((a|0)>2]){continue}break}}break b}c=-1;d=v[a+52>>2];if(!d){break a}a=0;if(v[d+40>>2]>0){break a}c=v[v[d+32>>2]+24>>2]+B(e,488)|0;t[c+5|0]=w[b+17|0]+1;t[c+6|0]=w[b+18|0]+2;t[c+7|0]=w[b+19|0]+2;t[c+8|0]=w[b+21|0];t[c+418|0]=w[b+20|0];t[c+4|0]=t[b+16|0]&1;if(v[b+24>>2]>=1){while(1){e=a+c|0;d=(a<<1)+f|0;t[e+419|0]=w[d+16|0];t[e+452|0]=w[d+17|0];a=a+1|0;if((a|0)>2]){continue}break}}}v[c>>2]=v[c>>2]|5;c=0}return c|0}function eWa(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;if(!(w[a+288|0]?w[a+285|0]:0)){ob(a,1029,0,0);return 1029}if((c|0)!=3){ob(a,1028,0,0);return 1028}f=w[d|0];if(!(1<>>0<=6:0)){ob(a,1037,0,0);return 1037}g=w[d+1|0];if(!(1<>>0<=16:0)){ob(a,1048,0,0);return 1048}i=w[d+2|0];d=i;if(d>>>0>=2){ob(a,1057,0,0);return 1057}a:{if(w[a+114|0]){c=Qa[v[a+152>>2]](32)|0;if(!c){ob(a,1,0,0);d=1;break a}v[c+4>>2]=739;v[c>>2]=740;h=v[a+700>>2];b:{if(h){v[h+8>>2]=c;break b}v[a+696>>2]=c}v[c+8>>2]=0;v[c+12>>2]=h;v[a+700>>2]=c;v[c+16>>2]=v[a+436>>2];v[c+20>>2]=v[a+440>>2];v[c+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=c}t[c+30|0]=d;t[c+29|0]=f;t[c+28|0]=g}d=_3(a,g,f,d)}c:{if(d){break c}d=0;if(!w[a+112|0]){break c}d=Qa[v[b+4>>2]](a,b,e)|0;if(d){break c}a=v[e>>2];t[a+34|0]=i;t[a+33|0]=g;t[a+32|0]=f;d=0}return d|0}function UM(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;f=Ma-16|0;Ma=f;a:{b:{c:{d:{e=v[a+584>>2];if(e){if(x[a+90>>1]!=32844){break d}c=v[e>>2];if((c|0)!=-1){break a}b=x[a+86>>1]|x[a+84>>1]<<6|x[a+98>>1]<<3;c=b-1033|0;if(c>>>0>3|(c|0)==2){break c}c=1;break b}O(25714,6284,1182,84224);L()}O(38862,6284,1183,84224);L()}e:{switch(b-521|0){case 0:case 3:c=3;break b;default:c=0;if((b|0)==2059){break b}break;case 1:case 2:break e}}c=-1}v[e>>2]=c}d=4;f:{g:{h:{switch(c|0){case 3:d=1;break g;default:wb(v[a+628>>2],v[a>>2],40441,0);break f;case 0:break g;case 1:break h}}d=2}v[e+8>>2]=d;g=1;h=e;i:{if(w[a+13|0]&4){d=v[a+68>>2];b=x3a(v[a+72>>2],0,d,0);c=(Pa|0)!=0;break i}d=v[a+56>>2];b=x3a(v[a+100>>2],0,d,0);c=(Pa|0)!=0}b=d?c?0:b:b;v[h+16>>2]=b;c=b+b|0;if(b?b>>>0>c>>>0?0:c:c){b=gb(b<<1);v[e+12>>2]=b;if(b){break f}}b=v[a+628>>2];v[f>>2]=v[a>>2];wb(b,84224,31515,f);g=0}Ma=f+16|0;return g}function Qia(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=Ma-16|0;Ma=e;a:{if((c|0)<1){break a}c=c-1|0;if(!d){while(1){d=c;v[a>>2]=0;v[a+4>>2]=v[279250];c=v[b>>2];b:{if(c){Qa[v[v[c>>2]+28>>2]](e+8|0,c,1);break b}v[e+8>>2]=0}jb(a,e+8|0);c=v[e+8>>2];v[e+8>>2]=0;c:{if(!c){break c}f=v[c+4>>2]-1|0;v[c+4>>2]=f;if(f){break c}f=v[c+4>>2];if(!f){v[c+4>>2]=-32767}if(!f){Qa[v[v[c>>2]+4>>2]](c)}}c=v[a>>2];v[a+4>>2]=v[(c?c+12|0:1117e3)>>2];c=d-1|0;b=b+8|0;a=a+8|0;if((d|0)>0){continue}break a}}while(1){d=c;v[a>>2]=0;v[a+4>>2]=v[279250];c=v[b>>2];d:{if(c){Qa[v[v[c>>2]+28>>2]](e+8|0,c,1);break d}v[e+8>>2]=0}jb(a,e+8|0);c=v[e+8>>2];v[e+8>>2]=0;e:{if(!c){break e}f=v[c+4>>2]-1|0;v[c+4>>2]=f;if(f){break e}f=v[c+4>>2];if(!f){v[c+4>>2]=-32767}if(!f){Qa[v[v[c>>2]+4>>2]](c)}}c=v[a>>2];v[a+4>>2]=v[(c?c+12|0:1117e3)>>2];c=d-1|0;a=a+8|0;b=db(b)+8|0;if((d|0)>0){continue}break}}Ma=e+16|0}function LB(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=Ma-16|0;Ma=d;a:{if(!a|((a?v[a+8>>2]:-1)|0)!=8){break a}if(a?v[a+36>>2]:0){b=kk(a,2);break a}f=Yb(256,4);if(!f){break a}while(1){v[(b<<2)+f>>2]=b<<24|b<<16|b<<8;c=b|1;v[(c<<2)+f>>2]=c<<24|c<<16|c<<8;b=b+2|0;if((b|0)!=256){continue}break}b=0;g=d+12|0;c=d+8|0;if(a){if(g){v[g>>2]=v[a>>2]}if(c){v[c>>2]=v[a+4>>2]}}j=a?v[a+40>>2]:0;c=a;g=a?v[a+12>>2]:-1;e=Mg(v[d+12>>2],v[d+8>>2],32);if(!e){break a}if(!(!c|!e|(c|0)==(e|0))){v[e+20>>2]=v[c+20>>2];v[e+24>>2]=v[c+24>>2]}c=e?v[e+40>>2]:0;a=e?v[e+12>>2]:-1;b=v[d+8>>2];b:{if((b|0)<1){break b}h=v[d+12>>2];if((h|0)<1){break b}while(1){if((h|0)>=1){k=(B(a,i)<<2)+c|0;l=j+(B(g,i)<<2)|0;b=0;while(1){v[(b<<2)+k>>2]=v[(w[b+l^3]<<2)+f>>2];b=b+1|0;h=v[d+12>>2];if((b|0)<(h|0)){continue}break}b=v[d+8>>2]}i=i+1|0;if((i|0)<(b|0)){continue}break}}$a(f);b=e}Ma=d+16|0;return b}function XV(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;a:{h=v[a+4>>2];if(!h){break a}if((d|0)!=1){g=v[a+12>>2];b:{c:{d:{e=v[a+16>>2];if((e|0)<=0){break d}while(1){if(v[B(f,40)+g>>2]==(b|0)){break d}f=f+1|0;if((e|0)!=(f|0)){continue}break}f=e;break c}if((e|0)!=(f|0)){break b}}i=a;if((e|0)==v[a+20>>2]){e=e+8|0;v[a+20>>2]=e;g=yc(g,e,40);v[a+12>>2]=g;h=v[a+4>>2];e=v[a+16>>2]}v[i+16>>2]=e+1}v[(b<<2)+h>>2]=0;a=B(f,40)+g|0;v[a+36>>2]=d;v[a>>2]=b;if((d|0)<1){break a}v[a+4>>2]=v[c>>2];a=d-1|0;b=a>>>0<7?a:7;if(!b){break a}a=B(f,40)+g|0;v[a+8>>2]=v[c+4>>2];if((b|0)==1){break a}v[a+12>>2]=v[c+8>>2];if((b|0)==2){break a}a=B(f,40)+g|0;v[a+16>>2]=v[c+12>>2];if((b|0)==3){break a}v[a+20>>2]=v[c+16>>2];if((b|0)==4){break a}a=B(f,40)+g|0;v[a+24>>2]=v[c+20>>2];if((b|0)==5){break a}v[a+28>>2]=v[c+24>>2];if((b|0)==6){break a}v[(B(f,40)+g|0)+32>>2]=v[c+28>>2];return}v[(b<<2)+h>>2]=v[c>>2]}}function U_(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,p=0;j=Ma+-64|0;Ma=j;f=v[a+532>>2];a:{if(!f){b=6;break a}e=v[f+4>>2];n=b>>>0>e>>>0?e:b;b:{if(!e){e=0;break b}while(1){b=B(g,12)+f|0;d=b;i=v[b+96>>2];k=v[b+92>>2];c:{if(g>>>0>>0){h=w[d+88|0];d=v[(g<<2)+c>>2];break c}h=w[d+88|0];d=(v[((h<<2)+k|0)-4>>2]-v[k>>2]|0)/2|0}d:{e:{if(!h){break e}b=0;l=-1;f:{g:{while(1){m=b<<2;o=m+k|0;p=v[o>>2];if((p|0)==(d|0)){break f}if((d|0)<(p|0)){break g}l=b;b=b+1|0;if((h|0)!=(b|0)){continue}break}if(!h){break e}b=v[((h<<2)+i|0)-4>>2];break d}if((l|0)<0){break e}e=d;b=l<<2;d=v[b+k>>2];b=fc(e-d|0,v[i+m>>2]-v[b+i>>2]|0,v[o>>2]-d|0);e=v[f+4>>2];break d}b=v[i+m>>2];break d}b=v[i>>2]}v[(g<<2)+j>>2]=b;g=g+1|0;if(g>>>0>>0){continue}break}f=v[a+532>>2]}b=$I(f,e,j);if(b){break a}b=0;v[a+8>>2]=v[a+8>>2]&-32769|((n|0)!=0)<<15}Ma=j- -64|0;return b|0}function Nea(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=Ma-32|0;Ma=f;v[a+24>>2]=0;v[f+8>>2]=0;d=v[a+16>>2];a:{if(!d){break a}e=f+16|0;Qa[v[v[d>>2]+76>>2]](e,d);jb(f+8|0,e);d=v[f+16>>2];v[f+16>>2]=0;if(!d){break a}e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(e){break a}e=v[d+4>>2];if(!e){v[d+4>>2]=-32767}if(!e){Qa[v[v[d>>2]+4>>2]](d)}}e=a+16|0;vu(f+16|0,0,0,f+8|0);d=v[f+16>>2];b:{if(d){Qa[v[v[d>>2]+28>>2]](f+24|0,d,1);break b}v[f+24>>2]=0}jb(e,f+24|0);d=v[f+24>>2];v[f+24>>2]=0;c:{if(!d){break c}e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(e){break c}e=v[d+4>>2];if(!e){v[d+4>>2]=-32767}if(!e){Qa[v[v[d>>2]+4>>2]](d)}}d=v[a+16>>2];v[a+20>>2]=v[(d?d+12|0:1117e3)>>2];db(f+16|0);d=v[f+8>>2];v[f+8>>2]=0;d:{if(!d){break d}e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(e){break d}e=v[d+4>>2];if(!e){v[d+4>>2]=-32767}if(!e){Qa[v[v[d>>2]+4>>2]](d)}}a=v[a+12>>2];a=Qa[v[v[a>>2]+12>>2]](a,b,c)|0;Ma=f+32|0;return a|0}function q5(a){var b=0,c=0,d=0,e=0,f=0;c=1143616;b=v[a+16>>2];e=v[a+12>>2];a=(e|0)<19?e:19;a:{if((a|0)<1){break a}f=a-1|0;d=a&3;if(d){while(1){v[b>>2]=(v[c>>2]+(v[c+4>>2]<<1)<<4)+1021184;c=c+8|0;b=b+4|0;a=a-1|0;d=d-1|0;if(d){continue}break}}if(f>>>0<3){break a}while(1){v[b>>2]=(v[c>>2]+(v[c+4>>2]<<1)<<4)+1021184;v[b+4>>2]=(v[c+8>>2]+(v[c+12>>2]<<1)<<4)+1021184;v[b+8>>2]=(v[c+16>>2]+(v[c+20>>2]<<1)<<4)+1021184;v[b+12>>2]=(v[c+24>>2]+(v[c+28>>2]<<1)<<4)+1021184;c=c+32|0;b=b+16|0;d=(a|0)>4;a=a-4|0;if(d){continue}break}}c=e-19|0;b:{if((c|0)<1){break b}a=e-19&7;if(a){while(1){v[b>>2]=1021184;b=b+4|0;c=c-1|0;a=a-1|0;if(a){continue}break}}if(e-20>>>0<7){break b}while(1){v[b+28>>2]=1021184;v[b+24>>2]=1021184;v[b+20>>2]=1021184;v[b+16>>2]=1021184;v[b+12>>2]=1021184;v[b+8>>2]=1021184;v[b+4>>2]=1021184;v[b>>2]=1021184;b=b+32|0;a=(c|0)>8;c=c-8|0;if(a){continue}break}}}function oIa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Ma-32|0;Ma=f;j=v[a+420>>2];d=v[a+464>>2];a:{b:{if(v[d+40>>2]|!v[a+280>>2]){break b}c=v[a+460>>2];v[c+24>>2]=v[c+24>>2]+(v[d+12>>2]/8|0);v[d+12>>2]=0;g=0;if(!(Qa[v[c+8>>2]](a)|0)){break a}if(v[a+336>>2]>=1){while(1){v[((e<<2)+d|0)+20>>2]=0;e=e+1|0;if((e|0)>2]){continue}break}}v[d+16>>2]=0;v[d+40>>2]=v[a+280>>2];if(v[a+436>>2]){break b}v[d+36>>2]=0}v[f+24>>2]=a;c=v[a+24>>2];g=v[c>>2];v[f+8>>2]=g;h=v[c+4>>2];v[f+12>>2]=h;e=v[d+12>>2];i=v[d+8>>2];if(v[a+364>>2]>=1){j=1<>2];if((e|0)<=0){g=0;if(!Ff(f+8|0,i,e,1)){break a}i=v[f+16>>2];e=v[f+20>>2]}e=e-1|0;if(i>>>e&1){u[h>>1]=j|x[h>>1]}c=c+1|0;if((c|0)>2]){continue}break}h=v[f+12>>2];g=v[f+8>>2];c=v[a+24>>2]}v[c+4>>2]=h;v[c>>2]=g;v[d+12>>2]=e;v[d+8>>2]=i;v[d+40>>2]=v[d+40>>2]-1;g=1}Ma=f+32|0;return g|0}function o5(a){var b=0,c=0,d=0,e=0,f=0;c=1143616;b=v[a+16>>2];e=v[a+20>>2];a=(e|0)<19?e:19;a:{if((a|0)<1){break a}f=a-1|0;d=a&3;if(d){while(1){v[b>>2]=(v[c>>2]+(v[c+4>>2]<<1)<<4)+1021184;c=c+8|0;b=b+4|0;a=a-1|0;d=d-1|0;if(d){continue}break}}if(f>>>0<3){break a}while(1){v[b>>2]=(v[c>>2]+(v[c+4>>2]<<1)<<4)+1021184;v[b+4>>2]=(v[c+8>>2]+(v[c+12>>2]<<1)<<4)+1021184;v[b+8>>2]=(v[c+16>>2]+(v[c+20>>2]<<1)<<4)+1021184;v[b+12>>2]=(v[c+24>>2]+(v[c+28>>2]<<1)<<4)+1021184;c=c+32|0;b=b+16|0;d=(a|0)>4;a=a-4|0;if(d){continue}break}}c=e-19|0;b:{if((c|0)<1){break b}a=e-19&7;if(a){while(1){v[b>>2]=1021184;b=b+4|0;c=c-1|0;a=a-1|0;if(a){continue}break}}if(e-20>>>0<7){break b}while(1){v[b+28>>2]=1021184;v[b+24>>2]=1021184;v[b+20>>2]=1021184;v[b+16>>2]=1021184;v[b+12>>2]=1021184;v[b+8>>2]=1021184;v[b+4>>2]=1021184;v[b>>2]=1021184;b=b+32|0;a=(c|0)>8;c=c-8|0;if(a){continue}break}}}function GOa(a,b,c){a=a|0;b=C(b);c=C(c);var d=C(0),e=C(0),f=C(0),g=C(0),h=C(0),i=C(0);i=C(M);d=z[a+12>>2];f=C(z[a+16>>2]-d);e=b;b=z[a+20>>2];g=C(e-b);b=C(z[a+28>>2]-b);e=c;c=z[a+24>>2];h=C(e-c);e=C(z[a+32>>2]-c);c=C(C(C(C(d+d)*f)+C(g*C(b+b)))+C(h*C(e+e)));g=C(C(C(d*d)-C(g*g))-C(h*h));d=C(C(C(f*f)-C(b*b))-C(e*e));b=C(C(c*c)+C(g*C(d*C(-4))));a:{if(b=C(0))|!(b<=C(1)))){c=z[a+140>>2];return C(C(c+C(b*C(z[a+144>>2]-c))))}c=C(C(C(f-c)*C(.5))/d);if(!(!(c>=C(0))|!(c<=C(1)))){b=z[a+140>>2];return C(C(b+C(c*C(z[a+144>>2]-b))))}if(!(!(b<=C(0)&b>=C(-z[a+276>>2]))&(!(c<=C(0))|!(c>=C(-z[a+276>>2])))|z[a+108>>2]==C(0))){return C(z[a+140>>2])}if(!(b<=C(z[a+272>>2]+C(1))&b>=C(1))&(!(c>=C(1))|!(c<=C(z[a+272>>2]+C(1))))|z[a+112>>2]==C(0)){break a}i=z[a+144>>2]}return C(i)}function uHa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=Ma-208|0;Ma=e;v[e+204>>2]=0;c=v[a>>2];b=v[v[c+712>>2]+3080>>2];c=tg(v[v[c+96>>2]+4>>2],239159);a:{if(!c|!b){break a}b=v[b>>2];if(!b){break a}h=Qa[b|0](c)|0;if(!h){break a}b=v[a>>2];f=v[b+712>>2];c=v[b+100>>2];b=cc(c,1028,e+204|0);b:{c:{if(v[e+204>>2]){break c}d=e+8|0;F_(f+1372|0,d);d=Qa[v[h>>2]](v[v[a>>2]+100>>2],d,b)|0;v[e+204>>2]=d;if(d){break c}j=b+4|0;d=v[f+2024>>2];while(1){if(!d){break b}d=d-1|0;g=d<<2;i=e+8|0;F_(v[(g+f|0)+2028>>2],i);g=Qa[v[h>>2]](v[v[a>>2]+100>>2],i,g+j|0)|0;v[e+204>>2]=g;if(!g){continue}break}}if(b){a=v[f+2024>>2];if(a){while(1){a=a-1|0;f=b+(a<<2)|0;d=v[f+4>>2];if(d){Qa[v[c+8>>2]](c,d)}v[f+4>>2]=0;if(a){continue}break}}a=v[b>>2];if(a){Qa[v[c+8>>2]](c,a)}v[b>>2]=0}if(b){Qa[v[c+8>>2]](c,b)}k=v[e+204>>2];break a}v[v[a+40>>2]>>2]=b;v[a+44>>2]=-1}Ma=e+208|0;return k|0}function jAa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=Ma-16|0;Ma=e;a:{if(!v[c>>2]){v[c>>2]=632;a=0;break a}c=v[a+8>>2];a=cb(b+528|0,c,104);t[b+34|0]=1;v[b+8>>2]=a;a=v[c+40>>2];if(a){v[e+12>>2]=268;f=b,g=sZ(a,b+260|0,e+12|0,d),v[f+568>>2]=g;a=0;if(v[d>>2]>0){break a}}a=v[c>>2];if(!a|!w[a+17|0]?0:a){v[a+4>>2]=v[a+4>>2]+1}a=v[c+4>>2];if(!a|!w[a+17|0]?0:a){v[a+4>>2]=v[a+4>>2]+1}a=v[c+8>>2];if(!a|!w[a+17|0]?0:a){v[a+4>>2]=v[a+4>>2]+1}a=v[c+12>>2];if(!a|!w[a+17|0]?0:a){v[a+4>>2]=v[a+4>>2]+1}a=v[c+16>>2];if(!a|!w[a+17|0]?0:a){v[a+4>>2]=v[a+4>>2]+1}a=v[c+20>>2];if(!a|!w[a+17|0]?0:a){v[a+4>>2]=v[a+4>>2]+1}a=v[c+24>>2];if(!a|!w[a+17|0]?0:a){v[a+4>>2]=v[a+4>>2]+1}a=v[c+28>>2];if(!a|!w[a+17|0]?0:a){v[a+4>>2]=v[a+4>>2]+1}a=v[c+32>>2];if(!a|!w[a+17|0]?0:a){v[a+4>>2]=v[a+4>>2]+1}a=v[c+36>>2];if(!a|!w[a+17|0]?0:a){v[a+4>>2]=v[a+4>>2]+1}a=b}Ma=e+16|0;return a|0}function CBa(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=Ma-16|0;Ma=d;if(v[291010]){a=v[291010];if(a){v[291010]=0;Cq(a)}}if(v[290883]){f=1;while(1){a:{v[d+12>>2]=-1;e=0;a=hZ(v[290883],d+12|0);if(!a){break a}while(1){b=v[a+4>>2];b:{if(!v[b+4>>2]){c=v[290883];if(v[a>>2]>=0){v[c+24>>2]=v[c+24>>2]-1;g=v[a+4>>2];h=v[c+16>>2];c:{if(!h){break c}i=v[a+8>>2];if(!i){break c}Qa[h|0](i)}c=v[c+20>>2];if(g?c:0){Qa[c|0](g)}v[a+8>>2]=0;v[a>>2]=-2147483648;v[a+4>>2]=0}t[b+16|0]=0;j=j+1|0;if(v[b+4>>2]){break b}a=v[v[b+20>>2]+8>>2];if(a){Qa[a|0](b)}a=v[b+8>>2];if(a){Gg(a)}Nd(b);break b}e=e+1|0}a=hZ(v[290883],d+12|0);if(a){continue}break}a=(e|0)>0&f;f=0;if(a){continue}}break}}Ma=d+16|0;a=v[290883];if(!(!a|v[a+24>>2])){iZ(v[290883]);v[290883]=0}u[581768]=0;a=v[290885];if(a){Nd(a);v[290885]=0}v[290886]=0;v[290904]=0;t[1163552]=0;t[1163528]=0;v[290881]=0;return!v[290883]|0}function xQ(a,b){var 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;a:{if(!b){b=v[a+56>>2]-1>>>0<32767;t[a+120|0]=b?8:1;c=v[a+60>>2]-1>>>0<32767;t[a+121|0]=c?8:1;d=v[a- -64>>2]-1>>>0<32767;t[a+122|0]=d?8:1;e=v[a+68>>2]-1>>>0<32767;t[a+123|0]=e?8:1;f=v[a+72>>2]-1>>>0<32767;t[a+124|0]=f?8:1;g=v[a+76>>2]-1>>>0<32767;t[a+125|0]=g?8:1;h=v[a+80>>2]-1>>>0<32767;t[a+126|0]=h?8:1;i=v[a+84>>2]-1>>>0<32767;t[a+127|0]=i?8:1;j=v[a+88>>2]-1>>>0<32767;t[a+128|0]=j?8:1;k=v[a+92>>2]-1>>>0<32767;t[a+129|0]=k?8:1;l=v[a+96>>2]-1>>>0<32767;t[a+130|0]=l?8:1;m=v[a+100>>2]-1>>>0<32767;t[a+131|0]=m?8:1;n=v[a+104>>2]-1>>>0<32767;t[a+132|0]=n?8:1;o=v[a+108>>2]-1>>>0<32767;t[a+133|0]=o?8:1;p=v[a+112>>2]-1>>>0<32767;t[a+134|0]=p?8:1;q=a;a=v[a+116>>2]-1>>>0<32767;t[q+135|0]=a?8:1;a=!(b|(a|p|o|n|m|l|k|j|i|h|g|f|e|d|c));break a}a=v[((b<<2)+a|0)+16>>2]-1>>>0>32766}return a}function vs(a,b,c){var d=0,e=0,f=0;a=cb(a,b,672);if(v[a+116>>2]){d=v[b+116>>2];e=a,f=Qa[v[v[d>>2]+8>>2]](d)|0,v[e+116>>2]=f}if(v[a+120>>2]){d=v[b+120>>2];e=a,f=Qa[v[v[d>>2]+8>>2]](d)|0,v[e+120>>2]=f}if(v[a+380>>2]){d=v[b+380>>2];e=a,f=Qa[v[v[d>>2]+8>>2]](d)|0,v[e+380>>2]=f}if(v[a+384>>2]){d=v[b+384>>2];e=a,f=Qa[v[v[d>>2]+8>>2]](d)|0,v[e+384>>2]=f}if(v[a+424>>2]){d=v[b+424>>2];e=a,f=Qa[v[v[d>>2]+8>>2]](d)|0,v[e+424>>2]=f}if(v[a+428>>2]){d=v[b+428>>2];e=a,f=Qa[v[v[d>>2]+8>>2]](d)|0,v[e+428>>2]=f}if(v[a+432>>2]){d=v[b+432>>2];e=a,f=Qa[v[v[d>>2]+8>>2]](d)|0,v[e+432>>2]=f}if(v[a+436>>2]){d=v[b+436>>2];e=a,f=Qa[v[v[d>>2]+8>>2]](d)|0,v[e+436>>2]=f}d=v[a+452>>2];if((d|0)>0){d=Pb(d,8);v[a+448>>2]=d;cb(d,v[b+448>>2],v[a+452>>2]<<3)}if(c){b=v[b+596>>2];c=ab(40);jV(c,v[b>>2],A[b+8>>3],A[b+16>>3],v[b+24>>2],v[b+28>>2],v[b+32>>2]);v[a+596>>2]=c}v[a+668>>2]=0;return a}function YF(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;f=Ma-32|0;Ma=f;j=ab(16);i=Wg(j,0);b=Qa[v[v[b>>2]+40>>2]](b)|0;if(b){while(1){a:{if(Qa[v[v[b>>2]+32>>2]](b,275285)|0){if(!c){break a}e=Qa[v[v[b>>2]+40>>2]](b)|0;if(!e){break a}if(!(Qa[v[v[e>>2]+28>>2]](e)|0)){break a}e=Qa[v[v[e>>2]+40>>2]](e)|0;if(!e){break a}if(!(Qa[v[v[e>>2]+36>>2]](e)|0)){break a}g=Hc(ab(8),c);e=v[e+20>>2];h=ab(8);Hc(h,e);ti(d,g,h);break a}if(!(Qa[v[v[b>>2]+28>>2]](b)|0)){break a}b:{e=zj(b,280032);if(!e){break b}if(!(Qa[v[v[b>>2]+32>>2]](b,255432)|0)){if(!(Qa[v[v[b>>2]+32>>2]](b,288524)|0)){break b}}g=v[e+4>>2];c:{if(c){v[f+20>>2]=g;v[f+16>>2]=c;e=ZG(f+16|0);break c}e=Hc(ab(8),g)}h=om(i,g);v[f>>2]=h;Fb(e,306617,f);$G(i,g,h+1|0);YF(a,b,e,d);$a(Bb(e));break a}if(!(Qa[v[v[b>>2]+32>>2]](b,255432)|0)){break a}YF(a,b,c,d)}b=Qa[v[v[b>>2]+44>>2]](b)|0;if(b){continue}break}}Vg(i);$a(j);Ma=f+32|0}function Msa(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;c=v[a+28>>2];if(v[c+664>>2]){b=-1;a=v[a+108>>2];a:{if(!a){break a}a=v[a+4>>2];if(v[a+8>>2]==13){break a}a=v[a+16>>2];b=Qa[v[v[a>>2]+52>>2]](a)|0}fb(0,b,245116,0);return}d=v[c+380>>2];if(d){Qa[v[v[d>>2]+4>>2]](d)}v[c+380>>2]=0;c=v[a+28>>2];g=xk(2);d=v[c+116>>2];if(d){Qa[v[v[d>>2]+4>>2]](d)}v[c+116>>2]=g;c=v[a+8>>2];Qa[v[v[c>>2]+108>>2]](c,v[a+28>>2]);e=A[b+24>>3];d=v[b+24>>2];i=A[b+8>>3];g=v[b+8>>2];j=v[b>>2];k=v[b+16>>2];c=v[a+28>>2];f=c;h=(v[b+32>>2]==1?+v[b+40>>2]:A[b+40>>3])*65536;b:{if(D(h)<2147483648){b=~~h;break b}b=-2147483648}v[f+132>>2]=b;b=c;e=((k|0)==1?+(d|0):e)*65536;c:{if(D(e)<2147483648){f=~~e;break c}f=-2147483648}v[b+128>>2]=f;e=((j|0)==1?+(g|0):i)*65536;d:{if(D(e)<2147483648){b=~~e;break d}b=-2147483648}v[c+124>>2]=b;b=v[a+8>>2];Qa[v[v[b>>2]+116>>2]](b,v[a+28>>2])}function Ata(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;c=v[a+28>>2];if(v[c+664>>2]){b=-1;a=v[a+108>>2];a:{if(!a){break a}a=v[a+4>>2];if(v[a+8>>2]==13){break a}a=v[a+16>>2];b=Qa[v[v[a>>2]+52>>2]](a)|0}fb(0,b,245116,0);return}d=v[c+384>>2];if(d){Qa[v[v[d>>2]+4>>2]](d)}v[c+384>>2]=0;c=v[a+28>>2];g=xk(2);d=v[c+120>>2];if(d){Qa[v[v[d>>2]+4>>2]](d)}v[c+120>>2]=g;c=v[a+8>>2];Qa[v[v[c>>2]+112>>2]](c,v[a+28>>2]);e=A[b+24>>3];d=v[b+24>>2];i=A[b+8>>3];g=v[b+8>>2];j=v[b>>2];k=v[b+16>>2];c=v[a+28>>2];f=c;h=(v[b+32>>2]==1?+v[b+40>>2]:A[b+40>>3])*65536;b:{if(D(h)<2147483648){b=~~h;break b}b=-2147483648}v[f+260>>2]=b;b=c;e=((k|0)==1?+(d|0):e)*65536;c:{if(D(e)<2147483648){f=~~e;break c}f=-2147483648}v[b+256>>2]=f;e=((j|0)==1?+(g|0):i)*65536;d:{if(D(e)<2147483648){b=~~e;break d}b=-2147483648}v[c+252>>2]=b;b=v[a+8>>2];Qa[v[v[b>>2]+120>>2]](b,v[a+28>>2])}function iha(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;d=Ma-48|0;Ma=d;v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=0;v[d+36>>2]=0;f=d+32|0;i=f;v[f>>2]=970520;v[f+4>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;Qa[v[v[b>>2]+24>>2]](b,f);e=v[d+40>>2];v[a>>2]=0;v[a+4>>2]=v[279250];if(e){f=Qe(d+24|0,v[e+8>>2]);e=v[e>>2];a:{if(!e){break a}while(1){g=d+16|0;h=Qe(d+8|0,(v[e+8>>2]^-1)+c|0);Rc(g,326442,h);Cd(f,g);db(g);db(h);e=v[e>>2];if(!e){break a}g=d+16|0;h=Qe(d+8|0,v[e+8>>2]);Rc(g,326442,h);Cd(f,g);db(g);db(h);e=v[e>>2];if(e){continue}break}}fR(d+16|0,b,f);b=v[d+16>>2];b:{if(b){Qa[v[v[b>>2]+28>>2]](d+8|0,b,1);break b}v[d+8>>2]=0}jb(a,d+8|0);b=v[d+8>>2];v[d+8>>2]=0;c:{if(!b){break c}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break c}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=a;a=v[a>>2];v[b+4>>2]=v[(a?a+12|0:1117e3)>>2];db(d+16|0);db(f)}ac(i);Ma=d+48|0}function vH(a,b){var c=0,d=0,e=0,f=0;a:{if(!a){break a}c=v[a+20>>2];if(!c){break a}e=v[c+296>>2]}if(b){b:{if(!v[291069]){break b}c=v[291067];if(!c){break b}Qa[c|0](b)}d=v[b+20>>2];c:{if(!d){break c}c=v[d+32>>2];if(!c|!(v[c+48>>2]?1:v[c+44>>2])){break c}if(!Rz(c,d,b)){break c}c=v[v[b+20>>2]+32>>2];if(!c){break c}f=v[c+64>>2];if(!f){break c}d=Ov(c,v[b+12>>2]);if(!d){break c}c=le(f,d,0,0);Qa[v[256556]](d);if(!c|v[c+8>>2]!=(b|0)){break c}d=v[b+8>>2];v[c+8>>2]=0;v[c+12>>2]=d}c=v[b+12>>2];if(c){Tz(a,c)}d=v[b+8>>2];d:{if(!d){break d}if(e){while(1){c=v[e+16>>2];if(c){while(1){if(d>>>0<=y[c+4>>2]&d>>>0>=c+20>>>0){break d}c=v[c>>2];if(c){continue}break}}e=v[e+20>>2];if(e){continue}break}}Qa[v[256556]](d)}e:{if(!a){break e}a=v[a+20>>2];if(!a){break e}e=v[a+376>>2];if((e|0)>99){break e}v[b+24>>2]=v[a+380>>2];v[a+376>>2]=e+1;v[a+380>>2]=b;return}Qa[v[256556]](b)}}function dU(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;g=1;c=v[a>>2];b=0;a:{if((c|0)<1){break a}e=w[v[a+4>>2]];b=1;if((e|0)==43){break a}g=(e|0)!=45;b=(e|0)==45}b:{if((b|0)>=(c|0)){break b}e=v[a+4>>2];c:{while(1){f=w[b+e|0];if((f-48&255)>>>0<=9){d=d*10+ +(f<<24>>24)+-48;b=b+1|0;if((c|0)!=(b|0)){continue}break c}break}if((f|0)!=46){break b}b=b+1|0;if((c|0)<=(b|0)){break b}h=.1;while(1){f=w[b+e|0]-48|0;if((f&255)>>>0>9){break b}d=d+h*+(f|0);h=h*.1;b=b+1|0;if((c|0)!=(b|0)){continue}break}}b=c}d=g?d:-d;d:{g=c;c=b+1|0;e:{if((g|0)>(c|0)){f:{g:{h:{i:{a=v[a+4>>2];switch(w[a+b|0]-99|0){case 10:break f;case 0:break g;case 13:break h;case 6:break i;default:break d}}if(w[a+c|0]!=110){break d}return d*72}if(w[a+c|0]==116){break e}break d}if(w[a+c|0]!=109){break d}return d*28.346456692913385}if(w[a+c|0]!=109){break d}return d*2.834645669291339}d=d*72}return d}return d*72}function Qqa(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;a:{if(!a){break a}d=v[a>>2];if(!d){break a}k=v[d+668>>2];l=v[d+676>>2];g=b?v[b>>2]:g;f=g;i=c?v[c>>2]:i;e=i;j=Ma-160|0;Ma=j;if(g){lU(d,f)}if(e){lU(d,e)}UT(d);Tb(d,v[d+268>>2]);Tb(d,v[d+680>>2]);Tb(d,v[d+748>>2]);Tb(d,v[d+740>>2]);Tb(d,v[d+588>>2]);Tb(d,v[d+592>>2]);e=v[d+632>>2];if(e&4096){rU(d,v[d+388>>2]);e=v[d+632>>2]}h=e&-4097;v[d+632>>2]=h;if(e&8192){Tb(d,v[d+504>>2]);h=v[d+632>>2]}f=h&-8193;v[d+632>>2]=f;e=d;if(h&8){Tb(d,v[d+596>>2]);f=v[d+632>>2]}v[e+632>>2]=f&-9;Gk(d+212|0);Tb(d,v[d+544>>2]);m=cb(j,d,156);h=v[d+164>>2];j=v[d+160>>2];f=v[d+168>>2];e=v[d+676>>2];eb(d+156|0,0,612);v[d+676>>2]=e;v[d+168>>2]=f;v[d+160>>2]=j;v[d+164>>2]=h;cb(d,m,156);Ma=m+160|0;if(g){ro(d,g,16384,-1);gq(g,l,k);v[b>>2]=0}if(i){ro(d,i,16384,-1);gq(i,l,k);v[c>>2]=0}gq(d,l,k);v[a>>2]=0}}function PCa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=v[b>>2];if((e|0)==-1){return 0}c=v[a+16>>2];d=w[c+8204|0]|w[c+8205|0]<<8|(w[c+8206|0]<<16|w[c+8207|0]<<24);f=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);a:{b:{if(!f){break b}j=v[a>>2];a=e+1|0;d=c+8208|0;while(1){c=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);a=a>>>0>>0?g:a;c=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);h=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c:{if(a>>>0>h>>>0){break c}c=w[d+8|0]|w[d+9|0]<<8|(w[d+10|0]<<16|w[d+11|0]<<24);i=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=h+1|0;d:{while(1){e=a-g|0;if((e^-1)>>>0>>0){break c}e=e+i|0;if(e){break d}if((a|0)==-1){break b}e=(a|0)==(h|0);a=a+1|0;if(!e){continue}break}a=c;break c}if(y[j+16>>2]>e>>>0){break a}}d=d+12|0;f=f-1|0;if(f){continue}break}}e=0;a=0}v[b>>2]=a;return e|0}function zh(a,b,c,d,e,f,g,h){var i=0,j=0,k=0;i=v[d>>2];a:{b:{c:{d:{if(!f){break d}k=v[f>>2];if(!k){break d}if((c|0)<1){j=c;break b}if(e>>>0>i>>>0){break c}j=c;break b}if((c|0)<1){j=c;break a}if(e>>>0<=i>>>0){j=c;break a}while(1){t[i|0]=w[b|0];j=c-1|0;i=i+1|0;b=b+1|0;if((c|0)<2){break a}c=j;if(e>>>0>i>>>0){continue}break}break a}while(1){t[i|0]=w[b|0];v[k>>2]=g;j=c-1|0;k=k+4|0;i=i+1|0;b=b+1|0;if((c|0)<2){break b}c=j;if(e>>>0>i>>>0){continue}break}}v[f>>2]=k}v[d>>2]=i;if((j|0)>=1){e:{if(!a){break e}t[a+63|0]=j;d=j-1|0;i=a+76|0;c=j&7;if(c){while(1){t[i|0]=w[b|0];j=j-1|0;i=i+1|0;b=b+1|0;c=c-1|0;if(c){continue}break}}if(d>>>0<7){break e}while(1){t[i|0]=w[b|0];t[i+1|0]=w[b+1|0];t[i+2|0]=w[b+2|0];t[i+3|0]=w[b+3|0];t[i+4|0]=w[b+4|0];t[i+5|0]=w[b+5|0];t[i+6|0]=w[b+6|0];t[i+7|0]=w[b+7|0];i=i+8|0;b=b+8|0;a=(j|0)>8;j=j-8|0;if(a){continue}break}}v[h>>2]=15}}function RKa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;h=v[a+4>>2];i=v[a>>2];a:{b:{if(v[b+188>>2]){break b}f=v[b+180>>2];if(!(v[b+184>>2]?1:f)){break b}d=v[b+156>>2];c:{g=v[b+192>>2]+(v[b+160>>2]-v[b+172>>2]<<2)|0;a=v[g>>2];d:{if(!a){a=0;break d}e=v[a>>2];if((d|0)<(e|0)){break d}e:{while(1){c=a;if((d|0)==(e|0)){break c}a=v[c+12>>2];if(a){e=v[a>>2];if((d|0)<(e|0)){break e}continue}break}a=0}g=c+12|0}c=v[b+204>>2];if((c|0)>=v[b+200>>2]){break a}v[b+204>>2]=c+1;c=v[b+196>>2]+(c<<4)|0;v[c+8>>2]=f;v[c>>2]=d;d=v[b+184>>2];v[c+12>>2]=a;v[c+4>>2]=d;v[g>>2]=c;break b}v[c+8>>2]=v[c+8>>2]+f;v[c+4>>2]=v[c+4>>2]+v[b+184>>2]}v[b+180>>2]=0;v[b+184>>2]=0;a=h>>6;v[b+160>>2]=a;d=v[b+164>>2];c=i>>6;v[b+156>>2]=(c|0)<(d|0)?d-1|0:c;d=1;v[b+188>>2]=(a|0)>2]|(a|0)>=v[b+176>>2]?d:(c|0)>=v[b+168>>2];v[b+212>>2]=h<<2;v[b+208>>2]=i<<2;return 0}tc(b,1);L()}function ZDa(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,h=0,i=0,j=0,k=0,l=0,m=0;a:{h=v[a+4>>2];k=0-h|0;g=k&(c+h|0)-1;i=d&k;b:{if((g|0)<=(i|0)){e=v[a>>2];d=g;break b}if((h+i|0)!=(g|0)){break a}j=i;c:{d:{e:{l=x[e+12>>1];m=l&7;switch(m|0){case 0:break c;case 1:case 5:break d;case 4:break e;default:break a}}j=(c+d|0)+((B(h,63)|0)/64|0)>>1&k;break c}if(!(v[e+28>>2]!=(f|0)|v[e+16>>2]>0)&(!(l&16)|v[a+8>>2]>(d-c|0))|!(v[f+28>>2]!=(e|0)|v[e+20>>2]!=(b|0))&(!(l&32)|v[a+8>>2]>(d-c|0))){break a}if((m|0)==1){break c}j=(c+d|0)+((B(h,63)|0)/64|0)>>1&k}e=v[a>>2];d=g;d=(j|0)>=0?y[a+96>>2]>j>>>e>>>0?j:i:d;c=((g|0)==(d|0)?i:g)>>e;if((c|0)<0|c>>>0>=y[a+96>>2]){break b}if(w[(v[a+56>>2]+(b>>3)|0)-B(c,v[a+104>>2])|0]&128>>>(b&7)){break a}}c=d>>e;if((c|0)<0|c>>>0>=y[a+96>>2]){break a}a=(v[a+56>>2]+(b>>3)|0)-B(c,v[a+104>>2])|0;t[a|0]=w[a|0]|128>>>(b&7)}}function f$(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{if((a|0)>(b|0)){break a}g=v[(c<<3)+e>>2]>v[(d<<3)+e>>2];k=g?c:d;h=k<<3;i=v[h+f>>2];l=g?d:c;c=l<<3;j=v[c+f>>2];h=v[e+h>>2];g=v[c+e>>2];if(!((h|0)==(g|0)&(i|0)!=(j|0))){if((g|0)!=(h|0)){m=Ub(i-j|0,h-g|0)}o=i-h|0;p=j-g|0;d=a;while(1){c=d;n=d<<3;d=v[n+e>>2];b:{if((d|0)<=(g|0)){i=d+p|0;break b}i=d+o|0;if((d|0)>=(h|0)){break b}i=xb(d-g|0,m)+j|0}v[f+n>>2]=i;d=c+1|0;if((b|0)!=(c|0)){continue}break}}h=f+4|0;e=e+4|0;d=v[e+(l<<3)>>2]>v[e+(k<<3)>>2];g=(d?l:k)<<3;c=v[h+g>>2];d=(d?k:l)<<3;f=v[d+h>>2];g=v[e+g>>2];d=v[d+e>>2];if((g|0)==(d|0)&(c|0)!=(f|0)){break a}k=0;if((d|0)!=(g|0)){k=Ub(c-f|0,g-d|0)}i=c-g|0;l=f-d|0;while(1){c=a;m=c<<3;a=v[m+e>>2];c:{if((a|0)<=(d|0)){j=a+l|0;break c}j=a+i|0;if((a|0)>=(g|0)){break c}j=xb(a-d|0,k)+f|0}v[h+m>>2]=j;a=c+1|0;if((b|0)!=(c|0)){continue}break}}}function aEa(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,h=0,i=0,j=0,k=0,l=0,m=0;a:{h=v[a+4>>2];k=0-h|0;g=k&(c+h|0)-1;i=d&k;b:{if((g|0)<=(i|0)){c=v[a>>2];d=g;break b}if((h+i|0)!=(g|0)){break a}j=i;c:{d:{e:{l=x[e+12>>1];m=l&7;switch(m|0){case 0:break c;case 1:case 5:break d;case 4:break e;default:break a}}j=(c+d|0)+((B(h,63)|0)/64|0)>>1&k;break c}if(!(v[e+28>>2]!=(f|0)|v[e+16>>2]>0)&(!(l&16)|v[a+8>>2]>(d-c|0))|!(v[f+28>>2]!=(e|0)|v[e+20>>2]!=(b|0))&(!(l&32)|v[a+8>>2]>(d-c|0))){break a}if((m|0)==1){break c}j=(c+d|0)+((B(h,63)|0)/64|0)>>1&k}c=v[a>>2];d=g;d=(j|0)>=0?x[a+52>>1]>(j>>>c|0)?j:i:d;b=((g|0)==(d|0)?i:g)>>c;if((b|0)<0|(b|0)>=x[a+52>>1]){break b}if(w[v[a+56>>2]+(v[a+140>>2]+(b<<13>>16)|0)|0]<<(b&7)&128){break a}}b=d>>c;if((b|0)<0|(b|0)>=x[a+52>>1]){break a}a=v[a+56>>2]+(v[a+140>>2]+(b<<13>>16)|0)|0;t[a|0]=w[a|0]|128>>>(b&7)}}function se(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Ma-16|0;Ma=e;a:{if(!b){break a}if((a|0)==(b|0)){c=b;break a}f=v[b+12>>2];d=v[b+4>>2];g=B(f,d);h=g<<2;if(!a){a=e3(b);if(!a){break a}eb(v[a+40>>2],0,B(v[a+12>>2],v[a+4>>2])<<2);cb(v[a+40>>2],v[b+40>>2],h);c=a;break a}c=v[b>>2];if(!(!((c|0)!=v[a>>2]|(d|0)!=v[a+4>>2])&v[b+8>>2]==v[a+8>>2])){i=v[b+8>>2];v[a+4>>2]=(d|0)>0?d:0;v[a>>2]=(c|0)>0?c:0;if((i|0)>=1){v[a+8>>2]=i}v[a+12>>2]=f;c=v[a+40>>2];if(c){Qa[v[256542]](c);v[a+40>>2]=0}c=0;d=Qa[v[256541]](g<<2)|0;if(!d){break a}v[a+40>>2]=d}c=v[a+36>>2];v[e+8>>2]=c;if(c){Gn(e+8|0);v[a+36>>2]=0}c=v[b+36>>2];b:{if(!c){break b}c=tK(c);if(!c){break b}d=v[a+36>>2];v[e+12>>2]=d;if(d){Gn(e+12|0)}v[a+36>>2]=c}v[a+20>>2]=v[b+20>>2];v[a+24>>2]=v[b+24>>2];v[a+28>>2]=v[b+28>>2];c=v[b+32>>2];d=a+32|0;if(d){fN(d,c)}cb(v[a+40>>2],v[b+40>>2],h);c=a}Ma=e+16|0;return c}function kXa(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,j=0;a:{b:{if(f){a=c<<1;j=b<<1;if(((c+1|0)/2|0)>(b|0)){break b}if(!d){break a}b=0;while(1){h=x[e>>1];c:{if((h|0)==x[f>>1]){u[g>>1]=h;break c}h=w[e|0]|w[e+1|0]<<8;i=w[f|0]|w[f+1|0]<<8;h=((h<<8|h>>>8)&65535)+((B(((i<<8|i>>>8)&65535)-((h<<8|h>>>8)&65535)|0,j)+c|0)/(a|0)|0)&65535;h=h<<8|h>>>8;t[g|0]=h;t[g+1|0]=h>>>8}u[g+2>>1]=x[f+2>>1];g=g+4|0;f=f+4|0;e=e+4|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}break a}cb(g,e,d<<2);break a}if(!d){break a}b=0;while(1){h=x[e>>1];d:{if((h|0)==x[f>>1]){u[g>>1]=h;break d}h=w[e|0]|w[e+1|0]<<8;i=w[f|0]|w[f+1|0]<<8;h=((h<<8|h>>>8)&65535)+((B(((i<<8|i>>>8)&65535)-((h<<8|h>>>8)&65535)|0,j)+c|0)/(a|0)|0)&65535;h=h<<8|h>>>8;t[g|0]=h;t[g+1|0]=h>>>8}u[g+2>>1]=x[e+2>>1];g=g+4|0;e=e+4|0;f=f+4|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}}return 0}function k$(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;j=v[a+12>>2];e=v[j>>2];g=b>>>0>e>>>0?e:b;if(g){e=v[j+12>>2];while(1){k=v[e+12>>2];b=k;l=i<<2;f=v[l+c>>2];if((b|0)>=(f|0)){b=v[e+4>>2];b=(b|0)>(f|0)?b:f}f=v[e+8>>2];a:{if((f|0)>(b|0)){h=0-Ub(b-f|0,v[e+4>>2]-f|0)|0;break a}h=0;if((b|0)<=(f|0)){break a}h=Ub(b-f|0,k-f|0)}v[d+l>>2]=h;e=e+24|0;i=i+1|0;if((g|0)!=(i|0)){continue}break}e=v[j>>2]}if(e>>>0>g>>>0){eb((g<<2)+d|0,0,e-g<<2)}b=v[a+28>>2];b:{if(!b){break b}a=v[j>>2];if(!a){break b}c=0;while(1){h=x[b>>1];c:{if(h>>>0<2){break c}f=v[b+4>>2];i=(c<<2)+d|0;g=v[i>>2];e=1;while(1){k=e<<3;l=k+f|0;m=v[l>>2];if((g|0)<(m|0)){a=k-8|0;e=a+f|0;f=v[e>>2];n=i,o=fc(g-f|0,v[l+4>>2]-v[e+4>>2]|0,m-f|0)+v[(a+v[b+4>>2]|0)+4>>2]|0,v[n>>2]=o;a=v[j>>2];break c}e=e+1|0;if((h|0)!=(e|0)){continue}break}}b=b+8|0;c=c+1|0;if(c>>>0>>0){continue}break}}}function Rr(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=Ma-32|0;Ma=h;a:{b:{c:{if(v[a+8>>2]<1){break c}d=v[a+12>>2];if((d|0)<1|v[a+32>>2]<1){break c}g=v[a+36>>2];if((g|0)<=0){break c}f=g;e=d;if(b|c){if((b|0)<1){break b}f=b;e=c;if((e|0)<=0){break b}}c=0;v[a+20>>2]=0;b=f<<1;if((e|0)>(b|0)){while(1){c=c+1|0;d=d+1>>1;f=b;b=b<<1;if((e|0)>(b|0)){continue}break}v[a+20>>2]=c}v[a+28>>2]=d;c=v[a+40>>2];if(!c){Sc(a+44|0,g,4);g=v[a+36>>2];d=v[a+28>>2];c=v[a+40>>2]}i=e<<4;a=((i+f|0)/(b|0)|0)-8|0;b=a;if((g|0)>=1){j=(d<<4)-16|0;e=(f|0)/2|0;d=0;b=a;while(1){v[(d<<2)+c>>2]=(b|0)<(j|0)?b:j;e=e+i|0;k=(e|0)/(f|0)|0;e=e-B(f,k)|0;b=b+k|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}if((f|0)==(g|0)&(a+i|0)!=(b|0)){break a}Ma=h+32|0;return}lb(mb(h+8|0,273611,241249,237,327688));L()}lb(mb(h+8|0,235381,241249,243,327688));L()}lb(mb(h+8|0,246116,241249,203,327989));L()}function CV(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;f=Ma-4112|0;Ma=f;v[f+4096>>2]=13;a:{if(v[ib(b,283600,f+4096|0,0)>>2]!=8){bb(f+4096|0);break a}h=ab(8);b=Qd(h);e=v[f+4104>>2];Qa[v[v[e>>2]+20>>2]](e);e=v[f+4104>>2];e=Qa[v[v[e>>2]+40>>2]](e,f,4096)|0;if((e|0)>=1){while(1){Wj(b,f,e);e=v[f+4104>>2];e=Qa[v[v[e>>2]+40>>2]](e,f,4096)|0;if((e|0)>0){continue}break}}e=v[f+4104>>2];Qa[v[v[e>>2]+24>>2]](e);bb(f+4096|0);b:{if(d){e=Ma-16|0;Ma=e;v[e+12>>2]=0;v[e+8>>2]=b;VG(d,2922,e+8|0,c);break b}e=Ma-16|0;Ma=e;d=ab(28);v[d+8>>2]=256;v[d>>2]=0;i=Pb(256,4);v[d+4>>2]=i;while(1){v[(g<<2)+i>>2]=0;g=g+1|0;if(g>>>0>2]){continue}break}v[d+12>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+24>>2]=1;v[e+12>>2]=0;v[e+8>>2]=b;if(!VG(d,2922,e+8|0,c)){c=v[d>>2];if(c){$a(Bb(c))}tb(v[d+4>>2]);tb(v[d+12>>2]);$a(d);d=0}}Ma=e+16|0;e=d;Bb(b);$a(h);v[a+152>>2]=1}Ma=f+4112|0;return e}function mNa(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,h=0,i=0;g=Ma-112|0;Ma=g;a:{if(!v[a+164>>2]){b=0;break a}eb(g+16|4,0,92);h=ab(12);b:{if(t[b+11|0]>=0){i=v[b+4>>2];v[h>>2]=v[b>>2];v[h+4>>2]=i;v[h+8>>2]=v[b+8>>2];break b}vc(h,v[b>>2],v[b+4>>2])}v[g+16>>2]=h;b=ab(4);v[b>>2]=0;v[g+32>>2]=b;h=ab(4);v[h>>2]=0;v[g+36>>2]=h;d=v[d>>2];if(d&1){v[b>>2]=1}if(d&2){v[h>>2]=1}b=v[a+164>>2];b=Qa[v[v[b>>2]+20>>2]](b)|0;d=Qa[v[v[b>>2]+20>>2]](b,g+16|0,1)|0;c:{if(!d){b=0;break c}v[g+12>>2]=v[d+24>>2];b=Qa[v[v[a>>2]+144>>2]](a,d+12|0,g+12|0,c,e,f)|0;if((b|0)!=1){break c}c=0;e=v[g+32>>2];b=0;d:{if(!e){break d}b=0;if(v[e>>2]!=1){break d}b=!v[d+40>>2]}e=v[g+36>>2];c=!e|v[e>>2]!=1?c:!v[d+44>>2];d=v[a+12>>2];v[g+12>>2]=b;b=g+12|0;Qa[v[v[d>>2]+60>>2]](d,b);a=v[a+12>>2];v[g+12>>2]=c;Qa[v[v[a>>2]+56>>2]](a,b);b=1}PJ(g+16|0)}Ma=g+112|0;return b|0}function _r(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;mi(a+148|0,0,b?1024:512,0);g=v[a+108>>2];if(g){a:{if(b){t[g+10|0]=1;break a}t[g+9|0]=1}d=v[g+96>>2];if(d){while(1){c=v[d+8>>2];if(!v[c+8>>2]){v[c+8>>2]=1}d=v[d>>2];if(d){continue}break}}c=v[g+16>>2];b:{if(!c){break b}v[c+4>>2]=v[c+4>>2]+1;c=v[g+16>>2];if(!c){break b}if(v[v[g+12>>2]>>2]){f=c;while(1){d=v[f+96>>2];if(d){while(1){e=v[d+8>>2];v[e+4>>2]=v[e+4>>2]+1;e=v[d+8>>2];t[e+12|0]=1;if(!v[e+8>>2]){v[e+8>>2]=1}h=v[e+4>>2]-1|0;v[e+4>>2]=h;if(!h){h=v[e+4>>2];if(!h){v[e+4>>2]=-32767}if(!h){Qa[v[v[e>>2]+4>>2]](e)}}d=v[d>>2];if(d){continue}break}}f=v[f+16>>2];if(f){continue}f=c;if(v[v[g+12>>2]>>2]){continue}break}}f=v[c+4>>2]-1|0;v[c+4>>2]=f;if(f){break b}f=v[c+4>>2];if(!f){v[c+4>>2]=-32767}if(!f){Qa[v[v[c>>2]+4>>2]](c)}}}a=v[a+120>>2];if(a){while(1){_r(v[a+8>>2],b);a=v[a>>2];if(a){continue}break}}}function R_a(a){a=a|0;var b=0,c=0,d=0,e=0;b=v[v[a+2248>>2]+88>>2];c=v[b+1168>>2];c=(v[b+1176>>2]+B(c,v[a+572>>2])|0)+B(c,v[a+2268>>2])|0;b=v[b+1164>>2];b=(c+B(b,v[a+580>>2])|0)+B(b,v[a+2264>>2])|0;c=v[a+636>>2]+v[a+616>>2]|0;d=v[a+588>>2];a:{b:{if(w[a+2253|0]!=4){if((d|0)<=0){break a}while(1){t[b|0]=w[c|0]+w[b|0];t[b+1|0]=w[c+1|0]+w[b+1|0];c=c+2|0;b=(v[a+584>>2]<<1)+b|0;d=v[a+588>>2];e=e+1|0;if((d|0)>(e|0)){continue}break}break b}if((d|0)<1){break a}while(1){t[b|0]=w[c|0];t[b+1|0]=w[c+1|0];c=c+2|0;b=(v[a+584>>2]<<1)+b|0;d=v[a+588>>2];e=e+1|0;if((d|0)>(e|0)){continue}break}}if((d|0)<1){break a}b=v[a+540>>2];b=(v[b+1176>>2]+B(v[a+572>>2],v[b+1168>>2])|0)+B(v[a+580>>2],v[b+1164>>2])|0;c=v[a+636>>2]+v[a+616>>2]|0;d=0;while(1){t[b|0]=w[c|0];t[b+1|0]=w[c+1|0];c=c+2|0;b=(v[a+584>>2]<<1)+b|0;d=d+1|0;if((d|0)>2]){continue}break}}return 0}function Ie(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=2147483632;v[b>>2]=2147483632;f=v[b+8>>2];v[b+16>>2]=f;e=v[b+20>>2];v[b+28>>2]=e;u[e+2>>1]=0;i=v[a+20>>2];k=v[a+28>>2]-i>>3;while(1){d=u[i+10>>1];h=d>>31;j=h^d+h;l=j&65535;h=u[i+8>>1];a:{b:{if((d|0)<=-1){d=w[v[i+12>>2]];c:{if((h|0)!=(g+1|0)){break c}g=u[e+2>>1];if((d|0)!=w[v[e+4>>2]]|(g|0)>-1){break c}u[e+2>>1]=g-j;break b}t[f|0]=d;d=v[b+28>>2];e=d+8|0;v[b+28>>2]=e;g=v[b+16>>2];f=g+1|0;v[b+16>>2]=f;u[d+10>>1]=0-j;u[d+8>>1]=h;v[d+12>>2]=g;break b}if(!d){break a}cb(f,v[i+12>>2],l);d=v[b+28>>2];d:{e:{if((h|0)!=(v[b>>2]+1|0)){break e}e=u[d+2>>1];if((e|0)<1){break e}u[d+2>>1]=e+j;f=v[b+16>>2];e=d;break d}e=d+8|0;v[b+28>>2]=e;f=v[b+16>>2];u[d+10>>1]=j;u[d+8>>1]=h;v[d+12>>2]=f}f=f+l|0;v[b+16>>2]=f}g=(h+l|0)-1|0;v[b>>2]=g}i=i+8|0;k=k-1|0;if(k){continue}break}v[b+4>>2]=v[a+4>>2];jj(c,b)}function Pf(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0;a=v[a>>2];j=v[a+4>>2];i=v[a+16>>2];a:{b:{if((i|0)>=0){a=B(c,i);break b}k=j-v[a>>2]|0;a=B(c,i);if((k|0)<(0-a|0)){break a}}h=a+j|0}h=(b<<2)+h|0;c:{if(f){while(1){$J(h,w[e|0],w[e+1|0],w[e+2|0],w[e+3|0],w[f|0]);e=e+4|0;h=h+4|0;f=f+1|0;d=d-1|0;if(d){continue}break c}}if((g|0)==255){while(1){a=w[e+3|0];d:{if(!a){break d}b=w[e+2|0];c=w[e+1|0];f=w[e|0];if((a|0)==255){t[h+1|0]=c;t[h+2|0]=f;t[h+3|0]=255;t[h|0]=b;break d}g=f;f=w[h+2|0];t[h+2|0]=B(a,g-f|0)+(f<<8)>>>8;f=c;c=w[h+1|0];t[h+1|0]=B(a,f-c|0)+(c<<8)>>>8;c=w[h+3|0];t[h+3|0]=c+a-(B(a,c)+255>>>8);c=a;a=w[h|0];t[h|0]=B(c,b-a|0)+(a<<8)>>>8}e=e+4|0;h=h+4|0;d=d-1|0;if(d){continue}break c}}$J(h,w[e|0],w[e+1|0],w[e+2|0],w[e+3|0],g);f=d-1|0;if(!f){break c}while(1){h=h+4|0;$J(h,w[e+4|0],w[e+5|0],w[e+6|0],w[e+7|0],g);e=e+4|0;f=f-1|0;if(f){continue}break}}}function yt(a,b){var c=0;c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;v[a+8>>2]=v[b+8>>2];if((a|0)==(b|0)){c=v[b+36>>2];v[a+32>>2]=v[b+32>>2];v[a+36>>2]=c;c=v[b+28>>2];v[a+24>>2]=v[b+24>>2];v[a+28>>2]=c;c=v[b+68>>2];v[a+64>>2]=v[b+64>>2];v[a+68>>2]=c;c=v[b+76>>2];v[a+72>>2]=v[b+72>>2];v[a+76>>2]=c;v[a+80>>2]=v[b+80>>2];return}DB(a+12|0,v[b+12>>2],v[b+16>>2]);c=v[b+36>>2];v[a+32>>2]=v[b+32>>2];v[a+36>>2]=c;c=v[b+28>>2];v[a+24>>2]=v[b+24>>2];v[a+28>>2]=c;In(a+40|0,v[b+40>>2],v[b+44>>2]);In(a+52|0,v[b+52>>2],v[b+56>>2]);v[a+80>>2]=v[b+80>>2];c=v[b+76>>2];v[a+72>>2]=v[b+72>>2];v[a+76>>2]=c;c=v[b+68>>2];v[a+64>>2]=v[b+64>>2];v[a+68>>2]=c;Gw(a+84|0,v[b+84>>2],v[b+88>>2]);In(a+96|0,v[b+96>>2],v[b+100>>2]);In(a+108|0,v[b+108>>2],v[b+112>>2]);CB(a+120|0,v[b+120>>2],v[b+124>>2]);DB(a+132|0,v[b+132>>2],v[b+136>>2]);DB(a+144|0,v[b+144>>2],v[b+148>>2])}function WCa(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,n=0,o=0,p=0,q=0,r=0;b=v[b+84>>2];f=B(v[b+44>>2],u[c+22>>1]);g=v[d>>2]+e|0;a=v[a+332>>2]+128|0;h=B(v[b+32>>2],x[c+16>>1]);j=B(v[b>>2],x[c>>1]);i=(h+j|0)+4|0;k=B(v[b+40>>2],x[c+20>>1]);l=B(v[b+8>>2],x[c+4>>1]);m=k+l|0;n=i+m<<13;o=B(v[b+12>>2],u[c+6>>1]);p=o+f|0;q=B(v[b+36>>2],u[c+18>>1]);b=B(v[b+4>>2],u[c+2>>1]);c=q+b|0;r=B(p+c|0,4433);c=r+B(c,6270)|0;t[g|0]=w[a+(n+c>>>16&1023)|0];t[g+3|0]=w[a+(n-c>>>16&1023)|0];c=B(p,-15137)+r|0;i=i-m<<13;t[g+1|0]=w[a+(c+i>>>16&1023)|0];t[g+2|0]=w[a+(i-c>>>16&1023)|0];g=o-f|0;f=b-q|0;c=B(g+f|0,4433);b=v[d+4>>2]+e|0;d=c+B(f,6270)|0;e=(j-h|0)+4|0;f=l-k|0;h=e+f<<13;t[b|0]=w[a+(d+h>>>16&1023)|0];t[b+3|0]=w[a+(h-d>>>16&1023)|0];c=c+B(g,-15137)|0;d=e-f<<13;t[b+1|0]=w[a+(c+d>>>16&1023)|0];t[b+2|0]=w[a+(d-c>>>16&1023)|0]}function GWa(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;a:{if(!(w[a+288|0]|(w[a+286|0]|w[a+287|0]))){h=1029;break a}h=1029;if(w[a+300|0]|!w[a+293|0]){break a}h=1028;if(c&1){break a}f=c>>>1|0;if((f|0)!=v[a+332>>2]){break a}h=0;b:{if(!w[a+112|0]){break b}h=Qa[v[b+4>>2]](a,b,e)|0;if(h){break b}i=v[e>>2];v[i+32>>2]=f;h=0;if(c>>>0<2){break b}a=f>>>0>1?f:1;b=a&3;c:{if(a-1>>>0<3){a=0;break c}e=a&2147483644;a=0;c=i+36|0;while(1){f=a<<1;g=w[d|0]|w[d+1|0]<<8;u[f+c>>1]=g<<8|g>>>8;g=w[d+2|0]|w[d+3|0]<<8;u[c+(f|2)>>1]=g<<8|g>>>8;g=w[d+4|0]|w[d+5|0]<<8;u[c+(f|4)>>1]=g<<8|g>>>8;g=c+(f|6)|0;f=w[d+6|0]|w[d+7|0]<<8;u[g>>1]=f<<8|f>>>8;a=a+4|0;d=d+8|0;e=e-4|0;if(e){continue}break}}if(!b){break b}while(1){c=w[d|0]|w[d+1|0]<<8;u[((a<<1)+i|0)+36>>1]=c<<8|c>>>8;a=a+1|0;d=d+2|0;b=b-1|0;if(b){continue}break}}return h|0}ob(a,h,0,0);return h|0}function sw(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(a){b=u[a+56>>1];u[a+20>>1]=b+x[a+20>>1];c=x[a+22>>1];u[a+22>>1]=c+x[a+58>>1];i=v[a+48>>2]+v[a+84>>2]|0;v[a+48>>2]=i;a:{if((b|0)<1){break a}g=b&3;d=v[a+68>>2];if(b-1>>>0>=3){h=b&-4;while(1){b=f<<1;e=b+d|0;u[e>>1]=c+x[e>>1];e=d+(b|2)|0;u[e>>1]=c+x[e>>1];e=d+(b|4)|0;u[e>>1]=c+x[e>>1];b=d+(b|6)|0;u[b>>1]=c+x[b>>1];f=f+4|0;h=h-4|0;if(h){continue}break}}if(!g){break a}while(1){b=d+(f<<1)|0;u[b>>1]=c+x[b>>1];f=f+1|0;g=g-1|0;if(g){continue}break}}v[a+84>>2]=0;v[a+56>>2]=0;b=a;d=v[a+24>>2];if(d){c=d+(u[a+22>>1]<<3)|0}else{c=0}v[b+60>>2]=c;d=a- -64|0;c=v[a+28>>2];if(c){b=c+u[a+22>>1]|0}else{b=0}v[d>>2]=b;b=a;d=v[a+32>>2];if(d){c=d+(u[a+20>>1]<<1)|0}else{c=0}v[b+68>>2]=c;if(w[a+16|0]){c=u[a+22>>1]<<3;v[a+76>>2]=c+v[a+40>>2];v[a+80>>2]=c+v[a+44>>2]}b=a;a=v[a+52>>2];v[b+88>>2]=a?a+(i<<5)|0:0}}function iya(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=-1;a:{b:{if(!(!d|(!a|!b))){if(!c){v[b>>2]=0;v[d>>2]=0;return 0}f=c;i=a;g=v[d>>2];c:{if((g|0)<1){break c}l=v[b>>2]+a|0;k=c+g|0;g=c;while(1){e=t[g|0];h=e&255;f=0;d:{if((e|0)>-1){j=0;break d}f=e&255;if(f>>>0<=191){break a}if(f>>>0<=223){h=h&31;f=1;j=1;break d}e:{if(f>>>0<=239){j=2;h=h&15;break e}if(f>>>0>247){break b}j=3;h=h&7}f=1}e=g+1|0;if((k-e|0)<(j|0)){f=g;break c}m=f;f=e;f:{if(!(m&k>>>0>e>>>0)){break f}while(1){f=e+1|0;e=w[e|0];if((e&192)!=128){break f}h=e&63|h<<6;j=j-1|0;if(!j){break f}e=f;if(k>>>0>e>>>0){continue}break}}g:{if(h>>>0<=127){if(i>>>0>>0){break g}f=g;break c}break a}t[i|0]=h;i=i+1|0;g=f;if(k>>>0>g>>>0){continue}break}}v[b>>2]=i-a;v[d>>2]=f-c;e=v[b>>2]}return e|0}v[b>>2]=i-a;v[d>>2]=g-c;return-2}v[b>>2]=i-a;v[d>>2]=g-c;return-2}function gfa(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,j=0,k=0,l=0,m=0,n=0,o=0;l=Ma-32|0;Ma=l;a:{if((d|0)>=0){j=v[a+3312>>2];n=(c|0)<1;while(1){k=g;if(!n){g=w[k-1|0]|(w[e|0]<<8|w[e-1|0]<<9|w[e+1|0]<<7|w[f-2|0]<<6|w[f-1|0]<<5|w[f|0]<<4|w[f+1|0]<<3|w[f+2|0]<<2|w[k-2|0]<<1);h=0;while(1){o=h+k|0;i=(a+g|0)+240|0;m=v[((w[i|0]<<2)+j|0)+44>>2]+v[j+20>>2]|0;b:{if(m>>>0<=y[j+28>>2]){v[j+20>>2]=m;i=t[i|0]&1;break b}i=dg(j,i,m)}t[o|0]=i;g=i|g<<1&890|w[(f+h|0)+3|0]<<2|w[(e+h|0)+2|0]<<7;h=h+1|0;if((h|0)!=(c|0)){continue}break}}if(!v[b+20>>2]){Re(b)}e=d-1|0;c:{if(!((d|0)>=1&x[b+8>>1]>=(d|0))){g=x[b+12>>1];if(v[279246]<(g+x[b+14>>1]|0)){break a}g=g+v[279245]|0;break c}g=v[b+20>>2]+(x[b+12>>1]+B(e,x[b+14>>1])|0)|0}h=(d|0)>0;d=e;e=f;f=k;if(h){continue}break}}Bu(b);Ma=l+32|0;return}lb(mb(l+8|0,260021,271561,577,327329));L()}function JB(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=Ma-32|0;Ma=c;a:{if(!a|!b){break a}e=c+28|0;f=c+24|0;g=c+20|0;if(a){if(e){v[e>>2]=v[a>>2]}if(f){v[f>>2]=v[a+4>>2]}if(g){v[g>>2]=v[a+8>>2]}}f=v[c+28>>2];g=v[c+24>>2];b:{if(!b){break b}e=v[b>>2];if((e|0)>=(f|0)){break b}h=v[b+4>>2];if((e+v[b+8>>2]|0)<1|(g|0)<=(h|0)|(v[b+12>>2]+h|0)<1){break b}d=T2(b);b=v[d>>2];if((b|0)<=-1){v[d>>2]=0;v[d+8>>2]=b+v[d+8>>2];b=0}e=b;b=v[d+4>>2];if((b|0)<=-1){v[d+4>>2]=0;v[d+12>>2]=b+v[d+12>>2];b=0}if((f|0)<(e+v[d+8>>2]|0)){v[d+8>>2]=f-e}if((g|0)>=(b+v[d+12>>2]|0)){break b}v[d+12>>2]=g-b}v[c>>2]=d;if(!d){break a}Uq(d,c+16|0,c+12|0,c+8|0,c+4|0);b=Mg(v[c+8>>2],v[c+4>>2],v[c+20>>2]);if(!b){break a}if(!(!a|!b|(a|0)==(b|0))){v[b+20>>2]=v[a+20>>2];v[b+24>>2]=v[a+24>>2]}KB(b,a);fe(b,0,0,v[c+8>>2],v[c+4>>2],24,a,v[c+16>>2],v[c+12>>2]);pK(c);i=b}Ma=c+32|0;return i}function IVa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=v[a+428>>2];t[d+8|0]=w[b+32|0];c=v[b+36>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+9|0]=c;t[d+10|0]=c>>>8;t[d+11|0]=c>>>16;t[d+12|0]=c>>>24;h=d+8|0;c=w[b+40|0];a:{if(!c){f=5;break a}t[d+13|0]=c;c=v[b+44>>2];if(!(v[b+52>>2]|(c|0)!=1)){f=6;c=1;if(v[b+48>>2]==2147483647){break a}}c=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);t[d+14|0]=c;t[d+15|0]=c>>>8;t[d+16|0]=c>>>16;t[d+17|0]=c>>>24;c=v[b+48>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+18|0]=c;t[d+19|0]=c>>>8;t[d+20|0]=c>>>16;t[d+21|0]=c>>>24;f=v[b+52>>2];if(!f){f=14;break a}c=d+22|0;f=(f<<2)+14|0;d=v[b+56>>2];while(1){e=v[d>>2];e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);t[c|0]=e;t[c+1|0]=e>>>8;t[c+2|0]=e>>>16;t[c+3|0]=e>>>24;d=d+4|0;c=c+4|0;g=g+1|0;if(g>>>0>2]){continue}break}}return hd(a,v[b>>2],f,h)|0}function bDa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=v[b>>2]+1|0;a:{if(d>>>0>65535){break a}a=v[a+16>>2];i=a+518|0;j=a+6|0;while(1){b:{e=d>>>0>255;c:{d:{e:{if(!e){c=(d<<1&510)+j|0;a=i;if(!(w[c|0]<<8|w[c+1|0])){break e}break d}a=(d>>>7&33554430)+j|0;a=w[a|0]<<8|w[a+1|0]&248;if(!a){break d}a=a+i|0}c=a;a=w[c+1|0]|w[c|0]<<8;g=w[c+3|0]|w[c+2|0]<<8;f=d&255;h=w[c+6|0];k=w[c+7|0];l=w[c+4|0];m=w[c+5|0];if(!e){e=256;if(f>>>0>=a+g>>>0){break c}}h=h<<8|k;if(!h){if((d|0)!=256){break d}break b}e=(d&-256)+(a>>>0>f>>>0?a:f)|0;a=f-a|0;a=a>>>0>f>>>0?0:a;if(g>>>0>a>>>0){f=l<<8|m;d=c+6+(h+(a<<1))|0;while(1){c=w[d+1|0]|w[d|0]<<8;if(c){c=c+f&65535;if(c){break a}}d=d+2|0;e=e+1|0;a=a+1|0;if(g>>>0>a>>>0){continue}break}}d=e-((g|0)!=0)|0}e=d>>>0<256?d+1|0:d+256&-256}d=e;if(d>>>0<65536){continue}}break}e=0;c=0}v[b>>2]=e;return c|0}function N$a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;a:{b:{c:{d:{e:{b=v[v[a+512>>2]+88>>2];switch(w[b+45|0]){case 2:case 6:break c;case 3:break d;case 0:case 4:break e;default:break a}}c=w[b+44|0];if(c>>>0>=9){c=w[b+1155|0];break b}c=B(w[c+190188|0],w[b+1154|0]);break b}b=b+B(w[b+1152|0],3)|0;c=w[b+70|0];d=w[b+69|0];e=w[b+68|0];break a}e=x[b+1156>>1];if(w[b+44|0]>=9){e=(e&65280)>>>8|0;c=w[b+1161|0];d=w[b+1159|0];break a}c=w[b+1160|0];d=w[b+1158|0];break a}d=c;e=d}f=v[a+660>>2];g=v[a+656>>2];b=f-g|0;f:{if((b|0)<1){break f}a=v[a+644>>2];d=e&255|((d&255)<<8|(c&255)<<16);c=f-g&7;if(c){while(1){v[a>>2]=d;b=b-1|0;a=a+4|0;c=c-1|0;if(c){continue}break}}if((g^-1)+f>>>0<7){break f}while(1){v[a+28>>2]=d;v[a+24>>2]=d;v[a+20>>2]=d;v[a+16>>2]=d;v[a+12>>2]=d;v[a+8>>2]=d;v[a+4>>2]=d;v[a>>2]=d;a=a+32|0;c=(b|0)>8;b=b-8|0;if(c){continue}break}}return 0}function yw(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d=v[a+4>>2];f=v[a>>2];e=(d-f|0)/12|0;c=e+1|0;if(c>>>0<357913942){h=(v[a+8>>2]-f|0)/12|0;i=h<<1;c=h>>>0<178956970?c>>>0>i>>>0?c:i:357913941;if(c){if(c>>>0>=357913942){break c}g=ab(B(c,12))}h=B(c,12);c=B(e,12)+g|0;d:{if(t[b+11|0]>=0){e=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=e;v[c+8>>2]=v[b+8>>2];break d}vc(c,v[b>>2],v[b+4>>2]);d=v[a+4>>2];f=v[a>>2]}b=g+h|0;g=c+12|0;if((d|0)==(f|0)){break b}while(1){d=d-12|0;e=v[d+4>>2];c=c-12|0;v[c>>2]=v[d>>2];v[c+4>>2]=e;v[c+8>>2]=v[d+8>>2];v[d>>2]=0;v[d+4>>2]=0;v[d+8>>2]=0;if((d|0)!=(f|0)){continue}break}v[a+8>>2]=b;b=v[a+4>>2];v[a+4>>2]=g;d=v[a>>2];v[a>>2]=c;if((b|0)==(d|0)){break a}while(1){a=b-12|0;if(t[b-1|0]<=-1){$a(v[a>>2])}b=a;if((a|0)!=(d|0)){continue}break}break a}Jc();L()}Zd(273730);L()}v[a+8>>2]=b;v[a+4>>2]=g;v[a>>2]=c}if(d){$a(d)}}function vJ(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=Ma-16|0;Ma=c;v[c+12>>2]=b;v[c+8>>2]=a;Ma=c+16|0;b=c+8|0;a=0;a:{if(!b){break a}a=v[b+4>>2];b=v[b>>2];if(!b){b=a;a=a>>31;a=b+a^a;break a}if(!a){a=b>>31;a=a+b^a;break a}c=a>>31;d=c+a^c;c=b>>31;g=d|c+b^c;f=E(g);h=f-2|0;b:{if(g>>>0<=1073741823){a=a<>c;c=b>>c}b=0-c|0;c:{if((a|0)>(c|0)){d=(a|0)>(b|0);c=d?b:0-a|0;b=d?a:b;break c}d=(a|0)<(b|0);b=d?0-a|0:c;c=d?c:a}a=1;d=1;while(1){e=a+c>>d;d:{if((c|0)>=1){c=c-(a+b>>d)|0;b=b+e|0;break d}c=(a+b>>d)+c|0;b=b-e|0}a=a<<1;d=d+1|0;if((d|0)!=23){continue}break}a=b>>31;c=a+b^a;d=c&65535;a=B(d,56281);e=c>>>16|0;c=a+B(e,23318)|0;i=c<<16;d=i+B(d,23318)|0;a=(((B(e,56281)+(c>>>16|0)|0)+((a>>>0>c>>>0)<<16)|0)+(d>>>0>>0)|0)+(d>>>0>3221225471)|0;b=(b|0)<0?0-a|0:a;a=b+(1<>h;if(g>>>0<=536870911){break a}a=b<<2-f}return a}function El(a){var b=0,c=0,d=0,e=0;a:{c=w[a+7|0];if((c|0)!=255){b=v[a>>2];if(b>>>0<134217728){break a}c=c+1|0;t[a+7|0]=c;if((c&255)!=255){break a}v[a>>2]=b&134217727}d=a;b=v[a+8>>2];if((b|0)>=0){c=v[a+20>>2];b:{if((c|0)!=20480){b=v[a+16>>2];e=255;break b}e=a+16|0;b=v[a+12>>2];c=v[b+4>>2];c:{if((c|0)!=v[b+8>>2]){v[c>>2]=v[e>>2];v[b+4>>2]=c+4;break c}s3(b,e)}b=ab(20480);v[a+16>>2]=b;c=0;e=w[a+7|0]}v[a+20>>2]=c+1;t[b+c|0]=e;b=v[a+8>>2]}v[d+8>>2]=b+1;b=v[a>>2];t[a+7|0]=b>>>20;v[a>>2]=b&1048575;t[a+6|0]=7;return}d=v[a+8>>2];if((d|0)>=0){b=v[a+20>>2];d:{if((b|0)!=20480){d=v[a+16>>2];break d}c=a+16|0;b=v[a+12>>2];d=v[b+4>>2];e:{if((d|0)!=v[b+8>>2]){v[d>>2]=v[c>>2];v[b+4>>2]=d+4;break e}s3(b,c)}d=ab(20480);v[a+16>>2]=d;c=w[a+7|0];b=0}v[a+20>>2]=b+1;t[b+d|0]=c;d=v[a+8>>2];b=v[a>>2]}v[a+8>>2]=d+1;t[a+7|0]=b>>>19;v[a>>2]=b&524287;t[a+6|0]=8}function Wc(a,b,c,d,e){var f=0,g=0,h=0;f=Ma-32|0;Ma=f;xh(f,879336,b);b=kc(f,879344);v[f+24>>2]=v[b+8>>2];g=v[b+4>>2];v[f+16>>2]=v[b>>2];v[f+20>>2]=g;v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;b=w[f+27|0];g=b<<24>>24<0;bd(a,g?v[f+16>>2]:f+16|0,g?v[f+20>>2]:b);if(t[f+27|0]<=-1){$a(v[f+16>>2])}if(t[f+11|0]<=-1){$a(v[f>>2])}t[f+27|0]=1;b=f+16|0;rb(b,879352,1);v[f+20>>2]=0;h=b;b=t[f+27|0];g=(b|0)<0;bd(a,g?v[f+16>>2]:h,(g?0:b)&255);if(t[f+27|0]<=-1){$a(v[f+16>>2])}b=w[d+11|0];g=b<<24>>24<0;bd(a,g?v[d>>2]:d,g?v[d+4>>2]:b);b=f+16|0;rj(b,c);d=b;b=w[f+27|0];c=b<<24>>24<0;bd(a,c?v[f+16>>2]:d,c?v[f+20>>2]:b);if(t[f+27|0]<=-1){$a(v[f+16>>2])}b=w[e+11|0];c=b<<24>>24<0;bd(a,c?v[e>>2]:e,c?v[e+4>>2]:b);t[f+27|0]=1;b=f+16|0;rb(b,879352,1);v[f+20>>2]=0;c=a;d=b;a=t[f+27|0];b=(a|0)<0;bd(c,b?v[f+16>>2]:d,(b?0:a)&255);if(t[f+27|0]<=-1){$a(v[f+16>>2])}Ma=f+32|0}function Lp(a){var b=0,c=0,d=0,e=0,f=0,g=0;o(+a);e=j(1)|0;j(0)|0;b=e;e=b>>>31|0;a:{b:{c:{d:{d=a;e:{f:{b=b&2147483647;g:{if(b>>>0>=1082532651){o(+a);b=j(1)|0;b=b&2147483647;if((b|0)==2146435072&(j(0)|0)!=0|b>>>0>2146435072){return a}if(a>709.782712893384){return a*8.98846567431158e307}if(!(a<-708.3964185322641)|!(a<-745.1332191019411)){break g}break b}if(b>>>0<1071001155){break d}if(b>>>0<1072734898){break f}}a=a*1.4426950408889634+A[(e<<3)+994560>>3];if(D(a)<2147483648){b=~~a;break e}b=-2147483648;break e}b=!e-e|0}c=+(b|0);a=d+c*-.6931471803691238;f=c*1.9082149292705877e-10;d=a-f;break c}if(b>>>0<=1043333120){break a}b=0;d=a}c=d;g=a;c=c*c;a=d-c*(c*(c*(c*(c*4.1381367970572385e-8+-16533902205465252e-22)+6613756321437934e-20)+-.0027777777777015593)+.16666666666666602);c=g+(d*a/(2-a)-f)+1;if(!b){break b}c=Zk(c,b)}return c}return a+1}function C4(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;a:{if((c|0)<1){break a}f=c-1|0;i=d-8|0;j=d+7|0;c=0;if((d|0)<=15){k=16-d|0;while(1){g=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);h=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);g=c+d|0;h=h>>>32-g<>>8)&65535)>>>k<<2)+e|0;t[a|0]=w[h|0];t[a+1|0]=w[h+1|0];t[a+2|0]=w[h+2|0];b:{if((g|0)<8){c=g;break b}g=(c+j|0)-((g|0)<15?g:15)|0;c=(c+i|0)-(g&-8)|0;b=b+1+(g>>>3)|0}a=a+3|0;g=(f|0)>0;f=f-1|0;if(g){continue}break}break a}while(1){g=f;f=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);h=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=c+d|0;h=h>>>32-f|0;h=(((h<<8|(h&65280)>>>8)&65535)<<2)+e|0;t[a|0]=w[h|0];t[a+1|0]=w[h+1|0];t[a+2|0]=w[h+2|0];c:{if((f|0)>=8){f=(c+j|0)-((f|0)<15?f:15)|0;c=(c+i|0)-(f&-8)|0;b=b+1+(f>>>3)|0;break c}c=f}a=a+3|0;f=g-1|0;if((g|0)>=1){continue}break}}} -function UA(a,b,c){a:{switch(c-1|0){case 0:v[b>>2]=v[a+4>>2];return;case 1:v[b>>2]=v[a+4>>2]+v[a+12>>2];v[b+4>>2]=v[a+8>>2]+v[a+12>>2];return;case 2:v[b>>2]=v[a+4>>2]+(v[a+12>>2]+(v[a+20>>2]+v[a+28>>2]|0)|0);v[b+4>>2]=v[a+8>>2]+(v[a+12>>2]+(v[a+24>>2]+v[a+28>>2]|0)|0);v[b+8>>2]=v[a+16>>2]+(v[a+20>>2]+(v[a+24>>2]+v[a+28>>2]|0)|0);return;default:break a}}v[b>>2]=v[a+4>>2]+(v[a+12>>2]+(v[a+20>>2]+(v[a+28>>2]+(v[a+36>>2]+(v[a+44>>2]+(v[a+52>>2]+v[a+60>>2]|0)|0)|0)|0)|0)|0);v[b+4>>2]=v[a+8>>2]+(v[a+12>>2]+(v[a+24>>2]+(v[a+28>>2]+(v[a+40>>2]+(v[a+44>>2]+(v[a+56>>2]+v[a+60>>2]|0)|0)|0)|0)|0)|0);v[b+8>>2]=v[a+16>>2]+(v[a+20>>2]+(v[a+24>>2]+(v[a+28>>2]+(v[a+48>>2]+(v[a+52>>2]+(v[a+56>>2]+v[a+60>>2]|0)|0)|0)|0)|0)|0);v[b+12>>2]=v[a+32>>2]+(v[a+36>>2]+(v[a+40>>2]+(v[a+44>>2]+(v[a+48>>2]+(v[a+52>>2]+(v[a+56>>2]+v[a+60>>2]|0)|0)|0)|0)|0)|0)}function rL(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;g=Ma-16|0;Ma=g;e=v[a+408>>2];v[d>>2]=0;if(e){f=e;while(1){h=v[f+20>>2]+h|0;f=v[f>>2];if(f){continue}break}}a:{if(c>>>0<=h>>>0){if(!c){break a}f=v[e+20>>2];if(f>>>0<=c>>>0){while(1){i=cb(b,v[e+16>>2],f);h=v[e+20>>2];v[d>>2]=h+v[d>>2];f=v[e+20>>2];e=v[a+408>>2];b=v[e>>2];v[a+408>>2]=b;if(!b){v[a+412>>2]=0}c=c-f|0;b:{c:{if(!w[e+12|0]){break c}b=v[a+160>>2];if(!b){break c}Qa[b|0](a,v[e+4>>2],v[e+8>>2]);break b}b=v[e+4>>2];if(!b){break b}Qa[v[a+156>>2]](b,v[e+8>>2])}Qa[v[a+156>>2]](e,24);if(!c){break a}b=h+i|0;e=v[a+408>>2];f=v[e+20>>2];if(f>>>0<=c>>>0){continue}break}}cb(b,v[e+16>>2],c);v[e+20>>2]=v[e+20>>2]-c;v[e+16>>2]=v[e+16>>2]+c;v[d>>2]=v[d>>2]+c;break a}v[g+12>>2]=0;if(!(Qa[v[a+172>>2]](a,b,c,g+12|0)|0)){j=901;ob(a,901,0,0);break a}v[d>>2]=v[d>>2]+v[g+12>>2]}Ma=g+16|0;return j}function Sr(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=Ma-32|0;Ma=h;a:{b:{c:{d=v[a+8>>2];if((d|0)<1|v[a+12>>2]<1){break c}g=v[a+32>>2];if((g|0)<1|v[a+36>>2]<=0){break c}f=g;e=d;if(b|c){if((b|0)<1){break b}f=b;e=c;if((e|0)<=0){break b}}c=0;v[a+16>>2]=0;b=f<<1;if((e|0)>(b|0)){while(1){c=c+1|0;d=d+1>>1;f=b;b=b<<1;if((e|0)>(b|0)){continue}break}v[a+16>>2]=c}v[a+24>>2]=d;c=v[a+52>>2];if(!c){Sc(a+56|0,g,4);g=v[a+32>>2];d=v[a+24>>2];c=v[a+52>>2]}i=e<<4;a=((i+f|0)/(b|0)|0)-8|0;b=a;if((g|0)>=1){j=(d<<4)-16|0;e=(f|0)/2|0;d=0;b=a;while(1){v[(d<<2)+c>>2]=(b|0)<(j|0)?b:j;e=e+i|0;k=(e|0)/(f|0)|0;e=e-B(f,k)|0;b=b+k|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}if((f|0)==(g|0)&(a+i|0)!=(b|0)){break a}Ma=h+32|0;return}lb(mb(h+8|0,273611,241249,211,327649));L()}lb(mb(h+8|0,235381,241249,217,327649));L()}lb(mb(h+8|0,246116,241249,203,327989));L()}function Lea(a){a=a|0;var b=0,c=0,d=0;c=Ma-32|0;Ma=c;b=v[a+12>>2];Qa[v[v[b>>2]+24>>2]](b);v[a+24>>2]=0;v[c+8>>2]=0;b=v[a+16>>2];a:{if(!b){break a}d=c+16|0;Qa[v[v[b>>2]+76>>2]](d,b);jb(c+8|0,d);b=v[c+16>>2];v[c+16>>2]=0;if(!b){break a}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break a}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}d=a+16|0;vu(c+16|0,0,0,c+8|0);b=v[c+16>>2];b:{if(b){Qa[v[v[b>>2]+28>>2]](c+24|0,b,1);break b}v[c+24>>2]=0}jb(d,c+24|0);b=v[c+24>>2];v[c+24>>2]=0;c:{if(!b){break c}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break c}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}b=a;a=v[a+16>>2];v[b+20>>2]=v[(a?a+12|0:1117e3)>>2];db(c+16|0);a=v[c+8>>2];v[c+8>>2]=0;d:{if(!a){break d}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break d}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=c+32|0}function oZ(a,b,c,d){var e=0,f=0,g=0,h=0;f=1;a:{if(v[d>>2]>=1){if(!b|!w[b+17|0]){break a}c=v[b+4>>2];b:{if(c){c=c-1|0;v[b+4>>2]=c;if(c){break b}}if(w[b+16|0]){break b}c=v[v[b+20>>2]+8>>2];if(c){Qa[c|0](b)}c=v[b+8>>2];if(c){Gg(c)}Nd(b)}return a}if(!a){a=Fg(260);if(!a){v[d>>2]=7;a=0;if(!b|!w[b+17|0]){break a}a=v[b+4>>2];c:{if(a){a=a-1|0;v[b+4>>2]=a;if(a){break c}}if(w[b+16|0]){break c}a=v[v[b+20>>2]+8>>2];if(a){Qa[a|0](b)}a=v[b+8>>2];if(a){Gg(a)}Nd(b)}return 0}f=0}e=eb(a,0,260);v[e+24>>2]=b;t[e+33|0]=f;v[e+28>>2]=v[c+12>>2];if(!w[c+8|0]){v[e+4>>2]=2475;v[e+180>>2]=-1;v[e>>2]=2476;v[e+44>>2]=v[b+24>>2];f=v[b+12>>2];t[e+60|0]=w[f+71|0];t[e+66|0]=w[f+80|0];g=t[f+76|0];h=e+108|0;v[e+20>>2]=h;t[e+61|0]=g;cb(h,f+72|0,g);v[e+256>>2]=1}b=v[v[b+20>>2]+12>>2];if(!b){break a}Qa[b|0](e,c,d);if(w[c+8|0]|v[d>>2]<1){break a}Cq(e);a=0}return a}function lF(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;g=Ma-16|0;Ma=g;if((c|0)>=1){while(1){e=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=e;e=v[b+12>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=e;v[a+16>>2]=0;v[a+20>>2]=v[279250];f=a+16|0;e=v[b+16>>2];a:{if(e){Qa[v[v[e>>2]+28>>2]](g+8|0,e,1);break a}v[g+8>>2]=0}jb(f,g+8|0);e=v[g+8>>2];v[g+8>>2]=0;b:{if(!e){break b}f=v[e+4>>2]-1|0;v[e+4>>2]=f;if(f){break b}f=v[e+4>>2];if(!f){v[e+4>>2]=-32767}if(!f){Qa[v[v[e>>2]+4>>2]](e)}}e=v[a+16>>2];v[a+20>>2]=v[(e?e+12|0:1117e3)>>2];e=a;f=v[b+24>>2];if(f){v[f+4>>2]=v[f+4>>2]+1;f=v[b+24>>2]}else{f=0}v[e+24>>2]=f;if(d){f=b+16|0;e=v[b+24>>2];v[b+24>>2]=0;c:{if(!e){break c}h=v[e+4>>2]-1|0;v[e+4>>2]=h;if(h){break c}h=v[e+4>>2];if(!h){v[e+4>>2]=-32767}if(!h){Qa[v[v[e>>2]+4>>2]](e)}}db(f)}b=b+28|0;a=a+28|0;e=(c|0)>1;c=c-1|0;if(e){continue}break}}Ma=g+16|0}function If(a){var b=0,c=0,d=0,e=0,f=0,g=0;f=v[a+4>>2];b=v[a+12>>2];c=v[b>>2];e=v[c>>2];v[a+4>>2]=e;g=v[c+4>>2];v[b>>2]=v[c+(f>>>0>>0?8:12)>>2];c=v[a+8>>2];while(1){a:{if(c){b=v[a>>2];break a}b:{c:{d:{e:{if(!v[a+32>>2]){d=v[a+24>>2];c=v[d+8>>2];if(c&7){break e}b=v[d+64>>2];if(!((b|0)<0|v[d+60>>2]<(b|0))){v[d+8>>2]=c|4;break e}b=v[d+28>>2];v[d+28>>2]=b-1;f:{if((b|0)>=1){v[d+60>>2]=v[d+60>>2]+1;b=v[d+24>>2];v[d+24>>2]=b+1;b=w[b|0];break f}b=Eb(d,1);if((b|0)==-1){break e}}c=w[a+28|0];t[a+28|0]=b;if((c|0)!=255){break d}if((b|0)>=144){break c}b=v[a>>2]+(b<<9)|0;c=7;break a}b=v[a>>2]+65280|0;break b}v[a+32>>2]=1;c=w[a+28|0];b=255;t[a+28|0]=255;if((c|0)==255){break c}}c=8;b=v[a>>2]+(b<<8)|0;break a}b=v[a>>2]+65280|0}c=8}c=c-1|0;v[a+8>>2]=c;v[a>>2]=b<<1;b=v[a+4>>2];v[a+4>>2]=b<<1;if(!(b&16384)){continue}break}return f>>>0>=e>>>0^g}function wA(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=b+c|0;t[g|0]=0;e=(c<<10)+a|0;while(1){f=v[e+(d<<2)>>2];i=f>>>24&127;h=i+b|0;if(w[h|0]==255){wA(a,b,i)}a:{b:{if((f|0)>=0){if(t[h|0]<=-1){break b}break a}if((f&14680064)>>>0<6291456){break a}}if((d|0)==255){t[g|0]=192;return}d=d+1|0;continue}break}e=w[g|0]|d>>>2&1073741816;t[g|0]=e;f=255;k=g;if(d>>>0<=254){i=(c<<10)+a|0;c:{while(1){e=v[i+(f<<2)>>2];h=e>>>24&127;j=h+b|0;if(w[j|0]==255){wA(a,b,h)}d:{if((e|0)>=0){if(t[j|0]<=-1){break d}break c}if((e&14680064)>>>0<6291456){break c}}f=f-1|0;if(f>>>0>d>>>0){continue}break}f=d}e=w[g|0]}t[k|0]=e|f>>>5;if((d|0)<=(f|0)){i=(c<<10)+a|0;while(1){c=d;d=v[i+(d<<2)>>2];h=d>>>24&127;e=h+b|0;if(w[e|0]==255){wA(a,b,h)}e:{if((d|0)>-1){break e}t[e|0]=w[e|0]|64;if(d&12582912){break e}t[g|0]=w[g|0]|64}d=c+1|0;if((c|0)!=(f|0)){continue}break}}}function oM(a,b,c){var d=0,e=0,f=0,g=0;d=Ma-16|0;Ma=d;g=-1;e=sp(a,1800688195);a:{if(!e|v[e+4>>2]!=1668641398){break a}a=gb(152);if(!a){break a}v[a+4>>2]=1015512;v[a+8>>2]=0;v[a+12>>2]=0;eb(a+16|0,0,136);v[a>>2]=1;f=Di();if(!f){break a}if(Ll(f,-1,a)){break a}v[a+24>>2]=1;v[a+28>>2]=1;v[a+16>>2]=1;v[a+8>>2]=1;v[a+12>>2]=3;b:{if(!b){v[a+120>>2]=-1353773692;v[a+124>>2]=1072326036;v[a+88>>2]=0;v[a+92>>2]=1072693248;v[a+56>>2]=-178670640;v[a+60>>2]=1072618169;v[a+20>>2]=0;if(!Tn(a+32|0,e+12|0)){break b}break a}v[a+120>>2]=1252199824;v[a+124>>2]=1072915827;v[a+88>>2]=0;v[a+92>>2]=1072693248;v[a+56>>2]=-791998740;v[a+60>>2]=1072732180;v[a+20>>2]=1;v[d+8>>2]=0;v[d+12>>2]=0;if(Tn(d+8|0,e+12|0)){break a}if(dx(a+32|0,d+8|0,v[d+12>>2])){break a}b=v[d+8>>2];if(b){$a(b);v[d+8>>2]=0}v[d+12>>2]=0}ei(e);lM(a);v[c>>2]=f;g=0}Ma=d+16|0;return g}function VK(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;if(c){e=B(d,48828125)+1|0;v[290072]=e;d=B(e,48828125)+1|0;v[290073]=d;c=B(d,48828125)+1|0;v[290074]=c;f=B(c,97656250);c=c^e;f=(f|c>>>31)+2|0;v[290075]=f;g=c<<1|(d^f)>>>31;v[290076]=g;h=4;c=5;while(1){i=c<<2;j=(d^f)<<1;d=v[(h<<2)+1160280>>2]^g;f=j|d>>>31;v[i+1160288>>2]=f;h=c+1|0;g=d<<1;d=v[i+1160280>>2];g=g|(j^d)>>>31;v[(h<<2)+1160288>>2]=g;c=c+2|0;if((c|0)!=127){continue}break}v[290200]=1;v[290072]=e<<8&16711680|e<<24|(e>>>8&65280|e>>>24);c=1;while(1){e=(c<<2)+1160288|0;d=v[e>>2];v[e>>2]=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);c=c+1|0;v[290200]=c;if((c|0)!=127){continue}break}}if(b){c=v[290200];while(1){e=((c&127)<<2)+1160288|0;d=v[((c+65&127)<<2)+1160288>>2];c=c+1|0;d=d^v[((c&127)<<2)+1160288>>2];v[e>>2]=d;v[a>>2]=d^v[a>>2];a=a+4|0;b=b-1|0;if(b){continue}break}v[290200]=c}}function UR(a,b){var c=0,d=0,e=0,f=0,g=0;d=Ma-48|0;Ma=d;a:{if(w[a+144|0]){c=d+16|0;th(c,v[a+108>>2]);v[d+8>>2]=0;v[d+12>>2]=v[279250];Ve(d,c);f=v[d>>2];if(!Ad(f,d+8|0,0)){break a}e=v[a+140>>2];c=v[a+132>>2]>1?e:-1;b:{if(c){e=c;c:{while(1){if(!Ad(f,d+8|0,0)){break c}if(!ld(d+8|0,b,-1)){b=1;break b}eo(f);g=g+1|0;e=e-1|0;if(e){continue}break}g=c}e=v[a+140>>2]}b=0;if((e|0)>-1){break b}v[a+140>>2]=g}vk(v[a+108>>2]);a=v[d>>2];v[d>>2]=0;d:{if(!a){break d}c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(c){break d}c=v[a+4>>2];if(!c){v[a+4>>2]=-32767}if(!c){Qa[v[v[a>>2]+4>>2]](a)}}db(d+8|0);a=v[d+16>>2];v[d+16>>2]=0;e:{if(!a){break e}c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(c){break e}c=v[a+4>>2];if(!c){v[a+4>>2]=-32767}if(!c){Qa[v[v[a>>2]+4>>2]](a)}}Ma=d+48|0;return b}lb(mb(d+24|0,231556,241865,164,226745));L()}lb(mb(d+24|0,v[279242],241865,2145,334584));L()}function B3(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;e=Ma-32|0;Ma=e;u[e+28>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],e+28|0,1,2)|0;f=w[e+28|0];if(x[a+25204>>1]==18761){f=f|w[e+29|0]<<8}else{f=w[e+29|0]|f<<8}h=f&65535;if(h){while(1){Ft(a,b,e+24|0,e+20|0,e+16|0,e+12|0);j=v[e+24>>2];if((j|0)==(c|0)){v[e+28>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],e+28|0,1,4)|0;g=w[e+28|0];f=a;i=a;if(x[a+25204>>1]==18761){g=g|w[e+29|0]<<8|w[e+30|0]<<16|w[e+31|0]<<24}else{g=w[e+31|0]|(w[e+29|0]<<16|g<<24|w[e+30|0]<<8)}v[i+26056>>2]=g+b;v[f+26060>>2]=0}h=h-1|0;if((d|0)==(j|0)){v[e+28>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],e+28|0,1,4)|0;g=w[e+28|0];f=a;if(x[a+25204>>1]==18761){i=g|w[e+29|0]<<8|w[e+30|0]<<16|w[e+31|0]<<24}else{i=w[e+31|0]|(w[e+29|0]<<16|g<<24|w[e+30|0]<<8)}v[f+26080>>2]=i}Qa[v[v[a>>2]+8>>2]](v[a+4>>2],v[e+12>>2],0)|0;if(h){continue}break}}Ma=e+32|0}function uc(a,b){var c=0,d=0,e=0,f=0;d=Ma-16|0;Ma=d;c=v[a+272>>2];a:{if(c>>>0>=b>>>0){break a}e=v[a+268>>2];Ye(a,e,c);gc(a,e,c);b=b-c|0;if(c>>>0>=b>>>0){break a}while(1){e=v[a+268>>2];f=v[a+272>>2];Ye(a,e,f);gc(a,e,f);b=b-c|0;if(c>>>0>>0){continue}break}}if(b){c=v[a+268>>2];Ye(a,c,b);gc(a,c,b)}b=v[a+204>>2];b:{c:{d:{if(w[a+351|0]&32){v[a+744>>2]=129;Ye(a,d+12|0,4);if((b&768)==768){break d}break c}v[a+744>>2]=129;Ye(a,d+12|0,4);if(!(b&2048)){break c}}b=0;break b}b=0;c=w[d+12|0]|w[d+13|0]<<8|(w[d+14|0]<<16|w[d+15|0]<<24);if(v[a+384>>2]==(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))){break b}c=v[a+204>>2];e:{f:{if(w[a+351|0]&32){if(!(c&512)){break f}break e}if(!(c&1024)){break e}}uU(a,12985);b=1;break b}c=Ma-96|0;Ma=c;g:{if(w[a+206|0]&128){fG(v[a+348>>2],c,12985);Db(a,c);Ma=c+96|0;break g}dv(a,12985);L()}}Ma=d+16|0;return b}function VYa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=v[a+636>>2]+v[a+616>>2]|0;b=v[a+644>>2];a:{b:{d=v[a+540>>2];if(!d){d=v[v[a+528>>2]+88>>2]}if(w[d+56|0]){if(v[a+588>>2]>0){while(1){if(!e){c=w[g|0];f=7;e=128;g=g+1|0}i=(e&c)>>>f|0;if(i>>>0>=y[d+64>>2]){break b}h=B(i,3)+d|0;t[b|0]=w[h+68|0];t[b+1|0]=w[h+69|0];t[b+2|0]=w[h+70|0];t[b+3|0]=i>>>0>2]?w[(d+i|0)+848|0]:255;f=f-1|0;b=b+4|0;e=(e&254)>>>1|0;j=j+1|0;if((j|0)>2]){continue}break}}t[a+649|0]=0;return 0}if(v[a+588>>2]>0){while(1){if(!e){j=w[g|0];f=7;e=128;g=g+1|0}c=(e&j)>>>f|0;if(c>>>0>=y[d+64>>2]){break a}c=B(c,3)+d|0;t[b|0]=w[c+68|0];t[b+1|0]=w[c+69|0];c=w[c+70|0];t[b+3|0]=255;t[b+2|0]=c;f=f-1|0;b=b+4|0;e=(e&254)>>>1|0;h=h+1|0;if((h|0)>2]){continue}break}}t[a+649|0]=1;return 0}ob(a,1042,0,0);return 1042}ob(a,1042,0,0);return 1042}function UYa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=v[a+636>>2]+v[a+616>>2]|0;b=v[a+644>>2];a:{b:{d=v[a+540>>2];if(!d){d=v[v[a+528>>2]+88>>2]}if(w[d+56|0]){if(v[a+588>>2]>0){while(1){if(!e){c=w[g|0];f=6;e=192;g=g+1|0}i=(e&c)>>>f|0;if(i>>>0>=y[d+64>>2]){break b}h=B(i,3)+d|0;t[b|0]=w[h+68|0];t[b+1|0]=w[h+69|0];t[b+2|0]=w[h+70|0];t[b+3|0]=i>>>0>2]?w[(d+i|0)+848|0]:255;f=f-2|0;b=b+4|0;e=(e&252)>>>2|0;j=j+1|0;if((j|0)>2]){continue}break}}t[a+649|0]=0;return 0}if(v[a+588>>2]>0){while(1){if(!e){j=w[g|0];f=6;e=192;g=g+1|0}c=(e&j)>>>f|0;if(c>>>0>=y[d+64>>2]){break a}c=B(c,3)+d|0;t[b|0]=w[c+68|0];t[b+1|0]=w[c+69|0];c=w[c+70|0];t[b+3|0]=255;t[b+2|0]=c;f=f-2|0;b=b+4|0;e=(e&252)>>>2|0;h=h+1|0;if((h|0)>2]){continue}break}}t[a+649|0]=1;return 0}ob(a,1042,0,0);return 1042}ob(a,1042,0,0);return 1042}function TYa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=v[a+636>>2]+v[a+616>>2]|0;b=v[a+644>>2];a:{b:{d=v[a+540>>2];if(!d){d=v[v[a+528>>2]+88>>2]}if(w[d+56|0]){if(v[a+588>>2]>0){while(1){if(!e){c=w[g|0];f=4;e=240;g=g+1|0}i=(e&c)>>>f|0;if(i>>>0>=y[d+64>>2]){break b}h=B(i,3)+d|0;t[b|0]=w[h+68|0];t[b+1|0]=w[h+69|0];t[b+2|0]=w[h+70|0];t[b+3|0]=i>>>0>2]?w[(d+i|0)+848|0]:255;f=f-4|0;b=b+4|0;e=(e&240)>>>4|0;j=j+1|0;if((j|0)>2]){continue}break}}t[a+649|0]=0;return 0}if(v[a+588>>2]>0){while(1){if(!e){j=w[g|0];f=4;e=240;g=g+1|0}c=(e&j)>>>f|0;if(c>>>0>=y[d+64>>2]){break a}c=B(c,3)+d|0;t[b|0]=w[c+68|0];t[b+1|0]=w[c+69|0];c=w[c+70|0];t[b+3|0]=255;t[b+2|0]=c;f=f-4|0;b=b+4|0;e=(e&240)>>>4|0;h=h+1|0;if((h|0)>2]){continue}break}}t[a+649|0]=1;return 0}ob(a,1042,0,0);return 1042}ob(a,1042,0,0);return 1042}function HK(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=v[v[e>>2]+12>>2];i=v[c>>2];k=v[v[f+(i<<2)>>2]+4>>2];e=v[b>>2];j=v[v[(e<<2)+f>>2]+4>>2];g=v[a>>2];l=v[(g<<2)+f>>2];a:{if(j>>>0>=y[l+4>>2]){if(k>>>0>=j>>>0){e=i;break a}v[b>>2]=i;v[c>>2]=e;h=1;g=v[b>>2];i=v[a>>2];if(y[v[(g<<2)+f>>2]+4>>2]>=y[v[(i<<2)+f>>2]+4>>2]){break a}v[a>>2]=g;v[b>>2]=i;e=v[c>>2];h=2;break a}b:{if(k>>>0>>0){v[a>>2]=i;v[c>>2]=g;h=1;break b}v[a>>2]=e;v[b>>2]=g;h=2;e=v[c>>2];if(y[v[(e<<2)+f>>2]+4>>2]>=y[l+4>>2]){h=1;break a}v[b>>2]=e;v[c>>2]=g}e=g}g=v[d>>2];if(y[v[(g<<2)+f>>2]+4>>2]>2]+4>>2]){v[c>>2]=g;v[d>>2]=e;d=v[c>>2];e=v[b>>2];if(y[v[(d<<2)+f>>2]+4>>2]>=y[v[(e<<2)+f>>2]+4>>2]){return h+1|0}v[b>>2]=d;v[c>>2]=e;c=v[b>>2];d=v[a>>2];if(y[v[(c<<2)+f>>2]+4>>2]>=y[v[(d<<2)+f>>2]+4>>2]){return h+2|0}v[a>>2]=c;v[b>>2]=d;h=h+3|0}return h}function yY(a,b){var c=0,d=0,e=0,f=0,g=0;e=-2;a:{if(!a|!v[a+32>>2]){break a}d=v[a+36>>2];if(!d){break a}c=v[a+28>>2];if(!c|v[c>>2]!=(a|0)|v[c+4>>2]-16180>>>0>31){break a}if((b|0)<=-1){b=0-b|0}else{f=(b>>>4|0)+5|0;b=(b|0)<48?b&15:b}if((b&-8)!=8?b:0){break a}g=v[c+56>>2];b:{if(!(v[c+40>>2]!=(b|0)?g:0)){v[c+40>>2]=b;v[c+12>>2]=f;break b}Qa[d|0](v[a+40>>2],g);v[c+56>>2]=0;d=v[a+32>>2];v[c+40>>2]=b;v[c+12>>2]=f;if(!d){break a}}if(!v[a+36>>2]){break a}b=v[a+28>>2];if(!b|v[b>>2]!=(a|0)|v[b+4>>2]-16180>>>0>31){break a}e=0;v[b+52>>2]=0;v[b+44>>2]=0;v[b+48>>2]=0;v[b+32>>2]=0;v[a+8>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;c=v[b+12>>2];if(c){v[a+48>>2]=c&1}v[b+60>>2]=0;v[b+64>>2]=0;v[b+36>>2]=0;v[b+24>>2]=32768;v[b+16>>2]=0;v[b+4>>2]=16180;v[b+8>>2]=0;v[b+7108>>2]=1;v[b+7112>>2]=-1;a=b+1332|0;v[b+112>>2]=a;v[b+84>>2]=a;v[b+80>>2]=a}return e}function IR(a,b){var c=0,d=0,e=0,f=0,g=0;c=Ma-48|0;Ma=c;v[a+32>>2]=0;v[a+24>>2]=-1717986918;v[a+28>>2]=1073846681;v[a+16>>2]=26;v[a+20>>2]=300;v[a+8>>2]=0;v[a+12>>2]=0;a:{b=em(b,c+38|0,10);if(b){if((b|0)<=4){break a}v[a+8>>2]=w[c+39|0]|w[c+38|0]<<8;v[a+12>>2]=w[c+41|0]|w[c+40|0]<<8;d=w[c+42|0];v[a+16>>2]=d;b:{if((b|0)==5){break b}f=w[c+43|0];if((f|0)==255){break b}v[a+16>>2]=d|f<<8}c:{if((b|0)<8){break c}d=w[c+45|0];if((d|0)==255){break c}v[a+20>>2]=w[c+44|0]|d<<8}d:{if((b|0)>=9){e=+w[c+46|0]*.1;A[a+24>>3]=e;break d}e=A[a+24>>3]}g=.3;e:{if(!(e<.3)){g=5;if(!(e>5)){break e}}A[a+24>>3]=g}d=w[c+47|0];if(v[a+20>>2]-25>>>0>=5976){v[a+20>>2]=300}b=((b|0)>9?d+3|0:3)&7;if(b>>>0<=5){b=v[(b<<2)+972176>>2]}else{b=0}v[a+32>>2]=b;Ma=c+48|0;return}lb(mb(c+8|0,v[279242],241458,120,334548));L()}lb(mb(c+8|0,280394,241458,122,334548));L()}function YYa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=v[a+636>>2]+v[a+616>>2]|0;c=v[a+644>>2];a:{b:{c:{e=v[a+540>>2];if(!e){e=v[v[a+528>>2]+88>>2]}if(w[e+56|0]){if(v[a+588>>2]>0){break c}break a}e=0;if(v[a+588>>2]>0){break b}f=1;break a}while(1){b=w[d|0]|w[d+1|0]<<8;g=(b<<8|b>>>8)&65535;h=x[e+836>>1];b=(h|0)==(g|0)?0:g;i=b<<8|b>>>8;t[c|0]=i;t[c+1|0]=i>>>8;b=b<<8|b>>>8;t[c+2|0]=b;t[c+3|0]=b>>>8;t[c+4|0]=b;t[c+5|0]=b>>>8;b=(g|0)!=(h|0)?65535:0;b=b<<8|b>>>8;t[c+6|0]=b;t[c+7|0]=b>>>8;d=d+2|0;c=c+8|0;j=j+1|0;if((j|0)>2]){continue}break}break a}while(1){b=w[d|0]|w[d+1|0]<<8;b=(b<<8|b>>>8)&65535;f=b<<8|b>>>8;t[c|0]=f;t[c+1|0]=f>>>8;b=b<<8|b>>>8;t[c+2|0]=b;t[c+3|0]=b>>>8;t[c+4|0]=b;t[c+5|0]=b>>>8;t[c+6|0]=255;t[c+7|0]=255;d=d+2|0;c=c+8|0;f=1;e=e+1|0;if((e|0)>2]){continue}break}}t[a+649|0]=f;return 0}function YBa(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;i=v[a+872>>2];if(!i){return 0}f=v[e+8>>2];a:{b:{if(f){g=v[e>>2];b=v[e+4>>2];break b}f=0;v[e+4>>2]=0;g=x[i+2>>1];if(!g){break a}g=g-1|0;l=v[i+8>>2]+2|0;c:{while(1){k=((g-f|0)/2|0)+f|0;h=B(k,6)+l|0;j=h-2|0;j=w[j|0]<<8|w[j+1|0];d:{if(j>>>0>>0){f=k+1|0;break d}if(b>>>0>=j>>>0){break c}g=k-1|0}if((f|0)<=(g|0)){continue}break}return 0}f=0;b=w[h+2|0]|w[h+3|0]<<8;g=(b<<8|b>>>8)&65535;if(!g){break a}b=w[h+1|0];h=w[h|0];v[e>>2]=g;b=b|h<<8;if(y[i+20>>2]>>0){break a}f=v[i+12>>2]+(b<<2)|0;v[e+8>>2]=f;b=0}if(b>>>0>=g>>>0){return 0}v[e+8>>2]=f+2;v[c>>2]=w[f+1|0]|w[f|0]<<8;v[e+8>>2]=f+4;b=w[f+3|0]|w[f+2|0]<<8;v[d>>2]=b;if(y[c>>2]>=y[a+16>>2]){return 0}if((b|0)!=65535){f=0;if(b>>>0>=x[a+660>>1]){break a}}f=1;v[e+4>>2]=v[e+4>>2]+1}return f|0}function Xoa(a){a=a|0;var b=0,c=0,d=0,e=0;e=Ma-32|0;Ma=e;b=v[a+8>>2];if((b|0)==-1){a:{if(v[a+12>>2]){b=-1;break a}while(1){b=v[a+4>>2];c=Qa[v[v[b>>2]+28>>2]](b)|0;if((c|0)==32|c-9>>>0<5){continue}break}if((c|0)==62){v[a+12>>2]=1;b=-1;break a}while(1){b=v[a+4>>2];d=Qa[v[v[b>>2]+28>>2]](b)|0;if((d|0)==32|d-9>>>0<5){continue}break}if((d|0)==62){v[a+12>>2]=1;d=48}b=(c<<4)-768|0;b:{if(c-48>>>0<=9){break b}b=(c<<4)-880|0;if(c-65>>>0<=5){break b}b=(c<<4)-1392|0;if(c-97>>>0<=5){break b}c:{if((c|0)==-1){v[a+12>>2]=1;break c}b=Qa[v[v[a>>2]+52>>2]](a)|0;v[e+16>>2]=c;fb(1,b,255926,e+16|0)}b=0}c=d-48|0;if(c>>>0<=9){b=b+c|0;break a}if(d-65>>>0<=5){b=(b+d|0)-55|0;break a}if(d-97>>>0<=5){b=(b+d|0)-87|0;break a}if((d|0)==-1){v[a+12>>2]=1;b=0;break a}c=Qa[v[v[a>>2]+52>>2]](a)|0;v[e>>2]=d;fb(1,c,255926,e)}v[a+8>>2]=b}Ma=e+32|0;return b|0}function lWa(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;a:{b:{if(w[a+286|0]|!w[a+285|0]|(w[a+287|0]|w[a+288|0])){break b}if(w[a+289|0]){break b}if(!c){ob(a,1028,0,0);return 1028}i=c+1|0;g=Qa[v[a+152>>2]](i)|0;if(!g){break a}h=cb(g,d,c);g=h;while(1){f=g;g=f+1|0;if(w[f|0]){continue}break}j=h;c:{d:{e:{k=c+h|0;if(k>>>0<=f>>>0){break e}while(1){l=T3(a,j);j=f+1|0;g=j;while(1){f=g;g=f+1|0;if(w[f|0]){continue}break}if(f>>>0>>0?l:0){continue}break}if(l){break e}Qa[v[a+156>>2]](h,i);break d}g=T3(a,j);Qa[v[a+156>>2]](h,i);if(g){break c}}ob(a,1062,0,0);return 1062}f=0;f:{if(!w[a+112|0]){break f}f=Qa[v[b+4>>2]](a,b,e)|0;if(f){break f}v[v[e>>2]+32>>2]=c;b=Qa[v[a+152>>2]](i)|0;v[v[e>>2]+36>>2]=b;b=v[v[e>>2]+36>>2];if(!b){break a}cb(b,d,c);f=0}return f|0}ob(a,1029,0,0);return 1029}ob(a,1,0,0);return 1}function ACa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=a+16|0;if(c>>>0>y[b+160>>2]){$c(b,8)}d=w[a+12|0]|w[a+13|0]<<8|(w[a+14|0]<<16|w[a+15|0]<<24);g=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);d=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);if(!(!(d>>>0<16|d>>>0>v[b+160>>2]-a>>>0)&(d-16>>>0)/12>>>0>=g>>>0)){$c(b,8)}if(g){a=0;while(1){d=a;f=w[c+8|0]|w[c+9|0]<<8|(w[c+10|0]<<16|w[c+11|0]<<24);a=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);e=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(a>>>0>>0){$c(b,8)}if(!(!h|d>>>0>>0)){$c(b,8)}if(!(!v[b+164>>2]|y[b+172>>2]>(f<<8&16711680|f<<24|(f>>>8&65280|f>>>24))>>>0)){$c(b,16)}c=c+12|0;h=h+1|0;if((h|0)!=(g|0)){continue}break}}return 0}function yU(a,b,c){var d=0,e=0,f=0;d=Ma+-64|0;Ma=d;v[d+48>>2]=13;v[d+32>>2]=13;v[d+16>>2]=13;v[d>>2]=13;ib(v[b+8>>2],239175,d+48|0,c);if(v[d+48>>2]==5){e=d+48|0;bb(e);ib(v[b+8>>2],311732,e,c)}ib(v[b+8>>2],235620,d+16|0,c);if(v[d+16>>2]==5){e=d+16|0;bb(e);ib(v[b+8>>2],310595,e,c)}e=a;a:{b:{switch(v[d+48>>2]-4|0){case 2:b=0;f=v[d+56>>2];if(v[f+12>>2]<=0){break a}while(1){ub(f,b,d+32|0,c);c:{if(v[d+16>>2]==6){ub(v[d+24>>2],b,d,c);break c}v[d>>2]=5}d:{if(v[d+32>>2]==4){e=xU(a,v[d+40>>2],e,d,c);break d}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,279908,0);f=ab(8);v[f>>2]=958612;v[f+4>>2]=e;e=f}bb(d+32|0);bb(d);b=b+1|0;f=v[d+56>>2];if((b|0)>2]){continue}break};break a;default:fb(1,Qa[v[v[e>>2]+52>>2]](e)|0,256799,0);break a;case 1:break a;case 0:break b}}e=xU(e,v[d+56>>2],e,d+16|0,c)}bb(d+48|0);bb(d+16|0);Ma=d- -64|0;return e}function _q(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=v[a+572>>2]+v[a+576>>2]|0;v[a+572>>2]=c;a:{b=t[a+568|0];if((b|0)<0|(b|0)>6){break a}while(1){f=v[a+320>>2];if(v[a+580>>2]>2]&(f|0)>(c|0)){break a}d=b+1|0;t[a+568|0]=d;if(b<<24>>24>5){break a}b=d<<24>>24<<2;v[a+584>>2]=v[b+190304>>2];e=v[b+190272>>2];v[a+580>>2]=e;v[a+576>>2]=v[b+190240>>2];g=v[b+190208>>2];v[a+572>>2]=g;h=v[a+316>>2];c=v[b+190336>>2]+(h-e|0)>>>v[b+190368>>2]|0;v[a+588>>2]=c;b=v[a+592>>2];b:{if((b|0)>=2){c=B(b,c);break b}b=v[a+600>>2];if((b|0)<1){break b}c=v[a+596>>2]+c>>b}v[a+604>>2]=c;if((f|0)<=(g|0)){b=d;c=v[a+572>>2];continue}if((e|0)>=(h|0)){b=d;c=v[a+572>>2];continue}b=d;if((c|0)>=1){c=v[a+640>>2];b=0;while(1){t[c|0]=0;c=c+1|0;b=b+1|0;if((b|0)>2]){continue}break}b=t[a+568|0];if((b|0)>6){break a}}c=v[a+572>>2];continue}}return 0}function SS(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=Ma-16|0;Ma=e;f=Bd(b);c=v[v[a+12>>2]+((f>>>0)%y[a+8>>2]<<2)>>2];a:{if(c){while(1){if((f|0)==v[c+12>>2]){if(!ld(c+16|0,b,-1)){break a}}c=v[c+8>>2];if(c){continue}break}}c=ab(40);v[c>>2]=0;v[c+4>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;f=c+16|0;d=f;v[d>>2]=0;v[d+4>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c+20>>2]=v[279250];b=v[b>>2];b:{if(b){Qa[v[v[b>>2]+28>>2]](e+8|0,b,1);break b}v[e+8>>2]=0}jb(f,e+8|0);b=v[e+8>>2];v[e+8>>2]=0;c:{if(!b){break c}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break c}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}b=v[c+16>>2];b=v[(b?b+12|0:1117e3)>>2];v[c+24>>2]=0;v[c+28>>2]=0;v[c+20>>2]=b;v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=970612;v[c+28>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;g=c,h=Bd(f),v[g+12>>2]=h;bj(a,c)}Ma=e+16|0;return c}function IZ(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;b=v[a+28>>2];a:{if((b|0)==-1){break a}e=v[a+36>>2];h=v[a+40>>2];if(e>>>0>=h>>>0){break a}j=v[a>>2];d=b+1|0;k=v[a+16>>2]+20|0;while(1){b:{c=B(e,12)+k|0;b=c-4|0;b=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);f=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);d=d>>>0>>0?f:d;b=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);g=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(d>>>0>g>>>0){break b}b=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);i=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=g+1|0;c:{while(1){c=d-f|0;if((c^-1)>>>0>>0){break b}c=c+i|0;if(c){break c}if((d|0)==-1){break a}c=(d|0)==(g|0);d=d+1|0;if(!c){continue}break}d=b;break b}if(c>>>0>=y[j+16>>2]){break b}v[a+36>>2]=e;v[a+32>>2]=c;v[a+28>>2]=d;return}e=e+1|0;if((h|0)!=(e|0)){continue}break}}t[a+24|0]=0}function _4(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;if(v[a+4>>2]==16){e=v[v[a+44>>2]+88>>2]+B(v[a+8>>2],1876)|0}else{e=v[a+36>>2]}h=v[e+1872>>2];f=h+B(b,1076)|0;g=v[a+52>>2];a=Qa[v[v[g>>2]+20>>2]](g,1)|0;v[f+804>>2]=a>>5;d=a&31;v[f+24>>2]=d;e=d;a:{b:{c:{d:{switch(d|0){case 0:e=c-1|0;break c;case 1:break b;default:break d}}e=(c-1|0)/2|0}if((e|0)<1){break a}}a=0;while(1){c=v[v[g>>2]+20>>2];e:{if(!d){d=Qa[c|0](g,1)>>>3|0;c=0;break e}d=Qa[c|0](g,2)|0;c=d&2047;d=d>>11}i=(a<<3)+f|0;v[i+32>>2]=c;v[i+28>>2]=d;d=v[f+24>>2];a=a+1|0;if((e|0)!=(a|0)){continue}break}}a=1;if((d|0)==1){c=h+B(b,1076)|0;e=v[c+28>>2];d=v[c+32>>2];while(1){b=c+(a<<3)|0;v[b+32>>2]=d;v[b+40>>2]=d;g=a<<24;f=e+((g>>24)/-3<<24>>24)|0;v[b+36>>2]=(f|0)>0?f:0;f=b;b=e+((g-16777216>>24)/-3<<24>>24)|0;v[f+28>>2]=(b|0)>0?b:0;a=a+2|0;if((a|0)!=97){continue}break}}}function _Va(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;a:{b:{c:{h=a;f=1029;d:{if(!w[a+285|0]|!w[a+288|0]){break d}g=(c>>>0)/5|0;f=1028;if(c-B(g,5)|c>>>0<5){break d}if(!w[a+112|0]){break b}b=Qa[v[b+4>>2]](a,b,e)|0;if(b){break a}v[v[e>>2]+32>>2]=g;b=Qa[v[a+152>>2]](c)|0;if(b){break c}f=1}b=f;ob(h,b,0,0);return b|0}v[v[e>>2]+36>>2]=b;if(c-5>>>0>=5){c=g&1073741822;while(1){a=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);v[b>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);t[b+4|0]=w[d+4|0];a=w[d+5|0]|w[d+6|0]<<8|(w[d+7|0]<<16|w[d+8|0]<<24);v[b+8>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);t[b+12|0]=w[d+9|0];b=b+16|0;d=d+10|0;c=c-2|0;if(c){continue}break}}if(!(g&1)){break b}a=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);v[b>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);t[b+4|0]=w[d+4|0]}b=0}return b|0}function FW(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=256;g=Ma-16|0;Ma=g;z[a+20>>2]=c;z[a+16>>2]=b;v[a+4>>2]=0;v[a+8>>2]=0;v[a>>2]=256;v[a+12>>2]=0;v[g+8>>2]=0;v[g>>2]=0;v[g+4>>2]=0;f=ab(1024);v[g>>2]=f;d=f+1024|0;v[g+8>>2]=d;v[g+4>>2]=d;e=ab(12);a:{d=d-f|0;b:{if(!d){v[e+8>>2]=0;v[e>>2]=0;v[e+4>>2]=0;break b}v[e+8>>2]=0;v[e>>2]=0;v[e+4>>2]=0;if((d|0)<0){break a}i=ab(d);v[e>>2]=i;v[e+8>>2]=(d>>2<<2)+i;j=e,k=cb(i,f,d)+(d>>>2<<2)|0,v[j+4>>2]=k}d=e+12|0;v[a+12>>2]=d;v[a+8>>2]=d;v[a+4>>2]=e;if(f){$a(f);h=v[a>>2]}if(h){f=0;while(1){e=v[v[a+4>>2]>>2]+(f<<2)|0;i=e;b=C(C(255)-C(C(C(f|0)/C(h>>>0))*C(255)));c:{if(b=C(0)){d=~~b>>>0;break c}d=0}d=B(d&255,65793)-16777216|0;t[i|0]=d;t[e+1|0]=d>>>8;t[e+2|0]=d>>>16;t[e+3|0]=d>>>24;f=f+1|0;h=v[a>>2];if(f>>>0>>0){continue}break}}Ma=g+16|0;return a}Jc();L()}function $P(a,b){var c=0,d=0,e=0;a:{if(w[b|0]){break a}b=ii(311151);if(w[b|0]?b:0){break a}b=ii(B(a,12)+994272|0);if(w[b|0]?b:0){break a}b=ii(311592);if(w[b|0]?b:0){break a}b=314504}b:{while(1){e=w[b+c|0];if(!(!e|(e|0)==47)){e=15;c=c+1|0;if((c|0)!=15){continue}break b}break}e=c}d=314504;c:{d:{c=w[b|0];e:{f:{if(!(w[b+e|0]|(c|0)==46)){d=b;if((c|0)!=67){break f}}if(!w[d+1|0]){break e}}if(!hb(d,314504)){break e}if(hb(d,308616)){break d}}if(!a){c=993828;if(w[d+1|0]==46){break c}}return 0}c=v[296225];if(c){while(1){if(!hb(d,c+8|0)){break c}c=v[c+24>>2];if(c){continue}break}}c=v[296225];if(c){while(1){if(!hb(d,c+8|0)){return c}c=v[c+24>>2];if(c){continue}break}}c=gb(28);g:{if(!c){c=0;break g}b=v[248458];v[c>>2]=v[248457];v[c+4>>2]=b;b=c+8|0;cb(b,d,e);t[b+e|0]=0;v[c+24>>2]=v[296225];v[296225]=c}c=a|c?c:993828}return c}function ws(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=Ma-128|0;Ma=f;g=v[a+12>>2];a:{if(g){d=v[a+16>>2];if((d|0)<1){break a}i=d&3;j=w[b|0];if(d-1>>>0>=3){l=d&-4;b=a+148|0;while(1){d=e<<2;h=j<<2;v[d+f>>2]=v[h+v[b+d>>2]>>2];k=d|4;v[k+f>>2]=v[h+v[b+k>>2]>>2];k=d|8;v[k+f>>2]=v[h+v[b+k>>2]>>2];d=d|12;v[d+f>>2]=v[h+v[b+d>>2]>>2];e=e+4|0;l=l-4|0;if(l){continue}break}}if(!i){break a}while(1){b=e<<2;v[b+f>>2]=v[v[(a+b|0)+148>>2]+(j<<2)>>2];e=e+1|0;i=i-1|0;if(i){continue}break}break a}d=v[a+8>>2];b:{if((d|0)<1){break b}if((d|0)!=1){g=d&-2;i=a+20|0;while(1){h=e<<2;v[h+f>>2]=v[v[h+i>>2]+(w[b+e|0]<<2)>>2];h=e|1;j=h<<2;v[j+f>>2]=v[v[i+j>>2]+(w[b+h|0]<<2)>>2];e=e+2|0;g=g-2|0;if(g){continue}break}}if(!(d&1)){break b}g=e<<2;v[g+f>>2]=v[v[(a+g|0)+20>>2]+(w[b+e|0]<<2)>>2]}g=v[a>>2]}Qa[v[v[g>>2]+20>>2]](g,f,c,0);Ma=f+128|0}function kV(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=Ma-128|0;Ma=f;g=v[a+12>>2];a:{if(g){d=v[a+16>>2];if((d|0)<1){break a}i=d&3;j=w[b|0];if(d-1>>>0>=3){l=d&-4;b=a+148|0;while(1){d=e<<2;h=j<<2;v[d+f>>2]=v[h+v[b+d>>2]>>2];k=d|4;v[k+f>>2]=v[h+v[b+k>>2]>>2];k=d|8;v[k+f>>2]=v[h+v[b+k>>2]>>2];d=d|12;v[d+f>>2]=v[h+v[b+d>>2]>>2];e=e+4|0;l=l-4|0;if(l){continue}break}}if(!i){break a}while(1){b=e<<2;v[b+f>>2]=v[v[(a+b|0)+148>>2]+(j<<2)>>2];e=e+1|0;i=i-1|0;if(i){continue}break}break a}d=v[a+8>>2];b:{if((d|0)<1){break b}if((d|0)!=1){g=d&-2;i=a+20|0;while(1){h=e<<2;v[h+f>>2]=v[v[h+i>>2]+(w[b+e|0]<<2)>>2];h=e|1;j=h<<2;v[j+f>>2]=v[v[i+j>>2]+(w[b+h|0]<<2)>>2];e=e+2|0;g=g-2|0;if(g){continue}break}}if(!(d&1)){break b}g=e<<2;v[g+f>>2]=v[v[(a+g|0)+20>>2]+(w[b+e|0]<<2)>>2]}g=v[a>>2]}Qa[v[v[g>>2]+16>>2]](g,f,c,0);Ma=f+128|0}function iY(a,b,c,d,e){var f=0;e=b?B(w[a|0],30)+e|0:e+1740|0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{if((d|0)>=11){f=d-11|0;d=(d-b|0)-2|0;e=w[((d|0)<0?f:d)+c|0]+e|0;d=10;if((b|0)>9){break k}}switch(b-1|0){case 6:break h;case 7:break i;case 8:break j;case 9:break k;case 0:break b;case 1:break c;case 2:break d;case 3:break e;case 4:break f;case 5:break g;default:break a}}e=w[a+9|0]+e|0;b=10}e=w[a+8|0]+e|0}e=w[a+7|0]+e|0}e=w[a+6|0]+e|0}e=w[a+5|0]+e|0}e=w[a+4|0]+e|0}e=w[a+3|0]+e|0}e=w[a+2|0]+e|0}e=w[a+1|0]+e|0}e=w[a|0]+e|0}a=d-b|0;b=(a|0)>0;e=b?e+58|0:e;l:{switch(a+(b^-1)|0){case 9:e=w[c+9|0]+e|0;case 8:e=w[c+8|0]+e|0;case 7:e=w[c+7|0]+e|0;case 6:e=w[c+6|0]+e|0;case 5:e=w[c+5|0]+e|0;case 4:e=w[c+4|0]+e|0;case 3:e=w[c+3|0]+e|0;case 2:e=w[c+2|0]+e|0;case 1:e=w[c+1|0]+e|0;case 0:e=w[c|0]+e|0;break;default:break l}}return e}function bXa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(v[a+588>>2]>=1){b=v[v[a+536>>2]+88>>2];b=(v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0;e=v[a+644>>2];while(1){d=w[e+3|0];a:{if(!d){break a}c=w[b+3|0];if((c|0)==255){break a}b:{if((d|0)==255){g=255;d=c^255;f=(B(c,w[b|0])+B(d,w[e|0])|0)+128|0;t[b|0]=(f>>>8&255)+f>>>8;f=(B(c,w[b+1|0])+B(d,w[e+1|0])|0)+128|0;t[b+1|0]=(f>>>8&255)+f>>>8;c=(B(c,w[b+2|0])+B(d,w[e+2|0])|0)+128|0;t[b+2|0]=(c>>>8&255)+c>>>8;break b}f=w[e|0];k=w[e+1|0];h=c^255;g=B(h,d^255)>>>8^-1;i=g&255;c=(c<<8>>>0)/(i>>>0)|0;d=(B(d,h)>>>0)/(i>>>0)|0;t[b+2|0]=(B(c,w[b+2|0])+B(d,w[e+2|0])|0)+127>>>8;t[b+1|0]=(B(c,w[b+1|0])+B(d,k)|0)+127>>>8;t[b|0]=(B(c,w[b|0])+B(d,f)|0)+127>>>8}t[b+3|0]=g}e=e+4|0;b=b+4|0;j=j+1|0;if((j|0)>2]){continue}break}}return 0}function K7(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=Ma-48|0;Ma=h;d=1;a:{if((c|0)<1){break a}d=v[a+604>>2];f=v[a+608>>2];while(1){g=f;b:{c:{d:{e:{while(1){i=d;j=g;if((g|0)<1){break d}g=j-1|0;d=i+1|0;e=w[i|0];k=e<<24>>24;if((k|0)>-1){break e}if((k|0)==-128){continue}break}e=1-k|0;if((e|0)<=(c|0)){f=j-2|0;g=i+2|0;break c}g=v[a>>2];f=v[a+628>>2];v[h>>2]=e-c;Nc(f,g,1823,h);f=j-2|0;g=i+2|0;e=c;if((e|0)>=1){break c}break b}f=b;i=d;if((c|0)<=(e|0)){j=v[a>>2];k=v[a+628>>2];v[h+16>>2]=(e-c|0)+1;Nc(k,j,1823,h+16|0);e=c-1|0}e=e+1|0;Fd(f,i,e);f=g-e|0;b=b+e|0;g=d+e|0;break b}v[a+604>>2]=i;v[a+608>>2]=f>>31&f;b=v[a+628>>2];c=v[a>>2];v[h+32>>2]=v[a+472>>2];wb(b,c,5914,h+32|0);d=0;break a}b=eb(b,w[d|0],e)+e|0}d=g;c=c-e|0;if((c|0)>0){continue}break}v[a+608>>2]=f;v[a+604>>2]=d;d=1}Ma=h+48|0;return d|0}function eJ(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=Ma-16|0;Ma=g;i=v[a+28>>2];v[g+12>>2]=0;a:{if(b>>>0>>0){break a}b=0;f=yb(i,4,0,c,0,g+12|0);if(!v[g+12>>2]){while(1){if(b>>>0>=c>>>0){break a}d=v[a+32>>2];if(d>>>0>2]){v[a+32>>2]=d+1;e=t[d|0]}else{e=0}d=e<<24>>24;h=d&63;e=0;b:{if(d&128){while(1){v[(b<<2)+f>>2]=0;d=e+1|0;b=b+1|0;if(e>>>0>=h>>>0){break b}e=d;if(b>>>0>>0){continue}break b}}if(d&64){while(1){k=(b<<2)+f|0,l=ae(a)<<16,v[k>>2]=l;d=e+1|0;b=b+1|0;if(e>>>0>=h>>>0){break b}e=d;if(b>>>0>>0){continue}break b}}while(1){j=(b<<2)+f|0;d=v[a+32>>2];if(d>>>0>2]){v[a+32>>2]=d+1;d=t[d|0]}else{d=0}v[j>>2]=d<<24>>24<<16;d=e+1|0;b=b+1|0;if(e>>>0>=h>>>0){break b}e=d;if(b>>>0>>0){continue}break}}if(d>>>0>h>>>0){continue}break}b=i;a=f;if(a){Qa[v[b+8>>2]](b,a)}}f=0}Ma=g+16|0;return f}function Mu(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=v[a+8>>2]?212:172;b=v[a+12>>2];if(b){c=(Qa[v[v[b>>2]+24>>2]](b)|0)+c|0}d=v[a+20>>2];if(d){h=Ma-32|0;Ma=h;g=v[d+44>>2];e=v[d+40>>2];b=B(g-e|0,12)+84|0;a:{if((e|0)>(g|0)){break a}while(1){f=v[(v[d+28>>2]+B(e-v[d+32>>2]|0,12)|0)+4>>2];if(f){b=((v[f+20>>2]?(x[f+12>>1]+B(x[f+14>>1],x[f+8>>1])|0)+72|0:72)+(v[f+36>>2]?v[f+60>>2]:0)|0)+b|0;g=v[d+44>>2]}if((e|0)>=(g|0)){break a}e=e+1|0;if((e|0)>=v[d+40>>2]){continue}break}lb(mb(h+8|0,227376,271519,632,307571));L()}Ma=h+32|0;c=(((v[d+100>>2]-v[d+96>>2]<<3)+b|0)+44|0)+c|0}b=v[a+28>>2];if(b){c=(B(B(x[b+8>>1],x[b+10>>1]),3)+c|0)+24|0}b=v[a+32>>2];if(b){c=((v[b+60>>2]-v[b+56>>2]<<2)+c|0)+4|0}b=v[a+36>>2];if(b){c=(Qa[v[v[b>>2]+28>>2]](b)|0)+c|0}b=v[a+44>>2];if(b){c=(Qa[v[v[b>>2]+28>>2]](b)|0)+c|0}return v[a+48>>2]?c+1024|0:c}function iPa(a,b,c,d,e,f){a=a|0;b=b|0;c=+c;d=+d;e=+e;f=+f;var g=0,h=0,i=0,j=0,k=0,l=0;g=Ma-32|0;Ma=g;j=A[v[a+16>>2]+24>>3];A[g+24>>3]=d;A[g+16>>3]=c;A[g+8>>3]=e;A[g>>3]=c;h=Qa[v[v[a>>2]+508>>2]](a)|0;zd(h,g+24|0,g+16|0);zd(h,g+8|0,g);c=j*f/25.4+.5;a:{if(D(c)<2147483648){k=~~c;break a}k=-2147483648}c=A[g+8>>3];b:{if(D(c)<2147483648){i=~~c;break b}i=-2147483648}c=A[g+24>>3];c:{if(D(c)<2147483648){h=~~c;break c}h=-2147483648}if(!b){j=+(i+1|0);f=A[g+16>>3];b=v[v[a+20>>2]+4>>2];t[b+25|0]=0;v[b+20>>2]=0;v[b>>2]=0;b=v[a+20>>2];e=+(h|0);l=e;d=+((k?k:1)|0);c=d*.5;if(D(f)<2147483648){i=~~f}else{i=-2147483648}c=c+(+(i|0)+.5)+-.5-d;Jj(b,l,c);Nk(v[a+20>>2],j,c);Qa[v[v[a>>2]+532>>2]](a);b=v[v[a+20>>2]+4>>2];t[b+25|0]=0;v[b+20>>2]=0;v[b>>2]=0;c=d+d+c;Jj(v[a+20>>2],e,c);Nk(v[a+20>>2],j,c);Qa[v[v[a>>2]+532>>2]](a)}Ma=g+32|0}function eN(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(!b){break a}e=v[a+16>>2];if((e|0)<1){break a}d=((e<<2)+a|0)+20|0;c=a+20|0;while(1){if(v[c>>2]==(b|0)){v[a+16>>2]=e-1;d=d-4|0;if(d>>>0>c>>>0){id(c,c+4|0,(((e<<2)+a|0)-c|0)+19&-4)}v[d>>2]=0;h=v[b>>2];d=v[b+8>>2];f=v[b+4>>2];b:{if(!f){break b}if(v[f+160>>2]==(b|0)){v[f+160>>2]=0}if(!(w[h|0]&2)){break b}i=v[f>>2];c=f+148|0;g=wn(c,b);if(!g){break b}e=v[b+12>>2];c:{if(v[e+36>>2]!=1869968492){break c}a=v[b+52>>2];if(!a){break c}Qa[v[v[e+56>>2]+20>>2]](a)}jt(c,g);if(g){Qa[v[i+8>>2]](i,g)}c=v[f+148>>2];d:{if(c){while(1){a=v[c+8>>2];if(v[a+16>>2]==1869968492){break d}c=v[c+4>>2];if(c){continue}break}}a=0}v[f+156>>2]=a}if(t[v[b>>2]]&1){hB(b+16|0,1892,v[b+8>>2],b)}a=v[h+28>>2];if(a){Qa[a|0](b)}if(b){Qa[v[d+8>>2]](d,b)}return}c=c+4|0;if(d>>>0>c>>>0){continue}break}}}function cMa(a,b){a=a|0;b=b|0;var c=0;b=Ma-96|0;Ma=b;c=ab(80);v[b+64>>2]=c;v[b+68>>2]=16;v[b+72>>2]=-2147483628;rb(c,361684,16);v[c+64>>2]=0;HI(b+80|0,b- -64|0,1);if(t[b+75|0]<=-1){$a(v[b+64>>2])}c=ab(96);v[b+48>>2]=c;v[b+52>>2]=20;v[b+56>>2]=-2147483624;rb(c,361752,20);v[c+80>>2]=0;Dq(b+48|0,b+80|0,1);if(t[b+59|0]<=-1){$a(v[b+48>>2])}c=ab(112);v[b+32>>2]=c;v[b+36>>2]=24;v[b+40>>2]=-2147483620;rb(c,361836,24);v[c+96>>2]=0;Dq(b+32|0,b+80|0,1);if(t[b+43|0]<=-1){$a(v[b+32>>2])}c=ab(96);v[b+16>>2]=c;v[b+20>>2]=22;v[b+24>>2]=-2147483624;rb(c,361936,22);v[c+88>>2]=0;Dq(b+16|0,b+80|0,1);if(t[b+27|0]<=-1){$a(v[b+16>>2])}c=ab(64);v[b>>2]=c;v[b+4>>2]=15;v[b+8>>2]=-2147483632;rb(c,362028,15);v[c+60>>2]=0;Dq(b,b+80|0,1);if(t[b+11|0]<=-1){$a(v[b>>2])}v[a>>2]=v[b+80>>2];v[a+4>>2]=v[b+84>>2];v[a+8>>2]=v[b+88>>2];Ma=b+96|0}function v_(a,b){var c=0,d=0,e=0,f=0,g=0;d=Ma-16|0;Ma=d;c=v[a>>2];v[d+12>>2]=c;a:{b:{if(b>>>0<=c>>>0){break b}while(1){g=0;c:{d:{e:{f:{g:{e=w[c|0];switch(e-37|0){case 1:case 2:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:break c;case 0:break d;case 23:break e;case 3:break f;default:break g}}h:{switch(e-123|0){case 0:f=f+1|0;break c;case 2:break h;default:break c}}f=f-1|0;if(f){break c}c=c+1|0;break b}g=UI(d+12|0,b);break c}g=u_(d+12|0,b);break c}e=37;while(1){i:{j:{switch(e-10|0){default:c=c+1|0;if((c|0)!=(b|0)){break i}c=b;break;case 0:case 3:break j}}v[d+12>>2]=c;break c}e=w[c|0];continue}}c=v[d+12>>2]+1|0;v[d+12>>2]=c;if(g?0:b>>>0>c>>>0){continue}break}b=3;if(f){break a}}b=g}v[a>>2]=c;Ma=d+16|0;return b}function w$(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;n=v[a+2744>>2]&4;f=64;a:{if(n){break a}i=1;f=(e|0)==1?55:49;if(!(!(t[b+12|0]&1)|!(t[c+12|0]&1))){break a}f=(e|0)==1?61:59}l=v[c+4>>2];m=v[b+4>>2];k=$A(a,e,l-m|0);a=(((l+m|0)/2|0)+d|0)+((k|0)/-2|0)|0;d=a&63;b:{if(!d){break b}h=a+k&63;if(!h){break b}g=64-d|0;if((f|0)>=(k|0)){if((h|0)>=(k|0)){break b}j=g>>>0>h>>>0?0-h|0:g;break b}if(i){if(f>>>0<=g>>>0|d>>>0>=f>>>0|(f>>>0<=h>>>0|f>>>0<=64-h>>>0)){break b}}i=k&63;c:{if(i>>>0<=31){if(g>>>0<=i>>>0){break b}if(h>>>0>i>>>0){break c}break b}i=64-f|0}e=g-i|0;d=f-g|0;g=(d|0)>(e|0)?e:0-d|0;j=g>>31;e=f-h|0;d=h-i|0;e=(d|0)>(e|0)?e:0-d|0;d=e>>31;j=(j^g+j)>>>0>(d^d+e)>>>0?e:g}d=j;d:{if(n){break d}d=14;if((j|0)>14){break d}d=(j|0)>-14?j:-14}f=d+a|0;e=f+k|0;a=(l|0)>(m|0);v[b+8>>2]=a?f:e;v[c+8>>2]=a?e:f;return d}function YK(a,b){var c=0,d=0,e=0,f=0,g=0;d=Ma-32|0;Ma=d;a:{if((b|0)==-1){v[285944]=0;v[285945]=0;v[285943]=0;break a}if(v[285945]|!b){break a}c=v[285944];b:{if((c|0)<(b|0)){f=v[249419];while(1){e=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;c:{if((e|0)==-1){if(!v[a+26160>>2]){v[d+16>>2]=v[a+25208>>2];vb(f,8292,d+16|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,f);v[a+26160>>2]=1;v[285945]=0;break c}c=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[d>>2]=c;v[d+4>>2]=c>>31;vb(f,14622,d)}v[a+26160>>2]=1;v[285945]=0;break c}if(!((e|0)==255?v[a+26144>>2]:0)){v[285945]=0;break c}c=0;g=Qa[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[285945]=(g|0)!=0;if(g){break a}}c=v[285944]+8|0;v[285944]=c;e=e&255|v[285943]<<8;v[285943]=e;if((b|0)>(c|0)){continue}break}break b}e=v[285943]}a=c-b|0;v[285944]=a;b=32-b|0;c=e<>>b|0}Ma=d+32|0;return c}function LX(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=(a|0)!=(b|0);a:{if(!a|(a|0)==(b|0)){break a}b:{if(c){while(1){f=-1;c:{d:{switch(v[a+4>>2]-1|0){case 4:case 5:case 16:break b;case 0:break d;default:break c}}e=v[a+48>>2];if(!e){break c}while(1){e:{d=v[e+12>>2];if(!d){break e}f=0;g=c;if((c|0)==(d|0)){break b}while(1){h=w[d|0];if((h|0)!=w[g|0]){break e}g=g+1|0;d=d+1|0;if(h){continue}break}break b}e=v[e>>2];if(e){continue}break}}a=v[a+20>>2];d=(b|0)!=(a|0);if(!a){break a}if((a|0)!=(b|0)){continue}break a}}while(1){f=-1;f:{g:{switch(v[a+4>>2]-1|0){case 0:break g;case 4:case 5:case 16:break b;default:break f}}d=v[a+48>>2];if(!d){break f}while(1){if(v[d+12>>2]){d=v[d>>2];if(d){continue}break f}break}f=0;break b}a=v[a+20>>2];d=(b|0)!=(a|0);if(!a){break a}if((a|0)!=(b|0)){continue}break}break a}return f}return d?-1:1}function Eha(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;g=Ma-32|0;Ma=g;a:{if(w[a+88|0]){e=v[a+84>>2];break a}m=a,n=Qa[v[v[a>>2]+36>>2]](a)|0,v[m+72>>2]=n;m=a,n=Qa[v[v[a>>2]+44>>2]](a)|0,v[m+76>>2]=n;m=a,n=Qa[v[v[a>>2]+40>>2]](a)|0,v[m+80>>2]=n;e=Qa[v[v[a>>2]+48>>2]](a)|0;t[a+88|0]=1;v[a+84>>2]=e}b:{if(v[a+92>>2]>0){d=e;e=v[a+80>>2];i=d-e|0;h=v[a+72>>2];j=v[a+76>>2]-h|0;k=v[a+128>>2];l=v[a+104>>2];while(1){if(v[a+120>>2]<(c|0)|v[a+116>>2]>(c|0)){break b}d=(c-v[a+108>>2]<<2)+l|0;f=v[b>>2];v[d>>2]=((B(v[b+8>>2]-f|0,v[d>>2]-h|0)|0)/(j|0)|0)+f;if(v[a+144>>2]<(c|0)|v[a+140>>2]>(c|0)){break b}d=(c-v[a+132>>2]<<2)+k|0;f=v[b+4>>2];v[d>>2]=((B(v[b+12>>2]-f|0,v[d>>2]-e|0)|0)/(i|0)|0)+f;c=c+1|0;if((c|0)>2]){continue}break}}Ma=g+32|0;return}lb(mb(g+8|0,227376,271519,619,306765));L()}function Fj(a,b,c,d){var e=0,f=0;e=v[c>>2];if(!e){e=ab(B(b,6)+4|0);v[c>>2]=e}if((b|0)>=1){f=(b<<2)+a|0;while(1){b=a;a=b+4|0;b=v[b>>2];a:{if(b>>>0<=127){t[e|0]=b;e=e+1|0;break a}if(b>>>0<=2047){t[e+1|0]=b&63|128;t[e|0]=b>>>6|192;e=e+2|0;break a}if(b>>>0<=65535){t[e+2|0]=b&63|128;t[e|0]=b>>>12|224;t[e+1|0]=b>>>6&63|128;e=e+3|0;break a}if(b>>>0<=2097150){t[e+3|0]=b&63|128;t[e|0]=b>>>18|240;t[e+2|0]=b>>>6&63|128;t[e+1|0]=b>>>12&63|128;e=e+4|0;break a}if(b>>>0<=67108862){t[e+4|0]=b&63|128;t[e|0]=b>>>24|248;t[e+3|0]=b>>>6&63|128;t[e+2|0]=b>>>12&63|128;t[e+1|0]=b>>>18&63|128;e=e+5|0;break a}if(b>>>0>2147483646){break a}t[e+5|0]=b&63|128;t[e|0]=b>>>30|252;t[e+4|0]=b>>>6&63|128;t[e+3|0]=b>>>12&63|128;t[e+2|0]=b>>>18&63|128;t[e+1|0]=b>>>24&63|128;e=e+6|0}if(a>>>0>>0){continue}break}}v[d>>2]=e-v[c>>2];t[e|0]=0}function ww(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=v[a>>2];a:{if(d>>>0<2){break a}e=v[a+12>>2];c=d-2|0;f=v[e+(c>>>4&268435452)>>2]+B(c&63,24)|0;c=d-1|0;e=v[e+(c>>>4&268435452)>>2]+B(c&63,24)|0;g=A[e>>3]-A[f>>3];j=g*g;g=A[e+8>>3]-A[f+8>>3];g=K(j+g*g);e=g>1e-14;A[f+16>>3]=e?g:1e14;if(e){break a}v[a>>2]=c;d=c}f=v[a+4>>2];e=d>>>6|0;if(f>>>0<=e>>>0){c=v[a+8>>2];b:{if(c>>>0>e>>>0){i=v[a+12>>2];break b}h=c+v[a+16>>2]|0;i=ab((h&1073741823)!=(h|0)?-1:h<<2);c=v[a+12>>2];if(c){cb(i,c,f<<2);$a(c);h=v[a+8>>2]+v[a+16>>2]|0;f=v[a+4>>2];d=v[a>>2]}v[a+8>>2]=h;v[a+12>>2]=i}k=(e<<2)+i|0,l=ab(1536),v[k>>2]=l;v[a+4>>2]=f+1}c=v[b+4>>2];d=v[v[a+12>>2]+(e<<2)>>2]+B(d&63,24)|0;v[d>>2]=v[b>>2];v[d+4>>2]=c;c=v[b+20>>2];v[d+16>>2]=v[b+16>>2];v[d+20>>2]=c;c=v[b+12>>2];v[d+8>>2]=v[b+8>>2];v[d+12>>2]=c;v[a>>2]=v[a>>2]+1}function Sy(a,b){var c=0,d=0,e=0,f=0;d=a+32|0;a:{if((d|0)==(b|0)){break a}e=w[b+11|0];c=e<<24>>24;if(t[a+43|0]>=0){if((c|0)>=0){c=v[b+4>>2];v[d>>2]=v[b>>2];v[d+4>>2]=c;v[d+8>>2]=v[b+8>>2];break a}De(d,v[b>>2],v[b+4>>2]);break a}c=(c|0)<0;mf(d,c?v[b>>2]:b,c?v[b+4>>2]:e)}v[a+44>>2]=0;c=v[a+48>>2];if(c&8){e=w[a+43|0];f=e<<24>>24<0;b=f?v[a+32>>2]:d;v[a+12>>2]=b;v[a+8>>2]=b;b=b+((f?v[a+36>>2]:e)<<2)|0;v[a+44>>2]=b;v[a+16>>2]=b}b:{if(!(c&16)){break b}c=w[a+43|0];b=c<<24>>24<0;c=b?v[a+36>>2]:c;v[a+44>>2]=(b?v[a+32>>2]:d)+(c<<2);_t(d,b?(v[a+40>>2]&2147483647)-1|0:1);b=d;d=w[a+43|0];e=d<<24>>24<0;b=e?v[a+32>>2]:b;v[a+24>>2]=b;v[a+20>>2]=b;v[a+28>>2]=((e?v[a+36>>2]:d)<<2)+b;if(!(w[a+48|0]&3)){break b}c:{if((c|0)<=-1){d=c-2147483647|0;c=(d|0)<0;b=c?b-8|0:b-4|0;c=c?1:d;break c}if(!c){break b}}v[a+24>>2]=(c<<2)+b}}function D5(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=v[a>>2];c=(f|0)==2147483647?2147483646:f;a:{if((c|0)<1){break a}e=v[b>>2];d=v[a+8>>2];while(1){if(e>>>0>2]>>2]){break a}g=g+1|0;if((c|0)!=(g|0)){continue}break}g=c}c=v[a+4>>2];if((c|0)<=(f|0)){f=c+128|0;c=v[a+8>>2];b:{if(c){c=ph(c,f<<2);break b}c=gb(f<<2)}if(!c){return-1}v[a+4>>2]=f;v[a+8>>2]=c;f=v[a>>2]}c=f;if((g|0)<(c|0)){e=f-g&3;if(e){while(1){d=v[a+8>>2];h=d+(c<<2)|0;c=c-1|0;v[h>>2]=v[d+(c<<2)>>2];e=e-1|0;if(e){continue}break}}if((g^-1)+f>>>0>=3){while(1){h=c<<2;e=h-4|0;d=v[a+8>>2];v[d+h>>2]=v[d+e>>2];d=v[a+8>>2];i=d+e|0;e=d;d=h-8|0;v[i>>2]=v[e+d>>2];e=d;d=v[a+8>>2];i=e+d|0;e=d;d=h-12|0;v[i>>2]=v[e+d>>2];e=d;d=v[a+8>>2];c=c-4|0;v[e+d>>2]=v[d+(c<<2)>>2];if((c|0)>(g|0)){continue}break}}c=g}v[v[a+8>>2]+(c<<2)>>2]=b;v[a>>2]=f+1;return 0}function SZ(a,b,c,d,e,f,g){var h=0,i=0,j=0;j=e-c|0;a:{if((j|0)<1|(e|0)<(f|0)|(c|0)>(g|0)){break a}h=d-b|0;b:{if((c|0)<(f|0)){b=fc(h,f-c|0,j)+b|0;i=v[a>>2];f=f>>i;c=0;break b}i=v[a>>2];f=c>>i;c=v[a+4>>2]-1&c}d=0;if((e|0)<=(g|0)){g=e;d=v[a+4>>2]-1&e}e=g>>i;c:{if((c|0)>=1){if((e|0)==(f|0)){break a}f=f+1|0;b=fc(h,v[a+4>>2]-c|0,j)+b|0;break c}if(!w[a+79|0]){break c}v[a+36>>2]=v[a+36>>2]-4}t[a+79|0]=!d;if(w[a+78|0]){v[v[a+80>>2]+20>>2]=f;t[a+78|0]=0}g=e-f|0;c=g+1|0;if(y[a+32>>2]<=v[a+36>>2]+(c<<2)>>>0){v[a+40>>2]=98;return 1}d=1;e=v[a+4>>2];d:{if((h|0)>=1){f=uJ(e,h,j);break d}d=-1;h=0-h|0;f=0-uJ(e,h,j)|0}h=(B(v[a+4>>2],h)|0)%(j|0)|0;e=v[a+36>>2];if((g|0)>=0){g=0-j|0;while(1){v[e>>2]=b;g=g+h|0;i=(g|0)>-1;g=g-(i?j:0)|0;b=(b+f|0)+(i?d:0)|0;e=e+4|0;i=(c|0)>1;c=c-1|0;if(i){continue}break}}v[a+36>>2]=e}return 0}function I$(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;d=x[v[b+88>>2]+12>>1];a=v[v[a+4>>2]+388>>2];f=Ub(65536e3,x[b+68>>1]<<16);if((f|0)>=655){l=v[a+52>>2];g=v[a+48>>2];h=v[a+44>>2];e=v[a+40>>2];i=v[a+36>>2];j=v[a+32>>2];k=v[a+28>>2];m=v[a+24>>2];a=d<<16;d=(a|0)>262144?a:262144;b=E(d);if((c|0)<1){a=4915200}else{a=xb(c<<16,f)}if(b+E(a)>>>0<=16){b=g<<16}else{b=xb(a,d)}c=m<<16;a:{if((b|0)<(c|0)){a=Ub(k<<16,d);break a}b:{c:{d:{n=j<<16;e:{if((b|0)<(n|0)){b=Ub(c,d);c=j-m|0;if(!c){break e}a=fc(a-b|0,i-k|0,c)+Ub(k<<16,d)|0;break a}c=e<<16;if((b|0)>=(c|0)){break d}}b=Ub(n,d);c=e-j|0;if(!c){c=e<<16;break c}a=fc(a-b|0,h-i|0,c)+Ub(i<<16,d)|0;break a}if((b|0)>=g<<16){break b}}b=Ub(c,d);c=g-e|0;if(!c){break b}a=fc(a-b|0,l-h|0,c)+Ub(h<<16,d)|0;break a}a=Ub(l<<16,d)}a=Ub(a,f)+32768>>16}else{a=0}return a}function UN(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;f=Ma-48|0;Ma=f;d=v[a+72>>2];b=v[a+68>>2];if((b|0)==-1){b=v[a+56>>2]}g=v[a+76>>2];d=(d|0)==-1?v[a+60>>2]:d;g=(g|0)==-1?v[a- -64>>2]:g;a:{if(!g|(!b|!d)){break a}h=v[a+56>>2];if(h>>>0<0-b>>>0){c=((b+h|0)-1>>>0)/(b>>>0)|0}b=v[a+60>>2];b:{if(b>>>0>=0-d>>>0){break b}h=(b+d|0)-1|0;c=x3a((h>>>0)/(d>>>0)|0,0,c,0);b=Pa;e=c;if(!b|d>>>0>h>>>0){break b}c=v[a>>2];e=v[a+628>>2];v[f+32>>2]=15582;wb(e,c,24808,f+32|0);e=0}c=0;b=v[a- -64>>2];if(b>>>0>=0-g>>>0){break a}d=(b+g|0)-1|0;e=x3a((d>>>0)/(g>>>0)|0,0,e,0);b=Pa;c=e;if(!b|d>>>0>>0){break a}c=v[a>>2];e=v[a+628>>2];v[f+16>>2]=15582;wb(e,c,24808,f+16|0);c=0}c:{if(x[a+138>>1]!=2){break c}d=x[a+98>>1];e=x3a(d,0,c,0);b=Pa;c=e;if(!d|!b){break c}c=v[a>>2];a=v[a+628>>2];v[f>>2]=15582;wb(a,c,24808,f);c=0}Ma=f+48|0;return c}function Tc(a,b,c){var d=0,e=0,f=0,g=0;g=v[c>>2]+b|0;d=w[g|0];e=d>>>1|0;b=v[(e<<2)+1105072>>2];c=v[a+12>>2]-b|0;v[a+12>>2]=c;d=d&1;f=v[a+8>>2];a:{if(f>>>0>>0){if((c|0)<0){break a}b:{if(b>>>0>c>>>0){c=d^1;f=e<<2;e=v[f+1105456>>2]<<1;b=c|e;if(v[f+1105648>>2]){break b}b=d|e;break b}c=d;b=c|v[(e<<2)+1105264>>2]<<1}t[g|0]=b;b=v[a+16>>2];while(1){d=a;if(!b){uG(a);b=v[a+16>>2]}b=b-1|0;v[d+16>>2]=b;d=v[a+12>>2]<<1;v[a+12>>2]=d;v[a+8>>2]=v[a+8>>2]<<1;if((d|0)>-1){continue}break}return c}v[a+8>>2]=f-c;c:{if(b>>>0>c>>>0){c=v[(e<<2)+1105264>>2]<<1|d;break c}f=d^1;e=e<<2;c=v[e+1105456>>2]<<1;c=v[e+1105648>>2]?c|f:c|d;d=f}t[g|0]=c;v[a+12>>2]=b;c=v[a+16>>2];while(1){g=a;if(!c){uG(a);c=v[a+16>>2];b=v[a+12>>2]}b=b<<1;v[g+12>>2]=b;c=c-1|0;v[a+16>>2]=c;v[a+8>>2]=v[a+8>>2]<<1;if((b|0)>-1){continue}break}}return d}function Qr(a,b,c,d,e){var f=0,g=0,h=0;g=Ma-16|0;Ma=g;v[a>>2]=0;a:{if(!c|!w[c|0]){break a}b:{if((d|0)>=0){h=-1;if((e|0)>-1){break b}}h=zb(c)}c:{if((d|0)<=-1){d=(c+h|0)+d|0;f=c>>>0>d>>>0?c:d;break c}f=c;if(!d){break c}d=c+d|0;while(1){f=f+1|0;if(d>>>0<=f>>>0){break c}if(w[f|0]){continue}break}}d:{if((e|0)<=-1){c=(c+h|0)+1|0;c=c>>>0>>0?f:c+e|0;break d}if(!e){break a}d=e+f|0;c=f;while(1){if(!w[c|0]){break d}c=c+1|0;if(d>>>0>c>>>0){continue}break}}if(c>>>0<=f>>>0){break a}d=g+8|0;c=c-f|0;Qa[v[v[b>>2]+8>>2]](d,b,c);jb(a,d);d=v[g+8>>2];v[g+8>>2]=0;e:{if(!d){break e}b=v[d+4>>2]-1|0;v[d+4>>2]=b;if(b){break e}b=v[d+4>>2];if(!b){v[d+4>>2]=-32767}if(!b){Qa[v[v[d>>2]+4>>2]](d)}}b=c+f|0;c=v[v[a>>2]+12>>2];while(1){a=w[f|0];if(a){t[c|0]=a;c=c+1|0;f=f+1|0;if((b|0)!=(f|0)){continue}}break}t[c|0]=0}Ma=g+16|0}function Kg(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{c:{c=v[a>>2];f=(v[a+4>>2]-c|0)/12|0;d=f+1|0;if(d>>>0<357913942){c=(v[a+8>>2]-c|0)/12|0;g=c<<1;c=c>>>0<178956970?d>>>0>g>>>0?d:g:357913941;if(c){if(c>>>0>=357913942){break c}e=ab(B(c,12))}d=B(f,12)+e|0;f=v[b+4>>2];v[d>>2]=v[b>>2];v[d+4>>2]=f;v[d+8>>2]=v[b+8>>2];v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;e=B(c,12)+e|0;f=d+12|0;b=v[a+4>>2];c=v[a>>2];if((b|0)==(c|0)){break b}while(1){b=b-12|0;g=v[b+4>>2];d=d-12|0;v[d>>2]=v[b>>2];v[d+4>>2]=g;v[d+8>>2]=v[b+8>>2];v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;if((b|0)!=(c|0)){continue}break}v[a+8>>2]=e;e=v[a+4>>2];v[a+4>>2]=f;c=v[a>>2];v[a>>2]=d;if((c|0)==(e|0)){break a}while(1){a=e-12|0;if(t[e-1|0]<=-1){$a(v[a>>2])}e=a;if((a|0)!=(c|0)){continue}break}break a}Jc();L()}Zd(273730);L()}v[a+8>>2]=e;v[a+4>>2]=f;v[a>>2]=d}if(c){$a(c)}}function Cu(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=Ma-80|0;Ma=c;a:{if(x[a+12>>1]>=(b|0)){break a}if(v[a+20>>2]){u[c+24>>1]=0;v[c+28>>2]=0;v[c+8>>2]=973124;v[c+12>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;f=pc(c+36|0,c+32|0,0,1);g=pc(c+48|0,c+44|0,0,1);h=pc(c+60|0,c+56|0,0,4);v[c+76>>2]=0;v[c+68>>2]=0;v[c+72>>2]=0;oR(c+8|0,a,b);u[a+14>>1]=x[c+22>>1];tE(f,a+28|0);v[a+20>>2]=v[a+24>>2];v[c+8>>2]=973124;v[c+28>>2]=0;d=v[c+76>>2];v[c+76>>2]=0;b:{if(!d){break b}e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(e){break b}e=v[d+4>>2];if(!e){v[d+4>>2]=-32767}if(!e){Qa[v[v[d>>2]+4>>2]](d)}}ec(h);ec(g);ec(f);bc(c+8|0)}u[a+12>>1]=b;d=c+8|0;IE(d,x[a+10>>1]+(b<<1&131070)|0);jb(a+68|0,d);a=v[c+8>>2];v[c+8>>2]=0;if(!a){break a}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break a}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=c+80|0}function wda(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,h=0,i=0,j=0;f=Ma-32|0;Ma=f;g=v[b+68>>2];if(g){g=Qa[v[v[g>>2]+24>>2]](g)|0;a:{b:{if(!(!v[b+64>>2]|((c|0)!=0|(d|0)!=0)&(g|0)<=0)){if(!(Qa[v[v[b>>2]+24>>2]](b)|0)){break b}}v[a+8>>2]=-1;v[a+12>>2]=-1;v[a>>2]=0;v[a+4>>2]=0;break a}if(e>>>0>=3){v[a+8>>2]=-1;v[a+12>>2]=-1;v[a>>2]=0;v[a+4>>2]=0;break a}h=v[b+64>>2];d=x3a(g,g>>31,c,d);c=(g|0)>0;if(gu(h,c?d:0,c?Pa:0,e)){v[a+8>>2]=-1;v[a+12>>2]=-1;v[a>>2]=0;v[a+4>>2]=0;break a}d=f+16|0;c=d;i=c,j=WD(v[b+64>>2]),v[i+8>>2]=j;v[c+12>>2]=Pa;v[c>>2]=0;v[c+4>>2]=0;e=v[b+76>>2];c=f;b=v[b+72>>2];v[c>>2]=b;v[c+4>>2]=e;v[c+8>>2]=b;v[c+12>>2]=e;b=v[c+4>>2];v[d>>2]=v[c>>2];v[d+4>>2]=b;b=v[c+28>>2];v[a+8>>2]=v[c+24>>2];v[a+12>>2]=b;b=v[c+20>>2];v[a>>2]=v[c+16>>2];v[a+4>>2]=b}Ma=f+32|0;return}_f();L()}function m3(a){var 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=Ma-16|0;Ma=c;a:{if(!a|((a?v[a+8>>2]:-1)|0)!=16){break a}g=c+12|0;h=c+8|0;if(a){if(g){v[g>>2]=v[a>>2]}if(h){v[h>>2]=v[a+4>>2]}}b=Mg(v[c+12>>2],v[c+8>>2],8);if(!b){break a}if(!(!a|!b|(a|0)==(b|0))){v[b+20>>2]=v[a+20>>2];v[b+24>>2]=v[a+24>>2]}e=a?v[a+12>>2]:-1;n=a?v[a+40>>2]:0;o=b?v[b+12>>2]:-1;g=b?v[b+40>>2]:0;l=v[c+8>>2];if(!((l|0)<1|(e|0)<1)){h=e&-2;p=e&1;while(1){j=(B(i,o)<<2)+g|0;k=(B(e,i)<<2)+n|0;a=0;d=h;if((e|0)!=1){while(1){f=v[(a<<2)+k>>2];u[((a<<1)+j^2)>>1]=f>>>16&65280|f>>>8&255;f=a|1;m=v[(f<<2)+k>>2];u[((f<<1)+j^2)>>1]=m>>>16&65280|m>>>8&255;a=a+2|0;d=d-2|0;if(d){continue}break}}if(p){d=(a<<1)+j^2;a=v[(a<<2)+k>>2];u[d>>1]=a>>>16&65280|a>>>8&255}i=i+1|0;if((l|0)!=(i|0)){continue}break}}d=b}Ma=c+16|0;return d}function FK(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=v[v[e>>2]+12>>2];i=v[c>>2];k=v[v[f+(i<<2)>>2]>>2];e=v[b>>2];j=v[v[(e<<2)+f>>2]>>2];g=v[a>>2];l=v[(g<<2)+f>>2];a:{if(j>>>0>=y[l>>2]){if(k>>>0>=j>>>0){e=i;break a}v[b>>2]=i;v[c>>2]=e;h=1;g=v[b>>2];i=v[a>>2];if(y[v[(g<<2)+f>>2]>>2]>=y[v[(i<<2)+f>>2]>>2]){break a}v[a>>2]=g;v[b>>2]=i;e=v[c>>2];h=2;break a}b:{if(k>>>0>>0){v[a>>2]=i;v[c>>2]=g;h=1;break b}v[a>>2]=e;v[b>>2]=g;h=2;e=v[c>>2];if(y[v[(e<<2)+f>>2]>>2]>=y[l>>2]){h=1;break a}v[b>>2]=e;v[c>>2]=g}e=g}g=v[d>>2];if(y[v[(g<<2)+f>>2]>>2]>2]>>2]){v[c>>2]=g;v[d>>2]=e;d=v[c>>2];e=v[b>>2];if(y[v[(d<<2)+f>>2]>>2]>=y[v[(e<<2)+f>>2]>>2]){return h+1|0}v[b>>2]=d;v[c>>2]=e;c=v[b>>2];d=v[a>>2];if(y[v[(c<<2)+f>>2]>>2]>=y[v[(d<<2)+f>>2]>>2]){return h+2|0}v[a>>2]=c;v[b>>2]=d;h=h+3|0}return h}function DO(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;i=Ma-32|0;Ma=i;a:{b:{c:{if((b|0)!=(c|0)){j=v[296206];v[296206]=0;g=Ma-16|0;Ma=g;te();e=Ma-16|0;Ma=e;f=Ma-16|0;Ma=f;ND(f,b,i+28|0,2);k=v[f>>2];h=v[f+4>>2];b=v[f+12>>2];v[e+8>>2]=v[f+8>>2];v[e+12>>2]=b;v[e>>2]=k;v[e+4>>2]=h;Ma=f+16|0;h=v[e>>2];f=v[e+4>>2];b=v[e+12>>2];v[g+8>>2]=v[e+8>>2];v[g+12>>2]=b;v[g>>2]=h;v[g+4>>2]=f;Ma=e+16|0;h=v[g>>2];f=v[g+4>>2];e=v[g+12>>2];b=i;v[b+16>>2]=v[g+8>>2];v[b+20>>2]=e;v[b+8>>2]=h;v[b+12>>2]=f;Ma=g+16|0;h=v[b+16>>2];f=v[b+20>>2];g=v[b+8>>2];e=v[b+12>>2];b=v[296206];if(!b){break c}if(v[i+28>>2]!=(c|0)){break b}l=g;m=e;n=h;o=f;if((b|0)!=68){break a}break b}v[d>>2]=4;break a}v[296206]=j;if(v[i+28>>2]==(c|0)){break a}}v[d>>2]=4;g=l;e=m;h=n;f=o}v[a>>2]=g;v[a+4>>2]=e;v[a+8>>2]=h;v[a+12>>2]=f;Ma=i+32|0}function qu(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=Ma-32|0;Ma=h;Cu(b,3);i=x[b+10>>1];e=x[b+8>>1];f=e;a:{b:{c:{if(!v[b+20>>2]){Re(b);f=x[b+8>>1];d=e+1|0;if(f>>>0>d>>>0){break c}}d=x[b+12>>1];if(v[279246]<(d+x[b+14>>1]|0)){break a}c=v[b+20>>2];d=d+v[279245]|0;break b}c=v[b+20>>2];d=c+(x[b+12>>1]+B(d,x[b+14>>1])|0)|0}if(!c){Re(b);f=x[b+8>>1]}d:{if(e>>>0>=f>>>0){g=x[b+12>>1];if(v[279246]<(g+x[b+14>>1]|0)){break a}c=v[b+20>>2];g=g+v[279245]|0;break d}c=v[b+20>>2];g=c+(x[b+12>>1]+B(e,x[b+14>>1])|0)|0}if(!c){Re(b);f=x[b+8>>1]}j=a;k=b;c=e-1|0;l=c;e:{if(!(e>>>0<=f>>>0?e:0)){c=x[b+14>>1];b=x[b+12>>1];if(v[279246]<(c+b|0)){break a}b=b+v[279245]|0;break e}b=v[b+20>>2]+(x[b+12>>1]+B(c,x[b+14>>1])|0)|0}Qa[v[v[a>>2]+48>>2]](j,k,i,l,d,g,b);Ma=h+32|0;return}lb(mb(h+8|0,260021,271561,577,327329));L()}function oA(a,b,c,d){var e=0,f=0;e=v[a+5820>>2];a:{if((e|0)>=14){e=x[a+5816>>1]|d<>1]=e;f=v[a+20>>2];v[a+20>>2]=f+1;t[f+v[a+8>>2]|0]=e;e=v[a+20>>2];v[a+20>>2]=e+1;t[e+v[a+8>>2]|0]=w[a+5817|0];e=d&65535;d=v[a+5820>>2];f=e>>>16-d|0;u[a+5816>>1]=f;d=d-13|0;break a}f=x[a+5816>>1]|d<>1]=f;d=e+3|0}b:{if((d|0)>=9){d=v[a+20>>2];v[a+20>>2]=d+1;t[d+v[a+8>>2]|0]=f;d=v[a+20>>2];v[a+20>>2]=d+1;t[d+v[a+8>>2]|0]=w[a+5817|0];break b}if((d|0)<1){break b}d=v[a+20>>2];v[a+20>>2]=d+1;t[d+v[a+8>>2]|0]=f}v[a+5820>>2]=0;u[a+5816>>1]=0;d=v[a+20>>2];v[a+20>>2]=d+1;t[d+v[a+8>>2]|0]=c;d=v[a+20>>2];v[a+20>>2]=d+1;t[d+v[a+8>>2]|0]=c>>>8;d=v[a+20>>2];v[a+20>>2]=d+1;e=d+v[a+8>>2]|0;d=c^-1;t[e|0]=d;e=v[a+20>>2];v[a+20>>2]=e+1;t[e+v[a+8>>2]|0]=d>>>8;cb(v[a+8>>2]+v[a+20>>2]|0,b,c);v[a+20>>2]=v[a+20>>2]+c}function RC(a,b,c){var d=0,e=0;a:{b:{d=v[b+4>>2];c:{if(d>>>0<=4){e=x[b+2>>1];if(x[a+456>>1]==19789){if((e|0)==6){a=1;d:{switch(d-1|0){case 3:t[c+3|0]=v[b+8>>2];case 2:t[c+2|0]=v[b+8>>2]>>>8;case 1:t[c+1|0]=x[b+10>>1];break;case 0:break d;default:break c}}break b}a=1;e:{switch(d-1|0){case 3:t[c+3|0]=v[b+8>>2];case 2:t[c+2|0]=v[b+8>>2]>>>8;case 1:t[c+1|0]=x[b+10>>1];break;case 0:break e;default:break c}}break b}if((e|0)==6){a=1;f:{switch(d-1|0){case 3:t[c+3|0]=w[b+11|0];case 2:t[c+2|0]=x[b+10>>1];case 1:t[c+1|0]=v[b+8>>2]>>>8;break;case 0:break f;default:break c}}break a}a=1;g:{switch(d-1|0){case 3:t[c+3|0]=w[b+11|0];case 2:t[c+2|0]=x[b+10>>1];case 1:t[c+1|0]=v[b+8>>2]>>>8;break;case 0:break g;default:break c}}break a}a=(bh(a,b,c)|0)!=0}return a}t[c|0]=w[b+11|0];return 1}t[c|0]=v[b+8>>2];return 1}function dq(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;g=Ma-192|0;Ma=g;a:{if(!b){while(1){b=w[c|0];if(!b){d=e;break a}t[e+g|0]=b;d=e|1;b=w[c+1|0];if(!b){break a}t[d+g|0]=b;d=e|2;b=w[c+2|0];if(!b){break a}t[d+g|0]=b;d=191;b=e|3;if((b|0)==191){break a}d=w[c+3|0];if(d){t[b+g|0]=d;e=e+4|0;c=c+4|0;continue}else{d=b;break a}}}while(1){b:{c:{f=w[c|0];if((f|0)!=64){e=c;if(!f){break a}break c}i=w[c+1|0];if(!i){e=c;break c}e=c+1|0;f=0;while(1){h=f;if(w[f+74417|0]!=(i|0)){f=h+1|0;if((h|0)!=9){continue}}break}if(h>>>0>7){break c}d:{if(d>>>0>190){break d}e=(h<<5)+b|0;h=e+32|0;f=d;while(1){d=w[e|0];if(!d){d=f;break d}if(e>>>0>=h>>>0){d=f;break d}t[f+g|0]=d;e=e+1|0;d=191;f=f+1|0;if((f|0)!=191){continue}break}}c=c+2|0;break b}t[d+g|0]=w[e|0];d=d+1|0;c=e+1|0}if(d>>>0<191){continue}break}}t[d+g|0]=0;Db(a,g);Ma=g+192|0}function $8(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=Ma-32|0;Ma=f;a:{if(x[a+84>>1]!=1){wb(v[a+628>>2],v[a>>2],53264,0);break a}b=v[a+584>>2];c=b;b:{if(w[a+13|0]&4){h=Tl(a);e=a+68|0;break b}h=Gi(a);e=a+56|0}g=v[e>>2];v[c+12>>2]=g;v[b+8>>2]=h;e=1;e=t[b+28|0]&1?e:x[a+88>>1]==4;v[b+80>>2]=0;c:{c=g>>>0<4294967264?g+31&-32:0;c=e?(c|0)==(c&2147483616)?c<<1:0:c;if(!(!c|(c|0)<0)){i=c<<1;if(i){break c}}b=v[a>>2];a=v[a+628>>2];v[f>>2]=g;wb(a,b,53764,f);break a}d=Tf(a,i,4,54536);v[b+80>>2]=d;if(!d){d=0;break a}v[b+88>>2]=d;v[b+84>>2]=e?d+(c<<2)|0:0;if(!(!(t[b+28|0]&1)|x[a+88>>1]!=3)){v[a+556>>2]=492;v[a+548>>2]=492;v[a+540>>2]=492}b=v[a+584>>2];if(e){c=b;b=gb(h);v[c+96>>2]=b;d=1;if(b){break a}b=v[a+628>>2];v[f+16>>2]=v[a>>2];wb(b,55050,55493,f+16|0);d=0;break a}v[b+96>>2]=0;d=1}Ma=f+32|0;return d|0}function hNa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a=v[a+12>>2];if(!a){return 0}g=v[a+180>>2];if(g){a=0;c=w[b+11|0];d=c<<24>>24<0;c=d?v[b+4>>2]:c;e=ab(c+1|0);t[e+c|0]=0;a:{if((c|0)<1){break a}b=d?v[b>>2]:b;d=c&3;if(c-1>>>0>=3){c=c&-4;while(1){t[a+e|0]=v[(a<<2)+b>>2];f=a|1;t[f+e|0]=v[(f<<2)+b>>2];f=a|2;t[f+e|0]=v[(f<<2)+b>>2];f=a|3;t[f+e|0]=v[(f<<2)+b>>2];a=a+4|0;c=c-4|0;if(c){continue}break}}if(!d){break a}while(1){t[a+e|0]=v[(a<<2)+b>>2];a=a+1|0;d=d-1|0;if(d){continue}break}}c=0;b:{if(!e|(!g|!(w[g+9|0]&2))){break b}c:{d:{d=v[g+128>>2];b=v[d+40>>2];switch(b+2|0){case 0:break b;case 2:break d;default:break c}}a=v[g+96>>2];b=v[v[a>>2]+32>>2];e:{if(!b){b=0;break e}b=Qa[b|0](a,233523)|0;d=v[g+128>>2]}v[d+40>>2]=b?b:-2}if(!b){break b}a=v[b+4>>2];if(!a){break b}c=Qa[a|0](g,e)|0}$a(e)}return c|0}function UT(a){var b=0,c=0,d=0;Tb(a,v[a+468>>2]);v[a+468>>2]=0;b=v[a+472>>2];if(b){d=a;c=8-v[a+456>>2]|0;if((c|0)!=31){Tb(a,v[b>>2]);b=1;c=1<=2){c=(c|0)>1?c:1;while(1){Tb(a,v[v[a+472>>2]+(b<<2)>>2]);b=b+1|0;if((c|0)!=(b|0)){continue}break}}b=v[a+472>>2]}Tb(d,b);v[a+472>>2]=0}Tb(a,v[a+476>>2]);v[a+476>>2]=0;Tb(a,v[a+480>>2]);v[a+480>>2]=0;b=v[a+484>>2];if(b){d=a;c=8-v[a+456>>2]|0;if((c|0)!=31){Tb(a,v[b>>2]);b=1;c=1<=2){c=(c|0)>1?c:1;while(1){Tb(a,v[v[a+484>>2]+(b<<2)>>2]);b=b+1|0;if((c|0)!=(b|0)){continue}break}}b=v[a+484>>2]}Tb(d,b);v[a+484>>2]=0}b=v[a+488>>2];if(b){d=a;c=8-v[a+456>>2]|0;if((c|0)!=31){Tb(a,v[b>>2]);b=1;c=1<=2){c=(c|0)>1?c:1;while(1){Tb(a,v[v[a+488>>2]+(b<<2)>>2]);b=b+1|0;if((c|0)!=(b|0)){continue}break}}b=v[a+488>>2]}Tb(d,b);v[a+488>>2]=0}}function T2a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=Ma-16|0;Ma=f;b=-1;a:{if(qf(c,a+12|0)){break a}if(di(c,a+16|0)){break a}if(di(c,a+20|0)){break a}if(di(c,a+24|0)){break a}if(di(c,a+28|0)){break a}if(di(c,a+32|0)){break a}if(di(c,a+36|0)){break a}if(di(c,a+40|0)){break a}if(di(c,a+44|0)){break a}if(qf(c,a+48|0)|!v[a+16>>2]|(!v[a+20>>2]|!v[a+32>>2])){break a}if(!v[a+36>>2]){break a}d=v[a+48>>2];if(!d){break a}d=gb(d<<2);v[a+52>>2]=d;if(!d){break a}b:{if(v[a+48>>2]){b=0;while(1){c:{d:{if(er(c,f+15|0)){break d}e=b<<2;if(er(c,(e+v[a+52>>2]|0)+2|0)){break d}if(!er(c,(e+v[a+52>>2]|0)+3|0)){break c}}d=v[a+52>>2];break b}d=v[a+52>>2];e=e+d|0;t[e+1|0]=w[f+15|0]>>>7;t[e|0]=(w[f+15|0]&127)+1;b=b+1|0;if(b>>>0>2]){continue}break}}b=0;if(!(t[c+8|0]&1)){break a}}$a(d);b=-1}Ma=f+16|0;return b|0}function KY(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=-1;h=v[b>>2];c=w[b+11|0];g=c<<24>>24<0;i=g?v[b+4>>2]:c;c=i+1|0;f=ab(c);j=ab((c|0)!=(c&1073741823)?-1:c<<2);c=0;g=g?h:b;if(w[g|0]==47){t[f|0]=47;c=1}a:{b:{c:{d:{e:{if((i|0)>0){f:while(1){b=d;while(1){g:{h=w[b+g|0];if((h|0)==47){h:{if((b|0)<=(d|0)){break h}i:{if((b-d|0)!=2){break i}d=d+g|0;if(w[d|0]!=46|w[d+1|0]!=46|(e|0)<1){break i}e=e-1|0;c=v[(e<<2)+j>>2];break h}t[c+f|0]=47;e=e+1|0;c=c+1|0;v[(e<<2)+j>>2]=c}d=b+1|0;if((i|0)>(d|0)){continue f}break g}t[c+f|0]=h;c=c+1|0;b=b+1|0;if((i|0)>(b|0)){continue}}break}break}t[c+f|0]=0;if(c>>>0>=4294967280){break c}if(c>>>0<11){break e}d=c+16&-16;b=ab(d);v[a+8>>2]=d|-2147483648;v[a>>2]=b;v[a+4>>2]=c;break d}t[c+f|0]=0}t[a+11|0]=c;if(!c){break b}b=a}cb(b,f,c);break a}sc();L()}c=0;b=a}t[b+c|0]=0;$a(f)}function l0(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;g=Ma-16|0;Ma=g;a:{if(!a){d=37;break a}d=6;if(!b){break a}f=v[a>>2];if(!f){break a}b:{h=v[f>>2];c=v[a+72>>2];e=423912;c:{if((c|0)==1651078259){break c}e=423944;if((c|0)==1869968492){break c}d:{e:{if(!f){break e}d=v[f+148>>2];if(!d){break e}while(1){e=v[d+8>>2];if((c|0)==v[e+16>>2]){break d}d=v[d+4>>2];if(d){continue}break}}e=0}if(!e){break b}e=e+20|0}c=cc(h,v[e>>2],g+12|0);d=v[g+12>>2];if(d){break a}v[c+4>>2]=e;v[c>>2]=f;v[c+8>>2]=v[e+4>>2];d=6;f:{f=v[a+64>>2];g:{if(f+2097151>>>0>4194302){break g}h=v[a+68>>2];if(h+2097151>>>0>4194302){break g}v[c+16>>2]=h<<10;v[c+12>>2]=f<<10;d=Qa[v[e+8>>2]](c,a)|0;if(!d){break f}e=v[c+4>>2]}a=v[v[c>>2]>>2];b=v[e+12>>2];if(b){Qa[b|0](c)}if(c){Qa[v[a+8>>2]](a,c)}break a}v[b>>2]=c;d=0;break a}d=18}Ma=g+16|0;return d}function J9(a){a=a|0;var b=0,c=0,d=0;d=Ma-32|0;Ma=d;b=v[a+584>>2];a:{b:{c:{d:{e:{c=x[a+90>>1];switch(c-32844|0){case 0:break d;case 1:break e;default:break c}}c=1;if(!VM(a)){break a}if(x[a+88>>1]==34677){v[a+544>>2]=469;f:{switch(v[b>>2]){case 0:v[b+20>>2]=470;break a;case 2:break a;case 1:break f;default:break b}}v[b+20>>2]=471;break a}v[a+544>>2]=472;g:{switch(v[b>>2]){case 0:v[b+20>>2]=473;break a;case 2:break a;case 1:break g;default:break b}}v[b+20>>2]=474;break a}c=1;if(!UM(a)){break a}v[a+544>>2]=475;h:{c=v[b>>2];switch(c|0){case 1:break a;case 0:break h;default:break b}}v[b+20>>2]=476;c=1;break a}b=v[a>>2];a=v[a+628>>2];v[d+4>>2]=23330;v[d>>2]=c;wb(a,b,20394,d);c=1;break a}b=v[a>>2];c=v[a+628>>2];v[d+16>>2]=x[a+90>>1]==32844?44027:44429;wb(c,b,43131,d+16|0);c=0}Ma=d+32|0;return c|0}function G_a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=v[v[a+536>>2]+88>>2];d=(v[d+1176>>2]+B(v[d+1168>>2],v[a+572>>2])|0)+B(v[d+1164>>2],v[a+580>>2])|0;e=v[a+644>>2];a:{b:{c:{switch(w[a+2253|0]){case 0:case 4:break a;case 1:break c;default:break b}}if(v[a+588>>2]<=0){break b}while(1){c=w[d|0]|w[d+1|0]<<8;b=(c<<8|c>>>8)&65535;c=w[e|0]|w[e+1|0]<<8;c=b+((c<<8|c>>>8)&65535)&65535;c=c<<8|c>>>8;t[d|0]=c;t[d+1|0]=c>>>8;c=d+2|0;b=w[c|0]|w[c+1|0]<<8;f=(b<<8|b>>>8)&65535;b=w[e+2|0]|w[e+3|0]<<8;b=f+((b<<8|b>>>8)&65535)&65535;b=b<<8|b>>>8;t[c|0]=b;t[c+1|0]=b>>>8;c=d+4|0;b=w[c|0]|w[c+1|0]<<8;f=(b<<8|b>>>8)&65535;b=w[e+4|0]|w[e+5|0]<<8;b=f+((b<<8|b>>>8)&65535)&65535;b=b<<8|b>>>8;t[c|0]=b;t[c+1|0]=b>>>8;e=e+6|0;d=d+6|0;g=g+1|0;if((g|0)>2]){continue}break}}return 0}cb(d,e,B(v[a+588>>2],6));return 0}function Hk(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;f=Ma-256|0;Ma=f;e=Fg(84);v[a+8>>2]=e;a:{if(e){v[f+24>>2]=v[212752];g=v[212751];v[f+16>>2]=v[212750];v[f+20>>2]=g;g=v[212749];v[f+8>>2]=v[212748];v[f+12>>2]=g;g=v[212747];v[f>>2]=v[212746];v[f+4>>2]=g;g=eb(e,0,84);t[f+8|0]=w[b+8|0];e=0;b:{c:{while(1){if(v[c>>2]>0){break c}if(!(63104>>>e&1)){h=e<<2;i=h+g|0,j=Ze(v[h+851024>>2],f+32|0,f,c),v[i>>2]=j}e=e+1|0;if((e|0)!=20){continue}break}if(v[c>>2]>0){break c}if(!w[b+8|0]){break b}}VY(a);break a}t[g+80|0]=d;e=0;a=v[b+24>>2];d:{if(!a){break d}b=t[a|0];if(!b){break d}c=851104;e=240361;d=b&255;while(1){e:{h=w[e|0];f:{if((h|0)==(d|0)){if(Kb(e,a,zb(e))){break f}t[g+81|0]=w[c+4|0];break a}if((b|0)>24){break e}}e=v[c+8>>2];c=c+8|0;if(e){continue}}break}e=1}t[g+81|0]=e;break a}v[c>>2]=7}Ma=f+256|0}function l9(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;if((c|0)>=1){f=v[a+12>>2];while(1){g=c;e=+z[b>>2];d=32767;a:{if(e>=18371976e12){break a}d=65535;if(e<=-18371976e12){break a}c=v[a+4>>2];if(e>5.4136769e-20){e=(Kr(e)*1.4426950408889634+64)*256;if(c){c=x3a(v[296254],v[296255],1284865837,1481765933)+1|0;d=Pa;d=c>>>0<1?d+1|0:d;v[296254]=c;v[296255]=d;e=e+ +(d>>>1|0)*4.656612875245797e-10+-.5}if(D(e)<2147483648){d=~~e;break a}d=-2147483648;break a}d=0;if(!(e<-5.4136769e-20)){break a}e=(Kr(-e)*1.4426950408889634+64)*256;if(c){c=x3a(v[296254],v[296255],1284865837,1481765933)+1|0;d=Pa;d=c>>>0<1?d+1|0:d;v[296254]=c;v[296255]=d;e=e+ +(d>>>1|0)*4.656612875245797e-10+-.5}b:{if(D(e)<2147483648){c=~~e;break b}c=-2147483648}d=c|-32768}b=b+4|0;c=g-1|0;u[f>>1]=d;f=f+2|0;if((g|0)>1){continue}break}}}function Jf(a){var b=0,c=0,d=0,e=0,f=0;b=v[a+12>>2];c=v[b>>2];f=v[c+4>>2];e=y[a+4>>2]>2];v[b>>2]=v[c+(e?12:8)>>2];c=v[a+8>>2];while(1){a:{if(c){b=v[a>>2];break a}b:{c:{d:{e:{if(!v[a+32>>2]){d=v[a+24>>2];c=v[d+8>>2];if(c&7){break e}b=v[d+64>>2];if(!((b|0)<0|v[d+60>>2]<(b|0))){v[d+8>>2]=c|4;break e}b=v[d+28>>2];v[d+28>>2]=b-1;f:{if((b|0)>=1){v[d+60>>2]=v[d+60>>2]+1;b=v[d+24>>2];v[d+24>>2]=b+1;b=w[b|0];break f}b=Eb(d,1);if((b|0)==-1){break e}}c=w[a+28|0];t[a+28|0]=b;if((c|0)!=255){break d}if((b|0)>=144){break c}b=v[a>>2]+(b<<9)|0;c=7;break a}b=v[a>>2]+65280|0;break b}v[a+32>>2]=1;c=w[a+28|0];b=255;t[a+28|0]=255;if((c|0)==255){break c}}c=8;b=v[a>>2]+(b<<8)|0;break a}b=v[a>>2]+65280|0}c=8}c=c-1|0;v[a+8>>2]=c;v[a>>2]=b<<1;b=v[a+4>>2];v[a+4>>2]=b<<1;if(!(b&16384)){continue}break}return f^e}function ES(a,b){var c=0,d=0,e=0;d=Ma-16|0;Ma=d;c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;c=v[b+12>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=c;v[a+16>>2]=0;v[a+20>>2]=v[279250];e=a+16|0;c=v[b+16>>2];a:{if(c){Qa[v[v[c>>2]+28>>2]](d,c,1);break a}v[d>>2]=0}jb(e,d);c=v[d>>2];v[d>>2]=0;b:{if(!c){break b}e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(e){break b}e=v[c+4>>2];if(!e){v[c+4>>2]=-32767}if(!e){Qa[v[v[c>>2]+4>>2]](c)}}c=v[a+16>>2];c=v[(c?c+12|0:1117e3)>>2];v[a+24>>2]=0;v[a+20>>2]=c;v[a+28>>2]=v[279250];c=a+24|0;b=v[b+24>>2];c:{if(b){Qa[v[v[b>>2]+28>>2]](d+8|0,b,1);break c}v[d+8>>2]=0}jb(c,d+8|0);b=v[d+8>>2];v[d+8>>2]=0;d:{if(!b){break d}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break d}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[a+24>>2];v[a+28>>2]=v[(b?b+12|0:1117e3)>>2];Ma=d+16|0;return a}function dla(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;if((c|0)<1){return 0}e=v[a+12>>2];d=e+c|0;a:{b:{if((d|0)<=(v[a+16>>2]+4095&-4096)){break b}e=v[a+20>>2];c:{if((d|0)<=e<<12){break c}d=d+65535>>12&-16;v[a+20>>2]=d;Sc(a+28|0,d,4);f=v[a+20>>2];if((f|0)<=(e|0)){break c}d=v[a+24>>2];g=e<<2;h=d+g|0;e=h+4|0;i=d^-1;d=d+(f<<2)|0;eb(h,0,((i+(e>>>0>d>>>0?e:d)|0)-g|0)+4&-4)}e=v[a+12>>2];f=e+c|0;if((f|0)<=(e&-4096)){break b}d=e>>12;while(1){g=v[a+24>>2]+(d<<2)|0;if(!v[g>>2]){j=g,k=ab(4096),v[j>>2]=k}d=d+1|0;if((f|0)>d<<12){continue}break}if((c|0)<1){break a}}d=c;while(1){g=v[v[a+24>>2]+(e>>12<<2)>>2]+(e&4095)|0;e=((e|4095)-e|0)+1|0;f=(e|0)>(d|0)?d:e;cb(g,b,f);e=f+v[a+12>>2]|0;v[a+12>>2]=e;b=b+f|0;d=d-f|0;if((d|0)>0){continue}break}}if(v[a+16>>2]<(e|0)){v[a+16>>2]=e}return c|0}function Nm(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{e=v[a+12>>2];c=w[e|0];b:{if(!c){b=e;break b}while(1){b=c<<24>>24;if(!((b|0)==32|b-9>>>0<5)){break a}c=w[e+1|0];b=e+1|0;e=b;if(c){continue}break}}v[a+12>>2]=b;return 1}g=-1;c:{d:{e:{if((b|32)-97>>>0<26){d=e;break e}if((c&255)==95){d=e;break e}d=e;if(b-48>>>0>9){break d}}f:{while(1){b=c<<24>>24;if(!((c&255)==95|(b|32)-97>>>0<26)&b-48>>>0>9){break f}c=w[d+1|0];b=d+1|0;d=b;if(c){continue}break}v[a+12>>2]=b;break c}if((c&255)!=61){if(!((b|0)==32|b-9>>>0<5)){break d}t[d|0]=0;v[a+12>>2]=d+1;break c}g=0;t[d|0]=0;f=d+1|0;c=f;b=w[d+1|0];g:{if(!b){break g}d=f;while(1){h:{c=d+1|0;b=b<<24>>24;if((b|0)==32|b-9>>>0<5){break h}d=c;b=w[c|0];if(b){continue}break g}break}t[d|0]=0}v[a+8>>2]=f;v[a+4>>2]=e;v[a+12>>2]=c}return g}v[a+8>>2]=4943;v[a+4>>2]=e;return 0}function qya(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=-1;a:{b:{if(!(!d|(!a|!b))){if(!c){v[b>>2]=0;v[d>>2]=0;return 0}e=c;h=a;f=v[d>>2];c:{if((f|0)<1){break c}l=v[b>>2]+a|0;k=c+f|0;f=c;while(1){e=t[f|0];g=e&255;i=0;d:{if((e|0)>-1){j=0;break d}e=e&255;if(e>>>0<=191){break a}if(e>>>0<=223){g=g&31;i=1;j=1;break d}e:{if(e>>>0<=239){g=g&15;e=2;break e}if(e>>>0>247){break b}g=g&7;e=3}j=e;i=1}e=f+1|0;if((k-e|0)<(j|0)){e=f;break c}if(e>>>0>>0&i){while(1){i=w[e|0];if((i&192)!=128){break a}g=i&63|g<<6;j=j-1|0;e=e+1|0;if(k>>>0>e>>>0?j:0){continue}break}if(g>>>0>255){break a}}if(h>>>0>=l>>>0){e=f;break c}t[h|0]=g;h=h+1|0;f=e;if(e>>>0>>0){continue}break}}v[b>>2]=h-a;v[d>>2]=e-c;e=v[b>>2]}return e|0}v[b>>2]=h-a;v[d>>2]=f-c;return-2}v[b>>2]=h-a;v[d>>2]=f-c;return-2}function Zxa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=B(v[b+36>>2],v[b+28>>2]);f=v[a+28>>2];h=(j<<1)-f|0;e=v[a+272>>2];if(!((h|0)<1|(e|0)<1)){g=e&3;b=0;if(e-1>>>0>=3){k=e&-4;while(1){e=b<<2;i=f+v[e+c>>2]|0;eb(i,w[i-1|0],h);i=f+v[(e|4)+c>>2]|0;eb(i,w[i-1|0],h);i=f+v[(e|8)+c>>2]|0;eb(i,w[i-1|0],h);e=f+v[(e|12)+c>>2]|0;eb(e,w[e-1|0],h);b=b+4|0;k=k-4|0;if(k){continue}break}}if(g){while(1){e=f+v[(b<<2)+c>>2]|0;eb(e,w[e-1|0],h);b=b+1|0;g=g-1|0;if(g){continue}break}}e=v[a+272>>2]}if(!((e|0)<1|!j)){h=j&-2;k=j&1;e=0;while(1){f=e<<2;b=v[f+c>>2];g=v[d+f>>2];f=h;if((j|0)!=1){while(1){t[g|0]=w[b|0]+w[b+1|0]>>>1;t[g+1|0]=(w[b+2|0]+w[b+3|0]|0)+1>>>1;b=b+4|0;g=g+2|0;f=f-2|0;if(f){continue}break}}if(k){t[g|0]=w[b|0]+w[b+1|0]>>>1}e=e+1|0;if((e|0)>2]){continue}break}}}function HIa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=Ma-272|0;Ma=d;Qa[v[b+60>>2]](b,d+80|0,16,d+76|0);e=v[d+76>>2];a:{if((e|0)<0){c=162;break a}c=3;if(!e|(e|0)>16){break a}j=v[b+8>>2];k=v[b>>2];if((e|0)>=1){i=v[a+532>>2];e=0;while(1){c=(d+80|0)+B(g,12)|0;v[b>>2]=v[c>>2];v[b+8>>2]=v[c+4>>2];Qa[v[b+60>>2]](b,d+16|0,4,d+12|0);f=v[d+12>>2];b:{if(!g){c=3;if(f-1>>>0>3){break a}c=TA(a,v[d+76>>2],f);if(c){break a}i=v[a+532>>2];c=v[d+12>>2];e=f;break b}c=e;if((f|0)==(c|0)){break b}c=3;break a}if((c|0)>=1){f=(g<<2)+i|0;c=0;while(1){h=(d+16|0)+B(c,12)|0;v[b>>2]=v[h>>2];v[b+8>>2]=v[h+4>>2];h=Qa[v[b+40>>2]](b,0)|0;v[v[f+24>>2]+(c<<2)>>2]=h;c=c+1|0;if((c|0)>2]){continue}break}}g=g+1|0;if((g|0)>2]){continue}break}}v[b+8>>2]=j;v[b>>2]=k;c=0}v[b+12>>2]=c;Ma=d+272|0}function vw(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=Ma-32|0;Ma=g;c=v[a>>2];a:{if(c>>>0<2){break a}while(1){d=v[a+12>>2];j=c-2|0;h=v[d+(j>>>4&268435452)>>2]+B(j&63,24)|0;i=c-1|0;d=v[d+(i>>>4&268435452)>>2]+B(i&63,24)|0;e=A[d>>3]-A[h>>3];f=e*e;e=A[d+8>>3]-A[h+8>>3];e=K(f+e*e);i=e>1e-14;A[h+16>>3]=i?e:1e14;if(i){break a}c=v[d+20>>2];v[g+24>>2]=v[d+16>>2];v[g+28>>2]=c;c=v[d+12>>2];v[g+16>>2]=v[d+8>>2];v[g+20>>2]=c;c=v[d+4>>2];v[g+8>>2]=v[d>>2];v[g+12>>2]=c;v[a>>2]=j;ww(a,g+8|0);c=v[a>>2];if(c>>>0>1){continue}break}}b:{if(!b|c>>>0<2){break b}h=v[a+12>>2];b=v[h>>2];e=A[b+8>>3];k=A[b>>3];while(1){c=c-1|0;b=v[h+(c>>>4&268435452)>>2]+B(c&63,24)|0;f=k-A[b>>3];l=f*f;f=e-A[b+8>>3];f=K(l+f*f);d=f>1e-14;A[b+16>>3]=d?f:1e14;if(d){break b}v[a>>2]=c;if(c>>>0>1){continue}break}}Ma=g+32|0}function b3a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=v[a+16>>2]>>>2|0;v[a+20>>2]=c;d=gb(c<<3);v[a+24>>2]=d;a:{if(!d){break a}if(!v[a+20>>2]){return 0}if(qf(b,d)){break a}b:{while(1){c=v[b+8>>2];if(c&7){break b}c:{e=v[b+64>>2];if((e|0)>=0&(e|0)<=v[b+60>>2]){break c}c=v[b+28>>2];v[b+28>>2]=c-1;d:{if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;c=w[c|0];break d}c=Eb(b,1);if((c|0)==-1){break a}}d=(f<<3)+d|0;t[d+4|0]=c;c=v[b+8>>2];if(c&7){break b}e=v[b+64>>2];if((e|0)>=0&(e|0)<=v[b+60>>2]){break c}c=v[b+28>>2];v[b+28>>2]=c-1;e:{if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;c=w[c|0];break e}c=Eb(b,1);if((c|0)==-1){break a}}t[d+5|0]=c;f=f+1|0;if(f>>>0>=y[a+20>>2]){return 0}d=v[a+24>>2];if(!qf(b,d+(f<<3)|0)){continue}break b}break}v[b+8>>2]=c|4}}return-1}function MGa(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;f=Ma-16|0;Ma=f;v[f+12>>2]=0;a:{if(v[c+76>>2]){break a}e=8;d=a+1|0;if(d>>>0>b>>>0){break a}a=w[a|0];g=a&15;i=b;h=a>>>4|0;b=g+h|0;if(i>>>0<(b<<1)+d>>>0){break a}a=yb(v[c>>2],4,0,b,0,f+12|0);e=v[f+12>>2];if(e){break a}v[c+76>>2]=a;v[c- -64>>2]=(g<<2)+a;e=0;if(!b){break a}c=g+h|0;g=c-1|0;e=c&3;if(e){while(1){c=w[d|0]|w[d+1|0]<<8;v[a>>2]=(c<<8|c>>>8)<<16>>16;a=a+4|0;b=b-1|0;d=d+2|0;e=e-1|0;if(e){continue}break}}if(g>>>0>=3){while(1){c=w[d|0]|w[d+1|0]<<8;v[a>>2]=(c<<8|c>>>8)<<16>>16;c=w[d+2|0]|w[d+3|0]<<8;v[a+4>>2]=(c<<8|c>>>8)<<16>>16;c=w[d+4|0]|w[d+5|0]<<8;v[a+8>>2]=(c<<8|c>>>8)<<16>>16;c=w[d+6|0]|w[d+7|0]<<8;v[a+12>>2]=(c<<8|c>>>8)<<16>>16;a=a+16|0;d=d+8|0;b=b-4|0;if(b){continue}break}}e=v[f+12>>2]}Ma=f+16|0;return e|0}function OG(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=Ma-48|0;Ma=e;v[a+88>>2]=13;v[a+72>>2]=13;v[a+56>>2]=13;v[a+40>>2]=13;v[a+24>>2]=13;v[a+8>>2]=13;v[e+32>>2]=13;v[e+16>>2]=13;a:{if(c){g=a+88|0;h=a+72|0;i=a+56|0;j=a+40|0;k=a+24|0;l=a+8|0;v[a>>2]=1;v[a+4>>2]=0;Yd(c,228438,e+32|0);b:{c:{switch(v[e+32>>2]-7|0){case 2:ue(e+32|0,b,e+16|0,0);if(v[e+16>>2]==7){f=v[e+44>>2];v[e+8>>2]=v[e+40>>2];v[e+12>>2]=f;f=ab(8);HG(f,b,e+8|0,v[e+24>>2]);v[a+4>>2]=f}bb(e+16|0);break b;case 0:break c;default:break b}}f=ab(8);HG(f,b,0,v[e+40>>2]);v[a+4>>2]=f}bb(e+32|0);ib(c,233858,l,0);ib(c,286132,k,0);ib(c,245390,j,0);ib(c,272690,i,0);ib(c,276637,h,0);ib(c,236654,g,0);break a}v[a+88>>2]=5;v[a+72>>2]=5;v[a+56>>2]=5;v[a+40>>2]=5;v[a+24>>2]=5;v[a+8>>2]=5;v[a>>2]=0;v[a+4>>2]=0}v[a+104>>2]=d;Ma=e+48|0}function YP(a){var b=0,c=C(0),d=0,e=C(0),f=0,g=C(0);f=(q(a),j(2));b=f&2147483647;if(b>>>0>=1283457024){return((q(a),j(2))&2147483647)>>>0>2139095040?a:(l(2,(q(a),j(2))&-2147483648|1070141402),p())}a:{b:{if(b>>>0<=1054867455){if(b>>>0<964689920){break a}b=-1;d=1;break b}a=C(D(a));c:{if(b>>>0<=1066926079){if(b>>>0<=1060110335){a=C(C(C(a+a)+C(-1))/C(a+C(2)));b=0;d=0;break b}b=1;a=C(C(a+C(-1))/C(a+C(1)));break c}if(b>>>0<=1075576831){b=2;a=C(C(a+C(-1.5))/C(C(a*C(1.5))+C(1)));break c}b=3;a=C(C(-1)/a)}d=0}e=C(a*a);c=C(e*e);g=C(c*C(C(c*C(-.106480173766613))+C(-.19999158382415771)));c=C(e*C(C(c*C(C(c*C(.06168760731816292))+C(.14253635704517365)))+C(.333333283662796)));if(d){return C(a-C(a*C(g+c)))}b=b<<2;a=C(z[b+994528>>2]-C(C(C(a*C(g+c))-z[b+994544>>2])-a));a=(f|0)>-1?a:C(-a)}return a}function lt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=v[c+12>>2];d=v[b+120>>2];if(d){Qa[d|0](v[b+116>>2])}while(1){d=v[b+84>>2];if(d){nB(d);continue}break}hB(b+108|0,1890,a,c);c=0;v[b+88>>2]=0;d=v[b+48>>2];if(d){Qa[d|0](b)}if(v[b+36>>2]>=1){while(1){g=c<<2;d=v[g+v[b+40>>2]>>2];f=v[v[d>>2]+100>>2];h=v[v[d+12>>2]+8>>2];if(h){Qa[h|0](d)}if(d){Qa[v[f+8>>2]](f,d)}v[v[b+40>>2]+g>>2]=0;c=c+1|0;if((c|0)>2]){continue}break}}c=v[b+40>>2];if(c){Qa[v[a+8>>2]](a,c)}v[b+36>>2]=0;v[b+40>>2]=0;c=v[e+52>>2];if(c){Qa[c|0](b)}c=v[b+104>>2];a:{if(!c){break a}d=v[c+28>>2];f=v[b+8>>2];b:{if(!c){break b}e=v[c+24>>2];if(!e){break b}Qa[e|0](c)}if(f&1024){break a}if(c){Qa[v[d+8>>2]](d,c)}}v[b+104>>2]=0;c=v[b+128>>2];if(c){if(c){Qa[v[a+8>>2]](a,c)}v[b+128>>2]=0}if(b){Qa[v[a+8>>2]](a,b)}}function Xx(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=Ma-16|0;Ma=c;v[c+12>>2]=166;g=v[c+12>>2];b=v[a+656>>2];if(b){d=v[a+660>>2];if(d){while(1){b=v[(e<<2)+b>>2];a:{if(x[b+12>>1]!=65){break a}f=v[b+16>>2];if(Kb(4034,f,4)){break a}$a(f);$a(b);d=v[a+660>>2]}e=e+1|0;if(e>>>0>>0){b=v[a+656>>2];continue}break}b=v[a+656>>2]}$a(b);v[a+660>>2]=0}if(!Pl(a,77296,g)){wb(v[a+628>>2],5487,10582,0)}Hf(a+40|0,0,208);v[a+100>>2]=-1;v[a+92>>2]=65537;v[a+96>>2]=65537;v[a+192>>2]=1;v[a+72>>2]=0;v[a+76>>2]=1;u[a+136>>1]=2;v[a+84>>2]=65537;v[a+676>>2]=0;v[a+672>>2]=388;v[a+668>>2]=389;v[a+664>>2]=0;v[a+652>>2]=390;u[a+208>>1]=1;v[a+204>>2]=131074;b=a- -64|0;v[b>>2]=1;v[b+4>>2]=0;b=v[279420];if(b){Qa[b|0](a)}v[c>>2]=1;Kc(a,259,c);v[a+588>>2]=-1;v[a+508>>2]=-1;v[a+12>>2]=v[a+12>>2]&-1033;Ma=c+16|0;return 1}function bh(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=Ma-16|0;Ma=g;a:{b:{e=v[b+4>>2];f=!e;d=x[b+2>>1];if(d>>>0<=13){d=v[(d<<2)+81924>>2]}else{d=0}if(f|!d){break b}d=x3a(d,0,e,0);if(Pa){break b}c:{if(!(w[a+13|0]&8)){if((Qa[v[a+640>>2]](v[a+628>>2],v[b+8>>2],0)|0)!=v[b+8>>2]){break b}if((Qa[v[a+632>>2]](v[a+628>>2],c,d)|0)==(d|0)){break c}break b}f=v[b+8>>2];e=d+f|0;if(e>>>0>>0|d>>>0>e>>>0|y[a+616>>2]>>0){break b}Fd(c,v[a+612>>2]+f|0,d)}d:{if(!(w[a+12|0]&128)){break d}h=d;e:{switch(x[b+2>>1]-3|0){case 0:case 5:mr(c,v[b+4>>2]);break d;case 1:case 6:case 8:Vn(c,v[b+4>>2]);break d;case 2:case 7:Vn(c,v[b+4>>2]<<1);break d;case 9:break e;default:break a}}TC(c,v[b+4>>2])}h=d;break a}c=v[a>>2];d=v[a+628>>2];i=g,j=v[Pe(a,x[b>>1])+16>>2],v[i>>2]=j;wb(d,c,54727,g)}Ma=g+16|0;return h}function QFa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;i=Ma-16|0;Ma=i;e=6;a:{if((b|0)<0|v[a+16>>2]<=(b|0)){break a}f=v[a+8>>2];e=v[a+4>>2]+d|0;b:{if(f>>>0>=e>>>0){break b}g=v[a>>2];j=c-g|0;m=(j|0)>-1&f>>>0>j>>>0;while(1){f=((f>>>2|0)+f|0)+1024&-1024;if(e>>>0>f>>>0){continue}break}k=v[a+32>>2];h=cc(k,f,i+12|0);v[a>>2]=h;e=v[i+12>>2];if(e){v[a>>2]=g;break a}if(g){cb(h,g,v[a+8>>2]);h=v[a+16>>2];if((h|0)>=1){e=v[a+24>>2];h=e+(h<<2)|0;n=v[a>>2]-g|0;while(1){l=v[e>>2];if(l){v[e>>2]=n+l}e=e+4|0;if(h>>>0>e>>>0){continue}break}}if(g){Qa[v[k+8>>2]](k,g)}}v[a+8>>2]=f;e=m?j:-1;if((e|0)<0){break b}c=e+v[a>>2]|0}e=0;b=b<<2;f=v[a>>2];g=v[a+4>>2];v[b+v[a+24>>2]>>2]=f?f+g|0:0;v[b+v[a+28>>2]>>2]=d;cb(g+v[a>>2]|0,c,d);v[a+4>>2]=v[a+4>>2]+d}Ma=i+16|0;return e|0}function MA(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;g=Ma+-64|0;Ma=g;i=v[b>>2];v[g>>2]=i;v[g+4>>2]=v[c>>2];k=w[e+9|0];l=k?10:9;while(1){m=(h<<2)+g|0;v[m+8>>2]=i;if(w[e+h|0]){n=m,o=ed(a,j)+i|0,v[n+8>>2]=o;j=j+1|0}h=h+1|0;if((l|0)!=(h|0)){i=v[(h<<2)+g>>2];continue}break}if(!k){v[g+44>>2]=v[c>>2]}a:{if(f){i=v[c>>2];e=v[g+44>>2];h=v[b>>2];f=v[g+40>>2];j=ed(a,j);k=f-h|0;h=k>>31;l=e-i|0;i=l>>31;if((h^h+k)>(i^i+l)){h=f+j|0;f=v[c>>2];break a}h=v[b>>2];f=e+j|0;break a}b:{if(w[e+10|0]){h=v[g+40>>2]+ed(a,j)|0;f=j+1|0;break b}h=v[b>>2];f=j}if(w[e+11|0]){e=v[g+44>>2];f=e+ed(a,f)|0;break a}e=v[g+44>>2];f=v[c>>2]}Oo(d,v[g+8>>2],v[g+12>>2],v[g+16>>2],v[g+20>>2],v[g+24>>2],v[g+28>>2]);Oo(d,v[g+32>>2],v[g+36>>2],v[g+40>>2],e,h,f);v[a+12>>2]=v[a+8>>2];v[b>>2]=h;v[c>>2]=f;Ma=g- -64|0}function Dw(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;k=e>>8;if((d|0)==(f|0)){Wo(a,k,b);return}n=e&255;h=c&255;j=c>>8;if((j|0)==(k|0)){b=f-d|0;v[a+56>>2]=b+v[a+56>>2];v[a+60>>2]=v[a+60>>2]+B(b,h+n|0);return}i=f-d|0;l=-1;g=a;c=e-c|0;a:{if((c|0)>-1){o=256;l=1;e=256-h|0;break a}c=0-c|0;e=h}i=B(e,i);e=(i|0)/(c|0)|0;m=g;i=i-B(c,e)|0;g=e+(i>>31)|0;v[m+56>>2]=g+v[a+56>>2];v[a+60>>2]=v[a+60>>2]+B(g,h|o);e=j+l|0;Wo(a,e,b);h=d+g|0;if((e|0)!=(k|0)){g=(f+g|0)-h<<8;d=(g|0)/(c|0)|0;g=g-B(c,d)|0;j=g>>31;m=(j&c)+g|0;j=d+j|0;d=i-((i|0)<0?0:c)|0;while(1){d=d+m|0;g=j+((d^-1)>>>31|0)|0;v[a+56>>2]=g+v[a+56>>2];v[a+60>>2]=v[a+60>>2]+(g<<8);e=e+l|0;Wo(a,e,b);d=d-((d|0)<0?0:c)|0;h=g+h|0;if((e|0)!=(k|0)){continue}break}}b=f-h|0;v[a+56>>2]=b+v[a+56>>2];v[a+60>>2]=v[a+60>>2]+B(b,(n|256)-o|0)}function oN(a){var 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;e=Ma-16|0;Ma=e;g=lj(e,286429);h=g;d=Ma-16|0;Ma=d;v[d+12>>2]=0;if(w[a+11|0]>>>7|0){a=v[a>>2]}v[d+8>>2]=v[296206];v[296206]=0;c=Ma-16|0;Ma=c;i=d+12|0;b=Ma-224|0;Ma=b;eb(b+16|0,0,144);v[b+92>>2]=-1;v[b+64>>2]=60;v[b+60>>2]=b+160|4;v[b+48>>2]=4421;j=a;while(1){f=a;a=a+4|0;if(PO(v[f>>2])){continue}break}v[b+100>>2]=f;a=b+16|0;Rj(a,0,0);RD(b,a,1,1);k=v[b+8>>2];l=v[b+12>>2];m=v[b>>2];n=v[b+4>>2];if(i){a=v[b+136>>2]+(v[b+20>>2]-v[b+24>>2]|0)|0;v[i>>2]=a?(a<<2)+f|0:j}v[c+8>>2]=k;v[c+12>>2]=l;v[c>>2]=m;v[c+4>>2]=n;Ma=b+224|0;o=Gx(v[c>>2],v[c+4>>2],v[c+8>>2],v[c+12>>2]);Ma=c+16|0;Fr(1184824,d+8|0);a:{b:{if(v[d+8>>2]!=68){if(v[d+12>>2]==(j|0)){break b}Ma=d+16|0;break a}dD(h);L()}nN(h);L()}Vb(g);Ma=e+16|0;return o}function cx(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;i=v[b+8>>2];d=d-i|0;g=v[b+4>>2];h=c-g|0;c=v[a+36>>2];if(c){if(!(t[a|0]&1)){$a(c)}v[a+36>>2]=0;v[a+40>>2]=0}c=v[a+28>>2];if(c){$a(c);v[a+28>>2]=0}c=(((i^-1)+f|0)-d|0)+1|0;v[a+32>>2]=c;v[a+24>>2]=(((g^-1)+e|0)-h|0)+1;v[a+20>>2]=c;v[a>>2]=v[a>>2]|1;c=gb(c<<2);v[a+28>>2]=c;e=v[a+20>>2];a:{if((e|0)<1){break a}v[c>>2]=v[v[b+28>>2]+(d<<2)>>2]+(h<<2);if((e|0)==1){break a}c=1;f=e-1|0;i=f&1;if((e|0)!=2){f=f&-2;while(1){g=h<<2;v[v[a+28>>2]+(c<<2)>>2]=g+v[v[b+28>>2]+(c+d<<2)>>2];j=c+1|0;v[v[a+28>>2]+(j<<2)>>2]=g+v[v[b+28>>2]+(d+j<<2)>>2];c=c+2|0;f=f-2|0;if(f){continue}break}}if(!i){break a}v[v[a+28>>2]+(c<<2)>>2]=v[v[b+28>>2]+(c+d<<2)>>2]+(h<<2)}c=v[b+4>>2]+h|0;v[a+4>>2]=c;b=v[b+8>>2];v[a+12>>2]=c+v[a+24>>2];b=b+d|0;v[a+8>>2]=b;v[a+16>>2]=b+e}function j0(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;f=Ma-16|0;Ma=f;a:{if(!a){e=33;break a}e=6;if(!d){break a}g=v[a>>2];if(!g){break a}v[d>>2]=0;v[d+4>>2]=0;v[d+16>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;if((c|0)<0|b>>>0>>0){break a}e=10;if(b>>>0>32767){break a}h=d,i=yb(g,8,0,b,0,f+12|0),v[h+4>>2]=i;b:{e=v[f+12>>2];if(e){break b}h=d,i=yb(g,1,0,b,0,f+12|0),v[h+8>>2]=i;e=v[f+12>>2];if(e){break b}h=d,i=yb(g,2,0,c,0,f+12|0),v[h+12>>2]=i;e=v[f+12>>2];if(e){break b}u[d>>1]=c;u[d+2>>1]=b;v[d+16>>2]=v[d+16>>2]|1;e=0;break a}v[d+16>>2]=v[d+16>>2]|1;a=v[a>>2];if(!a){break a}b=v[d+4>>2];if(b){Qa[v[a+8>>2]](a,b)}v[d+4>>2]=0;b=v[d+8>>2];if(b){Qa[v[a+8>>2]](a,b)}v[d+8>>2]=0;b=v[d+12>>2];if(b){Qa[v[a+8>>2]](a,b)}v[d+16>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=0;v[d+4>>2]=0;e=v[f+12>>2]}Ma=f+16|0;return e}function ct(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=v[a>>2];a:{if(c-2>>>0>34|d>>>0>=b>>>0){break a}b:{c:{e=w[d|0];switch(e-43|0){case 0:case 2:break c;default:break b}}d=d+1|0;if((d|0)==(b|0)){break a}k=(e|0)==45;e=w[d|0];switch(e-43|0){case 0:case 2:break a;default:break b}}h=2147483647/(c>>>0)|0;d:{e:{if(b>>>0<=d>>>0){v[a>>2]=d;break e}l=2147483647-B(c,h)|0;while(1){f:{g:{h:{switch(e|0){case 0:case 9:case 10:case 12:case 13:case 32:break g;default:break h}}if(e<<24>>24<0){break g}e=t[e+455920|0];if((e|0)<0|(c|0)<=(e|0)){break g}i=1;g=f;i:{if((f|0)>(h|0)){break i}if((f|0)==(h|0)){g=h;if((e|0)>(l|0)){break i}}i=j;g=e+B(c,f)|0}f=g;d=d+1|0;if((d|0)!=(b|0)){break f}j=i;d=b}v[a>>2]=d;a=2147483647;if(j&255){break d}break e}e=w[d|0];j=i;continue}}a=f}f=k?0-a|0:a}return f}function Mm(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;j=v[b+44>>2];a:{if(j){g=x[b+26>>1];b:{if((g|0)==8){f=w[v[b+56>>2]+(B(v[b+52>>2],d)+c|0)|0];break b}h=w[v[b+56>>2]+(B(v[b+52>>2],d)+(B(c,g)>>3)|0)|0];c:{switch(g-1|0){case 3:f=B((c|0)%2|0,252)+4&252;f=(h&15<>>f|0;break b;case 0:break c;default:break b}}f=7-((c|0)%8|0)|0;f=(h&1<>>f|0}h=v[b+4>>2];d:{if(!h){g=0;i=0;break d}g=0;f=f&255;i=0;if(f>>>0>=j>>>0){break d}f=(h+40|0)+(f<<2)|0;g=w[f+1|0]<<8;k=w[f+3|0]<<24;l=w[f|0];i=w[f+2|0]<<16}h=i;f=h|k|g|l;t[a|0]=f;t[a+1|0]=f>>>8;t[a+2|0]=f>>>16;t[a+3|0]=f>>>24;break a}f=(v[b+56>>2]+B(v[b+52>>2],d)|0)+B(c,3)|0;t[a|0]=w[f|0];t[a+1|0]=w[f+1|0];f=w[f+2|0];t[a+3|0]=0;t[a+2|0]=f}if(!(!v[b+964>>2]|!e)){t[a+3|0]=w[v[b+964>>2]+(B(v[b+16>>2],d)+c|0)|0]}}function pM(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=A[b+40>>3];e=A[b+80>>3];f=A[b+48>>3];d=A[b+72>>3];g=c*e-f*d;h=d;d=A[b+32>>3];i=c;c=A[b+64>>3];c=A[b+16>>3]*(h*d-i*c)+(A[b>>3]*g-A[b+8>>3]*(e*d-f*c));if((c>=0?c:-c)<1e-6){a=-1}else{A[a>>3]=g/c;A[a+32>>3]=-(A[b+32>>3]*A[b+80>>3]-A[b+48>>3]*A[b+64>>3])/c;A[a+64>>3]=(A[b+32>>3]*A[b+72>>3]-A[b+40>>3]*A[b+64>>3])/c;A[a+8>>3]=-(A[b+8>>3]*A[b+80>>3]-A[b+16>>3]*A[b+72>>3])/c;A[a+40>>3]=(A[b>>3]*A[b+80>>3]-A[b+16>>3]*A[b+64>>3])/c;A[a+72>>3]=-(A[b>>3]*A[b+72>>3]-A[b+8>>3]*A[b+64>>3])/c;A[a+16>>3]=(A[b+8>>3]*A[b+48>>3]-A[b+16>>3]*A[b+40>>3])/c;A[a+48>>3]=-(A[b>>3]*A[b+48>>3]-A[b+32>>3]*A[b+16>>3])/c;A[a+80>>3]=(A[b>>3]*A[b+40>>3]-A[b+8>>3]*A[b+32>>3])/c;A[a+24>>3]=-A[b+24>>3];A[a+56>>3]=-A[b+56>>3];A[a+88>>3]=-A[b+88>>3];a=0}return a}function oua(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;a:{h=v[a+8>>2];if((h|0)<1){break a}e=A[a+16>>3];d=A[a+24>>3];i=A[b>>3];i=e>i?e:d>2]){b=0;while(1){f=b<<3;g=f+a|0;e=A[g+1304>>3];f=c+f|0;d=A[g+1048>>3];e=d+pd(i,A[a+1560>>3])*(e-d);A[f>>3]=e;g=(b<<4)+a|0;d=A[g+528>>3];b:{if(!(e>3];if(!(e>d)){break b}}A[f>>3]=d}b=b+1|0;if((h|0)!=(b|0)){continue}break}break a}b=0;if((h|0)!=1){g=h&-2;j=a+1048|0;k=a+1304|0;while(1){f=b<<3;e=A[f+k>>3];d=A[f+j>>3];l=c+f|0,m=d+pd(i,A[a+1560>>3])*(e-d),A[l>>3]=m;f=f|8;e=A[f+k>>3];d=A[f+j>>3];l=c+f|0,m=d+pd(i,A[a+1560>>3])*(e-d),A[l>>3]=m;b=b+2|0;g=g-2|0;if(g){continue}break}}if(!(h&1)){break a}b=b<<3;h=b+a|0;e=A[h+1304>>3];d=A[h+1048>>3];l=b+c|0,m=d+pd(i,A[a+1560>>3])*(e-d),A[l>>3]=m}}function nY(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=Ma-16|0;Ma=d;f=ce(969308);if(f>>>0<1073741808){a:{b:{if(f>>>0>=2){h=f+4&-4;e=ab(h<<2);v[d+8>>2]=h|-2147483648;v[d>>2]=e;v[d+4>>2]=f;break b}t[d+11|0]=f;e=d;if(!f){break a}}rb(e,969308,f)}v[(f<<2)+e>>2]=0;g=Ma-16|0;Ma=g;f=v[b>>2];c:{if(!f){if(t[c+11|0]>=0){b=v[c+4>>2];v[a>>2]=v[c>>2];v[a+4>>2]=b;v[a+8>>2]=v[c+8>>2];break c}vc(a,v[c>>2],v[c+4>>2]);break c}h=w[d+11|0];e=h<<24>>24<0;Ti(g,e?v[d>>2]:d,e?v[d+4>>2]:h);e=g1(f+12|0,g);if(t[g+11|0]<=-1){$a(v[g>>2])}if((e|0)==(v[b>>2]+16|0)){if(t[c+11|0]>=0){b=v[c+4>>2];v[a>>2]=v[c>>2];v[a+4>>2]=b;v[a+8>>2]=v[c+8>>2];break c}vc(a,v[c>>2],v[c+4>>2]);break c}c=a;b=w[e+39|0];a=b<<24>>24<0;Zg(c,a?v[e+28>>2]:e+28|0,a?v[e+32>>2]:b)}Ma=g+16|0;if(t[d+11|0]<=-1){$a(v[d>>2])}Ma=d+16|0;return}sc();L()}function bW(a){var b=0,c=0,d=0,e=0;b=v[a+8>>2];if(b){$a(gW(b))}b=v[a+12>>2];if(b){c=v[a+20>>2];if((c|0)>=1){while(1){b=v[(d<<2)+b>>2];if(b){$a(CU(b));c=v[a+20>>2]}d=d+1|0;if((c|0)>(d|0)){b=v[a+12>>2];continue}break}b=v[a+12>>2]}tb(b);tb(v[a+16>>2])}bb(a+24|0);bb(a+40|0);b=v[a+56>>2];if(b){$a(Bb(b))}bb(a- -64|0);bb(a+80|0);bb(a+96|0);bb(a+112|0);b=v[a+132>>2];if(b){$a(oW(b))}bb(a+136|0);c=v[a+152>>2];if(c){b=v[c+8>>2];if((b|0)>=1){d=0;while(1){e=v[v[c>>2]+(d<<2)>>2];if(e){b=v[e>>2];if(b){$a(mc(b))}bb(e+8|0);$a(e);b=v[c+8>>2]}d=d+1|0;if((b|0)>(d|0)){continue}break}}$a(mc(c))}c=v[a+156>>2];if(c){b=v[c+8>>2];if((b|0)>=1){d=0;while(1){e=v[v[c>>2]+(d<<2)>>2];if(e){b=v[e+8>>2];if(b){$a(mc(b))}$a(e);b=v[c+8>>2]}d=d+1|0;if((b|0)>(d|0)){continue}break}}$a(mc(c))}bb(a+160|0);return a}function Xv(a,b){var c=0,d=0,e=0,f=0,g=0;a:{if(v[a+32>>2]|!a){break a}e=v[a+24>>2];d=v[a+8>>2];if(!((e|0)==(d|0)|d>>>0>2147483646)){v[a+24>>2]=d;e=d}d=v[a+20>>2];f=v[a+4>>2];if(!((d|0)==(f|0)|f>>>0>2147483646)){v[a+20>>2]=f;d=f}if(!b|b>>>0>d>>>0){break a}d=d-b|0;v[a+20>>2]=d;b:{c:{d:{switch(v[a+12>>2]-2|0){case 0:c=e-b|0;v[a+24>>2]=c;v[a>>2]=v[a>>2]+b;break b;case 1:if(v[a+16>>2]){break c}break;default:break d}}c=v[a>>2];id(c,b+c|0,d);t[v[a>>2]+v[a+20>>2]|0]=0;c=v[a+24>>2];break b}c=e-b|0;v[a+24>>2]=c;e=v[a>>2]+b|0;v[a>>2]=e;f=v[a+16>>2];if(!f){break b}g=e-f|0;if(g>>>0>>0){break b}id(f,e,d);c=v[a+16>>2];v[a>>2]=c;t[c+v[a+20>>2]|0]=0;c=v[a+24>>2]+g|0;v[a+24>>2]=c}v[a+8>>2]=c>>>0<2147483647?c:2147483647;d=a;a=v[a+20>>2];v[d+4>>2]=a>>>0<2147483647?a:2147483647;c=b}return c}function UGa(a){a=a|0;var b=0,c=0,d=0,e=0;if(a){e=v[v[a+96>>2]+8>>2];v[a+20>>2]=0;v[a+24>>2]=0;d=v[a+100>>2];b=d;c=v[a+368>>2];if(c){Qa[v[b+8>>2]](b,c)}v[a+368>>2]=0;b=d;c=v[a+372>>2];if(c){Qa[v[b+8>>2]](b,c)}v[a+372>>2]=0;c=v[a+376>>2];if(c){Qa[v[b+8>>2]](b,c)}v[a+376>>2]=0;c=v[a+364>>2];if(c){Qa[v[b+8>>2]](b,c)}v[a+360>>2]=0;v[a+364>>2]=0;v[a+348>>2]=0;v[a+352>>2]=0;c=v[a+388>>2];if(c){Qa[v[b+8>>2]](b,c)}v[a+380>>2]=0;v[a+384>>2]=0;v[a+388>>2]=0;c=v[a+416>>2];if(c){Qa[v[b+8>>2]](b,c)}v[a+408>>2]=0;v[a+412>>2]=0;v[a+416>>2]=0;b=v[a+396>>2];if(b){Qa[v[d+8>>2]](d,b)}v[a+392>>2]=0;v[a+396>>2]=0;b=v[a+424>>2];if(b){while(1){c=v[b>>2];if(b){Qa[v[d+8>>2]](d,b)}b=c;if(b){continue}break}}v[a+428>>2]=0;v[a+420>>2]=0;v[a+424>>2]=0;b=v[a+32>>2];if(b){Qa[v[e+8>>2]](e,b)}v[a+32>>2]=0}}function $M(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=Ma-80|0;Ma=f;e=49811;d=v[b+4>>2];g=x[a+98>>1];i=d>>>0>>0;a:{b:{if(!i){e=50410;if(d>>>0<=g>>>0){break b}}d=v[a>>2];h=v[a+628>>2];j=v[Pe(a,x[b>>1])+16>>2];v[f+20>>2]=v[b+4>>2];v[f+16>>2]=j;v[f+24>>2]=g;Nc(h,d,e,f+16|0);d=0;if(i){break a}d=v[b+4>>2]}e=f+32|0;if(d>>>0>=11){e=Tf(a,d,4,56040);if(!e){d=0;break a}d=v[b+4>>2]}c:{d:{if((d|0)==1){v[e>>2]=v[b+8>>2];break d}if(bh(a,b,e)){break d}d=0;break c}d=1;i=v[e>>2];e:{h=v[b+4>>2];h=(g|0)<(h|0)?g:h;if((h|0)<=1){break e}g=1;while(1){if((i|0)==v[(d<<2)+e>>2]){g=g+1|0;d=g&65535;if((h|0)>(d|0)){continue}break e}break}c=v[a>>2];d=v[a+628>>2];k=f,l=v[Pe(a,x[b>>1])+16>>2],v[k>>2]=l;wb(d,c,56434,f);d=0;break c}v[c>>2]=i;d=1}if((f+32|0)==(e|0)){break a}$a(e)}Ma=f+80|0;return d}function _Pa(a){a=a|0;var b=0,c=0,d=0;d=a;b=v[a+440>>2];a:{b:{if(v[b+8>>2]){v[b+8>>2]=0;Qa[v[v[a+480>>2]>>2]](a,0);Qa[v[v[a+452>>2]>>2]](a,2);c=2;break b}c:{if(v[a+136>>2]|!v[a+84>>2]){break c}if(!(!v[a+92>>2]|!v[a+108>>2])){v[a+480>>2]=v[b+24>>2];v[b+8>>2]=1;break c}if(v[a+100>>2]){v[a+480>>2]=v[b+20>>2];break c}c=v[a>>2];v[c+20>>2]=47;Qa[v[c>>2]](a)}Qa[v[v[a+468>>2]>>2]](a);Qa[v[v[a+448>>2]+8>>2]](a);if(v[a+68>>2]){break a}if(!v[b+16>>2]){Qa[v[v[a+476>>2]>>2]](a)}Qa[v[v[a+472>>2]>>2]](a);if(v[a+84>>2]){Qa[v[v[a+480>>2]>>2]](a,v[b+8>>2])}Qa[v[v[a+452>>2]>>2]](a,v[b+8>>2]?3:0);c=0}Qa[v[v[a+444>>2]>>2]](d,c)}d=v[a+8>>2];d:{if(!d){break d}c=v[b+12>>2];v[d+12>>2]=c;b=(v[b+8>>2]?2:1)+c|0;v[d+16>>2]=b;if(v[v[a+456>>2]+20>>2]|!v[a+64>>2]){break d}v[d+16>>2]=b+(v[a+108>>2]?2:1)}}function $_(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;h=Qa[v[a+596>>2]](a)|0;f=v[b>>2];a:{if(!f){break a}g=a+36|0;e=1;while(1){b=v[a+28>>2];if((b|0)<=1){if(w[a+565|0]){v[a+12>>2]=129}v[a+28>>2]=0;break a}d=b-2|0;v[a+28>>2]=d;c=b<<2;b=v[a+24>>2];c=x[(c+b|0)-4>>1];b:{if(c>>>0>1]){d=v[b+(d<<2)>>2];b=d>>>4&15;c:{d:{switch(w[a+372|0]-113|0){case 0:b=b|16;break c;case 1:break d;default:break c}}b=b|32}if((x[a+336>>1]+b|0)!=(h|0)){break b}b=d&15;b=(b>>>0>7?-7:-8)+b<<6-x[a+338>>1];if(!(!w[a+615|0]|v[v[v[a>>2]+96>>2]+64>>2]!=40)){if(!(w[c+v[a+60>>2]|0]&16?1:x[a+304>>1]?w[a+564|0]:0)|(w[a+617|0]?w[a+616|0]:0)){break b}Qa[v[a+588>>2]](a,g,c,b);break b}Qa[v[a+588>>2]](a,g,c,b);break b}if(!w[a+565|0]){break b}v[a+12>>2]=134}e=e+1|0;if(f>>>0>=e>>>0){continue}break}}v[a+32>>2]=v[a+28>>2]}function g2a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{f=v[a+84>>2]-4|0;if(f){if((f|0)==12){break c}else{break a}}a=a- -64|0;break b}d=-1;a=v[a+52>>2];if(!a|v[a+40>>2]){break a}a=a+32|0}a=v[a>>2];d=v[a>>2]|1;v[a>>2]=d;c=b+12|0;t[a+8|0]=w[c+1|0];t[a+16|0]=w[c+8|0]?w[c+17|0]?2:1:0;v[a+12>>2]=v[c+4>>2];t[a+17|0]=w[c|0]&6;f=a;e=v[a+20>>2];if((e|0)>=1){b=v[a+24>>2];while(1){g=v[b>>2];if(!(g&4)){t[b+5|0]=w[c+13|0]+1;t[b+6|0]=w[c+14|0]+2;t[b+7|0]=w[c+15|0]+2;t[b+8|0]=w[c+17|0];t[b+418|0]=w[c+16|0];t[b+4|0]=t[c+12|0]&1;d=0;if(v[c+20>>2]>=1){while(1){e=b+d|0;h=c+(d<<1)|0;t[e+419|0]=w[h+24|0];t[e+452|0]=w[h+25|0];d=d+1|0;if((d|0)>2]){continue}break}e=v[a+20>>2]}v[b>>2]=g|1}b=b+488|0;i=i+1|0;if((i|0)<(e|0)){continue}break}d=v[a>>2]}v[f>>2]=d|1;d=0}return d|0}function FLa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;c=c<<2;g=v[c+v[b+8>>2]>>2];h=v[c+v[b+4>>2]>>2];i=v[c+v[b>>2]>>2];b=v[d>>2];f=v[a+332>>2];c=v[a+472>>2];l=v[c+28>>2];m=v[c+24>>2];n=v[c+20>>2];o=v[c+16>>2];c=v[a+112>>2];if(c>>>0>=2){d=c>>>1|0;while(1){e=w[h|0]<<2;c=v[e+n>>2];j=w[g|0]<<2;k=v[j+m>>2];p=v[e+l>>2];j=v[j+o>>2];e=w[i|0];t[b|0]=w[f+(j+e|0)|0];k=k+p>>16;t[b+1|0]=w[f+(k+e|0)|0];t[b+2|0]=w[f+(c+e|0)|0];e=w[i+1|0];t[b+3|0]=w[f+(e+j|0)|0];t[b+4|0]=w[f+(e+k|0)|0];t[b+5|0]=w[f+(c+e|0)|0];b=b+6|0;i=i+2|0;g=g+1|0;h=h+1|0;d=d-1|0;if(d){continue}break}c=v[a+112>>2]}if(c&1){a=w[h|0]<<2;c=v[a+n>>2];d=w[g|0]<<2;g=v[d+m>>2];h=v[a+l>>2];a=w[i|0];t[b|0]=w[f+(a+v[d+o>>2]|0)|0];t[b+1|0]=w[f+(a+(g+h>>16)|0)|0];t[b+2|0]=w[f+(a+c|0)|0]}}function TF(a,b,c,d){var e=0,f=0,g=0,h=0;e=v[c>>2];h=v[d>>2];a:{if(h>>>0>=b>>>0){break a}while(1){f=4;b:{c:{switch(t[a+h|0]-43|0){case 2:f=132;break b;case 3:f=16;break b;case 5:f=8;break b;case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:f=264;break b;case 0:break b;case 26:case 58:break c;default:break a}}f=32}d:{e:{switch((f&60|e&3)-4|0){case 0:if(e&60){break a}g=e|f;break d;case 12:if(e&16){break a}g=e|f;if(e&8){break d}g=e&448|f|1;break d;case 4:g=(e&16?e&384|17:e)|f|64;break d;case 28:if(!(e&8)){break a}g=e&448|2;break d;case 5:g=e|f|64;break d;case 29:if(!(e&8)){break a}g=e&448|2;break d;case 2:if(e&60){break a}g=e|4;break d;case 6:break e;default:break a}}g=e|72}e=g;h=h+1|0;if((h|0)!=(b|0)){continue}break}h=b}v[c>>2]=e;v[d>>2]=h;return e>>>3&1}function CXa(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,j=0,k=0,l=0,m=0;if(e){m=e-1|0;while(1){u[g>>1]=x[f>>1];u[g+2>>1]=x[f+2>>1];u[g+4>>1]=x[f+4>>1];h=g+6|0;a=j?(j|0)==(m|0)?d:b:c;a:{if(a>>>0<2){g=h;break a}i=a-1|0;k=i&3;b:{if(a-2>>>0<3){i=h;a=g;break b}l=i&-4;a=g;while(1){u[h>>1]=x[f>>1];u[a+8>>1]=x[f+2>>1];u[a+10>>1]=x[f+4>>1];u[h+6>>1]=x[f>>1];u[h+8>>1]=x[f+2>>1];u[h+10>>1]=x[f+4>>1];u[h+12>>1]=x[f>>1];u[h+14>>1]=x[f+2>>1];u[h+16>>1]=x[f+4>>1];u[h+18>>1]=x[f>>1];u[h+20>>1]=x[f+2>>1];u[h+22>>1]=x[f+4>>1];a=h+18|0;i=h+24|0;h=i;l=l-4|0;if(l){continue}break}}g=i;if(!k){break a}while(1){h=g;u[h>>1]=x[f>>1];u[a+8>>1]=x[f+2>>1];u[a+10>>1]=x[f+4>>1];g=h+6|0;a=h;k=k-1|0;if(k){continue}break}}f=f+6|0;j=j+1|0;if((j|0)!=(e|0)){continue}break}}return 0}function Yda(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;e=Ma-32|0;Ma=e;f=v[a+28>>2];v[e+16>>2]=f;d=v[a+20>>2];v[e+28>>2]=c;v[e+24>>2]=b;b=d-f|0;v[e+20>>2]=b;f=b+c|0;j=2;a:{b:{b=e+16|0;d=ca(v[a+60>>2],b|0,2,e+12|0)|0;if(d){v[296206]=d;d=-1}else{d=0}c:{if(!d){while(1){d=v[e+12>>2];if((d|0)==(f|0)){break c}if((d|0)<=-1){break b}g=v[b+4>>2];h=g>>>0>>0;i=(h<<3)+b|0;g=d-(h?g:0)|0;v[i>>2]=g+v[i>>2];i=(h?12:4)+b|0;v[i>>2]=v[i>>2]-g;f=f-d|0;b=h?b+8|0:b;j=j-h|0;d=ca(v[a+60>>2],b|0,j|0,e+12|0)|0;if(d){v[296206]=d;d=-1}else{d=0}if(!d){continue}break}}if((f|0)!=-1){break b}}b=v[a+44>>2];v[a+28>>2]=b;v[a+20>>2]=b;v[a+16>>2]=b+v[a+48>>2];a=c;break a}v[a+28>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a>>2]=v[a>>2]|32;a=0;if((j|0)==2){break a}a=c-v[b+4>>2]|0}Ma=e+32|0;return a|0}function wAa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=-9;h=b;a:{b:{c:{d:{e:{e=v[a+4>>2];switch(v[e+48>>2]-8|0){case 1:break d;case 0:break e;default:break a}}b=v[a+8>>2];d=v[a+12>>2];c=8;if(b>>>0>=d>>>0){break b}c=d-b|0;if((c|0)<=3){cb(e+37|0,b,c);t[v[a+4>>2]+36|0]=c;v[a+8>>2]=b+c;c=11;break b}d=w[b+2|0];f=w[b+1|0];g=w[b|0];c=w[b+3|0];break c}b=v[a+8>>2];d=v[a+12>>2];c=8;if(b>>>0>=d>>>0){break b}c=d-b|0;if((c|0)<=3){cb(e+37|0,b,c);t[v[a+4>>2]+36|0]=c;v[a+8>>2]=b+c;c=11;break b}d=w[b+1|0];f=w[b+2|0];g=w[b+3|0];c=w[b|0]}v[a+8>>2]=b+4;d=f<<16|g<<24|d<<8;c=d|c;if(c>>>0<=1114111&(d&-2048)!=55296){break a}b=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);t[e+37|0]=b;t[e+38|0]=b>>>8;t[e+39|0]=b>>>16;t[e+40|0]=b>>>24;t[v[a+4>>2]+36|0]=4;c=12}v[h>>2]=c;c=65535}return c|0}function lma(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,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;h=v[b+44>>2];i=v[b+24>>2];if(h>>>0>>0){v[b+44>>2]=i;h=i}l=-1;m=-1;n=f&24;a:{if(!n|(n|0)==24&(e|0)==1){break a}if(h){g=h-(t[b+43|0]<0?v[b+32>>2]:b+32|0)>>2;o=g;g=g>>31}b:{c:{switch(e|0){case 1:if(f&8){e=v[b+12>>2]-v[b+8>>2]>>2;j=e;k=e>>31;break b}e=i-v[b+20>>2]>>2;j=e;k=e>>31;break b;case 0:break b;case 2:break c;default:break a}}j=o;k=g}e=d+k|0;c=c+j|0;e=j>>>0>c>>>0?e+1|0:e;d=c;c=e;if(d>>>0>o>>>0&(e|0)>=(g|0)|(e|0)>(g|0)|(e|0)<0){break a}e=f&8;d:{if(!(c|d)){break d}if(v[b+12>>2]?0:e){break a}if(!(f&16)){break d}if(!i){break a}}if(e){v[b+16>>2]=h;v[b+12>>2]=v[b+8>>2]+(d<<2)}if(f&16){v[b+24>>2]=v[b+20>>2]+(d<<2)}l=d;m=c}v[a+8>>2]=l;v[a+12>>2]=m;v[a>>2]=0;v[a+4>>2]=0}function lT(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=970356;c=v[a+60>>2];if(c){while(1){b=v[c+8>>2];a:{if(!b){break a}d=v[b+56>>2];if(!d){break a}v[d+4>>2]=v[d+4>>2]+1;d=b+56|0;b=v[d>>2];if(!b){break a}qb(d,0);d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break a}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}c=v[c>>2];if(c){continue}break}}b=a+52|0;ac(b);ac(b);b=v[a+44>>2];v[a+44>>2]=0;b:{if(!b){break b}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break b}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}v[a+8>>2]=969400;v[a+32>>2]=969432;b=v[a+36>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Qa[v[v[b>>2]+4>>2]](b)}v[a+36>>2]=0}v[a+24>>2]=969432;b=v[a+28>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Qa[v[v[b>>2]+4>>2]](b)}v[a+28>>2]=0}db(a+16|0);bc(a);return a|0}function F$a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=v[v[a+544>>2]+88>>2];e=v[d+1176>>2]+B(v[d+1168>>2],v[a+572>>2])|0;c=v[a+644>>2];a:{if(w[d+56|0]){if(v[a+588>>2]<=0){break a}while(1){b=w[e|0]|w[e+1|0]<<8;f=(b<<8|b>>>8)&65535;g=x[d+836>>1];b=(f|0)==(g|0)?0:f;h=b<<8|b>>>8;t[c|0]=h;t[c+1|0]=h>>>8;b=b<<8|b>>>8;t[c+2|0]=b;t[c+3|0]=b>>>8;t[c+4|0]=b;t[c+5|0]=b>>>8;b=(f|0)!=(g|0)?65535:0;b=b<<8|b>>>8;t[c+6|0]=b;t[c+7|0]=b>>>8;c=c+8|0;e=e+2|0;i=i+1|0;if((i|0)>2]){continue}break}break a}if(v[a+588>>2]<=0){break a}while(1){d=w[e|0]|w[e+1|0]<<8;d=(d<<8|d>>>8)&65535;f=d<<8|d>>>8;t[c|0]=f;t[c+1|0]=f>>>8;d=d<<8|d>>>8;t[c+2|0]=d;t[c+3|0]=d>>>8;t[c+4|0]=d;t[c+5|0]=d>>>8;t[c+6|0]=255;t[c+7|0]=255;c=c+8|0;e=e+2|0;b=b+1|0;if((b|0)>2]){continue}break}}return 0}function hH(a,b,c){var d=0,e=0,f=0,g=0;if(c?!a|!b:1){Qa[v[256654]](v[291043],339564,0);return}a:{if(!v[a+292>>2]|v[a+40>>2]!=1){break a}d=v[a+36>>2];f=v[d+12>>2];e=v[d+20>>2];while(1){d=e;e=d-1|0;if(f>>>0>e>>>0){break a}if(w[e|0]!=60){continue}break}v[b>>2]=e;b:{g=v[a+36>>2];a=v[g+20>>2];if(a>>>0>d>>>0){while(1){b=a;c:{d:{switch(w[d|0]-34|0){case 5:while(1){f=d;d=d+1|0;if(a>>>0>d>>>0&w[d|0]!=39){continue}break};d=a>>>0>d>>>0?f+2|0:d;break c;case 0:while(1){f=d;d=d+1|0;if(a>>>0>d>>>0&w[d|0]!=34){continue}break};d=a>>>0>d>>>0?f+2|0:d;break c;case 28:break b;default:break d}}d=d+1|0}if(b>>>0>d>>>0){continue}break}}a=v[g+12>>2];e:{while(1){e=e-1|0;if(a>>>0>e>>>0){break e}if(w[e|0]!=62){continue}break}v[c>>2]=e;return}v[c>>2]=0;return}v[c>>2]=d;return}v[b>>2]=0;v[c>>2]=0}function vE(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;i=Ma-32|0;Ma=i;if(!(v[b>>2]<0|v[b+4>>2]<0|(v[b+8>>2]>v[a+32>>2]|v[b+12>>2]>v[a+36>>2]))){if(!v[a+40>>2]){Rr(a,0,0)}e=v[a+52>>2];if(!e){Sr(a,0,0);e=v[a+52>>2]}f=v[(v[b>>2]<<2)+e>>2]>>4;v[c>>2]=f;h=v[a+40>>2];g=v[h+(v[b+4>>2]<<2)>>2]>>4;v[c+4>>2]=g;e=v[((v[b+8>>2]<<2)+e|0)-4>>2]+15>>4;v[c+8>>2]=e;h=v[(h+(v[b+12>>2]<<2)|0)-4>>2];f=(f|0)>0?f:0;v[c>>2]=f;b=v[a+24>>2];g=(g|0)>0?g:0;v[c+4>>2]=g;e=e+1|0;b=(b|0)>(e|0)?e:b;v[c+8>>2]=b;j=c;c=(h+15>>4)+1|0;e=v[a+28>>2];c=(c|0)<(e|0)?c:e;v[j+12>>2]=c;e=v[a+16>>2];f=f<>2]=(f|0)>0?f:0;b=b<>2];v[d+8>>2]=(b|0)<(e|0)?b:e;b=v[a+20>>2];e=g<>2]=(e|0)>0?e:0;b=c<>2];v[d+12>>2]=(a|0)>(b|0)?b:a;Ma=i+32|0;return}lb(mb(i+8|0,272807,241249,267,333923));L()}function qy(a,b){var c=0,d=0,e=0;d=Ma-48|0;Ma=d;v[a>>2]=972488;v[a+4>>2]=0;e=zg(a+12|0);c=a+48|0;v[c+20>>2]=-1;v[c+12>>2]=-1;v[c+16>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;v[c>>2]=972524;v[a+96>>2]=0;c=a;v[c+88>>2]=0;v[c+92>>2]=0;v[c+80>>2]=0;v[c+84>>2]=0;v[c+72>>2]=0;v[c+76>>2]=0;jd(c+72|0,971776);v[c+124>>2]=0;v[c+116>>2]=0;v[c+120>>2]=0;v[c+108>>2]=0;v[c+112>>2]=0;v[c+100>>2]=0;v[c+104>>2]=0;jd(c+100|0,972544);c=v[b+8>>2];if(v[(c?c+12|0:1117e3)>>2]){c=d+8|0;vj(c,b);Rf(e,c);v[d+32>>2]=969432;v[d+8>>2]=969400;b=v[d+36>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Qa[v[v[b>>2]+4>>2]](b)}v[d+36>>2]=0}v[d+24>>2]=969432;b=v[d+28>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Qa[v[v[b>>2]+4>>2]](b)}v[d+28>>2]=0}db(d+16|0);Ma=d+48|0;return a}lb(mb(d+8|0,239006,241073,87,334814));L()}function XP(a){var b=C(0),c=0,d=0,e=0,f=0;c=Ma-16|0;Ma=c;e=(q(a),j(2));d=e&2147483647;a:{if(d>>>0<=1061752794){b=C(1);if(d>>>0<964689920){break a}b=el(+a);break a}if(d>>>0<=1081824209){f=+a;if(d>>>0>=1075235812){b=C(-el(((e|0)>-1?-3.141592653589793:3.141592653589793)+f));break a}if((e|0)<=-1){b=dl(f+1.5707963267948966);break a}b=dl(1.5707963267948966-f);break a}if(d>>>0<=1088565717){if(d>>>0>=1085271520){b=el(((e|0)>-1?-6.283185307179586:6.283185307179586)+ +a);break a}if((e|0)<=-1){b=dl(-4.71238898038469-+a);break a}b=dl(+a+-4.71238898038469);break a}b=C(a-a);if(d>>>0>=2139095040){break a}b:{switch(UP(a,c+8|0)&3){case 0:b=el(A[c+8>>3]);break a;case 1:b=dl(-A[c+8>>3]);break a;case 2:b=C(-el(A[c+8>>3]));break a;default:break b}}b=dl(A[c+8>>3])}a=b;Ma=c+16|0;return a}function gla(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=Ma-1056|0;Ma=e;f=Qa[v[v[a>>2]+16>>2]](a)|0;a:{b:{switch(c|0){case 2:if(b){b=-1;if(d){break a}lb(mb(e+32|0,286371,241689,366,330174));L()}while(1){if(Qa[v[v[a>>2]+8>>2]](a,e+32|0,1024)|0){continue}break};b=0;break a;default:lb(mb(e+32|0,271672,241689,375,330174));L();case 1:c=f;break;case 0:break b}}c:{d:{c=b+c|0;if((c|0)>=(f|0)){b=0;if((c|0)<=(f|0)){break a}while(1){d=Qa[v[v[a>>2]+8>>2]](a,e+32|0,(c|0)<(f+1024|0)?c-f|0:1024)|0;if(!d){break d}f=d+f|0;if((Qa[v[v[a>>2]+16>>2]](a)|0)!=(f|0)){break c}if((c|0)>(f|0)){continue}break}break a}b=-1;if(d){break a}lb(mb(e+32|0,286371,241689,383,330174));L()}lb(mb(e+8|0,v[279242],241689,393,330174));L()}lb(mb(e+8|0,262496,241689,396,330174));L()}Ma=e+1056|0;return b|0}function f7(a){a=a|0;var b=0,c=0,d=0;b=v[a+584>>2];a:{if(!(Qa[v[b+56>>2]](a)|0)){break a}if(!AM(a)){break a}d=1;b:{c:{switch(v[b>>2]-2|0){case 0:c=581;d:{e:{f:{switch(x[a+84>>1]-8|0){case 8:c=582;break e;case 0:break e;case 24:break f;default:break d}}c=583}v[b+40>>2]=c}c=v[a+540>>2];if((c|0)!=584){v[b+28>>2]=c;v[a+540>>2]=584;v[b+32>>2]=v[a+548>>2];v[a+548>>2]=585;v[b+36>>2]=v[a+556>>2];v[a+556>>2]=585}if(!(w[a+12|0]&128)){break a}c=v[b+40>>2];if((c|0)==582){v[b+40>>2]=586;break b}if((c|0)!=583){break a}v[b+40>>2]=587;break b;case 1:break c;default:break a}}v[b+40>>2]=588;c=v[a+540>>2];if((c|0)!=584){v[b+28>>2]=c;v[a+540>>2]=584;v[b+32>>2]=v[a+548>>2];v[a+548>>2]=585;v[b+36>>2]=v[a+556>>2];v[a+556>>2]=585}if(!(w[a+12|0]&128)){break a}}v[a+652>>2]=390}return d|0}function p$(a){var b=0,c=0,d=0;d=v[v[a>>2]+100>>2];b=v[a+300>>2];if(b){c$(b);v[a+300>>2]=0}b=v[a+252>>2];if(b){Qa[v[d+8>>2]](d,b)}v[a+248>>2]=0;v[a+252>>2]=0;b=v[a+260>>2];if(b){Qa[v[d+8>>2]](d,b)}u[a+256>>1]=0;v[a+260>>2]=0;b=v[a+264>>2];if(b){c=v[a+292>>2];if(c){Qa[v[b+8>>2]](b,c)}v[a+292>>2]=0;c=v[a+288>>2];if(c){Qa[v[b+8>>2]](b,c)}v[a+288>>2]=0;c=v[a+280>>2];if(c){Qa[v[b+8>>2]](b,c)}v[a+280>>2]=0;c=v[a+276>>2];if(c){Qa[v[b+8>>2]](b,c)}v[a+276>>2]=0;c=v[a+284>>2];if(c){Qa[v[b+8>>2]](b,c)}v[a+284>>2]=0;v[a+272>>2]=0;v[a+264>>2]=0;v[a+268>>2]=0}b=v[a+132>>2];if(b){Qa[v[d+8>>2]](d,b)}v[a+132>>2]=0;b=v[a+144>>2];if(b){Qa[v[d+8>>2]](d,b)}v[a+136>>2]=0;v[a+140>>2]=0;v[a+124>>2]=0;v[a+128>>2]=0;v[a+144>>2]=0;v[a+148>>2]=0;v[a+152>>2]=0;v[a+304>>2]=-1;v[a+308>>2]=-1}function JH(a,b,c){var d=0,e=0,f=0;a:{b:{c:{d:{if((c|0)<=-1){if(!b|!w[b|0]){break d}c=0;d=b;while(1){c=c+1|0;e=w[d+1|0];d=d+1|0;if(e){continue}break}}if(!b){break d}if(c){break c}}if(!a){return 0}d=a;while(1){b=d;d=b+1|0;if(w[b|0]){continue}break}d=0;b=b-a|0;if((b|0)<0){break b}c=Qa[v[256555]](b+1|0)|0;if(!c){break a}a=cb(c,a,b);t[a+b|0]=0;return a}if(!a){d=0;if((c|0)<0){break b}a=Qa[v[256555]](c+1|0)|0;if(!a){break a}a=cb(a,b,c);t[a+c|0]=0;return a}e=0;if(w[a|0]){d=a;while(1){e=e+1|0;f=w[d+1|0];d=d+1|0;if(f){continue}break}}f=c+e|0;d=Qa[v[256552]](f+1|0)|0;if(!d){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);b=Qa[v[256555]](e+1|0)|0;if(!b){break a}a=cb(b,a,e);t[a+e|0]=0;return a}a=cb(d,a,e);cb(a+e|0,b,c);t[a+f|0]=0}return d}nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);return 0}function Fha(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;g=Ma-32|0;Ma=g;a:{if(w[a+88|0]){e=v[a+84>>2];break a}m=a,n=Qa[v[v[a>>2]+36>>2]](a)|0,v[m+72>>2]=n;m=a,n=Qa[v[v[a>>2]+44>>2]](a)|0,v[m+76>>2]=n;m=a,n=Qa[v[v[a>>2]+40>>2]](a)|0,v[m+80>>2]=n;e=Qa[v[v[a>>2]+48>>2]](a)|0;t[a+88|0]=1;v[a+84>>2]=e}b:{if(v[a+92>>2]>0){f=e;e=v[a+80>>2];i=f-e|0;h=v[a+72>>2];j=v[a+76>>2]-h|0;k=v[a+128>>2];l=v[a+104>>2];while(1){if(v[a+120>>2]<(d|0)|v[a+116>>2]>(d|0)){break b}f=(d-v[a+108>>2]<<2)+l|0;v[f>>2]=((B(v[f>>2]-h|0,b)|0)/(j|0)|0)+h;if(v[a+144>>2]<(d|0)|v[a+140>>2]>(d|0)){break b}f=(d-v[a+132>>2]<<2)+k|0;v[f>>2]=e+((B(v[f>>2]-e|0,c)|0)/(i|0)|0);d=d+1|0;if((d|0)>2]){continue}break}}Ma=g+32|0;return}lb(mb(g+8|0,227376,271519,619,306765));L()}function t2(a,b){var 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;v[a>>2]=0;if(v[b>>2]){while(1){d=f&255;c=f>>>6&67108860;l=w[d+v[c+v[b+16>>2]>>2]|0];c=v[c+v[b+12>>2]>>2]+(d<<4)|0;m=A[c+8>>3];n=A[c>>3];g=e>>>8|0;h=v[a+4>>2];if(g>>>0>=h>>>0){c=v[a+8>>2];a:{if(g>>>0>>0){d=v[a+12>>2];break a}d=(c<<1)+512|0;d=ab((d|0)!=(d&1073741822)?-1:d<<2);i=c<<2;k=(d+i|0)+1024|0;j=v[a+12>>2];if(j){cb(d,j,i);cb(k,v[a+16>>2],i);$a(j);h=v[a+4>>2];c=v[a+8>>2];e=v[a>>2]}v[a+16>>2]=k;v[a+12>>2]=d;v[a+8>>2]=c+256}c=g<<2;o=c+d|0,p=ab(4352),v[o>>2]=p;v[c+v[a+16>>2]>>2]=v[c+v[a+12>>2]>>2]+4096;v[a+4>>2]=h+1}c=g<<2;d=v[c+v[a+12>>2]>>2];t[v[c+v[a+16>>2]>>2]+(e&255)|0]=l;e=d+(e<<4&4080)|0;A[e+8>>3]=m;A[e>>3]=n;e=v[a>>2]+1|0;v[a>>2]=e;f=f+1|0;if(f>>>0>2]){continue}break}}}function H4(a){a=a|0;var b=0,c=0,d=0,e=0;b=v[v[a+2248>>2]+88>>2];c=v[b+1168>>2];c=(v[b+1176>>2]+B(c,v[a+572>>2])|0)+B(c,v[a+2268>>2])|0;b=v[b+1164>>2];b=(c+B(b,v[a+580>>2])|0)+B(b,v[a+2264>>2])|0;c=v[a+636>>2]+v[a+616>>2]|0;d=v[a+588>>2];a:{b:{if(w[a+2253|0]!=4){if((d|0)<=0){break a}while(1){t[b|0]=w[c|0]+w[b|0];c=c+1|0;b=v[a+584>>2]+b|0;d=v[a+588>>2];e=e+1|0;if((d|0)>(e|0)){continue}break}break b}if((d|0)<1){break a}while(1){t[b|0]=w[c|0];c=c+1|0;b=v[a+584>>2]+b|0;d=v[a+588>>2];e=e+1|0;if((d|0)>(e|0)){continue}break}}if((d|0)<1){break a}b=v[a+540>>2];b=(v[b+1176>>2]+B(v[a+572>>2],v[b+1168>>2])|0)+B(v[a+580>>2],v[b+1164>>2])|0;c=v[a+636>>2]+v[a+616>>2]|0;d=0;while(1){t[b|0]=w[c|0];c=c+1|0;b=v[a+584>>2]+b|0;d=d+1|0;if((d|0)>2]){continue}break}}return 0}function j8(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=v[a+584>>2];b=v[c+884>>2];a:{if((b|0)>=1){b:{d=v[c+76>>2];if((d|0)<1){break b}e=v[c+84>>2];while(1){f=v[e+12>>2];b=B(f,b);f=f<<3;if((b|0)<(f|0)){d=v[e+28>>2]<<3;i=(g<<2)+c|0;while(1){h=v[i+844>>2]+(b<<2)|0;Fd(v[h>>2],v[h-4>>2],d);b=b+1|0;if((f|0)!=(b|0)){continue}break}d=v[c+76>>2]}g=g+1|0;if((g|0)>=(d|0)){break b}e=e+88|0;b=v[c+884>>2];continue}}e=0;b=c;d=c+844|0;c=v[c+272>>2]<<3;if((FM(b,d,c)|0)!=(c|0)){break a}c=v[a+584>>2]}b=0;a=gb(40);v[a>>2]=0;a=be(c+624|0,1,a,4);f=P()|0;c:{while(1){if(b){break c}v[296803]=0;U(50,c|0);b=v[296803];v[296803]=0;d=-1;d:{if(!b){break d}g=v[296804];if(!g){break d}d=pb(v[b>>2],a,f);if(!d){$a(a);tc(b,g);L()}Q(g|0)}b=P()|0;if((d|0)==1){continue}break}e=1}$a(a)}return e|0}function Vx(a,b){var c=0,d=0,e=0;d=Ma-16|0;Ma=d;v[a+8>>2]=0;v[a>>2]=969400;v[a+12>>2]=v[279250];c=a+8|0;b=v[b>>2];a:{if(b){Qa[v[v[b>>2]+28>>2]](d+8|0,b,1);break a}v[d+8>>2]=0}jb(c,d+8|0);b=v[d+8>>2];v[d+8>>2]=0;b:{if(!b){break b}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break b}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[a+8>>2];b=v[(b?b+12|0:1117e3)>>2];v[a+20>>2]=0;v[a+12>>2]=b;v[a+16>>2]=988088;c=oo(ab(52));v[c+4>>2]=v[c+4>>2]+1;b=v[a+20>>2];c:{if(!b){break c}e=v[b+4>>2]-1|0;v[b+4>>2]=e;if(e){break c}Qa[v[v[b>>2]+4>>2]](b)}v[a+20>>2]=c;v[a+24>>2]=988088;v[a+28>>2]=0;c=oo(ab(52));v[c+4>>2]=v[c+4>>2]+1;b=v[a+28>>2];d:{if(!b){break d}e=v[b+4>>2]-1|0;v[b+4>>2]=e;if(e){break d}Qa[v[v[b>>2]+4>>2]](b)}t[a+32|0]=0;v[a+28>>2]=c;Ma=d+16|0;return a}function UV(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{c:{d=v[v[a>>2]>>2];if(!d){break c}d=v[d>>2];if(!d){break c}if(vh(d,b)){break c}f=v[v[a>>2]>>2];break b}e=v[a+4>>2];if((e|0)<2){break a}d=1;while(1){d:{c=v[v[a>>2]+(d<<2)>>2];e:{if(!c){break e}c=v[c>>2];if(!c){break e}if(!vh(c,b)){break d}e=v[a+4>>2]}d=d+1|0;if((e|0)>(d|0)){continue}break a}break}b=d-1|0;c=v[a>>2];f=v[c+(d<<2)>>2];e=d&3;if(e){while(1){g=(d<<2)+c|0;d=d-1|0;v[g>>2]=v[(d<<2)+c>>2];c=v[a>>2];e=e-1|0;if(e){continue}break}}if(b>>>0>=3){while(1){b=d<<2;e=b-4|0;v[b+c>>2]=v[c+e>>2];c=v[a>>2];g=c+e|0;e=c;c=b-8|0;v[g>>2]=v[e+c>>2];e=c;c=v[a>>2];b=b-12|0;v[e+c>>2]=v[b+c>>2];c=v[a>>2];e=c+b|0;b=d-4|0;v[e>>2]=v[c+(b<<2)>>2];e=(d|0)>4;c=v[a>>2];d=b;if(e){continue}break}}v[c>>2]=f}v[f+24>>2]=v[f+24>>2]+1}return f}function uK(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=v[a+24>>2];c=v[b+4>>2];e=v[b>>2];while(1){if(!c){if(!(Qa[v[b+12>>2]](a)|0)){return 0}e=v[b>>2];c=v[b+4>>2]}d=e+1|0;c=c-1|0;if(w[e|0]!=255){while(1){e=v[a+460>>2];v[e+24>>2]=v[e+24>>2]+1;v[b+4>>2]=c;v[b>>2]=d;if(!c){if(!(Qa[v[b+12>>2]](a)|0)){return 0}d=v[b>>2];c=v[b+4>>2]}c=c-1|0;e=w[d|0];d=d+1|0;if((e|0)!=255){continue}break}}while(1){if(!c){if(!(Qa[v[b+12>>2]](a)|0)){return 0}d=v[b>>2];c=v[b+4>>2]}c=c-1|0;f=w[d|0];e=d+1|0;d=e;if((f|0)==255){continue}break}if(!f){d=v[a+460>>2];v[d+24>>2]=v[d+24>>2]+2;v[b+4>>2]=c;v[b>>2]=e;continue}break}d=v[v[a+460>>2]+24>>2];if(d){g=v[a>>2];v[g+24>>2]=d;v[g+20>>2]=119;v[v[a>>2]+28>>2]=f;Qa[v[v[a>>2]+4>>2]](a,-1);v[v[a+460>>2]+24>>2]=0}v[a+436>>2]=f;v[b+4>>2]=c;v[b>>2]=e;return 1}function Sq(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;h=v[a+4>>2];if(c>>>0>=999999985){d=v[a>>2];v[d+20>>2]=56;v[d+24>>2]=1;Qa[v[v[a>>2]>>2]](a)}d=c&7;d=d?8-d|0:0;if(b>>>0>=2){e=v[a>>2];v[e+24>>2]=b;v[e+20>>2]=15;Qa[v[v[a>>2]>>2]](a)}d=c+d|0;i=(b<<2)+h|0;c=v[i+52>>2];a:{if(c){while(1){f=c;if(d>>>0<=y[c+8>>2]){b=f;break a}c=v[f>>2];if(c){continue}break}}c=999999984-d|0;b=v[(b<<2)+(f?71336:71328)>>2];c=b>>>0>c>>>0?c:b;e=d+c|0;g=e+16|0;b=gb(g);if(!b){while(1){if(c>>>0<=99){b=v[a>>2];v[b+20>>2]=56;v[b+24>>2]=2;Qa[v[v[a>>2]>>2]](a)}b=c>>>1|0;c=b;e=b+d|0;g=e+16|0;b=gb(g);if(!b){continue}break}}v[h+76>>2]=v[h+76>>2]+g;v[b+8>>2]=e;v[b>>2]=0;v[b+4>>2]=0;if(!f){v[i+52>>2]=b;break a}v[f>>2]=b}a=v[b+4>>2];v[b+4>>2]=a+d;v[b+8>>2]=v[b+8>>2]-d;return(a+b|0)+16|0}function wZa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=v[a+2308>>2];a:{if(!d){break a}b=v[a+2316>>2];c=v[a+2312>>2];a=v[a+2300>>2];if(w[a+56|0]){if((d|0)!=1){e=d&-2;while(1){f=x[c>>1];if((f|0)!=x[a+836>>1]){u[b+2>>1]=65535}u[b>>1]=f;f=x[c+2>>1];if((f|0)!=x[a+836>>1]){u[b+6>>1]=65535}u[b+4>>1]=f;b=b+8|0;c=c+4|0;e=e-2|0;if(e){continue}break}}if(!(d&1)){break a}d=x[a+836>>1];a=x[c>>1];if((d|0)!=(a|0)){u[b+2>>1]=65535}u[b>>1]=a;return 0}a=d&3;if(d-1>>>0>=3){e=d&-4;while(1){u[b>>1]=x[c>>1];u[b+2>>1]=65535;u[b+4>>1]=x[c+2>>1];u[b+6>>1]=65535;u[b+8>>1]=x[c+4>>1];u[b+10>>1]=65535;u[b+12>>1]=x[c+6>>1];u[b+14>>1]=65535;b=b+16|0;c=c+8|0;e=e-4|0;if(e){continue}break}}if(!a){break a}while(1){u[b>>1]=x[c>>1];u[b+2>>1]=65535;b=b+4|0;c=c+2|0;a=a-1|0;if(a){continue}break}}return 0}function eP(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;f=Ma-32|0;Ma=f;t[a|0]=0;d=v[v[b>>2]-12>>2]+b|0;a:{if(!v[d+16>>2]){if(v[d+72>>2]){dP(v[(v[v[b>>2]-12>>2]+b|0)+72>>2])}b:{if(!(v[(v[v[b>>2]-12>>2]+b|0)+4>>2]&4096)|c){break b}d=f+24|0;c=v[(v[v[b>>2]-12>>2]+b|0)+28>>2];v[d>>2]=c;v[c+4>>2]=v[c+4>>2]+1;c=hi(d);d=v[d>>2];e=v[d+4>>2]-1|0;v[d+4>>2]=e;if((e|0)==-1){Qa[v[v[d>>2]+8>>2]](d)}e=f+16|0;v[e>>2]=v[(v[v[b>>2]-12>>2]+b|0)+24>>2];g=f+8|0;v[g>>2]=0;while(1){c:{if(!Lh(e,g)){break c}i=c;d=v[e>>2];h=v[d+12>>2];d:{if((h|0)==v[d+16>>2]){d=Qa[v[v[d>>2]+36>>2]](d)|0;break d}d=v[h>>2]}if(!(Qa[v[v[c>>2]+12>>2]](i,8192,d)|0)){break c}Yf(e);continue}break}if(!jg(e,g)){break b}_l(v[v[b>>2]-12>>2]+b|0,6)}t[a|0]=!v[(v[v[b>>2]-12>>2]+b|0)+16>>2];break a}_l(d,4)}Ma=f+32|0;return a}function cS(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;f=Ma+-64|0;Ma=f;e=ze(f+24|0,a+72|0);g=eh(e);d=v[v[b+12>>2]+((g>>>0)%y[b+8>>2]<<2)>>2];a:{if(d){while(1){if((g|0)==v[d+12>>2]){if(ff(d+16|0,e)){break a}}d=v[d+8>>2];if(d){continue}break}}g=eh(e);d=v[v[c+12>>2]+((g>>>0)%y[c+8>>2]<<2)>>2];if(d){while(1){if((g|0)==v[d+12>>2]){if(ff(d+16|0,e)){break a}}d=v[d+8>>2];if(d){continue}break}}h=il(c,e),i=0,v[h+52>>2]=i;Lu(a);mo(f+8|0,a,0);d=v[f+16>>2];if(d){while(1){cS(v[d+8>>2],b,c);d=v[d>>2];if(d){continue}break}}ac(f+8|0)}v[e+24>>2]=969432;v[e>>2]=969400;a=v[e+28>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Qa[v[v[a>>2]+4>>2]](a)}v[e+28>>2]=0}v[e+16>>2]=969432;a=v[e+20>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Qa[v[v[a>>2]+4>>2]](a)}v[e+20>>2]=0}db(e+8|0);Ma=f- -64|0}function Pl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=Ma-32|0;Ma=e;v[a+664>>2]=0;f=a;d=v[a+660>>2];a:{if(d){d=oQ(a,v[a+656>>2],c+d|0,4,80656);break a}d=Tf(a,c,4,80656)}v[f+656>>2]=d;b:{if(!d){c=0;wb(v[a+628>>2],80624,17664,0);break b}g=v[a+660>>2];if((c|0)>=1){g=d+(g<<2)|0;d=0;while(1){i=B(d,20)+b|0;f=v[i+8>>2];j=v[i>>2];v[e+24>>2]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;v[e+4>>2]=e+8;h=v[a+664>>2];c:{if(!(!h|v[h>>2]!=(j|0))&(!f|(f|0)==v[h+8>>2])){break c}h=v[a+656>>2];d:{if(!h){break d}v[e+16>>2]=f;v[e+8>>2]=j;f=PD(e+4|0,h,v[a+660>>2]);if(!f){v[a+664>>2]=0;break d}f=v[f>>2];v[a+664>>2]=f;if(f){break c}}v[g>>2]=i;v[a+660>>2]=v[a+660>>2]+1;g=g+4|0}d=d+1|0;if((d|0)!=(c|0)){continue}break}g=v[a+660>>2];d=v[a+656>>2]}$l(d,g,4,433)}Ma=e+32|0;return c}function KI(a,b,c,d){var e=0,f=0,g=0;g=v[a+8264>>2];a:{if(g>>>0>b>>>0){g=0;if(Mb(v[a>>2],v[a+68>>2])){break a}bw(a+12|0);v[a+28>>2]=0;v[a+12>>2]=a+72;v[a+16>>2]=0;e=a+8264|0;v[a+8272>>2]=e;v[a+24>>2]=a+4168;v[a+8268>>2]=e;v[e>>2]=0}b:{if(b>>>0>g>>>0){f=v[a+8268>>2];e=v[a+8272>>2]-f|0;b=b-g|0;e=b>>>0>e>>>0?e:b;v[a+8268>>2]=e+f;v[a+8264>>2]=e+g;b=b-e|0;if(b){while(1){if(AZ(a)){return 0}f=v[a+8268>>2];e=v[a+8272>>2]-f|0;e=b>>>0>e>>>0?e:b;v[a+8268>>2]=e+f;v[a+8264>>2]=e+v[a+8264>>2];b=b-e|0;if(b){continue}break}}if(d){break b}return 0}if(d){break b}return 0}g=0;while(1){e=v[a+8268>>2];b=v[a+8272>>2]-e|0;f=b>>>0>>0?b:d;b=cb(c,e,f);v[a+8268>>2]=f+v[a+8268>>2];v[a+8264>>2]=f+v[a+8264>>2];g=f+g|0;d=d-f|0;if(!d){break a}c=b+f|0;if(!AZ(a)){continue}break}}return g}function hv(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;g=A[a+16>>3];s=A[a+40>>3];f=A[a+24>>3];t=A[a+32>>3];l=1/(g*s-f*t);n=A[a+48>>3];o=A[a+56>>3];r=l*(f*n-g*o);p=A[a+632>>3];q=l*-f;h=p*q;g=g*l;f=A[a+656>>3];u=g*f;k=r+(h+u);m=A[a+640>>3];i=m*g;j=r+(h+i);n=l*(t*o-s*n);o=s*l;h=p*o;g=l*-t;p=g*f;f=n+(h+p);m=m*g;h=n+(h+m);a:{if(fh)){g=h;break a}g=f}b:{if(kj)){f=j;k=f;break b}f=j}j=i;i=A[a+648>>3];q=q*i;j=r+(j+q);l=m;m=o*i;i=n+(l+m);c:{if(ij){f=j;break e}if(kk){f=k;break h}if(k>j){break g}}k=j}A[b>>3]=h;A[c>>3]=f;A[d>>3]=g;A[e>>3]=k}function p0(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=Ma-32|0;Ma=e;v[e+8>>2]=0;f=c?c:d;h=f?f:72;v[e+20>>2]=h;d=f?c?d?d:c:d:72;v[e+24>>2]=d;b=(b|0)>64?b:64;i=b;v[e+12>>2]=b;v[e+16>>2]=b;c=35;a:{if(!a){break a}f=v[a+88>>2];v[v[f+40>>2]+12>>2]=0;j=v[v[a+96>>2]+12>>2];g=v[j+88>>2];if(g){c=Qa[g|0](f,e+8|0)|0;break a}g=v[a+8>>2];b:{if((g&3)==2){if(!(g&2)){break a}b=d?(B(b,d)+36|0)/72|0:b;c=23;h=((B(h,i)+36|0)/72|0)+32&-64;if(!h){break a}i=b+32&-64;if(!i){break a}d=v[a+28>>2];if((d|0)<1){break a}g=v[a+32>>2];b=0;while(1){k=g+(b<<4)|0;if(!((i|0)==(v[k+12>>2]+32&-64)&(h|0)==(v[k+8>>2]+32&-64))){b=b+1|0;if((d|0)!=(b|0)){continue}break a}break}c=6;if((b|0)>=(d|0)){break a}c=v[j+92>>2];if(c){c=Qa[c|0](f,b)|0;break a}Cl(a,b);break b}Oq(a,e+8|0)}c=0}Ma=e+32|0;return c}function VP(a){var b=0,c=0,d=0,e=0;b=Ma-16|0;Ma=b;e=(q(a),j(2));c=e&2147483647;a:{if(c>>>0<=1061752794){if(c>>>0<964689920){break a}a=dl(+a);break a}if(c>>>0<=1081824209){d=+a;if(c>>>0<=1075235811){if((e|0)<=-1){a=C(-el(d+1.5707963267948966));break a}a=el(d+-1.5707963267948966);break a}a=dl(-(((e|0)>-1?-3.141592653589793:3.141592653589793)+d));break a}if(c>>>0<=1088565717){d=+a;if(c>>>0<=1085271519){if((e|0)<=-1){a=el(d+4.71238898038469);break a}a=C(-el(d+-4.71238898038469));break a}a=dl(((e|0)>-1?-6.283185307179586:6.283185307179586)+d);break a}if(c>>>0>=2139095040){a=C(a-a);break a}b:{switch(UP(a,b+8|0)&3){case 0:a=dl(A[b+8>>3]);break a;case 1:a=el(A[b+8>>3]);break a;case 2:a=dl(-A[b+8>>3]);break a;default:break b}}a=C(-el(A[b+8>>3]))}Ma=b+16|0;return a}function PE(a,b,c){var d=0,e=0,f=0,g=0;e=Ma-16|0;Ma=e;g=Bd(c);a:{b:{c:{f=b- -64|0;d=v[v[f+12>>2]+((g>>>0)%y[f+8>>2]<<2)>>2];if(d){while(1){if(v[d+12>>2]==(g|0)){if(!ld(d+16|0,c,-1)){break c}}d=v[d+8>>2];if(d){continue}break}}v[e+12>>2]=f;v[e+8>>2]=0;break b}v[e+12>>2]=f;v[e+8>>2]=d;c=v[d+24>>2];v[a>>2]=0;d=v[v[b+48>>2]+((c>>>0)%y[b+44>>2]<<2)>>2];d:{if(!d){break d}while(1){if(!((c|0)==v[d+12>>2]&(c|0)==v[d+16>>2])){d=v[d+8>>2];if(d){continue}break d}break}if(!v[d+20>>2]|v[c+4>>2]<1){break d}qb(a,c);b=v[a>>2];if(!b){break d}if(v[b+4>>2]>0){break a}qb(a,0);if(v[a>>2]){break a}}ho(f,e+8|0);b=v[a>>2];v[a>>2]=0;if(!b){break b}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break b}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}v[a>>2]=0;qb(a,0)}Ma=e+16|0}function Gya(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if(c>>>0>=65534){d=v[a>>2];v[d+20>>2]=12;Qa[v[d>>2]](a)}d=v[a+24>>2];e=v[d>>2];v[d>>2]=e+1;t[e|0]=255;e=v[d+4>>2]-1|0;v[d+4>>2]=e;a:{if(e){break a}if(Qa[v[d+12>>2]](a)|0){break a}d=v[a>>2];v[d+20>>2]=25;Qa[v[d>>2]](a)}d=v[a+24>>2];e=v[d>>2];v[d>>2]=e+1;t[e|0]=b;b=v[d+4>>2]-1|0;v[d+4>>2]=b;b:{if(b){break b}if(Qa[v[d+12>>2]](a)|0){break b}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];d=v[b>>2];v[b>>2]=d+1;e=d;d=c+2|0;t[e|0]=d>>>8;c=v[b+4>>2]-1|0;v[b+4>>2]=c;c:{if(c){break c}if(Qa[v[b+12>>2]](a)|0){break c}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=d;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d:{if(c){break d}if(Qa[v[b+12>>2]](a)|0){break d}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}}function Bza(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;if(!w[b+8|0]){d=v[b+24>>2];b=Fg(84);v[a+8>>2]=b;a:{if(b){c=b;b:{if(!(!d|w[d|0]!=106|w[d+1|0]!=97)){f=17039875;g=100992768;d=w[d+2|0];e=1;if(!d|(d|0)==95){break b}}f=33751047;g=17171716;e=0}t[c+74|0]=e;c=v[213233];e=v[213232];v[b>>2]=e;v[b+4>>2]=c;d=v[213235];h=v[213234];v[b+8>>2]=h;v[b+12>>2]=d;i=v[213237];j=v[213236];v[b+16>>2]=j;v[b+20>>2]=i;k=v[213239];l=v[213238];v[b+24>>2]=l;v[b+28>>2]=k;t[b+65|0]=0;t[b+66|0]=0;t[b+67|0]=0;t[b+68|0]=0;t[b+64|0]=1;t[a+36|0]=0;v[b+76>>2]=f;v[b+80>>2]=g;t[b+75|0]=0;u[b+72>>1]=1;v[b+56>>2]=l;v[b+60>>2]=k;v[b+48>>2]=j;v[b+52>>2]=i;v[b+40>>2]=h;v[b+44>>2]=d;v[b+32>>2]=e;v[b+36>>2]=c;v[a+56>>2]=0;break a}v[c>>2]=7}t[a+61|0]=255;u[a+108>>1]=65533}}function Nva(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;a:{if(w[a+208|0]){break a}c=v[a+196>>2];if(!c){e=ab(16);c=e;v[c>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;c=0;f=v[a+192>>2];h=v[a+184>>2];g=v[a+180>>2];d=h-g|0;if((f|0)==((d?B(d>>2,93)-1|0:0)|0)){Dz(a+176|0);g=v[a+180>>2];f=v[a+192>>2]+v[a+196>>2]|0;h=v[a+184>>2]}if((h|0)!=(g|0)){c=(f>>>0)/93|0;c=v[(c<<2)+g>>2]+B(f-B(c,93)|0,44)|0}v[c>>2]=0;v[c+4>>2]=0;v[c+32>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;d=ab(16);Cz(d,e);v[c+40>>2]=d;v[a+196>>2]=v[a+196>>2]+1;Fs(e);$a(e);c=v[a+196>>2]}d=(v[a+192>>2]+c|0)-1|0;c=(d>>>0)/93|0;DW(v[v[a+180>>2]+(c<<2)>>2]+B(d-B(c,93)|0,44)|0,v[b+596>>2],b+16|0,1);t[a+200|0]=1;if(w[a+201|0]|(w[a+208|0]|w[a+203|0])){break a}xv(a,b)}}function EW(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;a:{if(w[a+208|0]){break a}c=v[a+196>>2];if(!c){e=ab(16);c=e;v[c>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;c=0;f=v[a+192>>2];h=v[a+184>>2];g=v[a+180>>2];d=h-g|0;if((f|0)==((d?B(d>>2,93)-1|0:0)|0)){Dz(a+176|0);g=v[a+180>>2];f=v[a+192>>2]+v[a+196>>2]|0;h=v[a+184>>2]}if((h|0)!=(g|0)){c=(f>>>0)/93|0;c=v[(c<<2)+g>>2]+B(f-B(c,93)|0,44)|0}v[c>>2]=0;v[c+4>>2]=0;v[c+32>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;d=ab(16);Cz(d,e);v[c+40>>2]=d;v[a+196>>2]=v[a+196>>2]+1;Fs(e);$a(e);c=v[a+196>>2]}d=(v[a+192>>2]+c|0)-1|0;c=(d>>>0)/93|0;DW(v[v[a+180>>2]+(c<<2)>>2]+B(d-B(c,93)|0,44)|0,v[b+596>>2],b+16|0,0);t[a+200|0]=1;if(w[a+201|0]|(w[a+208|0]|w[a+203|0])){break a}xv(a,b)}}function ET(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=Ma-16|0;Ma=d;v[a+8>>2]=0;v[a>>2]=0;v[a+4>>2]=0;h=v[b+4>>2];if((h|0)>=1){while(1){g=w[b+8|0];f=e;a:{if((e|0)>=(h|0)){break a}c=v[(g?v[b>>2]:b)>>2];while(1){if(v[c+(f<<2)>>2]==44){break a}f=f+1|0;if((h|0)!=(f|0)){continue}break}f=h}t[d+8|0]=0;v[d>>2]=0;v[d+4>>2]=0;b:{c:{if(!g){c=b;break c}c=v[b>>2];if(c){break c}c=0;break b}c=v[c>>2]}t[d+8|0]=0;v[d>>2]=0;v[d+4>>2]=0;g=c+(e<<2)|0;c=f-e|0;if((c|0)==-1){e=ce(g);c=(e|0)>-1?e:-2147483648}v[d+4>>2]=c;v[d>>2]=g;t[d+8|0]=0;e=v[a+4>>2];d:{if((e|0)!=v[a+8>>2]){t[e+8|0]=0;v[e+4>>2]=c;v[e>>2]=g;v[a+4>>2]=e+12;break d}DT(a,d)}e=f+1|0;e:{if(!w[d+8|0]){break e}c=v[d>>2];if(!c){break e}f=v[c+4>>2]-1|0;v[c+4>>2]=f;if(f){break e}$a(c)}if((e|0)<(h|0)){continue}break}}Ma=d+16|0}function YSa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=Ma-880|0;Ma=c;if(x[a+26308>>1]){e=v[249419];while(1){if((Qa[v[v[a>>2]>>2]](v[a+4>>2],c+32|0,1,848)|0)<=847){a:{if(v[a+26160>>2]){break a}v[c+16>>2]=v[a+25208>>2];vb(e,8292,c+16|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,e);break a}b=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[c>>2]=b;v[c+4>>2]=b>>31;vb(e,14622,c)}v[a+26160>>2]=1}if(x[a+26310>>1]){b=d<<2&12;g=B(v[b+197920>>2],d)+v[b+197936>>2]|0;h=d<<1&14;i=v[a+26028>>2];j=v[a+26352>>2];b=0;while(1){f=x[a+26316>>1];u[((B(x[a+26320>>1],d>>>f|0)+(b>>>f|0)<<3)+j|0)+((i>>>((b&1|h)<<1)&3)<<1)>>1]=w[c+32+(b+g|0)%848|0];b=b+1|0;if(b>>>0>1]){continue}break}}d=d+1|0;if(d>>>0>1]){continue}break}}v[a+26124>>2]=255;Ma=c+880|0}function Kt(a,b,c,d){var e=0,f=0;a:{if(!c){c=0;break a}c=v[a+512>>2];if(c){break a}c=v[a+528>>2]}b:{c:{d:{e:{c=d?v[a+544>>2]:c;if(!c){break e}c=v[c+88>>2];if(!c){break e}if(w[c+49|0]){break b}e=.45455;if(w[c+59|0]){break c}if(!w[c+57|0]){break e}e=+y[c+1104>>2]/1e5;break d}f:{if(!b){break f}e=.45455;if(w[a+310|0]){break c}if(!w[a+308|0]){break f}e=+y[a+2192>>2]/1e5;break d}e=A[a+104>>3]}if(!(e>0)){break b}}e=A[a+88>>3]/(e*A[a+96>>3]);if(e!=A[a+960>>3]){t[a+704|0]=0;c=1;while(1){b=a+c|0;f=pd(+(c|0)/255,e)*255+.5;g:{if(f<4294967296&f>=0){d=~~f>>>0;break g}d=0}t[b+704|0]=d;b=c+1|0;if((b|0)==256){A[a+960>>3]=e}else{d=a+b|0;f=pd(+(b|0)/255,e)*255+.5;h:{if(f<4294967296&f>=0){b=~~f>>>0;break h}b=0}t[d+704|0]=b;c=c+2|0;continue}break}}v[a+976>>2]=941}return 0}function Cr(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0;k=Ma-16|0;Ma=k;t[k+15|0]=a;a:{b:{c:{if(v[d>>2]!=(c|0)){break c}l=43;m=a&255;if((m|0)!=w[j+24|0]){l=45;if(w[j+25|0]!=(m|0)){break c}}v[d>>2]=c+1;t[c|0]=l;break b}if(w[g+11|0]>>>7|0){g=v[g+4>>2]}else{g=w[g+11|0]}if(!(!g|(a|0)!=(f|0))){a=0;b=v[i>>2];if((b-h|0)>159){break a}a=v[e>>2];v[i>>2]=b+4;v[b>>2]=a;break b}a=-1;f=uD(j,j+26|0,k+15|0)-j|0;if((f|0)>23){break a}d:{e:{switch(b-8|0){case 0:case 2:if((b|0)>(f|0)){break d}break a;case 1:break d;default:break e}}if((b|0)!=16|(f|0)<22){break d}b=v[d>>2];if((b|0)==(c|0)|(b-c|0)>2|w[b-1|0]!=48){break a}a=0;v[e>>2]=0;v[d>>2]=b+1;t[b|0]=w[f+1004032|0];break a}a=v[d>>2];v[d>>2]=a+1;t[a|0]=w[f+1004032|0];v[e>>2]=v[e>>2]+1;a=0;break a}a=0;v[e>>2]=0}Ma=k+16|0;return a}function Ar(a,b,c,d,e,f,g,h,i,j){var k=0,l=0;k=Ma-16|0;Ma=k;v[k+12>>2]=a;a:{b:{c:{if(v[d>>2]!=(c|0)){break c}l=43;if(v[j+96>>2]!=(a|0)){l=45;if(v[j+100>>2]!=(a|0)){break c}}v[d>>2]=c+1;t[c|0]=l;break b}if(w[g+11|0]>>>7|0){g=v[g+4>>2]}else{g=w[g+11|0]}if(!(!g|(a|0)!=(f|0))){a=0;b=v[i>>2];if((b-h|0)>159){break a}a=v[e>>2];v[i>>2]=b+4;v[b>>2]=a;break b}a=-1;g=rD(j,j+104|0,k+12|0)-j|0;if((g|0)>92){break a}f=g>>2;d:{e:{switch(b-8|0){case 0:case 2:if((b|0)>(f|0)){break d}break a;case 1:break d;default:break e}}if((b|0)!=16|(g|0)<88){break d}b=v[d>>2];if((b|0)==(c|0)|(b-c|0)>2|w[b-1|0]!=48){break a}a=0;v[e>>2]=0;v[d>>2]=b+1;t[b|0]=w[f+1004032|0];break a}a=v[d>>2];v[d>>2]=a+1;t[a|0]=w[f+1004032|0];v[e>>2]=v[e>>2]+1;a=0;break a}a=0;v[e>>2]=0}Ma=k+16|0;return a}function tk(a,b,c){var d=0,e=0,f=0;a:{if(!Cg(a)){break a}d=v[b+16>>2];v[a+12>>2]=v[b+12>>2];v[a+16>>2]=d;d=v[b+48>>2];v[a+44>>2]=v[b+44>>2];v[a+48>>2]=d;d=v[b+40>>2];v[a+36>>2]=v[b+36>>2];v[a+40>>2]=d;d=v[b+32>>2];v[a+28>>2]=v[b+28>>2];v[a+32>>2]=d;d=v[b+24>>2];v[a+20>>2]=v[b+20>>2];v[a+24>>2]=d;cb(a+52|0,b+52|0,908);v[a+4>>2]=v[b+4>>2];v[a+8>>2]=v[b+8>>2];v[a+960>>2]=v[b+960>>2];v[a+964>>2]=v[b+964>>2];v[a+968>>2]=v[b+968>>2];eb(b+4|0,0,968);if(!c){break a}b:{if(v[a+60>>2]){break b}d=v[a+972>>2];if(!d){break b}c=0;e=v[a+356>>2];c:{if((e|0)>0){while(1){f=v[(c<<2)+d>>2];if(f){Qa[v[v[f>>2]+4>>2]](f);e=v[a+356>>2];d=v[a+972>>2]}c=c+1|0;if((e|0)>(c|0)){continue}break}if(!d){break c}}$a(d)}v[a+356>>2]=0;v[a+972>>2]=0}v[a+972>>2]=v[b+972>>2];v[b+972>>2]=0}}function SP(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;o(+a);g=j(1)|0;j(0)|0;h=g;i=(g&2147483640)>>>0<1072010280;if(!i){h=(h|0)>-1;a=.7853981633974483-(h?a:-a)+(3.061616997868383e-17-(h?b:-b));g=g>>>31|0;b=0}d=a*a;e=a*d;f=b;b=d*d;d=e*.3333333333333341+(f+d*(f+e*(b*(b*(b*(b*(b*-18558637485527546e-21+7817944429395571e-20)+.0005880412408202641)+.0035920791075913124)+.021869488294859542)+.13333333333320124+d*(b*(b*(b*(b*(b*2590730518636337e-20+7140724913826082e-20)+.0002464631348184699)+.0014562094543252903)+.0088632398235993)+.05396825397622605))));b=a+d;if(!i){e=b*b;f=b;b=+(1-(c<<1)|0);a=a+(d-e/(f+b));a=b-(a+a);return g?-a:a}if(c){o(+b);c=j(1)|0;j(0)|0;l(0,0);l(1,c|0);e=+n();f=-1/b;o(+f);c=j(1)|0;j(0)|0;l(0,0);l(1,c|0);b=+n();b=f*(e*b+1+(d-(e-a))*b)+b}return b}function nta(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,p=0,q=0,r=0,s=0,t=0;d=A[b+24>>3];c=v[b+24>>2];e=A[b+40>>3];j=v[b+40>>2];f=A[b+56>>3];k=v[b+56>>2];g=A[b+72>>3];l=v[b+72>>2];h=A[b+88>>3];m=v[b+88>>2];n=v[b+16>>2];o=v[b+32>>2];p=v[b+48>>2];q=v[b+64>>2];r=v[b+80>>2];i=A[b+8>>3];s=v[b+8>>2];t=v[b>>2];b=v[a+28>>2];v[b+616>>2]=0;v[b+620>>2]=0;v[b+624>>2]=0;v[b+628>>2]=0;i=(t|0)==1?+(s|0):i;A[b+504>>3]=i;h=(r|0)==1?+(m|0):h;A[b+544>>3]=h;g=(q|0)==1?+(l|0):g;A[b+536>>3]=g;f=(p|0)==1?+(k|0):f;A[b+528>>3]=f;e=(o|0)==1?+(j|0):e;A[b+520>>3]=e;d=(n|0)==1?+(c|0):d;A[b+512>>3]=d;A[b+608>>3]=h+(d*0+f*0);A[b+600>>3]=g+(i*0+e*0);c=v[a+8>>2];Qa[v[v[c>>2]+160>>2]](c,b);b=v[a+8>>2];Qa[v[v[b>>2]+184>>2]](b,v[a+28>>2]);v[a+32>>2]=1}function eL(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;a:{b:{if(c){g=B(c,5)>>>2|0;v[e>>2]=g;g=Qa[v[a+152>>2]](g)|0;v[d>>2]=g;if(!g){break a}j=c>>>1|0;while(1){g=a;h=cw(g+2340|0,v[g+2396>>2],v[g+2400>>2],v[g+2404>>2],v[g+2408>>2],v[g+2412>>2],3416);c:{if(h){ob(g,5,h,0);break c}t[g+2421|0]=1}v[g+2352>>2]=v[d>>2];v[g+2356>>2]=v[e>>2];v[g+2340>>2]=b;v[g+2344>>2]=c;h=ck(g+2340|0,4);i=10;d:{if((h|0)==-5|v[g+2344>>2]){break d}i=0;if(h>>>0<2){break d}ob(g,5,h,0);i=5}h=i;v[f>>2]=v[g+2360>>2];g=nn(g+2340|0);e:{if(g){ob(a,5,g,0);break e}t[a+2421|0]=0}if((h|0)!=10){break b}g=v[d>>2];if(g){Qa[v[a+156>>2]](g,v[e>>2])}g=v[e>>2]+j|0;v[e>>2]=g;g=Qa[v[a+152>>2]](g)|0;v[d>>2]=g;if(g){continue}break}ob(a,1,0,0);return 1}v[d>>2]=0;v[e>>2]=0;v[f>>2]=0}return h}ob(a,1,0,0);return 1}function IT(a,b,c){var d=0,e=0,f=0;d=Ma-48|0;Ma=d;a:{if((Bq(a)|0)<1){break a}if(!$j(a)){break a}e=d+16|0;Xc(e,a);e=qd(d+32|0,e);if(t[d+27|0]<=-1){$a(v[d+16>>2])}b:{if(!v[e+4>>2]){break b}if(!c){while(1){c:{if(!nc(e,967664)){nc(e,967692);break c}c=d+16|0;_c(c,a);hh(b,c);if(t[d+27|0]>-1){break c}$a(v[d+16>>2])}if(!Pi(a)){break b}Xc(d,a);c=qd(d+16|0,d);Xe(e,c);Qb(c);if(t[d+11|0]<=-1){$a(v[d>>2])}if(v[e+4>>2]){continue}break b}}while(1){d:{if(nc(e,967664)){f=d+16|0;_c(f,a);hh(b,f);if(t[d+27|0]>-1){break d}$a(v[d+16>>2]);break d}if(!nc(e,967692)){break d}f=d+16|0;_c(f,a);hh(c,f);if(t[d+27|0]>-1){break d}$a(v[d+16>>2])}if(!Pi(a)){break b}Xc(d,a);f=qd(d+16|0,d);Xe(e,f);Qb(f);if(t[d+11|0]<=-1){$a(v[d>>2])}if(v[e+4>>2]){continue}break}}Ej(a);Qb(e)}Ma=d+48|0}function fi(a,b){var c=0,d=0,e=0,f=0,g=0;c=gb(68);if(!c){return 0}v[c+52>>2]=0;v[c+56>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;v[c+60>>2]=0;v[c+64>>2]=-1;v[c>>2]=11;v[c+12>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;d=gb(8208);v[c+12>>2]=d;a:{if(d){f=v[c+4>>2]|8;g=8192;e=c+4|0;break a}d=c+32|0;v[c+12>>2]=d;f=v[c+4>>2];g=1;e=c+4|0}v[c+28>>2]=0;v[c+20>>2]=g;v[c+52>>2]=1015480;d=d+16|0;v[c+24>>2]=d;v[c+16>>2]=d;v[c+4>>2]=f|2;d=gb(24);if(!d){b:{if(!(w[e|0]&8)){break b}a=v[c+12>>2];if(!a){break b}$a(a);v[c+12>>2]=0}$a(c);return 0}v[c+56>>2]=d;e=(b|0)<1;v[d+16>>2]=e;v[d>>2]=0;v[d+20>>2]=0;e=e?1024:b;v[d+4>>2]=e;c:{d:{if(!a){a=gb(e);v[d+20>>2]=1;v[d>>2]=a;if(a){break d}ne(c);return 0}v[d>>2]=a;if((b|0)>0){break c}}b=0}v[d+12>>2]=0;v[d+8>>2]=b;return c}function eda(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,h=0,i=0,j=0;g=Ma-32|0;Ma=g;v[g+24>>2]=b;a:{if(!(v[d+4>>2]&1)){v[g>>2]=-1;b=Qa[v[v[a>>2]+16>>2]](a,b,c,d,e,g)|0;v[g+24>>2]=b;b:{switch(v[g>>2]){case 0:t[f|0]=0;break a;case 1:t[f|0]=1;break a;default:break b}}t[f|0]=1;v[e>>2]=4;break a}a=v[d+28>>2];v[g>>2]=a;v[a+4>>2]=v[a+4>>2]+1;h=Yi(g);a=v[g>>2];b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Qa[v[v[a>>2]+8>>2]](a)}a=v[d+28>>2];v[g>>2]=a;v[a+4>>2]=v[a+4>>2]+1;a=Dr(g);b=v[g>>2];d=v[b+4>>2]-1|0;v[b+4>>2]=d;if((d|0)==-1){Qa[v[v[b>>2]+8>>2]](b)}Qa[v[v[a>>2]+24>>2]](g,a);Qa[v[v[a>>2]+28>>2]](g|12,a);d=g+24|0;i=f,j=(Cx(d,c,g,d,h,e,1)|0)==(g|0),t[i|0]=j;b=v[g+24>>2];while(1){d=Vb(d-12|0);if((g|0)!=(d|0)){continue}break}}Ma=g+32|0;return b|0}function dK(a,b,c){var d=0,e=0,f=0;if(w[a+96|0]){t[a+96|0]=0;v[a+64>>2]=2147483647;v[a+68>>2]=2147483647;v[a+48>>2]=2147483647;v[a+52>>2]=2147483647;v[a+8>>2]=0;v[a+12>>2]=0;v[a+1172>>2]=0;v[a+88>>2]=-2147483647;v[a+92>>2]=-2147483647;v[a+80>>2]=2147483647;v[a+84>>2]=2147483647;v[a+72>>2]=0;v[a+76>>2]=0;v[a+56>>2]=0;v[a+60>>2]=0}if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){rc(a+100|0,a,v[a+1164>>2],v[a+1168>>2])}f=a;c=c*256;c=c+(c<0?-.5:.5);a:{if(D(c)<2147483648){d=~~c;break a}d=-2147483648}e=d;v[f+1168>>2]=e;f=a;b=b*256;b=b+(b<0?-.5:.5);b:{if(D(b)<2147483648){d=~~b;break b}d=-2147483648}v[f+1164>>2]=d;v[a+120>>2]=e;v[a+116>>2]=d;if(w[a+128|0]){v[a+124>>2]=(v[a+112>>2]<(e|0))<<1|v[a+108>>2]<(d|0)|(v[a+100>>2]>(d|0))<<2|(v[a+104>>2]>(e|0))<<3}v[a+1172>>2]=1}function Uca(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,h=0,i=0,j=0;g=Ma-32|0;Ma=g;v[g+24>>2]=b;a:{if(!(v[d+4>>2]&1)){v[g>>2]=-1;b=Qa[v[v[a>>2]+16>>2]](a,b,c,d,e,g)|0;v[g+24>>2]=b;b:{switch(v[g>>2]){case 0:t[f|0]=0;break a;case 1:t[f|0]=1;break a;default:break b}}t[f|0]=1;v[e>>2]=4;break a}a=v[d+28>>2];v[g>>2]=a;v[a+4>>2]=v[a+4>>2]+1;h=hi(g);a=v[g>>2];b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Qa[v[v[a>>2]+8>>2]](a)}a=v[d+28>>2];v[g>>2]=a;v[a+4>>2]=v[a+4>>2]+1;a=Br(g);b=v[g>>2];d=v[b+4>>2]-1|0;v[b+4>>2]=d;if((d|0)==-1){Qa[v[v[b>>2]+8>>2]](b)}Qa[v[v[a>>2]+24>>2]](g,a);Qa[v[v[a>>2]+28>>2]](g|12,a);d=g+24|0;i=f,j=(Bx(d,c,g,d,h,e,1)|0)==(g|0),t[i|0]=j;b=v[g+24>>2];while(1){d=Vb(d-12|0);if((g|0)!=(d|0)){continue}break}}Ma=g+32|0;return b|0}function O9(a){a=a|0;var b=0,c=0,d=0;c=Ma-16|0;Ma=c;v[a+652>>2]=390;b=v[a+584>>2];a:{b:{c:{d:{e:{d=x[a+90>>1];switch(d-32844|0){case 0:break d;case 1:break e;default:break c}}if(!VM(a)){break b}if(x[a+88>>1]==34677){v[a+540>>2]=458;a=1;f:{switch(v[b>>2]){case 0:v[b+20>>2]=459;break a;case 1:v[b+20>>2]=460;break a;case 3:break f;default:break a}}v[b+20>>2]=461;break a}v[a+540>>2]=462;a=1;g:{switch(v[b>>2]){case 0:v[b+20>>2]=463;break a;case 1:v[b+20>>2]=464;break a;case 3:break g;default:break a}}v[b+20>>2]=465;break a}if(!UM(a)){break b}v[a+540>>2]=466;a=1;h:{switch(v[b>>2]){case 0:v[b+20>>2]=467;break a;case 3:break h;default:break a}}v[b+20>>2]=468;break a}b=v[a>>2];a=v[a+628>>2];v[c+4>>2]=23330;v[c>>2]=d;wb(a,b,20394,c)}a=0}Ma=c+16|0;return a|0}function M2a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:{if(w[a+17|0]<33){e=v[a+12>>2];b:{c:{if(y[b>>2]<=256){b=-1;d=v[c+8>>2];if(d&7){break b}b=v[c+64>>2];if(!((b|0)<0|(b|0)>v[c+60>>2])){break a}v[c+4>>2]=v[c+4>>2]|32;b=-1;d=v[c+28>>2];v[c+28>>2]=d-1;if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=v[c+24>>2];v[c+24>>2]=b+1;t[b|0]=e;break c}if((Cb(c,e&255)|0)!=-1){break c}break b}b=-1;if(wg(c,e)){break b}}b=-1;d=v[c+8>>2];if(d&7){break b}a=a+16|0;e=w[a|0];b=v[c+64>>2];if(!((b|0)<0|(b|0)>v[c+60>>2])){break a}v[c+4>>2]=v[c+4>>2]|32;b=-1;d=v[c+28>>2];v[c+28>>2]=d-1;d:{if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=v[c+24>>2];v[c+24>>2]=b+1;t[b|0]=e;break d}if((Cb(c,e)|0)==-1){break b}}b=P5(c,t[a|0]&1,a)?-1:0}return b|0}O(53401,47016,689,188718);L()}v[c+8>>2]=d|4;return-1}function dS(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{b:{c:{d=v[a+708>>2];switch(d|0){case 0:break a;case 1:break c;default:break b}}uc(a,c);return}d=d-1|0;v[a+708>>2]=d;if((d|0)!=1){break a}Db(a,67705);uc(a,c);return}d=v[a+200>>2];if(d&1){if(d&4){v[a+200>>2]=d|8}Tb(a,v[a+740>>2]);d=jf(a,c+1|0);v[a+740>>2]=d;if(!d){Db(a,67959);return}Ye(a,d,c);gc(a,d,c);e=uc(a,0);d=v[a+740>>2];if(e){Tb(a,d);v[a+740>>2]=0;return}f=c+d|0;t[f|0]=0;c=d;while(1){e=c;c=c+1|0;if(w[e|0]){continue}break}c=jf(a,28);if(!c){Db(a,68095);Tb(a,v[a+740>>2]);v[a+740>>2]=0;return}v[c+24>>2]=0;v[c+4>>2]=d;v[c>>2]=-1;v[c+16>>2]=0;v[c+20>>2]=0;d=e+((e|0)!=(f|0))|0;v[c+8>>2]=d;g=c,h=zb(d),v[g+12>>2]=h;b=KE(a,b,c);Tb(a,v[a+740>>2]);v[a+740>>2]=0;Tb(a,c);if(b){Db(a,68155)}return}dc(a,67810);L()}function Nn(a){var b=0,c=0,d=0,e=0,f=0,g=0;if(a){b=v[a+32>>2];if(b){$a(b);v[a+32>>2]=0}b=v[a+28>>2];if(b){$a(b);v[a+28>>2]=0}b=v[a+36>>2];a:{if(!b){break a}c=v[b+1456>>2];if(c){$a(c);v[b+1456>>2]=0;b=v[a+36>>2]}c=v[b+1872>>2];if(c){$a(c);v[b+1872>>2]=0;b=v[a+36>>2];if(!b){break a}}$a(b);v[a+36>>2]=0}c=v[a+44>>2];if(c){b=v[c+88>>2];b:{if(!b){break b}if((B(v[c+52>>2],v[c+48>>2])|0)>0){while(1){d=B(e,1876);f=d+b|0;g=v[f+1456>>2];if(g){$a(g);v[f+1456>>2]=0;b=v[c+88>>2]}b=b+d|0;d=v[b+1872>>2];if(d){$a(d);v[b+1872>>2]=0}b=v[c+88>>2];e=e+1|0;if((e|0)<(B(v[c+52>>2],v[c+48>>2])|0)){continue}break}if(!b){break b}}$a(b);v[c+88>>2]=0}b=v[c+68>>2];if(b){$a(b);v[c+68>>2]=0}b=v[c+56>>2];if(b){$a(b);v[c+56>>2]=0}b=v[c+44>>2];if(b){$a(b);v[c+44>>2]=0}$a(c)}$a(a)}}function bZa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=v[a+636>>2]+v[a+616>>2]|0;e=v[a+644>>2];a:{b:{b=v[a+540>>2];if(!b){b=v[v[a+528>>2]+88>>2]}if(!w[b+56|0]){b=0;if(v[a+588>>2]>0){break b}h=1;break a}c=v[a+588>>2];c:{d:{if(x[b+836>>1]){b=0;if((c|0)>0){break d}break a}b=0;if((c|0)>0){break c}break a}c=0;while(1){g=e;if(!(b&255)){c=w[d|0];d=d+1|0;b=128}Yq(g,b&c?0:255);e=e+4|0;b=(b&254)>>>1|0;f=f+1|0;if((f|0)>2]){continue}break}break a}c=0;while(1){g=e;if(!(b&255)){c=w[d|0];d=d+1|0;b=128}Yq(g,b&c?-1:0);e=e+4|0;b=(b&254)>>>1|0;f=f+1|0;if((f|0)>2]){continue}break}break a}while(1){g=e;if(!(b&255)){c=w[d|0];d=d+1|0;b=128}Yq(g,b&c?-1:255);e=e+4|0;h=1;b=(b&254)>>>1|0;f=f+1|0;if((f|0)>2]){continue}break}}t[a+649|0]=h;return 0}function G1a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=v[v[a+40>>2]+16>>2];b=v[a+52>>2];if(v[a+4>>2]==16){c=v[v[a+44>>2]+88>>2]+B(v[a+8>>2],1876)|0}else{c=v[a+36>>2]}if(v[c+424>>2]){e=v[c+420>>2]+1|0}j=v[c+1872>>2];v[c+424>>2]=1;h=(g|0)<257?1:2;a=((Qa[v[v[b>>2]+20>>2]](b,2)|0)-2|0)/((h<<1)+5|0)|0;i=a+e|0;if((a|0)>0){while(1){d=(e<<5)+c|0;k=d,l=Qa[v[v[b>>2]+20>>2]](b,1)|0,v[k+428>>2]=l;k=d,l=Qa[v[v[b>>2]+20>>2]](b,h)|0,v[k+432>>2]=l;f=Qa[v[v[b>>2]+20>>2]](b,2)|0;a=v[c+12>>2];v[d+436>>2]=a>>>0>>0?a:f;f=Qa[v[v[b>>2]+20>>2]](b,1)|0;a=v[j+4>>2];v[d+440>>2]=a>>>0>>0?a:f;a=Qa[v[v[b>>2]+20>>2]](b,h)|0;v[d+444>>2]=a>>>0>g>>>0?g:a;k=d,l=Qa[v[v[b>>2]+20>>2]](b,1)|0,v[k+448>>2]=l;e=e+1|0;if((i|0)>(e|0)){continue}break}}v[c+420>>2]=i-1}function EY(a){var b=0,c=0,d=0;b=Ma-65808|0;Ma=b;v[b+44>>2]=0;v[b+48>>2]=0;a:{if(!a){IY(b+8|0);break a}v[b+48>>2]=v[a+40>>2];c=v[a+36>>2];v[b+40>>2]=v[a+32>>2];v[b+44>>2]=c;c=v[a+28>>2];v[b+32>>2]=v[a+24>>2];v[b+36>>2]=c;c=v[a+20>>2];v[b+24>>2]=v[a+16>>2];v[b+28>>2]=c;c=v[a+12>>2];v[b+16>>2]=v[a+8>>2];v[b+20>>2]=c;c=v[a+4>>2];v[b+8>>2]=v[a>>2];v[b+12>>2]=c}c=b;d=v[b+36>>2];a=v[b+8>>2];if(!a){a=v[b+40>>2]}a=Qa[a|0](d,0,11)|0;v[c+52>>2]=a;b:{if(!a){a=0;break b}a=Mo(b+8|0,a);v[b+128>>2]=0;v[b+64>>2]=0;v[b+65776>>2]=a;v[b+65780>>2]=Pa;v[b+56>>2]=0;v[b+60>>2]=0;a=gb(65800);c=b+65792|0;v[c>>2]=0;v[c+4>>2]=0;v[b+65784>>2]=0;v[b+65788>>2]=0;if(!a){Qa[v[b+28>>2]](v[b+36>>2],v[b+52>>2])|0;a=0;break b}v[b+65800>>2]=0;cb(a,b+8|0,65800)}Ma=b+65808|0;return a}function BWa(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;a:{if(w[a+286|0]|!w[a+285|0]|(w[a+287|0]|w[a+288|0])){break a}if(w[a+289|0]){break a}if((c|0)!=1){ob(a,1028,0,0);return 1028}if(w[a+305|0]){g=w[d|0];b:{if(w[a+114|0]){c=Qa[v[a+152>>2]](36)|0;if(!c){ob(a,1,0,0);c=1;break b}v[c+4>>2]=713;v[c>>2]=714;f=v[a+700>>2];c:{if(f){v[f+8>>2]=c;break c}v[a+696>>2]=c}v[c+8>>2]=0;v[c+12>>2]=f;v[a+700>>2]=c;v[c+16>>2]=v[a+436>>2];v[c+20>>2]=v[a+440>>2];v[c+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=c}t[c+28|0]=g;c=P4(a,c);if(c){break b}}c=0}d:{if(c){break d}c=0;if(!w[a+112|0]){break d}c=Qa[v[b+4>>2]](a,b,e)|0;if(c){break d}t[v[e>>2]+32|0]=w[d|0];c=0}return c|0}ob(a,1069,0,0);return 1069}ob(a,1029,0,0);return 1029}function ep(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=(+(b|0)+16)/116;f=h+ +(d|0)/-200;e=pd(f,3);i=(e>.008856?e:f/7.787)*108.883/100;j=i*1.057;f=+(c|0)/500+h;e=pd(f,3);g=(e>.008856?e:f/7.787)*95.047/100;e=pd(h,3);f=(e>.008856?e:h/7.787)*100/100;e=g*.0557+f*-.204;h=f*1.8758+g*-.9689+i*.0415;f=g*3.2406+f*-1.5372+i*-.4986;a:{if(f>.0031308){g=pd(f,.4166666666666667)*1.055+-.055;break a}g=f*12.92}e=e+j;b:{if(h>.0031308){f=pd(h,.4166666666666667)*1.055+-.055;break b}f=h*12.92}c:{if(e>.0031308){e=pd(e,.4166666666666667)*1.055+-.055;break c}e=e*12.92}b=a<<24;g=g*256;d:{if(D(g)<2147483648){a=~~g;break d}a=-2147483648}b=b|a<<16;f=f*256;e:{if(D(f)<2147483648){a=~~f;break e}a=-2147483648}a=b|a<<8;e=e*256;if(D(e)<2147483648){return a|~~e}return a|-2147483648}function _3(a,b,c,d){var e=0,f=0,g=0;f=v[a+2248>>2];if(!f){ob(a,1063,0,0);return 1063}e=v[f+88>>2];if(w[e+44|0]>b>>>0){ob(a,1036,0,0);return 1036}e=w[e+45|0];g=e;a:{b:{c:{switch(e|0){case 0:if(!(1<>>0>6){break b}break a;case 4:switch(c-4|0){case 0:case 2:break a;default:break b};case 2:switch(c-2|0){case 0:case 4:break a;default:break b};default:break c}}if((g|0)==6&(c|0)!=6){break b}d:{switch(e-8|0){case 0:if(c>>>0>14){break b}if(1<>>0>6){break b}if(1<>>0<=c>>>0){m=b;while(1){l=m&65535;e:{f:{if(!l){l=v[a+528>>2];break f}l=ig(a,l);if(!l|w[l+30|0]){break e}if(!(w[l+65|0]?1:w[l+64|0])){break f}n=Nt(a,l);if(n){break a}}u[l+76>>1]=j;u[l+74>>1]=i;u[l+72>>1]=h;u[l+70>>1]=g;u[l+68>>1]=f;u[l+66>>1]=e;t[l+65|0]=k;t[l+64|0]=d}m=m+1|0;if((m&65535)>>>0<=c>>>0){continue}break}u[a+2324>>1]=c;u[a+2320>>1]=b;m=a+497|0;if(b>>>0>c>>>0){break d}while(1){if(w[a+497|0]){break c}u[a+2322>>1]=b;d=b&65535;g:{if(!d){break g}d=ig(a,d);if(!d|w[d+30|0]|(!w[d+31|0]|!w[d+32|0])){break g}n=$g(a,d,0);if(n){break a}}b=b+1|0;if((b&65535)>>>0<=c>>>0){continue}break}break d}u[a+2324>>1]=c;u[a+2320>>1]=b;m=a+497|0}if(!w[m|0]){break b}}t[a+498|0]=9}n=0}return n}function Zb(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;f=-1;a:{if(!a){break a}e=v[a>>2];if(!e){break a}g=v[a+12>>2];if(!g){break a}h=v[a+16>>2];if(!h){break a}c=v[e+16>>2];if(!c){break a}if(!v[c+32>>2]){b=v[c+8>>2];if(!((b|0)==v[c+24>>2]|b>>>0>2147483646)){v[c+24>>2]=b}f=0;b=v[c+20>>2];d=v[c+4>>2];if(!((b|0)==(d|0)|d>>>0>2147483646)){v[c+20>>2]=d;b=d}if(b>>>0>(h-g|0)+250>>>0){break a}}if(!v[e+4>>2]){return 0}f=aA(e,250);b=0;c=v[v[a>>2]+16>>2];if(!(!c|v[c+32>>2])){b=v[c>>2]}d=v[a+12>>2];if((d|0)!=(b|0)){v[a+12>>2]=b;v[a+16>>2]=(v[a+16>>2]-d|0)+b}b=0;if(!(v[c+32>>2]|!c)){b=v[c+8>>2];if(!((b|0)==v[c+24>>2]|b>>>0>2147483646)){v[c+24>>2]=b}d=v[c+20>>2];b=v[c+4>>2];if((d|0)==(b|0)|b>>>0>2147483646){b=d}else{v[c+20>>2]=b}b=b+v[c>>2]|0}v[a+20>>2]=b}return f}function Dda(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;var j=0,k=0,l=0,m=0,n=0,o=0;c=Ma-16|0;Ma=c;d=(g|0)/2|0;if(f>>>0>=2){o=d<<2;g=((e<<2)+b|0)+(h<<2)|0;d=(h<<1)+e<<2;while(1){h=e;while(1){j=w[i+2|0];k=w[i+3|0];l=c+12|0;m=c+8|0;n=c+4|0;Ic(v[a+68>>2],w[i|0],j,k,l,m,n);v[b>>2]=v[c+12>>2]|v[c+8>>2]<<8|v[c+4>>2]<<16|-16777216;Ic(v[a+68>>2],w[i+1|0],j,k,l,m,n);v[g>>2]=v[c+12>>2]|v[c+8>>2]<<8|v[c+4>>2]<<16|-16777216;i=i+4|0;g=g+4|0;b=b+4|0;h=h-1|0;if(h){continue}break}i=i+o|0;g=d+g|0;b=b+d|0;f=f-2|0;if(f>>>0>1){continue}break}}if((f|0)==1){while(1){Ic(v[a+68>>2],w[i|0],w[i+2|0],w[i+3|0],c+12|0,c+8|0,c+4|0);v[b>>2]=v[c+12>>2]|v[c+8>>2]<<8|v[c+4>>2]<<16|-16777216;i=i+4|0;b=b+4|0;e=e-1|0;if(e){continue}break}}Ma=c+16|0}function JI(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=v[a+52>>2];c=w[a+32|0];a:{b:{c:{if(c){break c}d=v[a+24>>2];if(d>>>0>=y[a+28>>2]){break c}if(y[a+56>>2]>2]){break b}}if(y[a+56>>2]>=y[a+60>>2]){b=b+1|0;v[a+52>>2]=b;e=-1;if(b>>>0>16){break a}v[a+60>>2]=y[a+40>>2]>b>>>0?(1<>2]+1|0}if(c){v[a+60>>2]=256;v[a+52>>2]=9;t[a+32|0]=0;b=9}e=-1;if(v[a+4>>2]){break a}d=0;c=tJ(v[a+164>>2],a+8|0,b);v[a+24>>2]=0;f=c<<3;v[a+28>>2]=f;v[a+36>>2]=c+v[a+36>>2];g=v[a+52>>2];v[a+4>>2]=g>>>0>c>>>0;if(f>>>0<=g>>>0){break a}v[a+28>>2]=(f|1)-g;if(!c){break a}}v[a+24>>2]=b+d;g=(d>>>3|0)+a|0;c=g+8|0;f=d&7;e=w[c|0]>>>f|0;d=8-f|0;a=b-d|0;if(a>>>0<8){b=g+9|0}else{a=a-8|0;e=w[c+1|0]<>2]=13;a:{if(v[b>>2]!=6){break a}f=v[b+8>>2];e=v[f+12>>2];b:{if((e|0)<1){break b}while(1){e=(c+80|0)+(d<<3)|0;if(v[ub(f,d,c+112|0,0)>>2]-1>>>0<=1){g=v[c+112>>2]==1?+v[c+120>>2]:A[c+120>>3]}else{g=0}A[e>>3]=g;bb(c+112|0);f=v[b+8>>2];e=v[f+12>>2];if(d>>>0>2){break b}d=d+1|0;if((e|0)>(d|0)){continue}break}}d=0;c:{d:{switch(e-1|0){case 0:a=v[a+40>>2];A[c>>3]=A[c+80>>3];Fb(a,342407,c);break c;case 2:a=v[a+40>>2];A[c+32>>3]=A[c+96>>3];A[c+16>>3]=A[c+80>>3];A[c+24>>3]=A[c+88>>3];Fb(a,342164,c+16|0);break c;case 3:break d;default:break a}}a=v[a+40>>2];A[c- -64>>3]=A[c+96>>3];A[c+72>>3]=A[c+104>>3];A[c+48>>3]=A[c+80>>3];A[c+56>>3]=A[c+88>>3];Fb(a,342079,c+48|0)}d=1}Ma=c+128|0;return d}function __(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{if(b>>>0>c>>>0){break a}f=v[a+12>>2];if(f>>>0<=d>>>0|e>>>0>=f>>>0){break a}g=v[a+8>>2];f=v[g+(d<<3)>>2];g=v[g+(e<<3)>>2];b:{if((f|0)<=(g|0)){i=g;g=f;f=e;e=d;break b}i=f;f=d}j=v[a+4>>2];f=f<<3;h=v[j+f>>2];d=v[a>>2];l=v[f+d>>2];n=h-l|0;e=e<<3;k=v[e+j>>2];m=v[d+e>>2];o=k-m|0;if(!((h|0)==(k|0)|(g|0)==(i|0))){p=i-g|0;e=h-k|0;f=0;i=0;while(1){h=b<<3;d=v[h+d>>2];c:{if((d|0)<=(m|0)){d=d+o|0;break c}if((d|0)>=(l|0)){d=d+n|0;break c}if(!f){i=Ub(e,p)}d=xb(v[v[a+8>>2]+h>>2]-g|0,i)+k|0;j=v[a+4>>2];f=1}v[h+j>>2]=d;b=b+1|0;if(c>>>0>>0){break a}d=v[a>>2];continue}}while(1){a=b<<3;e=v[a+d>>2];v[a+j>>2]=(e|0)>(m|0)?(e|0)<(l|0)?k:e+n|0:e+o|0;b=b+1|0;if(c>>>0>=b>>>0){continue}break}}}function Rt(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{b:{if(b>>>0<32){if(c>>>b|0){break b}c:{if((b|0)>=1){f=b-1|0;while(1){if(!(w[a+16|0]&2)){break a}g=b;b=v[a+8>>2];d=b-1|0;v[a+8>>2]=d;d:{if((b|0)<=0){e=v[a+4>>2];b=e<<8&65280;d=(b|0)==65280?6:7;v[a+8>>2]=d;v[a+4>>2]=b|(c>>>f&1)<>2];h=v[b+8>>2];if(h&7){break c}d=v[b+64>>2];if(!((d|0)<0|(d|0)>v[b+60>>2])){v[b+8>>2]=h|4;return-1}v[b+4>>2]=v[b+4>>2]|32;d=v[b+28>>2];v[b+28>>2]=d-1;if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=b;b=v[b+24>>2];v[d+24>>2]=b+1;t[b|0]=e;break d}d=-1;if((Cb(b,e&255)|0)!=-1){break d}break c}v[a+4>>2]=v[a+4>>2]|(c>>>f&1)<1){continue}break}}d=0}return d}O(25793,18822,218,189295);L()}O(27568,18822,220,189295);L()}O(23400,18822,225,189295);L()}function kE(a){var b=0,c=0,d=0;Hf(a+40|0,0,4);b=v[a+152>>2];if(b){$a(b);v[a+152>>2]=0}b=v[a+156>>2];if(b){$a(b);v[a+156>>2]=0}b=v[a+160>>2];if(b){$a(b);v[a+160>>2]=0}b=v[a+172>>2];if(b){$a(b);v[a+172>>2]=0}b=v[a+200>>2];if(b){$a(b);v[a+200>>2]=0}b=v[a+232>>2];if(b){$a(b);v[a+232>>2]=0}b=v[a+212>>2];if(b){$a(b);v[a+212>>2]=0}b=v[a+216>>2];if(b){$a(b);v[a+216>>2]=0}b=v[a+220>>2];if(b){$a(b);v[a+220>>2]=0}b=v[a+224>>2];if(b){$a(b);v[a+224>>2]=0}b=v[a+184>>2];if(b){$a(b);v[a+184>>2]=0}b=v[a+188>>2];if(b){$a(b);v[a+188>>2]=0}v[a+44>>2]=v[a+44>>2]&-385;c=v[a+236>>2];if((c|0)>=1){b=0;while(1){d=v[(v[a+240>>2]+B(b,12)|0)+8>>2];if(d){$a(d);c=v[a+236>>2]}b=b+1|0;if((c|0)>(b|0)){continue}break}}v[a+236>>2]=0;b=v[a+240>>2];if(b){$a(b);v[a+240>>2]=0}}function hZa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=v[a+2308>>2];a:{if(!e){break a}b=v[a+2316>>2];c=v[a+2312>>2];a=v[a+2300>>2];if(w[a+56|0]){while(1){d=x[c+4>>1];g=x[c>>1];f=x[c+2>>1];if(!(!((g|0)!=x[a+838>>1]|(f|0)!=x[a+840>>1])&(d|0)==x[a+842>>1])){u[b+6>>1]=65535}u[b+4>>1]=d;u[b+2>>1]=f;u[b>>1]=g;b=b+8|0;c=c+6|0;h=h+1|0;if((e|0)!=(h|0)){continue}break}break a}if((e|0)!=1){a=e&-2;while(1){d=x[c>>1]|x[c+2>>1]<<16;u[b+4>>1]=x[c+4>>1];u[b>>1]=d;u[b+2>>1]=d>>>16;u[b+6>>1]=65535;f=x[c+10>>1];d=x[c+6>>1]|x[c+8>>1]<<16;u[b+14>>1]=65535;u[b+8>>1]=d;u[b+10>>1]=d>>>16;u[b+12>>1]=f;b=b+16|0;c=c+12|0;a=a-2|0;if(a){continue}break}}if(!(e&1)){break a}a=x[c>>1]|x[c+2>>1]<<16;u[b+4>>1]=x[c+4>>1];u[b>>1]=a;u[b+2>>1]=a>>>16;u[b+6>>1]=65535}return 0}function oT(a,b,c,d,e){var f=0,g=0,h=0,i=0;if(w[a+206|0]&32){bw(a+212|0);v[a+204>>2]=v[a+204>>2]&-2097153}v[a+212>>2]=b;b=0;v[a+216>>2]=0;h=a+212|0;a:{if(!d){while(1){if(!(!c|b)){v[a+216>>2]=c;c=0}b=v[a+272>>2];v[a+224>>2]=v[a+268>>2];v[a+228>>2]=b;b=bk(h,0);d=v[a+272>>2]-v[a+228>>2]|0;f=(b>>>0<2?(d|0)>0?d:0:0)+f|0;if(b){break a}b=v[a+216>>2];continue}}while(1){if(!(!c|b)){v[a+216>>2]=c;c=0}b=v[a+272>>2];v[a+224>>2]=v[a+268>>2];v[a+228>>2]=b;b=bk(h,0);b:{if(b>>>0>1){break b}g=v[a+272>>2]-v[a+228>>2]|0;if((g|0)<1){break b}if(e>>>0>f>>>0){i=e-f|0;cb(d+f|0,v[a+268>>2],g>>>0>>0?g:i)}f=f+g|0}if(b){break a}b=v[a+216>>2];continue}}v[a+216>>2]=0;bw(h);if((b|0)!=1){c=a;a=v[a+236>>2];uU(c,a?a:(b|0)==-5?76446:(b|0)==-3?76526:76581);f=0}return f}function Ju(a,b){var c=0,d=0,e=0;d=Ma-32|0;Ma=d;a:{b:{c:{if(w[a+144|0]){e=a+148|0;mi(e,0,256,0);c=v[a+120>>2];if(c){break c}break b}break a}while(1){Ju(v[c+8>>2],0);c=v[c>>2];if(c){continue}break}}d:{e:{if(!b){break e}v[d+8>>2]=0;c=v[a+120>>2];f:{if(!c){break f}while(1){g:{if(v[v[c+8>>2]+148>>2]&1){jb(d+8|0,c+8|0);break g}c=v[c>>2];if(c){continue}}b=v[d+8>>2];if(!b){break f}Ju(b,1);b=v[d+8>>2];v[d+8>>2]=0;h:{if(!b){break h}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break h}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}v[d+8>>2]=0;c=v[a+120>>2];if(c){continue}break}}if(!w[a+144|0]){break d}if(!(v[e>>2]&1)){break e}while(1){if(v[e>>2]&1){continue}break}}mi(e,0,0,256);Ma=d+32|0;return}}lb(mb(d+8|0,231556,241865,164,226745));L()}function aWa(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;a:{b:{c:{g=a;f=1029;d:{if(!w[a+285|0]|!w[a+288|0]){break d}f=1028;if(c&3|c>>>0<4){break d}if(!w[a+112|0]){break b}f=Qa[v[b+4>>2]](a,b,e)|0;if(f){break a}b=c>>>2|0;v[v[e>>2]+32>>2]=b;f=Qa[v[a+152>>2]](c)|0;if(f){break c}f=1}ob(g,f,0,0);return f|0}v[v[e>>2]+36>>2]=f;if((b|0)!=1){b=b&1073741822;while(1){a=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);v[f>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);v[f+4>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);f=f+8|0;d=d+8|0;b=b-2|0;if(b){continue}break}}if(!(c&4)){break b}a=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);v[f>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}f=0}return f|0}function Iia(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=Ma+-64|0;Ma=e;v[e+56>>2]=0;v[e+60>>2]=0;v[e+48>>2]=0;v[e+52>>2]=0;f=e+48|0;v[f>>2]=970612;v[f+4>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;h=f;hl(b,c,f,1);f=zg(a);a=v[e+56>>2];a:{if(!a){break a}i=e+16|0;while(1){b=e+8|0;g=v[a+8>>2];Qa[v[v[g>>2]+12>>2]](b,g,c,d);Rf(f,b);v[e+32>>2]=969432;v[e+8>>2]=969400;b=v[e+36>>2];if(b){g=v[b+4>>2]-1|0;v[b+4>>2]=g;if(!g){Qa[v[v[b>>2]+4>>2]](b)}v[e+36>>2]=0}v[e+24>>2]=969432;b=v[e+28>>2];if(b){g=v[b+4>>2]-1|0;v[b+4>>2]=g;if(!g){Qa[v[v[b>>2]+4>>2]](b)}v[e+28>>2]=0}db(i);b=v[f+8>>2];b:{if(!b|!v[b+8>>2]){break b}Sf(e+8|0,f);b=v[e+8>>2];if(!b){db(e+8|0);break b}b=v[b+8>>2];db(e+8|0);if(b){break a}}a=v[a>>2];if(a){continue}break}}ac(h);Ma=e- -64|0}function sq(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=Ma-48|0;Ma=d;e=a?v[a+80>>2]:0;a:{b:{c:{d:{switch(c-1|0){case 1:if(b){break b}a=348069;break c;default:v[d>>2]=343001;a=0;nb(0,0,0,0,0,23,1,2,0,0,0,0,237230,d);break a;case 0:case 2:case 3:break d}}a=348108;if(!b){break b}}v[d+32>>2]=a;nb(0,0,0,0,0,23,1,2,0,0,0,0,237230,d+32|0)}a=Qa[v[256552]](28)|0;if(!a){v[d+16>>2]=290868;nb(0,0,0,0,0,23,2,3,290868,0,0,0,340689,d+16|0);a=0;break a}v[a+8>>2]=0;v[a+12>>2]=0;v[a+4>>2]=1;v[a>>2]=c;v[a+24>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;if(!b){break a}g=a;c=zH(b,d+44|0);e:{if(!c){if(!e){b=Sd(b);break e}b=Zc(e,b,-1);break e}f=v[d+44>>2];if(!e){h=a,i=Ek(b,f),v[h+24>>2]=i;b=Sd(c);break e}h=a,i=Zc(e,b,f),v[h+24>>2]=i;b=Zc(e,c,-1)}v[g+8>>2]=b}Ma=d+48|0;return a}function LQ(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=Ma+-64|0;Ma=d;v[d+60>>2]=c;v[a>>2]=0;a:{if(v[b+8>>2]){f=v[b+12>>2];h=pc(d+48|0,d+56|0,32768,1);e=gy(d+32|0,Qa[v[v[b>>2]+20>>2]](b)|0?0:312822);g=v[d+56>>2];t[g+32767|0]=0;BP(g,f,c);c=v[d+56>>2];if(w[c+32767|0]){break a}f=d+8|0;aj(f,b,c);jb(a,f);a=v[d+8>>2];v[d+8>>2]=0;b:{if(!a){break b}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break b}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}b=v[e>>2];c:{if(!b){break c}d:{if(!v[b+8>>2]){v[e>>2]=0;break d}bm(v[e+8>>2],v[b+12>>2]);b=v[e>>2];v[e>>2]=0;if(!b){break c}}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break c}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}}ec(h)}Ma=d- -64|0;return}lb(mb(d+8|0,276136,241775,1664,225649));L()}function Fza(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=Ma-16|0;Ma=f;a:{if(v[d>>2]>0){break a}if(!v[c>>2]){v[c>>2]=544;break a}c=v[a+8>>2];e=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);g=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);t[b+528|0]=g;t[b+529|0]=g>>>8;t[b+530|0]=g>>>16;t[b+531|0]=g>>>24;t[b+532|0]=e;t[b+533|0]=e>>>8;t[b+534|0]=e>>>16;t[b+535|0]=e>>>24;e=w[c+12|0]|w[c+13|0]<<8|(w[c+14|0]<<16|w[c+15|0]<<24);c=w[c+8|0]|w[c+9|0]<<8|(w[c+10|0]<<16|w[c+11|0]<<24);t[b+34|0]=1;v[b+8>>2]=b+528;t[b+536|0]=c;t[b+537|0]=c>>>8;t[b+538|0]=c>>>16;t[b+539|0]=c>>>24;t[b+540|0]=e;t[b+541|0]=e>>>8;t[b+542|0]=e>>>16;t[b+543|0]=e>>>24;v[f+12>>2]=268;a=sZ(v[v[a+8>>2]>>2],b+260|0,f+12|0,d);v[v[b+8>>2]>>2]=a;e=b}Ma=f+16|0;return e|0}function Ls(a,b){var c=0,d=0,e=0;e=Ma-32|0;Ma=e;c=-1;a:{if(!b){break a}b:{c:{if(v[291060]){d=v[a+36>>2];d:{if(!d){break d}c=v[d+4>>2];if(!c){break d}d=v[d+28>>2];v[e+16>>2]=c;v[e+20>>2]=d;Qa[v[256654]](v[291043],337349,e+16|0)}d=v[a+40>>2];v[e+4>>2]=v[b+16>>2];v[e>>2]=d+1;Qa[v[256654]](v[291043],339993,e);break c}if(a){break c}d=-1;break b}e:{d=v[a+40>>2];c=v[a+44>>2];f:{if((d|0)<(c|0)){c=v[a+48>>2];break f}v[a+44>>2]=c<<1;c=Qa[v[256557]](v[a+48>>2],c<<3)|0;v[a+48>>2]=c;if(!c){break e}d=v[a+40>>2]}v[(d<<2)+c>>2]=b;v[a+40>>2]=d+1;v[a+36>>2]=b;break b}Yc(a,0);Vh(b);v[a+44>>2]=v[a+44>>2]/2;d=-1}c=-1;if(v[a+172>>2]==-1){break a}g:{if(v[a+292>>2]){break g}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break g}oc(a)}c=d}Ma=e+32|0;return c}function nPa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{b:{c=v[a+20>>2];switch(c-204|0){case 0:case 3:break a;default:break b}}d=v[a>>2];v[d+24>>2]=c;v[d+20>>2]=21;Qa[v[v[a>>2]>>2]](a)}b=(b|0)>1?b:1;c=a;if(v[v[a+456>>2]+20>>2]){d=v[a+144>>2];b=(b|0)>(d|0)?d:b}v[c+152>>2]=b;if(v[a+20>>2]!=204){Qa[v[v[a+440>>2]>>2]](a);v[a+20>>2]=204;v[a+140>>2]=0}c:{if(v[v[a+440>>2]+8>>2]){e=a+140|0;b=v[e>>2];while(1){d=v[a+116>>2];if(d>>>0>b>>>0){c=v[a+8>>2];if(c){v[c+8>>2]=d;v[c+4>>2]=b;Qa[v[c>>2]](a);b=v[a+140>>2]}d=0;Qa[v[v[a+444>>2]+4>>2]](a,0,e,0);c=b;b=v[a+140>>2];if((c|0)!=(b|0)){continue}break c}Qa[v[v[a+440>>2]+4>>2]](a);Qa[v[v[a+440>>2]>>2]](a);b=0;v[a+140>>2]=0;if(v[v[a+440>>2]+8>>2]){continue}break}}v[a+20>>2]=v[a+68>>2]?206:205;d=1}return d|0}function Pp(a,b,c,d){var e=0;e=Ma-32|0;Ma=e;v[a>>2]=0;v[a+4>>2]=v[279250];b=v[b>>2];b=v[(b?b+12|0:1117e3)>>2];v[e+24>>2]=0;v[e+28>>2]=0;v[e+20>>2]=0;v[e+16>>2]=978704;Qr(e+8|0,e+16|0,b,c,(d|0)>-1?d:-1);v[e+16>>2]=978608;b=v[e+28>>2];if(b){t[b|0]=0;$a(v[e+28>>2])}v[e+28>>2]=0;bc(e+16|0);b=v[e+8>>2];a:{if(b){Qa[v[v[b>>2]+28>>2]](e+16|0,b,1);break a}v[e+16>>2]=0}jb(a,e+16|0);b=v[e+16>>2];v[e+16>>2]=0;b:{if(!b){break b}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break b}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[a>>2];v[a+4>>2]=v[(b?b+12|0:1117e3)>>2];b=v[e+8>>2];v[e+8>>2]=0;c:{if(!b){break c}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break c}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}Ma=e+32|0;return a}function id(a,b,c){var d=0,e=0;a:{if((a|0)==(b|0)){break a}e=a+c|0;if(b-e>>>0<=0-(c<<1)>>>0){return cb(a,b,c)}d=(a^b)&3;b:{c:{if(a>>>0>>0){if(d){d=a;break b}if(!(a&3)){d=a;break c}d=a;while(1){if(!c){break a}t[d|0]=w[b|0];b=b+1|0;c=c-1|0;d=d+1|0;if(d&3){continue}break}break c}d:{if(d){break d}if(e&3){while(1){if(!c){break a}c=c-1|0;d=c+a|0;t[d|0]=w[b+c|0];if(d&3){continue}break}}if(c>>>0<=3){break d}while(1){c=c-4|0;v[c+a>>2]=v[b+c>>2];if(c>>>0>3){continue}break}}if(!c){break a}while(1){c=c-1|0;t[c+a|0]=w[b+c|0];if(c){continue}break}break a}if(c>>>0<=3){break b}while(1){v[d>>2]=v[b>>2];b=b+4|0;d=d+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(!c){break a}while(1){t[d|0]=w[b|0];d=d+1|0;b=b+1|0;c=c-1|0;if(c){continue}break}}return a}function eHa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;b=v[a+448>>2];if(v[b+16>>2]){g=b;a:{b:{if(!v[a+160>>2]|(!v[a+80>>2]|!v[a+224>>2])){break b}c=v[b+112>>2];if(!c){c=Qa[v[v[a+4>>2]>>2]](a,1,B(v[a+36>>2],24))|0;v[b+112>>2]=c}if(v[a+36>>2]<1){break b}d=v[a+216>>2];while(1){b=v[d+80>>2];if(!b|!x[b>>1]|(!x[b+2>>1]|!x[b+16>>1])){break b}if(!x[b+4>>1]|(!x[b+32>>1]|!x[b+18>>1])){break b}b=v[a+160>>2]+(e<<8)|0;if(v[b>>2]<0){break b}v[c+4>>2]=v[b+4>>2];h=v[b+4>>2];v[c+8>>2]=v[b+8>>2];i=v[b+8>>2];v[c+12>>2]=v[b+12>>2];j=v[b+12>>2];v[c+16>>2]=v[b+16>>2];k=v[b+16>>2];v[c+20>>2]=v[b+20>>2];f=v[b+20>>2]|k|(h|i|j)?1:f;d=d+88|0;c=c+24|0;e=e+1|0;if((e|0)>2]){continue}break}b=280;if(f){break a}}b=276}v[g+12>>2]=b}v[a+156>>2]=0}function pg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;if((b|0)<=-1){jh(268185)}c=8;a:{b:{if(!v[a+4>>2]){while(1){d=c;if((b|0)>(c|0)){c=d<<1;if((d|0)<1048576){continue}}break}if((2147483647-d|0)<(b|0)){jh(332876)}c=ab(b+d&0-d);break b}while(1){d=c;if((b|0)>(c|0)){c=d<<1;if((d|0)<1048576){continue}}break}if((2147483647-d|0)<(b|0)){jh(332876)}f=v[a>>2];e=8;while(1){c=e;if((c|0)<(f|0)){e=c<<1;if((c|0)<1048576){continue}}break}if((2147483647-c|0)<(f|0)){jh(332876)}if((c+f&0-c)==(b+d&0-d)){break a}d=8;while(1){c=d;if((c|0)<(b|0)){d=c<<1;if((c|0)<1048576){continue}}break}if((2147483647-c|0)<(b|0)){jh(332876)}c=ab(b+c&0-c);d=v[a+4>>2];e=v[a>>2];c:{if((e|0)>(b|0)){g=cb(c,d,b)+b|0,h=0,t[g|0]=h;break c}cb(c,d,e+1|0)}if(!d){break b}$a(d)}v[a+4>>2]=c}}function aZa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=v[a+636>>2]+v[a+616>>2]|0;h=v[a+644>>2];a:{b:{c:{e=v[a+540>>2];if(!e){e=v[v[a+528>>2]+88>>2]}if(w[e+56|0]){if(v[a+588>>2]>0){break c}break a}if(v[a+588>>2]>0){break b}j=1;break a}while(1){i=h;if(!b){l=w[g|0];f=6;g=g+1|0;b=192}c=(b&l)>>>f|0;d=0;d:{if((c|0)==x[e+836>>1]){break d}c=c-1|0;d=255;if((c&255)>>>0>2){break d}d=B(c&255,1431655680)+1431655935|0}Yq(i,d);f=f-2|0;h=h+4|0;b=(b&252)>>>2|0;k=k+1|0;if((k|0)>2]){continue}break}break a}e=0;while(1){i=h;if(!b){e=w[g|0];f=6;g=g+1|0;b=192}c=((b&e)>>>f|0)-1|0;Yq(i,c>>>0<3?B(c,1431655680)+1431655935|0:255);f=f-2|0;h=h+4|0;b=(b&252)>>>2|0;j=1;d=d+1|0;if((d|0)>2]){continue}break}}t[a+649|0]=j;return 0}function Xta(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;c=v[a+28>>2];if(!v[c+492>>2]){c=-1;a=v[a+108>>2];a:{if(!a){break a}a=v[a+4>>2];if(v[a+8>>2]==13){break a}a=v[a+16>>2];c=Qa[v[v[a>>2]+52>>2]](a)|0}fb(1,c,222351,0);return}if(v[a+32>>2]){d=v[a+8>>2];Qa[v[v[d>>2]+156>>2]](d,c);v[a+32>>2]=0;c=v[a+28>>2]}e=A[c+624>>3]-A[c+576>>3];A[c+624>>3]=e;f=A[c+616>>3];A[c+600>>3]=A[c+536>>3]+(f*A[c+504>>3]+e*A[c+520>>3]);A[c+608>>3]=A[c+544>>3]+(f*A[c+512>>3]+e*A[c+528>>3]);d=v[a+8>>2];Qa[v[v[d>>2]+184>>2]](d,c);if(v[a+100>>2]){c=v[a+8>>2];Qa[v[v[c>>2]+232>>2]](c,v[a+28>>2]);qz(a,v[b+8>>2]);b=v[a+8>>2];Qa[v[v[b>>2]+236>>2]](b,v[a+28>>2]);return}b=v[b+8>>2];c=v[a+8>>2];if(Qa[v[v[c>>2]+32>>2]](c)|0){a=v[a+8>>2];Qa[v[v[a>>2]+268>>2]](a,v[b>>2])}}function LF(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=Ma-16|0;Ma=b;a:{if(t[a+11|0]>=0){v[b+8>>2]=v[a+8>>2];c=v[a+4>>2];v[b>>2]=v[a>>2];v[b+4>>2]=c;break a}vc(b,v[a>>2],v[a+4>>2])}a=w[b+11|0];c=a<<24>>24;e=(c|0)<0;d=v[b+4>>2];f=e?d:a;if(f){a=e?v[b>>2]:b;c=a+(f<<2)|0;while(1){g=a,h=cQ(v[a>>2]),v[g>>2]=h;a=a+4|0;if((c|0)!=(a|0)){continue}break}d=v[b+4>>2];a=w[b+11|0];c=a}b:{if(((c<<24>>24<0?d:a)|0)==4){if(!Vc(b,967572,4)){e=1;break b}d=v[b+4>>2];a=w[b+11|0];c=a}e=1;if(((c<<24>>24<0?d:a)|0)==1){if(!Vc(b,967592,1)){break b}d=v[b+4>>2];a=w[b+11|0];c=a}if(((c<<24>>24<0?d:a)|0)==1){if(!Vc(b,967600,1)){break b}d=v[b+4>>2];a=w[b+11|0];c=a}e=0;if(((c<<24>>24<0?d:a)|0)!=2){break b}e=!Vc(b,967608,2)}if(t[b+11|0]<=-1){$a(v[b>>2])}Ma=b+16|0;return e}function Dg(a){var 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;while(1){d=(q<<2)+a|0;e=v[d>>2];j=e>>>24|0;g=j<<1;g=(e|0)>-1?g:g^27;r=e>>>8|0;s=e^r;b=r<<1;k=e<<16>>24>-1?b:b^27;b=k<<1;l=k<<24>>24>-1?b:b^27;b=l<<1;b=l<<24>>24>-1?b:b^27;f=g<<1;m=g<<24>>24>-1?f:f^27;f=m<<1;f=m<<24>>24>-1?f:f^27;n=e>>>16|0;c=n<<1;o=e<<8>>24>-1?c:c^27;c=o<<1;p=o<<24>>24>-1?c:c^27;c=p<<1;c=p<<24>>24>-1?c:c^27;t=d;d=e<<1;d=e<<24>>24>-1?d:d^27;h=d<<1;h=d<<24>>24>-1?h:h^27;i=h<<1;i=h<<24>>24>-1?i:i^27;v[t>>2]=(c^(f^(b^(i^(m^(l^(o^(g^(n^s)))))))))<<24|((c^(f^(b^(i^(p^(h^(o^(k^(j^s)))))))))&255)<<16|((c^(f^(b^(i^(m^(l^(k^(d^(e^j^n)))))))))&255)<<8|(c^(f^(b^(i^(p^(h^(g^(d^(j^r^n)))))))))&255;q=q+1|0;if((q|0)!=4){continue}break}}function PNa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=v[a+8>>2];f=a+12|0;if((c|0)!=(f|0)){g=b+4|0;while(1){d=c;c=v[d+28>>2];a:{if((Xo(b,d+16|0)|0)!=(g|0)){if(c){Qa[v[v[c>>2]+12>>2]](c)|0}e=v[d+4>>2];b:{if(!e){c=v[d+8>>2];if((d|0)==v[c>>2]){break b}e=d+8|0;while(1){c=v[e>>2];e=c+8|0;h=c;c=v[c+8>>2];if((h|0)!=v[c>>2]){continue}break}break b}while(1){c=e;e=v[c>>2];if(e){continue}break}}if((d|0)==v[a+8>>2]){v[a+8>>2]=c}v[a+16>>2]=v[a+16>>2]-1;fK(v[a+12>>2],d);if(t[d+27|0]<=-1){$a(v[d+16>>2])}$a(d);break a}e=v[d+4>>2];if(!e){c=v[d+8>>2];if((d|0)==v[c>>2]){break a}e=d+8|0;while(1){d=v[e>>2];e=d+8|0;c=v[d+8>>2];if((d|0)!=v[c>>2]){continue}break}break a}while(1){c=e;e=v[c>>2];if(e){continue}break}}if((c|0)!=(f|0)){continue}break}}}function Nsa(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;g=A[b+56>>3];h=v[b+56>>2];e=A[b+40>>3];i=v[b+40>>2];d=A[b+24>>3];j=v[b+24>>2];k=v[b+48>>2];l=v[b+32>>2];m=v[b+16>>2];c=v[a+28>>2];f=v[b>>2]==1?+v[b+8>>2]:A[b+8>>3];A[c+600>>3]=f;d=(m|0)==1?+(j|0):d;A[c+608>>3]=d;b=v[c+596>>2];A[b+16>>3]=d;A[b+8>>3]=f;v[b>>2]=1;b=v[a+28>>2];A[b+608>>3]=d;e=f+((l|0)==1?+(i|0):e);A[b+600>>3]=e;cd(v[b+596>>2],e,d);b=v[a+28>>2];d=d+((k|0)==1?+(h|0):g);A[b+608>>3]=d;A[b+600>>3]=e;cd(v[b+596>>2],e,d);b=v[a+28>>2];A[b+608>>3]=d;A[b+600>>3]=f;cd(v[b+596>>2],f,d);a=v[a+28>>2];kf(v[a+596>>2]);b=v[a+596>>2];b=v[((v[b+28>>2]<<2)+v[b+24>>2]|0)-4>>2];c=(v[b+12>>2]<<3)-8|0;A[a+600>>3]=A[c+v[b>>2]>>3];A[a+608>>3]=A[c+v[b+4>>2]>>3]}function cYa(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,j=0,k=0,l=0,m=0;if(e){m=e-1|0;while(1){t[g|0]=w[f|0];t[g+1|0]=w[f+1|0];t[g+2|0]=w[f+2|0];h=g+3|0;a=j?(j|0)==(m|0)?d:b:c;a:{if(a>>>0<2){g=h;break a}i=a-1|0;k=i&3;b:{if(a-2>>>0<3){i=h;a=g;break b}l=i&-4;a=g;while(1){t[h|0]=w[f|0];t[a+4|0]=w[f+1|0];t[a+5|0]=w[f+2|0];t[h+3|0]=w[f|0];t[h+4|0]=w[f+1|0];t[h+5|0]=w[f+2|0];t[h+6|0]=w[f|0];t[h+7|0]=w[f+1|0];t[h+8|0]=w[f+2|0];t[h+9|0]=w[f|0];t[h+10|0]=w[f+1|0];t[h+11|0]=w[f+2|0];a=h+9|0;i=h+12|0;h=i;l=l-4|0;if(l){continue}break}}g=i;if(!k){break a}while(1){h=g;t[h|0]=w[f|0];t[a+4|0]=w[f+1|0];t[a+5|0]=w[f+2|0];g=h+3|0;a=h;k=k-1|0;if(k){continue}break}}f=f+3|0;j=j+1|0;if((j|0)!=(e|0)){continue}break}}return 0}function RSa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=Ma-32|0;Ma=d;b=v[a+26092>>2];v[a+26336>>2]=b>>>5;i=a;c=x[a+26308>>1];if(c){e=v[249419];b=x[a+26310>>1];while(1){a:{if(!b){b=0;break a}c=0;while(1){f=v[a+26336>>2];h=v[a+26352>>2]+(B(b,g)+c<<3)|0;if((f|0)>(Qa[v[v[a>>2]>>2]](v[a+4>>2],h,2,f)|0)){b:{if(v[a+26160>>2]){break b}v[d+16>>2]=v[a+25208>>2];vb(e,8292,d+16|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,e);break b}b=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[d>>2]=b;v[d+4>>2]=b>>31;vb(e,14622,d)}v[a+26160>>2]=1}if(x[a+25204>>1]!=18761){Fp(h,h,f<<1)}b=x[a+26310>>1];c=c+1|0;if(b>>>0>c>>>0){continue}break}c=x[a+26308>>1]}g=g+1|0;if(g>>>0<(c&65535)>>>0){continue}break}b=v[a+26092>>2]}v[i+26124>>2]=-1<>2]|c>>>0<44|(w[b|0]!=83|w[b+1|0]!=70)){break a}if(w[b+2|0]!=87|w[b+3|0]!=57|(w[b+4|0]!=52|w[b+5|0]!=65)){break a}if(w[b+7|0]|w[b+6|0]!=4|(w[b+9|0]|w[b+8|0]!=16)){break a}if(w[b+11|0]|w[b+10|0]!=1|(w[b+13|0]|w[b+12|0]!=100)){break a}if(w[b+14|0]|w[b+15|0]|(w[b+17|0]|w[b+16|0]!=204)){break a}if(w[b+18|0]|w[b+19|0]|(w[b+21|0]|w[b+20|0]!=59)){break a}if(w[b+22|0]|w[b+23|0]|(w[b+24|0]!=218|w[b+25|0]!=7)){break a}if(w[b+26|0]|w[b+27|0]|(w[b+28|0]!=7|w[b+29|0]!=1)){break a}if(w[b+30|0]|w[b+31|0]|(w[b+33|0]|w[b+32|0]!=68)){break a}if(w[b+34|0]|w[b+35|0]|(w[b+36|0]!=208|w[b+37|0]!=7)){break a}if(w[b+38|0]|w[b+39|0]|(w[b+40|0]!=75|w[b+41|0]!=1)){break a}if(w[b+42|0]|w[b+43|0]){break a}d=1}return d}function _w(a,b){var c=0,d=0,e=0;a:{b:{c:{if(w[a+16|0]&2){if(b>>>0>=64){break c}c=v[a+8>>2];d:{e:{f:{if(!c){c=7;if(w[a+4|0]==255){break f}break e}if(c-1>>>0>6){break d}b=b>>>7-c|0}if(Rt(a,c,b)){break d}b=v[a+8>>2];if((b|0)>7){break d}if((b|0)<=-1){break b}}c=w[a+4|0];if((c|0)==255){break a}b=v[a+12>>2];d=v[b+8>>2];if(d&7){break d}e=v[b+64>>2];if(!((e|0)<0|(e|0)>v[b+60>>2])){v[b+8>>2]=d|4;return}v[b+4>>2]=v[b+4>>2]|32;d=v[b+28>>2];v[b+28>>2]=d-1;g:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=b;b=v[b+24>>2];v[d+24>>2]=b+1;t[b|0]=c;break g}if((Cb(b,c)|0)==-1){break d}}v[a+8>>2]=8;v[a+4>>2]=v[a+4>>2]<<8&65280}return}O(33703,18822,396,189339);L()}O(35298,18822,402,189339);L()}O(36735,18822,428,189339);L()}O(37654,18822,429,189339);L()}function RB(a,b){var c=0,d=0,e=0,f=0,g=0;gd(b,kb(b)<<1);a:{b:{c:{d:{e:{if(!kb(b)){if((kb(b)|0)!=1349808750){break e}e=kb(b);f:{if(!e){break f}while(1){if(kb(b)){break d}c=kb(b);d=kb(b);g:{if((c|0)!=1231318644){if((c|0)!=1315774496){break a}if((d|0)!=1413830740){break c}c=kb(b);v[a>>2]=c;c=gb(c<<1);v[a+4>>2]=c;if(!c){break f}eb(c,0,v[a>>2]<<1);Vd(b,v[a+4>>2],v[a>>2]<<1);break g}if((d|0)!=1413830740){break b}c=0;d=kb(b);if((d|0)<1){break g}while(1){f=a+c|0,g=Ab(b),t[f+8|0]=g;c=c+1|0;if((d|0)!=(c|0)){continue}break}}e=e-1|0;if(e){continue}break}}return}O(11805,6490,1196,194377);L()}O(53853,6490,1199,194377);L()}O(11805,6490,1207,194377);L()}O(30830,6490,1223,194377);L()}O(30830,6490,1236,194377);L()}O(3794,6490,1244,194377);L()}function Uaa(a){a=a|0;a:{if(t[1187512]&1){break a}if(!ie(1187512)){break a}b:{if(t[1188608]&1){break b}if(!ie(1188608)){break b}a=1188320;while(1){a=ud(a)+12|0;if((a|0)!=1188608){continue}break}he(1188608)}Rd(1188320,1009032);Rd(1188332,1009064);Rd(1188344,1009100);Rd(1188356,1009124);Rd(1188368,1009148);Rd(1188380,1009164);Rd(1188392,1009184);Rd(1188404,1009204);Rd(1188416,1009232);Rd(1188428,1009272);Rd(1188440,1009304);Rd(1188452,1009340);Rd(1188464,1009376);Rd(1188476,1009392);Rd(1188488,1009408);Rd(1188500,1009424);Rd(1188512,1009148);Rd(1188524,1009440);Rd(1188536,1009456);Rd(1188548,1009472);Rd(1188560,1009488);Rd(1188572,1009504);Rd(1188584,1009520);Rd(1188596,1009536);v[296877]=1188320;he(1187512)}return v[296877]}function zo(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{h=v[a+36>>2];b:{if(!h){break b}g=v[h+12>>2];f=v[h+16>>2]-g|0;if((f|0)<0){break b}k=a;e=v[a+204>>2];e=(e|0)>(f|0)?e:f;l=e;i=v[h>>2];if(i){f=0;g=v[i+16>>2];if(!(!g|v[g+32>>2])){f=v[g>>2]}g=f;f=Wh(v[v[h>>2]+16>>2])}else{f=v[h+24>>2]}j=f+(d?-2:c?-1:0)|0;if((l|0)<(j|0)){c:{if(d){while(1){f=e;i=g+e|0;e=e+1|0;if(!(w[i|0]!=(b|0)|w[g+e|0]!=(c|0))&w[i+2|0]==(d|0)){break a}if((e|0)!=(j|0)){continue}break c}}if(!c){while(1){if(w[e+g|0]==(b|0)){f=e;break a}e=e+1|0;if((j|0)!=(e|0)){continue}break c}}f=e;while(1){d=f+1|0;if(w[f+g|0]==(b|0)&w[d+g|0]==(c|0)){break a}f=d;if((j|0)!=(f|0)){continue}break}}e=j}v[k+204>>2]=e}return-1}v[a+204>>2]=0;return v[h+12>>2]+(f-v[h+16>>2]|0)|0}function jX(a,b){a:{b:{if(!(a&131072)){c:{switch(b-47|0){default:if((b|0)==32){break b}break;case 0:case 15:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:break c}}a=1;if((b|0)==58|(b&-33)-65>>>0<26|((b|0)==95|b-192>>>0<23)){break a}if(b-216>>>0<31|b-248>>>0<520|(b-880>>>0<14|b-895>>>0<7297)){break a}if((b&-2)==8204|b-8304>>>0<288|(b-11264>>>0<1008|b-12289>>>0<43007)){break a}if(b-63744>>>0<1232|b-65008>>>0<526){break a}if(b-65536>>>0>=917504){break b}break a}if((b|0)<=255){a=1;if((b&-33)-65>>>0<26|b-192>>>0<23|(b-216>>>0<31|(b|0)>247)){break a}return(b|0)==95|(b|0)==58}a=1;if(xl(b,870612)|b-12321>>>0<9|((b|0)==12295|b-19968>>>0<20902)){break a}}a=0}return a}function lXa(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,j=0,k=0,l=0;a:{if(f){if(!d){break a}a=c<<1;k=b<<1;b=0;while(1){i=x[e>>1];b:{if((i|0)==x[f>>1]){u[g>>1]=i;break b}i=w[e|0]|w[e+1|0]<<8;h=i;j=(h<<8|h>>>8)&65535;h=w[f|0]|w[f+1|0]<<8;i=j+((B(((h<<8|h>>>8)&65535)-((i<<8|i>>>8)&65535)|0,k)+c|0)/(a|0)|0)&65535;i=i<<8|i>>>8;t[g|0]=i;t[g+1|0]=i>>>8}i=g+2|0;h=x[e+2>>1];c:{if((h|0)==x[f+2>>1]){u[i>>1]=h;break c}h=e+2|0;j=w[h+1|0]<<8;l=w[h|0]|j;h=j|w[h|0];j=(h<<8|h>>>8)&65535;h=w[f+2|0]|w[f+3|0]<<8;h=j+((B(((h<<8|h>>>8)&65535)-((l<<8|l>>>8)&65535)|0,k)+c|0)/(a|0)|0)&65535;h=h<<8|h>>>8;t[i|0]=h;t[i+1|0]=h>>>8}f=f+4|0;e=e+4|0;g=g+4|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}break a}cb(g,e,d<<2)}return 0}function XE(a){var b=0,c=0,d=0,e=0,f=0,g=0;d=Ma-32|0;Ma=d;if(w[a+144|0]){b=a+148|0;a:{if(v[b>>2]&256|v[b>>2]&1){break a}if(v[b>>2]&8){qb(a+8|0,0);qb(a+36|0,0);qb(a+40|0,0);qb(a+44|0,0);qb(a+12|0,0);qb(a+32|0,0);qb(a+20|0,0);qb(a+24|0,0);qb(a+28|0,0);qb(a+48|0,0);oi(a+52|0,349015);oi(a+60|0,349015);c=v[a+148>>2];e=c&44;if((c|0)!=(e|0)){v[a+148>>2]=e}}mi(b,0,0,14);mi(b,0,1,0);e=v[a+152>>2];v[a+152>>2]=0;b=d+8|0;Tu(b,a+108|0,0,-1);jb(a+156|0,b);b=v[d+8>>2];v[d+8>>2]=0;b:{if(!b){break b}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break b}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}qb(a+160|0,a);f=a,g=ab(8),v[f+152>>2]=g;Qa[3752](a);if(!e){break a}$a(e)}Ma=d+32|0;return}lb(mb(d+8|0,231556,241865,164,226745));L()}function Mw(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=C(0),k=C(0),l=C(0);f=v[v[e>>2]+16>>2];i=v[c>>2];k=z[f+(i<<2)>>2];e=v[b>>2];j=z[(e<<2)+f>>2];g=v[a>>2];l=z[(g<<2)+f>>2];a:{if(!(j>2]=i;v[c>>2]=e;h=1;g=v[b>>2];i=v[a>>2];if(!(z[(g<<2)+f>>2]>2])){break a}v[a>>2]=g;v[b>>2]=i;e=v[c>>2];h=2;break a}b:{if(k>2]=i;v[c>>2]=g;h=1;break b}v[a>>2]=e;v[b>>2]=g;h=2;e=v[c>>2];if(!(z[(e<<2)+f>>2]>2]=e;v[c>>2]=g}e=g}g=v[d>>2];if(z[(g<<2)+f>>2]>2]){v[c>>2]=g;v[d>>2]=e;d=v[c>>2];e=v[b>>2];if(!(z[(d<<2)+f>>2]>2])){return h+1|0}v[b>>2]=d;v[c>>2]=e;c=v[b>>2];d=v[a>>2];if(!(z[(c<<2)+f>>2]>2])){return h+2|0}v[a>>2]=c;v[b>>2]=d;h=h+3|0}return h}function Lw(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=C(0),k=C(0),l=C(0);f=v[v[e>>2]+12>>2];i=v[c>>2];k=z[f+(i<<2)>>2];e=v[b>>2];j=z[(e<<2)+f>>2];g=v[a>>2];l=z[(g<<2)+f>>2];a:{if(!(j>2]=i;v[c>>2]=e;h=1;g=v[b>>2];i=v[a>>2];if(!(z[(g<<2)+f>>2]>2])){break a}v[a>>2]=g;v[b>>2]=i;e=v[c>>2];h=2;break a}b:{if(k>2]=i;v[c>>2]=g;h=1;break b}v[a>>2]=e;v[b>>2]=g;h=2;e=v[c>>2];if(!(z[(e<<2)+f>>2]>2]=e;v[c>>2]=g}e=g}g=v[d>>2];if(z[(g<<2)+f>>2]>2]){v[c>>2]=g;v[d>>2]=e;d=v[c>>2];e=v[b>>2];if(!(z[(d<<2)+f>>2]>2])){return h+1|0}v[b>>2]=d;v[c>>2]=e;c=v[b>>2];d=v[a>>2];if(!(z[(c<<2)+f>>2]>2])){return h+2|0}v[a>>2]=c;v[b>>2]=d;h=h+3|0}return h}function ix(a){var b=0,c=0,d=0;c=Ma-32|0;Ma=c;a:{if(!Pl(a,85856,11)){wb(v[a+628>>2],21533,23096,0);a=0;break a}b=gb(112);v[a+584>>2]=b;if(!b){b=v[a+628>>2];v[c>>2]=v[a>>2];wb(b,11456,24979,c);a=0;break a}d=v[a+8>>2];v[b>>2]=d;v[b+48>>2]=v[a+672>>2];v[a+672>>2]=480;v[b+52>>2]=v[a+668>>2];v[a+668>>2]=481;v[b+56>>2]=v[a+676>>2];v[a+676>>2]=482;v[b+44>>2]=0;v[b+36>>2]=0;v[b+28>>2]=0;v[b+32>>2]=0;if(!d){v[a+12>>2]=v[a+12>>2]|256}v[b+80>>2]=0;v[c+16>>2]=483;Kc(a,65540,c+16|0);v[v[a+584>>2]+96>>2]=0;v[a+556>>2]=484;v[a+548>>2]=484;v[a+540>>2]=484;v[a+520>>2]=485;v[a+516>>2]=486;v[a+572>>2]=487;v[a+564>>2]=488;v[a+560>>2]=489;v[a+552>>2]=489;v[a+544>>2]=489;v[a+536>>2]=490;v[a+532>>2]=491;v[a+524>>2]=486;a=1}Ma=c+32|0;return a}function LW(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=v[a+16>>2];c=(d>>>0)/93|0;b=v[a+4>>2];f=v[a+8>>2];a:{if((b|0)==(f|0)){g=a+20|0;break a}g=a+20|0;e=(c<<2)+b|0;c=v[e>>2]+B(d-B(c,93)|0,44)|0;d=d+v[a+20>>2]|0;h=(d>>>0)/93|0;d=v[(h<<2)+b>>2]+B(d-B(h,93)|0,44)|0;if((c|0)==(d|0)){break a}while(1){b=v[c+40>>2];if(b){$a(Fs(b))}b=v[c+24>>2];if(b){v[c+28>>2]=b;$a(b)}b=v[c+12>>2];if(b){$a(b)}b=v[c>>2];if(b){v[c+4>>2]=b;$a(b)}c=c+44|0;if((c-v[e>>2]|0)==4092){c=v[e+4>>2];e=e+4|0}if((c|0)!=(d|0)){continue}break}b=v[a+4>>2];f=v[a+8>>2]}v[g>>2]=0;c=f-b>>2;if(c>>>0>2){while(1){$a(v[b>>2]);b=v[a+4>>2]+4|0;v[a+4>>2]=b;c=v[a+8>>2]-b>>2;if(c>>>0>2){continue}break}}b=46;b:{switch(c-1|0){case 1:b=93;case 0:v[a+16>>2]=b;break;default:break b}}}function E2(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;v[a+8>>2]=v[b+8>>2];v[a+12>>2]=v[b+12>>2];v[a+20>>2]=v[b+20>>2];v[a+16>>2]=v[b+16>>2];v[a+24>>2]=v[b+24>>2];f=(a|0)==(b|0);a:{if(f){break a}c=a+28|0;d=b+28|0;g=w[b+39|0];e=g<<24>>24;if(t[a+39|0]>=0){if((e|0)>=0){e=v[d+4>>2];v[c>>2]=v[d>>2];v[c+4>>2]=e;v[c+8>>2]=v[d+8>>2];break a}De(c,v[b+28>>2],v[b+32>>2]);break a}h=c;c=(e|0)<0;mf(h,c?v[b+28>>2]:d,c?v[b+32>>2]:g)}v[a+40>>2]=v[b+40>>2];v[a+44>>2]=v[b+44>>2];v[a+48>>2]=v[b+48>>2];c=v[b+56>>2];v[a+52>>2]=v[b+52>>2];v[a+56>>2]=c;c=v[b+64>>2];v[a+60>>2]=v[b+60>>2];v[a+64>>2]=c;A[a+72>>3]=A[b+72>>3];A[a+80>>3]=A[b+80>>3];A[a+88>>3]=A[b+88>>3];A[a+96>>3]=A[b+96>>3];A[a+104>>3]=A[b+104>>3];if(!f){Gw(a+112|0,v[b+112>>2],v[b+116>>2])}}function gJ(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;j=v[b+4>>2]+(c<<4)|0;c=v[j+4>>2];if(c){n=v[j+12>>2]+(B(c,d)<<1)|0;while(1){a:{if(!x[b+8>>1]){d=65536;break a}c=v[v[b+16>>2]+(v[v[j+8>>2]+(k<<2)>>2]<<2)>>2];l=0;d=65536;while(1){f=d;e=v[c+4>>2];h=v[c>>2];d=f;b:{if((e|0)<(h|0)){break b}i=v[c+8>>2];d=f;if((i|0)<(e|0)){break b}d=f;if(!(!e|((i|0)<1|(h|0)>-1))){break b}d=f;if(!e){break b}g=v[v[v[a+736>>2]+8>>2]+(l<<2)>>2];d=f;if((g|0)==(e|0)){break b}d=0;if((g|0)<=(h|0)|(g|0)>=(i|0)){break a}if((e|0)>(g|0)){d=fc(f,g-h|0,e-h|0);break b}d=fc(f,i-g|0,i-e|0)}c=c+12|0;l=l+1|0;if(l>>>0>1]){continue}break}}m=xb(d,x[(k<<1)+n>>1]<<16)+m|0;k=k+1|0;if(k>>>0>2]){continue}break}a=m+32768>>16}else{a=0}return a}function Mka(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a:{if((c|0)<1){break a}c=c-1|0;if(!d){while(1){d=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=d;d=v[b+12>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=d;ze(a+16|0,b+16|0);Lf(a+52|0,b+52|0);b=b+68|0;a=a+68|0;d=(c|0)>0;c=c-1|0;if(d){continue}break a}}while(1){d=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=d;d=v[b+12>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=d;ze(a+16|0,b+16|0);d=b+52|0;Lf(a+52|0,d);ac(d);v[b+40>>2]=969432;v[b+16>>2]=969400;d=v[b+44>>2];if(d){e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(!e){Qa[v[v[d>>2]+4>>2]](d)}v[b+44>>2]=0}v[b+32>>2]=969432;d=v[b+36>>2];if(d){e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(!e){Qa[v[v[d>>2]+4>>2]](d)}v[b+36>>2]=0}db(b+24|0);b=b+68|0;a=a+68|0;d=(c|0)>0;c=c-1|0;if(d){continue}break}}}function Ff(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;g=v[a+4>>2];h=v[a>>2];f=v[a+16>>2];a:{if(!v[f+436>>2]){if((c|0)>24){i=c;e=h;break a}while(1){if(!g){if(!(Qa[v[v[f+24>>2]+12>>2]](f)|0)){return 0}e=v[f+24>>2];g=v[e+4>>2];h=v[e>>2]}e=h+1|0;g=g-1|0;b:{i=w[h|0];if((i|0)==255){while(1){if(!g){if(!(Qa[v[v[f+24>>2]+12>>2]](f)|0)){return 0}e=v[f+24>>2];g=v[e+4>>2];e=v[e>>2]}g=g-1|0;j=w[e|0];i=255;h=e+1|0;e=h;if((j|0)==255){continue}break}if(j){break b}e=h}b=b<<8|i;j=(c|0)<17;h=e;i=c+8|0;c=i;if(j){continue}break a}break}v[f+436>>2]=j}e=h;if((c|0)>=(d|0)){i=c;break a}if(!v[v[f+464>>2]+36>>2]){d=v[f>>2];v[d+20>>2]=120;Qa[v[d+4>>2]](f,-1);v[v[f+464>>2]+36>>2]=1}i=25;b=b<<25-c}v[a+12>>2]=i;v[a+8>>2]=b;v[a+4>>2]=g;v[a>>2]=e;return 1}function fta(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;b=v[a+28>>2];c=v[b+596>>2];d=v[c+28>>2];if(!(v[c>>2]?0:(d|0)<=0)){a:{if((d|0)<1){break a}kf(c);c=v[b+596>>2];c=v[((v[c+28>>2]<<2)+v[c+24>>2]|0)-4>>2];d=(v[c+12>>2]<<3)-8|0;A[b+600>>3]=A[d+v[c>>2]>>3];A[b+608>>3]=A[d+v[c+4>>2]>>3];if(!v[a+100>>2]){break a}b=v[v[a+28>>2]+116>>2];b:{if((Qa[v[v[b>>2]+12>>2]](b)|0)==10){jq(a,0);break b}b=v[a+8>>2];Qa[v[v[b>>2]+204>>2]](b,v[a+28>>2])}b=v[v[a+28>>2]+120>>2];if((Qa[v[v[b>>2]+12>>2]](b)|0)==10){zs(a);break a}b=v[a+8>>2];Qa[v[v[b>>2]+200>>2]](b,v[a+28>>2])}b=v[a+28>>2];c=v[b+596>>2];if(!(!v[a+36>>2]|(v[c>>2]?0:v[c+28>>2]<=0))){ej(b);b=v[a+8>>2];Qa[v[v[b>>2]+(v[a+36>>2]==1?220:224)>>2]](b,v[a+28>>2]);b=v[a+28>>2]}v[a+36>>2]=0;Ae(b)}}function eta(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;b=v[a+28>>2];c=v[b+596>>2];d=v[c+28>>2];if(!(v[c>>2]?0:(d|0)<=0)){a:{if((d|0)<1){break a}kf(c);c=v[b+596>>2];c=v[((v[c+28>>2]<<2)+v[c+24>>2]|0)-4>>2];d=(v[c+12>>2]<<3)-8|0;A[b+600>>3]=A[d+v[c>>2]>>3];A[b+608>>3]=A[d+v[c+4>>2]>>3];if(!v[a+100>>2]){break a}b=v[v[a+28>>2]+116>>2];b:{if((Qa[v[v[b>>2]+12>>2]](b)|0)==10){jq(a,1);break b}b=v[a+8>>2];Qa[v[v[b>>2]+208>>2]](b,v[a+28>>2])}b=v[v[a+28>>2]+120>>2];if((Qa[v[v[b>>2]+12>>2]](b)|0)==10){zs(a);break a}b=v[a+8>>2];Qa[v[v[b>>2]+200>>2]](b,v[a+28>>2])}b=v[a+28>>2];c=v[b+596>>2];if(!(!v[a+36>>2]|(v[c>>2]?0:v[c+28>>2]<=0))){ej(b);b=v[a+8>>2];Qa[v[v[b>>2]+(v[a+36>>2]==1?220:224)>>2]](b,v[a+28>>2]);b=v[a+28>>2]}v[a+36>>2]=0;Ae(b)}}function e_(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(!a|a>>>0>=b>>>0){break a}f=a+1|0;g=t[a|0];a=0;e=52;b:{while(1){h=a+e|0;c=h&-2;c=(w[c+462130|0]<<8|w[c+462131|0])+462128|0;d=w[c|0];i=d&127;if((g|0)==(i|0)){break b}c=h>>1;d=(g|0)>(i|0);a=d?c+1|0:a;e=d?e:c;if((a|0)<(e|0)){continue}break}return 0}if(b>>>0>f>>>0){d=w[c|0];while(1){a=d<<24;d=w[c+1|0];g=t[f|0];c:{d:{if(a>>24<=-1){if((g|0)!=(d&127)){break d}c=c+1|0;break c}e=d&127;if(!e){break a}a=((d&128?3:1)+c|0)+1|0;while(1){c=(w[a+1|0]|w[a|0]<<8)+462128|0;d=w[c|0];if((g|0)==(d&127)){break c}a=a+2|0;c=(e|0)>1;e=e-1|0;if(c){continue}break}break a}return 0}f=f+1|0;if((f|0)!=(b|0)){continue}break}}if(d<<24>>24<0|t[c+1|0]>-1){break a}return w[c+3|0]|w[c+2|0]<<8}return 0}function j_(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;v[d>>2]=0;if(!(!(e|f)|(a|0)<655)){o=d;p=(e|0)/2|0;if(f){m=v[g+28>>2];i=v[g+24>>2];j=v[g+20>>2];h=v[g+16>>2];k=v[g+12>>2];l=v[g+8>>2];f=v[g+4>>2];g=v[g>>2];q=d;e=xb(c+e|0,a);if(E(b)+E(e)>>>0<=16){c=i<<16}else{c=xb(e,b)}d=g<<16;a:{if((c|0)<(d|0)){b=Ub(f<<16,b);break a}b:{c:{d:{n=l<<16;e:{if((n|0)>(c|0)){c=Ub(d,b);g=l-g|0;if(!g){break e}b=fc(e-c|0,k-f|0,g)+Ub(f<<16,b)|0;break a}f=h<<16;if((c|0)>=(f|0)){break d}}c=Ub(n,b);f=h-l|0;if(!f){f=h<<16;break c}b=fc(e-c|0,j-k|0,f)+Ub(k<<16,b)|0;break a}if((c|0)>=i<<16){break b}}c=Ub(f,b);f=i-h|0;if(!f){break b}b=fc(e-c|0,m-j|0,f)+Ub(j<<16,b)|0;break a}b=Ub(m<<16,b)}v[q>>2]=b;a=Ub(b,a<<1)}else{a=0}v[o>>2]=p+a}}function $f(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{if(!a){a=v[296789];if(!a){break a}}h=a;g=Ma-32|0;c=g;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=0;v[c+4>>2]=0;d=b;e=w[d|0];c=0;b:{if(!e){break b}c=a;a=w[d+1|0];if(!a){a=c;while(1){d=a;a=a+1|0;if((e|0)==w[d|0]){continue}break}c=d-c|0;break b}f=(e>>>3&28)+g|0;v[f>>2]=v[f>>2]|1<>>3|0;a=w[d+2|0];f=(f&28)+g|0;v[f>>2]=e|v[f>>2];d=d+1|0;if(a){continue}break}e=c;a=w[c|0];c:{if(!a){break c}d=c;while(1){if(!(v[(a>>>3&28)+g>>2]>>>a&1)){e=d;break c}a=w[d+1|0];e=d+1|0;d=e;if(a){continue}break}}c=e-c|0}c=h+c|0;if(!w[c|0]){v[296789]=0;return 0}a=KD(c,b)+c|0;if(w[a|0]){v[296789]=a+1;t[a|0]=0;return c}v[296789]=0}return c}function oS(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a:{if((c|0)<1){break a}c=c-1|0;if(!d){while(1){d=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=d;d=v[b+12>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=d;ze(a+16|0,b+16|0);v[a+52>>2]=v[b+52>>2];b=b+56|0;a=a+56|0;d=(c|0)>0;c=c-1|0;if(d){continue}break a}}while(1){d=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=d;d=v[b+12>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=d;ze(a+16|0,b+16|0);v[a+52>>2]=v[b+52>>2];v[b+40>>2]=969432;v[b+16>>2]=969400;d=v[b+44>>2];if(d){e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(!e){Qa[v[v[d>>2]+4>>2]](d)}v[b+44>>2]=0}v[b+32>>2]=969432;d=v[b+36>>2];if(d){e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(!e){Qa[v[v[d>>2]+4>>2]](d)}v[b+36>>2]=0}db(b+24|0);b=b+56|0;a=a+56|0;d=(c|0)>0;c=c-1|0;if(d){continue}break}}}function D9(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;if((c|0)>=1){g=v[a+12>>2];while(1){d=v[g>>2];u[b>>1]=(d>>>12&4093)+13314;h=163;a=0;i=d&16383;a:{if(i>>>0>16288){f=.473684211;e=.210526316;break a}b:{c:{while(1){d=a+h>>1;j=i-u[(d<<3)+82806>>1]|0;d:{if((j|0)>0){a=d;break d}if((j|0)>-1){break c}h=d}if((h-a|0)>1){continue}break}d=a;e=(+(i-u[(d<<3)+82806>>1]|0)+.5)*.0035000001080334187;break b}e=.0017500000540167093}f=(+(d|0)+.5)*.0035000001080334187+.016939999535679817;e=e+ +z[(d<<3)+82800>>2]}a=b;f=f*32768;e:{if(D(f)<2147483648){d=~~f;break e}d=-2147483648}u[a+4>>1]=d;a=b;e=e*32768;f:{if(D(e)<2147483648){d=~~e;break f}d=-2147483648}u[a+2>>1]=d;g=g+4|0;b=b+6|0;a=(c|0)>1;c=c-1|0;if(a){continue}break}}}function Co(a,b){var c=0,d=0,e=0,f=0,g=0;e=Ma-32|0;Ma=e;a:{if(!b){break a}v[b>>2]=0;if(!a){break a}d=w[a|0];if((d|0)==58){break a}while(1){if(!d){c=0;break a}if((d|0)!=58){c=c+1|0;d=w[c+a|0];continue}break}d=c+1|0;f=Qa[v[256555]](d)|0;if(!f){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);v[b>>2]=0;v[e>>2]=231632;nb(0,0,0,0,0,2,2,3,231632,0,0,0,340689,e);c=0;break a}g=c;c=cb(f,a,c);t[g+c|0]=0;v[b>>2]=c;d=a+d|0;c=d;while(1){a=c;c=a+1|0;if(w[a|0]){continue}break}c=0;b:{a=a-d|0;if((a|0)>=0){f=Qa[v[256555]](a+1|0)|0;if(f){break b}nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0)}v[e+16>>2]=231632;nb(0,0,0,0,0,2,2,3,231632,0,0,0,340689,e+16|0);a=v[b>>2];if(!a){break a}Qa[v[256556]](a);v[b>>2]=0;break a}c=cb(f,d,a);t[a+c|0]=0}Ma=e+32|0;return c}function rVa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=v[a+428>>2];c=x[b+32>>1];c=c<<8|c>>>8;t[d+8|0]=c;t[d+9|0]=c>>>8;t[d+10|0]=w[b+34|0];t[d+11|0]=w[b+35|0];e=d+8|0;c=4;a:{if(w[b+35|0]==7){break a}c=v[b+36>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+12|0]=c;t[d+13|0]=c>>>8;t[d+14|0]=c>>>16;t[d+15|0]=c>>>24;c=v[b+40>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+16|0]=c;t[d+17|0]=c>>>8;t[d+18|0]=c>>>16;t[d+19|0]=c>>>24;c=12;if(!w[b+35|0]){break a}c=v[b+44>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+20|0]=c;t[d+21|0]=c>>>8;t[d+22|0]=c>>>16;t[d+23|0]=c>>>24;c=v[b+48>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+24|0]=c;t[d+25|0]=c>>>8;t[d+26|0]=c>>>16;t[d+27|0]=c>>>24;c=20}return hd(a,v[b>>2],c,e)|0}function c2a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=v[b+12>>2];if((d|0)>v[a+56>>2]){Nb(51174,0);return-1}a:{b:{e=v[a+84>>2]-4|0;if(e){if((e|0)==12){break b}else{break a}}d=v[v[a+64>>2]+24>>2]+B(d,488)|0;v[d>>2]=v[d>>2]|10;c=v[b+20>>2];if((c|0)>=1){e=v[b+24>>2];a=0;while(1){c=a<<2;v[(c+d|0)+16>>2]=v[c+e>>2];a=a+1|0;c=v[b+20>>2];if((a|0)<(c|0)){continue}break}}v[d+12>>2]=c;t[d+416|0]=w[b+28|0];t[d+9|0]=w[b+16|0];return 0}c=-1;a=v[a+52>>2];if(!a|v[a+40>>2]>0){break a}d=v[v[a+32>>2]+24>>2]+B(d,488)|0;v[d>>2]=v[d>>2]|10;c=v[b+20>>2];if((c|0)>=1){e=v[b+24>>2];a=0;while(1){c=a<<2;v[(c+d|0)+16>>2]=v[c+e>>2];a=a+1|0;c=v[b+20>>2];if((a|0)<(c|0)){continue}break}}v[d+12>>2]=c;t[d+416|0]=w[b+28|0];t[d+9|0]=w[b+16|0];c=0}return c|0}function SR(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Ma-16|0;Ma=e;g=e+8|0;d=g;c=Ma-48|0;Ma=c;a:{if(w[b+144|0]){lg(d);Ve(c+40|0,d);f=v[c+40>>2];v[c+32>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;h=c+8|0;i=jd(h,971432);TR(b,f,h,0,1);Qa[v[v[f>>2]+24>>2]](f);b=v[d>>2];Qa[v[v[b>>2]+20>>2]](b,0,0,0)|0;vd(i);b=v[c+40>>2];v[c+40>>2]=0;b:{if(!b){break b}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break b}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}Ma=c+48|0;break a}lb(mb(c+8|0,231556,241865,164,226745));L()}Cy(a,g);a=v[e+8>>2];v[e+8>>2]=0;c:{if(!a){break c}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break c}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=e+16|0}function G2a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;b=v[c+8>>2];a:{if(b&7){break a}d=w[a+24|0];e=w[a+12|0];f=v[c+64>>2];if(!((f|0)<0|(f|0)>v[c+60>>2])){v[c+8>>2]=b|4;break a}b=e|d<<5;v[c+4>>2]=v[c+4>>2]|32;d=v[c+28>>2];v[c+28>>2]=d-1;if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;d=v[c+24>>2];v[c+24>>2]=d+1;t[d|0]=b;break a}Cb(c,b&255)}if(v[a+16>>2]>=1){b=0;while(1){d=v[v[a+20>>2]+(b<<2)>>2];b:{if(!w[a+12|0]){e=v[c+8>>2];if(e&7){break b}f=v[c+64>>2];if(!((f|0)<0|(f|0)>v[c+60>>2])){v[c+8>>2]=e|4;break b}d=d>>>8&248;v[c+4>>2]=v[c+4>>2]|32;e=v[c+28>>2];v[c+28>>2]=e-1;if((e|0)>=1){v[c+60>>2]=v[c+60>>2]+1;e=v[c+24>>2];v[c+24>>2]=e+1;t[e|0]=d;break b}Cb(c,d);break b}wg(c,d)}b=b+1|0;if((b|0)>2]){continue}break}}return 0}function FQ(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=Ma-16|0;Ma=c;a:{b:{e=w[b+2|0];c:{if((e-1&255)>>>0>11){break c}f=w[b+3|0];if((f-1&255)>>>0>30){break c}g=w[b+4|0];if(g>>>0>23){break c}h=w[b+6|0];if(h>>>0<61){break b}}Db(a,48429);break a}d=x[b>>1];t[c+5|0]=g;t[c+4|0]=f;t[c+3|0]=e;t[c+2|0]=d;t[c+1|0]=d>>>8;b=w[b+5|0];t[c+7|0]=h;t[c+6|0]=b;if(!a){break a}v[a+744>>2]=34;t[c+8|0]=0;t[c+9|0]=0;t[c+10|0]=0;t[c+11|0]=7;t[c+12|0]=116;t[c+13|0]=73;t[c+14|0]=77;t[c+15|0]=69;d=c+8|0;jc(a,d,8);v[a+348>>2]=1950960965;Bf(a);gc(a,c+12|0,4);v[a+744>>2]=66;b=c+1|0;jc(a,b,7);gc(a,b,7);v[a+744>>2]=130;b=v[a+384>>2];b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);t[c+8|0]=b;t[c+9|0]=b>>>8;t[c+10|0]=b>>>16;t[c+11|0]=b>>>24;jc(a,d,4)}Ma=c+16|0}function rX(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=Ma-16|0;Ma=f;a:{if(!c){break a}if(!a){a=v[c+32>>2];if(!a){break a}}d=v[a+44>>2];if(!(v[a+48>>2]?1:d)|v[a+4>>2]==13){break a}b:{if(!b){a=0;break b}e=v[c+8>>2];h=v[b+8>>2];v[f+8>>2]=0;c:{d:{if(!d){break d}d=v[d+44>>2];if(!d){break d}g=Co(e,f+8|0);e:{if(g){d=le(d,g,v[f+8>>2],h);e=v[f+8>>2];if(e){Qa[v[256556]](e)}Qa[v[256556]](g);break e}d=le(d,e,0,h)}if(d){break c}}d=v[a+48>>2];if(!d){e=0;break a}a=v[c+8>>2];b=v[b+8>>2];e=0;v[f+12>>2]=0;c=v[d+44>>2];if(!c){break a}e=Co(a,f+12|0);f:{if(e){d=le(c,e,v[f+12>>2],b);a=v[f+12>>2];if(a){Qa[v[256556]](a)}Qa[v[256556]](e);break f}d=le(c,a,0,b)}if(d){break c}e=0;break a}a=1;e=0;if(v[d+40>>2]-3>>>0>1){break a}}e=a}Ma=f+16|0;return e}function pMa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;a:{if((d|0)<1){break a}f=v[a+480>>2];e=v[f+48>>2];m=v[a+112>>2];if(m){a=v[f+24>>2];n=v[a+8>>2];o=v[a+4>>2];p=v[a>>2];while(1){a=h<<2;g=v[a+c>>2];a=v[a+b>>2];q=v[f+60>>2];r=v[f+56>>2];s=v[f+52>>2];i=0;j=m;while(1){k=i<<2;l=e<<6;t[g|0]=(w[(v[k+(r+l|0)>>2]+w[a+1|0]|0)+o|0]+w[(v[(l+s|0)+k>>2]+w[a|0]|0)+p|0]|0)+w[(v[(l+q|0)+k>>2]+w[a+2|0]|0)+n|0];g=g+1|0;a=a+3|0;i=i+1&15;j=j-1|0;if(j){continue}break}e=e+1&15;v[f+48>>2]=e;h=h+1|0;if((h|0)!=(d|0)){continue}break}break a}a=d&7;if(d-1>>>0>=7){g=d&-8;while(1){e=e+8&15;g=g-8|0;if(g){continue}break}}if(a){while(1){e=e+1&15;a=a-1|0;if(a){continue}break}}v[f+48>>2]=e}}function pX(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=Ma-48|0;Ma=c;a:{if(!b){if(!a){v[c+4>>2]=337658;v[c>>2]=238031;nb(0,0,0,0,0,1,1,3,337658,0,0,0,340574,c);break a}if(!(!v[a+212>>2]|v[a+172>>2]!=-1)){break a}v[a+84>>2]=1;v[c+20>>2]=337658;v[c+16>>2]=238031;nb(0,0,0,a,0,1,1,3,337658,0,0,0,340574,c+16|0);v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1;break a}if(v[291060]){v[c+32>>2]=v[b+8>>2];Qa[v[256654]](v[291043],340512,c+32|0)}d=FH(a);if(!d){break a}f=yl(v[b+8>>2]);g=f+5|0;e=Qa[v[256555]](g)|0;if(!e){Yc(a,0);Qa[v[256556]](d);break a}t[e|0]=32;t[e+1|0]=37;a=e+f|0;t[a+2|0]=59;t[a+3|0]=32;t[a+4|0]=0;cb(e+2|0,v[b+8>>2],f);v[d+24>>2]=g;v[d+16>>2]=e;v[d+12>>2]=e;v[d+40>>2]=2727;v[d+20>>2]=e+g;h=d}Ma=c+48|0;return h}function no(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=Ma-16|0;Ma=d;e=Bd(b);c=v[v[a+12>>2]+((e>>>0)%y[a+8>>2]<<2)>>2];a:{if(c){while(1){if((e|0)==v[c+12>>2]){if(!ld(c+16|0,b,-1)){break a}}c=v[c+8>>2];if(c){continue}break}}c=ab(32);v[c>>2]=0;v[c+4>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;e=c+16|0;v[e>>2]=0;v[e+4>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c+20>>2]=v[279250];b=v[b>>2];b:{if(b){Qa[v[v[b>>2]+28>>2]](d+8|0,b,1);break b}v[d+8>>2]=0}jb(e,d+8|0);b=v[d+8>>2];v[d+8>>2]=0;c:{if(!b){break c}f=v[b+4>>2]-1|0;v[b+4>>2]=f;if(f){break c}f=v[b+4>>2];if(!f){v[b+4>>2]=-32767}if(!f){Qa[v[v[b>>2]+4>>2]](b)}}b=v[c+16>>2];b=v[(b?b+12|0:1117e3)>>2];v[c+24>>2]=0;v[c+20>>2]=b;v[c+28>>2]=v[279250];g=c,h=Bd(e),v[g+12>>2]=h;bj(a,c)}Ma=d+16|0;return c}function TC(a,b){var c=0,d=0,e=0,f=0,g=0;e=b<<1;if(e){c=a;while(1){d=w[c+3|0];t[c+3|0]=w[c|0];t[c|0]=d;d=w[c+2|0];t[c+2|0]=w[c+1|0];t[c+1|0]=d;d=w[c+7|0];t[c+7|0]=w[c+4|0];t[c+4|0]=d;d=w[c+6|0];t[c+6|0]=w[c+5|0];t[c+5|0]=d;c=c+8|0;e=e-2|0;if(e){continue}break}}a:{if(!b){break a}e=b-1|0;c=b&3;if(c){while(1){f=a,g=D3a(v[a>>2],v[a+4>>2],32),v[f>>2]=g;v[a+4>>2]=Pa;a=a+8|0;b=b-1|0;c=c-1|0;if(c){continue}break}}if(e>>>0<3){break a}while(1){f=a,g=D3a(v[a>>2],v[a+4>>2],32),v[f>>2]=g;v[a+4>>2]=Pa;f=a,g=D3a(v[a+8>>2],v[a+12>>2],32),v[f+8>>2]=g;v[a+12>>2]=Pa;f=a,g=D3a(v[a+16>>2],v[a+20>>2],32),v[f+16>>2]=g;v[a+20>>2]=Pa;f=a,g=D3a(v[a+24>>2],v[a+28>>2],32),v[f+24>>2]=g;v[a+28>>2]=Pa;a=a+32|0;b=b-4|0;if(b){continue}break}}}function Cq(a){var b=0,c=0,d=0;b=Ma-32|0;Ma=b;v[b+28>>2]=0;a:{if(!a){break a}c=v[a+4>>2];if((c|0)!=2475){v[b+24>>2]=v[208957];d=v[208956];v[b+16>>2]=v[208955];v[b+20>>2]=d;d=v[208954];v[b+8>>2]=v[208953];v[b+12>>2]=d;d=v[208952];v[b>>2]=v[208951];v[b+4>>2]=d;v[b+28>>2]=0;v[b+4>>2]=a;Qa[c|0](v[a+16>>2],b,0,0,4,b+28|0)}c=v[a>>2];if((c|0)!=2476){v[b+24>>2]=v[208964];d=v[208963];v[b+16>>2]=v[208962];v[b+20>>2]=d;d=v[208961];v[b+8>>2]=v[208960];v[b+12>>2]=d;d=v[208959];v[b>>2]=v[208958];v[b+4>>2]=d;v[b+28>>2]=0;v[b+4>>2]=a;Qa[c|0](v[a+12>>2],b,0,0,0,4,b+28|0)}c=v[v[v[a+24>>2]+20>>2]+16>>2];if(c){Qa[c|0](a)}c=v[a+20>>2];if((c|0)!=(a+108|0)){Nd(c)}c=v[a+24>>2];if(w[c+17|0]){yd(c)}if(w[a+33|0]){break a}Nd(a)}Ma=b+32|0}function mia(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{if((c|0)<1){break a}c=c-1|0;if(!d){while(1){d=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=d;d=v[b+12>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=d;d=v[b+20>>2];v[a+16>>2]=v[b+16>>2];v[a+20>>2]=d;d=v[b+28>>2];v[a+24>>2]=v[b+24>>2];v[a+28>>2]=d;v[a+32>>2]=v[b+32>>2];Lf(a+36|0,b+36|0);v[a+52>>2]=v[b+52>>2];b=b+56|0;a=a+56|0;d=(c|0)>0;c=c-1|0;if(d){continue}break a}}while(1){d=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=d;d=v[b+12>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=d;d=v[b+20>>2];v[a+16>>2]=v[b+16>>2];v[a+20>>2]=d;d=v[b+28>>2];v[a+24>>2]=v[b+24>>2];v[a+28>>2]=d;v[a+32>>2]=v[b+32>>2];d=b+36|0;Lf(a+36|0,d);v[a+52>>2]=v[b+52>>2];ac(d);b=b+56|0;a=a+56|0;d=(c|0)>0;c=c-1|0;if(d){continue}break}}}function S2a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:{if(!v[a+16>>2]|!v[a+20>>2]|(!v[a+32>>2]|!v[a+36>>2])){break a}if(!v[a+48>>2]){break a}b:{if(wg(c,v[a+12>>2])){break b}if(Fh(c,v[a+16>>2])){break b}if(Fh(c,v[a+20>>2])){break b}if(Fh(c,v[a+24>>2])){break b}if(Fh(c,v[a+28>>2])){break b}if(Fh(c,v[a+32>>2])){break b}if(Fh(c,v[a+36>>2])){break b}if(Fh(c,v[a+40>>2])){break b}if(Fh(c,v[a+44>>2])){break b}if(wg(c,v[a+48>>2])){break b}if(!v[a+48>>2]){return 0}b=0;while(1){d=b<<2;e=d+v[a+52>>2]|0;if(dr(c,(w[e|0]-1&127|w[e+1|0]<<7)&255)){break b}if(dr(c,w[(v[a+52>>2]+d|0)+2|0])){break b}if(dr(c,w[(v[a+52>>2]+d|0)+3|0])){break b}b=b+1|0;if(b>>>0>2]){continue}break}return 0}return-1}O(45913,47016,534,188663);L()}function F9(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=Ma-16|0;Ma=h;a:{b:{if(!d){e=v[a+584>>2];if(!e){break b}f=(c|0)/v[e+8>>2]|0;if(v[e>>2]==2){c=b}else{if(v[e+16>>2]<(f|0)){break a}c=v[e+12>>2]}j=c;g=v[a+608>>2];d=v[a+604>>2];c=0;c:{if((f|0)<1){i=g;break c}if((g|0)<1){i=g;break c}while(1){v[(c<<2)+j>>2]=w[d+2|0]|(w[d+1|0]<<8|w[d|0]<<16);i=g-3|0;d=d+3|0;c=c+1|0;if((f|0)<=(c|0)){break c}k=(g|0)>3;g=i;if(k){continue}break}}v[a+608>>2]=i;v[a+604>>2]=d;d:{if((c|0)!=(f|0)){b=v[a>>2];d=v[a+628>>2];a=v[a+472>>2];v[h+4>>2]=f-c;v[h>>2]=a;wb(d,b,36793,h);a=0;break d}Qa[v[e+20>>2]](e,b,f);a=1}Ma=h+16|0;return a|0}O(33866,6284,248,84192);L()}O(25714,6284,249,84192);L()}O(34494,6284,256,84192);L()}function tEa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Ma-16|0;Ma=e;a:{if(v[a+4>>2]){break a}d=6;b:{if(v[a+12>>2]!=1){break b}g=v[a>>2];c=v[a+28>>2];if(c){v[(v[a+36>>2]+(c<<4)|0)-4>>2]=b}h=c+1|0;d=v[a+32>>2];c:{if(h>>>0<=d>>>0){f=v[a+36>>2];break c}v[e+8>>2]=0;i=c+8&-8;f=yb(g,16,d,i,v[a+36>>2],e+8|0);v[a+36>>2]=f;d=v[e+8>>2];if(d){break b}v[a+32>>2]=i}c=(c<<4)+f|0;v[c+12>>2]=0;v[c>>2]=0;v[a+28>>2]=h;c=v[a- -64>>2];if(c){v[(v[a+72>>2]+(c<<4)|0)-4>>2]=b}f=c+1|0;b=v[a+68>>2];d:{if(f>>>0<=b>>>0){b=v[a+72>>2];break d}v[e+12>>2]=0;d=g;g=c+8&-8;b=yb(d,16,b,g,v[a+72>>2],e+12|0);v[a+72>>2]=b;d=v[e+12>>2];if(d){break b}v[a+68>>2]=g}b=(c<<4)+b|0;v[b+12>>2]=0;v[b>>2]=0;v[a+64>>2]=f;break a}v[a+4>>2]=d}Ma=e+16|0}function P6(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;a:{b:{e=v[a+4>>2];f=v[a+12>>2];d=f+c|0;if(!(!v[a+16>>2]|(e|0)>=(d|0))){c:{while(1){if((d|0)<=(e|0)){break c}e=e<<1;if((e|0)>-1){continue}break}O(32236,6782,1018,188107);L()}d=v[a>>2];if(!d){break b}d=ph(d,e);if(!d){return-1}v[a+4>>2]=e;v[a>>2]=d;f=v[a+12>>2]}g=v[a+8>>2];d:{if((g|0)<(f|0)){d=((f|0)<(e|0)?f:e)-g|0;if((d|0)>=1){eb(v[a>>2]+g|0,0,d);g=d+v[a+8>>2]|0;v[a+8>>2]=g;f=v[a+12>>2]}d=0;if((f|0)!=(g|0)){break d}e=v[a+4>>2];f=g}e=e-f|0;d=(c|0)>(e|0)?e:c;if((d|0)>=1){cb(v[a>>2]+f|0,b,d);f=d+v[a+12>>2]|0;v[a+12>>2]=f;g=v[a+8>>2]}if((f|0)>(g|0)){v[a+8>>2]=f}d=c;if((e|0)<(d|0)){break a}}return d|0}O(35025,6782,996,188117);L()}O(32677,6782,1046,188107);L()}function Mq(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=v[a+4>>2];b=h>>31;b=b^b+h;i=v[a>>2];c=i>>31;d=c^c+i;if(!d){if(!b){return 0}v[a+4>>2]=(h|0)<0?-65536:65536;return b}if(!b){v[a>>2]=(i|0)<0?-65536:65536;return d}c=b>>>0>>0?d+(b>>>1|0)|0:b+(d>>>1|0)|0;e=E(c);e=(-1431655766>>>e>>>0>c>>>0?-15:-16)+e|0;a:{if((e|0)>=1){d=d<>>0>>0?d+(b>>>1|0)|0:(d>>>1|0)+b|0;break a}f=0-e|0;c=c>>>f|0;b=b>>>f|0;d=d>>>f|0}c=65536-c|0;while(1){f=(B(c,d)>>16)+d|0;g=(B(b,c)>>16)+b|0;j=B((B(f,f)+B(g,g)|0)/-512|0,c+65536>>8);c=((j|0)/65536|0)+c|0;if((j|0)>65535){continue}break}v[a+4>>2]=(h|0)<0?0-g|0:g;v[a>>2]=(i|0)<0?0-f|0:f;a=((B(d,f)+B(b,g)|0)/65536|0)+65536|0;if((e|0)>=1){return a+(1<>>e|0}return a<<0-e}function Kw(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(!b){break a}v[b>>2]=1;if(!a|(a?v[a+36>>2]:0)){break a}c=B(a?v[a>>2]:-1,a?v[a+8>>2]:-1);h=(c|0)/32|0;e=a?v[a+4>>2]:-1;f=a?v[a+12>>2]:-1;g=a?v[a+40>>2]:0;if((e|0)<1){return}a=c&31;i=-1<<32-a;b:{if((c|0)>=32){if(!a){while(1){a=(B(d,f)<<2)+g|0;c=0;while(1){if(v[a>>2]){break b}a=a+4|0;c=c+1|0;if((h|0)!=(c|0)){continue}break}d=d+1|0;if((e|0)!=(d|0)){continue}break a}}while(1){a=(B(d,f)<<2)+g|0;c=0;while(1){if(v[a>>2]){break b}a=a+4|0;c=c+1|0;if((h|0)!=(c|0)){continue}break}if(v[a>>2]&i){break b}d=d+1|0;if((e|0)!=(d|0)){continue}break}break a}if(!a){break a}a=0;while(1){if(v[(B(a,f)<<2)+g>>2]&i){break b}a=a+1|0;if((e|0)!=(a|0)){continue}break}break a}v[b>>2]=0}}function Q0(a,b){var c=0,d=0,e=0,f=0,g=0;c=w[a+11|0];f=c<<24>>24;d=w[b+11|0];g=d<<24>>24;c=(f|0)<0?v[a+4>>2]:c;e=0;a:{if((c|0)!=(((g|0)<0?v[b+4>>2]:d)|0)){break a}if(c){e=0;if(lc((f|0)<0?v[a>>2]:a,(g|0)<0?v[b>>2]:b,c)){break a}}c=w[a+39|0];f=c<<24>>24;d=w[b+39|0];g=d<<24>>24;c=(f|0)<0?v[a+32>>2]:c;e=0;if((c|0)!=(((g|0)<0?v[b+32>>2]:d)|0)){break a}if(c){d=a+28|0;d=(f|0)<0?v[d>>2]:d;f=b+28|0;e=0;if(lc(d,(g|0)<0?v[f>>2]:f,c)){break a}}c=w[a+23|0];f=c<<24>>24;d=w[b+23|0];g=d<<24>>24;c=(f|0)<0?v[a+16>>2]:c;e=0;if((c|0)!=(((g|0)<0?v[b+16>>2]:d)|0)){break a}if(c){d=a+12|0;d=(f|0)<0?v[d>>2]:d;f=b+12|0;e=0;if(lc(d,(g|0)<0?v[f>>2]:f,c)){break a}}e=0;if(v[a+44>>2]!=v[b+44>>2]){break a}e=v[a+40>>2]==v[b+40>>2]}return e}function Kr(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,m=0;o(+a);e=j(1)|0;g=j(0)|0;a:{b:{c:{b=e;e=b;if(!(b>>>0>=1048576&(b|0)>-1)){if(!(b&2147483647|g)){return-1/(a*a)}if((b|0)>-1){break c}return(a-a)/0}if(e>>>0>2146435071){break a}b=1072693248;h=-1023;if((e|0)!=1072693248){b=e;break b}if(g){break b}return 0}o(+(a*0x40000000000000));b=j(1)|0;g=j(0)|0;h=-1077}b=b+614242|0;d=+((b>>>20|0)+h|0);a=d*.6931471803691238;l(0,g|0);l(1,(b&1048575)+1072079006|0);f=+n()+-1;c=f/(f+2);i=a;k=d*1.9082149292705877e-10;m=c;a=f*(f*.5);d=c*c;c=d*d;a=i+(f+(k+m*(a+(c*(c*(c*.15313837699209373+.22222198432149784)+.3999999999940942)+d*(c*(c*(c*.14798198605116586+.1818357216161805)+.2857142874366239)+.6666666666666735)))-a))}return a}function GW(a){var b=0,c=0,d=0,e=0,f=0;a:{if(v[a+108>>2]){break a}b=v[a+16>>2];if((b|0)<1){break a}c=b+7|0;f=v[a+12>>2]|127<<17-b;while(1){b=v[a+112>>2];v[a+112>>2]=b+1;t[b|0]=f>>>16;b=v[a+116>>2]-1|0;v[a+116>>2]=b;if(!b){d=v[a+120>>2];b=v[d+24>>2];if(!(Qa[v[b+12>>2]](d)|0)){d=v[a+120>>2];e=v[d>>2];v[e+20>>2]=25;Qa[v[e>>2]](d)}v[a+112>>2]=v[b>>2];v[a+116>>2]=v[b+4>>2]}b=c;b:{if((f&16711680)!=16711680){break b}c=v[a+112>>2];v[a+112>>2]=c+1;t[c|0]=0;c=v[a+116>>2]-1|0;v[a+116>>2]=c;if(c){break b}d=v[a+120>>2];c=v[d+24>>2];if(!(Qa[v[c+12>>2]](d)|0)){d=v[a+120>>2];e=v[d>>2];v[e+20>>2]=25;Qa[v[e>>2]](d)}v[a+112>>2]=v[c>>2];v[a+116>>2]=v[c+4>>2]}c=b-8|0;f=f<<8;if((b|0)>15){continue}break}}v[a+12>>2]=0;v[a+16>>2]=0}function AIa(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;f=Ma-1536|0;Ma=f;a:{b:{if(d&16){if(!c){break b}eb(e,0,c<<2);break a}d=0;g=Qa[v[v[v[a+492>>2]+12>>2]>>2]](f+8|0,a,0,0,v[a+424>>2],v[a+532>>2],0,0,2091)|0;if(g){break a}t[f+76|0]=0;t[f+78|0]=1;v[f+1372>>2]=v[a+404>>2];v[f+1376>>2]=v[a+408>>2];v[f+1380>>2]=v[a+412>>2];v[f+1384>>2]=v[a+416>>2];v[f+1504>>2]=v[a+548>>2];v[f+1508>>2]=v[a+544>>2];if(!c){break b}while(1){t[f+1527|0]=0;g=(d<<2)+e|0;c:{if(!nw(f+8|0,b+d|0,f+1528|0,f+1527|0)){a=v[v[v[f+12>>2]+128>>2]+52>>2];if(a){Qa[v[v[a>>2]+4>>2]](v[a+4>>2],f+1528|0)}a=v[f+48>>2];a=(((a>>31)+a|0)+32768&-65536)>>16;break c}a=0}v[g>>2]=a;d=d+1|0;if((d|0)!=(c|0)){continue}break}}g=0}Ma=f+1536|0;return g|0}function vfa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Ma-48|0;Ma=d;a:{if(!v[a+44>>2]){v[d+16>>2]=0;v[d+20>>2]=v[279250];e=d+16|0;Ad(b,e,0);if(Hb(e,316701,-1)){if(Hb(d+16|0,316735,-1)){break a}}b:{if((c|0)<1){break b}while(1){if(!Ad(b,d+16|0,0)){break b}e=c;c:{if(Hb(d+16|0,316706,-1)){if(Hb(d+16|0,316740,-1)){break c}}v[d+8>>2]=0;c=d+8|0;qb(c,b);Qa[v[v[a>>2]+40>>2]](a,c)|0;c=v[d+8>>2];v[d+8>>2]=0;if(!c){break c}f=v[c+4>>2]-1|0;v[c+4>>2]=f;if(f){break c}f=v[c+4>>2];if(!f){v[c+4>>2]=-32767}if(!f){Qa[v[v[c>>2]+4>>2]](c)}}c=e-1|0;Od(b);if((e|0)>1){continue}break}}Od(b);Qa[v[v[a>>2]+48>>2]](a);db(d+16|0);Ma=d+48|0;return}lb(mb(d+24|0,316316,241950,1836,329161));L()}lb(mb(d+24|0,319981,241950,1840,329161));L()}function vI(a,b,c){var d=0,e=0,f=0;d=v[a+20>>2];if((d|0)!=100){e=v[a>>2];v[e+24>>2]=d;v[e+20>>2]=21;Qa[v[v[a>>2]>>2]](a)}d=v[a+88>>2];if(!d){d=Qa[v[v[a+4>>2]>>2]](a,0,132)|0;v[d+128>>2]=0;v[a+88>>2]=d}e=0;while(1){f=(B(v[(e<<2)+73200>>2],b)+50|0)/100|0;f=(f|0)>1?f:1;f=(f|0)<32767?f:32767;u[(e<<1)+d>>1]=c?(f|0)>255?255:f:f;e=e+1|0;if((e|0)!=64){continue}break}v[d+128>>2]=0;d=v[a+20>>2];if((d|0)!=100){e=v[a>>2];v[e+24>>2]=d;v[e+20>>2]=21;Qa[v[v[a>>2]>>2]](a)}d=v[a+92>>2];if(!d){d=Qa[v[v[a+4>>2]>>2]](a,0,132)|0;v[d+128>>2]=0;v[a+92>>2]=d}e=0;while(1){a=(B(v[(e<<2)+73456>>2],b)+50|0)/100|0;a=(a|0)>1?a:1;a=(a|0)<32767?a:32767;u[(e<<1)+d>>1]=c?(a|0)>255?255:a:a;e=e+1|0;if((e|0)!=64){continue}break}v[d+128>>2]=0}function rLa(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;b=Ma-16|0;Ma=b;f=v[a>>2];a=zb(c);f=cc(f,a+18|0,b+12|0);g=v[b+12>>2];if(!g){h=cb(f,c,a);c=h+a|0;a=w[292284]|w[292285]<<8;t[c+16|0]=a;t[c+17|0]=a>>>8;a=w[292280]|w[292281]<<8|(w[292282]<<16|w[292283]<<24);f=w[292276]|w[292277]<<8|(w[292278]<<16|w[292279]<<24);t[c+8|0]=f;t[c+9|0]=f>>>8;t[c+10|0]=f>>>16;t[c+11|0]=f>>>24;t[c+12|0]=a;t[c+13|0]=a>>>8;t[c+14|0]=a>>>16;t[c+15|0]=a>>>24;a=w[292272]|w[292273]<<8|(w[292274]<<16|w[292275]<<24);f=w[292268]|w[292269]<<8|(w[292270]<<16|w[292271]<<24);t[c|0]=f;t[c+1|0]=f>>>8;t[c+2|0]=f>>>16;t[c+3|0]=f>>>24;t[c+4|0]=a;t[c+5|0]=a>>>8;t[c+6|0]=a>>>16;t[c+7|0]=a>>>24;v[d>>2]=h;v[e>>2]=0}Ma=b+16|0;return g|0}function $z(a,b,c){var d=0,e=0,f=0;a:{if((b|0)<0){break a}f=-1;if(v[a+28>>2]|!a){break a}b:{if(v[a+12>>2]){d=v[a+20>>2];if(!d){d=TH();v[a+20>>2]=d}if(ij(d,c,b)){break a}c=0;d=v[a+20>>2];c:{if(!d|v[d+32>>2]){break c}b=v[d+8>>2];if(!((b|0)==v[d+24>>2]|b>>>0>2147483646)){v[d+24>>2]=b}c=v[d+20>>2];b=v[d+4>>2];if((c|0)==(b|0)|b>>>0>2147483646){break c}v[d+20>>2]=b;c=b}b=kA(a,1);if((b|0)<=-1){Io(8,1544,237991,0);v[a+28>>2]=1544;return-1}d=0;e=v[a+20>>2];d:{if(!e|v[e+32>>2]){break d}d=v[e+8>>2];if(!((d|0)==v[e+24>>2]|d>>>0>2147483646)){v[e+24>>2]=d}d=v[e+20>>2];f=v[e+4>>2];if((d|0)==(f|0)|f>>>0>2147483646){break d}v[e+20>>2]=f;d=f}v[a+32>>2]=v[a+32>>2]+(c-d|0);break b}if(ij(v[a+16>>2],c,b)){break a}}f=b}return f}function eb(a,b,c){var d=0,e=0,f=0;a:{if(!c){break a}f=a+c|0;t[f-1|0]=b;t[a|0]=b;if(c>>>0<3){break a}t[f-2|0]=b;t[a+1|0]=b;t[f-3|0]=b;t[a+2|0]=b;if(c>>>0<7){break a}t[f-4|0]=b;t[a+3|0]=b;if(c>>>0<9){break a}f=0-a&3;e=f+a|0;d=B(b&255,16843009);v[e>>2]=d;b=c-f&-4;c=b+e|0;v[c-4>>2]=d;if(b>>>0<9){break a}v[e+8>>2]=d;v[e+4>>2]=d;v[c-8>>2]=d;v[c-12>>2]=d;if(b>>>0<25){break a}v[e+24>>2]=d;v[e+20>>2]=d;v[e+16>>2]=d;v[e+12>>2]=d;v[c-16>>2]=d;v[c-20>>2]=d;v[c-24>>2]=d;v[c-28>>2]=d;c=b;b=e&4|24;c=c-b|0;if(c>>>0<32){break a}d=x3a(d,0,1,1);f=Pa;b=b+e|0;while(1){v[b+24>>2]=d;e=f;v[b+28>>2]=e;v[b+16>>2]=d;v[b+20>>2]=e;v[b+8>>2]=d;v[b+12>>2]=e;v[b>>2]=d;v[b+4>>2]=e;b=b+32|0;c=c-32|0;if(c>>>0>31){continue}break}}return a}function cQ(a){var b=0,c=0,d=0,e=0;if(a>>>0<=131071){b=w[(a>>>3&31|w[(a>>>8|0)+988176|0]<<5)+988176|0]>>>(a&7)&1}else{b=a>>>0<196606}a:{if(!b|a-1536>>>0<2560|(a-11776>>>0<30784|a-43008>>>0<22272)){break a}if(a-4256>>>0<=45){if(!((a|0)==4301|(a|0)<4294)&(a|0)!=4295){break a}return a+7264|0}b:{while(1){b=c<<2;e=t[b+991154|0];d=x[b+991152>>1];if(w[b+991155|0]<=a-d>>>0){c=c+1|0;if((c|0)!=61){continue}break b}break}b=c&31;if(((c&63)>>>0>=32?268328960>>>b|0:((1<>>b)&1){return(a+1|0)-(a-d&1)|0}return a+e|0}c=x[495704];if(c){d=0;while(1){if((c&65535)==(a|0)){return x[(d<<2)+991410>>1]}d=d+1|0;c=x[(d<<2)+991408>>1];if(c){continue}break}}if(a-66560>>>0>39){break a}a=a+40|0}return a}function bIa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;e=Ma-16|0;Ma=e;d=v[a+712>>2];v[e+12>>2]=0;a:{if(!d){break a}c=v[d+3092>>2];if(c){f=0}else{c=cc(v[a+100>>2],32,e+12|0);f=v[e+12>>2];if(f){break a}g=c,h=Gj(d,v[d+1372>>2]),v[g>>2]=h;g=c,h=Gj(d,v[d+1376>>2]),v[g+4>>2]=h;g=c,h=Gj(d,v[d+1384>>2]),v[g+8>>2]=h;g=c,h=Gj(d,v[d+1388>>2]),v[g+12>>2]=h;g=c,h=Gj(d,v[d+1392>>2]),v[g+16>>2]=h;v[c+20>>2]=v[d+1400>>2];t[c+24|0]=w[d+1396|0];u[c+26>>1]=v[d+1404>>2];u[c+28>>1]=v[d+1408>>2];v[d+3092>>2]=c;f=v[e+12>>2]}a=v[c+4>>2];v[b>>2]=v[c>>2];v[b+4>>2]=a;a=v[c+28>>2];v[b+24>>2]=v[c+24>>2];v[b+28>>2]=a;a=v[c+20>>2];v[b+16>>2]=v[c+16>>2];v[b+20>>2]=a;a=v[c+12>>2];v[b+8>>2]=v[c+8>>2];v[b+12>>2]=a}Ma=e+16|0;return f|0}function _Ya(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=v[a+636>>2]+v[a+616>>2]|0;b=v[a+644>>2];a:{b:{c:{e=v[a+540>>2];if(!e){e=v[v[a+528>>2]+88>>2]}if(w[e+56|0]){if(v[a+588>>2]>0){break c}break a}if(v[a+588>>2]>0){break b}j=1;break a}while(1){c=b;if(!d){k=w[g|0];f=4;d=240;g=g+1|0}l=c;c=x[e+836>>1];i=(d&k)>>>f|0;t[l+3|0]=(c|0)!=(i|0)?-1:0;c=(c|0)==(i|0)?0:B(i,17);t[b+2|0]=c;t[b+1|0]=c;t[b|0]=c;f=f-4|0;b=b+4|0;d=(d&240)>>>4|0;h=h+1|0;if((h|0)>2]){continue}break}break a}e=0;while(1){if(!d){e=w[g|0];f=4;d=240;g=g+1|0}t[b+3|0]=255;c=B((d&e)>>>f|0,17);t[b+2|0]=c;t[b+1|0]=c;t[b|0]=c;f=f-4|0;b=b+4|0;d=(d&240)>>>4|0;j=1;h=h+1|0;if((h|0)>2]){continue}break}}t[a+649|0]=j;return 0}function Vd(a,b,c){var d=0,e=0,f=0,g=0;a:{b:{if(!b){break b}if((c|0)<=-1){break a}f=v[a+12>>2];if(!f){f=gb(4096);v[a+12>>2]=f;if(!f){break b}}g=v[a+16>>2];e=v[a+20>>2];d=g-e|0;c:{if((d|0)<1){d=0;break c}if((c|0)<(d|0)){d=0;break c}b=cb(b,e+f|0,d);g=v[a+16>>2];v[a+20>>2]=g;c=c-d|0;b=b+d|0;e=g}d:{if((c|0)>=4097){b=Qa[v[v[a+8>>2]+8>>2]](v[a+4>>2],b,1,c)|0;v[a+20>>2]=v[a+16>>2];d=b+d|0;break d}if((e|0)==(g|0)){if((c|0)<1){break d}e=Qa[v[v[a+8>>2]+8>>2]](v[a+4>>2],v[a+12>>2],1,4096)|0;v[a+16>>2]=e;f=b;b=(c|0)>(e|0)?e:c;cb(f,v[a+12>>2],b);v[a+20>>2]=b;d=b+d|0;break d}f=b;b=g-e|0;b=(b|0)<(c|0)?b:c;cb(f,v[a+12>>2]+e|0,b);v[a+20>>2]=b+v[a+20>>2];d=b+d|0}v[a+28>>2]=v[a+28>>2]+d}return d}O(3764,6824,64,193463);L()}function MV(a){var 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,u=0;while(1){e=a+s|0;k=t[e+4|0];l=t[e|0];u=k^l;b=l<<1;m=(l|0)>-1?b:b^27;b=m<<1;n=m<<24>>24>-1?b:b^27;b=n<<1;b=n<<24>>24>-1?b:b^27;i=t[e+8|0];c=i<<1;o=(i|0)>-1?c:c^27;c=o<<1;p=o<<24>>24>-1?c:c^27;c=p<<1;c=p<<24>>24>-1?c:c^27;j=t[e+12|0];d=j<<1;q=(j|0)>-1?d:d^27;d=q<<1;r=q<<24>>24>-1?d:d^27;d=r<<1;d=r<<24>>24>-1?d:d^27;f=k<<1;f=(k|0)>-1?f:f^27;g=f<<1;g=f<<24>>24>-1?g:g^27;h=g<<1;h=g<<24>>24>-1?h:h^27;t[e+8|0]=d^(c^(h^(b^(p^(q^(n^(j^u^o)))))));t[e|0]=d^(c^(h^(b^(p^(n^(f^(j^(m^(i^k)))))))));t[e+12|0]=d^(c^(h^(r^(b^(g^(q^(m^(i^u))))))));t[e+4|0]=d^(c^(h^(r^(b^(g^(f^(j^(i^l))^o))))));s=s+1|0;if((s|0)!=4){continue}break}}function LMa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=a;c=v[a+132>>2];if((c|0)!=v[b>>2]){f=v[a+268>>2];d=v[a+264>>2];c=f-d|0;a:{if(!c){break a}c=(c|0)/104|0;c=c>>>0>1?c:1;g=c&7;if(c-1>>>0>=7){c=c&-8;while(1){v[(B(e,104)+d|0)+100>>2]=1;v[(B(e|1,104)+d|0)+100>>2]=1;v[(B(e|2,104)+d|0)+100>>2]=1;v[(B(e|3,104)+d|0)+100>>2]=1;v[(B(e|4,104)+d|0)+100>>2]=1;v[(B(e|5,104)+d|0)+100>>2]=1;v[(B(e|6,104)+d|0)+100>>2]=1;v[(B(e|7,104)+d|0)+100>>2]=1;e=e+8|0;c=c-8|0;if(c){continue}break}}if(!g){break a}while(1){v[(B(e,104)+d|0)+100>>2]=1;e=e+1|0;g=g-1|0;if(g){continue}break}}if((d|0)!=(f|0)){while(1){Dh(f-28|0);f=f-104|0;if((f|0)!=(d|0)){continue}break}}v[a+268>>2]=d;eb(a+276|0,255,2228224);c=v[b>>2]}v[h+132>>2]=c}function Iv(a){var b=0,c=0,d=0;a:{b:{if(!a){break b}b=v[a+64>>2];if(!b){break b}c:{d:{e:{f:{g:{h:{i:{c=v[a+68>>2];b=c?c:b;switch(v[b+4>>2]-1|0){case 4:case 5:case 6:case 9:case 11:case 13:break a;case 2:break h;case 0:case 1:break i;case 17:break c;case 10:break d;case 8:case 12:break e;case 7:break f;case 3:break g;default:break b}}j:{c=v[b+36>>2];if(c){c=v[c+12>>2];if(c){break j}}return v[b+8>>2]}return lA(v[a+88>>2],c,v[b+8>>2])}return Zc(v[a+88>>2],225264,-1)}return Zc(v[a+88>>2],246850,-1)}return Zc(v[a+88>>2],228816,-1)}return Zc(v[a+88>>2],228668,-1)}return Zc(v[a+88>>2],230644,-1)}a=v[a+88>>2];b=v[b+12>>2];if(!b){return Zc(a,235503,-1)}d=lA(a,235503,b)}return d}return Zc(v[a+88>>2],v[b+8>>2],-1)}function HQa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=v[a+200>>2];v[a+204>>2]=e;a:{b:{c:{if((d|0)<=0){break c}while(1){h=v[a+208>>2]==(e|0);l=v[(i<<2)+b>>2];m=A[(i<<3)+c>>3]*65536;d:{if(D(m)<2147483648){k=~~m;break d}k=-2147483648}e:{if(!h){v[e>>2]=l;v[e+4>>2]=k;v[a+204>>2]=e+8;break e}h=v[a+200>>2];j=e-h|0;f=j>>3;e=f+1|0;if(e>>>0>=536870912){break b}g=j>>2;g=f>>>0<268435455?e>>>0>g>>>0?e:g:536870911;if(g){if(g>>>0>=536870912){break a}e=ab(g<<3)}else{e=0}f=e+(f<<3)|0;v[f>>2]=l;v[f+4>>2]=k;if((j|0)>=1){cb(e,h,j)}v[a+208>>2]=e+(g<<3);v[a+204>>2]=f+8;v[a+200>>2]=e;if(!h){break e}$a(h)}i=i+1|0;if((i|0)==(d|0)){break c}e=v[a+204>>2];continue}}return 0}Jc();L()}Zd(273730);L()}function XJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=v[a+4>>2];a:{if(b>>>0>=2){c=v[a>>2];v[c+24>>2]=b;v[c+20>>2]=15;Qa[v[v[a>>2]>>2]](a);break a}if((b|0)!=1){break a}c=v[d+68>>2];if(c){while(1){if(v[c+40>>2]){v[c+40>>2]=0;Qa[v[c+56>>2]](a,c+48|0)}c=v[c+44>>2];if(c){continue}break}}v[d+68>>2]=0;c=v[d+72>>2];if(c){while(1){if(v[c+40>>2]){v[c+40>>2]=0;Qa[v[c+56>>2]](a,c+48|0)}c=v[c+44>>2];if(c){continue}break}}v[d+72>>2]=0}b=(b<<2)+d|0;a=b;c=v[a+60>>2];v[a+60>>2]=0;if(c){while(1){a=v[c>>2];e=v[c+4>>2]+v[c+8>>2]|0;$a(c);v[d+76>>2]=v[d+76>>2]-(e+16|0);c=a;if(c){continue}break}}c=v[b+52>>2];v[b+52>>2]=0;if(c){while(1){a=v[c>>2];b=(v[c+4>>2]+v[c+8>>2]|0)+16|0;$a(c);v[d+76>>2]=v[d+76>>2]-b;c=a;if(c){continue}break}}}function N2a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=a+12|0;a:{b:{if(y[b>>2]<=256){b=-1;e=v[c+8>>2];if(e&7){break a}b=v[c+64>>2];if(!((b|0)<0|(b|0)>v[c+60>>2])){v[c+8>>2]=e|4;return-1}b=-1;e=v[c+28>>2];v[c+28>>2]=e-1;c:{if((e|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=v[c+24>>2];v[c+24>>2]=b+1;e=w[b|0];break c}e=Eb(c,1);if((e|0)==-1){break a}}v[d>>2]=e&255;break b}b=-1;if(qf(c,d)){break a}}b=-1;d=v[c+8>>2];if(d&7){break a}b=v[c+64>>2];if(!((b|0)<0|(b|0)>v[c+60>>2])){v[c+8>>2]=d|4;return-1}b=-1;d=v[c+28>>2];v[c+28>>2]=d-1;d:{if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=v[c+24>>2];v[c+24>>2]=b+1;d=w[b|0];break d}d=Eb(c,1);if((d|0)==-1){break a}}a=a+16|0;t[a|0]=d;b=-1;if(Q5(c,d&1,a)){break a}b=0-(v[c+8>>2]&1)|0}return b|0}function JQ(a,b,c){var d=0,e=0,f=0;d=Ma-32|0;Ma=d;v[d+16>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=0;v[d+4>>2]=0;f=zb(b);a:{if(!c){ey(a,b,0);break a}if(!w[c|0]){ey(a,b,c);break a}c=jy(a,c,zb(c),0,d);if(!a){yu(0,d,c);break a}v[a+744>>2]=34;t[d+28|0]=122;t[d+29|0]=84;t[d+30|0]=88;t[d+31|0]=116;e=(c+f|0)+2|0;t[d+27|0]=e;t[d+26|0]=e>>>8;t[d+25|0]=e>>>16;t[d+24|0]=e>>>24;jc(a,d+24|0,8);v[a+348>>2]=2052348020;Bf(a);gc(a,d+28|0,4);v[a+744>>2]=66;b:{if(!b){break b}e=f+1|0;if(!e){break b}jc(a,b,e);gc(a,b,e)}t[d+23|0]=0;b=d+23|0;jc(a,b,1);gc(a,b,1);yu(a,d,c);v[a+744>>2]=130;b=v[a+384>>2];b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);t[d+24|0]=b;t[d+25|0]=b>>>8;t[d+26|0]=b>>>16;t[d+27|0]=b>>>24;jc(a,d+24|0,4)}Ma=d+32|0}function GP(a,b,c,d,e,f){var g=0;g=Ma-80|0;Ma=g;a:{if((f|0)>=16384){Le(g+32|0,b,c,d,e,0,0,0,2147352576);d=v[g+40>>2];e=v[g+44>>2];b=v[g+32>>2];c=v[g+36>>2];if((f|0)<32767){f=f-16383|0;break a}Le(g+16|0,b,c,d,e,0,0,0,2147352576);f=((f|0)<49149?f:49149)-32766|0;d=v[g+24>>2];e=v[g+28>>2];b=v[g+16>>2];c=v[g+20>>2];break a}if((f|0)>-16383){break a}Le(g- -64|0,b,c,d,e,0,0,0,65536);d=v[g+72>>2];e=v[g+76>>2];b=v[g+64>>2];c=v[g+68>>2];if((f|0)>-32765){f=f+16382|0;break a}Le(g+48|0,b,c,d,e,0,0,0,65536);f=((f|0)>-49146?f:-49146)+32764|0;d=v[g+56>>2];e=v[g+60>>2];b=v[g+48>>2];c=v[g+52>>2]}Le(g,b,c,d,e,0,0,0,f+16383<<16);b=v[g+12>>2];v[a+8>>2]=v[g+8>>2];v[a+12>>2]=b;b=v[g+4>>2];v[a>>2]=v[g>>2];v[a+4>>2]=b;Ma=g+80|0}function $S(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=Ma-16|0;Ma=e;v[e+12>>2]=0;d=v[a+200>>2];if(d&1){a:{if(d&4){Db(a,48145);uc(a,c);break a}if(d&2){Db(a,48405)}if(!(!b|!(w[b+8|0]&2))){Db(a,48965);uc(a,c);break a}if(!(((w[a+401|0]!=3?w[a+405|0]:3)|0)==(c|0)&c>>>0<=4)){Db(a,49449);uc(a,c);break a}d=e+12|0;Ye(a,d,c);gc(a,d,c);if(uc(a,0)){break a}d=w[e+12|0];h=a;b:{if(w[a+401|0]&2){c=w[e+13|0];f=w[e+14|0];g=e+12|3;break b}t[a+495|0]=d;c=d;f=c;g=e+12|1}t[h+496|0]=w[g|0];t[a+494|0]=f;t[a+493|0]=c;t[a+492|0]=d;if(!(!a|!b)){c=w[a+492|0]|w[a+493|0]<<8|(w[a+494|0]<<16|w[a+495|0]<<24);t[b+68|0]=c;t[b+69|0]=c>>>8;t[b+70|0]=c>>>16;t[b+71|0]=c>>>24;t[b+72|0]=w[a+496|0];v[b+8>>2]=v[b+8>>2]|2}}Ma=e+16|0;return}dc(a,47538);L()}function wj(a,b){var c=0,d=0;c=Ma-32|0;Ma=c;t[c+15|0]=b;v[a>>2]=0;v[a+4>>2]=v[279250];v[c+24>>2]=0;v[c+28>>2]=0;v[c+20>>2]=0;v[c+16>>2]=978704;Qr(c+8|0,c+16|0,c+15|0,0,1);v[c+16>>2]=978608;b=v[c+28>>2];if(b){t[b|0]=0;$a(v[c+28>>2])}v[c+28>>2]=0;bc(c+16|0);b=v[c+8>>2];a:{if(b){Qa[v[v[b>>2]+28>>2]](c+16|0,b,1);break a}v[c+16>>2]=0}jb(a,c+16|0);b=v[c+16>>2];v[c+16>>2]=0;b:{if(!b){break b}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break b}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}b=v[a>>2];v[a+4>>2]=v[(b?b+12|0:1117e3)>>2];b=v[c+8>>2];v[c+8>>2]=0;c:{if(!b){break c}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break c}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}Ma=c+32|0;return a}function SYa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;e=v[a+636>>2]+v[a+616>>2]|0;b=v[a+644>>2];a:{b:{d=v[a+540>>2];if(!d){d=v[v[a+528>>2]+88>>2]}if(w[d+56|0]){if(v[a+588>>2]>0){while(1){g=w[e|0];if(g>>>0>=y[d+64>>2]){break b}f=B(g,3)+d|0;t[b|0]=w[f+68|0];t[b+1|0]=w[f+69|0];t[b+2|0]=w[f+70|0];t[b+3|0]=g>>>0>2]?w[(d+g|0)+848|0]:255;e=e+1|0;b=b+4|0;c=c+1|0;if((c|0)>2]){continue}break}}t[a+649|0]=0;return 0}if(v[a+588>>2]>0){while(1){c=w[e|0];if(c>>>0>=y[d+64>>2]){break a}c=B(c,3)+d|0;t[b|0]=w[c+68|0];t[b+1|0]=w[c+69|0];c=w[c+70|0];t[b+3|0]=255;t[b+2|0]=c;e=e+1|0;b=b+4|0;f=f+1|0;if((f|0)>2]){continue}break}}t[a+649|0]=1;return 0}ob(a,1042,0,0);return 1042}ob(a,1042,0,0);return 1042}function nQ(a){a=a|0;var b=0,c=0;v[a>>2]=984480;b=v[a+76>>2];v[a+76>>2]=0;a:{if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[a+72>>2];v[a+72>>2]=0;b:{if(!b){break b}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break b}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[a+68>>2];v[a+68>>2]=0;c:{if(!b){break c}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break c}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[a+64>>2];v[a+64>>2]=0;d:{if(!b){break d}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break d}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}ec(a+56|0);ec(a+44|0);ec(a+32|0);bc(a);return a|0}function Hna(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=v[a+136>>2];a:{if(b>>>0>=y[a+140>>2]){b=-1;if(v[a+144>>2]){break a}b=v[a+4>>2];c=Qa[v[v[b>>2]+28>>2]](b)|0;if(!((c|0)!=128&(c|0)!=-1)){v[a+144>>2]=1;return-1}b:{if((c|0)<=127){f=c+1|0;b=0;if((c|0)<0){break b}d=c+1|0;g=d&1;if(c){c=d&-2;d=a+8|0;while(1){e=v[a+4>>2];h=b+d|0,i=Qa[v[v[e>>2]+28>>2]](e)|0,t[h|0]=i;e=v[a+4>>2];h=d+(b|1)|0,i=Qa[v[v[e>>2]+28>>2]](e)|0,t[h|0]=i;b=b+2|0;c=c-2|0;if(c){continue}break}}if(!g){break b}c=a+b|0;b=v[a+4>>2];h=c,i=Qa[v[v[b>>2]+28>>2]](b)|0,t[h+8|0]=i;break b}f=257-c|0;b=v[a+4>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((c|0)>256){break b}eb(a+8|0,b,(f|0)>1?f:1)}b=a+8|0;v[a+140>>2]=f+b}v[a+136>>2]=b+1;b=w[b|0]}return b|0}function hSa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=Ma-48|0;Ma=f;c=v[a>>2];d=v[c+20>>2];a:{b:{c:{if(!((d|0)<1|(d|0)>v[c+116>>2])){a=v[c+112>>2]+(d<<2)|0;break c}e=v[c+120>>2];if(!e){break b}a=v[c+124>>2];if((a|0)>(d|0)|(d|0)>v[c+128>>2]){break b}a=e+(d-a<<2)|0}e=v[a>>2];if(e){break a}}v[c+24>>2]=d;e=v[v[c+112>>2]>>2]}a=e;d:{e:{while(1){d=w[a|0];if(!d){break e}a=a+1|0;if((d|0)!=37){continue}break}if(w[a|0]!=115){break e}v[f+32>>2]=c+24;Dc(b,e,f+32|0);break d}g=v[c+32>>2];h=v[c+36>>2];i=v[c+40>>2];j=v[c+44>>2];k=v[c+24>>2];l=v[c+28>>2];d=v[c+52>>2];a=f;v[a+24>>2]=v[c+48>>2];v[a+28>>2]=d;v[a+16>>2]=i;v[a+20>>2]=j;v[a+8>>2]=g;v[a+12>>2]=h;v[a>>2]=k;v[a+4>>2]=l;Dc(b,e,a)}Ma=f+48|0}function Waa(a){a=a|0;a:{if(t[1187504]&1){break a}if(!ie(1187504)){break a}b:{if(t[1188304]&1){break b}if(!ie(1188304)){break b}a=1188016;while(1){a=ud(a)+12|0;if((a|0)!=1188304){continue}break}he(1188304)}je(1188016,217996);je(1188028,217987);je(1188040,270019);je(1188052,260277);je(1188064,220291);je(1188076,279372);je(1188088,219483);je(1188100,225619);je(1188112,240037);je(1188124,239976);je(1188136,240028);je(1188148,240047);je(1188160,253239);je(1188172,302407);je(1188184,240360);je(1188196,237390);je(1188208,220291);je(1188220,244555);je(1188232,258378);je(1188244,271650);je(1188256,242416);je(1188268,233886);je(1188280,224830);je(1188292,300377);v[296875]=1188016;he(1187504)}return v[296875]}function UX(a,b,c){var d=0,e=0,f=0;a:{if(!b|v[b+4>>2]!=2|(!c|v[c+4>>2]!=2)){break a}if(v[a+4>>2]!=2?a:0){break a}e=v[b+20>>2];f=v[c+8>>2];d=v[c+36>>2];if(d){d=v[d+8>>2]}else{d=0}d=CH(e,f,d);e=v[b+32>>2];if((e|0)!=v[c+32>>2]){ul(c,e)}e=v[b+20>>2];v[c+28>>2]=a;v[c+20>>2]=e;b:{c:{if(a){v[c+24>>2]=v[a+24>>2];v[a+24>>2]=c;b=v[c+24>>2];if(b){break c}break b}v[c+24>>2]=b}v[b+28>>2]=c}if(!(v[c+28>>2]|!e)){v[e+44>>2]=c}d:{if(!d|v[d+4>>2]==16){break d}b=v[d+20>>2];if(!b){break d}a=v[b+44>>2];e:{f:{if((d|0)==(a|0)){a=v[d+24>>2];v[b+44>>2]=a;b=0;if(a){break f}break e}while(1){b=a;if(!b){break d}a=v[b+24>>2];if((d|0)!=(a|0)){continue}break}a=v[d+24>>2];v[b+24>>2]=a;if(!a){break e}}v[a+28>>2]=b}Pv(d)}d=c}return d}function Gna(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=v[a+136>>2];a:{if(b>>>0>=y[a+140>>2]){b=-1;if(v[a+144>>2]){break a}b=v[a+4>>2];c=Qa[v[v[b>>2]+28>>2]](b)|0;if(!((c|0)!=128&(c|0)!=-1)){v[a+144>>2]=1;return-1}b:{if((c|0)<=127){f=c+1|0;b=0;if((c|0)<0){break b}d=c+1|0;g=d&1;if(c){c=d&-2;d=a+8|0;while(1){e=v[a+4>>2];h=b+d|0,i=Qa[v[v[e>>2]+28>>2]](e)|0,t[h|0]=i;e=v[a+4>>2];h=d+(b|1)|0,i=Qa[v[v[e>>2]+28>>2]](e)|0,t[h|0]=i;b=b+2|0;c=c-2|0;if(c){continue}break}}if(!g){break b}c=a+b|0;b=v[a+4>>2];h=c,i=Qa[v[v[b>>2]+28>>2]](b)|0,t[h+8|0]=i;break b}f=257-c|0;b=v[a+4>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;if((c|0)>256){break b}eb(a+8|0,b,(f|0)>1?f:1)}b=a+8|0;v[a+136>>2]=b;v[a+140>>2]=b+f}b=w[b|0]}return b|0}function tHa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Ma-16|0;Ma=f;c=v[a>>2];a:{if(w[c+8|0]&2){if(!(Qa[v[v[c+540>>2]+104>>2]](c,b,f+12|0)|0)){E_(a,v[f+12>>2]);break a}v[a+44>>2]=-1;c=v[a>>2]}Oq(c,b);c=v[a>>2];b=v[v[c+712>>2]+3080>>2];c=tg(v[v[c+96>>2]+4>>2],239159);if(!c|!b){break a}b=v[b>>2];if(!b){break a}g=Qa[b|0](c)|0;if(!g){break a}h=v[v[a>>2]+712>>2];c=v[h+1440>>2];i=v[v[a+40>>2]>>2];Qa[v[g+4>>2]](v[i>>2],v[a+16>>2],v[a+20>>2],0,0);e=v[h+2024>>2];if(!e){break a}while(1){b=v[a+16>>2];e=e-1|0;j=e<<2;d=v[v[(j+h|0)+2028>>2]+68>>2];b:{if((d|0)!=(c|0)){b=fc(b,c,d);d=fc(v[a+20>>2],c,d);break b}d=v[a+20>>2]}Qa[v[g+4>>2]](v[(i+j|0)+4>>2],b,d,0,0);if(e){continue}break}}Ma=f+16|0;return 0}function s1a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=v[a+4>>2];if(!e){return 0}d=v[a+12>>2];if(d){v[e+20>>2]=d+v[e+20>>2];v[a+12>>2]=0;v[a+8>>2]=d+v[a+8>>2]}a:{if((b|0)<1){break a}c=v[e+20>>2];h=v[e+16>>2];if(c>>>0>=h>>>0){break a}j=b&1;b:{if((b|0)==1){g=b;break b}i=b&-2;g=b;while(1){c:{if(!(y[e+12>>2]>c>>>0|c>>>0>=h>>>0)){d=c+1|0;v[e+20>>2]=d;c=w[c|0];break c}d=c;c=0}k=(c<<(g<<3)-8)+f|0;g=g-2|0;f=0;d:{if(d>>>0>=h>>>0){c=d;break d}if(y[e+12>>2]>d>>>0){c=d;break d}c=d+1|0;v[e+20>>2]=c;f=w[d|0]}f=((f&255)<<(g<<3))+k|0;i=i-2|0;if(i){continue}break}}if(!j){break a}d=0;if(!(y[e+12>>2]>c>>>0|c>>>0>=h>>>0)){v[e+20>>2]=c+1;d=w[c|0]}f=(d<<(g<<3)-8)+f|0}v[a+8>>2]=v[a+8>>2]+b;return f|0}function eg(a,b,c){var d=0;d=Ma-32|0;Ma=d;v[a>>2]=0;v[a+4>>2]=v[279250];v[d+24>>2]=0;v[d+28>>2]=0;v[d+20>>2]=0;v[d+16>>2]=978704;Qr(d+8|0,d+16|0,b,0,(c|0)>-1?c:-1);v[d+16>>2]=978608;b=v[d+28>>2];if(b){t[b|0]=0;$a(v[d+28>>2])}v[d+28>>2]=0;bc(d+16|0);b=v[d+8>>2];a:{if(b){Qa[v[v[b>>2]+28>>2]](d+16|0,b,1);break a}v[d+16>>2]=0}jb(a,d+16|0);b=v[d+16>>2];v[d+16>>2]=0;b:{if(!b){break b}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break b}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[a>>2];v[a+4>>2]=v[(b?b+12|0:1117e3)>>2];b=v[d+8>>2];v[d+8>>2]=0;c:{if(!b){break c}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break c}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}Ma=d+32|0;return a}function MMa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;if(v[a+128>>2]!=v[b>>2]){f=v[a+268>>2];d=v[a+264>>2];c=f-d|0;a:{if(!c){break a}c=(c|0)/104|0;e=c>>>0>1?c:1;g=e&7;c=0;if(e-1>>>0>=7){e=e&-8;while(1){v[(B(c,104)+d|0)+100>>2]=1;v[(B(c|1,104)+d|0)+100>>2]=1;v[(B(c|2,104)+d|0)+100>>2]=1;v[(B(c|3,104)+d|0)+100>>2]=1;v[(B(c|4,104)+d|0)+100>>2]=1;v[(B(c|5,104)+d|0)+100>>2]=1;v[(B(c|6,104)+d|0)+100>>2]=1;v[(B(c|7,104)+d|0)+100>>2]=1;c=c+8|0;e=e-8|0;if(e){continue}break}}if(!g){break a}while(1){v[(B(c,104)+d|0)+100>>2]=1;c=c+1|0;g=g-1|0;if(g){continue}break}}if((d|0)!=(f|0)){while(1){Dh(f-28|0);f=f-104|0;if((f|0)!=(d|0)){continue}break}}v[a+268>>2]=d;eb(a+276|0,255,2228224);v[a+128>>2]=v[b>>2];OJ(a)}}function IP(a,b,c,d){a:{if(b>>>0>20){break a}b:{switch(b-9|0){case 0:b=v[c>>2];v[c>>2]=b+4;v[a>>2]=v[b>>2];return;case 1:b=v[c>>2];v[c>>2]=b+4;b=v[b>>2];v[a>>2]=b;v[a+4>>2]=b>>31;return;case 2:b=v[c>>2];v[c>>2]=b+4;v[a>>2]=v[b>>2];v[a+4>>2]=0;return;case 3:b=v[c>>2]+7&-8;v[c>>2]=b+8;c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;return;case 4:b=v[c>>2];v[c>>2]=b+4;b=u[b>>1];v[a>>2]=b;v[a+4>>2]=b>>31;return;case 5:b=v[c>>2];v[c>>2]=b+4;v[a>>2]=x[b>>1];v[a+4>>2]=0;return;case 6:b=v[c>>2];v[c>>2]=b+4;b=t[b|0];v[a>>2]=b;v[a+4>>2]=b>>31;return;case 7:b=v[c>>2];v[c>>2]=b+4;v[a>>2]=w[b|0];v[a+4>>2]=0;return;case 8:b=v[c>>2]+7&-8;v[c>>2]=b+8;A[a>>3]=A[b>>3];return;case 9:break b;default:break a}}Qa[d|0](a,c)}}function H8(a){a=a|0;var b=0,c=0,d=0,e=0;a:{c=v[a+584>>2];if(c){v[a+672>>2]=v[c+160>>2];v[a+668>>2]=v[c+164>>2];b=v[c+252>>2];if(b){$a(b)}b=v[c+256>>2];if(b){$a(b)}b=v[c+260>>2];if(b){$a(b)}b=v[c+264>>2];if(b){$a(b)}b=v[c+268>>2];if(b){$a(b)}b=v[c+272>>2];if(b){$a(b)}b=v[c+276>>2];if(b){$a(b)}b=v[c+280>>2];if(b){$a(b)}b=v[c+284>>2];if(b){$a(b)}b=v[c+288>>2];if(b){$a(b)}b=v[c+292>>2];if(b){$a(b)}b=v[c+296>>2];if(b){$a(b)}if(w[c+400|0]){d=v[a+584>>2];if(!w[d+400|0]){break a}b=d+536|0;e=v[b+4>>2];if(e){Qa[v[e+40>>2]](b)}v[b+20>>2]=0;v[b+4>>2]=0;t[d+400|0]=0}b=v[c+1084>>2];if(b){$a(b)}b=v[c+1104>>2];if(b){$a(b)}b=v[c+5256>>2];if(b){$a(b)}$a(c);v[a+584>>2]=0;xp(a)}return}O(61687,7087,1196,87546);L()}function Cs(a,b,c){var d=0,e=0,f=0;a:{if((b|0)<0|(c|0)<0|((c|0)>1024|(b|0)>2147482623)){break a}e=v[a+1040>>2];if((e|0)>(b|0)){break a}f=b+c|0;b:{if((f|0)<=(e+1024|0)){c=e;break b}d=v[a+1044>>2];c=d+e|0;if((c|0)>(b|0)){c=d+(e-b|0)|0;v[a+1044>>2]=c;d=a+16|0;id(d,d+(b-e|0)|0,c);v[a+1040>>2]=b;c=b;break b}v[a+1044>>2]=0;v[a+1040>>2]=c;if((b|0)<=(c|0)){break b}while(1){d=0;if((Qa[v[a+4>>2]](v[a+8>>2])|0)<0){break a}c=v[a+1040>>2]+1|0;v[a+1040>>2]=c;if((b|0)>(c|0)){continue}break}}d=1;if((v[a+1044>>2]+c|0)>=(f|0)){break a}while(1){d=0;b=Qa[v[a+4>>2]](v[a+8>>2])|0;if((b|0)<0){break a}d=1;c=v[a+1044>>2];v[a+1044>>2]=c+1;t[(a+c|0)+16|0]=b;if((v[a+1044>>2]+v[a+1040>>2]|0)<(f|0)){continue}break}}return d}function hja(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=v[a+4>>2];a=w[a+11|0];e=a+7>>>3|0;f=g-e|0;a:{if(!a){break a}d=e>>>0>1?e:1;a=d&3;if(d-1>>>0>=3){d=d&60;while(1){t[b|0]=w[b|0]+(w[c|0]>>>1|0);t[b+1|0]=w[b+1|0]+(w[c+1|0]>>>1|0);t[b+2|0]=w[b+2|0]+(w[c+2|0]>>>1|0);t[b+3|0]=w[b+3|0]+(w[c+3|0]>>>1|0);b=b+4|0;c=c+4|0;d=d-4|0;if(d){continue}break}}if(!a){break a}while(1){t[b|0]=w[b|0]+(w[c|0]>>>1|0);b=b+1|0;c=c+1|0;a=a-1|0;if(a){continue}break}}b:{if(!f){break b}a=0-e|0;if((e+1|0)!=(g|0)){d=f&-2;while(1){t[b|0]=w[b|0]+(w[a+b|0]+w[c|0]>>>1|0);t[b+1|0]=w[b+1|0]+(w[a+(b+1|0)|0]+w[c+1|0]>>>1|0);b=b+2|0;c=c+2|0;d=d-2|0;if(d){continue}break}}if(!(f&1)){break b}t[b|0]=w[b|0]+(w[a+b|0]+w[c|0]>>>1|0)}}function MH(a,b){var c=0,d=0;d=Ma-16|0;Ma=d;a:{if(!b){break a}c=Qa[v[256552]](60)|0;if(c){v[c>>2]=0;v[c+4>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c+4>>2]=1;v[c+56>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+36>>2]=0;v[c+8>>2]=b;b:{if(!v[291069]){break b}b=v[291066];if(!b){break b}Qa[b|0](c)}v[c+32>>2]=a;break a}v[d>>2]=283429;nb(0,0,0,0,0,2,2,3,283429,0,0,0,340689,d);if(!a){c=0;break a}a=v[a+80>>2];while(1){if(!a){c=0;break a}c=v[a+16>>2];if(c){while(1){if(!(y[c+4>>2]>>0|c+20>>>0>b>>>0)){c=0;break a}c=v[c>>2];if(c){continue}break}}a=v[a+20>>2];if(a){continue}break}c=0;Qa[v[256556]](b)}Ma=d+16|0;return c}function BBa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;v[a+4>>2]=0;if((b|0)!=80){d=v[a>>2];v[d+20>>2]=13;v[d+24>>2]=80;v[v[a>>2]+28>>2]=b;Qa[v[v[a>>2]>>2]](a)}if((c|0)!=432){b=v[a>>2];v[b+20>>2]=22;v[b+24>>2]=432;v[v[a>>2]+28>>2]=c;Qa[v[v[a>>2]>>2]](a)}b=v[a>>2];c=v[a+12>>2];eb(a+4|0,0,428);v[a+16>>2]=0;v[a+12>>2]=c;v[a>>2]=b;A1(a);v[a+84>>2]=0;v[a+88>>2]=0;v[a+8>>2]=0;v[a+92>>2]=0;v[a+96>>2]=0;v[a+100>>2]=0;v[a+120>>2]=0;v[a+124>>2]=0;v[a+112>>2]=100;v[a+116>>2]=100;v[a+104>>2]=100;v[a+108>>2]=100;v[a+128>>2]=0;v[a+132>>2]=0;v[a+136>>2]=0;v[a+140>>2]=0;v[a+144>>2]=0;v[a+148>>2]=0;v[a+424>>2]=0;v[a+384>>2]=63;v[a+380>>2]=70032;v[a+376>>2]=8;v[a+48>>2]=0;v[a+52>>2]=1072693248;v[a+20>>2]=100;v[a+24>>2]=0}function Ala(a){a=a|0;var b=0,c=0,d=0;a=v[a+4>>2];if(!a){return 0}b=Ma-32|0;Ma=b;a=v[a+12>>2];a:{if(v[a+56>>2]-3>>>0<=1){c=v[a+52>>2];if(!c){a=0;v[b+24>>2]=0;break a}v[c+4>>2]=v[c+4>>2]+1;a=v[a+52>>2];v[b+24>>2]=a;break a}v[b+24>>2]=0;qb(b+24|0,0);a=v[b+24>>2]}b:{if(!a){c=0;break b}v[b+20>>2]=0;c=0;d=v[a+16>>2];if((d|0)>=1){v[b+8>>2]=1e3;v[b>>2]=965256;a=gb(1e3);v[b+4>>2]=a;v[a>>2]=0;v[b+16>>2]=4;v[b+12>>2]=a+4;wT(b+24|0,b+20|0,d,b,1);a=v[b+4>>2];c=v[b+16>>2];t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;c=v[b+4>>2]}a=v[b+24>>2];v[b+24>>2]=0;if(!a){break b}d=v[a+4>>2]-1|0;v[a+4>>2]=d;if(d){break b}d=v[a+4>>2];if(!d){v[a+4>>2]=-32767}if(!d){Qa[v[v[a>>2]+4>>2]](a)}}Ma=b+32|0;return c|0}function Pm(a,b,c){var d=0,e=0,f=0,g=0;if(!c){return 0}d=c;while(1){a:{f=d;b:{d=v[b+8>>2];c:{if(d&7){break c}e=v[b+64>>2];if(!((e|0)<0|(e|0)>v[b+60>>2])){v[b+8>>2]=d|4;break c}d=v[b+28>>2];v[b+28>>2]=d-1;if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;d=w[d|0];break b}d=Eb(b,1);if((d|0)!=-1){break b}}e=-1;if((c|0)>-1){break a}return v[b+8>>2]<<30>>31}e=-1;g=v[a+8>>2];if(g&7){break a}e=v[a+64>>2];if(!((e|0)<0|(e|0)>v[a+60>>2])){v[a+8>>2]=g|4;return-1}v[a+4>>2]=v[a+4>>2]|32;e=v[a+28>>2];v[a+28>>2]=e-1;d:{if((e|0)>=1){v[a+60>>2]=v[a+60>>2]+1;e=v[a+24>>2];v[a+24>>2]=e+1;t[e|0]=d;break d}e=-1;if((Cb(a,d&255)|0)==-1){break a}}d=f-1|0;e=0;if((c|0)<0|(f|0)>1){continue}}break}return e}function sK(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{if(!b){break a}b:{c:{d:{if(a){d=w[a|0];if(d){break d}break b}a=v[b>>2];if(!a){break a}break c}while(1){if(!ye(3801,d<<24>>24)){break c}c=c+1|0;d=w[c+a|0];if(d){continue}break}c=0;break b}d=c;g=a+c|0;f=w[g|0];e:{if(!f){break e}while(1){if(ye(3801,f<<24>>24)){break e}d=d+1|0;f=w[d+a|0];if(f){continue}break}}e=d-c|0;f=Yb(e+1|0,1);f:{if(!f|(e|0)<1){break f}c=0;while(1){h=w[c+g|0];if(h){t[c+f|0]=h;c=c+1|0;if((e|0)!=(c|0)){continue}break f}break}if((c|0)>=(e|0)){break f}eb(c+f|0,0,e-c|0)}c=0;e=a+d|0;g=t[e|0];if(!g){break b}if(!ye(3801,g)){c=e;break b}while(1){d=d+1|0;e=d+a|0;g=t[e|0];if(!g){break b}if(ye(3801,g)){continue}break}c=e}v[b>>2]=c}return f}function aoa(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;a:{b:{d=v[a+8>>2];if(!d){if((c|0)>=1){break b}return 0}if((c|0)<1){return 0}a=v[d+36>>2];while(1){h=b+f|0;e=v[d+28>>2];if((e|0)<=(a|0)){if(!ps(d)){break a}e=v[d+28>>2];a=v[d+36>>2]}i=v[d+32>>2]+a|0;g=c-f|0;a=e-a|0;e=(a|0)>(g|0)?g:a;cb(h,i,e);a=e+v[d+36>>2]|0;v[d+36>>2]=a;f=e+f|0;if((f|0)<(c|0)){continue}break}break a}d=v[a+32784>>2];while(1){if(!d){if(v[a+34096>>2]?v[a+34092>>2]:0){break a}bz(a);d=v[a+32784>>2]}g=v[a+32780>>2];e=32768-g|0;h=c-f|0;d=(d|0)>(h|0)?h:d;e=(d|0)>(e|0)?e:d;cb(b+f|0,(a+g|0)+12|0,e);d=v[a+32784>>2]-e|0;v[a+32784>>2]=d;v[a+32780>>2]=e+v[a+32780>>2]&32767;f=e+f|0;if((f|0)<(c|0)){continue}break}}return f|0}function nB(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{if(!a){break a}g=v[a+4>>2];b=v[g+84>>2];if(!b){break a}d=v[g+96>>2];e=v[d+8>>2];if((a|0)!=(b|0)){while(1){f=v[b+8>>2];if(!f){break a}c=b;b=f;if((b|0)!=(a|0)){continue}break}}v[(c?c+8|0:g+84|0)>>2]=v[a+8>>2];c=e;b=v[a+20>>2];if(b){Qa[b|0](a);d=v[v[a+4>>2]+96>>2];c=v[d+8>>2]}b=v[v[d+12>>2]+68>>2];if(b){Qa[b|0](a)}b=v[a+156>>2];if(!b){v[a+88>>2]=0;if(a){Qa[v[e+8>>2]](e,a)}return}b:{if(t[b+4|0]&1){f=v[v[a+4>>2]+100>>2];b=v[a+88>>2];if(b){Qa[v[f+8>>2]](f,b)}v[a+88>>2]=0;b=v[a+156>>2];v[b+4>>2]=v[b+4>>2]&-2;break b}v[a+88>>2]=0}if(!(w[v[d>>2]+1|0]&2)){e0(v[b>>2]);b=v[a+156>>2];v[b>>2]=0}if(b){Qa[v[c+8>>2]](c,b)}v[a+156>>2]=0;if(a){Qa[v[e+8>>2]](e,a)}}}function JJ(a){a=a|0;var b=0,c=0,d=0,e=0;v[a>>2]=362100;c=a;b=v[a+8>>2];d=v[a+12>>2];if((b|0)!=(d|0)){while(1){e=v[b>>2];if(e){$a(P0(e));d=v[a+12>>2]}b=b+4|0;if((d|0)!=(b|0)){continue}break}b=v[a+8>>2]}v[c+12>>2]=b;c=v[a+32>>2];if(c){e=c-4|0;b=v[e>>2];if(b){d=B(b,20)+c|0;while(1){b=d-20|0;if(t[d-9|0]<=-1){$a(v[b>>2])}d=b;if((b|0)!=(c|0)){continue}break}}$a(e);v[a+32>>2]=0}a:{if(!v[a+48>>2]){break a}b=v[a+44>>2];d=v[b>>2];c=v[a+40>>2];v[d+4>>2]=v[c+4>>2];v[v[c+4>>2]>>2]=d;v[a+48>>2]=0;c=a+40|0;if((c|0)==(b|0)){break a}while(1){d=v[b+4>>2];if(t[b+19|0]<=-1){$a(v[b+8>>2])}$a(b);b=d;if((c|0)!=(b|0)){continue}break}}if(t[a+31|0]<=-1){$a(v[a+20>>2])}b=v[a+8>>2];if(b){v[a+12>>2]=b;$a(b)}return a|0}function xda(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=Ma-16|0;Ma=e;v[e+12>>2]=c;v[a+16>>2]=0;v[a+12>>2]=0;v[a+8>>2]=0;v[a+28>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;a:{if(!w[a+96|0]){break a}d=v[a+32>>2];if(!d){break a}$a(d)}b:{if(!w[a+97|0]){break b}d=v[a+56>>2];if(!d){break b}$a(d)}v[a+52>>2]=c;f=a;c:{d:{e:{if(c>>>0>=9){d=w[a+98|0];if(!(!d|!b)){t[a+96|0]=0;v[a+32>>2]=b;break d}c=ab(c);t[a+96|0]=1;v[a+32>>2]=c;break e}t[a+96|0]=0;v[a+52>>2]=8;v[a+32>>2]=a+44;d=w[a+98|0]}if(d){break d}v[e+8>>2]=8;c=Ma-16|0;Ma=c;Ma=c+16|0;c=e+8|0;d=e+12|0;d=v[(v[d>>2]>2]?c:d)>>2];v[a+60>>2]=d;if(b){c=0;if(d>>>0>7){break c}}b=ab(d);c=1;break c}b=0;v[a+60>>2]=0;c=0}t[f+97|0]=c;v[a+56>>2]=b;Ma=e+16|0;return a|0}function _g(a,b,c){var d=0,e=0;d=Ma-256|0;Ma=d;v[d>>2]=b;v[d+4>>2]=c;Dc(d+16|0,209182,d);c=0;while(1){a:{b=v[(c<<5)+199504>>2];if(!Kb(d+16|0,b,zb(b))){b=c<<5;e=x[b+199508>>1];if(e){v[a+26120>>2]=e}b=x[b+199510>>1];if(b){v[a+26124>>2]=b}b=c<<5;A[d+248>>3]=+u[b+199534>>1]/1e4;A[d+240>>3]=+u[b+199532>>1]/1e4;A[d+232>>3]=+u[b+199530>>1]/1e4;A[d+224>>3]=+u[b+199528>>1]/1e4;A[d+216>>3]=+u[b+199526>>1]/1e4;A[d+208>>3]=+u[b+199524>>1]/1e4;A[d+200>>3]=+u[b+199522>>1]/1e4;A[d+192>>3]=+u[b+199520>>1]/1e4;A[d+184>>3]=+u[b+199518>>1]/1e4;A[d+176>>3]=+u[b+199516>>1]/1e4;A[d+168>>3]=+u[b+199514>>1]/1e4;A[d+160>>3]=+u[b+199512>>1]/1e4;D3(a,d+160|0);break a}c=c+1|0;if((c|0)!=211){continue}}break}Ma=d+256|0}function EVa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=v[a+428>>2];c=x[b+32>>1];c=c<<8|c>>>8;t[d+8|0]=c;t[d+9|0]=c>>>8;c=x[b+34>>1];c=c<<8|c>>>8;t[d+10|0]=c;t[d+11|0]=c>>>8;f=d+8|0;c=w[b+36|0];a:{if(!(c|w[b+37|0]|(w[b+38|0]|w[b+39|0]))){e=4;break a}t[d+12|0]=c;c=w[b+37|0];if(!(w[b+39|0]|(c|w[b+38|0]))){e=5;break a}t[d+13|0]=c;c=w[b+38|0];e=6;if(!(c|w[b+39|0])){break a}t[d+14|0]=c;e=7;if(!w[b+39|0]){break a}t[d+15|0]=w[b+40|0];c=v[b+44>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+16|0]=c;t[d+17|0]=c>>>8;t[d+18|0]=c>>>16;t[d+19|0]=c>>>24;c=v[b+48>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+20|0]=c;t[d+21|0]=c>>>8;t[d+22|0]=c>>>16;t[d+23|0]=c>>>24;e=16}c=e;return hd(a,v[b>>2],c,f)|0}function uBa(a){a=a|0;var b=0,c=0,d=0;a:{b:{c:{b=v[a+20>>2];switch(b-101|0){case 2:break a;case 0:case 1:break c;default:break b}}if(y[a+260>>2]>2]){b=v[a>>2];v[b+20>>2]=69;Qa[v[b>>2]](a)}Qa[v[v[a+388>>2]+8>>2]](a);break a}c=v[a>>2];v[c+24>>2]=b;v[c+20>>2]=21;Qa[v[v[a>>2]>>2]](a)}b=v[a+388>>2];if(!v[b+16>>2]){while(1){Qa[v[b>>2]](a);b=0;d=v[a+284>>2];if(d){while(1){c=v[a+8>>2];if(c){v[c+8>>2]=d;v[c+4>>2]=b;Qa[v[c>>2]](a)}if(!(Qa[v[v[a+400>>2]+4>>2]](a,0)|0)){c=v[a>>2];v[c+20>>2]=25;Qa[v[c>>2]](a)}b=b+1|0;d=v[a+284>>2];if(b>>>0>>0){continue}break}}Qa[v[v[a+388>>2]+8>>2]](a);b=v[a+388>>2];if(!v[b+16>>2]){continue}break}}Qa[v[v[a+404>>2]+12>>2]](a);Qa[v[v[a+24>>2]+16>>2]](a);Fw(a)}function fc(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=a>>31|1;h=(b|0)<0?0-d|0:d;g=2147483647;d=c>>31;d=d+c^d;a:{if(!d){break a}b:{e=b;b=b>>31;b=e+b^b;e=a;a=a>>31;a=e+a^a;if(b+a>>>0<=129894-(d>>>17|0)>>>0){a=B(a,b)+(d>>>1|0)|0;break b}i=b>>>16|0;e=a&65535;j=B(i,e);k=a>>>16|0;a=b&65535;b=j+B(k,a)|0;f=b<<16;e=f+B(a,e)|0;a=e+(d>>>1|0)|0;b=(((B(i,k)+(b>>>16|0)|0)+((b>>>0>>0)<<16)|0)+(f>>>0>e>>>0)|0)+(a>>>0>>0)|0;if(!b){break b}if(b>>>0>=d>>>0){break a}f=E(b);e=32-f|0;b=a>>>e|b<>>0)/(d>>>0)|0;b=b-B(d,g)|0;a=a<>>31;b=f-(d>>>0>f>>>0?0:d)|0;g=g<<1|d>>>0<=f>>>0;a=a<<1;e=e-1|0;if(e){continue}break}break a}g=(a>>>0)/(d>>>0)|0}return(((c|0)<0?0-h|0:h)|0)<0?0-g|0:g}function mJ(a){var b=0,c=0;a:{if(!a){break a}c=v[a>>2];if(!c){break a}v[a+44>>2]=0;v[a+48>>2]=0;b=v[a+52>>2];if((b|0)!=(a+72|0)){if(b){Qa[v[c+8>>2]](c,b)}v[a+52>>2]=0}v[a+56>>2]=0;v[a+60>>2]=0;b=v[a- -64>>2];if((b|0)!=(a+864|0)){if(b){Qa[v[c+8>>2]](c,b)}v[a+64>>2]=0}b=a+1392|0;v[b>>2]=0;v[b+4>>2]=0;b=v[a+1400>>2];if((b|0)!=(a+1420|0)){if(b){Qa[v[c+8>>2]](c,b)}v[a+1400>>2]=0}b=a+1404|0;v[b>>2]=0;v[b+4>>2]=0;b=v[a+1412>>2];if((b|0)!=(a+2212|0)){if(b){Qa[v[c+8>>2]](c,b)}v[a+1412>>2]=0}b=v[a+40>>2];if((b|0)!=(a+2760|0)){if(b){Qa[v[c+8>>2]](c,b)}v[a+40>>2]=0}v[a+32>>2]=0;v[a+36>>2]=0;b=v[a+28>>2];if((b|0)!=(a+2792|0)){if(b){Qa[v[c+8>>2]](c,b)}v[a+28>>2]=0}v[a+20>>2]=0;v[a+24>>2]=0;v[a>>2]=0}}function j5(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=Ma;j=d;e=b+1|0;i=e-c|0;f=i>>1;h=d-((e<<1&-4)+15&-16)|0;Ma=h;if((i|0)>=2){cb(h,a,(f-((f|0)<1?f:1)<<2)+4|0)}g=b-f|0;a:{if((g|0)<1){break a}k=(f^-1)+b|0;d=(f<<2)+a|0;e=(1-c<<2)+a|0;b=b-f&7;if(b){while(1){v[e>>2]=v[d>>2];d=d+4|0;e=e+8|0;g=g-1|0;b=b-1|0;if(b){continue}break}}if(k>>>0<7){break a}while(1){v[e>>2]=v[d>>2];v[e+8>>2]=v[d+4>>2];v[e+16>>2]=v[d+8>>2];v[e+24>>2]=v[d+12>>2];v[e+32>>2]=v[d+16>>2];v[e+40>>2]=v[d+20>>2];v[e+48>>2]=v[d+24>>2];v[e+56>>2]=v[d+28>>2];d=d+32|0;e=e- -64|0;b=(g|0)>8;g=g-8|0;if(b){continue}break}}if((i|0)>=2){d=(c<<2)+a|0;while(1){v[d>>2]=v[h>>2];h=h+4|0;d=d+8|0;a=(f|0)>1;f=f-1|0;if(a){continue}break}}Ma=j}function isa(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;a=eb(a,0,256);d=v[b>>2]+c|0;g=w[d|0];e=w[d+1|0];d=g-e<<3;v[a+4>>2]=d;g=(e+g<<3)-2048|0;v[a>>2]=g;e=v[b+4>>2]+c|0;h=w[e|0];f=w[e+1|0];e=h-f<<3;v[a+36>>2]=e;h=(f+h<<3)-2048|0;v[a+32>>2]=h;f=v[b+8>>2]+c|0;i=w[f|0];j=w[f+1|0];f=i-j<<3;v[a+68>>2]=f;i=(i+j<<3)-2048|0;v[a+64>>2]=i;b=v[b+12>>2]+c|0;c=w[b|0];b=w[b+1|0];j=c-b<<3;k=j+d|0;l=e+f|0;v[a+68>>2]=k-l;v[a+4>>2]=k+l;c=(b+c<<3)-2048|0;b=c+g|0;k=h+i|0;v[a+64>>2]=b-k;v[a>>2]=b+k;e=e-f|0;d=d-j|0;b=B(e+d|0,4433)+4096|0;v[a+100>>2]=b+B(e,-15137)>>13;v[a+36>>2]=b+B(d,6270)>>13;d=h-i|0;c=g-c|0;b=B(d+c|0,4433)+4096|0;v[a+96>>2]=b+B(d,-15137)>>13;v[a+32>>2]=b+B(c,6270)>>13}function NVa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if(w[b+32|0]){return hd(a,v[b>>2],0,0)|0}c=v[a+428>>2];e=c+8|0;a:{b:{switch(w[b+33|0]){case 0:t[e|0]=w[b+34|0];d=1;break a;case 2:t[c+8|0]=w[b+34|0];t[c+9|0]=w[b+35|0];t[c+10|0]=w[b+36|0];d=3;break a;case 3:t[e|0]=w[b+34|0];t[e|0]=w[b+35|0];t[e|0]=w[b+36|0];d=3;break a;case 4:t[c+8|0]=w[b+34|0];t[c+9|0]=w[b+35|0];d=2;break a;case 10:t[e|0]=w[b+34|0];d=1;break a;case 12:t[c+8|0]=w[b+34|0];t[c+9|0]=w[b+35|0];t[c+10|0]=w[b+36|0];d=3;break a;case 14:t[c+8|0]=w[b+34|0];t[c+9|0]=w[b+35|0];d=2;break a;case 6:case 16:break b;default:break a}}t[c+8|0]=w[b+34|0];t[c+9|0]=w[b+35|0];t[c+10|0]=w[b+36|0];t[c+11|0]=w[b+37|0];d=4}return hd(a,v[b>>2],d,e)|0}function NIa(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;h=Ma-16|0;Ma=h;g=v[a+532>>2];d=6;a:{if(!g){break a}UA(v[g+136>>2],h,v[g+4>>2]);k=v[g+4>>2];i=b>>>0>k>>>0?k:b;if(i){while(1){n=j<<2;l=v[n+h>>2];d=B(j,12)+g|0;e=v[d+96>>2];b:{if((l|0)>v[e>>2]){a=1;f=w[d+88|0];if(f>>>0>1){while(1){m=a<<2;o=v[m+e>>2];if((l|0)<=(o|0)){d=v[d+92>>2];f=m-4|0;a=v[d+f>>2];d=v[d+m>>2];e=v[e+f>>2];a=B(Ub(l-e|0,o-e|0),d-a|0)+(a<<16)|0;break b}a=a+1|0;if((f|0)!=(a|0)){continue}break}}a=v[(v[d+92>>2]+(f<<2)|0)-4>>2]<<16;break b}a=v[v[d+92>>2]>>2]<<16}v[c+n>>2]=a;j=j+1|0;if((i|0)!=(j|0)){continue}break}}d=0;if(b>>>0<=k>>>0){break a}eb((i<<2)+c|0,0,b-i<<2);d=0}Ma=h+16|0;return d|0}function GI(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;e=Ma-16|0;Ma=e;d=c+1|0;g=ab((d|0)!=(d&1073741823)?-1:d<<2);a:{if((c|0)<1){break a}d=c&3;if(c-1>>>0>=3){i=c&-4;while(1){v[(f<<2)+g>>2]=w[b+f|0];h=f|1;v[(h<<2)+g>>2]=w[b+h|0];h=f|2;v[(h<<2)+g>>2]=w[b+h|0];h=f|3;v[(h<<2)+g>>2]=w[b+h|0];f=f+4|0;i=i-4|0;if(i){continue}break}}if(!d){break a}while(1){v[(f<<2)+g>>2]=w[b+f|0];f=f+1|0;d=d-1|0;if(d){continue}break}}v[(c<<2)+g>>2]=0;b=ce(g);if(b>>>0<1073741808){b:{c:{if(b>>>0>=2){c=b+4&-4;d=ab(c<<2);v[e+8>>2]=c|-2147483648;v[e>>2]=d;v[e+4>>2]=b;break c}t[e+11|0]=b;d=e;if(!b){break b}}rb(d,g,b)}v[(b<<2)+d>>2]=0;$a(g);v[a+8>>2]=v[e+8>>2];b=v[e+4>>2];v[a>>2]=v[e>>2];v[a+4>>2]=b;Ma=e+16|0;return}sc();L()}function Wo(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(c-v[a+52>>2]|b-v[a+48>>2]){a:{if(!(v[a+56>>2]|v[a+60>>2])){break a}j=a;if(x[a+12>>1]&4095){d=a+20|0}else{e=v[a>>2];if(e>>>0>1023){break a}f=v[a+8>>2];if(f>>>0>=e>>>0){h=v[a+4>>2];b:{if(h>>>0>e>>>0){g=v[a+16>>2];break b}d=h+256|0;g=ab((d&1073741823)!=(d|0)?-1:d<<2);i=v[a+16>>2];if(i){cb(g,i,h<<2);$a(i);d=v[a+4>>2]+256|0;f=v[a+8>>2];e=v[a>>2]}v[a+4>>2]=d;v[a+16>>2]=g}d=ab(65536);v[a>>2]=e+1;v[(e<<2)+g>>2]=d}v[a+8>>2]=f+1;d=v[a+16>>2]+(f<<2)|0}d=v[d>>2];v[j+20>>2]=d+16;e=v[a+60>>2];v[d+8>>2]=v[a+56>>2];v[d+12>>2]=e;e=v[a+52>>2];v[d>>2]=v[a+48>>2];v[d+4>>2]=e;v[a+12>>2]=v[a+12>>2]+1}v[a+56>>2]=0;v[a+60>>2]=0;v[a+52>>2]=c;v[a+48>>2]=b}}function Nv(a,b){var c=0,d=0,e=0,f=0,g=0;f=Ma-16|0;Ma=f;a:{if(!b){break a}c=Qa[v[256552]](48)|0;if(!c){v[f>>2]=276017;nb(0,0,0,0,0,2,2,3,276017,0,0,0,340689,f);c=0;break a}v[c>>2]=0;v[c+4>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c+4>>2]=2;e=b;b:{c:{if(!a){break c}d=v[a+80>>2];if(!d){break c}e=Zc(d,b,-1);break b}while(1){d=e;e=d+1|0;if(w[d|0]){continue}break}e=0;d=d-b|0;if((d|0)<0){break b}g=Qa[v[256555]](d+1|0)|0;if(!g){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break b}e=cb(g,b,d);t[d+e|0]=0}v[c+32>>2]=a;v[c+8>>2]=e;if(!v[291069]){break a}a=v[291066];if(!a){break a}Qa[a|0](c)}Ma=f+16|0;return c}function I2(a){a=a|0;var b=0;v[a>>2]=350660;b=v[a+20>>2];if(b){$a(tt(b));v[a+20>>2]=0}b=v[a+16>>2];if(b){$a(eK(b));v[a+16>>2]=0}b=v[a+656>>2];if(b){Qa[v[v[b>>2]+4>>2]](b);v[a+656>>2]=0}b=v[a+12>>2];if(b){Qa[v[v[b>>2]+12>>2]](b)|0;v[a+12>>2]=0}b=v[a+660>>2];if(b){Qa[v[v[b>>2]+12>>2]](b)|0;v[a+660>>2]=0}b=v[a+688>>2];if(b){v[a+692>>2]=b;$a(b)}v[a+520>>2]=351544;if(t[a+547|0]<=-1){$a(v[a+536>>2])}if(t[a+535|0]<=-1){$a(v[a+524>>2])}v[a+448>>2]=351544;if(t[a+475|0]<=-1){$a(v[a+464>>2])}if(t[a+463|0]<=-1){$a(v[a+452>>2])}v[a+88>>2]=351496;Wf(a+292|0);b=v[a+200>>2];if(b){v[a+204>>2]=b;$a(b)}if(t[a+127|0]<=-1){$a(v[a+116>>2])}v[a+24>>2]=351448;b=v[a+52>>2];if(b){$a(b);v[a+52>>2]=0}return a|0}function AUa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if(v[c>>2]!=1767135348){ob(a,2050,0,0);return 2050}e=v[c+32>>2];v[b+32>>2]=e;t[b+40|0]=w[c+40|0];t[b+41|0]=w[c+41|0];v[b+44>>2]=v[c+44>>2];v[b+52>>2]=v[c+52>>2];d=v[c+60>>2];v[b+60>>2]=d;a:{if(e){d=Qa[v[a+152>>2]](e)|0;v[b+36>>2]=d;if(!d){break a}cb(d,v[c+36>>2],v[b+32>>2]);d=v[b+60>>2]}b:{if(!d){break b}d=Qa[v[a+152>>2]](v[b+44>>2])|0;v[b+48>>2]=d;if(!d){break a}cb(d,v[c+48>>2],v[b+44>>2]);if(!v[b+60>>2]){break b}d=Qa[v[a+152>>2]](v[b+52>>2])|0;v[b+56>>2]=d;if(!d){break a}cb(d,v[c+56>>2],v[b+52>>2]);d=v[b+60>>2];if(!d){break b}d=Qa[v[a+152>>2]](d)|0;v[b+64>>2]=d;if(!d){break a}cb(d,v[c+64>>2],v[b+60>>2])}return 0}ob(a,1,0,0);return 1}function AJ(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;i=Ma-32|0;Ma=i;j=v[a>>2];a:{if(!b){h=6;if(b){Qa[v[j+8>>2]](j,b)}break a}g=cc(j,40,i);b:{h=v[i>>2];if(!h){v[g+32>>2]=0;v[g+8>>2]=0;v[g+4>>2]=c;v[g>>2]=b;v[g+20>>2]=0;v[g+24>>2]=0;v[g+24>>2]=1891;h=v[i>>2];if(!h){break b}}if(b){Qa[v[j+8>>2]](j,b)}break a}v[i+16>>2]=g;v[i>>2]=2;if(e){v[i>>2]=10;b=v[a+16>>2];c:{if((b|0)<1){h=0;break c}c=((b<<2)+a|0)+20|0;b=a+20|0;while(1){h=v[b>>2];if(!hb(v[v[h>>2]+8>>2],e)){break c}b=b+4|0;if(c>>>0>b>>>0){continue}break}h=0}v[i+20>>2]=h}h=0;a=v0(a,i,d,f,0);if(!a){a=v[f>>2];v[a+8>>2]=v[a+8>>2]&-1025;break a}d:{if(!g){break d}b=v[g+24>>2];if(!b){break d}Qa[b|0](g)}if(g){Qa[v[j+8>>2]](j,g)}h=a}Ma=i+32|0;return h}function uXa(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,j=0,k=0,l=0,m=0;if(e){l=e-1|0;while(1){u[g>>1]=x[f>>1];u[g+2>>1]=x[f+2>>1];u[g+4>>1]=x[f+4>>1];u[g+6>>1]=x[f+6>>1];a=g+8|0;i=k?(k|0)==(l|0)?d:b:c;j=a;a:{if(i>>>0<2){break a}h=i-1|0;m=h&1;b:{if((i|0)==2){h=a;break b}i=h&-2;while(1){u[a>>1]=x[f>>1];u[g+10>>1]=x[f+2>>1];u[g+12>>1]=x[f+4>>1];u[g+14>>1]=x[f+6>>1];u[a+8>>1]=x[f>>1];u[a+10>>1]=x[f+2>>1];u[a+12>>1]=x[f+4>>1];u[a+14>>1]=x[f+6>>1];g=a+8|0;h=a+16|0;a=h;i=i-2|0;if(i){continue}break}}j=h;if(!m){break a}u[h>>1]=x[f>>1];u[g+10>>1]=x[f+2>>1];u[g+12>>1]=x[f+4>>1];u[g+14>>1]=x[f+6>>1];j=h+8|0}g=j;f=f+8|0;k=k+1|0;if((k|0)!=(e|0)){continue}break}}return 0}function kLa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;d=v[b>>2];if(y[d+16>>2]>c>>>0){b=v[d+140>>2];f=x[b+96>>1];e=v[b+56>>2];if(c){b=c-1|0}else{b=v[d+148>>2]}b=e+B(b,36)|0;g=x[b+10>>1];c=u[b+20>>1];e=u[b+16>>1];h=v[b+24>>2];i=x[b+14>>1];j=x[b+12>>1];v[a+84>>2]=v[b+28>>2];v[a+80>>2]=j;v[a+76>>2]=i;EJ(a,h);a:{b:{switch(f-1|0){case 0:t[a+94|0]=1;break a;case 1:t[a+94|0]=3;break a;case 3:t[a+94|0]=4;break a;case 7:break b;default:break a}}u[a+92>>1]=256;t[a+94|0]=2}v[a+104>>2]=c;v[a+100>>2]=e;v[a+72>>2]=1651078259;v[a+40>>2]=g<<6;v[a+36>>2]=c<<6;v[a+32>>2]=e<<6;v[a+24>>2]=v[a+80>>2]<<6;v[a+28>>2]=v[a+76>>2]<<6;kt(a+24|0,x[v[d+140>>2]+6>>1]<<6);a=0}else{a=6}return a|0}function eE(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=Ma-32|0;Ma=e;d=v[a+8>>2];while(1){f=c;c=c+1|0;if(x[(d+B(f,6)|0)+2>>1]){continue}break}a:{b:{c:{if(b-2>>>0<15){if(f>>>0>=256){break c}v[a+12>>2]=32-b;c=a+20|0;Sc(c,1<>24);if(f){while(1){d=v[a+8>>2]+B(g,6)|0;c=u[d+2>>1];if((c|0)<1|(b|0)<(c|0)){break b}c=b-c|0;if((c|0)!=31){h=x[d>>1];c=h+(1<>2]|0;if(w[d|0]!=(f|0)){break a}t[d|0]=g;if((c|0)>(h|0)){continue}break}}g=g+1|0;if((g|0)!=(f|0)){continue}break}}Ma=e+32|0;return}lb(mb(e+8|0,984448,241290,507,327369));L()}lb(mb(e+8|0,984448,241290,509,327369));L()}lb(mb(e+8|0,984448,241290,521,327369));L()}lb(mb(e+8|0,262086,241290,527,327369));L()}function W2a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;b=-1;a:{if(wg(c,v[a+12>>2])){break a}if(Fh(c,v[a+16>>2])){break a}e=v[c+8>>2];if(e&7){break a}d=w[a+20|0];b=v[c+64>>2];if(!((b|0)<0|(b|0)>v[c+60>>2])){v[c+8>>2]=e|4;return-1}v[c+4>>2]=v[c+4>>2]|32;b=-1;e=v[c+28>>2];v[c+28>>2]=e-1;b:{if((e|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=v[c+24>>2];v[c+24>>2]=b+1;t[b|0]=d;break b}if((Cb(c,d)|0)==-1){break a}}b=-1;d=v[c+8>>2];if(d&7){break a}a=w[a+21|0];b=v[c+64>>2];if(!((b|0)<0|(b|0)>v[c+60>>2])){v[c+8>>2]=d|4;return-1}v[c+4>>2]=v[c+4>>2]|32;b=-1;d=v[c+28>>2];v[c+28>>2]=d-1;c:{if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=v[c+24>>2];v[c+24>>2]=b+1;t[b|0]=a;break c}if((Cb(c,a)|0)==-1){break a}}b=0}return b|0}function Zs(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;e=Ma-16|0;Ma=e;d=c+1|0;f=ab((d|0)!=(d&1073741823)?-1:d<<2);a:{if((c|0)<1){break a}h=c&3;d=0;if(c-1>>>0>=3){i=c&-4;while(1){v[(d<<2)+f>>2]=w[b+d|0];g=d|1;v[(g<<2)+f>>2]=w[b+g|0];g=d|2;v[(g<<2)+f>>2]=w[b+g|0];g=d|3;v[(g<<2)+f>>2]=w[b+g|0];d=d+4|0;i=i-4|0;if(i){continue}break}}if(!h){break a}while(1){v[(d<<2)+f>>2]=w[b+d|0];d=d+1|0;h=h-1|0;if(h){continue}break}}v[(c<<2)+f>>2]=0;if(c>>>0<1073741808){b:{c:{if(c>>>0>=2){b=c+4&-4;d=ab(b<<2);v[e+8>>2]=b|-2147483648;v[e>>2]=d;v[e+4>>2]=c;break c}t[e+11|0]=c;d=e;if(!c){break b}}rb(d,f,c)}v[(c<<2)+d>>2]=0;$a(f);v[a+8>>2]=v[e+8>>2];b=v[e+4>>2];v[a>>2]=v[e>>2];v[a+4>>2]=b;Ma=e+16|0;return}sc();L()}function Oc(a,b){var c=0,d=0;c=Ma-32|0;Ma=c;v[a>>2]=0;v[a+4>>2]=v[279250];v[c+24>>2]=0;v[c+28>>2]=0;v[c+20>>2]=0;v[c+16>>2]=978704;aj(c+8|0,c+16|0,b);v[c+16>>2]=978608;b=v[c+28>>2];if(b){t[b|0]=0;$a(v[c+28>>2])}v[c+28>>2]=0;bc(c+16|0);b=v[c+8>>2];a:{if(b){Qa[v[v[b>>2]+28>>2]](c+16|0,b,1);break a}v[c+16>>2]=0}jb(a,c+16|0);b=v[c+16>>2];v[c+16>>2]=0;b:{if(!b){break b}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break b}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}b=v[a>>2];v[a+4>>2]=v[(b?b+12|0:1117e3)>>2];b=v[c+8>>2];v[c+8>>2]=0;c:{if(!b){break c}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break c}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}Ma=c+32|0;return a}function Ny(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=Ma-32|0;Ma=e;a:{if(!v[a+4>>2]){break a}while(1){v[e+16>>2]=f;if(v[v[(w[a+8|0]?v[a>>2]:a)>>2]+(v[e+16>>2]<<2)>>2]==44){break a}f=f+1|0;if(f>>>0>2]){continue}break}}b:{if(y[a+4>>2]<=f>>>0){d=e+16|0;c:{d:{if(!w[a+8|0]){break d}a=v[a>>2];if(a){break d}a=0;break c}a=v[a>>2]}a=FF(d,a);i=b,j=jl(a),A[i>>3]=j;v[c>>2]=0;v[c+4>>2]=0;Qb(a);break b}g=e+16|0;d=a;e:{f:{if(!w[a+8|0]){break f}d=v[d>>2];if(d){break f}d=0;break e}d=v[d>>2]}h=ks(g,d,f);g=e;d=a;g:{h:{if(!w[a+8|0]){break h}d=v[d>>2];if(d){break h}d=0;break g}d=v[d>>2]}a=ks(g,(d+(f<<2)|0)+4|0,v[a+4>>2]+(f^-1)|0);i=b,j=jl(h),A[i>>3]=j;i=c,j=jl(a),A[i>>3]=j;Qb(a);Qb(h)}Ma=e+32|0}function H9(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=Ma-80|0;Ma=d;e=v[a+584>>2];a:{b:{switch(b-65560|0){case 0:b=e;e=v[c>>2];v[b>>2]=e;b=3;c=32;c:{d:{switch(e|0){case 2:b=1;v[d+48>>2]=1;Kc(a,277,d+48|0);break c;case 3:b=1;c=8;break c;default:b=v[a>>2];a=v[a+628>>2];v[d>>2]=e;wb(a,b,46080,d);b=0;break a;case 0:break c;case 1:break d}}b=2;c=16}v[d+32>>2]=c;Kc(a,258,d+32|0);v[d+16>>2]=b;Kc(a,339,d+16|0);b=a;if(w[a+13|0]&4){c=$k(a)}else{c=-1}v[b+508>>2]=c;f=a,g=Gi(a),v[f+588>>2]=g;b=1;break a;case 1:c=v[c>>2];v[e+4>>2]=c;b=1;if(c>>>0<2){break a}b=v[a>>2];a=v[a+628>>2];v[d+64>>2]=c;wb(a,b,46727,d- -64|0);b=0;break a;default:break b}}b=Qa[v[e+28>>2]](a,b,c)|0}Ma=d+80|0;return b|0}function Ai(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{if((a|0)<1|(b|0)<1){break a}g=Yb(1,24);if(!g){break a}v[g+4>>2]=b;v[g>>2]=a;i=Yb(a,4);if(!i){break a}b:{while(1){c:{j=Yb(b,4);v[(h<<2)+i>>2]=j;if(!j){break c}h=h+1|0;if((h|0)!=(a|0)){continue}break b}break}return 0}v[g+12>>2]=d;v[g+8>>2]=c;v[g+16>>2]=i;h=b&-8;j=b&7;d=0;k=b-1>>>0<7;while(1){e=v[(d<<2)+i>>2];b=0;c=h;if(!k){while(1){f=b<<2;v[f+e>>2]=1;v[(f|4)+e>>2]=1;v[(f|8)+e>>2]=1;v[(f|12)+e>>2]=1;v[(f|16)+e>>2]=1;v[(f|20)+e>>2]=1;v[(f|24)+e>>2]=1;v[(f|28)+e>>2]=1;b=b+8|0;c=c-8|0;if(c){continue}break}}c=j;if(c){while(1){v[(b<<2)+e>>2]=1;b=b+1|0;c=c-1|0;if(c){continue}break}}d=d+1|0;if((d|0)!=(a|0)){continue}break}h=g}return h}function $Ga(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=Ma-32|0;Ma=c;e=v[b+96>>2];a:{if((e|0)<0|v[a+300>>2]<=(e|0)){break a}g=v[a+304>>2];if((Qa[v[b+52>>2]](b,6,c,3)|0)<6){break a}d=v[c+12>>2];if(!d){break a}f=d>>31;d=f^d+f;if((d|0)!=65536){h=a,i=Ub(1e3,d),u[h+68>>1]=i;h=c,i=Ub(v[c>>2],d),v[h>>2]=i;h=c,i=Ub(v[c+4>>2],d),v[h+4>>2]=i;h=c,i=Ub(v[c+8>>2],d),v[h+8>>2]=i;h=c,i=Ub(v[c+16>>2],d),v[h+16>>2]=i;h=c,i=Ub(v[c+20>>2],d),v[h+20>>2]=i;v[c+12>>2]=v[c+12>>2]<0?-65536:65536}a=B(e,252)+g|0;d=a+216|0;v[d>>2]=v[c>>2];v[a+224>>2]=v[c+4>>2];v[a+220>>2]=v[c+8>>2];v[a+228>>2]=v[c+12>>2];if(!gB(d)){v[b+12>>2]=3;break a}v[a+232>>2]=v[c+16>>2]>>16;v[a+236>>2]=v[c+20>>2]>>16}Ma=c+32|0}function TV(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=v[a+4>>2];e=v[(v[a>>2]+(c<<2)|0)-4>>2];a:{if(!e){break a}f=v[e+24>>2]-1|0;v[e+24>>2]=f;if(f){break a}c=v[e>>2];if(c){$a(Bb(c))}tb(v[e+4>>2]);tb(v[e+12>>2]);$a(e);c=v[a+4>>2]}b:{if((c|0)<2){break b}d=c-2|0;f=c-1&3;c:{if(!f){e=c;break c}while(1){g=v[a>>2];e=c-1|0;v[g+(e<<2)>>2]=v[(g+(c<<2)|0)-8>>2];c=e;f=f-1|0;if(f){continue}break}}if(d>>>0<3){break b}while(1){f=e<<2;c=f-8|0;d=v[a>>2];v[(d+f|0)-4>>2]=v[c+d>>2];d=c;c=v[a>>2];g=d+c|0;d=c;c=f-12|0;v[g>>2]=v[d+c>>2];d=c;c=v[a>>2];h=d+c|0;g=c;c=e-4|0;d=c<<2;v[h>>2]=v[g+d>>2];g=d;d=v[a>>2];v[g+d>>2]=v[(f+d|0)-20>>2];f=(e|0)>5;e=c;if(f){continue}break}}v[v[a>>2]>>2]=b;v[b+24>>2]=v[b+24>>2]+1}function e3(a){var b=0,c=0,d=0,e=0,f=0,g=0;e=Ma-16|0;Ma=e;a:{if(!a){break a}c=v[a+8>>2];b=c-1|0;if(b>>>0>31|!(1<>2];if((f|0)<1){break a}g=v[a+4>>2];if((g|0)<1){break a}b=Yb(1,44);if(!b){break a}v[b+16>>2]=1;v[b+8>>2]=c;v[b+4>>2]=g;v[b>>2]=f;c=(B(c,f)+31|0)/32|0;v[b+12>>2]=c;c=Qa[v[256541]](B(c,g)<<2)|0;if(!c){break a}v[b+40>>2]=c;Bt(b);if((a|0)==(b|0)){d=a;break a}v[b+20>>2]=v[a+20>>2];v[b+24>>2]=v[a+24>>2];d=v[b+36>>2];v[e+8>>2]=d;if(d){Gn(e+8|0);v[b+36>>2]=0}d=v[a+36>>2];b:{if(!d){break b}d=tK(d);if(!d){break b}c=v[b+36>>2];v[e+12>>2]=c;if(c){Gn(e+12|0)}v[b+36>>2]=d}d=v[a+32>>2];c=b+32|0;if(c){fN(c,d)}v[b+28>>2]=v[a+28>>2];d=b}Ma=e+16|0;return d}function P4(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=w[a+432|0];if(!(w[a+344|0]|(w[a+496|0]|w[a+476|0]?e:0))){return 0}a:{c=v[b+32>>2];b:{if(!c){c=v[b+12>>2];if(!c){break a}while(1){if(v[c>>2]==712&w[c+28|0]==w[b+28|0]){break b}c=v[c+12>>2];if(c){continue}break}break a}if(w[c+28|0]!=w[b+28|0]){break a}}v[b+32>>2]=c;b=v[c+56>>2];d=b-1|0;if(d>>>0<=2147483645){v[c+56>>2]=d;b=d}c:{if(!(!w[a+344|0]|e|b>>>0<2147483647)){v[a+456>>2]=2147483647;v[a+448>>2]=2147483647;v[a+452>>2]=2147483647;break c}if(!b){if(v[a+696>>2]!=(c|0)){break c}t[a+305|0]=0;break c}if(v[a+516>>2]){v[a+516>>2]=c;break c}v[a+516>>2]=v[c+8>>2]}if(!(v[c+32>>2]|!w[a+460|0])){t[a+460|0]=0}return 0}ob(a,1069,0,0);return 1069}function yVa(a,b){a=a|0;b=b|0;var c=0,d=0;d=v[a+428>>2];c=x[b+32>>1];c=c<<8|c>>>8;t[d+8|0]=c;t[d+9|0]=c>>>8;c=x[b+34>>1];c=c<<8|c>>>8;t[d+10|0]=c;t[d+11|0]=c>>>8;t[d+12|0]=w[b+36|0];c=v[b+40>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+13|0]=c;t[d+14|0]=c>>>8;t[d+15|0]=c>>>16;t[d+16|0]=c>>>24;c=v[b+44>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+17|0]=c;t[d+18|0]=c>>>8;t[d+19|0]=c>>>16;t[d+20|0]=c>>>24;c=v[b+48>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+21|0]=c;t[d+22|0]=c>>>8;t[d+23|0]=c>>>16;t[d+24|0]=c>>>24;c=v[b+52>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+25|0]=c;t[d+26|0]=c>>>8;t[d+27|0]=c>>>16;t[d+28|0]=c>>>24;return hd(a,v[b>>2],21,d+8|0)|0}function xj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=Ma-16|0;Ma=d;e=Bd(b);c=v[v[a+12>>2]+((e>>>0)%y[a+8>>2]<<2)>>2];a:{if(c){while(1){if((e|0)==v[c+12>>2]){if(!ld(c+16|0,b,-1)){break a}}c=v[c+8>>2];if(c){continue}break}}c=ab(28);v[c>>2]=0;v[c+4>>2]=0;v[c+24>>2]=0;e=c+16|0;v[e>>2]=0;v[e+4>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c+20>>2]=v[279250];b=v[b>>2];b:{if(b){Qa[v[v[b>>2]+28>>2]](d+8|0,b,1);break b}v[d+8>>2]=0}jb(e,d+8|0);b=v[d+8>>2];v[d+8>>2]=0;c:{if(!b){break c}f=v[b+4>>2]-1|0;v[b+4>>2]=f;if(f){break c}f=v[b+4>>2];if(!f){v[b+4>>2]=-32767}if(!f){Qa[v[v[b>>2]+4>>2]](b)}}b=v[c+16>>2];b=v[(b?b+12|0:1117e3)>>2];v[c+24>>2]=0;v[c+20>>2]=b;g=c,h=Bd(e),v[g+12>>2]=h;bj(a,c)}Ma=d+16|0;return c}function y1(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;h=v[a+20>>2];l=v[a+28>>2]-h>>3;k=v[a+4>>2];while(1){g=v[h+12>>2];f=u[h+8>>1];e=u[h+10>>1];a=e>>31;a=(a^a+e)&65535;e=v[c+4>>2];a:{if(a>>>0<=e>>>0){break a}i=e;e=a+255&130816;if((i|0)==(e|0)){break a}j=v[c>>2];if(j){$a(j)}v[c+4>>2]=e;p=c,q=ab(e<<2),v[p>>2]=q}e=v[c>>2];z1(d,e,f,k,a);b:{if(v[b+16>>2]<(k|0)|v[b+8>>2]>(k|0)){break b}i=u[h+10>>1]<0;j=i?0:g;m=w[g|0];g=v[b+4>>2];c:{if((f|0)>=(g|0)){g=f;break c}f=g-f|0;a=a-f|0;if((a|0)<1){break b}j=i?0:f+j|0;e=(f<<2)+e|0}n=v[b>>2];i=g;o=k;f=v[b+12>>2];if((f|0)<(a+g|0)){a=f-g|0;if((a|0)<0){break b}a=a+1|0}Pf(n,i,o,a,e,j,m)}h=h+8|0;l=l-1|0;if(l){continue}break}}function x$(a,b,c){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,p=0,q=0;i=B(c,1348)+a|0;f=v[i- -64>>2];g=v[i+56>>2];j=B(c,7676)+b|0;k=v[j+44>>2];h=xb(y[b+40>>2]/40|0,k);a=1;a:{if((g|0)<1){break a}d=v[j+260>>2];if(!d){break a}h=(h|0)<32?h:32;o=B(g,44)+f|0;p=B(c,7676)+b|0;while(1){c=a;a=0;b=h;g=0;if(c){while(1){c=B(a,28)+p|0;e=v[c+288>>2];if(!(!(e&1)|(e&2)>>>1^v[i+68>>2]!=t[f+13|0])){d=u[f>>1];l=d-v[c+264>>2]|0;e=l>>31;m=d-v[c+276>>2]|0;n=m>>31;q=d;d=(e^e+l)>>>0>(n^n+m)>>>0?c+276|0:c+264|0;e=q-v[d>>2]|0;c=e>>31;e=xb(c^c+e,k);c=(e|0)<(b|0);g=c?d:g;d=v[j+260>>2];b=c?e:b}a=a+1|0;if(d>>>0>a>>>0){continue}break}if(g){v[f+20>>2]=g}a=d}f=f+44|0;if(o>>>0>f>>>0){continue}break}}}function X2(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(!b){break a}v[b>>2]=0;if(!a){break a}d=v[a+12>>2];f=Yb(d,4);if(!f){break a}g=Yb(d,4);if(!g){break a}h=Yb(d,4);if(!h){break a}b:{if((d|0)<1){break b}i=v[a>>2];a=0;if((d|0)!=1){j=d&-2;while(1){c=a<<2;e=c+i|0;v[c+f>>2]=w[e+2|0];v[c+g>>2]=w[e+1|0];v[c+h>>2]=w[e|0];c=c|4;e=c+i|0;v[c+f>>2]=w[e+2|0];v[c+g>>2]=w[e+1|0];v[c+h>>2]=w[e|0];a=a+2|0;j=j-2|0;if(j){continue}break}}if(d&1){a=a<<2;c=a+i|0;v[a+f>>2]=w[c+2|0];v[a+g>>2]=w[c+1|0];v[a+h>>2]=w[c|0]}a=0;if((d|0)<=0){break b}while(1){c:{c=a<<2;i=v[c+f>>2];if((i|0)!=v[c+g>>2]|(i|0)!=v[c+h>>2]){break c}a=a+1|0;if((d|0)!=(a|0)){continue}break b}break}v[b>>2]=1}$a(f);$a(g);$a(h)}}function V1(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;h=v[a+20>>2];l=v[a+28>>2]-h>>3;k=v[a+4>>2];while(1){g=v[h+12>>2];f=u[h+8>>1];e=u[h+10>>1];a=e>>31;a=(a^a+e)&65535;e=v[c+4>>2];a:{if(a>>>0<=e>>>0){break a}i=e;e=a+255&130816;if((i|0)==(e|0)){break a}j=v[c>>2];if(j){$a(j)}v[c+4>>2]=e;p=c,q=ab(e<<2),v[p>>2]=q}e=v[c>>2];W1(d,e,f,k,a);b:{if(v[b+16>>2]<(k|0)|v[b+8>>2]>(k|0)){break b}i=u[h+10>>1]<0;j=i?0:g;m=w[g|0];g=v[b+4>>2];c:{if((f|0)>=(g|0)){g=f;break c}f=g-f|0;a=a-f|0;if((a|0)<1){break b}j=i?0:f+j|0;e=(f<<2)+e|0}n=v[b>>2];i=g;o=k;f=v[b+12>>2];if((f|0)<(a+g|0)){a=f-g|0;if((a|0)<0){break b}a=a+1|0}Pf(n,i,o,a,e,j,m)}h=h+8|0;l=l-1|0;if(l){continue}break}}function T1(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;h=v[a+20>>2];l=v[a+28>>2]-h>>3;k=v[a+4>>2];while(1){g=v[h+12>>2];f=u[h+8>>1];e=u[h+10>>1];a=e>>31;a=(a^a+e)&65535;e=v[c+4>>2];a:{if(a>>>0<=e>>>0){break a}i=e;e=a+255&130816;if((i|0)==(e|0)){break a}j=v[c>>2];if(j){$a(j)}v[c+4>>2]=e;p=c,q=ab(e<<2),v[p>>2]=q}e=v[c>>2];U1(d,e,f,k,a);b:{if(v[b+16>>2]<(k|0)|v[b+8>>2]>(k|0)){break b}i=u[h+10>>1]<0;j=i?0:g;m=w[g|0];g=v[b+4>>2];c:{if((f|0)>=(g|0)){g=f;break c}f=g-f|0;a=a-f|0;if((a|0)<1){break b}j=i?0:f+j|0;e=(f<<2)+e|0}n=v[b>>2];i=g;o=k;f=v[b+12>>2];if((f|0)<(a+g|0)){a=f-g|0;if((a|0)<0){break b}a=a+1|0}Pf(n,i,o,a,e,j,m)}h=h+8|0;l=l-1|0;if(l){continue}break}}function R1(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;h=v[a+20>>2];l=v[a+28>>2]-h>>3;k=v[a+4>>2];while(1){g=v[h+12>>2];f=u[h+8>>1];e=u[h+10>>1];a=e>>31;a=(a^a+e)&65535;e=v[c+4>>2];a:{if(a>>>0<=e>>>0){break a}i=e;e=a+255&130816;if((i|0)==(e|0)){break a}j=v[c>>2];if(j){$a(j)}v[c+4>>2]=e;p=c,q=ab(e<<2),v[p>>2]=q}e=v[c>>2];S1(d,e,f,k,a);b:{if(v[b+16>>2]<(k|0)|v[b+8>>2]>(k|0)){break b}i=u[h+10>>1]<0;j=i?0:g;m=w[g|0];g=v[b+4>>2];c:{if((f|0)>=(g|0)){g=f;break c}f=g-f|0;a=a-f|0;if((a|0)<1){break b}j=i?0:f+j|0;e=(f<<2)+e|0}n=v[b>>2];i=g;o=k;f=v[b+12>>2];if((f|0)<(a+g|0)){a=f-g|0;if((a|0)<0){break b}a=a+1|0}Pf(n,i,o,a,e,j,m)}h=h+8|0;l=l-1|0;if(l){continue}break}}function P1(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;h=v[a+20>>2];l=v[a+28>>2]-h>>3;k=v[a+4>>2];while(1){g=v[h+12>>2];f=u[h+8>>1];e=u[h+10>>1];a=e>>31;a=(a^a+e)&65535;e=v[c+4>>2];a:{if(a>>>0<=e>>>0){break a}i=e;e=a+255&130816;if((i|0)==(e|0)){break a}j=v[c>>2];if(j){$a(j)}v[c+4>>2]=e;p=c,q=ab(e<<2),v[p>>2]=q}e=v[c>>2];Q1(d,e,f,k,a);b:{if(v[b+16>>2]<(k|0)|v[b+8>>2]>(k|0)){break b}i=u[h+10>>1]<0;j=i?0:g;m=w[g|0];g=v[b+4>>2];c:{if((f|0)>=(g|0)){g=f;break c}f=g-f|0;a=a-f|0;if((a|0)<1){break b}j=i?0:f+j|0;e=(f<<2)+e|0}n=v[b>>2];i=g;o=k;f=v[b+12>>2];if((f|0)<(a+g|0)){a=f-g|0;if((a|0)<0){break b}a=a+1|0}Pf(n,i,o,a,e,j,m)}h=h+8|0;l=l-1|0;if(l){continue}break}}function N1(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;h=v[a+20>>2];l=v[a+28>>2]-h>>3;k=v[a+4>>2];while(1){g=v[h+12>>2];f=u[h+8>>1];e=u[h+10>>1];a=e>>31;a=(a^a+e)&65535;e=v[c+4>>2];a:{if(a>>>0<=e>>>0){break a}i=e;e=a+255&130816;if((i|0)==(e|0)){break a}j=v[c>>2];if(j){$a(j)}v[c+4>>2]=e;p=c,q=ab(e<<2),v[p>>2]=q}e=v[c>>2];O1(d,e,f,k,a);b:{if(v[b+16>>2]<(k|0)|v[b+8>>2]>(k|0)){break b}i=u[h+10>>1]<0;j=i?0:g;m=w[g|0];g=v[b+4>>2];c:{if((f|0)>=(g|0)){g=f;break c}f=g-f|0;a=a-f|0;if((a|0)<1){break b}j=i?0:f+j|0;e=(f<<2)+e|0}n=v[b>>2];i=g;o=k;f=v[b+12>>2];if((f|0)<(a+g|0)){a=f-g|0;if((a|0)<0){break b}a=a+1|0}Pf(n,i,o,a,e,j,m)}h=h+8|0;l=l-1|0;if(l){continue}break}}function L1(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;h=v[a+20>>2];l=v[a+28>>2]-h>>3;k=v[a+4>>2];while(1){g=v[h+12>>2];f=u[h+8>>1];e=u[h+10>>1];a=e>>31;a=(a^a+e)&65535;e=v[c+4>>2];a:{if(a>>>0<=e>>>0){break a}i=e;e=a+255&130816;if((i|0)==(e|0)){break a}j=v[c>>2];if(j){$a(j)}v[c+4>>2]=e;p=c,q=ab(e<<2),v[p>>2]=q}e=v[c>>2];M1(d,e,f,k,a);b:{if(v[b+16>>2]<(k|0)|v[b+8>>2]>(k|0)){break b}i=u[h+10>>1]<0;j=i?0:g;m=w[g|0];g=v[b+4>>2];c:{if((f|0)>=(g|0)){g=f;break c}f=g-f|0;a=a-f|0;if((a|0)<1){break b}j=i?0:f+j|0;e=(f<<2)+e|0}n=v[b>>2];i=g;o=k;f=v[b+12>>2];if((f|0)<(a+g|0)){a=f-g|0;if((a|0)<0){break b}a=a+1|0}Pf(n,i,o,a,e,j,m)}h=h+8|0;l=l-1|0;if(l){continue}break}}function J1(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;h=v[a+20>>2];l=v[a+28>>2]-h>>3;k=v[a+4>>2];while(1){g=v[h+12>>2];f=u[h+8>>1];e=u[h+10>>1];a=e>>31;a=(a^a+e)&65535;e=v[c+4>>2];a:{if(a>>>0<=e>>>0){break a}i=e;e=a+255&130816;if((i|0)==(e|0)){break a}j=v[c>>2];if(j){$a(j)}v[c+4>>2]=e;p=c,q=ab(e<<2),v[p>>2]=q}e=v[c>>2];K1(d,e,f,k,a);b:{if(v[b+16>>2]<(k|0)|v[b+8>>2]>(k|0)){break b}i=u[h+10>>1]<0;j=i?0:g;m=w[g|0];g=v[b+4>>2];c:{if((f|0)>=(g|0)){g=f;break c}f=g-f|0;a=a-f|0;if((a|0)<1){break b}j=i?0:f+j|0;e=(f<<2)+e|0}n=v[b>>2];i=g;o=k;f=v[b+12>>2];if((f|0)<(a+g|0)){a=f-g|0;if((a|0)<0){break b}a=a+1|0}Pf(n,i,o,a,e,j,m)}h=h+8|0;l=l-1|0;if(l){continue}break}}function H1(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;h=v[a+20>>2];l=v[a+28>>2]-h>>3;k=v[a+4>>2];while(1){g=v[h+12>>2];f=u[h+8>>1];e=u[h+10>>1];a=e>>31;a=(a^a+e)&65535;e=v[c+4>>2];a:{if(a>>>0<=e>>>0){break a}i=e;e=a+255&130816;if((i|0)==(e|0)){break a}j=v[c>>2];if(j){$a(j)}v[c+4>>2]=e;p=c,q=ab(e<<2),v[p>>2]=q}e=v[c>>2];I1(d,e,f,k,a);b:{if(v[b+16>>2]<(k|0)|v[b+8>>2]>(k|0)){break b}i=u[h+10>>1]<0;j=i?0:g;m=w[g|0];g=v[b+4>>2];c:{if((f|0)>=(g|0)){g=f;break c}f=g-f|0;a=a-f|0;if((a|0)<1){break b}j=i?0:f+j|0;e=(f<<2)+e|0}n=v[b>>2];i=g;o=k;f=v[b+12>>2];if((f|0)<(a+g|0)){a=f-g|0;if((a|0)<0){break b}a=a+1|0}Pf(n,i,o,a,e,j,m)}h=h+8|0;l=l-1|0;if(l){continue}break}}function F1(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;h=v[a+20>>2];l=v[a+28>>2]-h>>3;k=v[a+4>>2];while(1){g=v[h+12>>2];f=u[h+8>>1];e=u[h+10>>1];a=e>>31;a=(a^a+e)&65535;e=v[c+4>>2];a:{if(a>>>0<=e>>>0){break a}i=e;e=a+255&130816;if((i|0)==(e|0)){break a}j=v[c>>2];if(j){$a(j)}v[c+4>>2]=e;p=c,q=ab(e<<2),v[p>>2]=q}e=v[c>>2];G1(d,e,f,k,a);b:{if(v[b+16>>2]<(k|0)|v[b+8>>2]>(k|0)){break b}i=u[h+10>>1]<0;j=i?0:g;m=w[g|0];g=v[b+4>>2];c:{if((f|0)>=(g|0)){g=f;break c}f=g-f|0;a=a-f|0;if((a|0)<1){break b}j=i?0:f+j|0;e=(f<<2)+e|0}n=v[b>>2];i=g;o=k;f=v[b+12>>2];if((f|0)<(a+g|0)){a=f-g|0;if((a|0)<0){break b}a=a+1|0}Pf(n,i,o,a,e,j,m)}h=h+8|0;l=l-1|0;if(l){continue}break}}function Eda(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;var j=0,k=0,l=0,m=0,n=0,o=0,p=0;j=Ma-16|0;Ma=j;n=e&1;e=e>>>1|0;o=g<<1;p=h<<2;while(1){g=e;while(1){c=i;h=w[c+2|0];i=w[c+3|0];k=j+12|0;l=j+8|0;m=j+4|0;Ic(v[a+68>>2],w[c|0],h,i,k,l,m);d=b;v[d>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Ic(v[a+68>>2],w[c+1|0],h,i,k,l,m);v[d+4>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;i=c+4|0;b=d+8|0;g=g-1|0;if(g){continue}break}g=2;a:{if(!n){i=c;break a}Ic(v[a+68>>2],w[c+4|0],w[c+6|0],w[c+7|0],j+12|0,j+8|0,j+4|0);v[b>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;g=3}b=(d+p|0)+(g<<2)|0;i=(i+o|0)+4|0;f=f-1|0;if(f){continue}break}Ma=j+16|0}function D1(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;h=v[a+20>>2];l=v[a+28>>2]-h>>3;k=v[a+4>>2];while(1){g=v[h+12>>2];f=u[h+8>>1];e=u[h+10>>1];a=e>>31;a=(a^a+e)&65535;e=v[c+4>>2];a:{if(a>>>0<=e>>>0){break a}i=e;e=a+255&130816;if((i|0)==(e|0)){break a}j=v[c>>2];if(j){$a(j)}v[c+4>>2]=e;p=c,q=ab(e<<2),v[p>>2]=q}e=v[c>>2];E1(d,e,f,k,a);b:{if(v[b+16>>2]<(k|0)|v[b+8>>2]>(k|0)){break b}i=u[h+10>>1]<0;j=i?0:g;m=w[g|0];g=v[b+4>>2];c:{if((f|0)>=(g|0)){g=f;break c}f=g-f|0;a=a-f|0;if((a|0)<1){break b}j=i?0:f+j|0;e=(f<<2)+e|0}n=v[b>>2];i=g;o=k;f=v[b+12>>2];if((f|0)<(a+g|0)){a=f-g|0;if((a|0)<0){break b}a=a+1|0}Pf(n,i,o,a,e,j,m)}h=h+8|0;l=l-1|0;if(l){continue}break}}function Pma(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=Ma-32|0;Ma=d;v[c>>2]=0;e=d+16|0;Qa[v[v[a>>2]+12>>2]](e,a,b);a=0;a:{if(!yZ(e)){break a}v[d+12>>2]=0;v[d+8>>2]=0;e=0;a=Ma-16|0;Ma=a;v[d+12>>2]=0;v[d+8>>2]=0;v[a+12>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a>>2]=520704;b:{if(!Ik(a,d+16|0,0)){break b}g=v[a+12>>2];b=ab(g);f=v[a+4>>2];if(f){e=1;g=kg(b,1,g,f);v[a+8>>2]=0;v[a+12>>2]=0;f=v[a+4>>2];if(f){Fe(f);v[a+4>>2]=0}v[d+12>>2]=b;v[d+8>>2]=g;break b}$a(b)}v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=520704;b=v[a+4>>2];if(b){Fe(b)}Ma=a+16|0;a=0;if(!e){break a}a=ab(12);b=v[d+12>>2];e=v[d+8>>2];t[a+8|0]=1;v[a+4>>2]=e;v[a>>2]=b;v[c>>2]=a;a=1}if(t[d+27|0]<=-1){$a(v[d+16>>2])}Ma=d+32|0;return a|0}function Cha(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Ma-48|0;Ma=c;a:{if(t[1166268]&1){break a}if(!ie(1166268)){break a}wj(1166260,32);he(1166268)}e=c+24|0;f=wj(c+16|0,40);ic(e,f,977361);Xb(a,e,1166260);db(e);db(f);b:{if(v[b+92>>2]>0){while(1){v[c+16>>2]=0;v[c+20>>2]=v[279250];if(!(v[b+116>>2]<=(d|0)&v[b+120>>2]>=(d|0))|!(v[b+140>>2]<=(d|0)&v[b+144>>2]>=(d|0))){break b}e=v[v[b+104>>2]+(d-v[b+108>>2]<<2)>>2];v[c+4>>2]=v[v[b+128>>2]+(d-v[b+132>>2]<<2)>>2];v[c>>2]=e;e=c+16|0;Cd(a,Gd(e,337186,c));db(e);d=d+1|0;if((d|0)>2]){continue}break}}b=a;e=b;d=v[b>>2];if(d){b=v[d+8>>2]-1|0}else{b=-1}dy(e,b,41);Cd(a,1166260);Ma=c+48|0;return}lb(mb(c+24|0,227376,271519,619,306765));L()}function ev(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=Ma-32|0;Ma=d;v[d+16>>2]=13;v[d>>2]=13;ib(a,b,d+16|0,0);a:{if(v[d+16>>2]!=6){break a}a=v[d+24>>2];if(v[a+12>>2]!=4){break a}ub(a,0,d,0);a=0;b=v[d>>2];if(b-1>>>0<=1){g=(b|0)==1?+v[d+8>>2]:A[d+8>>3];a=1}bb(d);ub(v[d+24>>2],1,d,0);b=v[d>>2];if(b-1>>>0<=1){h=(b|0)==1?+v[d+8>>2]:A[d+8>>3];e=a}bb(d);ub(v[d+24>>2],2,d,0);a=0;b=v[d>>2];if(b-1>>>0<=1){i=(b|0)==1?+v[d+8>>2]:A[d+8>>3];a=e}bb(d);ub(v[d+24>>2],3,d,0);b=v[d>>2];if(b-1>>>0>=2){bb(d);e=0;break a}j=v[d+8>>2];f=A[d+8>>3];bb(d);if(!a){e=0;break a}e=1;f=(b|0)==1?+(j|0):f;a=f>3]=a?h:f;b=g>i;A[c+16>>3]=b?g:i;A[c+8>>3]=a?f:h;A[c>>3]=b?i:g}bb(d+16|0);Ma=d+32|0;return e}function DG(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0;i=A[a+24>>3];j=A[a+40>>3];k=i*d+j*e;A[a+40>>3]=k;l=A[a+16>>3];h=l*d;d=A[a+32>>3];e=h+d*e;A[a+32>>3]=e;h=i*b+j*c;A[a+24>>3]=h;b=l*b+d*c;A[a+16>>3]=b;c=l*f+d*g+A[a+48>>3];A[a+48>>3]=c;d=i*f+j*g+A[a+56>>3];A[a+56>>3]=d;f=1e10;a:{if(!(b>1e10)){f=-1e10;if(!(b<-1e10)){break a}}A[a+16>>3]=f}f=1e10;b:{if(!(h>1e10)){f=-1e10;if(!(h<-1e10)){break b}}A[a+24>>3]=f}f=1e10;c:{if(!(e>1e10)){f=-1e10;if(!(e<-1e10)){break c}}A[a+32>>3]=f}f=1e10;d:{if(!(k>1e10)){f=-1e10;if(!(k<-1e10)){break d}}A[a+40>>3]=f}f=1e10;e:{if(!(c>1e10)){f=-1e10;if(!(c<-1e10)){break e}}A[a+48>>3]=f}f=1e10;f:{if(!(d>1e10)){f=-1e10;if(!(d<-1e10)){break f}}A[a+56>>3]=f}}function jNa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;f=v[a+12>>2];if(f){e=v[f+268>>2];c=v[f+264>>2];b=e-c|0;a:{if(!b){break a}b=(b|0)/104|0;d=b>>>0>1?b:1;g=d&7;b=0;if(d-1>>>0>=7){d=d&-8;while(1){v[(B(b,104)+c|0)+100>>2]=1;v[(B(b|1,104)+c|0)+100>>2]=1;v[(B(b|2,104)+c|0)+100>>2]=1;v[(B(b|3,104)+c|0)+100>>2]=1;v[(B(b|4,104)+c|0)+100>>2]=1;v[(B(b|5,104)+c|0)+100>>2]=1;v[(B(b|6,104)+c|0)+100>>2]=1;v[(B(b|7,104)+c|0)+100>>2]=1;b=b+8|0;d=d-8|0;if(d){continue}break}}if(!g){break a}while(1){v[(B(b,104)+c|0)+100>>2]=1;b=b+1|0;g=g-1|0;if(g){continue}break}}if((c|0)!=(e|0)){while(1){Dh(e-28|0);e=e-104|0;if((e|0)!=(c|0)){continue}break}}v[f+268>>2]=c;eb(f+276|0,255,2228224);v[a+12>>2]=0}}function b1(a){a=a|0;var b=0,c=0,d=0,e=0;b=v[a+8>>2];e=a+12|0;if((b|0)!=(e|0)){while(1){d=b;b=v[b+28>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}c=v[d+4>>2];a:{if(!c){b=v[d+8>>2];if((d|0)==v[b>>2]){break a}d=d+8|0;while(1){c=v[d>>2];d=c+8|0;b=v[c+8>>2];if((c|0)!=v[b>>2]){continue}break}break a}while(1){b=c;c=v[b>>2];if(c){continue}break}}if((b|0)!=(e|0)){continue}break}}zw(a+8|0,v[a+12>>2]);v[a+8>>2]=e;v[a+12>>2]=0;v[a+16>>2]=0;b:{if(!v[a+32>>2]|v[a+36>>2]==-1){break b}c=v[a+28>>2];d=v[c>>2];b=v[a+24>>2];v[d+4>>2]=v[b+4>>2];v[v[b+4>>2]>>2]=d;v[a+32>>2]=0;b=a+24|0;if((b|0)==(c|0)){break b}while(1){a=v[c+4>>2];if(t[c+19|0]<=-1){$a(v[c+8>>2])}$a(c);c=a;if((a|0)!=(b|0)){continue}break}}}function C$(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;h=v[(c?16:12)+b>>2];b=v[(c?8:4)+b>>2];f=B(c,7676)+a|0;g=f+7712|0;a:{if((b|0)==v[g>>2]&v[f+7716>>2]==(h|0)){break a}v[g>>2]=b;v[f+48>>2]=h;v[f+44>>2]=b;v[f+7716>>2]=h;if(!v[f+260>>2]){break a}g=0;i=B(c,7676)+a|0;while(1){a=B(g,28)+i|0;c=a;d=xb(v[a+264>>2],b)+h|0;v[a+272>>2]=d;v[a+268>>2]=d;d=xb(v[a+276>>2],b)+h|0;v[a+284>>2]=d;v[a+280>>2]=d;v[a+288>>2]=v[a+288>>2]&-2;if(xb(v[a+264>>2]-v[a+276>>2]|0,b)+48>>>0<=96){d=v[a+268>>2]+32&-64;v[c+272>>2]=d;d=Ub(d,b)-v[a+276>>2]|0;e=d>>31;e=xb(e^d+e,b);e=(e|0)<32?0:e+32&-64;v[a+284>>2]=((d|0)<0?e:0-e|0)+v[c+272>>2];v[a+288>>2]=v[a+288>>2]|1}g=g+1|0;if(g>>>0>2]){continue}break}}}function AR(a){a=a|0;var b=0,c=0;v[a>>2]=972656;b=v[291415];if(!b){b=ab(92);v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=972720;v[b+16>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+32>>2]=0;jd(b+8|0,972920);v[b+60>>2]=0;v[b+52>>2]=0;v[b+56>>2]=0;v[b+44>>2]=0;v[b+48>>2]=0;v[b+36>>2]=0;v[b+40>>2]=0;jd(b+36|0,972920);v[b+88>>2]=0;v[b+80>>2]=0;v[b+84>>2]=0;v[b+72>>2]=0;v[b+76>>2]=0;v[b+64>>2]=0;v[b+68>>2]=0;jd(b- -64|0,972940);v[291415]=b}oy(b,a);bc(a);a:{if(!v[291416]){break a}b=v[291418];c=ab(8);v[c>>2]=a;v[(b?b+4|0:1165672)>>2]=c;v[(b?1165672:1165668)>>2]=c;v[c+4>>2]=0;b=v[291419];v[291419]=b+1;if((b|0)<127){break a}b=v[291417];v[291417]=v[b+4>>2];$a(b);v[291419]=v[291419]-1}$a(a)}function pVa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=v[a+428>>2];t[c+8|0]=w[b+32|0];k=c+8|0;a:{if(!v[b+36>>2]){d=1;break a}l=b+40|0;c=c+9|0;d=1;while(1){b:{c:{f=B(g,5)+l|0;if(w[f+4|0]){if(!h){t[c+1|0]=0;t[c|0]=g;d=d+2|0;i=c+1|0;c=c+2|0}h=1;j=0;e=w[b+32|0];if(e>>>0>5){break b}e=1<>2];if(g>>>0>>0){continue}break}if(j){break a}t[i|0]=e-1}return hd(a,v[b>>2],d,k)|0}function fb(a,b,c,d){var e=0,f=0,g=0,h=0;f=Ma-48|0;Ma=f;a:{b:{if(v[291132]){break b}e=v[291134];if(!e){break b}if(v[e+408>>2]){break a}}v[f+44>>2]=d;e=ab(8);v[e>>2]=0;v[e+4>>2]=0;pg(e,0);t[v[e+4>>2]]=0;d=YG(e,c,d);h=ab(8);c=Qd(h);if(v[d>>2]>=1){while(1){e=w[v[d+4>>2]+g|0];c:{if((e-32&255)>>>0<=94){$b(c,e<<24>>24);break c}v[f+32>>2]=e;Fb(c,313304,f+32|0)}g=g+1|0;if((g|0)>2]){continue}break}}e=v[291132];d:{if(e){Qa[e|0](v[291133],a,b,v[c+4>>2]);break d}$i(v[249421]);e=v[(a<<2)+1082064>>2];a=v[249419];g=v[c+4>>2];e:{if((b|0)>=0){v[f+8>>2]=g;v[f+4>>2]=b;v[f>>2]=e;vb(a,340641,f);break e}v[f+20>>2]=g;v[f+16>>2]=e;vb(a,340574,f+16|0)}$i(a)}$a(Bb(d));Bb(c);$a(h)}Ma=f+48|0}function aHa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=Ma-16|0;Ma=e;c=v[b+72>>2];d=v[a+100>>2];v[e+12>>2]=0;b=Qa[v[b+36>>2]](b)|0;a:{if((b|0)<0|v[a+304>>2]){break a}c=y[c+4>>2]/100|0;c=b>>>0>c>>>0?c:b;d=yb(d,252,0,c,0,e+12|0);v[a+304>>2]=d;if(v[e+12>>2]){break a}v[a+300>>2]=c;if((c|0)<1){break a}b=0;if((c|0)!=1){f=c&67108862;while(1){a=d+B(b,252)|0;v[a+116>>2]=1;v[a+108>>2]=2596864;v[a+112>>2]=7;v[a+180>>2]=3932;v[a+4>>2]=4;a=d+B(b|1,252)|0;v[a+116>>2]=1;v[a+108>>2]=2596864;v[a+112>>2]=7;v[a+180>>2]=3932;v[a+4>>2]=4;b=b+2|0;f=f-2|0;if(f){continue}break}}if(!(c&1)){break a}a=d+B(b,252)|0;v[a+116>>2]=1;v[a+108>>2]=2596864;v[a+112>>2]=7;v[a+180>>2]=3932;v[a+4>>2]=4}Ma=e+16|0}function VJ(a,b,c){var d=0,e=0,f=0;f=Ma-48|0;Ma=f;d=v[a>>2];a:{if(!c){a=f;v[a+40>>2]=0;v[a+44>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;b=b*3.141592653589793/180;e=oe(b);A[a+24>>3]=e;b=_d(b);A[a+8>>3]=b;A[a>>3]=e;A[a+16>>3]=-b;a=Dn(a,d);c=v[a+4>>2];v[d>>2]=v[a>>2];v[d+4>>2]=c;c=v[a+44>>2];v[d+40>>2]=v[a+40>>2];v[d+44>>2]=c;c=v[a+36>>2];v[d+32>>2]=v[a+32>>2];v[d+36>>2]=c;c=v[a+28>>2];v[d+24>>2]=v[a+24>>2];v[d+28>>2]=c;c=v[a+20>>2];v[d+16>>2]=v[a+16>>2];v[d+20>>2]=c;c=v[a+12>>2];v[d+8>>2]=v[a+8>>2];v[d+12>>2]=c;break a}a=f;v[a+40>>2]=0;v[a+44>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;b=b*3.141592653589793/180;e=oe(b);A[a+24>>3]=e;b=_d(b);A[a+8>>3]=b;A[a>>3]=e;A[a+16>>3]=-b;Dn(d,a)}Ma=f+48|0}function B$a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=v[v[a+544>>2]+88>>2];e=v[d+1176>>2]+B(v[d+1168>>2],v[a+572>>2])|0;b=v[a+644>>2];a:{b:{if(w[d+56|0]){if(v[a+588>>2]<=0){break a}while(1){g=w[e|0];if(g>>>0>=y[d+64>>2]){break b}f=B(g,3)+d|0;t[b|0]=w[f+68|0];t[b+1|0]=w[f+69|0];t[b+2|0]=w[f+70|0];t[b+3|0]=g>>>0>2]?w[(d+g|0)+848|0]:255;b=b+4|0;e=e+1|0;c=c+1|0;if((c|0)>2]){continue}break}break a}if(v[a+588>>2]<=0){break a}while(1){c=w[e|0];if(c>>>0>=y[d+64>>2]){break b}c=B(c,3)+d|0;t[b|0]=w[c+68|0];t[b+1|0]=w[c+69|0];c=w[c+70|0];t[b+3|0]=255;t[b+2|0]=c;b=b+4|0;e=e+1|0;f=f+1|0;if((f|0)>2]){continue}break}break a}h=1042;ob(a,1042,0,0)}return h|0}function hS(a,b,c){var d=0,e=0;d=Ma-16|0;Ma=d;e=v[a+200>>2];if(e&1){a:{if(!(!b|!(w[b+9|0]&2))){Db(a,67504);uc(a,c);break a}if(e&4){v[a+200>>2]=e|8}if((c|0)!=7){Db(a,67611);uc(a,c);break a}c=d+9|0;Ye(a,c,7);gc(a,c,7);if(uc(a,0)){break a}t[d+6|0]=w[d+15|0];c=w[d+11|0]|w[d+12|0]<<8|(w[d+13|0]<<16|w[d+14|0]<<24);u[d+2>>1]=c;u[d+4>>1]=c>>>16;c=w[d+9|0]|w[d+10|0]<<8;u[d>>1]=c<<8|c>>>8;b:{if(w[a+201|0]&2|(!a|!b)){break b}c:{if(!((w[d+2|0]-1&255)>>>0>11|(w[d+3|0]-1&255)>>>0>30|(w[d+4|0]>23|w[d+5|0]>59))){if(w[d+6|0]<61){break c}}Db(a,52303);break b}a=x[d+4>>1]|x[d+6>>1]<<16;v[b+60>>2]=x[d>>1]|x[d+2>>1]<<16;v[b+64>>2]=a;v[b+8>>2]=v[b+8>>2]|512}}Ma=d+16|0;return}dc(a,67400);L()}function rya(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=-1;if(!(!a|!c|(!b|!d))){g=v[d>>2];h=(g|0)>0;i=v[b>>2]+a|0;a:{if((g|0)<1){e=c;f=a;break a}e=c;f=a;k=i-1|0;if(f>>>0>=k>>>0){break a}j=c+g|0;g=j;while(1){h=t[e|0];if((h|0)<=-1){t[f|0]=(h&192)>>>6|192;t[f+1|0]=w[e|0]&63|128;f=f+2|0;e=e+1|0}h=i-f|0;g=(h|0)<(g-e|0)?h+e|0:g;b:{if(g>>>0<=e>>>0){break b}while(1){h=t[e|0];if((h|0)<0){break b}t[f|0]=h;f=f+1|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}e=g}h=e>>>0>>0;if(e>>>0>=j>>>0){break a}if(f>>>0>>0){continue}break}}c:{if(!h|f>>>0>=i>>>0){break c}g=t[e|0];if((g|0)<0){break c}t[f|0]=g;f=f+1|0;e=e+1|0}v[b>>2]=f-a;v[d>>2]=e-c;e=v[b>>2]}return e|0}function eV(a,b){var c=0,d=0,e=0,f=0;a:{c=om(v[a+44>>2],b);if(!c){c=v[a+48>>2];if(v[c+8>>2]<=0){return 0}while(1){e=v[v[c>>2]+(f<<2)>>2];c=hn(Hc(ab(8),e),v[b+4>>2]);Wb(c,306505);d=gn(v[c+4>>2],301143);if(d){break a}$a(Bb(c));c=hn(Hc(ab(8),e),v[b+4>>2]);Wb(c,302402);d=gn(v[c+4>>2],301143);if(d){break a}$a(Bb(c));c=hn(Hc(ab(8),e),v[b+4>>2]);Wb(c,272912);d=gn(v[c+4>>2],301143);if(d){break a}$a(Bb(c));c=hn(Hc(ab(8),e),v[b+4>>2]);Wb(c,292119);d=gn(v[c+4>>2],301143);if(d){break a}$a(Bb(c));c=hn(Hc(ab(8),e),v[b+4>>2]);Wb(c,272917);d=gn(v[c+4>>2],301143);if(d){break a}$a(Bb(c));f=f+1|0;c=v[a+48>>2];if((f|0)>2]){continue}break}return 0}return Hc(ab(8),c)}Fe(d);return c}function Bw(a,b,c,d){var e=0,f=0;f=Ma-48|0;Ma=f;e=v[a>>2];a:{if(!d){a=f;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=0;v[a+4>>2]=1072693248;A[a+40>>3]=c;A[a+32>>3]=b;v[a+24>>2]=0;v[a+28>>2]=1072693248;a=Dn(a,e);d=v[a+4>>2];v[e>>2]=v[a>>2];v[e+4>>2]=d;d=v[a+44>>2];v[e+40>>2]=v[a+40>>2];v[e+44>>2]=d;d=v[a+36>>2];v[e+32>>2]=v[a+32>>2];v[e+36>>2]=d;d=v[a+28>>2];v[e+24>>2]=v[a+24>>2];v[e+28>>2]=d;d=v[a+20>>2];v[e+16>>2]=v[a+16>>2];v[e+20>>2]=d;d=v[a+12>>2];v[e+8>>2]=v[a+8>>2];v[e+12>>2]=d;break a}a=f;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=0;v[a+4>>2]=1072693248;A[a+40>>3]=c;A[a+32>>3]=b;v[a+24>>2]=0;v[a+28>>2]=1072693248;Dn(e,a)}Ma=f+48|0}function hma(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;if((b|0)==-1){return 0}h=v[a+8>>2];i=v[a+12>>2];j=a;d=v[a+24>>2];e=v[a+28>>2];a:{if((d|0)!=(e|0)){c=v[a+44>>2]}else{c=-1;if(!(w[a+48|0]&16)){break a}k=v[a+44>>2];f=v[a+20>>2];c=a+32|0;Ap(c,0);_t(c,t[a+43|0]<0?(v[a+40>>2]&2147483647)-1|0:1);e=w[a+43|0];g=e<<24>>24<0;c=g?v[a+32>>2]:c;v[a+20>>2]=c;d=c+(d-f|0)|0;v[a+24>>2]=d;e=c+((g?v[a+36>>2]:e)<<2)|0;v[a+28>>2]=e;c=c+(k-f|0)|0}f=d+4|0;c=c>>>0>f>>>0?c:f;v[j+44>>2]=c;if(w[a+48|0]&8){v[a+16>>2]=c;c=t[a+43|0]<0?v[a+32>>2]:a+32|0;v[a+8>>2]=c;v[a+12>>2]=c+(i-h>>2<<2)}if((d|0)==(e|0)){return Qa[v[v[a>>2]+52>>2]](a,b)|0}v[a+24>>2]=f;v[d>>2]=b;c=b}return c|0}function xB(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=v[a+20>>2];j=v[a+28>>2]-f>>3;h=v[a+4>>2];while(1){e=u[f+8>>1];a=u[f+10>>1];a:{if((a|0)>=1){if(v[b+16>>2]<(h|0)|v[b+8>>2]>(h|0)){break a}g=v[f+12>>2];d=v[b+4>>2];b:{if((e|0)>=(d|0)){d=e;break b}a=(e-d|0)+a|0;if((a|0)<1){break a}g=(d-e|0)+g|0}k=v[b>>2];i=d;l=h;e=v[b+12>>2];if((e|0)<(a+d|0)){a=e-d|0;if((a|0)<0){break a}a=a+1|0}_1(k,i,l,a,c,g);break a}if(v[b+16>>2]<(h|0)|v[b+8>>2]>(h|0)){break a}d=e+(a^-1)|0;i=a?e:d;g=v[b+12>>2];if((i|0)>(g|0)){break a}d=a?d:e;a=v[b+4>>2];if((d|0)<(a|0)){break a}a=(a|0)>(i|0)?a:i;Z1(v[b>>2],a,h,(((d|0)>(g|0)?g:d)-a|0)+1|0,c,w[v[f+12>>2]])}f=f+8|0;j=j-1|0;if(j){continue}break}}function ug(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=a+4|0;a:{a=v[a+4>>2];if(a){while(1){f=a+16|0;d=w[a+27|0];g=d<<24>>24<0;e=w[c+11|0];i=e<<24>>24<0;b:{c:{d:{e:{d=g?v[a+20>>2]:d;e=i?v[c+4>>2]:e;j=d>>>0>>0?d:e;if(j){g=lc(i?v[c>>2]:c,g?v[f>>2]:f,j);if(g){break e}}if(d>>>0>e>>>0){break d}break c}if((g|0)>-1){break c}}f=v[a>>2];if(f){break b}v[b>>2]=a;return a}d=w[c+11|0];g=d<<24>>24<0;e=w[a+27|0];i=e<<24>>24<0;f:{g:{d=g?v[c+4>>2]:d;e=i?v[a+20>>2]:e;j=d>>>0>>0?d:e;if(j){f=lc(i?v[f>>2]:f,g?v[c>>2]:c,j);if(f){break g}}if(d>>>0>e>>>0){break f}break a}if((f|0)>-1){break a}}h=a+4|0;f=v[a+4>>2];if(!f){break a}a=h}h=a;a=f;continue}}v[b>>2]=h;return h}v[b>>2]=a;return h}function b2(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=v[a+20>>2];j=v[a+28>>2]-f>>3;h=v[a+8>>2];while(1){e=u[f+8>>1];a=u[f+10>>1];a:{if((a|0)>=1){if(v[b+16>>2]<(h|0)|v[b+8>>2]>(h|0)){break a}g=v[f+12>>2];d=v[b+4>>2];b:{if((e|0)>=(d|0)){d=e;break b}a=(e-d|0)+a|0;if((a|0)<1){break a}g=(d-e|0)+g|0}k=v[b>>2];i=d;l=h;e=v[b+12>>2];if((e|0)<(a+d|0)){a=e-d|0;if((a|0)<0){break a}a=a+1|0}_1(k,i,l,a,c,g);break a}if(v[b+16>>2]<(h|0)|v[b+8>>2]>(h|0)){break a}d=e+(a^-1)|0;i=a?e:d;g=v[b+12>>2];if((i|0)>(g|0)){break a}d=a?d:e;a=v[b+4>>2];if((d|0)<(a|0)){break a}a=(a|0)>(i|0)?a:i;Z1(v[b>>2],a,h,(((d|0)>(g|0)?g:d)-a|0)+1|0,c,w[v[f+12>>2]])}f=f+8|0;j=j-1|0;if(j){continue}break}}function Rya(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,n=0,o=0,p=0;a:{if((e|0)<1){break a}k=v[a+28>>2];if(!k){break a}j=v[v[a+408>>2]+8>>2];while(1){l=e-1|0;a=d<<2;m=v[a+v[c+12>>2]>>2];n=v[a+v[c+8>>2]>>2];o=v[a+v[c+4>>2]>>2];p=v[a+v[c>>2]>>2];a=v[b>>2];f=0;while(1){g=w[a+2|0];h=w[a+1|0];i=w[a|0];t[f+m|0]=w[a+3|0];g=((g^255)<<2)+j|0;h=((h^255)<<2)+j|0;i=((i^255)<<2)+j|0;t[f+p|0]=v[g+2048>>2]+(v[h+1024>>2]+v[i>>2]|0)>>>16;t[f+o|0]=v[g+5120>>2]+(v[h+4096>>2]+v[i+3072>>2]|0)>>>16;t[f+n|0]=v[g+7168>>2]+(v[h+6144>>2]+v[i+5120>>2]|0)>>>16;a=a+4|0;f=f+1|0;if((k|0)!=(f|0)){continue}break}d=d+1|0;b=b+4|0;a=(e|0)>1;e=l;if(a){continue}break}}}function N8(a,b){a=a|0;b=b|0;var c=0;c=Ma-16|0;Ma=c;if((b|0)==6){a:{if(!Pl(a,86848,7)){wb(v[a+628>>2],86831,10538,0);a=0;break a}b=gb(5264);if(!b){wb(v[a+628>>2],86831,13224,0);a=0;break a}Hf(b,0,5264);u[b+208>>1]=514;t[b+204|0]=1;v[b>>2]=a;v[c>>2]=2;v[c+4>>2]=2;Kc(a,530,c);v[a+652>>2]=497;v[a+520>>2]=498;v[a+516>>2]=499;v[a+556>>2]=500;v[a+548>>2]=500;v[a+540>>2]=500;v[a+584>>2]=b;v[a+572>>2]=501;v[a+560>>2]=502;v[a+552>>2]=502;v[a+544>>2]=502;v[a+536>>2]=503;v[a+532>>2]=504;v[a+524>>2]=505;v[b+160>>2]=v[a+672>>2];v[a+672>>2]=506;v[b+164>>2]=v[a+668>>2];v[a+676>>2]=507;v[a+668>>2]=508;v[a+12>>2]=v[a+12>>2]|131072;a=1}Ma=c+16|0;return a|0}O(3117,7087,397,86831);L()}function pC(a,b){var c=0,d=0,e=0;if(!(v[b>>2]!=v[a>>2]|v[b+4>>2]!=v[a+4>>2])){c=v[b+8>>2];a:{if((c|0)<1){break a}e=c-1|0;b=v[b+12>>2];a=v[a+12>>2];d=c&3;if(d){while(1){v[a+4>>2]=v[b+4>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=v[b+12>>2];b=b+16|0;a=a+16|0;c=c-1|0;d=d-1|0;if(d){continue}break}}if(e>>>0<3){break a}while(1){v[a+4>>2]=v[b+4>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=v[b+12>>2];v[a+20>>2]=v[b+20>>2];v[a+24>>2]=v[b+24>>2];v[a+28>>2]=v[b+28>>2];v[a+36>>2]=v[b+36>>2];v[a+40>>2]=v[b+40>>2];v[a+44>>2]=v[b+44>>2];v[a+52>>2]=v[b+52>>2];v[a+56>>2]=v[b+56>>2];v[a+60>>2]=v[b+60>>2];b=b- -64|0;a=a- -64|0;d=(c|0)>4;c=c-4|0;if(d){continue}break}}return}O(11012,7271,206,189624);L()}function iQ(a,b,c){var d=0,e=0,f=0,g=0;v[a>>2]=986208;v[a+4>>2]=0;f=a;d=v[b>>2];if(d){v[d+4>>2]=v[d+4>>2]+1;d=v[b>>2]}else{d=0}v[f+8>>2]=d;b=v[b>>2];v[a+28>>2]=0;v[a+32>>2]=0;t[a+16|0]=c;v[a+12>>2]=b;v[a+36>>2]=0;v[a+40>>2]=0;while(1){c=0;f=(a+e|0)+2604|0;t[f|0]=0;b=e;d=b&128;if(d){while(1){c=c+1|0;g=b&64;b=b<<1;if(g){continue}break}t[f|0]=c}c=0;b=e|1;f=(b+a|0)+2604|0;t[f|0]=0;if(d){while(1){c=c+1|0;d=b&64;b=b<<1;if(d){continue}break}t[f|0]=c}e=e+2|0;if((e|0)!=256){continue}break}b=0;while(1){e=(b<<2)+a|0;c=B(b,6);v[e+1068>>2]=x[c+986226>>1];v[e+44>>2]=x[c+986224>>1];e=a+b|0;t[e+2348|0]=w[c+986229|0];t[e+2092|0]=w[c+986228|0];b=b+1|0;if((b|0)!=256){continue}break}}function $Sa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Ma-8384|0;Ma=e;if(x[a+26308>>1]){h=e+8372|0;while(1){c=e+5152|0;Qa[v[v[a>>2]>>2]](v[a+4>>2],c,1,3232)|0;b=c;c=e;while(1){d=w[b+1|0];u[c>>1]=w[b|0]<<2|d>>>6;f=d<<4;d=w[b+2|0];u[c+2>>1]=f|d>>>4;f=d<<6;d=w[b+3|0];u[c+4>>1]=f|d>>>2;u[c+6>>1]=w[b+4|0]|d<<8;c=c+8|0;b=b+5|0;if(h>>>0>b>>>0){continue}break}if(x[a+26310>>1]){f=g<<1&14;i=v[a+26028>>2];d=v[a+26352>>2];b=0;while(1){c=x[a+26316>>1];u[((B(x[a+26320>>1],g>>>c|0)+(b>>>c|0)<<3)+d|0)+((i>>>((f|b&1)<<1)&3)<<1)>>1]=x[(b<<1)+e>>1]&1023;b=b+1|0;if(b>>>0>1]){continue}break}}g=g+1|0;if(g>>>0>1]){continue}break}}v[a+26124>>2]=1020;Ma=e+8384|0}function HJ(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;A[a+40>>3]=i;A[a+32>>3]=h;A[a+24>>3]=c;A[a+16>>3]=b;A[a+112>>3]=b;A[a+48>>3]=b;A[a+120>>3]=c;A[a+56>>3]=c;s=a;o=d-b;p=e-c;j=f-d;l=j*j;j=g-e;n=K(o*o+p*p)+K(l+j*j);j=h-f;l=j*j;j=i-g;j=(n+K(l+j*j))*.25*A[a+8>>3]+.5;a:{if(j<4294967296&j>=0){k=~~j>>>0;break a}k=0}k=(k|0)>4?k:4;v[s>>2]=k;j=1/+(k|0);q=j*j;r=(e-g)*3-c+i;i=j*q;m=i*6;n=r*m;A[a+104>>3]=n;h=(d-f)*3-b+h;m=h*m;A[a+96>>3]=m;l=h*i;h=j*3;b=b-(d+d)+f;d=q*3;f=l+(o*h+b*d);A[a+128>>3]=f;A[a+64>>3]=f;c=c-(e+e)+g;d=r*i+(p*h+c*d);A[a+136>>3]=d;A[a+72>>3]=d;d=b;b=q*6;d=d*b+m;A[a+144>>3]=d;A[a+80>>3]=d;b=c*b+n;A[a+152>>3]=b;A[a+88>>3]=b;v[a+4>>2]=k}function Db(a,b){a=a|0;b=b|0;var c=0,d=0;d=Ma-32|0;Ma=d;a:{b:{if(a){if(w[b|0]!=35){break b}c=1;if(w[b+1|0]==32){break b}c=2;if(w[b+2|0]==32){break b}c=3;if(w[b+3|0]==32){break b}c=4;if(w[b+4|0]==32){break b}c=5;if(w[b+5|0]==32){break b}c=6;if(w[b+6|0]==32){break b}c=7;if(w[b+7|0]==32){break b}c=8;if(w[b+8|0]==32){break b}c=9;if(w[b+9|0]==32){break b}c=10;if(w[b+10|0]==32){break b}c=11;if(w[b+11|0]==32){break b}c=12;if(w[b+12|0]==32){break b}c=13;if(w[b+13|0]==32){break b}c=w[b+14|0]==32?14:15;break b}v[d>>2]=b;a=v[249419];vb(a,15611,d);Ee(10,a);break a}b=b+c|0;c=v[a+164>>2];if(!c){v[d+16>>2]=b;a=v[249419];vb(a,15611,d+16|0);Ee(10,a);break a}Qa[c|0](a,b)}Ma=d+32|0}function Ay(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=v[a+84>>2];c=(c|0)<0?(d|0)>0?d-b|0:c:c;e=v[a+16>>2];a:{if(!e){d=a;break a}while(1){d=e;e=v[d+84>>2];b=v[a+80>>2]+b|0;c=(c|0)<0?(e|0)>0?e-b|0:c:c;a=d;e=v[d+16>>2];if(e){continue}break}}if(bg(d+20|0)){return v[d+84>>2]>=(v[d+80>>2]+(b+c|0)|0)}if((c|0)<=-1){return w[d+8|0]!=0}a=v[v[d+72>>2]+12>>2];b:{if(!a){break b}g=b+c|0;d=0;while(1){if((d|0)>=(g|0)){break b}h=v[a+8>>2];e=h>>31;i=e^e+h;e=d;d=i+d|0;c:{if((h|0)<1){break c}if((b|0)>(e|0)){if(!((b|0)>(d|0)|(d|0)>=(g|0))){f=(f-b|0)+d|0;break c}f=((d|0)<(g|0)?0:c)+f|0;break c}if((d|0)<=(g|0)){f=f+i|0;break c}f=(f+g|0)-e|0}a=v[a>>2];if(a){continue}break}}return(c|0)==(f|0)}function wh(a,b,c){var d=0,e=0;d=Ma+-64|0;Ma=d;xh(d,879336,b);b=kc(d,879388);v[d+24>>2]=v[b+8>>2];e=v[b+4>>2];v[d+16>>2]=v[b>>2];v[d+20>>2]=e;v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;b=w[c+11|0];e=b<<24>>24<0;b=bd(d+16|0,e?v[c>>2]:c,e?v[c+4>>2]:b);v[d+40>>2]=v[b+8>>2];c=v[b+4>>2];v[d+32>>2]=v[b>>2];v[d+36>>2]=c;v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;b=kc(d+32|0,879352);v[d+56>>2]=v[b+8>>2];c=v[b+4>>2];v[d+48>>2]=v[b>>2];v[d+52>>2]=c;v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;c=a;a=w[d+59|0];b=a<<24>>24<0;bd(c,b?v[d+48>>2]:d+48|0,b?v[d+52>>2]:a);if(t[d+59|0]<=-1){$a(v[d+48>>2])}if(t[d+43|0]<=-1){$a(v[d+32>>2])}if(t[d+27|0]<=-1){$a(v[d+16>>2])}if(t[d+11|0]<=-1){$a(v[d>>2])}Ma=d- -64|0}function Ke(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=Ma-16|0;Ma=e;a:{if(!(w[a+12|0]&128)){break a}b:{switch(x[b+2>>1]-3|0){case 0:case 5:mr(c,v[b+4>>2]);break a;case 1:case 6:case 8:Vn(c,v[b+4>>2]);break a;case 2:case 7:Vn(c,v[b+4>>2]<<1);break a;case 9:break b;default:break a}}TC(c,v[b+4>>2])}v[b+8>>2]=v[a+488>>2];f=v[b+4>>2];d=x[b+2>>1];if(d>>>0<=13){d=v[(d<<2)+81924>>2]}else{d=0}c:{d:{if((Qa[v[a+640>>2]](v[a+628>>2],v[b+8>>2],0)|0)!=v[b+8>>2]){break d}g=c;c=B(d,f);if((Qa[v[a+636>>2]](v[a+628>>2],g,c)|0)!=(c|0)){break d}h=1;v[a+488>>2]=v[a+488>>2]+(c+1&-2);break c}c=v[a>>2];d=v[a+628>>2];i=e,j=v[Pe(a,x[b>>1])+16>>2],v[i>>2]=j;wb(d,c,30845,e)}Ma=e+16|0;return h}function C9(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;g=Ma-16|0;Ma=g;if((c|0)>=1){a=v[a+12>>2];while(1){WM(v[a>>2],g+4|0);d=+z[g+4>>2];j=+z[g+8>>2];l=d*.061+j*-.224;k=+z[g+12>>2];m=k*1.163;i=b;h=d*2.69+j*-1.276+k*-.414;if(h<=0){e=0}else{e=h>=1;h=K(h)*256;a:{if(D(h)<2147483648){f=~~h;break a}f=-2147483648}e=e?-1:f}t[i|0]=e;i=b;d=j*1.978+d*-1.022+k*.044;if(d<=0){e=0}else{e=d>=1;d=K(d)*256;b:{if(D(d)<2147483648){f=~~d;break b}f=-2147483648}e=e?-1:f}t[i+1|0]=e;a=a+4|0;i=b;d=l+m;if(d<=0){e=0}else{e=d>=1;d=K(d)*256;c:{if(D(d)<2147483648){f=~~d;break c}f=-2147483648}e=e?-1:f}t[i+2|0]=e;b=b+3|0;e=(c|0)>1;c=c-1|0;if(e){continue}break}}Ma=g+16|0}function Mk(a,b,c){var d=0;d=Ma-48|0;Ma=d;a=v[a>>2];a:{if(!c){b=v[b>>2];c=v[b+44>>2];v[d+40>>2]=v[b+40>>2];v[d+44>>2]=c;c=v[b+36>>2];v[d+32>>2]=v[b+32>>2];v[d+36>>2]=c;c=v[b+28>>2];v[d+24>>2]=v[b+24>>2];v[d+28>>2]=c;c=v[b+20>>2];v[d+16>>2]=v[b+16>>2];v[d+20>>2]=c;c=v[b+12>>2];v[d+8>>2]=v[b+8>>2];v[d+12>>2]=c;c=v[b+4>>2];v[d>>2]=v[b>>2];v[d+4>>2]=c;b=Dn(d,a);c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;c=v[b+44>>2];v[a+40>>2]=v[b+40>>2];v[a+44>>2]=c;c=v[b+36>>2];v[a+32>>2]=v[b+32>>2];v[a+36>>2]=c;c=v[b+28>>2];v[a+24>>2]=v[b+24>>2];v[a+28>>2]=c;c=v[b+20>>2];v[a+16>>2]=v[b+16>>2];v[a+20>>2]=c;c=v[b+12>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=c;break a}Dn(a,v[b>>2])}Ma=d+48|0}function Xha(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(a){c=v[a>>2];if(c){e=v[c+668>>2];f=v[c+676>>2];b:{if(!b){break b}d=v[b>>2];if(!d){break b}ro(c,d,32767,-1);if(v[c+644>>2]){Tb(c,v[c+648>>2]);v[c+644>>2]=0}gq(d,f,e);v[b>>2]=0}b=Ma-160|0;Ma=b;if(v[c+276>>2]){nn(c+212|0)}Tb(c,v[c+268>>2]);Tb(c,v[c+356>>2]);Tb(c,v[c+352>>2]);Tb(c,v[c+360>>2]);Tb(c,v[c+364>>2]);Tb(c,v[c+368>>2]);Tb(c,v[c+372>>2]);b=cb(b,c,156);d=v[c+164>>2];g=v[c+160>>2];h=v[c+168>>2];i=v[c+676>>2];eb(c+156|0,0,612);v[c+676>>2]=i;v[c+168>>2]=h;v[c+160>>2]=g;v[c+164>>2]=d;cb(c,b,156);Ma=b+160|0;gq(c,f,e);v[a>>2]=0;return}}if(!b){break a}a=v[b>>2];if(!a){break a}gq(a,0,0);v[b>>2]=0}}function nX(a){var b=0,c=0;a:{c=v[a+36>>2];b=v[c+16>>2];b:{if(w[b|0]!=118|w[b+1|0]!=101|(w[b+2|0]!=114|w[b+3|0]!=115)){break b}if(w[b+4|0]!=105|w[b+5|0]!=111|w[b+6|0]!=110){break b}v[a+200>>2]=v[a+200>>2]+7;v[c+16>>2]=b+7;v[c+32>>2]=v[c+32>>2]+7;b=w[b+7|0];if((b|0)==37){zc(a);c=v[a+36>>2];b=w[v[c+16>>2]]}c:{if(b){break c}if((Zb(c)|0)>0){break c}xc(a)}Fc(a);if(w[v[v[a+36>>2]+16>>2]]!=61){Md(a,75,0);return 0}Bc(a);Fc(a);d:{switch(w[v[v[a+36>>2]+16>>2]]-34|0){case 0:Bc(a);b=fX(a);if(w[v[v[a+36>>2]+16>>2]]!=34){break a}Bc(a);return b;case 5:Bc(a);b=fX(a);if(w[v[v[a+36>>2]+16>>2]]!=39){break a}Bc(a);return b;default:break d}}Md(a,33,0)}return 0}Md(a,34,0);return b}function YPa(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,j=0;a:{if(c){v[a+500>>2]=1;b=1;if(!v[a+16>>2]|!v[a+20>>2]){break a}Tq(a);g=v[a+20>>2];b=v[a+12>>2];i=A[e>>3];j=A[f>>3];a=Ma+-64|0;Ma=a;v[a+60>>2]=d;if(b){v[a+48>>2]=0;v[a+52>>2]=1072693248;v[a+40>>2]=0;v[a+44>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;v[a+24>>2]=0;v[a+28>>2]=1072693248;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;d=a+48|0;e=a+40|0;Qa[v[v[b>>2]+120>>2]](b,d,e,a+32|0,a+24|0,a+16|0,a+8|0)|0;z[a+48>>2]=i;z[a+40>>2]=j;Qa[v[v[b>>2]+88>>2]](b,c,a+60|0,d,e)|0;Qa[v[v[b>>2]+128>>2]](b,g)|0}Ma=a- -64|0;return 0}v[a+500>>2]=0;b=Qa[v[v[a>>2]+344>>2]](a,b,e,f,g,h)|0}return b|0}function WU(a){a=a|0;var b=0;v[a>>2]=927336;VU(a);bb(a+8|0);b=v[a+76>>2];if(b){$a($U(b))}b=v[a+80>>2];if(b){$a(mc(b))}b=v[a+84>>2];if(b){$a(mc(b))}b=v[a+88>>2];if(b){$a(mc(b))}b=v[a+92>>2];if(b){$a(mc(b))}b=v[a+96>>2];if(b){$a(mc(b))}b=v[a+100>>2];if(b){$a(mc(b))}b=v[a+104>>2];if(b){$a(mc(b))}b=v[a+108>>2];if(b){$a(mc(b))}b=v[a+112>>2];if(b){$a(mc(b))}b=v[a+116>>2];if(b){$a(mc(b))}b=v[a+120>>2];if(b){$a(mc(b))}b=v[a+124>>2];if(b){$a(mc(b))}b=v[a+128>>2];if(b){$a(mc(b))}b=v[a+132>>2];if(b){$a(mc(b))}b=v[a+136>>2];if(b){$a(mc(b))}b=v[a+140>>2];if(b){$a(mc(b))}b=v[a+144>>2];if(b){$a(b)}b=v[a+148>>2];if(b){$a(b)}b=v[a+4>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}return a|0}function IL(a,b,c,d){var e=0,f=0,g=0,h=0;g=Ma-128|0;Ma=g;a:{if((c|0)>=0){a=v[b>>2];if(!a){e=b;break a}while(1){v[(f<<2)+g>>2]=b;f=f+1|0;e=a;b=a;a=v[a>>2];if(a){continue}break}break a}O(19230,7271,339,189681);L()}a=0;b:{while(1){b=v[e+8>>2];if((b|0)<(a|0)){v[e+8>>2]=a;b=a}c:{if((b|0)>=(c|0)){break c}while(1){if(v[e+4>>2]<=(b|0)){break c}d:{if(t[d+16|0]&1){a=v[d+8>>2];h=a-1|0;v[d+8>>2]=h;if((a|0)>=1){a=v[d+4>>2]>>>h&1;break d}a=zf(d);if((a|0)>=0){break d}a=-1;break b}O(23455,7271,357,189681);L()}e:{if(a){v[e+4>>2]=b;break e}b=b+1|0}if((b|0)<(c|0)){continue}break}}v[e+8>>2]=b;if(f){f=f-1|0;e=v[(f<<2)+g>>2];a=b;continue}break}a=v[e+4>>2]<(c|0)}Ma=g+128|0;return a}function vp(a,b,c){var d=0,e=C(0),f=0,g=0,h=0,i=0,j=0,k=0;h=Ma-16|0;Ma=h;i=gb(v[b+4>>2]<<3);a:{if(i){if(v[b+4>>2]){while(1){g=1;e=z[(j<<2)+c>>2];b:{if(e>1]==5){d=v[a>>2];f=v[a+628>>2];k=v[Pe(a,x[b>>1])+16>>2];A[h+8>>3]=e;v[h>>2]=k;Nc(f,d,33541,h);e=C(0);f=1;break b}g=-1;e=C(-e)}d=1;f=d;if(!(e>C(0))|!(e>>0<33554432;d=f;if(k){continue}}break}}d=f;f=(j<<3)+i|0;v[f+4>>2]=d;g=g*(+e+.5);d:{if(g<4294967296&g>=0){d=~~g>>>0;break d}d=0}v[f>>2]=d;j=j+1|0;if(j>>>0>2]){continue}break}}d=Ke(a,b,i);$a(i);break a}wb(v[a+628>>2],v[a>>2],31244,0)}Ma=h+16|0;return d}function rS(a,b,c){var d=0,e=0,f=0;d=Ma-16|0;Ma=d;e=v[a+200>>2];if(e&1){a:{if(e&4){Db(a,65175);uc(a,c);break a}if(!(!b|!(t[b+9|0]&1))){Db(a,65199);uc(a,c);break a}if((c|0)!=9){Db(a,65330);uc(a,c);break a}c=d+7|0;Ye(a,c,9);gc(a,c,9);if(uc(a,0)){break a}c=w[d+7|0];b:{if(c&128){e=0-(0-(w[d+10|0]|(c<<24|w[d+8|0]<<16|w[d+9|0]<<8))&2147483647)|0;break b}e=w[d+10|0]|(w[d+8|0]<<16|c<<24|w[d+9|0]<<8)}c=w[d+11|0];c:{if(c&128){c=0-(0-(w[d+14|0]|(c<<24|w[d+12|0]<<16|w[d+13|0]<<8))&2147483647)|0;break c}c=w[d+14|0]|(w[d+12|0]<<16|c<<24|w[d+13|0]<<8)}f=w[d+15|0];if(!(!a|!b)){t[b+108|0]=f;v[b+104>>2]=c;v[b+100>>2]=e;v[b+8>>2]=v[b+8>>2]|256}}Ma=d+16|0;return}dc(a,65029);L()}function lh(a,b){var c=0,d=0,e=0,f=0;f=Ma-16|0;Ma=f;a:{b:{c:{if(a){if(!b){break a}c=v[a+80>>2];if(!c){break c}while(1){if(v[b>>2]-1>>>0>=4){break b}d=b;b=v[b+16>>2];e=v[d+12>>2];if(e){lh(a,e)}e=v[d+8>>2];d:{if(!e){break d}if(_j(c,e)){break d}Qa[v[256556]](v[d+8>>2])}e=v[d+24>>2];e:{if(!e){break e}if(_j(c,e)){break e}Qa[v[256556]](v[d+24>>2])}Qa[v[256556]](d);if(b){continue}break}break a}if(!b){break a}}while(1){if(v[b>>2]-1>>>0>3){break b}d=v[b+16>>2];c=v[b+12>>2];if(c){lh(a,c)}c=v[b+8>>2];if(c){Qa[v[256556]](c)}c=v[b+24>>2];if(c){Qa[v[256556]](c)}Qa[v[256556]](b);b=d;if(b){continue}break}break a}v[f>>2]=343001;nb(0,0,0,0,0,23,1,2,0,0,0,0,237230,f)}Ma=f+16|0}function r9(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;if((c|0)>=1){g=v[a+12>>2];while(1){i=c;j=v[a+4>>2];f=+z[b+4>>2];c=1023;a:{if(f>=15.742){break a}c=0;if(f<=24283e-8){break a}e=(Kr(f)*1.4426950408889634+12)*64;if(j){c=x3a(v[296254],v[296255],1284865837,1481765933)+1|0;d=Pa;d=c>>>0<1?d+1|0:d;v[296254]=c;v[296255]=d;f=+z[b+4>>2];e=e+ +(d>>>1|0)*4.656612875245797e-10+-.5}if(D(e)<2147483648){c=~~e;break a}c=-2147483648}d=c;e=.473684211;k=.210526316;b:{if(!d){break b}l=+z[b>>2];h=f*15+l+ +z[b+8>>2]*3;if(h<=0){break b}e=f*9/h;k=l*4/h}c=i-1|0;m=d<<14;d=XM(k,e,j);v[g>>2]=m|((d|0)<0?12266:d);b=b+12|0;g=g+4|0;if((i|0)>1){continue}break}}}function UI(a,b){var c=0,d=0,e=0,f=0,g=0;c=v[a>>2];if(c>>>0>>0){while(1){e=c+1|0;a:{b:{c:{d:{e:{f:{f=w[c|0];switch(f-40|0){case 1:break d;case 0:break e;default:break f}}d=e;if((f|0)!=92){break a}if((b|0)==(e|0)){v[a>>2]=b;return 3}g:{f=w[e|0];switch(f-40|0){case 0:case 1:case 52:case 58:case 62:case 70:case 74:case 76:break c;default:break g}}if(b>>>0<=e>>>0){break a}if((f&248)!=48){break a}d=c+2|0;if(d>>>0>=b>>>0){break a}if((w[d|0]&248)==48){break b}break a}g=g+1|0;d=e;break a}d=e;g=g-1|0;if(g){break a}v[a>>2]=e;return 0}d=c+2|0;break a}d=c+3|0;if(d>>>0>=b>>>0){break a}d=(w[c+3|0]&248)==48?c+4|0:d}c=d;if(c>>>0>>0){continue}break}}v[a>>2]=c;return 3}function z_a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=v[v[a+536>>2]+88>>2];e=(v[c+1176>>2]+B(v[c+1168>>2],v[a+572>>2])|0)+B(v[c+1164>>2],v[a+580>>2])|0;c=v[a+644>>2];a:{b:{switch(w[a+2253|0]-2|0){case 0:if(v[a+588>>2]<=0){break a}while(1){b=e+2|0;d=w[b|0]|w[b+1|0]<<8;g=(d<<8|d>>>8)&65535;d=w[c|0]|w[c+1|0]<<8;d=g+((d<<8|d>>>8)&65535)&65535;d=d<<8|d>>>8;t[b|0]=d;t[b+1|0]=d>>>8;c=c+2|0;e=e+4|0;f=f+1|0;if((f|0)>2]){continue}break};break a;case 3:break b;default:break a}}if(v[a+588>>2]<1){break a}while(1){b=w[c|0]|w[c+1|0]<<8;b=(b<<8|b>>>8)&65535;b=b<<8|b>>>8;t[e+2|0]=b;t[e+3|0]=b>>>8;c=c+2|0;e=e+4|0;f=f+1|0;if((f|0)>2]){continue}break}}return 0}function t_a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=v[v[a+536>>2]+88>>2];e=(v[c+1176>>2]+B(v[c+1168>>2],v[a+572>>2])|0)+B(v[c+1164>>2],v[a+580>>2])|0;c=v[a+644>>2];a:{b:{switch(w[a+2253|0]-2|0){case 0:if(v[a+588>>2]<=0){break a}while(1){b=e+6|0;d=w[b|0]|w[b+1|0]<<8;g=(d<<8|d>>>8)&65535;d=w[c|0]|w[c+1|0]<<8;d=g+((d<<8|d>>>8)&65535)&65535;d=d<<8|d>>>8;t[b|0]=d;t[b+1|0]=d>>>8;c=c+2|0;e=e+8|0;f=f+1|0;if((f|0)>2]){continue}break};break a;case 3:break b;default:break a}}if(v[a+588>>2]<1){break a}while(1){b=w[c|0]|w[c+1|0]<<8;b=(b<<8|b>>>8)&65535;b=b<<8|b>>>8;t[e+6|0]=b;t[e+7|0]=b>>>8;c=c+2|0;e=e+8|0;f=f+1|0;if((f|0)>2]){continue}break}}return 0}function qQ(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=Ma-32|0;Ma=f;g=v[a+116>>2];d=g+1|0;Ur(a+96|0,d);a:{if(v[a+116>>2]<=(g|0)|v[a+112>>2]>(d|0)){break a}v[v[a+100>>2]+(d-v[a+104>>2]<<2)>>2]=b;e=v[a+88>>2];b:{if((e|0)<=(b|0)){h=v[a+92>>2];if((h|0)>=(b|0)){break b}}Ur(a+72|0,b);h=v[a+92>>2];e=v[a+88>>2]}if((b|0)<(e|0)|(b|0)>(h|0)){break a}v[v[a+76>>2]+(b-v[a+80>>2]<<2)>>2]=d;b=v[a+136>>2];c:{if((d|0)>=(b|0)){e=v[a+140>>2];if((g|0)<(e|0)){break c}}Ur(a+120|0,d);e=v[a+140>>2];b=v[a+136>>2]}if(!((e|0)<=(g|0)|(b|0)>(d|0))){rQ(v[a+124>>2]+(d-v[a+128>>2]<<4)|0,v[c+4>>2]);Ma=f+32|0;return}lb(mb(f+8|0,227376,271519,619,306979));L()}lb(mb(f+8|0,227376,271519,619,306765));L()}function hJ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=v[a+760>>2];a:{if(h>>>0>b>>>0){g=v[a+764>>2];b:{if(x[a+210>>1]){e=g+(b<<2)|0;d=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24);f=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=e+8|0;e=f;if(d>>>0>g+(h<<2)>>>0){break b}d=d-4|0;d=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);e=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);break b}f=g+(b<<1)|0;e=w[f|0]<<8|w[f+1|0];d=e;f=f+4|0;if(f>>>0<=g+(h<<1)>>>0){d=f-2|0;d=w[d|0]<<8|w[d+1|0]}f=e<<1;e=d<<1}d=e;g=0;e=v[a+724>>2];if(e>>>0>>0){v[c>>2]=0;return 0}if(d>>>0>e>>>0){d=e;a=0;if((h-2|0)!=(b|0)){break a}}a=d>>>0>>0?e:d}else{a=0}g=a-f|0;a=f}v[c>>2]=g;return a|0}function RX(a){var b=0,c=0,d=0,e=0,f=0;e=Ma-16|0;Ma=e;b=Qa[v[256552]](60)|0;a:{if(!b){v[e>>2]=225270;nb(0,0,0,0,0,2,2,3,225270,0,0,0,340689,e);b=0;break a}v[b>>2]=0;v[b+4>>2]=0;c=b+8|0;v[c>>2]=0;v[c+4>>2]=0;v[b+56>>2]=0;v[b+48>>2]=0;v[b+52>>2]=0;v[b+40>>2]=0;v[b+44>>2]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+4>>2]=3;v[b+8>>2]=874220;if(a){c=a;while(1){d=c;c=d+1|0;if(w[d|0]){continue}break}c=0;d=d-a|0;b:{if((d|0)<0){break b}f=Qa[v[256555]](d+1|0)|0;if(!f){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break b}c=cb(f,a,d);t[d+c|0]=0}v[b+40>>2]=c}if(!v[291069]){break a}a=v[291066];if(!a){break a}Qa[a|0](b)}Ma=e+16|0;return b}function Efa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Ma-48|0;Ma=d;a:{if(!v[a+36>>2]){v[d+16>>2]=0;v[d+20>>2]=v[279250];e=d+16|0;Ad(b,e,0);if(Hb(e,316735,-1)){break a}b:{if((c|0)<=0){break b}while(1){if(!Ad(b,d+16|0,0)){break b}e=c;c:{if(Hb(d+16|0,316740,-1)){break c}v[d+8>>2]=0;c=d+8|0;qb(c,b);Qa[v[v[a>>2]+40>>2]](a,c)|0;c=v[d+8>>2];v[d+8>>2]=0;if(!c){break c}f=v[c+4>>2]-1|0;v[c+4>>2]=f;if(f){break c}f=v[c+4>>2];if(!f){v[c+4>>2]=-32767}if(!f){Qa[v[v[c>>2]+4>>2]](c)}}c=e-1|0;Od(b);if((e|0)>1){continue}break}}Od(b);Qa[v[v[a>>2]+48>>2]](a);db(d+16|0);Ma=d+48|0;return}lb(mb(d+24|0,319633,241950,1569,329217));L()}lb(mb(d+24|0,316711,241950,1573,329217));L()}function gua(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=ab(1048);b=v[a+4>>2];v[d+8>>2]=b;v[d>>2]=886680;v[d+4>>2]=b;a:{if((b|0)<1){break a}e=b&3;a=0;if(b-1>>>0>=3){g=b&-4;while(1){b=a<<4;f=d+16|0;c=b+f|0;v[c+8>>2]=0;v[c+12>>2]=1072693248;v[c>>2]=0;v[c+4>>2]=0;c=f+(b|16)|0;v[c+8>>2]=0;v[c+12>>2]=1072693248;v[c>>2]=0;v[c+4>>2]=0;c=f+(b|32)|0;v[c+8>>2]=0;v[c+12>>2]=1072693248;v[c>>2]=0;v[c+4>>2]=0;b=f+(b|48)|0;v[b+8>>2]=0;v[b+12>>2]=1072693248;v[b>>2]=0;v[b+4>>2]=0;a=a+4|0;g=g-4|0;if(g){continue}break}}if(!e){break a}while(1){b=(a<<4)+d|0;v[b+24>>2]=0;v[b+28>>2]=1072693248;v[b+16>>2]=0;v[b+20>>2]=0;a=a+1|0;e=e-1|0;if(e){continue}break}}v[d+1040>>2]=0;return d|0}function Gq(a){var b=0,c=0,d=0,e=0;c=v[a+420>>2];a:{if(!c){break a}b=v[a+412>>2];if((b|0)<1){break a}b=B(b,24)+c|0;d=w[a+372|0];while(1){if(!(!w[c+16|0]|(d|0)!=w[c+12|0])){b=v[a+432>>2];if((b|0)>=v[a+436>>2]){v[a+12>>2]=130;return}v[a+432>>2]=b+1;b=v[a+440>>2]+(b<<4)|0;v[b>>2]=v[a+356>>2];d=v[a+364>>2];v[b+12>>2]=c;v[b+8>>2]=1;v[b+4>>2]=d+1;d=v[c>>2];b=d-1|0;b:{if(b>>>0>=3){v[a+12>>2]=132;break b}e=v[((b<<3)+a|0)+448>>2];if(!e){v[a+12>>2]=138;break b}b=v[((b<<3)+a|0)+452>>2];c=v[c+4>>2];if((b|0)<(c|0)){v[a+12>>2]=131;break b}v[a+368>>2]=b;v[a+360>>2]=e;v[a+364>>2]=c;v[a+356>>2]=d}t[a+380|0]=0;return}c=c+24|0;if(b>>>0>c>>>0){continue}break}}v[a+12>>2]=128}function YB(a,b,c,d){var e=0,f=0,g=0;if(!w[a+3748|0]){while(1){e=g>>>1|0;e=g&1?e^-306674912:e;f=e>>>1|0;e=e&1?f^-306674912:f;f=e>>>1|0;e=e&1?f^-306674912:f;f=e>>>1|0;e=e&1?f^-306674912:f;f=e>>>1|0;e=e&1?f^-306674912:f;f=e>>>1|0;e=e&1?f^-306674912:f;f=e>>>1|0;e=e&1?f^-306674912:f;f=e>>>1|0;v[((g<<2)+a|0)+2724>>2]=e&1?f^-306674912:f;g=g+1|0;if((g|0)!=256){continue}break}t[a+3748|0]=1}a:{if((d|0)<1){break a}f=d&1;b:{if((d|0)==1){g=0;break b}d=d&-2;g=0;e=a+2724|0;while(1){b=v[e+((w[c+g|0]^b&255)<<2)>>2]^b>>>8;b=v[e+((w[(g|1)+c|0]^b&255)<<2)>>2]^b>>>8;g=g+2|0;d=d-2|0;if(d){continue}break}}if(!f){break a}b=v[(((w[c+g|0]^b&255)<<2)+a|0)+2724>>2]^b>>>8}return b}function Cd(a,b){var c=0,d=0;c=Ma-32|0;Ma=c;v[c+24>>2]=0;v[c+28>>2]=0;v[c+20>>2]=0;v[c+16>>2]=978704;QQ(c+8|0,c+16|0,a,b);v[c+16>>2]=978608;b=v[c+28>>2];if(b){t[b|0]=0;$a(v[c+28>>2])}v[c+28>>2]=0;bc(c+16|0);b=v[c+8>>2];a:{if(b){Qa[v[v[b>>2]+28>>2]](c+16|0,b,1);break a}v[c+16>>2]=0}jb(a,c+16|0);b=v[c+16>>2];v[c+16>>2]=0;b:{if(!b){break b}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break b}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}b=v[a>>2];v[a+4>>2]=v[(b?b+12|0:1117e3)>>2];b=v[c+8>>2];v[c+8>>2]=0;c:{if(!b){break c}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break c}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}Ma=c+32|0;return a}function foa(a){a=a|0;var b=0,c=0;v[a+32780>>2]=0;v[a+32784>>2]=0;v[a+34084>>2]=0;v[a+34092>>2]=1;v[a+34096>>2]=1;b=a+32788|0;v[b>>2]=0;v[b+4>>2]=0;b=v[a+4>>2];Qa[v[v[b>>2]+20>>2]](b);b=v[a+8>>2];if(b){eb(v[b+32>>2],0,v[b+28>>2]);v[b+36>>2]=v[b+28>>2]}v[a+34092>>2]=1;v[a+34096>>2]=1;b=v[a+4>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;c=v[a+4>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;v[a+34112>>2]=0;v[a+34116>>2]=0;v[a+34104>>2]=2;v[a+34108>>2]=0;if(!((b|0)==-1|(c|0)==-1)){if((b&15)!=8){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,257052,0);return}if((c+(b<<8)|0)%31|0){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,257130,0);return}if(c&32){fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,256865,0);return}v[a+34096>>2]=0}}function f1(a){var b=0;v[a+4>>2]=1;v[a>>2]=353612;v[a>>2]=360688;b=a+16|0;v[b+8>>2]=0;v[b+12>>2]=0;v[b+88>>2]=-1;v[b+80>>2]=0;v[b+84>>2]=0;v[b+24>>2]=0;v[b+28>>2]=1072693248;v[b>>2]=0;v[b+4>>2]=0;v[b+72>>2]=0;v[b+76>>2]=1072693248;v[b+16>>2]=0;v[b+20>>2]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+40>>2]=0;v[b+44>>2]=0;v[b+48>>2]=0;v[b+52>>2]=1072693248;v[b+56>>2]=0;v[b+60>>2]=0;b=b- -64|0;v[b>>2]=0;v[b+4>>2]=0;v[a+120>>2]=0;v[a+112>>2]=0;v[a+116>>2]=0;v[a+8>>2]=0;x0(a+8|0);v[a+164>>2]=0;v[a+168>>2]=0;v[a+12>>2]=0;v[a+156>>2]=40968;v[a+160>>2]=0;v[a+136>>2]=0;v[a+140>>2]=0;v[a+144>>2]=0;v[a+128>>2]=0;v[a+132>>2]=0;v[a+124>>2]=0;v[a+148>>2]=0;v[a+152>>2]=0;return a}function dta(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,p=0,q=0,r=0,s=0;c=v[a+28>>2];e=v[c+596>>2];if(!(v[e+28>>2]>0|v[e>>2])){b=-1;a=v[a+108>>2];a:{if(!a){break a}a=v[a+4>>2];if(v[a+8>>2]==13){break a}a=v[a+16>>2];b=Qa[v[v[a>>2]+52>>2]](a)|0}fb(1,b,243340,0);return}g=A[b+24>>3];a=v[b+24>>2];h=A[b+40>>3];i=v[b+40>>2];j=A[b+56>>3];k=v[b+56>>2];d=A[b+72>>3];l=v[b+72>>2];m=A[b+8>>3];n=v[b+8>>2];o=v[b>>2];p=v[b+16>>2];q=v[b+32>>2];r=v[b+48>>2];s=v[b+64>>2];f=v[b+80>>2]==1?+v[b+88>>2]:A[b+88>>3];A[c+608>>3]=f;d=(s|0)==1?+(l|0):d;A[c+600>>3]=d;ol(e,(o|0)==1?+(n|0):m,(p|0)==1?+(a|0):g,(q|0)==1?+(i|0):h,(r|0)==1?+(k|0):j,d,f)}function Xr(a){var b=0,c=0;c=Ma-32|0;Ma=c;v[a>>2]=972656;v[a+4>>2]=0;b=v[291415];if(!b){b=ab(92);v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=972720;v[b+16>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+32>>2]=0;jd(b+8|0,972920);v[b+60>>2]=0;v[b+52>>2]=0;v[b+56>>2]=0;v[b+44>>2]=0;v[b+48>>2]=0;v[b+36>>2]=0;v[b+40>>2]=0;jd(b+36|0,972920);v[b+88>>2]=0;v[b+80>>2]=0;v[b+84>>2]=0;v[b+72>>2]=0;v[b+76>>2]=0;v[b+64>>2]=0;v[b+68>>2]=0;jd(b- -64|0,972940);v[291415]=b}a:{b=v[v[b+48>>2]+((a>>>0)%y[b+44>>2]<<2)>>2];if(b){while(1){if(v[b+12>>2]==(a|0)&v[b+16>>2]==(a|0)){break a}b=v[b+8>>2];if(b){continue}break}}lb(mb(c+8|0,292350,240822,214,332452));L()}v[b+20>>2]=a;Ma=c+32|0}function U0(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0;h=v[a+16>>2];if((h|0)!=v[a+24>>2]){h=(h+v[a+12>>2]|0)-1|0;t[h|0]=w[h|0]&253;h=v[a+20>>2];i=v[a+16>>2];j=i+3|0;a:{if((h|0)>=(j|0)){h=v[a+12>>2];break a}if(!h){v[a+20>>2]=32;h=32}if((h|0)<(j|0)){while(1){h=h<<1;if((j|0)>(h|0)){continue}break}v[a+20>>2]=h}k=a,l=Wd(v[a+8>>2],h<<4),v[k+8>>2]=l;h=Wd(v[a+12>>2],v[a+20>>2]);v[a+12>>2]=h;i=v[a+16>>2]}j=v[a+8>>2]+(i<<4)|0;A[j+8>>3]=c;A[j>>3]=b;t[h+i|0]=8;h=v[a+16>>2]+1|0;v[a+16>>2]=h;i=v[a+8>>2]+(h<<4)|0;A[i+8>>3]=e;A[i>>3]=d;t[h+v[a+12>>2]|0]=8;h=v[a+16>>2]+1|0;v[a+16>>2]=h;i=v[a+8>>2]+(h<<4)|0;A[i+8>>3]=g;A[i>>3]=f;t[h+v[a+12>>2]|0]=2;v[a+16>>2]=v[a+16>>2]+1}}function HZ(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=v[a+28>>2];a:{if((c|0)==-1){break a}d=v[a+36>>2];f=v[a+40>>2];if(d>>>0>=f>>>0){break a}g=v[a>>2];e=c+1|0;h=v[a+16>>2]+20|0;while(1){b:{c=B(d,12)+h|0;b=c-4|0;b=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);e=b>>>0>e>>>0?b:e;b=c;b=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);if(e>>>0>(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))>>>0){break b}c=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!c|c>>>0>=y[g+16>>2]){break b}v[a+36>>2]=d;v[a+32>>2]=c;v[a+28>>2]=e;return}d=d+1|0;if((f|0)!=(d|0)){continue}break}}t[a+24|0]=0}function d3(a,b,c,d){var e=0,f=0,g=0,h=0;e=Ma-16|0;Ma=e;a:{if(!d){break a}v[d>>2]=0;if(!a){break a}f=e+12|0;g=e+8|0;h=e+4|0;if(a){if(f){v[f>>2]=v[a>>2]}if(g){v[g>>2]=v[a+4>>2]}if(h){v[h>>2]=v[a+8>>2]}}if((b|0)<0|v[e+12>>2]<=(b|0)|((c|0)<0|v[e+8>>2]<=(c|0))){break a}f=a?v[a+12>>2]:-1;a=(B(c,f)<<2)+(a?v[a+40>>2]:0)|0;b:{c:{switch(v[e+4>>2]-1|0){case 0:a=v[a+(b>>>3&536870908)>>2]>>>(b^-1)&1;break b;case 1:a=v[a+(b>>>2&1073741820)>>2]>>>((b<<1^-1)&30)&3;break b;case 3:a=v[a+(b>>>1&2147483644)>>2]>>>((b<<2^-1)&28)&15;break b;case 7:a=w[a+b^3];break b;case 15:a=x[(a+(b<<1)^2)>>1];break b;case 31:break c;default:break a}}a=v[a+(b<<2)>>2]}v[d>>2]=a}Ma=e+16|0}function wU(a,b,c,d,e,f,g){var h=0;v[a>>2]=953348;v[a+4>>2]=b;a:{if((c|0)!=1){b=ab(44);v[b+40>>2]=0;v[b+32>>2]=0;v[b+16>>2]=f;v[b+12>>2]=e;v[b+8>>2]=d;v[b+4>>2]=c;v[b>>2]=a;c=B(d,e);v[b+20>>2]=c;h=B(e,f)+7>>3;v[b+24>>2]=h;h=h+(B(c,f)+7>>3)|0;v[b+28>>2]=h;b:{if((d|0)<1|(e|0)<1|((f|0)<1|(f|0)>16)){break b}if((2147483647/(e>>>0)|0)<=(d|0)|(e|0)>32|(c|0)>=(2147483640/(f>>>0)|0)){break b}c=si(h);v[b+32>>2]=c;eb(c,0,h);v[b+40>>2]=1;v[b+36>>2]=v[b+28>>2];v[a+8>>2]=b;break a}v[a+8>>2]=b;tb(0);$a(b);v[a+8>>2]=0;break a}v[a+8>>2]=0}v[a+53316>>2]=1;v[a+53308>>2]=0;v[a+53312>>2]=0;v[a+49192>>2]=258;v[a+49196>>2]=9;v[a+24>>2]=0;v[a+16>>2]=0;v[a+12>>2]=g;return a}function gta(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;a=eb(a,0,256);d=v[b>>2]+c|0;e=w[d+3|0];h=w[d|0];f=e+h|0;g=w[d+2|0];d=w[d+1|0];i=g+d|0;j=f-i<<5;v[a+8>>2]=j;f=f+i<<5;v[a>>2]=f-16384;g=d-g|0;e=h-e|0;d=B(g+e|0,4433)+128|0;h=d+B(g,-15137)>>8;v[a+12>>2]=h;d=d+B(e,6270)>>8;v[a+4>>2]=d;e=j|2;b=v[b+4>>2]+c|0;c=w[b+3|0];g=w[b|0];i=c+g|0;j=w[b+2|0];b=w[b+1|0];k=j+b|0;l=i-k<<5;v[a+40>>2]=e-l>>2;v[a+8>>2]=e+l>>2;e=f-16382|0;f=(i+k<<5)-16384|0;v[a+32>>2]=e-f>>2;v[a>>2]=e+f>>2;e=b-j|0;c=g-c|0;b=B(e+c|0,4433)+128|0;d=d+2|0;c=b+B(c,6270)>>8;v[a+36>>2]=d-c>>2;v[a+4>>2]=c+d>>2;c=h+2|0;b=b+B(e,-15137)>>8;v[a+44>>2]=c-b>>2;v[a+12>>2]=b+c>>2}function WM(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{c=a>>>14&1023;if(c){f=Lp((+(c|0)+.5)*.010830424696249145+-8.317766166719343);if(!(f<=0)){break a}}v[b+8>>2]=0;v[b>>2]=0;v[b+4>>2]=0;return}h=a&16383;b:{if(h>>>0>16288){e=.210526316;d=.473684211;break b}i=163;a=0;c:{d:{while(1){c=a+i>>1;j=h-u[(c<<3)+82806>>1]|0;e:{if((j|0)>0){a=c;break e}if((j|0)>-1){break d}i=c}if((i-a|0)>1){continue}break}c=a;d=(+(h-u[(c<<3)+82806>>1]|0)+.5)*.0035000001080334187;break c}d=.0017500000540167093}e=d+ +z[(c<<3)+82800>>2];d=(+(c|0)+.5)*.0035000001080334187+.016939999535679817}z[b+4>>2]=f;g=e*9;e=1/(e*6+d*-16+12);g=g*e;d=d*4*e;z[b>>2]=f*(g/d);z[b+8>>2]=f*((1-g-d)/d)}function C_a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=v[v[a+536>>2]+88>>2];d=(v[d+1176>>2]+B(v[d+1168>>2],v[a+572>>2])|0)+B(v[d+1164>>2],v[a+580>>2])|0;e=v[a+644>>2];a:{b:{c:{switch(w[a+2253|0]){case 0:case 4:break a;case 1:break c;default:break b}}if(v[a+588>>2]<=0){break b}while(1){b=w[d|0]|w[d+1|0]<<8;c=(b<<8|b>>>8)&65535;b=w[e|0]|w[e+1|0]<<8;b=c+((b<<8|b>>>8)&65535)&65535;b=b<<8|b>>>8;t[d|0]=b;t[d+1|0]=b>>>8;b=d+2|0;c=w[b|0]|w[b+1|0]<<8;g=(c<<8|c>>>8)&65535;c=w[e+2|0]|w[e+3|0]<<8;c=g+((c<<8|c>>>8)&65535)&65535;c=c<<8|c>>>8;t[b|0]=c;t[b+1|0]=c>>>8;e=e+4|0;d=d+4|0;f=f+1|0;if((f|0)>2]){continue}break}}return 0}cb(d,e,v[a+588>>2]<<2);return 0}function t0(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=Ma-16|0;Ma=d;c=35;a:{if(!a){break a}c=6;if(!b){break a}c=34;if(!v[a+96>>2]){break a}v[b>>2]=0;c=v[a+100>>2];f=v[v[a+96>>2]+12>>2];e=cc(c,v[f+40>>2],d+12|0);b:{c:{d:{e:{if(v[d+12>>2]){break e}g=cc(c,12,d+12|0);if(v[d+12>>2]){break e}v[e>>2]=a;h=cc(c,36,d+12|0);if(v[d+12>>2]){break d}v[e+40>>2]=h;f=v[f+56>>2];if(f){f=Qa[f|0](e)|0;v[d+12>>2]=f;if(f){break d}}v[b>>2]=e;v[g+8>>2]=e;iB(a+108|0,g);if(v[d+12>>2]){break d}c=0;break a}if(g){Qa[v[c+8>>2]](c,g)}if(e){break c}break b}if(g){Qa[v[c+8>>2]](c,g)}}a=v[e+40>>2];if(a){Qa[v[c+8>>2]](c,a)}v[e+40>>2]=0}if(e){Qa[v[c+8>>2]](c,e)}c=v[d+12>>2]}Ma=d+16|0;return c}function _m(a,b){var c=0,d=0;c=Ma-32|0;Ma=c;v[c+24>>2]=0;v[c+28>>2]=0;v[c+20>>2]=0;v[c+16>>2]=978704;PQ(c+8|0,c+16|0,a,b);v[c+16>>2]=978608;b=v[c+28>>2];if(b){t[b|0]=0;$a(v[c+28>>2])}v[c+28>>2]=0;bc(c+16|0);b=v[c+8>>2];a:{if(b){Qa[v[v[b>>2]+28>>2]](c+16|0,b,1);break a}v[c+16>>2]=0}jb(a,c+16|0);b=v[c+16>>2];v[c+16>>2]=0;b:{if(!b){break b}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break b}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}b=a;a=v[a>>2];v[b+4>>2]=v[(a?a+12|0:1117e3)>>2];a=v[c+8>>2];v[c+8>>2]=0;c:{if(!a){break c}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break c}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=c+32|0}function XYa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=v[a+636>>2]+v[a+616>>2]|0;b=v[a+644>>2];d=v[a+540>>2];if(!d){d=v[v[a+528>>2]+88>>2]}a:{if(w[d+56|0]){if(v[a+588>>2]<=0){break a}while(1){f=w[c+2|0];g=w[c|0];h=w[c+1|0];b:{if(!((g|0)!=x[d+838>>1]|(h|0)!=x[d+840>>1]|x[d+842>>1]!=(f|0))){t[b|0]=0;t[b+1|0]=0;t[b+2|0]=0;t[b+3|0]=0;break b}t[b+3|0]=255;t[b+2|0]=f;t[b+1|0]=h;t[b|0]=g}b=b+4|0;c=c+3|0;e=e+1|0;if((e|0)>2]){continue}break}e=0;break a}d=0;if(v[a+588>>2]<=0){e=1;break a}while(1){t[b|0]=w[c|0];t[b+1|0]=w[c+1|0];e=w[c+2|0];t[b+3|0]=255;t[b+2|0]=e;b=b+4|0;c=c+3|0;e=1;d=d+1|0;if((d|0)>2]){continue}break}}t[a+649|0]=e;return 0}function R0(a,b){var c=0,d=0,e=0,f=0,g=0;e=1;a:{b:{c=v[a+12>>2];f=v[a+8>>2];d=c-f|0;c:{if((d|0)>=1){d:{if(!Q0(v[f>>2],b)){c=d>>>2|0;c=c>>>0>1?c:1;while(1){if((c|0)==(e|0)){break d}f=e<<2;e=e+1|0;if(!Q0(v[f+v[a+8>>2]>>2],b)){continue}break}}if(!b){break c}$a(P0(b));return}c=v[a+12>>2]}if(v[a+16>>2]!=(c|0)){v[c>>2]=b;v[a+12>>2]=c+4;return}e=v[a+8>>2];f=c-e|0;g=f>>2;c=g+1|0;if(c>>>0>=1073741824){break b}d=f>>1;d=g>>>0<536870911?c>>>0>d>>>0?c:d:1073741823;if(d){if(d>>>0>=1073741824){break a}c=ab(d<<2)}else{c=0}g=c+(g<<2)|0;v[g>>2]=b;if((f|0)>=1){cb(c,e,f)}v[a+16>>2]=c+(d<<2);v[a+12>>2]=g+4;v[a+8>>2]=c;if(!e){break c}$a(e)}return}Jc();L()}Zd(273730);L()}function g$(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;f=v[a>>2];if(!f){return 65536}g=65536;a:{if(!(b&16384)){while(1){b=g;e=i<<2;d=v[e+c>>2];b:{if(!d){break b}g=0;e=v[e+v[a+8>>2]>>2];if(!e){break a}if((d|0)==(e|0)){g=b;break b}if((e|0)<(d&d>>31)|(e|0)>(((d|0)>0?d:0)|0)){break a}g=fc(b,e,d);f=v[a>>2]}i=i+1|0;if(i>>>0>>0){continue}break a}}while(1){f=g;h=i<<2;k=v[h+c>>2];b=f;c:{if(!k){break c}g=0;j=v[h+v[a+8>>2]>>2];if(!j){break a}b=f;if((j|0)==(k|0)){break c}b=v[d+h>>2];if((j|0)<=(b|0)){break a}h=v[e+h>>2];if((h|0)<=(j|0)){break a}if((j|0)<(k|0)){b=fc(f,j-b|0,k-b|0);break c}b=fc(f,h-j|0,h-k|0)}g=b;i=i+1|0;if(i>>>0>2]){continue}break}}return g}function zXa(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,j=0,k=0,l=0,m=0;if(e){m=e-1|0;while(1){u[g>>1]=x[f>>1];u[g+2>>1]=x[f+2>>1];h=g+4|0;a=j?(j|0)==(m|0)?d:b:c;a:{if(a>>>0<2){g=h;break a}i=a-1|0;k=i&3;b:{if(a-2>>>0<3){i=h;a=g;break b}l=i&-4;a=g;while(1){u[h>>1]=x[f>>1];u[a+6>>1]=x[f+2>>1];u[h+4>>1]=x[f>>1];u[h+6>>1]=x[f+2>>1];u[h+8>>1]=x[f>>1];u[h+10>>1]=x[f+2>>1];u[h+12>>1]=x[f>>1];u[h+14>>1]=x[f+2>>1];a=h+12|0;i=h+16|0;h=i;l=l-4|0;if(l){continue}break}}g=i;if(!k){break a}while(1){h=g;u[h>>1]=x[f>>1];u[a+6>>1]=x[f+2>>1];g=h+4|0;a=h;k=k-1|0;if(k){continue}break}}f=f+4|0;j=j+1|0;if((j|0)!=(e|0)){continue}break}}return 0}function oi(a,b){var c=0,d=0;c=Ma-32|0;Ma=c;v[c+24>>2]=0;v[c+28>>2]=0;v[c+20>>2]=0;v[c+16>>2]=978704;aj(c+8|0,c+16|0,b);v[c+16>>2]=978608;b=v[c+28>>2];if(b){t[b|0]=0;$a(v[c+28>>2])}v[c+28>>2]=0;bc(c+16|0);b=v[c+8>>2];a:{if(b){Qa[v[v[b>>2]+28>>2]](c+16|0,b,1);break a}v[c+16>>2]=0}jb(a,c+16|0);b=v[c+16>>2];v[c+16>>2]=0;b:{if(!b){break b}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break b}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}b=a;a=v[a>>2];v[b+4>>2]=v[(a?a+12|0:1117e3)>>2];a=v[c+8>>2];v[c+8>>2]=0;c:{if(!a){break c}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break c}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=c+32|0}function c0(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{e=d>>31;f=e+d^e;e=a>>31;if((f+(e+a^e)|0)>131071){break a}e=c>>31;f=e+c^e;e=b>>31;if((f+(e+b^e)|0)>131071){break a}a=B(a,d);b=B(b,c);return(a|0)>(b|0)?1:(a|0)<(b|0)?-1:0}f=d&65535;g=a>>>16|0;h=d>>>16|0;a=a&65535;i=B(h,a);d=B(f,g)+i|0;e=d<<16;j=c>>>16|0;k=b&65535;l=B(j,k);m=c&65535;n=b>>>16|0;b=l+B(m,n)|0;c=b<<16;g=(B(g,h)+(d>>>16|0)|0)+((d>>>0>>0)<<16)|0;d=e+B(a,f)|0;e=g+(d>>>0>>0)|0;a=(B(n,j)+(b>>>16|0)|0)+((b>>>0>>0)<<16)|0;b=c+B(m,k)|0;c=a+(b>>>0>>0)|0;a=1;b:{if(e>>>0>c>>>0){break b}a=-1;if(c>>>0>e>>>0){break b}a=1;if(b>>>0>>0){break b}a=b>>>0>d>>>0?-1:0}return a}function WF(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0;a:{if(a){b:{c:{if((b|0)<0|(c|0)<1|((d|0)<0|(e|0)<0)){break c}if((f|0)<0|(g|0)<0|(h|0)<0){break c}j=1;if((i|0)>-1){break b}}Db(a,28588);j=0}if((1e5-c|0)<(b|0)){Db(a,29861);j=0}if((1e5-e|0)<(d|0)){Db(a,31335);j=0}if((1e5-g|0)<(f|0)){Db(a,32652);j=0}if((1e5-i|0)<(h|0)){Db(a,34278);j=0}b=f-d|0;k=b>>>16|0;l=i-e|0;m=l&65535;i=b&65535;n=B(m,i);b=g-e|0;o=b>>>16|0;f=h-d|0;c=f&65535;e=b&65535;g=B(c,e);b=l>>>16|0;d=B(k,m)+B(i,b)+(n>>>16)|0;h=(d>>>16|0)+B(b,k)|0;b=B(c,o);c=f>>>16|0;b=b+B(e,c)+(g>>>16)|0;if((h|0)!=((b>>>16|0)+B(c,o)|0)|(n&65535|d<<16)!=(g&65535|b<<16)){break a}Db(a,36465)}j=0}return j}function $Ka(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,n=0,o=0,p=0,q=0,r=0,s=0,u=0;a:{if((e|0)<1){break a}i=v[a+112>>2];if(!i){break a}g=v[a+332>>2];a=v[a+476>>2];k=v[a+20>>2];l=v[a+16>>2];m=v[a+12>>2];n=v[a+8>>2];while(1){o=c+1|0;p=e-1|0;a=c<<2;q=v[a+v[b+12>>2]>>2];r=v[a+v[b+8>>2]>>2];s=v[a+v[b+4>>2]>>2];u=v[a+v[b>>2]>>2];c=v[d>>2];a=0;while(1){f=w[a+s|0];h=w[a+u|0]^255;j=w[a+r|0]<<2;t[c|0]=w[(h-v[j+n>>2]|0)+g|0];f=f<<2;t[c+1|0]=w[(h-(v[l+j>>2]+v[f+k>>2]>>16)|0)+g|0];t[c+2|0]=w[(h-v[f+m>>2]|0)+g|0];t[c+3|0]=w[a+q|0];c=c+4|0;a=a+1|0;if((i|0)!=(a|0)){continue}break}d=d+4|0;a=(e|0)>1;e=p;c=o;if(a){continue}break}}}function Sxa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=Ma-32|0;Ma=e;a:{if(!a){break a}f=v[a+8>>2];if(!f){break a}if(!(c|d)){if(v[a+172>>2]==-1?v[a+212>>2]:0){break a}v[a+84>>2]=105;v[e+4>>2]=0;v[e>>2]=b;nb(0,0,0,a,0,1,105,3,b,0,0,0,342247,e);v[a+100>>2]=0;v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1;break a}b:{switch(v[a+216>>2]-1|0){case 0:vX(a+108|0,v[f+44>>2],b,c,d);break a;case 1:vX(a+108|0,v[f+48>>2],b,c,d);break a;default:break b}}if(v[a+172>>2]==-1?v[a+212>>2]:0){break a}v[a+84>>2]=105;v[e+20>>2]=0;v[e+16>>2]=b;nb(0,0,0,a,0,1,105,3,b,0,0,0,339156,e+16|0);v[a+100>>2]=0;v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1}Ma=e+32|0}function Qx(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=Ma-16|0;Ma=h;f=d?d:1185008;d=v[f>>2];a:{b:{c:{if(!b){if(d){break c}break a}e=-2;if(!c){break a}i=a?a:h+12|0;d:{if(d){a=c;break d}a=w[b|0];d=a<<24>>24;if((d|0)>=0){v[i>>2]=a;e=(d|0)!=0;break a}a=t[b|0];if(!v[v[279293]>>2]){v[i>>2]=a&57343;e=1;break a}a=(a&255)-194|0;if(a>>>0>50){break c}d=v[(a<<2)+997472>>2];a=c-1|0;if(!a){break b}b=b+1|0}g=w[b|0];j=g>>>3|0;if((j-16|(d>>26)+j)>>>0>7){break c}while(1){a=a-1|0;d=g-128|d<<6;if((d|0)>=0){v[f>>2]=0;v[i>>2]=d;e=c-a|0;break a}if(!a){break b}b=b+1|0;g=w[b|0];if((g&192)==128){continue}break}}v[f>>2]=0;v[296206]=25;e=-1;break a}v[f>>2]=d}Ma=h+16|0;return e}function dSa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=v[a>>2];c=v[a+436>>2];v[d+24>>2]=c;v[d+20>>2]=124;v[v[a>>2]+28>>2]=b;Qa[v[v[a>>2]+4>>2]](a,-1);d=b+6&7|208;f=b-1&7|208;g=b+2&7|208;b=b+1&7|208;while(1){a:{b:{if((c|0)<192){break b}if((b|0)==(c|0)|(c&-8)!=208|(c|0)==(g|0)){break a}if((c|0)==(f|0)|(c|0)==(d|0)){break b}b=v[a>>2];v[b+24>>2]=c;v[b+20>>2]=99;v[v[a>>2]+28>>2]=1;Qa[v[v[a>>2]+4>>2]](a,4);v[a+436>>2]=0;return 1}e=v[a>>2];v[e+24>>2]=c;v[e+20>>2]=99;v[v[a>>2]+28>>2]=2;Qa[v[v[a>>2]+4>>2]](a,4);if(uK(a)){c=v[a+436>>2];continue}else{return 0}}break}b=v[a>>2];v[b+24>>2]=c;v[b+20>>2]=99;v[v[a>>2]+28>>2]=3;Qa[v[v[a>>2]+4>>2]](a,4);return 1}function X2a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=-1;b=a;a:{b:{if(qf(c,a+12|0)){break b}if(di(c,b+16|0)){break b}a=v[c+8>>2];if(a&7){break b}d=v[c+64>>2];if(!((d|0)<0|(d|0)>v[c+60>>2])){break a}d=-1;a=v[c+28>>2];v[c+28>>2]=a-1;c:{if((a|0)>=1){v[c+60>>2]=v[c+60>>2]+1;a=v[c+24>>2];v[c+24>>2]=a+1;a=w[a|0];break c}a=Eb(c,1);if((a|0)==-1){break b}}t[b+20|0]=a;a=v[c+8>>2];if(a&7){break b}d=v[c+64>>2];if(!((d|0)<0|(d|0)>v[c+60>>2])){break a}d=-1;a=v[c+28>>2];v[c+28>>2]=a-1;d:{if((a|0)>=1){v[c+60>>2]=v[c+60>>2]+1;a=v[c+24>>2];v[c+24>>2]=a+1;a=w[a|0];break d}a=Eb(c,1);if((a|0)==-1){break b}}t[b+21|0]=a;d=0-(v[c+8>>2]&1)|0}return d|0}v[c+8>>2]=a|4;return-1}function xoa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;b=ab(84);c=v[a+4>>2];e=Qa[v[v[c>>2]+8>>2]](c)|0;d=v[a+32>>2];f=v[a+28>>2];g=v[a+24>>2];h=v[a+16>>2];c=v[a+20>>2];i=v[a+12>>2];a=v[a+8>>2];v[b>>2]=953548;v[b+8>>2]=a;v[b+12>>2]=i;v[b+20>>2]=c;v[b+16>>2]=h;v[b+4>>2]=e;a=1;a:{if((c|0)>=1){a=2147483644;if((c|0)<2147483645){break a}}v[b+20>>2]=a;c=a}v[b+32>>2]=d;v[b+28>>2]=f;v[b+24>>2]=g;v[b+36>>2]=d?255:0;j=b,k=Pb(c+1|0,4),v[j+60>>2]=k;a=Pb(v[b+20>>2]+3|0,4);v[b+48>>2]=0;v[b+40>>2]=0;v[b+64>>2]=a;v[b+56>>2]=0;v[b+44>>2]=v[b+8>>2]>>>31;v[v[b+60>>2]>>2]=v[b+20>>2];v[b+80>>2]=0;v[b+72>>2]=0;v[b+76>>2]=0;v[b+68>>2]=v[b+20>>2];return b|0}function tFa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;v[a>>2]=0;v[a+4>>2]=0;v[a+56>>2]=0;v[a+48>>2]=0;v[a+52>>2]=0;v[a+40>>2]=0;v[a+44>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=v[b>>2];v[a+4>>2]=v[b+4>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=v[b+12>>2];v[a+16>>2]=v[b+16>>2];d=v[b+20>>2];v[a+40>>2]=b+48;v[a+36>>2]=b+40;v[a+32>>2]=b+32;v[a+28>>2]=b+28;v[a+24>>2]=b+24;v[a+20>>2]=d;a:{if(c){e=68;f=70;d=69;break a}g=w[b+64|0];e=65;f=67;d=66}t[a+44|0]=g;e=w[b+e|0];d=w[b+d|0];b=w[b+f|0];f=v[113785];v[a+52>>2]=v[113784];v[a+56>>2]=f;t[a+48|0]=c;t[a+47|0]=b;t[a+46|0]=d;t[a+45|0]=e}function Zwa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=Ma-16|0;Ma=d;b=Qa[v[256552]](64)|0;a:{if(!b){v[d>>2]=290868;nb(0,0,0,0,0,23,2,3,290868,0,0,0,340689,d);break a}v[b>>2]=0;v[b+4>>2]=0;v[b+56>>2]=0;v[b+60>>2]=0;v[b+48>>2]=0;v[b+52>>2]=0;v[b+40>>2]=0;v[b+44>>2]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b+4>>2]=16;v[b+40>>2]=v[a+40>>2];v[b+44>>2]=v[a+44>>2];e=b,f=yX(v[a+52>>2]),v[e+52>>2]=f;c=v[a+60>>2];if(c){e=b,f=Sd(c),v[e+60>>2]=f}c=v[a+8>>2];if(c){e=b,f=Sd(c),v[e+8>>2]=f}c=v[a+56>>2];if(c){e=b,f=Sd(c),v[e+56>>2]=f}a=v[a+48>>2];if(a){e=b,f=Sd(a),v[e+48>>2]=f}c=b}Ma=d+16|0;return c|0}function pxa(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,j=C(0),k=0,l=0,m=0,n=0;i=Ma-256|0;Ma=i;if(g){l=(e<<2)+c|0;a=v[a+416>>2];e=v[(a+(v[b+16>>2]<<2)|0)+140>>2];m=v[(a+(v[b+4>>2]<<2)|0)+100>>2];c=0;while(1){Qa[m|0](i,l,f);a=0;while(1){k=(c<<7)+d|0;n=k+(a<<1)|0;h=a<<2;j=C(C(z[h+i>>2]*z[e+h>>2])+C(16384.5));a:{if(C(D(j))>1]=h-16384;h=a|1;k=(h<<1)+k|0;h=h<<2;j=C(C(z[h+i>>2]*z[e+h>>2])+C(16384.5));b:{if(C(D(j))>1]=h-16384;a=a+2|0;if((a|0)!=64){continue}break}f=v[b+36>>2]+f|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}Ma=i+256|0}function aT(a,b,c){var d=0,e=0;d=Ma-272|0;Ma=d;e=v[a+200>>2];if(e&1){a:{if(e&4){Db(a,43185);uc(a,c);break a}if(e&2){Db(a,43844)}if(!(!b|(v[b+8>>2]&2049)!=1)){Db(a,44592);uc(a,c);break a}if((c|0)!=4){Db(a,45242);uc(a,c);break a}c=d+268|0;Ye(a,c,4);gc(a,c,4);if(uc(a,0)){break a}c=w[d+268|0]|w[d+269|0]<<8|(w[d+270|0]<<16|w[d+271|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=(c|0)>-1?c:-1;if((c|0)<=0){Db(a,46366);break a}if(!(!b|!(w[b+9|0]&8)|c-45e3>>>0<1001)){Vj(d,1,5,c);dq(a,d,46605);break a}v[a+460>>2]=c;b:{if(!a|!b){break b}if(c-16>>>0>=624999985){Db(a,31841);break b}v[b+40>>2]=c;v[b+8>>2]=v[b+8>>2]|1}}Ma=d+272|0;return}dc(a,42317);L()}function A_a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=v[v[a+536>>2]+88>>2];c=(v[c+1176>>2]+B(v[c+1168>>2],v[a+572>>2])|0)+B(v[c+1164>>2],v[a+580>>2])|0;d=v[a+644>>2];a:{b:{switch(w[a+2253|0]-3|0){case 0:if(v[a+588>>2]<=0){break a}while(1){b=w[c|0]|w[c+1|0]<<8;f=(b<<8|b>>>8)&65535;b=w[d|0]|w[d+1|0]<<8;b=f+((b<<8|b>>>8)&65535)&65535;b=b<<8|b>>>8;t[c|0]=b;t[c+1|0]=b>>>8;d=d+2|0;c=c+4|0;e=e+1|0;if((e|0)>2]){continue}break};break a;case 3:break b;default:break a}}if(v[a+588>>2]<1){break a}while(1){b=w[d|0]|w[d+1|0]<<8;b=(b<<8|b>>>8)&65535;b=b<<8|b>>>8;t[c|0]=b;t[c+1|0]=b>>>8;d=d+2|0;c=c+4|0;e=e+1|0;if((e|0)>2]){continue}break}}return 0}function wQ(a){var b=0,c=0;b=(v[a+8>>2]<<2)+a|0;v[b+16>>2]=v[b+16>>2]>>1;b=v[a+8>>2];if(!b){v[a+56>>2]=v[a+56>>2]>>1;v[a+60>>2]=v[a+60>>2]>>1;c=a- -64|0;v[c>>2]=v[c>>2]>>1;v[a+68>>2]=v[a+68>>2]>>1;v[a+72>>2]=v[a+72>>2]>>1;v[a+76>>2]=v[a+76>>2]>>1;v[a+80>>2]=v[a+80>>2]>>1;v[a+84>>2]=v[a+84>>2]>>1;v[a+88>>2]=v[a+88>>2]>>1;v[a+92>>2]=v[a+92>>2]>>1;v[a+96>>2]=v[a+96>>2]>>1;v[a+100>>2]=v[a+100>>2]>>1;v[a+104>>2]=v[a+104>>2]>>1;v[a+108>>2]=v[a+108>>2]>>1;v[a+112>>2]=v[a+112>>2]>>1;v[a+116>>2]=v[a+116>>2]>>1;v[a+8>>2]=b+1;return 1}v[a+8>>2]=b+1;if((b|0)>=9){v[a+8>>2]=0;b=a;c=v[a+12>>2]+1|0;a=v[a+52>>2];v[b+12>>2]=a?c:-1;a=(a|0)!=0}else{a=1}return a}function WXa(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,j=0,k=0,l=0,m=0;if(e){l=e-1|0;while(1){t[g|0]=w[f|0];t[g+1|0]=w[f+1|0];t[g+2|0]=w[f+2|0];t[g+3|0]=w[f+3|0];a=g+4|0;i=k?(k|0)==(l|0)?d:b:c;j=a;a:{if(i>>>0<2){break a}h=i-1|0;m=h&1;b:{if((i|0)==2){h=a;break b}i=h&-2;while(1){t[a|0]=w[f|0];t[g+5|0]=w[f+1|0];t[g+6|0]=w[f+2|0];t[g+7|0]=w[f+3|0];t[a+4|0]=w[f|0];t[a+5|0]=w[f+1|0];t[a+6|0]=w[f+2|0];t[a+7|0]=w[f+3|0];g=a+4|0;h=a+8|0;a=h;i=i-2|0;if(i){continue}break}}j=h;if(!m){break a}t[h|0]=w[f|0];t[g+5|0]=w[f+1|0];t[g+6|0]=w[f+2|0];t[g+7|0]=w[f+3|0];j=h+4|0}g=j;f=f+4|0;k=k+1|0;if((k|0)!=(e|0)){continue}break}}return 0}function Aj(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;v[a+4>>2]=c;d=Pb(c,4);v[a>>2]=d;h=v[a+4>>2];a:{if((h|0)<1){break a}v[d>>2]=0;if((h|0)==1){break a}e=h-1|0;g=e&3;d=1;if(h-2>>>0>=3){e=e&-4;while(1){f=d<<2;v[f+v[a>>2]>>2]=0;v[(f+v[a>>2]|0)+4>>2]=0;v[(f+v[a>>2]|0)+8>>2]=0;v[(f+v[a>>2]|0)+12>>2]=0;d=d+4|0;e=e-4|0;if(e){continue}break}}if(!g){break a}while(1){v[v[a>>2]+(d<<2)>>2]=0;d=d+1|0;g=g-1|0;if(g){continue}break}}e=0;if((c|0)>0){while(1){g=0;i=B(e,12)+b|0;d=v[i>>2];f=w[d|0];if(f){while(1){g=B(g,17)+f|0;f=w[d+1|0];d=d+1|0;if(f){continue}break}}d=v[a>>2]+((g>>>0)%(h>>>0)<<2)|0;v[i+8>>2]=v[d>>2];v[d>>2]=i;e=e+1|0;if((e|0)!=(c|0)){continue}break}}}function Ioa(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;d=v[a+8>>2];a:{if(d){if((c|0)<1){return 0}a=v[d+36>>2];while(1){h=b+f|0;e=v[d+28>>2];if((e|0)<=(a|0)){if(!ps(d)){break a}e=v[d+28>>2];a=v[d+36>>2]}i=v[d+32>>2]+a|0;g=c-f|0;a=e-a|0;e=(a|0)>(g|0)?g:a;cb(h,i,e);a=e+v[d+36>>2]|0;v[d+36>>2]=a;f=e+f|0;if((f|0)<(c|0)){continue}break}break a}if(v[a+16>>2]|(c|0)<1){break a}d=v[a+53312>>2];while(1){h=b+f|0;e=v[a+53308>>2];if((e|0)<=(d|0)){if(!cz(a)){break a}e=v[a+53308>>2];d=v[a+53312>>2]}i=(a+d|0)+49208|0;g=c-f|0;d=e-d|0;e=(d|0)>(g|0)?g:d;cb(h,i,e);d=e+v[a+53312>>2]|0;v[a+53312>>2]=d;f=e+f|0;if((f|0)<(c|0)){continue}break}}return f|0}function Go(a){var b=0,c=0,d=0,e=0,f=0;d=Ma-32|0;Ma=d;b=Qa[v[256552]](96)|0;a:{if(!b){v[d>>2]=292370;nb(0,0,0,0,0,2,2,3,292370,0,0,0,340689,d);break a}b=eb(b,0,96);v[b+4>>2]=9;e=a?a:326168;c=e;while(1){a=c;c=a+1|0;if(w[a|0]){continue}break}c=0;b:{a=a-e|0;if((a|0)>=0){f=Qa[v[256555]](a+1|0)|0;if(f){break b}nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0)}v[b+56>>2]=0;v[d+16>>2]=292370;nb(0,0,0,0,0,2,2,3,292370,0,0,0,340689,d+16|0);Qa[v[256556]](b);break a}c=a;a=cb(f,e,a);t[c+a|0]=0;v[b+56>>2]=a;v[b+36>>2]=-1;v[b+40>>2]=-1;v[b+88>>2]=0;v[b+92>>2]=32;v[b+76>>2]=1;v[b+32>>2]=b;if(v[291069]){c=b;a=v[291066];if(!a){break a}Qa[a|0](b)}c=b}Ma=d+32|0;return c}function zi(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0;j=h&10;k=g&10;if(!(j|k)){Ew(b,c,d,e,f);return}if((j|0)!=(k|0)){j=c;k=d;if(g&8){k=v[a+4>>2];i=+(e-c|0)*+(k-d|0)/+(f-d|0);i=i+(i<0?-.5:.5);a:{if(D(i)<2147483648){j=~~i;break a}j=-2147483648}j=j+c|0}if(g&2){k=v[a+12>>2];i=+(e-c|0)*+(k-d|0)/+(f-d|0);i=i+(i<0?-.5:.5);b:{if(D(i)<2147483648){g=~~i;break b}g=-2147483648}j=g+c|0}g=e;l=f;if(h&8){l=v[a+4>>2];i=+(e-c|0)*+(l-d|0)/+(f-d|0);i=i+(i<0?-.5:.5);c:{if(D(i)<2147483648){g=~~i;break c}g=-2147483648}g=g+c|0}if(h&2){l=v[a+12>>2];i=+(e-c|0)*+(l-d|0)/+(f-d|0);i=i+(i<0?-.5:.5);d:{if(D(i)<2147483648){a=~~i;break d}a=-2147483648}g=a+c|0}Ew(b,j,k,g,l)}}function vk(a){var b=0,c=0,d=0,e=0;d=Ma-16|0;Ma=d;b=v[a+56>>2];a:{if(!b){break a}v[b+4>>2]=v[b+4>>2]+1;b=a+56|0;c=v[b>>2];if(!c){break a}qb(b,0);b=v[291392];if(!b){b=ab(28);v[b+4>>2]=0;v[b+24>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=970568;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=970612;v[b+12>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[291392]=b}v[d+8>>2]=0;e=d+8|0;qb(e,a);kT(b,c+44|0,e);a=v[d+8>>2];v[d+8>>2]=0;b:{if(!a){break b}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break b}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}a=v[c+4>>2]-1|0;v[c+4>>2]=a;if(a){break a}a=v[c+4>>2];if(!a){v[c+4>>2]=-32767}if(!a){Qa[v[v[c>>2]+4>>2]](c)}}Ma=d+16|0}function Eqa(a){a=a|0;var b=0,c=0,d=0,e=0;b=ab(16);hc(b);v[a+48>>2]=b;b=ab(16);hc(b);v[a+52>>2]=b;if(v[a+8>>2]==8){b=v[a+16>>2];v[a+56>>2]=b;Qa[v[v[b>>2]+20>>2]](b);b=v[a+56>>2];c=v[a+76>>2];v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=b;v[v[a+144>>2]>>2]=b;v[v[a+148>>2]>>2]=b;UU(a);b=v[a+56>>2];Qa[v[v[b>>2]+24>>2]](b);d=a,e=D3a(v[a+48>>2],v[a+52>>2],32),v[d+48>>2]=e;v[a+52>>2]=Pa}b=v[a+4>>2];v[a+56>>2]=b;Qa[v[v[b>>2]+20>>2]](b);b=v[a+56>>2];c=v[a+76>>2];v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=b;v[v[a+144>>2]>>2]=b;v[v[a+148>>2]>>2]=b;UU(a);b=v[a+40>>2];a:{if(!b){c=0;b=0;break a}c=v[b+20>>2];b=c+B(v[b+16>>2],v[b+12>>2])|0}v[a+60>>2]=c;v[a+64>>2]=b}function eh(a){var b=0,c=0,d=0,e=0;b=Ma-16|0;Ma=b;if(!w[a+32|0]){cg(a,0)}v[b+8>>2]=0;v[b+12>>2]=v[279250];a=v[a+8>>2];a:{if(a){Qa[v[v[a>>2]+28>>2]](b,a,1);break a}v[b>>2]=0}jb(b+8|0,b);a=v[b>>2];v[b>>2]=0;b:{if(!a){break b}c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(c){break b}c=v[a+4>>2];if(!c){v[a+4>>2]=-32767}if(!c){Qa[v[v[a>>2]+4>>2]](a)}}a=v[b+8>>2];e=a;v[b+12>>2]=v[(a?a+12|0:1117e3)>>2];c:{d:{if(!a){break d}d=v[a+8>>2];if(!d){break d}c=d-1|0;e:{if(c){a=v[a+12>>2];if((d|0)>0){d=c;break e}d=c+d|0;if((d|0)>-1){break e}ni();L()}a=v[e+12>>2];d=0}if(w[a+d|0]!=47){break d}We(b,b+8|0,0,c);a=Bd(b);db(b);break c}a=Bd(b+8|0)}db(b+8|0);Ma=b+16|0;return a}function JWa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{if(w[a+285|0]|w[a+286|0]|(w[a+287|0]|w[a+288|0])){break b}if(w[a+289|0]){break b}break a}if(w[a+291|0]|(w[a+300|0]|w[a+292|0])){break a}c:{switch(c|0){default:ob(a,1028,0,0);return 1028;case 0:case 9:break c}}d:{e:{if(!w[a+112|0]){break e}a=Qa[v[b+4>>2]](a,b,e)|0;if(a){break d}a=v[e>>2];b=!c;t[a+32|0]=b;if(b){break e}b=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);v[a+36>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);v[a+40>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);t[a+44|0]=w[d+8|0]}a=0}return a|0}ob(a,1029,0,0);return 1029}function Ci(a){var b=0,c=0;b=-1;c=v[a+8>>2];a:{if(c&7){break a}while(1){b:{c:{b=v[a+64>>2];if((b|0)>=0&(b|0)<=v[a+60>>2]){break c}b=v[a+28>>2];v[a+28>>2]=b-1;d:{if((b|0)<=0){b=Eb(a,1);break d}v[a+60>>2]=v[a+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;b=w[b|0]}if((b|0)!=35){break a}while(1){b=-1;c=v[a+8>>2];if(c&7){break a}b=v[a+64>>2];if((b|0)>=0&(b|0)<=v[a+60>>2]){break c}b=v[a+28>>2];v[a+28>>2]=b-1;e:{if((b|0)<=0){b=Eb(a,1);break e}v[a+60>>2]=v[a+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;b=w[b|0]}switch(b+1|0){case 0:break a;case 11:case 14:break b;default:continue}}}v[a+8>>2]=c|4;b=-1;break a}b=-1;c=v[a+8>>2];if(!(c&7)){continue}break}}return b}function Aza(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[a+8>>2];a:{if(b>>>0<=1){t[c+65|0]=0;t[c+66|0]=0;t[c+67|0]=0;t[c+68|0]=0;t[c+64|0]=1;d=v[213239];v[c+24>>2]=v[213238];v[c+28>>2]=d;d=v[213237];v[c+16>>2]=v[213236];v[c+20>>2]=d;d=v[213235];v[c+8>>2]=v[213234];v[c+12>>2]=d;d=v[213233];v[c>>2]=v[213232];v[c+4>>2]=d;t[a+36|0]=0;if((b|0)==1){break a}}b=v[213239];v[c+56>>2]=v[213238];v[c+60>>2]=b;b=v[213237];v[c+48>>2]=v[213236];v[c+52>>2]=b;b=v[213235];v[c+40>>2]=v[213234];v[c+44>>2]=b;b=v[213233];v[c+32>>2]=v[213232];v[c+36>>2]=b;t[c+75|0]=0;u[c+72>>1]=1;b=w[c+74|0]==1;v[c+76>>2]=b?17039875:33751047;v[c+80>>2]=b?100992768:17171716;v[a+56>>2]=0}}function $4(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=v[a+44>>2];if(v[a+4>>2]==16){g=v[c+88>>2]+B(v[a+8>>2],1876)|0}else{g=v[a+36>>2]}f=v[g+1872>>2];d=f+B(b,1076)|0;a=v[a+52>>2];e=Qa[v[v[a>>2]+20>>2]](a,1)|0;v[d+4>>2]=e+1;g=c;c=v[c+12>>2];v[g+12>>2]=(c|0)<(e|0)?c:e;h=d,i=(Qa[v[v[a>>2]+20>>2]](a,1)|0)+2|0,v[h+8>>2]=i;h=d,i=(Qa[v[v[a>>2]+20>>2]](a,1)|0)+2|0,v[h+12>>2]=i;h=d,i=Qa[v[v[a>>2]+20>>2]](a,1)|0,v[h+16>>2]=i;h=d,i=Qa[v[v[a>>2]+20>>2]](a,1)|0,v[h+20>>2]=i;if(!(!(t[d|0]&1)|v[d+4>>2]<1)){c=0;b=f+B(b,1076)|0;while(1){e=b+(c<<2)|0;f=Qa[v[v[a>>2]+20>>2]](a,1)|0;v[e+944>>2]=f>>4;v[e+812>>2]=f&15;c=c+1|0;if((c|0)>2]){continue}break}}}function hUa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if(v[c>>2]!=1179795789){ob(a,2050,0,0);return 2050}t[b+32|0]=w[c+32|0];t[b+33|0]=w[c+33|0];e=v[c+36>>2];v[b+36>>2]=e;t[b+44|0]=w[c+44|0];t[b+45|0]=w[c+45|0];t[b+46|0]=w[c+46|0];t[b+47|0]=w[c+47|0];v[b+48>>2]=v[c+48>>2];v[b+52>>2]=v[c+52>>2];t[b+56|0]=w[c+56|0];v[b+60>>2]=v[c+60>>2];v[b+64>>2]=v[c+64>>2];v[b+68>>2]=v[c+68>>2];v[b+72>>2]=v[c+72>>2];d=v[c+76>>2];v[b+76>>2]=d;a:{if(e){d=Qa[v[a+152>>2]](e)|0;v[b+40>>2]=d;if(!d){break a}cb(d,v[c+40>>2],v[b+36>>2]);d=v[b+76>>2]}if(d){e=b;d=d<<2;b=Qa[v[a+152>>2]](d)|0;v[e+80>>2]=b;if(!b){break a}cb(b,v[c+80>>2],d)}return 0}ob(a,1,0,0);return 1}function m8(a){a=a|0;var b=0,c=0,d=0;b=v[a+584>>2];hx(a,0,1);a:{if(b){if(!v[b+16>>2]){break a}b:{if(!(w[a+48|0]&4)){break b}v[b+800>>2]=0;v[b+804>>2]=0;v[b+824>>2]=531;v[b+820>>2]=8;v[b+816>>2]=532;v[b+812>>2]=533;v[b+24>>2]=b+800;v[b+808>>2]=534;if((MM(b,0)|0)==2){break b}wb(v[a+628>>2],88073,41275,0);return 0}c=x[a+90>>1];u[b+832>>1]=c;d=b;c:{if((c|0)==6){u[b+834>>1]=x[a+204>>1];c=x[a+206>>1];break c}u[b+834>>1]=1;c=1}u[d+836>>1]=c;v[b+800>>2]=0;v[b+804>>2]=0;v[b+824>>2]=531;v[b+820>>2]=8;v[b+816>>2]=532;v[b+812>>2]=533;v[b+808>>2]=535;v[b+24>>2]=b+800;v[a+652>>2]=390;return 1}O(29012,7121,646,88073);L()}O(39945,7121,647,88073);L()}function XF(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{if(!c){break b}f=ye(b,91);if(!f){break b}while(1){c:{g=f+1|0;j=td(g);e=ye(g,46);g=e+1|0;d:{e:{d=Qa[v[v[c>>2]+40>>2]](c)|0;if(d){h=0;k=e?g:0;f=f-b|0;while(1){f:{if(!(Qa[v[v[d>>2]+28>>2]](d)|0)){break f}i=v[d+20>>2];if((f|0)!=v[i>>2]){break f}if(Kb(v[i+4>>2],b,f)){break f}if((h|0)==(j|0)){break e}h=h+1|0}d=Qa[v[v[d>>2]+44>>2]](d)|0;if(d){continue}break}}if(e){break d}break a}if(!e){break c}e=XF(a,k,d);if(e){break b}}b=g;f=ye(g,91);if(f){continue}break a}break}e=0;a=Qa[v[v[d>>2]+40>>2]](d)|0;if(!a){break b}if(!(Qa[v[v[a>>2]+36>>2]](a)|0)){break b}e=v[a+20>>2]}return e}return 0}function zf(a){var b=0,c=0,d=0,e=0,f=0;a:{if(t[a+16|0]&1){if(v[a+8>>2]>=1){break a}c=v[a>>2];if(c&4){v[a+8>>2]=0;return-1}if(c&2){v[a+4>>2]=127;v[a+8>>2]=7;return 1}e=v[a+4>>2]<<8&65280;v[a+4>>2]=e;b:{c:{b=v[a+12>>2];d=v[b+8>>2];d:{if(d&7){break d}f=v[b+64>>2];if(!((f|0)<0|v[b+60>>2]<(f|0))){v[b+8>>2]=d|4;break d}c=v[b+28>>2];v[b+28>>2]=c-1;if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=b;b=v[b+24>>2];v[d+24>>2]=b+1;b=w[b|0];break b}b=Eb(b,1);if((b|0)!=-1){break c}c=v[a>>2]}v[a>>2]=c|2;return 1}e=v[a+4>>2]}c=(e|0)==65280?6:7;v[a+8>>2]=c;d=a;a=(2<>2]=a;return a>>>c&1}O(29079,18822,242,189317);L()}O(30475,18822,243,189317);L()}function ke(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{d=v[a+112>>2];c=v[a+116>>2];b:{if(d|c){e=v[a+124>>2];if((c|0)<=(e|0)&d>>>0<=y[a+120>>2]|(c|0)<(e|0)){break b}}i=Nx(a);if((i|0)>-1){break a}}v[a+104>>2]=0;return-1}e=a;b=v[a+116>>2];f=b;c=v[a+8>>2];d=c;g=v[a+112>>2];c:{if(!(b|g)){break c}d=c;h=v[a+120>>2]^-1;g=h+g|0;b=(v[a+124>>2]^-1)+f|0;b=g>>>0>>0?b+1|0:b;h=v[a+4>>2];f=c-h|0;j=f;f=f>>31;if((f|0)<=(b|0)&g>>>0>=j>>>0|(b|0)>(f|0)){break c}d=g+h|0}v[e+104>>2]=d;e=v[a+4>>2];if(c){d=a;b=(c-e|0)+1|0;c=b+v[a+120>>2]|0;a=v[a+124>>2]+(b>>31)|0;v[d+120>>2]=c;v[d+124>>2]=c>>>0>>0?a+1|0:a}a=e-1|0;if(w[a|0]!=(i|0)){t[a|0]=i}return i}function N1a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=v[a+8>>2];c=v[a+12>>2];b=v[a+52>>2];g=Qa[v[v[b>>2]+36>>2]](b)|0;d=Qa[v[v[b>>2]+40>>2]](b)|0;i=Qa[v[v[b>>2]+40>>2]](b)|0;d=d+1|0;c=c-g|0;g=(c|0)>(d|0)?d:c;h=v[a+32>>2]+(f<<2)|0;d=g+v[h>>2]|0;e=gb(d);if(e){c=0;d=eb(e,0,d);e=v[h>>2];if((e|0)>=1){j=v[a+28>>2]+(f<<2)|0;while(1){t[c+d|0]=w[v[j>>2]+c|0];c=c+1|0;e=v[h>>2];if((c|0)<(e|0)){continue}break}}Qa[v[v[b>>2]+16>>2]](b,d+e|0,g);c=f<<2;b=c+v[a+32>>2]|0;v[b>>2]=g+v[b>>2];b=v[a+28>>2];f=b+c|0;h=v[f>>2];if(h){$a(h);v[f>>2]=0;b=v[a+28>>2]}v[b+c>>2]=d;if((g|0)!=(i+1|0)){v[a+4>>2]=8;return}v[a+4>>2]=64;return}v[v[a>>2]+20>>2]=1}function Lt(a,b,c,d,e,f){var g=0,h=0,i=0;a:{b:{if(c){g=B(c,3);v[e>>2]=g;g=Qa[v[a+152>>2]](g)|0;v[d>>2]=g;if(!g){break a}i=B(c,200);while(1){O4(a);v[a+2352>>2]=v[d>>2];v[a+2356>>2]=v[e>>2]-1;v[a+2340>>2]=b;v[a+2344>>2]=c;g=bk(a+2340|0,4);h=10;c:{if((g|0)==-5|v[a+2344>>2]){break c}h=0;if(g>>>0<2){break c}ob(a,5,g,0);h=5}g=h;v[f>>2]=v[a+2360>>2];uL(a);if((g|0)!=10){if(g){break b}t[v[d>>2]+v[f>>2]|0]=0;return 0}g=v[d>>2];if(g){Qa[v[a+156>>2]](g,v[e>>2])}g=v[e>>2]<<1;v[e>>2]=g;g=Qa[v[a+152>>2]](g)|0;v[d>>2]=g;if(!g){ob(a,1,0,0);return 1}if(y[e>>2]>>0){continue}break}return 10}v[d>>2]=0;v[e>>2]=0;v[f>>2]=0}return g}ob(a,1,0,0);return 1}function AGa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=v[a>>2];d=v[a+44>>2];if(d){c=v[d>>2];if(!(!c|!v[c+96>>2])){v[c+88>>2]=d}}e=Ma-16|0;Ma=e;c=v[f+504>>2];a:{if(!c){d=35;break a}d=6;if(!b|v[b+4>>2]<0|(v[b+8>>2]<0|y[b>>2]>4)){break a}d=v[c+88>>2];v[v[d+40>>2]+12>>2]=0;g=v[v[v[c+96>>2]+12>>2]+88>>2];if(g){d=Qa[g|0](d,b)|0;break a}if((v[c+8>>2]&3)==2){d=r0(c,b,e+12|0);if(d){break a}d=q0(c,v[e+12>>2]);break a}Oq(c,b);d=0}Ma=e+16|0;if(!d){b=v[v[f+504>>2]+88>>2];c=v[b+16>>2];v[a+12>>2]=v[b+12>>2];v[a+16>>2]=c;v[a+36>>2]=v[b+36>>2];c=v[b+32>>2];v[a+28>>2]=v[b+28>>2];v[a+32>>2]=c;c=v[b+24>>2];v[a+20>>2]=v[b+20>>2];v[a+24>>2]=c}return d|0}function swa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=Ma-16|0;Ma=d;c=v[b+452>>2];a:{if(c){i=A[b+456>>3];f=v[b+448>>2];b:{if((c|0)<1){break b}b=0;if((c|0)!=1){g=c&-2;while(1){e=b<<3;h=e+f|0;A[h>>3]=A[h>>3]/72*25.4;e=(e|8)+f|0;A[e>>3]=A[e>>3]/72*25.4;b=b+2|0;g=g-2|0;if(g){continue}break}}if(!(c&1)){break b}b=(b<<3)+f|0;A[b>>3]=A[b>>3]/72*25.4}b=v[a+104>>2];Qa[v[v[b>>2]+128>>2]](b,f,c)|0;b=v[a+104>>2];t[d+8|0]=5;c=d+8|0;Qa[v[v[b>>2]+76>>2]](b,c)|0;a=v[a+104>>2];A[d+8>>3]=i/72*25.4;break a}b=v[a+104>>2];t[d+8|0]=0;c=d+8|0;Qa[v[v[b>>2]+76>>2]](b,c)|0;a=v[a+104>>2];v[d+8>>2]=0;v[d+12>>2]=0}Qa[v[v[a>>2]+108>>2]](a,c)|0;Ma=d+16|0}function sG(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=ab(24);v[h+12>>2]=e;v[h+8>>2]=d;v[h>>2]=927256;v[h+4>>2]=0;i=d+7>>3;v[h+16>>2]=i;a:{if(!((d|0)<1|(e|0)<1)){f=e;g=f;if((f|0)<(2147483646/(i|0)|0)){break a}}v[h+12>>2]=-1;v[h+16>>2]=2;i=2;g=-1}f=g;f=B(f,i);g=si(f+1|0);v[h+20>>2]=g;t[f+g|0]=0;l=eb(g,0,f);if(!(!e|!d)){while(1){k=c+j|0;if((k|0)>=0){m=B(i,j);f=0;while(1){g=b+f|0;if(!((g|0)<0|(g|0)>=v[a+8>>2]|(!(w[v[a+20>>2]+(B(v[a+16>>2],k)+(g>>>3|0)|0)|0]>>>((g^-1)&7)&1)|v[a+12>>2]<=(k|0)))){g=((f>>3)+m|0)+l|0;t[g|0]=w[g|0]|1<<((f^-1)&7)}f=f+1|0;if((f|0)!=(d|0)){continue}break}}j=j+1|0;if((j|0)!=(e|0)){continue}break}}return h}function pB(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{if(!(b>0)){break b}e=v[a>>2];if(e>>>0<2){break b}i=v[a+12>>2];f=e-2|0;if(!f){e=2;break a}d=e;while(1){g=A[(v[(f>>>4&268435452)+i>>2]+B(f&63,24)|0)+16>>3];if(!(g>b)){if(d){e=d-1|0;v[a>>2]=e;d=e}else{d=0}b=b-g;f=f-1|0;if(f){continue}}break}if(e>>>0>1){break a}v[a>>2]=0}return}d=e-2|0;f=v[(d>>>4&268435452)+i>>2]+B(d&63,24)|0;j=A[f>>3];h=A[f+8>>3];g=A[f+16>>3];b=(g-b)/g;e=e-1|0;d=v[(e>>>4&268435452)+i>>2]+B(e&63,24)|0;g=h+b*(A[d+8>>3]-h);A[d+8>>3]=g;b=j+b*(A[d>>3]-j);A[d>>3]=b;b=b-A[f>>3];h=b*b;b=g-A[f+8>>3];b=K(h+b*b);d=b>1e-14;A[f+16>>3]=d?b:1e14;if(!d){v[a>>2]=e}vw(a,(c|0)!=0)}function XO(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=Ma-16|0;Ma=c;v[a>>2]=998788;nD(a+4|0);v[a+24>>2]=0;v[a+28>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a+40>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;v[a>>2]=999108;eb(a+52|0,0,47);b=v[a+4>>2];v[c+8>>2]=b;v[b+4>>2]=v[b+4>>2]+1;e=SN(v[c+8>>2],cf(1187436));b=v[c+8>>2];d=v[b+4>>2]-1|0;v[b+4>>2]=d;if((d|0)==-1){Qa[v[v[b>>2]+8>>2]](b)}if(e){b=v[a+4>>2];v[c>>2]=b;v[b+4>>2]=v[b+4>>2]+1;f=a,g=WO(c),v[f+68>>2]=g;b=v[c>>2];d=v[b+4>>2]-1|0;v[b+4>>2]=d;if((d|0)==-1){Qa[v[v[b>>2]+8>>2]](b)}b=v[a+68>>2];f=a,g=Qa[v[v[b>>2]+28>>2]](b)|0,t[f+98|0]=g}Qa[v[v[a>>2]+12>>2]](a,0,4096)|0;Ma=c+16|0;return a}function EIa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=Ma+-64|0;Ma=d;Qa[v[b+60>>2]](b,d+16|0,4,d+12|0);c=v[d+12>>2];a:{if((c|0)<0){c=162;break a}if(!c){c=3;break a}if((c|0)>4){c=3;break a}c=TA(a,0,c);v[d+8>>2]=c;if(c){break a}if(v[d+12>>2]<1){c=0;break a}h=v[a+100>>2];i=v[a+532>>2];while(1){a=(d+16|0)+B(f,12)|0;c=v[a>>2];if(w[c|0]==47){c=c+1|0;v[a>>2]=c}g=v[a+4>>2]-c|0;if(!g){c=3;break a}e=(f<<2)+i|0;c=v[e+8>>2];if(c?c:0){Qa[v[h+8>>2]](h,c)}c=e;e=cc(h,g+1|0,d+8|0);v[c+8>>2]=e;c=v[d+8>>2];if(c){break a}j=cb(e,v[a>>2],g)+g|0,k=0,t[j|0]=k;f=f+1|0;if((f|0)>2]){continue}break}c=v[d+8>>2]}v[b+12>>2]=c;Ma=d- -64|0}function uJ(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=a>>31|1;h=(b|0)<0?0-f|0:f;f=2147483647;e=c>>31;e=e+c^e;a:{if(!e){break a}b:{d=b;b=b>>31;b=d+b^b;d=a;a=a>>31;a=d+a^a;if(b+a>>>0<=131071){a=B(a,b);break b}d=b>>>16|0;g=a&65535;i=B(d,g);j=a>>>16|0;k=b&65535;a=i+B(j,k)|0;b=a<<16;d=(B(d,j)+(a>>>16|0)|0)+((a>>>0>>0)<<16)|0;a=b+B(g,k)|0;b=d+(b>>>0>a>>>0)|0;if(!b){break b}if(b>>>0>=e>>>0){break a}d=E(b);g=32-d|0;b=a>>>g|b<>>0)/(e>>>0)|0;b=b-B(f,e)|0;a=a<>>31;b=d-(e>>>0>d>>>0?0:e)|0;f=f<<1|e>>>0<=d>>>0;a=a<<1;g=g-1|0;if(g){continue}break}break a}f=(a>>>0)/(e>>>0)|0}return(((c|0)<0?0-h|0:h)|0)<0?0-f|0:f}function Qw(a,b,c){var d=0,e=0,f=0,g=0;gd(c,kb(c)<<1);a:{b:{if(!kb(c)){if((kb(c)|0)!=1349415968){break b}f=kb(c);if(f){while(1){if(kb(c)){break a}d=kb(c);e=kb(c);c:{d:{if((d|0)!=1450341475){if((d|0)!=1215461998){break d}d=a;if((e|0)!=1433302086){break c}if((kb(c)|0)==592474723){break c}O(53502,6490,1287,194412);L()}d=b;if((e|0)!=1433302086){break c}if((kb(c)|0)==592474723){break c}O(53502,6490,1300,194412);L()}O(3794,6490,1308,194412);L()}f=f-1|0;g=Lc(c);e:{if(D(g)<2147483648){e=~~g;break e}e=-2147483648}v[d>>2]=e;if(f){continue}break}}return}O(11805,6490,1263,194412);L()}O(54713,6490,1266,194412);L()}O(11805,6490,1274,194412);L()}function n$(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(t[a+741|0]&1){a:{g=v[a+736>>2];c=v[g+56>>2];e=x[c>>1];if(!e){break a}b=v[c+24>>2];i=b+B(e,12)|0;e=0;while(1){h=m$(a,v[b>>2]);d=gJ(a,c+4|0,x[b+4>>1],x[b+6>>1]);b:{c:{if(!h){break c}u[h>>1]=x[b+8>>1]+d;c=v[b>>2];if((c|0)==1751216995){break b}if((c|0)!=1751934832){if((c|0)!=1751413603){break c}f=d;break c}j=d}d=e}b=b+12|0;if(i>>>0<=b>>>0){break a}c=v[g+56>>2];e=d;continue}}e=x[a+72>>1];f=e+f|0;u[a+72>>1]=f;b=d;d=x[a+70>>1];b=b+d|0;u[a+70>>1]=b;c=u[a+486>>1];u[a+82>>1]=c;u[a+80>>1]=x[a+484>>1]+((c|0)/-2|0);u[a+74>>1]=(b+(e+((x[a+74>>1]+j|0)-d|0)|0)|0)-f;f0(a+108|0,2015)}}function gL(a,b){var c=0,d=0,e=0;Qa[v[v[b>>2]+16>>2]](b,23306,1,6)|0;c=v[a+16>>2];Qa[v[v[b>>2]+44>>2]](b,c&255)|0;Qa[v[v[b>>2]+44>>2]](b,c>>>8&255)|0;c=v[a+20>>2];Qa[v[v[b>>2]+44>>2]](b,c&255)|0;Qa[v[v[b>>2]+44>>2]](b,c>>>8&255)|0;c=b;if(v[a+44>>2]){d=x[a+26>>1]-1|0;d=d<<5|d|-128}else{d=17}Qa[v[v[b>>2]+44>>2]](c,d&255)|0;c=0;Qa[v[v[b>>2]+44>>2]](b,0)|0;Qa[v[v[b>>2]+44>>2]](b,0)|0;a:{if(!v[a+44>>2]){break a}d=v[a+44>>2];if(!d){break a}e=v[a+4>>2];e=e?d?e+40|0:0:0;while(1){d=(c<<2)+e|0;Qa[v[v[b>>2]+44>>2]](b,w[d+2|0])|0;Qa[v[v[b>>2]+44>>2]](b,w[d+1|0])|0;Qa[v[v[b>>2]+44>>2]](b,w[d|0])|0;c=c+1|0;if(c>>>0>2]){continue}break}}}function dL(a,b,c,d,e,f,g){var h=0;h=Ma-16|0;Ma=h;a:{b:{switch(w[c+16|0]-8|0){case 24:c=0;if((e|0)<=0){break a}while(1){Qa[v[v[d>>2]+12>>2]](d,h+8|0,4,1,0,0)|0;t[b|0]=w[h+8|0];t[b+1|0]=w[h+9|0];t[b+2|0]=w[h+10|0];ah(a,c+g|0,f,w[h+11|0]);b=b+3|0;c=c+1|0;if((e|0)!=(c|0)){continue}break};break a;case 0:Qa[v[v[d>>2]+12>>2]](d,b,e,1,0,0)|0;break a;case 7:case 8:a=0;if((e|0)<=0){break a}while(1){Qa[v[v[d>>2]+12>>2]](d,h+14|0,2,1,0,0)|0;c=x[h+14>>1];t[b|0]=c<<3;t[b+2|0]=c>>>7&248;t[b+1|0]=c>>>2&248;b=b+3|0;a=a+1|0;if((e|0)!=(a|0)){continue}break};break a;case 16:break b;default:break a}}Qa[v[v[d>>2]+12>>2]](d,b,B(e,3),1,0,0)|0}Ma=h+16|0}function _F(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=v[a+3524>>2];a:{while(1){e=a;b:{if(c){d=v[a+3520>>2];c=c-1|0;break b}c:{c=v[a+4>>2];d=Qa[v[v[c>>2]+28>>2]](c)|0;if((d|0)!=255){if((d|0)==-1){break a}break c}while(1){c=v[a+4>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;if((c|0)==255){continue}break}if(!c){break c}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,273383,0);return 9999}v[a+3520>>2]=d;c=7}v[e+3524>>2]=c;f=f+1|0;e=(f<<1)+b|0;g=x[e+18>>1];h=d>>>c&1|h<<1&131070;d=h&65535;if(g>>>0<=d>>>0){i=x[e+52>>1];e=d-g|0;if((i|0)>(e|0)){return w[((w[b+f|0]+(e&65535)|0)+b|0)+86|0]}if((f|0)!=16){continue}}break}fb(1,Qa[v[v[a>>2]+52>>2]](a)|0,257880,0)}return 9999}function Wt(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=1;j=v[a+16>>2];a:{if((j|0)>=1){k=v[a+24>>2];b=v[k>>2];e=v[b>>2];v[a>>2]=e;f=v[b+4>>2];v[a+4>>2]=f;g=(B(v[b+8>>2],v[b+16>>2]-1|0)+e|0)+1|0;v[a+8>>2]=g;h=(B(v[b+12>>2],v[b+20>>2]-1|0)+f|0)+1|0;v[a+12>>2]=h;if((j|0)==1){break a}while(1){c=v[(d<<2)+k>>2];b=v[c>>2];if((b|0)<(e|0)){v[a>>2]=b;e=b}i=v[c+4>>2];if((i|0)<(f|0)){v[a+4>>2]=i;f=i}b=b+B(v[c+8>>2],v[c+16>>2]-1|0)|0;if((b|0)>=(g|0)){g=b+1|0;v[a+8>>2]=g}b=B(v[c+12>>2],v[c+20>>2]-1|0)+i|0;if((b|0)>=(h|0)){h=b+1|0;v[a+12>>2]=h}d=d+1|0;if((j|0)!=(d|0)){continue}break}break a}v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0}}function $V(a,b,c){var d=0,e=0,f=0;d=Ma-48|0;Ma=d;v[d+32>>2]=13;v[d+16>>2]=13;v[d>>2]=13;if(v[b>>2]==7){a:{if(v[ib(v[b+8>>2],311641,d+32|0,0)>>2]==3){c=kl(ab(12),v[d+40>>2]);break a}e=d+32|0;bb(e);if(v[ib(v[b+8>>2],311732,e,0)>>2]==3){c=kl(ab(12),v[d+40>>2]);break a}if(!(!c|v[c>>2]!=3)){c=kl(ab(12),v[c+8>>2]);break a}f=ab(8);e=Rb(f,313246);c=kl(ab(12),e);Bb(e);$a(f)}bb(d+32|0);b:{if(v[ib(v[b+8>>2],311682,d+16|0,0)>>2]==7){if(v[Yd(v[d+24>>2],311732,d)>>2]==9){b=v[a+152>>2];if(!b){e=ab(16);b=hc(e);v[a+152>>2]=e}a=ab(24);v[a>>2]=c;v[a+8>>2]=13;ee(d,a+8|0);Ib(b,a);bb(d);break b}$a(mc(c));bb(d);break b}$a(mc(c))}bb(d+16|0)}Ma=d+48|0}function e0(a){var b=0,c=0,d=0;if(a){c=v[a>>2];b=c;d=v[a+24>>2];if(d){Qa[v[b+8>>2]](b,d)}v[a+24>>2]=0;b=v[a+28>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+28>>2]=0;b=v[a+32>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+32>>2]=0;b=v[a+40>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+40>>2]=0;b=v[a+52>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+20>>2]=0;v[a+36>>2]=0;v[a+44>>2]=0;v[a+48>>2]=0;v[a+52>>2]=0;v[a+12>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a+88>>2]=0;d=v[a+32>>2];b=a- -64|0;v[b>>2]=v[a+28>>2];v[b+4>>2]=d;b=v[a+24>>2];v[a+56>>2]=v[a+20>>2];v[a+60>>2]=b;b=v[a+40>>2];v[a+72>>2]=v[a+36>>2];v[a+76>>2]=b;b=v[a+48>>2];v[a+80>>2]=v[a+44>>2];v[a+84>>2]=b;if(a){Qa[v[c+8>>2]](c,a)}}}function Vl(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;g=Ma-16|0;Ma=g;v[g+8>>2]=b;b=0;h=6;a:{b:{if(jg(a,g+8|0)){break b}h=4;i=d;f=v[a>>2];j=v[f+12>>2];c:{if((j|0)==v[f+16>>2]){f=Qa[v[v[f>>2]+36>>2]](f)|0;break c}f=v[j>>2]}if(!(Qa[v[v[d>>2]+12>>2]](i,2048,f)|0)){break b}b=Qa[v[v[d>>2]+52>>2]](d,f,0)|0;while(1){d:{Yf(a);b=b-48|0;if(!Lh(a,g+8|0)|(e|0)<2){break d}i=d;f=v[a>>2];h=v[f+12>>2];e:{if((h|0)==v[f+16>>2]){f=Qa[v[v[f>>2]+36>>2]](f)|0;break e}f=v[h>>2]}if(!(Qa[v[v[d>>2]+12>>2]](i,2048,f)|0)){break a}e=e-1|0;b=(Qa[v[v[d>>2]+52>>2]](d,f,0)|0)+B(b,10)|0;continue}break}h=2;if(!jg(a,g+8|0)){break a}}v[c>>2]=v[c>>2]|h}Ma=g+16|0;return b}function GXa(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,j=0,k=0;a:{if(f){j=c<<1;k=b<<1;if(((c+1|0)/2|0)<=(b|0)){if(!d){break a}a=0;while(1){t[g|0]=w[f|0];t[g+1|0]=w[f+1|0];t[g+2|0]=w[f+2|0];i=g;h=w[f+3|0];b=w[e+3|0];if((h|0)!=(b|0)){b=b+((B(h-b|0,k)+c|0)/(j|0)|0)|0}t[i+3|0]=b;f=f+4|0;e=e+4|0;g=g+4|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}break a}if(!d){break a}a=0;while(1){t[g|0]=w[e|0];t[g+1|0]=w[e+1|0];t[g+2|0]=w[e+2|0];i=g;h=w[f+3|0];b=w[e+3|0];if((h|0)!=(b|0)){b=b+((B(h-b|0,k)+c|0)/(j|0)|0)|0}t[i+3|0]=b;f=f+4|0;e=e+4|0;g=g+4|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}break a}cb(g,e,d<<2)}return 0}function v3(a){a=a|0;a=eb(a,0,190648);v[a+16>>2]=-1;v[a+20>>2]=-1;v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=1025744;v[a+24>>2]=-1;v[a+28>>2]=-1;v[a+104>>2]=0;v[a+108>>2]=1072693248;v[a+56>>2]=1065353216;v[a+48>>2]=0;v[a+40>>2]=0;v[a+44>>2]=1;v[a+32>>2]=0;v[a+36>>2]=0;v[a+96>>2]=0;v[a+100>>2]=1072693248;v[a+88>>2]=0;v[a+92>>2]=1072693248;v[a+128>>2]=0;v[a+132>>2]=0;v[a+120>>2]=0;v[a+124>>2]=1074921472;v[a+112>>2]=-858993459;v[a+116>>2]=1071434956;v[a+80>>2]=0;v[a+84>>2]=1072693248;v[a+136>>2]=0;v[a+140>>2]=0;v[a+144>>2]=0;v[a+148>>2]=0;v[a+204>>2]=0;v[a+168>>2]=1;v[a+172>>2]=8;v[a+200>>2]=0;v[a+208>>2]=-1;v[a+212>>2]=-1;v[a+224>>2]=-1}function xs(a,b,c){var d=0,e=0,f=0,g=0,h=0;g=Ma-256|0;Ma=g;a:{if(v[a+328>>2]>0){while(1){e=v[((d<<2)+a|0)+196>>2];Qa[v[v[e>>2]+16>>2]](e,b,(d<<3)+g|0);d=d+1|0;if((d|0)>2]){continue}break}d=0;b=v[a+8>>2];if((Qa[v[v[b>>2]+28>>2]](b)|0)<=0){break a}while(1){e=(d<<2)+c|0;f=A[(d<<3)+g>>3]*65536;b:{if(D(f)<2147483648){b=~~f;break b}b=-2147483648}v[e>>2]=b;b=v[a+8>>2];d=d+1|0;if((Qa[v[v[b>>2]+28>>2]](b)|0)>(d|0)){continue}break}break a}if(v[a+324>>2]<=0){break a}while(1){h=(d<<2)+c|0;f=A[(d<<3)+b>>3]*65536;c:{if(D(f)<2147483648){e=~~f;break c}e=-2147483648}v[h>>2]=e;d=d+1|0;if((d|0)>2]){continue}break}}Ma=g+256|0}function uo(a,b,c){var d=0,e=0,f=0,g=0,h=0;g=Ma-256|0;Ma=g;a:{if(v[a+320>>2]>0){while(1){e=v[((d<<2)+a|0)+188>>2];Qa[v[v[e>>2]+16>>2]](e,b,(d<<3)+g|0);d=d+1|0;if((d|0)>2]){continue}break}d=0;b=v[a+8>>2];if((Qa[v[v[b>>2]+28>>2]](b)|0)<=0){break a}while(1){e=(d<<2)+c|0;f=A[(d<<3)+g>>3]*65536;b:{if(D(f)<2147483648){b=~~f;break b}b=-2147483648}v[e>>2]=b;b=v[a+8>>2];d=d+1|0;if((Qa[v[v[b>>2]+28>>2]](b)|0)>(d|0)){continue}break}break a}if(v[a+316>>2]<=0){break a}while(1){h=(d<<2)+c|0;f=A[(d<<3)+b>>3]*65536;c:{if(D(f)<2147483648){e=~~f;break c}e=-2147483648}v[h>>2]=e;d=d+1|0;if((d|0)>2]){continue}break}}Ma=g+256|0}function Sj(a,b){if(a>>>0<=127){t[b|0]=a;return b+1|0}if(a>>>0<=2047){t[b+1|0]=a&63|128;t[b|0]=a>>>6|192;return b+2|0}if(a>>>0<=65535){t[b+2|0]=a&63|128;t[b|0]=a>>>12|224;t[b+1|0]=a>>>6&63|128;return b+3|0}if(a>>>0<=2097151){t[b+3|0]=a&63|128;t[b|0]=a>>>18|240;t[b+2|0]=a>>>6&63|128;t[b+1|0]=a>>>12&63|128;return b+4|0}if(a>>>0<=67108863){t[b+4|0]=a&63|128;t[b|0]=a>>>24|248;t[b+3|0]=a>>>6&63|128;t[b+2|0]=a>>>12&63|128;t[b+1|0]=a>>>18&63|128;return b+5|0}if((a|0)>=0){t[b+5|0]=a&63|128;t[b|0]=a>>>30|252;t[b+4|0]=a>>>6&63|128;t[b+3|0]=a>>>12&63|128;t[b+2|0]=a>>>18&63|128;t[b+1|0]=a>>>24&63|128;return b+6|0}t[b|0]=63;return b+1|0}function tda(a,b){a=a|0;b=b|0;var c=0;Qa[v[v[a>>2]+24>>2]](a)|0;b=WO(b);v[a+68>>2]=b;c=w[a+98|0];b=Qa[v[v[b>>2]+28>>2]](b)|0;t[a+98|0]=b;if((b|0)!=(c|0)){v[a+16>>2]=0;v[a+12>>2]=0;v[a+8>>2]=0;v[a+28>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;b=w[a+96|0];if(w[a+98|0]){a:{if(!b){break a}b=v[a+32>>2];if(!b){break a}$a(b)}t[a+96|0]=w[a+97|0];v[a+52>>2]=v[a+60>>2];b=v[a+56>>2];v[a+56>>2]=0;v[a+60>>2]=0;v[a+32>>2]=b;t[a+97|0]=0;return}b:{if(b){break b}b=v[a+32>>2];if((b|0)==(a+44|0)){break b}t[a+97|0]=0;v[a+56>>2]=b;b=v[a+52>>2];v[a+60>>2]=b;b=ab(b);t[a+96|0]=1;v[a+32>>2]=b;return}b=v[a+52>>2];v[a+60>>2]=b;b=ab(b);t[a+97|0]=1;v[a+56>>2]=b}}function DV(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=Ma-16|0;Ma=c;v[c>>2]=13;a:{if(v[b>>2]!=9){break a}e=v[a+112>>2];if(v[e+8>>2]<1){break a}while(1){b:{c:{d:{d=v[v[e>>2]+(h<<2)>>2];switch(v[d>>2]-6|0){case 0:break c;case 3:break d;default:break b}}if(v[b+8>>2]!=v[d+8>>2]|v[b+12>>2]!=v[d+12>>2]){break b}i=1;fb(1,-1,235644,0);break a}f=0;g=v[d+8>>2];if(v[g+12>>2]<=0){break b}while(1){Nf(g,f,c);if(!(v[c>>2]!=9|v[b+8>>2]!=v[c+8>>2]|v[b+12>>2]!=v[c+12>>2])){i=1;fb(1,-1,235644,0);bb(c);break a}bb(c);f=f+1|0;g=v[d+8>>2];if((f|0)>2]){continue}break}e=v[a+112>>2]}h=h+1|0;if((h|0)>2]){continue}break}}Ma=c+16|0;return i}function B1(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=c-b|0;g=f>>3;e=v[a+8>>2];d=v[a>>2];if(g>>>0<=e-d>>3>>>0){f=v[a+4>>2];e=f-d|0;h=e>>3;e=g>>>0>h>>>0?b+e|0:c;if((e|0)!=(b|0)){while(1){v[d>>2]=v[b>>2];v[d+4>>2]=v[b+4>>2];d=d+8|0;b=b+8|0;if((e|0)!=(b|0)){continue}break}}if(g>>>0>h>>>0){b=c-e|0;if((b|0)>=1){f=cb(f,e,b)+b|0}v[a+4>>2]=f;return}v[a+4>>2]=d;return}if(d){v[a+4>>2]=d;$a(d);v[a+8>>2]=0;v[a>>2]=0;v[a+4>>2]=0;e=0}a:{if((f|0)<=-1){break a}c=e>>2;c=e>>3>>>0<268435455?c>>>0>>0?g:c:536870911;if(c>>>0>=536870912){break a}d=c<<3;c=ab(d);v[a>>2]=c;v[a+4>>2]=c;v[a+8>>2]=c+d;if((f|0)>=1){c=cb(c,b,f)+f|0}v[a+4>>2]=c;return}Jc();L()}function NX(a,b,c){var d=0,e=0,f=0;if(!a){return 0}a:{if(!b){b:while(1){b=f;while(1){if(v[a+4>>2]!=14){f=0;d=Mv(a,0,c,1);if(!d){break a}c:{d:{if(!b){e=0;b=d;break d}f=b;if((d|0)==(e|0)){break c}v[e+24>>2]=d}v[d+28>>2]=e;e=d;f=b}a=v[a+24>>2];if(a){continue b}break a}a=v[a+24>>2];if(a){continue}break}break}return b}while(1){e:{f:{g:{if(v[a+4>>2]==14){d=v[b+44>>2];if(!d){d=yH(a);if(d){break f}return 0}Df(c,d);break g}d=Mv(a,b,c,1)}if(d){break e}return 0}v[d+20>>2]=c;v[d+32>>2]=b;v[b+44>>2]=d;Df(c,d)}h:{i:{if(!f){e=0;f=d;break i}if((d|0)==(e|0)){break h}v[e+24>>2]=d}v[d+28>>2]=e;e=d}a=v[a+24>>2];if(a){continue}break}}return f}function Lx(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0;i=Ma-240|0;Ma=i;h=v[d>>2];v[i+232>>2]=h;d=v[d+4>>2];v[i>>2]=a;v[i+236>>2]=d;l=0-b|0;a:{b:{c:{d:{if((h|0)!=1){h=a;j=1;break d}h=a;j=1;if(d){break d}d=a;break c}while(1){d=h-v[(e<<2)+g>>2]|0;if((Qa[c|0](d,a)|0)<1){d=h;break c}e:{if(!((e|0)<2|f)){f=v[((e<<2)+g|0)-8>>2];k=h+l|0;if((Qa[c|0](k,d)|0)>-1){break e}if((Qa[c|0](k-f|0,d)|0)>-1){break e}}v[(j<<2)+i>>2]=d;f=i+232|0;k=f;h=w3a(v[f>>2]-1|0);if(!h){f=w3a(v[f+4>>2]);h=f?f+32|0:0}Mx(k,h);j=j+1|0;e=e+h|0;f=0;h=d;if(v[i+236>>2]|v[i+232>>2]!=1){continue}break b}break}d=h;break b}if(f){break a}}yP(b,i,j);OD(d,b,c,e,g)}Ma=i+240|0}function A1(a){var b=0,c=0,d=0;c=Ma-16|0;Ma=c;v[a+4>>2]=0;v[c+12>>2]=0;b=gb(84);if(!b){d=v[a>>2];v[d+20>>2]=56;v[d+24>>2]=0;Qa[v[v[a>>2]>>2]](a)}v[b+48>>2]=1e9;v[b+40>>2]=181;v[b+36>>2]=182;v[b+32>>2]=183;v[b+28>>2]=184;v[b+24>>2]=185;v[b+20>>2]=186;v[b+16>>2]=187;v[b+12>>2]=188;v[b+8>>2]=189;v[b+4>>2]=190;v[b>>2]=191;v[b+52>>2]=0;v[b+56>>2]=0;v[b+44>>2]=0;v[b+76>>2]=84;v[b+60>>2]=0;v[b+64>>2]=0;v[b+68>>2]=0;v[b+72>>2]=0;v[a+4>>2]=b;a=ii(2943);a:{if(!a){break a}t[c+11|0]=120;v[c>>2]=c+12;v[c+4>>2]=c+11;if((df(a,7847,c)|0)<1){break a}a=v[c+12>>2];if((w[c+11|0]&223)==77){a=B(a,1e3);v[c+12>>2]=a}v[b+44>>2]=B(a,1e3)}Ma=c+16|0}function yM(){var a=0;a=Ma-16|0;Ma=a;v[a+8>>2]=595;v[a+4>>2]=596;v[a>>2]=597;Ml(0,2061,2061,8165,a);v[a+8>>2]=598;v[a+4>>2]=599;v[a>>2]=600;Ml(1,9689,9689,14477,a);Ml(1,9689,15705,14477,a);Ml(1,9689,18152,14477,a);v[a+8>>2]=601;v[a+4>>2]=602;v[a>>2]=603;Ml(2,20564,20564,23757,a);v[a+8>>2]=604;v[a+4>>2]=605;v[a>>2]=606;Ml(3,24804,24804,27484,a);v[a+8>>2]=607;v[a+4>>2]=608;v[a>>2]=609;Ml(4,29173,29173,30662,a);v[a+8>>2]=610;v[a+4>>2]=611;v[a>>2]=612;Ml(5,31921,31921,33908,a);v[a+8>>2]=613;v[a+4>>2]=614;v[a>>2]=615;Ml(6,34713,34713,36910,a);v[a+8>>2]=616;v[a+4>>2]=617;v[a>>2]=618;Ml(7,37207,37207,39057,a);Ma=a+16|0;return 0}function u5(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=v[a>>2];f=g;d=v[a+4>>2];if((d|0)<=(g|0)){d=d+128|0;f=ph(v[a+8>>2],d<<2);if(!f){return-1}v[a+8>>2]=f;v[a+4>>2]=d;f=v[a>>2]}a:{if((f|0)<=(g|0)){break a}d=f;e=d-g&3;if(e){while(1){c=v[a+8>>2];h=c+(d<<2)|0;d=d-1|0;v[h>>2]=v[c+(d<<2)>>2];e=e-1|0;if(e){continue}break}}if((g^-1)+f>>>0<3){break a}while(1){h=d<<2;e=h-4|0;c=v[a+8>>2];v[h+c>>2]=v[c+e>>2];c=v[a+8>>2];i=c+e|0;e=c;c=h-8|0;v[i>>2]=v[e+c>>2];e=c;c=v[a+8>>2];i=e+c|0;e=c;c=h-12|0;v[i>>2]=v[e+c>>2];e=c;c=v[a+8>>2];d=d-4|0;v[e+c>>2]=v[c+(d<<2)>>2];if((d|0)>(g|0)){continue}break}}v[v[a+8>>2]+(g<<2)>>2]=b;v[a>>2]=f+1;return 0}function VF(a,b){var c=0,d=0,e=0,f=0;a:while(1){b:{d=v[a+36>>2];c=v[a+32>>2];e=d-c|0;c:{if((e|0)>=4){if(Kb(c,326437,4)){break c}e=c+4|0;v[a+32>>2]=e;if(e>>>0<=d-3>>>0){f=d-2|0;c=e;while(1){if(!Kb(c,313358,3)){d=ab(24);f=ab(8);Uh(f,e,c-e|0);v[d+20>>2]=f;v[d>>2]=960024;v[d+12>>2]=0;v[d+16>>2]=0;v[d+4>>2]=0;v[d+8>>2]=0;Qa[v[v[b>>2]+48>>2]](b,d);v[a+32>>2]=v[a+32>>2]+3;continue a}c=c+1|0;v[a+32>>2]=c;if((c|0)!=(f|0)){continue}break}}v[a+32>>2]=d;continue}if((e|0)<2){break b}}if(Kb(c,313245,2)){break b}ZT(a,b);continue}d:{if(d>>>0<=c>>>0){break d}e=w[c|0]-9|0;if(e>>>0>23|!(1<>2]=c+1;continue}break}}function lLa(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;a:{if((e|0)<1){break a}a=v[a+112>>2];if(!a){break a}j=a&-4;k=a&3;l=a-1>>>0<3;while(1){i=v[v[b>>2]+(c<<2)>>2];a=v[d>>2];g=0;h=j;if(!l){while(1){f=w[g+i|0];t[a+1|0]=f;t[a+2|0]=f;t[a|0]=f;f=w[(g|1)+i|0];t[a+4|0]=f;t[a+5|0]=f;t[a+3|0]=f;f=w[(g|2)+i|0];t[a+7|0]=f;t[a+8|0]=f;t[a+6|0]=f;f=w[(g|3)+i|0];t[a+10|0]=f;t[a+11|0]=f;t[a+9|0]=f;g=g+4|0;a=a+12|0;h=h-4|0;if(h){continue}break}}h=k;if(h){while(1){f=w[g+i|0];t[a+1|0]=f;t[a+2|0]=f;t[a|0]=f;g=g+1|0;a=a+3|0;h=h-1|0;if(h){continue}break}}d=d+4|0;c=c+1|0;a=(e|0)>1;e=e-1|0;if(a){continue}break}}}function hTa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=Ma-32|0;Ma=d;c=x[a+26308>>1];if(c){e=v[249419];b=x[a+26310>>1];while(1){a:{if(!b){b=0;break a}c=0;while(1){b=v[a+26352>>2]+(B(b,f)+c<<3)|0;if((Qa[v[v[a>>2]>>2]](v[a+4>>2],b,2,3)|0)<=2){b:{if(v[a+26160>>2]){break b}v[d+16>>2]=v[a+25208>>2];vb(e,8292,d+16|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,e);break b}g=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[d>>2]=g;v[d+4>>2]=g>>31;vb(e,14622,d)}v[a+26160>>2]=1}if(x[a+25204>>1]!=18761){Fp(b,b,6)}b=x[a+26310>>1];c=c+1|0;if(b>>>0>c>>>0){continue}break}c=x[a+26308>>1]}f=f+1|0;if(f>>>0<(c&65535)>>>0){continue}break}}Ma=d+32|0}function UW(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b=v[a+352>>2];if(!b){break a}e=a;b:{if(!b){break b}c=v[b>>2];if(!c){break b}d=v[b+4>>2];if((d|0)<1){break b}while(1){h=B(g,24);a=h+c|0;if(!(!v[a+20>>2]|!c)){c=v[b+8>>2];while(1){f=c;d=v[a>>2];i=v[a+16>>2];if(i){Qa[2728](i,e,v[a+4>>2],v[a+8>>2],v[a+12>>2]);c=v[b+8>>2]}c:{d:{if((c|0)==(f|0)){a=d;break d}f=v[b>>2]+h|0;if((f|0)!=(a|0)){a=d;break d}if((d|0)!=v[a>>2]){break d}if(!v[f+20>>2]){break c}}if(a){continue}}break}d=v[b+4>>2]}g=g+1|0;if((g|0)>=(d|0)){break b}c=v[b>>2];continue}}a=v[e+352>>2];if(a){a=v[a+8>>2]}else{a=-1}if(a){break a}wl(v[e+352>>2],0);v[e+352>>2]=0}}function D$a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=v[v[a+544>>2]+88>>2];d=v[c+1176>>2]+B(v[c+1168>>2],v[a+572>>2])|0;b=v[a+644>>2];a:{if(w[c+56|0]){if(v[a+588>>2]<=0){break a}while(1){e=w[d+2|0];f=w[d|0];g=w[d+1|0];b:{if(!((f|0)!=x[c+838>>1]|(g|0)!=x[c+840>>1]|x[c+842>>1]!=(e|0))){t[b|0]=0;t[b+1|0]=0;t[b+2|0]=0;t[b+3|0]=0;break b}t[b+3|0]=255;t[b+2|0]=e;t[b+1|0]=g;t[b|0]=f}b=b+4|0;d=d+3|0;h=h+1|0;if((h|0)>2]){continue}break}break a}c=0;if(v[a+588>>2]<=0){break a}while(1){t[b|0]=w[d|0];t[b+1|0]=w[d+1|0];e=w[d+2|0];t[b+3|0]=255;t[b+2|0]=e;b=b+4|0;d=d+3|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function q$(a,b){var c=0,d=0,e=0,f=0,g=0;e=v[a>>2];if(v[a+248>>2]){d=v[a+92>>2]>>6;while(1){f=c<<2;g=xb(v[f+v[e+704>>2]>>2],d);v[v[a+252>>2]+f>>2]=g;c=c+1|0;if(c>>>0>2]){continue}break}}c=v[a+300>>2];d=bJ(c,e,a);if(!d){t[c+565|0]=b;t[c+492|0]=0;v[c+16>>2]=0;v[c+432>>2]=0;b=v[e+696>>2];v[c+460>>2]=v[e+692>>2];v[c+456>>2]=b;v[c+464>>2]=0;v[c+468>>2]=0;d=0;if(v[e+692>>2]){d$(c,2);d=Qa[v[e+708>>2]](c)|0}v[a+308>>2]=d;u[c+304>>1]=0;u[c+296>>1]=0;u[c+298>>1]=16384;u[c+300>>1]=0;u[c+302>>1]=16384;v[c+288>>2]=0;v[c+292>>2]=1073741824;u[c+352>>1]=1;v[c+348>>2]=65537;v[c+308>>2]=1;cb(a+180|0,c+288|0,68);a$(c,a)}return d}function aS(a){a=a|0;var b=0,c=0;v[a>>2]=971668;b=v[a+64>>2];v[a+64>>2]=0;a:{if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[a+60>>2];v[a+60>>2]=0;b:{if(!b){break b}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break b}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}v[a+24>>2]=969400;v[a+48>>2]=969432;b=v[a+52>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Qa[v[v[b>>2]+4>>2]](b)}v[a+52>>2]=0}v[a+40>>2]=969432;b=v[a+44>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Qa[v[v[b>>2]+4>>2]](b)}v[a+44>>2]=0}db(a+32|0);db(a+12|0);bc(a);return a|0}function Xra(a){a=a|0;var b=0,c=0,d=0,e=0;b=ab(96);c=v[a+12>>2];d=v[a+16>>2];d=Qa[v[v[d>>2]+8>>2]](d)|0;v[b+4>>2]=15;v[b+8>>2]=0;v[b+16>>2]=d;v[b+12>>2]=c;v[b>>2]=887792;c=v[a+92>>2];v[b+88>>2]=v[a+88>>2];v[b+92>>2]=c;c=v[a+28>>2];v[b+24>>2]=v[a+24>>2];v[b+28>>2]=c;c=v[a+36>>2];v[b+32>>2]=v[a+32>>2];v[b+36>>2]=c;c=v[a+44>>2];v[b+40>>2]=v[a+40>>2];v[b+44>>2]=c;c=v[a+52>>2];v[b+48>>2]=v[a+48>>2];v[b+52>>2]=c;c=v[a+60>>2];v[b+56>>2]=v[a+56>>2];v[b+60>>2]=c;d=a- -64|0;e=v[d+4>>2];c=b- -64|0;v[c>>2]=v[d>>2];v[c+4>>2]=e;c=v[a+76>>2];v[b+72>>2]=v[a+72>>2];v[b+76>>2]=c;c=v[a+84>>2];v[b+80>>2]=v[a+80>>2];v[b+84>>2]=c;return b|0}function Wya(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,n=0;a:{if((e|0)<1){break a}i=v[a+76>>2];if((i|0)<1){break a}a=v[a+28>>2];if(!a){break a}k=a&-4;l=a&3;m=a-1>>>0<3;while(1){n=e-1|0;g=0;while(1){j=v[v[(g<<2)+c>>2]+(d<<2)>>2];f=v[b>>2];a=0;h=k;if(!m){while(1){t[a+j|0]=w[f+g|0];f=f+i|0;t[(a|1)+j|0]=w[f+g|0];f=f+i|0;t[(a|2)+j|0]=w[f+g|0];f=f+i|0;t[(a|3)+j|0]=w[f+g|0];a=a+4|0;f=f+i|0;h=h-4|0;if(h){continue}break}}h=l;if(h){while(1){t[a+j|0]=w[f+g|0];a=a+1|0;f=f+i|0;h=h-1|0;if(h){continue}break}}g=g+1|0;if((i|0)!=(g|0)){continue}break}d=d+1|0;b=b+4|0;a=(e|0)>1;e=n;if(a){continue}break}}}function sB(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{c:{d=v[a+4>>2];g=v[a>>2];h=(d-g|0)/104|0;c=h+1|0;if(c>>>0<41297763){e=(v[a+8>>2]-g|0)/104|0;f=e<<1;c=e>>>0<20648881?c>>>0>f>>>0?c:f:41297762;if(c){if(c>>>0>=41297763){break c}e=ab(B(c,104))}else{e=0}f=e+B(c,104)|0;c=e+B(h,104)|0;e=cb(c,b,104);b=e+104|0;if((d|0)==(g|0)){break b}while(1){c=c-104|0;d=d-104|0;e=cb(c,d,104);if((d|0)!=(g|0)){continue}break}v[a+8>>2]=f;c=v[a+4>>2];v[a+4>>2]=b;d=v[a>>2];v[a>>2]=e;if((c|0)==(d|0)){break a}while(1){Dh(c-28|0);c=c-104|0;if((d|0)!=(c|0)){continue}break}break a}Jc();L()}Zd(273730);L()}v[a+8>>2]=f;v[a+4>>2]=b;v[a>>2]=e}if(d){$a(d)}}function SC(a,b){var c=0,d=0;a:{b:{if(b>>>0>8){while(1){t[a|0]=w[w[a|0]+82032|0];t[a+1|0]=w[w[a+1|0]+82032|0];t[a+2|0]=w[w[a+2|0]+82032|0];t[a+3|0]=w[w[a+3|0]+82032|0];t[a+4|0]=w[w[a+4|0]+82032|0];t[a+5|0]=w[w[a+5|0]+82032|0];t[a+6|0]=w[w[a+6|0]+82032|0];t[a+7|0]=w[w[a+7|0]+82032|0];a=a+8|0;b=b-8|0;if(b>>>0>8){continue}break b}}if(!b){break a}}d=b-1|0;c=b&3;if(c){while(1){t[a|0]=w[w[a|0]+82032|0];a=a+1|0;b=b-1|0;c=c-1|0;if(c){continue}break}}if(d>>>0<3){break a}while(1){t[a|0]=w[w[a|0]+82032|0];t[a+1|0]=w[w[a+1|0]+82032|0];t[a+2|0]=w[w[a+2|0]+82032|0];t[a+3|0]=w[w[a+3|0]+82032|0];a=a+4|0;b=b-4|0;if(b){continue}break}}}function NJa(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;f=v[a+736>>2];a:{if(!f){d=et(a,0);if(d){break a}f=v[a+736>>2]}if(!v[f+4>>2]){d=XA(a,0,0,1);if(d){break a}}e=v[f>>2];e=b>>>0>e>>>0?e:b;b:{if(w[a+733|0]){if(!e){e=0;break b}h=e&3;f=v[f+8>>2];a=0;if(e-1>>>0>=3){i=e&-4;while(1){d=a<<2;v[d+c>>2]=v[d+f>>2];g=d|4;v[g+c>>2]=v[f+g>>2];g=d|8;v[g+c>>2]=v[f+g>>2];d=d|12;v[d+c>>2]=v[d+f>>2];a=a+4|0;i=i-4|0;if(i){continue}break}}if(!h){break b}while(1){d=a<<2;v[d+c>>2]=v[d+f>>2];a=a+1|0;h=h-1|0;if(h){continue}break}break b}if(!e){e=0;break b}eb(c,0,e<<2)}d=0;if(b>>>0<=e>>>0){break a}eb((e<<2)+c|0,0,b-e<<2)}return d|0}function MIa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=Ma-32|0;Ma=c;a:{if((Qa[v[b+52>>2]](b,6,c,3)|0)<=5){v[b+12>>2]=3;break a}e=v[c+12>>2];if(!e){v[b+12>>2]=3;break a}d=e>>31;d=d+e^d;if((d|0)!=65536){f=a,g=Ub(1e3,d),u[f+68>>1]=g;f=c,g=Ub(v[c>>2],d),v[f>>2]=g;f=c,g=Ub(v[c+4>>2],d),v[f+4>>2]=g;f=c,g=Ub(v[c+8>>2],d),v[f+8>>2]=g;f=c,g=Ub(v[c+16>>2],d),v[f+16>>2]=g;f=c,g=Ub(v[c+20>>2],d),v[f+20>>2]=g;e=v[c+12>>2]<0?-65536:65536;v[c+12>>2]=e}v[a+440>>2]=v[c>>2];v[a+448>>2]=v[c+4>>2];d=v[c+8>>2];v[a+452>>2]=e;v[a+444>>2]=d;if(!gB(a+440|0)){v[b+12>>2]=3;break a}v[a+456>>2]=v[c+16>>2]>>16;v[a+460>>2]=v[c+20>>2]>>16}Ma=c+32|0}function LJa(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;f=v[a+736>>2];a:{if(!f){d=et(a,0);if(d){break a}f=v[a+736>>2]}if(!v[f+4>>2]){d=XA(a,0,0,1);if(d){break a}}e=v[f>>2];e=b>>>0>e>>>0?e:b;b:{if(w[a+733|0]){if(!e){e=0;break b}h=e&3;f=v[f+4>>2];a=0;if(e-1>>>0>=3){i=e&-4;while(1){d=a<<2;v[d+c>>2]=v[d+f>>2];g=d|4;v[g+c>>2]=v[f+g>>2];g=d|8;v[g+c>>2]=v[f+g>>2];d=d|12;v[d+c>>2]=v[d+f>>2];a=a+4|0;i=i-4|0;if(i){continue}break}}if(!h){break b}while(1){d=a<<2;v[d+c>>2]=v[d+f>>2];a=a+1|0;h=h-1|0;if(h){continue}break}break b}if(!e){e=0;break b}eb(c,0,e<<2)}d=0;if(b>>>0<=e>>>0){break a}eb((e<<2)+c|0,0,b-e<<2)}return d|0}function ER(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Ma-48|0;Ma=e;d=(v[a+68>>2]-v[a- -64>>2]|0)+1|0;pi(a+48|0,0,d);c=d;if(!((c|0)>2]|(c|0)>v[a+68>>2])){oi(v[a+52>>2]+(c-v[a+56>>2]<<3)|0,b);d=e+8|0;f=Oc(d,b);h=xj(a+72|0,f),i=c,v[h+24>>2]=i;db(f);g=a+100|0;f=d;d=Oc(e,b);a=ki(f,d,a+12|0);h=il(g,a),i=c,v[h+52>>2]=i;v[a+24>>2]=969432;v[a>>2]=969400;b=v[a+28>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Qa[v[v[b>>2]+4>>2]](b)}v[a+28>>2]=0}v[a+16>>2]=969432;b=v[a+20>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Qa[v[v[b>>2]+4>>2]](b)}v[a+20>>2]=0}db(a+8|0);db(d);Ma=e+48|0;return}lb(mb(e+8|0,227376,271519,619,307493));L()}function $Xa(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,j=0,k=0,l=0,m=0;if(e){m=e-1|0;while(1){t[g|0]=w[f|0];t[g+1|0]=w[f+1|0];h=g+2|0;a=j?(j|0)==(m|0)?d:b:c;a:{if(a>>>0<2){g=h;break a}i=a-1|0;k=i&3;b:{if(a-2>>>0<3){i=h;a=g;break b}l=i&-4;a=g;while(1){t[h|0]=w[f|0];t[a+3|0]=w[f+1|0];t[h+2|0]=w[f|0];t[h+3|0]=w[f+1|0];t[h+4|0]=w[f|0];t[h+5|0]=w[f+1|0];t[h+6|0]=w[f|0];t[h+7|0]=w[f+1|0];a=h+6|0;i=h+8|0;h=i;l=l-4|0;if(l){continue}break}}g=i;if(!k){break a}while(1){h=g;t[h|0]=w[f|0];t[a+3|0]=w[f+1|0];g=h+2|0;a=h;k=k-1|0;if(k){continue}break}}f=f+2|0;j=j+1|0;if((j|0)!=(e|0)){continue}break}}return 0}function zP(a,b){var c=0,d=0;d=Ma-32|0;Ma=d;a:{b:{c:{if(!ye(302523,t[b|0])){v[296206]=28;break c}c=gb(1176);if(c){break b}}c=0;break a}eb(c,0,144);if(!ye(b,43)){v[c>>2]=w[b|0]==114?8:4}d:{if(w[b|0]!=97){b=v[c>>2];break d}b=fa(a|0,3,0)|0;if(!(b&1024)){v[d+16>>2]=b|1024;fa(a|0,4,d+16|0)|0}b=v[c>>2]|128;v[c>>2]=b}t[c+75|0]=255;v[c+48>>2]=1024;v[c+60>>2]=a;v[c+44>>2]=c+152;e:{if(b&8){break e}v[d>>2]=d+24;if(Da(a|0,21523,d|0)|0){break e}t[c+75|0]=10}v[c+40>>2]=4117;v[c+36>>2]=4116;v[c+32>>2]=4118;v[c+12>>2]=4115;if(!v[296208]){v[c+76>>2]=-1}v[c+56>>2]=v[296258];a=v[296258];if(a){v[a+52>>2]=c}v[296258]=c}Ma=d+32|0;return c}function yI(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=Ma-32|0;Ma=c;v[c+16>>2]=b;d=v[a+4>>2];v[c+12>>2]=b;b=Qa[d|0](c+12|0)|0;v[c+24>>2]=v[c+16>>2];j=v[a>>2];f=b&2147483647;e=v[a+28>>2];g=(f^67108864)%(e|0)|0;b=g;d=-1;a:{b:{while(1){k=B(b,12)+j|0;h=v[k>>2];c:{if((h|0)==(f|0)){e=v[a+8>>2];v[c+8>>2]=v[c+24>>2];v[c+4>>2]=v[k+8>>2];if(Qa[e|0](c+8|0,c+4|0)|0){d=b;break a}e=v[a+28>>2];break c}if((h|0)>-1){break c}if((h|0)==-2147483647){break b}d=(d|0)<0?b:d}i=i?i:((f|0)%(e-1|0)|0)+1|0;b=(i+b|0)%(e|0)|0;if((g|0)!=(b|0)){continue}break}if((d|0)>-1){break a}d=g;break a}d=(d|0)>-1?d:b}Ma=c+32|0;return v[(B(d,12)+j|0)+4>>2]}function mE(a,b){var c=0;v[a+8>>2]=0;v[a+12>>2]=1;v[a+4>>2]=b;v[a>>2]=983544;b=v[245893];v[a+56>>2]=v[245892];v[a+60>>2]=b;c=v[245895];b=a- -64|0;v[b>>2]=v[245894];v[b+4>>2]=c;v[a+112>>2]=131072;v[a+116>>2]=131072;v[a+104>>2]=131072;v[a+108>>2]=131072;v[a+96>>2]=65536;v[a+100>>2]=65536;v[a+88>>2]=65536;v[a+92>>2]=65536;v[a+80>>2]=65536;v[a+84>>2]=65536;v[a+72>>2]=65536;v[a+76>>2]=65536;v[a+16>>2]=0;v[a+52>>2]=v[245907];b=v[245906];v[a+44>>2]=v[245905];v[a+48>>2]=b;b=v[245904];v[a+36>>2]=v[245903];v[a+40>>2]=b;b=v[245902];v[a+28>>2]=v[245901];v[a+32>>2]=b;b=v[245900];v[a+20>>2]=v[245899];v[a+24>>2]=b;eb(a+392|0,0,114)}function ln(a){var b=0,c=0,d=0,e=0,f=0;a:{if(!a){break a}if(!w[1164140]){b=gb(4);v[291036]=b;if(!b){break a}t[1164140]=1}b=v[a>>2];v[a>>2]=b-1;if((b|0)>1){break a}b=v[a+20>>2];if(b){ln(b)}b=v[a+4>>2];if(b){c=v[a+8>>2];if(c){d=v[a+12>>2];while(1){if(d){b=v[a+4>>2];f=b+B(e,20)|0;b:{if(!v[f+12>>2]|!b){break b}b=v[f>>2];d=d-1|0;v[a+12>>2]=d;if(!b){break b}while(1){c=v[b>>2];Qa[v[256556]](b);d=v[a+12>>2]-1|0;v[a+12>>2]=d;b=c;if(b){continue}break}c=v[a+8>>2]}e=e+1|0;if(e>>>0>>0){continue}}break}b=v[a+4>>2]}Qa[v[256556]](b)}b=v[a+16>>2];if(b){while(1){c=v[b>>2];Qa[v[256556]](b);b=c;if(b){continue}break}}Qa[v[256556]](a)}}function bb(a){var b=0,c=0,d=0;a:{b:{switch(v[a>>2]-3|0){case 0:b=v[a+8>>2];if(!b){break a}$a(Bb(b));break a;case 1:tb(v[a+8>>2]);break a;case 3:c=v[a+8>>2];b=v[c+16>>2]-1|0;v[c+16>>2]=b;if(b){break a}b=v[a+8>>2];if(!b){break a}$a(hW(b));break a;case 4:d=v[a+8>>2];b=v[d+20>>2]-1|0;v[d+20>>2]=b;if(b){break a}b=v[a+8>>2];if(!b){break a}if(v[b+16>>2]>=1){while(1){d=c<<5;tb(v[d+v[b+4>>2]>>2]);bb((v[b+4>>2]+d|0)+8|0);c=c+1|0;if((c|0)>2]){continue}break}}tb(v[b+4>>2]);tb(v[b+8>>2]);$a(b);break a;case 5:b=v[a+8>>2];if(!b){break a}Qa[v[v[b>>2]+4>>2]](b);break a;case 7:break b;default:break a}}tb(v[a+8>>2])}v[a>>2]=13}function VR(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;g=Ma-48|0;Ma=g;e=a+72|0;f=eh(e);d=v[v[b+12>>2]+((f>>>0)%y[b+8>>2]<<2)>>2];a:{if(d){while(1){if((f|0)==v[d+12>>2]){if(ff(d+16|0,e)){break a}}d=v[d+8>>2];if(d){continue}break}}h=il(b,e),i=0,v[h+52>>2]=i;aE(g,e);d=ki(g+8|0,g,c);Rf(e,d);v[d+24>>2]=969432;v[d>>2]=969400;e=v[d+28>>2];if(e){f=v[e+4>>2]-1|0;v[e+4>>2]=f;if(!f){Qa[v[v[e>>2]+4>>2]](e)}v[d+28>>2]=0}v[d+16>>2]=969432;e=v[d+20>>2];if(e){f=v[e+4>>2]-1|0;v[e+4>>2]=f;if(!f){Qa[v[v[e>>2]+4>>2]](e)}v[d+20>>2]=0}db(d+8|0);db(g);d=v[a+120>>2];if(!d){break a}while(1){VR(v[d+8>>2],b,c);d=v[d>>2];if(d){continue}break}}Ma=g+48|0}function zv(a,b,c){var d=0,e=0,f=0;a:{if(!(w[a+361|0]&32)){break a}d=v[a+328>>2];while(1){e=d;if((d|0)<2){break a}f=v[a+336>>2];d=e-2|0;if(v[f+(d<<2)>>2]!=(b|0)){continue}break}if(v[(f+(e<<2)|0)-4>>2]!=(c|0)){break a}return-2}b:{c:{e=v[a+332>>2];if(e){d=v[a+336>>2];if(d){break c}}v[a+328>>2]=0;v[a+332>>2]=10;d=Qa[v[256552]](40)|0;v[a+336>>2]=d;if(d){break b}Yc(a,0);v[a+332>>2]=0;return-1}if((e|0)>v[a+328>>2]){break b}v[a+332>>2]=e<<1;d=Qa[v[256557]](d,e<<3)|0;if(!d){Yc(a,0);v[a+332>>2]=v[a+332>>2]/2;return-1}v[a+336>>2]=d}f=d;d=v[a+328>>2];e=d<<2;v[f+e>>2]=b;b=d+2|0;v[a+328>>2]=b;v[(e+v[a+336>>2]|0)+4>>2]=c;return b}function gk(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;f=Ma-16|0;Ma=f;v[f+12>>2]=0;e=6;a:{if(!a|!c){break a}g=v[c>>2];if(!g){break a}h=v[g+100>>2];e=cc(h,v[a>>2],f+12|0);b:{if(v[f+12>>2]){break b}i=v[c+4>>2];v[e>>2]=v[c>>2];v[e+4>>2]=i;v[e+8>>2]=v[c+8>>2];v[e+12>>2]=a;c:{a=v[a+4>>2];if(a){a=Qa[a|0](e,b)|0;v[f+12>>2]=a;if(a){break c}}a=v[g+36>>2];a=yb(h,4,a,a+1|0,v[g+40>>2],f+12|0);v[g+40>>2]=a;if(v[f+12>>2]){break c}b=v[g+36>>2];v[g+36>>2]=b+1;v[a+(b<<2)>>2]=e;break b}a=v[v[e>>2]+100>>2];b=v[v[e+12>>2]+8>>2];if(b){Qa[b|0](e)}if(e){Qa[v[a+8>>2]](a,e)}e=0}if(d){v[d>>2]=e}e=v[f+12>>2]}Ma=f+16|0;return e|0}function VD(a,b,c,d,e){var f=0,g=0,h=0,i=0;f=Ma-208|0;Ma=f;v[f+204>>2]=c;c=f+160|0;eb(c,0,40);v[f+200>>2]=v[f+204>>2];a:{if((UD(0,b,f+200|0,f+80|0,c,d,e)|0)<0){b=-1;break a}h=v[a+76>>2]>=0;c=v[a>>2];if(t[a+74|0]<=0){v[a>>2]=c&-33}i=c&32;b:{if(v[a+48>>2]){b=UD(a,b,f+200|0,f+80|0,f+160|0,d,e);break b}v[a+48>>2]=80;g=f+80|0;v[a+16>>2]=g;v[a+28>>2]=f;v[a+20>>2]=f;c=v[a+44>>2];v[a+44>>2]=f;d=UD(a,b,f+200|0,g,f+160|0,d,e);b=d;if(!c){break b}Qa[v[a+36>>2]](a,0,0)|0;v[a+48>>2]=0;v[a+44>>2]=c;v[a+28>>2]=0;v[a+16>>2]=0;b=v[a+20>>2];v[a+20>>2]=0;b=b?d:-1}c=a;a=v[a>>2];v[c>>2]=a|i;b=a&32?-1:b;if(!h){break a}}Ma=f+208|0;return b}function Of(a,b,c,d){var e=0,f=0,g=0,h=0;f=Ma+-64|0;Ma=f;a:{if(v[d>>2]>0){break a}if(!(!c|b?(c|0)>=-1:0)){v[d>>2]=1;break a}if((c|0)<=-1){c=zb(b)}if((c|0)<1){break a}e=v[a+52>>2];g=v[a>>2];h=e+g|0;if((h|0)==(b|0)){if((v[a+4>>2]-e|0)<=(c|0)){v[d>>2]=5;break a}b=c+e|0;v[a+52>>2]=b;t[b+g|0]=0;break a}if(!(b>>>0>>0|b>>>0>=h>>>0|(v[a+4>>2]-e|0)>(c|0))){e=f+8|0;v[e+52>>2]=0;v[e+4>>2]=40;u[e+8>>1]=0;v[e>>2]=e+9;Of(e,b,c,d);a=Of(a,v[e>>2],v[e+52>>2],d);if(!w[e+8|0]){break a}Nd(v[e>>2]);break a}if(!PY(a,(c+e|0)+1|0,d)){break a}cb(v[a>>2]+v[a+52>>2]|0,b,c);b=v[a+52>>2]+c|0;v[a+52>>2]=b;t[b+v[a>>2]|0]=0}Ma=f- -64|0;return a}function s9(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;a:{b:{if(!d){d=v[a+584>>2];if(!d){break b}e=(c|0)/v[d+8>>2]|0;if(v[d>>2]!=2){if(v[d+16>>2]<(e|0)){break a}c=v[d+12>>2];Qa[v[d+20>>2]](d,b,e);b=c}f=v[a+600>>2];c=f-v[a+608>>2]|0;d=v[a+604>>2];if(e){while(1){if((c|0)<=2){v[a+604>>2]=d;v[a+608>>2]=v[a+600>>2]-c;if(!Xd(a)){return-1}d=v[a+604>>2];c=v[a+600>>2]-v[a+608>>2]|0}t[d|0]=x[b+2>>1];t[d+1|0]=v[b>>2]>>>8;t[d+2|0]=v[b>>2];c=c-3|0;d=d+3|0;b=b+4|0;e=e-1|0;if(e){continue}break}f=v[a+600>>2]}v[a+604>>2]=d;v[a+608>>2]=f-c;return 1}O(33866,6284,468,84288);L()}O(25714,6284,469,84288);L()}O(34494,6284,476,84288);L()}function lx(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=a?v[a+40>>2]:0;b=a?v[a+12>>2]:-1;d=a?v[a+4>>2]:-1;if(!((d|0)<1|(b|0)<1)){f=b&-4;g=b&3;h=b-1>>>0<3;while(1){a=f;if(!h){while(1){b=v[c>>2];v[c>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=v[c+4>>2];v[c+4>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=v[c+8>>2];v[c+8>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=v[c+12>>2];v[c+12>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);c=c+16|0;a=a-4|0;if(a){continue}break}}a=g;if(a){while(1){b=v[c>>2];v[c>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);c=c+4|0;a=a-1|0;if(a){continue}break}}e=e+1|0;if((e|0)!=(d|0)){continue}break}}}function JX(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Ma-16|0;Ma=e;c=1;d=v[b>>2];a:{if(w[d|0]!=47){break a}v[e+12>>2]=d+1;b:{if(Bo(e+12|0,0,0)){break b}while(1){d=v[e+12>>2];if(w[d|0]!=47){break b}v[e+12>>2]=d+1;if(!Bo(e+12|0,0,1)){continue}break}break a}c:{if(!a){f=v[e+12>>2];break c}c=v[a+24>>2];if(c){Qa[v[256556]](c)}f=v[e+12>>2];d=v[b>>2];if((f|0)!=(d|0)){c=f-d|0;if(w[a+36|0]&2){if(!(!d|(c|0)<0)){g=Qa[v[256555]](c+1|0)|0;if(!g){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);v[a+24>>2]=0;break c}h=cb(g,d,c)+c|0,i=0,t[h|0]=i}v[a+24>>2]=g;break c}h=a,i=tm(d,c),v[h+24>>2]=i;break c}v[a+24>>2]=0}v[b>>2]=f;c=0}Ma=e+16|0;return c}function sg(a,b,c){var d=0,e=0,f=0,g=0;d=Ma-16|0;Ma=d;a:{b:{if((Qa[v[a+4>>2]](v[a+28>>2],b,d+12|0,1)|0)==1){f=w[d+12|0];break b}e=-1;if(Qa[v[a+24>>2]](v[a+28>>2],b)|0){break a}}c:{d:{e:{if((Qa[v[a+4>>2]](v[a+28>>2],b,d+13|0,1)|0)==1){e=w[d+13|0];g=e<<8|f;break e}if(Qa[v[a+24>>2]](v[a+28>>2],b)|0){break d}e=f;g=B(f,257)}f:{if((Qa[v[a+4>>2]](v[a+28>>2],b,d+14|0,1)|0)==1){e=w[d+14|0];break f}if(Qa[v[a+24>>2]](v[a+28>>2],b)|0){break d}}if((Qa[v[a+4>>2]](v[a+28>>2],b,d+15|0,1)|0)==1){f=w[d+15|0];break c}f=e;if(!(Qa[v[a+24>>2]](v[a+28>>2],b)|0)){break c}}f=0;e=-1;break a}f=e<<16|g|f<<24;e=0}v[c>>2]=f;Ma=d+16|0;return e}function aIa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=Ma-16|0;Ma=f;g=v[a+712>>2];v[f+12>>2]=0;a:{if(!g){break a}e=v[g+3132>>2];if(!e){e=cc(v[a+100>>2],2,f+12|0);c=v[f+12>>2];if(c){break a}u[e>>1]=0;a=Gj(g,v[g+1500>>2]);b:{if(!a){break b}a=Cc(a,279289);if(!a){break b}c=a+7|0;a=Cc(c,273478);if(!a|(a|0)==(c|0)){break b}while(1){c:{d=w[c|0];d:{if((d-48&255)>>>0<=9){d=x[e>>1];if(d>>>0>6551){break c}d=B(d,10);u[e>>1]=d;u[e>>1]=(d+t[c|0]|0)-48;break d}d=d-10|0;if(d>>>0>22|!(1<>1]=0}v[g+3132>>2]=e;c=v[f+12>>2]}u[b>>1]=x[e>>1]}Ma=f+16|0;return c|0}function SVa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=Ma-16|0;Ma=c;v[c+12>>2]=0;a:{if(w[b+32|0]){d=hd(a,v[b>>2],0,0);break a}b:{d=eL(a,v[b+52>>2],v[b+48>>2],c+12|0,c+8|0,c+4|0);c:{if(d){break c}e=v[b+36>>2];g=(e+v[c+4>>2]|0)+2|0;d:{if(g>>>0<=y[a+424>>2]){f=v[a+428>>2]+8|0;break d}f=Qa[v[a+152>>2]](g)|0;if(!f){break b}e=v[b+36>>2]}d=f;if(e){d=cb(f,v[b+40>>2],e)+v[b+36>>2]|0}t[d|0]=0;t[d+1|0]=w[b+44|0];e=v[c+4>>2];if(e){cb(d+2|0,v[c+12>>2],e)}d=hd(a,v[b>>2],g,f);if(y[a+424>>2]>=g>>>0){break c}Qa[v[a+156>>2]](f,g)}b=v[c+12>>2];if(!b){break a}Qa[v[a+156>>2]](b,v[c+8>>2]);break a}d=1;ob(a,1,0,0)}Ma=c+16|0;return d|0}function FA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;if(!a){return 35}e=16;a:{if(x[a+264>>1]<=b>>>0){break a}d=v[a+544>>2];if(!d){return 7}e=0;g=c,h=Qa[v[d+16>>2]](0)|0,v[g>>2]=h;f=c;c=v[a+476>>2];b:{if((c|0)!=151552){if((c|0)!=131072){if((c|0)!=65536|b>>>0>257){break a}a=Qa[v[d+16>>2]](b)|0;break b}if(!w[a+632|0]){if(QZ(a)){break a}}if(x[a+636>>1]<=b>>>0){break a}b=x[v[a+640>>2]+(b<<1)>>1];if(b>>>0<=257){a=Qa[v[d+16>>2]](b)|0;break b}a=v[(v[a+644>>2]+(b<<2)|0)-1032>>2];break b}if(!w[a+632|0]){if(QZ(a)){break a}}if(x[a+636>>1]<=b>>>0){break a}a=Qa[v[d+16>>2]](t[v[a+640>>2]+b|0]+b|0)|0}v[f>>2]=a}return e|0}function QCa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a=v[a+16>>2];c=w[a+8204|0]|w[a+8205|0]<<8|(w[a+8206|0]<<16|w[a+8207|0]<<24);d=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);a:{if(!d){break a}a=a+8208|0;while(1){c=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);e=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(e>>>0>b>>>0){break a}c=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);if((c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))>>>0>>0){a=a+12|0;d=d-1|0;if(!d){break a}continue}break}a=w[a+8|0]|w[a+9|0]<<8|(w[a+10|0]<<16|w[a+11|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);b=b-e|0;f=a>>>0>(b^-1)>>>0?0:a+b|0}return f|0}function Ep(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0;k=1;j=d&2147483647;n=j;i=(j|0)==2147418112;l=c;a:{if(i&!c?a|b:i&(c|0)!=0|j>>>0>2147418112){break a}i=h&2147483647;o=i;m=(i|0)==2147418112;j=g;if(m&!g?e|f:m&(g|0)!=0|i>>>0>2147418112){break a}if(!(a|e|(j|l)|(b|f|(n|o)))){return 0}l=d&h;if((l|0)>0|(l|0)>=0){k=-1;if((c|0)==(g|0)&(d|0)==(h|0)?(b|0)==(f|0)&a>>>0>>0|b>>>0>>0:c>>>0>>0&(d|0)<=(h|0)|(d|0)<(h|0)){break a}return(a^e|c^g)!=0|(b^f|d^h)!=0}k=-1;if((c|0)==(g|0)&(d|0)==(h|0)?(b|0)==(f|0)&a>>>0>e>>>0|b>>>0>f>>>0:c>>>0>g>>>0&(d|0)>=(h|0)|(d|0)>(h|0)){break a}k=(a^e|c^g)!=0|(b^f|d^h)!=0}return k}function zFa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=3;a:{if(v[a+64>>2]!=3){v[a+64>>2]=3;e=v[a+20>>2];if(!e){break a}b:{if(w[a+68|0]){d=v[a+12>>2];if((u[d+20>>1]+u[d+56>>1]|0)+1>>>0>y[d+8>>2]){d=Ch(d,0,1);if(d){break a}}f=x[e>>1];d=f<<16>>16;if((d|0)<1){break b}u[(v[e+12>>2]+(f<<1)|0)-2>>1]=x[e+2>>1]-1}d=x[e>>1]}u[e>>1]=d+1;d=v[a+12>>2];if((u[d+22>>1]+u[d+58>>1]|0)+1>>>0>y[d+4>>2]){d=Ch(d,1,0);if(d){break a}}d=v[a+20>>2];if(w[a+68|0]){a=v[d+8>>2];e=u[d+2>>1];f=v[d+4>>2]+(e<<3)|0;v[f>>2]=(((b>>31)+b|0)+32768&-65536)>>16;v[f+4>>2]=(((c>>31)+c|0)+32768&-65536)>>16;t[a+e|0]=1}u[d+2>>1]=x[d+2>>1]+1}d=0}return d|0}function Yy(a,b){a:{b:{if(b>>>0<=127){break b}if(b>>>0<=2047){$b(a,(b<<18&-16777216)-1073741824>>24);b=b&63|-128;break b}if(b>>>0<=65535){$b(a,(b<<12&-16777216)-536870912>>24);$b(a,b>>>6&63|-128);b=b&63|-128;break b}if(b>>>0<=2097151){$b(a,(b<<6&-16777216)-268435456>>24);$b(a,b>>>12&63|-128);$b(a,b>>>6&63|-128);b=b&63|-128;break b}if(b>>>0<=67108863){$b(a,(b&-16777216)+-134217728>>24);$b(a,b>>>18&63|-128);$b(a,b>>>12&63|-128);$b(a,b>>>6&63|-128);b=b&63|-128;break b}if((b|0)<0){break a}$b(a,b>>>30|-4);$b(a,b>>>24&63|-128);$b(a,b>>>18&63|-128);$b(a,b>>>12&63|-128);$b(a,b>>>6&63|-128);b=b&63|-128}$b(a,b<<24>>24)}}function Xo(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=a+4|0;a=v[a+4>>2];a:{b:{if(!a){break b}e=i;while(1){d=w[b+11|0];j=d<<24>>24<0;c=w[a+27|0];k=c<<24>>24<0;f=j?v[b+4>>2]:d;g=k?v[a+20>>2]:c;h=f>>>0>>0;d=h?f:g;c:{if(d){c=a+16|0;c=lc(k?v[c>>2]:c,j?v[b>>2]:b,d);if(c){break c}}c=f>>>0>g>>>0?-1:h}e=(c|0)<0?e:a;a=v[(c>>>29&4)+a>>2];if(a){continue}break}if((e|0)==(i|0)){break b}c=w[e+27|0];f=c<<24>>24<0;a=w[b+11|0];g=a<<24>>24<0;d:{h=f?v[e+20>>2]:c;d=g?v[b+4>>2]:a;c=d>>>0>h>>>0?h:d;if(c){a=e+16|0;a=lc(g?v[b>>2]:b,f?v[a>>2]:a,c);if(a){break d}}if(d>>>0>>0){break b}break a}if((a|0)>-1){break a}}e=i}return e}function Qy(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,n=0,o=0,p=0;k=Ma-96|0;Ma=k;m=h-g;n=ZD(m*.5);l=_d(m);m=oe(h);o=_d(h);h=o*f+d;l=l*(K(n*(n*3)+4)+-1)/3;n=l*f;p=oe(g);g=_d(g);l=l*e;A[k+88>>3]=p*e+c-g*l;A[k+80>>3]=g*f+d+p*n;c=m*e+c;A[k+72>>3]=c+o*l;A[k+64>>3]=h-m*n;A[k+56>>3]=c;A[k+48>>3]=h;zd(b,k+88|0,k+80|0);zd(b,k+72|0,k- -64|0);zd(b,k+56|0,k+48|0);A[k+40>>3]=A[k+88>>3]*25.4/96;A[k+32>>3]=A[k+80>>3]*25.4/96;A[k+24>>3]=A[k+72>>3]*25.4/96;A[k+16>>3]=A[k+64>>3]*25.4/96;A[k+8>>3]=A[k+56>>3]*25.4/96;A[k>>3]=A[k+48>>3]*25.4/96;Qa[v[v[a>>2]+308>>2]](a,k+40|0,k+32|0,k+24|0,k+16|0,k+8|0,k)|0;A[i>>3]=c;A[j>>3]=h;Ma=k+96|0}function wr(a,b,c,d){var e=0,f=0,g=0,h=0;g=Ma-16|0;Ma=g;a:{if(v[a+8>>2]==1){wb(v[a+628>>2],v[a>>2],46863,0);e=-1;break a}if(w[a+13|0]&4){wb(v[a+628>>2],v[a>>2],47966,0);e=-1;break a}e=v[a+180>>2];if(e>>>0<=b>>>0){c=v[a>>2];a=v[a+628>>2];v[g+4>>2]=e;v[g>>2]=b;wb(a,c,2533,g);e=-1;break a}e=1;h=v[a+60>>2];f=v[a+100>>2];if(h>>>0>f>>>0){e=((f+h|0)-1>>>0)/(f>>>0)|0}b:{if((e-1|0)==((b>>>0)%(e>>>0)|0)){e=(h>>>0)%(f>>>0)|0;if(e){break b}}e=f}f=tO(a,e);e=-1;if(!KN(a,b)){break a}d=(d|0)==-1?f:(d|0)>(f|0)?f:d;if((Qa[v[a+548>>2]](a,c,d,(b>>>0)/y[a+176>>2]&65535)|0)<1){break a}Qa[v[a+652>>2]](a,c,d);e=d}Ma=g+16|0;return e}function LNa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;j=c<<7;e=999999984/(j>>>0)|0;h=v[a+4>>2];if(j>>>0>=999999985){f=v[a>>2];v[f+20>>2]=72;Qa[v[f>>2]](a)}e=(d|0)>(e|0)?e:d;v[h+80>>2]=e;k=Sq(a,b,d<<2);if(d){f=0;i=c<<7;while(1){c=d-f|0;e=c>>>0>e>>>0?e:c;c=QJ(a,b,B(j,e));a:{if(!e){break a}h=e;g=e&3;if(g){while(1){v[(f<<2)+k>>2]=c;h=h-1|0;f=f+1|0;c=c+i|0;g=g-1|0;if(g){continue}break}}if(e-1>>>0<3){break a}while(1){g=(f<<2)+k|0;v[g>>2]=c;c=c+i|0;l=c+i|0;v[g+8>>2]=l;v[g+4>>2]=c;c=i+l|0;v[g+12>>2]=c;c=c+i|0;f=f+4|0;h=h-4|0;if(h){continue}break}}if(d>>>0>f>>>0){continue}break}}return k|0}function G4(a,b,c){var d=0;d=0;a:{if(v[a>>2]){break a}b:{if(w[b|0]|c>>>0<32|(w[b+1|0]|w[b+2|0])){break b}if(w[b+3|0]!=12|w[b+4|0]!=106|(w[b+5|0]!=80|w[b+6|0]!=32)){break b}if(w[b+7|0]!=32|w[b+8|0]!=13|(w[b+9|0]!=10|w[b+10|0]!=135)){break b}if(w[b+12|0]|w[b+11|0]!=10|(w[b+13|0]|w[b+14|0])){break b}if(w[b+15|0]!=24|w[b+16|0]!=102|(w[b+17|0]!=116|w[b+18|0]!=121)){break b}if(w[b+19|0]!=112|w[b+20|0]!=109|(w[b+21|0]!=106|w[b+22|0]!=112)){break b}if(w[b+24|0]|w[b+23|0]!=50|(w[b+25|0]|w[b+26|0])){break b}if(w[b+27|0]|w[b+28|0]!=109|(w[b+29|0]!=106|w[b+30|0]!=112)){break b}d=1;if(w[b+31|0]==50){break a}}d=0}return d}function mZa(a){a=a|0;var b=0,c=0,d=0,e=0;b=v[a+2308>>2];a:{if(!b){break a}d=b&3;c=v[a+2312>>2];a=v[a+2316>>2];if(b-1>>>0>=3){e=b&-4;while(1){b=x[c>>1];u[a+6>>1]=x[c+2>>1];u[a+4>>1]=b;u[a+2>>1]=b;u[a>>1]=b;b=x[c+4>>1];u[a+14>>1]=x[c+6>>1];u[a+12>>1]=b;u[a+10>>1]=b;u[a+8>>1]=b;b=x[c+8>>1];u[a+22>>1]=x[c+10>>1];u[a+20>>1]=b;u[a+18>>1]=b;u[a+16>>1]=b;b=x[c+12>>1];u[a+30>>1]=x[c+14>>1];u[a+28>>1]=b;u[a+26>>1]=b;u[a+24>>1]=b;a=a+32|0;c=c+16|0;e=e-4|0;if(e){continue}break}}if(!d){break a}while(1){b=x[c>>1];u[a+6>>1]=x[c+2>>1];u[a+4>>1]=b;u[a+2>>1]=b;u[a>>1]=b;a=a+8|0;c=c+4|0;d=d-1|0;if(d){continue}break}}return 0}function R2a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=Ma-80|0;Ma=c;v[c+64>>2]=v[a+12>>2];vb(b,47767,c- -64|0);d=v[a+16>>2];f=v[a+20>>2];g=v[a+28>>2];v[c+56>>2]=v[a+24>>2];v[c+60>>2]=g;v[c+48>>2]=d;v[c+52>>2]=f;vb(b,48260,c+48|0);d=v[a+32>>2];f=v[a+36>>2];g=v[a+44>>2];v[c+40>>2]=v[a+40>>2];v[c+44>>2]=g;v[c+32>>2]=d;v[c+36>>2]=f;vb(b,48767,c+32|0);if(v[a+48>>2]){while(1){d=v[a+52>>2]+(e<<2)|0;f=w[d|0];g=w[d+1|0];h=w[d+2|0];v[c+28>>2]=w[d+3|0];v[c+24>>2]=e;v[c+20>>2]=h;v[c+16>>2]=e;v[c+12>>2]=g;v[c+8>>2]=e;v[c+4>>2]=f;v[c>>2]=e;vb(b,49278,c);e=e+1|0;if(e>>>0>2]){continue}break}}Ma=c+80|0;return 0}function ob(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;if(!a){return 1}v[a+144>>2]=d;v[a+140>>2]=c;v[a+132>>2]=b;g=44;e=88;i=a;a:{b:{while(1){h=v[(g<<3)+192128>>2];c:{if((h|0)<(b|0)){f=g+1|0;break c}if((b|0)>=(h|0)){break b}e=g-1|0}g=f+e>>1;if((f|0)<=(e|0)){continue}break}h=1599;break a}h=v[(g<<3)+192132>>2]}v[i+148>>2]=h;i=a;e=0;d:{if(!b){break d}f=b&15360;e=5;if((f|0)==2048){break d}e:{if((f|0)!=8192){if((f|0)!=4096){break e}e=2;break d}e=1;break d}e=9}t[i+136|0]=e;g=1;f:{if(v[a>>2]!=1381173770){break f}f=v[a+180>>2];if(!f){break f}g=Qa[f|0](a,b,e,v[a+268>>2],v[a+272>>2],c,d,h)|0}return g|0}function ek(a,b){var c=0,d=0,e=0;a:{b=v[b>>2];d=w[b|0];if((d|0)!=255){if((d|0)!=30){break a}return Qo(a,b,0,0)>>16}return((w[b+3|0]|(w[b+2|0]<<8|w[b+1|0]<<16))<<8)+32768>>16}e=b+1|0;b:{c:{switch(d-28|0){case 0:c=0;if(y[a+8>>2]<=b+2>>>0){break b}return(w[b+2|0]|w[e|0]<<8)<<16>>16;case 1:c=0;if(y[a+8>>2]<=b+4>>>0){break b}a=w[b+1|0]|w[b+2|0]<<8|(w[b+3|0]<<16|w[b+4|0]<<24);return a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);default:break c}}if(d>>>0<=246){return d-139|0}a=v[a+8>>2];if(d>>>0<=250){c=0;if(a>>>0<=e>>>0){break b}return(w[e|0]|d<<8)-63124|0}c=0;if(a>>>0<=e>>>0){break b}c=64148-(w[e|0]|d<<8)|0}return c}function SQ(a,b){var c=0,d=0,e=0;d=Ma+-64|0;Ma=d;c=v[a+276>>2];if(!(c&4)){a:{if((b|0)==(c|0)){break a}b:{c:{if(!c){break c}c=nn(a+212|0);v[a+276>>2]=0;if(!c){break c}e=51003;break b}d:{e:{switch(b-1|0){case 0:e=52456;c=cw(a+212|0,v[a+280>>2],v[a+284>>2],v[a+288>>2],v[a+292>>2],v[a+296>>2],51548);break d;default:dc(a,52787);L();case 1:break e}}e=51761;c=cw(a+212|0,v[a+300>>2],v[a+304>>2],v[a+308>>2],v[a+312>>2],v[a+316>>2],51548)}if(!c){break a}}b=d;e=fq(d,64,fq(d,64,0,53463),e);c=c+6|0;if(c>>>0<=4){c=v[(c<<2)+76672>>2]}else{c=55337}fq(b,64,e,c);dc(a,d);L()}v[a+276>>2]=b|4;Ma=d- -64|0;return}dc(a,55828);L()}function Hka(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a:{if((c|0)<1){break a}c=c-1|0;if(!d){while(1){d=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=d;d=a;e=v[b+8>>2];if(e){v[e+4>>2]=v[e+4>>2]+1;e=v[b+8>>2]}else{e=0}v[d+8>>2]=e;b=b+12|0;a=a+12|0;d=(c|0)>0;c=c-1|0;if(d){continue}break a}}while(1){d=c;c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;c=a;e=v[b+8>>2];if(e){v[e+4>>2]=v[e+4>>2]+1;e=v[b+8>>2]}else{e=0}v[c+8>>2]=e;c=v[b+8>>2];v[b+8>>2]=0;b:{if(!c){break b}e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(e){break b}e=v[c+4>>2];if(!e){v[c+4>>2]=-32767}if(!e){Qa[v[v[c>>2]+4>>2]](c)}}c=d-1|0;b=b+12|0;a=a+12|0;if((d|0)>0){continue}break}}}function CCa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:{d=v[a+16>>2];a=w[d+12|0]|w[d+13|0]<<8|(w[d+14|0]<<16|w[d+15|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(a){g=d+20|0;while(1){e=a+f>>>1|0;d=B(e,12)+g|0;c=d-4|0;c=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);b:{if((c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))>>>0>b>>>0){a=e;break b}c=d;c=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);if((c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))>>>0>=b>>>0){break a}f=e+1|0}if(a>>>0>f>>>0){continue}break}}return 0}a=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);return a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}function kla(a){a=a|0;var b=0,c=0;c=Ma-32|0;Ma=c;a:{b=v[a+16>>2];if((b|0)>=1){if((b|0)>=v[a+20>>2]){break a}b=b+v[a+36>>2]|0;t[b|0]=0;t[b+1|0]=0;t[b+2|0]=0;t[b+3|0]=0;t[b+4|0]=0;t[b+5|0]=0;t[b+6|0]=0;t[b+7|0]=0;t[b+24|0]=0;t[b+25|0]=0;t[b+26|0]=0;t[b+27|0]=0;t[b+28|0]=0;t[b+29|0]=0;t[b+30|0]=0;t[b+31|0]=0;t[b+16|0]=0;t[b+17|0]=0;t[b+18|0]=0;t[b+19|0]=0;t[b+20|0]=0;t[b+21|0]=0;t[b+22|0]=0;t[b+23|0]=0;t[b+8|0]=0;t[b+9|0]=0;t[b+10|0]=0;t[b+11|0]=0;t[b+12|0]=0;t[b+13|0]=0;t[b+14|0]=0;t[b+15|0]=0;v[a+24>>2]=v[a+16>>2]+1;sT(a)}v[a+24>>2]=0;v[a+16>>2]=0;Ma=c+32|0;return}lb(mb(c+8|0,290931,241544,963,332833));L()}function Rv(a,b){var c=0,d=0,e=0;c=-1;a:{if(!a|(b|0)>4){break a}while(1){e=v[a+4>>2];if(!(e>>>0>8|!(1<>1];if((d|0)!=65535){return d}b:{c:{d:{switch(e-1|0){case 0:c=v[a+12>>2];if(!c){break c}c=Rv(c,b+1|0);break b;case 2:break d;default:break c}}c=v[a+52>>2];if(c){break b}}c=v[a+24>>2];if(c){c=Rv(c,b+1|0);break b}a=v[a+28>>2];if(!a){return d}c=Rv(a,b+1|0)}if((c|0)==65535){return d}if((c|0)!=-1){break a}return d}d=v[a+28>>2];e:{f:{if(!d){break f}e=v[d+4>>2];if(e>>>0>8){break f}if(1<>2];if(!d|v[d+4>>2]!=1){break a}}a=d;b=b+1|0;if((b|0)!=5){continue}break}}return c}function Px(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=b-1|0;a:{if((b|0)>=2){b=a;b:{while(1){d=v[c+4>>2];g=ag(d,10,v[c+8>>2]-d|0);c:{if(g){d=v[c+4>>2];f=(g-d|0)+1|0;break c}d=v[c+4>>2];f=v[c+8>>2]-d|0}h=d;d=e>>>0>f>>>0?f:e;cb(b,h,d);f=d+v[c+4>>2]|0;v[c+4>>2]=f;b=b+d|0;d:{if(g){break d}d=e-d|0;if(!d){break d}e:{if(f>>>0>2]){v[c+4>>2]=f+1;e=w[f|0];break e}e=Nx(c);if((e|0)>-1){break e}d=0;if(!(w[c|0]&16)|(a|0)==(b|0)){break b}break d}t[b|0]=e;b=b+1|0;if((e&255)==10){break d}e=d-1|0;if(e){continue}}break}d=0;if(!a){break b}t[b|0]=0;d=a}break a}b=w[c+74|0];t[c+74|0]=b-1|b;if(e){break a}t[a|0]=0;return a}return d}function GZ(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{f=v[a+32>>2];if(f>>>0>b>>>0){i=f-1|0;j=v[a+16>>2]+14|0;g=f<<1;k=g+2|0;while(1){c=(b<<1)+j|0;e=w[c|0]<<8|w[c+1|0];v[a+44>>2]=e;c=c+k|0;h=w[c|0]<<8|w[c+1|0];v[a+40>>2]=h;c=c+g|0;d=w[c|0]|w[c+1|0]<<8;v[a+48>>2]=(d<<8|d>>>8)<<16>>16;d=c+g|0;c=w[d|0]<<8|w[d+1|0];c:{if((h|0)!=65535|b>>>0>>0|(e|0)!=65535){break c}if(!c){break b}e=v[a>>2];if((c+d|0)+2>>>0<=v[e+508>>2]+v[e+512>>2]>>>0){break c}v[a+48>>2]=1;break b}if((c|0)!=65535){if(!c){break b}c=c+d|0;break a}b=b+1|0;if((f|0)!=(b|0)){continue}break}}return-1}c=0}v[a+36>>2]=b;v[a+52>>2]=c;return 0}function $Ba(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,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;h=3;g=b+2|0;a:{if(g>>>0>c>>>0){break a}i=w[b+1|0]|w[b|0]<<8;if((i<<2)+g>>>0>c>>>0){break a}c=v[a+12>>2];j=w[c+14|0];k=x[c+12>>1];l=x[c+10>>1];m=w[c+8|0];n=x[c+6>>1];o=x[c+4>>1];b=0;b:{if(!i){h=0;break b}c=f+1|0;while(1){h=FZ(a,w[g+1|0]|w[g|0]<<8,t[g+2|0]+d|0,t[g+3|0]+e|0,c,0);if(!h){g=g+4|0;b=b+1|0;if((i|0)!=(b|0)){continue}}break}c=v[a+12>>2]}u[c+14>>1]=j;u[c+8>>1]=m;u[c+12>>1]=k<<24>>24;u[c+10>>1]=l<<24>>24;u[c+6>>1]=n<<24>>24;u[c+4>>1]=o<<24>>24;a=v[a+8>>2];u[c+2>>1]=w[a+4|0];u[c>>1]=w[a|0]}return h|0}function xF(a,b,c,d,e){var f=0,g=0,h=0,i=0;g=Ma-256|0;Ma=g;a:{b:{if(c>>>0>>0){Db(a,15744);d=0;break b}if(!b){c:{h=c-d|0;c=oT(a,v[a+740>>2]+d|0,h,0,0);if(!(d>>>0>4294967293|c>>>0>=-2-d>>>0)){b=v[a+712>>2];if(!b|c+d>>>0>>0){break c}}Db(a,18160);break b}if(!c){break b}b=c+d|0;f=jf(a,b+1|0);if(f){i=v[a+740>>2];f=cb(f,i,d);h=oT(a,d+i|0,h,d+f|0,c);t[b+f|0]=0;if((c|0)==(h|0)){Tb(a,v[a+740>>2]);v[a+740>>2]=f;d=b;break a}Db(a,20491);Tb(a,f);break b}Db(a,22730);break b}Vj(g,1,1,b);dq(a,g,25810)}b=jf(a,d+1|0);if(!b){break a}c=v[a+740>>2];if(d){cb(b,c,d)}Tb(a,c);v[a+740>>2]=b;t[b+d|0]=0}v[e>>2]=d;Ma=g+256|0}function hq(a){var b=0,c=0,d=0,e=0;b=v[a+116>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}b=v[a+120>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}b=v[a+380>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}b=v[a+384>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}b=v[a+424>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}b=v[a+428>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}b=v[a+432>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}b=v[a+436>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}tb(v[a+448>>2]);b=v[a+596>>2];if(b){d=v[b+28>>2];if((d|0)>=1){while(1){c=v[v[b+24>>2]+(e<<2)>>2];if(c){tb(v[c>>2]);tb(v[c+4>>2]);tb(v[c+8>>2]);$a(c);d=v[b+28>>2]}e=e+1|0;if((e|0)<(d|0)){continue}break}}tb(v[b+24>>2]);$a(b)}return a}function b4(a,b,c,d,e,f,g,h){a:{if(b>>>0>c>>>0){break a}b:{switch(d|0){case 0:while(1){d=b&65535;c:{if(d){d=ig(a,d);break c}d=v[a+528>>2]}if(d){v[d+60>>2]=h;v[d+56>>2]=g;v[d+52>>2]=f;v[d+48>>2]=e;t[d+44|0]=1}b=b+1|0;if((b&65535)>>>0<=c>>>0){continue}break};break a;case 1:while(1){d=b&65535;d:{if(d){d=ig(a,d);break d}d=v[a+528>>2]}if(d){t[d+44|0]=1;v[d+48>>2]=v[d+48>>2]+e;v[d+52>>2]=v[d+52>>2]+f;v[d+56>>2]=v[d+56>>2]+g;v[d+60>>2]=v[d+60>>2]+h}b=b+1|0;if((b&65535)>>>0<=c>>>0){continue}break};break a;default:break b}}while(1){d=b&65535;if(d){ig(a,d)}b=b+1|0;if((b&65535)>>>0<=c>>>0){continue}break}}return 0}function gY(a){var b=0;b=v[a+268>>2];if(b){$a(b)}b=v[a+280>>2];if(b){$a(b)}b=v[a+292>>2];if(b){$a(b)}b=v[a+304>>2];if(b){$a(b)}b=v[a+316>>2];if(b){$a(b)}b=v[a+328>>2];if(b){$a(b)}b=v[a+340>>2];if(b){$a(b)}b=v[a+352>>2];if(b){$a(b)}b=v[a+364>>2];if(b){$a(b)}b=v[a+376>>2];if(b){$a(b)}b=v[a+388>>2];if(b){$a(b)}b=v[a+400>>2];if(b){$a(b)}b=v[a+412>>2];if(b){$a(b)}b=v[a+424>>2];if(b){$a(b)}b=v[a+436>>2];if(b){$a(b)}b=v[a+448>>2];if(b){$a(b)}b=v[a+460>>2];if(b){$a(b)}b=v[a+472>>2];if(b){$a(b)}b=v[a+484>>2];if(b){$a(b)}b=v[a+496>>2];if(b){$a(b)}a:{if(!w[a+512|0]){break a}b=v[a>>2];if(!b){break a}$a(b)}return a}function Ov(a,b){var c=0,d=0,e=0,f=0;f=Ma-16|0;Ma=f;if(b){d=v[b+20>>2];if(d){a:{if(v[d+4>>2]==2){break a}}}d=0;while(1){b:{c:{switch(v[b+4>>2]-3|0){case 0:case 1:d=Fo(d,v[b+40>>2]);break b;case 2:break c;default:break b}}e=v[b+8>>2];d:{e:{if(!a){break e}c=v[a+44>>2];f:{if(!c){break f}c=v[c+48>>2];if(!c){break f}c=le(c,e,0,0);if(c){break d}}if(v[a+40>>2]==1){break e}c=v[a+48>>2];if(!c){break e}c=v[c+48>>2];if(!c){break e}c=le(c,e,0,0);if(c){break d}}c=vi(e)}if(c){c=Ov(a,v[c+12>>2]);if(!c){break b}d=Fo(d,c);Qa[v[256556]](c);break b}d=Fo(d,v[b+40>>2])}b=v[b+24>>2];if(b){continue}break}}Ma=f+16|0;return d}function BE(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a>>2]=978308;v[a+4>>2]=0;u[a+12>>1]=c;u[a+10>>1]=c;u[a+8>>1]=b;e=B(c&65535,b&65535);a:{if(!e){break a}b=ab((g=-1,h=x3a(e,0,3,0),i=Pa,i?g:h));v[a+16>>2]=b;v[a+20>>2]=b;if(!d){break a}c=(b+B(e,3)|0)-3|0;f=w[d|0]|w[d+1|0]<<8;t[c|0]=f;t[c+1|0]=f>>>8;t[c+2|0]=w[d+2|0];if(e>>>0<2){break a}c=e-2|0;b=b+B(c,3)|0;f=w[d|0]|w[d+1|0]<<8;t[b|0]=f;t[b+1|0]=f>>>8;t[b+2|0]=w[d+2|0];if((e|0)==2){break a}while(1){b=c-1|0;e=v[a+20>>2]+B(b,3)|0;f=w[d|0]|w[d+1|0]<<8;t[e|0]=f;t[e+1|0]=f>>>8;t[e+2|0]=w[d+2|0];e=(c|0)>1;c=b;if(e){continue}break}}return a}function uLa(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,n=0,o=0,p=0,q=0,r=0,s=0;a:{if((e|0)<1){break a}i=v[a+112>>2];if(!i){break a}g=v[a+332>>2];a=v[a+476>>2];k=v[a+20>>2];l=v[a+16>>2];m=v[a+12>>2];n=v[a+8>>2];while(1){o=c+1|0;p=e-1|0;a=c<<2;q=v[a+v[b+8>>2]>>2];r=v[a+v[b+4>>2]>>2];s=v[a+v[b>>2]>>2];c=v[d>>2];a=0;while(1){f=w[a+r|0];h=w[a+s|0];j=w[a+q|0]<<2;t[c|0]=w[(h+v[j+n>>2]|0)+g|0];f=f<<2;t[c+1|0]=w[((v[l+j>>2]+v[f+k>>2]>>16)+h|0)+g|0];t[c+2|0]=w[(v[f+m>>2]+h|0)+g|0];c=c+3|0;a=a+1|0;if((i|0)!=(a|0)){continue}break}d=d+4|0;a=(e|0)>1;e=p;c=o;if(a){continue}break}}}function _t(a,b){var c=0,d=0,e=0,f=0;if(w[a+11|0]>>>7|0){c=v[a+4>>2]}else{c=w[a+11|0]}if(c>>>0>>0){e=Ma-16|0;Ma=e;f=b-c|0;if(f){b=w[a+11|0]>>>7|0?(v[a+8>>2]&2147483647)-1|0:1;if(w[a+11|0]>>>7|0){c=v[a+4>>2]}else{c=w[a+11|0]}d=c+f|0;if(b-c>>>0>>0){rx(a,b,d-b|0,c,c,0)}if(w[a+11|0]>>>7|0){b=v[a>>2]}else{b=a}rN(b+(c<<2)|0,f,0);a:{if(w[a+11|0]>>>7|0){v[a+4>>2]=d;break a}t[a+11|0]=d}v[e+12>>2]=0;v[b+(d<<2)>>2]=v[e+12>>2]}Ma=e+16|0;return}c=Ma-16|0;Ma=c;b:{if(w[a+11|0]>>>7|0){d=v[a>>2];v[c+12>>2]=0;v[d+(b<<2)>>2]=v[c+12>>2];v[a+4>>2]=b;break b}v[c+8>>2]=0;v[(b<<2)+a>>2]=v[c+8>>2];t[a+11|0]=b}Ma=c+16|0}function Aqa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;if((c|0)<1){return 0}f=v[a+60>>2];g=v[a+64>>2]-f|0;g=(c|0)>(g|0)?g:c;a:{if((g|0)<1){break a}c=1;v[a+60>>2]=f+1;t[b|0]=w[f|0]^-1;if((g|0)==1){break a}e=g-1|0;f=e&3;if(g-2>>>0>=3){h=e&-4;while(1){d=v[a+60>>2];v[a+60>>2]=d+1;e=b+c|0;t[e|0]=w[d|0]^-1;d=v[a+60>>2];v[a+60>>2]=d+1;t[e+1|0]=w[d|0]^-1;d=v[a+60>>2];v[a+60>>2]=d+1;t[e+2|0]=w[d|0]^-1;d=v[a+60>>2];v[a+60>>2]=d+1;t[e+3|0]=w[d|0]^-1;c=c+4|0;h=h-4|0;if(h){continue}break}}if(!f){break a}while(1){e=v[a+60>>2];v[a+60>>2]=e+1;t[b+c|0]=w[e|0]^-1;c=c+1|0;f=f-1|0;if(f){continue}break}}return g|0}function VY(a){a=a|0;var b=0,c=0;a:{c=v[a+8>>2];if(!c){break a}b=v[c>>2];if(b){yd(b)}b=v[c+4>>2];if(b){yd(b)}b=v[c+8>>2];if(b){yd(b)}b=v[c+12>>2];if(b){yd(b)}b=v[c+16>>2];if(b){yd(b)}b=v[c+20>>2];if(b){yd(b)}b=v[c+24>>2];if(b){yd(b)}b=v[c+28>>2];if(b){yd(b)}b=v[c+32>>2];if(b){yd(b)}b=v[c+36>>2];if(b){yd(b)}b=v[c+40>>2];if(b){yd(b)}b=v[c+44>>2];if(b){yd(b)}b=v[c+48>>2];if(b){yd(b)}b=v[c+52>>2];if(b){yd(b)}b=v[c+56>>2];if(b){yd(b)}b=v[c+60>>2];if(b){yd(b)}b=v[c+64>>2];if(b){yd(b)}b=v[c+68>>2];if(b){yd(b)}b=v[c+72>>2];if(b){yd(b)}c=v[c+76>>2];if(c){yd(c)}if(w[a+34|0]){break a}Nd(v[a+8>>2]);v[a+8>>2]=0}}function qr(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=Ma-16|0;Ma=e;f=lj(e,264342);g=f;d=Ma-16|0;Ma=d;v[d+12>>2]=0;if(w[a+11|0]>>>7|0){a=v[a>>2]}v[d+8>>2]=v[296206];v[296206]=0;h=d+12|0;c=Ma-208|0;Ma=c;b=eb(c,0,144);v[b+76>>2]=-1;v[b+48>>2]=60;v[b+44>>2]=b+144|4;v[b+32>>2]=4420;i=a;while(1){c=a;a=c+4|0;if(PO(v[c>>2])){continue}break}v[b+84>>2]=c;Rj(b,0,0);a=EP(b,10,1,-2147483648,0);if(h){j=c;c=v[b+120>>2]+(v[b+4>>2]-v[b+8>>2]|0)|0;v[h>>2]=c?j+(c<<2)|0:i}Ma=b+208|0;Fr(1184824,d+8|0);a:{b:{if(v[d+8>>2]!=68){if(v[d+12>>2]==(i|0)){break b}Ma=d+16|0;break a}dD(g);L()}nN(g);L()}Vb(f);Ma=e+16|0;return a}function dW(a,b){var c=0,d=0,e=0,f=0;c=Ma-80|0;Ma=c;v[c+64>>2]=13;v[c+48>>2]=13;v[c+32>>2]=13;v[c+16>>2]=13;v[c>>2]=13;a:{if(v[ib(v[b+8>>2],236871,c- -64|0,0)>>2]==6){b=v[c+72>>2];if(v[b+12>>2]<1){break a}while(1){if(v[ub(b,d,c+48|0,0)>>2]==7){dW(a,c+48|0)}bb(c+48|0);d=d+1|0;b=v[c+72>>2];if((d|0)>2]){continue}break}break a}b:{if(v[ib(v[b+8>>2],236601,c+32|0,0)>>2]!=6){break b}d=v[c+40>>2];if(v[d+12>>2]<2){break b}b=0;e=1;while(1){f=b;b=c+16|0;ub(d,f,b,0);ub(v[c+40>>2],e,c,0);$V(a,c,b);bb(b);bb(c);b=e;e=b+1|0;d=v[c+40>>2];if((e|0)>2]){continue}break}}bb(c+32|0)}bb(c- -64|0);Ma=c+80|0}function Xea(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a:{if((c|0)<1){break a}c=c-1|0;if(!d){while(1){v[a>>2]=v[b>>2];d=a;e=v[b+4>>2];if(e){v[e+4>>2]=v[e+4>>2]+1;e=v[b+4>>2]}else{e=0}v[d+4>>2]=e;v[a+8>>2]=v[b+8>>2];b=b+12|0;a=a+12|0;d=(c|0)>0;c=c-1|0;if(d){continue}break a}}while(1){d=c;v[a>>2]=v[b>>2];c=a;e=v[b+4>>2];if(e){v[e+4>>2]=v[e+4>>2]+1;e=v[b+4>>2]}else{e=0}v[c+4>>2]=e;v[a+8>>2]=v[b+8>>2];c=v[b+4>>2];v[b+4>>2]=0;b:{if(!c){break b}e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(e){break b}e=v[c+4>>2];if(!e){v[c+4>>2]=-32767}if(!e){Qa[v[v[c>>2]+4>>2]](c)}}c=d-1|0;b=b+12|0;a=a+12|0;if((d|0)>0){continue}break}}}function VVa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(w[b+32|0]){return hd(a,v[b>>2],0,0)|0}if(w[b+33|0]){return hd(a,v[b>>2],v[b+304>>2],b+308|0)|0}e=2;i=9;g=296;d=v[a+428>>2];h=d+8|0;f=h;a:{b:{switch(w[b+34|0]){case 3:f=v[b+36>>2];if(!f){break a}g=b+40|0;e=h;while(1){t[e|0]=w[c+g|0];e=e+1|0;c=c+1|0;if(c>>>0>2]){continue}break};c=f;break a;case 2:c=x[b+298>>1];c=c<<8|c>>>8;t[d+8|0]=c;t[d+9|0]=c>>>8;c=x[b+300>>1];c=c<<8|c>>>8;t[d+10|0]=c;t[d+11|0]=c>>>8;f=d+12|0;e=6;i=13;g=302;break;case 0:break b;default:break a}}c=x[b+g>>1];t[f|0]=c>>>8;t[d+i|0]=c;c=e}return hd(a,v[b>>2],c,h)|0}function R6(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;h=Ma-16|0;Ma=h;a:{b:{c:{d:{e=v[a+584>>2];if(e){if(!v[e+24>>2]){break d}if(!v[e+20>>2]){break c}f=gb(c);e:{if(!f){a=v[a+628>>2];v[h>>2]=c;wb(a,188032,44100,h);b=0;break e}f=cb(f,b,c);g=v[e+8>>2];if((g|0)<=0){break b}if((c|0)%(g|0)|0){break a}if((c|0)>0){b=f;i=c;while(1){Qa[v[e+24>>2]](a,b,g);b=b+g|0;i=i-g|0;if((i|0)>0){continue}break}}b=Qa[v[e+20>>2]](a,f,c,d)|0;$a(f)}Ma=h+16|0;return b|0}O(16309,6354,574,188032);L()}O(41345,6354,575,188032);L()}O(43248,6354,576,188032);L()}O(40572,6354,594,188032);L()}O(44999,6354,595,188032);L()}function qs(a){var b=0,c=0,d=0,e=0,f=0;c=v[a+36>>2];if(c){d=v[c+4>>2];b=v[d+8>>2];if((b|0)>=1){while(1){f=v[v[d>>2]+(e<<2)>>2];if(f){b=v[f+8>>2];if(b){$a(mc(b))}$a(f);b=v[d+8>>2]}e=e+1|0;if((b|0)>(e|0)){continue}break}}$a(mc(d));b=v[c+8>>2];if(b){$a(iG(b))}$a(c)}e=v[a+32>>2];if(e){d=0;c=v[e>>2];if(c){b=v[c+8>>2];if((b|0)>=1){while(1){f=v[v[c>>2]+(d<<2)>>2];if(f){hG(f);$a(f);b=v[c+8>>2]}d=d+1|0;if((b|0)>(d|0)){continue}break}}$a(mc(c))}$a(e)}b=v[a+28>>2];if(b){$a(bW(b))}b=v[a+24>>2];if(b){$a(aU(b))}b=v[a+8>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}b=v[a+4>>2];if(b){Fe(b)}b=v[a>>2];if(b){$a(Bb(b))}return a}function cLa(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,n=0;a:{if((e|0)<1){break a}g=v[a+36>>2];if((g|0)<1){break a}k=v[a+112>>2];if(!k){break a}l=k&3;m=k-1>>>0<3;while(1){n=e-1|0;i=0;while(1){a=v[v[(i<<2)+b>>2]+(c<<2)>>2];h=v[d>>2]+i|0;j=k;f=l;if(f){while(1){t[h|0]=w[a|0];j=j-1|0;h=g+h|0;a=a+1|0;f=f-1|0;if(f){continue}break}}if(!m){while(1){t[h|0]=w[a|0];f=g+h|0;t[f|0]=w[a+1|0];f=f+g|0;t[f|0]=w[a+2|0];f=f+g|0;t[f|0]=w[a+3|0];a=a+4|0;h=f+g|0;j=j-4|0;if(j){continue}break}}i=i+1|0;if((i|0)!=(g|0)){continue}break}d=d+4|0;c=c+1|0;a=(e|0)>1;e=n;if(a){continue}break}}}function Yk(a,b,c){var d=0,e=0,f=0,g=0;f=v[a+584>>2];g=v[f+64>>2];e=v[f+68>>2];a:{if(e>>>0>=c>>>0){break a}c=c-e|0;d=b>>>c|g;if(v[a+608>>2]>=v[a+600>>2]){Xd(a)}e=v[a+604>>2];v[a+604>>2]=e+1;t[e|0]=d;d=v[a+608>>2]+1|0;v[a+608>>2]=d;g=0;e=8;if(c>>>0<9){break a}while(1){c=c-8|0;e=b>>>c|0;if(v[a+600>>2]<=(d|0)){Xd(a)}d=v[a+604>>2];v[a+604>>2]=d+1;t[d|0]=e;d=v[a+608>>2]+1|0;v[a+608>>2]=d;e=8;if(c>>>0>8){continue}break}}d=v[(c<<2)+86176>>2]&b;b=e-c|0;d=d<>2]>=v[a+600>>2]){Xd(a)}b=v[a+604>>2];v[a+604>>2]=b+1;t[b|0]=d;v[a+608>>2]=v[a+608>>2]+1;d=0;b=8}v[c+68>>2]=b;v[f+64>>2]=d}function Dv(a,b){var c=0,d=0,e=0;e=Ma-16|0;Ma=e;a:{if(!a){break a}c=v[a+56>>2];d=v[a+60>>2];if((c|0)>=(d|0)){c=Qa[v[256557]](v[a+64>>2],d<<3)|0;if(!c){Yc(a,0);break a}v[a+64>>2]=c;v[a+60>>2]=v[a+60>>2]<<1;c=v[a+56>>2]}d=v[256690];if(!(w[a+362|0]&8|d>>>0>=c>>>0)){if(!(v[a+172>>2]==-1?v[a+212>>2]:0)){v[a+84>>2]=1;v[e>>2]=d;nb(0,0,0,a,0,1,1,3,0,0,0,d,341259,e);v[a+12>>2]=0}v[a+212>>2]=1;v[a+172>>2]=-1;b=v[a+36>>2];if(!b){break a}c=v[b+40>>2];if(c){Qa[c|0](v[b+12>>2]);b=v[a+36>>2];v[b+40>>2]=0}v[b+12>>2]=349015;v[b+16>>2]=349015;break a}v[v[a+64>>2]+(c<<2)>>2]=b;v[a+56>>2]=c+1;v[a+52>>2]=b}Ma=e+16|0}function wg(a,b){var c=0,d=0;c=-1;d=v[a+8>>2];a:{if(d&7){break a}c=v[a+64>>2];if(!((c|0)<0|(c|0)>v[a+60>>2])){v[a+8>>2]=d|4;return-1}v[a+4>>2]=v[a+4>>2]|32;c=-1;d=v[a+28>>2];v[a+28>>2]=d-1;b:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;t[c|0]=b>>>8;break b}if((Cb(a,b>>>8&255)|0)==-1){break a}}c=v[a+8>>2];c:{if(c&7){break c}d=v[a+64>>2];if(!((d|0)<0|(d|0)>v[a+60>>2])){v[a+8>>2]=c|4;break c}v[a+4>>2]=v[a+4>>2]|32;c=v[a+28>>2];v[a+28>>2]=c-1;if((c|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=a;a=v[a+24>>2];v[c+24>>2]=a+1;t[a|0]=b;return 0}c=0;if((Cb(a,b&255)|0)!=-1){break a}}c=-1}return c}function Kp(a,b,c){var d=0,e=0;d=Ma-16|0;Ma=d;Ma=d+16|0;e=0;a:{if(!b){break a}b:{if(!c){break b}a=a?a:d+12|0;d=w[b|0];e=d<<24>>24;if((e|0)>=0){v[a>>2]=d;e=(e|0)!=0;break a}d=t[b|0];if(!v[v[279293]>>2]){v[a>>2]=d&57343;e=1;break a}d=(d&255)-194|0;if(d>>>0>50){break b}d=v[(d<<2)+997472>>2];if(d<>>0<=3){break b}c=w[b+1|0];e=c>>>3|0;if((e-16|e+(d>>26))>>>0>7){break b}c=c-128|d<<6;if((c|0)>=0){v[a>>2]=c;e=2;break a}d=w[b+2|0]-128|0;if(d>>>0>63){break b}c=d|c<<6;if((c|0)>=0){v[a>>2]=c;e=3;break a}b=w[b+3|0]-128|0;if(b>>>0>63){break b}v[a>>2]=b|c<<6;e=4;break a}v[296206]=25;e=-1}return e}function BNa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=999999984/(c>>>0)|0;g=v[a+4>>2];if(c>>>0>=999999985){f=v[a>>2];v[f+20>>2]=72;Qa[v[f>>2]](a)}e=(d|0)>(e|0)?e:d;v[g+80>>2]=e;j=Sq(a,b,d<<2);if(d){f=0;while(1){g=d-f|0;e=e>>>0>>0?e:g;h=QJ(a,b,B(e,c));a:{if(!e){break a}g=e;i=e&3;if(i){while(1){v[(f<<2)+j>>2]=h;g=g-1|0;h=c+h|0;f=f+1|0;i=i-1|0;if(i){continue}break}}if(e-1>>>0<3){break a}while(1){i=(f<<2)+j|0;v[i>>2]=h;h=c+h|0;k=h+c|0;l=k+c|0;v[i+12>>2]=l;v[i+8>>2]=k;v[i+4>>2]=h;f=f+4|0;h=c+l|0;g=g-4|0;if(g){continue}break}}if(d>>>0>f>>>0){continue}break}}return j|0}function AC(a,b){var c=0,d=0;c=-1;d=v[a+8>>2];a:{if(d&7){break a}c=v[a+64>>2];if(!((c|0)<0|(c|0)>v[a+60>>2])){v[a+8>>2]=d|4;return-1}v[a+4>>2]=v[a+4>>2]|32;c=-1;d=v[a+28>>2];v[a+28>>2]=d-1;b:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;t[c|0]=b;break b}if((Cb(a,b&255)|0)==-1){break a}}c=v[a+8>>2];c:{if(c&7){break c}d=v[a+64>>2];if(!((d|0)<0|(d|0)>v[a+60>>2])){v[a+8>>2]=c|4;break c}v[a+4>>2]=v[a+4>>2]|32;c=v[a+28>>2];v[a+28>>2]=c-1;if((c|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=a;a=v[a+24>>2];v[c+24>>2]=a+1;t[a|0]=b>>>8;return 0}c=0;if((Cb(a,b>>>8&255)|0)!=-1){break a}}c=-1}return c}function VKa(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,j=0,k=0;d=v[a+472>>2];i=v[d+92>>2];h=v[a+316>>2];if((i|0)>=(h|0)){if(v[a+36>>2]>=1){h=v[a+216>>2];i=0;while(1){k=i<<2;j=k+d|0;Qa[v[j+52>>2]](a,h,v[b+k>>2]+(B(v[j+100>>2],v[c>>2])<<2)|0,j+12|0);h=h+88|0;i=i+1|0;if((i|0)>2]){continue}break}h=v[a+316>>2]}v[d+92>>2]=0;i=0}b=g;g=v[f>>2];b=b-g|0;j=v[d+96>>2];h=h-i|0;h=h>>>0>j>>>0?j:h;b=b>>>0>>0?b:h;Qa[v[v[a+476>>2]+4>>2]](a,d+12|0,i,(g<<2)+e|0,b);v[f>>2]=b+v[f>>2];v[d+96>>2]=v[d+96>>2]-b;b=b+v[d+92>>2]|0;v[d+92>>2]=b;if((b|0)>=v[a+316>>2]){v[c>>2]=v[c>>2]+1}}function Sya(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,n=0,o=0;a:{if((e|0)<1){break a}k=v[a+28>>2];if(!k){break a}g=v[v[a+408>>2]+8>>2];while(1){l=e-1|0;a=d<<2;m=v[a+v[c+8>>2]>>2];n=v[a+v[c+4>>2]>>2];o=v[a+v[c>>2]>>2];a=v[b>>2];f=0;while(1){h=(w[a+2|0]<<2)+g|0;i=(w[a+1|0]<<2)+g|0;j=(w[a|0]<<2)+g|0;t[f+o|0]=v[h+2048>>2]+(v[i+1024>>2]+v[j>>2]|0)>>>16;t[f+n|0]=v[h+5120>>2]+(v[i+4096>>2]+v[j+3072>>2]|0)>>>16;t[f+m|0]=v[h+7168>>2]+(v[i+6144>>2]+v[j+5120>>2]|0)>>>16;a=a+3|0;f=f+1|0;if((k|0)!=(f|0)){continue}break}d=d+1|0;b=b+4|0;a=(e|0)>1;e=l;if(a){continue}break}}}function Lsa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;b=v[a+28>>2];c=v[b+596>>2];d=v[c+28>>2];if(!(v[c>>2]?0:(d|0)<=0)){a:{if((d|0)<1){break a}kf(c);c=v[b+596>>2];c=v[((v[c+28>>2]<<2)+v[c+24>>2]|0)-4>>2];d=(v[c+12>>2]<<3)-8|0;A[b+600>>3]=A[d+v[c>>2]>>3];A[b+608>>3]=A[d+v[c+4>>2]>>3];if(!v[a+100>>2]){break a}b=v[v[a+28>>2]+120>>2];if((Qa[v[v[b>>2]+12>>2]](b)|0)==10){zs(a);break a}b=v[a+8>>2];Qa[v[v[b>>2]+200>>2]](b,v[a+28>>2])}b=v[a+28>>2];c=v[b+596>>2];if(!(!v[a+36>>2]|(v[c>>2]?0:v[c+28>>2]<=0))){ej(b);b=v[a+8>>2];Qa[v[v[b>>2]+(v[a+36>>2]==1?220:224)>>2]](b,v[a+28>>2]);b=v[a+28>>2]}v[a+36>>2]=0;Ae(b)}}function Fy(a){var b=0,c=0,d=0,e=0;b=Ma-16|0;Ma=b;c=v[291393];d=c+1|0;v[291393]=d;if(!c){d=v[a+24>>2];v[b+12>>2]=a;v[b+8>>2]=d;c=v[b+8>>2];a:{if(!c){break a}e=v[b+12>>2];while(1){b:{c:{if((a|0)==(e|0)){while(1){if(!v[c+56>>2]){break c}d=c+52|0;e=v[d+8>>2];v[b+4>>2]=d;v[b>>2]=e;d:{if(e){while(1){if(v[v[e+8>>2]+4>>2]<2){break d}e=v[e>>2];v[b>>2]=e;if(e){continue}break}if(!c){break a}}c=v[c>>2];v[b+8>>2]=c;if(c){continue}break a}break}Ag(d,b);break b}wd(b+8|0,a);L()}ho(a,b+8|0)}d=v[a+24>>2];v[b+12>>2]=a;v[b+8>>2]=d;e=v[b+12>>2];c=v[b+8>>2];if(c){continue}break}}d=v[291393]}v[291393]=d-1;Ma=b+16|0}function _1(a,b,c,d,e,f){var g=0,h=0,i=0;a:{g=w[e+3|0];if(!g){break a}h=v[a>>2];a=v[h+4>>2];i=v[h+16>>2];b:{if((i|0)>=0){c=B(c,i);break b}c=B(c,i);if((a-v[h>>2]|0)<(0-c|0)){break a}}if(!a){break a}a=(a+c|0)+(b<<2)|0;while(1){c=w[e|0];b=B(w[f|0]+1|0,g)>>>8|0;c:{if((b|0)==255){t[a+2|0]=c;t[a+1|0]=w[e+1|0];b=w[e+2|0];t[a+3|0]=255;t[a|0]=b;break c}g=w[e+2|0];h=w[e+1|0];i=c;c=w[a+2|0];t[a+2|0]=B(b,i-c|0)+(c<<8)>>>8;c=w[a+1|0];t[a+1|0]=B(b,h-c|0)+(c<<8)>>>8;c=w[a+3|0];t[a+3|0]=c+b-(B(b,c)+255>>>8);c=b;b=w[a|0];t[a|0]=B(c,g-b|0)+(b<<8)>>>8}d=d-1|0;if(!d){break a}a=a+4|0;f=f+1|0;g=w[e+3|0];continue}}}function vHa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;e=v[v[a+40>>2]>>2];if(e){b=v[a>>2];g=v[b+100>>2];c=v[b+712>>2];a=v[c+3080>>2];b=tg(v[v[b+96>>2]+4>>2],239159);a:{if(!b|!a){break a}a=v[a>>2];if(!a){break a}d=Qa[a|0](b)|0;if(!d){break a}Qa[v[d+8>>2]](v[e>>2]);a=v[c+2024>>2];if(!a){break a}f=e+4|0;b=a-1|0;c=a&3;if(c){while(1){a=a-1|0;Qa[v[d+8>>2]](v[f+(a<<2)>>2]);c=c-1|0;if(c){continue}break}}if(b>>>0<3){break a}while(1){b=f+(a<<2)|0;Qa[v[d+8>>2]](v[b-4>>2]);Qa[v[d+8>>2]](v[b-8>>2]);Qa[v[d+8>>2]](v[b-12>>2]);a=a-4|0;Qa[v[d+8>>2]](v[f+(a<<2)>>2]);if(a){continue}break}}if(e){Qa[v[g+8>>2]](g,e)}}}function sCa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=Ma-16|0;Ma=f;c=v[a+28>>2];g=v[a+16>>2];e=v[a+24>>2];v[f+12>>2]=0;a:{b:{d=e+1|0;c:{if(d>>>0<=c>>>0){b=v[a+32>>2];break c}v[a+36>>2]=b;b=yb(b,4,c,d,v[a+32>>2],f+12|0);v[a+32>>2]=b;if(v[f+12>>2]){break b}v[a+28>>2]=d}d:{if(!e){break d}a=g+10|0;c=0;if((e|0)!=1){d=e&-2;while(1){g=c<<2;v[g+b>>2]=w[a+2|0]|(w[a+1|0]<<8|w[a|0]<<16);v[(g|4)+b>>2]=w[a+13|0]|(w[a+12|0]<<8|w[a+11|0]<<16);c=c+2|0;a=a+22|0;d=d-2|0;if(d){continue}break}}if(!(e&1)){break d}v[(c<<2)+b>>2]=w[a+2|0]|(w[a+1|0]<<8|w[a|0]<<16)}v[(e<<2)+b>>2]=0;break a}b=0}Ma=f+16|0;return b|0}function toa(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;a:{if((c|0)<1){break a}while(1){i=v[a+68>>2];if((i|0)>=v[a+20>>2]){if(v[a+40>>2]){break a}if(!dG(a)){break a}i=v[a+68>>2]}e=v[a+72>>2];j=e&1?0:255;l=v[a+60>>2];d=v[l+(e<<2)>>2]-i|0;b:{if((d|0)>8){f=j;break b}m=v[a+20>>2];f=0;g=8;while(1){k=(d|0)<(g|0)?d:g;f=j>>8-k|f<>2]>=(m|0)){f=f<>2]=e;d=v[(e<<2)+l>>2]-v[d>>2]|0;j=j^255}if((g|0)>0){continue}break}}v[a+68>>2]=i+8;t[b+h|0]=v[a+36>>2]^f;h=h+1|0;if((h|0)!=(c|0)){continue}break}h=c}return h|0}function km(a){var b=0,c=0;a:{b:{c:{d:{if(!v[a+36>>2]){break d}b=v[a+40>>2];if((b|0)>=0){v[a+40>>2]=-1;v[a>>2]=b;break c}b=v[a+32>>2];v[a+32>>2]=b-1;if((b|0)>0){break d}b=255;v[a>>2]=255;break c}v[a+28>>2]=v[a+28>>2]+1;b=v[a+24>>2];b=Qa[v[v[b>>2]+28>>2]](b)&255;v[a>>2]=b;if(!v[a+36>>2]){break b}}c=v[a+40>>2];if((c|0)>=0){v[a+40>>2]=-1;break a}c=v[a+32>>2];v[a+32>>2]=c-1;if((c|0)>=1){break b}c=255;break a}v[a+28>>2]=v[a+28>>2]+1;b=v[a+24>>2];c=Qa[v[v[b>>2]+28>>2]](b)&255;b=v[a>>2]}v[a+4>>2]=c;v[a+8>>2]=b<<16^16711680;uG(a);v[a+12>>2]=-2147483648;v[a+8>>2]=v[a+8>>2]<<7;v[a+16>>2]=v[a+16>>2]-7}function tGa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=Ma-32|0;Ma=c;a:{if((Qa[v[b+52>>2]](b,6,c,0)|0)<=5){v[b+12>>2]=3;break a}e=v[c+12>>2];if(!e){v[b+12>>2]=3;break a}d=e>>31;d=d+e^d;if((d|0)!=65536){f=c,g=Ub(v[c>>2],d),v[f>>2]=g;f=c,g=Ub(v[c+4>>2],d),v[f+4>>2]=g;f=c,g=Ub(v[c+8>>2],d),v[f+8>>2]=g;f=c,g=Ub(v[c+16>>2],d),v[f+16>>2]=g;f=c,g=Ub(v[c+20>>2],d),v[f+20>>2]=g;e=v[c+12>>2]<0?-65536:65536;v[c+12>>2]=e}v[a+440>>2]=v[c>>2];v[a+448>>2]=v[c+4>>2];d=v[c+8>>2];v[a+452>>2]=e;v[a+444>>2]=d;if(!gB(a+440|0)){v[b+12>>2]=3;break a}v[a+456>>2]=v[c+16>>2]>>16;v[a+460>>2]=v[c+20>>2]>>16}Ma=c+32|0}function noa(a){a=a|0;var b=0,c=0,d=0,e=0;a:{b:{if(v[a+12>>2]?v[a+8>>2]:1){b=-1;d=v[a+3504>>2];if((d|0)>=v[a+20>>2]){break b}c=v[a+3496>>2];e=v[a+3500>>2];b=v[v[((c<<2)+a|0)+3480>>2]+(e+B(d,v[a+32>>2])<<2)>>2];c=c+1|0;v[a+3496>>2]=c;if((c|0)!=v[a+188>>2]){break b}v[a+3496>>2]=0;c=e+1|0;v[a+3500>>2]=c;if((c|0)!=v[a+16>>2]){break b}v[a+3500>>2]=0;v[a+3504>>2]=d+1;return b|0}b=v[a+3472>>2];if((b|0)==v[a+3476>>2]){b=-1;d=v[a+28>>2]+v[a+3504>>2]|0;if((d|0)>=v[a+20>>2]){break b}v[a+3504>>2]=d;if(!$F(a)){break a}b=v[a+3472>>2]}v[a+3472>>2]=b+1;b=w[b|0]}return b|0}v[a+3504>>2]=v[a+20>>2];return-1}function cH(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;if((b|0)<=-1){t[c|0]=0;return c}if((b|0)<=390){od(c,v[(b<<2)+1028816>>2]);return c}a:{b:{e=b-391|0;if((e|0)>=v[a+72>>2]){break b}g=v[a+80>>2];f=e;e=v[a+76>>2];e=pm(a,(v[a+68>>2]+B(f,e)|0)+3|0,e,d);h=v[a+80>>2];f=b-390|0;b=v[a+76>>2];i=pm(a,(v[a+68>>2]+B(f,b)|0)+3|0,b,d);b=e+g|0;e=v[a+80>>2];if((b|0)<(e|0)){break b}g=v[a+84>>2];if((g|0)<(b|0)){break b}f=e;e=h+i|0;if((f|0)>=(e|0)|(e|0)>(g|0)|(b|0)>(e|0)){break b}if(!v[d>>2]){break a}d=b+v[a+8>>2]|0;a=e-b|0;a=(a|0)<255?a:255;j=Sb(c,d,a)+a|0,k=0,t[j|0]=k;return c}v[d>>2]=0}t[c|0]=0;return c}function sY(a,b){var c=0,d=0,e=0,f=0;d=Ma-16|0;Ma=d;a:{b:{b=v[b+4>>2];c:{if(!b){c=zb(0);if(c>>>0>=4294967280){break b}d:{e:{if(c>>>0>=11){e=c+16&-16;b=ab(e);v[a+8>>2]=e|-2147483648;v[a>>2]=b;v[a+4>>2]=c;a=b;break e}t[a+11|0]=c;if(!c){break d}}cb(a,0,c)}t[a+c|0]=0;break c}e=BX(b);if(!e){t[a|0]=0;t[a+11|0]=0;break c}c=zb(e);if(c>>>0>=4294967280){break a}f:{g:{if(c>>>0>=11){f=c+16&-16;b=ab(f);v[d+8>>2]=f|-2147483648;v[d>>2]=b;v[d+4>>2]=c;break g}t[d+11|0]=c;b=d;if(!c){break f}}cb(b,e,c)}t[b+c|0]=0;v[a+8>>2]=v[d+8>>2];b=v[d+4>>2];v[a>>2]=v[d>>2];v[a+4>>2]=b}Ma=d+16|0;return}sc();L()}sc();L()}function r_(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;u[a+64>>1]=256;v[a+8>>2]=d;v[a+4>>2]=b;v[a>>2]=v[b+100>>2];a:{if(!d){break a}b=v[v[d+156>>2]>>2];v[a+12>>2]=b;v[a+20>>2]=b+56;v[a+16>>2]=b+20;it(b);v[a+68>>2]=0;v[a+72>>2]=0;if(!e|!c){break a}b=v[v[c+40>>2]>>2];if(!b){break a}v[a+72>>2]=v[b>>2];v[a+68>>2]=v[v[d+156>>2]+36>>2]}v[a+24>>2]=0;v[a+28>>2]=0;v[a+40>>2]=0;v[a+44>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;b=v[113806];v[a+76>>2]=v[113805];v[a+80>>2]=b;b=v[113808];v[a+84>>2]=v[113807];v[a+88>>2]=b;b=v[113810];v[a+92>>2]=v[113809];v[a+96>>2]=b;b=v[113812];v[a+100>>2]=v[113811];v[a+104>>2]=b}function TT(a,b,c){var d=0,e=0,f=0;e=c+4|0;a:{b:{f=v[a+4>>2];c:{if(!f){d=e>>>0>1e3?e:1e3;v[a+8>>2]=d;d=gb(d);v[a+16>>2]=0;v[a+4>>2]=d;break c}d=v[a+8>>2];e=e+v[a+16>>2]|0;if(d>>>0>=e>>>0){break b}while(1){d=d<<1;if(e>>>0>d>>>0){continue}break}v[a+8>>2]=d;d=Wd(f,d);if(d){v[a+4>>2]=d;d=d+v[a+16>>2]|0;break c}d=gb(v[a+8>>2]);e=v[a+4>>2];d=cb(d,e,v[a+16>>2]);$a(e);v[a+4>>2]=d;d=d+v[a+16>>2]|0}v[a+12>>2]=d;break a}d=v[a+12>>2]}t[d|0]=c;t[d+1|0]=c>>>8;t[d+2|0]=c>>>16;t[d+3|0]=c>>>24;d=v[a+12>>2]+4|0;v[a+12>>2]=d;v[a+16>>2]=v[a+16>>2]+4;cb(d,b,c);v[a+12>>2]=v[a+12>>2]+c;v[a+16>>2]=v[a+16>>2]+c}function Rk(a,b,c){var d=0,e=0,f=0,g=0;d=Ma-32|0;Ma=d;e=L2(a,b,c,d+4|0);if(e){a=0;f=d+28|0;g=d+24|0;if(b){if(f){v[f>>2]=v[b>>2]}if(g){v[g>>2]=v[b+4>>2]}}Uq(c,d+16|0,d+20|0,d+8|0,d+12|0);if(e){fe(e,0,0,e?v[e>>2]:-1,e?v[e+4>>2]:-1,0,0,0,0)}g=v[d+16>>2];a:{if((g|0)<1){break a}f=v[d+20>>2];if((f|0)<1){break a}while(1){b=0;if((f|0)>=1){while(1){if(v[v[v[c+16>>2]+(a<<2)>>2]+(b<<2)>>2]==1){fe(e,b-v[d+12>>2]|0,a-v[d+8>>2]|0,v[d+28>>2],v[d+24>>2],28,v[d+4>>2],0,0);f=v[d+20>>2]}b=b+1|0;if((f|0)>(b|0)){continue}break}g=v[d+16>>2]}a=a+1|0;if((g|0)>(a|0)){continue}break}}_b(d+4|0)}Ma=d+32|0;return e}function jBa(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;f=Ma-16|0;Ma=f;e=v[a+4>>2];h=v[e+24>>2];g=!w[e+66|0];if(v[h+224>>2]){d=t[e+67|0]}else{d=x[e+112>>1]<256}a:{if(!(g|!d)){g=e+66|0;d=1;break a}g=v[e+20>>2];d=t[e+61|0]}t[e+67|0]=0;i=a;b:{c:{if(w[h+200|0]==12){d:{e:{switch(d-1|0){case 0:d=f+12|0;if(v[e+52>>2]==2){v[e+52>>2]=1;t[f+12|0]=15;d=f+13|0}t[d|0]=w[g|0];d=d+1|0;break d;case 1:break e;default:break c}}d=f+12|0;if(y[e+52>>2]<=1){v[e+52>>2]=2;t[f+12|0]=14;d=f+13|0}t[d|0]=w[g|0];t[d+1|0]=w[g+1|0];d=d+2|0}a=f+12|0;d=d-a|0}else{a=g}EI(i,a,d,b,c);break b}v[c>>2]=1}Ma=f+16|0}function zca(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;f=Ma-48|0;Ma=f;v[f+40>>2]=b;a:{if(!(v[c+4>>2]&1)){c=Qa[v[v[a>>2]+24>>2]](a,b,c,d,e)|0;break a}b=f+24|0;a=v[c+28>>2];v[b>>2]=a;v[a+4>>2]=v[a+4>>2]+1;a=Br(b);b=v[b>>2];c=v[b+4>>2]-1|0;v[b+4>>2]=c;if((c|0)==-1){Qa[v[v[b>>2]+8>>2]](b)}b:{if(e){Qa[v[v[a>>2]+24>>2]](f+24|0,a);break b}Qa[v[v[a>>2]+28>>2]](f+24|0,a)}g=f,h=Hi(f+24|0),v[g+16>>2]=h;while(1){g=f,h=Zn(f+24|0),v[g+8>>2]=h;if(v[f+16>>2]!=v[f+8>>2]){_O(f+40|0,v[v[f+16>>2]>>2]);v[f+16>>2]=v[f+16>>2]+4;continue}else{c=v[f+40>>2];Vb(f+24|0)}break}}Ma=f+48|0;return c|0}function dza(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=v[a+8>>2];Ah(v[a+4>>2],b,c,d);Ah(v[a+8>>2],b,c,d);Ah(v[a+12>>2],b,c,d);Ah(v[a+16>>2],b,c,d);Ah(v[a+20>>2],b,c,d);Ah(v[a+24>>2],b,c,d);Ah(v[a+28>>2],b,c,d);Ah(v[a+32>>2],b,c,d);Ah(v[a+36>>2],b,c,d);Ah(v[a+40>>2],b,c,d);Ah(v[a+44>>2],b,c,d);Ah(v[a+48>>2],b,c,d);Ah(v[a+52>>2],b,c,d);Ah(v[a+56>>2],b,c,d);Ah(v[a+60>>2],b,c,d);Ah(v[a+64>>2],b,c,d);Ah(v[a+68>>2],b,c,d);Ah(v[a+72>>2],b,c,d);Ah(v[a+76>>2],b,c,d);Qa[v[b+4>>2]](v[b>>2],0);Qa[v[b+4>>2]](v[b>>2],9);Qa[v[b+4>>2]](v[b>>2],10);Qa[v[b+8>>2]](v[b>>2],32,127);Qa[v[b+8>>2]](v[b>>2],160,255)}function d_(a,b){var c=0,d=0,e=0,f=0;c=v[a+32>>2];e=b;d=v[a+28>>2];if(d){while(1){f=v[c+8>>2];if(f){Qa[v[b+8>>2]](b,f)}v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=0;v[c+4>>2]=0;c=c+16|0;d=d-1|0;if(d){continue}break}c=v[a+32>>2]}if(c){Qa[v[e+8>>2]](e,c)}v[a+24>>2]=0;v[a+28>>2]=0;v[a+32>>2]=0;c=v[a+20>>2];d=v[a+16>>2];if(d){while(1){f=v[c+8>>2];if(f){Qa[v[b+8>>2]](b,f)}v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=0;v[c+4>>2]=0;c=c+16|0;d=d-1|0;if(d){continue}break}c=v[a+20>>2]}if(c){Qa[v[e+8>>2]](e,c)}v[a+12>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;e=v[a+8>>2];if(e){Qa[v[b+8>>2]](b,e)}v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0}function bg(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=Ma-16|0;Ma=e;if(!w[a+32|0]){cg(a,0)}f=e+8|0;g=f;b=Ma-16|0;Ma=b;if(!w[a+32|0]){cg(a,0)}v[b>>2]=0;v[b+4>>2]=v[279250];c=v[a+8>>2];a:{if(c){Qa[v[v[c>>2]+28>>2]](b+8|0,c,1);break a}v[b+8>>2]=0}jb(b,b+8|0);c=v[b+8>>2];v[b+8>>2]=0;b:{if(!c){break b}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break b}d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}}c=v[b>>2];v[b+4>>2]=v[(c?c+12|0:1117e3)>>2];Lr(g,b);db(b);Ma=b+16|0;c:{if(!Hb(f,280544,-1)){a=v[a+8>>2];if(v[a+8>>2]<=4){break c}h=w[v[a+12>>2]+5|0]==47}db(e+8|0);Ma=e+16|0;return h}ni();L()}function Zv(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{d=v[a>>2];if(!d){break a}e=v[d+28>>2];d=v[d+24>>2];e=e-d|0;if((e|0)<1){break a}e=e>>>2|0;j=e>>>0>1?e:1;e=0;while(1){f=w[b+11|0];g=f<<24>>24<0;d=v[(e<<2)+d>>2];h=w[d+59|0];i=h<<24>>24<0;b:{f=g?v[b+4>>2]:f;if((f|0)!=((i?v[d+52>>2]:h)|0)){break b}c:{d:{if(!f){b=v[c>>2];v[c>>2]=d;break d}d=d+48|0;if(lc(g?v[b>>2]:b,i?v[d>>2]:d,f)){break b}b=v[c>>2];d=v[v[v[a>>2]+24>>2]+(e<<2)>>2];v[c>>2]=d;if(!d){break c}}Qa[v[v[d>>2]+8>>2]](d)|0}if(!b){break a}Qa[v[v[b>>2]+12>>2]](b)|0;return}e=e+1|0;if((e|0)!=(j|0)){d=v[v[a>>2]+24>>2];continue}break}}}function DIa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=Ma-208|0;Ma=d;f=v[a+532>>2];Qa[v[b+60>>2]](b,d+16|0,16,d+12|0);c=v[d+12>>2];a:{if((c|0)<0){e=162;break a}e=3;if(!c|(c|0)>16){break a}b:{c:{if(f){g=v[f>>2];if(g){break c}}e=TA(a,c,0);if(e){break a}f=v[a+532>>2];c=v[d+12>>2];break b}if((c|0)!=(g|0)){break a}}e=v[b+8>>2];g=v[b>>2];if((c|0)>=1){c=0;while(1){a=(d+16|0)+B(c,12)|0;v[b>>2]=v[a>>2];v[b+8>>2]=v[a+4>>2];a=Qa[v[b+40>>2]](b,0)|0;h=c<<2;v[h+v[f+136>>2]>>2]=a;v[v[f+140>>2]+h>>2]=a;c=c+1|0;if((c|0)>2]){continue}break}}v[b+8>>2]=e;v[b>>2]=g;e=0}v[b+12>>2]=e;Ma=d+208|0}function sr(a,b,c,d,e,f,g,h){var i=0,j=0,k=0;i=Ma-16|0;Ma=i;if((b^-1)+1073741807>>>0>=c>>>0){k=w[a+11|0]>>>7|0?v[a>>2]:a;a:{if(b>>>0<536870887){v[i+8>>2]=b<<1;v[i+12>>2]=b+c;c=Ma-16|0;Ma=c;Ma=c+16|0;c=i+8|0;j=i+12|0;c=v[(y[j>>2]>2]?c:j)>>2];if(c>>>0>=2){j=c+4&-4;c=j-1|0;c=(c|0)==2?j:c}else{c=1}break a}c=1073741806}j=c+1|0;c=FN(j);if(e){rk(c,k,e)}if(g){rk(c+(e<<2)|0,h,g)}d=d-(e+f|0)|0;if(d){h=e<<2;rk((h+c|0)+(g<<2)|0,(h+k|0)+(f<<2)|0,d)}if((b|0)!=1){$a(k)}v[a>>2]=c;v[a+8>>2]=j|-2147483648;b=a;a=d+(e+g|0)|0;v[b+4>>2]=a;v[i+4>>2]=0;v[c+(a<<2)>>2]=v[i+4>>2];Ma=i+16|0;return}sc();L()}function Nra(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;f=Ma-640|0;Ma=f;h=v[a+12>>2];i=Qa[v[v[h>>2]+28>>2]](h)|0;e=v[a+12>>2];Qa[v[v[e>>2]+36>>2]](e,f+384|0,f+128|0,v[a+16>>2]);g=+v[b>>2]*152587890625e-16+.5;a:{if(D(g)<2147483648){e=~~g;break a}e=-2147483648}if((i|0)>=1){b=0;j=v[a+20>>2];a=v[a+16>>2];e=j+B((e|0)<0?0:(a|0)<(e|0)?a:e,i)|0;while(1){j=(b<<2)+f|0;a=b<<3;g=(A[a+(f+384|0)>>3]+A[a+(f+128|0)>>3]*(+w[b+e|0]/255))*65536;b:{if(D(g)<2147483648){a=~~g;break b}a=-2147483648}v[j>>2]=a;b=b+1|0;if((i|0)!=(b|0)){continue}break}}Qa[v[v[h>>2]+16>>2]](h,f,c,d);Ma=f+640|0}function Mra(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;f=Ma-640|0;Ma=f;h=v[a+12>>2];i=Qa[v[v[h>>2]+28>>2]](h)|0;e=v[a+12>>2];Qa[v[v[e>>2]+36>>2]](e,f+384|0,f+128|0,v[a+16>>2]);g=+v[b>>2]*152587890625e-16+.5;a:{if(D(g)<2147483648){e=~~g;break a}e=-2147483648}if((i|0)>=1){b=0;j=v[a+20>>2];a=v[a+16>>2];e=j+B((e|0)<0?0:(a|0)<(e|0)?a:e,i)|0;while(1){j=(b<<2)+f|0;a=b<<3;g=(A[a+(f+384|0)>>3]+A[a+(f+128|0)>>3]*(+w[b+e|0]/255))*65536;b:{if(D(g)<2147483648){a=~~g;break b}a=-2147483648}v[j>>2]=a;b=b+1|0;if((i|0)!=(b|0)){continue}break}}Qa[v[v[h>>2]+20>>2]](h,f,c,d);Ma=f+640|0}function Lra(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;f=Ma-640|0;Ma=f;h=v[a+12>>2];i=Qa[v[v[h>>2]+28>>2]](h)|0;e=v[a+12>>2];Qa[v[v[e>>2]+36>>2]](e,f+384|0,f+128|0,v[a+16>>2]);g=+v[b>>2]*152587890625e-16+.5;a:{if(D(g)<2147483648){e=~~g;break a}e=-2147483648}if((i|0)>=1){b=0;j=v[a+20>>2];a=v[a+16>>2];e=j+B((e|0)<0?0:(a|0)<(e|0)?a:e,i)|0;while(1){j=(b<<2)+f|0;a=b<<3;g=(A[a+(f+384|0)>>3]+A[a+(f+128|0)>>3]*(+w[b+e|0]/255))*65536;b:{if(D(g)<2147483648){a=~~g;break b}a=-2147483648}v[j>>2]=a;b=b+1|0;if((i|0)!=(b|0)){continue}break}}Qa[v[v[h>>2]+24>>2]](h,f,c,d);Ma=f+640|0}function eca(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;h=Ma-416|0;Ma=h;d=h+416|0;v[h+12>>2]=d;c=Ma-144|0;Ma=c;v[c+28>>2]=c+132;i=c+32|0;pO(a+8|0,i,c+28|0,e,f,g);v[c+16>>2]=0;v[c+20>>2]=0;v[c+12>>2]=i;e=h+16|0;i=e;g=v[h+12>>2]-e>>2;f=Ma-16|0;Ma=f;v[f+12>>2]=v[a+8>>2];a=al(f+8|0,f+12|0);g=OO(e,c+12|0,g,c+16|0);a=v[a>>2];if(a?a:0){v[279293]=(a|0)==-1?1184868:a}Ma=f+16|0;if((g|0)==-1){_f();L()}v[h+12>>2]=i+(g<<2);Ma=c+144|0;c=v[h+12>>2];a=Ma-16|0;Ma=a;v[a+8>>2]=b;while(1){if((c|0)!=(e|0)){_O(a+8|0,v[e>>2]);e=e+4|0;continue}break}Ma=a+16|0;Ma=d;return v[a+8>>2]}function Yxa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;g=Ma-16|0;Ma=g;a:{if(!a){break a}f=v[a+8>>2];if(!f){break a}e=v[f+12>>2];b:{if(e){while(1){if(v[e+4>>2]==14){break b}e=v[e+24>>2];if(e){continue}break}}e=v[f+44>>2]}if(e){if(v[a+32>>2]){break a}hj(e);yq(e);f=v[a+8>>2];v[f+44>>2]=0}b=$X(f,b,c,d);v[v[a+8>>2]+44>>2]=b;if(b){break a}v[a+84>>2]=2;c=v[a>>2];b=0;c:{if(!c){break c}b=0;if(v[c+108>>2]!=-554844497){break c}b=v[c+124>>2]}c=v[a+108>>2];d=v[a+112>>2];v[g+4>>2]=0;v[g>>2]=338368;nb(b,d,c,a,0,1,2,2,338368,0,0,0,233240,g);v[a+212>>2]=1;v[a+172>>2]=-1;v[a+84>>2]=2}Ma=g+16|0}function Nma(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=Ma-32|0;Ma=d;e=d+16|0;Qa[v[v[a>>2]+12>>2]](e,a,b);Qa[v[v[a>>2]+12>>2]](d,a,c);f=Ma-16|0;Ma=f;b=w[e+11|0];g=b<<24>>24;a=w[d+11|0];c=a<<24>>24;h=(c|0)<0?v[d+4>>2]:a;a=(g|0)<0?v[e+4>>2]:b;a:{if((h|0)==(a|0)){if(!a){break a}if(!lc((g|0)<0?v[e>>2]:e,(c|0)<0?v[d>>2]:d,a)){break a}}b:{if(!xZ(e,d)){break b}v[f+12>>2]=0;v[f+8>>2]=0;b=w[e+11|0];a=b<<24>>24<0;Fj(a?v[e>>2]:e,a?v[e+4>>2]:b,f+12|0,f+8|0);b=v[f+12>>2];a=MP(b);if(b){$a(b)}if(a){break b}}}Ma=f+16|0;if(t[d+11|0]<=-1){$a(v[d>>2])}if(t[d+27|0]<=-1){$a(v[d+16>>2])}Ma=d+32|0}function AM(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=Ma-48|0;Ma=c;a:{b:{c:{d:{e:{e=v[a+584>>2];b=v[e>>2];switch(b-1|0){case 0:break a;case 2:break d;case 1:break e;default:break c}}d=x[a+84>>1];b=d-8|0;if(1<>>0<=24:0){break b}a=v[a+628>>2];v[c+16>>2]=d;wb(a,187951,31404,c+16|0);b=0;break a}d=x[a+86>>1];if((d|0)==3){break b}a=v[a+628>>2];v[c+32>>2]=d;wb(a,187951,32849,c+32|0);b=0;break a}a=v[a+628>>2];v[c>>2]=b;wb(a,187951,34839,c);b=0;break a}b=1;v[e+4>>2]=x[a+138>>1]==1?x[a+98>>1]:1;f:{if(w[a+13|0]&4){f=e,g=Tl(a),v[f+8>>2]=g;break f}f=e,g=Gi(a),v[f+8>>2]=g}}Ma=c+48|0;return b}function gd(a,b){var c=0,d=0,e=0,f=0;if((b|0)>-1){a:{if(!b){break a}e=v[a+12>>2];if(!e){e=gb(4096);v[a+12>>2]=e;if(!e){break a}}c=v[a+16>>2];f=v[a+20>>2];d=c-f|0;b:{if((d|0)<1){d=0;break b}if((b|0)<(d|0)){d=0;break b}v[a+20>>2]=c;b=b-d|0;f=c}c:{if((b|0)>=4097){Qa[v[v[a+8>>2]+4>>2]](v[a+4>>2],b,1)|0;v[a+20>>2]=v[a+16>>2];d=b+d|0;break c}if((c|0)==(f|0)){if((b|0)<1){break c}c=Qa[v[v[a+8>>2]+8>>2]](v[a+4>>2],e,1,4096)|0;v[a+16>>2]=c;b=(b|0)>(c|0)?c:b;v[a+20>>2]=b;d=b+d|0;break c}c=c-f|0;b=(b|0)>(c|0)?c:b;v[a+20>>2]=b+f;d=b+d|0}v[a+28>>2]=v[a+28>>2]+d}return}O(3764,6824,122,193478);L()}function aQa(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,h=0;e=1;if(!(!v[a+16>>2]|!v[a+20>>2])){Tq(a);f=v[a+20>>2];g=A[c>>3];h=A[d>>3];c=Ma+-64|0;Ma=c;a=v[a+12>>2];if(a){v[c+60>>2]=v[b>>2];v[c+48>>2]=0;v[c+52>>2]=1072693248;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=0;v[c+28>>2]=1072693248;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;b=c+48|0;d=c+40|0;e=c+32|0;Qa[v[v[a>>2]+120>>2]](a,b,d,e,c+24|0,c+16|0,c+8|0)|0;v[c+48>>2]=1;z[c+40>>2]=g;z[c+32>>2]=h;Qa[v[v[a>>2]+88>>2]](a,c+60|0,b,d,e)|0;Qa[v[v[a>>2]+128>>2]](a,f)|0}Ma=c- -64|0;e=0}return e|0}function Jca(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;f=Ma-48|0;Ma=f;v[f+40>>2]=b;a:{if(!(v[c+4>>2]&1)){c=Qa[v[v[a>>2]+24>>2]](a,b,c,d,e)|0;break a}b=f+24|0;a=v[c+28>>2];v[b>>2]=a;v[a+4>>2]=v[a+4>>2]+1;a=Dr(b);b=v[b>>2];c=v[b+4>>2]-1|0;v[b+4>>2]=c;if((c|0)==-1){Qa[v[v[b>>2]+8>>2]](b)}b:{if(e){Qa[v[v[a>>2]+24>>2]](f+24|0,a);break b}Qa[v[v[a>>2]+28>>2]](f+24|0,a)}g=f,h=Hi(f+24|0),v[g+16>>2]=h;while(1){g=f,h=ao(f+24|0),v[g+8>>2]=h;if(v[f+16>>2]!=v[f+8>>2]){CD(f+40|0,t[v[f+16>>2]]);v[f+16>>2]=v[f+16>>2]+1;continue}else{c=v[f+40>>2];Vb(f+24|0)}break}}Ma=f+48|0;return c|0}function wX(a){a=a|0;var b=0,c=0;if(a){b=v[a+32>>2];if(b){b=v[b+80>>2]}else{b=0}hj(a);c=v[a+52>>2];if(c){Xj(c)}c=v[a+60>>2];a:{if(b){b:{if(!c){break b}if(_j(b,c)){break b}Qa[v[256556]](v[a+60>>2])}c=v[a+8>>2];c:{if(!c){break c}if(_j(b,c)){break c}Qa[v[256556]](v[a+8>>2])}c=v[a+56>>2];d:{if(!c){break d}if(_j(b,c)){break d}Qa[v[256556]](v[a+56>>2])}c=v[a+48>>2];if(!c){break a}if(_j(b,c)){break a}Qa[v[256556]](v[a+48>>2]);break a}if(c){Qa[v[256556]](c)}b=v[a+8>>2];if(b){Qa[v[256556]](b)}b=v[a+48>>2];if(b){Qa[v[256556]](b)}b=v[a+56>>2];if(!b){break a}Qa[v[256556]](b)}Qa[v[256556]](a)}}function Up(a,b){var c=0,d=0;c=Ma-16|0;Ma=c;v[a>>2]=0;v[a+4>>2]=v[279250];a:{b:{b=v[b>>2];if(!b){v[c>>2]=0;break b}Qa[v[v[b>>2]+28>>2]](c,b,1);b=v[c>>2];if(!b){break b}Qa[v[v[b>>2]+28>>2]](c+8|0,b,1);break a}v[c+8>>2]=0}jb(a,c+8|0);b=v[c+8>>2];v[c+8>>2]=0;c:{if(!b){break c}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break c}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}b=a;a=v[a>>2];v[b+4>>2]=v[(a?a+12|0:1117e3)>>2];a=v[c>>2];v[c>>2]=0;d:{if(!a){break d}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break d}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=c+16|0}function kWa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{if(w[a+286|0]|!w[a+285|0]|(w[a+287|0]|w[a+288|0])){break a}if(w[a+289|0]){break a}b:{switch(c|0){default:ob(a,1028,0,0);return 1028;case 0:case 9:break b}}c:{d:{if(!w[a+112|0]){break d}a=Qa[v[b+4>>2]](a,b,e)|0;if(a){break c}a=v[e>>2];b=!c;t[a+32|0]=b;if(b){break d}b=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);v[a+36>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);v[a+40>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);t[a+44|0]=w[d+8|0]}a=0}return a|0}ob(a,1029,0,0);return 1029}function vU(a,b,c,d,e,f){var g=0;v[a>>2]=958512;v[a+4>>2]=b;a:{if((c|0)!=1){b=ab(44);v[b+40>>2]=0;v[b+32>>2]=0;v[b+16>>2]=f;v[b+12>>2]=e;v[b+8>>2]=d;v[b+4>>2]=c;v[b>>2]=a;c=B(d,e);v[b+20>>2]=c;g=B(e,f)+7>>3;v[b+24>>2]=g;g=g+(B(c,f)+7>>3)|0;v[b+28>>2]=g;b:{if((d|0)<1|(e|0)<1|((f|0)<1|(f|0)>16)){break b}if((2147483647/(e>>>0)|0)<=(d|0)|(e|0)>32|(c|0)>=(2147483640/(f>>>0)|0)){break b}c=si(g);v[b+32>>2]=c;eb(c,0,g);v[b+40>>2]=1;v[b+36>>2]=v[b+28>>2];v[a+8>>2]=b;break a}v[a+8>>2]=b;tb(0);$a(b);v[a+8>>2]=0;break a}v[a+8>>2]=0}v[a+34076>>2]=0;v[a+34068>>2]=0;eb(a+12|0,0,32768);return a}function q9(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;if((c|0)>=1){g=v[a+12>>2];while(1){i=c;c=c-1|0;j=g;f=u[b>>1];d=0;a:{if((f|0)<1){break a}d=1023;if((f|0)>7409){break a}d=f-3314>>2;if(!v[a+4>>2]){break a}d=x3a(v[296254],v[296255],1284865837,1481765933)+1|0;e=Pa;e=d>>>0<1?e+1|0:e;v[296254]=d;v[296255]=e;h=(+(f|0)+-3314)*.25+ +(e>>>1|0)*4.656612875245797e-10+-.5;if(D(h)<2147483648){d=~~h;break a}d=-2147483648}e=XM((+u[b+2>>1]+.5)*30517578125e-15,(+u[b+4>>1]+.5)*30517578125e-15,v[a+4>>2]);v[j>>2]=d<<14|((e|0)<0?12266:e);b=b+6|0;g=g+4|0;if((i|0)>1){continue}break}}}function lEa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=Ma-128|0;Ma=f;if((c|0)>=1){k=(B((b|0)!=0,36)+a|0)+16|0;while(1){i=(c|0)<16?c:16;g=i<<1;b=0;while(1){h=b<<2;j=v[h+d>>2]+j|0;e=j;v[f+h>>2]=((e+(e>>31)|0)+32768&-65536)>>16;b=b+1|0;if((g|0)!=(b|0)){continue}break}b=0;while(1){e=b<<2;h=(e|4)+f|0;v[h>>2]=v[h>>2]-v[e+f>>2];b=b+2|0;if((g|0)>(b|0)){continue}break}a:{if(v[a+4>>2]){break a}b=f;g=i;while(1){e=iw(k,v[b>>2],v[b+4>>2],v[a>>2],0);if(e){v[a+4>>2]=e;break a}b=b+8|0;e=(g|0)>1;g=g-1|0;if(e){continue}break}}c=c-i|0;if((c|0)>0){continue}break}}Ma=f+128|0}function Pja(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;d=Ma-48|0;Ma=d;a:{if(!(c&2)){break a}dF(a,b);b:{if(!v[a+100>>2]){break b}v[d+8>>2]=0;qb(d+8|0,b);if(v[a+100>>2]){v[d+40>>2]=0;v[d+32>>2]=0;v[d+36>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;c=d+16|0;e=jd(c,971432);$E(d+8|0,c,v[a+100>>2]);vd(e)}c=v[d+8>>2];v[d+8>>2]=0;if(!c){break b}e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(e){break b}e=v[c+4>>2];if(!e){v[c+4>>2]=-32767}if(!e){Qa[v[v[c>>2]+4>>2]](c)}}if(w[a+60|0]){break a}if(v[b+148>>2]&4096){u[a+60>>1]=257;break a}if(!(v[b+148>>2]&2048)){break a}t[a+61|0]=1}aF(a);Ma=d+48|0}function uM(a,b){var c=0,d=0,e=0;a:{if((b|0)<=-1){b=v[279529];if((b|0)<1){break a}c=1118128;b:{while(1){e=v[c+24>>2];if(e){if(!(Qa[e|0](a)|0)){break b}b=v[279529]}c=c+28|0;d=d+1|0;if((d|0)<(b|0)){continue}break}return 0}b=v[c>>2];if((b|0)<0){break a}}d=0;e=v[279529];if((e|0)<1){break a}c=1118128;c:{while(1){if(v[c>>2]==(b|0)){break c}c=c+28|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}return 0}b=v[c+16>>2];if(!b){break a}a=Qa[b|0](a,0)|0;if(!a){break a}b=v[a+28>>2];if(b&16384){return a}if(!(b&255)){return a}if(v[a+32>>2]){return a}b=qM(b);v[a+32>>2]=b;if(b){return a}Og(a)}return 0}function dWa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(!(w[a+288|0]?w[a+285|0]:0)){ob(a,1029,0,0);return 1029}if(c){ob(a,1028,0,0);return 1028}c=0;a:{if(!w[a+114|0]){break a}c=Qa[v[a+152>>2]](28)|0;if(!c){ob(a,1,0,0);c=1;break a}v[c+4>>2]=741;v[c>>2]=742;d=v[a+700>>2];b:{if(d){v[d+8>>2]=c;break b}v[a+696>>2]=c}v[c+8>>2]=0;v[c+12>>2]=d;v[a+700>>2]=c;v[c+16>>2]=v[a+436>>2];v[c+20>>2]=v[a+440>>2];v[c+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=c}c=0}c:{if(c){break c}t[a+2252|0]=1;if(w[a+112|0]){c=Qa[v[b+4>>2]](a,b,e)|0;if(c){break c}}c=0}return c|0}function bWa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(!(w[a+288|0]?w[a+285|0]:0)){ob(a,1029,0,0);return 1029}if(c){ob(a,1028,0,0);return 1028}c=0;a:{if(!w[a+114|0]){break a}c=Qa[v[a+152>>2]](28)|0;if(!c){ob(a,1,0,0);c=1;break a}v[c+4>>2]=743;v[c>>2]=744;d=v[a+700>>2];b:{if(d){v[d+8>>2]=c;break b}v[a+696>>2]=c}v[c+8>>2]=0;v[c+12>>2]=d;v[a+700>>2]=c;v[c+16>>2]=v[a+436>>2];v[c+20>>2]=v[a+440>>2];v[c+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=c}c=0}c:{if(c){break c}t[a+2252|0]=2;if(w[a+112|0]){c=Qa[v[b+4>>2]](a,b,e)|0;if(c){break c}}c=0}return c|0}function Zja(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a:{if((c|0)<1){break a}c=c-1|0;if(!d){while(1){d=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=d;ze(a+8|0,b+8|0);b=b+44|0;a=a+44|0;d=(c|0)>0;c=c-1|0;if(d){continue}break a}}while(1){d=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=d;ze(a+8|0,b+8|0);v[b+32>>2]=969432;v[b+8>>2]=969400;d=v[b+36>>2];if(d){e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(!e){Qa[v[v[d>>2]+4>>2]](d)}v[b+36>>2]=0}v[b+24>>2]=969432;d=v[b+28>>2];if(d){e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(!e){Qa[v[v[d>>2]+4>>2]](d)}v[b+28>>2]=0}db(b+16|0);b=b+44|0;a=a+44|0;d=(c|0)>0;c=c-1|0;if(d){continue}break}}}function YVa(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;a:{if(w[a+285|0]|w[a+286|0]|(w[a+287|0]|w[a+288|0])){break a}if(w[a+289|0]){break a}ob(a,1029,0,0);return 1029}f=v[a+268>>2];if(!(f&536870912)){ob(a,1061,0,0);return 1061}b:{g=v[a+212>>2];if(!g){break b}if(Qa[g|0](a,f,c,d)|0){break b}ob(a,904,0,0);return 904}f=0;c:{if(!w[a+112|0]){break c}f=Qa[v[b+4>>2]](a,b,e)|0;if(f){break c}f=v[a+268>>2];b=v[e>>2];v[b+32>>2]=c;v[b>>2]=f;if(!c){v[b+36>>2]=0;return 0}b=Qa[v[a+152>>2]](c)|0;v[v[e>>2]+36>>2]=b;b=v[v[e>>2]+36>>2];if(!b){ob(a,1,0,0);return 1}cb(b,d,c);f=0}return f|0}function BZ(a){var b=0,c=0,d=0;b=Ma-16|0;Ma=b;d=Mb(a,0);a:{if(d){break a}d=_e(a,b+8|0,4);if(d){break a}d=3;if(w[b+8|0]!=31|w[b+9|0]!=139|(w[b+10|0]!=8|w[b+11|0]>31)){break a}d=re(a,6);v[b+12>>2]=d;c=w[b+11|0];if(c&4){c=_$(a,b+12|0);d=v[b+12>>2];if(d){break a}d=re(a,c);v[b+12>>2]=d;if(d){break a}d=0;c=w[b+11|0]}if(c&8){while(1){c=Gf(a,b+12|0)?0:3;d=v[b+12>>2];c=d?2:c;if(!c){continue}break}if((c|0)!=3){break a}c=w[b+11|0]}if(c&16){while(1){c=Gf(a,b+12|0)?0:5;d=v[b+12>>2];c=d?2:c;if(!c){continue}break}if((c|0)!=5){break a}c=w[b+11|0]}if(!(c&2)){break a}d=re(a,2)}Ma=b+16|0;return d}function $Da(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,h=0;b=v[a+4>>2];g=b+c|0;b=0-b|0;f=g-1&b;b=b&d;if((x[e+12>>1]&7)!=2){b=v[a+20>>2]<(d-g|0)?b:(c|0)==(f|0)?b:(b|0)==(d|0)?b:f}c=v[a>>2];b=b>>c;a:{if((b|0)<0){break a}c=f>>c;d=x[a+52>>1];if((c|0)>=(d|0)){break a}d=(b|0)<(d|0)?b:d-1|0;b=-128>>(d&7);g=(c|0)>0?c:0;c=g<<13>>16;e=v[a+56>>2];f=v[a+140>>2];a=c+(e+f|0)|0;g=255>>>(g&7)|0;h=d<<13>>16;d=h-c|0;b:{if((d|0)>=1){t[a|0]=g|w[a|0];if((d|0)!=1){a=(d|0)<2?d:2;eb((e+(c+f|0)|0)+1|0,255,(h-(a+c|0)|0)+1|0);a=(e+((f+h|0)-a|0)|0)+1|0}a=a+1|0;break b}b=b&g}t[a|0]=w[a|0]|b}}function tha(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Ma-48|0;Ma=c;v[c+32>>2]=0;v[c+36>>2]=v[279250];e=v[b+132>>2];d=v[b+124>>2];f=v[b+136>>2];b=v[b+128>>2];v[c+16>>2]=f-b;v[c+8>>2]=b;v[c+4>>2]=d;v[c>>2]=977366;v[c+12>>2]=e-d;b=Gd(c+32|0,337394,c);v[a>>2]=0;v[a+4>>2]=v[279250];b=v[b>>2];a:{if(b){Qa[v[v[b>>2]+28>>2]](c+40|0,b,1);break a}v[c+40>>2]=0}jb(a,c+40|0);b=v[c+40>>2];v[c+40>>2]=0;b:{if(!b){break b}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break b}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}b=a;a=v[a>>2];v[b+4>>2]=v[(a?a+12|0:1117e3)>>2];db(c+32|0);Ma=c+48|0}function gaa(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,h=0,i=0,j=0,k=0,l=0;if(qj(a,v[b+8>>2],f)){$C(b,c,d,e);return}h=w[b+53|0];g=v[a+12>>2];t[b+53|0]=0;i=w[b+52|0];t[b+52|0]=0;j=a+16|0;_C(j,b,c,d,e,f);k=w[b+53|0];h=h|k;l=w[b+52|0];i=i|l;a:{if((g|0)<2){break a}j=j+(g<<3)|0;g=a+24|0;while(1){if(w[b+54|0]){break a}b:{if(l){if(v[b+24>>2]==1){break a}if(w[a+8|0]&2){break b}break a}if(!k){break b}if(!(t[a+8|0]&1)){break a}}u[b+52>>1]=0;_C(g,b,c,d,e,f);k=w[b+53|0];h=k|h;l=w[b+52|0];i=l|i;g=g+8|0;if(j>>>0>g>>>0){continue}break}}t[b+53|0]=(h&255)!=0;t[b+52|0]=(i&255)!=0}function bK(a){var b=0,c=0,d=0,e=0;c=v[a+20>>2]-1|0;if((c|0)>=0){while(1){b=v[(v[v[a+32>>2]+(c>>>4&268435452)>>2]+((c&63)<<3)|0)+4>>2];if(b){$a(b)}c=c-1|0;if((c|0)>-1){continue}break}}v[a>>2]=0;v[a+20>>2]=0;b=v[a+24>>2];if(b){c=b-1|0;v[a+24>>2]=c;d=v[a+32>>2]+(b<<2)|0;while(1){e=a;d=d-4|0;b=v[d>>2];if(b){$a(b);c=v[a+24>>2]}b=c;c=b-1|0;v[e+24>>2]=c;if(b){continue}break}}c=v[a+32>>2];if(c){$a(c)}b=v[a+4>>2];if(b){c=b-1|0;v[a+4>>2]=c;d=v[a+12>>2]+(b<<2)|0;while(1){e=a;d=d-4|0;b=v[d>>2];if(b){$a(b);c=v[a+4>>2]}b=c;c=b-1|0;v[e+4>>2]=c;if(b){continue}break}}a=v[a+12>>2];if(a){$a(a)}}function Td(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;g=v[a>>2];h=g>>>8|0;i=v[a+4>>2];if(h>>>0>=i>>>0){e=v[a+8>>2];a:{if(h>>>0>>0){f=v[a+12>>2];break a}f=(e<<1)+512|0;f=ab((f|0)!=(f&1073741822)?-1:f<<2);j=e<<2;l=(f+j|0)+1024|0;k=v[a+12>>2];if(k){cb(f,k,j);cb(l,v[a+16>>2],j);$a(k);g=v[a>>2];i=v[a+4>>2];e=v[a+8>>2]}v[a+16>>2]=l;v[a+12>>2]=f;v[a+8>>2]=e+256}e=h<<2;m=e+f|0,n=ab(4352),v[m>>2]=n;v[e+v[a+16>>2]>>2]=v[e+v[a+12>>2]>>2]+4096;v[a+4>>2]=i+1}e=h<<2;f=v[e+v[a+12>>2]>>2];t[v[e+v[a+16>>2]>>2]+(g&255)|0]=d;d=f+(g<<4&4080)|0;A[d+8>>3]=c;A[d>>3]=b;v[a>>2]=v[a>>2]+1}function Iy(a){var b=0,c=0,d=0,e=0;c=Ma-16|0;Ma=c;v[a+744>>2]=33;Ye(a,c+8|0,8);a:{b=w[c+8|0]|w[c+9|0]<<8|(w[c+10|0]<<16|w[c+11|0]<<24);e=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if((e|0)>-1){b=w[c+12|0]|w[c+13|0]<<8|(w[c+14|0]<<16|w[c+15|0]<<24);v[a+348>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);Bf(a);gc(a,c+12|0,4);b=v[a+348>>2];d=b&255;if(d-65>>>0>57|d-91>>>0<=5){break a}d=b>>>8&255;if(d-65>>>0>57|d-91>>>0<6){break a}d=b>>>16&255;if(d-65>>>0>57|d-91>>>0<6){break a}b=b>>>24|0;if(b-65>>>0>57|b-91>>>0<6){break a}v[a+744>>2]=65;Ma=c+16|0;return e}dc(a,2354);L()}dv(a,75582);L()}function uF(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;a:{if((c|0)<1){break a}e=c-1|0;d=c&3;if(d){while(1){f=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=f;v[a+8>>2]=v[b+8>>2];b=b+12|0;a=a+12|0;c=c-1|0;d=d-1|0;if(d){continue}break}}if(e>>>0<3){break a}while(1){d=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=d;v[a+8>>2]=v[b+8>>2];v[a+20>>2]=v[b+20>>2];d=v[b+16>>2];v[a+12>>2]=v[b+12>>2];v[a+16>>2]=d;v[a+32>>2]=v[b+32>>2];d=v[b+28>>2];v[a+24>>2]=v[b+24>>2];v[a+28>>2]=d;d=v[b+40>>2];v[a+36>>2]=v[b+36>>2];v[a+40>>2]=d;v[a+44>>2]=v[b+44>>2];b=b+48|0;a=a+48|0;d=(c|0)>4;c=c-4|0;if(d){continue}break}}}function u7(a,b){a=a|0;b=b|0;if(!((b|0)!=8&(b|0)!=32946)){if(!Pl(a,88368,1)){wb(v[a+628>>2],88346,10455,0);return 0}b=gb(136);v[a+584>>2]=b;if(b){v[b+96>>2]=0;v[b+100>>2]=0;v[b+104>>2]=0;v[b+108>>2]=0;v[b+128>>2]=v[a+672>>2];v[a+672>>2]=566;v[b+132>>2]=v[a+668>>2];v[a+668>>2]=567;v[b+120>>2]=-1;v[b+124>>2]=0;v[a+524>>2]=568;v[a+532>>2]=569;v[a+536>>2]=570;v[a+544>>2]=571;v[a+552>>2]=571;v[a+560>>2]=571;v[a+572>>2]=572;v[a+520>>2]=573;v[a+540>>2]=574;v[a+548>>2]=574;v[a+556>>2]=574;v[a+516>>2]=575;NC(a);return 1}wb(v[a+628>>2],88346,13195,0);return 0}O(3921,6646,349,88346);L()}function yu(a,b,c){var d=0,e=0,f=0;a:{b:{c:{d=v[b>>2];if(!d){if(v[b+8>>2]<1){break b}c=0;if(a){break c}while(1){Tb(0,v[v[b+16>>2]+(c<<2)>>2]);c=c+1|0;if((c|0)>2]){continue}break}break b}if(!a|!c){break a}jc(a,d,c);gc(a,d,c);return}while(1){f=c<<2;d=v[f+v[b+16>>2]>>2];d:{if(!d){break d}e=v[a+272>>2];if(!e){break d}jc(a,d,e);gc(a,d,e);d=v[v[b+16>>2]+f>>2]}Tb(a,d);c=c+1|0;if((c|0)>2]){continue}break}}if(v[b+12>>2]){Tb(a,v[b+16>>2])}c=v[a+272>>2];d=v[a+228>>2];e:{if(c>>>0<=d>>>0){break e}b=v[a+268>>2];if(!b){break e}c=c-d|0;if(!c){break e}jc(a,b,c);gc(a,b,c)}NQ(a)}}function qf(a,b){var c=0,d=0,e=0;c=-1;a:{d=v[a+8>>2];b:{if(d&7){break b}c=v[a+64>>2];if(!((c|0)<0|(c|0)>v[a+60>>2])){break a}c=-1;e=v[a+28>>2];v[a+28>>2]=e-1;c:{if((e|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;e=w[c|0];break c}e=Eb(a,1);if((e|0)==-1){break b}d=v[a+8>>2]}c=-1;if(d&7){break b}c=v[a+64>>2];if(!((c|0)<0|(c|0)>v[a+60>>2])){break a}c=-1;d=v[a+28>>2];v[a+28>>2]=d-1;d:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=a;a=v[a+24>>2];v[c+24>>2]=a+1;a=w[a|0];break d}a=Eb(a,1);if((a|0)==-1){break b}}c=0;if(!b){break b}v[b>>2]=e<<8|a}return c}v[a+8>>2]=d|4;return-1}function qJa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=u[a+302>>1];if(f){a:{b:{c:{switch(v[v[v[a>>2]+96>>2]+64>>2]-35|0){case 5:if(w[a+615|0]){break a}g=b+16|0;e=v[b+16>>2]+(c<<3)|0;break b;case 0:break c;default:break a}}g=b+16|0;e=v[b+16>>2]+(c<<3)|0}e=v[e>>2];f=fc(d,f,v[a+568>>2]);v[v[g>>2]+(c<<3)>>2]=f+e}e=v[b+24>>2]+c|0;t[e|0]=w[e|0]|8}e=u[a+304>>1];if(e){d:{if(!(!w[a+616|0]|(!w[a+615|0]|v[v[v[a>>2]+96>>2]+64>>2]!=40))){if(w[a+617|0]){break d}}g=c<<3;f=v[(g+v[b+16>>2]|0)+4>>2];a=fc(d,e,v[a+568>>2]);v[(g+v[b+16>>2]|0)+4>>2]=a+f}a=v[b+24>>2]+c|0;t[a|0]=w[a|0]|16}}function kR(a,b){var c=0,d=0,e=0;a:{if((a|0)==(b|0)){break a}c=v[a+24>>2];if(c){while(1){d=v[c>>2];Qa[v[v[a>>2]+16>>2]](c,1);$a(c);c=d;if(c){continue}break}}v[a+4>>2]=0;v[a+24>>2]=0;Rh(a+16|0,4,0);EE(a,v[b+8>>2]);b=v[b+24>>2];if(!b){break a}while(1){c=ab(v[v[a>>2]>>2]);Qa[v[v[a>>2]+12>>2]](c,b,1,0);e=v[a+12>>2]+(y[c+12>>2]%y[a+8>>2]<<2)|0;d=v[e>>2];v[c+8>>2]=d;v[c+4>>2]=d;b:{c:{if(d){v[c>>2]=v[d>>2];v[d>>2]=c;d=v[c>>2];if(d){break c}break b}d=v[a+24>>2];v[c>>2]=d;v[a+24>>2]=c;if(!d){break b}}v[d+4>>2]=c}v[e>>2]=c;v[a+4>>2]=v[a+4>>2]+1;b=v[b>>2];if(b){continue}break}}return a}function Ut(a,b){var c=0,d=0,e=0;c=-1;a:{d=v[a+8>>2];b:{if(d&7){break b}c=v[a+64>>2];if(!((c|0)<0|(c|0)>v[a+60>>2])){break a}c=-1;e=v[a+28>>2];v[a+28>>2]=e-1;c:{if((e|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;e=w[c|0];break c}e=Eb(a,1);if((e|0)==-1){break b}d=v[a+8>>2]}c=-1;if(d&7){break b}c=v[a+64>>2];if(!((c|0)<0|(c|0)>v[a+60>>2])){break a}c=-1;d=v[a+28>>2];v[a+28>>2]=d-1;d:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=a;a=v[a+24>>2];v[c+24>>2]=a+1;a=w[a|0];break d}a=Eb(a,1);if((a|0)==-1){break b}}c=0;if(!b){break b}v[b>>2]=a<<8|e}return c}v[a+8>>2]=d|4;return-1}function RM(a,b,c){var d=0,e=0,f=0;d=v[a+584>>2];while(1){a:{f=lr(b,e,c);kr(a,f,84448);e=e+f|0;if(e>>>0>=c>>>0){break a}f=jr(b,e,c);kr(a,f,85104);e=e+f|0;if(e>>>0>>0){continue}}break}b=v[d+4>>2];b:{if(!(b&12)){break b}if(v[d+68>>2]!=8){if(v[a+608>>2]>=v[a+600>>2]){Xd(a)}b=v[d+64>>2];c=v[a+604>>2];v[a+604>>2]=c+1;t[c|0]=b;v[a+608>>2]=v[a+608>>2]+1;v[d+64>>2]=0;v[d+68>>2]=8;b=v[d+4>>2]}if(!(b&8)){break b}c=v[a+604>>2];if(!(c&1)){break b}if(v[a+608>>2]>=v[a+600>>2]){Xd(a);c=v[a+604>>2]}b=v[d+64>>2];v[a+604>>2]=c+1;t[c|0]=b;v[a+608>>2]=v[a+608>>2]+1;v[d+64>>2]=0;v[d+68>>2]=8}}function Pha(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Ma-48|0;Ma=c;v[c+32>>2]=0;v[c+36>>2]=v[279250];e=v[b+100>>2];d=v[b+92>>2];f=v[b+104>>2];b=v[b+96>>2];v[c+16>>2]=f-b;v[c+8>>2]=b;v[c+4>>2]=d;v[c>>2]=977356;v[c+12>>2]=e-d;b=Gd(c+32|0,337394,c);v[a>>2]=0;v[a+4>>2]=v[279250];b=v[b>>2];a:{if(b){Qa[v[v[b>>2]+28>>2]](c+40|0,b,1);break a}v[c+40>>2]=0}jb(a,c+40|0);b=v[c+40>>2];v[c+40>>2]=0;b:{if(!b){break b}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break b}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}b=a;a=v[a>>2];v[b+4>>2]=v[(a?a+12|0:1117e3)>>2];db(c+32|0);Ma=c+48|0}function lk(a){var b=0,c=0,d=0,e=0,f=0;c=v[a+2564>>2];d=v[a+2552>>2];a:{if(c>>>0>=d>>>0){break a}e=v[a+2556>>2];if(e>>>0<=c>>>0){break a}f=v[a+572>>2];d=d>>>0>e>>>0?e:d;if(d>>>0>c>>>0){while(1){v[a+572>>2]=c;b=Qa[v[a+980>>2]](a)|0;if(b){break a}b=v[a+976>>2];if(b){b=Qa[b|0](a)|0;if(b){break a}}b=Qa[v[a+968>>2]](a)|0;if(b){break a}b:{if(!w[a+115|0]|v[a+12>>2]==2&y[a+320>>2]<301){break b}b=v[a+680>>2];if(v[a+516>>2]|(v[a+684>>2]-b|0)<51|((b+v[a+572>>2]|0)-v[a+664>>2]|0)%20){break b}t[a+502|0]=1}c=c+1|0;if((d|0)!=(c|0)){continue}break}}v[a+572>>2]=f;v[a+2564>>2]=d;b=0}return b}function pDa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=Ma-16|0;Ma=d;e=v[b+28>>2];c=Qa[v[a+516>>2]](a,1734439792,b,0)|0;a:{if(c){break a}c=Ed(b,4);v[d+12>>2]=c;if(c){break a}g=a,h=ae(b),u[g+560>>1]=h;g=a,h=ae(b),u[g+562>>1]=h;dd(b);if(x[a+560>>1]>=2){u[a+562>>1]=0;c=8;break a}c=e;e=x[a+562>>1];g=a,h=yb(c,4,0,e,0,d+12|0),v[g+564>>2]=h;c=v[d+12>>2];if(c){break a}c=Ed(b,e<<2);v[d+12>>2]=c;if(c){break a}if(e){c=v[a+564>>2];a=0;while(1){f=c+(a<<2)|0;g=f,h=ae(b),u[g>>1]=h;g=f,h=ae(b),u[g+2>>1]=h;a=a+1|0;if((e|0)!=(a|0)){continue}break}}dd(b);c=v[d+12>>2]}Ma=d+16|0;return c|0}function md(a,b){var c=0,d=0,e=0,f=0;if(w[a+11|0]>>>7|0){c=v[a+4>>2]}else{c=w[a+11|0]}a:{if(c>>>0>>0){d=Ma-16|0;Ma=d;e=b-c|0;if(e){c=w[a+11|0]>>>7|0?(v[a+8>>2]&2147483647)-1|0:10;if(w[a+11|0]>>>7|0){b=v[a+4>>2]}else{b=w[a+11|0]}f=b+e|0;if(c-b>>>0>>0){gD(a,c,f-c|0,b,b)}c=b;if(w[a+11|0]>>>7|0){b=v[a>>2]}else{b=a}tN(c+b|0,e,0);b:{if(w[a+11|0]>>>7|0){v[a+4>>2]=f;break b}t[a+11|0]=f}t[d+15|0]=0;t[b+f|0]=w[d+15|0]}break a}d=Ma-16|0;Ma=d;c:{if(w[a+11|0]>>>7|0){c=v[a>>2];t[d+15|0]=0;t[b+c|0]=w[d+15|0];v[a+4>>2]=b;break c}t[d+14|0]=0;t[a+b|0]=w[d+14|0];t[a+11|0]=b}}Ma=d+16|0}function hT(a,b,c){var d=0,e=0,f=0;e=Ma-16|0;Ma=e;Fy(a);a:{if(!bg(b)){break a}f=eh(b);d=v[v[a+12>>2]+((f>>>0)%y[a+8>>2]<<2)>>2];if(!d){break a}while(1){b:{if((f|0)==v[d+12>>2]){if(ff(d+16|0,b)){break b}}d=v[d+8>>2];if(d){continue}break a}break}v[e+12>>2]=a;v[e+8>>2]=d;v[e>>2]=0;v[e+4>>2]=0;b=d+52|0;d=0;while(1){c:{d:{e:{if(d){if((b|0)==v[e+4>>2]){break e}wd(e,b);L()}d=v[b+8>>2];if(!d){break d}}f=v[c>>2];while(1){if((f|0)==v[d+8>>2]){break c}d=v[d>>2];if(d){continue}break}}if(v[b+4>>2]){break a}ho(a,e+8|0);break a}v[e+4>>2]=b;v[e>>2]=d;Ag(b,e);d=v[e>>2];continue}}Ma=e+16|0}function nza(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;a=0;Qa[v[b+8>>2]](v[b>>2],0,160);while(1){e=(a<<7)+2304|0;f=v[B(a,12)+853428>>2];c=0;d=0;a:{if((a|0)!=6){while(1){if(w[c+854160|0]&f){Qa[v[b+4>>2]](v[b>>2],c+e|0)}d=c|1;if(w[d+854160|0]&f){Qa[v[b+4>>2]](v[b>>2],d+e|0)}c=c+2|0;if((c|0)!=128){continue}break a}}while(1){if(!(!(w[d+854160|0]&f)&(d|0)!=49)){Qa[v[b+4>>2]](v[b>>2],d+e|0)}d=d+1|0;if((d|0)!=128){continue}break}}a=a+1|0;if((a|0)!=9){continue}break}Qa[v[b+4>>2]](v[b>>2],2404);Qa[v[b+4>>2]](v[b>>2],2405);Qa[v[b+4>>2]](v[b>>2],8204);Qa[v[b+4>>2]](v[b>>2],8205)}function Uj(a,b,c){var d=0,e=0;d=Ma-32|0;Ma=d;a:{if((Bq(a)|0)<1){break a}if(!$j(a)){break a}Xc(d+16|0,a);e=w[d+27|0];e=e<<24>>24<0?v[d+20>>2]:e;b:{if(!e){break b}while(1){c:{if((ce(b)|0)!=(e|0)){break c}if(Vc(d+16|0,b,e)){break c}_c(d,a);if(t[c+11|0]<=-1){$a(v[c>>2])}b=v[d+4>>2];v[c>>2]=v[d>>2];v[c+4>>2]=b;v[c+8>>2]=v[d+8>>2];break b}if(!Pi(a)){break b}Xc(d,a);if(t[d+27|0]<=-1){$a(v[d+16>>2])}v[d+24>>2]=v[d+8>>2];e=v[d+4>>2];v[d+16>>2]=v[d>>2];v[d+20>>2]=e;e=t[d+27|0];e=(e|0)<0?v[d+20>>2]:e&255;if(e){continue}break}}Ej(a);if(t[d+27|0]>-1){break a}$a(v[d+16>>2])}Ma=d+32|0}function Mxa(a){a=a|0;var b=0,c=0,d=0,e=0;a:{if(!a){break a}c=v[a+24>>2];b:{if(!c){break b}b=v[a+8>>2];if(!b|v[b+60>>2]){break b}v[b+60>>2]=c;v[a+24>>2]=0}b=v[a+48>>2];c:{if(!b|v[a+40>>2]<1){break c}b=v[b>>2];if(!b){break c}c=v[b+44>>2];if(!c){break c}b=v[a+8>>2];if(!b|v[b+60>>2]){break c}b=c;while(1){d=b;b=b+1|0;if(w[d|0]){continue}break}b=0;d=d-c|0;d:{if((d|0)<0){break d}e=Qa[v[256555]](d+1|0)|0;if(!e){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);break d}b=cb(e,c,d);t[d+b|0]=0}v[v[a+8>>2]+60>>2]=b}b=v[a+256>>2];if(!b){break a}a=v[a+8>>2];if(!a|v[a+76>>2]){break a}v[a+76>>2]=b}}function C8(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=v[a+584>>2];a:{b:{switch(b-512|0){case 1:v[v[c>>2]>>2]=v[d+196>>2];break a;case 2:v[v[c>>2]>>2]=v[d+200>>2];break a;case 18:if(!w[d+206|0]){QM(a)}u[v[c>>2]>>1]=w[d+208|0];u[v[c+4>>2]>>1]=w[d+209|0];break a;case 7:v[v[c>>2]>>2]=w[d+211|0];v[v[c+4>>2]>>2]=d+216;break a;case 8:v[v[c>>2]>>2]=w[d+212|0];v[v[c+4>>2]>>2]=d+228;break a;case 9:v[v[c>>2]>>2]=w[d+213|0];v[v[c+4>>2]>>2]=d+240;break a;case 0:u[v[c>>2]>>1]=w[d+204|0];break a;case 3:u[v[c>>2]>>1]=x[d+300>>1];break a;default:break b}}return Qa[v[d+160>>2]](a,b,c)|0}return 1}function qoa(a){a=a|0;var b=0,c=0;b=ab(3528);c=v[a+4>>2];c=Qa[v[v[c>>2]+8>>2]](c)|0;v[b+192>>2]=v[a+192>>2];v[b>>2]=957880;v[b+4>>2]=c;a=0;v[b+3468>>2]=0;v[b+188>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;eb(b+724|0,0,2736);v[b+3504>>2]=0;c=b+3496|0;v[c>>2]=0;v[c+4>>2]=0;c=b+3488|0;v[c>>2]=0;v[c+4>>2]=0;c=b+3480|0;v[c>>2]=0;v[c+4>>2]=0;if(!w[1164540]){eb(1164544,0,384);while(1){t[a+1164931|0]=a|3;t[a+1164930|0]=a|2;t[a+1164929|0]=a|1;t[a+1164928|0]=a;a=a+4|0;if((a|0)!=256){continue}break}eb(1165184,255,383);t[1164540]=1}return b|0}function oR(a,b,c){var d=0,e=0,f=0;e=Ma-32|0;Ma=e;a:{b:{if((a|0)!=(b|0)){Wr(a,x[b+8>>1],x[b+10>>1],c);u[a+16>>1]=x[b+16>>1];if(!x[a+8>>1]){break b}f=v[a+24>>2]+x[a+12>>1]|0;c=0;while(1){c:{if(v[b+20>>2]){break c}d=v[b+36>>2];if(!d){break c}qi(b,d)}d:{if(x[b+8>>1]<=c>>>0){d=x[b+12>>1];if(v[279246]<(d+x[b+14>>1]|0)){break a}d=d+v[279245]|0;break d}d=v[b+20>>2]+(x[b+12>>1]+B(x[b+14>>1],c)|0)|0}f=cb(f,d,x[a+10>>1])+x[a+14>>1]|0;c=c+1|0;if(c>>>0>1]){continue}break}break b}if(x[a+12>>1]>=(c|0)){break b}Cu(a,c)}Ma=e+32|0;return}lb(mb(e+8|0,260021,271561,592,225834));L()}function G$a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;f=v[v[a+544>>2]+88>>2];g=v[f+1176>>2]+B(v[f+1168>>2],v[a+572>>2])|0;b=v[a+644>>2];a:{if(w[f+56|0]){if(v[a+588>>2]<=0){break a}while(1){d=0;h=b;e=w[g|0];if((e|0)!=x[f+836>>1]){d=B(w[w[f+44|0]+190188|0],e);e=255}else{e=0}t[h+3|0]=e;t[b+2|0]=d;t[b+1|0]=d;t[b|0]=d;b=b+4|0;g=g+1|0;c=c+1|0;if((c|0)>2]){continue}break}break a}if(v[a+588>>2]<=0){break a}while(1){e=w[g|0];c=w[f+44|0];t[b+3|0]=255;c=B(e,w[c+190188|0]);t[b+2|0]=c;t[b+1|0]=c;t[b|0]=c;b=b+4|0;g=g+1|0;d=d+1|0;if((d|0)>2]){continue}break}}return 0}function zha(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=Ma-32|0;Ma=d;if(!w[a+88|0]){e=a,f=Qa[v[v[a>>2]+36>>2]](a)|0,v[e+72>>2]=f;e=a,f=Qa[v[v[a>>2]+44>>2]](a)|0,v[e+76>>2]=f;e=a,f=Qa[v[v[a>>2]+40>>2]](a)|0,v[e+80>>2]=f;c=Qa[v[v[a>>2]+48>>2]](a)|0;t[a+88|0]=1;v[a+84>>2]=c}c=0;a:{if(v[a+92>>2]>0){while(1){if(v[a+120>>2]<(c|0)|v[a+116>>2]>(c|0)|(v[a+144>>2]<(c|0)|v[a+140>>2]>(c|0))){break a}xE(b,v[a+104>>2]+(c-v[a+108>>2]<<2)|0,v[a+128>>2]+(c-v[a+132>>2]<<2)|0);c=c+1|0;if((c|0)>2]){continue}break}}t[a+88|0]=0;Ma=d+32|0;return}lb(mb(d+8|0,227376,271519,619,306765));L()}function yha(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=Ma-32|0;Ma=d;if(!w[a+88|0]){e=a,f=Qa[v[v[a>>2]+36>>2]](a)|0,v[e+72>>2]=f;e=a,f=Qa[v[v[a>>2]+44>>2]](a)|0,v[e+76>>2]=f;e=a,f=Qa[v[v[a>>2]+40>>2]](a)|0,v[e+80>>2]=f;c=Qa[v[v[a>>2]+48>>2]](a)|0;t[a+88|0]=1;v[a+84>>2]=c}c=0;a:{if(v[a+92>>2]>0){while(1){if(v[a+120>>2]<(c|0)|v[a+116>>2]>(c|0)|(v[a+144>>2]<(c|0)|v[a+140>>2]>(c|0))){break a}wE(b,v[a+104>>2]+(c-v[a+108>>2]<<2)|0,v[a+128>>2]+(c-v[a+132>>2]<<2)|0);c=c+1|0;if((c|0)>2]){continue}break}}t[a+88|0]=0;Ma=d+32|0;return}lb(mb(d+8|0,227376,271519,619,306765));L()}function Eg(a,b,c,d){var e=0,f=0,g=0;a:{b:{if(t[a+201|0]&1?0:(b|0)>=65536){break b}e=v[a+52>>2];g=w[a+200|0];if(!g){e=x[v[a+188>>2]+(x[e+(x[e+(b>>10<<1)>>1]+(b>>>4&63)<<1)>>1]+(b&15)<<1)>>1];c:{if(d){if(e>>>0>2047){break c}break b}if(e>>>0<3072){break b}}v[c>>2]=e&255;return 1}f=-1;if((g|0)!=1){break a}f=b&15;g=v[e+(x[e+(b>>10<<1)>>1]+(b>>>4&63)<<2)>>2];e=x[v[a+188>>2]+((f|g<<4&1048560)<<1)>>1];if(!(g>>>(f|16)&1)){if(!e|!(b-57344>>>0<6400|d)&b-983040>>>0>131071){break b}}v[c>>2]=e;return e>>>0<256?1:2}a=v[a+224>>2];if(!a){return 0}b=Us(a,b,c,d);a=b>>31;f=a^a+b}return f}function zV(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=Ma-32|0;Ma=d;v[d>>2]=13;e=v[a+36>>2];v[d+24>>2]=v[a+32>>2];v[d+28>>2]=e;v[d+16>>2]=9;ue(d+16|0,b,d,0);a:{if(v[d>>2]!=8){fb(1,-1,257157,0);bb(d);bb(d+16|0);v[a+32>>2]=-1;break a}e=v[d+8>>2];f=si(4096);v[c>>2]=0;Qa[v[v[e>>2]+20>>2]](e);a=v[c>>2];b=4096;while(1){b:{g=c;h=e;if((b-4096|0)<(a|0)){if((b|0)>=1073741824){fb(1,-1,282709,0);break b}b=b<<1;f=_G(f,b);a=v[c>>2]}i=g;g=Qa[v[v[e>>2]+40>>2]](h,a+f|0,4096)|0;a=g+v[c>>2]|0;v[i>>2]=a;if((g|0)==4096){continue}}break}Qa[v[v[e>>2]+24>>2]](e);bb(d);bb(d+16|0)}Ma=d+32|0;return f}function ey(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=Ma-16|0;Ma=d;e=zb(b);if(!(!c|!w[c|0])){f=zb(c)}a:{if(!a){break a}h=1;v[a+744>>2]=34;t[d+8|0]=116;t[d+9|0]=69;t[d+10|0]=88;t[d+11|0]=116;e=e+1|0;g=e+f|0;t[d+7|0]=g;t[d+6|0]=g>>>8;t[d+5|0]=g>>>16;t[d+4|0]=g>>>24;jc(a,d+4|0,8);v[a+348>>2]=1950701684;Bf(a);gc(a,d+8|0,4);v[a+744>>2]=66;if(!b|!e){break a}jc(a,b,e);gc(a,b,e)}if(!(!f|!((c|0)!=0&h))){jc(a,c,f);gc(a,c,f)}if(a){v[a+744>>2]=130;b=v[a+384>>2];b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);t[d+12|0]=b;t[d+13|0]=b>>>8;t[d+14|0]=b>>>16;t[d+15|0]=b>>>24;jc(a,d+12|0,4)}Ma=d+16|0}function E_(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;v[a+44>>2]=b;Cl(v[a>>2],b);c=v[a>>2];b=v[v[c+712>>2]+3080>>2];c=tg(v[v[c+96>>2]+4>>2],239159);a:{if(!c|!b){break a}b=v[b>>2];if(!b){break a}e=Qa[b|0](c)|0;if(!e){break a}f=v[v[a>>2]+712>>2];c=v[f+1440>>2];h=v[v[a+40>>2]>>2];Qa[v[e+4>>2]](v[h>>2],v[a+16>>2],v[a+20>>2],0,0);b=v[f+2024>>2];if(!b){break a}while(1){g=v[a+16>>2];b=b-1|0;i=b<<2;d=v[v[(i+f|0)+2028>>2]+68>>2];b:{if((d|0)!=(c|0)){g=fc(g,c,d);d=fc(v[a+20>>2],c,d);break b}d=v[a+20>>2]}Qa[v[e+4>>2]](v[(h+i|0)+4>>2],g,d,0,0);if(b){continue}break}}return 0}function uwa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;e=ab(16);d=e;v[d>>2]=0;v[d+4>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;f=v[a+196>>2]+v[a+192>>2]|0;h=v[a+184>>2];g=v[a+180>>2];d=h-g|0;if((f|0)==((d?B(d>>2,93)-1|0:0)|0)){Dz(a+176|0);g=v[a+180>>2];f=v[a+192>>2]+v[a+196>>2]|0;h=v[a+184>>2]}if((h|0)!=(g|0)){c=(f>>>0)/93|0;c=v[(c<<2)+g>>2]+B(f-B(c,93)|0,44)|0}v[c>>2]=0;v[c+4>>2]=0;v[c+32>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;d=ab(16);Cz(d,e);v[c+40>>2]=d;v[a+196>>2]=v[a+196>>2]+1;Fs(e);$a(e);t[a+200|0]=1;Qa[v[v[a>>2]+72>>2]](a,b)}function hva(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;a:{if(c-1>>>0>3|b>>>0>2147482623){break a}e=v[a+1032>>2];if(!((e|0)<=(b|0)&(b+c|0)<=(e+v[a+1036>>2]|0))){if(dh(v[a+4>>2],b,0)){break a}v[a+1032>>2]=b;e=kg(a+8|0,1,1024,v[a+4>>2]);v[a+1036>>2]=e;if((c|0)>(e|0)){break a}}v[d>>2]=0;h=1;i=c&1;e=0;if((c|0)!=1){f=c&-2;c=0;while(1){g=a+8|0;c=w[g+((b+e|0)-v[a+1032>>2]|0)|0]|c<<8;v[d>>2]=c;c=w[(((e|1)+b|0)-v[a+1032>>2]|0)+g|0]|c<<8;v[d>>2]=c;e=e+2|0;f=f-2|0;if(f){continue}break}f=c<<8}if(!i){break a}v[d>>2]=w[(((b+e|0)-v[a+1032>>2]|0)+a|0)+8|0]|f}return h|0}function Zsa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;c=v[a+28>>2];if(v[c+664>>2]){b=-1;a=v[a+108>>2];a:{if(!a){break a}a=v[a+4>>2];if(v[a+8>>2]==13){break a}a=v[a+16>>2];b=Qa[v[v[a>>2]+52>>2]](a)|0}fb(0,b,245116,0);return}d=v[c+380>>2];if(d){Qa[v[v[d>>2]+4>>2]](d)}v[c+380>>2]=0;c=v[a+28>>2];f=xk(0);d=v[c+116>>2];if(d){Qa[v[v[d>>2]+4>>2]](d)}v[c+116>>2]=f;c=v[a+8>>2];Qa[v[v[c>>2]+108>>2]](c,v[a+28>>2]);c=v[a+28>>2];e=(v[b>>2]==1?+v[b+8>>2]:A[b+8>>3])*65536;b:{if(D(e)<2147483648){b=~~e;break b}b=-2147483648}v[c+124>>2]=b;b=v[a+8>>2];Qa[v[v[b>>2]+116>>2]](b,v[a+28>>2])}function LFa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;e=Ma-32|0;Ma=e;v[d>>2]=-1;Po(a,e+16|0);if(v[e+24>>2]==3){i=v[a>>2];g=v[e+16>>2]+1|0;v[a>>2]=g;j=v[a+8>>2];h=v[e+20>>2]-1|0;v[a+8>>2]=h;f=b;a:{if(g>>>0>=h>>>0){break a}if(!b){f=0;while(1){Po(a,e);if(!v[e+8>>2]){break a}f=f+12|0;if(y[a>>2]>2]){continue}break}break a}c=B(c,12)+b|0;while(1){Po(a,e);if(!v[e+8>>2]){break a}if(c>>>0>f>>>0){g=v[e+4>>2];v[f>>2]=v[e>>2];v[f+4>>2]=g;v[f+8>>2]=v[e+8>>2]}f=f+12|0;if(y[a>>2]>2]){continue}break}}v[d>>2]=(f-b|0)/12;v[a+8>>2]=j;v[a>>2]=i}Ma=e+32|0}function IH(a){var b=0,c=0,d=0;d=Ma-16|0;Ma=d;b=Qa[v[256552]](36)|0;a:{if(!b){v[d>>2]=239669;nb(0,0,0,0,0,8,2,3,239669,0,0,0,340689,d);b=0;break a}v[b>>2]=0;v[b+4>>2]=0;v[b+32>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;c=b+16|0;v[c>>2]=0;v[c+4>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;c=Aq(v[256553]<<1);v[b+16>>2]=c;if(!c){Qa[v[256556]](b);b=0;break a}b:{if(v[c+32>>2]|(v[c+12>>2]&-2)==2){break b}v[c+12>>2]=0;c=v[c+28>>2];if(!c){break b}v[c+12>>2]=0}c=PH(a);v[b+12>>2]=c;a=0;if(c){a=Aq(v[256553]<<1)}v[b+8>>2]=0;v[b+20>>2]=a;v[b+32>>2]=0;v[b+24>>2]=-1;v[b>>2]=0;v[b+4>>2]=0}Ma=d+16|0;return b}function Hta(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;c=v[a+28>>2];if(v[c+664>>2]){b=-1;a=v[a+108>>2];a:{if(!a){break a}a=v[a+4>>2];if(v[a+8>>2]==13){break a}a=v[a+16>>2];b=Qa[v[v[a>>2]+52>>2]](a)|0}fb(0,b,245116,0);return}d=v[c+384>>2];if(d){Qa[v[v[d>>2]+4>>2]](d)}v[c+384>>2]=0;c=v[a+28>>2];f=xk(0);d=v[c+120>>2];if(d){Qa[v[v[d>>2]+4>>2]](d)}v[c+120>>2]=f;c=v[a+8>>2];Qa[v[v[c>>2]+112>>2]](c,v[a+28>>2]);c=v[a+28>>2];e=(v[b>>2]==1?+v[b+8>>2]:A[b+8>>3])*65536;b:{if(D(e)<2147483648){b=~~e;break b}b=-2147483648}v[c+252>>2]=b;b=v[a+8>>2];Qa[v[v[b>>2]+120>>2]](b,v[a+28>>2])}function D7(a,b){a=a|0;b=b|0;var c=0;b=v[a+584>>2];if(b){if(!v[b+116>>2]){Qa[v[a+516>>2]](a)|0}c=v[a+596>>2];a:{if(!(w[c|0]|!(t[c+1|0]&1))){if(!v[b+96>>2]){Nc(v[a+628>>2],v[a>>2],20660,0);v[a+556>>2]=565;v[a+548>>2]=565;v[a+540>>2]=565;Qa[v[a+516>>2]](a)|0;v[b+96>>2]=565}u[b+66>>1]=511;break a}v[b+96>>2]=557;u[b+66>>1]=510}u[b+64>>1]=9;v[b+72>>2]=0;v[b+76>>2]=0;v[b+84>>2]=511;v[b+88>>2]=0;a=v[a+608>>2];c=v[b+116>>2]+2064|0;v[b+108>>2]=c;v[b+92>>2]=a<<3;Hf(c,0,38888);a=v[b+116>>2];v[b+104>>2]=a-8;v[b+112>>2]=(a+(v[b+84>>2]<<3)|0)-8;return 1}O(16309,6139,259,13488);L()}function vpa(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;if((c|0)<1){return 0}h=a+40|0;e=v[a+296>>2];while(1){a:{d=v[a+300>>2];if(d>>>0<=e>>>0){v[a+300>>2]=h;v[a+296>>2]=h;e=v[a+304>>2]+(d-h|0)|0;v[a+304>>2]=e;if(v[a+32>>2]){d=v[a+36>>2]+v[a+28>>2]|0;if((d|0)<=(e|0)){break a}d=(d|0)<(e+256|0)?d-e|0:256}else{d=256}f=v[a+24>>2];Nw(v[f>>2],e,0);d=(kg(h,1,d,v[f>>2])+a|0)+40|0;v[a+300>>2]=d;e=v[a+296>>2];if(d>>>0<=e>>>0){break a}}i=e;f=c-g|0;e=d-e|0;d=(e|0)>(f|0)?f:e;cb(b+g|0,i,d);e=d+v[a+296>>2]|0;v[a+296>>2]=e;g=d+g|0;if((g|0)<(c|0)){continue}}break}return g|0}function kwa(a,b){a=a|0;b=b|0;Qa[v[v[a>>2]+76>>2]](a,b,A[b+16>>3],A[b+24>>3],A[b+32>>3],A[b+40>>3],A[b+48>>3],A[b+56>>3]);Qa[v[v[a>>2]+80>>2]](a,b);Qa[v[v[a>>2]+84>>2]](a,b);Qa[v[v[a>>2]+88>>2]](a,b);Qa[v[v[a>>2]+92>>2]](a,b);Qa[v[v[a>>2]+96>>2]](a,b);Qa[v[v[a>>2]+100>>2]](a,b);Qa[v[v[a>>2]+104>>2]](a,b);Qa[v[v[a>>2]+108>>2]](a,b);Qa[v[v[a>>2]+116>>2]](a,b);Qa[v[v[a>>2]+112>>2]](a,b);Qa[v[v[a>>2]+120>>2]](a,b);Qa[v[v[a>>2]+124>>2]](a,b);Qa[v[v[a>>2]+128>>2]](a,b);Qa[v[v[a>>2]+132>>2]](a,b);Qa[v[v[a>>2]+156>>2]](a,b);if(!(w[a+201|0]|(w[a+208|0]|w[a+203|0]))){xv(a,b)}}function Y0(a,b,c){var d=0,e=0;d=Ma-112|0;Ma=d;e=a+76|0;v[e>>2]=0;v[e+4>>2]=0;v[e+24>>2]=1;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;v[a+16>>2]=0;a:{b:{if((c|0)<=1114111){e=x[((c<<1)+b|0)+276>>1];if((e|0)!=65535){break b}}v[d+4>>2]=c;t[d+3|0]=0;t[d+2|0]=0;c=d+8|0;pt(c,b,d+4|0,d+3|0,0,d+2|0);a=cb(a,c,104);Dh(d+84|0);if(v[a>>2]>1114111){break a}c=v[b+268>>2];c:{if((c|0)!=v[b+272>>2]){c=cb(c,a,104)+104|0;v[b+268>>2]=c;break c}sB(b+264|0,a);c=v[b+268>>2]}u[((v[a>>2]<<1)+b|0)+276>>1]=((c-v[b+264>>2]|0)/104|0)-1;break a}cb(a,v[b+264>>2]+B(e,104)|0,104)}Ma=d+112|0}function bF(a,b,c){var d=0;d=Ma-32|0;Ma=d;if(w[b+89|0]){v[a>>2]=0;$r(d+8|0,b,c,0);a:{if(!v[d+8>>2]){break a}b=Sp(20);QR(b);v[d>>2]=0;qb(d,b);PR(v[d>>2],d+8|0);jb(a,d);b=v[d>>2];v[d>>2]=0;b:{if(!b){break b}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break b}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}YR(v[d+8>>2],0);a=v[a>>2];if(!a){break a}sy(a)}a=v[d+8>>2];v[d+8>>2]=0;c:{if(!a){break c}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break c}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=d+32|0;return}lb(mb(d+8|0,231515,240864,286,226712));L()}function _A(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(a>>>0<2){break a}d=1;c=a-1|0;i=c&1;if((a|0)!=2){f=c&-2;while(1){e=v[(d<<2)+b>>2];a=d;while(1){c=a-1|0;g=(c<<2)+b|0;h=v[g>>2];if((h|0)>(e|0)){v[(a<<2)+b>>2]=h;v[g>>2]=e;a=c;if(a){continue}}break}a=d+1|0;e=v[(a<<2)+b>>2];while(1){c=a-1|0;g=(c<<2)+b|0;h=v[g>>2];if((h|0)>(e|0)){v[(a<<2)+b>>2]=h;v[g>>2]=e;a=c;if(a){continue}}break}d=d+2|0;f=f-2|0;if(f){continue}break}}if(!i){break a}c=v[(d<<2)+b>>2];while(1){a=d-1|0;f=(a<<2)+b|0;e=v[f>>2];if((e|0)<=(c|0)){break a}v[(d<<2)+b>>2]=e;v[f>>2]=c;d=a;if(a){continue}break}}}function zT(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=Ma-16|0;Ma=e;a:{if(y[b+4>>2]>=17){d=e;b:{c:{c=b;if(!w[c+8|0]){break c}c=v[c>>2];if(c){break c}c=0;break b}c=v[c>>2]}f=ks(d,c- -64|0,v[b+4>>2]-17|0);b=v[a+60>>2]-v[a+56>>2]>>3;while(1){d:{if((b|0)<1){c=0;break d}b=b-1|0;c=v[a+56>>2];if(b>>>0>=v[a+60>>2]-c>>3>>>0){break a}g=v[c+(b<<3)>>2]+16|0;d=v[g>>2];if(d){c=g;while(1){h=gm(d+16|0,f);c=h?c:d;d=v[(h?4:0)+d>>2];if(d){continue}break}d=0;e:{if((c|0)==(g|0)){break e}if(gm(f,c+16|0)){break e}d=v[c+28>>2]}c=d}else{c=0}if(!c){continue}}break}Qb(f)}Ma=e+16|0;return c}gi();L()}function RZ(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;g=Ma-16|0;Ma=g;v[g+12>>2]=0;h=cc(a,(x[c+8>>1]>>>1|0)+1|0,g+12|0);e=0;a:{if(v[g+12>>2]){break a}e=Mb(b,v[c+12>>2]);v[g+12>>2]=e;b:{if(e){break b}e=Ed(b,x[c+8>>1]);v[g+12>>2]=e;if(e){break b}e=h;c:{f=x[c+8>>1];if(f>>>0>=2){i=f>>>1|0;f=v[b+32>>2];while(1){if(w[f|0]){break c}if(!(Qa[d|0](t[f+1|0])|0)){break c}t[e|0]=w[f+1|0];f=f+2|0;e=e+1|0;i=i-1|0;if(i){continue}break}}t[e|0]=0;dd(b);e=h;break a}dd(b)}if(h){Qa[v[a+8>>2]](a,h)}v[c+12>>2]=0;u[c+8>>1]=0;b=v[c+16>>2];if(b){Qa[v[a+8>>2]](a,b)}v[c+16>>2]=0;e=0}Ma=g+16|0;return e}function QVa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=Ma-16|0;Ma=d;v[d+12>>2]=0;a:{b:{c=eL(a,v[b+48>>2],v[b+44>>2],d+12|0,d+8|0,d+4|0);c:{if(c){break c}c=v[b+32>>2];f=(c+v[d+4>>2]|0)+2|0;d:{if(f>>>0<=y[a+424>>2]){e=v[a+428>>2]+8|0;break d}e=Qa[v[a+152>>2]](f)|0;if(!e){break b}c=v[b+32>>2]}g=e;if(c){g=cb(e,v[b+36>>2],c)+v[b+32>>2]|0}t[g|0]=0;t[g+1|0]=0;c=v[d+4>>2];if(c){cb(g+2|0,v[d+12>>2],c)}c=hd(a,v[b>>2],f,e);if(y[a+424>>2]>=f>>>0){break c}Qa[v[a+156>>2]](e,f)}b=v[d+12>>2];if(!b){break a}Qa[v[a+156>>2]](b,v[d+8>>2]);break a}c=1;ob(a,1,0,0)}Ma=d+16|0;return c|0}function ku(a){var b=0,c=0,d=0,e=0,f=0,g=0;o(+a);b=j(1)|0;f=j(0)|0;g=b;b=b&2147483647;if(b>>>0>=1072693248){if(!(b-1072693248|f)){return a*1.5707963267948966+7.52316384526264e-37}return 0/(a-a)}a:{if(b>>>0<=1071644671){if(b+-1048576>>>0<1044381696){break a}return lu(a*a)*a+a}c=(1-D(a))*.5;a=K(c);e=lu(c);b:{if(b>>>0>=1072640819){a=a+a*e;a=1.5707963267948966-(a+a+-6.123233995736766e-17);break b}d=c;o(+a);b=j(1)|0;j(0)|0;l(0,0);l(1,b|0);c=+n();d=(d-c*c)/(a+c);a=.7853981633974483-(c+c)-((a+a)*e-(6.123233995736766e-17-(d+d)))+.7853981633974483}a=(g|0)>-1?a:-a}return a}function dZa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=v[a+2308>>2];if(b){d=v[a+2300>>2];f=v[a+2312>>2];c=v[a+2316>>2];while(1){e=w[f|0];if(e>>>0>2]){b=B(e,3)+d|0;g=Qa[v[a+2296>>2]](w[b+68|0])|0;h=Qa[v[a+2296>>2]](w[b+69|0])|0;i=Qa[v[a+2296>>2]](w[b+70|0])|0;b=65535;if(!(!w[d+56|0]|y[d+844>>2]<=e>>>0)){b=Qa[v[a+2296>>2]](w[(d+e|0)+848|0])|0}t[c+7|0]=(b|0)!=0;t[c+6|0]=b>>>8;t[c+5|0]=(i|0)!=0;t[c+4|0]=i>>>8;t[c+3|0]=(h|0)!=0;t[c+2|0]=h>>>8;t[c+1|0]=(g|0)!=0;t[c|0]=g>>>8;b=v[a+2308>>2]}c=c+8|0;f=f+1|0;j=j+1|0;if(j>>>0>>0){continue}break}}return 0}function Rka(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=Ma-32|0;Ma=e;f=-1;a:{b:{c:{d:{e:{switch(c|0){case 0:c=v[a+20>>2];break d;case 2:break c;case 1:break e;default:break b}}c=v[a+20>>2];b=c+b|0}if((b|0)<(c|0)){d=v[a+540>>2];f:{if((d+b|0)>=(c|0)){v[a+540>>2]=d+(b-c|0);break f}v[a+536>>2]=0}v[a+20>>2]=b;f=0;break b}f=0;if((b|0)<=(c|0)){break b}v[a+20>>2]=b-1;v[a+540>>2]=v[a+540>>2]+((c^-1)+b|0);if(Qa[v[v[a>>2]+8>>2]](a,e+31|0,1)|0){break b}lb(mb(e,v[279242],241733,1782,330124));L()}if(!d){break a}}Ma=e+32|0;return f|0}lb(mb(e,286347,241733,1789,330124));L()}function Ol(a){var b=0,c=0,d=0,e=0;a:{o(+a);b=j(1)|0;j(0)|0;c=b;b=b&2147483647;b:{if(b>>>0>=1083174912){if(!((c|0)<0|b>>>0<1083179008)){return a*8.98846567431158e307}if(b>>>0>=2146435072){return-1/a}if(!(a<=-1075)){break a}d=0;if((c|0)<-1|(c|0)<=-1){break b}break a}if(b>>>0>1016070143){break a}d=a+1}return d}e=a+26388279066624;o(+e);j(1)|0;c=(j(0)|0)+128|0;b=c<<4&4080;d=A[b+1010976>>3];a=a-(e+-26388279066624)-A[b+1010984>>3];return Zk(d+d*a*(a*(a*(a*(a*.0013333559164630223+.009618129842126066)+.0555041086648214)+.2402265069591)+.6931471805599453),(c&-256)/256|0)}function EMa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{if((d|0)<1){break a}f=v[a+112>>2];if(!f){break a}a=v[v[a+480>>2]+24>>2];h=v[a+8>>2];i=v[a+4>>2];j=v[a>>2];l=f-1|0;m=f&1;while(1){a=k<<2;e=v[a+c>>2];a=v[a+b>>2];if(m){t[e|0]=w[w[a+2|0]+h|0]+(w[w[a+1|0]+i|0]+w[w[a|0]+j|0]|0);e=e+1|0;a=a+3|0;g=l}else{g=f}if((f|0)!=1){while(1){t[e|0]=w[w[a+2|0]+h|0]+(w[w[a+1|0]+i|0]+w[w[a|0]+j|0]|0);t[e+1|0]=w[w[a+5|0]+h|0]+(w[w[a+4|0]+i|0]+w[w[a+3|0]+j|0]|0);e=e+2|0;a=a+6|0;g=g-2|0;if(g){continue}break}}k=k+1|0;if((k|0)!=(d|0)){continue}break}}}function wha(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=v[b>>2];v[a+124>>2]=d;c=v[b+4>>2];v[a+128>>2]=c;e=v[b+8>>2];v[a+132>>2]=e;g=v[b+12>>2];b=(e-d|0)/2|0;v[a+100>>2]=b;v[a+136>>2]=g;f=(g-c|0)/2|0;v[a+104>>2]=f;d=(d+e|0)/2|0;h=(c+g|0)/2|0;a:{if((b|0)>(f|0)){e=d;i=K(+(B(b,b)-B(f,f)|0));b:{if(D(i)<2147483648){c=~~i;break b}c=-2147483648}g=e-c|0;d=d+c|0;e=f;c=h;break a}i=K(+(B(f,f)-B(b,b)|0));c:{if(D(i)<2147483648){j=~~i;break c}j=-2147483648}c=j+h|0;e=b;b=f;g=d;h=h-j|0}v[a+120>>2]=h;v[a+116>>2]=g;v[a+108>>2]=d;v[a+92>>2]=b;v[a+96>>2]=e;v[a+112>>2]=c}function wea(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,h=0,i=0,j=0;h=Ma-16|0;Ma=h;a:{if(!a|!d|((b|0)>(c|0)|(e|0)>(f|0))){break a}while(1){i=(b<<3)+a|0;v[i>>2]=0;v[i+4>>2]=v[279250];g=v[(e<<3)+d>>2];b:{if(g){Qa[v[v[g>>2]+28>>2]](h+8|0,g,1);break b}v[h+8>>2]=0}jb(i,h+8|0);g=v[h+8>>2];v[h+8>>2]=0;c:{if(!g){break c}j=v[g+4>>2]-1|0;v[g+4>>2]=j;if(j){break c}j=v[g+4>>2];if(!j){v[g+4>>2]=-32767}if(!j){Qa[v[v[g>>2]+4>>2]](g)}}g=v[i>>2];v[i+4>>2]=v[(g?g+12|0:1117e3)>>2];if((b|0)>=(c|0)){break a}b=b+1|0;g=(e|0)<(f|0);e=e+1|0;if(g){continue}break}}Ma=h+16|0}function s_(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;t[a+68|0]=1;v[a+64>>2]=0;v[a+8>>2]=d;v[a+4>>2]=b;v[a>>2]=v[b+100>>2];a:{if(!d){break a}b=v[v[d+156>>2]>>2];v[a+12>>2]=b;v[a+20>>2]=b+56;v[a+16>>2]=b+20;it(b);b=v[v[c+40>>2]>>2];v[a+72>>2]=0;v[a+76>>2]=b;if(!e){break a}v[a+72>>2]=v[v[d+156>>2]+36>>2]}v[a+24>>2]=0;v[a+28>>2]=0;v[a+40>>2]=0;v[a+44>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;b=v[113787];v[a+80>>2]=v[113786];v[a+84>>2]=b;b=v[113789];v[a+88>>2]=v[113788];v[a+92>>2]=b;b=v[113791];v[a+96>>2]=v[113790];v[a+100>>2]=b;b=v[113793];v[a+104>>2]=v[113792];v[a+108>>2]=b}function vNa(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,h=0,i=0,j=0,k=C(0),l=C(0),m=C(0),n=0;g=Ma-16|0;Ma=g;a:{b:{i=a+16|0;if(v[i+84>>2]>=1){h=v[a+12>>2];if(h){break b}}v[b>>2]=0;v[c>>2]=0;v[d>>2]=0;v[e>>2]=0;v[f>>2]=0;a=0;break a}z[g+12>>2]=z[a+24>>2];m=z[a+28>>2];z[g+4>>2]=z[a+32>>2];j=v[h+180>>2];n=u[j+82>>1];k=C(A[h+112>>3]/1e3*+y[h+124>>2]/72);l=C(C(u[j+80>>1])*k);z[g>>2]=z[a+36>>2]-l;z[g+8>>2]=m-l;l1(i,g+12|0,g+8|0);l1(i,g+4|0,g);z[b>>2]=z[g+12>>2];z[c>>2]=z[g+8>>2];z[d>>2]=z[g+4>>2];z[e>>2]=z[g>>2];z[f>>2]=C(n|0)*k;a=1}Ma=g+16|0;return a|0}function rv(a,b,c){var d=0,e=0,f=0,g=0;f=b-1|0;d=(f|0)>0?f:0;a:{while(1){b=e;if((b|0)==(d|0)){e=d;break a}g=Hp(c);if((g|0)==-1){break a}t[a+b|0]=g;e=b+1|0;b:{switch(g-10|0){case 0:break a;case 3:break b;default:continue}}break}d=Hp(c);if(!((d|0)!=10|(e|0)>=(f|0))){t[a+e|0]=10;e=b+2|0;break a}if((d|0)==-1){break a}c:{if((d|0)==-1){break c}f=v[c+76>>2]>=0;d:{e:{b=v[c+4>>2];f:{if(!b){QD(c);b=v[c+4>>2];if(!b){break f}}if(v[c+44>>2]-8>>>0>>0){break e}}if(f){break d}break c}b=b-1|0;v[c+4>>2]=b;t[b|0]=d;v[c>>2]=v[c>>2]&-17;if(!f){break c}}}}t[a+e|0]=0;return e?a:0}function qxa(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,j=0,k=0,l=0,m=0,n=0;i=Ma-256|0;Ma=i;if(g){k=(e<<2)+c|0;a=v[a+416>>2];l=v[(a+(v[b+16>>2]<<2)|0)+84>>2];m=v[(a+(v[b+4>>2]<<2)|0)+44>>2];while(1){Qa[m|0](i,k,f);a=0;while(1){e=a<<2;c=v[e+l>>2];h=c>>1;n=((j<<7)+d|0)+(a<<1)|0;e=v[e+i>>2];a:{if((e|0)<=-1){e=h-e|0;if((e|0)>=(c|0)){c=(e|0)/(c|0)|0}else{c=0}e=0-c|0;break a}h=e+h|0;e=0;if((h|0)<(c|0)){break a}e=(h|0)/(c|0)|0}u[n>>1]=e;a=a+1|0;if((a|0)!=64){continue}break}f=v[b+36>>2]+f|0;j=j+1|0;if((j|0)!=(g|0)){continue}break}}Ma=i+256|0}function g1(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=a+4|0;a=v[a+4>>2];a:{b:{if(!a){break b}d=w[b+11|0];c=d<<24>>24<0;i=c?v[b>>2]:b;e=c?v[b+4>>2]:d;c=g;while(1){b=w[a+27|0];j=b<<24>>24<0;h=j?v[a+20>>2]:b;f=h>>>0>e>>>0;d=f?e:h;c:{if(d){b=a+16|0;b=Jb(j?v[b>>2]:b,i,d);if(b){break c}}b=e>>>0>h>>>0?-1:f}c=(b|0)<0?c:a;a=v[(b>>>29&4)+a>>2];if(a){continue}break}if((c|0)==(g|0)){break b}a=w[c+27|0];f=a<<24>>24<0;d:{d=f?v[c+20>>2]:a;b=d>>>0>>0?d:e;if(b){a=c+16|0;a=Jb(i,f?v[a>>2]:a,b);if(a){break d}}if(d>>>0>e>>>0){break b}break a}if((a|0)>-1){break a}}c=g}return c}function VRa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=Ma-32|0;Ma=c;g=1;b=v[a>>2];f=Qa[v[v[b>>2]+32>>2]](b)|0;b=B(f,3)+1|0;h=ab((b|0)!=(b&1073741823)?-1:b<<2);v[h>>2]=f;if((f|0)>0){while(1){b=v[a>>2];Qa[v[v[b>>2]+36>>2]](b,i,c+8|0,c,c+24|0,c+16|0);j=A[c+8>>3];k=A[c>>3];b=h+(g<<2)|0;d=b;l=A[c+24>>3];a:{if(D(l)<2147483648){e=~~l;break a}e=-2147483648}v[d+8>>2]=e;d=b;if(D(k)<2147483648){e=~~k}else{e=-2147483648}v[d+4>>2]=e;if(D(j)<2147483648){d=~~j}else{d=-2147483648}v[b>>2]=d;g=g+3|0;i=i+1|0;if((f|0)!=(i|0)){continue}break}}Ma=c+32|0;return h|0}function M5(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;v[a+20>>2]=0;a:{d=v[a+4>>2];b:{c:{if(!d){break c}b=v[c+8>>2];d:{if(b&7){break d}e=v[c+64>>2];if(!((e|0)<0|v[c+60>>2]<(e|0))){v[c+8>>2]=b|4;break d}b=v[c+28>>2];v[c+28>>2]=b-1;e:{if((b|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=v[c+24>>2];v[c+24>>2]=b+1;b=w[b|0];break e}b=Eb(c,1);if((b|0)==-1){break d}d=v[a+4>>2]}t[a+12|0]=b;b=-1;d=d-1|0;v[a+16>>2]=d;if(!d){break a}d=gb(d);v[a+20>>2]=d;if(!d){break b}b=0;if((Hh(c,d,v[a+16>>2])|0)==v[a+16>>2]){break b}}a=v[a+20>>2];if(!a){break c}$a(a)}b=-1}return b|0}v[a+20>>2]=0;return 0}function mAa(a,b){a=a|0;b=b|0;var c=0;c=v[a+8>>2];a:{b:{if((b|0)<=1){v[c+48>>2]=0;t[c+68|0]=0;v[c+60>>2]=0;u[c+52>>1]=0;if((b|0)!=1){u[c+54>>1]=0;u[c+56>>1]=0;u[c+58>>1]=0;if(w[c+99|0]!=107){break a}if(v[c+64>>2]!=1){break b}b=v[c+40>>2];v[b+44>>2]=0;v[b+48>>2]=0;t[b+36|0]=0;break b}if(w[c+99|0]!=107|v[c+64>>2]!=1){break a}a=v[c+40>>2];v[a+44>>2]=0;v[a+48>>2]=0;t[a+36|0]=0;return}u[c+54>>1]=0;u[c+56>>1]=0;u[c+58>>1]=0;if(w[c+99|0]!=107){break a}}if(!w[a+63|0]){v[a+76>>2]=1126769691;t[a+63|0]=4}if(v[c+64>>2]!=1){break a}a=v[c+40>>2];v[a+52>>2]=1;v[a+56>>2]=0}}function Wta(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;b=v[a+28>>2];c=v[b+596>>2];d=v[c+28>>2];if(!(v[c>>2]?0:(d|0)<=0)){a:{if(!v[a+100>>2]|(d|0)<1){break a}b=v[b+116>>2];b:{if((Qa[v[v[b>>2]+12>>2]](b)|0)==10){jq(a,0);break b}b=v[a+8>>2];Qa[v[v[b>>2]+204>>2]](b,v[a+28>>2])}b=v[v[a+28>>2]+120>>2];if((Qa[v[v[b>>2]+12>>2]](b)|0)==10){zs(a);break a}b=v[a+8>>2];Qa[v[v[b>>2]+200>>2]](b,v[a+28>>2])}b=v[a+28>>2];c=v[b+596>>2];if(!(!v[a+36>>2]|(v[c>>2]?0:v[c+28>>2]<=0))){ej(b);b=v[a+8>>2];Qa[v[v[b>>2]+(v[a+36>>2]==1?220:224)>>2]](b,v[a+28>>2]);b=v[a+28>>2]}v[a+36>>2]=0;Ae(b)}}function Uta(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;b=v[a+28>>2];c=v[b+596>>2];d=v[c+28>>2];if(!(v[c>>2]?0:(d|0)<=0)){a:{if(!v[a+100>>2]|(d|0)<1){break a}b=v[b+116>>2];b:{if((Qa[v[v[b>>2]+12>>2]](b)|0)==10){jq(a,1);break b}b=v[a+8>>2];Qa[v[v[b>>2]+208>>2]](b,v[a+28>>2])}b=v[v[a+28>>2]+120>>2];if((Qa[v[v[b>>2]+12>>2]](b)|0)==10){zs(a);break a}b=v[a+8>>2];Qa[v[v[b>>2]+200>>2]](b,v[a+28>>2])}b=v[a+28>>2];c=v[b+596>>2];if(!(!v[a+36>>2]|(v[c>>2]?0:v[c+28>>2]<=0))){ej(b);b=v[a+8>>2];Qa[v[v[b>>2]+(v[a+36>>2]==1?220:224)>>2]](b,v[a+28>>2]);b=v[a+28>>2]}v[a+36>>2]=0;Ae(b)}}function GMa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;v[c>>2]=-1;d=v[a+180>>2];if(!d){return 0}if(v[a+208>>2]){return b|0}e=v[d+36>>2];if(!e){return b|0}if((e|0)>=1){e=0;while(1){g=d;d=v[v[d+40>>2]+(e<<2)>>2];a:{if(Nq(g,d)){break a}b:{d=v[d+4>>2];if((d|0)<=1937337697){if(!d){break b}if((d|0)!=1634889070){break a}break b}if((d|0)==1937337698){break b}if((d|0)!=1970170211){break a}f=0;d=yi(v[a+180>>2],b);if(!d){break a}v[c>>2]=e;return d|0}f=yi(v[a+180>>2],b);if(!f){f=0;break a}v[c>>2]=e}e=e+1|0;d=v[a+180>>2];if((e|0)>2]){continue}break}}return f|0}function yca(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;a=Ma-32|0;Ma=a;u[a+28>>1]=w[1004069]|w[1004070]<<8;v[a+24>>2]=w[1004065]|w[1004066]<<8|(w[1004067]<<16|w[1004068]<<24);g=a+24|0;$n(g|1,261568,1,v[c+4>>2]);h=v[c+4>>2];f=a-16|0;Ma=f;i=te();v[a>>2]=e;e=h>>>9&1;i=Ih(f,e+13|0,i,g,a)+f|0;j=tj(f,i,c);g=f-((e<<3)+107&112)|0;Ma=g;e=a+8|0;h=v[c+28>>2];v[e>>2]=h;v[h+4>>2]=v[h+4>>2]+1;yx(f,j,i,g,a+20|0,a+16|0,e);e=v[e>>2];f=v[e+4>>2]-1|0;v[e+4>>2]=f;if((f|0)==-1){Qa[v[v[e>>2]+8>>2]](e)}b=Wm(b,g,v[a+20>>2],v[a+16>>2],c,d);Ma=a+32|0;return b|0}function GC(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{f=v[a+20>>2];b:{if((f|0)>=2){e=v[a+28>>2];c=v[e+4>>2]-v[e>>2]>>2;break b}if((f|0)!=1){break a}}d=v[a+24>>2];if((d|0)<1){break a}e=v[v[a+28>>2]>>2];i=c<<2;while(1){c:{if((d|0)<1){break c}h=d-1|0;c=e;g=d&3;if(g){while(1){v[c>>2]=v[c>>2]<>>0<3){break c}while(1){v[c>>2]=v[c>>2]<>2]=v[c+4>>2]<>2]=v[c+8>>2]<>2]=v[c+12>>2]<4;d=d-4|0;if(h){continue}break}}if((f|0)<2){break a}f=f-1|0;e=e+i|0;d=v[a+24>>2];continue}}}function $t(a,b,c,d,e,f,g,h){var i=0,j=0,k=0;i=Ma-16|0;Ma=i;if((b^-1)-17>>>0>=c>>>0){if(w[a+11|0]>>>7|0){k=v[a>>2]}else{k=a}a:{if(b>>>0<2147483623){v[i+8>>2]=b<<1;v[i+12>>2]=b+c;c=Ma-16|0;Ma=c;Ma=c+16|0;c=i+8|0;j=i+12|0;c=v[(y[j>>2]>2]?c:j)>>2];if(c>>>0>=11){j=c+16&-16;c=j-1|0;c=(c|0)==11?j:c}else{c=10}break a}c=-18}j=c+1|0;c=ab(j);if(e){sk(c,k,e)}if(g){sk(c+e|0,h,g)}d=d-(e+f|0)|0;if(d){sk((c+e|0)+g|0,(e+k|0)+f|0,d)}if((b|0)!=10){$a(k)}v[a>>2]=c;v[a+8>>2]=j|-2147483648;b=a;a=d+(e+g|0)|0;v[b+4>>2]=a;t[i+7|0]=0;t[a+c|0]=w[i+7|0];Ma=i+16|0;return}sc();L()}function iea(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;var j=0,k=0,l=0;if(!(!f|!e)){d=x[a+26>>1];j=v[a+64>>2];a=e&3;k=e-1>>>0<3;l=h<<2;while(1){h=e;c=a;if(c){while(1){v[b>>2]=v[v[(w[i|0]<<2)+j>>2]>>2];i=d+i|0;b=b+4|0;h=h-1|0;c=c-1|0;if(c){continue}break}}f=f-1|0;if(!k){while(1){v[b>>2]=v[v[(w[i|0]<<2)+j>>2]>>2];c=d+i|0;v[b+4>>2]=v[v[(w[c|0]<<2)+j>>2]>>2];c=c+d|0;v[b+8>>2]=v[v[(w[c|0]<<2)+j>>2]>>2];c=c+d|0;v[b+12>>2]=v[v[(w[c|0]<<2)+j>>2]>>2];b=b+16|0;i=c+d|0;h=h-4|0;if(h){continue}break}}i=g+i|0;b=b+l|0;if(f){continue}break}}}function ZYa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=v[a+636>>2]+v[a+616>>2]|0;b=v[a+644>>2];a:{b:{c:{c=v[a+540>>2];if(!c){c=v[v[a+528>>2]+88>>2]}if(w[c+56|0]){if(v[a+588>>2]>0){break c}break a}if(v[a+588>>2]>0){break b}g=1;break a}while(1){h=x[c+836>>1];d=w[e|0];t[b+3|0]=(h|0)!=(d|0)?-1:0;d=(d|0)==(h|0)?0:d;t[b+2|0]=d;t[b+1|0]=d;t[b|0]=d;e=e+1|0;b=b+4|0;f=f+1|0;if((f|0)>2]){continue}break}break a}while(1){c=w[e|0];t[b+3|0]=255;t[b+2|0]=c;t[b+1|0]=c;t[b|0]=c;g=1;e=e+1|0;b=b+4|0;f=f+1|0;if((f|0)>2]){continue}break}}t[a+649|0]=g;return 0}function Vda(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;var j=0,k=0,l=0;if(!(!f|!e)){d=v[a+60>>2];j=x[a+26>>1];a=e&3;k=e-1>>>0<3;l=h<<2;while(1){h=e;c=a;if(c){while(1){v[b>>2]=v[v[(w[i|0]<<2)+d>>2]>>2];i=i+j|0;b=b+4|0;h=h-1|0;c=c-1|0;if(c){continue}break}}f=f-1|0;if(!k){while(1){v[b>>2]=v[v[(w[i|0]<<2)+d>>2]>>2];c=i+j|0;v[b+4>>2]=v[v[(w[c|0]<<2)+d>>2]>>2];c=c+j|0;v[b+8>>2]=v[v[(w[c|0]<<2)+d>>2]>>2];c=c+j|0;v[b+12>>2]=v[v[(w[c|0]<<2)+d>>2]>>2];b=b+16|0;i=c+j|0;h=h-4|0;if(h){continue}break}}i=g+i|0;b=b+l|0;if(f){continue}break}}}function PY(a,b,c){var d=0,e=0,f=0;d=0;a:{if(v[c>>2]>0){break a}e=v[a+4>>2];d=1;if((e|0)>=(b|0)){break a}b:{d=b+e|0;if((d|0)<=(b|0)|(d|0)<1){break b}e=v[a+52>>2];f=Fg(d);if(!f){break b}if((e|0)>=0){b=v[a+4>>2];c=e+1|0;b=(b|0)<(c|0)?b:c;cb(f,v[a>>2],(b|0)>(d|0)?d:b)}if(w[a+8|0]){Nd(v[a>>2])}t[a+8|0]=1;v[a+4>>2]=d;v[a>>2]=f;return 1}c:{if((b|0)<1){break c}d=v[a+52>>2];e=Fg(b);if(!e){break c}if((d|0)>=0){c=v[a+4>>2];d=d+1|0;c=(c|0)<(d|0)?c:d;cb(e,v[a>>2],(b|0)<(c|0)?b:c)}if(w[a+8|0]){Nd(v[a>>2])}t[a+8|0]=1;v[a+4>>2]=b;v[a>>2]=e;return 1}v[c>>2]=7;d=0}return d}function Jn(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=Ma-16|0;Ma=f;if(!c){v[285946]=0}g=v[a+24812>>2];h=g+12|0;v[a+24812>>2]=h;a:{b:{if(a+24808>>>0>=h>>>0){e=v[285946];if((e|0)>-1){break b}break a}v[f>>2]=v[a+25208>>2];vb(v[249419],17136,f);tc(a+190484|0,2);L()}while(1){j=d+1|0;i=w[b+d|0]+i|0;if((i|0)>(e|0)){break a}k=d>>>0<15;d=j;if(k){continue}break}}c:{if((e|0)>=(i|0)){d=e;break c}if((c|0)<(j|0)){v[g>>2]=h;c=c+1|0;Jn(a,b,c);v[g+4>>2]=v[a+24812>>2];Jn(a,b,c);d=v[285946];break c}d=e+1|0;v[285946]=d;v[g+8>>2]=w[(b+e|0)+16|0]}Ma=f+16|0;return(b+d|0)+16|0}function AT(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;f=Ma-16|0;Ma=f;a:{if(y[b+4>>2]>=17){e=f;b:{c:{d=b;if(!w[d+8|0]){break c}d=v[d>>2];if(d){break c}d=0;break b}d=v[d>>2]}g=ks(e,d- -64|0,v[b+4>>2]-17|0);b=v[a+60>>2]-v[a+56>>2]>>3;while(1){if((b|0)>=1){b=b-1|0;d=v[a+56>>2];if(b>>>0>=v[a+60>>2]-d>>3>>>0){break a}e=v[d+(b<<3)>>2];d=v[e+4>>2];if(d){h=e+4|0;e=h;while(1){i=gm(d+16|0,g);e=i?e:d;d=v[(i?4:0)+d>>2];if(d){continue}break}d=0;d:{if((e|0)==(h|0)){break d}if(gm(g,e+16|0)){break d}Xe(c,e+28|0);d=1}}else{d=0}if(!d){continue}}break}Qb(g)}Ma=f+16|0;return}gi();L()}function te(){var a=0,b=0,c=0,d=0;a:{if(t[1187388]&1){break a}if(!ie(1187388)){break a}b=Ma-32|0;Ma=b;while(1){d=$P(a,1<>2]=d;c=((d|0)!=0)+c|0;a=a+1|0;if((a|0)!=6){continue}break}a=993856;b:{c:{d:{switch(c|0){case 0:break b;case 1:break d;default:break c}}if(v[b+8>>2]!=993828){break c}a=993880;break b}a=gb(24);if(!a){break b}c=v[b+12>>2];v[a>>2]=v[b+8>>2];v[a+4>>2]=c;c=v[b+28>>2];v[a+16>>2]=v[b+24>>2];v[a+20>>2]=c;c=v[b+20>>2];v[a+8>>2]=v[b+16>>2];v[a+12>>2]=c}Ma=b+32|0;v[296846]=a;he(1187388)}return v[296846]}function bf(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=Ma-16|0;Ma=e;v[e+12>>2]=d;d=w[b+11|0]>>>7|0?v[b+4>>2]:w[b+11|0];if(d>>>0>>0){gi();L()}f=w[b+11|0]>>>7|0?v[b>>2]:b;v[e+4>>2]=d-c;b=a;h=f+(c<<2)|0;c=Ma-16|0;Ma=c;Ma=c+16|0;f=Ma-16|0;Ma=f;a:{c=e+4|0;d=e+12|0;d=v[(y[c>>2]>2]?c:d)>>2];if(d>>>0<=1073741807){b:{if(d>>>0<=1){t[b+11|0]=d;c=b;break b}i=b;if(d>>>0>=2){g=d+4&-4;c=g-1|0;c=(c|0)==2?g:c}else{c=1}g=c+1|0;c=FN(g);v[i>>2]=c;v[b+8>>2]=g|-2147483648;v[b+4>>2]=d}rk(c,h,d);v[f+12>>2]=0;v[(d<<2)+c>>2]=v[f+12>>2];Ma=f+16|0;break a}sc();L()}Ma=e+16|0;return a}function Qe(a,b){var c=0,d=0;c=Ma-32|0;Ma=c;v[a>>2]=0;v[a+4>>2]=v[279250];v[c>>2]=b;GQ(c+16|0,292112,c);b=v[c+16>>2];a:{if(b){Qa[v[v[b>>2]+28>>2]](c+24|0,b,1);break a}v[c+24>>2]=0}jb(a,c+24|0);b=v[c+24>>2];v[c+24>>2]=0;b:{if(!b){break b}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break b}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}b=v[a>>2];v[a+4>>2]=v[(b?b+12|0:1117e3)>>2];b=v[c+16>>2];v[c+16>>2]=0;c:{if(!b){break c}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break c}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}Ma=c+32|0;return a}function JXa(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,j=0,k=0;a:{if(f){j=c<<1;k=b<<1;if(((c+1|0)/2|0)<=(b|0)){if(!d){break a}a=0;while(1){t[g|0]=w[f|0];i=g;h=w[f+1|0];b=w[e+1|0];if((h|0)!=(b|0)){b=b+((B(h-b|0,k)+c|0)/(j|0)|0)|0}t[i+1|0]=b;f=f+2|0;e=e+2|0;g=g+2|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}break a}if(!d){break a}a=0;while(1){t[g|0]=w[e|0];i=g;h=w[f+1|0];b=w[e+1|0];if((h|0)!=(b|0)){b=b+((B(h-b|0,k)+c|0)/(j|0)|0)|0}t[i+1|0]=b;f=f+2|0;e=e+2|0;g=g+2|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}break a}cb(g,e,d<<1)}return 0}function Hsa(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;c=v[a+28>>2];e=v[c+596>>2];if(!(v[e+28>>2]>0|v[e>>2])){b=-1;a=v[a+108>>2];a:{if(!a){break a}a=v[a+4>>2];if(v[a+8>>2]==13){break a}a=v[a+16>>2];b=Qa[v[v[a>>2]+52>>2]](a)|0}fb(1,b,324131,0);return}g=A[b+24>>3];a=v[b+24>>2];d=A[b+40>>3];h=v[b+40>>2];i=A[c+608>>3];j=A[b+8>>3];k=v[b+8>>2];l=v[b>>2];m=v[b+16>>2];n=v[b+32>>2];f=v[b+48>>2]==1?+v[b+56>>2]:A[b+56>>3];A[c+608>>3]=f;o=A[c+600>>3];d=(n|0)==1?+(h|0):d;A[c+600>>3]=d;ol(e,o,i,(l|0)==1?+(k|0):j,(m|0)==1?+(a|0):g,d,f)}function QY(a){a=a|0;var b=0,c=0;c=v[a+8>>2];if(c){b=v[c>>2];if(b){yd(b)}b=v[c+4>>2];if(b){yd(b)}b=v[c+8>>2];if(b){yd(b)}b=v[c+12>>2];if(b){yd(b)}b=v[c+16>>2];if(b){yd(b)}b=v[c+20>>2];if(b){yd(b)}b=v[c+24>>2];if(b){yd(b)}b=v[c+28>>2];if(b){yd(b)}b=v[c+32>>2];if(b){yd(b)}b=v[c+36>>2];if(b){yd(b)}b=v[c+40>>2];if(b){yd(b)}b=v[c+44>>2];if(b){yd(b)}b=v[c+48>>2];if(b){yd(b)}b=v[c+52>>2];if(b){yd(b)}b=v[c+56>>2];if(b){yd(b)}b=v[c+60>>2];if(b){yd(b)}b=v[c+64>>2];if(b){yd(b)}b=v[c+68>>2];if(b){yd(b)}b=v[c+72>>2];if(b){yd(b)}c=v[c+76>>2];if(c){yd(c)}Nd(v[a+8>>2])}}function IXa(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,j=0,k=0;a:{if(f){if(!d){break a}a=c<<1;i=b<<1;while(1){j=g;h=w[f|0];b=w[e|0];if((h|0)!=(b|0)){b=b+((B(h-b|0,i)+c|0)/(a|0)|0)|0}t[j|0]=b;h=w[f+1|0];b=w[e+1|0];if((h|0)!=(b|0)){b=b+((B(h-b|0,i)+c|0)/(a|0)|0)|0}t[j+1|0]=b;h=w[f+2|0];b=w[e+2|0];if((h|0)!=(b|0)){b=b+((B(h-b|0,i)+c|0)/(a|0)|0)|0}t[j+2|0]=b;h=w[f+3|0];b=w[e+3|0];if((h|0)!=(b|0)){b=b+((B(h-b|0,i)+c|0)/(a|0)|0)|0}t[j+3|0]=b;f=f+4|0;e=e+4|0;g=g+4|0;k=k+1|0;if((k|0)!=(d|0)){continue}break}break a}cb(g,e,d<<2)}return 0}function Sv(a,b){var c=0,d=0,e=0,f=0,g=0;a:{if(!a|!b){break a}d=v[a+4>>2];e=Qa[v[256552]](16)|0;if(!e){break a}c=(d|0)<1?256:d;v[e+4>>2]=c;v[e+8>>2]=0;v[e+12>>2]=0;d=B(c,24);c=Qa[v[256552]](d)|0;v[e>>2]=c;if(!c){Qa[v[256556]](e);return 0}eb(c,0,d);b:{d=v[a>>2];if(!d){break b}f=v[a+4>>2];if((f|0)<1){break b}while(1){c=B(g,24)+d|0;if(!(!v[c+20>>2]|!d)){while(1){d=v[c>>2];f=v[c+4>>2];Tv(e,f,v[c+8>>2],v[c+12>>2],Qa[b|0](v[c+16>>2],f)|0);c=d;if(c){continue}break}f=v[a+4>>2]}g=g+1|0;if((g|0)>=(f|0)){break b}d=v[a>>2];continue}}v[e+8>>2]=v[a+8>>2];c=e}return c}function FH(a){var b=0,c=0,d=0;c=Ma-16|0;Ma=c;b=Qa[v[256552]](60)|0;a:{if(!b){if(a){if(!(!v[a+212>>2]|v[a+172>>2]!=-1)){b=0;break a}v[a+212>>2]=1;v[a+172>>2]=-1;v[a+84>>2]=2}v[c>>2]=341856;b=0;nb(0,0,0,a,0,1,2,3,341856,0,0,0,340689,c);break a}v[b+48>>2]=0;v[b+52>>2]=0;d=b+32|0;v[d>>2]=0;v[d+4>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b>>2]=0;v[b+4>>2]=0;v[b+56>>2]=0;v[b+40>>2]=0;v[b+44>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b+52>>2]=-1;v[b+32>>2]=1;v[b+28>>2]=1;if(!a){break a}d=a;a=v[a+464>>2];v[d+464>>2]=a+1;v[b+56>>2]=a}Ma=c+16|0;return b}function x_a(a){a=a|0;var b=0,c=0,d=0;b=v[v[a+536>>2]+88>>2];b=(v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0;c=v[a+644>>2];a:{b:{switch(w[a+2253|0]-3|0){case 0:if(v[a+588>>2]<=0){break a}while(1){t[b|0]=w[c|0]+w[b|0];t[b+1|0]=w[c+1|0]+w[b+1|0];t[b+2|0]=w[c+2|0]+w[b+2|0];c=c+3|0;b=b+4|0;d=d+1|0;if((d|0)>2]){continue}break};break a;case 3:break b;default:break a}}if(v[a+588>>2]<1){break a}while(1){t[b|0]=w[c|0];t[b+1|0]=w[c+1|0];t[b+2|0]=w[c+2|0];c=c+3|0;b=b+4|0;d=d+1|0;if((d|0)>2]){continue}break}}return 0}function o_(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=Ma-16|0;Ma=e;v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=0;v[c+4>>2]=0;d=v[a+4>>2];a:{if(!v[v[d+128>>2]+52>>2]){d=v[a+532>>2];b:{c:{if(!v[d+1188>>2]|b>>>0>255){break c}h=Qa[v[v[d+3088>>2]>>2]](b)|0;g=v[d+20>>2];if(!g){break c}d=v[d+1188>>2];b=0;while(1){f=b;if(x[d+(b<<1)>>1]==(h|0)){break b}b=b+1|0;if((g|0)!=(b|0)){continue}break}}f=-1}b=f;if((b|0)<0){a=18;break a}d=v[a+4>>2]}a=Qa[v[a+596>>2]](d,b,e+12|0,e+8|0)|0;if(a){break a}b=v[e+12>>2];v[c+4>>2]=b;d=v[e+8>>2];v[c+12>>2]=b;a=0;v[c+8>>2]=b?b+d|0:0}Ma=e+16|0;return a}function KXa(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,j=0,k=0;a:{if(f){j=c<<1;k=b<<1;if(((c+1|0)/2|0)<=(b|0)){if(!d){break a}a=0;while(1){i=g;h=w[f|0];b=w[e|0];if((h|0)!=(b|0)){b=b+((B(h-b|0,k)+c|0)/(j|0)|0)|0}t[i|0]=b;t[g+1|0]=w[f+1|0];g=g+2|0;f=f+2|0;e=e+2|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}break a}if(!d){break a}a=0;while(1){i=g;h=w[f|0];b=w[e|0];if((h|0)!=(b|0)){b=b+((B(h-b|0,k)+c|0)/(j|0)|0)|0}t[i|0]=b;t[g+1|0]=w[e+1|0];g=g+2|0;e=e+2|0;f=f+2|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}break a}cb(g,e,d<<1)}return 0}function Fo(a,b){var c=0,d=0,e=0,f=0;if(!b){return a}a:{if(!a){c=b;while(1){a=c;c=a+1|0;if(w[a|0]){continue}break}c=0;a=a-b|0;if((a|0)<0){break a}c=Qa[v[256555]](a+1|0)|0;if(!c){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);return 0}d=a;a=cb(c,b,a);t[d+a|0]=0;return a}d=b;while(1){c=d;d=c+1|0;if(w[c|0]){continue}break}e=c-b|0;if(!e){return a}c=0;if((e|0)<0){break a}d=0;if(w[a|0]){c=a;while(1){d=d+1|0;f=w[c+1|0];c=c+1|0;if(f){continue}break}}f=d+e|0;c=Qa[v[256557]](a,f+1|0)|0;if(!c){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);return a}cb(c+d|0,b,e);t[c+f|0]=0}return c}function AS(a,b){var c=0,d=0,e=0,f=0;e=Ma-16|0;Ma=e;v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=970612;v[a+4>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;t[a+16|0]=0;v[e+12>>2]=b;a:{if(!b){break a}c=w[b|0];if(!c){break a}while(1){b:{f=b;c:{if((d|0)!=92){if((d|0)!=34){if(d){break c}d=(c|0)==34?34:0;break c}if((c|0)==34){d=0;break c}if((c|0)==92){d=92;break c}if(c>>>0<32){break b}d=34;if((c|0)!=127){break c}break b}d=34;if(!ag(308332,c<<24>>24,18)){break b}}b=f+1|0;c=w[f+1|0];if(c){continue}break a}break}t[a+16|0]=1}bn(a,260392,a,e+12|0);Ma=e+16|0;return a}function wNa(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;d=v[a+12>>2];if(!d){return 0}f=Ma-16|0;Ma=f;d=v[d+180>>2];a=f+8|0;if(!(!d|!a)){e=v[d+96>>2];v[a>>2]=0;v[a+4>>2]=0;e=v[v[e+12>>2]+76>>2];if(e){if(!(Qa[e|0](d,b,c,a)|0)){h=a,i=xb(v[a>>2],v[v[d+88>>2]+16>>2]),v[h>>2]=i;e=xb(v[a+4>>2],v[v[d+88>>2]+20>>2]);v[a+4>>2]=e;g=a;b=v[d+88>>2];c=x[b+12>>1];if(c>>>0<=24){h=a,i=fc(v[a>>2],c,25),v[h>>2]=i;b=v[d+88>>2]}b=x[b+14>>1];c=v[a+4>>2];a:{if(b>>>0>=25){break a}c=fc(e,b,25)}v[g+4>>2]=c+32&-64;v[a>>2]=v[a>>2]+32&-64}}}Ma=f+16|0;return v[f+8>>2]>>6}function uDa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=v[v[a+96>>2]+8>>2];b=v[a+356>>2];if(b){e=d;c=v[a+348>>2];if((c|0)>=1){c=B(c,20)+b|0;while(1){f=v[b+16>>2];if(f){Qa[v[d+8>>2]](d,f)}v[b+16>>2]=0;b=b+20|0;if(c>>>0>b>>>0){continue}break}b=v[a+356>>2]}if(b){Qa[v[e+8>>2]](e,b)}v[a+356>>2]=0}b=v[a+364>>2];if(b){e=d;c=v[a+360>>2];if((c|0)>=1){c=B(c,12)+b|0;while(1){f=v[b+8>>2];if(f){Qa[v[d+8>>2]](d,f)}v[b+8>>2]=0;b=b+12|0;if(c>>>0>b>>>0){continue}break}b=v[a+364>>2]}if(b){Qa[v[e+8>>2]](e,b)}v[a+364>>2]=0}u[a+344>>1]=0;v[a+360>>2]=0;v[a+348>>2]=0;v[a+352>>2]=0}function hA(a,b){var c=0;a:{if(!a){break a}c=v[a+4>>2];if(!b|(c|0)==18|(v[b+4>>2]==18|(a|0)==(b|0))){break a}b:{c:{if((c|0)==2){break c}c=v[a+20>>2];if(!c|!v[c+12>>2]){break c}c=v[c+16>>2];if(!c){break c}if(!v[c+24>>2]){break b}}while(1){c=a;a=v[c+24>>2];if(a){continue}break}}hj(b);d:{a=v[b+4>>2];if(!(v[c+4>>2]!=3|(a|0)!=3)){if(v[c+8>>2]!=v[b+8>>2]){break d}Xz(c,v[b+40>>2]);Ck(b);return}if((a|0)!=2){break d}UX(c,c,b);return}a=v[c+32>>2];if((a|0)!=v[b+32>>2]){ul(b,a)}a=v[c+20>>2];v[b+24>>2]=0;v[b+28>>2]=c;v[b+20>>2]=a;v[c+24>>2]=b;if(a){v[a+16>>2]=b}}}function cy(a){var b=0,c=0,d=0;if((w[a|0]-32&255)>>>0>94){return-1}if((w[a+1|0]-32&255)>>>0>94){return-1}if((w[a+2|0]-32&255)>>>0>94){return-1}c=w[a+3|0];if((c-32&255)>>>0>94){return-1}d=1;a:{b=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);b:{if((b|0)==1297239878|(b|0)==1414744396){break b}b=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);if((b|0)==1347375696|(b|0)==542392643){break b}b=c-49|0;if(!(Jb(a,310343,3)|(b&255)>>>0>=9)){return-1}if(Jb(a,310130,3)){break a}d=-1;if((b&255)>>>0>8){break a}}return d}return 0-(!Jb(a,309956,3)&(c-49&255)>>>0<9)|0}function fX(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{b:{c=Qa[v[256555]](10)|0;if(!c){break b}b=w[v[v[a+36>>2]+16>>2]];if((b-48&255)>>>0>=10){break a}t[c|0]=b;Bc(a);if(w[v[v[a+36>>2]+16>>2]]!=46){break a}t[c+1|0]=46;Bc(a);g=2;d=w[v[v[a+36>>2]+16>>2]];c:{if((d-48&255)>>>0>9){b=c;e=2;break c}f=10;while(1){d:{e=g+1|0;if((f|0)>(e|0)){b=c;break d}f=f<<1;b=Qa[v[256557]](c,f)|0;if(b){break d}Qa[v[256556]](c);break b}t[b+g|0]=d;Bc(a);g=e;c=b;d=w[v[v[a+36>>2]+16>>2]];if((d-48&255)>>>0<10){continue}break}}t[b+e|0]=0;return b}Yc(a,0);return 0}Qa[v[256556]](c);return 0}function In(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=c-b|0;g=f>>2;d=v[a+8>>2];e=v[a>>2];if(g>>>0<=d-e>>2>>>0){d=v[a+4>>2]-e|0;f=d>>2;d=f>>>0>>0?b+d|0:c;h=d-b|0;if(h){id(e,b,h)}if(f>>>0>>0){b=v[a+4>>2];c=c-d|0;if((c|0)>=1){b=cb(b,d,c)+c|0}v[a+4>>2]=b;return}v[a+4>>2]=e+h;return}if(e){v[a+4>>2]=e;$a(e);v[a+8>>2]=0;v[a>>2]=0;v[a+4>>2]=0;d=0}a:{if((f|0)<=-1){break a}c=d>>1;c=d>>2>>>0<536870911?c>>>0>>0?g:c:1073741823;if(c>>>0>=1073741824){break a}e=c<<2;c=ab(e);v[a>>2]=c;v[a+4>>2]=c;v[a+8>>2]=c+e;if((f|0)>=1){c=cb(c,b,f)+f|0}v[a+4>>2]=c;return}Jc();L()}function pTa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Ma-48|0;Ma=c;e=x[a+26326>>1];f=x[a+26324>>1];d=B(e,f);v[a+26080>>2]=d;d=Yb(d,2);if(!d){b=v[a+190640>>2];a:{if(b){d=v[a+25208>>2];v[c+20>>2]=36933;v[c+16>>2]=d;Dc(b,4338,c+16|0);break a}b=v[a+25208>>2];v[c+4>>2]=36933;v[c>>2]=b;vb(v[249419],4338,c)}tc(a+190484|0,1);L()}v[c+36>>2]=e;v[c+32>>2]=f;vb(b,32546,c+32|0);Wi(a,d,v[a+26080>>2]);if(v[a+26080>>2]){e=0;while(1){f=d+(e<<1)|0;Ee(x[f>>1]<<3,b);Ee(x[f>>1]>>>3&8188,b);Ee(w[f+1|0]&248,b);e=e+1|0;if(e>>>0>2]){continue}break}}$a(d);Ma=c+48|0}function mq(a){var b=0;b=v[a+80>>2];v[a+80>>2]=b+1;t[(a+b|0)+16|0]=128;b=v[a+80>>2];if((b|0)>=57){if((b|0)<=63){while(1){v[a+80>>2]=b+1;t[(a+b|0)+16|0]=0;b=v[a+80>>2];if((b|0)<64){continue}break}}wo(a);b=v[a+80>>2]}if((b|0)<=55){while(1){v[a+80>>2]=b+1;t[(a+b|0)+16|0]=0;b=v[a+80>>2];if((b|0)<56){continue}break}}v[a+80>>2]=64;t[a+79|0]=0;t[a+77|0]=0;t[a+78|0]=0;b=v[a+84>>2];t[a+76|0]=b>>29;t[a+75|0]=b>>>21;t[a+74|0]=b>>>13;t[a+73|0]=b>>>5;t[a+72|0]=b<<3;wo(a);b=v[a+4>>2];v[a+88>>2]=v[a>>2];v[a+92>>2]=b;b=v[a+12>>2];v[a+96>>2]=v[a+8>>2];v[a+100>>2]=b}function fC(a){var b=0,c=0;b=v[a+2552>>2];v[a+2552>>2]=b+1;a:{b:{if(!v[a+968>>2]){break b}c:{switch(w[a+336|0]-12|0){default:v[a+572>>2]=b;b=Qa[v[a+980>>2]](a)|0;if(b){break a}b=v[a+976>>2];if(b){b=Qa[b|0](a)|0;if(b){break a}}b=Qa[v[a+968>>2]](a)|0;if(b){break a}if(!w[a+115|0]|v[a+12>>2]==2&y[a+320>>2]<301){break b}b=v[a+680>>2];if(v[a+516>>2]|(v[a+684>>2]-b|0)<51|((b+v[a+572>>2]|0)-v[a+664>>2]|0)%20){break b}t[a+502|0]=1;break b;case 0:case 2:break c}}b=lk(a);if(b){break a}}b=0;c=v[a+2552>>2];if(c>>>0<=y[a+2560>>2]){break a}v[a+2560>>2]=c}return b}function _X(a,b){var c=0,d=0,e=0;a:{b:{c:{d:{if(!b|(!a|v[a+4>>2]==18)){break d}c=v[b+4>>2];if((c|0)==18){break d}if(!v[a+12>>2]){v[a+12>>2]=b;c=b;break a}if((c|0)!=3){break c}c=v[a+16>>2];if(v[c+4>>2]!=3|v[b+8>>2]!=v[c+8>>2]){break c}Xz(c,v[b+40>>2]);c=v[b+24>>2];Ck(b);if(c){break b}}return}c=b}b=v[a+16>>2];v[b+24>>2]=c;v[c+28>>2]=b}b=v[c+24>>2];if(b){d=c+24|0;while(1){v[c+20>>2]=a;e=v[a+32>>2];if((e|0)!=v[c+32>>2]){ul(c,e);b=v[d>>2]}c=b;d=c+24|0;b=v[c+24>>2];if(b){continue}break}}v[c+20>>2]=a;b=v[a+32>>2];if((b|0)!=v[c+32>>2]){ul(c,b)}v[a+16>>2]=c}function O2(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=C(0);f=Ma-16|0;Ma=f;a:{if(!a){break a}i=a?v[a>>2]:0;j=Gm(i);if((i|0)<1){break a}while(1){d=f+8|0;g=f+12|0;if(g){v[g>>2]=0}if(d){v[d>>2]=0}b:{if(!a|(h|0)<0|v[a>>2]<=(h|0)){break b}e=v[v[a+12>>2]+(h<<2)>>2];if(!e){break b}v[e+16>>2]=v[e+16>>2]+1;if(g){v[g>>2]=0}if(d){v[d>>2]=0}if(g){v[g>>2]=v[e+8>>2]}if(d){v[d>>2]=v[e+12>>2]}d=v[e+16>>2]-1|0;v[e+16>>2]=d;if((d|0)>0){break b}$a(e)}k=v[f+8>>2]<=(c|0)&v[f+12>>2]<=(b|0)?C(1):C(0);if(j){ch(j,k)}h=h+1|0;if((i|0)!=(h|0)){continue}break}}Ma=f+16|0;return j}function EZ(a,b){var c=0,d=0,e=0,f=0;d=Ma-16|0;Ma=d;v[d+12>>2]=0;e=Gf(a,d+12|0);c=v[d+12>>2];a:{if(c){break a}if((e|0)==-128){c=8;break a}c=e&255;e=c&127;b:{if(!(c&128)){break b}f=Gf(a,d+12|0);c=v[d+12>>2];if(c){break a}e=f&127|e<<7;if(!(f&128)){break b}f=Gf(a,d+12|0);c=v[d+12>>2];if(c){break a}e=f&127|e<<7;if(!(f&128)){break b}f=Gf(a,d+12|0);c=v[d+12>>2];if(c){break a}e=f&127|e<<7;if(!(f&128)){break b}a=Gf(a,d+12|0);c=v[d+12>>2];if(c){break a}if(e>>>0>33554431){c=8;break a}c=8;a=a&255;if(a&128){break a}e=a&127|e<<7}v[b>>2]=e;c=0}Ma=d+16|0;return c}function iaa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(qj(a,v[b+8>>2],e)){if(!(v[b+28>>2]==1|v[b+4>>2]!=(c|0))){v[b+28>>2]=d}return}a:{if(qj(a,v[b>>2],e)){if(!(v[b+16>>2]!=(c|0)&v[b+20>>2]!=(c|0))){if((d|0)!=1){break a}v[b+32>>2]=1;return}v[b+32>>2]=d;b:{if(v[b+44>>2]==4){break b}u[b+52>>1]=0;a=v[a+8>>2];Qa[v[v[a>>2]+20>>2]](a,b,c,c,1,e);if(w[b+53|0]){v[b+44>>2]=3;if(!w[b+52|0]){break b}break a}v[b+44>>2]=4}v[b+20>>2]=c;v[b+40>>2]=v[b+40>>2]+1;if(v[b+36>>2]!=1|v[b+24>>2]!=2){break a}t[b+54|0]=1;return}a=v[a+8>>2];Qa[v[v[a>>2]+24>>2]](a,b,c,d,e)}}function cl(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;f=Ma-16|0;Ma=f;o(+b);h=j(1)|0;e=j(0)|0;g=h&2147483647;c=g;d=e;g=c+-1048576|0;a:{if((g|0)==2145386495|g>>>0<2145386495){i=d<<28;e=c>>>4|0;c=(c&15)<<28|d>>>4;d=e+1006632960|0;break a}if((c|0)==2146435072|c>>>0>2146435072){i=e<<28;c=h;e=c>>>4|0;c=(c&15)<<28|d>>>4;d=e|2147418112;break a}if(!(c|d)){c=0;d=0;break a}g=c;c=c>>>0<1?E(e)+32|0:E(c);Oh(f,d,g,0,0,c+49|0);k=v[f>>2];i=v[f+4>>2];e=15372-c<<16;c=v[f+8>>2];d=e|v[f+12>>2]^65536}v[a>>2]=k;v[a+4>>2]=i;v[a+8>>2]=c;v[a+12>>2]=h&-2147483648|d;Ma=f+16|0}function U$(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(!a){break a}b:{c:{b=v[a+8>>2];switch(b|0){case 0:break a;case 1:break b;default:break c}}h=b-1|0;f=h&3;d:{if(b-2>>>0<3){b=0;e=1;break d}i=h&-4;b=0;e=1;while(1){c=v[a>>2];d=b<<2;g=e<<2;v[c+d>>2]=v[c+g>>2];c=v[a>>2];v[c+(d|4)>>2]=v[(c+g|0)+4>>2];c=v[a>>2];v[c+(d|8)>>2]=v[(c+g|0)+8>>2];c=d|12;d=v[a>>2];v[c+d>>2]=v[(d+g|0)+12>>2];e=e+4|0;b=b+4|0;i=i-4|0;if(i){continue}break}}if(!f){break b}while(1){d=v[a>>2];v[d+(b<<2)>>2]=v[d+(e<<2)>>2];e=e+1|0;b=b+1|0;f=f-1|0;if(f){continue}break}}v[a+8>>2]=h}}function Gw(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=c-b|0;g=f>>3;d=v[a+8>>2];e=v[a>>2];if(g>>>0<=d-e>>3>>>0){d=v[a+4>>2]-e|0;f=d>>3;d=f>>>0>>0?b+d|0:c;h=d-b|0;if(h){id(e,b,h)}if(f>>>0>>0){b=v[a+4>>2];c=c-d|0;if((c|0)>=1){b=cb(b,d,c)+c|0}v[a+4>>2]=b;return}v[a+4>>2]=e+h;return}if(e){v[a+4>>2]=e;$a(e);v[a+8>>2]=0;v[a>>2]=0;v[a+4>>2]=0;d=0}a:{if((f|0)<=-1){break a}c=d>>2;c=d>>3>>>0<268435455?c>>>0>>0?g:c:536870911;if(c>>>0>=536870912){break a}e=c<<3;c=ab(e);v[a>>2]=c;v[a+4>>2]=c;v[a+8>>2]=c+e;if((f|0)>=1){c=cb(c,b,f)+f|0}v[a+4>>2]=c;return}Jc();L()}function C1(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;v[a+8>>2]=0;v[a>>2]=0;v[a+4>>2]=0;a:{b:{if(b){if(b>>>0>=357913942){break b}d=B(b,12);b=ab(d);v[a>>2]=b;v[a+4>>2]=b;e=b+d|0;v[a+8>>2]=e;f=v[c>>2];c=v[c+4>>2]-f|0;c:{if(!c){c=b;b=d-12|0;eb(c,0,(b-((b>>>0)%12|0)|0)+12|0);break c}if((c|0)<=-1){break a}g=c>>2<<2;h=c>>>2<<2;while(1){v[b+8>>2]=0;v[b>>2]=0;v[b+4>>2]=0;d=ab(c);v[b>>2]=d;v[b+4>>2]=d;v[b+8>>2]=d+g;i=b,j=cb(d,f,c)+h|0,v[i+4>>2]=j;b=b+12|0;if((e|0)!=(b|0)){continue}break}}v[a+4>>2]=e}return a}Jc();L()}v[b+8>>2]=0;v[b>>2]=0;v[b+4>>2]=0;Jc();L()}function Od(a){var b=0,c=0,d=0,e=0;c=Ma-32|0;Ma=c;a:{b=v[a+24>>2];if(b){if(v[a+36>>2]>=1){d=v[a+28>>2];v[b+8>>2]=d;e=d;d=v[b+4>>2];b=e-d|0;b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);t[c+8|0]=b;t[c+9|0]=b>>>8;t[c+10|0]=b>>>16;t[c+11|0]=b>>>24;b=v[a+16>>2];Qa[v[v[b>>2]+20>>2]](b,d-4|0,0,0)|0;Xp(v[a+16>>2],c+8|0,4);b=v[a+16>>2];Qa[v[v[b>>2]+20>>2]](b,v[a+28>>2],0,0)|0;b=v[a+24>>2]}v[a+32>>2]=v[b+8>>2];d=a;a=v[b>>2];v[d+24>>2]=a;if(w[a+20|0]?0:a){break a}$a(b);Ma=c+32|0;return}lb(mb(c+8|0,276844,241642,398,332754));L()}O(276110,241642,418,262190);L()}function O2a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Ma-80|0;Ma=c;v[c+64>>2]=w[a+24|0];vb(b,51250,c- -64|0);d=w[a+25|0];e=w[a+29|0];v[c+56>>2]=w[a+20|0];v[c+52>>2]=e;v[c+48>>2]=d;vb(b,51669,c+48|0);d=w[a+13|0];v[c+36>>2]=v[a+16>>2];v[c+32>>2]=d;vb(b,52093,c+32|0);d=w[a+26|0];e=w[a+27|0];v[c+24>>2]=w[a+28|0];v[c+20>>2]=e;v[c+16>>2]=d;vb(b,52505,c+16|0);if(!(!(t[a+12|0]&1)|v[a+32>>2]<1)){b=0;while(1){d=(b<<1)+a|0;e=w[d+36|0];v[c+12>>2]=w[d+37|0];v[c+8>>2]=b;v[c+4>>2]=e;v[c>>2]=b;Nb(53045,c);b=b+1|0;if((b|0)>2]){continue}break}}Ma=c+80|0;return 0}function bua(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;f=ab(1072);b=f;v[b>>2]=886776;b=cb(b,a,1072);g=b,h=Pb(v[b+1044>>2],4),v[g+1048>>2]=h;c=v[b+1044>>2];if((c|0)>=1){while(1){c=e<<2;d=v[c+v[a+1048>>2]>>2];d=Qa[v[v[d>>2]+8>>2]](d)|0;v[c+v[b+1048>>2]>>2]=d;e=e+1|0;c=v[b+1044>>2];if((e|0)<(c|0)){continue}break}}c=Pb(c+1|0,8);v[b+1052>>2]=c;cb(c,v[a+1052>>2],(v[b+1044>>2]<<3)+8|0);c=Pb(v[b+1044>>2]<<1,8);v[b+1056>>2]=c;cb(c,v[a+1056>>2],v[b+1044>>2]<<4);c=Pb(v[b+1044>>2],8);v[b+1060>>2]=c;cb(c,v[a+1060>>2],v[b+1044>>2]<<3);v[b+1064>>2]=1;return f|0}function FXa(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,j=0,k=0;if(e){k=e-1|0;a=0;while(1){u[g>>1]=x[f>>1];g=g+2|0;h=a?(a|0)==(k|0)?d:b:c;a:{if(h>>>0<2){break a}j=h-1|0;i=j&7;if(h-2>>>0>=7){h=j&-8;while(1){u[g>>1]=x[f>>1];u[g+2>>1]=x[f>>1];u[g+4>>1]=x[f>>1];u[g+6>>1]=x[f>>1];u[g+8>>1]=x[f>>1];u[g+10>>1]=x[f>>1];u[g+12>>1]=x[f>>1];u[g+14>>1]=x[f>>1];g=g+16|0;h=h-8|0;if(h){continue}break}}if(!i){break a}while(1){u[g>>1]=x[f>>1];g=g+2|0;i=i-1|0;if(i){continue}break}}f=f+2|0;a=a+1|0;if((e|0)!=(a|0)){continue}break}}return 0}function kT(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;e=Ma-16|0;Ma=e;d=v[a+16>>2];if(d){f=a+8|0;while(1){v[e+4>>2]=f;v[e>>2]=d;h=v[d>>2];a=v[d+8>>2];if(a){v[a+4>>2]=v[a+4>>2]+1;a=v[d+8>>2]}else{a=0}a:{if(v[a+44>>2]!=v[b>>2]){break a}d=v[a+60>>2];b:{if(!d){break b}g=a+52|0;i=v[c>>2];while(1){if(v[d+8>>2]!=(i|0)){d=v[d>>2];if(d){continue}break b}break}v[e+12>>2]=g;v[e+8>>2]=d;Ag(g,e+8|0)}if(v[a+56>>2]){break a}Ag(f,e)}d=v[a+4>>2]-1|0;v[a+4>>2]=d;if(!d){d=v[a+4>>2];if(!d){v[a+4>>2]=-32767}if(!d){Qa[v[v[a>>2]+4>>2]](a)}}d=h;if(d){continue}break}}Ma=e+16|0}function Hq(a,b,c,d){var e=0,f=0;e=v[b>>2];if(c){b=v[v[a+36>>2]>>2];if(!(!b|!c)){a:{if(e>>>0>=y[b+16>>2]){break a}a=v[v[v[b+96>>2]+12>>2]+84>>2];if(a){a=Qa[a|0](b,e,1,2051,c)|0;if(!a|(a&255)!=7){break a}}b:{if(!b|!c){break b}a=v[b+16>>2];c:{if(e>>>0>=a>>>0){break c}f=e+1|0;if(f>>>0<1|a>>>0>>0){break c}a=v[v[v[b+96>>2]+12>>2]+84>>2];if(a){a=Qa[a|0](b,e,1,2051,c)|0;if(!a){break b}if((a&255)!=7){break c}}a=0;while(1){if(Am(b,a+e|0,2307)){break c}v[(a<<2)+c>>2]=v[v[b+84>>2]+64>>2];a=a+1|0;if((a|0)!=1){continue}break}}}}}}if(d){v[d>>2]=0}return e}function _J(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;v[a+8>>2]=0;v[a>>2]=0;v[a+4>>2]=0;c=v[b+4>>2]-v[b>>2]|0;d=(c|0)/12|0;a:{b:{if(c){if(d>>>0>=357913942){break b}c=ab(c);v[a>>2]=c;v[a+4>>2]=c;v[a+8>>2]=B(d,12)+c;e=v[b>>2];g=v[b+4>>2];if((e|0)!=(g|0)){while(1){v[c+8>>2]=0;v[c>>2]=0;v[c+4>>2]=0;d=v[e+4>>2]-v[e>>2]|0;if(d){if((d|0)<=-1){break a}b=ab(d);v[c>>2]=b;v[c+4>>2]=b;v[c+8>>2]=b+(d>>3<<3);d=c;h=v[e>>2];f=v[e+4>>2]-h|0;if((f|0)>=1){b=cb(b,h,f)+f|0}v[d+4>>2]=b}c=c+12|0;e=e+12|0;if((g|0)!=(e|0)){continue}break}}v[a+4>>2]=c}return a}Jc();L()}Jc();L()}function zK(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=Ma-16|0;Ma=g;a:{if(!a|(b|0)<0|((c|0)<0|(d|0)<0)){break a}if((e|0)<0){break a}h=g+12|0;i=g+8|0;j=g+4|0;if(a){if(h){v[h>>2]=v[a>>2]}if(i){v[i>>2]=v[a+4>>2]}if(j){v[j>>2]=v[a+8>>2]}}h=v[g+12>>2]+b|0;k=h+c|0;i=v[g+8>>2]+d|0;l=i+e|0;j=CK(k,l,v[g+4>>2]);if(!j){break a}f=j;if(!(!a|!f|(a|0)==(f|0))){v[f+20>>2]=v[a+20>>2];v[f+24>>2]=v[a+24>>2]}KB(f,a);fe(f,0,0,b,l,0,0,0,0);fe(f,h,0,c,l,0,0,0,0);fe(f,0,0,k,d,0,0,0,0);fe(f,0,i,k,e,0,0,0,0);fe(f,b,d,v[g+12>>2],v[g+8>>2],24,a,0,0)}Ma=g+16|0;return f}function uFa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{if(w[a+64|0]){break a}t[a+64|0]=1;e=v[a+20>>2];b:{if(w[a+65|0]){d=v[a+12>>2];if((u[d+20>>1]+u[d+56>>1]|0)+1>>>0>y[d+8>>2]){d=Ch(d,0,1);if(d){break a}}f=x[e>>1];d=f<<16>>16;if((d|0)<1){break b}u[(v[e+12>>2]+(f<<1)|0)-2>>1]=x[e+2>>1]-1}d=x[e>>1]}u[e>>1]=d+1;d=v[a+12>>2];if((u[d+22>>1]+u[d+58>>1]|0)+1>>>0>y[d+4>>2]){d=Ch(d,1,0);if(d){break a}}d=v[a+20>>2];if(w[a+65|0]){a=v[d+8>>2];e=u[d+2>>1];f=v[d+4>>2]+(e<<3)|0;v[f+4>>2]=c>>10;v[f>>2]=b>>10;t[a+e|0]=1}u[d+2>>1]=x[d+2>>1]+1;d=0}return d|0}function d1(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=C(0),j=0,k=0,l=C(0),m=C(0),n=C(0),o=0;k=v[a+12>>2];if(!k){return 0}Qa[v[v[k>>2]+76>>2]](k,b,c,d,A[e>>3],0,0)|0;i=C(A[b>>3]);l=C(A[c>>3]);m=C(A[d>>3]);n=C(A[e>>3]);a=a+16|0;A[a- -64>>3]=0;A[a+56>>3]=0;A[a+48>>3]=n;A[a+40>>3]=m;A[a+32>>3]=l;A[a+24>>3]=i;i=C(C(i*n)-C(l*m));j=+i;h=1/j;h=i-.001?-1e3:h:h;A[a+72>>3]=i>=C(0)?j<.001?1e3:h:h;j=A[a+72>>3];h=+C(A[f>>3]);o=+C(A[g>>3]);z[a>>2]=j*(A[a+48>>3]*h-A[a+40>>3]*o);z[a+4>>2]=j*(A[a+24>>3]*o-A[a+32>>3]*h);return 1}function KCa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=v[b>>2];if((d|0)==-1){return 0}a=v[a+16>>2];c=w[a+12|0]|w[a+13|0]<<8|(w[a+14|0]<<16|w[a+15|0]<<24);f=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=d+1|0;c=c>>>0>>0?f:c;d=c-f|0;e=w[a+16|0]|w[a+17|0]<<8|(w[a+18|0]<<16|w[a+19|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(d>>>0>=e>>>0){v[b>>2]=c;return 0}f=e+f|0;a=(a+(d<<1)|0)+20|0;while(1){g=w[a+1|0]|w[a|0]<<8;if(g){v[b>>2]=c;return g|0}if((c|0)==-1){return 0}a=a+2|0;c=c+1|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}v[b>>2]=f;return 0}function qA(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=Ma-16|0;Ma=h;a:{if((e|0)<1){break a}i=e&3;if(e-1>>>0>=3){j=e&-4;while(1){g=h+8|0;t[g+f|0]=c;t[(f|1)+g|0]=(d&255)<<24|c>>>8;t[(f|2)+g|0]=(d&65535)<<16|c>>>16;l=(f|3)+g|0;g=d>>>24|0;k=(d&16777215)<<8|c>>>24;t[l|0]=k;f=f+4|0;c=d;d=0;j=j-4|0;if(j){continue}break}}if(i){while(1){g=d;k=c;t[(h+8|0)+f|0]=c;f=f+1|0;c=(d&255)<<24|c>>>8;d=d>>>8|0;i=i-1|0;if(i){continue}break}}if(!g&k>>>0<256|(e|0)<1){break a}eb(h+8|0,255,e)}a=Qa[v[a+8>>2]](v[a+28>>2],b,h+8|0,e)|0;Ma=h+16|0;return(a|0)!=(e|0)?-1:0}function dw(a,b,c,d){var e=0;e=Ma-96|0;Ma=e;a=fI(a,e+8|0,0,c,d);if(!(a|!b)){v[b>>2]=v[e+8>>2];v[b+4>>2]=v[e+12>>2];v[b+8>>2]=v[e+16>>2];v[b+12>>2]=v[e+20>>2];v[b+16>>2]=v[e+24>>2];v[b+20>>2]=v[e+28>>2];v[b+32>>2]=v[e+48>>2];v[b+36>>2]=v[e+52>>2];v[b+40>>2]=v[e+56>>2];v[b+44>>2]=v[e+60>>2];v[b+48>>2]=v[e+64>>2];v[b+52>>2]=v[e+68>>2];c=v[e+76>>2];v[b+56>>2]=v[e+72>>2];v[b+60>>2]=c;d=v[e+84>>2];c=b- -64|0;v[c>>2]=v[e+80>>2];v[c+4>>2]=d;c=v[e+92>>2];v[b+72>>2]=v[e+88>>2];v[b+76>>2]=c;v[b+24>>2]=v[e+32>>2];v[b+28>>2]=v[e+40>>2]}Ma=e+96|0;return a}function ZJ(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;v[a+8>>2]=0;v[a>>2]=0;v[a+4>>2]=0;c=v[b+4>>2]-v[b>>2]|0;d=(c|0)/12|0;a:{b:{if(c){if(d>>>0>=357913942){break b}c=ab(c);v[a>>2]=c;v[a+4>>2]=c;v[a+8>>2]=B(d,12)+c;e=v[b>>2];g=v[b+4>>2];if((e|0)!=(g|0)){while(1){v[c+8>>2]=0;v[c>>2]=0;v[c+4>>2]=0;d=v[e+4>>2]-v[e>>2]|0;if(d){if((d|0)<=-1){break a}b=ab(d);v[c>>2]=b;v[c+4>>2]=b;v[c+8>>2]=b+(d>>2<<2);d=c;h=v[e>>2];f=v[e+4>>2]-h|0;if((f|0)>=1){b=cb(b,h,f)+f|0}v[d+4>>2]=b}c=c+12|0;e=e+12|0;if((g|0)!=(e|0)){continue}break}}v[a+4>>2]=c}return}Jc();L()}Jc();L()}function S9(a,b){a=a|0;b=b|0;var c=0,d=0;d=Ma-16|0;Ma=d;if((b&-2)==34676){a:{if(!Pl(a,84128,2)){wb(v[a+628>>2],84104,10413,0);a=0;break a}c=gb(32);v[a+584>>2]=c;if(c){Hf(c,0,32);v[c+20>>2]=447;v[c+4>>2]=(b|0)==34677;v[c>>2]=-1;v[a+556>>2]=448;v[a+548>>2]=449;v[a+516>>2]=450;v[a+572>>2]=451;v[a+564>>2]=452;v[a+560>>2]=453;v[a+552>>2]=454;v[a+524>>2]=455;v[c+24>>2]=v[a+672>>2];v[a+672>>2]=456;v[c+28>>2]=v[a+668>>2];v[a+668>>2]=457;a=1;break a}b=v[a+628>>2];v[d>>2]=v[a>>2];wb(b,84104,13159,d);a=0}Ma=d+16|0;return a|0}O(3027,6284,1567,84104);L()}function Ica(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;a=Ma-32|0;Ma=a;u[a+28>>1]=w[1004069]|w[1004070]<<8;v[a+24>>2]=w[1004065]|w[1004066]<<8|(w[1004067]<<16|w[1004068]<<24);g=a+24|0;$n(g|1,261568,1,v[c+4>>2]);h=v[c+4>>2];f=a-16|0;Ma=f;i=te();v[a>>2]=e;i=Ih(f,(h>>>9&1)+13|0,i,g,a)+f|0;j=tj(f,i,c);g=f-32|0;Ma=g;e=a+8|0;h=v[c+28>>2];v[e>>2]=h;v[h+4>>2]=v[h+4>>2]+1;Ax(f,j,i,g,a+20|0,a+16|0,e);e=v[e>>2];f=v[e+4>>2]-1|0;v[e+4>>2]=f;if((f|0)==-1){Qa[v[v[e>>2]+8>>2]](e)}b=Xm(b,g,v[a+20>>2],v[a+16>>2],c,d);Ma=a+32|0;return b|0}function AMa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=+v[a>>2]*.015625;g=+v[a+4>>2]*.015625;a=v[b>>2];c=v[a+16>>2];if((c|0)!=v[a+24>>2]){c=(c+v[a+12>>2]|0)-1|0;t[c|0]=w[c|0]&253;c=v[a+20>>2];d=v[a+16>>2];a:{if((c|0)>(d|0)){c=v[a+12>>2];break a}if(!c){v[a+20>>2]=32;c=32}if((c|0)<=(d|0)){while(1){c=c<<1;if((d|0)>=(c|0)){continue}break}v[a+20>>2]=c}h=a,i=Wd(v[a+8>>2],c<<4),v[h+8>>2]=i;c=Wd(v[a+12>>2],v[a+20>>2]);v[a+12>>2]=c;d=v[a+16>>2]}e=v[a+8>>2]+(d<<4)|0;A[e+8>>3]=g;A[e>>3]=f;t[c+d|0]=2;v[a+16>>2]=v[a+16>>2]+1}v[b+4>>2]=1;return 0}function cta(a,b,c){a=a|0;b=b|0;c=c|0;DG(v[a+28>>2],v[b>>2]==1?+v[b+8>>2]:A[b+8>>3],v[b+16>>2]==1?+v[b+24>>2]:A[b+24>>3],v[b+32>>2]==1?+v[b+40>>2]:A[b+40>>3],v[b+48>>2]==1?+v[b+56>>2]:A[b+56>>3],v[b+64>>2]==1?+v[b+72>>2]:A[b+72>>3],v[b+80>>2]==1?+v[b+88>>2]:A[b+88>>3]);c=v[a+8>>2];Qa[v[v[c>>2]+76>>2]](c,v[a+28>>2],v[b>>2]==1?+v[b+8>>2]:A[b+8>>3],v[b+16>>2]==1?+v[b+24>>2]:A[b+24>>3],v[b+32>>2]==1?+v[b+40>>2]:A[b+40>>3],v[b+48>>2]==1?+v[b+56>>2]:A[b+56>>3],v[b+64>>2]==1?+v[b+72>>2]:A[b+72>>3],v[b+80>>2]==1?+v[b+88>>2]:A[b+88>>3]);v[a+32>>2]=1}function L1a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=v[a+52>>2];if(v[a+4>>2]==16){c=v[v[a+44>>2]+88>>2]+B(v[a+8>>2],1876)|0}else{c=v[a+36>>2]}e=v[a+40>>2];Qa[v[v[b>>2]+20>>2]](b,2)|0;g=c,h=Qa[v[v[b>>2]+20>>2]](b,1)|0,v[g+4>>2]=h;g=c,h=Qa[v[v[b>>2]+20>>2]](b,1)|0,v[g+8>>2]=h;g=c,h=Qa[v[v[b>>2]+20>>2]](b,2)|0,v[g+12>>2]=h;g=c,h=Qa[v[v[b>>2]+20>>2]](b,1)|0,v[g+16>>2]=h;f=Qa[v[v[b>>2]+36>>2]](b)|0;if(v[e+16>>2]>0){while(1){v[v[c+1872>>2]+B(d,1076)>>2]=v[c+4>>2]&1;Qa[v[v[b>>2]+28>>2]](b,f);$4(a,d);d=d+1|0;if((d|0)>2]){continue}break}}}function Ewa(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,h=0,i=0,j=0;g=v[v[a+4>>2]>>2];if(g){i=b+1|0;b=v[v[oq(v[g+28>>2],i)+12>>2]+168>>2];g=(b-((b|0)<359?b:359)|0)+359|0;g=g-((g>>>0)%360|0)|0;h=b-g|0;j=(g+((h|0)>0?h:0)|0)-b|0;h=(j|0)!=0;b=(B(h+((j-h>>>0)/360|0)|0,360)+b|0)-g|0;a:{if(!((b|0)==180|!b)){b=d;d=c;break a}b=c}c=b;b=v[oq(v[v[v[a+4>>2]>>2]+28>>2],i)+12>>2];A[c>>3]=A[b+48>>3]-A[b+32>>3];a=v[oq(v[v[v[a+4>>2]>>2]+28>>2],i)+12>>2];A[d>>3]=A[a+56>>3]-A[a+40>>3];v[e>>2]=0;v[e+4>>2]=1079115776;v[f>>2]=0;v[f+4>>2]=1079115776}}function NEa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=v[v[a+4>>2]+712>>2];a:{b:{if(!v[d+2024>>2]){d=d+1372|0;break b}e=Qa[v[v[d+3088>>2]+8>>2]](d+3052|0,c)|0;c=3;if(e>>>0>=y[d+2024>>2]){break a}d=v[(d+(e<<2)|0)+2028>>2];if(!v[a+68>>2]|!b){break b}v[a+72>>2]=v[(v[v[b+40>>2]>>2]+(e<<2)|0)+4>>2]}b=v[d+620>>2];v[a+728>>2]=b;v[a+744>>2]=v[d+644>>2];c=0;e=a;f=0;c:{if(v[v[a+108>>2]+1416>>2]==1){break c}f=107;if(b>>>0<1240){break c}f=b>>>0<33900?1131:32768}v[e+736>>2]=f;v[a+584>>2]=v[d+540>>2];b=v[d+544>>2];v[a+768>>2]=d;v[a+588>>2]=b}return c|0}function L$a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=v[a+224>>2];a:{if(!c){break a}b=v[a+644>>2];e=Qa[c|0](a,v[a+680>>2]+v[a+572>>2]|0)|0;d=v[a+660>>2];f=v[a+656>>2];c=d-f|0;if((c|0)<1){break a}a=e+B(v[a+672>>2],3)|0;if(d-f&1){t[b|0]=w[a|0];t[b+1|0]=w[a+1|0];e=w[a+2|0];t[b+3|0]=0;t[b+2|0]=e;c=c-1|0;b=b+4|0;a=a+3|0}if((d|0)==(f+1|0)){break a}while(1){t[b|0]=w[a|0];t[b+1|0]=w[a+1|0];d=w[a+2|0];t[b+3|0]=0;t[b+2|0]=d;t[b+4|0]=w[a+3|0];t[b+5|0]=w[a+4|0];d=w[a+5|0];t[b+7|0]=0;t[b+6|0]=d;a=a+6|0;b=b+8|0;d=(c|0)>2;c=c-2|0;if(d){continue}break}}return 0}function K$a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=v[a+224>>2];a:{if(!c){break a}b=v[a+644>>2];e=Qa[c|0](a,v[a+680>>2]+v[a+572>>2]|0)|0;d=v[a+660>>2];f=v[a+656>>2];c=d-f|0;if((c|0)<1){break a}a=e+B(v[a+672>>2],3)|0;if(d-f&1){t[b|0]=w[a+2|0];t[b+1|0]=w[a+1|0];e=w[a|0];t[b+3|0]=0;t[b+2|0]=e;c=c-1|0;b=b+4|0;a=a+3|0}if((d|0)==(f+1|0)){break a}while(1){t[b|0]=w[a+2|0];t[b+1|0]=w[a+1|0];d=w[a|0];t[b+3|0]=0;t[b+2|0]=d;t[b+4|0]=w[a+5|0];t[b+5|0]=w[a+4|0];d=w[a+3|0];t[b+7|0]=0;t[b+6|0]=d;a=a+6|0;b=b+8|0;d=(c|0)>2;c=c-2|0;if(d){continue}break}}return 0}function J$a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=v[a+224>>2];a:{if(!c){break a}b=v[a+644>>2];e=Qa[c|0](a,v[a+680>>2]+v[a+572>>2]|0)|0;d=v[a+660>>2];f=v[a+656>>2];c=d-f|0;if((c|0)<1){break a}a=e+B(v[a+672>>2],3)|0;if(d-f&1){t[b|0]=w[a+2|0];t[b+1|0]=w[a+1|0];e=w[a|0];t[b+3|0]=0;t[b+2|0]=e;c=c-1|0;b=b+4|0;a=a+4|0}if((d|0)==(f+1|0)){break a}while(1){t[b|0]=w[a+2|0];t[b+1|0]=w[a+1|0];d=w[a|0];t[b+3|0]=0;t[b+2|0]=d;t[b+4|0]=w[a+6|0];t[b+5|0]=w[a+5|0];d=w[a+4|0];t[b+7|0]=0;t[b+6|0]=d;a=a+8|0;b=b+8|0;d=(c|0)>2;c=c-2|0;if(d){continue}break}}return 0}function pta(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;c=Ma-32|0;Ma=c;f=v[b+8>>2];e=v[a+20>>2];a:{while(1){d=v[e+4>>2];if(d){d=FG(d,f);if(d){break a}}e=v[e+104>>2];if(e){continue}break}v[c+16>>2]=f;fb(1,-1,336200,c+16|0);d=0}b:{if(!d){a=v[a+28>>2];v[a+496>>2]=0;v[a+500>>2]=0;v[a+492>>2]=0;break b}g=v[b+16>>2]==1?+v[b+24>>2]:A[b+24>>3];if(v[a+16>>2]){e=v[v[d+4>>2]+4>>2];b=v[d+16>>2];if(b){b=v[b+4>>2]}else{b=313241}A[c+8>>3]=g;v[c+4>>2]=b;v[c>>2]=e;mx(342378,c);$i(v[249421])}b=v[a+28>>2];A[b+496>>3]=g;v[b+492>>2]=d;v[a+32>>2]=1}Ma=c+32|0}function ABa(){var a=0;a=v[290918];if(a){iZ(a);v[290918]=0}v[290919]=0;a=v[290908];a:{if(!a){break a}Gg(a);v[290908]=0;a=v[290909];if(!a){break a}Gg(a);v[290909]=0;a=v[290910];if(!a){break a}Gg(a);v[290910]=0;a=v[290911];if(!a){break a}Gg(a);v[290911]=0;a=v[290912];if(!a){break a}Gg(a);v[290912]=0;a=v[290913];if(!a){break a}Gg(a);v[290913]=0;a=v[290914];if(!a){break a}Gg(a);v[290914]=0;a=v[290915];if(!a){break a}Gg(a);v[290915]=0;a=v[290916];if(!a){break a}Gg(a);v[290916]=0;a=v[290917];if(!a){break a}Gg(a);v[290917]=0}v[290921]=0;return 1}function yK(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(!a){return 0}if(!b){if(a){v[a+16>>2]=v[a+16>>2]+1}return a}g=b;d=Ma-16|0;Ma=d;c=b;a:{if(!a|(c|0)<0|((c|0)<0|(c|0)<0)){break a}if((c|0)<0){break a}e=d+12|0;f=d+8|0;h=d+4|0;if(a){if(e){v[e>>2]=v[a>>2]}if(f){v[f>>2]=v[a+4>>2]}if(h){v[h>>2]=v[a+8>>2]}}e=v[d+12>>2]-(b+b|0)|0;if((e|0)<1){break a}f=v[d+8>>2]-(c+g|0)|0;if((f|0)<1){break a}c=CK(e,f,v[d+4>>2]);if(!c){break a}if(!(!a|!c|(a|0)==(c|0))){v[c+20>>2]=v[a+20>>2];v[c+24>>2]=v[a+24>>2]}KB(c,a);fe(c,0,0,e,f,24,a,b,g);i=c}Ma=d+16|0;return i}function wca(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;a=Ma-32|0;Ma=a;u[a+28>>1]=w[1004069]|w[1004070]<<8;v[a+24>>2]=w[1004065]|w[1004066]<<8|(w[1004067]<<16|w[1004068]<<24);g=a+24|0;$n(g|1,261568,0,v[c+4>>2]);h=v[c+4>>2];f=a-16|0;Ma=f;i=te();v[a>>2]=e;i=Ih(f,h>>>9&1|12,i,g,a)+f|0;j=tj(f,i,c);g=f-96|0;Ma=g;e=a+8|0;h=v[c+28>>2];v[e>>2]=h;v[h+4>>2]=v[h+4>>2]+1;yx(f,j,i,g,a+20|0,a+16|0,e);e=v[e>>2];f=v[e+4>>2]-1|0;v[e+4>>2]=f;if((f|0)==-1){Qa[v[v[e>>2]+8>>2]](e)}b=Wm(b,g,v[a+20>>2],v[a+16>>2],c,d);Ma=a+32|0;return b|0}function q_(a,b,c){var d=0,e=0,f=0;a:{if(w[a+44|0]){break a}t[a+44|0]=1;e=v[a+20>>2];if(!e){return 3}b:{if(w[a+45|0]){d=v[a+12>>2];if((u[d+20>>1]+u[d+56>>1]|0)+1>>>0>y[d+8>>2]){d=Ch(d,0,1);if(d){break a}}f=x[e>>1];d=f<<16>>16;if((d|0)<1){break b}u[(v[e+12>>2]+(f<<1)|0)-2>>1]=x[e+2>>1]-1}d=x[e>>1]}u[e>>1]=d+1;d=v[a+12>>2];if((u[d+22>>1]+u[d+58>>1]|0)+1>>>0>y[d+4>>2]){d=Ch(d,1,0);if(d){break a}}d=v[a+20>>2];if(w[a+45|0]){a=v[d+8>>2];e=u[d+2>>1];f=v[d+4>>2]+(e<<3)|0;v[f+4>>2]=c>>10;v[f>>2]=b>>10;t[a+e|0]=1}u[d+2>>1]=x[d+2>>1]+1;d=0}return d}function Fca(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;a=Ma-32|0;Ma=a;u[a+28>>1]=w[1004069]|w[1004070]<<8;v[a+24>>2]=w[1004065]|w[1004066]<<8|(w[1004067]<<16|w[1004068]<<24);g=a+24|0;$n(g|1,261568,0,v[c+4>>2]);h=v[c+4>>2];f=a-16|0;Ma=f;i=te();v[a>>2]=e;i=Ih(f,h>>>9&1|12,i,g,a)+f|0;j=tj(f,i,c);g=f-32|0;Ma=g;e=a+8|0;h=v[c+28>>2];v[e>>2]=h;v[h+4>>2]=v[h+4>>2]+1;Ax(f,j,i,g,a+20|0,a+16|0,e);e=v[e>>2];f=v[e+4>>2]-1|0;v[e+4>>2]=f;if((f|0)==-1){Qa[v[v[e>>2]+8>>2]](e)}b=Xm(b,g,v[a+20>>2],v[a+16>>2],c,d);Ma=a+32|0;return b|0}function gS(a,b,c,d,e,f){var g=0,h=0;g=Ma-16|0;Ma=g;v[a+12>>2]=0;v[a+8>>2]=b;v[a>>2]=971668;v[a+4>>2]=0;v[a+16>>2]=v[279250];h=a+12|0;b=v[c>>2];a:{if(b){Qa[v[v[b>>2]+28>>2]](g+8|0,b,1);break a}v[g+8>>2]=0}jb(h,g+8|0);c=v[g+8>>2];b=0;v[g+8>>2]=0;b:{if(!c){break b}h=v[c+4>>2]-1|0;v[c+4>>2]=h;if(h){break b}h=v[c+4>>2];if(!h){v[c+4>>2]=-32767}if(!h){Qa[v[v[c>>2]+4>>2]](c)}}c=v[a+12>>2];c=v[(c?c+12|0:1117e3)>>2];v[a+20>>2]=d;v[a+16>>2]=c;ze(a+24|0,e);c=v[f>>2];if(c){v[c+4>>2]=v[c+4>>2]+1;b=v[f>>2]}v[a+64>>2]=0;v[a+60>>2]=b;Ma=g+16|0;return a}function Hia(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;f=Ma-32|0;Ma=f;v[f+24>>2]=0;v[f+28>>2]=0;v[f+16>>2]=0;v[f+20>>2]=0;e=f+16|0;i=e;v[e>>2]=970612;v[e+4>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;hl(b,c,e,1);v[a>>2]=0;b=v[f+24>>2];a:{if(!b){break a}while(1){e=f+8|0;h=v[b+8>>2];Qa[v[v[h>>2]+16>>2]](e,h,c,d);h=v[jb(a,e)>>2];e=v[f+8>>2];v[f+8>>2]=0;b:{if(!e){break b}g=v[e+4>>2]-1|0;v[e+4>>2]=g;if(g){break b}g=v[e+4>>2];if(!g){v[e+4>>2]=-32767}if(!g){Qa[v[v[e>>2]+4>>2]](e)}}if(h){break a}b=v[b>>2];if(b){continue}break}}ac(i);Ma=f+32|0}function Gia(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;f=Ma-32|0;Ma=f;v[f+24>>2]=0;v[f+28>>2]=0;v[f+16>>2]=0;v[f+20>>2]=0;e=f+16|0;i=e;v[e>>2]=970612;v[e+4>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;hl(b,c,e,1);v[a>>2]=0;b=v[f+24>>2];a:{if(!b){break a}while(1){e=f+8|0;h=v[b+8>>2];Qa[v[v[h>>2]+20>>2]](e,h,c,d);h=v[jb(a,e)>>2];e=v[f+8>>2];v[f+8>>2]=0;b:{if(!e){break b}g=v[e+4>>2]-1|0;v[e+4>>2]=g;if(g){break b}g=v[e+4>>2];if(!g){v[e+4>>2]=-32767}if(!g){Qa[v[v[e>>2]+4>>2]](e)}}if(h){break a}b=v[b>>2];if(b){continue}break}}ac(i);Ma=f+32|0}function zA(a,b){var c=0,d=0,e=0,f=0,g=0;a:{if(v[b>>2]>0){break a}f=lZ(v[a+16>>2],836008,v[a+20>>2],2477,b);if(v[b>>2]>0){break a}e=eZ(f);b:{if(v[b>>2]>0){break b}d=13;c:{c=t[e+69|0];d:{if((c&65534)>>>0>33|((c&63)>>>0>=32?0:515>>>c|0)&1){break d}c=v[(c<<2)+835872>>2];if(!w[c+17|0]|v[c+4>>2]!=1|v[e>>2]!=100){break d}d=Fg(228);if(d){break c}d=7}v[b>>2]=d;break b}c=cb(d,c,228);t[c+16|0]=0;v[c+12>>2]=e;v[c+8>>2]=f;g=v[v[c+20>>2]+4>>2];if(g){Qa[g|0](c,a,v[e>>2]+e|0,b);if(v[b>>2]<1){break a}Nd(c);d=0}if(v[b>>2]<1){break a}}Gg(f);d=0}return d}function pKa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=v[b+92>>2];v[a+40>>2]=x[b+68>>1];a:{if(lB(b)){v[b+92>>2]=0;break a}E$(a,b);c=Ma-48|0;Ma=c;v[c+44>>2]=0;v[c+32>>2]=v[108420];d=v[108419];v[c+24>>2]=v[108418];v[c+28>>2]=d;d=v[108417];v[c+16>>2]=v[108416];v[c+20>>2]=d;e=c+16|0;g=a;b:{while(1){e=Iq(e,a,c+40|0,c+12|0);c:{if(y[c+12>>2]>1){break c}if(!Hq(a,c+40|0,c+44|0,0)){break c}i=h;h=1;d=v[c+44>>2];if(!i){j=d;break c}if((d|0)==(j|0)){break c}a=0;break b}if(w[e|0]){continue}break}a=1}t[g+32|0]=a;Ma=c+48|0}Nq(b,f);return 0}function Sb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=a;a:{b:{c:{if((e^b)&3){break c}d=(c|0)!=0;d:{if(!(b&3)|!c){break d}while(1){d=w[b|0];t[e|0]=d;if(!d){break a}e=e+1|0;c=c-1|0;d=(c|0)!=0;b=b+1|0;if(!(b&3)){break d}if(c){continue}break}}if(!d){break b}if(!w[b|0]){break a}if(c>>>0<4){break c}while(1){d=v[b>>2];if((d^-1)&d-16843009&-2139062144){break c}v[e>>2]=d;e=e+4|0;b=b+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(!c){break b}while(1){d=w[b|0];t[e|0]=d;if(!d){break a}e=e+1|0;b=b+1|0;c=c-1|0;if(c){continue}break}}c=0}eb(e,0,c);return a|0}function xha(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;f=(c|0)/2|0;v[a+104>>2]=f;d=(b|0)/2|0;v[a+100>>2]=d;e=v[a+124>>2];g=e+b|0;v[a+132>>2]=g;b=c;c=v[a+128>>2];b=b+c|0;v[a+136>>2]=b;b=(b+c|0)/2|0;c=(e+g|0)/2|0;a:{if((d|0)>(f|0)){g=c;h=K(+(B(d,d)-B(f,f)|0));b:{if(D(h)<2147483648){e=~~h;break b}e=-2147483648}j=g-e|0;c=c+e|0;g=f;e=b;break a}h=K(+(B(f,f)-B(d,d)|0));c:{if(D(h)<2147483648){i=~~h;break c}i=-2147483648}e=i+b|0;g=d;d=f;j=c;b=b-i|0}v[a+120>>2]=b;v[a+116>>2]=j;v[a+108>>2]=c;v[a+92>>2]=d;v[a+96>>2]=g;v[a+112>>2]=e}function hKa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=Ma-16|0;Ma=e;c=v[a>>2];a:{b:{if(w[c+8|0]&2){d=Qa[v[v[c+540>>2]+104>>2]](c,b,e+12|0)|0;if(!d){c=v[e+12>>2];v[a+116>>2]=c;b=v[a>>2];if(t[b+8|0]&1){Cl(b,c);d=0;YA(a,0);break a}d=Qa[v[v[b+540>>2]+108>>2]](b,c,a+12|0)|0;if(!d){break b}v[a+116>>2]=-1;break a}v[a+116>>2]=-1;c=v[a>>2]}Oq(c,b);if(!(t[v[a>>2]+8|0]&1)){break a}d=YA(a,0);if(d){break a}c=a;d=x[a+84>>1];a=v[a+44>>2];a=v[(x[a>>1]>x[a+2>>1]?12:16)+b>>2];f=c,g=fc(d,4608,v[b>>2]!=4?a?a:72:72),v[f+120>>2]=g}d=0}Ma=e+16|0;return d|0}function _wa(a){a=a|0;var b=0,c=0,d=0,e=0;d=Ma-16|0;Ma=d;b=Qa[v[256552]](56)|0;a:{if(!b){v[d>>2]=290868;b=0;nb(0,0,0,0,0,23,2,3,290868,0,0,0,340689,d);break a}v[b>>2]=0;v[b+4>>2]=0;v[b+48>>2]=0;v[b+52>>2]=0;v[b+40>>2]=0;v[b+44>>2]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b+4>>2]=15;v[b+36>>2]=v[a+36>>2];e=b;c=v[a+8>>2];if(c){c=Sd(c)}else{c=0}v[e+8>>2]=c;e=b;c=v[a+48>>2];if(c){c=Sd(c)}else{c=0}v[e+48>>2]=c;a=Gv(0,v[a+40>>2]);v[b+44>>2]=0;v[b+40>>2]=a}Ma=d+16|0;return b|0}function SIa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=Ma-16|0;Ma=e;a=v[a+532>>2];a:{if(!a){f=6;break a}UA(v[a+136>>2],e,v[a+4>>2]);d=v[a+4>>2];a=b>>>0>d>>>0?d:b;if(a){cb(c,e,a<<2)}if(b>>>0<=d>>>0){break a}g=(a^-1)+b|0;d=b-a&7;if(d){while(1){v[(a<<2)+c>>2]=32768;a=a+1|0;d=d-1|0;if(d){continue}break}}if(g>>>0<7){break a}while(1){d=(a<<2)+c|0;v[d>>2]=32768;v[d+4>>2]=32768;v[d+24>>2]=32768;v[d+28>>2]=32768;v[d+16>>2]=32768;v[d+20>>2]=32768;v[d+8>>2]=32768;v[d+12>>2]=32768;a=a+8|0;if((b|0)!=(a|0)){continue}break}}Ma=e+16|0;return f|0}function K$(a,b){var c=0,d=0,e=0,f=0;a=B(b,1348)+a|0;c=v[a+52>>2];a=v[a+44>>2];f=c+B(a,44)|0;a:{if(b){if((a|0)<=0){break a}while(1){b=v[c+12>>2];if(b){a=c+36|0;d=v[b+8>>2];e=v[c+40>>2];while(1){b=v[a>>2];v[b+20>>2]=d;u[b>>1]=x[b>>1]|8;a=b+32|0;if((b|0)!=(e|0)){continue}break}}c=c+44|0;if(f>>>0>c>>>0){continue}break}break a}if((a|0)<1){break a}while(1){b=v[c+12>>2];if(b){a=c+36|0;d=v[b+8>>2];e=v[c+40>>2];while(1){b=v[a>>2];v[b+16>>2]=d;u[b>>1]=x[b>>1]|4;a=b+32|0;if((b|0)!=(e|0)){continue}break}}c=c+44|0;if(f>>>0>c>>>0){continue}break}}}function $J(a,b,c,d,e,f){a:{b:{if((f|0)==255){if(!e){break b}if((e|0)==255){break a}f=b;b=w[a+2|0];t[a+2|0]=B(f-b|0,e)+(b<<8)>>>8;b=w[a+1|0];t[a+1|0]=B(c-b|0,e)+(b<<8)>>>8;b=w[a+3|0];t[a+3|0]=b+e-(B(b,e)+255>>>8);b=a;a=w[a|0];t[b|0]=B(d-a|0,e)+(a<<8)>>>8;return}if(!e){break b}e=B(f+1|0,e)>>>8|0;if((e|0)==255){break a}f=b;b=w[a+2|0];t[a+2|0]=B(e,f-b|0)+(b<<8)>>>8;b=w[a+1|0];t[a+1|0]=B(e,c-b|0)+(b<<8)>>>8;b=w[a+3|0];t[a+3|0]=b+e-(B(b,e)+255>>>8);b=a;a=w[a|0];t[b|0]=B(e,d-a|0)+(a<<8)>>>8}return}t[a+1|0]=c;t[a+2|0]=b;t[a+3|0]=255;t[a|0]=d}function uA(a,b){var c=0;if(a-192>>>0<=127){v[b>>2]=192;return 249}if(a-592>>>0<128){v[b>>2]=592;return 250}if(a-880>>>0<128){v[b>>2]=880;return 251}if(a-1328>>>0<128){v[b>>2]=1328;return 252}if(a-12352>>>0<128){v[b>>2]=12352;return 253}if(a-12448>>>0<128){v[b>>2]=12448;return 254}if(a-65376>>>0<128){v[b>>2]=65376;return 255}c=-1;a:{if(a>>>0<128){break a}if(!(!(a-118784>>>0<12288|a>>>0<13312)&(a&-16384)!=65536)){v[b>>2]=a&2147483520;return a>>>7|0}if((a|0)==65279|a-57344>>>0>8175){break a}v[b>>2]=a&2147483520;c=a-44032>>>7|0}return c}function cUa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;if(v[c>>2]!=1396790853){ob(a,2050,0,0);return 2050}t[b+32|0]=w[c+32|0];t[b+33|0]=w[c+33|0];d=v[c+36>>2];v[b+36>>2]=d;a:{b:{if(!d){break b}d=B(d,36);e=Qa[v[a+152>>2]](d)|0;v[b+40>>2]=e;if(!e){break a}cb(e,v[c+40>>2],d);d=v[b+36>>2];if(!d){break b}c=v[b+40>>2];while(1){e=v[c+28>>2];c:{if(e){d=v[c+32>>2];e=Qa[v[a+152>>2]](e)|0;v[c+32>>2]=e;if(!e){break a}cb(e,d,v[c+28>>2]);d=v[b+36>>2];break c}v[c+32>>2]=0}c=c+36|0;f=f+1|0;if(f>>>0>>0){continue}break}}return 0}ob(a,1,0,0);return 1}function E2a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=a+16|0;f=c;g=v[a+4>>2];d=a+12|0;h=d;a:{b:{c:{if(y[b>>2]<=256){d=v[c+8>>2];b=0;if(d&7){break b}b=v[c+64>>2];d:{if(!((b|0)<0|(b|0)>v[c+60>>2])){v[c+8>>2]=d|4;break d}b=v[c+28>>2];v[c+28>>2]=b-1;if((b|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=v[c+24>>2];v[c+24>>2]=b+1;b=w[b|0];break c}b=Eb(c,1);if((b|0)!=-1){break c}}b=0;break b}qf(c,d);b=-2;break a}b=b&255}v[h>>2]=b;b=-1}e:{f:{if(N5(e,f,g+b|0)){break f}b=0;if(!(t[c+8|0]&1)){break e}a=v[a+24>>2];if(!a){break f}$a(a)}b=-1}return b|0}function vea(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,h=0,i=0,j=0;h=Ma-16|0;Ma=h;a:{if(!a|!d|((b|0)>(c|0)|(e|0)>(f|0))){break a}while(1){j=(b<<3)+a|0;g=v[(e<<3)+d>>2];b:{if(g){Qa[v[v[g>>2]+28>>2]](h+8|0,g,1);break b}v[h+8>>2]=0}jb(j,h+8|0);g=v[h+8>>2];v[h+8>>2]=0;c:{if(!g){break c}i=v[g+4>>2]-1|0;v[g+4>>2]=i;if(i){break c}i=v[g+4>>2];if(!i){v[g+4>>2]=-32767}if(!i){Qa[v[v[g>>2]+4>>2]](g)}}g=v[j>>2];v[j+4>>2]=v[(g?g+12|0:1117e3)>>2];if((b|0)>=(c|0)){break a}b=b+1|0;g=(e|0)<(f|0);e=e+1|0;if(g){continue}break}}Ma=h+16|0}function sca(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;a=Ma-208|0;Ma=a;u[a+204>>1]=w[1004075]|w[1004076]<<8;v[a+200>>2]=w[1004071]|w[1004072]<<8|(w[1004073]<<16|w[1004074]<<24);f=te();v[a>>2]=e;g=a+176|0;i=Ih(g,20,f,a+200|0,a);h=g+i|0;j=tj(g,h,c);e=a+16|0;f=v[c+28>>2];v[e>>2]=f;v[f+4>>2]=v[f+4>>2]+1;k=hi(e);f=v[e>>2];l=v[f+4>>2]-1|0;v[f+4>>2]=l;if((l|0)==-1){Qa[v[v[f>>2]+8>>2]](f)}Qa[v[v[k>>2]+48>>2]](k,g,h,e)|0;f=b;b=e+(i<<2)|0;b=Wm(f,e,(h|0)==(j|0)?b:((j-a<<2)+a|0)-688|0,b,c,d);Ma=a+208|0;return b|0}function eya(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;Em(c,0,d,0,v[a+272>>2],v[a+28>>2]);c=B(v[b+36>>2],v[b+28>>2]);b=v[a+28>>2];c=c-b|0;a:{if((c|0)<1){break a}e=v[a+272>>2];if((e|0)<1){break a}g=e&3;a=0;if(e-1>>>0>=3){h=e&-4;while(1){e=a<<2;f=b+v[e+d>>2]|0;eb(f,w[f-1|0],c);f=b+v[(e|4)+d>>2]|0;eb(f,w[f-1|0],c);f=b+v[(e|8)+d>>2]|0;eb(f,w[f-1|0],c);e=b+v[(e|12)+d>>2]|0;eb(e,w[e-1|0],c);a=a+4|0;h=h-4|0;if(h){continue}break}}if(!g){break a}while(1){e=b+v[(a<<2)+d>>2]|0;eb(e,w[e-1|0],c);a=a+1|0;g=g-1|0;if(g){continue}break}}}function OA(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;a:{a=v[a+20>>2];b:{if(!a){break b}c:{d:{b=x[a>>1];e=b<<16>>16;if((e|0)>=2){d=u[(v[a+12>>2]+(b<<1)|0)-4>>1]+1|0;break d}if(e){break d}b=u[a+2>>1];break c}b=u[a+2>>1];if((d|0)!=(b|0)){break c}break a}e:{if((b|0)<2){break e}c=v[a+4>>2];f=c+(d<<3)|0;c=(c+(b<<3)|0)-8|0;if(v[f>>2]!=v[c>>2]|v[f+4>>2]!=v[c+4>>2]|w[(v[a+8>>2]+b|0)-1|0]!=1){break e}b=b-1|0;u[a+2>>1]=b}if((e|0)<1){break b}c=d;d=(b<<16>>16)-1|0;if((c|0)==(d|0)){u[a+2>>1]=b-1;break a}u[(v[a+12>>2]+(e<<1)|0)-2>>1]=d}return}u[a>>1]=e-1}function oFa(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;e=Ma-16|0;Ma=e;u[e+10>>1]=c;v[e+12>>2]=a;f=v[e+12>>2];d=a?a+b|0:0;if(f>>>0>>0){c=x[e+10>>1];d=d-f|0;d=b>>>0>d>>>0?d:b;a:{if(!d){break a}k=d&1;b:{if((d|0)==1){b=0;break b}g=d&-2;b=0;while(1){h=w[b+f|0];t[a+b|0]=h^c>>>8;i=b|1;j=w[i+f|0];c=B(c+h|0,52845)+22719|0;t[a+i|0]=j^c>>>8;c=B(c+j|0,52845)+22719&65535;b=b+2|0;g=g-2|0;if(g){continue}break}}if(!k){break a}g=a+b|0;a=w[b+f|0];t[g|0]=a^c>>>8;c=B(a+c|0,52845)+22719&65535}v[e+12>>2]=d+f;u[e+10>>1]=c}Ma=e+16|0}function g_(a,b){var c=0,d=0,e=0,f=0;f=Ma-16|0;Ma=f;a:{b:{d=v[a+20>>2];if((d|0)!=v[a+12>>2]){e=v[a+28>>2];break b}c=v[a+16>>2];v[f+12>>2]=0;c:{c=c+d|0;e=v[a+8>>2];if(c>>>0>2147483647/(e>>>0)>>>0){break c}d=B(c,e);e=yb(v[a>>2],1,v[a+24>>2],d,v[a+28>>2],f+12|0);v[a+28>>2]=e;if(v[f+12>>2]){break c}v[a+24>>2]=d;v[a+12>>2]=c;d=v[a+20>>2];if(c>>>0>=d>>>0){break b}b=v[a+4>>2];if(!(!b|v[b>>2])){v[b>>2]=130}v[a+20>>2]=c;break a}a=v[a+4>>2];if(!(!a|v[a>>2])){v[a>>2]=64}break a}c=v[a+8>>2];cb(B(c,d)+e|0,b,c);v[a+20>>2]=v[a+20>>2]+1}Ma=f+16|0}function Sx(a){var b=0,c=0,d=0,e=0,f=0,g=0;o(+a);b=j(1)|0;f=j(0)|0;d=b;b=b&2147483647;if(b>>>0>=1072693248){if(!(b-1072693248|f)){return(d|0)>-1?0:3.141592653589793}return 0/(a-a)}a:{if(b>>>0<=1071644671){e=1.5707963267948966;if(b>>>0<1012924417){break a}return 6.123233995736766e-17-lu(a*a)*a-a+1.5707963267948966}if((d|0)<-1|(d|0)<=-1){a=(a+1)*.5;c=K(a);a=1.5707963267948966-(c+(c*lu(a)+-6.123233995736766e-17));return a+a}a=(1-a)*.5;c=K(a);g=c*lu(a);e=a;o(+c);d=j(1)|0;j(0)|0;l(0,0);l(1,d|0);a=+n();a=g+(e-a*a)/(c+a)+a;e=a+a}return e}function XG(a){var b=0,c=0,d=0,e=0;e=hc(ab(16));b=v[a>>2];if((b|0)>=1){while(1){a:{if((b|0)<=(d|0)){break a}while(1){c=t[v[a+4>>2]+d|0];if(c>>>0<=255){c=w[c+928528|0]==1}else{c=0}if(!c){b=v[a>>2];break a}b=v[a>>2];d=d+1|0;if((b|0)>(d|0)){continue}break}}b:{if((b|0)<=(d|0)){c=d;break b}c=d+1|0;c:{if((c|0)>=(b|0)){break c}while(1){b=t[v[a+4>>2]+c|0];if(b>>>0<=255){b=w[b+928528|0]==1}else{b=0}if(b){break c}c=c+1|0;if((c|0)>2]){continue}break}}b=ab(8);rW(b,a,d,c-d|0);Ib(e,b);b=v[a>>2];d=c}if((b|0)>(c|0)){continue}break}}return e}function Kq(a,b,c){var d=0,e=0,f=0,g=0;e=Ma-16|0;Ma=e;f=Id(a,e+12|0);d=v[e+12>>2];a:{if(d){break a}d=2;if((b|0)!=(f|0)){break a}Id(a,e+12|0);d=v[e+12>>2];if(d){break a}d=re(a,16);v[e+12>>2]=d;if(d){break a}f=Ac(a,e+12|0);d=v[e+12>>2];if(d){break a}d=2;if(!f){break a}b=0;while(1){g=Id(a,e+12|0);d=v[e+12>>2];if(d){break a}b:{if((g|0)==2){d=Id(a,e+12|0);if(v[e+12>>2]){break b}Id(a,e+12|0);if(v[e+12>>2]){break b}v[c>>2]=d;d=0;break a}d=re(a,8);v[e+12>>2]=d;if(d){break a}}d=2;b=b+1|0;if((f|0)!=(b|0)){continue}break}}Ma=e+16|0;return d}function IUa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if(v[c>>2]!=1951551059){ob(a,2050,0,0);return 2050}t[b+32|0]=w[c+32|0];t[b+33|0]=w[c+33|0];t[b+34|0]=w[c+34|0];d=v[c+36>>2];v[b+36>>2]=d;u[b+296>>1]=x[c+296>>1];u[b+298>>1]=x[c+298>>1];u[b+300>>1]=x[c+300>>1];u[b+302>>1]=x[c+302>>1];a=v[c+304>>2];v[b+304>>2]=a;if(d){d=b+40|0;e=c+40|0;a=0;while(1){t[a+d|0]=w[a+e|0];a=a+1|0;if(a>>>0>2]){continue}break}a=v[b+304>>2]}if(a){d=b+308|0;c=c+308|0;a=0;while(1){t[a+d|0]=w[a+c|0];a=a+1|0;if(a>>>0>2]){continue}break}}return 0}function ns(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=Ma-16|0;Ma=f;eP(f+8|0,a,1);if(w[f+8|0]){a:{if(t[b+11|0]<=-1){v[v[b>>2]>>2]=0;v[b+4>>2]=0;break a}t[b+11|0]=0;v[b>>2]=0}h=a+24|0;b:{c:{while(1){d=v[v[v[a>>2]-12>>2]+h>>2];e=v[d+12>>2];d:{if((e|0)==v[d+16>>2]){d=Qa[v[v[d>>2]+40>>2]](d)|0;break d}v[d+12>>2]=e+4;d=v[e>>2]}if((d|0)==-1){break c}e=0;if((c|0)==(d|0)){break b}Ap(b,d);g=g+1|0;d=w[b+11|0];if(((d<<24>>24<0?v[b+4>>2]:d)|0)!=1073741807){continue}break}e=4;break b}e=g?2:6}b=v[v[a>>2]-12>>2]+a|0;du(b,e|v[b+16>>2])}Ma=f+16|0;return a}function eD(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=Ma-16|0;Ma=d;v[d+4>>2]=c;v[d+8>>2]=b;h=d,i=Hi(a),v[h>>2]=i;e=v[d+8>>2]-v[d>>2]>>2;b=w[a+11|0]>>>7|0?(v[a+8>>2]&2147483647)-1|0:1;if(w[a+11|0]>>>7|0){c=v[a+4>>2]}else{c=w[a+11|0]}a:{if((b|0)==(c|0)){rx(a,c,1,c,e,1);b=v[a>>2];break a}if(w[a+11|0]>>>7|0){b=v[a>>2]}else{b=a}f=c-e|0;if(!f){break a}g=(e<<2)+b|0;Rl(g+4|0,g,f)}v[(e<<2)+b>>2]=v[d+4>>2];v[d>>2]=0;f=b;b=c+1|0;v[f+(b<<2)>>2]=v[d>>2];b:{if(w[a+11|0]>>>7|0){v[a+4>>2]=b;break b}t[a+11|0]=b}h=d,i=Hi(a),v[h>>2]=i;oD(d,e);Ma=d+16|0}function QIa(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;e=v[a+532>>2];if(!e){return 6}f=v[e>>2];i=v[b>>2];a=6;a:{if(f>>>0>i>>>0){break a}b:{if(!f){break b}h=f&3;e=v[e+136>>2];a=0;if(f-1>>>0>=3){j=f&-4;while(1){d=a<<2;v[d+c>>2]=v[e+d>>2];g=d|4;v[g+c>>2]=v[e+g>>2];g=d|8;v[g+c>>2]=v[e+g>>2];d=d|12;v[d+c>>2]=v[e+d>>2];a=a+4|0;j=j-4|0;if(j){continue}break}}if(!h){break b}while(1){d=a<<2;v[d+c>>2]=v[e+d>>2];a=a+1|0;h=h-1|0;if(h){continue}break}}a=0;if(f>>>0>=i>>>0){break a}eb((f<<2)+c|0,0,i-f<<2);a=0}v[b>>2]=f;return a|0}function $Pa(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,h=0;e=1;if(!(!v[a+16>>2]|!v[a+20>>2])){Tq(a);f=v[a+20>>2];g=A[c>>3];h=A[d>>3];c=Ma-48|0;Ma=c;a=v[a+12>>2];if(a){v[c+40>>2]=0;v[c+44>>2]=1072693248;v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=1072693248;v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=0;v[c+4>>2]=0;d=c+40|0;e=c+32|0;Qa[v[v[a>>2]+120>>2]](a,d,e,c+24|0,c+16|0,c+8|0,c)|0;z[c+40>>2]=g;z[c+32>>2]=h;Qa[v[v[a>>2]+80>>2]](a,b,d,e)|0;Qa[v[v[a>>2]+128>>2]](a,f)|0}Ma=c+48|0;e=0}return e|0}function y7(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;b=v[a+584>>2];if(b){c=v[b+144>>2];if(!c){Qa[v[a+524>>2]](a)|0;c=v[b+144>>2]}u[b+68>>1]=258;v[b+64>>2]=33488905;v[b+132>>2]=0;v[b+136>>2]=0;v[b+124>>2]=1e4;v[b+128>>2]=0;v[b+72>>2]=0;v[b+76>>2]=0;v[b+140>>2]=(v[a+596>>2]+v[a+600>>2]|0)-5;a=c+72e3|0;d=8993;while(1){v[a>>2]=-1;v[a-8>>2]=-1;v[a-16>>2]=-1;v[a-24>>2]=-1;v[a-32>>2]=-1;v[a-40>>2]=-1;v[a-48>>2]=-1;v[a-56>>2]=-1;a=a+-64|0;e=d>>>0>7;d=d-8|0;if(e){continue}break}v[c>>2]=-1;v[b+120>>2]=65535;return 1}O(16309,6139,765,88312);L()}function Yaa(a){a=a|0;a:{if(t[1187496]&1){break a}if(!ie(1187496)){break a}b:{if(t[1188008]&1){break b}if(!ie(1188008)){break b}a=1187840;while(1){a=ud(a)+12|0;if((a|0)!=1188008){continue}break}he(1188008)}Rd(1187840,1008692);Rd(1187852,1008720);Rd(1187864,1008748);Rd(1187876,1008780);Rd(1187888,1008820);Rd(1187900,1008856);Rd(1187912,1008884);Rd(1187924,1008920);Rd(1187936,1008936);Rd(1187948,1008952);Rd(1187960,1008968);Rd(1187972,1008984);Rd(1187984,1009e3);Rd(1187996,1009016);v[296873]=1187840;he(1187496)}return v[296873]}function r$(a,b){var c=0,d=0,e=0,f=0,g=0;e=Ma-16|0;Ma=e;c=v[b+28>>2];d=Qa[v[a+516>>2]](a,1668707360,b,e+8|0)|0;v[e+12>>2]=d;a:{if(d){v[a+700>>2]=0;v[a+704>>2]=0;c=0;break a}d=v[e+8>>2]>>>1|0;v[a+700>>2]=d;f=a,g=yb(c,4,0,d,0,e+12|0),v[f+704>>2]=g;c=v[e+12>>2];if(c){break a}c=Ed(b,v[a+700>>2]<<1);v[e+12>>2]=c;if(c){break a}d=v[a+700>>2];if((d|0)>=1){c=v[a+704>>2];d=c+(d<<2)|0;while(1){f=c,g=ae(b)<<16>>16<<6,v[f>>2]=g;c=c+4|0;if(d>>>0>c>>>0){continue}break}}dd(b);if(!w[a+733|0]){c=v[e+12>>2];break a}c=i$(a,b)}Ma=e+16|0;return c}function twa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;if(v[a+196>>2]){d=(v[a+196>>2]+v[a+192>>2]|0)-1|0;c=(d>>>0)/93|0;e=v[v[a+180>>2]+(c<<2)>>2];d=d-B(c,93)|0;c=e+B(d,44)|0;f=v[c+40>>2];if(f){$a(Fs(f))}c=v[c+24>>2];if(c){v[(e+B(d,44)|0)+28>>2]=c;$a(c)}c=e+B(d,44)|0;f=v[c+12>>2];if(f){$a(f)}c=v[c>>2];if(c){v[(e+B(d,44)|0)+4>>2]=c;$a(c)}e=v[a+196>>2]-1|0;v[a+196>>2]=e;d=v[a+184>>2];c=d-v[a+180>>2]|0;if((c?B(c>>2,93)-1|0:0)-(e+v[a+192>>2]|0)>>>0>=186){$a(v[d-4>>2]);v[a+184>>2]=v[a+184>>2]-4}}t[a+200|0]=1;Qa[v[v[a>>2]+72>>2]](a,b)}function pr(a,b,c){var d=0,e=0,f=0;d=Ma+-64|0;Ma=d;f=v[a>>2];e=v[f-4>>2];f=v[f-8>>2];v[d+20>>2]=0;v[d+16>>2]=b;v[d+12>>2]=a;v[d+8>>2]=c;b=0;eb(d+24|0,0,39);a=a+f|0;a:{if(qj(e,c,0)){v[d+56>>2]=1;Qa[v[v[e>>2]+20>>2]](e,d+8|0,a,a,1,0);b=v[d+32>>2]==1?a:0;break a}Qa[v[v[e>>2]+24>>2]](e,d+8|0,a,1,0);b:{switch(v[d+44>>2]){case 0:b=v[d+48>>2]==1?v[d+36>>2]==1?v[d+40>>2]==1?v[d+28>>2]:0:0:0;break a;case 1:break b;default:break a}}if(v[d+32>>2]!=1){if(v[d+48>>2]|v[d+36>>2]!=1|v[d+40>>2]!=1){break a}}b=v[d+24>>2]}Ma=d- -64|0;return b}function iKa(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;f=Ma-16|0;Ma=f;g=v[a+4>>2]&2147418112;a:{if(d&16){if(w[a+9|0]&128?1:g){g=7;if(!(w[a+740|0]&16)){break a}}d=0;if(!c){g=0;break a}while(1){g=0;t$(a,b+d|0,f+14|0,f+12|0);v[(d<<2)+e>>2]=x[f+12>>1];d=d+1|0;if((d|0)!=(c|0)){continue}break}break a}if(w[a+9|0]&128?1:g){g=7;if(!(w[a+740|0]&2)){break a}}g=0;if(!c){break a}d=0;while(1){Qa[v[v[a+540>>2]+140>>2]](a,0,b+d|0,f+10|0,f+8|0);v[(d<<2)+e>>2]=x[f+8>>1];d=d+1|0;if((d|0)!=(c|0)){continue}break}}Ma=f+16|0;return g|0}function fYa(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,j=0,k=0;if(e){k=e-1|0;a=0;while(1){t[g|0]=w[f|0];g=g+1|0;h=a?(a|0)==(k|0)?d:b:c;a:{if(h>>>0<2){break a}j=h-1|0;i=j&7;if(h-2>>>0>=7){h=j&-8;while(1){t[g|0]=w[f|0];t[g+1|0]=w[f|0];t[g+2|0]=w[f|0];t[g+3|0]=w[f|0];t[g+4|0]=w[f|0];t[g+5|0]=w[f|0];t[g+6|0]=w[f|0];t[g+7|0]=w[f|0];g=g+8|0;h=h-8|0;if(h){continue}break}}if(!i){break a}while(1){t[g|0]=w[f|0];g=g+1|0;i=i-1|0;if(i){continue}break}}f=f+1|0;a=a+1|0;if((e|0)!=(a|0)){continue}break}}return 0}function Ik(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;e=Ma-16|0;Ma=e;v[e+12>>2]=0;v[e+8>>2]=0;d=w[b+11|0];f=d<<24>>24<0;Fj(f?v[b>>2]:b,f?v[b+4>>2]:d,e+12|0,e+8|0);d=v[e+12>>2];c=ji(d,c?326450:301143);v[a+4>>2]=c;if(d){$a(d);c=v[a+4>>2]}a:{if(!c){break a}dh(c,0,2);h=a,i=Jr(v[a+4>>2]),v[h+12>>2]=i;dh(v[a+4>>2],0,0);v[a+8>>2]=0;d=w[b+11|0];c=d<<24>>24<0;d=c?v[b+4>>2]:d;b:{if(!(!d|v[((d<<2)+(c?v[b>>2]:b)|0)-4>>2]!=47)){v[a+12>>2]=2147483647;break b}g=1;if(v[a+12>>2]!=2147483647){break a}}Qa[v[v[a>>2]+8>>2]](a);g=0}Ma=e+16|0;return g}function AZ(a){var b=0,c=0,d=0,e=0,f=0;v[a+28>>2]=4096;b=a+4168|0;v[a+24>>2]=b;v[a+8268>>2]=b;d=a+72|0;f=a+12|0;a:{while(1){if(!v[a+16>>2]){b=v[a>>2];c=v[b+20>>2];b:{if(c){c=Qa[c|0](b,v[b+8>>2],d,4096)|0;if(c){break b}break a}e=v[b+8>>2];c=v[b+4>>2]-e|0;c=c>>>0<4096?c:4096;if(!c){break a}cb(d,v[b>>2]+e|0,c)}v[b+8>>2]=v[b+8>>2]+c;v[a+16>>2]=c;v[a+12>>2]=d}b=bk(f,0);if(b){if((b|0)==1){b=v[a+24>>2];v[a+8272>>2]=b;return(b|0)==v[a+8268>>2]?85:0}break a}if(v[a+28>>2]){continue}break}return 0}v[a+8272>>2]=v[a+8268>>2];return 85}function YV(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=v[a+508>>2];if((d|0)>0){while(1){c=B(b,12)+a|0;e=c;h=v[c+272>>2];a:{if(!(f|(h|0)!=225)){j=v[c+276>>2];k=v[e+268>>2];f=225;break a}i=v[e+268>>2];if(!(g|(h|0)!=254)){l=v[c+276>>2];g=254;m=i;break a}$a(i);v[e+268>>2]=0;d=v[a+508>>2]}b=b+1|0;if((d|0)>(b|0)){continue}break}b=0;v[a+508>>2]=0;if(f){v[a+268>>2]=k;v[a+508>>2]=1;v[a+276>>2]=j;v[a+272>>2]=f;b=1}if(g){v[a+508>>2]=b+1;a=B(b,12)+a|0;v[a+276>>2]=l;v[a+272>>2]=g;v[a+268>>2]=m}return}v[a+508>>2]=0}function Aca(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;a=Ma-96|0;Ma=a;u[a+92>>1]=w[1004075]|w[1004076]<<8;v[a+88>>2]=w[1004071]|w[1004072]<<8|(w[1004073]<<16|w[1004074]<<24);f=te();v[a>>2]=e;g=a- -64|0;i=Ih(g,20,f,a+88|0,a);h=g+i|0;j=tj(g,h,c);e=a+16|0;f=v[c+28>>2];v[e>>2]=f;v[f+4>>2]=v[f+4>>2]+1;k=Yi(e);f=v[e>>2];l=v[f+4>>2]-1|0;v[f+4>>2]=l;if((l|0)==-1){Qa[v[v[f>>2]+8>>2]](f)}Qa[v[v[k>>2]+32>>2]](k,g,h,e)|0;f=b;b=e+i|0;b=Xm(f,e,(h|0)==(j|0)?b:((j-a|0)+a|0)-48|0,b,c,d);Ma=a+96|0;return b|0}function wz(a,b){var c=0,d=0,e=0,f=0,g=0;d=a;c=v[a>>2];f=zb(b);if((c|0)>(2147483647-f|0)){jh(332473);c=v[a>>2]}pg(d,c+f|0);c=v[a>>2];a:{if((c|0)<0){break a}d=c;g=c+1&3;if(g){while(1){e=v[a+4>>2];t[e+(c+f|0)|0]=w[c+e|0];c=c-1|0;g=g-1|0;if(g){continue}break}}if(d>>>0<3){break a}while(1){d=v[a+4>>2];t[d+(c+f|0)|0]=w[c+d|0];d=v[a+4>>2];e=c-1|0;t[d+(e+f|0)|0]=w[d+e|0];d=v[a+4>>2];e=c-2|0;t[d+(e+f|0)|0]=w[d+e|0];d=v[a+4>>2];e=c-3|0;t[d+(e+f|0)|0]=w[d+e|0];c=c-4|0;if((e|0)>0){continue}break}}cb(v[a+4>>2],b,f);v[a>>2]=v[a>>2]+f}function pAa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=Ma-16|0;Ma=e;d=v[a+20>>2];if((d|0)!=101){f=v[a>>2];v[f+24>>2]=d;v[f+20>>2]=21;Qa[v[v[a>>2]>>2]](a)}if(y[a+260>>2]>=y[a+32>>2]){d=v[a>>2];v[d+20>>2]=126;Qa[v[d+4>>2]](a,-1)}d=v[a+8>>2];if(d){v[d+4>>2]=v[a+260>>2];v[d+8>>2]=v[a+32>>2];Qa[v[d>>2]](a)}d=v[a+388>>2];if(v[d+12>>2]){Qa[v[d+4>>2]](a)}d=v[a+260>>2];f=v[a+32>>2];v[e+12>>2]=0;g=b;b=f-d|0;Qa[v[v[a+392>>2]+4>>2]](a,g,e+12|0,b>>>0>>0?b:c);b=a;c=v[a+260>>2];a=v[e+12>>2];v[b+260>>2]=c+a;Ma=e+16|0;return a|0}function VU(a){a=a|0;var b=0,c=0,d=0,e=0;b=v[a+40>>2];if(b){Qa[v[v[b>>2]+4>>2]](b);v[a+40>>2]=0}c=v[a+48>>2];if(c){d=v[c+8>>2];if((d|0)>=1){b=0;while(1){e=v[v[c>>2]+(b<<2)>>2];if(e){Qa[v[v[e>>2]+4>>2]](e);d=v[c+8>>2]}b=b+1|0;if((d|0)>(b|0)){continue}break}}$a(mc(c));v[a+48>>2]=0}c=v[a+52>>2];if(c){d=v[c+8>>2];if((d|0)>=1){b=0;while(1){e=v[v[c>>2]+(b<<2)>>2];if(e){Qa[v[v[e>>2]+4>>2]](e);d=v[c+8>>2]}b=b+1|0;if((d|0)>(b|0)){continue}break}}$a(mc(c));v[a+52>>2]=0}v[a+60>>2]=0;v[a+64>>2]=0;a=v[a+4>>2];Qa[v[v[a>>2]+24>>2]](a)}function Fsa(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;c=v[a+28>>2];e=v[c+596>>2];if(!(v[e+28>>2]>0|v[e>>2])){b=-1;a=v[a+108>>2];a:{if(!a){break a}a=v[a+4>>2];if(v[a+8>>2]==13){break a}a=v[a+16>>2];b=Qa[v[v[a>>2]+52>>2]](a)|0}fb(1,b,319588,0);return}g=A[b+24>>3];a=v[b+24>>2];d=A[b+40>>3];h=v[b+40>>2];i=A[b+8>>3];j=v[b+8>>2];k=v[b>>2];l=v[b+16>>2];m=v[b+32>>2];f=v[b+48>>2]==1?+v[b+56>>2]:A[b+56>>3];A[c+608>>3]=f;d=(m|0)==1?+(h|0):d;A[c+600>>3]=d;ol(e,(k|0)==1?+(j|0):i,(l|0)==1?+(a|0):g,d,f,d,f)}function r0(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;h=35;a:{if(!(w[a+8|0]&2)){break a}h=7;if(v[b>>2]){break a}d=v[b+4>>2];f=d;i=v[b+8>>2];g=i;h=23;e=v[b+12>>2];if(e){f=(B(d,e)+36|0)/72|0}e=f;b=v[b+16>>2];if(b){g=(B(b,i)+36|0)/72|0}b=i?g:f;f=(d?e:b)+32&-64;if(!f){break a}e=(d?b:g)+32&-64;if(!e){break a}d=v[a+28>>2];if((d|0)<1){break a}a=v[a+32>>2];b=0;while(1){g=a+(b<<4)|0;if(!((e|0)==(v[g+12>>2]+32&-64)&(f|0)==(v[g+8>>2]+32&-64))){b=b+1|0;if((d|0)!=(b|0)){continue}break a}break}h=0;if(!c){break a}v[c>>2]=b;return 0}return h}function k3a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=v[a+16>>2];v[a+20>>2]=d;e=gb(d);v[a+24>>2]=e;a:{if(!e){break a}if(!v[a+20>>2]){return 0}f=v[b+8>>2];if(f&7){break a}d=e;while(1){b:{c=v[b+64>>2];if(!((c|0)<0|(c|0)>v[b+60>>2])){v[b+8>>2]=f|4;break b}c=v[b+28>>2];v[b+28>>2]=c-1;c:{if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;c=w[c|0];break c}c=Eb(b,1);if((c|0)==-1){break a}}if(d){t[e|0]=c}g=g+1|0;if(g>>>0>=y[a+20>>2]){return 0}d=v[a+24>>2];e=g+d|0;f=v[b+8>>2];if(!(f&7)){continue}}break}}return-1}function eza(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;a:{if((e|0)<1){break a}g=v[a+28>>2];if(!g){break a}h=v[a+36>>2];j=g&-4;k=g&3;l=g-1>>>0<3;while(1){i=v[v[c>>2]+(d<<2)>>2];f=v[b>>2];a=0;g=j;if(!l){while(1){t[a+i|0]=w[f|0];f=f+h|0;t[(a|1)+i|0]=w[f|0];f=f+h|0;t[(a|2)+i|0]=w[f|0];f=f+h|0;t[(a|3)+i|0]=w[f|0];a=a+4|0;f=f+h|0;g=g-4|0;if(g){continue}break}}g=k;if(g){while(1){t[a+i|0]=w[f|0];a=a+1|0;f=f+h|0;g=g-1|0;if(g){continue}break}}d=d+1|0;b=b+4|0;a=(e|0)>1;e=e-1|0;if(a){continue}break}}}function Qh(a,b,c,d){var e=0;e=Ma-16|0;Ma=e;v[a>>2]=0;v[a+4>>2]=v[279250];gl(e,b,c,d);b=v[e>>2];a:{if(b){Qa[v[v[b>>2]+28>>2]](e+8|0,b,1);break a}v[e+8>>2]=0}jb(a,e+8|0);b=v[e+8>>2];v[e+8>>2]=0;b:{if(!b){break b}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break b}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=a;a=v[a>>2];v[b+4>>2]=v[(a?a+12|0:1117e3)>>2];a=v[e>>2];v[e>>2]=0;c:{if(!a){break c}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break c}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=e+16|0}function JF(a,b,c){var d=0,e=0,f=0,g=0;f=Ma-144|0;Ma=f;d=v[b>>2];a:{if((d|0)>=v[c>>2]){break a}while(1){b:{e=v[(d<<2)+a>>2]-32|0;if((e|0)!=12?e:0){break b}d=d+1|0;v[b>>2]=d;if((e|0)!=12?e:0){break b}if(v[c>>2]>(d|0)){continue}break a}break}e=0;eb(f+16|0,0,128);while(1){g=v[(d<<2)+a>>2];if((g|0)!=32){v[(f+16|0)+(e<<2)>>2]=g;d=d+1|0;v[b>>2]=d;e=e+1|0;if(v[c>>2]>(d|0)){continue}}break}g=1;a=ks(f,f+16|0,e);c:{if(nc(a,967572)){break c}if(nc(a,967592)){break c}if(nc(a,967600)){break c}g=nc(a,967608)}Qb(a)}Ma=f+144|0;return g}function Eja(a){a=a|0;var b=0,c=0;v[a>>2]=971728;b=v[a+24>>2];v[a+24>>2]=0;a:{if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[a+16>>2];v[a+16>>2]=0;b:{if(!b){break b}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break b}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[a+12>>2];v[a+12>>2]=0;c:{if(!b){break c}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break c}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}bc(a);return a|0}function Cga(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;c=Ma-32|0;Ma=c;g=pc(c,c+12|0,B(v[b+8>>2],6)|1,1);t[v[c+12>>2]]=0;d=v[b+12>>2];a:{if(!d){break a}b=v[b+8>>2];if(!b){break a}e=v[c+12>>2];v[c+16>>2]=0;b:{while(1){f=Kp(c+16|0,d,b);if((f|0)<0){break b}d=d+f|0;e=Sj(v[c+16>>2],e);b=b-f|0;if(b){continue}break}t[e|0]=0;break a}Sc(g,0,1)}b=v[c+12>>2];v[c+24>>2]=0;v[c+28>>2]=0;v[c+20>>2]=0;v[c+16>>2]=978704;aj(a,c+16|0,b);v[c+16>>2]=978608;a=v[c+28>>2];if(a){t[a|0]=0;$a(v[c+28>>2])}v[c+28>>2]=0;bc(c+16|0);ec(g);Ma=c+32|0}function Wfa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=Ma-32|0;Ma=e;if(!v[a+56>>2]){Uf(b,316701,1);a:{if((c|0)<=0){break a}while(1){Uf(b,316706,0);v[e>>2]=0;qb(e,b);i=Qa[v[v[a>>2]+32>>2]](a,e,B(h,12)+d|0)|0;f=v[e>>2];v[e>>2]=0;b:{if(!f){break b}g=v[f+4>>2]-1|0;v[f+4>>2]=g;if(g){break b}g=v[f+4>>2];if(!g){v[f+4>>2]=-32767}if(!g){Qa[v[v[f>>2]+4>>2]](f)}}Od(b);if(!i){break a}h=h+1|0;if((h|0)<(c|0)){continue}break}}Od(b);Qa[v[v[a>>2]+48>>2]](a);Ma=e+32|0;return}lb(mb(e+8|0,317126,242076,1653,331901));L()}function Ed(a,b){var c=0,d=0,e=0,f=0,g=0;e=Ma-16|0;Ma=e;v[e+12>>2]=0;a:{if(v[a+20>>2]){d=85;if(y[a+4>>2]>>0){break a}f=v[a+28>>2];c=jB(f,b,e+12|0);v[a>>2]=c;d=v[e+12>>2];if(d){break a}g=Qa[v[a+20>>2]](a,v[a+8>>2],c,b)|0;c=v[a>>2];if(b>>>0<=g>>>0){d=v[e+12>>2]}else{if(c){Qa[v[f+8>>2]](f,c)}c=0;v[a>>2]=0;d=85}v[a+32>>2]=c;v[a+36>>2]=c?b+c|0:0;v[a+8>>2]=v[a+8>>2]+g;break a}d=85;f=v[a+4>>2];c=v[a+8>>2];if(f>>>0<=c>>>0|f-c>>>0>>0){break a}v[a+8>>2]=b+c;d=c+v[a>>2]|0;v[a+32>>2]=d;v[a+36>>2]=b+d;d=0}Ma=e+16|0;return d}function wI(a,b){var c=0,d=0,e=0,f=0,g=0;e=1;d=(b<<10)+a|0;c=v[d+644>>2];a:{if((c|0)<=-1&(c&15728640)!=7340032){break a}c=0;d=v[d+260>>2];if((d|0)<=-1&(d&15728640)!=7340032){break a}while(1){d=c<<2;f=(b<<10)+a|0;g=v[d+f>>2];if((g|0)<=-1&(g&15728640)!=7340032){break a}d=v[f+(d|4)>>2];if((d|0)<=-1&(d&15728640)!=7340032){break a}c=c+2|0;if((c|0)!=256){continue}break}c=0;b=(b<<10)+a|0;while(1){b:{e=v[b+(c<<2)>>2];if((e|0)<0){break b}if(!wI(a,e>>>24|0)){break b}return 1}c=c+1|0;if((c|0)!=256){continue}break}e=0}return e}function iD(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;f=v[a+84>>2];a:{d=v[a+28>>2];b:{if((d|0)!=(b|0)){e=-1;if((iD(a,d,v[a+20>>2]-d|0)|0)==-1){break b}}d=v[f>>2];c:{if(!v[f+4>>2]|!c){break c}e=c;while(1){g=Kp(d,b,e);if((g|0)<0){break a}h=v[f+4>>2]-1|0;v[f+4>>2]=h;d=v[f>>2]+4|0;v[f>>2]=d;if(!h){break c}b=b+g|0;e=e-g|0;if(e){continue}break}}v[d>>2]=0;b=v[a+44>>2];v[a+28>>2]=b;v[a+20>>2]=b;v[a+16>>2]=b+v[a+48>>2];e=c}return e|0}v[v[f>>2]>>2]=0;v[a+28>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a>>2]=v[a>>2]|32;return g|0}function fH(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=Ma-16|0;Ma=c;b=ce(a);if(b>>>0<1073741808){a:{b:{if(b>>>0>=2){d=b+4&-4;e=ab(d<<2);v[c+8>>2]=d|-2147483648;v[c>>2]=e;v[c+4>>2]=b;break b}t[c+11|0]=b;e=c;if(!b){break a}}rb(e,a,b)}a=0;v[(b<<2)+e>>2]=0;b=w[c+11|0];e=b<<24>>24;b=(e|0)<0?v[c+4>>2]:b;d=b+1|0;d=ab((d|0)!=(d&1073741823)?-1:d<<2);v[d+(b<<2)>>2]=0;if((b|0)>=1){while(1){f=d+(a<<2)|0,g=v[Qj(c,a)>>2],v[f>>2]=g;a=a+1|0;if((b|0)!=(a|0)){continue}break}e=t[c+11|0]}if(e<<24>>24<=-1){$a(v[c>>2])}Ma=c+16|0;return d}sc();L()}function rC(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=v[a+12>>2];if(c){b=v[a+8>>2];if((b|0)>=1){while(1){d=v[c+4>>2];if(d){b=0;e=v[c>>2];if((e|0)>=1){while(1){f=v[d+4>>2];if(f){$a(f);e=v[c>>2]}d=d+20|0;b=b+1|0;if((e|0)>(b|0)){continue}break}d=v[c+4>>2]}$a(d);b=v[a+8>>2]}c=c+16|0;g=g+1|0;if((g|0)<(b|0)){continue}break}c=v[a+12>>2]}$a(c)}b=v[a+76>>2];if(b){c=v[b+8>>2];if(c){d=1;if(v[b>>2]>=1){$a(v[c>>2]);if(v[b>>2]>=2){while(1){$a(v[v[b+8>>2]+(d<<2)>>2]);d=d+1|0;if((d|0)>2]){continue}break}}c=v[b+8>>2]}$a(c)}$a(b)}$a(a)}function VA(a){var 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=v[a+260>>2];if(!b){m=a;e=u[a+300>>1];b=v[a+248>>2];a:{if(!e){break a}c=u[a+298>>1];b=v[a+252>>2];if(!c){break a}f=v[a+248>>2];b=f>>31;g=b^b+f;b=c>>31;h=b+c^b;i=B(g>>>16|0,h);b=i<<16|8192;a=v[a+252>>2];d=a>>31;j=d^a+d;d=e>>31;k=d+e^d;l=B(j>>>16|0,k);d=l<<16|8192;n=b;b=b+B(h,g&65535)|0;b=(i>>>16|0)+(n>>>0>b>>>0)<<18|b>>>14;b=(c^f)>-1?b:0-b|0;c=d+B(k,j&65535)|0;c=(l>>>16|0)+(c>>>0>>0)<<18|c>>>14;b=vJ(b,(a^e)>-1?c:0-c|0)}v[m+260>>2]=b}return b}function EH(a){var b=0,c=0,d=0,e=0;c=Ma-1024|0;Ma=c;if(!w[1164280]){d=v[291071];if((d|0)<=14){b=d<<4;v[b+1164300>>2]=2669;v[b+1164296>>2]=2670;v[b+1164292>>2]=2671;v[b+1164288>>2]=2672;v[291071]=d+1}t[1164280]=1}a:{if(!a){break a}b=Sb(c,a,1023);t[c+1023|0]=0;d=zb(b);a=d+c|0;b:{c:{d:{e:{if((d|0)>=1){while(1){if(w[a|0]==47){break e}a=a-1|0;if(b>>>0>>0){continue}break}}if(w[a|0]!=47){break d}}a=(a|0)==(b|0)?c|1:a;break c}if(!eu(b,1024)){break b}a=c+1023|0}t[a|0]=0;e=Qa[v[256558]](b)|0;break a}}Ma=c+1024|0;return e}function Dja(a){a=a|0;var b=0,c=0;v[a>>2]=971728;b=v[a+24>>2];v[a+24>>2]=0;a:{if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[a+16>>2];v[a+16>>2]=0;b:{if(!b){break b}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break b}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[a+12>>2];v[a+12>>2]=0;c:{if(!b){break c}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break c}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}bc(a);$a(a)}function e7(a){a=a|0;var b=0,c=0,d=0;c=v[a+584>>2];a:{if(!(Qa[v[c+60>>2]](a)|0)){break a}if(!AM(a)){break a}d=1;b:{c:{switch(v[c>>2]-2|0){case 0:b=589;d:{e:{f:{switch(x[a+84>>1]-8|0){case 8:b=590;break e;case 0:break e;case 24:break f;default:break d}}b=591}v[c+24>>2]=b}b=v[a+544>>2];if((b|0)!=592){break b}break a;case 1:break c;default:break a}}v[c+24>>2]=593;b=v[a+544>>2];if((b|0)==592){break a}}v[c+12>>2]=b;v[a+544>>2]=592;v[c+16>>2]=v[a+552>>2];v[a+552>>2]=594;v[c+20>>2]=v[a+560>>2];v[a+560>>2]=594}return d|0}function _aa(a){a=a|0;a:{if(t[1187488]&1){break a}if(!ie(1187488)){break a}b:{if(t[1187832]&1){break b}if(!ie(1187832)){break b}a=1187664;while(1){a=ud(a)+12|0;if((a|0)!=1187832){continue}break}he(1187832)}je(1187664,220270);je(1187676,220277);je(1187688,220243);je(1187700,220251);je(1187712,220234);je(1187724,220284);je(1187736,220261);je(1187748,244551);je(1187760,247879);je(1187772,275291);je(1187784,291655);je(1187796,225089);je(1187808,264331);je(1187820,234084);v[296871]=1187664;he(1187488)}return v[296871]}function Cb(a,b){var c=0,d=0,e=0;c=-1;a:{b:{c:{if(!(!(w[a|0]&6)|w[a+8|0]&7)){e=v[a+4>>2];if(e&16){break c}c=v[a+16>>2];d=v[a+24>>2]-c|0;if((d|0)>=1){if((Qa[v[v[a+52>>2]+4>>2]](v[a+56>>2],c,d)|0)!=(d|0)){break b}e=v[a+4>>2];c=v[a+16>>2]}v[a+24>>2]=c;d=v[a+20>>2];v[a+28>>2]=d;e=e|32;v[a+4>>2]=e;if((b|0)==-1){return 0}if((d|0)<=0){break a}v[a+4>>2]=e;v[a+28>>2]=d-1;v[a+24>>2]=c+1;v[a+60>>2]=v[a+60>>2]+1;t[c|0]=b;c=b&255}return c}O(23780,6782,814,188087);L()}v[a+8>>2]=v[a+8>>2]|2;return-1}O(21664,6782,834,188087);L()}function po(a,b,c){var d=0,e=0,f=0;d=Ma-16|0;Ma=d;v[d+12>>2]=0;a:{b:{if(!(Qa[v[v[b>>2]+20>>2]](b,c,d+12|0)|0)){t[a|0]=0;t[a+11|0]=0;break b}c=v[d+12>>2];b=v[c+4>>2];if(b>>>0>=4294967280){break a}f=v[c>>2];c:{d:{if(b>>>0>=11){e=b+16&-16;c=ab(e);v[d+8>>2]=e|-2147483648;v[d>>2]=c;v[d+4>>2]=b;break d}t[d+11|0]=b;c=d;if(!b){break c}}cb(c,f,b)}t[b+c|0]=0;b=v[d+12>>2];if(b){e:{if(!w[b+8|0]){break e}c=v[b>>2];if(!c){break e}$a(c)}$a(b)}b=v[d+4>>2];v[a>>2]=v[d>>2];v[a+4>>2]=b;v[a+8>>2]=v[d+8>>2]}Ma=d+16|0;return}sc();L()}function ota(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;c=v[a+28>>2];if(!v[c+492>>2]){b=-1;a=v[a+108>>2];a:{if(!a){break a}a=v[a+4>>2];if(v[a+8>>2]==13){break a}a=v[a+16>>2];b=Qa[v[v[a>>2]+52>>2]](a)|0}fb(1,b,222372,0);return}if(v[a+32>>2]){d=v[a+8>>2];Qa[v[v[d>>2]+156>>2]](d,c);v[a+32>>2]=0}if(v[a+100>>2]){c=v[a+8>>2];Qa[v[v[c>>2]+232>>2]](c,v[a+28>>2]);qz(a,v[b+8>>2]);b=v[a+8>>2];Qa[v[v[b>>2]+236>>2]](b,v[a+28>>2]);return}b=v[b+8>>2];c=v[a+8>>2];if(Qa[v[v[c>>2]+32>>2]](c)|0){a=v[a+8>>2];Qa[v[v[a>>2]+268>>2]](a,v[b>>2])}}function k8(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=Ma-16|0;Ma=e;f=v[a+584>>2];if(f){g=c;c=v[f+840>>2];d=(g|0)/(c|0)|0;if((g|0)!=(B(d,c)|0)){Nc(v[a+628>>2],v[a>>2],53367,0)}if(!(w[a+13|0]&4)){c=v[a+60>>2];g=v[a+472>>2];d=c>>>0>>0?c-g|0:d}c=1;a:{if((d|0)<1){break a}v[e+12>>2]=b;c=0;if((EM(f,e+12|0)|0)!=1){break a}while(1){if((d|0)<2){c=1;break a}v[a+472>>2]=v[a+472>>2]+1;b=v[f+840>>2]+b|0;v[e+12>>2]=b;d=d-1|0;if((EM(f,e+12|0)|0)==1){continue}break}}Ma=e+16|0;return c|0}O(29012,7121,1426,88142);L()}function Dm(a,b){var c=0,d=0;d=ab(48);c=d;v[c>>2]=0;v[c+4>>2]=1072693248;v[c+8>>2]=0;v[c+12>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=0;v[c+28>>2]=1072693248;v[c+40>>2]=0;v[c+44>>2]=0;v[a>>2]=c;b=v[b>>2];c=v[b+4>>2];v[d>>2]=v[b>>2];v[d+4>>2]=c;c=v[b+44>>2];v[d+40>>2]=v[b+40>>2];v[d+44>>2]=c;c=v[b+36>>2];v[d+32>>2]=v[b+32>>2];v[d+36>>2]=c;c=v[b+28>>2];v[d+24>>2]=v[b+24>>2];v[d+28>>2]=c;c=v[b+20>>2];v[d+16>>2]=v[b+16>>2];v[d+20>>2]=c;c=v[b+12>>2];v[d+8>>2]=v[b+8>>2];v[d+12>>2]=c;return a}function Cl(a,b){var c=0,d=0,e=0,f=0,g=0;c=v[a+88>>2];b=v[a+32>>2]+(b<<4)|0;d=v[b+8>>2];u[c+12>>1]=d+32>>>6;e=v[b+12>>2];u[c+14>>1]=e+32>>>6;a:{if(t[a+8|0]&1){f=c,g=Ub(d,x[a+68>>1]),v[f+16>>2]=g;b=Ub(v[b+12>>2],x[a+68>>1]);v[c+20>>2]=b;f=c,g=xb(u[a+70>>1],b)+63&-64,v[f+24>>2]=g;f=c,g=xb(u[a+72>>1],v[c+20>>2])&-64,v[f+28>>2]=g;f=c,g=xb(u[a+74>>1],v[c+20>>2])+32&-64,v[f+32>>2]=g;d=xb(u[a+76>>1],v[c+16>>2])+32&-64;break a}v[c+28>>2]=0;v[c+24>>2]=e;v[c+16>>2]=65536;v[c+20>>2]=65536;v[c+32>>2]=u[b>>1]<<6}v[c+36>>2]=d}function C7(a){a=a|0;var b=0,c=0,d=0;a:{b:{b=v[a+584>>2];if(!b){b=gb(148);v[a+584>>2]=b;if(!b){wb(v[a+628>>2],13488,9804,0);return 0}v[b+96>>2]=0;v[b+116>>2]=0;NC(a);b=v[a+584>>2];if(!b){break b}}if(!v[b+116>>2]){d=b;b=gb(40952);v[d+116>>2]=b;if(!b){break a}a=255;while(1){c=b+(a<<3)|0;t[c+7|0]=a;t[c+6|0]=a;u[c+4>>1]=1;v[c>>2]=0;c=a-1|0;d=b+(c<<3)|0;t[d+7|0]=c;t[d+6|0]=c;u[d+4>>1]=1;v[d>>2]=0;a=a-2|0;if(c){continue}break}Hf(b+2048|0,0,16)}return 1}O(16309,6139,222,88256);L()}wb(v[a+628>>2],88240,18541,0);return 0}function YHa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=v[a+712>>2];a:{if(w[d+24|0]==2){c=fk(tg(v[v[a+96>>2]+4>>2],228483),233523,0);if(!c){break a}c=v[c+4>>2];if(!c){break a}return Qa[c|0](a,b)|0}e=fk(v[a+96>>2],235125,1);if(!e){return 0}if(!v[d+20>>2]){break a}a=0;while(1){b:{c=x[v[d+1188>>2]+(a<<1)>>1];c:{if(c>>>0>=391){c=c-391|0;if(c>>>0>2]){c=v[v[d+1360>>2]+(c<<2)>>2]}else{c=0}break c}c=Qa[v[e+20>>2]](c)|0}if(!c){break b}if(hb(b,c)){break b}return a|0}a=a+1|0;if(a>>>0>2]){continue}break}}return 0}function TKa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;if(b){f=v[d>>2]-B(v[d+4>>2],a)|0;while(1){b=b-1|0;a=x[c+2>>1];a:{if(!a){break a}g=a-1|0;d=B(u[c>>1],3)+f|0;e=a&7;if(e){while(1){t[d|0]=w[c+4|0];d=d+3|0;a=a-1|0;e=e-1|0;if(e&65535){continue}break}}if((g&65535)>>>0<7){break a}while(1){t[d|0]=w[c+4|0];t[d+3|0]=w[c+4|0];t[d+6|0]=w[c+4|0];t[d+9|0]=w[c+4|0];t[d+12|0]=w[c+4|0];t[d+15|0]=w[c+4|0];t[d+18|0]=w[c+4|0];t[d+21|0]=w[c+4|0];d=d+24|0;a=a-8|0;if(a&65535){continue}break}}c=c+6|0;if(b){continue}break}}}function RL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:{if(!b){break a}g=v[a+4>>2];if(!g){break a}d=v[a+44>>2];if(!d){break a}d=c>>>0>>0?c:d;b:{if(!d){break b}g=g+40|0;c=0;if((d|0)!=1){h=d&-2;while(1){f=g+(c<<2)|0;e=B(c,3)+b|0;t[f+2|0]=w[e|0];t[f+1|0]=w[e+1|0];t[f|0]=w[e+2|0];e=c|1;f=g+(e<<2)|0;e=B(e,3)+b|0;t[f+2|0]=w[e|0];t[f+1|0]=w[e+1|0];t[f|0]=w[e+2|0];c=c+2|0;h=h-2|0;if(h){continue}break}}if(!(d&1)){break b}d=g+(c<<2)|0;b=B(c,3)+b|0;t[d+2|0]=w[b|0];t[d+1|0]=w[b+1|0];t[d|0]=w[b+2|0]}t[a+481|0]=0}}function Jda(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;f=Ma-16|0;Ma=f;while(1){a:{if((c|0)<=(g|0)){break a}d=v[a+12>>2];e=v[a+16>>2];b:{if(d>>>0>>0){v[f+12>>2]=2147483647;v[f+8>>2]=e-d>>2;v[f+4>>2]=c-g;d=Ma-16|0;Ma=d;Ma=d+16|0;d=Ma-16|0;Ma=d;Ma=d+16|0;d=f+4|0;e=f+8|0;d=v[d>>2]>2]?d:e;e=f+12|0;d=v[(v[d>>2]>2]?d:e)>>2];rk(b,v[a+12>>2],d);e=d<<2;v[a+12>>2]=e+v[a+12>>2];b=b+e|0;break b}d=Qa[v[v[a>>2]+40>>2]](a)|0;if((d|0)==-1){break a}v[b>>2]=d;d=1;b=b+4|0}g=d+g|0;continue}break}Ma=f+16|0;return g|0}function Cn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=v[a>>2];e=h>>>6|0;f=v[a+4>>2];if(e>>>0>=f>>>0){c=v[a+8>>2];a:{if(c>>>0>e>>>0){g=v[a+12>>2];break a}c=c+v[a+16>>2]|0;g=ab((c&1073741823)!=(c|0)?-1:c<<2);d=a;i=v[a+12>>2];if(i){cb(g,i,f<<2);$a(i);h=v[a>>2];f=v[a+4>>2];c=v[a+8>>2]+v[a+16>>2]|0}v[d+8>>2]=c;v[a+12>>2]=g}j=(e<<2)+g|0,k=ab(1024),v[j>>2]=k;v[a+4>>2]=f+1}d=v[b+4>>2];c=v[v[a+12>>2]+(e<<2)>>2]+((h&63)<<4)|0;v[c>>2]=v[b>>2];v[c+4>>2]=d;d=v[b+12>>2];v[c+8>>2]=v[b+8>>2];v[c+12>>2]=d;v[a>>2]=v[a>>2]+1}function dra(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=ab(400);f=jv(b,a);v[b>>2]=888112;A[b+184>>3]=A[a+184>>3];A[b+192>>3]=A[a+192>>3];A[b+200>>3]=A[a+200>>3];A[b+208>>3]=A[a+208>>3];A[b+216>>3]=A[a+216>>3];A[b+224>>3]=A[a+224>>3];A[b+232>>3]=A[a+232>>3];A[b+240>>3]=A[a+240>>3];A[b+248>>3]=A[a+248>>3];A[b+256>>3]=A[a+256>>3];c=v[a+392>>2];v[b+392>>2]=c;if((c|0)>=1){c=0;while(1){d=c<<2;e=v[(d+a|0)+264>>2];g=b+d|0,h=Qa[v[v[e>>2]+8>>2]](e)|0,v[g+264>>2]=h;c=c+1|0;if((c|0)>2]){continue}break}}return f|0}function Yqa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=ab(392);f=jv(b,a);v[b>>2]=888152;A[b+184>>3]=A[a+184>>3];A[b+192>>3]=A[a+192>>3];A[b+200>>3]=A[a+200>>3];A[b+208>>3]=A[a+208>>3];A[b+216>>3]=A[a+216>>3];A[b+224>>3]=A[a+224>>3];A[b+232>>3]=A[a+232>>3];A[b+240>>3]=A[a+240>>3];c=v[a+376>>2];v[b+376>>2]=c;if((c|0)>=1){c=0;while(1){d=c<<2;e=v[(d+a|0)+248>>2];g=b+d|0,h=Qa[v[v[e>>2]+8>>2]](e)|0,v[g+248>>2]=h;c=c+1|0;if((c|0)>2]){continue}break}}v[b+380>>2]=v[a+380>>2];v[b+384>>2]=v[a+384>>2];return f|0}function UL(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;a:{if(!c){break a}h=v[a+4>>2];if(!h){break a}f=v[a+44>>2];if(!f){break a}f=b>>>0>>0?b:f;b:{if(!f){break b}h=h+40|0;d=d?d:c;e=e?e:d;b=0;if((f|0)!=1){i=f&-2;while(1){g=h+(b<<2)|0;t[g+2|0]=w[b+c|0];t[g+1|0]=w[b+d|0];t[g|0]=w[b+e|0];g=b|1;j=h+(g<<2)|0;t[j+2|0]=w[c+g|0];t[j+1|0]=w[d+g|0];t[j|0]=w[e+g|0];b=b+2|0;i=i-2|0;if(i){continue}break}}if(!(f&1)){break b}f=h+(b<<2)|0;t[f+2|0]=w[b+c|0];t[f+1|0]=w[b+d|0];t[f|0]=w[b+e|0]}t[a+481|0]=0}}function b8(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if((b|0)>=1){a:{d=v[a+24>>2];e=d?d-20|0:0;c=v[e+24>>2];if((c|0)>=(b|0)){break a}while(1){b=b-c|0;d=d?d-20|0:0;c=v[d+48>>2];c=Qa[v[v[c>>2]+12>>2]](c,v[d+52>>2],1,4096,0,0)|0;if(!c){if(w[d+56|0]){c=v[a>>2];v[c+20>>2]=43;Qa[v[c>>2]](a)}c=v[a>>2];v[c+20>>2]=123;Qa[v[c+4>>2]](a,-1);t[v[d+52>>2]]=255;t[v[d+52>>2]+1|0]=217;c=2}t[d+56|0]=0;v[d+24>>2]=c;v[d+20>>2]=v[d+52>>2];c=v[e+24>>2];if((c|0)>=(b|0)){break a}d=v[a+24>>2];continue}}v[e+24>>2]=c-b;v[e+20>>2]=v[e+20>>2]+b}}function zu(a,b,c){var d=0;d=Ma-16|0;Ma=d;if(a){v[a+744>>2]=34;t[d+12|0]=73;t[d+13|0]=68;t[d+14|0]=65;t[d+15|0]=84;t[d+11|0]=c;t[d+10|0]=c>>>8;t[d+9|0]=c>>>16;t[d+8|0]=c>>>24;jc(a,d+8|0,8);v[a+348>>2]=1229209940;Bf(a);gc(a,d+12|0,4);v[a+744>>2]=66;if(!(!b|!c)){jc(a,b,c);gc(a,b,c)}v[a+744>>2]=130;b=v[a+384>>2];b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);t[d+4|0]=b;t[d+5|0]=b>>>8;t[d+6|0]=b>>>16;t[d+7|0]=b>>>24;jc(a,d+4|0,4)}b=v[a+272>>2];v[a+224>>2]=v[a+268>>2];v[a+228>>2]=b;v[a+200>>2]=v[a+200>>2]|4;Ma=d+16|0}function uka(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a:{if((c|0)<1){break a}c=c-1|0;if(!d){while(1){d=a;e=v[b>>2];if(e){v[e+4>>2]=v[e+4>>2]+1;e=v[b>>2]}else{e=0}v[d>>2]=e;b=b+4|0;a=a+4|0;d=(c|0)>0;c=c-1|0;if(d){continue}break a}}while(1){d=c;c=a;e=v[b>>2];if(e){v[e+4>>2]=v[e+4>>2]+1;e=v[b>>2]}else{e=0}v[c>>2]=e;c=v[b>>2];v[b>>2]=0;b:{if(!c){break b}e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(e){break b}e=v[c+4>>2];if(!e){v[c+4>>2]=-32767}if(!e){Qa[v[v[c>>2]+4>>2]](c)}}c=d-1|0;b=b+4|0;a=a+4|0;if((d|0)>0){continue}break}}}function l3a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=-1;a:{if(Fh(b,v[a+24>>2])){break a}if(Fh(b,v[a+20>>2])){break a}if(wg(b,v[a+28>>2])){break a}d=v[b+8>>2];if(d&7){break a}e=w[a+32|0];c=v[b+64>>2];if(!((c|0)<0|(c|0)>v[b+60>>2])){v[b+8>>2]=d|4;return-1}v[b+4>>2]=v[b+4>>2]|32;c=-1;d=v[b+28>>2];v[b+28>>2]=d-1;b:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;t[c|0]=e;break b}if((Cb(b,e)|0)==-1){break a}}c=-1;if(dr(b,w[a+33|0])){break a}if(dr(b,w[a+34|0])){break a}c=dr(b,w[a+35|0])?-1:0}return c|0}function iZa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;if(v[a+2308>>2]){g=v[a+2300>>2];c=v[a+2312>>2];b=v[a+2316>>2];while(1){d=w[c+2|0];e=w[c+1|0];f=w[c|0];a:{if(!(!w[g+56|0]|(f|0)!=x[g+838>>1]|(e|0)!=x[g+840>>1])){if((d|0)==x[g+842>>1]){break a}}t[b+6|0]=255;t[b+7|0]=255}f=Qa[v[a+2296>>2]](f)|0;e=Qa[v[a+2296>>2]](e)|0;d=Qa[v[a+2296>>2]](d)|0;t[b+3|0]=(e|0)!=0;t[b+2|0]=e>>>8;t[b+1|0]=(f|0)!=0;t[b|0]=f>>>8;t[b+5|0]=(d|0)!=0;t[b+4|0]=d>>>8;b=b+8|0;c=c+3|0;h=h+1|0;if(h>>>0>2]){continue}break}}return 0}function eS(a,b,c){var d=0,e=0,f=0;a:{f=v[b+156>>2];if(f){while(1){e=0;d=v[f+8>>2];if(d){v[d+4>>2]=v[d+4>>2]+1;e=v[f+8>>2]}v[a>>2]=e;if(v[e+8>>2]==v[v[c>>2]+8>>2]){break a}v[a>>2]=0;d=v[e+4>>2]-1|0;v[e+4>>2]=d;if(!d){d=v[e+4>>2];if(!d){v[e+4>>2]=-32767}if(!d){Qa[v[v[e>>2]+4>>2]](e)}}f=v[f>>2];if(f){continue}break}}e=ab(12);v[e>>2]=0;v[e+4>>2]=0;v[e+8>>2]=0;f=e;d=v[c>>2];if(d){v[d+4>>2]=v[d+4>>2]+1;d=v[c>>2]}else{d=0}v[f+8>>2]=d;de(b+148|0,e);b=v[c>>2];if(b){v[b+4>>2]=v[b+4>>2]+1;b=v[c>>2]}else{b=0}v[a>>2]=b}}function UG(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;while(1){d=g<<3;e=d+b|0;f=v[e>>2];h=c+d|0;a:{if(v[h>>2]){if(!f){f=1;v[e>>2]=1;d=Pb(256,8);v[e+4>>2]=d;v[d>>2]=0;v[v[e+4>>2]+4>>2]=0;while(1){d=f<<3;v[d+v[e+4>>2]>>2]=0;v[(d+v[e+4>>2]|0)+4>>2]=0;i=d+8|0;v[i+v[e+4>>2]>>2]=0;v[(v[e+4>>2]+i|0)+4>>2]=0;d=d+16|0;v[d+v[e+4>>2]>>2]=0;v[(d+v[e+4>>2]|0)+4>>2]=0;f=f+3|0;if((f|0)!=256){continue}break}}UG(a,v[e+4>>2],v[h+4>>2]);break a}if(f){fb(1,-1,242483,0);break a}v[e+4>>2]=v[h+4>>2]}g=g+1|0;if((g|0)!=256){continue}break}}function JDa(a){a=a|0;var b=0,c=0,d=0,e=0;a:{if(!w[a+632|0]){break a}c=v[a+100>>2];b=v[a+476>>2];if((b|0)!=151552){if((b|0)!=131072){break a}b=v[a+640>>2];if(b){Qa[v[c+8>>2]](c,b)}b=0;u[a+636>>1]=0;v[a+640>>2]=0;if(x[a+638>>1]){while(1){d=b<<2;e=v[d+v[a+644>>2]>>2];if(e){Qa[v[c+8>>2]](c,e)}v[v[a+644>>2]+d>>2]=0;b=b+1|0;if(b>>>0>1]){continue}break}}b=v[a+644>>2];if(b){Qa[v[c+8>>2]](c,b)}u[a+638>>1]=0;v[a+644>>2]=0;break a}b=v[a+640>>2];if(b){Qa[v[c+8>>2]](c,b)}u[a+636>>1]=0;v[a+640>>2]=0}t[a+632|0]=0}function A9(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;if((c|0)>=1){a=v[a+12>>2];while(1){a:{b:{f=v[a>>2];h=f>>16;i=h&32767;if(i){d=Lp((+(i|0)+.5)*.0027076061740622863+-44.3614195558365);d=h&32768?-d:d;if(!(d<=0)){break b}}v[b+8>>2]=0;v[b>>2]=0;v[b+4>>2]=0;break a}z[b+4>>2]=d;g=(+((f>>>8&255)>>>0)+.5)*.0024390243902439024;j=(+((f&255)>>>0)+.5)*.0024390243902439024;e=1/(g*6+j*-16+12);g=g*9*e;e=j*4*e;z[b>>2]=d*(g/e);z[b+8>>2]=d*((1-g-e)/e)}a=a+4|0;b=b+12|0;f=(c|0)>1;c=c-1|0;if(f){continue}break}}}function _z(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{if(!a|!b){break a}e=w[b|0];if(!e){return a}c=b;while(1){g=g+1|0;d=w[c+1|0];c=c+1|0;if(d){continue}break}c=w[a|0];if(!c){break a}h=w[e+874496|0];while(1){d=a;b:{if(w[(c&255)+874496|0]!=(h|0)){break b}if((b|0)==(d|0)){return b}a=g;f=b;e=d;c=w[b|0];if(w[c+874496|0]!=(h|0)){break b}while(1){a=a-1|0;if(!a){return d}if(!(c&255)){return d}c=w[f+1|0];f=f+1|0;e=e+1|0;if(w[w[e|0]+874496|0]==w[c+874496|0]){continue}break}}a=d+1|0;c=w[d+1|0];if(c){continue}break}}return 0}function Ql(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=ce(b);g=Ma-16|0;Ma=g;c=a;a:{if(w[c+11|0]>>>7|0){e=v[c+4>>2];break a}e=w[c+11|0]}c=w[c+11|0]>>>7|0?(v[a+8>>2]&2147483647)-1|0:1;b:{if(c-e>>>0>=d>>>0){if(!d){break b}c=a;c:{if(w[c+11|0]>>>7|0){f=v[c>>2];break c}f=c}h=f;if(e){Rl((d<<2)+f|0,f,e);b=((b>>>0>=f>>>0?(e<<2)+f>>>0>b>>>0?d:0:0)<<2)+b|0}Rl(h,b,d);d=d+e|0;b=d;d:{if(w[c+11|0]>>>7|0){v[a+4>>2]=b;break d}t[a+11|0]=b}v[g+12>>2]=0;v[(d<<2)+f>>2]=v[g+12>>2];break b}sr(a,c,(d+e|0)-c|0,e,0,0,d,b)}Ma=g+16|0;return a}function I_a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=v[v[a+536>>2]+88>>2];b=(v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0;d=v[a+644>>2];a:{b:{c:{switch(w[a+2253|0]){case 0:case 4:break a;case 1:break c;default:break b}}if(v[a+588>>2]<=0){break b}while(1){c=w[b|0]|w[b+1|0]<<8;f=(c<<8|c>>>8)&65535;c=w[d|0]|w[d+1|0]<<8;c=f+((c<<8|c>>>8)&65535)&65535;c=c<<8|c>>>8;t[b|0]=c;t[b+1|0]=c>>>8;d=d+2|0;b=b+2|0;e=e+1|0;if((e|0)>2]){continue}break}}return 0}cb(b,d,v[a+588>>2]<<1);return 0}function xg(a,b,c,d){var e=0,f=0,g=0,h=0;a:{if((b|0)>=1){while(1){e=v[a+8>>2];if(e&7){return-1}f=v[a+64>>2];if(!((f|0)<0|v[a+60>>2]<(f|0))){v[a+8>>2]=e|4;return-1}f=d;g=b;g=(g<<3)-8|0;e=g&-8;g=e&31;f=(e&63)>>>0>=32?f>>>g|0:((1<>>g;v[a+4>>2]=v[a+4>>2]|32;e=v[a+28>>2];v[a+28>>2]=e-1;b:{if((e|0)>=1){v[a+60>>2]=v[a+60>>2]+1;e=v[a+24>>2];v[a+24>>2]=e+1;t[e|0]=f;break b}e=-1;if((Cb(a,f&255)|0)==-1){break a}}f=b>>>0>1&(h|0)>=0|(h|0)>0;e=b;b=e-1|0;h=h-(e>>>0<1)|0;if(f){continue}break}}e=0}return e}function Gd(a,b,c){var d=0;d=Ma-16|0;Ma=d;v[d+4>>2]=c;MQ(d,b,d+4|0);b=v[d>>2];a:{if(b){Qa[v[v[b>>2]+28>>2]](d+8|0,b,1);break a}v[d+8>>2]=0}jb(a,d+8|0);b=v[d+8>>2];v[d+8>>2]=0;b:{if(!b){break b}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break b}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[a>>2];v[a+4>>2]=v[(b?b+12|0:1117e3)>>2];b=v[d>>2];v[d>>2]=0;c:{if(!b){break c}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break c}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}Ma=d+16|0;return a}function zAa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=b;c=v[a+8>>2];d=v[a+12>>2];b=8;a:{b:{if(c>>>0>=d>>>0){break b}b=d-c|0;if((b|0)<=3){cb(v[a+4>>2]+37|0,c,b);t[v[a+4>>2]+36|0]=b;v[a+8>>2]=b+c;b=11;break b}b=w[c|0];d=w[c+1|0];f=w[c+2|0];g=w[c+3|0];v[a+8>>2]=c+4;d=f<<16|g<<24|d<<8;b=d|b;if(b>>>0<=1114111&(d&-2048)!=55296){break a}b=v[a+4>>2];c=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);t[b+37|0]=c;t[b+38|0]=c>>>8;t[b+39|0]=c>>>16;t[b+40|0]=c>>>24;t[v[a+4>>2]+36|0]=4;b=12}v[e>>2]=b;b=65535}return b|0}function vma(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Ma-16|0;Ma=d;v[d+12>>2]=0;v[a>>2]=0;a:{b:{if(!(Qa[v[v[b>>2]+20>>2]](b,c,d+12|0)|0)){break b}c=v[d+12>>2];b=v[c+4>>2];if(b>>>0>=4294967280){break a}f=v[c>>2];c:{d:{if(b>>>0>=11){e=b+16&-16;c=ab(e);v[d+8>>2]=e|-2147483648;v[d>>2]=c;v[d+4>>2]=b;break d}t[d+11|0]=b;c=d;if(!b){break c}}cb(c,f,b)}t[b+c|0]=0;UH(a,d);a=v[d+12>>2];if(a){e:{if(!w[a+8|0]){break e}b=v[a>>2];if(!b){break e}$a(b)}$a(a)}if(t[d+11|0]>-1){break b}$a(v[d>>2])}Ma=d+16|0;return}sc();L()}function TJa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;e=Ma-16|0;Ma=e;a=v[v[a+156>>2]>>2];c=v[a+4>>2];a:{if(!c|v[a+40>>2]){break a}c=yb(v[a>>2],8,0,c<<1,0,e+12|0);v[a+40>>2]=c;b=v[e+12>>2];if(b){break a}t[a+16|0]=1;f=c+(v[a+4>>2]<<3)|0;v[a+44>>2]=f;d=a;b=v[a+24>>2];if(b){b=b+(u[a+22>>1]<<3)|0}else{b=0}v[d+60>>2]=b;d=a- -64|0;b=v[a+28>>2];if(b){b=b+u[a+22>>1]|0}else{b=0}v[d>>2]=b;d=a;b=v[a+32>>2];if(b){b=b+(u[a+20>>1]<<1)|0}else{b=0}v[d+68>>2]=b;b=u[a+22>>1]<<3;v[a+80>>2]=b+f;v[a+76>>2]=b+c;b=0}Ma=e+16|0;return b|0}function DAa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=b;c=v[a+8>>2];d=v[a+12>>2];b=8;a:{b:{if(c>>>0>=d>>>0){break b}b=d-c|0;if((b|0)<=3){cb(v[a+4>>2]+37|0,c,b);t[v[a+4>>2]+36|0]=b;v[a+8>>2]=b+c;b=11;break b}b=w[c+3|0];d=w[c+2|0];f=w[c+1|0];g=w[c|0];v[a+8>>2]=c+4;d=f<<16|g<<24|d<<8;b=d|b;if(b>>>0<=1114111&(d&-2048)!=55296){break a}b=v[a+4>>2];c=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);t[b+37|0]=c;t[b+38|0]=c>>>8;t[b+39|0]=c>>>16;t[b+40|0]=c>>>24;t[v[a+4>>2]+36|0]=4;b=12}v[e>>2]=b;b=65535}return b|0}function $Va(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;if(!(w[a+288|0]?w[a+285|0]:0)){ob(a,1029,0,0);return 1029}if(c>>>0<=5){ob(a,1028,0,0);return 1028}a:{if(!w[a+112|0]){break a}f=Qa[v[b+4>>2]](a,b,e)|0;if(f){break a}g=v[e>>2];b=d;f=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);v[g+32>>2]=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);b=w[b+4|0];f=c-5|0;v[g+40>>2]=f;t[g+36|0]=b;b=Qa[v[a+152>>2]](c-4|0)|0;v[v[e>>2]+44>>2]=b;b=v[v[e>>2]+44>>2];if(!b){ob(a,1,0,0);return 1}cb(b,d+5|0,f);f=0}return f|0}function Dp(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;a:{if(f&64){c=f+-64|0;b=c&31;if((c&63)>>>0>=32){c=0;b=e>>>b|0}else{c=e>>>b|0;b=((1<>>b}d=0;e=0;break a}if(!f){break a}h=e;i=d;j=64-f|0;g=j&31;if((j&63)>>>0>=32){h=i<>>32-g|h<>>0>=32){g=0;b=c>>>b|0}else{g=c>>>b|0;b=((1<>>b}b=j|b;c=g|h;g=d;d=f&31;if((f&63)>>>0>=32){h=0;d=e>>>d|0}else{h=e>>>d|0;d=((1<>>d}e=h}v[a>>2]=b;v[a+4>>2]=c;v[a+8>>2]=d;v[a+12>>2]=e}function uma(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Ma-16|0;Ma=d;v[d+12>>2]=0;f=Ss(a);a:{b:{if(!(Qa[v[v[b>>2]+20>>2]](b,c,d+12|0)|0)){break b}b=v[d+12>>2];a=v[b+4>>2];if(a>>>0>=4294967280){break a}b=v[b>>2];c:{d:{if(a>>>0>=11){e=a+16&-16;c=ab(e);v[d+8>>2]=e|-2147483648;v[d>>2]=c;v[d+4>>2]=a;break d}t[d+11|0]=a;c=d;if(!a){break c}}cb(c,b,a)}t[a+c|0]=0;mn(f,d);a=v[d+12>>2];if(a){e:{if(!w[a+8|0]){break e}b=v[a>>2];if(!b){break e}$a(b)}$a(a)}if(t[d+11|0]>-1){break b}$a(v[d>>2])}Ma=d+16|0;return}sc();L()}function c4(a,b,c,d,e,f){a:{if(b>>>0>c>>>0){break a}b:{switch(d|0){case 0:while(1){d=b&65535;c:{if(d){d=ig(a,d);break c}d=v[a+528>>2]}if(d){v[d+40>>2]=f;v[d+36>>2]=e}b=b+1|0;if((b&65535)>>>0<=c>>>0){continue}break};break a;case 1:while(1){d=b&65535;d:{if(d){d=ig(a,d);break d}d=v[a+528>>2]}if(d){v[d+36>>2]=v[d+36>>2]+e;v[d+40>>2]=v[d+40>>2]+f}b=b+1|0;if((b&65535)>>>0<=c>>>0){continue}break};break a;default:break b}}while(1){d=b&65535;if(d){ig(a,d)}b=b+1|0;if((b&65535)>>>0<=c>>>0){continue}break}}return 0}function af(a,b,c){var d=0,e=0,f=0;a:{d=v[a+4>>2];if((d&48)!=48){f=v[a+8>>2];v[a+8>>2]=f&-2;b:{c:{if(d&16){if((c|0)!=1){break c}b=b-v[a+28>>2]|0;break c}if(!(d&32)){break c}e=-1;if(!(w[a|0]&6)|f&6){break b}f=v[a+16>>2];e=v[a+24>>2]-f|0;if((e|0)>=1){if((Qa[v[v[a+52>>2]+4>>2]](v[a+56>>2],f,e)|0)!=(e|0)){break a}d=v[a+4>>2]}d=d|32}v[a+28>>2]=0;v[a+24>>2]=v[a+16>>2];v[a+4>>2]=d&-49;a=Qa[v[v[a+52>>2]+8>>2]](v[a+56>>2],b,c)|0;e=(a|0)>-1?a:-1}return e}O(16782,6782,648,188052);L()}v[a+8>>2]=v[a+8>>2]|2;return-1}function mC(a,b,c){var d=0;d=0;a:{if(v[a>>2]){break a}b:{if(c>>>0<8){break b}a=w[b|0];c:{if((a|0)!=87|w[b+1|0]!=87|(w[b+2|0]!=66|w[b+3|0]!=66)){break c}if(w[b+4|0]!=49|w[b+5|0]!=49|w[b+6|0]!=49){break c}d=1;if(w[b+7|0]==49){break a}}if(a|c>>>0<16|(w[b+1|0]|w[b+2|0]!=2)){break b}if(w[b+3|0]|w[b+4|0]!=2|(w[b+5|0]!=16|w[b+6|0]!=201)){break b}if(w[b+7|0]|w[b+8|0]!=2|(w[b+9|0]|w[b+10|0]!=200)){break b}if(w[b+11|0]!=6|w[b+12|0]!=76|(w[b+13|0]|w[b+14|0]!=2)){break b}if(w[b+15|0]){break b}return 1}d=0}return d}function tZa(a){a=a|0;var b=0,c=0,d=0,e=0;c=v[a+2308>>2];a:{if(!c){break a}e=c&3;d=v[a+2312>>2];a=v[a+2316>>2];if(c-1>>>0>=3){c=c&-4;while(1){b=x[d>>1];u[a+4>>1]=b;u[a+2>>1]=b;u[a>>1]=b;b=x[d+2>>1];u[a+10>>1]=b;u[a+8>>1]=b;u[a+6>>1]=b;b=x[d+4>>1];u[a+16>>1]=b;u[a+14>>1]=b;u[a+12>>1]=b;b=x[d+6>>1];u[a+22>>1]=b;u[a+20>>1]=b;u[a+18>>1]=b;a=a+24|0;d=d+8|0;c=c-4|0;if(c){continue}break}}if(!e){break a}while(1){c=x[d>>1];u[a+4>>1]=c;u[a+2>>1]=c;u[a>>1]=c;a=a+6|0;d=d+2|0;e=e-1|0;if(e){continue}break}}return 0}function cn(a,b){var c=0,d=0,e=0;a:{b:{d=v[a+4>>2];c:{if(!d){v[a+8>>2]=1e3;c=gb(1e3);v[a+16>>2]=0;v[a+4>>2]=c;break c}c=v[a+8>>2];e=v[a+16>>2]+4|0;if(c>>>0>=e>>>0){break b}while(1){c=c<<1;if(e>>>0>c>>>0){continue}break}v[a+8>>2]=c;c=Wd(d,c);if(c){v[a+4>>2]=c;c=c+v[a+16>>2]|0;break c}c=gb(v[a+8>>2]);d=v[a+4>>2];c=cb(c,d,v[a+16>>2]);$a(d);v[a+4>>2]=c;c=c+v[a+16>>2]|0}v[a+12>>2]=c;break a}c=v[a+12>>2]}t[c|0]=b;t[c+1|0]=b>>>8;t[c+2|0]=b>>>16;t[c+3|0]=b>>>24;v[a+12>>2]=v[a+12>>2]+4;v[a+16>>2]=v[a+16>>2]+4}function cJ(a,b){var c=0,d=0,e=0,f=0;c=v[b+4>>2];if(c){if(v[b>>2]){while(1){d=a;f=e<<4;c=v[(f+c|0)+8>>2];if(c){Qa[v[d+8>>2]](d,c)}d=v[b+4>>2]+f|0;v[d+8>>2]=0;d=v[d+12>>2];if(d){Qa[v[a+8>>2]](a,d)}c=v[b+4>>2];v[(f+c|0)+12>>2]=0;e=e+1|0;if(e>>>0>2]){continue}break}}if(c){Qa[v[a+8>>2]](a,c)}v[b+4>>2]=0}c=v[b+16>>2];if(c){if(v[b+12>>2]){e=0;while(1){d=e<<2;c=v[d+c>>2];if(c){Qa[v[a+8>>2]](a,c)}c=v[b+16>>2];v[d+c>>2]=0;e=e+1|0;if(e>>>0>2]){continue}break}}if(c){Qa[v[a+8>>2]](a,c)}v[b+16>>2]=0}}function Hca(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;if(!(!f|!e)){a=e&-2;d=e&1;h=h<<2;c=g<<1;while(1){g=a;if((e|0)!=1){while(1){v[b>>2]=w[i+1|0]|w[j+1|0]<<8|w[k+1|0]<<16|-16777216;v[b+4>>2]=w[i+3|0]|w[j+3|0]<<8|w[k+3|0]<<16|-16777216;b=b+8|0;k=k+4|0;j=j+4|0;i=i+4|0;g=g-2|0;if(g){continue}break}}f=f-1|0;if(d){v[b>>2]=w[i+1|0]|w[j+1|0]<<8|w[k+1|0]<<16|-16777216;k=k+2|0;j=j+2|0;i=i+2|0;b=b+4|0}b=b+h|0;k=c+k|0;j=c+j|0;i=c+i|0;if(f){continue}break}}}function bm(a,b){var c=0,d=0,e=0;d=Ma-16|0;Ma=d;a:{if(a>>>0>6){break a}if((a|0)==6){if(b){a=v[248591];v[d+8>>2]=v[248590];v[d+12>>2]=a;a=v[248589];v[d>>2]=v[248588];v[d+4>>2]=a;a=0;while(1){c=LD(b,59);e=c-b|0;if((e|0)<=15){cb(d,b,e);t[d+e|0]=0;b=w[c|0]?c+1|0:b}_P(a,d);a=a+1|0;if((a|0)!=6){continue}break}}b=1184912;a=0;while(1){c=v[(a<<2)+1184868>>2];e=c?c+8|0:312822;c=zb(e);cb(b,e,c);c=b+c|0;t[c|0]=59;b=c+1|0;a=a+1|0;if((a|0)!=6){continue}break}t[c|0]=0;c=1184912;break a}c=_P(a,b)}Ma=d+16|0;return c}function xE(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=v[c>>2];g=v[b>>2];if(!(v[a+44>>2]?v[a+36>>2]:0)){aR(a)}f=v[a+32>>2];h=f&4;e=h?g:d;j=f&2?v[a+12>>2]+(v[a+4>>2]-e|0)|0:e;e=v[a+40>>2];i=(e|0)/2|0;k=b;b=v[a>>2];d=h?d:g;d=B(v[a+36>>2],(f&1?(b+v[a+8>>2]|0)-d|0:d)-b|0);a:{if((d|0)>=0){b=(d+i|0)/(e|0)|0;break a}b=0-((i-d|0)/(e|0)|0)|0}v[k>>2]=b+v[a+16>>2];b=v[a+48>>2];d=(b|0)/2|0;f=v[a+20>>2];a=B(v[a+44>>2],j-v[a+4>>2]|0);b:{if((a|0)>=0){a=(a+d|0)/(b|0)|0;break b}a=0-((d-a|0)/(b|0)|0)|0}v[c>>2]=a+f}function N4(a,b,c){var d=0;a:{if(v[a>>2]|c>>>0<32|(w[b|0]|w[b+1|0])){break a}if(w[b+2|0]|w[b+3|0]!=12|(w[b+4|0]!=106|w[b+5|0]!=80)){break a}if(w[b+6|0]!=32|w[b+7|0]!=32|(w[b+8|0]!=13|w[b+9|0]!=10)){break a}if(w[b+10|0]!=135|w[b+11|0]!=10|(w[b+12|0]|w[b+13|0])){break a}if(w[b+14|0]|w[b+16|0]!=102|(w[b+17|0]!=116|w[b+18|0]!=121)){break a}if(w[b+19|0]!=112|w[b+20|0]!=106|(w[b+21|0]!=112|w[b+22|0]!=50)){break a}if(w[b+24|0]|w[b+23|0]!=32|(w[b+25|0]|w[b+26|0])){break a}if(w[b+27|0]){break a}d=1}return d}function xca(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,h=0,i=0,j=0;a=Ma-32|0;Ma=a;v[a+24>>2]=37;v[a+28>>2]=0;h=a+24|0;$n(h|1,260274,1,v[c+4>>2]);i=v[c+4>>2];g=a-32|0;Ma=g;j=te();v[a>>2]=e;v[a+4>>2]=f;e=i>>>9&1;i=Ih(g,e+23|0,j,h,a)+g|0;j=tj(g,i,c);f=g-((e<<3)+187&240)|0;Ma=f;e=a+8|0;h=v[c+28>>2];v[e>>2]=h;v[h+4>>2]=v[h+4>>2]+1;yx(g,j,i,f,a+20|0,a+16|0,e);e=v[e>>2];g=v[e+4>>2]-1|0;v[e+4>>2]=g;if((g|0)==-1){Qa[v[v[e>>2]+8>>2]](e)}b=Wm(b,f,v[a+20>>2],v[a+16>>2],c,d);Ma=a+32|0;return b|0}function vca(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,h=0,i=0,j=0;a=Ma-32|0;Ma=a;v[a+24>>2]=37;v[a+28>>2]=0;h=a+24|0;$n(h|1,260274,0,v[c+4>>2]);i=v[c+4>>2];g=a-32|0;Ma=g;j=te();v[a>>2]=e;v[a+4>>2]=f;e=i>>>9&1;i=Ih(g,e+23|0,j,h,a)+g|0;j=tj(g,i,c);f=g-((e<<3)+187&240)|0;Ma=f;e=a+8|0;h=v[c+28>>2];v[e>>2]=h;v[h+4>>2]=v[h+4>>2]+1;yx(g,j,i,f,a+20|0,a+16|0,e);e=v[e>>2];g=v[e+4>>2]-1|0;v[e+4>>2]=g;if((g|0)==-1){Qa[v[v[e>>2]+8>>2]](e)}b=Wm(b,f,v[a+20>>2],v[a+16>>2],c,d);Ma=a+32|0;return b|0}function lva(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;a:{e=v[a+392>>2];if(y[e+8>>2]>=y[a+284>>2]){break a}i=e+24|0;h=e+12|0;g=v[h>>2];while(1){f=v[a+280>>2];if(g>>>0>>0){Qa[v[v[a+396>>2]+4>>2]](a,b,c,d,i,h,f);f=v[a+280>>2];g=v[h>>2]}if((g|0)!=(f|0)){break a}f=Qa[v[v[a+400>>2]+4>>2]](a,i)|0;g=v[e+16>>2];if(!f){if(g){break a}v[c>>2]=v[c>>2]-1;v[e+16>>2]=1;return}if(g){v[c>>2]=v[c>>2]+1;v[e+16>>2]=0}g=0;v[e+12>>2]=0;f=v[e+8>>2]+1|0;v[e+8>>2]=f;if(f>>>0>2]){continue}break}}}function QJa(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,j=0;b=v[a+452>>2];c=v[b+24>>2];a:{if(c){d=v[b+12>>2];break a}d=Qa[v[v[a+4>>2]+28>>2]](a,v[b+8>>2],v[b+20>>2],v[b+16>>2],0)|0;v[b+12>>2]=d;c=v[b+24>>2]}h=v[a+116>>2]-v[b+20>>2]|0;i=v[f>>2];g=g-i|0;j=v[b+16>>2]-c|0;g=g>>>0>>0?g:j;g=g>>>0>h>>>0?h:g;Qa[v[v[a+480>>2]+4>>2]](a,(c<<2)+d|0,(i<<2)+e|0,g);v[f>>2]=g+v[f>>2];a=g+v[b+24>>2]|0;v[b+24>>2]=a;c=a;a=v[b+16>>2];if(c>>>0>=a>>>0){v[b+24>>2]=0;v[b+20>>2]=a+v[b+20>>2]}}function rka(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{if((b|0)<1){break a}c=v[279250];e=b-1|0;d=b&3;if(d){while(1){v[a+24>>2]=0;v[a+16>>2]=0;v[a+28>>2]=c;v[a+20>>2]=c;a=a+32|0;b=b-1|0;d=d-1|0;if(d){continue}break}}if(e>>>0<3){break a}while(1){v[a+24>>2]=0;v[a+16>>2]=0;v[a+124>>2]=c;v[a+120>>2]=0;v[a+116>>2]=c;v[a+112>>2]=0;v[a+92>>2]=c;v[a+88>>2]=0;v[a+84>>2]=c;v[a+80>>2]=0;v[a+60>>2]=c;v[a+56>>2]=0;v[a+52>>2]=c;v[a+48>>2]=0;v[a+28>>2]=c;v[a+20>>2]=c;a=a+128|0;d=(b|0)>4;b=b-4|0;if(d){continue}break}}}function lra(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=ab(144);c=A[a+48>>3];d=A[a+56>>3];e=v[a+12>>2];f=v[a+8>>2];v[b+4>>2]=1;v[b+128>>2]=13;v[b+64>>2]=13;v[b>>2]=888052;v[b+8>>2]=f;v[b+12>>2]=e;A[b+16>>3]=A[a+16>>3];A[b+24>>3]=A[a+24>>3];A[b+32>>3]=A[a+32>>3];g=A[a+40>>3];A[b+56>>3]=d;A[b+48>>3]=c;A[b+40>>3]=g;ee(a- -64|0,b- -64|0);A[b+80>>3]=A[a+80>>3];A[b+88>>3]=A[a+88>>3];A[b+96>>3]=A[a+96>>3];A[b+104>>3]=A[a+104>>3];A[b+112>>3]=A[a+112>>3];A[b+120>>3]=A[a+120>>3];ee(a+128|0,b+128|0);return b|0}function gAa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=v[a+20>>2];if((d|0)!=102){e=v[a>>2];v[e+24>>2]=d;v[e+20>>2]=21;Qa[v[v[a>>2]>>2]](a)}e=v[a+32>>2];f=v[a+260>>2];if(e>>>0<=f>>>0){b=v[a>>2];v[b+20>>2]=126;Qa[v[b+4>>2]](a,-1);return 0}d=v[a+8>>2];if(d){v[d+8>>2]=e;v[d+4>>2]=f;Qa[v[d>>2]](a)}d=v[a+388>>2];if(v[d+12>>2]){Qa[v[d+4>>2]](a)}d=c;c=v[a+272>>2]<<3;if(d>>>0>>0){d=v[a>>2];v[d+20>>2]=24;Qa[v[d>>2]](a)}if(!(Qa[v[v[a+400>>2]+4>>2]](a,b)|0)){return 0}v[a+260>>2]=c+v[a+260>>2];return c|0}function L0(a){v[a+72>>2]=0;v[a+76>>2]=0;v[a+64>>2]=1;v[a+56>>2]=0;v[a+60>>2]=0;v[a+48>>2]=0;v[a+52>>2]=1072693248;v[a+40>>2]=-1030792151;v[a+44>>2]=1072703733;v[a+32>>2]=0;v[a+36>>2]=1074790400;v[a+24>>2]=1;v[a+16>>2]=0;v[a+20>>2]=1061158912;v[a+8>>2]=0;v[a+12>>2]=1071644672;v[a>>2]=0;v[a+4>>2]=1071644672;v[a+92>>2]=0;v[a+96>>2]=0;v[a+132>>2]=0;v[a+136>>2]=0;v[a+112>>2]=0;v[a+116>>2]=0;v[a+80>>2]=0;v[a+84>>2]=0;v[a+88>>2]=64;v[a+100>>2]=0;v[a+104>>2]=0;v[a+108>>2]=64;v[a+120>>2]=0;v[a+124>>2]=0}function Ez(a){var b=0,c=0,d=0,e=0;b=v[a>>2];e=a+4|0;if((b|0)!=(e|0)){while(1){d=b;b=v[b+24>>2];if(b){c=v[b+32>>2];if(c){$a(c)}c=v[b+36>>2];if(c){$a(c)}if(t[b+31|0]<=-1){$a(v[b+20>>2])}if(t[b+19|0]<=-1){$a(v[b+8>>2])}$a(b)}c=v[d+4>>2];a:{if(!c){b=v[d+8>>2];if((d|0)==v[b>>2]){break a}d=d+8|0;while(1){c=v[d>>2];d=c+8|0;b=v[c+8>>2];if((c|0)!=v[b>>2]){continue}break}break a}while(1){b=c;c=v[b>>2];if(c){continue}break}}if((b|0)!=(e|0)){continue}break}}yv(a,v[a+4>>2]);v[a>>2]=e;v[a+4>>2]=0;v[a+8>>2]=0}function oh(a,b,c){var d=0,e=0,f=0;a:{if(!a|!b){break a}b:{c:{d:{switch(c|0){case 1:b=se(0,b);break c;case 0:break b;case 2:break d;default:break a}}if(b){v[b+16>>2]=v[b+16>>2]+1}}if(!b){break a}}f=v[a>>2];c=v[a+4>>2];e:{if((f|0)<(c|0)){break e}d=c<<1;if((d|0)>(c|0)){c=Kj(a+12|0,c<<2,c<<3);v[a+12>>2]=c;if(!c){break e}v[a+4>>2]=d}c=v[a+16>>2];f:{if(!c){break f}e=v[c+4>>2];if((e|0)<(d|0)){e=Kj(c+12|0,e<<2,d<<2);v[c+12>>2]=e;if(!e){break f}v[c+4>>2]=d}}}v[v[a+12>>2]+(f<<2)>>2]=b;v[a>>2]=v[a>>2]+1}}function jKa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=v[a+452>>2];a:{b:{switch(b|0){case 0:if(v[a+84>>2]){v[c+4>>2]=226;if(v[c+12>>2]){break a}d=c,e=Qa[v[v[a+4>>2]+28>>2]](a,v[c+8>>2],0,v[c+16>>2],1)|0,v[d+12>>2]=e;break a}v[c+4>>2]=v[v[a+472>>2]+4>>2];break a;case 3:if(!v[c+8>>2]){b=v[a>>2];v[b+20>>2]=3;Qa[v[b>>2]](a)}v[c+4>>2]=227;break a;case 2:if(!v[c+8>>2]){b=v[a>>2];v[b+20>>2]=3;Qa[v[b>>2]](a)}v[c+4>>2]=228;break a;default:break b}}b=v[a>>2];v[b+20>>2]=3;Qa[v[b>>2]](a)}v[c+20>>2]=0;v[c+24>>2]=0}function wS(a,b,c){var d=0,e=0;d=Ma-16|0;Ma=d;e=v[a+200>>2];if(e&1){a:{if(e&4){Db(a,64745);uc(a,c);break a}if(!(!b|!(w[b+8|0]&128))){Db(a,64791);uc(a,c);break a}if((c|0)!=9){Db(a,64947);uc(a,c);break a}c=d+7|0;Ye(a,c,9);gc(a,c,9);if(uc(a,0)){break a}c=a;a=w[d+7|0]|w[d+8|0]<<8|(w[d+9|0]<<16|w[d+10|0]<<24);e=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=w[d+11|0]|w[d+12|0]<<8|(w[d+13|0]<<16|w[d+14|0]<<24);ME(c,b,e,a<<24|a<<8&16711680|(a>>>8&65280|a>>>24),w[d+15|0])}Ma=d+16|0;return}dc(a,64462);L()}function ui(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=Ma-16|0;Ma=e;c=0;a:{if(!a){break a}b:{c:{if((b|0)>=128){d:{if((b|0)<2048){c=192;f=6;d=0;break d}if((b|0)<65536){g=1;c=224;f=12;d=6;break d}if((b|0)>=1114112){break b}g=1;c=240;f=18;h=1;d=12}t[a|0]=b>>>f|c;t[a+1|0]=b>>d&63|128;if(g){break c}c=(a+2|0)-a|0;break a}t[a|0]=b;c=1;break a}t[a+2|0]=b>>d-6&63|128;c=(a+3|0)-a|0;if(!h){break a}t[a+3|0]=b>>d-12&63|128;c=(a+4|0)-a|0;break a}v[e>>2]=b;nb(0,0,0,0,0,1,9,3,0,0,0,b,343805,e);c=0}Ma=e+16|0;return c}function mN(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=Ma-16|0;Ma=h;e=Ma-16|0;Ma=e;BD(a);Ma=e+16|0;if(w[b+11|0]>>>7|0){f=v[b+4>>2]}else{f=w[b+11|0]}i=zb(c);e=a;if(w[b+11|0]>>>7|0){b=v[b>>2]}j=b;g=Ma-16|0;Ma=g;a:{d=f+i|0;if(d>>>0<=4294967279){b:{if(d>>>0<=10){t[e+11|0]=f;b=e;break b}k=e;if(d>>>0>=11){b=d+16&-16;d=b-1|0;b=(d|0)==11?b:d}else{b=10}d=b+1|0;b=ab(d);v[k>>2]=b;v[e+8>>2]=d|-2147483648;v[e+4>>2]=f}sk(b,j,f);t[g+15|0]=0;t[b+f|0]=w[g+15|0];Ma=g+16|0;break a}sc();L()}Bp(a,c,i);Ma=h+16|0}function iFa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:{b:{c=v[a+28>>2];if(w[c+44|0]){break b}d=q_(c,v[b>>2],v[b+4>>2]);if(!d){break b}a=v[a+24>>2];if(v[a>>2]){break a}v[a>>2]=d;return}d=v[b+8>>2];g=v[b+12>>2];b=v[c+12>>2];c:{if((u[b+22>>1]+u[b+58>>1]|0)+1>>>0>y[b+4>>2]){b=Ch(b,1,0);if(b){break c}}b=v[c+20>>2];if(w[c+45|0]){c=v[b+8>>2];e=u[b+2>>1];f=v[b+4>>2]+(e<<3)|0;v[f+4>>2]=g>>10;v[f>>2]=d>>10;t[c+e|0]=1}u[b+2>>1]=x[b+2>>1]+1;b=0}if(!b){break a}a=v[a+24>>2];if(v[a>>2]){break a}v[a>>2]=b}}function XW(a,b){var c=0,d=0,e=0,f=0;d=Ma-16|0;Ma=d;a:{if(!v[a+336>>2]){break a}c=v[a+328>>2];if((c|0)<(b|0)){v[d>>2]=b;Qa[v[256654]](v[291043],345520,d);c=v[a+328>>2];b=c}if((c|0)<1|(b|0)<1){break a}e=b&3;if(b-1>>>0>=3){b=b&-4;while(1){f=c<<2;v[(f+v[a+336>>2]|0)-4>>2]=0;v[(v[a+336>>2]+f|0)-8>>2]=0;v[(v[a+336>>2]+f|0)-12>>2]=0;c=c-4|0;v[v[a+336>>2]+(c<<2)>>2]=0;b=b-4|0;if(b){continue}break}}if(e){while(1){c=c-1|0;v[v[a+336>>2]+(c<<2)>>2]=0;e=e-1|0;if(e){continue}break}}v[a+328>>2]=c}Ma=d+16|0}function Oh(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;a:{if(f&64){d=b;e=f+-64|0;b=e&31;if((e&63)>>>0>=32){e=d<>>32-b|c<>>0>=32){h=g<>>32-d|e<>>0>=32){f=0;d=d>>>e|0}else{f=d>>>e|0;d=((1<>>e}d=j|d;e=f|h;f=b;b=i&31;if((i&63)>>>0>=32){h=f<>>32-b|c<>2]=b;v[a+4>>2]=c;v[a+8>>2]=d;v[a+12>>2]=e}function Oda(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=Ma-16|0;Ma=e;while(1){a:{if((c|0)<=(g|0)){break a}d=v[a+12>>2];f=v[a+16>>2];b:{if(d>>>0>>0){v[e+12>>2]=2147483647;v[e+8>>2]=f-d;v[e+4>>2]=c-g;d=Ma-16|0;Ma=d;Ma=d+16|0;d=Ma-16|0;Ma=d;Ma=d+16|0;d=e+4|0;f=e+8|0;d=v[d>>2]>2]?d:f;f=e+12|0;d=v[(v[d>>2]>2]?d:f)>>2];sk(b,v[a+12>>2],d);v[a+12>>2]=v[a+12>>2]+d;break b}d=Qa[v[v[a>>2]+40>>2]](a)|0;if((d|0)==-1){break a}t[b|0]=d;d=1}b=b+d|0;g=d+g|0;continue}break}Ma=e+16|0;return g|0}function GLa(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,j=0,k=0;h=Ma-16|0;Ma=h;d=v[a+472>>2];a:{if(v[d+36>>2]){g=1;Em(d+32|0,0,(v[f>>2]<<2)+e|0,0,1,v[d+40>>2]);v[d+36>>2]=0;break a}i=v[d+44>>2];j=e;e=v[f>>2];k=j+(e<<2)|0;v[h+8>>2]=v[k>>2];j=h;g=g-e|0;i=i>>>0<2?i:2;g=g>>>0>>0?g:i;if(g>>>0>=2){e=v[k+4>>2]}else{v[d+36>>2]=1;e=v[d+32>>2]}v[j+12>>2]=e;Qa[v[d+12>>2]](a,b,v[c>>2],h+8|0)}v[f>>2]=v[f>>2]+g;v[d+44>>2]=v[d+44>>2]-g;if(!v[d+36>>2]){v[c>>2]=v[c>>2]+1}Ma=h+16|0}function Al(a,b){var c=0,d=0,e=0;c=v[a+20>>2];if(!(w[a+13|0]?c:0)){return xb(b,v[a+16>>2])}d=v[a+24>>2];c=c-1|0;e=c>>>0>>0?d:c;while(1){a:{c=d;if((e|0)==(c|0)){c=e;break a}d=c+1|0;if(v[(B(d,20)+a|0)+36>>2]<=(b|0)){continue}}break}b:{c:{if(c){while(1){d=v[(B(c,20)+a|0)+36>>2];if((d|0)<=(b|0)){break c}c=c-1|0;if(c){continue}break}}c=0;v[a+24>>2]=0;d=v[a+36>>2];if((d|0)<=(b|0)){break b}return xb(b-d|0,v[a+16>>2])+v[a+40>>2]|0}v[a+24>>2]=c}a=B(c,20)+a|0;return xb(b-d|0,v[a+44>>2])+v[a+40>>2]|0}function z7(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=v[a+584>>2];d=x[c+64>>1];e=v[c+72>>2];f=v[c+76>>2];b=v[a+604>>2];if(b>>>0>y[c+140>>2]){v[a+608>>2]=b-v[a+596>>2];Xd(a);b=v[a+596>>2]}g=v[c+120>>2];if((g|0)!=65535){e=g|e<>f;if((g|0)<16){b=b+1|0}else{f=g-16|0;t[b+1|0]=e>>f;b=b+2|0}v[c+120>>2]=65535}e=e<>d;if((c|0)<16){b=b+1|0}else{d=c-16|0;t[b+1|0]=e>>d;b=b+2|0}c=a;if((d|0)>=1){t[b|0]=e<<8-d;b=b+1|0}v[c+608>>2]=b-v[a+596>>2];return 1}function xl(a,b){var c=0,d=0,e=0,f=0;a:{if(!b){break a}b:{if(a>>>0<=65535){c=v[b>>2];if(!c|(c|0)<1){break a}f=v[b+8>>2];b=c-1|0;c=0;while(1){d=(b+c|0)/2|0;e=f+(d<<2)|0;c:{if(x[e>>1]>a>>>0){b=d-1|0;break c}if(x[e+2>>1]>=a>>>0){return 1}c=d+1|0}if((b|0)>=(c|0)){continue}break}break b}c=v[b+4>>2];if(!c|(c|0)<1){break a}f=v[b+12>>2];b=c-1|0;c=0;while(1){d=(b+c|0)/2|0;e=f+(d<<3)|0;d:{if(y[e>>2]>a>>>0){b=d-1|0;break d}if(y[e+4>>2]>=a>>>0){return 1}c=d+1|0}if((b|0)>=(c|0)){continue}break}}}return 0}function ZM(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;h=Ma-16|0;Ma=h;f=a;i=v[b+4>>2];d=x[b+2>>1];if(d>>>0<=13){d=v[(d<<2)+81924>>2]}else{d=0}f=Tf(f,i,d,55288);if(f){a:{if(!bh(a,b,f)){break a}i=v[b+4>>2];if(!i){break a}while(1){e=f+(g<<3)|0;d=v[e>>2];e=v[e+4>>2];if(!e){c=v[a>>2];g=v[a+628>>2];a=v[Pe(a,x[b>>1])+16>>2];v[h+4>>2]=d;v[h>>2]=a;wb(g,c,55782,h);e=0;break a}z[(g<<2)+c>>2]=x[b+2>>1]==5?C(C(d>>>0)/C(e>>>0)):C(C(d|0)/C(e|0));e=1;g=g+1|0;if((i|0)!=(g|0)){continue}break}}$a(f)}Ma=h+16|0;return e}function voa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=v[a+68>>2];a:{if((f|0)>=v[a+20>>2]){c=-1;if(v[a+40>>2]){break a}if(!dG(a)){break a}f=v[a+68>>2]}h=v[a+60>>2];d=v[a+72>>2];b=v[h+(d<<2)>>2]-f|0;b:{if((b|0)<=8){i=v[a+20>>2];c=8;while(1){g=(c|0)>(b|0)?b:c;e=(d&1?0:255>>>8-g|0)|e<>2]>=(i|0)){e=e<>2]=d;b=v[(d<<2)+h>>2]-v[b>>2]|0}if((c|0)>0){continue}break}break b}e=d&1?0:255}v[a+68>>2]=f+8;c=v[a+36>>2]^e}return c|0}function UH(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=ab(44);g=c;v[c+4>>2]=1;v[c>>2]=869216;v[c+12>>2]=0;v[c+16>>2]=0;v[c+40>>2]=0;d=c+32|0;v[c+36>>2]=d;v[c+32>>2]=d;v[c+8>>2]=869488;v[c>>2]=869464;v[c+24>>2]=0;v[c+28>>2]=0;kn(0);v[c+12>>2]=0;d=v[c+16>>2];if(d){$a(d)}v[c+16>>2]=0;d=w[b+11|0];e=d<<24>>24<0;d=e?v[b+4>>2]:d;v[c+20>>2]=d;f=ab(d);v[c+16>>2]=f;h=c,i=tH(cb(f,e?v[b>>2]:b,d),d),v[h+12>>2]=i;qY(c);b=v[c+24>>2];a:{if(!b){Qa[v[v[c>>2]+4>>2]](c);break a}v[a>>2]=b;Qa[v[v[c>>2]+12>>2]](g)|0}}function AE(a,b,c,d){var e=0,f=0,g=0,h=0;e=Ma-16|0;Ma=e;if(a){f=w[b+3|0];g=w[b+2|0];h=w[b+1|0];b=w[b|0];v[a+744>>2]=34;t[e+15|0]=f;t[e+14|0]=g;t[e+13|0]=h;t[e+12|0]=b;t[e+11|0]=d;t[e+10|0]=d>>>8;t[e+9|0]=d>>>16;t[e+8|0]=d>>>24;jc(a,e+8|0,8);v[a+348>>2]=h<<16|b<<24|g<<8|f;Bf(a);gc(a,e+12|0,4);v[a+744>>2]=66;if(!(!c|!d)){jc(a,c,d);gc(a,c,d)}v[a+744>>2]=130;b=v[a+384>>2];b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);t[e+4|0]=b;t[e+5|0]=b>>>8;t[e+6|0]=b>>>16;t[e+7|0]=b>>>24;jc(a,e+4|0,4)}Ma=e+16|0}function vS(a,b){var c=0,d=0;c=Ma-16|0;Ma=c;b=v[b>>2];a:{if(!b){v[a>>2]=0;v[a+4>>2]=v[279250];v[c+8>>2]=0;jb(a,c+8|0);b=v[c+8>>2];v[c+8>>2]=0;b:{if(!b){break b}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break b}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}b=a;a=v[a>>2];v[b+4>>2]=v[(a?a+12|0:1117e3)>>2];break a}IQ(c,b);Up(a,c);a=v[c>>2];v[c>>2]=0;if(!a){break a}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break a}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=c+16|0}function sNa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=C(0);e=v[a+104>>2];a:{if(!((e|0)>=0&v[a+100>>2]>(e|0))){v[b>>2]=0;e=0;break a}v[b>>2]=v[a+96>>2]+B(e,96);v[a+104>>2]=e+1;e=1}if(!e){return 0}b:{c:{d:{e:{b=v[b>>2];switch(v[b+60>>2]){case 0:break d;case 1:break e;default:break c}}if(!v[v[a+12>>2]+2228504>>2]){break c}}z[c>>2]=C(z[a+24>>2]+z[b+4>>2])+C(v[b+68>>2]);f=C(C(z[a+28>>2]+z[b+8>>2])-C(v[b+72>>2]));break b}z[c>>2]=z[a+24>>2]+z[b+4>>2];f=C(z[a+28>>2]+z[b+8>>2])}z[d>>2]=f;return 1}function mI(a,b,c,d,e,f,g){var h=0,i=0,j=0;h=v[c>>2];a:{if(h>>>0>=d>>>0){break a}b:{c:{if((b|0)<=65535){u[h>>1]=b;i=1;j=0;break c}u[h>>1]=(b>>>10|0)-10304;b=b&1023|-9216;i=2;if(h+2>>>0>=d>>>0){i=1;b=b&57343;break b}u[h+2>>1]=b;j=1}b=-1}h=(i<<1)+h|0;if(!e){break a}d=v[e>>2];if(!d){break a}v[d>>2]=f;if(j){v[d+4>>2]=f;d=d+8|0}else{d=d+4|0}v[e>>2]=d}v[c>>2]=h;if((b|0)>=0){if(a){c=a;if(b>>>0<=65535){d=1}else{u[a+118>>1]=b&1023|56320;b=(b>>>10|0)-10304|0;d=2}t[c+65|0]=d;u[a+116>>1]=b}v[g>>2]=15}}function Wl(a,b,c,d,e){var f=0,g=0,h=0;h=Ma-16|0;Ma=h;v[h+8>>2]=b;b=0;f=6;a:{b:{if(yg(a,h+8|0)){break b}f=4;g=sf(a);if(!((x[v[d+8>>2]+((g&255)<<1)>>1]&2048)!=0&(g|0)>=0)){break b}b=Qa[v[v[d>>2]+36>>2]](d,g,0)|0;while(1){c:{Zf(a);b=b-48|0;if(!Mh(a,h+8|0)|(e|0)<2){break c}g=sf(a);f=g;if((g|0)>=0){f=(x[v[d+8>>2]+((f&255)<<1)>>1]&2048)!=0}else{f=0}if(!f){break a}e=e-1|0;b=(Qa[v[v[d>>2]+36>>2]](d,g,0)|0)+B(b,10)|0;continue}break}f=2;if(!yg(a,h+8|0)){break a}}v[c>>2]=v[c>>2]|f}Ma=h+16|0;return b}function GK(a,b,c,d,e,f){var g=0,h=0,i=0;g=HK(a,b,c,d,f);f=v[v[f>>2]+12>>2];h=v[e>>2];i=v[d>>2];if(y[v[f+(h<<2)>>2]+4>>2]>2]+4>>2]){v[d>>2]=h;v[e>>2]=i;e=v[d>>2];h=v[c>>2];if(y[v[f+(e<<2)>>2]+4>>2]>=y[v[f+(h<<2)>>2]+4>>2]){return g+1|0}v[c>>2]=e;v[d>>2]=h;d=v[c>>2];e=v[b>>2];if(y[v[f+(d<<2)>>2]+4>>2]>=y[v[f+(e<<2)>>2]+4>>2]){return g+2|0}v[b>>2]=d;v[c>>2]=e;c=v[b>>2];d=v[a>>2];if(y[v[f+(c<<2)>>2]+4>>2]>=y[v[f+(d<<2)>>2]+4>>2]){return g+3|0}v[a>>2]=c;v[b>>2]=d;g=g+4|0}return g}function mha(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=ab(148);f=CE(c,b);v[c>>2]=977616;d=w[b+93|0]|w[b+94|0]<<8|(w[b+95|0]<<16|w[b+96|0]<<24);e=w[b+89|0]|w[b+90|0]<<8|(w[b+91|0]<<16|w[b+92|0]<<24);t[c+89|0]=e;t[c+90|0]=e>>>8;t[c+91|0]=e>>>16;t[c+92|0]=e>>>24;t[c+93|0]=d;t[c+94|0]=d>>>8;t[c+95|0]=d>>>16;t[c+96|0]=d>>>24;d=w[b+96|0]|w[b+97|0]<<8|(w[b+98|0]<<16|w[b+99|0]<<24);t[c+96|0]=d;t[c+97|0]=d>>>8;t[c+98|0]=d>>>16;t[c+99|0]=d>>>24;mR(c+100|0,b+100|0);mR(c+124|0,b+124|0);v[a>>2]=0;qb(a,f)}function UP(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=Ma-16|0;Ma=e;f=(q(a),j(2));c=f&2147483647;a:{if(c>>>0<=1305022426){g=+a;d=g*.6366197723675814+6755399441055744+-6755399441055744;A[b>>3]=g+d*-1.5707963109016418+d*-1.5893254773528196e-8;if(D(d)<2147483648){c=~~d;break a}c=-2147483648;break a}if(c>>>0>=2139095040){A[b>>3]=C(a-a);c=0;break a}h=c;c=(c>>>23|0)-150|0;A[e+8>>3]=(l(2,h-(c<<23)|0),p());c=TP(e+8|0,e,c,1,0);d=A[e>>3];if((f|0)<=-1){A[b>>3]=-d;c=0-c|0;break a}A[b>>3]=d}Ma=e+16|0;return c}function xc(a){var b=0,c=0,d=0,e=0,f=0,g=0;e=Ma-16|0;Ma=e;a:{if(!a){break a}while(1){b=v[a+40>>2];if((b|0)<2){break a}b:{c:{d:{if(!v[291060]){c=b-1|0;v[a+40>>2]=c;d=v[a+48>>2];break d}v[e>>2]=b;d=0;Qa[v[256654]](v[291043],344907,e);b=v[a+40>>2];if((b|0)<1){break b}c=b-1|0;v[a+40>>2]=c;d=v[a+48>>2];g=0;f=0;if((b|0)==1){break c}}g=v[((b<<2)+d|0)-8>>2];f=c}b=f;v[a+36>>2]=g;c=(b<<2)+d|0;d=v[c>>2];v[c>>2]=0}Vh(d);c=v[a+36>>2];if(w[v[c+16>>2]]){break a}if((Zb(c)|0)<1){continue}break}}Ma=e+16|0}function tf(a,b,c){var d=0,e=0,f=0;d=Ma-48|0;Ma=d;a:{b:{if(v[b+8>>2]==4){if(v[b+44>>2]<=(c|0)){break b}e=b+40|0;b=v[b+48>>2];if((c|0)>=1){while(1){if(!b){v[d+12>>2]=e;v[d+8>>2]=0;break a}b=v[b>>2];f=f+1|0;if((f|0)!=(c|0)){continue}break}}v[d+12>>2]=e;v[d+8>>2]=b;if(!b){break a}c=v[b+8>>2];if(c){v[c+4>>2]=v[c+4>>2]+1;b=v[b+8>>2]}else{b=0}v[a>>2]=b;Ma=d+48|0;return}Tj(b,4);L()}Rc(d+16|0,348281,b+12|0);a=v[d+16>>2];lb(mb(d+24|0,v[(a?a+12|0:1117e3)>>2],241416,384,225789));L()}wd(d+8|0,e);L()}function rF(a,b){var c=0,d=0;c=Ma-16|0;Ma=c;b=v[b>>2];a:{if(b){RQ(c,b);Up(a,c);a=v[c>>2];v[c>>2]=0;if(!a){break a}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break a}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}break a}v[a>>2]=0;v[a+4>>2]=v[279250];v[c+8>>2]=0;jb(a,c+8|0);b=v[c+8>>2];v[c+8>>2]=0;b:{if(!b){break b}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break b}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}b=a;a=v[a>>2];v[b+4>>2]=v[(a?a+12|0:1117e3)>>2]}Ma=c+16|0}function r$a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(v[a+588>>2]>=1){b=v[a+540>>2];c=(v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0;b=v[a+636>>2]+v[a+616>>2]|0;while(1){d=w[b+4|0]|w[b+5|0]<<8|(w[b+6|0]<<16|w[b+7|0]<<24);e=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);t[c|0]=e;t[c+1|0]=e>>>8;t[c+2|0]=e>>>16;t[c+3|0]=e>>>24;t[c+4|0]=d;t[c+5|0]=d>>>8;t[c+6|0]=d>>>16;t[c+7|0]=d>>>24;b=b+8|0;c=(v[a+584>>2]<<3)+c|0;f=f+1|0;if((f|0)>2]){continue}break}}return 0}function TDa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;v[c>>2]=-1;v[d>>2]=-1;f=x[a+340>>1];if(f){h=v[a+356>>2];a=0;while(1){e=B(a,20)+h|0;a:{if(x[e+6>>1]!=(b|0)|!x[e+8>>1]){break a}b:{c:{switch(x[e>>1]-1|0){case 2:if(x[e+2>>1]>1){break a}g=c;if(x[e+4>>1]==1033|v[c>>2]==-1){break b}break a;case 0:break c;default:break a}}if(x[e+2>>1]){break a}g=d;if(!x[e+4>>1]){break b}if(v[d>>2]!=-1){break a}}v[g>>2]=a}a=a+1|0;if((f|0)!=(a|0)){continue}break}}return(v[c>>2]<=-1?v[d>>2]>-1:1)|0}function ee(a,b){var c=0,d=0,e=0;c=v[a+4>>2];v[b>>2]=v[a>>2];v[b+4>>2]=c;c=v[a+12>>2];v[b+8>>2]=v[a+8>>2];v[b+12>>2]=c;a:{switch(v[a>>2]-3|0){case 0:a=v[a+8>>2];c=ab(8);Hc(c,a);v[b+8>>2]=c;return b;case 1:d=b,e=qc(v[a+8>>2]),v[d+8>>2]=e;return b;case 3:a=v[a+8>>2];v[a+16>>2]=v[a+16>>2]+1;return b;case 4:a=v[a+8>>2];v[a+20>>2]=v[a+20>>2]+1;return b;case 5:a=v[a+8>>2];d=b,e=Qa[v[v[a>>2]+8>>2]](a)|0,v[d+8>>2]=e;return b;case 7:d=b,e=qc(v[a+8>>2]),v[d+8>>2]=e;break;default:break a}}return b}function ZW(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{if(v[a+292>>2]){break a}e=v[a+36>>2];if((v[e+20>>2]-v[e+16>>2]|0)>249){break a}oc(a)}if(v[a+172>>2]==-1){return 0}g=v[a+36>>2];c=v[g+16>>2];f=w[c|0];b:{c:{if(!f){d=b;e=c;break c}d=b;while(1){h=w[d|0];if((h|0)!=(f|0)){e=c;break b}v[g+32>>2]=v[g+32>>2]+1;d=d+1|0;f=w[c+1|0];e=c+1|0;c=e;if(f){continue}break}}h=w[d|0];f=0}d:{if(!h){d=f;c=d-9|0;if((1<>>0<=23:0)|(d|0)==62){break d}}a=kh(a);return(a|0)==(b|0)?1:a}v[g+16>>2]=e;return 1}function Yia(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;d=w[a+11|0];e=d+7>>>3|0;a:{if(!d){d=b;break a}f=b+e|0;d=b;while(1){t[d|0]=w[c|0]+w[d|0];c=c+1|0;d=d+1|0;if(f>>>0>d>>>0){continue}break}}b=v[a+4>>2]+b|0;if(b>>>0>d>>>0){a=0-e|0;m=(b-d|0)+d|0;while(1){h=w[a+d|0];b=w[a+c|0];e=h-b|0;f=e>>31;i=w[c|0];g=i-b|0;j=g>>31;k=e+g|0;l=k>>31;n=b;b=f^e+f;e=j^g+j;f=b>>>0>>0;t[d|0]=w[d|0]+((l^l+k)<((f?b:e)|0)?n:f?i:h);c=c+1|0;d=d+1|0;if((m|0)!=(d|0)){continue}break}}}function Xda(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;var j=0,k=0,l=0,m=0,n=0;if(!(!f|!e)){d=v[a+60>>2];c=e-1|0;l=e&1;k=x[a+26>>1];m=B(k,e)<<1;n=h<<2;while(1){a:{if(!l){h=e;a=i;break a}v[b>>2]=v[v[(w[i+1|0]<<2)+d>>2]>>2];b=b+4|0;h=c;a=(k<<1)+i|0}f=f-1|0;if((e|0)!=1){while(1){v[b>>2]=v[v[(w[a+1|0]<<2)+d>>2]>>2];j=a;a=k<<1;j=j+a|0;v[b+4>>2]=v[v[(w[j+1|0]<<2)+d>>2]>>2];a=a+j|0;b=b+8|0;h=h-2|0;if(h){continue}break}}i=(i+m|0)+g|0;b=b+n|0;if(f){continue}break}}}function J_(a,b){var c=0,d=0,e=0,f=0;f=v[a+16>>2];a:{if(!f){break a}if(!v[a+12>>2]){c=f;break a}c=f;while(1){f=e<<2;c=v[f+c>>2];if(c){Qa[v[b+8>>2]](b,c)}c=v[a+16>>2];v[f+c>>2]=0;e=e+1|0;if(e>>>0>2]){continue}break}}if(c){Qa[v[b+8>>2]](b,c)}v[a+16>>2]=0;c=v[a+4>>2];b:{if(!c){break b}if(!v[a>>2]){d=c;break b}e=0;d=c;while(1){c=e<<3;d=v[(c+d|0)+4>>2];if(d){Qa[v[b+8>>2]](b,d)}d=v[a+4>>2];v[(c+d|0)+4>>2]=0;e=e+1|0;if(e>>>0>2]){continue}break}}if(d){Qa[v[b+8>>2]](b,d)}v[a+4>>2]=0}function Aq(a){var b=0,c=0,d=0;c=Ma-32|0;Ma=c;b=Qa[v[256552]](36)|0;a:{if(!b){v[c>>2]=239706;nb(0,0,0,0,0,29,2,3,239706,0,0,0,340689,c);break a}v[b+20>>2]=0;v[b+4>>2]=0;v[b+28>>2]=0;v[b+32>>2]=0;d=v[256554];a=a?a+2|0:0;v[b+24>>2]=a;v[b+12>>2]=d;v[b+8>>2]=a;b:{if(a){a=Qa[v[256555]](a)|0;v[b>>2]=a;if(!a){v[c+16>>2]=239706;nb(0,0,0,0,0,29,2,3,239706,0,0,0,340689,c+16|0);if(!v[b+32>>2]){v[b+32>>2]=2}d=0;Qa[v[256556]](b);break a}t[a|0]=0;break b}v[b>>2]=0}v[b+16>>2]=0;d=b}Ma=c+32|0;return d}function ti(a,b,c){var d=0,e=0,f=0,g=0;if(v[a+8>>2]>=v[a+4>>2]){tW(a)}e=ab(12);v[e+4>>2]=c;v[e>>2]=b;d=v[b>>2];a:{if((d|0)<1){d=0;break a}f=d&3;c=v[b+4>>2];b:{if(d-1>>>0<3){d=0;break b}g=d&-4;d=0;b=c;while(1){d=w[b+3|0]+B(w[b+2|0]+B(w[b+1|0]+B(w[b|0]+B(d,17)|0,17)|0,17)|0,17)|0;c=b+4|0;b=c;g=g-4|0;if(g){continue}break}}if(!f){break a}while(1){d=w[c|0]+B(d,17)|0;c=c+1|0;f=f-1|0;if(f){continue}break}}b=v[a+12>>2]+((d>>>0)%y[a+4>>2]<<2)|0;v[e+8>>2]=v[b>>2];v[b>>2]=e;v[a+8>>2]=v[a+8>>2]+1}function zN(a,b){var c=0,d=0,e=0;d=Ma-16|0;Ma=d;e=v[279293];if(t[b+74|0]<=0){BN(b)}v[279293]=v[b+136>>2];a:{b:{c:{if(a>>>0<=127){d:{if(t[b+75|0]==(a|0)){break d}c=v[b+20>>2];if(c>>>0>=y[b+16>>2]){break d}v[b+20>>2]=c+1;t[c|0]=a;break a}a=ox(b,a);break c}c=v[b+20>>2];if(y[b+16>>2]>c+4>>>0){c=Ip(c,a);if((c|0)<0){break b}v[b+20>>2]=c+v[b+20>>2];break c}c=Ip(d+12|0,a);if((c|0)<0){break b}if(nx(d+12|0,c,b)>>>0>>0){break b}}if((a|0)!=-1){break a}}v[b>>2]=v[b>>2]|32}v[279293]=e;Ma=d+16|0}function hh(a,b){var c=0,d=0,e=0,f=0,g=0;c=w[b+11|0];d=c<<24>>24<0;c=d?v[b+4>>2]:c;g=v[b>>2];a:{if(!w[a+8|0]){break a}e=v[a>>2];if(!e){break a}f=v[e+4>>2]-1|0;v[e+4>>2]=f;if(f){break a}$a(e)}b=d?g:b;v[a>>2]=0;v[a+4>>2]=0;t[a+8|0]=0;b:{c:{d:{if((c|0)!=-1){break d}c=ce(b);if((c|0)>-1){break d}c=-2147483648;v[a+4>>2]=-2147483648;break c}v[a+4>>2]=c;if(!c){break b}}e=ab(8);d=c+1|0;d=ab((d|0)!=(d&1073741823)?-1:d<<2);v[e>>2]=d;c=c<<2;v[c+d>>2]=0;cb(d,b,c);v[e+4>>2]=1;t[a+8|0]=1;v[a>>2]=e}}function Bs(a,b,c,d){var e=0,f=0,g=0;e=Ma-32|0;Ma=e;v[e+16>>2]=13;v[e>>2]=13;a:{if(v[ib(b,c,d,0)>>2]!=5){break a}bb(d);ib(b,228627,e+16|0,0);b:{if(v[e+16>>2]!=7){break b}while(1){if(v[ib(v[e+24>>2],c,d,0)>>2]!=5){bb(e+16|0);break a}bb(d);ib(v[e+24>>2],228627,e,0);bb(e+16|0);b=v[e+12>>2];v[e+24>>2]=v[e+8>>2];v[e+28>>2]=b;b=v[e+4>>2];f=v[e>>2];v[e+16>>2]=f;v[e+20>>2]=b;if((f|0)!=7){break b}b=g>>>0<49;g=g+1|0;if(b){continue}break}}bb(e+16|0);ib(v[v[a>>2]+16>>2],c,d,0)}Ma=e+32|0;return d}function hna(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=ab(8);d=Qd(g);a:{if(w[a+24|0]){e=v[a+20>>2];if(v[e>>2]<1){break a}while(1){b:{c:{d:{e:{f:{e=w[v[e+4>>2]+f|0];switch(e-38|0){case 0:break d;case 24:break e;case 22:break f;default:break c}}Wb(d,313455);break b}Wb(d,313460);break b}Wb(d,313472);break b}$b(d,e<<24>>24)}f=f+1|0;e=v[a+20>>2];if((f|0)>2]){continue}break}break a}Wb(d,308350);Ug(d,v[a+20>>2]);Wb(d,313338)}a=Qa[b|0](c,v[d+4>>2],v[d>>2])|0;Bb(d);$a(g);return a|0}function joa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;a:{if((b|0)<2){break a}f=v[a+4>>2];b=Qa[v[v[f>>2]+60>>2]](f,b,c,d)|0;if(!b){break a}b:{if(!d){break b}d=v[a+4>>2];Qa[v[v[d>>2]+20>>2]](d);v[a+3460>>2]=0;v[a+3464>>2]=0;v[a+720>>2]=0;v[a+188>>2]=0;v[a+204>>2]=0;v[a+196>>2]=0;v[a+200>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;d=aG(a,1);e=v[a+4>>2];Qa[v[v[e>>2]+24>>2]](e);if(!(v[a+12>>2]?v[a+8>>2]|!d:1)){break b}$a(Bb(b));return 0}Wb(Wb(b,c),341110);e=b}return e|0}function h$(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=Ma-16|0;Ma=e;d=v[a+736>>2];a:{if(!d){c=et(a,0);if(c){break a}d=v[a+736>>2]}c=6;if(x[a+14>>1]>>0){break a}b:{if(b){f=v[a+100>>2];g=v[d+12>>2];d=v[g+16>>2]+B(b,12)|0;c=Qa[v[v[a+540>>2]+144>>2]](a,x[d-8>>1],e+12|0)|0;if(c){break a}c=v[a+24>>2];if(c){Qa[v[f+8>>2]](f,c)}v[a+24>>2]=v[e+12>>2];c=fJ(a,v[g>>2],v[d-12>>2]);if(c){c=(c|0)==-1?0:c;break a}c=0;break b}c=fJ(a,0,0)}u[a+6>>1]=b;v[a+8>>2]=v[a+8>>2]&-32769}Ma=e+16|0;return c|0}function Gca(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,h=0,i=0,j=0;a=Ma-32|0;Ma=a;v[a+24>>2]=37;v[a+28>>2]=0;h=a+24|0;$n(h|1,260274,1,v[c+4>>2]);i=v[c+4>>2];g=a-32|0;Ma=g;j=te();v[a>>2]=e;v[a+4>>2]=f;i=Ih(g,(i>>>9&1)+23|0,j,h,a)+g|0;j=tj(g,i,c);f=g-48|0;Ma=f;e=a+8|0;h=v[c+28>>2];v[e>>2]=h;v[h+4>>2]=v[h+4>>2]+1;Ax(g,j,i,f,a+20|0,a+16|0,e);e=v[e>>2];g=v[e+4>>2]-1|0;v[e+4>>2]=g;if((g|0)==-1){Qa[v[v[e>>2]+8>>2]](e)}b=Xm(b,f,v[a+20>>2],v[a+16>>2],c,d);Ma=a+32|0;return b|0}function Eca(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,h=0,i=0,j=0;a=Ma-32|0;Ma=a;v[a+24>>2]=37;v[a+28>>2]=0;h=a+24|0;$n(h|1,260274,0,v[c+4>>2]);i=v[c+4>>2];g=a-32|0;Ma=g;j=te();v[a>>2]=e;v[a+4>>2]=f;i=Ih(g,(i>>>9&1)+23|0,j,h,a)+g|0;j=tj(g,i,c);f=g-48|0;Ma=f;e=a+8|0;h=v[c+28>>2];v[e>>2]=h;v[h+4>>2]=v[h+4>>2]+1;Ax(g,j,i,f,a+20|0,a+16|0,e);e=v[e>>2];g=v[e+4>>2]-1|0;v[e+4>>2]=g;if((g|0)==-1){Qa[v[v[e>>2]+8>>2]](e)}b=Xm(b,f,v[a+20>>2],v[a+16>>2],c,d);Ma=a+32|0;return b|0}function Aha(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=Ma-32|0;Ma=e;a:{if(v[a+92>>2]>0){while(1){if(v[a+120>>2]<(d|0)|v[a+116>>2]>(d|0)){break a}f=v[a+104>>2];g=v[a+108>>2];c=ab(12);v[c>>2]=0;v[c+4>>2]=0;v[c+8>>2]=v[f+(d-g<<2)>>2];de(b,c);if(v[a+144>>2]<(d|0)|v[a+140>>2]>(d|0)){break a}f=v[a+128>>2];g=v[a+132>>2];c=ab(12);v[c>>2]=0;v[c+4>>2]=0;v[c+8>>2]=v[f+(d-g<<2)>>2];de(b,c);d=d+1|0;if((d|0)>2]){continue}break}}Ma=e+32|0;return}lb(mb(e+8|0,227376,271519,632,306691));L()}function zMa(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;g=Ma-16|0;Ma=g;d=v[c>>2];h=v[d+16>>2];if((h|0)!=v[d+24>>2]){d=(v[d+8>>2]+(h<<4)|0)-16|0;A[g+8>>3]=A[d>>3];A[g>>3]=A[d+8>>3];d=1}else{d=0}if(d){e=+v[a>>2]*.015625;e=e+e;i=(e+A[g+8>>3])*.3333333333333333;f=+v[a+4>>2]*.015625;f=f+f;j=(f+A[g>>3])*.3333333333333333;k=e;e=+v[b>>2]*.015625;l=f;f=+v[b+4>>2]*.015625;U0(v[c>>2],i,j,(k+e)*.3333333333333333,(l+f)*.3333333333333333,e,f);v[c+4>>2]=1}Ma=g+16|0;return 0}function Yva(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[a+400>>2];v[c+8>>2]=0;d=1;d=v[a+288>>2]<=1?v[v[a+292>>2]+(v[a+284>>2]==1?76:12)>>2]:d;v[c+12>>2]=0;v[c+16>>2]=0;v[c+20>>2]=d;a:{switch(b|0){case 0:if(v[c+64>>2]){b=v[a>>2];v[b+20>>2]=3;Qa[v[b>>2]](a)}v[c+4>>2]=363;return;case 3:if(!v[c+64>>2]){b=v[a>>2];v[b+20>>2]=3;Qa[v[b>>2]](a)}v[c+4>>2]=364;return;case 2:if(!v[c+64>>2]){b=v[a>>2];v[b+20>>2]=3;Qa[v[b>>2]](a)}v[c+4>>2]=365;return;default:break a}}b=v[a>>2];v[b+20>>2]=3;Qa[v[b>>2]](a)}function Uqa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=ab(336);c=d;jv(c,a);v[c>>2]=888172;b=v[a+184>>2];v[c+184>>2]=b;b=Pb(b,272);v[c+180>>2]=b;cb(b,v[a+180>>2],B(v[c+184>>2],272));b=v[a+192>>2];v[c+192>>2]=b;b=Pb(B(b,3),4);v[c+188>>2]=b;cb(b,v[a+188>>2],B(v[c+192>>2],12));v[c+324>>2]=v[a+324>>2];b=v[a+328>>2];v[c+328>>2]=b;if((b|0)>=1){b=0;while(1){e=b<<2;f=v[(e+a|0)+196>>2];g=c+e|0,h=Qa[v[v[f>>2]+8>>2]](f)|0,v[g+196>>2]=h;b=b+1|0;if((b|0)>2]){continue}break}}return d|0}function RFa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Ma-16|0;Ma=d;v[a+32>>2]=c;e=a,f=yb(c,4,0,b,0,d+12|0),v[e+24>>2]=f;a:{b:{if(v[d+12>>2]){break b}e=a,f=yb(c,4,0,b,0,d+12|0),v[e+28>>2]=f;if(v[d+12>>2]){break b}v[a+20>>2]=0;v[a+16>>2]=b;v[a+8>>2]=0;v[a+12>>2]=-559038737;v[a>>2]=0;v[a+4>>2]=0;b=v[113768];v[a+36>>2]=v[113767];v[a+40>>2]=b;b=v[113770];v[a+44>>2]=v[113769];v[a+48>>2]=b;a=0;break a}b=v[a+24>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+24>>2]=0;a=v[d+12>>2]}Ma=d+16|0;return a|0}function CF(a,b){var c=0,d=0,e=0;e=Ma-16|0;Ma=e;a:{if(!v[b+4>>2]){break a}c=v[a+28>>2];if(!c){break a}Qa[v[v[c>>2]+332>>2]](c)|0;d=v[a+28>>2];v[e+12>>2]=32;c=e+12|0;Qa[v[v[d>>2]+288>>2]](d,c)|0;d=v[a+28>>2];v[e+12>>2]=4;Qa[v[v[d>>2]+288>>2]](d,c)|0;b=JT(b,v[a+28>>2]);d=v[a+28>>2];Qa[v[v[d>>2]+388>>2]](d,b?969024:969028)|0;b=v[a+28>>2];v[e+12>>2]=4;Qa[v[v[b>>2]+292>>2]](b,c)|0;b=v[a+28>>2];v[e+12>>2]=32;Qa[v[v[b>>2]+292>>2]](b,c)|0;a=v[a+28>>2];Qa[v[v[a>>2]+324>>2]](a)|0}Ma=e+16|0}function fF(a,b){var c=0,d=0,e=0,f=0;c=Ma-32|0;Ma=c;v[c+16>>2]=0;v[c+20>>2]=v[279250];e=c,f=eh(b+8|0),v[e+4>>2]=f;v[c>>2]=b;b=Gd(c+16|0,313226,c);v[a>>2]=0;v[a+4>>2]=v[279250];b=v[b>>2];a:{if(b){Qa[v[v[b>>2]+28>>2]](c+24|0,b,1);break a}v[c+24>>2]=0}jb(a,c+24|0);b=v[c+24>>2];v[c+24>>2]=0;b:{if(!b){break b}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break b}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}b=a;a=v[a>>2];v[b+4>>2]=v[(a?a+12|0:1117e3)>>2];db(c+16|0);Ma=c+32|0}function nWa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;a:{if(w[a+286|0]|!w[a+285|0]|(w[a+287|0]|w[a+288|0])){break a}if(w[a+289|0]){break a}if(c>>>0<=2){ob(a,1028,0,0);return 1028}b:{if(!w[a+112|0]){break b}f=Qa[v[b+4>>2]](a,b,e)|0;if(f){break b}b=w[d|0]|w[d+1|0]<<8;f=v[e>>2];v[f+36>>2]=c-2;u[f+32>>1]=b<<8|b>>>8;b=Qa[v[a+152>>2]](c-1|0)|0;v[v[e>>2]+40>>2]=b;b=v[e>>2];c=v[b+40>>2];if(!c){ob(a,1,0,0);return 1}cb(c,d+2|0,v[b+36>>2]);f=0}return f|0}ob(a,1029,0,0);return 1029}function PMa(a,b){a=a|0;b=b|0;var c=0,d=0;t[b|0]=0;t[b+1|0]=0;t[b+2|0]=0;t[b+3|0]=0;t[b+4|0]=0;t[b+5|0]=0;t[b+6|0]=0;t[b+7|0]=0;t[b+8|0]=0;t[b+9|0]=0;a=v[a+180>>2];a:{if(!a){break a}c=zn(a,2);if(!c){break a}a=w[c+36|0]|w[c+37|0]<<8|(w[c+38|0]<<16|w[c+39|0]<<24);d=w[c+32|0]|w[c+33|0]<<8|(w[c+34|0]<<16|w[c+35|0]<<24);t[b|0]=d;t[b+1|0]=d>>>8;t[b+2|0]=d>>>16;t[b+3|0]=d>>>24;t[b+4|0]=a;t[b+5|0]=a>>>8;t[b+6|0]=a>>>16;t[b+7|0]=a>>>24;a=w[c+40|0]|w[c+41|0]<<8;t[b+8|0]=a;t[b+9|0]=a>>>8}}function BF(a){var b=0,c=0,d=0,e=0,f=0,g=0;d=Ma-16|0;Ma=d;f=a,g=Qb(v[a+20>>2]-12|0),v[f+20>>2]=g;a:{b=v[a+28>>2];if(!b){break a}v[d>>2]=64;Qa[v[v[b>>2]+288>>2]](b,d)|0;b=v[a+28>>2];v[d>>2]=64;Qa[v[v[b>>2]+292>>2]](b,d)|0;e=v[a+20>>2];c=v[a+16>>2];b=e-c|0;if((b|0)<1){break a}b=(b>>>0)/12|0;if((c|0)!=(e|0)){e=b>>>0>1?b:1;b=0;while(1){c=hm(d,B(b,12)+c|0);CF(a,c);Qb(c);b=b+1|0;if((e|0)==(b|0)){break a}c=v[a+16>>2];if((v[a+20>>2]-c|0)/12>>>0>b>>>0){continue}break}}gi();L()}Ma=d+16|0}function xDa(a,b){a=a|0;b=b|0;var c=0,d=0;c=Qa[v[a+516>>2]](a,1835104368,b,0)|0;a:{if(c){break a}d=a+260|0;c=Dd(b,518992,d);if(c){break a}u[a+290>>1]=0;u[a+282>>1]=0;u[a+284>>1]=0;u[a+286>>1]=0;u[a+288>>1]=0;u[a+274>>1]=0;u[a+276>>1]=0;u[a+278>>1]=0;u[a+280>>1]=0;u[a+266>>1]=0;u[a+268>>1]=0;u[a+270>>1]=0;u[a+272>>1]=0;b:{if(v[a+260>>2]<65536){break b}c=Dd(b,519008,d);if(c){break a}if(x[a+280>>1]<=63){u[a+280>>1]=64}if(x[a+276>>1]<65532){break b}u[a+276>>1]=65531}c=0}return c|0}function vda(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;d=Ma-16|0;Ma=d;a:{b:{if(v[b+64>>2]){if(!(Qa[v[v[b>>2]+24>>2]](b)|0)){break b}}v[a+8>>2]=-1;v[a+12>>2]=-1;v[a>>2]=0;v[a+4>>2]=0;break a}if(gu(v[b+64>>2],v[c+8>>2],v[c+12>>2],0)){v[a+8>>2]=-1;v[a+12>>2]=-1;v[a>>2]=0;v[a+4>>2]=0;break a}f=v[c+4>>2];e=d;v[e+8>>2]=v[c>>2];v[e+12>>2]=f;f=v[e+12>>2];v[b+72>>2]=v[e+8>>2];v[b+76>>2]=f;b=v[c+12>>2];v[a+8>>2]=v[c+8>>2];v[a+12>>2]=b;b=v[c+4>>2];v[a>>2]=v[c>>2];v[a+4>>2]=b}Ma=d+16|0}function sVa(a,b){a=a|0;b=b|0;var c=0,d=0;d=v[a+428>>2];c=v[b+32>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+8|0]=c;t[d+9|0]=c>>>8;t[d+10|0]=c>>>16;t[d+11|0]=c>>>24;c=v[b+36>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+12|0]=c;t[d+13|0]=c>>>8;t[d+14|0]=c>>>16;t[d+15|0]=c>>>24;t[d+16|0]=w[b+40|0];t[d+17|0]=w[b+41|0];t[d+18|0]=w[b+42|0];t[d+19|0]=w[b+43|0];t[d+20|0]=w[b+44|0];t[d+21|0]=w[b+45|0];t[d+22|0]=w[b+46|0];t[d+23|0]=w[b+47|0];return hd(a,v[b>>2],16,d+8|0)|0}function Eb(a,b){var c=0,d=0,e=0;c=-1;a:{b:{if(!(!(t[a|0]&1)|w[a+8|0]&7)){d=v[a+4>>2];if(d&32){break b}e=v[a+20>>2];c=v[a+16>>2];if((e|0)<(v[a+24>>2]-c|0)){break a}v[a+24>>2]=c;v[a+4>>2]=d|16;c=Qa[v[v[a+52>>2]>>2]](v[a+56>>2],c,e)|0;v[a+28>>2]=c;if((c|0)<=0){v[a+28>>2]=0;v[a+8>>2]=v[a+8>>2]|(c?2:1);return-1}c:{if(b){v[a+28>>2]=c-1;v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;break c}c=v[a+24>>2]}c=w[c|0]}return c}O(19295,6782,771,188068);L()}O(11143,6782,773,188068);L()}function pu(a,b){b=(v[a+36>>2]<<1)+b|0;v[a+36>>2]=b&16777215;a:{b:{c:{d:{b=b>>>24|0;switch(b|0){case 0:break b;case 1:break d;default:break c}}Np(a,1);b=v[a+40>>2];v[a+40>>2]=b-1;if(b){while(1){Np(a,0);b=v[a+40>>2];v[a+40>>2]=b-1;if(b){continue}break}}v[a+40>>2]=0;return}if((b|0)==255){break a}O(326176,242125,1047,231626);L()}v[a+40>>2]=v[a+40>>2]+1;return}Np(a,0);b=v[a+40>>2];v[a+40>>2]=b-1;if(b){while(1){Np(a,1);b=v[a+40>>2];v[a+40>>2]=b-1;if(b){continue}break}}v[a+40>>2]=0}function pW(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=Ma-32|0;Ma=c;v[c+16>>2]=13;v[c>>2]=13;d=1;if(v[b+20>>2]>=1){while(1){f=d;d=oq(b,d);a:{if(v[ue(d+16|0,v[d+4>>2],c+16|0,0)>>2]!=6){break a}d=0;e=v[c+24>>2];if(v[e+12>>2]<1){break a}while(1){if(v[Nf(e,d,c)>>2]==9){g=v[a+28>>2];e=ab(12);h=v[c+12>>2];i=v[c+8>>2];v[e+8>>2]=f;v[e>>2]=i;v[e+4>>2]=h;Ib(g,e)}bb(c);d=d+1|0;e=v[c+24>>2];if((d|0)>2]){continue}break}}d=f+1|0;bb(c+16|0);if(v[b+20>>2]>(f|0)){continue}break}}Ma=c+32|0}function jV(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;v[a+32>>2]=g;A[a+16>>3]=d;A[a+8>>3]=c;v[a>>2]=b;v[a+28>>2]=f;n=a,o=Pb(g,4),v[n+24>>2]=o;if(v[a+28>>2]>=1){g=0;while(1){k=g<<2;b=v[k+e>>2];f=ab(24);h=v[b+16>>2];v[f+16>>2]=h;j=v[b+12>>2];v[f+12>>2]=j;i=Pb(h,8);v[f>>2]=i;l=Pb(h,8);v[f+4>>2]=l;h=Pb(h,4);v[f+8>>2]=h;m=i;i=j<<3;cb(m,v[b>>2],i);cb(l,v[b+4>>2],i);cb(h,v[b+8>>2],j<<2);v[f+20>>2]=v[b+20>>2];v[v[a+24>>2]+k>>2]=f;g=g+1|0;if((g|0)>2]){continue}break}}}function cI(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;if(!a){return-102}d=-100;a:{if(!(v[a+96>>2]|v[a+100>>2])){break a}b=v[a+56>>2];e=v[a+60>>2];f=(b|0)!=65535|(e|0)!=0;g=b;c=v[a+84>>2];b=v[a+80>>2]+1|0;c=b>>>0<1?c+1|0:c;h=e;e=c;if(f&((g|0)==(b|0)&(h|0)==(c|0))){break a}v[a+80>>2]=b;v[a+84>>2]=e;d=v[a+92>>2];c=(v[a+176>>2]+(v[a+168>>2]+v[a+172>>2]|0)|0)+46|0;b=c+v[a+88>>2]|0;v[a+88>>2]=b;v[a+92>>2]=b>>>0>>0?d+1|0:d;d=fI(a,a+128|0,a+216|0,0,0);v[a+96>>2]=!d;v[a+100>>2]=0}return d}function wwa(a,b,c){a=a|0;b=b|0;c=c|0;b=Ma-16|0;Ma=b;c=v[a+104>>2];v[b+12>>2]=1;Qa[v[v[c>>2]+288>>2]](c,b+12|0)|0;v[a+120>>2]=0;v[a+124>>2]=0;v[a+112>>2]=0;v[a+116>>2]=1072693248;v[a+128>>2]=0;v[a+132>>2]=0;u[a+202>>1]=0;v[a+136>>2]=0;v[a+140>>2]=1072693248;v[a+144>>2]=0;v[a+148>>2]=0;v[a+152>>2]=0;v[a+156>>2]=0;c=v[a+204>>2];if(c){$a(c)}v[a+204>>2]=0;c=a;if(v[a+108>>2]==6){a=v[a+104>>2];v[b+8>>2]=0;a=!(Qa[v[v[a>>2]+392>>2]](a,876384,b+8|0)|0)}else{a=0}t[c+208|0]=a;Ma=b+16|0}function wqa(a){a=a|0;var b=0,c=0,d=0;b=ab(240);a=v[a+4>>2];c=b,d=Qa[v[v[a>>2]+8>>2]](a)|0,v[c+4>>2]=d;v[b>>2]=952700;v[b>>2]=927664;a=ab(16);mU(a,v[b+4>>2]);v[b+96>>2]=0;v[b+88>>2]=0;v[b+92>>2]=0;v[b+76>>2]=0;v[b+8>>2]=a;v[b+12>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+104>>2]=0;v[b+108>>2]=0;v[b+112>>2]=0;v[b+116>>2]=0;v[b+124>>2]=0;v[b+128>>2]=0;v[b+132>>2]=0;v[b+136>>2]=0;v[b+200>>2]=0;v[b+204>>2]=0;v[b+208>>2]=0;v[b+212>>2]=0;v[b+216>>2]=0;return b|0}function qF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{if((b|0)<1){break a}c=v[279250];e=b-1|0;d=b&7;if(d){while(1){v[a+16>>2]=0;v[a+20>>2]=c;a=a+28|0;b=b-1|0;d=d-1|0;if(d){continue}break}}if(e>>>0<7){break a}while(1){v[a+16>>2]=0;v[a+216>>2]=c;v[a+212>>2]=0;v[a+188>>2]=c;v[a+184>>2]=0;v[a+160>>2]=c;v[a+156>>2]=0;v[a+132>>2]=c;v[a+128>>2]=0;v[a+104>>2]=c;v[a+100>>2]=0;v[a+76>>2]=c;v[a+72>>2]=0;v[a+48>>2]=c;v[a+44>>2]=0;v[a+20>>2]=c;a=a+224|0;d=(b|0)>8;b=b-8|0;if(d){continue}break}}}function lB(a){var b=0,c=0,d=0,e=0,f=0;if(!a){return 35}f=38;c=v[a+40>>2];a:{if(!c){break a}d=(v[a+36>>2]<<2)+c|0;e=d-4|0;b:{if(e>>>0>=c>>>0){while(1){b=v[e>>2];c:{if(v[b+4>>2]!=1970170211){break c}d:{switch(x[b+8>>1]){case 3:if(x[b+10>>1]!=10){break c}break b;case 0:break d;default:break c}}if(x[b+10>>1]==4){break b}}e=e-4|0;if(e>>>0>=c>>>0){continue}break}}while(1){d=d-4|0;if(d>>>0>>0){break a}b=v[d>>2];if(v[b+4>>2]!=1970170211){continue}break}}v[a+92>>2]=b;f=0}return f}function aR(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=Ma-32|0;Ma=c;a:{b:{d=v[a+16>>2];e=v[a+24>>2];if((d|0)>=(e|0)){break b}f=v[a+28>>2];g=v[a+20>>2];if((f|0)<=(g|0)){break b}b=v[a>>2];h=v[a+8>>2];if((b|0)>=(h|0)){break b}i=v[a+12>>2];j=v[a+4>>2];if((i|0)<=(j|0)){break b}b=h-b|0;if(!b){break a}v[a+36>>2]=e-d;v[a+40>>2]=b;b=i-j|0;if(!b){break a}v[a+44>>2]=f-g;v[a+48>>2]=b;Ma=c+32|0;return}lb(mb(c+8|0,317070,240910,395,333251));L()}lb(mb(c+8|0,243681,240910,227,327727));L()}function Wr(a,b,c,d){var e=0,f=0,g=0;e=Ma-16|0;Ma=e;g=a+28|0;Sc(g,0,1);v[a+20>>2]=0;Sc(a+40|0,0,1);Sc(a+52|0,0,4);u[a+16>>1]=2;v[a+60>>2]=0;f=c+d|0;u[a+14>>1]=f;u[a+12>>1]=d;u[a+10>>1]=c;u[a+8>>1]=b;c=e+8|0;f=f&65535;d=d&65535;IE(c,f+d|0);jb(a+68|0,c);c=v[e+8>>2];v[e+8>>2]=0;b=d+B(f,b&65535)|0;a:{if(!c){break a}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break a}d=v[c+4>>2];if(!d){v[c+4>>2]=-32767}if(!d){Qa[v[v[c>>2]+4>>2]](c)}}if(b){Sc(g,b,1);Rh(g,1,0);v[a+20>>2]=v[a+24>>2]}Ma=e+16|0}function NXa(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,j=0,k=0;a:{if(f){if(!d){break a}a=c<<1;i=b<<1;while(1){j=g;h=w[f|0];b=w[e|0];if((h|0)!=(b|0)){b=b+((B(h-b|0,i)+c|0)/(a|0)|0)|0}t[j|0]=b;h=w[f+1|0];b=w[e+1|0];if((h|0)!=(b|0)){b=b+((B(h-b|0,i)+c|0)/(a|0)|0)|0}t[j+1|0]=b;h=w[f+2|0];b=w[e+2|0];if((h|0)!=(b|0)){b=b+((B(h-b|0,i)+c|0)/(a|0)|0)|0}t[j+2|0]=b;f=f+3|0;e=e+3|0;g=g+3|0;k=k+1|0;if((k|0)!=(d|0)){continue}break}break a}cb(g,e,B(d,3))}return 0}function ul(a,b){var c=0,d=0;a:{if(!a){break a}c=v[a+4>>2];if((c|0)==18|v[a+32>>2]==(b|0)){break a}b:{if((c|0)!=1){break b}d=v[a+44>>2];if(!d){break b}while(1){if(v[d+40>>2]==2){uX(v[a+32>>2],d)}v[d+32>>2]=b;c=v[d+12>>2];if(!(!c|v[c+4>>2]==18)){while(1){if(v[c+32>>2]!=(b|0)){ul(c,b)}c=v[c+24>>2];if(c){continue}break}}d=v[d+24>>2];if(d){continue}break}}c=v[a+12>>2];if(!(!c|v[c+4>>2]==18)){while(1){if(v[c+32>>2]!=(b|0)){ul(c,b)}c=v[c+24>>2];if(c){continue}break}}v[a+32>>2]=b}}function UE(a,b,c,d,e){var f=0,g=0,h=0;f=ab(108);v[f+8>>2]=0;v[f+12>>2]=0;v[f>>2]=978348;v[f+4>>2]=0;v[f+16>>2]=0;v[f+20>>2]=0;v[f+24>>2]=0;v[f+28>>2]=0;v[f+32>>2]=0;v[f+36>>2]=0;g=pc(f+44|0,f+40|0,0,4);h=pc(f+56|0,f+52|0,0,4);v[f>>2]=978380;pc(f+68|0,f- -64|0,0,3);pc(f+80|0,f+76|0,0,3);pc(f+92|0,f+88|0,0,3);v[f+12>>2]=c;v[f+8>>2]=b;if(v[f+40>>2]){Sc(g,0,4)}if(v[f+52>>2]){Sc(h,0,4)}v[f+36>>2]=e;v[f+32>>2]=d;if(v[f+40>>2]){Sc(g,0,4)}if(v[f+52>>2]){Sc(h,0,4)}v[a>>2]=0;qb(a,f)}function EK(a,b,c,d,e,f){var g=0,h=0,i=0;g=FK(a,b,c,d,f);f=v[v[f>>2]+12>>2];h=v[e>>2];i=v[d>>2];if(y[v[f+(h<<2)>>2]>>2]>2]>>2]){v[d>>2]=h;v[e>>2]=i;e=v[d>>2];h=v[c>>2];if(y[v[f+(e<<2)>>2]>>2]>=y[v[f+(h<<2)>>2]>>2]){return g+1|0}v[c>>2]=e;v[d>>2]=h;d=v[c>>2];e=v[b>>2];if(y[v[f+(d<<2)>>2]>>2]>=y[v[f+(e<<2)>>2]>>2]){return g+2|0}v[b>>2]=d;v[c>>2]=e;c=v[b>>2];d=v[a>>2];if(y[v[f+(c<<2)>>2]>>2]>=y[v[f+(d<<2)>>2]>>2]){return g+3|0}v[a>>2]=c;v[b>>2]=d;g=g+4|0}return g}function D0(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0;A[a+40>>3]=g;A[a+32>>3]=f;A[a+24>>3]=c;A[a+16>>3]=b;A[a+96>>3]=b;A[a+48>>3]=b;A[a+104>>3]=c;A[a+56>>3]=c;m=a;j=d-b;k=e-c;h=f-d;l=h*h;h=g-e;h=(K(j*j+k*k)+K(l+h*h))*.25*A[a+8>>3]+.5;a:{if(h<4294967296&h>=0){i=~~h>>>0;break a}i=0}i=(i|0)>4?i:4;v[m>>2]=i;v[a+4>>2]=i;d=b-(d+d)+f;b=1/+(i|0);f=b*b;d=d*f;l=j;j=b+b;b=d+l*j;A[a+112>>3]=b;A[a+64>>3]=b;b=(c-(e+e)+g)*f;c=b+k*j;A[a+120>>3]=c;A[a+72>>3]=c;A[a+88>>3]=b+b;A[a+80>>3]=d+d}function wE(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(!(v[a+44>>2]?v[a+36>>2]:0)){aR(a)}d=v[a+36>>2];f=(d|0)/2|0;h=v[a>>2];e=B(v[a+40>>2],v[b>>2]-v[a+16>>2]|0);a:{if((e|0)>=0){e=(f+e|0)/(d|0)|0;break a}e=0-((f-e|0)/(d|0)|0)|0}f=v[a+44>>2];g=(f|0)/2|0;i=v[a+4>>2];j=b;k=v[a+12>>2];d=B(v[a+48>>2],v[c>>2]-v[a+20>>2]|0);b:{if((d|0)>=0){d=(d+g|0)/(f|0)|0;break b}d=0-((g-d|0)/(f|0)|0)|0}b=v[a+32>>2];d=b&2?k-d|0:d+i|0;a=b&1?v[a+8>>2]-e|0:e+h|0;b=b&4;v[j>>2]=b?d:a;v[c>>2]=b?a:d}function m3a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=-1;a:{if(di(b,a+24|0)){break a}e=a+20|0;if(di(b,e)){break a}if(qf(b,a+28|0)){break a}d=v[b+8>>2];if(d&7){break a}c=v[b+64>>2];if(!((c|0)<0|(c|0)>v[b+60>>2])){v[b+8>>2]=d|4;return-1}c=-1;d=v[b+28>>2];v[b+28>>2]=d-1;b:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;d=w[c|0];break b}d=Eb(b,1);if((d|0)==-1){break a}}t[a+32|0]=d;c=-1;if(er(b,e+13|0)){break a}if(er(b,e+14|0)){break a}c=er(b,e+15|0)?-1:0}return c|0}function JCa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=a+20|0;if(e>>>0>y[b+160>>2]){$c(b,8)}c=w[a+16|0]|w[a+17|0]<<8|(w[a+18|0]<<16|w[a+19|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);d=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);if(!(!(d>>>0<20|d>>>0>v[b+160>>2]-a>>>0)&d-20>>>1>>>0>=c>>>0)){$c(b,8)}if(!(!v[b+164>>2]|!c)){while(1){if(y[b+172>>2]<=(w[e+1|0]|w[e|0]<<8)>>>0){$c(b,16)}e=e+2|0;c=c-1|0;if(c){continue}break}}return 0}function eU(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=Ma-16|0;Ma=d;v[a>>2]=959212;f=v[a+4>>2];c=d+12|0;Bj(f,c);if(uf(f,c,d+8|0,d+4|0)){while(1){c=v[d+4>>2];if(c){b=v[c>>2];if(b){$a(Bb(b))}b=v[c+4>>2];if(b){$a(Bb(b))}b=v[c+8>>2];if(b){$a(Bb(b))}b=v[c+12>>2];if(b){$a(b)}b=v[c+16>>2];if(b){e=v[b+4>>2];if(e){$a(Bb(e))}$a(b)}b=v[c+20>>2];if(b){e=v[b>>2];if(e){$a(Bb(e))}e=v[b+40>>2];if(e){$a(Bb(e))}$a(b)}$a(c)}if(uf(f,d+12|0,d+8|0,d+4|0)){continue}break}}$a(Vg(f));Ma=d+16|0;return a|0}function _6(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;a:{b:{c:{e=v[a+584>>2];if(e){f=v[e+36>>2];if(!f){break c}if(!(Qa[f|0](a,b,c,d)|0)){return 0}d=v[e+8>>2];if((d|0)<=0){break b}f=v[e+40>>2];if(!f){break a}d:{if((c|0)<1){break d}Qa[f|0](a,b,d);c=c-d|0;if((c|0)<=0){break d}while(1){b=b+d|0;Qa[v[e+40>>2]](a,b,d);c=c-d|0;if((c|0)>0){continue}break}}return 1}O(16309,6354,416,187985);L()}O(38815,6354,417,187985);L()}O(40572,6354,421,187985);L()}O(37911,6354,422,187985);L()}function um(a){var b=0,c=0,d=0;if(a){c=v[a+20>>2];if(c){d=v[c+12>>2];a:{b:{if((d|0)==3){b=v[c+16>>2];if(b){break b}b=v[c>>2];if(b){break b}break a}b=v[c>>2];if(!b|(d|0)==2){break a}}Qa[v[256556]](b)}Qa[v[256556]](c);v[a+20>>2]=0}b=v[a+8>>2];if(b){Qa[b|0](v[a>>2])|0}c=v[a+16>>2];if(c){d=v[c+12>>2];c:{d:{if((d|0)==3){b=v[c+16>>2];if(b){break d}b=v[c>>2];if(b){break d}break c}b=v[c>>2];if(!b|(d|0)==2){break c}}Qa[v[256556]](b)}Qa[v[256556]](c);v[a+16>>2]=0}Qa[v[256556]](a)}}function u_(a,b){var c=0,d=0,e=0;d=Ma-16|0;Ma=d;c=v[a>>2]+1|0;v[d+12>>2]=c;a:{if(b>>>0<=c>>>0){break a}while(1){Hg(d+12|0,b);c=v[d+12>>2];if(c>>>0>=b>>>0){break a}b:{e=w[c|0];if((e-48&255)>>>0<=9){break b}switch(e-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break b;default:break a}}c=c+1|0;v[d+12>>2]=c;if(b>>>0>c>>>0){continue}break}}c:{if(b>>>0>c>>>0){b=3;if(w[c|0]!=62){break c}}c=c+1|0;b=0}v[a>>2]=c;Ma=d+16|0;return b}function P2(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=Ma-16|0;Ma=e;a:{if(!a|!b){break a}i=a?v[a>>2]:0;h=hk(i);if(!h){break a}if((i|0)>=1){while(1){k=e,l=$e(a,d),v[k+12>>2]=l;j=$2(a,d,1);f=JB(b,j);c=f;g=v[e+12>>2];b:{if(!c|!g|(c|0)==(g|0)){break b}if(((f?v[f+8>>2]:-1)|0)!=((g?v[g+8>>2]:-1)|0)){break b}c=se(c,f);if(!c){break b}fe(c,0,0,c?v[c>>2]:-1,c?v[c+4>>2]:-1,16,g,0,0)}oh(h,f,0);ap(h,j);_b(e+12|0);d=d+1|0;if((i|0)!=(d|0)){continue}break}}d=h}Ma=e+16|0;return d}function w_a(a){a=a|0;var b=0,c=0,d=0;b=v[v[a+536>>2]+88>>2];b=((v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0)+3|0;c=v[a+644>>2];a:{b:{switch(w[a+2253|0]-2|0){case 0:if(v[a+588>>2]<=0){break a}while(1){t[b|0]=w[c|0]+w[b|0];c=c+1|0;b=b+4|0;d=d+1|0;if((d|0)>2]){continue}break};break a;case 3:break b;default:break a}}if(v[a+588>>2]<1){break a}while(1){t[b|0]=w[c|0];c=c+1|0;b=b+4|0;d=d+1|0;if((d|0)>2]){continue}break}}return 0}function RJ(a){a=a|0;var b=0,c=0,d=0,e=0;if(v[290698]){b=v[290698];Qa[v[v[b>>2]+32>>2]](b)}b=v[a+8>>2];e=a+12|0;if((b|0)!=(e|0)){while(1){d=b;b=v[b+28>>2];if(b){Qa[v[v[b>>2]+12>>2]](b)|0}c=v[d+4>>2];a:{if(!c){b=v[d+8>>2];if((d|0)==v[b>>2]){break a}d=d+8|0;while(1){c=v[d>>2];d=c+8|0;b=v[c+8>>2];if((c|0)!=v[b>>2]){continue}break}break a}while(1){b=c;c=v[b>>2];if(c){continue}break}}if((b|0)!=(e|0)){continue}break}}Aw(a+8|0,v[a+12>>2]);v[a+8>>2]=e;v[a+12>>2]=0;v[a+16>>2]=0}function D_a(a){a=a|0;var b=0,c=0,d=0;b=v[v[a+536>>2]+88>>2];b=((v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0)+1|0;c=v[a+644>>2];a:{b:{switch(w[a+2253|0]-2|0){case 0:if(v[a+588>>2]<=0){break a}while(1){t[b|0]=w[c|0]+w[b|0];c=c+1|0;b=b+2|0;d=d+1|0;if((d|0)>2]){continue}break};break a;case 3:break b;default:break a}}if(v[a+588>>2]<1){break a}while(1){t[b|0]=w[c|0];c=c+1|0;b=b+2|0;d=d+1|0;if((d|0)>2]){continue}break}}return 0}function rx(a,b,c,d,e,f){var g=0,h=0,i=0;h=Ma-16|0;Ma=h;if(1073741807-b>>>0>=c>>>0){i=w[a+11|0]>>>7|0?v[a>>2]:a;a:{if(b>>>0<536870887){v[h+8>>2]=b<<1;v[h+12>>2]=b+c;c=Ma-16|0;Ma=c;Ma=c+16|0;c=h+8|0;g=h+12|0;c=v[(y[g>>2]>2]?c:g)>>2];if(c>>>0>=2){g=c+4&-4;c=g-1|0;c=(c|0)==2?g:c}else{c=1}break a}c=1073741806}g=c+1|0;c=FN(g);if(e){rk(c,i,e)}d=d-e|0;if(d){e=e<<2;rk((e+c|0)+(f<<2)|0,e+i|0,d)}if((b|0)!=1){$a(i)}v[a>>2]=c;v[a+8>>2]=g|-2147483648;Ma=h+16|0;return}sc();L()}function ql(a,b,c,d){var e=0,f=0,g=0;a:{f=v[a+4>>2];if(!f){e=b;break a}b:{if(y[a+8>>2]<=b>>>0){break b}e=v[f+(b<<2)>>2];if(e){break a}e=0;g=v[a+16>>2];if((g|0)<1){break b}f=v[a+12>>2];a=0;while(1){if(v[f+B(a,40)>>2]==(b|0)){b=f+B(a,40)|0;if(v[b+36>>2]<1|(d|0)<1){break b}a=f+B(a,40)|0;while(1){f=e<<2;v[f+c>>2]=v[(a+f|0)+4>>2];e=e+1|0;if((e|0)>=v[b+36>>2]){break b}if((d|0)>(e|0)){continue}break}break b}a=a+1|0;if((g|0)!=(a|0)){continue}break}}return e}v[c>>2]=e;return 1}function om(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=v[b>>2];a:{if((c|0)<1){break a}e=c&3;d=v[b+4>>2];if(c-1>>>0>=3){g=c&-4;c=d;while(1){f=w[c+3|0]+B(w[c+2|0]+B(w[c+1|0]+B(w[c|0]+B(f,17)|0,17)|0,17)|0,17)|0;d=c+4|0;c=d;g=g-4|0;if(g){continue}break}}if(!e){break a}while(1){f=w[d|0]+B(f,17)|0;d=d+1|0;e=e-1|0;if(e){continue}break}}c=v[v[a+12>>2]+((f>>>0)%y[a+4>>2]<<2)>>2];b:{if(!c){break b}while(1){if(vh(v[c>>2],b)){c=v[c+8>>2];if(c){continue}break b}break}h=v[c+4>>2]}return h}function iOa(a){a=a|0;var b=0,c=0,d=0,e=0;b=ab(64);v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=360100;v[b+4>>2]=1;v[b+32>>2]=0;v[b+36>>2]=0;v[b+20>>2]=-16777216;v[b+24>>2]=-16777216;v[b+16>>2]=0;v[b+40>>2]=0;v[b+44>>2]=0;v[b+48>>2]=0;v[b+52>>2]=0;v[b+56>>2]=0;v[b+60>>2]=0;a:{if((a|0)==(b|0)){break a}c=b+8|0;if(t[a+19|0]>=0){d=a+8|0;e=v[d+4>>2];v[c>>2]=v[d>>2];v[c+4>>2]=e;v[c+8>>2]=v[d+8>>2];break a}De(c,v[a+8>>2],v[a+12>>2])}v[b+20>>2]=v[a+20>>2];v[b+24>>2]=v[a+24>>2];return b|0}function fw(a){var b=0,c=0,d=0,e=0;b=Ma-96|0;Ma=b;v[b+4>>2]=0;v[b>>2]=0;c=w[a+11|0];d=c<<24>>24<0;No(d?v[a>>2]:a,d?v[a+4>>2]:c,b+4|0,b);c=co(v[b+4>>2],b+8|0);d=v[b+20>>2];e=v[b+4>>2];if(e){$a(e)}a:{if(!c){c=1;if((d&61440)==16384){break a}}c=0;v[b+4>>2]=0;v[b>>2]=0;d=w[a+11|0];e=d<<24>>24<0;No(e?v[a>>2]:a,e?v[a+4>>2]:d,b+4|0,b);if((co(v[b+4>>2],b+8|0)|0)==-1){c=Fa(v[b+4>>2],509)|0;if(c>>>0>=4294963201){v[296206]=0-c;c=-1}}a=v[b+4>>2];if(a){$a(a)}c=!c}Ma=b+96|0;return c}function Xja(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{if((b|0)<1){break a}c=v[279250];e=b-1|0;d=b&7;if(d){while(1){v[a+8>>2]=0;v[a+12>>2]=c;a=a+16|0;b=b-1|0;d=d-1|0;if(d){continue}break}}if(e>>>0<7){break a}while(1){v[a+8>>2]=0;v[a+124>>2]=c;v[a+120>>2]=0;v[a+108>>2]=c;v[a+104>>2]=0;v[a+92>>2]=c;v[a+88>>2]=0;v[a+76>>2]=c;v[a+72>>2]=0;v[a+60>>2]=c;v[a+56>>2]=0;v[a+44>>2]=c;v[a+40>>2]=0;v[a+28>>2]=c;v[a+24>>2]=0;v[a+12>>2]=c;a=a+128|0;d=(b|0)>8;b=b-8|0;if(d){continue}break}}}function WJa(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;e=v[a+452>>2];i=e+24|0;g=v[e+24>>2];a:{if(g){h=v[e+12>>2];break a}h=Qa[v[v[a+4>>2]+28>>2]](a,v[e+8>>2],v[e+20>>2],v[e+16>>2],1)|0;v[e+12>>2]=h;g=v[e+24>>2]}Qa[v[v[a+472>>2]+4>>2]](a,b,c,d,h,i,v[e+16>>2]);b=v[e+24>>2];if(b>>>0>g>>>0){b=b-g|0;Qa[v[v[a+480>>2]+4>>2]](a,v[e+12>>2]+(g<<2)|0,0,b);v[f>>2]=b+v[f>>2];b=v[e+24>>2]}a=v[e+16>>2];if(a>>>0<=b>>>0){v[e+24>>2]=0;v[e+20>>2]=a+v[e+20>>2]}}function Nq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=Ma-16|0;Ma=e;a:{if(!a){f=35;break a}f=38;d=v[a+40>>2];if(!d|!b){break a}f=6;g=v[a+36>>2];if((g|0)<1){break a}g=(g<<2)+d|0;while(1){b:{if(v[d>>2]!=(b|0)){break b}c=v[b>>2];c:{if(!c){break c}c=v[c+96>>2];h=v[v[c>>2]+32>>2];if(!h){break c}c=Qa[h|0](c,235116)|0;if(!c){break c}if(Qa[v[c>>2]](b,e+8|0)|0){break c}if(v[e+12>>2]==14){break b}}v[a+92>>2]=v[d>>2];f=0;break a}d=d+4|0;if(g>>>0>d>>>0){continue}break}}Ma=e+16|0;return f}function qC(a){var b=0,c=0,d=0;a:{b=v[a+8>>2];if((b|0)<1){break a}d=b-1|0;a=v[a+12>>2];c=b&3;if(c){while(1){v[a+12>>2]=0;v[a+4>>2]=2147483647;v[a+8>>2]=0;a=a+16|0;b=b-1|0;c=c-1|0;if(c){continue}break}}if(d>>>0<3){break a}while(1){v[a+12>>2]=0;v[a+4>>2]=2147483647;v[a+8>>2]=0;v[a+60>>2]=0;v[a+52>>2]=2147483647;v[a+56>>2]=0;v[a+44>>2]=0;v[a+36>>2]=2147483647;v[a+40>>2]=0;v[a+28>>2]=0;v[a+20>>2]=2147483647;v[a+24>>2]=0;a=a- -64|0;c=(b|0)>4;b=b-4|0;if(c){continue}break}}}function oE(a){var b=0,c=0,d=0,e=0,f=0,g=0;d=Ma-16|0;Ma=d;b=v[a+8>>2];if((b|0)>0){c=v[a+12>>2];a:{if((b|0)<1){break a}g=b+c|0;while(1){b:{b=c;if(!w[b|0]){break b}v[d+12>>2]=b;f=Qa[v[v[a>>2]+60>>2]](a,d+12|0)|0;c=v[d+12>>2];if((b|0)==(c|0)){break b}c:{if(f>>>0>255){break c}e=f<<24;e=(e|0)<-16777216?f:e>>24;if((e|0)==32|e-9>>>0<5){break c}switch(f-10|0){case 0:case 3:break c;default:break b}}if(c>>>0>>0){continue}break a}break}c=b}b=c-v[a+12>>2]|0}Ma=d+16|0;return b}function ag(a,b,c){var d=0,e=0;d=(c|0)!=0;a:{b:{c:{if(!(a&3)|!c){break c}e=b&255;while(1){if((e|0)==w[a|0]){break b}c=c-1|0;d=(c|0)!=0;a=a+1|0;if(!(a&3)){break c}if(c){continue}break}}if(!d){break a}}d:{if(w[a|0]==(b&255)|c>>>0<4){break d}d=B(b&255,16843009);while(1){e=d^v[a>>2];if((e^-1)&e-16843009&-2139062144){break d}a=a+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(!c){break a}b=b&255;while(1){if((b|0)==w[a|0]){return a}a=a+1|0;c=c-1|0;if(c){continue}break}}return 0}function _da(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=Ma-32|0;Ma=e;v[e+16>>2]=b;f=v[a+48>>2];v[e+20>>2]=c-((f|0)!=0);d=v[a+44>>2];v[e+28>>2]=f;v[e+24>>2]=d;f=-1;a:{b:{d=ga(v[a+60>>2],e+16|0,2,e+12|0)|0;if(d){v[296206]=d;d=-1}else{d=0}if(!d){f=v[e+12>>2];if((f|0)>0){break b}}v[a>>2]=v[a>>2]|f&48^16;break a}g=v[e+20>>2];if(g>>>0>=f>>>0){break a}d=v[a+44>>2];v[a+4>>2]=d;v[a+8>>2]=d+(f-g|0);if(v[a+48>>2]){v[a+4>>2]=d+1;t[(b+c|0)-1|0]=w[d|0]}f=c}Ma=e+32|0;return f|0}function Vk(a,b,c){var d=0,e=0;a:{if(!v[a+4>>2]|!v[a+44>>2]){break a}b:{if(!((b|0)<0|(c|0)<0|v[a+16>>2]<=(b|0))){if(v[a+20>>2]>(c|0)){break b}}d=v[a+336>>2];if((d|0)>=0){break a}d=w[v[a+56>>2]];break a}e=x[a+26>>1];if((e|0)==8){d=w[v[a+56>>2]+(B(v[a+52>>2],c)+b|0)|0];break a}a=w[v[a+56>>2]+(B(v[a+52>>2],c)+(B(b,e)>>3)|0)|0];c:{switch(e-1|0){case 3:c=a;a=B(b&1,252)+4&252;d=(c&15<>>a|0;break a;case 0:break c;default:break a}}b=(b^-1)&7;d=(a&1<>>b|0}return d&255}function Oha(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Ma-16|0;Ma=c;if(!w[a+88|0]){e=a,f=Qa[v[v[a>>2]+36>>2]](a)|0,v[e+72>>2]=f;e=a,f=Qa[v[v[a>>2]+44>>2]](a)|0,v[e+76>>2]=f;e=a,f=Qa[v[v[a>>2]+40>>2]](a)|0,v[e+80>>2]=f;d=Qa[v[v[a>>2]+48>>2]](a)|0;t[a+88|0]=1;v[a+84>>2]=d}v[c>>2]=v[a+92>>2];v[c+8>>2]=v[a+100>>2];v[c+4>>2]=v[a+96>>2];v[c+12>>2]=v[a+104>>2];Tr(b,c);v[a+92>>2]=v[c>>2];v[a+96>>2]=v[c+4>>2];v[a+100>>2]=v[c+8>>2];b=v[c+12>>2];t[a+88|0]=0;v[a+104>>2]=b;Ma=c+16|0}function Nha(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Ma-16|0;Ma=c;if(!w[a+88|0]){e=a,f=Qa[v[v[a>>2]+36>>2]](a)|0,v[e+72>>2]=f;e=a,f=Qa[v[v[a>>2]+44>>2]](a)|0,v[e+76>>2]=f;e=a,f=Qa[v[v[a>>2]+40>>2]](a)|0,v[e+80>>2]=f;d=Qa[v[v[a>>2]+48>>2]](a)|0;t[a+88|0]=1;v[a+84>>2]=d}v[c>>2]=v[a+92>>2];v[c+8>>2]=v[a+100>>2];v[c+4>>2]=v[a+96>>2];v[c+12>>2]=v[a+104>>2];_Q(b,c);v[a+92>>2]=v[c>>2];v[a+96>>2]=v[c+4>>2];v[a+100>>2]=v[c+8>>2];b=v[c+12>>2];t[a+88|0]=0;v[a+104>>2]=b;Ma=c+16|0}function KQa(a){a=a|0;var b=0,c=0;b=v[a+20>>2];a:{if(!(v[a+64>>2]|b-205>>>0>1)){if(y[a+140>>2]>2]){b=v[a>>2];v[b+20>>2]=69;Qa[v[b>>2]](a)}Qa[v[v[a+440>>2]+4>>2]](a);v[a+20>>2]=210;break a}b:{switch(b-207|0){case 0:v[a+20>>2]=210;break a;case 3:break a;default:break b}}c=v[a>>2];v[c+24>>2]=b;v[c+20>>2]=21;Qa[v[v[a>>2]>>2]](a)}c:{while(1){b=v[a+456>>2];if(v[b+20>>2]){break c}if(Qa[v[b>>2]](a)|0){continue}break}return 0}Qa[v[v[a+24>>2]+24>>2]](a);Fw(a);return 1}function F1a(a){a=a|0;var b=0,c=0,d=0,e=0;a=v[a+52>>2];c=Qa[v[v[a>>2]+20>>2]](a,2)|0;Qa[v[v[a>>2]+20>>2]](a,1)|0;b=Qa[v[v[a>>2]+20>>2]](a,1)|0;d=b>>>4&3;b=b>>>6&1;c=(c-4|0)/((d+(b<<1)|0)+2|0)|0;a:{if((c|0)<1){break a}b=b?4:2;if((c|0)!=1){e=c&-2;while(1){Qa[v[v[a>>2]+20>>2]](a,d)|0;Qa[v[v[a>>2]+20>>2]](a,b)|0;Qa[v[v[a>>2]+20>>2]](a,d)|0;Qa[v[v[a>>2]+20>>2]](a,b)|0;e=e-2|0;if(e){continue}break}}if(!(c&1)){break a}Qa[v[v[a>>2]+20>>2]](a,d)|0;Qa[v[v[a>>2]+20>>2]](a,b)|0}}function zra(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=ab(176);d=v[a+12>>2];c=v[a+144>>2];c=Qa[v[v[c>>2]+8>>2]](c)|0;e=v[a+148>>2];e=Qa[v[v[e>>2]+8>>2]](e)|0;f=v[a+168>>2];g=v[a+4>>2];v[b+4>>2]=15;v[b+8>>2]=0;v[b+152>>2]=13;v[b>>2]=887948;v[b+148>>2]=e;v[b+144>>2]=c;v[b+12>>2]=d;ee(a+152|0,b+152|0);v[b+4>>2]=g;v[b+168>>2]=f;if(v[b+12>>2]>=1){d=0;while(1){c=d<<2;e=v[(c+a|0)+16>>2];f=ab(8);Hc(f,e);v[(b+c|0)+16>>2]=f;d=d+1|0;if((d|0)>2]){continue}break}}return b|0}function Y9(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;b=Ma-32|0;Ma=b;d=x[a+88>>1];a:{b:{e=v[279424];if(e){while(1){c=v[e+4>>2];if((d|0)==x[c+4>>1]){break b}e=v[e>>2];if(e){continue}break}}if(v[253816]){c=1015264;while(1){if((d|0)==x[c+4>>1]){break b}e=v[c+12>>2];c=c+12|0;if(e){continue}break}}c=v[a>>2];a=v[a+628>>2];v[b+4>>2]=10178;v[b>>2]=d;wb(a,c,30139,b);break a}d=v[a>>2];a=v[a+628>>2];c=v[c>>2];v[b+20>>2]=10178;v[b+16>>2]=c;wb(a,d,28753,b+16|0)}Ma=b+32|0;return-1}function $9(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;b=Ma-32|0;Ma=b;d=x[a+88>>1];a:{b:{e=v[279424];if(e){while(1){c=v[e+4>>2];if((d|0)==x[c+4>>1]){break b}e=v[e>>2];if(e){continue}break}}if(v[253816]){c=1015264;while(1){if((d|0)==x[c+4>>1]){break b}e=v[c+12>>2];c=c+12|0;if(e){continue}break}}c=v[a>>2];a=v[a+628>>2];v[b+4>>2]=10178;v[b>>2]=d;wb(a,c,26986,b);break a}d=v[a>>2];a=v[a+628>>2];c=v[c>>2];v[b+20>>2]=10178;v[b+16>>2]=c;wb(a,d,25292,b+16|0)}Ma=b+32|0;return-1}function daa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;b=Ma-32|0;Ma=b;d=x[a+88>>1];a:{b:{e=v[279424];if(e){while(1){c=v[e+4>>2];if((d|0)==x[c+4>>1]){break b}e=v[e>>2];if(e){continue}break}}if(v[253816]){c=1015264;while(1){if((d|0)==x[c+4>>1]){break b}e=v[c+12>>2];c=c+12|0;if(e){continue}break}}c=v[a>>2];a=v[a+628>>2];v[b+4>>2]=2177;v[b>>2]=d;wb(a,c,26986,b);break a}d=v[a>>2];a=v[a+628>>2];c=v[c>>2];v[b+20>>2]=2177;v[b+16>>2]=c;wb(a,d,25292,b+16|0)}Ma=b+32|0;return-1}function caa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;b=Ma-32|0;Ma=b;d=x[a+88>>1];a:{b:{e=v[279424];if(e){while(1){c=v[e+4>>2];if((d|0)==x[c+4>>1]){break b}e=v[e>>2];if(e){continue}break}}if(v[253816]){c=1015264;while(1){if((d|0)==x[c+4>>1]){break b}e=v[c+12>>2];c=c+12|0;if(e){continue}break}}c=v[a>>2];a=v[a+628>>2];v[b+4>>2]=5458;v[b>>2]=d;wb(a,c,26986,b);break a}d=v[a>>2];a=v[a+628>>2];c=v[c>>2];v[b+20>>2]=5458;v[b+16>>2]=c;wb(a,d,25292,b+16|0)}Ma=b+32|0;return-1}function Ll(a,b,c){var d=0,e=0;d=v[a>>2];a:{b:{if((b|0)<=-1){b=d;if((d|0)>-1){break b}break a}b=0;if((d|0)<=-1){break a}}e=v[a+4>>2];if((e|0)<=(d|0)){e=d+16|0;d=v[a+8>>2];c:{if(!d){d=gb(e<<2);break c}d=ph(d,e<<2)}if(!d){return-1}v[a+4>>2]=e;v[a+8>>2]=d;d=v[a>>2]}if((d|0)<(e|0)){v[c>>2]=v[c>>2]+1;e=d-b|0;if((e|0)>=1){d=v[a+8>>2]+(b<<2)|0;id(d+4|0,d,e<<2);d=v[a>>2]}v[v[a+8>>2]+(b<<2)>>2]=c;v[a>>2]=d+1;return 0}O(22566,6744,664,188310);L()}O(20279,6744,658,188310);L()}function GO(a,b,c,d){var e=0,f=0,g=0,h=0;e=Ma-16|0;Ma=e;a:{b:{c:{if((a|0)!=(b|0)){d:{e:{f=w[a|0];if((f|0)!=45){break e}a=a+1|0;if((b|0)!=(a|0)){break e}break d}h=v[296206];v[296206]=0;a=xD(a,e+12|0,d,te());d=Pa;g=v[296206];f:{if(g){if(v[e+12>>2]!=(b|0)){break f}if((g|0)==68){break c}break b}v[296206]=h;if(v[e+12>>2]==(b|0)){break b}}}}v[c>>2]=4;a=0;b=0;break a}v[c>>2]=4;a=-1;b=-1;break a}b=a;c=(f|0)==45;a=c?0-a|0:a;b=c?0-(d+((b|0)!=0)|0)|0:d}Ma=e+16|0;Pa=b;return a}function $fa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=Ma-32|0;Ma=g;a:{e=v[a+24>>2];if(!(!e|v[a+36>>2]>=0)){d=v[a+28>>2];f=v[a+32>>2];if((d|0)<(f|0)){d=v[a+16>>2];Qa[v[v[d>>2]+20>>2]](d,f,0,0)|0;d=v[a+32>>2];v[a+28>>2]=d;e=v[a+24>>2]}e=v[e+8>>2];if((e|0)<(d|0)){break a}f=v[a+16>>2];b=Qa[v[v[f>>2]+8>>2]](f,b,(e|0)<(c+d|0)?e-d|0:c)|0;v[a+28>>2]=b+v[a+28>>2];Ma=g+32|0;return b|0}lb(mb(g+8|0,317025,241642,480,329518));L()}lb(mb(g+8|0,232847,241642,488,329518));L()}function yPa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=v[a+20>>2];if((d|0)!=206){e=v[a>>2];v[e+24>>2]=d;v[e+20>>2]=21;Qa[v[v[a>>2]>>2]](a)}e=v[a+116>>2];f=v[a+140>>2];if(e>>>0<=f>>>0){b=v[a>>2];v[b+20>>2]=126;Qa[v[b+4>>2]](a,-1);return 0}d=v[a+8>>2];if(d){v[d+8>>2]=e;v[d+4>>2]=f;Qa[v[d>>2]](a)}d=c;c=B(v[a+324>>2],v[a+316>>2]);if(d>>>0>>0){d=v[a>>2];v[d+20>>2]=24;Qa[v[d>>2]](a)}if(!(Qa[v[v[a+448>>2]+12>>2]](a,b)|0)){return 0}v[a+140>>2]=c+v[a+140>>2];return c|0}function vaa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a=(c|0)/3|0;if((B(a,3)|0)!=(c|0)){O(36779,31925,723,77191);L()}a:{if(!a){break a}d=a-1|0;c=a&3;if(c){while(1){e=w[b+2|0];t[b+2|0]=w[b|0];t[b|0]=e;b=b+3|0;a=a-1|0;c=c-1|0;if(c){continue}break}}if(d>>>0<3){break a}while(1){c=w[b+2|0];t[b+2|0]=w[b|0];t[b|0]=c;c=w[b+5|0];t[b+5|0]=w[b+3|0];t[b+3|0]=c;c=w[b+8|0];t[b+8|0]=w[b+6|0];t[b+6|0]=c;c=w[b+11|0];t[b+11|0]=w[b+9|0];t[b+9|0]=c;b=b+12|0;a=a-4|0;if(a){continue}break}}}function nZ(a,b){var c=0,d=0;c=Ma-528|0;Ma=c;v[c+32>>2]=v[209078];d=v[209077];v[c+24>>2]=v[209076];v[c+28>>2]=d;d=v[209075];v[c+16>>2]=v[209074];v[c+20>>2]=d;d=v[209073];v[c+8>>2]=v[209072];v[c+12>>2]=d;a:{if(v[b>>2]>0){break a}t[c+16|0]=1;d=c+8|0;a=Ze(a,c+40|0,d,b);oZ(c+264|0,a,d,b);if(!a|!w[a+17|0]){break a}b=v[a+4>>2];b:{if(b){b=b-1|0;v[a+4>>2]=b;if(b){break b}}if(w[a+16|0]){break b}b=v[v[a+20>>2]+8>>2];if(b){Qa[b|0](a)}b=v[a+8>>2];if(b){Gg(b)}Nd(a)}}Ma=c+528|0}function _9(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;b=Ma-32|0;Ma=b;d=x[a+88>>1];a:{b:{e=v[279424];if(e){while(1){c=v[e+4>>2];if((d|0)==x[c+4>>1]){break b}e=v[e>>2];if(e){continue}break}}if(v[253816]){c=1015264;while(1){if((d|0)==x[c+4>>1]){break b}e=v[c+12>>2];c=c+12|0;if(e){continue}break}}c=v[a>>2];a=v[a+628>>2];v[b+4>>2]=2177;v[b>>2]=d;wb(a,c,30139,b);break a}d=v[a>>2];a=v[a+628>>2];c=v[c>>2];v[b+20>>2]=2177;v[b+16>>2]=c;wb(a,d,28753,b+16|0)}Ma=b+32|0;return-1}function Z9(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;b=Ma-32|0;Ma=b;d=x[a+88>>1];a:{b:{e=v[279424];if(e){while(1){c=v[e+4>>2];if((d|0)==x[c+4>>1]){break b}e=v[e>>2];if(e){continue}break}}if(v[253816]){c=1015264;while(1){if((d|0)==x[c+4>>1]){break b}e=v[c+12>>2];c=c+12|0;if(e){continue}break}}c=v[a>>2];a=v[a+628>>2];v[b+4>>2]=5458;v[b>>2]=d;wb(a,c,30139,b);break a}d=v[a>>2];a=v[a+628>>2];c=v[c>>2];v[b+20>>2]=5458;v[b+16>>2]=c;wb(a,d,28753,b+16|0)}Ma=b+32|0;return-1}function soa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=Ma-48|0;Ma=e;a:{if((b|0)<2){break a}f=v[a+4>>2];b=Qa[v[v[f>>2]+60>>2]](f,b,c,d)|0;if(!b){break a}Wb(Wb(b,c),337231);c=v[a+8>>2];if(c){v[e+32>>2]=c;Fb(b,336841,e+32|0)}if(v[a+12>>2]){Wb(b,337098)}if(v[a+16>>2]){Wb(b,337074)}v[e+16>>2]=v[a+20>>2];Fb(b,336825,e+16|0);c=v[a+24>>2];if(c){v[e>>2]=c;Fb(b,336812,e)}if(!v[a+28>>2]){Wb(b,337131)}if(v[a+32>>2]){Wb(b,337115)}Wb(b,341009);g=b}Ma=e+48|0;return g|0}function o7(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Ma-16|0;Ma=e;a:{d=v[a+584>>2];if(d){if(v[d+124>>2]!=2){break a}v[d+64>>2]=b;v[d+68>>2]=c;b=d- -64|0;b:{while(1){if(ck(b,0)){b=v[a+628>>2];a=v[a>>2];v[e+4>>2]=v[d+88>>2];v[e>>2]=a;wb(b,88481,33e3,e);a=0;break b}if(!v[d+80>>2]){v[a+608>>2]=v[a+600>>2];Xd(a);v[d+76>>2]=v[a+596>>2];v[d+80>>2]=v[a+600>>2]}if(v[d+68>>2]){continue}break}a=1}Ma=e+16|0;return a|0}O(21265,6646,216,88481);L()}O(32147,6646,217,88481);L()}function j$a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(v[a+588>>2]>=1){c=v[a+540>>2];c=((v[c+1176>>2]+B(v[c+1168>>2],v[a+572>>2])|0)+B(v[c+1164>>2],v[a+580>>2])|0)+1|0;d=v[a+636>>2]+v[a+616>>2]|0;while(1){h=c;if(!(b&255)){i=w[d|0];e=6;d=d+1|0;b=192}f=((b&i)>>>e|0)-1|0;t[h|0]=f>>>0<3?B(f,85)+85|0:0;e=e-2|0;c=c+2|0;b=(b&252)>>>2|0;g=g+1|0;if((g|0)>2]){continue}break}}v[a+2556>>2]=v[a+2556>>2]+1;a:{if(v[a+968>>2]){b=lk(a);if(b){break a}}b=0}return b|0}function d$a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(v[a+588>>2]>=1){c=v[a+540>>2];c=((v[c+1176>>2]+B(v[c+1168>>2],v[a+572>>2])|0)+B(v[c+1164>>2],v[a+580>>2])|0)+3|0;d=v[a+636>>2]+v[a+616>>2]|0;while(1){h=c;if(!(b&255)){i=w[d|0];e=6;d=d+1|0;b=192}f=((b&i)>>>e|0)-1|0;t[h|0]=f>>>0<3?B(f,85)+85|0:0;e=e-2|0;c=c+4|0;b=(b&252)>>>2|0;g=g+1|0;if((g|0)>2]){continue}break}}v[a+2556>>2]=v[a+2556>>2]+1;a:{if(v[a+968>>2]){b=lk(a);if(b){break a}}b=0}return b|0}function _k(a,b,c){var d=0,e=0;d=Ma-16|0;Ma=d;v[d+8>>2]=c;v[d+12>>2]=-1;if(w[a+11|0]>>>7|0){e=v[a+4>>2]}else{e=w[a+11|0]}if((c|0)!=-1){v[d>>2]=e;c=Ma-16|0;Ma=c;Ma=c+16|0;c=d+12|0;v[d+4>>2]=v[(y[d>>2]>2]?d:c)>>2];if(w[a+11|0]>>>7|0){a=v[a>>2]}c=Ma-16|0;Ma=c;Ma=c+16|0;e=d+8|0;c=d+4|0;e=v[(y[e>>2]>2]?e:c)>>2];c=0;a:{if(!e){break a}c=Jb(a,b,e)}a=c;b:{if(a){break b}a=-1;b=v[d+4>>2];c=v[d+8>>2];if(b>>>0>>0){break b}a=b>>>0>c>>>0}Ma=d+16|0;return a}gi();L()}function Yh(a,b,c,d,e){var f=0,g=0;if((c|0)<(e|0)){if(!Ff(a,b,c,e)){return-1}c=v[a+12>>2];b=v[a+8>>2]}g=e<<2;c=c-e|0;f=v[g+72672>>2]&b>>c;if((f|0)>v[d+g>>2]){while(1){if((c|0)<=0){if(!Ff(a,b,c,1)){return-1}c=v[a+12>>2];b=v[a+8>>2]}c=c-1|0;f=b>>>c&1|f<<1;e=e+1|0;if((f|0)>v[(e<<2)+d>>2]){continue}break}}v[a+12>>2]=c;v[a+8>>2]=b;if((e|0)>=17){a=v[a+16>>2];b=v[a>>2];v[b+20>>2]=121;Qa[v[b+4>>2]](a,-1);return 0}return w[(v[d+140>>2]+(v[((e<<2)+d|0)+72>>2]+f|0)|0)+17|0]}function Vc(a,b,c){var d=0,e=0;d=Ma-16|0;Ma=d;v[d+8>>2]=c;v[d+12>>2]=-1;if(w[a+11|0]>>>7|0){e=v[a+4>>2]}else{e=w[a+11|0]}if((c|0)!=-1){v[d>>2]=e;c=Ma-16|0;Ma=c;Ma=c+16|0;c=d+12|0;v[d+4>>2]=v[(y[d>>2]>2]?d:c)>>2];if(w[a+11|0]>>>7|0){a=v[a>>2]}c=Ma-16|0;Ma=c;Ma=c+16|0;e=d+8|0;c=d+4|0;e=v[(y[e>>2]>2]?e:c)>>2];c=0;a:{if(!e){break a}c=lc(a,b,e)}a=c;b:{if(a){break b}a=-1;b=v[d+4>>2];c=v[d+8>>2];if(b>>>0>>0){break b}a=b>>>0>c>>>0}Ma=d+16|0;return a}gi();L()}function Gra(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;e=Ma-400|0;Ma=e;A[e+392>>3]=+v[b>>2]*152587890625e-16;b=v[a+20>>2];Qa[v[v[b>>2]+16>>2]](b,e+392|0,e+128|0);b=v[a+16>>2];if((Qa[v[v[b>>2]+28>>2]](b)|0)>=1){b=0;while(1){h=(b<<2)+e|0;g=A[(e+128|0)+(b<<3)>>3]*65536;a:{if(D(g)<2147483648){f=~~g;break a}f=-2147483648}v[h>>2]=f;f=v[a+16>>2];b=b+1|0;if((Qa[v[v[f>>2]+28>>2]](f)|0)>(b|0)){continue}break}}a=v[a+16>>2];Qa[v[v[a>>2]+16>>2]](a,e,c,d);Ma=e+400|0}function Fra(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;e=Ma-400|0;Ma=e;A[e+392>>3]=+v[b>>2]*152587890625e-16;b=v[a+20>>2];Qa[v[v[b>>2]+16>>2]](b,e+392|0,e+128|0);b=v[a+16>>2];if((Qa[v[v[b>>2]+28>>2]](b)|0)>=1){b=0;while(1){h=(b<<2)+e|0;g=A[(e+128|0)+(b<<3)>>3]*65536;a:{if(D(g)<2147483648){f=~~g;break a}f=-2147483648}v[h>>2]=f;f=v[a+16>>2];b=b+1|0;if((Qa[v[v[f>>2]+28>>2]](f)|0)>(b|0)){continue}break}}a=v[a+16>>2];Qa[v[v[a>>2]+20>>2]](a,e,c,d);Ma=e+400|0}function Era(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;e=Ma-400|0;Ma=e;A[e+392>>3]=+v[b>>2]*152587890625e-16;b=v[a+20>>2];Qa[v[v[b>>2]+16>>2]](b,e+392|0,e+128|0);b=v[a+16>>2];if((Qa[v[v[b>>2]+28>>2]](b)|0)>=1){b=0;while(1){h=(b<<2)+e|0;g=A[(e+128|0)+(b<<3)>>3]*65536;a:{if(D(g)<2147483648){f=~~g;break a}f=-2147483648}v[h>>2]=f;f=v[a+16>>2];b=b+1|0;if((Qa[v[v[f>>2]+28>>2]](f)|0)>(b|0)){continue}break}}a=v[a+16>>2];Qa[v[v[a>>2]+24>>2]](a,e,c,d);Ma=e+400|0}function E_a(a){a=a|0;var b=0,c=0,d=0;b=v[v[a+536>>2]+88>>2];b=(v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0;c=v[a+644>>2];a:{b:{switch(w[a+2253|0]-3|0){case 0:if(v[a+588>>2]<=0){break a}while(1){t[b|0]=w[c|0]+w[b|0];c=c+1|0;b=b+2|0;d=d+1|0;if((d|0)>2]){continue}break};break a;case 3:break b;default:break a}}if(v[a+588>>2]<1){break a}while(1){t[b|0]=w[c|0];c=c+1|0;b=b+2|0;d=d+1|0;if((d|0)>2]){continue}break}}return 0}function $qa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=ab(376);f=jv(b,a);v[b>>2]=888132;A[b+184>>3]=A[a+184>>3];A[b+192>>3]=A[a+192>>3];A[b+200>>3]=A[a+200>>3];A[b+208>>3]=A[a+208>>3];A[b+216>>3]=A[a+216>>3];A[b+224>>3]=A[a+224>>3];c=v[a+360>>2];v[b+360>>2]=c;if((c|0)>=1){c=0;while(1){d=c<<2;e=v[(d+a|0)+232>>2];g=b+d|0,h=Qa[v[v[e>>2]+8>>2]](e)|0,v[g+232>>2]=h;c=c+1|0;if((c|0)>2]){continue}break}}v[b+364>>2]=v[a+364>>2];v[b+368>>2]=v[a+368>>2];return f|0}function ysa(a){a=a|0;var b=0,c=0,d=0;a:{b:{c:{b=v[a+16>>2];if(b){d=ab(8);b=Hc(d,b);qW(b);c=v[b+4>>2];if(Cc(c,234076)){break c}if(Cc(c,272645)){break c}c=Cc(c,264335);Bb(b);$a(d);if(c){break b}}if(v[a+32>>2]>=0){d:{switch(v[a+20>>2]-1|0){case 0:case 1:case 2:if(v[a+152>>2]){break b}if(!v[a+1448>>2]){return 1}return v[a+1460>>2]!=0|0;case 3:case 4:case 5:break a;default:break d}}return!v[a+152>>2]|0}break a}Bb(b);$a(d)}return 0}return!(v[a+152>>2]|v[a+1448>>2])|0}function k_(a,b,c,d){var e=0,f=0,g=0,h=0;h=v[a>>2];if(h>>>0>>0){f=1;b=b-h|0;d=d<<1;d=b>>>0>>0?b:d;a:{if(!d){b=0;break a}b=0;b:{while(1){c:{d:{e=w[b+h|0];switch(e|0){case 0:case 9:case 10:case 12:case 13:case 32:break c;default:break d}}if(e<<24>>24<0){break b}e=w[e+455920|0];if(e>>>0>15){break b}e=e|f<<4;if(!(f&16)){f=e;break c}t[c+g|0]=e;f=1;g=g+1|0}b=b+1|0;if((d|0)!=(b|0)){continue}break}b=d}if((f|0)==1){break a}t[c+g|0]=f<<4;g=g+1|0}v[a>>2]=b+h}return g}function Ub(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=2147483647;d=b>>31;d=d+b^d;a:{if(!d){break a}c=a>>31;c=c+a^c;if(c>>>0<=(d>>>17^65535)>>>0){e=((c<<16)+(d>>>1|0)>>>0)/(d>>>0)|0;break a}g=d>>>1|0;f=g+(c<<16)|0;c=(c>>>16|0)+(f>>>0>>0)|0;if(c>>>0>=d>>>0){break a}g=E(c);h=32-g|0;c=f>>>h|c<>>0)/(d>>>0)|0;i=c-B(d,e)|0;c=f<>>31;i=f-(d>>>0>f>>>0?0:d)|0;e=e<<1|d>>>0<=f>>>0;c=c<<1;h=h-1|0;if(h){continue}break}}return(a|0)<0^(b|0)<0?0-e|0:e}function LJ(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{b=Xo(1163460,b);b:{if((b|0)==1163464){break b}b=v[b+28>>2];c=v[290868];if(b>>>0>=(v[290869]-c|0)/12>>>0){break a}c=c+B(b,12)|0;b=v[c>>2];f=v[c+4>>2];if((b|0)==(f|0)){break b}while(1){d=w[a+11|0];g=d<<24>>24<0;e=w[b+11|0];h=e<<24>>24<0;d=g?v[a+4>>2]:d;if((d|0)==((h?v[b+4>>2]:e)|0)){e=1;if(!d){break b}if(!lc(g?v[a>>2]:a,h?v[b>>2]:b,d)){break b}f=v[c+4>>2]}b=b+12|0;if((f|0)!=(b|0)){continue}break}e=0}return e}gi();L()}function Dy(a){var b=0,c=0;c=Ma-16|0;Ma=c;v[a+84>>2]=-1;v[a+76>>2]=0;v[a+80>>2]=0;t[a+10|0]=0;u[a+8>>1]=0;b=ab(8);v[b>>2]=0;v[a+72>>2]=0;v[a+12>>2]=b;b=ab(20);v[b+4>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b+16>>2]=0;v[b+4>>2]=970520;v[b+8>>2]=0;v[b+12>>2]=0;v[b+16>>2]=0;v[a+72>>2]=b;b=c+8|0;lg(b);jb(a- -64|0,b);a=v[c+8>>2];v[c+8>>2]=0;a:{if(!a){break a}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break a}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=c+16|0}function Bn(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=v[a+4>>2];if((d|0)>=0){j=a;a:{if(v[a>>2]==(d|0)){A[b>>3]=A[a+16>>3];A[c>>3]=A[a+24>>3];f=1;a=d-1|0;break a}if(!d){A[b>>3]=A[a+32>>3];A[c>>3]=A[a+40>>3];f=2;a=-1;break a}g=A[a+64>>3];h=g+A[a+48>>3];A[a+48>>3]=h;e=A[a+72>>3];i=A[a+88>>3];A[a+72>>3]=e+i;A[a+56>>3]=e+A[a+56>>3];e=A[a+80>>3];A[a+80>>3]=e+A[a+96>>3];A[a+64>>3]=g+e;A[a+88>>3]=i+A[a+104>>3];A[b>>3]=h;A[c>>3]=A[a+56>>3];f=2;a=d-1|0}v[j+4>>2]=a}return f}function BVa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=v[a+428>>2];c=x[b+32>>1];c=c<<8|c>>>8;t[d+8|0]=c;t[d+9|0]=c>>>8;c=x[b+34>>1];c=c<<8|c>>>8;t[d+10|0]=c;t[d+11|0]=c>>>8;c=x[b+36>>1];c=c<<8|c>>>8;t[d+12|0]=c;t[d+13|0]=c>>>8;f=d+8|0;c=w[b+38|0];a:{if(!(w[b+42|0]|(c|x[b+40>>1]))){e=6;break a}t[d+14|0]=c;c=x[b+40>>1];e=7;if(!(c|w[b+42|0])){break a}c=c<<8|c>>>8;t[d+15|0]=c;t[d+16|0]=c>>>8;c=w[b+42|0];e=9;if(!c){break a}t[d+17|0]=c;e=10}c=e;return hd(a,v[b>>2],c,f)|0}function rh(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0;h=x3a(b,c,h,i);i=Pa;j=h;h=x3a(d,e,f,g);e=j+h|0;d=Pa+i|0;i=e;h=e>>>0>>0?d+1|0:d;j=g;e=0;g=e;k=i;l=c;d=0;i=x3a(j,e,c,d);e=k+i|0;c=Pa+h|0;k=e;e=e>>>0>>0?c+1|0:c;h=f;c=0;i=b;f=x3a(h,c,i,0);b=Pa;d=x3a(h,c,l,d);b=b+d|0;c=Pa;c=b>>>0>>0?c+1|0:c;h=c;c=c+k|0;d=c>>>0>>0?e+1|0:e;h=c;c=d;d=x3a(i,m,j,g)+b|0;e=Pa;e=b>>>0>d>>>0?e+1|0:e;b=h;h=e;e=b+e|0;v[a+8>>2]=e;v[a+12>>2]=e>>>0>>0?c+1|0:c;v[a>>2]=f;v[a+4>>2]=d}function aj(a,b,c){var d=0,e=0,f=0;e=Ma-16|0;Ma=e;v[a>>2]=0;a:{if(!c){break a}f=zb(c);if((f|0)<1){break a}d=e+8|0;Qa[v[v[b>>2]+8>>2]](d,b,f);jb(a,d);b=v[e+8>>2];v[e+8>>2]=0;b:{if(!b){break b}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break b}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}a=v[v[a>>2]+12>>2];b=w[c|0];c:{if(!b){break c}f=c+f|0;while(1){t[a|0]=b;a=a+1|0;b=w[c+1|0];if(!b){break c}c=c+1|0;if((f|0)!=(c|0)){continue}break}}t[a|0]=0}Ma=e+16|0}function LO(a,b,c,d){var e=0,f=0,g=0;e=Ma-16|0;Ma=e;a:{b:{c:{if((a|0)!=(b|0)){g=v[296206];v[296206]=0;a=NO(a,e+12|0,d,te());d=Pa;f=v[296206];d:{if(f){if(v[e+12>>2]!=(b|0)){break d}if((f|0)==68){break b}break c}v[296206]=g;if(v[e+12>>2]==(b|0)){break c}}}v[c>>2]=4;b=0;break a}if(a>>>0<2147483648&(d|0)<=-1|(d|0)<-1|(a>>>0>2147483647&(d|0)>=0|(d|0)>0)){break b}b=a;break a}v[c>>2]=4;b=2147483647;if((d|0)>=0&a>>>0>=1|(d|0)>0){break a}b=-2147483648}Ma=e+16|0;return b}function IV(a,b,c){a=a|0;b=b|0;c=c|0;a:{b=v[a+104>>2];c=v[b+8>>2];if((c|0)>=1){b=xz(b,c-1|0);c=v[b>>2];$a(b);b:{switch(c|0){case 0:b=v[a+104>>2];c=v[b+8>>2];if((c|0)>=1){v[a+100>>2]=v[v[(v[b>>2]+(c<<2)|0)-4>>2]+4>>2];return}v[a+100>>2]=1;return;case 1:break b;default:break a}}b=v[a+8>>2];Qa[v[v[b>>2]+276>>2]](b,v[a+28>>2]);return}b=-1;a=v[a+108>>2];c:{if(!a){break c}a=v[a+4>>2];if(v[a+8>>2]==13){break c}a=v[a+16>>2];b=Qa[v[v[a>>2]+52>>2]](a)|0}fb(0,b,237648,0)}}function Jma(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=Ma-32|0;Ma=e;Qa[v[v[b>>2]+12>>2]](e+16|0,b,c);f=w[e+27|0];b=f<<24>>24;c=(b|0)<0;f=c?v[e+20>>2]:f;a:{if(!f){break a}f=f-1|0;if(v[(f<<2)+(c?v[e+16>>2]:e+16|0)>>2]!=47){break a}rr(e+16|0,f,1);b=w[e+27|0]}b:{if(b<<24>>24>=0){v[e+8>>2]=v[e+24>>2];b=v[e+20>>2];v[e>>2]=v[e+16>>2];v[e+4>>2]=b;break b}vc(e,v[e+16>>2],v[e+20>>2])}HI(a,e,d);if(t[e+11|0]<=-1){$a(v[e>>2])}if(t[e+27|0]<=-1){$a(v[e+16>>2])}Ma=e+32|0}function CEa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=v[a+16>>2];a:{if(j){c=v[b>>2]+1|0;k=v[a+20>>2];h=j;while(1){i=(h-d>>>1|0)+d|0;e=(i<<3)+k|0;f=v[e>>2];if((f|0)==(c|0)){a=v[((i<<3)+k|0)+4>>2];v[b>>2]=c;return a|0}f=f&2147483647;g=(f|0)==(c|0)?v[e+4>>2]:g;e=c>>>0>f>>>0;h=e?h:i;d=e?i+1|0:d;if(h>>>0>d>>>0){continue}break}if(g){break a}}c=0;g=0;if(d>>>0>=j>>>0){break a}a=v[a+20>>2]+(d<<3)|0;c=v[a>>2]&2147483647;g=v[a+4>>2]}v[b>>2]=c;return g|0}function dDa(a,b){a=a|0;b=b|0;var c=0,d=0;a:{if(b>>>0>65535){break a}c=v[a+16>>2];a=c+518|0;c=c+6|0;b:{if(b>>>0<=255){c=c+(b<<1&510)|0;if(!(w[c|0]<<8|w[c+1|0])){break b}break a}c=c+(b>>>7&33554430)|0;c=w[c|0]<<8|w[c+1|0]&248;if(!c){break a}a=a+c|0}b=(b&255)-(w[a+1|0]|w[a|0]<<8)|0;if(b>>>0>=(w[a+3|0]|w[a+2|0]<<8)>>>0){break a}c=w[a+7|0]|w[a+6|0]<<8;if(!c){break a}b=a+6+(c+(b<<1))|0;b=w[b|0]<<8|w[b+1|0];if(!b){break a}d=b+(w[a+5|0]|w[a+4|0]<<8)&65535}return d|0}function asa(a,b){a=a|0;b=b|0;var c=0,d=0;v[b>>2]=0;a:{b:{c=A[a+64>>3];if(c>0){c=c*65536;if(!(D(c)<2147483648)){break b}d=~~c;break a}c=A[a+72>>3];if(!(c<0)){break a}c=c*65536;if(!(D(c)<2147483648)){break b}d=~~c;break a}d=-2147483648}v[b+4>>2]=d;d=b;c:{d:{c=A[a+80>>3];if(c>0){c=c*65536;if(!(D(c)<2147483648)){break d}v[b+8>>2]=~~c;return}c=A[a+88>>3];a=0;if(!(c<0)){break c}c=c*65536;if(!(D(c)<2147483648)){break d}v[b+8>>2]=~~c;return}a=-2147483648}v[d+8>>2]=a}function OVa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if(w[b+32|0]){return hd(a,v[b>>2],0,0)|0}d=v[a+428>>2];e=d+8|0;a:{b:{switch(w[b+33|0]){case 0:c=x[b+36>>1];c=c<<8|c>>>8;t[d+8|0]=c;t[d+9|0]=c>>>8;c=2;break a;case 2:c=x[b+38>>1];c=c<<8|c>>>8;t[d+8|0]=c;t[d+9|0]=c>>>8;c=x[b+40>>1];c=c<<8|c>>>8;t[d+10|0]=c;t[d+11|0]=c>>>8;c=x[b+42>>1];c=c<<8|c>>>8;t[d+12|0]=c;t[d+13|0]=c>>>8;c=6;break a;case 3:break b;default:break a}}t[e|0]=w[b+34|0];c=1}return hd(a,v[b>>2],c,e)|0}function hQ(a){var b=0,c=0;b=65536;a:{b:{c:{c=v[a+32>>2];if(c>>>0<=32768){b=32768;if(!c){break c}}v[a+32>>2]=b;break b}b=0;if(v[a+36>>2]==16777215){break a}}while(1){pu(a,1-(b>>>15|0)|0);b=v[a+32>>2]<<1&65534;v[a+32>>2]=b;if(b|v[a+36>>2]!=16777215){continue}break}}Np(a,1);b=v[a+40>>2];v[a+40>>2]=b-1;if(b){while(1){Np(a,0);b=v[a+40>>2];v[a+40>>2]=b-1;if(b){continue}break}}v[a+40>>2]=0;if(w[a+18|0]){while(1){Np(a,1);if(w[a+18|0]){continue}break}}t[a+19|0]=255}function bw(a){var b=0,c=0,d=0;c=-2;a:{if(!v[a+36>>2]|(!a|!v[a+32>>2])){break a}b=v[a+28>>2];if(!b|v[b>>2]!=(a|0)|v[b+4>>2]-16180>>>0>31){break a}c=0;v[b+52>>2]=0;v[b+44>>2]=0;v[b+48>>2]=0;v[b+32>>2]=0;v[a+8>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;d=v[b+12>>2];if(d){v[a+48>>2]=d&1}v[b+60>>2]=0;v[b+64>>2]=0;v[b+36>>2]=0;v[b+24>>2]=32768;v[b+16>>2]=0;v[b+4>>2]=16180;v[b+8>>2]=0;v[b+7108>>2]=1;v[b+7112>>2]=-1;a=b+1332|0;v[b+112>>2]=a;v[b+84>>2]=a;v[b+80>>2]=a}return c}function TFa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=v[b>>2];d=v[a+16>>2];f=x[d+2>>1];g=f+(x[d+6>>1]<<8)|0;a:{if(c>>>0>=g>>>0){break a}a=x[d>>1];j=(f-a|0)+1|0;h=x[d+4>>1];i=a+(h<<8)|0;k=v[d+12>>2];while(1){c=c+1|0;e=c>>>0>>0?i:c;c=e&255;d=c>>>0>f>>>0;e=(d&a>>>0<=c>>>0)+(e>>>8|0)&65535;d=a>>>0>c>>>0?a:d?a:c;c=(e<<8)+d|0;e=x[k+((d-a|0)+B(e-h|0,j)<<1)>>1];if((e|0)!=65535){break a}if(c>>>0>>0){continue}break}e=65535}v[b>>2]=c;return e|0}function JO(a,b,c,d){var e=0,f=0,g=0,h=0;e=Ma-16|0;Ma=e;a:{b:{c:{d:{if((a|0)!=(b|0)){e:{f:{f=w[a|0];if((f|0)!=45){break f}a=a+1|0;if((b|0)!=(a|0)){break f}break e}h=v[296206];v[296206]=0;a=xD(a,e+12|0,d,te());d=Pa;g=v[296206];g:{if(g){if(v[e+12>>2]!=(b|0)){break g}if((g|0)==68){break c}break d}v[296206]=h;if(v[e+12>>2]==(b|0)){break d}}}}v[c>>2]=4;a=0;break a}if(!d&a>>>0<=65535){break b}}v[c>>2]=4;a=65535;break a}a=(f|0)==45?0-a|0:a}Ma=e+16|0;return a&65535}function JN(a,b){var c=0,d=0,e=0;c=Ma-16|0;Ma=c;d=v[a+12>>2];if(!(d&131072)){e=v[a+596>>2];if(e){if(d&512){$a(e)}v[a+596>>2]=0}b=b>>>0<4294966272?b+1023&-1024:0;v[a+600>>2]=b;a:{b:{if((b|0)<=0){v[a+12>>2]=v[a+12>>2]|512;break b}b=gb(b);v[a+596>>2]=b;v[a+12>>2]=v[a+12>>2]|512;if(!b){break b}b=1;if(v[a+600>>2]){break a}}b=v[a+628>>2];d=v[a>>2];v[c+4>>2]=v[a+472>>2];v[c>>2]=d;wb(b,77152,33317,c);v[a+600>>2]=0;b=0}Ma=c+16|0;return b}O(30408,31925,597,77152);L()}function Kv(a){var b=0;if(a){b=v[a>>2];if(b){Qa[v[256556]](b)}v[a>>2]=0;b=v[a+12>>2];if(b){Qa[v[256556]](b)}v[a+12>>2]=0;b=v[a+16>>2];if(b){Qa[v[256556]](b)}v[a+16>>2]=0;b=v[a+24>>2];if(b){Qa[v[256556]](b)}v[a+24>>2]=0;b=v[a+32>>2];if(b){Qa[v[256556]](b)}v[a+32>>2]=0;b=v[a+4>>2];if(b){Qa[v[256556]](b)}v[a+4>>2]=0;b=v[a+8>>2];if(b){Qa[v[256556]](b)}v[a+8>>2]=0;b=v[a+28>>2];if(b){Qa[v[256556]](b)}v[a+28>>2]=0;b=v[a+40>>2];if(b){Qa[v[256556]](b)}v[a+40>>2]=0}}function z_(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;f=Ma-16|0;Ma=f;v[f+12>>2]=0;e=v[d>>2];if(e){if(e){Qa[v[c+8>>2]](c,e)}v[d>>2]=0}a:{if(!b){e=0;break a}b:{e=b-1|0;if(w[e+a|0]){break b}b=e;if(e){break b}e=0;break a}e=0;c:{while(1){h=w[a+e|0];if(h>>>0<32){e=0;break a}if(h<<24>>24>=0){e=e+1|0;if((e|0)==(b|0)){break c}continue}break}e=0;break a}e=cc(c,b+1|0,f+12|0);g=v[f+12>>2];if(g){break a}i=cb(e,a,b)+b|0,j=0,t[i|0]=j;g=v[f+12>>2]}v[d>>2]=e;Ma=f+16|0;return g}function vQ(a,b){var c=0,d=0,e=0;c=Ma-16|0;Ma=c;e=c;d=v[b>>2];if(d){v[d+4>>2]=v[d+4>>2]+1;b=v[b>>2]}else{b=0}v[e>>2]=b;b=c+8|0;Mr(b,c,0);jb(a+3312|0,b);b=v[c+8>>2];v[c+8>>2]=0;a:{if(!b){break a}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break a}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}}b=v[c>>2];v[c>>2]=0;b:{if(!b){break b}a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(a){break b}a=v[b+4>>2];if(!a){v[b+4>>2]=-32767}if(!a){Qa[v[v[b>>2]+4>>2]](b)}}Ma=c+16|0}function uoa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=v[a+68>>2];a:{if((b|0)>=v[a+20>>2]){b=-1;if(v[a+40>>2]){break a}if(!dG(a)){break a}b=v[a+68>>2]}g=v[a+60>>2];d=v[a+72>>2];c=v[g+(d<<2)>>2]-b|0;b:{if((c|0)<=7){h=v[a+20>>2];b=8;while(1){f=(b|0)>(c|0)?c:b;e=(d&1?0:255>>>8-f|0)|e<>2];if((c|0)>=(h|0)){e=e<>2]-c|0}if((b|0)>0){continue}break}break b}e=d&1?0:255}b=v[a+36>>2]^e}return b|0}function kZ(a,b){var c=0,d=0,e=0,f=0,g=0;e=a;a=w[b|0];a:{if(!a){break a}while(1){d=c;b:{while(1){c:{b=b+1|0;d:{e:{f:{if(a<<24>>24<0){break f}g=1;c=0;f=w[(a&255)+836320|0];switch(f|0){case 2:break c;case 1:break e;case 0:break f;default:break b}}c=w[b|0];break d}if(d&255){break c}g=0;d=w[b|0];c=d<<24>>24;if((c|0)<0|(w[d+836320|0]-1&255)>>>0>1){break c}}d=0;a=c;if(a&255){continue}break a}break}f=a;c=g}t[e|0]=f;e=e+1|0;a=w[b|0];if(a){continue}break}}t[e|0]=0}function IF(a,b,c){var d=0,e=0,f=0,g=0;d=v[b>>2];a:{if((d|0)>=v[c>>2]){break a}while(1){b:{e=v[(d<<2)+a>>2];d=d+1|0;v[b>>2]=d;if((e|0)!=32){break b}if(v[c>>2]>(d|0)){continue}break a}break}c=e-48|0;c:{if(c>>>0<10){break c}f=e-45|0;if(1<>>0<=24:0){break c}if((e|0)!=101){break a}}f=(e|0)==45;e=f?0:c;c=v[(d<<2)+a>>2]-48|0;if(c>>>0<=9){while(1){e=B(e,10)+c|0;d=d+1|0;c=v[(d<<2)+a>>2]-48|0;if(c>>>0<10){continue}break}v[b>>2]=d}g=f?0-e|0:e}return g}function ru(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=983720;c=v[a+12>>2];if(c){b=v[c+24>>2];if(b){while(1){d=v[b>>2];$a(b);v[c+24>>2]=d;b=d;if(b){continue}break}}b=v[c>>2];if(b){$a(b)}$a(c)}c=v[a+16>>2];if(c){b=v[c+24>>2];if(b){while(1){d=v[b>>2];$a(b);v[c+24>>2]=d;b=d;if(b){continue}break}}b=v[c>>2];if(b){$a(b)}$a(c)}c=v[a+20>>2];if(c){b=v[c+24>>2];if(b){while(1){d=v[b>>2];$a(b);v[c+24>>2]=d;b=d;if(b){continue}break}}b=v[c>>2];if(b){$a(b)}$a(c)}bc(a);return a|0}function lW(a,b,c){var d=0,e=0,f=0,g=0;d=Ma-80|0;Ma=d;a:{b:{switch(c|0){case 0:Wb(v[a+40>>2],346050);break a;case 1:a=v[a+40>>2];A[d>>3]=A[b>>3];Fb(a,346039,d);break a;case 3:a=v[a+40>>2];e=A[b>>3];f=A[b+8>>3];A[d+32>>3]=A[b+16>>3];A[d+24>>3]=f;A[d+16>>3]=e;Fb(a,346011,d+16|0);break a;case 4:break b;default:break a}}a=v[a+40>>2];e=A[b>>3];f=A[b+8>>3];g=A[b+16>>3];A[d+72>>3]=A[b+24>>3];A[d- -64>>3]=g;A[d+56>>3]=f;A[d+48>>3]=e;Fb(a,345756,d+48|0)}Ma=d+80|0}function TH(){var a=0,b=0,c=0;c=Ma-32|0;Ma=c;a=Qa[v[256552]](36)|0;a:{if(!a){v[c>>2]=239706;nb(0,0,0,0,0,29,2,3,239706,0,0,0,340689,c);break a}v[a+20>>2]=0;v[a+4>>2]=0;v[a+28>>2]=0;v[a+32>>2]=0;b=v[256553];v[a+8>>2]=b;v[a+24>>2]=b;v[a+12>>2]=v[256554];b=Qa[v[256555]](b)|0;v[a>>2]=b;if(!b){v[c+16>>2]=239706;b=0;nb(0,0,0,0,0,29,2,3,239706,0,0,0,340689,c+16|0);if(!v[a+32>>2]){v[a+32>>2]=2}Qa[v[256556]](a);break a}t[b|0]=0;v[a+16>>2]=0;b=a}Ma=c+32|0;return b}function rTa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Ma-48|0;Ma=c;e=x[a+26324>>1];f=x[a+26326>>1];d=B(B(e,f),3);v[a+26080>>2]=d;d=gb(d);if(!d){b=v[a+190640>>2];a:{if(b){d=v[a+25208>>2];v[c+20>>2]=30775;v[c+16>>2]=d;Dc(b,4338,c+16|0);break a}b=v[a+25208>>2];v[c+4>>2]=30775;v[c>>2]=b;vb(v[249419],4338,c)}tc(a+190484|0,1);L()}v[c+36>>2]=f;v[c+32>>2]=e;vb(b,32546,c+32|0);Qa[v[v[a>>2]>>2]](v[a+4>>2],d,1,v[a+26080>>2])|0;Lb(d,1,v[a+26080>>2],b);$a(d);Ma=c+48|0}function qL(a){var b=0,c=0,d=0,e=0,f=0;a:{if(w[a+460|0]|!w[a+496|0]){break a}b=v[a+560>>2];d=v[a+564>>2];if(b>>>0>=d>>>0){break a}c=v[a+552>>2];e=v[a+556>>2];if(c>>>0>=e>>>0){break a}if(!(Qa[v[a+232>>2]](a,c,b,e-c|0,d-b|0)|0)){ob(a,904,0,0);return 904}t[a+502|0]=0;v[a+560>>2]=0;v[a+564>>2]=0;v[a+552>>2]=0;v[a+556>>2]=0;if(w[a+500|0]|!w[a+496|0]){break a}if(Qa[v[a+240>>2]](a,1)|0){if(!w[a+496|0]){break a}t[a+497|0]=1;return 0}f=902;ob(a,902,0,0)}return f}function gD(a,b,c,d,e){var f=0,g=0,h=0;g=Ma-16|0;Ma=g;if(-17-b>>>0>=c>>>0){if(w[a+11|0]>>>7|0){h=v[a>>2]}else{h=a}a:{if(b>>>0<2147483623){v[g+8>>2]=b<<1;v[g+12>>2]=b+c;c=Ma-16|0;Ma=c;Ma=c+16|0;c=g+8|0;f=g+12|0;c=v[(y[f>>2]>2]?c:f)>>2];if(c>>>0>=11){f=c+16&-16;c=f-1|0;c=(c|0)==11?f:c}else{c=10}break a}c=-18}f=c+1|0;c=ab(f);if(e){sk(c,h,e)}d=d-e|0;if(d){sk(c+e|0,e+h|0,d)}if((b|0)!=10){$a(h)}v[a>>2]=c;v[a+8>>2]=f|-2147483648;Ma=g+16|0;return}sc();L()}function XOa(a){a=a|0;var b=0,c=0,d=0,e=0;v[a>>2]=354280;b=v[a+8>>2];e=a+12|0;if((b|0)!=(e|0)){while(1){c=v[b+28>>2];Qa[v[v[c>>2]+12>>2]](c)|0;c=b;d=v[b+4>>2];a:{if(!d){b=v[c+8>>2];if((c|0)==v[b>>2]){break a}c=c+8|0;while(1){d=v[c>>2];c=d+8|0;b=v[d+8>>2];if((d|0)!=v[b>>2]){continue}break}break a}while(1){b=d;d=v[b>>2];if(d){continue}break}}if((b|0)!=(e|0)){continue}break}}b=a+8|0;vt(b,v[a+12>>2]);v[a+8>>2]=e;v[a+12>>2]=0;v[a+16>>2]=0;vt(b,0);return a|0}function SLa(a,b){a=a|0;b=b|0;var c=0;if(v[b+72>>2]==1651078259){c=v[a>>2];v[a+20>>2]=v[b+100>>2];v[a+24>>2]=v[b+104>>2];a=a+28|0;if(t[v[b+156>>2]+4|0]&1){c=v[b+80>>2];v[a>>2]=v[b+76>>2];v[a+4>>2]=c;c=v[b+96>>2];v[a+16>>2]=v[b+92>>2];v[a+20>>2]=c;c=v[b+88>>2];v[a+8>>2]=v[b+84>>2];v[a+12>>2]=c;a=v[b+156>>2];v[a+4>>2]=v[a+4>>2]&-2;return 0}if(a){v[a>>2]=0;v[a+4>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0}a=a0(c,b+76|0,a)}else{a=18}return a|0}function Bt(a){var b=0,c=0,d=0,e=0,f=0;b=Ma-16|0;Ma=b;a:{if(!a){break a}d=b+12|0;c=b+8|0;e=b+4|0;if(a){if(d){v[d>>2]=v[a>>2]}if(c){v[c>>2]=v[a+4>>2]}if(e){v[e>>2]=v[a+8>>2]}}if(v[b+4>>2]==32){break a}d=a?v[a+40>>2]:0;e=a?v[a+12>>2]:-1;a=B(v[b+4>>2],v[b+12>>2]);c=(a|0)/32|0;a=a-(c<<5)|0;if(!a|v[b+8>>2]<1){break a}f=v[(0-a<<2)+214528>>2]^-1;d=d+(c<<2)|0;a=0;while(1){c=d+(B(a,e)<<2)|0;v[c>>2]=f&v[c>>2];a=a+1|0;if((a|0)>2]){continue}break}}Ma=b+16|0}function z2a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Ma+-64|0;Ma=c;if(v[a+12>>2]>=1){d=v[a+16>>2];while(1){v[c+52>>2]=w[d|0];v[c+48>>2]=e;vb(b,57188,c+48|0);f=v[d+4>>2];v[c+44>>2]=v[d+8>>2];v[c+40>>2]=e;v[c+36>>2]=f;v[c+32>>2]=e;vb(b,57435,c+32|0);f=w[d+1|0];v[c+28>>2]=w[d+2|0];v[c+24>>2]=e;v[c+20>>2]=f;v[c+16>>2]=e;vb(b,57763,c+16|0);v[c+4>>2]=v[d+12>>2];v[c>>2]=e;vb(b,58217,c);d=d+16|0;e=e+1|0;if((e|0)>2]){continue}break}}Ma=c- -64|0;return 0}function HW(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=Ma-16|0;Ma=d;f=w[a+11|0];e=f<<24>>24<0;g=e?v[a>>2]:a;e=g+((e?v[a+4>>2]:f)<<2)|0;h=d;i=a;a:{while(1){f=-1;if((e|0)==(g|0)){break a}e=e-4|0;if(!xe(879312,v[e>>2],1)){continue}break}f=e-g>>2}bf(h,i,0,f);if(t[b+11|0]<=-1){$a(v[b>>2])}e=v[d+4>>2];v[b>>2]=v[d>>2];v[b+4>>2]=e;v[b+8>>2]=v[d+8>>2];bf(d,a,f+1|0,-1);if(t[c+11|0]<=-1){$a(v[c>>2])}a=v[d+4>>2];v[c>>2]=v[d>>2];v[c+4>>2]=a;v[c+8>>2]=v[d+8>>2];Ma=d+16|0}function zg(a){var b=0,c=0,d=0;v[a+8>>2]=0;v[a>>2]=969400;b=v[279250];v[a+20>>2]=0;v[a+12>>2]=b;v[a+16>>2]=988088;c=oo(ab(52));v[c+4>>2]=v[c+4>>2]+1;b=v[a+20>>2];a:{if(!b){break a}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break a}Qa[v[v[b>>2]+4>>2]](b)}v[a+20>>2]=c;v[a+24>>2]=988088;v[a+28>>2]=0;c=oo(ab(52));v[c+4>>2]=v[c+4>>2]+1;b=v[a+28>>2];b:{if(!b){break b}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break b}Qa[v[v[b>>2]+4>>2]](b)}t[a+32|0]=0;v[a+28>>2]=c;return a}function z$a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(v[a+588>>2]>=1){c=v[v[a+544>>2]+88>>2];d=v[c+1176>>2]+B(v[c+1168>>2],v[a+572>>2])|0;c=v[a+644>>2];while(1){b=w[d|0]|w[d+1|0]<<8;b=(b<<8|b>>>8)&65535;e=b<<8|b>>>8;t[c|0]=e;t[c+1|0]=e>>>8;b=b<<8|b>>>8;t[c+2|0]=b;t[c+3|0]=b>>>8;t[c+4|0]=b;t[c+5|0]=b>>>8;b=w[d+2|0]|w[d+3|0]<<8;b=(b<<8|b>>>8)&65535;b=b<<8|b>>>8;t[c+6|0]=b;t[c+7|0]=b>>>8;c=c+8|0;d=d+4|0;f=f+1|0;if((f|0)>2]){continue}break}}return 0}function pXa(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,j=0;a:{if(f){if(!d){break a}a=c<<1;j=b<<1;b=0;while(1){h=x[e>>1];b:{if((h|0)==x[f>>1]){u[g>>1]=h;break b}h=w[e|0]|w[e+1|0]<<8;i=w[f|0]|w[f+1|0]<<8;h=((h<<8|h>>>8)&65535)+((B(((i<<8|i>>>8)&65535)-((h<<8|h>>>8)&65535)|0,j)+c|0)/(a|0)|0)&65535;h=h<<8|h>>>8;t[g|0]=h;t[g+1|0]=h>>>8}f=f+2|0;e=e+2|0;g=g+2|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}break a}cb(g,e,d<<1)}return 0}function vUa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if(v[c>>2]!=1934642260){ob(a,2050,0,0);return 2050}t[b+32|0]=w[c+32|0];e=v[c+36>>2];v[b+36>>2]=e;t[b+44|0]=w[c+44|0];d=v[c+48>>2];v[b+48>>2]=d;v[b+52>>2]=v[c+52>>2];a:{if(e){d=Qa[v[a+152>>2]](e)|0;v[b+40>>2]=d;if(!d){break a}cb(d,v[c+40>>2],v[b+36>>2]);d=v[b+48>>2]}if(d){e=b;d=B(B(w[b+44|0],3)+2|0,d);b=Qa[v[a+152>>2]](d)|0;v[e+52>>2]=b;if(!b){break a}cb(b,v[c+52>>2],d)}return 0}ob(a,1,0,0);return 1}function gT(a){var b=0,c=0;b=ab(128);v[b+16>>2]=0;t[b+10|0]=0;u[b+8>>1]=0;v[b>>2]=970372;v[b+4>>2]=0;zg(b+20|0);v[b+88>>2]=0;v[b+92>>2]=0;v[b+84>>2]=-1;v[b+76>>2]=0;v[b+80>>2]=0;v[b+64>>2]=0;v[b+56>>2]=0;v[b+96>>2]=0;v[b+100>>2]=0;c=b+88|0;v[c>>2]=970612;v[c+4>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[b+116>>2]=0;v[b+120>>2]=0;v[b+108>>2]=0;v[b+112>>2]=0;c=b+108|0;v[c>>2]=970612;v[c+4>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[a>>2]=0;qb(a,b);Dy(b);es(b,0,32,3623,b)}function Tu(a,b,c,d){var e=0,f=0;e=ab(128);v[e+16>>2]=0;t[e+10|0]=0;u[e+8>>1]=0;v[e>>2]=970372;v[e+4>>2]=0;zg(e+20|0);v[e+88>>2]=0;v[e+92>>2]=0;v[e+84>>2]=-1;v[e+76>>2]=0;v[e+80>>2]=0;v[e+64>>2]=0;v[e+56>>2]=0;v[e+96>>2]=0;v[e+100>>2]=0;f=e+88|0;v[f>>2]=970612;v[f+4>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;v[e+116>>2]=0;v[e+120>>2]=0;v[e+108>>2]=0;v[e+112>>2]=0;f=e+108|0;v[f>>2]=970612;v[f+4>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;v[a>>2]=0;qb(a,e);Dy(e);dT(e,b,c,d)}function DC(a,b){var c=0,d=0,e=0,f=0;while(1){c=Ci(a);if((c|0)==-1){return-1}if((c|0)==32|c-9>>>0<5){continue}break}f=1;a:{b:{c:{switch(c-43|0){case 2:d=-1;f=0;c=Ci(a);if((c|0)!=-1){break b}break a;case 0:break c;default:break b}}d=-1;c=Ci(a);if((c|0)==-1){break a}}d:{while(1){d=c-48|0;if(d>>>0>9){break d}e=d+B(e,10)|0;c=Ci(a);if((c|0)>=0){continue}break}return-1}d=-1;if(!((c|0)==32|c-9>>>0<5)){break a}d=0;if(!b){break a}v[b>>2]=f?e:0-e|0}return d}function PT(a,b,c,d){var e=0,f=0,g=0;f=v[b+4>>2];a:{b:{if(f){g=b+4|0;while(1){e=f+16|0;c:{if(gm(c,e)){e=v[f>>2];if(e){break c}break b}if(!gm(e,c)){break a}g=f+4|0;e=v[f+4>>2];if(!e){break a}f=g}g=f;f=e;continue}}f=b+4|0}g=f}c=a;e=v[g>>2];if(e){b=0}else{e=ab(40);hm(e+16|0,d);hm(e+28|0,d+12|0);v[e+8>>2]=f;v[e>>2]=0;v[e+4>>2]=0;v[g>>2]=e;d=v[v[b>>2]>>2];if(d){v[b>>2]=d;d=v[g>>2]}else{d=e}Ob(v[b+4>>2],d);v[b+8>>2]=v[b+8>>2]+1;b=1}t[c+4|0]=b;v[a>>2]=e}function Du(a){a=a|0;var b=0;v[a>>2]=972656;b=v[291415];if(!b){b=ab(92);v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=972720;v[b+16>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+32>>2]=0;jd(b+8|0,972920);v[b+60>>2]=0;v[b+52>>2]=0;v[b+56>>2]=0;v[b+44>>2]=0;v[b+48>>2]=0;v[b+36>>2]=0;v[b+40>>2]=0;jd(b+36|0,972920);v[b+88>>2]=0;v[b+80>>2]=0;v[b+84>>2]=0;v[b+72>>2]=0;v[b+76>>2]=0;v[b+64>>2]=0;v[b+68>>2]=0;jd(b- -64|0,972940);v[291415]=b}oy(b,a);bc(a);return a|0}function zVa(a,b){a=a|0;b=b|0;var c=0,d=0;d=v[a+428>>2];c=x[b+32>>1];c=c<<8|c>>>8;t[d+8|0]=c;t[d+9|0]=c>>>8;c=x[b+34>>1];c=c<<8|c>>>8;t[d+10|0]=c;t[d+11|0]=c>>>8;t[d+12|0]=w[b+36|0];c=v[b+40>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+13|0]=c;t[d+14|0]=c>>>8;t[d+15|0]=c>>>16;t[d+16|0]=c>>>24;c=v[b+44>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+17|0]=c;t[d+18|0]=c>>>8;t[d+19|0]=c>>>16;t[d+20|0]=c>>>24;return hd(a,v[b>>2],13,d+8|0)|0}function hE(a,b){var c=0,d=0,e=0,f=0;f=Ma-32|0;Ma=f;a:{c=v[a+44>>2];e=v[a+40>>2];if(v[b>>2]<(((c+v[a+16>>2]|0)-e|0)+1|0)){d=(c-e|0)+1|0;if(!((e|0)<=(d|0)&(c|0)>=(d|0))){Ur(a+24|0,d);e=v[a+40>>2];c=v[a+44>>2]}if((d|0)<(e|0)|(c|0)<(d|0)){break a}c=v[a+28>>2]+B(d-v[a+32>>2]|0,12)|0;v[c>>2]=v[b>>2];jb(c+4|0,b+4|0);v[c+8>>2]=v[b+8>>2];Ma=f+32|0;return v[a+16>>2]+d|0}lb(mb(f+8|0,279322,241993,228,334705));L()}lb(mb(f+8|0,227376,271519,619,307655));L()}function Wg(a,b){var c=0,d=0,e=0;v[a+4>>2]=7;v[a>>2]=b;b=Pb(7,4);v[a+12>>2]=b;c=v[a+4>>2];a:{if((c|0)<1){break a}v[b>>2]=0;if((c|0)==1){break a}d=c-1|0;e=d&3;b=1;if(c-2>>>0>=3){d=d&-4;while(1){c=b<<2;v[c+v[a+12>>2]>>2]=0;v[(c+v[a+12>>2]|0)+4>>2]=0;v[(c+v[a+12>>2]|0)+8>>2]=0;v[(c+v[a+12>>2]|0)+12>>2]=0;b=b+4|0;d=d-4|0;if(d){continue}break}}if(!e){break a}while(1){v[v[a+12>>2]+(b<<2)>>2]=0;b=b+1|0;e=e-1|0;if(e){continue}break}}v[a+8>>2]=0;return a}function jC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=v[b+88>>2];if(x[b+28>>1]){c=v[b+8>>2];d=v[b+12>>2];a:{if(d){v[d+8>>2]=c;break a}v[a+688>>2]=c}v[(c?c+12|0:a+692|0)>>2]=d}c=v[e+28>>2];b:{if(c){c=c-1|0;v[e+28>>2]=c;if(c){break b}}c=v[e+1144>>2];c:{if(!c){break c}d=v[e+1148>>2];if(!d){break c}Qa[v[a+156>>2]](d,c)}c=v[e+1172>>2];d:{if(!c){break d}d=v[e+1176>>2];if(!d){break d}Qa[v[a+156>>2]](d,c)}Qa[v[a+156>>2]](e,1180)}Qa[v[a+156>>2]](b,92);return 0}function Rta(a,b,c){a=a|0;b=b|0;c=c|0;b=v[a+28>>2];v[b+504>>2]=0;v[b+508>>2]=1072693248;v[b+600>>2]=0;v[b+604>>2]=0;v[b+512>>2]=0;v[b+516>>2]=0;v[b+520>>2]=0;v[b+524>>2]=0;v[b+536>>2]=0;v[b+540>>2]=0;v[b+528>>2]=0;v[b+532>>2]=1072693248;v[b+544>>2]=0;v[b+548>>2]=0;v[b+608>>2]=0;v[b+612>>2]=0;v[b+616>>2]=0;v[b+620>>2]=0;v[b+624>>2]=0;v[b+628>>2]=0;c=v[a+8>>2];Qa[v[v[c>>2]+160>>2]](c,b);b=v[a+8>>2];Qa[v[v[b>>2]+184>>2]](b,v[a+28>>2]);v[a+32>>2]=1}function G2(a){var b=0,c=0,d=0;a:{if(v[a+76>>2]|v[a+304>>2]|(v[a+40>>2]!=3|v[a+36>>2]!=3)){break a}if(v[a+44>>2]!=2|v[a+120>>2]!=3){break a}b=v[a+216>>2];if(v[b+8>>2]!=2|v[b+96>>2]!=1|(v[b+184>>2]!=1|v[b+12>>2]>2)){break a}if(v[b+100>>2]!=1|v[b+188>>2]!=1){break a}c=v[b+36>>2];if((c|0)!=v[a+320>>2]|(c|0)!=v[b+124>>2]|(c|0)!=v[b+212>>2]){break a}c=v[a+324>>2];a=v[b+40>>2];if((c|0)!=(a|0)|(a|0)!=v[b+128>>2]){break a}d=(a|0)==v[b+216>>2]}return d} -function O$a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=v[a+660>>2];f=v[a+656>>2];c=d-f|0;a:{if((c|0)<1){break a}b=w[a+1053|0]|(w[a+1057|0]<<16|w[a+1055|0]<<8)|-16777216;a=v[a+644>>2];e=d-f&7;if(e){while(1){v[a>>2]=b;c=c-1|0;a=a+4|0;e=e-1|0;if(e){continue}break}}if(d+(f^-1)>>>0<7){break a}while(1){v[a+28>>2]=b;v[a+24>>2]=b;v[a+20>>2]=b;v[a+16>>2]=b;v[a+12>>2]=b;v[a+8>>2]=b;v[a+4>>2]=b;v[a>>2]=b;a=a+32|0;d=(c|0)>8;c=c-8|0;if(d){continue}break}}return 0}function BT(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=v[a+60>>2];f=v[a- -64>>2];if(d>>>0>>0){t[d+4|0]=c;v[d>>2]=b;v[a+60>>2]=d+8;return}a:{g=d;d=v[a+56>>2];i=g-d|0;h=i>>3;e=h+1|0;if(e>>>0<536870912){f=f-d|0;g=f>>2;e=f>>3>>>0<268435455?e>>>0>g>>>0?e:g:536870911;if(e>>>0>=536870912){break a}g=h<<3;h=e<<3;e=ab(h);f=g+e|0;t[f+4|0]=c;v[f>>2]=b;if((i|0)>=1){cb(e,d,i)}v[a+64>>2]=e+h;v[a+60>>2]=f+8;v[a+56>>2]=e;if(d){$a(d)}return}Jc();L()}Zd(273730);L()}function th(a,b){var c=0,d=0;d=Ma-32|0;Ma=d;c=ab(544);v[d>>2]=0;qb(d,b);v[c+8>>2]=1;v[c+4>>2]=0;v[c>>2]=970452;b=v[d>>2];v[c+536>>2]=0;v[c+540>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+12>>2]=b;if(b){if(v[b+4>>2]){qb(c+16|0,b)}v[a>>2]=0;qb(a,c);a=v[d>>2];v[d>>2]=0;a:{if(!a){break a}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break a}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=d+32|0;return}lb(mb(d+8|0,258491,241733,1712,331308));L()}function sW(a,b){var c=0,d=0,e=0;c=w[b|0];if(c){d=b;while(1){e=B(e,17)+(c&255)|0;c=w[d+1|0];d=d+1|0;if(c){continue}break}}d=(e>>>0)%y[a+4>>2]|0;c=v[v[a+12>>2]+(d<<2)>>2];a:{if(!c){break a}while(1){if(Ec(v[c>>2],b)){c=v[c+8>>2];if(c){continue}break a}break}d=v[a+12>>2]+(d<<2)|0;while(1){b=d;e=v[b>>2];d=e+8|0;if((c|0)!=(e|0)){continue}break}v[b>>2]=v[c+8>>2];b:{if(!v[a>>2]){break b}b=v[c>>2];if(!b){break b}$a(Bb(b))}$a(c);v[a+8>>2]=v[a+8>>2]-1}}function Pn(a,b,c,d){var e=0,f=0,g=0;a:{if(!v[a+4>>2]|!v[a+44>>2]|((b|0)<0|(c|0)<0)){break a}if(v[a+16>>2]<=(b|0)|v[a+20>>2]<=(c|0)){break a}e=x[a+26>>1];if((e|0)==8){t[v[a+56>>2]+(B(v[a+52>>2],c)+b|0)|0]=d;return}a=(v[a+56>>2]+B(v[a+52>>2],c)|0)+(B(b,e)>>3)|0;b:{switch(e-1|0){case 3:c=a;e=w[a|0];a=B(b&1,252)+4&252;t[c|0]=e&(15<>2];v[a+12>>2]=v[b+12>>2];v[a+16>>2]=c;c=v[b+48>>2];v[a+44>>2]=v[b+44>>2];v[a+48>>2]=c;c=v[b+40>>2];v[a+36>>2]=v[b+36>>2];v[a+40>>2]=c;c=v[b+32>>2];v[a+28>>2]=v[b+28>>2];v[a+32>>2]=c;c=v[b+24>>2];v[a+20>>2]=v[b+20>>2];v[a+24>>2]=c;cb(a+52|0,b+52|0,908);v[a+4>>2]=v[b+4>>2];v[a+8>>2]=v[b+8>>2];v[a+960>>2]=v[b+960>>2];v[a+964>>2]=v[b+964>>2];v[a+968>>2]=v[b+968>>2];c=v[b+972>>2];v[a+60>>2]=b;v[a+972>>2]=c}}function Kfa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{a=v[a+12>>2];if(!a){break a}e=v[a+20>>2];if((e|0)>=1){h=v[a>>2];while(1){a=0;while(1){d=0;f=b;b=((c<<4)+h|0)+(a>>>2&1073741820)|0;g=v[b>>2];if(g){d=v[((a&14)<<2)+g>>2]}f=f+((d|0)!=0)|0;d=v[b>>2];if(d){b=v[(d+((a&14)<<2)|0)+4>>2]}else{b=0}b=f+((b|0)!=0)|0;a=a+2|0;if((a|0)!=64){continue}break}c=c+1|0;if((e|0)!=(c|0)){continue}break}c=B(b,100)}if(!e){break a}return(c|0)/(e<<6)|0}return c|0}function JD(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;i=-1;f=d&2147483647;k=f;g=(f|0)==2147418112;h=c;a:{if(g&!c?a|b:g&(c|0)!=0|f>>>0>2147418112){break a}f=e&2147483647;g=f;j=(f|0)==2147418112;if(j?0:j&0|f>>>0>2147418112){break a}if(!(a|h|(g|k|b))){return 0}h=d&e;if((h|0)>0|(h|0)>=0){if(!c&(d|0)==(e|0)?0:(d|0)<(e|0)){break a}return(a|c)!=0|(d^e|b)!=0}if(!c&(d|0)==(e|0)?a|b:(c|0)!=0&(d|0)>=(e|0)|(d|0)>(e|0)){break a}i=(a|c)!=0|(d^e|b)!=0}return i}function Ima(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Ma-16|0;Ma=d;v[a>>2]=0;Qa[v[v[b>>2]+12>>2]](d,b,c);b=ab(44);c=b;v[b+4>>2]=1;v[b>>2]=869216;v[b+12>>2]=0;v[b+16>>2]=0;v[b+40>>2]=0;e=b+32|0;v[b+36>>2]=e;v[b+32>>2]=e;v[b+8>>2]=869488;v[b>>2]=869464;v[b+24>>2]=0;v[b+28>>2]=0;a:{b:{if(!uY(b+8|0,d)){break b}qY(b);e=v[b+24>>2];if(!e){break b}v[a>>2]=e;Qa[v[v[b>>2]+12>>2]](c)|0;break a}Qa[v[v[b>>2]+4>>2]](b)}if(t[d+11|0]<=-1){$a(v[d>>2])}Ma=d+16|0}function gF(a,b,c){var d=0;d=Ma+-64|0;Ma=d;v[d+56>>2]=0;v[d+60>>2]=v[279250];c=v[c>>2];v[d+4>>2]=v[(c?c+12|0:1117e3)>>2];v[d>>2]=b;b=d+56|0;Gd(b,237056,d);c=a;a=Ux(d+16|0,b);ze(c,a);v[a+24>>2]=969432;v[a>>2]=969400;b=v[a+28>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Qa[v[v[b>>2]+4>>2]](b)}v[a+28>>2]=0}v[a+16>>2]=969432;b=v[a+20>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Qa[v[v[b>>2]+4>>2]](b)}v[a+20>>2]=0}db(a+8|0);db(d+56|0);Ma=d- -64|0}function sv(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;v[c>>2]=b;e=pe(a,b,d);v[c+4>>2]=e;if(!e){v[c+8>>2]=0;a=b+2|0;v[c+16>>2]=a;v[c+12>>2]=a;return}f=Je(a,b+2|0,d);v[c+8>>2]=f;i=c;h=b+3|0;e=h;if(f-1>>>0>=4){v[d>>2]=0;f=v[c+8>>2]}b=v[c+4>>2];e=e+B(b+1|0,f)|0;g=e-1|0;v[i+12>>2]=g;if(!((e|0)>=1&v[a+12>>2]>=(e|0))){v[d>>2]=0;f=v[c+8>>2];g=v[c+12>>2];b=v[c+4>>2]}b=pm(a,B(b,f)+h|0,f,d)+g|0;v[c+16>>2]=b;if(!((b|0)<=v[a+12>>2]&(b|0)>=v[c+12>>2])){v[d>>2]=0}}function fZa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=v[a+2308>>2];if(b){f=v[a+2300>>2];e=v[a+2312>>2];c=v[a+2316>>2];while(1){d=w[e|0];if(d>>>0>2]){b=B(d,3)+f|0;d=Qa[v[a+2296>>2]](w[b+68|0])|0;g=Qa[v[a+2296>>2]](w[b+69|0])|0;b=Qa[v[a+2296>>2]](w[b+70|0])|0;t[c+3|0]=(g|0)!=0;t[c+2|0]=g>>>8;t[c+1|0]=(d|0)!=0;t[c|0]=d>>>8;t[c+5|0]=(b|0)!=0;t[c+4|0]=b>>>8;b=v[a+2308>>2]}c=c+6|0;e=e+1|0;h=h+1|0;if(h>>>0>>0){continue}break}}return 0}function Wm(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;i=Ma-16|0;Ma=i;a:{if(!a){break a}h=v[e+12>>2];g=c-b|0;if((g|0)>=1){g=g>>2;if((Qa[v[v[a>>2]+48>>2]](a,b,g)|0)!=(g|0)){break a}}b=d-b>>2;g=(b|0)<(h|0)?h-b|0:0;if((g|0)>=1){h=a;f=qD(i,g,f);b=f;if(w[b+11|0]>>>7|0){b=v[b>>2]}b=Qa[v[v[a>>2]+48>>2]](h,b,g)|0;Vb(f);if((b|0)!=(g|0)){break a}}b=d-c|0;if((b|0)>=1){b=b>>2;if((Qa[v[v[a>>2]+48>>2]](a,c,b)|0)!=(b|0)){break a}}v[e+12>>2]=0;j=a}Ma=i+16|0;return j}function XLa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;a:{if((d|0)<1){break a}j=v[a+112>>2];if(!j){break a}o=v[v[a+480>>2]+24>>2];while(1){e=g<<2;h=v[e+c>>2];f=v[b+e>>2];e=j;while(1){k=w[f|0]>>>3|0;l=w[f+1|0]>>>2|0;m=w[f+2|0]>>>3|0;n=(v[(k<<2)+o>>2]+(l<<6)|0)+(m<<1)|0;i=x[n>>1];if(!i){m0(a,k,l,m);i=w[n|0]}f=f+3|0;t[h|0]=i-1;h=h+1|0;e=e-1|0;if(e){continue}break}g=g+1|0;if((g|0)!=(d|0)){continue}break}}}function EF(a,b){var c=0,d=0,e=0,f=0,g=0;g=A[b>>3]*A[a+48>>3];A[a+48>>3]=g;b=v[a+36>>2];if((b|0)!=v[a+40>>2]){A[b>>3]=g;v[a+36>>2]=b+8;return}a:{e=v[a+32>>2];f=b-e|0;d=f>>3;b=d+1|0;if(b>>>0<536870912){c=f>>2;c=d>>>0<268435455?b>>>0>c>>>0?b:c:536870911;if(c){if(c>>>0>=536870912){break a}b=ab(c<<3)}else{b=0}d=b+(d<<3)|0;A[d>>3]=g;if((f|0)>=1){cb(b,e,f)}v[a+40>>2]=b+(c<<3);v[a+36>>2]=d+8;v[a+32>>2]=b;if(e){$a(e)}return}Jc();L()}Zd(273730);L()}function uQ(a){var b=0;v[a+8>>2]=0;v[a>>2]=984096;v[a+4>>2]=0;b=v[279250];v[a+16>>2]=0;v[a+20>>2]=0;v[a+12>>2]=b;b=a+24|0;v[b+20>>2]=-1;v[b+12>>2]=-1;v[b+16>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;v[b>>2]=984372;b=a+48|0;v[b+20>>2]=-1;v[b+12>>2]=-1;v[b+16>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;v[b>>2]=984392;v[a+72>>2]=0;v[a+76>>2]=0;v[a>>2]=984112;b=a+80|0;v[b+20>>2]=-1;v[b+12>>2]=-1;v[b+16>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;v[b>>2]=972628;t[a+104|0]=0;return a}function rr(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=Ma-16|0;Ma=e;v[e+12>>2]=c;if(c){if(w[a+11|0]>>>7|0){c=v[a+4>>2]}else{c=w[a+11|0]}if(w[a+11|0]>>>7|0){g=v[a>>2]}else{g=a}f=c-b|0;v[e+8>>2]=f;d=Ma-16|0;Ma=d;Ma=d+16|0;d=e+8|0;h=e+12|0;d=v[(y[d>>2]>2]?d:h)>>2];v[e+12>>2]=d;f=f-d|0;if(f){b=(b<<2)+g|0;Rl(b,b+(d<<2)|0,f);d=v[e+12>>2]}c=c-d|0;b=c;a:{if(w[a+11|0]>>>7|0){v[a+4>>2]=b;break a}t[a+11|0]=b}v[e+4>>2]=0;v[(c<<2)+g>>2]=v[e+4>>2]}Ma=e+16|0}function il(a,b){var c=0,d=0,e=0,f=0;d=eh(b);c=v[v[a+12>>2]+((d>>>0)%y[a+8>>2]<<2)>>2];a:{if(c){while(1){if((d|0)==v[c+12>>2]){if(ff(c+16|0,b)){break a}}c=v[c+8>>2];if(c){continue}break}}c=ab(56);v[c>>2]=0;v[c+4>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;d=c+16|0;v[d>>2]=0;v[d+4>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;b=ze(d,b);v[c+52>>2]=0;e=c,f=eh(b),v[e+12>>2]=f;bj(a,c)}return c}function f1a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=Ma-16|0;Ma=d;c=v[a+20>>2];a:{if(!c){c=0;break a}e=v[a+28>>2];if(e){dh(c,e,1);c=v[a+28>>2];v[a+28>>2]=0;v[a+24>>2]=c+v[a+24>>2];c=v[a+20>>2]}v[d+12>>2]=0;kg(d+12|0,1,(b|0)<4?b:4,c);b:{c:{switch(b-2|0){default:c=v[d+12>>2];break b;case 0:c=v[d+12>>2];c=(c<<8|c>>>8)&65535;break b;case 2:break c}}c=v[d+12>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)}v[a+24>>2]=v[a+24>>2]+b}Ma=d+16|0;return c|0}function bE(a,b){var c=0,d=0,e=0,f=0;d=Ma-16|0;Ma=d;b=v[b>>2];e=v[(b?b+12|0:1117e3)>>2];f=pc(d,d+12|0,B(zb(e),3)+1|0,1);b=v[d+12>>2];while(1){c=w[e|0];a:{if((c|0)!=47){if(c){b:{if(!(((c&223)-65&255)>>>0<26|(c-48&255)>>>0<10)){if(!ag(313423,c,15)){break b}}t[b|0]=c;break a}t[b|0]=37;t[b+2|0]=w[(c&15)+987888|0];t[b+1|0]=w[(c>>>4|0)+987888|0];b=b+2|0;break a}t[b|0]=0;Oc(a,v[d+12>>2]);ec(f);Ma=d+16|0;return}t[b|0]=47}b=b+1|0;e=e+1|0;continue}}function Jp(a,b){a:{if(a){if(b>>>0<=127){break a}b:{if(!v[v[279293]>>2]){if((b&-128)==57216){break a}break b}if(b>>>0<=2047){t[a+1|0]=b&63|128;t[a|0]=b>>>6|192;return 2}if(!((b&-8192)!=57344&b>>>0>=55296)){t[a+2|0]=b&63|128;t[a|0]=b>>>12|224;t[a+1|0]=b>>>6&63|128;return 3}if(b-65536>>>0<=1048575){t[a+3|0]=b&63|128;t[a|0]=b>>>18|240;t[a+2|0]=b>>>6&63|128;t[a+1|0]=b>>>12&63|128;return 4}}v[296206]=25;a=-1}else{a=1}return a}t[a|0]=b;return 1}function AI(a,b){a=a|0;b=b|0;var c=0;c=v[a+88>>2];if(c){v[c+128>>2]=b}c=v[a+92>>2];if(c){v[c+128>>2]=b}c=v[a+96>>2];if(c){v[c+128>>2]=b}c=v[a+100>>2];if(c){v[c+128>>2]=b}c=v[a+120>>2];if(c){v[c+276>>2]=b}c=v[a+136>>2];if(c){v[c+276>>2]=b}c=v[a+124>>2];if(c){v[c+276>>2]=b}c=v[a+140>>2];if(c){v[c+276>>2]=b}c=v[a+128>>2];if(c){v[c+276>>2]=b}c=v[a+144>>2];if(c){v[c+276>>2]=b}c=v[a+132>>2];if(c){v[c+276>>2]=b}a=v[a+148>>2];if(a){v[a+276>>2]=b}}function uUa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;if(v[c>>2]!=1749635924){ob(a,2050,0,0);return 2050}d=v[c+32>>2];v[b+32>>2]=d;if(!d){return 0}a=b+36|0;b=c+36|0;f=d&3;c=0;if(d-1>>>0>=3){g=d&-4;while(1){d=c<<1;u[d+a>>1]=x[b+d>>1];e=d|2;u[e+a>>1]=x[b+e>>1];e=d|4;u[e+a>>1]=x[b+e>>1];d=d|6;u[d+a>>1]=x[b+d>>1];c=c+4|0;g=g-4|0;if(g){continue}break}}if(f){while(1){d=c<<1;u[d+a>>1]=x[b+d>>1];c=c+1|0;f=f-1|0;if(f){continue}break}}return 0}function tQ(a,b){var c=0,d=0,e=0,f=0;e=Ma-32|0;Ma=e;a:{if(y[b+4>>2]<((v[a+16>>2]+v[a+44>>2]|0)-v[a+40>>2]|0)+1>>>0){f=v[a+100>>2];c=v[a+96>>2];d=(f-c|0)+1|0;if(!((d|0)>=(c|0)&(d|0)<=(f|0))){Ur(a+80|0,d);f=v[a+100>>2];c=v[a+96>>2]}if((c|0)>(d|0)|(d|0)>(f|0)){break a}c=v[b+4>>2];a=v[a+84>>2]+(d-v[a+88>>2]<<3)|0;v[a>>2]=v[b>>2];v[a+4>>2]=c;Ma=e+32|0;return}lb(mb(e+8|0,279349,241993,285,333651));L()}lb(mb(e+8|0,227376,271519,619,306909));L()}function p8(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;c=Ma-80|0;Ma=c;e=v[a+584>>2];if(e){d=v[a+48>>2];if(d&4){v[c+64>>2]=v[e+916>>2];vb(b,34188,c- -64|0);d=v[a+48>>2]}if(d&8){v[c+48>>2]=v[e+936>>2];vb(b,35408,c+48|0);d=v[a+48>>2]}if(d&16){v[c+32>>2]=v[e+940>>2];vb(b,36989,c+32|0);d=v[a+48>>2]}if(d&32){v[c+16>>2]=v[e+944>>2];vb(b,38150,c+16|0);d=v[a+48>>2]}if(d&64){v[c>>2]=v[e+948>>2];vb(b,39154,c)}Ma=c+80|0;return}O(29012,7121,1817,88060);L()}function YZ(a,b,c,d){var e=0,f=0,g=0,h=0;if(a){f=v[(B(d,204)+c|0)+200>>2];while(1){d=v[b+24>>2];if(d){h=b;c=v[b+16>>2];e=v[d+8>>2];a:{if(c&512){break a}e=v[d+12>>2]+v[d+8>>2]|0;if(c&1024){break a}c=v[b+28>>2]-v[d>>2]|0;if((c|0)<=0){e=v[d+8>>2]+xb(c,f)|0;break a}e=v[d+12>>2];g=v[d+8>>2];d=v[d+4>>2];if((d|0)<=(c|0)){e=xb(c-d|0,f)+(e+g|0)|0;break a}e=fc(c,e,d)+g|0}v[h+36>>2]=e;v[b+16>>2]=v[b+16>>2]|32}b=b+40|0;a=a-1|0;if(a){continue}break}}}function EE(a,b){var c=0,d=0,e=0,f=0,g=0;v[a+4>>2]=0;d=v[a+24>>2];v[a+24>>2]=0;c=a+16|0;Sc(c,0,4);v[a+8>>2]=b;Sc(c,b,4);Rh(c,4,0);if(d){g=v[a+8>>2];e=v[a+4>>2];while(1){b=d;f=v[a+12>>2]+(y[b+12>>2]%(g>>>0)<<2)|0;c=v[f>>2];v[b+8>>2]=c;v[b+4>>2]=c;d=v[b>>2];a:{b:{if(c){v[b>>2]=v[c>>2];v[c>>2]=b;c=v[b>>2];if(c){break b}break a}c=v[a+24>>2];v[b>>2]=c;v[a+24>>2]=b;if(!c){break a}}v[c+4>>2]=b}v[f>>2]=b;e=e+1|0;if(d){continue}break}v[a+4>>2]=e}}function _sa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;b=v[a+28>>2];c=v[b+596>>2];d=v[c+28>>2];if(!(v[c>>2]?0:(d|0)<=0)){a:{if(!v[a+100>>2]|(d|0)<1){break a}b=v[b+116>>2];if((Qa[v[v[b>>2]+12>>2]](b)|0)==10){jq(a,1);break a}b=v[a+8>>2];Qa[v[v[b>>2]+208>>2]](b,v[a+28>>2])}b=v[a+28>>2];c=v[b+596>>2];if(!(!v[a+36>>2]|(v[c>>2]?0:v[c+28>>2]<=0))){ej(b);b=v[a+8>>2];Qa[v[v[b>>2]+(v[a+36>>2]==1?220:224)>>2]](b,v[a+28>>2]);b=v[a+28>>2]}v[a+36>>2]=0;Ae(b)}}function WPa(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;g=v[a+660>>2];a:{b:{if(!g){g=ab(40);v[g+4>>2]=1;v[g>>2]=353348;v[g>>2]=351616;h=g+8|0;v[h+12>>2]=0;v[h+16>>2]=0;v[h+4>>2]=1;v[h+8>>2]=8;v[h>>2]=360452;v[h+20>>2]=0;v[h+24>>2]=0;t[h+28|0]=0;w1(h,b);break b}g=Qa[v[v[g>>2]+20>>2]](g,b)|0;if(!g){break a}}b=Qa[v[v[g>>2]+16>>2]](g)|0;q2(v[a+16>>2],b,A[c>>3],A[d>>3],A[e>>3],A[f>>3]);Qa[v[v[g>>2]+12>>2]](g)|0}return 0}function O_(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=v[a+8>>2];a:{if(!c){break a}b:{switch(w[a|0]){case 0:e=w[b+c|0];break a;case 3:break b;default:break a}}if(y[a+20>>2]>b-v[a+16>>2]>>>0){e=w[a+24|0];break a}d=c+2|0;g=c+v[a+12>>2]|0;c=w[c+1|0]|w[c|0]<<8;while(1){if(b>>>0>>0){break a}f=w[d+2|0]|w[d+1|0]<<8;if(f>>>0>b>>>0){e=w[d|0];t[a+24|0]=e;v[a+20>>2]=f-c;v[a+16>>2]=c;break a}c=f;d=d+3|0;if(g>>>0>d>>>0){continue}break}}return e|0}function Ml(a,b,c,d,e){var f=0,g=0;if(!(!b|(a|0)<0|(!c|!e))){g=v[279529];a:{if((g|0)>31){break a}f=B(g,28);v[f+1118128>>2]=a;a=f+1118132|0;b=tp(b);v[a>>2]=b;if(!b){break a}f=f+1118136|0;b=tp(c);v[f>>2]=b;if(!b){$a(v[a>>2]);return}b=B(g,28);c=tp(d);v[b+1118140>>2]=c;if(!c){$a(v[a>>2]);$a(v[f>>2]);return}v[b+1118152>>2]=v[e+8>>2];a=b+1118144|0;b=v[e+4>>2];v[a>>2]=v[e>>2];v[a+4>>2]=b;v[279529]=v[279529]+1}return}O(1315,7190,540,188147);L()}function LD(a,b){var c=0,d=0;a:{d=b&255;if(d){if(a&3){while(1){c=w[a|0];if(!c|(c|0)==(b&255)){break a}a=a+1|0;if(a&3){continue}break}}c=v[a>>2];b:{if((c^-1)&c-16843009&-2139062144){break b}d=B(d,16843009);while(1){c=c^d;if((c^-1)&c-16843009&-2139062144){break b}c=v[a+4>>2];a=a+4|0;if(!(c-16843009&(c^-1)&-2139062144)){continue}break}}while(1){c=a;d=w[c|0];if(d){a=c+1|0;if((d|0)!=(b&255)){continue}}break}return c}return zb(a)+a|0}return a}function Ita(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;b=v[a+28>>2];c=v[b+596>>2];d=v[c+28>>2];if(!(v[c>>2]?0:(d|0)<=0)){a:{if(!v[a+100>>2]|(d|0)<1){break a}b=v[b+116>>2];if((Qa[v[v[b>>2]+12>>2]](b)|0)==10){jq(a,0);break a}b=v[a+8>>2];Qa[v[v[b>>2]+204>>2]](b,v[a+28>>2])}b=v[a+28>>2];c=v[b+596>>2];if(!(!v[a+36>>2]|(v[c>>2]?0:v[c+28>>2]<=0))){ej(b);b=v[a+8>>2];Qa[v[v[b>>2]+(v[a+36>>2]==1?220:224)>>2]](b,v[a+28>>2]);b=v[a+28>>2]}v[a+36>>2]=0;Ae(b)}}function QJ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=v[a+4>>2];if(c>>>0>=999999985){d=v[a>>2];v[d+20>>2]=56;v[d+24>>2]=3;Qa[v[v[a>>2]>>2]](a)}d=c;c=c&7;d=d+(c?8-c|0:0)|0;if(b>>>0>=2){c=v[a>>2];v[c+24>>2]=b;v[c+20>>2]=15;Qa[v[v[a>>2]>>2]](a)}f=d+16|0;c=gb(f);if(!c){g=v[a>>2];v[g+20>>2]=56;v[g+24>>2]=4;Qa[v[v[a>>2]>>2]](a)}v[e+76>>2]=v[e+76>>2]+f;a=(b<<2)+e|0;b=v[a+60>>2];v[c+8>>2]=0;v[c+4>>2]=d;v[c>>2]=b;v[a+60>>2]=c;return c+16|0}function HO(a,b,c,d){var e=0,f=0,g=0,h=0;e=Ma-16|0;Ma=e;a:{b:{c:{d:{if((a|0)!=(b|0)){e:{f:{f=w[a|0];if((f|0)!=45){break f}a=a+1|0;if((b|0)!=(a|0)){break f}break e}h=v[296206];v[296206]=0;a=xD(a,e+12|0,d,te());d=Pa;g=v[296206];g:{if(g){if(v[e+12>>2]!=(b|0)){break g}if((g|0)==68){break c}break d}v[296206]=h;if(v[e+12>>2]==(b|0)){break d}}}}v[c>>2]=4;a=0;break a}if(!d){break b}}v[c>>2]=4;a=-1;break a}a=(f|0)==45?0-a|0:a}Ma=e+16|0;return a}function zta(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;b=v[a+28>>2];c=v[b+596>>2];d=v[c+28>>2];if(!(v[c>>2]?0:(d|0)<=0)){a:{if(!v[a+100>>2]|(d|0)<1){break a}b=v[b+120>>2];if((Qa[v[v[b>>2]+12>>2]](b)|0)==10){zs(a);break a}b=v[a+8>>2];Qa[v[v[b>>2]+200>>2]](b,v[a+28>>2])}b=v[a+28>>2];c=v[b+596>>2];if(!(!v[a+36>>2]|(v[c>>2]?0:v[c+28>>2]<=0))){ej(b);b=v[a+8>>2];Qa[v[v[b>>2]+(v[a+36>>2]==1?220:224)>>2]](b,v[a+28>>2]);b=v[a+28>>2]}v[a+36>>2]=0;Ae(b)}}function sL(a,b,c){var d=0,e=0;a:{d=v[a+116>>2];b:{if(d&15){c=c-4|0;e=w[b|0]&32;c:{if(!e|!(d&3840)?d&61440?e:1:0){break c}if((YB(a,-1,b,c)^-1)==(Zq(b+c|0)|0)){break c}d=v[a+116>>2];d:{if(!e){d=d&61440;if((d|0)==8192){break d}if((d|0)!=12288){break c}break a}d=d&3840;if((d|0)==256){return 0}if((d|0)==768){break a}if((d|0)!=512){break c}}d=1027;if(!ob(a,1027,0,0)){break b}}return tL(a,b,c)}d=tL(a,b,c)}return d}ob(a,1027,0,0);return 1027}function rga(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=Ma-16|0;Ma=e;d=-1;a:{if(!b|!c){break a}v[b>>2]=0;a=v[a+12>>2];d=0;if(!w[a|0]){break a}f=zb(a);v[e+12>>2]=a;b:{if((c|0)<1){break b}d=b;c:{if((f|0)<=0){break c}c=(c<<2)+b|0;f=a+f|0;while(1){if(!w[a|0]){break c}a=Op(e+12|0,f);if(c>>>0>d>>>0){v[d>>2]=a;d=d+4|0}if(c>>>0<=d>>>0){break b}a=v[e+12>>2];if(f>>>0>a>>>0){continue}break}}v[d>>2]=0;d=d-b>>>2|0;break a}d=-1}Ma=e+16|0;return d|0}function Qxa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=Ma-16|0;Ma=e;a:{if(!a){break a}f=v[a+8>>2];if(!f){break a}b:{switch(v[a+216>>2]-1|0){case 0:zX(a+108|0,v[f+44>>2],b,c,d);break a;case 1:zX(a+108|0,v[f+48>>2],b,c,d);break a;default:break b}}if(v[a+172>>2]==-1?v[a+212>>2]:0){break a}v[a+84>>2]=1;v[e+4>>2]=0;v[e>>2]=b;nb(0,0,0,a,0,1,1,3,b,0,0,0,339101,e);v[a+100>>2]=0;v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1}Ma=e+16|0}function Kca(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;if(!(!f|!e)){d=h<<2;a=g<<1;while(1){f=f-1|0;h=e;while(1){c=w[l+1|0];v[b>>2]=c<<24|((B(w[i+1|0],c)+127&65535)>>>0)/255|((B(w[j+1|0],c)+127&65535)>>>0)/255<<8|((B(w[k+1|0],c)+127&65535)>>>0)/255<<16;b=b+4|0;k=k+2|0;j=j+2|0;i=i+2|0;l=l+2|0;h=h-1|0;if(h){continue}break}b=b+d|0;l=a+l|0;k=a+k|0;j=a+j|0;i=a+i|0;if(f){continue}break}}}function oW(a){var b=0,c=0,d=0,e=0;bb(a+8|0);c=v[a+28>>2];b=v[c+8>>2];if((b|0)>=1){while(1){d=v[v[c>>2]+(e<<2)>>2];if(d){$a(d);b=v[c+8>>2]}e=e+1|0;if((e|0)<(b|0)){continue}break}}$a(mc(c));e=v[a+32>>2];d=v[e+8>>2];if((d|0)>=1){b=0;while(1){c=v[v[e>>2]+(b<<2)>>2];if(c){bb(c+8|0);bb(c+24|0);d=v[c+44>>2];if(d){$a(mc(d))}$a(c);d=v[e+8>>2]}b=b+1|0;if((d|0)>(b|0)){continue}break}}$a(mc(e));b=v[a+36>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}return a}function FWa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{if(w[a+285|0]|w[a+286|0]|(w[a+287|0]|w[a+288|0])){break a}if(w[a+289|0]){break a}ob(a,1029,0,0);return 1029}if((c|0)!=7){ob(a,1028,0,0);return 1028}c=0;b:{if(!w[a+112|0]){break b}c=Qa[v[b+4>>2]](a,b,e)|0;if(c){break b}a=v[e>>2];b=w[d|0]|w[d+1|0]<<8;u[a+32>>1]=b<<8|b>>>8;t[a+34|0]=w[d+2|0];t[a+35|0]=w[d+3|0];t[a+36|0]=w[d+4|0];t[a+37|0]=w[d+5|0];t[a+38|0]=w[d+6|0];c=0}return c|0}function jq(a,b){var c=0,d=0,e=0,f=0;d=Ma-16|0;Ma=d;c=v[a+8>>2];a:{if(!(Qa[v[v[c>>2]+28>>2]](c)|0)){break a}c=v[v[a+28>>2]+380>>2];if(!c){break a}f=-1;b:{c:{d:{e=v[c+4>>2];switch(e-1|0){case 1:break c;case 0:break d;default:break b}}LG(a,c,0,b,0);break a}KG(a,c,0,b,0);break a}a=v[a+108>>2];e:{if(!a){break e}a=v[a+4>>2];if(v[a+8>>2]==13){break e}a=v[a+16>>2];f=Qa[v[v[a>>2]+52>>2]](a)|0;e=v[c+4>>2]}v[d>>2]=e;fb(1,f,258987,d)}Ma=d+16|0}function xea(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{if(!a|(b|0)>(c|0)){break a}e=c-b|0;d=e+1&3;if(d){while(1){f=(b<<3)+a|0;v[f>>2]=0;v[f+4>>2]=v[279250];b=b+1|0;d=d-1|0;if(d){continue}break}}if(e>>>0<3){break a}while(1){d=(b<<3)+a|0;v[d>>2]=0;e=v[279250];v[d+8>>2]=0;v[d+4>>2]=e;e=v[279250];v[d+16>>2]=0;v[d+12>>2]=e;v[d+20>>2]=v[279250];d=b+3|0;e=(d<<3)+a|0;v[e>>2]=0;v[e+4>>2]=v[279250];b=b+4|0;if((c|0)!=(d|0)){continue}break}}}function us(a,b){var c=0,d=0,e=0;c=v[a+8>>2];if(c>>>0>=b>>>0){d=c-b|0;v[a+8>>2]=d;return v[a+4>>2]>>>d&((b|0)==32?-1:-1<>2]=0;d=v[a+4>>2]&(-1<>>0>=8){while(1){c=v[a>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;v[a+12>>2]=v[a+12>>2]+1;d=c&255|d<<8;b=b-8|0;if(b>>>0>7){continue}break}}if(b){c=v[a>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;v[a+4>>2]=c;e=8-b|0;v[a+8>>2]=e;v[a+12>>2]=v[a+12>>2]+1;d=(-1<>>e|d<>>3|0;e=v[a+4>>2];if(c>>>0>=e>>>0){break a}d=0-c|0;a=b+c|0;f=(c^-1)+e|0;b=e-c&3;if(b){while(1){t[a|0]=w[a+d|0]+w[a|0];c=c+1|0;a=a+1|0;b=b-1|0;if(b){continue}break}}if(f>>>0<3){break a}while(1){t[a|0]=w[a+d|0]+w[a|0];t[a+1|0]=w[(a+1|0)+d|0]+w[a+1|0];t[a+2|0]=w[(a+2|0)+d|0]+w[a+2|0];t[a+3|0]=w[(a+3|0)+d|0]+w[a+3|0];a=a+4|0;c=c+4|0;if((e|0)!=(c|0)){continue}break}}}function qh(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{if((b|0)>=1){while(1){d=v[a+8>>2];if(d&7){return-1}f=v[a+64>>2];if(!((f|0)<0|v[a+60>>2]<(f|0))){v[a+8>>2]=d|4;return-1}d=v[a+28>>2];v[a+28>>2]=d-1;b:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;d=v[a+24>>2];v[a+24>>2]=d+1;d=w[d|0];break b}d=Eb(a,1);e=-1;if((d|0)==-1){break a}}f=d>>31;e=d;d=h;g=g<<8|d>>>24;h=e|d<<8;g=g|f;d=(b|0)>1;b=b-1|0;if(d){continue}break}}v[c>>2]=h;v[c+4>>2]=g;e=0}return e}function Z4(a){var b=0,c=0,d=0,e=0,f=0;b=gb(92);if(b){c=eb(b,0,92);v[c>>2]=a;b=gb(56);a:{if(b){v[b>>2]=0;v[b+4>>2]=0;v[b+48>>2]=0;v[b+52>>2]=0;v[b+40>>2]=0;v[b+44>>2]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=a;d=gb(1876);if(!d){v[a+20>>2]=1;$a(b);break a}e=b,f=eb(d,0,1876),v[e+36>>2]=f;v[c+4>>2]=b;return c}v[a+20>>2]=1}Nn(0);$a(c);return 0}v[a+20>>2]=1;return 0}function zs(a){var b=0,c=0,d=0,e=0;c=Ma-16|0;Ma=c;b=v[a+8>>2];a:{if(!(Qa[v[v[b>>2]+28>>2]](b)|0)){break a}b=v[v[a+28>>2]+384>>2];if(!b){break a}e=-1;b:{c:{d:{d=v[b+4>>2];switch(d-1|0){case 1:break c;case 0:break d;default:break b}}LG(a,b,1,0,0);break a}KG(a,b,1,0,0);break a}a=v[a+108>>2];e:{if(!a){break e}a=v[a+4>>2];if(v[a+8>>2]==13){break e}a=v[a+16>>2];e=Qa[v[v[a>>2]+52>>2]](a)|0;d=v[b+4>>2]}v[c>>2]=d;fb(1,e,282585,c)}Ma=c+16|0}function pJ(a){a=a|0;var b=0,c=0;if(a){c=v[a+100>>2];V$(v[a+140>>2]);b=v[a+144>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+144>>2]=0;b=v[a+132>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+132>>2]=0;b=v[a+136>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+136>>2]=0;b=v[a+20>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+20>>2]=0;b=v[a+24>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+24>>2]=0;b=v[a+32>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+32>>2]=0;b=v[a+140>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+140>>2]=0}}function i$a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(v[a+588>>2]>=1){b=v[a+540>>2];c=((v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0)+1|0;d=v[a+636>>2]+v[a+616>>2]|0;b=0;while(1){if(!(b&255)){g=w[d|0];e=4;d=d+1|0;b=240}t[c|0]=B((b&g)>>>e|0,17);e=e-4|0;c=c+2|0;b=(b&240)>>>4|0;f=f+1|0;if((f|0)>2]){continue}break}}v[a+2556>>2]=v[a+2556>>2]+1;a:{if(v[a+968>>2]){b=lk(a);if(b){break a}}b=0}return b|0}function c$a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(v[a+588>>2]>=1){b=v[a+540>>2];c=((v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0)+3|0;d=v[a+636>>2]+v[a+616>>2]|0;b=0;while(1){if(!(b&255)){g=w[d|0];e=4;d=d+1|0;b=240}t[c|0]=B((b&g)>>>e|0,17);e=e-4|0;c=c+4|0;b=(b&240)>>>4|0;f=f+1|0;if((f|0)>2]){continue}break}}v[a+2556>>2]=v[a+2556>>2]+1;a:{if(v[a+968>>2]){b=lk(a);if(b){break a}}b=0}return b|0}function YJa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(a){b=v[a+540>>2];d=v[a+104>>2];e=v[a+100>>2];c=v[a+716>>2];if(c){Qa[c|0](v[a+712>>2])}if(b){Qa[v[b+12>>2]](a)}Oe(v[a+104>>2],a+764|0);v[a+760>>2]=0;c=v[a+104>>2];b=v[c+28>>2];f=v[a+784>>2];if(f){Qa[v[b+8>>2]](b,f)}v[a+784>>2]=0;Oe(c,a+768|0);b=v[a+704>>2];if(b){Qa[v[e+8>>2]](e,b)}v[a+700>>2]=0;v[a+704>>2]=0;Oe(d,a+688|0);Oe(d,a+696|0);v[a+692>>2]=0;v[a+684>>2]=0;e$(a);v[a+736>>2]=0}}function mR(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=v[b>>2];v[a+4>>2]=0;v[a>>2]=c;d=v[b+8>>2];v[a+8>>2]=d;f=v[b+12>>2];v[a+12>>2]=f;e=v[b+16>>2];v[a+16>>2]=e;g=v[b+20>>2];v[a+20>>2]=g;if((d|0)<=(f|0)){h=ab(B(v[c>>2],(f-d|0)+1|0));v[a+4>>2]=h;g=v[a+20>>2];e=v[a+16>>2]}if((e|0)<=(g|0)){c=v[a>>2];d=v[c+12>>2];Qa[d|0](Qa[v[c+4>>2]](h,e-v[a+8>>2]|0)|0,Qa[v[v[a>>2]+4>>2]](v[b+4>>2],v[a+16>>2]-v[a+8>>2]|0)|0,(v[a+20>>2]-v[a+16>>2]|0)+1|0,0)}}function mF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{if((b|0)<1){break a}d=v[279250];e=b-1|0;c=b&3;if(c){while(1){v[a+24>>2]=0;v[a+16>>2]=0;v[a+20>>2]=d;a=a+28|0;b=b-1|0;c=c-1|0;if(c){continue}break}}if(e>>>0<3){break a}while(1){v[a+24>>2]=0;v[a+16>>2]=0;v[a+108>>2]=0;v[a+104>>2]=d;v[a+100>>2]=0;v[a+80>>2]=0;v[a+76>>2]=d;v[a+72>>2]=0;v[a+52>>2]=0;v[a+48>>2]=d;v[a+44>>2]=0;v[a+20>>2]=d;a=a+112|0;c=(b|0)>4;b=b-4|0;if(c){continue}break}}}function cZa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;if(v[a+2308>>2]){c=v[a+2312>>2];b=v[a+2316>>2];while(1){d=Qa[v[a+2296>>2]](w[c|0])|0;e=Qa[v[a+2296>>2]](w[c+1|0])|0;f=Qa[v[a+2296>>2]](w[c+2|0])|0;g=Qa[v[a+2296>>2]](w[c+3|0])|0;t[b+5|0]=(f|0)!=0;t[b+4|0]=f>>>8;t[b+3|0]=(e|0)!=0;t[b+2|0]=e>>>8;t[b+1|0]=(d|0)!=0;t[b|0]=d>>>8;t[b+7|0]=(g|0)!=0;t[b+6|0]=g>>>8;b=b+8|0;c=c+4|0;h=h+1|0;if(h>>>0>2]){continue}break}}return 0}function Xk(a,b,c){var d=0,e=0,f=0;e=Ma-4112|0;Ma=e;v[e+4108>>2]=c;BP(e,b,c);c=w[e|0];a:{if(!c){break a}b=e;while(1){d=v[a+8>>2];if(d&7){break a}f=v[a+64>>2];if(!((f|0)<0|v[a+60>>2]<(f|0))){v[a+8>>2]=d|4;break a}v[a+4>>2]=v[a+4>>2]|32;d=v[a+28>>2];v[a+28>>2]=d-1;b:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;d=v[a+24>>2];v[a+24>>2]=d+1;t[d|0]=c;break b}if((Cb(a,c&255)|0)==-1){break a}}c=w[b+1|0];b=b+1|0;if(c){continue}break}}Ma=e+4112|0}function b2a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=b+12|0;a:{b:{c:{c=v[a+84>>2]-4|0;if(c){if((c|0)==12){break c}else{break b}}c=-1;if(!E5(v[a+64>>2],e)){break b}break a}c=-1;d=v[a+52>>2];if(!d){break a}if(!v[d+40>>2]){if(!E5(v[d+32>>2],e)){break b}break a}a=0;if(v[b+12>>2]<=0){break b}c=v[d+52>>2];while(1){d=LL(v[b+16>>2]+(a<<4)|0);if(!d){break b}if(u5(v[c+76>>2],d)){break b}a=a+1|0;if((a|0)>2]){continue}break}}c=0}return c|0}function XIa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=v[a+496>>2];if(!f){return 6}g=v[f+32>>2];if(g){a=0;while(1){e=v[f+28>>2]+B(a,20)|0;a:{if(v[e>>2]!=(c|0)){break a}h=v[e+4>>2];if((h|0)>(b|0)){v[d>>2]=v[e+8>>2];break a}i=v[e+12>>2];if((i|0)<(b|0)){v[d>>2]=v[e+16>>2];break a}j=d,k=fc(b-h|0,v[e+16>>2]-v[e+8>>2]|0,i-h|0)+v[e+8>>2]|0,v[j>>2]=k;g=v[f+32>>2]}a=a+1|0;if(g>>>0>a>>>0){continue}break}}return 0}function M$a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=v[a+660>>2];f=v[a+656>>2];c=d-f|0;a:{if((c|0)<1){break a}b=w[a+81|0]|(w[a+85|0]<<16|w[a+83|0]<<8);a=v[a+644>>2];e=d-f&7;if(e){while(1){v[a>>2]=b;c=c-1|0;a=a+4|0;e=e-1|0;if(e){continue}break}}if(d+(f^-1)>>>0<7){break a}while(1){v[a+28>>2]=b;v[a+24>>2]=b;v[a+20>>2]=b;v[a+16>>2]=b;v[a+12>>2]=b;v[a+8>>2]=b;v[a+4>>2]=b;v[a>>2]=b;a=a+32|0;d=(c|0)>8;c=c-8|0;if(d){continue}break}}return 0}function IPa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=Ma-16|0;Ma=e;d=v[a+20>>2];if((d|0)!=205){f=v[a>>2];v[f+24>>2]=d;v[f+20>>2]=21;Qa[v[v[a>>2]>>2]](a)}f=v[a+116>>2];g=v[a+140>>2];a:{if(f>>>0<=g>>>0){b=v[a>>2];v[b+20>>2]=126;Qa[v[b+4>>2]](a,-1);b=0;break a}d=v[a+8>>2];if(d){v[d+8>>2]=f;v[d+4>>2]=g;Qa[v[d>>2]](a)}v[e+12>>2]=0;Qa[v[v[a+444>>2]+4>>2]](a,b,e+12|0,c);b=v[e+12>>2];v[a+140>>2]=b+v[a+140>>2]}Ma=e+16|0;return b|0}function Hda(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;f=Ma-16|0;Ma=f;while(1){a:{if((c|0)<=(g|0)){break a}d=v[a+24>>2];e=v[a+28>>2];if(d>>>0>=e>>>0){if((Qa[v[v[a>>2]+52>>2]](a,v[b>>2])|0)==-1){break a}g=g+1|0;b=b+4|0}else{v[f+12>>2]=e-d>>2;v[f+8>>2]=c-g;d=Ma-16|0;Ma=d;Ma=d+16|0;d=f+8|0;e=f+12|0;d=v[(v[d>>2]>2]?d:e)>>2];rk(v[a+24>>2],b,d);e=d<<2;v[a+24>>2]=e+v[a+24>>2];g=d+g|0;b=b+e|0}continue}break}Ma=f+16|0;return g|0}function s0(a){var b=0,c=0,d=0,e=0,f=0;a:{if(!a){break a}b=v[a>>2];if(!b){return}e=v[b+96>>2];if(!e){return}d=v[e+8>>2];f=b+108|0;c=wn(f,a);if(!c){break a}jt(f,c);if(c){Qa[v[d+8>>2]](d,c)}b:{if(v[b+88>>2]!=(a|0)){break b}v[b+88>>2]=0;c=v[b+108>>2];if(!c){break b}v[b+88>>2]=v[c+8>>2]}b=v[a+8>>2];if(b){Qa[b|0](a)}b=v[v[e+12>>2]+60>>2];if(b){Qa[b|0](a)}b=v[a+40>>2];if(b){Qa[v[d+8>>2]](d,b)}v[a+40>>2]=0;if(a){Qa[v[d+8>>2]](d,a)}}}function jVa(a){a=a|0;var b=0,c=0,d=0;c=v[a+588>>2];b=v[a+644>>2];a:{if(w[a+648|0]){if((c|0)<=0){break a}c=a+704|0;while(1){t[b|0]=w[c+w[b|0]|0];t[b+2|0]=w[c+w[b+2|0]|0];t[b+4|0]=w[c+w[b+4|0]|0];b=b+8|0;d=d+1|0;if((d|0)>2]){continue}break}break a}if((c|0)<=0){break a}c=a+704|0;while(1){t[b|0]=w[c+w[b|0]|0];t[b+1|0]=w[c+w[b+1|0]|0];t[b+2|0]=w[c+w[b+2|0]|0];b=b+4|0;d=d+1|0;if((d|0)>2]){continue}break}}return 0}function Xm(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;i=Ma-16|0;Ma=i;a:{if(!a){break a}h=v[e+12>>2];g=c-b|0;if((g|0)>=1){if((Qa[v[v[a>>2]+48>>2]](a,b,g)|0)!=(g|0)){break a}}b=d-b|0;g=(b|0)<(h|0)?h-b|0:0;if((g|0)>=1){h=a;f=AO(i,g,f);b=f;if(w[b+11|0]>>>7|0){b=v[b>>2]}b=Qa[v[v[a>>2]+48>>2]](h,b,g)|0;Vb(f);if((b|0)!=(g|0)){break a}}b=d-c|0;if((b|0)>=1){if((Qa[v[v[a>>2]+48>>2]](a,c,b)|0)!=(b|0)){break a}}v[e+12>>2]=0;j=a}Ma=i+16|0;return j}function UF(a){var b=0,c=0,d=0,e=0;a:{b:{c=v[a+36>>2];b=v[a+32>>2];if(c>>>0<=b>>>0){break b}c:{switch(w[b|0]-34|0){case 0:case 5:break c;default:break b}}d=b+1|0;v[a+32>>2]=d;e=w[b|0];b=d;d:{if(c>>>0<=b>>>0){break d}while(1){if(w[b|0]==(e|0)){break d}b=b+1|0;v[a+32>>2]=b;if((b|0)!=(c|0)){continue}break}b=c}b=Uh(ab(8),d,b-d|0);c=v[a+32>>2];if(c>>>0>=y[a+36>>2]|w[c|0]!=(e|0)){break a}v[a+32>>2]=c+1;return b}b=Qd(ab(8))}return b}function Rna(a){a=a|0;var b=0,c=0,d=0,e=0;b=v[a+296>>2];c=v[a+300>>2];a:{if(b>>>0>=c>>>0){d=a+40|0;v[a+300>>2]=d;v[a+296>>2]=d;b=v[a+304>>2]+(c-d|0)|0;v[a+304>>2]=b;if(v[a+32>>2]){e=v[a+36>>2]+v[a+28>>2]|0;c=-1;if((e|0)<=(b|0)){break a}c=(e|0)<(b+256|0)?e-b|0:256}else{c=256}e=v[a+24>>2];Nw(v[e>>2],b,0);d=(kg(d,1,c,v[e>>2])+a|0)+40|0;v[a+300>>2]=d;b=v[a+296>>2];c=-1;if(d>>>0<=b>>>0){break a}}v[a+296>>2]=b+1;c=w[b|0]}return c|0}function v$a(a){a=a|0;var b=0,c=0,d=0,e=0;if(v[a+588>>2]>=1){b=v[a+540>>2];c=(v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0;b=v[a+636>>2]+v[a+616>>2]|0;while(1){d=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);t[c|0]=d;t[c+1|0]=d>>>8;t[c+2|0]=d>>>16;t[c+3|0]=d>>>24;d=w[b+4|0]|w[b+5|0]<<8;t[c+4|0]=d;t[c+5|0]=d>>>8;b=b+6|0;c=B(v[a+584>>2],6)+c|0;e=e+1|0;if((e|0)>2]){continue}break}}return 0}function ne(a){var b=0,c=0,d=0,e=0;d=v[a+4>>2];a:{if(!(w[a|0]&6)|(d&16|w[a+8|0]&7)){break a}b=a;b:{c=v[a+16>>2];e=v[a+24>>2]-c|0;if((e|0)>=1){if((Qa[v[v[a+52>>2]+4>>2]](v[a+56>>2],c,e)|0)!=(e|0)){break b}d=v[a+4>>2];c=v[a+16>>2]}v[b+24>>2]=c;v[a+28>>2]=v[a+20>>2];v[a+4>>2]=d|32;break a}v[a+8>>2]=v[a+8>>2]|2}Qa[v[v[a+52>>2]+12>>2]](v[a+56>>2])|0;c:{if(!(w[a+4|0]&8)){break c}b=v[a+12>>2];if(!b){break c}$a(b);v[a+12>>2]=0}$a(a)}function aOa(a,b,c,d,e,f,g){a=a|0;b=+b;c=+c;d=+d;e=+e;f=+f;g=+g;var h=0,i=0,j=0;h=Ma-48|0;Ma=h;A[h+32>>3]=c;A[h+40>>3]=b;A[h+24>>3]=d;A[h+16>>3]=e;A[h+8>>3]=f;A[h>>3]=g;i=v[a+4>>2];j=v[i+28>>2];if(j){zd(j,h+40|0,h+32|0);zd(v[v[a+4>>2]+28>>2],h+24|0,h+16|0);zd(v[v[a+4>>2]+28>>2],h+8|0,h);i=v[a+4>>2];g=A[h>>3];f=A[h+8>>3];e=A[h+16>>3];d=A[h+24>>3];c=A[h+32>>3];b=A[h+40>>3]}Td(i,b,c,4);Td(i,d,e,4);Td(i,f,g,4);Ma=h+48|0;return 1}function IGa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=v[a+16>>2];if(!e){v[b>>2]=0;return 0}i=v[a+20>>2];f=v[b>>2];a:while(1){f=f+1|0;c=0;d=e;while(1){g=(d-c>>>1|0)+c|0;h=v[(g<<4)+i>>2];if((h|0)==(f|0)){if(!g){continue a}v[b>>2]=f;return g+1|0}h=f>>>0>h>>>0;d=h?d:g;c=h?g+1|0:c;if(d>>>0>c>>>0){continue}break}break}d=0;if(c>>>0>=e>>>0){v[b>>2]=0;return 0}e=0;if(c){e=v[v[a+20>>2]+(c<<4)>>2];d=c+1|0}v[b>>2]=e;return d|0}function Gea(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{if((b|0)<1){break a}d=v[279250];e=b-1|0;c=b&3;if(c){while(1){v[a+8>>2]=0;v[a+12>>2]=0;v[a+16>>2]=d;a=a+20|0;b=b-1|0;c=c-1|0;if(c){continue}break}}if(e>>>0<3){break a}while(1){v[a+8>>2]=0;v[a+12>>2]=0;v[a+76>>2]=d;v[a+68>>2]=0;v[a+72>>2]=0;v[a+56>>2]=d;v[a+48>>2]=0;v[a+52>>2]=0;v[a+36>>2]=d;v[a+28>>2]=0;v[a+32>>2]=0;v[a+16>>2]=d;a=a+80|0;c=(b|0)>4;b=b-4|0;if(c){continue}break}}}function tY(a,b){var c=0,d=0,e=0,f=0;c=Ma-16|0;Ma=c;a:{b=v[v[b+4>>2]+4>>2];b:{if(!b){t[a|0]=0;t[a+11|0]=0;break b}e=Iv(b);if(!e){t[a|0]=0;t[a+11|0]=0;break b}d=zb(e);if(d>>>0>=4294967280){break a}c:{d:{if(d>>>0>=11){f=d+16&-16;b=ab(f);v[c+8>>2]=f|-2147483648;v[c>>2]=b;v[c+4>>2]=d;break d}t[c+11|0]=d;b=c;if(!d){break c}}cb(b,e,d)}t[b+d|0]=0;v[a+8>>2]=v[c+8>>2];b=v[c+4>>2];v[a>>2]=v[c>>2];v[a+4>>2]=b}Ma=c+16|0;return}sc();L()}function rY(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=869392;b=v[a+8>>2];if(b){Qa[v[v[b>>2]+12>>2]](b)|0}a:{c=v[a+24>>2];b=v[a+28>>2]-c|0;if((b|0)<1){break a}b=b>>>2|0;d=b>>>0>1?b:1;b=0;while(1){c=v[(b<<2)+c>>2];if(c){Qa[v[v[c>>2]+12>>2]](c)|0}b=b+1|0;if((d|0)==(b|0)){break a}c=v[a+24>>2];continue}}if(t[a+59|0]<=-1){$a(v[a+48>>2])}if(t[a+47|0]<=-1){$a(v[a+36>>2])}b=v[a+24>>2];if(b){v[a+28>>2]=b;$a(b)}VH(a+12|0,v[a+16>>2]);return a|0}function rMa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;if(!b){return 0}if(v[a+16>>2]>=1){while(1){c=v[a+8>>2]+(d<<4)|0;e=A[c+8>>3];f=A[c>>3];g=w[v[a+12>>2]+d|0];a:{b:{if(g&1){Qa[v[v[b>>2]>>2]](b,f,e)|0;break b}if(g&8){Qa[v[v[b>>2]+8>>2]](b,f,e,A[c+16>>3],A[c+24>>3],A[c+32>>3],A[c+40>>3])|0;c=3;break a}Qa[v[v[b>>2]+4>>2]](b,f,e)|0}c=1}d=c+d|0;if((g&6)==6){Qa[v[v[b>>2]+12>>2]](b)|0}if(v[a+16>>2]>(d|0)){continue}break}}return 1}function cSa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=v[a+24>>2];c=v[b+4>>2];if(!c){if(!(Qa[v[b+12>>2]](a)|0)){return 0}c=v[b+4>>2]}d=v[b>>2];e=w[d|0];f=c-1|0;if(f){c=d+1|0}else{if(!(Qa[v[b+12>>2]](a)|0)){return 0}f=v[b+4>>2];c=v[b>>2]}d=w[c|0];g=v[a>>2];v[g+20>>2]=93;v[g+24>>2]=v[a+436>>2];d=d|e<<8;e=d-2|0;v[v[a>>2]+28>>2]=e;Qa[v[v[a>>2]+4>>2]](a,1);v[b+4>>2]=f-1;v[b>>2]=c+1;if(d>>>0>=3){Qa[v[v[a+24>>2]+16>>2]](a,e)}return 1}function bv(a,b){var c=0,d=0,e=0;d=Ma-16|0;c=d;b=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);t[c+11|0]=b;t[c+12|0]=b>>>8;t[c+13|0]=b>>>16;t[c+14|0]=b>>>24;a:{if(!a){break a}b=v[a+644>>2];if((b|0)<1){break a}c=v[a+648>>2];a=c+B(b,5)|0;while(1){b=d;e=w[b+11|0]|w[b+12|0]<<8|(w[b+13|0]<<16|w[b+14|0]<<24);b=a-5|0;if((e|0)==(w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24))){return w[a-1|0]}a=b;if(b>>>0>c>>>0){continue}break}}return 0}function MVa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:{e=v[b+36>>2];g=B(v[b+48>>2],w[b+44|0]>>>1&124|2);d=(e+g|0)+2|0;b:{if(d>>>0<=y[a+424>>2]){c=v[a+428>>2]+8|0;break b}c=Qa[v[a+152>>2]](d)|0;if(!c){break a}e=v[b+36>>2]}f=c;if(e){f=cb(c,v[b+40>>2],e)+v[b+36>>2]|0}t[f|0]=0;t[f+1|0]=w[b+44|0];if(v[b+48>>2]){cb(f+2|0,v[b+52>>2],g)}b=hd(a,v[b>>2],d,c);if(y[a+424>>2]>>0){Qa[v[a+156>>2]](c,d)}return b|0}ob(a,1,0,0);return 1}function QYa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(v[a+588>>2]>=1){d=v[a+636>>2]+v[a+616>>2]|0;c=v[a+644>>2];while(1){b=w[d|0]|w[d+1|0]<<8;b=(b<<8|b>>>8)&65535;e=b<<8|b>>>8;t[c|0]=e;t[c+1|0]=e>>>8;b=b<<8|b>>>8;t[c+2|0]=b;t[c+3|0]=b>>>8;t[c+4|0]=b;t[c+5|0]=b>>>8;b=w[d+2|0]|w[d+3|0]<<8;b=(b<<8|b>>>8)&65535;b=b<<8|b>>>8;t[c+6|0]=b;t[c+7|0]=b>>>8;c=c+8|0;d=d+4|0;f=f+1|0;if((f|0)>2]){continue}break}}t[a+649|0]=0;return 0}function NA(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;g=Ma-32|0;Ma=g;i=v[b+12>>2]-v[b+8>>2]>>3;h=i&1;if(!(w[e|0]|(w[a+8|0]|!h))){j=d,k=ed(b,0)+(v[v[v[a+176>>2]+536>>2]+544>>2]<<16)|0,v[j>>2]=k}if(!w[v[a+176>>2]+548|0]){if(i>>>0>=2){while(1){a=ed(b,h)+f|0;v[g+12>>2]=a;d=ed(b,h+1|0);v[g+20>>2]=0;v[g+24>>2]=0;t[g+8|0]=0;f=a+d|0;v[g+16>>2]=f;g_(c,g+8|0);h=h+2|0;if(i>>>0>h>>>0){continue}break}}v[b+12>>2]=v[b+8>>2]}t[e|0]=1;Ma=g+32|0}function IFa(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;f=Ma-16|0;Ma=f;Hg(a,v[a+8>>2]);g=v[a>>2];v[f+12>>2]=g;h=v[a+8>>2];a:{if(h>>>0<=g>>>0){break a}j=a;b:{if(e){i=3;if(w[g|0]!=60){break a}v[f+12>>2]=g+1;k=d,l=k_(f+12|0,h,b,c),v[k>>2]=l;b=v[f+12>>2];v[a>>2]=b;if(w[b|0]!=62&b>>>0>2]){break a}a=b+1|0;break b}k=d,l=k_(f+12|0,h,b,c),v[k>>2]=l;a=v[f+12>>2]}v[j>>2]=a;i=0}Ma=f+16|0;return i|0}function pm(a,b,c,d){var e=0,f=0;a:{b:{if(!((b|0)<0|(2147483647-c|0)<(b|0)|v[a+12>>2]<(b+c|0))){if((c|0)<1){return 0}e=v[a+8>>2];a=c&3;if(c-1>>>0>=3){break b}c=0;d=0;break a}v[d>>2]=0;return 0}d=c&-4;c=0;while(1){f=c;c=c+4|0;d=d-4|0;if(d){continue}break}d=w[((f|3)+b|0)+e|0]|(w[((f|2)+b|0)+e|0]|(w[(b+f|0)+e|0]<<16|w[((f|1)+b|0)+e|0]<<8))<<8}if(a){while(1){d=w[(b+c|0)+e|0]|d<<8;c=c+1|0;a=a-1|0;if(a){continue}break}}return d}function od(a,b){a=a|0;b=b|0;var c=0,d=0;d=a;a:{b:{if((d^b)&3){break b}if(b&3){while(1){c=w[b|0];t[d|0]=c;if(!c){break a}d=d+1|0;b=b+1|0;if(b&3){continue}break}}c=v[b>>2];if((c^-1)&c-16843009&-2139062144){break b}while(1){v[d>>2]=c;c=v[b+4>>2];d=d+4|0;b=b+4|0;if(!(c-16843009&(c^-1)&-2139062144)){continue}break}}c=w[b|0];t[d|0]=c;if(!c){break a}while(1){c=w[b+1|0];t[d+1|0]=c;d=d+1|0;b=b+1|0;if(c){continue}break}}return a|0}function mK(a,b,c,d,e){var f=0,g=0,h=0;f=Ma-16|0;Ma=f;a:{if(!a|(((a?v[a+8>>2]:-1)|0)!=1|(b|0)>4)){break a}if((c|0)>4|(d|0)>4|(e|0)>4){break a}if((b|0)<=0){h=se(0,a);break a}g=J2();if(!g){break a}h=GB(a,b,g);v[f+12>>2]=h;if((c|0)>0){a=GB(h,c,g);v[f+8>>2]=a;_b(f+12|0);if((d|0)<=0){$a(g);h=v[f+8>>2];break a}a=GB(a,d,g);v[f+4>>2]=a;_b(f+8|0);if((e|0)<=0){$a(g);h=v[f+4>>2];break a}h=GB(a,e,g);_b(f+4|0)}$a(g)}Ma=f+16|0;return h}function lua(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;f=Ma-16|0;Ma=f;d=v[a+1044>>2]-1|0;d=(d|0)>0?d:0;g=A[a+16>>3];h=A[a+24>>3];e=A[b>>3];e=eh?h:e;i=v[a+1052>>2];while(1){a:{b=j;if((d|0)==(b|0)){b=d;break a}j=b+1|0;if(!(e>3])){continue}}break}d=b<<3;A[f+8>>3]=A[v[a+1056>>2]+(b<<4)>>3]+(e-A[d+i>>3])*A[d+v[a+1060>>2]>>3];a=v[v[a+1048>>2]+(b<<2)>>2];Qa[v[v[a>>2]+16>>2]](a,f+8|0,c);Ma=f+16|0}function lp(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{if(v[a+44>>2]|!b){break a}d=v[a+52>>2];c=(c|0)<(d|0)?c:d;a=B(v[a+16>>2],3);a=(a|0)>(c|0)?c:a;if((a|0)<1){break a}a=a-1|0;d=((a>>>0)/3|0)+1|0;f=d&1;c=0;if(a>>>0>=3){d=d&2147483646;while(1){a=b+c|0;e=w[a+2|0];t[a+2|0]=w[a|0];t[a|0]=e;e=w[a+3|0];t[a+3|0]=w[a+5|0];t[a+5|0]=e;c=c+6|0;d=d-2|0;if(d){continue}break}}if(!f){break a}a=b+c|0;b=w[a+2|0];t[a+2|0]=w[a|0];t[a|0]=b}}function iZ(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}b=v[a>>2];if(b){if(v[a+20>>2]?1:v[a+16>>2]){b=-1;while(1){c=v[a+28>>2];b:{while(1){b=b+1|0;if((c|0)<=(b|0)){break b}d=v[a>>2]+B(b,12)|0;if(v[d>>2]<0){continue}break}c=v[a+16>>2];c:{if(!c){break c}e=v[d+8>>2];if(!e){break c}Qa[c|0](e)}c=v[a+20>>2];if(!c){continue}d=v[d+4>>2];if(!d){continue}Qa[c|0](d);continue}break}b=v[a>>2]}Nd(b);v[a>>2]=0}if(!w[a+49|0]){break a}Nd(a)}}function iU(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(a>>>0<=127){if((c|0)<1){return 0}t[b|0]=a;return 1}a:{if(a>>>0<=2047){if((c|0)<2){break a}t[b+1|0]=a&63|128;t[b|0]=(a>>>6|0)+-64;return 2}if(a>>>0<=65535){if((c|0)<3){break a}t[b+2|0]=a&63|128;t[b|0]=(a>>>12|0)-32;t[b+1|0]=a>>>6&63|128;return 3}if((c|0)<4|a>>>0>1114111){break a}t[b+3|0]=a&63|128;t[b|0]=(a>>>18|0)-16;t[b+2|0]=a>>>6&63|128;t[b+1|0]=a>>>12&63|128;d=4}return d|0}function Yp(a,b){var c=0,d=0,e=0;v[a+20>>2]=0;v[a+24>>2]=-1;v[a+12>>2]=0;v[a+16>>2]=-1;v[a>>2]=969512;v[a+4>>2]=0;v[a+8>>2]=0;v[a+28>>2]=v[b+28>>2];v[a+32>>2]=v[b+32>>2];v[a+36>>2]=v[b+36>>2];v[a+40>>2]=v[b+40>>2];v[a+44>>2]=v[b+44>>2];v[a+48>>2]=v[b+48>>2];Zp(a,v[b+20>>2],v[b+24>>2]);c=v[a+12>>2];d=v[a+20>>2]-c|0;e=v[a+24>>2]-c|0;c=v[b+12>>2];Qa[v[b+44>>2]](v[a+8>>2],d,e,v[b+8>>2],v[b+20>>2]-c|0,v[b+24>>2]-c|0);return a}function Jh(a,b,c,d){var e=0,f=0;a:{if(w[a+11|0]>>>7|0){e=v[a+4>>2]}else{e=w[a+11|0]}if(!e|(c-b|0)<5){break a}xx(b,c);f=c-4|0;if(w[a+11|0]>>>7|0){e=v[a+4>>2]}else{e=w[a+11|0]}if(w[a+11|0]>>>7|0){a=v[a>>2]}c=a;a=e+a|0;b:{while(1){c:{e=t[c|0];if(b>>>0>=f>>>0){break c}if(!((e|0)<1|(e|0)>=127)&v[b>>2]!=t[c|0]){break b}b=b+4|0;c=((a-c|0)>1)+c|0;continue}break}if((e|0)<1|(e|0)>=127|t[c|0]>>>0>v[f>>2]-1>>>0){break a}}v[d>>2]=4}}function FT(a,b){var c=0,d=0;a:{if(w[a+9|0]!=16){break a}c=B(v[a>>2],w[a+10|0]);if(!c){break a}a=c&3;if(c-1>>>0>=3){c=c&-4;while(1){d=w[b+1|0];t[b+1|0]=w[b|0];t[b|0]=d;d=w[b+2|0];t[b+2|0]=w[b+3|0];t[b+3|0]=d;d=w[b+4|0];t[b+4|0]=w[b+5|0];t[b+5|0]=d;d=w[b+6|0];t[b+6|0]=w[b+7|0];t[b+7|0]=d;b=b+8|0;c=c-4|0;if(c){continue}break}}if(!a){break a}while(1){c=w[b+1|0];t[b+1|0]=w[b|0];t[b|0]=c;b=b+2|0;a=a-1|0;if(a){continue}break}}}function j3a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:{if(v[a+20>>2]){while(1){c=v[b+8>>2];if(c&7){return-1}e=w[v[a+24>>2]+d|0];f=v[b+64>>2];if(!((f|0)<0|v[b+60>>2]<(f|0))){v[b+8>>2]=c|4;return-1}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;b:{if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;t[c|0]=e;break b}c=-1;if((Cb(b,e)|0)==-1){break a}}d=d+1|0;if(d>>>0>2]){continue}break}}c=0}return c|0}function _ca(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;if(!(!f|!e)){d=h<<2;while(1){f=f-1|0;a=e;while(1){c=w[l|0];v[b>>2]=c<<24|((B(w[i|0],c)+127&65535)>>>0)/255|((B(w[j|0],c)+127&65535)>>>0)/255<<8|((B(w[k|0],c)+127&65535)>>>0)/255<<16;b=b+4|0;k=k+1|0;j=j+1|0;i=i+1|0;l=l+1|0;a=a-1|0;if(a){continue}break}l=g+l|0;k=g+k|0;j=g+j|0;i=g+i|0;b=b+d|0;if(f){continue}break}}}function dN(a,b,c,d){var e=0,f=0,g=0,h=0;e=v[a+96>>2];v[d>>2]=0;v[d+4>>2]=0;e=v[v[e+12>>2]+76>>2];if(e){if(!(Qa[e|0](a,b,c,d)|0)){g=d,h=xb(v[d>>2],v[v[a+88>>2]+16>>2]),v[g>>2]=h;c=xb(v[d+4>>2],v[v[a+88>>2]+20>>2]);v[d+4>>2]=c;f=d;b=v[a+88>>2];e=x[b+12>>1];if(e>>>0<=24){g=d,h=fc(v[d>>2],e,25),v[g>>2]=h;b=v[a+88>>2]}a=x[b+14>>1];b=v[d+4>>2];a:{if(a>>>0>=25){break a}b=fc(c,a,25)}v[f+4>>2]=b+32&-64;v[d>>2]=v[d>>2]+32&-64}}}function SJ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=Ma-32|0;Ma=e;d=e+16|0;v[d+12>>2]=0;v[d+4>>2]=0;v[d+8>>2]=0;v[d>>2]=520704;f=0;a:{if(!Ik(d,b,0)){break a}b=v[d+12>>2];v[a+12>>2]=b;b:{if(!c){c=ab(b);break b}t[a+16|0]=1}v[a+8>>2]=c;v[e+12>>2]=0;Ys(d,c,b,e+12|0);if((b|0)!=v[e+12>>2]){c:{if(w[a+16|0]){break c}b=v[a+8>>2];if(!b){break c}$a(b);v[a+8>>2]=0}v[a+12>>2]=0;f=0;break a}Si(d);f=1}a=f;Xh(d);Ma=e+32|0;return a|0}function Pv(a){var b=0,c=0,d=0;if(a){b=v[a+32>>2];if(b){d=v[b+80>>2]}a:{if(!v[291069]){break a}c=v[291067];if(!c){break a}Qa[c|0](a);b=v[a+32>>2]}if(!(!b|v[a+40>>2]!=2)){uX(b,a)}b=v[a+12>>2];if(b){vl(b)}c=v[a+8>>2];b:{if(!c){break b}if(d){while(1){b=v[d+16>>2];if(b){while(1){if(c>>>0<=y[b+4>>2]&c>>>0>=b+20>>>0){break b}b=v[b>>2];if(b){continue}break}}d=v[d+20>>2];if(d){continue}break}}Qa[v[256556]](c)}Qa[v[256556]](a)}}function Bfa(a){a=a|0;var b=0,c=0,d=0;d=v[a+12>>2];if(d){c=(v[d+20>>2]<<4)+32|0;b=v[d+24>>2];if(b){while(1){c=c+8164|0;b=v[b>>2];if(b){continue}break}}d=c+24|0}else{d=24}b=v[a+16>>2];if(b){c=(v[b+20>>2]<<4)+32|0;b=v[b+24>>2];if(b){while(1){c=c+8164|0;b=v[b>>2];if(b){continue}break}}d=c+d|0}a=v[a+20>>2];if(a){c=(v[a+20>>2]<<4)+32|0;b=v[a+24>>2];if(b){while(1){c=c+8164|0;b=v[b>>2];if(b){continue}break}}d=c+d|0}return d|0}function jLa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=v[a>>2];d=v[f+140>>2];c=v[b+8>>2];g=v[f+32>>2];e=v[b+16>>2];if(e){c=(B(c,e)+36|0)/72|0}e=c+32>>6;c=7;a:{b:{c:{switch(v[b>>2]){case 0:c=23;if((e|0)==v[g+12>>2]+32>>6){break b}break a;case 1:break c;default:break a}}c=23;if((e|0)!=(v[d+44>>2]+v[d+40>>2]|0)){break a}}c=0;Cl(f,0);v[a+24>>2]=v[d+40>>2]<<6;v[a+28>>2]=0-(v[d+44>>2]<<6);v[a+36>>2]=x[d+4>>1]<<6}return c|0}function h9(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;a:{if((c|0)>=1){while(1){g=v[a+600>>2];e=v[a+608>>2];f=(c+e|0)>(g|0)?g-e|0:c;if((f|0)<=0){break a}d=b;h=v[a+604>>2];if((h|0)!=(b|0)){Fd(h,b,f);g=v[a+600>>2];e=v[a+608>>2];d=v[a+604>>2]}e=e+f|0;v[a+608>>2]=e;v[a+604>>2]=d+f;b:{if((e|0)<(g|0)){break b}if(Xd(a)){break b}return-1}b=b+f|0;c=c-f|0;if((c|0)>0){continue}break}}return 1}O(8086,10856,48,84418);L()}function bL(a,b,c,d){var e=0;e=Ma+-64|0;Ma=e;v[e+24>>2]=0;v[e+28>>2]=0;v[e+56>>2]=0;v[e+60>>2]=0;v[e+48>>2]=0;v[e+52>>2]=0;v[e+40>>2]=0;v[e+44>>2]=0;v[e+32>>2]=0;v[e+36>>2]=0;v[e+24>>2]=d;v[e+16>>2]=0;v[e+20>>2]=0;v[e+12>>2]=b;v[e+8>>2]=a;v[e+20>>2]=c;a=-101;a:{if(aw(e+8|0,3416,56)){break a}b:{while(1){b=bk(e+8|0,1);if((b|0)==1){break b}if(!(v[e+24>>2]?b:1)){continue}break}if(b>>>0>1){break a}}a=0}Ma=e- -64|0;return a}function XVa(a,b){a=a|0;b=b|0;var c=0,d=0;d=v[a+428>>2];c=v[b+32>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+8|0]=c;t[d+9|0]=c>>>8;t[d+10|0]=c>>>16;t[d+11|0]=c>>>24;c=v[b+36>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+12|0]=c;t[d+13|0]=c>>>8;t[d+14|0]=c>>>16;t[d+15|0]=c>>>24;t[d+16|0]=w[b+40|0];t[d+17|0]=w[b+41|0];t[d+18|0]=w[b+42|0];t[d+19|0]=w[b+43|0];t[d+20|0]=w[b+44|0];return hd(a,v[b>>2],13,d+8|0)|0}function Lda(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=Ma-16|0;Ma=e;while(1){a:{if((c|0)<=(f|0)){break a}d=v[a+24>>2];g=v[a+28>>2];if(d>>>0>=g>>>0){if((Qa[v[v[a>>2]+52>>2]](a,w[b|0])|0)==-1){break a}f=f+1|0;b=b+1|0}else{v[e+12>>2]=g-d;v[e+8>>2]=c-f;d=Ma-16|0;Ma=d;Ma=d+16|0;d=e+8|0;g=e+12|0;d=v[(v[d>>2]>2]?d:g)>>2];sk(v[a+24>>2],b,d);v[a+24>>2]=d+v[a+24>>2];f=d+f|0;b=b+d|0}continue}break}Ma=e+16|0;return f|0}function LI(a,b){var c=0,d=0,e=0,f=0,g=0;c=b&-4;if(c){while(1){e=(w[(d|3)+a|0]|(w[(d|1)+a|0]<<16|w[a+d|0]<<24|w[(d|2)+a|0]<<8))+e|0;d=d+4|0;if(c>>>0>d>>>0){continue}break}}if((b|0)!=(c|0)){d=0;a:{if(b>>>0<=c>>>0){break a}f=b&1;if((0-b|0)!=(c^-1)){b=(b&3)-f|0;while(1){g=c<<3&16;d=w[(c|1)+a|0]<<(g^16)|(w[a+c|0]<<(g^24)|d);c=c+2|0;b=b-2|0;if(b){continue}break}}if(!f){break a}d=w[a+c|0]<<((c<<3^-1)&24)|d}e=d+e|0}return e}function Gha(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;f=Ma-32|0;Ma=f;a:{if(v[a+92>>2]>0){g=v[a+128>>2];h=v[a+104>>2];while(1){if(v[a+120>>2]<(d|0)|v[a+116>>2]>(d|0)){break a}e=(d-v[a+108>>2]<<2)+h|0;v[e>>2]=v[e>>2]+b;if(v[a+144>>2]<(d|0)|v[a+140>>2]>(d|0)){break a}e=(d-v[a+132>>2]<<2)+g|0;v[e>>2]=v[e>>2]+c;d=d+1|0;if((d|0)>2]){continue}break}}Ma=f+32|0;return}lb(mb(f+8|0,227376,271519,619,306765));L()}function qOa(a,b,c){a=a|0;b=C(b);c=C(c);var d=0,e=0,f=0,g=C(0),h=C(0),i=0;h=b;b=z[a+264>>2];f=v[a+280>>2]-1|0;g=C(f|0);b=C(C(C(h-b)*g)/C(z[a+268>>2]-b));a:{if(b=C(0)){d=~~b>>>0;break a}d=0}i=d>>>0>f>>>0;b=z[a+272>>2];b=C(C(C(c-b)*g)/C(z[a+276>>2]-b));b:{if(b=C(0)){e=~~b>>>0;break b}e=0}b=C(M);if(!((e|0)<0|i|((d|0)<0|e>>>0>f>>>0))){b=z[v[v[a+248>>2]+B(d,12)>>2]+(e<<2)>>2]}return C(b)}function bd(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=Ma-16|0;Ma=f;g=a;d=w[a+11|0]>>>7|0?(v[a+8>>2]&2147483647)-1|0:1;h=d;if(w[a+11|0]>>>7|0){e=v[a+4>>2]}else{e=w[a+11|0]}a:{if(h-e>>>0>=c>>>0){if(!c){break a}if(w[a+11|0]>>>7|0){d=v[g>>2]}else{d=g}rk(d+(e<<2)|0,b,c);b=c+e|0;c=b;b:{if(w[g+11|0]>>>7|0){v[a+4>>2]=c;break b}t[a+11|0]=c}v[f+12>>2]=0;v[d+(b<<2)>>2]=v[f+12>>2];break a}sr(a,d,(c+e|0)-d|0,e,e,0,c,b)}Ma=f+16|0;return a}function EL(a,b,c){var d=0,e=0,f=0,g=0,h=0;if(a){f=v[b+88>>2]+B(c,1876)|0;if(v[f+420>>2]>-1){b=0;while(1){g=b;d=B(b,112)+a|0;c=v[d+76>>2];a:{if(!c){break a}b=0;e=v[a+72>>2];if((e|0)>0){while(1){c=(b<<4)+c|0;h=v[c+12>>2];if(h){$a(h);v[c+12>>2]=0;e=v[a+72>>2]}c=v[d+76>>2];b=b+1|0;if((e|0)>(b|0)){continue}break}if(!c){break a}}$a(c);v[d+76>>2]=0}b=g+1|0;if(v[f+420>>2]>(g|0)){continue}break}}b=v[a>>2];if(b){$a(b)}$a(a)}}function Cg(a){var b=0,c=0,d=0,e=0;e=v[a+60>>2];a:{if(e){break a}b=v[a+968>>2];if(b){c=v[a+484>>2];b:{if((c|0)>0){while(1){b=v[(d<<2)+b>>2];if(b){Qa[v[v[b>>2]+4>>2]](b);c=v[a+484>>2]}b=v[a+968>>2];d=d+1|0;if((d|0)<(c|0)){continue}break}if(!b){break b}}$a(b)}v[a+484>>2]=0;v[a+968>>2]=0}b=v[a+960>>2];if(b){$a(b);v[a+960>>2]=0}b=v[a+964>>2];if(b){$a(b);v[a+964>>2]=0}b=v[a+4>>2];if(!b){break a}$a(b);v[a+4>>2]=0}return!e}function im(a,b,c){var d=0,e=0,f=0;d=Ma-48|0;Ma=d;a:{if((Bq(a)|0)<1){break a}if(!$j(a)){break a}e=d+16|0;Xc(e,a);e=qd(d+32|0,e);if(t[d+27|0]<=-1){$a(v[d+16>>2])}b:{if(!v[e+4>>2]){break b}while(1){if(nc(e,b)){b=d+16|0;_c(b,a);hh(c,b);if(t[d+27|0]>-1){break b}$a(v[d+16>>2]);break b}if(!Pi(a)){break b}Xc(d,a);f=qd(d+16|0,d);Xe(e,f);Qb(f);if(t[d+11|0]<=-1){$a(v[d>>2])}if(v[e+4>>2]){continue}break}}Ej(a);Qb(e)}Ma=d+48|0}function bJa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;v[d>>2]=0;v[d+4>>2]=0;e=v[a+496>>2];if(e){a:{a=v[e+36>>2];e=(a+(v[e+40>>2]<<4)|0)-16|0;if(a>>>0<=e>>>0){c=b<<16|c;while(1){f=(e-a>>4)/2|0;b=(f<<4)+a|0;g=v[b>>2]<<16|v[b+4>>2];if((c|0)==(g|0)){a=(f<<4)+a|0;v[d>>2]=v[a+8>>2];v[d+4>>2]=v[a+12>>2];break a}f=c>>>0>g>>>0;a=f?b+16|0:a;e=f?e:b-16|0;if(a>>>0<=e>>>0){continue}break}}v[d>>2]=0;v[d+4>>2]=0}}return 0}function XT(a){a=a|0;var b=0,c=0,d=0,e=0;c=Ma-16|0;Ma=c;v[a>>2]=960152;b=v[a+20>>2];if(b){$a(Bb(b))}b=v[a+24>>2];d=c+12|0;Bj(b,d);if(uf(b,d,c+8|0,c+4|0)){while(1){d=v[c+4>>2];if(d){e=v[d>>2];if(e){$a(Bb(e))}e=v[d+4>>2];if(e){$a(Bb(e))}$a(d)}if(uf(b,c+12|0,c+8|0,c+4|0)){continue}break}}$a(Vg(b));v[a>>2]=959252;while(1){b=v[a+12>>2];if(b){v[a+12>>2]=v[b+4>>2];Qa[v[v[b>>2]+4>>2]](b);continue}break}Ma=c+16|0;return a|0}function ROa(a){a=a|0;var b=0,c=0,d=0,e=0;b=v[a+8>>2];e=a+12|0;if((b|0)!=(e|0)){while(1){c=v[b+28>>2];Qa[v[v[c>>2]+12>>2]](c)|0;c=b;d=v[b+4>>2];a:{if(!d){b=v[c+8>>2];if((c|0)==v[b>>2]){break a}c=c+8|0;while(1){d=v[c>>2];c=d+8|0;b=v[d+8>>2];if((d|0)!=v[b>>2]){continue}break}break a}while(1){b=d;d=v[b>>2];if(d){continue}break}}if((b|0)!=(e|0)){continue}break}}vt(a+8|0,v[a+12>>2]);v[a+8>>2]=e;v[a+12>>2]=0;v[a+16>>2]=0}function AV(a,b,c,d){var e=0;e=1;a:{b:{c:{d:{switch(tv(v[a+4>>2])|0){case 2:e=2;break c;case 3:e=8;break c;case 4:case 5:e=d?10:5;break c;case 6:e=3;break c;case 7:e=9;break c;case 0:case 1:break c;case 8:break d;default:break b}}e=d?10:5}if(d){if(e>>>0<7){break b}break a}if(e>>>0<7){break a}}$a(Bb(a));return 0}d=ab(48);v[d+40>>2]=-1;A[d+24>>3]=c;v[d+20>>2]=b;v[d+16>>2]=a;v[d+4>>2]=e;v[d>>2]=1;v[d+32>>2]=0;return d}function uR(a,b){var c=0,d=0,e=0,f=0,g=0;c=Ma-48|0;Ma=c;d=v[b>>2];e=a+8|0;xu(e);f=e;e=Wp(d);f=cm(f,e);g=Qa[v[v[d>>2]+8>>2]](d,f,e)|0;t[g+f|0]=0;a:{if((e|0)<=(g|0)){if((Qa[v[v[d>>2]+8>>2]](d,c+23|0,1)|0)==1){d=w[c+23|0];if((d|0)!=1){break a}vR(a+16|0,b,e,0,0)}Ma=c+48|0;return}lb(mb(c+24|0,262142,240780,364,335393));L()}Rc(c+8|0,348363,Qe(c,d));a=v[c+8>>2];lb(mb(c+24|0,v[(a?a+12|0:1117e3)>>2],240780,370,335393));L()}function jea(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;var j=0;if(!(!f|!e)){d=x[a+26>>1];j=B(g,d);a=v[a+56>>2];h=h<<2;while(1){f=f-1|0;g=e;while(1){c=w[i+3|0]^255;v[b>>2]=w[a+((B(c,w[i+1|0]^255)>>>0)/255|0)|0]<<8|w[a+((B(w[i|0]^255,c)>>>0)/255|0)|0]|w[a+((B(w[i+2|0]^255,c)>>>0)/255|0)|0]<<16|-16777216;i=d+i|0;b=b+4|0;g=g-1|0;if(g){continue}break}i=i+j|0;b=b+h|0;if(f){continue}break}}}function hy(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;f=Ma-16|0;Ma=f;if(c){g=zb(c)}if(d){h=zb(d)}v[a>>2]=0;e=g+h|0;a:{if((e|0)<1){break a}i=f+8|0;Qa[v[v[b>>2]+8>>2]](i,b,e);jb(a,i);b=v[f+8>>2];v[f+8>>2]=0;b:{if(!b){break b}e=v[b+4>>2]-1|0;v[b+4>>2]=e;if(e){break b}e=v[b+4>>2];if(!e){v[b+4>>2]=-32767}if(!e){Qa[v[v[b>>2]+4>>2]](b)}}b=v[a>>2];a=v[b+12>>2];if(g){od(a,c);if(!h){break a}MD(v[b+12>>2],d);break a}od(a,d)}Ma=f+16|0}function VDa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=v[a+24>>2];v[a+48>>2]=b;d=v[a+28>>2];v[a+52>>2]=d;e=v[a+8>>2];f=e+v[a>>2]|0;v[a+8>>2]=f>>1;c=b;b=v[a+16>>2];c=c+b|0;v[a+40>>2]=c>>1;b=b+e|0;e=b+f|0;v[a+16>>2]=e>>2;b=b+c|0;v[a+32>>2]=b>>2;c=d;d=v[a+20>>2];f=c+d|0;v[a+44>>2]=f>>1;c=v[a+12>>2];g=c+v[a+4>>2]|0;v[a+12>>2]=g>>1;v[a+24>>2]=b+e>>3;b=d+c|0;d=b+f|0;v[a+36>>2]=d>>2;b=b+g|0;v[a+20>>2]=b>>2;v[a+28>>2]=b+d>>3}function nz(a,b,c){var d=0,e=0;v[b>>2]=0;v[c>>2]=0;d=v[a>>2];a:{if((d|0)<4){break a}while(1){e=v[a+4>>2]+d|0;b:{if(!hb(e-4|0,312270)){d=d-4|0;yk(a,d,4);v[b>>2]=1;break b}c:{if((d|0)>=6){if(!hb(e-6|0,312750)){d=d-6|0;yk(a,d,6);v[c>>2]=1;break b}if((d|0)<7){break c}if(hb(e-7|0,310429)){break c}d=d-7|0;yk(a,d,7);break b}if((d|0)!=5){break a}}if(hb(e-5|0,310780)){break a}d=d-5|0;yk(a,d,5)}if((d|0)>3){continue}break}}}function MQ(a,b,c){var d=0;d=Ma-32|0;Ma=d;v[d+24>>2]=0;v[d+28>>2]=0;v[d+20>>2]=0;v[d+16>>2]=978704;aj(d+8|0,d+16|0,b);v[d+16>>2]=978608;b=v[d+28>>2];if(b){t[b|0]=0;$a(v[d+28>>2])}v[d+28>>2]=0;bc(d+16|0);b=v[d+8>>2];a:{if(!b){v[a>>2]=0;break a}LQ(a,b,v[c>>2]);a=v[d+8>>2];v[d+8>>2]=0;if(!a){break a}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break a}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=d+32|0}function xt(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=v[a>>2];g=ce(b);d=w[a+11|0];e=d<<24>>24<0;d=e?v[a+4>>2]:d;if(d>>>0>=c>>>0){if(!g){return c}f=e?f:a;e=f+(d<<2)|0;c=f+(c<<2)|0;a=e-c>>2;a:{b:{if((g|0)>(a|0)){break b}d=v[b>>2];while(1){h=a-g|0;a=h+1|0;if(a>>>0>>0){break b}a=xe(c,d,a);if(!a){break b}if(!lc(a,b,g)){break a}c=a+4|0;a=e-c>>2;if((g|0)<=(a|0)){continue}break}}a=e}a=(a|0)==(e|0)?-1:a-f>>2}else{a=-1}return a}function XH(a,b){var c=0,d=0,e=0;d=Ma-16|0;Ma=d;a:{b=v[b+4>>2];b:{if(!b){c=ce(0);if(c>>>0>=1073741808){break a}c:{d:{if(c>>>0>=2){e=c+4&-4;b=ab(e<<2);v[a+8>>2]=e|-2147483648;v[a>>2]=b;v[a+4>>2]=c;a=b;break d}t[a+11|0]=c;if(!c){break c}}rb(a,0,c)}v[(c<<2)+a>>2]=0;break b}b=BX(b);if(!b){v[a>>2]=0;t[a+11|0]=0;break b}Zg(d,b,zb(b));v[a+8>>2]=v[d+8>>2];b=v[d+4>>2];v[a>>2]=v[d>>2];v[a+4>>2]=b}Ma=d+16|0;return}sc();L()}function SJa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:{if(!w[a+733|0]){break a}d=v[a+736>>2];if(!d){break a}if(!w[d+32|0]){e=o$(a,0);d=v[a+736>>2];v[d+36>>2]=e}if(!w[d+33|0]){return v[d+36>>2]}d=v[d+40>>2];e=v[d+28>>2];b:{if(e){f=e;e=v[d+20>>2];e=(b>>>0>>0?b:e-1|0)<<2;b=v[f+e>>2];f=v[e+v[d+24>>2]>>2];break b}e=6;if(y[v[d+4>>2]>>2]<=b>>>0){break a}}g=c,h=gJ(a,d,f,b)+v[c>>2]|0,v[g>>2]=h;e=0}return e|0}function RJa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:{if(!w[a+733|0]){break a}d=v[a+736>>2];if(!d){break a}if(!w[d+44|0]){e=o$(a,1);d=v[a+736>>2];v[d+48>>2]=e}if(!w[d+45|0]){return v[d+48>>2]}d=v[d+52>>2];e=v[d+28>>2];b:{if(e){f=e;e=v[d+20>>2];e=(b>>>0>>0?b:e-1|0)<<2;b=v[f+e>>2];f=v[e+v[d+24>>2]>>2];break b}e=6;if(y[v[d+4>>2]>>2]<=b>>>0){break a}}g=c,h=gJ(a,d,f,b)+v[c>>2]|0,v[g>>2]=h;e=0}return e|0}function aza(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;a:{if((e|0)<1){break a}h=v[a+28>>2];if(!h){break a}g=v[v[a+408>>2]+8>>2];while(1){i=e-1|0;j=v[v[c>>2]+(d<<2)>>2];a=v[b>>2];f=0;while(1){t[f+j|0]=v[((w[a+2|0]<<2)+g|0)+2048>>2]+(v[((w[a+1|0]<<2)+g|0)+1024>>2]+v[(w[a|0]<<2)+g>>2]|0)>>>16;a=a+3|0;f=f+1|0;if((h|0)!=(f|0)){continue}break}d=d+1|0;b=b+4|0;a=(e|0)>1;e=i;if(a){continue}break}}}function Xi(a,b){var c=0,d=0,e=0;a:{c=v[b>>2];d=c+v[a>>2]|0;if((d|0)>v[a+4>>2]){if((c|0)<=-1){break a}c=v[a+8>>2];b:{if(!c){c=gb(d<<2);break b}c=ph(c,d<<2)}if(!c){return-1}v[a+4>>2]=d;v[a+8>>2]=c;c=v[b>>2]}if((c|0)<1){return 0}c=v[a>>2];d=0;while(1){e=v[v[b+8>>2]+(d<<2)>>2];v[e>>2]=v[e>>2]+1;v[v[a+8>>2]+(c<<2)>>2]=e;c=c+1|0;v[a>>2]=c;d=d+1|0;if((d|0)>2]){continue}break}return 0}O(24710,6744,706,188339);L()}function T9(a){a=a|0;var b=0,c=0,d=0,e=0;d=Ma+-64|0;Ma=d;e=x[a+88>>1];b=v[279424];a:{if(b){while(1){c=v[b+4>>2];if(x[c+4>>1]==(e|0)){break a}b=v[b>>2];if(b){continue}break}}if(v[253816]){c=1015264;while(1){if(x[c+4>>1]==(e|0)){break a}b=v[c+12>>2];c=c+12|0;if(b){continue}break}}c=0}v[d+16>>2]=x[a+88>>1];Dc(d+32|0,38745,d+16|0);b=v[a>>2];e=v[a+628>>2];v[d>>2]=c?v[c>>2]:d+32|0;wb(e,b,40217,d);Ma=d- -64|0;return 0}function mk(a,b,c){var d=0,e=0;e=-1;a:{b:{if(wg(a,v[c>>2])){break b}if(v[v[c+104>>2]+8>>2]){d=fi(0,0);if(!d){break b}if(Qa[v[v[c+104>>2]+8>>2]](c,b,d)|0){break a}e=Ei(d);if((e|0)<=-1){break a}v[c+4>>2]=e;if((af(d,0,0)|0)<0){break a}if(wg(a,v[c+4>>2]+2|0)){break a}if((Pm(a,d,v[c+4>>2])|0)<=-1){break a}ne(d)}if(v[c>>2]==65361){v[b>>2]=v[c+48>>2]}e=0;if(v[279756]<1){break b}yC(c,v[249419])}return e}ne(d);return-1}function k$a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(v[a+588>>2]>=1){c=v[a+540>>2];c=((v[c+1176>>2]+B(v[c+1168>>2],v[a+572>>2])|0)+B(v[c+1164>>2],v[a+580>>2])|0)+1|0;d=v[a+636>>2]+v[a+616>>2]|0;while(1){f=c;if(!(b&255)){g=w[d|0];d=d+1|0;b=128}t[f|0]=b&g?-1:0;c=c+2|0;b=(b&254)>>>1|0;e=e+1|0;if((e|0)>2]){continue}break}}v[a+2556>>2]=v[a+2556>>2]+1;a:{if(v[a+968>>2]){b=lk(a);if(b){break a}}b=0}return b|0}function ex(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;while(1){g=(e<<2)+a|0;b=v[g+20>>2];if(b){c=v[b>>2];if((c|0)>=1){while(1){f=v[b+8>>2];c=c-1|0;h=c<<2;d=v[f+h>>2];i=v[d>>2];v[d>>2]=i-1;if((i|0)<=1){Qa[v[v[d+4>>2]>>2]](d);$a(d);f=v[b+8>>2];c=v[b>>2]-1|0}v[f+h>>2]=0;v[b>>2]=c;if((c|0)>0){continue}break}}c=v[b+8>>2];if(c){$a(c)}$a(b);v[g+20>>2]=0}e=e+1|0;if((e|0)!=13){continue}break}b=v[a+16>>2];if(b){Om(b)}$a(a)}function e$a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(v[a+588>>2]>=1){c=v[a+540>>2];c=((v[c+1176>>2]+B(v[c+1168>>2],v[a+572>>2])|0)+B(v[c+1164>>2],v[a+580>>2])|0)+3|0;d=v[a+636>>2]+v[a+616>>2]|0;while(1){f=c;if(!(b&255)){g=w[d|0];d=d+1|0;b=128}t[f|0]=b&g?-1:0;c=c+4|0;b=(b&254)>>>1|0;e=e+1|0;if((e|0)>2]){continue}break}}v[a+2556>>2]=v[a+2556>>2]+1;a:{if(v[a+968>>2]){b=lk(a);if(b){break a}}b=0}return b|0}function Qna(a){a=a|0;var b=0,c=0,d=0,e=0;c=v[a+296>>2];b=v[a+300>>2];a:{if(c>>>0>=b>>>0){d=a+40|0;v[a+300>>2]=d;v[a+296>>2]=d;c=v[a+304>>2]+(b-d|0)|0;v[a+304>>2]=c;if(v[a+32>>2]){e=v[a+36>>2]+v[a+28>>2]|0;b=-1;if((e|0)<=(c|0)){break a}b=(e|0)<(c+256|0)?e-c|0:256}else{b=256}e=v[a+24>>2];Nw(v[e>>2],c,0);d=(kg(d,1,b,v[e>>2])+a|0)+40|0;v[a+300>>2]=d;c=v[a+296>>2];b=-1;if(d>>>0<=c>>>0){break a}}b=w[c|0]}return b|0}function D1a(a){a=a|0;var b=0,c=0,d=0;a=v[a+52>>2];b=Qa[v[v[a>>2]+20>>2]](a,2)|0;Qa[v[v[a>>2]+20>>2]](a,1)|0;a:{if((b|0)<4){break a}c=b-3|0;d=b+1&3;if(d){while(1){Qa[v[v[a>>2]+20>>2]](a,1)|0;c=c-1|0;d=d-1|0;if(d){continue}break}}if(b-4>>>0<=2){break a}while(1){Qa[v[v[a>>2]+20>>2]](a,1)|0;Qa[v[v[a>>2]+20>>2]](a,1)|0;Qa[v[v[a>>2]+20>>2]](a,1)|0;Qa[v[v[a>>2]+20>>2]](a,1)|0;b=(c|0)>4;c=c-4|0;if(b){continue}break}}}function t5(a){var b=0,c=0,d=0,e=0,f=0,g=0;v[a+104>>2]=-1;u[a+100>>1]=0;v[a+96>>2]=-1;v[a+72>>2]=0;b=v[a+8>>2];if((b|0)>=1){d=v[a+12>>2];while(1){c=v[d>>2];if((c|0)>=1){e=v[d+4>>2];f=0;while(1){if(v[e>>2]>=1){c=v[e+4>>2];b=0;while(1){v[c>>2]=0;c=c+4|0;b=b+1|0;if((b|0)>2]){continue}break}c=v[d>>2]}e=e+20|0;f=f+1|0;if((f|0)<(c|0)){continue}break}b=v[a+8>>2]}d=d+16|0;g=g+1|0;if((g|0)<(b|0)){continue}break}}}function Pe(a,b){var c=0,d=0;c=Ma-32|0;Ma=c;v[c+24>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c+4>>2]=c+8;a:{d=v[a+664>>2];if(v[d>>2]==(b|0)?d:0){break a}d=v[a+656>>2];b:{if(!d){break b}v[c+16>>2]=0;v[c+8>>2]=b;d=PD(c+4|0,d,v[a+660>>2]);if(!d){v[a+664>>2]=0;break b}d=v[d>>2];v[a+664>>2]=d;if(d){break a}}a=v[a+628>>2];v[c>>2]=b;wb(a,28503,29732,c);O(32023,33505,811,28503);L()}Ma=c+32|0;return d}function Mf(){var a=0;a=v[291415];if(!a){a=ab(92);v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=972720;v[a+16>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;v[a+32>>2]=0;jd(a+8|0,972920);v[a+60>>2]=0;v[a+52>>2]=0;v[a+56>>2]=0;v[a+44>>2]=0;v[a+48>>2]=0;v[a+36>>2]=0;v[a+40>>2]=0;jd(a+36|0,972920);v[a+88>>2]=0;v[a+80>>2]=0;v[a+84>>2]=0;v[a+72>>2]=0;v[a+76>>2]=0;v[a+64>>2]=0;v[a+68>>2]=0;jd(a- -64|0,972940);v[291415]=a}return a}function hs(a){var b=0,c=0,d=0,e=0,f=0;b=Ma-32|0;Ma=b;d=4;e=b+4|0;a:{b:{while(1){c=Qa[v[v[a>>2]+8>>2]](a,e,d)|0;if((c|0)<=-1){break b}f=c+f|0;if(c){e=c+e|0;d=d-c|0;if(d){continue}}break}if((f|0)!=4){break a}Ma=b+32|0;a=w[b+4|0]|w[b+5|0]<<8|(w[b+6|0]<<16|w[b+7|0]<<24);return a<<8&16711680|a<<24|(a>>>8&65280|a>>>24)}lb(mb(b+8|0,fl(v[296206]),241689,413,329475));L()}lb(mb(b+8|0,v[279242],241689,582,333407));L()}function Fq(a,b){var c=0,d=0,e=0;c=Ma-16|0;Ma=c;v[c+12>>2]=0;e=Gf(a,c+12|0);d=v[c+12>>2];a:{if(d){break a}b:{c:{d:{e:{e=e&255;switch(e-253|0){case 1:break c;case 2:break d;case 0:break e;default:break b}}e=Ac(a,c+12|0);d=v[c+12>>2];if(!d){break b}break a}a=Gf(a,c+12|0);d=v[c+12>>2];if(d){break a}e=(a&255)+253|0;break b}a=Gf(a,c+12|0);d=v[c+12>>2];if(d){break a}e=(a&255)+506|0}u[b>>1]=e;d=0}Ma=c+16|0;return d}function uga(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Ma-32|0;Ma=d;v[a>>2]=0;a:{e=v[c>>2];b:{if(e){if(Qa[v[v[e>>2]+20>>2]](e)|0){break a}e=d+8|0;hy(e,b,v[b+12>>2],v[v[c>>2]+12>>2]);jb(a,e);a=v[d+8>>2];v[d+8>>2]=0;if(!a){break b}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break b}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}break b}qb(a,b)}Ma=d+32|0;return}lb(mb(d+8|0,313994,241775,1189,226962));L()}function lGa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=v[b+8>>2];f=v[a>>2];g=v[f+32>>2];e=v[f+132>>2];d=v[b+16>>2];if(d){c=(B(c,d)+36|0)/72|0}d=c+32>>6;c=7;a:{b:{c:{switch(v[b>>2]){case 0:c=23;if((d|0)==v[g+12>>2]+32>>6){break b}break a;case 1:break c;default:break a}}c=23;if((d|0)!=x[e+96>>1]){break a}}c=0;Cl(f,0);b=x[e+80>>1];v[a+24>>2]=b<<6;v[a+28>>2]=b-x[e+96>>1]<<6;v[a+36>>2]=x[e+102>>1]<<6}return c|0}function ji(a,b){var c=0,d=0,e=0,f=0,g=0;e=Ma-16|0;Ma=e;a:{b:{if(!ye(302523,t[b|0])){v[296206]=28;break b}c=2;if(!ye(b,43)){c=w[b|0]!=114}c=ye(b,120)?c|128:c;c=ye(b,101)?c|524288:c;d=c;g=c|64;c=w[b|0];d=(c|0)==114?d:g;d=(c|0)==119?d|512:d;v[e>>2]=438;a=ea(a|0,((c|0)==97?d|1024:d)|32768,e|0)|0;if(a>>>0>=4294963201){v[296206]=0-a;a=-1}if((a|0)<0){break a}f=zP(a,b);if(f){break a}$(a|0)|0}f=0}Ma=e+16|0;return f}function UC(a,b,c){var d=0,e=0;a:{d=v[a+8>>2]+((b>>>0)%y[a>>2]<<2)|0;b=v[d>>2];b:{if(b){a=v[b>>2];break b}a=v[a+4>>2];b=Yb(1,24);if(!b){break a}a=(a|0)<1?50:a;e=Yb(a,4);v[b+20>>2]=e;if(!e){break a}v[b+16>>2]=1065353216;v[b+8>>2]=1;v[b>>2]=a;v[d>>2]=b}d=b+20|0;e=v[b+4>>2];c:{if((e|0)<(a|0)){a=v[d>>2];break c}a=Kj(d,a<<2,a<<3);v[d>>2]=a;if(!a){break c}v[b>>2]=v[b>>2]<<1}z[(e<<2)+a>>2]=c;v[b+4>>2]=v[b+4>>2]+1}}function Qu(a,b,c){var d=0,e=0,f=0;d=Ma-16|0;Ma=d;v[a>>2]=0;f=v[b+8>>2];if(f){while(1){b=0;e=v[f+8>>2];if(e){v[e+4>>2]=v[e+4>>2]+1;b=v[f+8>>2]}v[d+8>>2]=b;if(v[b+8>>2]==4){cj(d,b);b=Hb(d,c,-1);db(d);if(!b){jb(a,d+8|0)}b=v[d+8>>2]}v[d+8>>2]=0;a:{if(!b){break a}e=v[b+4>>2]-1|0;v[b+4>>2]=e;if(e){break a}e=v[b+4>>2];if(!e){v[b+4>>2]=-32767}if(!e){Qa[v[v[b>>2]+4>>2]](b)}}f=v[f>>2];if(f){continue}break}}Ma=d+16|0}function Fs(a){var b=0,c=0,d=0,e=0;if(v[a+8>>2]>0){while(1){b=v[a>>2];e=d<<6;c=b+e|0;c=w[c+20|0]|w[c+21|0]<<8|(w[c+22|0]<<16|w[c+23|0]<<24);if(c){$a(c);b=v[a>>2]}c=b+e|0;c=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);if(c){$a(c);b=v[a>>2]}b=b+e|0;b=w[b+4|0]|w[b+5|0]<<8|(w[b+6|0]<<16|w[b+7|0]<<24);if(b){$a(b)}d=d+1|0;if((d|0)>2]){continue}break}}b=v[a>>2];if(b){$a(b)}b=v[a+4>>2];if(b){$a(b)}return a}function EX(a){var b=0,c=0,d=0,e=0;d=-1;a:{if(!a){break a}b=v[a+64>>2];if(!b){break a}d=0;if(v[b+4>>2]!=1){break a}c=v[a+68>>2];b:{if(!c){c=v[b+48>>2];if(c){v[a+68>>2]=c;break b}b=v[b+44>>2];if(!b){break a}v[a+68>>2]=b;break b}e=v[c+4>>2]-2|0;if(e){if((e|0)!=16){break a}c=v[c>>2];if(c){v[a+68>>2]=c;break b}b=v[b+44>>2];if(!b){break a}v[a+68>>2]=b;break b}b=v[c+24>>2];if(!b){break a}v[a+68>>2]=b}d=1}return d}function z9(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;if((c|0)>=1){a=v[a+12>>2];while(1){d=v[a>>2];u[b>>1]=d>>>16;f=b;e=(+((d&255)>>>0)+.5)*.0024390243902439024*32768;a:{if(D(e)<2147483648){g=~~e;break a}g=-2147483648}u[f+4>>1]=g;f=b;e=(+((d>>>8&255)>>>0)+.5)*.0024390243902439024*32768;b:{if(D(e)<2147483648){d=~~e;break b}d=-2147483648}u[f+2>>1]=d;a=a+4|0;b=b+6|0;d=(c|0)>1;c=c-1|0;if(d){continue}break}}}function dLa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=v[a+20>>2];h=v[a+16>>2];a:{b:{if(h){e=v[b>>2]+1|0;a=h>>>1|0;g=h;while(1){d=c+g>>>1|0;d=a>>>0>=g>>>0?d:a>>>0>>0?d:a;f=v[(d<<3)+i>>2];if((f|0)==(e|0)){c=d;break b}a=(e+d|0)-f|0;f=e>>>0>>0;c=f?c:d+1|0;g=f?d:g;if(c>>>0>>0){continue}break}}e=0;if(c>>>0>=h>>>0){break a}e=v[(c<<3)+i>>2]}j=x[((c<<3)+i|0)+4>>1]+1&65535}v[b>>2]=e;return j|0}function aGa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=v[b+8>>2];d=v[a>>2];f=v[d+32>>2];e=v[b+16>>2];if(e){c=(B(c,e)+36|0)/72|0}e=c+32>>6;c=7;a:{b:{c:{switch(v[b>>2]){case 0:c=23;if((e|0)==v[f+12>>2]+32>>6){break b}break a;case 1:break c;default:break a}}c=23;if((e|0)!=(v[d+208>>2]+v[d+204>>2]|0)){break a}}c=0;Cl(d,0);v[a+24>>2]=v[d+204>>2]<<6;v[a+28>>2]=0-(v[d+208>>2]<<6);v[a+36>>2]=u[d+236>>1]<<6}return c|0}function Fga(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Ma-32|0;Ma=d;v[a>>2]=0;a:{e=v[c>>2];b:{if(e){if(Qa[v[v[e>>2]+16>>2]](e)|0){break a}e=d+8|0;hy(e,b,v[b+12>>2],v[v[c>>2]+12>>2]);jb(a,e);a=v[d+8>>2];v[d+8>>2]=0;if(!a){break b}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break b}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}break b}qb(a,b)}Ma=d+32|0;return}lb(mb(d+8|0,274222,241775,515,226882));L()}function Rq(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;d=w[c+11|0];f=d<<24>>24;e=w[b+11|0];g=e<<24>>24<0;e=g?v[b+4>>2]:e;h=(f|0)<0?v[c+4>>2]:d;d=e+h|0;if(d>>>0<1073741808){j=v[b>>2];a:{if(d>>>0<=1){t[a+11|0]=e;d=a;break a}i=d+4&-4;d=ab(i<<2);v[a+8>>2]=i|-2147483648;v[a>>2]=d;v[a+4>>2]=e}if(e){rb(d,g?j:b,e);f=t[c+11|0]}v[(e<<2)+d>>2]=0;bd(a,(f|0)<0?v[c>>2]:c,h);return}sc();L()}function Np(a,b){var c=0,d=0;d=Ma-32|0;Ma=d;a:{b:{c=w[a+19|0];c:{if(c){if((c|0)==255){break c}t[a+19|0]=c-1;break c}c=w[a+18|0]+1|0;t[a+18|0]=c;t[a+17|0]=w[a+17|0]<<1|b;if((c&255)!=8){break c}if(!w[a+16|0]){break b}b=v[a+12>>2];if((Qa[v[v[b>>2]+12>>2]](b,a+17|0,1)|0)!=1){break a}t[a+17|0]=0;t[a+18|0]=0}Ma=d+32|0;return}lb(mb(d+8|0,272525,242125,1004,327238));L()}lb(mb(d+8|0,237830,242125,1006,327238));L()}function DUa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if(v[c>>2]!=1766015824){ob(a,2050,0,0);return 2050}t[b+32|0]=w[c+32|0];e=v[c+36>>2];v[b+36>>2]=e;t[b+44|0]=w[c+44|0];d=v[c+48>>2];v[b+48>>2]=d;a:{if(e){d=Qa[v[a+152>>2]](e)|0;v[b+40>>2]=d;if(!d){break a}cb(d,v[c+40>>2],v[b+36>>2]);d=v[b+48>>2]}if(d){d=Qa[v[a+152>>2]](d)|0;v[b+52>>2]=d;if(!d){break a}cb(d,v[c+52>>2],v[b+48>>2])}return 0}ob(a,1,0,0);return 1}function Ce(a){a=a|0;var b=0,c=0;b=v[a+536>>2];if(b){c=v[b+88>>2];v[a+540>>2]=c;t[b+32|0]=1;t[c+34|0]=1}a:{b:{b=v[a+608>>2];if(!b){break b}b=Qa[v[a+152>>2]](b)|0;v[a+636>>2]=b;if(!b){break a}b=Qa[v[a+152>>2]](v[a+608>>2])|0;v[a+640>>2]=b;if(b){break b}break a}b=Qa[v[a+152>>2]](v[a+316>>2]<<3)|0;v[a+644>>2]=b;if(!b){break a}c:{if(v[a+968>>2]){a=Kt(a,1,1,0);if(a){break c}}a=0}return a|0}ob(a,1,0,0);return 1}function jva(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:{if(b>>>0>2147482623){break a}e=b;d=v[a+1032>>2];if(!((d|0)<=(b|0)&(b+4|0)<=(v[a+1036>>2]+d|0))){d=0;if(dh(v[a+4>>2],b,0)){break a}v[a+1032>>2]=b;b=kg(a+8|0,1,1024,v[a+4>>2]);v[a+1036>>2]=b;if((b|0)<4){break a}d=v[a+1032>>2]}a=(e-d|0)+a|0;a=w[a+8|0]|w[a+9|0]<<8|(w[a+10|0]<<16|w[a+11|0]<<24);v[c>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);d=1}return d|0}function IU(a){var b=0,c=0,d=0,e=0;v[a+4>>2]=31;v[a+8>>2]=0;b=Pb(31,8);v[a>>2]=b;a=v[a+4>>2];a:{if((a|0)<1){break a}d=a&7;if(a-1>>>0>=7){e=a&-8;while(1){a=c<<3;v[a+b>>2]=0;v[(a|8)+b>>2]=0;v[(a|16)+b>>2]=0;v[(a|24)+b>>2]=0;v[(a|32)+b>>2]=0;v[(a|40)+b>>2]=0;v[(a|48)+b>>2]=0;v[(a|56)+b>>2]=0;c=c+8|0;e=e-8|0;if(e){continue}break}}if(!d){break a}while(1){v[(c<<3)+b>>2]=0;c=c+1|0;d=d-1|0;if(d){continue}break}}}function Bp(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=Ma-16|0;Ma=f;g=a;d=w[a+11|0]>>>7|0?(v[a+8>>2]&2147483647)-1|0:10;h=d;if(w[a+11|0]>>>7|0){e=v[a+4>>2]}else{e=w[a+11|0]}a:{if(h-e>>>0>=c>>>0){if(!c){break a}if(w[a+11|0]>>>7|0){d=v[g>>2]}else{d=g}sk(d+e|0,b,c);b=c+e|0;c=b;b:{if(w[g+11|0]>>>7|0){v[a+4>>2]=c;break b}t[a+11|0]=c}t[f+15|0]=0;t[b+d|0]=w[f+15|0];break a}$t(a,d,(c+e|0)-d|0,e,e,0,c,b)}Ma=f+16|0;return a}function kha(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=ab(140);e=CE(c,b);v[c>>2]=978016;d=v[b+96>>2];v[c+92>>2]=v[b+92>>2];v[c+96>>2]=d;d=v[b+104>>2];v[c+100>>2]=v[b+100>>2];v[c+104>>2]=d;d=v[b+112>>2];v[c+108>>2]=v[b+108>>2];v[c+112>>2]=d;d=v[b+120>>2];v[c+116>>2]=v[b+116>>2];v[c+120>>2]=d;d=v[b+128>>2];v[c+124>>2]=v[b+124>>2];v[c+128>>2]=d;d=v[b+136>>2];v[c+132>>2]=v[b+132>>2];v[c+136>>2]=d;v[a>>2]=0;qb(a,e)}function cr(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;a:{b=v[a+4>>2];if(!b){break a}a=v[a+44>>2];if(!a){break a}g=a&1;b=b+40|0;e=a-1|0;f=255/(e>>>0)|0;b:{if(!e){a=0;break b}e=a&-2;a=0;while(1){d=b+(a<<2)|0;c=B(a,f);t[d+1|0]=c;t[d+2|0]=c;t[d|0]=c;c=a|1;d=b+(c<<2)|0;c=B(c,f);t[d+1|0]=c;t[d+2|0]=c;t[d|0]=c;a=a+2|0;e=e-2|0;if(e){continue}break}}if(!g){break a}b=b+(a<<2)|0;a=B(a,f);t[b+1|0]=a;t[b+2|0]=a;t[b|0]=a}}function F7(a,b){a=a|0;b=b|0;if((b|0)==5){b=gb(148);v[a+584>>2]=b;if(b){v[b+144>>2]=0;v[b+96>>2]=0;v[b+116>>2]=0;v[b+80>>2]=v[a+8>>2];v[a+556>>2]=557;v[a+548>>2]=557;v[a+540>>2]=557;v[a+520>>2]=558;v[a+516>>2]=559;v[a+572>>2]=560;v[a+560>>2]=561;v[a+552>>2]=561;v[a+544>>2]=561;v[a+536>>2]=562;v[a+532>>2]=563;v[a+524>>2]=564;NC(a);return 1}wb(v[a+628>>2],88224,9804,0);return 0}O(2840,6139,1062,88224);L()}function mt(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=v[a+4>>2];if((d|0)>=0){i=a;a:{if(v[a>>2]==(d|0)){A[b>>3]=A[a+16>>3];A[c>>3]=A[a+24>>3];e=1;a=d-1|0;break a}if(!d){A[b>>3]=A[a+32>>3];A[c>>3]=A[a+40>>3];e=2;a=-1;break a}f=A[a+64>>3];g=f+A[a+48>>3];A[a+48>>3]=g;h=A[a+72>>3];A[a+72>>3]=h+A[a+88>>3];A[a+56>>3]=h+A[a+56>>3];A[a+64>>3]=f+A[a+80>>3];A[b>>3]=g;A[c>>3]=A[a+56>>3];e=2;a=d-1|0}v[i+4>>2]=a}return e}function H_a(a){a=a|0;var b=0,c=0,d=0;b=v[v[a+536>>2]+88>>2];b=(v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0;c=v[a+644>>2];a:{b:{c:{switch(w[a+2253|0]){case 0:case 4:break a;case 1:break c;default:break b}}if(v[a+588>>2]<=0){break b}while(1){t[b|0]=w[c|0]+w[b|0];c=c+1|0;b=b+1|0;d=d+1|0;if((d|0)<(B(v[a+588>>2],3)|0)){continue}break}}return 0}cb(b,c,B(v[a+588>>2],3));return 0}function GE(a,b){var c=0,d=0,e=0;a:{if((a|0)==(b|0)){break a}c=v[a+8>>2];if(c){while(1){d=v[c>>2];Qa[v[v[a>>2]+16>>2]](c,1);$a(c);c=d;if(c){continue}break}}v[a+4>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;c=v[b+8>>2];if(!c){break a}b=a+8|0;while(1){e=ab(v[v[a>>2]>>2]);Qa[v[v[a>>2]+12>>2]](e,c,1,0);v[e>>2]=0;d=v[a+12>>2];v[e+4>>2]=d;v[a+12>>2]=e;v[(d?d:b)>>2]=e;v[a+4>>2]=v[a+4>>2]+1;c=v[c>>2];if(c){continue}break}}}function yC(a,b){var c=0,d=0,e=0,f=0,g=0;d=Ma-32|0;Ma=d;e=v[a>>2];c=1020112;while(1){f=c;g=v[c>>2];if((g|0)!=(e|0)){c=f+24|0;if((g|0)>-1){continue}}break}v[d+20>>2]=v[f+4>>2];v[d+16>>2]=e;vb(b,8012,d+16|0);c=v[a>>2];a:{if(!(c-65426>>>0<2|(c|0)==65359|((c|0)==65497|(c&-16)==65328))){v[d>>2]=v[a+4>>2]+2;vb(b,11251,d);c=v[v[a+104>>2]+12>>2];if(c){Qa[c|0](a,b)|0;break a}Ee(10,b);break a}Ee(10,b)}Ma=d+32|0}function wy(a,b){var c=0,d=0;c=Ma-16|0;Ma=c;if(v[b+8>>2]==2){v[a>>2]=0;v[a+4>>2]=v[279250];b=v[b+24>>2];a:{if(b){Qa[v[v[b>>2]+28>>2]](c+8|0,b,1);break a}v[c+8>>2]=0}jb(a,c+8|0);b=v[c+8>>2];v[c+8>>2]=0;b:{if(!b){break b}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break b}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}b=a;a=v[a>>2];v[b+4>>2]=v[(a?a+12|0:1117e3)>>2];Ma=c+16|0;return}Tj(b,2);L()}function uk(a,b){var c=0,d=0;c=Ma-16|0;Ma=c;if(v[b+8>>2]==3){v[a>>2]=0;v[a+4>>2]=v[279250];b=v[b+32>>2];a:{if(b){Qa[v[v[b>>2]+28>>2]](c+8|0,b,1);break a}v[c+8>>2]=0}jb(a,c+8|0);b=v[c+8>>2];v[c+8>>2]=0;b:{if(!b){break b}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break b}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}b=a;a=v[a>>2];v[b+4>>2]=v[(a?a+12|0:1117e3)>>2];Ma=c+16|0;return}Tj(b,3);L()}function ls(a,b,c,d){var e=0,f=0;a:{if(!w[a+8|0]){break a}f=v[a>>2];if(!f){break a}e=v[f+4>>2]-1|0;v[f+4>>2]=e;if(e){break a}$a(f)}v[a>>2]=0;v[a+4>>2]=0;t[a+8|0]=0;if((d|0)==-1){d=ce(b);d=(d|0)>-1?d:-2147483648}v[a+4>>2]=d;f=a;b:{c:{if(c){if(!d){break b}c=ab(8);e=d+1|0;e=ab((e|0)!=(e&1073741823)?-1:e<<2);v[c>>2]=e;d=d<<2;v[d+e>>2]=0;cb(e,b,d);v[c+4>>2]=1;v[a>>2]=c;a=1;break c}v[a>>2]=b;a=0}t[f+8|0]=a}}function cj(a,b){var c=0,d=0;c=Ma-16|0;Ma=c;if(v[b+8>>2]==4){v[a>>2]=0;v[a+4>>2]=v[279250];b=v[b+12>>2];a:{if(b){Qa[v[v[b>>2]+28>>2]](c+8|0,b,1);break a}v[c+8>>2]=0}jb(a,c+8|0);b=v[c+8>>2];v[c+8>>2]=0;b:{if(!b){break b}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break b}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}b=a;a=v[a>>2];v[b+4>>2]=v[(a?a+12|0:1117e3)>>2];Ma=c+16|0;return}Tj(b,4);L()}function _Ua(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[b+32>>2];a:{if(!c){break a}d=v[b+36>>2];if(!d){break a}Qa[v[a+156>>2]](d,c+1|0)}c=v[b+44>>2];b:{if(!c){break b}d=v[b+48>>2];if(!d){break b}Qa[v[a+156>>2]](d,c+1|0)}c=v[b+52>>2];c:{if(!c){break c}d=v[b+56>>2];if(!d){break c}Qa[v[a+156>>2]](d,c+1|0)}c=v[b+60>>2];d:{if(!c){break d}d=v[b+64>>2];if(!d){break d}Qa[v[a+156>>2]](d,c)}Qa[v[a+156>>2]](b,68);return 0}function Om(a){var b=0,c=0,d=0,e=0;c=v[a+112>>2];if(c){b=v[c+8>>2];if(b){d=v[c>>2];if((d|0)>=1){while(1){b=v[b+4>>2];e=v[b>>2];v[b>>2]=e-1;if((e|0)<=1){d=v[v[b+8>>2]>>2];if(d){Qa[d|0](b)}$a(b);d=v[c>>2]}a:{b=d-1|0;if((b|0)<=0){v[c>>2]=b;break a}d=v[c+8>>2];id(d,d+8|0,b<<3);b=v[c>>2];d=b-1|0;v[c>>2]=d;if((b|0)<2){break a}b=v[c+8>>2];continue}break}b=v[c+8>>2]}$a(b)}$a(c)}b=v[a+108>>2];if(b){$a(b)}$a(a)}function yYa(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=791}if(v[a+536>>2]){c=a;a:{if(w[a+288|0]){b=792;if(w[a+2272|0]){break a}}b=793}v[c+984>>2]=b}v[a+580>>2]=0;v[a+584>>2]=8;v[a+572>>2]=0;v[a+576>>2]=8;t[a+568|0]=0;v[a+600>>2]=2;v[a+592>>2]=1;v[a+596>>2]=3;v[a+652>>2]=1;t[a+648|0]=0;c=v[a+316>>2];b=c+7>>>3|0;v[a+588>>2]=b;v[a+608>>2]=v[a+616>>2]+(c+3>>>2|0);v[a+604>>2]=b+3>>>2;return Ce(a)|0}function wYa(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=794}if(v[a+536>>2]){c=a;a:{if(w[a+288|0]){b=795;if(w[a+2272|0]){break a}}b=796}v[c+984>>2]=b}v[a+580>>2]=0;v[a+584>>2]=8;v[a+572>>2]=0;v[a+576>>2]=8;t[a+568|0]=0;v[a+600>>2]=1;v[a+592>>2]=1;v[a+596>>2]=1;v[a+652>>2]=1;t[a+648|0]=0;c=v[a+316>>2];b=c+7>>>3|0;v[a+588>>2]=b;v[a+608>>2]=v[a+616>>2]+(c+1>>>1|0);v[a+604>>2]=b+1>>>1;return Ce(a)|0}function uKa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=v[b+4>>2];v[a+2748>>2]=b;v[a+2740>>2]=v[b+28>>2];v[a+4>>2]=v[b+44>>2];v[a+8>>2]=v[b+48>>2];v[a+12>>2]=v[b+9848>>2];v[a+16>>2]=v[b+9852>>2];d=v[b+24>>2];c=(d&-2)==2;e=c|2;c=(d|0)==2?e:(d|0)==4?e:c;f=(d&-3)==1;e=f?c:c|4;c=v[a+2740>>2];c=(t[g+12|0]&1?1:f)?c|1:c;b=w[v[v[b+36>>2]+388>>2]+20|0];v[a+2744>>2]=(d|0)==2?e|8:e;v[a+2740>>2]=b?c:c|8;return 0}function cq(a,b,c,d,e){var f=0,g=0;v[a+12>>2]=e;v[a+8>>2]=d;v[a+4>>2]=c;v[a>>2]=b;f=B(c,d);v[a+16>>2]=f;b=B(e,f)+7>>3;v[a+20>>2]=b;g=a;if(!((2147483647/(d|0)|0)>=(c|0)&(2147483640/(e|0)|0)>=(f|0))){v[a+20>>2]=-1;b=-1}c=Pb(b,1);v[g+24>>2]=c;a:{b:{c:{switch(v[a+12>>2]-1|0){case 0:b=v[a+16>>2]+7&-8;break b;case 7:break a;default:break c}}b=v[a+16>>2]}c=Pb(b,1)}v[a+28>>2]=c;v[a+32>>2]=v[a+16>>2];return a}function WV(a){var b=0,c=0,d=0,e=0;v[a+4>>2]=4;b=Pb(4,4);v[a>>2]=b;c=v[a+4>>2];a:{if((c|0)<1){break a}v[b>>2]=0;if((c|0)==1){break a}d=c-1|0;e=d&3;b=1;if(c-2>>>0>=3){d=d&-4;while(1){c=b<<2;v[c+v[a>>2]>>2]=0;v[(c+v[a>>2]|0)+4>>2]=0;v[(c+v[a>>2]|0)+8>>2]=0;v[(c+v[a>>2]|0)+12>>2]=0;b=b+4|0;d=d-4|0;if(d){continue}break}}if(!e){break a}while(1){v[v[a>>2]+(b<<2)>>2]=0;b=b+1|0;e=e-1|0;if(e){continue}break}}}function MYa(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=770}if(v[a+536>>2]){c=a;a:{if(w[a+288|0]){b=771;if(w[a+2272|0]){break a}}b=772}v[c+984>>2]=b}v[a+580>>2]=0;v[a+584>>2]=8;v[a+572>>2]=0;v[a+576>>2]=8;t[a+568|0]=0;v[a+600>>2]=2;v[a+592>>2]=1;v[a+596>>2]=3;v[a+652>>2]=1;t[a+648|0]=0;c=v[a+316>>2];b=c+7>>>3|0;v[a+588>>2]=b;v[a+608>>2]=v[a+616>>2]+(c+3>>>2|0);v[a+604>>2]=b+3>>>2;return Ce(a)|0}function KYa(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=773}if(v[a+536>>2]){c=a;a:{if(w[a+288|0]){b=774;if(w[a+2272|0]){break a}}b=775}v[c+984>>2]=b}v[a+580>>2]=0;v[a+584>>2]=8;v[a+572>>2]=0;v[a+576>>2]=8;t[a+568|0]=0;v[a+600>>2]=1;v[a+592>>2]=1;v[a+596>>2]=1;v[a+652>>2]=1;t[a+648|0]=0;c=v[a+316>>2];b=c+7>>>3|0;v[a+588>>2]=b;v[a+608>>2]=v[a+616>>2]+(c+1>>>1|0);v[a+604>>2]=b+1>>>1;return Ce(a)|0}function Fn(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{if(!a){break a}c=v[a>>2];if(!c){break a}b=v[c+8>>2]-1|0;v[c+8>>2]=b;if(!b){b:{d=v[c>>2];if((d|0)<1){break b}b=v[c+12>>2];if(!b){break b}while(1){c:{if(!b){break c}f=(e<<2)+b|0;b=v[f>>2];if(!b){break c}g=v[b+16>>2]-1|0;v[b+16>>2]=g;if((g|0)<=0){$a(b);d=v[c>>2]}v[f>>2]=0}e=e+1|0;if((e|0)>=(d|0)){break b}b=v[c+12>>2];continue}}$a(v[c+12>>2]);$a(c)}v[a>>2]=0}}function Bca(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;c=Ma-16|0;Ma=c;if(f){d=h<<2;while(1){h=e;while(1){Ic(v[a+68>>2],w[i|0],w[j|0],w[k|0],c+12|0,c+8|0,c+4|0);v[b>>2]=v[c+12>>2]|v[c+8>>2]<<8|v[c+4>>2]<<16|-16777216;b=b+4|0;k=k+1|0;j=j+1|0;i=i+1|0;h=h-1|0;if(h){continue}break}k=g+k|0;j=g+j|0;i=g+i|0;b=b+d|0;f=f-1|0;if(f){continue}break}}Ma=c+16|0}function oe(a){var b=0,c=0,d=0;b=Ma-16|0;Ma=b;o(+a);d=j(1)|0;j(0)|0;d=d&2147483647;a:{if(d>>>0<=1072243195){c=1;if(d>>>0<1044816030){break a}c=iu(a,0);break a}c=a-a;if(d>>>0>=2146435072){break a}b:{switch(YD(a,b)&3){case 0:c=iu(A[b>>3],A[b+8>>3]);break a;case 1:c=-hu(A[b>>3],A[b+8>>3],1);break a;case 2:c=-iu(A[b>>3],A[b+8>>3]);break a;default:break b}}c=hu(A[b>>3],A[b+8>>3],1)}a=c;Ma=b+16|0;return a}function jya(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;e=a;f=c;a:{g=v[d>>2];b:{if((g|0)<1){break b}e=v[b>>2];if((e|0)<6){e=a;break b}i=c+g|0;j=a+e|0;g=0;e=a;while(1){if(e>>>0>=j>>>0){break b}h=t[f|0];if((h|0)<0){break a}t[e|0]=h;e=e+1|0;f=f+1|0;if(i>>>0<=f>>>0){break b}g=e-a|0;if(v[b>>2]>(g+5|0)){continue}break}}v[b>>2]=e-a;v[d>>2]=f-c;return v[b>>2]}v[b>>2]=g;v[d>>2]=f-c;return-1}function YDa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;f=v[a+4>>2];e=0-f|0;a:{if((e&(c+f|0)-1)!=(c|0)){break a}c=c>>v[a>>2];if((c|0)<0|c>>>0>=y[a+96>>2]){break a}c=(v[a+56>>2]+(b>>3)|0)-B(c,v[a+104>>2])|0;t[c|0]=w[c|0]|128>>>(b&7);e=0-v[a+4>>2]|0}b:{if((d&e)!=(d|0)){break b}c=d>>v[a>>2];if((c|0)<0|c>>>0>=y[a+96>>2]){break b}a=(v[a+56>>2]+(b>>3)|0)-B(c,v[a+104>>2])|0;t[a|0]=w[a|0]|128>>>(b&7)}}function Un(a,b,c){var d=0,e=0,f=0;a:{if((c|0)<1){break a}while(1){d=v[a+8>>2];if(d&7){break a}e=v[a+64>>2];if(!((e|0)<0|(e|0)>v[a+60>>2])){v[a+8>>2]=d|4;return f}v[a+4>>2]=v[a+4>>2]|32;d=v[a+28>>2];v[a+28>>2]=d-1;b:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;d=w[b|0];e=v[a+24>>2];v[a+24>>2]=e+1;t[e|0]=d;break b}if((Cb(a,w[b|0])|0)==-1){break a}}b=b+1|0;f=f+1|0;if((f|0)!=(c|0)){continue}break}f=c}return f}function Ty(a,b){var c=0,d=0,e=0,f=0,g=0;d=Ma-32|0;Ma=d;c=d+16|0;v[c>>2]=0;v[c+4>>2]=0;t[c+8|0]=0;ls(c,a,1,-1);a=!v[c+4>>2];if(!a){a:{if(!v[c+4>>2]){break a}v[d>>2]=0;if(v[v[(w[c+8|0]?v[c>>2]:c)>>2]+(v[d>>2]<<2)>>2]!=123){break a}v[d>>2]=0;v[d+4>>2]=0;t[d+8|0]=0;AT(b,c,c);Qb(d)}e=v[b+20>>2];b:{if((e|0)!=v[b+24>>2]){f=b,g=hm(e,c)+12|0,v[f+20>>2]=g;break b}DT(b+16|0,c)}CF(b,c)}Qb(c);Ma=d+32|0;return!a}function DFa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;v[a+8>>2]=c;v[a+4>>2]=b;v[a+12>>2]=0;v[a+16>>2]=d;v[a>>2]=b;b=v[113772];v[a+20>>2]=v[113771];v[a+24>>2]=b;b=v[113774];v[a+28>>2]=v[113773];v[a+32>>2]=b;b=v[113776];v[a+36>>2]=v[113775];v[a+40>>2]=b;b=v[113778];v[a+44>>2]=v[113777];v[a+48>>2]=b;b=v[113780];v[a+52>>2]=v[113779];v[a+56>>2]=b;b=v[113782];v[a+60>>2]=v[113781];v[a+64>>2]=b;v[a+68>>2]=v[113783]}function ADa(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;a:{b:{c:{if(b){h=142;g=x[a+152>>1];if(!g){break b}f=v[a+156>>2];i=f+(g<<4)|0;while(1){d:{if(v[f>>2]==(b|0)){g=v[f+12>>2];if(g){break d}}f=f+16|0;if(i>>>0>f>>>0){continue}break b}break}c=v[f+8>>2]+c|0;break c}g=v[v[a+104>>2]+4>>2]}if(!e){f=g;break a}f=v[e>>2];if(f){break a}v[e>>2]=g;h=0}return h|0}return fB(v[a+104>>2],c,d,f)|0}function yja(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;d=Ma-32|0;Ma=d;if(w[a+144|0]){a:{if(!(c&32)|(a|0)==(b|0)){break a}b=a+148|0;if(!(v[b>>2]&64)|!(v[b>>2]&16)|(!(v[b>>2]&64)|!(v[b>>2]&16))){break a}c=v[a+120>>2];if(c){while(1){if(!(v[v[c+8>>2]+148>>2]&32)){break a}c=v[c>>2];if(c){continue}break}}mi(b,0,32,0);b=Mf();Qa[v[v[b>>2]+40>>2]](b,a,32,0)}Ma=d+32|0;return}lb(mb(d+8|0,231556,241865,164,226745));L()}function qba(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;while(1){a:{if((c|0)==(d|0)|e>>>0<=i>>>0){break a}h=1;g=Ma-16|0;Ma=g;v[g+12>>2]=v[a+8>>2];f=al(g+8|0,g+12|0);j=Qx(0,c,d-c|0,b?b:1187220);f=v[f>>2];if(f?f:0){v[279293]=(f|0)==-1?1184868:f}Ma=g+16|0;b:{switch(j+2|0){default:h=j;break;case 0:case 1:break a;case 2:break b}}i=i+1|0;k=h+k|0;c=c+h|0;continue}break}return k|0}function WOa(a){a=a|0;var b=0,c=0,d=0,e=0;v[a>>2]=354280;b=v[a+8>>2];e=a+12|0;if((b|0)!=(e|0)){while(1){c=v[b+28>>2];Qa[v[v[c>>2]+12>>2]](c)|0;c=b;d=v[b+4>>2];a:{if(!d){b=v[c+8>>2];if((c|0)==v[b>>2]){break a}c=c+8|0;while(1){d=v[c>>2];c=d+8|0;b=v[d+8>>2];if((d|0)!=v[b>>2]){continue}break}break a}while(1){b=d;d=v[b>>2];if(d){continue}break}}if((b|0)!=(e|0)){continue}break}}vt(a+8|0,v[a+12>>2]);$a(a)}function Gpa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if((Qa[v[v[a>>2]+32>>2]](a)|0)==-1|(c|0)<0){b=e}else{a:{if((c|0)<2){break a}c=c-1|0;while(1){b:{c:{e=Qa[v[v[a>>2]+28>>2]](a)|0;switch(e+1|0){case 0:case 11:break a;case 14:break c;default:break b}}if((Qa[v[v[a>>2]+32>>2]](a)|0)!=10){break a}Qa[v[v[a>>2]+28>>2]](a)|0;break a}t[b+d|0]=e;d=d+1|0;if((c|0)!=(d|0)){continue}break}d=c}t[b+d|0]=0}return b|0}function ypa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=Ma-16|0;Ma=c;v[c>>2]=13;ee(a+8|0,c);b=ab(312);e=v[a+28>>2];f=v[a+32>>2];g=v[a+36>>2];a=v[a+24>>2];d=v[c+4>>2];v[b+8>>2]=v[c>>2];v[b+12>>2]=d;d=v[c+12>>2];v[b+16>>2]=v[c+8>>2];v[b+20>>2]=d;v[b>>2]=952800;v[a+4>>2]=v[a+4>>2]+1;d=b+40|0;v[b+300>>2]=d;v[b+32>>2]=f;v[b+36>>2]=g;v[b+28>>2]=e;v[b+24>>2]=a;v[b+304>>2]=e;v[b+296>>2]=d;Ma=c+16|0;return b|0}function y_a(a){a=a|0;var b=0,c=0,d=0;b=v[v[a+536>>2]+88>>2];b=(v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0;c=v[a+644>>2];a:{b:{c:{switch(w[a+2253|0]){case 0:case 4:break a;case 1:break c;default:break b}}if(v[a+588>>2]<<2<=0){break b}while(1){t[b|0]=w[c|0]+w[b|0];c=c+1|0;b=b+1|0;d=d+1|0;if((d|0)>2]<<2){continue}break}}return 0}cb(b,c,v[a+588>>2]<<2);return 0}function mwa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=Ma-16|0;Ma=d;g=v[a+104>>2];f=d;e=A[b+392>>3]*255;a:{if(D(e)<2147483648){c=~~e;break a}c=-2147483648}c=(c|0)>0?c:0;v[f+12>>2]=(c|0)<255?c:255;Qa[v[v[g>>2]+152>>2]](g,d+12|0)|0;c=v[a+104>>2];f=d;e=A[b+392>>3]*255;b:{if(D(e)<2147483648){b=~~e;break b}b=-2147483648}a=(b|0)>0?b:0;v[f+8>>2]=(a|0)<255?a:255;Qa[v[v[c>>2]+168>>2]](c,d+8|0)|0;Ma=d+16|0}function QH(){var a=0,b=0,c=0,d=0;a=Ma-16|0;Ma=a;a:{if(v[291039]){break a}b=Qa[v[256552]](200)|0;v[291039]=b;if(!b){v[a>>2]=347634;nb(0,0,0,0,0,27,2,3,347634,0,0,0,340689,a);break a}Jo(314541,2657,2657);c=1164160,d=Jo(312157,2658,2659),v[c>>2]=d;c=1164164,d=Jo(312235,2660,2661),v[c>>2]=d;Jo(315602,2658,2662);Jo(325017,2663,2664);Jo(311371,2665,2666);Jo(311368,2665,2666);Jo(311035,0,2667)}Ma=a+16|0}function F_a(a){a=a|0;var b=0,c=0,d=0;b=v[v[a+536>>2]+88>>2];b=(v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0;c=v[a+644>>2];a:{b:{c:{switch(w[a+2253|0]){case 0:case 4:break a;case 1:break c;default:break b}}if(v[a+588>>2]<<1<=0){break b}while(1){t[b|0]=w[c|0]+w[b|0];c=c+1|0;b=b+1|0;d=d+1|0;if((d|0)>2]<<1){continue}break}}return 0}cb(b,c,v[a+588>>2]<<1);return 0}function FPa(a){a=a|0;var b=0,c=0;b=v[a+12>>2];if(b){Qa[v[v[b>>2]+152>>2]](b)}b=a+536|0;qx(b,351584,5);a:{if(t[a+535|0]<=-1){v[a+528>>2]=0;c=v[a+524>>2];break a}t[a+535|0]=0;c=a+524|0}v[c>>2]=0;u[a+568>>1]=0;v[a+560>>2]=0;v[a+564>>2]=0;v[a+552>>2]=0;v[a+556>>2]=0;v[a+572>>2]=0;v[a+576>>2]=0;v[a+580>>2]=0;v[a+584>>2]=0;b:{if(t[a+547|0]<=-1){v[a+540>>2]=0;b=v[a+536>>2];break b}t[a+547|0]=0}v[b>>2]=0}function zEa(a){a=a|0;var b=0,c=0;c=v[a+8>>2];b=a+12|0;eb(b+4|0,0,84);v[b>>2]=c;v[a+108>>2]=2331;v[a+104>>2]=2332;v[a+100>>2]=2333;v[a+136>>2]=2321;v[a+132>>2]=2322;v[a+128>>2]=2323;v[a+124>>2]=2324;v[a+120>>2]=2325;v[a+116>>2]=2326;v[a+112>>2]=0;v[a+112>>2]=b;v[a+164>>2]=2321;v[a+160>>2]=2327;v[a+156>>2]=2328;v[a+152>>2]=2329;v[a+148>>2]=2325;v[a+144>>2]=2330;v[a+140>>2]=0;v[a+140>>2]=b;return 0}function tw(a,b){var c=0;a:{if(!a){break a}a=v[a+128>>2];v[a+24>>2]=0;b:{if(!b){v[a+8>>2]=0;v[a+12>>2]=65536;v[a>>2]=65536;v[a+4>>2]=0;b=a;break b}c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;c=v[b+12>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=c}c:{if(!(v[b+8>>2]|v[b+4>>2]|v[b>>2]!=65536)){c=2;if(v[b+12>>2]==65536){break c}}v[a+24>>2]=1;c=3}v[a+16>>2]=0;v[a+20>>2]=0;if(!v[(a+16|0)+4>>2]){break a}v[a+24>>2]=c}}function uya(a){a=a|0;var b=0,c=0,d=0,e=0;v[a>>2]=869488;b=a-8|0;v[b>>2]=869464;a:{if(!v[a+32>>2]){break a}c=v[b+36>>2];d=v[c>>2];e=v[b+32>>2];v[d+4>>2]=v[e+4>>2];v[v[e+4>>2]>>2]=d;v[b+40>>2]=0;d=a+24|0;if((d|0)==(c|0)){break a}while(1){a=v[c+4>>2];$a(c);c=a;if((a|0)!=(d|0)){continue}break}}v[b+8>>2]=869332;kn(v[b+12>>2]);v[b+12>>2]=0;a=v[b+16>>2];if(a){$a(a)}v[b+16>>2]=0;v[b+20>>2]=0;return b|0}function i1(a,b){var c=0,d=0,e=0,f=0,g=0;d=Ma-16|0;Ma=d;f=ug(a,d+12|0,b);c=v[f>>2];if(!c){c=ab(32);e=c+16|0;a:{if(t[b+11|0]>=0){g=v[b+4>>2];v[e>>2]=v[b>>2];v[e+4>>2]=g;v[e+8>>2]=v[b+8>>2];break a}vc(e,v[b>>2],v[b+4>>2])}v[c+28>>2]=0;v[c+8>>2]=v[d+12>>2];v[c>>2]=0;v[c+4>>2]=0;v[f>>2]=c;b=v[v[a>>2]>>2];if(b){v[a>>2]=b;b=v[f>>2]}else{b=c}Ob(v[a+4>>2],b);v[a+8>>2]=v[a+8>>2]+1}Ma=d+16|0;return c+28|0}function O0(a,b){var c=0,d=0;c=Ma-32|0;Ma=c;a:{if(t[b+11|0]>=0){v[c+8>>2]=v[b+8>>2];d=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=d;break a}vc(c,v[b>>2],v[b+4>>2])}HI(c+16|0,c,1);if(t[c+11|0]<=-1){$a(v[c>>2])}S0(a,c+16|0,0);b=v[c+16>>2];if(b){a=v[c+20>>2];if((b|0)==(a|0)){a=b}else{while(1){d=a-12|0;if(t[a-1|0]<=-1){$a(v[d>>2])}a=d;if((b|0)!=(a|0)){continue}break}a=v[c+16>>2]}v[c+20>>2]=b;$a(a)}Ma=c+32|0}function w2a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;b=-1;d=v[c+8>>2];a:{if(d&7){break a}e=w[a+12|0];b=v[c+64>>2];if(!((b|0)<0|(b|0)>v[c+60>>2])){v[c+8>>2]=d|4;return-1}v[c+4>>2]=v[c+4>>2]|32;b=-1;d=v[c+28>>2];v[c+28>>2]=d-1;b:{if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=v[c+24>>2];v[c+24>>2]=b+1;t[b|0]=e;break b}if((Cb(c,e)|0)==-1){break a}}b=(Un(c,v[a+20>>2],v[a+16>>2])|0)!=v[a+16>>2]?-1:0}return b|0}function opa(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;i=v[a+32>>2];g=v[a+28>>2];f=ab(48);h=v[a+24>>2];a=v[e+12>>2];v[f+16>>2]=v[e+8>>2];v[f+20>>2]=a;a=v[e+4>>2];v[f+8>>2]=v[e>>2];v[f+12>>2]=a;v[f+44>>2]=0;v[f+24>>2]=h;v[f>>2]=952916;a=g+i|0;b=b>>>0>>0?g:a>>>0>>0?a:b;v[f+28>>2]=b;e=b+h|0;v[f+40>>2]=e;g=a-b|0;a=c?a>>>0>>0?g:d:g;v[f+32>>2]=a;v[f+36>>2]=a+e;return f|0}function Vma(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;c=v[v[a+12>>2]+12>>2]+32|0;d=v[c>>2];a:{if(!d){break a}a=c;while(1){e=v[d+16>>2]<(b|0);a=e?a:d;d=v[(e<<2)+d>>2];if(d){continue}break}if((a|0)==(c|0)|v[a+16>>2]>(b|0)){break a}c=v[a+20>>2];b=v[c>>2];if(b){v[b+12>>2]=0;v[b+16>>2]=0;a=v[b+4>>2];v[b+4>>2]=0;v[b+8>>2]=0;b=v[c>>2];if(b){Qa[v[v[b>>2]+4>>2]](b);v[c>>2]=0}}else{a=0}f=a}return f|0}function Id(a,b){var c=0,d=0,e=0,f=0;d=Ma-16|0;Ma=d;v[b>>2]=0;a:{b:{c:{d:{c=v[a+8>>2];if(y[a+4>>2]<=c+3>>>0){break d}e=v[a+20>>2];e:{if(e){if((Qa[e|0](a,c,d+12|0,4)|0)!=4){break d}c=v[a+8>>2];b=d+12|0;break e}b=v[a>>2];if(!b){break c}b=b+c|0}b=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);f=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break b}v[b>>2]=85;break a}f=0}v[a+8>>2]=c+4}Ma=d+16|0;return f}function EYa(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=782}if(v[a+536>>2]){c=a;a:{if(w[a+288|0]){b=783;if(w[a+2272|0]){break a}}b=784}v[c+984>>2]=b}v[a+580>>2]=0;v[a+584>>2]=8;v[a+572>>2]=0;v[a+576>>2]=8;t[a+568|0]=0;v[a+600>>2]=0;v[a+592>>2]=3;v[a+596>>2]=0;v[a+652>>2]=3;t[a+648|0]=0;c=v[a+316>>2];b=c+7>>>3|0;v[a+588>>2]=b;v[a+608>>2]=v[a+616>>2]+B(c,3);v[a+604>>2]=B(b,3);return Ce(a)|0}function CYa(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=785}if(v[a+536>>2]){c=a;a:{if(w[a+288|0]){b=786;if(w[a+2272|0]){break a}}b=787}v[c+984>>2]=b}v[a+580>>2]=0;v[a+584>>2]=8;v[a+572>>2]=0;v[a+576>>2]=8;t[a+568|0]=0;v[a+600>>2]=0;v[a+592>>2]=6;v[a+596>>2]=0;v[a+652>>2]=6;t[a+648|0]=1;c=v[a+316>>2];b=c+7>>>3|0;v[a+588>>2]=b;v[a+608>>2]=v[a+616>>2]+B(c,6);v[a+604>>2]=B(b,6);return Ce(a)|0}function fx(a,b){var c=0,d=0,e=0;a:{if((b|0)<1){break a}d=b;while(1){b:{c=v[a+8>>2];c:{if(c&7){break c}e=v[a+64>>2];if(!((e|0)<0|v[a+60>>2]<(e|0))){v[a+8>>2]=c|4;break c}v[a+4>>2]=v[a+4>>2]|32;c=v[a+28>>2];v[a+28>>2]=c-1;if((c|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;t[c|0]=0;break b}if((Cb(a,0)|0)!=-1){break b}}b=b-d|0;break a}c=(d|0)>1;d=d-1|0;if(c){continue}break}}return b}function dFa(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;f=v[d>>2]+e|0;a=v[a+332>>2]+128|0;b=v[b+84>>2];g=B(v[b+36>>2],x[c+18>>1]);h=B(v[b+4>>2],x[c+2>>1]);i=g+h|0;j=B(v[b+32>>2],x[c+16>>1]);b=B(v[b>>2],x[c>>1])+4|0;c=j+b|0;t[f|0]=w[a+(i+c>>>3&1023)|0];t[f+1|0]=w[a+(c-i>>>3&1023)|0];c=v[d+4>>2]+e|0;d=h-g|0;b=b-j|0;t[c|0]=w[a+(d+b>>>3&1023)|0];t[c+1|0]=w[a+(b-d>>>3&1023)|0]}function c3a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=Ma-32|0;Ma=d;c=v[a+20>>2];v[d+20>>2]=w[a+24|0];v[d+16>>2]=c;vb(b,50292,d+16|0);g=v[a+20>>2];if(g){c=w[a+24|0];while(1){e=c&255;c=0;if(e){while(1){v[d+8>>2]=v[v[a+28>>2]+(B(e,f)+c<<2)>>2];v[d+4>>2]=c;v[d>>2]=f;vb(b,50811,d);c=c+1|0;e=w[a+24|0];if(c>>>0>>0){continue}break}g=v[a+20>>2];c=e}f=f+1|0;if(g>>>0>f>>>0){continue}break}}Ma=d+32|0}function Wv(a,b){var c=0,d=0,e=0;d=Ma-16|0;Ma=d;c=-1;a:{if(v[a+32>>2]|(!b|!a)){break a}e=v[a+24>>2];c=v[a+8>>2];if(!((e|0)==(c|0)|c>>>0>2147483646)){v[a+24>>2]=c;e=c}c=v[a+4>>2];if(!((c|0)==v[a+20>>2]|c>>>0>2147483646)){v[a+20>>2]=c}c=v[b+12>>2]-v[a>>2]|0;if(e>>>0>=c>>>0){break a}v[d>>2]=239722;c=0;nb(0,0,0,0,0,29,7e3,2,239722,0,0,0,0,d);if(v[a+32>>2]){break a}v[a+32>>2]=7e3}Ma=d+16|0;return c}function D3a(a,b,c){var d=0,e=0,f=0,g=0;g=c&63;f=g;e=f&31;if(f>>>0>=32){f=-1>>>e|0}else{f=-1>>>e|0;d=f;f=d|(1<>>0>=32){d=f<>>32-e|d<>>0>=32){d=-1<>>32-d}a=c&a;b=b&d;d=e&31;if(e>>>0>=32){c=0;a=b>>>d|0}else{c=b>>>d|0;a=((1<>>d}a=a|g;Pa=c|f;return a} -function usa(a){a=a|0;var b=0,c=0,d=0;a:{b:{c:{b=v[a+16>>2];if(b){d=ab(8);b=Hc(d,b);qW(b);c=v[b+4>>2];if(Cc(c,234076)){break c}if(Cc(c,272645)){break c}c=Cc(c,264335);Bb(b);$a(d);if(c){break b}}if(v[a+32>>2]>=0){d:{switch(v[a+20>>2]-7|0){case 0:case 1:case 2:case 3:case 4:break a;default:break d}}return!v[a+152>>2]|0}return!v[a+152>>2]|0}Bb(b);$a(d)}return 0}return!(v[a+152>>2]|v[a+224>>2])|0}function sYa(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=800}if(v[a+536>>2]){c=a;a:{if(w[a+288|0]){b=801;if(w[a+2272|0]){break a}}b=802}v[c+984>>2]=b}v[a+580>>2]=0;v[a+584>>2]=8;v[a+572>>2]=0;v[a+576>>2]=8;t[a+568|0]=0;v[a+600>>2]=0;v[a+592>>2]=2;v[a+596>>2]=0;v[a+652>>2]=2;t[a+648|0]=0;c=v[a+316>>2];b=c+7>>>3|0;v[a+588>>2]=b;v[a+608>>2]=v[a+616>>2]+(c<<1);v[a+604>>2]=b<<1;return Ce(a)|0}function qYa(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=803}if(v[a+536>>2]){c=a;a:{if(w[a+288|0]){b=804;if(w[a+2272|0]){break a}}b=805}v[c+984>>2]=b}v[a+580>>2]=0;v[a+584>>2]=8;v[a+572>>2]=0;v[a+576>>2]=8;t[a+568|0]=0;v[a+600>>2]=0;v[a+592>>2]=4;v[a+596>>2]=0;v[a+652>>2]=4;t[a+648|0]=1;c=v[a+316>>2];b=c+7>>>3|0;v[a+588>>2]=b;v[a+608>>2]=v[a+616>>2]+(c<<2);v[a+604>>2]=b<<2;return Ce(a)|0}function nYa(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=806}if(v[a+536>>2]){c=a;a:{if(w[a+288|0]){b=807;if(w[a+2272|0]){break a}}b=692}v[c+984>>2]=b}v[a+580>>2]=0;v[a+584>>2]=8;v[a+572>>2]=0;v[a+576>>2]=8;t[a+568|0]=0;v[a+600>>2]=0;v[a+592>>2]=4;v[a+596>>2]=0;v[a+652>>2]=4;t[a+648|0]=0;c=v[a+316>>2];b=c+7>>>3|0;v[a+588>>2]=b;v[a+608>>2]=v[a+616>>2]+(c<<2);v[a+604>>2]=b<<2;return Ce(a)|0}function lYa(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=808}if(v[a+536>>2]){c=a;a:{if(w[a+288|0]){b=809;if(w[a+2272|0]){break a}}b=691}v[c+984>>2]=b}v[a+580>>2]=0;v[a+584>>2]=8;v[a+572>>2]=0;v[a+576>>2]=8;t[a+568|0]=0;v[a+600>>2]=0;v[a+592>>2]=8;v[a+596>>2]=0;v[a+652>>2]=8;t[a+648|0]=1;c=v[a+316>>2];b=c+7|0;v[a+604>>2]=b&-8;v[a+588>>2]=b>>>3;v[a+608>>2]=v[a+616>>2]+(c<<3);return Ce(a)|0}function at(a,b,c){if(w[a+11664|0]){t[a+11665|0]=1;$s(a,v[a+11736>>2],v[a+11740>>2]);if(w[a+11744|0]){KA(a,a+8|0,a+11704|0,v[a+11712>>2],v[a+11716>>2],1)}t[a+11744|0]=0;u[a+11664>>1]=0}v[a+11720>>2]=b;v[a+11736>>2]=b;t[a+11667|0]=1;v[a+11740>>2]=c;v[a+11724>>2]=c;b=a+8|0;if(!(w[v[a+11676>>2]+5|0]?0:w[a+20|0])){kw(b,v[a+11668>>2],v[a+11672>>2],v[a+11676>>2],v[a+11680>>2],0)}cb(a+3876|0,b,3868)}function GYa(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=779}if(v[a+536>>2]){c=a;a:{if(w[a+288|0]){b=780;if(w[a+2272|0]){break a}}b=781}v[c+984>>2]=b}v[a+580>>2]=0;v[a+584>>2]=8;v[a+572>>2]=0;v[a+576>>2]=8;t[a+568|0]=0;v[a+600>>2]=0;v[a+592>>2]=2;v[a+596>>2]=0;v[a+652>>2]=2;t[a+648|0]=1;c=v[a+316>>2];b=c+7>>>3|0;v[a+588>>2]=b;v[a+608>>2]=v[a+616>>2]+(c<<1);v[a+604>>2]=b<<1;return Ce(a)|0}function hR(a,b){var c=0;v[a+8>>2]=0;v[a>>2]=977532;v[a+4>>2]=0;v[a+12>>2]=v[279250];Oc(a+16|0,977454);v[a+24>>2]=0;c=v[279250];t[a+88|0]=0;v[a+68>>2]=1;u[a+64>>1]=0;v[a+60>>2]=0;u[a+56>>1]=0;v[a+48>>2]=-1;v[a+52>>2]=50;v[a+40>>2]=255;v[a+44>>2]=1;t[a+36|0]=0;v[a+32>>2]=0;v[a+28>>2]=c;v[a>>2]=978100;v[a+92>>2]=v[b>>2];v[a+96>>2]=v[b+4>>2];v[a+100>>2]=v[b+8>>2];v[a+104>>2]=v[b+12>>2];return a}function LXa(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,j=0,k=0;a:{if(f){if(!d){break a}a=c<<1;i=b<<1;while(1){j=g;h=w[f|0];b=w[e|0];if((h|0)!=(b|0)){b=b+((B(h-b|0,i)+c|0)/(a|0)|0)|0}t[j|0]=b;h=w[f+1|0];b=w[e+1|0];if((h|0)!=(b|0)){b=b+((B(h-b|0,i)+c|0)/(a|0)|0)|0}t[j+1|0]=b;f=f+2|0;e=e+2|0;g=g+2|0;k=k+1|0;if((k|0)!=(d|0)){continue}break}break a}cb(g,e,d<<1)}return 0}function K_a(a){a=a|0;var b=0,c=0,d=0;b=v[v[a+536>>2]+88>>2];b=(v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0;c=v[a+644>>2];a:{b:{c:{switch(w[a+2253|0]){case 0:case 4:break a;case 1:break c;default:break b}}if(v[a+588>>2]<=0){break b}while(1){t[b|0]=w[c|0]+w[b|0]&15;c=c+1|0;b=b+1|0;d=d+1|0;if((d|0)>2]){continue}break}}return 0}cb(b,c,v[a+588>>2]);return 0}function JU(a,b,c){var d=0,e=0,f=0,g=0,h=0;g=Ma-32|0;t[g+23|0]=0;d=g+23|0;while(1){if(!(!c&(f|0)>=1)){d=d-1|0;e=c;c=(c>>>0)/10|0;e=w[(e-B(c,10)|0)+74400|0];t[d|0]=e;f=f+1|0;if(d>>>0>g>>>0){continue}}break}b=b-1|0;if(!(!a|b>>>0>7)){f=0;a:{if(!d|!e){break a}g=(b<<5)+a|0;c=0;while(1){t[c+g|0]=e;f=c+1|0;e=w[d+1|0];if(!e){break a}d=d+1|0;h=c>>>0<30;c=f;if(h){continue}break}}t[((b<<5)+a|0)+f|0]=0}}function BPa(a,b){a=a|0;b=b|0;var c=0,d=0;v[b+4>>2]=v[a+28>>2];v[b+8>>2]=v[a+32>>2];A[b+16>>3]=A[a+40>>3];t[b+24|0]=w[a+48|0];t[b+25|0]=w[a+49|0];t[b+26|0]=w[a+50|0];t[b+27|0]=w[a+51|0];c=v[b+28>>2];if(c){$a(c);v[b+28>>2]=0}c=v[a+56>>2];v[b+32>>2]=c;if(c){d=c<<3;c=ab((c|0)!=(c&536870911)?-1:d);v[b+28>>2]=c;cb(c,v[a+52>>2],d)}A[b+40>>3]=A[a- -64>>3];v[b+48>>2]=v[a+72>>2];A[b+56>>3]=A[a+80>>3]}function APa(a,b){a=a|0;b=b|0;var c=0,d=0;v[a+28>>2]=v[b+4>>2];v[a+32>>2]=v[b+8>>2];A[a+40>>3]=A[b+16>>3];t[a+48|0]=w[b+24|0];t[a+49|0]=w[b+25|0];t[a+50|0]=w[b+26|0];t[a+51|0]=w[b+27|0];c=v[a+52>>2];if(c){$a(c);v[a+52>>2]=0}c=v[b+32>>2];v[a+56>>2]=c;if(c){d=c<<3;c=ab((c|0)!=(c&536870911)?-1:d);v[a+52>>2]=c;cb(c,v[b+28>>2],d)}A[a- -64>>3]=A[b+40>>3];v[a+72>>2]=v[b+48>>2];A[a+80>>3]=A[b+56>>3]}function eW(a,b){var c=0,d=0,e=0;c=Ma-32|0;Ma=c;v[c+16>>2]=13;v[c>>2]=13;if(v[b>>2]==7){d=1;a:{if(v[ib(v[b+8>>2],236871,c+16|0,0)>>2]!=6){break a}b=v[c+24>>2];if(v[b+12>>2]<1){d=0;break a}d=0;while(1){ub(b,e,c,0);b=eW(a,c);b:{if((b|0)<(2147483647-d|0)){d=b+d|0;break b}fb(1,-1,236699,0);d=2147483647}bb(c);e=e+1|0;b=v[c+24>>2];if((e|0)>2]){continue}break}}bb(c+16|0)}Ma=c+32|0;return d}function PTa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;if(v[c>>2]!=1347439700){ob(a,2050,0,0);return 2050}t[b+32|0]=w[c+32|0];a=v[c+36>>2];v[b+36>>2]=a;if(a){f=c+40|0;g=b+40|0;c=0;while(1){d=B(c,5);a=d+f|0;d=d+g|0;e=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);t[d|0]=e;t[d+1|0]=e>>>8;t[d+2|0]=e>>>16;t[d+3|0]=e>>>24;t[d+4|0]=w[a+4|0];c=c+1|0;if(c>>>0>2]){continue}break}}return 0}function N_a(a){a=a|0;var b=0,c=0,d=0;b=v[v[a+536>>2]+88>>2];b=(v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0;c=v[a+644>>2];a:{b:{c:{switch(w[a+2253|0]){case 0:case 4:break a;case 1:break c;default:break b}}if(v[a+588>>2]<=0){break b}while(1){t[b|0]=w[c|0]+w[b|0]&1;c=c+1|0;b=b+1|0;d=d+1|0;if((d|0)>2]){continue}break}}return 0}cb(b,c,v[a+588>>2]);return 0}function L_a(a){a=a|0;var b=0,c=0,d=0;b=v[v[a+536>>2]+88>>2];b=(v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0;c=v[a+644>>2];a:{b:{c:{switch(w[a+2253|0]){case 0:case 4:break a;case 1:break c;default:break b}}if(v[a+588>>2]<=0){break b}while(1){t[b|0]=w[c|0]+w[b|0]&3;c=c+1|0;b=b+1|0;d=d+1|0;if((d|0)>2]){continue}break}}return 0}cb(b,c,v[a+588>>2]);return 0}function KF(a){var b=0,c=0,d=0,e=0;b=w[a+11|0];c=b<<24>>24;d=v[a+4>>2];a:{if((((c|0)<0?d:b)|0)==4){if(!_k(a,234031,4)){break a}b=w[a+11|0];c=b;d=v[a+4>>2]}if(((c<<24>>24<0?d:b)|0)==5){if(!_k(a,287296,5)){return 2}b=w[a+11|0];c=b;d=v[a+4>>2]}if(((c<<24>>24<0?d:b)|0)==6){if(!_k(a,278408,6)){return 1}b=w[a+11|0];c=b;d=v[a+4>>2]}if(((c<<24>>24<0?d:b)|0)!=8){break a}e=_k(a,281057,8)?0:3}return e}function D6(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Ma-48|0;Ma=c;v[c+32>>2]=v[a+12>>2];vb(b,35503,c+32|0);d=v[a+12>>2];a:{if((d|0)!=1){if((d|0)<=0){break a}while(1){if(!((d-3|0)>(e|0)&e>>>0>=3)){d=v[v[a+16>>2]+(e<<2)>>2];v[c+16>>2]=e;A[c+24>>3]=+(d>>>0)/65535;Ph(b,38180,c+16|0);d=v[a+12>>2]}e=e+1|0;if((e|0)<(d|0)){continue}break}break a}A[c>>3]=+y[v[a+16>>2]>>2]*.00390625;Ph(b,37023,c)}Ma=c+48|0}function _d(a){var b=0,c=0;b=Ma-16|0;Ma=b;o(+a);c=j(1)|0;j(0)|0;c=c&2147483647;a:{if(c>>>0<=1072243195){if(c>>>0<1045430272){break a}a=hu(a,0,0);break a}if(c>>>0>=2146435072){a=a-a;break a}b:{switch(YD(a,b)&3){case 0:a=hu(A[b>>3],A[b+8>>3],1);break a;case 1:a=iu(A[b>>3],A[b+8>>3]);break a;case 2:a=-hu(A[b>>3],A[b+8>>3],1);break a;default:break b}}a=-iu(A[b>>3],A[b+8>>3])}Ma=b+16|0;return a}function WG(a,b){var c=0,d=0,e=0,f=0,g=0;c=Ma-32|0;Ma=c;d=A[v[a+84>>2]+8>>3];d=d<=0?.1:d;A[b>>3]=d;b=v[a+40>>2];A[c+16>>3]=d;Fb(b,338425,c+16|0);b=v[a+84>>2];if(v[b>>2]==1){f=v[b+16>>2];e=v[b+20>>2];Wb(v[a+40>>2],308358);if((e|0)>=1){b=0;while(1){g=v[a+40>>2];A[c>>3]=A[(b<<3)+f>>3];Fb(g,217436,c);b=b+1|0;if((e|0)!=(b|0)){continue}break}}Wb(v[a+40>>2],345239)}Wb(v[a+40>>2],345791);Ma=c+32|0}function Rqa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=ab(328);f=jv(c,a);v[c>>2]=888192;b=v[a+184>>2];v[c+184>>2]=b;b=Pb(b,1280);v[c+180>>2]=b;cb(b,v[a+180>>2],B(v[c+184>>2],1280));v[c+316>>2]=v[a+316>>2];b=v[a+320>>2];v[c+320>>2]=b;if((b|0)>=1){b=0;while(1){d=b<<2;e=v[(d+a|0)+188>>2];g=c+d|0,h=Qa[v[v[e>>2]+8>>2]](e)|0,v[g+188>>2]=h;b=b+1|0;if((b|0)>2]){continue}break}}return f|0}function CZ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=6;d=v[a+868>>2];a:{if(!d|x[a+648>>1]<=b>>>0){break a}e=8;b=v[d+8>>2]+(b<<1)|0;b=w[b|0]<<8|w[b+1|0];c=x[a+660>>1];if(x[d+2>>1]>>0){break a}e=0;if(!c){break a}a=v[a+672>>2];c=a+(c<<2)|0;b=v[d+4>>2]+(b<<2)|0;while(1){t[a|0]=w[b|0];t[a+1|0]=w[b+1|0];t[a+2|0]=w[b+2|0];t[a+3|0]=w[b+3|0];b=b+4|0;a=a+4|0;if(c>>>0>a>>>0){continue}break}}return e|0}function nx(a,b,c){var d=0,e=0,f=0;f=v[c+16>>2];a:{if(f){d=f}else{if(hN(c)){break a}d=v[c+16>>2]}f=v[c+20>>2];if(d-f>>>0>>0){return Qa[v[c+36>>2]](c,a,b)|0}b:{if(t[c+75|0]<0){break b}d=b;while(1){e=d;if(!e){e=0;break b}d=e-1|0;if(w[d+a|0]!=10){continue}break}d=Qa[v[c+36>>2]](c,a,e)|0;if(d>>>0>>0){break a}a=a+e|0;b=b-e|0;f=v[c+20>>2]}cb(f,a,b);v[c+20>>2]=v[c+20>>2]+b;d=b+e|0}return d}function nea(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;if(!(!f|!e)){a=x[a+26>>1];c=a<<1;d=B(a,g)<<1;h=h<<2;while(1){f=f-1|0;g=e;while(1){a=w[i+7|0];v[b>>2]=a<<24|((B(a,w[i+1|0])+127&65535)>>>0)/255|((B(a,w[i+3|0])+127&65535)>>>0)/255<<8|((B(a,w[i+5|0])+127&65535)>>>0)/255<<16;b=b+4|0;i=c+i|0;g=g-1|0;if(g){continue}break}i=d+i|0;b=b+h|0;if(f){continue}break}}}function aw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=-6;a:{if(!b|w[b|0]!=49|(c|0)!=56){break a}if(!a){return-2}v[a+24>>2]=0;b=v[a+32>>2];if(!b){v[a+40>>2]=0;v[a+32>>2]=2632;b=2632}if(!v[a+36>>2]){v[a+36>>2]=2633}c=Qa[b|0](v[a+40>>2],1,7120)|0;if(!c){return-4}v[a+28>>2]=c;d=0;v[c+56>>2]=0;v[c>>2]=a;v[c+4>>2]=16180;b=yY(a,15);if(!b){break a}Qa[v[a+36>>2]](v[a+40>>2],c);v[a+28>>2]=0;d=b}return d|0}function KH(a,b,c){var d=0,e=0,f=0;if(!b){return a}if(!c){return a}if((c|0)>=0){if(!a){a=Qa[v[256555]](c+1|0)|0;if(!a){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);return 0}a=cb(a,b,c);t[a+c|0]=0;return a}if(w[a|0]){d=a;while(1){f=f+1|0;e=w[d+1|0];d=d+1|0;if(e){continue}break}}e=c+f|0;d=Qa[v[256557]](a,e+1|0)|0;if(!d){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);return a}cb(d+f|0,b,c);t[d+e|0]=0}return d}function J_a(a){a=a|0;var b=0,c=0,d=0;b=v[v[a+536>>2]+88>>2];b=(v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0;c=v[a+644>>2];a:{b:{c:{switch(w[a+2253|0]){case 0:case 4:break a;case 1:break c;default:break b}}if(v[a+588>>2]<=0){break b}while(1){t[b|0]=w[c|0]+w[b|0];c=c+1|0;b=b+1|0;d=d+1|0;if((d|0)>2]){continue}break}}return 0}cb(b,c,v[a+588>>2]);return 0}function sDa(a,b){a=a|0;b=b|0;var c=0,d=0;c=Qa[v[a+516>>2]](a,1330851634,b,0)|0;a:{if(c){break a}d=a+372|0;c=Dd(b,519152,d);if(c){break a}v[a+468>>2]=0;v[a+460>>2]=0;v[a+464>>2]=0;v[a+452>>2]=0;v[a+456>>2]=0;u[a+472>>1]=65535;if(!x[a+372>>1]){return 0}c=Dd(b,519328,d);if(c){break a}if(x[d>>1]<2){return 0}c=Dd(b,519344,d);if(c){break a}c=0;if(x[d>>1]<5){break a}c=Dd(b,519376,d)}return c|0}function jla(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;if(!c){return 0}h=a+40|0;while(1){e=v[a+36>>2];if(!e){v[a+16>>2]=0;Sc(h,v[a+20>>2]+32|0,1);e=v[a+36>>2]}f=v[a+16>>2];d=v[a+20>>2]+(f^-1)|0;d=(c|0)<(d|0)?c:d;cb(e+f|0,b,d);e=d+v[a+16>>2]|0;v[a+16>>2]=e;v[a+12>>2]=d+v[a+12>>2];c=c-d|0;if(v[a+20>>2]<=(e+1|0)){Qa[v[v[a>>2]+24>>2]](a)}g=d+g|0;b=b+d|0;if(c){continue}break}return g|0}function Sf(a,b){var c=0,d=0;c=Ma-16|0;Ma=c;if(!w[b+32|0]){cg(b,0)}v[a>>2]=0;v[a+4>>2]=v[279250];b=v[b+8>>2];a:{if(b){Qa[v[v[b>>2]+28>>2]](c+8|0,b,1);break a}v[c+8>>2]=0}jb(a,c+8|0);b=v[c+8>>2];v[c+8>>2]=0;b:{if(!b){break b}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break b}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}b=a;a=v[a>>2];v[b+4>>2]=v[(a?a+12|0:1117e3)>>2];Ma=c+16|0}function FO(a,b,c){var d=0,e=0,f=C(0),g=0,h=C(0);e=Ma-16|0;Ma=e;a:{b:{c:{if((a|0)!=(b|0)){g=v[296206];v[296206]=0;te();d=Ma-16|0;Ma=d;ND(d,a,e+12|0,0);f=oP(v[d>>2],v[d+4>>2],v[d+8>>2],v[d+12>>2]);Ma=d+16|0;a=v[296206];if(!a){break c}if(v[e+12>>2]!=(b|0)){break b}h=f;if((a|0)!=68){break a}break b}v[c>>2]=4;break a}v[296206]=g;if(v[e+12>>2]==(b|0)){break a}}v[c>>2]=4;f=h}Ma=e+16|0;return f}function gm(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{if(w[a+8|0]){c=v[a>>2];if(c){break b}e=0;break a}c=a}e=v[c>>2]}c:{d:{if(w[b+8|0]){c=v[b>>2];if(c){break d}c=0;break c}c=b}c=v[c>>2]}d=v[b+4>>2];b=v[a+4>>2];a=d>>>0>>0;f=a?d:b;e:{if(!f){break e}b=0;while(1){d=b<<2;g=v[d+e>>2];d=v[c+d>>2];if((g|0)<(d|0)){return 1}if((d|0)>=(g|0)){b=b+1|0;if((f|0)==(b|0)){break e}continue}break}a=0}return a}function OYa(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=767}if(v[a+536>>2]){b=a;a:{if(w[a+288|0]){c=768;if(w[a+2272|0]){break a}}c=769}v[b+984>>2]=c}v[a+580>>2]=0;v[a+584>>2]=8;v[a+572>>2]=0;v[a+576>>2]=8;t[a+568|0]=0;v[a+600>>2]=3;v[a+592>>2]=1;v[a+596>>2]=7;v[a+652>>2]=1;t[a+648|0]=0;b=v[a+316>>2]+7>>>3|0;v[a+588>>2]=b;v[a+608>>2]=v[a+616>>2]+b;v[a+604>>2]=b+7>>>3;return Ce(a)|0}function GV(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;c=Ma-16|0;Ma=c;v[c>>2]=13;g=v[b+8>>2];d=v[g+12>>2];a:{if(!d){break a}h=Pb(d,8);if((d|0)<1){break a}while(1){f=ub(g,e,c,0);A[(e<<3)+h>>3]=v[f>>2]==1?+v[f+8>>2]:A[f+8>>3];bb(c);e=e+1|0;if((e|0)!=(d|0)){continue}break}}BG(v[a+28>>2],h,d,v[b+16>>2]==1?+v[b+24>>2]:A[b+24>>3]);b=v[a+8>>2];Qa[v[v[b>>2]+80>>2]](b,v[a+28>>2]);Ma=c+16|0}function Di(){var a=0,b=0,c=0,d=0,e=0,f=0;a=gb(12);if(a){v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;b=gb(64);if(b){v[a+4>>2]=16;v[a+8>>2]=b;return a}b=v[a>>2];if((b|0)>=1){while(1){d=v[a+8>>2];b=b-1|0;e=b<<2;c=v[d+e>>2];f=v[c>>2];v[c>>2]=f-1;if((f|0)<=1){Qa[v[v[c+4>>2]>>2]](c);$a(c);d=v[a+8>>2];b=v[a>>2]-1|0}v[d+e>>2]=0;v[a>>2]=b;if((b|0)>0){continue}break}}b=v[a+8>>2];if(b){$a(b)}$a(a)}return 0}function AYa(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=788}if(v[a+536>>2]){b=a;a:{if(w[a+288|0]){c=789;if(w[a+2272|0]){break a}}c=790}v[b+984>>2]=c}v[a+580>>2]=0;v[a+584>>2]=8;v[a+572>>2]=0;v[a+576>>2]=8;t[a+568|0]=0;v[a+600>>2]=3;v[a+592>>2]=1;v[a+596>>2]=7;v[a+652>>2]=1;t[a+648|0]=0;b=v[a+316>>2]+7>>>3|0;v[a+588>>2]=b;v[a+608>>2]=v[a+616>>2]+b;v[a+604>>2]=b+7>>>3;return Ce(a)|0}function vya(a){a=a|0;var b=0,c=0,d=0;v[a+8>>2]=869488;v[a>>2]=869464;a:{if(!v[a+40>>2]){break a}c=v[a+36>>2];d=v[c>>2];b=v[a+32>>2];v[d+4>>2]=v[b+4>>2];v[v[b+4>>2]>>2]=d;v[a+40>>2]=0;d=a+32|0;if((d|0)==(c|0)){break a}while(1){b=v[c+4>>2];$a(c);c=b;if((b|0)!=(d|0)){continue}break}}v[a+8>>2]=869332;kn(v[a+12>>2]);v[a+12>>2]=0;b=v[a+16>>2];if(b){$a(b)}v[a+16>>2]=0;v[a+20>>2]=0;return a|0}function p7(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=Ma-16|0;Ma=d;c=v[a+584>>2];v[c+68>>2]=0;g=c- -64|0;a:{while(1){e=ck(g,4);if(e>>>0<=1){b=v[c+80>>2];f=v[a+600>>2];if((b|0)!=(f|0)){v[a+608>>2]=f-b;Xd(a);v[c+76>>2]=v[a+596>>2];v[c+80>>2]=v[a+600>>2]}b=1;if((e|0)!=1){continue}break a}break}b=v[a+628>>2];a=v[a>>2];v[d+4>>2]=v[c+88>>2];v[d>>2]=a;wb(b,88467,18004,d);b=0}Ma=d+16|0;return b|0}function kYa(a){a=a|0;var b=0;a:{if(!v[a+536>>2]|w[a+337|0]!=8){break a}b=810;b:{switch(w[a+336|0]-12|0){case 2:b=811;break;case 0:break b;default:break a}}v[a+984>>2]=b}v[a+580>>2]=0;v[a+584>>2]=1;v[a+572>>2]=0;v[a+576>>2]=1;t[a+568|0]=255;v[a+600>>2]=3;v[a+592>>2]=1;v[a+596>>2]=7;v[a+652>>2]=1;b=v[a+316>>2];v[a+588>>2]=b;b=b+7>>3;v[a+604>>2]=b;v[a+608>>2]=b+v[a+616>>2];return Ce(a)|0}function jYa(a){a=a|0;var b=0;a:{if(!v[a+536>>2]|w[a+337|0]!=8){break a}b=812;b:{switch(w[a+336|0]-12|0){case 2:b=813;break;case 0:break b;default:break a}}v[a+984>>2]=b}v[a+580>>2]=0;v[a+584>>2]=1;v[a+572>>2]=0;v[a+576>>2]=1;t[a+568|0]=255;v[a+600>>2]=2;v[a+592>>2]=1;v[a+596>>2]=3;v[a+652>>2]=1;b=v[a+316>>2];v[a+588>>2]=b;b=b+3>>2;v[a+604>>2]=b;v[a+608>>2]=b+v[a+616>>2];return Ce(a)|0}function iYa(a){a=a|0;var b=0;a:{if(!v[a+536>>2]|w[a+337|0]!=8){break a}b=814;b:{switch(w[a+336|0]-12|0){case 2:b=815;break;case 0:break b;default:break a}}v[a+984>>2]=b}v[a+580>>2]=0;v[a+584>>2]=1;v[a+572>>2]=0;v[a+576>>2]=1;t[a+568|0]=255;v[a+600>>2]=1;v[a+592>>2]=1;v[a+596>>2]=1;v[a+652>>2]=1;b=v[a+316>>2];v[a+588>>2]=b;b=b+1>>1;v[a+604>>2]=b;v[a+608>>2]=b+v[a+616>>2];return Ce(a)|0}function R0a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;t[a+24|0]=0;e=v[a+4>>2];a:{if(!e|!b){break a}c=B(c,d);if(!c){break a}f=v[a+16>>2];g=c+f|0;h=v[a+20>>2];if(!((g|0)<=(h|0)|g>>>0<=h>>>0)){f=g+65536&-65536;e=Wd(e,f);v[a+20>>2]=f;t[a+12|0]=1;v[a+4>>2]=e;if(!e){break a}f=v[a+16>>2]}cb(e+f|0,b,c);b=c+v[a+16>>2]|0;v[a+16>>2]=b;if((b|0)>v[a+8>>2]){v[a+8>>2]=b}i=d}return i|0}function M0(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=361632;JJ(a+68|0);v[a+28>>2]=360884;Qa[v[90225]](a+28|0);a:{if(!v[a+60>>2]){break a}b=v[a+56>>2];c=v[b>>2];d=v[a+52>>2];v[c+4>>2]=v[d+4>>2];v[v[d+4>>2]>>2]=c;v[a+60>>2]=0;c=a+52|0;if((c|0)==(b|0)){break a}while(1){d=v[b+4>>2];if(t[b+19|0]<=-1){$a(v[b+8>>2])}$a(b);b=d;if((c|0)!=(b|0)){continue}break}}zw(a+36|0,v[a+40>>2]);j1(a+8|0);return a|0}function Gy(a,b,c,d){var e=0,f=0,g=0;a:{if((d-c|0)>=257){f=Gy(a,b,c,(B(c,6)+(d<<1)|0)/8|0);e=Gy(a,b,(B(d,3)+B(c,5)|0)/8|0,(B(d,5)+B(c,3)|0)/8|0);a=Gy(a,b,(B(d,6)+(c<<1)|0)/8|0,d);break a}e=v[a+8>>2];a=w[v[e+(d<<2)>>2]+b|0];f=w[v[e+(c<<2)>>2]+b|0];e=w[v[e+((c+d|0)/2<<2)>>2]+b|0]}b=(f&255)>>>0>(a&255)>>>0;c=b?f:a;d=c;g=c&255;c=e&255;a=b?a:f;return(c>>>0>(a&255)>>>0?g>>>0>c>>>0?e:d:a)&255}function BUa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if(v[c>>2]!=2052348020){ob(a,2050,0,0);return 2050}e=v[c+32>>2];v[b+32>>2]=e;t[b+40|0]=w[c+40|0];d=v[c+44>>2];v[b+44>>2]=d;a:{if(e){d=Qa[v[a+152>>2]](e)|0;v[b+36>>2]=d;if(!d){break a}cb(d,v[c+36>>2],v[b+32>>2]);d=v[b+44>>2]}if(d){d=Qa[v[a+152>>2]](d)|0;v[b+48>>2]=d;if(!d){break a}cb(d,v[c+48>>2],v[b+44>>2])}return 0}ob(a,1,0,0);return 1}function Ae(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=v[a+596>>2];if(b){d=v[b+28>>2];if((d|0)>=1){while(1){c=v[v[b+24>>2]+(e<<2)>>2];if(c){tb(v[c>>2]);tb(v[c+4>>2]);tb(v[c+8>>2]);$a(c);d=v[b+28>>2]}e=e+1|0;if((e|0)<(d|0)){continue}break}}tb(v[b+24>>2]);$a(b)}b=ab(40);v[b>>2]=0;v[b+28>>2]=0;v[b+32>>2]=16;v[b+8>>2]=0;v[b+12>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;f=b,g=Pb(16,4),v[f+24>>2]=g;v[a+596>>2]=b}function yb(a,b,c,d,e,f){var g=0;g=6;a:{b:{if((c|0)<0|(d|0)<0|(b|0)<0){break b}if(!(b?d:0)){if(!e){break a}Qa[v[a+8>>2]](a,e);break a}g=10;if((2147483647/(b>>>0)|0)<(d|0)){break b}c:{if(!c){e=Qa[v[a+4>>2]](a,B(b,d))|0;g=!e<<6;break c}a=Qa[v[a+12>>2]](a,B(b,c),B(b,d),e)|0;e=a?a:e;g=!a<<6}if(g|!e|(c|0)>=(d|0)){break b}g=0;eb(B(b,c)+e|0,0,B(d-c|0,b))}v[f>>2]=g;return e}v[f>>2]=0;return 0}function uYa(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=797}if(v[a+536>>2]){b=a;a:{if(w[a+288|0]){c=798;if(w[a+2272|0]){break a}}c=799}v[b+984>>2]=c}v[a+580>>2]=0;v[a+584>>2]=8;v[a+572>>2]=0;v[a+576>>2]=8;t[a+568|0]=0;v[a+600>>2]=0;v[a+592>>2]=1;v[a+596>>2]=0;v[a+652>>2]=1;t[a+648|0]=0;b=v[a+316>>2];v[a+608>>2]=b+v[a+616>>2];b=b+7>>>3|0;v[a+604>>2]=b;v[a+588>>2]=b;return Ce(a)|0}function qPa(a,b,c,d,e){a=a|0;b=+b;c=+c;d=+d;e=+e;var f=0,g=0,h=0,i=0;f=Ma-32|0;Ma=f;A[f+16>>3]=c;A[f+24>>3]=b;h=f+24|0;i=f+16|0;Qa[v[v[a>>2]+296>>2]](a,h,i)|0;A[f+8>>3]=A[f+24>>3]+d;g=f+8|0;Qa[v[v[a>>2]+300>>2]](a,g,i)|0;A[f+8>>3]=A[f+24>>3]+d;A[f>>3]=A[f+16>>3]+e;Qa[v[v[a>>2]+300>>2]](a,g,f)|0;A[f+8>>3]=A[f+16>>3]+e;Qa[v[v[a>>2]+300>>2]](a,h,g)|0;Qa[v[v[a>>2]+320>>2]](a)|0;Ma=f+32|0}function iP(a,b){var c=0,d=0,e=0;v[a+4>>2]=b;t[a|0]=0;if(!v[(v[v[b>>2]-12>>2]+b|0)+16>>2]){if(v[(v[v[b>>2]-12>>2]+b|0)+72>>2]){c=Ma-16|0;Ma=c;b=v[(v[v[b>>2]-12>>2]+b|0)+72>>2];if(v[(v[v[b>>2]-12>>2]+b|0)+24>>2]){d=iP(c+8|0,b);a:{if(!w[d|0]){break a}e=v[(b+v[v[b>>2]-12>>2]|0)+24>>2];if((Qa[v[v[e>>2]+24>>2]](e)|0)!=-1){break a}_l(b+v[v[b>>2]-12>>2]|0,1)}ED(d)}Ma=c+16|0}t[a|0]=1}return a}function hn(a,b){var c=0,d=0,e=0;if(hb(b,326410)){c=v[a>>2];if(!hb(b,326409)){a:{b:{if((c|0)<=1){d=v[a+4>>2];break b}b=c-2|0;d=v[a+4>>2];while(1){if(w[b+d|0]!=47){e=(b|0)>0;b=b-1|0;if(e){continue}break b}break}if((b|0)>0){break a}}if(w[d|0]==47){yk(a,1,c-1|0);return a}ih(a);Wb(a,326409);return a}yk(a,b,c-b|0);return a}if(!(w[(v[a+4>>2]+c|0)-1|0]==47|(c|0)<1)){$b(a,47)}Wb(a,b)}return a}function TCa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=v[b>>2]+1|0;if(c>>>0<=65535){h=b;d=v[a+16>>2];a=w[d+6|0]<<8|w[d+7|0];c=a>>>0>c>>>0?a:c;b=c-a|0;g=w[d+9|0]|w[d+8|0]<<8;e=0;a:{if(b>>>0>=g>>>0){break a}a=(d+(b<<1)|0)+10|0;while(1){f=w[a+1|0]|w[a|0]<<8;e=c;if(f){break a}if(c>>>0>65534){return 0}a=a+2|0;c=c+1|0;b=b+1|0;if((g|0)!=(b|0)){continue}break}f=0;e=0}v[h>>2]=e}return f|0}function IYa(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=776}if(v[a+536>>2]){b=a;a:{if(w[a+288|0]){c=777;if(w[a+2272|0]){break a}}c=778}v[b+984>>2]=c}v[a+580>>2]=0;v[a+584>>2]=8;v[a+572>>2]=0;v[a+576>>2]=8;t[a+568|0]=0;v[a+600>>2]=0;v[a+592>>2]=1;v[a+596>>2]=0;v[a+652>>2]=1;t[a+648|0]=0;b=v[a+316>>2];v[a+608>>2]=b+v[a+616>>2];b=b+7>>>3|0;v[a+604>>2]=b;v[a+588>>2]=b;return Ce(a)|0}function zYa(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=791}if(v[a+536>>2]){b=a;a:{if(w[a+288|0]){c=792;if(w[a+2272|0]){break a}}c=793}v[b+984>>2]=c}v[a+580>>2]=0;v[a+584>>2]=1;v[a+572>>2]=0;v[a+576>>2]=1;t[a+568|0]=255;v[a+600>>2]=2;v[a+592>>2]=1;v[a+596>>2]=3;v[a+652>>2]=1;t[a+648|0]=0;b=v[a+316>>2];v[a+588>>2]=b;b=b+3>>2;v[a+604>>2]=b;v[a+608>>2]=b+v[a+616>>2];return Ce(a)|0}function xr(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;e=Ma-16|0;Ma=e;f=v[a+4>>2];d=v[c>>2]-v[a>>2]|0;a:{if(d>>>0<2147483647){d=d<<1;break a}d=-1}g=d?d:4;h=v[b>>2];i=v[a>>2];d=Wd((f|0)==4175?0:v[a>>2],g);if(d){if((f|0)!=4175){v[a>>2]=0}v[e+4>>2]=1563;d=nf(e+8|0,d,e+4|0);fO(a,d);f=v[d>>2];v[d>>2]=0;if(f){Qa[v[d+4>>2]](f)}v[b>>2]=v[a>>2]+(h-i|0);v[c>>2]=v[a>>2]+(g&-4);Ma=e+16|0;return}_f();L()}function xYa(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=794}if(v[a+536>>2]){b=a;a:{if(w[a+288|0]){c=795;if(w[a+2272|0]){break a}}c=796}v[b+984>>2]=c}v[a+580>>2]=0;v[a+584>>2]=1;v[a+572>>2]=0;v[a+576>>2]=1;t[a+568|0]=255;v[a+600>>2]=1;v[a+592>>2]=1;v[a+596>>2]=1;v[a+652>>2]=1;t[a+648|0]=0;b=v[a+316>>2];v[a+588>>2]=b;b=b+1>>1;v[a+604>>2]=b;v[a+608>>2]=b+v[a+616>>2];return Ce(a)|0}function wVa(a,b){a=a|0;b=b|0;var c=0,d=0;d=v[a+428>>2];t[d+8|0]=w[b+32|0];c=1;if(w[b+32|0]==3){t[d+9|0]=w[b+33|0];c=v[b+36>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+10|0]=c;t[d+11|0]=c>>>8;t[d+12|0]=c>>>16;t[d+13|0]=c>>>24;c=v[b+40>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+14|0]=c;t[d+15|0]=c>>>8;t[d+16|0]=c>>>16;t[d+17|0]=c>>>24;c=10}return hd(a,v[b>>2],c,d+8|0)|0}function wM(a,b){var c=0,d=0;a:{if(w[b|0]){while(1){c=v[a+8>>2];if(c&7){return-1}d=v[a+64>>2];if(!((d|0)<0|(d|0)>v[a+60>>2])){v[a+8>>2]=c|4;return-1}v[a+4>>2]=v[a+4>>2]|32;c=v[a+28>>2];v[a+28>>2]=c-1;b:{if((c|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=w[b|0];d=v[a+24>>2];v[a+24>>2]=d+1;t[d|0]=c;break b}c=-1;if((Cb(a,w[b|0])|0)==-1){break a}}c=w[b+1|0];b=b+1|0;if(c){continue}break}}c=0}return c}function gYa(a){a=a|0;var b=0;a:{if(!v[a+536>>2]|w[a+337|0]!=8){break a}b=818;b:{switch(w[a+336|0]-12|0){case 2:b=819;break;case 0:break b;default:break a}}v[a+984>>2]=b}v[a+580>>2]=0;v[a+584>>2]=1;v[a+572>>2]=0;v[a+576>>2]=1;t[a+568|0]=255;v[a+600>>2]=0;v[a+592>>2]=2;v[a+596>>2]=0;v[a+652>>2]=2;b=v[a+316>>2];v[a+588>>2]=b;b=b<<1;v[a+604>>2]=b;v[a+608>>2]=b+v[a+616>>2];return Ce(a)|0}function PYa(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=767}if(v[a+536>>2]){b=a;a:{if(w[a+288|0]){c=768;if(w[a+2272|0]){break a}}c=769}v[b+984>>2]=c}v[a+580>>2]=0;v[a+584>>2]=1;v[a+572>>2]=0;v[a+576>>2]=1;t[a+568|0]=255;v[a+600>>2]=3;v[a+592>>2]=1;v[a+596>>2]=7;v[a+652>>2]=1;t[a+648|0]=0;b=v[a+316>>2];v[a+588>>2]=b;b=b+7>>3;v[a+604>>2]=b;v[a+608>>2]=b+v[a+616>>2];return Ce(a)|0}function NYa(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=770}if(v[a+536>>2]){b=a;a:{if(w[a+288|0]){c=771;if(w[a+2272|0]){break a}}c=772}v[b+984>>2]=c}v[a+580>>2]=0;v[a+584>>2]=1;v[a+572>>2]=0;v[a+576>>2]=1;t[a+568|0]=255;v[a+600>>2]=2;v[a+592>>2]=1;v[a+596>>2]=3;v[a+652>>2]=1;t[a+648|0]=0;b=v[a+316>>2];v[a+588>>2]=b;b=b+3>>2;v[a+604>>2]=b;v[a+608>>2]=b+v[a+616>>2];return Ce(a)|0}function LYa(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=773}if(v[a+536>>2]){b=a;a:{if(w[a+288|0]){c=774;if(w[a+2272|0]){break a}}c=775}v[b+984>>2]=c}v[a+580>>2]=0;v[a+584>>2]=1;v[a+572>>2]=0;v[a+576>>2]=1;t[a+568|0]=255;v[a+600>>2]=1;v[a+592>>2]=1;v[a+596>>2]=1;v[a+652>>2]=1;t[a+648|0]=0;b=v[a+316>>2];v[a+588>>2]=b;b=b+1>>1;v[a+604>>2]=b;v[a+608>>2]=b+v[a+616>>2];return Ce(a)|0}function FYa(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=782}if(v[a+536>>2]){b=a;a:{if(w[a+288|0]){c=783;if(w[a+2272|0]){break a}}c=784}v[b+984>>2]=c}v[a+580>>2]=0;v[a+584>>2]=1;v[a+572>>2]=0;v[a+576>>2]=1;t[a+568|0]=255;v[a+600>>2]=0;v[a+592>>2]=3;v[a+596>>2]=0;v[a+652>>2]=3;t[a+648|0]=0;b=v[a+316>>2];v[a+588>>2]=b;b=B(b,3);v[a+604>>2]=b;v[a+608>>2]=b+v[a+616>>2];return Ce(a)|0}function DYa(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=785}if(v[a+536>>2]){b=a;a:{if(w[a+288|0]){c=786;if(w[a+2272|0]){break a}}c=787}v[b+984>>2]=c}v[a+580>>2]=0;v[a+584>>2]=1;v[a+572>>2]=0;v[a+576>>2]=1;t[a+568|0]=255;v[a+600>>2]=0;v[a+592>>2]=6;v[a+596>>2]=0;v[a+652>>2]=6;t[a+648|0]=1;b=v[a+316>>2];v[a+588>>2]=b;b=B(b,6);v[a+604>>2]=b;v[a+608>>2]=b+v[a+616>>2];return Ce(a)|0}function BYa(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=788}if(v[a+536>>2]){b=a;a:{if(w[a+288|0]){c=789;if(w[a+2272|0]){break a}}c=790}v[b+984>>2]=c}v[a+580>>2]=0;v[a+584>>2]=1;v[a+572>>2]=0;v[a+576>>2]=1;t[a+568|0]=255;v[a+600>>2]=3;v[a+592>>2]=1;v[a+596>>2]=7;v[a+652>>2]=1;t[a+648|0]=0;b=v[a+316>>2];v[a+588>>2]=b;b=b+7>>3;v[a+604>>2]=b;v[a+608>>2]=b+v[a+616>>2];return Ce(a)|0}function xP(a,b,c){var d=0,e=0,f=0;if(!c){return 0}d=w[a|0];a:{if(!d){break a}while(1){b:{e=w[b|0];if(!e){break b}c=c-1|0;if(!c){break b}c:{if((d|0)==(e|0)){break c}e=d-65>>>0<26?d|32:d;d=w[b|0];if((e|0)==((d-65>>>0<26?d|32:d)|0)){break c}f=w[a|0];break a}b=b+1|0;d=w[a+1|0];a=a+1|0;if(d){continue}break a}break}f=d}a=f&255;c=a-65>>>0<26?a|32:a;a=w[b|0];return c-(a-65>>>0<26?a|32:a)|0}function mr(a,b){var c=0,d=0,e=0;a:{if(!b){break a}d=b-1|0;c=b&3;if(c){while(1){e=w[a+1|0];t[a+1|0]=w[a|0];t[a|0]=e;a=a+2|0;b=b-1|0;c=c-1|0;if(c){continue}break}}if(d>>>0<3){break a}while(1){c=w[a+1|0];t[a+1|0]=w[a|0];t[a|0]=c;c=w[a+3|0];t[a+3|0]=w[a+2|0];t[a+2|0]=c;c=w[a+5|0];t[a+5|0]=w[a+4|0];t[a+4|0]=c;c=w[a+7|0];t[a+7|0]=w[a+6|0];t[a+6|0]=c;a=a+8|0;b=b-4|0;if(b){continue}break}}}function fY(a,b,c,d,e,f){var g=0,h=0;h=Ma-32|0;Ma=h;a:{if(!a){a=0;v[h>>2]=0;nb(0,0,0,0,0,2,521,2,0,0,0,0,311040,h);break a}g=v[a+48>>2];if(!g){a=0;v[h+16>>2]=0;nb(0,0,0,0,0,2,522,2,0,0,0,0,232953,h+16|0);break a}a=eY(g,b,c,d,e,f);if(!a){a=0;break a}v[a+20>>2]=g;v[a+32>>2]=v[g+32>>2];b=v[g+16>>2];b:{if(!b){v[g+12>>2]=a;break b}v[b+24>>2]=a;v[a+28>>2]=b}v[g+16>>2]=a}Ma=h+32|0;return a}function cY(a,b,c,d,e,f){var g=0,h=0;h=Ma-32|0;Ma=h;a:{if(!a){a=0;v[h>>2]=0;nb(0,0,0,0,0,2,521,2,0,0,0,0,311074,h);break a}g=v[a+44>>2];if(!g){a=0;v[h+16>>2]=0;nb(0,0,0,0,0,2,522,2,0,0,0,0,233040,h+16|0);break a}a=eY(g,b,c,d,e,f);if(!a){a=0;break a}v[a+20>>2]=g;v[a+32>>2]=v[g+32>>2];b=v[g+16>>2];b:{if(!b){v[g+12>>2]=a;break b}v[b+24>>2]=a;v[a+28>>2]=b}v[g+16>>2]=a}Ma=h+32|0;return a}function bKa(a){a=a|0;var b=0,c=0,d=0;b=v[a+196>>2];d=b+10|0;if(d>>>0<=y[a+200>>2]){c=w[b|0]|w[b+1|0]<<8;u[a+32>>1]=c<<8|c>>>8;c=w[b+2|0]|w[b+3|0]<<8;v[a+36>>2]=(c<<8|c>>>8)<<16>>16;c=w[b+4|0]|w[b+5|0]<<8;v[a+40>>2]=(c<<8|c>>>8)<<16>>16;c=w[b+6|0]|w[b+7|0]<<8;v[a+44>>2]=(c<<8|c>>>8)<<16>>16;b=w[b+8|0]|w[b+9|0]<<8;v[a+196>>2]=d;v[a+48>>2]=(b<<8|b>>>8)<<16>>16;a=0}else{a=20}return a|0}function Wi(a,b,c){var d=0,e=0,f=0;d=Ma-32|0;Ma=d;if((Qa[v[v[a>>2]>>2]](v[a+4>>2],b,2,c)|0)<(c|0)){a:{if(v[a+26160>>2]){break a}v[d+16>>2]=v[a+25208>>2];e=v[249419];vb(e,8292,d+16|0);if(Qa[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Lb(12203,23,1,e);break a}f=Qa[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[d>>2]=f;v[d+4>>2]=f>>31;vb(e,14622,d)}v[a+26160>>2]=1}if(x[a+25204>>1]!=18761){Fp(b,b,c<<1)}Ma=d+32|0}function IE(a,b){var c=0,d=0;a:{if(t[1166204]&1){break a}if(!ie(1166204)){break a}v[291550]=0;he(1166204)}c=v[279246];if((c|0)<(b|0)){while(1){d=c;c=c<<1;if((b|0)>(d|0)){continue}break}b=ab(20);v[b>>2]=973140;v[b+4>>2]=0;c=d+4095&-4096;Rh(pc(b+12|0,b+8|0,c,1),1,0);d=v[b+8>>2];v[279246]=c;v[279245]=d;qb(1166200,b)}b=v[291550];if(b){v[b+4>>2]=v[b+4>>2]+1;b=v[291550]}else{b=0}v[a>>2]=b}function Ap(a,b){var c=0,d=0,e=0;d=Ma-16|0;Ma=d;v[d+12>>2]=b;a:{b:{c:{d:{if(w[a+11|0]>>>7|0){c=(v[a+8>>2]&2147483647)-1|0;e=v[a+4>>2];if((c|0)==(e|0)){break d}break b}e=1;c=1;b=w[a+11|0];if((b|0)!=1){break c}}rx(a,c,1,c,c,0);b=e;if(w[a+11|0]>>>7|0){break b}}c=a;t[a+11|0]=b+1;break a}c=v[a>>2];v[a+4>>2]=e+1;b=e}a=(b<<2)+c|0;v[a>>2]=v[d+12>>2];v[d+8>>2]=0;v[a+4>>2]=v[d+8>>2];Ma=d+16|0}function tYa(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=800}if(v[a+536>>2]){b=a;a:{if(w[a+288|0]){c=801;if(w[a+2272|0]){break a}}c=802}v[b+984>>2]=c}v[a+580>>2]=0;v[a+584>>2]=1;v[a+572>>2]=0;v[a+576>>2]=1;t[a+568|0]=255;v[a+600>>2]=0;v[a+592>>2]=2;v[a+596>>2]=0;v[a+652>>2]=2;t[a+648|0]=0;b=v[a+316>>2];v[a+588>>2]=b;b=b<<1;v[a+604>>2]=b;v[a+608>>2]=b+v[a+616>>2];return Ce(a)|0}function rYa(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=803}if(v[a+536>>2]){b=a;a:{if(w[a+288|0]){c=804;if(w[a+2272|0]){break a}}c=805}v[b+984>>2]=c}v[a+580>>2]=0;v[a+584>>2]=1;v[a+572>>2]=0;v[a+576>>2]=1;t[a+568|0]=255;v[a+600>>2]=0;v[a+592>>2]=4;v[a+596>>2]=0;v[a+652>>2]=4;t[a+648|0]=1;b=v[a+316>>2];v[a+588>>2]=b;b=b<<2;v[a+604>>2]=b;v[a+608>>2]=b+v[a+616>>2];return Ce(a)|0}function pYa(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=806}if(v[a+536>>2]){b=a;a:{if(w[a+288|0]){c=807;if(w[a+2272|0]){break a}}c=692}v[b+984>>2]=c}v[a+580>>2]=0;v[a+584>>2]=1;v[a+572>>2]=0;v[a+576>>2]=1;t[a+568|0]=255;v[a+600>>2]=0;v[a+592>>2]=4;v[a+596>>2]=0;v[a+652>>2]=4;t[a+648|0]=0;b=v[a+316>>2];v[a+588>>2]=b;b=b<<2;v[a+604>>2]=b;v[a+608>>2]=b+v[a+616>>2];return Ce(a)|0}function mYa(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=808}if(v[a+536>>2]){b=a;a:{if(w[a+288|0]){c=809;if(w[a+2272|0]){break a}}c=691}v[b+984>>2]=c}v[a+580>>2]=0;v[a+584>>2]=1;v[a+572>>2]=0;v[a+576>>2]=1;t[a+568|0]=255;v[a+600>>2]=0;v[a+592>>2]=8;v[a+596>>2]=0;v[a+652>>2]=8;t[a+648|0]=1;b=v[a+316>>2];v[a+588>>2]=b;b=b<<3;v[a+604>>2]=b;v[a+608>>2]=b+v[a+616>>2];return Ce(a)|0}function gj(a,b,c,d,e){var f=0,g=0,h=0,i=0;f=Ma-32|0;Ma=f;a:{if(a){if(v[a+172>>2]==-1?v[a+212>>2]:0){break a}v[a+84>>2]=b;g=v[a>>2];h=0;b:{if(!g){break b}h=0;if(v[g+108>>2]!=-554844497){break b}h=v[g+124>>2]}g=v[a+112>>2];i=v[a+108>>2];v[f+20>>2]=e;v[f+16>>2]=d;nb(h,g,i,a,0,4,b,2,d,e,0,0,c,f+16|0);v[a+100>>2]=0;break a}v[f+4>>2]=e;v[f>>2]=d;nb(0,0,0,0,0,4,b,2,d,e,0,0,c,f)}Ma=f+32|0}function Zj(a,b){var c=0,d=0,e=0,f=0;c=Ma-32|0;Ma=c;a:{if(a){v[a+84>>2]=2;d=v[a>>2];e=0;b:{if(!d){break b}e=0;if(v[d+108>>2]!=-554844497){break b}e=v[d+124>>2]}d=v[a+112>>2];f=v[a+108>>2];v[c+20>>2]=0;v[c+16>>2]=338368;nb(e,d,f,a,0,1,2,2,338368,0,0,0,b,c+16|0);v[a+212>>2]=1;v[a+172>>2]=-1;v[a+84>>2]=2;break a}v[c+4>>2]=0;v[c>>2]=338368;nb(0,0,0,0,0,1,2,2,338368,0,0,0,b,c)}Ma=c+32|0}function WT(a,b){var c=0,d=0,e=0;v[a+8>>2]=0;v[a>>2]=0;v[a+4>>2]=0;d=a+16|0;c=d;v[c>>2]=0;v[c+4>>2]=0;e=a+32|0;c=e;v[c>>2]=0;v[c+4>>2]=0;v[a+12>>2]=d;v[a+28>>2]=c;p1(a+40|0);c=a+48|0;v[c>>2]=0;v[c+4>>2]=0;v[a+44>>2]=c;c=Ma-16|0;Ma=c;Ma=c+16|0;c=a- -64|0;v[c>>2]=0;v[c+4>>2]=0;v[a+60>>2]=c;v[a+56>>2]=b;$u(a+28|0,v[a+32>>2]);v[a+28>>2]=e;v[a+32>>2]=0;v[a+36>>2]=0;v[a+24>>2]=0;return a}function Tl(a){var b=0,c=0,d=0,e=0;c=Ma-32|0;Ma=c;a:{if(!v[a+72>>2]){break a}d=v[a+68>>2];if(!d){break a}b=x3a(x[a+84>>1],0,d,0);if(Pa){d=v[a>>2];b=v[a+628>>2];v[c+16>>2]=18313;wb(b,d,24808,c+16|0);b=0}b:{if(x[a+138>>1]!=1){break b}e=x[a+98>>1];b=x3a(e,0,b,0);d=Pa;if(!e|!d){break b}b=v[a>>2];a=v[a+628>>2];v[c>>2]=18313;wb(a,b,24808,c);b=0}b=(b>>>3|0)+((b&7)!=0)|0}Ma=c+32|0;return b}function PFa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=Ma-16|0;Ma=e;d=v[a>>2];a:{if(!d){break a}f=v[a+32>>2];b=cc(f,v[a+4>>2],e+12|0);v[a>>2]=b;if(v[e+12>>2]){break a}cb(b,d,v[a+4>>2]);b=v[a+16>>2];if((b|0)>=1){c=v[a+24>>2];g=c+(b<<2)|0;h=v[a>>2]-d|0;while(1){b=v[c>>2];if(b){v[c>>2]=b+h}c=c+4|0;if(g>>>0>c>>>0){continue}break}}v[a+8>>2]=v[a+4>>2];if(d){Qa[v[f+8>>2]](f,d)}}Ma=e+16|0}function KO(a,b,c,d){var e=0,f=0,g=0;e=Ma-16|0;Ma=e;a:{b:{if((a|0)!=(b|0)){g=v[296206];v[296206]=0;d=NO(a,e+12|0,d,te());a=Pa;f=v[296206];c:{if(f){if(v[e+12>>2]!=(b|0)){break c}if((f|0)==68){break b}break a}v[296206]=g;if(v[e+12>>2]==(b|0)){break a}}}v[c>>2]=4;d=0;a=0;break a}v[c>>2]=4;if((a|0)>=0&d>>>0>=1|(a|0)>0){d=-1;a=2147483647;break a}d=0;a=-2147483648}Ma=e+16|0;Pa=a;return d}function Jha(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=Ma-32|0;Ma=d;a:{if(v[a+116>>2]>0){break a}e=v[a+120>>2];if((e|0)<=-1){break a}f=v[a+104>>2];g=v[a+108>>2];c=v[f-(g<<2)>>2];b=1;a=v[a+92>>2];if((a|0)>1){while(1){if((b|0)>(e|0)){break a}h=v[(b-g<<2)+f>>2];c=(c|0)<(h|0)?h:c;b=b+1|0;if((a|0)!=(b|0)){continue}break}}Ma=d+32|0;return c+1|0}lb(mb(d+8|0,227376,271519,632,306691));L()}function Hha(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=Ma-32|0;Ma=d;a:{if(v[a+140>>2]>0){break a}e=v[a+144>>2];if((e|0)<=-1){break a}f=v[a+128>>2];g=v[a+132>>2];c=v[f-(g<<2)>>2];b=1;a=v[a+92>>2];if((a|0)>1){while(1){if((b|0)>(e|0)){break a}h=v[(b-g<<2)+f>>2];c=(c|0)<(h|0)?h:c;b=b+1|0;if((a|0)!=(b|0)){continue}break}}Ma=d+32|0;return c+1|0}lb(mb(d+8|0,227376,271519,632,306691));L()}function HYa(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=779}if(v[a+536>>2]){b=a;a:{if(w[a+288|0]){c=780;if(w[a+2272|0]){break a}}c=781}v[b+984>>2]=c}v[a+580>>2]=0;v[a+584>>2]=1;v[a+572>>2]=0;v[a+576>>2]=1;t[a+568|0]=255;v[a+600>>2]=0;v[a+592>>2]=2;v[a+596>>2]=0;v[a+652>>2]=2;t[a+648|0]=1;b=v[a+316>>2];v[a+588>>2]=b;b=b<<1;v[a+604>>2]=b;v[a+608>>2]=b+v[a+616>>2];return Ce(a)|0}function $ua(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;a:{if(c-1>>>0>3){break a}if(!Cs(a,b,c)){break a}v[d>>2]=0;e=w[((b-v[a+1040>>2]|0)+a|0)+16|0];v[d>>2]=e;f=1;if((c|0)==1){break a}e=w[((b-v[a+1040>>2]|0)+a|0)+17|0]|e<<8;v[d>>2]=e;if((c|0)==2){break a}e=w[((b-v[a+1040>>2]|0)+a|0)+18|0]|e<<8;v[d>>2]=e;if((c|0)==3){break a}v[d>>2]=w[((b-v[a+1040>>2]|0)+a|0)+19|0]|e<<8}return f|0}function vta(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=A[b+24>>3];f=v[b+24>>2];g=v[b+16>>2];c=v[a+28>>2];e=A[c+616>>3]+(v[b>>2]==1?+v[b+8>>2]:A[b+8>>3]);A[c+616>>3]=e;d=(g|0)==1?+(f|0):d;A[c+576>>3]=-d;d=d+A[c+624>>3];A[c+624>>3]=d;A[c+600>>3]=A[c+536>>3]+(e*A[c+504>>3]+d*A[c+520>>3]);A[c+608>>3]=A[c+544>>3]+(e*A[c+512>>3]+d*A[c+528>>3]);a=v[a+8>>2];Qa[v[v[a>>2]+184>>2]](a,c)}function TLa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;a:{if((d|0)<1){break a}g=v[a+112>>2];if(!g){break a}j=v[v[a+480>>2]+24>>2];while(1){a=v[(e<<2)+b>>2];c=g;while(1){h=(v[(w[a|0]>>>1&124)+j>>2]+(w[a+1|0]<<4&4032)|0)+(w[a+2|0]>>>2&62)|0;i=x[h>>1];f=i+1|0;u[h>>1]=(f|0)!=(f&65535)?i:f;a=a+3|0;c=c-1|0;if(c){continue}break}e=e+1|0;if((e|0)!=(d|0)){continue}break}}}function Ssa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;c=v[a+28>>2];e=v[c+596>>2];if(!(v[e+28>>2]>0|v[e>>2])){b=-1;a=v[a+108>>2];a:{if(!a){break a}a=v[a+4>>2];if(v[a+8>>2]==13){break a}a=v[a+16>>2];b=Qa[v[v[a>>2]+52>>2]](a)|0}fb(1,b,243368,0);return}d=A[b+24>>3];a=v[b+24>>2];g=v[b+16>>2];f=v[b>>2]==1?+v[b+8>>2]:A[b+8>>3];A[c+600>>3]=f;d=(g|0)==1?+(a|0):d;A[c+608>>3]=d;cd(e,f,d)}function QF(a){var b=0,c=0;_u(a);Wy(a+60|0,v[a- -64>>2]);Vy(a+44|0,v[a+48>>2]);c=v[a+40>>2];if(c){Qa[v[v[c>>2]+4>>2]](c);v[a+40>>2]=0}$u(a+28|0,v[a+32>>2]);qB(a+12|0,v[a+16>>2]);c=v[a>>2];if(c){b=v[a+4>>2];if((c|0)==(b|0)){b=c}else{while(1){if(t[b-1|0]<=-1){$a(v[b-12>>2])}if(t[b-13|0]<=-1){$a(v[b-24>>2])}b=b-40|0;if((c|0)!=(b|0)){continue}break}b=v[a>>2]}v[a+4>>2]=c;$a(b)}return a}function yE(a,b){var c=0,d=0,e=0,f=0,g=0;c=v[a+32>>2];d=c;e=a;a:{b:{c:{switch((b&3)-1|0){case 0:d=(c&4?2:1)^c^4;break b;case 1:d=c^3;break b;case 2:break c;default:break a}}d=(c&4?1:2)^c^4}v[e+32>>2]=d}if((c^d)&4){v[a+44>>2]=0;v[a+48>>2]=1;v[a+36>>2]=0;v[a+40>>2]=1;f=a,g=D3a(v[a>>2],v[a+4>>2],32),v[f>>2]=g;v[a+4>>2]=Pa;f=a,g=D3a(v[a+8>>2],v[a+12>>2],32),v[f+8>>2]=g;v[a+12>>2]=Pa}}function lY(a){a=a|0;var b=0,c=0,d=0;v[a+8>>2]=869488;v[a>>2]=869464;a:{if(!v[a+40>>2]){break a}c=v[a+36>>2];d=v[c>>2];b=v[a+32>>2];v[d+4>>2]=v[b+4>>2];v[v[b+4>>2]>>2]=d;v[a+40>>2]=0;d=a+32|0;if((d|0)==(c|0)){break a}while(1){b=v[c+4>>2];$a(c);c=b;if((b|0)!=(d|0)){continue}break}}v[a+8>>2]=869332;kn(v[a+12>>2]);v[a+12>>2]=0;b=v[a+16>>2];if(b){$a(b)}v[a+16>>2]=0;v[a+20>>2]=0;$a(a)}function jl(a){var b=0,c=0,d=0,e=0,f=0;b=Ma-16|0;Ma=b;a:{b:{d=a;if(!w[a+8|0]){break b}d=v[d>>2];if(d){break b}d=0;break a}d=v[d>>2]}c=v[a+4>>2];if(c>>>0<1073741808){c:{d:{if(c>>>0>=2){e=c+4&-4;a=ab(e<<2);v[b+8>>2]=e|-2147483648;v[b>>2]=a;v[b+4>>2]=c;break d}t[b+11|0]=c;a=b;if(!c){break c}}rb(a,d,c)}v[(c<<2)+a>>2]=0;f=oN(b);if(t[b+11|0]<=-1){$a(v[b>>2])}Ma=b+16|0;return f}sc();L()}function VZa(a){a=a|0;var b=0,c=0,d=0,e=0;if(v[a+588>>2]>=1){d=v[a+644>>2];c=d;while(1){b=w[c|0]|w[c+1|0]<<8;t[d|0]=((b<<8|b>>>8)&65535)>>>8;b=w[c+2|0]|w[c+3|0]<<8;t[d+1|0]=((b<<8|b>>>8)&65535)>>>8;b=w[c+4|0]|w[c+5|0]<<8;t[d+2|0]=((b<<8|b>>>8)&65535)>>>8;b=w[c+6|0]|w[c+7|0]<<8;t[d+3|0]=((b<<8|b>>>8)&65535)>>>8;c=c+8|0;d=d+4|0;e=e+1|0;if((e|0)>2]){continue}break}}return 0}function Sla(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=Ma-16|0;Ma=d;if(!(!v[a+12>>2]|(!v[a+4>>2]|!v[a+8>>2]))){c=A[a+32>>3]-A[a+16>>3];e=c;f=c*c;c=A[a+40>>3]-A[a+24>>3];h=d,i=Sx(e/K(f+c*c))*180/3.141592653589793,A[h+8>>3]=i;Qa[v[v[b>>2]+136>>2]](b,966604)|0;Qa[v[v[b>>2]+212>>2]](b,v[a+4>>2],v[a+8>>2],v[a+12>>2])|0;Qa[v[v[b>>2]+200>>2]](b,d+8|0)|0;g=1}Ma=d+16|0;return g|0}function Lf(a,b){var c=0,d=0,e=0;c=v[b>>2];v[a+12>>2]=0;v[a>>2]=c;v[a+4>>2]=0;v[a+8>>2]=0;a:{if((a|0)==(b|0)){break a}v[a+12>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;b=v[b+8>>2];if(!b){break a}e=a+8|0;while(1){c=ab(v[c>>2]);Qa[v[v[a>>2]+12>>2]](c,b,1,0);v[c>>2]=0;d=v[a+12>>2];v[c+4>>2]=d;v[a+12>>2]=c;v[(d?d:e)>>2]=c;v[a+4>>2]=v[a+4>>2]+1;b=v[b>>2];if(!b){break a}c=v[a>>2];continue}}return a}function Kha(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=Ma-32|0;Ma=d;a:{if(v[a+116>>2]>0){break a}e=v[a+120>>2];if((e|0)<=-1){break a}f=v[a+104>>2];g=v[a+108>>2];c=v[f-(g<<2)>>2];b=1;a=v[a+92>>2];if((a|0)>1){while(1){if((b|0)>(e|0)){break a}h=v[(b-g<<2)+f>>2];c=(c|0)>(h|0)?h:c;b=b+1|0;if((a|0)!=(b|0)){continue}break}}Ma=d+32|0;return c|0}lb(mb(d+8|0,227376,271519,632,306691));L()}function Iha(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=Ma-32|0;Ma=d;a:{if(v[a+140>>2]>0){break a}e=v[a+144>>2];if((e|0)<=-1){break a}f=v[a+128>>2];g=v[a+132>>2];c=v[f-(g<<2)>>2];b=1;a=v[a+92>>2];if((a|0)>1){while(1){if((b|0)>(e|0)){break a}h=v[(b-g<<2)+f>>2];c=(c|0)>(h|0)?h:c;b=b+1|0;if((a|0)!=(b|0)){continue}break}}Ma=d+32|0;return c|0}lb(mb(d+8|0,227376,271519,632,306691));L()}function tT(a){a=a|0;var b=0,c=0;v[a>>2]=969676;b=v[a+48>>2];v[a+48>>2]=0;a:{if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}ec(a+40|0);b=v[a+32>>2];v[a+32>>2]=0;b:{if(!b){break b}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break b}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}fm(a);return a|0}function loa(a){a=a|0;var b=0,c=0;a:{b:{if(v[a+12>>2]?v[a+8>>2]:1){b=v[a+3504>>2];c=-1;if((b|0)>=v[a+20>>2]){break b}return v[v[((v[a+3496>>2]<<2)+a|0)+3480>>2]+(v[a+3500>>2]+B(b,v[a+32>>2])<<2)>>2]}b=v[a+3472>>2];if((b|0)==v[a+3476>>2]){c=-1;if(v[a+20>>2]<=(v[a+28>>2]+v[a+3504>>2]|0)){break b}if(!$F(a)){break a}b=v[a+3472>>2]}c=w[b|0]}return c|0}v[a+3504>>2]=v[a+20>>2];return-1}function jO(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;e=Ma-16|0;Ma=e;f=v[a+4>>2];d=v[c>>2]-v[a>>2]|0;a:{if(d>>>0<2147483647){d=d<<1;break a}d=-1}g=d?d:1;h=v[b>>2];i=v[a>>2];d=Wd((f|0)==4175?0:v[a>>2],g);if(d){if((f|0)!=4175){v[a>>2]=0}v[e+4>>2]=1563;d=nf(e+8|0,d,e+4|0);fO(a,d);f=v[d>>2];v[d>>2]=0;if(f){Qa[v[d+4>>2]](f)}v[b>>2]=v[a>>2]+(h-i|0);v[c>>2]=g+v[a>>2];Ma=e+16|0;return}_f();L()}function gf(a,b,c){var d=0,e=0,f=0;e=Ma-16|0;Ma=e;f=v[c>>2];d=v[f+8>>2];a:{if(d){if(v[b+12>>2]<=-1){v[b+12>>2]=v[d+32>>2]}v[d+4>>2]=v[d+4>>2]+1;v[a>>2]=v[f+8>>2];break a}mo(e,f,1);d=v[e+8>>2];b:{if(d){while(1){gf(a,b,d+8|0);if(v[a>>2]){if(v[b+12>>2]>-1){break b}v[b+12>>2]=v[v[v[c>>2]+8>>2]+32>>2];break b}v[a>>2]=0;d=v[d>>2];if(d){continue}break}}v[a>>2]=0;qb(a,0)}ac(e)}Ma=e+16|0}function fja(a,b,c){a=a|0;b=b|0;c=c|0;a:{if(w[a+16|0]){break a}b:{if(!Hb(c,310682,4)){break b}if(!Hb(c,220349,2)){break b}if(Hb(c,220354,2)){break a}}b=Mf();Qa[v[v[b>>2]+32>>2]](b,a);t[a+16|0]=1;return}c:{d:{if(!Hb(c,220324,1)){break d}if(!Hb(c,220364,2)){break d}if(!Hb(c,220359,2)){break d}if(!Hb(c,220354,2)){break d}if(Hb(c,220349,2)){break c}}b=Mf();Qa[v[v[b>>2]+28>>2]](b,a)}}function T$(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;v[b>>2]=0;a:{if(!a){break a}e=v[a+8>>2];if(!e){break a}d=v[v[a>>2]>>2];f=d;while(1){g=w[f|0];if(g){while(1){t[c+d|0]=g;c=c+1|0;g=w[f+1|0];f=f+1|0;if(g){continue}break}e=v[a+8>>2]}h=h+1|0;if(h>>>0>>0){t[c+d|0]=32;e=v[a+8>>2];c=c+1|0}if(e>>>0>h>>>0){f=v[v[a>>2]+(h<<2)>>2];continue}break}if((d|0)!=425584){t[c+d|0]=0}v[b>>2]=c}return d}function RVa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:{c=v[b+32>>2];e=(c+v[b+40>>2]|0)+1|0;b:{if(e>>>0<=y[a+424>>2]){d=v[a+428>>2]+8|0;break b}d=Qa[v[a+152>>2]](e)|0;if(!d){break a}c=v[b+32>>2]}f=d;if(c){f=cb(d,v[b+36>>2],c)+v[b+32>>2]|0}t[f|0]=0;c=v[b+40>>2];if(c){cb(f+1|0,v[b+44>>2],c)}b=hd(a,v[b>>2],e,d);if(y[a+424>>2]>>0){Qa[v[a+156>>2]](d,e)}return b|0}ob(a,1,0,0);return 1}function Md(a,b,c){var d=0,e=0,f=0;d=Ma-32|0;Ma=d;a:{if(!(!a|!v[a+212>>2])&v[a+172>>2]==-1){break a}e=282969;f=b-1|0;if(f>>>0<=109){e=v[(f<<2)+875252>>2]}if(a){v[a+84>>2]=b}b:{if(!c){v[d>>2]=e;nb(0,0,0,a,0,1,b,3,0,0,0,0,340716,d);break b}v[d+20>>2]=c;v[d+16>>2]=e;nb(0,0,0,a,0,1,b,3,c,0,0,0,340574,d+16|0)}if(!a){break a}v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1}Ma=d+32|0}function zka(a){a=a|0;var b=0,c=0;v[a>>2]=970916;vd(a+16|0);b=v[a+12>>2];v[a+12>>2]=0;a:{if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[a+8>>2];v[a+8>>2]=0;b:{if(!b){break b}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break b}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}bc(a);return a|0}function sKa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;if(v[a+316>>2]>=1){f=v[d>>2];while(1){i=f;j=e;k=f;l=e|1;b=v[a+112>>2];if((b|0)>=1){d=v[(e<<2)+f>>2];m=b+d|0;b=v[(g<<2)+c>>2];while(1){h=w[b|0];t[d+1|0]=h;t[d|0]=h;b=b+1|0;d=d+2|0;if(m>>>0>d>>>0){continue}break}b=v[a+112>>2]}Em(i,j,k,l,1,b);g=g+1|0;e=e+2|0;if((e|0)>2]){continue}break}}}function lfa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=Ma-32|0;Ma=d;c=a+160|0;f=a,g=Ki(a,0,262142,c),v[f+216>>2]=g;c=Ki(a,0,262142,c);v[a+220>>2]=c;e=v[a+216>>2];if(!(c?e:0)){lb(mb(d+8|0,255590,241993,691,334746));L()}v[b+76>>2]=c;v[b+72>>2]=e;v[a+212>>2]=0;v[a+200>>2]=e+1;v[a+208>>2]=c;v[a+232>>2]=c;v[a+204>>2]=0;v[a+228>>2]=c;v[a+236>>2]=0;v[a+224>>2]=c;t[a+49|0]=1;Ma=d+32|0}function esa(a){a=a|0;var b=0;b=ab(120);v[b+4>>2]=15;v[b+8>>2]=0;v[b>>2]=887740;A[b+16>>3]=A[a+16>>3];A[b+24>>3]=A[a+24>>3];A[b+32>>3]=A[a+32>>3];A[b+40>>3]=A[a+40>>3];A[b+48>>3]=A[a+48>>3];A[b+56>>3]=A[a+56>>3];A[b+64>>3]=A[a+64>>3];A[b+72>>3]=A[a+72>>3];A[b+80>>3]=A[a+80>>3];A[b+88>>3]=A[a+88>>3];A[b+96>>3]=A[a+96>>3];A[b+104>>3]=A[a+104>>3];A[b+112>>3]=A[a+112>>3];return b|0}function S3(a,b){a=a|0;b=b|0;var c=0,d=0;if(w[b+32|0]){return hd(a,v[b>>2],0,0)|0}d=v[a+428>>2];c=v[b+36>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+8|0]=c;t[d+9|0]=c>>>8;t[d+10|0]=c>>>16;t[d+11|0]=c>>>24;c=v[b+40>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+12|0]=c;t[d+13|0]=c>>>8;t[d+14|0]=c>>>16;t[d+15|0]=c>>>24;t[d+16|0]=w[b+44|0];return hd(a,v[b>>2],9,d+8|0)|0}function Mva(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;f=Ma-16|0;Ma=f;if(!(w[a+208|0]|w[a+203|0])){g=v[a+104>>2];v[f+12>>2]=32;h=f+12|0;Qa[v[v[g>>2]+288>>2]](g,h)|0;g=v[a+104>>2];v[f+12>>2]=e;Qa[v[v[g>>2]+388>>2]](g,h)|0;Ak(a,c,A[b+104>>3],d);b=v[a+104>>2];v[f+12>>2]=4;Qa[v[v[b>>2]+292>>2]](b,h)|0;a=v[a+104>>2];v[f+12>>2]=32;Qa[v[v[a>>2]+292>>2]](a,h)|0}Ma=f+16|0}function tea(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;if(!(!f|!e)){c=x[a+26>>1];d=B(g,c);h=h<<2;while(1){f=f-1|0;g=e;while(1){a=w[i+3|0];v[b>>2]=a<<24|((B(a,w[i|0])+127&65535)>>>0)/255|((B(a,w[i+1|0])+127&65535)>>>0)/255<<8|((B(a,w[i+2|0])+127&65535)>>>0)/255<<16;i=c+i|0;b=b+4|0;g=g-1|0;if(g){continue}break}i=d+i|0;b=b+h|0;if(f){continue}break}}}function t$a(a){a=a|0;var b=0,c=0,d=0,e=0;if(v[a+588>>2]>=1){b=v[a+540>>2];c=(v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0;b=v[a+636>>2]+v[a+616>>2]|0;while(1){d=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);t[c|0]=d;t[c+1|0]=d>>>8;t[c+2|0]=d>>>16;t[c+3|0]=d>>>24;b=b+4|0;c=(v[a+584>>2]<<2)+c|0;e=e+1|0;if((e|0)>2]){continue}break}}return 0}function mFa(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;var j=0;a=eb(a,0,1516);j=fk(v[b+96>>2],235125,1);if(!j){return 7}v[a+1348>>2]=j;s_(a,b,c,d,g);b=v[b+16>>2];v[a+1472>>2]=h;v[a+1356>>2]=e;v[a+1352>>2]=b;v[a+1476>>2]=i;v[a+1468>>2]=f;b=v[113795];v[a+1480>>2]=v[113794];v[a+1484>>2]=b;b=v[113797];a=a+1488|0;v[a>>2]=v[113796];v[a+4>>2]=b;return 0}function hYa(a){a=a|0;var b=0;a:{if(!v[a+536>>2]|w[a+337|0]!=8){break a}b=816;b:{switch(w[a+336|0]-12|0){case 2:b=817;break;case 0:break b;default:break a}}v[a+984>>2]=b}v[a+580>>2]=0;v[a+584>>2]=1;v[a+572>>2]=0;v[a+576>>2]=1;t[a+568|0]=255;v[a+600>>2]=0;v[a+592>>2]=1;v[a+596>>2]=0;v[a+652>>2]=1;b=v[a+316>>2];v[a+604>>2]=b;v[a+588>>2]=b;v[a+608>>2]=b+v[a+616>>2];return Ce(a)|0}function ePa(a){a=a|0;var b=0,c=0;b=v[a+20>>2];a:{b:{if(b-205>>>0<=1){if(!v[a+64>>2]){break b}Qa[v[v[a+440>>2]+4>>2]](a);v[a+20>>2]=208;break a}if((b|0)==208){break a}}c=v[a>>2];v[c+24>>2]=b;v[c+20>>2]=21;Qa[v[v[a>>2]>>2]](a)}c:{while(1){if(v[a+144>>2]>v[a+152>>2]){break c}b=v[a+456>>2];if(v[b+20>>2]){break c}if(Qa[v[b>>2]](a)|0){continue}break}return 0}v[a+20>>2]=207;return 1}function ZO(a,b,c){var d=0,e=0,f=0,g=0,h=0;g=Ma-16|0;Ma=g;e=c-b|0;if(e>>>0<=4294967279){a:{if(e>>>0<=10){t[a+11|0]=e;d=a;break a}h=a;if(e>>>0>=11){d=e+16&-16;f=d-1|0;d=(f|0)==11?d:f}else{d=10}f=d+1|0;d=ab(f);v[h>>2]=d;v[a+8>>2]=f|-2147483648;v[a+4>>2]=e}while(1){if((b|0)!=(c|0)){t[d|0]=w[b|0];d=d+1|0;b=b+1|0;continue}break}t[g+15|0]=0;t[d|0]=w[g+15|0];Ma=g+16|0;return}sc();L()}function QA(a,b){var c=0,d=0,e=0,f=0,g=0;d=v[a>>2];if(!b){v[a>>2]=d;return 0}e=b&3;g=b-1&255;a:{if(g>>>0<3){b=d;c=0;break a}c=b&252;b=d;while(1){f=b;b=b+4|0;c=c-4|0;if(c&255){continue}break}c=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)}if(e){while(1){c=w[b|0]|c<<8;b=b+1|0;e=e-1|0;if(e&255){continue}break}}v[a>>2]=(g+1|0)+d;return c}function MO(a,b,c){var d=0,e=0,f=0,g=0,h=0;g=Ma-16|0;Ma=g;e=c-b>>2;if(e>>>0<=1073741807){a:{if(e>>>0<=1){t[a+11|0]=e;d=a;break a}h=a;if(e>>>0>=2){f=e+4&-4;d=f-1|0;d=(d|0)==2?f:d}else{d=1}f=d+1|0;d=FN(f);v[h>>2]=d;v[a+8>>2]=f|-2147483648;v[a+4>>2]=e}while(1){if((b|0)!=(c|0)){v[d>>2]=v[b>>2];d=d+4|0;b=b+4|0;continue}break}v[g+12>>2]=0;v[d>>2]=v[g+12>>2];Ma=g+16|0;return}sc();L()}function yn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;if(!(!a|!b)){c=u[a+2>>1];a:{if(!c){c=0;break a}a=v[a+4>>2];d=v[a+4>>2];e=v[a>>2];if((c|0)<2){c=d;f=e;break a}h=(c<<3)+a|0;g=a+8|0;f=e;c=d;while(1){a=v[a+12>>2];c=(a|0)>(c|0)?a:c;d=(a|0)<(d|0)?a:d;a=v[g>>2];f=(a|0)>(f|0)?a:f;e=(a|0)<(e|0)?a:e;a=g;g=a+8|0;if(h>>>0>g>>>0){continue}break}}v[b+8>>2]=f;v[b>>2]=e;v[b+12>>2]=c;v[b+4>>2]=d}}function Pb(a,b){var c=0;c=Ma-48|0;Ma=c;a:{b:{c:{d:{if(!a){a=0;break d}if((b|0)<1|(a|0)<0|(2147483647/(b>>>0)|0)<=(a|0)){break c}a=B(a,b);if((a|0)<=-1){break b}if(!a){a=0;break d}a=gb(a);if(!a){break a}}Ma=c+48|0;return a}v[c>>2]=273670;vb(v[249419],340716,c);_(1);L()}v[c+16>>2]=273699;vb(v[249419],340716,c+16|0);_(1);L()}v[c+32>>2]=217973;vb(v[249419],340716,c+32|0);_(1);L()}function Moa(a){a=a|0;var b=0,c=0,d=0;d=v[a+8>>2];b=ab(53336);c=v[a+4>>2];c=Qa[v[v[c>>2]+8>>2]](c)|0;if(d){d=c;c=v[a+8>>2];wU(b,d,v[c+4>>2],v[c+8>>2],v[c+12>>2],v[c+16>>2],v[a+12>>2]);return b|0}a=v[a+12>>2];v[b+53316>>2]=1;v[b+53308>>2]=0;v[b+53312>>2]=0;v[b+49192>>2]=258;v[b+49196>>2]=9;v[b+24>>2]=0;v[b+16>>2]=0;v[b+12>>2]=a;v[b+8>>2]=0;v[b>>2]=953348;v[b+4>>2]=c;return b|0}function MCa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=v[a+16>>2];a=c;a=w[a+12|0]|w[a+13|0]<<8|(w[a+14|0]<<16|w[a+15|0]<<24);d=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a:{if(d>>>0>b>>>0){break a}a=c;a=w[a+16|0]|w[a+17|0]<<8|(w[a+18|0]<<16|w[a+19|0]<<24);e=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=b-d|0;if(e>>>0<=a>>>0){break a}a=(c+20|0)+(a<<1)|0;f=w[a|0]<<8|w[a+1|0]}return f|0}function Hh(a,b,c){var d=0,e=0,f=0;a:{if((c|0)<1){break a}while(1){d=v[a+8>>2];if(d&7){break a}f=v[a+64>>2];if(!((f|0)<0|v[a+60>>2]<(f|0))){v[a+8>>2]=d|4;return e}d=v[a+28>>2];v[a+28>>2]=d-1;b:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;d=v[a+24>>2];v[a+24>>2]=d+1;d=w[d|0];break b}d=Eb(a,1);if((d|0)==-1){break a}}t[b|0]=d;b=b+1|0;e=e+1|0;if((e|0)!=(c|0)){continue}break}e=c}return e}function vYa(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=797}if(v[a+536>>2]){b=a;a:{if(w[a+288|0]){c=798;if(w[a+2272|0]){break a}}c=799}v[b+984>>2]=c}v[a+580>>2]=0;v[a+584>>2]=1;v[a+572>>2]=0;v[a+576>>2]=1;t[a+568|0]=255;v[a+600>>2]=0;v[a+592>>2]=1;v[a+596>>2]=0;v[a+652>>2]=1;t[a+648|0]=0;b=v[a+316>>2];v[a+604>>2]=b;v[a+588>>2]=b;v[a+608>>2]=v[a+616>>2]+b;return Ce(a)|0}function uW(a){a=a|0;var b=0;v[a>>2]=880852;b=v[a+20>>2];if(b){$a(Bb(b))}b=v[a+24>>2];if(!((b|0)==1027792|!b|(b|0)==1026768)){tb(v[b>>2]);b=1;while(1){tb(v[v[a+24>>2]+(b<<2)>>2]);b=b+1|0;if((b|0)!=256){continue}break}tb(v[a+24>>2])}b=v[a+328>>2];if(b){tb(b)}b=v[a+340>>2];if(b){tb(b)}b=v[a+344>>2];if(!((b|0)==1031184|(b|0)==1030848|(!b|(b|0)==1030384))){tb(b)}Ds(a);return a|0}function qla(a){a=a|0;var b=0,c=0;v[a>>2]=969676;b=v[a+48>>2];v[a+48>>2]=0;a:{if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}ec(a+40|0);b=v[a+32>>2];v[a+32>>2]=0;b:{if(!b){break b}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break b}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}fm(a);$a(a)}function ic(a,b,c){var d=0;d=Ma-32|0;Ma=d;v[d+24>>2]=0;v[d+28>>2]=0;v[d+20>>2]=0;v[d+16>>2]=978704;PQ(d+8|0,d+16|0,b,c);v[d+16>>2]=978608;b=v[d+28>>2];if(b){t[b|0]=0;$a(v[d+28>>2])}v[d+28>>2]=0;bc(d+16|0);Up(a,d+8|0);a=v[d+8>>2];v[d+8>>2]=0;a:{if(!a){break a}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break a}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=d+32|0}function fD(a,b){var c=0,d=0,e=0;d=Ma-16|0;Ma=d;t[d+15|0]=b;a:{b:{c:{d:{if(w[a+11|0]>>>7|0){c=(v[a+8>>2]&2147483647)-1|0;e=v[a+4>>2];if((c|0)==(e|0)){break d}break b}e=10;c=10;b=w[a+11|0];if((b|0)!=10){break c}}gD(a,c,1,c,c);b=e;if(w[a+11|0]>>>7|0){break b}}c=a;t[a+11|0]=b+1;break a}c=v[a>>2];v[a+4>>2]=e+1;b=e}a=b+c|0;t[a|0]=w[d+15|0];t[d+14|0]=0;t[a+1|0]=w[d+14|0];Ma=d+16|0}function Xb(a,b,c){var d=0;d=Ma-32|0;Ma=d;v[d+24>>2]=0;v[d+28>>2]=0;v[d+20>>2]=0;v[d+16>>2]=978704;QQ(d+8|0,d+16|0,b,c);v[d+16>>2]=978608;b=v[d+28>>2];if(b){t[b|0]=0;$a(v[d+28>>2])}v[d+28>>2]=0;bc(d+16|0);Up(a,d+8|0);a=v[d+8>>2];v[d+8>>2]=0;a:{if(!a){break a}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break a}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=d+32|0}function Rc(a,b,c){var d=0;d=Ma-32|0;Ma=d;v[d+24>>2]=0;v[d+28>>2]=0;v[d+20>>2]=0;v[d+16>>2]=978704;OQ(d+8|0,d+16|0,b,c);v[d+16>>2]=978608;b=v[d+28>>2];if(b){t[b|0]=0;$a(v[d+28>>2])}v[d+28>>2]=0;bc(d+16|0);Up(a,d+8|0);a=v[d+8>>2];v[d+8>>2]=0;a:{if(!a){break a}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break a}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=d+32|0}function JYa(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=776}if(v[a+536>>2]){b=a;a:{if(w[a+288|0]){c=777;if(w[a+2272|0]){break a}}c=778}v[b+984>>2]=c}v[a+580>>2]=0;v[a+584>>2]=1;v[a+572>>2]=0;v[a+576>>2]=1;t[a+568|0]=255;v[a+600>>2]=0;v[a+592>>2]=1;v[a+596>>2]=0;v[a+652>>2]=1;t[a+648|0]=0;b=v[a+316>>2];v[a+604>>2]=b;v[a+588>>2]=b;v[a+608>>2]=v[a+616>>2]+b;return Ce(a)|0}function Ela(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,h=0;g=v[a+4>>2];if(g){a=Ma-16|0;Ma=a;g=v[g+12>>2];if(!g){v[c>>2]=0;v[c+4>>2]=0;v[d>>2]=0;v[d+4>>2]=0;v[e>>2]=0;v[e+4>>2]=1079508992;v[f>>2]=0;v[f+4>>2]=1079508992}v[a+12>>2]=0;v[a+8>>2]=0;v[a+4>>2]=0;Nu(g,b,a+12|0,a+8|0,a+4|0);A[c>>3]=v[a+12>>2];A[d>>3]=v[a+8>>2];h=+v[a+4>>2];A[e>>3]=h;A[f>>3]=h;Ma=a+16|0}}function tOa(a,b,c){a=a|0;b=C(b);c=C(c);var d=C(0),e=0,f=C(0),g=C(0),h=C(0),i=C(0),j=C(0);e=v[a+176>>2];f=z[e+20>>2];d=b;b=z[e+16>>2];g=C(d-b);d=C(z[e+12>>2]-f);h=C(z[e>>2]-b);i=C(b-z[e+8>>2]);j=z[e+4>>2];b=C(C(d*h)+C(i*C(j-f)));c=C(c-f);d=C(C(C(d*g)+C(c*i))/b);a=v[a+200>>2];b=C(C(C(C(f-j)*g)+C(c*h))/b);return C(C(C(C(d*z[a>>2])+C(z[a+4>>2]*b))+C(z[a+8>>2]*C(C(C(1)-d)-b))))}function oMa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=v[290868];if(b){a=v[290869];if((b|0)==(a|0)){a=b}else{while(1){d=a-12|0;c=v[d>>2];if(c){e=a-8|0;a=v[e>>2];if((c|0)==(a|0)){a=c}else{while(1){f=a-12|0;if(t[a-1|0]<=-1){$a(v[f>>2])}a=f;if((c|0)!=(a|0)){continue}break}a=v[d>>2]}v[e>>2]=c;$a(a)}a=d;if((b|0)!=(a|0)){continue}break}a=v[290868]}v[290869]=b;$a(a)}qB(1163460,v[290866])}function cZ(a,b){var c=0,d=0,e=0;a:{b:{c:{if(a){if(!b){return 0}c=w[a|0];if(!c){a=0;d=1;break c}if(hb(b,292115)){break c}a=c?a:0;if(!hb(a,253159)){c=310347;break b}c=hb(a,276936)?b:236126;break b}d=1;a=0;c=0;if(!b){break a}}e=hb(b,242376);c=e?b:236126;if(!e|d){break b}if(!hb(a,308610)){c=b;break b}if(hb(b,314203)){c=b;if(hb(b,311368)){break b}}c=314541}c=w[c|0]?c:0}return c}function Vn(a,b){var c=0;a:{if(!b){break a}if(b&1){c=w[a+3|0];t[a+3|0]=w[a|0];t[a|0]=c;c=w[a+2|0];t[a+2|0]=w[a+1|0];t[a+1|0]=c;a=a+4|0;c=b-1|0}else{c=b}if((b|0)==1){break a}while(1){b=w[a+3|0];t[a+3|0]=w[a|0];t[a|0]=b;b=w[a+2|0];t[a+2|0]=w[a+1|0];t[a+1|0]=b;b=w[a+7|0];t[a+7|0]=w[a+4|0];t[a+4|0]=b;b=w[a+6|0];t[a+6|0]=w[a+5|0];t[a+5|0]=b;a=a+8|0;c=c-2|0;if(c){continue}break}}}function Em(a,b,c,d,e,f){var g=0;a:{if((e|0)<1){break a}g=e-1|0;a=(b<<2)+a|0;b=(d<<2)+c|0;c=e&3;if(c){while(1){cb(v[b>>2],v[a>>2],f);e=e-1|0;b=b+4|0;a=a+4|0;c=c-1|0;if(c){continue}break}}if(g>>>0<3){break a}while(1){cb(v[b>>2],v[a>>2],f);cb(v[b+4>>2],v[a+4>>2],f);cb(v[b+8>>2],v[a+8>>2],f);cb(v[b+12>>2],v[a+12>>2],f);b=b+16|0;a=a+16|0;c=(e|0)>4;e=e-4|0;if(c){continue}break}}}function yka(a){a=a|0;var b=0,c=0;v[a>>2]=970916;vd(a+16|0);b=v[a+12>>2];v[a+12>>2]=0;a:{if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=v[a+8>>2];v[a+8>>2]=0;b:{if(!b){break b}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break b}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}bc(a);$a(a)}function RTa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=!a|v[a>>2]!=1381173770?d:v[a+4>>2];u[d+32>>1]=24;v[d+24>>2]=c;v[d+20>>2]=b;e=B(b,24)+31>>>3&536870908;v[d+28>>2]=e;if(w[a+86|0]){v[d+40>>2]=0;t[d+46|0]=w[a+81|0];t[d+45|0]=w[a+83|0];t[d+44|0]=w[a+85|0]}f=d,g=gb(B(c,e)),v[f+4>>2]=g;if(!(!a|v[a>>2]!=1381173770)){v[a+52>>2]=20480}f=d,g=gb(B(b,c)),v[f+8>>2]=g;return 1}function sla(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=a+c|0;id(f+e|0,f,b-c|0);a:{if((e|0)<1){break a}f=e&3;b=0;if(e-1>>>0>=3){e=e&-4;while(1){t[(b+c|0)+a|0]=w[d|0];t[((b|1)+c|0)+a|0]=w[d|0];t[((b|2)+c|0)+a|0]=w[d|0];t[((b|3)+c|0)+a|0]=w[d|0];b=b+4|0;e=e-4|0;if(e){continue}break}}if(!f){break a}while(1){t[(b+c|0)+a|0]=w[d|0];b=b+1|0;f=f-1|0;if(f){continue}break}}}function s3(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{f=v[a>>2];g=v[a+4>>2]-f|0;d=g>>2;c=d+1|0;if(c>>>0<1073741824){h=d<<2;e=v[a+8>>2]-f|0;d=e>>1;e=e>>2>>>0<536870911?c>>>0>d>>>0?c:d:1073741823;if(e){if(e>>>0>=1073741824){break a}c=ab(e<<2)}else{c=0}d=h+c|0;v[d>>2]=v[b>>2];if((g|0)>=1){cb(c,f,g)}v[a+8>>2]=c+(e<<2);v[a+4>>2]=d+4;v[a>>2]=c;if(f){$a(f)}return}Jc();L()}Zd(2065);L()}function rZa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(v[a+2308>>2]){e=v[a+2300>>2];d=v[a+2312>>2];b=v[a+2316>>2];while(1){c=w[d|0];if(!((c|0)==x[e+836>>1]?w[e+56|0]:0)){t[b+6|0]=255;t[b+7|0]=255}f=Qa[v[a+2296>>2]](c)|0;c=f>>>8|0;t[b+4|0]=c;t[b+2|0]=c;t[b|0]=c;c=(f|0)!=0;t[b+5|0]=c;t[b+3|0]=c;t[b+1|0]=c;b=b+8|0;d=d+1|0;g=g+1|0;if(g>>>0>2]){continue}break}}return 0}function Lr(a,b){var c=0,d=0,e=0;b=v[b>>2];d=v[(b?b+12|0:1117e3)>>2];b=w[d|0];a:{if(!b){break a}c=d;while(1){b:{e=b&255;b=e;if(b-48>>>0<10|(b|32)-97>>>0<26){break b}c:{switch(e-43|0){case 0:case 2:case 3:break b;case 15:break c;default:break a}}if(w[c+1|0]!=47|w[c+2|0]!=47){break a}eg(a,d,c-d|0);return}b=w[c+1|0];c=c+1|0;if(b){continue}break}}v[a>>2]=0;v[a+4>>2]=v[279250]}function GM(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;e=gb(40);v[e>>2]=0;e=be(a+624|0,1,e,4);i=P()|0;a:{while(1){if(d){h=0;break a}d=v[v[a+4>>2]+8>>2];v[296803]=0;h=V(d|0,a|0,1,b|0,c|0)|0;d=v[296803];v[296803]=0;f=-1;b:{c:{if(!d){break c}g=v[296804];if(!g){break c}f=pb(v[d>>2],e,i);if(!f){break b}Q(g|0)}d=P()|0;if((f|0)==1){continue}break a}break}$a(e);tc(d,g);L()}$a(e);return h}function ai(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=Ma-16|0;Ma=b;e=b+4|0;g=Vd(a,e,2);f=w[b+4|0]|w[b+5|0]<<8;d=b+12|0;c=Vd(a,d,2);u[b+4>>1]=(c|0)==2?t[b+12|0]:0;c=Vd(a,d,2);u[b+6>>1]=(c|0)==2?t[b+12|0]:0;c=Vd(a,b+12|0,2);u[b+8>>1]=(c|0)==2?t[b+12|0]:0;a=Vd(a,b+12|0,2);u[b+10>>1]=(a|0)==2?t[b+12|0]:0;a=SB(d,(g|0)==2?(f<<8|f>>>8)<<16>>16:0,e);Ma=b+16|0;return a?16777215:v[b+12>>2]}function Wsa(a,b,c){a=a|0;b=b|0;c=c|0;b=v[a+28>>2];c=v[b+596>>2];if(!(v[c+28>>2]>0|v[c>>2])){b=-1;a=v[a+108>>2];a:{if(!a){break a}a=v[a+4>>2];if(v[a+8>>2]==13){break a}a=v[a+16>>2];b=Qa[v[v[a>>2]+52>>2]](a)|0}fb(1,b,269439,0);return}kf(c);a=v[b+596>>2];a=v[((v[a+28>>2]<<2)+v[a+24>>2]|0)-4>>2];c=(v[a+12>>2]<<3)-8|0;A[b+600>>3]=A[c+v[a>>2]>>3];A[b+608>>3]=A[c+v[a+4>>2]>>3]}function C2a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Ma-32|0;Ma=c;d=w[a+16|0];e=w[a+28|0];f=v[a+12>>2];v[c+28>>2]=v[a+20>>2];v[c+24>>2]=e;v[c+20>>2]=d;v[c+16>>2]=f;vb(b,56888,c+16|0);if(v[a+20>>2]>=1){d=0;while(1){e=v[v[a+24>>2]+(d<<2)>>2];v[c+8>>2]=d;v[c>>2]=d;v[c+12>>2]=e&2047;v[c+4>>2]=e>>>11;vb(b,56531,c);d=d+1|0;if((d|0)>2]){continue}break}}Ma=c+32|0;return 0}function vJa(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;d=u[a+298>>1];e=B(d,b>>16);b=B(d,b&65535);d=e<<16;f=b+d|0;a=u[a+300>>1];g=B(a,c&65535);c=B(a,c>>16);h=c<<16;a=g+h|0;i=f+a|0;c=((((((e>>16)+(b>>31)|0)+(g>>31)|0)+(c>>16)|0)+(d>>>0>f>>>0)|0)+(a>>>0>>0)|0)+(a>>>0>i>>>0)|0;b=c>>31;a=i+b|0;return((b+c|0)+(a>>>0>>0)|0)+(a>>>0>4294959103)<<18|a- -8192>>>14}function uJa(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;d=u[a+294>>1];e=B(d,b>>16);b=B(d,b&65535);d=e<<16;f=b+d|0;a=u[a+296>>1];g=B(a,c&65535);c=B(a,c>>16);h=c<<16;a=g+h|0;i=f+a|0;c=((((((e>>16)+(b>>31)|0)+(g>>31)|0)+(c>>16)|0)+(d>>>0>f>>>0)|0)+(a>>>0>>0)|0)+(a>>>0>i>>>0)|0;b=c>>31;a=i+b|0;return((b+c|0)+(a>>>0>>0)|0)+(a>>>0>4294959103)<<18|a- -8192>>>14}function dP(a){var b=0,c=0,d=0;c=Ma-16|0;Ma=c;if(v[(v[v[a>>2]-12>>2]+a|0)+24>>2]){b=c+8|0;v[b+4>>2]=a;t[b|0]=0;if(!v[(v[v[a>>2]-12>>2]+a|0)+16>>2]){if(v[(v[v[a>>2]-12>>2]+a|0)+72>>2]){dP(v[(v[v[a>>2]-12>>2]+a|0)+72>>2])}t[b|0]=1}a:{if(!w[b|0]){break a}d=v[(v[v[a>>2]-12>>2]+a|0)+24>>2];if((Qa[v[v[d>>2]+24>>2]](d)|0)!=-1){break a}_l(v[v[a>>2]-12>>2]+a|0,1)}ED(b)}Ma=c+16|0}function Dn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;d=A[b+32>>3];e=A[b>>3];f=A[b+16>>3];h=A[a>>3];i=A[a+8>>3];c=A[b+24>>3];A[a+8>>3]=h*A[b+8>>3]+i*c;g=c;c=A[a+24>>3];j=A[a+16>>3];k=A[b+8>>3];A[a+24>>3]=g*c+j*k;m=A[b+40>>3];n=A[b+24>>3];g=d;d=A[a+32>>3];l=A[a+40>>3];A[a+32>>3]=g+(e*d+f*l);A[a+16>>3]=e*j+f*c;A[a>>3]=h*e+i*f;A[a+40>>3]=m+(d*k+l*n);return a}function qI(a){a=a|0;var b=0,c=0;a:{c=v[a+8>>2];if(!c){break a}b=v[c>>2];if(b){yd(b)}b=v[c+4>>2];if(b){yd(b)}b=v[c+8>>2];if(b){yd(b)}b=v[c+12>>2];if(b){yd(b)}b=v[c+16>>2];if(b){yd(b)}b=v[c+20>>2];if(b){yd(b)}b=v[c+24>>2];if(b){yd(b)}b=v[c+28>>2];if(b){yd(b)}b=v[c+32>>2];if(b){yd(b)}b=v[c+36>>2];if(b){yd(b)}Cq(v[c+40>>2]);if(w[a+34|0]){break a}Nd(v[a+8>>2]);v[a+8>>2]=0}}function oUa(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1145390665){ob(a,2050,0,0);return 2050}u[b+32>>1]=x[c+32>>1];t[b+34|0]=w[c+34|0];t[b+35|0]=w[c+35|0];t[b+36|0]=w[c+36|0];t[b+37|0]=w[c+37|0];t[b+38|0]=w[c+38|0];v[b+40>>2]=v[c+40>>2];v[b+44>>2]=v[c+44>>2];t[b+48|0]=w[c+48|0];v[b+52>>2]=v[c+52>>2];v[b+56>>2]=v[c+56>>2];v[b+60>>2]=v[c+60>>2];v[b+64>>2]=v[c+64>>2];return 0}function cf(a){var b=0,c=0,d=0,e=0;b=Ma-32|0;Ma=b;v[b+12>>2]=0;v[b+8>>2]=4176;c=v[b+12>>2];v[b>>2]=v[b+8>>2];v[b+4>>2]=c;d=v[b+4>>2];e=b+16|0;c=e;v[c+4>>2]=v[b>>2];v[c+8>>2]=d;v[c>>2]=a;c=Ma-16|0;Ma=c;if(v[a>>2]!=-1){d=c+8|0;v[d>>2]=e;v[c>>2]=d;while(1){if(v[a>>2]==1){continue}break}if(!v[a>>2]){v[a>>2]=1;Qa[4177](c);v[a>>2]=-1}}Ma=c+16|0;Ma=b+32|0;return v[a+4>>2]-1|0}function Rm(a,b){var c=0,d=0,e=0;a:{c=x[a+1148>>1];if(!c){if(!oj(a)){return 0}c=x[a+1148>>1];if(!c){break a}}d=v[a+1152>>2];e=w[d|0];u[a+1148>>1]=c-1;c=d+1|0;v[a+1152>>2]=c;u[b>>1]=e<<8;d=x[a+1148>>1];if(!d){if(!oj(a)){return 0}d=x[a+1148>>1];if(!d){break a}c=v[a+1152>>2]}e=w[c|0];u[a+1148>>1]=d-1;v[a+1152>>2]=c+1;u[b>>1]=e|x[b>>1];return 1}O(43294,7087,1949,87085);L()}function Ria(a,b){a=a|0;b=b|0;var c=0,d=0;a:{if((b|0)<1){break a}d=b-1|0;c=b&3;if(c){while(1){v[a>>2]=0;v[a+4>>2]=v[279250];a=a+8|0;b=b-1|0;c=c-1|0;if(c){continue}break}}if(d>>>0<3){break a}while(1){v[a>>2]=0;c=v[279250];v[a+16>>2]=0;v[a+12>>2]=c;v[a+8>>2]=0;v[a+4>>2]=c;c=v[279250];v[a+28>>2]=c;v[a+24>>2]=0;v[a+20>>2]=c;a=a+32|0;c=(b|0)>4;b=b-4|0;if(c){continue}break}}}function is(a){var b=0,c=0,d=0,e=0;b=Ma-16|0;Ma=b;a:{b:{if(!w[a+8|0]){break b}a=v[a>>2];if(a){break b}d=0;break a}d=v[a>>2]}c=ce(d);if(c>>>0<1073741808){c:{d:{if(c>>>0>=2){e=c+4&-4;a=ab(e<<2);v[b+8>>2]=e|-2147483648;v[b>>2]=a;v[b+4>>2]=c;break d}t[b+11|0]=c;a=b;if(!c){break c}}rb(a,d,c)}v[(c<<2)+a>>2]=0;a=qr(b);if(t[b+11|0]<=-1){$a(v[b>>2])}Ma=b+16|0;return a}sc();L()}function XS(a,b){var c=0,d=0;c=Ma-16|0;Ma=c;v[a>>2]=0;v[a+4>>2]=v[279250];b=v[b>>2];a:{if(b){Qa[v[v[b>>2]+28>>2]](c+8|0,b,1);break a}v[c+8>>2]=0}jb(a,c+8|0);b=v[c+8>>2];v[c+8>>2]=0;b:{if(!b){break b}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break b}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}b=v[a>>2];v[a+4>>2]=v[(b?b+12|0:1117e3)>>2];Ma=c+16|0;return a}function Kc(a,b,c){var d=0,e=0,f=0;d=Ma-32|0;Ma=d;v[d+28>>2]=c;e=or(a,b);a:{if(!e){c=v[a+628>>2];v[d>>2]=v[a>>2];v[d+8>>2]=b;v[d+4>>2]=b>>>0>65535?19338:22352;wb(c,13501,15352,d);break a}if(!(w[e+14|0]|(!(w[a+12|0]&64)|(b|0)==257))){b=v[a+628>>2];a=v[a>>2];v[d+20>>2]=v[e+16>>2];v[d+16>>2]=a;wb(b,13501,22789,d+16|0);break a}f=Qa[v[a+668>>2]](a,b,c)|0}Ma=d+32|0;return f}function I5(a){var b=0,c=0,d=0;b=v[a+28>>2];if(b){if(v[a+24>>2]){while(1){c=v[b+4>>2];if(c){$a(c)}c=v[b+20>>2];if(c){ne(c)}c=v[b+24>>2];if(c){Pt(c)}c=v[b+28>>2];if(c){ve(c)}c=v[b+32>>2];if(c){ve(c)}b=b+60|0;d=d+1|0;if(d>>>0>2]){continue}break}b=v[a+28>>2]}$a(b)}b=v[a+32>>2];if(b){bi(b)}b=v[a+36>>2];if(b){bi(b)}b=v[a+44>>2];if(b){bi(b)}a=v[a+48>>2];if(a){bi(a)}}function yV(a){a=a|0;var b=0,c=0;v[a>>2]=887280;while(1){a:{if(!w[(a+b|0)+1188|0]){break a}c=v[((b<<2)+a|0)+164>>2];if(!c){break a}tb(c)}b=b+1|0;if((b|0)!=256){continue}break}nq(v[a+1444>>2]);if(v[a+3512>>2]==7){bb(a+3512|0)}if(v[a+3528>>2]==7){bb(a+3528|0)}v[a>>2]=887188;b=v[a+4>>2];if(b){$a(Bb(b))}b=v[a+16>>2];if(b){$a(Bb(b))}b=v[a+28>>2];if(b){$a(Bb(b))}return a|0}function gva(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=zb(c);a:{if((b|0)<0|(e|0)<0|((e|0)>1024|(b|0)>2147482623)){break a}f=b;g=a;d=v[a+1032>>2];if(!((d|0)<=(b|0)&(b+e|0)<=(v[a+1036>>2]+d|0))){d=0;if(dh(v[a+4>>2],b,0)){break a}v[a+1032>>2]=b;b=kg(a+8|0,1,1024,v[a+4>>2]);v[a+1036>>2]=b;if((b|0)<(e|0)){break a}d=v[a+1032>>2]}d=!Jb((f+(g-d|0)|0)+8|0,c,e)}return d|0}function OY(a,b){var c=0,d=0,e=0,f=0;e=Ma-96|0;Ma=e;c=a;v[c>>2]=0;v[c+4>>2]=0;v[c+24>>2]=-1;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;a:{if(co(b,e+8|0)){break a}c=v[e+48>>2];d=v[e+52>>2];if(c>>>0<1&(d|0)<=0|(d|0)<0){break a}d=mu(b,0,0);if((d|0)==-1){break a}b=RP(c,1,d);fu(d);if((b|0)==-1){break a}v[a+16>>2]=b;v[a+4>>2]=b;v[a+20>>2]=b+c;f=1}Ma=e+96|0;return f}function Lka(a,b){a=a|0;b=b|0;var c=0,d=0;if((b|0)>=1){while(1){ac(a+52|0);v[a+40>>2]=969432;v[a+16>>2]=969400;c=v[a+44>>2];if(c){d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(!d){Qa[v[v[c>>2]+4>>2]](c)}v[a+44>>2]=0}v[a+32>>2]=969432;c=v[a+36>>2];if(c){d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(!d){Qa[v[v[c>>2]+4>>2]](c)}v[a+36>>2]=0}db(a+24|0);a=a+68|0;c=(b|0)>1;b=b-1|0;if(c){continue}break}}}function tua(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;a:{d=v[a+4>>2];if((d|0)<1){break a}f=d&3;a=0;if(d-1>>>0>=3){g=d&-4;while(1){d=a<<3;A[d+c>>3]=A[b+d>>3];e=d|8;A[e+c>>3]=A[b+e>>3];e=d|16;A[e+c>>3]=A[b+e>>3];d=d|24;A[d+c>>3]=A[b+d>>3];a=a+4|0;g=g-4|0;if(g){continue}break}}if(!f){break a}while(1){d=a<<3;A[d+c>>3]=A[b+d>>3];a=a+1|0;f=f-1|0;if(f){continue}break}}}function qE(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=Ma-16|0;Ma=e;v[a>>2]=0;if((c|0)<=-1){c=zb(v[b+12>>2])}if((c|0)>=1){d=e+8|0;Qa[v[v[b>>2]+8>>2]](d,b,c);jb(a,d);d=v[e+8>>2];v[e+8>>2]=0;a:{if(!d){break a}f=v[d+4>>2]-1|0;v[d+4>>2]=f;if(f){break a}f=v[d+4>>2];if(!f){v[d+4>>2]=-32767}if(!f){Qa[v[v[d>>2]+4>>2]](d)}}g=Sb(v[v[a>>2]+12>>2],v[b+12>>2],c)+c|0,h=0,t[g|0]=h}Ma=e+16|0}function PG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;c=v[a+28>>2];if(v[c+664>>2]){b=-1;a=v[a+108>>2];a:{if(!a){break a}a=v[a+4>>2];if(v[a+8>>2]==13){break a}a=v[a+16>>2];b=Qa[v[v[a>>2]+52>>2]](a)|0}fb(0,b,245039,0);return}e=c;b=v[b+8>>2];d=0;b:{if(!hb(b,292597)){break b}d=2;if(!hb(b,247144)){break b}d=hb(b,260630)?1:3}v[e+420>>2]=d;a=v[a+8>>2];Qa[v[v[a>>2]+148>>2]](a,c)}function DA(a,b,c){var d=0,e=0,f=0,g=0;d=v[c>>2];if(!d){d=ab((b<<2)+5|0);v[c>>2]=d}if((b|0)<1){a=d}else{f=(b<<2)+a|0;while(1){g=a+4|0;a=v[a>>2];a:{if(a>>>0<=65535){e=2;b=d;break a}b=a+983040>>>10&1023|55296;t[d|0]=b;t[d+1|0]=b>>>8;a=a&1023|-9216;e=4;b=d+2|0}t[b|0]=a;t[b+1|0]=a>>>8;d=d+e|0;a=g;if(f>>>0>a>>>0){continue}break}a=v[c>>2]}v[c+4>>2]=d-a;t[d|0]=0;t[d+1|0]=0}function CUa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if(v[c>>2]!=1950701684){ob(a,2050,0,0);return 2050}e=v[c+32>>2];v[b+32>>2]=e;d=v[c+40>>2];v[b+40>>2]=d;a:{if(e){d=Qa[v[a+152>>2]](e)|0;v[b+36>>2]=d;if(!d){break a}cb(d,v[c+36>>2],v[b+32>>2]);d=v[b+40>>2]}if(d){d=Qa[v[a+152>>2]](d)|0;v[b+44>>2]=d;if(!d){break a}cb(d,v[c+44>>2],v[b+40>>2])}return 0}ob(a,1,0,0);return 1}function uf(a,b,c,d){var e=0,f=0,g=0;e=v[b>>2];if(!e){return 0}g=v[e+4>>2];a:{if(g){v[e+4>>2]=v[g+8>>2];e=v[b>>2];f=v[e+4>>2];if(f){break a}}g=v[a+12>>2];a=v[a+4>>2];while(1){f=v[e>>2]+1|0;v[e>>2]=f;if((a|0)==(f|0)){$a(e);v[b>>2]=0;return 0}v[e+4>>2]=v[g+(f<<2)>>2];e=v[b>>2];f=v[e+4>>2];if(!f){continue}break}}v[c>>2]=v[f>>2];v[d>>2]=v[v[v[b>>2]+4>>2]+4>>2];return 1}function t9(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;if((c|0)>=1){a=v[a+12>>2];while(1){f=c;e=0;c=x[a>>1];g=c&32767;a:{if(!g){break a}d=Lp((+(g|0)+.5)*.0027076061740622863+-44.3614195558365);d=c&32768?-d:d;if(d<=0){break a}e=d>=1;d=K(d)*256;b:{if(D(d)<2147483648){c=~~d;break b}c=-2147483648}e=e?255:c}a=a+2|0;c=f-1|0;t[b|0]=e;b=b+1|0;if((f|0)>1){continue}break}}}function bsa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=Ma-16|0;Ma=e;Qa[v[v[a>>2]+20>>2]](a,b,e,d);a=65536-v[e+8>>2]|0;a=(a|0)<65536?a:65536;b=(a|0)>0?a:0;a=65536-v[e+4>>2]|0;a=(a|0)<65536?a:65536;d=(a|0)>0?a:0;a=65536-v[e>>2]|0;a=(a|0)<65536?a:65536;f=(a|0)>0?a:0;a=(d|0)<(f|0)?d:f;a=(a|0)>(b|0)?b:a;v[c+12>>2]=a;v[c+8>>2]=b-a;v[c+4>>2]=d-a;v[c>>2]=f-a;Ma=e+16|0}function BK(a,b){var c=0,d=0,e=0;a:{if(!b|!a|(a|0)==(b|0)){break a}d=v[b>>2];c=v[b+4>>2];if(!((d|0)!=v[a>>2]|(c|0)!=v[a+4>>2])&v[b+8>>2]==v[a+8>>2]){break a}e=v[b+12>>2];b=v[b+8>>2];v[a+4>>2]=(c|0)>0?c:0;v[a>>2]=(d|0)>0?d:0;if((b|0)>=1){v[a+8>>2]=b}v[a+12>>2]=e;b=v[a+40>>2];if(b){Qa[v[256542]](b);v[a+40>>2]=0}b=Qa[v[256541]](B(c,e)<<2)|0;if(!b){return}v[a+40>>2]=b}}function qx(a,b,c){var d=0,e=0,f=0,g=0;e=Ma-16|0;Ma=e;d=w[a+11|0]>>>7|0?(v[a+8>>2]&2147483647)-1|0:1;a:{if(d>>>0>=c>>>0){if(w[a+11|0]>>>7|0){d=v[a>>2]}else{d=a}Rl(d,b,c);v[e+12>>2]=0;v[d+(c<<2)>>2]=v[e+12>>2];b:{if(w[a+11|0]>>>7|0){v[a+4>>2]=c;break b}t[a+11|0]=c}break a}f=a;g=d;d=c-d|0;if(w[a+11|0]>>>7|0){a=v[a+4>>2]}else{a=w[a+11|0]}sr(f,g,d,a,0,a,c,b)}Ma=e+16|0}function qta(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=A[b+24>>3];f=v[b+24>>2];g=v[b+16>>2];c=v[a+28>>2];e=A[c+616>>3]+(v[b>>2]==1?+v[b+8>>2]:A[b+8>>3]);A[c+616>>3]=e;d=A[c+624>>3]+((g|0)==1?+(f|0):d);A[c+624>>3]=d;A[c+600>>3]=A[c+536>>3]+(e*A[c+504>>3]+d*A[c+520>>3]);A[c+608>>3]=A[c+544>>3]+(e*A[c+512>>3]+d*A[c+528>>3]);a=v[a+8>>2];Qa[v[v[a>>2]+184>>2]](a,c)}function cja(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;e=v[a+4>>2];a=w[c|0];d=a+w[b|0]|0;t[b|0]=d;if((e|0)>=2){l=b+e|0;b=b+1|0;while(1){h=d&255;d=h-a|0;f=d>>31;e=w[c+1|0];g=e-a|0;i=g>>31;j=d+g|0;k=j>>31;m=a;a=f^d+f;d=i^g+i;f=a>>>0>>0;d=w[b|0]+((k^k+j)<((f?a:d)|0)?m:f?e:h)|0;t[b|0]=d;c=c+1|0;a=e;b=b+1|0;if(l>>>0>b>>>0){continue}break}}}function NC(a){var b=0;b=v[a+584>>2];if(b){if(!Pl(a,187872,1)){wb(v[a+628>>2],187840,10368,0);return}v[b+44>>2]=v[a+672>>2];v[a+672>>2]=576;v[b+48>>2]=v[a+668>>2];v[a+668>>2]=577;v[b+52>>2]=v[a+676>>2];v[a+676>>2]=578;v[b+56>>2]=v[a+516>>2];v[a+516>>2]=579;v[b+60>>2]=v[a+524>>2];v[a+524>>2]=580;v[b+40>>2]=0;v[b+24>>2]=0;v[b>>2]=1;return}O(3788,6354,677,187840);L()}function A1a(a){a=a|0;var b=0,c=0;b=v[v[a+40>>2]+16>>2];a=v[a+52>>2];Qa[v[v[a>>2]+20>>2]](a,2)|0;a:{if((b|0)<1){break a}if((b|0)!=1){c=b&-2;while(1){Qa[v[v[a>>2]+20>>2]](a,2)|0;Qa[v[v[a>>2]+20>>2]](a,2)|0;Qa[v[v[a>>2]+20>>2]](a,2)|0;Qa[v[v[a>>2]+20>>2]](a,2)|0;c=c-2|0;if(c){continue}break}}if(!(b&1)){break a}Qa[v[v[a>>2]+20>>2]](a,2)|0;Qa[v[v[a>>2]+20>>2]](a,2)|0}}function zx(a,b,c){var d=0,e=0;if(c&2048){t[a|0]=43;a=a+1|0}if(c&1024){t[a|0]=35;a=a+1|0}d=c&260;if((d|0)!=260){t[a|0]=46;t[a+1|0]=42;a=a+2|0}c=c&16384;while(1){e=w[b|0];if(e){t[a|0]=e;a=a+1|0;b=b+1|0;continue}break}a:{b:{if((d|0)!=256){if((d|0)!=4){break b}b=c?70:102;break a}b=c?69:101;break a}b=c?65:97;if((d|0)==260){break a}b=c?71:103}t[a|0]=b;return(d|0)!=260}function wi(a){var b=0;if(a){b=v[a>>2];if(b){Qa[v[256556]](b)}b=v[a+12>>2];if(b){Qa[v[256556]](b)}b=v[a+16>>2];if(b){Qa[v[256556]](b)}b=v[a+24>>2];if(b){Qa[v[256556]](b)}b=v[a+32>>2];if(b){Qa[v[256556]](b)}b=v[a+4>>2];if(b){Qa[v[256556]](b)}b=v[a+8>>2];if(b){Qa[v[256556]](b)}b=v[a+28>>2];if(b){Qa[v[256556]](b)}b=v[a+40>>2];if(b){Qa[v[256556]](b)}Qa[v[256556]](a)}}function tD(a,b,c,d,e){var f=0,g=0,h=0,i=0;g=Ma-16|0;Ma=g;f=g+8|0;b=v[b+28>>2];v[f>>2]=b;v[b+4>>2]=v[b+4>>2]+1;b=hi(f);Qa[v[v[b>>2]+48>>2]](b,1004032,1004064,c)|0;b=Br(f);h=d,i=Qa[v[v[b>>2]+12>>2]](b)|0,v[h>>2]=i;h=e,i=Qa[v[v[b>>2]+16>>2]](b)|0,v[h>>2]=i;Qa[v[v[b>>2]+20>>2]](a,b);a=v[f>>2];b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Qa[v[v[a>>2]+8>>2]](a)}Ma=g+16|0}function ppa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=Ma-16|0;Ma=c;v[c>>2]=13;ee(a+8|0,c);b=ab(48);f=v[c+8>>2];g=v[c+12>>2];d=v[a+32>>2];e=v[a+28>>2];a=v[a+24>>2];h=v[c>>2];i=v[c+4>>2];v[b>>2]=952916;v[b+24>>2]=a;v[b+28>>2]=e;v[b+32>>2]=d;v[b+44>>2]=0;v[b+16>>2]=f;v[b+20>>2]=g;v[b+8>>2]=h;v[b+12>>2]=i;a=a+e|0;v[b+40>>2]=a;v[b+36>>2]=a+d;Ma=c+16|0;return b|0}function lZa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(v[a+2308>>2]){c=v[a+2312>>2];b=v[a+2316>>2];while(1){d=Qa[v[a+2296>>2]](w[c|0])|0;e=Qa[v[a+2296>>2]](w[c+1|0])|0;f=Qa[v[a+2296>>2]](w[c+2|0])|0;t[b+3|0]=(e|0)!=0;t[b+2|0]=e>>>8;t[b+1|0]=(d|0)!=0;t[b|0]=d>>>8;t[b+5|0]=(f|0)!=0;t[b+4|0]=f>>>8;b=b+6|0;c=c+3|0;g=g+1|0;if(g>>>0>2]){continue}break}}return 0}function iva(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:{if(b>>>0>2147482623){break a}e=b;d=v[a+1032>>2];if(!((d|0)<=(b|0)&(b+4|0)<=(v[a+1036>>2]+d|0))){d=0;if(dh(v[a+4>>2],b,0)){break a}v[a+1032>>2]=b;b=kg(a+8|0,1,1024,v[a+4>>2]);v[a+1036>>2]=b;if((b|0)<4){break a}d=v[a+1032>>2]}a=(e-d|0)+a|0;v[c>>2]=w[a+8|0]|w[a+9|0]<<8|(w[a+10|0]<<16|w[a+11|0]<<24);d=1}return d|0}function Vw(a){var b=0,c=0,d=0;Ge(a,2);v[a>>2]=54336;c=a,d=ab(16384),v[c+1028>>2]=d;c=a,d=ab(4096),v[c+1060>>2]=d;c=a,d=ab(4096),v[c+1064>>2]=d;c=a,d=ab(8192),v[c+1068>>2]=d;c=a,d=ab(20012),v[c+1072>>2]=d;c=a,d=ab(10006),v[c+1076>>2]=d;c=a,d=ab(257),v[c+1052>>2]=d;c=a,d=ab(256),v[c+1112>>2]=d;b=ab(256);v[a+1120>>2]=0;v[a+1116>>2]=b;t[a+492|0]=0;t[b|0]=0;return a}function Sca(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;if(!(!f|!e)){c=h<<2;a=g<<1;while(1){f=f-1|0;g=0;while(1){v[b>>2]=w[i+1|0]|w[j+1|0]<<8|w[k+1|0]<<16|w[l+1|0]<<24;b=b+4|0;l=l+2|0;k=k+2|0;j=j+2|0;i=i+2|0;g=g+1|0;if((g|0)!=(e|0)){continue}break}b=b+c|0;l=a+l|0;k=a+k|0;j=a+j|0;i=a+i|0;if(f){continue}break}}}function MSa(a){a=a|0;var b=0,c=0,d=0;b=Ma-32|0;Ma=b;Qa[v[v[a>>2]+8>>2]](v[a+4>>2],16,0)|0;v[b>>2]=0;u[b+30>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+30|0,1,2)|0;c=w[b+30|0];d=b;if(x[a+25204>>1]==18761){c=c|w[b+31|0]<<8}else{c=w[b+31|0]|c<<8}v[d+4>>2]=c&65535;c=x[a+26304>>1];d=x[a+26306>>1];v[b+12>>2]=2147483647;v[b+8>>2]=B(c,d);F3(a,b,0);v[a+26136>>2]=0;Ma=b+32|0}function wD(a,b,c,d,e){var f=0,g=0,h=0,i=0;g=Ma-16|0;Ma=g;f=g+8|0;b=v[b+28>>2];v[f>>2]=b;v[b+4>>2]=v[b+4>>2]+1;b=Yi(f);Qa[v[v[b>>2]+32>>2]](b,1004032,1004064,c)|0;b=Dr(f);h=d,i=Qa[v[v[b>>2]+12>>2]](b)|0,t[h|0]=i;h=e,i=Qa[v[v[b>>2]+16>>2]](b)|0,t[h|0]=i;Qa[v[v[b>>2]+20>>2]](a,b);a=v[f>>2];b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Qa[v[v[a>>2]+8>>2]](a)}Ma=g+16|0}function uY(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=Ma-32|0;Ma=d;kn(v[a+4>>2]);v[a+4>>2]=0;c=v[a+8>>2];if(c){$a(c)}v[a+8>>2]=0;v[a+12>>2]=0;c=d+16|0;v[c+12>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;v[c>>2]=520704;e=Ik(c,b,0);if(e){b=v[c+12>>2];v[a+12>>2]=b;f=ab(b);v[a+8>>2]=f;v[d+12>>2]=0;Ys(c,f,b,d+12|0);Si(c);g=a,h=tH(v[a+8>>2],v[a+12>>2]),v[g+4>>2]=h}Xh(c);Ma=d+32|0;return e}function fk(a,b,c){var d=0,e=0,f=0;a:{b:{if(!a){break b}d=v[v[a>>2]+32>>2];if(d){d=Qa[d|0](a,b)|0}else{d=0}if(d|!c){break a}d=v[a+4>>2];c=v[d+16>>2];if((c|0)<1){break b}f=(d+(c<<2)|0)+20|0;c=d+20|0;while(1){e=v[c>>2];c:{if((e|0)==(a|0)){break c}d=v[v[e>>2]+32>>2];if(!d){break c}d=Qa[d|0](e,b)|0;if(d){break a}}c=c+4|0;if(f>>>0>c>>>0){continue}break}}d=0}return d}function fNa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;v[b>>2]=0;v[b+4>>2]=1084227584;v[c>>2]=0;v[c+4>>2]=0;v[d>>2]=0;v[d+4>>2]=0;e=v[a+12>>2];a:{if(!e){break a}e=v[e+180>>2];if(!e){break a}e=zn(e,0);if(e){A[c>>3]=u[e+42>>1];A[d>>3]=u[e+38>>1];A[b>>3]=x[e+18>>1]}a=zn(v[v[a+12>>2]+180>>2],2);if(!a|x[a>>1]==65535){break a}A[c>>3]=x[a+76>>1];A[d>>3]=0-x[a+78>>1]|0}}function Hg(a,b){var c=0,d=0;c=v[a>>2];a:{if(c>>>0>=b>>>0){break a}while(1){b:{c:{switch(w[c|0]){case 0:case 9:case 10:case 12:case 13:case 32:break b;case 37:break c;default:break a}}d=37;while(1){d:{switch(d-10|0){case 0:case 3:break b;default:break d}}c=c+1|0;if((c|0)==(b|0)){c=b}else{d=w[c|0];continue}break}}c=c+1|0;if(c>>>0>>0){continue}break}}v[a>>2]=c}function H_(a,b,c,d,e,f,g){var h=0,i=0;h=Ma-16|0;Ma=h;i=v[d>>2];v[a+20>>2]=0;v[a+24>>2]=0;v[a+12>>2]=0;v[a+16>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a+32>>2]=c;v[a+28>>2]=b;u[a+38>>1]=g;u[a+36>>1]=f;v[a>>2]=d;d=0;b=yb(i,4,0,e,0,h+12|0);v[a+16>>2]=b;a:{if(v[h+12>>2]){if(b){Qa[v[i+8>>2]](i,b)}v[a+16>>2]=0;d=v[h+12>>2];break a}v[a+20>>2]=b;v[a+24>>2]=e}Ma=h+16|0;return d}function yR(a){a=a|0;var b=0,c=0,d=0,e=0;c=Ma-16|0;Ma=c;v[a>>2]=972720;e=a+8|0;b=e;d=v[b+24>>2];v[c+12>>2]=b;v[c+8>>2]=d;a:{b=v[c+8>>2];b:{if(!b){break b}while(1){if(v[c+12>>2]!=(e|0)){break a}d=v[b+20>>2];if(d){ac(d);$a(d);b=v[c+8>>2];if(!b){break b}}b=v[b>>2];v[c+8>>2]=b;if(b){continue}break}}vd(a- -64|0);vd(a+36|0);vd(e);Ma=c+16|0;return a|0}wd(c+8|0,e);L()}function qLa(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;b=Ma-16|0;Ma=b;f=v[a>>2];a=zb(c);f=cc(f,a+6|0,b+12|0);g=v[b+12>>2];if(!g){f=cb(f,c,a);a=f+a|0;c=w[292284]|w[292285]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[292280]|w[292281]<<8|(w[292282]<<16|w[292283]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;v[d>>2]=f;v[e>>2]=0}Ma=b+16|0;return g|0}function m6(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;f=v[a+72>>2];g=w[a+13|0];h=v[a+60>>2];c=w[a+12|0];a:{if(!c){b=1;break a}a=w[a+52|0];d=c&7;b:{if(c-1>>>0<7){b=1;break b}e=c&248;b=1;while(1){b=B(a,B(a,B(a,B(a,B(a,B(a,B(a,B(a,b))))))));e=e-8|0;if(e){continue}break}}if(!d){break a}while(1){b=B(a,b);d=d-1|0;if(d){continue}break}}return(B(c,h)+B(b+f|0,g)|0)+44|0}function jZa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;if(v[a+2308>>2]){d=v[a+2300>>2];c=v[a+2312>>2];b=v[a+2316>>2];while(1){e=w[c+2|0];f=w[c+1|0];g=w[c|0];a:{if(!(!w[d+56|0]|(g|0)!=x[d+838>>1]|x[d+840>>1]!=(f|0))){if(x[d+842>>1]==(e|0)){break a}}t[b+3|0]=255}t[b+2|0]=e;t[b+1|0]=f;t[b|0]=g;b=b+4|0;c=c+3|0;h=h+1|0;if(h>>>0>2]){continue}break}}return 0}function _H(a,b){var c=0,d=0;d=-6;a:{if(w[324916]!=49){break a}if(!a){return-2}v[a+24>>2]=0;c=v[a+32>>2];if(!c){v[a+40>>2]=0;v[a+32>>2]=2632;c=2632}if(!v[a+36>>2]){v[a+36>>2]=2633}c=Qa[c|0](v[a+40>>2],1,7120)|0;if(!c){return-4}v[a+28>>2]=c;v[c+56>>2]=0;v[c>>2]=a;v[c+4>>2]=16180;b=yY(a,b);d=0;if(!b){break a}Qa[v[a+36>>2]](v[a+40>>2],c);v[a+28>>2]=0;d=b}return d}function ts(a,b){var c=0,d=0,e=0,f=0,g=0;c=v[a+56>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;a:{if((c|0)==-1){break a}d=v[a+56>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break a}e=v[a+56>>2];e=Qa[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){break a}f=v[a+56>>2];f=Qa[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break a}v[a+68>>2]=v[a+68>>2]+4;v[b>>2]=f|(d<<16|c<<24|e<<8);g=1}return g}function ZEa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=v[b>>2];while(1){d=d+1|0;if(d>>>0>255){v[b>>2]=0;return 0}f=Qa[v[a+20>>2]](x[v[a+16>>2]+(d<<1)>>1])|0;g=v[a+24>>2];a:{if(g){h=v[a+28>>2];c=0;while(1){e=v[(c<<2)+h>>2];if(!(!e|w[e|0]!=w[f|0])){if(!hb(e,f)){break a}}c=c+1|0;if((g|0)!=(c|0)){continue}break}}c=0}if(!c){continue}break}v[b>>2]=d;return c|0}function KD(a,b){var c=0,d=0,e=0;e=Ma-32|0;Ma=e;c=t[b|0];a:{if(!(w[b+1|0]?c:0)){c=LD(a,c);break a}eb(e,0,32);d=w[b|0];if(d){while(1){c=(d>>>3&28)+e|0;v[c>>2]=v[c>>2]|1<>>3&28)+e>>2]>>>d&1){c=b;break a}d=w[b+1|0];c=b+1|0;b=c;if(d){continue}break}}Ma=e+32|0;return c-a|0}function hz(a,b){var c=0,d=0,e=0,f=0;a:{c=v[a+52>>2];d=v[c+8>>2];if((d|0)>=1){f=v[c>>2];c=0;while(1){e=v[(c<<2)+f>>2];if(v[e+4>>2]==(b|0)){break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}}a=v[a+48>>2];d=v[a+8>>2];if((d|0)<1){return 0}a=v[a>>2];c=0;while(1){e=v[a+(c<<2)>>2];if(v[e+4>>2]==(b|0)){break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}return 0}return e}function haa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(qj(a,v[b+8>>2],e)){if(!(v[b+28>>2]==1|v[b+4>>2]!=(c|0))){v[b+28>>2]=d}return}a:{if(!qj(a,v[b>>2],e)){break a}if(!(v[b+16>>2]!=(c|0)&v[b+20>>2]!=(c|0))){if((d|0)!=1){break a}v[b+32>>2]=1;return}v[b+20>>2]=c;v[b+32>>2]=d;v[b+40>>2]=v[b+40>>2]+1;if(!(v[b+36>>2]!=1|v[b+24>>2]!=2)){t[b+54|0]=1}v[b+44>>2]=4}}function _N(a){var b=0,c=0,d=0,e=0,f=0;c=Ma-32|0;Ma=c;d=v[a+56>>2];e=x3a(d,0,x[a+84>>1],0);f=Pa;b=e;if(!(!d|!f)){b=v[a>>2];e=v[a+628>>2];v[c+16>>2]=18329;wb(e,b,22641,c+16|0);b=0}a:{if(x[a+138>>1]!=1){break a}d=x[a+98>>1];e=x3a(d,0,b,0);f=Pa;b=e;if(!d|!f){break a}b=v[a>>2];a=v[a+628>>2];v[c>>2]=18329;wb(a,b,22641,c);b=0}Ma=c+32|0;return(b>>>3|0)+((b&7)!=0)|0}function Xt(a,b){var c=0,d=0,e=0;a:{if((b|0)<1){break a}d=b;while(1){b:{c=v[a+8>>2];c:{if(c&7){break c}e=v[a+64>>2];if(!((e|0)<0|v[a+60>>2]<(e|0))){v[a+8>>2]=c|4;break c}c=v[a+28>>2];v[a+28>>2]=c-1;if((c|0)>=1){v[a+60>>2]=v[a+60>>2]+1;v[a+24>>2]=v[a+24>>2]+1;break b}if((Eb(a,1)|0)!=-1){break b}}b=b-d|0;break a}c=(d|0)>1;d=d-1|0;if(c){continue}break}}return b}function DWa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(!w[a+285|0]){ob(a,1029,0,0);return 1029}if(c){ob(a,1028,0,0);return 1028}c=ZB(a);a:{if(c){break a}if(!v[a+448>>2]){v[a+448>>2]=v[a+436>>2]}if(!v[a+452>>2]){v[a+452>>2]=v[a+440>>2]}if(!v[a+456>>2]){v[a+456>>2]=v[a+444>>2]}t[a+285|0]=0;if(w[a+112|0]){c=Qa[v[b+4>>2]](a,b,e)|0;if(c){break a}}c=0}return c|0}function e6(a){a=a|0;var b=0,c=0,d=0,e=0;b=Ma-16|0;Ma=b;e=Hh(a,b+12|0,4);a:{if((e|0)<0){c=-1;break a}d=e;while(1){if((d|0)>=1){c=-1;d=d-1|0;if((nj(a,w[d+(b+12|0)|0])|0)!=-1){continue}break a}break}c=-1;if((e|0)<4){break a}a=w[b+12|0]|w[b+13|0]<<8|(w[b+14|0]<<16|w[b+15|0]<<24);c=(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))!=1296647690?-1:0}Ma=b+16|0;return c|0}function Y5(a){a=a|0;var b=0,c=0,d=0,e=0;b=Ma-16|0;Ma=b;e=Hh(a,b+12|0,4);a:{if((e|0)<0){c=-1;break a}d=e;while(1){if((d|0)>=1){c=-1;d=d-1|0;if((nj(a,w[d+(b+12|0)|0])|0)!=-1){continue}break a}break}c=-1;if((e|0)<4){break a}a=w[b+12|0]|w[b+13|0]<<8|(w[b+14|0]<<16|w[b+15|0]<<24);c=(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))!=1504078485?-1:0}Ma=b+16|0;return c|0}function Wwa(a){a=a|0;var b=0,c=0;if(a){a:{b:{c:{d:{b=v[a+20>>2];if(b){c=v[b+80>>2];b=v[a+4>>2];if(!b){break c}if(!c){c=0;break d}if(_j(c,b)){break c}b=v[a+4>>2];break d}b=v[a+4>>2];if(b){break d}b=v[a+12>>2];if(!b){break a}break b}Qa[v[256556]](b)}b=v[a+12>>2];if(!b){break a}if(!c){break b}if(_j(c,b)){break a}b=v[a+12>>2]}Qa[v[256556]](b)}Qa[v[256556]](a)}}function Te(a,b,c){var d=0,e=0,f=0,g=0;e=Ma-16|0;Ma=e;d=w[a+11|0]>>>7|0?(v[a+8>>2]&2147483647)-1|0:10;a:{if(d>>>0>=c>>>0){if(w[a+11|0]>>>7|0){d=v[a>>2]}else{d=a}ur(d,b,c);t[e+15|0]=0;t[c+d|0]=w[e+15|0];b:{if(w[a+11|0]>>>7|0){v[a+4>>2]=c;break b}t[a+11|0]=c}break a}f=a;g=d;d=c-d|0;if(w[a+11|0]>>>7|0){a=v[a+4>>2]}else{a=w[a+11|0]}$t(f,g,d,a,0,a,c,b)}Ma=e+16|0}function I$a(a){a=a|0;var b=0,c=0,d=0;b=v[a+224>>2];a:{if(!b){break a}c=v[a+644>>2];d=Qa[b|0](a,v[a+680>>2]+v[a+572>>2]|0)|0;b=v[a+660>>2]-v[a+656>>2]|0;if((b|0)<1){break a}a=d+B(v[a+672>>2],3)|0;while(1){t[c|0]=w[a+1|0]&248;t[c+1|0]=w[a|0]>>>3&28|w[a+1|0]<<5;d=w[a|0];t[c+3|0]=0;t[c+2|0]=d<<3;a=a+2|0;c=c+4|0;d=(b|0)>1;b=b-1|0;if(d){continue}break}}return 0}function Hy(a,b,c,d){var e=0,f=0;a:{if((d-c|0)>=257){f=Hy(a,b,c,(B(c,6)+(d<<1)|0)/8|0);e=Hy(a,b,(B(d,3)+B(c,5)|0)/8|0,(B(d,5)+B(c,3)|0)/8|0);a=Hy(a,b,(B(d,6)+(c<<1)|0)/8|0,d);break a}e=v[a+8>>2];a=v[(v[e+(d<<2)>>2]<<2)+b>>2];f=v[(v[e+(c<<2)>>2]<<2)+b>>2];e=v[(v[e+((c+d|0)/2<<2)>>2]<<2)+b>>2]}b=(a|0)<(f|0);c=b?f:a;a=b?a:f;return(a|0)<(e|0)?(c|0)>(e|0)?e:c:a}function H$a(a){a=a|0;var b=0,c=0,d=0;b=v[a+224>>2];a:{if(!b){break a}c=v[a+644>>2];d=Qa[b|0](a,v[a+680>>2]+v[a+572>>2]|0)|0;b=v[a+660>>2]-v[a+656>>2]|0;if((b|0)<1){break a}a=d+B(v[a+672>>2],3)|0;while(1){t[c|0]=w[a|0]&248;t[c+1|0]=w[a|0]>>>3&28|w[a+1|0]<<5;d=w[a+1|0];t[c+3|0]=0;t[c+2|0]=d<<3;a=a+2|0;c=c+4|0;d=(b|0)>1;b=b-1|0;if(d){continue}break}}return 0}function Bya(a){a=a|0;var b=0,c=0;b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=255;c=v[b+4>>2]-1|0;v[b+4>>2]=c;a:{if(c){break a}if(Qa[v[b+12>>2]](a)|0){break a}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=217;c=v[b+4>>2]-1|0;v[b+4>>2]=c;b:{if(c){break b}if(Qa[v[b+12>>2]](a)|0){break b}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}}function $ya(a){a=a|0;var b=0,c=0;b=v[a+408>>2];c=Qa[v[v[a+4>>2]>>2]](a,1,8192)|0;v[b+8>>2]=c;a=0;while(1){b=(a<<2)+c|0;v[b>>2]=B(a,19595);v[b+7168>>2]=B(a,-5329);v[b+6144>>2]=B(a,-27439);v[b+5120>>2]=(a<<15)+8421375;v[b+4096>>2]=B(a,-21709);v[b+3072>>2]=B(a,-11059);v[b+2048>>2]=B(a,7471)+32768;v[b+1024>>2]=B(a,38470);a=a+1|0;if((a|0)!=256){continue}break}}function wLa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{b:{if(!hb(b,234996)){v[c>>2]=v[a+36>>2];v[c+4>>2]=v[a+40>>2];v[c+8>>2]=v[a+44>>2];v[c+12>>2]=v[a+48>>2];v[c+16>>2]=v[a+52>>2];v[c+20>>2]=v[a+56>>2];v[c+24>>2]=v[a+60>>2];v[c+28>>2]=v[a- -64>>2];break b}if(!hb(b,279733)){v[c>>2]=v[a+28>>2];break b}d=12;if(hb(b,272476)){break a}t[c|0]=w[a+32|0]}d=0}return d|0}function nS(a,b){a=a|0;b=b|0;var c=0,d=0;if((b|0)>=1){while(1){v[a+16>>2]=969400;v[a+40>>2]=969432;c=v[a+44>>2];if(c){d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(!d){Qa[v[v[c>>2]+4>>2]](c)}v[a+44>>2]=0}v[a+32>>2]=969432;c=v[a+36>>2];if(c){d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(!d){Qa[v[v[c>>2]+4>>2]](c)}v[a+36>>2]=0}db(a+24|0);a=a+56|0;c=(b|0)>1;b=b-1|0;if(c){continue}break}}}function Yja(a,b){a=a|0;b=b|0;var c=0,d=0;if((b|0)>=1){while(1){v[a+8>>2]=969400;v[a+32>>2]=969432;c=v[a+36>>2];if(c){d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(!d){Qa[v[v[c>>2]+4>>2]](c)}v[a+36>>2]=0}v[a+24>>2]=969432;c=v[a+28>>2];if(c){d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(!d){Qa[v[v[c>>2]+4>>2]](c)}v[a+28>>2]=0}db(a+16|0);a=a+44|0;c=(b|0)>1;b=b-1|0;if(c){continue}break}}}function Rg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=Ma-48|0;Ma=c;i=pc(c+8|0,c+20|0,204800,1);a:{while(1){e=Qa[v[v[b>>2]+8>>2]](b,v[c+20>>2],204800)|0;if(e){f=v[c+20>>2];d=e;while(1){g=Qa[v[v[a>>2]+12>>2]](a,f,d)|0;if(!g){break a}f=f+g|0;d=d-g|0;if(d){continue}break}h=e+h|0;continue}break}ec(i);Ma=c+48|0;return h}lb(mb(c+24|0,237806,241689,474,329617));L()}function OBa(a){a=a|0;var b=0,c=0,d=0,e=0;b=v[a+12>>2];if(b){e=v[a+28>>2];v[b+104>>2]=0;v[b+48>>2]=0;v[b+36>>2]=0;v[b+40>>2]=0;t[b+44|0]=0;v[b+64>>2]=9;v[b+12>>2]=0;v[b+16>>2]=0;d=v[b+180>>2];c=v[b+100>>2];if((c|0)!=(b+112|0)){if(c){Qa[v[d+8>>2]](d,c)}v[b+100>>2]=0}c=v[b+88>>2];if(c){Qa[v[d+8>>2]](d,c)}b=eb(b,0,184);if(b){Qa[v[e+8>>2]](e,b)}v[a+12>>2]=0}}function yaa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=v[a+84>>2];f=v[d>>2]?d:1010208;d=0;a:{if(!v[a+48>>2]){break a}while(1){e=v[(d<<2)+f>>2];if(!e){break a}t[v[a+44>>2]+d|0]=(e|0)<128?e:64;d=d+1|0;if(d>>>0>2]){continue}break}}e=v[a+44>>2];v[a+4>>2]=e;v[a+84>>2]=(d<<2)+f;v[a+8>>2]=d+e;if(!(!d|!c)){v[a+4>>2]=e+1;t[b|0]=w[e|0];g=1}return g|0}function xaa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=v[a+84>>2];f=v[d>>2]?d:1010216;d=0;a:{if(!v[a+48>>2]){break a}while(1){e=v[(d<<2)+f>>2];if(!e){break a}t[v[a+44>>2]+d|0]=(e|0)<128?e:64;d=d+1|0;if(d>>>0>2]){continue}break}}e=v[a+44>>2];v[a+4>>2]=e;v[a+84>>2]=(d<<2)+f;v[a+8>>2]=d+e;if(!(!d|!c)){v[a+4>>2]=e+1;t[b|0]=w[e|0];g=1}return g|0}function nZa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(v[a+2308>>2]){d=v[a+2312>>2];b=v[a+2316>>2];while(1){c=Qa[v[a+2296>>2]](w[d|0])|0;f=Qa[v[a+2296>>2]](w[d+1|0])|0;e=c>>>8|0;t[b+4|0]=e;t[b+2|0]=e;t[b|0]=e;c=(c|0)!=0;t[b+5|0]=c;t[b+3|0]=c;t[b+1|0]=c;t[b+7|0]=(f|0)!=0;t[b+6|0]=f>>>8;b=b+8|0;d=d+2|0;g=g+1|0;if(g>>>0>2]){continue}break}}return 0}function Wp(a){var b=0,c=0,d=0,e=0,f=0;b=Ma-32|0;Ma=b;d=3;e=b+5|0;a:{b:{while(1){c=Qa[v[v[a>>2]+8>>2]](a,e,d)|0;if((c|0)<=-1){break b}f=c+f|0;if(c){e=c+e|0;d=d-c|0;if(d){continue}}break}if((f|0)!=3){break a}Ma=b+32|0;return w[b+7|0]|(w[b+6|0]<<8|w[b+5|0]<<16)}lb(mb(b+8|0,fl(v[296206]),241689,413,329475));L()}lb(mb(b+8|0,v[279242],241689,573,333373));L()}function SOa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=Ma-16|0;Ma=d;e=b+12|0;f=b+8|0;while(1){c=v[b+20>>2];v[b+20>>2]=c+1;rj(d,c);c=Ql(d,354416);g=v[c+4>>2];v[a>>2]=v[c>>2];v[a+4>>2]=g;v[a+8>>2]=v[c+8>>2];v[c>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;if(t[d+11|0]<=-1){$a(v[d>>2])}if((Xo(f,a)|0)!=(e|0)){if(t[a+11|0]>-1){continue}$a(v[a>>2]);continue}break}Ma=d+16|0}function Nya(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;if(!b){return 0}e=v[b+4>>2];a=v[b+12>>2];a:{if(e>>>0>=a+d>>>0){break a}if(v[b+20>>2]){a=e+(d>>>0>65535?d:65535)|0;g=gb(a);f=v[b>>2];e=cb(g,f,e);$a(f);v[b+4>>2]=a;v[b>>2]=e;a=v[b+12>>2];break a}d=e-a|0}cb(v[b>>2]+a|0,c,d);a=v[b+12>>2]+d|0;v[b+12>>2]=a;if(a>>>0>y[b+8>>2]){v[b+8>>2]=a}return d|0}function xi(a,b){var c=0,d=0,e=0,f=0;d=Ma-16|0;Ma=d;v[b>>2]=0;a:{b:{c:{d:{c=v[a+8>>2];if(y[a+4>>2]<=c+3>>>0){break d}e=v[a+20>>2];e:{if(e){if((Qa[e|0](a,c,d+12|0,4)|0)!=4){break d}c=v[a+8>>2];b=d+12|0;break e}b=v[a>>2];if(!b){break c}b=b+c|0}f=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);break b}v[b>>2]=85;break a}f=0}v[a+8>>2]=c+4}Ma=d+16|0;return f}function eZa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(v[a+2308>>2]){c=v[a+2300>>2];f=v[a+2312>>2];b=v[a+2316>>2];while(1){e=w[f|0];if(e>>>0>2]){d=B(e,3)+c|0;t[b|0]=w[d+68|0];t[b+1|0]=w[d+69|0];t[b+2|0]=w[d+70|0];d=255;t[b+3|0]=!w[c+56|0]|y[c+844>>2]<=e>>>0?d:w[(c+e|0)+848|0]}b=b+4|0;f=f+1|0;g=g+1|0;if(g>>>0>2]){continue}break}}return 0}function YWa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;h=v[v[v[a+544>>2]+88>>2]+36>>2];f=v[a+644>>2];c=v[a+636>>2];v[a+644>>2]=c;v[a+636>>2]=f;d=v[a+672>>2];if((d|0)>2]){b=v[a+656>>2];e=(b<<3)+f|0;while(1){v[c>>2]=v[e>>2];v[c+4>>2]=v[e+4>>2];b=b+1|0;g=b>>>0>>0;e=g?e+8|0:f;b=g?b:0;c=c+8|0;d=d+1|0;if((d|0)>2]){continue}break}}return 0}function Vg(a){var b=0,c=0,d=0,e=0,f=0,g=0;e=v[a+4>>2];if((e|0)<=0){tb(v[a+12>>2]);return a}b=v[a+12>>2];while(1){g=f<<2;d=g+b|0;c=v[d>>2];if(c){while(1){v[d>>2]=v[c+8>>2];a:{if(!v[a>>2]){break a}b=v[c>>2];if(!b){break a}$a(Bb(b))}$a(c);b=v[a+12>>2];d=g+b|0;c=v[d>>2];if(c){continue}break}e=v[a+4>>2]}f=f+1|0;if((f|0)<(e|0)){continue}break}tb(b);return a}function HDa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=Ma-16|0;Ma=e;f=v[a+16>>2];d=x[a+8>>1];c=d>>>1|0;b=yb(b,1,0,c+1|0,0,e+12|0);Ma=e+16|0;if(v[e+12>>2]){b=g}else{a=0;a:{if(d>>>0<2){break a}g=c>>>0>1?c:1;while(1){c=w[f+1|0];d=c|w[f|0]<<8;if(!d){break a}t[a+b|0]=d-32>>>0>95?63:c;f=f+2|0;a=a+1|0;if((g|0)!=(a|0)){continue}break}a=g}t[a+b|0]=0}return b|0}function x$a(a){a=a|0;var b=0,c=0,d=0,e=0;if(v[a+588>>2]>=1){b=v[a+540>>2];b=(v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0;d=v[a+636>>2]+v[a+616>>2]|0;while(1){c=w[d|0]|w[d+1|0]<<8;c=(c<<8|c>>>8)&65535;c=c<<8|c>>>8;t[b|0]=c;t[b+1|0]=c>>>8;d=d+2|0;b=(v[a+584>>2]<<1)+b|0;e=e+1|0;if((e|0)>2]){continue}break}}return 0}function sH(){var a=0,b=0,c=0,d=0;a=326168;while(1){b=a;a=a+1|0;if(w[b|0]){continue}break}a=0;c=b-326168|0;a:{if((c|0)<0){break a}b:{c:{a=Qa[v[256555]](c+1|0)|0;if(a){if((c|0)<=0){break b}break c}nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);return 0}while(1){b=w[d+326168|0];t[a+d|0]=b;if(!b){break a}d=d+1|0;if((d|0)!=(c|0)){continue}break}}t[a+c|0]=0}return a}function r6(a,b){a=a|0;b=b|0;var c=0;c=-1;a:{if(wM(b,v[a+12>>2])){break a}a=v[b+8>>2];if(a&7){break a}c=v[b+64>>2];if(!((c|0)<0|(c|0)>v[b+60>>2])){v[b+8>>2]=a|4;return-1}v[b+4>>2]=v[b+4>>2]|32;c=-1;a=v[b+28>>2];v[b+28>>2]=a-1;b:{if((a|0)<=0){if((Cb(b,0)|0)!=-1){break b}break a}v[b+60>>2]=v[b+60>>2]+1;a=v[b+24>>2];v[b+24>>2]=a+1;t[a|0]=0}c=0}return c|0}function XL(a,b,c,d){var e=0,f=0,g=0;e=x[a+26>>1];if((e|0)==8){t[v[a+56>>2]+(B(v[a+52>>2],c)+b|0)|0]=d;return}a=(v[a+56>>2]+B(v[a+52>>2],c)|0)+(B(b,e)>>3)|0;a:{switch(e-1|0){case 3:c=a;e=w[a|0];a=B((b|0)%2|0,252)+4&252;t[c|0]=e&(15<>2];a:{if(!d){break a}c=v[a+16>>2];e=c+1|0;g=a;f=v[a+20>>2];if(!((f|0)>(c|0)|e>>>0<=f>>>0)){c=c+65537&-65536;d=Wd(d,c);v[a+20>>2]=c;t[a+12|0]=1;v[a+4>>2]=d;if(!d){break a}c=v[a+16>>2];e=c+1|0}v[g+16>>2]=e;t[c+d|0]=b;b=v[a+16>>2];if((b|0)>v[a+8>>2]){v[a+8>>2]=b}h=1}return h|0}function FM(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=gb(40);v[d>>2]=0;d=be(a+624|0,1,d,4);i=P()|0;a:{while(1){if(e){h=-1;break a}v[296803]=0;h=W(546,a|0,b|0,c|0)|0;e=v[296803];v[296803]=0;f=-1;b:{c:{if(!e){break c}g=v[296804];if(!g){break c}f=pb(v[e>>2],d,i);if(!f){break b}Q(g|0)}e=P()|0;if((f|0)==1){continue}break a}break}$a(d);tc(e,g);L()}$a(d);return h}function CM(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=gb(40);v[d>>2]=0;d=be(a+624|0,1,d,4);i=P()|0;a:{while(1){if(e){h=-1;break a}v[296803]=0;h=W(516,a|0,b|0,c|0)|0;e=v[296803];v[296803]=0;f=-1;b:{c:{if(!e){break c}g=v[296804];if(!g){break c}f=pb(v[e>>2],d,i);if(!f){break b}Q(g|0)}e=P()|0;if((f|0)==1){continue}break a}break}$a(d);tc(e,g);L()}$a(d);return h}function Bda(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;c=Ma-16|0;Ma=c;d=B(g,3);g=h<<2;while(1){h=e;while(1){Ic(v[a+68>>2],w[i|0],w[i+1|0],w[i+2|0],c+12|0,c+8|0,c+4|0);v[b>>2]=v[c+12>>2]|v[c+8>>2]<<8|v[c+4>>2]<<16|-16777216;i=i+3|0;b=b+4|0;h=h-1|0;if(h){continue}break}i=d+i|0;b=b+g|0;f=f-1|0;if(f){continue}break}Ma=c+16|0}function xh(a,b,c){var d=0,e=0,f=0,g=0,h=0;v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;d=w[c+11|0];f=d<<24>>24;g=(f|0)<0?v[c+4>>2]:d;e=ce(b);d=g+e|0;if(d>>>0<1073741808){a:{if(d>>>0<=1){t[a+11|0]=e;d=a;break a}h=d+4&-4;d=ab(h<<2);v[a+8>>2]=h|-2147483648;v[a>>2]=d;v[a+4>>2]=e}if(e){rb(d,b,e);f=t[c+11|0]}v[(e<<2)+d>>2]=0;bd(a,(f|0)<0?v[c>>2]:c,g);return}sc();L()}function qD(a,b,c){var d=0,e=0,f=0,g=0,h=0;g=Ma-16|0;Ma=g;f=Ma-16|0;Ma=f;a:{if(b>>>0<=1073741807){b:{if(b>>>0<=1){t[a+11|0]=b;d=a;break b}h=a;if(b>>>0>=2){e=b+4&-4;d=e-1|0;d=(d|0)==2?e:d}else{d=1}e=d+1|0;d=FN(e);v[h>>2]=d;v[a+8>>2]=e|-2147483648;v[a+4>>2]=b}rN(d,b,c);v[f+12>>2]=0;v[(b<<2)+d>>2]=v[f+12>>2];Ma=f+16|0;break a}sc();L()}Ma=g+16|0;return a}function gja(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{d=v[a+4>>2];if(!d){break a}a=d&3;if(d-1>>>0>=3){d=d&-4;while(1){t[b|0]=w[c|0]+w[b|0];t[b+1|0]=w[c+1|0]+w[b+1|0];t[b+2|0]=w[c+2|0]+w[b+2|0];t[b+3|0]=w[c+3|0]+w[b+3|0];b=b+4|0;c=c+4|0;d=d-4|0;if(d){continue}break}}if(!a){break a}while(1){t[b|0]=w[c|0]+w[b|0];b=b+1|0;c=c+1|0;a=a-1|0;if(a){continue}break}}}function Tka(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=b;d=v[a+540>>2];e=v[a+536>>2];a:{if(d>>>0>=e>>>0){d=v[a+12>>2];if(c>>>0>=512){d=zy(d,b,v[a+20>>2],c,0);a=a+20|0;break a}e=zy(d,a+24|0,v[a+20>>2],512,0);v[a+540>>2]=0;v[a+536>>2]=e;d=0}b=(a+d|0)+24|0;d=c+d>>>0>>0?c:e-d|0;cb(f,b,d);v[a+540>>2]=v[a+540>>2]+d;a=a+20|0}v[a>>2]=v[a>>2]+d;return d|0}function A$(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;v[a+2748>>2]=b;v[a+2740>>2]=v[b+28>>2];v[a+4>>2]=v[b+44>>2];v[a+8>>2]=v[b+48>>2];v[a+12>>2]=v[b+7720>>2];v[a+16>>2]=v[b+7724>>2];c=v[b+24>>2];v[a+2740>>2]=v[a+2740>>2]|(w[v[v[b+36>>2]+388>>2]+20|0]?4:12);d=a;a=(c&-2)==2;b=a|2;e=(c|0)==4?b:a;a=(c|0)==2;b=a?b:e;b=(c&-3)==1?b:b|4;v[d+2744>>2]=a?b|8:b;return 0}function h$a(a){a=a|0;var b=0,c=0,d=0;if(v[a+588>>2]>=1){b=v[a+540>>2];b=((v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0)+1|0;c=v[a+636>>2]+v[a+616>>2]|0;while(1){t[b|0]=w[c|0];c=c+1|0;b=b+2|0;d=d+1|0;if((d|0)>2]){continue}break}}v[a+2556>>2]=v[a+2556>>2]+1;a:{if(v[a+968>>2]){b=lk(a);if(b){break a}}b=0}return b|0}function g$a(a){a=a|0;var b=0,c=0,d=0;if(v[a+588>>2]>=1){b=v[a+540>>2];b=((v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0)+1|0;c=v[a+636>>2]+v[a+616>>2]|0;while(1){t[b|0]=w[c|0];c=c+2|0;b=b+2|0;d=d+1|0;if((d|0)>2]){continue}break}}v[a+2556>>2]=v[a+2556>>2]+1;a:{if(v[a+968>>2]){b=lk(a);if(b){break a}}b=0}return b|0}function b$a(a){a=a|0;var b=0,c=0,d=0;if(v[a+588>>2]>=1){b=v[a+540>>2];b=((v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0)+3|0;c=v[a+636>>2]+v[a+616>>2]|0;while(1){t[b|0]=w[c|0];c=c+1|0;b=b+4|0;d=d+1|0;if((d|0)>2]){continue}break}}v[a+2556>>2]=v[a+2556>>2]+1;a:{if(v[a+968>>2]){b=lk(a);if(b){break a}}b=0}return b|0}function a$a(a){a=a|0;var b=0,c=0,d=0;if(v[a+588>>2]>=1){b=v[a+540>>2];b=((v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0)+3|0;c=v[a+636>>2]+v[a+616>>2]|0;while(1){t[b|0]=w[c|0];c=c+2|0;b=b+4|0;d=d+1|0;if((d|0)>2]){continue}break}}v[a+2556>>2]=v[a+2556>>2]+1;a:{if(v[a+968>>2]){b=lk(a);if(b){break a}}b=0}return b|0}function owa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Ma-32|0;Ma=c;d=v[b+116>>2];Qa[v[v[d>>2]+20>>2]](d,b+124|0,c+16|0,0);b=v[a+104>>2];d=B(v[c+24>>2],255)+32768&16711680|(B(v[c+20>>2],255)+32768>>>8&65280|B(v[c+16>>2],255)+32768>>>16&255);v[c+12>>2]=d;e=c+12|0;Qa[v[v[b>>2]+144>>2]](b,e)|0;a=v[a+104>>2];v[c+12>>2]=d;Qa[v[v[a>>2]+160>>2]](a,e)|0;Ma=c+32|0}function eoa(a){a=a|0;var b=0,c=0,d=0;b=v[a+8>>2];if(!b){while(1){b=v[a+32784>>2];if(!b){if(!(!v[a+34092>>2]|!v[a+34096>>2])){return-1}bz(a);continue}break}c=v[a+32780>>2];d=w[(c+a|0)+12|0];v[a+32784>>2]=b-1;v[a+32780>>2]=c+1&32767;return d|0}a=v[b+36>>2];if((a|0)>=v[b+28>>2]){if(!ps(b)){return-1}a=v[b+36>>2]}v[b+36>>2]=a+1;return w[v[b+32>>2]+a|0]}function SUa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=v[b+36>>2];a:{if(!d){break a}c=v[b+40>>2];while(1){e=v[c+28>>2];b:{if(!e){break b}f=v[c+32>>2];if(!f){break b}Qa[v[a+156>>2]](f,e);d=v[b+36>>2]}c=c+1296|0;g=g+1|0;if(g>>>0>>0){continue}break}if(!d){break a}c=v[b+40>>2];if(!c){break a}Qa[v[a+156>>2]](c,B(d,36))}Qa[v[a+156>>2]](b,44);return 0}function AO(a,b,c){var d=0,e=0,f=0,g=0,h=0;g=Ma-16|0;Ma=g;f=Ma-16|0;Ma=f;a:{if(b>>>0<=4294967279){b:{if(b>>>0<=10){t[a+11|0]=b;d=a;break b}h=a;if(b>>>0>=11){d=b+16&-16;e=d-1|0;d=(e|0)==11?d:e}else{d=10}e=d+1|0;d=ab(e);v[h>>2]=d;v[a+8>>2]=e|-2147483648;v[a+4>>2]=b}tN(d,b,c);t[f+15|0]=0;t[b+d|0]=w[f+15|0];Ma=f+16|0;break a}sc();L()}Ma=g+16|0;return a}function nUa(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1111577417){ob(a,2050,0,0);return 2050}v[b+32>>2]=v[c+32>>2];v[b+36>>2]=v[c+36>>2];t[b+40|0]=w[c+40|0];t[b+41|0]=w[c+41|0];t[b+42|0]=w[c+42|0];t[b+43|0]=w[c+43|0];t[b+44|0]=w[c+44|0];u[b+46>>1]=x[c+46>>1];u[b+48>>1]=x[c+48>>1];u[b+50>>1]=x[c+50>>1];u[b+52>>1]=x[c+52>>1];t[b+54|0]=w[c+54|0];return 0}function Ana(a,b){a=a|0;b=b|0;var c=0;c=a+20|0;a:{b:{if(!(!(Qa[v[v[b>>2]+12>>2]](b)|0)|v[a+20>>2])){break b}c=a+24|0;if(!(!(Qa[v[v[b>>2]+16>>2]](b)|0)|v[a+24>>2])){break b}if(!(Qa[v[v[b>>2]+28>>2]](b)|0)|v[a+28>>2]){break a}c=a+28|0}v[c>>2]=b}c=v[a+16>>2];c:{if(c){v[c+4>>2]=b;c=a+16|0;break c}v[a+16>>2]=b;c=a+12|0}v[c>>2]=b;v[b+4>>2]=0;v[b+8>>2]=a}function sJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;b=Ma-48|0;Ma=b;f=v[a>>2];c=vn(f,c,306612);a:{if(!c){a=64;break a}v[b+28>>2]=c;v[b+16>>2]=4;b:{a=uw(a,b+16|0,b+12|0);if(a){break b}a=v[b+12>>2];if(!a){An(0,0);a=81;break b}a=Kq(a,333319,e);An(v[b+12>>2],0);if(a){break b}v[d>>2]=c;a=0;break a}if(c){Qa[v[f+8>>2]](f,c)}}Ma=b+48|0;return a|0}function rJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;b=Ma-48|0;Ma=b;f=v[a>>2];c=vn(f,c,336555);a:{if(!c){a=64;break a}v[b+28>>2]=c;v[b+16>>2]=4;b:{a=uw(a,b+16|0,b+12|0);if(a){break b}a=v[b+12>>2];if(!a){An(0,0);a=81;break b}a=Kq(a,333319,e);An(v[b+12>>2],0);if(a){break b}v[d>>2]=c;a=0;break a}if(c){Qa[v[f+8>>2]](f,c)}}Ma=b+48|0;return a|0}function qJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;b=Ma-48|0;Ma=b;f=v[a>>2];c=vn(f,c,326240);a:{if(!c){a=64;break a}v[b+28>>2]=c;v[b+16>>2]=4;b:{a=uw(a,b+16|0,b+12|0);if(a){break b}a=v[b+12>>2];if(!a){An(0,0);a=81;break b}a=Kq(a,333319,e);An(v[b+12>>2],0);if(a){break b}v[d>>2]=c;a=0;break a}if(c){Qa[v[f+8>>2]](f,c)}}Ma=b+48|0;return a|0}function Uu(a,b){var c=0,d=0,e=0,f=0;c=Ma-32|0;Ma=c;b=b<<8|(b&65280)>>>8;t[c+6|0]=b;t[c+7|0]=b>>>8;b=2;e=c+6|0;a:{b:{while(1){d=Qa[v[v[a>>2]+12>>2]](a,e,b)|0;if(!d){break b}e=e+d|0;f=d+f|0;b=b-d|0;if(b){continue}break}if((f|0)!=2){break a}Ma=c+32|0;return}lb(mb(c+8|0,237806,241689,474,329617));L()}lb(mb(c+8|0,fl(v[296206]),241689,524,327532));L()}function Ns(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=Ma-16|0;Ma=e;a:{if(!a){c=0;break a}if(!b){c=a;break a}b:{g=zb(a);f=zb(b);h=g+f|0;i=h+2|0;if((d|0)>=(i|0)?c:0){break b}c=Qa[v[256555]](i)|0;if(c){break b}v[e>>2]=280088;nb(0,0,0,0,0,2,2,3,280088,0,0,0,340689,e);c=0;break a}b=cb(c,b,f);d=b+f|0;t[d|0]=58;cb(d+1|0,a,g);t[(b+h|0)+1|0]=0}Ma=e+16|0;return c}function LM(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=gb(40);v[c>>2]=0;c=be(a+624|0,1,c,4);h=P()|0;a:{while(1){if(d){g=-1;break a}v[296803]=0;g=W(32,a|0,b|0,1)|0;d=v[296803];v[296803]=0;e=-1;b:{c:{if(!d){break c}f=v[296804];if(!f){break c}e=pb(v[d>>2],c,h);if(!e){break b}Q(f|0)}d=P()|0;if((e|0)==1){continue}break a}break}$a(c);tc(d,f);L()}$a(c);return g}function II(a,b){var c=0,d=0,e=0;c=Ma-16|0;Ma=c;v[c+12>>2]=0;v[c+8>>2]=0;d=w[a+11|0];e=d<<24>>24<0;Fj(e?v[a>>2]:a,e?v[a+4>>2]:d,c+12|0,c+8|0);d=v[c+12>>2];a=ji(d,300427);if(d){$a(d)}v[c+12>>2]=0;v[c+8>>2]=0;d=w[b+11|0];e=d<<24>>24<0;Fj(e?v[b>>2]:b,e?v[b+4>>2]:d,c+12|0,c+8|0);b=v[c+12>>2];if(a){Lb(b,1,v[c+8>>2],a)}if(b){$a(b)}if(a){Fe(a)}Ma=c+16|0}function EM(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=gb(40);v[c>>2]=0;c=be(a+624|0,1,c,4);h=P()|0;a:{while(1){if(d){g=-1;break a}v[296803]=0;g=W(49,a|0,b|0,1)|0;d=v[296803];v[296803]=0;e=-1;b:{c:{if(!d){break c}f=v[296804];if(!f){break c}e=pb(v[d>>2],c,h);if(!e){break b}Q(f|0)}d=P()|0;if((e|0)==1){continue}break a}break}$a(c);tc(d,f);L()}$a(c);return g}function zGa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=v[a>>2];d=v[a+44>>2];if(d){e=v[d>>2];if(!(!e|!v[e+96>>2])){v[e+88>>2]=d}}d=q0(v[c+504>>2],b);if(!d){b=v[v[c+504>>2]+88>>2];c=v[b+16>>2];v[a+12>>2]=v[b+12>>2];v[a+16>>2]=c;v[a+36>>2]=v[b+36>>2];c=v[b+32>>2];v[a+28>>2]=v[b+28>>2];v[a+32>>2]=c;c=v[b+24>>2];v[a+20>>2]=v[b+20>>2];v[a+24>>2]=c}return d|0}function wOa(a,b,c){a=a|0;b=C(b);c=C(c);var d=C(0),e=C(0),f=C(0),g=C(0);f=z[a+12>>2];d=C(z[a+20>>2]-f);g=z[a+16>>2];e=C(z[a+24>>2]-g);b=C(C(C(C(b-f)*d)+C(C(c-g)*e))/C(C(d*d)+C(e*e)));if(!(!(b>2]==C(0))){return C(z[a+152>>2])}if(!(!(b>C(1))|z[a+124>>2]==C(0))){return C(z[a+156>>2])}c=z[a+152>>2];return C(C(c+C(b*C(z[a+156>>2]-c))))}function p1a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;f=v[a+4>>2];d=v[a+12>>2];if(d){v[f+20>>2]=d+v[f+20>>2];v[a+12>>2]=0;v[a+8>>2]=d+v[a+8>>2]}d=c;e=d;a:{if((d|0)<1){break a}while(1){g=v[f+20>>2];e=0;if(g>>>0>=y[f+16>>2]){break a}v[f+20>>2]=g+1;e=d-1|0;t[g|0]=b>>>(e<<3);g=(d|0)>1;d=e;if(g){continue}break}e=c}v[a+8>>2]=v[a+8>>2]+c;return e|0}function ho(a,b){var c=0,d=0,e=0,f=0;c=v[b>>2];if(!(!c|v[b+4>>2]!=(a|0))){f=y[c+12>>2]%y[a+8>>2]|0;d=v[c>>2];if(d){v[d+4>>2]=v[c+4>>2]}e=v[c+4>>2];v[(e?e:a+24|0)>>2]=d;d=v[a+12>>2]+(f<<2)|0;a:{if(v[d>>2]==(c|0)){v[d>>2]=v[c+8>>2];break a}d=v[c>>2];if(!d){break a}v[d+8>>2]=v[c+8>>2]}Qa[v[v[a>>2]+16>>2]](c,1);$a(c);v[a+4>>2]=v[a+4>>2]-1;v[b>>2]=0}}function Xwa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=Ma-16|0;Ma=d;c=Qa[v[256552]](12)|0;a:{if(!c){v[d>>2]=290868;c=0;nb(0,0,0,0,0,23,2,3,290868,0,0,0,340689,d);break a}e=c;b=v[a>>2];if(b){b=Sd(b)}else{b=0}v[e>>2]=b;e=c;b=v[a+4>>2];if(b){b=Sd(b)}else{b=0}v[e+4>>2]=b;a=v[a+8>>2];if(a){f=c,g=Sd(a),v[f+8>>2]=g;break a}v[c+8>>2]=0}Ma=d+16|0;return c|0}function Lc(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=Ma-16|0;Ma=c;if((Vd(a,c+8|0,8)|0)==8){if(!w[1143768]){t[1143768]=1}b=v[c+8>>2];a=v[c+12>>2];d=a<<24|b>>>8;g=d&65280;d=e;e=a<<8|b>>>24;d=d|f;f=e&255|g|(b<<24|b<<8&16711680);l(0,((a&255)<<24|b>>>8)&-16777216|((a&16777215)<<8|b>>>24)&16711680|(a>>>8&65280|a>>>24)|d);l(1,f|0);h=+n()}Ma=c+16|0;return h}function K4(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(v[a+588>>2]>=1){b=v[a+540>>2];c=(v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0;d=v[a+636>>2]+v[a+616>>2]|0;b=0;while(1){if(!b){g=w[d|0];e=6;d=d+1|0;b=192}t[c|0]=(b&g)>>>e;e=e-2|0;b=(b&252)>>>2|0;c=v[a+584>>2]+c|0;f=f+1|0;if((f|0)>2]){continue}break}}return 0}function J4(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(v[a+588>>2]>=1){b=v[a+540>>2];c=(v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0;d=v[a+636>>2]+v[a+616>>2]|0;b=0;while(1){if(!b){g=w[d|0];e=4;d=d+1|0;b=240}t[c|0]=(b&g)>>>e;e=e-4|0;b=(b&240)>>>4|0;c=v[a+584>>2]+c|0;f=f+1|0;if((f|0)>2]){continue}break}}return 0}function xVa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;if(w[b+32|0]){return hd(a,v[b>>2],0,0)|0}d=v[a+428>>2];c=x[b+34>>1];c=c<<8|c>>>8;t[d+8|0]=c;t[d+9|0]=c>>>8;f=d+8|0;c=x[b+36>>1];e=2;a:{if(!(w[b+38|0]|(c|0)!=x[b+34>>1])){break a}c=c<<8|c>>>8;t[d+10|0]=c;t[d+11|0]=c>>>8;c=w[b+38|0];e=4;if(!c){break a}t[d+12|0]=c;e=5}c=e;return hd(a,v[b>>2],c,f)|0}function MM(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=gb(40);v[c>>2]=0;c=be(a+624|0,1,c,4);h=P()|0;a:{while(1){if(d){g=-1;break a}v[296803]=0;g=Y(17,a|0,b|0)|0;d=v[296803];v[296803]=0;e=-1;b:{c:{if(!d){break c}f=v[296804];if(!f){break c}e=pb(v[d>>2],c,h);if(!e){break b}Q(f|0)}d=P()|0;if((e|0)==1){continue}break a}break}$a(c);tc(d,f);L()}$a(c);return g}function FL(a,b){var c=0,d=0,e=0;a:{e=v[b+960>>2];if(!e){break a}c=v[a+16>>2];if((c|0)!=v[b+16>>2]){break a}d=v[a+20>>2];if((d|0)!=v[b+20>>2]){break a}d=B(c,d);c=v[a+960>>2];if(!c){c=gb(d);v[a+960>>2]=c;if(!c){break a}e=v[b+960>>2]}cb(c,e,d);c=v[b+384>>2];v[a+380>>2]=v[b+380>>2];v[a+384>>2]=c;c=v[b+376>>2];v[a+372>>2]=v[b+372>>2];v[a+376>>2]=c}}function BFa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=v[a+12>>2];a:{if((u[d+22>>1]+u[d+58>>1]|0)+1>>>0>y[d+4>>2]){d=Ch(d,1,0);if(d){break a}}d=v[a+20>>2];if(w[a+68|0]){a=v[d+8>>2];e=u[d+2>>1];f=v[d+4>>2]+(e<<3)|0;v[f>>2]=(((b>>31)+b|0)+32768&-65536)>>16;v[f+4>>2]=(((c>>31)+c|0)+32768&-65536)>>16;t[a+e|0]=1}u[d+2>>1]=x[d+2>>1]+1;d=0}return d|0}function i6(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;f=v[a+72>>2];g=w[a+13|0];h=v[a+60>>2];b=1;c=w[a+12|0];a:{if(!c){break a}a=w[a+52|0];d=c&7;if(c-1>>>0>=7){e=c&248;while(1){b=B(a,B(a,B(a,B(a,B(a,B(a,B(a,B(a,b))))))));e=e-8|0;if(e){continue}break}}if(!d){break a}while(1){b=B(a,b);d=d-1|0;if(d){continue}break}}return(B(b+f|0,g)+B(c,h)<<1)+44|0}function Tra(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;if(v[a+12>>2]>=1){while(1){f=(e<<2)+b|0;a:{b:{d=(e<<3)+a|0;c=A[d+24>>3];if(c>0){c=c*65536;if(!(D(c)<2147483648)){break b}d=~~c;break a}c=A[d+56>>3];d=0;if(!(c<0)){break a}c=c*65536;if(!(D(c)<2147483648)){break b}d=~~c;break a}d=-2147483648}v[f>>2]=d;e=e+1|0;if((e|0)>2]){continue}break}}}function E1a(a){a=a|0;var b=0,c=0,d=0,e=0;b=v[a+52>>2];a=Qa[v[v[b>>2]+20>>2]](b,2)|0;Qa[v[v[b>>2]+20>>2]](b,1)|0;if((a|0)>=4){c=a-3|0;while(1){a=c-4|0;c=a;d=Qa[v[v[b>>2]+20>>2]](b,4)|0;a:{if((d|0)<1){break a}while(1){Qa[v[v[b>>2]+20>>2]](b,1)|0;c=a-1|0;if((a|0)<2){break a}e=(d|0)>1;d=d-1|0;a=c;if(e){continue}break}}if((c|0)>0){continue}break}}}function CX(a){var b=0,c=0,d=0;if(!a){return-1}b=v[a+64>>2];a:{if(!b){break a}d=v[a+68>>2];b=d?d:b;if(v[b+4>>2]!=1){break a}b:{switch(v[a+16>>2]-2|0){case 0:case 2:break a;default:break b}}a=v[b+44>>2];if(a){while(1){c=c+1|0;a=v[a+24>>2];if(a){continue}break}}a=v[b+48>>2];if(!a){break a}while(1){c=c+1|0;a=v[a>>2];if(a){continue}break}}return c}function Ac(a,b){var c=0,d=0,e=0,f=0;d=Ma-16|0;Ma=d;v[b>>2]=0;a:{b:{c:{d:{c=v[a+8>>2];if(y[a+4>>2]<=c+1>>>0){break d}e=v[a+20>>2];e:{if(e){if((Qa[e|0](a,c,d+14|0,2)|0)!=2){break d}c=v[a+8>>2];b=d+14|0;break e}b=v[a>>2];if(!b){break c}b=b+c|0}b=w[b|0]|w[b+1|0]<<8;f=b<<8|b>>>8;break b}v[b>>2]=85;break a}f=0}v[a+8>>2]=c+2}Ma=d+16|0;return f&65535}function $C(a,b,c,d){t[a+53|0]=1;a:{if(v[a+4>>2]!=(c|0)){break a}t[a+52|0]=1;c=v[a+16>>2];b:{if(!c){v[a+36>>2]=1;v[a+24>>2]=d;v[a+16>>2]=b;if(v[a+48>>2]!=1){break a}if((d|0)==1){break b}break a}if((b|0)==(c|0)){c=v[a+24>>2];if((c|0)==2){v[a+24>>2]=d;c=d}if(v[a+48>>2]!=1){break a}if((c|0)==1){break b}break a}v[a+36>>2]=v[a+36>>2]+1}t[a+54|0]=1}}function naa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=Ma+-64|0;Ma=e;d=1;a:{if(qj(a,b,0)){break a}d=0;if(!b){break a}b=pr(b,1010692,1010740);d=0;if(!b){break a}d=e+8|0;eb(d|4,0,52);v[e+56>>2]=1;v[e+20>>2]=-1;v[e+16>>2]=a;v[e+8>>2]=b;Qa[v[v[b>>2]+28>>2]](b,d,v[c>>2],1);a=v[e+32>>2];if((a|0)==1){v[c>>2]=v[e+24>>2]}d=(a|0)==1}Ma=e- -64|0;return d|0}function MW(a){a=a|0;var b=0,c=0;v[a+104>>2]=0;v[a>>2]=875896;b=v[a+204>>2];if(b){$a(b)}LW(a+176|0);b=v[a+180>>2];c=v[a+184>>2];a:{if((b|0)==(c|0)){break a}while(1){$a(v[b>>2]);b=b+4|0;if((c|0)!=(b|0)){continue}break}b=v[a+184>>2];c=v[a+180>>2];if((b|0)==(c|0)){break a}v[a+184>>2]=b+(((b-c|0)-4>>>2^-1)<<2)}b=v[a+176>>2];if(b){$a(b)}return a|0}function M0a(a,b){a=a|0;b=b|0;u[a+1016>>1]=x[b+28>>1];t[a+1018|0]=w[b+30|0];t[a+1019|0]=w[b+31|0];t[a+1020|0]=w[b+32|0];t[a+1021|0]=w[b+33|0];t[a+1022|0]=w[b+34|0];v[a+1024>>2]=v[b+36>>2];v[a+1028>>2]=v[b+40>>2];t[a+1032|0]=w[b+44|0];v[a+1036>>2]=v[b+48>>2];v[a+1040>>2]=v[b+52>>2];v[a+1044>>2]=v[b+56>>2];v[a+1048>>2]=v[b+60>>2];return h4(a)|0}function pT(a,b){var c=0,d=0,e=0,f=0;c=Ma-32|0;Ma=c;t[c+7|0]=b;t[c+6|0]=b>>>8;t[c+5|0]=b>>>16;b=3;e=c+5|0;a:{b:{while(1){d=Qa[v[v[a>>2]+12>>2]](a,e,b)|0;if(!d){break b}e=e+d|0;f=d+f|0;b=b-d|0;if(b){continue}break}if((f|0)!=3){break a}Ma=c+32|0;return}lb(mb(c+8|0,237806,241689,474,329617));L()}lb(mb(c+8|0,fl(v[296206]),241689,535,327571));L()}function mh(a){var b=0,c=0;a:{c=a;b=v[a+5820>>2];b:{if((b|0)==16){b=v[a+20>>2];v[a+20>>2]=b+1;t[b+v[a+8>>2]|0]=w[a+5816|0];b=v[a+20>>2];v[a+20>>2]=b+1;t[b+v[a+8>>2]|0]=w[a+5817|0];u[a+5816>>1]=0;a=0;break b}if((b|0)<8){break a}b=v[a+20>>2];v[a+20>>2]=b+1;t[b+v[a+8>>2]|0]=w[a+5816|0];u[a+5816>>1]=w[a+5817|0];a=v[a+5820>>2]-8|0}v[c+5820>>2]=a}}function kg(a,b,c,d){var e=0,f=0,g=0;g=B(b,c);e=w[d+74|0];t[d+74|0]=e-1|e;f=v[d+4>>2];e=v[d+8>>2]-f|0;if((e|0)<1){e=g}else{e=e>>>0>>0?e:g;cb(a,f,e);v[d+4>>2]=e+v[d+4>>2];a=a+e|0;e=g-e|0}if(e){while(1){a:{if(!QD(d)){f=Qa[v[d+32>>2]](d,a,e)|0;if(f+1>>>0>1){break a}}return(g-e>>>0)/(b>>>0)|0}a=a+f|0;e=e-f|0;if(e){continue}break}}return b?c:0}function k4(a){var b=0,c=0,d=0;d=a;c=x[a+2322>>1];a:{b:{if(c>>>0<=x[a+2324>>1]){while(1){b=9;if(w[a+497|0]){break b}u[a+2322>>1]=c;b=c&65535;c:{if(!b){break c}b=ig(a,b);if(!b|w[b+30|0]|(!w[b+31|0]|!w[b+32|0])){break c}b=$g(a,b,0);if(b){break a}}c=c+1|0;if(x[a+2324>>1]>=(c&65535)>>>0){continue}break}}b=w[a+497|0]?9:0}t[d+498|0]=b;b=0}return b}function F2a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Ma-32|0;Ma=c;d=w[a+24|0];e=w[a+12|0];v[c+24>>2]=v[a+16>>2];v[c+20>>2]=d;v[c+16>>2]=e;vb(b,56179,c+16|0);if(v[a+16>>2]>=1){d=0;while(1){e=v[v[a+20>>2]+(d<<2)>>2];v[c+8>>2]=d;v[c>>2]=d;v[c+12>>2]=e&2047;v[c+4>>2]=e>>>11;vb(b,56531,c);d=d+1|0;if((d|0)>2]){continue}break}}Ma=c+32|0;return 0}function DR(a){a=a|0;var b=0,c=0;v[a>>2]=972488;vd(a+100|0);vd(a+72|0);xd(a+48|0);v[a+36>>2]=969432;v[a+12>>2]=969400;b=v[a+40>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Qa[v[v[b>>2]+4>>2]](b)}v[a+40>>2]=0}v[a+28>>2]=969432;b=v[a+32>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Qa[v[v[b>>2]+4>>2]](b)}v[a+32>>2]=0}db(a+20|0);bc(a);return a|0}function qZ(a,b){var c=0,d=0,e=0;d=Ma-32|0;Ma=d;a:{if(!a){break a}c=v[a+24>>2];b:{if(b>>>0<=1){e=v[c+24>>2];v[a+48>>2]=0;v[a+44>>2]=e;t[a+65|0]=0;t[a+36|0]=0;t[a+254|0]=0;t[a+62|0]=0;if((b|0)==1){break b}}t[a+253|0]=0;v[a+180>>2]=-1;t[a+63|0]=0;t[a+64|0]=0;v[a+52>>2]=0;v[a+56>>2]=0}c=v[v[c+20>>2]+20>>2];if(!c){break a}Qa[c|0](a,b)}Ma=d+32|0}function g7(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=Ma-16|0;Ma=e;d=v[a+584>>2];if(w[a+48|0]&4){Lb(24038,13,1,b);a:{b:{switch(v[d>>2]-1|0){case 0:Lb(25958,5,1,b);break a;case 1:Lb(27699,24,1,b);break a;case 2:break b;default:break a}}Lb(29382,25,1,b)}f=v[d>>2];v[e+4>>2]=f;v[e>>2]=f;vb(b,31215,e)}d=v[d+52>>2];if(d){Qa[d|0](a,b,c)}Ma=e+16|0}function bxa(a){a=a|0;var b=0,c=0,d=0;if(a){b=v[a+20>>2];a:{b:{if(b){c=v[a+4>>2];if(!c){break a}d=v[b+80>>2];if(!d){break b}while(1){b=v[d+16>>2];if(b){while(1){if(b+20>>>0<=c>>>0&y[b+4>>2]>=c>>>0){break a}b=v[b>>2];if(b){continue}break}}d=v[d+20>>2];if(d){continue}break}break b}c=v[a+4>>2];if(!c){break a}}Qa[v[256556]](c)}Qa[v[256556]](a)}}function T0a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=a;if(!w[b+28|0]){d=v[b+56>>2];e=v[b+52>>2];f=v[b+48>>2];g=v[b+44>>2];h=v[b+40>>2];i=v[b+36>>2];j=v[b+32>>2];k=1;l=v[b+60>>2]}v[c+2224>>2]=l;v[a+2220>>2]=d;v[a+2216>>2]=e;v[a+2212>>2]=f;v[a+2208>>2]=g;v[a+2204>>2]=h;v[a+2200>>2]=i;v[a+2196>>2]=j;t[a+309|0]=k;return 0}function OD(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=Ma-240|0;Ma=h;v[h>>2]=a;i=1;a:{if((d|0)<2){break a}k=0-b|0;f=a;while(1){f=f+k|0;j=d-2|0;g=f-v[(j<<2)+e>>2]|0;if((Qa[c|0](a,g)|0)>=0){if((Qa[c|0](a,f)|0)>-1){break a}}l=g;g=(Qa[c|0](g,f)|0)>-1;f=g?l:f;v[(i<<2)+h>>2]=f;i=i+1|0;d=g?d-1|0:j;if((d|0)>1){continue}break}}yP(b,h,i);Ma=h+240|0}function NU(a){var b=0,c=0,d=0;a:{if(v[a+8>>2]==13){break a}c=a+8|0;while(1){b=v[a+16>>2];if((Qa[v[v[b>>2]+28>>2]](b)|0)!=-1){if(v[c>>2]==13){break a}continue}b=v[a+16>>2];Qa[v[v[b>>2]+24>>2]](b);bb(c);b=v[a+4>>2]+1|0;v[a+4>>2]=b;d=v[a>>2];if((b|0)>2]){ub(d,b,c,0);b=v[a+16>>2];Qa[v[v[b>>2]+20>>2]](b)}if(v[c>>2]!=13){continue}break}}}function qUa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if(v[c>>2]!=1280266064){ob(a,2050,0,0);return 2050}t[b+32|0]=w[c+32|0];v[b+36>>2]=v[c+36>>2];t[b+40|0]=w[c+40|0];v[b+44>>2]=v[c+44>>2];v[b+48>>2]=v[c+48>>2];d=v[c+52>>2];v[b+52>>2]=d;if(d){e=b;d=d<<2;b=Qa[v[a+152>>2]](d)|0;v[e+56>>2]=b;if(!b){ob(a,1,0,0);return 1}cb(b,v[c+56>>2],d)}return 0}function nc(a,b){var c=0,d=0,e=0,f=0;a:{b:{if(w[a+8|0]){c=v[a>>2];if(c){break b}f=0;break a}c=a}f=v[c>>2]}c=0;d=v[a+4>>2];a=ce(b);e=(a|0)>-1?a:-2147483648;c:{if((d|0)!=(e|0)){break c}if(!e){return 1}if(v[f>>2]!=v[b>>2]){break c}c=1;while(1){a=c;if((a|0)!=(e|0)){c=a+1|0;d=a<<2;if(v[d+f>>2]==v[b+d>>2]){continue}}break}c=a>>>0>=e>>>0}return c}function yj(a){var b=0,c=0,d=0,e=0,f=0;b=Ma-32|0;Ma=b;d=2;e=b+6|0;a:{b:{while(1){c=Qa[v[v[a>>2]+8>>2]](a,e,d)|0;if((c|0)<=-1){break b}f=c+f|0;if(c){e=c+e|0;d=d-c|0;if(d){continue}}break}if((f|0)!=2){break a}Ma=b+32|0;return w[b+7|0]|w[b+6|0]<<8}lb(mb(b+8|0,fl(v[296206]),241689,413,329475));L()}lb(mb(b+8|0,v[279242],241689,564,333339));L()}function xwa(a){a=a|0;var b=0,c=0;v[a+104>>2]=0;v[a>>2]=875896;b=v[a+204>>2];if(b){$a(b)}LW(a+176|0);b=v[a+180>>2];c=v[a+184>>2];a:{if((b|0)==(c|0)){break a}while(1){$a(v[b>>2]);b=b+4|0;if((c|0)!=(b|0)){continue}break}b=v[a+184>>2];c=v[a+180>>2];if((b|0)==(c|0)){break a}v[a+184>>2]=b+(((b-c|0)-4>>>2^-1)<<2)}b=v[a+176>>2];if(b){$a(b)}$a(a)}function mVa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;f=v[a+428>>2]+8|0;g=v[b+32>>2];if(g){e=v[b+36>>2];d=f;while(1){c=v[e>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d|0]=c;t[d+1|0]=c>>>8;t[d+2|0]=c>>>16;t[d+3|0]=c>>>24;t[d+4|0]=w[e+4|0];e=e+8|0;d=d+5|0;h=h+1|0;if(h>>>0>2]){continue}break}}return hd(a,v[b>>2],B(g,5),f)|0}function js(a,b){var c=0,d=0,e=0;a:{b:{c:{d:{if(w[b+8|0]){b=v[b>>2];if(!b){break d}}d=v[b>>2];if(d){break c}}t[a+11|0]=0;break b}c=ce(d);if(c>>>0>=1073741808){break a}e:{f:{if(c>>>0>=2){e=c+4&-4;b=ab(e<<2);v[a+8>>2]=e|-2147483648;v[a>>2]=b;v[a+4>>2]=c;a=b;break f}t[a+11|0]=c;if(!c){break e}}rb(a,d,c)}a=(c<<2)+a|0}v[a>>2]=0;return}sc();L()}function jG(a){var b=0;b=Ma-16|0;Ma=b;v[b>>2]=13;a:{b:{switch(v[a>>2]-3|0){case 0:a=v[a+8>>2];a=Hc(ab(8),a);break a;case 4:if(v[ib(v[a+8>>2],220537,b,0)>>2]!=3){bb(b);ib(v[a+8>>2],311732,b,0)}if(v[b>>2]==3){a=v[b+8>>2];a=Hc(ab(8),a);bb(b);break a}a=0;fb(0,-1,262340,0);bb(b);break a;default:break b}}a=0;fb(0,-1,262340,0)}Ma=b+16|0;return a}function KM(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=gb(40);v[b>>2]=0;b=be(a+624|0,1,b,4);g=P()|0;a:{while(1){if(c){f=-1;break a}v[296803]=0;f=T(33,a|0)|0;c=v[296803];v[296803]=0;d=-1;b:{c:{if(!c){break c}e=v[296804];if(!e){break c}d=pb(v[c>>2],b,g);if(!d){break b}Q(e|0)}c=P()|0;if((d|0)==1){continue}break a}break}$a(b);tc(c,e);L()}$a(b);return f}function $Ja(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,j=0,k=0,l=0;h=Ma-16|0;Ma=h;i=v[a+452>>2];j=v[i+16>>2];k=v[f>>2];v[h+12>>2]=0;l=b;b=g-k|0;Qa[v[v[a+472>>2]+4>>2]](a,l,c,d,v[i+12>>2],h+12|0,b>>>0>j>>>0?j:b);Qa[v[v[a+480>>2]+4>>2]](a,v[i+12>>2],(v[f>>2]<<2)+e|0,v[h+12>>2]);v[f>>2]=v[f>>2]+v[h+12>>2];Ma=h+16|0}function e2a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=v[b+12>>2];if((c|0)>v[a+56>>2]){Nb(50763,0);return-1}a:{b:{d=v[a+84>>2]-4|0;if(d){if((d|0)==12){break b}else{break a}}t[(v[v[a+64>>2]+24>>2]+B(c,488)|0)+417|0]=w[b+17|0];return 0}e=-1;a=v[a+52>>2];if(!a|v[a+40>>2]>0){break a}t[(v[v[a+32>>2]+24>>2]+B(c,488)|0)+417|0]=w[b+17|0];e=0}return e|0}function bj(a,b){var c=0,d=0;c=v[a+8>>2];d=c<<1;if((d|0)<(B(v[a+4>>2],3)|0)){EE(a,d-1|0);c=v[a+8>>2]}d=v[a+12>>2]+(y[b+12>>2]%(c>>>0)<<2)|0;c=v[d>>2];v[b+8>>2]=c;v[b+4>>2]=c;a:{b:{if(c){v[b>>2]=v[c>>2];v[c>>2]=b;c=v[b>>2];if(c){break b}break a}c=v[a+24>>2];v[b>>2]=c;v[a+24>>2]=b;if(!c){break a}}v[c+4>>2]=b}v[d>>2]=b;v[a+4>>2]=v[a+4>>2]+1}function Zk(a,b){a:{if((b|0)>=1024){a=a*8.98846567431158e307;if((b|0)<2047){b=b-1023|0;break a}a=a*8.98846567431158e307;b=((b|0)<3069?b:3069)-2046|0;break a}if((b|0)>-1023){break a}a=a*2.2250738585072014e-308;if((b|0)>-2045){b=b+1022|0;break a}a=a*2.2250738585072014e-308;b=((b|0)>-3066?b:-3066)+2044|0}l(0,0);l(1,b+1023<<20);return a*+n()}function Z0a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=v[b+88>>2];c=v[d+28>>2];a:{if(c){c=c-1|0;v[d+28>>2]=c;if(c){break a}}c=v[d+1144>>2];b:{if(!c){break b}e=v[d+1148>>2];if(!e){break b}Qa[v[a+156>>2]](e,c)}c=v[d+1172>>2];c:{if(!c){break c}e=v[d+1176>>2];if(!e){break c}Qa[v[a+156>>2]](e,c)}Qa[v[a+156>>2]](d,1180)}Qa[v[a+156>>2]](b,92);return 0}function OP(a,b,c,d){var e=0,f=0;if((d|0)==1){f=b;e=v[a+8>>2]-v[a+4>>2]|0;b=b-e|0;c=c-((e>>31)+(f>>>0>>0)|0)|0}a:{if(y[a+20>>2]>y[a+28>>2]){Qa[v[a+36>>2]](a,0,0)|0;if(!v[a+20>>2]){break a}}v[a+28>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;Qa[v[a+40>>2]](a,b,c,d)|0;if((Pa|0)<0){break a}v[a+4>>2]=0;v[a+8>>2]=0;v[a>>2]=v[a>>2]&-17;return 0}return-1}function OEa(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=v[b+712>>2];a=eb(a,0,780);r_(a,b,c,d,e);v[a+108>>2]=i;c=v[i+120>>2];v[a+732>>2]=c;v[a+748>>2]=v[i+1352>>2];b=0;a:{if(v[i+1416>>2]==1){break a}b=107;if(c>>>0<1240){break a}b=c>>>0<33900?1131:32768}v[a+776>>2]=h;v[a+772>>2]=g;v[a+760>>2]=f;v[a+740>>2]=b}function Fia(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Ma-16|0;Ma=d;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=0;v[d+4>>2]=0;v[d>>2]=970612;v[d+4>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;f=d;hl(a,b,d,1);a=v[d+8>>2];a:{if(!a){break a}while(1){e=v[a+8>>2];e=Qa[v[v[e>>2]+24>>2]](e,b,c)|0;if(e){break a}a=v[a>>2];if(a){continue}break}}ac(f);Ma=d+16|0;return e|0}function Eia(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Ma-16|0;Ma=d;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=0;v[d+4>>2]=0;v[d>>2]=970612;v[d+4>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;f=d;hl(a,b,d,1);a=v[d+8>>2];a:{if(!a){break a}while(1){e=v[a+8>>2];e=Qa[v[v[e>>2]+28>>2]](e,b,c)|0;if(e){break a}a=v[a>>2];if(a){continue}break}}ac(f);Ma=d+16|0;return e|0}function DEa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:{c=v[a+20>>2];a=(c+(v[a+16>>2]<<3)|0)-8|0;if(a>>>0>=c>>>0){while(1){e=(a-c>>4<<3)+c|0;d=v[e>>2];if((d|0)==(b|0)){f=e;break a}d=d&2147483647;f=(d|0)==(b|0)?e:f;if((a|0)!=(c|0)){d=b>>>0>d>>>0;c=d?e+8|0:c;a=d?a:e-8|0;if(c>>>0<=a>>>0){continue}}break}if(f){break a}}return 0}return v[f+4>>2]}function sn(a){var b=0,c=0,d=0,e=0;a:{if(v[a+12>>2]>0){break a}c=3;b=v[a>>2];d=v[a+8>>2];b:{if(b>>>0>=d>>>0){break b}c:{while(1){d:{e=b+1|0;v[a>>2]=e;e:{switch(w[b|0]-9|0){case 17:break b;case 50:break c;case 1:case 4:break d;case 0:case 23:break e;default:break a}}b=e;if(d>>>0>b>>>0){continue}break b}break}c=2;break b}c=1}v[a+12>>2]=c}}function s$a(a){a=a|0;var b=0,c=0,d=0;if(v[a+588>>2]>=1){b=v[a+540>>2];b=(v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0;c=v[a+636>>2]+v[a+616>>2]|0;while(1){t[b|0]=w[c|0];t[b+1|0]=w[c+1|0];t[b+2|0]=w[c+2|0];t[b+3|0]=w[c+3|0];c=c+4|0;b=(v[a+584>>2]<<2)+b|0;d=d+1|0;if((d|0)>2]){continue}break}}return 0}function kQa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=1;a:{if(!v[a+16>>2]){break a}a=v[a+20>>2];if(!a){break a}d=v[c>>2];if((d|0)>=4){c=v[a+4>>2];if(!w[c+25|0]){f=A[b+8>>3];g=A[b>>3];t[c+25|0]=1;Td(c,g,f,1)}d=d>>>1|0;c=1;while(1){e=(c<<4)+b|0;Td(v[a+4>>2],A[e>>3],A[e+8>>3],2);c=c+1|0;if((d|0)!=(c|0)){continue}break}}d=0}return d|0}function gH(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;d=w[b+11|0];f=d<<24>>24<0;e=f?v[b+4>>2]:d;g=ce(c);d=e+g|0;if(d>>>0<1073741808){i=v[b>>2];a:{if(d>>>0<=1){t[a+11|0]=e;d=a;break a}h=d+4&-4;d=ab(h<<2);v[a+8>>2]=h|-2147483648;v[a>>2]=d;v[a+4>>2]=e}if(e){rb(d,f?i:b,e)}v[(e<<2)+d>>2]=0;bd(a,c,g);return}sc();L()}function Ti(a,b,c){var d=0,e=0,f=0;d=Ma-16|0;Ma=d;v[d+12>>2]=0;v[d+8>>2]=0;Fj(b,c,d+12|0,d+8|0);c=v[d+8>>2];if(c>>>0<4294967280){f=v[d+12>>2];a:{b:{if(c>>>0>=11){e=c+16&-16;b=ab(e);v[a+8>>2]=e|-2147483648;v[a>>2]=b;v[a+4>>2]=c;a=b;break b}t[a+11|0]=c;if(!c){break a}}cb(a,f,c)}t[a+c|0]=0;a=v[d+12>>2];if(a){$a(a)}Ma=d+16|0;return}sc();L()}function Os(a){var b=0,c=0,d=0;c=Ma-16|0;Ma=c;if(a){a:{b=Qa[v[256552]](44)|0;if(!b){v[c>>2]=342898;nb(0,0,0,0,0,30,2,3,342898,0,0,0,340689,c);break a}v[b>>2]=0;v[b+4>>2]=0;v[b+40>>2]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;if(!Rs(b,a)){d=b;break a}wi(b)}}Ma=c+16|0;return d}function jW(a){a:{if(v[a>>2]!=4){break a}a=v[a+8>>2];if(!hb(a,279480)){break a}if(!hb(a,278408)){return 1}if(!hb(a,282184)){return 2}if(!hb(a,287425)){return 3}if(!hb(a,221191)){return 4}if(!hb(a,221202)){return 5}if(!hb(a,225606)){return 6}if(!hb(a,221190)){return 7}if(!hb(a,221201)){return 8}if(hb(a,269820)){break a}return 9}return 0}function Q0a(a,b){a=a|0;b=b|0;var c=0;if(w[b+28|0]){t[a+311|0]=0;b=v[a+2232>>2];a:{if(!b){break a}c=v[a+2236>>2];if(!c){break a}Qa[v[a+156>>2]](c,b)}v[a+2232>>2]=0;v[a+2236>>2]=0;return 0}t[a+311|0]=1;c=v[b+32>>2];v[a+2232>>2]=c;if(c){c=Qa[v[a+152>>2]](c)|0;v[a+2236>>2]=c;if(!c){ob(a,1,0,0);return 1}cb(c,v[b+36>>2],v[b+32>>2])}return 0}function MU(a,b){var c=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a>>2]=928792;a:{b:{switch(v[b>>2]-3|0){case 1:c=ab(8);Rb(c,v[b+8>>2]);v[a+8>>2]=c;return a;case 0:b=v[b+8>>2];c=ab(8);Hc(c,b);v[a+8>>2]=c;return a;case 3:c=ab(72);b=LU(c,v[b+8>>2]);v[a+4>>2]=c;if(v[b+68>>2]){break a}$a(c);v[a+4>>2]=0;return a;default:break b}}fb(0,-1,247370,0)}return a}function mWa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{if(w[a+286|0]|!w[a+285|0]|(w[a+287|0]|w[a+288|0])){break a}if(w[a+289|0]){break a}if((c|0)!=2){ob(a,1028,0,0);return 1028}c=0;b:{if(!w[a+112|0]){break b}c=Qa[v[b+4>>2]](a,b,e)|0;if(c){break b}a=v[e>>2];t[a+32|0]=w[d|0];t[a+33|0]=w[d+1|0];c=0}return c|0}ob(a,1029,0,0);return 1029}function Yea(a,b){a=a|0;b=b|0;var c=0,d=0;a:{if((b|0)<1){break a}d=b-1|0;c=b&7;if(c){while(1){v[a+4>>2]=0;a=a+12|0;b=b-1|0;c=c-1|0;if(c){continue}break}}if(d>>>0<7){break a}while(1){v[a+4>>2]=0;v[a+88>>2]=0;v[a+76>>2]=0;v[a- -64>>2]=0;v[a+52>>2]=0;v[a+40>>2]=0;v[a+28>>2]=0;v[a+16>>2]=0;a=a+96|0;c=(b|0)>8;b=b-8|0;if(c){continue}break}}}function Vpa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=A[b>>3];A[a+8>>3]=d;e=A[b+8>>3];A[a+16>>3]=e;f=A[b+16>>3];A[a+24>>3]=f;g=A[b+24>>3];A[a+32>>3]=g;h=A[b+32>>3];A[a+40>>3]=h;i=A[b+40>>3];c=1/(d*g-e*f);A[a+80>>3]=d*c;A[a+72>>3]=c*-f;A[a- -64>>3]=c*-e;A[a+56>>3]=g*c;A[a+48>>3]=i;A[a+96>>3]=c*(e*h-d*i);A[a+88>>3]=c*(f*i-g*h)}function $2a(a,b){a=a|0;b=b|0;var c=0,d=0;a:{if(qf(b,a+20|0)){break a}c=gb(B(v[a+20>>2],12));v[a+24>>2]=c;if(!c){break a}if(!v[a+20>>2]){return 0}if(qf(b,c)){break a}while(1){c=B(d,12)+c|0;if(qf(b,c+4|0)){break a}if(qf(b,c+8|0)){break a}d=d+1|0;if(d>>>0>=y[a+20>>2]){return 0}c=v[a+24>>2];if(!qf(b,c+B(d,12)|0)){continue}break}}return-1}function jS(a,b){var c=0,d=0;c=Ma-16|0;Ma=c;b=v[b>>2];a:{if(b){Qa[v[v[b>>2]+28>>2]](c+8|0,b,1);break a}v[c+8>>2]=0}jb(a,c+8|0);b=v[c+8>>2];v[c+8>>2]=0;b:{if(!b){break b}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break b}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}b=a;a=v[a>>2];v[b+4>>2]=v[(a?a+12|0:1117e3)>>2];Ma=c+16|0}function am(a,b,c,d){var e=0,f=0;e=Ma-160|0;Ma=e;cb(e+8|0,998592,144);a:{b:{if((b|0)<=0){if(b){break b}b=1;a=e+159|0}v[e+52>>2]=a;v[e+28>>2]=a;f=-2-a|0;b=b>>>0>f>>>0?f:b;v[e+56>>2]=b;a=a+b|0;v[e+36>>2]=a;v[e+24>>2]=a;a=Ox(e+8|0,c,d);if(!b){break a}b=v[e+28>>2];t[b-((b|0)==v[e+24>>2])|0]=0;break a}v[296206]=61;a=-1}Ma=e+160|0;return a}function kva(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:{if(b>>>0>2147482623){break a}e=b;d=v[a+1032>>2];if(!((d|0)<=(b|0)&(b+2|0)<=(v[a+1036>>2]+d|0))){d=0;if(dh(v[a+4>>2],b,0)){break a}v[a+1032>>2]=b;b=kg(a+8|0,1,1024,v[a+4>>2]);v[a+1036>>2]=b;if((b|0)<2){break a}d=v[a+1032>>2]}a=(e-d|0)+a|0;v[c>>2]=w[a+8|0]<<8|w[a+9|0];d=1}return d|0}function ZWa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;h=v[v[v[a+544>>2]+88>>2]+36>>2];e=v[a+644>>2];c=v[a+636>>2];v[a+644>>2]=c;v[a+636>>2]=e;d=v[a+672>>2];if((d|0)>2]){b=v[a+656>>2];f=(b<<2)+e|0;while(1){v[c>>2]=v[f>>2];b=b+1|0;g=b>>>0>>0;f=g?f+4|0:e;b=g?b:0;c=c+4|0;d=d+1|0;if((d|0)>2]){continue}break}}return 0}function MC(a){var b=0,c=0,d=0,e=0;a:{c=v[a+4>>2];if(!(c&16)){if(w[a+8|0]&7){return-1}if(!(w[a|0]&6)){return-1}e=a;b=v[a+16>>2];d=v[a+24>>2]-b|0;if((d|0)>=1){if((Qa[v[v[a+52>>2]+4>>2]](v[a+56>>2],b,d)|0)!=(d|0)){break a}c=v[a+4>>2];b=v[a+16>>2]}v[e+24>>2]=b;v[a+28>>2]=v[a+20>>2];v[a+4>>2]=c|32}return 0}v[a+8>>2]=v[a+8>>2]|2;return-1}function Ika(a,b){a=a|0;b=b|0;var c=0,d=0;a:{if((b|0)<1){break a}d=b-1|0;c=b&7;if(c){while(1){v[a+8>>2]=0;a=a+12|0;b=b-1|0;c=c-1|0;if(c){continue}break}}if(d>>>0<7){break a}while(1){v[a+8>>2]=0;v[a+92>>2]=0;v[a+80>>2]=0;v[a+68>>2]=0;v[a+56>>2]=0;v[a+44>>2]=0;v[a+32>>2]=0;v[a+20>>2]=0;a=a+96|0;c=(b|0)>8;b=b-8|0;if(c){continue}break}}}function Ii(a,b){var c=0,d=0,e=0;c=w[a|0];a:{if(!c){break a}while(1){d=w[b|0];if(!d){e=c;break a}b:{if((c|0)==(d|0)){break b}d=c-65>>>0<26?c|32:c;c=w[b|0];if((d|0)==((c-65>>>0<26?c|32:c)|0)){break b}e=w[a|0];break a}b=b+1|0;c=w[a+1|0];a=a+1|0;if(c){continue}break}}a=e&255;e=a-65>>>0<26?a|32:a;a=w[b|0];return e-(a-65>>>0<26?a|32:a)|0}function yP(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=Ma-256|0;Ma=e;a:{if((c|0)<2){break a}h=(c<<2)+b|0;v[h>>2]=e;if(!a){break a}d=e;while(1){f=a>>>0<256?a:256;cb(d,v[b>>2],f);d=0;while(1){g=(d<<2)+b|0;d=d+1|0;cb(v[g>>2],v[(d<<2)+b>>2],f);v[g>>2]=v[g>>2]+f;if((c|0)!=(d|0)){continue}break}a=a-f|0;if(!a){break a}d=v[h>>2];continue}}Ma=e+256|0}function rw(a){var b=0,c=0,d=0;a:{if(!a){break a}b=w[a|0];if(!b){break a}d=(b|0)==45;b=d+a|0;a=t[b|0];b:{if(!(w[((a&248)>>>3|0)+425600|0]>>>(a&7)&1)){break b}while(1){if(c<<16>>16>3274){c=32767;break b}c=w[a+425632|0]+B(c,10)|0;a=t[b+1|0];b=b+1|0;if(w[((a&248)>>>3|0)+425600|0]>>>(a&7)&1){continue}break}}c=d?0-c|0:c}return c<<16>>16}function mp(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{e=v[v[a+4>>2]+8>>2]&3;if(!e){c=fi(0,0);d=v[v[a>>2]+12>>2];if(d){if(Qa[d|0](a,c)|0){break b}}f=a,g=Ei(c)+8|0,v[f+12>>2]=g;Qm(c)}if(Fh(b,v[a+12>>2])){break b}if(Fh(b,v[a+8>>2])){break b}d=0;if(e){break a}if(Pm(b,c,v[a+12>>2]-8|0)){break b}ne(c);return 0}d=-1;if(!c){break a}ne(c)}return d}function c1(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=360884;b1(a);a:{if(!v[a+32>>2]){break a}b=v[a+28>>2];c=v[b>>2];d=v[a+24>>2];v[c+4>>2]=v[d+4>>2];v[v[d+4>>2]>>2]=c;v[a+32>>2]=0;c=a+24|0;if((c|0)==(b|0)){break a}while(1){d=v[b+4>>2];if(t[b+19|0]<=-1){$a(v[b+8>>2])}$a(b);b=d;if((c|0)!=(b|0)){continue}break}}zw(a+8|0,v[a+12>>2]);return a|0}function WS(a,b,c){var d=0,e=0,f=0;d=Ma-32|0;Ma=d;a:{e=v[b+48>>2];f=v[b+44>>2];b:{if(((e-f|0)+1|0)>(c|0)){if((c|0)<(f|0)|(c|0)>(e|0)){break a}c=v[b+32>>2]+(c-v[b+36>>2]<<2)|0;b=v[c>>2];if(!b){v[a>>2]=0;break b}v[b+4>>2]=v[b+4>>2]+1;v[a>>2]=v[c>>2];break b}v[a>>2]=0;qb(a,0)}Ma=d+32|0;return}lb(mb(d+8|0,227376,271519,632,307876));L()}function LUa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;if(v[c>>2]!=1347179589){ob(a,2050,0,0);return 2050}t[b+32|0]=w[c+32|0];a=v[c+36>>2];v[b+36>>2]=a;if(a){f=c+40|0;g=b+40|0;c=0;while(1){d=B(c,3);a=d+g|0;d=d+f|0;e=w[d|0]|w[d+1|0]<<8;t[a|0]=e;t[a+1|0]=e>>>8;t[a+2|0]=w[d+2|0];c=c+1|0;if(c>>>0>2]){continue}break}}return 0}function L2(a,b,c,d){var e=0;e=Ma-16|0;Ma=e;a:{if(!d){break a}v[d>>2]=0;if(!b|!c|((b?v[b+8>>2]:-1)|0)!=1){break a}Uq(c,e+12|0,e+8|0,0,0);if(!v[e+12>>2]|!v[e+8>>2]){break a}b:{c:{if(!a){a=Ct(b);if(a){break c}a=0;break a}BK(a,b);if((a|0)!=(b|0)){break c}a=b;b=se(0,b);break b}if(b){v[b+16>>2]=v[b+16>>2]+1}}v[d>>2]=b}Ma=e+16|0;return a}function AA(a,b){var c=0,d=0;if(!b){return 0}if(v[b>>2]<=0){c=Ma-256|0;Ma=c;v[c+24>>2]=v[209078];d=v[209077];v[c+16>>2]=v[209076];v[c+20>>2]=d;d=v[209075];v[c+8>>2]=v[209074];v[c+12>>2]=d;d=v[209073];v[c>>2]=v[209072];v[c+4>>2]=d;a:{if(v[b>>2]<=0){a=oZ(0,Ze(a,c+32|0,c,b),c,b);if(v[b>>2]<1){break a}}a=0}Ma=c+256|0}else{a=0}return a}function rm(a,b,c,d){var e=0,f=0,g=0,h=0;e=Ma-32|0;Ma=e;a:{if(a){if(v[a+172>>2]==-1?v[a+212>>2]:0){break a}f=v[a>>2];if(f){g=v[f+108>>2]==-554844497?v[f+124>>2]:g;f=v[f+84>>2]}else{f=0}h=v[a+4>>2];v[e+20>>2]=0;v[e+16>>2]=d;nb(g,f,h,a,0,1,b,1,d,0,0,0,c,e+16|0);break a}v[e+4>>2]=0;v[e>>2]=d;nb(0,0,0,0,0,1,b,1,d,0,0,0,c,e)}Ma=e+32|0}function S$(a){var b=0,c=0,d=0;a:{if(!a){break a}b=w[a|0];if(!b){break a}d=(b|0)==45;b=d+a|0;a=t[b|0];b:{if(!(w[((a&248)>>>3|0)+425600|0]>>>(a&7)&1)){break b}while(1){if((c|0)>214748362){c=2147483647;break b}c=w[a+425632|0]+B(c,10)|0;a=t[b+1|0];b=b+1|0;if(w[((a&248)>>>3|0)+425600|0]>>>(a&7)&1){continue}break}}c=d?0-c|0:c}return c}function PC(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=gb(40);v[e>>2]=0;e=be(a+4|0,1,e,4);h=P()|0;a=0;a:{while(1){if(a){break a}v[296803]=0;W(516,b|0,c|0,d|0)|0;a=v[296803];v[296803]=0;f=-1;b:{if(!a){break b}g=v[296804];if(!g){break b}f=pb(v[a>>2],e,h);if(!f){$a(e);tc(a,g);L()}Q(g|0)}a=P()|0;if((f|0)==1){continue}break}i=1}$a(e);return i}function ED(a){var b=0;a:{b=v[a+4>>2];if(!v[(v[v[b>>2]-12>>2]+b|0)+24>>2]){break a}b=v[a+4>>2];if(v[(v[v[b>>2]-12>>2]+b|0)+16>>2]){break a}b=v[a+4>>2];if(!(v[(v[v[b>>2]-12>>2]+b|0)+4>>2]&8192)){break a}b=v[a+4>>2];b=v[(v[v[b>>2]-12>>2]+b|0)+24>>2];if((Qa[v[v[b>>2]+24>>2]](b)|0)!=-1){break a}a=v[a+4>>2];_l(v[v[a>>2]-12>>2]+a|0,1)}}function L4(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(v[a+588>>2]>=1){b=v[a+540>>2];c=(v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0;d=v[a+636>>2]+v[a+616>>2]|0;b=0;while(1){if(!b){f=w[d|0];d=d+1|0;b=128}t[c|0]=(b&f)!=0;b=(b&254)>>>1|0;c=v[a+584>>2]+c|0;e=e+1|0;if((e|0)>2]){continue}break}}return 0}function Au(a,b,c){var d=0,e=0,f=0,g=0;f=v[b>>2];d=v[c>>2];f=(d|0)<(f|0)?f:d;v[a>>2]=f;d=v[b+8>>2];e=v[c+8>>2];d=(d|0)<(e|0)?d:e;v[a+8>>2]=d;e=v[b+4>>2];g=v[c+4>>2];e=(e|0)>(g|0)?e:g;v[a+4>>2]=e;b=v[b+12>>2];c=v[c+12>>2];b=(b|0)<(c|0)?b:c;v[a+12>>2]=b;if(!((d|0)>(f|0)&(b|0)>(e|0))){v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0}}function $p(a,b){var c=0,d=0,e=0,f=0;e=Ma-32|0;Ma=e;c=w[b+11|0];f=c<<24>>24<0;d=f?v[b>>2]:b;c=f?v[b+4>>2]:c;a:{if(!(!c|v[d>>2]!=47)){d=bf(e+16|0,b,1,-1);f=t[d+11|0]<0?v[d>>2]:d;b=bf(e,b,1,-1);c=w[b+11|0];Ti(a,f,c<<24>>24<0?v[b+4>>2]:c);if(t[b+11|0]<=-1){$a(v[b>>2])}if(t[d+11|0]>-1){break a}$a(v[d>>2]);break a}Ti(a,d,c)}Ma=e+32|0}function xpa(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;f=ab(312);a=v[a+24>>2];g=v[e+12>>2];v[f+16>>2]=v[e+8>>2];v[f+20>>2]=g;g=v[e+4>>2];v[f+8>>2]=v[e>>2];v[f+12>>2]=g;v[f>>2]=952800;v[a+4>>2]=v[a+4>>2]+1;e=f+40|0;v[f+300>>2]=e;v[f+36>>2]=d;v[f+32>>2]=c;v[f+28>>2]=b;v[f+24>>2]=a;v[f+304>>2]=b;v[f+296>>2]=e;return f|0}function lw(a){var b=0,c=0,d=0,e=0,f=0;sn(a);a:{if(v[a+12>>2]>0){break a}b=v[a>>2];d=b-1|0;e=v[a+8>>2];b:{c:{while(1){c=3;if(b>>>0>=e>>>0){break b}f=b;b=b+1|0;v[a>>2]=b;d:{switch(w[f|0]-9|0){case 0:case 23:break a;case 17:break b;case 50:break c;case 1:case 4:break d;default:continue}}break}c=2;break b}c=1}v[a+12>>2]=c}return d}function fFa(a,b){a=a|0;b=b|0;var c=0,d=0;a:{b:{c=v[a+28>>2];if(w[c+44|0]){break b}d=q_(c,v[b>>2],v[b+4>>2]);if(!d){break b}a=v[a+24>>2];if(v[a>>2]){break a}v[a>>2]=d;return}d=mw(c,3);if(d){a=v[a+24>>2];if(v[a>>2]){break a}v[a>>2]=d;return}SI(c,v[b+8>>2],v[b+12>>2],0);SI(c,v[b+16>>2],v[b+20>>2],0);SI(c,v[b+24>>2],v[b+28>>2],1)}}function en(a,b){var c=0,d=0,e=0,f=0;c=v[a+8>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;a:{if((c|0)==-1){break a}d=v[a+8>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break a}e=v[a+8>>2];e=Qa[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){break a}a=v[a+8>>2];a=Qa[v[v[a>>2]+28>>2]](a)|0;if((a|0)==-1){break a}v[b>>2]=a|(d<<16|c<<24|e<<8);f=1}return f}function Pg(a,b,c){var d=0;d=v[a+20>>2];t[b|0]=w[(w[b|0]+a|0)+2348|0];b=(c+d>>>2|0)+24576|0;b=65536-(b>>>0>>0?b:c)|0;c=b+v[a+32>>2]|0;v[a+32>>2]=c;b=b+v[a+20>>2]|0;v[a+20>>2]=b;if(b>>>0>=32768){while(1){pu(a,1-(c>>>15|0)|0);c=v[a+32>>2]<<1&65534;v[a+32>>2]=c;b=v[a+20>>2]<<1&65534;v[a+20>>2]=b;if(b>>>0>32767){continue}break}}}function xp(a){v[a+556>>2]=434;v[a+548>>2]=435;v[a+540>>2]=436;v[a+520>>2]=437;v[a+516>>2]=438;v[a+512>>2]=1;v[a+528>>2]=1;v[a+580>>2]=439;v[a+576>>2]=440;v[a+572>>2]=441;v[a+568>>2]=442;v[a+564>>2]=441;v[a+560>>2]=443;v[a+552>>2]=444;v[a+544>>2]=445;v[a+536>>2]=438;v[a+532>>2]=437;v[a+524>>2]=438;v[a+12>>2]=v[a+12>>2]&-131329}function gHa(a){a=a|0;var b=0,c=0,d=0,e=0;d=Ma-16|0;Ma=d;c=v[a>>2];b=v[c+320>>2];c=tg(v[v[c+96>>2]+4>>2],239159);a:{if(!c|!b){break a}b=v[b>>2];if(!b){break a}c=Qa[b|0](c)|0;if(!c){break a}b=v[a>>2];e=Qa[v[c>>2]](v[b+100>>2],v[b+304>>2]+B(v[b+4>>2],252)|0,d+12|0)|0;if(e){break a}v[v[a+40>>2]>>2]=v[d+12>>2]}Ma=d+16|0;return e|0}function _I(a){a=a|0;var b=0;b=Ma-16|0;v[b+12>>2]=a;v[a+60>>2]=2333;v[a+64>>2]=0;v[a+52>>2]=1667;v[a+56>>2]=275;v[a+44>>2]=1e3;v[a+48>>2]=275;v[a+36>>2]=500;v[a+40>>2]=400;t[a+32|0]=1;v[a+28>>2]=1;b=v[a+8>>2]^(b+8^b+12);b=b>>>10^b^b>>>20;v[a+68>>2]=b;a:{if((b|0)<=-1){b=0-b|0}else{if(b){break a}b=123456789}v[a+68>>2]=b}return 0}function T2(a){var b=0,c=0,d=0,e=0;if(!a){return 0}c=v[a+8>>2];a:{if((c|0)<0){break a}d=v[a+12>>2];if((d|0)<0){break a}e=v[a+4>>2];a=v[a>>2];if((a|0)<=-1){c=a+c|0;if((c|0)<1){break a}a=0}if((e|0)<=-1){d=e+d|0;if((d|0)<1){break a}e=0}b=Yb(1,20);if(!b){return 0}v[b+16>>2]=1;v[b+12>>2]=d;v[b+8>>2]=c;v[b+4>>2]=e;v[b>>2]=a}return b}function QNa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=a+8|0;a=v[i1(c,b)>>2];if(!a){a:{b:{if(!v[290698]){break b}a=v[290698];a=Qa[v[v[a>>2]+24>>2]](a,b)|0;if(!a){break b}Qa[v[v[a>>2]+8>>2]](a)|0;break a}a=ab(20);v[a+4>>2]=1;v[a>>2]=353400;v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=360620;t[a+16|0]=0;SJ(a,b,0)}d=i1(c,b),e=a,v[d>>2]=e}return a|0}function Me(a){var b=0,c=0,d=0,e=0,f=0;b=Ma-32|0;Ma=b;d=1;e=b+7|0;a:{b:{while(1){c=Qa[v[v[a>>2]+8>>2]](a,e,d)|0;if((c|0)<=-1){break b}f=c+f|0;if(c){e=c+e|0;d=d-c|0;if(d){continue}}break}if((f|0)!=1){break a}Ma=b+32|0;return w[b+7|0]}lb(mb(b+8|0,fl(v[296206]),241689,413,329475));L()}lb(mb(b+8|0,v[279242],241689,555,333279));L()}function H5(a,b,c){var d=0;a:{if(v[a>>2]|c>>>0<34|(w[b|0]!=66|w[b+1|0]!=77)){break a}if(w[b+6|0]|w[b+7|0]|(w[b+27|0]|w[b+26|0]!=1)){break a}b:{switch(w[b+28|0]){case 0:case 1:case 4:case 8:case 16:case 24:case 32:break b;default:break a}}if(w[b+29|0]|w[b+30|0]>5|(w[b+31|0]|w[b+32|0])){break a}if(w[b+33|0]){break a}d=1}return d}function yX(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=Ma-16|0;Ma=c;a:{if(!a){break a}d=v[a+4>>2];b:{b=Qa[v[256552]](8)|0;if(b){v[b>>2]=0;v[b+4>>2]=0;if(d){f=b,g=Sd(d),v[f+4>>2]=g}a=v[a>>2];if(!a){break b}f=b,g=yX(a),v[f>>2]=g;e=b;break a}v[c>>2]=290868;nb(0,0,0,0,0,23,2,3,290868,0,0,0,340689,c);break a}v[b>>2]=0;e=b}Ma=c+16|0;return e}function td(a){var b=0,c=0,d=0,e=0,f=0;while(1){b=a;a=b+1|0;c=t[b|0];if((c|0)==32|c-9>>>0<5){continue}break}a:{b:{c:{c=t[b|0];switch(c-43|0){case 0:break b;case 2:break c;default:break a}}e=1}c=t[a|0];b=a;f=e}if(c-48>>>0<10){while(1){d=(B(d,10)-t[b|0]|0)+48|0;a=t[b+1|0];b=b+1|0;if(a-48>>>0<10){continue}break}}return f?d:0-d|0}function nua(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=886776;b=v[a+1048>>2];a:{if(!b){break a}c=v[a+1044>>2];if((c|0)<1){break a}while(1){b=v[(d<<2)+b>>2];if(b){Qa[v[v[b>>2]+4>>2]](b);c=v[a+1044>>2]}d=d+1|0;if((d|0)<(c|0)){b=v[a+1048>>2];continue}break}b=v[a+1048>>2]}tb(b);tb(v[a+1052>>2]);tb(v[a+1056>>2]);tb(v[a+1060>>2]);return a|0}function TU(a,b){var c=0;Th(v[a+88>>2]);Th(v[a+92>>2]);Th(v[a+96>>2]);Th(v[a+100>>2]);Th(v[a+104>>2]);Th(v[a+108>>2]);Th(v[a+112>>2]);Th(v[a+116>>2]);Th(v[a+120>>2]);Th(v[a+124>>2]);Th(v[a+128>>2]);Th(v[a+132>>2]);Th(v[a+136>>2]);c=1<>2];if((c|0)==v[b+4>>2]){Th(b);return}$a(mc(b));b=ab(8);Sg(b,c);v[a+140>>2]=b} -function Mg(a,b,c){var d=0,e=0;d=c-1|0;a:{if(d>>>0>31|!(1<>2]=1;v[d+8>>2]=c;v[d+4>>2]=b;v[d>>2]=a;a=(B(a,c)+31|0)/32|0;v[d+12>>2]=a;a=Qa[v[256541]](B(a,b)<<2)|0;if(!a){break a}v[d+40>>2]=a;Bt(d);eb(v[d+40>>2],0,B(v[d+12>>2],v[d+4>>2])<<2);e=d}return e}function qe(a,b){var c=0,d=0,e=0,f=0;c=v[a+4>>2];a=v[c+4>>2];a:{b:{if(!a){break b}if((tq(a)|0)!=1){break b}f=b+1|0;while(1){d=Sz(v[c+4>>2]);a=Hv(v[c+4>>2]);if((d|0)==-1|(a|0)==-1|(a|0)<(b|0)){break b}e=1;if((d|0)==1&(a|0)==(f|0)){break a}if((d|0)==15&(a|0)==(b|0)){break b}if((tq(v[c+4>>2])|0)==1){continue}break}}e=0}return e}function exa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=v[a+420>>2];if(v[a+236>>2]){d=v[c+68>>2];if(!d){Fv(a,v[c+72>>2]);d=v[a+236>>2];v[c+68>>2]=d;v[c+72>>2]=v[c+72>>2]+1&7}v[c+68>>2]=d-1}if(v[a+316>>2]>=1){d=c+204|0;e=v[a+372>>2];c=0;while(1){Hd(a,d,u[v[(c<<2)+b>>2]>>1]>>>e&1);c=c+1|0;if((c|0)>2]){continue}break}}return 1}function _$(a,b){var c=0,d=0,e=0,f=0;d=Ma-16|0;Ma=d;v[b>>2]=0;a:{b:{c:{d:{c=v[a+8>>2];if(y[a+4>>2]<=c+1>>>0){break d}e=v[a+20>>2];e:{if(e){if((Qa[e|0](a,c,d+14|0,2)|0)!=2){break d}c=v[a+8>>2];b=d+14|0;break e}b=v[a>>2];if(!b){break c}b=b+c|0}f=w[b|0]|w[b+1|0]<<8;break b}v[b>>2]=85;break a}f=0}v[a+8>>2]=c+2}Ma=d+16|0;return f}function Z8(a){a=a|0;var b=0,c=0,d=0,e=0;c=1;d=v[a+584>>2];if(!(t[d+4|0]&1)){b=12;e=a;if(t[d+28|0]&1){b=13;c=!v[d+92>>2]|2}Yk(e,c,b);Yk(a,c,b);Yk(a,c,b);Yk(a,c,b);Yk(a,c,b);Yk(a,c,b);if(v[a+608>>2]>=v[a+600>>2]){Xd(a)}d=d- -64|0;c=v[d>>2];b=v[a+604>>2];v[a+604>>2]=b+1;t[b|0]=c;v[a+608>>2]=v[a+608>>2]+1;v[d>>2]=0;v[d+4>>2]=8}}function V7(a){a=a|0;var b=0,c=0;b=v[a+24>>2];b=b?b-20|0:0;c=v[b+48>>2];c=Qa[v[v[c>>2]+12>>2]](c,v[b+52>>2],1,4096,0,0)|0;if(!c){if(w[b+56|0]){c=v[a>>2];v[c+20>>2]=43;Qa[v[c>>2]](a)}c=v[a>>2];v[c+20>>2]=123;Qa[v[c+4>>2]](a,-1);t[v[b+52>>2]]=255;t[v[b+52>>2]+1|0]=217;c=2}t[b+56|0]=0;v[b+24>>2]=c;v[b+20>>2]=v[b+52>>2];return 1}function NM(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=gb(40);v[d>>2]=0;d=be(a+4|0,1,d,4);g=P()|0;a=0;a:{while(1){if(a){break a}v[296803]=0;W(32,b|0,c|0,1)|0;a=v[296803];v[296803]=0;e=-1;b:{if(!a){break b}f=v[296804];if(!f){break b}e=pb(v[a>>2],d,g);if(!e){$a(d);tc(a,f);L()}Q(f|0)}a=P()|0;if((e|0)==1){continue}break}h=1}$a(d);return h}function wO(a){var b=0,c=0,d=0,e=0;d=Ma-16|0;Ma=d;b=v[a+100>>2];c=1;a:{if((b|0)==-1){break a}e=v[a+60>>2];c=0;if(e>>>0>=0-b>>>0){break a}c=((b+e|0)-1>>>0)/(b>>>0)|0}b=c;b:{if(x[a+138>>1]!=2){break b}c=x[a+98>>1];b=x3a(c,0,b,0);e=Pa;if(!c|!e){break b}b=v[a>>2];a=v[a+628>>2];v[d>>2]=5151;wb(a,b,22641,d);b=0}Ma=d+16|0;return b}function qR(a,b,c){var d=0,e=0,f=0;f=Ma-16|0;Ma=f;v[a>>2]=0;v[a+4>>2]=v[279250];d=v[b>>2];if((d|0)<(c|0)){while(1){e=f+8|0;rR(e,d);Cd(a,e);db(e);d=v[b>>2]+1|0;v[b>>2]=d;if((c|0)>(d|0)){continue}break}}if((c|0)<(d|0)){while(1){e=d-1|0;v[b>>2]=e;d=f+8|0;LE(d,e);Cd(a,d);db(d);d=v[b>>2];if((d|0)>(c|0)){continue}break}}Ma=f+16|0}function _8(a){a=a|0;var b=0,c=0;b=v[a+584>>2];if(b){v[a+672>>2]=v[b+48>>2];v[a+668>>2]=v[b+52>>2];v[a+676>>2]=v[b+56>>2];c=v[b+80>>2];if(c){$a(c)}b=v[b+96>>2];if(b){$a(b)}b=v[a+584>>2];c=v[b+36>>2];if(c){$a(c);b=v[a+584>>2]}c=v[b+44>>2];if(c){$a(c);b=v[a+584>>2]}$a(b);v[a+584>>2]=0;xp(a);return}O(40584,7814,1092,86794);L()}function WZa(a){a=a|0;var b=0,c=0,d=0,e=0;if(v[a+588>>2]>=1){d=v[a+644>>2];b=d;while(1){c=w[b|0]|w[b+1|0]<<8;t[d|0]=((c<<8|c>>>8)&65535)>>>8;c=w[b+2|0]|w[b+3|0]<<8;t[d+1|0]=((c<<8|c>>>8)&65535)>>>8;c=w[b+4|0]|w[b+5|0]<<8;t[d+2|0]=((c<<8|c>>>8)&65535)>>>8;b=b+6|0;d=d+3|0;e=e+1|0;if((e|0)>2]){continue}break}}return 0}function Pra(a){a=a|0;var b=0,c=0,d=0,e=0;c=ab(24);b=v[a+12>>2];b=Qa[v[v[b>>2]+8>>2]](b)|0;d=v[a+16>>2];v[c+16>>2]=d;v[c+12>>2]=b;v[c>>2]=887844;v[c+8>>2]=0;d=Pb(B(Qa[v[v[b>>2]+28>>2]](b)|0,d+1|0),1);v[c+20>>2]=d;v[c+4>>2]=v[b+4>>2];b=v[a+16>>2];e=v[a+20>>2];a=v[a+12>>2];cb(d,e,B(Qa[v[v[a>>2]+28>>2]](a)|0,b+1|0));return c|0}function Loa(a){a=a|0;var b=0,c=0;b=v[a+8>>2];a:{b:{if(b){a=v[b+36>>2];if((a|0)>=v[b+28>>2]){if(!ps(b)){return-1}a=v[b+36>>2]}v[b+36>>2]=a+1;a=v[b+32>>2]+a|0;break b}c=-1;if(v[a+16>>2]){break a}b=v[a+53312>>2];if((b|0)>=v[a+53308>>2]){if(!cz(a)){break a}b=v[a+53312>>2]}v[a+53312>>2]=b+1;a=(a+b|0)+49208|0}c=w[a|0]}return c|0}function HPa(a,b,c,d,e,f,g){a=a|0;b=+b;c=+c;d=+d;e=+e;f=+f;g=g|0;var h=0,i=0;h=Ma+-64|0;Ma=h;i=En(h+56|0,1,0,0,1,0,0);g=e<=1?0:f<=1?0:g;if(!(g?0:b==0)){c=e*.5+c;d=f*.5+d;Bw(i,-c,-d,1);VJ(i,b,1);wB(i,g&1?-1:1,g&2?-1:1);Bw(i,c,d,1)}rt(i,h);Qa[v[v[a>>2]+372>>2]](a,h,h|8,h+16|0,h+24|0,h+32|0,h+40|0)|0;me(i);Ma=h- -64|0;return 0}function Eo(a,b){var c=0,d=0;c=Qa[v[256552]](16)|0;if(c){a=(a|0)<1?256:a;v[c+4>>2]=a;v[c+8>>2]=0;v[c+12>>2]=0;d=B(a,24);a=Qa[v[256552]](d)|0;v[c>>2]=a;if(!a){Qa[v[256556]](c);return 0}eb(a,0,d);v[c+12>>2]=b;a:{if(!w[1164140]){a=gb(4);v[291036]=a;if(!a){break a}t[1164140]=1}if(!b){break a}v[b>>2]=v[b>>2]+1}}else{c=0}return c}function ng(a){var b=0,c=0,d=0,e=0,f=0;b=Ma-16|0;Ma=b;d=t[a+11|0]<0?v[a>>2]:a;c=ce(d);if(c>>>0<1073741808){a:{b:{if(c>>>0>=2){e=c+4&-4;a=ab(e<<2);v[b+8>>2]=e|-2147483648;v[b>>2]=a;v[b+4>>2]=c;break b}t[b+11|0]=c;a=b;if(!c){break a}}rb(a,d,c)}v[(c<<2)+a>>2]=0;f=oN(b);if(t[b+11|0]<=-1){$a(v[b>>2])}Ma=b+16|0;return f}sc();L()}function kUa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if(v[c>>2]!=1346458452){ob(a,2050,0,0);return 2050}u[b+32>>1]=x[c+32>>1];t[b+34|0]=w[c+34|0];v[b+36>>2]=v[c+36>>2];v[b+40>>2]=v[c+40>>2];d=v[c+44>>2];v[b+44>>2]=d;if(d){e=b;d=B(d,36);b=Qa[v[a+152>>2]](d)|0;v[e+48>>2]=b;if(!b){ob(a,1,0,0);return 1}cb(b,v[c+48>>2],d)}return 0}function g_a(a){a=a|0;var b=0,c=0,d=0,e=0;b=v[a+588>>2];if((b|0)>=1){c=v[a+644>>2];b=b-1|0;d=c+(b<<2)|0;b=c+(b<<3)|0;c=0;while(1){t[b+7|0]=0;e=w[d+3|0];t[b+5|0]=0;t[b+6|0]=e;e=w[d+2|0];t[b+3|0]=0;t[b+4|0]=e;e=w[d+1|0];t[b+1|0]=0;t[b+2|0]=e;t[b|0]=w[d|0];b=b-8|0;d=d-4|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function er(a,b){var c=0,d=0;c=-1;d=v[a+8>>2];a:{if(d&7){break a}c=v[a+64>>2];if(!((c|0)<0|(c|0)>v[a+60>>2])){v[a+8>>2]=d|4;return-1}c=-1;d=v[a+28>>2];v[a+28>>2]=d-1;b:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=a;a=v[a+24>>2];v[c+24>>2]=a+1;a=w[a|0];break b}a=Eb(a,1);if((a|0)==-1){break a}}c=0;if(!b){break a}t[b|0]=a}return c}function bSa(a){a=a|0;var b=0,c=0;a:{b=v[a+436>>2];b:{if(!b){if(!uK(a)){break b}b=v[a+436>>2]}c=v[v[a+460>>2]+20>>2];if((c+208|0)==(b|0)){b=v[a>>2];v[b+24>>2]=c;v[b+20>>2]=100;Qa[v[v[a>>2]+4>>2]](a,3);v[a+436>>2]=0;break a}if(Qa[v[v[a+24>>2]+20>>2]](a,c)|0){break a}}return 0}a=v[a+460>>2];v[a+20>>2]=v[a+20>>2]+1&7;return 1}function WHa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;a=v[a+712>>2];a:{b:{if(!a){break b}f=v[a+1504>>2];e=6;if((f|0)==65535){break a}if(b){e=v[a+3096>>2];if(!e){e=Gj(a,f);v[a+3096>>2]=e}v[b>>2]=e}if(c){e=v[a+3100>>2];if(!e){e=Gj(a,v[a+1508>>2]);v[a+3100>>2]=e}v[c>>2]=e}if(!d){break b}v[d>>2]=v[a+1512>>2]}e=0}return e|0}function S_(a,b,c){var d=0,e=0,f=0;e=Ma-16|0;Ma=e;d=Mb(a,0);a:{if(d){break a}f=Ac(a,e+12|0);d=v[e+12>>2];if(d){break a}b:{if((f+32767&65535)>>>0<2){xi(a,e+12|0);d=v[e+12>>2];if(d){break a}if((f|0)==32769){break b}}d=Mb(a,0);if(d){break a}}d=Ed(a,c);if(d){break a}b=Jb(v[a+32>>2],b,c);dd(a);d=((b|0)!=0)<<1}Ma=e+16|0;return d}function NLa(a){a=a|0;var b=0,c=0;a:{b=v[a>>2];if(!b){break a}a=a+20|0;if(!a){break a}b=v[b>>2];if(!b){break a}if(t[a+16|0]&1){c=v[a+4>>2];if(c){Qa[v[b+8>>2]](b,c)}v[a+4>>2]=0;c=v[a+8>>2];if(c){Qa[v[b+8>>2]](b,c)}v[a+8>>2]=0;c=v[a+12>>2];if(c){Qa[v[b+8>>2]](b,c)}}v[a>>2]=0;v[a+4>>2]=0;v[a+16>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0}}function JM(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=gb(40);v[c>>2]=0;c=be(a+624|0,1,c,4);g=P()|0;a:{while(1){if(d){break a}v[296803]=0;X(45,a|0,b|0,0);d=v[296803];v[296803]=0;e=-1;b:{if(!d){break b}f=v[296804];if(!f){break b}e=pb(v[d>>2],c,g);if(!e){$a(c);tc(d,f);L()}Q(f|0)}d=P()|0;if((e|0)==1){continue}break}h=1}$a(c);return h}function sZa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(v[a+2308>>2]){e=v[a+2300>>2];d=v[a+2312>>2];b=v[a+2316>>2];while(1){c=w[d|0];if(!((c|0)==x[e+836>>1]?w[e+56|0]:0)){t[b+3|0]=255}f=v[a+2296>>2];if(f){c=Qa[f|0](c&255)|0}t[b+2|0]=c;t[b+1|0]=c;t[b|0]=c;b=b+4|0;d=d+1|0;g=g+1|0;if(g>>>0>2]){continue}break}}return 0}function sC(a,b){var c=0,d=0,e=0;if(b>>>0<=31){a:{if(!b){break a}while(1){b:{if(t[a+16|0]&1){c=v[a+8>>2];e=c-1|0;v[a+8>>2]=e;if((c|0)>=1){c=v[a+4>>2]>>>e&1;break b}c=zf(a);if((c|0)>=0){break b}d=-1;break a}O(21334,18822,203,189273);L()}d=d<<1|c;c=(b|0)>1;b=b-1|0;if(c){continue}break}}return d}O(25793,18822,198,189273);L()}function ima(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=v[a+44>>2];c=v[a+24>>2];if(d>>>0>>0){v[a+44>>2]=c;d=c}c=v[a+12>>2];e=-1;a:{if(c>>>0<=y[a+8>>2]){break a}if((b|0)==-1){v[a+16>>2]=d;v[a+12>>2]=c-4;return 0}if(!(w[a+48|0]&16)){e=-1;if(v[c-4>>2]!=(b|0)){break a}}v[a+16>>2]=d;d=a;a=c-4|0;v[d+12>>2]=a;v[a>>2]=b;e=b}return e|0}function W8(a,b){a=a|0;b=b|0;var c=0,d=C(0),e=0;b=v[a+584>>2];if(b){v[b+92>>2]=0;v[b+64>>2]=0;v[b+68>>2]=8;c=v[b+96>>2];if(c){Hf(c,0,v[b+8>>2])}c=0;if(t[b+28|0]&1){d=z[a+132>>2];e=(x[a+136>>1]==3?C(d*C(2.5399999618530273)):d)>C(150)?4:2;c=e-1|0}v[b+108>>2]=0;v[b+100>>2]=c;v[b+104>>2]=e;return 1}O(58391,7814,710,86157);L()}function mua(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=886776;b=v[a+1048>>2];a:{if(!b){break a}c=v[a+1044>>2];if((c|0)<1){break a}while(1){b=v[(d<<2)+b>>2];if(b){Qa[v[v[b>>2]+4>>2]](b);c=v[a+1044>>2]}d=d+1|0;if((d|0)<(c|0)){b=v[a+1048>>2];continue}break}b=v[a+1048>>2]}tb(b);tb(v[a+1052>>2]);tb(v[a+1056>>2]);tb(v[a+1060>>2]);$a(a)}function m$a(a){a=a|0;var b=0,c=0,d=0,e=0;b=v[a+2556>>2];e=a;if(v[a+588>>2]>=1){c=v[a+540>>2];b=(v[c+1176>>2]+B(b,v[c+1168>>2])|0)+1|0;c=v[a+2524>>2];while(1){t[b|0]=w[c|0];c=c+1|0;b=b+2|0;d=d+1|0;if((d|0)>2]){continue}break}b=v[a+2556>>2]}v[e+2556>>2]=b+1;a:{if(v[a+968>>2]){b=lk(a);if(b){break a}}b=0}return b|0}function l$a(a){a=a|0;var b=0,c=0,d=0,e=0;b=v[a+2556>>2];e=a;if(v[a+588>>2]>=1){c=v[a+540>>2];b=(v[c+1176>>2]+B(b,v[c+1168>>2])|0)+3|0;c=v[a+2524>>2];while(1){t[b|0]=w[c|0];c=c+1|0;b=b+4|0;d=d+1|0;if((d|0)>2]){continue}break}b=v[a+2556>>2]}v[e+2556>>2]=b+1;a:{if(v[a+968>>2]){b=lk(a);if(b){break a}}b=0}return b|0}function OC(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=gb(40);v[c>>2]=0;c=be(a+624|0,1,c,4);g=P()|0;a:{while(1){if(d){break a}v[296803]=0;R(44,a|0,b|0);d=v[296803];v[296803]=0;e=-1;b:{if(!d){break b}f=v[296804];if(!f){break b}e=pb(v[d>>2],c,g);if(!e){$a(c);tc(d,f);L()}Q(f|0)}d=P()|0;if((e|0)==1){continue}break}h=1}$a(c);return h}function Hz(a,b,c,d,e,f){var g=0;g=Ma-32|0;Ma=g;a:{if(a){if(v[a+172>>2]==-1?v[a+212>>2]:0){break a}v[a+84>>2]=b;v[g+24>>2]=f;v[g+20>>2]=e;v[g+16>>2]=d;nb(0,0,0,a,0,1,b,3,d,f,0,e,c,g+16|0);v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1;break a}v[g+8>>2]=f;v[g+4>>2]=e;v[g>>2]=d;nb(0,0,0,0,0,1,b,3,d,f,0,e,c,g)}Ma=g+32|0}function Dl(a,b){var c=0;c=v[a>>2];a=v[b>>2];b=v[a+4>>2];v[c>>2]=v[a>>2];v[c+4>>2]=b;b=v[a+44>>2];v[c+40>>2]=v[a+40>>2];v[c+44>>2]=b;b=v[a+36>>2];v[c+32>>2]=v[a+32>>2];v[c+36>>2]=b;b=v[a+28>>2];v[c+24>>2]=v[a+24>>2];v[c+28>>2]=b;b=v[a+20>>2];v[c+16>>2]=v[a+16>>2];v[c+20>>2]=b;b=v[a+12>>2];v[c+8>>2]=v[a+8>>2];v[c+12>>2]=b}function tS(a,b){var c=0,d=0,e=0,f=0,g=0;c=Ma-1040|0;Ma=c;v[c>>2]=0;v[c+4>>2]=v[279250];d=c+16|0;g=d;d=Qa[v[v[b>>2]+8>>2]](b,d,1024)|0;if(d){while(1){e=c+8|0;f=c+16|0;d=eg(e,f,d);Cd(c,e);db(d);d=Qa[v[v[b>>2]+8>>2]](b,f,1024)|0;if(d){continue}break}e=v[c>>2]}b=AS(g,v[(e?e+12|0:1117e3)>>2]);db(c);uS(a,b);ac(b);Ma=c+1040|0}function or(a,b){var c=0,d=0,e=0;c=Ma-32|0;Ma=c;v[c+24>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c+4>>2]=c+8;d=v[a+664>>2];a:{if(!(!d|v[d>>2]!=(b|0))){break a}d=0;e=v[a+656>>2];if(!e){break a}v[c+16>>2]=0;v[c+8>>2]=b;b=a;a=PD(c+4|0,e,v[a+660>>2]);if(a){d=v[a>>2]}else{d=0}v[b+664>>2]=d}Ma=c+32|0;return d}function nia(a,b){a=a|0;b=b|0;var c=0;if((b|0)>=1){while(1){v[a+8>>2]=1;v[a+12>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;v[a+32>>2]=0;c=a+36|0;v[c>>2]=0;v[c+4>>2]=0;v[a+44>>2]=0;v[a+48>>2]=0;v[c>>2]=973096;v[c+4>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[a+52>>2]=0;a=a+56|0;c=(b|0)>1;b=b-1|0;if(c){continue}break}}}function VIa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=v[a+532>>2];if(!c){return 6}e=v[c+4>>2];v[b>>2]=e;v[b+4>>2]=v[c>>2];if(e){a=0;while(1){d=B(a,12);f=d+b|0;v[f+8>>2]=v[((a<<2)+c|0)+8>>2];d=c+d|0;g=v[d+92>>2];v[f+12>>2]=v[g>>2];v[f+16>>2]=v[((w[d+88|0]<<2)+g|0)-4>>2];a=a+1|0;if((e|0)!=(a|0)){continue}break}}return 0}function SCa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=a+10|0;if(c>>>0>y[b+160>>2]){$c(b,8)}d=w[a+3|0]|w[a+2|0]<<8;e=y[b+160>>2]>=d+a>>>0;a=w[a+9|0]|w[a+8|0]<<8;if(!(e&(a<<1)+10>>>0<=d>>>0)){$c(b,8)}if(!(!v[b+164>>2]|!a)){while(1){if(y[b+172>>2]<=(w[c+1|0]|w[c|0]<<8)>>>0){$c(b,16)}c=c+2|0;a=a-1|0;if(a){continue}break}}return 0}function Mt(a){a=a|0;var b=0;v[a>>2]=54336;b=v[a+1028>>2];if(b){$a(b)}b=v[a+1060>>2];if(b){$a(b)}b=v[a+1064>>2];if(b){$a(b)}b=v[a+1068>>2];if(b){$a(b)}b=v[a+1072>>2];if(b){$a(b)}b=v[a+1076>>2];if(b){$a(b)}b=v[a+1052>>2];if(b){$a(b)}b=v[a+1112>>2];if(b){$a(b)}b=v[a+1116>>2];if(b){$a(b)}v[a>>2]=1032;Tg(a);Cg(a);return a|0}function Ic(a,b,c,d,e,f,g){var h=0;h=e;d=(d|0)<255?d:255;e=((d|0)>0?d:0)<<2;b=v[a+20>>2]+((b>>>0<255?b:255)<<2)|0;d=v[a>>2];v[h>>2]=w[(v[e+v[a+4>>2]>>2]+v[b>>2]|0)+d|0];c=(c|0)<255?c:255;c=((c|0)>0?c:0)<<2;v[f>>2]=w[d+(v[b>>2]+(v[e+v[a+12>>2]>>2]+v[c+v[a+16>>2]>>2]>>16)|0)|0];v[g>>2]=w[d+(v[c+v[a+8>>2]>>2]+v[b>>2]|0)|0]}function Av(a){var b=0,c=0,d=0;a:{if(!a){break a}b=v[a>>2];if(!(!b|v[b+108>>2]!=-554844497|!(v[b+120>>2]?1:v[b+116>>2]))){v[a+324>>2]=1}c=a,d=Zc(v[a+296>>2],258604,3),v[c+312>>2]=d;c=a,d=Zc(v[a+296>>2],235503,5),v[c+316>>2]=d;b=Zc(v[a+296>>2],285713,36);v[a+320>>2]=b;if(!(b?!v[a+312>>2]|!v[a+316>>2]:1)){break a}Yc(a,0)}}function zL(a){var b=0,c=0;c=2;b=v[a>>2];if(!(!b|v[b>>2]!=1381173770)){AL(b);jC(b,v[b+528>>2]);a:{if(!w[b+2420|0]){break a}t[b+2420|0]=0;c=Gk(b+2340|0);if(!c){break a}ob(b,5,c,0)}if(w[b+2421|0]){b:{c=nn(b+2340|0);if(c){ob(b,5,c,0);break b}t[b+2421|0]=0}}v[b>>2]=0;b=v[a>>2];Qa[v[b+156>>2]](b,3752);v[a>>2]=0;c=0}return c}function w$a(a){a=a|0;var b=0,c=0,d=0;if(v[a+588>>2]>=1){b=v[a+540>>2];b=(v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0;c=v[a+636>>2]+v[a+616>>2]|0;while(1){t[b|0]=w[c|0];t[b+1|0]=w[c+1|0];t[b+2|0]=w[c+2|0];c=c+3|0;b=B(v[a+584>>2],3)+b|0;d=d+1|0;if((d|0)>2]){continue}break}}return 0}function oVa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;f=v[a+428>>2]+8|0;g=v[b+32>>2];if(g){e=v[b+36>>2];d=f;while(1){c=v[e>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d|0]=c;t[d+1|0]=c>>>8;t[d+2|0]=c>>>16;t[d+3|0]=c>>>24;d=d+4|0;e=e+4|0;h=h+1|0;if(h>>>0>2]){continue}break}}return hd(a,v[b>>2],g<<2,f)|0}function c$(a){var b=0,c=0,d=0;v[a+444>>2]=0;c=v[a+8>>2];b=c;d=v[a+24>>2];if(d){Qa[v[b+8>>2]](b,d)}v[a+20>>2]=0;v[a+24>>2]=0;b=v[a+440>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+440>>2]=0;v[a+432>>2]=0;v[a+436>>2]=0;b=v[a+396>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+392>>2]=0;v[a+396>>2]=0;v[a>>2]=0;v[a+4>>2]=0;if(a){Qa[v[c+8>>2]](c,a)}}function _0a(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,h=0;f=0;a:{if(!b){break a}h=v[a+4>>2];if(!h){break a}e=v[a+16>>2];g=v[a+8>>2];if((e|0)>=(g|0)){t[a+24|0]=1;return 0}d=B(c,d);if(!d){break a}f=e+h|0;if((d+e|0)>(g|0)){t[a+24|0]=1;d=g-e|0}cb(b,f,d);v[a+16>>2]=v[a+16>>2]+d;f=(d>>>0)/(c>>>0)|0}return f|0}function LT(a){var b=0,c=0,d=0,e=0;b=Ma-16|0;Ma=b;d=t[a+11|0]<0?v[a>>2]:a;c=ce(d);if(c>>>0<1073741808){a:{b:{if(c>>>0>=2){e=c+4&-4;a=ab(e<<2);v[b+8>>2]=e|-2147483648;v[b>>2]=a;v[b+4>>2]=c;break b}t[b+11|0]=c;a=b;if(!c){break a}}rb(a,d,c)}v[(c<<2)+a>>2]=0;a=qr(b);if(t[b+11|0]<=-1){$a(v[b>>2])}Ma=b+16|0;return a}sc();L()}function $sa(a,b,c){a=a|0;b=b|0;c=c|0;c=v[a+28>>2];v[c+664>>2]=1;a=v[a+8>>2];Qa[v[v[a>>2]+304>>2]](a,c,v[b>>2]==1?+v[b+8>>2]:A[b+8>>3],v[b+16>>2]==1?+v[b+24>>2]:A[b+24>>3],v[b+32>>2]==1?+v[b+40>>2]:A[b+40>>3],v[b+48>>2]==1?+v[b+56>>2]:A[b+56>>3],v[b+64>>2]==1?+v[b+72>>2]:A[b+72>>3],v[b+80>>2]==1?+v[b+88>>2]:A[b+88>>3])}function r7(a){a=a|0;var b=0,c=0,d=0;c=Ma-16|0;Ma=c;b=v[a+584>>2];if(b){if(t[b+124|0]&1){Gk(b- -64|0);v[b+124>>2]=0}a:{if(CY(b- -64|0,v[b+120>>2],23545)){d=v[a+628>>2];a=v[a>>2];v[c+4>>2]=v[b+88>>2];v[c>>2]=a;wb(d,88439,24867,c);a=0;break a}v[b+124>>2]=v[b+124>>2]|2;a=1}Ma=c+16|0;return a|0}O(21265,6646,174,88439);L()}function gna(a){a=a|0;var b=0,c=0;v[a>>2]=960464;b=v[a+12>>2];c=v[b+12>>2];a:{b:{if(c){_u(c);b=v[a+12>>2];c=v[b+12>>2];if(c){$a(QF(c));b=v[a+12>>2]}v[b+12>>2]=0;break b}c=v[b+8>>2];if(!c){break a}Qa[v[v[c>>2]+4>>2]](c);b=v[a+12>>2]}v[b+8>>2]=0}b=v[b+4>>2];if(b){Qa[v[v[b>>2]+12>>2]](b)|0;v[v[a+12>>2]+4>>2]=0}return a|0}function o0(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}b:{c:{c=v[a+128>>2];b=v[c+28>>2];switch(b+2|0){case 0:break a;case 2:break c;default:break b}}b=v[a+96>>2];d=v[v[b>>2]+32>>2];d:{if(!d){b=0;break d}b=Qa[d|0](b,279859)|0;c=v[a+128>>2]}v[c+28>>2]=b?b:-2}if(!b){break a}b=v[b>>2];if(!b){break a}e=Qa[b|0](a)|0}return e}function lca(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,h=0;g=Ma-32|0;Ma=g;h=v[251067];v[g+24>>2]=v[251066];v[g+28>>2]=h;h=v[251065];v[g+16>>2]=v[251064];v[g+20>>2]=h;h=v[251063];v[g+8>>2]=v[251062];v[g+12>>2]=h;h=v[251061];v[g>>2]=v[251060];v[g+4>>2]=h;h=a;a=g+32|0;b=Um(h,b,c,d,e,f,g,a);Ma=a;return b|0}function iI(a){var b=0,c=0,d=0;b=v[a+8>>2];c=v[a+12>>2];a:{if((b|0)==(c|0)){break a}while(1){d=v[b+12>>2];if(d){$a(d);v[b+12>>2]=0}b=b+20|0;if((c|0)!=(b|0)){continue}break}b=v[a+8>>2];c=v[a+12>>2];if((b|0)==(c|0)){break a}while(1){d=c-20|0;if(t[c-9|0]<=-1){$a(v[d>>2])}c=d;if((c|0)!=(b|0)){continue}break}}v[a+12>>2]=b}function hG(a){var b=0,c=0,d=0,e=0;b=v[a+88>>2];if(b){c=v[b+8>>2];if((c|0)>=1){while(1){e=v[v[b>>2]+(d<<2)>>2];if(e){hG(e);$a(e);c=v[b+8>>2]}d=d+1|0;if((d|0)<(c|0)){continue}break}}$a(mc(b));v[a+88>>2]=0}b=v[a+4>>2];if(b){$a(mc(b))}b=v[a+8>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}bb(a+16|0);bb(a+32|0);bb(a+48|0);bb(a- -64|0)}function XI(a,b){var c=0,d=0;c=Mb(b,v[a>>2]);a:{if(c){break a}c=Dd(b,454320,a+4|0);if(c){break a}c=2;d=x[a+4>>1];if((d|256)!=768|y[a+8>>2]<((d|0)==768?148:118)>>>0){break a}if((d|0)==512){v[a+140>>2]=0;v[a+132>>2]=0;v[a+136>>2]=0}if(t[a+72|0]&1){break a}c=Mb(b,v[a>>2]);if(c){break a}c=Zh(b,v[a+8>>2],a+160|0)}return c}function UPa(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;h=Ma+-64|0;Ma=h;i=1;if(!(!v[a+16>>2]|!v[a+20>>2])){i=_h(h+8|0);rt(v[a+16>>2]+52|0,h+16|0);A[b>>3]=A[h+16>>3];A[c>>3]=A[h+24>>3];A[d>>3]=A[h+32>>3];A[e>>3]=A[h+40>>3];A[f>>3]=A[h+48>>3];A[g>>3]=A[h+56>>3];me(i);i=0}Ma=h- -64|0;return i|0}function HM(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=gb(40);v[b>>2]=0;b=be(a+624|0,1,b,4);f=P()|0;a:{while(1){if(c){break a}v[296803]=0;R(48,a|0,0);c=v[296803];v[296803]=0;d=-1;b:{if(!c){break b}e=v[296804];if(!e){break b}d=pb(v[c>>2],b,f);if(!d){$a(b);tc(c,e);L()}Q(e|0)}c=P()|0;if((d|0)==1){continue}break}g=1}$a(b);return g}function yKa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;b=v[a+316>>2];if((b|0)>=1){g=v[d>>2];while(1){d=v[a+112>>2];if((d|0)>=1){e=f<<2;b=v[e+g>>2];h=d+b|0;d=v[c+e>>2];while(1){e=w[d|0];t[b+1|0]=e;t[b|0]=e;d=d+1|0;b=b+2|0;if(h>>>0>b>>>0){continue}break}b=v[a+316>>2]}f=f+1|0;if((f|0)<(b|0)){continue}break}}}function ri(a){var b=0,c=0,d=0;a:{if(v[a+8>>2]==13){break a}c=a+8|0;while(1){b=v[a+16>>2];if((Qa[v[v[b>>2]+28>>2]](b)|0)!=-1){break a}b=v[a+16>>2];Qa[v[v[b>>2]+24>>2]](b);bb(c);b=v[a+4>>2]+1|0;v[a+4>>2]=b;d=v[a>>2];if((b|0)>2]){ub(d,b,c,0);b=v[a+16>>2];Qa[v[v[b>>2]+20>>2]](b)}if(v[c>>2]!=13){continue}break}}}function jH(a,b,c){var d=0;d=Ma-32|0;Ma=d;a:{if(a){if(v[a+172>>2]==-1?v[a+212>>2]:0){break a}v[a+84>>2]=42}b:{if(!b){v[d>>2]=c;nb(0,0,0,a,0,1,42,3,c,0,0,0,344475,d);break b}v[d+20>>2]=c;v[d+16>>2]=b;nb(0,0,0,a,0,1,42,3,b,c,0,0,344418,d+16|0)}if(!a){break a}v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1}Ma=d+32|0}function DZ(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;h=Ma-16|0;Ma=h;v[h+12>>2]=0;g=10;j=v[c>>2];k=j+e|0;a:{if(k>>>0>31457280){break a}i=v[a>>2];g=v[b>>2];if(g>>>0>>0){i=yb(f,1,g,k,i,h+12|0);g=v[h+12>>2];if(g){break a}v[b>>2]=v[c>>2]+e;j=v[c>>2]}cb(i+j|0,d,e);v[c>>2]=v[c>>2]+e;v[a>>2]=i;g=v[h+12>>2]}Ma=h+16|0;return g}function xZa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(v[a+2308>>2]){e=v[a+2300>>2];d=v[a+2312>>2];b=v[a+2316>>2];while(1){c=w[d|0];if(!((c|0)==x[e+836>>1]?w[e+56|0]:0)){t[b+2|0]=255;t[b+3|0]=255}c=Qa[v[a+2296>>2]](c)|0;t[b+1|0]=(c|0)!=0;t[b|0]=c>>>8;b=b+4|0;d=d+1|0;f=f+1|0;if(f>>>0>2]){continue}break}}return 0}function uy(a){var b=0,c=0,d=0;c=Ma-16|0;Ma=c;a:{if(v[a+8>>2]){gf(c+8|0,a,a+8|0);break a}v[c+8>>2]=0;qb(c+8|0,0)}b=v[c+8>>2];b:{if(!b){a=0;break b}a=v[(v[a+12>>2]&1?8:12)+b>>2];v[c+8>>2]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break b}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}Ma=c+16|0;return a}function qg(a,b){var c=0,d=0;c=Ma-32|0;Ma=c;xh(c,879376,b);b=kc(c,879328);v[c+24>>2]=v[b+8>>2];d=v[b+4>>2];v[c+16>>2]=v[b>>2];v[c+20>>2]=d;v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;d=a;a=w[c+27|0];b=a<<24>>24<0;bd(d,b?v[c+16>>2]:c+16|0,b?v[c+20>>2]:a);if(t[c+27|0]<=-1){$a(v[c+16>>2])}if(t[c+11|0]<=-1){$a(v[c>>2])}Ma=c+32|0}function NR(a){var b=0,c=0,d=0;c=Ma-16|0;Ma=c;a:{if(v[a+8>>2]){gf(c+8|0,a,a+8|0);break a}v[c+8>>2]=0;qb(c+8|0,0)}b=v[c+8>>2];b:{if(!b){a=0;break b}a=v[(v[a+12>>2]&1?12:8)+b>>2];v[c+8>>2]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break b}d=v[b+4>>2];if(!d){v[b+4>>2]=-32767}if(!d){Qa[v[v[b>>2]+4>>2]](b)}}Ma=c+16|0;return a}function ND(a,b,c,d){var e=0,f=0,g=0,h=0;e=Ma-160|0;Ma=e;f=e+16|0;eb(f,0,144);v[e+92>>2]=-1;v[e+60>>2]=b;v[e+24>>2]=-1;v[e+20>>2]=b;Rj(f,0,0);RD(e,f,d,1);d=v[e+8>>2];f=v[e+12>>2];g=v[e>>2];h=v[e+4>>2];if(c){v[c>>2]=((v[e+20>>2]+v[e+136>>2]|0)-v[e+24>>2]|0)+b}v[a>>2]=g;v[a+4>>2]=h;v[a+8>>2]=d;v[a+12>>2]=f;Ma=e+160|0}function MI(a,b,c){var d=0,e=0,f=0,g=0;f=6;d=v[b>>2];a:{if(d+5>>>0>c>>>0){break a}e=v[a+12>>2];u[e>>1]=w[d|0];u[e+2>>1]=w[d+1|0];u[e+4>>1]=t[d+2|0];u[e+6>>1]=t[d+3|0];u[e+8>>1]=w[d+4|0];g=c;c=d+8|0;if(g>>>0>>0){break a}u[e+10>>1]=t[d+5|0];u[e+12>>1]=t[d+6|0];u[e+14>>1]=w[d+7|0];t[a+16|0]=1;v[b>>2]=c;f=0}return f}function Bl(a,b){var c=0,d=0,e=0;c=Ma-16|0;Ma=c;v[c+8>>2]=a;e=v[b+20>>2];a=e+((Qa[v[b+12>>2]](c+8|0)>>>0)%y[b+4>>2]<<2)|0;d=v[a>>2];a:{if(!d){break a}while(1){if(Qa[v[b+16>>2]](d,c+8|0)|0){break a}a=a-4|0;if(e>>>0>a>>>0){a=((v[b+4>>2]<<2)+e|0)-4|0}d=v[a>>2];if(d){continue}break}}Ma=c+16|0;a=v[a>>2];return a?a+4|0:0}function b0(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;e=d>>31;e=e+d^e;f=c>>31;f=f+c^f;i=e>>>0>>0;g=b>>31;g=g+b^g;h=a>>31;h=h+a^h;j=g>>>0>>0;d=b+d|0;b=d>>31;c=a+c|0;a=c>>31;b=b^b+d;a=a^a+c;c=b>>>0>>0;a=(B(c?b:a,3)>>>3|0)+(c?a:b)|0;return(((B(i?e:f,3)>>>3|0)+(i?f:e)+((B(j?g:h,3)>>>3|0)+(j?h:g))|0)-a|0)<(a>>>4|0)}function FU(a,b){var c=0,d=0,e=0,f=0;d=w[b|0];if(d){c=b;while(1){f=B(f,17)+(d&255)|0;d=w[c+1|0];c=c+1|0;if(d){continue}break}}e=v[a>>2];a=v[a+4>>2];d=(f>>>0)%(a>>>0)|0;c=v[e+(d<<3)>>2];if(c){while(1){if(!hb(c,b)){return v[((d<<3)+e|0)+4>>2]}c=d+1|0;d=(a|0)==(c|0)?0:c;c=v[(d<<3)+e>>2];if(c){continue}break}}return 0}function fna(a){a=a|0;var b=0,c=0;v[a>>2]=960464;b=v[a+12>>2];c=v[b+12>>2];a:{b:{if(c){_u(c);b=v[a+12>>2];c=v[b+12>>2];if(c){$a(QF(c));b=v[a+12>>2]}v[b+12>>2]=0;break b}c=v[b+8>>2];if(!c){break a}Qa[v[v[c>>2]+4>>2]](c);b=v[a+12>>2]}v[b+8>>2]=0}b=v[b+4>>2];if(b){Qa[v[v[b>>2]+12>>2]](b)|0;v[v[a+12>>2]+4>>2]=0}$a(a)}function dr(a,b){var c=0,d=0;c=v[a+8>>2];a:{b:{if(c&7){break b}d=v[a+64>>2];if(!((d|0)<0|v[a+60>>2]<(d|0))){v[a+8>>2]=c|4;break b}v[a+4>>2]=v[a+4>>2]|32;c=v[a+28>>2];v[a+28>>2]=c-1;if((c|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=a;a=v[a+24>>2];v[c+24>>2]=a+1;t[a|0]=b;return 0}c=0;if((Cb(a,b)|0)!=-1){break a}}c=-1}return c}function SY(a){var b=0;b=0;a:{if(a-v[213240]>>>0<128){break a}b=1;if(a-v[213241]>>>0<=127){break a}b=2;if(a-v[213242]>>>0<128){break a}b=3;if(a-v[213243]>>>0<128){break a}b=4;if(a-v[213244]>>>0<128){break a}b=5;if(a-v[213245]>>>0<128){break a}b=6;if(a-v[213246]>>>0<128){break a}b=a-v[213247]>>>0<128?7:-1}return b}function qo(a,b,c){var d=0,e=0;e=b-1|0;a:{if(w[a+402|0]==8){b:{if(e>>>0>253){break b}d=H(pd(+(b>>>0)/255,+(c|0)*1e-5)*255+.5);if(d<4294967296&d>=0){b=~~d>>>0;break b}b=0}b=b&255;break a}if(e>>>0>65533){break a}d=H(pd(+(b>>>0)/65535,+(c|0)*1e-5)*65535+.5);if(d<4294967296&d>=0){b=~~d>>>0;break a}b=0}return b&65535}function KTa(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1296123726){ob(a,2050,0,0);return 2050}u[b+32>>1]=x[c+32>>1];u[b+34>>1]=x[c+34>>1];t[b+36|0]=w[c+36|0];u[b+38>>1]=x[c+38>>1];u[b+40>>1]=x[c+40>>1];u[b+42>>1]=x[c+42>>1];u[b+44>>1]=x[c+44>>1];u[b+46>>1]=x[c+46>>1];u[b+48>>1]=x[c+48>>1];t[b+50|0]=w[c+50|0];return 0}function J1a(a){a=a|0;var b=0,c=0;if(v[a+4>>2]==16){c=v[v[a+44>>2]+88>>2]+B(v[a+8>>2],1876)|0}else{c=v[a+36>>2]}b=v[v[a+40>>2]+16>>2];a=v[a+52>>2];Qa[v[v[a>>2]+20>>2]](a,2)|0;b=Qa[v[v[a>>2]+20>>2]](a,(b|0)<257?1:2)|0;Qa[v[v[a>>2]+20>>2]](a,1)|0;a=Qa[v[v[a>>2]+20>>2]](a,1)|0;v[(v[c+1872>>2]+B(b,1076)|0)+808>>2]=a}function H7(a){a=a|0;var b=0,c=0,d=0;b=v[a+24>>2];c=4096-v[b+4>>2]|0;a:{if(!c){break a}d=v[b+48>>2];if(Qa[v[v[d>>2]+16>>2]](d,v[b+52>>2],1,c)|0){break a}c=v[a>>2];v[c+20>>2]=38;Qa[v[c>>2]](a)}c=v[b+48>>2];Qa[v[v[c>>2]+32>>2]](c)|0;b=v[b+48>>2];if(Qa[v[v[b>>2]+40>>2]](b)|0){b=v[a>>2];v[b+20>>2]=38;Qa[v[b>>2]](a)}}function Ee(a,b){var c=0,d=0;if(v[b+76>>2]<0){a:{d=a&255;if((d|0)==t[b+75|0]){break a}c=v[b+20>>2];if(c>>>0>=y[b+16>>2]){break a}v[b+20>>2]=c+1;t[c|0]=a;return d}return ox(b,a)}b:{c:{c=a&255;if((c|0)==t[b+75|0]){break c}d=v[b+20>>2];if(d>>>0>=y[b+16>>2]){break c}v[b+20>>2]=d+1;t[d|0]=a;break b}c=ox(b,a)}return c}function qp(a,b,c){var d=0;d=x[a+26>>1];a:{if((d|0)==8){a=w[v[a+56>>2]+(B(v[a+52>>2],c)+b|0)|0];break a}c=w[v[a+56>>2]+(B(v[a+52>>2],c)+(B(b,d)>>3)|0)|0];a=0;b:{switch(d-1|0){case 3:a=B((b|0)%2|0,252)+4&252;a=(c&15<>>a|0;break a;case 0:break b;default:break a}}a=7-((b|0)%8|0)|0;a=(c&1<>>a|0}return a&255}function cF(a){var b=0,c=0,d=0;b=Ma-32|0;Ma=b;if(w[a+89|0]){c=1;d=a+92|0;a:{if(!(v[d>>2]&1)){break a}if(v[a+56>>2]-3>>>0<=1){a=v[a+48>>2];c=(v[a+48>>2]-v[a+44>>2]|0)+1|0;break a}if(!(v[d>>2]&4)){break a}a=v[a+112>>2];c=(v[a+68>>2]-v[a- -64>>2]|0)+1|0}Ma=b+32|0;return c}lb(mb(b+8|0,231515,240864,286,226712));L()}function QXa(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,j=0,k=0;a:{if(f){if(!d){break a}j=c<<1;k=b<<1;a=0;while(1){b=g;i=w[f|0];h=w[e|0];if((i|0)!=(h|0)){h=h+((B(i-h|0,k)+c|0)/(j|0)|0)|0}t[b|0]=h;f=f+1|0;e=e+1|0;g=g+1|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}break a}cb(g,e,d)}return 0}function P0(a){var b=0,c=0,d=0;b=v[a+112>>2];if(b){c=v[a+116>>2];if((c|0)==(b|0)){d=b}else{while(1){d=c-12|0;if(t[c-1|0]<=-1){$a(v[d>>2])}c=d;if((c|0)!=(b|0)){continue}break}d=v[a+112>>2]}v[a+116>>2]=b;$a(d)}if(t[a+39|0]<=-1){$a(v[a+28>>2])}if(t[a+23|0]<=-1){$a(v[a+12>>2])}if(t[a+11|0]<=-1){$a(v[a>>2])}return a}function i0(a,b){var c=0,d=0;a:{if(!a|!b){break a}d=x[a+2>>1];if((d|0)!=x[b+2>>1]){break a}c=x[a>>1];if((a|0)==(b|0)|(c|0)!=x[b>>1]){break a}if(d){cb(v[b+4>>2],v[a+4>>2],d<<16>>16<<3);cb(v[b+8>>2],v[a+8>>2],u[a+2>>1]);c=x[a>>1]}if(c){cb(v[b+12>>2],v[a+12>>2],c<<16>>16<<1)}v[b+16>>2]=v[a+16>>2]&-2|v[b+16>>2]&1}}function Dc(a,b,c){var d=0,e=0,f=0,g=0;f=Ma-16|0;Ma=f;v[f+12>>2]=c;d=Ma-160|0;Ma=d;g=d+8|0;cb(g,998592,144);v[d+52>>2]=a;v[d+28>>2]=a;e=-2-a|0;e=e>>>0<2147483647?e:2147483647;v[d+56>>2]=e;a=a+e|0;v[d+36>>2]=a;v[d+24>>2]=a;a=TD(g,b,c);if(e){b=v[d+28>>2];t[b-((b|0)==v[d+24>>2])|0]=0}Ma=d+160|0;Ma=f+16|0;return a}function ox(a,b){var c=0,d=0,e=0;d=Ma-16|0;Ma=d;t[d+15|0]=b;c=v[a+16>>2];a:{if(!c){c=-1;if(hN(a)){break a}c=v[a+16>>2]}b:{e=v[a+20>>2];if(c>>>0<=e>>>0){break b}c=b&255;if((c|0)==t[a+75|0]){break b}v[a+20>>2]=e+1;t[e|0]=b;break a}c=-1;if((Qa[v[a+36>>2]](a,d+15|0,1)|0)!=1){break a}c=w[d+15|0]}Ma=d+16|0;return c}function kz(a,b,c){var d=0,e=0,f=0;a:{if(v[a+12>>2]>=(b|0)){break a}d=v[a+16>>2];if((d|0)<1|(2147483646/(d>>>0)|0)<=(b|0)){break a}d=_G(v[a+20>>2],B(b,d)+1|0);v[a+20>>2]=d;e=v[a+12>>2];f=v[a+16>>2];d=d+B(e,f)|0;e=B(f,b-e|0);b:{if(c){eb(d,255,e);break b}eb(d,0,e)}v[a+12>>2]=b;t[v[a+20>>2]+B(v[a+16>>2],b)|0]=0}}function iE(a,b){var c=0,d=0;c=Ma-32|0;Ma=c;a:{while(1){d=v[a+16>>2];if((d|0)<=(b|0)){b=b-d|0;if((b|0)>2]|(b|0)>v[a+44>>2]){break a}Ma=c+32|0;return v[a+28>>2]+B(b-v[a+32>>2]|0,12)|0}a=v[a+20>>2];if(a){continue}break}lb(mb(c+8|0,239984,241993,165,327454));L()}lb(mb(c+8|0,227376,271519,619,307655));L()}function gxa(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;var j=0,k=0;j=v[a+272>>2];if(j){k=v[j+40>>2];a:{if(!k){break a}Qa[k|0](a,b,c,d,e,f,g,h,i);b=v[a+52>>2];if(!b){break a}a=v[a+36>>2];if(!a){break a}a=v[a+16>>2];if(!a|w[a|0]!=47|w[a+1|0]!=62){break a}u[b+58>>1]=1}v[j+16>>2]=1}}function _fa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Ma-32|0;Ma=d;a:{if(!(!v[a+24>>2]|v[a+36>>2]<=0)){if(v[a+32>>2]>v[a+28>>2]){break a}e=v[a+16>>2];b=Qa[v[v[e>>2]+12>>2]](e,b,c)|0;v[a+28>>2]=b+v[a+28>>2];Ma=d+32|0;return b|0}lb(mb(d+8|0,316283,241642,505,329725));L()}lb(mb(d+8|0,276155,241642,507,329725));L()}function GT(a,b){var c=0,d=0,e=0,f=0;c=Ma-48|0;Ma=c;e=c+32|0;v[e>>2]=0;v[e+4>>2]=0;t[e+8|0]=0;f=rg(a);if(qe(a,f)){while(1){Xc(c,a);d=qd(c+16|0,c);Xe(e,d);Qb(d);if(t[c+11|0]<=-1){$a(v[c>>2])}if(nc(e,968972)){d=c+16|0;v[d>>2]=0;v[d+4>>2]=0;t[d+8|0]=0;HF(a,b,d,0);Qb(d)}if(qe(a,f)){continue}break}}Qb(e);Ma=c+48|0}function msa(a){a=a|0;var b=0;b=ab(160);v[b+4>>2]=15;v[b+8>>2]=0;v[b>>2]=887636;A[b+16>>3]=A[a+16>>3];A[b+24>>3]=A[a+24>>3];A[b+32>>3]=A[a+32>>3];A[b+40>>3]=A[a+40>>3];A[b+48>>3]=A[a+48>>3];A[b+56>>3]=A[a+56>>3];A[b+64>>3]=A[a+64>>3];A[b+72>>3]=A[a+72>>3];A[b+80>>3]=A[a+80>>3];cb(b+88|0,a+88|0,72);return b|0}function j7(a){a=a|0;var b=0,c=0,d=0;c=Ma-16|0;Ma=c;b=v[a+584>>2];if(b){if(w[b+124|0]&2){nn(b- -64|0);v[b+124>>2]=0}a:{if(aw(b- -64|0,23545,56)){d=v[a+628>>2];a=v[a>>2];v[c+4>>2]=v[b+88>>2];v[c>>2]=a;wb(d,88401,24867,c);a=0;break a}v[b+124>>2]=v[b+124>>2]|1;a=1}Ma=c+16|0;return a|0}O(21265,6646,93,88401);L()}function c6(a){a=a|0;var b=0,c=0,d=0,e=0;b=Ma-16|0;Ma=b;e=Hh(a,b+14|0,2);a:{b:{if((e|0)<0){break b}c=e;while(1){if((c|0)>=1){d=-1;c=c-1|0;if((nj(a,w[c+(b+14|0)|0])|0)!=-1){continue}break a}break}d=-1;if((e|0)<2){break a}if(w[b+14|0]!=80){break b}d=0;if(w[b+15|0]-48>>>0<10){break a}}d=-1}Ma=b+16|0;return d|0} -function WVa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;if(w[b+32|0]){return hd(a,v[b>>2],0,0)|0}c=v[b+36>>2];g=B(c,3);f=v[a+428>>2]+8|0;if(c){h=b+40|0;c=f;while(1){e=B(d,3)+h|0;t[c|0]=w[e|0];t[c+1|0]=w[e+1|0];t[c+2|0]=w[e+2|0];c=c+3|0;d=d+1|0;if(d>>>0>2]){continue}break}}return hd(a,v[b>>2],g,f)|0}function TN(a){a=a|0;var b=0,c=0,d=0,e=0;v[a>>2]=1004280;b=a+8|0;while(1){if(v[b+4>>2]-v[b>>2]>>2>>>0>c>>>0){if(v[v[b>>2]+(c<<2)>>2]){d=v[v[b>>2]+(c<<2)>>2];e=v[d+4>>2]-1|0;v[d+4>>2]=e;if((e|0)==-1){Qa[v[v[d>>2]+8>>2]](d)}}c=c+1|0;continue}break}Vb(a+152|0);if(v[b>>2]){VN(b);c=v[b>>2];EN(b+16|0,c)}return a|0}function MS(a,b,c){var d=0,e=0;d=Bd(c);a:{e=b+8|0;b=e;b=v[v[b+12>>2]+((d>>>0)%y[b+8>>2]<<2)>>2];if(b){while(1){if(v[b+12>>2]==(d|0)){if(!ld(b+16|0,c,-1)){break a}}b=v[b+8>>2];if(b){continue}break}}v[a>>2]=0;qb(a,0);return}c=xj(e,c);b=v[c+24>>2];if(!b){v[a>>2]=0;return}v[b+4>>2]=v[b+4>>2]+1;v[a>>2]=v[c+24>>2]}function IDa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Ma-16|0;Ma=c;e=v[a+16>>2];a=x[a+8>>1];b=yb(b,1,0,a+1|0,0,c+12|0);Ma=c+16|0;if(v[c+12>>2]){b=d}else{a:{if(!a){break a}while(1){c=w[e|0];if(!c){break a}t[b+d|0]=c>>>0<32?63:c<<24>>24<0?63:c;e=e+1|0;d=d+1|0;if((a|0)!=(d|0)){continue}break}d=a}t[b+d|0]=0}return b|0}function Gla(a,b){a=a|0;b=b|0;var c=0,d=0;a=v[a+4>>2];if(a){BA(a);a:{if((a|0)==(b|0)){break a}d=w[b+11|0];c=d<<24>>24;if(t[a+11|0]>=0){if((c|0)>=0){c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;v[a+8>>2]=v[b+8>>2];break a}De(a,v[b>>2],v[b+4>>2]);break a}c=(c|0)<0;mf(a,c?v[b>>2]:b,c?v[b+4>>2]:d)}kc(a,969128);fw(a)}}function FC(a,b){var c=0,d=0;c=-1;d=v[a+8>>2];a:{if(d&7){break a}c=v[a+64>>2];if(!((c|0)<0|(c|0)>v[a+60>>2])){v[a+8>>2]=d|4;return-1}c=-1;d=v[a+28>>2];v[a+28>>2]=d-1;b:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=a;a=v[a+24>>2];v[c+24>>2]=a+1;a=w[a|0];break b}a=Eb(a,1);if((a|0)==-1){break a}}t[b|0]=a;c=0}return c}function DM(a){var b=0,c=0,d=0,e=0,f=0;b=gb(40);v[b>>2]=0;b=be(a+624|0,1,b,4);f=P()|0;a:{while(1){if(!c){v[296803]=0;U(547,a|0);c=v[296803];v[296803]=0;d=-1;b:{if(!c){break b}e=v[296804];if(!e){break b}d=pb(v[c>>2],b,f);if(!d){break a}Q(e|0)}c=P()|0;if((d|0)==1){continue}}break}$a(b);return}$a(b);tc(c,e);L()}function DF(a){var b=0,c=0;b=Ma-48|0;Ma=b;c=v[a+28>>2];if(c){A[b+40>>3]=A[v[a>>2]>>3];A[b+32>>3]=A[v[a>>2]+8>>3];A[b+24>>3]=A[v[a>>2]+16>>3];A[b+16>>3]=A[v[a>>2]+24>>3];A[b+8>>3]=A[v[a>>2]+32>>3]*25.4/96;A[b>>3]=A[v[a>>2]+40>>3]*25.4/96;Qa[v[v[c>>2]+372>>2]](c,b+40|0,b+32|0,b+24|0,b+16|0,b+8|0,b)|0}Ma=b+48|0}function zia(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=Ma-16|0;Ma=e;v[e+8>>2]=0;v[e+12>>2]=0;v[e>>2]=0;v[e+4>>2]=0;v[e>>2]=970612;v[e+4>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;g=e;hl(a,b,e,0);a=v[e+8>>2];if(a){while(1){f=v[a+8>>2];Qa[v[v[f>>2]+48>>2]](f,b,c,d);a=v[a>>2];if(a){continue}break}}ac(g);Ma=e+16|0}function xn(a,b){var c=0,d=0,e=0,f=0,g=0;a:{if(!a|!b){break a}c=v[a+4>>2];if(!c){break a}a=u[a+2>>1];if((a|0)<1){break a}a=(a<<3)+c|0;while(1){d=xb(v[c>>2],v[b>>2]);e=xb(v[c+4>>2],v[b+4>>2]);f=xb(v[c>>2],v[b+8>>2]);g=xb(v[c+4>>2],v[b+12>>2]);v[c>>2]=d+e;v[c+4>>2]=f+g;c=c+8|0;if(a>>>0>c>>>0){continue}break}}}function ib(a,b,c,d){var e=0,f=0,g=0;e=w[b|0];if(e){f=b;while(1){g=B(g,17)+(e&255)|0;e=w[f+1|0];f=f+1|0;if(e){continue}break}}a:{e=v[v[a+8>>2]+((g>>>0)%((v[a+12>>2]<<1)-1>>>0)<<2)>>2];if(e){while(1){if(!hb(b,v[e>>2])){break a}e=v[e+24>>2];if(e){continue}break}}v[c>>2]=5;return c}return ue(e+8|0,v[a>>2],c,d)}function gW(a){var b=0,c=0,d=0,e=0;b=v[a+20>>2];if(b){bb(b+176|0);bb(b+192|0);bb(b+208|0);bb(b+224|0);bb(b+240|0);bb(b+256|0);bb(b+280|0);$a(b)}b=v[a+16>>2];if(b){c=v[b+8>>2];if((c|0)>=1){while(1){e=v[v[b>>2]+(d<<2)>>2];if(e){gW(e);$a(e);c=v[b+8>>2]}d=d+1|0;if((d|0)<(c|0)){continue}break}}$a(mc(b))}return a}function eLa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=v[a+16>>2];if(d){g=v[a+20>>2];a=d>>>1|0;while(1){c=d+f>>>1|0;c=a>>>0>=d>>>0?c:a>>>0>>0?c:a;e=v[(c<<3)+g>>2];if((e|0)==(b|0)){return x[((c<<3)+g|0)+4>>1]+1&65535}a=(b+c|0)-e|0;e=b>>>0>>0;f=e?f:c+1|0;d=e?c:d;if(f>>>0>>0){continue}break}}return 0}function _za(a){a=a|0;var b=0;b=v[a+388>>2];Qa[v[v[a+420>>2]+8>>2]](a);a:{b:{switch(v[b+20>>2]){case 0:v[b+20>>2]=2;if(v[a+216>>2]){break a}v[b+32>>2]=v[b+32>>2]+1;break a;case 1:v[b+20>>2]=2;break a;case 2:break b;default:break a}}if(v[a+216>>2]){v[b+20>>2]=1}v[b+32>>2]=v[b+32>>2]+1}v[b+24>>2]=v[b+24>>2]+1}function Lza(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(w[b+8|0]){nZ(311218,c);return}b=AA(311218,c);if(v[c>>2]<=0){v[a+44>>2]=0;v[a+48>>2]=0;v[a+52>>2]=0;v[a+56>>2]=0;d=a;a=v[290943];a:{if(a){a=Qa[a|0](v[290944],16)|0;break a}a=gb(16)}if(a){a=eb(a,0,16)}else{a=0}v[d+8>>2]=a;if(a){v[a>>2]=b;return}Cq(b);v[c>>2]=7}}function Gga(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Ma-16|0;Ma=d;Qa[v[v[a>>2]+28>>2]](d+8|0,a,0);a=v[d+8>>2];b=Qa[v[v[a>>2]+84>>2]](a,b,c)|0;a=v[d+8>>2];v[d+8>>2]=0;a:{if(!a){break a}c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(c){break a}c=v[a+4>>2];if(!c){v[a+4>>2]=-32767}if(!c){Qa[v[v[a>>2]+4>>2]](a)}}Ma=d+16|0;return b|0}function EO(a,b,c){var d=0,e=0,f=0,g=0;d=Ma-16|0;Ma=d;a:{b:{c:{if((a|0)!=(b|0)){f=v[296206];v[296206]=0;te();e=Jx(a,d+12|0);a=v[296206];if(!a){break c}if(v[d+12>>2]!=(b|0)){break b}g=e;if((a|0)!=68){break a}break b}v[c>>2]=4;break a}v[296206]=f;if(v[d+12>>2]==(b|0)){break a}}v[c>>2]=4;e=g}Ma=d+16|0;return e}function Aia(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=Ma-16|0;Ma=e;v[e+8>>2]=0;v[e+12>>2]=0;v[e>>2]=0;v[e+4>>2]=0;v[e>>2]=970612;v[e+4>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;g=e;hl(a,b,e,0);a=v[e+8>>2];if(a){while(1){f=v[a+8>>2];Qa[v[v[f>>2]+44>>2]](f,b,c,d);a=v[a>>2];if(a){continue}break}}ac(g);Ma=e+16|0}function rV(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a=65536-v[b+8>>2]|0;a=(a|0)<65536?a:65536;d=(a|0)>0?a:0;a=65536-v[b+4>>2]|0;a=(a|0)<65536?a:65536;e=(a|0)>0?a:0;a=65536-v[b>>2]|0;a=(a|0)<65536?a:65536;b=(a|0)>0?a:0;a=(b|0)>(e|0)?e:b;a=(a|0)>(d|0)?d:a;v[c+12>>2]=a;v[c+8>>2]=d-a;v[c+4>>2]=e-a;v[c>>2]=b-a}function Hoa(a){a=a|0;var b=0;b=v[a+4>>2];Qa[v[v[b>>2]+20>>2]](b);b=v[a+8>>2];if(b){eb(v[b+32>>2],0,v[b+28>>2]);v[b+36>>2]=v[b+28>>2]}v[a+53320>>2]=0;v[a+53324>>2]=0;v[a+53316>>2]=1;v[a+53308>>2]=0;v[a+53312>>2]=0;v[a+49192>>2]=258;v[a+49196>>2]=9;v[a+24>>2]=0;v[a+16>>2]=0;a=a+53328|0;v[a>>2]=0;v[a+4>>2]=0}function uC(a,b){var c=0;a:{b:{if(!hb(b,1743)){break b}if(!hb(b,4993)){break b}if(!hb(b,11866)){break b}if(hb(b,14474)){break a}}c=gb(20);if(!c){return 0}v[c+16>>2]=0;v[c+8>>2]=0;v[c+12>>2]=a;v[c>>2]=1;a=w[b|0];v[c+4>>2]=0;a=(a|0)==119;v[c+8>>2]=a<<3;v[c+16>>2]=a?2:1;return c}O(16895,18822,103,189253);L()}function tA(a,b){var c=0,d=0,e=0,f=0;c=b&255;f=t[a+75|0];d=f;while(1){d=(d|0)<1?7:d-1|0;if((c|0)!=w[(d+a|0)+76|0]){continue}break}c=d+1|0;e=(c|0)==8?0:c;a:{if((f|0)==(e|0)){c=d;break a}f=a+76|0;while(1){c=e;t[d+f|0]=w[f+c|0];d=c;e=d+1|0;e=(e|0)==8?0:e;if((e|0)!=t[a+75|0]){continue}break}}t[(a+c|0)+76|0]=b}function oea(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;if(!(!f|!e)){a=x[a+26>>1];c=a<<1;a=B(a,g)<<1;d=h<<2;while(1){f=f-1|0;h=e;while(1){v[b>>2]=w[i+1|0]|w[i+3|0]<<8|w[i+5|0]<<16|w[i+7|0]<<24;b=b+4|0;i=c+i|0;h=h-1|0;if(h){continue}break}i=a+i|0;b=b+d|0;if(f){continue}break}}}function nt(a,b,c,d){var e=0;e=Ma-32|0;Ma=e;v[a+344>>2]=0;a:{if((d|0)==1){v[e+24>>2]=0;v[e+28>>2]=0;A[e+16>>3]=c;A[e+8>>3]=b;d=a+320|0;a=v[a+320>>2];if(a){v[d>>2]=a-1}ww(d,e+8|0);break a}if(d-1>>>0<=13){v[e+24>>2]=0;v[e+28>>2]=0;A[e+16>>3]=c;A[e+8>>3]=b;ww(a+320|0,e+8|0);break a}v[a+340>>2]=d&64}Ma=e+32|0}function VNa(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,h=0,i=0;g=v[a+4>>2];i=a;if((b|0)!=1){h=v[a>>2];v[h+24>>2]=b;v[h+20>>2]=15;Qa[v[v[a>>2]>>2]](a)}else{b=1}a=Sq(i,b,128);v[a+40>>2]=0;v[a+32>>2]=c;v[a+12>>2]=f;v[a+8>>2]=d;v[a+4>>2]=e;v[a>>2]=0;v[a+44>>2]=v[g+72>>2];v[g+72>>2]=a;return a|0}function SNa(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,h=0,i=0;g=v[a+4>>2];i=a;if((b|0)!=1){h=v[a>>2];v[h+24>>2]=b;v[h+20>>2]=15;Qa[v[v[a>>2]>>2]](a)}else{b=1}a=Sq(i,b,128);v[a+40>>2]=0;v[a+32>>2]=c;v[a+12>>2]=f;v[a+8>>2]=d;v[a+4>>2]=e;v[a>>2]=0;v[a+44>>2]=v[g+68>>2];v[g+68>>2]=a;return a|0}function yZa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;if(v[a+2308>>2]){e=v[a+2300>>2];d=v[a+2312>>2];b=v[a+2316>>2];while(1){c=w[d|0];if(!((c|0)==x[e+836>>1]?w[e+56|0]:0)){t[b+1|0]=255}h=b;f=v[a+2296>>2];if(f){c=Qa[f|0](c)|0}t[h|0]=c;b=b+2|0;d=d+1|0;g=g+1|0;if(g>>>0>2]){continue}break}}return 0}function wIa(a){a=a|0;var b=0,c=0,d=0,e=0;d=Ma-16|0;Ma=d;b=v[a>>2];c=v[b+552>>2];b=tg(v[v[b+96>>2]+4>>2],239159);a:{if(!b|!c){break a}c=v[c>>2];if(!c){break a}c=Qa[c|0](b)|0;if(!c){break a}b=v[a>>2];e=Qa[v[c>>2]](v[b+100>>2],b+168|0,d+12|0)|0;if(e){break a}v[v[a+40>>2]>>2]=v[d+12>>2]}Ma=d+16|0;return e|0}function uj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=Ma-16|0;Ma=d;g=a;h=a;a:{if(!b){b=0;break a}c=b>>31;e=c+b^c;c=E(e);Oh(d,e,0,0,0,c+81|0);e=0+v[d+8>>2]|0;c=(v[d+12>>2]^65536)+(16414-c<<16)|0;c=e>>>0>>0?c+1|0:c;f=b&-2147483648|c;c=v[d+4>>2];b=v[d>>2]}v[h>>2]=b;v[g+4>>2]=c;v[a+8>>2]=e;v[a+12>>2]=f;Ma=d+16|0}function n_(a,b,c){var d=0,e=0;e=Ma-16|0;Ma=e;a=v[a+4>>2];d=v[v[a+128>>2]+52>>2];a:{b:{if(!d){d=b<<2;b=d+v[a+432>>2]|0;a=v[d+v[a+428>>2]>>2];break b}b=Qa[v[v[d>>2]>>2]](v[d+4>>2],b,e+8|0)|0;if(b){break a}b=e+8|4;a=v[e+8>>2]}d=v[b>>2];v[c+12>>2]=a;b=0;v[c>>2]=0;v[c+4>>2]=a;v[c+8>>2]=a+d}Ma=e+16|0;return b}function ZHa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=v[a+712>>2];a:{if(w[e+24|0]==2){f=11;e=fk(tg(v[v[a+96>>2]+4>>2],228483),233523,0);if(!e){break a}e=v[e>>2];if(!e){break a}return Qa[e|0](a,b,c,d)|0}if(!v[e+3084>>2]){return 11}a=Gj(e,x[v[e+1188>>2]+(b<<1)>>1]);if(!a){break a}wJ(c,a,d)}return f|0}function ZF(a,b){var c=0,d=0,e=0;a:{if(!a|!b){break a}c=v[a+644>>2];if((c|0)<1){break a}d=v[a+648>>2];a=d+B(c,5)|0;while(1){c=b;e=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);c=a-5|0;if((e|0)==(w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24))){return w[a-1|0]}a=c;if(c>>>0>d>>>0){continue}break}}return 0}function tt(a){var b=0,c=0,d=0,e=0,f=0;v[a>>2]=360348;c=v[a+4>>2];if(c){b=v[c+4>>2];a:{if(!b){break a}d=b-1|0;v[c+4>>2]=d;e=v[c+12>>2]+(b<<2)|0;while(1){f=c;e=e-4|0;b=v[e>>2];if(b){$a(b);d=v[c+4>>2]}b=d;d=b-1|0;v[f+4>>2]=d;if(b){continue}break}b=v[c+12>>2];if(!b){break a}$a(b)}$a(c);v[a+4>>2]=0}return a}function tba(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=Ma-16|0;Ma=f;v[e>>2]=c;a=lD(f+12|0,0,v[a+8>>2]);c=2;a:{if(a+1>>>0<2){break a}b=a-1|0;c=1;if(b>>>0>d-v[e>>2]>>>0){break a}c=f+12|0;while(1){if(b){a=w[c|0];d=v[e>>2];v[e>>2]=d+1;t[d|0]=a;b=b-1|0;c=c+1|0;continue}break}c=0}Ma=f+16|0;return c|0}function mva(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=-1;a:{if(b>>>0>2147482623){break a}e=b;c=v[a+1032>>2];if(!((c|0)<=(b|0)&(v[a+1036>>2]+c|0)>(b|0))){if(dh(v[a+4>>2],b,0)){break a}v[a+1032>>2]=b;c=kg(a+8|0,1,1024,v[a+4>>2]);v[a+1036>>2]=c;if((c|0)<1){break a}c=v[a+1032>>2]}d=w[((e-c|0)+a|0)+8|0]}return d|0}function eVa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c;c=Qa[v[a+152>>2]](1320)|0;v[d>>2]=c;if(!c){ob(a,1,0,0);return 1}a=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=a;a=v[b+28>>2];v[c+24>>2]=v[b+24>>2];v[c+28>>2]=a;a=v[b+20>>2];v[c+16>>2]=v[b+16>>2];v[c+20>>2]=a;a=v[b+12>>2];v[c+8>>2]=v[b+8>>2];v[c+12>>2]=a;return 0}function ot(a,b,c,d){var e=0;e=Ma-32|0;Ma=e;v[a+124>>2]=0;a:{if((d|0)==1){v[e+24>>2]=0;v[e+28>>2]=0;A[e+16>>3]=c;A[e+8>>3]=b;d=a+72|0;a=v[a+72>>2];if(a){v[d>>2]=a-1}ww(d,e+8|0);break a}if(d-1>>>0<=13){v[e+24>>2]=0;v[e+28>>2]=0;A[e+16>>3]=c;A[e+8>>3]=b;ww(a+72|0,e+8|0);break a}v[a+120>>2]=d&64}Ma=e+32|0}function mea(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;if(!(!f|!e)){a=x[a+26>>1];c=a<<1;a=B(a,g)<<1;d=h<<2;while(1){f=f-1|0;h=e;while(1){v[b>>2]=w[i+1|0]|w[i+3|0]<<8|w[i+5|0]<<16|-16777216;b=b+4|0;i=c+i|0;h=h-1|0;if(h){continue}break}i=a+i|0;b=b+d|0;if(f){continue}break}}}function iVa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c;c=Qa[v[a+152>>2]](808)|0;v[d>>2]=c;if(!c){ob(a,1,0,0);return 1}a=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=a;a=v[b+28>>2];v[c+24>>2]=v[b+24>>2];v[c+28>>2]=a;a=v[b+20>>2];v[c+16>>2]=v[b+16>>2];v[c+20>>2]=a;a=v[b+12>>2];v[c+8>>2]=v[b+8>>2];v[c+12>>2]=a;return 0}function hVa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c;c=Qa[v[a+152>>2]](564)|0;v[d>>2]=c;if(!c){ob(a,1,0,0);return 1}a=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=a;a=v[b+28>>2];v[c+24>>2]=v[b+24>>2];v[c+28>>2]=a;a=v[b+20>>2];v[c+16>>2]=v[b+16>>2];v[c+20>>2]=a;a=v[b+12>>2];v[c+8>>2]=v[b+8>>2];v[c+12>>2]=a;return 0}function gVa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c;c=Qa[v[a+152>>2]](548)|0;v[d>>2]=c;if(!c){ob(a,1,0,0);return 1}a=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=a;a=v[b+28>>2];v[c+24>>2]=v[b+24>>2];v[c+28>>2]=a;a=v[b+20>>2];v[c+16>>2]=v[b+16>>2];v[c+20>>2]=a;a=v[b+12>>2];v[c+8>>2]=v[b+8>>2];v[c+12>>2]=a;return 0}function UKa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;a=(a|0)/-4|0;if(b){f=v[d>>2]+B(a,v[d+4>>2])|0;while(1){b=b-1|0;if(x[c+2>>1]){g=w[c+4|0]+8>>>4|0;d=0;while(1){e=f+((u[c>>1]+d|0)/4|0)|0;a=w[e|0]+g|0;t[e|0]=a-(a>>>8|0);d=d+1|0;if(d>>>0>1]){continue}break}}c=c+6|0;if(b){continue}break}}}function u$a(a){a=a|0;var b=0,c=0,d=0;if(v[a+588>>2]>=1){b=v[a+540>>2];b=(v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0;c=v[a+636>>2]+v[a+616>>2]|0;while(1){t[b|0]=w[c|0];t[b+1|0]=w[c+1|0];c=c+2|0;b=(v[a+584>>2]<<1)+b|0;d=d+1|0;if((d|0)>2]){continue}break}}return 0}function sza(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=v[a+8>>2];a:{b:{if(b>>>0>=2){d=x[c+4>>1];e=v[c+20>>2];break b}v[a+44>>2]=65535;v[a+48>>2]=0;u[c>>1]=65534;v[c+44>>2]=0;e=v[c+20>>2];v[c+16>>2]=e;d=x[c+4>>1];u[c+8>>1]=d;if((b|0)==1){break a}}v[a+56>>2]=0;v[c+12>>2]=e;u[c+2>>1]=0;u[c+24>>1]=1;u[c+6>>1]=d}}function s3a(a){a=a|0;var b=0,c=0,d=0,e=0;b=Ma-16|0;Ma=b;e=Hh(a,b,16);a:{if((e|0)<0){c=-1;break a}d=e;while(1){if((d|0)>=1){c=-1;d=d-1|0;if((nj(a,t[d+b|0])|0)!=-1){continue}break a}break}c=-1;if((e|0)<16){break a}c=(t[b+7|0]|(t[b+5|0]<<16|w[b+4|0]<<24|t[b+6|0]<<8))!=1783636e3?-1:0}Ma=b+16|0;return c|0}function gZa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=v[a+2308>>2];if(b){e=v[a+2300>>2];d=v[a+2312>>2];c=v[a+2316>>2];while(1){f=w[d|0];if(f>>>0>2]){b=B(f,3)+e|0;t[c|0]=w[b+68|0];t[c+1|0]=w[b+69|0];t[c+2|0]=w[b+70|0];b=v[a+2308>>2]}c=c+3|0;d=d+1|0;g=g+1|0;if(g>>>0>>0){continue}break}}return 0}function fVa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c;c=Qa[v[a+152>>2]](84)|0;v[d>>2]=c;if(!c){ob(a,1,0,0);return 1}a=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=a;a=v[b+28>>2];v[c+24>>2]=v[b+24>>2];v[c+28>>2]=a;a=v[b+20>>2];v[c+16>>2]=v[b+16>>2];v[c+20>>2]=a;a=v[b+12>>2];v[c+8>>2]=v[b+8>>2];v[c+12>>2]=a;return 0}function uT(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;a:{if(!(w[b+8|0]&16)|(!a|!b)){break a}b:{if(w[b+25|0]==3){if(c){v[c>>2]=v[b+76>>2];f=16}else{f=0}if(!e){break b}v[e>>2]=b+80;break b}if(e){v[e>>2]=b+80;f=16}else{f=0}if(!c){break b}v[c>>2]=0}if(!d){break a}v[d>>2]=x[b+22>>1];f=16}return f|0}function jp(a){a=a|0;var b=0,c=0,d=0,e=0;b=v[a+4>>2];c=v[a+44>>2];a=!b|!c;if(a){a=0}else{d=1;b=a?0:b+40|0;a:{if(w[b|0]){break a}a=0;while(1){e=b+(a<<2)|0;if(w[e+1|0]!=(a|0)|w[e+2|0]!=(a|0)){break a}a=a+1|0;d=c>>>0>a>>>0;if((a|0)==(c|0)){break a}if(w[b+(a<<2)|0]==(a|0)){continue}break}}a=!d}return a|0}function j9(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;d=Ma-16|0;Ma=d;e=v[a+608>>2];a:{if((e|0)<(c|0)){b=v[a>>2];c=v[a+628>>2];v[d>>2]=v[a+472>>2];wb(c,b,2767,d);a=0;break a}f=v[a+604>>2];if((f|0)!=(b|0)){Fd(b,f,c);e=v[a+608>>2];b=v[a+604>>2]}v[a+608>>2]=e-c;v[a+604>>2]=b+c;a=1}Ma=d+16|0;return a|0}function fp(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c;c=Qa[v[a+152>>2]](48)|0;v[d>>2]=c;if(!c){ob(a,1,0,0);return 1}a=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=a;a=v[b+28>>2];v[c+24>>2]=v[b+24>>2];v[c+28>>2]=a;a=v[b+20>>2];v[c+16>>2]=v[b+16>>2];v[c+20>>2]=a;a=v[b+12>>2];v[c+8>>2]=v[b+8>>2];v[c+12>>2]=a;return 0}function XTa(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1246250066){ob(a,2050,0,0);return 2050}v[b+32>>2]=v[c+32>>2];v[b+36>>2]=v[c+36>>2];t[b+40|0]=w[c+40|0];t[b+41|0]=w[c+41|0];t[b+42|0]=w[c+42|0];t[b+43|0]=w[c+43|0];t[b+44|0]=w[c+44|0];t[b+45|0]=w[c+45|0];t[b+46|0]=w[c+46|0];t[b+47|0]=w[c+47|0];return 0}function VB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c;c=Qa[v[a+152>>2]](68)|0;v[d>>2]=c;if(!c){ob(a,1,0,0);return 1}a=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=a;a=v[b+28>>2];v[c+24>>2]=v[b+24>>2];v[c+28>>2]=a;a=v[b+20>>2];v[c+16>>2]=v[b+16>>2];v[c+20>>2]=a;a=v[b+12>>2];v[c+8>>2]=v[b+8>>2];v[c+12>>2]=a;return 0}function V8(a,b){a=a|0;b=b|0;var c=0;b=Ma-16|0;Ma=b;c=0;a:{if(!ix(a)){break a}if(!Pl(a,85824,1)){wb(v[a+628>>2],16514,18691,0);c=0;break a}v[a+556>>2]=493;v[a+548>>2]=493;v[a+540>>2]=493;v[a+560>>2]=494;v[a+552>>2]=494;v[a+544>>2]=494;v[a+536>>2]=495;v[b>>2]=1;c=Kc(a,65536,b)}a=c;Ma=b+16|0;return a|0}function UB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c;c=Qa[v[a+152>>2]](36)|0;v[d>>2]=c;if(!c){ob(a,1,0,0);return 1}a=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=a;a=v[b+28>>2];v[c+24>>2]=v[b+24>>2];v[c+28>>2]=a;a=v[b+20>>2];v[c+16>>2]=v[b+16>>2];v[c+20>>2]=a;a=v[b+12>>2];v[c+8>>2]=v[b+8>>2];v[c+12>>2]=a;return 0}function Ts(a){var b=0,c=0,d=0;c=v[a+28>>2];mh(c);b=v[a+16>>2];d=v[c+20>>2];b=b>>>0>>0?b:d;a:{if(!b){break a}cb(v[a+12>>2],v[c+16>>2],b);v[a+12>>2]=b+v[a+12>>2];v[c+16>>2]=b+v[c+16>>2];v[a+20>>2]=b+v[a+20>>2];v[a+16>>2]=v[a+16>>2]-b;a=v[c+20>>2]-b|0;v[c+20>>2]=a;if(a){break a}v[c+16>>2]=v[c+8>>2]}}function TB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c;c=Qa[v[a+152>>2]](56)|0;v[d>>2]=c;if(!c){ob(a,1,0,0);return 1}a=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=a;a=v[b+28>>2];v[c+24>>2]=v[b+24>>2];v[c+28>>2]=a;a=v[b+20>>2];v[c+16>>2]=v[b+16>>2];v[c+20>>2]=a;a=v[b+12>>2];v[c+8>>2]=v[b+8>>2];v[c+12>>2]=a;return 0}function Sw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c;c=Qa[v[a+152>>2]](52)|0;v[d>>2]=c;if(!c){ob(a,1,0,0);return 1}a=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=a;a=v[b+28>>2];v[c+24>>2]=v[b+24>>2];v[c+28>>2]=a;a=v[b+20>>2];v[c+16>>2]=v[b+16>>2];v[c+20>>2]=a;a=v[b+12>>2];v[c+8>>2]=v[b+8>>2];v[c+12>>2]=a;return 0}function QBa(a){a=a|0;var b=0,c=0;c=v[a+28>>2];b=v[a+12>>2];if(b){Gk(b+12|0);v[b+52>>2]=0;v[b+44>>2]=0;v[b+48>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b+16>>2]=0;if(b){Qa[v[c+8>>2]](c,b)}v[a+12>>2]=0}if(!v[a+20>>2]){b=v[a>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a>>2]=0}}function Q3(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c;c=Qa[v[a+152>>2]](60)|0;v[d>>2]=c;if(!c){ob(a,1,0,0);return 1}a=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=a;a=v[b+28>>2];v[c+24>>2]=v[b+24>>2];v[c+28>>2]=a;a=v[b+20>>2];v[c+16>>2]=v[b+16>>2];v[c+20>>2]=a;a=v[b+12>>2];v[c+8>>2]=v[b+8>>2];v[c+12>>2]=a;return 0}function Ln(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c;c=Qa[v[a+152>>2]](44)|0;v[d>>2]=c;if(!c){ob(a,1,0,0);return 1}a=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=a;a=v[b+28>>2];v[c+24>>2]=v[b+24>>2];v[c+28>>2]=a;a=v[b+20>>2];v[c+16>>2]=v[b+16>>2];v[c+20>>2]=a;a=v[b+12>>2];v[c+8>>2]=v[b+8>>2];v[c+12>>2]=a;return 0}function KR(a){var b=0,c=0,d=0;b=Ma-16|0;Ma=b;a:{if(v[a+8>>2]){gf(b+8|0,a,a+8|0);break a}v[b+8>>2]=0;qb(b+8|0,0)}a=v[b+8>>2];b:{if(!a){d=300;break b}d=v[a+20>>2];v[b+8>>2]=0;c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(c){break b}c=v[a+4>>2];if(!c){v[a+4>>2]=-32767}if(!c){Qa[v[v[a>>2]+4>>2]](a)}}Ma=b+16|0;return d}function Jt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c;c=Qa[v[a+152>>2]](32)|0;v[d>>2]=c;if(!c){ob(a,1,0,0);return 1}a=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=a;a=v[b+28>>2];v[c+24>>2]=v[b+24>>2];v[c+28>>2]=a;a=v[b+20>>2];v[c+16>>2]=v[b+16>>2];v[c+20>>2]=a;a=v[b+12>>2];v[c+8>>2]=v[b+8>>2];v[c+12>>2]=a;return 0}function Jm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c;c=Qa[v[a+152>>2]](40)|0;v[d>>2]=c;if(!c){ob(a,1,0,0);return 1}a=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=a;a=v[b+28>>2];v[c+24>>2]=v[b+24>>2];v[c+28>>2]=a;a=v[b+20>>2];v[c+16>>2]=v[b+16>>2];v[c+20>>2]=a;a=v[b+12>>2];v[c+8>>2]=v[b+8>>2];v[c+12>>2]=a;return 0}function HD(a){a=a|0;var b=0,c=0;v[a>>2]=998744;b=v[a+40>>2];while(1){if(b){b=b-1|0;c=b<<2;Qa[v[c+v[a+32>>2]>>2]](0,a,v[c+v[a+36>>2]>>2]);continue}break}b=v[a+28>>2];c=v[b+4>>2]-1|0;v[b+4>>2]=c;if((c|0)==-1){Qa[v[v[b>>2]+8>>2]](b)}$a(v[a+32>>2]);$a(v[a+36>>2]);$a(v[a+48>>2]);$a(v[a+60>>2]);return a|0}function p_(a,b){var c=0,d=0,e=0;a:{if(b>>>0>255){break a}c=v[a+604>>2];c=Qa[v[c+20>>2]](x[v[c+24>>2]+(b<<1)>>1])|0;d=v[a+584>>2];if(!d){break a}e=v[a+580>>2];b=0;while(1){b:{a=v[(b<<2)+e>>2];if(!a|w[a|0]!=w[c|0]){break b}if(hb(a,c)){break b}return b}b=b+1|0;if((d|0)!=(b|0)){continue}break}}return-1}function jb(a,b){var c=0,d=0;c=(b&252)+1184496|0;cE(c);d=v[b>>2];if(d){v[d+4>>2]=v[d+4>>2]+1}v[c>>2]=0;c=(a&252)+1184496|0;cE(c);b=v[a>>2];v[a>>2]=d;v[c>>2]=0;a:{if(!b){break a}d=b+4|0;c=v[d>>2]-1|0;v[d>>2]=c;if(c){break a}c=v[d>>2];if(!c){v[d>>2]=-32767}if(c){break a}Qa[v[v[b>>2]+4>>2]](b)}return a}function hI(a){var b=0,c=0,d=0,e=0;b=Ma-16|0;Ma=b;c=ce(a);if(c>>>0<1073741808){a:{b:{if(c>>>0>=2){e=c+4&-4;d=ab(e<<2);v[b+8>>2]=e|-2147483648;v[b>>2]=d;v[b+4>>2]=c;break b}t[b+11|0]=c;d=b;if(!c){break a}}rb(d,a,c)}v[(c<<2)+d>>2]=0;a=fw(b);if(t[b+11|0]<=-1){$a(v[b>>2])}Ma=b+16|0;return a-1|0}sc();L()}function d0(a,b){var c=0,d=0,e=0,f=0;c=Ma-16|0;Ma=c;d=v[a>>2];v[c+12>>2]=0;f=v[a+12>>2];b=v[a+84>>2]+(v[a+48>>2]+b|0)|0;a:{if(f>>>0>=b>>>0){break a}b=b+1&-2;d=yb(d,32,f,b,v[a+52>>2],c+12|0);v[a+52>>2]=d;e=v[c+12>>2];if(e){break a}v[a+12>>2]=b;e=0;v[a+88>>2]=d?d+(v[a+48>>2]<<5)|0:0}Ma=c+16|0;return e}function Sc(a,b,c){var d=0,e=0,f=0;d=v[v[a>>2]>>2];a:{b:{c:{d:{if(!b){if(d){e=v[a+4>>2];d=b>>>0>e>>>0?e:b;e=0;break d}v[a+4>>2]=0;return}f=v[a+4>>2];e=ab(B(b,c));if(!d){break c}d=b>>>0>f>>>0?f:b}d=B(c,d);if(d){break b}}c=v[a>>2];break a}c=v[a>>2];cb(e,v[c>>2],d)}d=v[c>>2];v[c>>2]=e;v[a+4>>2]=b;$a(d)}function SQa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=a+116|0;if((c|0)!=(b|0)){d=w[a+127|0];e=d<<24>>24;if(t[b+11|0]>=0){if((e|0)>=0){a=v[c+4>>2];v[b>>2]=v[c>>2];v[b+4>>2]=a;v[b+8>>2]=v[c+8>>2];return 0}De(b,v[a+116>>2],v[a+120>>2]);return 0}f=b;b=(e|0)<0;mf(f,b?v[a+116>>2]:c,b?v[a+120>>2]:d)}return 0}function LP(a,b,c){var d=0,e=0,f=0,g=0;f=Ma-16|0;Ma=f;v[f+12>>2]=c;d=Ma-160|0;Ma=d;g=d+8|0;cb(g,998592,144);v[d+52>>2]=a;v[d+28>>2]=a;e=-2-a|0;e=e>>>0<2147483647?e:2147483647;v[d+56>>2]=e;a=a+e|0;v[d+36>>2]=a;v[d+24>>2]=a;SD(g,b,c);if(e){a=v[d+28>>2];t[a-((a|0)==v[d+24>>2])|0]=0}Ma=d+160|0;Ma=f+16|0}function HI(a,b,c){var d=0,e=0,f=0,g=0;d=Ma-16|0;Ma=d;v[a+8>>2]=0;v[a>>2]=0;v[a+4>>2]=0;f=t[b+11|0];e=(f|0)<0;g=v[b+4>>2];a:{if(!(e?g:f&255)){break a}b:{if(!e){v[d+8>>2]=v[b+8>>2];e=v[b+4>>2];v[d>>2]=v[b>>2];v[d+4>>2]=e;break b}vc(d,v[b>>2],g)}Dq(d,a,c);if(t[d+11|0]>-1){break a}$a(v[d>>2])}Ma=d+16|0}function GQa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=a+464|0;if((c|0)!=(b|0)){d=w[a+475|0];e=d<<24>>24;if(t[b+11|0]>=0){if((e|0)>=0){a=v[c+4>>2];v[b>>2]=v[c>>2];v[b+4>>2]=a;v[b+8>>2]=v[c+8>>2];return 0}De(b,v[a+464>>2],v[a+468>>2]);return 0}f=b;b=(e|0)<0;mf(f,b?v[a+464>>2]:c,b?v[a+468>>2]:d)}return 0}function EQa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=a+452|0;if((c|0)!=(b|0)){d=w[a+463|0];e=d<<24>>24;if(t[b+11|0]>=0){if((e|0)>=0){a=v[c+4>>2];v[b>>2]=v[c>>2];v[b+4>>2]=a;v[b+8>>2]=v[c+8>>2];return 0}De(b,v[a+452>>2],v[a+456>>2]);return 0}f=b;b=(e|0)<0;mf(f,b?v[a+452>>2]:c,b?v[a+456>>2]:d)}return 0}function yia(a,b,c){a=a|0;b=b|0;c=C(c);var d=0,e=0,f=0;d=Ma-16|0;Ma=d;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=0;v[d+4>>2]=0;v[d>>2]=970612;v[d+4>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;f=d;hl(a,b,d,0);a=v[d+8>>2];if(a){while(1){e=v[a+8>>2];Qa[v[v[e>>2]+52>>2]](e,b,c);a=v[a>>2];if(a){continue}break}}ac(f);Ma=d+16|0}function y2(a){var b=0,c=0,d=0,e=0;d=a+44|0;v1(d);b=1;c=1;a:{b:{switch(v[a+40>>2]-3|0){case 0:c=A[a+32>>3]/72;b=A[a+24>>3]/72;break a;case 3:c=A[a+32>>3]/25.4;b=A[a+24>>3]/25.4;break a;case 1:break b;default:break a}}c=A[a+32>>3];b=A[a+24>>3]}wB(d,b,c);e=a+56|0;Dl(e,d);Mk(e,a+48|0,1);Mk(e,a+52|0,0)}function lFa(a){a=a|0;var b=0,c=0,d=0,e=0;e=v[a>>2];b=v[a+8>>2];if(b){c=v[a+16>>2];d=v[c+4>>2];v[b+108>>2]=v[c>>2];v[b+112>>2]=d;v[b+124>>2]=v[c+16>>2];d=v[c+12>>2];v[b+116>>2]=v[c+8>>2];v[b+120>>2]=d}b=v[a+1512>>2];if(b){Qa[b|0](v[a+1508>>2]);b=v[a+1508>>2];if(b){Qa[v[e+8>>2]](e,b)}v[a+1508>>2]=0}}function dZ(){var a=0,b=0;a:{if(v[290975]==2){break a}if(!xA(1163900)){break a}b:{if(v[290974]){break b}b=349015;a=ii(313132);a=a?a:349015;c:{if(!w[a|0]){break c}b=Fg(zb(a)+2|0);if(!b){break b}b=od(b,a);a=v[290974];if(!a|!w[a|0]){break c}Nd(a)}v[290974]=b;v[291029]=2485}v[290975]=2}return v[290974]}function S4(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[b+28>>2];a:{if(c){c=c-1|0;v[b+28>>2]=c;if(c){break a}}c=v[b+1144>>2];b:{if(!c){break b}d=v[b+1148>>2];if(!d){break b}Qa[v[a+156>>2]](d,c)}c=v[b+1172>>2];c:{if(!c){break c}d=v[b+1176>>2];if(!d){break c}Qa[v[a+156>>2]](d,c)}Qa[v[a+156>>2]](b,1180)}return 0}function B0a(a,b){a=a|0;b=b|0;var c=0,d=0;v[a+2336>>2]=b;a:{if(!v[a+200>>2]){break a}c=Qa[v[a+152>>2]](v[b+28>>2]+1|0)|0;if(!c){ob(a,1,0,0);return 1}d=v[b+28>>2];if(d){cb(c,v[b+32>>2],d)}d=Qa[v[a+200>>2]](a,c)|0;Qa[v[a+156>>2]](c,v[b+28>>2]+1|0);if(d){break a}ob(a,904,0,0);return 904}return Ww(a)|0}function tfa(a){a=a|0;var b=0,c=0;v[a>>2]=984128;b=v[a+3312>>2];v[a+3312>>2]=0;a:{if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}v[a>>2]=984196;xd(a+120|0);xd(a+96|0);xd(a+72|0);ec(a+40|0);ec(a+28|0);ec(a+16|0);return a|0}function lK(a){var b=0,c=0,d=0;a:{if(!a){break a}b=v[a>>2];if(!b){break a}c=v[b+8>>2];v[b+8>>2]=c-1;if((c|0)<=1){c=v[b+12>>2];if(c){d=1;if(v[b+4>>2]>=1){$a(v[c>>2]);if(v[b+4>>2]>=2){while(1){$a(v[v[b+12>>2]+(d<<2)>>2]);d=d+1|0;if((d|0)>2]){continue}break}}c=v[b+12>>2]}$a(c)}$a(b)}v[a>>2]=0}}function dC(a){var b=0,c=0,d=0,e=0,f=0,g=0;if(!v[a+4>>2]){return}e=gb(v[a+52>>2]);if(e){b=Ud(a,v[a+20>>2]-1|0);c=Ud(a,0);if(v[a+20>>2]>=2){d=v[a+52>>2];while(1){g=cb(e,b,d);b=cb(b,c,d);c=cb(c,g,v[a+52>>2]);d=v[a+52>>2];c=c+d|0;b=b-d|0;f=f+1|0;if((f|0)<(v[a+20>>2]/2|0)){continue}break}}$a(e);hM(a)}}function ala(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;d=Ma-32|0;Ma=d;a:{b:{switch(c|0){case 2:c=v[a+16>>2];break a;default:lb(mb(d+8|0,332788,241689,924,330070));L();case 0:break a;case 1:break b}}c=v[a+12>>2]}b=b+c|0;if((b|0)<=-1){lb(mb(d+8|0,319537,241689,928,330070));L()}v[a+12>>2]=b;Ma=d+32|0;return 0}function CKa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(a){d=v[v[a>>2]+100>>2];while(1){b=e<<2;f=b+a|0;c=v[f+16>>2];if(c){b=v[v[(v[v[b+429248>>2]+4>>2]<<2)+428960>>2]+16>>2];if(b){Qa[b|0](c);c=v[f+16>>2]}if(c){Qa[v[d+8>>2]](d,c)}v[f+16>>2]=0}e=e+1|0;if((e|0)!=87){continue}break}if(a){Qa[v[d+8>>2]](d,a)}}}function Bia(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Ma-16|0;Ma=d;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=0;v[d+4>>2]=0;v[d>>2]=970612;v[d+4>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;f=d;hl(a,b,d,0);a=v[d+8>>2];if(a){while(1){e=v[a+8>>2];Qa[v[v[e>>2]+40>>2]](e,b,c);a=v[a>>2];if(a){continue}break}}ac(f);Ma=d+16|0}function pZa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(v[a+2308>>2]){c=v[a+2312>>2];b=v[a+2316>>2];while(1){d=Qa[v[a+2296>>2]](w[c|0])|0;e=Qa[v[a+2296>>2]](w[c+1|0])|0;t[b+1|0]=(d|0)!=0;t[b|0]=d>>>8;t[b+3|0]=(e|0)!=0;t[b+2|0]=e>>>8;b=b+4|0;c=c+2|0;f=f+1|0;if(f>>>0>2]){continue}break}}return 0}function _K(a){if(!kb(a)){a:{b:{a=kb(a);if((a|0)<=1282306591){if((a|0)==1097754476){break a}if((a|0)!=1148022372){break b}return 4}if((a|0)==1282306592){return 0}if((a|0)!=1382444131){if((a|0)!=1382312992){break b}return 1}return 3}O(3794,6490,865,194303);L()}return 2}O(11805,6490,845,194303);L()}function hpa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=Ma-16|0;Ma=c;v[c>>2]=13;ee(a+8|0,c);b=ab(40);d=v[a+24>>2];e=v[a+28>>2];f=v[a+32>>2];a=v[c+4>>2];v[b+8>>2]=v[c>>2];v[b+12>>2]=a;a=v[c+12>>2];v[b+16>>2]=v[c+8>>2];v[b+20>>2]=a;v[b+32>>2]=f;v[b+24>>2]=d;v[b+28>>2]=e;v[b>>2]=953032;Ma=c+16|0;return b|0}function f3a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Ma-32|0;Ma=c;d=w[a+21|0];e=w[a+20|0];v[c+24>>2]=w[a+22|0];v[c+20>>2]=d;v[c+16>>2]=e;vb(b,47737,c+16|0);a:{b:{switch(w[a+20|0]-1|0){case 0:v[c>>2]=v[a+24>>2];vb(b,48251,c);break a;case 1:break b;default:break a}}$L(b,v[a+28>>2],v[a+32>>2])}Ma=c+32|0}function Yd(a,b,c){var d=0,e=0,f=0;d=w[b|0];if(d){e=b;while(1){f=B(f,17)+(d&255)|0;d=w[e+1|0];e=e+1|0;if(d){continue}break}}a:{d=v[v[a+8>>2]+((f>>>0)%((v[a+12>>2]<<1)-1>>>0)<<2)>>2];if(d){while(1){if(!hb(b,v[d>>2])){break a}d=v[d+24>>2];if(d){continue}break}}v[c>>2]=5;return c}return ee(d+8|0,c)}function wV(a){a=a|0;var b=0;v[a>>2]=887312;b=v[a+160>>2];if(b){$a(Bb(b))}b=v[a+164>>2];if(b){xo(b)}b=v[a+168>>2];if(b){nq(b)}tb(v[a+200>>2]);tb(v[a+208>>2]);b=v[a+216>>2];if(b){tb(b)}v[a>>2]=887188;b=v[a+4>>2];if(b){$a(Bb(b))}b=v[a+16>>2];if(b){$a(Bb(b))}b=v[a+28>>2];if(b){$a(Bb(b))}return a|0}function lBa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;c=0;a=v[a+24>>2];a=v[a+36>>2]+(w[a+29|0]<<10)|0;while(1){t[b+c|0]=(v[a+(c<<2)>>2]^-1)>>>31;d=c|1;t[d+b|0]=(v[a+(d<<2)>>2]^-1)>>>31;d=c|2;t[d+b|0]=(v[a+(d<<2)>>2]^-1)>>>31;d=c|3;t[d+b|0]=(v[a+(d<<2)>>2]^-1)>>>31;c=c+4|0;if((c|0)!=256){continue}break}}function cB(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}b=t[a|0];e=b&255;if(!e|!(w[(e>>>3|0)+425600|0]>>>(b&7)&1)){break a}while(1){c=65535;if((d&65535)>>>0>6551){break a}c=b+425632|0;b=t[a+1|0];a=a+1|0;d=w[c|0]+B(d,10)|0;c=d;if(w[((b&248)>>>3|0)+425600|0]>>>(b&7)&1){continue}break}}return c&65535}function YIa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{if(b>>>0>65535){break a}e=v[c+288>>2];if((e|0)<1){break a}f=v[c+292>>2];while(1){c=v[(d<<2)+f>>2];b:{if(!c|w[c|0]!=w[a|0]){break b}if((zb(c)|0)!=(b|0)){break b}if(!Kb(c,a,b)){break a}}d=d+1|0;if((e|0)!=(d|0)){continue}break}d=0}return d|0}function Xqa(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=888172;tb(v[a+180>>2]);tb(v[a+188>>2]);b=v[a+328>>2];if((b|0)>=1){while(1){d=v[((c<<2)+a|0)+196>>2];if(d){Qa[v[v[d>>2]+4>>2]](d);b=v[a+328>>2]}c=c+1|0;if((b|0)>(c|0)){continue}break}}v[a>>2]=888092;b=v[a+8>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}return a|0}function LR(a){var b=0,c=0,d=0;b=Ma-16|0;Ma=b;a:{if(v[a+8>>2]){gf(b+8|0,a,a+8|0);break a}v[b+8>>2]=0;qb(b+8|0,0)}a=v[b+8>>2];b:{if(!a){break b}d=v[a+12>>2];v[b+8>>2]=0;c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(c){break b}c=v[a+4>>2];if(!c){v[a+4>>2]=-32767}if(!c){Qa[v[v[a>>2]+4>>2]](a)}}Ma=b+16|0;return d}function Gf(a,b){var c=0,d=0,e=0;c=Ma-16|0;Ma=c;t[c+15|0]=0;v[b>>2]=0;d=v[a+8>>2];a:{b:{e=v[a+20>>2];c:{if(e){if((Qa[e|0](a,d,c+15|0,1)|0)!=1){break b}d=v[a+8>>2];b=c+15|0;break c}if(y[a+4>>2]<=d>>>0){break b}b=v[a>>2]+d|0}b=w[b|0];v[a+8>>2]=d+1;break a}v[b>>2]=85;b=0}Ma=c+16|0;return b<<24>>24}function s2a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=v[b>>2];v[a+12>>2]=d;d=gb(d<<2);v[a+16>>2]=d;e=-1;a:{if(!d){break a}if(v[b>>2]){while(1){b:{if(!qf(c,d)){if(!qf(c,d+4|0)){break b}}a=v[a+16>>2];if(!a){break a}$a(a);return-1}d=d+8|0;f=f+1|0;if(f>>>0>2]){continue}break}}e=0}return e|0}function qU(a){a=a|0;var b=0;v[a>>2]=957880;tb(v[a+3480>>2]);v[a+3480>>2]=0;b=a+3484|0;tb(v[b>>2]);v[b>>2]=0;b=a+3488|0;tb(v[b>>2]);v[b>>2]=0;b=a+3492|0;tb(v[b>>2]);v[b>>2]=0;tb(v[a+3468>>2]);v[a+3468>>2]=0;b=v[a+4>>2];Qa[v[v[b>>2]+24>>2]](b);b=v[a+4>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}return a|0}function Ve(a,b){var c=0,d=0,e=0,f=0;c=v[b>>2];e=Qa[v[v[c>>2]+16>>2]](c)|0;c=ab(40);v[c+8>>2]=1;v[c+4>>2]=0;v[c>>2]=970212;d=v[b>>2];if(d){v[d+4>>2]=v[d+4>>2]+1;f=v[b>>2]}v[c+16>>2]=f;v[c+12>>2]=f;v[c+36>>2]=0;v[c+24>>2]=0;v[c>>2]=979024;v[c+32>>2]=e;v[c+28>>2]=e;u[c+20>>1]=0;v[a>>2]=0;qb(a,c)}function N2(a,b){var c=0,d=0,e=0,f=0,g=C(0),h=C(0);c=Ma-16|0;Ma=c;a:{if(!a|!b){break a}d=b?v[b>>2]:0;if((d|0)<=0){break a}e=d-1|0;if((d|0)<=(e|0)|(e|0)<0){break a}while(1){Z2(b,f,c+12|0,c+8|0);g=C(v[c+12>>2]);h=C(v[c+8>>2]);if(a){Nl(a,g,h)}d=(f|0)!=(e|0);f=f+1|0;if(d){continue}break}}Ma=c+16|0}function MR(a){var b=0,c=0,d=0;b=Ma-16|0;Ma=b;a:{if(v[a+8>>2]){gf(b+8|0,a,a+8|0);break a}v[b+8>>2]=0;qb(b+8|0,0)}a=v[b+8>>2];b:{if(!a){break b}d=v[a+8>>2];v[b+8>>2]=0;c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(c){break b}c=v[a+4>>2];if(!c){v[a+4>>2]=-32767}if(!c){Qa[v[v[a>>2]+4>>2]](a)}}Ma=b+16|0;return d}function Jb(a,b,c){var d=0,e=0;a:{b:{if(c>>>0>=4){if((a|b)&3){break b}while(1){if(v[a>>2]!=v[b>>2]){break b}b=b+4|0;a=a+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(!c){break a}}while(1){d=w[a|0];e=w[b|0];if((d|0)==(e|0)){b=b+1|0;a=a+1|0;c=c-1|0;if(c){continue}break a}break}return d-e|0}return 0}function efa(a){a=a|0;var b=0,c=0;v[a>>2]=984128;b=v[a+3312>>2];v[a+3312>>2]=0;a:{if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}v[a>>2]=984196;xd(a+120|0);xd(a+96|0);xd(a+72|0);ec(a+40|0);ec(a+28|0);ec(a+16|0);$a(a)}function Yj(a,b,c,d){var e=0;e=Ma-32|0;Ma=e;a:{if(a){if(v[a+172>>2]==-1?v[a+212>>2]:0){break a}v[a+84>>2]=b;v[e+20>>2]=0;v[e+16>>2]=d;nb(0,0,0,a,0,1,b,3,d,0,0,0,c,e+16|0);v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1;break a}v[e+4>>2]=0;v[e>>2]=d;nb(0,0,0,0,0,1,b,3,d,0,0,0,c,e)}Ma=e+32|0}function UFa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a=v[a+16>>2];d=x[a+2>>1];a:{if(d+(x[a+6>>1]<<8)>>>0>>0){break a}c=x[a>>1];f=x[a+4>>1];if(c+(f<<8)>>>0>b>>>0){break a}e=b&255;if(e>>>0>>0|d>>>0>>0){break a}g=x[v[a+12>>2]+((e-c|0)+B((d-c|0)+1|0,(b>>>8&65535)-f|0)<<1)>>1]}return g|0}function FUa(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1665684045){ob(a,2050,0,0);return 2050}t[b+32|0]=w[c+32|0];v[b+36>>2]=v[c+36>>2];v[b+40>>2]=v[c+40>>2];v[b+44>>2]=v[c+44>>2];v[b+48>>2]=v[c+48>>2];v[b+52>>2]=v[c+52>>2];v[b+56>>2]=v[c+56>>2];v[b+60>>2]=v[c+60>>2];v[b+64>>2]=v[c+64>>2];return 0}function wFa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=v[a+12>>2];a:{if((u[d+22>>1]+u[d+58>>1]|0)+1>>>0>y[d+4>>2]){d=Ch(d,1,0);if(d){break a}}d=v[a+20>>2];if(w[a+65|0]){a=v[d+8>>2];e=u[d+2>>1];f=v[d+4>>2]+(e<<3)|0;v[f+4>>2]=c>>10;v[f>>2]=b>>10;t[a+e|0]=1}u[d+2>>1]=x[d+2>>1]+1;d=0}return d|0}function YL(a){var b=0,c=0,d=0;c=3;a:{b=v[a+20>>2]-8|0;b:{if(b){if((b|0)==16){break b}break a}c=1;b=v[a+40>>2];if((b|0)<1){break b}a=v[a+48>>2];while(1){c=v[a>>2];if((c|0)!=v[a+4>>2]){return 3}if((c|0)!=v[a+8>>2]){return 3}a=a+16|0;c=1;d=(b|0)>1;b=b-1|0;if(d){continue}break}}return c}S();L()}function Qaa(a){a=a|0;a:{if(t[1187528]&1){break a}if(!ie(1187528)){break a}b:{if(t[1188680]&1){break b}if(!ie(1188680)){break b}a=1188656;while(1){a=ud(a)+12|0;if((a|0)!=1188680){continue}break}he(1188680)}Rd(1188656,1009552);Rd(1188668,1009564);v[296881]=1188656;he(1187528)}return v[296881]}function P_(a,b){var c=0,d=0,e=0;c=Ma-16|0;Ma=c;d=v[a+36>>2];a:{if(!d){break a}d=v[d+28>>2];b=SA(a+36|0,b,c+12|0,c+8|0);v[c+4>>2]=b;if(b){break a}b=v[c+8>>2];e=cc(d,b+1|0,c+4|0);if(!v[c+4>>2]){if(b){cb(e,v[c+12>>2],b)}t[b+e|0]=0}if(v[a+68>>2]){break a}Oe(v[a+36>>2],c+12|0)}Ma=c+16|0;return e}function Koa(a){a=a|0;var b=0,c=0;b=v[a+8>>2];a:{b:{if(b){a=v[b+36>>2];if((a|0)>=v[b+28>>2]){if(!ps(b)){return-1}a=v[b+36>>2]}a=v[b+32>>2]+a|0;break b}c=-1;if(v[a+16>>2]){break a}b=v[a+53312>>2];if((b|0)>=v[a+53308>>2]){if(!cz(a)){break a}b=v[a+53312>>2]}a=(a+b|0)+49208|0}c=w[a|0]}return c|0}function Fe(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=v[a+76>>2]>=0;d=v[a>>2]&1;if(!d){b=v[a+52>>2];if(b){v[b+56>>2]=v[a+56>>2]}c=v[a+56>>2];if(c){v[c+52>>2]=b}if(v[296258]==(a|0)){v[296258]=c}}b=$i(a);c=Qa[v[a+12>>2]](a)|0;e=v[a+96>>2];if(e){$a(e)}a:{if(!d){$a(a);break a}if(!f){break a}}return b|c}function FMa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Ma-16|0;Ma=c;d=v[a+180>>2];a:{if(!d){break a}if(Am(d,b,40970)){break a}v[c+12>>2]=0;if(l0(v[v[a+180>>2]+84>>2],c+12|0)){break a}b=v[a+180>>2];d=x[b+68>>1];e=A[a+184>>3];a=v[v[b+84>>2]+56>>2];n0(v[c+12>>2]);e=e*+(a|0)/+(d>>>0)}Ma=c+16|0;return+e}function uq(a,b){var c=0,d=0,e=0;c=Ma-32|0;Ma=c;d=v[b>>2];a:{if((d|0)>=1048577){v[c>>2]=338944;nb(0,0,0,0,0,30,2,3,338944,0,0,0,340689,c);break a}d=d<<1;a=Qa[v[256557]](a,d|1)|0;if(!a){v[c+16>>2]=345842;nb(0,0,0,0,0,30,2,3,345842,0,0,0,340689,c+16|0);break a}v[b>>2]=d;e=a}Ma=c+32|0;return e}function ll(a,b){var c=0,d=0;c=v[a+32>>2];if((c|0)>=v[a+16>>2]){if(!eG(a)){return}v[a+32>>2]=0;c=0}if(v[a+8>>2]>=1){d=1;v[a+32>>2]=c+1;t[b|0]=w[v[a+28>>2]+c|0];if(v[a+8>>2]<2){return}while(1){c=v[a+32>>2];v[a+32>>2]=c+1;t[b+d|0]=w[c+v[a+28>>2]|0];d=d+1|0;if((d|0)>2]){continue}break}}}function h_a(a){a=a|0;var b=0,c=0,d=0,e=0;b=v[a+588>>2];if((b|0)>=1){c=v[a+644>>2];b=b-1|0;d=c+B(b,3)|0;b=c+B(b,6)|0;c=0;while(1){t[b+5|0]=0;e=w[d+2|0];t[b+3|0]=0;t[b+4|0]=e;e=w[d+1|0];t[b+1|0]=0;t[b+2|0]=e;t[b|0]=w[d|0];b=b-6|0;d=d-3|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function coa(a){a=a|0;var b=0;b=v[a+8>>2];if(!b){if(!v[a+32784>>2]){while(1){if(!(!v[a+34092>>2]|!v[a+34096>>2])){return-1}bz(a);if(!v[a+32784>>2]){continue}break}}return w[(v[a+32780>>2]+a|0)+12|0]}a=v[b+36>>2];if((a|0)>=v[b+28>>2]){if(!ps(b)){return-1}a=v[b+36>>2]}return w[v[b+32>>2]+a|0]}function V5(a,b,c){var d=0;a:{if((b|0)==1){d=32768;if(!c){break a}}b:{if((c|0)<1|b|(c|0)>65534){break b}c:{switch(a-3|0){case 2:d=c-1|0;if(d>>>0>=3){break b}break a;case 0:d=0;if((c|0)!=1){break b}break a;default:return c-1&32767;case 1:break c}}d=c-1|0;if(d>>>0<3){break a}}d=65536}return d}function $U(a){var b=0,c=0,d=0,e=0;a:{if(!v[a+36>>2]){break a}b=v[a+32>>2];if((b|0)<1){break a}c=1;while(1){v[a+40>>2]=-1;if(c){v[a+32>>2]=b-1}v[a+28>>2]=v[a+28>>2]+1;b=v[a+24>>2];d=a,e=Qa[v[v[b>>2]+28>>2]](b)&255,v[d+40>>2]=e;b=v[a+32>>2];if((b|0)<1){break a}c=v[a+36>>2];continue}}return a}function ii(a){var b=0,c=0,d=0,e=0;e=zb(a);a:{if(!v[296801]|!w[a|0]){break a}if(ye(a,61)){break a}b=v[v[296801]>>2];if(!b){break a}b:{while(1){d=Kb(a,b,e);b=v[296801];if(!d){d=v[b+(c<<2)>>2]+e|0;if(w[d|0]==61){break b}}c=c+1|0;b=v[b+(c<<2)>>2];if(b){continue}break}return 0}c=d+1|0}return c}function Wqa(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=888172;tb(v[a+180>>2]);tb(v[a+188>>2]);b=v[a+328>>2];if((b|0)>=1){while(1){d=v[((c<<2)+a|0)+196>>2];if(d){Qa[v[v[d>>2]+4>>2]](d);b=v[a+328>>2]}c=c+1|0;if((c|0)<(b|0)){continue}break}}v[a>>2]=888092;b=v[a+8>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}$a(a)}function Saa(a){a=a|0;a:{if(t[1187520]&1){break a}if(!ie(1187520)){break a}b:{if(t[1188648]&1){break b}if(!ie(1188648)){break b}a=1188624;while(1){a=ud(a)+12|0;if((a|0)!=1188648){continue}break}he(1188648)}je(1188624,310954);je(1188636,310931);v[296879]=1188624;he(1187520)}return v[296879]}function un(a){var b=0;b=v[a+16>>2];if(b){$a(b)}b=v[a+20>>2];if(b){$a(b)}v[a>>2]=0;v[a+4>>2]=0;t[a+40|0]=0;v[a+32>>2]=0;v[a+36>>2]=-1074790400;t[a+21|0]=0;t[a+22|0]=0;t[a+23|0]=0;t[a+24|0]=0;t[a+25|0]=0;t[a+26|0]=0;t[a+27|0]=0;t[a+28|0]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0}function SDa(a,b){a=a|0;b=b|0;var c=0;a:{switch(b|0){case 0:return a+160|0;case 3:return a+216|0;case 4:return(w[a+292|0]?a+296|0:0)|0;case 2:return(x[a+372>>1]==65535?0:a+372|0)|0;case 5:return a+476|0;case 1:return a+260|0;case 6:c=v[a+568>>2]?a+568|0:0;break;default:break a}}return c|0}function NP(a){var b=0,c=0,d=0,e=0,f=0;b=v[a+40>>2];c=Qa[b|0](a,0,0,w[a|0]&128?y[a+20>>2]>y[a+28>>2]?2:1:1)|0;b=Pa;d=b;if((b|0)>0|(b|0)>=0){e=v[a+20>>2]-v[a+28>>2]|0;a=v[a+8>>2]-v[a+4>>2]|0;f=c-a|0;b=e+f|0;a=(d-((a>>31)+(c>>>0>>0)|0)|0)+(e>>31)|0;c=b;d=b>>>0>>0?a+1|0:a}Pa=d;return c}function Bra(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=887948;b=v[a+12>>2];if((b|0)>=1){while(1){d=v[((c<<2)+a|0)+16>>2];if(d){$a(Bb(d));b=v[a+12>>2]}c=c+1|0;if((c|0)<(b|0)){continue}break}}b=v[a+144>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}b=v[a+148>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}bb(a+152|0);return a|0}function AFa(a){a=a|0;var b=0,c=0;b=v[a+20>>2];if(!b){return 3}a:{b:{if(w[a+68|0]){a=v[a+12>>2];if((u[a+20>>1]+u[a+56>>1]|0)+1>>>0>y[a+8>>2]){a=Ch(a,0,1);if(a){break a}}c=x[b>>1];a=c<<16>>16;if((a|0)<1){break b}u[(v[b+12>>2]+(c<<1)|0)-2>>1]=x[b+2>>1]-1}a=x[b>>1]}u[b>>1]=a+1;a=0}return a|0}function AD(a){var b=0,c=0,d=0,e=0,f=0;c=Ma-16|0;Ma=c;b=v[a+64>>2];if(b){v[c+4>>2]=4127;b=nf(c+8|0,b,c+4|0);e=Qa[v[v[a>>2]+24>>2]](a)|0;d=v[b>>2];v[b>>2]=0;f=Fe(d);v[a+64>>2]=0;Qa[v[v[a>>2]+12>>2]](a,0,0)|0;d=v[b>>2];v[b>>2]=0;if(d){Qa[v[b+4>>2]](d)|0}a=e|f?0:a}else{a=0}Ma=c+16|0;return a}function xz(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=v[a>>2]+(b<<2)|0;f=v[c>>2];e=v[a+8>>2];d=e-1|0;if((d|0)>(b|0)){id(c,c+4|0,(b^-1)+e<<2);d=v[a+8>>2]-1|0}v[a+8>>2]=d;c=v[a+12>>2];b=v[a+4>>2];c=(c|0)>0?c:(b|0)/2|0;if((c|0)<=(b-d|0)){b=b-c|0;v[a+4>>2]=b;g=a,h=yc(v[a>>2],b,4),v[g>>2]=h}return f}function n2a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Ma-16|0;Ma=c;v[c>>2]=v[a+12>>2];vb(b,59537,c);e=v[a+16>>2];a:{if(e){f=v[a+20>>2];while(1){if(w[d+f|0]-32>>>0>=95){break a}d=d+1|0;if((e|0)!=(d|0)){continue}break}}Lb(59709,7,1,b);Lb(v[a+20>>2],1,v[a+16>>2],b);Ee(10,b)}Ma=c+16|0;return 0}function kB(a,b,c){var d=0,e=0,f=0,g=0;e=Ma-16|0;Ma=e;d=0;a:{if(!a){break a}f=v[a+92>>2];d=0;if(!f){break a}d=0;if(!v[a+16>>2]){break a}v[e+12>>2]=b;while(1){g=Qa[v[v[f+12>>2]+16>>2]](f,e+12|0)|0;if(g>>>0>=y[a+16>>2]){continue}break}d=g?v[e+12>>2]:0}a=d;if(c){v[c>>2]=g}Ma=e+16|0;return a}function Dia(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Ma-16|0;Ma=c;v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=0;v[c+4>>2]=0;v[c>>2]=970612;v[c+4>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;e=c;hl(a,b,c,0);a=v[c+8>>2];if(a){while(1){d=v[a+8>>2];Qa[v[v[d>>2]+32>>2]](d,b);a=v[a>>2];if(a){continue}break}}ac(e);Ma=c+16|0}function Cma(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Ma-32|0;Ma=d;v[c>>2]=0;e=d+16|0;$p(e,b);v[d+12>>2]=0;v[d+8>>2]=0;LY(v[a+4>>2],e,d+12|0,d+8|0);b=v[d+8>>2];if(b){a=ab(12);e=v[d+12>>2];t[a+8|0]=0;v[a+4>>2]=b;v[a>>2]=e;v[c>>2]=a}if(t[d+27|0]<=-1){$a(v[d+16>>2])}Ma=d+32|0;return(b|0)!=0|0}function Cia(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Ma-16|0;Ma=c;v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=0;v[c+4>>2]=0;v[c>>2]=970612;v[c+4>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;e=c;hl(a,b,c,0);a=v[c+8>>2];if(a){while(1){d=v[a+8>>2];Qa[v[v[d>>2]+36>>2]](d,b);a=v[a>>2];if(a){continue}break}}ac(e);Ma=c+16|0}function uZa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(v[a+2308>>2]){d=v[a+2312>>2];b=v[a+2316>>2];while(1){e=Qa[v[a+2296>>2]](w[d|0])|0;c=e>>>8|0;t[b+4|0]=c;t[b+2|0]=c;t[b|0]=c;c=(e|0)!=0;t[b+5|0]=c;t[b+3|0]=c;t[b+1|0]=c;b=b+6|0;d=d+1|0;f=f+1|0;if(f>>>0>2]){continue}break}}return 0}function f8(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;Qa[v[v[a+584>>2]+908>>2]](a,b,c);e=b;b=v[b>>2];d=x[a+204>>1]<<3;if(b>>>0<0-d>>>0){b=((b+d|0)-1>>>0)/(d>>>0)|0}else{b=0}v[e>>2]=B(b,d);b=c;e=b;c=v[b>>2];a=x[a+206>>1]<<3;if(c>>>0<0-a>>>0){b=((a+c|0)-1>>>0)/(a>>>0)|0}else{b=0}v[e>>2]=B(b,a)}function eu(a,b){var c=0,d=0;c=Ma-4096|0;Ma=c;a:{b:{if(!a){b=4096;a=c;break b}if(b){break b}v[296206]=28;break a}b=Aa(a|0,b|0)|0;if(b>>>0>=4294963201){v[296206]=0-b;b=-1}if((b|0)<0){break a}d=a;if((a|0)!=(c|0)){break a}a=zb(c)+1|0;b=gb(a);if(b){d=cb(b,c,a)}else{d=0}}Ma=c+4096|0;return d}function VV(a){var b=0,c=0,d=0,e=0;c=v[a+4>>2];if((c|0)>=1){while(1){b=v[v[a>>2]+(d<<2)>>2];a:{if(!b){break a}e=v[b+24>>2]-1|0;v[b+24>>2]=e;if(e){break a}c=v[b>>2];if(c){$a(Bb(c))}tb(v[b+4>>2]);tb(v[b+12>>2]);$a(b);c=v[a+4>>2]}d=d+1|0;if((d|0)<(c|0)){continue}break}}tb(v[a>>2]);return a}function Tg(a){var b=0,c=0,d=0;a:{if(v[a+60>>2]){break a}b=v[a+972>>2];if(!b){break a}c=v[a+356>>2];b:{if((c|0)>0){while(1){b=v[(d<<2)+b>>2];if(b){Qa[v[v[b>>2]+4>>2]](b);c=v[a+356>>2]}b=v[a+972>>2];d=d+1|0;if((d|0)<(c|0)){continue}break}if(!b){break b}}$a(b)}v[a+356>>2]=0;v[a+972>>2]=0}}function K2(a,b,c){var d=0;d=Ma-16|0;Ma=d;a:{b:{c:{d:{if(!b|!c|((b?v[b+8>>2]:-1)|0)!=1){break d}Uq(c,d+12|0,d+8|0,0,0);if(!v[d+12>>2]|!v[d+8>>2]){break d}if(a){break c}a=Ct(b)}if(a){break b}a=0;break a}BK(a,b)}b=Rk(0,b,c);v[d+4>>2]=b;if(!b){break a}Qk(a,b,c);_b(d+4|0)}Ma=d+16|0;return a}function Hr(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=Ma-16|0;Ma=c;g=a;h=a;a:{if(!b){b=0;e=0;break a}d=b;b=E(b);Oh(c,d,0,0,0,b+81|0);d=0+v[c+8>>2]|0;b=(v[c+12>>2]^65536)+(16414-b<<16)|0;b=d>>>0>>0?b+1|0:b;f=d;d=b;b=v[c+4>>2];e=v[c>>2]}v[h>>2]=e;v[g+4>>2]=b;v[a+8>>2]=f;v[a+12>>2]=d;Ma=c+16|0}function F2(a,b,c){var d=0,e=0,f=0;e=c-b>>2;if(e>>>0<4294967280){a:{if(e>>>0<=10){t[a+11|0]=e;d=a;break a}f=e+16&-16;d=ab(f);v[a+8>>2]=f|-2147483648;v[a>>2]=d;v[a+4>>2]=e}if((b|0)!=(c|0)){while(1){t[d|0]=v[b>>2];d=d+1|0;b=b+4|0;if((c|0)!=(b|0)){continue}break}}t[d|0]=0;return a}sc();L()}function $6(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;a:{b:{e=v[a+584>>2];if(e){f=v[e+28>>2];if(!f){break b}if(!v[e+40>>2]){break a}if(!(Qa[f|0](a,b,c,d)|0)){return 0}Qa[v[e+40>>2]](a,b,c);return 1}O(16309,6354,393,187966);L()}O(36544,6354,394,187966);L()}O(37911,6354,395,187966);L()}function xu(a){var b=0,c=0;c=Ma-16|0;Ma=c;v[c+8>>2]=0;b=c+8|0;qb(b,0);jb(a,b);b=a;a=v[a>>2];v[b+4>>2]=v[(a?a+12|0:1117e3)>>2];a=v[c+8>>2];v[c+8>>2]=0;a:{if(!a){break a}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break a}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=c+16|0}function nVa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=v[b+40>>2];d=v[a+428>>2];c=v[b+32>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+8|0]=c;t[d+9|0]=c>>>8;t[d+10|0]=c>>>16;t[d+11|0]=c>>>24;t[d+12|0]=w[b+36|0];c=v[b+40>>2];if(c){cb(d+13|0,v[b+44>>2],c)}return hd(a,v[b>>2],e+5|0,d+8|0)|0}function jK(a,b){var c=0,d=0;a:{if(!a){break a}c=v[a>>2];if(!c){break a}b:{if(!b){break b}d=v[c+4>>2];if((d|0)<1){break b}while(1){d=d-1|0;v[c+4>>2]=d;$a(v[v[c+8>>2]+(d<<2)>>2]);d=v[c+4>>2];if((d|0)>0){continue}break}}if(v[c+12>>2]){jK(c+12|0,b)}b=v[c+8>>2];if(b){$a(b)}$a(c);v[a>>2]=0}}function it(a){var b=0,c=0;v[a+20>>2]=0;v[a+36>>2]=0;v[a+48>>2]=0;b=v[a+24>>2];v[a+56>>2]=v[a+20>>2];v[a+60>>2]=b;c=v[a+32>>2];b=a- -64|0;v[b>>2]=v[a+28>>2];v[b+4>>2]=c;v[a+88>>2]=v[a+52>>2];b=v[a+40>>2];v[a+72>>2]=v[a+36>>2];v[a+76>>2]=b;b=v[a+48>>2];v[a+80>>2]=v[a+44>>2];v[a+84>>2]=b}function cla(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;f=v[a+16>>2]-d|0;f=(c|0)>(f|0)?f:c;if((f|0)<1){return 0}c=f;while(1){g=d&4095;h=d>>12;e=((d|4095)-d|0)+1|0;e=(c|0)<(e|0)?c:e;d=d+e|0;b=cb(b,v[v[a+24>>2]+(h<<2)>>2]+g|0,e)+e|0;c=c-e|0;if((c|0)>0){continue}break}return f|0}function a3a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=Ma-32|0;Ma=c;v[c+16>>2]=v[a+20>>2];vb(b,49263,c+16|0);if(v[a+20>>2]){while(1){e=v[a+24>>2]+(d<<3)|0;f=v[e>>2];g=w[e+4|0];v[c+8>>2]=w[e+5|0];v[c+4>>2]=g;v[c>>2]=f;vb(b,49718,c);d=d+1|0;if(d>>>0>2]){continue}break}}Ma=c+32|0}function US(a,b,c){var d=0;d=Bd(c);a:{b=v[v[b+120>>2]+((d>>>0)%y[b+116>>2]<<2)>>2];if(b){while(1){if(v[b+12>>2]==(d|0)){if(!ld(b+16|0,c,-1)){break a}}b=v[b+8>>2];if(b){continue}break}}v[a>>2]=0;qb(a,0);return}c=v[b+24>>2];if(!c){v[a>>2]=0;return}v[c+4>>2]=v[c+4>>2]+1;v[a>>2]=v[b+24>>2]}function Hra(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=ab(28);c=v[a+12>>2];e=ab(8);Hc(e,c);c=v[a+16>>2];c=Qa[v[v[c>>2]+8>>2]](c)|0;d=v[a+20>>2];d=Qa[v[v[d>>2]+8>>2]](d)|0;f=v[a+4>>2];v[b+24>>2]=v[a+24>>2];v[b+20>>2]=d;v[b+16>>2]=c;v[b+12>>2]=e;v[b>>2]=887896;v[b+8>>2]=0;v[b+4>>2]=f;return b|0}function mUa(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1129074510){ob(a,2050,0,0);return 2050}u[b+32>>1]=x[c+32>>1];u[b+34>>1]=x[c+34>>1];t[b+36|0]=w[c+36|0];t[b+37|0]=w[c+37|0];t[b+38|0]=w[c+38|0];t[b+39|0]=w[c+39|0];t[b+40|0]=w[c+40|0];v[b+44>>2]=v[c+44>>2];v[b+48>>2]=v[c+48>>2];return 0}function YR(a,b){var c=0,d=0;d=Ma-32|0;Ma=d;c=a+148|0;if(!(v[c>>2]&1|v[c>>2]&2|v[c>>2]&4)){XE(a)}a:{if(!b){break a}if(w[a+144|0]){while(1){if(!(v[c>>2]&1)){break a}while(1){if(v[c>>2]&1){continue}break}if(w[a+144|0]){continue}break}}lb(mb(d+8|0,231556,241865,164,226745));L()}Ma=d+32|0}function K1a(a){a=a|0;var b=0,c=0,d=0;if(v[a+4>>2]==16){d=v[v[a+44>>2]+88>>2]+B(v[a+8>>2],1876)|0}else{d=v[a+36>>2]}c=v[a+40>>2];b=v[a+52>>2];Qa[v[v[b>>2]+20>>2]](b,2)|0;c=Qa[v[v[b>>2]+20>>2]](b,v[c+16>>2]<257?1:2)|0;b=Qa[v[v[b>>2]+20>>2]](b,1)|0;v[v[d+1872>>2]+B(c,1076)>>2]=b;$4(a,c)}function fla(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;v[a>>2]=970168;b=v[a+20>>2];if((b|0)>=1){while(1){c=v[a+24>>2];e=d<<2;f=v[c+e>>2];if(f){$a(f);c=v[a+24>>2];b=v[a+20>>2]}v[c+e>>2]=0;d=d+1|0;if((d|0)<(b|0)){continue}break}}v[a+20>>2]=0;v[a+12>>2]=0;v[a+16>>2]=0;ec(a+28|0);bc(a);return a|0}function fca(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;c=Ma-128|0;Ma=c;v[c+12>>2]=c+116;d=a+8|0;a=c+16|0;pO(d,a,c+12|0,e,f,g);e=v[c+12>>2];d=Ma-16|0;Ma=d;v[d+8>>2]=b;while(1){if((a|0)!=(e|0)){CD(d+8|0,t[a|0]);a=a+1|0;continue}break}Ma=d+16|0;Ma=c+128|0;return v[d+8>>2]}function ed(a,b){var c=0;c=v[a+8>>2];if(v[a+12>>2]-c>>3>>>0<=b>>>0){a=v[a+4>>2];if(!(!a|v[a>>2])){v[a>>2]=130}return 0}a:{b:{c:{a=(b<<3)+c|0;switch(v[a+4>>2]-1|0){case 0:break b;case 1:break c;default:break a}}return v[a>>2]<<16}a=v[a>>2];return((a>>31)+a|0)- -8192>>14}return v[a>>2]}function Vp(a,b,c){var d=0;d=Bd(c);a:{b=v[v[b+92>>2]+((d>>>0)%y[b+88>>2]<<2)>>2];if(b){while(1){if(v[b+12>>2]==(d|0)){if(!ld(b+16|0,c,-1)){break a}}b=v[b+8>>2];if(b){continue}break}}v[a>>2]=0;qb(a,0);return}c=v[b+24>>2];if(!c){v[a>>2]=0;return}v[c+4>>2]=v[c+4>>2]+1;v[a>>2]=v[b+24>>2]}function Vh(a){var b=0,c=0;if(a){b=v[a+4>>2];if(b){Qa[v[256556]](b)}b=v[a+8>>2];if(b){Qa[v[256556]](b)}b=v[a+44>>2];if(b){Qa[v[256556]](b)}b=v[a+48>>2];if(b){Qa[v[256556]](b)}b=v[a+40>>2];a:{if(!b){break a}c=v[a+12>>2];if(!c){break a}Qa[b|0](c)}b=v[a>>2];if(b){um(b)}Qa[v[256556]](a)}}function VS(a,b,c){var d=0;d=Bd(c);a:{b=v[v[b+64>>2]+((d>>>0)%y[b+60>>2]<<2)>>2];if(b){while(1){if(v[b+12>>2]==(d|0)){if(!ld(b+16|0,c,-1)){break a}}b=v[b+8>>2];if(b){continue}break}}v[a>>2]=0;qb(a,0);return}c=v[b+24>>2];if(!c){v[a>>2]=0;return}v[c+4>>2]=v[c+4>>2]+1;v[a>>2]=v[b+24>>2]}function Ky(a){a=a|0;var b=0,c=0;v[a+24>>2]=969432;v[a>>2]=969400;b=v[a+28>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Qa[v[v[b>>2]+4>>2]](b)}v[a+28>>2]=0}v[a+16>>2]=969432;b=v[a+20>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Qa[v[v[b>>2]+4>>2]](b)}v[a+20>>2]=0}db(a+8|0);return a|0}function JJa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=v[a+736>>2];a:{b:{if(f){if(b){v[b>>2]=v[f>>2]}if(c){v[c>>2]=v[f+4>>2]}if(d){v[d>>2]=v[v[a+736>>2]+8>>2]}if(!e){break a}a=v[v[a+736>>2]+12>>2];break b}if(b){v[b>>2]=0}if(c){v[c>>2]=0}a=0;if(!e){break a}}v[e>>2]=a}return 0}function Ara(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=887948;b=v[a+12>>2];if((b|0)>=1){while(1){d=v[((c<<2)+a|0)+16>>2];if(d){$a(Bb(d));b=v[a+12>>2]}c=c+1|0;if((c|0)<(b|0)){continue}break}}b=v[a+144>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}b=v[a+148>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}bb(a+152|0);$a(a)}function qm(a,b,c,d,e){var f=0;f=Ma-32|0;Ma=f;a:{if(a){if(v[a+172>>2]==-1?v[a+212>>2]:0){break a}v[a+84>>2]=b;v[f+24>>2]=0;v[f+20>>2]=e;v[f+16>>2]=d;nb(0,0,0,a,0,3,b,2,d,e,0,0,c,f+16|0);v[a+356>>2]=0;break a}v[f+8>>2]=0;v[f+4>>2]=e;v[f>>2]=d;nb(0,0,0,0,0,3,b,2,d,e,0,0,c,f)}Ma=f+32|0}function kca(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,h=0,i=0;g=a;h=b;b=Qa[v[v[a+8>>2]+20>>2]](a+8|0)|0;a=b;if(w[b+11|0]>>>7|0){a=v[a>>2]}i=a;if(w[b+11|0]>>>7|0){a=v[b>>2]}else{a=b}if(w[b+11|0]>>>7|0){b=v[b+4>>2]}else{b=w[b+11|0]}return Um(g,h,c,d,e,f,i,a+(b<<2)|0)|0}function hU(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=v[b>>2];if((f|0)<(v[a>>2]-1|0)){j=1;h=v[a+4>>2];d=h+f|0;e=w[d+1|0];i=w[d|0];g=f+2|0;v[b>>2]=g;e=e|i<<8;if(!((i&248)!=216|(v[a>>2]-1|0)<=(g|0))){a=w[d+3|0];d=w[g+h|0];v[b>>2]=f+4;e=((a|d<<8)+(e<<10)|0)-56613888|0}v[c>>2]=e}return j}function gU(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=v[b>>2];if((f|0)<(v[a>>2]-1|0)){h=v[a+4>>2];d=h+f|0;e=w[d|0];j=1;i=w[d+1|0];g=f+2|0;v[b>>2]=g;e=e|i<<8;if(!((i&248)!=216|(v[a>>2]-1|0)<=(g|0))){a=w[g+h|0];d=w[d+3|0];v[b>>2]=f+4;e=((a|d<<8)+(e<<10)|0)-56613888|0}v[c>>2]=e}return j}function e4(a,b,c){var d=0,e=0;a:{b:{if(b){while(1){d=ig(a,x[c>>1]);if(d){d=jC(a,d);if(d){break a}}c=c+2|0;e=e+1|0;if((e|0)!=(b|0)){continue}break}break b}c=v[a+688>>2];if(!c){break b}while(1){b=v[c+8>>2];if(!w[c+30|0]){d=jC(a,c);if(d){break a}}c=b;if(c){continue}break}}d=0}return d}function _U(a){var b=0,c=0,d=0,e=0;a:{if(!v[a+36>>2]){break a}b=v[a+32>>2];if((b|0)<1){break a}c=1;while(1){v[a+40>>2]=-1;if(c){v[a+32>>2]=b-1}v[a+28>>2]=v[a+28>>2]+1;b=v[a+24>>2];d=a,e=Qa[v[v[b>>2]+28>>2]](b)&255,v[d+40>>2]=e;b=v[a+32>>2];if((b|0)<1){break a}c=v[a+36>>2];continue}}}function _Ea(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{if(b>>>0>255){break a}b=Qa[v[a+20>>2]](x[v[a+16>>2]+(b<<1)>>1])|0;d=v[a+24>>2];if(!d){break a}e=v[a+28>>2];while(1){a=v[(c<<2)+e>>2];if(!(!a|w[a|0]!=w[b|0])){if(!hb(a,b)){break a}}c=c+1|0;if((d|0)!=(c|0)){continue}break}c=0}return c|0}function Nl(a,b,c){var d=0,e=0;e=v[a>>2];d=v[a+4>>2];a:{if((e|0)<(d|0)){break a}d=Kj(a+12|0,d<<2,d<<3);v[a+12>>2]=d;if(!d){break a}d=v[a+4>>2];d=Kj(a+16|0,d<<2,d<<3);v[a+16>>2]=d;if(!d){break a}v[a+4>>2]=v[a+4>>2]<<1}d=e<<2;z[d+v[a+12>>2]>>2]=b;z[d+v[a+16>>2]>>2]=c;v[a>>2]=v[a>>2]+1}function CK(a,b,c){var d=0,e=0;d=c-1|0;a:{if(d>>>0>31|!(1<>2]=1;v[d+8>>2]=c;v[d+4>>2]=b;v[d>>2]=a;a=(B(a,c)+31|0)/32|0;v[d+12>>2]=a;a=Qa[v[256541]](B(a,b)<<2)|0;if(!a){break a}v[d+40>>2]=a;Bt(d);e=d}return e}function CG(a,b){var c=0;c=v[a+424>>2];if(c){Qa[v[v[c>>2]+4>>2]](c)}v[a+424>>2]=v[b>>2];c=v[a+428>>2];if(c){Qa[v[v[c>>2]+4>>2]](c)}v[a+428>>2]=v[b+4>>2];c=v[a+432>>2];if(c){Qa[v[v[c>>2]+4>>2]](c)}v[a+432>>2]=v[b+8>>2];c=v[a+436>>2];if(c){Qa[v[v[c>>2]+4>>2]](c)}v[a+436>>2]=v[b+12>>2]}function zb(a){var b=0,c=0,d=0;b=a;a:{if(b&3){while(1){if(!w[b|0]){break a}b=b+1|0;if(b&3){continue}break}}while(1){c=b;b=b+4|0;d=v[c>>2];if(!((d^-1)&d-16843009&-2139062144)){continue}break}if(!(d&255)){return c-a|0}while(1){d=w[c+1|0];b=c+1|0;c=b;if(d){continue}break}}return b-a|0}function nGa(a){a=a|0;var b=0,c=0,d=0,e=0;if(a){c=v[a+100>>2];b=v[a+132>>2];if(b){if(v[b+160>>2]){Oe(v[a+104>>2],b+160|0)}d=c;e=v[b+168>>2];if(e){Qa[v[d+8>>2]](d,e)}v[b+168>>2]=0;if(b){Qa[v[c+8>>2]](c,b)}v[a+132>>2]=0}d=v[a+32>>2];if(d){Qa[v[c+8>>2]](c,d)}v[a+28>>2]=0;v[a+32>>2]=0}}function ie(a){var b=0,c=0,d=0,e=0;b=Ma-16|0;Ma=b;v[b+12>>2]=0;v[b+4>>2]=a;v[b>>2]=a;v[b+8>>2]=a+1;a=b;d=Ma-16|0;Ma=d;e=d+8|0;v[e>>2]=v[b+4>>2];if(!w[v[e>>2]]){a:{b:{a=v[a+8>>2];c=w[a|0];if((c|0)!=1){if(c&2){break b}t[a|0]=2;a=1}else{a=0}break a}L()}c=a}Ma=d+16|0;Ma=b+16|0;return c}function WI(a,b,c){var d=0;d=Ma-16|0;Ma=d;a:{if(b>>>0<=255){b=Dd(a,b&4?454912:454944,c);break a}b=Dd(a,454976,d+8|0);if(b){break a}u[c>>1]=w[d+8|0]-128;u[c+2>>1]=w[d+9|0]-128;u[c+4>>1]=w[d+10|0]-128;u[c+6>>1]=w[d+11|0]-128;a=w[d+12|0];u[c+10>>1]=0;u[c+8>>1]=a-128}Ma=d+16|0;return b}function R1a(a){a=a|0;var b=0,c=0,d=0,e=0;b=Ma-16|0;Ma=b;e=Hh(a,b+14|0,2);a:{if((e|0)<0){c=-1;break a}d=e;while(1){if((d|0)>=1){c=-1;d=d-1|0;if((nj(a,w[d+(b+14|0)|0])|0)!=-1){continue}break a}break}c=-1;if((e|0)<2){break a}c=(w[b+15|0]|w[b+14|0]<<8)!=20551?-1:0}Ma=b+16|0;return c|0}function nwa(a,b){a=a|0;b=b|0;var c=0,d=0;c=Ma-32|0;Ma=c;d=v[b+120>>2];Qa[v[v[d>>2]+20>>2]](d,b+252|0,c+16|0,0);a=v[a+104>>2];v[c+12>>2]=B(v[c+24>>2],255)+32768&16711680|(B(v[c+20>>2],255)+32768>>>8&65280|B(v[c+16>>2],255)+32768>>>16&255);Qa[v[v[a>>2]+52>>2]](a,c+12|0)|0;Ma=c+32|0}function hM(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=v[a+964>>2];if(!c){return}d=v[a+16>>2];e=gb(d);if(e){b=v[a+20>>2];if((b|0)>=2){b=B(b-1|0,d)+c|0;while(1){g=cb(e,b,d);b=cb(b,c,d);c=cb(c,g,v[a+16>>2]);d=v[a+16>>2];c=c+d|0;b=b-d|0;f=f+1|0;if((f|0)<(v[a+20>>2]/2|0)){continue}break}}$a(e)}}function V1a(a){a=a|0;var b=0,c=0,d=0,e=0;b=Ma-16|0;Ma=b;e=Hh(a,b+14|0,2);a:{if((e|0)<0){c=-1;break a}d=e;while(1){if((d|0)>=1){c=-1;d=d-1|0;if((nj(a,w[d+(b+14|0)|0])|0)!=-1){continue}break a}break}c=-1;if((e|0)<2){break a}c=0-(w[b+14|0]!=255|w[b+15|0]!=216)|0}Ma=b+16|0;return c|0}function TJ(a,b,c,d){var e=0;v[a+84>>2]=1;v[a+88>>2]=0;z[a+8>>2]=z[a>>2]+c;z[a+12>>2]=z[a+4>>2]+d;e=v[a+80>>2];if(!e){e=ab(100);v[e+72>>2]=0;v[e+76>>2]=0;v[e>>2]=1;v[e+96>>2]=1;v[e+80>>2]=0;v[e+84>>2]=0;v[e+88>>2]=0;v[e+92>>2]=0;e=e+4|0;v[a+80>>2]=e}a=v[b>>2];t[e+64|0]=0;v[e>>2]=a}function $1a(a,b){a=a|0;b=b|0;var c=0;c=v[a+52>>2];if(!v[c+20>>2]){a=gb(12);if(!a){v[c+20>>2]=0;return-1}v[a+8>>2]=0;v[a>>2]=0;v[a+4>>2]=0;v[c+20>>2]=a}a=gb(12);if(!a){return-1}v[a>>2]=w[b+12|0];v[a+8>>2]=v[b+20>>2];v[b+20>>2]=0;v[a+4>>2]=v[b+16>>2];return(D5(v[c+20>>2],a)?-1:0)|0}function pca(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,h=0;g=Ma-16|0;Ma=g;v[g+8>>2]=b;b=v[d+28>>2];v[g>>2]=b;v[b+4>>2]=v[b+4>>2]+1;h=Yi(g);b=v[g>>2];d=v[b+4>>2]-1|0;v[b+4>>2]=d;if((d|0)==-1){Qa[v[v[b>>2]+8>>2]](b)}xO(a,f+24|0,g+8|0,c,e,h);Ma=g+16|0;return v[g+8>>2]}function oca(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,h=0;g=Ma-16|0;Ma=g;v[g+8>>2]=b;b=v[d+28>>2];v[g>>2]=b;v[b+4>>2]=v[b+4>>2]+1;h=Yi(g);b=v[g>>2];d=v[b+4>>2]-1|0;v[b+4>>2]=d;if((d|0)==-1){Qa[v[v[b>>2]+8>>2]](b)}vO(a,f+16|0,g+8|0,c,e,h);Ma=g+16|0;return v[g+8>>2]}function jca(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,h=0;g=Ma-16|0;Ma=g;v[g+8>>2]=b;b=v[d+28>>2];v[g>>2]=b;v[b+4>>2]=v[b+4>>2]+1;h=hi(g);b=v[g>>2];d=v[b+4>>2]-1|0;v[b+4>>2]=d;if((d|0)==-1){Qa[v[v[b>>2]+8>>2]](b)}sO(a,f+24|0,g+8|0,c,e,h);Ma=g+16|0;return v[g+8>>2]}function ica(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,h=0;g=Ma-16|0;Ma=g;v[g+8>>2]=b;b=v[d+28>>2];v[g>>2]=b;v[b+4>>2]=v[b+4>>2]+1;h=hi(g);b=v[g>>2];d=v[b+4>>2]-1|0;v[b+4>>2]=d;if((d|0)==-1){Qa[v[v[b>>2]+8>>2]](b)}rO(a,f+16|0,g+8|0,c,e,h);Ma=g+16|0;return v[g+8>>2]}function Y2a(a){a=a|0;var b=0,c=0,d=0,e=0;b=Ma-16|0;Ma=b;e=Hh(a,b+14|0,2);a:{if((e|0)<0){c=-1;break a}d=e;while(1){if((d|0)>=1){c=-1;d=d-1|0;if((nj(a,w[d+(b+14|0)|0])|0)!=-1){continue}break a}break}c=-1;if((e|0)<2){break a}c=0-(w[b+14|0]!=255|w[b+15|0]!=79)|0}Ma=b+16|0;return c|0}function VPa(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;h=Ma-16|0;Ma=h;i=1;if(!(!v[a+16>>2]|!v[a+20>>2])){b=En(h+8|0,A[b>>3],A[c>>3],A[d>>3],A[e>>3],A[f>>3],A[g>>3]);c=v[a+16>>2];if(!(!c|!v[a+20>>2])){w2(c,b);zB(v[a+16>>2])}me(b);i=0}Ma=h+16|0;return i|0}function RQa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=a+116|0;if((c|0)!=(b|0)){d=w[b+11|0];e=d<<24>>24;if(t[a+127|0]>=0){if((e|0)>=0){a=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=a;v[c+8>>2]=v[b+8>>2];return 0}De(c,v[b>>2],v[b+4>>2]);return 0}a=(e|0)<0;mf(c,a?v[b>>2]:b,a?v[b+4>>2]:d)}return 0}function FQa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=a+464|0;if((c|0)!=(b|0)){d=w[b+11|0];e=d<<24>>24;if(t[a+475|0]>=0){if((e|0)>=0){a=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=a;v[c+8>>2]=v[b+8>>2];return 0}De(c,v[b>>2],v[b+4>>2]);return 0}a=(e|0)<0;mf(c,a?v[b>>2]:b,a?v[b+4>>2]:d)}return 0}function DQa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=a+452|0;if((c|0)!=(b|0)){d=w[b+11|0];e=d<<24>>24;if(t[a+463|0]>=0){if((e|0)>=0){a=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=a;v[c+8>>2]=v[b+8>>2];return 0}De(c,v[b>>2],v[b+4>>2]);return 0}a=(e|0)<0;mf(c,a?v[b>>2]:b,a?v[b+4>>2]:d)}return 0}function A$a(a){a=a|0;var b=0,c=0,d=0,e=0;if(v[a+588>>2]>=1){b=v[v[a+544>>2]+88>>2];c=v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0;b=v[a+644>>2];while(1){d=w[c|0];t[b+2|0]=d;t[b+1|0]=d;t[b|0]=d;t[b+3|0]=w[c+1|0];b=b+4|0;c=c+2|0;e=e+1|0;if((e|0)>2]){continue}break}}return 0}function fN(a,b){var c=0,d=0,e=0,f=0;c=v[a>>2];if(c){$a(c)}a:{b:{if(!b){break b}d=zb(b);e=Yb(d+1|0,1);if(!e){break a}if((d|0)<1){break b}c=0;while(1){f=w[b+c|0];if(f){t[c+e|0]=f;c=c+1|0;if((d|0)!=(c|0)){continue}break b}break}if((c|0)>=(d|0)){break b}eb(c+e|0,0,d-c|0)}v[a>>2]=e}}function ela(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;v[a>>2]=970168;b=v[a+20>>2];if((b|0)>=1){while(1){c=v[a+24>>2];e=d<<2;f=v[c+e>>2];if(f){$a(f);c=v[a+24>>2];b=v[a+20>>2]}v[c+e>>2]=0;d=d+1|0;if((d|0)<(b|0)){continue}break}}v[a+20>>2]=0;v[a+12>>2]=0;v[a+16>>2]=0;ec(a+28|0);bc(a);$a(a)}function Tqa(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=888192;tb(v[a+180>>2]);b=v[a+320>>2];if((b|0)>=1){while(1){d=v[((c<<2)+a|0)+188>>2];if(d){Qa[v[v[d>>2]+4>>2]](d);b=v[a+320>>2]}c=c+1|0;if((b|0)>(c|0)){continue}break}}v[a>>2]=888092;b=v[a+8>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}return a|0}function Qg(a,b,c){var d=0,e=0;d=v[a+20>>2];e=(d+c>>>2|0)+24576|0;c=c>>>0>e>>>0?e:c;e=d;d=w[b|0];if(e>>>0>=y[((d<<2)+a|0)+1068>>2]){t[b|0]=w[(a+d|0)+2092|0]}v[a+20>>2]=c;if(c>>>0>=32768){pu(a,1-(v[a+32>>2]>>>15|0)|0);v[a+32>>2]=v[a+32>>2]<<1&65534;v[a+20>>2]=v[a+20>>2]<<1&65534}}function L2a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Ma-32|0;Ma=c;d=w[a+16|0];e=v[a+12>>2];v[c+24>>2]=w[a+17|0];v[c+20>>2]=d;v[c+16>>2]=e;vb(b,53881,c+16|0);d=w[a+18|0];e=w[a+19|0];f=w[a+20|0];v[c+12>>2]=w[a+21|0];v[c+8>>2]=f;v[c+4>>2]=e;v[c>>2]=d;vb(b,54845,c);Ma=c+32|0;return 0}function Jy(a){a=a|0;var b=0,c=0;v[a+24>>2]=969432;v[a>>2]=969400;b=v[a+28>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Qa[v[v[b>>2]+4>>2]](b)}v[a+28>>2]=0}v[a+16>>2]=969432;b=v[a+20>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Qa[v[v[b>>2]+4>>2]](b)}v[a+20>>2]=0}db(a+8|0);$a(a)}function JPa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;a:{if(!v[a+16>>2]){break a}f=v[a+20>>2];if(!f){break a}Jj(f,A[b>>3],A[c>>3]);Nk(v[a+20>>2],A[b>>3]+A[d>>3],A[c>>3]);Nk(v[a+20>>2],A[b>>3]+A[d>>3],A[c>>3]+A[e>>3]);Nk(v[a+20>>2],A[b>>3],A[c>>3]+A[e>>3]);WJ(v[a+20>>2])}}function CT(a,b){var c=0,d=0;a:{d=w[a+9|0];if(d>>>0>7){break a}c=v[a+4>>2];a=74464;b:{c:{switch(d-1|0){case 1:a=74720;break b;case 0:break b;case 3:break c;default:break a}}a=74976}if((c|0)<1){break a}c=b+c|0;while(1){t[b|0]=w[w[b|0]+a|0];b=b+1|0;if(c>>>0>b>>>0){continue}break}}}function zsa(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;var l=0,m=0;b=w[b|0];v[d>>2]=b;l=g,m=ql(v[a+1444>>2],b,e,f),v[l>>2]=m;A[h>>3]=A[((b<<3)+a|0)+1464>>3];v[k>>2]=0;v[k+4>>2]=0;v[j>>2]=0;v[j+4>>2]=0;v[i>>2]=0;v[i+4>>2]=0;return 1}function qca(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,h=0,i=0;g=a;h=b;b=Qa[v[v[a+8>>2]+20>>2]](a+8|0)|0;a=b;if(w[b+11|0]>>>7|0){a=v[a>>2]}i=a;if(w[b+11|0]>>>7|0){a=v[b>>2]}else{a=b}if(w[b+11|0]>>>7|0){b=v[b+4>>2]}else{b=w[b+11|0]}return Vm(g,h,c,d,e,f,i,a+b|0)|0}function o3a(a,b){a=a|0;b=b|0;var c=0;a:{if(di(b,a+20|0)){break a}if(di(b,a+24|0)){break a}c=v[a+16>>2]-8|0;v[a+28>>2]=c>>>2;if(c>>>0>131){break a}if(c>>>0<4){return 0}c=0;while(1){if(di(b,((c<<2)+a|0)+32|0)){break a}c=c+1|0;if(c>>>0>2]){continue}break}return 0}return-1}function RI(a,b){var c=0,d=0,e=0,f=0,g=0;c=Ma-16|0;Ma=c;e=v[a>>2];v[c+12>>2]=e;f=ct(c+12|0,b,10);d=v[c+12>>2];a:{if((e|0)==(d|0)){break a}if(!(w[d|0]!=35|b>>>0<=d>>>0)){e=d+1|0;v[c+12>>2]=e;f=ct(c+12|0,b,f);d=v[c+12>>2];if((e|0)==(d|0)){break a}}v[a>>2]=d;g=f}Ma=c+16|0;return g}function I4(a){a=a|0;var b=0,c=0,d=0;if(v[a+588>>2]>=1){b=v[a+540>>2];b=(v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0;c=v[a+636>>2]+v[a+616>>2]|0;while(1){t[b|0]=w[c|0];c=c+1|0;b=v[a+584>>2]+b|0;d=d+1|0;if((d|0)>2]){continue}break}}return 0}function $5(a){a=a|0;var b=0,c=0,d=0,e=0;b=Ma-16|0;Ma=b;e=Hh(a,b+14|0,2);a:{if((e|0)<0){c=-1;break a}d=e;while(1){if((d|0)>=1){c=-1;d=d-1|0;if((nj(a,w[d+(b+14|0)|0])|0)!=-1){continue}break a}break}c=-1;if((e|0)<2){break a}c=0-(w[b+14|0]!=66|w[b+15|0]!=77)|0}Ma=b+16|0;return c|0}function og(a,b){var c=0,d=0;c=v[a+12>>2];a:{if((c|0)!=v[a+8>>2]){d=v[a+4>>2];break a}c=c?c<<1:8;v[a+8>>2]=c;d=yc(v[a+4>>2],c,16);v[a+4>>2]=d;c=v[a+12>>2]}c=(c<<4)+d|0;d=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=d;d=v[b+12>>2];v[c+8>>2]=v[b+8>>2];v[c+12>>2]=d;v[a+12>>2]=v[a+12>>2]+1}function nfa(a,b){a=a|0;b=b|0;var c=0;b=Ma-32|0;Ma=b;c=a+160|0;if(Ki(a,0,262142,c)|Ki(a,0,262142,c)){lb(mb(b+8|0,319186,241993,670,333769));L()}v[a+200>>2]=1;v[a+204>>2]=0;v[a+208>>2]=0;v[a+212>>2]=0;v[a+224>>2]=0;v[a+228>>2]=0;t[a+49|0]=1;v[a+232>>2]=0;v[a+236>>2]=0;Ma=b+32|0}function PZ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=142;e=x[a+152>>1];a:{if(!e){break a}a=v[a+156>>2];e=a+(e<<4)|0;while(1){b:{if(v[a>>2]==(b|0)){g=v[a+12>>2];if(g){break b}}a=a+16|0;if(e>>>0>a>>>0){continue}break a}break}if(d){v[d>>2]=g}f=Mb(c,v[a+8>>2])}return f|0}function qv(a,b,c){var d=0,e=0,f=0;d=w[b|0];if(d){e=b;while(1){f=B(f,17)+(d&255)|0;d=w[e+1|0];e=e+1|0;if(d){continue}break}}d=v[v[a>>2]+((f>>>0)%y[a+4>>2]<<2)>>2];if(d){while(1){if(!hb(v[d>>2],b)){u[c>>1]=x[d+4>>1];return 1}d=v[d+8>>2];if(d){continue}break}}u[c>>1]=0;return 0}function kF(a,b){a=a|0;b=b|0;var c=0,d=0;if((b|0)>=1){while(1){d=b;b=v[a+24>>2];v[a+24>>2]=0;a:{if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=d-1|0;db(a+16|0);a=a+28|0;if((d|0)>1){continue}break}}}function a$(a,b){var c=0;v[b+124>>2]=v[a+400>>2];v[b+136>>2]=v[a+412>>2];v[b+148>>2]=v[a+424>>2];v[b+152>>2]=v[a+428>>2];c=v[a+452>>2];v[b+156>>2]=v[a+448>>2];v[b+160>>2]=c;c=v[a+460>>2];v[b+164>>2]=v[a+456>>2];v[b+168>>2]=c;c=v[a+468>>2];v[b+172>>2]=v[a+464>>2];v[b+176>>2]=c}function _ea(a){a=a|0;var b=0,c=0;v[a>>2]=984112;xd(a+80|0);v[a>>2]=984096;xd(a+48|0);xd(a+24|0);b=v[a+20>>2];v[a+20>>2]=0;a:{if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}db(a+8|0);bc(a);return a|0}function Vv(a,b,c,d){var e=0,f=0,g=0;if(!(v[a+32>>2]|(!b|!a))){e=v[a+8>>2];if(!((e|0)==v[a+24>>2]|e>>>0>2147483646)){v[a+24>>2]=e}g=b;e=v[a+20>>2];f=v[a+4>>2];if((e|0)==(f|0)|f>>>0>2147483646){f=e}else{v[a+20>>2]=f}a=v[a>>2];v[g+20>>2]=f+a;a=a+c|0;v[b+12>>2]=a;v[b+16>>2]=a+d}}function VE(a,b,c){var d=0,e=0;d=Ma-16|0;Ma=d;c=v[c>>2];e=v[c+32>>2];a:{if(e){v[e+4>>2]=v[e+4>>2]+1;v[a>>2]=v[c+32>>2];break a}mo(d,c,1);c=v[d+8>>2];b:{if(c){while(1){VE(a,b,c+8|0);if(v[a>>2]){break b}v[a>>2]=0;c=v[c>>2];if(c){continue}break}}v[a>>2]=0;qb(a,0)}ac(d)}Ma=d+16|0}function Tp(a,b,c){var d=0,e=0;d=Ma-16|0;Ma=d;c=v[c>>2];e=v[c+20>>2];a:{if(e){v[e+4>>2]=v[e+4>>2]+1;v[a>>2]=v[c+20>>2];break a}mo(d,c,1);c=v[d+8>>2];b:{if(c){while(1){Tp(a,b,c+8|0);if(v[a>>2]){break b}v[a>>2]=0;c=v[c>>2];if(c){continue}break}}v[a>>2]=0;qb(a,0)}ac(d)}Ma=d+16|0}function Pc(a,b,c){var d=0;d=Ma-32|0;Ma=d;a:{if(a){if(v[a+172>>2]==-1?v[a+212>>2]:0){break a}v[a+84>>2]=b;v[d+16>>2]=c;nb(0,0,0,a,0,1,b,3,0,0,0,0,237230,d+16|0);v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1;break a}v[d>>2]=c;nb(0,0,0,0,0,1,b,3,0,0,0,0,237230,d)}Ma=d+32|0}function Iu(a,b,c){var d=0,e=0;d=Ma-16|0;Ma=d;c=v[c>>2];e=v[c+12>>2];a:{if(e){v[e+4>>2]=v[e+4>>2]+1;v[a>>2]=v[c+12>>2];break a}mo(d,c,1);c=v[d+8>>2];b:{if(c){while(1){Iu(a,b,c+8|0);if(v[a>>2]){break b}v[a>>2]=0;c=v[c>>2];if(c){continue}break}}v[a>>2]=0;qb(a,0)}ac(d)}Ma=d+16|0}function Ir(a,b,c){var d=0,e=0,f=0;a:{if(b>>>0<1){d=a;break a}while(1){d=z3a(a,b,10,0);e=Pa;f=e;e=x3a(d,e,10,0);c=c-1|0;t[c|0]=a-e|48;e=b>>>0>9;a=d;b=f;if(e){continue}break}}if(d){while(1){c=c-1|0;a=(d>>>0)/10|0;t[c|0]=d-B(a,10)|48;b=d>>>0>9;d=a;if(b){continue}break}}return c}function Hu(a,b,c){var d=0,e=0;d=Ma-16|0;Ma=d;c=v[c>>2];e=v[c+16>>2];a:{if(e){v[e+4>>2]=v[e+4>>2]+1;v[a>>2]=v[c+16>>2];break a}mo(d,c,1);c=v[d+8>>2];b:{if(c){while(1){Hu(a,b,c+8|0);if(v[a>>2]){break b}v[a>>2]=0;c=v[c>>2];if(c){continue}break}}v[a>>2]=0;qb(a,0)}ac(d)}Ma=d+16|0}function Gu(a,b,c){var d=0,e=0;d=Ma-16|0;Ma=d;c=v[c>>2];e=v[c+28>>2];a:{if(e){v[e+4>>2]=v[e+4>>2]+1;v[a>>2]=v[c+28>>2];break a}mo(d,c,1);c=v[d+8>>2];b:{if(c){while(1){Gu(a,b,c+8|0);if(v[a>>2]){break b}v[a>>2]=0;c=v[c>>2];if(c){continue}break}}v[a>>2]=0;qb(a,0)}ac(d)}Ma=d+16|0}function mya(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;if(v[a+76>>2]>=1){i=v[a+412>>2];f=v[a+84>>2];j=c<<2;while(1){c=g<<2;h=c+i|0;Qa[v[h+12>>2]](a,f,v[b+c>>2]+j|0,v[c+d>>2]+(B(v[h+52>>2],e)<<2)|0);f=f+88|0;g=g+1|0;if((g|0)>2]){continue}break}}}function hra(a){a=a|0;var b=0,c=0,d=0,e=0;b=ab(64);c=v[a+8>>2];d=b,e=Qa[v[v[c>>2]+8>>2]](c)|0,v[d+8>>2]=e;v[b>>2]=888072;v[b+4>>2]=2;A[b+16>>3]=A[a+16>>3];A[b+24>>3]=A[a+24>>3];A[b+32>>3]=A[a+32>>3];A[b+40>>3]=A[a+40>>3];A[b+48>>3]=A[a+48>>3];A[b+56>>3]=A[a+56>>3];return b|0}function NQ(a){var b=0,c=0,d=0,e=0;b=Ma-256|0;Ma=b;a:{if(w[a+276|0]&4){c=$H(a+212|0);v[a+276>>2]=v[a+276>>2]&-5;if(!c){break a}d=57020;e=c+6|0;if(e>>>0<=4){d=v[(e<<2)+76692>>2]}Vj(b,1,1,c);KU(b,2,d);c=v[a+236>>2];KU(b,3,c?c:57352);dq(a,b,57719);break a}Db(a,58124)}Ma=b+256|0}function Eea(a,b){a=a|0;b=b|0;var c=0,d=0;if((b|0)>=1){while(1){d=b;db(a+12|0);b=v[a+8>>2];v[a+8>>2]=0;a:{if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=d-1|0;a=a+20|0;if((d|0)>1){continue}break}}}function CNa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Ma-16|0;Ma=e;if(v[a+12>>2]){v[e+12>>2]=1;Qa[v[v[a>>2]+40>>2]](a,e+12|0);v[e+8>>2]=v[b>>2];b=a+16|0;TJ(b,e+8|0,z[c>>2],z[d>>2]);MJ(v[a+12>>2],b);v[e+4>>2]=0;Qa[v[v[a>>2]+40>>2]](a,e+4|0);a=1}else{a=0}Ma=e+16|0;return a|0}function ANa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Ma-16|0;Ma=e;if(v[a+12>>2]){v[e+12>>2]=1;Qa[v[v[a>>2]+40>>2]](a,e+12|0);v[e+8>>2]=v[b>>2];b=a+16|0;TJ(b,e+8|0,z[c>>2],z[d>>2]);W0(v[a+12>>2],b);v[e+4>>2]=0;Qa[v[v[a>>2]+40>>2]](a,e+4|0);a=1}else{a=0}Ma=e+16|0;return a|0}function yz(a,b){var c=0,d=0,e=0,f=0;c=w[b|0];if(c){d=b;while(1){e=B(e,17)+(c&255)|0;c=w[d+1|0];d=d+1|0;if(c){continue}break}}c=v[v[a+12>>2]+((e>>>0)%y[a+4>>2]<<2)>>2];a:{if(!c){break a}while(1){if(Ec(v[c>>2],b)){c=v[c+8>>2];if(c){continue}break a}break}f=v[c+4>>2]}return f}function nca(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;a=Ma-16|0;Ma=a;v[a+8>>2]=b;b=v[d+28>>2];v[a>>2]=b;v[b+4>>2]=v[b+4>>2]+1;g=Yi(a);b=v[a>>2];d=v[b+4>>2]-1|0;v[b+4>>2]=d;if((d|0)==-1){Qa[v[v[b>>2]+8>>2]](b)}uO(f+20|0,a+8|0,c,e,g);Ma=a+16|0;return v[a+8>>2]}function hca(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;a=Ma-16|0;Ma=a;v[a+8>>2]=b;b=v[d+28>>2];v[a>>2]=b;v[b+4>>2]=v[b+4>>2]+1;g=hi(a);b=v[a>>2];d=v[b+4>>2]-1|0;v[b+4>>2]=d;if((d|0)==-1){Qa[v[v[b>>2]+8>>2]](b)}qO(f+20|0,a+8|0,c,e,g);Ma=a+16|0;return v[a+8>>2]}function _2a(a,b){a=a|0;b=b|0;var c=0,d=0;a:{if(wg(b,v[a+20>>2])){break a}if(!v[a+20>>2]){return 0}while(1){d=v[a+24>>2]+B(c,12)|0;if(wg(b,v[d>>2])){break a}if(wg(b,v[d+4>>2])){break a}if(wg(b,v[d+8>>2])){break a}c=c+1|0;if(c>>>0>2]){continue}break}return 0}return-1}function Sqa(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=888192;tb(v[a+180>>2]);b=v[a+320>>2];if((b|0)>=1){while(1){d=v[((c<<2)+a|0)+188>>2];if(d){Qa[v[v[d>>2]+4>>2]](d);b=v[a+320>>2]}c=c+1|0;if((c|0)<(b|0)){continue}break}}v[a>>2]=888092;b=v[a+8>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}$a(a)}function Gk(a){var b=0,c=0,d=0;c=-2;a:{if(!a|!v[a+32>>2]){break a}d=v[a+36>>2];if(!d){break a}b=v[a+28>>2];if(!b|v[b>>2]!=(a|0)|v[b+4>>2]-16180>>>0>31){break a}c=v[b+56>>2];if(c){Qa[d|0](v[a+40>>2],c);d=v[a+36>>2];b=v[a+28>>2]}Qa[d|0](v[a+40>>2],b);c=0;v[a+28>>2]=0}return c}function vFa(a){a=a|0;var b=0,c=0;b=v[a+20>>2];a:{b:{if(w[a+65|0]){a=v[a+12>>2];if((u[a+20>>1]+u[a+56>>1]|0)+1>>>0>y[a+8>>2]){a=Ch(a,0,1);if(a){break a}}c=x[b>>1];a=c<<16>>16;if((a|0)<1){break b}u[(v[b+12>>2]+(c<<1)|0)-2>>1]=x[b+2>>1]-1}a=x[b>>1]}u[b>>1]=a+1;a=0}return a|0}function eq(a,b,c){var d=0,e=0;d=Ma-16|0;Ma=d;v[a+8>>2]=13;v[d>>2]=13;e=a+8|0;v[e+8>>2]=c;v[e>>2]=8;c=ab(20);v[c>>2]=b;v[c+12>>2]=0;v[c+16>>2]=1;v[c+4>>2]=0;v[c+8>>2]=0;v[a>>2]=c;og(c,ee(e,d));v[a+24>>2]=1;v[a+4>>2]=0;b=v[a+16>>2];Qa[v[v[b>>2]+20>>2]](b);Ma=d+16|0;return a}function Z2(a,b,c,d){var e=0,f=0;if(c){v[c>>2]=0}if(d){v[d>>2]=0}if(!a){return}if(c){e=+z[v[a+12>>2]+(b<<2)>>2]+.5;a:{if(D(e)<2147483648){f=~~e;break a}f=-2147483648}v[c>>2]=f}if(d){e=+z[v[a+16>>2]+(b<<2)>>2]+.5;b:{if(D(e)<2147483648){a=~~e;break b}a=-2147483648}v[d>>2]=a}}function lda(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;h=(e-d|0)+b|0;a:{while(1){if((d|0)!=(e|0)){a=-1;if((b|0)==(c|0)){break a}f=t[b|0];g=t[d|0];if((f|0)<(g|0)){break a}if((f|0)>(g|0)){return 1}else{d=d+1|0;b=b+1|0;continue}}break}a=(c|0)!=(h|0)}return a|0}function iV(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=Ma-768|0;Ma=e;d=236;a:{b:{switch(a-1|0){case 0:d=768;break;case 1:break b;default:break a}}if(b){v[e+668>>2]=c;f=Qa[b|0](e,d)|0;if(!f){break a}eb(f,0,d);break a}a=gb(d);if(!a){break a}f=eb(a,0,d)}Ma=e+768|0;return f|0}function Tx(a){var b=0,c=0;c=v[a+16>>2];a:{if((c|0)>=v[a+20>>2]){c=0;b=Ja(v[a>>2],a+32|0,2048)|0;if((b|0)<=0){a=0;if(!b|(b|0)==-44){break a}v[296206]=0-b;return 0}v[a+20>>2]=b}b=a+c|0;v[a+16>>2]=x[b+48>>1]+c;c=v[b+44>>2];v[a+8>>2]=v[b+40>>2];v[a+12>>2]=c;a=b+32|0}return a}function IOa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;a:{e=v[a+444>>2];if(!v[e+48>>2]){if(!(Qa[v[v[a+448>>2]+12>>2]](a,e+8|0)|0)){break a}v[e+48>>2]=1}f=v[a+324>>2];Qa[v[v[a+452>>2]+4>>2]](a,e+8|0,e+52|0,f,b,c,d);if(y[e+52>>2]>>0){break a}v[e+48>>2]=0;v[e+52>>2]=0}}function be(a,b,c,d){var e=0,f=0,g=0;f=v[296802]+1|0;v[296802]=f;v[a>>2]=f;if(d){while(1){g=(e<<3)+c|0;if(!v[g>>2]){v[g>>2]=f;a=(e<<3)+c|0;v[a+4>>2]=b;v[a+8>>2]=0;Q(d|0);return c}e=e+1|0;if((e|0)!=(d|0)){continue}break}}e=a;a=d<<1;b=be(e,b,Wd(c,d<<4|8),a);Q(a|0);return b}function Zea(a){a=a|0;var b=0,c=0;v[a>>2]=984112;xd(a+80|0);v[a>>2]=984096;xd(a+48|0);xd(a+24|0);b=v[a+20>>2];v[a+20>>2]=0;a:{if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}db(a+8|0);bc(a);$a(a)}function MTa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(v[c>>2]!=1145198923){ob(a,2050,0,0);return 2050}v[b+32>>2]=v[c+32>>2];t[b+36|0]=w[c+36|0];d=v[c+40>>2];v[b+40>>2]=d;if(d){d=Qa[v[a+152>>2]](d)|0;v[b+44>>2]=d;if(!d){ob(a,1,0,0);return 1}cb(d,v[c+44>>2],v[b+40>>2])}return 0}function GGa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=v[a+420>>2];if((d|0)>=1){f=v[a+424>>2];g=w[b|0];while(1){a:{e=v[(c<<2)+f>>2];if(w[e|0]!=(g|0)){break a}if(hb(b,e)){break a}return Af(v[v[a+428>>2]+(c<<2)>>2],0,10)|0}c=c+1|0;if((d|0)!=(c|0)){continue}break}}return 0}function _G(a,b){var c=0;c=Ma-32|0;Ma=c;a:{if((b|0)>-1){b:{if(!b){b=0;if(!a){break b}$a(a);break b}c:{if(a){b=Wd(a,b);break c}b=gb(b)}if(!b){break a}}Ma=c+32|0;return b}v[c>>2]=273699;vb(v[249419],340716,c);_(1);L()}v[c+16>>2]=217973;vb(v[249419],340716,c+16|0);_(1);L()}function XD(a){var b=0,c=0;a:{if(y[a+20>>2]<=y[a+28>>2]){break a}Qa[v[a+36>>2]](a,0,0)|0;if(v[a+20>>2]){break a}return-1}b=v[a+4>>2];c=v[a+8>>2];if(b>>>0>>0){b=b-c|0;Qa[v[a+40>>2]](a,b,b>>31,1)|0}v[a+28>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;return 0}function Spa(a,b,c,d,e){a=a|0;b=+b;c=+c;d=d|0;e=e|0;var f=0,g=0;f=A[a+40>>3]+(A[a+8>>3]*b+A[a+24>>3]*c)+.5;a:{if(D(f)<2147483648){g=~~f;break a}g=-2147483648}v[d>>2]=g;b=A[a+48>>3]+(A[a+16>>3]*b+A[a+32>>3]*c)+.5;if(D(b)<2147483648){v[e>>2]=~~b;return}v[e>>2]=-2147483648}function M8(a,b,c){a=a|0;b=b|0;c=c|0;b=v[a+584>>2];c=v[b+396>>2]+1|0;v[b+396>>2]=c;a:{if(!((c>>>0)%y[a+176>>2]|0)){if(!w[b+400|0]){break a}a=b+536|0;c=v[a+4>>2];if(c){Qa[v[c+40>>2]](a)}v[a+20>>2]=0;v[a+4>>2]=0;t[b+393|0]=0;t[b+400|0]=0}return}O(61687,7087,848,87765);L()}function m4(a){var b=0;b=a;a=v[a+528>>2];if(!Nj(b,a,0,0,0,0,0,0,0,1)){v[a+36>>2]=0;v[a+40>>2]=0;t[a+31|0]=1;t[a+32|0]=1;v[a+48>>2]=0;v[a+52>>2]=0;t[a+44|0]=0;v[a+56>>2]=0;v[a+60>>2]=0;b=a- -64|0;v[b>>2]=0;v[b+4>>2]=0;u[a+70>>1]=0;u[a+72>>1]=0;u[a+74>>1]=0;u[a+76>>1]=0}}function h7(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:{d=v[a+584>>2];if(d){e=v[d+48>>2];if(!e){break a}if((b|0)==317){v[d>>2]=x[c>>1];v[a+48>>2]=v[a+48>>2]|4;v[a+12>>2]=v[a+12>>2]|8;return 1}return Qa[e|0](a,b,c)|0}O(16309,6354,620,187932);L()}O(21242,6354,621,187932);L()}function YU(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=927276;b=v[a+8>>2];if(b){while(1){d=v[v[a+12>>2]+(c<<2)>>2];if(d){Qa[v[v[d>>2]+4>>2]](d);b=v[a+8>>2]}c=c+1|0;if(c>>>0>>0){continue}break}}tb(v[a+12>>2]);b=v[a+16>>2];if(b){$a(mc(b))}b=v[a+20>>2];if(b){$a(mc(b))}return a|0}function T6(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;a:{b:{e=v[a+584>>2];if(e){f=v[e+24>>2];if(!f){break b}if(!v[e+12>>2]){break a}Qa[f|0](a,b,c);return Qa[v[e+12>>2]](a,b,c,d)|0}O(16309,6354,555,188005);L()}O(41345,6354,556,188005);L()}O(42291,6354,557,188005);L()}function GL(a,b){var c=0,d=0,e=0,f=0;a:{while(1){d=-1;c=Ci(a);if((c|0)==-1){break a}if((c|0)==32|c-9>>>0<5){continue}break}while(1){e=c-48|0;if(e>>>0<=9){f=B(f,10)+e|0;c=Ci(a);if((c|0)>=0){continue}break a}break}if(!((c|0)==32|c-9>>>0<5)){break a}v[b>>2]=f;d=0}return d}function oga(a){a=a|0;var b=0,c=0,d=0,e=0;c=Ma-16|0;Ma=c;d=1;b=v[a+12>>2];a:{if(!b){break a}a=v[a+8>>2];if(!a){break a}v[c+12>>2]=b;a=a+b|0;while(1){if(!w[b|0]|a>>>0<=b>>>0){break a}Op(c+12|0,a);e=b;b=v[c+12>>2];if((e|0)!=(b|0)){continue}break}d=0}Ma=c+16|0;return d|0}function hfa(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;f=Ma-32|0;Ma=f;g=Ki(a,-262143,262142,a+188|0);a=Ki(a,-262143,262142,a+192|0);a:{c=c+g|0;if(c>>>0<=65535){a=a+d|0;if(a>>>0<65536){break a}}lb(mb(f+8|0,239984,241993,802,328209));L()}Wr(b,a,c,e);Ma=f+32|0}function a2a(a,b){a=a|0;b=b|0;var c=0;if(!v[a+92>>2]){c=gb(12);if(!c){v[a+92>>2]=0;return-1}v[c+8>>2]=0;v[c>>2]=0;v[c+4>>2]=0;v[a+92>>2]=c}c=gb(12);if(!c){return-1}v[c>>2]=w[b+12|0];v[c+8>>2]=v[b+20>>2];v[b+20>>2]=0;v[c+4>>2]=v[b+16>>2];return(D5(v[a+92>>2],c)?-1:0)|0}function XZa(a){a=a|0;var b=0,c=0,d=0,e=0;if(v[a+588>>2]>=1){c=v[a+644>>2];b=c;while(1){d=w[b|0]|w[b+1|0]<<8;t[c|0]=((d<<8|d>>>8)&65535)>>>8;d=w[b+2|0]|w[b+3|0]<<8;t[c+1|0]=((d<<8|d>>>8)&65535)>>>8;b=b+4|0;c=c+2|0;e=e+1|0;if((e|0)>2]){continue}break}}return 0}function Ly(a,b){var c=0,d=0,e=0;c=Ma-16|0;Ma=c;d=En(c+8|0,A[b>>3],A[b+8>>3],A[b+16>>3],A[b+24>>3],A[b+32>>3],A[b+40>>3]);Mk(a,d,0);b=ab(12);v[b>>2]=0;Dm(b+8|0,a);v[b+4>>2]=a+4;e=v[a+4>>2];v[b>>2]=e;v[e+4>>2]=b;v[a+4>>2]=b;v[a+12>>2]=v[a+12>>2]+1;DF(a);me(d);Ma=c+16|0}function He(a,b,c,d){var e=0;e=Ma-32|0;Ma=e;a:{if(a){if(v[a+172>>2]==-1?v[a+212>>2]:0){break a}v[a+84>>2]=b;v[e+16>>2]=d;nb(0,0,0,a,0,1,b,3,d,0,0,0,c,e+16|0);v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1;break a}v[e>>2]=d;nb(0,0,0,0,0,1,b,3,d,0,0,0,c,e)}Ma=e+32|0}function Hb(a,b,c){var d=0;a:{b:{c:{d:{d=v[a>>2];if(d){a=0;if(!c){break a}d=v[d+12>>2];if(!d|!w[d|0]){break c}a=1;if(!b|!w[b|0]){break a}if((c|0)<1){break d}return Kb(d,b,c)}a=0;if(!c){break a}if(b){break b}break a}return hb(d,b)}if(!b){break a}}a=w[b|0]?-1:0}return a}function Gma(a){a=a|0;var b=0,c=0,d=0,e=0;v[a>>2]=960728;c=v[a+4>>2];if(c){iI(c);d=v[c+8>>2];if(d){b=v[c+12>>2];if((d|0)==(b|0)){b=d}else{while(1){e=b-20|0;if(t[b-9|0]<=-1){$a(v[e>>2])}b=e;if((d|0)!=(b|0)){continue}break}b=v[c+8>>2]}v[c+12>>2]=d;$a(b)}$a(c)}return a|0}function Bk(a,b,c,d){var e=0;e=Ma-32|0;Ma=e;a:{if(a){if(v[a+172>>2]==-1?v[a+212>>2]:0){break a}v[a+84>>2]=b;v[e+16>>2]=d;nb(0,0,0,a,0,1,b,3,0,0,0,d,c,e+16|0);v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1;break a}v[e>>2]=d;nb(0,0,0,0,0,1,b,3,0,0,0,d,c,e)}Ma=e+32|0}function nDa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=v[a+516>>2];e=b;a:{b:{if(c){c=Qa[d|0](a,1986553185,b,0)|0;if(c){break a}a=a+296|0;break b}c=Qa[d|0](a,1751672161,b,0)|0;if(c){break a}a=a+216|0}c=Dd(e,519648,a);if(c){break a}v[a+36>>2]=0;v[a+40>>2]=0;c=0}return c|0}function n$a(a){a=a|0;var b=0,c=0,d=0;if(v[a+588>>2]>=1){b=v[a+540>>2];b=v[b+1176>>2]+B(v[b+1168>>2],v[a+2552>>2])|0;c=v[a+2516>>2];while(1){t[b|0]=w[c|0];t[b+1|0]=w[c+1|0];t[b+2|0]=w[c+2|0];c=c+3|0;b=b+4|0;d=d+1|0;if((d|0)>2]){continue}break}}return fC(a)|0}function kd(a){var b=0,c=0;b=v[a+12>>2];if((b|0)==v[a+8>>2]){a=v[a+4>>2];if(!(!a|v[a>>2])){v[a>>2]=161}return 0}c=a;a=b-8|0;v[c+12>>2]=a;a:{switch(v[a+4>>2]-1|0){case 1:return v[a>>2]<<16;case 0:a=v[a>>2];return((a>>31)+a|0)- -8192>>14;default:break a}}return v[a>>2]}function jQa(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,j=0,k=0,l=0;h=1;a:{if(!v[a+16>>2]){break a}a=v[a+20>>2];if(!a){break a}i=A[d>>3];j=A[e>>3];k=A[f>>3];l=A[g>>3];a=v[a+4>>2];Td(a,A[b>>3],A[c>>3],4);Td(a,i,j,4);Td(a,k,l,4);h=0}return h|0}function gsa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=v[b>>2];a=(a|0)<65536?a:65536;v[c>>2]=(a|0)>0?a:0;a=v[b+4>>2];a=(a|0)<65536?a:65536;v[c+4>>2]=(a|0)>0?a:0;a=v[b+8>>2];a=(a|0)<65536?a:65536;v[c+8>>2]=(a|0)>0?a:0;a=v[b+12>>2];a=(a|0)<65536?a:65536;v[c+12>>2]=(a|0)>0?a:0}function goa(a){a=a|0;var b=0,c=0,d=0;d=v[a+8>>2];b=ab(34120);c=v[a+4>>2];c=Qa[v[v[c>>2]+8>>2]](c)|0;if(d){a=v[a+8>>2];vU(b,c,v[a+4>>2],v[a+8>>2],v[a+12>>2],v[a+16>>2]);return b|0}v[b+34076>>2]=0;v[b+34068>>2]=0;v[b>>2]=958512;v[b+4>>2]=c;eb(b+8|0,0,32772);return b|0}function au(a,b,c){var d=0,e=0,f=0,g=0;d=Ma-16|0;Ma=d;e=d+8|0;b=v[b+28>>2];v[e>>2]=b;v[b+4>>2]=v[b+4>>2]+1;b=Br(e);f=c,g=Qa[v[v[b>>2]+16>>2]](b)|0,v[f>>2]=g;Qa[v[v[b>>2]+20>>2]](a,b);a=v[e>>2];b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Qa[v[v[a>>2]+8>>2]](a)}Ma=d+16|0}function vq(a,b,c){var d=0;d=Ma-32|0;Ma=d;a:{if(a){if(v[a+172>>2]==-1?v[a+212>>2]:0){break a}v[a+84>>2]=1;v[d+16>>2]=c;nb(0,0,0,a,0,1,1,3,c,0,0,0,b,d+16|0);v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1;break a}v[d>>2]=c;nb(0,0,0,0,0,1,1,3,c,0,0,0,b,d)}Ma=d+32|0}function hu(a,b,c){var d=0,e=0,f=0;d=a*a;f=d*(d*d)*(d*1.58969099521155e-10+-2.5050760253406863e-8)+(d*(d*27557313707070068e-22+-.0001984126982985795)+.00833333333332249);e=d*a;if(!c){return e*(d*f+-.16666666666666632)+a}return a-(d*(b*.5-e*f)-b+e*.16666666666666632)}function cu(a,b,c){var d=0,e=0,f=0,g=0;d=Ma-16|0;Ma=d;e=d+8|0;b=v[b+28>>2];v[e>>2]=b;v[b+4>>2]=v[b+4>>2]+1;b=Dr(e);f=c,g=Qa[v[v[b>>2]+16>>2]](b)|0,t[f|0]=g;Qa[v[v[b>>2]+20>>2]](a,b);a=v[e>>2];b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Qa[v[v[a>>2]+8>>2]](a)}Ma=d+16|0}function bA(a,b,c){var d=0;d=Ma-32|0;Ma=d;a:{if(a){if(v[a+172>>2]==-1?v[a+212>>2]:0){break a}v[a+84>>2]=9;v[d+16>>2]=c;nb(0,0,0,a,0,1,9,3,0,0,0,c,b,d+16|0);v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1;break a}v[d>>2]=c;nb(0,0,0,0,0,1,9,3,0,0,0,c,b,d)}Ma=d+32|0}function EBa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;if(!(e>>>0>2|(e|w[a|0]!=105?a:0))){v[f>>2]=0;a=v[b+4>>2];a:{b:{if(!(w[a+62|0]!=1|!w[a+66|0])){if(v[f>>2]>0){break a}c=836316;break b}if(v[f>>2]>0){break a}c=836318}nI(a,c,1,b+16|0,v[b+20>>2],b+24|0,0,f)}}}function z5(a,b,c,d,e,f,g,h){var i=0,j=0,k=0;a:{b:{if((e|0)<1|(f|0)<1){break b}i=-1;if(Qa[v[v[a+4>>2]>>2]](b,c,d,e,f,g)|0){break a}if((h|0)<1){break b}j=a;k=b;a=c+1|0;b=a>>1;c=d+1|0;d=c>>1;i=-1;if(z5(j,k,b,d,(a+e>>1)-b|0,(c+f>>1)-d|0,g,h-1|0)){break a}}i=0}return i}function ht(a){var b=0,c=0,d=0;a:{if(!a){break a}b=t[a|0];d=b&255;if(!d|!(w[(d>>>3|0)+425600|0]>>>(b&7)&1)){break a}while(1){if(c>>>0>429496727){return-1}c=w[b+425632|0]+B(c,10)|0;b=t[a+1|0];a=a+1|0;if(w[((b&248)>>>3|0)+425600|0]>>>(b&7)&1){continue}break}}return c}function fDa(a,b){a=a|0;b=b|0;var c=0;if(y[b+160>>2]>>0){$c(b,8)}c=w[a+3|0]|w[a+2|0]<<8;if(!(c>>>0>=262&y[b+160>>2]>=a+c>>>0)){$c(b,8)}if(v[b+164>>2]){a=a+6|0;c=0;while(1){if(y[b+172>>2]<=w[a|0]){$c(b,16)}a=a+1|0;c=c+1|0;if((c|0)!=256){continue}break}}return 0}function WGa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=v[a+88>>2];if(b){v[b>>2]=v[a+300>>2]}if(c){v[c>>2]=v[a+304>>2]}a:{if(!f){b=65536;a=65536;break a}b=Ub(x[f+12>>1]<<6,v[a+304>>2]);a=Ub(x[f+14>>1]<<6,v[a+304>>2])}if(d){v[d>>2]=b}if(e){v[e>>2]=a}return 0}function Or(a,b,c){var d=0;v[a+24>>2]=0;v[a+8>>2]=c;v[a+4>>2]=b;v[a>>2]=0;c=c+31&-32;v[a+16>>2]=c;b=b+31&-32;v[a+12>>2]=b;c=B(b,c);b=(c|0)/1024|0;v[a+20>>2]=b;d=b<<4;b=ab((b|0)!=(b&268435455)?-1:d);if((c|1023)>>>0>=2047){eb(b,0,d)}v[a+28>>2]=4080;v[a>>2]=b;return a}function Oja(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;c=Ma-16|0;Ma=c;fS(c+8|0,b,d);b=v[c+8>>2];v[a>>2]=0;qb(a,b);a=v[c+8>>2];v[c+8>>2]=0;a:{if(!a){break a}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break a}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=c+16|0}function jE(a){a=a|0;var b=0;v[a>>2]=983864;b=v[a+44>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}b=v[a+48>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}b=v[a+52>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}v[a+52>>2]=0;v[a+44>>2]=0;v[a+48>>2]=0;v[a+32>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;ru(a);return a|0}function Wea(a,b){a=a|0;b=b|0;var c=0,d=0;if((b|0)>=1){while(1){d=b;b=v[a+4>>2];v[a+4>>2]=0;a:{if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=d-1|0;a=a+12|0;if((d|0)>1){continue}break}}}function TX(a){var b=0,c=0,d=0,e=0;if(a){b=v[a>>2];c=v[b>>2];if((c|0)!=(b|0)){while(1){d=v[a+4>>2];e=v[c+4>>2];b=v[c>>2];v[e>>2]=b;v[v[c>>2]+4>>2]=e;if(d){Qa[d|0](c)}Qa[v[256556]](c);c=b;b=v[a>>2];if((c|0)!=(b|0)){continue}break}}Qa[v[256556]](b);Qa[v[256556]](a)}}function MOa(a){a=a|0;var b=0,c=0,d=0,e=0;v[a>>2]=359592;b=v[a+2916>>2];if(b){c=v[a+2920>>2];if((c|0)==(b|0)){d=b}else{while(1){d=c-12|0;e=v[d>>2];if(e){v[c-8>>2]=e;$a(e)}c=d;if((c|0)!=(b|0)){continue}break}d=v[a+2916>>2]}v[a+2920>>2]=b;$a(d)}Wf(a+88|0);return a|0}function LC(a,b){var c=0,d=0,e=0;a:{e=v[b+964>>2];if(!e){break a}c=v[a+16>>2];if((c|0)!=v[b+16>>2]){break a}d=v[a+20>>2];if((d|0)!=v[b+20>>2]){break a}d=B(c,d);c=v[a+964>>2];if(!c){c=gb(d);v[a+964>>2]=c;if(!c){break a}e=v[b+964>>2]}cb(c,e,d);t[a+388|0]=w[b+388|0]}}function KB(a,b){var c=0,d=0;c=Ma-16|0;Ma=c;a:{if(!b|!a){break a}b:{if((a|0)==(b|0)){break b}d=v[a+36>>2];v[c+8>>2]=d;if(d){Gn(c+8|0);v[a+36>>2]=0}b=v[b+36>>2];if(!b){break b}b=tK(b);if(!b){break a}d=v[a+36>>2];v[c+12>>2]=d;if(d){Gn(c+12|0)}v[a+36>>2]=b}}Ma=c+16|0}function Gka(a,b){a=a|0;b=b|0;var c=0,d=0;if((b|0)>=1){while(1){d=b;b=v[a+8>>2];v[a+8>>2]=0;a:{if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=d-1|0;a=a+12|0;if((d|0)>1){continue}break}}}function wta(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;b=v[a+28>>2];d=A[b+624>>3]-A[b+576>>3];A[b+624>>3]=d;e=A[b+616>>3];A[b+600>>3]=A[b+536>>3]+(e*A[b+504>>3]+d*A[b+520>>3]);A[b+608>>3]=A[b+544>>3]+(e*A[b+512>>3]+d*A[b+528>>3]);a=v[a+8>>2];Qa[v[v[a>>2]+184>>2]](a,b)}function vIa(a,b){a=a|0;b=b|0;var c=0,d=0;d=v[a>>2];c=v[d+552>>2];a:{d=tg(v[v[d+96>>2]+4>>2],239159);if(!(!d|!c)){c=v[c>>2];if(c){break a}}Oq(v[a>>2],b);return 0}c=Qa[c|0](d)|0;Oq(v[a>>2],b);if(c){Qa[v[c+4>>2]](v[v[a+40>>2]>>2],v[a+16>>2],v[a+20>>2],0,0)}return 0}function np(a){var b=0,c=0,d=0,e=0;b=gb(160);if(!b){return 0}c=eb(b,0,160);v[c+12>>2]=0;v[c+8>>2]=a;d=1020080;a:{if(!v[254861]){break a}b=1019440;while(1){if(v[b>>2]==(a|0)){d=b;break a}e=b;b=b+32|0;if(v[e+36>>2]){continue}break}}v[c+4>>2]=d;v[c>>2]=d+12;return c}function nG(a,b,c){var d=0,e=0,f=0;b=v[(b<<2)+927440>>2];if(!(!c|(b|0)!=v[c+4>>2])){d=v[a+80>>2];if((b|0)==v[d+4>>2]){aV(d,c);return}$a(mc(d));e=a,f=mz(c),v[e+80>>2]=f;return}c=v[a+80>>2];if((b|0)==v[c+4>>2]){Th(c);return}$a(mc(c));c=ab(8);Sg(c,1<>2]=c}function iz(a,b,c){var d=0,e=0,f=0;b=v[(b<<2)+927456>>2];if(!(!c|(b|0)!=v[c+4>>2])){d=v[a+84>>2];if((b|0)==v[d+4>>2]){aV(d,c);return}$a(mc(d));e=a,f=mz(c),v[e+84>>2]=f;return}c=v[a+84>>2];if((b|0)==v[c+4>>2]){Th(c);return}$a(mc(c));c=ab(8);Sg(c,1<>2]=c}function fra(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=888112;b=v[a+392>>2];if((b|0)>=1){while(1){d=v[((c<<2)+a|0)+264>>2];if(d){Qa[v[v[d>>2]+4>>2]](d);b=v[a+392>>2]}c=c+1|0;if((b|0)>(c|0)){continue}break}}v[a>>2]=888092;b=v[a+8>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}return a|0}function bra(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=888132;b=v[a+360>>2];if((b|0)>=1){while(1){d=v[((c<<2)+a|0)+232>>2];if(d){Qa[v[v[d>>2]+4>>2]](d);b=v[a+360>>2]}c=c+1|0;if((b|0)>(c|0)){continue}break}}v[a>>2]=888092;b=v[a+8>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}return a|0}function bZ(a,b){var c=0,d=0,e=0,f=0,g=0;e=65534;c=v[a+4>>2];a:{if(!c){break a}f=v[a+20>>2];a=0;if((c|0)!=1){while(1){d=a+c>>>1|0;g=y[(d<<3)+f>>2]>b>>>0;a=g?a:d;c=g?d:c;if(a>>>0>>0){continue}break}}a=(a<<3)+f|0;if(v[a>>2]!=(b|0)){break a}e=v[a+4>>2]}return e}function _qa(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=888152;b=v[a+376>>2];if((b|0)>=1){while(1){d=v[((c<<2)+a|0)+248>>2];if(d){Qa[v[v[d>>2]+4>>2]](d);b=v[a+376>>2]}c=c+1|0;if((b|0)>(c|0)){continue}break}}v[a>>2]=888092;b=v[a+8>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}return a|0}function Yt(){var a=0,b=0,c=0,d=0;if(v[279529]>=1){while(1){b=B(d,28);a=b+1118132|0;c=v[a>>2];if(c){$a(c);v[a>>2]=0}a=b+1118136|0;c=v[a>>2];if(c){$a(c);v[a>>2]=0}b=b+1118140|0;a=v[b>>2];if(a){$a(a);v[b>>2]=0}d=d+1|0;if((d|0)>2];v[a+32>>2]=b;d=v[a+20>>2];v[a+36>>2]=d;c=v[a+8>>2];e=c+v[a>>2]|0;v[a+8>>2]=e>>1;b=b+c|0;v[a+24>>2]=b>>1;v[a+16>>2]=b+e>>2;b=v[a+12>>2];c=b+v[a+4>>2]|0;v[a+12>>2]=c>>1;b=b+d|0;v[a+28>>2]=b>>1;v[a+20>>2]=b+c>>2}function PL(a,b,c,d,e,f){var g=0,h=0;g=Ma-16|0;Ma=g;v[g+12>>2]=f;h=v[a>>2];a:{if((h|0)>=1){x5(a,b,c,b,c,d,e,g+12|0,h);break a}v[f+32>>2]=e;v[f+28>>2]=d;v[f+24>>2]=c;v[f+20>>2]=b;v[f+12>>2]=e;v[f+8>>2]=d;v[f+4>>2]=c;v[f>>2]=b;v[f+36>>2]=8192;v[f+16>>2]=0}Ma=g+16|0}function Fma(a){a=a|0;var b=0,c=0,d=0,e=0;v[a>>2]=960728;c=v[a+4>>2];if(c){iI(c);d=v[c+8>>2];if(d){b=v[c+12>>2];if((d|0)==(b|0)){b=d}else{while(1){e=b-20|0;if(t[b-9|0]<=-1){$a(v[e>>2])}b=e;if((d|0)!=(b|0)){continue}break}b=v[c+8>>2]}v[c+12>>2]=d;$a(b)}$a(c)}$a(a)}function nr(a,b,c){var d=0,e=0,f=0,g=0;a:{g=v[a+20>>2];if(!g){break a}e=v[a+24>>2];if(!e){break a}f=a;d=+C(C(e>>>0)*c)+.5;b:{if(d<4294967296&d>=0){e=~~d>>>0;break b}e=0}v[f+24>>2]=e;d=+C(C(g>>>0)*b)+.5;c:{if(d<4294967296&d>=0){f=~~d>>>0;break c}f=0}v[a+20>>2]=f}}function n7(a){a=a|0;var b=0,c=0;b=v[a+584>>2];if(b){zM(a);v[a+672>>2]=v[b+128>>2];v[a+668>>2]=v[b+132>>2];c=v[b+124>>2];a:{b:{if(c&2){nn(b- -64|0);break b}if(!(c&1)){break a}Gk(b- -64|0)}v[b+124>>2]=0}$a(b);v[a+584>>2]=0;xp(a);return}O(35181,6646,278,88491);L()}function em(a,b,c){var d=0,e=0,f=0;e=Ma-32|0;Ma=e;a:{b:{if(!c){break b}while(1){d=Qa[v[v[a>>2]+8>>2]](a,b,c)|0;if((d|0)<=-1){break a}f=d+f|0;if(!d){break b}b=b+d|0;c=c-d|0;if(c){continue}break}}Ma=e+32|0;return f}lb(mb(e+8|0,fl(v[296206]),241689,413,329475));L()}function Sl(a,b,c){var d=0,e=0,f=0;a:{b:{if(c>>>0<=10){d=a;t[d+11|0]=c;break b}if(c>>>0>4294967279){break a}f=a;if(c>>>0>=11){d=c+16&-16;e=d-1|0;d=(e|0)==11?d:e}else{d=10}e=d+1|0;d=ab(e);v[f>>2]=d;v[a+8>>2]=e|-2147483648;v[a+4>>2]=c}sk(d,b,c+1|0);return}sc();L()}function QE(a){var b=0,c=0;a:{if(!v[291416]){break a}b=v[291418];c=ab(8);v[c>>2]=a;v[(b?b+4|0:1165672)>>2]=c;v[(b?1165672:1165668)>>2]=c;v[c+4>>2]=0;b=v[291419];v[291419]=b+1;if((b|0)<127){break a}b=v[291417];v[291417]=v[b+4>>2];$a(b);v[291419]=v[291419]-1}$a(a)}function u9(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;if((c|0)>=1){a=v[a+12>>2];while(1){e=x[a>>1];f=e&32767;if(f){d=Lp((+(f|0)+.5)*.0027076061740622863+-44.3614195558365);d=e&32768?-d:d}else{d=0}a=a+2|0;z[b>>2]=d;b=b+4|0;e=(c|0)>1;c=c-1|0;if(e){continue}break}}}function sBa(){var a=0;a=v[290974];if(!(!a|!w[a|0])){Nd(a)}v[290975]=0;v[290974]=0;a=v[290977];if(a){if(w[a+8|0]){Nd(v[a>>2])}NY(a)}v[290972]=0;v[290977]=0;a=v[290980];if(a){if(w[a+8|0]){Nd(v[a>>2])}NY(a)}v[290980]=0;a=v[290978];if(a){Nd(a);v[290978]=0}return 1}function _b(a){var b=0,c=0,d=0;d=Ma-16|0;Ma=d;a:{if(!a){break a}c=v[a>>2];if(!c){break a}b=v[c+16>>2]-1|0;v[c+16>>2]=b;if((b|0)<=0){b=v[c+40>>2];if(b){Qa[v[256542]](b)}b=v[c+32>>2];if(b){$a(b)}b=v[c+36>>2];v[d+12>>2]=b;if(b){Gn(d+12|0)}$a(c)}v[a>>2]=0}Ma=d+16|0}function Xe(a,b){var c=0,d=0;a:{if(!w[a+8|0]){break a}c=v[a>>2];if(!c){break a}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break a}$a(c)}v[a>>2]=0;v[a+4>>2]=0;t[a+8|0]=0;v[a+4>>2]=v[b+4>>2];c=w[b+8|0];t[a+8|0]=c;d=a;a=v[b>>2];v[d>>2]=a;if(!(!c|!a)){v[a+4>>2]=v[a+4>>2]+1}}function Tna(a){a=a|0;var b=0,c=0,d=0,e=0;c=v[a+8>>2];e=v[c>>2];if(v[a+12>>2]>=2){b=1;while(1){d=(b<<2)+c|0;v[d-4>>2]=v[d>>2];b=b+1|0;if((b|0)>2]){continue}break}}b=v[a+4>>2];b=Qa[v[v[b>>2]+28>>2]](b)|0;v[(v[a+8>>2]+(v[a+12>>2]<<2)|0)-4>>2]=b;return e|0}function CL(a,b,c){var d=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a>>2]=189728;v[a+12>>2]=0;v[a+16>>2]=0;a:{d=f5();if(d){if(c?b:0){break a}$a(d)}v[a+4>>2]=0;return a}v[d+20>>2]=b;v[d+12>>2]=b;v[d+8>>2]=c;v[d+4>>2]=b;v[d>>2]=1;v[d+16>>2]=b+c;v[a+16>>2]=c;v[a+4>>2]=d;return a}function tJa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=u[a+302>>1];if(e){f=c<<3;g=v[f+v[b+12>>2]>>2];e=fc(d,e,v[a+568>>2]);v[f+v[b+12>>2]>>2]=e+g}e=u[a+304>>1];if(e){c=c<<3;f=v[(c+v[b+12>>2]|0)+4>>2];a=fc(d,e,v[a+568>>2]);v[(c+v[b+12>>2]|0)+4>>2]=a+f}}function s4(a){var b=0,c=0;c=v[a+408>>2];b=v[c>>2];v[a+408>>2]=b;if(!b){v[a+412>>2]=0}a:{b:{if(!w[c+12|0]){break b}b=v[a+160>>2];if(!b){break b}Qa[b|0](a,v[c+4>>2],v[c+8>>2]);break a}b=v[c+4>>2];if(!b){break a}Qa[v[a+156>>2]](b,v[c+8>>2])}Qa[v[a+156>>2]](c,24)}function pOa(a){a=a|0;var b=0,c=0,d=0,e=0;v[a>>2]=359944;b=v[a+248>>2];if(b){c=v[a+252>>2];if((c|0)==(b|0)){d=b}else{while(1){d=c-12|0;e=v[d>>2];if(e){v[c-8>>2]=e;$a(e)}c=d;if((c|0)!=(b|0)){continue}break}d=v[a+248>>2]}v[a+252>>2]=b;$a(d)}Wf(a+92|0);return a|0}function hB(a,b,c,d){var e=0,f=0;if(!(!a|!c)){e=v[a>>2];a:{if(!e){break a}if(!b){while(1){b=v[e+4>>2];Qa[v[c+8>>2]](c,e);e=b;if(e){continue}break a}}while(1){f=v[e+4>>2];Qa[b|0](c,v[e+8>>2],d);Qa[v[c+8>>2]](c,e);e=f;if(e){continue}break}}v[a>>2]=0;v[a+4>>2]=0}}function fOa(a){a=a|0;var b=0,c=0,d=0;b=ab(40);c=v[a+8>>2];v[b+16>>2]=v[a+16>>2];v[b>>2]=360140;v[b+4>>2]=2;d=_h(b+20|0);v[b+32>>2]=-16777216;v[b+24>>2]=0;v[b+28>>2]=-16777216;t[b+36|0]=255;v[b+12>>2]=0;v[b+8>>2]=c;Dl(d,a+20|0);v[b+24>>2]=v[a+24>>2];return b|0}function Oy(a,b){var c=0,d=0,e=0,f=0;c=Ma-48|0;Ma=c;d=c+32|0;v[d>>2]=0;v[d+4>>2]=0;t[d+8|0]=0;e=rg(a);if(qe(a,e)){while(1){Xc(c,a);f=qd(c+16|0,c);Xe(d,f);Qb(f);if(t[c+11|0]<=-1){$a(v[c>>2])}if(nc(d,967716)){IT(a,b,0)}if(qe(a,e)){continue}break}}Qb(d);Ma=c+48|0}function Eh(a,b,c){var d=0,e=0;d=v[a+24812>>2];e=d+12|0;v[a+24812>>2]=e;if(v[b>>2]>(c|0)){while(1){v[d>>2]=e;c=c+1|0;b=Eh(a,b,c);v[d+4>>2]=v[a+24812>>2];d=v[a+24812>>2];e=d+12|0;v[a+24812>>2]=e;if(v[b>>2]>(c|0)){continue}break}}v[d+8>>2]=v[b+4>>2];return b+8|0}function Dfa(a){a=a|0;var b=0;v[a>>2]=983864;b=v[a+44>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}b=v[a+48>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}b=v[a+52>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}v[a+52>>2]=0;v[a+44>>2]=0;v[a+48>>2]=0;v[a+32>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;ru(a);$a(a)}function tka(a,b){a=a|0;b=b|0;var c=0,d=0;if((b|0)>=1){while(1){d=b;b=v[a>>2];v[a>>2]=0;a:{if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}b=d-1|0;a=a+4|0;if((d|0)>1){continue}break}}}function kaa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;if(qj(a,v[b+8>>2],0)){aD(b,c,d);return}e=v[a+12>>2];f=a+16|0;kN(f,b,c,d);a:{if((e|0)<2){break a}e=(e<<3)+f|0;a=a+24|0;while(1){kN(a,b,c,d);if(w[b+54|0]){break a}a=a+8|0;if(e>>>0>a>>>0){continue}break}}}function fJa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=v[((c<<2)+a|0)+268>>2];c=v[a+484>>2];e=v[a+488>>2];if((b|0)>=0){b=((b+d|0)+e|0)-c|0;a=c+(b-((b|0)%v[a+480>>2]|0)|0)|0;return((a|0)<0?c:a)|0}b=d+e-(b+c)|0;a=(b|0)%v[a+480>>2]-(b+c)|0;return((a|0)>0?0-c|0:a)|0}function _Wa(a){a=a|0;var b=0,c=0,d=0;b=v[a+644>>2];d=v[a+636>>2];v[a+644>>2]=d;v[a+636>>2]=b;c=v[a+588>>2];if((c|0)>=1){b=(b+(c<<3)|0)-8|0;c=0;while(1){v[d>>2]=v[b>>2];v[d+4>>2]=v[b+4>>2];b=b-8|0;d=d+8|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function QMa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=v[v[b+180>>2]+24>>2];c=zb(d);if(c>>>0<4294967280){a:{b:{if(c>>>0>=11){e=c+16&-16;b=ab(e);v[a+8>>2]=e|-2147483648;v[a>>2]=b;v[a+4>>2]=c;a=b;break b}t[a+11|0]=c;if(!c){break a}}cb(a,d,c)}t[a+c|0]=0;return}sc();L()}function PS(a,b){a=a|0;b=b|0;var c=0;if((b|0)>=1){while(1){v[a+16>>2]=0;c=v[279250];v[a+24>>2]=0;v[a+28>>2]=0;v[a+20>>2]=c;v[a+32>>2]=0;v[a+36>>2]=0;c=a+24|0;v[c>>2]=970612;v[c+4>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;a=a+40|0;c=(b|0)>1;b=b-1|0;if(c){continue}break}}}function KGa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;b=v[a>>2];c=v[b+408>>2];v[a+16>>2]=c;d=v[b+416>>2];v[a+20>>2]=d;a:{if(c>>>0<2){break a}b=v[d>>2];a=1;while(1){e=b;b=v[(a<<4)+d>>2];if(e>>>0>>0){a=a+1|0;if((c|0)!=(a|0)){continue}break a}break}f=8}return f|0}function HOa(a){a=a|0;var b=0,c=0,d=0,e=0;v[a>>2]=359592;b=v[a+2916>>2];if(b){c=v[a+2920>>2];if((c|0)==(b|0)){d=b}else{while(1){d=c-12|0;e=v[d>>2];if(e){v[c-8>>2]=e;$a(e)}c=d;if((c|0)!=(b|0)){continue}break}d=v[a+2916>>2]}v[a+2920>>2]=b;$a(d)}Wf(a+88|0);$a(a)}function qq(a,b){var c=0,d=0;c=v[a+24>>2];if((c|0)>=1){b=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);d=v[a+20>>2];a=0;while(1){if((b|0)==v[B(a,20)+d>>2]){return a}a=a+1|0;if((c|0)!=(a|0)){continue}break}}return-1}function qka(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{if((c|0)<1){break a}c=c-1|0;if(!d){while(1){a=ES(a,b)+32|0;d=(c|0)>0;c=c-1|0;b=b+32|0;if(d){continue}break a}}while(1){a=ES(a,b);db(b+24|0);db(b+16|0);b=b+32|0;a=a+32|0;d=(c|0)>0;c=c-1|0;if(d){continue}break}}}function i_a(a){a=a|0;var b=0,c=0,d=0,e=0;b=v[a+588>>2];if((b|0)>=1){c=v[a+644>>2];b=b-1|0;d=c+(b<<1)|0;b=c+(b<<2)|0;c=0;while(1){t[b+3|0]=0;e=w[d+1|0];t[b+1|0]=0;t[b+2|0]=e;t[b|0]=w[d|0];b=b-4|0;d=d-2|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function g0(a,b,c,d,e){var f=0,g=0;f=6;a:{g=e;if((b|0)<0|(c|0)<0){a=f}else{if(!c){if(!d){break a}Qa[v[a+8>>2]](a,d);break a}if(!b){a=Qa[v[a+4>>2]](a,c)|0;v[e>>2]=!a<<6;return a}a=Qa[v[a+12>>2]](a,b,c,d)|0;d=a?a:d;a=!a<<6}v[g>>2]=a;return d}v[e>>2]=0;return 0}function era(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=888112;b=v[a+392>>2];if((b|0)>=1){while(1){d=v[((c<<2)+a|0)+264>>2];if(d){Qa[v[v[d>>2]+4>>2]](d);b=v[a+392>>2]}c=c+1|0;if((c|0)<(b|0)){continue}break}}v[a>>2]=888092;b=v[a+8>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}$a(a)}function dsa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=Ma-16|0;Ma=e;Qa[v[v[a>>2]+20>>2]](a,b,e,d);f=+v[e>>2]*.299+ +v[e+4>>2]*.587+ +v[e+8>>2]*.114+.5;a:{if(D(f)<2147483648){a=~~f;break a}a=-2147483648}a=(a|0)<65536?a:65536;v[c>>2]=(a|0)>0?a:0;Ma=e+16|0}function ara(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=888132;b=v[a+360>>2];if((b|0)>=1){while(1){d=v[((c<<2)+a|0)+232>>2];if(d){Qa[v[v[d>>2]+4>>2]](d);b=v[a+360>>2]}c=c+1|0;if((c|0)<(b|0)){continue}break}}v[a>>2]=888092;b=v[a+8>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}$a(a)}function Zqa(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=888152;b=v[a+376>>2];if((b|0)>=1){while(1){d=v[((c<<2)+a|0)+248>>2];if(d){Qa[v[v[d>>2]+4>>2]](d);b=v[a+376>>2]}c=c+1|0;if((c|0)<(b|0)){continue}break}}v[a>>2]=888092;b=v[a+8>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}$a(a)}function ZUa(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[b+36>>2];a:{if(!c){break a}d=v[b+40>>2];if(!d){break a}Qa[v[a+156>>2]](d,c+1|0)}c=v[b+48>>2];b:{if(!c){break b}d=v[b+52>>2];if(!d){break b}Qa[v[a+156>>2]](d,B(c,B(w[b+44|0],3)+2|0))}Qa[v[a+156>>2]](b,56);return 0}function Og(a){var b=0,c=0,d=0,e=0;b=v[a+24>>2];if(b){if(v[a+16>>2]>=1){while(1){d=c<<2;e=v[d+b>>2];b=v[e+32>>2];if(b){ne(b)}$a(e);v[v[a+24>>2]+d>>2]=0;c=c+1|0;if((c|0)>2]){b=v[a+24>>2];continue}break}b=v[a+24>>2]}$a(b)}b=v[a+32>>2];if(b){ex(b)}$a(a)}function Dxa(a,b){a=a|0;b=b|0;var c=0;if(!a){return 0}c=v[a+8>>2];if(!c){return 0}a=v[c+44>>2];a:{b:{if(!a){break b}a=v[a+60>>2];if(!a){break b}a=le(a,b,0,0);if(a){break a}}c=v[c+48>>2];if(!c){return 0}a=0;c=v[c+60>>2];if(!c){break a}a=le(c,b,0,0)}return a|0}function CVa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;f=v[a+428>>2]+8|0;g=v[b+32>>2];if(g){e=v[b+36>>2];d=f;while(1){c=x[e>>1];c=c<<8|c>>>8;t[d|0]=c;t[d+1|0]=c>>>8;d=d+2|0;e=e+2|0;h=h+1|0;if(h>>>0>2]){continue}break}}return hd(a,v[b>>2],g<<1,f)|0}function yk(a,b,c){var d=0,e=0;if(!((b|0)<0|(c|0)<1|(2147483647-c|0)<(b|0))){d=v[a>>2];e=(d|0)<(b+c|0)?d-b|0:c;c=d-e|0;if((c|0)>=(b|0)){while(1){c=v[a+4>>2];t[c+b|0]=w[c+(b+e|0)|0];c=v[a>>2]-e|0;d=(c|0)>(b|0);b=b+1|0;if(d){continue}break}}v[a>>2]=c;pg(a,c)}}function xd(a){var b=0,c=0,d=0;b=v[a+16>>2];if((b|0)<=v[a+20>>2]){c=v[a>>2];d=v[c+16>>2];Qa[d|0](Qa[v[c+4>>2]](v[a+4>>2],b-v[a+8>>2]|0)|0,(v[a+20>>2]-v[a+16>>2]|0)+1|0)}b=v[a+4>>2];if(b){$a(b)}v[a+4>>2]=0;v[a+8>>2]=0;v[a+20>>2]=-1;v[a+12>>2]=-1;v[a+16>>2]=0}function xNa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Ma-112|0;Ma=d;b=v[b+12>>2];if(b){Y0(d+8|0,b,v[c>>2]);b=v[d+44>>2];v[a+8>>2]=v[d+40>>2];v[a+12>>2]=b;b=v[d+36>>2];v[a>>2]=v[d+32>>2];v[a+4>>2]=b;z[a+16>>2]=z[d+24>>2];z[a+20>>2]=z[d+28>>2];Dh(d+84|0)}Ma=d+112|0}function mn(a,b){var c=0,d=0,e=0,f=0;a=v[a+4>>2];kn(v[a+4>>2]);v[a+4>>2]=0;c=v[a+8>>2];if(c){$a(c)}v[a+8>>2]=0;v[a+12>>2]=0;c=t[b+11|0];c=(c|0)<0?v[b+4>>2]:c&255;v[a+12>>2]=c;d=ab(c);v[a+8>>2]=d;e=a,f=tH(cb(d,t[b+11|0]<0?v[b>>2]:b,c),c),v[e+4>>2]=f;return 1}function jf(a,b){a=a|0;b=b|0;var c=0,d=0;if(!a){return 0}d=v[a+204>>2];v[a+204>>2]=d|1048576;a:{b:{if(!b){break b}c=v[a+672>>2];c:{if(c){c=Qa[c|0](a,b)|0;break c}c=gb(b)}if(c){break b}c=0;if(!(w[a+206|0]&16)){break a}}v[a+204>>2]=d;return c|0}dc(a,1096);L()}function DMa(a,b){a=a|0;b=b|0;var c=0,d=0;c=Ma-16|0;Ma=c;v[c+12>>2]=0;a:{if(v[a+208>>2]){d=b;break a}d=Qa[v[v[a>>2]+84>>2]](a,b,c+12|0)|0;if((d|0)>0|v[a+208>>2]|(v[a+196>>2]==-1|(b|0)>61439)){break a}d=Qa[v[v[a>>2]+84>>2]](a,b,c+12|0)|0}Ma=c+16|0;return d|0}function By(a){var b=0,c=0,d=0,e=0;if(!(bg(a+20|0)|v[a+16>>2])){t[a+8|0]=1;if(v[a+84>>2]<=-1){b=v[a+64>>2];d=a,e=Qa[v[v[b>>2]+28>>2]](b)|0,v[d+84>>2]=e}b=v[a+96>>2];if(b){while(1){c=v[b+8>>2];if(!v[c+8>>2]){v[c+8>>2]=1}b=v[b>>2];if(b){continue}break}}fs(a)}}function wna(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=ab(8);d=Rb(e,336654);Ug(d,v[a+20>>2]);Wb(d,336746);if(v[a+24>>2]){Wb(d,336670);Ug(d,v[a+24>>2]);Wb(d,336746)}if(w[a+28|0]){Wb(d,336561)}Wb(d,313348);a=Qa[b|0](c,v[d+4>>2],v[d>>2])|0;Bb(d);$a(e);return a|0}function vc(a,b,c){var d=0,e=0,f=0;a:{b:{if(c>>>0<=1){d=a;t[d+11|0]=c;break b}if(c>>>0>1073741807){break a}f=a;if(c>>>0>=2){e=c+4&-4;d=e-1|0;d=(d|0)==2?e:d}else{d=1}e=d+1|0;d=FN(e);v[f>>2]=d;v[a+8>>2]=e|-2147483648;v[a+4>>2]=c}rk(d,b,c+1|0);return}sc();L()}function lz(a,b,c,d){v[a+12>>2]=d;v[a+8>>2]=c;v[a>>2]=927256;v[a+4>>2]=b;b=c+7>>3;v[a+16>>2]=b;if(!(!((c|0)<1|(d|0)<1)&(2147483646/(b|0)|0)>(d|0))){v[a+12>>2]=-1;v[a+16>>2]=2;d=-1;b=2}b=si(B(b,d)+1|0);v[a+20>>2]=b;t[b+B(v[a+16>>2],v[a+12>>2])|0]=0;return a}function l1a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=v[a+4>>2];if(e){d=v[a+12>>2];a:{if(!d){d=v[a+8>>2];break a}v[e+20>>2]=d+v[e+20>>2];v[a+12>>2]=0;d=d+v[a+8>>2]|0;v[a+8>>2]=d}cb(b,v[e+4>>2]+d|0,c);b=v[a+4>>2];v[b+20>>2]=v[b+20>>2]+c;v[a+8>>2]=v[a+8>>2]+c}}function ida(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;a:{while(1){if((d|0)!=(e|0)){a=-1;if((b|0)==(c|0)){break a}f=v[b>>2];g=v[d>>2];if((f|0)<(g|0)){break a}if((f|0)>(g|0)){return 1}else{d=d+4|0;b=b+4|0;continue}}break}a=(b|0)!=(c|0)}return a|0}function OB(a){var b=0,c=0,d=0;c=v[a+12>>2];b=v[c>>2];if((b|0)!=v[c+4>>2]){while(1){d=v[b>>2];if(d){$a(d);c=v[a+12>>2]}b=b+4|0;if((b|0)!=v[c+4>>2]){continue}break}b=v[c>>2]}if(b){v[c+4>>2]=b;$a(b)}$a(c);b=v[a+16>>2];if(b){$a(b)}a=v[a+72216>>2];if(a){$a(a)}}function Jza(a,b){a=a|0;b=b|0;var c=0;a:{b:{if(b>>>0>=2){c=v[a+8>>2];break b}v[a+44>>2]=0;v[a+48>>2]=0;c=v[a+8>>2];if(c){t[c+15|0]=0;t[c+13|0]=0}if((b|0)==1){break a}}v[a+52>>2]=0;v[a+56>>2]=0;if(!c){break a}v[c+4>>2]=0;v[c+8>>2]=0;t[c+14|0]=0;t[c+12|0]=0}}function Gg(a){var b=0,c=0;if(a){a:{if(!a){break a}b=v[a+20>>2];if(!b){break a}c=v[a+16>>2];QP(c,b-c|0);v[a+4>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0}if(w[a+12|0]){Nd(a);return}v[a>>2]=0;v[a+4>>2]=0;v[a+24>>2]=-1;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0}}function zda(a,b){a=a|0;b=b|0;a:{if(!v[a+64>>2]|y[a+8>>2]>=y[a+12>>2]){break a}if((b|0)==-1){v[a+12>>2]=v[a+12>>2]-1;return((b|0)==-1?0:b)|0}if(!(w[a+88|0]&16)&w[v[a+12>>2]-1|0]!=(b&255)){break a}v[a+12>>2]=v[a+12>>2]-1;t[v[a+12>>2]]=b;return b|0}return-1}function zOa(a,b,c){a=a|0;b=C(b);c=C(c);var d=C(0),e=C(0),f=C(0),g=C(0);d=z[a+4>>2];c=C(c-z[a+252>>2]);b=C(b-z[a+248>>2]);e=z[a+8>>2];f=z[a+256>>2];g=C(D(C(C(C(C(d*c)-C(b*e))*z[a+268>>2])*f)));b=C(D(C(C(z[a+264>>2]*C(C(b*d)+C(c*e)))*f)));return C(b>2]=15;v[a+8>>2]=0;v[a>>2]=887480;return a;case 2:a=ab(12);v[a+4>>2]=15;v[a+8>>2]=0;v[a>>2]=887584;return a;case 4:b=ab(12);v[b+4>>2]=15;v[b+8>>2]=0;v[b>>2]=887688;break;default:break a}}return b}function q2a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Ma-16|0;Ma=c;if(v[a+12>>2]>=1){d=v[a+16>>2];while(1){f=v[d>>2];v[c+12>>2]=v[d+4>>2];v[c+8>>2]=e;v[c+4>>2]=f;v[c>>2]=e;vb(b,59319,c);d=d+8|0;e=e+1|0;if((e|0)>2]){continue}break}}Ma=c+16|0;return 0}function oOa(a){a=a|0;var b=0,c=0,d=0,e=0;v[a>>2]=359944;b=v[a+248>>2];if(b){c=v[a+252>>2];if((c|0)==(b|0)){d=b}else{while(1){d=c-12|0;e=v[d>>2];if(e){v[c-8>>2]=e;$a(e)}c=d;if((c|0)!=(b|0)){continue}break}d=v[a+248>>2]}v[a+252>>2]=b;$a(d)}Wf(a+92|0);$a(a)}function lu(a){return(((((a*3479331075960212e-20+.0007915349942898145)*a+-.04005553450067941)*a+.20121253213486293)*a+-.3255658186224009)*a+.16666666666666666)*a/((((a*.07703815055590194+-.6882839716054533)*a+2.0209457602335057)*a+-2.403394911734414)*a+1)}function YGa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;B_(a,b,c,d);b=v[a+300>>2];c=v[a+304>>2];a:{if((b|0)==(c|0)){break a}e=v[d>>2];if(e){f=d,g=fc(e,b,c),v[f>>2]=g}b=v[d+4>>2];if(!b){break a}f=d,g=fc(b,v[a+300>>2],v[a+304>>2]),v[f+4>>2]=g}return 0}function RYa(a){a=a|0;var b=0,c=0,d=0;if(v[a+588>>2]>=1){b=v[a+636>>2]+v[a+616>>2]|0;c=v[a+644>>2];while(1){t[c|0]=w[b|0];t[c+1|0]=w[b|0];t[c+2|0]=w[b|0];t[c+3|0]=w[b+1|0];c=c+4|0;b=b+2|0;d=d+1|0;if((d|0)>2]){continue}break}}t[a+649|0]=0;return 0}function FTa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Ma-32|0;Ma=d;if(!b){b=v[a+190640>>2];a:{if(b){e=v[a+25208>>2];v[d+20>>2]=c;v[d+16>>2]=e;Dc(b,4338,d+16|0);break a}b=v[a+25208>>2];v[d+4>>2]=c;v[d>>2]=b;vb(v[249419],4338,d)}tc(a+190484|0,1);L()}Ma=d+32|0}function qb(a,b){var c=0,d=0;if(b){v[b+4>>2]=v[b+4>>2]+1}c=(a&252)+1184496|0;cE(c);d=v[a>>2];v[a>>2]=b;v[c>>2]=0;a:{if(!d){break a}b=d+4|0;c=v[b>>2]-1|0;v[b>>2]=c;if(c){break a}c=v[b>>2];if(!c){v[b>>2]=-32767}if(c){break a}Qa[v[v[d>>2]+4>>2]](d)}return a}function fMa(a,b){a=a|0;b=b|0;var c=0;c=Ma-16|0;Ma=c;a:{if(b){wZ(c);b=KJ(a+68|0,c);if(t[c+11|0]<=-1){$a(v[c>>2])}if(b){break a}}b=ab(80);v[c>>2]=b;v[c+4>>2]=16;v[c+8>>2]=-2147483628;rb(b,361684,16);v[b+64>>2]=0;O0(a+68|0,c);$a(b);v[a+48>>2]=a+8}Ma=c+16|0}function WP(a,b){var c=0,d=0,e=0;o(+a);c=j(1)|0;d=j(0)|0;e=c;c=c>>>20&2047;if((c|0)!=2047){if(!c){c=b;if(a==0){b=0}else{a=WP(a*0x10000000000000000,b);b=v[b>>2]+-64|0}v[c>>2]=b;return a}v[b>>2]=c-1022;l(0,d|0);l(1,e&-2146435073|1071644672);a=+n()}return a}function CFa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=v[a+20>>2];if(w[a+68|0]){a=v[e+8>>2];f=u[e+2>>1];g=v[e+4>>2]+(f<<3)|0;v[g>>2]=(((b>>31)+b|0)+32768&-65536)>>16;v[g+4>>2]=(((c>>31)+c|0)+32768&-65536)>>16;t[a+f|0]=d?1:2}u[e+2>>1]=x[e+2>>1]+1}function y5(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0;a:{if((h|0)>=1){j=c+1|0;k=j>>1;l=d+1|0;m=l>>1;i=-1;if(y5(a,b,k,m,(e+j>>1)-k|0,(f+l>>1)-m|0,g,h-1|0)){break a}}if(!((e|0)<1|(f|0)<1)){i=-1;if(Qa[v[v[a+4>>2]+4>>2]](b,c,d,e,f,g)|0){break a}}i=0}return i}function vh(a,b){var c=0,d=0,e=0,f=0;c=v[a>>2];d=v[b>>2];a:{b:{if((c|0)<1|(d|0)<1){break b}a=v[a+4>>2];b=v[b+4>>2];while(1){e=w[a|0]-w[b|0]|0;if(e){break a}f=f+1|0;if((c|0)<=(f|0)){break b}b=b+1|0;a=a+1|0;if((d|0)>(f|0)){continue}break}}e=c-d|0}return e}function vZa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(v[a+2308>>2]){d=v[a+2312>>2];b=v[a+2316>>2];while(1){c=w[d|0];e=v[a+2296>>2];if(e){c=Qa[e|0](c&255)|0}t[b+2|0]=c;t[b+1|0]=c;t[b|0]=c;b=b+3|0;d=d+1|0;f=f+1|0;if(f>>>0>2]){continue}break}}return 0}function sj(a,b,c){var d=0,e=0;if(w[a+11|0]>>>7|0){e=v[a>>2]}else{e=a}if(w[a+11|0]>>>7|0){a=v[a+4>>2]}else{a=w[a+11|0]}d=Ma-16|0;Ma=d;v[d+12>>2]=b;b=-1;if(a>>>0>c>>>0){a=a-c|0;if(a){a=xe((c<<2)+e|0,v[d+12>>2],a)}else{a=0}b=a?a-e>>2:-1}Ma=d+16|0;return b}function oB(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=Ma-16|0;Ma=d;e=v[v[a+4>>2]+100>>2];c=v[a+156>>2];f=v[c+4>>2];a:{if(f&1){c=v[a+88>>2];if(c){Qa[v[e+8>>2]](e,c)}v[a+88>>2]=0;break a}v[c+4>>2]=f|1}g=a,h=cc(e,b,d+12|0),v[g+88>>2]=h;Ma=d+16|0;return v[d+12>>2]}function LVa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;f=v[a+428>>2]+8|0;g=v[b+32>>2];if(g){h=b+36|0;d=f;while(1){c=x[(e<<1)+h>>1];c=c<<8|c>>>8;t[d|0]=c;t[d+1|0]=c>>>8;d=d+2|0;e=e+1|0;if(e>>>0>2]){continue}break}}return hd(a,v[b>>2],g<<1,f)|0}function kY(a,b){var c=0,d=0;if(!(v[a+32>>2]|(!b|!a))){c=v[a+8>>2];if(!((c|0)==v[a+24>>2]|c>>>0>2147483646)){v[a+24>>2]=c}c=v[a+20>>2];d=v[a+4>>2];if(!((c|0)==(d|0)|d>>>0>2147483646)){v[a+20>>2]=d;c=d}a=v[a>>2];v[b+12>>2]=a;v[b+16>>2]=a;v[b+20>>2]=a+c}}function MT(a,b){var c=0,d=0,e=0;c=Ma-32|0;Ma=c;a=FF(c+8|0,a);GF(a,c+28|0,c+24|0);Qb(a);a=ab(12);d=A[b>>3];b=v[c+24>>2];v[a+4>>2]=v[c+28>>2];v[a>>2]=967252;e=a;d=d*+(b|0);a:{if(D(d)<2147483648){b=~~d;break a}b=-2147483648}v[e+8>>2]=b;Ma=c+32|0;return a}function tv(a){var b=0,c=0;c=ji(a,301143);if(!c){return 10}b=ab(1040);v[b+1032>>2]=0;v[b+1036>>2]=0;v[b+4>>2]=c;v[b>>2]=879584;c=zW(b);Qa[v[v[b>>2]+4>>2]](b);a:{if((c|0)!=9){break a}c=9;b=zb(a);if((b|0)<6){break a}c=hb((a+b|0)-6|0,227787)?9:8}return c}function sUa(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1296581714){ob(a,2050,0,0);return 2050}v[b+32>>2]=v[c+32>>2];v[b+36>>2]=v[c+36>>2];v[b+40>>2]=v[c+40>>2];v[b+44>>2]=v[c+44>>2];v[b+48>>2]=v[c+48>>2];v[b+52>>2]=v[c+52>>2];v[b+56>>2]=v[c+56>>2];return 0}function kia(a){a=a|0;var b=0,c=0;v[a>>2]=973124;b=v[a+68>>2];v[a+68>>2]=0;a:{if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}ec(a+52|0);ec(a+40|0);ec(a+28|0);bc(a);return a|0}function Lja(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Ma-16|0;Ma=d;_E(d+8|0,a);JS(v[d+8>>2],b,c);a=v[d+8>>2];v[d+8>>2]=0;a:{if(!a){break a}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break a}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=d+16|0}function $Ta(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(v[c>>2]!=1700286537){ob(a,2050,0,0);return 2050}u[b+32>>1]=x[c+32>>1];d=v[c+36>>2];v[b+36>>2]=d;if(d){d=Qa[v[a+152>>2]](d)|0;v[b+40>>2]=d;if(!d){ob(a,1,0,0);return 1}cb(d,v[c+40>>2],v[b+36>>2])}return 0}function qc(a){var b=0,c=0;c=Ma-32|0;Ma=c;a:{b=zb(a);if((b|0)>-2){b=b+1|0;b:{if(!b){b=0;break b}b=gb(b);if(!b){break a}}a=od(b,a);Ma=c+32|0;return a}v[c>>2]=273699;vb(v[249419],340716,c);_(1);L()}v[c+16>>2]=217973;vb(v[249419],340716,c+16|0);_(1);L()}function ixa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=v[a+272>>2];if(d){e=v[d+32>>2];a:{if(!e){break a}Qa[e|0](a,b,c);b=v[a+52>>2];if(!b){break a}a=v[a+36>>2];if(!a){break a}a=v[a+16>>2];if(!a|w[a|0]!=47|w[a+1|0]!=62){break a}u[b+58>>1]=1}v[d+16>>2]=1}}function fHa(a,b){a=a|0;b=b|0;var c=0;Oq(v[a>>2],b);c=v[a>>2];b=v[c+320>>2];c=tg(v[v[c+96>>2]+4>>2],239159);a:{if(!c|!b){break a}b=v[b>>2];if(!b){break a}b=Qa[b|0](c)|0;if(!b){break a}Qa[v[b+4>>2]](v[v[a+40>>2]>>2],v[a+16>>2],v[a+20>>2],0,0)}return 0}function ewa(a,b){a=a|0;b=b|0;var c=0;c=Ma-16|0;Ma=c;if(!(w[a+208|0]|w[a+203|0])){Ak(a,v[b+596>>2],A[b+104>>3],b+16|0);b=v[a+104>>2];v[c+12>>2]=257;Qa[v[v[b>>2]+328>>2]](b,c+12|0)|0;a=v[a+104>>2];v[c+8>>2]=4;Qa[v[v[a>>2]+292>>2]](a,c+8|0)|0}Ma=c+16|0}function dwa(a,b){a=a|0;b=b|0;var c=0;c=Ma-16|0;Ma=c;if(!(w[a+208|0]|w[a+203|0])){Ak(a,v[b+596>>2],A[b+104>>3],b+16|0);b=v[a+104>>2];v[c+12>>2]=513;Qa[v[v[b>>2]+328>>2]](b,c+12|0)|0;a=v[a+104>>2];v[c+8>>2]=4;Qa[v[v[a>>2]+292>>2]](a,c+8|0)|0}Ma=c+16|0}function aq(a,b,c,d){var e=0;v[a+8>>2]=13;v[a>>2]=952584;e=v[d+4>>2];v[a+8>>2]=v[d>>2];v[a+12>>2]=e;e=v[d+12>>2];v[a+16>>2]=v[d+8>>2];v[a+20>>2]=e;v[a+44>>2]=0;v[a+40>>2]=b;v[a+36>>2]=b+c;v[a+32>>2]=c;v[a+28>>2]=0;v[a+24>>2]=b;v[a>>2]=952916;return a}function afa(a){a=a|0;var b=0,c=0;v[a>>2]=984096;xd(a+48|0);xd(a+24|0);b=v[a+20>>2];v[a+20>>2]=0;a:{if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}db(a+8|0);bc(a);return a|0}function Tw(a,b){var c=0;a:{if(!v[a+276>>2]){v[a+276>>2]=b;if(v[a+420>>2]){break a}c=v[b>>2];v[a+420>>2]=c;c=(c|0)==1229472850?1:(c|0)==1246250066?3:2;v[a+12>>2]=c;v[a+8>>2]=c;v[a+280>>2]=b;return}c=v[a+280>>2];v[b+28>>2]=c;v[c+24>>2]=b}v[a+280>>2]=b}function RGa(a){a=a|0;var b=0,c=0,d=0;c=v[v[a+188>>2]>>2];b=c;d=v[a+168>>2];if(d){Qa[v[b+8>>2]](b,d)}v[a+172>>2]=0;v[a+164>>2]=0;v[a+168>>2]=0;b=v[a+184>>2];if(b){Qa[v[c+8>>2]](c,b)}t[a+192|0]=0;v[a+184>>2]=0;v[a+188>>2]=0;v[a+176>>2]=0;v[a+180>>2]=0}function QD(a){var b=0,c=0;b=w[a+74|0];t[a+74|0]=b-1|b;if(y[a+20>>2]>y[a+28>>2]){Qa[v[a+36>>2]](a,0,0)|0}v[a+28>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;b=v[a>>2];if(b&4){v[a>>2]=b|32;return-1}c=v[a+44>>2]+v[a+48>>2]|0;v[a+8>>2]=c;v[a+4>>2]=c;return b<<27>>31}function Im(a){var b=0,c=0;b=Ma-16|0;Ma=b;v[b+12>>2]=-1;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+12|0,1,4)|0;c=w[b+12|0];Ma=b+16|0;if(x[a+25204>>1]==18761){a=w[b+13|0]<<8|c|w[b+14|0]<<16|w[b+15|0]<<24}else{a=w[b+15|0]|(w[b+13|0]<<16|c<<24|w[b+14|0]<<8)}return a}function CQ(a,b,c){var d=0,e=0;e=Ma-32|0;Ma=e;d=-1;a:{if((c|0)<=-1){c=v[a+8>>2]+c|0;if((c|0)<=-1){break a}}if(!(!b|!w[b|0]|v[a+8>>2]<=(c|0))){d=v[a+12>>2]+c|0;a=wP(d,b);d=a?a+(c-d|0)|0:-1}Ma=e+32|0;return d}lb(mb(e+8|0,227406,241775,1748,226099));L()}function AHa(a){a=a|0;var b=0,c=0,d=0;c=v[a+16>>2];b=161;a:{if(y[a+20>>2]>>0){break a}d=v[a+32>>2];c=ek(a,c);b=3;if(c-2>>>0>14){break a}u[d+176>>1]=c;b=d;d=(v[a+20>>2]-v[a+16>>2]>>>2|0)-4|0;u[b+178>>1]=d;u[a+38>>1]=d;u[a+36>>1]=c;b=0}return b|0}function u6(a,b){a=a|0;b=b|0;var c=0,d=0;c=Ma+-64|0;Ma=c;v[c+48>>2]=v[a+16>>2];vb(b,39207,c+48|0);d=v[a+24>>2];v[c+32>>2]=v[a+20>>2];v[c+36>>2]=d;vb(b,40844,c+32|0);v[c+16>>2]=v[a+32>>2];vb(b,41709,c+16|0);v[c>>2]=w[a+36|0];vb(b,42587,c);Ma=c- -64|0}function t$(a,b,c,d){if(w[a+292|0]){Qa[v[v[a+540>>2]+140>>2]](a,1,b,c,d);return}if(x[a+372>>1]!=65535){u[c>>1]=x[a+442>>1];b=u[a+442>>1]-u[a+444>>1]|0;a=b>>31;u[d>>1]=a^a+b;return}u[c>>1]=x[a+220>>1];b=u[a+220>>1]-u[a+222>>1]|0;a=b>>31;u[d>>1]=a^a+b}function fUa(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1129072976){ob(a,2050,0,0);return 2050}u[b+32>>1]=x[c+32>>1];u[b+34>>1]=x[c+34>>1];t[b+36|0]=w[c+36|0];v[b+40>>2]=v[c+40>>2];v[b+44>>2]=v[c+44>>2];v[b+48>>2]=v[c+48>>2];v[b+52>>2]=v[c+52>>2];return 0}function WTa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(v[c>>2]!=1245987137){ob(a,2050,0,0);return 2050}t[b+32|0]=w[c+32|0];d=v[c+36>>2];v[b+36>>2]=d;if(d){d=Qa[v[a+152>>2]](d)|0;v[b+40>>2]=d;if(!d){ob(a,1,0,0);return 1}cb(d,v[c+40>>2],v[b+36>>2])}return 0}function VTa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(v[c>>2]!=1245987156){ob(a,2050,0,0);return 2050}t[b+32|0]=w[c+32|0];d=v[c+36>>2];v[b+36>>2]=d;if(d){d=Qa[v[a+152>>2]](d)|0;v[b+40>>2]=d;if(!d){ob(a,1,0,0);return 1}cb(d,v[c+40>>2],v[b+36>>2])}return 0}function TEa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=v[a+16>>2];c=v[b>>2]+1|0;c=c>>>0>>0?d:c;d=d+v[a+20>>2]|0;a:{if(c>>>0>>0){e=v[a+24>>2];while(1){a=x[(c<<1)+e>>1];if(a){break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}}a=0;c=0}v[b>>2]=c;return a|0}function Pua(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;a=eb(a,0,256);d=v[b>>2]+c|0;e=w[d+1|0];d=w[d|0];f=e+d|0;b=v[b+4>>2]+c|0;c=w[b+1|0];b=w[b|0];g=c+b|0;v[a+32>>2]=f-g<<4;d=d-e|0;b=b-c|0;v[a+36>>2]=d-b<<4;v[a+4>>2]=b+d<<4;v[a>>2]=(f+g<<4)+-8192}function KUa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(v[c>>2]!=1229209940){ob(a,2050,0,0);return 2050}t[b+32|0]=w[c+32|0];d=v[c+36>>2];v[b+36>>2]=d;if(d){d=Qa[v[a+152>>2]](d)|0;v[b+40>>2]=d;if(!d){ob(a,1,0,0);return 1}cb(d,v[c+40>>2],v[b+36>>2])}return 0}function KU(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=b-1|0;if(!(!a|e>>>0>7)){a:{if(!c){break a}b=0;d=w[c|0];if(!d){break a}g=(e<<5)+a|0;while(1){t[b+g|0]=d;f=b+1|0;d=w[c+1|0];if(!d){break a}c=c+1|0;h=b>>>0<30;b=f;if(h){continue}break}}t[((e<<5)+a|0)+f|0]=0}}function zr(a,b,c){var d=0,e=0;d=Ma-16|0;Ma=d;e=(b>>>0)/y[a+100>>2]|0;b=e;a:{if(x[a+138>>1]!=2){break a}b=x[a+98>>1];if(b>>>0<=c>>>0){e=v[a>>2];a=v[a+628>>2];v[d+4>>2]=b;v[d>>2]=c;wb(a,e,1154,d);b=0;break a}b=e+B(v[a+176>>2],c)|0}Ma=d+16|0;return b}function vn(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=Ma-16|0;Ma=d;v[d+12>>2]=0;a=cc(a,(zb(b)+zb(c)|0)+1|0,d+12|0);if(!v[d+12>>2]){e=Ym(b,47);a:{if(e){f=b;b=(e-b|0)+1|0;g=Sb(a,f,b)+b|0,h=0,t[g|0]=h;b=e+1|0;break a}t[a|0]=0}e=MD(MD(a,c),b)}Ma=d+16|0;return e}function nxa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=Ma-32|0;Ma=b;if(a){a:{if(!v[a+68>>2]){break a}d=v[a+52>>2];if(!d){break a}c=v[a+36>>2];v[b+20>>2]=v[c+16>>2]-v[c+12>>2];c=v[c+28>>2];v[b+8>>2]=d;v[b+24>>2]=c;Qv(a,b+8|0)}v[a+264>>2]=-1;Nz(a)}Ma=b+32|0}function lJ(a,b){var c=0,d=0,e=0;c=v[a+24>>2];if((c|0)>=1){a=v[a+28>>2];e=a+B(c,40)|0;c=v[b+4>>2];b=v[b+8>>2];while(1){v[c>>2]=v[a+16>>2];v[c+4>>2]=v[a+20>>2];d=x[a>>1];t[b|0]=d&1?0:d&2?2:1;b=b+1|0;c=c+8|0;a=a+40|0;if(e>>>0>a>>>0){continue}break}}} -function Z2a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=Ma-16|0;Ma=c;if(v[a+20>>2]){while(1){e=v[a+24>>2]+B(d,12)|0;f=v[e+4>>2];g=v[e>>2];v[c+8>>2]=v[e+8>>2];v[c>>2]=g;v[c+4>>2]=f;vb(b,48737,c);d=d+1|0;if(d>>>0>2]){continue}break}}Ma=c+16|0}function Yo(a,b){var c=0,d=0,e=0;if((a|0)!=(b|0)){d=w[b+11|0];c=d<<24>>24;if(t[a+11|0]>=0){if((c|0)>=0){c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;v[a+8>>2]=v[b+8>>2];return}De(a,v[b>>2],v[b+4>>2]);return}e=a;a=(c|0)<0;mf(e,a?v[b>>2]:b,a?v[b+4>>2]:d)}}function Eq(a,b){var c=0,d=0,e=0;c=Ma-16|0;Ma=c;v[c+12>>2]=0;v[c+8>>2]=0;d=w[b+11|0];e=d<<24>>24<0;Fj(e?v[b>>2]:b,e?v[b+4>>2]:d,c+12|0,c+8|0);d=v[c+12>>2];b=ji(d,300427);v[a+4>>2]=b;if(d){$a(d);b=v[a+4>>2]}if(b){v[a+8>>2]=0}Ma=c+16|0;return(b|0)!=0}function qK(a,b,c,d){var e=0;a:{if((c|0)<0|(d|0)<0){break a}if((a|0)<=-1){c=a+c|0;if((c|0)<1){break a}a=0}if((b|0)<=-1){d=b+d|0;if((d|0)<1){break a}b=0}e=Yb(1,20);if(!e){return 0}v[e+16>>2]=1;v[e+12>>2]=d;v[e+8>>2]=c;v[e+4>>2]=b;v[e>>2]=a}return e}function bQa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=1;a:{if(!v[a+16>>2]){break a}a=v[a+20>>2];if(!a){break a}a=v[a+4>>2];d=v[a>>2];if(d){e=v[a+12>>2];a=d-1|0;a=v[e+(a>>>6&67108860)>>2]+(a<<4&4080)|0;A[b>>3]=A[a>>3];A[c>>3]=A[a+8>>3]}d=0}return d|0}function To(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=A[a>>3];d=A[a+24>>3];e=A[a+8>>3];f=A[a+16>>3];b=1/(c*d-e*f);c=c*b;A[a+24>>3]=c;f=b*-f;A[a+16>>3]=f;e=b*-e;A[a+8>>3]=e;b=d*b;A[a>>3]=b;g=b;b=-A[a+32>>3];d=A[a+40>>3];A[a+32>>3]=g*b-f*d;A[a+40>>3]=e*b-c*d}function TTa(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1145586770){ob(a,2050,0,0);return 2050}u[b+32>>1]=x[c+32>>1];t[b+34|0]=w[c+34|0];t[b+35|0]=w[c+35|0];v[b+36>>2]=v[c+36>>2];v[b+40>>2]=v[c+40>>2];v[b+44>>2]=v[c+44>>2];v[b+48>>2]=v[c+48>>2];return 0}function nu(a,b){var c=0;c=65536-b|0;b=c+v[a+32>>2]|0;v[a+32>>2]=b;c=c+v[a+20>>2]|0;v[a+20>>2]=c;if(c>>>0>=32768){while(1){pu(a,1-(b>>>15|0)|0);b=v[a+32>>2]<<1&65534;v[a+32>>2]=b;c=v[a+20>>2]<<1&65534;v[a+20>>2]=c;if(c>>>0>32767){continue}break}}}function jia(a){a=a|0;var b=0,c=0;v[a>>2]=973124;b=v[a+68>>2];v[a+68>>2]=0;a:{if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}ec(a+52|0);ec(a+40|0);ec(a+28|0);bc(a);$a(a)}function Xn(a,b){var c=0,d=0;if(w[a+11|0]>>>7|0){c=v[a>>2]}else{c=a}d=-1;if(w[a+11|0]>>>7|0){a=v[a+4>>2]}else{a=w[a+11|0]}a:{if(!a){break a}a=(a<<2)+c|0;while(1){if((a|0)==(c|0)){break a}a=a-4|0;if(v[a>>2]!=(b|0)){continue}break}d=a-c>>2}return d}function Qf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;t[a|0]=0;t[a+1|0]=0;t[a+2|0]=0;t[a+3|0]=0;d=v[b+4>>2];a:{if(!d){break a}b=v[b+44>>2];if(!b|b>>>0<=c>>>0){break a}b=(d+40|0)+(c<<2)|0;t[a|0]=w[b|0];t[a+1|0]=w[b+1|0];t[a+2|0]=w[b+2|0];t[a+3|0]=w[b+3|0]}}function Pq(a){var b=0,c=0,d=0,e=0,f=0;e=35;a:{if(!a){break a}d=v[a+96>>2];if(!d){break a}b=v[a+128>>2];c=v[b+64>>2];v[b+64>>2]=c-1;if((c|0)<=1){c=v[d+8>>2];f=d+16|0;b=wn(f,a);if(!b){break a}jt(f,b);if(b){Qa[v[c+8>>2]](c,b)}lt(c,a,d)}e=0}return e}function NGa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Ma-16|0;Ma=d;v[d+12>>2]=0;a:{if(v[c+80>>2]){break a}b=b-a|0;f=cc(v[c>>2],b+1|0,d+12|0);v[c+80>>2]=f;e=v[d+12>>2];if(e){break a}cb(f,a,b);t[b+v[c+80>>2]|0]=0;e=v[d+12>>2]}Ma=d+16|0;return e|0}function A_(a,b){var c=0,d=0,e=0,f=0;f=8;c=v[a>>2];d=c+1|0;a:{if(d>>>0>b>>>0){break a}e=w[c|0];if(e){while(1){c=d+2|0;if(c>>>0>b>>>0){v[a>>2]=d;return 8}d=w[d|0]+c|0;if(d>>>0>b>>>0){break a}e=e-1|0;if(e){continue}break}}c=d;f=0}v[a>>2]=c;return f}function $n(a,b,c,d){var e=0;if(d&2048){t[a|0]=43;a=a+1|0}if(d&512){t[a|0]=35;a=a+1|0}while(1){e=w[b|0];if(e){t[a|0]=e;a=a+1|0;b=b+1|0;continue}break}e=d&74;b=111;a:{if((e|0)==64){break a}b=d&16384?88:120;if((e|0)==8){break a}b=c?100:117}t[a|0]=b}function zUa(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1649100612){ob(a,2050,0,0);return 2050}t[b+32|0]=w[c+32|0];t[b+33|0]=w[c+33|0];t[b+34|0]=w[c+34|0];u[b+36>>1]=x[c+36>>1];u[b+38>>1]=x[c+38>>1];u[b+40>>1]=x[c+40>>1];u[b+42>>1]=x[c+42>>1];return 0}function qfa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Ma-32|0;Ma=d;c=Ki(a,0,v[a+116>>2],a- -64|0);if(!((c|0)>=v[a+112>>2]&v[a+116>>2]>=(c|0))){lb(mb(d+8|0,227376,271519,619,306765));L()}v[b>>2]=v[v[a+100>>2]+(c-v[a+104>>2]<<2)>>2];Ma=d+32|0;return c|0}function lha(a,b,c){a=a|0;b=b|0;c=c|0;v[a+124>>2]=v[a+124>>2]+b;v[a+132>>2]=v[a+132>>2]+b;v[a+128>>2]=v[a+128>>2]+c;v[a+136>>2]=v[a+136>>2]+c;v[a+108>>2]=v[a+108>>2]+b;v[a+112>>2]=v[a+112>>2]+c;v[a+116>>2]=v[a+116>>2]+b;v[a+120>>2]=v[a+120>>2]+c}function ZD(a){var b=0,c=0;c=Ma-16|0;Ma=c;o(+a);b=j(1)|0;j(0)|0;b=b&2147483647;a:{if(b>>>0<=1072243195){if(b>>>0<1044381696){break a}a=SP(a,0,0);break a}if(b>>>0>=2146435072){a=a-a;break a}b=YD(a,c);a=SP(A[c>>3],A[c+8>>3],b&1)}Ma=c+16|0;return a}function OJ(a){var b=0;b=v[a+2228504>>2];if(b){OJ(b)}v[a+8>>2]=0;v[a+12>>2]=1072693248;v[a+40>>2]=0;v[a+44>>2]=0;v[a+32>>2]=0;v[a+36>>2]=1072693248;v[a+16>>2]=0;v[a+20>>2]=0;v[a+48>>2]=0;v[a+52>>2]=0;A[a+24>>3]=v[a+128>>2]?.3090169943749:0;_0(a)}function L9(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;a:{e=Tl(a);if(!((c|0)%(e|0)|0)){if(c){break a}return 1}O(42379,6284,615,84349);L()}while(1){f=Qa[v[a+544>>2]](a,b,e,d)|0;if((f|0)==1){b=b+e|0;c=c-e|0;if(c){continue}}break}return(f|0)==1|0}function K9(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;a:{e=Gi(a);if(!((c|0)%(e|0)|0)){if(c){break a}return 1}O(42379,6284,600,84331);L()}while(1){f=Qa[v[a+544>>2]](a,b,e,d)|0;if((f|0)==1){b=b+e|0;c=c-e|0;if(c){continue}}break}return(f|0)==1|0}function JY(a,b){var c=0,d=0;v[a>>2]=0;v[a+32>>2]=v[b>>2];d=v[b+24>>2];v[a+4>>2]=v[b+4>>2];c=v[b+8>>2];v[a+12>>2]=0;v[a+16>>2]=0;v[a+8>>2]=c;c=v[b+20>>2];v[a+24>>2]=d;v[a+20>>2]=c;v[a+28>>2]=v[b+28>>2];v[a+40>>2]=v[b+16>>2];v[a+36>>2]=v[b+12>>2]}function I1a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;e=v[a+40>>2];b=v[a+52>>2];c=Qa[v[v[b>>2]+20>>2]](b,2)|0;f=Qa[v[v[b>>2]+36>>2]](b)|0;if(v[e+16>>2]>0){c=c-2|0;while(1){Qa[v[v[b>>2]+28>>2]](b,f);_4(a,d,c);d=d+1|0;if((d|0)>2]){continue}break}}}function $ea(a){a=a|0;var b=0,c=0;v[a>>2]=984096;xd(a+48|0);xd(a+24|0);b=v[a+20>>2];v[a+20>>2]=0;a:{if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}db(a+8|0);bc(a);$a(a)}function tBa(a,b){a=a|0;b=b|0;var c=0,d=0;a=v[a>>2];b=v[b>>2];if((a|0)==(b|0)){return 1}if(!(!a|!b)){c=w[a|0];a:{if(!c){break a}while(1){if(w[b|0]!=(c|0)){d=c;break a}b=b+1|0;c=w[a+1|0];a=a+1|0;if(c){continue}break}}c=w[b|0]==(d&255)}return c|0}function ssa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;if((Qa[v[v[a>>2]+28>>2]](a)|0)>=1){d=0;while(1){e=d<<3;f=e+b|0;v[f>>2]=0;v[f+4>>2]=0;e=c+e|0;v[e>>2]=0;v[e+4>>2]=1072693248;d=d+1|0;if((Qa[v[v[a>>2]+28>>2]](a)|0)>(d|0)){continue}break}}}function s6(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;v[a+12>>2]=0;d=gb(c);v[a+12>>2]=d;a:{b:{if(!d){break b}d=Hh(b,d,c);b=v[a+12>>2];if((c|0)==(d|0)){t[(b+c|0)-1|0]=0;b=v[a+12>>2];a=0;if((zb(b)+1|0)==(c|0)){break a}}if(!b){break b}$a(b)}a=-1}return a|0}function L3(a){Ge(a,17);v[a+976>>2]=0;v[a+980>>2]=0;v[a>>2]=54456;v[a+984>>2]=0;v[a+988>>2]=0;v[a+992>>2]=0;v[a+996>>2]=0;v[a+1e3>>2]=0;v[a+1004>>2]=0;v[a+1008>>2]=0;v[a+1012>>2]=0;v[a+1016>>2]=1065353216;v[a+1020>>2]=-1;v[a+1024>>2]=0;return a}function psa(a){a=a|0;var b=0;b=ab(72);v[b+4>>2]=15;v[b+8>>2]=0;v[b>>2]=887532;A[b+16>>3]=A[a+16>>3];A[b+24>>3]=A[a+24>>3];A[b+32>>3]=A[a+32>>3];A[b+40>>3]=A[a+40>>3];A[b+48>>3]=A[a+48>>3];A[b+56>>3]=A[a+56>>3];A[b+64>>3]=A[a+64>>3];return b|0}function gLa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=6;a=Hj(v[a+140>>2],b);a:{if(!a){break a}b:{c:{switch(v[a+4>>2]-1|0){case 0:v[c>>2]=1;break b;case 1:v[c>>2]=2;break b;case 2:break c;default:break a}}v[c>>2]=3}v[c+4>>2]=v[a+12>>2];d=0}return d|0}function fua(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=cb(ab(2992),a,2992);c=v[b+4>>2];e=1<>2]=d;cb(d,v[a+2456>>2],4<>2];c=Pb(d,8);v[b+2460>>2]=c;cb(c,v[a+2460>>2],d<<3);f=b,g=Pb(e,8),v[f+2468>>2]=g;return b|0}function UVa(a,b){a=a|0;b=b|0;var c=0,d=0;if(w[b+32|0]){return hd(a,v[b>>2],0,0)|0}d=v[a+428>>2];c=v[b+36>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+8|0]=c;t[d+9|0]=c>>>8;t[d+10|0]=c>>>16;t[d+11|0]=c>>>24;return hd(a,v[b>>2],4,d+8|0)|0}function ria(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{if((c|0)<1){break a}c=c-1|0;if(!d){while(1){Lf(a,b);b=b+16|0;a=a+16|0;d=(c|0)>0;c=c-1|0;if(d){continue}break a}}while(1){Lf(a,b);ac(b);b=b+16|0;a=a+16|0;d=(c|0)>0;c=c-1|0;if(d){continue}break}}}function iu(a,b){var c=0,d=0,e=0,f=0;c=a*a;d=c*.5;e=1-d;f=1-e-d;d=c*c;return e+(f+(c*(c*(c*(c*2480158728947673e-20+-.001388888888887411)+.0416666666666666)+d*d*(c*(c*-1.1359647557788195e-11+2.087572321298175e-9)+-2.7557314351390663e-7))-a*b))}function bu(a,b){var c=0,d=0;d=Ma-16|0;Ma=d;c=d+8|0;a=v[a+28>>2];v[c>>2]=a;v[a+4>>2]=v[a+4>>2]+1;a=hi(c);Qa[v[v[a>>2]+48>>2]](a,1004032,1004058,b)|0;a=v[c>>2];c=v[a+4>>2]-1|0;v[a+4>>2]=c;if((c|0)==-1){Qa[v[v[a>>2]+8>>2]](a)}Ma=d+16|0;return b}function YRa(a,b){a=a|0;b=b|0;var c=0;c=0;a:{if(Cc(a,326422)){break a}b:{if(w[a|0]!=65|(b|0)<8|(w[a+1|0]!=84|w[a+2|0]!=38)){break b}if(w[a+3|0]!=84|w[a+4|0]!=70|(w[a+5|0]!=79|w[a+6|0]!=82)){break b}c=1;if(w[a+7|0]==77){break a}}c=2}return c|0}function SHa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=Ma-16|0;Ma=e;f=v[v[a+128>>2]+52>>2];a:{if(f){a=Qa[v[v[f>>2]>>2]](v[f+4>>2],b,e+8|0)|0;v[c>>2]=v[e+8>>2];v[d>>2]=v[e+12>>2];break a}a=SA(v[a+712>>2]+1204|0,b,c,d)}Ma=e+16|0;return a|0}function OFa(a){a=a|0;var b=0,c=0,d=0;if(v[a+12>>2]==-559038737){c=v[a+32>>2];b=c;d=v[a>>2];if(d){Qa[v[b+8>>2]](b,d)}v[a>>2]=0;b=v[a+24>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+24>>2]=0;b=v[a+28>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+12>>2]=0;v[a+28>>2]=0}}function nHa(a,b){a=a|0;b=b|0;var c=0;c=v[a+192>>2];v[b+24>>2]=v[a+188>>2];v[b+28>>2]=c;c=v[a+184>>2];v[b+16>>2]=v[a+180>>2];v[b+20>>2]=c;c=v[a+176>>2];v[b+8>>2]=v[a+172>>2];v[b+12>>2]=c;c=v[a+168>>2];v[b>>2]=v[a+164>>2];v[b+4>>2]=c;return 0}function lE(a){var b=0;b=ab(56);v[b+12>>2]=0;v[b+16>>2]=0;v[b+8>>2]=1065353216;v[b+4>>2]=0;v[b+40>>2]=0;v[b+44>>2]=0;v[b+36>>2]=10;v[b>>2]=983864;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+32>>2]=0;v[b+48>>2]=0;v[b+52>>2]=0;v[a>>2]=0;qb(a,b)}function jma(a){a=a|0;var b=0,c=0,d=0;b=v[a+44>>2];c=v[a+24>>2];if(b>>>0>>0){v[a+44>>2]=c;b=c}d=-1;a:{if(!(w[a+48|0]&8)){break a}c=v[a+16>>2];if(c>>>0>>0){v[a+16>>2]=b}else{b=c}a=v[a+12>>2];if(a>>>0>=b>>>0){break a}d=v[a>>2]}return d|0}function bl(a,b){a=a|0;b=b|0;var c=0,d=0;b=(b|0)<1?96:b;v[a+364>>2]=b;d=a;c=H(+(b|0)*1e4/254+.5);a:{if(D(c)<2147483648){b=~~c;break a}b=-2147483648}v[d+36>>2]=b;a=v[a+4>>2];if(a){t[a+24|0]=b;t[a+25|0]=b>>>8;t[a+26|0]=b>>>16;t[a+27|0]=b>>>24}}function _n(a,b){a=a|0;b=b|0;var c=0,d=0;b=(b|0)<1?96:b;v[a+368>>2]=b;d=a;c=H(+(b|0)*1e4/254+.5);a:{if(D(c)<2147483648){b=~~c;break a}b=-2147483648}v[d+40>>2]=b;a=v[a+4>>2];if(a){t[a+28|0]=b;t[a+29|0]=b>>>8;t[a+30|0]=b>>>16;t[a+31|0]=b>>>24}}function OIa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=Ma-16|0;Ma=d;e=b>>>0<4?b:4;if(e){b=0;while(1){f=b<<2;g=v[f+c>>2];v[d+f>>2]=((g+(g>>31)|0)+32768&-65536)>>16;b=b+1|0;if((e|0)!=(b|0)){continue}break}}a=U_(a,e,d);Ma=d+16|0;return a|0}function MUa(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1229472850){ob(a,2050,0,0);return 2050}v[b+32>>2]=v[c+32>>2];v[b+36>>2]=v[c+36>>2];t[b+40|0]=w[c+40|0];t[b+41|0]=w[c+41|0];t[b+42|0]=w[c+42|0];t[b+43|0]=w[c+43|0];t[b+44|0]=w[c+44|0];return 0}function Lj(a){var b=0,c=0;a:{if(!a){break a}b=v[a>>2];if(!b){break a}c=v[b+8>>2]-1|0;v[b+8>>2]=c;if(!c){if(v[b>>2]>=1){c=0;while(1){_b(v[b+12>>2]+(c<<2)|0);c=c+1|0;if((c|0)>2]){continue}break}}$a(v[b+12>>2]);Fn(b+16|0);$a(b)}v[a>>2]=0}}function $2(a,b,c){var d=0;a:{if(!a){break a}a=v[a+16>>2];if(!a|(b|0)<0){break a}if(v[a>>2]<=(b|0)){return 0}if(c-1>>>0>1){return 0}a=v[v[a+12>>2]+(b<<2)>>2];if(!a){break a}if((c|0)==1){return T2(a)}if(a){v[a+16>>2]=v[a+16>>2]+1}d=a}return d}function l8(a){a=a|0;var b=0;b=v[a+584>>2];if(b){v[a+672>>2]=v[b+892>>2];v[a+668>>2]=v[b+896>>2];v[a+676>>2]=v[b+900>>2];if(v[b+488>>2]){DM(b)}b=v[b+912>>2];if(b){$a(b)}$a(v[a+584>>2]);v[a+584>>2]=0;xp(a);return}O(53756,7121,1575,88153);L()}function fq(a,b,c,d){var e=0;if(!(!a|b>>>0<=c>>>0)){a:{if(!d){break a}e=w[d|0];if(!e){break a}b=b-1|0;if(b>>>0<=c>>>0){break a}while(1){t[a+c|0]=e;c=c+1|0;e=w[d+1|0];if(!e){break a}d=d+1|0;if(b>>>0>c>>>0){continue}break}}t[a+c|0]=0}return c}function aVa(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[b+32>>2];a:{if(!c){break a}d=v[b+36>>2];if(!d){break a}Qa[v[a+156>>2]](d,c+1|0)}c=v[b+40>>2];b:{if(!c){break b}d=v[b+44>>2];if(!d){break b}Qa[v[a+156>>2]](d,c+1|0)}Qa[v[a+156>>2]](b,48);return 0}function Yc(a,b){var c=0;c=Ma-16|0;Ma=c;a:{if(a){if(v[a+172>>2]==-1?v[a+212>>2]:0){break a}v[a+212>>2]=1;v[a+172>>2]=-1;v[a+84>>2]=2}if(b){v[c>>2]=b;nb(0,0,0,a,0,1,2,3,b,0,0,0,340689,c);break a}nb(0,0,0,a,0,1,2,3,0,0,0,0,344777,0)}Ma=c+16|0}function Y_(a,b){a=a|0;b=b|0;var c=0;c=v[a+136>>2];v[b>>2]=v[a+132>>2];v[b+4>>2]=c;c=v[a+160>>2];v[b+24>>2]=v[a+156>>2];v[b+28>>2]=c;c=v[a+152>>2];v[b+16>>2]=v[a+148>>2];v[b+20>>2]=c;c=v[a+144>>2];v[b+8>>2]=v[a+140>>2];v[b+12>>2]=c;return 0}function WE(a,b){var c=0;c=Ma-16|0;Ma=c;v[c+8>>2]=0;qb(c+8|0,a);Rg(v[c+8>>2],b);a=v[c+8>>2];v[c+8>>2]=0;a:{if(!a){break a}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break a}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}Ma=c+16|0}function Oma(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=Ma-32|0;Ma=e;f=e+16|0;Qa[v[v[a>>2]+12>>2]](f,a,b);hw(f);v[e+12>>2]=0;v[e+4>>2]=0;v[e+8>>2]=0;v[e>>2]=520704;Eq(e,f);CA(e,c,d);Si(e);Xh(e);if(t[e+27|0]<=-1){$a(v[e+16>>2])}Ma=e+32|0}function v1a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;Qa[v[v[a>>2]+12>>2]](a);a:{d=f5();if(d){if(c?b:0){break a}$a(d)}v[a+4>>2]=0;return 0}v[d+20>>2]=b;v[d+12>>2]=b;v[d+8>>2]=c;v[d+4>>2]=b;v[d>>2]=1;v[d+16>>2]=b+c;v[a+16>>2]=c;v[a+4>>2]=d;return 1}function eJa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=v[((c<<2)+a|0)+268>>2];c=v[a+484>>2];e=v[a+488>>2];if((b|0)>=0){a=c+(((b+d|0)+e|0)-c&0-v[a+480>>2])|0;return((a|0)<0?c:a)|0}a=0-(c+(d+e-(b+c)&0-v[a+480>>2])|0)|0;return((a|0)>0?0-c|0:a)|0}function TUa(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[b+36>>2];a:{if(!c){break a}d=v[b+40>>2];if(!d){break a}Qa[v[a+156>>2]](d,c+1|0)}c=v[b+76>>2];b:{if(!c){break b}d=v[b+80>>2];if(!d){break b}Qa[v[a+156>>2]](d,c<<2)}Qa[v[a+156>>2]](b,84);return 0}function zna(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=Qa[v[v[a>>2]+40>>2]](a)|0;a:{if(a){while(1){if(!(Qa[v[v[a>>2]+52>>2]](a,b,c)|0)){break a}if(!(Qa[b|0](c,348279,1)|0)){break a}a=Qa[v[v[a>>2]+44>>2]](a)|0;if(a){continue}break}}d=1}return d|0}function yIa(a){a=a|0;var b=0,c=0;if(v[v[a+40>>2]>>2]){c=v[a>>2];b=v[c+552>>2];c=tg(v[v[c+96>>2]+4>>2],239159);a:{if(!c|!b){break a}b=v[b>>2];if(!b){break a}b=Qa[b|0](c)|0;if(!b){break a}Qa[v[b+8>>2]](v[v[a+40>>2]>>2])}v[v[a+40>>2]>>2]=0}}function rba(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=v[b>>2];if((a|0)<=0){v[b>>2]=256;a=256}d=v[c>>2];if((d|0)<=0){d=256;v[c>>2]=256;a=v[b>>2]}if(a&15){v[b>>2]=a>>>0<4294967280?a+15&-16:0;d=v[c>>2]}if(d&15){v[c>>2]=d>>>0<4294967280?d+15&-16:0}}function hHa(a){a=a|0;var b=0,c=0;if(v[v[a+40>>2]>>2]){c=v[a>>2];b=v[c+320>>2];c=tg(v[v[c+96>>2]+4>>2],239159);a:{if(!c|!b){break a}b=v[b>>2];if(!b){break a}b=Qa[b|0](c)|0;if(!b){break a}Qa[v[b+8>>2]](v[v[a+40>>2]>>2])}v[v[a+40>>2]>>2]=0}}function S8(a){a=a|0;var b=0,c=0,d=0;b=v[a+584>>2];Yk(a,1,12);Yk(a,1,12);if(v[b+68>>2]!=8){if(v[a+608>>2]>=v[a+600>>2]){Xd(a)}d=v[b+64>>2];c=v[a+604>>2];v[a+604>>2]=c+1;t[c|0]=d;v[a+608>>2]=v[a+608>>2]+1;v[b+64>>2]=0;v[b+68>>2]=8}return 1}function Q9(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;a:{e=Tl(a);if(!((c|0)%(e|0)|0)){if(c){break a}return 1}O(42379,6284,363,84271);L()}while(1){f=Qa[v[a+540>>2]](a,b,e,d)|0;if(f){b=b+e|0;c=c-e|0;if(c){continue}}break}return(f|0)!=0|0}function P9(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;a:{e=Gi(a);if(!((c|0)%(e|0)|0)){if(c){break a}return 1}O(42379,6284,347,84253);L()}while(1){f=Qa[v[a+540>>2]](a,b,e,d)|0;if(f){b=b+e|0;c=c-e|0;if(c){continue}}break}return(f|0)!=0|0}function KVa(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[a+428>>2];d=x[b+32>>1];d=d<<8|d>>>8;t[c+8|0]=d;t[c+9|0]=d>>>8;t[c+10|0]=w[b+34|0];t[c+11|0]=w[b+35|0];t[c+12|0]=w[b+36|0];t[c+13|0]=w[b+37|0];t[c+14|0]=w[b+38|0];return hd(a,v[b>>2],7,c+8|0)|0}function y2a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;b=v[a+4>>2];a:{b:{if(b){b=gb(b);v[a+12>>2]=b;d=-1;if(!b){break a}b=Hh(c,b,v[a+4>>2]);if((b|0)!=v[a+4>>2]){$a(v[a+12>>2]);return-1}v[a+16>>2]=b;break b}v[a+12>>2]=0;v[a+16>>2]=0}d=0}return d|0}function tg(a,b){var c=0,d=0;if(!a){return 0}if(!b){return 0}c=v[a+16>>2];if((c|0)<1){return 0}c=((c<<2)+a|0)+20|0;a=a+20|0;a:{while(1){d=v[a>>2];if(!hb(v[v[d>>2]+8>>2],b)){break a}a=a+4|0;if(c>>>0>a>>>0){continue}break}return 0}return d}function hwa(a,b){a=a|0;b=b|0;var c=0;c=Ma-16|0;Ma=c;if(!(w[a+208|0]|w[a+203|0])){Ak(a,v[b+596>>2],A[b+104>>3],b+16|0);b=v[a+104>>2];Qa[v[v[b>>2]+328>>2]](b,878836)|0;a=v[a+104>>2];v[c+12>>2]=4;Qa[v[v[a>>2]+292>>2]](a,c+12|0)|0}Ma=c+16|0}function gwa(a,b){a=a|0;b=b|0;var c=0;c=Ma-16|0;Ma=c;if(!(w[a+208|0]|w[a+203|0])){Ak(a,v[b+596>>2],A[b+104>>3],b+16|0);b=v[a+104>>2];Qa[v[v[b>>2]+328>>2]](b,878840)|0;a=v[a+104>>2];v[c+12>>2]=4;Qa[v[v[a>>2]+292>>2]](a,c+12|0)|0}Ma=c+16|0}function fwa(a,b){a=a|0;b=b|0;var c=0;c=Ma-16|0;Ma=c;if(!(w[a+208|0]|w[a+203|0])){Ak(a,v[b+596>>2],A[b+104>>3],b+16|0);b=v[a+104>>2];Qa[v[v[b>>2]+328>>2]](b,878844)|0;a=v[a+104>>2];v[c+12>>2]=4;Qa[v[v[a>>2]+292>>2]](a,c+12|0)|0}Ma=c+16|0}function a9(a,b){a=a|0;b=b|0;var c=0;b=v[a+584>>2];if(b){v[b+72>>2]=0;v[b+64>>2]=0;v[b+68>>2]=0;v[b+60>>2]=x[a+94>>1]!=2?82032:82288;a=v[b+84>>2];if(a){c=v[b+12>>2];v[a+4>>2]=0;v[a>>2]=c}v[b+108>>2]=0;return 1}O(58391,7814,156,86130);L()}function WN(a){var b=0,c=0;b=Ma-16|0;Ma=b;v[b>>2]=1189008;c=v[297253];v[b+4>>2]=c;v[b+8>>2]=c+(a<<2);a=v[b+4>>2];c=v[b+8>>2];while(1){if((a|0)==(c|0)){v[v[b>>2]+4>>2]=v[b+4>>2];Ma=b+16|0}else{v[a>>2]=0;a=a+4|0;v[b+4>>2]=a;continue}break}}function Dma(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=w[c+11|0];b=d<<24>>24<0;e=v[c+4>>2];if(!(!(b?e:d)|v[(b?v[c>>2]:c)>>2]!=47)){bf(a,c,1,-1);return}if(!b){b=v[c+4>>2];v[a>>2]=v[c>>2];v[a+4>>2]=b;v[a+8>>2]=v[c+8>>2];return}vc(a,v[c>>2],e)}function Cea(a){a=a|0;var b=0,c=0;v[a>>2]=986176;hQ(a);v[a>>2]=986208;b=v[a+8>>2];v[a+8>>2]=0;a:{if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}bc(a);return a|0}function mEa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;a:{if(v[a+4>>2]){break a}e=c;g=a+52|0;f=v[g>>2];c=v[a+16>>2];if((e|0)!=(f+c|0)){break a}e=v[a>>2];c=HA(a+16|0,d,f,c,b,e);if(!c){c=HA(g,d,0,f,b,e);if(!c){break a}}v[a+4>>2]=c}}function bVa(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[b+36>>2];a:{if(!c){break a}d=v[b+40>>2];if(!d){break a}Qa[v[a+156>>2]](d,c+1|0)}c=v[b+48>>2];b:{if(!c){break b}d=v[b+52>>2];if(!d){break b}Qa[v[a+156>>2]](d,c)}Qa[v[a+156>>2]](b,56);return 0}function Sd(a){a=a|0;var b=0,c=0;if(!a){return 0}b=a;while(1){c=b;b=c+1|0;if(w[c|0]){continue}break}b=0;c=c-a|0;if((c|0)>=0){b=Qa[v[256555]](c+1|0)|0;if(!b){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);return 0}b=cb(b,a,c);t[c+b|0]=0}return b|0}function Rsa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=A[b+24>>3];c=v[b+24>>2];f=v[b+16>>2];a=v[a+28>>2];e=v[b>>2]==1?+v[b+8>>2]:A[b+8>>3];A[a+600>>3]=e;d=(f|0)==1?+(c|0):d;A[a+608>>3]=d;a=v[a+596>>2];A[a+16>>3]=d;A[a+8>>3]=e;v[a>>2]=1}function RDa(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;f=6;a:{if(!d|!e){break a}g=x[a+152>>1];if(c){f=142;if(b>>>0>=g>>>0){break a}a=v[a+156>>2]+(b<<4)|0;v[c>>2]=v[a>>2];v[d>>2]=v[a+8>>2];g=v[a+12>>2]}v[e>>2]=g;f=0}return f|0}function $Ua(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[b+32>>2];a:{if(!c){break a}d=v[b+36>>2];if(!d){break a}Qa[v[a+156>>2]](d,c+1|0)}c=v[b+44>>2];b:{if(!c){break b}d=v[b+48>>2];if(!d){break b}Qa[v[a+156>>2]](d,c)}Qa[v[a+156>>2]](b,52);return 0}function p2a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;b=-1;a:{if(qf(c,a+12|0)){break a}d=v[a+4>>2]-2|0;v[a+16>>2]=d;b:{if(d){d=gb(d);v[a+20>>2]=d;if(!d){break a}if((Hh(c,d,v[a+16>>2])|0)==v[a+16>>2]){break b}break a}v[a+20>>2]=0}b=0}return b|0}function lwa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Ma-16|0;Ma=c;d=v[a+104>>2];f=c;e=A[b+400>>3]*255;a:{if(D(e)<2147483648){b=~~e;break a}b=-2147483648}a=(b|0)>0?b:0;v[f+12>>2]=(a|0)<255?a:255;Qa[v[v[d>>2]+60>>2]](d,c+12|0)|0;Ma=c+16|0}function jUa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if(v[c>>2]!=1145656131){ob(a,2050,0,0);return 2050}d=v[c+32>>2];v[b+32>>2]=d;if(d){e=b;d=d<<1;b=Qa[v[a+152>>2]](d)|0;v[e+36>>2]=b;if(!b){ob(a,1,0,0);return 1}cb(b,v[c+36>>2],d)}return 0}function eB(a,b){var c=0,d=0,e=0,f=0,g=0;if(a){c=v[a+20>>2];d=b;e=v[a+4>>2];if(e){while(1){f=v[c>>2];if(f){Qa[v[b+8>>2]](b,f)}v[c>>2]=0;c=c+4|0;g=g+1|0;if((g|0)!=(e|0)){continue}break}c=v[a+20>>2]}if(c){Qa[v[d+8>>2]](d,c)}v[a+20>>2]=0}}function NTa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if(v[c>>2]!=1146244944){ob(a,2050,0,0);return 2050}d=v[c+32>>2];v[b+32>>2]=d;if(d){e=b;d=d<<2;b=Qa[v[a+152>>2]](d)|0;v[e+36>>2]=b;if(!b){ob(a,1,0,0);return 1}cb(b,v[c+36>>2],d)}return 0}function LTa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if(v[c>>2]!=1330791506){ob(a,2050,0,0);return 2050}d=v[c+32>>2];v[b+32>>2]=d;if(d){e=b;d=d<<3;b=Qa[v[a+152>>2]](d)|0;v[e+36>>2]=b;if(!b){ob(a,1,0,0);return 1}cb(b,v[c+36>>2],d)}return 0}function KDa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Ma-16|0;Ma=d;e=NI(a,308417,d);a:{if(e){break a}e=NI(a,311567,d+8|0);if(e){break a}e=6;if(v[d>>2]!=1|v[d+8>>2]!=1){break a}v[b>>2]=v[d+12>>2];v[c>>2]=v[d+4>>2];e=0}Ma=d+16|0;return e|0}function AZa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(v[a+2308>>2]){b=v[a+2312>>2];c=v[a+2316>>2];while(1){d=w[b|0];g=c;e=v[a+2296>>2];if(e){d=Qa[e|0](d)|0}t[g|0]=d;c=c+1|0;b=b+1|0;f=f+1|0;if(f>>>0>2]){continue}break}}return 0}function y$a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;c=c-1|0;c=(c|0)>0?c:0;while(1){a:{if((c|0)==(d|0)){d=c;break a}e=Qa[v[v[a>>2]+48>>2]](a)|0;if((e|0)==-1){return 0}t[b+d|0]=e;d=d+1|0;if((e|0)!=10){continue}}break}t[b+d|0]=0;return b|0}function sp(a,b){var c=0,d=0;a=v[a+112>>2];c=v[a>>2];if((c|0)<1){return 0}d=v[a+8>>2];a=0;a:{while(1){if(v[(a<<3)+d>>2]==(b|0)){break a}a=a+1|0;if((c|0)!=(a|0)){continue}break}return 0}a=v[((a<<3)+d|0)+4>>2];v[a>>2]=v[a>>2]+1;return a}function sba(a){a=a|0;var b=0,c=0,d=0;c=Ma-16|0;Ma=c;v[c+12>>2]=v[a+8>>2];b=al(c+8|0,c+12|0);d=Kp(0,0,4);b=v[b>>2];if(b?b:0){v[279293]=(b|0)==-1?1184868:b}Ma=c+16|0;if(d){a=-1}else{a=v[a+8>>2];if(!a){return 1}a=(NN(a)|0)==1}return a|0}function n3a(a,b){a=a|0;b=b|0;var c=0;a:{if(Fh(b,v[a+20>>2])){break a}if(Fh(b,v[a+24>>2])){break a}if(!v[a+28>>2]){return 0}while(1){if(Fh(b,v[((c<<2)+a|0)+32>>2])){break a}c=c+1|0;if(c>>>0>2]){continue}break}return 0}return-1}function my(a,b,c){var d=0;a:{d=v[b>>2];b:{if(d){if(v[b+4>>2]!=(a|0)){break a}v[c+4>>2]=d;v[c>>2]=v[d>>2];break b}v[c+4>>2]=0;v[c>>2]=v[a+8>>2];d=a+8|0}v[d>>2]=c;b=v[c>>2];v[(b?b:a+8|0)+4>>2]=c;v[a+4>>2]=v[a+4>>2]+1;return}wd(b,a);L()}function K0a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;t[a+24|0]=0;a:{if(!v[a+4>>2]){break a}b:{c:{switch(c|0){case 1:b=v[a+16>>2]+b|0;break b;case 0:break b;case 2:break c;default:break a}}b=v[a+8>>2]+b|0}v[a+16>>2]=(b|0)>0?b:0;d=1}return d|0}function JGa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=v[a+16>>2];if(c){f=v[a+20>>2];a=0;while(1){e=(c-a>>>1|0)+a|0;d=v[(e<<4)+f>>2];if((d|0)==(b|0)){return e+1|0}d=b>>>0>d>>>0;c=d?c:e;a=d?e+1|0:a;if(c>>>0>a>>>0){continue}break}}return 0}function HB(a,b){var c=0,d=0,e=0;if(!(!a|!b)){d=v[a>>2];c=v[a+4>>2];a:{if((d|0)<(c|0)){break a}e=c<<1;if((c|0)>=(e|0)){break a}c=Kj(a+12|0,c<<2,c<<3);v[a+12>>2]=c;if(!c){break a}v[a+4>>2]=e}v[v[a+12>>2]+(d<<2)>>2]=b;v[a>>2]=v[a>>2]+1}}function $x(a){var b=0,c=0;c=v[a+28>>2];a:{if((c+34|0)<=4080){b=v[a+24>>2];break a}b=ab(8164);v[b>>2]=v[a+24>>2];c=0;eb(b+4|0,0,8160);v[a+24>>2]=b}v[a+28>>2]=c+34;a=((c<<1)+b|0)+4|0;while(1){b=a;a=b+2|0;if(b&3){continue}break}return b}function Nka(a,b){a=a|0;b=b|0;var c=0;if((b|0)>=1){while(1){zg(a+16|0);v[a+60>>2]=0;v[a+64>>2]=0;v[a+52>>2]=0;v[a+56>>2]=0;c=a+52|0;v[c>>2]=970612;v[c+4>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;a=a+68|0;c=(b|0)>1;b=b-1|0;if(c){continue}break}}}function EQ(a,b,c){var d=0,e=0,f=0;d=Ma-32|0;Ma=d;e=-1;f=v[a+8>>2];a:{if((c|0)<=-1){c=c+f|0;if((c|0)<=-1){break a}}if((c|0)<(f|0)){a=v[a+12>>2];b=Cc(a+c|0,b);e=b?b-a|0:-1}Ma=d+32|0;return e}lb(mb(d+8|0,227406,241775,1695,226149));L()}function AX(a){var b=0,c=0,d=0,e=0;c=Ma-16|0;Ma=c;b=0;a:{if(!a){break a}d=v[a>>2];e=v[a+4>>2];b=0;if((v[a+28>>2]&-2)!=-1412623820){break a}b=(d^-1)+a>>>0<249?d:0}a=b;v[c>>2]=290868;nb(0,e,d,a,0,23,2,3,290868,0,0,0,340689,c);Ma=c+16|0}function $Wa(a){a=a|0;var b=0,c=0,d=0;b=v[a+644>>2];d=v[a+636>>2];v[a+644>>2]=d;v[a+636>>2]=b;c=v[a+588>>2];if((c|0)>=1){b=b+(c<<2)|0;c=0;while(1){b=b-4|0;v[d>>2]=v[b>>2];d=d+4|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function tj(a,b,c){c=v[c+4>>2]&176;if((c|0)==32){return b}a:{if((c|0)!=16){break a}b:{c:{c=w[a|0];switch(c-43|0){case 0:case 2:break c;default:break b}}return a+1|0}if((c|0)!=48|(b-a|0)<2|(w[a+1|0]|32)!=120){break a}a=a+2|0}return a}function rEa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=v[c>>2];d=((d>>31)+d|0)+32768&-65536;c=v[c+4>>2];c=((c>>31)+c|0)+32768&-65536;a:{if(v[a+4>>2]){break a}b=iw((B((b|0)!=0,36)+a|0)+16|0,d>>16,c>>16,v[a>>2],0);if(!b){break a}v[a+4>>2]=b}}function Yx(a){a=a|0;var b=0;b=v[a+44>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}b=v[a+48>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}b=v[a+52>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}v[a+52>>2]=0;v[a+44>>2]=0;v[a+48>>2]=0;v[a+32>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0}function Yfa(a){a=a|0;var b=0;v[a>>2]=979272;b=v[a+56>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}b=v[a+60>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}b=v[a+64>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}v[a+64>>2]=0;v[a+56>>2]=0;v[a+60>>2]=0;Yx(a);jE(a);return a|0}function Kb(a,b,c){var d=0,e=0,f=0;if(!c){return 0}d=w[a|0];a:{if(!d){break a}while(1){b:{e=w[b|0];if(!e){break b}c=c-1|0;if(!c|(d|0)!=(e|0)){break b}b=b+1|0;d=w[a+1|0];a=a+1|0;if(d){continue}break a}break}f=d}return(f&255)-w[b|0]|0}function Bea(a){a=a|0;var b=0,c=0;v[a>>2]=986176;hQ(a);v[a>>2]=986208;b=v[a+8>>2];v[a+8>>2]=0;a:{if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}bc(a);$a(a)}function tM(a,b,c,d){var e=0,f=0,g=0,h=0;f=-1;g=v[279529];a:{if((g|0)<1){break a}e=1118128;while(1){if(v[e>>2]!=(c|0)){e=e+28|0;h=h+1|0;if((g|0)!=(h|0)){continue}break a}break}c=v[e+20>>2];if(!c){break a}f=Qa[c|0](a,b,d)|0}return f}function sb(a,b){var c=0,d=0,e=0;c=ce(b);if(c>>>0<1073741808){a:{b:{if(c>>>0>=2){e=c+4&-4;d=ab(e<<2);v[a+8>>2]=e|-2147483648;v[a>>2]=d;v[a+4>>2]=c;break b}t[a+11|0]=c;d=a;if(!c){break a}}rb(d,b,c)}v[(c<<2)+d>>2]=0;return a}sc();L()}function oJa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{b:{switch(v[v[v[a>>2]+96>>2]+64>>2]-35|0){case 5:if(w[a+615|0]){break a}break;case 0:break b;default:break a}}a=v[b+16>>2]+(c<<3)|0;v[a>>2]=v[a>>2]+d}a=v[b+24>>2]+c|0;t[a|0]=w[a|0]|8}function o$a(a){a=a|0;var b=0,c=0,d=0;if(v[a+588>>2]>=1){b=v[a+540>>2];b=v[b+1176>>2]+B(v[b+1168>>2],v[a+2552>>2])|0;c=v[a+2516>>2];while(1){t[b|0]=w[c|0];c=c+1|0;b=b+2|0;d=d+1|0;if((d|0)>2]){continue}break}}return fC(a)|0}function nja(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=v[a+12>>2];d=Qa[v[v[d>>2]+16>>2]](d)|0;e=v[a+20>>2];if(!(!e|(v[a+24>>2]/256|0)==((d|0)/256|0))){Qa[e|0](d,v[a+16>>2]);v[a+24>>2]=d}a=v[a+12>>2];return Qa[v[v[a>>2]+8>>2]](a,b,c)|0}function lR(a,b,c){var d=0;a:{d=v[b>>2];b:{if(d){if(v[b+4>>2]!=(a|0)){break a}b=d+4|0;break b}d=0;b=a+12|0}b=v[b>>2];v[c>>2]=d;v[c+4>>2]=b;d=a+8|0;v[(b?b:d)>>2]=c;b=v[c>>2];v[(b?b:d)+4>>2]=c;v[a+4>>2]=v[a+4>>2]+1;return}wd(b,a);L()}function vC(a,b,c){a:{b:{c:{switch(a|0){default:O(11209,7464,144,188994);L();case 0:break b;case 1:break c}}if(!b){a=0;if(!c){break b}O(13910,7464,146,188994);L()}a=c-1|0;if(a>>>0>=3){break a}a=v[(a<<2)+189012>>2]}return a}S();L()}function rBa(a){a=a|0;var b=0,c=0;b=v[a+20>>2];if((b|0)!=100){c=v[a>>2];v[c+24>>2]=b;v[c+20>>2]=21;Qa[v[v[a>>2]>>2]](a)}Qa[v[v[a>>2]+16>>2]](a);Qa[v[v[a+24>>2]+8>>2]](a);BY(a);Qa[v[v[a+404>>2]+16>>2]](a);Qa[v[v[a+24>>2]+16>>2]](a)}function mf(a,b,c){var d=0,e=0,f=0;e=Ma-16|0;Ma=e;d=v[a+8>>2]&2147483647;a:{if(d>>>0>c>>>0){d=v[a>>2];v[a+4>>2]=c;rk(d,b,c);v[e+12>>2]=0;v[d+(c<<2)>>2]=v[e+12>>2];break a}f=a;a=v[a+4>>2];sr(f,d-1|0,(c-d|0)+1|0,a,0,a,c,b)}Ma=e+16|0}function Wua(a){a=a|0;var b=0;v[a>>2]=880812;b=v[a+20>>2];if(b){tb(b)}b=v[a+24>>2];if(!(!b|(b|0)==1026768)){tb(v[b>>2]);b=1;while(1){tb(v[v[a+24>>2]+(b<<2)>>2]);b=b+1|0;if((b|0)!=256){continue}break}tb(v[a+24>>2])}Ds(a);return a|0}function NPa(a,b){a=a|0;b=b|0;var c=0;c=Ma-32|0;Ma=c;v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=0;v[c+4>>2]=0;A[c+16>>3]=v[b+4>>2];A[c+24>>3]=v[b+8>>2];Qa[v[v[a>>2]+(v[b+12>>2]>0?504:500)>>2]](a,v[b+16>>2],c,v[b+4>>2],v[b+8>>2],0);Ma=c+32|0}function Gza(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Ma-16|0;Ma=d;f=v[a+4>>2];e=v[f+8>>2];if(w[e+14|0]){t[d+12|0]=126;t[d+13|0]=125;t[e+14|0]=0;e=d+14|0}else{e=d+12|0}t[e|0]=w[v[f+20>>2]];EI(a,d+12|0,(e-d|0)-11|0,b,c);Ma=d+16|0}function zm(a,b){var c=0,d=0,e=0;a:{if(!a|!b){break a}c=v[a+16>>2];if((c|0)<1){break a}c=((c<<2)+a|0)+20|0;a=a+20|0;while(1){d=v[v[a>>2]>>2];if(hb(v[d+8>>2],b)){a=a+4|0;if(c>>>0>a>>>0){continue}break a}break}e=v[d+20>>2]}return e}function zZa(a){a=a|0;var b=0,c=0,d=0,e=0;if(v[a+2308>>2]){c=v[a+2312>>2];b=v[a+2316>>2];while(1){d=Qa[v[a+2296>>2]](w[c|0])|0;t[b+1|0]=(d|0)!=0;t[b|0]=d>>>8;b=b+2|0;c=c+1|0;e=e+1|0;if(e>>>0>2]){continue}break}}return 0}function vV(a){var b=0,c=0,d=0,e=0;b=v[a+4>>2];c=v[b+8>>2];if((c|0)>=1){while(1){e=v[v[b>>2]+(d<<2)>>2];if(e){Qa[v[v[e>>2]+4>>2]](e);c=v[b+8>>2]}d=d+1|0;if((d|0)<(c|0)){continue}break}}$a(mc(b));b=v[a>>2];if(b){$a(Vg(b))}return a}function hga(a){a=a|0;var b=0,c=0;v[a>>2]=978892;ec(a+28|0);b=v[a+16>>2];v[a+16>>2]=0;a:{if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}fy(a);return a|0}function eFa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=Ma-16|0;Ma=f;e=cc(b,16,f+12|0);g=v[f+12>>2];if(!g){v[e+12>>2]=2;v[e+8>>2]=d;v[e>>2]=c;v[e+4>>2]=c;v[a+8>>2]=0;v[a+12>>2]=0;v[a+4>>2]=e;v[a>>2]=b}Ma=f+16|0;return g|0}function bUa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(v[c>>2]!=1397048651){ob(a,2050,0,0);return 2050}d=v[c+32>>2];v[b+32>>2]=d;if(d){d=Qa[v[a+152>>2]](d)|0;v[b+36>>2]=d;if(!d){ob(a,1,0,0);return 1}cb(d,v[c+36>>2],v[b+32>>2])}return 0}function bC(a){var b=0;b=v[a+644>>2];if(b){Qa[v[a+156>>2]](b,v[a+316>>2]<<3)}b=v[a+640>>2];if(b){Qa[v[a+156>>2]](b,v[a+608>>2])}b=v[a+636>>2];if(b){Qa[v[a+156>>2]](b,v[a+608>>2])}v[a+644>>2]=0;v[a+636>>2]=0;v[a+640>>2]=0;return 0}function _j(a,b){var c=0,d=0;d=-1;a:{if(!b){break a}while(1){if(!a){break a}c=v[a+16>>2];if(c){while(1){if(!(y[c+4>>2]>>0|c+20>>>0>b>>>0)){return 1}c=v[c>>2];if(c){continue}break}}a=v[a+20>>2];if(a){continue}break}d=0}return d}function ZTa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(v[c>>2]!=1850033476){ob(a,2050,0,0);return 2050}d=v[c+32>>2];v[b+32>>2]=d;if(d){d=Qa[v[a+152>>2]](d)|0;v[b+36>>2]=d;if(!d){ob(a,1,0,0);return 1}cb(d,v[c+36>>2],v[b+32>>2])}return 0}function Pea(a){a=a|0;var b=0,c=0;v[a>>2]=985936;db(a+16|0);b=v[a+12>>2];v[a+12>>2]=0;a:{if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}fm(a);return a|0}function uqa(a){a=a|0;var b=0,c=0;b=v[a+236>>2];if(b>>>0<=7){RU(a);b=v[a+236>>2]}a:{if((b|0)==8){b=w[a+232|0];break a}if(b>>>0>=9){c=b-8|0;b=v[a+232>>2]>>>c|0;break a}if(!b){return-1}b=v[a+232>>2]<<8-b}v[a+236>>2]=c;return b&255}function tn(a,b){var c=0,d=0,e=0,f=0;a:{c=v[a+280>>2];if((c|0)<1){break a}d=v[a+284>>2];a=0;while(1){b:{f=a;e=hb(v[B(a,12)+d>>2],b);a=a+1|0;if((c|0)<=(a|0)){break b}if(e){continue}}break}if(e){break a}return B(f,12)+d|0}return 0}function ooa(a){a=a|0;var b=0;tb(v[a+3480>>2]);v[a+3480>>2]=0;b=a+3484|0;tb(v[b>>2]);v[b>>2]=0;b=a+3488|0;tb(v[b>>2]);v[b>>2]=0;b=a+3492|0;tb(v[b>>2]);v[b>>2]=0;tb(v[a+3468>>2]);v[a+3468>>2]=0;a=v[a+4>>2];Qa[v[v[a>>2]+24>>2]](a)}function oEa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;a:{if(v[a+4>>2]){break a}d=v[a+16>>2];e=a+52|0;f=v[e>>2];if((d+f|0)!=(b|0)){break a}g=v[a>>2];b=HA(a+16|0,c,0,d,0,g);if(!b){b=HA(e,c,d,f,0,g);if(!b){break a}}v[a+4>>2]=b}}function o1(a){var b=0,c=0,d=0,e=0;c=v[a+80>>2];if(c){d=c-4|0;a=v[d>>2];if(a){a=B(a,96)+c|0;while(1){b=a;a=a-96|0;a:{if(!v[b-4>>2]){break a}b=b-8|0;e=v[b>>2];if(!e){break a}$a(e);v[b>>2]=0}if((a|0)!=(c|0)){continue}break}}$a(d)}}function Xc(a,b){var c=0;c=Ma-16|0;Ma=c;b=v[v[b+4>>2]+4>>2];a:{if(!b){v[a>>2]=0;t[a+11|0]=0;break a}b=Iv(b);if(!b){v[a>>2]=0;t[a+11|0]=0;break a}Zg(c,b,zb(b));v[a+8>>2]=v[c+8>>2];b=v[c+4>>2];v[a>>2]=v[c>>2];v[a+4>>2]=b}Ma=c+16|0}function LDa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=Ma-16|0;Ma=d;e=v[a+16>>2];a:{if((e|0)<0){break a}if(e){while(1){if(!FA(a,c,d+12|0)){if(!hb(b,v[d+12>>2])){break a}}c=c+1|0;if((e|0)!=(c|0)){continue}break}}c=0}Ma=d+16|0;return c|0}function EEa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a=v[a>>2];d=a&2147483647;b=v[b>>2];e=b&2147483647;a:{if((d|0)==(e|0)){c=1;if(a>>>0>b>>>0){break a}return(a>>>0>>0?-1:0)|0}c=1;if(d>>>0>e>>>0){break a}c=d>>>0>>0?-1:0}return c|0}function oZa(a){a=a|0;var b=0,c=0,d=0,e=0;if(v[a+2308>>2]){c=v[a+2312>>2];b=v[a+2316>>2];while(1){d=w[c|0];t[b+3|0]=w[c+1|0];t[b+2|0]=d;t[b+1|0]=d;t[b|0]=d;b=b+4|0;c=c+2|0;e=e+1|0;if(e>>>0>2]){continue}break}}return 0}function i7(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:{d=v[a+584>>2];if(d){e=v[d+44>>2];if(!e){break a}if((b|0)==317){u[v[c>>2]>>1]=v[d>>2];return 1}return Qa[e|0](a,b,c)|0}O(16309,6354,640,187913);L()}O(18966,6354,641,187913);L()}function _e(a,b,c){var d=0,e=0,f=0;d=v[a+8>>2];f=v[a+4>>2];if(d>>>0>>0){e=v[a+20>>2];a:{if(e){b=Qa[e|0](a,d,b,c)|0;break a}e=b;b=f-d|0;b=b>>>0>c>>>0?c:b;cb(e,v[a>>2]+d|0,b)}v[a+8>>2]=b+d;a=b>>>0>>0?85:0}else{a=85}return a}function Xfa(a){a=a|0;var b=0;v[a>>2]=979272;b=v[a+56>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}b=v[a+60>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}b=v[a+64>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}v[a+64>>2]=0;v[a+56>>2]=0;v[a+60>>2]=0;Yx(a);jE(a);$a(a)}function Goa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;a:{if(v[a+8>>2]|(b|0)<2){break a}e=v[a+4>>2];b=Qa[v[v[e>>2]+60>>2]](e,b,c,d)|0;if(!b){break a}Wb(Wb(b,c),337231);if(!v[a+12>>2]){Wb(b,337378)}Wb(b,341088);f=b}return f|0}function yc(a,b,c){var d=0;d=Ma-16|0;Ma=d;a:{b:{if(!b){b=0;if(!a){break b}$a(a);break b}if((c|0)<1|(b|0)<0|(2147483647/(c>>>0)|0)<=(b|0)){break a}b=_G(a,B(b,c))}Ma=d+16|0;return b}v[d>>2]=273670;vb(v[249419],340716,d);_(1);L()}function Xs(a){var b=0,c=0,d=0;b=Ma-96|0;Ma=b;v[b+4>>2]=0;v[b>>2]=0;d=w[a+11|0];c=d<<24>>24<0;No(c?v[a>>2]:a,c?v[a+4>>2]:d,b+4|0,b);a=co(v[b+4>>2],b+8|0);d=v[b+20>>2];c=v[b+4>>2];if(c){$a(c)}Ma=b+96|0;return!a&(d&61440)==16384}function XHa(a,b){a=a|0;b=b|0;var c=0,d=0;d=150;c=v[a+12>>2];a:{if((c|0)==448288|(c|0)==448328){break a}d=0;c=fk(tg(v[v[v[a>>2]+96>>2]+4>>2],228483),235116,0);if(!c){break a}c=v[c>>2];if(!c){break a}d=Qa[c|0](a,b)|0}return d|0}function Ec(a,b){var c=0,d=0,e=0,f=0;d=v[a>>2];a:{if((d|0)>=1){f=b+d|0;a=v[a+4>>2];while(1){c=w[b|0];if(!c){return 1}c=w[a|0]-c|0;if(c){break a}b=b+1|0;a=a+1|0;e=e+1|0;if((e|0)!=(d|0)){continue}break}b=f}c=w[b|0]?-1:0}return c}function vZ(a){var b=0,c=0;if((a|0)<=536870911){a=y3a(a<<2,a>>31<<2|a>>>30,3,0)+((a|0)%3|0)|0;c=(a|0)/76|0;b=a-B(c,76)|0;a:{if(!b){break a}b=(b<<24>>24)%4|0;if(!b){break a}a=(4-b&255)+a|0}a=((c<<1)+2|0)+a|0}else{a=-1}return a}function mu(a,b,c){var d=0,e=0,f=0;d=Ma-16|0;Ma=d;f=d;a:{if(!(b&64)){e=0;if((b&4259840)!=4259840){break a}}v[d+12>>2]=c+4;e=v[c>>2]}v[f>>2]=e;a=ea(a|0,b|32768,d|0)|0;if(a>>>0>=4294963201){v[296206]=0-a;a=-1}Ma=d+16|0;return a}function lj(a,b){var c=0,d=0,e=0;c=zb(b);if(c>>>0<4294967280){a:{b:{if(c>>>0>=11){e=c+16&-16;d=ab(e);v[a+8>>2]=e|-2147483648;v[a>>2]=d;v[a+4>>2]=c;break b}t[a+11|0]=c;d=a;if(!c){break a}}cb(d,b,c)}t[c+d|0]=0;return a}sc();L()}function iUa(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1111573323){ob(a,2050,0,0);return 2050}u[b+32>>1]=x[c+32>>1];u[b+34>>1]=x[c+34>>1];u[b+36>>1]=x[c+36>>1];t[b+38|0]=w[c+38|0];u[b+40>>1]=x[c+40>>1];t[b+42|0]=w[c+42|0];return 0}function iG(a){var b=0,c=0,d=0,e=0;b=v[a>>2];if(b){$a(mc(b))}b=v[a+12>>2];if(b){c=v[b+8>>2];if((c|0)>=1){while(1){e=v[v[b>>2]+(d<<2)>>2];if(e){iG(e);$a(e);c=v[b+8>>2]}d=d+1|0;if((d|0)<(c|0)){continue}break}}$a(mc(b))}return a}function hD(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=a;c=c-1|0;a:{b:{if(!(c>>>0>=20|!(1015295>>>c&1))){a=(c<<2)+53956|0;break b}a=v[a+68>>2]-1|0;c=0;if(a>>>0>=20){break a}a=(a<<2)+54036|0}c=v[a>>2]}v[(d+(c<<2)|0)+400>>2]=b;return 1}function Vua(a){a=a|0;var b=0;v[a>>2]=880812;b=v[a+20>>2];if(b){tb(b)}b=v[a+24>>2];if(!(!b|(b|0)==1026768)){tb(v[b>>2]);b=1;while(1){tb(v[v[a+24>>2]+(b<<2)>>2]);b=b+1|0;if((b|0)!=256){continue}break}tb(v[a+24>>2])}Ds(a);$a(a)}function Io(a,b,c,d){var e=0;e=Ma-32|0;Ma=e;a:{if((b|0)==2){if(d){v[e>>2]=d;nb(0,0,0,0,0,a,2,3,d,0,0,0,340689,e);break a}nb(0,0,0,0,0,a,2,3,0,0,0,0,344777,0);break a}v[e+16>>2]=d;nb(0,0,0,0,0,a,b,2,d,0,0,0,c,e+16|0)}Ma=e+32|0}function qwa(a,b){a=a|0;b=b|0;var c=0,d=0;c=Ma-16|0;Ma=c;d=v[a+104>>2];b=v[b+476>>2];b=(b|0)==1?2:(b|0)==2?1:b;t[c+15|0]=b;Qa[v[v[d>>2]+84>>2]](d,c+15|0)|0;a=v[a+104>>2];t[c+14|0]=b;Qa[v[v[a>>2]+92>>2]](a,c+14|0)|0;Ma=c+16|0}function oQ(a,b,c,d,e){var f=0,g=0;f=Ma-16|0;Ma=f;a:{b:{if(!c|!d){break b}g=x3a(d,0,c,0);if(Pa){break b}b=ph(b,g);if(b){break a}}b=v[a>>2];a=v[a+628>>2];v[f+8>>2]=d;v[f+4>>2]=c;v[f>>2]=e;wb(a,b,3855,f);b=0}Ma=f+16|0;return b}function gga(a){a=a|0;var b=0,c=0;v[a>>2]=978892;ec(a+28|0);b=v[a+16>>2];v[a+16>>2]=0;a:{if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}fy(a);$a(a)}function Yg(a){var b=0,c=0,d=0;c=v[a+4>>2];b=v[c+4>>2];if(!b){return 0}a=0;if((tq(b)|0)==1){while(1){d=Sz(v[c+4>>2]);b=(d|0)==-1;a=b?a:d;if(!(b|(a|0)==1)){if((tq(v[c+4>>2])|0)==1){continue}}break}a=(a|0)==1}else{a=0}return a}function Rp(a,b,c,d){v[a+20>>2]=0;v[a>>2]=973124;v[a+4>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;u[a+16>>1]=0;pc(a+28|0,a+24|0,0,1);pc(a+40|0,a+36|0,0,1);pc(a+52|0,a+48|0,0,4);v[a+68>>2]=0;v[a+60>>2]=0;v[a+64>>2]=0;Wr(a,b,c,d);return a}function EV(a,b,c){a:{b:{if(!hb(b,220215)){break b}if(!hb(b,313008)){break b}if(!hb(b,311188)){break b}while(1){if(v[a+24>>2]==7){if(v[ib(v[a+32>>2],b,c,0)>>2]!=5){break a}bb(c)}a=v[a+104>>2];if(a){continue}break}}v[c>>2]=5}}function At(){var a=0,b=0;b=Yb(256,4);if(b){while(1){v[(a<<2)+b>>2]=(((((((a&1)+(a>>>7|0)|0)+(a>>>1&1)|0)+(a>>>2&1)|0)+(a>>>3&1)|0)+(a>>>4&1)|0)+(a>>>5&1)|0)+(a>>>6&1);a=a+1|0;if((a|0)!=256){continue}break}}else{b=0}return b}function tK(a){var b=0,c=0,d=0,e=0,f=0;a:{if(!a){break a}b=Yb(1,16);if(!b){break a}e=v[a+8>>2];f=e<<2;c=Yb(1,f);v[b>>2]=c;if(!c){break a}cb(c,v[a>>2],f);d=v[a+12>>2];v[b+8>>2]=e;v[b+12>>2]=d;v[b+4>>2]=v[a+4>>2];d=b}return d}function kQ(a){a=a|0;var b=0,c=0;v[a>>2]=985936;db(a+16|0);b=v[a+12>>2];v[a+12>>2]=0;a:{if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}fm(a);$a(a)}function go(a,b,c){var d=0,e=0,f=0;e=v[a>>2];v[a>>2]=e+b;d=b;b=v[a+8>>2];v[a+8>>2]=d+b;f=v[a+4>>2];v[a+4>>2]=f+c;d=c;c=v[a+12>>2];v[a+12>>2]=d+c;if(!((b|0)>(e|0)&(c|0)>(f|0))){v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0}}function cQa(a){a=a|0;var b=0;b=1;a:{if(!v[a+16>>2]){break a}a=v[a+20>>2];if(!a){break a}a=v[a+4>>2];b=v[a>>2];b:{if(!b){break b}b=b-1|0;if(!w[v[v[a+16>>2]+(b>>>6&67108860)>>2]+(b&255)|0]){break b}Td(a,0,0,0)}b=0}return b|0}function boa(a){a=a|0;var b=0,c=0,d=0;while(1){b=v[a+32784>>2];if(!b){if(!(!v[a+34092>>2]|!v[a+34096>>2])){return-1}bz(a);continue}break}c=v[a+32780>>2];d=w[(c+a|0)+12|0];v[a+32784>>2]=b-1;v[a+32780>>2]=c+1&32767;return d|0}function wga(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=Ma-16|0;Ma=d;c=v[b>>2];a:{if(!c){break a}a=(v[a+8>>2]+v[a+12>>2]|0)-c|0;if((a|0)<1){break a}a=Kp(d+12|0,c,a);c=v[d+12>>2];v[b>>2]=v[b>>2]+1;e=(a|0)<0?0:c}Ma=d+16|0;return e|0}function wK(a,b){var c=0,d=0,e=0,f=0;if(!(!a|!b)){c=a+8|0;d=v[a+4>>2];e=v[a>>2];a:{if((d|0)>(e|0)){c=v[c>>2];break a}f=c;c=Kj(c,d<<2,d<<3);v[f>>2]=c;if(!c){break a}v[a+4>>2]=v[a+4>>2]<<1}v[(e<<2)+c>>2]=b;v[a>>2]=v[a>>2]+1}}function jfa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;d=Ma-32|0;Ma=d;if(!w[a+49|0]){lb(mb(d+8|0,227206,241993,777,328428));L()}e=Ki(a,1,v[a+216>>2],a+144|0);a=Ki(a,1,v[a+220>>2],a+148|0);u[b>>1]=e-1;u[b+2>>1]=a-c;Ma=d+32|0}function Z7(a){a=a|0;var b=0,c=0;c=ph(v[a+912>>2],v[a+916>>2]+1e3|0);if(!c){b=v[a>>2];v[b+20>>2]=56;v[b+24>>2]=100;Qa[v[v[a>>2]>>2]](a)}v[a+912>>2]=c;v[a+784>>2]=1e3;b=v[a+916>>2];v[a+916>>2]=b+1e3;v[a+780>>2]=b+c;return 1}function YCa(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[b>>2];a:{if(c>>>0>65534){break a}if(t[a+20|0]&1){return NZ(a,b,1)|0}if((c|0)==v[a+24>>2]){LZ(a);c=v[a+28>>2];if(!c){break a}v[b>>2]=v[a+24>>2];return c|0}d=MZ(a,b,1)}return d|0}function Xp(a,b,c){var d=0,e=0,f=0;e=Ma-32|0;Ma=e;a:{if(c){while(1){d=Qa[v[v[a>>2]+12>>2]](a,b,c)|0;if(!d){break a}b=b+d|0;f=d+f|0;c=c-d|0;if(c){continue}break}}Ma=e+32|0;return f}lb(mb(e+8|0,237806,241689,474,329617));L()}function Tf(a,b,c,d){var e=0,f=0;f=Ma-16|0;Ma=f;a:{b:{if(!b|!c){break b}e=x3a(c,0,b,0);if(Pa){break b}e=ph(0,e);if(e){break a}}e=v[a>>2];a=v[a+628>>2];v[f+8>>2]=c;v[f+4>>2]=b;v[f>>2]=d;wb(a,e,3855,f);e=0}Ma=f+16|0;return e}function IBa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;a=v[a+332>>2]+128|0;b=v[b+84>>2];f=B(v[b+32>>2],x[c+16>>1]);b=B(v[b>>2],x[c>>1])+4|0;t[v[d>>2]+e|0]=w[a+(f+b>>>3&1023)|0];t[v[d+4>>2]+e|0]=w[a+(b-f>>>3&1023)|0]}function xb(a,b){var c=0,d=0,e=0;c=a>>31;d=c+a^c;c=b>>31;c=c+b^c;a:{if(d+(c>>>8|0)>>>0<=8190){c=B(c,d)+32768>>>16|0;break a}e=d&65535;c=B(e,c>>>16|0)+B(c,d>>>16|0)+(B(c&65535,e)+32768>>>16)|0}return(a|0)<0^(b|0)<0?0-c|0:c}function vBa(a){a=a|0;var b=0,c=0,d=0;a=v[a>>2];if(!a){return 0}c=zb(a);b=0;a:{if(!a){break a}b=(c-32|0)/32|0;if((c|0)>=1){c=a+c|0;b=b+1|0;while(1){d=w[a|0]+B(d,37)|0;a=a+b|0;if(c>>>0>a>>>0){continue}break}}b=d}return b|0}function jsa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=+(65536-v[b+12>>2]|0)+ +v[b>>2]*-.3+ +v[b+4>>2]*-.59+ +v[b+8>>2]*-.11+.5;a:{if(D(e)<2147483648){a=~~e;break a}a=-2147483648}a=(a|0)<65536?a:65536;v[c>>2]=(a|0)>0?a:0}function ioa(a){a=a|0;var b=0;v[a>>2]=958512;b=v[a+34068>>2];if((b|0)!=v[279204]){tb(b)}b=v[a+34076>>2];if((b|0)!=v[279240]){tb(b)}b=v[a+8>>2];if(b){tb(v[b+32>>2]);$a(b)}b=v[a+4>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}return a|0}function VMa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;a=v[a+4>>2];if(!a){return 0}a:{if(!e|!f){break a}if(b>>>0>f>>>0){return kg(f,0,d,a)|0}e=b>>>0>>0?e:b;if(e+c>>>0<=f>>>0){break a}c=f-e|0}return kg(b,c,d,a)|0}function wxa(a){a=a|0;var b=0;if(!a){return-1}a:{b:{if(!(v[249421]!=(a|0)&v[249419]!=(a|0))){if(($i(a)|0)>=0){break a}a=332824;break b}if(v[249420]==(a|0)){break a}if((Fe(a)|0)!=-1){break a}b=-1;a=332955}xH(a)}return b|0}function si(a){var b=0;b=Ma-32|0;Ma=b;a:{if((a|0)>-1){b:{if(!a){a=0;break b}a=gb(a);if(!a){break a}}Ma=b+32|0;return a}v[b>>2]=273699;vb(v[249419],340716,b);_(1);L()}v[b+16>>2]=217973;vb(v[249419],340716,b+16|0);_(1);L()}function _Aa(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[a+8>>2];a:{b:{if(c>>>0>2]){d=w[c|0];v[a+8>>2]=c+1;c=d<<24>>24;if((c|0)>=0){break a}a=v[a+4>>2];t[a+36|0]=1;t[a+37|0]=c;v[b>>2]=12;break b}v[b>>2]=8}d=65535}return d|0}function Vi(a){var b=0,c=0;a:{if(!a){break a}b=v[a>>2];if(!b){break a}if(v[b>>2]>=1){while(1){$a(v[v[b+16>>2]+(c<<2)>>2]);c=c+1|0;if((c|0)>2]){continue}break}}$a(v[b+16>>2]);c=v[b+20>>2];if(c){$a(c)}$a(b);v[a>>2]=0}}function Pya(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a=12;e=-1;a:{switch(d|0){case 2:a=8;case 1:d=v[a+b>>2];case 0:e=b;a=v[b+4>>2];b=c+d|0;a=a>>>0>>0;v[e+(a?16:12)>>2]=a?1:b;e=a?-1:0;break;default:break a}}return e|0}function Fz(a){var b=0,c=0,d=0;b=Ma-16|0;Ma=b;c=w[a+11|0];d=c<<24>>24<0;Ti(b,d?v[a>>2]:a,d?v[a+4>>2]:c);d=ab(8);a=w[b+11|0];c=a<<24>>24<0;a=Uh(d,c?v[b>>2]:b,c?v[b+4>>2]:a);if(t[b+11|0]<=-1){$a(v[b>>2])}Ma=b+16|0;return a}function uX(a,b){var c=0,d=0;a:{if(!a|!b){break a}c=v[a+64>>2];if(!c){break a}a=Ov(a,v[b+12>>2]);if(!a){break a}d=YX(c,a);if(!(v[d+8>>2]==(b|0)?d:0)){Qa[v[256556]](a);return}Ps(c,a,0,2723);Qa[v[256556]](a);v[b+40>>2]=0}}function tUa(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1950960965){ob(a,2050,0,0);return 2050}u[b+32>>1]=x[c+32>>1];t[b+34|0]=w[c+34|0];t[b+35|0]=w[c+35|0];t[b+36|0]=w[c+36|0];t[b+37|0]=w[c+37|0];t[b+38|0]=w[c+38|0];return 0}function r2a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:{if(v[a+12>>2]>=1){b=v[a+16>>2];while(1){d=-1;if(wg(c,v[b>>2])){break a}if(wg(c,v[b+4>>2])){break a}b=b+8|0;e=e+1|0;if((e|0)>2]){continue}break}}d=0}return d|0}function p_a(a){a=a|0;var b=0,c=0,d=0;b=v[a+588>>2];if((b|0)>=1){c=v[a+644>>2];b=b-1|0;d=c+b|0;b=c+(b<<1)|0;c=0;while(1){t[b+1|0]=0;t[b|0]=w[d|0]<<7;b=b-2|0;d=d-1|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function nl(a){var b=0;b=v[a+668>>2];if(!b){return a}v[b+596>>2]=v[a+596>>2];A[b+600>>3]=A[a+600>>3];A[b+608>>3]=A[a+608>>3];A[b+616>>3]=A[a+616>>3];A[b+624>>3]=A[a+624>>3];v[a+668>>2]=0;v[a+596>>2]=0;$a(hq(a));return b}function m_a(a){a=a|0;var b=0,c=0,d=0;b=v[a+588>>2];if((b|0)>=1){c=v[a+644>>2];b=b-1|0;d=c+b|0;b=c+(b<<1)|0;c=0;while(1){t[b+1|0]=0;t[b|0]=w[d|0]<<6;b=b-2|0;d=d-1|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function k_a(a){a=a|0;var b=0,c=0,d=0;b=v[a+588>>2];if((b|0)>=1){c=v[a+644>>2];b=b-1|0;d=c+b|0;b=c+(b<<1)|0;c=0;while(1){t[b+1|0]=0;t[b|0]=w[d|0]<<4;b=b-2|0;d=d-1|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function dc(a,b){var c=0;a:{if(!a){break a}c=v[a+160>>2];if(!c){break a}Qa[c|0](a,b)}c=Ma-16|0;Ma=c;v[c>>2]=b?b:10358;b=v[249419];vb(b,5262,c);Ee(10,b);b:{if(!a){break b}b=v[a+156>>2];if(!b){break b}Qa[b|0](a,1)}S();L()}function _h(a){var b=0;b=ab(48);v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=0;v[b+4>>2]=1072693248;v[b+32>>2]=0;v[b+36>>2]=0;v[b+24>>2]=0;v[b+28>>2]=1072693248;v[b+16>>2]=0;v[b+20>>2]=0;v[b+40>>2]=0;v[b+44>>2]=0;v[a>>2]=b;return a}function Rn(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,h=0;a:{g=v[a+4>>2];if(!g){break a}h=v[a+44>>2];if(!h|b>>>0>=h>>>0){break a}b=(g+40|0)+(b<<2)|0;t[b|0]=e;t[b+1|0]=d;t[b+2|0]=c;t[b+3|0]=f;t[a+481|0]=0}}function Bh(a){var b=0,c=0;b=v[a+12>>2];if((b|0)==v[a+8>>2]){a=v[a+4>>2];if(!(!a|v[a>>2])){v[a>>2]=161}return 0}if(v[b-4>>2]!=2){a=v[a+4>>2];if(!(!a|v[a>>2])){v[a>>2]=160}return 0}c=a;a=b-8|0;v[c+12>>2]=a;return v[a>>2]}function xT(a){var b=0,c=0;b=v[a+12>>2];v[a+12>>2]=0;a:{if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}if(t[a+11|0]<=-1){$a(v[a>>2])}return a}function pja(a){a=a|0;var b=0,c=0;v[a>>2]=971904;b=v[a+12>>2];v[a+12>>2]=0;a:{if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}fm(a);return a|0}function lKa(a,b){a=a|0;b=b|0;var c=0,d=0;d=Lk(441776,b);a:{if(d){break a}d=0;if(!a){break a}c=v[a+4>>2];if(!c){break a}c=tg(c,228483);if(!c){break a}c=v[v[c>>2]+20>>2];if(!c){break a}d=Qa[v[c+16>>2]](a,b)|0}return d|0}function i2a(a,b){a=a|0;b=b|0;var c=0;if(v[a+44>>2]>=1){b=v[a+48>>2];while(1){a:{if(v[b>>2]!=1){break a}if(!G5(a,b)){break a}return-1}F5(a,b);b=b+56|0;c=c+1|0;if((c|0)>2]){continue}break}}v[a+84>>2]=32;return 1}function cp(a){a=a|0;v[a+104>>2]=0;v[a+108>>2]=0;v[a+16>>2]=161;v[a+12>>2]=162;v[a+8>>2]=163;v[a+4>>2]=164;v[a>>2]=165;v[a+124>>2]=0;v[a+128>>2]=0;v[a+116>>2]=126;v[a+120>>2]=0;v[a+112>>2]=69440;v[a+20>>2]=0;return a|0}function Qka(a){a=a|0;var b=0,c=0;v[a>>2]=970452;b=v[a+16>>2];v[a+16>>2]=0;a:{if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}fm(a);return a|0}function Ok(a,b){var c=0,d=0,e=0;if(!(!a|!b)){c=a+8|0;d=v[a>>2];a:{if((d|0)>v[a+4>>2]){c=v[c>>2];break a}e=c;c=Kj(c,d<<2,d<<3);v[e>>2]=c;if(!c){break a}v[a>>2]=v[a>>2]<<1}e=c;c=v[a+4>>2];v[e+(c<<2)>>2]=b;v[a+4>>2]=c+1}}function BHa(a){a=a|0;var b=0,c=0,d=0,e=0;b=161;c=v[a+16>>2];a:{if(y[a+20>>2]>>0){break a}d=v[a+32>>2];b=3;e=ek(a,c);if((e|0)<0){break a}v[d+120>>2]=e;a=ek(a,c+4|0);if((a|0)<0){break a}v[d+116>>2]=a;b=0}return b|0}function xUa(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1933723988){ob(a,2050,0,0);return 2050}t[b+32|0]=w[c+32|0];t[b+33|0]=w[c+33|0];t[b+34|0]=w[c+34|0];t[b+35|0]=w[c+35|0];t[b+36|0]=w[c+36|0];t[b+37|0]=w[c+37|0];return 0}function wF(a){a=a|0;var b=0,c=0;v[a>>2]=970212;b=v[a+12>>2];v[a+12>>2]=0;a:{if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}bc(a);return a|0}function fKa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=12;a:{if(hb(b,247605)){break a}e=7;b:{c:{if(d){b=Af(c,0,10);break c}b=v[c>>2]}switch(b-35|0){case 0:case 5:break b;default:break a}}v[a- -64>>2]=b;e=0}return e|0}function SGa(a){a=a|0;var b=0;b=v[v[a+156>>2]>>2];v[a+192>>2]=0;v[a+184>>2]=0;v[a+188>>2]=0;v[a+160>>2]=0;v[a+164>>2]=0;v[a+176>>2]=0;v[a+180>>2]=0;v[a+168>>2]=0;v[a+172>>2]=0;t[a+192|0]=0;v[a+188>>2]=b;it(b);return 0}function yZ(a){var b=0,c=0,d=0;b=Ma-16|0;Ma=b;v[b+12>>2]=0;v[b+8>>2]=0;c=w[a+11|0];d=c<<24>>24<0;Fj(d?v[a>>2]:a,d?v[a+4>>2]:c,b+12|0,b+8|0);c=v[b+12>>2];a=ji(c,301143);if(c){$a(c)}if(a){Fe(a)}Ma=b+16|0;return(a|0)!=0}function x3a(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;e=c>>>16|0;f=a>>>16|0;j=B(e,f);g=c&65535;h=a&65535;i=B(g,h);f=(i>>>16|0)+B(f,g)|0;e=(f&65535)+B(e,h)|0;Pa=(B(b,c)+j|0)+B(a,d)+(f>>>16)+(e>>>16)|0;return i&65535|e<<16}function wla(a){a=a|0;var b=0,c=0;v[a>>2]=969472;b=v[a+8>>2];v[a+8>>2]=0;a:{if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}bc(a);return a|0}function jja(a){a=a|0;var b=0,c=0;v[a>>2]=971984;b=v[a+8>>2];v[a+8>>2]=0;a:{if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}bc(a);return a|0}function j_a(a){a=a|0;var b=0,c=0,d=0;b=v[a+588>>2];if((b|0)>=1){c=v[a+644>>2];b=b-1|0;d=c+b|0;b=c+(b<<1)|0;c=0;while(1){t[b+1|0]=0;t[b|0]=w[d|0];b=b-2|0;d=d-1|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function hoa(a){a=a|0;var b=0;v[a>>2]=958512;b=v[a+34068>>2];if((b|0)!=v[279204]){tb(b)}b=v[a+34076>>2];if((b|0)!=v[279240]){tb(b)}b=v[a+8>>2];if(b){tb(v[b+32>>2]);$a(b)}b=v[a+4>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}$a(a)}function eka(a){a=a|0;var b=0,c=0;v[a>>2]=971360;b=v[a+8>>2];v[a+8>>2]=0;a:{if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}bc(a);return a|0}function bja(a){a=a|0;var b=0,c=0;v[a>>2]=972036;b=v[a+8>>2];v[a+8>>2]=0;a:{if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}Du(a);return a|0}function X8(a){a=a|0;var b=0,c=0,d=0;b=v[a+584>>2];if(v[b+68>>2]!=8){if(v[a+608>>2]>=v[a+600>>2]){Xd(a)}d=v[b+64>>2];c=v[a+604>>2];v[a+604>>2]=c+1;t[c|0]=d;v[a+608>>2]=v[a+608>>2]+1;v[b+64>>2]=0;v[b+68>>2]=8}return 1}function Tea(a){a=a|0;var b=0,c=0;v[a>>2]=984420;b=v[a+8>>2];v[a+8>>2]=0;a:{if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}bc(a);return a|0}function Mc(a,b,c){var d=0,e=0,f=0;e=Ma-16|0;Ma=e;v[e+12>>2]=c;d=or(a,b);a:{if(!d){break a}if(b>>>0<=65535){d=x[d+12>>1];if(!(v[((d>>>3&8188)+a|0)+40>>2]>>>d&1)){break a}}f=Qa[v[a+672>>2]](a,b,c)|0}Ma=e+16|0;return f}function JLa(a,b){a=a|0;b=b|0;var c=0,d=0;v[b+72>>2]=1869968492;d=v[a+36>>2];v[b+124>>2]=d;c=v[a+24>>2];v[b+108>>2]=v[a+20>>2];v[b+112>>2]=c;c=v[a+32>>2];v[b+116>>2]=v[a+28>>2];v[b+120>>2]=c;v[b+124>>2]=d&-2;return 0}function z6(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Ma-32|0;Ma=c;d=v[a+16>>2];e=v[a+12>>2];A[c+16>>3]=+v[a+20>>2]*152587890625e-16;A[c>>3]=+(e|0)*152587890625e-16;A[c+8>>3]=+(d|0)*152587890625e-16;Ph(b,34216,c);Ma=c+32|0}function yna(a){a=a|0;var b=0;v[a>>2]=959896;b=v[a+20>>2];if(b){$a(Bb(b))}b=v[a+24>>2];if(b){$a(Bb(b))}v[a>>2]=959252;while(1){b=v[a+12>>2];if(b){v[a+12>>2]=v[b+4>>2];Qa[v[v[b>>2]+4>>2]](b);continue}break}return a|0}function rK(a){var b=0,c=0,d=0,e=0,f=0;a:{if(!a){break a}c=zb(a);d=Yb(c+1|0,1);if(!d){break a}if((c|0)>=1){while(1){e=t[a+b|0];if(!ye(9166,e)){t[f+d|0]=e;f=f+1|0}b=b+1|0;if((c|0)!=(b|0)){continue}break}}b=d}return b}function pna(a){a=a|0;var b=0;v[a>>2]=960088;b=v[a+20>>2];if(b){$a(Bb(b))}b=v[a+24>>2];if(b){$a(Bb(b))}v[a>>2]=959252;while(1){b=v[a+12>>2];if(b){v[a+12>>2]=v[b+4>>2];Qa[v[v[b>>2]+4>>2]](b);continue}break}return a|0}function o4(a,b,c){var d=0,e=0;if(c>>>0<4294967280){a:{b:{if(c>>>0>=11){e=c+16&-16;d=ab(e);v[a+8>>2]=e|-2147483648;v[a>>2]=d;v[a+4>>2]=c;break b}t[a+11|0]=c;d=a;if(!c){break a}}cb(d,b,c)}t[c+d|0]=0;return a}sc();L()}function gWa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(!w[a+289|0]){ob(a,1029,0,0);return 1029}if(c){ob(a,1028,0,0);return 1028}t[a+290|0]=1;a:{if(w[a+112|0]){a=Qa[v[b+4>>2]](a,b,e)|0;if(a){break a}}a=0}return a|0}function gQ(a){a=a|0;var b=0,c=0;v[a>>2]=986208;b=v[a+8>>2];v[a+8>>2]=0;a:{if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}bc(a);return a|0}function Wh(a){var b=0,c=0;a:{if(v[a+32>>2]|!a){break a}b=v[a+8>>2];if(!((b|0)==v[a+24>>2]|b>>>0>2147483646)){v[a+24>>2]=b}b=v[a+20>>2];c=v[a+4>>2];if((b|0)==(c|0)|c>>>0>2147483646){break a}v[a+20>>2]=c;b=c}return b}function Qsa(a,b,c){a=a|0;b=b|0;c=c|0;b=v[a+28>>2];c=v[b+596>>2];if(!(!v[a+36>>2]|(v[c>>2]?0:v[c+28>>2]<=0))){ej(b);b=v[a+8>>2];Qa[v[v[b>>2]+(v[a+36>>2]==1?220:224)>>2]](b,v[a+28>>2]);b=v[a+28>>2]}v[a+36>>2]=0;Ae(b)}function PD(a,b,c){var d=0,e=0,f=0,g=0;a:{if(!c){break a}while(1){e=c>>>1|0;d=(e<<2)+b|0;f=Qa[433](a,d)|0;if(!f){return d}if((c|0)==1){break a}g=d;d=(f|0)<0;b=d?b:g;c=d?e:c-e|0;if(c){continue}break}return 0}return 0}function Fpa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=Ma-4096|0;Ma=e;while(1){if(b>>>0>d>>>0){c=b-d|0;c=c>>>0<4096?c:4096;f=Qa[v[v[a>>2]+40>>2]](a,e,c)|0;d=d+f|0;if((c|0)==(f|0)){continue}}break}Ma=e+4096|0;return d|0}function D$(a,b){a=a|0;b=b|0;var c=0;c=v[b+4>>2];v[a+4>>2]=v[b>>2];v[a+8>>2]=c;v[a+28>>2]=v[b+24>>2];c=v[b+20>>2];v[a+20>>2]=v[b+16>>2];v[a+24>>2]=c;c=v[b+12>>2];v[a+12>>2]=v[b+8>>2];v[a+16>>2]=c;C$(a,b,0);C$(a,b,1)}function e8(a,b){a=a|0;b=b|0;var c=0,d=0;if((b|0)>=1){d=a;c=v[a+804>>2];a:{if((c|0)<(b|0)){b=v[a>>2];v[b+20>>2]=123;Qa[v[b+4>>2]](a,-1);v[a+800>>2]=88089;a=2;break a}v[a+800>>2]=v[a+800>>2]+b;a=c-b|0}v[d+804>>2]=a}}function cv(a,b,c){var d=0;v[a>>2]=1032;d=v[b+68>>2];eb(a+4|0,0,972);t[a+388|0]=255;v[a+344>>2]=1119092736;v[a+68>>2]=d;t[a+390|0]=1;v[a+336>>2]=-1;t[a+348|0]=1;bl(a,96);_n(a,96);t[a+494|0]=1;Zy(a,b,c,1,1);return a}function _Ha(a){a=a|0;var b=0,c=0;c=v[a+712>>2];a:{if(!(w[a+8|0]&8)|!v[a+540>>2]){break a}b=fk(tg(v[v[a+96>>2]+4>>2],228483),279859,0);if(!b){break a}b=v[b>>2];if(!b){break a}return Qa[b|0](a)|0}return v[c+1348>>2]}function NE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(!(!a|!b)){a=x[c+4>>1]|x[c+6>>1]<<16;d=x[c>>1]|x[c+2>>1]<<16;u[b+90>>1]=d;u[b+92>>1]=d>>>16;u[b+94>>1]=a;u[b+96>>1]=a>>>16;u[b+98>>1]=x[c+8>>1];v[b+8>>2]=v[b+8>>2]|32}}function $v(a){var b=0,c=0,d=0;d=v[a>>2];if(d){b=v[a+4>>2];if((b|0)==(d|0)){c=d}else{while(1){b=b-4|0;c=v[b>>2];v[b>>2]=0;if(c){Qa[v[v[c>>2]+12>>2]](c)|0}if((d|0)!=(b|0)){continue}break}c=v[a>>2]}v[a+4>>2]=d;$a(c)}}function wd(a,b){var c=0;c=Ma-32|0;Ma=c;a:{if(v[a+4>>2]==(b|0)){if(!v[a>>2]){break a}lb(mb(c+8|0,235147,241205,384,226633));L()}lb(mb(c+8|0,228316,241205,380,226633));L()}lb(mb(c+8|0,258668,241205,382,226633));L()}function oja(a){a=a|0;var b=0,c=0;v[a>>2]=971904;b=v[a+12>>2];v[a+12>>2]=0;a:{if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}fm(a);$a(a)}function mJa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{if(!(!w[a+616|0]|(!w[a+615|0]|v[v[v[a>>2]+96>>2]+64>>2]!=40))){if(w[a+617|0]){break a}}a=v[b+16>>2]+(c<<3)|0;v[a+4>>2]=v[a+4>>2]+d}a=v[b+24>>2]+c|0;t[a|0]=w[a|0]|16}function jz(a,b){var c=0,d=0,e=0;c=v[a+56>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;a:{if((c|0)==-1){break a}d=v[a+56>>2];d=Qa[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break a}v[a+68>>2]=v[a+68>>2]+2;v[b>>2]=d|c<<8;e=1}return e}function fB(a,b,c,d){var e=0,f=0;f=v[a+4>>2];if(f>>>0>b>>>0){e=v[a+20>>2];a:{if(e){c=Qa[e|0](a,b,c,d)|0;break a}e=c;c=f-b|0;c=c>>>0>d>>>0?d:c;cb(e,v[a>>2]+b|0,c)}v[a+8>>2]=b+c;a=c>>>0>>0?85:0}else{a=85}return a}function Ula(a,b){a=a|0;b=b|0;var c=0;c=Ma-16|0;Ma=c;Qa[v[v[b>>2]+136>>2]](b,966568)|0;v[c+12>>2]=v[a+4>>2];Qa[v[v[b>>2]+144>>2]](b,c+12|0)|0;v[c+8>>2]=v[a+8>>2];Qa[v[v[b>>2]+152>>2]](b,c+8|0)|0;Ma=c+16|0;return 1}function Tm(a,b){a=a|0;b=b|0;var c=0;c=a;b=b-1|0;a:{b:{if(!(b>>>0>=20|!(1015295>>>b&1))){a=(b<<2)+53956|0;break b}a=v[a+68>>2]-1|0;b=0;if(a>>>0>=20){break a}a=(a<<2)+54036|0}b=v[a>>2]}return v[(c+(b<<2)|0)+400>>2]}function Pka(a){a=a|0;var b=0,c=0;v[a>>2]=970452;b=v[a+16>>2];v[a+16>>2]=0;a:{if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}fm(a);$a(a)}function J7(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;f=v[v[a+584>>2]>>2];while(1){a:{g=1;if((c|0)<1){break a}e=(c|0)<(f|0)?c:f;c=c-e|0;g=-1;h=BM(a,b,e,d);b=b+e|0;if((h|0)>-1){continue}}break}return g|0}function $ka(a){a=a|0;var b=0,c=0;v[a>>2]=970212;b=v[a+12>>2];v[a+12>>2]=0;a:{if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}bc(a);$a(a)}function c_a(a){a=a|0;var b=0,c=0,d=0,e=0;if(v[a+588>>2]>=1){b=v[a+644>>2];c=b;while(1){d=w[c|0]|w[c+1|0]<<8;t[b|0]=((d<<8|d>>>8)&65535)>>>15;c=c+2|0;b=b+1|0;e=e+1|0;if((e|0)>2]){continue}break}}return 0}function Zd(a){var b=0,c=0,d=0,e=0,f=0;b=ma(8)|0;v[b>>2]=1010496;v[b>>2]=1010540;c=zb(a);d=ab(c+13|0);v[d+8>>2]=0;v[d+4>>2]=c;v[d>>2]=c;e=b,f=cb(d+12|0,a,c+1|0),v[e+4>>2]=f;v[b>>2]=1010588;la(b|0,1010620,108);L()}function ZZa(a){a=a|0;var b=0,c=0,d=0,e=0;if(v[a+588>>2]>=1){b=v[a+644>>2];c=b;while(1){d=w[c|0]|w[c+1|0]<<8;t[b|0]=((d<<8|d>>>8)&65535)>>>12;c=c+2|0;b=b+1|0;e=e+1|0;if((e|0)>2]){continue}break}}return 0}function Rl(a,b,c){var d=0;if(c){a:{if(a-b>>2>>>0>>0){while(1){c=c-1|0;d=c<<2;v[d+a>>2]=v[b+d>>2];if(c){continue}break a}}if(!c){break a}while(1){v[a>>2]=v[b>>2];a=a+4|0;b=b+4|0;c=c-1|0;if(c){continue}break}}}}function Kqa(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=927296;b=v[a+8>>2];if(b){while(1){d=v[v[a+12>>2]+(c<<2)>>2];if(d){Qa[v[v[d>>2]+4>>2]](d);b=v[a+8>>2]}c=c+1|0;if(b>>>0>c>>>0){continue}break}}tb(v[a+12>>2]);return a|0}function $Za(a){a=a|0;var b=0,c=0,d=0,e=0;if(v[a+588>>2]>=1){b=v[a+644>>2];c=b;while(1){d=w[c|0]|w[c+1|0]<<8;t[b|0]=((d<<8|d>>>8)&65535)>>>14;c=c+2|0;b=b+1|0;e=e+1|0;if((e|0)>2]){continue}break}}return 0}function y3a(a,b,c,d){var e=0,f=0,g=0;f=(b^d)>>31;e=b>>31;a=a^e;g=a-e|0;a=(b^e)-((a>>>0>>0)+e|0)|0;e=d>>31;b=c^e;a=z3a(g,a,b-e|0,(e^d)-((e>>>0>b>>>0)+e|0)|0)^f;b=a-f|0;Pa=(f^Pa)-((a>>>0>>0)+f|0)|0;return b}function vla(a){a=a|0;var b=0,c=0;v[a>>2]=969472;b=v[a+8>>2];v[a+8>>2]=0;a:{if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}bc(a);$a(a)}function nk(a){var b=0,c=0,d=0,e=0;b=gb(108);if(!b){return 0}v[b+4>>2]=0;v[b>>2]=a;d=1020112;while(1){c=d;e=v[c>>2];if((e|0)!=(a|0)){d=c+24|0;if((e|0)>-1){continue}}break}v[b+104>>2]=c+8;eb(b+12|0,0,92);return b}function kj(a,b,c){var d=C(0),e=0;a:{if(!c){break a}v[c>>2]=0;if(!a|(b|0)<0|v[a+4>>2]<=(b|0)){break a}d=z[v[a+20>>2]+(b<<2)>>2];e=(d>2]=a}}function ija(a){a=a|0;var b=0,c=0;v[a>>2]=971984;b=v[a+8>>2];v[a+8>>2]=0;a:{if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}bc(a);$a(a)}function ifa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Ma-32|0;Ma=d;e=Ki(a,0,262142,a+152|0);a=Ki(a,0,262142,a+156|0);if(!(e>>>0<=65535&a>>>0<65536)){lb(mb(d+8|0,239984,241993,790,329081));L()}Wr(b,a,e,c);Ma=d+32|0}function dz(a,b,c,d,e){var f=0;v[a+8>>2]=13;v[a>>2]=952584;f=v[c+4>>2];v[a+8>>2]=v[c>>2];v[a+12>>2]=f;f=v[c+12>>2];v[a+16>>2]=v[c+8>>2];v[a+20>>2]=f;v[a+32>>2]=e;v[a+28>>2]=d;v[a+24>>2]=b;v[a>>2]=953032;return a}function dka(a){a=a|0;var b=0,c=0;v[a>>2]=971360;b=v[a+8>>2];v[a+8>>2]=0;a:{if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}bc(a);$a(a)}function aja(a){a=a|0;var b=0,c=0;v[a>>2]=972036;b=v[a+8>>2];v[a+8>>2]=0;a:{if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}Du(a);QE(a)}function YZa(a){a=a|0;var b=0,c=0,d=0,e=0;if(v[a+588>>2]>=1){b=v[a+644>>2];c=b;while(1){d=w[c|0]|w[c+1|0]<<8;t[b|0]=((d<<8|d>>>8)&65535)>>>8;c=c+2|0;b=b+1|0;e=e+1|0;if((e|0)>2]){continue}break}}return 0}function Una(a){a=a|0;var b=0,c=0;b=v[a+4>>2];Qa[v[v[b>>2]+20>>2]](b);if(v[a+12>>2]>=1){b=0;while(1){c=v[a+4>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;v[v[a+8>>2]+(b<<2)>>2]=c;b=b+1|0;if((b|0)>2]){continue}break}}}function Sea(a){a=a|0;var b=0,c=0;v[a>>2]=984420;b=v[a+8>>2];v[a+8>>2]=0;a:{if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}bc(a);$a(a)}function RHa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Ma-16|0;Ma=d;e=v[v[a+128>>2]+52>>2];a:{if(e){a=v[b>>2];v[d+12>>2]=c;v[d+8>>2]=a;Qa[v[v[e>>2]+4>>2]](v[e+4>>2],d+8|0);break a}Q_(v[a+712>>2]+1204|0,b)}Ma=d+16|0}function GRa(a){a=a|0;var b=0;a:{if(t[a+547|0]<=-1){v[a+540>>2]=0;b=v[a+536>>2];break a}t[a+547|0]=0;b=a+536|0}v[b>>2]=0;b:{if(t[a+535|0]<=-1){v[a+528>>2]=0;a=v[a+524>>2];break b}t[a+535|0]=0;a=a+524|0}v[a>>2]=0}function zHa(a){a=a|0;var b=0,c=0,d=0,e=0;b=v[a+16>>2];if(y[a+20>>2]>=b+12>>>0){c=v[a+32>>2];d=c,e=ek(a,b),v[d+132>>2]=e;d=c,e=ek(a,b+4|0),v[d+136>>2]=e;d=c,e=ek(a,b+8|0),v[d+140>>2]=e;a=0}else{a=161}return a|0}function xna(a){a=a|0;var b=0;v[a>>2]=959896;b=v[a+20>>2];if(b){$a(Bb(b))}b=v[a+24>>2];if(b){$a(Bb(b))}v[a>>2]=959252;while(1){b=v[a+12>>2];if(b){v[a+12>>2]=v[b+4>>2];Qa[v[v[b>>2]+4>>2]](b);continue}break}$a(a)}function tJ(a,b,c){var d=0,e=0,f=0,g=0;e=v[a+8>>2];f=v[a+4>>2];if(e>>>0>>0){d=v[a+20>>2];a:{if(d){d=Qa[d|0](a,e,b,c)|0;break a}g=b;b=f-e|0;d=b>>>0>c>>>0?c:b;cb(g,v[a>>2]+e|0,d)}v[a+8>>2]=v[a+8>>2]+d}return d}function rfa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=Ki(a,0,262142,a+56|0);xu(b);e=cm(b,c);if((c|0)>0){f=a+52|0;while(1){g=d+e|0,h=Ki(a,0,255,f),t[g|0]=h;d=d+1|0;if((c|0)!=(d|0)){continue}break}}cm(b,-1)}function ona(a){a=a|0;var b=0;v[a>>2]=960088;b=v[a+20>>2];if(b){$a(Bb(b))}b=v[a+24>>2];if(b){$a(Bb(b))}v[a>>2]=959252;while(1){b=v[a+12>>2];if(b){v[a+12>>2]=v[b+4>>2];Qa[v[v[b>>2]+4>>2]](b);continue}break}$a(a)}function fQ(a){a=a|0;var b=0,c=0;v[a>>2]=986208;b=v[a+8>>2];v[a+8>>2]=0;a:{if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}bc(a);$a(a)}function eo(a){var b=0,c=0;Od(a);a:{if(v[a+36>>2]>0){break a}b=v[a+24>>2];if(w[b+20|0]?0:b){break a}b=v[a+32>>2];if((b|0)<=v[a+28>>2]){break a}c=v[a+16>>2];Qa[v[v[c>>2]+20>>2]](c,b,0,0)|0;v[a+28>>2]=v[a+32>>2]}}function cOa(a,b,c){a=a|0;b=+b;c=+c;var d=0,e=0,f=0;d=Ma-16|0;Ma=d;A[d>>3]=c;A[d+8>>3]=b;e=v[a+4>>2];f=v[e+28>>2];if(f){zd(f,d+8|0,d);e=v[a+4>>2];c=A[d>>3];b=A[d+8>>3]}t[e+25|0]=1;Td(e,b,c,1);Ma=d+16|0;return 1}function T8(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;if((c|0)>=1){d=v[a+584>>2];while(1){TM(a,b,v[d+96>>2],v[d+12>>2]);Fd(v[d+96>>2],b,v[d+8>>2]);e=v[d+8>>2];b=e+b|0;c=c-e|0;if((c|0)>0){continue}break}}return 1}function LCa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;d=v[d>>2]+e|0;a=v[a+332>>2]+128|0;b=v[b+84>>2];e=B(v[b+4>>2],x[c+2>>1]);b=B(v[b>>2],x[c>>1])+4|0;t[d|0]=w[a+(e+b>>>3&1023)|0];t[d+1|0]=w[a+(b-e>>>3&1023)|0]}function Ag(a,b){var c=0,d=0,e=0,f=0;c=v[b>>2];if(!(!c|v[b+4>>2]!=(a|0))){d=v[c>>2];e=a+8|0;v[(d?d:e)+4>>2]=v[c+4>>2];f=v[c+4>>2];v[(f?f:e)>>2]=d;v[a+4>>2]=v[a+4>>2]-1;Qa[v[v[a>>2]+16>>2]](c,1);$a(c);v[b>>2]=0}}function $i(a){var b=0;if(a){if(v[a+76>>2]<=-1){return XD(a)}return XD(a)}if(v[279416]){b=$i(v[279416])}a=v[296258];if(a){while(1){if(y[a+20>>2]>y[a+28>>2]){b=XD(a)|b}a=v[a+56>>2];if(a){continue}break}}return b}function z0(a){var b=0;b=v[a>>2];if(!b){v[a+4>>2]=-1;return}A[a+48>>3]=A[a+112>>3];A[a+56>>3]=A[a+120>>3];A[a+64>>3]=A[a+128>>3];A[a+72>>3]=A[a+136>>3];A[a+80>>3]=A[a+144>>3];A[a+88>>3]=A[a+152>>3];v[a+4>>2]=b}function oo(a){v[a+48>>2]=4108;v[a+44>>2]=4107;v[a+40>>2]=4106;v[a+36>>2]=4105;v[a+32>>2]=4104;v[a+28>>2]=8;v[a+20>>2]=0;v[a+24>>2]=-1;v[a+12>>2]=0;v[a+16>>2]=-1;v[a>>2]=969512;v[a+4>>2]=0;v[a+8>>2]=0;return a}function oDa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Ma-16|0;Ma=d;e=Qa[v[a+516>>2]](a,c?1986884728:1752003704,b,d+12|0)|0;if(!e){v[(c?756:752)+a>>2]=v[d+12>>2];v[(c?856:852)+a>>2]=v[b+8>>2]}Ma=d+16|0;return e|0}function ch(a,b){var c=0,d=0,e=0,f=0;c=a+20|0;d=v[a>>2];e=v[a+4>>2];a:{if((d|0)>(e|0)){c=v[c>>2];break a}f=c;c=Kj(c,d<<2,d<<3);v[f>>2]=c;if(!c){break a}v[a>>2]=v[a>>2]<<1}z[(e<<2)+c>>2]=b;v[a+4>>2]=v[a+4>>2]+1}function Ud(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[a+4>>2];a:{if(!c){break a}if(b){if(y[a+20>>2]<=b>>>0){break a}return((v[c>>2]+c|0)+(v[a+44>>2]<<2)|0)+B(v[a+52>>2],b)|0}d=(v[c>>2]+c|0)+(v[a+44>>2]<<2)|0}return d|0}function ml(a){var b=0,c=0;bb(a+16|0);bb(a+32|0);b=v[a+4>>2];if(b){if(v[b+8>>2]!=13){c=v[b+16>>2];Qa[v[v[c>>2]+24>>2]](c);bb(b+8|0)}a:{if(!v[b+24>>2]){break a}c=v[b>>2];if(!c){break a}$a(hW(c))}$a(b)}return a}function iq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=v[b>>2];a=(a|0)<65536?a:65536;v[c>>2]=(a|0)>0?a:0;a=v[b+4>>2];a=(a|0)<65536?a:65536;v[c+4>>2]=(a|0)>0?a:0;a=v[b+8>>2];a=(a|0)<65536?a:65536;v[c+8>>2]=(a|0)>0?a:0}function aD(a,b,c){var d=0;d=v[a+16>>2];if(!d){v[a+36>>2]=1;v[a+24>>2]=c;v[a+16>>2]=b;return}a:{if((b|0)==(d|0)){if(v[a+24>>2]!=2){break a}v[a+24>>2]=c;return}t[a+54|0]=1;v[a+24>>2]=2;v[a+36>>2]=v[a+36>>2]+1}}function TAa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=v[a+28>>2]&15;if(d>>>0<=2){if(!(w[b+8|0]|(d|0)!=2)){v[a+24>>2]=839376;b=v[a+20>>2];t[b|0]=255;t[b+1|0]=253;t[b+2|0]=0;t[b+3|0]=0}v[a+48>>2]=0;c=a+52|0}v[c>>2]=1}function Jxa(a,b){a=a|0;b=b|0;var c=0,d=0;if(a){d=v[a+52>>2];if(!(!d|!v[a+68>>2])){b=v[a+448>>2];c=v[a+36>>2];v[b+12>>2]=v[c+16>>2]-v[c+12>>2];c=v[c+28>>2];v[b>>2]=d;v[b+16>>2]=c;Qv(a,b)}v[a+264>>2]=-1;Nz(a)}}function DE(a,b){var c=0;v[a>>2]=977316;v[a+8>>2]=v[b+8>>2];v[a+12>>2]=v[b+12>>2];v[a+16>>2]=v[b+16>>2];v[a+20>>2]=v[b+20>>2];c=a;b=v[b+4>>2];if(!(!b|(b|0)==217929)){b=od(ab(zb(b)+1|0),b)}v[c+4>>2]=b;return a}function sia(a,b){a=a|0;b=b|0;var c=0;if((b|0)>=1){while(1){v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=973e3;v[a+4>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;a=a+16|0;c=(b|0)>1;b=b-1|0;if(c){continue}break}}}function hf(a,b){var c=0,d=0,e=0;v[a>>2]=7;c=ab(24);v[c+12>>2]=8;v[c+16>>2]=0;v[c>>2]=b;d=c,e=Pb(8,32),v[d+4>>2]=e;b=Pb((v[c+12>>2]<<1)-1|0,4);v[c+8>>2]=b;eb(b,0,(v[c+12>>2]<<3)-4|0);v[c+20>>2]=1;v[a+8>>2]=c}function Wu(a,b){var c=0,d=0,e=0,f=0;d=Ma-16|0;Ma=d;v[d+12>>2]=0;a:{b:{c=a;if(!w[c+8|0]){break b}c=v[c>>2];if(c){break b}c=0;break a}c=v[c>>2]}v[d+8>>2]=v[a+4>>2];e=b,f=Ld(c,d+12|0,d+8|0),A[e>>3]=f;Ma=d+16|0}function Jqa(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=927296;b=v[a+8>>2];if(b){while(1){d=v[v[a+12>>2]+(c<<2)>>2];if(d){Qa[v[v[d>>2]+4>>2]](d);b=v[a+8>>2]}c=c+1|0;if(c>>>0>>0){continue}break}}tb(v[a+12>>2]);$a(a)}function H0a(a,b){a=a|0;b=b|0;if(w[a+498|0]){b=mL(a);t[a+498|0]=0;return b|0}return d4(a,w[b+28|0],w[b+29|0],v[b+32>>2],w[b+36|0],v[b+40>>2],w[b+44|0],w[b+45|0],v[b+48>>2],v[b+52>>2],v[b+56>>2],v[b+60>>2])|0}function FX(a){var b=0,c=0,d=0;c=-1;a:{if(!a){break a}b=v[a+64>>2];if(!b){break a}c=0;if(v[b+4>>2]!=1){break a}d=v[b+48>>2];b:{if(d){v[a+68>>2]=d;break b}b=v[b+44>>2];if(!b){break a}v[a+68>>2]=b}c=1}return c}function q2(a,b,c,d,e,f){var g=0,h=0,i=0;h=Ma-48|0;Ma=h;if(!(v[b+8>>2]|!b|(e==0|f==0))){g=YJ(h+40|0);Jj(g,c,d);e=c+e;Nk(g,e,d);d=d+f;Nk(g,e,d);Nk(g,c,d);WJ(g);i=a;a=Cw(h,b,4);u2(i,a,g);x1(a);tt(g)}Ma=h+48|0}function JE(a){v[a+20>>2]=0;v[a>>2]=973124;v[a+4>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;u[a+16>>1]=0;pc(a+28|0,a+24|0,0,1);pc(a+40|0,a+36|0,0,1);pc(a+52|0,a+48|0,0,4);v[a+68>>2]=0;v[a+60>>2]=0;v[a+64>>2]=0;return a}function BIa(a,b){a=a|0;b=b|0;var c=0;c=Ma-16|0;Ma=c;t[c+7|0]=0;b=nw(a,b,c+8|0,c+7|0);a:{if(b){break a}a=v[v[v[a+4>>2]+128>>2]+52>>2];if(!a){break a}Qa[v[v[a>>2]+4>>2]](v[a+4>>2],c+8|0)}Ma=c+16|0;return b|0}function $ra(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;v[b>>2]=0;v[b+4>>2]=0;v[c>>2]=0;v[c+4>>2]=1079574528;A[b+8>>3]=A[a+64>>3];A[c+8>>3]=A[a+72>>3]-A[a+64>>3];A[b+16>>3]=A[a+80>>3];A[c+16>>3]=A[a+88>>3]-A[a+80>>3]}function gUa(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1297045061){ob(a,2050,0,0);return 2050}u[b+32>>1]=x[c+32>>1];u[b+34>>1]=x[c+34>>1];t[b+36|0]=w[c+36|0];v[b+40>>2]=v[c+40>>2];v[b+44>>2]=v[c+44>>2];return 0}function a1a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=v[a+20>>2];if(d){f=c;e=v[a+28>>2];if(e){dh(d,e,1);d=v[a+28>>2];v[a+28>>2]=0;v[a+24>>2]=d+v[a+24>>2];d=v[a+20>>2]}kg(b,1,f,d);v[a+24>>2]=v[a+24>>2]+c}}function Vsa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;c=v[a+28>>2];e=c;d=v[b>>2]==1?+v[b+8>>2]:A[b+8>>3];a:{if(D(d)<2147483648){b=~~d;break a}b=-2147483648}A[e+464>>3]=b|0;a=v[a+8>>2];Qa[v[v[a>>2]+84>>2]](a,c)}function Ib(a,b){var c=0,d=0;c=v[a+8>>2];d=v[a+4>>2];a:{if((c|0)<(d|0)){d=v[a>>2];break a}c=v[a+12>>2];c=d+((c|0)>0?c:d)|0;v[a+4>>2]=c;d=yc(v[a>>2],c,4);v[a>>2]=d;c=v[a+8>>2]}v[a+8>>2]=c+1;v[(c<<2)+d>>2]=b}function BL(a,b){var c=0;v[a>>2]=189784;c=a+4|0;v[c+12>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;v[c>>2]=520704;Qa[v[v[a>>2]+12>>2]](a);if(!Ik(c,b,0)){Si(c);return a}v[a+20>>2]=v[c+4>>2];v[a+32>>2]=v[c+12>>2];return a}function vha(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=+(v[a+92>>2]<<1);d=c-v[a+112>>2]|0;f=B(d,d);d=b-v[a+108>>2]|0;c=c-v[a+120>>2]|0;a=b-v[a+116>>2]|0;return e>=K(+(f+B(d,d)|0))+K(+(B(c,c)+B(a,a)|0))|0}function sl(a){var b=0,c=0;a:{if(!a){break a}v[a+212>>2]=1;v[a+172>>2]=-1;b=v[a+36>>2];if(!b){break a}c=v[b+40>>2];if(c){Qa[c|0](v[b+12>>2]);b=v[a+36>>2];v[b+40>>2]=0}v[b+12>>2]=349015;v[b+16>>2]=349015}} -function pya(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=-1;a:{if(!a|!c|(!b|!d)){break a}e=v[d>>2];g=v[b>>2];e=(e|0)<(g|0)?e:g;if((e|0)<0){break a}cb(a,c,e);v[b>>2]=e;v[d>>2]=e;f=v[b>>2]}return f|0}function Vba(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;b=Ma-16|0;Ma=b;a:{if(!(w[f+11|0]>>>7|0)){v[a+8>>2]=v[f+8>>2];c=v[f+4>>2];v[a>>2]=v[f>>2];v[a+4>>2]=c;break a}vc(a,v[f>>2],v[f+4>>2])}Ma=b+16|0}function NT(a,b){var c=0,d=0,e=0,f=0;c=Ma-16|0;Ma=c;if(!yh(a)){v[c>>2]=0;v[c+4>>2]=0;t[c+8|0]=0;e=c;f=rg(a);while(1){a:{if(!qe(a,f)){d=0;break a}d=OT(a,b,0);if(!d){continue}}break}Qb(e)}Ma=c+16|0;return d}function DBa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=0;a:{if(w[d+4|0]|x[d>>1]<20|(w[d+5|0]|w[d+6|0]!=2)){break a}if(w[d+8|0]!=99|w[d+9|0]!=110|(w[d+10|0]!=118|w[d+11|0]!=116)){break a}a=w[d+12|0]==6}return a|0}function fSa(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[a>>2];if((b|0)<=-1){d=c;b=v[c+108>>2];if(!(v[c+104>>2]<3?b:0)){Qa[v[c+8>>2]](a);b=v[c+108>>2]}v[d+108>>2]=b+1;return}if(v[c+104>>2]>=(b|0)){Qa[v[c+8>>2]](a)}}function dga(a,b){a=a|0;b=b|0;var c=0;c=v[b>>2];if(c){c=v[v[c+28>>2]>>2]?v[c+32>>2]:0;Sc(a+28|0,c,1);if(c){cb(v[a+24>>2],v[v[b>>2]+24>>2],c)}v[a+20>>2]=v[v[b>>2]+20>>2];return}Sc(a+28|0,0,1);v[a+20>>2]=8}function ax(a,b,c){var d=0,e=0;a:{d=v[a+4>>2];if(!d){break a}e=v[a+44>>2];if(!e|b>>>0>=e>>>0){break a}b=(d+40|0)+(b<<2)|0;t[b|0]=w[c|0];t[b+1|0]=w[c+1|0];t[b+2|0]=w[c+2|0];t[b+3|0]=w[c+3|0];t[a+481|0]=0}}function _v(a,b,c){var d=0;a:{if((b|0)<0){break a}d=v[a>>2];if(v[a+4>>2]-d>>2<=(b|0)){break a}a=v[c>>2];b=v[(b<<2)+d>>2];v[c>>2]=b;if(b){Qa[v[v[b>>2]+8>>2]](b)|0}if(!a){break a}Qa[v[v[a>>2]+12>>2]](a)|0}}function PB(a){var b=0,c=0,d=0;eb(a+24|0,0,72192);v[a+8>>2]=-1;v[a+20>>2]=0;v[a>>2]=0;v[a+4>>2]=819200;c=a,d=ab(20480),v[c+16>>2]=d;b=ab(12);v[b+8>>2]=0;v[b>>2]=0;v[b+4>>2]=0;v[a+72216>>2]=0;v[a+12>>2]=b}function KP(a,b,c){var d=0,e=0,f=0;d=Ma-16|0;Ma=d;v[d+12>>2]=c;v[d+8>>2]=c;e=-1;c=am(0,0,b,c);a:{if((c|0)<0){break a}f=a;c=c+1|0;a=gb(c);v[f>>2]=a;if(!a){break a}e=am(a,c,b,v[d+12>>2])}Ma=d+16|0;return e}function Ji(a,b,c,d,e){var f=0;f=Ma-256|0;Ma=f;if(!(e&73728|(c|0)<=(d|0))){c=c-d|0;d=c>>>0<256;eb(f,b&255,d?c:256);if(!d){while(1){sh(a,f,256);c=c-256|0;if(c>>>0>255){continue}break}}sh(a,f,c)}Ma=f+256|0}function Gj(a,b){var c=0;a:{if((b|0)==65535){break a}if(b>>>0>=391){b=b-391|0;if(b>>>0>=y[a+1356>>2]){break a}return v[v[a+1360>>2]+(b<<2)>>2]}a=v[a+3084>>2];if(!a){break a}c=Qa[v[a+20>>2]](b)|0}return c}function wv(a,b,c){var d=0,e=0,f=0;e=Ma-16|0;Ma=e;a:{if(t[a+11|0]<=-1){t[v[a>>2]]=0;v[a+4>>2]=0;break a}t[a+11|0]=0;t[a|0]=0}f=vZ(c);if(f){d=ab(f+1|0);t[f+d|0]=0;uZ(b,c,d,e+12|0);Sm(a,d);$a(d)}Ma=e+16|0}function uVa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=v[b+36>>2];d=v[a+428>>2];c=x[b+32>>1];c=c<<8|c>>>8;t[d+8|0]=c;t[d+9|0]=c>>>8;c=v[b+36>>2];if(c){cb(d+10|0,v[b+40>>2],c)}return hd(a,v[b>>2],e+2|0,d+8|0)|0}function n5(a,b){a=a|0;b=b|0;var c=0;a:{b:{if(b-1>>>0>255){break b}c=b;c:{switch(x[a+26>>1]-1|0){case 0:c=c>>>0<2?c:2;break b;case 7:break b;case 3:break c;default:break a}}c=c>>>0<16?c:16}v[a+48>>2]=c}}function NB(a,b){var c=0,d=0,e=0;c=v[a+12>>2];d=v[c>>2];c=v[c+4>>2];if((d|0)!=(c|0)){while(1){cb(b+e|0,v[d>>2],20480);e=e+20480|0;d=d+4|0;if((c|0)!=(d|0)){continue}break}}cb(b+e|0,v[a+16>>2],v[a+20>>2])}function IRa(a,b){a=a|0;b=b|0;var c=0;c=v[a+12>>2];if(c){Qa[v[v[c>>2]+12>>2]](c)|0;v[a+12>>2]=0}if(!b){b=ab(176);c=f1(b);v[a+12>>2]=b;Qa[v[v[b>>2]+64>>2]](c);return}v[a+12>>2]=b;Qa[v[v[b>>2]+8>>2]](b)|0}function Hya(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[a+24>>2];d=v[c>>2];v[c>>2]=d+1;t[d|0]=b;b=v[c+4>>2]-1|0;v[c+4>>2]=b;a:{if(b){break a}if(Qa[v[c+12>>2]](a)|0){break a}b=v[a>>2];v[b+20>>2]=25;Qa[v[b>>2]](a)}}function pO(a,b,c,d,e,f){var g=0,h=0,i=0;g=Ma-16|0;Ma=g;t[g+15|0]=0;t[g+14|0]=f;t[g+13|0]=e;t[g+12|0]=37;if(f){oO(g+13|0,g+14|0)}h=c,i=(ra(b|0,v[c>>2]-b|0,g+12|0,d|0,v[a>>2])|0)+b|0,v[h>>2]=i;Ma=g+16|0}function Zt(a,b){a:{if(!x[a+1148>>1]){if(!oj(a)){return 0}if(!x[a+1148>>1]){break a}}t[b|0]=w[v[a+1152>>2]];v[a+1152>>2]=v[a+1152>>2]+1;u[a+1148>>1]=x[a+1148>>1]-1;return 1}O(43294,7087,1949,87085);L()}function Gl(a){var b=0,c=0;b=Ma-16|0;Ma=b;u[b+14>>1]=65535;Qa[v[v[a>>2]>>2]](v[a+4>>2],b+14|0,1,2)|0;c=w[b+14|0];Ma=b+16|0;if(x[a+25204>>1]==18761){a=w[b+15|0]<<8|c}else{a=w[b+15|0]|c<<8}return a&65535}function CD(a,b){var c=0,d=0;a:{c=v[a>>2];if(!c){break a}d=v[c+24>>2];b:{if((d|0)==v[c+28>>2]){b=Qa[v[v[c>>2]+52>>2]](c,b&255)|0;break b}v[c+24>>2]=d+1;t[d|0]=b;b=b&255}if((b|0)!=-1){break a}v[a>>2]=0}}function xFa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=v[a+20>>2];if(w[a+65|0]){a=v[e+8>>2];f=u[e+2>>1];g=v[e+4>>2]+(f<<3)|0;v[g+4>>2]=c>>10;v[g>>2]=b>>10;t[a+f|0]=d?1:2}u[e+2>>1]=x[e+2>>1]+1}function cA(a,b){var c=0,d=0;a:{if((a|0)!=(b|0)){if(!a){return-1}if(!b){return 1}while(1){d=w[b|0];c=w[w[a|0]+874496|0]-w[d+874496|0]|0;if(c){break a}b=b+1|0;a=a+1|0;if(d){continue}break}}c=0}return c}function b$(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=Ma-16|0;Ma=e;g=v[b>>2];a:{if(g>>>0>=d>>>0){break a}h=c,i=yb(a,1,g,d,v[c>>2],e+12|0),v[h>>2]=i;f=v[e+12>>2];if(f){break a}v[b>>2]=d;f=0}Ma=e+16|0;return f}function Vfa(a){a=a|0;var b=0;b=v[a+56>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}b=v[a+60>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}b=v[a+64>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}v[a+64>>2]=0;v[a+56>>2]=0;v[a+60>>2]=0;Yx(a)}function TL(a){var b=0,c=0,d=0;b=v[a+12>>2];if(b){SL(b)}c=v[a+8>>2];if(c){b=v[c+52>>2];if(b){d=v[c- -64>>2];if(d){$a(d);b=v[c+52>>2]}$a(b)}$a(c)}b=v[a+16>>2];if(b){$a(b)}b=v[a+32>>2];if(b){ne(b)}$a(a)}function Oz(a){var b=0,c=0,d=0;a:{if(!a){break a}b=v[a+40>>2];if((b|0)<1){break a}d=b-1|0;v[a+40>>2]=d;c=v[a+48>>2];v[a+36>>2]=(b|0)!=1?v[(c+(b<<2)|0)-8>>2]:0;a=c+(d<<2)|0;c=v[a>>2];v[a>>2]=0}return c}function Ig(a){var b=0,c=0,d=0;c=a;d=v[a+36>>2];a=v[a+32>>2];if(d>>>0>a+3>>>0){b=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);a=a+4|0}v[c+32>>2]=a;return b}function CMa(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[b+180>>2];if(!c){v[a>>2]=0;t[a+11|0]=0;return}b=a;a=0;a:{if(!c){break a}c=v[c+96>>2];d=v[v[c>>2]+32>>2];if(!d){break a}a=Qa[d|0](c,234019)|0}Zs(b,a,zb(a))}function B7(a){a=a|0;var b=0,c=0;zM(a);b=v[a+584>>2];if(b){c=v[b+116>>2];if(c){$a(c);b=v[a+584>>2]}c=v[b+144>>2];if(c){$a(c);b=v[a+584>>2]}$a(b);v[a+584>>2]=0;xp(a);return}O(41486,6139,1045,88335);L()}function zU(a){a=a|0;var b=0;v[a>>2]=952456;b=v[a+84>>2];if(b){$a(Bb(b))}b=v[a+68>>2];if(b){$a(Bb(b))}b=v[a+72>>2];if(b){$a(Bb(b))}b=v[a+76>>2];if(b){$a(Bb(b))}b=v[a+80>>2];if(b){$a(Bb(b))}return a|0}function vga(a){a=a|0;var b=0,c=0;b=v[a+12>>2];a:{if(!b){break a}a=v[a+8>>2];if(!a){break a}while(1){c=Kp(0,b,a);if(c>>>0>a>>>0){return 0}if(!c){break a}b=b+c|0;a=a-c|0;if(a){continue}break}}return 1}function lsa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=+v[b>>2]*.299+ +v[b+4>>2]*.587+ +v[b+8>>2]*.114+.5;a:{if(D(e)<2147483648){a=~~e;break a}a=-2147483648}a=(a|0)<65536?a:65536;v[c>>2]=(a|0)>0?a:0}function jM(a){var b=0,c=0,d=0;c=Ma-16|0;Ma=c;if(v[a+44>>2]){while(1){a:{Qf(c+8|0,a,b&255);d=w[c+11|0];if(d){break a}b=b+1|0;if(y[a+44>>2]>(b&65535)>>>0){continue}}break}b=(d|0)!=0}Ma=c+16|0;return b}function eI(a){var b=0,c=0;if(!a){return-102}b=v[a+224>>2];if(b){c=v[b>>2];if(c){$a(c)}v[b>>2]=0;if(v[b+72>>2]==8){Gk(b+4|0)}$a(b);v[a+224>>2]=0}Qa[v[a+20>>2]](v[a+28>>2],v[a+48>>2])|0;$a(a);return 0}function dva(a,b,c){a=a|0;b=b|0;c=c|0;if(!Cs(a,b,4)){return 0}a=(b-v[a+1040>>2]|0)+a|0;a=w[a+16|0]|w[a+17|0]<<8|(w[a+18|0]<<16|w[a+19|0]<<24);v[c>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return 1}function aM(a){var b=0,c=0;a:{b:{if((a|0)!=769){if((a|0)!=1025){break a}a=fi(1015744,v[254722]);if(a){break b}break a}a=fi(1018896,v[254823]);if(!a){break a}}b=dM(a);if(!b){break a}ne(a);c=b}return c}function nha(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=ab(108);e=CE(c,b);v[c>>2]=978100;d=v[b+96>>2];v[c+92>>2]=v[b+92>>2];v[c+96>>2]=d;d=v[b+104>>2];v[c+100>>2]=v[b+100>>2];v[c+104>>2]=d;v[a>>2]=0;qb(a,e)}function l0a(a,b){a=a|0;b=b|0;var c=0,d=0;if((b|0)>=1){d=v[a+12>>2];a=v[v[d+2452>>2]+24>>2];c=v[a+4>>2];if(c>>>0>>0){v[d+2492>>2]=b-c;v[a>>2]=0;v[a+4>>2]=0;return}v[a+4>>2]=c-b;v[a>>2]=v[a>>2]+b}}function k0a(a,b){a=a|0;b=b|0;var c=0,d=0;if((b|0)>=1){d=v[a+12>>2];a=v[v[d+2464>>2]+24>>2];c=v[a+4>>2];if(c>>>0>>0){v[d+2512>>2]=b-c;v[a>>2]=0;v[a+4>>2]=0;return}v[a+4>>2]=c-b;v[a>>2]=v[a>>2]+b}}function bOa(a,b,c){a=a|0;b=+b;c=+c;var d=0,e=0,f=0;d=Ma-16|0;Ma=d;A[d>>3]=c;A[d+8>>3]=b;e=v[a+4>>2];f=v[e+28>>2];if(f){zd(f,d+8|0,d);e=v[a+4>>2];c=A[d>>3];b=A[d+8>>3]}Td(e,b,c,2);Ma=d+16|0;return 1}function Xy(a,b,c){var d=0,e=0;a:{b:{if(!b|!c){break b}d=H(+(b|0)*+(c|0)/1e5+.5);if(!(d<=2147483647)|!(d>=-2147483648)){break a}if(D(d)<2147483648){e=~~d;break b}e=-2147483648}v[a>>2]=e;e=1}return e}function Vr(a,b){var c=0;c=Ma-32|0;Ma=c;if(b-2>>>0<255){u[a+16>>1]=b;a:{if(v[a+20>>2]|(b|0)<3){break a}b=v[a+36>>2];if(!b){break a}qi(a,b)}Ma=c+32|0;return}lb(mb(c+8|0,235704,241375,482,327264));L()}function THa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=v[a+712>>2];a:{b:{if(!a){break b}d=6;if(v[a+1504>>2]==65535|y[a+20>>2]<=b>>>0){break a}if(!c){break b}v[c>>2]=x[v[a+1188>>2]+(b<<1)>>1]}d=0}return d|0}function x1a(a){a=a|0;var b=0,c=0;v[a>>2]=189728;b=v[a+4>>2];if(b){a:{if(v[b>>2]!=2){break a}c=v[b+4>>2];if(!c){break a}$a(c)}$a(b)}b=a+4|0;v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;return a|0}function gMa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Ma-16|0;Ma=d;a:{if(c){c=a+68|0;if(KJ(c,b)){break a}wZ(d);c=KJ(c,d);if(t[d+11|0]<=-1){$a(v[d>>2])}if(c){break a}}O0(a+68|0,b);v[a+48>>2]=a+8}Ma=d+16|0}function Us(a,b,c,d){var e=0,f=0;e=Ma-16|0;Ma=e;a:{if((jI(a,b,0,0,0,0,e+12|0,d,1)|0)<2){break a}a=v[e+12>>2];b=a>>>24&31;if(b>>>0>3){break a}v[c>>2]=a&16777215;f=(a|0)>-1?0-b|0:b}Ma=e+16|0;return f}function Rj(a,b,c){var d=0,e=0,f=0,g=0;v[a+112>>2]=b;v[a+116>>2]=c;d=v[a+8>>2];g=v[a+4>>2];e=d-g|0;f=e>>31;v[a+120>>2]=e;v[a+124>>2]=f;v[a+104>>2]=b|c?b>>>0>>0&(c|0)<=(f|0)|(c|0)<(f|0)?b+g|0:d:d}function RW(a){var b=0,c=0;if(a){v[a+212>>2]=1;v[a+172>>2]=-1;b=v[a+36>>2];if(b){c=v[b+40>>2];if(c){Qa[c|0](v[b+12>>2]);b=v[a+36>>2];v[b+40>>2]=0}v[b+12>>2]=349015;v[b+16>>2]=349015}v[a+84>>2]=111}}function Hpa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:{if((c|0)<1){break a}while(1){e=Qa[v[v[a>>2]+28>>2]](a)|0;if((e|0)==-1){break a}t[b+d|0]=e;d=d+1|0;if((d|0)!=(c|0)){continue}break}d=c}return d|0}function w7(a){a=a|0;var b=0,c=0;b=v[a+24>>2];c=v[b+48>>2];if((Qa[v[v[c>>2]+16>>2]](c,v[b+52>>2],1,4096)|0)!=4096){c=v[a>>2];v[c+20>>2]=38;Qa[v[c>>2]](a)}v[b+4>>2]=4096;v[b>>2]=v[b+52>>2];return 1}function nOa(a,b,c){a=a|0;b=C(b);c=C(c);var d=0;a=x3a(v[296254],v[296255],1284865837,1481765933)+1|0;d=Pa;d=a>>>0<1?d+1|0:d;v[296254]=a;v[296255]=d;return C(C(C(d>>>1|0)*C(4.656612873077393e-10)))}function h_(a){if(w[a+11664|0]){t[a+11665|0]=1;$s(a,v[a+11736>>2],v[a+11740>>2]);if(w[a+11744|0]){KA(a,a+8|0,a+11704|0,v[a+11712>>2],v[a+11716>>2],1)}t[a+11744|0]=0;u[a+11664>>1]=0;t[a+11667|0]=1}}function Uq(a,b,c,d,e){if(b){v[b>>2]=0}if(c){v[c>>2]=0}if(d){v[d>>2]=0}if(e){v[e>>2]=0}if(!a){return}if(b){v[b>>2]=v[a>>2]}if(c){v[c>>2]=v[a+4>>2]}if(d){v[d>>2]=v[a+8>>2]}if(e){v[e>>2]=v[a+12>>2]}}function Hla(a,b){a=a|0;b=b|0;var c=0;b=v[b+4>>2];if(b){a:{if(t[b+11|0]>=0){c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;v[a+8>>2]=v[b+8>>2];break a}vc(a,v[b>>2],v[b+4>>2])}return}v[a>>2]=0;t[a+11|0]=0}function wB(a,b,c){var d=0;d=Ma-48|0;Ma=d;a=v[a>>2];v[d+16>>2]=0;v[d+20>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;A[d>>3]=b;v[d+32>>2]=0;v[d+36>>2]=0;A[d+24>>3]=c;Dn(a,d);Ma=d+48|0}function nsa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=+v[b>>2]*.3+ +v[b+4>>2]*.59+ +v[b+8>>2]*.11+.5;a:{if(D(e)<2147483648){a=~~e;break a}a=-2147483648}a=(a|0)<65536?a:65536;v[c>>2]=(a|0)>0?a:0}function Hp(a){var b=0;if(v[a+76>>2]<0){b=v[a+4>>2];if(b>>>0>2]){v[a+4>>2]=b+1;return w[b|0]}return Nx(a)}b=v[a+4>>2];a:{if(b>>>0>2]){v[a+4>>2]=b+1;a=w[b|0];break a}a=Nx(a)}return a}function uH(a){var b=0,c=0;b=-1;a:{if(!a){break a}c=v[a+64>>2];if(!c){break a}b=0;if(v[a+68>>2]|v[c+4>>2]!=1|(v[c+12>>2]|v[a+16>>2]==2)){break a}b=1;if(v[a+4>>2]){break a}b=u[c+58>>1]&1}return b}function mW(a){var b=0,c=0;b=v[a+16>>2];if(b){$a(Bb(b))}b=v[a+20>>2];if(b){$a(Bb(b))}bb(a+24|0);b=v[a+40>>2];if(b){$a(Bb(b))}b=v[a+84>>2];if(b){c=v[b+16>>2];if(c){tb(c)}$a(b)}bb(a+88|0);return a}function WRa(a){a=a|0;var b=0;if(a){b=v[a>>2];if(b){Qa[v[v[b>>2]+4>>2]](b);v[a>>2]=0}b=v[a+4>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}$a(a)}a=v[290698];if(!(!a|!a)){Qa[v[v[a>>2]+12>>2]](a)|0}v[290698]=0}function O6(a,b,c){a=a|0;b=b|0;c=c|0;a:{b:{switch(c|0){case 1:b=v[a+12>>2]+b|0;break a;default:S();L();case 0:break a;case 2:break b}}b=v[a+8>>2]-b|0}if((b|0)<0){return-1}v[a+12>>2]=b;return b|0}function Jg(a,b,c){var d=0,e=0;a:{if(!a){break a}d=u[a+2>>1];if((d|0)<1){break a}a=v[a+4>>2];while(1){v[a>>2]=v[a>>2]+b;v[a+4>>2]=v[a+4>>2]+c;a=a+8|0;e=e+1|0;if((e&65535)<(d|0)){continue}break}}}function JHa(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[b>>2];v[b>>2]=0;if(c>>>0>254){return 0}while(1){if((c|0)==255){return 0}c=c+1|0;d=x[v[a+16>>2]+(c<<1)>>1];if(!d){continue}break}v[b>>2]=c;return d|0}function v1(a){a=v[a>>2];v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=0;v[a+4>>2]=1072693248;v[a+24>>2]=0;v[a+28>>2]=1072693248;v[a+32>>2]=0;v[a+36>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+40>>2]=0;v[a+44>>2]=0}function tqa(a){a=a|0;var b=0;b=v[a+236>>2];if(b>>>0<=7){RU(a);b=v[a+236>>2]}if((b|0)==8){return w[a+232|0]}if(b>>>0>=9){return v[a+232>>2]>>>b-8&255}if(!b){return-1}return v[a+232>>2]<<8-b&255}function mA(a){var b=0,c=0;if(a){c=v[a+12>>2];a:{b:{if((c|0)==3){b=v[a+16>>2];if(b){break b}b=v[a>>2];if(b){break b}break a}b=v[a>>2];if(!b|(c|0)==2){break a}}Qa[v[256556]](b)}Qa[v[256556]](a)}}function Wj(a,b,c){var d=0;a:{if((c|0)>=0){d=v[a>>2];if((d|0)<=(2147483647-c|0)){break a}}jh(333008);d=v[a>>2]}pg(a,c+d|0);cb(v[a+4>>2]+v[a>>2]|0,b,c);b=v[a>>2]+c|0;v[a>>2]=b;t[b+v[a+4>>2]|0]=0}function SF(a,b){var c=0,d=0,e=0;c=Ma-16|0;Ma=c;v[c+12>>2]=0;v[c+8>>2]=0;a:{if(!TF(a,b,c+12|0,c+8|0)){break a}d=b;b=v[c+8>>2];if(w[a+b|0]?(d|0)!=(b|0):0){break a}e=v[c+12>>2]}Ma=c+16|0;return e}function Ij(a,b,c){var d=0,e=0;if(!b){v[c>>2]=0;return 0}d=zb(b);e=d+1|0;a:{if(d>>>0<=2147483646){d=Qa[v[a+4>>2]](a,e)|0;a=!d<<6;break a}d=0;a=e?6:0}if(!(a|!e)){cb(d,b,e);a=0}v[c>>2]=a;return d}function IKa(a){a=a|0;v[a+48>>2]=2333;v[a+52>>2]=0;v[a+24>>2]=500;v[a+28>>2]=400;v[a+12>>2]=86;v[a+16>>2]=30;v[a+40>>2]=1667;v[a+44>>2]=275;v[a+32>>2]=1e3;v[a+36>>2]=275;u[a+20>>1]=256;return 0}function CS(a){var b=0,c=0;b=ab(28);v[b+12>>2]=0;v[b+16>>2]=0;v[b>>2]=971112;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;c=b+12|0;v[c>>2]=970612;v[c+4>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[a>>2]=0;qb(a,b)}function q0(a,b){var c=0;c=35;a:{if(!a|!(w[a+8|0]&2)){break a}c=6;if((b|0)<0|v[a+28>>2]<=(b|0)){break a}c=v[v[v[a+96>>2]+12>>2]+92>>2];if(c){return Qa[c|0](v[a+88>>2],b)|0}Cl(a,b);c=0}return c}function RF(a,b){var c=0;a:{b:{if(!a|!b){break b}c=H(1e15/+(a|0)/+(b|0)+.5);b=c<=2147483647;if(D(c)<2147483648){a=~~c}else{a=-2147483648}if(!b){break b}if(c>=-2147483648){break a}}a=0}return a}function NL(a){var b=0,c=0;b=v[a+8>>2];if(b){c=1;if(v[a>>2]>=1){$a(v[b>>2]);if(v[a>>2]>=2){while(1){$a(v[v[a+8>>2]+(c<<2)>>2]);c=c+1|0;if((c|0)>2]){continue}break}}b=v[a+8>>2]}$a(b)}$a(a)}function Fm(){var a=0,b=0,c=0;a=ab(40);v[a>>2]=360884;v[a+4>>2]=1;v[a+20>>2]=0;b=a+12|0;v[b>>2]=0;v[b+4>>2]=0;c=a+24|0;v[a+28>>2]=c;v[a+24>>2]=c;v[a+8>>2]=b;v[a+32>>2]=0;v[a+36>>2]=-1;return a}function Ei(a){var b=0,c=0;c=v[a+4>>2];b=0-v[a+28>>2]|0;a:{if(c&16){break a}b=0;if(!(c&32)){break a}b=v[a+24>>2]-v[a+16>>2]|0}a=Qa[v[v[a+52>>2]+8>>2]](v[a+56>>2],0,1)|0;return(a|0)>-1?b+a|0:-1}function zNa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Ma-16|0;Ma=e;if(v[a+12>>2]){v[e+12>>2]=v[b>>2];b=a+16|0;TJ(b,e+12|0,z[c>>2],z[d>>2]);W0(v[a+12>>2],b);a=1}else{a=0}Ma=e+16|0;return a|0}function yd(a){var b=0;if(!(!a|!w[a+17|0])){a:{b=v[a+4>>2];if(b){b=b-1|0;v[a+4>>2]=b;if(b){break a}}if(w[a+16|0]){break a}b=v[v[a+20>>2]+8>>2];if(b){Qa[b|0](a)}b=v[a+8>>2];if(b){Gg(b)}Nd(a)}}}function uP(a){var b=0,c=0,d=0;c=Ma-16|0;Ma=c;b=c+8|0;Ca(0,b|0)|0;b=(b>>>4|0)+a^B(v[c+12>>2],65537);while(1){t[a+d|0]=(b&15|b<<1&32)+65;b=b>>>5|0;d=d+1|0;if((d|0)!=6){continue}break}Ma=c+16|0}function xHa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=3;c=v[a+32>>2];a:{if(!c){break a}d=v[c+364>>2];if(!d){break a}b=160;if(w[d+557|0]){break a}e=c,f=ek(a,v[a+16>>2]),v[e+360>>2]=f;b=0}return b|0}function re(a,b){var c=0,d=0;c=85;a:{if((b|0)<0){break a}b=v[a+8>>2]+b|0;d=v[a+20>>2];b:{if(d){if(!(Qa[d|0](a,b,0,0)|0)){break b}break a}if(b>>>0>y[a+4>>2]){break a}}v[a+8>>2]=b;c=0}return c}function oY(a,b){var c=0;b=v[b>>2];if(b){if(t[b+47|0]>=0){b=b+36|0;c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;v[a+8>>2]=v[b+8>>2];return}vc(a,v[b+36>>2],v[b+40>>2]);return}v[a>>2]=0;t[a+11|0]=0}function gE(a,b){a=a|0;b=b|0;var c=0;a:{if(x[b+26>>1]>23){break a}c=v[b+336>>2];if((c|0)<0){break a}Qf(a,b,c&255);return}b=v[b+340>>2];t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24}function _O(a,b){var c=0,d=0;a:{c=v[a>>2];if(!c){break a}d=v[c+24>>2];b:{if((d|0)==v[c+28>>2]){b=Qa[v[v[c>>2]+52>>2]](c,b)|0;break b}v[c+24>>2]=d+4;v[d>>2]=b}if((b|0)!=-1){break a}v[a>>2]=0}}function V2a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Ma-16|0;Ma=c;d=w[a+20|0];e=v[a+16>>2];f=v[a+12>>2];v[c+12>>2]=w[a+21|0];v[c+8>>2]=d;v[c>>2]=f;v[c+4>>2]=e;vb(b,45768,c);Ma=c+16|0;return 0}function ULa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=v[b+8>>2];if(d){Qa[d|0](b)}c=v[v[c+12>>2]+60>>2];if(c){Qa[c|0](b)}c=v[b+40>>2];if(c){Qa[v[a+8>>2]](a,c)}v[b+40>>2]=0;if(b){Qa[v[a+8>>2]](a,b)}}function TPa(a){a=a|0;var b=0,c=0,d=0;b=Ma-16|0;Ma=b;if(!(!v[a+16>>2]|!v[a+20>>2])){c=En(b+8|0,1,0,0,1,0,0);d=v[a+16>>2];if(!(!d|!v[a+20>>2])){w2(d,c);zB(v[a+16>>2])}me(c)}Ma=b+16|0;return 0}function Ota(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Ma-16|0;Ma=d;if(v[a+16>>2]){v[d>>2]=v[b+8>>2];yp(336910,d);a:{if((c|0)!=2){a=v[249421];break a}a=v[249421];jm(b+16|0,a)}bo(10);$i(a)}Ma=d+16|0}function L5(a,b){a=a|0;b=b|0;var c=0,d=0;c=Ma-16|0;Ma=c;d=w[a+12|0];v[c+4>>2]=v[a+16>>2];v[c>>2]=d;vb(b,58481,c);if(v[a+16>>2]){Lb(58746,7,1,b);$L(b,v[a+20>>2],v[a+16>>2])}Ma=c+16|0;return 0}function K0(a){var b=0;a:{if(v[a+124>>2]){break a}b=a+72|0;vw(b,v[a+120>>2]!=0);pB(b,A[a+112>>3],v[a+120>>2]);if(y[a+72>>2]>2){break a}v[a+120>>2]=0}v[a+132>>2]=0;v[a+136>>2]=0;v[a+124>>2]=1}function Joa(a){a=a|0;var b=0,c=0;c=-1;a:{if(v[a+16>>2]){break a}b=v[a+53312>>2];if((b|0)>=v[a+53308>>2]){if(!cz(a)){break a}b=v[a+53312>>2]}v[a+53312>>2]=b+1;c=w[(a+b|0)+49208|0]}return c|0}function xBa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=0;a:{if(w[d+4|0]|x[d>>1]<20|(w[d+5|0]|w[d+8|0]!=67)){break a}if(w[d+9|0]!=118|w[d+10|0]!=65|w[d+11|0]!=108){break a}a=w[d+12|0]==3}return a|0}function sM(a){var b=0,c=0,d=0,e=0;c=-1;d=v[279529];a:{if((d|0)<1){break a}b=1118128;while(1){if(hb(v[b+4>>2],a)){b=b+28|0;e=e+1|0;if((d|0)!=(e|0)){continue}break a}break}c=v[b>>2]}return c}function f9(a,b){a=a|0;b=b|0;var c=0;b=Ma-16|0;Ma=b;c=1;a:{if(!ix(a)){break a}if(!Pl(a,85792,1)){wb(v[a+628>>2],11456,13645,0);c=0;break a}v[b>>2]=1;c=Kc(a,65536,b)}a=c;Ma=b+16|0;return a|0}function Ul(a,b){var c=0,d=0;c=Ma-16|0;Ma=c;if(w[a+11|0]>>>7|0){$a(v[a>>2])}v[a+8>>2]=v[b+8>>2];d=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=d;t[b+11|0]=0;v[c+12>>2]=0;v[b>>2]=v[c+12>>2];Ma=c+16|0}function yNa(a,b,c){a=a|0;b=b|0;c=c|0;b=v[b+12>>2];if(!b){b=a+76|0;v[b>>2]=0;v[b+4>>2]=0;v[b+24>>2]=1;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[a+16>>2]=0;return}Y0(a,b,v[c>>2])}function uN(a,b){var c=0;if(b>>>0<=99){return vN(a,b)}if(b>>>0<=999){c=(b>>>0)/100|0;t[a|0]=c+48;a=a+1|0;b=x[(b-B(c,100)<<1)+1010224>>1];t[a|0]=b;t[a+1|0]=b>>>8;return a+2|0}return sx(a,b)}function sHa(a){a=a|0;var b=0,c=0;b=v[a+4>>2];c=v[v[b+712>>2]+3080>>2];a:{if(!c){break a}b=tg(v[v[b+96>>2]+4>>2],239159);if(!b){break a}b=Qa[v[c+8>>2]](b)|0;v[v[a+156>>2]+36>>2]=b}return 0}function nna(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=ab(8);d=Rb(e,313245);Ug(d,v[a+20>>2]);Wb(d,337465);Ug(d,v[a+24>>2]);Wb(d,313348);a=Qa[b|0](c,v[d+4>>2],v[d>>2])|0;Bb(d);$a(e);return a|0}function nj(a,b){var c=0,d=0;c=-1;d=v[a+24>>2];if(!(!d|v[a+12>>2]==(d|0))){c=d-1|0;v[a+24>>2]=c;v[a+8>>2]=v[a+8>>2]&-2;v[a+60>>2]=v[a+60>>2]-1;v[a+28>>2]=v[a+28>>2]+1;t[c|0]=b;c=0}return c}function RE(a){var b=0;b=ab(40);v[b+32>>2]=0;v[b+24>>2]=-1717986918;v[b+28>>2]=1073846681;v[b+16>>2]=24;v[b+20>>2]=300;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=972144;v[b+4>>2]=0;v[a>>2]=0;qb(a,b)}function CP(a,b,c,d){a:{if(!a){break a}b:{switch(b+2|0){case 0:t[a|0]=c;return;case 1:u[a>>1]=c;return;case 2:case 3:v[a>>2]=c;return;case 5:break b;default:break a}}v[a>>2]=c;v[a+4>>2]=d}}function $o(a,b,c,d,e){a:{if(!e|(!c|!d)){break a}v[e>>2]=0;v[d>>2]=0;v[c>>2]=0;if(!a|(b|0)<0|v[a+12>>2]<=(b|0)){break a}a=v[a>>2]+(b<<2)|0;v[c>>2]=w[a+2|0];v[d>>2]=w[a+1|0];v[e>>2]=w[a|0]}}function $Ia(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[a+420>>2];a:{if((c|0)>=1){d=v[a+424>>2];a=0;while(1){if(!hb(b,v[(a<<2)+d>>2])){break a}a=a+1|0;if((c|0)!=(a|0)){continue}break}}a=0}return a|0}function zE(a){v[a+32>>2]=0;v[a+36>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=1;v[a+12>>2]=1;v[a>>2]=0;v[a+4>>2]=0;v[a+48>>2]=1;v[a+40>>2]=1;v[a+44>>2]=0;v[a+24>>2]=1;v[a+28>>2]=1;return a}function Zda(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Ma-16|0;Ma=e;a=gN(v[a+60>>2],b,c,d&255,e+8|0);if(a){v[296206]=a;a=-1}else{a=0}Ma=e+16|0;Pa=a?-1:v[e+12>>2];return(a?-1:v[e+8>>2])|0}function Rla(a,b){a=a|0;b=b|0;var c=0;if(!(!v[a+12>>2]|(!v[a+4>>2]|!v[a+8>>2]))){Qa[v[v[b>>2]+136>>2]](b,966608)|0;Qa[v[v[b>>2]+212>>2]](b,v[a+4>>2],v[a+8>>2],v[a+12>>2])|0;c=1}return c|0}function L6(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=v[a>>2];a=Ma-16|0;Ma=a;v[a+12>>2]=c;v[a+8>>2]=b;b=ca(d|0,a+8|0,1,a+4|0)|0;if(b){v[296206]=b;b=-1}else{b=0}Ma=a+16|0;return(b?-1:v[a+4>>2])|0}function Kj(a,b,c){var d=0,e=0;if(!a){return 0}d=v[a>>2];a:{b:{if((c|0)<=0){if(d){break b}break a}e=Yb(1,c);if(!d){break a}if(!e){return 0}cb(e,d,(b|0)<(c|0)?b:c)}$a(d);v[a>>2]=0}return e}function ID(a,b,c,d,e,f,g,h,i){var j=0;j=Ma-16|0;Ma=j;Zi(j,b,c,d,e,f,g,h,i^-2147483648);d=v[j>>2];c=v[j+4>>2];b=v[j+12>>2];v[a+8>>2]=v[j+8>>2];v[a+12>>2]=b;v[a>>2]=d;v[a+4>>2]=c;Ma=j+16|0}function zM(a){var b=0;b=v[a+584>>2];if(!b){O(3788,6354,718,187892);L()}v[a+672>>2]=v[b+44>>2];v[a+668>>2]=v[b+48>>2];v[a+676>>2]=v[b+52>>2];v[a+516>>2]=v[b+56>>2];v[a+524>>2]=v[b+60>>2]}function zH(a,b){var c=0,d=0;a:{if(!a|!b){break a}d=w[a|0];if((d|0)==58){break a}while(1){if(!d){return 0}if((d|0)!=58){c=c+1|0;d=w[c+a|0];continue}break}v[b>>2]=c;c=(a+c|0)+1|0}return c}function yMa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;U0(v[d>>2],+v[a>>2]*.015625,+v[a+4>>2]*.015625,+v[b>>2]*.015625,+v[b+4>>2]*.015625,+v[c>>2]*.015625,+v[c+4>>2]*.015625);v[d+4>>2]=1;return 0}function vna(a){a=a|0;var b=0;v[a>>2]=959960;b=v[a+20>>2];if(b){$a(Bb(b))}v[a>>2]=959252;while(1){b=v[a+12>>2];if(b){v[a+12>>2]=v[b+4>>2];Qa[v[v[b>>2]+4>>2]](b);continue}break}return a|0}function sna(a){a=a|0;var b=0;v[a>>2]=960024;b=v[a+20>>2];if(b){$a(Bb(b))}v[a>>2]=959252;while(1){b=v[a+12>>2];if(b){v[a+12>>2]=v[b+4>>2];Qa[v[v[b>>2]+4>>2]](b);continue}break}return a|0}function qva(a,b){a=a|0;b=b|0;var c=0;if(!v[a+208>>2]){c=v[a+392>>2];v[c+20>>2]=b;v[c+16>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;if(!b){v[c+4>>2]=367;return}b=v[a>>2];v[b+20>>2]=3;Qa[v[b>>2]](a)}}function jna(a){a=a|0;var b=0;v[a>>2]=960216;b=v[a+20>>2];if(b){$a(Bb(b))}v[a>>2]=959252;while(1){b=v[a+12>>2];if(b){v[a+12>>2]=v[b+4>>2];Qa[v[v[b>>2]+4>>2]](b);continue}break}return a|0}function hN(a){var b=0;b=w[a+74|0];t[a+74|0]=b-1|b;b=v[a>>2];if(b&8){v[a>>2]=b|32;return-1}v[a+4>>2]=0;v[a+8>>2]=0;b=v[a+44>>2];v[a+28>>2]=b;v[a+20>>2]=b;v[a+16>>2]=b+v[a+48>>2];return 0}function bea(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=v[a+84>>2];d=c+256|0;f=ag(e,0,d);d=f?f-e|0:d;c=c>>>0>d>>>0?d:c;cb(b,e,c);b=e+d|0;v[a+84>>2]=b;v[a+8>>2]=b;v[a+4>>2]=c+e;return c|0}function _Q(a,b){var c=0;wE(a,b,b+4|0);wE(a,b+8|0,b+12|0);a=v[b>>2];c=v[b+8>>2];if((a|0)>=(c|0)){v[b+8>>2]=a;v[b>>2]=c}a=v[b+4>>2];c=v[b+12>>2];if((a|0)>=(c|0)){v[b+4>>2]=c;v[b+12>>2]=a}}function Z$(a,b){var c=0,d=0,e=0;c=Ma-16|0;Ma=c;v[a+16>>2]=1903;v[a+12>>2]=1904;v[a+8>>2]=0;v[a>>2]=80;v[a+4>>2]=241;d=a,e=yb(b,4,0,241,0,c+12|0),v[d+20>>2]=e;Ma=c+16|0;return v[c+12>>2]}function Tr(a,b){var c=0;xE(a,b,b+4|0);xE(a,b+8|0,b+12|0);a=v[b>>2];c=v[b+8>>2];if((a|0)>=(c|0)){v[b+8>>2]=a;v[b>>2]=c}a=v[b+4>>2];c=v[b+12>>2];if((a|0)>=(c|0)){v[b+4>>2]=c;v[b+12>>2]=a}}function St(a){var b=0;a:{b=v[a+16>>2];b:{if(b&1){tC(a,0,0);break b}if(!(b&2)){break a}_w(a,0)}c:{if(t[a|0]&1){break c}b=v[a+12>>2];if(!b){break c}ne(b);v[a+12>>2]=0}$a(a);return}S();L()}function NNa(a){a=a|0;var b=0;v[a>>2]=360688;b=v[a+8>>2];if(b?b:0){WC(b)}b=v[a+168>>2];if(b){Qa[v[v[b>>2]+4>>2]](b);v[a+168>>2]=0}if(t[a+123|0]<=-1){$a(v[a+112>>2])}o1(a+16|0);return a|0}function Lo(a,b){var c=0;c=Ma-16|0;Ma=c;a:{if(b){v[c>>2]=b;nb(0,0,0,0,0,29,2,3,b,0,0,0,340689,c);break a}nb(0,0,0,0,0,29,2,3,0,0,0,0,344777,0)}if(!(v[a+32>>2]|!a)){v[a+32>>2]=2}Ma=c+16|0}function Kh(a,b){var c=0,d=0;c=Ma-16|0;Ma=c;if(w[a+11|0]>>>7|0){$a(v[a>>2])}v[a+8>>2]=v[b+8>>2];d=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=d;t[b+11|0]=0;t[c+15|0]=0;t[b|0]=w[c+15|0];Ma=c+16|0}function Er(a){a=a|0;var b=0;v[a>>2]=999108;AD(a);a:{if(!w[a+96|0]){break a}b=v[a+32>>2];if(!b){break a}$a(b)}b:{if(!w[a+97|0]){break b}b=v[a+56>>2];if(!b){break b}$a(b)}GD(a);return a|0}function BGa(a){a=a|0;var b=0,c=0,d=0;c=Ma-16|0;Ma=c;d=t0(v[v[a>>2]+504>>2],c+12|0);b=a;a=v[c+12>>2];v[b+44>>2]=a;if(a){b=v[a>>2];if(!(!b|!v[b+96>>2])){v[b+88>>2]=a}}Ma=c+16|0;return d|0}function rca(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,h=0;g=Ma-16|0;Ma=g;v[g+8>>2]=624576549;v[g+12>>2]=1394948685;h=a;a=g+16|0;b=Vm(h,b,c,d,e,f,g+8|0,a);Ma=a;return b|0}function qIa(a,b){a=a|0;b=b|0;var c=0;c=Lk(446e3,b);a:{if(c){break a}c=0;if(!a){break a}a=v[a+4>>2];if(!a){break a}a=tg(a,228483);if(!a){break a}c=Qa[v[v[a>>2]+32>>2]](a,b)|0}return c|0}function m7(a,b){a=a|0;b=b|0;b=v[a+584>>2];if(b){if(!(t[b+124|0]&1)){Qa[v[a+516>>2]](a)|0}v[b+64>>2]=v[a+596>>2];v[b+68>>2]=v[a+608>>2];return!bw(b- -64|0)|0}O(21265,6646,119,88416);L()}function hb(a,b){var c=0,d=0;c=w[a|0];d=w[b|0];a:{if(!c|(c|0)!=(d|0)){break a}while(1){d=w[b+1|0];c=w[a+1|0];if(!c){break a}b=b+1|0;a=a+1|0;if((c|0)==(d|0)){continue}break}}return c-d|0}function gKa(a,b){a=a|0;b=b|0;var c=0;v[a+116>>2]=b;c=v[a>>2];if(t[c+8|0]&1){Cl(c,b);YA(a,0);return 0}b=Qa[v[v[c+540>>2]+108>>2]](c,b,a+12|0)|0;if(!b){return 0}v[a+116>>2]=-1;return b|0}function ay(a){var b=0,c=0;c=v[a+28>>2];a:{if((c+16|0)<=4080){b=v[a+24>>2];break a}b=ab(8164);v[b>>2]=v[a+24>>2];c=0;eb(b+4|0,0,8160);v[a+24>>2]=b}v[a+28>>2]=c+16;return((c<<1)+b|0)+4|0}function XKa(a){a=a|0;var b=0;b=v[a+4>>2];v[b+180>>2]=-21;v[b+184>>2]=0;v[b+196>>2]=21;v[b+200>>2]=0;v[b+188>>2]=0;v[b+192>>2]=0;Qa[v[v[v[a+12>>2]+56>>2]+8>>2]](v[a+52>>2],0,0);return 0}function N9(a){a=a|0;var b=0,c=0;b=v[a+584>>2];if(b){v[a+672>>2]=v[b+24>>2];v[a+668>>2]=v[b+28>>2];c=v[b+12>>2];if(c){$a(c)}$a(b);v[a+584>>2]=0;xp(a);return}O(45581,6284,1469,84366);L()}function Jva(a,b){a=a|0;b=b|0;var c=0;c=Ma-16|0;Ma=c;if(!w[a+203|0]){if(v[b+592>>2]>=4){Qa[v[v[a>>2]+156>>2]](a,b)}a=v[a+104>>2];v[c+12>>2]=2;Qa[v[v[a>>2]+292>>2]](a,c+12|0)|0}Ma=c+16|0}function IHa(a,b){a=a|0;b=b|0;var c=0,d=0;b=v[a>>2];c=v[b+712>>2];if(!v[c+1188>>2]){return 163}d=v[v[c+3084>>2]+4>>2];if(!d){return 7}return Qa[d|0](v[b+100>>2],a,v[c+20>>2],2135,0,b)|0}function BY(a){var b=0;b=a;a=Qa[v[v[a+4>>2]>>2]](a,1,32)|0;v[b+404>>2]=a;v[a+28>>2]=0;v[a+24>>2]=291;v[a+20>>2]=292;v[a+16>>2]=293;v[a+12>>2]=294;v[a+8>>2]=295;v[a+4>>2]=296;v[a>>2]=297}function yA(a){var b=0;a:{if(!a){break a}b=v[a+4>>2];if(b){b=b-1|0;v[a+4>>2]=b;if(b){break a}}if(w[a+16|0]){break a}b=v[v[a+20>>2]+8>>2];if(b){Qa[b|0](a)}b=v[a+8>>2];if(b){Gg(b)}Nd(a)}}function qW(a){var b=0,c=0,d=0,e=0;c=v[a>>2];if((c|0)>=1){while(1){e=v[a+4>>2]+d|0;b=w[e|0];if(b-65>>>0<26){t[e|0]=b-65>>>0<26?b|32:b;c=v[a>>2]}d=d+1|0;if((d|0)<(c|0)){continue}break}}}function q7(a,b){a=a|0;b=b|0;b=v[a+584>>2];if(b){if(v[b+124>>2]!=2){Qa[v[a+524>>2]](a)|0}v[b+76>>2]=v[a+596>>2];v[b+80>>2]=v[a+600>>2];return!$H(b- -64|0)|0}O(21265,6646,198,88454);L()}function pb(a,b,c){var d=0,e=0;a:{if(!c){break a}while(1){e=v[(d<<3)+b>>2];if(!e){break a}if((a|0)==(e|0)){return v[((d<<3)+b|0)+4>>2]}d=d+1|0;if((d|0)!=(c|0)){continue}break}}return 0}function m2a(a,b){a=a|0;b=b|0;var c=0,d=0;c=Ma-16|0;Ma=c;if(v[a+16>>2]){while(1){v[c>>2]=w[v[a+12>>2]+d|0];vb(b,60097,c);d=d+1|0;if(d>>>0>2]){continue}break}}Ma=c+16|0;return 0}function kb(a){var b=0,c=0;b=Ma-16|0;Ma=b;if((Vd(a,b+12|0,4)|0)==4){a=w[b+12|0]|w[b+13|0]<<8|(w[b+14|0]<<16|w[b+15|0]<<24);c=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}Ma=b+16|0;return c}function hZ(a,b){var c=0,d=0,e=0,f=0;e=v[a+28>>2];c=v[b>>2];a:{while(1){c=c+1|0;if((e|0)<=(c|0)){break a}d=v[a>>2];if(v[d+B(c,12)>>2]<0){continue}break}v[b>>2]=c;f=B(c,12)+d|0}return f}function av(a){var b=0,c=0;a:{b:{if(!a){break b}b=H(1e10/+(a|0)+.5);c=b<=2147483647;if(D(b)<2147483648){a=~~b}else{a=-2147483648}if(!c){break b}if(b>=-2147483648){break a}}a=0}return a}function Yb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=0;a:{if(!a){break a}d=x3a(a,0,b,0);e=Pa;c=d;if((a|b)>>>0<65536){break a}c=e?-1:d}b=c;a=gb(b);if(!(!a|!(w[a-4|0]&3))){eb(a,0,b)}return a|0}function Cj(a,b,c){var d=0;a:{if(b>>>0<=2147483644){d=b+3|0;if((d|0)>2]){break a}}v[c>>2]=0;return 0}c=b;b=v[a+8>>2];a=c+b|0;return(w[a+1|0]<<8|w[a|0]<<16|w[a+2|0])<<8|w[b+d|0]}function Zn(a){var b=0,c=0,d=0;b=Ma-16|0;Ma=b;d=b;if(w[a+11|0]>>>7|0){c=v[a>>2]}else{c=a}if(w[a+11|0]>>>7|0){a=v[a+4>>2]}else{a=w[a+11|0]}v[d+8>>2]=c+(a<<2);Ma=b+16|0;return v[b+8>>2]}function ZCa(a,b){a=a|0;b=b|0;var c=0,d=0;c=Ma-16|0;Ma=c;v[c+12>>2]=b;d=0;a:{if(b>>>0>65535){break a}if(t[a+20|0]&1){d=NZ(a,c+12|0,0);break a}d=MZ(a,c+12|0,0)}a=d;Ma=c+16|0;return a|0}function Ug(a,b){var c=0,d=0,e=0;e=a;d=v[a>>2];c=v[b>>2];if((d|0)>(2147483647-c|0)){jh(333008);d=v[a>>2]}pg(e,c+d|0);cb(v[a+4>>2]+v[a>>2]|0,v[b+4>>2],c+1|0);v[a>>2]=v[a>>2]+c;return a}function QU(a,b){var c=0,d=0;c=v[a+8>>2];c=Qa[v[v[c>>2]+28>>2]](c)|0;a:{if((c|0)==-1){break a}a=v[a+8>>2];a=Qa[v[v[a>>2]+28>>2]](a)|0;if((a|0)==-1){break a}v[b>>2]=a|c<<8;d=1}return d}function KC(){var a=0;a=gb(40);if(!a){return 0}v[a>>2]=0;v[a+4>>2]=0;t[a+36|0]=1;v[a+24>>2]=0;v[a+28>>2]=16384;v[a+16>>2]=0;v[a+20>>2]=0;v[a+32>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;return a}function xba(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=Ma-16|0;Ma=a;v[a+12>>2]=e;v[a+8>>2]=d-c;b=Ma-16|0;Ma=b;Ma=b+16|0;Ma=a+16|0;b=a+8|0;a=a+12|0;return v[(y[b>>2]>2]?b:a)>>2]}function xGa(a){a=a|0;var b=0,c=0,d=0;d=Ma-16|0;Ma=d;b=v[a+4>>2];c=v[b+504>>2];a:{if(!v[b+84>>2]){c=c+84|0;b=0;break a}b=c;c=d+12|0;b=DJ(b,c)}v[a+160>>2]=v[c>>2];Ma=d+16|0;return b|0}function qN(a,b){var c=0;c=Ma-16|0;Ma=c;v[c+12>>2]=b;a:{if(w[a+11|0]>>>7|0){b=v[a>>2];v[a+4>>2]=1;break a}b=a;t[a+11|0]=1}v[b>>2]=v[c+12>>2];v[c+8>>2]=0;v[b+4>>2]=v[c+8>>2];Ma=c+16|0}function db(a){var b=0,c=0;b=v[a>>2];v[a>>2]=0;a:{if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}c=v[b+4>>2];if(!c){v[b+4>>2]=-32767}if(!c){Qa[v[v[b>>2]+4>>2]](b)}}return a}function TI(a){a=a|0;var b=0,c=0;b=v[a+8>>2];if(b){a=v[a+16>>2];c=v[a+4>>2];v[b+108>>2]=v[a>>2];v[b+112>>2]=c;v[b+124>>2]=v[a+16>>2];c=v[a+12>>2];v[b+116>>2]=v[a+8>>2];v[b+120>>2]=c}}function J$(a,b,c){var d=0,e=0,f=0,g=0;d=v[a+28>>2];a=v[a+24>>2];e=d+B(a,40)|0;if((a|0)>=1){while(1){f=d,g=xb(u[d+12>>1],b)+c|0,v[f+16>>2]=g;d=d+40|0;if(e>>>0>d>>>0){continue}break}}}function yUa(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1883789683){ob(a,2050,0,0);return 2050}t[b+32|0]=w[c+32|0];v[b+36>>2]=v[c+36>>2];v[b+40>>2]=v[c+40>>2];t[b+44|0]=w[c+44|0];return 0}function vd(a){var b=0,c=0;b=v[a+24>>2];if(b){while(1){c=v[b>>2];Qa[v[v[a>>2]+16>>2]](b,1);$a(b);b=c;if(b){continue}break}}v[a+4>>2]=0;v[a+24>>2]=0;c=a+16|0;Rh(c,4,0);ec(c);return a}function una(a){a=a|0;var b=0;v[a>>2]=959960;b=v[a+20>>2];if(b){$a(Bb(b))}v[a>>2]=959252;while(1){b=v[a+12>>2];if(b){v[a+12>>2]=v[b+4>>2];Qa[v[v[b>>2]+4>>2]](b);continue}break}$a(a)}function rna(a){a=a|0;var b=0;v[a>>2]=960024;b=v[a+20>>2];if(b){$a(Bb(b))}v[a>>2]=959252;while(1){b=v[a+12>>2];if(b){v[a+12>>2]=v[b+4>>2];Qa[v[v[b>>2]+4>>2]](b);continue}break}$a(a)}function kt(a,b){var c=0,d=0;c=v[a+12>>2];d=v[a+4>>2];c=(c|0)<0?(c|0)>(d|0)?c:d:d-c|0;b=b?b:(B(c,12)|0)/10|0;v[a+28>>2]=b;v[a+24>>2]=(b-c|0)/2;v[a+20>>2]=v[a+8>>2]+(v[a+16>>2]/-2|0)}function ina(a){a=a|0;var b=0;v[a>>2]=960216;b=v[a+20>>2];if(b){$a(Bb(b))}v[a>>2]=959252;while(1){b=v[a+12>>2];if(b){v[a+12>>2]=v[b+4>>2];Qa[v[v[b>>2]+4>>2]](b);continue}break}$a(a)}function hia(a){a=a|0;var b=0;a=v[291550];v[291550]=0;a:{if(!a){break a}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break a}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}}function gw(a,b){var c=0;c=Xn(b,47);if((c|0)==-1){if(t[b+11|0]>=0){c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;v[a+8>>2]=v[b+8>>2];return}vc(a,v[b>>2],v[b+4>>2]);return}bf(a,b,c+1|0,-1)}function eja(a){a=a|0;var b=0;a=v[291406];v[291406]=0;a:{if(!a){break a}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break a}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}}function eUa(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1397247831){ob(a,2050,0,0);return 2050}t[b+32|0]=w[c+32|0];u[b+34>>1]=x[c+34>>1];u[b+36>>1]=x[c+36>>1];t[b+38|0]=w[c+38|0];return 0}function dUa(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1413829197){ob(a,2050,0,0);return 2050}t[b+32|0]=w[c+32|0];t[b+33|0]=w[c+33|0];v[b+36>>2]=v[c+36>>2];v[b+40>>2]=v[c+40>>2];return 0}function _ta(a){a=a|0;var b=0,c=0,d=0;c=cb(ab(1584),a,1584);d=v[a+1044>>2];b=ab(8);Hc(b,d);v[c+1044>>2]=b;d=v[c+1056>>2];b=Pb(d,16);v[c+1048>>2]=b;cb(b,v[a+1048>>2],d<<4);return c|0}function YTa(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1883521383){ob(a,2050,0,0);return 2050}t[b+32|0]=w[c+32|0];v[b+36>>2]=v[c+36>>2];v[b+40>>2]=v[c+40>>2];t[b+44|0]=w[c+44|0];return 0}function Wia(a){a=a|0;var b=0;a=v[291413];v[291413]=0;a:{if(!a){break a}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break a}b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Qa[v[v[a>>2]+4>>2]](a)}}}function MNa(a){a=a|0;var b=0;v[a>>2]=360688;b=v[a+8>>2];if(b?b:0){WC(b)}b=v[a+168>>2];if(b){Qa[v[v[b>>2]+4>>2]](b);v[a+168>>2]=0}if(t[a+123|0]<=-1){$a(v[a+112>>2])}o1(a+16|0);$a(a)}function I6(a){a=a|0;var b=0;b=v[a+32>>2];if(b){$a(b);v[a+32>>2]=0}v[a+36>>2]=0;b=v[a+40>>2];if(b){$a(b);v[a+40>>2]=0}v[a+44>>2]=0;b=v[a+48>>2];if(b){$a(b);v[a+48>>2]=0}v[a+52>>2]=0}function Hv(a){var b=0;if(!a){return-1}if(!v[a+64>>2]){return 0}b=v[a+68>>2];if(b){b=v[b+4>>2]-2|0;if(!((b|0)!=16?b:0)){return v[a+72>>2]+1|0}return v[a+72>>2]+2|0}return v[a+72>>2]}function $na(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a:{if(v[a+8>>2]|(b|0)<3){break a}a=v[a+4>>2];a=Qa[v[v[a>>2]+60>>2]](a,b,c,d)|0;if(!a){break a}Wb(Wb(a,c),341061);e=a}return e|0}function zn(a,b){var c=0,d=0,e=0;a:{if(!a|!(w[a+8|0]&8)){break a}c=v[a+96>>2];d=v[v[c>>2]+32>>2];if(!d){break a}c=Qa[d|0](c,282202)|0;if(!c){break a}e=Qa[v[c+4>>2]](a,b)|0}return e}function yCa(a,b){a=a|0;b=b|0;v[a+16>>2]=b;b=w[b+6|0]|w[b+7|0]<<8|(w[b+8|0]<<16|w[b+9|0]<<24);v[a+28>>2]=0;v[a+32>>2]=0;v[a+24>>2]=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);return 0}function nla(a){a=a|0;var b=0,c=0;b=Qa[v[v[a>>2]+16>>2]](a)|0;if(!(Qa[v[v[a>>2]+20>>2]](a,0,2,1)|0)){return-1}c=Qa[v[v[a>>2]+16>>2]](a)|0;Qa[v[v[a>>2]+20>>2]](a,b,0,0)|0;return c|0}function kN(a,b,c,d){var e=0,f=0,g=0,h=0;f=v[a+4>>2];a=v[a>>2];g=a;h=b;e=0;a:{if(!c){break a}b=f>>8;e=b;if(!(f&1)){break a}e=v[b+v[c>>2]>>2]}Qa[v[v[a>>2]+28>>2]](g,h,e+c|0,f&2?d:2)}function hw(a){var b=0,c=0,d=0;b=Ma-16|0;Ma=b;v[b+12>>2]=0;v[b+8>>2]=0;c=w[a+11|0];d=c<<24>>24<0;Fj(d?v[a>>2]:a,d?v[a+4>>2]:c,b+12|0,b+8|0);a=v[b+12>>2];MP(a);if(a){$a(a)}Ma=b+16|0}function fZ(a){var b=0;if(v[a>>2]<=0){b=Fg(28);if(!b){v[a>>2]=7;return b}v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=0;v[b+4>>2]=0;v[b+24>>2]=-1;v[b+16>>2]=0;v[b+20>>2]=0;t[b+12|0]=1}return b}function dfa(a,b,c){a=a|0;b=b|0;c=c|0;a=v[a+3312>>2];b=v[(a+(w[c|0]<<2)|0)+44>>2]+v[a+20>>2]|0;a:{if(b>>>0<=y[a+28>>2]){v[a+20>>2]=b;a=t[c|0]&1;break a}a=dg(a,c,b)}return(a|0)!=0|0}function Xla(a){a=a|0;a=v[v[a>>2]-12>>2]+a|0;v[a+64>>2]=965664;v[a>>2]=965624;v[a+12>>2]=965476;v[a+8>>2]=965644;if(t[a+55|0]<=-1){$a(v[a+44>>2])}Nh(a+12|0);Kf(a- -64|0);return a|0}function Uxa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(!a){return 0}d=v[a+36>>2];a:{if(d){d=v[d+4>>2];if(d){break a}}d=v[a+180>>2]}c=Qs(c,d);a=jA(c,b,a);if(c){Qa[v[256556]](c)}return a|0}function De(a,b,c){var d=0,e=0;d=Ma-16|0;Ma=d;a:{if(c>>>0<=1){t[a+11|0]=c;rk(a,b,c);v[d+12>>2]=0;v[(c<<2)+a>>2]=v[d+12>>2];break a}e=a;a=w[a+11|0];sr(e,1,c-1|0,a,0,a,c,b)}Ma=d+16|0}function zp(a){var b=0,c=0;b=v[279417];c=a+3&-4;a=b+c|0;a:{if(a>>>0<=b>>>0?c:0){break a}if(a>>>0>Ra()<<16>>>0){if(!(qa(a|0)|0)){break a}}v[279417]=a;return b}v[296206]=48;return-1}function tpa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=a;if((c|0)<=-1){c=v[a+24>>2];Nw(v[c>>2],0,2);c=Jr(v[c>>2]);b=(b|0)>(c|0)?0:c-b|0}v[d+304>>2]=b;b=a+40|0;v[a+300>>2]=b;v[a+296>>2]=b}function kfa(a,b){a=a|0;b=b|0;v[a+212>>2]=0;v[a+204>>2]=0;v[a+236>>2]=0;t[a+49|0]=1;b=v[a+220>>2];v[a+208>>2]=b;v[a+232>>2]=b;v[a+228>>2]=b;v[a+224>>2]=b;v[a+200>>2]=v[a+216>>2]+1}function iBa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(w[a+29|0]&128){Qa[v[b+8>>2]](v[b>>2],0,55295);Qa[v[b+8>>2]](v[b>>2],57344,1114111);return}a=v[a+24>>2];dk(a,b,c,w[a+200|0]==219,d)}function he(a){var b=0,c=0;b=Ma-16|0;Ma=b;v[b+12>>2]=0;v[b+4>>2]=a;v[b>>2]=a;v[b+8>>2]=a+1;a=Ma-16|0;Ma=a;c=a+8|0;v[c>>2]=v[b+4>>2];t[v[c>>2]]=1;t[v[b+8>>2]]=1;Ma=a+16|0;Ma=b+16|0}function Vna(a){a=a|0;var b=0,c=0,d=0,e=0;b=ab(16);c=v[a+4>>2];c=Qa[v[v[c>>2]+8>>2]](c)|0;a=v[a+12>>2];v[b+12>>2]=a;v[b>>2]=958712;v[b+4>>2]=c;d=b,e=Pb(a,4),v[d+8>>2]=e;return b|0}function Lya(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if(a){a:{if(c&8){c=0;if(!v[a+20>>2]){break a}v[a+4>>2]=65535;d=a,e=gb(65535),v[d>>2]=e;break a}c=v[a+4>>2]}v[a+8>>2]=c}return a|0}function FE(a,b,c){var d=0,e=0;a:{if(v[b+4>>2]<=(c|0)){break a}d=v[b+8>>2];if(!d){break a}while(1){if(!c){e=d;break a}c=c-1|0;d=v[d>>2];if(d){continue}break}}v[a+4>>2]=b;v[a>>2]=e}function wc(a,b,c){var d=0,e=0;d=Ma-16|0;Ma=d;xh(d,879320,b);b=w[d+11|0];e=b<<24>>24<0;bd(a,e?v[d>>2]:d,e?v[d+4>>2]:b);if(t[d+11|0]<=-1){$a(v[d>>2])}if(!c){kc(a,879328)}Ma=d+16|0}function oYa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=-1;a:{if((b|0)==-1){break a}if(!(Qa[v[v[a>>2]+20>>2]](a,b,c)|0)){break a}d=b;if(!c){break a}d=Qa[v[v[a>>2]+24>>2]](a)|0}return d|0}function m_(a,b){var c=0,d=0;c=Ma-16|0;Ma=c;a=v[a+4>>2];d=v[b+4>>2];v[c+8>>2]=d;v[c+12>>2]=v[b+8>>2]-d;a=v[v[a+128>>2]+52>>2];if(a){Qa[v[v[a>>2]+4>>2]](v[a+4>>2],c+8|0)}Ma=c+16|0}function ao(a){var b=0,c=0,d=0;b=Ma-16|0;Ma=b;d=b;if(w[a+11|0]>>>7|0){c=v[a>>2]}else{c=a}if(w[a+11|0]>>>7|0){a=v[a+4>>2]}else{a=w[a+11|0]}v[d+8>>2]=c+a;Ma=b+16|0;return v[b+8>>2]}function aH(){var a=0,b=0;a=ii(312034);if(a){return Rb(ab(8),a)}a=ii(310411);a:{if(a){a=ja(a|0)|0;break a}a=Ka(za()|0)|0}b=ab(8);if(a){return Rb(b,v[a+20>>2])}return Rb(b,326410)}function Zla(a){a=a|0;var b=0,c=0,d=0;c=a+56|0;v[c>>2]=965664;b=a-8|0;v[b>>2]=965624;d=a+4|0;v[d>>2]=965476;v[a>>2]=965644;if(t[a+47|0]<=-1){$a(v[b+44>>2])}Nh(d);Kf(c);return b|0}function YC(a){var b=0;a:{b=v[249421];if((ZC(a,b)|0)<0){break a}b:{if(w[b+75|0]==10){break b}a=v[b+20>>2];if(a>>>0>=y[b+16>>2]){break b}v[b+20>>2]=a+1;t[a|0]=10;break a}ox(b,10)}}function Tya(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=1;a=301143;a:{if((c&3)==1){break a}a=302489;if(c&4){break a}d=(c&8)>>>3|0;a=c<<28>>31&300427}c=0;if(!(!b|!d)){c=ji(b,a)}return c|0}function JTa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=v[c+32>>2];v[b+32>>2]=d;if(d){d=Qa[v[a+152>>2]](d)|0;v[b+36>>2]=d;if(!d){ob(a,1,0,0);return 1}cb(d,v[c+36>>2],v[b+32>>2])}return 0}function I0a(a,b){a=a|0;b=b|0;u[a+1052>>1]=x[b+28>>1];u[a+1054>>1]=x[b+30>>1];u[a+1056>>1]=x[b+32>>1];t[a+1058|0]=w[b+34|0];u[a+1060>>1]=x[b+36>>1];t[a+1062|0]=w[b+38|0];return 0}function HNa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=A[b>>3];g=A[d>>3];a=g!=0;f=A[c>>3];if(!(!a&f==0)){if(!a){return+(f*e/72)}if(f==0){return+(e*72/g)}e=f*e/g}return+e}function zga(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Ma-16|0;Ma=e;v[e+12>>2]=0;b=Af(v[a+12>>2]+b|0,e+12|0,d);d=c;c=v[e+12>>2];v[d>>2]=c?c-v[a+12>>2]|0:-1;Ma=e+16|0;return b|0}function yga(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Ma-16|0;Ma=e;v[e+12>>2]=0;b=Hx(v[a+12>>2]+b|0,e+12|0,d);d=c;c=v[e+12>>2];v[d>>2]=c?c-v[a+12>>2]|0:-1;Ma=e+16|0;return b|0}function wC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=v[a+4>>2];a=!f|!v[a+44>>2];if(!a){b=(b<<2)+(a?0:f+40|0)|0;t[c|0]=w[b+2|0];t[d|0]=w[b+1|0];t[e|0]=w[b|0]}return!a|0}function w5(){var a=0,b=0;a=gb(108);if(!a){return 0}v[a+96>>2]=0;v[a+12>>2]=0;b=gb(12);if(!b){v[a+76>>2]=0;$a(a);return 0}v[b+8>>2]=0;v[b>>2]=0;v[b+4>>2]=0;v[a+76>>2]=b;return a}function vf(a,b){var c=0;c=v[a+12>>2];if((c|0)==(v[a+8>>2]+(v[a+16>>2]<<3)|0)){a=v[a+4>>2];if(!(!a|v[a>>2])){v[a>>2]=130}return}v[c>>2]=b;b=v[a+12>>2];v[b+4>>2]=0;v[a+12>>2]=b+8}function tIa(a){a=a|0;var b=0,c=0;b=v[a+4>>2];c=v[b+552>>2];a:{if(!c){break a}b=tg(v[v[b+96>>2]+4>>2],239159);if(!b){break a}b=Qa[v[c+4>>2]](b)|0;v[v[a+156>>2]+36>>2]=b}return 0}function rn(a,b){var c=0;c=v[a+12>>2];if((c|0)==(v[a+8>>2]+(v[a+16>>2]<<3)|0)){a=v[a+4>>2];if(!(!a|v[a>>2])){v[a>>2]=130}return}v[c>>2]=b;b=v[a+12>>2];v[b+4>>2]=2;v[a+12>>2]=b+8}function iHa(a){a=a|0;var b=0,c=0;b=v[a+4>>2];c=v[b+320>>2];a:{if(!c){break a}b=tg(v[v[b+96>>2]+4>>2],239159);if(!b){break a}b=Qa[v[c+4>>2]](b)|0;v[v[a+156>>2]+36>>2]=b}return 0}function Ge(a,b){v[a>>2]=1032;eb(a+4|0,0,972);t[a+388|0]=255;v[a+344>>2]=1119092736;v[a+68>>2]=b;t[a+390|0]=1;v[a+336>>2]=-1;t[a+348|0]=1;bl(a,96);_n(a,96);t[a+494|0]=1;return a}function zt(a){var b=0,c=0,d=0;b=Yb(1,20);a:{if(!b){break a}v[b+8>>2]=1;a=(a|0)<1?20:a;v[b+4>>2]=a;c=Yb(a,4);v[b+12>>2]=c;if(!c){break a}a=Yb(a,4);v[b+16>>2]=a;d=a?b:0}return d}function g8(a,b){a=a|0;b=b|0;b=Qa[v[v[a+584>>2]+904>>2]](a,b)|0;if(b>>>0>2]){a=x[a+206>>1]<<3;if(b>>>0<0-a>>>0){b=((a+b|0)-1>>>0)/(a>>>0)|0}else{b=0}b=B(b,a)}return b|0}function OLa(a,b){a=a|0;b=b|0;var c=0;c=18;a:{if(v[b+72>>2]!=1869968492){break a}c=v[a>>2];a=a+20|0;c=j0(c,u[b+110>>1],u[b+108>>1],a);if(c){break a}i0(b+108|0,a);c=0}return c|0}function Nz(a){var b=0,c=0,d=0;a:{if(!a){break a}b=v[a+56>>2];if((b|0)<1){break a}c=b-1|0;v[a+56>>2]=c;d=v[a+64>>2];v[a+52>>2]=(b|0)!=1?v[((b<<2)+d|0)-8>>2]:0;v[(c<<2)+d>>2]=0}}function Ih(a,b,c,d,e){var f=0;f=Ma-16|0;Ma=f;v[f+12>>2]=c;v[f+8>>2]=e;c=al(f,f+12|0);b=am(a,b,d,v[f+8>>2]);a=v[c>>2];if(a?a:0){v[279293]=(a|0)==-1?1184868:a}Ma=f+16|0;return b}function EJ(a,b){var c=0,d=0;c=v[a+156>>2];if(!(!c|!(t[c+4|0]&1))){c=v[v[a+4>>2]+100>>2];d=v[a+88>>2];if(d){Qa[v[c+8>>2]](c,d)}c=v[a+156>>2];v[c+4>>2]=v[c+4>>2]&-2}v[a+88>>2]=b}function y8(a){a=a|0;var b=0,c=0,d=0;b=Ma-224|0;Ma=b;c=b+16|0;Qa[v[v[a>>2]+12>>2]](a,c);d=v[v[a+12>>2]+628>>2];v[b>>2]=c;wb(d,62414,62523,b);tc(v[v[a+12>>2]+584>>2]+4|0,1);L()}function vMa(a){a=a|0;var b=0,c=0;b=v[a+180>>2];if(!b){return 0}b=zn(b,2);a:{if(!(!b|x[b>>1]==65535)){c=1;if(x[b+4>>1]>799){break a}}c=(w[v[a+180>>2]+12|0]&2)>>>1|0}return c|0}function g5(a){var b=0,c=0,d=0,e=0;b=v[a+960>>2];if(b){$a(b)}v[a+376>>2]=0;v[a+380>>2]=0;b=v[a+16>>2];v[a+372>>2]=b;c=v[a+20>>2];v[a+384>>2]=c;d=a,e=Yb(B(b,c),1),v[d+960>>2]=e}function eZ(a){var b=0,c=0;a:{if(!a){break a}a=v[a+4>>2];if(!a){break a}b=0;b:{if(!a){break b}c=x[a>>1];b=c;if(!w[a+8|0]){break b}b=c<<8|(c&65280)>>>8}c=(b&65535)+a|0}return c}function dpa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((c|0)<1){return 0}d=v[a+32>>2];c=v[a+28>>2]?c>>>0>d>>>0?d:c:c;v[a+32>>2]=d-c;a=v[a+24>>2];return Qa[v[v[a>>2]+40>>2]](a,b,c)|0}function aUa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=d;d=0;a=v[(!a|v[a>>2]!=1381173770?d:v[a+4>>2])>>2];f=e,g=Qa[v[v[a>>2]+12>>2]](a,b,1,c,0,0)|0,v[f>>2]=g;return 1}function Wla(a){a=a|0;a=v[v[a>>2]-12>>2]+a|0;v[a+64>>2]=965664;v[a>>2]=965624;v[a+12>>2]=965476;v[a+8>>2]=965644;if(t[a+55|0]<=-1){$a(v[a+44>>2])}Nh(a+12|0);Kf(a- -64|0);$a(a)}function SI(a,b,c,d){var e=0,f=0,g=0;e=v[a+20>>2];if(w[a+45|0]){a=v[e+8>>2];f=u[e+2>>1];g=v[e+4>>2]+(f<<3)|0;v[g+4>>2]=c>>10;v[g>>2]=b>>10;t[a+f|0]=d?1:2}u[e+2>>1]=x[e+2>>1]+1}function Lba(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;while(1){if((b|0)!=(c|0)){d=b;a=v[b>>2];if(a>>>0<=127){a=v[v[250208]+(v[b>>2]<<2)>>2]}v[d>>2]=a;b=b+4|0;continue}break}return c|0}function Jba(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;while(1){if((b|0)!=(c|0)){d=b;a=v[b>>2];if(a>>>0<=127){a=v[v[250596]+(v[b>>2]<<2)>>2]}v[d>>2]=a;b=b+4|0;continue}break}return c|0}function CO(a,b,c){var d=0;d=Ma-16|0;Ma=d;v[d+12>>2]=b;v[d+8>>2]=c;b=al(d,d+12|0);c=AP(a,243225,v[d+8>>2]);a=v[b>>2];if(a?a:0){v[279293]=(a|0)==-1?1184868:a}Ma=d+16|0;return c}function $K(a){var b=0;a:{if(kb(a)){break a}a=kb(a);if((a|0)!=1399614836){if((a|0)==1399210572){break a}if((a|0)==1349665356){return 1}O(3794,6490,828,194271);L()}b=2}return b}function vK(a,b){var c=0;a:{if(!a|(b|0)<0){break a}if(v[a>>2]<=(b|0)){return 0}a=v[v[a+8>>2]+(b<<2)>>2];if(!a){break a}b:{if(a){v[a+8>>2]=v[a+8>>2]+1;break b}a=0}c=a}return c}function vB(a,b,c,d,e,f){var g=0,h=0;g=v[a+84>>2];if((g|0)>=1){h=v[a+80>>2];a=(b|0)>0?b:0;a=h+B((a|0)<(g|0)?a:g-1|0,96)|0;z[a+24>>2]=f;z[a+20>>2]=e;z[a+16>>2]=d;z[a+12>>2]=c}}function hk(a){var b=0,c=0,d=0;b=Yb(1,20);a:{if(!b){break a}v[b+8>>2]=1;a=(a|0)<1?20:a;v[b+4>>2]=a;c=Yb(a,4);v[b+12>>2]=c;if(!c){break a}a=_o(a);v[b+16>>2]=a;d=a?b:0}return d}function fv(a,b){var c=0,d=0;a:{if(!a|!b){break a}c=v[a+672>>2];b:{if(c){c=Qa[c|0](a,b)|0;break b}c=gb(b)}if(!c){if(w[a+206|0]&16){break a}dc(a,1096);L()}d=eb(c,0,b)}return d}function ZY(a,b){a=a|0;b=b|0;var c=0;c=v[a+28>>2]&15;a:{b:{if(b>>>0<=1){v[a+48>>2]=!c<<3;if((b|0)==1){break a}if((c|0)==1){break b}break a}if((c|0)!=1){break a}}v[a+52>>2]=1}}function TNa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=a;a:{if(d){d=ab(c);v[a+8>>2]=d;cb(d,b,c);b=0;break a}v[a+8>>2]=b;d=b;b=1}t[e+16|0]=b;v[a+12>>2]=d?c:0;return(d|0)!=0|0}function SO(a){var b=0,c=0;b=v[a>>2];if(b){c=v[b+12>>2];a:{if((c|0)==v[b+16>>2]){b=Qa[v[v[b>>2]+36>>2]](b)|0;break a}b=v[c>>2]}if((b|0)!=-1){return!v[a>>2]}v[a>>2]=0}return 1}function R$(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=6;a:{if(v[b+72>>2]!=v[a+16>>2]){break a}if(c){xn(b+108|0,c)}e=0;if(!d){break a}Jg(b+108|0,v[d>>2],v[d+4>>2])}return e|0}function Pj(a,b){var c=0,d=0;c=v[a+16>>2];if((c|0)>=1){d=v[a+24>>2];a=0;while(1){if(v[v[(a<<2)+d>>2]+40>>2]==(b|0)){return a}a=a+1|0;if((c|0)!=(a|0)){continue}break}}return-1}function dI(a){var b=0,c=0;c=-102;a:{if(!a){break a}b=v[a+224>>2];if(!b){break a}c=v[b>>2];if(c){$a(c)}c=0;v[b>>2]=0;if(v[b+72>>2]==8){Gk(b+4|0)}$a(b);v[a+224>>2]=0}return c}function _s(a,b){var c=0;c=x[a+152>>1];if(c){a=v[a+156>>2];c=a+(c<<4)|0;while(1){if(!(!v[a+12>>2]|v[a>>2]!=(b|0))){return a}a=a+16|0;if(c>>>0>a>>>0){continue}break}}return 0}function Yla(a){a=a|0;var b=0,c=0,d=0;c=a+56|0;v[c>>2]=965664;b=a-8|0;v[b>>2]=965624;d=a+4|0;v[d>>2]=965476;v[a>>2]=965644;if(t[a+47|0]<=-1){$a(v[b+44>>2])}Nh(d);Kf(c);$a(b)}function Wb(a,b){var c=0,d=0,e=0;e=a;d=v[a>>2];c=zb(b);if((d|0)>(2147483647-c|0)){jh(333008);d=v[a>>2]}pg(e,c+d|0);cb(v[a+4>>2]+v[a>>2]|0,b,c+1|0);v[a>>2]=v[a>>2]+c;return a}function Vz(a,b,c,d,e){var f=0;f=Ma-16|0;Ma=f;a:{if(a){if(v[a+172>>2]==-1?v[a+212>>2]:0){break a}v[a+84>>2]=b}v[f+4>>2]=e;v[f>>2]=d;nb(0,0,0,a,0,3,b,1,d,e,0,0,c,f)}Ma=f+16|0}function VGa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;v[c>>2]=0;d=6;a:{if(!b|!a){break a}b=b-1|0;if(b>>>0>=y[a+408>>2]){break a}v[c>>2]=v[(v[a+416>>2]+(b<<4)|0)+4>>2];d=0}return d|0}function TO(a){var b=0,c=0;b=v[a>>2];if(b){c=v[b+12>>2];a:{if((c|0)==v[b+16>>2]){b=Qa[v[v[b>>2]+36>>2]](b)|0;break a}b=w[c|0]}if((b|0)!=-1){return!v[a>>2]}v[a>>2]=0}return 1}function QL(a,b){var c=0;c=gb(8);if(!c){return 0}if((b|0)>=1){if(!a){v[c+4>>2]=1023728;v[c>>2]=b;return c}v[c+4>>2]=1023712;v[c>>2]=b;return c}v[c+4>>2]=0;v[c>>2]=b;return c}function Nba(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{while(1){if((c|0)==(d|0)){break a}if(!(!(x[v[250014]+(v[c>>2]<<1)>>1]&b)|y[c>>2]>127)){c=c+4|0;continue}break}d=c}return d|0}function Mya(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;if(!b){return 0}a=v[b+4>>2];e=v[b+12>>2];a=a>>>0>>0?a-e|0:d;cb(c,e+v[b>>2]|0,a);v[b+12>>2]=a+v[b+12>>2];return a|0}function Mpa(a){a=a|0;var b=0,c=0;a=v[v[a+4>>2]+12>>2];a:{if(!a){break a}a=Qa[v[v[a>>2]+168>>2]](a)|0;if(!a){break a}b=ab(8);c=ab(8);Hc(c,a);v[b+4>>2]=c;v[b>>2]=a}return b|0}function J2(){var a=0,b=0;b=Yb(256,1);if(b){while(1){t[a+b|0]=a<<1&64|(a<<2&32|(a<<3&16|(a>>>3&8|(a>>>2&4|(a&129|a>>>1&2)))));a=a+1|0;if((a|0)!=256){continue}break}}return b}function Gxa(a,b){a=a|0;b=b|0;var c=0;c=v[a+396>>2];if(b){b=v[a>>2];v[b+20>>2]=3;Qa[v[b>>2]](a)}b=v[a+32>>2];v[c+52>>2]=0;v[c+56>>2]=0;v[c+48>>2]=b;v[c+60>>2]=v[a+272>>2]<<1}function Ef(a,b){var c=0;if((a|0)==(b|0)){return 1}if(!a){return 0}if(!b){return 0}while(1){c=w[a|0];if((c|0)!=w[b|0]){return 0}b=b+1|0;a=a+1|0;if(c){continue}break}return 1}function CU(a){var b=0;b=v[a+12>>2];if(b){bb(b+176|0);bb(b+192|0);bb(b+208|0);bb(b+224|0);bb(b+240|0);bb(b+256|0);bb(b+280|0);$a(b)}bb(a+16|0);bb(a+32|0);bb(a+48|0);return a}function sE(a,b,c){var d=0;a:{if(!c){break a}if(!(!a|!w[a|0])){d=1;if(!b|!w[b|0]){break a}if((c|0)>=1){return Kb(a,b,c)}return hb(a,b)}if(!b){break a}d=w[b|0]?-1:0}return d}function gDa(a,b){a=a|0;b=b|0;var c=0,d=0;d=v[a+16>>2]+6|0;a=v[b>>2];while(1){a=a+1|0;if(a>>>0>255){v[b>>2]=0;return 0}c=w[a+d|0];if(!c){continue}break}v[b>>2]=a;return c|0}function Xl(a,b,c,d){var e=0;e=Ma-16|0;Ma=e;v[e+12>>2]=b;v[e+8>>2]=d;b=al(e,e+12|0);c=KP(a,c,v[e+8>>2]);a=v[b>>2];if(a?a:0){v[279293]=(a|0)==-1?1184868:a}Ma=e+16|0;return c}function Ow(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=v[a+26328>>2];e=d&4;f=e?b:c;b=e?c:b;b=d&2?x[a+26318>>1]+(b^-1)|0:b;a=x[a+26320>>1];return B(b,a)+(d&1?a+(f^-1)|0:f)|0}function HU(a){var b=0,c=0,d=0;b=v[a+4>>2];if((b|0)>=1){while(1){d=v[v[a>>2]+(c<<3)>>2];if(d){tb(d);b=v[a+4>>2]}c=c+1|0;if((b|0)>(c|0)){continue}break}}tb(v[a>>2]);return a}function H1a(a){a=a|0;var b=0,c=0,d=0,e=0;c=v[v[a+40>>2]+16>>2];b=v[a+52>>2];d=Qa[v[v[b>>2]+20>>2]](b,2)|0;e=a;a=(c|0)<257?1:2;_4(e,Qa[v[v[b>>2]+20>>2]](b,a)|0,(d-a|0)-2|0)}function Cw(a,b,c){v[a+16>>2]=c;v[a>>2]=360140;v[a+4>>2]=2;_h(a+20|0);v[a+32>>2]=-16777216;v[a+24>>2]=0;v[a+28>>2]=-16777216;t[a+36|0]=255;v[a+12>>2]=0;v[a+8>>2]=b;return a}function $b(a,b){var c=0,d=0;d=a;c=v[a>>2];if((c|0)==2147483647){jh(333008);c=v[a>>2]}pg(d,c+1|0);c=v[a>>2];v[a>>2]=c+1;t[c+v[a+4>>2]|0]=b;t[v[a+4>>2]+v[a>>2]|0]=0;return a}function xJ(a,b){var c=0,d=0,e=0;if(!(!a|!b)){c=xb(v[a>>2],v[b>>2]);d=xb(v[a+4>>2],v[b+4>>2]);e=xb(v[a>>2],v[b+8>>2]);b=xb(v[a+4>>2],v[b+12>>2]);v[a>>2]=c+d;v[a+4>>2]=b+e}}function uv(a,b,c){var d=0;a:{if(b>>>0<=2147483646){d=b+1|0;if((d|0)>2]){break a}}v[c>>2]=0;return 0}a=v[a+8>>2];b=w[a+b|0];a=b<<8|w[a+d|0];return b&128?a|-65536:a}function uMa(a,b){a=a|0;b=b|0;var c=0,d=0;d=v[a+180>>2];a:{if(!d){break a}c=v[a+196>>2]!=-1;if(c|!b){break a}c=0;a=zn(d,2);if(!a){break a}c=y[a+80>>2]<268435456}return c|0}function u1a(a){a=a|0;var b=0,c=0;b=v[a+4>>2];if(b){a:{if(v[b>>2]!=2){break a}c=v[b+4>>2];if(!c){break a}$a(c)}$a(b)}a=a+4|0;v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0}function pD(a,b){var c=0,d=0;c=Ma-16|0;Ma=c;a:{if(!(w[b+11|0]>>>7|0)){v[a+8>>2]=v[b+8>>2];d=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=d;break a}Sl(a,v[b>>2],v[b+4>>2])}Ma=c+16|0}function gTa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=d;d=0;a=v[(!a|v[a>>2]!=1381173770?d:v[a+4>>2])>>2];f=e,g=Qa[v[v[a>>2]+16>>2]](a,b,1,c)|0,v[f>>2]=g;return 1}function cRa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=v[a+52>>2];if(d){$a(d);v[a+52>>2]=0}d=c<<3;e=ab((c&536870911)!=(c|0)?-1:d);v[a+52>>2]=e;cb(e,b,d);v[a+56>>2]=c;return 0}function Woa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a:{if((b|0)<2){break a}a=v[a+4>>2];a=Qa[v[v[a>>2]+60>>2]](a,b,c,d)|0;if(!a){break a}Wb(Wb(a,c),340985);e=a}return e|0}function Toa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if(a){x3a(c,0,b,0);if(Pa){Db(a,8187);return 0}d=v[a+204>>2];v[a+204>>2]=d|1048576;e=fg(a,B(b,c));v[a+204>>2]=d}return e|0}function Poa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a:{if((b|0)<2){break a}a=v[a+4>>2];a=Qa[v[v[a>>2]+60>>2]](a,b,c,d)|0;if(!a){break a}Wb(Wb(a,c),341135);e=a}return e|0}function Oba(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;while(1){a:{if((c|0)!=(d|0)){if(!(x[v[250014]+(v[c>>2]<<1)>>1]&b)|y[c>>2]>127){break a}}else{c=d}return c|0}c=c+4|0;continue}}function Kga(a,b,c){a=a|0;b=b|0;c=c|0;v[a>>2]=0;if(c){b=ab(16);v[b+8>>2]=0;v[b+12>>2]=0;v[b+4>>2]=0;v[b>>2]=978704;qb(a,b);a=ab(c+1|0);v[b+8>>2]=c;v[b+12>>2]=a;t[a+c|0]=0}}function Iga(a,b,c){a=a|0;b=b|0;c=c|0;v[a>>2]=0;if(c){b=ab(16);v[b+8>>2]=0;v[b+12>>2]=0;v[b+4>>2]=0;v[b>>2]=978512;qb(a,b);a=ab(c+1|0);v[b+8>>2]=c;v[b+12>>2]=a;t[a+c|0]=0}}function Aoa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a:{if((b|0)<2){break a}a=v[a+4>>2];a=Qa[v[v[a>>2]+60>>2]](a,b,c,d)|0;if(!a){break a}Wb(Wb(a,c),341036);e=a}return e|0}function x7(a){a=a|0;var b=0,c=0;b=v[a+584>>2];if(b){c=b;b=gb(72008);v[c+144>>2]=b;if(b){a=1}else{wb(v[a+628>>2],88297,37756,0);a=0}return a|0}O(16309,6139,747,88297);L()}function mXa(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;if(f){a=B(d,6);if(((c+1|0)/2|0)>(b|0)){cb(g,e,a);return 0}cb(g,f,a);return 0}cb(g,e,B(d,6));return 0}function kya(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(!c){if(v[b>>2]>=2){t[a|0]=255;t[a+1|0]=254;v[b>>2]=2;v[d>>2]=0;return 2}v[b>>2]=0;v[d>>2]=0;return 0}return hY(a,b,c,d)|0}function aKa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=v[a+24>>2];c=Mb(b,c);a:{if(c){break a}c=Ed(b,d);if(c){break a}v[a+196>>2]=v[b+32>>2];v[a+200>>2]=v[b+36>>2];c=0}return c|0}function Mta(a,b,c){a=a|0;b=b|0;c=c|0;b=-1;a=v[a+108>>2];a:{if(!a){break a}a=v[a+4>>2];if(v[a+8>>2]==13){break a}a=v[a+16>>2];b=Qa[v[v[a>>2]+52>>2]](a)|0}fb(7,b,237755,0)}function M_(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=1;a:{if(!w[a|0]|v[a+8>>2]!=(b|0)|v[a+12>>2]!=(c|0)){break a}if(c){if(Jb(d,v[a+16>>2],c<<2)){break a}}e=0}return e|0}function MXa(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;if(f){a=B(d,3);if(((c+1|0)/2|0)>(b|0)){cb(g,e,a);return 0}cb(g,f,a);return 0}cb(g,e,B(d,3));return 0}function JQa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;v[a+136>>2]=v[b>>2];z[a+140>>2]=A[c>>3];z[a+144>>2]=A[d>>3];z[a+148>>2]=A[e>>3];z[a+152>>2]=A[f>>3];return 0}function HN(){var a=0,b=0;a=Ma-16|0;Ma=a;v[a+12>>2]=1073741823;v[a+8>>2]=2147483647;b=Ma-16|0;Ma=b;Ma=b+16|0;Ma=a+16|0;b=a+8|0;a=a+12|0;return v[(y[b>>2]>2]?b:a)>>2]}function Gta(a,b,c){a=a|0;b=b|0;c=c|0;b=-1;a=v[a+108>>2];a:{if(!a){break a}a=v[a+4>>2];if(v[a+8>>2]==13){break a}a=v[a+16>>2];b=Qa[v[v[a>>2]+52>>2]](a)|0}fb(7,b,237773,0)}function Doa(a){a=a|0;var b=0,c=0;b=ab(148);a=v[a+4>>2];a=Qa[v[v[a>>2]+8>>2]](a)|0;c=b+8|0;v[b+140>>2]=c;v[b>>2]=953448;v[b+4>>2]=a;v[b+144>>2]=0;v[b+136>>2]=c;return b|0}function Dba(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;while(1){if((b|0)!=(c|0)){d=b;a=t[b|0];if((a|0)>=0){a=v[v[250208]+(t[b|0]<<2)>>2]}t[d|0]=a;b=b+1|0;continue}break}return c|0}function Bba(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;while(1){if((b|0)!=(c|0)){d=b;a=t[b|0];if((a|0)>=0){a=v[v[250596]+(t[b|0]<<2)>>2]}t[d|0]=a;b=b+1|0;continue}break}return c|0}function wN(a){var b=0,c=0,d=0;if(v[v[a>>2]>>2]-48>>>0<10){while(1){b=v[a>>2];d=v[b>>2];v[a>>2]=b+4;c=(B(c,10)+d|0)-48|0;if(v[b+4>>2]-48>>>0<10){continue}break}}return c}function fg(a,b){var c=0;a:{if(!a|!b){break a}c=v[a+672>>2];b:{if(c){c=Qa[c|0](a,b)|0;break b}c=gb(b)}if(c){break a}c=0;if(w[a+206|0]&16){break a}dc(a,1096);L()}return c}function dV(a,b,c,d){var e=0;e=om(v[a+56>>2],b);if(e){a=v[e>>2];a=Hc(ab(8),a);v[c>>2]=v[e+4>>2];A[d>>3]=A[e+8>>3];return a}v[c>>2]=0;v[d>>2]=0;v[d+4>>2]=0;return eV(a,b)}function aha(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{if(!a){break a}v[a+180>>2]=b;v[a+444>>2]=d?d:386;v[a+172>>2]=c?c:387;if(!v[a+176>>2]){break a}v[a+176>>2]=0;Db(a,10069)}}function Vo(a){a=a|0;var b=0;v[a>>2]=360452;b=v[a+24>>2];if(!(w[a+28|0]|!b)){$a(b)}v[a+12>>2]=0;v[a+16>>2]=0;v[a+8>>2]=8;v[a+20>>2]=0;v[a+24>>2]=0;t[a+28|0]=0;return a|0}function Sn(a,b,c,d){var e=0;if(!((a|0)>(c|0)|(b|0)>(d|0))){e=Oj(d-b|0,c-a|0);if(e){v[e+16>>2]=d;v[e+12>>2]=c;v[e+8>>2]=b;v[e+4>>2]=a}return e}O(2500,6607,89,188408);L()}function KZ(a,b){a=a|0;b=b|0;v[a+16>>2]=b;b=w[b+12|0]|w[b+13|0]<<8|(w[b+14|0]<<16|w[b+15|0]<<24);t[a+24|0]=0;v[a+40>>2]=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);return 0}function Gm(a){var b=0,c=0,d=0;b=Yb(1,24);a:{if(!b){break a}c=(a|0)<1?50:a;a=Yb(c,4);v[b+20>>2]=a;if(!a){break a}v[b+16>>2]=1065353216;v[b+8>>2]=1;v[b>>2]=c;d=b}return d}function sx(a,b){var c=0,d=0;c=(b>>>0)/100|0;d=x[(c<<1)+1010224>>1];t[a|0]=d;t[a+1|0]=d>>>8;a=a+2|0;b=x[(b-B(c,100)<<1)+1010224>>1];t[a|0]=b;t[a+1|0]=b>>>8;return a+2|0}function mla(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Qa[v[v[a>>2]+16>>2]](a)|0;Qa[v[v[a>>2]+20>>2]](a,d,0,1)|0;b=em(a,b,c);Qa[v[v[a>>2]+20>>2]](a,e,0,1)|0;return b|0}function lc(a,b,c){var d=0,e=0,f=0;a:{if(!c){break a}while(1){d=v[a>>2];e=v[b>>2];if((d|0)==(e|0)){b=b+4|0;a=a+4|0;c=c-1|0;if(c){continue}break a}break}f=d-e|0}return f}function V0(a){v[a+4>>2]=1;v[a>>2]=353372;v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=361260;v[a+16>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;return a}function On(a,b,c){var d=0,e=0,f=0;a:{if(!b){break a}d=v[a+4>>2];if(!d){break a}e=v[a+44>>2];if(!e){break a}f=b;b=e<<2;c=c<<2;cb(d+40|0,f,b>>>0>>0?b:c);t[a+481|0]=0}}function Jra(a){a=a|0;var b=0;v[a>>2]=887896;b=v[a+12>>2];if(b){$a(Bb(b))}b=v[a+16>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}b=v[a+20>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}return a|0}function zwa(a,b){a=a|0;b=b|0;var c=0;b=v[b+4>>2];if(t[b+15|0]>=0){b=b+4|0;c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;v[a+8>>2]=v[b+8>>2];return}vc(a,v[b+4>>2],v[b+8>>2])}function oC(a,b,c){if((c|0)>=0){a:{if(!b){break a}while(1){if(v[b+4>>2]<=(c|0)){break a}v[b+4>>2]=c;b=v[b>>2];if(b){continue}break}}return}O(14409,7271,249,189641);L()}function Jfa(a){a=a|0;var b=0;b=v[a+12>>2];if(!b){return 72}a=(v[b+20>>2]<<4)+32|0;b=v[b+24>>2];if(b){while(1){a=a+8164|0;b=v[b>>2];if(b){continue}break}}return a+72|0}function GCa(a,b){a=a|0;b=b|0;var c=0;if(!(!w[a+24|0]|v[a+28>>2]!=v[b>>2])){IZ(a);if(!w[a+24|0]){return 0}c=v[a+32>>2];v[b>>2]=v[a+28>>2];return c|0}return JZ(a,b,1)|0}function $Na(a){a=a|0;var b=0;a=v[a+4>>2];b=v[a>>2];a:{if(!b){break a}b=b-1|0;if(w[v[v[a+16>>2]+(b>>>6&67108860)>>2]+(b&255)|0]-1>>>0>13){break a}Td(a,0,0,79)}return 1}function zCa(a,b){a=a|0;b=b|0;a=v[a+16>>2];v[b+4>>2]=13;a=w[a+8|0]|w[a+9|0]<<8|(w[a+10|0]<<16|w[a+11|0]<<24);v[b>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return 0}function qQa(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;h=v[c>>2];v[a+500>>2]=(h^-1)>>>31;return Qa[v[v[a>>2]+272>>2]](a,(h|0)>-1?c:b,d,e,f,g)|0}function gXa(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;if(f){a=d<<3;if(((c+1|0)/2|0)>(b|0)){cb(g,e,a);return 0}cb(g,f,a);return 0}cb(g,e,d<<3);return 0}function ZPa(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;h=v[c>>2];v[a+500>>2]=(h^-1)>>>31;return Qa[v[v[a>>2]+340>>2]](a,(h|0)>-1?c:b,d,e,f,g)|0}function YJ(a){var b=0;v[a>>2]=360348;b=ab(32);v[b>>2]=0;v[b+4>>2]=0;v[b+28>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;u[b+24>>1]=0;v[a+4>>2]=b;return a}function Xu(a,b){var c=0;c=Ma-16|0;Ma=c;v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;bf(c,b,0,Xn(b,47)+1|0);v[a+8>>2]=v[c+8>>2];b=v[c+4>>2];v[a>>2]=v[c>>2];v[a+4>>2]=b;Ma=c+16|0}function UCa(a,b){a=a|0;b=b|0;a=v[a+16>>2];b=b-(w[a+6|0]<<8|w[a+7|0])|0;if(b>>>0<(w[a+9|0]|w[a+8|0]<<8)>>>0){a=a+(b<<1)|0;a=w[a+10|0]<<8|w[a+11|0]}else{a=0}return a|0}function Qb(a){var b=0,c=0;a:{if(!w[a+8|0]){break a}b=v[a>>2];if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}$a(b)}v[a>>2]=0;v[a+4>>2]=0;t[a+8|0]=0;return a}function ICa(a,b){a=a|0;b=b|0;a=v[a+16>>2];v[b+4>>2]=10;a=w[a+8|0]|w[a+9|0]<<8|(w[a+10|0]<<16|w[a+11|0]<<24);v[b>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return 0}function Ek(a,b){var c=0,d=0,e=0;if(!(!a|(b|0)<0)){c=Qa[v[256555]](b+1|0)|0;if(!c){nb(0,0,0,0,0,1,2,3,0,0,0,0,344777,0);return 0}d=cb(c,a,b)+b|0,e=0,t[d|0]=e}return c}function ECa(a,b){a=a|0;b=b|0;a=v[a+16>>2];v[b+4>>2]=12;a=w[a+8|0]|w[a+9|0]<<8|(w[a+10|0]<<16|w[a+11|0]<<24);v[b>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return 0}function xga(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Ma-16|0;Ma=d;v[d+12>>2]=0;e=Jx(v[a+12>>2]+b|0,d+12|0);b=v[d+12>>2];v[c>>2]=b?b-v[a+12>>2]|0:-1;Ma=d+16|0;return+e}function x4(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;if(f){a=d<<1;if(((c+1|0)/2|0)>(b|0)){cb(g,e,a);return 0}cb(g,f,a);return 0}cb(g,e,d<<1);return 0}function v4(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;if(f){a=d<<2;if(((c+1|0)/2|0)>(b|0)){cb(g,e,a);return 0}cb(g,f,a);return 0}cb(g,e,d<<2);return 0}function uza(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(v[d>>2]<=0){if(!v[c>>2]){v[c>>2]=344;return 0}a=cb(b+260|0,v[a+8>>2],84);t[b+34|0]=1;v[b+8>>2]=a}else{b=0}return b|0}function pIa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;if(!a){return 37}d=b?d:d|3;f=d&1?0:b;a:{if(f){e=35;if(v[b>>2]!=v[a+4>>2]){break a}}e=R_(a,f,c,d)}return e|0}function S7(a){a=a|0;var b=0,c=0,d=0;b=Ma-224|0;Ma=b;c=b+16|0;Qa[v[v[a>>2]+12>>2]](a,c);d=v[v[a+828>>2]+628>>2];v[b>>2]=c;wb(d,30279,31481,b);Fw(a);tc(a+624|0,1);L()}function R5(a,b,c,d){var e=0;e=Ma-16|0;Ma=e;t[e+11|0]=0;t[e+8|0]=d>>>16;d=d<<8|(d&65280)>>>8;t[e+9|0]=d;t[e+10|0]=d>>>8;v[e+4>>2]=v[e+8>>2];$w(a,b,c,e+4|0);Ma=e+16|0}function Pba(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;while(1){if((b|0)!=(c|0)){u[d>>1]=y[b>>2]<=127?x[v[250014]+(v[b>>2]<<1)>>1]:0;d=d+2|0;b=b+4|0;continue}break}return c|0}function NCa(a,b){a=a|0;b=b|0;a=v[a+16>>2];v[b+4>>2]=8;a=w[a+8|0]|w[a+9|0]<<8|(w[a+10|0]<<16|w[a+11|0]<<24);v[b>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return 0}function L7(a,b){a=a|0;b=b|0;v[a+556>>2]=552;v[a+548>>2]=552;v[a+540>>2]=552;v[a+560>>2]=553;v[a+552>>2]=553;v[a+544>>2]=554;v[a+536>>2]=555;v[a+532>>2]=556;return 1}function ve(a){var b=0;a:{b=v[a+36>>2];if(b){if(t[a|0]&1){break a}$a(b);v[a+36>>2]=0}b=v[a+28>>2];if(b){$a(b);v[a+28>>2]=0}$a(a);return}O(11906,6607,151,188425);L()}function jFa(a){a=a|0;var b=0,c=0,d=0;if(a){c=v[a>>2];b=c;d=v[a+108>>2];if(d){Qa[v[b+8>>2]](b,d)}v[a+108>>2]=0;b=v[a+116>>2];if(b){Qa[v[c+8>>2]](c,b)}v[a+116>>2]=0}}function eGa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=1;e=b;c=v[b>>2]+1|0;b=v[a+16>>2];if(c>>>0>b>>>0){b=c-b|0;a=b>>>0>2];d=a?b+1|0:0;b=a?c:0}v[e>>2]=b;return d|0}function XGa(a){a=a|0;var b=0,c=0;v[a+148>>2]=0;b=1;c=v[a+448>>2];b=v[a+336>>2]<=1?v[v[a+340>>2]+(v[a+328>>2]==1?76:12)>>2]:b;v[c+20>>2]=0;v[c+24>>2]=0;v[c+28>>2]=b}function NN(a){var b=0,c=0;b=Ma-16|0;Ma=b;v[b+12>>2]=a;a=al(b+8|0,b+12|0);c=v[v[279293]>>2]?4:1;a=v[a>>2];if(a?a:0){v[279293]=(a|0)==-1?1184868:a}Ma=b+16|0;return c}function JP(a){var b=0,c=0,d=0;if(t[v[a>>2]]-48>>>0<10){while(1){b=v[a>>2];d=t[b|0];v[a>>2]=b+1;c=(B(c,10)+d|0)-48|0;if(t[b+1|0]-48>>>0<10){continue}break}}return c}function Fi(a){a=a|0;var b=0,c=0;b=v[a+964>>2];a:{if(b){break a}c=a;a=B(v[a+20>>2],v[a+16>>2]);b=gb(a);v[c+964>>2]=b;if(!b){b=0;break a}eb(b,255,a)}return(b|0)!=0|0}function mpa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if((c|0)<1){return 0}d=v[a+40>>2];e=v[a+36>>2]-d|0;c=(c|0)>(e|0)?e:c;cb(b,d,c);v[a+40>>2]=c+v[a+40>>2];return c|0}function ena(a,b){a=a|0;b=b|0;var c=0;c=Ma-16|0;Ma=c;b=v[v[b+12>>2]+8>>2];t[c+11|0]=0;v[c>>2]=0;Qa[v[v[b>>2]+12>>2]](a,b,c);if(t[c+11|0]<=-1){$a(v[c>>2])}Ma=c+16|0}function VW(a,b,c,d){var e=0;e=Ma-16|0;Ma=e;if(!(!(!a|!v[a+212>>2])&v[a+172>>2]==-1)){v[e+8>>2]=0;v[e+4>>2]=d;v[e>>2]=c;nb(0,0,0,a,0,3,100,1,c,d,0,0,b,e)}Ma=e+16|0}function Ira(a){a=a|0;var b=0;v[a>>2]=887896;b=v[a+12>>2];if(b){$a(Bb(b))}b=v[a+16>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}b=v[a+20>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}$a(a)}function ly(a){var b=0,c=0;b=v[a+24>>2];if(b){while(1){c=v[b>>2];Qa[v[v[a>>2]+16>>2]](b,1);$a(b);b=c;if(b){continue}break}}v[a+4>>2]=0;v[a+24>>2]=0;Rh(a+16|0,4,0)}function eC(a,b){var c=0,d=0;if(!((b|0)<0|v[v[a+20>>2]+20>>2]<(b|0))){v[a+4>>2]=b;c=a,d=Ud(v[a+20>>2],0)+B(v[v[a+20>>2]+52>>2],b)|0,v[c+16>>2]=d}return v[a+16>>2]}function d1a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Ma-16|0;Ma=d;v[d+12>>2]=b;b=v[a+20>>2];if(b){Lb(d+12|0,1,(c|0)<4?c:4,b);v[a+24>>2]=v[a+24>>2]+c}Ma=d+16|0;return 0}function _Ga(a,b){a=a|0;b=b|0;var c=0;c=v[b+96>>2];if(!((c|0)<0|v[a+300>>2]<=(c|0))){a=v[a+304>>2]+B(c,252)|0;b=Qa[v[b+40>>2]](b,0)|0;v[a+180>>2]=b;v[a+208>>2]=b}}function XMa(a,b){a=a|0;b=b|0;var c=0;if(t[b+123|0]>=0){b=b+112|0;c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;v[a+8>>2]=v[b+8>>2];return}vc(a,v[b+112>>2],v[b+116>>2])}function LA(a,b,c){var d=0;d=v[a+8>>2];if(v[a+12>>2]-d>>3>>>0>>0){a=v[a+4>>2];if(!(!a|v[a>>2])){v[a>>2]=130}return}b=b<<3;v[b+d>>2]=c;v[(b+v[a+8>>2]|0)+4>>2]=0}function BKa(a,b){a=a|0;b=b|0;v[a+2748>>2]=b;v[a+2740>>2]=v[b+28>>2];v[a+4>>2]=v[b+8>>2];v[a+12>>2]=v[b+12>>2];v[a+8>>2]=v[b+16>>2];v[a+16>>2]=v[b+20>>2];return 0}function saa(a,b){a=a|0;b=b|0;var c=0,d=0;a=v[a>>2];c=v[a>>2];b=v[b>>2];d=v[b>>2];if((c|0)!=(d|0)){return c-d|0}a=v[a+8>>2];if(!a){return 0}return v[b+8>>2]-a|0}function mo(a,b,c){var d=0;d=Ma-32|0;Ma=d;if(w[b+144|0]){if(!(v[b+148>>2]&64|c)){Lu(b)}Lf(a,b+112|0);Ma=d+32|0;return}lb(mb(d+8|0,231556,241865,164,226745));L()}function iLa(a,b){a=a|0;b=b|0;var c=0,d=0;d=v[a>>2];c=v[d+140>>2];Cl(d,b);v[a+24>>2]=v[c+40>>2]<<6;v[a+28>>2]=0-(v[c+44>>2]<<6);v[a+36>>2]=x[c+4>>1]<<6;return 0}function iGa(a,b){a=a|0;b=b|0;var c=0;c=v[a>>2];b=v[c+132>>2];Cl(c,0);c=x[b+80>>1];v[a+24>>2]=c<<6;v[a+28>>2]=c-x[b+96>>1]<<6;v[a+36>>2]=x[b+102>>1]<<6;return 0}function aFa(a,b){a=a|0;b=b|0;var c=0;b=v[a>>2];c=v[b+488>>2];v[a+24>>2]=v[b+420>>2];v[a+28>>2]=v[b+424>>2];v[a+20>>2]=v[c+20>>2];v[a+16>>2]=v[c+24>>2];return 0}function ZU(a,b,c){var d=0,e=0;d=1;v[a+20>>2]=1;if(b){while(1){d=Tc(a,d,c)|v[a+20>>2]<<1;v[a+20>>2]=d;e=e+1|0;if((e|0)!=(b|0)){continue}break}}return(-1<>2];c=v[b+488>>2];v[a+24>>2]=v[b+420>>2];v[a+28>>2]=v[b+424>>2];v[a+20>>2]=v[c+20>>2];v[a+16>>2]=v[c+28>>2];return 0}function Qpa(a,b,c,d,e,f,g,h,i,j,k,l,m){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;m=m|0;Qa[v[v[a>>2]+288>>2]](a,b,c,d,e,f,g,0,0,m)}function ON(a,b,c,d,e){var f=0;f=Ma-16|0;Ma=f;v[f+12>>2]=e;e=al(f+8|0,f+12|0);b=Qx(a,b,c,d);a=v[e>>2];if(a?a:0){v[279293]=(a|0)==-1?1184868:a}Ma=f+16|0;return b}function Lk(a,b){var c=0;a:{if(!a|!b){break a}c=v[a>>2];if(!c){break a}while(1){if(!hb(c,b)){return v[a+4>>2]}c=v[a+8>>2];a=a+8|0;if(c){continue}break}}return 0}function K6(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Ma-16|0;Ma=d;a=gN(v[a>>2],b,b>>31,c&255,d+8|0);if(a){v[296206]=a;a=-1}else{a=0}Ma=d+16|0;return(a?-1:v[d+8>>2])|0}function I2a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Ma-16|0;Ma=c;d=w[a+16|0];e=v[a+12>>2];v[c+8>>2]=w[a+17|0];v[c+4>>2]=d;v[c>>2]=e;vb(b,55225,c);Ma=c+16|0;return 0}function DLa(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;Qa[v[v[a+472>>2]+12>>2]](a,b,v[c>>2],(v[f>>2]<<2)+e|0);v[f>>2]=v[f>>2]+1;v[c>>2]=v[c>>2]+1}function rla(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;a:{if(!a|!d){break a}f=f-e|0;c=c-b|0;c=(c|0)>(f|0)?f:c;if((c|0)<0){break a}id(a+b|0,d+e|0,c+1|0)}}function pma(a){a=a|0;a=v[v[a>>2]-12>>2]+a|0;v[a+60>>2]=965320;v[a>>2]=965300;v[a+8>>2]=965476;if(t[a+51|0]<=-1){$a(v[a+40>>2])}Nh(a+8|0);Kf(a+60|0);return a|0}function mb(a,b,c,d,e){v[a+20>>2]=0;v[a+16>>2]=d;v[a+12>>2]=e;v[a+8>>2]=c;v[a>>2]=977316;c=a;if(!(!b|(b|0)==217929)){b=od(ab(zb(b)+1|0),b)}v[c+4>>2]=b;return a}function Mb(a,b){var c=0,d=0;d=v[a+20>>2];a:{b:{if(d){c=85;if(!(Qa[d|0](a,b,0,0)|0)){break b}break a}c=85;if(y[a+4>>2]>>0){break a}}v[a+8>>2]=b;c=0}return c}function Ks(a,b,c,d){var e=0;e=Ma-16|0;Ma=e;a:{if(a){if(v[a+172>>2]==-1?v[a+212>>2]:0){break a}v[a+84>>2]=b}v[e>>2]=d;nb(0,0,0,a,0,1,b,2,d,0,0,0,c,e)}Ma=e+16|0}function HUa(a){a=a|0;var b=0;v[a>>2]=54456;b=v[a+984>>2];if(b){$a(b)}b=v[a+988>>2];if(b){$a(b)}if(v[a+976>>2]){zL(a+976|0)}v[a>>2]=1032;Tg(a);Cg(a);return a|0}function tna(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=ab(8);d=Rb(e,337220);Ug(d,v[a+20>>2]);Wb(d,313360);a=Qa[b|0](c,v[d+4>>2],v[d>>2])|0;Bb(d);$a(e);return a|0}function rwa(a,b){a=a|0;b=b|0;var c=0;c=Ma-16|0;Ma=c;a=v[a+104>>2];b=v[b+472>>2];t[c+15|0]=(b|0)==1?2:(b|0)==2?1:b;Qa[v[v[a>>2]+100>>2]](a,c+15|0)|0;Ma=c+16|0}function qna(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=ab(8);d=Rb(e,326437);Ug(d,v[a+20>>2]);Wb(d,313358);a=Qa[b|0](c,v[d+4>>2],v[d>>2])|0;Bb(d);$a(e);return a|0}function q0a(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[b+40>>2];a:{if(!c){break a}d=v[b+44>>2];if(!d){break a}Qa[v[a+156>>2]](d,B(c,36))}Qa[v[a+156>>2]](b,48);return 0}function fda(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=0;while(1){if((b|0)!=(c|0)){a=v[b>>2]+(a<<4)|0;d=a&-268435456;a=(d|d>>>24)^a;b=b+4|0;continue}break}return a|0}function ac(a){var b=0,c=0;b=v[a+8>>2];if(b){while(1){c=v[b>>2];Qa[v[v[a>>2]+16>>2]](b,1);$a(b);b=c;if(b){continue}break}}v[a+4>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0}function VUa(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[b+44>>2];a:{if(!c){break a}d=v[b+48>>2];if(!d){break a}Qa[v[a+156>>2]](d,B(c,36))}Qa[v[a+156>>2]](b,52);return 0}function P8(a,b){a=a|0;b=b|0;b=Ma-16|0;Ma=b;if(ix(a)){v[a+556>>2]=496;v[a+548>>2]=496;v[a+540>>2]=496;v[b>>2]=11;a=Kc(a,65536,b)}else{a=0}Ma=b+16|0;return a|0}function Lg(a,b,c,d){var e=0,f=0;a:{if(!a){break a}e=v[a+12>>2];if((e|0)>=v[a+8>>2]){break a}f=v[a>>2]+(e<<2)|0;t[f+1|0]=c;t[f+2|0]=b;t[f|0]=d;v[a+12>>2]=e+1}}function IQa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;A[a+160>>3]=A[b>>3];A[a+168>>3]=A[c>>3];A[a+176>>3]=A[b>>3]+A[d>>3];A[a+184>>3]=A[c>>3]+A[e>>3];return 0}function $$(a){var b=0,c=0;b=v[a+32>>2];if(y[a+36>>2]<=b+3>>>0){v[a+32>>2]=b;return 0}c=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);v[a+32>>2]=b+4;return c}function yW(a,b){var c=0;c=ab(1048);v[c+1040>>2]=0;v[c+1044>>2]=0;v[c+12>>2]=0;v[c+8>>2]=b;v[c+4>>2]=a;v[c>>2]=879624;a=zW(c);Qa[v[v[c>>2]+4>>2]](c);return a}function ux(a,b,c){var d=0;d=Ma-16|0;Ma=d;v[d+8>>2]=a;Ma=d+16|0;d=v[d+8>>2];a=Ma-16|0;Ma=a;v[a+8>>2]=b;Ma=a+16|0;a=v[a+8>>2]-d|0;if(a){id(c,d,a)}return a+c|0}function tDa(a,b){a=a|0;b=b|0;var c=0;c=Qa[v[a+516>>2]](a,1668112752,b,a+512|0)|0;if(!c){c=Zh(b,v[a+512>>2],a+508|0);if(!c){return 0}v[a+512>>2]=0}return c|0}function ld(a,b,c){a=v[a>>2];if(a){return Qa[v[v[a>>2]+36>>2]](a,b,c)|0}a=0;b=v[b>>2];a:{if(!b|!c){break a}b=v[b+12>>2];if(!b){break a}a=w[b|0]?-1:0}return a}function jda(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=0;while(1){if((b|0)!=(c|0)){a=t[b|0]+(a<<4)|0;d=a&-268435456;a=(d|d>>>24)^a;b=b+1|0;continue}break}return a|0}function gma(a){a=a|0;v[a+64>>2]=965664;v[a>>2]=965624;v[a+12>>2]=965476;v[a+8>>2]=965644;if(t[a+55|0]<=-1){$a(v[a+44>>2])}Nh(a+12|0);Kf(a- -64|0);return a|0}function ZV(a){var b=0,c=0;b=ab(28);v[b+8>>2]=256;v[b>>2]=0;c=Pb(256,4);v[b+4>>2]=c;cb(c,a,1024);v[b+20>>2]=0;v[b+24>>2]=1;v[b+12>>2]=0;v[b+16>>2]=0;return b}function STa(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1347571533){ob(a,2050,0,0);return 2050}t[b+32|0]=w[c+32|0];t[b+33|0]=w[c+33|0];t[b+34|0]=w[c+34|0];return 0}function R8(a,b){a=a|0;b=b|0;b=Ma-16|0;Ma=b;if(ix(a)){v[a+556>>2]=496;v[a+548>>2]=496;v[a+540>>2]=496;v[b>>2]=7;a=Kc(a,65536,b)}else{a=0}Ma=b+16|0;return a|0}function NOa(a){a=a|0;var b=0;b=v[a+456>>2];v[b+24>>2]=1;v[b+16>>2]=0;v[b+20>>2]=0;v[b>>2]=176;Qa[v[v[a>>2]+16>>2]](a);Qa[v[v[a+460>>2]>>2]](a);v[a+160>>2]=0}function ERa(a,b){a=a|0;b=b|0;var c=0;c=A[b>>3];A[a+600>>3]=c;b=v[a+16>>2];if(b){c=A[b+16>>3]/(c/25.4);if(c!=A[b+32>>3]){A[b+32>>3]=c}BB(v[a+16>>2])}return 0}function An(a,b){var c=0,d=0;a:{if(!a){break a}c=v[a+28>>2];b:{if(!a){break b}d=v[a+24>>2];if(!d){break b}Qa[d|0](a)}if(b){break a}if(a){Qa[v[c+8>>2]](c,a)}}}function sP(a,b,c){var d=0;d=Ma-16|0;Ma=d;v[d+12>>2]=c;v[d+8>>2]=b;a=ga(a|0,d+8|0,1,d+4|0)|0;if(a){v[296206]=a;a=-1}else{a=0}Ma=d+16|0;return a?-1:v[d+4>>2]}function rra(a){a=a|0;var b=0;b=ab(16);a=v[a+12>>2];if(a){a=Qa[v[v[a>>2]+8>>2]](a)|0}else{a=0}v[b+4>>2]=15;v[b+8>>2]=0;v[b+12>>2]=a;v[b>>2]=888e3;return b|0}function jEa(a){a=a|0;var b=0;if(a){v[a+412>>2]=0;v[a+4>>2]=0;v[a+1960>>2]=0;v[a+1444>>2]=0;v[a+928>>2]=0;v[a+208>>2]=0;b=v[a>>2];if(a){Qa[v[b+8>>2]](b,a)}}}function f_a(a){a=a|0;var b=0,c=0;if(v[a+588>>2]>=1){b=v[a+644>>2];while(1){t[b|0]=w[b|0]>>>1;b=b+1|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function fM(a){a=a|0;var b=0;b=v[a+56>>2];if(b){$a(b)}b=v[a- -64>>2];if(b){$a(b)}b=v[a+68>>2];if(b){$a(b)}b=v[a+76>>2];if(b){$a(b)}a=v[a+80>>2];if(a){$a(a)}}function f0(a,b){var c=0,d=0;a:{if(!a|!b){break a}a=v[a>>2];if(!a){return}while(1){d=v[a+4>>2];c=Qa[b|0](a,0)|0;if(c){break a}a=c?a:d;if(a){continue}break}}}function e_a(a){a=a|0;var b=0,c=0;if(v[a+588>>2]>=1){b=v[a+644>>2];while(1){t[b|0]=w[b|0]>>>3;b=b+1|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function d_a(a){a=a|0;var b=0,c=0;if(v[a+588>>2]>=1){b=v[a+644>>2];while(1){t[b|0]=w[b|0]>>>7;b=b+1|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function cva(a,b,c){a=a|0;b=b|0;c=c|0;if(!Cs(a,b,4)){return 0}a=(b-v[a+1040>>2]|0)+a|0;v[c>>2]=w[a+16|0]|w[a+17|0]<<8|(w[a+18|0]<<16|w[a+19|0]<<24);return 1}function b_a(a){a=a|0;var b=0,c=0;if(v[a+588>>2]>=1){b=v[a+644>>2];while(1){t[b|0]=w[b|0]>>>2;b=b+1|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function a_a(a){a=a|0;var b=0,c=0;if(v[a+588>>2]>=1){b=v[a+644>>2];while(1){t[b|0]=w[b|0]>>>6;b=b+1|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function _Za(a){a=a|0;var b=0,c=0;if(v[a+588>>2]>=1){b=v[a+644>>2];while(1){t[b|0]=w[b|0]>>>4;b=b+1|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function Zo(a,b){var c=0;a:{if(!a|(b|0)<0){break a}if(v[a>>2]<=(b|0)){return 0}a=v[v[a+12>>2]+(b<<2)>>2];if(!a){break a}v[a+16>>2]=v[a+16>>2]+1;c=a}return c}function Ywa(a){a=a|0;var b=0;if(a){b=v[a>>2];if(b){Qa[v[256556]](b)}b=v[a+4>>2];if(b){Qa[v[256556]](b)}b=v[a+8>>2];if(b){Qa[v[256556]](b)}Qa[v[256556]](a)}}function RUa(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[b+36>>2];a:{if(!c){break a}d=v[b+40>>2];if(!d){break a}Qa[v[a+156>>2]](d,c+1|0)}Qa[v[a+156>>2]](b,44);return 0}function PXa(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;if(f){if(((c+1|0)/2|0)>(b|0)){cb(g,e,d);return 0}cb(g,f,d);return 0}cb(g,e,d);return 0}function CRa(a,b){a=a|0;b=b|0;var c=0;c=A[b>>3];A[a+592>>3]=c;b=v[a+16>>2];if(b){c=A[b+8>>3]/(c/25.4);if(c!=A[b+24>>3]){A[b+24>>3]=c}BB(v[a+16>>2])}return 0}function A0a(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[b+28>>2];a:{if(!c){break a}d=v[b+32>>2];if(!d){break a}Qa[v[a+156>>2]](d,c+1|0)}Qa[v[a+156>>2]](b,36);return 0}function uU(a,b){var c=0,d=0;c=Ma-112|0;Ma=c;a:{if(!a){v[c>>2]=b;a=v[249419];vb(a,15611,c);Ee(10,a);break a}d=c+16|0;fG(v[a+348>>2],d,b);Db(a,d)}Ma=c+112|0}function s_a(a){a=a|0;var b=0,c=0;if(v[a+588>>2]>=1){b=v[a+644>>2];while(1){t[b|0]=w[b|0]<<1;b=b+1|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function r_a(a){a=a|0;var b=0,c=0;if(v[a+588>>2]>=1){b=v[a+644>>2];while(1){t[b|0]=w[b|0]<<3;b=b+1|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function rH(a){a=a|0;var b=0;if(a){hj(a);lh(v[a+32>>2],v[a+40>>2]);b=v[a+8>>2];if(b){Qa[v[256556]](b)}b=v[a+48>>2];if(b){Qa[v[256556]](b)}Qa[v[256556]](a)}}function q_a(a){a=a|0;var b=0,c=0;if(v[a+588>>2]>=1){b=v[a+644>>2];while(1){t[b|0]=w[b|0]<<7;b=b+1|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function p1(a){var b=0;b=ab(32);v[b>>2]=0;v[b+4>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=360508;v[a>>2]=b}function o_a(a){a=a|0;var b=0,c=0;if(v[a+588>>2]>=1){b=v[a+644>>2];while(1){t[b|0]=w[b|0]<<2;b=b+1|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function o0a(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[b+28>>2];a:{if(!c){break a}d=v[b+32>>2];if(!d){break a}Qa[v[a+156>>2]](d,c<<1)}Qa[v[a+156>>2]](b,36);return 0}function n_a(a){a=a|0;var b=0,c=0;if(v[a+588>>2]>=1){b=v[a+644>>2];while(1){t[b|0]=w[b|0]<<6;b=b+1|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function l_a(a){a=a|0;var b=0,c=0;if(v[a+588>>2]>=1){b=v[a+644>>2];while(1){t[b|0]=w[b|0]<<4;b=b+1|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function bwa(a,b){a=a|0;b=b|0;var c=0;b=Ma-16|0;Ma=b;if(!w[a+208|0]){c=v[a+104>>2];v[b+12>>2]=2048;Qa[v[v[c>>2]+288>>2]](c,b+12|0)|0;t[a+201|0]=1}Ma=b+16|0}function WUa(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[b+52>>2];a:{if(!c){break a}d=v[b+56>>2];if(!d){break a}Qa[v[a+156>>2]](d,c<<2)}Qa[v[a+156>>2]](b,60);return 0}function Vq(a){var b=0,c=0;a:{if(!a){break a}b=v[a>>2];if(!b){break a}c=v[b+8>>2];v[b+8>>2]=c-1;if((c|0)<=1){$a(v[b+12>>2]);$a(v[b+16>>2]);$a(b)}v[a>>2]=0}}function UUa(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[b+32>>2];a:{if(!c){break a}d=v[b+36>>2];if(!d){break a}Qa[v[a+156>>2]](d,c<<1)}Qa[v[a+156>>2]](b,40);return 0}function RH(a){var b=0;a:{b:{if(!w[1164140]){b=gb(4);v[291036]=b;if(!b){break b}t[1164140]=1;if(!a){break b}break a}if(a){break a}}return}v[a>>2]=v[a>>2]+1}function PUa(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[b+32>>2];a:{if(!c){break a}d=v[b+36>>2];if(!d){break a}Qa[v[a+156>>2]](d,c<<2)}Qa[v[a+156>>2]](b,40);return 0}function NUa(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[b+32>>2];a:{if(!c){break a}d=v[b+36>>2];if(!d){break a}Qa[v[a+156>>2]](d,c<<3)}Qa[v[a+156>>2]](b,40);return 0}function N0a(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[b+48>>2];a:{if(!c){break a}d=v[b+52>>2];if(!d){break a}Qa[v[a+156>>2]](d,c<<1)}Qa[v[a+156>>2]](b,60);return 0}function Mfa(a){a=a|0;var b=0;v[a>>2]=983792;b=v[a+36>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}v[a+24>>2]=0;v[a+28>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;ru(a);return a|0}function M3(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[b+32>>2];a:{if(!c){break a}d=v[b+36>>2];if(!d){break a}Qa[v[a+156>>2]](d,c+1|0)}Qa[v[a+156>>2]](b,40);return 0}function Fp(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((c|0)>=2){while(1){t[b|0]=w[a+1|0];t[b+1|0]=w[a|0];a=a+2|0;b=b+2|0;d=(c|0)>3;c=c-2|0;if(d){continue}break}}}function x1(a){a=a|0;var b=0;v[a>>2]=360140;a:{if(!v[a+12>>2]){break a}b=v[a+8>>2];if(!b){break a}Qa[v[v[b>>2]+4>>2]](b);v[a+8>>2]=0}me(a+20|0);return a|0}function wfa(a,b){a=a|0;b=C(b);var c=0;c=Ma-32|0;Ma=c;if(!(!(b>C(0))|!(b<=C(1)))){z[a+8>>2]=b;Ma=c+32|0;return}lb(mb(c+8|0,319808,241950,1822,329391));L()}function wUa(a){a=a|0;var b=0;v[a>>2]=54456;b=v[a+984>>2];if(b){$a(b)}b=v[a+988>>2];if(b){$a(b)}if(v[a+976>>2]){zL(a+976|0)}v[a>>2]=1032;Tg(a);Cg(a);$a(a)}function oma(a){a=a|0;a=v[v[a>>2]-12>>2]+a|0;v[a+60>>2]=965320;v[a>>2]=965300;v[a+8>>2]=965476;if(t[a+51|0]<=-1){$a(v[a+40>>2])}Nh(a+8|0);Kf(a+60|0);$a(a)}function dl(a){var b=0,c=0;b=a*a;c=b*a;return C(c*(b*b)*(b*2718311493989822e-21+-.00019839334836096632)+(c*(b*.008333329385889463+-.16666666641626524)+a))}function ata(a,b,c){a=a|0;b=b|0;c=c|0;c=v[a+8>>2];Qa[v[v[c>>2]+300>>2]](c,v[a+28>>2],v[b>>2]==1?+v[b+8>>2]:A[b+8>>3],v[b+16>>2]==1?+v[b+24>>2]:A[b+24>>3])}function YFa(a,b,c){a=a|0;b=b|0;c=c|0;a=tn(a,b);if(!a){return 6}if(w[a+4|0]){v[c>>2]=1;v[c+4>>2]=v[a+8>>2];return 0}v[c>>2]=2;v[c+4>>2]=v[a+8>>2];return 0}function XPa(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;g=1;a=v[a+16>>2];if(!(!a|!b)){q2(a,b,A[c>>3],A[d>>3],A[e>>3],A[f>>3]);g=0}return g|0}function Soa(a){a=a|0;var b=0;b=ab(56);a=v[a+4>>2];a=Qa[v[v[a>>2]+8>>2]](a)|0;v[b>>2]=953248;v[b+4>>2]=a;v[b+52>>2]=0;v[b+44>>2]=0;v[b+48>>2]=0;return b|0}function Ffa(a,b){a=a|0;b=C(b);var c=0;c=Ma-32|0;Ma=c;if(!(!(b>C(0))|!(b<=C(1)))){z[a+8>>2]=b;Ma=c+32|0;return}lb(mb(c+8|0,282814,241950,1555,329433));L()}function mfa(a,b){a=a|0;b=b|0;v[a+200>>2]=1;v[a+204>>2]=0;v[a+208>>2]=0;v[a+212>>2]=0;v[a+224>>2]=0;v[a+228>>2]=0;t[a+49|0]=1;v[a+232>>2]=0;v[a+236>>2]=0}function kJa(a,b,c){a=a|0;b=b|0;c=c|0;a=v[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=a+b&-64|32;return((a|0)<0?32:a)|0}a=a-b&-64;return((a|0)<-32?-32:-32-a|0)|0}function Lb(a,b,c,d){var e=0,f=0;e=B(b,c);f=e;a:{if(v[d+76>>2]<=-1){a=nx(a,e,d);break a}a=nx(a,e,d)}if((f|0)==(a|0)){return b?c:0}return(a>>>0)/(b>>>0)|0}function wb(a,b,c,d){var e=0;e=Ma-16|0;Ma=e;v[e+12>>2]=d;d=v[253774];if(d){Qa[d|0](b,c,v[e+12>>2])}d=v[279423];if(d){Qa[d|0](a,b,c,v[e+12>>2])}Ma=e+16|0}function wJ(a,b,c){var d=0;a:{if(c>>>0<2){break a}while(1){d=w[b|0];if(!d){break a}t[a|0]=d;a=a+1|0;b=b+1|0;c=c-1|0;if(c>>>0>1){continue}break}}t[a|0]=0}function tU(a,b,c){var d=0;d=8;a:{if(c>>>0>8){break a}d=c;if(d){break a}return-1}if(b>>>0<=7){a=Jb(a+b|0,b+74448|0,b+d>>>0>8?8-b|0:d)}else{a=-1}return a}function t0a(a,b){a=a|0;b=b|0;return Y3(a,x[b+28>>1],x[b+30>>1],w[b+32|0],x[b+34>>1],x[b+36>>1],x[b+38>>1],x[b+40>>1],x[b+42>>1],x[b+44>>1],w[b+46|0])|0}function lpa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=v[a+28>>2];e=d+v[a+32>>2]|0;b=(c|0)>-1?b:e-b|0;v[a+40>>2]=v[a+24>>2]+(b>>>0>>0?d:b>>>0>e>>>0?e:b)}function lJa(a,b,c){a=a|0;b=b|0;c=c|0;a=v[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=(a+b|0)+32&-64;return((a|0)>0?a:0)|0}a=0-((a-b|0)+32&-64)|0;return a>>31&a}function lD(a,b,c){var d=0;d=Ma-16|0;Ma=d;v[d+12>>2]=c;c=al(d+8|0,d+12|0);b=Jp(a,b);a=v[c>>2];if(a?a:0){v[279293]=(a|0)==-1?1184868:a}Ma=d+16|0;return b}function jta(a,b,c){a=a|0;b=b|0;c=c|0;c=v[a+28>>2];A[c+568>>3]=(v[b>>2]==1?+v[b+8>>2]:A[b+8>>3])*.01;b=v[a+8>>2];Qa[v[v[b>>2]+180>>2]](b,c);v[a+32>>2]=1}function iJa(a,b,c){a=a|0;b=b|0;c=c|0;a=v[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=(a+b|0)+63&-64;return((a|0)>0?a:0)|0}a=0-((a-b|0)+63&-64)|0;return a>>31&a}function fpa(a){a=a|0;var b=0,c=0;c=v[a+32>>2];a:{if(v[a+28>>2]){b=-1;if(!c){break a}}v[a+32>>2]=c-1;a=v[a+24>>2];b=Qa[v[v[a>>2]+28>>2]](a)|0}return b|0}function dJa(a,b,c){a=a|0;b=b|0;c=c|0;a=v[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=(a+b|0)+16&-32;return((a|0)>0?a:0)|0}a=0-((a-b|0)+16&-32)|0;return a>>31&a}function _p(a){var b=0,c=0;b=v[a+4>>2];c=v[b>>2];v[c+4>>2]=v[b+4>>2];v[v[b+4>>2]>>2]=c;v[a+12>>2]=v[a+12>>2]-1;me(b+8|0);$a(b);Dl(a,v[a+4>>2]+8|0);DF(a)}function _la(a){a=a|0;v[a+64>>2]=965664;v[a>>2]=965624;v[a+12>>2]=965476;v[a+8>>2]=965644;if(t[a+55|0]<=-1){$a(v[a+44>>2])}Nh(a+12|0);Kf(a- -64|0);$a(a)}function WJ(a){var b=0;a:{a=v[a+4>>2];b=v[a>>2];if(!b){break a}b=b-1|0;if(w[v[v[a+16>>2]+(b>>>6&67108860)>>2]+(b&255)|0]-1>>>0>13){break a}Td(a,0,0,79)}}function OUa(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[b+40>>2];a:{if(!c){break a}d=v[b+44>>2];if(!d){break a}Qa[v[a+156>>2]](d,c)}Qa[v[a+156>>2]](b,48);return 0}function Nc(a,b,c,d){var e=0;e=Ma-16|0;Ma=e;v[e+12>>2]=d;d=v[253773];if(d){Qa[d|0](b,c,v[e+12>>2])}d=v[279425];if(d){Qa[d|0](a,b,c,v[e+12>>2])}Ma=e+16|0}function Hma(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Ma-16|0;Ma=d;a=Ss(a);Qa[v[v[b>>2]+12>>2]](d,b,c);uY(v[a+4>>2],d);if(t[d+11|0]<=-1){$a(v[d>>2])}Ma=d+16|0}function Gba(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;while(1){if((b|0)!=(c|0)){a=v[b>>2];t[e|0]=a>>>0<128?a:d;e=e+1|0;b=b+4|0;continue}break}return c|0}function $y(a,b,c,d){var e=0;e=ab(8);Rb(e,b);v[a+8>>2]=0;v[a>>2]=e;v[a+28>>2]=1;v[a+20>>2]=0;v[a+24>>2]=0;v[a+16>>2]=d;v[a+12>>2]=c;v[a+4>>2]=1;return a}function u$(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=v[a+540>>2];v[d>>2]=0;v[d+4>>2]=0;if(e){f=d,g=Qa[v[e+84>>2]](a,b,c)|0,v[f>>2]=g}return 0}function mg(a,b){var c=0;c=Ma-32|0;Ma=c;t[c+31|0]=b;if((Qa[v[v[a>>2]+12>>2]](a,c+31|0,1)|0)!=1){lb(mb(c,fl(v[296206]),241689,514,327494));L()}Ma=c+32|0}function cL(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[b+36>>2];a:{if(!c){break a}d=v[b+40>>2];if(!d){break a}Qa[v[a+156>>2]](d,c)}Qa[v[a+156>>2]](b,44);return 0}function awa(a){a=a|0;var b=0,c=0;b=Ma-16|0;Ma=b;if(!w[a+208|0]){c=v[a+104>>2];v[b+12>>2]=2048;Qa[v[v[c>>2]+292>>2]](c,b+12|0)|0;t[a+201|0]=0}Ma=b+16|0}function Q4(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[b+32>>2];a:{if(!c){break a}d=v[b+36>>2];if(!d){break a}Qa[v[a+156>>2]](d,c)}Qa[v[a+156>>2]](b,40);return 0}function Ko(a,b){var c=0;a:{if(!a){break a}c=w[a|0];if(!c){break a}while(1){if((b|0)==(c|0)){return a}c=w[a+1|0];a=a+1|0;if(c){continue}break}}return 0}function E9(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((c|0)>=1){a=v[a+12>>2];while(1){WM(v[a>>2],b);a=a+4|0;b=b+12|0;d=(c|0)>1;c=c-1|0;if(d){continue}break}}}function yba(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;while(1){if((b|0)!=(c|0)){a=t[b|0];t[e|0]=(a|0)>-1?a:d;e=e+1|0;b=b+1|0;continue}break}return c|0}function ula(a){a=a|0;var b=0;v[a>>2]=969512;b=v[a+12>>2];Qa[v[a+32>>2]](v[a+8>>2],v[a+20>>2]-b|0,v[a+24>>2]-b|0);$a(v[a+8>>2]);v[a+8>>2]=0;return a|0}function rt(a,b){a=v[a>>2];A[b>>3]=A[a>>3];A[b+8>>3]=A[a+8>>3];A[b+16>>3]=A[a+16>>3];A[b+24>>3]=A[a+24>>3];A[b+32>>3]=A[a+32>>3];A[b+40>>3]=A[a+40>>3]}function gOa(a){a=a|0;var b=0;v[a>>2]=360140;a:{if(!v[a+12>>2]){break a}b=v[a+8>>2];if(!b){break a}Qa[v[v[b>>2]+4>>2]](b);v[a+8>>2]=0}me(a+20|0);$a(a)}function eRa(a){a=a|0;var b=0,c=0;b=v[a+20>>2];if(b-200>>>0>=11){c=v[a>>2];v[c+24>>2]=b;v[c+20>>2]=21;Qa[v[v[a>>2]>>2]](a)}return v[v[a+456>>2]+20>>2]}function eQa(a){a=a|0;var b=0;b=1;a:{if(!v[a+16>>2]){break a}a=v[a+20>>2];if(!a){break a}a=v[a+4>>2];t[a+25|0]=0;v[a+20>>2]=0;v[a>>2]=0;b=0}return b|0}function Q6(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=v[a+12>>2];e=v[a+8>>2]-d|0;c=(c|0)>(e|0)?e:c;cb(b,d+v[a>>2]|0,c);v[a+12>>2]=c+v[a+12>>2];return c|0}function Lfa(a){a=a|0;var b=0;v[a>>2]=983792;b=v[a+36>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}v[a+24>>2]=0;v[a+28>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;ru(a);$a(a)}function $ha(){var a=0;a=Ma-32|0;Ma=a;v[a+24>>2]=268;v[a+28>>2]=0;v[a+20>>2]=332694;v[a+16>>2]=241500;v[a+8>>2]=977316;v[a+12>>2]=217929;lb(a+8|0);L()}function $h(a){var b=0,c=0;a:{if(!a){break a}b=v[a>>2];if(!b){break a}c=v[b+8>>2];v[b+8>>2]=c-1;if((c|0)<=1){c=v[b+20>>2];if(c){$a(c)}$a(b)}v[a>>2]=0}}function os(a,b){var c=0;a:{if(a-1>>>0>253){break a}c=H(pd(+(a>>>0)/255,+(b|0)*1e-5)*255+.5);if(c<4294967296&c>=0){a=~~c>>>0;break a}a=0}return a&255}function lg(a){var b=0;b=ab(36);v[b+8>>2]=1;v[b+4>>2]=0;v[b+20>>2]=0;v[b+12>>2]=0;v[b+16>>2]=0;v[b>>2]=970168;pc(b+28|0,b+24|0,0,4);v[a>>2]=0;qb(a,b)}function k9(a,b){a=a|0;b=b|0;v[a+556>>2]=477;v[a+548>>2]=477;v[a+540>>2]=477;v[a+568>>2]=478;v[a+560>>2]=479;v[a+552>>2]=479;v[a+544>>2]=479;return 1}function VQa(a){a=a|0;var b=0,c=0;b=v[a+20>>2];if(b-202>>>0>=9){c=v[a>>2];v[c+24>>2]=b;v[c+20>>2]=21;Qa[v[v[a>>2]>>2]](a)}return v[v[a+456>>2]+16>>2]}function Tk(a,b,c,d){var e=0,f=0,g=0;e=d<<8;f=65535-e|0;g=b;b=d-255|0;return f+B(g,b)&16776960|B(b,c)+f>>>8|(B(a,b)-e<<8)+16776960&16711680|-16777216}function Iya(a,b){a=a|0;b=b|0;a:{if(b){v[a>>2]=b;b=0;break a}b=ab(464);v[a>>2]=b;eb(b,0,464);b=1}t[a+4|0]=0;t[a+512|0]=b;eb(a+260|0,0,252);return a|0}function B3a(a){var b=C(0),c=C(0);b=C(H(a));c=C(a-b);if(!(cC(.5)){return a}c=a;a=C(b*C(.5));b=C(a-C(H(a)))==C(0)?b:c}return b}function zd(a,b,c){var d=0;a=v[a>>2];d=A[b>>3];A[b>>3]=A[a+32>>3]+(d*A[a>>3]+A[c>>3]*A[a+16>>3]);A[c>>3]=A[a+40>>3]+(d*A[a+8>>3]+A[c>>3]*A[a+24>>3])}function yF(a){a=a|0;var b=0,c=0;v[a>>2]=969432;b=v[a+4>>2];a:{if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}Qa[v[v[b>>2]+4>>2]](b)}$a(a)}function t4(a){var b=0,c=0;a:{if(w[a+346|0]){break a}t[a+346|0]=1;b=v[a+168>>2];if(!b){break a}if(Qa[b|0](a)|0){break a}c=901;ob(a,901,0,0)}return c}function pe(a,b,c){var d=0;a:{if(b>>>0<=2147483646){d=b+1|0;if((d|0)>2]){break a}}v[c>>2]=0;return 0}a=v[a+8>>2];return w[a+b|0]<<8|w[a+d|0]}function l1(a,b,c){var d=0,e=0;d=+z[b>>2];e=+z[c>>2];z[b>>2]=A[a+56>>3]+(A[a+24>>3]*d+A[a+40>>3]*e);z[c>>2]=A[a- -64>>3]+(A[a+32>>3]*d+A[a+48>>3]*e)}function faa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;if(qj(a,v[b+8>>2],f)){$C(b,c,d,e);return}a=v[a+8>>2];Qa[v[v[a>>2]+20>>2]](a,b,c,d,e,f)}function ana(a){a=a|0;var b=0,c=0;b=v[v[a+12>>2]+12>>2];if(b){_u(b);b=v[a+12>>2];c=v[b+12>>2];if(c){$a(QF(c));b=v[a+12>>2]}v[b+8>>2]=0;v[b+12>>2]=0}}function ae(a){var b=0,c=0,d=0;c=a;d=v[a+36>>2];a=v[a+32>>2];if(d>>>0>a+1>>>0){b=w[a|0]|w[a+1|0]<<8;b=b<<8|b>>>8;a=a+2|0}v[c+32>>2]=a;return b&65535}function R7(a){a=a|0;var b=0,c=0;b=Ma-224|0;Ma=b;c=b+16|0;Qa[v[v[a>>2]+12>>2]](a,c);a=v[v[a+828>>2]+628>>2];v[b>>2]=c;Nc(a,30279,31481,b);Ma=b+224|0}function Qi(a,b,c,d,e){var f=0;f=v[a+16>>2];if(f){return Qa[f|0](v[a+28>>2],b,c,d,e)|0}if(d){a=-1}else{a=Qa[v[a+40>>2]](v[a+28>>2],b,c,e)|0}return a}function J0a(a,b){a=a|0;b=b|0;return f4(a,x[b+30>>1],x[b+28>>1],w[b+32|0],t[b+33|0],w[b+34|0],w[b+35|0],t[b+36|0],w[b+37|0],v[b+40>>2],v[b+44>>2])|0}function E$a(a){a=a|0;var b=0,c=0;a:{c=v[a+4>>2];if(c){b=v[a+16>>2];if((b|0)>2]){break a}}t[a+24|0]=1;return-1}v[a+16>>2]=b+1;return w[b+c|0]}function B5(a,b,c){var d=0;d=1;a:{if(!c){break a}c=(a|0)%3|0;if(c-1>>>0>=2){if(!c){break a}O(3794,7464,130,188981);L()}d=(b+10|0)>(a|0)?1:2}return d}function xo(a){var b=0;b=v[a+20>>2]-1|0;v[a+20>>2]=b;if(!b){b=v[a>>2];if(b){$a(Bb(b))}b=v[a+4>>2];if(b){$a(Bb(b))}b=v[a+16>>2];if(b){OV(a,b)}$a(a)}}function xla(a){a=a|0;var b=0,c=0;v[a>>2]=969432;b=v[a+4>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Qa[v[v[b>>2]+4>>2]](b)}v[a+4>>2]=0}return a|0}function x8(a){a=a|0;var b=0,c=0;b=Ma-224|0;Ma=b;c=b+16|0;Qa[v[v[a>>2]+12>>2]](a,c);a=v[v[a+12>>2]+628>>2];v[b>>2]=c;Nc(a,62414,62523,b);Ma=b+224|0}function kp(a){var b=0,c=0;if((a|0)>=1){if((a|0)!=1){while(1){b=b+1|0;c=a>>>0>3;a=a>>>1|0;if(c){continue}break}}return b}O(3670,7048,94,189036);L()}function f$a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{d=a?v[a+180>>2]:0;if(d){if((Qa[v[v[d>>2]+12>>2]](d,b,1,c,0,0)|0)==(c|0)){break a}}dc(a,20526);L()}}function Wk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{if(!v[a+964>>2]){break a}if(!Pu(a,b,c)){break a}d=w[v[a+964>>2]+(B(v[a+16>>2],c)+b|0)|0]}return d|0}function Upa(a,b,c,d,e){a=a|0;b=+b;c=+c;d=d|0;e=e|0;A[d>>3]=A[a+88>>3]+(A[a+56>>3]*b+A[a+72>>3]*c);A[e>>3]=A[a+96>>3]+(A[a- -64>>3]*b+A[a+80>>3]*c)}function O$(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Ma-16|0;Ma=c;v[b>>2]=0;d=cc(a,4,c+12|0);e=v[c+12>>2];if(!e){v[d>>2]=a;v[b>>2]=d}Ma=c+16|0;return e|0}function Jl(a){var b=0,c=0;if((a|0)>=0){b=-1;if(a){while(1){b=b+1|0;c=a>>>0>1;a=a>>>1|0;if(c){continue}break}}return b}O(11786,7048,113,189050);L()}function ENa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;if(!v[a+12>>2]){return 0}f=a+16|0;n1(f,b,c,z[d>>2],z[e>>2]);X0(v[a+12>>2],f);return 1}function DNa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;if(!v[a+12>>2]){return 0}f=a+16|0;n1(f,b,c,z[d>>2],z[e>>2]);MJ(v[a+12>>2],f);return 1}function C6(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)==12){c=-1;a:{if(Xf(b,a+12|0)){break a}if(Xf(b,a+16|0)){break a}c=Xf(b,a+20|0)?-1:0}return c|0}S();L()}function Bd(a){var b=0,c=0;a=v[a>>2];a=v[(a?a+12|0:1117e3)>>2];b=w[a|0];if(b){while(1){c=c<<6^c^b;b=w[a+1|0];a=a+1|0;if(b){continue}break}}return c}function _Fa(a,b){a=a|0;b=b|0;var c=0;c=v[a>>2];Cl(c,b);v[a+24>>2]=v[c+204>>2]<<6;v[a+28>>2]=0-(v[c+208>>2]<<6);v[a+36>>2]=u[c+236>>1]<<6;return 0}function Qj(a,b){var c=0;if(w[a+11|0]>>>7|0){c=v[a+4>>2]}else{c=w[a+11|0]}if(c>>>0<=b>>>0){gi();L()}if(w[a+11|0]>>>7|0){a=v[a>>2]}return(b<<2)+a|0}function Mo(a,b){if(v[a+16>>2]){a=Qa[v[a+12>>2]](v[a+28>>2],b)|0;return a}b=Qa[v[a+36>>2]](v[a+28>>2],b)|0;a=(b|0)==-1;b=a?-1:b;Pa=a?-1:0;return b}function LL(a){var b=0,c=0;b=gb(16);if(!b){return 0}c=v[a+4>>2];v[b>>2]=v[a>>2];v[b+4>>2]=c;c=v[a+12>>2];v[b+8>>2]=v[a+8>>2];v[b+12>>2]=c;return b}function tja(a,b){a=a|0;b=b|0;var c=0;a=Ma-16|0;Ma=a;c=Oc(a+8|0,280549);if(ld(c,b,-1)){b=Hb(b,227174,-1)}else{b=0}b=!b;db(c);Ma=a+16|0;return b|0}function mw(a,b){a=a|0;b=b|0;var c=0;a:{if(!b){break a}a=v[a+12>>2];if((u[a+22>>1]+b|0)+u[a+58>>1]>>>0<=y[a+4>>2]){break a}c=Ch(a,b,0)}return c|0}function lUa(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;b=Ma-16|0;Ma=b;v[b+12>>2]=a;a=zL(b+12|0);Ma=b+16|0;return a<<24>>24}function gc(a,b,c){var d=0,e=0,f=0;d=v[a+204>>2];if(!(!c|((w[a+351|0]&32?(d&768)!=768:!(d&2048))|0)!=1)){e=a,f=lf(v[a+384>>2],b,c),v[e+384>>2]=f}}function cN(a,b){var c=0;a=v[a>>2];c=v[b+12>>2];if(c){Qa[v[a+8>>2]](a,c)}v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=0;v[b+4>>2]=0}function Ija(a,b){a=a|0;b=b|0;var c=0;a=Ma-16|0;Ma=a;c=Oc(a+8|0,228782);if(ld(c,b,-1)){b=Hb(b,227174,-1)}else{b=0}b=!b;db(c);Ma=a+16|0;return b|0}function Ema(a,b,c){a=a|0;b=b|0;c=c|0;if(t[c+11|0]>=0){b=v[c+4>>2];v[a>>2]=v[c>>2];v[a+4>>2]=b;v[a+8>>2]=v[c+8>>2];return}vc(a,v[c>>2],v[c+4>>2])}function Cua(a){a=a|0;var b=0,c=0;c=ab(384);b=v[a+4>>2];return RG(c,Qa[v[v[b>>2]+8>>2]](b)|0,a+8|0,v[a+40>>2],v[a+44>>2],v[a+48>>2],v[a+52>>2])|0}function xCa(a){a=a|0;var b=0,c=0;v[a+28>>2]=0;b=v[a+36>>2];a:{if(!b){break a}c=v[a+32>>2];if(!c){break a}if(c){Qa[v[b+8>>2]](b,c)}v[a+32>>2]=0}}function Tpa(a,b,c,d,e){a=a|0;b=+b;c=+c;d=d|0;e=e|0;A[d>>3]=A[a+40>>3]+(A[a+8>>3]*b+A[a+24>>3]*c);A[e>>3]=A[a+48>>3]+(A[a+16>>3]*b+A[a+32>>3]*c)}function PLa(a,b){a=a|0;b=b|0;var c=0;c=v[a+20>>2];v[b>>2]=c<<6;v[b+8>>2]=c+v[a+32>>2]<<6;c=v[a+24>>2];v[b+12>>2]=c<<6;v[b+4>>2]=c-v[a+28>>2]<<6}function Oia(a){a=a|0;var b=0;v[a>>2]=972572;b=v[a+36>>2];if(b){vd(b);$a(b)}b=v[a+64>>2];if(b){vd(b);$a(b)}xd(a+40|0);xd(a+8|0);bc(a);return a|0}function Nx(a){var b=0,c=0;b=Ma-16|0;Ma=b;c=-1;a:{if(QD(a)){break a}if((Qa[v[a+32>>2]](a,b+15|0,1)|0)!=1){break a}c=w[b+15|0]}Ma=b+16|0;return c}function Cna(a,b){a=a|0;b=b|0;var c=0;c=v[a+16>>2];a:{if(c){v[c+4>>2]=b;c=a+16|0;break a}v[a+16>>2]=b;c=a+12|0}v[c>>2]=b;v[b+4>>2]=0;v[b+8>>2]=a}function AP(a,b,c){var d=0;d=Ma-144|0;Ma=d;d=eb(d,0,144);v[d+76>>2]=-1;v[d+44>>2]=a;v[d+32>>2]=4124;v[d+84>>2]=a;a=DP(d,b,c);Ma=d+144|0;return a}function _C(a,b,c,d,e,f){var g=0,h=0,i=0;g=v[a+4>>2];h=g>>8;a=v[a>>2];i=a;if(g&1){h=v[v[d>>2]+h>>2]}Qa[v[v[a>>2]+20>>2]](i,b,c,d+h|0,g&2?e:2,f)}function ZG(a){var b=0,c=0;c=Ma-16|0;Ma=c;b=ab(8);v[b>>2]=0;v[b+4>>2]=0;pg(b,0);t[v[b+4>>2]]=0;v[c+12>>2]=a;a=YG(b,217415,a);Ma=c+16|0;return a}function M_a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{d=a?v[a+180>>2]:0;if(d){if((Qa[v[v[d>>2]+16>>2]](d,b,1,c)|0)==(c|0)){break a}}dc(a,22698);L()}}function Hn(a,b,c,d){if(c){v[c>>2]=0}if(d){v[d>>2]=0}if(!a){return}if(c){z[c>>2]=z[v[a+12>>2]+(b<<2)>>2]}if(d){z[d>>2]=z[v[a+16>>2]+(b<<2)>>2]}}function Gs(a,b){var c=0,d=0,e=0;d=v[a>>2];e=v[b>>2];c=1;a:{if((d|0)<(e|0)){break a}c=0;if((d|0)!=(e|0)){break a}c=v[a+4>>2]>2]}return c}function BLa(a){a=a|0;var b=0,c=0;a=v[a>>2];b=w[a|0];if(b){while(1){c=B(c,31)+(b<<24>>24)|0;b=w[a+1|0];a=a+1|0;if(b){continue}break}}return c|0}function uu(a,b){var c=0,d=0;c=zb(b);d=v[a>>2];if(d){$a(d);v[a>>2]=0}a:{if(!b){break a}d=a;c=c+1|0;a=gb(c);v[d>>2]=a;if(!a){break a}Fd(a,b,c)}}function uB(a,b,c,d){var e=0,f=0;e=v[a+84>>2];if((e|0)>=1){f=v[a+80>>2];a=(b|0)>0?b:0;a=f+B((a|0)<(e|0)?a:e-1|0,96)|0;z[a+8>>2]=d;z[a+4>>2]=c}}function uAa(a,b){a=a|0;b=b|0;a:{if(b>>>0<=1){t[a+36|0]=0;v[a+44>>2]=16777216;if((b|0)==1){break a}}v[a+52>>2]=v[a+52>>2]&-268435456|16777216}}function t7(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=v[a+584>>2];if((b|0)==65557){v[v[c>>2]>>2]=v[d+120>>2];return 1}return Qa[v[d+128>>2]](a,b,c)|0}function p4(a){a:{if(!w[a+496|0]){break a}if(!(Qa[v[a+240>>2]](a,1)|0)){ob(a,902,0,0);return 902}if(!w[a+496|0]){break a}t[a+497|0]=1}return 0}function mQa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=1;a:{if(!v[a+16>>2]){break a}a=v[a+20>>2];if(!a){break a}Jj(a,A[b>>3],A[c>>3]);d=0}return d|0} -function cea(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=v[a+20>>2];d=v[a+16>>2]-e|0;d=c>>>0>>0?c:d;cb(e,b,d);v[a+20>>2]=d+v[a+20>>2];return c|0}function Su(a){var b=0,c=0;b=v[a+84>>2];a:{if((b|0)>-1){break a}b=-1;c=v[a+16>>2];if(!c){break a}b=Su(c);b=(b|0)>-1?b-v[a+80>>2]|0:-1}return b}function OWa(a,b){a=a|0;b=b|0;var c=0;if(w[b+32|0]){return hd(a,v[b>>2],0,0)|0}c=v[a+428>>2];t[c+8|0]=w[b+33|0];return hd(a,v[b>>2],1,c+8|0)|0}function Dna(a){a=a|0;var b=0;v[a>>2]=959252;while(1){b=v[a+12>>2];if(b){v[a+12>>2]=v[b+4>>2];Qa[v[v[b>>2]+4>>2]](b);continue}break}return a|0}function wn(a,b){a:{if(!a){break a}a=v[a>>2];if(!a){break a}while(1){if(v[a+8>>2]==(b|0)){return a}a=v[a+4>>2];if(a){continue}break}}return 0}function sV(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;v[c+8>>2]=0;v[c>>2]=0;v[c+4>>2]=0;a=65536-v[b>>2]|0;a=(a|0)<65536?a:65536;v[c+12>>2]=(a|0)>0?a:0}function lQa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=1;a:{if(!v[a+16>>2]){break a}a=v[a+20>>2];if(!a){break a}Nk(a,A[b>>3],A[c>>3]);d=0}return d|0}function gBa(a,b,c){a=a|0;b=b|0;c=c|0;b=(b|0)>1?b:1;b=(b|0)<100?b:100;if((b|0)<=49){vI(a,5e3/((b&65535)>>>0)|0,c);return}vI(a,200-(b<<1)|0,c)}function Zoa(a){a=a|0;var b=0;b=ab(16);a=v[a+4>>2];a=Qa[v[v[a>>2]+8>>2]](a)|0;v[b+8>>2]=-1;v[b+12>>2]=0;v[b>>2]=953148;v[b+4>>2]=a;return b|0}function Csa(a){a=a|0;var b=0;v[a>>2]=887188;b=v[a+4>>2];if(b){$a(Bb(b))}b=v[a+16>>2];if(b){$a(Bb(b))}b=v[a+28>>2];if(b){$a(Bb(b))}return a|0}function tu(a){var b=0,c=0;c=v[a+24>>2];if(c){while(1){b=v[c>>2];$a(c);v[a+24>>2]=b;c=b;if(b){continue}break}}b=v[a>>2];if(b){$a(b)}return a}function qVa(a,b){a=a|0;b=b|0;var c=0;c=v[a+428>>2];t[c+8|0]=w[b+32|0];t[c+9|0]=w[b+33|0];t[c+10|0]=w[b+34|0];return hd(a,v[b>>2],3,c+8|0)|0}function hW(a){var b=0;if(v[a+12>>2]>=1){while(1){bb(v[a+4>>2]+(b<<4)|0);b=b+1|0;if((b|0)>2]){continue}break}}tb(v[a+4>>2]);return a}function an(a,b,c){var d=0,e=0;d=-1;e=v[a+8>>2];c=(e&c>>31)+c|0;if(!((c|0)<0|(c|0)>=(e|0))){a=v[a+12>>2];b=ye(a+c|0,b);d=b?b-a|0:-1}return d}function Vwa(a){a=a|0;var b=0;a=a?v[a+8>>2]:0;if(a){b=v[a+4>>2];if(b){Qa[v[256556]](b)}b=v[a+12>>2];if(b){Qa[v[256556]](b)}Qa[v[256556]](a)}}function NRa(a){a=a|0;var b=0;v[a>>2]=351496;Wf(a+204|0);b=v[a+112>>2];if(b){v[a+116>>2]=b;$a(b)}if(t[a+39|0]<=-1){$a(v[a+28>>2])}return a|0}function Ht(a,b,c,d,e){var f=0,g=0,h=0;f=e<<8;g=65535-f|0;h=c;c=e-255|0;return g+B(h,c)&-256|a<<24|B(c,d)+g>>8|(B(b,c)-f<<8)+16776960&-65536}function yi(a,b){var c=0,d=0;a:{if(!a){break a}c=v[a+92>>2];if(!c){break a}b=Qa[v[v[c+12>>2]+12>>2]](c,b)|0;d=b>>>0>2]?b:0}return d}function qEa(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[a+4>>2];a:{if(c){break a}d=v[a>>2];c=c_(a+16|0,b,d);if(c){break a}c=c_(a+52|0,b,d)}return c|0}function px(a,b,c,d,e){var f=0,g=0,h=0;f=v[a+4>>2];g=f>>8;a=v[a>>2];h=a;if(f&1){g=v[v[c>>2]+g>>2]}Qa[v[v[a>>2]+24>>2]](h,b,c+g|0,f&2?d:2,e)}function pga(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Ma-32|0;Ma=d;if(!c){lb(mb(d+8|0,314025,241775,1912,226197));L()}v[a>>2]=0;qb(a,b);Ma=d+32|0}function of(a,b){v[a+20>>2]=b;if(b>>>0>=32768){pu(a,1-(v[a+32>>2]>>>15|0)|0);v[a+32>>2]=v[a+32>>2]<<1&65534;v[a+20>>2]=v[a+20>>2]<<1&65534}}function mi(a,b,c,d){var e=0;a:{if((b|0)!=(v[a>>2]&b)){break a}e=1;b=c;c=v[a>>2];b=(b|c)&(d^-1);if((b|0)==(c|0)){break a}v[a>>2]=b}return e}function R3(a,b){a=a|0;b=b|0;var c=0,d=0;d=v[a+428>>2]+8|0;c=v[b+32>>2];a:{if(!c){c=0;break a}cb(d,v[b+36>>2],c)}return hd(a,v[b>>2],c,d)|0}function Npa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=ab(8);if(b){d=Hc(ab(8),b)}b=a;if(c){c=Hc(ab(8),c)}else{c=0}v[b+4>>2]=c;v[a>>2]=d;return a|0}function Nia(a){a=a|0;var b=0;v[a>>2]=972572;b=v[a+36>>2];if(b){vd(b);$a(b)}b=v[a+64>>2];if(b){vd(b);$a(b)}xd(a+40|0);xd(a+8|0);bc(a);$a(a)}function Mma(a,b){a=a|0;b=b|0;var c=0;c=Ma-16|0;Ma=c;Qa[v[v[a>>2]+12>>2]](c,a,b);a=yZ(c);if(t[c+11|0]<=-1){$a(v[c>>2])}Ma=c+16|0;return a|0}function GUa(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1732332865){ob(a,2050,0,0);return 2050}t[b+32|0]=w[c+32|0];v[b+36>>2]=v[c+36>>2];return 0}function so(a,b,c,d){v[a+32>>2]=13;v[a+16>>2]=13;v[a+48>>2]=0;v[a+4>>2]=c;v[a>>2]=b;v[a+8>>2]=d;dj(c,a+16|0);dj(v[a+4>>2],a+32|0);return a}function pwa(a,b){a=a|0;b=b|0;var c=0;c=Ma-16|0;Ma=c;a=v[a+104>>2];A[c+8>>3]=A[b+440>>3]/72*25.4;Qa[v[v[a>>2]+68>>2]](a,c+8|0)|0;Ma=c+16|0}function jJa(a,b,c){a=a|0;b=b|0;c=c|0;a=v[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=a+b&-64;return((a|0)>0?a:0)|0}a=0-(a-b&-64)|0;return a>>31&a}function hK(a,b){var c=0;c=t[a+11|0];if((b|0)==-1){if((c|0)<=-1){v[v[a>>2]>>2]=0;v[a+4>>2]=0;return}v[a>>2]=0;t[a+11|0]=0;return}rr(a,0,b)}function fo(a,b){var c=0;a=v[a+12>>2];a:{if(!(!a|!w[a|0])){c=1;if(!b|!w[b|0]){break a}return hb(a,b)}if(!b){break a}c=w[b|0]?-1:0}return c}function cc(a,b,c){if((b|0)<=0){v[c>>2]=b?6:0;return 0}a=Qa[v[a+4>>2]](a,b)|0;if(!a){v[c>>2]=!a<<6;return 0}a=eb(a,0,b);v[c>>2]=0;return a}function bc(a){a=a|0;var b=0;b=Ma-32|0;Ma=b;v[a>>2]=978476;if(v[a+4>>2]>=1){lb(mb(b+8|0,234208,241158,95,333046));L()}Ma=b+32|0;return a|0}function Ym(a,b){var c=0,d=0;c=zb(a)+1|0;d=b&255;while(1){a:{b=0;if(!c){break a}c=c-1|0;b=c+a|0;if((d|0)!=w[b|0]){continue}}break}return b}function SEa(a,b){a=a|0;b=b|0;var c=0;b=v[a>>2];c=v[v[b+488>>2]+4>>2];if(!c){return 7}return Qa[c|0](v[b+100>>2],a,v[b+420>>2],2294,0,b)|0}function RP(a,b,c){if(a>>>0>=2147483647){v[296206]=48;return-1}a=Ia(0,a|0,1,b|0,c|0,0)|0;if(a>>>0>=4294963201){v[296206]=0-a;a=-1}return a}function QO(a,b){var c=0,d=0;if(b){while(1){d=a;c=v[a>>2];if(c){a=d+4|0;if((b|0)!=(c|0)){continue}}break}return c?d:0}return(ce(a)<<2)+a|0}function Hj(a,b){var c=0;a:{if(!a|!v[a+72>>2]|(!b|!w[b|0])){break a}b=Bl(b,v[a+92>>2]);if(!b){break a}c=v[a+80>>2]+(v[b>>2]<<4)|0}return c}function G7(a,b){a=a|0;b=b|0;b=gb(4);v[a+584>>2]=b;if(!b){return 0}a:{if(w[a+13|0]&4){b=Tl(a);break a}b=Gi(a)}v[v[a+584>>2]>>2]=b;return 1}function Dga(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Ma-32|0;Ma=d;if(!c){lb(mb(d+8|0,274253,241775,572,226545));L()}v[a>>2]=0;qb(a,b);Ma=d+32|0}function Bm(a,b,c){var d=0,e=0;d=v[a+264>>2];if(d>>>0<=31){A[a+256>>3]=b+c+A[a+256>>3];e=(d<<3)+a|0;A[e>>3]=b;v[a+264>>2]=d+2;A[e+8>>3]=c}}function BQ(a,b){return((B(w[a+1|0],601)+B(w[a|0],117)|0)+B(w[a+2|0],306)>>>10)-((B(w[b+1|0],601)+B(w[b|0],117)|0)+B(w[b+2|0],306)>>>10)|0}function Apa(a){a=a|0;var b=0,c=0;v[a>>2]=952800;b=v[a+24>>2];c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){$a(b)}v[a>>2]=952584;bb(a+8|0);return a|0}function zQa(a,b){a=a|0;b=b|0;var c=0;b=v[b>>2];v[a+488>>2]=b&1;c=b&255;t[a+497|0]=c>>>7;v[a+492>>2]=b>>>1&1;t[a+496|0]=c>>>2&31;return 0}function yea(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(!(!a|(b|0)>(c|0))){while(1){db((b<<3)+a|0);d=(b|0)!=(c|0);b=b+1|0;if(d){continue}break}}}function w1a(a){a=a|0;var b=0,c=0;v[a>>2]=189728;b=v[a+4>>2];if(b){a:{if(v[b>>2]!=2){break a}c=v[b+4>>2];if(!c){break a}$a(c)}$a(b)}$a(a)}function vAa(a,b,c){a=a|0;b=b|0;c=c|0;b=v[a+28>>2];if(!(b&14)){t[a+36|0]=0;v[a+44>>2]=16777216;v[a+52>>2]=b<<28|16777216;return}v[c>>2]=1}function pha(a,b,c){a=a|0;b=b|0;c=c|0;v[a+92>>2]=v[a+92>>2]+b;v[a+100>>2]=v[a+100>>2]+b;v[a+96>>2]=v[a+96>>2]+c;v[a+104>>2]=v[a+104>>2]+c}function nCa(a,b){a=a|0;b=b|0;var c=0;b=v[a>>2];c=v[v[b+544>>2]+4>>2];if(!c){return 7}return Qa[c|0](v[b+100>>2],a,v[b+16>>2],2406,0,b)|0}function jU(a,b,c){var d=0;d=ab(8);Rb(d,b);v[a+8>>2]=1;v[a>>2]=d;v[a+28>>2]=1;v[a+20>>2]=0;v[a+24>>2]=0;v[a+12>>2]=c;v[a+4>>2]=2;return a}function el(a){var b=0;a=a*a;b=a*a;return C(a*-.499999997251031+1+b*.04166662332373906+a*b*(a*2439044879627741e-20+-.001388676377460993))}function ah(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{if(!v[a+964>>2]){break a}if(!Pu(a,b,c)){break a}t[v[a+964>>2]+(B(v[a+16>>2],c)+b|0)|0]=d}}function _Ta(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1716539977){ob(a,2050,0,0);return 2050}t[b+32|0]=w[c+32|0];t[b+33|0]=w[c+33|0];return 0}function Rba(a){a=a|0;var b=0,c=0,d=0;b=v[v[a>>2]>>2];c=v[b+8>>2];a=v[b+4>>2];b=v[b>>2]+(c>>1)|0;d=b;if(c&1){a=v[a+v[b>>2]>>2]}Qa[a|0](d)}function Q$(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c;v[d>>2]=0;v[d+4>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;if(v[b+72>>2]==v[a+16>>2]){yn(b+108|0,c)}}function Kma(a,b){a=a|0;b=b|0;var c=0;c=Ma-16|0;Ma=c;Qa[v[v[a>>2]+12>>2]](c,a,b);if(!Xs(c)){fw(c)}if(t[c+11|0]<=-1){$a(v[c>>2])}Ma=c+16|0}function I9(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=v[a+584>>2];if((b|0)==65560){v[v[c>>2]>>2]=v[d>>2];return 1}return Qa[v[d+24>>2]](a,b,c)|0}function GNa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;if(!v[a+12>>2]){return 0}e=a+16|0;m1(e,b,z[c>>2],z[d>>2]);X0(v[a+12>>2],e);return 1}function FNa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;if(!v[a+12>>2]){return 0}e=a+16|0;m1(e,b,z[c>>2],z[d>>2]);MJ(v[a+12>>2],e);return 1}function Bna(a){a=a|0;var b=0;v[a>>2]=959252;while(1){b=v[a+12>>2];if(b){v[a+12>>2]=v[b+4>>2];Qa[v[v[b>>2]+4>>2]](b);continue}break}$a(a)}function rua(a){a=a|0;var b=0;v[a>>2]=886712;b=v[a+2456>>2];if(b){tb(b)}b=v[a+2460>>2];if(b){tb(b)}b=v[a+2468>>2];if(b){tb(b)}return a|0}function rp(a,b){var c=0;if(v[a>>2]>=0){while(1){if(!hb(v[a+4>>2],b)){return a}c=v[a+8>>2];a=a+8|0;if((c|0)>-1){continue}break}}return 0}function rma(a){a=a|0;v[a+60>>2]=965320;v[a>>2]=965300;v[a+8>>2]=965476;if(t[a+51|0]<=-1){$a(v[a+40>>2])}Nh(a+8|0);Kf(a+60|0);return a|0}function pqa(a){a=a|0;var b=0;v[a>>2]=928816;b=v[a+4>>2];if(b){$a(Bb(b))}b=v[a+8>>2];if(b){$a(b)}b=v[a+12>>2];if(b){$a(Bb(b))}return a|0}function p$a(a){a=a|0;var b=0;b=v[a+540>>2];cb(v[b+1176>>2]+B(v[b+1168>>2],v[a+2552>>2])|0,v[a+2516>>2],B(v[a+588>>2],3));return fC(a)|0}function oha(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(!(v[a+100>>2]<=(b|0)|v[a+92>>2]>(b|0)|v[a+96>>2]>(c|0))){d=v[a+104>>2]>(c|0)}return d|0}function oBa(a){a=a|0;var b=0;b=v[a+40>>2];if(b){Nd(b)}if(w[a+30|0]){Nd(v[a+36>>2])}b=v[a+220>>2];if(b){yA(b)}a=v[a+212>>2];if(a){Nd(a)}}function gq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Ma-768|0;Ma=d;a:{if(!a){break a}if(b){v[d+668>>2]=c;Qa[b|0](d,a);break a}$a(a)}Ma=d+768|0}function eea(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=b;b=v[b>>2]+7&-8;v[c>>2]=b+16;d=a,e=Gx(v[b>>2],v[b+4>>2],v[b+8>>2],v[b+12>>2]),A[d>>3]=e}function aI(a,b){v[a+28>>2]=b;v[a+24>>2]=2625;v[a+20>>2]=2626;v[a+16>>2]=2627;v[a+12>>2]=2628;v[a+8>>2]=2629;v[a+4>>2]=2630;v[a>>2]=2631}function Zra(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=eb(a,0,256);d=w[v[b>>2]+c|0];b=w[v[b+4>>2]+c|0];v[a+32>>2]=d-b<<5;v[a>>2]=(b+d<<5)+-8192}function En(a,b,c,d,e,f,g){var h=0;h=ab(48);v[a>>2]=h;A[h+40>>3]=g;A[h+32>>3]=f;A[h+24>>3]=e;A[h+16>>3]=d;A[h+8>>3]=c;A[h>>3]=b;return a}function $e(a,b){var c=0;if(!(!a|(b|0)<0)){if(v[a>>2]<=(b|0)){return 0}c=v[v[a+12>>2]+(b<<2)>>2];if(c){v[c+16>>2]=v[c+16>>2]+1}}return c}function i_(a,b){var c=0;c=v[a+12>>2];if(c-v[a+8>>2]>>3>>>0>>0){a=v[a+4>>2];if(!(!a|v[a>>2])){v[a>>2]=161}return}v[a+12>>2]=c-(b<<3)}function cPa(a){a=a|0;var b=0;v[a>>2]=351496;Wf(a+204|0);b=v[a+112>>2];if(b){v[a+116>>2]=b;$a(b)}if(t[a+39|0]<=-1){$a(v[a+28>>2])}$a(a)}function Tga(a){a=a|0;v[a>>2]=978364;ec(a+104|0);ec(a+92|0);ec(a+80|0);ec(a+68|0);v[a>>2]=978348;ec(a+56|0);ec(a+44|0);bc(a);return a|0}function Ooa(a){a=a|0;var b=0;v[a>>2]=953348;b=v[a+8>>2];if(b){tb(v[b+32>>2]);$a(b)}b=v[a+4>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}return a|0}function Nh(a){a=a|0;var b=0,c=0;v[a>>2]=998852;b=v[a+4>>2];c=v[b+4>>2]-1|0;v[b+4>>2]=c;if((c|0)==-1){Qa[v[v[b>>2]+8>>2]](b)}return a|0}function My(a){var b=0,c=0;b=v[a+36>>2]-8|0;v[a+36>>2]=b;c=b;b=v[a+32>>2];c=c-b|0;if(!c){A[a+48>>3]=1;return}A[a+48>>3]=A[(b+c|0)-8>>3]}function GD(a){a=a|0;var b=0,c=0;v[a>>2]=998788;b=v[a+4>>2];c=v[b+4>>2]-1|0;v[b+4>>2]=c;if((c|0)==-1){Qa[v[v[b>>2]+8>>2]](b)}return a|0}function tma(a){a=a|0;var b=0;v[a>>2]=965256;b=v[a+4>>2];if(b){$a(b)}b=a+4|0;v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;return a|0}function bia(a){a=a|0;var b=0;v[a>>2]=977316;b=v[a+4>>2];if(!(!b|(b|0)==217929)){$a(b)}v[a+12>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;return a|0}function Y2(){var a=0,b=0,c=0;a=Yb(1,16);a:{if(!a){break a}v[a+4>>2]=8;v[a+8>>2]=256;b=Yb(256,4);if(!b){break a}v[a>>2]=b;c=a}return c}function Vla(a,b,c){a=a|0;b=b|0;c=c|0;if(a){v[a+180>>2]=b;v[a+176>>2]=c?c:380;if(v[a+172>>2]){v[a+172>>2]=0;Db(a,10069)}v[a+444>>2]=0}}function Uva(a,b){a=a|0;b=b|0;b=Ma-16|0;Ma=b;if(!w[a+208|0]){a=v[a+104>>2];v[b+12>>2]=2048;Qa[v[v[a>>2]+288>>2]](a,b+12|0)|0}Ma=b+16|0}function UEa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;t[v[d>>2]+e|0]=w[(v[a+332>>2]+(B(v[v[b+84>>2]>>2],x[c>>1])+4>>>3&1023)|0)+128|0]}function Tva(a){a=a|0;var b=0;b=Ma-16|0;Ma=b;if(!w[a+208|0]){a=v[a+104>>2];v[b+12>>2]=2048;Qa[v[v[a>>2]+292>>2]](a,b+12|0)|0}Ma=b+16|0}function Sva(a){a=a|0;var b=0;b=Ma-16|0;Ma=b;if(!w[a+208|0]){a=v[a+104>>2];v[b+12>>2]=8194;Qa[v[v[a>>2]+288>>2]](a,b+12|0)|0}Ma=b+16|0}function Sh(a,b){a=v[a+12>>2];a:{if(a){while(1){if(Qa[v[v[a>>2]+32>>2]](a,b)|0){break a}a=v[a+4>>2];if(a){continue}break}}a=0}return a}function Rva(a){a=a|0;var b=0;b=Ma-16|0;Ma=b;if(!w[a+208|0]){a=v[a+104>>2];v[b+12>>2]=8194;Qa[v[v[a>>2]+292>>2]](a,b+12|0)|0}Ma=b+16|0}function Pga(a){a=a|0;var b=0;b=Ma-32|0;Ma=b;v[a>>2]=978476;if(v[a+4>>2]>=1){lb(mb(b+8|0,234208,241158,95,333046));L()}$a(a);Ma=b+32|0}function Ova(a){a=a|0;var b=0;b=Ma-16|0;Ma=b;if(!w[a+208|0]){a=v[a+104>>2];v[b+12>>2]=8193;Qa[v[v[a>>2]+292>>2]](a,b+12|0)|0}Ma=b+16|0}function Mx(a,b){var c=0,d=0;a:{if(b>>>0<=31){d=v[a+4>>2];c=a;break a}b=b-32|0;c=a+4|0}c=v[c>>2];v[a+4>>2]=d>>>b;v[a>>2]=d<<32-b|c>>>b}function IY(a){v[a+28>>2]=0;v[a+24>>2]=2618;v[a+20>>2]=2619;v[a+16>>2]=2620;v[a+12>>2]=2621;v[a+8>>2]=2622;v[a+4>>2]=2623;v[a>>2]=2624}function FB(a){var b=0,c=0,d=0;b=Yb(1,16);a:{if(!b){break a}c=(a|0)<1?20:a;a=Yb(c,4);v[b+8>>2]=a;if(!a){break a}v[b>>2]=c;d=b}return d}function zpa(a){a=a|0;var b=0,c=0;v[a>>2]=952800;b=v[a+24>>2];c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){$a(b)}v[a>>2]=952584;bb(a+8|0);$a(a)}function tla(a){a=a|0;var b=0;v[a>>2]=969512;b=v[a+12>>2];Qa[v[a+32>>2]](v[a+8>>2],v[a+20>>2]-b|0,v[a+24>>2]-b|0);$a(v[a+8>>2]);$a(a)}function sta(a,b,c){a=a|0;b=b|0;c=c|0;c=v[a+28>>2];A[c+552>>3]=v[b>>2]==1?+v[b+8>>2]:A[b+8>>3];a=v[a+8>>2];Qa[v[v[a>>2]+164>>2]](a,c)}function lta(a,b,c){a=a|0;b=b|0;c=c|0;c=v[a+28>>2];A[c+584>>3]=v[b>>2]==1?+v[b+8>>2]:A[b+8>>3];a=v[a+8>>2];Qa[v[v[a>>2]+172>>2]](a,c)}function kta(a,b,c){a=a|0;b=b|0;c=c|0;c=v[a+28>>2];A[c+560>>3]=v[b>>2]==1?+v[b+8>>2]:A[b+8>>3];a=v[a+8>>2];Qa[v[v[a>>2]+176>>2]](a,c)}function fT(a,b){var c=0;c=v[a+200>>2];if((c&5)==5){v[a+200>>2]=c|24;if(!b){uc(a,0);return}Db(a,41187);uc(a,b);return}dc(a,40200);L()}function Gsa(a,b,c){a=a|0;b=b|0;c=c|0;c=v[a+28>>2];A[c+440>>3]=v[b>>2]==1?+v[b+8>>2]:A[b+8>>3];a=v[a+8>>2];Qa[v[v[a>>2]+100>>2]](a,c)}function Fw(a){a=a|0;var b=0;b=v[a+4>>2];if(b){Qa[v[b+36>>2]](a,1);if(v[a+16>>2]){v[a+20>>2]=200;v[a+308>>2]=0;return}v[a+20>>2]=100}}function z0a(a,b){a=a|0;b=b|0;t[a+288|0]=1;return $3(a,x[b+28>>1],w[b+30|0],w[b+31|0],v[b+32>>2],v[b+36>>2],v[b+40>>2],v[b+44>>2])|0}function yva(a,b,c,d,e,f,g,h,i,j,k,l,m,n){a=a|0;b=b|0;c=+c;d=+d;e=e|0;f=f|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;return 1}function ty(a,b){var c=0,d=0;if(v[a+4>>2]){d=b?-1:0;c=b;b=x[a+26>>1];c=(b|0)==1?d:c;eb(v[a+56>>2],(b|0)==4?B(c&15,17):c,v[a+32>>2])}}function sf(a){var b=0;a=v[a>>2];b=v[a+12>>2];a:{if((b|0)==v[a+16>>2]){a=Qa[v[v[a>>2]+36>>2]](a)|0;break a}a=w[b|0]}return a<<24>>24}function sJa(a){a=a|0;var b=0,c=0;b=v[a+4>>2];if(!b){return-1}b=Jr(b);dh(v[a+4>>2],0,2);c=Jr(v[a+4>>2]);dh(v[a+4>>2],b,0);return c|0}function oNa(a,b,c){a=a|0;b=b|0;c=c|0;a=v[a+164>>2];if(!a){return 0}a=Qa[v[v[a>>2]+20>>2]](a)|0;return Qa[v[v[a>>2]+20>>2]](a,b,c)|0}function lHa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(b){v[b>>2]=v[a+152>>2]}if(c){v[c>>2]=v[a+156>>2]}if(d){v[d>>2]=v[a+160>>2]}return 0}function ab(a){a=a|0;var b=0;a=a?a:1;a:{while(1){b=gb(a);if(b){break a}b=v[297311];if(b){Qa[b|0]();continue}break}S();L()}return b|0}function _Ca(a,b){a=a|0;b=b|0;var c=0;v[a+16>>2]=b;c=w[b+7|0];b=w[b+6|0];v[a+24>>2]=-1;v[a+28>>2]=0;v[a+32>>2]=(b<<8|c)>>>1;return 0}function Vt(a){var b=0;b=gb(16);if(b){a=tp(a);v[b>>2]=a;if(!a){$a(b);return 0}v[b+4>>2]=0;v[b+8>>2]=0;v[b+12>>2]=a}else{b=0}return b}function MDa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Ma-16|0;Ma=e;a=FA(a,b,e+12|0);if(!a){wJ(c,v[e+12>>2],d)}Ma=e+16|0;return a|0}function Jk(a){var b=0;b=v[a+12>>2];if(b>>>0>2]){v[a+12>>2]=b+1;return w[b|0]}a=v[a>>2];if(!(!a|v[a>>2])){v[a>>2]=85}return 0}function Fna(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(!((c|0)<2|a>>>0>65535)){a=a<<8|(a&65280)>>>8;t[b|0]=a;t[b+1|0]=a>>>8;d=2}return d|0}function Dta(a,b,c){a=a|0;b=b|0;c=c|0;c=v[a+28>>2];A[c+480>>3]=v[b>>2]==1?+v[b+8>>2]:A[b+8>>3];a=v[a+8>>2];Qa[v[v[a>>2]+96>>2]](a,c)}function wva(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){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;m=m|0;n=+n;o=+o}function vra(a,b){a=a|0;b=b|0;var c=0;if(v[a+12>>2]>=1){while(1){v[(c<<2)+b>>2]=65536;c=c+1|0;if((c|0)>2]){continue}break}}}function qua(a){a=a|0;var b=0;v[a>>2]=886712;b=v[a+2456>>2];if(b){tb(b)}b=v[a+2460>>2];if(b){tb(b)}b=v[a+2468>>2];if(b){tb(b)}$a(a)}function qma(a){a=a|0;v[a+60>>2]=965320;v[a>>2]=965300;v[a+8>>2]=965476;if(t[a+51|0]<=-1){$a(v[a+40>>2])}Nh(a+8|0);Kf(a+60|0);$a(a)}function q$a(a){a=a|0;var b=0;b=v[a+540>>2];cb(v[b+1176>>2]+B(v[b+1168>>2],v[a+2552>>2])|0,v[a+2516>>2],v[a+588>>2]);return fC(a)|0}function pka(a,b){a=a|0;b=b|0;var c=0;if((b|0)>=1){while(1){db(a+24|0);db(a+16|0);a=a+32|0;c=(b|0)>1;b=b-1|0;if(c){continue}break}}}function oqa(a){a=a|0;var b=0;v[a>>2]=928816;b=v[a+4>>2];if(b){$a(Bb(b))}b=v[a+8>>2];if(b){$a(b)}b=v[a+12>>2];if(b){$a(Bb(b))}$a(a)}function fxa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a:{e=v[a+272>>2];if(!e){break a}e=v[e+44>>2];if(!e){break a}Qa[e|0](a,b,c,d)}}function XEa(a,b){a=a|0;b=b|0;var c=0;b=v[a>>2];c=v[b+376>>2];v[a+16>>2]=c;v[a+20>>2]=v[b+380>>2]-c;v[a+24>>2]=v[b+384>>2];return 0}function ME(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(!(!a|!b)){t[b+120|0]=e;v[b+116>>2]=d;v[b+112>>2]=c;v[b+8>>2]=v[b+8>>2]|128}}function Kx(a,b){var c=0,d=0;a:{if(b>>>0<=31){d=v[a>>2];c=a+4|0;break a}b=b-32|0;c=a}c=v[c>>2];v[a>>2]=d<>2]=c<>>32-b}function Kva(a,b){a=a|0;b=b|0;b=Ma-16|0;Ma=b;if(!w[a+203|0]){a=v[a+104>>2];v[b+12>>2]=2;Qa[v[v[a>>2]+288>>2]](a,b+12|0)|0}Ma=b+16|0}function Eza(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Ma-16|0;Ma=d;a=v[a+4>>2];if(a){v[d>>2]=c;a=PP(a,b,d)}else{a=-1}Ma=d+16|0;return a|0}function xA(a){var b=0;a:{if(v[a>>2]){if(v[a>>2]!=1){break a}while(1){if(v[a>>2]==1){continue}break}break a}b=1;v[a>>2]=1}return b}function tE(a,b){var c=0,d=0;c=v[a>>2];d=v[c>>2];v[c>>2]=v[v[b>>2]>>2];v[v[b>>2]>>2]=d;c=v[a+4>>2];v[a+4>>2]=v[b+4>>2];v[b+4>>2]=c}function o2a(a,b,c){a=a|0;b=b|0;c=c|0;if(wg(c,v[a+12>>2])){a=-1}else{a=(Un(c,v[a+20>>2],v[a+16>>2])|0)!=v[a+16>>2]?-1:0}return a|0}function hm(a,b){var c=0;v[a+4>>2]=v[b+4>>2];c=w[b+8|0];t[a+8|0]=c;b=v[b>>2];v[a>>2]=b;if(!(!c|!b)){v[b+4>>2]=v[b+4>>2]+1}return a}function Sga(a){a=a|0;v[a>>2]=978364;ec(a+104|0);ec(a+92|0);ec(a+80|0);ec(a+68|0);v[a>>2]=978348;ec(a+56|0);ec(a+44|0);bc(a);$a(a)}function Psa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;b=v[a+8>>2];Qa[v[v[b>>2]+64>>2]](b,v[a+28>>2]);d=a,e=gv(v[a+28>>2]),v[d+28>>2]=e}function Noa(a){a=a|0;var b=0;v[a>>2]=953348;b=v[a+8>>2];if(b){tb(v[b+32>>2]);$a(b)}b=v[a+4>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}$a(a)}function NS(a,b){a=a|0;b=b|0;var c=0;if((b|0)>=1){while(1){ac(a+24|0);db(a+16|0);a=a+40|0;c=(b|0)>1;b=b-1|0;if(c){continue}break}}}function E0a(a,b){a=a|0;b=b|0;if(!w[a+498|0]){t[a+1148|0]=w[b+32|0];u[a+1150>>1]=x[b+28>>1];u[a+1152>>1]=x[b+30>>1]}return Xw(a)|0}function Aya(a){a=a|0;var b=0;v[a>>2]=869332;kn(v[a+4>>2]);v[a+4>>2]=0;b=v[a+8>>2];if(b){$a(b)}v[a+8>>2]=0;v[a+12>>2]=0;return a|0}function $Ra(a){a=a|0;v[a+216>>2]=0;v[a+436>>2]=0;v[a+144>>2]=0;a=v[a+460>>2];v[a+164>>2]=0;v[a+24>>2]=0;v[a+12>>2]=0;v[a+16>>2]=0}function pK(a){var b=0,c=0;a:{if(!a){break a}b=v[a>>2];if(!b){break a}c=v[b+16>>2]-1|0;v[b+16>>2]=c;if((c|0)<=0){$a(b)}v[a>>2]=0}}function epa(a){a=a|0;var b=0;a:{if(v[a+28>>2]){b=-1;if(!v[a+32>>2]){break a}}a=v[a+24>>2];b=Qa[v[v[a>>2]+32>>2]](a)|0}return b|0}function _Y(a,b,c){a=a|0;b=b|0;c=c|0;a:{b=v[a+28>>2];if(!(b&14)){b=b&15;v[a+48>>2]=!b<<3;if((b|0)!=1){break a}c=a+52|0}v[c>>2]=1}}function Xz(a,b){var c=0,d=0,e=0;if(!(!a|!b)){if(w[b|0]){c=b;while(1){d=d+1|0;e=w[c+1|0];c=c+1|0;if(e){continue}break}}Wz(a,b,d)}}function W7(a){a=a|0;var b=0;b=v[a+828>>2];v[b+608>>2]=v[b+600>>2];Xd(b);v[a+780>>2]=v[b+596>>2];v[a+784>>2]=v[b+600>>2];return 1}function M4(a){a=a|0;var b=0,c=0;b=v[v[a+544>>2]+88>>2];c=v[b+1168>>2];cb(v[a+644>>2],v[b+1176>>2]+B(c,v[a+572>>2])|0,c);return 0}function Lq(a){var b=0,c=0,d=0;b=a;c=v[a+36>>2];a=v[a+32>>2];if(c>>>0>a+1>>>0){d=w[a|0]|w[a+1|0]<<8;a=a+2|0}v[b+32>>2]=a;return d}function JRa(a,b){a=a|0;b=b|0;var c=0;c=v[a+660>>2];if(c){Qa[v[v[c>>2]+12>>2]](c)|0}v[a+660>>2]=b;if(b){Qa[v[v[b>>2]+8>>2]](b)|0}}function yL(a){var b=0,c=0;b=v[a+688>>2];if(b){while(1){c=v[b+8>>2];if(!w[b+33|0]){Qa[v[b>>2]](a,b)|0}b=c;if(b){continue}break}}}function vxa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=-1;a:{if(!a|!b){break a}d=kg(b,1,c,a);if((d|0)>-1){break a}xH(333173)}return d|0}function gJa(a,b,c){a=a|0;b=b|0;c=c|0;a=v[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=a+b|0;return((a|0)>0?a:0)|0}a=b-a|0;return a>>31&a}function cya(a,b,c){a=a|0;b=b|0;c=c|0;a=Ma-16|0;Ma=a;if(!v[291043]){v[291043]=v[249419]}v[a+12>>2]=c;Ox(v[291043],b,c);Ma=a+16|0}function Iba(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;while(1){if((b|0)!=(c|0)){v[d>>2]=t[b|0];d=d+4|0;b=b+1|0;continue}break}return c|0}function FF(a,b){var c=0;v[a>>2]=0;v[a+4>>2]=0;t[a+8|0]=0;c=ce(b);t[a+8|0]=0;v[a>>2]=b;v[a+4>>2]=(c|0)>-1?c:-2147483648;return a}function F0(a){var b=0;if(!v[a+344>>2]){b=a+320|0;vw(b,v[a+340>>2]!=0);pB(b,A[a+280>>3],v[a+340>>2])}v[a+344>>2]=1;v[a+348>>2]=0}function vO(a,b,c,d,e,f){a=Qa[v[v[a+8>>2]+4>>2]](a+8|0)|0;a=Cx(c,d,a,a+288|0,f,e,0)-a|0;if((a|0)<=287){v[b>>2]=((a|0)/12|0)%12}}function tB(a,b,c){var d=0,e=0;d=v[a+84>>2];if((d|0)>=1){e=v[a+80>>2];a=(b|0)>0?b:0;v[(e+B((a|0)<(d|0)?a:d-1|0,96)|0)+60>>2]=c}}function rO(a,b,c,d,e,f){a=Qa[v[v[a+8>>2]+4>>2]](a+8|0)|0;a=Bx(c,d,a,a+288|0,f,e,0)-a|0;if((a|0)<=287){v[b>>2]=((a|0)/12|0)%12}}function k1a(a){a=a|0;var b=0;v[a>>2]=189784;b=a+4|0;Si(b);v[a+28>>2]=0;v[a+32>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;Xh(b);return a|0}function i4(a){var b=0,c=0;c=a;b=x[a+2326>>1];a:{if(b){b=ig(a,b);break a}b=v[a+528>>2]}b=$g(c,b,0);if(!b){t[a+498|0]=0}return b}function gSa(a){a=a|0;var b=0,c=0;b=Ma-224|0;Ma=b;c=b+16|0;Qa[v[v[a>>2]+12>>2]](a,c);v[b>>2]=c;vb(v[249419],69999,b);Ma=b+224|0}function Ola(a){a=a|0;var b=0;v[a>>2]=967556;b=v[a+4>>2];if(b){$a(b);v[a+4>>2]=0}b=v[a+8>>2];if(b){$a(b);v[a+8>>2]=0}return a|0}function Iua(a){a=a|0;var b=0,c=0;b=v[a+4>>2];c=v[a>>2];if((b|0)>2]){v[a+4>>2]=b+1;a=w[v[c+4>>2]+b|0]}else{a=-1}return a|0}function ITa(a,b){a=a|0;b=b|0;var c=0;c=!a|v[a>>2]!=1381173770?c:v[a+4>>2];return v[c+4>>2]+B(v[c+28>>2],v[c+24>>2]+(b^-1)|0)|0}function ETa(a,b){a=a|0;b=b|0;var c=0;c=!a|v[a>>2]!=1381173770?c:v[a+4>>2];return v[c+8>>2]+B(v[c+20>>2],v[c+24>>2]+(b^-1)|0)|0}function Aba(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;while(1){if((b|0)!=(c|0)){t[d|0]=w[b|0];d=d+1|0;b=b+1|0;continue}break}return c|0}function Ab(a){var b=0;b=Ma-16|0;Ma=b;a=Vd(a,b+12|0,2);Ma=b+16|0;b=w[b+12|0]|w[b+13|0]<<8;return((a|0)==2?b<<8|b>>>8:0)<<16>>16}function zoa(a){a=a|0;var b=0;v[a>>2]=953548;b=v[a+4>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}tb(v[a+64>>2]);tb(v[a+60>>2]);return a|0}function yo(a,b){var c=0,d=0;c=ce(a);d=w[b+11|0];if((c|0)==((d<<24>>24<0?v[b+4>>2]:d)|0)){a=(Vc(b,a,c)|0)!=0}else{a=1}return a}function pEa(a){a=a|0;v[a+12>>2]=1;v[a+16>>2]=0;v[a+4>>2]=0;v[a+76>>2]=0;v[a- -64>>2]=0;v[a+52>>2]=0;v[a+40>>2]=0;v[a+28>>2]=0}function laa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(qj(a,v[b+8>>2],0)){aD(b,c,d);return}a=v[a+8>>2];Qa[v[v[a>>2]+28>>2]](a,b,c,d)}function kEa(a){a=a|0;v[a+12>>2]=2;v[a+16>>2]=0;v[a+4>>2]=0;v[a+76>>2]=0;v[a- -64>>2]=0;v[a+52>>2]=0;v[a+40>>2]=0;v[a+28>>2]=0}function eva(a,b,c){a=a|0;b=b|0;c=c|0;if(!Cs(a,b,2)){return 0}a=(b-v[a+1040>>2]|0)+a|0;v[c>>2]=w[a+16|0]<<8|w[a+17|0];return 1}function VEa(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[a+16>>2];return(c>>>0>b>>>0|v[a+20>>2]+c>>>0<=b>>>0?d:x[v[a+24>>2]+(b<<1)>>1])|0}function Rpa(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;Qa[v[v[a>>2]+280>>2]](a,b,c,d,e,f,g,h,i)}function Lma(a,b){a=a|0;b=b|0;var c=0;c=Ma-16|0;Ma=c;Qa[v[v[a>>2]+12>>2]](c,a,b);hw(c);if(t[c+11|0]<=-1){$a(v[c>>2])}Ma=c+16|0}function JA(a){var b=0,c=0;v[a+20>>2]=0;v[a+24>>2]=0;v[a+12>>2]=0;b=v[a>>2];c=v[a+28>>2];if(c){Qa[v[b+8>>2]](b,c)}v[a+28>>2]=0}function Cm(a,b){var c=0,d=0;c=v[a+84>>2];if((c|0)<1){return 0}d=v[a+80>>2];a=(b|0)>0?b:0;return d+B((a|0)<(c|0)?a:c-1|0,96)|0}function oq(a,b){var c=0,d=0,e=0;d=b-1|0;e=d<<2;c=v[e+v[a+12>>2]>>2];if(!c){aW(a,b,d,v[a+8>>2]);c=v[v[a+12>>2]+e>>2]}return c}function dd(a){var b=0,c=0;if(v[a+20>>2]){b=v[a+28>>2];c=v[a>>2];if(c){Qa[v[b+8>>2]](b,c)}v[a>>2]=0}v[a+32>>2]=0;v[a+36>>2]=0}function _V(){var a=0;a=ab(28);v[a>>2]=0;v[a+4>>2]=0;v[a+24>>2]=1;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;return a}function _P(a,b){var c=0;a:{if(b){c=(a<<2)+1184868|0;a=$P(a,b);v[c>>2]=a;break a}a=v[(a<<2)+1184868>>2]}return a?a+8|0:312822}function _Oa(a){a=a|0;var b=0;a=1162792;while(1){b=a-12|0;if(t[a-1|0]<=-1){$a(v[b>>2])}a=b;if((a|0)!=1162144){continue}break}}function ZRa(a){a=a|0;var b=0;a=1161480;while(1){b=a-12|0;if(t[a-1|0]<=-1){$a(v[b>>2])}a=b;if((a|0)!=1160832){continue}break}}function Ysa(a,b,c){a=a|0;b=b|0;c=c|0;a=eb(a,0,256);b=v[b>>2]+c|0;c=w[b|0];b=w[b+1|0];v[a+4>>2]=c-b<<5;v[a>>2]=(b+c<<5)+-8192}function VH(a,b){if(b){VH(a,v[b>>2]);VH(a,v[b+4>>2]);if(t[b+39|0]<=-1){$a(v[b+28>>2])}if(t[b+27|0]<=-1){$a(v[b+16>>2])}$a(b)}}function QOa(a){a=a|0;var b=0;a=1163448;while(1){b=a-12|0;if(t[a-1|0]<=-1){$a(v[b>>2])}a=b;if((a|0)!=1162800){continue}break}}function Pk(a){var b=0,c=0;a:{if(!a){break a}b=v[a+4>>2];if(!b){break a}b=b-1|0;v[a+4>>2]=b;c=v[v[a+8>>2]+(b<<2)>>2]}return c}function PRa(a){a=a|0;var b=0;a=1162136;while(1){b=a-12|0;if(t[a-1|0]<=-1){$a(v[b>>2])}a=b;if((a|0)!=1161488){continue}break}}function Fx(a){v[a>>2]=998852;nD(a+4|0);v[a+24>>2]=0;v[a+28>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;return a}function z1a(a){a=a|0;var b=0,c=0,d=0;a=v[a+52>>2];c=a,d=(Qa[v[v[a>>2]+20>>2]](a,2)|0)-2|0,b=v[v[a>>2]+24>>2],Qa[b](c|0,d|0)}function yQ(a,b,c){var d=0;d=v[a>>2];if(d){$a(d);v[a>>2]=0}a:{if(!b){break a}d=a;a=gb(c);v[d>>2]=a;if(!a){break a}Fd(a,b,c)}}function yEa(a){a=a|0;var b=0;v[a+140>>2]=0;v[a+112>>2]=0;a=a+12|0;b=v[a>>2];d_(a+16|0,b);d_(a+52|0,b);v[a>>2]=0;v[a+4>>2]=0}function xO(a,b,c,d,e,f){a=Qa[v[v[a+8>>2]>>2]](a+8|0)|0;a=Cx(c,d,a,a+168|0,f,e,0)-a|0;if((a|0)<=167){v[b>>2]=((a|0)/12|0)%7}}function tV(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=v[b>>2];a=(a|0)<65536?a:65536;a=(a|0)>0?a:0;v[c+4>>2]=a;v[c+8>>2]=a;v[c>>2]=a}function sO(a,b,c,d,e,f){a=Qa[v[v[a+8>>2]>>2]](a+8|0)|0;a=Bx(c,d,a,a+168|0,f,e,0)-a|0;if((a|0)<=167){v[b>>2]=((a|0)/12|0)%7}}function k1(a){a=a|0;var b=0;v[a>>2]=360620;a:{if(w[a+16|0]){break a}b=v[a+8>>2];if(!b){break a}$a(b);v[a+8>>2]=0}return a|0}function bD(a){a=a|0;var b=0,c=0;v[a>>2]=1010540;b=v[a+4>>2]-12|0;c=v[b+8>>2]-1|0;v[b+8>>2]=c;if((c|0)<=-1){$a(b)}return a|0}function _ua(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=zb(c);if(!Cs(a,b,d)){return 0}return!Jb(((a-v[a+1040>>2]|0)+b|0)+16|0,c,d)|0}function _o(a){var b=0;b=Yb(1,16);if(!b){return 0}v[b+8>>2]=1;a=(a|0)<1?20:a;v[b+4>>2]=a;a=Yb(a,4);v[b+12>>2]=a;return a?b:0}function Zha(a){a=a|0;v[a>>2]=977616;xd(a+124|0);xd(a+100|0);v[a>>2]=977532;db(a+24|0);db(a+16|0);db(a+8|0);bc(a);return a|0}function Vs(a,b){if(PY(a,v[a+52>>2]+2|0,b)){b=v[a+52>>2];v[a+52>>2]=b+1;t[b+v[a>>2]|0]=47;t[v[a>>2]+v[a+52>>2]|0]=0}return a}function Usa(a,b,c){a=a|0;b=b|0;c=c|0;c=v[a+28>>2];b=v[b+8>>2];v[c+472>>2]=b>>>0>2?0:b;a=v[a+8>>2];Qa[v[v[a>>2]+88>>2]](a,c)}function NG(a){var b=0;b=v[a+4>>2];if(b){$a(vV(b))}bb(a+8|0);bb(a+24|0);bb(a+40|0);bb(a+56|0);bb(a+72|0);bb(a+88|0);return a}function Fta(a,b,c){a=a|0;b=b|0;c=c|0;c=v[a+28>>2];b=v[b+8>>2];v[c+476>>2]=b>>>0>2?0:b;a=v[a+8>>2];Qa[v[v[a>>2]+92>>2]](a,c)}function wja(a,b){a=a|0;b=b|0;var c=0,d=0;c=Su(v[b+156>>2]);if((c|0)>=1){d=Mf();Qa[v[v[d>>2]+48>>2]](d,b,C(C(a|0)/C(c|0)))}}function mz(a){var b=0,c=0,d=0;b=ab(8);c=v[a+4>>2];v[b+4>>2]=c;d=Pb(c,1);v[b>>2]=d;cb(eb(d,0,c),v[a>>2],v[a+4>>2]);return b}function Rga(a){a=a|0;v[a>>2]=978380;ec(a+92|0);ec(a+80|0);ec(a+68|0);v[a>>2]=978348;ec(a+56|0);ec(a+44|0);bc(a);return a|0}function P0a(a,b){a=a|0;b=b|0;t[a+312|0]=1;u[a+2240>>1]=x[b+28>>1];u[a+2242>>1]=x[b+30>>1];u[a+2244>>1]=x[b+32>>1];return 0}function Nfa(a){a=a|0;var b=0;b=v[a+36>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}v[a+24>>2]=0;v[a+28>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0}function Gr(a,b){v[a+20>>2]=0;v[a+24>>2]=b;v[a+12>>2]=0;v[a+4>>2]=4098;v[a+8>>2]=6;v[a+16>>2]=!b;eb(a+32|0,0,40);nD(a+28|0)}function AQa(a,b){a=a|0;b=b|0;var c=0;c=b;b=v[a+488>>2]!=0;v[c>>2]=w[a+496|0]<<2|(v[a+492>>2]?b|2:b)|w[a+497|0]<<7;return 0}function pLa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=vn(v[a>>2],c,326226);if(!a){return 64}v[d>>2]=a;v[e>>2]=0;return 0}function oLa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=vn(v[a>>2],c,326254);if(!a){return 64}v[d>>2]=a;v[e>>2]=0;return 0}function j1a(a){a=a|0;var b=0;v[a>>2]=189784;b=a+4|0;Si(b);v[a+28>>2]=0;v[a+32>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;Xh(b);$a(a)}function gV(a,b,c){A[a+600>>3]=A[a+504>>3]*b+A[a+520>>3]*c+A[a+600>>3];A[a+608>>3]=A[a+512>>3]*b+A[a+528>>3]*c+A[a+608>>3]}function gGa(a,b){a=a|0;b=b|0;var c=0;b=v[v[a>>2]+132>>2];c=w[b+104|0];v[a+16>>2]=c;v[a+20>>2]=(w[b+105|0]-c|0)+1;return 0}function eSa(a){a=a|0;var b=0;Qa[v[v[a>>2]+8>>2]](a);b=v[a+4>>2];if(b){Qa[v[b+40>>2]](a)}v[a+20>>2]=0;v[a+4>>2]=0;_(1);L()}function de(a,b){var c=0;v[b>>2]=0;v[b+4>>2]=v[a+12>>2];v[a+12>>2]=b;c=v[b+4>>2];v[(c?c:a+8|0)>>2]=b;v[a+4>>2]=v[a+4>>2]+1}function OV(a,b){var c=0,d=0;while(1){d=(c<<3)+b|0;if(v[d>>2]){OV(a,v[d+4>>2])}c=c+1|0;if((c|0)!=256){continue}break}tb(b)}function zja(a,b,c){a=a|0;b=b|0;c=c|0;b=Ma-32|0;Ma=b;if(!w[a+144|0]){lb(mb(b+8|0,231556,241865,164,226745));L()}Ma=b+32|0}function yoa(a){a=a|0;var b=0;v[a>>2]=953548;b=v[a+4>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}tb(v[a+64>>2]);tb(v[a+60>>2]);$a(a)}function rNa(a,b){a=a|0;b=b|0;v[a+136>>2]=v[b>>2];b=v[a+12>>2];if(b){a=v[a+136>>2];if((a|0)!=v[b+208>>2]){v[b+208>>2]=a}}}function rD(a,b,c){c=v[c>>2];while(1){a:{if((a|0)!=(b|0)){if((c|0)!=v[a>>2]){break a}}else{a=b}return a}a=a+4|0;continue}}function nq(a){var b=0;b=v[a+24>>2]-1|0;v[a+24>>2]=b;if(!b){b=v[a>>2];if(b){$a(Bb(b))}tb(v[a+4>>2]);tb(v[a+12>>2]);$a(a)}}function dxa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{d=v[a+272>>2];if(!d){break a}d=v[d+48>>2];if(!d){break a}Qa[d|0](a,b,c)}}function cxa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{d=v[a+272>>2];if(!d){break a}d=v[d+52>>2];if(!d){break a}Qa[d|0](a,b,c)}}function cBa(a,b){a=a|0;b=b|0;var c=0;c=v[a+8>>2];if(c>>>0>2]){v[a+8>>2]=c+1;return w[c|0]}v[b>>2]=8;return 65535}function Maa(a){a=a|0;a:{if(t[1187560]&1){break a}if(!ie(1187560)){break a}sb(1187548,1004516);he(1187560)}return 1187548}function Ida(a){a=a|0;var b=0;if((Qa[v[v[a>>2]+36>>2]](a)|0)==-1){return-1}b=a;a=v[a+12>>2];v[b+12>>2]=a+4;return v[a>>2]}function Iaa(a){a=a|0;a:{if(t[1187592]&1){break a}if(!ie(1187592)){break a}sb(1187580,1004552);he(1187592)}return 1187580}function Eaa(a){a=a|0;a:{if(t[1187624]&1){break a}if(!ie(1187624)){break a}sb(1187612,1004588);he(1187624)}return 1187612}function Aaa(a){a=a|0;a:{if(t[1187656]&1){break a}if(!ie(1187656)){break a}sb(1187644,1004672);he(1187656)}return 1187644}function yl(a){var b=0,c=0;if(!a){return 0}if(w[a|0]){while(1){b=b+1|0;c=w[a+1|0];a=a+1|0;if(c){continue}break}}return b}function tVa(a,b){a=a|0;b=b|0;var c=0;c=v[a+428>>2];t[c+8|0]=w[b+32|0];t[c+9|0]=w[b+33|0];return hd(a,v[b>>2],2,c+8|0)|0}function lia(a,b){a=a|0;b=b|0;var c=0;if((b|0)>=1){while(1){ac(a+36|0);a=a+56|0;c=(b|0)>1;b=b-1|0;if(c){continue}break}}}function jD(a,b,c){a:{if(!c){break a}while(1){if(w[a|0]&32){break a}tx(v[b>>2],a);b=b+4|0;c=c-1|0;if(c){continue}break}}}function fL(a,b){a=a|0;b=b|0;var c=0;c=v[b>>2];if(w[b+32|0]){return hd(a,c,0,0)|0}return hd(a,c,v[b+36>>2],v[b+40>>2])|0}function bP(a){var b=0;b=v[a+12>>2];if((b|0)==v[a+16>>2]){return Qa[v[v[a>>2]+40>>2]](a)|0}v[a+12>>2]=b+4;return v[b>>2]}function Zua(a){a=a|0;var b=0;v[a>>2]=879736;tb(v[a+20>>2]);tb(v[a+28>>2]);b=v[a+60>>2];if(b){$a(Vg(b))}Ds(a);return a|0}function Uo(a,b,c,d,e){v[a+24>>2]=b;v[a+12>>2]=v[c>>2];v[a+16>>2]=v[d>>2];b=v[e>>2];t[a+28|0]=0;v[a+20>>2]=b;v[a+8>>2]=0}function UNa(a){a=a|0;var b=0;v[a>>2]=360620;a:{if(w[a+16|0]){break a}b=v[a+8>>2];if(!b){break a}$a(b);v[a+8>>2]=0}$a(a)}function T1a(a,b,c){a=a|0;b=b|0;c=c|0;a=Ma-16|0;Ma=a;Nb(17259,0);Nb(19917,0);v[a>>2]=14714;Nb(9564,a);Ma=a+16|0;return-1}function QLa(a,b){a=a|0;b=b|0;var c=0;c=v[a>>2];v[b+20>>2]=v[a+20>>2];v[b+24>>2]=v[a+24>>2];return a0(c,a+28|0,b+28|0)|0}function Oaa(a){a=a|0;a:{if(t[1187544]&1){break a}if(!ie(1187544)){break a}lj(1187532,220295);he(1187544)}return 1187532}function Mda(a){a=a|0;var b=0;if((Qa[v[v[a>>2]+36>>2]](a)|0)==-1){return-1}b=a;a=v[a+12>>2];v[b+12>>2]=a+1;return w[a|0]}function Kaa(a){a=a|0;a:{if(t[1187576]&1){break a}if(!ie(1187576)){break a}lj(1187564,310320);he(1187576)}return 1187564}function Gaa(a){a=a|0;a:{if(t[1187608]&1){break a}if(!ie(1187608)){break a}lj(1187596,308472);he(1187608)}return 1187596}function F0a(a,b){a=a|0;b=b|0;return b4(a,x[b+28>>1],x[b+30>>1],w[b+32|0],v[b+36>>2],v[b+40>>2],v[b+44>>2],v[b+48>>2])|0}function Ct(a){var b=0;a:{if(!a){break a}a=e3(a);if(!a){break a}eb(v[a+40>>2],0,B(v[a+12>>2],v[a+4>>2])<<2);b=a}return b}function Caa(a){a=a|0;a:{if(t[1187640]&1){break a}if(!ie(1187640)){break a}lj(1187628,243216);he(1187640)}return 1187628}function uxa(a){a=a|0;var b=0;b=GX(a);a:{if(b){break a}b=0;a=tm(a,0);if(!a){break a}b=GX(a);Qa[v[256556]](a)}return b|0}function uD(a,b,c){c=w[c|0];while(1){a:{if((a|0)!=(b|0)){if((c|0)!=w[a|0]){break a}}else{a=b}return a}a=a+1|0;continue}}function qn(a,b){if(y[a+20>>2]<=b>>>0){b=v[a+4>>2];if(!(!b|v[b>>2])){v[b>>2]=130}b=0}return v[a+28>>2]+B(v[a+8>>2],b)|0}function pS(a,b){a=a|0;b=b|0;var c=0;if((b|0)>=1){while(1){zg(a+16|0);a=a+56|0;c=(b|0)>1;b=b-1|0;if(c){continue}break}}}function oF(a,b){a=a|0;b=b|0;var c=0;if((b|0)>=1){while(1){db(a+16|0);a=a+28|0;c=(b|0)>1;b=b-1|0;if(c){continue}break}}}function kBa(a){a=a|0;var b=0;b=v[a+24>>2];a:{if(w[a+28|0]&16){a=v[b+216>>2];if(a){break a}}a=v[b+12>>2]+4|0}return a|0}function ig(a,b){a=v[a+688>>2];if(a){while(1){if(x[a+28>>1]==(b|0)){return a}a=v[a+8>>2];if(a){continue}break}}return 0}function gP(a){var b=0;b=v[a+12>>2];if((b|0)==v[a+16>>2]){return Qa[v[v[a>>2]+40>>2]](a)|0}v[a+12>>2]=b+1;return w[b|0]}function al(a,b){var c=0;c=v[279293];b=v[b>>2];if(b){v[279293]=(b|0)==-1?1184868:b}v[a>>2]=(c|0)==1184868?-1:c;return a}function _ja(a,b){a=a|0;b=b|0;var c=0;if((b|0)>=1){while(1){zg(a+8|0);a=a+44|0;c=(b|0)>1;b=b-1|0;if(c){continue}break}}}function Yha(a){a=a|0;v[a>>2]=977616;xd(a+124|0);xd(a+100|0);v[a>>2]=977532;db(a+24|0);db(a+16|0);db(a+8|0);bc(a);$a(a)}function Vja(a,b){a=a|0;b=b|0;var c=0;if((b|0)>=1){while(1){db(a+8|0);a=a+16|0;c=(b|0)>1;b=b-1|0;if(c){continue}break}}}function Uy(a,b){var c=0,d=0;c=ce(b);d=w[a+11|0];if((c|0)==((d<<24>>24<0?v[a+4>>2]:d)|0)){a=Vc(a,b,c)}else{a=1}return!a}function TIa(a,b,c){a=a|0;b=b|0;c=c|0;c=$I(v[a+532>>2],b,c);if(!c){v[a+8>>2]=v[a+8>>2]&-32769|((b|0)!=0)<<15}return c|0}function Oi(a,b){var c=0,d=0;c=ce(a);d=w[b+11|0];if((c|0)==((d<<24>>24<0?v[b+4>>2]:d)|0)){a=Vc(b,a,c)}else{a=1}return!a}function KPa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;b=w[b|0];t[a+672|0]=b;d=b?A[c>>3]:1;A[a+664>>3]=d;A[v[a+16>>2]+2824>>3]=d}function Jx(a,b){var c=0,d=0;c=Ma-16|0;Ma=c;ND(c,a,b,1);d=Gx(v[c>>2],v[c+4>>2],v[c+8>>2],v[c+12>>2]);Ma=c+16|0;return d}function y1a(a){a=a|0;var b=0;a=v[a+52>>2];b=Qa[v[v[a>>2]+20>>2]](a,2)|0;if((b|0)>=1){Qa[v[v[a>>2]+20>>2]](a,b-2|0)|0}}function spa(a,b){a=a|0;b=b|0;var c=0;c=a+40|0;v[a+300>>2]=c;v[a+296>>2]=c;b=v[a+28>>2]+b|0;v[a+28>>2]=b;v[a+304>>2]=b}function eOa(a){a=a|0;var b=0;v[a>>2]=360120;me(a+280|0);b=v[a+268>>2];if(b){v[a+272>>2]=b;$a(b)}Wf(a+88|0);return a|0}function Ur(a,b){var c=0,d=0,e=0;c=v[a+16>>2];d=v[a+20>>2];e=(c|0)>(d|0);pi(a,e?b:(b|0)<(c|0)?b:c,e?b:(b|0)>(d|0)?b:d)}function U0a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=a;if(!w[b+28|0]){d=1;e=v[b+32>>2]}v[c+2192>>2]=e;t[a+308|0]=d;return 0}function Qga(a){a=a|0;v[a>>2]=978380;ec(a+92|0);ec(a+80|0);ec(a+68|0);v[a>>2]=978348;ec(a+56|0);ec(a+44|0);bc(a);$a(a)}function Dqa(a){a=a|0;var b=0,c=0;c=-1;b=v[a+60>>2];if(!(!b|y[a+64>>2]<=b>>>0)){v[a+60>>2]=b+1;c=w[b|0]^255}return c|0}function DQ(a){var b=0,c=0;c=Ma-32|0;Ma=c;b=-1;if(v[a+8>>2]>0){a=v[a+12>>2];b=Ym(a,46);b=b?b-a|0:-1}Ma=c+32|0;return b}function pUa(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1162757196){ob(a,2050,0,0);return 2050}t[b+32|0]=w[c+32|0];return 0}function d$(a,b){var c=0;c=(b<<3)+a|0;v[a+360>>2]=v[c+440>>2];c=v[c+444>>2];v[a+364>>2]=0;v[a+368>>2]=c;v[a+356>>2]=b}function ZBa(a){a=a|0;var b=0,c=0;b=v[a+872>>2];if(b){c=v[a+100>>2];Oe(v[a+104>>2],b+16|0);if(b){Qa[v[c+8>>2]](c,b)}}}function V_(a,b){a=a|0;b=b|0;a=v[a+4>>2]|v[a>>2]<<16;b=v[b+4>>2]|v[b>>2]<<16;return(a>>>0>b>>>0?1:a>>>0>>0?-1:0)|0}function TBa(a){a=a|0;var b=0,c=0;b=v[a+868>>2];if(b){c=v[a+100>>2];Oe(v[a+104>>2],b+12|0);if(b){Qa[v[c+8>>2]](c,b)}}}function GN(a,b){var c=0;c=Ma-16|0;Ma=c;a:{if(!(w[a+120|0]|b>>>0>30)){t[a+120|0]=1;break a}a=FN(b)}Ma=c+16|0;return a}function EUa(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1934772034){ob(a,2050,0,0);return 2050}t[b+33|0]=w[c+33|0];return 0}function CLa(a,b){a=a|0;b=b|0;a:{a=v[a>>2];b=v[b>>2];if(w[a|0]!=w[b|0]){break a}if(hb(a,b)){break a}return 1}return 0}function zDa(a,b){a=a|0;b=b|0;var c=0;c=Qa[v[a+516>>2]](a,1751474532,b,0)|0;if(!c){c=Dd(b,519552,a+160|0)}return c|0}function yDa(a,b){a=a|0;b=b|0;var c=0;c=Qa[v[a+516>>2]](a,1651008868,b,0)|0;if(!c){c=Dd(b,519552,a+160|0)}return c|0}function sha(a,b,c){a=a|0;b=b|0;c=c|0;a:{if(!a){break a}if((Lb(b,1,c,v[a+180>>2])|0)==(c|0)){break a}dc(a,5306);L()}}function rDa(a,b){a=a|0;b=b|0;var c=0;c=Qa[v[a+516>>2]](a,1886352244,b,0)|0;if(!c){c=Dd(b,519392,a+476|0)}return c|0}function qDa(a,b){a=a|0;b=b|0;var c=0;c=Qa[v[a+516>>2]](a,1346587732,b,0)|0;if(!c){c=Dd(b,519440,a+568|0)}return c|0}function pc(a,b,c,d){var e=0,f=0;v[a+4>>2]=c;v[a>>2]=b;if(!c){v[b>>2]=0;return a}e=b,f=ab(B(c,d)),v[e>>2]=f;return a}function lN(a){var b=0,c=0;b=Ma-16|0;Ma=b;c=b;if(w[a+11|0]>>>7|0){a=v[a>>2]}v[c>>2]=a;vb(v[249419],340716,b);S();L()}function kC(a){a=a|0;var b=0;v[a>>2]=54168;b=v[a+4>>2];if(!(!b|!w[a+12|0])){$a(b);v[a+4>>2]=0;v[a+8>>2]=0}return a|0}function fy(a){a=a|0;var b=0;v[a>>2]=978608;b=v[a+12>>2];if(b){t[b|0]=0;$a(v[a+12>>2])}v[a+12>>2]=0;bc(a);return a|0}function YI(a){a=a|0;var b=0,c=0;b=v[v[a>>2]+100>>2];c=v[a+20>>2];if(c){Qa[v[b+8>>2]](b,c)}v[a+16>>2]=0;v[a+20>>2]=0}function S0a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=a;if(!w[b+28|0]){d=1;e=w[b+29|0]}t[c+2228|0]=e;t[a+310|0]=d;return 0}function DL(a,b,c){v[a+20>>2]=c;v[a+16>>2]=0;v[a+4>>2]=b;v[a>>2]=54168;t[a+24|0]=0;v[a+8>>2]=c;t[a+12|0]=!b;return a}function $la(a,b,c){a=a|0;b=b|0;c=c|0;a:{if(!a){break a}if((kg(b,1,c,v[a+180>>2])|0)==(c|0)){break a}dc(a,5318);L()}}function zJ(a){a=a|0;var b=0,c=0;b=v[a+28>>2];c=v[a>>2];if(c){Qa[v[b+8>>2]](b,c)}v[a>>2]=0;v[a+4>>2]=0;v[a+24>>2]=0}function vwa(a){a=a|0;var b=0;b=Ma-16|0;Ma=b;a=v[a+104>>2];v[b+12>>2]=1;Qa[v[v[a>>2]+292>>2]](a,b+12|0)|0;Ma=b+16|0}function rs(a,b){var c=0;v[a>>2]=6;c=ab(20);v[c>>2]=b;v[c+12>>2]=0;v[c+16>>2]=1;v[c+4>>2]=0;v[c+8>>2]=0;v[a+8>>2]=c}function qia(a,b){a=a|0;b=b|0;var c=0;if((b|0)>=1){while(1){ac(a);a=a+16|0;c=(b|0)>1;b=b-1|0;if(c){continue}break}}}function jpa(a,b){a=a|0;b=b|0;var c=0;c=v[a+28>>2]+b|0;v[a+28>>2]=c;v[a+32>>2]=v[a+32>>2]-b;v[a+40>>2]=v[a+24>>2]+c}function gNa(a,b,c){a=a|0;b=b|0;c=c|0;if(w[b|0]){v[a+160>>2]=3;return}if(w[c|0]){v[a+160>>2]=4;return}v[a+160>>2]=0}function cwa(a,b,c,d,e,f,g,h,i,j,k,l,m){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;m=+m}function bla(a,b,c){a=a|0;b=b|0;c=c|0;b=Qa[v[v[a>>2]+32>>2]](a,b,c,v[a+12>>2])|0;v[a+12>>2]=b+v[a+12>>2];return b|0}function Yua(a){a=a|0;var b=0;v[a>>2]=879736;tb(v[a+20>>2]);tb(v[a+28>>2]);b=v[a+60>>2];if(b){$a(Vg(b))}Ds(a);$a(a)}function Yq(a,b){b=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24}function Xh(a){a=a|0;var b=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=520704;b=v[a+4>>2];if(b){Fe(b);v[a+4>>2]=0}return a|0}function MLa(a,b){a=a|0;b=b|0;var c=0;b=b+20|0;c=j0(v[a>>2],u[a+22>>1],u[a+20>>1],b);if(!c){i0(a+20|0,b)}return c|0}function HP(a,b,c,d,e,f,g,h,i){v[a>>2]=b;v[a+4>>2]=c;v[a+8>>2]=d;v[a+12>>2]=e&65535|(i>>>16&32768|e>>>16&32767)<<16}function Coa(a){a=a|0;var b=0;b=v[a+4>>2];Qa[v[v[b>>2]+20>>2]](b);v[a+144>>2]=0;b=a+8|0;v[a+136>>2]=b;v[a+140>>2]=b}function AK(a,b){var c=0,d=0;c=Ma-16|0;Ma=c;if(a){d=v[a+36>>2];v[c+12>>2]=d;if(d){Gn(c+12|0)}v[a+36>>2]=b}Ma=c+16|0}function vN(a,b){if(b>>>0<=9){t[a|0]=b+48;return a+1|0}b=x[(b<<1)+1010224>>1];t[a|0]=b;t[a+1|0]=b>>>8;return a+2|0}function ub(a,b,c,d){if(!(v[a+12>>2]>(b|0)&(b|0)>=0)){v[c>>2]=5;return c}return ue(v[a+4>>2]+(b<<4)|0,v[a>>2],c,d)}function sfa(a){a=a|0;v[a>>2]=984196;xd(a+120|0);xd(a+96|0);xd(a+72|0);ec(a+40|0);ec(a+28|0);ec(a+16|0);return a|0}function lU(a,b){ro(a,b,32767,-1);if(v[a+644>>2]){Tb(a,v[a+648>>2]);v[a+644>>2]=0;v[a+648>>2]=0}if(b){eb(b,0,236)}}function d8(a){a=a|0;var b=0;b=v[a>>2];v[b+20>>2]=123;Qa[v[b+4>>2]](a,-1);v[a+804>>2]=2;v[a+800>>2]=88089;return 1}function bga(a){a=a|0;v[a>>2]=979024;if(v[a+24>>2]){while(1){Od(a);if(v[a+24>>2]){continue}break}}wF(a);return a|0}function Yna(a){a=a|0;var b=0;b=ab(8);a=v[a+4>>2];a=Qa[v[v[a>>2]+8>>2]](a)|0;v[b>>2]=958612;v[b+4>>2]=a;return b|0}function Qha(a,b){a=a|0;b=b|0;v[a+92>>2]=v[b>>2];v[a+96>>2]=v[b+4>>2];v[a+100>>2]=v[b+8>>2];v[a+104>>2]=v[b+12>>2]}function Hi(a){var b=0,c=0;b=Ma-16|0;Ma=b;c=b;if(w[a+11|0]>>>7|0){a=v[a>>2]}v[c+8>>2]=a;Ma=b+16|0;return v[b+8>>2]}function Fu(a){var b=0;b=ab(24);v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b>>2]=978308;v[b+4>>2]=0;v[a>>2]=0;qb(a,b)}function xx(a,b){a:{if((a|0)==(b|0)){break a}while(1){b=b-4|0;if(b>>>0<=a>>>0){break a}Fr(a,b);a=a+4|0;continue}}}function nC(a,b,c,d){a:{if(!v[a+960>>2]){break a}if(!Pu(a,b,c)){break a}t[v[a+960>>2]+(B(v[a+16>>2],c)+b|0)|0]=d}}function n0(a){var b=0,c=0;if(a){b=v[v[a>>2]>>2];c=v[v[a+4>>2]+12>>2];if(c){Qa[c|0](a)}if(a){Qa[v[b+8>>2]](b,a)}}}function iwa(a){a=a|0;var b=0;b=v[a+8>>2];if((b|0)>2]){v[a+8>>2]=b+1;a=w[v[a>>2]+b|0]}else{a=-1}return a|0}function dOa(a){a=a|0;var b=0;v[a>>2]=360120;me(a+280|0);b=v[a+268>>2];if(b){v[a+272>>2]=b;$a(b)}Wf(a+88|0);$a(a)}function bza(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Qa[v[b+8>>2]](v[b>>2],0,55295);Qa[v[b+8>>2]](v[b>>2],57344,1114111)}function QK(a){a=a|0;var b=0;b=v[a+25212>>2];if(b){$a(b)}b=v[a+26096>>2];if(b){$a(b)}a=v[a+26352>>2];if(a){$a(a)}}function Cp(a,b){a:{if((a|0)==(b|0)){break a}while(1){b=b-1|0;if(b>>>0<=a>>>0){break a}oO(a,b);a=a+1|0;continue}}}function zD(a){a=a|0;var b=0;b=v[249931];v[a>>2]=b;v[v[b-12>>2]+a>>2]=v[249934];Er(a+8|0);Kf(a+108|0);return a|0}function yD(a){a=a|0;var b=0;b=v[249970];v[a>>2]=b;v[v[b-12>>2]+a>>2]=v[249973];Er(a+4|0);Kf(a+104|0);return a|0}function oQa(a,b){a=a|0;b=b|0;v[a+624>>2]=v[b>>2];if(v[b>>2]==1){a=Qa[v[v[a>>2]+20>>2]](a)|0}else{a=0}return a|0}function io(a,b,c){v[a+20>>2]=-1;v[a+12>>2]=-1;v[a+16>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a>>2]=b;pi(a,0,c);return a}function ega(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Sc(a+28|0,c,1);if(c){cb(v[a+24>>2],b,c)}jb(a+16|0,d);v[a+20>>2]=10}function Rra(a){a=a|0;var b=0;v[a>>2]=887844;b=v[a+12>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}tb(v[a+20>>2]);return a|0}function Pia(a,b){a=a|0;b=b|0;var c=0;if((b|0)>=1){while(1){a=db(a)+8|0;c=(b|0)>1;b=b-1|0;if(c){continue}break}}}function ORa(a){a=a|0;v[a>>2]=351544;if(t[a+27|0]<=-1){$a(v[a+16>>2])}if(t[a+15|0]<=-1){$a(v[a+4>>2])}return a|0}function GJa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;b=b<<2;d=v[b+v[a+388>>2]>>2];c=Ub(c,VA(a));v[b+v[a+388>>2]>>2]=c+d}function B_a(a){a=a|0;var b=0;a:{b=a?v[a+180>>2]:0;if(b){if(Qa[v[v[b>>2]+32>>2]](b)|0){break a}}dc(a,24900);L()}}function wKa(a,b){a=a|0;b=b|0;v[a+24>>2]=v[b+20>>2];v[a+4>>2]=v[b>>2];v[a+28>>2]=v[b+24>>2];H$(a,b,0);H$(a,b,1)}function rW(a,b,c,d){v[a>>2]=d;v[a+4>>2]=0;pg(a,d);cb(v[a+4>>2],v[b+4>>2]+c|0,v[a>>2]);t[v[a+4>>2]+v[a>>2]|0]=0}function oD(a,b){var c=0;c=Ma-16|0;Ma=c;v[c+8>>2]=v[a>>2];v[c+8>>2]=v[c+8>>2]+(b<<2);Ma=c+16|0;return v[c+8>>2]}function nqa(a){a=a|0;var b=0;v[a>>2]=928840;b=v[a+4>>2];if(b){$a(Bb(b))}b=v[a+8>>2];if(b){$a(Bb(b))}return a|0}function mta(a,b,c){a=a|0;b=b|0;c=c|0;c=v[a+28>>2];v[c+592>>2]=v[b+8>>2];a=v[a+8>>2];Qa[v[v[a>>2]+168>>2]](a,c)}function hxa(a,b){a=a|0;b=b|0;var c=0;a:{c=v[a+272>>2];if(!c){break a}c=v[c+36>>2];if(!c){break a}Qa[c|0](a,b)}}function fga(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Sc(a+28|0,c,1);if(c){cb(v[a+24>>2],b,c)}v[a+20>>2]=d;qb(a+16|0,0)}function fO(a,b){var c=0,d=0;d=v[b>>2];v[b>>2]=0;c=v[a>>2];v[a>>2]=d;if(c){Qa[v[a+4>>2]](c)}v[a+4>>2]=v[b+4>>2]}function Zq(a){a=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);return a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}function Yl(a){a:{a=v[a+4>>2]&74;if(a){if((a|0)==64){return 8}if((a|0)!=8){break a}return 16}return 0}return 10}function OJa(a,b,c){a=a|0;b=b|0;c=c|0;c=XA(a,b,c,1);if(!c){v[a+8>>2]=v[a+8>>2]&-32769|((b|0)!=0)<<15}return c|0}function N6(a){a=a|0;var b=0;a:{if(!v[a+20>>2]){break a}b=v[a>>2];if(!b){break a}$a(b);v[a>>2]=0}$a(a);return 0}function MP(a){var b=0;b=da(a|0)|0;if((b|0)==-31){b=ha(a|0)|0}if(b>>>0>=4294963201){v[296206]=0-b;b=-1}return b}function KQ(a){a=a|0;var b=0;v[a>>2]=978608;b=v[a+12>>2];if(b){t[b|0]=0;$a(v[a+12>>2])}v[a+12>>2]=0;bc(a);$a(a)}function Cza(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Qa[v[b+8>>2]](v[b>>2],0,127);dk(v[v[v[a+8>>2]>>2]+24>>2],b,c,5,d)}function uE(a,b,c){var d=0;d=Ma-16|0;Ma=d;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=0;v[d+4>>2]=0;vE(a,b,d,c);Ma=d+16|0}function qj(a,b,c){if(!c){return v[a+4>>2]==v[b+4>>2]}if((a|0)==(b|0)){return 1}return!hb(v[a+4>>2],v[b+4>>2])}function nf(a,b,c){var d=0;d=Ma-16|0;Ma=d;v[d+12>>2]=b;v[a>>2]=v[d+12>>2];v[a+4>>2]=v[c>>2];Ma=d+16|0;return a}function Xna(a){a=a|0;var b=0;v[a>>2]=958712;tb(v[a+8>>2]);b=v[a+4>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}return a|0}function U1a(a,b){a=a|0;b=b|0;a=Ma-16|0;Ma=a;Nb(4497,0);Nb(8885,0);v[a>>2]=14714;Nb(9564,a);Ma=a+16|0;return 0}function O4(a){var b=0;b=aw(a+2340|0,3416,56);if(b){ob(a,5,b,0);return 5}t[a+2420|0]=1;v[a+2352>>2]=0;return 0}function Js(a){var b=0;Xg(v[a+36>>2]);b=v[a+36>>2];a:{if(w[v[b+16>>2]]){break a}if((Zb(b)|0)>0){break a}xc(a)}}function xka(a){a=a|0;v[a>>2]=970956;vd(a+108|0);vd(a+80|0);vd(a+52|0);xd(a+28|0);ac(a+12|0);bc(a);return a|0}function r0a(a,b){a=a|0;b=b|0;return X3(a,x[b+28>>1],w[b+30|0],v[b+32>>2],v[b+36>>2],v[b+40>>2],v[b+44>>2])|0}function nA(a){var b=0;a=v[a+4>>2];kn(v[a+4>>2]);v[a+4>>2]=0;b=v[a+8>>2];if(b){$a(b)}v[a+8>>2]=0;v[a+12>>2]=0}function mP(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;v[a+8>>2]=-1;v[a+12>>2]=-1;v[a>>2]=0;v[a+4>>2]=0}function gQa(a){a=a|0;var b=0;b=v[a+440>>2];if(v[a+84>>2]){Qa[v[v[a+480>>2]+8>>2]](a)}v[b+12>>2]=v[b+12>>2]+1}function fQa(a){a=a|0;var b=0;b=1;a:{if(!v[a+16>>2]){break a}a=v[a+20>>2];if(!a){break a}WJ(a);b=0}return b|0}function aga(a){a=a|0;v[a>>2]=979024;if(v[a+24>>2]){while(1){Od(a);if(v[a+24>>2]){continue}break}}wF(a);$a(a)}function aQ(a){var b=0;a=mu(a,589824,0);if((a|0)>=0){b=Yb(1,2080);if(!b){$(a|0)|0;return 0}v[b>>2]=a}return b}function O0a(a,b){a=a|0;b=b|0;var c=0;c=b;b=v[b+32>>2];v[c+56>>2]=b;if(!(b|w[a+460|0])){t[a+460|0]=1}return 0}function MF(a){a=a|0;var b=0;v[a>>2]=967556;b=v[a+4>>2];if(b){$a(b);v[a+4>>2]=0}b=v[a+8>>2];if(b){$a(b)}$a(a)}function Hc(a,b){var c=0;v[a+4>>2]=0;c=v[b>>2];v[a>>2]=c;pg(a,c);cb(v[a+4>>2],v[b+4>>2],v[a>>2]+1|0);return a}function DX(a){var b=0;a:{if(!a){break a}b=v[a+64>>2];if(!v[a+68>>2]|(!b|v[b+4>>2]!=1)){break a}v[a+68>>2]=0}}function xe(a,b,c){if(c){while(1){if(v[a>>2]==(b|0)){return a}a=a+4|0;c=c-1|0;if(c){continue}break}}return 0}function uO(a,b,c,d,e){b=Wl(b,c,d,e,4);if(!(w[d|0]&4)){v[a>>2]=((b|0)<69?b+2e3|0:(b|0)<100?b+1900|0:b)-1900}}function qO(a,b,c,d,e){b=Vl(b,c,d,e,4);if(!(w[d|0]&4)){v[a>>2]=((b|0)<69?b+2e3|0:(b|0)<100?b+1900|0:b)-1900}}function mCa(a,b){a=a|0;b=b|0;var c=0;c=Ma-16|0;Ma=c;v[c+12>>2]=0;FA(a,b,c+12|0);Ma=c+16|0;return v[c+12>>2]}function kGa(a){a=a|0;a=v[a+4>>2];if(!a){return 1}if(v[a+76>>2]<=-1){a=v[a>>2]}else{a=v[a>>2]}return a>>>4&1}function i9(a,b){a=a|0;b=b|0;b=B(v[a+588>>2],b);v[a+604>>2]=b+v[a+604>>2];v[a+608>>2]=v[a+608>>2]-b;return 1}function T4(a){var b=0;if(!v[a+4>>2]){v[a+8>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;b=gb(1);t[a+12|0]=1;v[a+4>>2]=b}}function Ona(a){a=a|0;var b=0;b=v[a+40>>2];if(b>>>0>2]){v[a+40>>2]=b+1;a=w[b|0]}else{a=-1}return a|0}function MEa(a){a=a|0;a=v[a+4>>2];if(!a){return-1}if(v[a+76>>2]<=-1){a=v[a>>2]}else{a=v[a>>2]}return a>>>5&1}function L0a(a,b){a=a|0;b=b|0;return g4(a,x[b+28>>1],x[b+30>>1],x[b+32>>1],t[b+34|0],x[b+36>>1],w[b+38|0])|0}function I8(a){a=a|0;var b=0;v[a>>2]=54124;b=v[a+976>>2];if(b){$a(gY(b))}v[a>>2]=1032;Tg(a);Cg(a);return a|0}function xK(a,b){a:{if(!b){break a}a=se(a,b);if(!a){break a}fe(a,0,0,a?v[a>>2]:-1,a?v[a+4>>2]:-1,10,0,0,0)}}function rqa(a){a=a|0;var b=0;v[a>>2]=928792;b=v[a+4>>2];if(b){$a(b)}b=v[a+8>>2];if(b){$a(Bb(b))}return a|0}function kK(a,b){var c=0;if(!(!a|(b|0)<0)){if(v[a+4>>2]<=(b|0)){return 0}c=v[v[a+12>>2]+(b<<2)>>2]}return c}function bPa(a){a=a|0;v[a>>2]=351544;if(t[a+27|0]<=-1){$a(v[a+16>>2])}if(t[a+15|0]<=-1){$a(v[a+4>>2])}$a(a)}function RPa(a,b){a=a|0;b=b|0;var c=0;c=1;if(!(!v[a+16>>2]|!v[a+20>>2])){v[a+628>>2]=v[b>>2];c=0}return c|0}function Qra(a){a=a|0;var b=0;v[a>>2]=887844;b=v[a+12>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}tb(v[a+20>>2]);$a(a)}function Jea(a){a=a|0;v[a>>2]=986092;vd(a+68|0);db(a+60|0);ac(a+44|0);vd(a+16|0);db(a+8|0);bc(a);return a|0}function G9(a){a=a|0;var b=C(0);b=C(z[a+344>>2]+C(.5));if(b=C(0)){return~~b>>>0|0}return 0}function mqa(a){a=a|0;var b=0;v[a>>2]=928840;b=v[a+4>>2];if(b){$a(Bb(b))}b=v[a+8>>2];if(b){$a(Bb(b))}$a(a)}function gO(a,b){var c=0;c=Ma-16|0;Ma=c;v[c+8>>2]=v[a>>2];v[c+8>>2]=v[c+8>>2]+b;Ma=c+16|0;return v[c+8>>2]}function fh(a,b){var c=0,d=0;c=Ma-16|0;Ma=c;if(!w[b+32|0]){cg(b,0)}d=c+8|0;aE(d,b);Wx(a,d);db(d);Ma=c+16|0}function YOa(a){a=a|0;var b=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!v[a+4>>2]){Qa[v[v[a>>2]+4>>2]](a)}return b|0}function Vya(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(e>>>0<=2){a=gu(b,c,d,e)?-1:0}else{a=-1}return a|0}function Uh(a,b,c){v[a>>2]=c;v[a+4>>2]=0;pg(a,c);cb(v[a+4>>2],b,v[a>>2]);t[v[a+4>>2]+v[a>>2]|0]=0;return a}function Ss(a){var b=0;v[a>>2]=869240;b=ab(16);v[b+4>>2]=0;v[b+8>>2]=0;v[b>>2]=869332;v[a+4>>2]=b;return a}function Jga(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=v[c>>2];if(b){Qa[v[v[b>>2]+28>>2]](a,b,1);return}v[a>>2]=0}function Hga(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=v[c>>2];if(b){Qa[v[v[b>>2]+24>>2]](a,b,2);return}v[a>>2]=0}function r1a(a,b){a=a|0;b=b|0;var c=0;c=v[a+4>>2];if(c){v[a+12>>2]=0;v[c+20>>2]=v[c+12>>2]+b;v[a+8>>2]=b}}function mga(a){a=a|0;var b=0;b=Ma-16|0;Ma=b;a=Qa[v[v[a>>2]+44>>2]](a,0,b+12|0,10)|0;Ma=b+16|0;return a|0}function kZa(a){a=a|0;var b=0;v[a>>2]=54292;b=v[a+976>>2];if(b){Pr(b)}v[a>>2]=1032;Tg(a);Cg(a);return a|0}function _Na(a){a=a|0;var b=0,c=0;b=1;c=v[a+4>>2];if(!(!c|!w[a+8|0])){b=Fe(c);v[a+4>>2]=0;b=!b}return b|0}function YQ(a,b,c){v[a+36>>2]=c;v[a+32>>2]=b;if(v[a+40>>2]){Sc(a+44|0,0,4)}if(v[a+52>>2]){Sc(a+56|0,0,4)}}function Wna(a){a=a|0;var b=0;v[a>>2]=958712;tb(v[a+8>>2]);b=v[a+4>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}$a(a)}function PN(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;v[e>>2]=c;v[h>>2]=f;return 3}function Oe(a,b){var c=0;if(!(!a|!v[a+20>>2])){a=v[a+28>>2];c=v[b>>2];if(c){Qa[v[a+8>>2]](a,c)}}v[b>>2]=0}function OZ(a,b){a=a|0;b=b|0;a=v[v[a>>2]+4>>2];b=v[v[b>>2]+4>>2];return(a>>>0>b>>>0?1:a>>>0>>0?-1:0)|0}function Jr(a){var b=0;a=WD(a);b=Pa;if((b|0)>=0&a>>>0>=2147483648|(b|0)>0){v[296206]=61;return-1}return a}function Gp(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Ma-16|0;Ma=d;v[d+12>>2]=c;a=Ox(a,b,c);Ma=d+16|0;return a|0}function Ega(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=Ip(c,b);if((a|0)>=0){c=a+c|0;t[c|0]=0}t[c|0]=0;return c|0}function Cta(a,b,c){a=a|0;b=b|0;c=c|0;b=nl(v[a+28>>2]);v[a+28>>2]=b;a=v[a+8>>2];Qa[v[v[a>>2]+68>>2]](a,b)}function zLa(a){a=a|0;a=v[a>>2];return B(B(B(a&255,31)+(a>>>8&255)|0,31)+(a>>>16&255)|0,31)+(a>>>24|0)|0}function wka(a){a=a|0;v[a>>2]=970956;vd(a+108|0);vd(a+80|0);vd(a+52|0);xd(a+28|0);ac(a+12|0);bc(a);$a(a)}function tLa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;v[d>>2]=0;if(!b){return 81}return Kq(b,333319,e)|0}function t2a(a,b){a=a|0;b=b|0;var c=0;c=Ma-16|0;Ma=c;v[c>>2]=v[a+12>>2];vb(b,59023,c);Ma=c+16|0;return 0}function sLa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;v[d>>2]=0;if(!b){return 81}return Kq(b,333312,e)|0}function kja(a,b){a=a|0;b=b|0;a=v[v[a>>2]+12>>2];b=v[v[b>>2]+12>>2];return((a|0)<(b|0)?-1:(a|0)>(b|0))|0}function iNa(a,b){a=a|0;b=b|0;b=v[b+12>>2];if(!b){v[a>>2]=0;t[a+11|0]=0;return}Qa[v[v[b>>2]+44>>2]](a,b)}function iB(a,b){var c=0;if(!(!a|!b)){c=v[a+4>>2];v[b>>2]=c;v[b+4>>2]=0;v[(c?c+4|0:a)>>2]=b;v[a+4>>2]=b}}function ZQ(a,b,c){v[a+12>>2]=c;v[a+8>>2]=b;if(v[a+40>>2]){Sc(a+44|0,0,4)}if(v[a+52>>2]){Sc(a+56|0,0,4)}}function Roa(a){a=a|0;var b=0;b=v[a+4>>2];Qa[v[v[b>>2]+20>>2]](b);v[a+52>>2]=0;v[a+44>>2]=0;v[a+48>>2]=0}function QRa(a){a=a|0;var b=0;v[a>>2]=39232;b=v[a+4>>2];if(!(!b|!w[a+8|0])){Fe(b);v[a+4>>2]=0}return a|0}function Ofa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=Ma-32|0;Ma=a;lb(mb(a+8|0,319655,241950,1377,331820));L()}function Fg(a){var b=0;if(!a){return 836592}b=v[290943];if(b){return Qa[b|0](v[290944],a)|0}return gb(a)}function z8(a){a=a|0;var b=0;v[a>>2]=54124;b=v[a+976>>2];if(b){$a(gY(b))}v[a>>2]=1032;Tg(a);Cg(a);$a(a)}function rUa(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1296387652){ob(a,2050,0,0);a=2050}else{a=0}return a|0}function kua(a){a=a|0;var b=0;v[a>>2]=886808;tb(v[a+1048>>2]);b=v[a+1044>>2];if(b){$a(Bb(b))}return a|0}function jd(a,b){v[a+4>>2]=0;v[a+8>>2]=0;v[a>>2]=b;pc(a+16|0,a+12|0,0,4);v[a+24>>2]=0;EE(a,17);return a}function jSa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Ma-16|0;Ma=d;v[d>>2]=c;a=PP(a,b,d);Ma=d+16|0;return a|0}function fLa(a,b){a=a|0;b=b|0;b=v[a>>2];v[a+16>>2]=v[v[b+140>>2]+52>>2];v[a+20>>2]=v[b+144>>2];return 0}function d4(a,b,c,d,e,f,g,h,i,j,k,l){b=nL(a,b,c,d,e,f,g,h,i,j,k,l);if(w[a+497|0]){t[a+498|0]=1}return b}function Xj(a){var b=0;if(a){b=v[a>>2];if(b){Xj(b)}b=v[a+4>>2];if(b){Qa[v[256556]](b)}Qa[v[256556]](a)}}function UTa(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1246971216){ob(a,2050,0,0);a=2050}else{a=0}return a|0}function SN(a,b){a=a+8|0;if(v[a+4>>2]-v[a>>2]>>2>>>0>b>>>0){a=v[v[a>>2]+(b<<2)>>2]!=0}else{a=0}return a}function RBa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Ma-16|0;Ma=d;a=cc(a,B(b,c),d+12|0);Ma=d+16|0;return a|0}function QTa(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1229999687){ob(a,2050,0,0);a=2050}else{a=0}return a|0}function Oua(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=eb(a,0,256),e=(w[v[b>>2]+c|0]<<6)+-8192|0,v[d>>2]=e}function OTa(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1229606471){ob(a,2050,0,0);a=2050}else{a=0}return a|0}function JUa(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1229278788){ob(a,2050,0,0);a=2050}else{a=0}return a|0}function HCa(a,b){a=a|0;b=b|0;var c=0;c=Ma-16|0;Ma=c;v[c+12>>2]=b;a=JZ(a,c+12|0,0);Ma=c+16|0;return a|0}function Fr(a,b){var c=0;c=Ma-16|0;Ma=c;v[c+12>>2]=v[a>>2];v[a>>2]=v[b>>2];v[b>>2]=v[c+12>>2];Ma=c+16|0}function Cqa(a){a=a|0;var b=0,c=0;c=-1;b=v[a+60>>2];if(!(!b|y[a+64>>2]<=b>>>0)){c=w[b|0]^255}return c|0}function yqa(a){a=a|0;var b=0;v[a>>2]=927664;kG(a);b=v[a+8>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}return a|0}function rpa(a){a=a|0;v[a>>2]=952916;if(v[a+44>>2]){tb(v[a+24>>2])}v[a>>2]=952584;bb(a+8|0);return a|0}function qqa(a){a=a|0;var b=0;v[a>>2]=928792;b=v[a+4>>2];if(b){$a(b)}b=v[a+8>>2];if(b){$a(Bb(b))}$a(a)}function X7(a){a=a|0;var b=0;b=v[a+828>>2];v[b+604>>2]=v[a+780>>2];v[b+608>>2]=v[b+600>>2]-v[a+784>>2]}function Nf(a,b,c){if(!(v[a+12>>2]>(b|0)&(b|0)>=0)){v[c>>2]=5;return c}return ee(v[a+4>>2]+(b<<4)|0,c)}function Iea(a){a=a|0;v[a>>2]=986092;vd(a+68|0);db(a+60|0);ac(a+44|0);vd(a+16|0);db(a+8|0);bc(a);$a(a)}function mPa(a){a=a|0;var b=0;b=Ma-16|0;Ma=b;v[b+12>>2]=1;Qa[v[v[a>>2]+328>>2]](a,b+12|0)|0;Ma=b+16|0}function iS(a){var b=0;b=a+92|0;while(1){if(!(v[b>>2]&8?1:v[b>>2]&1|v[b>>2]&16)){continue}break}cF(a)}function g1a(a){a=a|0;var b=0;b=v[a+4>>2];if(!(!b|!w[a+12|0])){$a(b);v[a+4>>2]=0;v[a+8>>2]=0}return 1}function ZLa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;v[a+156>>2]=b;v[a+160>>2]=c;v[a+164>>2]=d;v[a+168>>2]=0}function Xxa(a){a=a|0;var b=0;a:{if(!a){break a}a=v[a+8>>2];if(!a){break a}b=v[a+40>>2]==1}return b|0}function Wxa(a){a=a|0;var b=0;a:{if(!a){break a}a=v[a+8>>2];if(!a){break a}b=v[a+44>>2]!=0}return b|0}function Vxa(a){a=a|0;var b=0;a:{if(!a){break a}a=v[a+8>>2];if(!a){break a}b=v[a+48>>2]!=0}return b|0}function Kza(a){a=a|0;var b=0;b=v[a+8>>2];if(b){Cq(v[b>>2]);if(!w[a+34|0]){Nd(v[a+8>>2])}v[a+8>>2]=0}}function HY(a){var b=0;b=Ma-48|0;Ma=b;a:{if(a){JY(b,a);a=gI(0,b);break a}a=gI(0,0)}Ma=b+48|0;return a}function HVa(a,b){a=a|0;b=b|0;var c=0;c=v[a+428>>2];t[c+8|0]=w[b+32|0];return hd(a,v[b>>2],1,c+8|0)|0}function Fqa(a){a=a|0;var b=0,c=0;c=ab(152);b=v[a+4>>2];return XU(c,Qa[v[v[b>>2]+8>>2]](b)|0,a+8|0)|0}function CPa(a,b,c){a=a|0;b=+b;c=+c;var d=0;a=v[a+16>>2];d=v[a+44>>2];A[d+40>>3]=c;A[d+32>>3]=b;zB(a)}function BN(a){if(!v[a+136>>2]){v[a+136>>2]=v[v[279293]>>2]?993880:993856}if(!w[a+74|0]){t[a+74|0]=1}}function zya(a){a=a|0;var b=0;v[a>>2]=869332;kn(v[a+4>>2]);v[a+4>>2]=0;b=v[a+8>>2];if(b){$a(b)}$a(a)}function yHa(a){a=a|0;var b=0;b=v[a+32>>2];if(!b){return 3}ek(a,v[a+16>>2]);v[b+184>>2]=513;return 0}function jt(a,b){var c=0;if(!(!a|!b)){c=v[b>>2];b=v[b+4>>2];v[(c?c+4|0:a)>>2]=b;v[(b?b:a+4|0)>>2]=c}}function jB(a,b,c){if((b|0)>=1){a=Qa[v[a+4>>2]](a,b)|0;v[c>>2]=!a<<6;return a}v[c>>2]=b?6:0;return 0}function eKa(a,b,c){a=a|0;b=b|0;c=c|0;if(hb(b,247605)){a=12}else{v[c>>2]=v[a- -64>>2];a=0}return a|0}function VHa(a,b){a=a|0;b=b|0;a=v[a+712>>2];t[b|0]=0;if(!(!a|v[a+1504>>2]==65535)){t[b|0]=1}return 0}function BC(a){var b=0,c=0;if(a){while(1){b=b+1|0;c=a>>>0>1;a=a>>>1|0;if(c){continue}break}}return b}function $Ya(a){a=a|0;var b=0;v[a>>2]=54292;b=v[a+976>>2];if(b){Pr(b)}v[a>>2]=1032;Tg(a);Cg(a);$a(a)}function yxa(a){a=a|0;var b=0;a:{if(!a){break a}a=v[a+36>>2];if(!a){break a}b=v[a+28>>2]}return b|0}function xxa(a){a=a|0;var b=0;a:{if(!a){break a}a=v[a+36>>2];if(!a){break a}b=v[a+32>>2]}return b|0}function jCa(a,b){a=a|0;b=b|0;var c=0;c=v[v[a+12>>2]+48>>2];if(!c){return 150}return Qa[c|0](a,b)|0}function i0a(a){a=a|0;var b=0;b=v[a+12>>2];Qa[v[v[a>>2]+8>>2]](a);tc(b+2568|0,v[v[a>>2]+20>>2]);L()}function ei(a){var b=0;b=v[a>>2];v[a>>2]=b-1;if((b|0)<=1){b=v[v[a+8>>2]>>2];if(b){Qa[b|0](a)}$a(a)}}function c3(a,b){if(!a){return 0}if(!b){if(a){v[a+16>>2]=v[a+16>>2]+1}return a}return zK(a,b,b,b,b)}function aca(a,b){a=a|0;b=b|0;if((b|0)<=0){a=Gi(a);a=a?a:1;b=a>>>0>8192?1:8192/(a>>>0)|0}return b|0}function Y0a(a,b){a=a|0;b=b|0;t[a+306|0]=1;v[a+1160>>2]=v[b+28>>2];cb(a+1164|0,b+32|0,768);return 0}function W0a(a,b){a=a|0;b=b|0;t[a+307|0]=1;v[a+1932>>2]=v[b+28>>2];cb(a+1936|0,b+32|0,256);return 0}function Ri(a,b){var c=0,d=0;v[a>>2]=b;if(!b){v[a+4>>2]=0;return a}c=a,d=zb(b),v[c+4>>2]=d;return a}function JBa(a){a=a|0;var b=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=520704;b=v[a+4>>2];if(b){Fe(b)}$a(a)}function jua(a){a=a|0;var b=0;v[a>>2]=886808;tb(v[a+1048>>2]);b=v[a+1044>>2];if(b){$a(Bb(b))}$a(a)}function doa(a){a=a|0;if(!a){return 0}a=iV(2,v[a+672>>2],v[a+668>>2]);if(a){eb(a,0,236)}return a|0}function Wn(a){var b=0;b=w[a+3|0];t[a+3|0]=w[a|0];t[a|0]=b;b=w[a+2|0];t[a+2|0]=w[a+1|0];t[a+1|0]=b}function Pza(a){a=a|0;v[v[a+388>>2]+12>>2]=0;Qa[v[v[a+404>>2]+4>>2]](a);Qa[v[v[a+404>>2]+8>>2]](a)}function OHa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Qa[v[v[a+548>>2]+40>>2]](a,b,c,d,e)|0}function G0a(a,b){a=a|0;b=b|0;return c4(a,x[b+28>>1],x[b+30>>1],w[b+32|0],v[b+36>>2],v[b+40>>2])|0}function Axa(a){a=a|0;var b=0;a:{if(!a){break a}a=v[a+36>>2];if(!a){break a}b=v[a+4>>2]}return b|0}function xqa(a){a=a|0;var b=0;v[a>>2]=927664;kG(a);b=v[a+8>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}$a(a)}function w8(a,b){a=a|0;b=b|0;a=v[a+12>>2];wb(v[a+628>>2],62414,63867,0);tc(v[a+584>>2]+4|0,1);L()}function v8(a,b){a=a|0;b=b|0;a=v[a+12>>2];wb(v[a+628>>2],62414,63867,0);tc(v[a+584>>2]+4|0,1);L()}function upa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(!a|(c|0)!=156){a=d}else{v[a+156>>2]=b}return a|0}function qpa(a){a=a|0;v[a>>2]=952916;if(v[a+44>>2]){tb(v[a+24>>2])}v[a>>2]=952584;bb(a+8|0);$a(a)}function oO(a,b){var c=0;c=Ma-16|0;Ma=c;t[c+15|0]=w[a|0];t[a|0]=w[b|0];t[b|0]=w[c+15|0];Ma=c+16|0}function lja(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=v[a+12>>2];return Qa[v[v[a>>2]+20>>2]](a,b,c,0)|0}function gka(a){a=a|0;v[a>>2]=971180;ac(a+40|0);db(a+32|0);db(a+24|0);db(a+12|0);bc(a);return a|0}function ge(a){var b=0;b=Ma-16|0;Ma=b;a=Vd(a,b+12|0,1);Ma=b+16|0;return((a|0)==1?w[b+12|0]:0)&255}function _ra(a){a=a|0;var b=0;v[a>>2]=887792;b=v[a+16>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}return a|0}function Xka(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=v[a+16>>2];return Qa[v[v[a>>2]+20>>2]](a,b,c,d)|0}function U9(a,b){a=a|0;b=b|0;v[a+528>>2]=0;v[a+516>>2]=446;v[a+512>>2]=0;v[a+524>>2]=446;return 1}function OK(a,b){if(b){OK(a,v[b>>2]);OK(a,v[b+4>>2]);a=v[b+20>>2];if(a){v[b+24>>2]=a;$a(a)}$a(b)}}function NK(a,b){if(b){NK(a,v[b>>2]);NK(a,v[b+4>>2]);a=v[b+20>>2];if(a){v[b+24>>2]=a;$a(a)}$a(b)}}function Fka(a){a=a|0;v[a>>2]=970764;db(a+44|0);db(a+36|0);db(a+28|0);db(a+20|0);bc(a);return a|0}function Dh(a){var b=0;a:{if(!v[a+24>>2]){break a}b=v[a+20>>2];if(!b){break a}$a(b);v[a+20>>2]=0}}function DN(a,b){var c=0;c=v[a+4>>2];while(1){if((b|0)!=(c|0)){c=c-4|0;continue}break}v[a+4>>2]=b}function CGa(a){a=a|0;var b=0;b=tg(v[a+4>>2],278441);if(!b){return 11}v[a+28>>2]=v[b>>2];return 0}function C2(a){a=a|0;var b=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Qa[v[v[a>>2]+4>>2]](a)}return b|0}function Ao(a,b,c,d){var e=0;a:{if(!a){break a}a=v[a+44>>2];if(!a){break a}e=le(a,c,d,b)}return e}function yBa(){var a=0;a=v[290942];if(a){Gg(a);v[290942]=0}v[290940]=0;eb(1163688,0,72);return 1}function x2a(a,b,c){a=a|0;b=b|0;c=c|0;return((Un(c,v[a+20>>2],v[a+16>>2])|0)!=v[a+16>>2]?-1:0)|0}function ura(a){a=a|0;var b=0;v[a>>2]=888e3;b=v[a+12>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}return a|0}function uV(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=v[b>>2];a=(a|0)<65536?a:65536;v[c>>2]=(a|0)>0?a:0}function rb(a,b,c){if(c){while(1){v[a>>2]=v[b>>2];a=a+4|0;b=b+4|0;c=c-1|0;if(c){continue}break}}}function mOa(a){a=a|0;var b=0;b=ab(12);v[b+8>>2]=v[a+8>>2];v[b>>2]=360080;v[b+4>>2]=0;return b|0}function kma(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Qa[v[v[b>>2]+16>>2]](a,b,v[c+8>>2],v[c+12>>2],0,d)}function jra(a){a=a|0;var b=0;v[a>>2]=888072;b=v[a+8>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}return a|0}function gra(a){a=a|0;var b=0;v[a>>2]=888092;b=v[a+8>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}return a|0}function eaa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;if(qj(a,v[b+8>>2],f)){$C(b,c,d,e)}}function ci(a){var b=0;b=v[a+104>>2];a:{if(!b){break a}b=v[b>>2];if(!b){break a}Qa[b|0](a)}$a(a)}function _na(a){a=a|0;var b=0;v[a>>2]=958612;b=v[a+4>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}return a|0}function Voa(a){a=a|0;var b=0;v[a>>2]=953248;b=v[a+4>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}return a|0}function URa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=v[a>>2];return Qa[v[v[a>>2]+44>>2]](a,b,c,d,1)|0}function Tb(a,b){a=a|0;b=b|0;var c=0;if(!(!a|!b)){c=v[a+676>>2];if(c){Qa[c|0](a,b);return}$a(b)}}function Ska(a,b,c){a=a|0;b=b|0;c=c|0;a=Ma-32|0;Ma=a;lb(mb(a+8|0,332912,241733,1745,329666));L()}function Pfa(a,b,c){a=a|0;b=b|0;c=c|0;a=Ma-32|0;Ma=a;lb(mb(a+8|0,319655,241950,1370,333986));L()}function PIa(a,b){a=a|0;b=b|0;b=$I(v[a+532>>2],0,0);if(!b){v[a+8>>2]=v[a+8>>2]&-32769}return b|0}function Mla(a){a=a|0;var b=0;b=1;if(!(!a|!w[a+398|0])){v[a+208>>2]=v[a+208>>2]|2;b=7}return b|0}function Lpa(a,b){a=a|0;b=b|0;if(b){a=v[b>>2];if(a){$a(Bb(a))}a=v[b+4>>2];if(a){$a(Bb(a))}$a(b)}}function HC(a){var b=0;a:{if(!v[a+964>>2]){break a}if(!Pu(a,0,0)){break a}b=v[a+964>>2]}return b}function Fua(a){a=a|0;var b=0;v[a>>2]=885080;b=v[a+4>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}return a|0}function Foa(a){a=a|0;var b=0;v[a>>2]=953448;b=v[a+4>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}return a|0}function Fla(a){a=a|0;a=v[a+4>>2];if(!a){return 0}a=v[a+12>>2];if(a){a=cF(a)}else{a=0}return a|0}function Eya(a){a=a|0;var b=0;v[a>>2]=869240;b=v[a+4>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}return a|0}function EN(a,b){var c=0;c=Ma-16|0;Ma=c;a:{if((a|0)==(b|0)){t[a+120|0]=0;break a}$a(b)}Ma=c+16|0}function BG(a,b,c,d){var e=0;e=v[a+448>>2];if(e){tb(e)}A[a+456>>3]=d;v[a+452>>2]=c;v[a+448>>2]=b}function B4(a){a=a|0;cb(v[a+644>>2],v[a+636>>2]+v[a+616>>2]|0,v[a+604>>2]);t[a+649|0]=0;return 0}function $oa(a){a=a|0;var b=0;v[a>>2]=953148;b=v[a+4>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}return a|0}function ila(a,b,c){a=a|0;b=b|0;c=c|0;a=Ma-32|0;Ma=a;lb(mb(a+8|0,291698,241689,333,329569));L()}function hla(a,b,c){a=a|0;b=b|0;c=c|0;a=Ma-32|0;Ma=a;lb(mb(a+8|0,276181,241689,340,329783));L()}function Pu(a,b,c){var d=0;if(!((c|0)<0|v[a+20>>2]<=(c|0)|(b|0)<0)){d=v[a+16>>2]>(b|0)}return d}function Bva(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;t[a+203|0]=g;t[a+202|0]=1}function ue(a,b,c,d){if(!(!b|v[a>>2]!=9)){return dn(b,v[a+8>>2],v[a+12>>2],c,d)}return ee(a,c)}function p6(a,b){a=a|0;b=b|0;var c=0;c=Ma-16|0;Ma=c;v[c>>2]=v[a+12>>2];vb(b,43483,c);Ma=c+16|0}function mU(a,b){var c=0,d=0;v[a+12>>2]=3;v[a>>2]=958712;v[a+4>>2]=b;c=a,d=Pb(3,4),v[c+8>>2]=d}function kpa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(a){v[a+164>>2]=d;v[a+160>>2]=c;v[a+168>>2]=b}}function _Da(a,b,c){a=a|0;b=b|0;c=c|0;c=v[a+104>>2];u[a+144>>1]=0-c;v[a+140>>2]=0-B(u[b>>1],c)}function YLa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=v[a+4>>2];if(!a){return 0}return Lb(b,c,d,a)|0}function TRa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=v[a>>2];return Qa[v[v[a>>2]+56>>2]](a,b,c,d)|0}function SRa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=v[a>>2];return Qa[v[v[a>>2]+60>>2]](a,b,c,d)|0}function QN(a){a=a|0;var b=0;v[a>>2]=1004300;b=v[a+8>>2];if(!(!b|!w[a+12|0])){$a(b)}return a|0}function P$(a,b,c){a=a|0;b=b|0;c=c|0;return Qa[v[v[v[a+12>>2]+56>>2]+12>>2]](v[a+52>>2],b,c)|0}function Je(a,b,c){if(!(v[a+12>>2]>(b|0)&(b|0)>=0)){v[c>>2]=0;return 0}return w[v[a+8>>2]+b|0]}function Gn(a){var b=0;a:{if(!a){break a}b=v[a>>2];if(!b){break a}$a(v[b>>2]);$a(b);v[a>>2]=0}}function GTa(a,b){a=a|0;b=b|0;var c=0;v[(!a|v[a>>2]!=1381173770?c:v[a+4>>2])+16>>2]=b;return 1}function Bqa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(a){v[a+676>>2]=d;v[a+672>>2]=c;v[a+668>>2]=b}}function yGa(a){a=a|0;if(wn(v[v[a>>2]+504>>2]+108|0,v[a+44>>2])){s0(v[a+44>>2]);v[a+44>>2]=0}}function qNa(a,b){a=a|0;b=b|0;A[a+128>>3]=A[b>>3];b=v[a+12>>2];if(b){A[b+136>>3]=A[a+128>>3]}}function oXa(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;cb(g,e,B(d,6));return 0}function lP(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;v[a+8>>2]=-1;v[a+12>>2]=-1;v[a>>2]=0;v[a+4>>2]=0}function h6(a,b){a=a|0;b=b|0;a=v[a+4>>2];b=v[b+4>>2];return(a>>>0>b>>>0?1:a>>>0>>0?-1:0)|0}function fva(a,b){a=a|0;b=b|0;if(!Cs(a,b,1)){return-1}return w[((b-v[a+1040>>2]|0)+a|0)+16|0]}function e1a(a,b){a=a|0;b=b|0;var c=0;c=v[a+20>>2];if(c){v[a+28>>2]=0;dh(c,b,0);v[a+24>>2]=b}}function dqa(a){a=a|0;var b=0;v[a>>2]=928960;b=v[a+4>>2];if(b){$a(Bb(b))}bb(a+8|0);return a|0}function Ys(a,b,c,d){var e=0,f=0;a=v[a+4>>2];if(a){e=d,f=kg(b,1,c,a),v[e>>2]=f}return(a|0)!=0}function YY(a,b){a=a|0;b=b|0;a:{if(b>>>0<=1){v[a+48>>2]=0;if((b|0)==1){break a}}v[a+52>>2]=1}}function Rb(a,b){var c=0;c=zb(b);v[a>>2]=c;v[a+4>>2]=0;pg(a,c);cb(v[a+4>>2],b,c+1|0);return a}function Qz(a,b,c){var d=0;a:{if(!a){break a}a=v[a+40>>2];if(!a){break a}d=sm(a,b,c)}return d}function OXa(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;cb(g,e,B(d,3));return 0}function Nna(a){a=a|0;var b=0;b=v[a+40>>2];if(b>>>0>2]){a=w[b|0]}else{a=-1}return a|0}function Nd(a){var b=0;if((a|0)!=836592){b=v[290945];if(b){Qa[b|0](v[290944],a);return}$a(a)}}function MRa(a){a=a|0;var b=0;v[a>>2]=351448;b=v[a+28>>2];if(b){$a(b);v[a+28>>2]=0}return a|0}function BD(a){var b=0;b=a;a=0;while(1){if((a|0)!=3){v[(a<<2)+b>>2]=0;a=a+1|0;continue}break}}function zw(a,b){if(b){zw(a,v[b>>2]);zw(a,v[b+4>>2]);if(t[b+27|0]<=-1){$a(v[b+16>>2])}$a(b)}}function vt(a,b){if(b){vt(a,v[b>>2]);vt(a,v[b+4>>2]);if(t[b+27|0]<=-1){$a(v[b+16>>2])}$a(b)}}function vKa(a,b,c){a=a|0;b=b|0;c=c|0;if(b){v[b>>2]=v[a+10056>>2]}if(c){v[c>>2]=v[a+252>>2]}}function rB(a,b){if(b){rB(a,v[b>>2]);rB(a,v[b+4>>2]);if(t[b+31|0]<=-1){$a(v[b+20>>2])}$a(b)}}function qB(a,b){if(b){qB(a,v[b>>2]);qB(a,v[b+4>>2]);if(t[b+27|0]<=-1){$a(v[b+16>>2])}$a(b)}}function ora(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;v[c+8>>2]=0;v[c+12>>2]=1;v[c>>2]=0;v[c+4>>2]=0}function n0a(a,b,c){a=a|0;b=b|0;c=c|0;a=v[a+152>>2];if(!a){return 0}return Qa[a|0](B(b,c))|0}function fka(a){a=a|0;v[a>>2]=971180;ac(a+40|0);db(a+32|0);db(a+24|0);db(a+12|0);bc(a);$a(a)}function eDa(a,b){a=a|0;b=b|0;a=v[a+16>>2];v[b+4>>2]=0;v[b>>2]=w[a+5|0]|w[a+4|0]<<8;return 0}function ce(a){var b=0,c=0;c=a;while(1){b=c;c=b+4|0;if(v[b>>2]){continue}break}return b-a>>2}function cFa(a){a=a|0;var b=0,c=0;b=v[a>>2];c=v[a+4>>2];if(c){Qa[v[b+8>>2]](b,c)}v[a+4>>2]=0}function aia(a){a=a|0;var b=0;v[a>>2]=977316;b=v[a+4>>2];if(!(!b|(b|0)==217929)){$a(b)}$a(a)}function ad(a){var b=0;b=Ma-16|0;Ma=b;a=Vd(a,b+12|0,1);Ma=b+16|0;return(a|0)==1&w[b+12|0]!=0}function Yra(a){a=a|0;var b=0;v[a>>2]=887792;b=v[a+16>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}$a(a)}function Wy(a,b){if(b){Wy(a,v[b>>2]);Wy(a,v[b+4>>2]);if(t[b+27|0]<=-1){$a(v[b+16>>2])}$a(b)}}function Vy(a,b){if(b){Vy(a,v[b>>2]);Vy(a,v[b+4>>2]);if(t[b+27|0]<=-1){$a(v[b+16>>2])}$a(b)}}function VCa(a,b){a=a|0;b=b|0;a=v[a+16>>2];v[b+4>>2]=4;v[b>>2]=w[a+5|0]|w[a+4|0]<<8;return 0}function RCa(a,b){a=a|0;b=b|0;a=v[a+16>>2];v[b+4>>2]=6;v[b>>2]=w[a+5|0]|w[a+4|0]<<8;return 0}function LLa(a,b,c){a=a|0;b=b|0;c=c|0;if(b){xn(a+20|0,b)}if(c){Jg(a+20|0,v[c>>2],v[c+4>>2])}}function Ina(a){a=a|0;var b=0;b=Qa[v[v[a>>2]+32>>2]](a)|0;v[a+44>>2]=v[a+44>>2]+1;return b|0}function Eka(a){a=a|0;v[a>>2]=970764;db(a+44|0);db(a+36|0);db(a+28|0);db(a+20|0);bc(a);$a(a)}function EFa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Hg(a,v[a+8>>2]);return dt(a,v[a+8>>2],b,c,d)|0}function Aw(a,b){if(b){Aw(a,v[b>>2]);Aw(a,v[b+4>>2]);if(t[b+27|0]<=-1){$a(v[b+16>>2])}$a(b)}}function $Ca(a,b){a=a|0;b=b|0;a=v[a+16>>2];v[b+4>>2]=2;v[b>>2]=w[a+5|0]|w[a+4|0]<<8;return 0}function zRa(a,b){a=a|0;b=b|0;if(!b){return 1}A[b>>3]=A[a+616>>3]*25.4/A[a+600>>3];return 0}function vP(a,b){var c=0;while(1){c=v[b>>2];v[a>>2]=c;a=a+4|0;b=b+4|0;if(c){continue}break}}function uL(a){var b=0;t[a+2420|0]=0;b=Gk(a+2340|0);if(b){ob(a,5,b,0);a=5}else{a=0}return a}function tra(a){a=a|0;var b=0;v[a>>2]=888e3;b=v[a+12>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}$a(a)}function tMa(a){a=a|0;v[a>>2]=361260;$a(v[a+8>>2]);$a(v[a+12>>2]);$a(v[a+28>>2]);return a|0}function ira(a){a=a|0;var b=0;v[a>>2]=888072;b=v[a+8>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}$a(a)}function iXa(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;cb(g,e,d<<3);return 0}function h1a(a,b){a=a|0;b=b|0;var c=0;c=v[a+20>>2];if(c){dh(c,b,1);v[a+24>>2]=v[a+24>>2]+b}}function _oa(a){a=a|0;var b=0;v[a>>2]=953148;b=v[a+4>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}$a(a)}function Zna(a){a=a|0;var b=0;v[a>>2]=958612;b=v[a+4>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}$a(a)}function Yoa(a){a=a|0;var b=0;b=v[a+4>>2];Qa[v[v[b>>2]+20>>2]](b);v[a+8>>2]=-1;v[a+12>>2]=0}function Uoa(a){a=a|0;var b=0;v[a>>2]=953248;b=v[a+4>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}$a(a)}function Eoa(a){a=a|0;var b=0;v[a>>2]=953448;b=v[a+4>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}$a(a)}function Dya(a){a=a|0;var b=0;v[a>>2]=869240;b=v[a+4>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}$a(a)}function Dua(a){a=a|0;var b=0;v[a>>2]=885080;b=v[a+4>>2];if(b){Qa[v[v[b>>2]+4>>2]](b)}$a(a)}function ARa(a,b){a=a|0;b=b|0;if(!b){return 1}A[b>>3]=A[a+608>>3]*25.4/A[a+592>>3];return 0}function y4(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;cb(g,e,d<<1);return 0}function waa(a,b,c){a=a|0;b=b|0;c=c|0;if(c&1){O(35167,31925,715,77172);L()}mr(b,(c|0)/2|0)}function w4(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;cb(g,e,d<<2);return 0}function vva(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=+c;d=+d;e=+e;f=+f;g=g|0;h=h|0;i=i|0;return 0}function uaa(a,b,c){a=a|0;b=b|0;c=c|0;if(c&3){O(37968,31925,731,77210);L()}Vn(b,(c|0)/4|0)}function tta(a,b,c){a=a|0;b=b|0;c=c|0;A[v[a+28>>2]+576>>3]=v[b>>2]==1?+v[b+8>>2]:A[b+8>>3]}function taa(a,b,c){a=a|0;b=b|0;c=c|0;if(c&7){O(39043,31925,739,77229);L()}TC(b,(c|0)/8|0)}function t8(a){a=a|0;var b=0;b=a;a=v[a>>2];Qa[v[a+12>>2]](b,v[a+288>>2]);tc(a+132|0,1);L()}function dv(a,b){var c=0;c=Ma-96|0;Ma=c;if(!a){dc(0,b);L()}fG(v[a+348>>2],c,b);dc(a,c);L()}function a8(a){a=a|0;var b=0;b=v[a+828>>2];v[a+800>>2]=v[b+596>>2];v[a+804>>2]=v[b+608>>2]}function ZKa(a,b){a=a|0;b=b|0;a=v[a+4>>2];b=v[b+4>>2];return(a>>>0>>0?-1:a>>>0>b>>>0)|0}function U7(a){a=a|0;var b=0;b=v[a+828>>2];v[a+780>>2]=v[b+596>>2];v[a+784>>2]=v[b+600>>2]}function Si(a){a=a|0;var b=0;v[a+8>>2]=0;v[a+12>>2]=0;b=v[a+4>>2];if(b){Fe(b);v[a+4>>2]=0}}function Eba(a,b){a=a|0;b=b|0;if((b|0)>=0){b=v[v[250208]+((b&255)<<2)>>2]}return b<<24>>24}function Cba(a,b){a=a|0;b=b|0;if((b|0)>=0){b=v[v[250596]+((b&255)<<2)>>2]}return b<<24>>24}function B$(a,b,c){a=a|0;b=b|0;c=c|0;if(b){v[b>>2]=v[a+7928>>2]}if(c){v[c>>2]=v[a+252>>2]}}function wpa(a){a=a|0;var b=0;b=a+40|0;v[a+296>>2]=b;v[a+300>>2]=b;v[a+304>>2]=v[a+28>>2]}function v5(){var a=0;a=gb(12);if(!a){return 0}v[a+8>>2]=0;v[a>>2]=0;v[a+4>>2]=0;return a}function v0a(a,b){a=a|0;b=b|0;return Z3(a,w[b+28|0],v[b+32>>2],b+36|0,b+804|0,b+1060|0)|0}function nJa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=v[b+12>>2]+(c<<3)|0;v[a+4>>2]=v[a+4>>2]+d}function iK(a){a=a|0;var b=0;b=v[a+4>>2];if(b){Qa[v[b+40>>2]](a)}v[a+20>>2]=0;v[a+4>>2]=0}function _i(a,b,c,d){var e=0;e=Ma-16|0;Ma=e;v[e+12>>2]=d;a=am(a,b,c,d);Ma=e+16|0;return a}function Zh(a,b,c){b=Ed(a,b);if(!b){v[c>>2]=v[a+32>>2];v[a+32>>2]=0;v[a+36>>2]=0}return b}function YNa(a){a=a|0;var b=0;v[a>>2]=360452;b=v[a+24>>2];if(!(w[a+28|0]|!b)){$a(b)}$a(a)}function NKa(a){a=a|0;var b=0;b=v[a+472>>2];v[b+92>>2]=v[a+316>>2];v[b+96>>2]=v[a+116>>2]}function via(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(bg(d)){cT(a,d);return}v[a>>2]=0;qb(a,0)}function q1a(a){a=a|0;var b=0;v[a>>2]=54168;b=v[a+4>>2];if(!(!b|!w[a+12|0])){$a(b)}$a(a)}function hc(a){var b=0;v[a+4>>2]=8;b=Pb(8,4);v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=b;return a}function cqa(a){a=a|0;var b=0;v[a>>2]=928960;b=v[a+4>>2];if(b){$a(Bb(b))}bb(a+8|0);$a(a)}function _ya(a,b){a=a|0;b=b|0;if(v[b+76>>2]<=-1){a=v[b>>2]}else{a=v[b>>2]}return a>>>5&1}function Zaa(a){a=a|0;a=1187832;while(1){a=Vb(a-12|0);if((a|0)!=1187664){continue}break}}function Xaa(a){a=a|0;a=1188008;while(1){a=Vb(a-12|0);if((a|0)!=1187840){continue}break}}function XJa(a){a=a|0;v[a+304>>2]=-1;v[a+308>>2]=-1;v[a+116>>2]=-1;t[a+112|0]=0;return 0}function Wra(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=v[a+16>>2];Qa[v[v[a>>2]+16>>2]](a,b,c,d)}function Vra(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=v[a+16>>2];Qa[v[v[a>>2]+20>>2]](a,b,c,d)}function Vaa(a){a=a|0;a=1188304;while(1){a=Vb(a-12|0);if((a|0)!=1188016){continue}break}}function Ura(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=v[a+16>>2];Qa[v[v[a>>2]+24>>2]](a,b,c,d)}function Taa(a){a=a|0;a=1188608;while(1){a=Vb(a-12|0);if((a|0)!=1188320){continue}break}}function Sra(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=v[a+16>>2];Qa[v[v[a>>2]+36>>2]](a,b,c,d)}function Raa(a){a=a|0;a=1188648;while(1){a=Vb(a-12|0);if((a|0)!=1188624){continue}break}}function RXa(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;cb(g,e,d);return 0}function Paa(a){a=a|0;a=1188680;while(1){a=Vb(a-12|0);if((a|0)!=1188656){continue}break}}function C3a(a,b){var c=0,d=0;c=b&31;d=(-1>>>c&a)<>>a}function t6(a,b){a=a|0;b=b|0;var c=0;c=a;a=tp(v[b+12>>2]);v[c+12>>2]=a;return(a?0:-1)|0}function qt(a){a=v[a>>2];if(!(D(A[a>>3]*A[a+24>>3]-A[a+8>>3]*A[a+16>>3])<=1e-4)){To(a)}}function mja(a,b,c){a=a|0;b=b|0;c=c|0;a=v[a+12>>2];return Qa[v[v[a>>2]+12>>2]](a,b,c)|0}function lM(a){var b=0;b=v[a>>2];v[a>>2]=b-1;if((b|0)<=1){Qa[v[v[a+4>>2]>>2]](a);$a(a)}}function jQ(a,b){var c=0;c=v[b>>2];if(!(v[b+4>>2]==(a|0)?c:0)){wd(b,a);L()}return c+8|0}function gCa(a){a=a|0;Oe(v[a+104>>2],a+788|0);v[a+800>>2]=0;v[a+792>>2]=0;v[a+796>>2]=0}function Zka(a,b,c){a=a|0;b=b|0;c=c|0;a=v[a+16>>2];return Qa[v[v[a>>2]+12>>2]](a,b,c)|0}function Rha(a,b,c){a=a|0;b=b|0;c=c|0;v[a+100>>2]=v[a+92>>2]+b;v[a+104>>2]=v[a+96>>2]+c}function OOa(a){a=a|0;var b=0;v[a>>2]=39232;b=v[a+4>>2];if(!(!b|!w[a+8|0])){Fe(b)}$a(a)}function Mwa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if((a|0)==1){XX(v[b+352>>2],c,d)}}function G3(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Qa[v[v[a>>2]+12>>2]](a,b,c,d,0,0)|0}function CIa(a,b){a=a|0;b=b|0;var c=0,d=0;c=a,d=Qa[v[b+52>>2]](b,0,0,0)|0,v[c+544>>2]=d}function yr(a){var b=0,c=0;c=a;b=v[a+60>>2];a=v[a+100>>2];return tO(c,a>>>0>b>>>0?b:a)}function vLa(a,b){a=a|0;b=b|0;a=u[a>>1];b=u[b>>1];return((a|0)<(b|0)?-1:(a|0)>(b|0))|0}function sMa(a){a=a|0;v[a>>2]=361260;$a(v[a+8>>2]);$a(v[a+12>>2]);$a(v[a+28>>2]);$a(a)}function rN(a,b,c){if(b?b:0){while(1){v[a>>2]=c;a=a+4|0;b=b-1|0;if(b){continue}break}}}function nma(a){a=a|0;v[a>>2]=965476;if(t[a+43|0]<=-1){$a(v[a+32>>2])}Nh(a);return a|0}function hLa(a,b,c){a=a|0;b=b|0;c=c|0;v[b>>2]=v[a+132>>2];v[c>>2]=v[a+136>>2];return 0}function _ka(a,b,c){a=a|0;b=b|0;c=c|0;a=v[a+16>>2];return Qa[v[v[a>>2]+8>>2]](a,b,c)|0}function Zl(a,b){a=v[a>>2];b=cf(b);if(!SN(a,b)){_f();L()}return v[v[a+8>>2]+(b<<2)>>2]}function Z_(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;wJ(c,v[v[a+424>>2]+(b<<2)>>2],d);return 0}function ZFa(a,b,c){a=a|0;b=b|0;c=c|0;v[b>>2]=v[a+176>>2];v[c>>2]=v[a+180>>2];return 0}function Xga(a){a=a|0;var b=0;v[a>>2]=978308;b=v[a+20>>2];if(b){$a(b)}bc(a);return a|0}function GPa(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 0}function yLa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;Em(v[b>>2],c,d,0,e,v[a+112>>2])}function xfa(a,b){a=a|0;b=b|0;if((b|0)<=-1){return v[a+36>>2]}v[a+36>>2]=b;return b|0}function pJa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=v[b+12>>2]+(c<<3)|0;v[a>>2]=v[a>>2]+d}function df(a,b,c){var d=0;d=Ma-16|0;Ma=d;v[d+12>>2]=c;a=AP(a,b,c);Ma=d+16|0;return a}function _ha(a){a=a|0;v[a>>2]=977532;db(a+24|0);db(a+16|0);db(a+8|0);bc(a);return a|0}function XN(a){a=a|0;v[a>>2]=1004352;if(v[a+8>>2]!=(te()|0)){RO(v[a+8>>2])}return a|0}function Re(a){var b=0;a:{if(v[a+20>>2]){break a}b=v[a+36>>2];if(!b){break a}qi(a,b)}}function PP(a,b,c){var d=0;d=Ma-16|0;Ma=d;v[d+12>>2]=c;a=DP(a,b,c);Ma=d+16|0;return a}function P7(a,b){a=a|0;b=b|0;v[a+556>>2]=550;v[a+548>>2]=550;v[a+540>>2]=550;return 1}function Kta(a,b,c){a=a|0;b=b|0;c=c|0;b=v[a+8>>2];Qa[v[v[b>>2]+264>>2]](b,v[a+28>>2])}function FHa(a,b){a=a|0;b=b|0;return Qa[v[v[v[v[a>>2]+712>>2]+3084>>2]+12>>2]](a,b)|0}function EI(a,b,c,d,e){if(v[e>>2]<=0){zh(v[a+4>>2],b,c,a+16|0,v[a+20>>2],a+24|0,d,e)}}function pBa(a,b,c){a=a|0;b=b|0;c=c|0;a=v[a+4>>2];if(!a){return 0}return Px(b,c,a)|0}function kSa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Qa[v[v[a>>2]+16>>2]](a,b,c,d)|0}function hqa(a){a=a|0;var b=0;v[a>>2]=928912;b=v[a+12>>2];if(b){$a(Bb(b))}return a|0}function Qba(a,b,c){a=a|0;b=b|0;c=c|0;return(x[v[250014]+(c<<1)>>1]&b)!=0&c>>>0<=127}function J6(a){a=a|0;var b=0;b=fu(v[a>>2]);if(t[a+4|0]&1){rP(a+8|0)}$a(a);return b|0}function HHa(a,b){a=a|0;b=b|0;a=v[a+712>>2];return Gj(a,x[v[a+1188>>2]+(b<<1)>>1])|0}function GHa(a,b){a=a|0;b=b|0;return Qa[v[v[v[v[a>>2]+712>>2]+3084>>2]+8>>2]](a,b)|0}function GDa(a,b){a=a|0;b=b|0;a=v[a+4>>2];if(!a){return 0}return(Ee(b,a)|0)==(b|0)|0}function ELa(a,b,c){a=a|0;b=b|0;c=c|0;a=v[a+4>>2];if(!a){return 0}return!dh(a,b,c)|0}function Cja(a,b){a=a|0;b=b|0;if(!Hb(b,227183,-1)){return 1}return!Hb(b,227174,-1)|0}function BOa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Qa[v[v[a+452>>2]+4>>2]](a,0,0,0,b,c,d)}function lqa(a){a=a|0;var b=0;v[a>>2]=928864;b=v[a+4>>2];if(b){$a(Bb(b))}return a|0}function jqa(a){a=a|0;var b=0;v[a>>2]=928888;b=v[a+4>>2];if(b){$a(Bb(b))}return a|0}function jc(a,b,c){var d=0;d=v[a+172>>2];if(d){Qa[d|0](a,b,c);return}dc(a,1911);L()}function i1a(a){a=a|0;Si(a+4|0);v[a+28>>2]=0;v[a+32>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0}function fqa(a){a=a|0;var b=0;v[a>>2]=928936;b=v[a+4>>2];if(b){$a(Bb(b))}return a|0}function Ye(a,b,c){var d=0;d=v[a+176>>2];if(d){Qa[d|0](a,b,c);return}dc(a,1939);L()}function QPa(a){a=a|0;t[a+8|0]=1;v[v[v[a+20>>2]+4>>2]+28>>2]=v[a+16>>2]+56;return 0}function OF(a){Ry(a+24|0,v[a+28>>2]);NF(a+12|0,v[a+16>>2]);Ry(a,v[a+4>>2]);return a}function Nua(a){a=a|0;var b=0;v[a>>2]=883016;b=v[a+4>>2];if(b){$a(Bb(b))}return a|0}function Lla(a){a=a|0;var b=0;v[a>>2]=969040;b=v[a+4>>2];if(b){$a(xT(b))}return a|0}function G8(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;wb(v[a+628>>2],87824,64533,0);return 0}function Ava(a,b){a=a|0;b=b|0;u[a+202>>1]=0;b=v[a+204>>2];if(b){$a(b)}v[a+204>>2]=0}function $pa(a){a=a|0;var b=0;v[a>>2]=929008;b=v[a+4>>2];if(b){$a(Bb(b))}return a|0}function fu(a){a=$(a|0)|0;a=(a|0)==27?0:a;if(a){v[296206]=a;a=-1}else{a=0}return a}function co(a,b){a=ia(a|0,b|0)|0;if(a>>>0>=4294963201){v[296206]=0-a;a=-1}return a}function bq(a){var b=0;b=v[a+28>>2];if((b|0)!=v[a+24>>2]){tb(b);b=v[a+24>>2]}tb(b)}function Hwa(a){a=a|0;var b=0;b=v[v[a+4>>2]>>2];if(b){$a(qs(b));v[v[a+4>>2]>>2]=0}}function Fwa(a){a=a|0;a=v[v[a+4>>2]>>2];if(!a){return 0}return v[v[a+28>>2]+20>>2]}function rsa(a){a=a|0;a=ab(12);v[a+4>>2]=15;v[a+8>>2]=0;v[a>>2]=887480;return a|0}function osa(a){a=a|0;a=ab(12);v[a+4>>2]=15;v[a+8>>2]=0;v[a>>2]=887584;return a|0}function mma(a){a=a|0;v[a>>2]=965476;if(t[a+43|0]<=-1){$a(v[a+32>>2])}Nh(a);$a(a)}function ksa(a){a=a|0;a=ab(12);v[a+4>>2]=15;v[a+8>>2]=0;v[a>>2]=887688;return a|0}function fGa(a,b){a=a|0;b=b|0;b=b-v[a+16>>2]|0;return(b>>>0>2]?b+1|0:0)|0}function Zfa(a){a=a|0;var b=0;b=v[a+32>>2];a=v[a+28>>2];return((a|0)<(b|0)?b:a)|0}function Ypa(a){a=a|0;if(!v[a+4>>2]){return 0}return(v[a+8>>2]?1:v[a+12>>2]!=0)|0}function Wga(a){a=a|0;var b=0;v[a>>2]=978308;b=v[a+20>>2];if(b){$a(b)}bc(a);$a(a)}function Ry(a,b){if(b){Ry(a,v[b>>2]);Ry(a,v[b+4>>2]);Qb(b+28|0);Qb(b+16|0);$a(b)}}function MKa(a){a=a|0;QP(v[a+12>>2],v[a+4>>2]);v[a+12>>2]=0;v[a>>2]=0;v[a+4>>2]=0}function Jna(a){a=a|0;var b=0;b=Qa[v[v[a>>2]+32>>2]](a)|0;v[a+8>>2]=-1;return b|0}function AKa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=qw(b,c);if(!a){lJ(b,c)}return a|0}function yp(a,b){var c=0;c=Ma-16|0;Ma=c;v[c+12>>2]=b;TD(v[249421],a,b);Ma=c+16|0}function uha(a){a=a|0;return(y[a+32>>2]<3?v[a+48>>2]==-1?349015:977984:977952)|0}function rAa(a){a=a|0;return((v[a+52>>2]&-268435456)==268435456?324481:315104)|0}function ni(){var a=0;a=Ma-32|0;Ma=a;lb(mb(a+8|0,227406,241775,1819,332511));L()}function mx(a,b){var c=0;c=Ma-16|0;Ma=c;v[c+12>>2]=b;SD(v[249421],a,b);Ma=c+16|0}function mSa(a){a=a|0;if(v[a+76>>2]<=-1){a=v[a>>2]}else{a=v[a>>2]}return a>>>4&1}function kda(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=Ma-16|0;Ma=b;ZO(a,c,d);Ma=b+16|0}function hda(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=Ma-16|0;Ma=b;MO(a,c,d);Ma=b+16|0}function gpa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;fb(7,-1,258323,0);return 0}function fsa(a,b){a=a|0;b=b|0;v[b+8>>2]=0;v[b+12>>2]=65536;v[b>>2]=0;v[b+4>>2]=0}function e3a(a){a=a|0;var b=0;b=v[a+28>>2];if(b){$a(b)}a=v[a+32>>2];if(a){$a(a)}}function c8(a){a=a|0;var b=0;b=v[a+916>>2];v[a+800>>2]=v[a+912>>2];v[a+804>>2]=b}function Y7(a){a=a|0;var b=0;b=v[a+916>>2];v[a+780>>2]=v[a+912>>2];v[a+784>>2]=b}function TY(a){a=a|0;var b=0;b=v[a+8>>2];if(b){if(!w[a+34|0]){Nd(b)}v[a+8>>2]=0}}function Nga(a){a=a|0;if(a>>>0<=255){a=a<<24>>24;a=a-97>>>0<26?a&95:a}return a|0}function Nb(a,b){var c=0;c=Ma-16|0;Ma=c;v[c+12>>2]=b;Ox(v[249419],a,b);Ma=c+16|0}function Mba(a,b){a=a|0;b=b|0;if(b>>>0<=127){b=v[v[250208]+(b<<2)>>2]}return b|0}function Lva(a,b){a=a|0;b=b|0;if(!(w[a+201|0]|(w[a+208|0]|w[a+203|0]))){xv(a,b)}}function Lga(a){a=a|0;if(a>>>0<=255){a=a<<24>>24;a=a-65>>>0<26?a|32:a}return a|0}function Kba(a,b){a=a|0;b=b|0;if(b>>>0<=127){b=v[v[250596]+(b<<2)>>2]}return b|0}function Dha(a){a=a|0;return(y[a+32>>2]<3?v[a+48>>2]==-1?349015:977920:977888)|0}function y6(a){a=a|0;var b=0;b=v[a+16>>2];if(b){$a(b)}a=v[a+28>>2];if(a){$a(a)}}function pra(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;v[c+8>>2]=0;v[c>>2]=0;v[c+4>>2]=0}function lOa(a){a=a|0;v[a>>2]=360100;if(t[a+19|0]<=-1){$a(v[a+8>>2])}return a|0}function jh(a){var b=0;b=Ma-16|0;Ma=b;v[b>>2]=a;vb(v[249419],340716,b);_(1);L()}function jR(a){a=a|0;v[a>>2]=977532;db(a+24|0);db(a+16|0);db(a+8|0);bc(a);$a(a)}function gqa(a){a=a|0;var b=0;v[a>>2]=928912;b=v[a+12>>2];if(b){$a(Bb(b))}$a(a)}function Tma(a){a=a|0;v[a>>2]=960612;if(t[a+15|0]<=-1){$a(v[a+4>>2])}return a|0}function QAa(a){a=a|0;a=v[a+28>>2]&15;return(a?(a|0)==1?324497:320066:315602)|0}function Kra(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;v[b>>2]=0;v[b+4>>2]=0;A[c>>3]=d|0}function Jta(a,b,c){a=a|0;b=b|0;c=c|0;b=v[a+40>>2];if((b|0)>=1){v[a+40>>2]=b-1}}function ILa(a){a=a|0;var b=0;b=v[a+472>>2];v[b+36>>2]=0;v[b+44>>2]=v[a+116>>2]}function GQ(a,b,c){var d=0;d=Ma-16|0;Ma=d;v[d+12>>2]=c;MQ(a,b,d+12|0);Ma=d+16|0}function A4(a,b,c){a=a|0;b=b|0;c=c|0;return Qa[v[v[a>>2]+12>>2]](a,b,1,c,0,0)|0}function maa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(qj(a,v[b+8>>2],0)){aD(b,c,d)}}function lIa(a,b,c){a=a|0;b=b|0;c=c|0;return Qa[v[v[a+548>>2]+12>>2]](a,b,c)|0}function kqa(a){a=a|0;var b=0;v[a>>2]=928864;b=v[a+4>>2];if(b){$a(Bb(b))}$a(a)}function jIa(a,b,c){a=a|0;b=b|0;c=c|0;return Qa[v[v[a+548>>2]+20>>2]](a,b,c)|0}function iqa(a){a=a|0;var b=0;v[a>>2]=928888;b=v[a+4>>2];if(b){$a(Bb(b))}$a(a)}function iIa(a,b,c){a=a|0;b=b|0;c=c|0;return Qa[v[v[a+548>>2]+24>>2]](a,b,c)|0}function gIa(a,b,c){a=a|0;b=b|0;c=c|0;return Qa[v[v[a+548>>2]+32>>2]](a,b,c)|0}function fIa(a,b,c){a=a|0;b=b|0;c=c|0;return Qa[v[v[a+548>>2]+36>>2]](a,b,c)|0}function fEa(a){a=a|0;Qa[v[v[v[a+12>>2]+56>>2]+8>>2]](v[a+52>>2],0,0);return 0}function eqa(a){a=a|0;var b=0;v[a>>2]=928936;b=v[a+4>>2];if(b){$a(Bb(b))}$a(a)}function cza(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Qa[v[b+8>>2]](v[b>>2],0,1114111)}function _pa(a){a=a|0;var b=0;v[a>>2]=929008;b=v[a+4>>2];if(b){$a(Bb(b))}$a(a)}function Mua(a){a=a|0;var b=0;v[a>>2]=883016;b=v[a+4>>2];if(b){$a(Bb(b))}$a(a)}function Kla(a){a=a|0;var b=0;v[a>>2]=969040;b=v[a+4>>2];if(b){$a(xT(b))}$a(a)}function FJa(a,b,c){a=a|0;b=b|0;c=c|0;c=Ub(c,VA(a));v[v[a+388>>2]+(b<<2)>>2]=c}function BJa(a,b,c){a=a|0;b=b|0;c=c|0;a=v[a+388>>2]+(b<<2)|0;v[a>>2]=v[a>>2]+c}function pj(a,b){return w[a+494|0]?b:b<<8&16711680|b<<24|(b>>>8&65280|b>>>24)}function mIa(a,b,c){a=a|0;b=b|0;c=c|0;return Qa[v[v[a+548>>2]+8>>2]](a,b,c)|0}function gu(a,b,c,d){if(v[a+76>>2]<=-1){return OP(a,b,c,d)}return OP(a,b,c,d)}function SM(a){Ge(a,3);v[a+976>>2]=0;v[a>>2]=54124;eb(a+496|0,0,464);return a}function B2(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 0}function $ma(a){a=a|0;a=v[v[a+12>>2]+12>>2];if(!a){return 0}return v[a+36>>2]}function yua(a,b){a=a|0;b=b|0;a=v[a+4>>2];return Qa[v[v[a>>2]+64>>2]](a,b)|0}function tP(a){a=Ba(a|0)|0;if(a>>>0>=4294963201){v[296206]=0-a;a=-1}return a}function rP(a){a=da(a|0)|0;if(a>>>0>=4294963201){v[296206]=0-a;a=-1}return a}function hDa(a,b){a=a|0;b=b|0;return(b>>>0<=255?w[(v[a+16>>2]+b|0)+6|0]:0)|0}function OMa(a){a=a|0;a=v[a+180>>2];if(!a){return 0}return(w[a+8|0]&4)>>>2|0}function Mha(a,b){a=a|0;b=b|0;if(a){v[a+280>>2]=b;v[a+204>>2]=v[a+204>>2]|2}}function KHa(a,b){a=a|0;b=b|0;return(b>>>0<=255?x[v[a+16>>2]+(b<<1)>>1]:0)|0}function z4(a,b,c){a=a|0;b=b|0;c=c|0;return Qa[v[v[a>>2]+16>>2]](a,b,1,c)|0}function to(a,b){a=a|0;b=b|0;a=v[a+4>>2];return Qa[v[v[a>>2]+64>>2]](a,1)|0}function sU(a,b){a=a|0;b=b|0;a=v[a+4>>2];return Qa[v[v[a>>2]+64>>2]](a,0)|0}function oka(a){a=a|0;v[a>>2]=971056;db(a+20|0);db(a+12|0);bc(a);return a|0}function oHa(a){a=a|0;a=v[a+140>>2];if(!a){return 0}return a+(w[a|0]==47)|0}function mM(a){a=(a>>8)-1|0;if(a>>>0>=5){S();L()}return v[(a<<2)+188388>>2]}function ika(a){a=a|0;v[a>>2]=971196;vd(a+44|0);ac(a+28|0);bc(a);return a|0}function eIa(a,b,c){a=a|0;b=b|0;c=c|0;return Qa[v[v[a+552>>2]>>2]](a,b,c)|0}function dPa(a){a=a|0;var b=0;v[a>>2]=351448;b=v[a+28>>2];if(b){$a(b)}$a(a)}function dNa(a,b){a=a|0;b=b|0;var c=0;c=a;a=v[b>>2];v[c+36>>2]=(a|0)<1?-1:a}function cfa(a,b){a=a|0;b=b|0;var c=0,d=0;c=b,d=Ki(a,0,11,a+60|0),v[c>>2]=d}function Vga(a){a=a|0;v[a>>2]=978348;ec(a+56|0);ec(a+44|0);bc(a);return a|0}function Sg(a,b){v[a+4>>2]=b;b=Pb(b,1);v[a>>2]=b;eb(b,0,v[a+4>>2]);return a}function PBa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return KI(v[a+12>>2],b,c,d)|0}function NDa(a){a=a|0;return(a>>>0<=127?w[(a>>>3|0)+518752|0]&1<<(a&7):0)|0}function Ds(a){a=a|0;v[a>>2]=879548;if(v[a+16>>2]){tb(v[a+4>>2])}return a|0}function zB(a){var b=0;b=a+56|0;Dl(b,a+44|0);Mk(b,a+48|0,1);Mk(b,a+52|0,0)}function y0a(a,b){a=a|0;b=b|0;return _3(a,w[b+28|0],w[b+29|0],w[b+30|0])|0}function vb(a,b,c){var d=0;d=Ma-16|0;Ma=d;v[d+12>>2]=c;TD(a,b,c);Ma=d+16|0}function vPa(a){a=a|0;a=v[a+16>>2];if(!a){return 0}return w[a+2820|0]!=0|0}function sma(a){a=a|0;var b=0;v[a>>2]=965256;b=v[a+4>>2];if(b){$a(b)}$a(a)}function sSa(a,b,c){a=a|0;b=b|0;c=c|0;return Qa[v[v[a>>2]+52>>2]](a,b,c)|0}function pia(a){a=a|0;v[a>>2]=973064;ac(a+44|0);db(a+8|0);bc(a);return a|0}function mL(a){var b=0;b=nL(a,0,0,0,0,0,0,0,0,0,0,0);t[a+498|0]=0;return b}function kVa(a,b){a=a|0;b=b|0;return hd(a,v[b>>2],v[b+32>>2],v[b+36>>2])|0}function kOa(a){a=a|0;v[a>>2]=360100;if(t[a+19|0]<=-1){$a(v[a+8>>2])}$a(a)}function kCa(a,b){a=a|0;b=b|0;return Qa[v[v[v[a>>2]+544>>2]+12>>2]](a,b)|0}function j6(a){a=a|0;var b=0;b=v[a+4>>2];return(b?v[a+44>>2]?b+40|0:0:0)|0}function bBa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Qa[v[b+8>>2]](v[b>>2],0,255)}function _L(a){a=a-20529|0;if(a>>>0>=6){S();L()}return v[(a<<2)+188536>>2]}function ZAa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Qa[v[b+8>>2]](v[b>>2],0,127)}function Uia(a){a=a|0;v[a>>2]=972220;db(a+36|0);vd(a+8|0);bc(a);return a|0}function Sma(a){a=a|0;v[a>>2]=960612;if(t[a+15|0]<=-1){$a(v[a+4>>2])}$a(a)}function QSa(a,b,c){a=a|0;b=b|0;c=c|0;return Qa[v[v[a>>2]+56>>2]](a,b,c)|0}function Ph(a,b,c){var d=0;d=Ma-16|0;Ma=d;v[d+12>>2]=c;SD(a,b,c);Ma=d+16|0}function PEa(a,b){a=a|0;b=b|0;return Qa[v[v[v[a>>2]+488>>2]+12>>2]](a,b)|0}function Hja(a){a=a|0;v[a>>2]=971608;xd(a+36|0);vd(a+8|0);bc(a);return a|0}function Fb(a,b,c){var d=0;d=Ma-16|0;Ma=d;v[d+12>>2]=c;YG(a,b,c);Ma=d+16|0}function Dla(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=v[a+4>>2];if(a){zF(a,b,c)}}function DRa(a,b){a=a|0;b=b|0;if(!b){return 1}A[b>>3]=A[a+600>>3];return 0}function CC(a){a=a-20529|0;if(a>>>0>=6){S();L()}return v[(a<<2)+188512>>2]}function BRa(a,b){a=a|0;b=b|0;if(!b){return 1}A[b>>3]=A[a+592>>3];return 0}function oL(a,b,c){a=a|0;b=b|0;c=c|0;return Qa[v[v[a>>2]+20>>2]](a,b,c)|0}function lCa(a,b){a=a|0;b=b|0;return Qa[v[v[v[a>>2]+544>>2]+8>>2]](a,b)|0}function kO(a,b){var c=0;c=gP(v[b>>2])<<24;v[a+4>>2]=v[b>>2];t[a|0]=c>>24}function j1(a){a=a|0;v[a>>2]=360652;RJ(a);Aw(a+8|0,v[a+12>>2]);return a|0}function QR(a){Xr(a);t[a+16|0]=0;v[a+8>>2]=0;v[a+12>>2]=-1;v[a>>2]=972036}function QEa(a,b){a=a|0;b=b|0;return Qa[v[v[v[a>>2]+488>>2]+8>>2]](a,b)|0}function Pr(a){var b=0,c=0;b=v[a+628>>2];c=v[a+644>>2];AQ(a);Qa[c|0](b)|0}function EJa(a,b){a=a|0;b=b|0;return xb(v[v[a+388>>2]+(b<<2)>>2],VA(a))|0}function AEa(a){a=a|0;return(a>>>0<=390?u[(a<<1)+460320>>1]+456096|0:0)|0}function $Ea(a){a=a|0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0}function tc(a,b){a=a|0;b=b|0;if(!v[296803]){v[296804]=b;v[296803]=a}sa()}function nra(a){a=a|0;v[a>>2]=888052;bb(a- -64|0);bb(a+128|0);return a|0}function ks(a,b,c){v[a>>2]=0;v[a+4>>2]=0;t[a+8|0]=0;ls(a,b,0,c);return a}function du(a,b){b=!v[a+24>>2]|b;v[a+16>>2]=b;if(b&v[a+20>>2]){_f();L()}}function Rh(a,b,c){var d=0;d=v[a+4>>2];if(d){eb(v[v[a>>2]>>2],c,B(b,d))}}function HFa(a,b){a=a|0;b=b|0;Hg(a,v[a+8>>2]);return xm(a,v[a+8>>2],b)|0}function pva(a){a=a|0;v[a>>2]=879548;if(v[a+16>>2]){tb(v[a+4>>2])}$a(a)}function mD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;v[e>>2]=c;return 3}function OPa(a){a=a|0;t[a+8|0]=0;v[v[v[a+20>>2]+4>>2]+28>>2]=0;return 0}function MHa(a,b){a=a|0;b=b|0;v[a+16>>2]=v[v[a>>2]+712>>2]+668;return 0}function M9(a){a=a|0;v[a+84>>2]=131088;u[a+98>>1]=x[a+90>>1]==32844?1:3}function LKa(a){a=a|0;$a(v[a+12>>2]);v[a+12>>2]=0;v[a>>2]=0;v[a+4>>2]=0}function D2(a){a=a|0;var b=0;b=a;a=v[a+4>>2]+1|0;v[b+4>>2]=a;return a|0}function BEa(a){a=a|0;return u[((a>>>0>257?0:a)<<1)+459792>>1]+456096|0}function xMa(a){a=a|0;a=v[a+180>>2];if(!a){return 0}return t[a+12|0]&1}function vsa(a){a=a|0;a=v[a+164>>2];if(!a){return 0}return v[a+12>>2]} -function nka(a){a=a|0;v[a>>2]=971056;db(a+20|0);db(a+12|0);bc(a);$a(a)}function hka(a){a=a|0;v[a>>2]=971196;vd(a+44|0);ac(a+28|0);bc(a);$a(a)}function ZC(a,b){var c=0;c=a;a=zb(a);return(Lb(c,1,a,b)|0)!=(a|0)?-1:0}function Yn(a,b){a=a|0;b=b|0;t[a|0]=2;t[a+1|0]=3;t[a+2|0]=0;t[a+3|0]=4}function Uga(a){a=a|0;v[a>>2]=978348;ec(a+56|0);ec(a+44|0);bc(a);$a(a)}function NF(a,b){if(b){NF(a,v[b>>2]);NF(a,v[b+4>>2]);Qb(b+16|0);$a(b)}}function JW(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=+c;d=+d;e=+e;f=+f;g=+g;h=+h}function DPa(a,b){a=a|0;b=b|0;a=v[a+16>>2];if(a){A[a+2840>>3]=A[b>>3]}}function yh(a){a=v[v[a+4>>2]+4>>2];if(!a){return 0}return(uH(a)|0)!=0}function u2a(a,b,c){a=a|0;b=b|0;c=c|0;return(wg(c,v[a+12>>2])?-1:0)|0}function tva(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}function oia(a){a=a|0;v[a>>2]=973064;ac(a+44|0);db(a+8|0);bc(a);$a(a)}function kD(a){a=a|0;if(v[a+8>>2]!=(te()|0)){RO(v[a+8>>2])}return a|0}function bfa(a,b,c){a=a|0;b=b|0;c=c|0;return Ki(a,-262143,262142,c)|0}function X9(a,b){a=a|0;b=b|0;wb(v[a+628>>2],v[a>>2],12738,0);return 0}function Wba(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;pD(a,f)}function Tia(a){a=a|0;v[a>>2]=972220;db(a+36|0);vd(a+8|0);bc(a);$a(a)}function Tba(a){a=a|0;var b=0;b=v[296854]+1|0;v[296854]=b;v[a+4>>2]=b}function RNa(a){a=a|0;v[a>>2]=360652;RJ(a);Aw(a+8|0,v[a+12>>2]);$a(a)}function QP(a,b){a=Ha(a|0,b|0)|0;if(a>>>0>=4294963201){v[296206]=0-a}}function Pi(a){a=v[v[a+4>>2]+4>>2];if(!a){return 0}return(EX(a)|0)==1}function N7(a,b){a=a|0;b=b|0;v[a+548>>2]=551;v[a+540>>2]=551;return 1}function H2a(a,b,c){a=a|0;b=b|0;c=c|0;return N5(a+12|0,c,v[a+4>>2])|0}function Gja(a){a=a|0;v[a>>2]=971608;xd(a+36|0);vd(a+8|0);bc(a);$a(a)}function $j(a){a=v[v[a+4>>2]+4>>2];if(!a){return 0}return(FX(a)|0)==1}function wPa(a,b){a=a|0;b=b|0;a=v[a+16>>2];if(a){t[a+2820|0]=w[b|0]}}function u0a(a,b){a=a|0;b=b|0;if(b){Qa[v[a+156>>2]](b,1316)}return 0}function kIa(a,b){a=a|0;b=b|0;return Qa[v[v[a+548>>2]+16>>2]](a,b)|0}function hIa(a,b){a=a|0;b=b|0;return Qa[v[v[a+548>>2]+28>>2]](a,b)|0}function dMa(a){a=a|0;var b=0;b=f1(ab(176));v[b+164>>2]=a;return b|0}function bNa(a){a=a|0;var b=0;b=v[a>>2];v[b+20>>2]=47;Qa[v[b>>2]](a)}function ZL(){var a=0;a=gb(52);if(!a){return 0}v[a+48>>2]=0;return a}function Qla(a){a=a|0;v[a>>2]=967332;Qb(a+20|0);Qb(a+4|0);return a|0}function Qd(a){v[a>>2]=0;v[a+4>>2]=0;pg(a,0);t[v[a+4>>2]]=0;return a}function QUa(a,b){a=a|0;b=b|0;if(b){Qa[v[a+156>>2]](b,1320)}return 0}function QKa(a,b){a=a|0;b=b|0;oJ(b,v[a>>2]<<2,v[a+4>>2]<<2);return 0}function NHa(a){a=a|0;var b=0;b=v[a+548>>2];if(b){Qa[v[b+44>>2]](a)}}function Mp(a,b){return b?a<<8&16711680|a<<24|(a>>>8&65280|a>>>24):a}function oxa(a,b){a=a|0;b=b|0;return(a>>>0>>0?-1:(a|0)!=(b|0))|0}function mra(a){a=a|0;v[a>>2]=888052;bb(a- -64|0);bb(a+128|0);$a(a)}function l7(a){a=a|0;a=v[a+24>>2];v[a+4>>2]=4096;v[a>>2]=v[a+52>>2]}function iga(a,b){a=a|0;b=b|0;return Op(b,v[a+12>>2]+v[a+8>>2]|0)|0}function dVa(a,b){a=a|0;b=b|0;if(b){Qa[v[a+156>>2]](b,808)}return 0}function cVa(a,b){a=a|0;b=b|0;if(b){Qa[v[a+156>>2]](b,564)}return 0}function b1a(a){a=a|0;return v[a+32>>2]-(v[a+24>>2]+v[a+28>>2]|0)|0}function Yka(a){a=a|0;a=v[a+16>>2];return Qa[v[v[a>>2]+16>>2]](a)|0}function YUa(a,b){a=a|0;b=b|0;if(b){Qa[v[a+156>>2]](b,548)}return 0}function X0a(a,b){a=a|0;b=b|0;if(b){Qa[v[a+156>>2]](b,800)}return 0}function WD(a){if(v[a+76>>2]<=-1){a=NP(a);return a}a=NP(a);return a}function V0a(a,b){a=a|0;b=b|0;if(b){Qa[v[a+156>>2]](b,288)}return 0}function U5(a){a=a|0;var b=0;b=v[a+24>>2];if(b){$a(b);v[a+24>>2]=0}}function RLa(a){a=a|0;var b=0;b=v[a>>2];a=a+28|0;if(a?b:0){cN(b,a)}}function Lna(a){a=a|0;a=v[a+24>>2];return Qa[v[v[a>>2]+12>>2]](a)|0}function Kna(a){a=a|0;a=v[a+24>>2];return Qa[v[v[a>>2]+52>>2]](a)|0}function Hba(a,b,c){a=a|0;b=b|0;c=c|0;return(b>>>0<128?b:c)<<24>>24}function E8(a,b){a=a|0;b=b|0;wb(v[a+628>>2],87809,64533,0);return 0}function zqa(a){a=a|0;a=v[a+4>>2];return Qa[v[v[a>>2]+72>>2]](a)|0}function xua(a){a=a|0;a=v[a+4>>2];return Qa[v[v[a>>2]+52>>2]](a)|0}function wua(a){a=a|0;a=v[a+4>>2];return Qa[v[v[a>>2]+68>>2]](a)|0}function vza(a){a=a|0;return(w[v[a+8>>2]+74|0]==1?306159:309218)|0}function v6(a){a=a|0;return(zb(v[a+16>>2])+(v[a+24>>2]<<1)|0)+83|0}function uua(a){a=a|0;a=v[a+4>>2];return Qa[v[v[a>>2]+76>>2]](a)|0}function qd(a,b){v[a>>2]=0;v[a+4>>2]=0;t[a+8|0]=0;hh(a,b);return a}function qSa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return kg(b,c,d,a)|0}function pSa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Lb(b,c,d,a)|0}function p0a(a,b){a=a|0;b=b|0;return e4(a,v[b+28>>2],v[b+32>>2])|0}function n1a(a){a=a|0;return v[a+16>>2]-(v[a+8>>2]+v[a+12>>2]|0)|0}function mKa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return z$(a,b,c,d)|0}function m1a(a){a=a|0;a=v[a+4>>2];if(!a){return 0}return v[a+4>>2]}function dO(a,b){var c=0;c=bP(v[b>>2]);v[a+4>>2]=v[b>>2];v[a>>2]=c}function bma(a){a=a|0;a=v[v[a>>2]-12>>2]+a|0;Kf(a+12|0);return a|0}function _1a(a,b){a=a|0;b=b|0;Nb(51602,0);yC(b,v[249419]);return 0}function Yya(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Lb(c,1,d,b)|0}function Xya(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return kg(c,1,d,b)|0}function XUa(a,b){a=a|0;b=b|0;if(b){Qa[v[a+156>>2]](b,60)}return 0}function RR(a){a=a|0;a=v[a+12>>2];return Qa[v[v[a>>2]+16>>2]](a)|0}function Pna(a){a=a|0;return(v[a+296>>2]+(v[a+304>>2]-a|0)|0)-40|0}function Oga(a){a=a|0;return(a>>>0<=255?(a<<24>>24)-65>>>0<26:1)|0}function Mga(a){a=a|0;return(a>>>0<=255?(a<<24>>24)-97>>>0<26:1)|0}function FN(a){if(a>>>0>1073741823){Zd(273730);L()}return ab(a<<2)}function wL(a,b){a=a|0;b=b|0;if(b){Qa[v[a+156>>2]](b,64)}return 0}function vL(a,b){a=a|0;b=b|0;if(b){Qa[v[a+156>>2]](b,28)}return 0}function v2a(a,b,c){a=a|0;b=b|0;c=c|0;return(qf(c,a+12|0)?-1:0)|0}function sva(a){a=a|0;a=v[a+172>>2];if(!a){return 0}return w[a|0]}function lb(a){var b=0;b=ma(24)|0;DE(b,a);la(b|0,977340,3866);L()}function kl(a,b){v[a+8>>2]=0;v[a>>2]=0;v[a+4>>2]=0;return kU(a,b)}function ip(a,b){a=a|0;b=b|0;if(b){Qa[v[a+156>>2]](b,36)}return 0}function hp(a,b){a=a|0;b=b|0;if(b){Qa[v[a+156>>2]](b,48)}return 0}function hC(a,b){a=a|0;b=b|0;if(b){Qa[v[a+156>>2]](b,44)}return 0}function gC(a,b){a=a|0;b=b|0;if(b){Qa[v[a+156>>2]](b,52)}return 0}function fPa(a,b){a=a|0;b=b|0;cb(a+212|0,b,80);yt(a+292|0,b+80|0)}function ar(a,b){a=a|0;b=b|0;if(b){Qa[v[a+156>>2]](b,32)}return 0}function _$a(a){a=a|0;return(v[a+4>>2]?v[a+16>>2]>v[a+8>>2]:-1)|0}function P3(a,b){a=a|0;b=b|0;if(b){Qa[v[a+156>>2]](b,68)}return 0}function N3(a,b){a=a|0;b=b|0;if(b){Qa[v[a+156>>2]](b,56)}return 0}function HRa(a){a=a|0;if(!v[a+12>>2]){Qa[v[v[a>>2]+428>>2]](a,0)}}function FRa(a,b){a=a|0;b=b|0;if(!b){return 1}v[b>>2]=16;return 0}function $q(a,b){a=a|0;b=b|0;if(b){Qa[v[a+156>>2]](b,40)}return 0}function zKa(a){a=a|0;a=v[a+4>>2];if(!a){return 0}return Jr(a)|0}function pba(a){a=a|0;a=v[a+8>>2];if(!a){return 1}return NN(a)|0}function mka(a){a=a|0;v[a>>2]=971112;ac(a+12|0);bc(a);return a|0}function hGa(a,b){a=a|0;b=b|0;cb(b,v[a+132>>2]+4|0,156);return 0}function gia(a){a=a|0;v[a>>2]=973140;ec(a+12|0);bc(a);return a|0}function VBa(a){a=a|0;a=v[a+4>>2];if(!a){return-1}return Hp(a)|0}function S5(){var a=0;a=gb(4);if(!a){return 0}v[a>>2]=0;return a}function Rea(a){a=a|0;v[a>>2]=984436;ec(a+20|0);bc(a);return a|0}function RRa(a){a=a|0;a=v[a>>2];return Qa[v[v[a>>2]+52>>2]](a)|0}function QHa(a){a=a|0;return(a>>>0<=255?x[(a<<1)+446256>>1]:0)|0}function PHa(a){a=a|0;a=v[a+4>>2];if(!a){return 0}return!$i(a)|0}function N$(a){a=a|0;var b=0;b=v[a>>2];if(a){Qa[v[b+8>>2]](b,a)}}function Eu(a,b,c){var d=0,e=0;d=xj(a- -64|0,c),e=b,v[d+24>>2]=e}function Epa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Qd(ab(8))|0}function Bv(a,b){var c=0;if(!(!a|!b)){c=Mz(a,b,yl(b),1)}return c}function AJa(a,b,c){a=a|0;b=b|0;c=c|0;v[v[a+388>>2]+(b<<2)>>2]=c}function yAa(a,b,c){a=a|0;b=b|0;c=c|0;v[a+48>>2]=0;v[a+52>>2]=1}function rg(a){a=v[v[a+4>>2]+4>>2];if(!a){return-1}return Hv(a)}function me(a){var b=0;b=v[a>>2];if(b){$a(b);v[a>>2]=0}return a}function m0a(a,b){a=a|0;b=b|0;a=v[a+156>>2];if(a){Qa[a|0](b,1)}}function jOa(a){a=a|0;XJ(a,1);XJ(a,0);$a(v[a+4>>2]);v[a+4>>2]=0}function gx(a){var b=0;b=v[a+964>>2];if(b){$a(b);v[a+964>>2]=0}}function gv(a){var b=0;b=vs(ab(672),a,0);v[b+668>>2]=a;return b}function eT(a,b,c){Ey(a,b,v[a+76>>2],c);v[a+76>>2]=v[a+76>>2]+c}function X_a(a,b){a=a|0;b=b|0;Sb(v[a+168>>2],b,255);tc(a,1);L()}function Qya(a,b){a=a|0;b=b|0;if(!b){return-1}return v[b+16>>2]}function Pla(a){a=a|0;v[a>>2]=967332;Qb(a+20|0);Qb(a+4|0);$a(a)}function Ng(a){var b=0;b=v[v[a>>2]+4>>2];if(b){Qa[b|0](a)}$a(a)}function Kka(a){a=a|0;v[a>>2]=970568;ac(a+8|0);bc(a);return a|0}function EPa(a,b){a=a|0;b=b|0;a=v[a+16>>2];if(a){t[a+2832|0]=b}}function Bq(a){a=v[v[a+4>>2]+4>>2];if(!a){return-1}return CX(a)}function Bka(a){a=a|0;v[a>>2]=970868;db(a+8|0);bc(a);return a|0}function ud(a){var b=0;b=Ma-16|0;Ma=b;BD(a);Ma=b+16|0;return a}function sga(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Sj(b,c)|0}function qV(a,b){a=a|0;b=b|0;v[b+8>>2]=0;v[b>>2]=0;v[b+4>>2]=0}function oCa(a,b){a=a|0;b=b|0;v[b>>2]=-1;v[b+4>>2]=14;return 0}function ny(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;v[a>>2]=0;qb(a,0)}function nN(a){var b=0;b=Ma-16|0;Ma=b;mN(b,a,247564);lN(b);L()}function jHa(a,b,c){a=a|0;b=b|0;c=c|0;if(c){v[c>>2]=b}return 0}function gG(a,b){if(w[a+206|0]&128){Db(a,b);return}dc(a,b);L()}function dD(a){var b=0;b=Ma-16|0;Ma=b;mN(b,a,282903);lN(b);L()}function Zg(a,b,c){v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;EA(b,c,a)}function YKa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return 0}function RO(a){if((a|0)!=0&(a|0)!=993856&(a|0)!=993880){$a(a)}}function Nqa(a){a=a|0;v[a>>2]=927256;tb(v[a+20>>2]);return a|0}function KKa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Wd(d,c)|0}function JFa(a){a=a|0;Hg(a,v[a+8>>2]);return RI(a,v[a+8>>2])|0}function HTa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return 1}function zJa(a,b){a=a|0;b=b|0;return v[v[a+388>>2]+(b<<2)>>2]}function tp(a){var b=0;b=gb(zb(a)+1|0);if(b){od(b,a)}return b}function p3a(a,b){a=a|0;b=b|0;return(Fh(b,v[a+20>>2])?-1:0)|0}function ova(a){a=a|0;v[a>>2]=879584;Fe(v[a+4>>2]);return a|0}function ama(a){a=a|0;a=v[v[a>>2]-12>>2]+a|0;Kf(a+12|0);$a(a)}function VFa(a,b){a=a|0;b=b|0;v[a+16>>2]=v[a>>2]+296;return 0}function REa(a,b){a=a|0;b=b|0;return v[v[a+424>>2]+(b<<2)>>2]}function Qta(a,b,c){a=a|0;b=b|0;c=c|0;v[a+40>>2]=v[a+40>>2]+1}function M6(a,b,c){a=a|0;b=b|0;c=c|0;return sP(v[a>>2],b,c)|0}function KJa(a,b){a=a|0;b=b|0;v[v[a+8>>2]+308>>2]=-1;return 0}function Iqa(a){a=a|0;v[a>>2]=927316;tb(v[a+8>>2]);return a|0}function zba(a,b,c){a=a|0;b=b|0;c=c|0;return((b|0)>-1?b:c)|0}function gFa(a,b){a=a|0;b=b|0;a=v[a+28>>2];OA(a);t[a+44|0]=0}function cE(a){while(1){if(v[a>>2]){continue}break}v[a>>2]=1}function Zia(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;cb(a,b,B(c,3))}function ZOa(a){a=a|0;v[a+4>>2]=v[a+4>>2]+1;return v[a+4>>2]}function WEa(a){a=a|0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0}function CW(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0}function yv(a,b){if(b){yv(a,v[b>>2]);yv(a,v[b+4>>2]);$a(b)}}function vOa(a){a=a|0;v[a>>2]=359832;Wf(a+128|0);return a|0}function lka(a){a=a|0;v[a>>2]=971112;ac(a+12|0);bc(a);$a(a)}function jRa(a,b){a=a|0;b=b|0;A[b>>3]=A[a- -64>>3];return 0}function iRa(a,b){a=a|0;b=b|0;A[a- -64>>3]=A[b>>3];return 0}function hea(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Pa=0;return 0}function fia(a){a=a|0;v[a>>2]=973140;ec(a+12|0);bc(a);$a(a)}function Sfa(a){a=a|0;v[a>>2]=979108;tu(a+508|0);return a|0}function Qea(a){a=a|0;v[a>>2]=984436;ec(a+20|0);bc(a);$a(a)}function QB(a,b){if(b){QB(a,v[b>>2]);QB(a,v[b+4>>2]);$a(b)}}function KV(a,b,c){ue((v[a+4>>2]+(b<<5)|0)+8|0,v[a>>2],c,0)}function K8(a){a=a|0;Nc(v[a+628>>2],87472,59913,0);return 1}function FOa(a){a=a|0;v[a>>2]=359652;Wf(a+116|0);return a|0}function F8(a){a=a|0;wb(v[a+628>>2],87840,64533,0);return 0}function D8(a){a=a|0;wb(v[a+628>>2],87792,64533,0);return 0}function A2(a){var b=0;b=ab(4);v[a>>2]=b;v[b>>2]=0;return a}function $u(a,b){if(b){$u(a,v[b>>2]);$u(a,v[b+4>>2]);$a(b)}}function yQa(a,b){a=a|0;b=b|0;v[b>>2]=v[a+500>>2];return 0}function yOa(a){a=a|0;v[a>>2]=359780;Wf(a+92|0);return a|0}function xQa(a,b){a=a|0;b=b|0;v[a+500>>2]=v[b>>2];return 0}function wQa(a,b){a=a|0;b=b|0;A[b>>3]=A[a+504>>3];return 0}function vQa(a,b){a=a|0;b=b|0;A[a+504>>3]=A[b>>3];return 0}function uQa(a,b){a=a|0;b=b|0;v[b>>2]=v[a+512>>2];return 0}function tx(a,b){if(v[b+76>>2]<=-1){zN(a,b);return}zN(a,b)}function tQa(a,b){a=a|0;b=b|0;v[a+512>>2]=v[b>>2];return 0}function sOa(a){a=a|0;v[a>>2]=359888;Wf(a+92|0);return a|0}function mHa(a,b){a=a|0;b=b|0;u[b>>1]=x[a+312>>1];return 0}function iSa(a){a=a|0;a=v[a>>2];v[a+20>>2]=0;v[a+108>>2]=0}function cka(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;cb(a,b,c<<2)}function _Qa(a,b){a=a|0;b=b|0;v[a+100>>2]=v[b>>2];return 0}function ZQa(a,b){a=a|0;b=b|0;v[b>>2]=v[a+108>>2];return 0}function YQa(a,b){a=a|0;b=b|0;v[a+108>>2]=v[b>>2];return 0}function XQa(a,b){a=a|0;b=b|0;v[b>>2]=v[a+104>>2];return 0}function WQa(a,b){a=a|0;b=b|0;v[a+104>>2]=v[b>>2];return 0}function Vea(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;cb(a,b,c<<4)}function UQa(a,b){a=a|0;b=b|0;v[b>>2]=v[a+112>>2];return 0}function UAa(a){a=a|0;return(w[a+28|0]&15?324462:312235)|0}function TQa(a,b){a=a|0;b=b|0;v[a+112>>2]=v[b>>2];return 0}function SPa(a,b){a=a|0;b=b|0;v[b>>2]=v[a+628>>2];return 0}function QQa(a,b){a=a|0;b=b|0;v[b>>2]=v[a+132>>2];return 0}function PQa(a,b){a=a|0;b=b|0;v[a+132>>2]=v[b>>2];return 0}function PDa(a){a=a|0;return a-48>>>0<10|(a&-33)-65>>>0<26}function OQa(a,b){a=a|0;b=b|0;v[b>>2]=v[a+128>>2];return 0}function NQa(a,b){a=a|0;b=b|0;v[a+128>>2]=v[b>>2];return 0}function NAa(a){a=a|0;return(w[a+28|0]&15?324443:312157)|0}function MQa(a,b){a=a|0;b=b|0;A[b>>3]=A[a+192>>3];return 0}function MN(a){a=a|0;v[a>>2]=1004400;Vb(a+12|0);return a|0}function Lia(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;cb(a,b,c<<1)}function LQa(a,b){a=a|0;b=b|0;A[a+192>>3]=A[b>>3];return 0}function LN(a){a=a|0;v[a>>2]=1004440;Vb(a+16|0);return a|0}function Kia(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;cb(a,b,c<<3)}function Jka(a){a=a|0;v[a>>2]=970568;ac(a+8|0);bc(a);$a(a)}function CQa(a,b){a=a|0;b=b|0;A[b>>3]=A[a+480>>3];return 0}function COa(a){a=a|0;v[a>>2]=359728;Wf(a+92|0);return a|0}function BQa(a,b){a=a|0;b=b|0;A[a+480>>3]=A[b>>3];return 0}function Aka(a){a=a|0;v[a>>2]=970868;db(a+8|0);bc(a);$a(a)}function $Qa(a,b){a=a|0;b=b|0;v[b>>2]=v[a+100>>2];return 0}function yRa(a,b){a=a|0;b=b|0;v[b>>2]=v[a+28>>2];return 0}function xRa(a,b){a=a|0;b=b|0;v[a+28>>2]=v[b>>2];return 0}function wRa(a,b){a=a|0;b=b|0;v[b>>2]=v[a+32>>2];return 0}function vRa(a,b){a=a|0;b=b|0;v[a+32>>2]=v[b>>2];return 0}function uRa(a,b){a=a|0;b=b|0;A[b>>3]=A[a+40>>3];return 0}function tRa(a,b){a=a|0;b=b|0;A[a+40>>3]=A[b>>3];return 0}function q3a(a,b){a=a|0;b=b|0;return(di(b,a+20|0)?-1:0)|0}function mT(a){a=a|0;a=v[a+16>>2];Qa[v[v[a>>2]+24>>2]](a)}function hRa(a,b){a=a|0;b=b|0;v[b>>2]=v[a+72>>2];return 0}function gRa(a,b){a=a|0;b=b|0;v[a+72>>2]=v[b>>2];return 0}function fRa(a,b){a=a|0;b=b|0;A[b>>3]=A[a+80>>3];return 0}function dRa(a,b){a=a|0;b=b|0;A[a+80>>3]=A[b>>3];return 0}function cEa(a){a=a|0;v[a+140>>2]=v[a+140>>2]+u[a+144>>1]}function bqa(a){a=a|0;v[a>>2]=928984;bb(a+8|0);return a|0}function bRa(a,b){a=a|0;b=b|0;v[b>>2]=v[a+96>>2];return 0}function aRa(a,b){a=a|0;b=b|0;v[a+96>>2]=v[b>>2];return 0}function aPa(a){a=a|0;v[a>>2]=351616;Vo(a+8|0);return a|0}function X_(a,b){a=a|0;b=b|0;u[b>>1]=x[a+164>>1];return 0}function PO(a){if(!a){return 0}return(QO(1003936,a)|0)!=0}function Opa(a){a=a|0;return(v[a+52>>2]&v[a+56>>2])==-1|0}function Mqa(a){a=a|0;v[a>>2]=927256;tb(v[a+20>>2]);$a(a)}function Fya(a,b,c){a=a|0;b=b|0;c=c|0;return gb(B(b,c))|0}function Dpa(a){a=a|0;v[a>>2]=952584;bb(a+8|0);return a|0}function Cpa(a){a=a|0;a=v[a+4>>2];Qa[v[v[a>>2]+24>>2]](a)}function Bj(a,b){a=ab(8);v[b>>2]=a;v[a>>2]=-1;v[a+4>>2]=0}function x9(a){a=a|0;v[a>>2]=1032;Tg(a);Cg(a);return a|0}function vka(a,b){a=a|0;b=b|0;if((b|0)>=1){eb(a,0,b<<2)}}function pFa(a){a=a|0;a=a<<13^a;a=a>>>17^a;return a<<5^a}function nva(a){a=a|0;v[a>>2]=879584;Fe(v[a+4>>2]);$a(a)}function nSa(a,b,c){a=a|0;b=b|0;c=c|0;return Px(b,c,a)|0}function l4(a){$g(a,v[a+532>>2],0);t[a+498|0]=0;return 0}function fCa(a,b,c){a=a|0;b=b|0;c=c|0;return r0(a,b,c)|0}function f5(){var a=0;a=gb(24);if(a){eb(a,0,24)}return a}function _7(a){a=a|0;v[a+916>>2]=v[a+916>>2]-v[a+784>>2]}function Q7(a){a=a|0;a=v[a+24>>2];t[(a?a-20|0:0)+56|0]=1}function Hqa(a){a=a|0;v[a>>2]=927316;tb(v[a+8>>2]);$a(a)}function Bf(a){var b=0,c=0;b=a,c=lf(0,0,0),v[b+384>>2]=c}function sRa(a,b){a=a|0;b=b|0;t[b|0]=w[a+48|0];return 0}function rda(a){a=a|0;return zD(v[v[a>>2]-12>>2]+a|0)|0}function rRa(a,b){a=a|0;b=b|0;t[a+48|0]=w[b|0];return 0}function qra(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;v[c>>2]=0}function qea(a){a=a|0;if(t[1184823]<=-1){$a(v[296203])}}function qRa(a,b){a=a|0;b=b|0;t[b|0]=w[a+49|0];return 0}function pda(a){a=a|0;return yD(v[v[a>>2]-12>>2]+a|0)|0}function oRa(a,b){a=a|0;b=b|0;t[a+49|0]=w[b|0];return 0}function oPa(a){a=a|0;Qa[v[v[a>>2]+328>>2]](a,351700)|0}function nRa(a,b){a=a|0;b=b|0;t[b|0]=w[a+50|0];return 0}function mRa(a,b){a=a|0;b=b|0;t[a+50|0]=w[b|0];return 0}function lna(a,b){a=a|0;b=b|0;return!Ec(v[a+20>>2],b)|0}function lRa(a,b){a=a|0;b=b|0;t[b|0]=w[a+51|0];return 0}function kRa(a,b){a=a|0;b=b|0;t[a+51|0]=w[b|0];return 0}function gha(a){a=a|0;return(w[a+56|0]?977460:977356)|0}function gN(a,b,c,d,e){return oa(a|0,b|0,c|0,d|0,e|0)|0}function cpa(a,b,c){a=a|0;b=b|0;c=c|0;fb(7,-1,258292,0)}function _ga(a){a=a|0;return(w[a+64|0]?977465:977361)|0}function Xpa(a){a=a|0;return v[a+12>>2]!=0|v[a+4>>2]>-1}function XFa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return 12}function W_(a,b){a=a|0;b=b|0;cb(b,a+168|0,196);return 0}function Vb(a){if(w[a+11|0]>>>7|0){$a(v[a>>2])}return a}function Uw(a,b){a=a|0;b=b|0;return hd(a,v[b>>2],0,0)|0}function Sja(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Ou(a,b,d)}function SBa(a,b){a=a|0;b=b|0;if(b){Qa[v[a+8>>2]](a,b)}}function Nw(a,b,c){a=a|0;b=b|0;c=c|0;return dh(a,b,c)|0}function NO(a,b,c,d){a=Ix(a,b,c,0,-2147483648);return a}function LBa(a){a=a|0;if(t[1163495]<=-1){$a(v[290871])}}function IIa(a,b){a=a|0;b=b|0;v[b+376>>2]=v[b+376>>2]|1}function I7(a){a=a|0;a=v[a+584>>2];if(a){$a(a)}return 1}function EKa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;v[d>>2]=0}function DKa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;v[d>>2]=c}function Cka(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;cb(a,b,c)}function C0a(a){a=a|0;return(v[a+4>>2]?v[a+16>>2]:-1)|0}function Bpa(a,b,c){a=a|0;b=b|0;c=c|0;fb(7,-1,258193,0)}function Bb(a){var b=0;b=v[a+4>>2];if(b){$a(b)}return a}function ALa(a,b){a=a|0;b=b|0;return v[a>>2]==v[b>>2]|0}function ySa(a){a=a|0;return Qa[v[v[a>>2]+36>>2]](a)|0}function xW(a){if(!v[a+80>>2]){wW(a)}return v[a+20>>2]}function uOa(a){a=a|0;v[a>>2]=359832;Wf(a+128|0);$a(a)}function s0a(a){a=a|0;return(v[a+4>>2]?v[a+8>>2]:-1)|0}function pza(a){a=a|0;a=v[a+8>>2];return(a?a+26|0:0)|0}function npa(a){a=a|0;v[a+40>>2]=v[a+24>>2]+v[a+28>>2]}function lAa(a){a=a|0;a=v[a+8>>2];return(a?a+69|0:0)|0}function kP(a){a=a|0;return Ex(v[v[a>>2]-12>>2]+a|0)|0}function gh(a,b){if(!v[a+4>>2]){cb(a+52|0,b+52|0,908)}}function aP(a){a=a|0;return Dx(v[v[a>>2]-12>>2]+a|0)|0}function Zpa(a){a=a|0;return(v[a+4>>2]|v[a+8>>2])!=0|0}function Rfa(a){a=a|0;v[a>>2]=979108;tu(a+508|0);$a(a)}function PJa(a,b){a=a|0;b=b|0;YA(v[a+8>>2],1);return 0}function Nla(a){a=a|0;if(a){v[a+208>>2]=v[a+208>>2]|1}}function Jj(a,b,c){a=v[a+4>>2];t[a+25|0]=1;Td(a,b,c,1)}function ISa(a){a=a|0;return Qa[v[v[a>>2]+48>>2]](a)|0}function Ej(a){a=v[v[a+4>>2]+4>>2];if(!a){return}DX(a)}function EOa(a){a=a|0;v[a>>2]=359652;Wf(a+116|0);$a(a)}function D_(a){a=a|0;a=v[a+156>>2];if(a){v[a+36>>2]=0}}function ASa(a){a=a|0;return Qa[v[v[a>>2]+24>>2]](a)|0}function $ia(a,b){a=a|0;b=b|0;return!Hb(b,227174,-1)|0}function zBa(a){a=a|0;Gg(v[a+4>>2]);Nd(v[a>>2]);Nd(a)}function ye(a,b){a=LD(a,b);return w[a|0]==(b&255)?a:0}function xOa(a){a=a|0;v[a>>2]=359780;Wf(a+92|0);$a(a)}function t1a(a,b){a=a|0;b=b|0;v[a+12>>2]=v[a+12>>2]+b}function rOa(a){a=a|0;v[a>>2]=359888;Wf(a+92|0);$a(a)}function kHa(a,b){a=a|0;b=b|0;if(b){t[b|0]=1}return 0}function gt(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return 0}function fr(a){var b=0;b=v[a+48>>2];if(b){$a(b)}$a(a)}function bi(a){var b=0;b=v[a+12>>2];if(b){$a(b)}$a(a)}function aC(a){a=a|0;return Qa[v[v[a>>2]+28>>2]](a)|0}function Pt(a){var b=0;b=v[a+16>>2];if(b){$a(b)}$a(a)}function OZa(a){a=a|0;return B(B(a,85)&255,257)&65535}function MZa(a){a=a|0;return B(B(a,17)&255,257)&65535}function AOa(a){a=a|0;v[a>>2]=359728;Wf(a+92|0);$a(a)}function x0a(a,b){a=a|0;b=b|0;t[a+2252|0]=1;return 0}function w3a(a){if(a){return 31-E(a-1^a)|0}return 32}function w0a(a,b){a=a|0;b=b|0;t[a+2252|0]=2;return 0}function ipa(a){a=a|0;v[a>>2]=952584;bb(a+8|0);$a(a)}function c1a(a){a=a|0;return v[a+28>>2]+v[a+24>>2]|0}function bMa(a,b,c){a=a|0;b=b|0;c=c|0;S0(a+68|0,b,c)}function aqa(a){a=a|0;v[a>>2]=928984;bb(a+8|0);$a(a)}function Mna(a){a=a|0;return v[a+40>>2]-v[a+24>>2]|0}function CJa(a){a=a|0;return xb(x[a+256>>1],VA(a))|0}function $Oa(a){a=a|0;v[a>>2]=351616;Vo(a+8|0);$a(a)}function xia(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;zg(a)}function pHa(a,b){a=a|0;b=b|0;return Lk(450672,b)|0}function o1a(a){a=a|0;return v[a+12>>2]+v[a+8>>2]|0}function nLa(a,b){a=a|0;b=b|0;return Lk(424160,b)|0}function l_(a){v[a+16>>2]=0;it(v[v[a+28>>2]+12>>2])}function l2a(a,b){a=a|0;b=b|0;v[a+84>>2]=2;return 0}function j0a(a){a=a|0;return!v[a+4>>2]|w[a+24|0]!=0}function iDa(a,b){a=a|0;b=b|0;v[a+16>>2]=b;return 0}function dGa(a,b){a=a|0;b=b|0;return Lk(454576,b)|0}function cJa(a,b){a=a|0;b=b|0;return Lk(444032,b)|0}function ZGa(a,b){a=a|0;b=b|0;return Lk(452784,b)|0}function UDa(a,b){a=a|0;b=b|0;return Lk(518640,b)|0}function Kl(a){a=a|0;v[a>>2]=1032;Tg(a);Cg(a);$a(a)}function HKa(a,b){a=a|0;b=b|0;return Lk(425968,b)|0}function HGa(a,b){a=a|0;b=b|0;return Lk(453104,b)|0}function HEa(a,b){a=a|0;b=b|0;return Lk(518304,b)|0}function pGa(a,b){a=a|0;b=b|0;return Lk(454e3,b)|0}function ita(a,b,c){a=a|0;b=b|0;c=c|0;v[a+36>>2]=1}function hta(a,b,c){a=a|0;b=b|0;c=c|0;v[a+36>>2]=2}function gr(a){var b=0;b=v[a>>2];if(b){$a(b)}$a(a)}function dua(a){a=a|0;return cb(ab(1576),a,1576)|0}function Rza(a,b,c){a=a|0;b=b|0;c=c|0;Hk(a,b,c,11)}function Qza(a,b,c){a=a|0;b=b|0;c=c|0;Hk(a,b,c,16)}function Oza(a,b,c){a=a|0;b=b|0;c=c|0;Hk(a,b,c,17)}function Nza(a,b,c){a=a|0;b=b|0;c=c|0;Hk(a,b,c,18)}function Mza(a,b,c){a=a|0;b=b|0;c=c|0;Hk(a,b,c,19)}function lq(a,b,c){ee((v[a+4>>2]+(b<<5)|0)+8|0,c)}function cIa(a){a=a|0;Qa[v[v[a+552>>2]+28>>2]](a)}function aAa(a,b,c){a=a|0;b=b|0;c=c|0;Hk(a,b,c,1)}function Xza(a,b,c){a=a|0;b=b|0;c=c|0;Hk(a,b,c,2)}function Wza(a,b,c){a=a|0;b=b|0;c=c|0;Hk(a,b,c,3)}function Vza(a,b,c){a=a|0;b=b|0;c=c|0;Hk(a,b,c,4)}function Uza(a,b,c){a=a|0;b=b|0;c=c|0;Hk(a,b,c,5)}function Tza(a,b,c){a=a|0;b=b|0;c=c|0;Hk(a,b,c,6)}function Sza(a,b,c){a=a|0;b=b|0;c=c|0;Hk(a,b,c,8)}function RZa(a){a=a|0;return B(0-a&255,257)&65535}function PR(a,b){jb(a+8|0,b);jo(Mf(),v[a+8>>2],a)}function CA(a,b,c){a=v[a+4>>2];if(a){Lb(b,1,c,a)}}function Af(a,b,c){return Ix(a,b,c,-2147483648,0)}function xJa(a,b,c){a=a|0;b=b|0;c=c|0;return b|0}function wP(a,b){a=KD(a,b)+a|0;return w[a|0]?a:0}function wJa(a,b,c){a=a|0;b=b|0;c=c|0;return c|0}function wCa(a,b){a=a|0;b=b|0;v[b>>2]=0;return 0}function uia(a,b){a=a|0;b=b|0;return B(b,24)+a|0}function sy(a){a=v[a+8>>2];if(!a){return}YR(a,1)}function kPa(a){a=a|0;return+A[v[a+16>>2]+16>>3]}function bpa(a){a=a|0;fb(7,-1,258225,0);return 0}function Ux(a,b){Vx(a,b);v[a>>2]=987924;return a}function Oka(a,b){a=a|0;b=b|0;return B(b,68)+a|0}function Ipa(a){a=a|0;fb(7,-1,256483,0);return-1}function Hea(a,b){a=a|0;b=b|0;return B(b,20)+a|0}function Ah(a,b,c,d){dk(a,b,c,w[a+200|0]==219,d)}function A3a(a,b){v3a(a,b,900,0);Pa=Oa;return Na}function $ja(a,b){a=a|0;b=b|0;return B(b,44)+a|0}function $D(a,b){dQ(a,b);v[a>>2]=987956;return a}function xD(a,b,c,d){a=Ix(a,b,c,-1,-1);return a}function pla(a){a=a|0;v[a+24>>2]=0;v[a+16>>2]=0}function nP(a,b,c){a=a|0;b=b|0;c=c|0;return a|0}function lPa(a){a=a|0;return+A[v[a+16>>2]+8>>3]}function ih(a){v[a>>2]=0;t[v[a+4>>2]]=0;pg(a,0)}function iF(a,b){a=a|0;b=b|0;return B(b,56)+a|0}function i3a(a){a=a|0;a=v[a+28>>2];if(a){$a(a)}}function cs(a,b){a=a|0;b=b|0;return B(b,28)+a|0}function cga(a,b){a=a|0;b=b|0;v[a>>2]=0;qb(a,b)}function apa(a,b){a=a|0;b=b|0;fb(7,-1,258258,0)}function ap(a,b){if(!(!a|!b)){HB(v[a+16>>2],b)}}function _ia(a,b){a=a|0;b=b|0;return B(b,3)+a|0}function WFa(a,b,c){a=a|0;b=b|0;c=c|0;return 12}function U2a(a){a=a|0;a=v[a+52>>2];if(a){$a(a)}}function Ru(a,b){a=a|0;b=b|0;return B(b,12)+a|0}function Q_(a,b){if(!v[a+32>>2]){Oe(v[a>>2],b)}}function QS(a,b){a=a|0;b=b|0;return B(b,40)+a|0}function Oya(a,b){a=a|0;b=b|0;return v[b+12>>2]}function Ip(a,b){if(!a){return 0}return Jp(a,b)}function CN(a){var b=0,c=0;b=a,c=te(),v[b>>2]=c}function xC(a){a=a|0;a=v[a+20>>2];if(a){$a(a)}}function ska(a,b){a=a|0;b=b|0;return(b<<5)+a|0}function sh(a,b,c){if(!(w[a|0]&32)){nx(b,c,a)}}function rE(a,b){a=a|0;b=b|0;v[a>>2]=0;qb(a,0)}function qda(a){a=a|0;VO(v[v[a>>2]-12>>2]+a|0)}function q6(a){a=a|0;return zb(v[a+12>>2])+1|0}function oda(a){a=a|0;UO(v[v[a>>2]-12>>2]+a|0)}function nKa(a,b){a=a|0;b=b|0;return A$(a,b)|0}function lea(a){a=a|0;return(a<<8|a>>>8)&65535}function iM(a){a=a|0;a=v[a+16>>2];if(a){$a(a)}}function gM(a){a=a|0;a=v[a+12>>2];if(a){$a(a)}}function aV(a,b){cb(v[a>>2],v[b>>2],v[a+4>>2])}function W$(a){a=a|0;v[a+16>>2]=0;v[a+20>>2]=0}function UJa(a){a=a|0;v[a- -64>>2]=40;return 0}function T5(a){a=a|0;a=v[a+24>>2];if(a){$a(a)}}function Mia(a,b){a=a|0;b=b|0;return(b<<1)+a|0}function E6(a){a=a|0;return(v[a+12>>2]<<1)+4|0}function z3a(a,b,c,d){a=v3a(a,b,c,d);return a}function jP(a){a=a|0;FD(v[v[a>>2]-12>>2]+a|0)}function hha(a){a=a|0;return(w[a+56|0]?4:1)|0}function hF(a,b){a=a|0;b=b|0;return(b<<4)+a|0}function bV(a,b,c){return PV(v[a+428>>2],b,c)}function VL(a,b,c){a=a|0;b=b|0;c=c|0;return-1}function Ox(a,b,c){return VD(a,b,c,4121,4122)}function Mj(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function GS(a,b){a=a|0;b=b|0;return(b<<2)+a|0}function CR(a,b){a=a|0;b=b|0;return(b<<3)+a|0}function Aga(a){a=a|0;return td(v[a+12>>2])|0}function $ga(a){a=a|0;return(w[a+64|0]?5:3)|0}function $O(a){a=a|0;DD(v[v[a>>2]-12>>2]+a|0)}function vv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0}function uIa(a){a=a|0;v[v[a+156>>2]+36>>2]=0}function tPa(a){a=a|0;return v[a+16>>2]+56|0}function sPa(a){a=a|0;return v[a+16>>2]+52|0}function pPa(a){a=a|0;return v[a+16>>2]+44|0}function jha(a){a=a|0;if(a){$i(v[a+180>>2])}}function dma(a){a=a|0;Kf(a+4|0);return a-8|0}function c7(a){a=a|0;return v[a+964>>2]!=0|0}function aea(a){a=a|0;return $(v[a+60>>2])|0}function Zya(a,b){a=a|0;b=b|0;return Fe(b)|0}function Uya(a,b){a=a|0;b=b|0;return WD(b)|0}function Sna(a){a=a|0;return v[v[a+8>>2]>>2]}function Sba(a){a=a|0;Qa[v[v[a>>2]+4>>2]](a)}function D0a(a,b){a=a|0;b=b|0;return a4(a)|0}function CY(a,b,c){return cw(a,b,8,15,8,0,c)}function $La(a){a=a|0;v[v[a+480>>2]+28>>2]=1}function $Ha(a){a=a|0;return v[a+8>>2]>>>9&1}function $Fa(a,b){a=a|0;b=b|0;return gb(b)|0}function uva(a,b,c,d){a=a|0;b=b|0;c=+c;d=+d}function sja(a,b){a=a|0;b=b|0;v[a+132>>2]=b}function rea(a){a=a|0;rB(1184800,v[296201])}function qMa(a){a=a|0;rB(1163448,v[290863])}function nJ(a,b){eb(a+4|0,0,2756);v[a>>2]=b}function j4(a){t[a+1124|0]=0;gp(a);return 0}function fma(a){a=a|0;Kf(a+12|0);return a|0}function bba(a,b){a=a|0;b=b|0;sb(a,1004472)}function Wpa(a){a=a|0;return v[a+8>>2]!=5|0}function POa(a){a=a|0;v[v[a+456>>2]>>2]=176}function LZa(a){a=a|0;return B(a,257)&65535}function KNa(a,b){a=a|0;b=b|0;v[a+168>>2]=b}function Cra(a,b){a=a|0;b=b|0;v[b>>2]=65536}function $aa(a,b){a=a|0;b=b|0;sb(a,1004492)}function zPa(a,b){a=a|0;b=b|0;E2(b,a+88|0)}function xPa(a,b){a=a|0;b=b|0;E2(a+88|0,b)}function wp(a){a=a|0;return v[a+4>>2]!=0|0}function rja(a,b){a=a|0;b=b|0;t[a+136|0]=b}function fya(a,b){a=a|0;b=b|0;if(a){dY(a)}}function eba(a,b){a=a|0;b=b|0;pD(a,b+12|0)}function eMa(a,b){a=a|0;b=b|0;N0(a+68|0,b)}function dba(a,b){a=a|0;b=b|0;pD(a,b+16|0)}function cba(a,b){a=a|0;b=b|0;lj(a,275107)}function cNa(a,b){a=a|0;b=b|0;v[a+20>>2]=b}function bka(a,b){a=a|0;b=b|0;v[a+84>>2]=b}function aba(a,b){a=a|0;b=b|0;lj(a,276877)}function KLa(a,b){a=a|0;b=b|0;yn(a+20|0,b)}function Dka(a,b){a=a|0;b=b|0;return a+b|0}function $c(a,b){v[a+168>>2]=b;tc(a,1);L()}function mB(a,b,c,d){return v0(a,b,c,d,1)}function eua(a){a=a|0;return v[a+2984>>2]}function dh(a,b,c){return gu(a,b,b>>31,c)}function cua(a){a=a|0;return v[a+1568>>2]}function cma(a){a=a|0;Kf(a+4|0);$a(a-8|0)}function aka(a,b){a=a|0;b=b|0;t[a+88|0]=b}function Zta(a){a=a|0;return v[a+1576>>2]}function MD(a,b){od(zb(a)+a|0,b);return a}function GH(a,b,c,d){return Tv(a,b,c,0,d)}function Ex(a){a=a|0;Kf(a+8|0);return a|0}function Dx(a){a=a|0;Kf(a+4|0);return a|0}function $ta(a){a=a|0;return v[a+1064>>2]}function zj(a,b){return yz(v[a+24>>2],b)}function yJa(a){a=a|0;return x[a+256>>1]}function vG(a,b){return FU(v[a+12>>2],b)}function dha(a){a=a|0;return v[a+100>>2]}function cha(a){a=a|0;return v[a+104>>2]}function az(a,b){a=a|0;b=b|0;return b|0} -function aNa(a){a=a|0;return+A[a+128>>3]}function _Ma(a){a=a|0;return v[a+144>>2]}function ZMa(a){a=a|0;return v[a+148>>2]}function Yga(a){a=a|0;return v[a+124>>2]}function YMa(a){a=a|0;return v[a+152>>2]}function Wda(a){a=a|0;return v[a+368>>2]}function VJa(a){a=a|0;p$(a);t[a+112|0]=0}function UZa(a){a=a|0;return(a<<1|a)&255}function TZa(a){a=a|0;return B(a,15)&255}function Pqa(a){a=a|0;return v[a+128>>2]}function PZa(a){a=a|0;return B(a,85)&255}function Oqa(a){a=a|0;return v[a+132>>2]}function OW(a,b){Zg(a,v[b+4>>2],v[b>>2])}function NZa(a){a=a|0;return B(a,17)&255}function KMa(a){a=a|0;return v[a+248>>2]}function JNa(a){a=a|0;return v[a+164>>2]}function JMa(a){a=a|0;return v[a+252>>2]}function IMa(a){a=a|0;return v[a+256>>2]}function Hx(a,b,c){return Ix(a,b,c,-1,0)}function HZa(a){a=a|0;return a<<15&32768}function HMa(a){a=a|0;return v[a+260>>2]}function EZa(a){a=a|0;return a<<14&49152}function CZa(a){a=a|0;return a<<12&61440}function $Ma(a){a=a|0;return v[a+140>>2]}function zva(a){a=a|0;return w[a+208|0]}function wBa(a){a=a|0;return v[a+24>>2]}function uja(a,b){a=a|0;b=b|0;ZR(a,b,1)}function tN(a,b,c){if(b){eb(a,c&255,b)}}function nO(a,b){a=a|0;b=b|0;AO(a,1,45)}function mO(a,b){a=a|0;b=b|0;qD(a,1,45)}function fha(a){a=a|0;return v[a+92>>2]}function eha(a){a=a|0;return v[a+96>>2]}function e1(a){a=a|0;return v[a+168>>2]}function a1(a){a=a|0;return v[a+136>>2]}function _D(a){a=a|0;return v[a+364>>2]}function TD(a,b,c){return VD(a,b,c,0,0)}function QZa(a){a=a|0;return B(a,5)&255}function Jpa(a){a=a|0;return v[a+60>>2]}function HH(a,b,c){return Tv(a,b,0,0,c)}function Gt(a,b,c){return ep(255,a,b,c)}function BP(a,b,c){am(a,2147483647,b,c)}function zTa(a){a=a|0;return Yb(1,a)|0}function wia(a,b,c){a=a|0;b=b|0;c=C(c)}function w9(a){a=a|0;return w[a+348|0]}function vx(a){a=a|0;return 2147483647}function r5(a){a=a|0;return v[a+48>>2]}function ema(a){a=a|0;Kf(a+12|0);$a(a)}function bN(a){a=a|0;return v[a+52>>2]}function Zm(a){a=a|0;return v[a+12>>2]}function XC(a){a=a|0;return v[a+20>>2]}function V9(a){a=a|0;return v[a+44>>2]}function Th(a){eb(v[a>>2],0,v[a+4>>2])}function Swa(a){a=a|0;Qa[v[256556]](a)}function R9(a){a=a|0;return x[a+26>>1]}function Nk(a,b,c){Td(v[a+4>>2],b,c,2)}function IA(a){a=a|0;return v[a+28>>2]}function EG(a,b){a=a|0;b=b|0;v[b>>2]=0}function DK(a){a=a|0;return v[a+16>>2]}function $k(a){return RN(a,v[a+72>>2])}function wGa(a){a=a|0;nB(v[a+160>>2])}function sm(a,b,c){return le(a,b,c,0)}function rva(a,b){a=a|0;b=b|0;xv(a,b)}function qH(a){a=a|0;return v[a+4>>2]}function oKa(a,b){a=a|0;b=b|0;D$(a,b)}function kc(a,b){return bd(a,b,ce(b))}function hP(a,b){return TO(a)^TO(b)^1}function gba(a){a=a|0;return t[a+8|0]}function fm(a){a=a|0;bc(a);return a|0}function fba(a){a=a|0;return t[a+9|0]}function cP(a,b){return SO(a)^SO(b)^1}function W9(a,b){a=a|0;b=b|0;return 1}function Tt(a,b){a=a|0;b=b|0;return-1}function Sm(a,b){return Bp(a,b,zb(b))}function RT(a){a=a|0;return v[a+8>>2]}function MFa(a){a=a|0;Hg(a,v[a+8>>2])}function Lm(a,b){a=a|0;b=b|0;return 0}function KZa(a){a=a|0;return a<<1&254}function JZa(a){a=a|0;return a<<3&248}function IZa(a){a=a|0;return a<<7&128}function GZa(a){a=a|0;return a<<2&252}function FZa(a){a=a|0;return a<<6&192}function FG(a,b){return yz(v[a>>2],b)}function DZa(a){a=a|0;return a<<4&240}function xva(a,b,c){a=a|0;b=b|0;c=+c}function xEa(a){a=a|0;return a+100|0}function wEa(a){a=a|0;return a+112|0}function uEa(a){a=a|0;return a+140|0}function rU(a,b){a=a|0;b=b|0;Tb(a,b)}function rPa(a){a=a|0;zB(v[a+16>>2])}function oSa(a){a=a|0;return Fe(a)|0}function nda(a){a=a|0;return ab(a)|0}function lSa(a){a=a|0;return Jr(a)|0}function lQ(){ii(308585);v[296199]=0}function bx(a,b){a=a|0;b=b|0;S();L()}function _Ja(a){a=a|0;dd(v[a+24>>2])}function SZa(a){a=a|0;return 0-a&255}function Bi(a,b,c){a=a|0;b=b|0;c=c|0}function ur(a,b,c){if(c){id(a,b,c)}}function sk(a,b,c){if(c){cb(a,b,c)}}function rk(a,b,c){if(c){rb(a,b,c)}}function r4(a,b,c){return Jb(a,b,c)}function qaa(a){a=a|0;return 246188}function oTa(a,b){a=a|0;b=b|0;$a(a)}function mc(a){tb(v[a>>2]);return a}function iO(a){return Zl(a,1187312)}function iMa(a){a=a|0;return a+28|0}function hi(a){return Zl(a,1187420)}function hO(a){return Zl(a,1187304)}function hMa(a){a=a|0;return a+68|0}function fza(a){a=a|0;return 225246}function cO(a){return Zl(a,1187328)}function bha(a){a=a|0;return 349015}function bO(a){return Zl(a,1187320)}function _l(a,b){du(a,v[a+16>>2]|b)}function Zga(a){a=a|0;return 977366}function Zf(a){gP(v[a>>2]);return a}function Yi(a){return Zl(a,1187428)}function Yf(a){bP(v[a>>2]);return a}function YX(a,b){return le(a,b,0,0)}function WO(a){return Zl(a,1187436)}function SD(a,b,c){VD(a,b,c,4121,0)}function PK(a){a=a|0;return Hp(a)|0}function MX(a,b){return Mv(a,b,0,1)}function KEa(a){a=a|0;return a+16|0}function Dr(a){return Zl(a,1187468)}function Br(a){return Zl(a,1187476)}function qk(a,b){a=a|0;b=b|0;ud(a)}function Uwa(a){a=a|0;if(a){TX(a)}}function UQ(a,b){TQ(a,b,3940,3941)}function RQ(a,b){TQ(a,b,3942,3943)}function M$(a,b){a=a|0;b=b|0;$a(b)}function zaa(a){a=a|0;Vb(1187644)}function tga(a){a=a|0;vd(1184760)}function oaa(a){a=a|0;bD(a);$a(a)}function kka(a){a=a|0;db(1165580)}function jka(a){a=a|0;db(1165592)}function gK(a){a=a|0;return a+8|0}function Wha(a){a=a|0;db(1166212)}function Via(a){a=a|0;ac(1165632)}function Vha(a){a=a|0;db(1166224)}function Uha(a){a=a|0;db(1166236)}function Tha(a){a=a|0;db(1166248)}function P1a(a){a=a|0;v[a+4>>2]=2}function Naa(a){a=a|0;Vb(1187532)}function Mh(a,b){return hP(a,b)^1}function Lh(a,b){return cP(a,b)^1}function Laa(a){a=a|0;Vb(1187548)}function Jaa(a){a=a|0;Vb(1187564)}function I_(a){a=a|0;v[a+16>>2]=0}function Haa(a){a=a|0;Vb(1187580)}function Faa(a){a=a|0;Vb(1187596)}function Daa(a){a=a|0;Vb(1187612)}function Bha(a){a=a|0;db(1166260)}function Baa(a){a=a|0;Vb(1187628)}function BZa(a){a=a|0;return a<<8}function BB(a){v[a+40>>2]=6;y2(a)}function tF(a){a=a|0;bc(a);$a(a)}function gs(a){v[a>>2]=0;qb(a,0)}function ec(a){$a(v[v[a>>2]>>2])}function bQ(a){fu(v[a>>2]);$a(a)}function _c(a,b){XH(a,v[b+4>>2])}function We(a,b,c,d){Pp(a,b,c,d)}function WH(a,b){sY(a,v[b+4>>2])}function No(a,b,c,d){Fj(a,b,c,d)}function yya(a){a=a|0;$a(rY(a))}function yg(a,b){return hP(a,b)}function xsa(a){a=a|0;$a(wV(a))}function wx(a){a=a|0;return 127}function wba(a){a=a|0;$a(XN(a))}function vg(a){a=a|0;return a|0}function tya(a){a=a|0;lY(a-8|0)}function roa(a){a=a|0;$a(qU(a))}function ph(a,b){return Wd(a,b)}function paa(a){a=a|0;$a(bD(a))}function mna(a){a=a|0;$a(XT(a))}function lla(a){a=a|0;$a(rT(a))}function kMa(a){a=a|0;$a(M0(a))}function jg(a,b){return cP(a,b)}function iba(a){a=a|0;$a(MN(a))}function hba(a){a=a|0;$a(LN(a))}function gn(a,b){return ji(a,b)}function eNa(a){a=a|0;$a(c1(a))}function aMa(a){a=a|0;$a(JJ(a))}function Wka(a){a=a|0;$a(lT(a))}function WMa(a){a=a|0;$a($0(a))}function Uua(a){a=a|0;$a(uW(a))}function Uka(a){a=a|0;$a(bT(a))}function Uea(a){a=a|0;$a(nQ(a))}function Uba(a){a=a|0;$a(TN(a))}function Tja(a){a=a|0;QE(kS(a))}function Sia(a){a=a|0;$a(DR(a))}function Rda(a){a=a|0;$a(HD(a))}function RWa(a){a=a|0;$a(Mt(a))}function Qm(a){return af(a,0,0)}function Ppa(a){a=a|0;$a(zU(a))}function Pda(a){a=a|0;$a(GD(a))}function Lqa(a){a=a|0;$a(YU(a))}function LRa(a){a=a|0;$a(I2(a))}function Kwa(a){a=a|0;$a(PW(a))}function Kda(a){a=a|0;$a(Nh(a))}function Jia(a){a=a|0;$a(yR(a))}function Gqa(a){a=a|0;$a(WU(a))}function Fja(a){a=a|0;$a(aS(a))}function Fba(a){a=a|0;$a(QN(a))}function Ena(a){a=a|0;$a(eU(a))}function Cda(a){a=a|0;$a(Er(a))}function Bsa(a){a=a|0;$a(yV(a))}function Aja(a){a=a|0;QE(_R(a))}function sN(a,b){Te(a,b,zb(b))}function pN(a,b){qx(a,b,ce(b))}function ov(a){a=a|0;return 10}function bo(a){Ee(a,v[249421])}function XX(a,b,c){Ps(a,b,c,0)}function Vf(a,b){GI(a,b,zb(b))}function VO(a){a=a|0;$a(zD(a))}function UO(a){a=a|0;$a(yD(a))}function IN(a){a=a|0;$a(kD(a))}function FD(a){a=a|0;$a(Ex(a))}function DD(a){a=a|0;$a(Dx(a))}function A6(a){a=a|0;return 12}function zG(a){a=a|0;return 6}function yy(a,b){Lf(a,b+12|0)}function yG(a){a=a|0;return 7}function xG(a){a=a|0;return 8}function wG(a){a=a|0;return 9}function w2(a,b){Dl(a+52|0,b)}function vo(a){a=a|0;return 3}function v2(a,b){Dl(a+48|0,b)}function pea(){return 1184824}function nv(a){a=a|0;return-1}function nd(a){a=a|0;return 1}function kq(a){a=a|0;return 4}function ju(a){return Zk(1,a)}function fn(a){a=a|0;return 2}function aY(a){return Rv(a,0)}function Ue(a){return Jx(a,0)}function Qc(a){a=a|0;return 0}function AG(a){a=a|0;return 5}function sc(){Zd(272055);L()}function fd(a,b){a=a|0;b=b|0}function bM(a,b){cb(b,a,104)}function VN(a){DN(a,v[a>>2])}function Jc(){Zd(237451);L()}function Hf(a,b,c){eb(a,b,c)}function Fd(a,b,c){cb(a,b,c)}function uPa(a){a=a|0;Tq(a)}function tb(a){if(a){$a(a)}}function NY(a){if(a){Nd(a)}}function sd(a){a=a|0;$a(a)}function baa(){return Ma|0}function aaa(a){a=a|0;Ma=a}function Jd(a,b){eb(a,0,b)}function sX(a){wl(a,2726)}function nh(a){a=a|0;L()}function je(a,b){sN(a,b)}function cD(a,b){_t(a,b)}function Rd(a,b){pN(a,b)}function gi(){_f();L()}function fP(a){du(a,0)}function _f(){S();L()}function we(a){a=a|0}function Kf(a){HD(a)}function raa(){L()}function Y$(){} +function vHa(a,b){a=a|0;b=b|0;var 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;c=Qb-432|0;Qb=c;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{V:{W:{X:{Y:{Z:{_:{$:{aa:{ba:{ca:{da:{ea:{fa:{ga:{if(!v[a+168>>2]){break ga}f=v[b+492>>2];if(!f){break ga}d=v[a+104>>2];A[c+224>>3]=A[b+496>>3];Ub[v[v[d>>2]+236>>2]](d,c+224|0)|0;t[c+427|0]=0;v[c+416>>2]=0;t[c+411|0]=0;v[c+400>>2]=0;v[c+396>>2]=0;h=v[a+168>>2];b=v[f+8>>2];d=v[f+12>>2];v[299999]=0;v[c+384>>2]=b;v[c+388>>2]=d;v[c+8>>2]=b;v[c+12>>2]=d;b=Y(3094,h|0,c+8|0,c+396|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break fa}ha:{ia:{ja:{ka:{la:{ma:{na:{oa:{pa:{qa:{ra:{sa:{ta:{ua:{if(!b){d=v[f+20>>2];if((d|0)==4){t[v[c+396>>2]+48|0]=1;break ha}t[c+379|0]=0;v[c+368>>2]=0;t[c+357|0]=0;t[c+358|0]=0;t[c+359|0]=0;t[c+360|0]=0;t[c+361|0]=0;t[c+362|0]=0;t[c+363|0]=0;t[c+364|0]=0;v[c+352>>2]=0;v[c+356>>2]=0;b=v[f+36>>2];e=v[f+32>>2];if((e|0)>=0){v[c+328>>2]=0;v[c+320>>2]=0;v[c+324>>2]=0;va:{wa:{switch(d-1|0){case 0:v[299999]=0;Q(3095,c+320|0,885884)|0;h=v[299999];v[299999]=0;if((h|0)==1){break e}break va;case 1:v[299999]=0;Q(3095,c+320|0,885916)|0;h=v[299999];v[299999]=0;if((h|0)==1){break e}break va;case 2:v[299999]=0;Q(3095,c+320|0,885952)|0;h=v[299999];v[299999]=0;if((h|0)==1){break e}break va;case 4:v[299999]=0;Q(3095,c+320|0,885996)|0;h=v[299999];v[299999]=0;if((h|0)==1){break e}break va;case 5:v[299999]=0;Q(3095,c+320|0,886016)|0;h=v[299999];v[299999]=0;if((h|0)==1){break e}break va;case 6:v[299999]=0;Q(3095,c+320|0,886036)|0;h=v[299999];v[299999]=0;if((h|0)==1){break e}break va;case 7:v[299999]=0;Q(3095,c+320|0,886064)|0;h=v[299999];v[299999]=0;if((h|0)==1){break e}break va;case 8:v[299999]=0;Q(3095,c+320|0,886096)|0;h=v[299999];v[299999]=0;if((h|0)==1){break e}break va;case 9:v[299999]=0;Q(3095,c+320|0,886136)|0;h=v[299999];v[299999]=0;if((h|0)!=1){break va}break e;case 10:break wa;default:break va}}v[299999]=0;Q(3095,c+320|0,886164)|0;h=v[299999];v[299999]=0;if((h|0)==1){break e}}v[299999]=0;h=v[293894];k=v[299999];v[299999]=0;if((k|0)==1){break e}if(h){v[299999]=0;h=v[293894];k=v[299999];v[299999]=0;if((k|0)==1){break e}k=v[v[h>>2]+28>>2];v[299999]=0;V(k|0,c+224|0,h|0);h=v[299999];v[299999]=0;if((h|0)==1){break e}if(t[c+379|0]<=-1){dc(v[c+368>>2])}v[c+376>>2]=v[c+232>>2];h=v[c+228>>2];v[c+368>>2]=v[c+224>>2];v[c+372>>2]=h}v[c+236>>2]=b;v[c+232>>2]=e;v[c+224>>2]=9;v[c+336>>2]=13;b=v[a+164>>2];v[299999]=0;Z(3097,c+224|0,b|0,c+336|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break e}v[299999]=0;R(3098,c+224|0);b=v[299999];v[299999]=0;if((b|0)==1){break e}if(v[c+336>>2]!=8){b=0;v[299999]=0;R(3098,c+336|0);h=v[299999];v[299999]=0;if((h|0)==1){break e}t[v[c+396>>2]+48|0]=1;break la}b=v[c+344>>2];h=v[v[b>>2]+20>>2];v[299999]=0;R(h|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break e}v[299999]=0;k=S(15,65535)|0;b=v[299999];v[299999]=0;if((b|0)==1){break e}h=v[c+344>>2];j=v[v[h>>2]+28>>2];b=0;v[299999]=0;j=S(j|0,h|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break e}xa:{if((j|0)!=-1){h=65535;while(1){if((b|0)>=(h|0)){v[299999]=0;e=h<<1;g=S(15,e|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break xa}h=gc(g,k,h);dc(k);k=h;h=e}t[b+k|0]=j;j=v[c+344>>2];e=v[v[j>>2]+28>>2];v[299999]=0;j=S(e|0,j|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break xa}b=b+1|0;if((j|0)!=-1){continue}break}}v[c+360>>2]=0;v[c+356>>2]=b;v[c+352>>2]=k;v[299999]=0;b=v[293894];h=v[299999];v[299999]=0;if((h|0)==1){break e}h=v[v[b>>2]+16>>2];v[299999]=0;ca(h|0,b|0,c+368|0,v[c+352>>2],v[c+356>>2],1)|0;b=v[299999];v[299999]=0;if((b|0)==1){break e}b=v[c+344>>2];h=v[v[b>>2]+24>>2];v[299999]=0;R(h|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break e}v[299999]=0;R(3098,c+336|0);b=v[299999];v[299999]=0;if((b|0)==1){break e}h=w[c+379|0];b=h<<24>>24;ya:{if(t[c+427|0]>=0){if((b|0)>=0){v[c+424>>2]=v[c+376>>2];b=v[c+372>>2];v[c+416>>2]=v[c+368>>2];v[c+420>>2]=b;break ya}v[299999]=0;Y(2544,c+416|0,v[c+368>>2],v[c+372>>2])|0;b=v[299999];v[299999]=0;if((b|0)!=1){break ya}break e}v[299999]=0;b=(b|0)<0;Y(2545,c+416|0,(b?v[c+368>>2]:c+368|0)|0,(b?v[c+372>>2]:h)|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break e}}b=v[a+160>>2];v[c+32>>2]=0;v[c+208>>2]=0;v[c+212>>2]=1076101120;v[c+192>>2]=0;v[c+196>>2]=1079115776;v[c+64>>2]=0;v[c+68>>2]=1079115776;h=v[v[b>>2]+144>>2];v[299999]=0;b=aa(h|0,b|0,c+416|0,c+32|0,c+208|0,c+192|0,c- -64|0)|0;h=v[299999];v[299999]=0;za:{if((h|0)!=1){if(b){break za}t[v[c+396>>2]+48|0]=1;b=0;break la}break e}b=v[a+160>>2];h=v[v[b>>2]+156>>2];v[299999]=0;V(h|0,c+208|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break e}Aa:{Ba:{Ca:{b=w[c+219|0];if(((b<<24>>24<0?v[c+212>>2]:b)|0)!=8){break Ca}v[299999]=0;b=ca(2608,c+208|0,0,-1,886200,8)|0;h=v[299999];v[299999]=0;if((h|0)==1){break a}if(b){break Ca}b=d-3|0;if(b>>>0<9){break Ba}break na}b=d-1>>>0>1?1:d;if(Ii(886236,c+208|0)){break ma}if(Ii(886264,c+208|0)){d=d-7|0;b=7;if(d>>>0>=5){break ma}b=v[(d<<2)+888932>>2];break ma}b=d;if(!Ii(886308,c+208|0)){break ma}b=d-2|0;if(b>>>0<10){break Aa}break oa}if(!(461>>>b&1)){break na}b=v[(b<<2)+888896>>2];break ma}if(!(979>>>b&1)){break oa}b=v[(b<<2)+888952>>2];break ma}break e}b=v[a+164>>2];v[299999]=0;b=Y(3099,f|0,b|0,0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break d}Da:{Ea:{Fa:{Ga:{Ha:{Ia:{Ja:{Ka:{La:{Ma:{Na:{Oa:{Pa:{Qa:{if(b){b=v[a+164>>2];v[299999]=0;b=Y(3099,f|0,b|0,0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break Qa}b=v[b+16>>2];v[299999]=0;V(3100,c+224|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break Qa}if(t[c+427|0]<=-1){dc(v[c+416>>2])}v[c+424>>2]=v[c+232>>2];b=v[c+228>>2];v[c+416>>2]=v[c+224>>2];v[c+420>>2]=b;b=t[c+427|0];if((b|0)<0?v[c+420>>2]:b&255){break ka}}if(!v[a+160>>2]){break Da}v[c+320>>2]=13;b=v[f+12>>2];v[c+344>>2]=v[f+8>>2];v[c+348>>2]=b;v[c+336>>2]=9;b=v[a+164>>2];v[299999]=0;Z(3097,c+336|0,b|0,c+320|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Pa}v[299999]=0;R(3098,c+336|0);b=v[299999];v[299999]=0;if((b|0)==1){break Pa}ic(c+224|0,0,96);b=v[f+16>>2];v[299999]=0;V(3100,c- -64|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break Oa}if(v[c+320>>2]!=7){break Ha}v[299999]=0;b=v[c+328>>2];v[c+208>>2]=13;b=Z(3101,b|0,237502,c+208|0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Ia}if(v[b>>2]!=7){break Ka}v[c+192>>2]=13;v[299999]=0;Z(3101,v[c+216>>2],280473,c+192|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break La}if(v[c+192>>2]!=4){break Na}v[299999]=0;b=S(3102,v[c+200>>2])|0;d=v[299999];v[299999]=0;if((d|0)==1){break La}break Ma}a=P()|0;O()|0;break c}a=P()|0;O()|0;break c}a=P()|0;O()|0;break pa}v[299999]=0;b=S(1,12)|0;d=v[299999];v[299999]=0;if((d|0)==1){break La}Ra:{if(t[c+75|0]>=0){d=v[c+68>>2];v[b>>2]=v[c+64>>2];v[b+4>>2]=d;v[b+8>>2]=v[c+72>>2];break Ra}v[299999]=0;U(2345,b|0,v[c+64>>2],v[c+68>>2]);d=v[299999];v[299999]=0;if((d|0)==1){break ua}}}v[c+224>>2]=b;v[299999]=0;R(3098,c+192|0);b=v[299999];v[299999]=0;if((b|0)==1){break La}v[299999]=0;Z(3101,v[c+216>>2],219545,c+192|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break La}v[299999]=0;R(3098,c+192|0);b=v[299999];v[299999]=0;if((b|0)==1){break La}v[299999]=0;Z(3101,v[c+216>>2],270179,c+192|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break La}v[299999]=0;R(3098,c+192|0);b=v[299999];v[299999]=0;if((b|0)==1){break La}v[299999]=0;Z(3101,v[c+216>>2],232184,c+192|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break La}v[299999]=0;R(3098,c+192|0);b=v[299999];v[299999]=0;if((b|0)==1){break La}v[299999]=0;Z(3101,v[c+216>>2],220491,c+192|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break La}v[299999]=0;R(3098,c+192|0);b=v[299999];v[299999]=0;if((b|0)==1){break La}v[299999]=0;Z(3101,v[c+216>>2],281503,c+192|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break La}if(!(!v[c+200>>2]|v[c+192>>2]!=1)){v[299999]=0;b=S(1,4)|0;d=v[299999];v[299999]=0;if((d|0)==1){break La}v[b>>2]=1;v[c+244>>2]=b}v[299999]=0;R(3098,c+192|0);b=v[299999];v[299999]=0;if((b|0)==1){break La}v[299999]=0;Z(3101,v[c+216>>2],230838,c+192|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break La}if(v[c+192>>2]==1){v[299999]=0;b=S(1,2)|0;d=v[299999];v[299999]=0;if((d|0)==1){break La}u[b>>1]=v[c+200>>2];v[c+300>>2]=b}v[299999]=0;R(3098,c+192|0);b=v[299999];v[299999]=0;if((b|0)==1){break La}v[299999]=0;Z(3101,v[c+216>>2],273024,c+192|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break La}if(v[c+192>>2]==1){v[299999]=0;b=S(1,2)|0;d=v[299999];v[299999]=0;if((d|0)==1){break La}u[b>>1]=v[c+200>>2];v[c+308>>2]=b}v[299999]=0;R(3098,c+192|0);b=v[299999];v[299999]=0;if((b|0)==1){break La}v[299999]=0;Z(3101,v[c+216>>2],232195,c+192|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break La}if(v[c+192>>2]==1){v[299999]=0;b=S(1,2)|0;d=v[299999];v[299999]=0;if((d|0)==1){break La}u[b>>1]=v[c+200>>2];v[c+316>>2]=b}v[299999]=0;R(3098,c+192|0);b=v[299999];v[299999]=0;if((b|0)==1){break La}v[299999]=0;Z(3101,v[c+216>>2],232218,c+192|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break La}if(v[c+192>>2]==1){v[299999]=0;b=S(1,2)|0;d=v[299999];v[299999]=0;if((d|0)==1){break La}u[b>>1]=v[c+200>>2];v[c+312>>2]=b}v[299999]=0;R(3098,c+192|0);b=v[299999];v[299999]=0;if((b|0)==1){break La}v[299999]=0;Z(3101,v[c+216>>2],309725,c+192|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break La}v[299999]=0;R(3098,c+192|0);b=v[299999];v[299999]=0;if((b|0)==1){break La}v[299999]=0;Z(3101,v[c+216>>2],320709,c+192|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break La}v[299999]=0;R(3098,c+192|0);b=v[299999];v[299999]=0;if((b|0)==1){break La}v[299999]=0;Z(3101,v[c+216>>2],230830,c+192|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break La}if(v[c+192>>2]==1){v[299999]=0;b=S(1,2)|0;d=v[299999];v[299999]=0;if((d|0)==1){break La}u[b>>1]=v[c+200>>2];v[c+304>>2]=b}v[299999]=0;R(3098,c+192|0);b=v[299999];v[299999]=0;if((b|0)==1){break La}v[299999]=0;Z(3101,v[c+216>>2],269603,c+192|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break La}if(v[c+192>>2]==1){v[299999]=0;b=S(1,2)|0;d=v[299999];v[299999]=0;if((d|0)==1){break La}u[b>>1]=v[c+200>>2];v[c+296>>2]=b}v[299999]=0;R(3098,c+192|0);b=v[299999];v[299999]=0;if((b|0)==1){break La}v[299999]=0;Z(3101,v[c+216>>2],269571,c+192|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break La}v[299999]=0;R(3098,c+192|0);b=v[299999];v[299999]=0;if((b|0)==1){break La}v[299999]=0;Z(3101,v[c+216>>2],269612,c+192|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break La}v[299999]=0;R(3098,c+192|0);b=v[299999];v[299999]=0;if((b|0)!=1){break Ja}}a=P()|0;O()|0;break qa}v[299999]=0;b=S(1,12)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Ia}Sa:{if(t[c+75|0]>=0){d=v[c+68>>2];v[b>>2]=v[c+64>>2];v[b+4>>2]=d;v[b+8>>2]=v[c+72>>2];break Sa}v[299999]=0;U(2345,b|0,v[c+64>>2],v[c+68>>2]);d=v[299999];v[299999]=0;if((d|0)==1){break ta}}v[c+224>>2]=b}v[299999]=0;R(3098,c+208|0);b=v[299999];v[299999]=0;if((b|0)!=1){break Ga}}a=P()|0;O()|0;break qa}v[299999]=0;b=S(1,12)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Fa}Ta:{if(t[c+75|0]>=0){d=v[c+68>>2];v[b>>2]=v[c+64>>2];v[b+4>>2]=d;v[b+8>>2]=v[c+72>>2];break Ta}v[299999]=0;U(2345,b|0,v[c+64>>2],v[c+68>>2]);d=v[299999];v[299999]=0;if((d|0)==1){break sa}}v[c+224>>2]=b}b=v[a+160>>2];d=v[v[b>>2]+132>>2];v[299999]=0;b=Y(d|0,b|0,c+224|0,1)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Fa}if(t[c+75|0]<=-1){dc(v[c+64>>2])}iv(c+224|0);if(!b){break Da}d=b+12|0;if(!ho(885380,d)){break Da}v[299999]=0;Q(2679,c+416|0,d|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){d=v[v[f>>2]+8>>2];v[299999]=0;k=S(d|0,f|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){break Ea}}a=P()|0;O()|0;break c}a=P()|0;O()|0;break qa}t[c+192|0]=0;v[c+236>>2]=0;v[c+240>>2]=0;v[299999]=0;v[c+228>>2]=0;v[c+232>>2]=0;v[c+224>>2]=885348;V(3049,c+224|0,0);d=v[299999];v[299999]=0;Ua:{Va:{Wa:{Xa:{Ya:{Za:{_a:{$a:{if((d|0)!=1){d=w[b+11|0];h=v[b>>2];j=v[b+4>>2];v[299999]=0;e=h;h=d<<24>>24<0;$(2656,c+336|0,(h?e:b)|0,(h?j:d)|0,0);d=v[299999];v[299999]=0;if((d|0)==1){break $a}v[299999]=0;d=w[c+347|0];h=d<<24>>24<0;U(3050,c+224|0,(h?v[c+336>>2]:c+336|0)|0,(h?v[c+340>>2]:d)|0);d=v[299999];v[299999]=0;if((d|0)==1){break Wa}d=v[b+40>>2];v[299999]=0;V(3049,c+224|0,(d|0)!=0|0);d=v[299999];v[299999]=0;if((d|0)==1){break Wa}b=v[b+44>>2];v[299999]=0;V(3049,c+224|0,(b|0)!=0|0);b=v[299999];v[299999]=0;if((b|0)==1){break Wa}b=v[c+228>>2];d=v[c+240>>2];t[b|0]=d;t[b+1|0]=d>>>8;t[b+2|0]=d>>>16;t[b+3|0]=d>>>24;v[299999]=0;d=Q(3103,v[c+228>>2],c+192|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Za}i=w[c+192|0];if(i){break _a}j=v[a+168>>2];b=v[f+8>>2];h=v[f+12>>2];v[299999]=0;v[c+184>>2]=b;v[c+188>>2]=h;v[c>>2]=b;v[c+4>>2]=h;aU(j,c);b=v[299999];v[299999]=0;if((b|0)==1){break Za}v[299999]=0;S(3105,d|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Za}break ra}a=P()|0;O()|0;break Ua}a=P()|0;O()|0;break Ua}v[299999]=0;b=Q(3106,c+320|0,d|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break Ya}j=v[b>>2];e=v[b+4>>2];h=w[b+11|0];v[299999]=0;l=j;j=h<<24>>24<0;U(1564,c+208|0,(j?l:c+320|0)|0,(j?e:h)|0);h=v[299999];v[299999]=0;if((h|0)==1){break Xa}if(t[c+427|0]<=-1){dc(v[c+416>>2])}v[c+424>>2]=v[c+216>>2];h=v[c+212>>2];v[c+416>>2]=v[c+208>>2];v[c+420>>2]=h;v[299999]=0;V(3107,c+352|0,c+416|0);h=v[299999];v[299999]=0;if((h|0)==1){break Xa}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;S(3105,d|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break ra}}a=P()|0;O()|0;break Va}a=P()|0;O()|0;break Va}a=P()|0;O()|0;if(t[b+11|0]>-1){break Va}dc(v[b>>2]);break Va}a=P()|0;O()|0}if(t[c+347|0]>-1){break Ua}dc(v[c+336>>2])}v[c+224>>2]=885348;b=v[c+228>>2];if(!b){break c}dc(b);break c}t[v[c+396>>2]+48|0]=1;h=0;break ja}b=v[c+396>>2];if(!b){break ia}d=b+8|0;ab:{if((d|0)==(c+416|0)){break ab}k=w[b+19|0];h=k<<24>>24;if(t[c+427|0]>=0){if((h|0)>=0){v[c+424>>2]=v[d+8>>2];h=v[d+4>>2];v[c+416>>2]=v[d>>2];v[c+420>>2]=h;break ab}d=v[b+12>>2];h=v[b+8>>2];v[299999]=0;Y(2544,c+416|0,h|0,d|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){break ab}break fa}j=v[b+12>>2];e=v[b+8>>2];v[299999]=0;l=d;d=(h|0)<0;Y(2545,c+416|0,(d?e:l)|0,(d?j:k)|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break fa}}d=b+20|0;if((d|0)==(c+400|0)){break ia}k=w[b+31|0];h=k<<24>>24;if(t[c+411|0]>=0){if((h|0)>=0){v[c+408>>2]=v[d+8>>2];b=v[d+4>>2];v[c+400>>2]=v[d>>2];v[c+404>>2]=b;break ia}d=v[b+24>>2];b=v[b+20>>2];v[299999]=0;Y(2544,c+400|0,b|0,d|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break fa}break ia}j=v[b+24>>2];b=v[b+20>>2];v[299999]=0;e=b;b=(h|0)<0;Y(2545,c+400|0,(b?e:d)|0,(b?j:k)|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break fa}break ia}a=P()|0;O()|0;dc(b);break qa}a=P()|0;O()|0;dc(b);break qa}a=P()|0;O()|0;dc(b);break qa}if(t[c+347|0]<=-1){dc(v[c+336>>2])}v[c+224>>2]=885348;b=v[c+228>>2];if(b){dc(b)}h=0;if(!i){break ja}d=k?10:5;k=1;if(v[a+108>>2]!=1){break ka}v[c+72>>2]=0;v[c+64>>2]=0;v[c+68>>2]=0;b=v[v[f>>2]+8>>2];v[299999]=0;b=S(b|0,f|0)|0;h=v[299999];v[299999]=0;bb:{cb:{if((h|0)==1){break cb}db:{if(!b){v[299999]=0;Q(3095,c- -64|0,886324)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break db}break cb}b=v[v[f>>2]+8>>2];v[299999]=0;b=S(b|0,f|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break cb}if(!b){break db}v[299999]=0;Q(3095,c- -64|0,886344)|0;b=v[299999];v[299999]=0;if((b|0)==1){break cb}}v[c+48>>2]=0;h=t[c+75|0];k=v[c+64>>2];eb:{fb:{gb:{hb:{ib:{jb:{kb:{lb:{mb:{nb:{ob:{pb:{qb:{rb:{sb:{tb:{ub:{vb:{wb:{xb:{yb:{zb:{Ab:{Bb:{Cb:{Db:{Eb:{Fb:{Gb:{Hb:{Ib:{Jb:{Kb:{Lb:{Mb:{b=v[294330];Nb:{if(t[b+443|0]>=0){v[c+232>>2]=v[b+440>>2];j=v[b+436>>2];v[c+224>>2]=v[b+432>>2];v[c+228>>2]=j;break Nb}j=v[b+436>>2];b=v[b+432>>2];v[299999]=0;U(2345,c+224|0,b|0,j|0);b=v[299999];v[299999]=0;if((b|0)==1){break Mb}}v[299999]=0;l=aa(3108,c+368|0,c+48|0,886380,((h|0)<0?k:c- -64|0)|0,(t[c+235|0]<0?v[c+224>>2]:c+224|0)|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Lb}if(t[c+235|0]<=-1){dc(v[c+224>>2])}if(l){break Kb}if(!ho(885380,c+368|0)){break Jb}v[299999]=0;S(2734,c+368|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break Jb}break eb}a=P()|0;O()|0;break bb}a=P()|0;O()|0;if(t[c+235|0]>-1){break bb}dc(v[c+224>>2]);break bb}Be(v[c+48>>2]);v[299999]=0;b=Q(3109,c+416|0,c+368|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break eb}Ob:{if(b){v[299999]=0;Q(2679,c+416|0,c+368|0)|0;break Ob}v[299999]=0;S(2734,c+368|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break eb}v[299999]=0;Q(3095,c+368|0,885380)|0}b=v[299999];v[299999]=0;if((b|0)==1){break eb}if(!ho(885380,c+368|0)){break Ib}v[c+40>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+176>>2]=0;v[299999]=0;v[c+168>>2]=0;v[c+172>>2]=0;U(3110,c+416|0,c+32|0,c+168|0);b=v[299999];v[299999]=0;Pb:{Qb:{Rb:{Sb:{Tb:{Ub:{Vb:{Wb:{Xb:{Yb:{Zb:{_b:{$b:{ac:{bc:{cc:{if((b|0)!=1){v[299999]=0;U(2731,c+152|0,c+32|0,886392);b=v[299999];v[299999]=0;if((b|0)==1){break cc}v[c+144>>2]=0;v[c+136>>2]=0;v[c+140>>2]=0;v[c+336>>2]=13;b=v[f+12>>2];v[c+232>>2]=v[f+8>>2];v[c+236>>2]=b;v[c+224>>2]=9;b=v[a+164>>2];v[299999]=0;Z(3097,c+224|0,b|0,c+336|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Pb}v[299999]=0;R(3098,c+224|0);b=v[299999];v[299999]=0;if((b|0)==1){break Pb}if(v[c+336>>2]!=7){break Sb}k=0;v[299999]=0;b=v[c+344>>2];v[c+320>>2]=13;Z(3101,b|0,272962,c+320|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Wb}dc:{switch(v[c+320>>2]-4|0){case 0:break Zb;case 3:break dc;default:break Yb}}v[c+208>>2]=13;v[299999]=0;Z(3101,v[c+328>>2],272923,c+208|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break _b}if(v[c+208>>2]!=4){break ac}b=v[c+216>>2];if(mc(b,272890)){break bc}k=0;break $b}a=P()|0;O()|0;break fb}a=P()|0;O()|0;break fb}k=1;if(!mc(b,272872)){break $b}if(mc(b,272907)){break ac}k=2;break $b}k=-1}v[299999]=0;R(3098,c+208|0);b=v[299999];v[299999]=0;g=1;if((b|0)!=1){break Xb}}a=P()|0;O()|0;break gb}b=v[c+328>>2];if(!mc(b,272890)){break Xb}if(!mc(b,272872)){k=1;break Xb}k=!mc(b,272907)}g=k?0:-1;k=k?2:-1}v[299999]=0;b=Q(3111,c+208|0,886412)|0;h=v[299999];v[299999]=0;if((h|0)==1){break hb}v[299999]=0;U(3112,c+136|0,b|0,1);h=v[299999];v[299999]=0;if((h|0)==1){break ib}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+208|0,886448)|0;h=v[299999];v[299999]=0;if((h|0)==1){break jb}v[299999]=0;h=Q(3111,c+192|0,885380)|0;j=v[299999];v[299999]=0;if((j|0)==1){break lb}v[299999]=0;j=Q(3111,c+120|0,885380)|0;e=v[299999];v[299999]=0;if((e|0)==1){break nb}v[299999]=0;da(3113,c+136|0,b|0,g|0,10,h|0,j|0);e=v[299999];v[299999]=0;if((e|0)==1){break ob}if(t[j+11|0]<=-1){dc(v[j>>2])}if(t[h+11|0]<=-1){dc(v[h>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+208|0,886468)|0;h=v[299999];v[299999]=0;if((h|0)==1){break pb}v[299999]=0;h=Q(3111,c+192|0,885380)|0;j=v[299999];v[299999]=0;if((j|0)==1){break rb}v[299999]=0;j=Q(3111,c+120|0,885380)|0;e=v[299999];v[299999]=0;if((e|0)==1){break tb}v[299999]=0;da(3113,c+136|0,b|0,k|0,10,h|0,j|0);k=v[299999];v[299999]=0;if((k|0)==1){break ub}if(t[j+11|0]<=-1){dc(v[j>>2])}if(t[h+11|0]<=-1){dc(v[h>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+208|0,886412)|0;h=v[299999];v[299999]=0;if((h|0)==1){break vb}v[299999]=0;Q(2725,c+136|0,888824)|0;h=v[299999];v[299999]=0;if((h|0)==1){break wb}if(t[b+11|0]<=-1){dc(v[b>>2])}if(v[c+320>>2]==7){v[c+208>>2]=13;v[299999]=0;Z(3101,v[c+328>>2],236861,c+208|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break xb}ec:{if(v[c+208>>2]!=6){break ec}e=v[v[c+216>>2]+12>>2];v[299999]=0;b=Q(3111,c+192|0,886488)|0;h=v[299999];v[299999]=0;if((h|0)==1){break yb}v[299999]=0;U(3112,c+136|0,b|0,1);h=v[299999];v[299999]=0;if((h|0)==1){break zb}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+192|0,886536)|0;h=v[299999];v[299999]=0;if((h|0)==1){break Ab}v[299999]=0;h=Q(3111,c+120|0,885380)|0;k=v[299999];v[299999]=0;if((k|0)==1){break Cb}v[299999]=0;k=Q(3111,c+104|0,885380)|0;j=v[299999];v[299999]=0;if((j|0)==1){break Eb}v[299999]=0;da(3113,c+136|0,b|0,e|0,10,h|0,k|0);j=v[299999];v[299999]=0;if((j|0)==1){break Fb}if(t[k+11|0]<=-1){dc(v[k>>2])}if(t[h+11|0]<=-1){dc(v[h>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+192|0,886488)|0;h=v[299999];v[299999]=0;if((h|0)==1){break Gb}v[299999]=0;Q(2725,c+136|0,888824)|0;h=v[299999];v[299999]=0;if((h|0)==1){break Hb}if(t[b+11|0]<=-1){dc(v[b>>2])}j=0;if((e|0)>0){while(1){v[c+192>>2]=13;v[299999]=0;Z(3114,v[c+216>>2],j|0,c+192|0,0)|0;b=v[299999];v[299999]=0;fc:{if((b|0)!=1){gc:{hc:{switch(v[c+192>>2]-1|0){case 0:v[299999]=0;b=v[c+200>>2];h=Q(3111,c+120|0,886560)|0;k=v[299999];v[299999]=0;ic:{jc:{kc:{lc:{mc:{nc:{oc:{pc:{qc:{if((k|0)!=1){v[299999]=0;U(3112,c+136|0,h|0,1);h=v[299999];v[299999]=0;if((h|0)==1){break qc}if(t[c+131|0]<=-1){dc(v[c+120>>2])}v[299999]=0;h=Q(3111,c+120|0,886580)|0;k=v[299999];v[299999]=0;if((k|0)==1){break pc}v[299999]=0;k=Q(3111,c+104|0,885380)|0;g=v[299999];v[299999]=0;if((g|0)==1){break oc}v[299999]=0;g=Q(3111,c+88|0,885380)|0;m=v[299999];v[299999]=0;if((m|0)==1){break nc}v[299999]=0;da(3113,c+136|0,h|0,b|0,10,k|0,g|0);b=v[299999];v[299999]=0;if((b|0)==1){break mc}if(t[c+99|0]<=-1){dc(v[c+88>>2])}if(t[c+115|0]<=-1){dc(v[c+104>>2])}if(t[c+131|0]<=-1){dc(v[c+120>>2])}v[299999]=0;Q(3111,c+120|0,886560)|0;b=v[299999];v[299999]=0;if((b|0)==1){break jc}v[299999]=0;Q(2725,c+136|0,888856)|0;b=v[299999];v[299999]=0;if((b|0)==1){break ic}if(t[c+131|0]>-1){break gc}dc(v[c+120>>2]);break gc}a=P()|0;O()|0;break gb}a=P()|0;O()|0;if(t[c+131|0]>-1){break gb}dc(v[c+120>>2]);break gb}a=P()|0;O()|0;break gb}a=P()|0;O()|0;break kc}a=P()|0;O()|0;break lc}a=P()|0;O()|0;if(t[c+99|0]>-1){break lc}dc(v[c+88>>2])}if(t[c+115|0]>-1){break kc}dc(v[c+104>>2])}if(t[c+131|0]>-1){break gb}dc(v[c+120>>2]);break gb}a=P()|0;O()|0;break gb}a=P()|0;O()|0;if(t[c+131|0]>-1){break gb}dc(v[c+120>>2]);break gb;case 3:break hc;default:break gc}}v[299999]=0;b=v[c+200>>2];h=Q(3111,c+120|0,886604)|0;k=v[299999];v[299999]=0;rc:{sc:{tc:{uc:{vc:{wc:{xc:{if((k|0)!=1){v[299999]=0;U(3112,c+136|0,h|0,1);h=v[299999];v[299999]=0;if((h|0)==1){break xc}if(t[c+131|0]<=-1){dc(v[c+120>>2])}v[299999]=0;h=Q(3111,c+120|0,886580)|0;k=v[299999];v[299999]=0;if((k|0)==1){break wc}v[299999]=0;V(3115,c+104|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break vc}v[299999]=0;U(3116,c+136|0,h|0,c+104|0);b=v[299999];v[299999]=0;if((b|0)==1){break uc}if(t[c+115|0]<=-1){dc(v[c+104>>2])}if(t[c+131|0]<=-1){dc(v[c+120>>2])}v[299999]=0;Q(3111,c+120|0,886604)|0;b=v[299999];v[299999]=0;if((b|0)==1){break sc}v[299999]=0;Q(2725,c+136|0,888856)|0;b=v[299999];v[299999]=0;if((b|0)==1){break rc}if(t[c+131|0]>-1){break gc}dc(v[c+120>>2]);break gc}a=P()|0;O()|0;break gb}a=P()|0;O()|0;if(t[c+131|0]>-1){break gb}dc(v[c+120>>2]);break gb}a=P()|0;O()|0;break gb}a=P()|0;O()|0;break tc}a=P()|0;O()|0;if(t[c+115|0]>-1){break tc}dc(v[c+104>>2])}if(t[c+131|0]>-1){break gb}dc(v[c+120>>2]);break gb}a=P()|0;O()|0;break gb}a=P()|0;O()|0;if(t[c+131|0]>-1){break gb}dc(v[c+120>>2]);break gb}v[299999]=0;R(3098,c+192|0);b=v[299999];v[299999]=0;if((b|0)!=1){break fc}}a=P()|0;O()|0;break gb}j=j+1|0;if((e|0)!=(j|0)){continue}break}}v[299999]=0;b=Q(3111,c+192|0,886488)|0;h=v[299999];v[299999]=0;if((h|0)==1){break Vb}v[299999]=0;$(3117,c+136|0,b|0,0,1);h=v[299999];v[299999]=0;if((h|0)==1){break Ub}if(t[b+11|0]>-1){break ec}dc(v[b>>2])}v[299999]=0;R(3098,c+208|0);b=v[299999];v[299999]=0;if((b|0)==1){break xb}}v[299999]=0;R(3098,c+320|0);b=v[299999];v[299999]=0;if((b|0)!=1){break Tb}}a=P()|0;O()|0;break gb}a=P()|0;O()|0;break gb}a=P()|0;O()|0;if(t[b+11|0]>-1){break gb}dc(v[b>>2]);break gb}v[299999]=0;b=Q(3111,c+208|0,886412)|0;h=v[299999];v[299999]=0;if((h|0)==1){break Rb}v[299999]=0;$(3117,c+136|0,b|0,0,1);h=v[299999];v[299999]=0;if((h|0)==1){break Qb}if(t[b+11|0]>-1){break Sb}dc(v[b>>2])}v[299999]=0;R(3098,c+336|0);b=v[299999];v[299999]=0;if((b|0)==1){break Pb}v[299999]=0;Y(3118,c+152|0,c+136|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Pb}if(t[c+147|0]<=-1){dc(v[c+136>>2])}if(t[c+163|0]<=-1){dc(v[c+152>>2])}if(t[c+179|0]<=-1){dc(v[c+168>>2])}if(t[c+43|0]>-1){break Ib}dc(v[c+32>>2]);break Ib}a=P()|0;O()|0;break gb}a=P()|0;O()|0;if(t[b+11|0]>-1){break gb}dc(v[b>>2]);break gb}a=P()|0;O()|0;break gb}t[v[c+396>>2]+48|0]=1}if(t[c+75|0]<=-1){dc(v[c+64>>2])}h=0;if(!l){break ja}k=(i|0)!=0;break ka}a=P()|0;O()|0;if(t[b+11|0]>-1){break gb}dc(v[b>>2]);break gb}a=P()|0;O()|0;break gb}a=P()|0;O()|0;if(t[k+11|0]>-1){break Db}dc(v[k>>2]);break Db}a=P()|0;O()|0}if(t[h+11|0]>-1){break Bb}dc(v[h>>2]);break Bb}a=P()|0;O()|0}if(t[b+11|0]>-1){break gb}dc(v[b>>2]);break gb}a=P()|0;O()|0;break gb}a=P()|0;O()|0;if(t[b+11|0]>-1){break gb}dc(v[b>>2]);break gb}a=P()|0;O()|0;break gb}a=P()|0;O()|0;break gb}a=P()|0;O()|0;if(t[b+11|0]>-1){break gb}dc(v[b>>2]);break gb}a=P()|0;O()|0;break gb}a=P()|0;O()|0;if(t[j+11|0]>-1){break sb}dc(v[j>>2]);break sb}a=P()|0;O()|0}if(t[h+11|0]>-1){break qb}dc(v[h>>2]);break qb}a=P()|0;O()|0}if(t[b+11|0]>-1){break gb}dc(v[b>>2]);break gb}a=P()|0;O()|0;break gb}a=P()|0;O()|0;if(t[j+11|0]>-1){break mb}dc(v[j>>2]);break mb}a=P()|0;O()|0}if(t[h+11|0]>-1){break kb}dc(v[h>>2]);break kb}a=P()|0;O()|0}if(t[b+11|0]>-1){break gb}dc(v[b>>2]);break gb}a=P()|0;O()|0;break gb}a=P()|0;O()|0;if(t[b+11|0]>-1){break gb}dc(v[b>>2]);break gb}a=P()|0;O()|0}if(t[c+147|0]<=-1){dc(v[c+136>>2])}if(t[c+163|0]>-1){break fb}dc(v[c+152>>2])}if(t[c+179|0]<=-1){dc(v[c+168>>2])}if(t[c+43|0]>-1){break bb}dc(v[c+32>>2]);break bb}a=P()|0;O()|0;break bb}a=P()|0;O()|0}if(t[c+75|0]>-1){break c}dc(v[c+64>>2]);break c}if(t[c+75|0]>-1){break pa}dc(v[c+64>>2])}iv(c+224|0);break c}b=2;if((d&-5)==1){break ma}b=(d|0)==7?8:d;break ma}b=3;if(d-1>>>0<2){break ma}b=d-7>>>0<2?9:d}d=b;if(t[c+219|0]<=-1){dc(v[c+208>>2])}b=1}if(t[c+331|0]<=-1){dc(v[c+320>>2])}k=0;h=0;if(!b){break ja}}h=0;v[299999]=0;v[c+84>>2]=0;b=Q(3119,3120,c+352|0)|0;j=v[299999];v[299999]=0;yc:{zc:{Ac:{Bc:{Cc:{Dc:{Ec:{Fc:{Gc:{Hc:{Ic:{if((j|0)==1){break Ic}v[c+360>>2]=0;Jc:{switch(d-1|0){case 0:case 1:case 2:if((b|0)==4){v[299999]=0;b=Z(3121,v[c+352>>2],v[c+356>>2],0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Ic}if(!b){break Fc}v[299999]=0;h=Q(3122,f|0,b|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Ic}v[c+84>>2]=256;Ub[v[v[b>>2]+4>>2]](b);break yc}if(!ho(885380,c+416|0)){break yc}b=v[a+160>>2];if(!b){break yc}v[c+208>>2]=0;v[c+224>>2]=0;v[c+228>>2]=1072693248;v[c+336>>2]=0;v[c+340>>2]=1079115776;v[c+320>>2]=0;v[c+324>>2]=1079115776;d=v[v[b>>2]+144>>2];v[299999]=0;aa(d|0,b|0,c+416|0,c+208|0,c+224|0,c+336|0,c+320|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Cc}d=jc(1024);if(!d){break yc}k=f+164|0;v[c+84>>2]=256;b=0;Kc:{while(1){Lc:{h=b<<2;j=h+d|0;v[j>>2]=0;e=v[h+k>>2];if(e){h=v[a+160>>2];v[299999]=0;V(3115,c+224|0,e|0);e=v[299999];v[299999]=0;if((e|0)==1){break Lc}e=v[v[h>>2]+164>>2];v[299999]=0;h=Q(e|0,h|0,c+224|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Kc}if(t[c+235|0]<=-1){dc(v[c+224>>2])}v[j>>2]=h&65535}h=d;b=b+1|0;if((b|0)!=256){continue}break yc}break}a=P()|0;O()|0;break c}a=P()|0;O()|0;if(t[c+235|0]>-1){break c}dc(v[c+224>>2]);break c;case 4:case 5:if((b|0)==1){if(!ho(885380,c+416|0)){break yc}b=v[a+160>>2];if(!b){break yc}v[c+208>>2]=0;v[c+224>>2]=0;v[c+228>>2]=1072693248;v[c+336>>2]=0;v[c+340>>2]=1079115776;v[c+320>>2]=0;v[c+324>>2]=1079115776;d=v[v[b>>2]+144>>2];v[299999]=0;aa(d|0,b|0,c+416|0,c+208|0,c+224|0,c+336|0,c+320|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Dc}d=jc(1024);if(!d){break yc}k=f+164|0;v[c+84>>2]=256;b=0;Mc:{while(1){Nc:{h=b<<2;j=h+d|0;v[j>>2]=0;e=v[h+k>>2];if(e){h=v[a+160>>2];v[299999]=0;V(3115,c+224|0,e|0);e=v[299999];v[299999]=0;if((e|0)==1){break Nc}e=v[v[h>>2]+164>>2];v[299999]=0;h=Q(e|0,h|0,c+224|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Mc}if(t[c+235|0]<=-1){dc(v[c+224>>2])}v[j>>2]=h&65535}h=d;b=b+1|0;if((b|0)!=256){continue}break yc}break}a=P()|0;O()|0;break c}a=P()|0;O()|0;if(t[c+235|0]>-1){break c}dc(v[c+224>>2]);break c}v[299999]=0;b=Z(3121,v[c+352>>2],v[c+356>>2],0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Ic}if(!b){break Fc}v[299999]=0;h=Q(3122,f|0,b|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Ic}v[c+84>>2]=256;Ub[v[v[b>>2]+4>>2]](b);break yc;case 9:case 10:break Ec;case 6:case 7:break Fc;case 8:break Jc;default:break yc}}v[299999]=0;b=Z(3121,v[c+352>>2],v[c+356>>2],0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Ic}if(!b){break Fc}if(!v[b+64>>2]){break Hc}v[299999]=0;h=Q(3123,b|0,c+84|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){break Gc}}a=P()|0;O()|0;break c}v[c+84>>2]=0}Ub[v[v[b>>2]+4>>2]](b);break yc}v[c+84>>2]=0;break yc}v[c+84>>2]=0;if((ho(885380,c+416|0)&k)!=1){break Bc}v[299999]=0;b=v[f+168>>2];if(b){v[b+24>>2]=v[b+24>>2]+1;e=v[f+168>>2]}else{e=0}b=v[299999];v[299999]=0;if((b|0)==1){break zc}if(!e){break yc}v[299999]=0;i=Z(3121,v[c+352>>2],v[c+356>>2],0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break zc}if(!i){break Ac}v[c+344>>2]=0;v[c+336>>2]=0;v[c+340>>2]=0;g=0;d=0;k=0;b=0;while(1){Oc:{v[299999]=0;h=v[i+32>>2];j=v[299999];v[299999]=0;if((j|0)==1){break Oc}if((b|0)>=(h|0)){h=0;Pc:{if((d|0)==(k|0)){break Pc}b=v[e+8>>2];v[c+84>>2]=b;if((b|0)<1){break Pc}l=k-d>>2;h=jc(b<<2);g=0;while(1){v[299999]=0;b=kk(e,g,c+224|0,8);j=v[299999];v[299999]=0;if((j|0)==1){break g}Qc:{if((b|0)>=1){b=v[d>>2];v[299999]=0;j=Ym(i,b,v[c+224>>2]);b=v[299999];v[299999]=0;if((b|0)==1){break g}m=(g<<2)+h|0;v[m>>2]=j;if(k-d>>2>>>0<2){break Qc}b=1;if(j){break Qc}while(1){Rc:{j=v[(b<<2)+d>>2];v[299999]=0;j=Ym(i,j,v[c+224>>2]);n=v[299999];v[299999]=0;if((n|0)==1){break Rc}v[m>>2]=j;b=b+1|0;if(l>>>0<=b>>>0){break Qc}if(!j){continue}break Qc}break}a=P()|0;O()|0;break f}v[(g<<2)+h>>2]=0}g=g+1|0;if((g|0)>2]){continue}break}}Ub[v[v[i>>2]+4>>2]](i);if(!d){break Ac}dc(d);break Ac}v[299999]=0;h=v[v[i+28>>2]+B(b,20)>>2];j=v[299999];v[299999]=0;if((j|0)==1){break Oc}Sc:{Tc:{if((h|0)==3){v[299999]=0;h=v[(v[i+28>>2]+B(b,20)|0)+4>>2];j=v[299999];v[299999]=0;if((j|0)==1){break Oc}if((h|0)==1){break Tc}}v[299999]=0;h=v[v[i+28>>2]+B(b,20)>>2];j=v[299999];v[299999]=0;if((j|0)==1){break Oc}if(h){break Sc}}if((g|0)!=(k|0)){v[k>>2]=b;k=k+4|0;v[c+340>>2]=k;b=b+1|0;continue}Uc:{Vc:{h=g-d|0;g=h>>2;k=g+1|0;Wc:{if(k>>>0>=1073741824){v[299999]=0;R(2185,c+336|0);a=v[299999];v[299999]=0;if((a|0)==1){break Wc}break h}j=h>>1;k=g>>>0<536870911?j>>>0>>0?k:j:1073741823;if(!k){j=0;break Uc}if(k>>>0<1073741824){break Vc}v[299999]=0;R(2667,274079);a=v[299999];v[299999]=0;if((a|0)!=1){break h}}a=P()|0;O()|0;d=v[c+336>>2];break f}v[299999]=0;j=S(1,k<<2)|0;l=v[299999];v[299999]=0;if((l|0)==1){break Oc}}l=(g<<2)+j|0;v[l>>2]=b;g=(k<<2)+j|0;k=l+4|0;if((h|0)>=1){gc(j,d,h)}v[c+344>>2]=g;v[c+340>>2]=k;v[c+336>>2]=j;if(d){dc(d)}d=j}b=b+1|0;continue}break}a=P()|0;O()|0;break f}a=P()|0;O()|0;break c}a=P()|0;O()|0;break c}d=v[f+216>>2];if(!d){break yc}b=v[f+220>>2];v[c+84>>2]=b;if((b|0)<1){break yc}b=b<<2;k=jc(b);if(!k){break yc}h=gc(k,d,b);break yc}v[299999]=0;R(3130,e|0);b=v[299999];v[299999]=0;if((b|0)!=1){break yc}}a=P()|0;O()|0;break c}b=v[v[f>>2]+8>>2];v[299999]=0;b=S(b|0,f|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break ea}Xc:{Yc:{Zc:{_c:{$c:{ad:{bd:{cd:{dd:{ed:{fd:{gd:{hd:{id:{jd:{kd:{ld:{md:{nd:{od:{pd:{qd:{rd:{sd:{td:{if(b){j=0;v[299999]=0;b=v[f+168>>2];if(b){v[b+24>>2]=v[b+24>>2]+1;d=v[f+168>>2]}else{d=0}b=v[299999];v[299999]=0;if((b|0)!=1){if(!d){k=0;break td}k=0;j=v[d+8>>2];ud:{if((j|0)<1){break ud}k=jc(j<<2);if(!k){break ud}b=0;while(1){v[299999]=0;e=kk(d,b,c+224|0,2);g=v[299999];v[299999]=0;if((g|0)==1){break sd}v[(b<<2)+k>>2]=e?x[c+224>>1]:0;b=b+1|0;if((j|0)!=(b|0)){continue}break}}v[299999]=0;R(3130,d|0);b=v[299999];v[299999]=0;if((b|0)!=1){break td}}a=P()|0;O()|0;break c}j=0;v[299999]=0;b=v[f+1444>>2];v[b+24>>2]=v[b+24>>2]+1;d=v[f+1444>>2];b=v[299999];v[299999]=0;if((b|0)==1){break rd}if(!d){k=0;break td}k=0;j=v[d+8>>2];vd:{if((j|0)<1){break vd}k=jc(j<<2);if(!k){break vd}b=0;while(1){v[299999]=0;v[c+224>>2]=0;e=kk(d,b,c+224|0,1);g=v[299999];v[299999]=0;if((g|0)==1){break qd}v[(b<<2)+k>>2]=e?x[c+224>>1]:b;b=b+1|0;if((j|0)!=(b|0)){continue}break}}v[299999]=0;R(3130,d|0);b=v[299999];v[299999]=0;if((b|0)==1){break rd}}b=w[c+427|0];if(b<<24>>24<0?v[c+420>>2]:b){b=1}else{v[299999]=0;b=ca(2608,c+416|0,0,-1,885380,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break a}b=(b|0)!=0}if(!b|v[a+108>>2]!=1){break cd}v[c+176>>2]=0;v[c+168>>2]=0;v[c+172>>2]=0;v[c+160>>2]=0;v[299999]=0;v[c+152>>2]=0;v[c+156>>2]=0;U(3110,c+416|0,c+168|0,c+152|0);b=v[299999];v[299999]=0;wd:{xd:{yd:{zd:{Ad:{Bd:{Cd:{Dd:{Ed:{if((b|0)!=1){v[299999]=0;U(2731,c+136|0,c+168|0,886392);b=v[299999];v[299999]=0;if((b|0)==1){break Ed}b=v[f+20>>2];if(b>>>0>6|!(1<>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+336>>2]=13;b=v[f+12>>2];v[c+232>>2]=v[f+8>>2];v[c+236>>2]=b;v[c+224>>2]=9;b=v[a+164>>2];v[299999]=0;Z(3097,c+224|0,b|0,c+336|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break $c}v[299999]=0;R(3098,c+224|0);b=v[299999];v[299999]=0;if((b|0)==1){break $c}if(v[c+336>>2]!=7){break ed}d=0;v[299999]=0;e=v[c+344>>2];v[c+320>>2]=13;Z(3101,e|0,272962,c+320|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break P}Fd:{switch(v[c+320>>2]-4|0){case 0:break zd;case 3:break Fd;default:break yd}}v[c+208>>2]=13;v[299999]=0;Z(3101,v[c+328>>2],272923,c+208|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Ad}if(v[c+208>>2]!=4){break Cd}b=v[c+216>>2];if(mc(b,272890)){break Dd}d=0;break Bd}a=P()|0;O()|0;break i}a=P()|0;O()|0;break i}d=1;if(!mc(b,272872)){break Bd}if(mc(b,272907)){break Cd}d=2;break Bd}d=-1}v[299999]=0;R(3098,c+208|0);b=v[299999];v[299999]=0;g=1;if((b|0)!=1){break xd}}a=P()|0;O()|0;break k}g=0;b=v[c+328>>2];if(!mc(b,272890)){break xd}if(!mc(b,272872)){d=1;break xd}d=!mc(b,272907)}g=d?0:-1;d=d?2:-1}v[299999]=0;b=Q(3111,c+208|0,886624)|0;f=v[299999];v[299999]=0;if((f|0)==1){break l}v[299999]=0;U(3112,c+32|0,b|0,0);f=v[299999];v[299999]=0;if((f|0)==1){break m}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+208|0,886412)|0;f=v[299999];v[299999]=0;if((f|0)==1){break n}v[299999]=0;U(3112,c+32|0,b|0,1);f=v[299999];v[299999]=0;if((f|0)==1){break o}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+208|0,886448)|0;f=v[299999];v[299999]=0;if((f|0)==1){break p}v[299999]=0;f=Q(3111,c+192|0,885380)|0;i=v[299999];v[299999]=0;if((i|0)==1){break r}v[299999]=0;i=Q(3111,c- -64|0,885380)|0;l=v[299999];v[299999]=0;if((l|0)==1){break t}v[299999]=0;da(3113,c+32|0,b|0,g|0,10,f|0,i|0);g=v[299999];v[299999]=0;if((g|0)==1){break u}if(t[i+11|0]<=-1){dc(v[i>>2])}if(t[f+11|0]<=-1){dc(v[f>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+208|0,886468)|0;f=v[299999];v[299999]=0;if((f|0)==1){break v}v[299999]=0;f=Q(3111,c+192|0,885380)|0;g=v[299999];v[299999]=0;if((g|0)==1){break x}v[299999]=0;g=Q(3111,c- -64|0,885380)|0;i=v[299999];v[299999]=0;if((i|0)==1){break z}v[299999]=0;da(3113,c+32|0,b|0,d|0,10,f|0,g|0);d=v[299999];v[299999]=0;if((d|0)==1){break A}if(t[g+11|0]<=-1){dc(v[g>>2])}if(t[f+11|0]<=-1){dc(v[f>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+208|0,886412)|0;d=v[299999];v[299999]=0;if((d|0)==1){break B}v[299999]=0;Q(2725,c+32|0,888824)|0;d=v[299999];v[299999]=0;if((d|0)==1){break C}if(t[b+11|0]<=-1){dc(v[b>>2])}Gd:{Hd:{Id:{if(v[c+320>>2]==7){v[c+208>>2]=13;v[299999]=0;Z(3101,v[c+328>>2],236861,c+208|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break D}Jd:{if(v[c+208>>2]!=6){break Jd}g=v[v[c+216>>2]+12>>2];v[299999]=0;b=Q(3111,c+192|0,886488)|0;d=v[299999];v[299999]=0;if((d|0)==1){break E}v[299999]=0;U(3112,c+32|0,b|0,1);d=v[299999];v[299999]=0;if((d|0)==1){break F}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+192|0,886536)|0;d=v[299999];v[299999]=0;if((d|0)==1){break G}v[299999]=0;d=Q(3111,c- -64|0,885380)|0;f=v[299999];v[299999]=0;if((f|0)==1){break I}v[299999]=0;f=Q(3111,c+120|0,885380)|0;i=v[299999];v[299999]=0;if((i|0)==1){break K}v[299999]=0;da(3113,c+32|0,b|0,g|0,10,d|0,f|0);i=v[299999];v[299999]=0;if((i|0)==1){break L}if(t[f+11|0]<=-1){dc(v[f>>2])}if(t[d+11|0]<=-1){dc(v[d>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+192|0,886488)|0;d=v[299999];v[299999]=0;if((d|0)==1){break M}v[299999]=0;Q(2725,c+32|0,888824)|0;d=v[299999];v[299999]=0;if((d|0)==1){break N}if(t[b+11|0]<=-1){dc(v[b>>2])}d=0;if((g|0)>0){while(1){v[c+192>>2]=13;v[299999]=0;Z(3114,v[c+216>>2],d|0,c+192|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break O}Kd:{Ld:{Md:{switch(v[c+192>>2]-1|0){case 0:v[299999]=0;f=v[c+200>>2];b=S(1,32)|0;i=v[299999];v[299999]=0;Nd:{Od:{Pd:{Qd:{Rd:{if((i|0)!=1){v[c+120>>2]=b;v[c+124>>2]=4;v[c+128>>2]=-2147483640;v[299999]=0;tc(b,886560,4);i=v[299999];v[299999]=0;if((i|0)==1){break a}v[b+16>>2]=0;v[299999]=0;U(3132,c- -64|0,888816,c+120|0);b=v[299999];v[299999]=0;if((b|0)==1){break Rd}v[299999]=0;b=w[c+75|0];i=b<<24>>24<0;Y(2653,c+32|0,(i?v[c+64>>2]:c- -64|0)|0,(i?v[c+68>>2]:b)|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){if(t[c+75|0]<=-1){dc(v[c+64>>2])}if(t[c+131|0]<=-1){dc(v[c+120>>2])}v[299999]=0;b=S(1,32)|0;i=v[299999];v[299999]=0;if((i|0)==1){break Pd}v[c+64>>2]=b;v[c+68>>2]=5;v[c+72>>2]=-2147483640;v[299999]=0;tc(b,886580,5);i=v[299999];v[299999]=0;if((i|0)==1){break a}v[b+20>>2]=0;v[c+120>>2]=0;t[c+131|0]=0;v[299999]=0;v[c+104>>2]=0;t[c+115|0]=0;da(3113,c+32|0,c- -64|0,f|0,10,c+120|0,c+104|0);b=v[299999];v[299999]=0;if((b|0)==1){break Od}if(t[c+115|0]<=-1){dc(v[c+104>>2])}if(t[c+131|0]<=-1){dc(v[c+120>>2])}if(t[c+75|0]<=-1){dc(v[c+64>>2])}v[299999]=0;b=S(1,32)|0;f=v[299999];v[299999]=0;if((f|0)==1){break Nd}v[299999]=0;tc(b,886560,4);f=v[299999];v[299999]=0;if((f|0)==1){break a}v[b+16>>2]=0;v[299999]=0;Q(2725,c+32|0,888856)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break Ld}a=P()|0;O()|0;dc(b);break k}a=P()|0;O()|0;if(t[c+75|0]>-1){break Qd}dc(v[c+64>>2]);break Qd}a=P()|0;O()|0;break k}a=P()|0;O()|0}if(t[c+131|0]<=-1){dc(v[c+120>>2])}break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[c+115|0]<=-1){dc(v[c+104>>2])}if(t[c+131|0]<=-1){dc(v[c+120>>2])}if(t[c+75|0]<=-1){dc(v[c+64>>2])}break k}a=P()|0;O()|0;break k;case 3:break Md;default:break Kd}}v[299999]=0;f=v[c+200>>2];b=S(1,32)|0;i=v[299999];v[299999]=0;Sd:{Td:{Ud:{Vd:{Wd:{Xd:{Yd:{if((i|0)!=1){v[c+120>>2]=b;v[c+124>>2]=4;v[c+128>>2]=-2147483640;v[299999]=0;tc(b,886604,4);i=v[299999];v[299999]=0;if((i|0)==1){break a}v[b+16>>2]=0;v[299999]=0;U(3132,c- -64|0,888816,c+120|0);b=v[299999];v[299999]=0;if((b|0)==1){break Yd}v[299999]=0;b=w[c+75|0];i=b<<24>>24<0;Y(2653,c+32|0,(i?v[c+64>>2]:c- -64|0)|0,(i?v[c+68>>2]:b)|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){if(t[c+75|0]<=-1){dc(v[c+64>>2])}if(t[c+131|0]<=-1){dc(v[c+120>>2])}v[299999]=0;b=S(1,32)|0;i=v[299999];v[299999]=0;if((i|0)==1){break Wd}v[c+64>>2]=b;v[c+68>>2]=5;v[c+72>>2]=-2147483640;v[299999]=0;tc(b,886580,5);i=v[299999];v[299999]=0;if((i|0)==1){break a}v[b+20>>2]=0;b=Bc(f);v[299999]=0;$(3133,c+120|0,f|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)==1){break Vd}v[299999]=0;U(3116,c+32|0,c- -64|0,c+120|0);b=v[299999];v[299999]=0;if((b|0)==1){break Ud}if(t[c+131|0]<=-1){dc(v[c+120>>2])}if(t[c+75|0]<=-1){dc(v[c+64>>2])}v[299999]=0;b=S(1,32)|0;f=v[299999];v[299999]=0;if((f|0)==1){break Sd}v[299999]=0;tc(b,886604,4);f=v[299999];v[299999]=0;if((f|0)==1){break a}v[b+16>>2]=0;v[299999]=0;Q(2725,c+32|0,888856)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break Ld}a=P()|0;O()|0;dc(b);break k}a=P()|0;O()|0;if(t[c+75|0]>-1){break Xd}dc(v[c+64>>2]);break Xd}a=P()|0;O()|0;break k}a=P()|0;O()|0}if(t[c+131|0]<=-1){dc(v[c+120>>2])}break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;break Td}a=P()|0;O()|0;if(t[c+131|0]>-1){break Td}dc(v[c+120>>2])}if(t[c+75|0]<=-1){dc(v[c+64>>2])}break k}a=P()|0;O()|0;break k}dc(b)}v[299999]=0;R(3098,c+192|0);b=v[299999];v[299999]=0;if((b|0)==1){break O}d=d+1|0;if((g|0)!=(d|0)){continue}break}}v[299999]=0;b=Q(3111,c+192|0,886488)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Id}v[299999]=0;$(3117,c+32|0,b|0,0,1);d=v[299999];v[299999]=0;if((d|0)==1){break Hd}if(t[b+11|0]>-1){break Jd}dc(v[b>>2])}v[299999]=0;R(3098,c+208|0);b=v[299999];v[299999]=0;if((b|0)==1){break D}}v[299999]=0;R(3098,c+320|0);b=v[299999];v[299999]=0;if((b|0)!=1){break Gd}break P}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break k}v[299999]=0;b=Q(3111,c+208|0,886412)|0;d=v[299999];v[299999]=0;Zd:{_d:{$d:{ae:{be:{ce:{de:{ee:{fe:{ge:{if((d|0)!=1){v[299999]=0;$(3117,c+32|0,b|0,0,1);d=v[299999];v[299999]=0;if((d|0)==1){break ge}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;Z(3101,e|0,228412,c+320|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break P}he:{if(v[c+320>>2]!=4){break he}v[299999]=0;b=Q(3111,c+208|0,886680)|0;d=v[299999];v[299999]=0;if((d|0)==1){break fe}v[299999]=0;U(3112,c+32|0,b|0,1);d=v[299999];v[299999]=0;if((d|0)==1){break ee}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+208|0,886580)|0;d=v[299999];v[299999]=0;if((d|0)==1){break de}v[299999]=0;V(3115,c+192|0,v[c+328>>2]);d=v[299999];v[299999]=0;if((d|0)==1){break ce}v[299999]=0;U(3116,c+32|0,b|0,c+192|0);d=v[299999];v[299999]=0;if((d|0)==1){break be}if(t[c+203|0]<=-1){dc(v[c+192>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+208|0,886680)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[299999]=0;Q(2725,c+32|0,888856)|0;d=v[299999];v[299999]=0;if((d|0)==1){break _d}if(t[b+11|0]>-1){break he}dc(v[b>>2])}v[299999]=0;R(3098,c+320|0);b=v[299999];v[299999]=0;if((b|0)==1){break P}v[299999]=0;Z(3101,e|0,284037,c+320|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break P}if(v[c+320>>2]==8){break Zd}break fd}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;break ae}a=P()|0;O()|0;if(t[c+203|0]>-1){break ae}dc(v[c+192>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break k}v[299999]=0;b=Q(3111,c+208|0,886716)|0;d=v[299999];v[299999]=0;ie:{je:{ke:{if((d|0)!=1){v[299999]=0;U(3112,c+32|0,b|0,0);d=v[299999];v[299999]=0;if((d|0)==1){break ke}if(t[b+11|0]<=-1){dc(v[b>>2])}v[c+216>>2]=0;v[c+208>>2]=0;v[c+212>>2]=0;b=v[c+328>>2];d=v[v[b>>2]+20>>2];v[299999]=0;R(d|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break je}while(1){le:{b=v[c+328>>2];d=v[v[b>>2]+28>>2];v[299999]=0;b=S(d|0,b|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break le}if((b|0)==-1){break ie}v[299999]=0;Q(2730,c+208|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){continue}}break}a=P()|0;O()|0;break gd}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break k}a=P()|0;O()|0;break gd}b=v[c+328>>2];d=v[v[b>>2]+24>>2];v[299999]=0;R(d|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break hd}v[c+200>>2]=0;v[c+192>>2]=0;v[c+196>>2]=0;v[299999]=0;b=t[c+219|0];d=(b|0)<0?v[c+212>>2]:b&255;f=d+1|0;g=S(15,f|0)|0;i=v[299999];v[299999]=0;me:{ne:{oe:{pe:{qe:{re:{se:{if((i|0)==1){break se}b=Xc(g,(b|0)<0?v[c+208>>2]:c+208|0,f);v[299999]=0;U(3134,c+192|0,b|0,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break se}v[299999]=0;Q(3106,c- -64|0,b|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break re}if(t[c+219|0]<=-1){dc(v[c+208>>2])}v[c+216>>2]=v[c+72>>2];d=v[c+68>>2];v[c+208>>2]=v[c+64>>2];v[c+212>>2]=d;dc(b);v[299999]=0;V(3115,c- -64|0,(t[c+203|0]<0?v[c+192>>2]:c+192|0)|0);b=v[299999];v[299999]=0;if((b|0)==1){break qe}v[299999]=0;b=w[c+75|0];d=b<<24>>24<0;Y(2653,c+32|0,(d?v[c+64>>2]:c- -64|0)|0,(d?v[c+68>>2]:b)|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break pe}if(t[c+75|0]<=-1){dc(v[c+64>>2])}if(t[c+203|0]<=-1){dc(v[c+192>>2])}v[299999]=0;b=Q(3111,c+192|0,886716)|0;d=v[299999];v[299999]=0;if((d|0)==1){break ne}v[299999]=0;$(3117,c+32|0,b|0,0,1);d=v[299999];v[299999]=0;if((d|0)==1){break me}if(t[b+11|0]<=-1){dc(v[b>>2])}if(t[c+219|0]>-1){break fd}dc(v[c+208>>2]);break fd}a=P()|0;O()|0;break oe}a=P()|0;O()|0;break oe}a=P()|0;O()|0;break oe}a=P()|0;O()|0;if(t[c+75|0]<=-1){dc(v[c+64>>2])}}if(t[c+203|0]>-1){break gd}dc(v[c+192>>2]);break gd}a=P()|0;O()|0;break gd}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break gd}if(b-7>>>0>4){break dd}v[299999]=0;U(2731,c+120|0,c+168|0,887560);b=v[299999];v[299999]=0;te:{ue:{if((b|0)!=1){b=v[v[f>>2]+8>>2];v[299999]=0;S(b|0,f|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break ue}v[c+112>>2]=0;v[c+104>>2]=0;v[c+108>>2]=0;v[c+336>>2]=13;b=v[f+12>>2];v[c+232>>2]=v[f+8>>2];v[c+236>>2]=b;v[c+224>>2]=9;b=v[a+164>>2];v[299999]=0;Z(3097,c+224|0,b|0,c+336|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break kd}v[299999]=0;R(3098,c+224|0);b=v[299999];v[299999]=0;if((b|0)==1){break kd}if(v[c+336>>2]==7){break te}break ld}a=P()|0;O()|0;break j}a=P()|0;O()|0;break id}v[299999]=0;g=v[c+344>>2];b=Q(3111,c+320|0,886624)|0;d=v[299999];v[299999]=0;ve:{we:{xe:{ye:{ze:{Ae:{Be:{Ce:{De:{Ee:{if((d|0)!=1){v[299999]=0;U(3112,c+104|0,b|0,0);d=v[299999];v[299999]=0;if((d|0)==1){break Ee}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;v[c+320>>2]=13;Z(3101,g|0,228412,c+320|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break od}if(v[c+320>>2]!=4){break ve}v[299999]=0;b=Q(3111,c+208|0,887584)|0;d=v[299999];v[299999]=0;if((d|0)==1){break De}v[299999]=0;U(3112,c+104|0,b|0,1);d=v[299999];v[299999]=0;if((d|0)==1){break Ce}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+208|0,886580)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Be}v[299999]=0;V(3115,c+192|0,v[c+328>>2]);d=v[299999];v[299999]=0;if((d|0)==1){break Ae}v[299999]=0;U(3116,c+104|0,b|0,c+192|0);d=v[299999];v[299999]=0;if((d|0)==1){break ze}if(t[c+203|0]<=-1){dc(v[c+192>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+208|0,887584)|0;d=v[299999];v[299999]=0;if((d|0)==1){break xe}v[299999]=0;Q(2725,c+104|0,888824)|0;d=v[299999];v[299999]=0;if((d|0)==1){break we}if(t[b+11|0]>-1){break pd}dc(v[b>>2]);break pd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;break ye}a=P()|0;O()|0;if(t[c+203|0]>-1){break ye}dc(v[c+192>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}v[299999]=0;b=Q(3111,c+208|0,887584)|0;d=v[299999];v[299999]=0;Fe:{if((d|0)!=1){v[299999]=0;U(3112,c+104|0,b|0,0);d=v[299999];v[299999]=0;if((d|0)==1){break Fe}if(t[b+11|0]>-1){break pd}dc(v[b>>2]);break pd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}a=P()|0;O()|0;break c}a=P()|0;O()|0;break c}a=P()|0;O()|0;break c}v[299999]=0;R(3098,c+320|0);b=v[299999];v[299999]=0;if((b|0)==1){break od}v[299999]=0;Z(3101,g|0,284037,c+320|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break od}Ge:{if(v[c+320>>2]!=8){break Ge}v[299999]=0;b=Q(3111,c+208|0,886716)|0;d=v[299999];v[299999]=0;He:{Ie:{Je:{Ke:{if((d|0)!=1){v[299999]=0;U(3112,c+104|0,b|0,0);d=v[299999];v[299999]=0;if((d|0)==1){break Ke}if(t[b+11|0]<=-1){dc(v[b>>2])}v[c+216>>2]=0;v[c+208>>2]=0;v[c+212>>2]=0;b=v[c+328>>2];d=v[v[b>>2]+20>>2];v[299999]=0;R(d|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break Je}while(1){Le:{b=v[c+328>>2];d=v[v[b>>2]+28>>2];v[299999]=0;b=S(d|0,b|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Le}if((b|0)==-1){break Ie}v[299999]=0;Q(2730,c+208|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){continue}}break}a=P()|0;O()|0;break He}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}a=P()|0;O()|0;break He}b=v[c+328>>2];d=v[v[b>>2]+24>>2];v[299999]=0;R(d|0,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){v[c+200>>2]=0;v[c+192>>2]=0;v[c+196>>2]=0;v[299999]=0;b=t[c+219|0];e=(b|0)<0?v[c+212>>2]:b&255;d=e+1|0;f=S(15,d|0)|0;i=v[299999];v[299999]=0;Me:{Ne:{Oe:{Pe:{Qe:{Re:{Se:{if((i|0)==1){break Se}d=Xc(f,(b|0)<0?v[c+208>>2]:c+208|0,d);v[299999]=0;U(3134,c+192|0,d|0,e|0);b=v[299999];v[299999]=0;if((b|0)==1){break Se}v[299999]=0;Q(3106,c- -64|0,d|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Re}if(t[c+219|0]<=-1){dc(v[c+208>>2])}v[c+216>>2]=v[c+72>>2];b=v[c+68>>2];v[c+208>>2]=v[c+64>>2];v[c+212>>2]=b;v[299999]=0;V(3115,c- -64|0,(t[c+203|0]<0?v[c+192>>2]:c+192|0)|0);b=v[299999];v[299999]=0;if((b|0)==1){break Qe}v[299999]=0;b=w[c+75|0];e=b<<24>>24<0;Y(2653,c+104|0,(e?v[c+64>>2]:c- -64|0)|0,(e?v[c+68>>2]:b)|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Pe}if(t[c+75|0]<=-1){dc(v[c+64>>2])}v[299999]=0;b=Q(3111,c- -64|0,886716)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Oe}v[299999]=0;$(3117,c+104|0,b|0,0,1);e=v[299999];v[299999]=0;if((e|0)==1){break Ne}if(t[b+11|0]<=-1){dc(v[b>>2])}dc(d);if(t[c+203|0]<=-1){dc(v[c+192>>2])}if(t[c+219|0]>-1){break Ge}dc(v[c+208>>2]);break Ge}a=P()|0;O()|0;break Me}a=P()|0;O()|0;break Me}a=P()|0;O()|0;break Me}a=P()|0;O()|0;if(t[c+75|0]>-1){break Me}dc(v[c+64>>2]);break Me}a=P()|0;O()|0;break Me}a=P()|0;O()|0;if(t[b+11|0]>-1){break Me}dc(v[b>>2])}if(t[c+203|0]>-1){break He}dc(v[c+192>>2]);break He}a=P()|0;O()|0}if(t[c+219|0]<=-1){dc(v[c+208>>2])}break jd}v[299999]=0;R(3098,c+320|0);b=v[299999];v[299999]=0;if((b|0)==1){break od}v[299999]=0;Z(3101,g|0,272962,c+320|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break od}Te:{Ue:{switch(v[c+320>>2]-4|0){case 0:v[299999]=0;b=Q(3111,c+208|0,886412)|0;d=v[299999];v[299999]=0;Ve:{We:{Xe:{Ye:{Ze:{_e:{$e:{if((d|0)!=1){v[299999]=0;U(3112,c+104|0,b|0,1);d=v[299999];v[299999]=0;if((d|0)==1){break $e}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+208|0,887608)|0;d=v[299999];v[299999]=0;if((d|0)==1){break _e}v[299999]=0;V(3115,c+192|0,v[c+328>>2]);d=v[299999];v[299999]=0;if((d|0)==1){break Ze}v[299999]=0;U(3116,c+104|0,b|0,c+192|0);d=v[299999];v[299999]=0;if((d|0)==1){break Ye}if(t[c+203|0]<=-1){dc(v[c+192>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+208|0,886412)|0;d=v[299999];v[299999]=0;if((d|0)==1){break We}v[299999]=0;Q(2725,c+104|0,888856)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Ve}if(t[b+11|0]>-1){break Te}dc(v[b>>2]);break Te}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;break Xe}a=P()|0;O()|0;if(t[c+203|0]>-1){break Xe}dc(v[c+192>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break jd;case 4:break Ue;default:break Te}}v[299999]=0;b=Q(3111,c+208|0,886412)|0;d=v[299999];v[299999]=0;af:{bf:{cf:{df:{ef:{ff:{gf:{hf:{jf:{kf:{lf:{mf:{nf:{of:{if((d|0)!=1){v[299999]=0;U(3112,c+104|0,b|0,0);d=v[299999];v[299999]=0;if((d|0)==1){break of}if(t[b+11|0]<=-1){dc(v[b>>2])}b=v[c+328>>2];d=v[v[b>>2]+76>>2];v[299999]=0;b=S(d|0,b|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break nf}if(!b){break af}v[299999]=0;v[c+208>>2]=13;Z(3101,b|0,280482,c+208|0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break bf}pf:{if(v[c+208>>2]!=4){break pf}v[299999]=0;d=Q(3111,c+192|0,887628)|0;e=v[299999];v[299999]=0;if((e|0)==1){break mf}v[299999]=0;U(3112,c+104|0,d|0,1);e=v[299999];v[299999]=0;if((e|0)==1){break lf}if(t[d+11|0]<=-1){dc(v[d>>2])}v[299999]=0;d=Q(3111,c+192|0,887608)|0;e=v[299999];v[299999]=0;if((e|0)==1){break kf}v[299999]=0;V(3115,c- -64|0,v[c+216>>2]);e=v[299999];v[299999]=0;if((e|0)==1){break jf}v[299999]=0;U(3116,c+104|0,d|0,c- -64|0);e=v[299999];v[299999]=0;if((e|0)==1){break hf}if(t[c+75|0]<=-1){dc(v[c+64>>2])}if(t[d+11|0]<=-1){dc(v[d>>2])}v[299999]=0;d=Q(3111,c+192|0,887628)|0;e=v[299999];v[299999]=0;if((e|0)==1){break ff}v[299999]=0;Q(2725,c+104|0,888856)|0;e=v[299999];v[299999]=0;if((e|0)==1){break ef}if(t[d+11|0]>-1){break pf}dc(v[d>>2])}v[299999]=0;R(3098,c+208|0);d=v[299999];v[299999]=0;if((d|0)==1){break bf}v[299999]=0;Z(3101,b|0,244432,c+208|0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break bf}if(v[c+208>>2]!=7){break cf}e=v[c+216>>2];if(e){break df}break cf}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[d+11|0]<=-1){dc(v[d>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;break gf}a=P()|0;O()|0;if(t[c+75|0]>-1){break gf}dc(v[c+64>>2])}if(t[d+11|0]<=-1){dc(v[d>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[d+11|0]<=-1){dc(v[d>>2])}break jd}v[299999]=0;d=Q(3111,c+192|0,887664)|0;f=v[299999];v[299999]=0;qf:{rf:{sf:{tf:{uf:{vf:{wf:{xf:{yf:{zf:{Af:{Bf:{Cf:{if((f|0)!=1){v[299999]=0;U(3112,c+104|0,d|0,0);f=v[299999];v[299999]=0;if((f|0)==1){break Cf}if(t[d+11|0]<=-1){dc(v[d>>2])}v[299999]=0;v[c+192>>2]=13;Z(3101,e|0,217813,c+192|0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break rf}Df:{if(v[c+192>>2]!=3){break Df}v[299999]=0;d=Q(3111,c- -64|0,887720)|0;f=v[299999];v[299999]=0;if((f|0)==1){break Bf}v[299999]=0;U(3112,c+104|0,d|0,1);f=v[299999];v[299999]=0;if((f|0)==1){break Af}if(t[d+11|0]<=-1){dc(v[d>>2])}v[299999]=0;d=Q(3111,c- -64|0,887756)|0;f=v[299999];v[299999]=0;if((f|0)==1){break zf}f=v[v[c+200>>2]+4>>2];v[299999]=0;V(3115,c+32|0,f|0);f=v[299999];v[299999]=0;if((f|0)==1){break yf}v[299999]=0;U(3116,c+104|0,d|0,c+32|0);f=v[299999];v[299999]=0;if((f|0)==1){break xf}if(t[c+43|0]<=-1){dc(v[c+32>>2])}if(t[d+11|0]<=-1){dc(v[d>>2])}v[299999]=0;d=Q(3111,c- -64|0,887720)|0;f=v[299999];v[299999]=0;if((f|0)==1){break vf}v[299999]=0;Q(2725,c+104|0,888856)|0;f=v[299999];v[299999]=0;if((f|0)==1){break uf}if(t[d+11|0]>-1){break Df}dc(v[d>>2])}v[299999]=0;R(3098,c+192|0);d=v[299999];v[299999]=0;if((d|0)==1){break rf}v[299999]=0;Z(3101,e|0,272613,c+192|0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break rf}if(v[c+192>>2]==3){break tf}break sf}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[d+11|0]<=-1){dc(v[d>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[d+11|0]<=-1){dc(v[d>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;break wf}a=P()|0;O()|0;if(t[c+43|0]>-1){break wf}dc(v[c+32>>2])}if(t[d+11|0]<=-1){dc(v[d>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[d+11|0]<=-1){dc(v[d>>2])}break jd}v[299999]=0;d=Q(3111,c- -64|0,887784)|0;f=v[299999];v[299999]=0;Ef:{Ff:{Gf:{Hf:{If:{Jf:{Kf:{if((f|0)!=1){v[299999]=0;U(3112,c+104|0,d|0,1);f=v[299999];v[299999]=0;if((f|0)==1){break Kf}if(t[d+11|0]<=-1){dc(v[d>>2])}v[299999]=0;d=Q(3111,c- -64|0,887756)|0;f=v[299999];v[299999]=0;if((f|0)==1){break Jf}f=v[v[c+200>>2]+4>>2];v[299999]=0;V(3115,c+32|0,f|0);f=v[299999];v[299999]=0;if((f|0)==1){break If}v[299999]=0;U(3116,c+104|0,d|0,c+32|0);f=v[299999];v[299999]=0;if((f|0)==1){break Hf}if(t[c+43|0]<=-1){dc(v[c+32>>2])}if(t[d+11|0]<=-1){dc(v[d>>2])}v[299999]=0;d=Q(3111,c- -64|0,887784)|0;f=v[299999];v[299999]=0;if((f|0)==1){break Ff}v[299999]=0;Q(2725,c+104|0,888856)|0;f=v[299999];v[299999]=0;if((f|0)==1){break Ef}if(t[d+11|0]>-1){break sf}dc(v[d>>2]);break sf}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[d+11|0]<=-1){dc(v[d>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;break Gf}a=P()|0;O()|0;if(t[c+43|0]>-1){break Gf}dc(v[c+32>>2])}if(t[d+11|0]<=-1){dc(v[d>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[d+11|0]<=-1){dc(v[d>>2])}break jd}v[299999]=0;R(3098,c+192|0);d=v[299999];v[299999]=0;if((d|0)==1){break rf}v[299999]=0;Z(3101,e|0,230742,c+192|0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break rf}Lf:{if(v[c+192>>2]!=1){break Lf}v[299999]=0;d=Q(3111,c- -64|0,887820)|0;e=v[299999];v[299999]=0;Mf:{Nf:{Of:{Pf:{Qf:{Rf:{Sf:{Tf:{Uf:{if((e|0)!=1){v[299999]=0;U(3112,c+104|0,d|0,1);e=v[299999];v[299999]=0;if((e|0)==1){break Uf}if(t[d+11|0]<=-1){dc(v[d>>2])}v[299999]=0;d=Q(3111,c- -64|0,887864)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Tf}v[299999]=0;i=v[c+200>>2];e=Q(3111,c+32|0,885380)|0;f=v[299999];v[299999]=0;if((f|0)==1){break Sf}v[299999]=0;f=Q(3111,c+88|0,885380)|0;l=v[299999];v[299999]=0;if((l|0)==1){break Rf}v[299999]=0;da(3113,c+104|0,d|0,i|0,10,e|0,f|0);i=v[299999];v[299999]=0;if((i|0)==1){break Qf}if(t[f+11|0]<=-1){dc(v[f>>2])}if(t[e+11|0]<=-1){dc(v[e>>2])}if(t[d+11|0]<=-1){dc(v[d>>2])}v[299999]=0;d=Q(3111,c- -64|0,887820)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Nf}v[299999]=0;Q(2725,c+104|0,888856)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Mf}if(t[d+11|0]>-1){break Lf}dc(v[d>>2]);break Lf}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[d+11|0]<=-1){dc(v[d>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;break Of}a=P()|0;O()|0;break Pf}a=P()|0;O()|0;if(t[f+11|0]>-1){break Pf}dc(v[f>>2])}if(t[e+11|0]>-1){break Of}dc(v[e>>2])}if(t[d+11|0]<=-1){dc(v[d>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[d+11|0]<=-1){dc(v[d>>2])}break jd}v[299999]=0;R(3098,c+192|0);d=v[299999];v[299999]=0;if((d|0)!=1){break qf}}a=P()|0;O()|0;break jd}v[299999]=0;d=Q(3111,c- -64|0,887664)|0;e=v[299999];v[299999]=0;Vf:{if((e|0)!=1){v[299999]=0;$(3117,c+104|0,d|0,0,1);e=v[299999];v[299999]=0;if((e|0)==1){break Vf}if(t[d+11|0]>-1){break cf}dc(v[d>>2]);break cf}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[d+11|0]<=-1){dc(v[d>>2])}break jd}v[299999]=0;R(3098,c+208|0);d=v[299999];v[299999]=0;if((d|0)==1){break bf}v[299999]=0;Z(3101,b|0,284453,c+208|0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break bf}Wf:{if(v[c+208>>2]!=1){break Wf}v[299999]=0;d=Q(3111,c+192|0,887896)|0;e=v[299999];v[299999]=0;Xf:{Yf:{Zf:{_f:{$f:{ag:{bg:{cg:{dg:{if((e|0)!=1){v[299999]=0;U(3112,c+104|0,d|0,1);e=v[299999];v[299999]=0;if((e|0)==1){break dg}if(t[d+11|0]<=-1){dc(v[d>>2])}v[299999]=0;d=Q(3111,c+192|0,887864)|0;e=v[299999];v[299999]=0;if((e|0)==1){break cg}v[299999]=0;i=v[c+216>>2];e=Q(3111,c- -64|0,885380)|0;f=v[299999];v[299999]=0;if((f|0)==1){break bg}v[299999]=0;f=Q(3111,c+32|0,885380)|0;l=v[299999];v[299999]=0;if((l|0)==1){break ag}v[299999]=0;da(3113,c+104|0,d|0,i|0,10,e|0,f|0);i=v[299999];v[299999]=0;if((i|0)==1){break $f}if(t[f+11|0]<=-1){dc(v[f>>2])}if(t[e+11|0]<=-1){dc(v[e>>2])}if(t[d+11|0]<=-1){dc(v[d>>2])}v[299999]=0;d=Q(3111,c+192|0,887896)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Yf}v[299999]=0;Q(2725,c+104|0,888856)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Xf}if(t[d+11|0]>-1){break Wf}dc(v[d>>2]);break Wf}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[d+11|0]<=-1){dc(v[d>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;break Zf}a=P()|0;O()|0;break _f}a=P()|0;O()|0;if(t[f+11|0]>-1){break _f}dc(v[f>>2])}if(t[e+11|0]>-1){break Zf}dc(v[e>>2])}if(t[d+11|0]<=-1){dc(v[d>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[d+11|0]<=-1){dc(v[d>>2])}break jd}v[299999]=0;R(3098,c+208|0);d=v[299999];v[299999]=0;if((d|0)==1){break bf}v[299999]=0;Z(3101,b|0,242701,c+208|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break bf}eg:{fg:{switch(v[c+208>>2]-4|0){case 0:v[299999]=0;b=Q(3111,c+192|0,887920)|0;d=v[299999];v[299999]=0;gg:{hg:{ig:{jg:{kg:{lg:{mg:{if((d|0)!=1){v[299999]=0;U(3112,c+104|0,b|0,1);d=v[299999];v[299999]=0;if((d|0)==1){break mg}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+192|0,887608)|0;d=v[299999];v[299999]=0;if((d|0)==1){break lg}v[299999]=0;V(3115,c- -64|0,v[c+216>>2]);d=v[299999];v[299999]=0;if((d|0)==1){break kg}v[299999]=0;U(3116,c+104|0,b|0,c- -64|0);d=v[299999];v[299999]=0;if((d|0)==1){break jg}if(t[c+75|0]<=-1){dc(v[c+64>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+192|0,887920)|0;d=v[299999];v[299999]=0;if((d|0)==1){break hg}v[299999]=0;Q(2725,c+104|0,888856)|0;d=v[299999];v[299999]=0;if((d|0)==1){break gg}if(t[b+11|0]>-1){break eg}dc(v[b>>2]);break eg}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;break ig}a=P()|0;O()|0;if(t[c+75|0]>-1){break ig}dc(v[c+64>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break jd;case 4:break fg;default:break eg}}v[299999]=0;b=Q(3111,c+192|0,887920)|0;d=v[299999];v[299999]=0;ng:{og:{pg:{qg:{if((d|0)!=1){v[299999]=0;U(3112,c+104|0,b|0,0);d=v[299999];v[299999]=0;if((d|0)==1){break qg}if(t[b+11|0]<=-1){dc(v[b>>2])}v[c+200>>2]=0;v[c+192>>2]=0;v[c+196>>2]=0;b=v[c+216>>2];d=v[v[b>>2]+20>>2];v[299999]=0;R(d|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break pg}while(1){rg:{b=v[c+216>>2];d=v[v[b>>2]+28>>2];v[299999]=0;b=S(d|0,b|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break rg}if((b|0)==-1){break og}v[299999]=0;Q(2730,c+192|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){continue}}break}a=P()|0;O()|0;break ng}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}a=P()|0;O()|0;break ng}b=v[c+216>>2];d=v[v[b>>2]+24>>2];v[299999]=0;R(d|0,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){v[c+72>>2]=0;v[c+64>>2]=0;v[c+68>>2]=0;v[299999]=0;b=t[c+203|0];e=(b|0)<0?v[c+196>>2]:b&255;d=e+1|0;f=S(15,d|0)|0;i=v[299999];v[299999]=0;sg:{tg:{ug:{vg:{wg:{xg:{yg:{if((i|0)==1){break yg}d=Xc(f,(b|0)<0?v[c+192>>2]:c+192|0,d);v[299999]=0;U(3134,c- -64|0,d|0,e|0);b=v[299999];v[299999]=0;if((b|0)==1){break yg}v[299999]=0;Q(3106,c+32|0,d|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break xg}if(t[c+203|0]<=-1){dc(v[c+192>>2])}v[c+200>>2]=v[c+40>>2];b=v[c+36>>2];v[c+192>>2]=v[c+32>>2];v[c+196>>2]=b;v[299999]=0;V(3115,c+32|0,(t[c+75|0]<0?v[c+64>>2]:c- -64|0)|0);b=v[299999];v[299999]=0;if((b|0)==1){break wg}v[299999]=0;b=w[c+43|0];e=b<<24>>24<0;Y(2653,c+104|0,(e?v[c+32>>2]:c+32|0)|0,(e?v[c+36>>2]:b)|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break vg}if(t[c+43|0]<=-1){dc(v[c+32>>2])}v[299999]=0;b=Q(3111,c+32|0,887920)|0;e=v[299999];v[299999]=0;if((e|0)==1){break ug}v[299999]=0;$(3117,c+104|0,b|0,0,1);e=v[299999];v[299999]=0;if((e|0)==1){break tg}if(t[b+11|0]<=-1){dc(v[b>>2])}dc(d);if(t[c+75|0]<=-1){dc(v[c+64>>2])}if(t[c+203|0]>-1){break eg}dc(v[c+192>>2]);break eg}a=P()|0;O()|0;break sg}a=P()|0;O()|0;break sg}a=P()|0;O()|0;break sg}a=P()|0;O()|0;if(t[c+43|0]>-1){break sg}dc(v[c+32>>2]);break sg}a=P()|0;O()|0;break sg}a=P()|0;O()|0;if(t[b+11|0]>-1){break sg}dc(v[b>>2])}if(t[c+75|0]>-1){break ng}dc(v[c+64>>2]);break ng}a=P()|0;O()|0}if(t[c+203|0]<=-1){dc(v[c+192>>2])}break jd}v[299999]=0;R(3098,c+208|0);b=v[299999];v[299999]=0;if((b|0)!=1){break af}}a=P()|0;O()|0;break jd}v[299999]=0;b=Q(3111,c+208|0,887952)|0;d=v[299999];v[299999]=0;zg:{Ag:{Bg:{Cg:{if((d|0)!=1){v[299999]=0;U(3112,c+104|0,b|0,0);d=v[299999];v[299999]=0;if((d|0)==1){break Cg}if(t[b+11|0]<=-1){dc(v[b>>2])}v[c+216>>2]=0;v[c+208>>2]=0;v[c+212>>2]=0;b=v[c+328>>2];d=v[v[b>>2]+20>>2];v[299999]=0;R(d|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break Bg}while(1){Dg:{b=v[c+328>>2];d=v[v[b>>2]+28>>2];v[299999]=0;b=S(d|0,b|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Dg}if((b|0)==-1){break Ag}v[299999]=0;Q(2730,c+208|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){continue}}break}a=P()|0;O()|0;break zg}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}a=P()|0;O()|0;break zg}b=v[c+328>>2];d=v[v[b>>2]+24>>2];v[299999]=0;R(d|0,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){v[c+200>>2]=0;v[c+192>>2]=0;v[c+196>>2]=0;v[299999]=0;b=t[c+219|0];e=(b|0)<0?v[c+212>>2]:b&255;d=e+1|0;f=S(15,d|0)|0;i=v[299999];v[299999]=0;Eg:{Fg:{Gg:{Hg:{Ig:{Jg:{Kg:{Lg:{Mg:{if((i|0)==1){break Mg}d=Xc(f,(b|0)<0?v[c+208>>2]:c+208|0,d);v[299999]=0;U(3134,c+192|0,d|0,e|0);b=v[299999];v[299999]=0;if((b|0)==1){break Mg}v[299999]=0;Q(3106,c- -64|0,d|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Lg}if(t[c+219|0]<=-1){dc(v[c+208>>2])}v[c+216>>2]=v[c+72>>2];b=v[c+68>>2];v[c+208>>2]=v[c+64>>2];v[c+212>>2]=b;v[299999]=0;V(3115,c- -64|0,(t[c+203|0]<0?v[c+192>>2]:c+192|0)|0);b=v[299999];v[299999]=0;if((b|0)==1){break Kg}v[299999]=0;b=w[c+75|0];e=b<<24>>24<0;Y(2653,c+104|0,(e?v[c+64>>2]:c- -64|0)|0,(e?v[c+68>>2]:b)|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Jg}if(t[c+75|0]<=-1){dc(v[c+64>>2])}v[299999]=0;b=Q(3111,c- -64|0,887952)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Ig}v[299999]=0;$(3117,c+104|0,b|0,0,1);e=v[299999];v[299999]=0;if((e|0)==1){break Hg}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c- -64|0,886412)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Gg}v[299999]=0;$(3117,c+104|0,b|0,0,1);e=v[299999];v[299999]=0;if((e|0)==1){break Fg}if(t[b+11|0]<=-1){dc(v[b>>2])}dc(d);if(t[c+203|0]<=-1){dc(v[c+192>>2])}if(t[c+219|0]>-1){break Te}dc(v[c+208>>2]);break Te}a=P()|0;O()|0;break Eg}a=P()|0;O()|0;break Eg}a=P()|0;O()|0;break Eg}a=P()|0;O()|0;if(t[c+75|0]>-1){break Eg}dc(v[c+64>>2]);break Eg}a=P()|0;O()|0;break Eg}a=P()|0;O()|0;if(t[b+11|0]>-1){break Eg}dc(v[b>>2]);break Eg}a=P()|0;O()|0;break Eg}a=P()|0;O()|0;if(t[b+11|0]>-1){break Eg}dc(v[b>>2])}if(t[c+203|0]>-1){break zg}dc(v[c+192>>2]);break zg}a=P()|0;O()|0}if(t[c+219|0]<=-1){dc(v[c+208>>2])}break jd}v[299999]=0;R(3098,c+320|0);b=v[299999];v[299999]=0;if((b|0)==1){break od}v[299999]=0;Z(3101,g|0,234476,c+320|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break od}Ng:{if(v[c+320>>2]!=6){break Ng}b=v[c+328>>2];if(v[b+12>>2]!=1){break Ng}v[299999]=0;v[c+208>>2]=13;Z(3114,b|0,0,c+208|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break nd}Og:{if(v[c+208>>2]!=7){break Og}d=v[c+216>>2];if(!d){break Og}v[299999]=0;b=Q(3111,c+192|0,887980)|0;e=v[299999];v[299999]=0;Pg:{Qg:{Rg:{Sg:{Tg:{Ug:{Vg:{Wg:{Xg:{Yg:{Zg:{_g:{$g:{if((e|0)!=1){v[299999]=0;U(3112,c+104|0,b|0,0);e=v[299999];v[299999]=0;if((e|0)==1){break $g}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;v[c+192>>2]=13;Z(3101,d|0,278827,c+192|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Qg}ah:{if(v[c+192>>2]!=4){break ah}v[299999]=0;b=Q(3111,c- -64|0,888044)|0;e=v[299999];v[299999]=0;if((e|0)==1){break _g}v[299999]=0;U(3112,c+104|0,b|0,1);e=v[299999];v[299999]=0;if((e|0)==1){break Zg}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c- -64|0,887608)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Yg}v[299999]=0;V(3115,c+32|0,v[c+200>>2]);e=v[299999];v[299999]=0;if((e|0)==1){break Xg}v[299999]=0;U(3116,c+104|0,b|0,c+32|0);e=v[299999];v[299999]=0;if((e|0)==1){break Wg}if(t[c+43|0]<=-1){dc(v[c+32>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c- -64|0,888044)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Ug}v[299999]=0;Q(2725,c+104|0,888856)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Tg}if(t[b+11|0]>-1){break ah}dc(v[b>>2])}v[299999]=0;R(3098,c+192|0);b=v[299999];v[299999]=0;if((b|0)==1){break Qg}v[299999]=0;Z(3101,d|0,228412,c+192|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Qg}if(v[c+192>>2]==4){break Sg}break Rg}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;break Vg}a=P()|0;O()|0;if(t[c+43|0]>-1){break Vg}dc(v[c+32>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}v[299999]=0;b=Q(3111,c- -64|0,888076)|0;e=v[299999];v[299999]=0;bh:{ch:{dh:{eh:{fh:{gh:{hh:{if((e|0)!=1){v[299999]=0;U(3112,c+104|0,b|0,1);e=v[299999];v[299999]=0;if((e|0)==1){break hh}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c- -64|0,887608)|0;e=v[299999];v[299999]=0;if((e|0)==1){break gh}v[299999]=0;V(3115,c+32|0,v[c+200>>2]);e=v[299999];v[299999]=0;if((e|0)==1){break fh}v[299999]=0;U(3116,c+104|0,b|0,c+32|0);e=v[299999];v[299999]=0;if((e|0)==1){break eh}if(t[c+43|0]<=-1){dc(v[c+32>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c- -64|0,888076)|0;e=v[299999];v[299999]=0;if((e|0)==1){break ch}v[299999]=0;Q(2725,c+104|0,888856)|0;e=v[299999];v[299999]=0;if((e|0)==1){break bh}if(t[b+11|0]>-1){break Rg}dc(v[b>>2]);break Rg}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;break dh}a=P()|0;O()|0;if(t[c+43|0]>-1){break dh}dc(v[c+32>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}v[299999]=0;R(3098,c+192|0);b=v[299999];v[299999]=0;if((b|0)==1){break Qg}v[299999]=0;Z(3101,d|0,244432,c+192|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Qg}ih:{if(v[c+192>>2]!=7){break ih}e=v[c+200>>2];if(!e){break ih}v[299999]=0;b=Q(3111,c- -64|0,887664)|0;f=v[299999];v[299999]=0;jh:{kh:{lh:{mh:{nh:{oh:{ph:{qh:{rh:{sh:{th:{uh:{vh:{if((f|0)!=1){v[299999]=0;U(3112,c+104|0,b|0,0);f=v[299999];v[299999]=0;if((f|0)==1){break vh}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;v[c+64>>2]=13;Z(3101,e|0,217813,c- -64|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break kh}wh:{if(v[c+64>>2]!=3){break wh}v[299999]=0;b=Q(3111,c+32|0,887720)|0;f=v[299999];v[299999]=0;if((f|0)==1){break uh}v[299999]=0;U(3112,c+104|0,b|0,1);f=v[299999];v[299999]=0;if((f|0)==1){break th}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+32|0,887756)|0;f=v[299999];v[299999]=0;if((f|0)==1){break sh}f=v[v[c+72>>2]+4>>2];v[299999]=0;V(3115,c+88|0,f|0);f=v[299999];v[299999]=0;if((f|0)==1){break rh}v[299999]=0;U(3116,c+104|0,b|0,c+88|0);f=v[299999];v[299999]=0;if((f|0)==1){break qh}if(t[c+99|0]<=-1){dc(v[c+88>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+32|0,887720)|0;f=v[299999];v[299999]=0;if((f|0)==1){break oh}v[299999]=0;Q(2725,c+104|0,888856)|0;f=v[299999];v[299999]=0;if((f|0)==1){break nh}if(t[b+11|0]>-1){break wh}dc(v[b>>2])}v[299999]=0;R(3098,c- -64|0);b=v[299999];v[299999]=0;if((b|0)==1){break kh}v[299999]=0;Z(3101,e|0,272613,c- -64|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break kh}if(v[c+64>>2]==3){break mh}break lh}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;break ph}a=P()|0;O()|0;if(t[c+99|0]>-1){break ph}dc(v[c+88>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}v[299999]=0;b=Q(3111,c+32|0,887784)|0;f=v[299999];v[299999]=0;xh:{yh:{zh:{Ah:{Bh:{Ch:{Dh:{if((f|0)!=1){v[299999]=0;U(3112,c+104|0,b|0,1);f=v[299999];v[299999]=0;if((f|0)==1){break Dh}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+32|0,887756)|0;f=v[299999];v[299999]=0;if((f|0)==1){break Ch}f=v[v[c+72>>2]+4>>2];v[299999]=0;V(3115,c+88|0,f|0);f=v[299999];v[299999]=0;if((f|0)==1){break Bh}v[299999]=0;U(3116,c+104|0,b|0,c+88|0);f=v[299999];v[299999]=0;if((f|0)==1){break Ah}if(t[c+99|0]<=-1){dc(v[c+88>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+32|0,887784)|0;f=v[299999];v[299999]=0;if((f|0)==1){break yh}v[299999]=0;Q(2725,c+104|0,888856)|0;f=v[299999];v[299999]=0;if((f|0)==1){break xh}if(t[b+11|0]>-1){break lh}dc(v[b>>2]);break lh}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;break zh}a=P()|0;O()|0;if(t[c+99|0]>-1){break zh}dc(v[c+88>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}v[299999]=0;R(3098,c- -64|0);b=v[299999];v[299999]=0;if((b|0)==1){break kh}v[299999]=0;Z(3101,e|0,230742,c- -64|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break kh}Eh:{if(v[c+64>>2]!=1){break Eh}v[299999]=0;b=Q(3111,c+32|0,887820)|0;e=v[299999];v[299999]=0;Fh:{Gh:{Hh:{Ih:{Jh:{Kh:{Lh:{Mh:{Nh:{if((e|0)!=1){v[299999]=0;U(3112,c+104|0,b|0,1);e=v[299999];v[299999]=0;if((e|0)==1){break Nh}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+32|0,887864)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Mh}v[299999]=0;g=v[c+72>>2];e=Q(3111,c+88|0,885380)|0;f=v[299999];v[299999]=0;if((f|0)==1){break Lh}v[299999]=0;f=Q(3111,c+48|0,885380)|0;i=v[299999];v[299999]=0;if((i|0)==1){break Kh}v[299999]=0;da(3113,c+104|0,b|0,g|0,10,e|0,f|0);g=v[299999];v[299999]=0;if((g|0)==1){break Jh}if(t[f+11|0]<=-1){dc(v[f>>2])}if(t[e+11|0]<=-1){dc(v[e>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+32|0,887820)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Gh}v[299999]=0;Q(2725,c+104|0,888856)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Fh}if(t[b+11|0]>-1){break Eh}dc(v[b>>2]);break Eh}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;break Hh}a=P()|0;O()|0;break Ih}a=P()|0;O()|0;if(t[f+11|0]>-1){break Ih}dc(v[f>>2])}if(t[e+11|0]>-1){break Hh}dc(v[e>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}v[299999]=0;R(3098,c- -64|0);b=v[299999];v[299999]=0;if((b|0)!=1){break jh}}a=P()|0;O()|0;break jd}v[299999]=0;b=Q(3111,c+32|0,887664)|0;e=v[299999];v[299999]=0;Oh:{if((e|0)!=1){v[299999]=0;$(3117,c+104|0,b|0,0,1);e=v[299999];v[299999]=0;if((e|0)==1){break Oh}if(t[b+11|0]>-1){break ih}dc(v[b>>2]);break ih}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}v[299999]=0;R(3098,c+192|0);b=v[299999];v[299999]=0;if((b|0)==1){break Qg}v[299999]=0;Z(3101,d|0,237502,c+192|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Qg}Ph:{if(v[c+192>>2]!=7){break Ph}b=v[c+200>>2];if(!b){break Ph}v[299999]=0;e=Q(3111,c- -64|0,886756)|0;f=v[299999];v[299999]=0;Qh:{Rh:{Sh:{Th:{Uh:{Vh:{Wh:{Xh:{Yh:{Zh:{_h:{$h:{ai:{if((f|0)!=1){v[299999]=0;U(3112,c+104|0,e|0,0);f=v[299999];v[299999]=0;if((f|0)==1){break ai}if(t[e+11|0]<=-1){dc(v[e>>2])}v[299999]=0;v[c+64>>2]=13;Z(3101,b|0,280473,c- -64|0,0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Rh}bi:{if(v[c+64>>2]!=4){break bi}v[299999]=0;e=Q(3111,c+32|0,886816)|0;f=v[299999];v[299999]=0;if((f|0)==1){break $h}v[299999]=0;U(3112,c+104|0,e|0,1);f=v[299999];v[299999]=0;if((f|0)==1){break _h}if(t[e+11|0]<=-1){dc(v[e>>2])}v[299999]=0;e=Q(3111,c+32|0,887608)|0;f=v[299999];v[299999]=0;if((f|0)==1){break Zh}v[299999]=0;V(3115,c+88|0,v[c+72>>2]);f=v[299999];v[299999]=0;if((f|0)==1){break Yh}v[299999]=0;U(3116,c+104|0,e|0,c+88|0);f=v[299999];v[299999]=0;if((f|0)==1){break Xh}if(t[c+99|0]<=-1){dc(v[c+88>>2])}if(t[e+11|0]<=-1){dc(v[e>>2])}v[299999]=0;e=Q(3111,c+32|0,886816)|0;f=v[299999];v[299999]=0;if((f|0)==1){break Vh}v[299999]=0;Q(2725,c+104|0,888856)|0;f=v[299999];v[299999]=0;if((f|0)==1){break Uh}if(t[e+11|0]>-1){break bi}dc(v[e>>2])}v[299999]=0;R(3098,c- -64|0);e=v[299999];v[299999]=0;if((e|0)==1){break Rh}v[299999]=0;Z(3101,b|0,270179,c- -64|0,0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Rh}if(v[c+64>>2]==4){break Th}break Sh}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[e+11|0]<=-1){dc(v[e>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[e+11|0]<=-1){dc(v[e>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;break Wh}a=P()|0;O()|0;if(t[c+99|0]>-1){break Wh}dc(v[c+88>>2])}if(t[e+11|0]<=-1){dc(v[e>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[e+11|0]<=-1){dc(v[e>>2])}break jd}v[299999]=0;e=Q(3111,c+32|0,886896)|0;f=v[299999];v[299999]=0;ci:{di:{ei:{fi:{gi:{hi:{ii:{if((f|0)!=1){v[299999]=0;U(3112,c+104|0,e|0,1);f=v[299999];v[299999]=0;if((f|0)==1){break ii}if(t[e+11|0]<=-1){dc(v[e>>2])}v[299999]=0;e=Q(3111,c+32|0,887608)|0;f=v[299999];v[299999]=0;if((f|0)==1){break hi}v[299999]=0;V(3115,c+88|0,v[c+72>>2]);f=v[299999];v[299999]=0;if((f|0)==1){break gi}v[299999]=0;U(3116,c+104|0,e|0,c+88|0);f=v[299999];v[299999]=0;if((f|0)==1){break fi}if(t[c+99|0]<=-1){dc(v[c+88>>2])}if(t[e+11|0]<=-1){dc(v[e>>2])}v[299999]=0;e=Q(3111,c+32|0,886896)|0;f=v[299999];v[299999]=0;if((f|0)==1){break di}v[299999]=0;Q(2725,c+104|0,888856)|0;f=v[299999];v[299999]=0;if((f|0)==1){break ci}if(t[e+11|0]>-1){break Sh}dc(v[e>>2]);break Sh}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[e+11|0]<=-1){dc(v[e>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;break ei}a=P()|0;O()|0;if(t[c+99|0]>-1){break ei}dc(v[c+88>>2])}if(t[e+11|0]<=-1){dc(v[e>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[e+11|0]<=-1){dc(v[e>>2])}break jd}v[299999]=0;R(3098,c- -64|0);e=v[299999];v[299999]=0;if((e|0)==1){break Rh}v[299999]=0;Z(3101,b|0,232184,c- -64|0,0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Rh}ji:{if(v[c+64>>2]!=1){break ji}v[299999]=0;e=Q(3111,c+32|0,886944)|0;f=v[299999];v[299999]=0;ki:{li:{mi:{ni:{oi:{pi:{qi:{ri:{si:{if((f|0)!=1){v[299999]=0;U(3112,c+104|0,e|0,1);f=v[299999];v[299999]=0;if((f|0)==1){break si}if(t[e+11|0]<=-1){dc(v[e>>2])}v[299999]=0;e=Q(3111,c+32|0,888112)|0;f=v[299999];v[299999]=0;if((f|0)==1){break ri}v[299999]=0;i=v[c+72>>2];f=Q(3111,c+88|0,885380)|0;g=v[299999];v[299999]=0;if((g|0)==1){break qi}v[299999]=0;g=Q(3111,c+48|0,885380)|0;l=v[299999];v[299999]=0;if((l|0)==1){break pi}v[299999]=0;da(3113,c+104|0,e|0,i|0,10,f|0,g|0);i=v[299999];v[299999]=0;if((i|0)==1){break oi}if(t[g+11|0]<=-1){dc(v[g>>2])}if(t[f+11|0]<=-1){dc(v[f>>2])}if(t[e+11|0]<=-1){dc(v[e>>2])}v[299999]=0;e=Q(3111,c+32|0,886944)|0;f=v[299999];v[299999]=0;if((f|0)==1){break li}v[299999]=0;Q(2725,c+104|0,888856)|0;f=v[299999];v[299999]=0;if((f|0)==1){break ki}if(t[e+11|0]>-1){break ji}dc(v[e>>2]);break ji}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[e+11|0]<=-1){dc(v[e>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;break mi}a=P()|0;O()|0;break ni}a=P()|0;O()|0;if(t[g+11|0]>-1){break ni}dc(v[g>>2])}if(t[f+11|0]>-1){break mi}dc(v[f>>2])}if(t[e+11|0]<=-1){dc(v[e>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[e+11|0]<=-1){dc(v[e>>2])}break jd}v[299999]=0;R(3098,c- -64|0);e=v[299999];v[299999]=0;if((e|0)==1){break Rh}v[299999]=0;Z(3101,b|0,236357,c- -64|0,0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Rh}ti:{if(v[c+64>>2]!=1){break ti}v[299999]=0;e=Q(3111,c+32|0,886988)|0;f=v[299999];v[299999]=0;ui:{vi:{wi:{xi:{yi:{zi:{Ai:{Bi:{Ci:{if((f|0)!=1){v[299999]=0;U(3112,c+104|0,e|0,1);f=v[299999];v[299999]=0;if((f|0)==1){break Ci}if(t[e+11|0]<=-1){dc(v[e>>2])}v[299999]=0;e=Q(3111,c+32|0,887864)|0;f=v[299999];v[299999]=0;if((f|0)==1){break Bi}v[299999]=0;i=v[c+72>>2];f=Q(3111,c+88|0,885380)|0;g=v[299999];v[299999]=0;if((g|0)==1){break Ai}v[299999]=0;g=Q(3111,c+48|0,885380)|0;l=v[299999];v[299999]=0;if((l|0)==1){break zi}v[299999]=0;da(3113,c+104|0,e|0,i|0,10,f|0,g|0);i=v[299999];v[299999]=0;if((i|0)==1){break yi}if(t[g+11|0]<=-1){dc(v[g>>2])}if(t[f+11|0]<=-1){dc(v[f>>2])}if(t[e+11|0]<=-1){dc(v[e>>2])}v[299999]=0;e=Q(3111,c+32|0,886988)|0;f=v[299999];v[299999]=0;if((f|0)==1){break vi}v[299999]=0;Q(2725,c+104|0,888856)|0;f=v[299999];v[299999]=0;if((f|0)==1){break ui}if(t[e+11|0]>-1){break ti}dc(v[e>>2]);break ti}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[e+11|0]<=-1){dc(v[e>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;break wi}a=P()|0;O()|0;break xi}a=P()|0;O()|0;if(t[g+11|0]>-1){break xi}dc(v[g>>2])}if(t[f+11|0]>-1){break wi}dc(v[f>>2])}if(t[e+11|0]<=-1){dc(v[e>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[e+11|0]<=-1){dc(v[e>>2])}break jd}v[299999]=0;R(3098,c- -64|0);e=v[299999];v[299999]=0;if((e|0)==1){break Rh}v[299999]=0;Z(3101,b|0,220491,c- -64|0,0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Rh}Di:{if(v[c+64>>2]!=6){break Di}f=v[c+72>>2];if(!f|v[f+12>>2]!=4){break Di}v[299999]=0;e=Q(3111,c+32|0,887012)|0;g=v[299999];v[299999]=0;Ei:{Fi:{Gi:{Hi:{Ii:{Ji:{Ki:{Li:{Mi:{Ni:{if((g|0)!=1){v[299999]=0;U(3112,c+104|0,e|0,1);g=v[299999];v[299999]=0;if((g|0)==1){break Ni}if(t[e+11|0]<=-1){dc(v[e>>2])}v[299999]=0;v[c+32>>2]=13;Z(3114,f|0,0,c+32|0,0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Ei}Oi:{if(v[c+32>>2]!=1){break Oi}v[299999]=0;V(2726,c+48|0,0);e=v[299999];v[299999]=0;if((e|0)==1){break Fi}v[299999]=0;e=Y(2347,c+48|0,0,886580)|0;g=v[299999];v[299999]=0;if((g|0)==1){break Gi}v[c+96>>2]=v[e+8>>2];g=v[e+4>>2];v[c+88>>2]=v[e>>2];v[c+92>>2]=g;v[e>>2]=0;v[e+4>>2]=0;v[e+8>>2]=0;if(t[c+59|0]<=-1){dc(v[c+48>>2])}v[299999]=0;e=v[c+40>>2];g=Q(3111,c+48|0,885380)|0;i=v[299999];v[299999]=0;if((i|0)==1){break Ii}v[299999]=0;i=Q(3111,c+16|0,885380)|0;l=v[299999];v[299999]=0;if((l|0)==1){break Ki}v[299999]=0;da(3113,c+104|0,c+88|0,e|0,10,g|0,i|0);e=v[299999];v[299999]=0;if((e|0)==1){break Li}if(t[c+27|0]<=-1){dc(v[c+16>>2])}if(t[c+59|0]<=-1){dc(v[c+48>>2])}if(t[c+99|0]>-1){break Oi}dc(v[c+88>>2])}v[299999]=0;R(3098,c+32|0);e=v[299999];v[299999]=0;if((e|0)==1){break Ei}v[299999]=0;v[c+32>>2]=13;Z(3114,f|0,1,c+32|0,0)|0;e=v[299999];v[299999]=0;if((e|0)!=1){break Mi}break Ei}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[e+11|0]<=-1){dc(v[e>>2])}break jd}Pi:{if(v[c+32>>2]!=1){break Pi}v[299999]=0;V(2726,c+48|0,1);e=v[299999];v[299999]=0;if((e|0)==1){break Fi}v[299999]=0;e=Y(2347,c+48|0,0,886580)|0;g=v[299999];v[299999]=0;if((g|0)==1){break Gi}v[c+96>>2]=v[e+8>>2];g=v[e+4>>2];v[c+88>>2]=v[e>>2];v[c+92>>2]=g;v[e>>2]=0;v[e+4>>2]=0;v[e+8>>2]=0;if(t[c+59|0]<=-1){dc(v[c+48>>2])}v[299999]=0;e=v[c+40>>2];g=Q(3111,c+48|0,885380)|0;i=v[299999];v[299999]=0;if((i|0)==1){break Ii}v[299999]=0;i=Q(3111,c+16|0,885380)|0;l=v[299999];v[299999]=0;if((l|0)==1){break Ki}v[299999]=0;da(3113,c+104|0,c+88|0,e|0,10,g|0,i|0);e=v[299999];v[299999]=0;if((e|0)==1){break Li}if(t[c+27|0]<=-1){dc(v[c+16>>2])}if(t[c+59|0]<=-1){dc(v[c+48>>2])}if(t[c+99|0]>-1){break Pi}dc(v[c+88>>2])}v[299999]=0;R(3098,c+32|0);e=v[299999];v[299999]=0;if((e|0)==1){break Ei}v[299999]=0;v[c+32>>2]=13;Z(3114,f|0,2,c+32|0,0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Ei}Qi:{if(v[c+32>>2]!=1){break Qi}v[299999]=0;V(2726,c+48|0,2);e=v[299999];v[299999]=0;if((e|0)==1){break Fi}v[299999]=0;e=Y(2347,c+48|0,0,886580)|0;g=v[299999];v[299999]=0;if((g|0)==1){break Gi}v[c+96>>2]=v[e+8>>2];g=v[e+4>>2];v[c+88>>2]=v[e>>2];v[c+92>>2]=g;v[e>>2]=0;v[e+4>>2]=0;v[e+8>>2]=0;if(t[c+59|0]<=-1){dc(v[c+48>>2])}v[299999]=0;e=v[c+40>>2];g=Q(3111,c+48|0,885380)|0;i=v[299999];v[299999]=0;if((i|0)==1){break Ii}v[299999]=0;i=Q(3111,c+16|0,885380)|0;l=v[299999];v[299999]=0;if((l|0)==1){break Ki}v[299999]=0;da(3113,c+104|0,c+88|0,e|0,10,g|0,i|0);e=v[299999];v[299999]=0;if((e|0)==1){break Li}if(t[c+27|0]<=-1){dc(v[c+16>>2])}if(t[c+59|0]<=-1){dc(v[c+48>>2])}if(t[c+99|0]>-1){break Qi}dc(v[c+88>>2])}v[299999]=0;R(3098,c+32|0);e=v[299999];v[299999]=0;if((e|0)==1){break Ei}v[299999]=0;v[c+32>>2]=13;Z(3114,f|0,3,c+32|0,0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Ei}Ri:{if(v[c+32>>2]!=1){break Ri}v[299999]=0;V(2726,c+48|0,3);e=v[299999];v[299999]=0;if((e|0)==1){break Fi}v[299999]=0;e=Y(2347,c+48|0,0,886580)|0;f=v[299999];v[299999]=0;if((f|0)==1){break Gi}v[c+96>>2]=v[e+8>>2];f=v[e+4>>2];v[c+88>>2]=v[e>>2];v[c+92>>2]=f;v[e>>2]=0;v[e+4>>2]=0;v[e+8>>2]=0;if(t[c+59|0]<=-1){dc(v[c+48>>2])}v[299999]=0;e=v[c+40>>2];f=Q(3111,c+48|0,885380)|0;g=v[299999];v[299999]=0;if((g|0)==1){break Ii}v[299999]=0;g=Q(3111,c+16|0,885380)|0;i=v[299999];v[299999]=0;if((i|0)==1){break Ki}v[299999]=0;da(3113,c+104|0,c+88|0,e|0,10,f|0,g|0);e=v[299999];v[299999]=0;if((e|0)==1){break Li}if(t[c+27|0]<=-1){dc(v[c+16>>2])}if(t[c+59|0]<=-1){dc(v[c+48>>2])}if(t[c+99|0]>-1){break Ri}dc(v[c+88>>2])}v[299999]=0;R(3098,c+32|0);e=v[299999];v[299999]=0;if((e|0)==1){break Ei}v[299999]=0;e=Q(3111,c+32|0,887012)|0;f=v[299999];v[299999]=0;if((f|0)==1){a=P()|0;O()|0;break jd}v[299999]=0;Q(2725,c+104|0,888856)|0;f=v[299999];v[299999]=0;if((f|0)!=1){if(t[e+11|0]>-1){break Di}dc(v[e>>2]);break Di}a=P()|0;O()|0;if(t[e+11|0]<=-1){dc(v[e>>2])}break jd}a=P()|0;O()|0;if(t[c+27|0]>-1){break Ji}dc(v[c+16>>2]);break Ji}a=P()|0;O()|0}if(t[c+59|0]>-1){break Hi}dc(v[c+48>>2]);break Hi}a=P()|0;O()|0}if(t[c+99|0]<=-1){dc(v[c+88>>2])}break jd}a=P()|0;O()|0;if(t[c+59|0]<=-1){dc(v[c+48>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;break jd}v[299999]=0;R(3098,c- -64|0);e=v[299999];v[299999]=0;if((e|0)==1){break Rh}v[299999]=0;Z(3101,b|0,281503,c- -64|0,0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Rh}Si:{if(v[c+64>>2]!=1){break Si}v[299999]=0;e=Q(3111,c+32|0,887048)|0;f=v[299999];v[299999]=0;Ti:{Ui:{Vi:{Wi:{Xi:{Yi:{Zi:{_i:{$i:{if((f|0)!=1){v[299999]=0;U(3112,c+104|0,e|0,1);f=v[299999];v[299999]=0;if((f|0)==1){break $i}if(t[e+11|0]<=-1){dc(v[e>>2])}v[299999]=0;e=Q(3111,c+32|0,888112)|0;f=v[299999];v[299999]=0;if((f|0)==1){break _i}v[299999]=0;i=v[c+72>>2];f=Q(3111,c+88|0,885380)|0;g=v[299999];v[299999]=0;if((g|0)==1){break Zi}v[299999]=0;g=Q(3111,c+48|0,885380)|0;l=v[299999];v[299999]=0;if((l|0)==1){break Yi}v[299999]=0;da(3113,c+104|0,e|0,i|0,10,f|0,g|0);i=v[299999];v[299999]=0;if((i|0)==1){break Xi}if(t[g+11|0]<=-1){dc(v[g>>2])}if(t[f+11|0]<=-1){dc(v[f>>2])}if(t[e+11|0]<=-1){dc(v[e>>2])}v[299999]=0;e=Q(3111,c+32|0,887048)|0;f=v[299999];v[299999]=0;if((f|0)==1){break Ui}v[299999]=0;Q(2725,c+104|0,888856)|0;f=v[299999];v[299999]=0;if((f|0)==1){break Ti}if(t[e+11|0]>-1){break Si}dc(v[e>>2]);break Si}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[e+11|0]<=-1){dc(v[e>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;break Vi}a=P()|0;O()|0;break Wi}a=P()|0;O()|0;if(t[g+11|0]>-1){break Wi}dc(v[g>>2])}if(t[f+11|0]>-1){break Vi}dc(v[f>>2])}if(t[e+11|0]<=-1){dc(v[e>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[e+11|0]<=-1){dc(v[e>>2])}break jd}v[299999]=0;R(3098,c- -64|0);e=v[299999];v[299999]=0;if((e|0)==1){break Rh}v[299999]=0;Z(3101,b|0,230838,c- -64|0,0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Rh}aj:{if(v[c+64>>2]!=1){break aj}v[299999]=0;e=Q(3111,c+32|0,887096)|0;f=v[299999];v[299999]=0;bj:{cj:{dj:{ej:{fj:{gj:{hj:{ij:{jj:{if((f|0)!=1){v[299999]=0;U(3112,c+104|0,e|0,1);f=v[299999];v[299999]=0;if((f|0)==1){break jj}if(t[e+11|0]<=-1){dc(v[e>>2])}v[299999]=0;e=Q(3111,c+32|0,888112)|0;f=v[299999];v[299999]=0;if((f|0)==1){break ij}v[299999]=0;i=v[c+72>>2];f=Q(3111,c+88|0,885380)|0;g=v[299999];v[299999]=0;if((g|0)==1){break hj}v[299999]=0;g=Q(3111,c+48|0,885380)|0;l=v[299999];v[299999]=0;if((l|0)==1){break gj}v[299999]=0;da(3113,c+104|0,e|0,i|0,10,f|0,g|0);i=v[299999];v[299999]=0;if((i|0)==1){break fj}if(t[g+11|0]<=-1){dc(v[g>>2])}if(t[f+11|0]<=-1){dc(v[f>>2])}if(t[e+11|0]<=-1){dc(v[e>>2])}v[299999]=0;e=Q(3111,c+32|0,887096)|0;f=v[299999];v[299999]=0;if((f|0)==1){break cj}v[299999]=0;Q(2725,c+104|0,888856)|0;f=v[299999];v[299999]=0;if((f|0)==1){break bj}if(t[e+11|0]>-1){break aj}dc(v[e>>2]);break aj}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[e+11|0]<=-1){dc(v[e>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;break dj}a=P()|0;O()|0;break ej}a=P()|0;O()|0;if(t[g+11|0]>-1){break ej}dc(v[g>>2])}if(t[f+11|0]>-1){break dj}dc(v[f>>2])}if(t[e+11|0]<=-1){dc(v[e>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[e+11|0]<=-1){dc(v[e>>2])}break jd}v[299999]=0;R(3098,c- -64|0);e=v[299999];v[299999]=0;if((e|0)==1){break Rh}v[299999]=0;Z(3101,b|0,230830,c- -64|0,0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Rh}kj:{if(v[c+64>>2]!=1){break kj}v[299999]=0;e=Q(3111,c+32|0,887276)|0;f=v[299999];v[299999]=0;lj:{mj:{nj:{oj:{pj:{qj:{rj:{sj:{tj:{if((f|0)!=1){v[299999]=0;U(3112,c+104|0,e|0,1);f=v[299999];v[299999]=0;if((f|0)==1){break tj}if(t[e+11|0]<=-1){dc(v[e>>2])}v[299999]=0;e=Q(3111,c+32|0,888112)|0;f=v[299999];v[299999]=0;if((f|0)==1){break sj}v[299999]=0;i=v[c+72>>2];f=Q(3111,c+88|0,885380)|0;g=v[299999];v[299999]=0;if((g|0)==1){break rj}v[299999]=0;g=Q(3111,c+48|0,885380)|0;l=v[299999];v[299999]=0;if((l|0)==1){break qj}v[299999]=0;da(3113,c+104|0,e|0,i|0,10,f|0,g|0);i=v[299999];v[299999]=0;if((i|0)==1){break pj}if(t[g+11|0]<=-1){dc(v[g>>2])}if(t[f+11|0]<=-1){dc(v[f>>2])}if(t[e+11|0]<=-1){dc(v[e>>2])}v[299999]=0;e=Q(3111,c+32|0,887276)|0;f=v[299999];v[299999]=0;if((f|0)==1){break mj}v[299999]=0;Q(2725,c+104|0,888856)|0;f=v[299999];v[299999]=0;if((f|0)==1){break lj}if(t[e+11|0]>-1){break kj}dc(v[e>>2]);break kj}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[e+11|0]<=-1){dc(v[e>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;break nj}a=P()|0;O()|0;break oj}a=P()|0;O()|0;if(t[g+11|0]>-1){break oj}dc(v[g>>2])}if(t[f+11|0]>-1){break nj}dc(v[f>>2])}if(t[e+11|0]<=-1){dc(v[e>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[e+11|0]<=-1){dc(v[e>>2])}break jd}v[299999]=0;R(3098,c- -64|0);e=v[299999];v[299999]=0;if((e|0)==1){break Rh}v[299999]=0;Z(3101,b|0,273024,c- -64|0,0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Rh}uj:{if(v[c+64>>2]!=1){break uj}v[299999]=0;e=Q(3111,c+32|0,887124)|0;f=v[299999];v[299999]=0;vj:{wj:{xj:{yj:{zj:{Aj:{Bj:{Cj:{Dj:{if((f|0)!=1){v[299999]=0;U(3112,c+104|0,e|0,1);f=v[299999];v[299999]=0;if((f|0)==1){break Dj}if(t[e+11|0]<=-1){dc(v[e>>2])}v[299999]=0;e=Q(3111,c+32|0,888112)|0;f=v[299999];v[299999]=0;if((f|0)==1){break Cj}v[299999]=0;i=v[c+72>>2];f=Q(3111,c+88|0,885380)|0;g=v[299999];v[299999]=0;if((g|0)==1){break Bj}v[299999]=0;g=Q(3111,c+48|0,885380)|0;l=v[299999];v[299999]=0;if((l|0)==1){break Aj}v[299999]=0;da(3113,c+104|0,e|0,i|0,10,f|0,g|0);i=v[299999];v[299999]=0;if((i|0)==1){break zj}if(t[g+11|0]<=-1){dc(v[g>>2])}if(t[f+11|0]<=-1){dc(v[f>>2])}if(t[e+11|0]<=-1){dc(v[e>>2])}v[299999]=0;e=Q(3111,c+32|0,887124)|0;f=v[299999];v[299999]=0;if((f|0)==1){break wj}v[299999]=0;Q(2725,c+104|0,888856)|0;f=v[299999];v[299999]=0;if((f|0)==1){break vj}if(t[e+11|0]>-1){break uj}dc(v[e>>2]);break uj}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[e+11|0]<=-1){dc(v[e>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;break xj}a=P()|0;O()|0;break yj}a=P()|0;O()|0;if(t[g+11|0]>-1){break yj}dc(v[g>>2])}if(t[f+11|0]>-1){break xj}dc(v[f>>2])}if(t[e+11|0]<=-1){dc(v[e>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[e+11|0]<=-1){dc(v[e>>2])}break jd}v[299999]=0;R(3098,c- -64|0);e=v[299999];v[299999]=0;if((e|0)==1){break Rh}v[299999]=0;Z(3101,b|0,232195,c- -64|0,0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Rh}Ej:{if(v[c+64>>2]!=1){break Ej}v[299999]=0;e=Q(3111,c+32|0,887156)|0;f=v[299999];v[299999]=0;Fj:{Gj:{Hj:{Ij:{Jj:{Kj:{Lj:{Mj:{Nj:{if((f|0)!=1){v[299999]=0;U(3112,c+104|0,e|0,1);f=v[299999];v[299999]=0;if((f|0)==1){break Nj}if(t[e+11|0]<=-1){dc(v[e>>2])}v[299999]=0;e=Q(3111,c+32|0,888112)|0;f=v[299999];v[299999]=0;if((f|0)==1){break Mj}v[299999]=0;i=v[c+72>>2];f=Q(3111,c+88|0,885380)|0;g=v[299999];v[299999]=0;if((g|0)==1){break Lj}v[299999]=0;g=Q(3111,c+48|0,885380)|0;l=v[299999];v[299999]=0;if((l|0)==1){break Kj}v[299999]=0;da(3113,c+104|0,e|0,i|0,10,f|0,g|0);i=v[299999];v[299999]=0;if((i|0)==1){break Jj}if(t[g+11|0]<=-1){dc(v[g>>2])}if(t[f+11|0]<=-1){dc(v[f>>2])}if(t[e+11|0]<=-1){dc(v[e>>2])}v[299999]=0;e=Q(3111,c+32|0,887156)|0;f=v[299999];v[299999]=0;if((f|0)==1){break Gj}v[299999]=0;Q(2725,c+104|0,888856)|0;f=v[299999];v[299999]=0;if((f|0)==1){break Fj}if(t[e+11|0]>-1){break Ej}dc(v[e>>2]);break Ej}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[e+11|0]<=-1){dc(v[e>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;break Hj}a=P()|0;O()|0;break Ij}a=P()|0;O()|0;if(t[g+11|0]>-1){break Ij}dc(v[g>>2])}if(t[f+11|0]>-1){break Hj}dc(v[f>>2])}if(t[e+11|0]<=-1){dc(v[e>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[e+11|0]<=-1){dc(v[e>>2])}break jd}v[299999]=0;R(3098,c- -64|0);e=v[299999];v[299999]=0;if((e|0)==1){break Rh}v[299999]=0;Z(3101,b|0,232218,c- -64|0,0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Rh}Oj:{if(v[c+64>>2]!=1){break Oj}v[299999]=0;e=Q(3111,c+32|0,887196)|0;f=v[299999];v[299999]=0;Pj:{Qj:{Rj:{Sj:{Tj:{Uj:{Vj:{Wj:{Xj:{if((f|0)!=1){v[299999]=0;U(3112,c+104|0,e|0,1);f=v[299999];v[299999]=0;if((f|0)==1){break Xj}if(t[e+11|0]<=-1){dc(v[e>>2])}v[299999]=0;e=Q(3111,c+32|0,888112)|0;f=v[299999];v[299999]=0;if((f|0)==1){break Wj}v[299999]=0;i=v[c+72>>2];f=Q(3111,c+88|0,885380)|0;g=v[299999];v[299999]=0;if((g|0)==1){break Vj}v[299999]=0;g=Q(3111,c+48|0,885380)|0;l=v[299999];v[299999]=0;if((l|0)==1){break Uj}v[299999]=0;da(3113,c+104|0,e|0,i|0,10,f|0,g|0);i=v[299999];v[299999]=0;if((i|0)==1){break Tj}if(t[g+11|0]<=-1){dc(v[g>>2])}if(t[f+11|0]<=-1){dc(v[f>>2])}if(t[e+11|0]<=-1){dc(v[e>>2])}v[299999]=0;e=Q(3111,c+32|0,887196)|0;f=v[299999];v[299999]=0;if((f|0)==1){break Qj}v[299999]=0;Q(2725,c+104|0,888856)|0;f=v[299999];v[299999]=0;if((f|0)==1){break Pj}if(t[e+11|0]>-1){break Oj}dc(v[e>>2]);break Oj}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[e+11|0]<=-1){dc(v[e>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;break Rj}a=P()|0;O()|0;break Sj}a=P()|0;O()|0;if(t[g+11|0]>-1){break Sj}dc(v[g>>2])}if(t[f+11|0]>-1){break Rj}dc(v[f>>2])}if(t[e+11|0]<=-1){dc(v[e>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[e+11|0]<=-1){dc(v[e>>2])}break jd}v[299999]=0;R(3098,c- -64|0);e=v[299999];v[299999]=0;if((e|0)==1){break Rh}v[299999]=0;Z(3101,b|0,309725,c- -64|0,0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Rh}Yj:{if(v[c+64>>2]!=1){break Yj}v[299999]=0;e=Q(3111,c+32|0,887228)|0;f=v[299999];v[299999]=0;Zj:{_j:{$j:{ak:{bk:{ck:{dk:{ek:{fk:{if((f|0)!=1){v[299999]=0;U(3112,c+104|0,e|0,1);f=v[299999];v[299999]=0;if((f|0)==1){break fk}if(t[e+11|0]<=-1){dc(v[e>>2])}v[299999]=0;e=Q(3111,c+32|0,888112)|0;f=v[299999];v[299999]=0;if((f|0)==1){break ek}v[299999]=0;i=v[c+72>>2];f=Q(3111,c+88|0,885380)|0;g=v[299999];v[299999]=0;if((g|0)==1){break dk}v[299999]=0;g=Q(3111,c+48|0,885380)|0;l=v[299999];v[299999]=0;if((l|0)==1){break ck}v[299999]=0;da(3113,c+104|0,e|0,i|0,10,f|0,g|0);i=v[299999];v[299999]=0;if((i|0)==1){break bk}if(t[g+11|0]<=-1){dc(v[g>>2])}if(t[f+11|0]<=-1){dc(v[f>>2])}if(t[e+11|0]<=-1){dc(v[e>>2])}v[299999]=0;e=Q(3111,c+32|0,887228)|0;f=v[299999];v[299999]=0;if((f|0)==1){break _j}v[299999]=0;Q(2725,c+104|0,888856)|0;f=v[299999];v[299999]=0;if((f|0)==1){break Zj}if(t[e+11|0]>-1){break Yj}dc(v[e>>2]);break Yj}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[e+11|0]<=-1){dc(v[e>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;break $j}a=P()|0;O()|0;break ak}a=P()|0;O()|0;if(t[g+11|0]>-1){break ak}dc(v[g>>2])}if(t[f+11|0]>-1){break $j}dc(v[f>>2])}if(t[e+11|0]<=-1){dc(v[e>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[e+11|0]<=-1){dc(v[e>>2])}break jd}v[299999]=0;R(3098,c- -64|0);e=v[299999];v[299999]=0;if((e|0)==1){break Rh}v[299999]=0;Z(3101,b|0,320709,c- -64|0,0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Rh}gk:{if(v[c+64>>2]!=1){break gk}v[299999]=0;e=Q(3111,c+32|0,887252)|0;f=v[299999];v[299999]=0;hk:{ik:{jk:{kk:{lk:{mk:{nk:{ok:{pk:{if((f|0)!=1){v[299999]=0;U(3112,c+104|0,e|0,1);f=v[299999];v[299999]=0;if((f|0)==1){break pk}if(t[e+11|0]<=-1){dc(v[e>>2])}v[299999]=0;e=Q(3111,c+32|0,888112)|0;f=v[299999];v[299999]=0;if((f|0)==1){break ok}v[299999]=0;i=v[c+72>>2];f=Q(3111,c+88|0,885380)|0;g=v[299999];v[299999]=0;if((g|0)==1){break nk}v[299999]=0;g=Q(3111,c+48|0,885380)|0;l=v[299999];v[299999]=0;if((l|0)==1){break mk}v[299999]=0;da(3113,c+104|0,e|0,i|0,10,f|0,g|0);i=v[299999];v[299999]=0;if((i|0)==1){break lk}if(t[g+11|0]<=-1){dc(v[g>>2])}if(t[f+11|0]<=-1){dc(v[f>>2])}if(t[e+11|0]<=-1){dc(v[e>>2])}v[299999]=0;e=Q(3111,c+32|0,887252)|0;f=v[299999];v[299999]=0;if((f|0)==1){break ik}v[299999]=0;Q(2725,c+104|0,888856)|0;f=v[299999];v[299999]=0;if((f|0)==1){break hk}if(t[e+11|0]>-1){break gk}dc(v[e>>2]);break gk}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[e+11|0]<=-1){dc(v[e>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;break jk}a=P()|0;O()|0;break kk}a=P()|0;O()|0;if(t[g+11|0]>-1){break kk}dc(v[g>>2])}if(t[f+11|0]>-1){break jk}dc(v[f>>2])}if(t[e+11|0]<=-1){dc(v[e>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[e+11|0]<=-1){dc(v[e>>2])}break jd}v[299999]=0;R(3098,c- -64|0);e=v[299999];v[299999]=0;if((e|0)==1){break Rh}v[299999]=0;Z(3101,b|0,269603,c- -64|0,0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Rh}qk:{if(v[c+64>>2]!=1){break qk}v[299999]=0;e=Q(3111,c+32|0,887308)|0;f=v[299999];v[299999]=0;rk:{sk:{tk:{uk:{vk:{wk:{xk:{yk:{zk:{if((f|0)!=1){v[299999]=0;U(3112,c+104|0,e|0,1);f=v[299999];v[299999]=0;if((f|0)==1){break zk}if(t[e+11|0]<=-1){dc(v[e>>2])}v[299999]=0;e=Q(3111,c+32|0,888112)|0;f=v[299999];v[299999]=0;if((f|0)==1){break yk}v[299999]=0;i=v[c+72>>2];f=Q(3111,c+88|0,885380)|0;g=v[299999];v[299999]=0;if((g|0)==1){break xk}v[299999]=0;g=Q(3111,c+48|0,885380)|0;l=v[299999];v[299999]=0;if((l|0)==1){break wk}v[299999]=0;da(3113,c+104|0,e|0,i|0,10,f|0,g|0);i=v[299999];v[299999]=0;if((i|0)==1){break vk}if(t[g+11|0]<=-1){dc(v[g>>2])}if(t[f+11|0]<=-1){dc(v[f>>2])}if(t[e+11|0]<=-1){dc(v[e>>2])}v[299999]=0;e=Q(3111,c+32|0,887308)|0;f=v[299999];v[299999]=0;if((f|0)==1){break sk}v[299999]=0;Q(2725,c+104|0,888856)|0;f=v[299999];v[299999]=0;if((f|0)==1){break rk}if(t[e+11|0]>-1){break qk}dc(v[e>>2]);break qk}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[e+11|0]<=-1){dc(v[e>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;break tk}a=P()|0;O()|0;break uk}a=P()|0;O()|0;if(t[g+11|0]>-1){break uk}dc(v[g>>2])}if(t[f+11|0]>-1){break tk}dc(v[f>>2])}if(t[e+11|0]<=-1){dc(v[e>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[e+11|0]<=-1){dc(v[e>>2])}break jd}v[299999]=0;R(3098,c- -64|0);e=v[299999];v[299999]=0;if((e|0)==1){break Rh}v[299999]=0;Z(3101,b|0,269571,c- -64|0,0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Rh}Ak:{if(v[c+64>>2]!=1){break Ak}v[299999]=0;e=Q(3111,c+32|0,887344)|0;f=v[299999];v[299999]=0;Bk:{Ck:{Dk:{Ek:{Fk:{Gk:{Hk:{Ik:{Jk:{if((f|0)!=1){v[299999]=0;U(3112,c+104|0,e|0,1);f=v[299999];v[299999]=0;if((f|0)==1){break Jk}if(t[e+11|0]<=-1){dc(v[e>>2])}v[299999]=0;e=Q(3111,c+32|0,888112)|0;f=v[299999];v[299999]=0;if((f|0)==1){break Ik}v[299999]=0;i=v[c+72>>2];f=Q(3111,c+88|0,885380)|0;g=v[299999];v[299999]=0;if((g|0)==1){break Hk}v[299999]=0;g=Q(3111,c+48|0,885380)|0;l=v[299999];v[299999]=0;if((l|0)==1){break Gk}v[299999]=0;da(3113,c+104|0,e|0,i|0,10,f|0,g|0);i=v[299999];v[299999]=0;if((i|0)==1){break Fk}if(t[g+11|0]<=-1){dc(v[g>>2])}if(t[f+11|0]<=-1){dc(v[f>>2])}if(t[e+11|0]<=-1){dc(v[e>>2])}v[299999]=0;e=Q(3111,c+32|0,887344)|0;f=v[299999];v[299999]=0;if((f|0)==1){break Ck}v[299999]=0;Q(2725,c+104|0,888856)|0;f=v[299999];v[299999]=0;if((f|0)==1){break Bk}if(t[e+11|0]>-1){break Ak}dc(v[e>>2]);break Ak}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[e+11|0]<=-1){dc(v[e>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;break Dk}a=P()|0;O()|0;break Ek}a=P()|0;O()|0;if(t[g+11|0]>-1){break Ek}dc(v[g>>2])}if(t[f+11|0]>-1){break Dk}dc(v[f>>2])}if(t[e+11|0]<=-1){dc(v[e>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[e+11|0]<=-1){dc(v[e>>2])}break jd}v[299999]=0;R(3098,c- -64|0);e=v[299999];v[299999]=0;if((e|0)==1){break Rh}v[299999]=0;Z(3101,b|0,269612,c- -64|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Rh}Kk:{if(v[c+64>>2]!=1){break Kk}v[299999]=0;b=Q(3111,c+32|0,887380)|0;e=v[299999];v[299999]=0;Lk:{Mk:{Nk:{Ok:{Pk:{Qk:{Rk:{Sk:{Tk:{if((e|0)!=1){v[299999]=0;U(3112,c+104|0,b|0,1);e=v[299999];v[299999]=0;if((e|0)==1){break Tk}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+32|0,888112)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Sk}v[299999]=0;g=v[c+72>>2];e=Q(3111,c+88|0,885380)|0;f=v[299999];v[299999]=0;if((f|0)==1){break Rk}v[299999]=0;f=Q(3111,c+48|0,885380)|0;i=v[299999];v[299999]=0;if((i|0)==1){break Qk}v[299999]=0;da(3113,c+104|0,b|0,g|0,10,e|0,f|0);g=v[299999];v[299999]=0;if((g|0)==1){break Pk}if(t[f+11|0]<=-1){dc(v[f>>2])}if(t[e+11|0]<=-1){dc(v[e>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+32|0,887380)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Mk}v[299999]=0;Q(2725,c+104|0,888856)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Lk}if(t[b+11|0]>-1){break Kk}dc(v[b>>2]);break Kk}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;break Nk}a=P()|0;O()|0;break Ok}a=P()|0;O()|0;if(t[f+11|0]>-1){break Ok}dc(v[f>>2])}if(t[e+11|0]>-1){break Nk}dc(v[e>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}v[299999]=0;R(3098,c- -64|0);b=v[299999];v[299999]=0;if((b|0)!=1){break Qh}}a=P()|0;O()|0;break jd}v[299999]=0;b=Q(3111,c+32|0,886756)|0;e=v[299999];v[299999]=0;Uk:{if((e|0)!=1){v[299999]=0;$(3117,c+104|0,b|0,0,1);e=v[299999];v[299999]=0;if((e|0)==1){break Uk}if(t[b+11|0]>-1){break Ph}dc(v[b>>2]);break Ph}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}v[299999]=0;R(3098,c+192|0);b=v[299999];v[299999]=0;if((b|0)==1){break Qg}v[299999]=0;Z(3101,d|0,309707,c+192|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Qg}Vk:{if(v[c+192>>2]!=1){break Vk}v[299999]=0;b=Q(3111,c- -64|0,888140)|0;e=v[299999];v[299999]=0;Wk:{Xk:{Yk:{Zk:{_k:{$k:{al:{bl:{cl:{if((e|0)!=1){v[299999]=0;U(3112,c+104|0,b|0,1);e=v[299999];v[299999]=0;if((e|0)==1){break cl}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c- -64|0,887864)|0;e=v[299999];v[299999]=0;if((e|0)==1){break bl}v[299999]=0;g=v[c+200>>2];e=Q(3111,c+32|0,885380)|0;f=v[299999];v[299999]=0;if((f|0)==1){break al}v[299999]=0;f=Q(3111,c+88|0,885380)|0;i=v[299999];v[299999]=0;if((i|0)==1){break $k}v[299999]=0;da(3113,c+104|0,b|0,g|0,10,e|0,f|0);g=v[299999];v[299999]=0;if((g|0)==1){break _k}if(t[f+11|0]<=-1){dc(v[f>>2])}if(t[e+11|0]<=-1){dc(v[e>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c- -64|0,888140)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Xk}v[299999]=0;Q(2725,c+104|0,888856)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Wk}if(t[b+11|0]>-1){break Vk}dc(v[b>>2]);break Vk}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;break Yk}a=P()|0;O()|0;break Zk}a=P()|0;O()|0;if(t[f+11|0]>-1){break Zk}dc(v[f>>2])}if(t[e+11|0]>-1){break Yk}dc(v[e>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}v[299999]=0;R(3098,c+192|0);b=v[299999];v[299999]=0;if((b|0)==1){break Qg}v[299999]=0;Z(3101,d|0,309708,c+192|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Qg}dl:{if(v[c+192>>2]!=6){break dl}e=v[c+200>>2];if(!e){break dl}v[299999]=0;b=Q(3111,c- -64|0,888152)|0;f=v[299999];v[299999]=0;if((f|0)!=1){v[299999]=0;U(3112,c+104|0,b|0,0);f=v[299999];v[299999]=0;if((f|0)!=1){if(t[b+11|0]<=-1){dc(v[b>>2])}g=0;if(v[e+12>>2]>0){while(1){v[299999]=0;v[c+64>>2]=13;Z(3114,e|0,g|0,c- -64|0,0)|0;b=v[299999];v[299999]=0;el:{if((b|0)!=1){fl:{gl:{switch(v[c+64>>2]-1|0){case 0:v[299999]=0;b=Q(3111,c+32|0,888160)|0;f=v[299999];v[299999]=0;hl:{il:{jl:{kl:{ll:{ml:{nl:{ol:{pl:{if((f|0)!=1){v[299999]=0;U(3112,c+104|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)==1){break pl}if(t[c+43|0]<=-1){dc(v[c+32>>2])}v[299999]=0;b=Q(3111,c+32|0,886580)|0;f=v[299999];v[299999]=0;if((f|0)==1){break ol}v[299999]=0;f=v[c+72>>2];i=Q(3111,c+88|0,885380)|0;l=v[299999];v[299999]=0;if((l|0)==1){break nl}v[299999]=0;l=Q(3111,c+48|0,885380)|0;m=v[299999];v[299999]=0;if((m|0)==1){break ml}v[299999]=0;da(3113,c+104|0,b|0,f|0,10,i|0,l|0);b=v[299999];v[299999]=0;if((b|0)==1){break ll}if(t[c+59|0]<=-1){dc(v[c+48>>2])}if(t[c+99|0]<=-1){dc(v[c+88>>2])}if(t[c+43|0]<=-1){dc(v[c+32>>2])}v[299999]=0;Q(3111,c+32|0,888160)|0;b=v[299999];v[299999]=0;if((b|0)==1){break il}v[299999]=0;Q(2725,c+104|0,888856)|0;b=v[299999];v[299999]=0;if((b|0)==1){break hl}if(t[c+43|0]>-1){break fl}dc(v[c+32>>2]);break fl}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[c+43|0]<=-1){dc(v[c+32>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;break jl}a=P()|0;O()|0;break kl}a=P()|0;O()|0;if(t[c+59|0]>-1){break kl}dc(v[c+48>>2])}if(t[c+99|0]>-1){break jl}dc(v[c+88>>2])}if(t[c+43|0]<=-1){dc(v[c+32>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[c+43|0]<=-1){dc(v[c+32>>2])}break jd;case 5:break gl;default:break fl}}f=v[c+72>>2];if(!f){break fl}v[299999]=0;b=Q(3111,c+32|0,888176)|0;i=v[299999];v[299999]=0;ql:{rl:{sl:{if((i|0)!=1){v[299999]=0;U(3112,c+104|0,b|0,0);b=v[299999];v[299999]=0;if((b|0)==1){break sl}if(t[c+43|0]<=-1){dc(v[c+32>>2])}b=0;if(v[f+12>>2]>0){break rl}break ql}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[c+43|0]<=-1){dc(v[c+32>>2])}break jd}tl:{ul:{vl:{wl:{xl:{yl:{zl:{Al:{Bl:{Cl:{while(1){Dl:{v[299999]=0;v[c+32>>2]=13;Z(3114,f|0,b|0,c+32|0,0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break Dl}El:{if(v[c+32>>2]!=1){break El}v[299999]=0;i=Q(3111,c+88|0,888160)|0;l=v[299999];v[299999]=0;if((l|0)==1){break Cl}v[299999]=0;U(3112,c+104|0,i|0,1);i=v[299999];v[299999]=0;if((i|0)==1){break Bl}if(t[c+99|0]<=-1){dc(v[c+88>>2])}v[299999]=0;i=Q(3111,c+88|0,886580)|0;l=v[299999];v[299999]=0;if((l|0)==1){break Al}v[299999]=0;l=v[c+40>>2];m=Q(3111,c+48|0,885380)|0;n=v[299999];v[299999]=0;if((n|0)==1){break zl}v[299999]=0;n=Q(3111,c+16|0,885380)|0;o=v[299999];v[299999]=0;if((o|0)==1){break yl}v[299999]=0;da(3113,c+104|0,i|0,l|0,10,m|0,n|0);i=v[299999];v[299999]=0;if((i|0)==1){break xl}if(t[c+27|0]<=-1){dc(v[c+16>>2])}if(t[c+59|0]<=-1){dc(v[c+48>>2])}if(t[c+99|0]<=-1){dc(v[c+88>>2])}v[299999]=0;Q(3111,c+88|0,888160)|0;i=v[299999];v[299999]=0;if((i|0)==1){break ul}v[299999]=0;Q(2725,c+104|0,888856)|0;i=v[299999];v[299999]=0;if((i|0)==1){break tl}if(t[c+99|0]>-1){break El}dc(v[c+88>>2])}v[299999]=0;R(3098,c+32|0);i=v[299999];v[299999]=0;if((i|0)==1){break Dl}b=b+1|0;if((b|0)>2]){continue}break ql}break}a=P()|0;O()|0;break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[c+99|0]<=-1){dc(v[c+88>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;break vl}a=P()|0;O()|0;break wl}a=P()|0;O()|0;if(t[c+27|0]>-1){break wl}dc(v[c+16>>2])}if(t[c+59|0]>-1){break vl}dc(v[c+48>>2])}if(t[c+99|0]<=-1){dc(v[c+88>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[c+99|0]<=-1){dc(v[c+88>>2])}break jd}v[299999]=0;b=Q(3111,c+32|0,888176)|0;f=v[299999];v[299999]=0;if((f|0)==1){a=P()|0;O()|0;break jd}v[299999]=0;$(3117,c+104|0,b|0,0,1);b=v[299999];v[299999]=0;if((b|0)!=1){if(t[c+43|0]>-1){break fl}dc(v[c+32>>2]);break fl}a=P()|0;O()|0;if(t[c+43|0]<=-1){dc(v[c+32>>2])}break jd}v[299999]=0;R(3098,c- -64|0);b=v[299999];v[299999]=0;if((b|0)!=1){break el}}a=P()|0;O()|0;break jd}g=g+1|0;if((g|0)>2]){continue}break}}v[299999]=0;b=Q(3111,c- -64|0,888152)|0;e=v[299999];v[299999]=0;Fl:{if((e|0)!=1){v[299999]=0;$(3117,c+104|0,b|0,0,1);e=v[299999];v[299999]=0;if((e|0)==1){break Fl}if(t[b+11|0]>-1){break dl}dc(v[b>>2]);break dl}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}a=P()|0;O()|0;break jd}v[299999]=0;R(3098,c+192|0);b=v[299999];v[299999]=0;if((b|0)==1){break Qg}v[299999]=0;Z(3101,d|0,329324,c+192|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Qg}Gl:{if(v[c+192>>2]!=6){break Gl}g=v[c+200>>2];if(!g|v[g+12>>2]!=2){break Gl}v[299999]=0;b=Q(3111,c- -64|0,888200)|0;e=v[299999];v[299999]=0;Hl:{Il:{Jl:{Kl:{Ll:{Ml:{Nl:{Ol:{Pl:{Ql:{Rl:{if((e|0)!=1){v[299999]=0;U(3112,c+104|0,b|0,1);e=v[299999];v[299999]=0;if((e|0)==1){break Rl}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;v[c+64>>2]=13;Z(3114,g|0,0,c- -64|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Il}Sl:{if(v[c+64>>2]!=1){break Sl}v[299999]=0;b=Q(3111,c+32|0,888216)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Ql}v[299999]=0;i=v[c+72>>2];e=Q(3111,c+88|0,885380)|0;f=v[299999];v[299999]=0;if((f|0)==1){break Pl}v[299999]=0;f=Q(3111,c+48|0,885380)|0;l=v[299999];v[299999]=0;if((l|0)==1){break Ol}v[299999]=0;da(3113,c+104|0,b|0,i|0,10,e|0,f|0);i=v[299999];v[299999]=0;if((i|0)==1){break Nl}if(t[f+11|0]<=-1){dc(v[f>>2])}if(t[e+11|0]<=-1){dc(v[e>>2])}if(t[b+11|0]>-1){break Sl}dc(v[b>>2])}v[299999]=0;R(3098,c- -64|0);b=v[299999];v[299999]=0;if((b|0)==1){break Il}v[299999]=0;Z(3114,g|0,1,c- -64|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Il}if(v[c+64>>2]==1){break Kl}break Jl}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;break Ll}a=P()|0;O()|0;break Ml}a=P()|0;O()|0;if(t[f+11|0]>-1){break Ml}dc(v[f>>2])}if(t[e+11|0]>-1){break Ll}dc(v[e>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}v[299999]=0;b=Q(3111,c+32|0,888244)|0;e=v[299999];v[299999]=0;Tl:{Ul:{Vl:{Wl:{Xl:{if((e|0)!=1){v[299999]=0;g=v[c+72>>2];e=Q(3111,c+88|0,885380)|0;f=v[299999];v[299999]=0;if((f|0)==1){break Xl}v[299999]=0;f=Q(3111,c+48|0,885380)|0;i=v[299999];v[299999]=0;if((i|0)==1){break Wl}v[299999]=0;da(3113,c+104|0,b|0,g|0,10,e|0,f|0);g=v[299999];v[299999]=0;if((g|0)==1){break Vl}if(t[f+11|0]<=-1){dc(v[f>>2])}if(t[e+11|0]<=-1){dc(v[e>>2])}if(t[b+11|0]>-1){break Jl}dc(v[b>>2]);break Jl}a=P()|0;O()|0;break jd}a=P()|0;O()|0;break Tl}a=P()|0;O()|0;break Ul}a=P()|0;O()|0;if(t[f+11|0]>-1){break Ul}dc(v[f>>2])}if(t[e+11|0]>-1){break Tl}dc(v[e>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}v[299999]=0;R(3098,c- -64|0);b=v[299999];v[299999]=0;if((b|0)!=1){break Hl}}a=P()|0;O()|0;break jd}v[299999]=0;b=Q(3111,c+32|0,888200)|0;e=v[299999];v[299999]=0;Yl:{if((e|0)!=1){v[299999]=0;Q(2725,c+104|0,888856)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Yl}if(t[b+11|0]>-1){break Gl}dc(v[b>>2]);break Gl}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}v[299999]=0;R(3098,c+192|0);b=v[299999];v[299999]=0;if((b|0)==1){break Qg}v[299999]=0;Z(3101,d|0,329325,c+192|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Qg}Zl:{if(v[c+192>>2]!=6){break Zl}e=v[c+200>>2];if(!e){break Zl}v[299999]=0;b=Q(3111,c- -64|0,888272)|0;f=v[299999];v[299999]=0;if((f|0)!=1){v[299999]=0;U(3112,c+104|0,b|0,0);f=v[299999];v[299999]=0;if((f|0)!=1){if(t[b+11|0]<=-1){dc(v[b>>2])}g=0;if(v[e+12>>2]>0){while(1){v[299999]=0;v[c+64>>2]=13;Z(3114,e|0,g|0,c- -64|0,0)|0;b=v[299999];v[299999]=0;_l:{if((b|0)!=1){$l:{am:{switch(v[c+64>>2]-1|0){case 0:v[299999]=0;b=Q(3111,c+32|0,888160)|0;f=v[299999];v[299999]=0;bm:{cm:{dm:{em:{fm:{gm:{hm:{im:{jm:{if((f|0)!=1){v[299999]=0;U(3112,c+104|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)==1){break jm}if(t[c+43|0]<=-1){dc(v[c+32>>2])}v[299999]=0;b=Q(3111,c+32|0,886580)|0;f=v[299999];v[299999]=0;if((f|0)==1){break im}v[299999]=0;f=v[c+72>>2];i=Q(3111,c+88|0,885380)|0;l=v[299999];v[299999]=0;if((l|0)==1){break hm}v[299999]=0;l=Q(3111,c+48|0,885380)|0;m=v[299999];v[299999]=0;if((m|0)==1){break gm}v[299999]=0;da(3113,c+104|0,b|0,f|0,10,i|0,l|0);b=v[299999];v[299999]=0;if((b|0)==1){break fm}if(t[c+59|0]<=-1){dc(v[c+48>>2])}if(t[c+99|0]<=-1){dc(v[c+88>>2])}if(t[c+43|0]<=-1){dc(v[c+32>>2])}v[299999]=0;Q(3111,c+32|0,888160)|0;b=v[299999];v[299999]=0;if((b|0)==1){break cm}v[299999]=0;Q(2725,c+104|0,888856)|0;b=v[299999];v[299999]=0;if((b|0)==1){break bm}if(t[c+43|0]>-1){break $l}dc(v[c+32>>2]);break $l}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[c+43|0]<=-1){dc(v[c+32>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;break dm}a=P()|0;O()|0;break em}a=P()|0;O()|0;if(t[c+59|0]>-1){break em}dc(v[c+48>>2])}if(t[c+99|0]>-1){break dm}dc(v[c+88>>2])}if(t[c+43|0]<=-1){dc(v[c+32>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[c+43|0]<=-1){dc(v[c+32>>2])}break jd;case 5:break am;default:break $l}}f=v[c+72>>2];if(!f){break $l}v[299999]=0;b=Q(3111,c+32|0,888176)|0;i=v[299999];v[299999]=0;km:{lm:{mm:{if((i|0)!=1){v[299999]=0;U(3112,c+104|0,b|0,0);b=v[299999];v[299999]=0;if((b|0)==1){break mm}if(t[c+43|0]<=-1){dc(v[c+32>>2])}b=0;if(v[f+12>>2]>0){break lm}break km}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[c+43|0]<=-1){dc(v[c+32>>2])}break jd}nm:{om:{pm:{qm:{rm:{sm:{tm:{um:{vm:{wm:{while(1){xm:{v[299999]=0;v[c+32>>2]=13;Z(3114,f|0,b|0,c+32|0,0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break xm}ym:{if(v[c+32>>2]!=1){break ym}v[299999]=0;i=Q(3111,c+88|0,888160)|0;l=v[299999];v[299999]=0;if((l|0)==1){break wm}v[299999]=0;U(3112,c+104|0,i|0,1);i=v[299999];v[299999]=0;if((i|0)==1){break vm}if(t[c+99|0]<=-1){dc(v[c+88>>2])}v[299999]=0;i=Q(3111,c+88|0,886580)|0;l=v[299999];v[299999]=0;if((l|0)==1){break um}v[299999]=0;l=v[c+40>>2];m=Q(3111,c+48|0,885380)|0;n=v[299999];v[299999]=0;if((n|0)==1){break tm}v[299999]=0;n=Q(3111,c+16|0,885380)|0;o=v[299999];v[299999]=0;if((o|0)==1){break sm}v[299999]=0;da(3113,c+104|0,i|0,l|0,10,m|0,n|0);i=v[299999];v[299999]=0;if((i|0)==1){break rm}if(t[c+27|0]<=-1){dc(v[c+16>>2])}if(t[c+59|0]<=-1){dc(v[c+48>>2])}if(t[c+99|0]<=-1){dc(v[c+88>>2])}v[299999]=0;Q(3111,c+88|0,888160)|0;i=v[299999];v[299999]=0;if((i|0)==1){break om}v[299999]=0;Q(2725,c+104|0,888856)|0;i=v[299999];v[299999]=0;if((i|0)==1){break nm}if(t[c+99|0]>-1){break ym}dc(v[c+88>>2])}v[299999]=0;R(3098,c+32|0);i=v[299999];v[299999]=0;if((i|0)==1){break xm}b=b+1|0;if((b|0)>2]){continue}break km}break}a=P()|0;O()|0;break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[c+99|0]<=-1){dc(v[c+88>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;break pm}a=P()|0;O()|0;break qm}a=P()|0;O()|0;if(t[c+27|0]>-1){break qm}dc(v[c+16>>2])}if(t[c+59|0]>-1){break pm}dc(v[c+48>>2])}if(t[c+99|0]<=-1){dc(v[c+88>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[c+99|0]<=-1){dc(v[c+88>>2])}break jd}v[299999]=0;b=Q(3111,c+32|0,888176)|0;f=v[299999];v[299999]=0;if((f|0)==1){a=P()|0;O()|0;break jd}v[299999]=0;$(3117,c+104|0,b|0,0,1);b=v[299999];v[299999]=0;if((b|0)!=1){if(t[c+43|0]>-1){break $l}dc(v[c+32>>2]);break $l}a=P()|0;O()|0;if(t[c+43|0]<=-1){dc(v[c+32>>2])}break jd}v[299999]=0;R(3098,c- -64|0);b=v[299999];v[299999]=0;if((b|0)!=1){break _l}}a=P()|0;O()|0;break jd}g=g+1|0;if((g|0)>2]){continue}break}}v[299999]=0;b=Q(3111,c- -64|0,888272)|0;e=v[299999];v[299999]=0;zm:{if((e|0)!=1){v[299999]=0;$(3117,c+104|0,b|0,0,1);e=v[299999];v[299999]=0;if((e|0)==1){break zm}if(t[b+11|0]>-1){break Zl}dc(v[b>>2]);break Zl}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}a=P()|0;O()|0;break jd}v[299999]=0;R(3098,c+192|0);b=v[299999];v[299999]=0;if((b|0)==1){break Qg}v[299999]=0;Z(3101,d|0,242689,c+192|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Qg}Am:{Bm:{switch(v[c+192>>2]-4|0){case 0:v[299999]=0;b=Q(3111,c- -64|0,888284)|0;d=v[299999];v[299999]=0;Cm:{Dm:{Em:{Fm:{Gm:{Hm:{Im:{if((d|0)!=1){v[299999]=0;U(3112,c+104|0,b|0,1);d=v[299999];v[299999]=0;if((d|0)==1){break Im}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c- -64|0,887608)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Hm}v[299999]=0;V(3115,c+32|0,v[c+200>>2]);d=v[299999];v[299999]=0;if((d|0)==1){break Gm}v[299999]=0;U(3116,c+104|0,b|0,c+32|0);d=v[299999];v[299999]=0;if((d|0)==1){break Fm}if(t[c+43|0]<=-1){dc(v[c+32>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c- -64|0,888284)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Dm}v[299999]=0;Q(2725,c+104|0,888856)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Cm}if(t[b+11|0]>-1){break Am}dc(v[b>>2]);break Am}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;break Em}a=P()|0;O()|0;if(t[c+43|0]>-1){break Em}dc(v[c+32>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break jd;case 4:break Bm;default:break Am}}v[299999]=0;b=Q(3111,c- -64|0,888284)|0;d=v[299999];v[299999]=0;Jm:{Km:{Lm:{Mm:{if((d|0)!=1){v[299999]=0;U(3112,c+104|0,b|0,0);d=v[299999];v[299999]=0;if((d|0)==1){break Mm}if(t[b+11|0]<=-1){dc(v[b>>2])}v[c+72>>2]=0;v[c+64>>2]=0;v[c+68>>2]=0;b=v[c+200>>2];d=v[v[b>>2]+20>>2];v[299999]=0;R(d|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break Lm}while(1){Nm:{b=v[c+200>>2];d=v[v[b>>2]+28>>2];v[299999]=0;b=S(d|0,b|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Nm}if((b|0)==-1){break Km}v[299999]=0;Q(2730,c- -64|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){continue}}break}a=P()|0;O()|0;break Jm}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}a=P()|0;O()|0;break Jm}b=v[c+200>>2];d=v[v[b>>2]+24>>2];v[299999]=0;R(d|0,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){v[c+40>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[299999]=0;b=t[c+75|0];e=(b|0)<0?v[c+68>>2]:b&255;d=e+1|0;f=S(15,d|0)|0;g=v[299999];v[299999]=0;Om:{Pm:{Qm:{Rm:{Sm:{Tm:{Um:{if((g|0)==1){break Um}d=Xc(f,(b|0)<0?v[c+64>>2]:c- -64|0,d);v[299999]=0;U(3134,c+32|0,d|0,e|0);b=v[299999];v[299999]=0;if((b|0)==1){break Um}v[299999]=0;Q(3106,c+88|0,d|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Tm}if(t[c+75|0]<=-1){dc(v[c+64>>2])}v[c+72>>2]=v[c+96>>2];b=v[c+92>>2];v[c+64>>2]=v[c+88>>2];v[c+68>>2]=b;v[299999]=0;V(3115,c+88|0,(t[c+43|0]<0?v[c+32>>2]:c+32|0)|0);b=v[299999];v[299999]=0;if((b|0)==1){break Sm}v[299999]=0;b=w[c+99|0];e=b<<24>>24<0;Y(2653,c+104|0,(e?v[c+88>>2]:c+88|0)|0,(e?v[c+92>>2]:b)|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Rm}if(t[c+99|0]<=-1){dc(v[c+88>>2])}v[299999]=0;b=Q(3111,c+88|0,888284)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Qm}v[299999]=0;$(3117,c+104|0,b|0,0,1);e=v[299999];v[299999]=0;if((e|0)==1){break Pm}if(t[b+11|0]<=-1){dc(v[b>>2])}dc(d);if(t[c+43|0]<=-1){dc(v[c+32>>2])}if(t[c+75|0]>-1){break Am}dc(v[c+64>>2]);break Am}a=P()|0;O()|0;break Om}a=P()|0;O()|0;break Om}a=P()|0;O()|0;break Om}a=P()|0;O()|0;if(t[c+99|0]>-1){break Om}dc(v[c+88>>2]);break Om}a=P()|0;O()|0;break Om}a=P()|0;O()|0;if(t[b+11|0]>-1){break Om}dc(v[b>>2])}if(t[c+43|0]>-1){break Jm}dc(v[c+32>>2]);break Jm}a=P()|0;O()|0}if(t[c+75|0]<=-1){dc(v[c+64>>2])}break jd}v[299999]=0;R(3098,c+192|0);b=v[299999];v[299999]=0;if((b|0)!=1){break Pg}}a=P()|0;O()|0;break jd}v[299999]=0;b=Q(3111,c- -64|0,887980)|0;d=v[299999];v[299999]=0;Vm:{if((d|0)!=1){v[299999]=0;$(3117,c+104|0,b|0,0,1);d=v[299999];v[299999]=0;if((d|0)==1){break Vm}if(t[b+11|0]>-1){break Og}dc(v[b>>2]);break Og}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}v[299999]=0;R(3098,c+208|0);b=v[299999];v[299999]=0;if((b|0)==1){break nd}}v[299999]=0;R(3098,c+320|0);b=v[299999];v[299999]=0;if((b|0)!=1){break md}}a=P()|0;O()|0;break jd}a=P()|0;O()|0;break jd}v[299999]=0;b=Q(3111,c+208|0,887584)|0;d=v[299999];v[299999]=0;Wm:{Xm:{Ym:{if((d|0)!=1){v[299999]=0;$(3117,c+104|0,b|0,0,1);d=v[299999];v[299999]=0;if((d|0)==1){break Ym}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+208|0,886624)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Xm}v[299999]=0;$(3117,c+104|0,b|0,0,1);d=v[299999];v[299999]=0;if((d|0)==1){break Wm}if(t[b+11|0]>-1){break ld}dc(v[b>>2]);break ld}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}a=P()|0;O()|0;break jd}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break jd}v[299999]=0;R(3098,c+336|0);b=v[299999];v[299999]=0;if((b|0)==1){break kd}v[299999]=0;Y(3118,c+136|0,c+104|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break kd}if(t[c+115|0]<=-1){dc(v[c+104>>2])}if(t[c+131|0]>-1){break dd}dc(v[c+120>>2]);break dd}a=P()|0;O()|0}if(t[c+115|0]<=-1){dc(v[c+104>>2])}}if(t[c+131|0]<=-1){dc(v[c+120>>2])}break j}a=P()|0;O()|0}if(t[c+219|0]>-1){break k}dc(v[c+208>>2]);break k}v[299999]=0;R(3098,c+320|0);b=v[299999];v[299999]=0;if((b|0)==1){break P}v[299999]=0;b=Q(3111,c+208|0,886756)|0;d=v[299999];v[299999]=0;Zm:{_m:{$m:{an:{bn:{cn:{dn:{en:{fn:{gn:{hn:{jn:{kn:{ln:{if((d|0)!=1){v[299999]=0;U(3112,c+32|0,b|0,0);d=v[299999];v[299999]=0;if((d|0)==1){break ln}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;v[c+208>>2]=13;b=Z(3101,e|0,237502,c+208|0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break _m}if(v[b>>2]!=7){break $m}v[299999]=0;Z(3101,v[c+216>>2],280473,c+320|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break _m}mn:{if(v[c+320>>2]!=4){break mn}v[299999]=0;b=Q(3111,c+192|0,886816)|0;d=v[299999];v[299999]=0;if((d|0)==1){break kn}v[299999]=0;U(3112,c+32|0,b|0,1);d=v[299999];v[299999]=0;if((d|0)==1){break jn}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+192|0,886580)|0;d=v[299999];v[299999]=0;if((d|0)==1){break hn}v[299999]=0;V(3115,c- -64|0,v[c+328>>2]);d=v[299999];v[299999]=0;if((d|0)==1){break gn}v[299999]=0;U(3116,c+32|0,b|0,c- -64|0);d=v[299999];v[299999]=0;if((d|0)==1){break fn}if(t[c+75|0]<=-1){dc(v[c+64>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+192|0,886816)|0;d=v[299999];v[299999]=0;if((d|0)==1){break dn}v[299999]=0;Q(2725,c+32|0,888856)|0;d=v[299999];v[299999]=0;if((d|0)==1){break cn}if(t[b+11|0]>-1){break mn}dc(v[b>>2])}v[299999]=0;R(3098,c+320|0);b=v[299999];v[299999]=0;if((b|0)==1){break _m}v[299999]=0;Z(3101,v[c+216>>2],219545,c+320|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break _m}if(v[c+320>>2]==4){break bn}break an}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;break en}a=P()|0;O()|0;if(t[c+75|0]>-1){break en}dc(v[c+64>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break k}v[299999]=0;b=Q(3111,c+192|0,886852)|0;d=v[299999];v[299999]=0;nn:{on:{pn:{qn:{rn:{sn:{tn:{if((d|0)!=1){v[299999]=0;U(3112,c+32|0,b|0,1);d=v[299999];v[299999]=0;if((d|0)==1){break tn}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+192|0,886580)|0;d=v[299999];v[299999]=0;if((d|0)==1){break sn}v[299999]=0;V(3115,c- -64|0,v[c+328>>2]);d=v[299999];v[299999]=0;if((d|0)==1){break rn}v[299999]=0;U(3116,c+32|0,b|0,c- -64|0);d=v[299999];v[299999]=0;if((d|0)==1){break qn}if(t[c+75|0]<=-1){dc(v[c+64>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+192|0,886852)|0;d=v[299999];v[299999]=0;if((d|0)==1){break on}v[299999]=0;Q(2725,c+32|0,888856)|0;d=v[299999];v[299999]=0;if((d|0)==1){break nn}if(t[b+11|0]>-1){break an}dc(v[b>>2]);break an}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;break pn}a=P()|0;O()|0;if(t[c+75|0]>-1){break pn}dc(v[c+64>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break k}v[299999]=0;R(3098,c+320|0);b=v[299999];v[299999]=0;if((b|0)==1){break _m}v[299999]=0;Z(3101,v[c+216>>2],270179,c+320|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break _m}un:{if(v[c+320>>2]!=4){break un}v[299999]=0;b=Q(3111,c+192|0,886896)|0;d=v[299999];v[299999]=0;vn:{wn:{xn:{yn:{zn:{An:{Bn:{if((d|0)!=1){v[299999]=0;U(3112,c+32|0,b|0,1);d=v[299999];v[299999]=0;if((d|0)==1){break Bn}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+192|0,886580)|0;d=v[299999];v[299999]=0;if((d|0)==1){break An}v[299999]=0;V(3115,c- -64|0,v[c+328>>2]);d=v[299999];v[299999]=0;if((d|0)==1){break zn}v[299999]=0;U(3116,c+32|0,b|0,c- -64|0);d=v[299999];v[299999]=0;if((d|0)==1){break yn}if(t[c+75|0]<=-1){dc(v[c+64>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+192|0,886896)|0;d=v[299999];v[299999]=0;if((d|0)==1){break wn}v[299999]=0;Q(2725,c+32|0,888856)|0;d=v[299999];v[299999]=0;if((d|0)==1){break vn}if(t[b+11|0]>-1){break un}dc(v[b>>2]);break un}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;break xn}a=P()|0;O()|0;if(t[c+75|0]>-1){break xn}dc(v[c+64>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break k}v[299999]=0;R(3098,c+320|0);b=v[299999];v[299999]=0;if((b|0)==1){break _m}v[299999]=0;Z(3101,v[c+216>>2],232184,c+320|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break _m}Cn:{if(v[c+320>>2]!=1){break Cn}v[299999]=0;b=Q(3111,c+192|0,886944)|0;d=v[299999];v[299999]=0;Dn:{En:{Fn:{Gn:{Hn:{In:{Jn:{Kn:{Ln:{if((d|0)!=1){v[299999]=0;U(3112,c+32|0,b|0,1);d=v[299999];v[299999]=0;if((d|0)==1){break Ln}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+192|0,886580)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Kn}v[299999]=0;g=v[c+328>>2];d=Q(3111,c- -64|0,885380)|0;f=v[299999];v[299999]=0;if((f|0)==1){break Jn}v[299999]=0;f=Q(3111,c+120|0,885380)|0;i=v[299999];v[299999]=0;if((i|0)==1){break In}v[299999]=0;da(3113,c+32|0,b|0,g|0,10,d|0,f|0);g=v[299999];v[299999]=0;if((g|0)==1){break Hn}if(t[f+11|0]<=-1){dc(v[f>>2])}if(t[d+11|0]<=-1){dc(v[d>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+192|0,886944)|0;d=v[299999];v[299999]=0;if((d|0)==1){break En}v[299999]=0;Q(2725,c+32|0,888856)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Dn}if(t[b+11|0]>-1){break Cn}dc(v[b>>2]);break Cn}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;break Fn}a=P()|0;O()|0;break Gn}a=P()|0;O()|0;if(t[f+11|0]>-1){break Gn}dc(v[f>>2])}if(t[d+11|0]>-1){break Fn}dc(v[d>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break k}v[299999]=0;R(3098,c+320|0);b=v[299999];v[299999]=0;if((b|0)==1){break _m}v[299999]=0;Z(3101,v[c+216>>2],236357,c+320|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break _m}Mn:{if(v[c+320>>2]!=1){break Mn}v[299999]=0;b=Q(3111,c+192|0,886988)|0;d=v[299999];v[299999]=0;Nn:{On:{Pn:{Qn:{Rn:{Sn:{Tn:{Un:{Vn:{if((d|0)!=1){v[299999]=0;U(3112,c+32|0,b|0,1);d=v[299999];v[299999]=0;if((d|0)==1){break Vn}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+192|0,886580)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Un}v[299999]=0;g=v[c+328>>2];d=Q(3111,c- -64|0,885380)|0;f=v[299999];v[299999]=0;if((f|0)==1){break Tn}v[299999]=0;f=Q(3111,c+120|0,885380)|0;i=v[299999];v[299999]=0;if((i|0)==1){break Sn}v[299999]=0;da(3113,c+32|0,b|0,g|0,10,d|0,f|0);g=v[299999];v[299999]=0;if((g|0)==1){break Rn}if(t[f+11|0]<=-1){dc(v[f>>2])}if(t[d+11|0]<=-1){dc(v[d>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+192|0,886988)|0;d=v[299999];v[299999]=0;if((d|0)==1){break On}v[299999]=0;Q(2725,c+32|0,888856)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Nn}if(t[b+11|0]>-1){break Mn}dc(v[b>>2]);break Mn}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;break Pn}a=P()|0;O()|0;break Qn}a=P()|0;O()|0;if(t[f+11|0]>-1){break Qn}dc(v[f>>2])}if(t[d+11|0]>-1){break Pn}dc(v[d>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break k}v[299999]=0;R(3098,c+320|0);b=v[299999];v[299999]=0;if((b|0)==1){break _m}v[299999]=0;Z(3101,v[c+216>>2],220491,c+320|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break _m}Wn:{if(v[c+320>>2]!=6){break Wn}d=v[c+328>>2];if(!d|v[d+12>>2]!=4){break Wn}v[299999]=0;b=Q(3111,c+192|0,887012)|0;f=v[299999];v[299999]=0;Xn:{Yn:{Zn:{_n:{$n:{ao:{if((f|0)!=1){v[299999]=0;U(3112,c+32|0,b|0,1);f=v[299999];v[299999]=0;if((f|0)==1){break ao}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;v[c+192>>2]=13;Z(3114,d|0,0,c+192|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Xn}bo:{if(v[c+192>>2]!=1){break bo}v[299999]=0;V(2726,c+120|0,0);b=v[299999];v[299999]=0;if((b|0)==1){break Yn}v[299999]=0;b=Y(2347,c+120|0,0,886580)|0;f=v[299999];v[299999]=0;if((f|0)==1){break Zn}v[c+72>>2]=v[b+8>>2];f=v[b+4>>2];v[c+64>>2]=v[b>>2];v[c+68>>2]=f;v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;if(t[c+131|0]<=-1){dc(v[c+120>>2])}b=v[c+200>>2];v[c+120>>2]=0;t[c+131|0]=0;v[299999]=0;v[c+104>>2]=0;t[c+115|0]=0;da(3113,c+32|0,c- -64|0,b|0,10,c+120|0,c+104|0);b=v[299999];v[299999]=0;if((b|0)==1){break _n}if(t[c+115|0]<=-1){dc(v[c+104>>2])}if(t[c+131|0]<=-1){dc(v[c+120>>2])}if(t[c+75|0]>-1){break bo}dc(v[c+64>>2])}v[299999]=0;R(3098,c+192|0);b=v[299999];v[299999]=0;if((b|0)==1){break Xn}v[299999]=0;v[c+192>>2]=13;Z(3114,d|0,1,c+192|0,0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break $n}break Xn}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break k}co:{if(v[c+192>>2]!=1){break co}v[299999]=0;V(2726,c+120|0,1);b=v[299999];v[299999]=0;if((b|0)==1){break Yn}v[299999]=0;b=Y(2347,c+120|0,0,886580)|0;f=v[299999];v[299999]=0;if((f|0)==1){break Zn}v[c+72>>2]=v[b+8>>2];f=v[b+4>>2];v[c+64>>2]=v[b>>2];v[c+68>>2]=f;v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;if(t[c+131|0]<=-1){dc(v[c+120>>2])}b=v[c+200>>2];v[c+120>>2]=0;t[c+131|0]=0;v[299999]=0;v[c+104>>2]=0;t[c+115|0]=0;da(3113,c+32|0,c- -64|0,b|0,10,c+120|0,c+104|0);b=v[299999];v[299999]=0;if((b|0)==1){break _n}if(t[c+115|0]<=-1){dc(v[c+104>>2])}if(t[c+131|0]<=-1){dc(v[c+120>>2])}if(t[c+75|0]>-1){break co}dc(v[c+64>>2])}v[299999]=0;R(3098,c+192|0);b=v[299999];v[299999]=0;if((b|0)==1){break Xn}v[299999]=0;v[c+192>>2]=13;Z(3114,d|0,2,c+192|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Xn}eo:{if(v[c+192>>2]!=1){break eo}v[299999]=0;V(2726,c+120|0,2);b=v[299999];v[299999]=0;if((b|0)==1){break Yn}v[299999]=0;b=Y(2347,c+120|0,0,886580)|0;f=v[299999];v[299999]=0;if((f|0)==1){break Zn}v[c+72>>2]=v[b+8>>2];f=v[b+4>>2];v[c+64>>2]=v[b>>2];v[c+68>>2]=f;v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;if(t[c+131|0]<=-1){dc(v[c+120>>2])}b=v[c+200>>2];v[c+120>>2]=0;t[c+131|0]=0;v[299999]=0;v[c+104>>2]=0;t[c+115|0]=0;da(3113,c+32|0,c- -64|0,b|0,10,c+120|0,c+104|0);b=v[299999];v[299999]=0;if((b|0)==1){break _n}if(t[c+115|0]<=-1){dc(v[c+104>>2])}if(t[c+131|0]<=-1){dc(v[c+120>>2])}if(t[c+75|0]>-1){break eo}dc(v[c+64>>2])}v[299999]=0;R(3098,c+192|0);b=v[299999];v[299999]=0;if((b|0)==1){break Xn}v[299999]=0;v[c+192>>2]=13;Z(3114,d|0,3,c+192|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Xn}fo:{if(v[c+192>>2]!=1){break fo}v[299999]=0;V(2726,c+120|0,3);b=v[299999];v[299999]=0;if((b|0)==1){break Yn}v[299999]=0;b=Y(2347,c+120|0,0,886580)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Zn}v[c+72>>2]=v[b+8>>2];d=v[b+4>>2];v[c+64>>2]=v[b>>2];v[c+68>>2]=d;v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;if(t[c+131|0]<=-1){dc(v[c+120>>2])}b=v[c+200>>2];v[c+120>>2]=0;t[c+131|0]=0;v[299999]=0;v[c+104>>2]=0;t[c+115|0]=0;da(3113,c+32|0,c- -64|0,b|0,10,c+120|0,c+104|0);b=v[299999];v[299999]=0;if((b|0)==1){break _n}if(t[c+115|0]<=-1){dc(v[c+104>>2])}if(t[c+131|0]<=-1){dc(v[c+120>>2])}if(t[c+75|0]>-1){break fo}dc(v[c+64>>2])}v[299999]=0;R(3098,c+192|0);b=v[299999];v[299999]=0;if((b|0)==1){break Xn}v[299999]=0;b=Q(3111,c+192|0,887012)|0;d=v[299999];v[299999]=0;if((d|0)==1){a=P()|0;O()|0;break k}v[299999]=0;Q(2725,c+32|0,888856)|0;d=v[299999];v[299999]=0;if((d|0)!=1){if(t[b+11|0]>-1){break Wn}dc(v[b>>2]);break Wn}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break k}a=P()|0;O()|0;if(t[c+115|0]<=-1){dc(v[c+104>>2])}if(t[c+131|0]<=-1){dc(v[c+120>>2])}if(t[c+75|0]<=-1){dc(v[c+64>>2])}break k}a=P()|0;O()|0;if(t[c+131|0]<=-1){dc(v[c+120>>2])}break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;break k}v[299999]=0;R(3098,c+320|0);b=v[299999];v[299999]=0;if((b|0)==1){break _m}v[299999]=0;Z(3101,v[c+216>>2],281503,c+320|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break _m}go:{if(v[c+320>>2]!=1){break go}v[299999]=0;b=Q(3111,c+192|0,887048)|0;d=v[299999];v[299999]=0;ho:{io:{jo:{ko:{lo:{mo:{no:{oo:{po:{if((d|0)!=1){v[299999]=0;U(3112,c+32|0,b|0,1);d=v[299999];v[299999]=0;if((d|0)==1){break po}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+192|0,886580)|0;d=v[299999];v[299999]=0;if((d|0)==1){break oo}v[299999]=0;g=v[c+328>>2];d=Q(3111,c- -64|0,885380)|0;f=v[299999];v[299999]=0;if((f|0)==1){break no}v[299999]=0;f=Q(3111,c+120|0,885380)|0;i=v[299999];v[299999]=0;if((i|0)==1){break mo}v[299999]=0;da(3113,c+32|0,b|0,g|0,10,d|0,f|0);g=v[299999];v[299999]=0;if((g|0)==1){break lo}if(t[f+11|0]<=-1){dc(v[f>>2])}if(t[d+11|0]<=-1){dc(v[d>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+192|0,887048)|0;d=v[299999];v[299999]=0;if((d|0)==1){break io}v[299999]=0;Q(2725,c+32|0,888856)|0;d=v[299999];v[299999]=0;if((d|0)==1){break ho}if(t[b+11|0]>-1){break go}dc(v[b>>2]);break go}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;break jo}a=P()|0;O()|0;break ko}a=P()|0;O()|0;if(t[f+11|0]>-1){break ko}dc(v[f>>2])}if(t[d+11|0]>-1){break jo}dc(v[d>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break k}v[299999]=0;R(3098,c+320|0);b=v[299999];v[299999]=0;if((b|0)==1){break _m}v[299999]=0;Z(3101,v[c+216>>2],230838,c+320|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break _m}qo:{if(v[c+320>>2]!=1){break qo}v[299999]=0;b=Q(3111,c+192|0,887096)|0;d=v[299999];v[299999]=0;ro:{so:{to:{uo:{vo:{wo:{xo:{yo:{zo:{if((d|0)!=1){v[299999]=0;U(3112,c+32|0,b|0,1);d=v[299999];v[299999]=0;if((d|0)==1){break zo}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+192|0,886580)|0;d=v[299999];v[299999]=0;if((d|0)==1){break yo}v[299999]=0;g=v[c+328>>2];d=Q(3111,c- -64|0,885380)|0;f=v[299999];v[299999]=0;if((f|0)==1){break xo}v[299999]=0;f=Q(3111,c+120|0,885380)|0;i=v[299999];v[299999]=0;if((i|0)==1){break wo}v[299999]=0;da(3113,c+32|0,b|0,g|0,10,d|0,f|0);g=v[299999];v[299999]=0;if((g|0)==1){break vo}if(t[f+11|0]<=-1){dc(v[f>>2])}if(t[d+11|0]<=-1){dc(v[d>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+192|0,887096)|0;d=v[299999];v[299999]=0;if((d|0)==1){break so}v[299999]=0;Q(2725,c+32|0,888856)|0;d=v[299999];v[299999]=0;if((d|0)==1){break ro}if(t[b+11|0]>-1){break qo}dc(v[b>>2]);break qo}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;break to}a=P()|0;O()|0;break uo}a=P()|0;O()|0;if(t[f+11|0]>-1){break uo}dc(v[f>>2])}if(t[d+11|0]>-1){break to}dc(v[d>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break k}v[299999]=0;R(3098,c+320|0);b=v[299999];v[299999]=0;if((b|0)==1){break _m}v[299999]=0;Z(3101,v[c+216>>2],273024,c+320|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break _m}Ao:{if(v[c+320>>2]!=1){break Ao}v[299999]=0;b=Q(3111,c+192|0,887124)|0;d=v[299999];v[299999]=0;Bo:{Co:{Do:{Eo:{Fo:{Go:{Ho:{Io:{Jo:{if((d|0)!=1){v[299999]=0;U(3112,c+32|0,b|0,1);d=v[299999];v[299999]=0;if((d|0)==1){break Jo}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+192|0,886580)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Io}v[299999]=0;g=v[c+328>>2];d=Q(3111,c- -64|0,885380)|0;f=v[299999];v[299999]=0;if((f|0)==1){break Ho}v[299999]=0;f=Q(3111,c+120|0,885380)|0;i=v[299999];v[299999]=0;if((i|0)==1){break Go}v[299999]=0;da(3113,c+32|0,b|0,g|0,10,d|0,f|0);g=v[299999];v[299999]=0;if((g|0)==1){break Fo}if(t[f+11|0]<=-1){dc(v[f>>2])}if(t[d+11|0]<=-1){dc(v[d>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+192|0,887124)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Co}v[299999]=0;Q(2725,c+32|0,888856)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Bo}if(t[b+11|0]>-1){break Ao}dc(v[b>>2]);break Ao}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;break Do}a=P()|0;O()|0;break Eo}a=P()|0;O()|0;if(t[f+11|0]>-1){break Eo}dc(v[f>>2])}if(t[d+11|0]>-1){break Do}dc(v[d>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break k}v[299999]=0;R(3098,c+320|0);b=v[299999];v[299999]=0;if((b|0)==1){break _m}v[299999]=0;Z(3101,v[c+216>>2],232195,c+320|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break _m}Ko:{if(v[c+320>>2]!=1){break Ko}v[299999]=0;b=Q(3111,c+192|0,887156)|0;d=v[299999];v[299999]=0;Lo:{Mo:{No:{Oo:{Po:{Qo:{Ro:{So:{To:{if((d|0)!=1){v[299999]=0;U(3112,c+32|0,b|0,1);d=v[299999];v[299999]=0;if((d|0)==1){break To}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+192|0,886580)|0;d=v[299999];v[299999]=0;if((d|0)==1){break So}v[299999]=0;g=v[c+328>>2];d=Q(3111,c- -64|0,885380)|0;f=v[299999];v[299999]=0;if((f|0)==1){break Ro}v[299999]=0;f=Q(3111,c+120|0,885380)|0;i=v[299999];v[299999]=0;if((i|0)==1){break Qo}v[299999]=0;da(3113,c+32|0,b|0,g|0,10,d|0,f|0);g=v[299999];v[299999]=0;if((g|0)==1){break Po}if(t[f+11|0]<=-1){dc(v[f>>2])}if(t[d+11|0]<=-1){dc(v[d>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+192|0,887156)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Mo}v[299999]=0;Q(2725,c+32|0,888856)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Lo}if(t[b+11|0]>-1){break Ko}dc(v[b>>2]);break Ko}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;break No}a=P()|0;O()|0;break Oo}a=P()|0;O()|0;if(t[f+11|0]>-1){break Oo}dc(v[f>>2])}if(t[d+11|0]>-1){break No}dc(v[d>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break k}v[299999]=0;R(3098,c+320|0);b=v[299999];v[299999]=0;if((b|0)==1){break _m}v[299999]=0;Z(3101,v[c+216>>2],232218,c+320|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break _m}Uo:{if(v[c+320>>2]!=1){break Uo}v[299999]=0;b=Q(3111,c+192|0,887196)|0;d=v[299999];v[299999]=0;Vo:{Wo:{Xo:{Yo:{Zo:{_o:{$o:{ap:{bp:{if((d|0)!=1){v[299999]=0;U(3112,c+32|0,b|0,1);d=v[299999];v[299999]=0;if((d|0)==1){break bp}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+192|0,886580)|0;d=v[299999];v[299999]=0;if((d|0)==1){break ap}v[299999]=0;g=v[c+328>>2];d=Q(3111,c- -64|0,885380)|0;f=v[299999];v[299999]=0;if((f|0)==1){break $o}v[299999]=0;f=Q(3111,c+120|0,885380)|0;i=v[299999];v[299999]=0;if((i|0)==1){break _o}v[299999]=0;da(3113,c+32|0,b|0,g|0,10,d|0,f|0);g=v[299999];v[299999]=0;if((g|0)==1){break Zo}if(t[f+11|0]<=-1){dc(v[f>>2])}if(t[d+11|0]<=-1){dc(v[d>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+192|0,887196)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Wo}v[299999]=0;Q(2725,c+32|0,888856)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Vo}if(t[b+11|0]>-1){break Uo}dc(v[b>>2]);break Uo}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;break Xo}a=P()|0;O()|0;break Yo}a=P()|0;O()|0;if(t[f+11|0]>-1){break Yo}dc(v[f>>2])}if(t[d+11|0]>-1){break Xo}dc(v[d>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break k}v[299999]=0;R(3098,c+320|0);b=v[299999];v[299999]=0;if((b|0)==1){break _m}v[299999]=0;Z(3101,v[c+216>>2],309725,c+320|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break _m}cp:{if(v[c+320>>2]!=1){break cp}v[299999]=0;b=Q(3111,c+192|0,887228)|0;d=v[299999];v[299999]=0;dp:{ep:{fp:{gp:{hp:{ip:{jp:{kp:{lp:{if((d|0)!=1){v[299999]=0;U(3112,c+32|0,b|0,1);d=v[299999];v[299999]=0;if((d|0)==1){break lp}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+192|0,886580)|0;d=v[299999];v[299999]=0;if((d|0)==1){break kp}v[299999]=0;g=v[c+328>>2];d=Q(3111,c- -64|0,885380)|0;f=v[299999];v[299999]=0;if((f|0)==1){break jp}v[299999]=0;f=Q(3111,c+120|0,885380)|0;i=v[299999];v[299999]=0;if((i|0)==1){break ip}v[299999]=0;da(3113,c+32|0,b|0,g|0,10,d|0,f|0);g=v[299999];v[299999]=0;if((g|0)==1){break hp}if(t[f+11|0]<=-1){dc(v[f>>2])}if(t[d+11|0]<=-1){dc(v[d>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+192|0,887228)|0;d=v[299999];v[299999]=0;if((d|0)==1){break ep}v[299999]=0;Q(2725,c+32|0,888856)|0;d=v[299999];v[299999]=0;if((d|0)==1){break dp}if(t[b+11|0]>-1){break cp}dc(v[b>>2]);break cp}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;break fp}a=P()|0;O()|0;break gp}a=P()|0;O()|0;if(t[f+11|0]>-1){break gp}dc(v[f>>2])}if(t[d+11|0]>-1){break fp}dc(v[d>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break k}v[299999]=0;R(3098,c+320|0);b=v[299999];v[299999]=0;if((b|0)==1){break _m}v[299999]=0;Z(3101,v[c+216>>2],320709,c+320|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break _m}mp:{if(v[c+320>>2]!=1){break mp}v[299999]=0;b=Q(3111,c+192|0,887252)|0;d=v[299999];v[299999]=0;np:{op:{pp:{qp:{rp:{sp:{tp:{up:{vp:{if((d|0)!=1){v[299999]=0;U(3112,c+32|0,b|0,1);d=v[299999];v[299999]=0;if((d|0)==1){break vp}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+192|0,886580)|0;d=v[299999];v[299999]=0;if((d|0)==1){break up}v[299999]=0;g=v[c+328>>2];d=Q(3111,c- -64|0,885380)|0;f=v[299999];v[299999]=0;if((f|0)==1){break tp}v[299999]=0;f=Q(3111,c+120|0,885380)|0;i=v[299999];v[299999]=0;if((i|0)==1){break sp}v[299999]=0;da(3113,c+32|0,b|0,g|0,10,d|0,f|0);g=v[299999];v[299999]=0;if((g|0)==1){break rp}if(t[f+11|0]<=-1){dc(v[f>>2])}if(t[d+11|0]<=-1){dc(v[d>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+192|0,887252)|0;d=v[299999];v[299999]=0;if((d|0)==1){break op}v[299999]=0;Q(2725,c+32|0,888856)|0;d=v[299999];v[299999]=0;if((d|0)==1){break np}if(t[b+11|0]>-1){break mp}dc(v[b>>2]);break mp}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;break pp}a=P()|0;O()|0;break qp}a=P()|0;O()|0;if(t[f+11|0]>-1){break qp}dc(v[f>>2])}if(t[d+11|0]>-1){break pp}dc(v[d>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break k}v[299999]=0;R(3098,c+320|0);b=v[299999];v[299999]=0;if((b|0)==1){break _m}v[299999]=0;Z(3101,v[c+216>>2],230830,c+320|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break _m}wp:{if(v[c+320>>2]!=1){break wp}v[299999]=0;b=Q(3111,c+192|0,887276)|0;d=v[299999];v[299999]=0;xp:{yp:{zp:{Ap:{Bp:{Cp:{Dp:{Ep:{Fp:{if((d|0)!=1){v[299999]=0;U(3112,c+32|0,b|0,1);d=v[299999];v[299999]=0;if((d|0)==1){break Fp}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+192|0,886580)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Ep}v[299999]=0;g=v[c+328>>2];d=Q(3111,c- -64|0,885380)|0;f=v[299999];v[299999]=0;if((f|0)==1){break Dp}v[299999]=0;f=Q(3111,c+120|0,885380)|0;i=v[299999];v[299999]=0;if((i|0)==1){break Cp}v[299999]=0;da(3113,c+32|0,b|0,g|0,10,d|0,f|0);g=v[299999];v[299999]=0;if((g|0)==1){break Bp}if(t[f+11|0]<=-1){dc(v[f>>2])}if(t[d+11|0]<=-1){dc(v[d>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+192|0,887276)|0;d=v[299999];v[299999]=0;if((d|0)==1){break yp}v[299999]=0;Q(2725,c+32|0,888856)|0;d=v[299999];v[299999]=0;if((d|0)==1){break xp}if(t[b+11|0]>-1){break wp}dc(v[b>>2]);break wp}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;break zp}a=P()|0;O()|0;break Ap}a=P()|0;O()|0;if(t[f+11|0]>-1){break Ap}dc(v[f>>2])}if(t[d+11|0]>-1){break zp}dc(v[d>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break k}v[299999]=0;R(3098,c+320|0);b=v[299999];v[299999]=0;if((b|0)==1){break _m}v[299999]=0;Z(3101,v[c+216>>2],269603,c+320|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break _m}Gp:{if(v[c+320>>2]!=1){break Gp}v[299999]=0;b=Q(3111,c+192|0,887308)|0;d=v[299999];v[299999]=0;Hp:{Ip:{Jp:{Kp:{Lp:{Mp:{Np:{Op:{Pp:{if((d|0)!=1){v[299999]=0;U(3112,c+32|0,b|0,1);d=v[299999];v[299999]=0;if((d|0)==1){break Pp}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+192|0,886580)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Op}v[299999]=0;g=v[c+328>>2];d=Q(3111,c- -64|0,885380)|0;f=v[299999];v[299999]=0;if((f|0)==1){break Np}v[299999]=0;f=Q(3111,c+120|0,885380)|0;i=v[299999];v[299999]=0;if((i|0)==1){break Mp}v[299999]=0;da(3113,c+32|0,b|0,g|0,10,d|0,f|0);g=v[299999];v[299999]=0;if((g|0)==1){break Lp}if(t[f+11|0]<=-1){dc(v[f>>2])}if(t[d+11|0]<=-1){dc(v[d>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+192|0,887308)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Ip}v[299999]=0;Q(2725,c+32|0,888856)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Hp}if(t[b+11|0]>-1){break Gp}dc(v[b>>2]);break Gp}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;break Jp}a=P()|0;O()|0;break Kp}a=P()|0;O()|0;if(t[f+11|0]>-1){break Kp}dc(v[f>>2])}if(t[d+11|0]>-1){break Jp}dc(v[d>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break k}v[299999]=0;R(3098,c+320|0);b=v[299999];v[299999]=0;if((b|0)==1){break _m}v[299999]=0;Z(3101,v[c+216>>2],269571,c+320|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break _m}Qp:{if(v[c+320>>2]!=1){break Qp}v[299999]=0;b=Q(3111,c+192|0,887344)|0;d=v[299999];v[299999]=0;Rp:{Sp:{Tp:{Up:{Vp:{Wp:{Xp:{Yp:{Zp:{if((d|0)!=1){v[299999]=0;U(3112,c+32|0,b|0,1);d=v[299999];v[299999]=0;if((d|0)==1){break Zp}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+192|0,886580)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Yp}v[299999]=0;g=v[c+328>>2];d=Q(3111,c- -64|0,885380)|0;f=v[299999];v[299999]=0;if((f|0)==1){break Xp}v[299999]=0;f=Q(3111,c+120|0,885380)|0;i=v[299999];v[299999]=0;if((i|0)==1){break Wp}v[299999]=0;da(3113,c+32|0,b|0,g|0,10,d|0,f|0);g=v[299999];v[299999]=0;if((g|0)==1){break Vp}if(t[f+11|0]<=-1){dc(v[f>>2])}if(t[d+11|0]<=-1){dc(v[d>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+192|0,887344)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Sp}v[299999]=0;Q(2725,c+32|0,888856)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Rp}if(t[b+11|0]>-1){break Qp}dc(v[b>>2]);break Qp}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;break Tp}a=P()|0;O()|0;break Up}a=P()|0;O()|0;if(t[f+11|0]>-1){break Up}dc(v[f>>2])}if(t[d+11|0]>-1){break Tp}dc(v[d>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break k}v[299999]=0;R(3098,c+320|0);b=v[299999];v[299999]=0;if((b|0)==1){break _m}v[299999]=0;Z(3101,v[c+216>>2],269612,c+320|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break _m}_p:{if(v[c+320>>2]!=1){break _p}v[299999]=0;b=Q(3111,c+192|0,887380)|0;d=v[299999];v[299999]=0;$p:{aq:{bq:{cq:{dq:{eq:{fq:{gq:{hq:{if((d|0)!=1){v[299999]=0;U(3112,c+32|0,b|0,1);d=v[299999];v[299999]=0;if((d|0)==1){break hq}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+192|0,886580)|0;d=v[299999];v[299999]=0;if((d|0)==1){break gq}v[299999]=0;g=v[c+328>>2];d=Q(3111,c- -64|0,885380)|0;f=v[299999];v[299999]=0;if((f|0)==1){break fq}v[299999]=0;f=Q(3111,c+120|0,885380)|0;i=v[299999];v[299999]=0;if((i|0)==1){break eq}v[299999]=0;da(3113,c+32|0,b|0,g|0,10,d|0,f|0);g=v[299999];v[299999]=0;if((g|0)==1){break dq}if(t[f+11|0]<=-1){dc(v[f>>2])}if(t[d+11|0]<=-1){dc(v[d>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+192|0,887380)|0;d=v[299999];v[299999]=0;if((d|0)==1){break aq}v[299999]=0;Q(2725,c+32|0,888856)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $p}if(t[b+11|0]>-1){break _p}dc(v[b>>2]);break _p}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;break bq}a=P()|0;O()|0;break cq}a=P()|0;O()|0;if(t[f+11|0]>-1){break cq}dc(v[f>>2])}if(t[d+11|0]>-1){break bq}dc(v[d>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break k}v[299999]=0;R(3098,c+320|0);b=v[299999];v[299999]=0;if((b|0)==1){break _m}}v[299999]=0;R(3098,c+208|0);b=v[299999];v[299999]=0;if((b|0)!=1){break Zm}}a=P()|0;O()|0;break k}v[299999]=0;b=Q(3111,c+192|0,886756)|0;d=v[299999];v[299999]=0;iq:{jq:{if((d|0)!=1){v[299999]=0;$(3117,c+32|0,b|0,0,1);d=v[299999];v[299999]=0;if((d|0)==1){break jq}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;Z(3101,e|0,240353,c+320|0,0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){v[299999]=0;f=v[c+328>>2];g=v[c+320>>2];R(3098,c+320|0);b=v[299999];v[299999]=0;if((b|0)!=1){break iq}}a=P()|0;O()|0;break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break k}v[299999]=0;Z(3101,e|0,240363,c+320|0,0)|0;b=v[299999];v[299999]=0;kq:{if((b|0)!=1){v[299999]=0;i=v[c+328>>2];l=v[c+320>>2];R(3098,c+320|0);b=v[299999];v[299999]=0;if((b|0)!=1){break kq}}a=P()|0;O()|0;break k}v[299999]=0;Z(3101,e|0,236281,c+320|0,0)|0;b=v[299999];v[299999]=0;lq:{mq:{nq:{oq:{if((b|0)!=1){pq:{if(v[c+320>>2]!=6){break pq}v[299999]=0;b=Q(3111,c+192|0,887432)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Q}v[299999]=0;U(3112,c+32|0,b|0,1);d=v[299999];v[299999]=0;if((d|0)==1){break R}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+192|0,887460)|0;d=v[299999];v[299999]=0;if((d|0)==1){break S}v[299999]=0;d=Q(3111,c- -64|0,885380)|0;e=v[299999];v[299999]=0;if((e|0)==1){break U}v[299999]=0;e=Q(3111,c+120|0,885380)|0;m=v[299999];v[299999]=0;if((m|0)==1){break W}v[299999]=0;da(3113,c+32|0,b|0,((g|0)==1?f:0)|0,10,d|0,e|0);f=v[299999];v[299999]=0;if((f|0)==1){break X}if(t[e+11|0]<=-1){dc(v[e>>2])}if(t[d+11|0]<=-1){dc(v[d>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+192|0,887500)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Y}v[299999]=0;d=Q(3111,c- -64|0,885380)|0;e=v[299999];v[299999]=0;if((e|0)==1){break _}v[299999]=0;e=Q(3111,c+120|0,885380)|0;f=v[299999];v[299999]=0;if((f|0)==1){break aa}v[299999]=0;da(3113,c+32|0,b|0,((l|0)==1?i:0)|0,10,d|0,e|0);f=v[299999];v[299999]=0;if((f|0)==1){break ba}if(t[e+11|0]<=-1){dc(v[e>>2])}if(t[d+11|0]<=-1){dc(v[d>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,c+192|0,887432)|0;d=v[299999];v[299999]=0;if((d|0)==1){break ca}v[299999]=0;Q(2725,c+32|0,888824)|0;d=v[299999];v[299999]=0;if((d|0)==1){break da}if(t[b+11|0]<=-1){dc(v[b>>2])}b=0;e=v[c+328>>2];f=v[e+12>>2];if((f|0)>0){while(1){v[299999]=0;v[c+192>>2]=13;Z(3114,e|0,b|0,c+192|0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break oq}qq:{if(v[c+192>>2]!=1){break qq}v[299999]=0;d=S(1,32)|0;g=v[299999];v[299999]=0;rq:{sq:{tq:{uq:{vq:{wq:{xq:{if((g|0)!=1){v[c+120>>2]=d;v[c+124>>2]=5;v[c+128>>2]=-2147483640;v[299999]=0;tc(d,887536,5);g=v[299999];v[299999]=0;if((g|0)==1){break a}v[d+20>>2]=0;v[299999]=0;U(3132,c- -64|0,888816,c+120|0);d=v[299999];v[299999]=0;if((d|0)==1){break xq}v[299999]=0;d=w[c+75|0];g=d<<24>>24<0;Y(2653,c+32|0,(g?v[c+64>>2]:c- -64|0)|0,(g?v[c+68>>2]:d)|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){if(t[c+75|0]<=-1){dc(v[c+64>>2])}if(t[c+131|0]<=-1){dc(v[c+120>>2])}v[299999]=0;d=S(1,32)|0;g=v[299999];v[299999]=0;if((g|0)==1){break vq}v[c+64>>2]=d;v[c+68>>2]=5;v[c+72>>2]=-2147483640;v[299999]=0;tc(d,886580,5);g=v[299999];v[299999]=0;if((g|0)==1){break a}v[d+20>>2]=0;d=v[c+200>>2];v[c+120>>2]=0;t[c+131|0]=0;v[299999]=0;v[c+104>>2]=0;t[c+115|0]=0;da(3113,c+32|0,c- -64|0,d|0,10,c+120|0,c+104|0);d=v[299999];v[299999]=0;if((d|0)==1){break uq}if(t[c+115|0]<=-1){dc(v[c+104>>2])}if(t[c+131|0]<=-1){dc(v[c+120>>2])}if(t[c+75|0]<=-1){dc(v[c+64>>2])}v[299999]=0;d=S(1,32)|0;g=v[299999];v[299999]=0;if((g|0)==1){break tq}v[299999]=0;tc(d,887536,5);g=v[299999];v[299999]=0;if((g|0)==1){break rq}v[d+20>>2]=0;v[299999]=0;Q(2725,c+32|0,888856)|0;g=v[299999];v[299999]=0;if((g|0)==1){break sq}dc(d);break qq}a=P()|0;O()|0;if(t[c+75|0]>-1){break wq}dc(v[c+64>>2]);break wq}a=P()|0;O()|0;break k}a=P()|0;O()|0}if(t[c+131|0]<=-1){dc(v[c+120>>2])}break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[c+115|0]<=-1){dc(v[c+104>>2])}if(t[c+131|0]<=-1){dc(v[c+120>>2])}if(t[c+75|0]<=-1){dc(v[c+64>>2])}break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;dc(d);break k}break a}v[299999]=0;R(3098,c+192|0);d=v[299999];v[299999]=0;if((d|0)==1){break oq}b=b+1|0;if((f|0)!=(b|0)){continue}break}}v[299999]=0;b=Q(3111,c+192|0,887432)|0;d=v[299999];v[299999]=0;if((d|0)==1){break nq}v[299999]=0;$(3117,c+32|0,b|0,0,1);d=v[299999];v[299999]=0;if((d|0)==1){break mq}if(t[b+11|0]>-1){break pq}dc(v[b>>2])}v[299999]=0;R(3098,c+320|0);b=v[299999];v[299999]=0;if((b|0)!=1){break lq}}a=P()|0;O()|0;break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break k}v[299999]=0;b=Q(3111,c+192|0,886624)|0;d=v[299999];v[299999]=0;if((d|0)==1){break bd}v[299999]=0;$(3117,c+32|0,b|0,0,1);d=v[299999];v[299999]=0;if((d|0)==1){break ad}if(t[b+11|0]>-1){break ed}dc(v[b>>2])}v[299999]=0;R(3098,c+336|0);b=v[299999];v[299999]=0;if((b|0)==1){break $c}v[299999]=0;Y(3118,c+136|0,c+32|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break $c}if(t[c+43|0]>-1){break dd}dc(v[c+32>>2])}if(t[c+147|0]<=-1){dc(v[c+136>>2])}if(t[c+163|0]<=-1){dc(v[c+152>>2])}if(t[c+179|0]>-1){break cd}dc(v[c+168>>2])}b=w[c+411|0];if((b<<24>>24<0?v[c+404>>2]:b)>>>0<8){break Xc}v[299999]=0;b=Q(3135,c+400|0,6)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Zc}if(v[b>>2]!=43){break Xc}v[299999]=0;b=Q(3135,c+400|0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Yc}if(v[b>>2]-65>>>0<=25){break _c}break Xc}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break k}a=P()|0;O()|0;break k}v[299999]=0;b=Q(3135,c+400|0,1)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Yc}if(v[b>>2]-65>>>0>25){break Xc}v[299999]=0;b=Q(3135,c+400|0,2)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Yc}if(v[b>>2]-65>>>0>25){break Xc}v[299999]=0;b=Q(3135,c+400|0,3)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Yc}if(v[b>>2]-65>>>0>25){break Xc}v[299999]=0;b=Q(3135,c+400|0,4)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Yc}if(v[b>>2]-65>>>0>25){break Xc}v[299999]=0;b=Q(3135,c+400|0,5)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Yc}if(v[b>>2]-65>>>0>25){break Xc}v[299999]=0;Y(3136,c+400|0,0,7)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break Xc}}a=P()|0;O()|0;break c}a=P()|0;O()|0;break c}b=v[c+396>>2];d=b+8|0;yq:{if((d|0)==(c+416|0)){break yq}f=w[c+427|0];e=f<<24>>24;if(t[b+19|0]>=0){if((e|0)>=0){e=v[c+420>>2];v[d>>2]=v[c+416>>2];v[d+4>>2]=e;v[d+8>>2]=v[c+424>>2];break yq}v[299999]=0;Y(2544,d|0,v[c+416>>2],v[c+420>>2])|0;d=v[299999];v[299999]=0;if((d|0)!=1){break yq}break ea}v[299999]=0;l=d;d=(e|0)<0;Y(2545,l|0,(d?v[c+416>>2]:c+416|0)|0,(d?v[c+420>>2]:f)|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break ea}}d=b+20|0;zq:{if((d|0)==(c+400|0)){break zq}f=w[c+411|0];e=f<<24>>24;if(t[b+31|0]>=0){if((e|0)>=0){e=v[c+404>>2];v[d>>2]=v[c+400>>2];v[d+4>>2]=e;v[d+8>>2]=v[c+408>>2];break zq}v[299999]=0;Y(2544,d|0,v[c+400>>2],v[c+404>>2])|0;d=v[299999];v[299999]=0;if((d|0)==1){break ea}break zq}v[299999]=0;l=d;d=(e|0)<0;Y(2545,l|0,(d?v[c+400>>2]:c+400|0)|0,(d?v[c+404>>2]:f)|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break ea}}v[b+36>>2]=k;v[b+32>>2]=h;d=v[c+84>>2];t[b+48|0]=1;v[b+44>>2]=j;v[b+40>>2]=d;h=1}b=v[c+352>>2];if(!(w[c+364|0]|!b)){dc(b)}if(t[c+379|0]<=-1){dc(v[c+368>>2])}if(!h){break ha}}b=w[c+427|0];if(!(b<<24>>24<0?v[c+420>>2]:b)){v[299999]=0;b=ca(2608,c+416|0,0,-1,885380,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(!b){break ha}}b=v[a+104>>2];d=v[v[b>>2]+228>>2];v[299999]=0;Q(d|0,b|0,c+416|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break fa}a=v[a+104>>2];b=v[v[a>>2]+220>>2];v[299999]=0;Q(b|0,a|0,c+400|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break fa}}if(t[c+411|0]<=-1){dc(v[c+400>>2])}if(t[c+427|0]>-1){break ga}dc(v[c+416>>2])}Qb=c+432|0;return}a=P()|0;O()|0;break b}a=P()|0;O()|0;break c}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[e+11|0]>-1){break $}dc(v[e>>2]);break $}a=P()|0;O()|0}if(t[d+11|0]>-1){break Z}dc(v[d>>2]);break Z}a=P()|0;O()|0}if(t[b+11|0]<=-1){dc(v[b>>2])}break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[e+11|0]>-1){break V}dc(v[e>>2]);break V}a=P()|0;O()|0}if(t[d+11|0]>-1){break T}dc(v[d>>2]);break T}a=P()|0;O()|0}if(t[b+11|0]<=-1){dc(v[b>>2])}break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[f+11|0]>-1){break J}dc(v[f>>2]);break J}a=P()|0;O()|0}if(t[d+11|0]>-1){break H}dc(v[d>>2]);break H}a=P()|0;O()|0}if(t[b+11|0]<=-1){dc(v[b>>2])}break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[b+11|0]>-1){break k}dc(v[b>>2]);break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[b+11|0]>-1){break k}dc(v[b>>2]);break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[g+11|0]>-1){break y}dc(v[g>>2]);break y}a=P()|0;O()|0}if(t[f+11|0]>-1){break w}dc(v[f>>2]);break w}a=P()|0;O()|0}if(t[b+11|0]>-1){break k}dc(v[b>>2]);break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[i+11|0]>-1){break s}dc(v[i>>2]);break s}a=P()|0;O()|0}if(t[f+11|0]>-1){break q}dc(v[f>>2]);break q}a=P()|0;O()|0}if(t[b+11|0]>-1){break k}dc(v[b>>2]);break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[b+11|0]>-1){break k}dc(v[b>>2]);break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;if(t[b+11|0]>-1){break k}dc(v[b>>2]);break k}a=P()|0;O()|0}if(t[c+43|0]>-1){break j}dc(v[c+32>>2])}if(t[c+147|0]<=-1){dc(v[c+136>>2])}}if(t[c+163|0]<=-1){dc(v[c+152>>2])}if(t[c+179|0]>-1){break c}dc(v[c+168>>2]);break c}L()}a=P()|0;O()|0}if(!d){break c}v[c+340>>2]=d;dc(d);break c}a=P()|0;O()|0;if(t[c+331|0]>-1){break c}dc(v[c+320>>2]);break c}a=P()|0;O()|0}b=v[c+352>>2];if(!(w[c+364|0]|!b)){dc(b)}if(t[c+379|0]>-1){break b}dc(v[c+368>>2])}if(t[c+411|0]<=-1){dc(v[c+400>>2])}if(t[c+427|0]<=-1){dc(v[c+416>>2])}T(a|0);L()}W(0)|0;O()|0;lc();L()}function W2(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0;a=Qb-16|0;Qb=a;a:{if(ab(a+12|0,a+8|0)|0){break a}c=jc((v[a+12>>2]<<2)+4|0);v[299997]=c;if(!c){break a}c=jc(v[a+8>>2]);if(c){v[v[299997]+(v[a+12>>2]<<2)>>2]=0;if(!($a(v[299997],c|0)|0)){break a}}v[299997]=0}Qb=a+16|0;a=fc(32);v[293404]=a;v[293405]=5;v[293406]=-2147483640;v[299999]=0;tc(a,215332,5);c=v[299999];v[299999]=0;b:{c:{d:{e:{if((c|0)!=1){v[a+20>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1173628;break e}v[293407]=a;v[293408]=10;v[293409]=-2147483636;v[299999]=0;tc(a,215356,10);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+40>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1173640;break e}v[293410]=a;v[293411]=8;v[293412]=-2147483636;v[299999]=0;tc(a,215400,8);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+32>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1173652;break e}v[293413]=a;v[293414]=10;v[293415]=-2147483636;v[299999]=0;tc(a,215436,10);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+40>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1173664;break e}v[293416]=a;v[293417]=8;v[293418]=-2147483636;v[299999]=0;tc(a,215480,8);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+32>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1173676;break e}v[293419]=a;v[293420]=9;v[293421]=-2147483636;v[299999]=0;tc(a,215516,9);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+36>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1173688;break e}v[293422]=a;v[293423]=9;v[293424]=-2147483636;v[299999]=0;tc(a,215556,9);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+36>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1173700;break e}v[293425]=a;v[293426]=5;v[293427]=-2147483640;v[299999]=0;tc(a,215596,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1173712;break e}v[293428]=a;v[293429]=8;v[293430]=-2147483636;v[299999]=0;tc(a,215620,8);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+32>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1173724;break e}v[293431]=a;v[293432]=6;v[293433]=-2147483640;v[299999]=0;tc(a,215656,6);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+24>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1173736;break e}v[293434]=a;v[293435]=8;v[293436]=-2147483636;v[299999]=0;tc(a,215684,8);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+32>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1173748;break e}v[293437]=a;v[293438]=6;v[293439]=-2147483640;v[299999]=0;tc(a,215720,6);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+24>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1173760;break e}v[293440]=a;v[293441]=6;v[293442]=-2147483640;v[299999]=0;tc(a,215748,6);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+24>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1173772;break e}v[293443]=a;v[293444]=7;v[293445]=-2147483640;v[299999]=0;tc(a,215776,7);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+28>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1173784;break e}v[293446]=a;v[293447]=7;v[293448]=-2147483640;v[299999]=0;tc(a,215808,7);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+28>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1173796;break e}v[293449]=a;v[293450]=4;v[293451]=-2147483640;v[299999]=0;tc(a,215840,4);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+16>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1173808;break e}v[293452]=a;v[293453]=9;v[293454]=-2147483636;v[299999]=0;tc(a,215860,9);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+36>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1173820;break e}v[293455]=a;v[293456]=7;v[293457]=-2147483640;v[299999]=0;tc(a,215900,7);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+28>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1173832;break e}v[293458]=a;v[293459]=10;v[293460]=-2147483636;v[299999]=0;tc(a,215932,10);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+40>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1173844;break e}v[293461]=a;v[293462]=6;v[293463]=-2147483640;v[299999]=0;tc(a,215976,6);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+24>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1173856;break e}v[293464]=a;v[293465]=8;v[293466]=-2147483636;v[299999]=0;tc(a,216004,8);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+32>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1173868;break e}v[293467]=a;v[293468]=6;v[293469]=-2147483640;v[299999]=0;tc(a,216040,6);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+24>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1173880;break e}v[293470]=a;v[293471]=8;v[293472]=-2147483636;v[299999]=0;tc(a,216068,8);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+32>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1173892;break e}v[293473]=a;v[293474]=6;v[293475]=-2147483640;v[299999]=0;tc(a,216104,6);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+24>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1173904;break e}v[293476]=a;v[293477]=7;v[293478]=-2147483640;v[299999]=0;tc(a,216132,7);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+28>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1173916;break e}v[293479]=a;v[293480]=7;v[293481]=-2147483640;v[299999]=0;tc(a,216164,7);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+28>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1173928;break e}v[293482]=a;v[293483]=8;v[293484]=-2147483636;v[299999]=0;tc(a,216196,8);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+32>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1173940;break e}v[293485]=a;v[293486]=5;v[293487]=-2147483640;v[299999]=0;tc(a,216232,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1173952;break e}v[293488]=a;v[293489]=5;v[293490]=-2147483640;v[299999]=0;tc(a,216256,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1173964;break e}v[293491]=a;v[293492]=5;v[293493]=-2147483640;v[299999]=0;tc(a,216280,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1173976;break e}v[293494]=a;v[293495]=5;v[293496]=-2147483640;v[299999]=0;tc(a,216304,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1173988;break e}v[293497]=a;v[293498]=5;v[293499]=-2147483640;v[299999]=0;tc(a,216328,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174e3;break e}v[293500]=a;v[293501]=4;v[293502]=-2147483640;v[299999]=0;tc(a,216352,4);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+16>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174012;break e}v[293503]=a;v[293504]=5;v[293505]=-2147483640;v[299999]=0;tc(a,216372,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174024;break e}v[293506]=a;v[293507]=5;v[293508]=-2147483640;v[299999]=0;tc(a,216396,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174036;break e}v[293509]=a;v[293510]=5;v[293511]=-2147483640;v[299999]=0;tc(a,216420,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174048;break e}v[293512]=a;v[293513]=5;v[293514]=-2147483640;v[299999]=0;tc(a,216444,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174060;break e}v[293515]=a;v[293516]=5;v[293517]=-2147483640;v[299999]=0;tc(a,216468,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174072;break e}v[293518]=a;v[293519]=5;v[293520]=-2147483640;v[299999]=0;tc(a,216492,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174084;break e}v[293521]=a;v[293522]=5;v[293523]=-2147483640;v[299999]=0;tc(a,216516,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174096;break e}v[293524]=a;v[293525]=7;v[293526]=-2147483640;v[299999]=0;tc(a,216540,7);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+28>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174108;break e}v[293527]=a;v[293528]=7;v[293529]=-2147483640;v[299999]=0;tc(a,216572,7);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+28>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174120;break e}v[293530]=a;v[293531]=10;v[293532]=-2147483636;v[299999]=0;tc(a,216604,10);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+40>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174132;break e}v[293533]=a;v[293534]=6;v[293535]=-2147483640;v[299999]=0;tc(a,216648,6);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+24>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174144;break e}v[293536]=a;v[293537]=9;v[293538]=-2147483636;v[299999]=0;tc(a,216676,9);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+36>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174156;break e}v[293539]=a;v[293540]=6;v[293541]=-2147483640;v[299999]=0;tc(a,216716,6);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+24>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174168;break e}v[293542]=a;v[293543]=7;v[293544]=-2147483640;v[299999]=0;tc(a,216744,7);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+28>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174180;break e}v[293545]=a;v[293546]=6;v[293547]=-2147483640;v[299999]=0;tc(a,216776,6);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+24>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174192;break e}v[293548]=a;v[293549]=4;v[293550]=-2147483640;v[299999]=0;tc(a,216804,4);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+16>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174204;break e}v[293551]=a;v[293552]=4;v[293553]=-2147483640;v[299999]=0;tc(a,216824,4);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+16>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174216;break e}v[293554]=a;v[293555]=8;v[293556]=-2147483636;v[299999]=0;tc(a,216844,8);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+32>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174228;break e}v[293557]=a;v[293558]=8;v[293559]=-2147483636;v[299999]=0;tc(a,216880,8);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+32>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174240;break e}v[293560]=a;v[293561]=5;v[293562]=-2147483640;v[299999]=0;tc(a,216916,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174252;break e}v[293563]=a;v[293564]=6;v[293565]=-2147483640;v[299999]=0;tc(a,216940,6);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+24>>2]=0;break d}break b}b=P()|0;O()|0;while(1){c=a-12|0;if(t[a-1|0]<=-1){dc(v[c>>2])}a=c;if((a|0)!=1173616){continue}break}break c}a=fc(32);v[293568]=a;v[293569]=5;v[293570]=-2147483640;v[299999]=0;tc(a,455224,5);c=v[299999];v[299999]=0;f:{g:{if((c|0)!=1){v[a+20>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174284;break g}v[293571]=a;v[293572]=10;v[293573]=-2147483636;v[299999]=0;tc(a,455248,10);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+40>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174296;break g}v[293574]=a;v[293575]=8;v[293576]=-2147483636;v[299999]=0;tc(a,455292,8);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+32>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174308;break g}v[293577]=a;v[293578]=10;v[293579]=-2147483636;v[299999]=0;tc(a,455328,10);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+40>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174320;break g}v[293580]=a;v[293581]=8;v[293582]=-2147483636;v[299999]=0;tc(a,455372,8);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+32>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174332;break g}v[293583]=a;v[293584]=9;v[293585]=-2147483636;v[299999]=0;tc(a,455408,9);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+36>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174344;break g}v[293586]=a;v[293587]=9;v[293588]=-2147483636;v[299999]=0;tc(a,455448,9);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+36>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174356;break g}v[293589]=a;v[293590]=5;v[293591]=-2147483640;v[299999]=0;tc(a,455488,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174368;break g}v[293592]=a;v[293593]=8;v[293594]=-2147483636;v[299999]=0;tc(a,455512,8);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+32>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174380;break g}v[293595]=a;v[293596]=6;v[293597]=-2147483640;v[299999]=0;tc(a,455548,6);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+24>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174392;break g}v[293598]=a;v[293599]=8;v[293600]=-2147483636;v[299999]=0;tc(a,455576,8);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+32>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174404;break g}v[293601]=a;v[293602]=6;v[293603]=-2147483640;v[299999]=0;tc(a,455612,6);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+24>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174416;break g}v[293604]=a;v[293605]=6;v[293606]=-2147483640;v[299999]=0;tc(a,455640,6);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+24>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174428;break g}v[293607]=a;v[293608]=7;v[293609]=-2147483640;v[299999]=0;tc(a,455668,7);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+28>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174440;break g}v[293610]=a;v[293611]=7;v[293612]=-2147483640;v[299999]=0;tc(a,455700,7);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+28>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174452;break g}v[293613]=a;v[293614]=4;v[293615]=-2147483640;v[299999]=0;tc(a,455732,4);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+16>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174464;break g}v[293616]=a;v[293617]=9;v[293618]=-2147483636;v[299999]=0;tc(a,455752,9);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+36>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174476;break g}v[293619]=a;v[293620]=7;v[293621]=-2147483640;v[299999]=0;tc(a,455792,7);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+28>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174488;break g}v[293622]=a;v[293623]=10;v[293624]=-2147483636;v[299999]=0;tc(a,455824,10);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+40>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174500;break g}v[293625]=a;v[293626]=6;v[293627]=-2147483640;v[299999]=0;tc(a,455868,6);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+24>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174512;break g}v[293628]=a;v[293629]=8;v[293630]=-2147483636;v[299999]=0;tc(a,455896,8);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+32>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174524;break g}v[293631]=a;v[293632]=6;v[293633]=-2147483640;v[299999]=0;tc(a,455932,6);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+24>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174536;break g}v[293634]=a;v[293635]=8;v[293636]=-2147483636;v[299999]=0;tc(a,455960,8);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+32>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174548;break g}v[293637]=a;v[293638]=6;v[293639]=-2147483640;v[299999]=0;tc(a,455996,6);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+24>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174560;break g}v[293640]=a;v[293641]=7;v[293642]=-2147483640;v[299999]=0;tc(a,456024,7);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+28>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174572;break g}v[293643]=a;v[293644]=7;v[293645]=-2147483640;v[299999]=0;tc(a,456056,7);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+28>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174584;break g}v[293646]=a;v[293647]=8;v[293648]=-2147483636;v[299999]=0;tc(a,456088,8);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+32>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174596;break g}v[293649]=a;v[293650]=5;v[293651]=-2147483640;v[299999]=0;tc(a,456124,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174608;break g}v[293652]=a;v[293653]=5;v[293654]=-2147483640;v[299999]=0;tc(a,456148,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174620;break g}v[293655]=a;v[293656]=5;v[293657]=-2147483640;v[299999]=0;tc(a,456172,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174632;break g}v[293658]=a;v[293659]=5;v[293660]=-2147483640;v[299999]=0;tc(a,456196,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174644;break g}v[293661]=a;v[293662]=5;v[293663]=-2147483640;v[299999]=0;tc(a,456220,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174656;break g}v[293664]=a;v[293665]=4;v[293666]=-2147483640;v[299999]=0;tc(a,456244,4);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+16>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174668;break g}v[293667]=a;v[293668]=5;v[293669]=-2147483640;v[299999]=0;tc(a,456264,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174680;break g}v[293670]=a;v[293671]=5;v[293672]=-2147483640;v[299999]=0;tc(a,456288,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174692;break g}v[293673]=a;v[293674]=5;v[293675]=-2147483640;v[299999]=0;tc(a,456312,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174704;break g}v[293676]=a;v[293677]=5;v[293678]=-2147483640;v[299999]=0;tc(a,456336,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174716;break g}v[293679]=a;v[293680]=5;v[293681]=-2147483640;v[299999]=0;tc(a,456360,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174728;break g}v[293682]=a;v[293683]=5;v[293684]=-2147483640;v[299999]=0;tc(a,456384,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174740;break g}v[293685]=a;v[293686]=5;v[293687]=-2147483640;v[299999]=0;tc(a,456408,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174752;break g}v[293688]=a;v[293689]=7;v[293690]=-2147483640;v[299999]=0;tc(a,456432,7);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+28>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174764;break g}v[293691]=a;v[293692]=7;v[293693]=-2147483640;v[299999]=0;tc(a,456464,7);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+28>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174776;break g}v[293694]=a;v[293695]=10;v[293696]=-2147483636;v[299999]=0;tc(a,456496,10);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+40>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174788;break g}v[293697]=a;v[293698]=6;v[293699]=-2147483640;v[299999]=0;tc(a,456540,6);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+24>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174800;break g}v[293700]=a;v[293701]=9;v[293702]=-2147483636;v[299999]=0;tc(a,456568,9);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+36>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174812;break g}v[293703]=a;v[293704]=6;v[293705]=-2147483640;v[299999]=0;tc(a,456608,6);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+24>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174824;break g}v[293706]=a;v[293707]=7;v[293708]=-2147483640;v[299999]=0;tc(a,456636,7);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+28>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174836;break g}v[293709]=a;v[293710]=6;v[293711]=-2147483640;v[299999]=0;tc(a,456668,6);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+24>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174848;break g}v[293712]=a;v[293713]=4;v[293714]=-2147483640;v[299999]=0;tc(a,456696,4);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+16>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174860;break g}v[293715]=a;v[293716]=4;v[293717]=-2147483640;v[299999]=0;tc(a,456716,4);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+16>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174872;break g}v[293718]=a;v[293719]=8;v[293720]=-2147483636;v[299999]=0;tc(a,456736,8);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+32>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174884;break g}v[293721]=a;v[293722]=8;v[293723]=-2147483636;v[299999]=0;tc(a,456772,8);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+32>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174896;break g}v[293724]=a;v[293725]=5;v[293726]=-2147483640;v[299999]=0;tc(a,456808,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174908;break g}v[293727]=a;v[293728]=6;v[293729]=-2147483640;v[299999]=0;tc(a,456832,6);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+24>>2]=0;break f}break b}b=P()|0;O()|0;while(1){c=a-12|0;if(t[a-1|0]<=-1){dc(v[c>>2])}a=c;if((a|0)!=1174272){continue}break}break c}a=fc(32);v[293732]=a;v[293733]=5;v[293734]=-2147483640;v[299999]=0;tc(a,457912,5);c=v[299999];v[299999]=0;h:{i:{if((c|0)!=1){v[a+20>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174940;break i}v[293735]=a;v[293736]=10;v[293737]=-2147483636;v[299999]=0;tc(a,457936,10);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+40>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174952;break i}v[293738]=a;v[293739]=8;v[293740]=-2147483636;v[299999]=0;tc(a,457980,8);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+32>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174964;break i}v[293741]=a;v[293742]=10;v[293743]=-2147483636;v[299999]=0;tc(a,458016,10);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+40>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174976;break i}v[293744]=a;v[293745]=8;v[293746]=-2147483636;v[299999]=0;tc(a,458060,8);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+32>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1174988;break i}v[293747]=a;v[293748]=9;v[293749]=-2147483636;v[299999]=0;tc(a,458096,9);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+36>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175e3;break i}v[293750]=a;v[293751]=9;v[293752]=-2147483636;v[299999]=0;tc(a,458136,9);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+36>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175012;break i}v[293753]=a;v[293754]=5;v[293755]=-2147483640;v[299999]=0;tc(a,458176,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175024;break i}v[293756]=a;v[293757]=8;v[293758]=-2147483636;v[299999]=0;tc(a,458200,8);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+32>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175036;break i}v[293759]=a;v[293760]=6;v[293761]=-2147483640;v[299999]=0;tc(a,458236,6);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+24>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175048;break i}v[293762]=a;v[293763]=8;v[293764]=-2147483636;v[299999]=0;tc(a,458264,8);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+32>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175060;break i}v[293765]=a;v[293766]=6;v[293767]=-2147483640;v[299999]=0;tc(a,458300,6);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+24>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175072;break i}v[293768]=a;v[293769]=6;v[293770]=-2147483640;v[299999]=0;tc(a,458328,6);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+24>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175084;break i}v[293771]=a;v[293772]=7;v[293773]=-2147483640;v[299999]=0;tc(a,458356,7);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+28>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175096;break i}v[293774]=a;v[293775]=7;v[293776]=-2147483640;v[299999]=0;tc(a,458388,7);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+28>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175108;break i}v[293777]=a;v[293778]=4;v[293779]=-2147483640;v[299999]=0;tc(a,458420,4);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+16>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175120;break i}v[293780]=a;v[293781]=9;v[293782]=-2147483636;v[299999]=0;tc(a,458440,9);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+36>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175132;break i}v[293783]=a;v[293784]=7;v[293785]=-2147483640;v[299999]=0;tc(a,458480,7);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+28>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175144;break i}v[293786]=a;v[293787]=10;v[293788]=-2147483636;v[299999]=0;tc(a,458512,10);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+40>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175156;break i}v[293789]=a;v[293790]=6;v[293791]=-2147483640;v[299999]=0;tc(a,458556,6);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+24>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175168;break i}v[293792]=a;v[293793]=8;v[293794]=-2147483636;v[299999]=0;tc(a,458584,8);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+32>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175180;break i}v[293795]=a;v[293796]=6;v[293797]=-2147483640;v[299999]=0;tc(a,458620,6);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+24>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175192;break i}v[293798]=a;v[293799]=8;v[293800]=-2147483636;v[299999]=0;tc(a,458648,8);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+32>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175204;break i}v[293801]=a;v[293802]=6;v[293803]=-2147483640;v[299999]=0;tc(a,458684,6);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+24>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175216;break i}v[293804]=a;v[293805]=7;v[293806]=-2147483640;v[299999]=0;tc(a,458712,7);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+28>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175228;break i}v[293807]=a;v[293808]=7;v[293809]=-2147483640;v[299999]=0;tc(a,458744,7);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+28>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175240;break i}v[293810]=a;v[293811]=8;v[293812]=-2147483636;v[299999]=0;tc(a,458776,8);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+32>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175252;break i}v[293813]=a;v[293814]=5;v[293815]=-2147483640;v[299999]=0;tc(a,458812,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175264;break i}v[293816]=a;v[293817]=5;v[293818]=-2147483640;v[299999]=0;tc(a,458836,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175276;break i}v[293819]=a;v[293820]=5;v[293821]=-2147483640;v[299999]=0;tc(a,458860,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175288;break i}v[293822]=a;v[293823]=5;v[293824]=-2147483640;v[299999]=0;tc(a,458884,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175300;break i}v[293825]=a;v[293826]=5;v[293827]=-2147483640;v[299999]=0;tc(a,458908,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175312;break i}v[293828]=a;v[293829]=4;v[293830]=-2147483640;v[299999]=0;tc(a,458932,4);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+16>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175324;break i}v[293831]=a;v[293832]=5;v[293833]=-2147483640;v[299999]=0;tc(a,458952,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175336;break i}v[293834]=a;v[293835]=5;v[293836]=-2147483640;v[299999]=0;tc(a,458976,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175348;break i}v[293837]=a;v[293838]=5;v[293839]=-2147483640;v[299999]=0;tc(a,459e3,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175360;break i}v[293840]=a;v[293841]=5;v[293842]=-2147483640;v[299999]=0;tc(a,459024,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175372;break i}v[293843]=a;v[293844]=5;v[293845]=-2147483640;v[299999]=0;tc(a,459048,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175384;break i}v[293846]=a;v[293847]=5;v[293848]=-2147483640;v[299999]=0;tc(a,459072,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175396;break i}v[293849]=a;v[293850]=5;v[293851]=-2147483640;v[299999]=0;tc(a,459096,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175408;break i}v[293852]=a;v[293853]=7;v[293854]=-2147483640;v[299999]=0;tc(a,459120,7);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+28>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175420;break i}v[293855]=a;v[293856]=7;v[293857]=-2147483640;v[299999]=0;tc(a,459152,7);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+28>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175432;break i}v[293858]=a;v[293859]=10;v[293860]=-2147483636;v[299999]=0;tc(a,459184,10);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+40>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175444;break i}v[293861]=a;v[293862]=6;v[293863]=-2147483640;v[299999]=0;tc(a,459228,6);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+24>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175456;break i}v[293864]=a;v[293865]=9;v[293866]=-2147483636;v[299999]=0;tc(a,459256,9);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+36>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175468;break i}v[293867]=a;v[293868]=6;v[293869]=-2147483640;v[299999]=0;tc(a,459296,6);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+24>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175480;break i}v[293870]=a;v[293871]=7;v[293872]=-2147483640;v[299999]=0;tc(a,459324,7);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+28>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175492;break i}v[293873]=a;v[293874]=6;v[293875]=-2147483640;v[299999]=0;tc(a,459356,6);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+24>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175504;break i}v[293876]=a;v[293877]=4;v[293878]=-2147483640;v[299999]=0;tc(a,459384,4);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+16>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175516;break i}v[293879]=a;v[293880]=4;v[293881]=-2147483640;v[299999]=0;tc(a,459404,4);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+16>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175528;break i}v[293882]=a;v[293883]=8;v[293884]=-2147483636;v[299999]=0;tc(a,459424,8);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+32>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175540;break i}v[293885]=a;v[293886]=8;v[293887]=-2147483636;v[299999]=0;tc(a,459460,8);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+32>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175552;break i}v[293888]=a;v[293889]=5;v[293890]=-2147483640;v[299999]=0;tc(a,459496,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175564;break i}v[293891]=a;v[293892]=6;v[293893]=-2147483640;v[299999]=0;tc(a,459520,6);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+24>>2]=0;break h}break b}b=P()|0;O()|0;while(1){c=a-12|0;if(t[a-1|0]<=-1){dc(v[c>>2])}a=c;if((a|0)!=1174928){continue}break}break c}a=fc(32);v[293896]=a;v[293897]=5;v[293898]=-2147483640;v[299999]=0;tc(a,460704,5);c=v[299999];v[299999]=0;j:{k:{if((c|0)!=1){v[a+20>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175596;break k}v[293899]=a;v[293900]=10;v[293901]=-2147483636;v[299999]=0;tc(a,460728,10);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+40>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175608;break k}v[293902]=a;v[293903]=8;v[293904]=-2147483636;v[299999]=0;tc(a,460772,8);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+32>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175620;break k}v[293905]=a;v[293906]=10;v[293907]=-2147483636;v[299999]=0;tc(a,460808,10);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+40>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175632;break k}v[293908]=a;v[293909]=8;v[293910]=-2147483636;v[299999]=0;tc(a,460852,8);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+32>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175644;break k}v[293911]=a;v[293912]=9;v[293913]=-2147483636;v[299999]=0;tc(a,460888,9);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+36>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175656;break k}v[293914]=a;v[293915]=9;v[293916]=-2147483636;v[299999]=0;tc(a,460928,9);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+36>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175668;break k}v[293917]=a;v[293918]=5;v[293919]=-2147483640;v[299999]=0;tc(a,460968,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175680;break k}v[293920]=a;v[293921]=8;v[293922]=-2147483636;v[299999]=0;tc(a,460992,8);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+32>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175692;break k}v[293923]=a;v[293924]=6;v[293925]=-2147483640;v[299999]=0;tc(a,461028,6);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+24>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175704;break k}v[293926]=a;v[293927]=8;v[293928]=-2147483636;v[299999]=0;tc(a,461056,8);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+32>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175716;break k}v[293929]=a;v[293930]=6;v[293931]=-2147483640;v[299999]=0;tc(a,461092,6);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+24>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175728;break k}v[293932]=a;v[293933]=6;v[293934]=-2147483640;v[299999]=0;tc(a,461120,6);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+24>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175740;break k}v[293935]=a;v[293936]=7;v[293937]=-2147483640;v[299999]=0;tc(a,461148,7);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+28>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175752;break k}v[293938]=a;v[293939]=7;v[293940]=-2147483640;v[299999]=0;tc(a,461180,7);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+28>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175764;break k}v[293941]=a;v[293942]=4;v[293943]=-2147483640;v[299999]=0;tc(a,461212,4);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+16>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175776;break k}v[293944]=a;v[293945]=9;v[293946]=-2147483636;v[299999]=0;tc(a,461232,9);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+36>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175788;break k}v[293947]=a;v[293948]=7;v[293949]=-2147483640;v[299999]=0;tc(a,461272,7);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+28>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175800;break k}v[293950]=a;v[293951]=10;v[293952]=-2147483636;v[299999]=0;tc(a,461304,10);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+40>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175812;break k}v[293953]=a;v[293954]=6;v[293955]=-2147483640;v[299999]=0;tc(a,461348,6);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+24>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175824;break k}v[293956]=a;v[293957]=8;v[293958]=-2147483636;v[299999]=0;tc(a,461376,8);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+32>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175836;break k}v[293959]=a;v[293960]=6;v[293961]=-2147483640;v[299999]=0;tc(a,461412,6);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+24>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175848;break k}v[293962]=a;v[293963]=8;v[293964]=-2147483636;v[299999]=0;tc(a,461440,8);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+32>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175860;break k}v[293965]=a;v[293966]=6;v[293967]=-2147483640;v[299999]=0;tc(a,461476,6);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+24>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175872;break k}v[293968]=a;v[293969]=7;v[293970]=-2147483640;v[299999]=0;tc(a,461504,7);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+28>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175884;break k}v[293971]=a;v[293972]=7;v[293973]=-2147483640;v[299999]=0;tc(a,461536,7);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+28>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175896;break k}v[293974]=a;v[293975]=8;v[293976]=-2147483636;v[299999]=0;tc(a,461568,8);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+32>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175908;break k}v[293977]=a;v[293978]=5;v[293979]=-2147483640;v[299999]=0;tc(a,461604,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175920;break k}v[293980]=a;v[293981]=5;v[293982]=-2147483640;v[299999]=0;tc(a,461628,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175932;break k}v[293983]=a;v[293984]=5;v[293985]=-2147483640;v[299999]=0;tc(a,461652,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175944;break k}v[293986]=a;v[293987]=5;v[293988]=-2147483640;v[299999]=0;tc(a,461676,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175956;break k}v[293989]=a;v[293990]=5;v[293991]=-2147483640;v[299999]=0;tc(a,461700,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175968;break k}v[293992]=a;v[293993]=4;v[293994]=-2147483640;v[299999]=0;tc(a,461724,4);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+16>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175980;break k}v[293995]=a;v[293996]=5;v[293997]=-2147483640;v[299999]=0;tc(a,461744,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1175992;break k}v[293998]=a;v[293999]=5;v[294e3]=-2147483640;v[299999]=0;tc(a,461768,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1176004;break k}v[294001]=a;v[294002]=5;v[294003]=-2147483640;v[299999]=0;tc(a,461792,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1176016;break k}v[294004]=a;v[294005]=5;v[294006]=-2147483640;v[299999]=0;tc(a,461816,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1176028;break k}v[294007]=a;v[294008]=5;v[294009]=-2147483640;v[299999]=0;tc(a,461840,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1176040;break k}v[294010]=a;v[294011]=5;v[294012]=-2147483640;v[299999]=0;tc(a,461864,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1176052;break k}v[294013]=a;v[294014]=5;v[294015]=-2147483640;v[299999]=0;tc(a,461888,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1176064;break k}v[294016]=a;v[294017]=7;v[294018]=-2147483640;v[299999]=0;tc(a,461912,7);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+28>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1176076;break k}v[294019]=a;v[294020]=7;v[294021]=-2147483640;v[299999]=0;tc(a,461944,7);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+28>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1176088;break k}v[294022]=a;v[294023]=10;v[294024]=-2147483636;v[299999]=0;tc(a,461976,10);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+40>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1176100;break k}v[294025]=a;v[294026]=6;v[294027]=-2147483640;v[299999]=0;tc(a,462020,6);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+24>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1176112;break k}v[294028]=a;v[294029]=9;v[294030]=-2147483636;v[299999]=0;tc(a,462048,9);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+36>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1176124;break k}v[294031]=a;v[294032]=6;v[294033]=-2147483640;v[299999]=0;tc(a,462088,6);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+24>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1176136;break k}v[294034]=a;v[294035]=7;v[294036]=-2147483640;v[299999]=0;tc(a,462116,7);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+28>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1176148;break k}v[294037]=a;v[294038]=6;v[294039]=-2147483640;v[299999]=0;tc(a,462148,6);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+24>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1176160;break k}v[294040]=a;v[294041]=4;v[294042]=-2147483640;v[299999]=0;tc(a,462176,4);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+16>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1176172;break k}v[294043]=a;v[294044]=4;v[294045]=-2147483640;v[299999]=0;tc(a,462196,4);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+16>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1176184;break k}v[294046]=a;v[294047]=8;v[294048]=-2147483636;v[299999]=0;tc(a,462216,8);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+32>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1176196;break k}v[294049]=a;v[294050]=8;v[294051]=-2147483636;v[299999]=0;tc(a,462252,8);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+32>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1176208;break k}v[294052]=a;v[294053]=5;v[294054]=-2147483640;v[299999]=0;tc(a,462288,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=1176220;break k}v[294055]=a;v[294056]=6;v[294057]=-2147483640;v[299999]=0;tc(a,462312,6);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+24>>2]=0;break j}break b}b=P()|0;O()|0;while(1){c=a-12|0;if(t[a-1|0]<=-1){dc(v[c>>2])}a=c;if((a|0)!=1175584){continue}break}break c}v[294059]=0;v[294060]=0;d=1176236;v[294058]=1176236;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;l:{m:{n:{o:{if((c|0)!=1){v[a+8>>2]=1176236;v[a>>2]=0;v[a+4>>2]=0;b=28596;v[a+16>>2]=28596;v[294058]=a;v[294059]=a;t[a+12|0]=1;v[294060]=1;t[a+31|0]=10;c=w[324970]|w[324971]<<8|(w[324972]<<16|w[324973]<<24);e=w[324966]|w[324967]<<8|(w[324968]<<16|w[324969]<<24);t[a+20|0]=e;t[a+21|0]=e>>>8;t[a+22|0]=e>>>16;t[a+23|0]=e>>>24;t[a+24|0]=c;t[a+25|0]=c>>>8;t[a+26|0]=c>>>16;t[a+27|0]=c>>>24;c=w[324974]|w[324975]<<8;t[a+28|0]=c;t[a+29|0]=c>>>8;t[a+30|0]=0;while(1){p:{if((b|0)>=721){d=a;c=v[a>>2];if(c){break p}break o}if((b|0)==720){break o}d=a+4|0;c=v[a+4>>2];if(!c){break o}}b=v[c+16>>2];a=c;continue}}break n}c=v[d>>2];if(!c){v[299999]=0;c=S(1,32)|0;b=v[299999];v[299999]=0;if((b|0)==1){break n}v[c+16>>2]=720;v[c+8>>2]=a;v[c>>2]=0;v[c+4>>2]=0;v[c+20>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[d>>2]=c;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[d>>2]}else{a=c}Uc(v[294059],a);v[294060]=v[294060]+1}q:{if(t[c+31|0]<=-1){v[c+24>>2]=7;a=v[c+20>>2];break q}a=c+20|0;t[a+11|0]=7}c=w[334947]|w[334948]<<8|(w[334949]<<16|w[334950]<<24);t[a+3|0]=c;t[a+4|0]=c>>>8;t[a+5|0]=c>>>16;t[a+6|0]=c>>>24;c=w[334944]|w[334945]<<8|(w[334946]<<16|w[334947]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+7|0]=0;c=1176236;r:{a=v[294059];if(!a){a=1176236;break r}while(1){b=v[a+16>>2];s:{if((b|0)>=1257){b=v[a>>2];if(b){break s}c=a;break r}if((b|0)==1256){break r}c=a+4|0;b=v[a+4>>2];if(!b){break r}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b+16>>2]=1256;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}v[299999]=0;Y(2695,b+20|0,324682,12)|0;a=v[299999];v[299999]=0;if((a|0)==1){break n}c=1176236;t:{a=v[294059];if(!a){a=1176236;break t}while(1){b=v[a+16>>2];u:{if((b|0)>=28595){b=v[a>>2];if(b){break u}c=a;break t}if((b|0)==28594){break t}c=a+4|0;b=v[a+4>>2];if(!b){break t}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b+16>>2]=28594;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}v:{if(t[b+31|0]<=-1){v[b+24>>2]=10;a=v[b+20>>2];break v}a=b+20|0;t[a+11|0]=10}c=w[326339]|w[326340]<<8;t[a+8|0]=c;t[a+9|0]=c>>>8;c=w[326335]|w[326336]<<8|(w[326337]<<16|w[326338]<<24);b=w[326331]|w[326332]<<8|(w[326333]<<16|w[326334]<<24);t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+10|0]=0;c=1176236;w:{a=v[294059];if(!a){a=1176236;break w}while(1){b=v[a+16>>2];x:{if((b|0)>=28604){b=v[a>>2];if(b){break x}c=a;break w}if((b|0)==28603){break w}c=a+4|0;b=v[a+4>>2];if(!b){break w}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b+16>>2]=28603;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}v[299999]=0;Y(2695,b+20|0,328370,11)|0;a=v[299999];v[299999]=0;if((a|0)==1){break n}c=1176236;y:{a=v[294059];if(!a){a=1176236;break y}while(1){b=v[a+16>>2];z:{if((b|0)>=776){b=v[a>>2];if(b){break z}c=a;break y}if((b|0)==775){break y}c=a+4|0;b=v[a+4>>2];if(!b){break y}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b+16>>2]=775;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}A:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break A}a=b+20|0;t[a+11|0]=6}c=w[325258]|w[325259]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[325254]|w[325255]<<8|(w[325256]<<16|w[325257]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1176236;B:{a=v[294059];if(!a){a=1176236;break B}while(1){b=v[a+16>>2];C:{if((b|0)>=1258){b=v[a>>2];if(b){break C}c=a;break B}if((b|0)==1257){break B}c=a+4|0;b=v[a+4>>2];if(!b){break B}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b+16>>2]=1257;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}v[299999]=0;Y(2695,b+20|0,324163,12)|0;a=v[299999];v[299999]=0;if((a|0)==1){break n}c=1176236;D:{a=v[294059];if(!a){a=1176236;break D}while(1){b=v[a+16>>2];E:{if((b|0)>=28605){b=v[a>>2];if(b){break E}c=a;break D}if((b|0)==28604){break D}c=a+4|0;b=v[a+4>>2];if(!b){break D}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b+16>>2]=28604;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}v[299999]=0;Y(2695,b+20|0,326261,11)|0;a=v[299999];v[299999]=0;if((a|0)==1){break n}c=1176236;F:{a=v[294059];if(!a){a=1176236;break F}while(1){b=v[a+16>>2];G:{if((b|0)>=28596){b=v[a>>2];if(b){break G}c=a;break F}if((b|0)==28595){break F}c=a+4|0;b=v[a+4>>2];if(!b){break F}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b+16>>2]=28595;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}H:{if(t[b+31|0]<=-1){v[b+24>>2]=10;a=v[b+20>>2];break H}a=b+20|0;t[a+11|0]=10}c=w[325597]|w[325598]<<8;t[a+8|0]=c;t[a+9|0]=c>>>8;c=w[325593]|w[325594]<<8|(w[325595]<<16|w[325596]<<24);b=w[325589]|w[325590]<<8|(w[325591]<<16|w[325592]<<24);t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+10|0]=0;c=1176236;I:{a=v[294059];if(!a){a=1176236;break I}while(1){b=v[a+16>>2];J:{if((b|0)>=20867){b=v[a>>2];if(b){break J}c=a;break I}if((b|0)==20866){break I}c=a+4|0;b=v[a+4>>2];if(!b){break I}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b+16>>2]=20866;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}K:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break K}a=b+20|0;t[a+11|0]=6}c=w[311822]|w[311823]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[311818]|w[311819]<<8|(w[311820]<<16|w[311821]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1176236;L:{a=v[294059];if(!a){a=1176236;break L}while(1){b=v[a+16>>2];M:{if((b|0)>=21867){b=v[a>>2];if(b){break M}c=a;break L}if((b|0)==21866){break L}c=a+4|0;b=v[a+4>>2];if(!b){break L}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b+16>>2]=21866;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}N:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break N}a=b+20|0;t[a+11|0]=6}c=w[309806]|w[309807]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[309802]|w[309803]<<8|(w[309804]<<16|w[309805]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1176236;O:{a=v[294059];if(!a){a=1176236;break O}while(1){b=v[a+16>>2];P:{if((b|0)>=10008){b=v[a>>2];if(b){break P}c=a;break O}if((b|0)==10007){break O}c=a+4|0;b=v[a+4>>2];if(!b){break O}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b+16>>2]=10007;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}v[299999]=0;Y(2695,b+20|0,296461,14)|0;a=v[299999];v[299999]=0;if((a|0)==1){break n}c=1176236;Q:{a=v[294059];if(!a){a=1176236;break Q}while(1){b=v[a+16>>2];R:{if((b|0)>=856){b=v[a>>2];if(b){break R}c=a;break Q}if((b|0)==855){break Q}c=a+4|0;b=v[a+4>>2];if(!b){break Q}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b+16>>2]=855;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}S:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break S}a=b+20|0;t[a+11|0]=6}c=w[325363]|w[325364]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[325359]|w[325360]<<8|(w[325361]<<16|w[325362]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1176236;T:{a=v[294059];if(!a){a=1176236;break T}while(1){b=v[a+16>>2];U:{if((b|0)>=867){b=v[a>>2];if(b){break U}c=a;break T}if((b|0)==866){break T}c=a+4|0;b=v[a+4>>2];if(!b){break T}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b+16>>2]=866;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}V:{if(t[b+31|0]<=-1){v[b+24>>2]=5;a=v[b+20>>2];break V}a=b+20|0;t[a+11|0]=5}t[a+4|0]=w[324641];c=w[324637]|w[324638]<<8|(w[324639]<<16|w[324640]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+5|0]=0;c=1176236;W:{a=v[294059];if(!a){a=1176236;break W}while(1){b=v[a+16>>2];X:{if((b|0)>=1252){b=v[a>>2];if(b){break X}c=a;break W}if((b|0)==1251){break W}c=a+4|0;b=v[a+4>>2];if(!b){break W}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b+16>>2]=1251;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}v[299999]=0;Y(2695,b+20|0,334026,12)|0;a=v[299999];v[299999]=0;if((a|0)==1){break n}c=1176236;Y:{a=v[294059];if(!a){a=1176236;break Y}while(1){b=v[a+16>>2];Z:{if((b|0)>=853){b=v[a>>2];if(b){break Z}c=a;break Y}if((b|0)==852){break Y}c=a+4|0;b=v[a+4>>2];if(!b){break Y}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b+16>>2]=852;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}_:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break _}a=b+20|0;t[a+11|0]=6}c=w[329581]|w[329582]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[329577]|w[329578]<<8|(w[329579]<<16|w[329580]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1176236;$:{a=v[294059];if(!a){a=1176236;break $}while(1){b=v[a+16>>2];aa:{if((b|0)>=1251){b=v[a>>2];if(b){break aa}c=a;break $}if((b|0)==1250){break $}c=a+4|0;b=v[a+4>>2];if(!b){break $}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b+16>>2]=1250;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}v[299999]=0;Y(2695,b+20|0,334800,12)|0;a=v[299999];v[299999]=0;if((a|0)==1){break n}c=1176236;ba:{a=v[294059];if(!a){a=1176236;break ba}while(1){b=v[a+16>>2];ca:{if((b|0)>=951){b=v[a>>2];if(b){break ca}c=a;break ba}if((b|0)==950){break ba}c=a+4|0;b=v[a+4>>2];if(!b){break ba}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b+16>>2]=950;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}da:{if(t[b+31|0]<=-1){v[b+24>>2]=4;a=v[b+20>>2];break da}a=b+20|0;t[a+11|0]=4}t[a+4|0]=0;t[a|0]=66;t[a+1|0]=105;t[a+2|0]=103;t[a+3|0]=53;c=1176236;ea:{a=v[294059];if(!a){a=1176236;break ea}while(1){b=v[a+16>>2];fa:{if((b|0)>=937){b=v[a>>2];if(b){break fa}c=a;break ea}if((b|0)==936){break ea}c=a+4|0;b=v[a+4>>2];if(!b){break ea}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b+16>>2]=936;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}ga:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break ga}a=b+20|0;t[a+11|0]=6}c=w[329853]|w[329854]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[329849]|w[329850]<<8|(w[329851]<<16|w[329852]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1176236;ha:{a=v[294059];if(!a){a=1176236;break ha}while(1){b=v[a+16>>2];ia:{if((b|0)>=28593){b=v[a>>2];if(b){break ia}c=a;break ha}if((b|0)==28592){break ha}c=a+4|0;b=v[a+4>>2];if(!b){break ha}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b+16>>2]=28592;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}ja:{if(t[b+31|0]<=-1){v[b+24>>2]=10;a=v[b+20>>2];break ja}a=b+20|0;t[a+11|0]=10}c=w[329944]|w[329945]<<8;t[a+8|0]=c;t[a+9|0]=c>>>8;c=w[329940]|w[329941]<<8|(w[329942]<<16|w[329943]<<24);b=w[329936]|w[329937]<<8|(w[329938]<<16|w[329939]<<24);t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+10|0]=0;c=1176236;ka:{a=v[294059];if(!a){a=1176236;break ka}while(1){b=v[a+16>>2];la:{if((b|0)>=28598){b=v[a>>2];if(b){break la}c=a;break ka}if((b|0)==28597){break ka}c=a+4|0;b=v[a+4>>2];if(!b){break ka}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b+16>>2]=28597;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}ma:{if(t[b+31|0]<=-1){v[b+24>>2]=10;a=v[b+20>>2];break ma}a=b+20|0;t[a+11|0]=10}c=w[324435]|w[324436]<<8;t[a+8|0]=c;t[a+9|0]=c>>>8;c=w[324431]|w[324432]<<8|(w[324433]<<16|w[324434]<<24);b=w[324427]|w[324428]<<8|(w[324429]<<16|w[324430]<<24);t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+10|0]=0;c=1176236;na:{a=v[294059];if(!a){a=1176236;break na}while(1){b=v[a+16>>2];oa:{if((b|0)>=738){b=v[a>>2];if(b){break oa}c=a;break na}if((b|0)==737){break na}c=a+4|0;b=v[a+4>>2];if(!b){break na}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b+16>>2]=737;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}pa:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break pa}a=b+20|0;t[a+11|0]=6}c=w[324238]|w[324239]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[324234]|w[324235]<<8|(w[324236]<<16|w[324237]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1176236;qa:{a=v[294059];if(!a){a=1176236;break qa}while(1){b=v[a+16>>2];ra:{if((b|0)>=870){b=v[a>>2];if(b){break ra}c=a;break qa}if((b|0)==869){break qa}c=a+4|0;b=v[a+4>>2];if(!b){break qa}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b+16>>2]=869;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}sa:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break sa}a=b+20|0;t[a+11|0]=6}c=w[323011]|w[323012]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[323007]|w[323008]<<8|(w[323009]<<16|w[323010]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1176236;ta:{a=v[294059];if(!a){a=1176236;break ta}while(1){b=v[a+16>>2];ua:{if((b|0)>=1254){b=v[a>>2];if(b){break ua}c=a;break ta}if((b|0)==1253){break ta}c=a+4|0;b=v[a+4>>2];if(!b){break ta}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b+16>>2]=1253;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}v[299999]=0;Y(2695,b+20|0,328167,12)|0;a=v[299999];v[299999]=0;if((a|0)==1){break n}c=1176236;va:{a=v[294059];if(!a){a=1176236;break va}while(1){b=v[a+16>>2];wa:{if((b|0)>=28599){b=v[a>>2];if(b){break wa}c=a;break va}if((b|0)==28598){break va}c=a+4|0;b=v[a+4>>2];if(!b){break va}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b+16>>2]=28598;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}xa:{if(t[b+31|0]<=-1){v[b+24>>2]=10;a=v[b+20>>2];break xa}a=b+20|0;t[a+11|0]=10}c=w[323872]|w[323873]<<8;t[a+8|0]=c;t[a+9|0]=c>>>8;c=w[323868]|w[323869]<<8|(w[323870]<<16|w[323871]<<24);b=w[323864]|w[323865]<<8|(w[323866]<<16|w[323867]<<24);t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+10|0]=0;c=1176236;ya:{a=v[294059];if(!a){a=1176236;break ya}while(1){b=v[a+16>>2];za:{if((b|0)>=863){b=v[a>>2];if(b){break za}c=a;break ya}if((b|0)==862){break ya}c=a+4|0;b=v[a+4>>2];if(!b){break ya}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b+16>>2]=862;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}Aa:{if(t[b+31|0]<=-1){v[b+24>>2]=7;a=v[b+20>>2];break Aa}a=b+20|0;t[a+11|0]=7}c=w[329553]|w[329554]<<8|(w[329555]<<16|w[329556]<<24);t[a+3|0]=c;t[a+4|0]=c>>>8;t[a+5|0]=c>>>16;t[a+6|0]=c>>>24;c=w[329550]|w[329551]<<8|(w[329552]<<16|w[329553]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+7|0]=0;c=1176236;Ba:{a=v[294059];if(!a){a=1176236;break Ba}while(1){b=v[a+16>>2];Ca:{if((b|0)>=1256){b=v[a>>2];if(b){break Ca}c=a;break Ba}if((b|0)==1255){break Ba}c=a+4|0;b=v[a+4>>2];if(!b){break Ba}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b+16>>2]=1255;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}v[299999]=0;Y(2695,b+20|0,325376,12)|0;a=v[299999];v[299999]=0;if((a|0)==1){break n}c=1176236;Da:{a=v[294059];if(!a){a=1176236;break Da}while(1){b=v[a+16>>2];Ea:{if((b|0)>=933){b=v[a>>2];if(b){break Ea}c=a;break Da}if((b|0)==932){break Da}c=a+4|0;b=v[a+4>>2];if(!b){break Da}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b+16>>2]=932;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}Fa:{if(t[b+31|0]<=-1){v[b+24>>2]=9;a=v[b+20>>2];break Fa}a=b+20|0;t[a+11|0]=9}t[a+8|0]=w[310721];c=w[310717]|w[310718]<<8|(w[310719]<<16|w[310720]<<24);b=w[310713]|w[310714]<<8|(w[310715]<<16|w[310716]<<24);t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+9|0]=0;c=1176236;Ga:{a=v[294059];if(!a){a=1176236;break Ga}while(1){b=v[a+16>>2];Ha:{if((b|0)>=951){b=v[a>>2];if(b){break Ha}c=a;break Ga}if((b|0)==950){break Ga}c=a+4|0;b=v[a+4>>2];if(!b){break Ga}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b+16>>2]=950;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}Ia:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break Ia}a=b+20|0;t[a+11|0]=6}c=w[311915]|w[311916]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[311911]|w[311912]<<8|(w[311913]<<16|w[311914]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1176236;Ja:{a=v[294059];if(!a){a=1176236;break Ja}while(1){b=v[a+16>>2];Ka:{if((b|0)>=950){b=v[a>>2];if(b){break Ka}c=a;break Ja}if((b|0)==949){break Ja}c=a+4|0;b=v[a+4>>2];if(!b){break Ja}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b+16>>2]=949;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}v[299999]=0;Y(2695,b+20|0,324034,14)|0;a=v[299999];v[299999]=0;if((a|0)==1){break n}c=1176236;La:{a=v[294059];if(!a){a=1176236;break La}while(1){b=v[a+16>>2];Ma:{if((b|0)>=51950){b=v[a>>2];if(b){break Ma}c=a;break La}if((b|0)==51949){break La}c=a+4|0;b=v[a+4>>2];if(!b){break La}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b+16>>2]=51949;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}Na:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break Na}a=b+20|0;t[a+11|0]=6}c=w[311701]|w[311702]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[311697]|w[311698]<<8|(w[311699]<<16|w[311700]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1176236;Oa:{a=v[294059];if(!a){a=1176236;break Oa}while(1){b=v[a+16>>2];Pa:{if((b|0)>=862){b=v[a>>2];if(b){break Pa}c=a;break Oa}if((b|0)==861){break Oa}c=a+4|0;b=v[a+4>>2];if(!b){break Oa}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b+16>>2]=861;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}Qa:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break Qa}a=b+20|0;t[a+11|0]=6}c=w[333979]|w[333980]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[333975]|w[333976]<<8|(w[333977]<<16|w[333978]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1176236;Ra:{a=v[294059];if(!a){a=1176236;break Ra}while(1){b=v[a+16>>2];Sa:{if((b|0)>=866){b=v[a>>2];if(b){break Sa}c=a;break Ra}if((b|0)==865){break Ra}c=a+4|0;b=v[a+4>>2];if(!b){break Ra}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b+16>>2]=865;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}Ta:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break Ta}a=b+20|0;t[a+11|0]=6}c=w[325316]|w[325317]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[325312]|w[325313]<<8|(w[325314]<<16|w[325315]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1176236;Ua:{a=v[294059];if(!a){a=1176236;break Ua}while(1){b=v[a+16>>2];Va:{if((b|0)>=875){b=v[a>>2];if(b){break Va}c=a;break Ua}if((b|0)==874){break Ua}c=a+4|0;b=v[a+4>>2];if(!b){break Ua}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b+16>>2]=874;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}v[299999]=0;Y(2695,b+20|0,325831,11)|0;a=v[299999];v[299999]=0;if((a|0)==1){break n}c=1176236;Wa:{a=v[294059];if(!a){a=1176236;break Wa}while(1){b=v[a+16>>2];Xa:{if((b|0)>=28594){b=v[a>>2];if(b){break Xa}c=a;break Wa}if((b|0)==28593){break Wa}c=a+4|0;b=v[a+4>>2];if(!b){break Wa}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b+16>>2]=28593;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}Ya:{if(t[b+31|0]<=-1){v[b+24>>2]=10;a=v[b+20>>2];break Ya}a=b+20|0;t[a+11|0]=10}c=w[328438]|w[328439]<<8;t[a+8|0]=c;t[a+9|0]=c>>>8;c=w[328434]|w[328435]<<8|(w[328436]<<16|w[328437]<<24);b=w[328430]|w[328431]<<8|(w[328432]<<16|w[328433]<<24);t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+10|0]=0;c=1176236;Za:{a=v[294059];if(!a){a=1176236;break Za}while(1){b=v[a+16>>2];_a:{if((b|0)>=28600){b=v[a>>2];if(b){break _a}c=a;break Za}if((b|0)==28599){break Za}c=a+4|0;b=v[a+4>>2];if(!b){break Za}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b+16>>2]=28599;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}$a:{if(t[b+31|0]<=-1){v[b+24>>2]=10;a=v[b+20>>2];break $a}a=b+20|0;t[a+11|0]=10}c=w[323287]|w[323288]<<8;t[a+8|0]=c;t[a+9|0]=c>>>8;c=w[323283]|w[323284]<<8|(w[323285]<<16|w[323286]<<24);b=w[323279]|w[323280]<<8|(w[323281]<<16|w[323282]<<24);t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+10|0]=0;c=1176236;ab:{a=v[294059];if(!a){a=1176236;break ab}while(1){b=v[a+16>>2];bb:{if((b|0)>=858){b=v[a>>2];if(b){break bb}c=a;break ab}if((b|0)==857){break ab}c=a+4|0;b=v[a+4>>2];if(!b){break ab}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b+16>>2]=857;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}cb:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break cb}a=b+20|0;t[a+11|0]=6}c=w[324150]|w[324151]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[324146]|w[324147]<<8|(w[324148]<<16|w[324149]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1176236;db:{a=v[294059];if(!a){a=1176236;break db}while(1){b=v[a+16>>2];eb:{if((b|0)>=1255){b=v[a>>2];if(b){break eb}c=a;break db}if((b|0)==1254){break db}c=a+4|0;b=v[a+4>>2];if(!b){break db}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b+16>>2]=1254;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}v[299999]=0;Y(2695,b+20|0,325942,12)|0;a=v[299999];v[299999]=0;if((a|0)==1){break n}c=1176236;fb:{a=v[294059];if(!a){a=1176236;break fb}while(1){b=v[a+16>>2];gb:{if((b|0)>=28592){b=v[a>>2];if(b){break gb}c=a;break fb}if((b|0)==28591){break fb}c=a+4|0;b=v[a+4>>2];if(!b){break fb}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b+16>>2]=28591;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}hb:{if(t[b+31|0]<=-1){v[b+24>>2]=10;a=v[b+20>>2];break hb}a=b+20|0;t[a+11|0]=10}c=w[334342]|w[334343]<<8;t[a+8|0]=c;t[a+9|0]=c>>>8;c=w[334338]|w[334339]<<8|(w[334340]<<16|w[334341]<<24);b=w[334334]|w[334335]<<8|(w[334336]<<16|w[334337]<<24);t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+10|0]=0;c=1176236;ib:{a=v[294059];if(!a){a=1176236;break ib}while(1){b=v[a+16>>2];jb:{if((b|0)>=28606){b=v[a>>2];if(b){break jb}c=a;break ib}if((b|0)==28605){break ib}c=a+4|0;b=v[a+4>>2];if(!b){break ib}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b+16>>2]=28605;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}v[299999]=0;Y(2695,b+20|0,325537,11)|0;a=v[299999];v[299999]=0;if((a|0)==1){break n}c=1176236;kb:{a=v[294059];if(!a){a=1176236;break kb}while(1){b=v[a+16>>2];lb:{if((b|0)>=851){b=v[a>>2];if(b){break lb}c=a;break kb}if((b|0)==850){break kb}c=a+4|0;b=v[a+4>>2];if(!b){break kb}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b+16>>2]=850;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}mb:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break mb}a=b+20|0;t[a+11|0]=6}c=w[334779]|w[334780]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[334775]|w[334776]<<8|(w[334777]<<16|w[334778]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1176236;nb:{a=v[294059];if(!a){a=1176236;break nb}while(1){b=v[a+16>>2];ob:{if((b|0)>=859){b=v[a>>2];if(b){break ob}c=a;break nb}if((b|0)==858){break nb}c=a+4|0;b=v[a+4>>2];if(!b){break nb}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b+16>>2]=858;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}pb:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break pb}a=b+20|0;t[a+11|0]=6}c=w[323568]|w[323569]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[323564]|w[323565]<<8|(w[323566]<<16|w[323567]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1176236;qb:{a=v[294059];if(!a){a=1176236;break qb}while(1){b=v[a+16>>2];rb:{if((b|0)>=861){b=v[a>>2];if(b){break rb}c=a;break qb}if((b|0)==860){break qb}c=a+4|0;b=v[a+4>>2];if(!b){break qb}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b+16>>2]=860;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}sb:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break sb}a=b+20|0;t[a+11|0]=6}c=w[334741]|w[334742]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[334737]|w[334738]<<8|(w[334739]<<16|w[334740]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1176236;tb:{a=v[294059];if(!a){a=1176236;break tb}while(1){b=v[a+16>>2];ub:{if((b|0)>=864){b=v[a>>2];if(b){break ub}c=a;break tb}if((b|0)==863){break tb}c=a+4|0;b=v[a+4>>2];if(!b){break tb}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b+16>>2]=863;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}vb:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break vb}a=b+20|0;t[a+11|0]=6}c=w[328135]|w[328136]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[328131]|w[328132]<<8|(w[328133]<<16|w[328134]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1176236;wb:{a=v[294059];if(!a){a=1176236;break wb}while(1){b=v[a+16>>2];xb:{if((b|0)>=438){b=v[a>>2];if(b){break xb}c=a;break wb}if((b|0)==437){break wb}c=a+4|0;b=v[a+4>>2];if(!b){break wb}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b+16>>2]=437;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}yb:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break yb}a=b+20|0;t[a+11|0]=6}c=w[324245]|w[324246]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[324241]|w[324242]<<8|(w[324243]<<16|w[324244]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1176236;zb:{a=v[294059];if(!a){a=1176236;break zb}while(1){b=v[a+16>>2];Ab:{if((b|0)>=1253){b=v[a>>2];if(b){break Ab}c=a;break zb}if((b|0)==1252){break zb}c=a+4|0;b=v[a+4>>2];if(!b){break zb}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b+16>>2]=1252;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}v[299999]=0;Y(2695,b+20|0,329612,12)|0;a=v[299999];v[299999]=0;if((a|0)==1){break n}c=1176236;Bb:{a=v[294059];if(!a){a=1176236;break Bb}while(1){b=v[a+16>>2];Cb:{if((b|0)>=1259){b=v[a>>2];if(b){break Cb}c=a;break Bb}if((b|0)==1258){break Bb}c=a+4|0;b=v[a+4>>2];if(!b){break Bb}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b+16>>2]=1258;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}v[299999]=0;Y(2695,b+20|0,323591,12)|0;a=v[299999];v[299999]=0;if((a|0)==1){break n}c=1176236;Db:{a=v[294059];if(!a){a=1176236;break Db}while(1){b=v[a+16>>2];Eb:{if((b|0)>=65002){b=v[a>>2];if(b){break Eb}c=a;break Db}if((b|0)==65001){break Db}c=a+4|0;b=v[a+4>>2];if(!b){break Db}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b+16>>2]=65001;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}Fb:{if(t[b+31|0]<=-1){v[b+24>>2]=5;a=v[b+20>>2];break Fb}a=b+20|0;t[a+11|0]=5}t[a+4|0]=w[323862];c=w[323858]|w[323859]<<8|(w[323860]<<16|w[323861]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+5|0]=0;c=1176236;Gb:{a=v[294059];if(!a){a=1176236;break Gb}while(1){b=v[a+16>>2];Hb:{if((b|0)>=65001){b=v[a>>2];if(b){break Hb}c=a;break Gb}if((b|0)==65e3){break Gb}c=a+4|0;b=v[a+4>>2];if(!b){break Gb}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b+16>>2]=65e3;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}Ib:{if(t[b+31|0]<=-1){v[b+24>>2]=5;a=v[b+20>>2];break Ib}a=b+20|0;t[a+11|0]=5}t[a+4|0]=w[324425];c=w[324421]|w[324422]<<8|(w[324423]<<16|w[324424]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+5|0]=0;c=1176236;Jb:{a=v[294059];if(!a){a=1176236;break Jb}while(1){b=v[a+16>>2];Kb:{if((b|0)>=1201){b=v[a>>2];if(b){break Kb}c=a;break Jb}if((b|0)==1200){break Jb}c=a+4|0;b=v[a+4>>2];if(!b){break Jb}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b+16>>2]=1200;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}Lb:{if(t[b+31|0]<=-1){v[b+24>>2]=8;a=v[b+20>>2];break Lb}a=b+20|0;t[a+11|0]=8}t[a+8|0]=0;t[a|0]=85;t[a+1|0]=84;t[a+2|0]=70;t[a+3|0]=45;t[a+4|0]=49;t[a+5|0]=54;t[a+6|0]=76;t[a+7|0]=69;c=1176236;Mb:{a=v[294059];if(!a){a=1176236;break Mb}while(1){b=v[a+16>>2];Nb:{if((b|0)>=1202){b=v[a>>2];if(b){break Nb}c=a;break Mb}if((b|0)==1201){break Mb}c=a+4|0;b=v[a+4>>2];if(!b){break Mb}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b+16>>2]=1201;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}Ob:{if(t[b+31|0]<=-1){v[b+24>>2]=8;a=v[b+20>>2];break Ob}a=b+20|0;t[a+11|0]=8}t[a+8|0]=0;t[a|0]=85;t[a+1|0]=84;t[a+2|0]=70;t[a+3|0]=45;t[a+4|0]=49;t[a+5|0]=54;t[a+6|0]=66;t[a+7|0]=69;c=1176236;Pb:{a=v[294059];if(!a){a=1176236;break Pb}while(1){b=v[a+16>>2];Qb:{if((b|0)>=12001){b=v[a>>2];if(b){break Qb}c=a;break Pb}if((b|0)==12e3){break Pb}c=a+4|0;b=v[a+4>>2];if(!b){break Pb}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b+16>>2]=12e3;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}Rb:{if(t[b+31|0]<=-1){v[b+24>>2]=8;a=v[b+20>>2];break Rb}a=b+20|0;t[a+11|0]=8}t[a+8|0]=0;t[a|0]=85;t[a+1|0]=84;t[a+2|0]=70;t[a+3|0]=45;t[a+4|0]=51;t[a+5|0]=50;t[a+6|0]=76;t[a+7|0]=69;c=1176236;Sb:{a=v[294059];if(!a){a=1176236;break Sb}while(1){b=v[a+16>>2];Tb:{if((b|0)>=12002){b=v[a>>2];if(b){break Tb}c=a;break Sb}if((b|0)==12001){break Sb}c=a+4|0;b=v[a+4>>2];if(!b){break Sb}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b+16>>2]=12001;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}Ub:{if(t[b+31|0]<=-1){v[b+24>>2]=8;a=v[b+20>>2];break Ub}a=b+20|0;t[a+11|0]=8}t[a+8|0]=0;t[a|0]=85;t[a+1|0]=84;t[a+2|0]=70;t[a+3|0]=45;t[a+4|0]=51;t[a+5|0]=50;t[a+6|0]=66;t[a+7|0]=69;c=1176236;Vb:{a=v[294059];if(!a){a=1176236;break Vb}while(1){b=v[a+16>>2];Wb:{if((b|0)>=10001){b=v[a>>2];if(b){break Wb}c=a;break Vb}if((b|0)==1e4){break Vb}c=a+4|0;b=v[a+4>>2];if(!b){break Vb}a=c}c=a;a=b;continue}}Xb:{b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Xb}v[b+16>>2]=1e4;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[294058]>>2];if(a){v[294058]=a;a=v[c>>2]}else{a=b}Uc(v[294059],a);v[294060]=v[294060]+1}if(t[b+31|0]>-1){break m}v[b+24>>2]=9;a=v[b+20>>2];break l}}a=P()|0;O()|0;os(1176232,v[294059]);T(a|0);L()}a=b+20|0;t[a+11|0]=9}t[a+8|0]=w[269743];c=w[269739]|w[269740]<<8|(w[269741]<<16|w[269742]<<24);b=w[269735]|w[269736]<<8|(w[269737]<<16|w[269738]<<24);t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+9|0]=0;d=Qb-128|0;Qb=d;v[294062]=0;v[294063]=0;v[294064]=0;v[294065]=0;v[294066]=0;v[294061]=1176248;v[299999]=0;a=S(1,64)|0;c=v[299999];v[299999]=0;Yb:{Zb:{_b:{$b:{ac:{bc:{cc:{dc:{ec:{fc:{gc:{hc:{ic:{jc:{kc:{lc:{mc:{nc:{oc:{pc:{qc:{rc:{sc:{tc:{uc:{vc:{wc:{xc:{yc:{zc:{Ac:{Bc:{Cc:{Dc:{Ec:{Fc:{Gc:{Hc:{Ic:{Jc:{Kc:{Lc:{Mc:{Nc:{Oc:{Pc:{Qc:{Rc:{Sc:{Tc:{Uc:{Vc:{Wc:{Xc:{Yc:{Zc:{_c:{$c:{ad:{bd:{cd:{dd:{ed:{fd:{gd:{hd:{id:{jd:{kd:{ld:{md:{nd:{od:{pd:{qd:{rd:{sd:{td:{ud:{vd:{wd:{xd:{yd:{zd:{Ad:{if((c|0)!=1){v[d+112>>2]=a;v[d+116>>2]=12;v[d+120>>2]=-2147483632;v[299999]=0;tc(a,468416,12);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+48>>2]=0;v[d+124>>2]=0;v[299999]=0;c=cg(1176244,d+96|0,d+112|0);a=v[299999];v[299999]=0;if((a|0)==1){break Ad}if(!v[c>>2]){v[299999]=0;a=S(1,32)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Ad}b=v[d+116>>2];v[a+16>>2]=v[d+112>>2];v[a+20>>2]=b;v[a+24>>2]=v[d+120>>2];v[d+120>>2]=0;v[d+112>>2]=0;v[d+116>>2]=0;v[a+28>>2]=v[d+124>>2];v[a+8>>2]=v[d+96>>2];v[a>>2]=0;v[a+4>>2]=0;v[c>>2]=a;b=v[v[294061]>>2];if(b){v[294061]=b;a=v[c>>2]}Uc(v[294062],a);v[294063]=v[294063]+1}if(t[d+123|0]<=-1){dc(v[d+112>>2])}v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){break zd}v[d+112>>2]=a;v[d+116>>2]=10;v[d+120>>2]=-2147483636;v[299999]=0;tc(a,468468,10);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+40>>2]=0;v[d+124>>2]=0;v[299999]=0;c=cg(1176244,d+96|0,d+112|0);a=v[299999];v[299999]=0;if((a|0)==1){break yd}if(!v[c>>2]){v[299999]=0;a=S(1,32)|0;b=v[299999];v[299999]=0;if((b|0)==1){break yd}b=v[d+116>>2];v[a+16>>2]=v[d+112>>2];v[a+20>>2]=b;v[a+24>>2]=v[d+120>>2];v[d+120>>2]=0;v[d+112>>2]=0;v[d+116>>2]=0;v[a+28>>2]=v[d+124>>2];v[a+8>>2]=v[d+96>>2];v[a>>2]=0;v[a+4>>2]=0;v[c>>2]=a;b=v[v[294061]>>2];if(b){v[294061]=b;a=v[c>>2]}Uc(v[294062],a);v[294063]=v[294063]+1}if(t[d+123|0]<=-1){dc(v[d+112>>2])}v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){break xd}v[d+112>>2]=a;v[d+116>>2]=9;v[d+120>>2]=-2147483636;v[299999]=0;tc(a,468512,9);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+36>>2]=0;v[d+124>>2]=0;v[299999]=0;c=cg(1176244,d+96|0,d+112|0);a=v[299999];v[299999]=0;if((a|0)==1){break wd}if(!v[c>>2]){v[299999]=0;a=S(1,32)|0;b=v[299999];v[299999]=0;if((b|0)==1){break wd}b=v[d+116>>2];v[a+16>>2]=v[d+112>>2];v[a+20>>2]=b;v[a+24>>2]=v[d+120>>2];v[d+120>>2]=0;v[d+112>>2]=0;v[d+116>>2]=0;v[a+28>>2]=v[d+124>>2];v[a+8>>2]=v[d+96>>2];v[a>>2]=0;v[a+4>>2]=0;v[c>>2]=a;b=v[v[294061]>>2];if(b){v[294061]=b;a=v[c>>2]}Uc(v[294062],a);v[294063]=v[294063]+1}if(t[d+123|0]<=-1){dc(v[d+112>>2])}v[299999]=0;a=S(1,64)|0;c=v[299999];v[299999]=0;if((c|0)==1){break vd}v[d+112>>2]=a;v[d+116>>2]=12;v[d+120>>2]=-2147483632;v[299999]=0;tc(a,468552,12);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+48>>2]=0;v[d+124>>2]=0;v[299999]=0;c=cg(1176244,d+96|0,d+112|0);a=v[299999];v[299999]=0;if((a|0)==1){break ud}if(!v[c>>2]){v[299999]=0;a=S(1,32)|0;b=v[299999];v[299999]=0;if((b|0)==1){break ud}b=v[d+116>>2];v[a+16>>2]=v[d+112>>2];v[a+20>>2]=b;v[a+24>>2]=v[d+120>>2];v[d+120>>2]=0;v[d+112>>2]=0;v[d+116>>2]=0;v[a+28>>2]=v[d+124>>2];v[a+8>>2]=v[d+96>>2];v[a>>2]=0;v[a+4>>2]=0;v[c>>2]=a;b=v[v[294061]>>2];if(b){v[294061]=b;a=v[c>>2]}Uc(v[294062],a);v[294063]=v[294063]+1}if(t[d+123|0]<=-1){dc(v[d+112>>2])}v[d+104>>2]=0;v[d+96>>2]=0;v[d+100>>2]=0;v[299999]=0;a=S(1,64)|0;c=v[299999];v[299999]=0;if((c|0)==1){break td}v[d+112>>2]=a;v[d+116>>2]=12;v[d+120>>2]=-2147483632;v[299999]=0;tc(a,468416,12);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+48>>2]=0;a=v[d+100>>2];Bd:{if(a>>>0>2]){c=v[d+116>>2];v[a>>2]=v[d+112>>2];v[a+4>>2]=c;v[a+8>>2]=v[d+120>>2];v[d+100>>2]=a+12;break Bd}v[299999]=0;V(2648,d+96|0,d+112|0);a=v[299999];v[299999]=0;if((a|0)==1){break sd}if(t[d+123|0]>-1){break Bd}dc(v[d+112>>2])}v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){break rd}v[d+112>>2]=a;v[d+116>>2]=10;v[d+120>>2]=-2147483636;v[299999]=0;tc(a,468468,10);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+40>>2]=0;a=v[d+100>>2];Cd:{if(a>>>0>2]){c=v[d+116>>2];v[a>>2]=v[d+112>>2];v[a+4>>2]=c;v[a+8>>2]=v[d+120>>2];v[d+100>>2]=a+12;break Cd}v[299999]=0;V(2648,d+96|0,d+112|0);a=v[299999];v[299999]=0;if((a|0)==1){break qd}if(t[d+123|0]>-1){break Cd}dc(v[d+112>>2])}v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){break pd}v[d+112>>2]=a;v[d+116>>2]=9;v[d+120>>2]=-2147483636;v[299999]=0;tc(a,468512,9);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+36>>2]=0;a=v[d+100>>2];Dd:{if(a>>>0>2]){c=v[d+116>>2];v[a>>2]=v[d+112>>2];v[a+4>>2]=c;v[a+8>>2]=v[d+120>>2];v[d+100>>2]=a+12;break Dd}v[299999]=0;V(2648,d+96|0,d+112|0);a=v[299999];v[299999]=0;if((a|0)==1){break od}if(t[d+123|0]>-1){break Dd}dc(v[d+112>>2])}v[299999]=0;a=S(1,64)|0;c=v[299999];v[299999]=0;if((c|0)==1){break nd}v[d+112>>2]=a;v[d+116>>2]=12;v[d+120>>2]=-2147483632;v[299999]=0;tc(a,468552,12);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+48>>2]=0;a=v[d+100>>2];Ed:{if(a>>>0>2]){c=v[d+116>>2];v[a>>2]=v[d+112>>2];v[a+4>>2]=c;v[a+8>>2]=v[d+120>>2];v[d+100>>2]=a+12;break Ed}v[299999]=0;V(2648,d+96|0,d+112|0);a=v[299999];v[299999]=0;if((a|0)==1){break md}if(t[d+123|0]>-1){break Ed}dc(v[d+112>>2])}c=v[294065];Fd:{if((c|0)!=v[294066]){v[299999]=0;a=Q(2659,c|0,d+96|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){a=P()|0;O()|0;v[294065]=c;break _b}v[294065]=a+12;break Fd}v[299999]=0;V(2660,1176256,d+96|0);a=v[299999];v[299999]=0;if((a|0)==1){break ld}}v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){break kd}v[d+112>>2]=a;v[d+116>>2]=6;v[d+120>>2]=-2147483640;v[299999]=0;tc(a,468604,6);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+24>>2]=0;v[299999]=0;v[d+124>>2]=1;c=cg(1176244,d+80|0,d+112|0);a=v[299999];v[299999]=0;if((a|0)==1){break jd}if(!v[c>>2]){v[299999]=0;a=S(1,32)|0;b=v[299999];v[299999]=0;if((b|0)==1){break jd}b=v[d+116>>2];v[a+16>>2]=v[d+112>>2];v[a+20>>2]=b;v[a+24>>2]=v[d+120>>2];v[d+120>>2]=0;v[d+112>>2]=0;v[d+116>>2]=0;v[a+28>>2]=v[d+124>>2];v[a+8>>2]=v[d+80>>2];v[a>>2]=0;v[a+4>>2]=0;v[c>>2]=a;b=v[v[294061]>>2];if(b){v[294061]=b;a=v[c>>2]}Uc(v[294062],a);v[294063]=v[294063]+1}if(t[d+123|0]<=-1){dc(v[d+112>>2])}v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){break id}v[d+112>>2]=a;v[d+116>>2]=9;v[d+120>>2]=-2147483636;v[299999]=0;tc(a,468632,9);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+36>>2]=0;v[299999]=0;v[d+124>>2]=1;c=cg(1176244,d+80|0,d+112|0);a=v[299999];v[299999]=0;if((a|0)==1){break hd}if(!v[c>>2]){v[299999]=0;a=S(1,32)|0;b=v[299999];v[299999]=0;if((b|0)==1){break hd}b=v[d+116>>2];v[a+16>>2]=v[d+112>>2];v[a+20>>2]=b;v[a+24>>2]=v[d+120>>2];v[d+120>>2]=0;v[d+112>>2]=0;v[d+116>>2]=0;v[a+28>>2]=v[d+124>>2];v[a+8>>2]=v[d+80>>2];v[a>>2]=0;v[a+4>>2]=0;v[c>>2]=a;b=v[v[294061]>>2];if(b){v[294061]=b;a=v[c>>2]}Uc(v[294062],a);v[294063]=v[294063]+1}if(t[d+123|0]<=-1){dc(v[d+112>>2])}v[d+88>>2]=0;v[d+80>>2]=0;v[d+84>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){break gd}v[d+112>>2]=a;v[d+116>>2]=10;v[d+120>>2]=-2147483636;v[299999]=0;tc(a,468672,10);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+40>>2]=0;a=v[d+84>>2];Gd:{if(a>>>0>2]){c=v[d+116>>2];v[a>>2]=v[d+112>>2];v[a+4>>2]=c;v[a+8>>2]=v[d+120>>2];v[d+84>>2]=a+12;break Gd}v[299999]=0;V(2648,d+80|0,d+112|0);a=v[299999];v[299999]=0;if((a|0)==1){break fd}if(t[d+123|0]>-1){break Gd}dc(v[d+112>>2])}c=v[294065];Hd:{if((c|0)!=v[294066]){v[299999]=0;a=Q(2659,c|0,d+80|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){a=P()|0;O()|0;v[294065]=c;break $b}v[294065]=a+12;break Hd}v[299999]=0;V(2660,1176256,d+80|0);a=v[299999];v[299999]=0;if((a|0)==1){break ed}}v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){break dd}v[d+112>>2]=a;v[d+116>>2]=5;v[d+120>>2]=-2147483640;v[299999]=0;tc(a,468716,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[d+124>>2]=2;v[299999]=0;c=cg(1176244,d- -64|0,d+112|0);a=v[299999];v[299999]=0;if((a|0)==1){break cd}if(!v[c>>2]){v[299999]=0;a=S(1,32)|0;b=v[299999];v[299999]=0;if((b|0)==1){break cd}b=v[d+116>>2];v[a+16>>2]=v[d+112>>2];v[a+20>>2]=b;v[a+24>>2]=v[d+120>>2];v[d+120>>2]=0;v[d+112>>2]=0;v[d+116>>2]=0;v[a+28>>2]=v[d+124>>2];v[a+8>>2]=v[d+64>>2];v[a>>2]=0;v[a+4>>2]=0;v[c>>2]=a;b=v[v[294061]>>2];if(b){v[294061]=b;a=v[c>>2]}Uc(v[294062],a);v[294063]=v[294063]+1}if(t[d+123|0]<=-1){dc(v[d+112>>2])}v[299999]=0;a=S(1,64)|0;c=v[299999];v[299999]=0;if((c|0)==1){break bd}v[d+112>>2]=a;v[d+116>>2]=15;v[d+120>>2]=-2147483632;v[299999]=0;tc(a,468740,15);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+60>>2]=0;v[d+124>>2]=2;v[299999]=0;c=cg(1176244,d- -64|0,d+112|0);a=v[299999];v[299999]=0;if((a|0)==1){break ad}if(!v[c>>2]){v[299999]=0;a=S(1,32)|0;b=v[299999];v[299999]=0;if((b|0)==1){break ad}b=v[d+116>>2];v[a+16>>2]=v[d+112>>2];v[a+20>>2]=b;v[a+24>>2]=v[d+120>>2];v[d+120>>2]=0;v[d+112>>2]=0;v[d+116>>2]=0;v[a+28>>2]=v[d+124>>2];v[a+8>>2]=v[d+64>>2];v[a>>2]=0;v[a+4>>2]=0;v[c>>2]=a;b=v[v[294061]>>2];if(b){v[294061]=b;a=v[c>>2]}Uc(v[294062],a);v[294063]=v[294063]+1}if(t[d+123|0]<=-1){dc(v[d+112>>2])}v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){break $c}v[d+112>>2]=a;v[d+116>>2]=9;v[d+120>>2]=-2147483636;v[299999]=0;tc(a,468804,9);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+36>>2]=0;v[d+124>>2]=2;v[299999]=0;c=cg(1176244,d- -64|0,d+112|0);a=v[299999];v[299999]=0;if((a|0)==1){break _c}if(!v[c>>2]){v[299999]=0;a=S(1,32)|0;b=v[299999];v[299999]=0;if((b|0)==1){break _c}b=v[d+116>>2];v[a+16>>2]=v[d+112>>2];v[a+20>>2]=b;v[a+24>>2]=v[d+120>>2];v[d+120>>2]=0;v[d+112>>2]=0;v[d+116>>2]=0;v[a+28>>2]=v[d+124>>2];v[a+8>>2]=v[d+64>>2];v[a>>2]=0;v[a+4>>2]=0;v[c>>2]=a;b=v[v[294061]>>2];if(b){v[294061]=b;a=v[c>>2]}Uc(v[294062],a);v[294063]=v[294063]+1}if(t[d+123|0]<=-1){dc(v[d+112>>2])}v[299999]=0;a=S(1,64)|0;c=v[299999];v[299999]=0;if((c|0)==1){break Zc}v[d+112>>2]=a;v[d+116>>2]=13;v[d+120>>2]=-2147483632;v[299999]=0;tc(a,468844,13);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+52>>2]=0;v[d+124>>2]=2;v[299999]=0;c=cg(1176244,d- -64|0,d+112|0);a=v[299999];v[299999]=0;if((a|0)==1){break Yc}if(!v[c>>2]){v[299999]=0;a=S(1,32)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Yc}b=v[d+116>>2];v[a+16>>2]=v[d+112>>2];v[a+20>>2]=b;v[a+24>>2]=v[d+120>>2];v[d+120>>2]=0;v[d+112>>2]=0;v[d+116>>2]=0;v[a+28>>2]=v[d+124>>2];v[a+8>>2]=v[d+64>>2];v[a>>2]=0;v[a+4>>2]=0;v[c>>2]=a;b=v[v[294061]>>2];if(b){v[294061]=b;a=v[c>>2]}Uc(v[294062],a);v[294063]=v[294063]+1}if(t[d+123|0]<=-1){dc(v[d+112>>2])}v[d+72>>2]=0;v[d+64>>2]=0;v[d+68>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){break Xc}v[d+112>>2]=a;v[d+116>>2]=5;v[d+120>>2]=-2147483640;v[299999]=0;tc(a,468716,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;a=v[d+68>>2];Id:{if(a>>>0>2]){c=v[d+116>>2];v[a>>2]=v[d+112>>2];v[a+4>>2]=c;v[a+8>>2]=v[d+120>>2];v[d+68>>2]=a+12;break Id}v[299999]=0;V(2648,d- -64|0,d+112|0);a=v[299999];v[299999]=0;if((a|0)==1){break Wc}if(t[d+123|0]>-1){break Id}dc(v[d+112>>2])}v[299999]=0;a=S(1,64)|0;c=v[299999];v[299999]=0;if((c|0)==1){break Vc}v[d+112>>2]=a;v[d+116>>2]=15;v[d+120>>2]=-2147483632;v[299999]=0;tc(a,468740,15);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+60>>2]=0;a=v[d+68>>2];Jd:{if(a>>>0>2]){c=v[d+116>>2];v[a>>2]=v[d+112>>2];v[a+4>>2]=c;v[a+8>>2]=v[d+120>>2];v[d+68>>2]=a+12;break Jd}v[299999]=0;V(2648,d- -64|0,d+112|0);a=v[299999];v[299999]=0;if((a|0)==1){break Uc}if(t[d+123|0]>-1){break Jd}dc(v[d+112>>2])}v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){break Tc}v[d+112>>2]=a;v[d+116>>2]=9;v[d+120>>2]=-2147483636;v[299999]=0;tc(a,468804,9);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+36>>2]=0;a=v[d+68>>2];Kd:{if(a>>>0>2]){c=v[d+116>>2];v[a>>2]=v[d+112>>2];v[a+4>>2]=c;v[a+8>>2]=v[d+120>>2];v[d+68>>2]=a+12;break Kd}v[299999]=0;V(2648,d- -64|0,d+112|0);a=v[299999];v[299999]=0;if((a|0)==1){break Sc}if(t[d+123|0]>-1){break Kd}dc(v[d+112>>2])}v[299999]=0;a=S(1,64)|0;c=v[299999];v[299999]=0;if((c|0)==1){break Rc}v[d+112>>2]=a;v[d+116>>2]=13;v[d+120>>2]=-2147483632;v[299999]=0;tc(a,468844,13);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+52>>2]=0;a=v[d+68>>2];Ld:{if(a>>>0>2]){c=v[d+116>>2];v[a>>2]=v[d+112>>2];v[a+4>>2]=c;v[a+8>>2]=v[d+120>>2];v[d+68>>2]=a+12;break Ld}v[299999]=0;V(2648,d- -64|0,d+112|0);a=v[299999];v[299999]=0;if((a|0)==1){break Qc}if(t[d+123|0]>-1){break Ld}dc(v[d+112>>2])}c=v[294065];Md:{if((c|0)!=v[294066]){v[299999]=0;a=Q(2659,c|0,d- -64|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){a=P()|0;O()|0;v[294065]=c;break ac}v[294065]=a+12;break Md}v[299999]=0;V(2660,1176256,d- -64|0);a=v[299999];v[299999]=0;if((a|0)==1){break Pc}}v[299999]=0;a=S(1,64)|0;c=v[299999];v[299999]=0;if((c|0)==1){break Oc}v[d+112>>2]=a;v[d+116>>2]=15;v[d+120>>2]=-2147483632;v[299999]=0;tc(a,468900,15);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+60>>2]=0;v[d+124>>2]=3;v[299999]=0;c=cg(1176244,d+48|0,d+112|0);a=v[299999];v[299999]=0;if((a|0)==1){break Nc}if(!v[c>>2]){v[299999]=0;a=S(1,32)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Nc}b=v[d+116>>2];v[a+16>>2]=v[d+112>>2];v[a+20>>2]=b;v[a+24>>2]=v[d+120>>2];v[d+120>>2]=0;v[d+112>>2]=0;v[d+116>>2]=0;v[a+28>>2]=v[d+124>>2];v[a+8>>2]=v[d+48>>2];v[a>>2]=0;v[a+4>>2]=0;v[c>>2]=a;b=v[v[294061]>>2];if(b){v[294061]=b;a=v[c>>2]}Uc(v[294062],a);v[294063]=v[294063]+1}if(t[d+123|0]<=-1){dc(v[d+112>>2])}v[299999]=0;a=S(1,80)|0;c=v[299999];v[299999]=0;if((c|0)==1){break Mc}v[d+112>>2]=a;v[d+116>>2]=16;v[d+120>>2]=-2147483628;v[299999]=0;tc(a,468964,16);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+64>>2]=0;v[d+124>>2]=3;v[299999]=0;c=cg(1176244,d+48|0,d+112|0);a=v[299999];v[299999]=0;if((a|0)==1){break Lc}if(!v[c>>2]){v[299999]=0;a=S(1,32)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Lc}b=v[d+116>>2];v[a+16>>2]=v[d+112>>2];v[a+20>>2]=b;v[a+24>>2]=v[d+120>>2];v[d+120>>2]=0;v[d+112>>2]=0;v[d+116>>2]=0;v[a+28>>2]=v[d+124>>2];v[a+8>>2]=v[d+48>>2];v[a>>2]=0;v[a+4>>2]=0;v[c>>2]=a;b=v[v[294061]>>2];if(b){v[294061]=b;a=v[c>>2]}Uc(v[294062],a);v[294063]=v[294063]+1}if(t[d+123|0]<=-1){dc(v[d+112>>2])}v[d+56>>2]=0;v[d+48>>2]=0;v[d+52>>2]=0;v[299999]=0;a=S(1,64)|0;c=v[299999];v[299999]=0;if((c|0)==1){break Kc}v[d+112>>2]=a;v[d+116>>2]=15;v[d+120>>2]=-2147483632;v[299999]=0;tc(a,468900,15);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+60>>2]=0;a=v[d+52>>2];Nd:{if(a>>>0>2]){c=v[d+116>>2];v[a>>2]=v[d+112>>2];v[a+4>>2]=c;v[a+8>>2]=v[d+120>>2];v[d+52>>2]=a+12;break Nd}v[299999]=0;V(2648,d+48|0,d+112|0);a=v[299999];v[299999]=0;if((a|0)==1){break Jc}if(t[d+123|0]>-1){break Nd}dc(v[d+112>>2])}v[299999]=0;a=S(1,80)|0;c=v[299999];v[299999]=0;if((c|0)==1){break Ic}v[d+112>>2]=a;v[d+116>>2]=16;v[d+120>>2]=-2147483628;v[299999]=0;tc(a,468964,16);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+64>>2]=0;a=v[d+52>>2];Od:{if(a>>>0>2]){c=v[d+116>>2];v[a>>2]=v[d+112>>2];v[a+4>>2]=c;v[a+8>>2]=v[d+120>>2];v[d+52>>2]=a+12;break Od}v[299999]=0;V(2648,d+48|0,d+112|0);a=v[299999];v[299999]=0;if((a|0)==1){break Hc}if(t[d+123|0]>-1){break Od}dc(v[d+112>>2])}c=v[294065];Pd:{if((c|0)!=v[294066]){v[299999]=0;a=Q(2659,c|0,d+48|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){a=P()|0;O()|0;v[294065]=c;break bc}v[294065]=a+12;break Pd}v[299999]=0;V(2660,1176256,d+48|0);a=v[299999];v[299999]=0;if((a|0)==1){break Gc}}v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){break Fc}v[d+112>>2]=a;v[d+116>>2]=11;v[d+120>>2]=-2147483636;v[299999]=0;tc(a,469032,11);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+44>>2]=0;v[d+124>>2]=4;v[299999]=0;c=cg(1176244,d+32|0,d+112|0);a=v[299999];v[299999]=0;if((a|0)==1){break Ec}if(!v[c>>2]){v[299999]=0;a=S(1,32)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Ec}b=v[d+116>>2];v[a+16>>2]=v[d+112>>2];v[a+20>>2]=b;v[a+24>>2]=v[d+120>>2];v[d+120>>2]=0;v[d+112>>2]=0;v[d+116>>2]=0;v[a+28>>2]=v[d+124>>2];v[a+8>>2]=v[d+32>>2];v[a>>2]=0;v[a+4>>2]=0;v[c>>2]=a;b=v[v[294061]>>2];if(b){v[294061]=b;a=v[c>>2]}Uc(v[294062],a);v[294063]=v[294063]+1}if(t[d+123|0]<=-1){dc(v[d+112>>2])}v[299999]=0;a=S(1,64)|0;c=v[299999];v[299999]=0;if((c|0)==1){break Dc}v[d+112>>2]=a;v[d+116>>2]=15;v[d+120>>2]=-2147483632;v[299999]=0;tc(a,469080,15);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+60>>2]=0;v[d+124>>2]=4;v[299999]=0;c=cg(1176244,d+32|0,d+112|0);a=v[299999];v[299999]=0;if((a|0)==1){break Cc}if(!v[c>>2]){v[299999]=0;a=S(1,32)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Cc}b=v[d+116>>2];v[a+16>>2]=v[d+112>>2];v[a+20>>2]=b;v[a+24>>2]=v[d+120>>2];v[d+120>>2]=0;v[d+112>>2]=0;v[d+116>>2]=0;v[a+28>>2]=v[d+124>>2];v[a+8>>2]=v[d+32>>2];v[a>>2]=0;v[a+4>>2]=0;v[c>>2]=a;b=v[v[294061]>>2];if(b){v[294061]=b;a=v[c>>2]}Uc(v[294062],a);v[294063]=v[294063]+1}if(t[d+123|0]<=-1){dc(v[d+112>>2])}v[d+40>>2]=0;v[d+32>>2]=0;v[d+36>>2]=0;v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){break Bc}v[d+112>>2]=a;v[d+116>>2]=11;v[d+120>>2]=-2147483636;v[299999]=0;tc(a,469032,11);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+44>>2]=0;a=v[d+36>>2];Qd:{if(a>>>0>2]){c=v[d+116>>2];v[a>>2]=v[d+112>>2];v[a+4>>2]=c;v[a+8>>2]=v[d+120>>2];v[d+36>>2]=a+12;break Qd}v[299999]=0;V(2648,d+32|0,d+112|0);a=v[299999];v[299999]=0;if((a|0)==1){break Ac}if(t[d+123|0]>-1){break Qd}dc(v[d+112>>2])}v[299999]=0;a=S(1,64)|0;c=v[299999];v[299999]=0;if((c|0)==1){break zc}v[d+112>>2]=a;v[d+116>>2]=15;v[d+120>>2]=-2147483632;v[299999]=0;tc(a,469080,15);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+60>>2]=0;a=v[d+36>>2];Rd:{if(a>>>0>2]){c=v[d+116>>2];v[a>>2]=v[d+112>>2];v[a+4>>2]=c;v[a+8>>2]=v[d+120>>2];v[d+36>>2]=a+12;break Rd}v[299999]=0;V(2648,d+32|0,d+112|0);a=v[299999];v[299999]=0;if((a|0)==1){break yc}if(t[d+123|0]>-1){break Rd}dc(v[d+112>>2])}c=v[294065];Sd:{if((c|0)!=v[294066]){v[299999]=0;a=Q(2659,c|0,d+32|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){a=P()|0;O()|0;v[294065]=c;break cc}v[294065]=a+12;break Sd}v[299999]=0;V(2660,1176256,d+32|0);a=v[299999];v[299999]=0;if((a|0)==1){break xc}}v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){break wc}v[d+112>>2]=a;v[d+116>>2]=5;v[d+120>>2]=-2147483640;v[299999]=0;tc(a,469144,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;v[d+124>>2]=5;v[299999]=0;c=cg(1176244,d+16|0,d+112|0);a=v[299999];v[299999]=0;if((a|0)==1){break vc}if(!v[c>>2]){v[299999]=0;a=S(1,32)|0;b=v[299999];v[299999]=0;if((b|0)==1){break vc}b=v[d+116>>2];v[a+16>>2]=v[d+112>>2];v[a+20>>2]=b;v[a+24>>2]=v[d+120>>2];v[d+120>>2]=0;v[d+112>>2]=0;v[d+116>>2]=0;v[a+28>>2]=v[d+124>>2];v[a+8>>2]=v[d+16>>2];v[a>>2]=0;v[a+4>>2]=0;v[c>>2]=a;b=v[v[294061]>>2];if(b){v[294061]=b;a=v[c>>2]}Uc(v[294062],a);v[294063]=v[294063]+1}if(t[d+123|0]<=-1){dc(v[d+112>>2])}v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){break uc}v[d+112>>2]=a;v[d+116>>2]=8;v[d+120>>2]=-2147483636;v[299999]=0;tc(a,469168,8);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+32>>2]=0;v[d+124>>2]=5;v[299999]=0;c=cg(1176244,d+16|0,d+112|0);a=v[299999];v[299999]=0;if((a|0)==1){break tc}if(!v[c>>2]){v[299999]=0;a=S(1,32)|0;b=v[299999];v[299999]=0;if((b|0)==1){break tc}b=v[d+116>>2];v[a+16>>2]=v[d+112>>2];v[a+20>>2]=b;v[a+24>>2]=v[d+120>>2];v[d+120>>2]=0;v[d+112>>2]=0;v[d+116>>2]=0;v[a+28>>2]=v[d+124>>2];v[a+8>>2]=v[d+16>>2];v[a>>2]=0;v[a+4>>2]=0;v[c>>2]=a;b=v[v[294061]>>2];if(b){v[294061]=b;a=v[c>>2]}Uc(v[294062],a);v[294063]=v[294063]+1}if(t[d+123|0]<=-1){dc(v[d+112>>2])}v[d+24>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){break sc}v[d+112>>2]=a;v[d+116>>2]=5;v[d+120>>2]=-2147483640;v[299999]=0;tc(a,469144,5);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+20>>2]=0;a=v[d+20>>2];Td:{if(a>>>0>2]){c=v[d+116>>2];v[a>>2]=v[d+112>>2];v[a+4>>2]=c;v[a+8>>2]=v[d+120>>2];v[d+20>>2]=a+12;break Td}v[299999]=0;V(2648,d+16|0,d+112|0);a=v[299999];v[299999]=0;if((a|0)==1){break rc}if(t[d+123|0]>-1){break Td}dc(v[d+112>>2])}v[299999]=0;a=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){break qc}v[d+112>>2]=a;v[d+116>>2]=8;v[d+120>>2]=-2147483636;v[299999]=0;tc(a,469168,8);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+32>>2]=0;a=v[d+20>>2];Ud:{if(a>>>0>2]){c=v[d+116>>2];v[a>>2]=v[d+112>>2];v[a+4>>2]=c;v[a+8>>2]=v[d+120>>2];v[d+20>>2]=a+12;break Ud}v[299999]=0;V(2648,d+16|0,d+112|0);a=v[299999];v[299999]=0;if((a|0)==1){break pc}if(t[d+123|0]>-1){break Ud}dc(v[d+112>>2])}c=v[294065];Vd:{if((c|0)!=v[294066]){v[299999]=0;a=Q(2659,c|0,d+16|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){a=P()|0;O()|0;v[294065]=c;break dc}v[294065]=a+12;break Vd}v[299999]=0;V(2660,1176256,d+16|0);a=v[299999];v[299999]=0;if((a|0)==1){break oc}}v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){break nc}v[d+112>>2]=a;v[d+116>>2]=7;v[d+120>>2]=-2147483640;v[299999]=0;tc(a,469204,7);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+28>>2]=0;v[d+124>>2]=6;v[299999]=0;c=cg(1176244,d,d+112|0);a=v[299999];v[299999]=0;if((a|0)==1){break mc}if(!v[c>>2]){v[299999]=0;a=S(1,32)|0;b=v[299999];v[299999]=0;if((b|0)==1){break mc}b=v[d+116>>2];v[a+16>>2]=v[d+112>>2];v[a+20>>2]=b;v[a+24>>2]=v[d+120>>2];v[d+120>>2]=0;v[d+112>>2]=0;v[d+116>>2]=0;v[a+28>>2]=v[d+124>>2];v[a+8>>2]=v[d>>2];v[a>>2]=0;v[a+4>>2]=0;v[c>>2]=a;b=v[v[294061]>>2];if(b){v[294061]=b;a=v[c>>2]}Uc(v[294062],a);v[294063]=v[294063]+1}if(t[d+123|0]<=-1){dc(v[d+112>>2])}v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){break lc}v[d+112>>2]=a;v[d+116>>2]=7;v[d+120>>2]=-2147483640;v[299999]=0;tc(a,469236,7);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+28>>2]=0;v[d+124>>2]=6;v[299999]=0;c=cg(1176244,d,d+112|0);a=v[299999];v[299999]=0;if((a|0)==1){break kc}if(!v[c>>2]){v[299999]=0;a=S(1,32)|0;b=v[299999];v[299999]=0;if((b|0)==1){break kc}b=v[d+116>>2];v[a+16>>2]=v[d+112>>2];v[a+20>>2]=b;v[a+24>>2]=v[d+120>>2];v[d+120>>2]=0;v[d+112>>2]=0;v[d+116>>2]=0;v[a+28>>2]=v[d+124>>2];v[a+8>>2]=v[d>>2];v[a>>2]=0;v[a+4>>2]=0;v[c>>2]=a;b=v[v[294061]>>2];if(b){v[294061]=b;a=v[c>>2]}Uc(v[294062],a);v[294063]=v[294063]+1}if(t[d+123|0]<=-1){dc(v[d+112>>2])}v[d+120>>2]=0;v[d+112>>2]=0;v[d+116>>2]=0;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){break jc}v[d>>2]=a;v[d+4>>2]=7;v[d+8>>2]=-2147483640;v[299999]=0;tc(a,469204,7);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+28>>2]=0;a=v[d+116>>2];Wd:{if(a>>>0>2]){c=v[d+4>>2];v[a>>2]=v[d>>2];v[a+4>>2]=c;v[a+8>>2]=v[d+8>>2];v[d+116>>2]=a+12;break Wd}v[299999]=0;V(2648,d+112|0,d|0);a=v[299999];v[299999]=0;if((a|0)==1){break ic}if(t[d+11|0]>-1){break Wd}dc(v[d>>2])}v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){break hc}v[d>>2]=a;v[d+4>>2]=7;v[d+8>>2]=-2147483640;v[299999]=0;tc(a,469236,7);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+28>>2]=0;a=v[d+116>>2];Xd:{if(a>>>0>2]){c=v[d+4>>2];v[a>>2]=v[d>>2];v[a+4>>2]=c;v[a+8>>2]=v[d+8>>2];v[d+116>>2]=a+12;break Xd}v[299999]=0;V(2648,d+112|0,d|0);a=v[299999];v[299999]=0;if((a|0)==1){break gc}if(t[d+11|0]>-1){break Xd}dc(v[d>>2])}c=v[294065];Yd:{if((c|0)!=v[294066]){v[299999]=0;a=Q(2659,c|0,d+112|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){a=P()|0;O()|0;v[294065]=c;break ec}v[294065]=a+12;break Yd}v[299999]=0;V(2660,1176256,d+112|0);a=v[299999];v[299999]=0;if((a|0)==1){break fc}}c=v[d+112>>2];if(c){a=v[d+116>>2];if((c|0)==(a|0)){a=c}else{while(1){b=a-12|0;if(t[a-1|0]<=-1){dc(v[b>>2])}a=b;if((c|0)!=(a|0)){continue}break}a=v[d+112>>2]}v[d+116>>2]=c;dc(a)}c=v[d+16>>2];if(c){a=v[d+20>>2];if((c|0)==(a|0)){a=c}else{while(1){b=a-12|0;if(t[a-1|0]<=-1){dc(v[b>>2])}a=b;if((c|0)!=(a|0)){continue}break}a=v[d+16>>2]}v[d+20>>2]=c;dc(a)}c=v[d+32>>2];if(c){a=v[d+36>>2];if((c|0)==(a|0)){a=c}else{while(1){b=a-12|0;if(t[a-1|0]<=-1){dc(v[b>>2])}a=b;if((c|0)!=(a|0)){continue}break}a=v[d+32>>2]}v[d+36>>2]=c;dc(a)}c=v[d+48>>2];if(c){a=v[d+52>>2];if((c|0)==(a|0)){a=c}else{while(1){b=a-12|0;if(t[a-1|0]<=-1){dc(v[b>>2])}a=b;if((c|0)!=(a|0)){continue}break}a=v[d+48>>2]}v[d+52>>2]=c;dc(a)}c=v[d+64>>2];if(c){a=v[d+68>>2];if((c|0)==(a|0)){a=c}else{while(1){b=a-12|0;if(t[a-1|0]<=-1){dc(v[b>>2])}a=b;if((c|0)!=(a|0)){continue}break}a=v[d+64>>2]}v[d+68>>2]=c;dc(a)}c=v[d+80>>2];if(c){a=v[d+84>>2];if((c|0)==(a|0)){a=c}else{while(1){b=a-12|0;if(t[a-1|0]<=-1){dc(v[b>>2])}a=b;if((c|0)!=(a|0)){continue}break}a=v[d+80>>2]}v[d+84>>2]=c;dc(a)}c=v[d+96>>2];if(c){a=v[d+100>>2];if((c|0)==(a|0)){a=c}else{while(1){b=a-12|0;if(t[a-1|0]<=-1){dc(v[b>>2])}a=b;if((c|0)!=(a|0)){continue}break}a=v[d+96>>2]}v[d+100>>2]=c;dc(a)}Qb=d+128|0;break Yb}a=P()|0;O()|0;break Zb}a=P()|0;O()|0;if(t[d+123|0]>-1){break Zb}dc(v[d+112>>2]);break Zb}a=P()|0;O()|0;break Zb}a=P()|0;O()|0;if(t[d+123|0]>-1){break Zb}dc(v[d+112>>2]);break Zb}a=P()|0;O()|0;break Zb}a=P()|0;O()|0;if(t[d+123|0]>-1){break Zb}dc(v[d+112>>2]);break Zb}a=P()|0;O()|0;break Zb}a=P()|0;O()|0;if(t[d+123|0]>-1){break Zb}dc(v[d+112>>2]);break Zb}a=P()|0;O()|0;break _b}a=P()|0;O()|0;if(t[d+123|0]>-1){break _b}dc(v[d+112>>2]);break _b}a=P()|0;O()|0;break _b}a=P()|0;O()|0;if(t[d+123|0]>-1){break _b}dc(v[d+112>>2]);break _b}a=P()|0;O()|0;break _b}a=P()|0;O()|0;if(t[d+123|0]>-1){break _b}dc(v[d+112>>2]);break _b}a=P()|0;O()|0;break _b}a=P()|0;O()|0;if(t[d+123|0]>-1){break _b}dc(v[d+112>>2]);break _b}a=P()|0;O()|0;break _b}a=P()|0;O()|0;break _b}a=P()|0;O()|0;if(t[d+123|0]>-1){break _b}dc(v[d+112>>2]);break _b}a=P()|0;O()|0;break _b}a=P()|0;O()|0;if(t[d+123|0]>-1){break _b}dc(v[d+112>>2]);break _b}a=P()|0;O()|0;break $b}a=P()|0;O()|0;if(t[d+123|0]>-1){break $b}dc(v[d+112>>2]);break $b}a=P()|0;O()|0;break $b}a=P()|0;O()|0;break $b}a=P()|0;O()|0;if(t[d+123|0]>-1){break $b}dc(v[d+112>>2]);break $b}a=P()|0;O()|0;break $b}a=P()|0;O()|0;if(t[d+123|0]>-1){break $b}dc(v[d+112>>2]);break $b}a=P()|0;O()|0;break $b}a=P()|0;O()|0;if(t[d+123|0]>-1){break $b}dc(v[d+112>>2]);break $b}a=P()|0;O()|0;break $b}a=P()|0;O()|0;if(t[d+123|0]>-1){break $b}dc(v[d+112>>2]);break $b}a=P()|0;O()|0;break ac}a=P()|0;O()|0;if(t[d+123|0]>-1){break ac}dc(v[d+112>>2]);break ac}a=P()|0;O()|0;break ac}a=P()|0;O()|0;if(t[d+123|0]>-1){break ac}dc(v[d+112>>2]);break ac}a=P()|0;O()|0;break ac}a=P()|0;O()|0;if(t[d+123|0]>-1){break ac}dc(v[d+112>>2]);break ac}a=P()|0;O()|0;break ac}a=P()|0;O()|0;if(t[d+123|0]>-1){break ac}dc(v[d+112>>2]);break ac}a=P()|0;O()|0;break ac}a=P()|0;O()|0;break ac}a=P()|0;O()|0;if(t[d+123|0]>-1){break ac}dc(v[d+112>>2]);break ac}a=P()|0;O()|0;break ac}a=P()|0;O()|0;if(t[d+123|0]>-1){break ac}dc(v[d+112>>2]);break ac}a=P()|0;O()|0;break bc}a=P()|0;O()|0;if(t[d+123|0]>-1){break bc}dc(v[d+112>>2]);break bc}a=P()|0;O()|0;break bc}a=P()|0;O()|0;if(t[d+123|0]>-1){break bc}dc(v[d+112>>2]);break bc}a=P()|0;O()|0;break bc}a=P()|0;O()|0;break bc}a=P()|0;O()|0;if(t[d+123|0]>-1){break bc}dc(v[d+112>>2]);break bc}a=P()|0;O()|0;break bc}a=P()|0;O()|0;if(t[d+123|0]>-1){break bc}dc(v[d+112>>2]);break bc}a=P()|0;O()|0;break cc}a=P()|0;O()|0;if(t[d+123|0]>-1){break cc}dc(v[d+112>>2]);break cc}a=P()|0;O()|0;break cc}a=P()|0;O()|0;if(t[d+123|0]>-1){break cc}dc(v[d+112>>2]);break cc}a=P()|0;O()|0;break cc}a=P()|0;O()|0;break cc}a=P()|0;O()|0;if(t[d+123|0]>-1){break cc}dc(v[d+112>>2]);break cc}a=P()|0;O()|0;break cc}a=P()|0;O()|0;if(t[d+123|0]>-1){break cc}dc(v[d+112>>2]);break cc}a=P()|0;O()|0;break dc}a=P()|0;O()|0;if(t[d+123|0]>-1){break dc}dc(v[d+112>>2]);break dc}a=P()|0;O()|0;break dc}a=P()|0;O()|0;if(t[d+123|0]>-1){break dc}dc(v[d+112>>2]);break dc}a=P()|0;O()|0;break dc}a=P()|0;O()|0;break dc}a=P()|0;O()|0;if(t[d+123|0]>-1){break dc}dc(v[d+112>>2]);break dc}a=P()|0;O()|0;break dc}a=P()|0;O()|0;if(t[d+123|0]>-1){break dc}dc(v[d+112>>2]);break dc}a=P()|0;O()|0;break ec}a=P()|0;O()|0;if(t[d+11|0]<=-1){dc(v[d>>2])}break ec}a=P()|0;O()|0;break ec}a=P()|0;O()|0;if(t[d+11|0]<=-1){dc(v[d>>2])}break ec}a=P()|0;O()|0}Qg(d+112|0)}Qg(d+16|0)}Qg(d+32|0)}Qg(d+48|0)}Qg(d- -64|0)}Qg(d+80|0)}Qg(d+96|0)}if(v[294064]){c=v[294065];f=v[294064];if((c|0)!=(f|0)){while(1){d=c-12|0;b=v[d>>2];if(b){g=c-8|0;c=v[g>>2];if((b|0)==(c|0)){c=b}else{while(1){e=c-12|0;if(t[c-1|0]<=-1){dc(v[e>>2])}c=e;if((b|0)!=(c|0)){continue}break}c=v[d>>2]}v[g>>2]=b;dc(c)}c=d;if((f|0)!=(c|0)){continue}break}}v[294065]=f;dc(v[294064])}gq(1176244,v[294062]);T(a|0);L()}v[294067]=0;t[1176279]=0;a=v[300507];v[300507]=5073;v[294748]=a;v[299397]=0;v[299398]=0;d=1197588;v[299396]=1197588;v[299999]=0;a=S(1,32)|0;c=v[299999];v[299999]=0;Zd:{_d:{$d:{ae:{if((c|0)!=1){v[a+8>>2]=1197588;v[a>>2]=0;v[a+4>>2]=0;b=28596;v[a+16>>2]=28596;v[299396]=a;v[299397]=a;t[a+12|0]=1;v[299398]=1;t[a+31|0]=10;c=w[324970]|w[324971]<<8|(w[324972]<<16|w[324973]<<24);e=w[324966]|w[324967]<<8|(w[324968]<<16|w[324969]<<24);t[a+20|0]=e;t[a+21|0]=e>>>8;t[a+22|0]=e>>>16;t[a+23|0]=e>>>24;t[a+24|0]=c;t[a+25|0]=c>>>8;t[a+26|0]=c>>>16;t[a+27|0]=c>>>24;c=w[324974]|w[324975]<<8;t[a+28|0]=c;t[a+29|0]=c>>>8;t[a+30|0]=0;while(1){be:{if((b|0)>=721){d=a;c=v[a>>2];if(c){break be}break ae}if((b|0)==720){break ae}d=a+4|0;c=v[a+4>>2];if(!c){break ae}}b=v[c+16>>2];a=c;continue}}break $d}c=v[d>>2];if(!c){v[299999]=0;c=S(1,32)|0;b=v[299999];v[299999]=0;if((b|0)==1){break $d}v[c+16>>2]=720;v[c+8>>2]=a;v[c>>2]=0;v[c+4>>2]=0;v[c+20>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[d>>2]=c;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[d>>2]}else{a=c}Uc(v[299397],a);v[299398]=v[299398]+1}ce:{if(t[c+31|0]<=-1){v[c+24>>2]=7;a=v[c+20>>2];break ce}a=c+20|0;t[a+11|0]=7}c=w[334947]|w[334948]<<8|(w[334949]<<16|w[334950]<<24);t[a+3|0]=c;t[a+4|0]=c>>>8;t[a+5|0]=c>>>16;t[a+6|0]=c>>>24;c=w[334944]|w[334945]<<8|(w[334946]<<16|w[334947]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+7|0]=0;c=1197588;de:{a=v[299397];if(!a){a=1197588;break de}while(1){b=v[a+16>>2];ee:{if((b|0)>=1257){b=v[a>>2];if(b){break ee}c=a;break de}if((b|0)==1256){break de}c=a+4|0;b=v[a+4>>2];if(!b){break de}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[b+16>>2]=1256;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}v[299999]=0;Y(2695,b+20|0,324682,12)|0;a=v[299999];v[299999]=0;if((a|0)==1){break $d}c=1197588;fe:{a=v[299397];if(!a){a=1197588;break fe}while(1){b=v[a+16>>2];ge:{if((b|0)>=28595){b=v[a>>2];if(b){break ge}c=a;break fe}if((b|0)==28594){break fe}c=a+4|0;b=v[a+4>>2];if(!b){break fe}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[b+16>>2]=28594;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}he:{if(t[b+31|0]<=-1){v[b+24>>2]=10;a=v[b+20>>2];break he}a=b+20|0;t[a+11|0]=10}c=w[326339]|w[326340]<<8;t[a+8|0]=c;t[a+9|0]=c>>>8;c=w[326335]|w[326336]<<8|(w[326337]<<16|w[326338]<<24);b=w[326331]|w[326332]<<8|(w[326333]<<16|w[326334]<<24);t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+10|0]=0;c=1197588;ie:{a=v[299397];if(!a){a=1197588;break ie}while(1){b=v[a+16>>2];je:{if((b|0)>=28604){b=v[a>>2];if(b){break je}c=a;break ie}if((b|0)==28603){break ie}c=a+4|0;b=v[a+4>>2];if(!b){break ie}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[b+16>>2]=28603;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}v[299999]=0;Y(2695,b+20|0,328370,11)|0;a=v[299999];v[299999]=0;if((a|0)==1){break $d}c=1197588;ke:{a=v[299397];if(!a){a=1197588;break ke}while(1){b=v[a+16>>2];le:{if((b|0)>=776){b=v[a>>2];if(b){break le}c=a;break ke}if((b|0)==775){break ke}c=a+4|0;b=v[a+4>>2];if(!b){break ke}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[b+16>>2]=775;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}me:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break me}a=b+20|0;t[a+11|0]=6}c=w[325258]|w[325259]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[325254]|w[325255]<<8|(w[325256]<<16|w[325257]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1197588;ne:{a=v[299397];if(!a){a=1197588;break ne}while(1){b=v[a+16>>2];oe:{if((b|0)>=1258){b=v[a>>2];if(b){break oe}c=a;break ne}if((b|0)==1257){break ne}c=a+4|0;b=v[a+4>>2];if(!b){break ne}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[b+16>>2]=1257;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}v[299999]=0;Y(2695,b+20|0,324163,12)|0;a=v[299999];v[299999]=0;if((a|0)==1){break $d}c=1197588;pe:{a=v[299397];if(!a){a=1197588;break pe}while(1){b=v[a+16>>2];qe:{if((b|0)>=28605){b=v[a>>2];if(b){break qe}c=a;break pe}if((b|0)==28604){break pe}c=a+4|0;b=v[a+4>>2];if(!b){break pe}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[b+16>>2]=28604;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}v[299999]=0;Y(2695,b+20|0,326261,11)|0;a=v[299999];v[299999]=0;if((a|0)==1){break $d}c=1197588;re:{a=v[299397];if(!a){a=1197588;break re}while(1){b=v[a+16>>2];se:{if((b|0)>=28596){b=v[a>>2];if(b){break se}c=a;break re}if((b|0)==28595){break re}c=a+4|0;b=v[a+4>>2];if(!b){break re}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[b+16>>2]=28595;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}te:{if(t[b+31|0]<=-1){v[b+24>>2]=10;a=v[b+20>>2];break te}a=b+20|0;t[a+11|0]=10}c=w[325597]|w[325598]<<8;t[a+8|0]=c;t[a+9|0]=c>>>8;c=w[325593]|w[325594]<<8|(w[325595]<<16|w[325596]<<24);b=w[325589]|w[325590]<<8|(w[325591]<<16|w[325592]<<24);t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+10|0]=0;c=1197588;ue:{a=v[299397];if(!a){a=1197588;break ue}while(1){b=v[a+16>>2];ve:{if((b|0)>=20867){b=v[a>>2];if(b){break ve}c=a;break ue}if((b|0)==20866){break ue}c=a+4|0;b=v[a+4>>2];if(!b){break ue}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[b+16>>2]=20866;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}we:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break we}a=b+20|0;t[a+11|0]=6}c=w[311822]|w[311823]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[311818]|w[311819]<<8|(w[311820]<<16|w[311821]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1197588;xe:{a=v[299397];if(!a){a=1197588;break xe}while(1){b=v[a+16>>2];ye:{if((b|0)>=21867){b=v[a>>2];if(b){break ye}c=a;break xe}if((b|0)==21866){break xe}c=a+4|0;b=v[a+4>>2];if(!b){break xe}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[b+16>>2]=21866;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}ze:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break ze}a=b+20|0;t[a+11|0]=6}c=w[309806]|w[309807]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[309802]|w[309803]<<8|(w[309804]<<16|w[309805]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1197588;Ae:{a=v[299397];if(!a){a=1197588;break Ae}while(1){b=v[a+16>>2];Be:{if((b|0)>=10008){b=v[a>>2];if(b){break Be}c=a;break Ae}if((b|0)==10007){break Ae}c=a+4|0;b=v[a+4>>2];if(!b){break Ae}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[b+16>>2]=10007;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}v[299999]=0;Y(2695,b+20|0,296461,14)|0;a=v[299999];v[299999]=0;if((a|0)==1){break $d}c=1197588;Ce:{a=v[299397];if(!a){a=1197588;break Ce}while(1){b=v[a+16>>2];De:{if((b|0)>=856){b=v[a>>2];if(b){break De}c=a;break Ce}if((b|0)==855){break Ce}c=a+4|0;b=v[a+4>>2];if(!b){break Ce}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[b+16>>2]=855;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}Ee:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break Ee}a=b+20|0;t[a+11|0]=6}c=w[325363]|w[325364]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[325359]|w[325360]<<8|(w[325361]<<16|w[325362]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1197588;Fe:{a=v[299397];if(!a){a=1197588;break Fe}while(1){b=v[a+16>>2];Ge:{if((b|0)>=867){b=v[a>>2];if(b){break Ge}c=a;break Fe}if((b|0)==866){break Fe}c=a+4|0;b=v[a+4>>2];if(!b){break Fe}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[b+16>>2]=866;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}He:{if(t[b+31|0]<=-1){v[b+24>>2]=5;a=v[b+20>>2];break He}a=b+20|0;t[a+11|0]=5}t[a+4|0]=w[324641];c=w[324637]|w[324638]<<8|(w[324639]<<16|w[324640]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+5|0]=0;c=1197588;Ie:{a=v[299397];if(!a){a=1197588;break Ie}while(1){b=v[a+16>>2];Je:{if((b|0)>=1252){b=v[a>>2];if(b){break Je}c=a;break Ie}if((b|0)==1251){break Ie}c=a+4|0;b=v[a+4>>2];if(!b){break Ie}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[b+16>>2]=1251;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}v[299999]=0;Y(2695,b+20|0,334026,12)|0;a=v[299999];v[299999]=0;if((a|0)==1){break $d}c=1197588;Ke:{a=v[299397];if(!a){a=1197588;break Ke}while(1){b=v[a+16>>2];Le:{if((b|0)>=853){b=v[a>>2];if(b){break Le}c=a;break Ke}if((b|0)==852){break Ke}c=a+4|0;b=v[a+4>>2];if(!b){break Ke}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[b+16>>2]=852;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}Me:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break Me}a=b+20|0;t[a+11|0]=6}c=w[329581]|w[329582]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[329577]|w[329578]<<8|(w[329579]<<16|w[329580]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1197588;Ne:{a=v[299397];if(!a){a=1197588;break Ne}while(1){b=v[a+16>>2];Oe:{if((b|0)>=1251){b=v[a>>2];if(b){break Oe}c=a;break Ne}if((b|0)==1250){break Ne}c=a+4|0;b=v[a+4>>2];if(!b){break Ne}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[b+16>>2]=1250;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}v[299999]=0;Y(2695,b+20|0,334800,12)|0;a=v[299999];v[299999]=0;if((a|0)==1){break $d}c=1197588;Pe:{a=v[299397];if(!a){a=1197588;break Pe}while(1){b=v[a+16>>2];Qe:{if((b|0)>=951){b=v[a>>2];if(b){break Qe}c=a;break Pe}if((b|0)==950){break Pe}c=a+4|0;b=v[a+4>>2];if(!b){break Pe}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[b+16>>2]=950;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}Re:{if(t[b+31|0]<=-1){v[b+24>>2]=4;a=v[b+20>>2];break Re}a=b+20|0;t[a+11|0]=4}t[a+4|0]=0;t[a|0]=66;t[a+1|0]=105;t[a+2|0]=103;t[a+3|0]=53;c=1197588;Se:{a=v[299397];if(!a){a=1197588;break Se}while(1){b=v[a+16>>2];Te:{if((b|0)>=937){b=v[a>>2];if(b){break Te}c=a;break Se}if((b|0)==936){break Se}c=a+4|0;b=v[a+4>>2];if(!b){break Se}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[b+16>>2]=936;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}Ue:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break Ue}a=b+20|0;t[a+11|0]=6}c=w[329853]|w[329854]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[329849]|w[329850]<<8|(w[329851]<<16|w[329852]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1197588;Ve:{a=v[299397];if(!a){a=1197588;break Ve}while(1){b=v[a+16>>2];We:{if((b|0)>=28593){b=v[a>>2];if(b){break We}c=a;break Ve}if((b|0)==28592){break Ve}c=a+4|0;b=v[a+4>>2];if(!b){break Ve}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[b+16>>2]=28592;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}Xe:{if(t[b+31|0]<=-1){v[b+24>>2]=10;a=v[b+20>>2];break Xe}a=b+20|0;t[a+11|0]=10}c=w[329944]|w[329945]<<8;t[a+8|0]=c;t[a+9|0]=c>>>8;c=w[329940]|w[329941]<<8|(w[329942]<<16|w[329943]<<24);b=w[329936]|w[329937]<<8|(w[329938]<<16|w[329939]<<24);t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+10|0]=0;c=1197588;Ye:{a=v[299397];if(!a){a=1197588;break Ye}while(1){b=v[a+16>>2];Ze:{if((b|0)>=28598){b=v[a>>2];if(b){break Ze}c=a;break Ye}if((b|0)==28597){break Ye}c=a+4|0;b=v[a+4>>2];if(!b){break Ye}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[b+16>>2]=28597;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}_e:{if(t[b+31|0]<=-1){v[b+24>>2]=10;a=v[b+20>>2];break _e}a=b+20|0;t[a+11|0]=10}c=w[324435]|w[324436]<<8;t[a+8|0]=c;t[a+9|0]=c>>>8;c=w[324431]|w[324432]<<8|(w[324433]<<16|w[324434]<<24);b=w[324427]|w[324428]<<8|(w[324429]<<16|w[324430]<<24);t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+10|0]=0;c=1197588;$e:{a=v[299397];if(!a){a=1197588;break $e}while(1){b=v[a+16>>2];af:{if((b|0)>=738){b=v[a>>2];if(b){break af}c=a;break $e}if((b|0)==737){break $e}c=a+4|0;b=v[a+4>>2];if(!b){break $e}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[b+16>>2]=737;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}bf:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break bf}a=b+20|0;t[a+11|0]=6}c=w[324238]|w[324239]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[324234]|w[324235]<<8|(w[324236]<<16|w[324237]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1197588;cf:{a=v[299397];if(!a){a=1197588;break cf}while(1){b=v[a+16>>2];df:{if((b|0)>=870){b=v[a>>2];if(b){break df}c=a;break cf}if((b|0)==869){break cf}c=a+4|0;b=v[a+4>>2];if(!b){break cf}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[b+16>>2]=869;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}ef:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break ef}a=b+20|0;t[a+11|0]=6}c=w[323011]|w[323012]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[323007]|w[323008]<<8|(w[323009]<<16|w[323010]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1197588;ff:{a=v[299397];if(!a){a=1197588;break ff}while(1){b=v[a+16>>2];gf:{if((b|0)>=1254){b=v[a>>2];if(b){break gf}c=a;break ff}if((b|0)==1253){break ff}c=a+4|0;b=v[a+4>>2];if(!b){break ff}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[b+16>>2]=1253;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}v[299999]=0;Y(2695,b+20|0,328167,12)|0;a=v[299999];v[299999]=0;if((a|0)==1){break $d}c=1197588;hf:{a=v[299397];if(!a){a=1197588;break hf}while(1){b=v[a+16>>2];jf:{if((b|0)>=28599){b=v[a>>2];if(b){break jf}c=a;break hf}if((b|0)==28598){break hf}c=a+4|0;b=v[a+4>>2];if(!b){break hf}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[b+16>>2]=28598;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}kf:{if(t[b+31|0]<=-1){v[b+24>>2]=10;a=v[b+20>>2];break kf}a=b+20|0;t[a+11|0]=10}c=w[323872]|w[323873]<<8;t[a+8|0]=c;t[a+9|0]=c>>>8;c=w[323868]|w[323869]<<8|(w[323870]<<16|w[323871]<<24);b=w[323864]|w[323865]<<8|(w[323866]<<16|w[323867]<<24);t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+10|0]=0;c=1197588;lf:{a=v[299397];if(!a){a=1197588;break lf}while(1){b=v[a+16>>2];mf:{if((b|0)>=863){b=v[a>>2];if(b){break mf}c=a;break lf}if((b|0)==862){break lf}c=a+4|0;b=v[a+4>>2];if(!b){break lf}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[b+16>>2]=862;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}nf:{if(t[b+31|0]<=-1){v[b+24>>2]=7;a=v[b+20>>2];break nf}a=b+20|0;t[a+11|0]=7}c=w[329553]|w[329554]<<8|(w[329555]<<16|w[329556]<<24);t[a+3|0]=c;t[a+4|0]=c>>>8;t[a+5|0]=c>>>16;t[a+6|0]=c>>>24;c=w[329550]|w[329551]<<8|(w[329552]<<16|w[329553]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+7|0]=0;c=1197588;of:{a=v[299397];if(!a){a=1197588;break of}while(1){b=v[a+16>>2];pf:{if((b|0)>=1256){b=v[a>>2];if(b){break pf}c=a;break of}if((b|0)==1255){break of}c=a+4|0;b=v[a+4>>2];if(!b){break of}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[b+16>>2]=1255;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}v[299999]=0;Y(2695,b+20|0,325376,12)|0;a=v[299999];v[299999]=0;if((a|0)==1){break $d}c=1197588;qf:{a=v[299397];if(!a){a=1197588;break qf}while(1){b=v[a+16>>2];rf:{if((b|0)>=933){b=v[a>>2];if(b){break rf}c=a;break qf}if((b|0)==932){break qf}c=a+4|0;b=v[a+4>>2];if(!b){break qf}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[b+16>>2]=932;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}sf:{if(t[b+31|0]<=-1){v[b+24>>2]=9;a=v[b+20>>2];break sf}a=b+20|0;t[a+11|0]=9}t[a+8|0]=w[310721];c=w[310717]|w[310718]<<8|(w[310719]<<16|w[310720]<<24);b=w[310713]|w[310714]<<8|(w[310715]<<16|w[310716]<<24);t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+9|0]=0;c=1197588;tf:{a=v[299397];if(!a){a=1197588;break tf}while(1){b=v[a+16>>2];uf:{if((b|0)>=951){b=v[a>>2];if(b){break uf}c=a;break tf}if((b|0)==950){break tf}c=a+4|0;b=v[a+4>>2];if(!b){break tf}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[b+16>>2]=950;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}vf:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break vf}a=b+20|0;t[a+11|0]=6}c=w[311915]|w[311916]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[311911]|w[311912]<<8|(w[311913]<<16|w[311914]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1197588;wf:{a=v[299397];if(!a){a=1197588;break wf}while(1){b=v[a+16>>2];xf:{if((b|0)>=950){b=v[a>>2];if(b){break xf}c=a;break wf}if((b|0)==949){break wf}c=a+4|0;b=v[a+4>>2];if(!b){break wf}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[b+16>>2]=949;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}v[299999]=0;Y(2695,b+20|0,324034,14)|0;a=v[299999];v[299999]=0;if((a|0)==1){break $d}c=1197588;yf:{a=v[299397];if(!a){a=1197588;break yf}while(1){b=v[a+16>>2];zf:{if((b|0)>=51950){b=v[a>>2];if(b){break zf}c=a;break yf}if((b|0)==51949){break yf}c=a+4|0;b=v[a+4>>2];if(!b){break yf}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[b+16>>2]=51949;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}Af:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break Af}a=b+20|0;t[a+11|0]=6}c=w[311701]|w[311702]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[311697]|w[311698]<<8|(w[311699]<<16|w[311700]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1197588;Bf:{a=v[299397];if(!a){a=1197588;break Bf}while(1){b=v[a+16>>2];Cf:{if((b|0)>=862){b=v[a>>2];if(b){break Cf}c=a;break Bf}if((b|0)==861){break Bf}c=a+4|0;b=v[a+4>>2];if(!b){break Bf}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[b+16>>2]=861;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}Df:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break Df}a=b+20|0;t[a+11|0]=6}c=w[333979]|w[333980]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[333975]|w[333976]<<8|(w[333977]<<16|w[333978]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1197588;Ef:{a=v[299397];if(!a){a=1197588;break Ef}while(1){b=v[a+16>>2];Ff:{if((b|0)>=866){b=v[a>>2];if(b){break Ff}c=a;break Ef}if((b|0)==865){break Ef}c=a+4|0;b=v[a+4>>2];if(!b){break Ef}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[b+16>>2]=865;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}Gf:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break Gf}a=b+20|0;t[a+11|0]=6}c=w[325316]|w[325317]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[325312]|w[325313]<<8|(w[325314]<<16|w[325315]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1197588;Hf:{a=v[299397];if(!a){a=1197588;break Hf}while(1){b=v[a+16>>2];If:{if((b|0)>=875){b=v[a>>2];if(b){break If}c=a;break Hf}if((b|0)==874){break Hf}c=a+4|0;b=v[a+4>>2];if(!b){break Hf}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[b+16>>2]=874;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}v[299999]=0;Y(2695,b+20|0,325831,11)|0;a=v[299999];v[299999]=0;if((a|0)==1){break $d}c=1197588;Jf:{a=v[299397];if(!a){a=1197588;break Jf}while(1){b=v[a+16>>2];Kf:{if((b|0)>=28594){b=v[a>>2];if(b){break Kf}c=a;break Jf}if((b|0)==28593){break Jf}c=a+4|0;b=v[a+4>>2];if(!b){break Jf}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[b+16>>2]=28593;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}Lf:{if(t[b+31|0]<=-1){v[b+24>>2]=10;a=v[b+20>>2];break Lf}a=b+20|0;t[a+11|0]=10}c=w[328438]|w[328439]<<8;t[a+8|0]=c;t[a+9|0]=c>>>8;c=w[328434]|w[328435]<<8|(w[328436]<<16|w[328437]<<24);b=w[328430]|w[328431]<<8|(w[328432]<<16|w[328433]<<24);t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+10|0]=0;c=1197588;Mf:{a=v[299397];if(!a){a=1197588;break Mf}while(1){b=v[a+16>>2];Nf:{if((b|0)>=28600){b=v[a>>2];if(b){break Nf}c=a;break Mf}if((b|0)==28599){break Mf}c=a+4|0;b=v[a+4>>2];if(!b){break Mf}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[b+16>>2]=28599;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}Of:{if(t[b+31|0]<=-1){v[b+24>>2]=10;a=v[b+20>>2];break Of}a=b+20|0;t[a+11|0]=10}c=w[323287]|w[323288]<<8;t[a+8|0]=c;t[a+9|0]=c>>>8;c=w[323283]|w[323284]<<8|(w[323285]<<16|w[323286]<<24);b=w[323279]|w[323280]<<8|(w[323281]<<16|w[323282]<<24);t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+10|0]=0;c=1197588;Pf:{a=v[299397];if(!a){a=1197588;break Pf}while(1){b=v[a+16>>2];Qf:{if((b|0)>=858){b=v[a>>2];if(b){break Qf}c=a;break Pf}if((b|0)==857){break Pf}c=a+4|0;b=v[a+4>>2];if(!b){break Pf}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[b+16>>2]=857;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}Rf:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break Rf}a=b+20|0;t[a+11|0]=6}c=w[324150]|w[324151]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[324146]|w[324147]<<8|(w[324148]<<16|w[324149]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1197588;Sf:{a=v[299397];if(!a){a=1197588;break Sf}while(1){b=v[a+16>>2];Tf:{if((b|0)>=1255){b=v[a>>2];if(b){break Tf}c=a;break Sf}if((b|0)==1254){break Sf}c=a+4|0;b=v[a+4>>2];if(!b){break Sf}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[b+16>>2]=1254;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}v[299999]=0;Y(2695,b+20|0,325942,12)|0;a=v[299999];v[299999]=0;if((a|0)==1){break $d}c=1197588;Uf:{a=v[299397];if(!a){a=1197588;break Uf}while(1){b=v[a+16>>2];Vf:{if((b|0)>=28592){b=v[a>>2];if(b){break Vf}c=a;break Uf}if((b|0)==28591){break Uf}c=a+4|0;b=v[a+4>>2];if(!b){break Uf}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[b+16>>2]=28591;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}Wf:{if(t[b+31|0]<=-1){v[b+24>>2]=10;a=v[b+20>>2];break Wf}a=b+20|0;t[a+11|0]=10}c=w[334342]|w[334343]<<8;t[a+8|0]=c;t[a+9|0]=c>>>8;c=w[334338]|w[334339]<<8|(w[334340]<<16|w[334341]<<24);b=w[334334]|w[334335]<<8|(w[334336]<<16|w[334337]<<24);t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+10|0]=0;c=1197588;Xf:{a=v[299397];if(!a){a=1197588;break Xf}while(1){b=v[a+16>>2];Yf:{if((b|0)>=28606){b=v[a>>2];if(b){break Yf}c=a;break Xf}if((b|0)==28605){break Xf}c=a+4|0;b=v[a+4>>2];if(!b){break Xf}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[b+16>>2]=28605;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}v[299999]=0;Y(2695,b+20|0,325537,11)|0;a=v[299999];v[299999]=0;if((a|0)==1){break $d}c=1197588;Zf:{a=v[299397];if(!a){a=1197588;break Zf}while(1){b=v[a+16>>2];_f:{if((b|0)>=851){b=v[a>>2];if(b){break _f}c=a;break Zf}if((b|0)==850){break Zf}c=a+4|0;b=v[a+4>>2];if(!b){break Zf}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[b+16>>2]=850;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}$f:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break $f}a=b+20|0;t[a+11|0]=6}c=w[334779]|w[334780]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[334775]|w[334776]<<8|(w[334777]<<16|w[334778]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1197588;ag:{a=v[299397];if(!a){a=1197588;break ag}while(1){b=v[a+16>>2];bg:{if((b|0)>=859){b=v[a>>2];if(b){break bg}c=a;break ag}if((b|0)==858){break ag}c=a+4|0;b=v[a+4>>2];if(!b){break ag}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[b+16>>2]=858;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}cg:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break cg}a=b+20|0;t[a+11|0]=6}c=w[323568]|w[323569]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[323564]|w[323565]<<8|(w[323566]<<16|w[323567]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1197588;dg:{a=v[299397];if(!a){a=1197588;break dg}while(1){b=v[a+16>>2];eg:{if((b|0)>=861){b=v[a>>2];if(b){break eg}c=a;break dg}if((b|0)==860){break dg}c=a+4|0;b=v[a+4>>2];if(!b){break dg}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[b+16>>2]=860;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}fg:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break fg}a=b+20|0;t[a+11|0]=6}c=w[334741]|w[334742]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[334737]|w[334738]<<8|(w[334739]<<16|w[334740]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1197588;gg:{a=v[299397];if(!a){a=1197588;break gg}while(1){b=v[a+16>>2];hg:{if((b|0)>=864){b=v[a>>2];if(b){break hg}c=a;break gg}if((b|0)==863){break gg}c=a+4|0;b=v[a+4>>2];if(!b){break gg}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[b+16>>2]=863;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}ig:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break ig}a=b+20|0;t[a+11|0]=6}c=w[328135]|w[328136]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[328131]|w[328132]<<8|(w[328133]<<16|w[328134]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1197588;jg:{a=v[299397];if(!a){a=1197588;break jg}while(1){b=v[a+16>>2];kg:{if((b|0)>=438){b=v[a>>2];if(b){break kg}c=a;break jg}if((b|0)==437){break jg}c=a+4|0;b=v[a+4>>2];if(!b){break jg}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[b+16>>2]=437;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}lg:{if(t[b+31|0]<=-1){v[b+24>>2]=6;a=v[b+20>>2];break lg}a=b+20|0;t[a+11|0]=6}c=w[324245]|w[324246]<<8;t[a+4|0]=c;t[a+5|0]=c>>>8;c=w[324241]|w[324242]<<8|(w[324243]<<16|w[324244]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+6|0]=0;c=1197588;mg:{a=v[299397];if(!a){a=1197588;break mg}while(1){b=v[a+16>>2];ng:{if((b|0)>=1253){b=v[a>>2];if(b){break ng}c=a;break mg}if((b|0)==1252){break mg}c=a+4|0;b=v[a+4>>2];if(!b){break mg}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[b+16>>2]=1252;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}v[299999]=0;Y(2695,b+20|0,329612,12)|0;a=v[299999];v[299999]=0;if((a|0)==1){break $d}c=1197588;og:{a=v[299397];if(!a){a=1197588;break og}while(1){b=v[a+16>>2];pg:{if((b|0)>=1259){b=v[a>>2];if(b){break pg}c=a;break og}if((b|0)==1258){break og}c=a+4|0;b=v[a+4>>2];if(!b){break og}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[b+16>>2]=1258;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}v[299999]=0;Y(2695,b+20|0,323591,12)|0;a=v[299999];v[299999]=0;if((a|0)==1){break $d}c=1197588;qg:{a=v[299397];if(!a){a=1197588;break qg}while(1){b=v[a+16>>2];rg:{if((b|0)>=65002){b=v[a>>2];if(b){break rg}c=a;break qg}if((b|0)==65001){break qg}c=a+4|0;b=v[a+4>>2];if(!b){break qg}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[b+16>>2]=65001;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}sg:{if(t[b+31|0]<=-1){v[b+24>>2]=5;a=v[b+20>>2];break sg}a=b+20|0;t[a+11|0]=5}t[a+4|0]=w[323862];c=w[323858]|w[323859]<<8|(w[323860]<<16|w[323861]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+5|0]=0;c=1197588;tg:{a=v[299397];if(!a){a=1197588;break tg}while(1){b=v[a+16>>2];ug:{if((b|0)>=65001){b=v[a>>2];if(b){break ug}c=a;break tg}if((b|0)==65e3){break tg}c=a+4|0;b=v[a+4>>2];if(!b){break tg}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[b+16>>2]=65e3;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}vg:{if(t[b+31|0]<=-1){v[b+24>>2]=5;a=v[b+20>>2];break vg}a=b+20|0;t[a+11|0]=5}t[a+4|0]=w[324425];c=w[324421]|w[324422]<<8|(w[324423]<<16|w[324424]<<24);t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;t[a+5|0]=0;c=1197588;wg:{a=v[299397];if(!a){a=1197588;break wg}while(1){b=v[a+16>>2];xg:{if((b|0)>=1201){b=v[a>>2];if(b){break xg}c=a;break wg}if((b|0)==1200){break wg}c=a+4|0;b=v[a+4>>2];if(!b){break wg}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[b+16>>2]=1200;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}yg:{if(t[b+31|0]<=-1){v[b+24>>2]=8;a=v[b+20>>2];break yg}a=b+20|0;t[a+11|0]=8}t[a+8|0]=0;t[a|0]=85;t[a+1|0]=84;t[a+2|0]=70;t[a+3|0]=45;t[a+4|0]=49;t[a+5|0]=54;t[a+6|0]=76;t[a+7|0]=69;c=1197588;zg:{a=v[299397];if(!a){a=1197588;break zg}while(1){b=v[a+16>>2];Ag:{if((b|0)>=1202){b=v[a>>2];if(b){break Ag}c=a;break zg}if((b|0)==1201){break zg}c=a+4|0;b=v[a+4>>2];if(!b){break zg}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[b+16>>2]=1201;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}Bg:{if(t[b+31|0]<=-1){v[b+24>>2]=8;a=v[b+20>>2];break Bg}a=b+20|0;t[a+11|0]=8}t[a+8|0]=0;t[a|0]=85;t[a+1|0]=84;t[a+2|0]=70;t[a+3|0]=45;t[a+4|0]=49;t[a+5|0]=54;t[a+6|0]=66;t[a+7|0]=69;c=1197588;Cg:{a=v[299397];if(!a){a=1197588;break Cg}while(1){b=v[a+16>>2];Dg:{if((b|0)>=12001){b=v[a>>2];if(b){break Dg}c=a;break Cg}if((b|0)==12e3){break Cg}c=a+4|0;b=v[a+4>>2];if(!b){break Cg}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[b+16>>2]=12e3;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}Eg:{if(t[b+31|0]<=-1){v[b+24>>2]=8;a=v[b+20>>2];break Eg}a=b+20|0;t[a+11|0]=8}t[a+8|0]=0;t[a|0]=85;t[a+1|0]=84;t[a+2|0]=70;t[a+3|0]=45;t[a+4|0]=51;t[a+5|0]=50;t[a+6|0]=76;t[a+7|0]=69;c=1197588;Fg:{a=v[299397];if(!a){a=1197588;break Fg}while(1){b=v[a+16>>2];Gg:{if((b|0)>=12002){b=v[a>>2];if(b){break Gg}c=a;break Fg}if((b|0)==12001){break Fg}c=a+4|0;b=v[a+4>>2];if(!b){break Fg}a=c}c=a;a=b;continue}}b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $d}v[b+16>>2]=12001;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}Hg:{if(t[b+31|0]<=-1){v[b+24>>2]=8;a=v[b+20>>2];break Hg}a=b+20|0;t[a+11|0]=8}t[a+8|0]=0;t[a|0]=85;t[a+1|0]=84;t[a+2|0]=70;t[a+3|0]=45;t[a+4|0]=51;t[a+5|0]=50;t[a+6|0]=66;t[a+7|0]=69;c=1197588;Ig:{a=v[299397];if(!a){a=1197588;break Ig}while(1){b=v[a+16>>2];Jg:{if((b|0)>=10001){b=v[a>>2];if(b){break Jg}c=a;break Ig}if((b|0)==1e4){break Ig}c=a+4|0;b=v[a+4>>2];if(!b){break Ig}a=c}c=a;a=b;continue}}Kg:{b=v[c>>2];if(!b){v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Kg}v[b+16>>2]=1e4;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[c>>2]=b;a=v[v[299396]>>2];if(a){v[299396]=a;a=v[c>>2]}else{a=b}Uc(v[299397],a);v[299398]=v[299398]+1}if(t[b+31|0]>-1){break _d}v[b+24>>2]=9;a=v[b+20>>2];break Zd}}a=P()|0;O()|0;os(1197584,v[299397]);T(a|0);L()}a=b+20|0;t[a+11|0]=9}t[a+8|0]=w[269743];c=w[269739]|w[269740]<<8|(w[269741]<<16|w[269742]<<24);b=w[269735]|w[269736]<<8|(w[269737]<<16|w[269738]<<24);t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+9|0]=0;t[1197596]=0;t[1197607]=0;return}T(b|0);L()}W(0)|0;O()|0;lc();L()}function Mz(a,b,c){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,p=0,q=0,r=0,s=0,E=0,F=0,G=0,I=0,J=0,K=0,M=0,N=0,P=0,T=0,W=0,$=0,aa=0,ba=0,da=0,ea=C(0),fa=0,ga=0,ha=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=C(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=C(0);if(!b){b=w[1716]|w[1717]<<8;t[a+88|0]=b;t[a+89|0]=b>>>8;c=w[1712]|w[1713]<<8|(w[1714]<<16|w[1715]<<24);b=w[1708]|w[1709]<<8|(w[1710]<<16|w[1711]<<24);t[a+80|0]=b;t[a+81|0]=b>>>8;t[a+82|0]=b>>>16;t[a+83|0]=b>>>24;t[a+84|0]=c;t[a+85|0]=c>>>8;t[a+86|0]=c>>>16;t[a+87|0]=c>>>24;c=w[1704]|w[1705]<<8|(w[1706]<<16|w[1707]<<24);b=w[1700]|w[1701]<<8|(w[1702]<<16|w[1703]<<24);t[a+72|0]=b;t[a+73|0]=b>>>8;t[a+74|0]=b>>>16;t[a+75|0]=b>>>24;t[a+76|0]=c;t[a+77|0]=c>>>8;t[a+78|0]=c>>>16;t[a+79|0]=c>>>24;return 0}sa=Ub[v[v[b>>2]+24>>2]](b)|0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{if(c>>>0<=1){h=fc(976);fa=gf(h,1);v[h>>2]=39340;lh(fa,a);o=Qb-112|0;Qb=o;d=0;z:{if(!b){break z}n=Ub[v[v[b>>2]+24>>2]](b)|0;A:{B:{C:{D:{E:{if(!(Ub[v[v[b>>2]+12>>2]](b,o+96|0,14,1,0,0)|0)){Xc(h+72|0,2930,255);break E}d=ej(h,x[o+98>>1]|x[o+100>>1]<<16);u[o+98>>1]=d;u[o+100>>1]=d>>>16;d=ej(h,x[o+106>>1]|x[o+108>>1]<<16);u[o+106>>1]=d;u[o+108>>1]=d>>>16;d=u[o+96>>1];if(((w[h+494|0]?d:d<<8|(d&65280)>>>8)&65535)!=19778){u[o+106>>1]=0;u[o+108>>1]=0;Ub[v[v[b>>2]+20>>2]](b,n,0)|0}g=o+56|0;F:{if(!b|!g){break F}if(!(Ub[v[v[b>>2]+12>>2]](b,g,40,1,0,0)|0)){break F}fp(h,g);d=b;G:{H:{I:{J:{i=w[g|0]|w[g+1|0]<<8|(w[g+2|0]<<16|w[g+3|0]<<24);if((i|0)<=63){if((i|0)==12){break J}if((i|0)==40){break G}break I}f=24;if((i|0)==64){break H}if((i|0)!=124){break I}f=84;break H}t[g+16|0]=0;t[g+17|0]=0;t[g+18|0]=0;t[g+19|0]=0;t[g+20|0]=0;t[g+21|0]=0;t[g+22|0]=0;t[g+23|0]=0;e=w[g+8|0]|w[g+9|0]<<8|(w[g+10|0]<<16|w[g+11|0]<<24);t[g+12|0]=e;t[g+13|0]=e>>>8;t[g+14|0]=e>>>16;t[g+15|0]=e>>>24;e=w[g+6|0]|w[g+7|0]<<8;t[g+8|0]=e;t[g+9|0]=e>>>8;t[g+10|0]=e>>>16;t[g+11|0]=e>>>24;e=w[g+4|0]|w[g+5|0]<<8;t[g+4|0]=e;t[g+5|0]=e>>>8;t[g+6|0]=e>>>16;t[g+7|0]=e>>>24;t[g+24|0]=0;t[g+25|0]=0;t[g+26|0]=0;t[g+27|0]=0;t[g+28|0]=0;t[g+29|0]=0;t[g+30|0]=0;t[g+31|0]=0;t[g+32|0]=0;t[g+33|0]=0;t[g+34|0]=0;t[g+35|0]=0;t[g+36|0]=0;t[g+37|0]=0;t[g+38|0]=0;t[g+39|0]=0;f=-28;break H}if(i>>>0<41|(w[g+20|0]|w[g+21|0]<<8|(w[g+22|0]<<16|w[g+23|0]<<24))>>>0>>0|(w[g+32|0]|w[g+33|0]<<8|(w[g+34|0]<<16|w[g+35|0]<<24)|(w[g+12|0]|w[g+13|0]<<8)!=1)){break F}if(w[g+16|0]|w[g+17|0]<<8|(w[g+18|0]<<16|w[g+19|0]<<24)){break G}f=i-40|0}Ub[v[v[b>>2]+20>>2]](d,f,1)|0}if(!(w[g+20|0]|w[g+21|0]<<8|(w[g+22|0]<<16|w[g+23|0]<<24))){d=B(B(w[g+4|0]|w[g+5|0]<<8|(w[g+6|0]<<16|w[g+7|0]<<24),w[g+14|0]|w[g+15|0]<<8)+31>>>3&536870908,w[g+8|0]|w[g+9|0]<<8|(w[g+10|0]<<16|w[g+11|0]<<24));t[g+20|0]=d;t[g+21|0]=d>>>8;t[g+22|0]=d>>>16;t[g+23|0]=d>>>24}e=1;if(w[g+32|0]|w[g+33|0]<<8|(w[g+34|0]<<16|w[g+35|0]<<24)){break F}d=w[g+14|0]|w[g+15|0]<<8;d=d>>>0<9?1<>>8;t[g+34|0]=d>>>16;t[g+35|0]=d>>>24}if(!e){Xc(h+72|0,5464,255);break E}m=v[o+64>>2];e=m;if((e|0)<=-1){e=0-m|0;v[o+64>>2]=e}d=v[o+60>>2];if(v[h+332>>2]==-1){v[h+68>>2]=1;v[h+20>>2]=e;v[h+16>>2]=d;Xc(h+72|0,10331,255);break E}f=v[o+56>>2];p=v[o+72>>2];i=x[o+70>>1];if(!Zf(h,d,e,i,1)){break E}d=h;da=H(+v[o+80>>2]*254/1e4+.5);K:{if(D(da)<2147483648){e=~~da;break K}e=-2147483648}Mk(d,e);d=h;da=H(+v[o+84>>2]*254/1e4+.5);L:{if(D(da)<2147483648){e=~~da;break L}e=-2147483648}Cn(d,e);if(v[h+332>>2]){Xc(h+72|0,13635,255);break E}d=v[h+4>>2];j=d?v[h+44>>2]?d+40|0:0:0;M:{if(!j){break M}e=v[o+88>>2];d=x[o+70>>1];d=e?e:d>>>0<9?1<>2]+12>>2]](b,j,B(d,3),1,v[h+4>>2],v[h+8>>2])|0;d=v[h+44>>2];N:{if(!d){d=x[h+26>>1];if(d>>>0>8){break M}d=1<1;d=e;if(f){continue}break}break M}Ub[v[v[b>>2]+12>>2]](b,j,d<<2,1,v[h+4>>2],v[h+8>>2])|0;e=v[h+44>>2];if(!e){break M}g=e&7;d=0;if(e-1>>>0>=7){K=e&-8;while(1){e=d<<2;t[(e+j|0)+3|0]=0;t[(j+(e|4)|0)+3|0]=0;t[(j+(e|8)|0)+3|0]=0;t[(j+(e|12)|0)+3|0]=0;t[(j+(e|16)|0)+3|0]=0;t[(j+(e|20)|0)+3|0]=0;t[(j+(e|24)|0)+3|0]=0;t[(j+(e|28)|0)+3|0]=0;d=d+8|0;K=K-8|0;if(K){continue}break}}if(!g){break M}while(1){t[(j+(d<<2)|0)+3|0]=0;d=d+1|0;g=g-1|0;if(g){continue}break}}if(v[h+332>>2]){Xc(h+72|0,13635,255);break E}O:{P:{Q:{R:{switch(i-1|0){case 31:S:{if((p|0)==3){Ub[v[v[b>>2]+12>>2]](b,o+44|0,12,1,0,0)|0;break S}v[o+52>>2]=255;v[o+44>>2]=16711680;v[o+48>>2]=65280}d=x[o+106>>1]|x[o+108>>1]<<16;if(d){Ub[v[v[b>>2]+20>>2]](b,d+n|0,0)|0}T:{switch(p|0){case 0:case 3:d=B(v[h+20>>2],v[h+16>>2])<<2;j=jc(d);if(!j){break Q}Ub[v[v[b>>2]+12>>2]](b,j,d,1,0,0)|0;U:{if(p){break U}si(h);if(!v[h+964>>2]){break U}k=v[h+20>>2];V:{if((k|0)<1){break V}g=v[h+16>>2];if((g|0)<=0){break V}n=j+3|0;d=0;i=0;while(1){if((g|0)>=1){k=n+(B(d,g)<<2)|0;e=0;while(1){f=w[k|0];gh(h,e,d,f);k=k+4|0;i=(f|0)!=0|i;e=e+1|0;g=v[h+16>>2];if((e|0)<(g|0)){continue}break}k=v[h+20>>2]}d=d+1|0;if((k|0)>(d|0)){continue}break}if(i&1){break U}}i=v[h+964>>2];W:{if(!i){break W}d=B(v[h+16>>2],v[h+20>>2]);if((d|0)<1){break W}e=d&3;if(d-1>>>0>=3){d=d&-4;while(1){t[i|0]=w[i|0]^-1;t[i+1|0]=w[i+1|0]^-1;t[i+2|0]=w[i+2|0]^-1;t[i+3|0]=w[i+3|0]^-1;i=i+4|0;d=d-4|0;if(d){continue}break}}if(!e){break W}while(1){t[i|0]=w[i|0]^-1;i=i+1|0;e=e-1|0;if(e){continue}break}}}$N(h,j,v[o+44>>2],v[o+48>>2],v[o+52>>2],32);dc(j);if((m|0)<0){break B}break A;default:break T}}Xc(h+72|0,18132,255);break E;case 23:d=x[o+106>>1]|x[o+108>>1]<<16;if(d){Ub[v[v[b>>2]+20>>2]](b,d+n|0,0)|0}if(!p){Ub[v[v[b>>2]+12>>2]](b,v[h+56>>2],v[h+32>>2],1,v[h+4>>2],v[h+8>>2])|0;break C}Xc(h+72|0,18132,255);break E;case 15:X:{if((p|0)==3){Ub[v[v[b>>2]+12>>2]](b,o+16|0,12,1,0,0)|0;break X}v[o+24>>2]=31;v[o+16>>2]=31744;v[o+20>>2]=992}d=x[o+106>>1]|x[o+108>>1]<<16;if(d){Ub[v[v[b>>2]+20>>2]](b,d+n|0,0)|0}Ub[v[v[b>>2]+12>>2]](b,v[h+56>>2],B(v[h+20>>2],(v[h+16>>2]+1|0)/2|0)<<2,1,v[h+4>>2],v[h+8>>2])|0;$N(h,v[h+56>>2],v[o+16>>2],v[o+20>>2],v[o+24>>2],16);break C;case 0:case 3:case 7:break R;default:break C}}d=x[o+106>>1]|x[o+108>>1]<<16;Y:{if(!d){break Y}d=d+n|0;if(d>>>0>2]){break Y}Ub[v[v[b>>2]+20>>2]](b,d,0)|0}Z:{switch(p|0){case 1:break D;case 0:break P;case 2:break Z;default:break O}}t[o+43|0]=0;t[o+42|0]=0;v[o+36>>2]=h;d=xe(h,0);v[o+24>>2]=0;v[o+28>>2]=0;v[o+16>>2]=0;v[o+20>>2]=0;v[o+32>>2]=d;if(!(Ub[v[v[b>>2]+12>>2]](b,o+43|0,1,1,0,0)|0)){break C}g=0;e=0;while(1){_:{$:{if(!w[o+43|0]){Ub[v[v[b>>2]+12>>2]](b,o+43|0,1,1,0,0)|0;aa:{switch(w[o+43|0]){case 0:k=k+1|0;g=0;e=0;break _;case 2:Ub[v[v[b>>2]+12>>2]](b,o+15|0,1,1,0,0)|0;Ub[v[v[b>>2]+12>>2]](b,o+14|0,1,1,0,0)|0;k=w[o+14|0]+k|0;g=(w[o+15|0]>>>1|0)+g|0;break _;case 1:break C;default:break aa}}i=0;Ub[v[v[b>>2]+12>>2]](b,o+42|0,1,1,0,0)|0;f=SA(o+16|0,k);if(!w[o+43|0]){break _}while(1){ba:{ca:{da:{j=f+g|0;if(j>>>0>=v[h+56>>2]+v[h+32>>2]>>>0){d=i&1;break da}d=i&1;n=w[o+42|0];if(e){t[j|0]=w[j|0]|(d?n&15:(n&240)>>>4|0);g=g+1|0;break da}if(d){t[j|0]=n<<4;break ca}t[j|0]=n&240;break ba}if(!d){break ba}}if((w[o+43|0]-1|0)==(i|0)){break ba}Ub[v[v[b>>2]+12>>2]](b,o+42|0,1,1,0,0)|0}e=!e;i=i+1|0;d=w[o+43|0];if(i>>>0>>0){continue}break}break $}d=SA(o+16|0,k);i=0;Ub[v[v[b>>2]+12>>2]](b,o+42|0,1,1,0,0)|0;if(!w[o+43|0]){break _}while(1){j=d+g|0;ea:{if(j>>>0>=v[h+56>>2]+v[h+32>>2]>>>0){break ea}f=i&1;n=w[o+42|0];if(e){t[j|0]=w[j|0]|(f?n&15:(n&240)>>>4|0);g=g+1|0;break ea}if(f){t[j|0]=n<<4;break ea}t[j|0]=n&240}e=!e;i=i+1|0;if(i>>>0>2]+12>>2]](b,o+42|0,1,1,0,0)|0}if(Ub[v[v[b>>2]+12>>2]](b,o+43|0,1,1,0,0)|0){continue}break}break C}Xc(h+72|0,15133,255);break E}Ub[v[v[b>>2]+12>>2]](b,v[h+56>>2],v[h+32>>2],1,v[h+4>>2],v[h+8>>2])|0;break C}Xc(h+72|0,20878,255)}d=v[h+332>>2]==-1&v[h+68>>2]==1;break z}g=0;t[o+43|0]=0;t[o+42|0]=0;v[o+36>>2]=h;d=xe(h,0);v[o+24>>2]=0;v[o+28>>2]=0;v[o+16>>2]=0;v[o+20>>2]=0;v[o+32>>2]=d;if(!(Ub[v[v[b>>2]+12>>2]](b,o+43|0,1,1,0,0)|0)){break C}e=0;while(1){fa:{if(!w[o+43|0]){Ub[v[v[b>>2]+12>>2]](b,o+43|0,1,1,0,0)|0;ga:{switch(w[o+43|0]){case 0:g=g+1|0;e=0;break fa;case 2:Ub[v[v[b>>2]+12>>2]](b,o+15|0,1,1,0,0)|0;Ub[v[v[b>>2]+12>>2]](b,o+14|0,1,1,0,0)|0;g=w[o+14|0]+g|0;e=w[o+15|0]+e|0;break fa;case 1:break C;default:break ga}}Da=b,Ea=SA(o+16|0,g)+e|0,Fa=w[o+43|0],Ga=1,Ha=v[h+4>>2],Ia=v[h+8>>2],Ca=v[v[b>>2]+12>>2],Ub[Ca](Da|0,Ea|0,Fa|0,Ga|0,Ha|0,Ia|0)|0;d=w[o+43|0];if(d&1){Ub[v[v[b>>2]+12>>2]](b,o+42|0,1,1,0,0)|0;d=w[o+43|0]}e=(d&255)+e|0;break fa}f=SA(o+16|0,g);i=0;Ub[v[v[b>>2]+12>>2]](b,o+42|0,1,1,0,0)|0;if(!w[o+43|0]){break fa}while(1){d=e+f|0;if(d>>>0>=v[h+56>>2]+v[h+32>>2]>>>0){break fa}t[d|0]=w[o+42|0];e=e+1|0;i=i+1|0;if(i>>>0>2]+12>>2]](b,o+43|0,1,1,0,0)|0){continue}break}}if((m|0)>-1){break A}}RA(h);d=1;break z}d=1}Qb=o+112|0;if(!d){break y}break b}switch(c-3|0){case 2:break w;case 0:break x;default:break v}}ce(a+72|0,fa+72|0);Ub[v[v[b>>2]+20>>2]](b,sa,0)|0;Ub[v[v[h>>2]+4>>2]](h);if(c){break c}}fa=fc(1e3);h=AK(fa);lh(h,a);F=Qb-848|0;Qb=F;k=jc(40);v[k>>2]=0;v[299999]=0;K=S(1,516)|0;d=v[299999];v[299999]=0;f=-1;m=4;ha:{ia:{ja:{if(!d){break ja}g=v[3e5];if(!g){break ja}f=sc(v[d>>2],k,4);if(!f){break ia}_(g|0)}d=O()|0;ka:{if((f|0)==1){break ka}v[299999]=0;Q(2,K|0,h+496|0)|0;d=v[299999];v[299999]=0;f=-1;la:{if(!d){break la}g=v[3e5];if(!g){break la}f=sc(v[d>>2],k,4);if(!f){break ia}_(g|0)}d=O()|0;if((f|0)==1){break ka}v[h+976>>2]=K;d=v[v[b>>2]+24>>2];v[299999]=0;K=S(d|0,b|0)|0;d=v[299999];v[299999]=0;f=-1;ma:{if(!d){break ma}g=v[3e5];if(!g){break ma}f=sc(v[d>>2],k,4);if(!f){break ia}_(g|0)}d=O()|0;if((f|0)==1){break ka}d=v[h+976>>2];v[299999]=0;Y(3,d|0,b|0,1)|0;d=v[299999];v[299999]=0;f=-1;na:{if(!d){break na}g=v[3e5];if(!g){break na}f=sc(v[d>>2],k,4);if(!f){break ia}_(g|0)}d=O()|0;if((f|0)==1){break ka}d=v[v[b>>2]+20>>2];v[299999]=0;Y(d|0,b|0,K|0,0)|0;d=v[299999];v[299999]=0;f=-1;oa:{if(!d){break oa}g=v[3e5];if(!g){break oa}f=sc(v[d>>2],k,4);if(!f){break ia}_(g|0)}d=O()|0;if((f|0)==1){break ka}K=w[v[v[h+976>>2]>>2]+460|0];v[299999]=0;xe(h,0);d=v[299999];v[299999]=0;f=-1;pa:{if(!d){break pa}g=v[3e5];if(!g){break pa}f=sc(v[d>>2],k,4);if(!f){break ia}_(g|0)}$=!K;d=O()|0;if((f|0)==1){break ka}v[299999]=0;v[F+352>>2]=h+72;K=Ko(F- -64|0);d=v[299999];v[299999]=0;f=-1;qa:{if(!d){break qa}g=v[3e5];if(!g){break qa}f=sc(v[d>>2],k,4);if(!f){break ia}_(g|0)}d=O()|0;if((f|0)==1){break ka}v[F+64>>2]=6;v[F+360>>2]=K;v[F+44>>2]=7;v[F+40>>2]=8;v[F+36>>2]=9;v[F+32>>2]=10;v[F+28>>2]=11;v[299999]=0;v[F+16>>2]=12;v[F+12>>2]=13;v[F+8>>2]=14;v[F+48>>2]=b;v[F+20>>2]=0;v[F+24>>2]=0;e=S(15,4096)|0;d=v[299999];v[299999]=0;f=-1;ra:{if(!d){break ra}g=v[3e5];if(!g){break ra}f=sc(v[d>>2],k,4);if(!f){break ia}_(g|0)}d=O()|0;if((f|0)==1){break ka}v[F+52>>2]=e;K=F+52|0;ba=F+196|0;k=Ue(ba,1,k,4);m=O()|0;d=0}sa:while(1){i=d;ta:{ua:{if(d){break ua}v[299999]=0;U(16,F+360|0,80,488);d=v[299999];v[299999]=0;f=-1;va:{if(!d){break va}g=v[3e5];if(!g){break va}f=sc(v[d>>2],k,m);if(!f){break ia}_(g|0)}d=O()|0;if((f|0)==1){continue}v[299999]=0;v[F+384>>2]=F+20;Q(17,F+360|0,1)|0;d=v[299999];v[299999]=0;f=-1;wa:{if(!d){break wa}g=v[3e5];if(!g){break wa}f=sc(v[d>>2],k,m);if(!f){break ia}_(g|0)}d=O()|0;if((f|0)==1){continue}v[299999]=0;f=Fm(h,3);d=v[299999];v[299999]=0;j=-1;xa:{if(!d){break xa}g=v[3e5];if(!g){break xa}j=sc(v[d>>2],k,m);if(!j){break ia}_(g|0)}d=O()|0;if((j|0)==1){continue}if(f&128){v[F+404>>2]=1}if(f&256){v[299999]=0;v[F+444>>2]=1;ea=C(z[h+344>>2]+C(.5));ya:{if(ea=C(0)){e=~~ea>>>0;break ya}e=0}d=v[299999];v[299999]=0;j=-1;za:{if(!d){break za}g=v[3e5];if(!g){break za}j=sc(v[d>>2],k,m);if(!j){break ia}_(g|0)}d=O()|0;if((j|0)==1){continue}v[F+456>>2]=e}if(f&512){v[F+448>>2]=v[h+996>>2]}if(f&1024){v[F+452>>2]=0}if(f&2048){v[F+436>>2]=0}v[299999]=0;v[F+408>>2]=1;e=w[h+348|0];d=v[299999];v[299999]=0;f=-1;Aa:{if(!d){break Aa}g=v[3e5];if(!g){break Aa}f=sc(v[d>>2],k,m);if(!f){break ia}_(g|0)}d=O()|0;if((f|0)==1){continue}v[F+412>>2]=e;f=-1;if(v[h+332>>2]==-1){v[299999]=0;R(21,F+360|0);d=v[299999];v[299999]=0;Ba:{if(!d){break Ba}g=v[3e5];if(!g){break Ba}f=sc(v[d>>2],k,m);if(!f){break ia}_(g|0)}d=O()|0;if((f|0)==1){continue}v[h+16>>2]=v[F+472>>2];d=v[F+476>>2];v[h+68>>2]=3;v[h+20>>2]=d;break ua}v[299999]=0;S(22,F+360|0)|0;d=v[299999];v[299999]=0;Ca:{if(!d){break Ca}g=v[3e5];if(!g){break Ca}f=sc(v[d>>2],k,m);if(!f){break ia}_(g|0)}d=O()|0;if((f|0)==1){continue}v[299999]=0;ca(23,h|0,v[F+472>>2],v[F+476>>2],v[F+484>>2]<<3,3)|0;d=v[299999];v[299999]=0;f=-1;Da:{if(!d){break Da}g=v[3e5];if(!g){break Da}f=sc(v[d>>2],k,m);if(!f){break ia}_(g|0)}d=O()|0;if((f|0)==1){continue}if(!v[h+4>>2]){v[299999]=0;V(24,ba|0,1);d=v[299999];v[299999]=0;Ea:{if(!d){break Ea}g=v[3e5];if(!g){break Ea}if(!sc(v[d>>2],k,m)){break ia}_(g|0)}d=O()|0;continue}Fa:{Ga:{if(!$){ua=z[h+676>>2];Ha:{if(ua==C(0)){break Ha}ea=z[h+684>>2];if(ea==C(0)){break Ha}v[299999]=0;d=h;ea=C(ua/ea);Ia:{if(C(D(ea))>2],k,m);if(!f){break ia}_(g|0)}d=O()|0;if((f|0)==1){continue}}ua=z[h+680>>2];if(ua==C(0)){break Fa}ea=z[h+684>>2];if(ea==C(0)){break Fa}ea=C(ua/ea);if(C(D(ea))>1]|!x[F+652>>1]){break Fa}v[299999]=0;e=v[h+364>>2];d=v[299999];v[299999]=0;f=-1;La:{if(!d){break La}g=v[3e5];if(!g){break La}f=sc(v[d>>2],k,m);if(!f){break ia}_(g|0)}d=O()|0;if((f|0)==1){continue}ea=C(C(C(x[F+654>>1])/C(x[F+652>>1]))*C(e|0));if(C(D(ea))>1]*2.54+.5);Ma:{if(D(da)<2147483648){e=~~da;break Ma}e=-2147483648}Mk(d,e);d=v[299999];v[299999]=0;f=-1;Na:{if(!d){break Na}g=v[3e5];if(!g){break Na}f=sc(v[d>>2],k,m);if(!f){break ia}_(g|0)}d=O()|0;if((f|0)==1){continue}da=H(+x[F+654>>1]*2.54+.5);if(D(da)<2147483648){d=~~da;break Ga}d=-2147483648;break Ga;default:break Ka}}v[299999]=0;Mk(h,x[F+652>>1]);d=v[299999];v[299999]=0;f=-1;Oa:{if(!d){break Oa}g=v[3e5];if(!g){break Oa}f=sc(v[d>>2],k,m);if(!f){break ia}_(g|0)}d=O()|0;if((f|0)==1){continue}d=x[F+654>>1]}v[299999]=0;Cn(h,d);d=v[299999];v[299999]=0;f=-1;Pa:{if(!d){break Pa}g=v[3e5];if(!g){break Pa}f=sc(v[d>>2],k,m);if(!f){break ia}_(g|0)}d=O()|0;if((f|0)==1){continue}}e=h;Qa:{if(v[F+404>>2]==1){v[299999]=0;Eq(h);d=v[299999];v[299999]=0;f=-1;Ra:{if(!d){break Ra}g=v[3e5];if(!g){break Ra}f=sc(v[d>>2],k,m);if(!f){break ia}_(g|0)}d=O()|0;if((f|0)==1){continue}d=256;break Qa}d=0;if(!v[F+444>>2]){break Qa}d=v[F+496>>2];g=v[d+8>>2];f=v[d+4>>2];d=v[d>>2];v[299999]=0;JJ(h,v[F+492>>2],d,f,g);d=v[299999];v[299999]=0;f=-1;Sa:{if(!d){break Sa}g=v[3e5];if(!g){break Sa}f=sc(v[d>>2],k,m);if(!f){break ia}_(g|0)}d=O()|0;if((f|0)==1){continue}d=v[F+492>>2]}v[e+44>>2]=d;d=v[v[F+364>>2]+8>>2];v[299999]=0;M=B(v[F+484>>2],v[F+472>>2]);r=Z(d|0,F+360|0,1,M|0,1)|0;d=v[299999];v[299999]=0;f=-1;Ta:{if(!d){break Ta}g=v[3e5];if(!g){break Ta}f=sc(v[d>>2],k,m);if(!f){break ia}_(g|0)}d=O()|0;if((f|0)==1){continue}v[299999]=0;p=v[h+20>>2];d=v[299999];v[299999]=0;f=-1;Ua:{if(!d){break Ua}g=v[3e5];if(!g){break Ua}f=sc(v[d>>2],k,m);if(!f){break ia}_(g|0)}d=O()|0;if((f|0)==1){continue}v[299999]=0;j=xe(h,0);d=v[299999];v[299999]=0;f=-1;Va:{if(!d){break Va}g=v[3e5];if(!g){break Va}f=sc(v[d>>2],k,m);if(!f){break ia}_(g|0)}d=O()|0;if((f|0)==1){continue}v[299999]=0;n=v[h+52>>2];d=v[299999];v[299999]=0;f=-1;Wa:{if(!d){break Wa}g=v[3e5];if(!g){break Wa}f=sc(v[d>>2],k,m);if(!f){break ia}_(g|0)}d=O()|0;if((f|0)==1){continue}v[299999]=0;e=v[h+20>>2];d=v[299999];v[299999]=0;f=-1;Xa:{if(!d){break Xa}g=v[3e5];if(!g){break Xa}f=sc(v[d>>2],k,m);if(!f){break ia}_(g|0)}d=O()|0;if((f|0)==1){continue}q=-1;Ya:{if(y[F+500>>2]>=y[F+476>>2]){break Ya}o=p-1|0;E=j+B(n,e-1|0)|0;if((M|0)<=0){while(1){if(v[h+332>>2]){break ta}v[299999]=0;Y(32,F+360|0,r|0,1)|0;d=v[299999];v[299999]=0;f=-1;Za:{if(!d){break Za}g=v[3e5];if(!g){break Za}f=sc(v[d>>2],k,m);if(!f){break ia}_(g|0)}d=O()|0;if((f|0)==1){continue sa}_a:{if(v[F+444>>2]?0:v[F+396>>2]==4){break _a}e=v[r>>2];v[299999]=0;f=v[h+52>>2];d=v[299999];v[299999]=0;j=-1;$a:{if(!d){break $a}g=v[3e5];if(!g){break $a}j=sc(v[d>>2],k,m);if(!j){break ia}_(g|0)}d=O()|0;if((j|0)==1){continue sa}if(!E|!e){break _a}d=(M|0)<0?f:(f|0)<(M|0)?f:M;if((d|0)<1){break _a}gc(E,e,d)}if((o|0)>=1){v[299999]=0;e=v[h+52>>2];d=v[299999];v[299999]=0;f=-1;ab:{if(!d){break ab}g=v[3e5];if(!g){break ab}f=sc(v[d>>2],k,m);if(!f){break ia}_(g|0)}d=O()|0;if((f|0)==1){continue sa}E=E-e|0}o=o-1|0;if(y[F+500>>2]>2]){continue}break Ya}}while(1){if(v[h+332>>2]){break ta}v[299999]=0;Y(32,F+360|0,r|0,1)|0;d=v[299999];v[299999]=0;f=-1;bb:{if(!d){break bb}g=v[3e5];if(!g){break bb}f=sc(v[d>>2],k,m);if(!f){break ia}_(g|0)}d=O()|0;if((f|0)==1){continue sa}j=v[r>>2];cb:{if(!(v[F+444>>2]|v[F+396>>2]!=4)){d=0;g=0;if(v[h+52>>2]<1){break cb}while(1){f=g+E|0;e=w[j+(d|3)|0];t[f|0]=(B(e,w[j+(d|2)|0])>>>0)/255;t[f+1|0]=(B(e,w[j+(d|1)|0])>>>0)/255;t[f+2|0]=(B(e,w[d+j|0])>>>0)/255;g=g+3|0;if((g|0)>=v[h+52>>2]){break cb}d=d+4|0;if((M|0)>(d|0)){continue}break}break cb}v[299999]=0;e=v[h+52>>2];d=v[299999];v[299999]=0;n=-1;db:{if(!d){break db}g=v[3e5];if(!g){break db}n=sc(v[d>>2],k,m);if(!n){break ia}_(g|0)}d=O()|0;if((n|0)==1){continue sa}if(!E|!j){break cb}d=(M|0)<0?e:(e|0)<(M|0)?e:M;if((d|0)<1){break cb}gc(E,j,d)}if((o|0)>=1){v[299999]=0;e=v[h+52>>2];d=v[299999];v[299999]=0;f=-1;eb:{if(!d){break eb}g=v[3e5];if(!g){break eb}f=sc(v[d>>2],k,m);if(!f){break ia}_(g|0)}d=O()|0;if((f|0)==1){continue sa}E=E-e|0}o=o-1|0;if(y[F+500>>2]>2]){continue}break}}v[299999]=0;S(33,F+360|0)|0;d=v[299999];v[299999]=0;fb:{if(!d){break fb}g=v[3e5];if(!g){break fb}q=sc(v[d>>2],k,m);if(!q){break ia}_(g|0)}d=O()|0;if((q|0)==1){continue}if(v[F+444>>2]|v[F+396>>2]!=3){break ua}v[299999]=0;f=xe(h,0);d=v[299999];v[299999]=0;j=-1;gb:{if(!d){break gb}g=v[3e5];if(!g){break gb}j=sc(v[d>>2],k,m);if(!j){break ia}_(g|0)}d=O()|0;if((j|0)==1){continue}if(v[h+20>>2]<1){break ua}n=0;while(1){if(v[h+332>>2]){v[299999]=0;V(24,ba|0,1);d=v[299999];v[299999]=0;hb:{if(!d){break hb}g=v[3e5];if(!g){break hb}if(!sc(v[d>>2],k,m)){break ia}_(g|0)}d=O()|0;continue sa}d=v[h+16>>2];v[299999]=0;Vo(h,f,B(d,3));d=v[299999];v[299999]=0;j=-1;ib:{if(!d){break ib}g=v[3e5];if(!g){break ib}j=sc(v[d>>2],k,m);if(!j){break ia}_(g|0)}d=O()|0;if((j|0)==1){continue sa}f=v[h+52>>2]+f|0;n=n+1|0;if((n|0)>2]){continue}break}}v[299999]=0;R(35,F+360|0);d=v[299999];v[299999]=0;f=-1;jb:{if(!d){break jb}g=v[3e5];if(!g){break jb}f=sc(v[d>>2],k,m);if(!f){break ia}_(g|0)}d=O()|0;if((f|0)==1){continue}d=v[K>>2];if(d){v[299999]=0;dc(d);d=v[299999];v[299999]=0;f=-1;kb:{if(!d){break kb}g=v[3e5];if(!g){break kb}f=sc(v[d>>2],k,m);if(!f){break ia}_(g|0)}d=O()|0;if((f|0)==1){continue}}dc(k);Qb=F+848|0;d=!i;break ha}v[299999]=0;V(24,ba|0,1);d=v[299999];v[299999]=0;lb:{if(!d){break lb}g=v[3e5];if(!g){break lb}if(!sc(v[d>>2],k,m)){break ia}_(g|0)}d=O()|0;continue}}dc(k);sd(d,g);L()}if(d){break a}ce(a+72|0,h+72|0);Ub[v[v[b>>2]+20>>2]](b,sa,0)|0;Ub[v[v[fa>>2]+4>>2]](h);if(c){break c}}h=fc(980);fa=gf(h,5);v[h+976>>2]=0;v[h>>2]=39384;lh(fa,a);d=0;m=0;k=0;e=0;q=Qb-1360|0;Qb=q;mb:{if(!b){break mb}g=Ub[v[v[b>>2]+24>>2]](b)|0;n=v[h+352>>2];Ub[v[v[b>>2]+12>>2]](b,q+1352|0,6,1,0,0)|0;f=u[q+1354>>1];u[q+1354>>1]=w[h+494|0]?f:f<<8|(f&65280)>>>8;f=u[q+1356>>1];i=(w[h+494|0]?f:f<<8|(f&65280)>>>8)<<16>>16;u[q+1356>>1]=i;if(x[q+1352>>1]|(x[q+1354>>1]-1&65535)>>>0>1){break mb}f=i&65535;v[h+356>>2]=f;p=jc(f<<4);if(i){while(1){f=p+(m<<4)|0;Ub[v[v[b>>2]+12>>2]](b,f,16,1,0,0)|0;d=u[f+4>>1];u[f+4>>1]=w[h+494|0]?d:d<<8|(d&65280)>>>8;d=u[f+6>>1];u[f+6>>1]=w[h+494|0]?d:d<<8|(d&65280)>>>8;Ca=f,Ia=ej(h,v[f+8>>2]),v[Ca+8>>2]=Ia;Ca=f,Ia=ej(h,v[f+12>>2]),v[Ca+12>>2]=Ia;d=x[q+1356>>1];m=m+1|0;if(d>>>0>m>>>0){continue}break}}m=0;nb:{ob:{pb:{qb:{if(!((n|0)<0|(d|0)<=(n|0))){if(v[h+332>>2]==-1){f=p+(n<<4)|0;e=w[f|0];v[h+16>>2]=e;d=w[f+1|0];v[h+20>>2]=d;if(!(e|d)){Ub[v[v[b>>2]+20>>2]](b,g+v[f+12>>2]|0,0)|0;d=gf(q+288|0,0);v[d+332>>2]=-1;if(Mz(d,b,4)){ek(h,d,1);v[h+356>>2]=x[q+1356>>1]}v[d>>2]=1032;_g(d);Jg(d)}dc(p);v[h+68>>2]=5;m=1;break mb}f=p+(n<<4)|0;Ub[v[v[b>>2]+20>>2]](b,g+v[f+12>>2]|0,0)|0;if(!(w[f|0]|w[f+1|0])){d=gf(q+288|0,0);if(Mz(d,b,4)){ek(h,d,1);v[h+356>>2]=x[q+1356>>1]}v[h+68>>2]=5;v[d>>2]=1032;_g(d);Jg(d);break nb}d=q+1312|0;Ub[v[v[b>>2]+12>>2]](b,d,40,1,0,0)|0;fp(h,d);j=x[q+1326>>1];Zf(h,w[f|0],w[f+1|0],j,5);f=q+288|0;d=v[q+1344>>2];d=d?d:v[h+44>>2];Ub[v[v[b>>2]+12>>2]](b,f,(d>>>0<256?d:256)<<2,1,0,0)|0;vn(h,f,v[h+44>>2]);rb:{if(j>>>0<=24){Ub[v[v[b>>2]+12>>2]](b,v[h+56>>2],v[h+32>>2],1,0,0)|0;g=v[h+20>>2];break rb}d=B(v[h+20>>2],v[h+16>>2])<<2;f=jc(d);Ub[v[v[b>>2]+12>>2]](b,f,d,1,0,0)|0;if(!v[h+964>>2]){si(h)}g=v[h+20>>2];if((g|0)>0){d=f;while(1){m=xe(h,k);g=0;if(v[h+16>>2]>0){while(1){t[m|0]=w[d|0];t[m+1|0]=w[d+1|0];t[m+2|0]=w[d+2|0];gh(h,g,k,w[d+3|0]);d=d+4|0;m=m+3|0;g=g+1|0;if((g|0)>2]){continue}break}}g=v[h+20>>2];k=k+1|0;if((g|0)>(k|0)){continue}break}}dc(f)}d=(v[h+16>>2]+31|0)/32|0;n=d<<2;f=B(n,g);o=jc(f);if(!(Ub[v[v[b>>2]+12>>2]](b,o,f,1,0,0)|0)){break ob}if((f|0)<1){break qb}f=B(d,g)<<2;d=0;while(1){if(w[d+o|0]!=255|w[o+(d|1)|0]!=255|(w[o+(d|2)|0]!=255|w[o+(d|3)|0]!=255)){break pb}d=d+4|0;if((f|0)!=(d|0)){continue}break}break qb}dc(p);break mb}v[h+336>>2]=0;j=0;n=Qb-32|0;Qb=n;sb:{if(!v[h+4>>2]){break sb}if(x[h+26>>1]<=8){if(Uo(h)){if(v[h+960>>2]){d=v[h+376>>2];e=v[h+384>>2];if((d|0)<=(e|0)){break sb}g=v[h+380>>2];j=v[h+372>>2];if((g|0)<=(j|0)){break sb}while(1){if((g|0)>(j|0)){while(1){d=v[h+960>>2];if(d){d=w[d+(B(v[h+16>>2],e)+j|0)|0]}else{d=1}if(d){VJ(h,j,e,Gq(h,j,e)^255)}g=v[h+380>>2];j=j+1|0;if((g|0)>(j|0)){continue}break}d=v[h+376>>2]}e=e+1|0;if((e|0)>=(d|0)){break sb}j=v[h+372>>2];continue}}if(!v[h+32>>2]){break sb}j=v[h+56>>2];while(1){t[j|0]=w[j|0]^-1;j=j+1|0;e=e+1|0;if(e>>>0>2]){continue}break}break sb}f=v[h+44>>2];if(!f){break sb}d=v[h+4>>2];e=d?f?d+40|0:0:0;if((f|0)!=1){g=f&-2;while(1){d=j<<2;i=d+e|0;t[i|0]=w[i|0]^-1;t[i+1|0]=w[i+1|0]^-1;t[i+2|0]=w[i+2|0]^-1;d=e+(d|4)|0;t[d|0]=w[d|0]^-1;t[d+1|0]=w[d+1|0]^-1;t[d+2|0]=w[d+2|0]^-1;j=j+2|0;g=g-2|0;if(g){continue}break}}if(!(f&1)){break sb}d=e+(j<<2)|0;t[d|0]=w[d|0]^-1;t[d+1|0]=w[d+1|0]^-1;t[d+2|0]=w[d+2|0]^-1;break sb}tb:{if(!v[h+960>>2]){if(!v[h+32>>2]){break tb}j=v[h+56>>2];while(1){t[j|0]=w[j|0]^-1;j=j+1|0;e=e+1|0;if(e>>>0>2]){continue}break}break tb}d=v[h+376>>2];e=v[h+384>>2];if((d|0)<=(e|0)){break tb}g=v[h+380>>2];j=v[h+372>>2];if((g|0)<=(j|0)){break tb}while(1){if((g|0)>(j|0)){while(1){d=v[h+960>>2];if(d){d=w[d+(B(v[h+16>>2],e)+j|0)|0]}else{d=1}if(d){zm(n+24|0,h,j,e,1);t[n+19|0]=w[n+27|0];t[n+18|0]=w[n+26|0]^-1;t[n+17|0]=w[n+25|0]^-1;t[n+16|0]=w[n+24|0]^-1;v[n+12>>2]=v[n+16>>2];t2(h,j,e,n+12|0,0)}g=v[h+380>>2];j=j+1|0;if((g|0)>(j|0)){continue}break}d=v[h+376>>2]}e=e+1|0;if((e|0)>=(d|0)){break tb}j=v[h+372>>2];continue}}t[h+340|0]=w[h+340|0]^-1;t[h+341|0]=w[h+341|0]^-1;t[h+342|0]=w[h+342|0]^-1}Qb=n+32|0;break ob}m=v[h+964>>2]!=0;if(!m){si(h)}d=v[h+20>>2];ub:{if((d|0)<1){break ub}g=v[h+16>>2];if((g|0)<1){break ub}k=0;while(1){if((g|0)>=1){f=B(k,n);d=0;while(1){if(w[o+(f+(d>>>3|0)|0)|0]>>>((d^-1)&7)&1){gh(h,d,k,0);m=1;g=v[h+16>>2]}d=d+1|0;if((g|0)>(d|0)){continue}break}d=v[h+20>>2]}k=k+1|0;if((k|0)<(d|0)){continue}break}}if(!(m&1)){Zv(h);d=v[h+20>>2]}vb:{wb:{if((d|0)<1){break wb}f=v[h+16>>2];if((f|0)<1){break wb}K=0;g=0;m=0;while(1){if((f|0)>=1){i=B(m,n);d=0;while(1){xb:{if(!(w[o+(i+(d>>>3|0)|0)|0]>>>((d^-1)&7)&1)){break xb}Xo(q+16|0,h,d,m,0);f=v[q+16>>2];if(!g){g=1;K=yl(h,d,m);e=f;break xb}g=((e|0)!=(f|0))+g|0}d=d+1|0;f=v[h+16>>2];if((d|0)<(f|0)){continue}break}d=v[h+20>>2]}m=m+1|0;if((m|0)<(d|0)){continue}break}if(!((g|0)!=1|j>>>0>8)){v[q+12>>2]=e;v[q+284>>2]=e;t[q+15|0]=0;v[h+340>>2]=w[q+12|0]|w[q+13|0]<<8|(w[q+14|0]<<16|w[q+15|0]<<24);v[h+336>>2]=v[h+44>>2]>(K|0)?K:0;Zv(h);break vb}if(j>>>0>8){break ob}break vb}if(j>>>0>=9){break ob}}g=0;ic(q+16|0,0,256);e=v[h+20>>2];yb:{if((e|0)<1){break yb}f=v[h+16>>2];if((f|0)<1){break yb}while(1){d=0;if((f|0)>=1){while(1){Ca=Gq(h,d,g)+(q+16|0)|0,Ia=1,t[Ca|0]=Ia;d=d+1|0;f=v[h+16>>2];if((d|0)<(f|0)){continue}break}e=v[h+20>>2]}g=g+1|0;if((g|0)<(e|0)){continue}break}}K=v[h+44>>2];while(1){K=K-1|0;if((K|0)<0){break ob}if(w[(q+16|0)+K|0]){continue}break}zb:{if((e|0)<1){break zb}g=v[h+16>>2];if((g|0)<1){break zb}m=0;f=K&255;k=0;while(1){if((g|0)>=1){e=B(k,n);d=0;while(1){if(w[o+(e+(d>>>3|0)|0)|0]>>>((d^-1)&7)&1){wn(h,d,k,f);m=1;g=v[h+16>>2]}d=d+1|0;if((g|0)>(d|0)){continue}break}e=v[h+20>>2]}k=k+1|0;if((k|0)<(e|0)){continue}break}if(!(m&1)){break zb}v[h+336>>2]=v[h+44>>2]>(K|0)?K:0}Zv(h)}dc(o)}dc(p);m=1}Qb=q+1360|0;if(m){break b}v[a+356>>2]=v[h+356>>2];ce(a+72|0,fa+72|0);Ub[v[v[b>>2]+20>>2]](b,sa,0)|0;Ub[v[v[h>>2]+4>>2]](h);if(!c){break u}break c}if(c&-3){break t}}fa=fc(1124);h=Sv(fa);lh(h,a);d=0;k=0;m=0;K=0;E=0;G=Qb-3520|0;Qb=G;Ab:{if(!b){break Ab}Ub[v[v[b>>2]+12>>2]](b,G+3504|0,13,1,0,0)|0;if(v[G+3504>>2]!=944130375){break Ab}d=u[G+3512>>1];u[G+3512>>1]=w[h+494|0]?d:d<<8|(d&65280)>>>8;d=u[G+3510>>1];d=(w[h+494|0]?d:d<<8|(d&65280)>>>8)<<16>>16;u[G+3510>>1]=d;if(v[h+332>>2]==-1){v[h+16>>2]=d&65535;d=x[G+3512>>1];v[h+68>>2]=2;v[h+20>>2]=d;d=1;break Ab}j=1;e=t[G+3514|0];d=1<<(e&7)+1;u[G+2714>>1]=d;u[G+2712>>1]=(e>>>4&7)+1;if((e|0)<=-1){Ub[v[v[b>>2]+12>>2]](b,G+2712|4,B(d,3),1,0,0)|0;j=0}p=G+3504|0;i=0;o=Qb-800|0;Qb=o;n=Ub[v[v[b>>2]+24>>2]](b)|0;gc(o+8|0,G+2712|0,772);e=1;Bb:{if((Ub[v[v[b>>2]+12>>2]](b,o+7|0,1,1,0,0)|0)!=1){break Bb}f=o+8|4;while(1){g=w[o+7|0];d=e;Cb:{if(!(!g|d&1)){e=0;break Cb}e=!g;Db:{Eb:{switch((g<<24>>24)-33|0){case 0:S0(h,b);break Db;case 26:break Bb;case 11:break Eb;default:break Cb}}Ub[v[v[b>>2]+12>>2]](b,o+784|0,9,1,0,0)|0;e=u[o+784>>1];u[o+784>>1]=w[h+494|0]?e:e<<8|(e&65280)>>>8;e=u[o+786>>1];u[o+786>>1]=w[h+494|0]?e:e<<8|(e&65280)>>>8;e=u[o+788>>1];u[o+788>>1]=w[h+494|0]?e:e<<8|(e&65280)>>>8;e=u[o+790>>1];e=(w[h+494|0]?e:e<<8|(e&65280)>>>8)<<16>>16;u[o+790>>1]=e;g=w[p+6|0]|w[p+7|0]<<8;Fb:{if(g){break Fb}g=0;if(w[p+8|0]|w[p+9|0]<<8){break Fb}g=x[o+788>>1];t[p+8|0]=e;t[p+9|0]=e>>>8;t[p+6|0]=g;t[p+7|0]=g>>>8}if(x[o+788>>1]+x[o+784>>1]>>>0>g>>>0){break Db}g=e&65535;if(g+x[o+786>>1]>>>0>(w[p+8|0]|w[p+9|0]<<8)>>>0){break Db}e=w[o+792|0];if(e&128){e=2<<(e&7);u[o+10>>1]=e;Ub[v[v[b>>2]+12>>2]](b,f,B(e,3),1,0,0)|0;g=x[o+790>>1];e=w[o+792|0]}v[o>>2]=0;v[h+1012>>2]=g;v[h+1e3>>2]=e&64;v[h+1016>>2]=0;v[h+1020>>2]=16384;v[h+1004>>2]=0;v[h+1008>>2]=8;e=Ub[v[v[b>>2]+24>>2]](b)|0;Q0(h,b,0,u[o+788>>1],o);Gb:{if(v[o>>2]){g=0;Ub[v[v[b>>2]+20>>2]](b,e,0)|0;t[o+799|0]=0;while(1){if(!(Ub[v[v[b>>2]+12>>2]](b,o+799|0,1,1,0,0)|0)){break Gb}e=g&255;g=w[o+799|0];if(e|(g|0)!=44){continue}break}Ub[v[v[b>>2]+20>>2]](b,-1,1)|0;Ub[v[v[b>>2]+24>>2]](b)|0;break Gb}Ub[v[v[b>>2]+20>>2]](b,(v[h+1020>>2]-v[h+1024>>2]|0)+1|0,1)|0}i=i+1|0}e=d}if((Ub[v[v[b>>2]+12>>2]](b,o+7|0,1,1,0,0)|0)==1){continue}break}}Ub[v[v[b>>2]+20>>2]](b,n,0)|0;Qb=o+800|0;v[h+356>>2]=i;d=0;e=v[h+352>>2];if((e|0)<0|(e|0)>=(i|0)){break Ab}q=(i|0)==1?0:j;n=G+2712|4;$=1;j=0;d=1;while(1){Hb:{if((Ub[v[v[b>>2]+12>>2]](b,G+2711|0,1,1,0,0)|0)!=1){break Hb}i=d;d=0;if(v[h+332>>2]>0){break Ab}e=t[G+2711|0];d=!e;Ib:{if(!((i|d)&1)){d=0;break Ib}Jb:{Kb:{switch(e-33|0){case 0:$=S0(h,b);break Jb;case 26:break Hb;case 11:break Kb;default:break Ib}}Ub[v[v[b>>2]+12>>2]](b,G+3488|0,9,1,0,0)|0;d=u[G+3488>>1];u[G+3488>>1]=w[h+494|0]?d:d<<8|(d&65280)>>>8;d=u[G+3490>>1];u[G+3490>>1]=w[h+494|0]?d:d<<8|(d&65280)>>>8;d=u[G+3492>>1];u[G+3492>>1]=w[h+494|0]?d:d<<8|(d&65280)>>>8;d=u[G+3494>>1];d=(w[h+494|0]?d:d<<8|(d&65280)>>>8)<<16>>16;u[G+3494>>1]=d;I=x[G+3510>>1];J=x[G+3492>>1];if(I>>>0>1]>>>0){break Jb}r=x[G+3512>>1];M=d&65535;if(r>>>0>1]>>>0){break Jb}e=w[G+3496|0];Lb:{if(!(e&128)){e=x[G+2714>>1];d=n;break Lb}d=G+1936|0;e=2<<(e&7);Ub[v[v[b>>2]+12>>2]](b,d,B(e,3),1,0,0)|0}g=d;d=G+808|0;N=Sv(d);lh(d,h);p=e<<16;f=p>>16;s=(f|0)<3?1:(f|0)<17?4:8;Mb:{if(!K){d=G+808|0;Zf(d,x[G+3510>>1],x[G+3512>>1],s,2);E=v[h+336>>2];bx(d,w[h+979|0]);k=Nt(fc(976),d,1);t[k+493|0]=0;break Mb}Nb:{switch(j-2|0){case 0:d=G+808|0;wx(d,h,0,0,0);bx(d,E&255);break Mb;case 1:d=G+808|0;wx(d,h,0,0,0);Zf(d,v[k+16>>2],v[k+20>>2],x[k+26>>1],2);gc(v[d+4>>2],v[k+4>>2],(v[d+32>>2]+v[d+12>>2]|0)+(v[d+44>>2]<<2)|0);break Mb;default:break Nb}}wx(G+808|0,h,1,1,1)}Zf(h,x[G+3492>>1],x[G+3494>>1],s,2);if(!(t[G+3514|0]>-1&t[G+3496|0]>=0)){Ob:{if(p>>16<1){e=0;break Ob}d=0;if((e&65535)!=1){e=f&-2;while(1){o=G+544|0;F=g+B(d,3)|0;t[o+d|0]=w[F|0];p=G+288|0;t[p+d|0]=w[F+1|0];j=G+32|0;t[j+d|0]=w[F+2|0];aa=d|1;F=g+B(aa,3)|0;t[o+aa|0]=w[F|0];t[p+aa|0]=w[F+1|0];t[j+aa|0]=w[F+2|0];d=d+2|0;e=e-2|0;if(e){continue}break}}e=f;if(!(e&1)){break Ob}e=g+B(d,3)|0;t[(G+544|0)+d|0]=w[e|0];t[(G+288|0)+d|0]=w[e+1|0];t[(G+32|0)+d|0]=w[e+2|0];e=f}d=v[h+336>>2];if(!((d|0)<0|e>>>0>255)){g=256-e|0;ic((G+32|0)+e|0,255,g);ic((G+288|0)+e|0,255,g);ic((G+544|0)+e|0,255,g)}JJ(h,(d|0)>-1?256:f,G+544|0,G+288|0,G+32|0)}e=fc(24);v[e+20>>2]=h;d=xe(h,0);v[e>>2]=0;v[e+4>>2]=0;v[e+16>>2]=d;v[e+8>>2]=0;v[e+12>>2]=0;v[e+4>>2]=v[v[e+20>>2]+20>>2]-1;Ca=e,Ia=xe(v[e+20>>2],0)+B(v[v[e+20>>2]+52>>2],v[v[e+20>>2]+20>>2]-1|0)|0,v[Ca+16>>2]=Ia;v[G+544>>2]=0;v[h+1020>>2]=16384;v[h+1e3>>2]=w[G+3496|0]&64;v[h+1012>>2]=x[G+3494>>1];v[h+1016>>2]=0;v[h+1004>>2]=0;v[h+1008>>2]=8;F=Ub[v[v[b>>2]+24>>2]](b)|0;Q0(h,b,e,u[G+3492>>1],G+544|0);dc(e);if(v[h+332>>2]){Qs(N);d=0;break Ab}q=(!K&(J|0)!=(I|0)&(r|0)!=(M|0))+q|0;Pb:{if((q|0)<=1){I=G+808|0;D1(I,s);d=G+3488|0;p=w[d|0]|w[d+1|0]<<8;e=p;o=v[N+16>>2];j=w[d+4|0]|w[d+5|0]<<8;M=v[h+336>>2];g=v[N+20>>2];f=w[d+2|0]|w[d+3|0]<<8;d=g-(f+(w[d+6|0]|w[d+7|0]<<8)|0)|0;d=(d|0)>0?d:0;r=g-f|0;Qb:{if((d|0)>=(r|0)){break Qb}f=j+p|0;o=f>>>0>>0?f:o;if((o|0)<=(e|0)){break Qb}g=d;while(1){p=g-d|0;f=e;while(1){j=yl(h,f-e|0,p);if((j|0)!=(M|0)){wn(N,f,g,j)}f=f+1|0;if((o|0)!=(f|0)){continue}break}g=g+1|0;if((r|0)>(g|0)){continue}break}}v[I+336>>2]=v[I+44>>2]>(E|0)?E:0;d=v[h+4>>2];vn(I,d?v[h+44>>2]?d+40|0:0:0,256);ek(h,I,0);break Pb}v[h+352>>2]=v[h+356>>2]-1;if(!m){m=fc(976);e=x[G+3510>>1];d=x[G+3512>>1];v[m>>2]=1032;ic(m+4|0,0,972);t[m+388|0]=255;v[m+344>>2]=1119092736;v[m+68>>2]=2;t[m+390|0]=1;v[m+336>>2]=-1;t[m+348|0]=1;Mk(m,96);Cn(m,96);t[m+494|0]=1;Zf(m,e,d,24,2)}e=x[G+3494>>1];if(!e){break Pb}f=0;j=x[G+3492>>1];while(1){Rb:{if(j){o=f^-1;d=0;while(1){p=x[G+3488>>1];j=x[G+3512>>1];g=x[G+3490>>1];Xo(G+24|0,h,d,o+(e&65535)|0,1);v[G+12>>2]=v[G+24>>2];Yv(m,d+p|0,(j-f|0)+(g^-1)|0,G+12|0);e=x[G+3494>>1];d=d+1|0;j=x[G+3492>>1];if(d>>>0>>0){continue}break}break Rb}j=0}f=f+1|0;if(f>>>0<(e&65535)>>>0){continue}break}}f=w[h+976|0]>>>2|0;Sb:{if(v[G+544>>2]){g=Qb-16|0;Qb=g;Ub[v[v[b>>2]+20>>2]](b,F,0)|0;t[g+15|0]=0;e=0;Tb:{while(1){if(!(Ub[v[v[b>>2]+12>>2]](b,g+15|0,1,1,0,0)|0)){break Tb}d=e;e=w[g+15|0];if(d|(e|0)!=44){continue}break}Ub[v[v[b>>2]+20>>2]](b,-1,1)|0;Ub[v[v[b>>2]+24>>2]](b)|0}Qb=g+16|0;break Sb}Ub[v[v[b>>2]+20>>2]](b,(v[h+1020>>2]-v[h+1024>>2]|0)+1|0,1)|0}j=f&7;if(!(m|!w[h+493|0])){Ub:{if(K){break Ub}_g(h);g=v[h+356>>2];d=fc((g|0)!=(g&1073741823)?-1:g<<2);v[h+972>>2]=d;if((g|0)<1){break Ub}v[d>>2]=0;if((g|0)==1){break Ub}e=g-1|0;f=e&3;d=1;if(g-2>>>0>=3){e=e&-4;while(1){g=d<<2;v[g+v[h+972>>2]>>2]=0;v[(g+v[h+972>>2]|0)+4>>2]=0;v[(g+v[h+972>>2]|0)+8>>2]=0;v[(g+v[h+972>>2]|0)+12>>2]=0;d=d+4|0;e=e-4|0;if(e){continue}break}}if(!f){break Ub}while(1){v[v[h+972>>2]+(d<<2)>>2]=0;d=d+1|0;f=f-1|0;if(f){continue}break}}e=fc(976);Nt(e,h,1);d=K<<2;v[d+v[h+972>>2]>>2]=e;t[v[d+v[h+972>>2]>>2]+493|0]=0}if(j>>>0<=1){if(k){Ub[v[v[k>>2]+4>>2]](k)}k=Nt(fc(976),h,1);t[k+493|0]=0}e=w[h+493|0];d=v[h+352>>2];Qs(N);d=!e&(d|0)==(K|0);if(d){break Hb}K=!d+K|0}d=i}if($){continue}}break}Vb:{Wb:{if(!(!m|(q|0)<2)){if(t[h+976|0]&1){ng(G+16|0,h,w[h+336|0]);v[G+8>>2]=v[G+16>>2];t[G+11|0]=0;v[m+340>>2]=w[G+8|0]|w[G+9|0]<<8|(w[G+10|0]<<16|w[G+11|0]<<24);v[m+336>>2]=0}ek(h,m,1);break Wb}if(!m){break Vb}}Ub[v[v[m>>2]+4>>2]](m)}d=1;if(!k){break Ab}Ub[v[v[k>>2]+4>>2]](k)}Qb=G+3520|0;if(d){break a}v[a+356>>2]=v[h+356>>2];ce(a+72|0,h+72|0);Ub[v[v[b>>2]+20>>2]](b,sa,0)|0;Ub[v[v[fa>>2]+4>>2]](h);if(!c){break s}break c}if(c&-5){break r}}h=fc(976);fa=gf(h,4);v[h>>2]=39428;lh(fa,a);i=0;s=Qb-32|0;Qb=s;E=jc(40);v[E>>2]=0;v[299999]=0;xe(h,0);e=v[299999];v[299999]=0;k=-1;q=4;Xb:{Yb:{Zb:{_b:{if(!e){break _b}f=v[3e5];if(!f){break _b}k=sc(v[e>>2],E,4);if(!k){break Zb}_(f|0)}e=O()|0;$b:{if((k|0)==1){break $b}v[299999]=0;i=Z(53,3253,0,0,0)|0;e=v[299999];v[299999]=0;k=-1;ac:{if(!e){break ac}f=v[3e5];if(!f){break ac}k=sc(v[e>>2],E,4);if(!k){break Zb}_(f|0)}e=O()|0;if((k|0)==1){break $b}v[s+28>>2]=i;if(!i){v[299999]=0;Xc(h+72|0,5666,255);e=v[299999];v[299999]=0;k=-1;bc:{if(!e){break bc}f=v[3e5];if(!f){break bc}k=sc(v[e>>2],E,4);if(!k){break Zb}_(f|0)}e=O()|0;if((k|0)==1){break $b}break Yb}v[299999]=0;d=S(55,i|0)|0;e=v[299999];v[299999]=0;k=-1;cc:{if(!e){break cc}f=v[3e5];if(!f){break cc}k=sc(v[e>>2],E,4);if(!k){break Zb}_(f|0)}e=O()|0;if((k|0)==1){break $b}v[s+24>>2]=d;if(!d){v[299999]=0;U(56,s+28|0,0,0);e=v[299999];v[299999]=0;k=-1;dc:{if(!e){break dc}f=v[3e5];if(!f){break dc}k=sc(v[e>>2],E,4);if(!k){break Zb}_(f|0)}e=O()|0;if((k|0)==1){break $b}v[299999]=0;Xc(h+72|0,10029,255);e=v[299999];v[299999]=0;k=-1;ec:{if(!e){break ec}f=v[3e5];if(!f){break ec}k=sc(v[e>>2],E,4);if(!k){break Zb}_(f|0)}e=O()|0;if((k|0)!=1){break Yb}break $b}e=0;E=Ue(i,1,E,4);q=O()|0}fc:while(1){if(e){v[299999]=0;U(56,s+28|0,s+24|0,0);e=v[299999];v[299999]=0;k=-1;gc:{if(!e){break gc}f=v[3e5];if(!f){break gc}k=sc(v[e>>2],E,q);if(!k){break Zb}_(f|0)}e=O()|0;if((k|0)!=1){break Yb}continue}v[299999]=0;U(57,i|0,b|0,58);e=v[299999];v[299999]=0;k=-1;hc:{if(!e){break hc}f=v[3e5];if(!f){break hc}k=sc(v[e>>2],E,q);if(!k){break Zb}_(f|0)}e=O()|0;if((k|0)==1){continue}v[299999]=0;d=h+72|0;if(i){v[i+164>>2]=0;v[i+160>>2]=60;v[i+168>>2]=d}e=v[299999];v[299999]=0;k=-1;ic:{if(!e){break ic}f=v[3e5];if(!f){break ic}k=sc(v[e>>2],E,q);if(!k){break Zb}_(f|0)}e=O()|0;if((k|0)==1){continue}v[299999]=0;V(61,i|0,v[s+24>>2]);e=v[299999];v[299999]=0;k=-1;jc:{if(!e){break jc}f=v[3e5];if(!f){break jc}k=sc(v[e>>2],E,q);if(!k){break Zb}_(f|0)}e=O()|0;if((k|0)==1){continue}n=v[s+24>>2];if(v[h+332>>2]==-1){v[h+16>>2]=v[n>>2];d=v[n+4>>2];v[h+68>>2]=4;v[h+20>>2]=d;v[299999]=0;V(24,i|0,1);e=v[299999];v[299999]=0;kc:{if(!e){break kc}f=v[3e5];if(!f){break kc}if(!sc(v[e>>2],E,q)){break Zb}_(f|0)}e=O()|0;continue}f=24;m=3;k=1;g=0;d=1;K=0;lc:{mc:{switch(w[n+25|0]){case 6:k=0;m=4;break lc;default:e=w[13348]|w[13349]<<8|(w[13350]<<16|w[13351]<<24);d=w[13344]|w[13345]<<8|(w[13346]<<16|w[13347]<<24);t[h+87|0]=d;t[h+88|0]=d>>>8;t[h+89|0]=d>>>16;t[h+90|0]=d>>>24;t[h+91|0]=e;t[h+92|0]=e>>>8;t[h+93|0]=e>>>16;t[h+94|0]=e>>>24;e=w[13341]|w[13342]<<8|(w[13343]<<16|w[13344]<<24);d=w[13337]|w[13338]<<8|(w[13339]<<16|w[13340]<<24);t[h+80|0]=d;t[h+81|0]=d>>>8;t[h+82|0]=d>>>16;t[h+83|0]=d>>>24;t[h+84|0]=e;t[h+85|0]=e>>>8;t[h+86|0]=e>>>16;t[h+87|0]=e>>>24;e=w[13333]|w[13334]<<8|(w[13335]<<16|w[13336]<<24);d=w[13329]|w[13330]<<8|(w[13331]<<16|w[13332]<<24);t[h+72|0]=d;t[h+73|0]=d>>>8;t[h+74|0]=d>>>16;t[h+75|0]=d>>>24;t[h+76|0]=e;t[h+77|0]=e>>>8;t[h+78|0]=e>>>16;t[h+79|0]=e>>>24;v[299999]=0;V(24,i|0,1);e=v[299999];v[299999]=0;nc:{if(!e){break nc}f=v[3e5];if(!f){break nc}if(!sc(v[e>>2],E,q)){break Zb}_(f|0)}e=O()|0;continue;case 4:d=2;g=1;k=0;break;case 2:break lc;case 0:case 3:break mc}}e=w[n+30|0];f=g?8:k?e>>>0>8?8:e:e;m=d;k=0;K=g}e=v[n+4>>2];d=v[n>>2];v[299999]=0;g=ca(23,h|0,d|0,e|0,f|0,4)|0;e=v[299999];v[299999]=0;d=-1;oc:{if(!e){break oc}f=v[3e5];if(!f){break oc}d=sc(v[e>>2],E,q);if(!d){break Zb}_(f|0)}e=O()|0;if((d|0)==1){continue}if(!g){v[299999]=0;V(24,i|0,1);e=v[299999];v[299999]=0;pc:{if(!e){break pc}f=v[3e5];if(!f){break pc}if(!sc(v[e>>2],E,q)){break Zb}_(f|0)}e=O()|0;continue}qc:{rc:{sc:{tc:{d=v[s+24>>2];switch(w[d+120|0]){case 1:break sc;case 0:break tc;default:break qc}}d=v[d+112>>2];v[299999]=0;Mk(h,d);e=v[299999];v[299999]=0;d=-1;uc:{if(!e){break uc}f=v[3e5];if(!f){break uc}d=sc(v[e>>2],E,q);if(!d){break Zb}_(f|0)}e=O()|0;if((d|0)==1){continue}d=v[v[s+24>>2]+116>>2];break rc}e=v[d+112>>2];v[299999]=0;d=h;da=H(+(e>>>0)*254/1e4+.5);vc:{if(D(da)<2147483648){e=~~da;break vc}e=-2147483648}Mk(d,e);e=v[299999];v[299999]=0;d=-1;wc:{if(!e){break wc}f=v[3e5];if(!f){break wc}d=sc(v[e>>2],E,q);if(!d){break Zb}_(f|0)}e=O()|0;if((d|0)==1){continue}da=H(+y[v[s+24>>2]+116>>2]*254/1e4+.5);if(D(da)<2147483648){d=~~da;break rc}d=-2147483648}v[299999]=0;Cn(h,d);e=v[299999];v[299999]=0;d=-1;xc:{if(!e){break xc}f=v[3e5];if(!f){break xc}d=sc(v[e>>2],E,q);if(!d){break Zb}_(f|0)}e=O()|0;if((d|0)==1){continue}}d=v[s+24>>2];e=x[d+20>>1];yc:{if(e){d=v[d+16>>2];v[299999]=0;IJ(h,d,e);e=v[299999];v[299999]=0;d=-1;zc:{if(!e){break zc}f=v[3e5];if(!f){break zc}d=sc(v[e>>2],E,q);if(!d){break Zb}_(f|0)}e=O()|0;if((d|0)==1){continue}d=x[v[s+24>>2]+20>>1];v[299999]=0;T1(h,d);break yc}if(w[d+24|0]==2){v[299999]=0;_o(h,0,0,0,0,0);e=v[299999];v[299999]=0;d=-1;Ac:{if(!e){break Ac}f=v[3e5];if(!f){break Ac}d=sc(v[e>>2],E,q);if(!d){break Zb}_(f|0)}e=O()|0;if((d|0)==1){continue}v[299999]=0;_o(h,1,85,85,85,0);e=v[299999];v[299999]=0;d=-1;Bc:{if(!e){break Bc}f=v[3e5];if(!f){break Bc}d=sc(v[e>>2],E,q);if(!d){break Zb}_(f|0)}e=O()|0;if((d|0)==1){continue}v[299999]=0;_o(h,2,170,170,170,0);e=v[299999];v[299999]=0;d=-1;Cc:{if(!e){break Cc}f=v[3e5];if(!f){break Cc}d=sc(v[e>>2],E,q);if(!d){break Zb}_(f|0)}e=O()|0;if((d|0)==1){continue}v[299999]=0;_o(h,3,255,255,255,0);break yc}v[299999]=0;Eq(h)}e=v[299999];v[299999]=0;d=-1;Dc:{if(!e){break Dc}f=v[3e5];if(!f){break Dc}d=sc(v[e>>2],E,q);if(!d){break Zb}_(f|0)}e=O()|0;if((d|0)==1){continue}e=v[s+24>>2];d=w[e+24|0]>>>3|0;j=((d>>>0>1?d:1)<<3)-8|0;Ec:{Fc:{switch(x[e+22>>1]){case 1:if(w[e+25|0]==3){v[h+336>>2]=w[e+80|0];break Ec}v[h+336>>2]=x[e+88>>1]>>>j;break Ec;case 0:break Ec;default:break Fc}}v[299999]=0;n=v[h+4>>2];d=v[h+44>>2];e=v[299999];v[299999]=0;g=-1;Gc:{if(!e){break Gc}f=v[3e5];if(!f){break Gc}g=sc(v[e>>2],E,q);if(!g){break Zb}_(f|0)}e=O()|0;if((g|0)==1){continue}o=n?d?n+40|0:0:0;if(!o){break Ec}e=v[s+24>>2];f=x[e+22>>1];p=v[h+44>>2];g=(f|0)<(p|0)?f:p;Hc:{if(!g){break Hc}d=g&3;n=v[e+76>>2];e=0;if(g-1>>>0>=3){ba=g&-4;while(1){t[(o+(e<<2)|0)+3|0]=w[e+n|0];g=e|1;t[(o+(g<<2)|0)+3|0]=w[g+n|0];g=e|2;t[(o+(g<<2)|0)+3|0]=w[g+n|0];g=e|3;t[(o+(g<<2)|0)+3|0]=w[g+n|0];e=e+4|0;ba=ba-4|0;if(ba){continue}break}}if(!d){break Hc}while(1){t[(o+(e<<2)|0)+3|0]=w[e+n|0];e=e+1|0;d=d-1|0;if(d){continue}break}}Ic:{if(f>>>0>=p>>>0){break Ic}d=p+(f^-1)|0;e=p-f&7;if(e){while(1){t[(o+(f<<2)|0)+3|0]=255;f=f+1|0;e=e-1|0;if(e){continue}break}}if(d>>>0<7){break Ic}while(1){d=o+(f<<2)|0;t[d+3|0]=255;t[d+7|0]=255;t[d+11|0]=255;t[d+15|0]=255;t[d+19|0]=255;t[d+23|0]=255;t[d+27|0]=255;t[d+31|0]=255;f=f+8|0;if((p|0)!=(f|0)){continue}break}}t[h+389|0]=1}Jc:{if(!k){break Jc}v[299999]=0;d=pR(i,v[s+24>>2],s+20|0,s+16|0,s+12|0);e=v[299999];v[299999]=0;k=-1;Kc:{if(!e){break Kc}f=v[3e5];if(!f){break Kc}k=sc(v[e>>2],E,q);if(!k){break Zb}_(f|0)}e=O()|0;if((k|0)==1){continue}if(!d){break Jc}d=v[s+24>>2];t[h+342|0]=x[d+82>>1]>>>j;t[h+341|0]=x[d+84>>1]>>>j;d=x[d+86>>1];t[h+343|0]=0;v[h+336>>2]=0;t[h+340|0]=d>>>j}if(!(m&1)){v[299999]=0;S(67,h|0)|0;e=v[299999];v[299999]=0;k=-1;Lc:{if(!e){break Lc}f=v[3e5];if(!f){break Lc}k=sc(v[e>>2],E,q);if(!k){break Zb}_(f|0)}e=O()|0;if((k|0)==1){continue}}if(w[v[s+24>>2]+25|0]&2){v[299999]=0;if(i){v[i+208>>2]=v[i+208>>2]|1}e=v[299999];v[299999]=0;k=-1;Mc:{if(!e){break Mc}f=v[3e5];if(!f){break Mc}k=sc(v[e>>2],E,q);if(!k){break Zb}_(f|0)}e=O()|0;if((k|0)==1){continue}}if(v[h+332>>2]){v[299999]=0;V(24,i|0,1);e=v[299999];v[299999]=0;Nc:{if(!e){break Nc}f=v[3e5];if(!f){break Nc}if(!sc(v[e>>2],E,q)){break Zb}_(f|0)}e=O()|0;continue}d=v[v[s+24>>2]+12>>2];v[299999]=0;G=S(15,d+8|0)|0;e=v[299999];v[299999]=0;d=-1;Oc:{if(!e){break Oc}f=v[3e5];if(!f){break Oc}d=sc(v[e>>2],E,q);if(!d){break Zb}_(f|0)}e=O()|0;if((d|0)==1){continue}v[299999]=0;d=1;if(!(!i|!w[i+398|0])){v[i+208>>2]=v[i+208>>2]|2;d=7}n=d;e=v[299999];v[299999]=0;d=-1;Pc:{if(!e){break Pc}f=v[3e5];if(!f){break Pc}d=sc(v[e>>2],E,q);if(!d){break Zb}_(f|0)}e=O()|0;if((d|0)==1){continue}v[299999]=0;g=Fm(h,4);e=v[299999];v[299999]=0;d=-1;Qc:{if(!e){break Qc}f=v[3e5];if(!f){break Qc}d=sc(v[e>>2],E,q);if(!d){break Zb}_(f|0)}e=O()|0;if((d|0)==1){continue}v[299999]=0;KB(h,g&-2|(n|0)>1,0);e=v[299999];v[299999]=0;d=-1;Rc:{if(!e){break Rc}f=v[3e5];if(!f){break Rc}d=sc(v[e>>2],E,q);if(!d){break Zb}_(f|0)}e=O()|0;if((d|0)==1){continue}N=-1;d=i;if((n|0)>=1){M=n-1|0;d=v[s+24>>2];J=w[d+30|0]>>>3|0;aa=w[d+24|0]>>>3|0;I=B(aa,3);F=aa<<1;$=0;while(1){v[299999]=0;j=v[h+20>>2];e=v[299999];v[299999]=0;g=-1;Sc:{if(!e){break Sc}f=v[3e5];if(!f){break Sc}g=sc(v[e>>2],E,q);if(!g){break Zb}_(f|0)}e=O()|0;if((g|0)==1){continue fc}v[299999]=0;o=xe(h,0);e=v[299999];v[299999]=0;g=-1;Tc:{if(!e){break Tc}f=v[3e5];if(!f){break Tc}g=sc(v[e>>2],E,q);if(!g){break Zb}_(f|0)}e=O()|0;if((g|0)==1){continue fc}v[299999]=0;p=v[h+52>>2];e=v[299999];v[299999]=0;g=-1;Uc:{if(!e){break Uc}f=v[3e5];if(!f){break Uc}g=sc(v[e>>2],E,q);if(!g){break Zb}_(f|0)}e=O()|0;if((g|0)==1){continue fc}v[299999]=0;d=v[h+20>>2];e=v[299999];v[299999]=0;g=-1;Vc:{if(!e){break Vc}f=v[3e5];if(!f){break Vc}g=sc(v[e>>2],E,q);if(!g){break Zb}_(f|0)}e=O()|0;if((g|0)==1){continue fc}j=j-1|0;g=o+B(p,d-1|0)|0;p=0;while(1){if(v[h+332>>2]){v[299999]=0;V(24,v[s+28>>2],1);e=v[299999];v[299999]=0;Wc:{if(!e){break Wc}f=v[3e5];if(!f){break Wc}if(!sc(v[e>>2],E,q)){break Zb}_(f|0)}e=O()|0;continue fc}v[299999]=0;o=v[h+964>>2];e=v[299999];v[299999]=0;d=-1;Xc:{if(!e){break Xc}f=v[3e5];if(!f){break Xc}d=sc(v[e>>2],E,q);if(!d){break Zb}_(f|0)}e=O()|0;if((d|0)==1){continue fc}Yc:{if(o){o=v[h+20>>2]+(p^-1)|0;Zc:{if((o|0)<0){break Zc}v[299999]=0;r=v[h+20>>2];e=v[299999];v[299999]=0;d=-1;_c:{if(!e){break _c}f=v[3e5];if(!f){break _c}d=sc(v[e>>2],E,q);if(!d){break Zb}_(f|0)}e=O()|0;if((d|0)==1){continue fc}if((o|0)>(r|0)){break Zc}v[299999]=0;j=xe(h,0);e=v[299999];v[299999]=0;g=-1;$c:{if(!e){break $c}f=v[3e5];if(!f){break $c}g=sc(v[e>>2],E,q);if(!g){break Zb}_(f|0)}e=O()|0;if((g|0)==1){continue fc}v[299999]=0;d=v[h+52>>2];e=v[299999];v[299999]=0;g=-1;ad:{if(!e){break ad}f=v[3e5];if(!f){break ad}g=sc(v[e>>2],E,q);if(!g){break Zb}_(f|0)}e=O()|0;if((g|0)==1){continue fc}g=j+B(d,o)|0;j=o}bd:{if(!w[v[s+24>>2]+28|0]|!$|(($|0)==7|v[h+16>>2]<1)){break bd}d=0;if(K){while(1){k=B(d,J);t[k+G|0]=w[d+g|0];v[299999]=0;r=Ik(h,d,o);e=v[299999];v[299999]=0;ba=-1;cd:{if(!e){break cd}f=v[3e5];if(!f){break cd}ba=sc(v[e>>2],E,q);if(!ba){break Zb}_(f|0)}e=O()|0;if((ba|0)==1){continue fc}t[G+(k+aa|0)|0]=r;d=d+1|0;if((d|0)>2]){continue}break bd}}while(1){k=B(d,J);e=B(d,3)+g|0;t[k+G|0]=w[e|0];t[G+(k+aa|0)|0]=w[e+1|0];t[G+(k+F|0)|0]=w[e+2|0];v[299999]=0;r=Ik(h,d,o);e=v[299999];v[299999]=0;ha=-1;dd:{if(!e){break dd}f=v[3e5];if(!f){break dd}ha=sc(v[e>>2],E,q);if(!ha){break Zb}_(f|0)}e=O()|0;if((ha|0)==1){continue fc}t[G+(k+I|0)|0]=r;d=d+1|0;if((d|0)>2]){continue}break}}v[299999]=0;U(73,v[s+28>>2],G|0,0);e=v[299999];v[299999]=0;d=-1;ed:{if(!e){break ed}f=v[3e5];if(!f){break ed}d=sc(v[e>>2],E,q);if(!d){break Zb}_(f|0)}e=O()|0;if((d|0)==1){continue fc}if(v[h+16>>2]<1){break Yc}d=0;if(K){while(1){e=B(d,J);t[d+g|0]=w[e+G|0];e=w[G+(e+aa|0)|0];v[299999]=0;gh(h,d,o,e);e=v[299999];v[299999]=0;ba=-1;fd:{if(!e){break fd}f=v[3e5];if(!f){break fd}ba=sc(v[e>>2],E,q);if(!ba){break Zb}_(f|0)}e=O()|0;if((ba|0)==1){continue fc}d=d+1|0;if((d|0)>2]){continue}break Yc}}while(1){e=B(d,3)+g|0;f=B(d,J);t[e|0]=w[f+G|0];t[e+1|0]=w[G+(f+aa|0)|0];t[e+2|0]=w[G+(f+F|0)|0];e=w[G+(f+I|0)|0];v[299999]=0;gh(h,d,o,e);e=v[299999];v[299999]=0;ba=-1;gd:{if(!e){break gd}f=v[3e5];if(!f){break gd}ba=sc(v[e>>2],E,q);if(!ba){break Zb}_(f|0)}e=O()|0;if((ba|0)==1){continue fc}d=d+1|0;if((d|0)>2]){continue}break}break Yc}e=v[s+24>>2];hd:{if(!w[e+28|0]|!$){break hd}id:{if(!g){break id}o=v[e+12>>2];if((o|0)<1){break id}v[299999]=0;d=v[h+52>>2];e=v[299999];v[299999]=0;ba=-1;jd:{if(!e){break jd}f=v[3e5];if(!f){break jd}ba=sc(v[e>>2],E,q);if(!ba){break Zb}_(f|0)}e=O()|0;if((ba|0)==1){continue fc}gc(G,g,(d|0)<(o|0)?d:o);e=v[s+24>>2]}if(w[e+24|0]<9){break hd}d=v[h+16>>2];e=B(d,m);if((e|0)<1){break hd}f=B(d,m);d=f-1|0;f=f&3;if(f){while(1){e=e-1|0;t[G+B(aa,e)|0]=w[e+G|0];f=f-1|0;if(f){continue}break}}if(d>>>0<3){break hd}while(1){d=e-1|0;t[G+B(d,aa)|0]=w[d+G|0];d=e-2|0;t[G+B(d,aa)|0]=w[d+G|0];d=e-3|0;t[G+B(d,aa)|0]=w[d+G|0];d=e-4|0;t[G+B(d,aa)|0]=w[d+G|0];f=(e|0)>4;e=d;if(f){continue}break}}v[299999]=0;U(73,v[s+28>>2],G|0,0);e=v[299999];v[299999]=0;d=-1;kd:{if(!e){break kd}f=v[3e5];if(!f){break kd}d=sc(v[e>>2],E,q);if(!d){break Zb}_(f|0)}e=O()|0;if((d|0)==1){continue fc}r=v[s+24>>2];ld:{if(w[r+24|0]<9){break ld}d=B(v[h+16>>2],m);if((d|0)<1){break ld}f=d&3;e=0;if(d-1>>>0>=3){d=d&-4;while(1){t[e+G|0]=w[G+B(e,aa)|0];o=e|1;t[o+G|0]=w[G+B(o,aa)|0];o=e|2;t[o+G|0]=w[G+B(o,aa)|0];o=e|3;t[o+G|0]=w[G+B(o,aa)|0];e=e+4|0;d=d-4|0;if(d){continue}break}}if(!f){break ld}while(1){t[e+G|0]=w[G+B(e,aa)|0];e=e+1|0;f=f-1|0;if(f){continue}break}}o=v[r+12>>2];v[299999]=0;d=v[h+52>>2];e=v[299999];v[299999]=0;ba=-1;md:{if(!e){break md}f=v[3e5];if(!f){break md}ba=sc(v[e>>2],E,q);if(!ba){break Zb}_(f|0)}e=O()|0;if((ba|0)==1){continue fc}nd:{if(!g){break nd}d=(o|0)<0?d:(d|0)<(o|0)?d:o;if((d|0)<1){break nd}gc(g,G,d)}od:{if(w[v[s+24>>2]+24|0]!=2|(M|0)!=($|0)){break od}f=v[h+16>>2];if((f|0)<1){break od}while(1){d=f-1|0;e=(d>>>1|0)+g|0;r=e;o=B(d&1,252)+4&252;k=w[e|0]&(15<>>2|0)+g|0]&3<>>e&15)<1;f=d;if(e){continue}break}}if((j|0)>=1){v[299999]=0;o=v[h+52>>2];e=v[299999];v[299999]=0;d=-1;pd:{if(!e){break pd}f=v[3e5];if(!f){break pd}d=sc(v[e>>2],E,q);if(!d){break Zb}_(f|0)}e=O()|0;if((d|0)==1){continue fc}g=g-o|0}j=j-1|0}p=p+1|0;if((p|0)>2]){continue}break}$=$+1|0;if((n|0)!=($|0)){continue}break}d=v[s+28>>2]}v[299999]=0;dc(G);e=v[299999];v[299999]=0;qd:{if(!e){break qd}f=v[3e5];if(!f){break qd}N=sc(v[e>>2],E,q);if(!N){break Zb}_(f|0)}e=O()|0;if((N|0)==1){continue}v[299999]=0;V(75,d|0,v[s+24>>2]);e=v[299999];v[299999]=0;k=-1;rd:{if(!e){break rd}f=v[3e5];if(!f){break rd}k=sc(v[e>>2],E,q);if(!k){break Zb}_(f|0)}e=O()|0;if((k|0)==1){continue}v[299999]=0;U(56,s+28|0,s+24|0,0);e=v[299999];v[299999]=0;k=-1;sd:{if(!e){break sd}f=v[3e5];if(!f){break sd}k=sc(v[e>>2],E,q);if(!k){break Zb}_(f|0)}f=1;e=O()|0;if((k|0)==1){continue}break}break Xb}dc(E);sd(e,f);L()}f=v[h+332>>2]==-1&v[h+68>>2]==4}dc(E);Qb=s+32|0;if(!f){break q}break b}switch(c-6|0){case 1:break n;case 11:break o;case 0:break p;default:break m}}ce(a+72|0,fa+72|0);Ub[v[v[b>>2]+20>>2]](b,sa,0)|0;Ub[v[v[h>>2]+4>>2]](h);if(c){break c}}h=fc(988);fa=gf(h,6);v[h+984>>2]=0;t[h+980|0]=0;v[h+976>>2]=0;v[h>>2]=54292;lh(fa,a);k=0;m=0;E=0;r=Qb-336|0;Qb=r;T=d1(b,2837);v[r+332>>2]=0;v[r+328>>2]=0;u[r+326>>1]=1;u[r+324>>1]=1;v[r+320>>2]=-1;u[r+318>>1]=0;u[r+316>>1]=1;u[r+314>>1]=1;td:{ud:{vd:{if(!T){Xc(h+72|0,5779,255);break vd}i=0;e=Qb-16|0;Qb=e;d=v[T+460>>2];v[e+12>>2]=d;wd:{if(!d){break wd}while(1){if(!aP(T,e+12|0)){break wd}i=i+1|0;if(v[e+12>>2]){continue}break}}Qb=e+16|0;v[h+356>>2]=i&65535;e=x[h+352>>1];g=Qb-16|0;Qb=g;i=v[T+460>>2];v[g+12>>2]=i;xd:{yd:{if(!e){d=e;break yd}d=e;if(!i){break yd}while(1){f=0;if(!aP(T,g+12|0)){break xd}i=v[g+12>>2];d=d-1|0;if(!(d&65535)){break yd}if(i){continue}break}}v[T+20>>2]=i;u[T+32>>1]=0;u[T+476>>1]=e+(d^-1);f=KM(T)}Qb=g+16|0;zd:{if(!f){Xc(h+72|0,10183,255);break zd}v[r+272>>2]=r+328;Kd(T,256,r+272|0);v[r+256>>2]=r+332;Kd(T,257,r+256|0);v[r+240>>2]=r+324;Kd(T,277,r+240|0);v[r+224>>2]=r+326;Kd(T,258,r+224|0);v[r+208>>2]=r+320;Kd(T,278,r+208|0);v[r+192>>2]=r+318;Kd(T,262,r+192|0);v[r+176>>2]=r+314;Kd(T,274,r+176|0);if(v[h+332>>2]==-1){v[h+16>>2]=v[r+328>>2];d=v[r+332>>2];v[h+68>>2]=6;v[h+20>>2]=d;Xc(h+72|0,13608,255);break zd}v[r+160>>2]=r+312;hi(T,296,r+160|0);v[r+144>>2]=r+308;if(Kd(T,282,r+144|0)){ea=z[r+308>>2];if(x[r+312>>1]==3){ea=C(C(ea*C(2.5399999618530273))+C(.5));z[r+308>>2]=ea}d=h;if(C(D(ea))>2]=r+308;if(Kd(T,283,r+128|0)){ea=z[r+308>>2];if(x[r+312>>1]==3){ea=C(C(ea*C(2.5399999618530273))+C(.5));z[r+308>>2]=ea}d=h;if(C(D(ea))>2]=r+304;if(Kd(T,286,r+112|0)){d=h;ea=z[r+304>>2];Ad:{if(C(D(ea))>2]=e}v[r+96>>2]=r+304;if(Kd(T,287,r+96|0)){d=h;ea=z[r+304>>2];Bd:{if(C(D(ea))>2]=e}v[h+336>>2]=-1;v[h+44>>2]=0;d=v[r+332>>2];if(d>>>0>2]){v[r+80>>2]=d;v[r+320>>2]=d;Id(T,278,r+80|0)}Cd:{Dd:{Ed:{Fd:{i=x[r+318>>1];if(i>>>0>6){break Fd}d=1<>1];switch(f-1|0){case 3:break Gd;case 0:break Hd;default:break Dd}}v[h+44>>2]=2;e=1;u[h+26>>1]=1;break Cd}v[h+44>>2]=16;e=4;u[h+26>>1]=4;break Cd}if(i-32844>>>0<2){break Ed}e=4;f=x[r+326>>1];if((f|0)!=4){break Dd}v[h+44>>2]=16;u[h+26>>1]=4;break Cd}e=24;u[h+26>>1]=24;m=1;break Cd}v[h+44>>2]=256;e=8;u[h+26>>1]=8;if((i|0)!=3|f>>>0<9){break Cd}v[h+44>>2]=0;e=24;u[h+26>>1]=24}if(v[h+332>>2]){Xc(h+72|0,16003,255);break zd}Zf(h,v[r+328>>2],v[r+332>>2],e,6);if(!v[h+4>>2]){Xc(h+72|0,18608,255);break zd}d=x[r+324>>1];if((d|0)==4){si(h);d=x[r+324>>1]}if(!((d&65535)!=2|x[r+326>>1]!=8)){si(h)}v[r+64>>2]=r+316;Kd(T,259,r- -64|0);KB(h,x[r+316>>1],0);Id:{Jd:{Kd:{Ld:{if(m){n=jc(B(v[r+328>>2],v[r+332>>2])<<2);if(!n){Xc(h+72|0,20537,255);break zd}q=v[r+328>>2];m=v[r+332>>2];f=0;p=0;F=Qb-1120|0;Qb=F;j=F+96|0;ic(j,0,1024);g=Qb-208|0;Qb=g;Md:{if(!v[T+512>>2]){e=w[2671]|w[2672]<<8|(w[2673]<<16|w[2674]<<24);d=w[2667]|w[2668]<<8|(w[2669]<<16|w[2670]<<24);t[j+46|0]=d;t[j+47|0]=d>>>8;t[j+48|0]=d>>>16;t[j+49|0]=d>>>24;t[j+50|0]=e;t[j+51|0]=e>>>8;t[j+52|0]=e>>>16;t[j+53|0]=e>>>24;e=w[2665]|w[2666]<<8|(w[2667]<<16|w[2668]<<24);d=w[2661]|w[2662]<<8|(w[2663]<<16|w[2664]<<24);t[j+40|0]=d;t[j+41|0]=d>>>8;t[j+42|0]=d>>>16;t[j+43|0]=d>>>24;t[j+44|0]=e;t[j+45|0]=e>>>8;t[j+46|0]=e>>>16;t[j+47|0]=e>>>24;e=w[2657]|w[2658]<<8|(w[2659]<<16|w[2660]<<24);d=w[2653]|w[2654]<<8|(w[2655]<<16|w[2656]<<24);t[j+32|0]=d;t[j+33|0]=d>>>8;t[j+34|0]=d>>>16;t[j+35|0]=d>>>24;t[j+36|0]=e;t[j+37|0]=e>>>8;t[j+38|0]=e>>>16;t[j+39|0]=e>>>24;e=w[2649]|w[2650]<<8|(w[2651]<<16|w[2652]<<24);d=w[2645]|w[2646]<<8|(w[2647]<<16|w[2648]<<24);t[j+24|0]=d;t[j+25|0]=d>>>8;t[j+26|0]=d>>>16;t[j+27|0]=d>>>24;t[j+28|0]=e;t[j+29|0]=e>>>8;t[j+30|0]=e>>>16;t[j+31|0]=e>>>24;e=w[2641]|w[2642]<<8|(w[2643]<<16|w[2644]<<24);d=w[2637]|w[2638]<<8|(w[2639]<<16|w[2640]<<24);t[j+16|0]=d;t[j+17|0]=d>>>8;t[j+18|0]=d>>>16;t[j+19|0]=d>>>24;t[j+20|0]=e;t[j+21|0]=e>>>8;t[j+22|0]=e>>>16;t[j+23|0]=e>>>24;e=w[2633]|w[2634]<<8|(w[2635]<<16|w[2636]<<24);d=w[2629]|w[2630]<<8|(w[2631]<<16|w[2632]<<24);t[j+8|0]=d;t[j+9|0]=d>>>8;t[j+10|0]=d>>>16;t[j+11|0]=d>>>24;t[j+12|0]=e;t[j+13|0]=e>>>8;t[j+14|0]=e>>>16;t[j+15|0]=e>>>24;e=w[2625]|w[2626]<<8|(w[2627]<<16|w[2628]<<24);d=w[2621]|w[2622]<<8|(w[2623]<<16|w[2624]<<24);t[j|0]=d;t[j+1|0]=d>>>8;t[j+2|0]=d>>>16;t[j+3|0]=d>>>24;t[j+4|0]=e;t[j+5|0]=e>>>8;t[j+6|0]=e>>>16;t[j+7|0]=e>>>24;break Md}d=x[T+84>>1];Nd:{if(!(1<>>0<=16:0)){v[g>>2]=d;zd(j,5170,g);break Nd}d=x[T+98>>1]-x[T+168>>1]|0;v[g+192>>2]=g+206;Od:{Pd:{Qd:{Rd:{Sd:{Td:{Ud:{if(!Kd(T,262,g+192|0)){f=1;Vd:{switch(d-1|0){case 2:break Md;case 0:break Ud;default:break Vd}}v[g+16>>2]=76768;zd(j,9878,g+16|0);break Nd}f=1;Wd:{i=x[g+206>>1];switch(i|0){case 6:case 8:break Md;case 4:case 7:break Od;case 5:break Rd;case 2:break Sd;case 0:case 1:case 3:break Td;default:break Wd}}switch(i-32844|0){case 1:break Pd;case 0:break Qd;default:break Od}}i=1;u[g+206>>1]=1}if(x[T+138>>1]!=1){break Md}e=x[T+98>>1];if((e|0)==1){break Md}d=x[T+84>>1];if(d>>>0>7){break Md}v[g+48>>2]=d;v[g+44>>2]=e;v[g+40>>2]=15730;v[g+36>>2]=i;v[g+32>>2]=76768;zd(j,13729,g+32|0);break Nd}if((d|0)>2){break Md}v[g+84>>2]=d;v[g+80>>2]=20330;zd(j,18773,g+80|0);break Nd}v[g+128>>2]=g+204;hi(T,332,g+128|0);d=x[g+204>>1];if((d|0)!=1){v[g+116>>2]=d;v[g+112>>2]=24670;zd(j,23178,g+112|0);break Nd}d=x[T+98>>1];if(d>>>0<=3){v[g+100>>2]=d;v[g+96>>2]=15730;zd(j,23178,g+96|0);break Nd}break Md}if(x[T+88>>1]==34676){break Md}v[g+148>>2]=34676;v[g+144>>2]=28415;zd(j,27043,g+144|0);break Nd}if((x[T+88>>1]&65534)!=34676){v[g+180>>2]=34676;v[g+184>>2]=34677;v[g+176>>2]=28415;zd(j,30232,g+176|0);break Nd}d=x[T+138>>1];if((d|0)==1){break Md}v[g+164>>2]=d;v[g+160>>2]=33087;zd(j,31874,g+160|0);break Nd}v[g+68>>2]=i;v[g+64>>2]=76768;zd(j,34933,g- -64|0)}f=0}Qb=g+208|0;Xd:{Yd:{if(!f){break Yd}J=F+96|0;d=0;I=Qb-512|0;Qb=I;f=F+8|0;v[f+76>>2]=0;v[f+80>>2]=0;v[f+44>>2]=0;v[f+36>>2]=0;v[f+40>>2]=0;u[f+30>>1]=4;v[f+4>>2]=1;v[f>>2]=T;v[I+464>>2]=f+24;hi(T,258,I+464|0);e=x[f+24>>1];Zd:{if(!(1<>>0<=16:0)){v[I>>2]=e;zd(J,5170,I);break Zd}v[f+12>>2]=0;v[I+448>>2]=f+26;hi(T,277,I+448|0);v[I+436>>2]=I+492;v[I+432>>2]=I+490;hi(T,338,I+432|0);_d:{if(!x[I+490>>1]){break _d}$d:{ae:{d=x[v[I+492>>2]>>1];switch(d|0){case 1:case 2:break $d;case 0:break ae;default:break _d}}d=1;if(x[f+26>>1]<=3){break _d}}v[f+12>>2]=d}i=f+32|0;v[I+416>>2]=i;if(!Kd(T,262,I+416|0)){u[f+32>>1]=0}d=x[f+26>>1];j=x[I+490>>1];be:{if(j){e=d;break be}e=4;j=0;if((d|0)!=4){e=d;break be}if(x[f+32>>1]!=2){break be}j=1;v[f+12>>2]=1;u[I+490>>1]=1}v[I+400>>2]=I+486;hi(T,259,I+400|0);v[I+384>>2]=I+488;hi(T,284,I+384|0);v[I+368>>2]=i;g=(e&65535)-j|0;ce:{de:{ee:{fe:{ge:{he:{ie:{je:{ke:{if(!Kd(T,262,I+368|0)){le:{switch(g-1|0){case 0:v[I+160>>2]=I+496;Kd(T,259,I+160|0);d=x[I+496>>1];if(!(d-2>>>0>=3&(d|0)!=32771)){u[f+32>>1]=0;break ke}u[f+32>>1]=1;break ke;case 2:break de;default:break le}}v[I+16>>2]=76768;zd(J,9878,I+16|0);d=0;break Zd}me:{ne:{d=x[f+32>>1];switch(d|0){case 8:break ce;case 4:case 7:break ee;case 5:break he;case 2:break ie;case 6:break je;case 0:case 1:break ke;case 3:break me;default:break ne}}switch(d-32844|0){case 1:break fe;case 0:break ge;default:break ee}}v[I+200>>2]=I+472;v[I+196>>2]=I+476;v[I+192>>2]=I+480;if(!Kd(T,320,I+192|0)){d=0;f=w[36221]|w[36222]<<8|(w[36223]<<16|w[36224]<<24);e=w[36217]|w[36218]<<8|(w[36219]<<16|w[36220]<<24);t[J+24|0]=e;t[J+25|0]=e>>>8;t[J+26|0]=e>>>16;t[J+27|0]=e>>>24;t[J+28|0]=f;t[J+29|0]=f>>>8;t[J+30|0]=f>>>16;t[J+31|0]=f>>>24;f=w[36213]|w[36214]<<8|(w[36215]<<16|w[36216]<<24);e=w[36209]|w[36210]<<8|(w[36211]<<16|w[36212]<<24);t[J+16|0]=e;t[J+17|0]=e>>>8;t[J+18|0]=e>>>16;t[J+19|0]=e>>>24;t[J+20|0]=f;t[J+21|0]=f>>>8;t[J+22|0]=f>>>16;t[J+23|0]=f>>>24;f=w[36205]|w[36206]<<8|(w[36207]<<16|w[36208]<<24);e=w[36201]|w[36202]<<8|(w[36203]<<16|w[36204]<<24);t[J+8|0]=e;t[J+9|0]=e>>>8;t[J+10|0]=e>>>16;t[J+11|0]=e>>>24;t[J+12|0]=f;t[J+13|0]=f>>>8;t[J+14|0]=f>>>16;t[J+15|0]=f>>>24;f=w[36197]|w[36198]<<8|(w[36199]<<16|w[36200]<<24);e=w[36193]|w[36194]<<8|(w[36195]<<16|w[36196]<<24);t[J|0]=e;t[J+1|0]=e>>>8;t[J+2|0]=e>>>16;t[J+3|0]=e>>>24;t[J+4|0]=f;t[J+5|0]=f>>>8;t[J+6|0]=f>>>16;t[J+7|0]=f>>>24;break Zd}i=2<>1];Ca=f,Ia=jc(i),v[Ca+36>>2]=Ia;Ca=f,Ia=jc(i),v[Ca+40>>2]=Ia;e=jc(i);v[f+44>>2]=e;d=v[f+36>>2];if(e?!d|!v[f+40>>2]:1){d=0;f=w[37138]|w[37139]<<8|(w[37140]<<16|w[37141]<<24);e=w[37134]|w[37135]<<8|(w[37136]<<16|w[37137]<<24);t[J+24|0]=e;t[J+25|0]=e>>>8;t[J+26|0]=e>>>16;t[J+27|0]=e>>>24;t[J+28|0]=f;t[J+29|0]=f>>>8;t[J+30|0]=f>>>16;t[J+31|0]=f>>>24;f=w[37130]|w[37131]<<8|(w[37132]<<16|w[37133]<<24);e=w[37126]|w[37127]<<8|(w[37128]<<16|w[37129]<<24);t[J+16|0]=e;t[J+17|0]=e>>>8;t[J+18|0]=e>>>16;t[J+19|0]=e>>>24;t[J+20|0]=f;t[J+21|0]=f>>>8;t[J+22|0]=f>>>16;t[J+23|0]=f>>>24;f=w[37122]|w[37123]<<8|(w[37124]<<16|w[37125]<<24);e=w[37118]|w[37119]<<8|(w[37120]<<16|w[37121]<<24);t[J+8|0]=e;t[J+9|0]=e>>>8;t[J+10|0]=e>>>16;t[J+11|0]=e>>>24;t[J+12|0]=f;t[J+13|0]=f>>>8;t[J+14|0]=f>>>16;t[J+15|0]=f>>>24;f=w[37114]|w[37115]<<8|(w[37116]<<16|w[37117]<<24);e=w[37110]|w[37111]<<8|(w[37112]<<16|w[37113]<<24);t[J|0]=e;t[J+1|0]=e>>>8;t[J+2|0]=e>>>16;t[J+3|0]=e>>>24;t[J+4|0]=f;t[J+5|0]=f>>>8;t[J+6|0]=f>>>16;t[J+7|0]=f>>>24;break Zd}oe(d,v[I+480>>2],i);oe(v[f+40>>2],v[I+476>>2],i);oe(v[f+44>>2],v[I+472>>2],i)}if(x[I+488>>1]!=1){break ce}i=x[f+26>>1];if((i|0)==1){break ce}e=x[f+24>>1];if(e>>>0>7){break ce}d=x[f+32>>1];v[I+144>>2]=e;v[I+140>>2]=i;v[I+136>>2]=15730;v[I+132>>2]=d;v[I+128>>2]=76768;zd(J,13729,I+128|0);d=0;break Zd}if(x[I+488>>1]!=1|x[I+486>>1]!=7){break ce}v[I+208>>2]=1;Id(T,65538,I+208|0);u[f+32>>1]=2;break ce}if((g|0)>2){break ce}v[I+228>>2]=g;v[I+224>>2]=20330;zd(J,18773,I+224|0);d=0;break Zd}v[I+272>>2]=I+496;hi(T,332,I+272|0);d=x[I+496>>1];if((d|0)!=1){v[I+260>>2]=d;v[I+256>>2]=24670;zd(J,23178,I+256|0);d=0;break Zd}d=x[f+26>>1];if(d>>>0>3){break ce}v[I+244>>2]=d;v[I+240>>2]=15730;zd(J,23178,I+240|0);d=0;break Zd}if(x[I+486>>1]!=34676){v[I+308>>2]=34676;v[I+304>>2]=28415;zd(J,27043,I+304|0);d=0;break Zd}v[I+288>>2]=3;Id(T,65560,I+288|0);u[f+32>>1]=1;u[f+24>>1]=8;break ce}if((x[I+486>>1]&65534)!=34676){v[I+356>>2]=34676;v[I+360>>2]=34677;v[I+352>>2]=28415;zd(J,30232,I+352|0);d=0;break Zd}d=x[I+488>>1];if((d|0)!=1){v[I+340>>2]=d;v[I+336>>2]=33087;zd(J,31874,I+336|0);d=0;break Zd}v[I+320>>2]=3;Id(T,65560,I+320|0);u[f+32>>1]=2;u[f+24>>1]=8;break ce}v[I+180>>2]=d;v[I+176>>2]=76768;zd(J,34933,I+176|0);d=0;break Zd}u[f+32>>1]=2}v[f+56>>2]=0;v[f+60>>2]=0;v[f+72>>2]=0;d=f- -64|0;v[d>>2]=0;v[d+4>>2]=0;v[I+112>>2]=f+16;Kd(T,256,I+112|0);v[I+96>>2]=f+20;Kd(T,257,I+96|0);v[I+80>>2]=f+28;hi(T,274,I+80|0);d=x[I+488>>1]!=2|(g|0)<2;v[f+8>>2]=d;e=v[v[f>>2]+12>>2]>>>10&1;if(d){v[f+52>>2]=0;v[f+48>>2]=e?395:396;oe:{pe:{qe:{switch(x[f+32>>1]){case 2:re:{switch(x[f+24>>1]-8|0){case 0:se:{switch(v[f+12>>2]-1|0){case 0:v[f+52>>2]=397;break pe;case 1:v[f+52>>2]=398;break pe;default:break se}}v[f+52>>2]=399;break pe;case 8:break re;default:break pe}}te:{switch(v[f+12>>2]-1|0){case 0:v[f+52>>2]=400;break pe;case 1:v[f+52>>2]=401;break pe;default:break te}}v[f+52>>2]=402;break pe;case 5:if(!nx(f)|x[f+24>>1]!=8){break pe}if(!v[f+56>>2]){v[f+52>>2]=403;break pe}v[f+52>>2]=404;break pe;case 3:if(!nx(f)){break pe}ue:{switch(x[f+24>>1]-1|0){case 7:v[f+52>>2]=405;break pe;case 3:v[f+52>>2]=406;break pe;case 1:v[f+52>>2]=407;break pe;case 0:break ue;default:break pe}}v[f+52>>2]=408;break pe;case 0:case 1:if(!nx(f)){break pe}ve:{switch(x[f+24>>1]-1|0){case 15:v[f+52>>2]=409;break pe;case 7:v[f+52>>2]=410;break pe;case 3:v[f+52>>2]=411;break pe;case 1:v[f+52>>2]=412;break pe;case 0:break ve;default:break pe}}v[f+52>>2]=413;break pe;case 6:if(x[f+24>>1]!=8){break pe}if(!DO(f)){break pe}d=v[f>>2];v[I+36>>2]=I+508;v[I+32>>2]=I+496;hi(d,530,I+32|0);d=414;we:{switch((x[I+508>>1]|x[I+496>>1]<<4)-17|0){case 49:v[f+52>>2]=415;break pe;case 48:v[f+52>>2]=416;break pe;case 17:v[f+52>>2]=417;break pe;case 16:v[f+52>>2]=418;break pe;case 1:v[f+52>>2]=419;break pe;case 0:d=420;break;case 51:break we;default:break pe}}v[f+52>>2]=d;break pe;case 8:break qe;default:break oe}}if(!nx(f)|x[f+24>>1]!=8){break pe}e=f;N=e;xe:{ye:{if(v[e+72>>2]){break ye}d=jc(18124);v[f+72>>2]=d;if(d){break ye}zc(v[v[f>>2]+628>>2],1027840,50140,0);d=0;break xe}d=v[f>>2];v[I+48>>2]=I+508;hi(d,318,I+48|0);v[I+500>>2]=1120403456;d=v[I+508>>2];ea=z[d+4>>2];z[I+496>>2]=C(z[d>>2]/ea)*C(100);z[I+504>>2]=C(C(C(C(1)-z[d>>2])-ea)/ea)*C(100);d=0;M=v[f+72>>2];v[M>>2]=1500;oe(M+28|0,1027720,84);K=v[M>>2];ua=C(C(z[M- -64>>2]-z[M+88>>2])/C(K|0));z[M+4>>2]=ua;ze:{Ae:{if((K|0)<=-1){z[M+8>>2]=ua;break Ae}da=1/+z[M+100>>2];na=+(K|0);E=K+1|0;g=E&1;ea=C(y[M+76>>2]);if(K){j=E&-2;o=M+112|0;while(1){Ca=o+(d<<2)|0,Ja=C(C(de(+(d|0)/na,da))*ea),z[Ca>>2]=Ja;i=d|1;Ca=o+(i<<2)|0,Ja=C(C(de(+(i|0)/na,da))*ea),z[Ca>>2]=Ja;d=d+2|0;j=j-2|0;if(j){continue}break}}if(g){Ca=M+(d<<2)|0,Ja=C(C(de(+(d|0)/na,da))*ea),z[Ca+112>>2]=Ja}z[M+8>>2]=ua;d=0;if((K|0)<0){break Ae}da=1/+z[M+104>>2];ea=C(y[M+80>>2]);if(K){j=E&-2;g=M+6116|0;while(1){Ca=g+(d<<2)|0,Ja=C(C(de(+(d|0)/na,da))*ea),z[Ca>>2]=Ja;i=d|1;Ca=g+(i<<2)|0,Ja=C(C(de(+(i|0)/na,da))*ea),z[Ca>>2]=Ja;d=d+2|0;j=j-2|0;if(j){continue}break}}if(E&1){Ca=(M+(d<<2)|0)+6116|0,Ja=C(C(de(+(d|0)/na,da))*ea),z[Ca>>2]=Ja}z[M+12>>2]=ua;d=0;if((K|0)<0){break ze}da=1/+z[M+108>>2];ea=C(y[M+84>>2]);if(K){j=E&-2;g=M+12120|0;while(1){Ca=g+(d<<2)|0,Ja=C(C(de(+(d|0)/na,da))*ea),z[Ca>>2]=Ja;i=d|1;Ca=g+(i<<2)|0,Ja=C(C(de(+(i|0)/na,da))*ea),z[Ca>>2]=Ja;d=d+2|0;j=j-2|0;if(j){continue}break}}if(!(E&1)){break ze}Ca=(M+(d<<2)|0)+12120|0,Ja=C(C(de(+(d|0)/na,da))*ea),z[Ca>>2]=Ja;break ze}z[M+12>>2]=ua}z[M+16>>2]=z[I+496>>2];z[M+20>>2]=z[I+500>>2];z[M+24>>2]=z[I+504>>2];d=421}v[N+52>>2]=d}if(!v[f+48>>2]){break oe}d=1;if(v[f+52>>2]){break Zd}}d=0;e=w[38642]|w[38643]<<8|(w[38644]<<16|w[38645]<<24);t[J+24|0]=e;t[J+25|0]=e>>>8;t[J+26|0]=e>>>16;t[J+27|0]=e>>>24;f=w[38638]|w[38639]<<8|(w[38640]<<16|w[38641]<<24);e=w[38634]|w[38635]<<8|(w[38636]<<16|w[38637]<<24);t[J+16|0]=e;t[J+17|0]=e>>>8;t[J+18|0]=e>>>16;t[J+19|0]=e>>>24;t[J+20|0]=f;t[J+21|0]=f>>>8;t[J+22|0]=f>>>16;t[J+23|0]=f>>>24;f=w[38630]|w[38631]<<8|(w[38632]<<16|w[38633]<<24);e=w[38626]|w[38627]<<8|(w[38628]<<16|w[38629]<<24);t[J+8|0]=e;t[J+9|0]=e>>>8;t[J+10|0]=e>>>16;t[J+11|0]=e>>>24;t[J+12|0]=f;t[J+13|0]=f>>>8;t[J+14|0]=f>>>16;t[J+15|0]=f>>>24;f=w[38622]|w[38623]<<8|(w[38624]<<16|w[38625]<<24);e=w[38618]|w[38619]<<8|(w[38620]<<16|w[38621]<<24);t[J|0]=e;t[J+1|0]=e>>>8;t[J+2|0]=e>>>16;t[J+3|0]=e>>>24;t[J+4|0]=f;t[J+5|0]=f>>>8;t[J+6|0]=f>>>16;t[J+7|0]=f>>>24;break Zd}v[f+52>>2]=0;v[f+48>>2]=e?422:423;Be:{Ce:{De:{switch(x[f+32>>1]-2|0){case 0:Ee:{switch(x[f+24>>1]-8|0){case 0:Fe:{switch(v[f+12>>2]-1|0){case 0:v[f+52>>2]=424;break Ce;case 1:v[f+52>>2]=425;break Ce;default:break Fe}}v[f+52>>2]=426;break Ce;case 8:break Ee;default:break Ce}}Ge:{switch(v[f+12>>2]-1|0){case 0:v[f+52>>2]=427;break Ce;case 1:v[f+52>>2]=428;break Ce;default:break Ge}}v[f+52>>2]=429;break Ce;case 4:break De;default:break Be}}if(x[f+24>>1]!=8|x[f+26>>1]!=3){break Ce}if(!DO(f)){break Ce}d=v[f>>2];v[I+68>>2]=I+508;v[I+64>>2]=I+496;hi(d,530,I- -64|0);if((x[I+508>>1]|x[I+496>>1]<<4)!=17){break Ce}v[f+52>>2]=430}if(!v[f+48>>2]){break Be}d=1;if(v[f+52>>2]){break Zd}}d=0;e=w[38642]|w[38643]<<8|(w[38644]<<16|w[38645]<<24);t[J+24|0]=e;t[J+25|0]=e>>>8;t[J+26|0]=e>>>16;t[J+27|0]=e>>>24;f=w[38638]|w[38639]<<8|(w[38640]<<16|w[38641]<<24);e=w[38634]|w[38635]<<8|(w[38636]<<16|w[38637]<<24);t[J+16|0]=e;t[J+17|0]=e>>>8;t[J+18|0]=e>>>16;t[J+19|0]=e>>>24;t[J+20|0]=f;t[J+21|0]=f>>>8;t[J+22|0]=f>>>16;t[J+23|0]=f>>>24;f=w[38630]|w[38631]<<8|(w[38632]<<16|w[38633]<<24);e=w[38626]|w[38627]<<8|(w[38628]<<16|w[38629]<<24);t[J+8|0]=e;t[J+9|0]=e>>>8;t[J+10|0]=e>>>16;t[J+11|0]=e>>>24;t[J+12|0]=f;t[J+13|0]=f>>>8;t[J+14|0]=f>>>16;t[J+15|0]=f>>>24;f=w[38622]|w[38623]<<8|(w[38624]<<16|w[38625]<<24);e=w[38618]|w[38619]<<8|(w[38620]<<16|w[38621]<<24);t[J|0]=e;t[J+1|0]=e>>>8;t[J+2|0]=e>>>16;t[J+3|0]=e>>>24;t[J+4|0]=f;t[J+5|0]=f>>>8;t[J+6|0]=f>>>16;t[J+7|0]=f>>>24}Qb=I+512|0;if(!d){break Yd}u[F+38>>1]=4;e=v[F+56>>2];He:{if(!e){d=v[F+8>>2];zc(v[d+628>>2],v[d>>2],40010,0);p=0;break He}if(!v[F+60>>2]){d=v[F+8>>2];zc(v[d+628>>2],v[d>>2],40977,0);p=0;break He}d=v[F+28>>2];p=Ub[e|0](F+8|0,n+(B(q,m-d|0)<<2)|0,q,d)|0}d=v[F+64>>2];if(d){dc(d);v[F+64>>2]=0}d=v[F+68>>2];if(d){dc(d);v[F+68>>2]=0}d=v[F+72>>2];if(d){dc(d);v[F+72>>2]=0}d=v[F+76>>2];if(d){dc(d);v[F+76>>2]=0}d=v[F+80>>2];if(d){dc(d);v[F+80>>2]=0}d=v[F+44>>2];if(d){dc(d);dc(v[F+48>>2]);dc(v[F+52>>2])}break Xd}e=v[T+628>>2];d=v[T>>2];v[F>>2]=F+96;zc(e,d,41879,F)}Qb=F+1120|0;if(!p){dc(n);Xc(h+72|0,24017,255);break zd}j=v[r+332>>2];if(j){i=v[h+56>>2];f=n;while(1){if(v[h+332>>2]){break Ld}e=0;d=i;if(v[r+328>>2]){while(1){g=(e<<2)+f|0;t[d|0]=x[g+2>>1];t[d+1|0]=v[g>>2]>>>8;t[d+2|0]=v[g>>2];if(x[r+324>>1]==4){gh(h,e,k,w[g+3|0])}d=d+3|0;e=e+1|0;g=v[r+328>>2];if(e>>>0>>0){continue}break}j=v[r+332>>2];e=g}i=v[h+52>>2]+i|0;f=(e<<2)+f|0;k=k+1|0;if(j>>>0>k>>>0){continue}break}}dc(n);break ud}d=x[r+318>>1];f=x[r+326>>1];if(!((d|0)!=3|f>>>0<25)){Xc(h+72|0,25236,255);break zd}W=(d|0)==3&f>>>0>8;ha=bd(W?1<>>0<8?f:8;Ie:{switch(d|0){case 0:case 1:if((f|0)==1){if((d|0)==1){u[ha+4>>1]=65535;t[ha+6|0]=255;f=1;break Jd}t[ha+2|0]=255;u[ha>>1]=65535;f=1;break Jd}m=1<>>0)|0;if((d|0)!=1){d=0;if(p){while(1){i=(d<<2)+ha|0;e=B(d,g)^-1;t[i+2|0]=e;t[i+1|0]=e;t[i|0]=e;e=d|1;i=(e<<2)+ha|0;e=B(e,g)^-1;t[i+2|0]=e;t[i+1|0]=e;t[i|0]=e;d=d+2|0;m=m-2|0;if(m){continue}break}}if(p){break Jd}e=(d<<2)+ha|0;d=B(d,g)^-1;t[e+2|0]=d;t[e+1|0]=d;t[e|0]=d;break Jd}d=0;if(p){while(1){i=(d<<2)+ha|0;e=B(d,g);t[i+2|0]=e;t[i+1|0]=e;t[i|0]=e;e=d|1;i=(e<<2)+ha|0;e=B(e,g);t[i+2|0]=e;t[i+1|0]=e;t[i|0]=e;d=d+2|0;m=m-2|0;if(m){continue}break}}if(p){break Jd}e=(d<<2)+ha|0;d=B(d,g);t[e+2|0]=d;t[e+1|0]=d;t[e|0]=d;break Jd;case 3:break Ie;default:break Jd}}v[r+48>>2]=r+300;v[r+52>>2]=r+296;v[r+56>>2]=r+292;Kd(T,320,r+48|0);Je:{Ke:{if(W){j=v[r+292>>2];i=v[r+296>>2];k=v[r+300>>2];break Ke}d=1<>2];i=v[r+296>>2];k=v[r+300>>2];while(1){if((d|0)<1){break Je}d=d-1|0;e=d<<1;if(x[e+k>>1]>255|x[e+i>>1]>255){break Ke}if(x[e+j>>1]<256){continue}break}}f=x[r+326>>1];d=-1<<(W?f:p)^-1;break Kd}f=x[r+326>>1];m=-1<<(W?f:p);d=m^-1;if(W){break Kd}e=d;g=d&d>>31;if(g+m&1){n=(d<<2)+ha|0;e=d<<1;t[n+2|0]=w[e+k|0];t[n+1|0]=w[e+i|0];t[n|0]=w[e+j|0];e=-2-m|0}if((d|0)==(g|0)){break Jd}while(1){g=(e<<2)+ha|0;d=e<<1;t[g+2|0]=w[d+k|0];t[g+1|0]=w[d+i|0];t[g|0]=w[d+j|0];d=e-1|0;g=(d<<2)+ha|0;d=d<<1;t[g+2|0]=w[d+k|0];t[g+1|0]=w[d+i|0];t[g|0]=w[d+j|0];d=(e|0)>1;e=e-2|0;if(d){continue}break}break Jd}dc(n);Xc(h+72|0,16003,255);break Id}while(1){g=(d<<2)+ha|0;e=d<<1;t[g+2|0]=x[e+k>>1]/257;t[g+1|0]=x[e+i>>1]/257;t[g|0]=x[e+j>>1]/257;e=(d|0)>0;d=d-1|0;if(e){continue}break}}if(!W){vn(h,ha,1<>1]}m=x[r+324>>1];n=v[r+328>>2];j=ir(T);g=v[h+32>>2];i=v[h+52>>2];p=x[r+326>>1];e=v[r+320>>2];d=x[r+324>>1];oa=v[T+12>>2]>>>10&1;v[r+300>>2]=0;v[r+296>>2]=0;f=B(m,B(n,f&65535))+7|0;Le:{if(!oa){e=B(e,i);d=B(d,g);d=(d|0)<(j|0)?d:j;d=B(p>>>0>8?(p|0)!=16?p+7>>>3|0:1:1,(e|0)>(d|0)?e:d);break Le}v[r+32>>2]=r+300;Kd(T,322,r+32|0);v[r+16>>2]=r+296;Kd(T,323,r+16|0);v[r+320>>2]=v[r+296>>2];d=B(Uk(T),(y[r+328>>2]/y[r+300>>2]|0)+1|0);E=jc(Uk(T))}g=f>>>3|0;e=x[r+326>>1];n=d<<((e|0)==16);q=jc(n);Me:{Ne:{Oe:{if(!((e|0)!=16|oa)){f=x[r+324>>1];e=v[r+328>>2];k=jc(d);if(k){break Oe}if(!q){break Me}dc(q);break Me}if(!q){break Me}o=0;ra=1;j=g;k=q;N=0;break Ne}j=B(e,f)&536870911;if(!q){ra=1;q=k;o=g;n=d;g=j;N=0;break Ne}va=jc(v[r+332>>2]);o=g;n=d;N=q}Pe:{Qe:{Re:{d=v[r+332>>2];Se:{if(!d){break Se}J=j&536870910;xa=j&1;I=j&536870908;F=j&3;ta=j-1|0;while(1){if(v[h+332>>2]){dc(k);Xc(h+72|0,16003,255);break Id}e=v[r+320>>2];p=e+ga>>>0>d>>>0?d-ga|0:e;Te:{if(oa){la=Di(T);s=Ll(T);if(!v[r+328>>2]){break Te}wa=la-s|0;ya=!p|!s;M=s&7;ba=s-1|0;ka=0;pa=0;ja=0;while(1){if((fr(T,E,pa,ga,0)|0)<0){break Re}Ue:{if(la>>>0>2]+ja>>>0){if(!p){break Ue}aa=la-ja|0;if(!aa){break Ue}d=B(s,ka);$=la+(d^-1)|0;ma=s-aa|0;G=wa+ma|0;K=la-d&7;d=k+ja|0;i=p;e=E;while(1){m=aa;f=K;if(f){while(1){t[d|0]=w[e|0];d=d+1|0;e=e+1|0;m=m-1|0;f=f-1|0;if(f){continue}break}}if($>>>0>=7){while(1){t[d|0]=w[e|0];t[d+1|0]=w[e+1|0];t[d+2|0]=w[e+2|0];t[d+3|0]=w[e+3|0];t[d+4|0]=w[e+4|0];t[d+5|0]=w[e+5|0];t[d+6|0]=w[e+6|0];t[d+7|0]=w[e+7|0];d=d+8|0;e=e+8|0;m=m-8|0;if(m){continue}break}}e=e+ma|0;d=d+G|0;i=i-1|0;if(i){continue}break}break Ue}if(ya){break Ue}d=k+ja|0;i=p;e=E;while(1){m=s;f=M;if(f){while(1){t[d|0]=w[e|0];d=d+1|0;e=e+1|0;m=m-1|0;f=f-1|0;if(f){continue}break}}if(ba>>>0>=7){while(1){t[d|0]=w[e|0];t[d+1|0]=w[e+1|0];t[d+2|0]=w[e+2|0];t[d+3|0]=w[e+3|0];t[d+4|0]=w[e+4|0];t[d+5|0]=w[e+5|0];t[d+6|0]=w[e+6|0];t[d+7|0]=w[e+7|0];d=d+8|0;e=e+8|0;m=m-8|0;if(m){continue}break}}d=d+wa|0;i=i-1|0;if(i){continue}break}}ka=ka+1|0;ja=s+ja|0;pa=v[r+300>>2]+pa|0;if(pa>>>0>2]){continue}break}break Te}if((gr(T,jr(T,ga,0),q,B(g,p))|0)==-1){break Se}}if(p){G=l-p|0;ba=0;while(1){aa=p+(ba^-1)|0;ma=B(aa,j);$=x[r+326>>1];Ve:{if(W|($|0)!=16){break Ve}We:{Xe:{if(!ra){if(j){s=B(o,aa);l=s+1|0;e=0;d=0;i=I;if(ta>>>0>=3){while(1){f=e<<1;M=w[N+(l+(f|6)|0)|0];K=w[N+(l+(f|4)|0)|0];m=w[N+(l+(f|2)|0)|0];f=w[N+(f+l|0)|0];d=f>>>0>(d&255)>>>0?f:d;d=m>>>0>(d&255)>>>0?m:d;d=K>>>0>(d&255)>>>0?K:d;d=M>>>0>(d&255)>>>0?M:d;e=e+4|0;i=i-4|0;if(i){continue}break}}i=F;if(i){while(1){f=w[N+(l+(e<<1)|0)|0];d=f>>>0>(d&255)>>>0?f:d;e=e+1|0;i=i-1|0;if(i){continue}break}}if(d&255){break Xe}e=8;break We}t[(v[r+332>>2]+(G+ba|0)|0)+va|0]=8;break Ve}m=v[r+328>>2];if(!m){break Ve}i=ma+1|0;d=0;if((m|0)!=1){f=m&-2;while(1){t[(d+ma|0)+k|0]=w[(i+(d<<1)|0)+k|0];e=d|1;t[(e+ma|0)+k|0]=w[(i+(e<<1)|0)+k|0];d=d+2|0;f=f-2|0;if(f){continue}break}}if(!(m&1)){break Ve}t[(d+ma|0)+k|0]=w[(i+(d<<1)|0)+k|0];break Ve}e=0;if(d<<24>>24<0){break We}while(1){e=e+1|0;d=d<<25>>24;if((d|0)>-1){continue}break}}t[(v[r+332>>2]+(G+ba|0)|0)+va|0]=e;if(!j){break Ve}i=8-e|0;d=0;f=J;if(ta){while(1){e=N+(s+(d<<1)|0)|0;t[(d+ma|0)+k|0]=(w[e|0]|w[e+1|0]<<8)>>>i;e=d|1;m=(e+ma|0)+k|0;e=N+(s+(e<<1)|0)|0;t[m|0]=(w[e|0]|w[e+1|0]<<8)>>>i;d=d+2|0;f=f-2|0;if(f){continue}break}}if(!xa){break Ve}e=(d+ma|0)+k|0;d=N+(s+(d<<1)|0)|0;t[e|0]=(w[d|0]|w[d+1|0]<<8)>>>i}Ye:{Ze:{switch(x[r+324>>1]-1|0){case 0:if(W){if(!ra){v1(v[h+56>>2]+B(v[h+52>>2],v[r+332>>2]+(G+ba|0)|0)|0,N+B(o,aa)|0,v[r+328>>2],$,ha);break Ye}v1(v[h+56>>2]+B(v[h+52>>2],v[r+332>>2]+(G+ba|0)|0)|0,k+ma|0,v[r+328>>2],$,ha);break Ye}if(!(($|0)!=16&($|0)!=x[h+26>>1])){d=v[h+52>>2];gc(v[h+56>>2]+B(d,v[r+332>>2]+(G+ba|0)|0)|0,k+ma|0,d>>>0>j>>>0?j:d);break Ye}P=v[h+56>>2]+B(v[h+52>>2],v[r+332>>2]+(G+ba|0)|0)|0;i=k+ma|0;e=v[r+328>>2];d=0;_e:{if($>>>0<=8){if((e|0)<1){break _e}m=-1<<$^-1;while(1){f=d+$|0;$e:{if((f|0)<=8){K=f-8|0;d=w[i|0]>>>8-f|0;break $e}K=f-8|0;d=w[i|0]<>>16-f;i=i+1|0}t[P|0]=d&m;d=f;f=(f|0)>7;d=f?K:d;P=P+1|0;i=(f&!K)+i|0;f=(e|0)>1;e=e-1|0;if(f){continue}break}break _e}if($>>>0<=15){if((e|0)<1){break _e}K=$-8|0;m=$+7|0;while(1){f=e;e=w[i|0]|w[i+1|0]<<8|(w[i+2|0]<<16|w[i+3|0]<<24);t[P|0]=(e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))>>>24-d;e=d+$|0;af:{if((e|0)>=8){e=(d+m|0)-((e|0)<15?e:15)|0;d=(d+K|0)-(e&-8)|0;i=i+1+(e>>>3)|0;break af}d=e}P=P+1|0;e=f-1|0;if((f|0)>=2){continue}break}break _e}if($>>>0>=32){if((e|0)<1){break _e}f=e-1|0;d=e&3;if(d){while(1){t[P|0]=w[i+3|0];i=i+4|0;P=P+1|0;e=e-1|0;d=d-1|0;if(d){continue}break}}if(f>>>0<3){break _e}while(1){t[P|0]=w[i+3|0];t[P+1|0]=w[i+7|0];t[P+2|0]=w[i+11|0];t[P+3|0]=w[i+15|0];i=i+16|0;P=P+4|0;d=(e|0)>4;e=e-4|0;if(d){continue}break}break _e}if((e|0)<1){break _e}K=$-8|0;m=$+7|0;while(1){f=e;e=w[i|0]|w[i+1|0]<<8|(w[i+2|0]<<16|w[i+3|0]<<24);M=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);e=d+$|0;t[P|0]=M>>>e-8;bf:{if((e|0)>=8){e=(d+m|0)-((e|0)<15?e:15)|0;d=(d+K|0)-(e&-8)|0;i=i+1+(e>>>3)|0;break bf}d=e}P=P+1|0;e=f-1|0;if((f|0)>=2){continue}break}}break Ye;case 1:d=v[r+332>>2];if(!v[h+964>>2]){si(h)}if(!j){break Ye}d=d+(G+ba|0)|0;f=0;e=0;while(1){i=(f+ma|0)+k|0;wn(h,e,d,w[i|0]);gh(h,e,d,w[i+1|0]);m=e+1|0;i=v[r+328>>2];e=(i|0)>(m|0)?m:0;d=d-((i|0)<=(m|0))|0;f=f+2|0;if(j>>>0>f>>>0){continue}break};break Ye;default:break Ze}}cf:{if(x[h+26>>1]==24){break cf}Zf(h,v[r+328>>2],v[r+332>>2],24,6);if(x[r+324>>1]!=4){break cf}si(h)}if(!v[r+328>>2]){break Ye}d=v[r+332>>2]+(G+ba|0)|0;f=0;e=0;while(1){i=0;$=0;M=ma+B(x[r+324>>1],f)|0;m=M+2|0;if((m|0)<(n|0)){m=t[k+m|0];i=m&255;$=(m|0)<0?i|-256:i;K=k+M|0;m=t[K+1|0];i=m&255;i=(m|0)<0?i|-256:i;m=w[K|0]}else{m=0}da=(+(m|0)/2.55+16)/116;za=de(da+ +($|0)*-.005,3)*1.0883;na=za*1.057311;Aa=de(+(i|0)*.002+da,3)*.95047;qa=de(da,3);da=Aa*.055648+qa*-.204043;Ba=za*.041556+(qa*1.875992+Aa*-.969256);qa=Aa*3.240479+qa*-1.53715+za*-.498535;df:{if(qa>.00304){qa=de(qa,.41667)*1.055+-.055;break df}qa=qa*12.92}da=na+da;ef:{if(Ba>.00304){na=de(Ba,.41667)*1.055+-.055;break ef}na=Ba*12.92}ff:{if(da>.00304){da=de(da,.41667)*1.055+-.055;break ff}da=da*12.92}K=r;qa=qa*255;gf:{if(D(qa)<2147483648){m=~~qa;break gf}m=-2147483648}i=(m|0)<255?m:255;t[K+290|0]=(i|0)>0?i:0;K=r;na=na*255;hf:{if(D(na)<2147483648){m=~~na;break hf}m=-2147483648}i=(m|0)<255?m:255;t[K+289|0]=(i|0)>0?i:0;K=r;da=da*255;jf:{if(D(da)<2147483648){m=~~da;break jf}m=-2147483648}i=(m|0)<255?m:255;t[K+288|0]=(i|0)>0?i:0;v[r+12>>2]=v[r+288>>2];Yv(h,e,d,r+12|0);if(x[r+324>>1]==4){gh(h,e,d,w[(k+M|0)+3|0])}m=e+1|0;i=v[r+328>>2];e=(i|0)>(m|0)?m:0;d=d-((i|0)<=(m|0))|0;f=f+1|0;if(i>>>0>f>>>0){continue}break}}ba=ba+1|0;if(p>>>0>ba>>>0){continue}break}}ga=v[r+320>>2]+ga|0;l=0-ga|0;d=v[r+332>>2];if(ga>>>0>>0){continue}break}}dc(k);if(!ra){dc(N)}if(W|(!va|x[r+324>>1]!=1|x[r+326>>1]!=16)){break Pe}$=v[r+332>>2];if(!$){break Pe}e=$&3;if($-1>>>0<3){d=0;f=8;break Qe}m=$&-4;d=0;f=8;while(1){j=w[(d|3)+va|0];n=w[(d|2)+va|0];g=w[(d|1)+va|0];i=w[d+va|0];f=(f|0)>(i|0)?i:f;f=(f|0)>(g|0)?g:f;f=(f|0)>(n|0)?n:f;f=(f|0)>(j|0)?j:f;d=d+4|0;m=m-4|0;if(m){continue}break}break Qe}dc(E);dc(k);Xc(h+72|0,30879,255);break Id}if(e){while(1){i=w[d+va|0];f=(f|0)>(i|0)?i:f;d=d+1|0;e=e-1|0;if(e){continue}break}}if(!$){break Pe}k=0;while(1){d=w[k+va|0];if(!(!v[r+328>>2]|(d|0)<=(f|0))){i=d-f|0;d=v[h+56>>2]+B(v[h+52>>2],k)|0;e=0;while(1){t[d|0]=w[d|0]>>>i;d=d+1|0;e=e+1|0;if(e>>>0>2]){continue}break}$=v[r+332>>2]}k=k+1|0;if($>>>0>k>>>0){continue}break}}if(va){dc(va)}if(oa){dc(E)}if(ha){dc(ha)}kf:{switch(x[r+314>>1]-2|0){case 1:RA(h);Wv(h);break ud;case 2:RA(h);break ud;case 3:A1(h);Wv(h);break ud;case 4:B1(h);break ud;case 5:B1(h);Wv(h);break ud;case 6:A1(h);break ud;case 0:break kf;default:break ud}}Wv(h);break ud}if(ha){dc(ha)}if(E){dc(E)}Xc(h+72|0,28184,255)}if(!T){break vd}}rr(T)}d=v[h+332>>2]==-1&v[h+68>>2]==6;break td}rr(T);d=1}Qb=r+336|0;if(d){break b}v[a+356>>2]=v[h+356>>2];ce(a+72|0,fa+72|0);Ub[v[v[b>>2]+20>>2]](b,sa,0)|0;Ub[v[v[h>>2]+4>>2]](h);if(c){break c}}fa=fc(1028);h=J0(fa);lh(h,a);e=0;lf:{if(!b){break lf}d=S1(h+980|0);v[h+976>>2]=d;if(!d){Xc(h+72|0,5602,255);break lf}v[h+980>>2]=b;if(!(!d|v[d>>2]!=1381173770)){t[d+87|0]=1}d=v[h+976>>2];if(!(!d|v[d>>2]!=1381173770)){t[d+86|0]=0;u[d+84>>1]=65535;u[d+82>>1]=65535;u[d+80>>1]=65535}d=v[h+976>>2];if(!(!d|v[d>>2]!=1381173770)){t[d+86|0]=1}d=v[h+976>>2];if(!(!d|v[d>>2]!=1381173770)){t[d+112|0]=0}d=v[h+976>>2];mf:{if(!d|v[d>>2]!=1381173770){break mf}if(w[d+344|0]){pc(d,11,0,0);break mf}t[d+370|0]=0}d=v[h+976>>2];if(!(!d|v[d>>2]!=1381173770)){v[d+180>>2]=109}if(!(!d|v[d>>2]!=1381173770)){v[d+164>>2]=110}if(!(!d|v[d>>2]!=1381173770)){v[d+168>>2]=111}if(!(!d|v[d>>2]!=1381173770)){v[d+172>>2]=112}if(!(!d|v[d>>2]!=1381173770)){v[d+188>>2]=113}if(!(!d|v[d>>2]!=1381173770)){v[d+220>>2]=114}if(!(!d|v[d>>2]!=1381173770)){v[d+232>>2]=115}if(!(!d|v[d>>2]!=1381173770)){v[d+236>>2]=116}if(!(!d|v[d>>2]!=1381173770)){v[d+240>>2]=117}if(!(!d|v[d>>2]!=1381173770)){v[d+232>>2]=115}if(!(!d|v[d>>2]!=1381173770)){v[d+228>>2]=118}v[h+356>>2]=0;e=2;nf:{of:{pf:{f=v[h+976>>2];i=f;qf:{if(!f|v[f>>2]!=1381173770){break qf}if(!v[i+152>>2]|!v[i+156>>2]|(!v[i+172>>2]|!v[i+220>>2])){break pf}if(!v[i+232>>2]){break pf}d=v[i+236>>2];if(!d|!v[i+240>>2]){break pf}if((w[i+432|0]?1:w[i+344|0])|(w[i+416|0]?1:w[i+417|0])){break of}t[i+496|0]=1;t[i+432|0]=1;t[i+344|0]=1;v[i+148>>2]=0;v[i+140>>2]=0;v[i+144>>2]=0;t[i+136|0]=0;v[i+132>>2]=0;v[i+480>>2]=0;v[i+444>>2]=0;v[i+436>>2]=0;v[i+440>>2]=0;v[i+464>>2]=0;v[i+468>>2]=0;t[i+469|0]=0;t[i+470|0]=0;t[i+471|0]=0;t[i+472|0]=0;t[i+473|0]=0;t[i+474|0]=0;t[i+475|0]=0;t[i+476|0]=0;d=Ub[d|0](i)|0;v[i+492>>2]=0;v[i+488>>2]=d;v[i+364>>2]=0;v[i+484>>2]=d;rf:{sf:{d=v[i+164>>2];if(!d){break sf}if(Ub[d|0](i)|0){break sf}d=901;break rf}d=q1(i)}e=4;tf:{switch(w[i+346|0]){case 1:t[i+344|0]=0;AJ(i);break;case 0:break tf;default:break qf}}e=d;if(d){break qf}if(w[i+368|0]){Ca=i,Ia=Ub[v[i+236>>2]](i)|0,v[Ca+364>>2]=Ia;d=14;break nf}e=15;if(w[i+497|0]){break qf}e=16;if(w[i+499|0]){break qf}e=0;t[i+496|0]=0;if(!w[i+500|0]){break qf}t[i+500|0]=0}d=e;break nf}pc(i,3,0,0);d=3;break nf}pc(i,11,0,0);d=11}if(!(!d|(d|0)==15)){e=0;g=0;i=v[h+976>>2];if(i){v[i+144>>2]=0;v[i+140>>2]=0;v[i+132>>2]=d;m=44;f=88;n=i;uf:{vf:{while(1){j=v[(m<<3)+192128>>2];wf:{if((j|0)<(d|0)){g=m+1|0;break wf}if((d|0)>=(j|0)){break vf}f=m-1|0}m=f+g>>1;if((f|0)>=(g|0)){continue}break}f=1599;break uf}f=v[(m<<3)+192132>>2]}v[n+148>>2]=f;f=0;xf:{if(!d){break xf}d=d&15360;f=5;if((d|0)==2048){break xf}yf:{if((d|0)!=8192){if((d|0)!=4096){break yf}f=2;break xf}f=1;break xf}f=9}t[i+136|0]=f}d=v[v[h+976>>2]+148>>2];if(d){if(!w[d|0]){break lf}Xc(h+72|0,d,255);break lf}Xc(h+72|0,13388,255);break lf}zf:{if(v[h+332>>2]!=-1){if(w[f+344|0]){while(1){d=R1(v[h+976>>2]);v[h+356>>2]=v[h+356>>2]+1;if(w[f+344|0]){continue}break}}Af:{if((d|0)!=15){d=v[h+356>>2]-1|0;v[h+356>>2]=d;break Af}t[h+1014|0]=1;d=v[h+356>>2]}if((d|0)<=0){v[h+356>>2]=1;d=1}Bf:{if(w[h+1015|0]){break Bf}e=v[h+352>>2];if((e|0)<0|(e|0)>=(d|0)){break zf}if((e|0)<1){break Bf}d=0;while(1){R1(v[h+976>>2]);d=d+1|0;if((d|0)>2]){continue}break}}d=v[h+1020>>2];if((d|0)>=0){v[h+336>>2]=d;t[h+342|0]=w[h+1026|0];u[h+340>>1]=x[h+1024>>1]}if(Zf(h,v[h+1e3>>2],v[h+1004>>2],u[h+1012>>1],17)){gc(xe(h,0),v[h+984>>2],B(v[h+20>>2],v[h+52>>2]));m=0;d=v[h+4>>2];Cf:{if(!d){break Cf}f=v[h+44>>2];if(!f){if(v[h+20>>2]<=0){break Cf}while(1){g=xe(h,m);Df:{if(!g|v[h+44>>2]){break Df}e=B(v[h+16>>2],3);d=v[h+52>>2];d=(e|0)<(d|0)?e:d;if((d|0)<1){break Df}f=d-1|0;d=((f>>>0)/3|0)+1|0;e=d&1;i=0;if(f>>>0>=3){f=d&2147483646;while(1){n=g+i|0;d=w[n+2|0];t[n+2|0]=w[n|0];t[n|0]=d;d=w[n+3|0];t[n+3|0]=w[n+5|0];t[n+5|0]=d;i=i+6|0;f=f-2|0;if(f){continue}break}}if(!e){break Df}e=g+i|0;d=w[e+2|0];t[e+2|0]=w[e|0];t[e|0]=d}m=m+1|0;if((m|0)>2]){continue}break}break Cf}e=d+40|0;d=0;i=0;while(1){g=e+(d<<2)|0;d=w[g+2|0];t[g+2|0]=w[g|0];t[g|0]=d;i=i+1|0;d=i&65535;if(f>>>0>d>>>0){continue}break}}si(h);e=1;if(!v[h+964>>2]|!v[h+988>>2]){break lf}gc(oB(h),v[h+988>>2],B(v[h+1004>>2],v[h+1e3>>2]));break lf}Xc(h+72|0,18569,255);e=0;break lf}d=v[h+976>>2];v[h+16>>2]=v[d+16>>2];v[h+20>>2]=v[d+20>>2];v[h+68>>2]=17;e=1;break lf}Xc(h+72|0,15872,255);e=0}if(e){break a}v[a+356>>2]=v[h+356>>2];ce(a+72|0,h+72|0);Ub[v[v[b>>2]+20>>2]](b,sa,0)|0;Ub[v[v[fa>>2]+4>>2]](h);if(c){break c}}h=fc(976);fa=gf(h,7);v[h>>2]=39472;lh(fa,a);e=0;m=Qb-800|0;Qb=m;Ef:{if(!b){break Ef}if(!(Ub[v[v[b>>2]+12>>2]](b,m+776|0,18,1,0,0)|0)){Xc(h+72|0,3154,255);break Ef}d=(w[m+779|0]|w[m+780|0]<<8)<<16>>16;d=w[h+494|0]?d:d<<8|(d&65280)>>>8;t[m+779|0]=d;t[m+780|0]=d>>>8;d=(w[m+781|0]|w[m+782|0]<<8)<<16>>16;d=w[h+494|0]?d:d<<8|(d&65280)>>>8;t[m+781|0]=d;t[m+782|0]=d>>>8;d=u[m+784>>1];u[m+784>>1]=w[h+494|0]?d:d<<8|(d&65280)>>>8;d=u[m+786>>1];u[m+786>>1]=w[h+494|0]?d:d<<8|(d&65280)>>>8;d=u[m+788>>1];u[m+788>>1]=w[h+494|0]?d:d<<8|(d&65280)>>>8;d=u[m+790>>1];f=(w[h+494|0]?d:d<<8|(d&65280)>>>8)<<16>>16;u[m+790>>1]=f;i=w[m+778|0]-1|0;d=i&255;if(!(d>>>0>=11|!(1799>>>d&1))){Ff:{g=x[m+788>>1];Gf:{if(!g|!f){break Gf}e=w[m+792|0];if(!e){break Gf}if((w[m+781|0]|w[m+782|0]<<8)>>>0<257){break Ff}}Xc(h+72|0,9635,255);e=0;break Ef}d=e-8|0;if(!(1<>>0<=24:0)){Xc(h+72|0,9635,255);e=0;break Ef}if(v[h+332>>2]==-1){v[h+68>>2]=7;v[h+20>>2]=f&65535;v[h+16>>2]=g;e=1;break Ef}d=w[m+776|0];if(d){Ub[v[v[b>>2]+20>>2]](b,d,1)|0;g=x[m+788>>1];f=x[m+790>>1];e=w[m+792|0]}Zf(h,g,f&65535,e&255,7);if(w[m+792|0]==32){si(h)}if(!v[h+4>>2]){Xc(h+72|0,13711,255);e=0;break Ef}if(v[h+332>>2]){Xc(h+72|0,16003,255);e=0;break Ef}Hf:{if(!w[m+777|0]){break Hf}e=0;Ub[v[v[b>>2]+12>>2]](b,m,B(w[m+781|0]|w[m+782|0]<<8,3),1,0,0)|0;if(!(w[m+781|0]|w[m+782|0]<<8)){break Hf}while(1){d=m+B(e,3)|0;_o(h,e&255,w[d+2|0],w[d+1|0],w[d|0],0);e=e+1|0;if(e>>>0<(w[m+781|0]|w[m+782|0]<<8)>>>0){continue}break}}if((w[m+778|0]&247)==3){Eq(h)}g=w[m+793|0];n=g&32;e=0;f=xe(h,0);If:{Jf:{if(!x[m+790>>1]){break Jf}i=1792>>>i&1;Kf:{if(n){k=255;while(1){if(v[h+332>>2]){break If}if(Ub[v[v[b>>2]+36>>2]](b)|0){break Kf}d=x[m+790>>1]+(e^-1)|0;if(!((d|0)<0|(d|0)>v[h+20>>2])){f=xe(h,0)+B(d,v[h+52>>2])|0}d=x[m+788>>1];Lf:{if(!i){cJ(h,f,m+776|0,b,d,e,0);break Lf}k=K0(h,f,m+776|0,b,d,e,k&255)}e=e+1|0;if(e>>>0>1]){continue}break}break Jf}if(!i){while(1){if(v[h+332>>2]){break If}if(Ub[v[v[b>>2]+36>>2]](b)|0){break Kf}d=h;i=d;if(v[d+20>>2]>=(e|0)){f=xe(h,0)+B(v[h+52>>2],e)|0}cJ(i,f,m+776|0,b,x[m+788>>1],e,0);e=e+1|0;if(e>>>0>1]){continue}break Jf}}i=255;while(1){if(v[h+332>>2]){break If}if(Ub[v[v[b>>2]+36>>2]](b)|0){break Kf}d=h;j=d;if(v[d+20>>2]>=(e|0)){f=xe(h,0)+B(v[h+52>>2],e)|0}i=K0(j,f,m+776|0,b,x[m+788>>1],e,i&255);e=e+1|0;if(e>>>0>1]){continue}break}break Jf}Xc(h+72|0,18994,255);e=0;break Ef}if(g&16){Wv(h)}e=1;if(!n|w[m+792|0]!=32){break Ef}R2(h);break Ef}Xc(h+72|0,16003,255);e=0;break Ef}Xc(h+72|0,5697,255)}Qb=m+800|0;if(e){break b}ce(a+72|0,fa+72|0);Ub[v[v[b>>2]+20>>2]](b,sa,0)|0;Ub[v[v[h>>2]+4>>2]](h);if(!c){break l}break c}if(c&-9){break k}}h=fc(976);fa=gf(h,8);v[h>>2]=39516;lh(fa,a);d=0;q=Qb-912|0;Qb=q;Mf:{Nf:{if(!b){break Nf}if(!(Ub[v[v[b>>2]+12>>2]](b,q+784|0,128,1,0,0)|0)){Xc(h+72|0,2464,255);break Mf}e=u[q+788>>1];u[q+788>>1]=w[h+494|0]?e:e<<8|(e&65280)>>>8;e=u[q+790>>1];u[q+790>>1]=w[h+494|0]?e:e<<8|(e&65280)>>>8;e=u[q+792>>1];u[q+792>>1]=w[h+494|0]?e:e<<8|(e&65280)>>>8;e=u[q+794>>1];u[q+794>>1]=w[h+494|0]?e:e<<8|(e&65280)>>>8;e=u[q+796>>1];u[q+796>>1]=w[h+494|0]?e:e<<8|(e&65280)>>>8;e=u[q+798>>1];u[q+798>>1]=w[h+494|0]?e:e<<8|(e&65280)>>>8;e=u[q+850>>1];u[q+850>>1]=w[h+494|0]?e:e<<8|(e&65280)>>>8;e=u[q+852>>1];u[q+852>>1]=w[h+494|0]?e:e<<8|(e&65280)>>>8;if(w[q+784|0]!=10){Xc(h+72|0,5742,255);break Nf}if(w[q+786|0]!=1){Xc(h+72|0,10141,255);break Nf}g=x[q+788>>1];i=x[q+792>>1];f=x[q+790>>1];e=x[q+794>>1];v[h+364>>2]=x[q+796>>1];v[h+368>>2]=x[q+798>>1];Of:{i=i-g|0;if((i|0)>=0){K=e-f|0;if((K|0)>-1){break Of}}Xc(h+72|0,5742,255);break Mf}f=K+1|0;m=i+1|0;if(v[h+332>>2]==-1){v[h+68>>2]=8;v[h+20>>2]=f;v[h+16>>2]=m;d=1;break Mf}d=t[q+849|0];if((d|0)>=5){Xc(h+72|0,12913,255);break Nf}e=t[q+787|0];Pf:{if(!((e|0)!=8|(d|0)<3)){Zf(h,m,f,24,8);if(w[q+849|0]!=4){break Pf}si(h);break Pf}if(!((d|0)!=4|(e|0)!=1)){Zf(h,m,f,4,8);break Pf}Zf(h,m,f,e,8)}if(v[h+332>>2]){Xc(h+72|0,16003,255);break Nf}g=B(t[q+849|0],B(f,x[q+850>>1]));p=jc(g);if(p){if((g|0)>0){d=p;f=g;while(1){if(Ub[v[v[b>>2]+36>>2]](b)|0){Xc(h+72|0,18872,255);dc(p);break Nf}Ub[v[v[b>>2]+12>>2]](b,q+783|0,1,1,0,0)|0;n=w[q+783|0];Qf:{if((n&192)!=192){t[d|0]=n;f=f-1|0;d=d+1|0;break Qf}Ub[v[v[b>>2]+12>>2]](b,q+783|0,1,1,0,0)|0;k=n&63;if((k|0)>(f|0)){Xc(h+72|0,20723,255);dc(p);break Nf}f=f-k|0;if(!k){break Qf}e=k-1|0;j=n&7;if(j){while(1){t[d|0]=w[q+783|0];d=d+1|0;k=k-1|0;j=j-1|0;if(j){continue}break}}if(e>>>0<7){break Qf}while(1){t[d|0]=w[q+783|0];e=w[q+783|0];t[d+3|0]=e;t[d+2|0]=e;t[d+1|0]=e;e=w[q+783|0];t[d+6|0]=e;t[d+5|0]=e;t[d+4|0]=e;t[d+7|0]=w[q+783|0];d=d+8|0;e=(k|0)>8;k=k-8|0;if(e){continue}break}}if((f|0)>0){continue}break}}e=q;f=w[e+833|0]|w[e+834|0]<<8|(w[e+835|0]<<16|w[e+836|0]<<24);d=w[e+829|0]|w[e+830|0]<<8|(w[e+831|0]<<16|w[e+832|0]<<24);t[e+29|0]=d;t[e+30|0]=d>>>8;t[e+31|0]=d>>>16;t[e+32|0]=d>>>24;t[e+33|0]=f;t[e+34|0]=f>>>8;t[e+35|0]=f>>>16;t[e+36|0]=f>>>24;d=w[e+837|0]|w[e+838|0]<<8|(w[e+839|0]<<16|w[e+840|0]<<24);t[e+37|0]=d;t[e+38|0]=d>>>8;t[e+39|0]=d>>>16;t[e+40|0]=d>>>24;d=w[e+841|0]|w[e+842|0]<<8;t[e+41|0]=d;t[e+42|0]=d>>>8;t[e+43|0]=w[e+843|0];t[e|0]=w[e+800|0];d=w[e+801|0]|w[e+802|0]<<8|(w[e+803|0]<<16|w[e+804|0]<<24);t[e+1|0]=d;t[e+2|0]=d>>>8;t[e+3|0]=d>>>16;t[e+4|0]=d>>>24;f=w[e+809|0]|w[e+810|0]<<8|(w[e+811|0]<<16|w[e+812|0]<<24);d=w[e+805|0]|w[e+806|0]<<8|(w[e+807|0]<<16|w[e+808|0]<<24);t[e+5|0]=d;t[e+6|0]=d>>>8;t[e+7|0]=d>>>16;t[e+8|0]=d>>>24;t[e+9|0]=f;t[e+10|0]=f>>>8;t[e+11|0]=f>>>16;t[e+12|0]=f>>>24;f=w[e+817|0]|w[e+818|0]<<8|(w[e+819|0]<<16|w[e+820|0]<<24);d=w[e+813|0]|w[e+814|0]<<8|(w[e+815|0]<<16|w[e+816|0]<<24);t[e+13|0]=d;t[e+14|0]=d>>>8;t[e+15|0]=d>>>16;t[e+16|0]=d>>>24;t[e+17|0]=f;t[e+18|0]=f>>>8;t[e+19|0]=f>>>16;t[e+20|0]=f>>>24;f=w[e+825|0]|w[e+826|0]<<8|(w[e+827|0]<<16|w[e+828|0]<<24);d=w[e+821|0]|w[e+822|0]<<8|(w[e+823|0]<<16|w[e+824|0]<<24);t[e+21|0]=d;t[e+22|0]=d>>>8;t[e+23|0]=d>>>16;t[e+24|0]=d>>>24;t[e+25|0]=f;t[e+26|0]=f>>>8;t[e+27|0]=f>>>16;t[e+28|0]=f>>>24;v[e+44>>2]=v[e+844>>2];Rf:{Sf:{Tf:{Uf:{k=w[e+787|0];d=w[e+849|0];if(!((k|0)!=8|(d|0)!=1)){d=0;Ub[v[v[b>>2]+12>>2]](b,q+783|0,1,1,0,0)|0;if(w[q+783|0]!=12){break Uf}while(1){e=q+B(d,3)|0;Ub[v[v[b>>2]+12>>2]](b,e,1,1,0,0)|0;Ub[v[v[b>>2]+12>>2]](b,e+1|0,1,1,0,0)|0;Ub[v[v[b>>2]+12>>2]](b,e+2|0,1,1,0,0)|0;d=d+1|0;if((d|0)!=256){continue}break}k=w[q+787|0];d=w[q+849|0]}if(!((k&255)!=1|(d&255)!=1)){u[q+2>>1]=65280;u[q+4>>1]=65535;u[q>>1]=0}if(v[h+44>>2]){d=0;while(1){e=q+B(d,3)|0;_o(h,d&255,w[e|0],w[e+1|0],w[e+2|0],0);d=d+1|0;if(d>>>0>2]){continue}break}}f=jc(m+(x[q+850>>1]<<3)|0);if(!f){break Rf}E=K+1|0;r=i+1|0;j=0;while(1){if(v[h+332>>2]){Xc(h+72|0,16003,255);break Sf}e=w[q+849|0];F=e<<24>>24;k=x[q+850>>1];i=p+B(F,B(j,k))|0;M=K-j|0;n=w[q+787|0];Vf:{Wf:{if((e|0)!=3){break Wf}d=0;if((n|0)!=8){break Wf}while(1){e=k&65535;B2(h,d,M,w[d+i|0]|w[(e+d|0)+i|0]<<8|w[((e<<1)+d|0)+i|0]<<16);d=d+1|0;if((r|0)==(d|0)){break Vf}k=x[q+850>>1];continue}}Xf:{if((e|0)!=4){break Xf}d=0;if((n|0)!=8){break Xf}while(1){e=k&65535;B2(h,d,M,w[d+i|0]|w[(e+d|0)+i|0]<<8|w[((e<<1)+d|0)+i|0]<<16);e=B(x[q+850>>1],3)+d|0;if(e>>>0>>0){gh(h,d,M,w[e+i|0])}d=d+1|0;if((r|0)==(d|0)){break Vf}k=x[q+850>>1];continue}}Yf:{if((e|0)==1){m=f;e=k<<16>>16;Zf:{_f:{switch((n<<24>>24)-1|0){case 0:if((e|0)<=0){break Zf}while(1){d=w[i|0];t[m+7|0]=d&1;t[m|0]=d>>>7;t[m+6|0]=d>>>1&1;t[m+5|0]=d>>>2&1;t[m+4|0]=d>>>3&1;t[m+3|0]=d>>>4&1;t[m+2|0]=d>>>5&1;t[m+1|0]=d>>>6&1;m=m+8|0;i=i+1|0;d=e<<16;e=e-1|0;if(d>>16>1){continue}break};break Zf;case 1:if((e|0)<1){break Zf}if(e&1){d=w[i|0];t[m+3|0]=d&3;t[m|0]=d>>>6;t[m+2|0]=d>>>2&3;t[m+1|0]=d>>>4&3;m=m+4|0;i=i+1|0;d=e-1|0}else{d=e}if((e|0)==1){break Zf}while(1){e=w[i|0];t[m+3|0]=e&3;t[m|0]=e>>>6;t[m+2|0]=e>>>2&3;t[m+1|0]=e>>>4&3;e=w[i+1|0];t[m+7|0]=e&3;t[m+4|0]=e>>>6;t[m+6|0]=e>>>2&3;t[m+5|0]=e>>>4&3;m=m+8|0;i=i+2|0;e=d<<16;d=d-2|0;if(e>>16>2){continue}break};break Zf;case 3:if((e|0)<1){break Zf}o=e-1|0;d=e&3;if(d){while(1){n=w[i|0];t[m+1|0]=n&15;t[m|0]=n>>>4;m=m+2|0;i=i+1|0;e=e-1|0;d=d-1|0;if(d&65535){continue}break}}if((o&65535)>>>0<3){break Zf}while(1){d=w[i|0];t[m+1|0]=d&15;t[m|0]=d>>>4;d=w[i+1|0];t[m+3|0]=d&15;t[m+2|0]=d>>>4;d=w[i+2|0];t[m+5|0]=d&15;t[m+4|0]=d>>>4;d=w[i+3|0];t[m+7|0]=d&15;t[m+6|0]=d>>>4;m=m+8|0;i=i+4|0;d=e<<16;e=e-4|0;if(d>>16>4){continue}break};break Zf;case 7:break _f;default:break Zf}}if((e|0)<1){break Zf}n=e-1|0;d=e&7;if(d){while(1){t[m|0]=w[i|0];m=m+1|0;i=i+1|0;e=e-1|0;d=d-1|0;if(d&65535){continue}break}}if((n&65535)>>>0<7){break Zf}while(1){t[m|0]=w[i|0];t[m+1|0]=w[i+1|0];t[m+2|0]=w[i+2|0];t[m+3|0]=w[i+3|0];t[m+4|0]=w[i+4|0];t[m+5|0]=w[i+5|0];t[m+6|0]=w[i+6|0];t[m+7|0]=w[i+7|0];m=m+8|0;i=i+8|0;d=e<<16;e=e-8|0;if(d>>16>8){continue}break}}break Yf}o=f;N=0;m=(n|0)==1&(F|0)<5;I=k<<16>>16;$f:{if(!m|(I|0)<1){break $f}d=I<<3;d=ic(o,0,(d|1)-((d|0)<1?d:1)|0);if((F|0)<1){break $f}n=i;e=d;while(1){k=w[n|0];if(k&128){t[e|0]=w[e|0]|1}if(k&64){t[e+1|0]=w[e+1|0]|1}if(k&32){t[e+2|0]=w[e+2|0]|1}if(k&16){t[e+3|0]=w[e+3|0]|1}if(k&8){t[e+4|0]=w[e+4|0]|1}if(k&4){t[e+5|0]=w[e+5|0]|1}if(k&2){t[e+6|0]=w[e+6|0]|1}if(k&1){t[e+7|0]=w[e+7|0]|1}n=n+1|0;e=e+8|0;N=N+1|0;if((I|0)!=(N|0)){continue}break}if((F|0)==1){break $f}N=0;i=i+I|0;n=i;e=d;while(1){k=w[n|0];if(k&128){t[e|0]=w[e|0]|2}if(k&64){t[e+1|0]=w[e+1|0]|2}if(k&32){t[e+2|0]=w[e+2|0]|2}if(k&16){t[e+3|0]=w[e+3|0]|2}if(k&8){t[e+4|0]=w[e+4|0]|2}if(k&4){t[e+5|0]=w[e+5|0]|2}if(k&2){t[e+6|0]=w[e+6|0]|2}if(k&1){t[e+7|0]=w[e+7|0]|2}n=n+1|0;e=e+8|0;N=N+1|0;if((I|0)!=(N|0)){continue}break}if((F|0)==2){break $f}N=0;i=i+I|0;n=i;e=d;while(1){d=w[n|0];if(d&128){t[e|0]=w[e|0]|4}if(d&64){t[e+1|0]=w[e+1|0]|4}if(d&32){t[e+2|0]=w[e+2|0]|4}if(d&16){t[e+3|0]=w[e+3|0]|4}if(d&8){t[e+4|0]=w[e+4|0]|4}if(d&4){t[e+5|0]=w[e+5|0]|4}if(d&2){t[e+6|0]=w[e+6|0]|4}if(d&1){t[e+7|0]=w[e+7|0]|4}n=n+1|0;e=e+8|0;N=N+1|0;if((I|0)!=(N|0)){continue}break}if((F|0)==3){break $f}d=i+I|0;n=0;while(1){e=w[d|0];if(e&128){t[o|0]=w[o|0]|8}if(e&64){t[o+1|0]=w[o+1|0]|8}if(e&32){t[o+2|0]=w[o+2|0]|8}if(e&16){t[o+3|0]=w[o+3|0]|8}if(e&8){t[o+4|0]=w[o+4|0]|8}if(e&4){t[o+5|0]=w[o+5|0]|8}if(e&2){t[o+6|0]=w[o+6|0]|8}if(e&1){t[o+7|0]=w[o+7|0]|8}d=d+1|0;o=o+8|0;n=n+1|0;if((I|0)!=(n|0)){continue}break}}if(!m){break Tf}}d=0;while(1){wn(h,d,M,w[d+f|0]);d=d+1|0;if((r|0)!=(d|0)){continue}break}}j=j+1|0;if((E|0)!=(j|0)){continue}break}dc(p);dc(f);d=1;break Mf}Xc(h+72|0,22860,255);dc(p);break Nf}Xc(h+72|0,26677,255)}dc(p);dc(f);break Nf}Xc(h+72|0,16003,255);dc(p);break Nf}Xc(h+72|0,16003,255)}d=0}Qb=q+912|0;if(!d){break j}break b}switch(c-9|0){case 0:break i;case 11:break e;case 10:break f;case 9:break g;case 2:case 3:case 4:case 5:case 6:break h;default:break d}}ce(a+72|0,fa+72|0);Ub[v[v[b>>2]+20>>2]](b,sa,0)|0;Ub[v[v[h>>2]+4>>2]](h);if(c){break c}}h=fc(976);fa=gf(h,9);v[h>>2]=39560;lh(fa,a);f=0;d=0;e=0;i=0;ag:{if(!b){break ag}while(1){if(!(Ub[v[v[b>>2]+36>>2]](b)|0)){i=Ub[v[v[b>>2]+48>>2]](b)|0;f=i&127|f<<7;if(i&128){continue}}break}while(1){if(!(Ub[v[v[b>>2]+36>>2]](b)|0)){if(Ub[v[v[b>>2]+48>>2]](b)&128){continue}}break}while(1){if(!(Ub[v[v[b>>2]+36>>2]](b)|0)){i=Ub[v[v[b>>2]+48>>2]](b)|0;e=i&127|e<<7;if(i&128){continue}}break}while(1){if(!(Ub[v[v[b>>2]+36>>2]](b)|0)){i=Ub[v[v[b>>2]+48>>2]](b)|0;d=i&127|d<<7;if(i&128){continue}}break}if(Ub[v[v[b>>2]+36>>2]](b)|0){Xc(h+72|0,2919,255);i=0;break ag}if(f){Xc(h+72|0,5720,255);i=0;break ag}v[h+20>>2]=d;v[h+16>>2]=e;if(!((d|0)>0&(e|0)>=1)){Xc(h+72|0,11231,255);i=0;break ag}bg:{if(v[h+332>>2]!=-1){Zf(h,e,d,1,9);if(!v[h+4>>2]){Xc(h+72|0,13692,255);i=0;break ag}Eq(h);f=v[h+16>>2];xe(h,0);e=v[h+20>>2];d=xe(h,0);if(v[h+20>>2]<1){break bg}i=(f+7|0)/8|0;f=d+B(v[h+52>>2],v[h+20>>2]-1|0)|0;d=0;while(1){Ub[v[v[b>>2]+12>>2]](b,f,i,1,0,0)|0;e=e-1|0;f=(e|0)>=1?f-v[h+52>>2]|0:f;d=d+1|0;if((d|0)>2]){continue}break}break bg}v[h+68>>2]=9}i=1}if(i){break b}ce(a+72|0,fa+72|0);Ub[v[v[b>>2]+20>>2]](b,sa,0)|0;Ub[v[v[h>>2]+4>>2]](h);if(c){break c}}h=fc(976);fa=gf(h,0);v[h>>2]=39604;lh(fa,a);e=0;i=0;k=0;la=Qb-32|0;Qb=la;cg:{if(!b){break cg}dg:{eg:{fg:{gg:{if(wK()){Xc(h+72|0,1675,255);break gg}m=vK(7853);if(m){break fg}Xc(h+72|0,9311,255)}m=0;break eg}d=v[m+56>>2];if(d){dc(d)}v[m+56>>2]=b;v[la+24>>2]=104;v[la+16>>2]=105;v[la+28>>2]=106;v[la+20>>2]=107;v[m+52>>2]=la+16;f=0;i=-1;e=v[282725];hg:{if((e|0)<1){break hg}g=1130912;while(1){ig:{d=v[g+24>>2];if(d){if(!(Ub[d|0](m)|0)){break ig}e=v[282725]}g=g+28|0;f=f+1|0;if((f|0)<(e|0)){continue}break hg}break}i=v[g>>2]}jg:{kg:{if((i|0)<=-1){Xc(h+72|0,12716,255);break kg}e=sK(m,i);if(e){break jg}Xc(h+72|0,16195,255);i=-1}e=0;break eg}t[la+12|0]=0;n=la+12|0;f=0;d=v[282725];lg:{if((d|0)>=1){g=1130912;mg:{while(1){if(v[g>>2]==(i|0)){break mg}g=g+28|0;f=f+1|0;if((d|0)!=(f|0)){continue}break}d=0;break lg}d=v[g+4>>2]}else{d=0}}d=Xc(n,d,3);t[la+15|0]=0;d=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);i=(d|0)==7890800?13:(d|0)==7171696?14:(d|0)==7561586?15:(d|0)==6516842?12:(d|0)==3305578?11:-1;d=v[v[e+24>>2]>>2];ba=v[d+20>>2];ya=v[d+16>>2];if(v[h+332>>2]==-1){v[h+20>>2]=ba;v[h+16>>2]=ya;v[h+68>>2]=(i|0)>0?i:0;Xc(h+72|0,28787,255);break eg}f=v[e+16>>2];if(f>>>0>=65){Xc(h+72|0,29886,255);break eg}$=v[d+24>>2];if(!((f|0)<3|($|0)>8)){ta=oK(1025);if(!ta){Xc(h+72|0,31767,255);break eg}n=0;ja=Qb-48|0;Qb=ja;d=jc(40);ng:{if(!d){d=0;break ng}v[d>>2]=0;v[d+4>>2]=0;t[d+36|0]=1;v[d+24>>2]=0;v[d+28>>2]=16384;v[d+16>>2]=0;v[d+20>>2]=0;v[d+32>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0}p=v[e+16>>2];f=v[d+24>>2];og:{if(!f){f=jc(p<<2);break og}f=uh(f,p<<2)}pg:{qg:{if(!f){break qg}v[d+20>>2]=p;v[d+24>>2]=f;j=v[d+16>>2];rg:{if((j|0)>=(p|0)){break rg}v[f+(j<<2)>>2]=0;g=j+1|0;if((p|0)==(g|0)){break rg}o=p+(j^-1)&3;if(o){while(1){v[v[d+24>>2]+(g<<2)>>2]=0;g=g+1|0;o=o-1|0;if(o){continue}break}}if((p-j|0)-2>>>0<3){break rg}while(1){f=g<<2;v[f+v[d+24>>2]>>2]=0;v[(f+v[d+24>>2]|0)+4>>2]=0;v[(f+v[d+24>>2]|0)+8>>2]=0;v[(f+v[d+24>>2]|0)+12>>2]=0;g=g+4|0;if((p|0)!=(g|0)){continue}break}}if(v[e+16>>2]>=1){o=0;while(1){g=o<<2;j=v[g+v[e+24>>2]>>2];E=0;p=jc(44);f=0;sg:{if(!p){break sg}v[p>>2]=0;v[p+4>>2]=0;v[p+40>>2]=65536;v[p+32>>2]=0;v[p+36>>2]=0;v[p+24>>2]=0;v[p+28>>2]=0;v[p+16>>2]=0;v[p+20>>2]=0;v[p+8>>2]=0;v[p+12>>2]=0;v[p>>2]=v[j>>2];v[p+4>>2]=v[j+4>>2];v[p+8>>2]=v[j+8>>2];v[p+12>>2]=v[j+12>>2];v[p+16>>2]=v[j+16>>2];v[p+20>>2]=v[j+20>>2];v[p+24>>2]=v[j+24>>2];v[p+28>>2]=v[j+28>>2];v[p+36>>2]=v[j+36>>2];v[p+40>>2]=v[j+40>>2];f=di(0,0);v[p+32>>2]=f;tg:{if(!f){break tg}if(Df(v[j+32>>2],0,0)){break tg}if(Cm(v[p+32>>2],v[j+32>>2],-1)){break tg}E=Df(v[p+32>>2],0,0)?0:p}f=E}v[g+v[d+24>>2]>>2]=f;if(!f){break qg}v[d+16>>2]=v[d+16>>2]+1;o=o+1|0;if((o|0)>2]){continue}break}}at(d);f=v[e+32>>2];if(!f){break pg}f=iK(f);v[d+32>>2]=f;if(f){break pg}}Wg(d);d=0}ug:{vg:{wg:{xg:{yg:{zg:{Ag:{Bg:{if(!d){break Bg}g=d;d=1;r=v[g+24>>2];n=v[r>>2];W=v[n+12>>2];G=v[n+8>>2];K=v[g+16>>2];Cg:{if((K|0)<1){break Cg}while(1){if((d|0)==(K|0)){break Cg}f=v[r+(d<<2)>>2];if(v[f+8>>2]==(G|0)){d=d+1|0;if(v[f+12>>2]==(W|0)){continue}}break}Dg:{if((K|0)<2){break Dg}d=1;f=K-1|0;E=f&1;if((K|0)!=2){f=f&-2;while(1){j=r+(d<<2)|0;q=v[j+4>>2];p=v[q+12>>2];o=v[j>>2];j=v[o+12>>2];j=(j|0)<(W|0)?j:W;W=(j|0)>(p|0)?p:j;p=v[q+8>>2];j=v[o+8>>2];j=(j|0)<(G|0)?j:G;G=(j|0)>(p|0)?p:j;d=d+2|0;f=f-2|0;if(f){continue}break}}if(!E){break Dg}f=v[r+(d<<2)>>2];d=v[f+12>>2];W=(d|0)<(W|0)?d:W;d=v[f+8>>2];G=(d|0)<(G|0)?d:G}q=v[n+40>>2];f=0;d=1;if(pK(g,0,1,G,W,v[n+28>>2],v[n+24>>2])){n=0;break Bg}while(1){n=v[g+24>>2];o=d<<2;v[v[n+o>>2]+40>>2]=q;if(v[g+16>>2]>(f|0)){p=f<<2;j=v[p+n>>2];n=v[j+32>>2];if(n){Te(n)}dc(j);n=g;j=v[g+16>>2];if((j|0)>(f|0)){q=p;p=v[g+24>>2];Wd(q+p|0,o+p|0,j+(f^-1)<<2);j=v[g+16>>2]}v[n+16>>2]=j-1;at(g)}f=v[g+24>>2];if((d|0)!=(K|0)){j=v[f+o>>2];q=v[j+40>>2];n=0;f=d;d=d+1|0;if(!pK(g,f,d,G,W,v[j+28>>2],v[j+24>>2])){continue}break Bg}break}n=v[f>>2];W=v[n+12>>2];G=v[n+8>>2]}j=v[g+32>>2];if(!j){break xg}l=v[n+20>>2];oa=v[n+16>>2];wa=kK(v[j>>2]);ra=kK(v[ta>>2]);n=0;M=jc(40);if(!M){break Bg}v[M>>2]=0;v[M+4>>2]=0;t[M+36|0]=1;v[M+24>>2]=0;v[M+28>>2]=16384;v[M+16>>2]=0;v[M+20>>2]=0;d=0;v[M+32>>2]=0;v[M+8>>2]=0;v[M+12>>2]=0;if((ra|0)>=1){while(1){v[ja+40>>2]=8;v[ja+44>>2]=0;v[ja+36>>2]=l;v[ja+32>>2]=oa;v[ja+28>>2]=W;v[ja+24>>2]=G;v[ja+16>>2]=0;v[ja+20>>2]=0;if(Kq(M,-1,ja+16|0)){break Bg}v[v[v[M+24>>2]+(d<<2)>>2]+40>>2]=d&32767;d=d+1|0;if((ra|0)!=(d|0)){continue}break}}d=iK(ta);if(!d){break Bg}if(v[M+32>>2]){break yg}v[M+32>>2]=d;v[M+28>>2]=v[ta>>2];Eg:{Fg:{f=jc(12);if(!f){break Fg}d=ti();v[f+8>>2]=d;if(!d){break Fg}Gg:{W=v[j+20>>2];if(!W){W=v[j+20>>2]}G=v[ta+36>>2];if(!G){G=v[ta+36>>2]}if(!W|!G){break Fg}if(Ni(d,W)){break Fg}if(v[j+8>>2]!=v[ta+8>>2]){break Gg}d=0;Hg:{if(Ni(v[f+8>>2],G)){break Hg}d=(v[j>>2]>>8)-1|0;if(d>>>0>=5){break Gg}v[f>>2]=v[(d<<2)+188388>>2];d=(v[ta>>2]>>8)-1|0;if(d>>>0>=5){break Gg}v[f+4>>2]=v[(d<<2)+188388>>2];d=f}break Eg}ia();L()}d=0}K=d;if(!K){break Bg}v[ja+8>>2]=wa;ma=jc(B(wa,20));if(!ma){break zg}v[ja+12>>2]=ma;q=oa<<2;if((wa|0)>=1){o=v[g+16>>2];if((o|0)<1){break vg}p=v[g+24>>2];while(1){j=n&32767;d=0;while(1){f=p+(d<<2)|0;if((j|0)!=v[v[f>>2]+40>>2]){d=d+1|0;if((o|0)!=(d|0)){continue}break vg}break}j=ma+B(n,20)|0;d=jc(q);v[j>>2]=d;if(!d){n=0;break Bg}d=v[f>>2];v[j+4>>2]=v[d+24>>2];d=v[d+28>>2];v[j+16>>2]=1;v[j+12>>2]=oa;v[j+8>>2]=d;n=n+1|0;if((wa|0)!=(n|0)){continue}break}}v[ja>>2]=ra;G=jc(B(ra,20));if(!G){break Ag}v[ja+4>>2]=G;if((ra|0)>=1){o=v[M+16>>2];if((o|0)<1){break wg}p=v[M+24>>2];n=0;while(1){j=n&32767;d=0;while(1){f=p+(d<<2)|0;if((j|0)!=v[v[f>>2]+40>>2]){d=d+1|0;if((o|0)!=(d|0)){continue}break wg}break}j=G+B(n,20)|0;d=jc(q);v[j>>2]=d;if(!d){n=0;break Bg}d=v[f>>2];v[j+4>>2]=v[d+24>>2];d=v[d+28>>2];v[j+16>>2]=1;v[j+12>>2]=oa;v[j+8>>2]=d;n=n+1|0;if((ra|0)!=(n|0)){continue}break}}W=0;if((l|0)>0){while(1){P=0;if((wa|0)>0){while(1){f=-1;p=v[g+16>>2];Ig:{if((p|0)<1){break Ig}j=P&32767;n=v[g+24>>2];d=0;while(1){if((j|0)==v[v[n+(d<<2)>>2]+40>>2]){f=d;break Ig}d=d+1|0;if((p|0)!=(d|0)){continue}break}}n=0;q=v[ma+B(P,20)>>2];pa=0;Jg:{Kg:{if((f|0)<0|v[g+16>>2]<=(f|0)){break Kg}F=v[v[g+24>>2]+(f<<2)>>2];f=v[F+16>>2];if((W|0)<0|(f|0)<=0){break Kg}d=v[F+20>>2];if((oa|0)<0|(d|0)<=(W|0)|((f|0)<(oa|0)|(d|0)<(W+1|0))){break Kg}ga=0;if((oa|0)<=0){if((Df(v[F+32>>2],B(v[F+36>>2],B(f,W)),0)|0)<0){break Kg}while(1){ga=ga+1|0;d=0;if((ga|0)==1){break Jg}if((Df(v[F+32>>2],B(v[F+36>>2],B(v[F+16>>2],W+ga|0)),0)|0)>=0){continue}break}break Kg}if((Df(v[F+32>>2],B(v[F+36>>2],B(f,W)),0)|0)<0){break Kg}p=oa<<2;while(1){Lg:{Mg:{Ng:{ga=v[F+24>>2];if((ga|0)>0){o=0;while(1){j=v[F+28>>2];Og:{if((ga|0)<1){E=0;break Og}r=v[F+32>>2];ka=ga+7>>>3|0;E=0;while(1){f=v[r+8>>2];d=-1;if(f&7){break Jg}d=v[r+64>>2];if((d|0)>=0&(d|0)<=v[r+60>>2]){break Ng}d=v[r+28>>2];v[r+28>>2]=d-1;Pg:{if((d|0)>=1){v[r+60>>2]=v[r+60>>2]+1;d=v[r+24>>2];v[r+24>>2]=d+1;d=w[d|0];break Pg}d=Hc(r,1);if((d|0)==-1){break Kg}}E=E<<8|d;d=(ka|0)>1;ka=ka-1|0;if(d){continue}break}}if(j){break Mg}v[q>>2]=(-1<>2];continue}}if(v[F+28>>2]){break Mg}q=ic(q,0,p)+p|0;break Lg}v[r+8>>2]=f|4;d=-1;break Jg}ia();L()}pa=pa+1|0;d=0;if((pa|0)==1){break Jg}if((Df(v[F+32>>2],B(v[F+36>>2],B(v[F+16>>2],W+pa|0)),0)|0)>=0){continue}break}}d=-1}if(d){break Bg}P=P+1|0;if((wa|0)!=(P|0)){continue}break}}f=0;r=Qb-32768|0;Qb=r;Qg:{Rg:{n=v[K>>2];Sg:{if((n|0)>v[ja+8>>2]){break Sg}pa=v[K+4>>2];if((pa|0)>v[ja>>2]){break Sg}d=1;p=v[ja+12>>2];I=v[p+16>>2];F=v[p+12>>2];if((n|0)>1){while(1){j=p+B(d,20)|0;if((F|0)!=v[j+12>>2]|(I|0)!=v[j+16>>2]){break Sg}d=d+1|0;if((n|0)!=(d|0)){continue}break}}if((pa|0)>=1){p=v[ja+4>>2];d=0;while(1){j=p+B(d,20)|0;if((F|0)!=v[j+12>>2]|(I|0)!=v[j+16>>2]){break Sg}d=d+1|0;if((pa|0)!=(d|0)){continue}break}}d=0;N=v[K+8>>2];ka=v[N>>2];Tg:{if((ka|0)<1){break Tg}E=v[N+8>>2];if((ka|0)!=1){ga=ka&-2;while(1){p=f<<2;j=v[E+(p|4)>>2];q=v[j+12>>2];o=v[j+8>>2];j=v[p+E>>2];p=v[j+12>>2];j=v[j+8>>2];d=(d|0)<(j|0)?j:d;d=(d|0)<(p|0)?p:d;d=(d|0)<(o|0)?o:d;d=(d|0)<(q|0)?q:d;f=f+2|0;ga=ga-2|0;if(ga){continue}break}}if(!(ka&1)){break Tg}f=v[E+(f<<2)>>2];j=v[f+12>>2];f=v[f+8>>2];d=(d|0)<(f|0)?f:d;d=(d|0)<(j|0)?j:d}s=2048/(d|0)|0;if((s|0)<=0){break Rg}ga=0;aa=B(F,I);if((aa|0)<1){break Sg}I=r+16384|0;while(1){d=aa-ga|0;xa=(d|0)<(s|0)?d:s;if((n|0)>=1){o=v[ja+12>>2];q=0;while(1){Ug:{if((xa|0)<1){break Ug}d=o+B(q,20)|0;F=v[d+4>>2];p=F-1|0;j=v[d+8>>2];J=j?-1<>2]+(ga<<2)|0;f=r+(q<<3)|0;da=+(-1<>2];if((p|0)<0|(j|0)<=(p|0)){break Sg}A[f>>3]=+(p+J|0)/da;d=d+4|0;f=(n<<3)+f|0;E=E+1|0;if((xa|0)!=(E|0)){continue}break}break Ug}p=1<>2];if((F|0)<(j|0)|(p|0)<=(F|0)){break Sg}A[f>>3]=+(F+J|0)/da;d=d+4|0;f=(n<<3)+f|0;E=E+1|0;if((xa|0)!=(E|0)){continue}break}}q=q+1|0;if((q|0)!=(n|0)){continue}break}}f=0;d=r;Vg:{if((ka|0)>0){while(1){n=d;j=v[v[N+8>>2]+(f<<2)>>2];d=v[j+12>>2]>v[j+8>>2]?(d|0)==(r|0)?I:r:d;if(Ub[v[v[j+4>>2]+4>>2]](j,n,d,xa)|0){break Vg}f=f+1|0;ka=v[N>>2];if((f|0)<(ka|0)){continue}break}pa=v[K+4>>2]}if((pa|0)>=1){F=v[ja+4>>2];q=0;while(1){Wg:{if((xa|0)<1){break Wg}n=F+B(q,20)|0;f=v[n>>2]+(ga<<2)|0;p=v[n+4>>2];J=1<>2];qa=+((j?J:0)|0);n=(q<<3)+d|0;na=+(-1<>3]*na+qa;Xg:{if(D(da)<2147483648){j=~~da;break Xg}j=-2147483648}if((j|0)<0|(j|0)>=(p|0)){break Sg}v[f>>2]=j;f=f+4|0;n=(pa<<3)+n|0;E=E+1|0;if((xa|0)!=(E|0)){continue}break}break Wg}p=0-J|0;while(1){da=A[n>>3]*na+qa;Yg:{if(D(da)<2147483648){j=~~da;break Yg}j=-2147483648}if((j|0)<(p|0)|(j|0)>=(J|0)){break Sg}v[f>>2]=j;f=f+4|0;n=(pa<<3)+n|0;E=E+1|0;if((xa|0)!=(E|0)){continue}break}}q=q+1|0;if((pa|0)!=(q|0)){continue}break}}ga=ga+xa|0;if((aa|0)<=(ga|0)){break Sg}n=v[K>>2];continue}break}}Qb=r+32768|0;break Qg}X(11745,6744,519,188250);L()}P=0;if((ra|0)>0){while(1){f=-1;p=v[M+16>>2];Zg:{if((p|0)<1){break Zg}j=P&32767;n=v[M+24>>2];d=0;while(1){if((j|0)==v[v[n+(d<<2)>>2]+40>>2]){f=d;break Zg}d=d+1|0;if((p|0)!=(d|0)){continue}break}}n=0;ga=v[G+B(P,20)>>2];E=0;_g:{$g:{if((f|0)<0|v[M+16>>2]<=(f|0)){break $g}o=v[v[M+24>>2]+(f<<2)>>2];f=v[o+16>>2];if((W|0)<0|(f|0)<=0){break $g}d=v[o+20>>2];if((oa|0)<0|(d|0)<=(W|0)|((f|0)<(oa|0)|(d|0)<(W+1|0))){break $g}q=0;d=Df(v[o+32>>2],B(v[o+36>>2],B(f,W)),0);if((oa|0)<=0){if((d|0)<0){break $g}while(1){q=q+1|0;d=0;if((q|0)==1){break _g}if((Df(v[o+32>>2],B(v[o+36>>2],B(v[o+16>>2],q+W|0)),0)|0)>=0){continue}break}break $g}if((d|0)<0){break $g}ah:{while(1){ka=0;bh:{ch:while(1){if(v[o+28>>2]){break bh}r=v[o+32>>2];d=v[o+24>>2];q=(d+7|0)/8|0;p=v[ga>>2]&(-1<>2];if(f&7){break $g}d=v[r+64>>2];if((d|0)>=0&(d|0)<=v[r+60>>2]){break ah}q=q-1|0;j=p>>(q<<3);f=j&255;v[r+4>>2]=v[r+4>>2]|32;d=v[r+28>>2];v[r+28>>2]=d-1;eh:{if((d|0)>=1){v[r+60>>2]=v[r+60>>2]+1;d=v[r+24>>2];v[r+24>>2]=d+1;t[d|0]=j;d=f;break eh}d=Fc(r,f)}if((d|0)==(f|0)){continue}break $g}break}break}if((Df(v[o+32>>2],B(v[o+36>>2],B(v[o+16>>2],E+W|0)),0)|0)>=0){continue}break $g}break}ia();L()}v[r+8>>2]=f|4}d=-1}if(d){break Bg}P=P+1|0;if((ra|0)!=(P|0)){continue}break}}W=W+1|0;if((l|0)!=(W|0)){continue}break}}d=0;if((ra|0)>0){while(1){dc(v[G+B(d,20)>>2]);d=d+1|0;if((ra|0)!=(d|0)){continue}break}}dc(G);if((wa|0)>=1){d=0;while(1){dc(v[ma+B(d,20)>>2]);d=d+1|0;if((wa|0)!=(d|0)){continue}break}}dc(ma);p=v[K+8>>2];if(p){P=v[p>>2];if((P|0)>=1){while(1){d=v[p+8>>2];P=P-1|0;f=P<<2;j=v[d+f>>2];n=v[j>>2];v[j>>2]=n-1;if((n|0)<=1){Ub[v[v[j+4>>2]>>2]](j);dc(j);P=v[p>>2]-1|0;d=v[p+8>>2]}v[d+f>>2]=0;v[p>>2]=P;if((P|0)>0){continue}break}}d=v[p+8>>2];if(d){dc(d)}dc(p)}dc(K);Wg(g);n=M}Qb=ja+48|0;break ug}X(32910,7190,1399,188201);L()}X(29913,7190,1384,188201);L()}X(29190,7190,1374,188201);L()}X(26795,7190,1337,188201);L()}X(32229,7190,1404,188201);L()}X(32229,7190,1388,188201);L()}if(!n){bw(ta);Xc(h+72|0,33750,255);break eg}Wg(e);bw(ta);f=v[n+16>>2];e=n}k=bd(f,4);d=0;fh:{f=v[e+16>>2];gh:{hh:{if((f|0)>0){ih:{while(1){jh:{f=yj(1,ya);v[(d<<2)+k>>2]=f;if(!f){break jh}d=d+1|0;f=v[e+16>>2];if((d|0)<(f|0)){continue}break ih}break}Xc(h+72|0,34248,255);break eg}E=($|0)>8?$-8|0:0;if((f|0)!=3){break hh}f=v[e+24>>2];n=v[f>>2];d=v[n+16>>2];g=v[f+4>>2];if((d|0)!=v[g+16>>2]){f=3;break hh}f=v[f+8>>2];if((d|0)!=v[f+16>>2]){f=3;break hh}d=v[n+20>>2];if((d|0)!=v[g+20>>2]){f=3;break hh}if((d|0)!=v[f+20>>2]){f=3;break hh}d=v[n+24>>2];if((d|0)!=v[g+24>>2]){f=3;break hh}if((d|0)!=v[f+24>>2]){f=3;break hh}if(!Zf(h,ya,ba,24,i)){break eg}if((ba|0)<1){break gh}i=0;while(1){d=0;if(v[e+16>>2]>0){while(1){Zj(e,d,0,i,ya,1,v[(d<<2)+k>>2]);d=d+1|0;if((d|0)>2]){continue}break}}if((ya|0)>=1){j=ba+(i^-1)|0;o=v[k>>2];d=0;while(1){f=v[k+4>>2];p=v[f+28>>2];if(v[o+20>>2]==1){n=v[v[o+28>>2]>>2]+(d<<2)|0}else{n=v[v[o+28>>2]+(d<<2)>>2]}n=v[n>>2]>>E;if(v[f+20>>2]==1){f=v[p>>2]+(d<<2)|0}else{f=v[p+(d<<2)>>2]}g=v[f>>2]>>E;f=v[k+8>>2];p=v[f+28>>2];if(v[f+20>>2]==1){f=v[p>>2]+(d<<2)|0}else{f=v[p+(d<<2)>>2]}f=v[f>>2];t[la+10|0]=n;t[la+9|0]=g;t[la+8|0]=f>>E;v[la+4>>2]=v[la+8>>2];Yv(h,d,j,la+4|0);d=d+1|0;if((ya|0)!=(d|0)){continue}break}}i=i+1|0;if((ba|0)!=(i|0)){continue}break}break gh}E=($|0)>8?$-8|0:0}v[h+356>>2]=f;d=v[h+352>>2];if((d|0)<0|(d|0)>=(f|0)){break fh}d=0;while(1){f=v[v[e+24>>2]+(d<<2)>>2];K=v[f+16>>2];r=v[f+20>>2];f=v[f+24>>2];if(!Zf(h,K,r,(f|0)<8?f:8,0)){break eg}p=d;Eq(h);kh:{if((r|0)<1){break kh}M=v[k>>2];if((K|0)<1){d=0;while(1){Zj(e,p,0,d,K,1,M);d=d+1|0;if((r|0)!=(d|0)){continue}break}break kh}o=0;while(1){Zj(e,p,0,o,K,1,M);j=r+(o^-1)|0;d=0;while(1){f=h;n=d;g=j;if(v[M+20>>2]!=1){q=v[v[M+28>>2]+(d<<2)>>2]}else{q=v[v[M+28>>2]>>2]+(d<<2)|0}wn(f,n,g,v[q>>2]>>E&255);d=d+1|0;if((K|0)!=(d|0)){continue}break}o=o+1|0;if((r|0)!=(o|0)){continue}break}}d=p+1|0;if((p|0)>2]){continue}break}}i=1;break dg}Xc(h+72|0,36976,255)}i=v[h+332>>2]==-1&(i|0)>0}lh:{mh:{if(k){f=v[e+16>>2];if((f|0)>=1){d=0;while(1){g=v[(d<<2)+k>>2];if(g){$e(g);f=v[e+16>>2]}d=d+1|0;if((f|0)>(d|0)){continue}break}}dc(k);ct();break mh}ct();if(!e){break lh}}Wg(e)}if(!m){break cg}Te(m)}Qb=la+32|0;if(i){break b}ce(a+72|0,fa+72|0);Ub[v[v[b>>2]+20>>2]](b,sa,0)|0;Ub[v[v[h>>2]+4>>2]](h);if(c){break c}}h=fc(976);fa=gf(h,18);v[h>>2]=39648;lh(fa,a);e=0;m=Qb-16|0;Qb=m;nh:{if(!b){break nh}Ub[v[v[b>>2]+12>>2]](b,m,9,1,0,0)|0;d=u[m>>1];u[m>>1]=w[h+494|0]?d:d<<8|(d&65280)>>>8;d=u[m+2>>1];u[m+2>>1]=w[h+494|0]?d:d<<8|(d&65280)>>>8;d=ej(h,w[m+5|0]|w[m+6|0]<<8|(w[m+7|0]<<16|w[m+8|0]<<24));t[m+5|0]=d;t[m+6|0]=d>>>8;t[m+7|0]=d>>>16;t[m+8|0]=d>>>24;if((d|0)!=16777216){break nh}f=x[m>>1];if(f<<16>>16<0){break nh}d=x[m+2>>1];if(w[m+4|0]!=3|d<<16>>16<0){break nh}if(v[h+332>>2]==-1){v[h+68>>2]=18;v[h+20>>2]=d;v[h+16>>2]=f;e=1;break nh}Zf(h,f,d,8,18);if(!v[h+4>>2]){break nh}n=jc(768);if(n){Ub[v[v[b>>2]+12>>2]](b,n,768,1,0,0)|0;IJ(h,n,256);dc(n);Ia=b,Ha=xe(h,0),Ga=B(x[m+2>>1],x[m>>1]),Fa=1,Ea=0,Da=0,Ca=v[v[b>>2]+12>>2],Ub[Ca](Ia|0,Ha|0,Ga|0,Fa|0,Ea|0,Da|0)|0;oh:{if(v[h+52>>2]==x[m>>1]){break oh}i=xe(h,0);f=x[m>>1];d=x[m+2>>1]-1|0;e=xe(h,d);if(!x[m+2>>1]){break oh}g=i+B(d,f)|0;i=0;while(1){d=gc(e,g,x[m>>1]);g=g-x[m>>1]|0;e=d-v[h+52>>2]|0;i=i+1|0;if(i>>>0>1]){continue}break}}RA(h)}e=(n|0)!=0}Qb=m+16|0;if(e){break b}ce(a+72|0,fa+72|0);Ub[v[v[b>>2]+20>>2]](b,sa,0)|0;Ub[v[v[h>>2]+4>>2]](h);if(c){break c}}h=fc(976);fa=gf(h,19);v[h>>2]=39692;lh(fa,a);f=0;q=0;$=0;P=0;s=Qb-256240|0;Qb=s;k=jc(40);v[k>>2]=0;ph:{qh:{rh:{if(!b){break rh}m=4;v[299999]=0;u0(s+65592|0);e=v[299999];v[299999]=0;d=-1;sh:{if(!e){break sh}f=v[3e5];if(!f){break sh}d=sc(v[e>>2],k,4);if(!d){break qh}_(f|0)}f=O()|0;th:{uh:{if((d|0)==1){break uh}v[299999]=0;q=Fm(h,19);e=v[299999];v[299999]=0;d=-1;vh:{if(!e){break vh}f=v[3e5];if(!f){break vh}d=sc(v[e>>2],k,4);if(!d){break qh}_(f|0)}f=O()|0;if((d|0)==1){break uh}P=s+65616|0;v[P>>2]=q&3;v[299999]=0;q=h+72|0;v[s+256232>>2]=q;d=w[54499]|w[54500]<<8|(w[54501]<<16|w[54502]<<24);t[s+65583|0]=d;t[s+65584|0]=d>>>8;t[s+65585|0]=d>>>16;t[s+65586|0]=d>>>24;d=w[54496]|w[54497]<<8|(w[54498]<<16|w[54499]<<24);v[s+65576>>2]=w[54492]|w[54493]<<8|(w[54494]<<16|w[54495]<<24);v[s+65580>>2]=d;v[s+90800>>2]=s+65576;i=Z(127,s+65592|0,0,0,0)|0;e=v[299999];v[299999]=0;d=-1;wh:{if(!e){break wh}f=v[3e5];if(!f){break wh}d=sc(v[e>>2],k,4);if(!d){break qh}_(f|0)}$=s+65576|0;f=O()|0;if((d|0)==1){break uh}if(i){v[299999]=0;Xc(q,1884,255);e=v[299999];v[299999]=0;d=-1;xh:{if(!e){break xh}f=v[3e5];if(!f){break xh}d=sc(v[e>>2],k,4);if(!d){break qh}_(f|0)}e=O()|0;f=e;if((d|0)==1){break uh}$=s+65576|0;f=0;break th}k=Ue(s+256076|0,1,k,4);m=O()|0;f=0}e=f;f=1}while(1){yh:{zh:{if(!f){v[299999]=0;QI(s+65592|0);e=v[299999];v[299999]=0;d=-1;Ah:{if(!e){break Ah}f=v[3e5];if(!f){break Ah}d=sc(v[e>>2],k,m);if(!d){break qh}_(f|0)}e=O()|0;if((d|0)==1){break zh}f=v[h+332>>2]==-1&v[h+68>>2]==19;break rh}if(e){break yh}v[s+65596>>2]=b;v[s+65568>>2]=129;v[s+65564>>2]=130;v[s+65560>>2]=131;v[s+65556>>2]=132;v[s+65552>>2]=133;v[s+65548>>2]=134;v[s+65544>>2]=135;v[s+65540>>2]=136;v[s+65536>>2]=137;v[299999]=0;v[s+65592>>2]=s+65536;R(138,s+65592|0);e=v[299999];v[299999]=0;d=-1;Bh:{if(!e){break Bh}f=v[3e5];if(!f){break Bh}d=sc(v[e>>2],k,m);if(!d){break qh}_(f|0)}e=O()|0;if((d|0)==1){break zh}if(!v[s+91740>>2]){v[299999]=0;Xc(q,5821,255);e=v[299999];v[299999]=0;d=-1;Ch:{if(!e){break Ch}f=v[3e5];if(!f){break Ch}d=sc(v[e>>2],k,m);if(!d){break qh}_(f|0)}e=O()|0;if((d|0)!=1){break yh}break zh}d=v[s+256068>>2];if(!d){v[299999]=0;Xc(q,9603,255);e=v[299999];v[299999]=0;d=-1;Dh:{if(!e){break Dh}f=v[3e5];if(!f){break Dh}d=sc(v[e>>2],k,m);if(!d){break qh}_(f|0)}e=O()|0;if((d|0)!=1){break yh}break zh}if((d|0)==139){d=x[s+91900>>1];u[s+91900>>1]=(d&1)+d;d=x[s+91902>>1];u[s+91902>>1]=(d&1)+d}d=-1;if(v[h+332>>2]==-1){v[h+16>>2]=x[s+91902>>1];e=x[s+91900>>1];v[h+68>>2]=19;v[h+20>>2]=e;v[299999]=0;Xc(q,13608,255);e=v[299999];v[299999]=0;Eh:{if(!e){break Eh}f=v[3e5];if(!f){break Eh}d=sc(v[e>>2],k,m);if(!d){break qh}_(f|0)}e=O()|0;if((d|0)!=1){break yh}break zh}Fh:{if(!v[s+91620>>2]){e=0;break Fh}e=1;if(v[s+65772>>2]|z[s+65644>>2]!=C(0)|A[s+65672>>3]!=1){break Fh}e=A[s+65688>>3]!=1}u[s+91908>>1]=e;i=x[s+91900>>1]+e>>>e|0;u[s+91910>>1]=i;f=x[s+91902>>1]+e>>>e|0;u[s+91912>>1]=f;Gh:{if(!(!v[s+65816>>2]|!(z[s+124892>>2]>C(.25)))){g=s+124892|0;d=v[g+44>>2];e=s+124980|0;v[e>>2]=v[g+40>>2];v[e+4>>2]=d;d=v[g+36>>2];e=s+124972|0;v[e>>2]=v[g+32>>2];v[e+4>>2]=d;d=v[g+28>>2];e=s+124964|0;v[e>>2]=v[g+24>>2];v[e+4>>2]=d;d=v[g+20>>2];e=s+124956|0;v[e>>2]=v[g+16>>2];v[e+4>>2]=d;d=v[g+12>>2];e=s+124948|0;v[e>>2]=v[g+8>>2];v[e+4>>2]=d;d=v[g+4>>2];v[s+124940>>2]=v[g>>2];v[s+124944>>2]=d;v[s+91724>>2]=0;break Gh}v[s+65812>>2]=1}v[299999]=0;i=Q(140,B(f&65535,i&65535)|0,8)|0;e=v[299999];v[299999]=0;d=-1;Hh:{if(!e){break Hh}f=v[3e5];if(!f){break Hh}d=sc(v[e>>2],k,m);if(!d){break qh}_(f|0)}e=O()|0;if((d|0)==1){break zh}v[299999]=0;v[s+91944>>2]=i;U(141,s+65592|0,i|0,$|0);e=v[299999];v[299999]=0;d=-1;Ih:{if(!e){break Ih}f=v[3e5];if(!f){break Ih}d=sc(v[e>>2],k,m);if(!d){break qh}_(f|0)}e=O()|0;if((d|0)==1){break zh}d=v[s+91676>>2];if(d){d=jc(d);v[299999]=0;v[s+90804>>2]=d;U(141,s+65592|0,d|0,$|0);e=v[299999];v[299999]=0;d=-1;Jh:{if(!e){break Jh}f=v[3e5];if(!f){break Jh}d=sc(v[e>>2],k,m);if(!d){break qh}_(f|0)}e=O()|0;if((d|0)==1){break zh}}d=v[v[b>>2]+20>>2];v[299999]=0;Y(d|0,b|0,v[s+91640>>2],0)|0;e=v[299999];v[299999]=0;d=-1;Kh:{if(!e){break Kh}f=v[3e5];if(!f){break Kh}d=sc(v[e>>2],k,m);if(!d){break qh}_(f|0)}e=O()|0;if((d|0)==1){break zh}v[299999]=0;R(v[s+256068>>2],s+65592|0);e=v[299999];v[299999]=0;d=-1;Lh:{if(!e){break Lh}f=v[3e5];if(!f){break Lh}d=sc(v[e>>2],k,m);if(!d){break qh}_(f|0)}e=O()|0;if((d|0)==1){break zh}if(v[s+91732>>2]){v[299999]=0;ZI(s+65592|0);e=v[299999];v[299999]=0;d=-1;Mh:{if(!e){break Mh}f=v[3e5];if(!f){break Mh}d=sc(v[e>>2],k,m);if(!d){break qh}_(f|0)}e=O()|0;if((d|0)==1){break zh}}v[299999]=0;V(143,s+65592|0,v[s+65604>>2]);e=v[299999];v[299999]=0;d=-1;Nh:{if(!e){break Nh}f=v[3e5];if(!f){break Nh}d=sc(v[e>>2],k,m);if(!d){break qh}_(f|0)}e=O()|0;if((d|0)==1){break zh}d=v[s+65600>>2];if(d){v[299999]=0;V(144,s+65592|0,d|0);e=v[299999];v[299999]=0;d=-1;Oh:{if(!e){break Oh}f=v[3e5];if(!f){break Oh}d=sc(v[e>>2],k,m);if(!d){break qh}_(f|0)}e=O()|0;if((d|0)==1){break zh}}d=v[P>>2];v[s+91932>>2]=(d|0)>-1?d:x[s+91914>>1]?2:3;d=v[s+65612>>2];if((d|0)>=0){v[s+91712>>2]=d}d=v[s+65620>>2];if((d|0)>=0){v[s+91716>>2]=d}if(!(v[s+91748>>2]|v[s+65784>>2]>1)){v[299999]=0;R(145,s+65592|0);e=v[299999];v[299999]=0;d=-1;Ph:{if(!e){break Ph}f=v[3e5];if(!f){break Ph}d=sc(v[e>>2],k,m);if(!d){break qh}_(f|0)}e=O()|0;if((d|0)==1){break zh}}v[299999]=0;R(146,s+65592|0);e=v[299999];v[299999]=0;d=-1;Qh:{if(!e){break Qh}f=v[3e5];if(!f){break Qh}d=sc(v[e>>2],k,m);if(!d){break qh}_(f|0)}e=O()|0;if((d|0)==1){break zh}Rh:{if(v[s+65784>>2]|!v[s+91620>>2]){break Rh}d=v[s+91932>>2];if(!d){v[299999]=0;R(147,s+65592|0);e=v[299999];v[299999]=0;d=-1;Sh:{if(!e){break Sh}f=v[3e5];if(!f){break Sh}d=sc(v[e>>2],k,m);if(!d){break qh}_(f|0)}e=O()|0;if((d|0)==1){break zh}break Rh}if(!((d|0)!=1&v[s+91928>>2]<4)){v[299999]=0;R(148,s+65592|0);e=v[299999];v[299999]=0;d=-1;Th:{if(!e){break Th}f=v[3e5];if(!f){break Th}d=sc(v[e>>2],k,m);if(!d){break qh}_(f|0)}e=O()|0;if((d|0)==1){break zh}break Rh}if((d|0)==2){v[299999]=0;R(149,s+65592|0);e=v[299999];v[299999]=0;d=-1;Uh:{if(!e){break Uh}f=v[3e5];if(!f){break Uh}d=sc(v[e>>2],k,m);if(!d){break qh}_(f|0)}e=O()|0;if((d|0)==1){break zh}break Rh}v[299999]=0;R(150,s+65592|0);e=v[299999];v[299999]=0;d=-1;Vh:{if(!e){break Vh}f=v[3e5];if(!f){break Vh}d=sc(v[e>>2],k,m);if(!d){break qh}_(f|0)}e=O()|0;if((d|0)==1){break zh}}Wh:{if(!v[s+91720>>2]){break Wh}v[s+91928>>2]=3;if(!B(x[s+91902>>1],x[s+91900>>1])){break Wh}e=0;d=v[s+91944>>2];while(1){f=d+(e<<3)|0;u[f+2>>1]=x[f+6>>1]+x[f+2>>1]>>>1;e=e+1|0;if(e>>>0>1],x[s+91900>>1])>>>0){continue}break}}e=v[s+91748>>2];if(!(e|v[s+91928>>2]!=3)){v[299999]=0;R(151,s+65592|0);e=v[299999];v[299999]=0;d=-1;Xh:{if(!e){break Xh}f=v[3e5];if(!f){break Xh}d=sc(v[e>>2],k,m);if(!d){break qh}_(f|0)}e=O()|0;if((d|0)==1){break zh}e=v[s+91748>>2]}f=v[s+65748>>2];if(!((f|0)!=2|e)){v[299999]=0;R(152,s+65592|0);e=v[299999];v[299999]=0;d=-1;Yh:{if(!e){break Yh}f=v[3e5];if(!f){break Yh}d=sc(v[e>>2],k,m);if(!d){break qh}_(f|0)}e=O()|0;if((d|0)==1){break zh}f=v[s+65748>>2];e=v[s+91748>>2]}if(!(e|(f|0)<3)){v[299999]=0;R(153,s+65592|0);e=v[299999];v[299999]=0;d=-1;Zh:{if(!e){break Zh}f=v[3e5];if(!f){break Zh}d=sc(v[e>>2],k,m);if(!d){break qh}_(f|0)}e=O()|0;if((d|0)==1){break zh}}if(v[s+65636>>2]){v[299999]=0;R(154,s+65592|0);e=v[299999];v[299999]=0;d=-1;_h:{if(!e){break _h}f=v[3e5];if(!f){break _h}d=sc(v[e>>2],k,m);if(!d){break qh}_(f|0)}e=O()|0;if((d|0)==1){break zh}}v[299999]=0;R(155,s+65592|0);e=v[299999];v[299999]=0;d=-1;$h:{if(!e){break $h}f=v[3e5];if(!f){break $h}d=sc(v[e>>2],k,m);if(!d){break qh}_(f|0)}e=O()|0;if((d|0)==1){break zh}if(v[s+65636>>2]){v[299999]=0;R(156,s+65592|0);e=v[299999];v[299999]=0;d=-1;ai:{if(!e){break ai}f=v[3e5];if(!f){break ai}d=sc(v[e>>2],k,m);if(!d){break qh}_(f|0)}e=O()|0;if((d|0)==1){break zh}}e=x[s+91900>>1];u[s+91910>>1]=e;f=x[s+91902>>1];u[s+91912>>1]=f;bi:{if(!(w[s+91920|0]&4)){d=e;e=f;break bi}u[s+91900>>1]=f;u[s+91902>>1]=e;d=f}v[299999]=0;i=ca(23,h|0,e&65535,d&65535,24,19)|0;e=v[299999];v[299999]=0;d=-1;ci:{if(!e){break ci}f=v[3e5];if(!f){break ci}d=sc(v[e>>2],k,m);if(!d){break qh}_(f|0)}e=O()|0;if((d|0)==1){break zh}if(!i){break yh}v[299999]=0;aa=Q(140,x[s+91902>>1],(B(v[s+65764>>2],v[s+91928>>2])|0)/8|0)|0;e=v[299999];v[299999]=0;d=-1;di:{if(!e){break di}f=v[3e5];if(!f){break di}d=sc(v[e>>2],k,m);if(!d){break qh}_(f|0)}e=O()|0;if((d|0)==1){break zh}v[299999]=0;U(141,s+65592|0,aa|0,$|0);e=v[299999];v[299999]=0;d=-1;ei:{if(!e){break ei}f=v[3e5];if(!f){break ei}d=sc(v[e>>2],k,m);if(!d){break qh}_(f|0)}e=O()|0;if((d|0)==1){break zh}if(v[s+65764>>2]==8){v[299999]=0;v0(s+65592|0,s);e=v[299999];v[299999]=0;d=-1;fi:{if(!e){break fi}f=v[3e5];if(!f){break fi}d=sc(v[e>>2],k,m);if(!d){break qh}_(f|0)}e=O()|0;if((d|0)==1){break zh}}v[299999]=0;j=Lv(s+65592|0,0,0);e=v[299999];v[299999]=0;d=-1;gi:{if(!e){break gi}f=v[3e5];if(!f){break gi}d=sc(v[e>>2],k,m);if(!d){break qh}_(f|0)}e=O()|0;if((d|0)==1){break zh}v[299999]=0;n=Lv(s+65592|0,0,1);e=v[299999];v[299999]=0;d=-1;hi:{if(!e){break hi}f=v[3e5];if(!f){break hi}d=sc(v[e>>2],k,m);if(!d){break qh}_(f|0)}e=O()|0;if((d|0)==1){break zh}v[299999]=0;g=Lv(s+65592|0,1,0);e=v[299999];v[299999]=0;d=-1;ii:{if(!e){break ii}f=v[3e5];if(!f){break ii}d=sc(v[e>>2],k,m);if(!d){break qh}_(f|0)}e=O()|0;if((d|0)==1){break zh}v[299999]=0;i=Lv(s+65592|0,0,x[s+91902>>1]);e=v[299999];v[299999]=0;d=-1;ji:{if(!e){break ji}f=v[3e5];if(!f){break ji}d=sc(v[e>>2],k,m);if(!d){break qh}_(f|0)}e=O()|0;if((d|0)==1){break zh}if(x[s+91900>>1]){J=n-j|0;K=g-i|0;p=0;while(1){o=v[s+65764>>2];E=v[s+91928>>2];n=x[s+91902>>1];ki:{li:{if(!n){break li}F=v[s+91944>>2];mi:{ni:{if((o|0)==8){if((E|0)<1){break ni}f=E&-2;o=E&1;ba=0;while(1){r=B(E,ba);e=0;d=f;if((E|0)!=1){while(1){g=F+(j<<3)|0;t[aa+(e+r|0)|0]=w[s+x[g+(e<<1)>>1]|0];i=e|1;t[aa+(i+r|0)|0]=w[s+x[g+(i<<1)>>1]|0];e=e+2|0;d=d-2|0;if(d){continue}break}}if(o){t[aa+(e+r|0)|0]=w[s+x[(F+(j<<3)|0)+(e<<1)>>1]|0]}j=j+J|0;ba=ba+1|0;if((ba|0)!=(n|0)){continue}break}o=8;break ki}if((E|0)<1){break mi}i=E&-4;f=E&3;r=E-1|0;ba=0;while(1){I=B(E,ba);e=0;d=i;if(r>>>0>=3){while(1){M=F+(j<<3)|0;u[aa+(e+I<<1)>>1]=x[M+(e<<1)>>1];g=e|1;u[aa+(g+I<<1)>>1]=x[M+(g<<1)>>1];g=e|2;u[aa+(g+I<<1)>>1]=x[M+(g<<1)>>1];g=e|3;u[aa+(g+I<<1)>>1]=x[M+(g<<1)>>1];e=e+4|0;d=d-4|0;if(d){continue}break}}d=f;if(d){while(1){u[aa+(e+I<<1)>>1]=x[(F+(j<<3)|0)+(e<<1)>>1];e=e+1|0;d=d-1|0;if(d){continue}break}}j=j+J|0;ba=ba+1|0;if((ba|0)!=(n|0)){continue}break}break li}j=(j+J|0)+B(J,n-1|0)|0;o=8;break ki}j=(j+J|0)+B(J,n-1|0)|0}if(v[s+65768>>2]|(o|0)!=16){break ki}v[299999]=0;e=v[299999];v[299999]=0;d=-1;oi:{if(!e){break oi}f=v[3e5];if(!f){break oi}d=sc(v[e>>2],k,m);if(!d){break qh}_(f|0)}e=O()|0;if((d|0)==1){break zh}v[299999]=0;sp(aa,aa,B(n,E)<<1);e=v[299999];v[299999]=0;d=-1;pi:{if(!e){break pi}f=v[3e5];if(!f){break pi}d=sc(v[e>>2],k,m);if(!d){break qh}_(f|0)}e=O()|0;if((d|0)==1){break zh}n=x[s+91902>>1];o=v[s+65764>>2];E=v[s+91928>>2]}v[299999]=0;d=B((B(o,E)|0)/8|0,n);Vo(h,aa,d);e=v[299999];v[299999]=0;g=-1;qi:{if(!e){break qi}f=v[3e5];if(!f){break qi}g=sc(v[e>>2],k,m);if(!g){break qh}_(f|0)}e=O()|0;if((g|0)==1){break zh}v[299999]=0;g=-1;n=xe(h,x[s+91900>>1]+(p^-1)|0);e=v[299999];v[299999]=0;ri:{if(!e){break ri}f=v[3e5];if(!f){break ri}g=sc(v[e>>2],k,m);if(!g){break qh}_(f|0)}e=O()|0;if((g|0)==1){break zh}v[299999]=0;i=v[h+52>>2];e=v[299999];v[299999]=0;g=-1;si:{if(!e){break si}f=v[3e5];if(!f){break si}g=sc(v[e>>2],k,m);if(!g){break qh}_(f|0)}e=O()|0;if((g|0)==1){break zh}if(d>>>0>=i>>>0){v[299999]=0;d=v[h+52>>2];e=v[299999];v[299999]=0;g=-1;ti:{if(!e){break ti}f=v[3e5];if(!f){break ti}g=sc(v[e>>2],k,m);if(!g){break qh}_(f|0)}e=O()|0;if((g|0)==1){break zh}}gc(n,aa,d);j=j+K|0;p=p+1|0;if(p>>>0>1]){continue}break}}dc(aa);v[299999]=0;QI(s+65592|0);e=v[299999];v[299999]=0;d=-1;ui:{if(!e){break ui}f=v[3e5];if(!f){break ui}d=sc(v[e>>2],k,m);if(!d){break qh}_(f|0)}f=1;e=O()|0;if((d|0)!=1){break rh}}f=1;continue}f=0;continue}}dc(k);Qb=s+256240|0;break ph}dc(k);sd(e,f);L()}if(f){break b}ce(a+72|0,fa+72|0);Ub[v[v[b>>2]+20>>2]](b,sa,0)|0;Ub[v[v[h>>2]+4>>2]](h);if(c){break c}}h=fc(976);fa=gf(h,20);v[h>>2]=39736;lh(fa,a);d=0;s=Qb-32|0;Qb=s;r=b;e=0;vi:{if(!b){break vi}b=jc(712);wi:{if(!b){Xc(h+72|0,2713,255);if(b){CB(b)}break wi}l=ic(b,0,712);v[l+4>>2]=r;v[s+24>>2]=123;v[s+20>>2]=124;v[s+16>>2]=125;v[l+32>>2]=0;v[l+8>>2]=s+16;b=Ub[v[v[r>>2]+28>>2]](r)|0;v[l+36>>2]=0;v[l+24>>2]=b;while(1){xi:{m=-5;if(v[l+24>>2]<1){break xi}m=0;yi:{zi:{Ai:{Bi:{Ci:{switch(v[l+32>>2]){case 0:m=-10;f=Qb-32|0;Qb=f;e=-5;Di:{Ei:{Fi:{Gi:{Hi:{Ii:{Ji:{if((ye(l,f,26)|0)!=26){break Ji}e=-200;if(v[f>>2]!=1397768760){break Ji}e=-201;b=x[f+4>>1];if(((b<<8|b>>>8)&65535)!=1){break Ji}b=x[f+14>>1]|x[f+16>>1]<<16;b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);v[l+44>>2]=b;if(b-1>>>0>=3e4){break Ii}b=x[f+18>>1]|x[f+20>>1]<<16;b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);v[l+40>>2]=b;if(b-1>>>0>=3e4){break Hi}b=x[f+12>>1];b=b<<8|b>>>8;u[l+356>>1]=b;u[l+48>>1]=b;if((b-1&65535)>>>0>=56){break Gi}b=x[f+22>>1];b=b<<8|b>>>8;u[l+50>>1]=b;b=b&65535;if(b>>>0>16|!(1<>1];b=b<<8|b>>>8;v[l+52>>2]=b<<16>>16;b=b&65535;if(b>>>0>=10){break Ei}e=0;if(!(927>>>b&1)){break Ei}}Qb=f+32|0;b=e;break Di}X(8037,10785,66,193370);L()}X(14350,10785,71,193370);L()}X(16387,10785,76,193370);L()}X(19093,10785,81,193370);L()}X(21703,10785,115,193370);L()}switch(b+3|0){case 0:break yi;case 3:break Bi;default:break zi};case 1:m=-11;G=2;e=nc(l);v[l+56>>2]=e;b=0;Ki:{if((e|0)<1){break Ki}b=(e>>>0)/3|0;v[l+56>>2]=b;Ca=l,Da=jc(b<<2),v[Ca+60>>2]=Da;f=jc(B(v[l+56>>2],3));g=v[l+60>>2];if(!(f?g:0)){dc(g);v[l+60>>2]=0;dc(f);b=-4;break Ki}b=v[l+56>>2];Li:{if((b|0)<1){break Li}v[g>>2]=-65794;if((b|0)==1){break Li}i=(b<<2)-4|0;e=4;while(1){gc(e+g|0,g,(e|0)>(i|0)?i:e);i=i-e|0;e=e<<1;if((i|0)>0){continue}break}}ye(l,f,B(v[l+56>>2],3));b=v[l+56>>2];Mi:{if(!b){break Mi}n=b+f|0;i=b+n|0;P=v[l+60>>2];Ni:{if(!(b&1)){p=f;e=b;break Ni}v[P>>2]=w[i|0]|(w[f|0]<<16|w[n|0]<<8)|-16777216;P=P+4|0;i=i+1|0;n=n+1|0;p=f+1|0;e=b-1|0}if((b|0)==1){break Mi}while(1){v[P>>2]=w[i|0]|(w[p|0]<<16|w[n|0]<<8)|-16777216;v[P+4>>2]=w[i+1|0]|(w[p+1|0]<<16|w[n+1|0]<<8)|-16777216;P=P+8|0;i=i+2|0;n=n+2|0;p=p+2|0;e=e-2|0;if(e){continue}break}}dc(f);b=0}switch(b+3|0){case 0:break yi;case 3:break Ai;default:break zi};case 2:G=3;m=-12;P=nc(l);b=0;Oi:{if((P|0)<1){break Oi}v[l+452>>2]=30;v[l+456>>2]=30;o=l- -64|0;while(1){b=-400;if((nc(l)|0)!=943868237){break Oi}n=Ec(l);b=Pe(l);p=((b^-1)&1)+b&255;Yd(l,p);b=nc(l);e=(b&1)+b|0;Pi:{Qi:{Ri:{Si:{Ti:{Ui:{Vi:{Wi:{i=v[l+36>>2];switch(i-3|0){case 2:break Ui;case 0:break Vi;case 1:break Wi;default:break Si}}b=e;switch((n&65535)-1033|0){case 0:case 3:break Si;default:break Ri}}b=e;f=n&65535;switch(f-1045|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:break Ri;case 0:case 8:break Si;default:break Ti}}b=e;if((n&-2)!=1058){break Ri}break Si}if((f|0)!=1006){break Ri}}if((e|0)<1){break Qi}g=v[l+28>>2];Xi:{Yi:{Zi:{_i:{$i:{aj:{bj:{cj:{dj:{switch((n&65535)-1005|0){case 0:Ca=l,Ja=C(C(nc(l)|0)*C(152587890625e-16)),z[Ca+324>>2]=Ja;Ca=l,Da=Ec(l),u[Ca+328>>1]=Da;Ca=l,Da=Ec(l),u[Ca+330>>1]=Da;Ca=l,Ja=C(C(nc(l)|0)*C(152587890625e-16)),z[Ca+332>>2]=Ja;Ca=l,Da=Ec(l),u[Ca+336>>1]=Da;b=Ec(l);t[l+320|0]=1;u[l+338>>1]=b;break Xi;case 1:i=jc(e);if(!i){break bj}ye(l,i,e);n=x[l+354>>1];if(!n){b=0;j=0;if((e|0)>=2){while(1){f=w[i+j|0];b=b+1|0;u[l+354>>1]=b;f=f+j|0;j=f+1|0;if((e|0)>(f+2|0)){continue}break}}u[l+356>>1]=x[l+48>>1]-b;b=jc(B(b<<16>>16,272));v[l+360>>2]=b;if(!b){break cj}ic(b,0,B(u[l+354>>1],272));n=x[l+354>>1]}j=0;b=0;if(n<<16>>16<1){break Yi}while(1){f=b+i|0;gc(v[l+360>>2]+B(j,272)|0,f+1|0,w[f|0]);b=(w[f|0]+b|0)+1|0;j=j+1|0;if((j|0)>1]){continue}break};break Yi;case 2:Ca=l,Da=_h(l),v[Ca+344>>2]=Da;b=Ec(l);u[l+348>>1]=b;if((b&65535)>>>0>=101){break aj}Ca=l,Da=Pe(l),t[Ca+350|0]=Da;Pe(l);t[l+340|0]=1;break Xi;case 3:ye(l,o,Pe(l));break Xi;case 19:Ca=l,Da=Ec(l),u[Ca+364>>1]=Da;break Xi;case 21:v[l+368>>2]=e>>>1;b=jc(e&-2);v[l+372>>2]=b;if(!b){break bj}j=0;if(v[l+368>>2]>=1){while(1){b=Ec(l);u[v[l+372>>2]+(j<<1)>>1]=b;j=j+1|0;if((j|0)>2]){continue}break}}t[l+366|0]=1;break Xi;case 28:case 31:b=e;if((i|0)==2){break Ri}b=nc(l);v[l+380>>2]=b;if(b>>>0>=2){break $i}Ca=l,Da=nc(l),v[Ca+384>>2]=Da;Ca=l,Da=nc(l),v[Ca+388>>2]=Da;Ca=l,Da=nc(l),v[Ca+392>>2]=Da;Ca=l,Da=nc(l),v[Ca+396>>2]=Da;Ca=l,Da=nc(l),v[Ca+400>>2]=Da;b=Ec(l);u[l+404>>1]=b;if((b|0)!=24){break _i}b=Ec(l);u[l+406>>1]=b;if((b|0)!=1){break Zi}b=e-28|0;f=jc(b);v[l+408>>2]=f;if(!f){break bj}ye(l,f,b);t[l+376|0]=1;break Xi;case 29:b=Ec(l);t[l+448|0]=b;if(!(b&254)){break Xi}X(19169,7313,273,193390);L();case 32:Ca=l,Da=nc(l),v[Ca+452>>2]=Da;break Xi;case 37:b=Ec(l);t[l+460|0]=b;if(!(b&254)){break Xi}X(21563,7313,288,193390);L();case 40:i=jc(e);if(!i){break bj}ye(l,i,e);b=x[l+354>>1];if(!b){n=0;b=0;while(1){f=b+i|0;f=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);n=n+1|0;u[l+354>>1]=n;b=(((f<<8&16711680|f<<24|(f>>>8&65280|f>>>24))<<1)+b|0)+4|0;if((e|0)>(b|0)){continue}break}u[l+356>>1]=x[l+48>>1]-n;b=jc(B(n<<16>>16,272));v[l+360>>2]=b;if(!b){break cj}ic(b,0,B(u[l+354>>1],272));b=x[l+354>>1]}if(b<<16>>16<1){break Yi}j=v[l+360>>2];b=0;n=0;while(1){q=B(b,272);E=i+n|0;f=w[E|0]|w[E+1|0]<<8|(w[E+2|0]<<16|w[E+3|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);v[(q+j|0)+256>>2]=f;j=jc(f<<1);f=q+v[l+360>>2]|0;v[f+260>>2]=j;if(!j){break cj}gc(j,E+4|0,v[f+256>>2]<<1);j=v[l+360>>2];n=((v[(q+j|0)+256>>2]<<1)+n|0)+4|0;b=b+1|0;if((b|0)>1]){continue}break};break Yi;case 41:Ca=l,Da=Ec(l),u[Ca+462>>1]=Da;break Xi;case 42:Ca=l,Da=Ec(l),u[Ca+464>>1]=Da;break Xi;case 44:Ca=l,Da=nc(l),v[Ca+456>>2]=Da;break Xi;case 48:b=x[l+354>>1];if(!b){b=e>>>2|0;u[l+354>>1]=b;u[l+356>>1]=x[l+48>>1]-b;b=jc(B(e<<14>>16,272));v[l+360>>2]=b;if(!b){break bj}ic(b,0,B(u[l+354>>1],272));b=x[l+354>>1]}j=0;if(b<<16>>16>=1){while(1){b=nc(l);v[(v[l+360>>2]+B(j,272)|0)+264>>2]=b;j=j+1|0;if((j|0)>1]){continue}break}}t[l+352|0]=1;break Xi;case 52:Ca=l,Da=nc(l),v[Ca+420>>2]=Da;Ca=l,Da=Td(l),t[Ca+424|0]=Da;b=nc(l);v[l+428>>2]=b;b=jc(b<<1);v[l+432>>2]=b;j=-4;if(!b){break Pi}ye(l,b,v[l+428>>2]<<1);b=nc(l);v[l+436>>2]=b;b=jc(b<<1);v[l+440>>2]=b;if(!b){break Pi}ye(l,b,v[l+436>>2]<<1);b=nc(l);t[l+416|0]=1;v[l+444>>2]=b;break Xi;default:break dj}}Yd(l,e);break Xi}dc(i)}j=-4;break Pi}X(3473,7313,182,193390);L()}X(11514,7313,229,193390);L()}X(14124,7313,242,193390);L()}X(16574,7313,245,193390);L()}dc(i);t[l+352|0]=1}b=(e+g|0)-v[l+28>>2]|0}Yd(l,b)}j=0;P=(((p^-1)+P|0)-e|0)-10|0;if((P|0)>0){continue}}break}b=j}switch(b+3|0){case 0:break yi;case 3:break Ai;default:break zi};case 3:m=-13;G=4;e=0;b=nc(l);f=0;ej:{if((b|0)<1){break ej}fj:{gj:{if(v[l+36>>2]-3>>>0<3){break gj}i=v[l+28>>2];e=L0(l);uc(v[l+684>>2]);v[l+684>>2]=0;v[l+688>>2]=0;uc(v[l+692>>2]);v[l+692>>2]=0;v[l+696>>2]=0;if(e){break fj}f=nc(l);if(f){e=v[l+28>>2];Ca=l,Da=_h(l),v[Ca+640>>2]=Da;Ca=l,Da=Ec(l),u[Ca+644>>1]=Da;Ca=l,Da=Pe(l),t[Ca+646|0]=Da;Yd(l,(e+f|0)-v[l+28>>2]|0)}e=0;I=b+i|0;b=I-v[l+28>>2]|0;if((b|0)<13){break gj}while(1){if((nc(l)|0)!=943868237){b=I-v[l+28>>2]|0;break gj}f=nc(l);hj:{if((f|0)==1282552118){e=L0(l);break hj}b=nc(l);if(!((f|0)!=1348564084&(f|0)!=1348564018)){if((b|0)>=4){n=v[l+28>>2];while(1){g=0;p=0;K=0;ha=0;i=nc(l);f=v[l+28>>2];j=-531;ij:{jj:{if((nc(l)|0)!=1){break jj}kj:{E=v[l+652>>2];e=v[l+648>>2];if((E|0)<(e|0)){k=v[l+656>>2];break kj}e=(e|0)>2?e<<1:4;v[l+648>>2]=e;k=uh(v[l+656>>2],B(e,296));v[l+656>>2]=k;if(k){break kj}e=-4;break ij}N=ic(B(E,296)+k|0,0,296);e=nc(l);v[N>>2]=e;if(!(1<>>0<=9:0)){X(3794,6678,563,194164);L()}q=B(E,296)+k|0;Ca=q,Da=Ec(l),u[Ca+4>>1]=Da;Ca=q,Da=Ec(l),u[Ca+6>>1]=Da;e=nc(l);v[q+8>>2]=e;e=jc(e<<1);v[q+12>>2]=e;j=-4;if(!e){break jj}o=q;ye(l,e,v[o+8>>2]<<1);ye(l,o+16|0,Pe(l));if(v[N>>2]==2){p=jc(1024);if(!p){break jj}j=0;while(1){e=Pe(l);Ca=(j<<2)+p|0,Da=Pe(l)<<8|e<<16|Pe(l)|-16777216,v[Ca>>2]=Da;j=j+1|0;if((j|0)!=256){continue}break}}aa=B(E,296)+k|0;Ca=aa,Da=nc(l),v[Ca+272>>2]=Da;nc(l);Ca=aa,Da=nc(l),u[Ca+276>>1]=Da;Ca=aa,Da=nc(l),u[Ca+278>>1]=Da;Ca=aa,Da=nc(l),u[Ca+280>>1]=Da;Ca=aa,Da=nc(l),u[Ca+282>>1]=Da;J=f+(i+3&-4)|0;lj:{M=nc(l);mj:{nj:{if((M|0)<1){break nj}while(1){e=nc(l);E=nc(l);oj:{if((E|0)<=22){if((J-v[l+28>>2]|0)>=13){break oj}break nj}j=(e&255)!=1;pj:{if(!j){f=v[aa+288>>2];e=nc(l);if(!f){g=e;break pj}if((e|0)==(g|0)){break pj}X(11869,6678,640,194164);L()}nc(l)}k=E-23|0;Yd(l,18);i=Pe(l);qj:{if(!j){rj:{if(v[aa+288>>2]){break rj}f=u[o+4>>1];e=u[q+6>>1];K=B(f,e);j=K;sj:{tj:{switch(x[l+50>>1]-1|0){case 15:K=K<<1;j=K;break sj;default:X(3794,6678,669,194164);L();case 7:break sj;case 0:break tj}}j=B(f,(e+7|0)/8|0)}v[l+700>>2]=j;uj:{vj:{switch(v[N>>2]-1|0){case 0:case 7:j=j<<1;break uj;case 3:j=B(j,5);break uj;case 2:case 6:case 8:break vj;default:break uj}}j=j<<2}if(v[l+688>>2]>=(j|0)){break rj}uc(v[l+684>>2]);e=v[l+688>>2]<<1;e=(e|0)>(j|0)?e:j;v[l+688>>2]=e;e=jc(e);v[l+684>>2]=e;if(e){break rj}v[l+688>>2]=0;break mj}j=v[l+692>>2];wj:{if((k|0)<=v[l+696>>2]){break wj}uc(j);e=v[l+696>>2]<<1;e=(e|0)>(k|0)?e:k;v[l+696>>2]=e;j=jc(e);v[l+692>>2]=j;if(j){break wj}v[l+696>>2]=0;break mj}if((ye(l,j,k)|0)!=(k|0)){uc(p);e=-5;break ij}e=v[l+700>>2];W=v[l+684>>2]+B(e,v[aa+288>>2])|0;xj:{yj:{switch(i|0){case 1:zj:{switch(x[l+50>>1]-8|0){default:X(13932,6678,751,194164);L();case 0:case 8:break zj}}e=x[o+4>>1];i=e<<16>>16;Aj:{if((i|0)<1){P=0;break Aj}$=v[l+692>>2];j=$+(e<<1)|0;P=0;ka=0;while(1){e=0;f=w[$|0]|w[$+1|0]<<8;k=(f<<8|f>>>8)<<16>>16;if((k|0)>=1){while(1){f=e+1|0;i=j+1|0;F=w[j|0];E=F<<24>>24;Bj:{if((E|0)>=0){e=f;f=F+1|0;e=e+f|0;W=gc(W,i,f)+f|0;P=f+P|0;i=f+i|0;break Bj}if((E|0)==-128){e=f;break Bj}e=e+2|0;f=257-F|0;W=ic(W,w[j+1|0],f)+f|0;P=f+P|0;i=j+2|0}j=i;if((e|0)<(k|0)){continue}break}i=x[o+4>>1]}$=$+2|0;ka=ka+1|0;if((ka|0)>16){continue}break}}if((K|0)==(P|0)){break xj}X(15560,6678,793,194164);L();case 2:j=bJ(v[l+692>>2],k,W,K);if(!j){break xj}break jj;case 3:j=aJ(v[l+692>>2],k,W,K,u[q+6>>1],x[l+50>>1]);if(!j){break xj}break jj;default:X(3794,6678,820,194164);L();case 0:break yj}}gc(W,v[l+692>>2],e)}v[aa+288>>2]=v[aa+288>>2]+1;break qj}if((E|0)<24){break qj}Yd(l,k)}if((J-v[l+28>>2]|0)<13){break nj}}ha=ha+1|0;if((M|0)!=(ha|0)){continue}break}}j=jc(B(u[q+6>>1],u[o+4>>1])<<2);v[aa+292>>2]=j;if(j){break lj}}uc(p);e=-4;break ij}Cj:{Dj:{Ej:{switch(v[N>>2]){case 0:if((g|0)==1){M=v[l+684>>2];q=0;K=(v[l+40>>2]+7|0)/8|0;E=u[N+4>>1];Fj:{if((E|0)<1){break Fj}F=u[N+6>>1];if((F|0)<1){break Fj}e=F&-2;o=F&1;g=v[N+292>>2];while(1){j=M+B(q,K)|0;k=128;i=e;if((F|0)!=1){while(1){v[g>>2]=w[j|0]&k?-16777216:-1;f=k>>>0<2;k=f?128:k>>1;j=f+j|0;v[g+4>>2]=k&w[j|0]?-16777216:-1;f=k>>>0<2;k=f?128:k>>1;j=f+j|0;g=g+8|0;i=i-2|0;if(i){continue}break}}if(o){v[g>>2]=w[j|0]&k?-16777216:-1;g=g+4|0}q=q+1|0;if((E|0)!=(q|0)){continue}break}}break Cj}X(3794,6678,851,194164);L();case 1:case 8:Gj:{switch(x[l+50>>1]-8|0){case 8:e=v[N+292>>2];Hj:{if(v[N+288>>2]==2){j=u[N+4>>1];f=u[N+6>>1];k=B(j,f);if(!k){break Hj}i=v[l+684>>2];g=i+v[l+700>>2]|0;f=B(f,j);if(f&1){j=w[g|0];v[e>>2]=j<<16|j|j<<8|w[i|0]<<24;g=g+2|0;k=k-1|0;i=i+2|0;e=e+4|0}if((f|0)==1){break Hj}while(1){f=w[g|0];v[e>>2]=f<<16|f|f<<8|w[i|0]<<24;f=w[g+2|0];v[e+4>>2]=f<<16|f|f<<8|w[i+2|0]<<24;g=g+4|0;i=i+4|0;e=e+8|0;k=k-2|0;if(k){continue}break}break Hj}i=u[N+4>>1];f=u[N+6>>1];g=B(i,f);if(!g){break Hj}f=B(f,i);j=f-1|0;i=v[l+684>>2];k=f&3;if(k){while(1){f=w[i|0];v[e>>2]=(B(f,65792)|f)-16777216;i=i+2|0;e=e+4|0;g=g-1|0;k=k-1|0;if(k){continue}break}}if(j>>>0<3){break Hj}while(1){f=w[i|0];v[e>>2]=(B(f,65792)|f)-16777216;f=w[i+2|0];v[e+4>>2]=(B(f,65792)|f)-16777216;f=w[i+4|0];v[e+8>>2]=(B(f,65792)|f)-16777216;f=w[i+6|0];v[e+12>>2]=(B(f,65792)|f)-16777216;i=i+8|0;e=e+16|0;g=g-4|0;if(g){continue}break}}break Cj;case 0:break Dj;default:break Gj}}X(3794,6678,864,194164);L();case 2:if(x[l+50>>1]==8){f=u[q+6>>1];e=u[o+4>>1];k=B(f,e);if(!k){break Cj}i=B(e,f);f=i-1|0;e=v[l+684>>2];i=i&3;if(i){while(1){v[j>>2]=v[(w[e|0]<<2)+p>>2];e=e+1|0;j=j+4|0;k=k-1|0;i=i-1|0;if(i){continue}break}}if(f>>>0<3){break Cj}while(1){v[j>>2]=v[(w[e|0]<<2)+p>>2];v[j+4>>2]=v[(w[e+1|0]<<2)+p>>2];v[j+8>>2]=v[(w[e+2|0]<<2)+p>>2];v[j+12>>2]=v[(w[e+3|0]<<2)+p>>2];e=e+4|0;j=j+16|0;k=k-4|0;if(k){continue}break}break Cj}X(3794,6678,872,194164);L();case 3:Ij:{switch(x[l+50>>1]-8|0){case 0:o=u[N+4>>1];f=u[N+6>>1];j=B(o,f);q=v[l+700>>2];e=v[l+684>>2];k=v[N+292>>2];Jj:{if(v[N+288>>2]==4){if(!j){break Jj}i=e+q|0;g=(q<<1)+e|0;q=B(q,3)+e|0;f=B(f,o);if(f&1){v[k>>2]=w[q|0]|(w[i|0]<<16|w[e|0]<<24|w[g|0]<<8);q=q+1|0;g=g+1|0;k=k+4|0;j=j-1|0;i=i+1|0;e=e+1|0}if((f|0)==1){break Jj}while(1){v[k>>2]=w[q|0]|(w[i|0]<<16|w[e|0]<<24|w[g|0]<<8);v[k+4>>2]=w[q+1|0]|(w[i+1|0]<<16|w[e+1|0]<<24|w[g+1|0]<<8);q=q+2|0;g=g+2|0;i=i+2|0;e=e+2|0;k=k+8|0;j=j-2|0;if(j){continue}break}break Jj}if(!j){break Jj}i=e+q|0;g=(q<<1)+e|0;f=B(f,o);if(f&1){v[k>>2]=w[g|0]|(w[e|0]<<16|w[i|0]<<8)|-16777216;g=g+1|0;k=k+4|0;j=j-1|0;i=i+1|0;e=e+1|0}if((f|0)==1){break Jj}while(1){v[k>>2]=w[g|0]|(w[e|0]<<16|w[i|0]<<8)|-16777216;v[k+4>>2]=w[g+1|0]|(w[e+1|0]<<16|w[i+1|0]<<8)|-16777216;g=g+2|0;i=i+2|0;e=e+2|0;k=k+8|0;j=j-2|0;if(j){continue}break}}break Cj;case 8:o=u[N+4>>1];f=u[N+6>>1];j=B(o,f);q=v[l+700>>2];e=v[l+684>>2];k=v[N+292>>2];Kj:{if(v[N+288>>2]==4){if(!j){break Kj}i=e+q|0;g=(q<<1)+e|0;q=B(q,3)+e|0;f=B(f,o);if(f&1){v[k>>2]=t[q|0]|(t[i|0]<<16|w[e|0]<<24|t[g|0]<<8);q=q+2|0;g=g+2|0;k=k+4|0;j=j-1|0;i=i+2|0;e=e+2|0}if((f|0)==1){break Kj}while(1){v[k>>2]=t[q|0]|(t[i|0]<<16|w[e|0]<<24|t[g|0]<<8);v[k+4>>2]=t[q+2|0]|(t[i+2|0]<<16|w[e+2|0]<<24|t[g+2|0]<<8);q=q+4|0;g=g+4|0;i=i+4|0;e=e+4|0;k=k+8|0;j=j-2|0;if(j){continue}break}break Kj}if(!j){break Kj}i=e+q|0;g=(q<<1)+e|0;f=B(f,o);if(f&1){v[k>>2]=t[g|0]|(w[e|0]<<16|t[i|0]<<8)|-16777216;g=g+2|0;k=k+4|0;j=j-1|0;i=i+2|0;e=e+2|0}if((f|0)==1){break Kj}while(1){v[k>>2]=t[g|0]|(w[e|0]<<16|t[i|0]<<8)|-16777216;v[k+4>>2]=t[g+2|0]|(w[e+2|0]<<16|t[i+2|0]<<8)|-16777216;g=g+4|0;i=i+4|0;e=e+4|0;k=k+8|0;j=j-2|0;if(j){continue}break}}break Cj;default:break Ij}}X(3794,6678,882,194164);L();case 4:Lj:{switch(x[l+50>>1]-8|0){case 0:q=B(u[N+4>>1],u[N+6>>1]);f=v[l+700>>2];e=v[l+684>>2];W=v[N+292>>2];Mj:{if(v[N+288>>2]==5){if(!q){break Mj}i=e+f|0;k=(f<<1)+e|0;j=B(f,3)+e|0;g=(f<<2)+e|0;while(1){Ca=W,Da=Ms(w[e|0],w[i|0]^255,w[k|0]^255,w[j|0]^255,w[g|0]^255),v[Ca>>2]=Da;g=g+1|0;j=j+1|0;k=k+1|0;i=i+1|0;e=e+1|0;W=W+4|0;q=q-1|0;if(q){continue}break}break Mj}if(!q){break Mj}i=e+f|0;k=(f<<1)+e|0;j=B(f,3)+e|0;while(1){Ca=W,Da=Fk(w[e|0]^255,w[i|0]^255,w[k|0]^255,w[j|0]^255),v[Ca>>2]=Da;j=j+1|0;k=k+1|0;i=i+1|0;e=e+1|0;W=W+4|0;q=q-1|0;if(q){continue}break}}break Cj;case 8:q=B(u[N+4>>1],u[N+6>>1]);f=v[l+700>>2];e=v[l+684>>2];W=v[N+292>>2];Nj:{if(v[N+288>>2]==5){if(!q){break Nj}i=e+f|0;k=(f<<1)+e|0;j=B(f,3)+e|0;g=(f<<2)+e|0;while(1){Ca=W,Da=Ms(w[e|0],255-t[i|0]|0,255-t[k|0]|0,255-t[j|0]|0,255-t[g|0]|0),v[Ca>>2]=Da;g=g+2|0;j=j+2|0;k=k+2|0;i=i+2|0;e=e+2|0;W=W+4|0;q=q-1|0;if(q){continue}break}break Nj}if(!q){break Nj}i=e+f|0;k=(f<<1)+e|0;j=B(f,3)+e|0;while(1){Ca=W,Da=Fk(255-t[e|0]|0,255-t[i|0]|0,255-t[k|0]|0,255-t[j|0]|0),v[Ca>>2]=Da;j=j+2|0;k=k+2|0;i=i+2|0;e=e+2|0;W=W+4|0;q=q-1|0;if(q){continue}break}}break Cj;default:break Lj}}X(3794,6678,893,194164);L();case 9:Oj:{switch(x[l+50>>1]-8|0){case 0:k=B(u[N+4>>1],u[N+6>>1]);f=v[l+700>>2];e=v[l+684>>2];j=v[N+292>>2];Pj:{if(v[N+288>>2]==4){if(!k){break Pj}i=e+f|0;g=(f<<1)+e|0;q=B(f,3)+e|0;while(1){Ca=j,Da=Po(w[e|0],B(w[i|0],100)>>>8|0,w[g|0]-128|0,w[q|0]-128|0),v[Ca>>2]=Da;q=q+1|0;g=g+1|0;i=i+1|0;e=e+1|0;j=j+4|0;k=k-1|0;if(k){continue}break}break Pj}if(!k){break Pj}i=e+f|0;g=(f<<1)+e|0;while(1){Ca=j,Da=Ls(B(w[e|0],100)>>>8|0,w[i|0]-128|0,w[g|0]-128|0),v[Ca>>2]=Da;g=g+1|0;i=i+1|0;e=e+1|0;j=j+4|0;k=k-1|0;if(k){continue}break}}break Cj;case 8:k=B(u[N+4>>1],u[N+6>>1]);f=v[l+700>>2];e=v[l+684>>2];j=v[N+292>>2];Qj:{if(v[N+288>>2]==4){if(!k){break Qj}i=e+f|0;g=(f<<1)+e|0;q=B(f,3)+e|0;while(1){Ca=j,Da=Po(w[e|0],B(t[i|0],100)>>8,t[g|0]-128|0,t[q|0]-128|0),v[Ca>>2]=Da;q=q+2|0;g=g+2|0;i=i+2|0;e=e+2|0;j=j+4|0;k=k-1|0;if(k){continue}break}break Qj}if(!k){break Qj}i=e+f|0;g=(f<<1)+e|0;while(1){Ca=j,Da=Ls(B(t[e|0],100)>>8,t[i|0]-128|0,t[g|0]-128|0),v[Ca>>2]=Da;g=g+2|0;i=i+2|0;e=e+2|0;j=j+4|0;k=k-1|0;if(k){continue}break}}break Cj;default:break Oj}}X(3794,6678,905,194164);L();case 7:if(x[l+50>>1]==8){k=B(u[N+4>>1],u[N+6>>1]);f=v[l+700>>2];e=v[l+684>>2];j=v[N+292>>2];Rj:{if(v[N+288>>2]==4){if(!k){break Rj}i=e+f|0;g=(f<<1)+e|0;q=B(f,3)+e|0;while(1){Ca=j,Da=Fk(w[e|0]^255,w[i|0]^255,w[g|0]^255,w[q|0]^255),v[Ca>>2]=Da;q=q+1|0;g=g+1|0;i=i+1|0;e=e+1|0;j=j+4|0;k=k-1|0;if(k){continue}break}break Rj}if(!k){break Rj}i=e+f|0;g=(f<<1)+e|0;while(1){Ca=j,Da=Fk(w[e|0]^255,w[i|0]^255,w[g|0]^255,0),v[Ca>>2]=Da;g=g+1|0;i=i+1|0;e=e+1|0;j=j+4|0;k=k-1|0;if(k){continue}break}}break Cj}X(3794,6678,914,194164);L();default:break Ej}}X(3794,6678,919,194164);L()}e=v[N+292>>2];Sj:{if(v[N+288>>2]==2){j=u[N+4>>1];f=u[N+6>>1];k=B(j,f);if(!k){break Sj}i=v[l+684>>2];g=i+v[l+700>>2]|0;f=B(f,j);if(f&1){j=w[g|0];v[e>>2]=j<<16|j|j<<8|w[i|0]<<24;g=g+1|0;k=k-1|0;i=i+1|0;e=e+4|0}if((f|0)==1){break Sj}while(1){f=w[g|0];v[e>>2]=f<<16|f|f<<8|w[i|0]<<24;f=w[g+1|0];v[e+4>>2]=f<<16|f|f<<8|w[i+1|0]<<24;g=g+2|0;i=i+2|0;e=e+8|0;k=k-2|0;if(k){continue}break}break Sj}i=u[N+4>>1];f=u[N+6>>1];g=B(i,f);if(!g){break Sj}f=B(f,i);j=f-1|0;i=v[l+684>>2];k=f&3;if(k){while(1){f=w[i|0];v[e>>2]=(B(f,65792)|f)-16777216;i=i+1|0;e=e+4|0;g=g-1|0;k=k-1|0;if(k){continue}break}}if(j>>>0<3){break Sj}while(1){f=w[i|0];v[e>>2]=(B(f,65792)|f)-16777216;f=w[i+1|0];v[e+4>>2]=(B(f,65792)|f)-16777216;f=w[i+2|0];v[e+8>>2]=(B(f,65792)|f)-16777216;f=w[i+3|0];v[e+12>>2]=(B(f,65792)|f)-16777216;i=i+4|0;e=e+16|0;g=g-4|0;if(g){continue}break}}}uc(p);v[l+652>>2]=v[l+652>>2]+1;Yd(l,J-v[l+28>>2]|0);j=0}e=j}b=b+n|0;n=v[l+28>>2];b=b-n|0;if((b|0)>3){continue}break}}if((b|0)<1){break hj}Yd(l,b);break hj}if((b|0)<1){break hj}Yd(l,b)}b=I-v[l+28>>2]|0;if((b|0)>12){continue}break}}Yd(l,b)}f=e}b=f;switch(b+3|0){case 0:break yi;case 3:break Ai;default:break zi};case 4:m=-14;G=5;p=0;i=0;K=0;Tj:{Uj:{Vj:{Wj:{Xj:{Yj:{switch(v[l+36>>2]-2|0){case 0:if(u[l+632>>1]>0){break Xj}break;case 2:case 3:break Xj;default:break Yj}}e=v[l+44>>2];b=v[l+40>>2];N=B(e,b);p=N;Zj:{_j:{switch(x[l+50>>1]-1|0){case 15:p=N<<1;N=p;break Zj;default:X(3794,7777,538,193444);L();case 7:break Zj;case 0:break _j}}p=B(e,(b+7|0)/8|0)}v[l+700>>2]=p;b=x[l+48>>1];e=Ec(l);b=B(b,p);o=jc(b);if(!o){break Uj}v[l+684>>2]=o;f=v[l+24>>2]-v[l+28>>2]|0;$j:{ak:{if(!e){break ak}i=jc(f);if(!i){dc(o);v[l+684>>2]=0;break Uj}ye(l,i,f);bk:{ck:{dk:{switch(e|0){case 1:ek:{switch(x[l+50>>1]-8|0){default:X(13932,7777,579,193444);L();case 0:case 8:break ek}}b=x[l+48>>1];if(!b){break $j}P=v[l+44>>2];if((P|0)<1){break ck}p=(B(b,P)<<1)+i|0;e=o;n=i;while(1){E=0;k=0;if((P|0)>=1){while(1){b=0;f=w[n|0]|w[n+1|0]<<8;q=(f<<8|f>>>8)<<16>>16;if((q|0)>=1){while(1){f=b+1|0;g=p+1|0;M=w[p|0];j=M<<24>>24;fk:{if((j|0)>=0){b=f;f=M+1|0;b=b+f|0;e=gc(e,g,f)+f|0;E=f+E|0;g=f+g|0;break fk}if((j|0)==-128){b=f;break fk}b=b+2|0;f=257-M|0;e=ic(e,w[p+1|0],f)+f|0;E=f+E|0;g=p+2|0}p=g;if((b|0)<(q|0)){continue}break}P=v[l+44>>2]}n=n+2|0;k=k+1|0;if((P|0)>(k|0)){continue}break}}if((E|0)!=(N|0)){break bk}K=K+1|0;if(K>>>0>1]){continue}break};break $j;case 2:p=bJ(i,f,o,b);if(!p){break $j}break Xj;case 3:p=aJ(i,f,o,b,v[l+40>>2],x[l+50>>1]);if(!p){break $j}break Xj;case 0:break ak;default:break dk}}X(3794,7777,651,193444);L()}if(!N){break $j}}X(15560,7777,623,193444);L()}if((b|0)>(f|0)){break Wj}ye(l,o,b)}uc(i);b=jc(B(v[l+40>>2],v[l+44>>2])<<2);v[l+672>>2]=b;if(!b){break Vj}gk:{hk:{ik:{switch(v[l+52>>2]){case 0:if(x[l+50>>1]==1){e=0;i=v[l+40>>2];p=(i+7|0)/8|0;b=v[l+44>>2];if(!((b|0)<1|(i|0)<1)){g=v[l+684>>2];n=v[l+672>>2];while(1){if((i|0)>=1){j=g+B(e,p)|0;k=0;b=128;while(1){v[n>>2]=w[j|0]&b?-16777216:-1;f=b>>>0<2;b=f?128:b>>1;n=n+4|0;j=f+j|0;i=v[l+40>>2];k=k+1|0;if((i|0)>(k|0)){continue}break}b=v[l+44>>2]}e=e+1|0;if((e|0)<(b|0)){continue}break}}break gk}X(3794,7777,673,193444);L();case 1:case 8:jk:{switch(x[l+50>>1]-8|0){case 8:e=v[l+672>>2];kk:{if(x[l+356>>1]==2){g=v[l+44>>2];f=v[l+40>>2];n=B(g,f);if(!n){break kk}b=v[l+684>>2];i=b+v[l+700>>2]|0;f=B(f,g);if(f&1){g=w[i|0];v[e>>2]=g<<16|g|g<<8|w[b|0]<<24;i=i+2|0;e=e+4|0;n=n-1|0;b=b+2|0}if((f|0)==1){break kk}while(1){f=w[i|0];v[e>>2]=f<<16|f|f<<8|w[b|0]<<24;f=w[i+2|0];v[e+4>>2]=f<<16|f|f<<8|w[b+2|0]<<24;i=i+4|0;b=b+4|0;e=e+8|0;n=n-2|0;if(n){continue}break}break kk}f=v[l+44>>2];b=v[l+40>>2];i=B(f,b);if(!i){break kk}f=B(b,f);g=f-1|0;b=v[l+684>>2];n=f&3;if(n){while(1){f=w[b|0];v[e>>2]=(B(f,65792)|f)-16777216;b=b+2|0;e=e+4|0;i=i-1|0;n=n-1|0;if(n){continue}break}}if(g>>>0<3){break kk}while(1){f=w[b|0];v[e>>2]=(B(f,65792)|f)-16777216;f=w[b+2|0];v[e+4>>2]=(B(f,65792)|f)-16777216;f=w[b+4|0];v[e+8>>2]=(B(f,65792)|f)-16777216;f=w[b+6|0];v[e+12>>2]=(B(f,65792)|f)-16777216;b=b+8|0;e=e+16|0;i=i-4|0;if(i){continue}break}}break gk;case 0:break hk;default:break jk}}X(3794,7777,686,193444);L();case 2:if(x[l+50>>1]==8){g=v[l+44>>2];f=v[l+40>>2];i=B(g,f);if(!i){break gk}p=u[l+462>>1];b=v[l+672>>2];e=v[l+684>>2];f=B(f,g);if(f&1){n=16777215;i=i-1|0;j=b;g=w[e|0];if(!((g|0)>=(p|0)|(g|0)==u[l+464>>1])){n=v[v[l+60>>2]+(g<<2)>>2]}v[j>>2]=n;e=e+1|0;b=b+4|0}if((f|0)==1){break gk}while(1){n=16777215;f=b;g=w[e|0];j=16777215;lk:{if((g|0)>=(p|0)){break lk}j=16777215;if((g|0)==u[l+464>>1]){break lk}j=v[v[l+60>>2]+(g<<2)>>2]}v[f>>2]=j;i=i-2|0;g=b;f=w[e+1|0];if(!((f|0)>=(p|0)|(f|0)==u[l+464>>1])){n=v[v[l+60>>2]+(f<<2)>>2]}v[g+4>>2]=n;e=e+2|0;b=b+8|0;if(i){continue}break}break gk}X(3794,7777,694,193444);L();case 3:mk:{switch(x[l+50>>1]-8|0){case 0:g=v[l+44>>2];f=v[l+40>>2];j=B(g,f);p=v[l+700>>2];b=v[l+684>>2];n=v[l+672>>2];nk:{if(x[l+356>>1]==4){if(!j){break nk}e=b+p|0;i=(p<<1)+b|0;k=B(p,3)+b|0;f=B(f,g);if(f&1){v[n>>2]=w[k|0]|(w[e|0]<<16|w[b|0]<<24|w[i|0]<<8);k=k+1|0;i=i+1|0;n=n+4|0;j=j-1|0;e=e+1|0;b=b+1|0}if((f|0)==1){break nk}while(1){v[n>>2]=w[k|0]|(w[e|0]<<16|w[b|0]<<24|w[i|0]<<8);v[n+4>>2]=w[k+1|0]|(w[e+1|0]<<16|w[b+1|0]<<24|w[i+1|0]<<8);k=k+2|0;i=i+2|0;e=e+2|0;b=b+2|0;n=n+8|0;j=j-2|0;if(j){continue}break}break nk}if(!j){break nk}e=b+p|0;i=(p<<1)+b|0;f=B(f,g);if(f&1){v[n>>2]=w[i|0]|(w[b|0]<<16|w[e|0]<<8)|-16777216;i=i+1|0;n=n+4|0;j=j-1|0;e=e+1|0;b=b+1|0}if((f|0)==1){break nk}while(1){v[n>>2]=w[i|0]|(w[b|0]<<16|w[e|0]<<8)|-16777216;v[n+4>>2]=w[i+1|0]|(w[b+1|0]<<16|w[e+1|0]<<8)|-16777216;i=i+2|0;e=e+2|0;b=b+2|0;n=n+8|0;j=j-2|0;if(j){continue}break}}break gk;case 8:g=v[l+44>>2];f=v[l+40>>2];j=B(g,f);p=v[l+700>>2];b=v[l+684>>2];n=v[l+672>>2];ok:{if(x[l+356>>1]==4){if(!j){break ok}e=b+p|0;i=(p<<1)+b|0;k=B(p,3)+b|0;f=B(f,g);if(f&1){v[n>>2]=t[k|0]|(t[e|0]<<16|w[b|0]<<24|t[i|0]<<8);k=k+2|0;i=i+2|0;n=n+4|0;j=j-1|0;e=e+2|0;b=b+2|0}if((f|0)==1){break ok}while(1){v[n>>2]=t[k|0]|(t[e|0]<<16|w[b|0]<<24|t[i|0]<<8);v[n+4>>2]=t[k+2|0]|(t[e+2|0]<<16|w[b+2|0]<<24|t[i+2|0]<<8);k=k+4|0;i=i+4|0;e=e+4|0;b=b+4|0;n=n+8|0;j=j-2|0;if(j){continue}break}break ok}if(!j){break ok}e=b+p|0;i=(p<<1)+b|0;f=B(f,g);if(f&1){v[n>>2]=t[i|0]|(w[b|0]<<16|t[e|0]<<8)|-16777216;i=i+2|0;n=n+4|0;j=j-1|0;e=e+2|0;b=b+2|0}if((f|0)==1){break ok}while(1){v[n>>2]=t[i|0]|(w[b|0]<<16|t[e|0]<<8)|-16777216;v[n+4>>2]=t[i+2|0]|(w[b+2|0]<<16|t[e+2|0]<<8)|-16777216;i=i+4|0;e=e+4|0;b=b+4|0;n=n+8|0;j=j-2|0;if(j){continue}break}}break gk;default:break mk}}X(3794,7777,704,193444);L();case 4:pk:{switch(x[l+50>>1]-8|0){case 0:k=B(v[l+44>>2],v[l+40>>2]);e=v[l+700>>2];b=v[l+684>>2];E=v[l+672>>2];qk:{if(x[l+356>>1]==5){if(!k){break qk}i=b+e|0;n=(e<<1)+b|0;j=B(e,3)+b|0;e=(e<<2)+b|0;while(1){Ca=E,Da=Ms(w[b|0],w[i|0]^255,w[n|0]^255,w[j|0]^255,w[e|0]^255),v[Ca>>2]=Da;e=e+1|0;j=j+1|0;n=n+1|0;i=i+1|0;b=b+1|0;E=E+4|0;k=k-1|0;if(k){continue}break}break qk}if(!k){break qk}i=b+e|0;n=(e<<1)+b|0;j=B(e,3)+b|0;while(1){Ca=E,Da=Fk(w[b|0]^255,w[i|0]^255,w[n|0]^255,w[j|0]^255),v[Ca>>2]=Da;j=j+1|0;n=n+1|0;i=i+1|0;b=b+1|0;E=E+4|0;k=k-1|0;if(k){continue}break}}break gk;case 8:k=B(v[l+44>>2],v[l+40>>2]);e=v[l+700>>2];b=v[l+684>>2];E=v[l+672>>2];rk:{if(x[l+356>>1]==5){if(!k){break rk}i=b+e|0;n=(e<<1)+b|0;j=B(e,3)+b|0;e=(e<<2)+b|0;while(1){Ca=E,Da=Ms(w[b|0],255-t[i|0]|0,255-t[n|0]|0,255-t[j|0]|0,255-t[e|0]|0),v[Ca>>2]=Da;e=e+2|0;j=j+2|0;n=n+2|0;i=i+2|0;b=b+2|0;E=E+4|0;k=k-1|0;if(k){continue}break}break rk}if(!k){break rk}i=b+e|0;n=(e<<1)+b|0;j=B(e,3)+b|0;while(1){Ca=E,Da=Fk(255-t[b|0]|0,255-t[i|0]|0,255-t[n|0]|0,255-t[j|0]|0),v[Ca>>2]=Da;j=j+2|0;n=n+2|0;i=i+2|0;b=b+2|0;E=E+4|0;k=k-1|0;if(k){continue}break}}break gk;default:break pk}}X(3794,7777,715,193444);L();case 9:sk:{switch(x[l+50>>1]-8|0){case 0:n=B(v[l+44>>2],v[l+40>>2]);f=v[l+700>>2];b=v[l+684>>2];j=v[l+672>>2];tk:{if(x[l+356>>1]==4){if(!n){break tk}e=b+f|0;i=(f<<1)+b|0;k=B(f,3)+b|0;while(1){Ca=j,Da=Po(w[b|0],B(w[e|0],100)>>>8|0,w[i|0]-128|0,w[k|0]-128|0),v[Ca>>2]=Da;k=k+1|0;i=i+1|0;e=e+1|0;b=b+1|0;j=j+4|0;n=n-1|0;if(n){continue}break}break tk}if(!n){break tk}e=b+f|0;i=(f<<1)+b|0;while(1){Ca=j,Da=Ls(B(w[b|0],100)>>>8|0,w[e|0]-128|0,w[i|0]-128|0),v[Ca>>2]=Da;i=i+1|0;e=e+1|0;b=b+1|0;j=j+4|0;n=n-1|0;if(n){continue}break}}break gk;case 8:n=B(v[l+44>>2],v[l+40>>2]);f=v[l+700>>2];b=v[l+684>>2];j=v[l+672>>2];uk:{if(x[l+356>>1]==4){if(!n){break uk}e=b+f|0;i=(f<<1)+b|0;k=B(f,3)+b|0;while(1){Ca=j,Da=Po(w[b|0],B(t[e|0],100)>>8,t[i|0]-128|0,t[k|0]-128|0),v[Ca>>2]=Da;k=k+2|0;i=i+2|0;e=e+2|0;b=b+2|0;j=j+4|0;n=n-1|0;if(n){continue}break}break uk}if(!n){break uk}e=b+f|0;i=(f<<1)+b|0;while(1){Ca=j,Da=Ls(B(t[b|0],100)>>8,t[e|0]-128|0,t[i|0]-128|0),v[Ca>>2]=Da;i=i+2|0;e=e+2|0;b=b+2|0;j=j+4|0;n=n-1|0;if(n){continue}break}}break gk;default:break sk}}X(3794,7777,727,193444);L();case 7:if(x[l+50>>1]==8){n=B(v[l+44>>2],v[l+40>>2]);f=v[l+700>>2];b=v[l+684>>2];j=v[l+672>>2];vk:{if(x[l+356>>1]==4){if(!n){break vk}e=b+f|0;i=(f<<1)+b|0;k=B(f,3)+b|0;while(1){Ca=j,Da=Fk(w[b|0]^255,w[e|0]^255,w[i|0]^255,w[k|0]^255),v[Ca>>2]=Da;k=k+1|0;i=i+1|0;e=e+1|0;b=b+1|0;j=j+4|0;n=n-1|0;if(n){continue}break}break vk}if(!n){break vk}e=b+f|0;i=(f<<1)+b|0;while(1){Ca=j,Da=Fk(w[b|0]^255,w[e|0]^255,w[i|0]^255,0),v[Ca>>2]=Da;i=i+1|0;e=e+1|0;b=b+1|0;j=j+4|0;n=n-1|0;if(n){continue}break}}break gk}X(3794,7777,736,193444);L();default:break ik}}X(3794,7777,741,193444);L()}e=v[l+672>>2];wk:{if(x[l+356>>1]==2){g=v[l+44>>2];f=v[l+40>>2];n=B(g,f);if(!n){break wk}b=v[l+684>>2];i=b+v[l+700>>2]|0;f=B(f,g);if(f&1){g=w[i|0];v[e>>2]=g<<16|g|g<<8|w[b|0]<<24;i=i+1|0;e=e+4|0;n=n-1|0;b=b+1|0}if((f|0)==1){break wk}while(1){f=w[i|0];v[e>>2]=f<<16|f|f<<8|w[b|0]<<24;f=w[i+1|0];v[e+4>>2]=f<<16|f|f<<8|w[b+1|0]<<24;i=i+2|0;b=b+2|0;e=e+8|0;n=n-2|0;if(n){continue}break}break wk}f=v[l+44>>2];b=v[l+40>>2];i=B(f,b);if(!i){break wk}f=B(b,f);g=f-1|0;b=v[l+684>>2];n=f&3;if(n){while(1){f=w[b|0];v[e>>2]=(B(f,65792)|f)-16777216;b=b+1|0;e=e+4|0;i=i-1|0;n=n-1|0;if(n){continue}break}}if(g>>>0<3){break wk}while(1){f=w[b|0];v[e>>2]=(B(f,65792)|f)-16777216;f=w[b+1|0];v[e+4>>2]=(B(f,65792)|f)-16777216;f=w[b+2|0];v[e+8>>2]=(B(f,65792)|f)-16777216;f=w[b+3|0];v[e+12>>2]=(B(f,65792)|f)-16777216;b=b+4|0;e=e+16|0;i=i-4|0;if(i){continue}break}}}e=u[l+356>>1];if((e|0)>1]){while(1){p=jc(B(v[l+44>>2],v[l+40>>2]));v[(v[l+360>>2]+B(e-u[l+356>>1]|0,272)|0)+268>>2]=p;if(!p){break Vj}xk:{if(x[l+50>>1]==8){b=v[l+700>>2];gc(p,v[l+684>>2]+B(b,e)|0,b);break xk}f=v[l+44>>2];b=v[l+40>>2];n=B(f,b);if(!n){break xk}i=B(b,f);f=i-1|0;b=v[l+684>>2]+B(v[l+700>>2],e)|0;P=i&7;if(P){while(1){t[p|0]=w[b|0];b=b+2|0;p=p+1|0;n=n-1|0;P=P-1|0;if(P){continue}break}}if(f>>>0<7){break xk}while(1){t[p|0]=w[b|0];t[p+1|0]=w[b+2|0];t[p+2|0]=w[b+4|0];t[p+3|0]=w[b+6|0];t[p+4|0]=w[b+8|0];t[p+5|0]=w[b+10|0];t[p+6|0]=w[b+12|0];t[p+7|0]=w[b+14|0];b=b+16|0;p=p+8|0;n=n-8|0;if(n){continue}break}}e=e+1|0;if((e|0)>1]){continue}break}}uc(o);p=0;v[l+684>>2]=0;if(x[l+632>>1]){break Xj}yk:{switch(v[l+36>>2]){case 0:case 2:break yk;default:break Xj}}b=jc(600);v[l+636>>2]=b;if(!b){break Uj}ic(b,0,600);u[l+632>>1]=1;o=v[l+636>>2];v[o+8>>2]=0;v[o>>2]=0;v[o+4>>2]=0;b=v[l+44>>2];v[o+12>>2]=b;e=v[l+40>>2];v[o+24>>2]=b;v[o+20>>2]=e;v[o+16>>2]=e;b=u[l+356>>1];t[o+541|0]=255;t[o+40|0]=255;v[o+36>>2]=0;v[o+592>>2]=23;t[o+586|0]=0;u[o+584>>1]=1;t[o+566|0]=0;u[o+564>>1]=1;t[o+45|0]=0;t[o+41|0]=0;t[o+42|0]=0;t[o+43|0]=1;t[o+44|0]=0;t[o+74|0]=1;t[o+72|0]=255;u[o+28>>1]=b;b=jc(B(b,12));v[o+32>>2]=b;if(!b){break Uj}ic(b,0,B(u[o+28>>1],12));b=4;zk:{switch(v[l+52>>2]-3|0){case 1:b=5;case 0:p=x[l+356>>1]==(b|0)?-1:0;break;default:break zk}}f=u[o+28>>1];Ak:{if((f|0)<1){break Ak}e=f&3;i=v[o+32>>2];b=0;if(f-1>>>0>=3){E=f&-4;while(1){f=i+B(b,12)|0;t[f+8|0]=0;u[f>>1]=p;f=i+B(b|1,12)|0;t[f+8|0]=0;u[f>>1]=p+1;f=i+B(b|2,12)|0;t[f+8|0]=0;u[f>>1]=p+2;f=i+B(b|3,12)|0;t[f+8|0]=0;u[f>>1]=p+3;b=b+4|0;p=p+4|0;E=E-4|0;if(E){continue}break}}if(!e){break Ak}while(1){f=i+B(b,12)|0;t[f+8|0]=0;u[f>>1]=p;b=b+1|0;p=p+1|0;e=e-1|0;if(e){continue}break}}v[o+80>>2]=-65536;v[o+84>>2]=-65536;b=u[l+356>>1];v[o+88>>2]=b;Ca=o,Da=jc(b<<1),v[Ca+92>>2]=Da;Ca=o,Da=jc(v[o+88>>2]<<1),v[Ca+96>>2]=Da;Ca=o,Da=jc(v[o+88>>2]<<1),v[Ca+100>>2]=Da;j=jc(v[o+88>>2]<<1);v[o+104>>2]=j;n=v[o+92>>2];if(!n){break Uj}g=v[o+96>>2];if(!g){break Uj}i=v[o+100>>2];if(!i|!j){break Uj}f=v[o+88>>2];Bk:{if((f|0)<1){break Bk}b=0;if((f|0)!=1){N=f&-2;while(1){e=b<<1;u[e+n>>1]=0;u[e+g>>1]=65535;u[e+i>>1]=0;u[e+j>>1]=65535;e=e|2;u[e+n>>1]=0;u[e+g>>1]=65535;u[e+i>>1]=0;u[e+j>>1]=65535;b=b+2|0;N=N-2|0;if(N){continue}break}}if(!(f&1)){break Bk}b=b<<1;u[b+n>>1]=0;u[b+g>>1]=65535;u[b+i>>1]=0;u[b+j>>1]=65535}p=0;Ck:{switch(v[l+36>>2]){case 0:b=jc(B(v[l+40>>2],v[l+44>>2])<<2);v[o+372>>2]=b;p=-4;if(!b){break Xj}gc(b,v[l+672>>2],B(v[l+40>>2],v[l+44>>2])<<2);b=0;break Tj;case 2:break Ck;default:break Xj}}v[o+372>>2]=v[l+672>>2];v[l+672>>2]=0}b=p;break Tj}X(9941,7777,569,193444);L()}uc(o);v[l+684>>2]=0}b=-4}switch(b+3|0){case 0:break yi;case 3:break Ai;default:break zi};case 5:break yi;default:break Ci}}X(3794,7394,224,193356);L()}G=v[l+36>>2]==1?5:1}v[l+32>>2]=G;b=0}m=b;if(!b){continue}}}break}if(!m){Zf(h,v[l+40>>2],v[l+44>>2],24,20);k=v[l+672>>2];b=v[l+360>>2];Dk:{if(!b){break Dk}b=v[b+268>>2];if(!b){break Dk}si(h);d=b}Ek:{if(!k){break Ek}b=v[l+44>>2];if((b|0)==1){break Ek}m=v[l+40>>2];if((m|0)<1){break Ek}b=b-2|0;while(1){e=b;b=0;if((m|0)>=1){while(1){i=w[k|0]|w[k+1|0]<<8;f=w[k+2|0];t[s+11|0]=0;t[s+10|0]=f;u[s+8>>1]=i;v[s+4>>2]=v[s+8>>2];Yv(h,b,e,s+4|0);k=k+4|0;if(d){gh(h,b,e,w[d|0]);d=d+1|0}else{d=0}b=b+1|0;m=v[l+40>>2];if((b|0)<(m|0)){continue}break}}b=e-1|0;if(e){continue}break}}if(l){CB(l)}dc(l);e=1;break vi}Xc(h+72|0,5963,255);if(l){CB(l)}dc(l)}e=v[h+332>>2]==-1&v[h+68>>2]==20}Qb=s+32|0;if(e){break b}ce(a+72|0,fa+72|0);Ub[v[v[r>>2]+20>>2]](r,sa,0)|0;Ub[v[v[h>>2]+4>>2]](h);if(c){break c}}c=w[22494]|w[22495]<<8|(w[22496]<<16|w[22497]<<24);b=w[22490]|w[22491]<<8|(w[22492]<<16|w[22493]<<24);t[a+96|0]=b;t[a+97|0]=b>>>8;t[a+98|0]=b>>>16;t[a+99|0]=b>>>24;t[a+100|0]=c;t[a+101|0]=c>>>8;t[a+102|0]=c>>>16;t[a+103|0]=c>>>24;c=w[22486]|w[22487]<<8|(w[22488]<<16|w[22489]<<24);b=w[22482]|w[22483]<<8|(w[22484]<<16|w[22485]<<24);t[a+88|0]=b;t[a+89|0]=b>>>8;t[a+90|0]=b>>>16;t[a+91|0]=b>>>24;t[a+92|0]=c;t[a+93|0]=c>>>8;t[a+94|0]=c>>>16;t[a+95|0]=c>>>24;c=w[22478]|w[22479]<<8|(w[22480]<<16|w[22481]<<24);b=w[22474]|w[22475]<<8|(w[22476]<<16|w[22477]<<24);t[a+80|0]=b;t[a+81|0]=b>>>8;t[a+82|0]=b>>>16;t[a+83|0]=b>>>24;t[a+84|0]=c;t[a+85|0]=c>>>8;t[a+86|0]=c>>>16;t[a+87|0]=c>>>24;c=w[22470]|w[22471]<<8|(w[22472]<<16|w[22473]<<24);b=w[22466]|w[22467]<<8|(w[22468]<<16|w[22469]<<24);t[a+72|0]=b;t[a+73|0]=b>>>8;t[a+74|0]=b>>>16;t[a+75|0]=b>>>24;t[a+76|0]=c;t[a+77|0]=c>>>8;t[a+78|0]=c>>>16;t[a+79|0]=c>>>24}return 0}ek(a,fa,1);Ub[v[v[h>>2]+4>>2]](h);return 1}ek(a,h,1);Ub[v[v[fa>>2]+4>>2]](h);return 1}function L0(a){var 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,y=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=C(0),W=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;J=Qb-16|0;Qb=J;c=nc(a);T=(c&1)+c|0;a:{if((T|0)<1){break a}ja=v[a+28>>2];d=Ec(a);c=d>>31;c=c^c+d;u[a+632>>1]=c;b:{c:{c=c<<16>>16;if((c|0)>0){c=jc(B(c&65535,600));v[a+636>>2]=c;l=-4;if(!c){break a}ic(c,0,B(u[a+632>>1],600));if(u[a+632>>1]<1){break b}g=v[a+636>>2];d:{e:{f:{g:{h:{i:{j:while(1){v[g+592>>2]=23;t[g+586|0]=0;u[g+584>>1]=1;t[g+566|0]=0;u[g+564>>1]=1;t[g+541|0]=255;t[g+40|0]=255;v[g+36>>2]=0;v[g>>2]=0;t[g+74|0]=1;t[g+72|0]=255;ma=g,na=nc(a),v[ma+4>>2]=na;ma=g,na=nc(a),v[ma+8>>2]=na;ma=g,na=nc(a),v[ma+12>>2]=na;c=nc(a);v[g+16>>2]=c;v[g+20>>2]=c-v[g+8>>2];v[g+24>>2]=v[g+12>>2]-v[g+4>>2];c=Ec(a);u[g+28>>1]=c;if((c|0)<=0){break d}c=jc(B(c&65535,12));v[g+32>>2]=c;if(!c){break c}c=0;if(u[g+28>>1]>0){while(1){d=Ec(a);b=B(c,12);u[b+v[g+32>>2]>>1]=d;d=nc(a);b=b+v[g+32>>2]|0;t[b+8|0]=0;v[b+4>>2]=d;c=c+1|0;if((c|0)>1]){continue}break}}if((nc(a)|0)!=943868237){Ns(g);l=-500;break a}ma=g,na=rn(a),v[ma+36>>2]=na;ma=g,na=Pe(a),t[ma+40|0]=na;ma=g,na=Td(a),t[ma+41|0]=na;c=Pe(a);t[g+42|0]=c&1;t[g+44|0]=c>>>2&1;t[g+43|0]=(c>>>1^-1)&1;if(c&8){t[g+45|0]=c>>>4&1}if(Pe(a)){break e}K=nc(a);if((K|0)<=0){break f}P=v[a+28>>2];k:{l:{c=nc(a);switch(c-20|0){case 0:case 16:break k;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break g;default:break l}}if(c){break g}}m:{if((c|0)<1){break m}ma=g,na=nc(a),v[ma+48>>2]=na;ma=g,na=nc(a),v[ma+52>>2]=na;ma=g,na=nc(a),v[ma+56>>2]=na;d=nc(a);v[g+60>>2]=d;v[g- -64>>2]=d-v[g+52>>2];v[g+68>>2]=v[g+56>>2]-v[g+48>>2];d=Pe(a);t[g+72|0]=d;if((d|0)!=255?d:0){break h}d=Pe(a);t[g+73|0]=d&1;t[g+75|0]=d>>>2&1;t[g+74|0]=d>>>1&1;if((c|0)==20){Ec(a);break m}c=Pe(a);t[g+73|0]=c&1;t[g+75|0]=c>>>2&1;t[g+74|0]=c>>>1&1;c=Pe(a);t[g+72|0]=c;if((c|0)!=255?c:0){break i}ma=g,na=nc(a),v[ma+48>>2]=na;ma=g,na=nc(a),v[ma+52>>2]=na;ma=g,na=nc(a),v[ma+56>>2]=na;c=nc(a);v[g+60>>2]=c;v[g+64>>2]=c-v[g+52>>2];v[g+68>>2]=v[g+56>>2]-v[g+48>>2]}c=nc(a);ma=g,na=Ec(a),u[ma+80>>1]=na;ma=g,na=Ec(a),u[ma+82>>1]=na;ma=g,na=Ec(a),u[ma+84>>1]=na;d=Ec(a);b=(c-8|0)/8|0;v[g+88>>2]=b;u[g+86>>1]=d;if((c|0)<=15){Ns(g);l=-56;break a}ma=g,na=jc(b<<1),v[ma+92>>2]=na;ma=g,na=jc(v[g+88>>2]<<1),v[ma+96>>2]=na;ma=g,na=jc(v[g+88>>2]<<1),v[ma+100>>2]=na;c=jc(v[g+88>>2]<<1);v[g+104>>2]=c;if(!v[g+92>>2]|!v[g+96>>2]|(!v[g+100>>2]|!c)){break c}c=0;if(v[g+88>>2]>0){while(1){b=Ec(a);d=c<<1;u[d+v[g+92>>2]>>1]=b;b=Ec(a);u[d+v[g+96>>2]>>1]=b;b=Ec(a);u[d+v[g+100>>2]>>1]=b;b=Ec(a);u[d+v[g+104>>2]>>1]=b;c=c+1|0;if((c|0)>2]){continue}break}}ye(a,g+108|0,(Pe(a)+4&508)-1|0);Q=g+572|0;while(1){n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{c=v[a+28>>2]-P|0;if((c|0)<(K|0)){if((nc(a)|0)!=943868237){l=-528;break a}c=nc(a);G=nc(a)+1&-2;ka=v[a+28>>2];if((c|0)>1819109228){break t}if((c|0)>1719169647){break s}if((c|0)<=1651665267){if((c|0)<=1399800686){if((c|0)==1197753964){break w}if((c|0)!=1349797484){break q}v[((v[g+376>>2]<<2)+g|0)+380>>2]=19;v[g>>2]=19;c=-4;x:{d=jc(272);if(!d){break x}c=ic(d,0,272);v[((v[g+376>>2]<<2)+g|0)+460>>2]=c;v[g+376>>2]=v[g+376>>2]+1;d=-530;y:{z:{A:{B:{C:{if((nc(a)|0)!=16){break C}Yd(a,nc(a)<<1);d=nc(a);D:{if(!d){ma=c,na=nc(a),v[ma>>2]=na;break D}Yd(a,d)}d=0;f=nc(a);if(!f){break C}h=c+4|0;while(1){if(nc(a)){break B}b=nc(a);e=nc(a);E:{F:{G:{if((b|0)!=1349808750){if((b|0)!=1399024672){break G}if((e|0)!=1433302086){break A}if((nc(a)|0)!=592474723){break z}k=Jd(a);if(!(D(k)<2147483648)){break F}v[c+268>>2]=~~k;break E}if((e|0)!=1331849827){break y}EA(h,a);break E}X(19336,6933,105,193524);L()}v[c+268>>2]=-2147483648}f=f-1|0;if(f){continue}break}}c=d;break x}X(3776,6933,74,193524);L()}X(11971,6933,89,193524);L()}X(14522,6933,93,193524);L()}X(17040,6933,100,193524);L()}break p}if((c|0)==1399800687){break v}if((c|0)!=1651273315){break q}v[((v[g+376>>2]<<2)+g|0)+380>>2]=4;v[g>>2]=9;c=-4;H:{d=jc(788);if(!d){break H}c=ic(d,0,788);v[((v[g+376>>2]<<2)+g|0)+460>>2]=c;v[g+376>>2]=v[g+376>>2]+1;ma=c,na=Ec(a),u[ma>>1]=na;ma=c,na=Ec(a),u[ma+6>>1]=na;d=Ec(a);u[c+12>>1]=d;I:{if((x[c>>1]+100&65535)>>>0>=201){break I}J:{K:{L:{if(u[c+6>>1]<=-101){break L}if((d|0)<=-101){break J}ma=c,na=Ec(a),u[ma+2>>1]=na;ma=c,na=Ec(a),u[ma+8>>1]=na;d=Ec(a);u[c+14>>1]=d;if((x[c+2>>1]+100&65535)>>>0>=201){break I}if(u[c+8>>1]<-100){break L}if((d|0)<-100){break J}ma=c,na=Ec(a),u[ma+4>>1]=na;ma=c,na=Ec(a),u[ma+10>>1]=na;d=Ec(a);u[c+16>>1]=d;if((x[c+4>>1]+100&65535)>>>0>200){break I}if(u[c+10>>1]<-100){break L}if((d|0)<-100){break J}d=c;c=Ec(a);t[d+18|0]=c;if(!(c&254)){break K}X(16717,7354,83,193551);L()}X(11686,7354,77,193551);L()}t[g+540|0]=1;c=0;break H}X(14293,7354,78,193551);L()}X(3616,7354,76,193551);L()}break p}if((c|0)>1668047467){break r}if((c|0)==1651665268){break u}if((c|0)!=1651667828){break q}d=0;if((G|0)<4){break n}b=(G|0)/4|0;while(1){e=nc(a);f=u[g+28>>1];M:{if((f|0)<1){break M}h=v[g+32>>2];c=0;while(1){m=h+B(c,12)|0;if((e|0)==u[m>>1]){t[m+8|0]=1;break M}c=c+1|0;if((f|0)!=(c|0)){continue}break}}d=d+1|0;if((b|0)!=(d|0)){continue}break}break n}if((c|0)==(K|0)){g=g+600|0;U=U+1|0;c=u[a+632>>1];if((U|0)<(c|0)){continue j}if((c|0)<1){break b}g=v[a+636>>2];c=0;while(1){m=0;q=0;d=v[g+24>>2];e=v[g+20>>2];f=B(d,e);N:{O:{P:{Q:{R:{S:{h=x[a+50>>1];switch(h-1|0){case 15:break P;case 7:break Q;case 0:break S;default:break R}}l=v[g+68>>2];b=v[g- -64>>2];d=B(d,(e+7|0)/8|0);break N}X(3794,7231,769,193579);L()}b=v[g- -64>>2];l=v[g+68>>2];m=B(b,l);break O}f=f<<1;b=v[g- -64>>2];l=v[g+68>>2];m=B(b,l)<<1}d=f}e=0;T:{n=d;p=(d|0)<(m|0)?m:d;if((p|0)<=0){if(u[g+28>>1]<1){break T}d=0;while(1){Yd(a,v[(v[g+32>>2]+B(d,12)|0)+4>>2]);d=d+1|0;if((d|0)>1]){continue}break}break T}v[a+704>>2]=p;v[a+700>>2]=n;U:{V:{d=u[g+28>>1];e=B(p,d);if((e|0)>v[a+688>>2]){uc(v[a+684>>2]);d=v[a+688>>2]<<1;d=(d|0)>(e|0)?d:e;d=(d|0)>12288?d:12288;v[a+688>>2]=d;d=jc(d);v[a+684>>2]=d;if(!d){break V}d=x[g+28>>1]}G=g+24|0;H=g+20|0;r=g+68|0;s=g- -64|0;if(d<<16>>16>=1){y=B(b,l)<<((h|0)==16);while(1){F=B(q,12);d=F+v[g+32>>2]|0;if(u[d>>1]<=-3){break U}W:{b=v[d+4>>2];d=b-2|0;if((d|0)<=v[a+696>>2]){break W}uc(v[a+692>>2]);l=v[a+696>>2]<<1;d=(d|0)<(l|0)?l:d;d=(d|0)>4096?d:4096;v[a+696>>2]=d;d=jc(d);v[a+692>>2]=d;if(d){break W}v[a+696>>2]=0;e=-4;break T}h=Ec(a);X:{if((b|0)<3){break X}l=ye(a,v[a+692>>2],v[(F+v[g+32>>2]|0)+4>>2]-2|0);e=-5;d=F+v[g+32>>2]|0;if((l|0)!=(v[d+4>>2]-2|0)){break T}b=v[a+684>>2]+B(p,q)|0;Y:{switch(h|0){case 1:Z:{switch(x[a+50>>1]-8|0){default:X(13932,7231,864,193579);L();case 0:case 8:break Z}}d=x[d>>1];K=v[((d|0)==65534?r:G)>>2];_:{if((K|0)<1){h=0;break _}j=v[a+692>>2];d=j+(K<<1)|0;h=0;i=0;while(1){e=0;l=w[j|0]|w[j+1|0]<<8;P=(l<<8|l>>>8)<<16>>16;if((P|0)>=1){while(1){o=e+1|0;l=d+1|0;E=w[d|0];Q=E<<24>>24;$:{if((Q|0)>=0){d=E+1|0;e=d+o|0;b=gc(b,l,d)+d|0;h=d+h|0;d=d+l|0;break $}if((Q|0)==-128){e=o;d=l;break $}e=e+2|0;l=257-E|0;b=ic(b,w[d+1|0],l)+l|0;h=h+l|0;d=d+2|0}if((e|0)<(P|0)){continue}break}}j=j+2|0;i=i+1|0;if((K|0)!=(i|0)){continue}break}d=x[F+v[g+32>>2]>>1]}if((d&65535)==65534){if((h|0)==(y|0)){break X}X(15533,7231,911,193579);L()}if((f|0)==(h|0)){break X}X(17926,7231,913,193579);L();case 2:e=bJ(v[a+692>>2],l,b,x[d>>1]==65534?y:f);if(!e){break X}break T;case 3:d=x[d>>1]==65534;e=aJ(v[a+692>>2],l,b,d?y:f,v[(d?s:H)>>2],x[a+50>>1]);if(!e){break X}break T;default:X(3794,7231,941,193579);L();case 0:break Y}}gc(b,v[a+692>>2],x[d>>1]==65534?m:n)}q=q+1|0;if((q|0)>1]){continue}break}}d=B(v[G>>2],v[H>>2]);aa:{if((d|0)<1){break aa}d=jc(d<<2);v[g+372>>2]=d;e=-4;if(!d){break T}ba:{ca:{switch(v[a+52>>2]){case 0:if(x[a+50>>1]==1){b=0;e=0;da:{d=u[g+28>>1];if((d|0)<1){break da}i=v[g+372>>2];l=v[g+32>>2];ea:{while(1){f=u[l+B(b,12)>>1];if(f+2>>>0>=2){if(f){break ea}e=v[a+684>>2]+B(v[a+704>>2],b)|0}b=b+1|0;if((d|0)!=(b|0)){continue}break}if(!e){break da}h=v[g+20>>2];m=(h+7|0)/8|0;b=v[g+24>>2];if(!((b|0)<1|(h|0)<1)){d=0;while(1){if((h|0)>=1){l=B(d,m)+e|0;f=0;b=128;while(1){v[i>>2]=w[l|0]&b?-16777216:-1;h=b>>>0<2;b=h?128:b>>1;i=i+4|0;l=h+l|0;h=v[g+20>>2];f=f+1|0;if((h|0)>(f|0)){continue}break}b=v[g+24>>2]}d=d+1|0;if((d|0)<(b|0)){continue}break}}break aa}X(3794,7231,65,193612);L()}X(21805,7231,70,193612);L()}X(3794,7231,960,193579);L();case 1:case 8:fa:{switch(x[a+50>>1]-8|0){case 8:i=0;d=0;f=0;ga:{ha:{b=u[g+28>>1];if((b|0)<1){break ha}l=v[g+372>>2];e=v[g+32>>2];while(1){ia:{ja:{switch(u[e+B(d,12)>>1]+2|0){case 1:f=v[a+684>>2]+B(v[a+704>>2],d)|0;break ia;default:X(3794,7231,169,193671);L();case 0:break ia;case 2:break ja}}i=v[a+684>>2]+B(v[a+704>>2],d)|0}d=d+1|0;if((b|0)!=(d|0)){continue}break}if(!i){break ha}b=v[g+24>>2];e=v[g+20>>2];d=B(b,e);ka:{if(!f){if(!d){break ka}b=B(b,e);e=b-1|0;f=b&3;if(f){while(1){b=w[i|0];v[l>>2]=(B(b,65792)|b)-16777216;i=i+2|0;l=l+4|0;d=d-1|0;f=f-1|0;if(f){continue}break}}if(e>>>0<3){break ka}while(1){b=w[i|0];v[l>>2]=(B(b,65792)|b)-16777216;b=w[i+2|0];v[l+4>>2]=(B(b,65792)|b)-16777216;b=w[i+4|0];v[l+8>>2]=(B(b,65792)|b)-16777216;b=w[i+6|0];v[l+12>>2]=(B(b,65792)|b)-16777216;i=i+8|0;l=l+16|0;d=d-4|0;if(d){continue}break}break ka}if(!d){break ka}e=B(b,e);if(e&1){b=w[i|0];v[l>>2]=b<<16|b|b<<8|w[f|0]<<24;l=l+4|0;i=i+2|0;f=f+2|0;d=d-1|0}if((e|0)==1){break ka}while(1){b=w[i|0];v[l>>2]=b<<16|b|b<<8|w[f|0]<<24;b=w[i+2|0];v[l+4>>2]=b<<16|b|b<<8|w[f+2|0]<<24;i=i+4|0;f=f+4|0;l=l+8|0;d=d-2|0;if(d){continue}break}}break ga}X(23884,7231,174,193671);L()}break aa;case 0:break ba;default:break fa}}X(3794,7231,973,193579);L();case 2:if(x[a+50>>1]==8){e=0;i=0;la:{b=u[g+28>>1];if((b|0)<1){break la}d=v[g+372>>2];l=v[g+32>>2];ma:{while(1){f=u[l+B(e,12)>>1];if(f+2>>>0>=2){if(f){break ma}i=v[a+684>>2]+B(v[a+704>>2],e)|0}e=e+1|0;if((b|0)!=(e|0)){continue}break}if(!i){break la}b=v[g+24>>2];l=v[g+20>>2];e=B(b,l);na:{if(!e){break na}f=u[a+462>>1];h=B(b,l);if(h&1){l=16777215;m=d;b=w[i|0];if(!((b|0)>=(f|0)|(b|0)==u[a+464>>1])){l=v[v[a+60>>2]+(b<<2)>>2]}v[m>>2]=l;i=i+1|0;e=e-1|0;d=d+4|0}if((h|0)==1){break na}while(1){l=16777215;b=d;m=w[i|0];h=16777215;oa:{if((m|0)>=(f|0)){break oa}h=16777215;if((m|0)==u[a+464>>1]){break oa}h=v[v[a+60>>2]+(m<<2)>>2]}v[b>>2]=h;e=e-2|0;h=d;b=w[i+1|0];if(!((b|0)>=(f|0)|(b|0)==u[a+464>>1])){l=v[v[a+60>>2]+(b<<2)>>2]}v[h+4>>2]=l;i=i+2|0;d=d+8|0;if(e){continue}break}}break aa}X(3794,7231,219,193703);L()}X(25852,7231,224,193703);L()}X(3794,7231,981,193579);L();case 3:pa:{switch(x[a+50>>1]-8|0){case 0:b=0;e=0;i=0;d=0;f=0;qa:{ra:{h=u[g+28>>1];if((h|0)<1){break ra}l=v[g+372>>2];m=v[g+32>>2];while(1){sa:{ta:{switch(u[m+B(b,12)>>1]+2|0){case 3:i=v[a+684>>2]+B(v[a+704>>2],b)|0;break sa;case 4:e=v[a+684>>2]+B(v[a+704>>2],b)|0;break sa;case 1:f=v[a+684>>2]+B(v[a+704>>2],b)|0;break sa;default:X(3794,7231,268,193732);L();case 0:break sa;case 2:break ta}}d=v[a+684>>2]+B(v[a+704>>2],b)|0}b=b+1|0;if((h|0)!=(b|0)){continue}break}if(!e|(!d|!i)){break ra}h=v[g+24>>2];m=v[g+20>>2];b=B(h,m);ua:{if(!f){if(!b){break ua}f=B(h,m);if(f&1){v[l>>2]=w[e|0]|(w[d|0]<<16|w[i|0]<<8)|-16777216;e=e+1|0;i=i+1|0;b=b-1|0;l=l+4|0;d=d+1|0}if((f|0)==1){break ua}while(1){v[l>>2]=w[e|0]|(w[d|0]<<16|w[i|0]<<8)|-16777216;v[l+4>>2]=w[e+1|0]|(w[d+1|0]<<16|w[i+1|0]<<8)|-16777216;e=e+2|0;i=i+2|0;d=d+2|0;l=l+8|0;b=b-2|0;if(b){continue}break}break ua}if(!b){break ua}h=B(h,m);if(h&1){v[l>>2]=w[e|0]|(w[d|0]<<16|w[f|0]<<24|w[i|0]<<8);e=e+1|0;i=i+1|0;l=l+4|0;b=b-1|0;f=f+1|0;d=d+1|0}if((h|0)==1){break ua}while(1){v[l>>2]=w[e|0]|(w[d|0]<<16|w[f|0]<<24|w[i|0]<<8);v[l+4>>2]=w[e+1|0]|(w[d+1|0]<<16|w[f+1|0]<<24|w[i+1|0]<<8);e=e+2|0;i=i+2|0;d=d+2|0;f=f+2|0;l=l+8|0;b=b-2|0;if(b){continue}break}}break qa}X(27505,7231,273,193732);L()}break aa;case 8:b=0;e=0;i=0;d=0;f=0;va:{wa:{h=u[g+28>>1];if((h|0)<1){break wa}l=v[g+372>>2];m=v[g+32>>2];while(1){xa:{ya:{switch(u[m+B(b,12)>>1]+2|0){case 3:i=v[a+684>>2]+B(v[a+704>>2],b)|0;break xa;case 4:e=v[a+684>>2]+B(v[a+704>>2],b)|0;break xa;case 1:f=v[a+684>>2]+B(v[a+704>>2],b)|0;break xa;default:X(3794,7231,328,193757);L();case 0:break xa;case 2:break ya}}d=v[a+684>>2]+B(v[a+704>>2],b)|0}b=b+1|0;if((h|0)!=(b|0)){continue}break}if(!e|(!d|!i)){break wa}h=v[g+24>>2];m=v[g+20>>2];b=B(h,m);za:{if(!f){if(!b){break za}f=B(h,m);if(f&1){v[l>>2]=t[e|0]|(w[d|0]<<16|t[i|0]<<8)|-16777216;e=e+2|0;i=i+2|0;b=b-1|0;l=l+4|0;d=d+2|0}if((f|0)==1){break za}while(1){v[l>>2]=t[e|0]|(w[d|0]<<16|t[i|0]<<8)|-16777216;v[l+4>>2]=t[e+2|0]|(w[d+2|0]<<16|t[i+2|0]<<8)|-16777216;e=e+4|0;i=i+4|0;d=d+4|0;l=l+8|0;b=b-2|0;if(b){continue}break}break za}if(!b){break za}h=B(h,m);if(h&1){v[l>>2]=t[e|0]|(t[d|0]<<16|w[f|0]<<24|t[i|0]<<8);e=e+2|0;i=i+2|0;l=l+4|0;b=b-1|0;f=f+2|0;d=d+2|0}if((h|0)==1){break za}while(1){v[l>>2]=t[e|0]|(t[d|0]<<16|w[f|0]<<24|t[i|0]<<8);v[l+4>>2]=t[e+2|0]|(t[d+2|0]<<16|w[f+2|0]<<24|t[i+2|0]<<8);e=e+4|0;i=i+4|0;d=d+4|0;f=f+4|0;l=l+8|0;b=b-2|0;if(b){continue}break}}break va}X(27505,7231,333,193757);L()}break aa;default:break pa}}X(3794,7231,991,193579);L();case 4:Aa:{switch(x[a+50>>1]-8|0){case 0:h=0;b=0;e=0;i=0;d=0;f=0;l=v[g+372>>2];m=u[g+28>>1];if((m|0)>=1){n=v[g+32>>2];while(1){Ba:{Ca:{switch(u[n+B(h,12)>>1]+2|0){case 3:e=v[a+684>>2]+B(v[a+704>>2],h)|0;break Ba;case 4:i=v[a+684>>2]+B(v[a+704>>2],h)|0;break Ba;case 5:d=v[a+684>>2]+B(v[a+704>>2],h)|0;break Ba;case 1:f=v[a+684>>2]+B(v[a+704>>2],h)|0;break Ba;default:X(3794,7231,396,193783);L();case 0:break Ba;case 2:break Ca}}b=v[a+684>>2]+B(v[a+704>>2],h)|0}h=h+1|0;if((m|0)!=(h|0)){continue}break}}Da:{if(!(!b|!e|(!i|!d))){h=B(v[g+24>>2],v[g+20>>2]);Ea:{if(!f){if(!h){break Ea}while(1){ma=l,na=Fk(w[b|0]^255,w[e|0]^255,w[i|0]^255,w[d|0]^255),v[ma>>2]=na;d=d+1|0;i=i+1|0;e=e+1|0;b=b+1|0;l=l+4|0;h=h-1|0;if(h){continue}break}break Ea}if(!h){break Ea}while(1){ma=l,na=Ms(w[f|0],w[b|0]^255,w[e|0]^255,w[i|0]^255,w[d|0]^255),v[ma>>2]=na;d=d+1|0;i=i+1|0;e=e+1|0;b=b+1|0;f=f+1|0;l=l+4|0;h=h-1|0;if(h){continue}break}}break Da}X(29218,7231,401,193783);L()}break aa;case 8:h=0;b=0;e=0;i=0;d=0;f=0;l=v[g+372>>2];m=u[g+28>>1];if((m|0)>=1){n=v[g+32>>2];while(1){Fa:{Ga:{switch(u[n+B(h,12)>>1]+2|0){case 3:e=v[a+684>>2]+B(v[a+704>>2],h)|0;break Fa;case 4:i=v[a+684>>2]+B(v[a+704>>2],h)|0;break Fa;case 5:d=v[a+684>>2]+B(v[a+704>>2],h)|0;break Fa;case 1:f=v[a+684>>2]+B(v[a+704>>2],h)|0;break Fa;default:X(3794,7231,461,193809);L();case 0:break Fa;case 2:break Ga}}b=v[a+684>>2]+B(v[a+704>>2],h)|0}h=h+1|0;if((m|0)!=(h|0)){continue}break}}Ha:{if(!(!b|!e|(!i|!d))){h=B(v[g+24>>2],v[g+20>>2]);Ia:{if(!f){if(!h){break Ia}while(1){ma=l,na=Fk(255-t[b|0]|0,255-t[e|0]|0,255-t[i|0]|0,255-t[d|0]|0),v[ma>>2]=na;d=d+2|0;i=i+2|0;e=e+2|0;b=b+2|0;l=l+4|0;h=h-1|0;if(h){continue}break}break Ia}if(!h){break Ia}while(1){ma=l,na=Ms(w[f|0],255-t[b|0]|0,255-t[e|0]|0,255-t[i|0]|0,255-t[d|0]|0),v[ma>>2]=na;d=d+2|0;i=i+2|0;e=e+2|0;b=b+2|0;f=f+2|0;l=l+4|0;h=h-1|0;if(h){continue}break}}break Ha}X(29218,7231,466,193809);L()}break aa;default:break Aa}}X(3794,7231,1002,193579);L();case 9:Ja:{switch(x[a+50>>1]-8|0){case 0:b=0;e=0;i=0;d=0;f=0;Ka:{La:{h=u[g+28>>1];if((h|0)<1){break La}l=v[g+372>>2];m=v[g+32>>2];while(1){Ma:{Na:{switch(u[m+B(b,12)>>1]+2|0){case 3:i=v[a+684>>2]+B(v[a+704>>2],b)|0;break Ma;case 4:e=v[a+684>>2]+B(v[a+704>>2],b)|0;break Ma;case 1:f=v[a+684>>2]+B(v[a+704>>2],b)|0;break Ma;default:X(3794,7231,531,193836);L();case 0:break Ma;case 2:break Na}}d=v[a+684>>2]+B(v[a+704>>2],b)|0}b=b+1|0;if((h|0)!=(b|0)){continue}break}if(!e|(!d|!i)){break La}b=B(v[g+24>>2],v[g+20>>2]);Oa:{if(!f){if(!b){break Oa}while(1){ma=l,na=Ls(B(w[d|0],100)>>>8|0,w[i|0]-128|0,w[e|0]-128|0),v[ma>>2]=na;e=e+1|0;i=i+1|0;d=d+1|0;l=l+4|0;b=b-1|0;if(b){continue}break}break Oa}if(!b){break Oa}while(1){ma=l,na=Po(w[f|0],B(w[d|0],100)>>>8|0,w[i|0]-128|0,w[e|0]-128|0),v[ma>>2]=na;e=e+1|0;i=i+1|0;d=d+1|0;f=f+1|0;l=l+4|0;b=b-1|0;if(b){continue}break}}break Ka}X(30713,7231,536,193836);L()}break aa;case 8:b=0;e=0;i=0;d=0;f=0;Pa:{Qa:{h=u[g+28>>1];if((h|0)<1){break Qa}l=v[g+372>>2];m=v[g+32>>2];while(1){Ra:{Sa:{switch(u[m+B(b,12)>>1]+2|0){case 3:i=v[a+684>>2]+B(v[a+704>>2],b)|0;break Ra;case 4:e=v[a+684>>2]+B(v[a+704>>2],b)|0;break Ra;case 1:f=v[a+684>>2]+B(v[a+704>>2],b)|0;break Ra;default:X(3794,7231,591,193861);L();case 0:break Ra;case 2:break Sa}}d=v[a+684>>2]+B(v[a+704>>2],b)|0}b=b+1|0;if((h|0)!=(b|0)){continue}break}if(!e|(!d|!i)){break Qa}b=B(v[g+24>>2],v[g+20>>2]);Ta:{if(!f){if(!b){break Ta}while(1){ma=l,na=Ls(B(t[d|0],100)>>8,t[i|0]-128|0,t[e|0]-128|0),v[ma>>2]=na;e=e+2|0;i=i+2|0;d=d+2|0;l=l+4|0;b=b-1|0;if(b){continue}break}break Ta}if(!b){break Ta}while(1){ma=l,na=Po(w[f|0],B(t[d|0],100)>>8,t[i|0]-128|0,t[e|0]-128|0),v[ma>>2]=na;e=e+2|0;i=i+2|0;d=d+2|0;f=f+2|0;l=l+4|0;b=b-1|0;if(b){continue}break}}break Pa}X(30713,7231,596,193861);L()}break aa;default:break Ja}}X(3794,7231,1014,193579);L();case 7:if(x[a+50>>1]==8){b=0;e=0;i=0;d=0;f=0;Ua:{h=u[g+28>>1];if((h|0)<1){break Ua}l=v[g+372>>2];m=v[g+32>>2];while(1){Va:{Wa:{switch(u[m+B(b,12)>>1]+2|0){case 3:i=v[a+684>>2]+B(v[a+704>>2],b)|0;break Va;case 4:e=v[a+684>>2]+B(v[a+704>>2],b)|0;break Va;case 1:f=v[a+684>>2]+B(v[a+704>>2],b)|0;break Va;default:X(3794,7231,656,193887);L();case 0:break Va;case 2:break Wa}}d=v[a+684>>2]+B(v[a+704>>2],b)|0}b=b+1|0;if((h|0)!=(b|0)){continue}break}if(!e|(!d|!i)){break Ua}b=B(v[g+24>>2],v[g+20>>2]);Xa:{if(!f){if(!b){break Xa}while(1){ma=l,na=Fk(w[d|0]^255,w[i|0]^255,w[e|0]^255,0),v[ma>>2]=na;e=e+1|0;i=i+1|0;d=d+1|0;l=l+4|0;b=b-1|0;if(b){continue}break}break Xa}if(!b){break Xa}while(1){ma=l,na=Fk(w[d|0]^255,w[i|0]^255,w[e|0]^255,w[f|0]^255),v[ma>>2]=na;f=f+1|0;e=e+1|0;i=i+1|0;d=d+1|0;l=l+4|0;b=b-1|0;if(b){continue}break}}break aa}X(32264,7231,661,193887);L()}X(3794,7231,1023,193579);L();default:break ca}}X(3794,7231,1028,193579);L()}i=0;d=0;f=0;Ya:{Za:{b=u[g+28>>1];if((b|0)<1){break Za}l=v[g+372>>2];e=v[g+32>>2];while(1){_a:{$a:{switch(u[e+B(d,12)>>1]+2|0){case 1:f=v[a+684>>2]+B(v[a+704>>2],d)|0;break _a;default:X(3794,7231,117,193640);L();case 0:break _a;case 2:break $a}}i=v[a+684>>2]+B(v[a+704>>2],d)|0}d=d+1|0;if((b|0)!=(d|0)){continue}break}if(!i){break Za}b=v[g+24>>2];e=v[g+20>>2];d=B(b,e);ab:{if(!f){if(!d){break ab}b=B(b,e);e=b-1|0;f=b&3;if(f){while(1){b=w[i|0];v[l>>2]=(B(b,65792)|b)-16777216;i=i+1|0;l=l+4|0;d=d-1|0;f=f-1|0;if(f){continue}break}}if(e>>>0<3){break ab}while(1){b=w[i|0];v[l>>2]=(B(b,65792)|b)-16777216;b=w[i+1|0];v[l+4>>2]=(B(b,65792)|b)-16777216;b=w[i+2|0];v[l+8>>2]=(B(b,65792)|b)-16777216;b=w[i+3|0];v[l+12>>2]=(B(b,65792)|b)-16777216;i=i+4|0;l=l+16|0;d=d-4|0;if(d){continue}break}break ab}if(!d){break ab}e=B(b,e);if(e&1){b=w[i|0];v[l>>2]=b<<16|b|b<<8|w[f|0]<<24;l=l+4|0;i=i+1|0;f=f+1|0;d=d-1|0}if((e|0)==1){break ab}while(1){b=w[i|0];v[l>>2]=b<<16|b|b<<8|w[f|0]<<24;b=w[i+1|0];v[l+4>>2]=b<<16|b|b<<8|w[f+1|0]<<24;i=i+2|0;f=f+2|0;l=l+8|0;d=d-2|0;if(d){continue}break}}break Ya}X(23884,7231,122,193640);L()}}e=0;b=v[r>>2];h=v[s>>2];l=B(b,h);if((l|0)<1){break T}bb:{switch(x[a+50>>1]-8|0){case 0:b=u[g+28>>1];if((b|0)<1){break T}f=v[g+32>>2];d=0;while(1){if(x[f+B(d,12)>>1]==65534){b=jc(l);v[g+76>>2]=b;e=-4;if(!b){break T}gc(b,v[a+684>>2]+B(v[a+704>>2],d)|0,B(v[r>>2],v[s>>2]));e=0;break T}d=d+1|0;if((b|0)!=(d|0)){continue}break};break T;case 8:break bb;default:break T}}d=u[g+28>>1];if((d|0)<1){break T}f=B(v[g+24>>2],v[g+20>>2]);m=(f|0)>(l|0)?f:l;n=v[g+32>>2];f=0;while(1){if(x[n+B(f,12)>>1]==65534){d=jc(l);v[g+76>>2]=d;e=-4;if(!d){break T}b=B(b,h);h=b-1|0;f=v[a+684>>2]+(B(f,m)<<1)|0;e=b&7;if(e){while(1){t[d|0]=w[f|0];f=f+2|0;d=d+1|0;l=l-1|0;e=e-1|0;if(e){continue}break}}e=0;if(h>>>0<7){break T}while(1){t[d|0]=w[f|0];t[d+1|0]=w[f+2|0];t[d+2|0]=w[f+4|0];t[d+3|0]=w[f+6|0];t[d+4|0]=w[f+8|0];t[d+5|0]=w[f+10|0];t[d+6|0]=w[f+12|0];t[d+7|0]=w[f+14|0];f=f+16|0;d=d+8|0;l=l-8|0;if(l){continue}break}break T}f=f+1|0;if((d|0)!=(f|0)){continue}break}break T}v[a+688>>2]=0;e=-4;break T}X(11474,7231,814,193579);L()}l=e;if(e){Ns(g);break a}g=g+600|0;c=c+1|0;if((c|0)>1]){continue}break}break b}X(25008,7011,695,193413);L()}v[((v[g+376>>2]<<2)+g|0)+380>>2]=18;v[g>>2]=4;c=-4;cb:{d=jc(56);if(!d){break cb}v[d>>2]=0;v[d+4>>2]=0;v[d+48>>2]=0;v[d+52>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=0;v[d+36>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[((v[g+376>>2]<<2)+g|0)+460>>2]=d;v[g+376>>2]=v[g+376>>2]+1;t[d+26|0]=1;u[d+24>>1]=0;v[d+20>>2]=100;b=-526;db:{eb:{fb:{gb:{hb:{ib:{jb:{kb:{lb:{mb:{nb:{ob:{pb:{if((nc(a)|0)!=16){break pb}Yd(a,nc(a)<<1);c=nc(a);qb:{if(!c){ma=d,na=nc(a),v[ma>>2]=na;break qb}Yd(a,c)}b=0;h=nc(a);if(!h){break pb}f=d+28|0;while(1){if(nc(a)){break ob}c=nc(a);e=nc(a);rb:{sb:{tb:{ub:{vb:{wb:{xb:{yb:{if((c|0)<=1198678371){if((c|0)==1097623406){break xb}if((c|0)==1097754476){break wb}if((c|0)!=1148479602){break yb}if((e|0)!=1651470188){break nb}ma=d,na=Td(a),t[ma+25|0]=na;break rb}if((c|0)<=1399024671){if((c|0)==1198678372){break tb}if((c|0)!=1383494259){break yb}if((e|0)!=1651470188){break mb}ma=d,na=Td(a),t[ma+24|0]=na;break rb}if((c|0)==1399024672){break vb}if((c|0)==1417244773){break ub}}X(27482,6893,157,193921);L()}if((e|0)!=1651470188){break lb}ma=d,na=Td(a),t[ma+26|0]=na;break rb}if((e|0)!=1433302086){break kb}if((nc(a)|0)!=591490663){break jb}ma=d,oa=Jd(a),A[ma+8>>3]=oa;break rb}if((e|0)!=1433302086){break ib}if((nc(a)|0)!=592474723){break hb}k=Jd(a);if(!(D(k)<2147483648)){break sb}v[d+20>>2]=~~k;break rb}if((e|0)!=1701737837){break gb}if(nc(a)){break fb}if((nc(a)|0)!=1198679124){break eb}ma=d,na=_I(a),v[ma+16>>2]=na;break rb}if((e|0)!=1331849827){break db}Ov(f,a);break rb}v[d+20>>2]=-2147483648}h=h-1|0;if(h){continue}break}}c=b;break cb}X(3776,6893,80,193921);L()}X(11956,6893,96,193921);L()}X(11956,6893,102,193921);L()}X(11956,6893,108,193921);L()}X(14536,6893,114,193921);L()}X(17012,6893,118,193921);L()}X(14536,6893,126,193921);L()}X(19474,6893,130,193921);L()}X(21843,6893,138,193921);L()}X(3776,6893,143,193921);L()}X(23961,6893,146,193921);L()}X(25900,6893,152,193921);L()}break p}v[((v[g+376>>2]<<2)+g|0)+380>>2]=17;v[g>>2]=3;c=-4;zb:{d=jc(8);if(!d){break zb}v[d>>2]=0;v[d+4>>2]=0;v[((v[g+376>>2]<<2)+g|0)+460>>2]=d;v[g+376>>2]=v[g+376>>2]+1;Ab:{Bb:{Cb:{Db:{Eb:{if((nc(a)|0)==16){Yd(a,nc(a)<<1);if(nc(a)){break Eb}ma=d,na=nc(a),v[ma>>2]=na;if((nc(a)|0)!=1){break Db}if(nc(a)){break Cb}if((nc(a)|0)!=1131180576){break Bb}if((nc(a)|0)!=1331849827){break Ab}ma=d,na=ul(a),v[ma+4>>2]=na;c=0}else{c=-525}break zb}X(3776,6569,61,193973);L()}X(11597,6569,67,193973);L()}X(3776,6569,72,193973);L()}X(14565,6569,74,193973);L()}X(17026,6569,78,193973);L()}break p}v[((v[g+376>>2]<<2)+g|0)+380>>2]=3;v[g>>2]=8;d=jc(264);c=-4;Fb:{if(!d){break Fb}c=ic(d,0,264);v[((v[g+376>>2]<<2)+g|0)+460>>2]=c;v[g+376>>2]=v[g+376>>2]+1;ma=c,na=Ec(a),u[ma>>1]=na;ma=c,na=Ec(a),u[ma+2>>1]=na;ma=c,na=Ec(a),u[ma+4>>1]=na;ma=c,na=Pe(a),t[ma+6|0]=na;t[g+540|0]=1;c=0}break p}Gb:{Hb:{Ib:{Jb:{Kb:{Lb:{Mb:{Nb:{if((c|0)<=1835628657){if((c|0)<=1819504741){if((c|0)<=1819428439){if((c|0)==1819109229){break Ib}if((c|0)!=1819177842){break q}ma=g,na=nc(a),v[ma+552>>2]=na;break n}if((c|0)==1819428440){break Nb}if((c|0)!=1819501428){break q}c=nc(a);v[g+588>>2]=c;c=c-1|0;if(c>>>0<=2){v[g>>2]=v[(c<<2)+193432>>2]}if((G|0)!=12){break n}if((nc(a)|0)==943868237){break Hb}c=-529;break o}if((c|0)<=1819896163){if((c|0)==1819504742){break Kb}if((c|0)!=1819635305){break q}c=nc(a);v[g+544>>2]=c;c=jc(c<<1);v[g+548>>2]=c;if(c){break Gb}c=-4;break o}if((c|0)==1819896164){break Lb}if((c|0)!=1819899506){break q}ma=g,na=nc(a),v[ma+560>>2]=na;break n}Ob:{Pb:{if((c|0)<=1936026722){if((c|0)<=1885890155){if((c|0)==1835628658){break Pb}if((c|0)!=1853256308){break q}v[((v[g+376>>2]<<2)+g|0)+380>>2]=8;v[g>>2]=13;t[g+540|0]=1;v[g+376>>2]=v[g+376>>2]+1;c=0;break p}if((c|0)==1885890156){break Ob}if((c|0)!=1886352244){break q}v[((v[g+376>>2]<<2)+g|0)+380>>2]=9;v[g>>2]=14;c=-4;Qb:{d=jc(258);if(!d){break Qb}c=ic(d,0,258);v[((v[g+376>>2]<<2)+g|0)+460>>2]=c;v[g+376>>2]=v[g+376>>2]+1;d=c;c=Ec(a);u[d>>1]=c;if((c-2&65535)>>>0<254){Ec(a);t[g+540|0]=1;c=0;break Qb}X(3265,7154,53,193949);L()}break p}Rb:{if((c|0)<=1953721464){if((c|0)==1936026723){break Rb}if((c|0)!=1953002099){break q}v[((v[g+376>>2]<<2)+g|0)+380>>2]=7;v[g>>2]=12;c=-4;Sb:{d=jc(2);if(!d){break Sb}u[d>>1]=0;v[((v[g+376>>2]<<2)+g|0)+460>>2]=d;v[g+376>>2]=v[g+376>>2]+1;c=Ec(a);u[d>>1]=c;if((c-1&65535)>>>0<255){Ec(a);t[g+540|0]=1;c=0;break Sb}X(3377,7504,53,193999);L()}break p}if((c|0)==1953721465){break Jb}if((c|0)==1954108264){break Mb}if((c|0)!=1986881389){break q}ma=g,na=Td(a),t[ma+586|0]=na;Yd(a,3);break n}v[((v[g+376>>2]<<2)+g|0)+380>>2]=6;v[g>>2]=11;c=-4;Tb:{d=jc(82);if(!d){break Tb}c=ic(d,0,82);v[((v[g+376>>2]<<2)+g|0)+460>>2]=c;v[g+376>>2]=v[g+376>>2]+1;Ub:{Vb:{Wb:{Xb:{if((Ec(a)|0)==1){ma=c,na=Ec(a),u[ma>>1]=na;ma=c,na=Ec(a),u[ma+2>>1]=na;ma=c,na=Ec(a),u[ma+22>>1]=na;ma=c,na=Ec(a),u[ma+42>>1]=na;d=Ec(a);u[c+62>>1]=d;if((x[c+2>>1]+100&65535)>>>0>=201){break Vb}if(u[c+22>>1]<=-101){break Ub}if(u[c+42>>1]<=-101){break Xb}if((d|0)<=-101){break Wb}ma=c,na=Ec(a),u[ma+4>>1]=na;ma=c,na=Ec(a),u[ma+24>>1]=na;ma=c,na=Ec(a),u[ma+44>>1]=na;d=Ec(a);u[c+64>>1]=d;if((x[c+4>>1]+100&65535)>>>0>=201){break Vb}if(u[c+24>>1]<-100){break Ub}if(u[c+44>>1]<-100){break Xb}if((d|0)<-100){break Wb}ma=c,na=Ec(a),u[ma+6>>1]=na;ma=c,na=Ec(a),u[ma+26>>1]=na;ma=c,na=Ec(a),u[ma+46>>1]=na;d=Ec(a);u[c+66>>1]=d;if((x[c+6>>1]+100&65535)>>>0>200){break Vb}if(u[c+26>>1]<-100){break Ub}if(u[c+46>>1]<-100){break Xb}if((d|0)<-100){break Wb}ma=c,na=Ec(a),u[ma+8>>1]=na;ma=c,na=Ec(a),u[ma+28>>1]=na;ma=c,na=Ec(a),u[ma+48>>1]=na;d=Ec(a);u[c+68>>1]=d;if((x[c+8>>1]+100&65535)>>>0>200){break Vb}if(u[c+28>>1]<-100){break Ub}if(u[c+48>>1]<-100){break Xb}if((d|0)<-100){break Wb}ma=c,na=Ec(a),u[ma+10>>1]=na;ma=c,na=Ec(a),u[ma+30>>1]=na;ma=c,na=Ec(a),u[ma+50>>1]=na;d=Ec(a);u[c+70>>1]=d;if((x[c+10>>1]+100&65535)>>>0>200){break Vb}if(u[c+30>>1]<-100){break Ub}if(u[c+50>>1]<-100){break Xb}if((d|0)<-100){break Wb}ma=c,na=Ec(a),u[ma+12>>1]=na;ma=c,na=Ec(a),u[ma+32>>1]=na;ma=c,na=Ec(a),u[ma+52>>1]=na;d=Ec(a);u[c+72>>1]=d;if((x[c+12>>1]+100&65535)>>>0>200){break Vb}if(u[c+32>>1]<-100){break Ub}if(u[c+52>>1]<-100){break Xb}if((d|0)<-100){break Wb}ma=c,na=Ec(a),u[ma+14>>1]=na;ma=c,na=Ec(a),u[ma+34>>1]=na;ma=c,na=Ec(a),u[ma+54>>1]=na;d=Ec(a);u[c+74>>1]=d;if((x[c+14>>1]+100&65535)>>>0>200){break Vb}if(u[c+34>>1]<-100){break Ub}if(u[c+54>>1]<-100){break Xb}if((d|0)<-100){break Wb}ma=c,na=Ec(a),u[ma+16>>1]=na;ma=c,na=Ec(a),u[ma+36>>1]=na;ma=c,na=Ec(a),u[ma+56>>1]=na;d=Ec(a);u[c+76>>1]=d;if((x[c+16>>1]+100&65535)>>>0>200){break Vb}if(u[c+36>>1]<-100){break Ub}if(u[c+56>>1]<-100){break Xb}if((d|0)<-100){break Wb}ma=c,na=Ec(a),u[ma+18>>1]=na;ma=c,na=Ec(a),u[ma+38>>1]=na;ma=c,na=Ec(a),u[ma+58>>1]=na;d=Ec(a);u[c+78>>1]=d;if((x[c+18>>1]+100&65535)>>>0>200){break Vb}if(u[c+38>>1]<-100){break Ub}if(u[c+58>>1]<-100){break Xb}if((d|0)<-100){break Wb}ma=c,na=Ec(a),u[ma+20>>1]=na;ma=c,na=Ec(a),u[ma+40>>1]=na;ma=c,na=Ec(a),u[ma+60>>1]=na;d=Ec(a);u[c+80>>1]=d;if((x[c+20>>1]+100&65535)>>>0>200){break Vb}if(u[c+40>>1]<-100){break Ub}if(u[c+60>>1]<-100){break Xb}if((d|0)<-100){break Wb}t[g+540|0]=1;c=0}else{c=-512}break Tb}X(14223,6527,80,194068);L()}X(16624,6527,81,194068);L()}X(3548,6527,78,194068);L()}X(11615,6527,79,194068);L()}break p}v[((v[g+376>>2]<<2)+g|0)+380>>2]=10;v[g>>2]=15;d=jc(42);c=-4;Yb:{if(!d){break Yb}u[d>>1]=0;u[d+2>>1]=0;u[d+4>>1]=0;u[d+6>>1]=0;u[d+40>>1]=0;u[d+32>>1]=0;u[d+34>>1]=0;u[d+36>>1]=0;u[d+38>>1]=0;u[d+24>>1]=0;u[d+26>>1]=0;u[d+28>>1]=0;u[d+30>>1]=0;u[d+16>>1]=0;u[d+18>>1]=0;u[d+20>>1]=0;u[d+22>>1]=0;u[d+8>>1]=0;u[d+10>>1]=0;u[d+12>>1]=0;u[d+14>>1]=0;v[((v[g+376>>2]<<2)+g|0)+460>>2]=d;v[g+376>>2]=v[g+376>>2]+1;if((Ec(a)|0)==1){ma=d,na=Ec(a),t[ma|0]=na;ma=d,na=Ec(a),u[ma+2>>1]=na;ma=d,na=Ec(a),u[ma+10>>1]=na;ma=d,na=Ec(a),u[ma+18>>1]=na;ma=d,na=Ec(a),u[ma+26>>1]=na;ma=d,na=Ec(a),u[ma+34>>1]=na;ma=d,na=Ec(a),u[ma+4>>1]=na;ma=d,na=Ec(a),u[ma+12>>1]=na;ma=d,na=Ec(a),u[ma+20>>1]=na;ma=d,na=Ec(a),u[ma+28>>1]=na;ma=d,na=Ec(a),u[ma+36>>1]=na;ma=d,na=Ec(a),u[ma+6>>1]=na;ma=d,na=Ec(a),u[ma+14>>1]=na;ma=d,na=Ec(a),u[ma+22>>1]=na;ma=d,na=Ec(a),u[ma+30>>1]=na;ma=d,na=Ec(a),u[ma+38>>1]=na;ma=d,na=Ec(a),u[ma+8>>1]=na;ma=d,na=Ec(a),u[ma+16>>1]=na;ma=d,na=Ec(a),u[ma+24>>1]=na;ma=d,na=Ec(a),u[ma+32>>1]=na;ma=d,na=Ec(a),u[ma+40>>1]=na;t[g+540|0]=1;c=0}else{c=-513}}break p}v[((v[g+376>>2]<<2)+g|0)+380>>2]=12;v[g>>2]=17;d=jc(20);c=-4;Zb:{if(!d){break Zb}v[d>>2]=0;v[d+4>>2]=0;v[d+16>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[((v[g+376>>2]<<2)+g|0)+460>>2]=d;v[g+376>>2]=v[g+376>>2]+1;if((Ec(a)|0)==3){ma=d,na=nc(a)>>8,v[ma>>2]=na;ma=d,na=nc(a)>>8,v[ma+4>>2]=na;ma=d,na=nc(a)>>8,v[ma+8>>2]=na;ma=d,na=nc(a),v[ma+12>>2]=na;ma=d,na=Td(a),t[ma+16|0]=na;Pe(a);t[g+540|0]=1;c=0}else{c=-514}}break p}f=0;v[((v[g+376>>2]<<2)+g|0)+380>>2]=15;c=-4;_b:{d=jc(3692);if(!d){break _b}h=ic(d,0,3692);v[((v[g+376>>2]<<2)+g|0)+460>>2]=h;v[g+376>>2]=v[g+376>>2]+1;$b:{if(Ec(a)){c=-516}else{c=Ec(a);u[h>>1]=c;if((c|0)>=1){e=h+4|0;m=h+312|0;o=h+616|0;n=h+952|0;d=h+1292|0;i=h+2460|0;while(1){c=-517;if((nc(a)|0)!=943868237){break _b}ac:{bc:{cc:{dc:{ec:{fc:{gc:{c=nc(a);if((c|0)<=1768385654){if((c|0)==1650816620){break dc}if((c|0)==1668116051){break gc}if((c|0)!=1685283959){break cc}b=0;v[e+12>>2]=-16777216;v[e+4>>2]=3;v[e+8>>2]=-16777216;v[e+36>>2]=5;v[e+28>>2]=5;v[e+32>>2]=0;t[e+24|0]=1;v[e+20>>2]=120;t[e+16|0]=191;c=e+40|0;while(1){t[c+b|0]=b;j=b|1;t[j+c|0]=j;j=b|2;t[j+c|0]=j;j=b|3;t[j+c|0]=j;j=b|4;t[j+c|0]=j;j=b|5;t[j+c|0]=j;j=b|6;t[j+c|0]=j;j=b|7;t[j+c|0]=j;b=b+8|0;if((b|0)!=256){continue}break}t[e+304|0]=0;v[e+300>>2]=0;t[e+296|0]=0;nc(a);c=nc(a);hc:{if(c&-3){break hc}ma=e,na=Ec(a),v[ma+36>>2]=na;ma=e,na=nc(a),v[ma+32>>2]=na;ma=e,na=nc(a),v[ma+20>>2]=na;ma=e,na=nc(a),v[ma+28>>2]=na;Ec(a);ma=e,na=_h(a),v[ma+8>>2]=na;if((nc(a)|0)!=943868237){break hc}ma=e,na=rn(a),v[ma+4>>2]=na;ma=e,na=Td(a),t[ma|0]=na;ma=e,na=Td(a),t[ma+24|0]=na;ma=e,na=Pe(a),t[ma+16|0]=na;if((c|0)!=2){break hc}ma=e,na=_h(a),v[ma+12>>2]=na}t[h+3218|0]=1;t[h+3208|0]=1;break ac}if((c|0)<=1869048950){if((c|0)==1768385655){break ec}if((c|0)!=1769170039){break cc}b=0;v[m+12>>2]=-16777216;v[m+4>>2]=3;v[m+8>>2]=-16777216;v[m+36>>2]=5;v[m+28>>2]=5;v[m+32>>2]=0;t[m+24|0]=1;v[m+20>>2]=120;t[m+16|0]=191;c=m+40|0;while(1){t[c+b|0]=b;j=b|1;t[j+c|0]=j;j=b|2;t[j+c|0]=j;j=b|3;t[j+c|0]=j;j=b|4;t[j+c|0]=j;j=b|5;t[j+c|0]=j;j=b|6;t[j+c|0]=j;j=b|7;t[j+c|0]=j;b=b+8|0;if((b|0)!=256){continue}break}v[m+300>>2]=0;t[m+296|0]=0;nc(a);c=nc(a);ic:{if(c&-3){break ic}ma=m,na=Ec(a),v[ma+36>>2]=na;ma=m,na=nc(a),v[ma+32>>2]=na;ma=m,na=nc(a),v[ma+20>>2]=na;ma=m,na=nc(a),v[ma+28>>2]=na;Ec(a);ma=m,na=_h(a),v[ma+8>>2]=na;if((nc(a)|0)!=943868237){break ic}ma=m,na=rn(a),v[ma+4>>2]=na;ma=m,na=Td(a),t[ma|0]=na;ma=m,na=Td(a),t[ma+24|0]=na;ma=m,na=Pe(a),t[ma+16|0]=na;if((c|0)!=2){break ic}ma=m,na=_h(a),v[ma+12>>2]=na}t[h+3219|0]=1;t[h+3209|0]=1;break ac}if((c|0)==1869048951){break fc}if((c|0)!=1936680553){break cc}t[i+12|0]=255;v[i+4>>2]=0;v[i+8>>2]=-65536;nc(a);jc:{if((nc(a)|0)!=2){break jc}if((nc(a)|0)!=943868237){break jc}ma=i,na=rn(a),v[ma+4>>2]=na;ma=i,na=_h(a),v[ma+8>>2]=na;ma=i,na=Pe(a),t[ma+12|0]=na;ma=i,na=Td(a),t[ma|0]=na;ma=i,na=_h(a),v[ma+16>>2]=na}t[h+3223|0]=1;t[h+3213|0]=1;break ac}if((nc(a)|0)!=7){break $b}if(!nc(a)){break bc}c=-519;break _b}b=0;v[o+12>>2]=0;v[o+16>>2]=0;t[o+8|0]=191;v[o+4>>2]=7;v[o+64>>2]=5;v[o+56>>2]=0;v[o+60>>2]=0;v[o+20>>2]=-66;v[o+24>>2]=-66;c=o+68|0;while(1){t[c+b|0]=b;j=b|1;t[j+c|0]=j;j=b|2;t[j+c|0]=j;j=b|3;t[j+c|0]=j;j=b|4;t[j+c|0]=j;j=b|5;t[j+c|0]=j;j=b|6;t[j+c|0]=j;j=b|7;t[j+c|0]=j;b=b+8|0;if((b|0)!=256){continue}break}v[o+328>>2]=50;v[o+332>>2]=0;t[o+324|0]=0;nc(a);c=nc(a);kc:{if(c&-3){break kc}ma=o,na=nc(a),v[ma+64>>2]=na;ma=o,na=nc(a),v[ma+60>>2]=na;ma=o,na=_h(a),v[ma+20>>2]=na;if((nc(a)|0)!=943868237){break kc}ma=o,na=rn(a),v[ma+4>>2]=na;ma=o,na=Td(a),t[ma|0]=na;ma=o,na=Pe(a),t[ma+8|0]=na;if((c|0)!=2){break kc}ma=o,na=_h(a),v[ma+24>>2]=na}t[h+3220|0]=1;t[h+3210|0]=1;break ac}b=0;v[n+12>>2]=0;v[n+16>>2]=0;t[n+8|0]=191;v[n+4>>2]=7;v[n+64>>2]=0;v[n+68>>2]=5;v[n+56>>2]=0;v[n+60>>2]=1;v[n+20>>2]=-66;v[n+24>>2]=-66;c=n+72|0;while(1){t[c+b|0]=b;j=b|1;t[j+c|0]=j;j=b|2;t[j+c|0]=j;j=b|3;t[j+c|0]=j;j=b|4;t[j+c|0]=j;j=b|5;t[j+c|0]=j;j=b|6;t[j+c|0]=j;j=b|7;t[j+c|0]=j;b=b+8|0;if((b|0)!=256){continue}break}v[n+332>>2]=50;v[n+336>>2]=0;t[n+328|0]=0;nc(a);c=nc(a);lc:{if(c&-3){break lc}ma=n,na=nc(a),v[ma+68>>2]=na;ma=n,na=nc(a),v[ma+64>>2]=na;ma=n,na=_h(a),v[ma+20>>2]=na;if((nc(a)|0)!=943868237){break lc}ma=n,na=rn(a),v[ma+4>>2]=na;ma=n,na=Td(a),t[ma|0]=na;ma=n,na=Pe(a),t[ma+8|0]=na;if((c|0)!=2){break lc}if((Td(a)|0)==1){v[n+60>>2]=0}ma=n,na=_h(a),v[ma+24>>2]=na}t[h+3221|0]=1;t[h+3211|0]=1;break ac}b=0;v[d+4>>2]=1;v[d+8>>2]=2;v[d+36>>2]=30;t[d+32|0]=1;v[d+28>>2]=120;v[d+20>>2]=5;v[d+24>>2]=0;v[d+12>>2]=100;v[d+16>>2]=0;c=d+40|0;while(1){t[c+b|0]=b;j=b|1;t[j+c|0]=j;j=b|2;t[j+c|0]=j;j=b|3;t[j+c|0]=j;j=b|4;t[j+c|0]=j;j=b|5;t[j+c|0]=j;j=b|6;t[j+c|0]=j;j=b|7;t[j+c|0]=j;b=b+8|0;if((b|0)!=256){continue}break}v[d+308>>2]=-1;b=0;t[d+296|0]=0;v[d+324>>2]=-16777216;t[d+312|0]=191;v[d+300>>2]=7;v[d+304>>2]=-1;u[d+328>>1]=191;v[d+316>>2]=7;v[d+320>>2]=-16777216;c=d+330|0;while(1){t[c+b|0]=b;j=b|1;t[j+c|0]=j;j=b|2;t[j+c|0]=j;j=b|3;t[j+c|0]=j;j=b|4;t[j+c|0]=j;j=b|5;t[j+c|0]=j;j=b|6;t[j+c|0]=j;j=b|7;t[j+c|0]=j;b=b+8|0;if((b|0)!=256){continue}break}u[d+868>>1]=256;v[d+860>>2]=100;v[d+864>>2]=100;t[d+592|0]=0;v[d+588>>2]=50;t[d+586|0]=0;nc(a);c=nc(a);mc:{if(c&-3){break mc}ma=d,na=nc(a),v[ma+28>>2]=na;ma=d,na=nc(a),v[ma+20>>2]=na;ma=d,na=nc(a),v[ma+24>>2]=na;if((nc(a)|0)!=943868237){break mc}ma=d,na=rn(a),v[ma+300>>2]=na;if((nc(a)|0)!=943868237){break mc}ma=d,na=rn(a),v[ma+316>>2]=na;ma=d,na=_h(a),v[ma+304>>2]=na;ma=d,na=_h(a),v[ma+320>>2]=na;ma=d,na=Pe(a),v[ma+4>>2]=na;ma=d,na=Pe(a),t[ma+312|0]=na;ma=d,na=Pe(a),t[ma+328|0]=na;ma=d,na=Td(a),t[ma|0]=na;ma=d,na=Td(a),t[ma+32|0]=na;ma=d,na=Pe(a),v[ma+16>>2]=na;if((c|0)!=2){break mc}ma=d,na=_h(a),v[ma+308>>2]=na;ma=d,na=_h(a),v[ma+324>>2]=na}t[h+3227|0]=1;t[h+3217|0]=1;break ac}X(11815,6390,151,194023);L()}ma=h,na=Td(a),t[ma+2|0]=na;Ec(a)}f=f+1|0;if((f|0)>1]){continue}break}}c=0}break _b}X(3243,6390,109,194023);L()}break p}f=0;v[((v[g+376>>2]<<2)+g|0)+380>>2]=13;h=-4;nc:{oc:{pc:{c=jc(112);qc:{if(!c){break qc}c=ic(c,0,112);v[((v[g+376>>2]<<2)+g|0)+460>>2]=c;v[g+376>>2]=v[g+376>>2]+1;if((Ec(a)|0)!=1){break pc}ma=c,oa=Jd(a),A[ma>>3]=oa;ma=c,oa=Jd(a),A[ma+8>>3]=oa;ma=c,oa=Jd(a),A[ma+16>>3]=oa;ma=c,oa=Jd(a),A[ma+24>>3]=oa;ma=c,oa=Jd(a),A[ma+32>>3]=oa;ma=c,oa=Jd(a),A[ma+40>>3]=oa;if((Ec(a)|0)!=6){break oc}d=Ec(a);u[c+48>>1]=d;d=jc(B(d,788));v[c+52>>2]=d;if(!d){break qc}ic(d,0,B(u[c+48>>1],788));if(u[c+48>>1]>=1){while(1){b=Ec(a);d=B(f,788);u[d+v[c+52>>2]>>1]=b;b=nc(a);v[(d+v[c+52>>2]|0)+4>>2]=b;b=Pe(a);ye(a,(d+v[c+52>>2]|0)+8|0,b);b=Pe(a);ye(a,(d+v[c+52>>2]|0)+264|0,b);b=Pe(a);ye(a,(d+v[c+52>>2]|0)+520|0,b);b=Ec(a);u[(d+v[c+52>>2]|0)+776>>1]=b;b=nc(a);v[(d+v[c+52>>2]|0)+780>>2]=b;b=jc(b<<2);e=d+v[c+52>>2]|0;v[e+784>>2]=b;if(!b){break qc}b=0;if(v[e+780>>2]>=1){while(1){e=nc(a);m=d+v[c+52>>2]|0;v[v[m+784>>2]+(b<<2)>>2]=e;b=b+1|0;if((b|0)>2]){continue}break}}f=f+1|0;if((f|0)>1]){continue}break}}d=Ec(a);u[c+56>>1]=d;d=jc(B(d,28));v[c+60>>2]=d;if(!d){break qc}f=0;ic(d,0,B(u[c+56>>1],28));if(u[c+56>>1]>=1){while(1){b=Ec(a);d=B(f,28);u[d+v[c+60>>2]>>1]=b;b=Ec(a);u[(d+v[c+60>>2]|0)+2>>1]=b;b=nc(a);v[(d+v[c+60>>2]|0)+4>>2]=b;b=nc(a);v[(d+v[c+60>>2]|0)+8>>2]=b;b=nc(a);v[(d+v[c+60>>2]|0)+12>>2]=b;b=nc(a);v[(d+v[c+60>>2]|0)+16>>2]=b;b=nc(a);v[(d+v[c+60>>2]|0)+20>>2]=b;b=Td(a);t[(d+v[c+60>>2]|0)+24|0]=b;Pe(a);b=Td(a);t[(d+v[c+60>>2]|0)+25|0]=b;f=f+1|0;if((f|0)>1]){continue}break}}ma=c,na=Ec(a),u[ma+64>>1]=na;ma=c,na=nc(a),v[ma+68>>2]=na;ma=c,na=nc(a),v[ma+72>>2]=na;ma=c,na=nc(a),v[ma+76>>2]=na;ma=c,na=nc(a),v[ma+80>>2]=na;ma=c,na=nc(a),v[ma+84>>2]=na;ma=c,na=nc(a),v[ma+88>>2]=na;d=Ec(a);u[c+92>>1]=d;d=jc(B(d,12));v[c+96>>2]=d;if(!d){break qc}f=0;ic(d,0,B(u[c+92>>1],12));if(u[c+92>>1]>=1){while(1){b=nc(a);d=B(f,12);v[d+v[c+96>>2]>>2]=b;b=Ec(a);u[(d+v[c+96>>2]|0)+4>>1]=b;b=Ec(a);u[(d+v[c+96>>2]|0)+6>>1]=b;b=Ec(a);u[(d+v[c+96>>2]|0)+8>>1]=b;b=Ec(a);u[(d+v[c+96>>2]|0)+10>>1]=b;f=f+1|0;if((f|0)>1]){continue}break}}ma=c,na=_h(a),v[ma+100>>2]=na;ma=c,na=Td(a),t[ma+104|0]=na;h=0}c=h;break nc}X(3431,6857,48,194098);L()}X(11269,6857,58,194098);L()}break p}ma=g,na=nc(a),v[ma+556>>2]=na;break n}c=nc(a);t[g+567|0]=c&1;c=c&255;t[g+569|0]=c>>>2&1;t[g+568|0]=c>>>1&1;break n}ma=g,na=Td(a),t[ma+584|0]=na;Yd(a,3);break n}ma=g,na=Td(a),t[ma+585|0]=na;Yd(a,3);break n}ma=g,na=rn(a),v[ma+592>>2]=na;break n}ic(c,0,v[g+544>>2]<<1);ye(a,v[g+548>>2],v[g+544>>2]<<1);break n}rc:{sc:{tc:{uc:{vc:{if((c|0)<=1768842871){if((c|0)<=1752524081){if((c|0)==1719169648){break sc}if((c|0)!=1735550061){break q}b=Qb-16|0;Qb=b;v[((v[g+376>>2]<<2)+g|0)+380>>2]=11;v[g>>2]=16;d=jc(1080);c=-4;wc:{if(!d){break wc}d=ic(d,0,1080);v[((v[g+376>>2]<<2)+g|0)+460>>2]=d;v[g+376>>2]=v[g+376>>2]+1;c=-515;if((Ec(a)|0)!=1){break wc}ma=d,na=Td(a),t[ma|0]=na;ma=d,na=Td(a),t[ma+1|0]=na;c=nc(a);v[d+4>>2]=c;e=jc(c<<1);v[d+8>>2]=e;c=-4;if(!e){break wc}ye(a,e,v[d+4>>2]<<1);c=Ec(a);u[d+12>>1]=c;e=jc(c<<4);v[d+16>>2]=e;c=-4;if(!e){break wc}f=0;ic(e,0,u[d+12>>1]<<4);if(u[d+12>>1]>=1){while(1){e=nc(a);c=f<<4;v[c+v[d+16>>2]>>2]=e;e=nc(a);v[(c+v[d+16>>2]|0)+4>>2]=e;e=_h(a);v[(c+v[d+16>>2]|0)+8>>2]=e;Ec(a);v[(c+v[d+16>>2]|0)+12>>2]=2;f=f+1|0;if((f|0)>1]){continue}break}}c=Ec(a);u[d+20>>1]=c;e=jc(B(c,12));v[d+24>>2]=e;c=-4;if(!e){break wc}f=0;ic(e,0,B(u[d+20>>1],12));if(u[d+20>>1]>=1){while(1){e=nc(a);c=B(f,12);v[c+v[d+24>>2]>>2]=e;e=nc(a);v[(c+v[d+24>>2]|0)+4>>2]=e;e=Ec(a);u[(c+v[d+24>>2]|0)+8>>1]=e;f=f+1|0;if((f|0)>1]){continue}break}}c=Ec(a);u[d+28>>1]=c;xc:{if((c|0)<1){break xc}ma=d,na=Ec(a),u[ma+30>>1]=na;c=Ec(a);u[d+32>>1]=c;if((c|0)<32){break xc}ma=d,na=Ec(a),u[ma+34>>1]=na;ma=d,na=nc(a),v[ma+36>>2]=na;ma=d,na=Ec(a),u[ma+40>>1]=na;ma=d,na=Ec(a),u[ma+42>>1]=na;ma=d,na=nc(a),v[ma+44>>2]=na;c=Ec(a);ma=b,na=Ec(a)>>>8|0,u[ma+8>>1]=na;ma=b,na=Ec(a)>>>8|0,u[ma+10>>1]=na;ma=b,na=Ec(a)>>>8|0,u[ma+12>>1]=na;ma=b,na=Ec(a)>>>8|0,u[ma+14>>1]=na;e=b+8|0;FA(d+48|0,c,e);ma=b,na=Ec(a)>>>8|0,u[ma+8>>1]=na;ma=b,na=Ec(a)>>>8|0,u[ma+10>>1]=na;ma=b,na=Ec(a)>>>8|0,u[ma+12>>1]=na;ma=b,na=Ec(a)>>>8|0,u[ma+14>>1]=na;FA(d+52|0,c,e)}Ec(a);t[g+540|0]=1;c=0}Qb=b+16|0;break p}if((c|0)==1752524082){break vc}if((c|0)!=1766813793){break q}ma=g,na=Pe(a),t[ma+541|0]=na;Yd(a,3);break n}if((c|0)<=1818455153){if((c|0)==1768842872){break uc}if((c|0)!=1802398575){break q}ma=g,na=Td(a),t[ma+566|0]=na;Yd(a,3);break n}if((c|0)==1818455154){break tc}if((c|0)==1818588780){break rc}if((c|0)!=1818654770){break q}H=Qb-256|0;Qb=H;v[((v[g+376>>2]<<2)+g|0)+380>>2]=16;yc:{zc:{c=jc(3692);Ac:{if(!c){b=-4;break Ac}i=ic(c,0,3692);v[((v[g+376>>2]<<2)+g|0)+460>>2]=i;v[g+376>>2]=v[g+376>>2]+1;b=-516;if(nc(a)){break Ac}if((nc(a)|0)!=16){break Ac}Yd(a,nc(a)<<1);c=nc(a);Bc:{if(!c){nc(a);break Bc}Yd(a,c)}b=nc(a);if(b){y=i+2548|0;j=i+4|0;p=i+312|0;o=i+616|0;n=i+952|0;d=i+1292|0;r=i+2172|0;F=i+2460|0;s=i+2480|0;h=i+2844|0;while(1){c=b-1|0;Cc:{Dc:{Ec:{e=nc(a);if(e){ye(a,H,e);t[e+H|0]=0;f=nc(a);break Ec}e=nc(a);f=nc(a);Fc:{Gc:{Hc:{Ic:{Jc:{Kc:{Lc:{Mc:{Nc:{Oc:{Pc:{Qc:{Rc:{Sc:{Tc:{Uc:{Vc:{Wc:{Xc:{Yc:{if((e|0)<=1232226155){if((e|0)<=1148343143){if(!e){break Ec}if((e|0)!=1130907224){break Yc}if((f|0)!=1331849827){break Ic}b=0;m=Qb-256|0;Qb=m;v[r+24>>2]=14;v[r+16>>2]=19;v[r+20>>2]=11;t[r+12|0]=128;v[r+4>>2]=3;v[r+8>>2]=-16777216;e=r+28|0;while(1){t[b+e|0]=b;f=b|1;t[f+e|0]=f;f=b|2;t[f+e|0]=f;f=b|3;t[f+e|0]=f;f=b|4;t[f+e|0]=f;f=b|5;t[f+e|0]=f;f=b|6;t[f+e|0]=f;f=b|7;t[f+e|0]=f;b=b+8|0;if((b|0)!=256){continue}break}u[r+284>>1]=256;Yd(a,nc(a)<<1);b=nc(a);Zc:{if(!b){nc(a);break Zc}Yd(a,b)}_c:{$c:{ad:{bd:{cd:{dd:{ed:{fd:{gd:{hd:{id:{jd:{kd:{ld:{md:{nd:{od:{pd:{b=nc(a);if(b){q=r+28|0;while(1){e=nc(a);if(e){ye(a,m,e);t[e+m|0]=0;nc(a);break $c}e=nc(a);f=nc(a);qd:{rd:{sd:{td:{ud:{vd:{wd:{xd:{if((e|0)<=1299212114){if((e|0)<=1148417133){if((e|0)==1097757761){break xd}if((e|0)!=1131180576){break $c}if((f|0)!=1331849827){break ld}ma=r,na=ul(a),v[ma+8>>2]=na;break qd}if((e|0)==1148417134){break ud}if((e|0)==1231976050){break wd}if((e|0)!=1298407456){break $c}if((f|0)!=1701737837){break od}if(nc(a)){break nd}if((nc(a)|0)!=1114402381){break md}ma=r,na=tl(a),v[ma+4>>2]=na;break qd}if((e|0)<=1651275121){if((e|0)==1299212115){break sd}if((e|0)!=1332765556){break $c}if((f|0)!=1433302086){break id}if((nc(a)|0)!=592474723){break hd}k=Jd(a)*2.55+.5;if(!(D(k)<2147483648)){break rd}t[r+12|0]=~~k;break qd}if((e|0)==1651275122){break td}if((e|0)==1818322796){break vd}if((e|0)!=1701732706){break $c}if((f|0)!=1651470188){break pd}ma=r,na=Td(a),t[ma|0]=na;break qd}if((f|0)!=1651470188){break kd}ma=r,na=Td(a),t[ma+284|0]=na;break qd}if((f|0)!=1651470188){break jd}ma=r,na=Td(a),t[ma+285|0]=na;break qd}if((f|0)!=1433302086){break gd}if((nc(a)|0)!=591490663){break fd}k=Jd(a);if(D(k)<2147483648){v[r+16>>2]=~~k;break qd}v[r+16>>2]=-2147483648;break qd}if((f|0)!=1433302086){break ed}if((nc(a)|0)!=592476268){break dd}k=Jd(a);if(D(k)<2147483648){v[r+20>>2]=~~k;break qd}v[r+20>>2]=-2147483648;break qd}if((f|0)!=1433302086){break cd}if((nc(a)|0)!=592476268){break bd}k=Jd(a);if(D(k)<2147483648){v[r+24>>2]=~~k;break qd}v[r+24>>2]=-2147483648;break qd}if((f|0)!=1331849827){break ad}yq(q,a);break qd}t[r+12|0]=0}b=b-1|0;if(b){continue}break}}Qb=m+256|0;break _c}X(3994,6712,99,194604);L()}X(11941,6712,105,194604);L()}X(14431,6712,110,194604);L()}X(17055,6712,113,194604);L()}X(19488,6712,120,194604);L()}X(3994,6712,126,194604);L()}X(3994,6712,132,194604);L()}X(21900,6712,138,194604);L()}X(23932,6712,141,194604);L()}X(21900,6712,148,194604);L()}X(25886,6712,151,194604);L()}X(21900,6712,157,194604);L()}X(27614,6712,160,194604);L()}X(21900,6712,166,194604);L()}X(27614,6712,169,194604);L()}X(19488,6712,175,194604);L()}X(29184,6712,180,194604);L()}t[i+3222|0]=1;t[i+3212|0]=1;break Dc}if((e|0)==1148343144){break Wc}if((e|0)==1181894232){break Rc}if((e|0)!=1198671468){break Yc}if((f|0)!=1331849827){break Gc}v[s+52>>2]=90;v[s+56>>2]=100;t[s+48|0]=1;v[s+44>>2]=0;t[s+40|0]=0;t[s+8|0]=255;v[s+4>>2]=0;Yd(a,nc(a)<<1);b=nc(a);yd:{if(!b){nc(a);break yd}Yd(a,b)}zd:{Ad:{Bd:{Cd:{Dd:{Ed:{Fd:{Gd:{Hd:{Id:{Jd:{Kd:{Ld:{Md:{Nd:{Od:{Pd:{Qd:{Rd:{Sd:{f=nc(a);if(f){m=s+12|0;q=s- -64|0;E=s+60|0;while(1){if(nc(a)){break Sd}b=nc(a);e=nc(a);Td:{Ud:{Vd:{Wd:{Xd:{Yd:{Zd:{_d:{$d:{ae:{if((b|0)<=1332765555){if((b|0)<=1198678371){if((b|0)==1097623406){break Wd}if((b|0)!=1097754476){break Ad}if((e|0)!=1433302086){break Kd}if((nc(a)|0)!=591490663){break Jd}k=Jd(a);if(!(D(k)<2147483648)){break Zd}v[s+52>>2]=~~k;break Td}if((b|0)==1198678372){break _d}if((b|0)==1298407456){break ae}if((b|0)!=1332114292){break Ad}if((e|0)!=1331849827){break Bd}Nv(E,q,a);break Td}if((b|0)<=1399024671){if((b|0)==1332765556){break $d}if((b|0)==1383494259){break Xd}break Ad}if((b|0)==1399024672){break Vd}if((b|0)==1417244773){break Yd}if((b|0)!=1701732706){break Ad}if((e|0)!=1651470188){break Rd}ma=s,na=Td(a),t[ma|0]=na;break Td}if((e|0)!=1701737837){break Qd}if(nc(a)){break Pd}if((nc(a)|0)!=1114402381){break Od}ma=s,na=tl(a),v[ma+4>>2]=na;break Td}if((e|0)!=1433302086){break Nd}if((nc(a)|0)!=592474723){break Md}k=Jd(a)*2.55+.5;if(!(D(k)<2147483648)){break Ud}t[s+8|0]=~~k;break Td}if((e|0)!=1331849827){break Ld}Ov(m,a);break Td}v[s+52>>2]=-2147483648;break Td}if((e|0)!=1701737837){break Id}if(nc(a)){break Hd}if((nc(a)|0)!=1198679124){break Gd}ma=s,na=_I(a),v[ma+44>>2]=na;break Td}if((e|0)!=1651470188){break Fd}ma=s,na=Td(a),t[ma+40|0]=na;break Td}if((e|0)!=1651470188){break Ed}ma=s,na=Td(a),t[ma+48|0]=na;break Td}if((e|0)!=1433302086){break Dd}if((nc(a)|0)!=592474723){break Cd}k=Jd(a);if(D(k)<2147483648){v[s+56>>2]=~~k;break Td}v[s+56>>2]=-2147483648;break Td}t[s+8|0]=0}f=f-1|0;if(f){continue}break}}break zd}X(3776,6056,76,194625);L()}X(11956,6056,92,194625);L()}X(14507,6056,98,194625);L()}X(3776,6056,103,194625);L()}X(17055,6056,106,194625);L()}X(19503,6056,112,194625);L()}X(21858,6056,115,194625);L()}X(23946,6056,123,194625);L()}X(19503,6056,129,194625);L()}X(25886,6056,133,194625);L()}X(14507,6056,141,194625);L()}X(3776,6056,146,194625);L()}X(27657,6056,149,194625);L()}X(11956,6056,155,194625);L()}X(11956,6056,161,194625);L()}X(19503,6056,167,194625);L()}X(21858,6056,171,194625);L()}X(23946,6056,179,194625);L()}X(29184,6056,185,194625);L()}t[i+3224|0]=1;t[i+3214|0]=1;break Dc}if((e|0)<=1399024671){if((e|0)==1232226156){break Uc}if((e|0)==1232229224){break Vc}if((e|0)!=1332889452){break Yc}if((f|0)!=1331849827){break Lc}b=0;v[o+12>>2]=0;v[o+16>>2]=0;t[o+8|0]=191;v[o+4>>2]=7;v[o+64>>2]=5;v[o+56>>2]=0;v[o+60>>2]=0;v[o+20>>2]=-66;v[o+24>>2]=-66;e=o+68|0;while(1){t[b+e|0]=b;f=b|1;t[f+e|0]=f;f=b|2;t[f+e|0]=f;f=b|3;t[f+e|0]=f;f=b|4;t[f+e|0]=f;f=b|5;t[f+e|0]=f;f=b|6;t[f+e|0]=f;f=b|7;t[f+e|0]=f;b=b+8|0;if((b|0)!=256){continue}break}v[o+328>>2]=50;v[o+332>>2]=0;t[o+324|0]=0;Yd(a,nc(a)<<1);b=nc(a);be:{if(!b){nc(a);break be}Yd(a,b)}ce:{de:{ee:{fe:{ge:{he:{ie:{je:{ke:{le:{me:{ne:{oe:{pe:{qe:{re:{se:{te:{ue:{ve:{we:{xe:{ye:{ze:{Ae:{Be:{f=nc(a);if(f){m=o+28|0;q=o+68|0;while(1){if(nc(a)){break Be}b=nc(a);e=nc(a);Ce:{De:{Ee:{Fe:{Ge:{He:{Ie:{Je:{Ke:{Le:{Me:{if((b|0)<=1298407455){if((b|0)<=1198290771){if((b|0)==1097757761){break Ge}if((b|0)==1131113844){break Ke}if((b|0)!=1131180576){break de}if((e|0)!=1331849827){break we}b=ul(a);v[o+20>>2]=b;v[o+24>>2]=b;v[o+16>>2]=0;break Ce}if((b|0)==1198290772){break Le}if((b|0)==1198678372){break Me}if((b|0)!=1231974514){break de}if((e|0)!=1433302086){break fe}if((nc(a)|0)!=592474723){break ee}k=Jd(a);if(!(D(k)<2147483648)){break Ee}v[o+328>>2]=~~k;break Ce}Ne:{if((b|0)<=1399350349){if((b|0)==1298407456){break Ne}if((b|0)==1315926885){break Ie}if((b|0)!=1332765556){break de}if((e|0)!=1433302086){break ue}if((nc(a)|0)!=592474723){break te}k=Jd(a)*2.55+.5;if(!(D(k)<2147483648)){break De}t[o+8|0]=~~k;break Ce}if((b|0)<=1651275121){if((b|0)==1399350350){break He}if((b|0)==1416785491){break Fe}break de}if((b|0)==1651275122){break Je}if((b|0)!=1701732706){break de}if((e|0)!=1651470188){break Ae}ma=o,na=Td(a),t[ma|0]=na;break Ce}if((e|0)!=1701737837){break ze}if(nc(a)){break ye}if((nc(a)|0)!=1114402381){break xe}ma=o,na=tl(a),v[ma+4>>2]=na;break Ce}if((e|0)!=1331849827){break ve}Ov(m,a);v[o+16>>2]=1;break Ce}if((e|0)!=1701737837){break se}if(nc(a)){break re}if((nc(a)|0)!=1111839813){break qe}ma=o,na=$I(a),v[ma+56>>2]=na;break Ce}if((e|0)!=1433302086){break pe}if((nc(a)|0)!=592476268){break oe}k=Jd(a);if(D(k)<2147483648){v[o+60>>2]=~~k;break Ce}v[o+60>>2]=-2147483648;break Ce}if((e|0)!=1433302086){break ne}if((nc(a)|0)!=592476268){break me}k=Jd(a);if(D(k)<2147483648){v[o+64>>2]=~~k;break Ce}v[o+64>>2]=-2147483648;break Ce}if((e|0)!=1433302086){break le}if((nc(a)|0)!=592474723){break ke}k=Jd(a);if(D(k)<2147483648){v[o+12>>2]=~~k;break Ce}v[o+12>>2]=-2147483648;break Ce}if((e|0)!=1433302086){break je}if((nc(a)|0)!=592474723){break ie}k=Jd(a);if(D(k)<2147483648){v[o+332>>2]=~~k;break Ce}v[o+332>>2]=-2147483648;break Ce}if((e|0)!=1651470188){break he}ma=o,na=Td(a),t[ma+324|0]=na;break Ce}if((e|0)!=1331849827){break ge}yq(q,a);break Ce}v[o+328>>2]=-2147483648;break Ce}t[o+8|0]=0}f=f-1|0;if(f){continue}break}}break ce}X(3776,6171,140,194524);L()}X(11956,6171,156,194524);L()}X(14507,6171,162,194524);L()}X(3776,6171,166,194524);L()}X(17055,6171,169,194524);L()}X(19488,6171,176,194524);L()}X(19488,6171,184,194524);L()}X(21900,6171,191,194524);L()}X(23932,6171,194,194524);L()}X(14507,6171,201,194524);L()}X(3776,6171,205,194524);L()}X(25930,6171,208,194524);L()}X(21900,6171,214,194524);L()}X(27614,6171,217,194524);L()}X(21900,6171,223,194524);L()}X(27614,6171,226,194524);L()}X(21900,6171,232,194524);L()}X(23932,6171,235,194524);L()}X(21900,6171,242,194524);L()}X(23932,6171,245,194524);L()}X(11956,6171,252,194524);L()}X(19488,6171,258,194524);L()}X(21900,6171,264,194524);L()}X(23932,6171,267,194524);L()}X(29184,6171,273,194524);L()}t[i+3220|0]=1;t[i+3210|0]=1;break Dc}if((e|0)==1399024672){break Xc}if((e|0)==1399801449){break Sc}if((e|0)==1700946540){break Tc}}X(11815,6390,348,194045);L()}if((f|0)!=1433302086){break Qc}if((nc(a)|0)!=592474723){break Pc}Jd(a);c=nc(a);Oe:{if(!c){nc(a);break Oe}Yd(a,c)}if((nc(a)|0)!=1651470188){break Oc}ma=i,na=Td(a),t[ma+2|0]=na;c=b-2|0;break Cc}if((f|0)!=1331849827){break Nc}e=0;m=Qb-256|0;Qb=m;v[j+12>>2]=-16777216;v[j+4>>2]=3;v[j+8>>2]=-16777216;v[j+36>>2]=5;v[j+28>>2]=5;v[j+32>>2]=0;t[j+24|0]=1;v[j+20>>2]=120;t[j+16|0]=191;b=j+40|0;while(1){t[b+e|0]=e;f=e|1;t[f+b|0]=f;f=e|2;t[f+b|0]=f;f=e|3;t[f+b|0]=f;f=e|4;t[f+b|0]=f;f=e|5;t[f+b|0]=f;f=e|6;t[f+b|0]=f;f=e|7;t[f+b|0]=f;e=e+8|0;if((e|0)!=256){continue}break}t[j+304|0]=0;v[j+300>>2]=0;t[j+296|0]=0;Yd(a,nc(a)<<1);b=nc(a);Pe:{if(!b){nc(a);break Pe}Yd(a,b)}Qe:{Re:{b=nc(a);if(b){q=j+40|0;while(1){Se:{Te:{e=nc(a);if(e){ye(a,m,e);t[e+m|0]=0;e=nc(a);break Te}f=nc(a);e=nc(a);Ue:{Ve:{We:{Xe:{Ye:{Ze:{_e:{$e:{af:{bf:{cf:{df:{ef:{ff:{gf:{hf:{jf:{kf:{lf:{mf:{nf:{of:{pf:{qf:{rf:{sf:{tf:{uf:{vf:{wf:{xf:{if((f|0)<=1315926884){if((f|0)<=1131180575){if(!f){break Te}if((f|0)==1097757761){break of}if((f|0)!=1131113844){break xf}if((e|0)!=1433302086){break $e}if((nc(a)|0)!=592476268){break _e}k=Jd(a);if(!(D(k)<2147483648)){break rf}v[j+32>>2]=~~k;break Se}if((f|0)==1131180576){break wf}if((f|0)==1148417134){break sf}if((f|0)!=1298407456){break xf}if((e|0)!=1701737837){break lf}if(nc(a)){break kf}if((nc(a)|0)!=1114402381){break jf}ma=j,na=tl(a),v[ma+4>>2]=na;break Se}if((f|0)<=1651275121){if((f|0)==1315926885){break pf}if((f|0)==1332765556){break vf}if((f|0)!=1416785491){break xf}if((e|0)!=1331849827){break Ue}yq(q,a);break Se}if((f|0)<=1818322795){if((f|0)==1651275122){break qf}if((f|0)!=1701732706){break xf}if((e|0)!=1651470188){break mf}ma=j,na=Td(a),t[ma|0]=na;break Se}if((f|0)==1818322796){break tf}if((f|0)==1969712231){break uf}}X(14441,10708,279,194440);L()}if((e|0)!=1331849827){break hf}e=ul(a);v[j+8>>2]=e;v[j+12>>2]=e;break Se}if((e|0)!=1433302086){break gf}if((nc(a)|0)!=592474723){break ff}k=Jd(a)*2.55+.5;if(!(D(k)<2147483648)){break nf}t[j+16|0]=~~k;break Se}if((e|0)!=1651470188){break ef}ma=j,na=Td(a),t[ma+24|0]=na;break Se}if((e|0)!=1433302086){break df}if((nc(a)|0)!=591490663){break cf}k=Jd(a);if(D(k)<2147483648){v[j+20>>2]=~~k;break Se}v[j+20>>2]=-2147483648;break Se}if((e|0)!=1433302086){break bf}if((nc(a)|0)!=592476268){break af}k=Jd(a);if(D(k)<2147483648){v[j+28>>2]=~~k;break Se}v[j+28>>2]=-2147483648;break Se}v[j+32>>2]=-2147483648;break Se}if((e|0)!=1433302086){break Ze}if((nc(a)|0)!=592476268){break Ye}k=Jd(a);if(D(k)<2147483648){v[j+36>>2]=~~k;break Se}v[j+36>>2]=-2147483648;break Se}if((e|0)!=1433302086){break Xe}if((nc(a)|0)!=592474723){break We}k=Jd(a);if(D(k)<2147483648){v[j+300>>2]=~~k;break Se}v[j+300>>2]=-2147483648;break Se}if((e|0)!=1651470188){break Ve}ma=j,na=Td(a),t[ma+296|0]=na;break Se}t[j+16|0]=0;break Se}X(8222,10708,179,194440);L()}X(16982,10708,185,194440);L()}X(19245,10708,190,194440);L()}X(21886,10708,193,194440);L()}X(23946,10708,200,194440);L()}X(25915,10708,206,194440);L()}X(27628,10708,209,194440);L()}X(8222,10708,216,194440);L()}X(25915,10708,222,194440);L()}X(29339,10708,225,194440);L()}X(25915,10708,231,194440);L()}X(30802,10708,234,194440);L()}X(25915,10708,240,194440);L()}X(30802,10708,243,194440);L()}X(25915,10708,249,194440);L()}X(30802,10708,252,194440);L()}X(25915,10708,258,194440);L()}X(27628,10708,261,194440);L()}X(8222,10708,268,194440);L()}X(23946,10708,274,194440);L()}if(!Pc(m,1490,14)){if((e|0)!=1651470188){break Re}ma=j,na=Td(a),t[ma+304|0]=na;break Se}X(14441,10708,173,194440);L()}b=b-1|0;if(b){continue}break}}Qb=m+256|0;break Qe}X(8222,10708,168,194440);L()}t[i+3218|0]=1;t[i+3208|0]=1;break Dc}if((f|0)!=1331849827){break Mc}b=0;v[p+12>>2]=-16777216;v[p+4>>2]=3;v[p+8>>2]=-16777216;v[p+36>>2]=5;v[p+28>>2]=5;v[p+32>>2]=0;t[p+24|0]=1;v[p+20>>2]=120;t[p+16|0]=191;e=p+40|0;while(1){t[b+e|0]=b;f=b|1;t[f+e|0]=f;f=b|2;t[f+e|0]=f;f=b|3;t[f+e|0]=f;f=b|4;t[f+e|0]=f;f=b|5;t[f+e|0]=f;f=b|6;t[f+e|0]=f;f=b|7;t[f+e|0]=f;b=b+8|0;if((b|0)!=256){continue}break}v[p+300>>2]=0;t[p+296|0]=0;Yd(a,nc(a)<<1);b=nc(a);yf:{if(!b){nc(a);break yf}Yd(a,b)}zf:{Af:{Bf:{Cf:{Df:{Ef:{Ff:{Gf:{Hf:{If:{Jf:{Kf:{Lf:{Mf:{Nf:{Of:{Pf:{Qf:{Rf:{Sf:{Tf:{Uf:{Vf:{b=nc(a);if(b){m=p+40|0;while(1){if(nc(a)){break Vf}e=nc(a);f=nc(a);Wf:{Xf:{Yf:{Zf:{_f:{$f:{ag:{bg:{cg:{dg:{eg:{fg:{if((e|0)<=1332765555){if((e|0)<=1148417133){if((e|0)==1097757761){break Zf}if((e|0)==1131113844){break ag}if((e|0)!=1131180576){break Af}if((f|0)!=1331849827){break Qf}e=ul(a);v[p+8>>2]=e;v[p+12>>2]=e;break Wf}if((e|0)==1148417134){break bg}if((e|0)==1298407456){break fg}if((e|0)!=1315926885){break Af}if((f|0)!=1433302086){break Ef}if((nc(a)|0)!=592474723){break Df}k=Jd(a);if(!(D(k)<2147483648)){break _f}v[p+300>>2]=~~k;break Wf}if((e|0)<=1701732705){if((e|0)==1332765556){break eg}if((e|0)==1416785491){break Yf}if((e|0)==1651275122){break $f}break Af}if((e|0)==1969712231){break dg}if((e|0)==1818322796){break cg}if((e|0)!=1701732706){break Af}if((f|0)!=1651470188){break Uf}ma=p,na=Td(a),t[ma|0]=na;break Wf}if((f|0)!=1701737837){break Tf}if(nc(a)){break Sf}if((nc(a)|0)!=1114402381){break Rf}ma=p,na=tl(a),v[ma+4>>2]=na;break Wf}if((f|0)!=1433302086){break Pf}if((nc(a)|0)!=592474723){break Of}k=Jd(a)*2.55+.5;if(!(D(k)<2147483648)){break Xf}t[p+16|0]=~~k;break Wf}if((f|0)!=1651470188){break Nf}ma=p,na=Td(a),t[ma+24|0]=na;break Wf}if((f|0)!=1433302086){break Mf}if((nc(a)|0)!=591490663){break Lf}k=Jd(a);if(D(k)<2147483648){v[p+20>>2]=~~k;break Wf}v[p+20>>2]=-2147483648;break Wf}if((f|0)!=1433302086){break Kf}if((nc(a)|0)!=592476268){break Jf}k=Jd(a);if(D(k)<2147483648){v[p+28>>2]=~~k;break Wf}v[p+28>>2]=-2147483648;break Wf}if((f|0)!=1433302086){break If}if((nc(a)|0)!=592476268){break Hf}k=Jd(a);if(D(k)<2147483648){v[p+32>>2]=~~k;break Wf}v[p+32>>2]=-2147483648;break Wf}if((f|0)!=1433302086){break Gf}if((nc(a)|0)!=592476268){break Ff}k=Jd(a);if(D(k)<2147483648){v[p+36>>2]=~~k;break Wf}v[p+36>>2]=-2147483648;break Wf}v[p+300>>2]=-2147483648;break Wf}if((f|0)!=1651470188){break Cf}ma=p,na=Td(a),t[ma+296|0]=na;break Wf}if((f|0)!=1331849827){break Bf}yq(m,a);break Wf}t[p+16|0]=0}b=b-1|0;if(b){continue}break}}break zf}X(3776,6245,149,194467);L()}X(11956,6245,165,194467);L()}X(14507,6245,171,194467);L()}X(3776,6245,176,194467);L()}X(17055,6245,179,194467);L()}X(19488,6245,186,194467);L()}X(21900,6245,192,194467);L()}X(23932,6245,195,194467);L()}X(11956,6245,202,194467);L()}X(21900,6245,208,194467);L()}X(25886,6245,211,194467);L()}X(21900,6245,217,194467);L()}X(27614,6245,220,194467);L()}X(21900,6245,226,194467);L()}X(27614,6245,229,194467);L()}X(21900,6245,235,194467);L()}X(27614,6245,238,194467);L()}X(21900,6245,244,194467);L()}X(23932,6245,247,194467);L()}X(11956,6245,254,194467);L()}X(19488,6245,260,194467);L()}X(29184,6245,265,194467);L()}t[i+3219|0]=1;t[i+3209|0]=1;break Dc}if((f|0)!=1331849827){break Kc}b=0;m=Qb-256|0;Qb=m;v[n+12>>2]=0;v[n+16>>2]=0;t[n+8|0]=191;v[n+4>>2]=7;v[n+64>>2]=0;v[n+68>>2]=5;v[n+56>>2]=0;v[n+60>>2]=1;v[n+20>>2]=-66;v[n+24>>2]=-66;e=n+72|0;while(1){t[b+e|0]=b;f=b|1;t[f+e|0]=f;f=b|2;t[f+e|0]=f;f=b|3;t[f+e|0]=f;f=b|4;t[f+e|0]=f;f=b|5;t[f+e|0]=f;f=b|6;t[f+e|0]=f;f=b|7;t[f+e|0]=f;b=b+8|0;if((b|0)!=256){continue}break}v[n+332>>2]=50;v[n+336>>2]=0;t[n+328|0]=0;Yd(a,nc(a)<<1);b=nc(a);gg:{if(!b){nc(a);break gg}Yd(a,b)}hg:{ig:{jg:{kg:{lg:{mg:{ng:{og:{pg:{qg:{rg:{sg:{tg:{ug:{vg:{wg:{xg:{yg:{zg:{Ag:{Bg:{Cg:{Dg:{Eg:{Fg:{Gg:{Hg:{Ig:{Jg:{Kg:{f=nc(a);if(f){q=n+28|0;E=n+72|0;while(1){if(nc(a)){break Kg}b=nc(a);e=nc(a);Lg:{Mg:{Ng:{Og:{Pg:{Qg:{Rg:{Sg:{Tg:{Ug:{Vg:{if((b|0)<=1315926884){if((b|0)<=1198290771){if((b|0)==1097757761){break Qg}if((b|0)==1131113844){break Ug}if((b|0)!=1131180576){break ig}if((e|0)!=1331849827){break Fg}b=ul(a);v[n+20>>2]=b;v[n+24>>2]=b;v[n+16>>2]=0;break Lg}if((b|0)<=1231974513){if((b|0)==1198290772){break Vg}if((b|0)!=1198678372){break ig}if((e|0)!=1331849827){break Eg}Ov(q,a);v[n+16>>2]=1;break Lg}if((b|0)==1231974514){break Ng}if((b|0)!=1298407456){break ig}if((e|0)!=1701737837){break Ig}if(nc(a)){break Hg}if((nc(a)|0)!=1114402381){break Gg}ma=n,na=tl(a),v[ma+4>>2]=na;break Lg}Wg:{if((b|0)<=1416785490){if((b|0)==1315926885){break Rg}if((b|0)==1332765556){break Wg}if((b|0)!=1399350350){break ig}if((e|0)!=1433302086){break ug}if((nc(a)|0)!=592474723){break tg}k=Jd(a);if(!(D(k)<2147483648)){break Sg}v[n+336>>2]=~~k;break Lg}if((b|0)<=1701732705){if((b|0)==1416785491){break Og}if((b|0)==1651275122){break Tg}break ig}if((b|0)==1735161683){break Pg}if((b|0)!=1701732706){break ig}if((e|0)!=1651470188){break Jg}ma=n,na=Td(a),t[ma|0]=na;break Lg}if((e|0)!=1433302086){break Dg}if((nc(a)|0)!=592474723){break Cg}k=Jd(a)*2.55+.5;if(!(D(k)<2147483648)){break Mg}t[n+8|0]=~~k;break Lg}if((e|0)!=1701737837){break Bg}if(nc(a)){break Ag}if((nc(a)|0)!=1111839813){break zg}ma=n,na=$I(a),v[ma+56>>2]=na;break Lg}if((e|0)!=1433302086){break yg}if((nc(a)|0)!=592476268){break xg}k=Jd(a);if(D(k)<2147483648){v[n+64>>2]=~~k;break Lg}v[n+64>>2]=-2147483648;break Lg}if((e|0)!=1433302086){break wg}if((nc(a)|0)!=592476268){break vg}k=Jd(a);if(D(k)<2147483648){v[n+68>>2]=~~k;break Lg}v[n+68>>2]=-2147483648;break Lg}v[n+336>>2]=-2147483648;break Lg}if((e|0)!=1433302086){break sg}if((nc(a)|0)!=592474723){break rg}k=Jd(a);if(D(k)<2147483648){v[n+12>>2]=~~k;break Lg}v[n+12>>2]=-2147483648;break Lg}if((e|0)!=1651470188){break qg}ma=n,na=Td(a),t[ma+328|0]=na;break Lg}if((e|0)!=1701737837){break pg}if(nc(a)){break og}if((nc(a)|0)!=1229411186){break ng}b=nc(a);if(b){ye(a,m,b);t[b+m|0]=0;break jg}Xg:{switch(nc(a)-1400005443|0){case 0:v[n+60>>2]=0;break Lg;case 2:break Xg;default:break jg}}v[n+60>>2]=1;break Lg}if((e|0)!=1331849827){break mg}yq(E,a);break Lg}if((e|0)!=1433302086){break lg}if((nc(a)|0)!=592474723){break kg}k=Jd(a);if(D(k)<2147483648){v[n+332>>2]=~~k;break Lg}v[n+332>>2]=-2147483648;break Lg}t[n+8|0]=0}f=f-1|0;if(f){continue}break}}Qb=m+256|0;break hg}X(3776,6208,147,194550);L()}X(11956,6208,163,194550);L()}X(14507,6208,169,194550);L()}X(3776,6208,173,194550);L()}X(17055,6208,176,194550);L()}X(19488,6208,183,194550);L()}X(19488,6208,191,194550);L()}X(21900,6208,198,194550);L()}X(23932,6208,201,194550);L()}X(14507,6208,208,194550);L()}X(3776,6208,212,194550);L()}X(25930,6208,215,194550);L()}X(21900,6208,221,194550);L()}X(27614,6208,224,194550);L()}X(21900,6208,230,194550);L()}X(27614,6208,233,194550);L()}X(21900,6208,239,194550);L()}X(23932,6208,242,194550);L()}X(21900,6208,249,194550);L()}X(23932,6208,252,194550);L()}X(11956,6208,259,194550);L()}X(14507,6208,265,194550);L()}X(3776,6208,269,194550);L()}X(29325,6208,272,194550);L()}X(19488,6208,299,194550);L()}X(21900,6208,305,194550);L()}X(23932,6208,308,194550);L()}X(30494,6208,292,194550);L()}X(30494,6208,314,194550);L()}t[i+3221|0]=1;t[i+3211|0]=1;break Dc}if((f|0)!=1331849827){break Jc}b=0;f=Qb-256|0;Qb=f;v[d+4>>2]=1;v[d+8>>2]=2;v[d+36>>2]=30;t[d+32|0]=1;v[d+28>>2]=120;v[d+20>>2]=5;v[d+24>>2]=0;v[d+12>>2]=100;v[d+16>>2]=0;e=d+40|0;while(1){t[b+e|0]=b;m=b|1;t[m+e|0]=m;m=b|2;t[m+e|0]=m;m=b|3;t[m+e|0]=m;m=b|4;t[m+e|0]=m;m=b|5;t[m+e|0]=m;m=b|6;t[m+e|0]=m;m=b|7;t[m+e|0]=m;b=b+8|0;if((b|0)!=256){continue}break}v[d+308>>2]=-1;b=0;t[d+296|0]=0;v[d+324>>2]=-16777216;t[d+312|0]=191;v[d+300>>2]=7;v[d+304>>2]=-1;u[d+328>>1]=191;v[d+316>>2]=7;v[d+320>>2]=-16777216;e=d+330|0;while(1){t[b+e|0]=b;m=b|1;t[m+e|0]=m;m=b|2;t[m+e|0]=m;m=b|3;t[m+e|0]=m;m=b|4;t[m+e|0]=m;m=b|5;t[m+e|0]=m;m=b|6;t[m+e|0]=m;m=b|7;t[m+e|0]=m;b=b+8|0;if((b|0)!=256){continue}break}u[d+868>>1]=256;v[d+860>>2]=100;v[d+864>>2]=100;t[d+592|0]=0;v[d+588>>2]=50;t[d+586|0]=0;Yd(a,nc(a)<<1);b=nc(a);Yg:{if(!b){nc(a);break Yg}Yd(a,b)}Zg:{_g:{$g:{ah:{bh:{ch:{dh:{q=nc(a);if(q){m=d+876|0;E=d+872|0;I=d+40|0;M=d+330|0;N=d+596|0;while(1){eh:{fh:{b=nc(a);if(b){ye(a,f,b);t[b+f|0]=0;b=nc(a);break fh}e=nc(a);b=nc(a);gh:{hh:{ih:{jh:{kh:{lh:{mh:{nh:{oh:{ph:{qh:{rh:{sh:{th:{uh:{vh:{wh:{xh:{yh:{zh:{Ah:{Bh:{Ch:{Dh:{Eh:{Fh:{Gh:{Hh:{Ih:{Jh:{Kh:{Lh:{Mh:{Nh:{Oh:{Ph:{Qh:{Rh:{Sh:{Th:{Uh:{Vh:{Wh:{Xh:{Yh:{Zh:{_h:{$h:{ai:{bi:{ci:{di:{ei:{fi:{gi:{hi:{ii:{ji:{ki:{if((e|0)<=1651928131){if((e|0)<=1299212114){if((e|0)<=1231974513){if(!e){break fh}if((e|0)==1097623406){break bi}if((e|0)!=1097757761){break Zh}if((b|0)!=1651470188){break qh}ma=d,na=Td(a),t[ma+586|0]=na;break eh}if((e|0)==1231974514){break di}if((e|0)==1231976020){break ci}if((e|0)!=1281453156){break Zh}if((b|0)!=1433302086){break Dh}if((nc(a)|0)!=591490663){break Ch}k=Jd(a);if(!(D(k)<2147483648)){break ki}v[d+36>>2]=~~k;break eh}if((e|0)<=1399223405){if((e|0)==1299212115){break ei}if((e|0)==1349808750){break $h}if((e|0)!=1399024672){break Zh}if((b|0)!=1433302086){break lh}if((nc(a)|0)!=592474723){break kh}k=Jd(a);if(!(D(k)<2147483648)){break ai}v[d+860>>2]=~~k;break eh}if((e|0)==1399223406){break fi}if((e|0)==1416785491){break gi}if((e|0)!=1651275122){break Zh}if((b|0)!=1433302086){break zh}if((nc(a)|0)!=592476268){break yh}k=Jd(a);if(!(D(k)<2147483648)){break ii}v[d+20>>2]=~~k;break eh}li:{mi:{ni:{oi:{pi:{qi:{ri:{si:{ti:{if((e|0)<=1818322795){ui:{switch(e-1651928132|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:break Zh;case 0:break hi;case 15:break mi;case 16:break ni;default:break ui}}switch(e-1751608387|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 11:break Zh;case 12:break ri;case 0:break si;case 10:break ti;default:break _h}}if((e|0)<=1936877393){switch(e-1935963971|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 11:break Zh;case 12:break oi;case 0:break pi;case 10:break qi;default:break li}}if((e|0)==1936877394){break ji}if((e|0)!=1969712231){break Zh}if((b|0)!=1651470188){break Gh}ma=d,na=Td(a),t[ma+32|0]=na;break eh}if((b|0)!=1701737837){break Yh}if(nc(a)){break Xh}if((nc(a)|0)!=1114402381){break Wh}ma=d,na=tl(a),v[ma+300>>2]=na;break eh}if((b|0)!=1331849827){break Vh}b=ul(a);v[d+304>>2]=b;v[d+308>>2]=b;break eh}if((b|0)!=1433302086){break Uh}if((nc(a)|0)!=592474723){break Th}k=Jd(a)*2.55+.5;if(D(k)<2147483648){t[d+312|0]=~~k;break eh}t[d+312|0]=0;break eh}if((b|0)!=1701737837){break Sh}if(nc(a)){break Rh}if((nc(a)|0)!=1114402381){break Qh}ma=d,na=tl(a),v[ma+316>>2]=na;break eh}if((b|0)!=1331849827){break Ph}b=ul(a);v[d+320>>2]=b;v[d+324>>2]=b;break eh}if((b|0)!=1433302086){break Oh}if((nc(a)|0)!=592474723){break Nh}k=Jd(a)*2.55+.5;if(D(k)<2147483648){t[d+328|0]=~~k;break eh}t[d+328|0]=0;break eh}if((b|0)!=1701737837){break Mh}if(nc(a)){break Lh}if((nc(a)|0)!=1651928148){break Kh}ma=d,na=$I(a),v[ma+8>>2]=na;break eh}if((b|0)!=1701737837){break Jh}if(nc(a)){break Ih}if((nc(a)|0)!=1111839596){break Hh}b=nc(a);if(b){ye(a,f,b);t[b+f|0]=0;break hh}vi:{b=nc(a);if((b|0)<=1231974977){if(!b){break hh}if((b|0)!=1164796531){break vi}v[d+4>>2]=2;break eh}wi:{if((b|0)!=1231974978){if((b|0)==1349272930){break wi}if((b|0)!=1333031490){break vi}v[d+4>>2]=0;break eh}v[d+4>>2]=1;break eh}v[d+4>>2]=3;break eh}X(29184,10746,359,194576);L()}if((e|0)!=1818322796){break Zh}if((b|0)!=1433302086){break Fh}if((nc(a)|0)!=591490663){break Eh}k=Jd(a);if(D(k)<2147483648){v[d+28>>2]=~~k;break eh}v[d+28>>2]=-2147483648;break eh}v[d+36>>2]=-2147483648;break eh}if((b|0)!=1433302086){break Bh}if((nc(a)|0)!=592474723){break Ah}k=Jd(a);if(D(k)<2147483648){v[d+12>>2]=~~k;break eh}v[d+12>>2]=-2147483648;break eh}v[d+20>>2]=-2147483648;break eh}if((b|0)!=1701737837){break xh}if(nc(a)){break wh}if((nc(a)|0)!=1111839603){break vh}b=nc(a);if(b){ye(a,f,b);t[b+f|0]=0;break ih}b=nc(a);if((b|0)!=1333097504){if((b|0)!=1231953952){break ih}v[d+16>>2]=0;break eh}v[d+16>>2]=1;break eh}if((b|0)!=1331849827){break uh}yq(I,a);break eh}if((b|0)!=1433302086){break th}if((nc(a)|0)!=592476268){break sh}k=Jd(a);if(D(k)<2147483648){v[d+24>>2]=~~k;break eh}v[d+24>>2]=-2147483648;break eh}if((b|0)!=1331849827){break rh}yq(M,a);break eh}if((b|0)!=1433302086){break ph}if((nc(a)|0)!=592474723){break oh}k=Jd(a);if(D(k)<2147483648){v[d+588>>2]=~~k;break eh}v[d+588>>2]=-2147483648;break eh}if((b|0)!=1651470188){break nh}ma=d,na=Td(a),t[ma+868|0]=na;break eh}if((b|0)!=1651470188){break mh}ma=d,na=Td(a),t[ma+869|0]=na;break eh}v[d+860>>2]=-2147483648;break eh}if((b|0)!=1331849827){break jh}EA(N,a);break eh}if((e|0)==1701732706){break gh}}X(29184,10746,505,194576);L()}X(30787,10746,245,194576);L()}X(32252,10746,249,194576);L()}X(33998,10746,252,194576);L()}X(27642,10746,259,194576);L()}X(21900,10746,266,194576);L()}X(23932,10746,269,194576);L()}X(30787,10746,276,194576);L()}X(32252,10746,280,194576);L()}X(33998,10746,283,194576);L()}X(27642,10746,290,194576);L()}X(21900,10746,297,194576);L()}X(23932,10746,300,194576);L()}X(30787,10746,307,194576);L()}X(32252,10746,311,194576);L()}X(35335,10746,314,194576);L()}X(30787,10746,320,194576);L()}X(32252,10746,324,194576);L()}X(36962,10746,327,194576);L()}X(8222,10746,366,194576);L()}X(21900,10746,372,194576);L()}X(39098,10746,375,194576);L()}X(21900,10746,381,194576);L()}X(39098,10746,384,194576);L()}X(21900,10746,390,194576);L()}X(23932,10746,392,194576);L()}X(21900,10746,398,194576);L()}X(40748,10746,401,194576);L()}X(30787,10746,407,194576);L()}X(32252,10746,411,194576);L()}X(41584,10746,414,194576);L()}X(27642,10746,441,194576);L()}X(21900,10746,447,194576);L()}X(40748,10746,450,194576);L()}X(27642,10746,456,194576);L()}X(8222,10746,462,194576);L()}X(21900,10746,468,194576);L()}X(23932,10746,471,194576);L()}X(8222,10746,478,194576);L()}X(8222,10746,484,194576);L()}X(21900,10746,490,194576);L()}X(23932,10746,493,194576);L()}X(27642,10746,500,194576);L()}X(29184,10746,434,194576);L()}if(!Pc(f,37237,13)){v[d+4>>2]=4;break eh}X(29184,10746,356,194576);L()}if((b|0)==1651470188){ma=d,na=Td(a),t[ma|0]=na;break eh}X(8222,10746,239,194576);L()}if(!Pc(f,1259,15)){if((b|0)!=1651470188){break dh}ma=d,na=Td(a),t[ma+296|0]=na;break eh}if(!Pc(f,13352,9)){if((b|0)!=1651470188){break ch}ma=d,na=Td(a),t[ma+329|0]=na;break eh}if(!Pc(f,15861,11)){if((b|0)!=1651470188){break bh}ma=d,na=Td(a),t[ma+592|0]=na;break eh}xi:{if(!Pc(f,18213,13)){if((b|0)!=1433302086){break ah}if((nc(a)|0)!=592474723){break $g}k=Jd(a);if(!(D(k)<2147483648)){break xi}v[d+864>>2]=~~k;break eh}if(!Pc(f,25080,6)){if((b|0)!=1331849827){break _g}Nv(E,m,a);break eh}X(29184,10746,232,194576);L()}v[d+864>>2]=-2147483648}q=q-1|0;if(q){continue}break}}Qb=f+256|0;break Zg}X(8222,10746,199,194576);L()}X(8222,10746,205,194576);L()}X(8222,10746,211,194576);L()}X(21900,10746,217,194576);L()}X(23932,10746,220,194576);L()}X(27642,10746,226,194576);L()}t[i+3227|0]=1;t[i+3217|0]=1;break Dc}if((f|0)!=1331849827){break Hc}t[F+12|0]=255;v[F+4>>2]=0;v[F+8>>2]=-65536;Yd(a,nc(a)<<1);b=nc(a);yi:{if(!b){nc(a);break yi}Yd(a,b)}zi:{Ai:{Bi:{Ci:{Di:{Ei:{Fi:{Gi:{Hi:{Ii:{b=nc(a);if(b){while(1){if(nc(a)){break Ii}e=nc(a);f=nc(a);Ji:{Ki:{Li:{Mi:{Ni:{if((e|0)<=1332765555){if((e|0)==1131180576){break Li}if((e|0)==1298407456){break Ni}break Ai}if((e|0)==1332765556){break Mi}if((e|0)!=1701732706){break Ai}if((f|0)!=1651470188){break Hi}ma=F,na=Td(a),t[ma|0]=na;break Ji}if((f|0)!=1701737837){break Gi}if(nc(a)){break Fi}if((nc(a)|0)!=1114402381){break Ei}ma=F,na=tl(a),v[ma+4>>2]=na;break Ji}if((f|0)!=1433302086){break Di}if((nc(a)|0)!=592474723){break Ci}k=Jd(a)*2.55+.5;if(!(D(k)<2147483648)){break Ki}t[F+12|0]=~~k;break Ji}if((f|0)!=1331849827){break Bi}e=ul(a);v[F+8>>2]=e;v[F+16>>2]=e;break Ji}t[F+12|0]=0}b=b-1|0;if(b){continue}break}}break zi}X(3776,6099,106,194495);L()}X(11956,6099,122,194495);L()}X(14507,6099,128,194495);L()}X(3776,6099,133,194495);L()}X(17055,6099,136,194495);L()}X(19503,6099,142,194495);L()}X(21858,6099,145,194495);L()}X(23946,6099,153,194495);L()}X(25848,6099,158,194495);L()}t[i+3223|0]=1;t[i+3213|0]=1;break Dc}if((f|0)!=1331849827){break Fc}f=Qb-256|0;Qb=f;t[h+352|0]=1;v[h+348>>2]=100;v[h+68>>2]=90;v[h+72>>2]=100;t[h+64|0]=1;v[h+60>>2]=0;t[h+56|0]=0;v[h+20>>2]=0;v[h+24>>2]=-65536;t[h+16|0]=255;v[h+12>>2]=0;v[h+4>>2]=3;v[h+8>>2]=0;Yd(a,nc(a)<<1);b=nc(a);Oi:{if(!b){nc(a);break Oi}Yd(a,b)}Pi:{Qi:{m=nc(a);if(m){q=h+360|0;E=h+356|0;I=h+28|0;M=h+80|0;N=h+76|0;R=h+84|0;while(1){Ri:{Si:{b=nc(a);if(b){ye(a,f,b);t[b+f|0]=0;e=nc(a);break Si}b=nc(a);e=nc(a);Ti:{Ui:{Vi:{Wi:{Xi:{Yi:{Zi:{_i:{$i:{aj:{bj:{cj:{dj:{ej:{fj:{gj:{hj:{ij:{jj:{kj:{lj:{mj:{nj:{oj:{pj:{qj:{rj:{sj:{tj:{uj:{vj:{wj:{xj:{yj:{zj:{Aj:{Bj:{Cj:{Dj:{Ej:{Fj:{Gj:{Hj:{if((b|0)<=1332765555){if((b|0)<=1198678371){if((b|0)<=1097754475){if(!b){break Si}if((b|0)!=1097623406){break Hj}if((e|0)!=1651470188){break Yi}ma=h,na=Td(a),t[ma+64|0]=na;break Ri}if((b|0)==1097754476){break zj}if((b|0)!=1131180576){break Hj}if((e|0)!=1331849827){break gj}ma=h,na=ul(a),v[ma+24>>2]=na;break Ri}if((b|0)<=1298407455){if((b|0)==1198678372){break Aj}if((b|0)!=1282304868){break Hj}if((e|0)!=1651470188){break Vi}ma=h,na=Td(a),t[ma+352|0]=na;break Ri}if((b|0)==1298407456){break Dj}if((b|0)!=1332114292){break Hj}if((e|0)!=1331849827){break Xi}Nv(N,M,a);break Ri}if((b|0)<=1399024671){if((b|0)<=1349808749){if((b|0)==1332765556){break Cj}if((b|0)!=1349416020){break Hj}if((e|0)!=1701737837){break qj}if(nc(a)){break pj}if((nc(a)|0)!=1181894252){break oj}b=nc(a);if(!b){break Ej}ye(a,f,b);t[b+f|0]=0;break Ti}if((b|0)==1349808750){break wj}if((b|0)!=1383494259){break Hj}if((e|0)!=1651470188){break $i}ma=h,na=Td(a),t[ma+56|0]=na;break Ri}if((b|0)<=1400512543){if((b|0)==1399024672){break xj}if((b|0)!=1400142188){break Hj}if((e|0)!=1701737837){break tj}if(nc(a)){break sj}if((nc(a)|0)!=1179874412){break rj}b=nc(a);if(!b){break Fj}ye(a,f,b);t[b+f|0]=0;break Ui}if((b|0)==1400512544){break Bj}if((b|0)==1417244773){break yj}if((b|0)==1701732706){break Gj}}X(14441,10823,321,194657);L()}if((e|0)!=1651470188){break uj}ma=h,na=Td(a),t[ma|0]=na;break Ri}b=nc(a);if((b|0)!=1131704902){if((b|0)==1231975238){break vj}if((b|0)!=1333097542){break Ui}v[h+8>>2]=0;break Ri}v[h+8>>2]=2;break Ri}Ij:{b=nc(a);if((b|0)!=1198671468){if((b|0)==1349808750){break Ij}if((b|0)!=1396927602){break Ti}v[h+20>>2]=0;break Ri}v[h+20>>2]=1;break Ri}v[h+20>>2]=2;break Ri}if((e|0)!=1701737837){break nj}if(nc(a)){break mj}if((nc(a)|0)!=1114402381){break lj}ma=h,na=tl(a),v[ma+12>>2]=na;break Ri}if((e|0)!=1433302086){break kj}if((nc(a)|0)!=592474723){break jj}k=Jd(a)*2.55+.5;if(D(k)<2147483648){t[h+16|0]=~~k;break Ri}t[h+16|0]=0;break Ri}if((e|0)!=1433302086){break ij}if((nc(a)|0)!=592476268){break hj}k=Jd(a);if(D(k)<2147483648){v[h+4>>2]=~~k;break Ri}v[h+4>>2]=-2147483648;break Ri}if((e|0)!=1331849827){break fj}Ov(I,a);break Ri}if((e|0)!=1433302086){break ej}if((nc(a)|0)!=591490663){break dj}k=Jd(a);if(D(k)<2147483648){v[h+68>>2]=~~k;break Ri}v[h+68>>2]=-2147483648;break Ri}if((e|0)!=1701737837){break cj}if(nc(a)){break bj}if((nc(a)|0)!=1198679124){break aj}ma=h,na=_I(a),v[ma+60>>2]=na;break Ri}if((e|0)!=1433302086){break _i}if((nc(a)|0)!=592474723){break Zi}Jj:{switch(v[h+20>>2]-1|0){case 0:k=Jd(a);if(D(k)<2147483648){v[h+72>>2]=~~k;break Ri}v[h+72>>2]=-2147483648;break Ri;case 1:break Jj;default:break Ri}}k=Jd(a);if(D(k)<2147483648){v[h+348>>2]=~~k;break Ri}v[h+348>>2]=-2147483648;break Ri}if((e|0)!=1331849827){break Wi}EA(R,a);break Ri}v[h+8>>2]=1;break Ri}X(16997,10823,121,194657);L()}X(19459,10823,127,194657);L()}X(21693,10823,132,194657);L()}X(23903,10823,135,194657);L()}X(19459,10823,165,194657);L()}X(21693,10823,170,194657);L()}X(25872,10823,173,194657);L()}X(19459,10823,203,194657);L()}X(21693,10823,208,194657);L()}X(27671,10823,211,194657);L()}X(29353,10823,217,194657);L()}X(30816,10823,220,194657);L()}X(29353,10823,227,194657);L()}X(32332,10823,230,194657);L()}X(8237,10823,237,194657);L()}X(8237,10823,244,194657);L()}X(29353,10823,250,194657);L()}X(33984,10823,254,194657);L()}X(19459,10823,262,194657);L()}X(21693,10823,267,194657);L()}X(35349,10823,270,194657);L()}X(16997,10823,276,194657);L()}X(29353,10823,282,194657);L()}X(30816,10823,286,194657);L()}X(16997,10823,297,194657);L()}X(8237,10823,303,194657);L()}X(8237,10823,310,194657);L()}X(16997,10823,316,194657);L()}X(14441,10823,158,194657);L()}X(14441,10823,196,194657);L()}if(!Pc(f,2133,6)){if((e|0)!=1331849827){break Qi}Nv(E,q,a);v[E>>2]=0;v[q>>2]=0;break Ri}X(14441,10823,114,194657);L()}m=m-1|0;if(m){continue}break}}Qb=f+256|0;break Pi}X(8237,10823,106,194657);L()}t[i+3226|0]=1;t[i+3216|0]=1;break Dc}X(19503,6390,236,194045);L()}X(21858,6390,240,194045);L()}X(23917,6390,252,194045);L()}X(17040,6390,260,194045);L()}X(17040,6390,270,194045);L()}X(17040,6390,280,194045);L()}X(17040,6390,290,194045);L()}X(17040,6390,300,194045);L()}X(17040,6390,310,194045);L()}X(17040,6390,320,194045);L()}X(17040,6390,330,194045);L()}X(17040,6390,340,194045);L()}if(!Pc(H,13118,12)){if((f|0)!=1331849827){break zc}m=Qb-256|0;Qb=m;t[y+20|0]=1;v[y+16>>2]=100;t[y+12|0]=255;v[y+4>>2]=0;Yd(a,nc(a)<<1);b=nc(a);Kj:{if(!b){nc(a);break Kj}Yd(a,b)}Lj:{Mj:{e=nc(a);if(e){q=y+292|0;E=y+288|0;I=y+24|0;while(1){Nj:{Oj:{b=nc(a);if(b){ye(a,m,b);t[b+m|0]=0;b=nc(a);break Oj}f=nc(a);b=nc(a);Pj:{Qj:{Rj:{Sj:{Tj:{Uj:{Vj:{Wj:{Xj:{Yj:{Zj:{_j:{$j:{ak:{bk:{ck:{if((f|0)<=1332765555){if(!f){break Oj}if((f|0)==1097623406){break _j}if((f|0)!=1298407456){break ck}if((b|0)!=1701737837){break Xj}if(nc(a)){break Wj}if((nc(a)|0)!=1114402381){break Vj}ma=y,na=tl(a),v[ma+4>>2]=na;break Nj}if((f|0)<=1399024671){if((f|0)==1332765556){break ak}if((f|0)!=1349808750){break ck}if((b|0)!=1331849827){break Sj}EA(I,a);break Nj}if((f|0)==1399024672){break $j}if((f|0)==1701732706){break bk}}X(14441,10666,157,194679);L()}if((b|0)!=1651470188){break Yj}ma=y,na=Td(a),t[ma|0]=na;break Nj}if((b|0)!=1433302086){break Uj}if((nc(a)|0)!=592474723){break Tj}k=Jd(a)*2.55+.5;if(!(D(k)<2147483648)){break Zj}t[y+12|0]=~~k;break Nj}if((b|0)!=1433302086){break Rj}if((nc(a)|0)!=592474723){break Qj}k=Jd(a);if(D(k)<2147483648){v[y+16>>2]=~~k;break Nj}v[y+16>>2]=-2147483648;break Nj}if((b|0)!=1651470188){break Pj}ma=y,na=Td(a),t[ma+20|0]=na;break Nj}t[y+12|0]=0;break Nj}X(16997,10666,106,194679);L()}X(19459,10666,112,194679);L()}X(21693,10666,117,194679);L()}X(23975,10666,120,194679);L()}X(25915,10666,126,194679);L()}X(27628,10666,129,194679);L()}X(8237,10666,136,194679);L()}X(25915,10666,142,194679);L()}X(27628,10666,145,194679);L()}X(16997,10666,152,194679);L()}if(!Pc(m,2133,6)){if((b|0)!=1331849827){break Mj}Nv(E,q,a);v[E>>2]=0;v[q>>2]=0;break Nj}X(14441,10666,99,194679);L()}e=e-1|0;if(e){continue}break}}Qb=m+256|0;break Lj}X(8237,10666,90,194679);L()}t[i+3225|0]=1;t[i+3215|0]=1;break Dc}X(11815,6390,228,194045);L()}u[i>>1]=x[i>>1]+1}b=c;if(b){continue}break}}b=0}Qb=H+256|0;c=b;break yc}X(17040,6390,220,194045);L()}break p}v[((v[g+376>>2]<<2)+g|0)+380>>2]=5;v[g>>2]=10;d=jc(2258);c=-4;dk:{if(!d){break dk}c=ic(d,0,2258);v[((v[g+376>>2]<<2)+g|0)+460>>2]=c;v[g+376>>2]=v[g+376>>2]+1;if((Ec(a)|0)==2){ma=c,na=Pe(a),t[ma|0]=na;Pe(a);ma=c,na=Ec(a),u[ma+2>>1]=na;ma=c,na=Ec(a),u[ma+4>>1]=na;ma=c,na=Ec(a),u[ma+6>>1]=na;ma=c,na=Ec(a),u[ma+8>>1]=na;ma=c,na=Ec(a),u[ma+10>>1]=na;ma=c,na=Ec(a),u[ma+12>>1]=na;ma=c,na=Ec(a),u[ma+14>>1]=na;ma=c,na=Ec(a),u[ma+16>>1]=na;ma=c,na=Ec(a),u[ma+18>>1]=na;ma=c,na=Ec(a),u[ma+20>>1]=na;ma=c,na=Ec(a),u[ma+62>>1]=na;ma=c,na=Ec(a),u[ma+64>>1]=na;ma=c,na=Ec(a),u[ma+66>>1]=na;ma=c,na=Ec(a),u[ma+22>>1]=na;ma=c,na=Ec(a),u[ma+24>>1]=na;ma=c,na=Ec(a),u[ma+26>>1]=na;ma=c,na=Ec(a),u[ma+28>>1]=na;ma=c,na=Ec(a),u[ma+68>>1]=na;ma=c,na=Ec(a),u[ma+70>>1]=na;ma=c,na=Ec(a),u[ma+72>>1]=na;ma=c,na=Ec(a),u[ma+30>>1]=na;ma=c,na=Ec(a),u[ma+32>>1]=na;ma=c,na=Ec(a),u[ma+34>>1]=na;ma=c,na=Ec(a),u[ma+36>>1]=na;ma=c,na=Ec(a),u[ma+74>>1]=na;ma=c,na=Ec(a),u[ma+76>>1]=na;ma=c,na=Ec(a),u[ma+78>>1]=na;ma=c,na=Ec(a),u[ma+38>>1]=na;ma=c,na=Ec(a),u[ma+40>>1]=na;ma=c,na=Ec(a),u[ma+42>>1]=na;ma=c,na=Ec(a),u[ma+44>>1]=na;ma=c,na=Ec(a),u[ma+80>>1]=na;ma=c,na=Ec(a),u[ma+82>>1]=na;ma=c,na=Ec(a),u[ma+84>>1]=na;ma=c,na=Ec(a),u[ma+46>>1]=na;ma=c,na=Ec(a),u[ma+48>>1]=na;ma=c,na=Ec(a),u[ma+50>>1]=na;ma=c,na=Ec(a),u[ma+52>>1]=na;ma=c,na=Ec(a),u[ma+86>>1]=na;ma=c,na=Ec(a),u[ma+88>>1]=na;ma=c,na=Ec(a),u[ma+90>>1]=na;ma=c,na=Ec(a),u[ma+54>>1]=na;ma=c,na=Ec(a),u[ma+56>>1]=na;ma=c,na=Ec(a),u[ma+58>>1]=na;ma=c,na=Ec(a),u[ma+60>>1]=na;ma=c,na=Ec(a),u[ma+92>>1]=na;ma=c,na=Ec(a),u[ma+94>>1]=na;ma=c,na=Ec(a),u[ma+96>>1]=na;t[g+540|0]=1;c=0}else{c=-511}}break p}ma=g,na=Td(a),t[ma+565|0]=na;Yd(a,3);break n}ma=J,na=Pe(a),u[ma+8>>1]=na;ma=J,na=Pe(a),u[ma+10>>1]=na;ma=J,na=Pe(a),u[ma+12>>1]=na;ma=J,na=Pe(a),u[ma+14>>1]=na;FA(Q,0,J+8|0);Yd(a,4);break n}c=g;k=Jd(a);ek:{if(D(k)<2147483648){d=~~k;break ek}d=-2147483648}v[c+576>>2]=d;k=Jd(a);if(D(k)<2147483648){v[g+580>>2]=~~k;break n}v[g+580>>2]=-2147483648;break n}d=0;e=v[a+28>>2];v[((v[g+376>>2]<<2)+g|0)+380>>2]=1;v[g>>2]=6;c=-4;fk:{b=jc(1124);if(!b){break fk}b=ic(b,0,1124);v[((v[g+376>>2]<<2)+g|0)+460>>2]=b;v[g+376>>2]=v[g+376>>2]+1;gk:{hk:{ik:{jk:{kk:{c=-503;lk:{if((Ec(a)|0)!=2){break lk}while(1){c=b+B(d,12)|0;ma=c,na=Ec(a),u[ma>>1]=na;ma=c,na=Ec(a),u[ma+2>>1]=na;ma=c,na=Ec(a),u[ma+4>>1]=na;ma=c,na=Ec(a),u[ma+6>>1]=na;V=C(C(Ec(a)|0)/C(100));z[c+8>>2]=V;if(d>>>0<=26){if(x[c>>1]>=256){break kk}if((x[c+2>>1]-2&65535)>>>0>=254){break jk}if(x[c+4>>1]>=256){break ik}if(x[c+6>>1]>=256){break hk}k=+V;if(!(k>=.1)|!(k<=9.99)){break gk}}d=d+1|0;if((d|0)!=29){continue}break}mk:{if((G-4|0)<=(v[a+28>>2]-e|0)){break mk}c=-505;if((nc(a)|0)!=1282829427){break lk}c=-507;if((Ec(a)|0)!=3){break lk}c=Ec(a)-29|0;u[b+348>>1]=c;f=jc(B(c&65535,12));v[b+352>>2]=f;c=-4;if(!f){break fk}d=0;ic(f,0,B(x[b+348>>1],12));if(!x[b+348>>1]){break mk}while(1){f=Ec(a);c=B(d,12);u[c+v[b+352>>2]>>1]=f;f=Ec(a);u[(c+v[b+352>>2]|0)+2>>1]=f;f=Ec(a);u[(c+v[b+352>>2]|0)+4>>1]=f;f=Ec(a);u[(c+v[b+352>>2]|0)+6>>1]=f;f=Ec(a);z[(c+v[b+352>>2]|0)+8>>2]=C(f|0)/C(100);d=d+1|0;if(d>>>0>1]){continue}break}}c=-506;if((v[a+28>>2]-e|0)!=(G|0)){break lk}t[g+540|0]=1;c=0}break fk}X(3306,6424,79,194122);L()}X(11304,6424,80,194122);L()}X(13976,6424,81,194122);L()}X(16437,6424,82,194122);L()}X(19031,6424,83,194122);L()}break p}if((c|0)!=1668047468){if((c|0)!=1668641398){break q}f=0;m=v[a+28>>2];v[((v[g+376>>2]<<2)+g|0)+380>>2]=2;v[g>>2]=7;d=-4;nk:{ok:{pk:{c=jc(776);qk:{if(!c){break qk}b=ic(c,0,776);v[((v[g+376>>2]<<2)+g|0)+460>>2]=b;v[g+376>>2]=v[g+376>>2]+1;Pe(a);d=-508;rk:{switch((Ec(a)&65535)-1|0){case 0:case 3:break rk;default:break qk}}c=nc(a);e=c&1;n=c&2;o=c&4;i=c&8;j=c&16;p=c&32;r=c&64;s=c&128;y=c&256;F=c&512;q=c&1024;H=c&2048;E=c&4096;I=c&8192;M=c&16384;N=c&32768;R=c&65536;W=c&131072;Y=c&262144;Z=c&524288;_=c&1048576;$=c&2097152;aa=c&4194304;ba=c&8388608;ca=c&16777216;da=c&33554432;ea=c&67108864;fa=c&134217728;ga=c&268435456;ha=c&536870912;ia=c&1073741824;d=(n?e?2:1:e)+(o>>>2|0)+(i>>>3)+(j>>>4)+(p>>>5)+(r>>>6)+(s>>>7)+(y>>>8)+(F>>>9)+(q>>>10)+(H>>>11)+(E>>>12)+(I>>>13)+(M>>>14)+(N>>>15)+(R>>>16)+(W>>>17)+(Y>>>18)+(Z>>>19)+(_>>>20)+($>>>21)+(aa>>>22)+(ba>>>23)+(ca>>>24)+(da>>>25)+(ea>>>26)+(fa>>>27)+(ga>>>28)+(ha>>>29)+(ia>>>30)+(c>>>31)|0;u[b>>1]=d;h=jc(B(d&65535,80));v[b+4>>2]=h;d=-4;if(!h){break qk}ic(h,0,B(x[b>>1],80));if(x[b>>1]){la=c>>>31|0;while(1){c=0;sk:{tk:{uk:{if(!e){break uk}c=1;if(f){break uk}d=0;break tk}if(n){d=1;if((c|0)==(f|0)){break tk}c=c+1|0}if(o){d=2;if((c|0)==(f|0)){break tk}c=c+1|0}if(i){d=3;if((c|0)==(f|0)){break tk}c=c+1|0}if(j){d=4;if((c|0)==(f|0)){break tk}c=c+1|0}if(p){d=5;if((c|0)==(f|0)){break tk}c=c+1|0}if(r){d=6;if((c|0)==(f|0)){break tk}c=c+1|0}if(s){d=7;if((c|0)==(f|0)){break tk}c=c+1|0}if(y){d=8;if((c|0)==(f|0)){break tk}c=c+1|0}if(F){d=9;if((c|0)==(f|0)){break tk}c=c+1|0}if(q){d=10;if((c|0)==(f|0)){break tk}c=c+1|0}if(H){d=11;if((c|0)==(f|0)){break tk}c=c+1|0}if(E){d=12;if((c|0)==(f|0)){break tk}c=c+1|0}if(I){d=13;if((c|0)==(f|0)){break tk}c=c+1|0}if(M){d=14;if((c|0)==(f|0)){break tk}c=c+1|0}if(N){d=15;if((c|0)==(f|0)){break tk}c=c+1|0}if(R){d=16;if((c|0)==(f|0)){break tk}c=c+1|0}if(W){d=17;if((c|0)==(f|0)){break tk}c=c+1|0}if(Y){d=18;if((c|0)==(f|0)){break tk}c=c+1|0}if(Z){d=19;if((c|0)==(f|0)){break tk}c=c+1|0}if(_){d=20;if((c|0)==(f|0)){break tk}c=c+1|0}if($){d=21;if((c|0)==(f|0)){break tk}c=c+1|0}if(aa){d=22;if((c|0)==(f|0)){break tk}c=c+1|0}if(ba){d=23;if((c|0)==(f|0)){break tk}c=c+1|0}if(ca){d=24;if((c|0)==(f|0)){break tk}c=c+1|0}if(da){d=25;if((c|0)==(f|0)){break tk}c=c+1|0}if(ea){d=26;if((c|0)==(f|0)){break tk}c=c+1|0}if(fa){d=27;if((c|0)==(f|0)){break tk}c=c+1|0}if(ga){d=28;if((c|0)==(f|0)){break tk}c=c+1|0}if(ha){d=29;if((c|0)==(f|0)){break tk}c=c+1|0}if(ia){d=30;if((c|0)==(f|0)){break tk}c=c+1|0}d=31;if(!(la&(c|0)==(f|0))){break sk}}u[v[b+4>>2]+B(f,80)>>1]=d}d=Ec(a);h=B(f,80);u[(h+v[b+4>>2]|0)+2>>1]=d;c=0;if((d-2&65535)>>>0>=18){X(3170,6457,113,194143);L()}vk:{while(1){d=Ec(a);O=c<<1;u[(O+(v[b+4>>2]+h|0)|0)+4>>1]=d;d=Ec(a);S=O;O=v[b+4>>2]+h|0;S=S+O|0;u[S+42>>1]=d;if(x[S+4>>1]>=256){break ok}if((d&65535)>>>0<256){c=c+1|0;if(c>>>0>=x[O+2>>1]){break vk}continue}break}X(14049,6457,123,194143);L()}f=f+1|0;if(f>>>0>1]){continue}break}}wk:{if((G-4|0)<=(v[a+28>>2]-m|0)){break wk}d=-509;if((nc(a)|0)!=1131574816){break qk}d=-510;if((Ec(a)|0)!=4){break qk}d=nc(a);c=x[b>>1];if((d|0)!=(c|0)){break pk}if(!c){break wk}d=0;while(1){c=Ec(a);f=B(d,80);u[f+v[b+4>>2]>>1]=c;e=Ec(a);xk:{yk:{if((e|0)==x[(f+v[b+4>>2]|0)+2>>1]){c=0;if((e|0)>0){break yk}break xk}X(17793,6457,153,194143);L()}while(1){zk:{h=Ec(a);m=Ec(a);n=(f+v[b+4>>2]|0)+(c<<1)|0;if((h|0)!=x[n+4>>1]|(m|0)!=x[n+42>>1]){break zk}c=c+1|0;if((e|0)!=(c|0)){continue}break xk}break}X(21075,6457,165,194143);L()}d=d+1|0;if(d>>>0>1]){continue}break}}t[g+540|0]=1;d=0}c=d;break nk}X(15394,6457,142,194143);L()}X(11379,6457,122,194143);L()}break p}ma=g,na=Td(a),t[ma+564|0]=na;Yd(a,3);break n}Yd(a,G);break n}if(!c){break n}}Ns(g);l=c;break a}Yd(a,(G+ka|0)-v[a+28>>2]|0);if(v[g+376>>2]<20){continue}break}break}X(23819,7011,692,193413);L()}X(21444,7011,484,193413);L()}X(21444,7011,454,193413);L()}X(19257,7011,440,193413);L()}X(16693,7011,435,193413);L()}X(14420,7011,430,193413);L()}X(11756,7011,374,193413);L()}X(3707,7011,335,193413);L()}Ns(g);break a}Yd(a,(T+ja|0)-v[a+28>>2]|0);l=0;g=x[a+632>>1];d=g<<16>>16;if((d|0)<1){break a}b=v[a+636>>2];Ak:{if(!(g&1)){a=0;break Ak}a=0;Bk:{Ck:{g=g-1|0;e=B(g,600);c=e+b|0;switch(v[c>>2]){case 0:break Bk;case 2:break Ck;default:break Ak}}a=c;break Ak}v[(b+e|0)+596>>2]=0}if((d|0)==1){break a}while(1){Dk:{Ek:{Fk:{Gk:{d=B(g-1|0,600);c=d+b|0;switch(v[c>>2]){case 1:break Ek;case 2:break Fk;case 0:break Gk;default:break Dk}}v[(b+d|0)+596>>2]=a;break Dk}a=c;break Dk}a=0}Hk:{Ik:{Jk:{Kk:{c=g-2|0;e=B(c,600);d=e+b|0;switch(v[d>>2]){case 0:break Ik;case 2:break Jk;case 1:break Kk;default:break Hk}}a=0;break Hk}a=d;break Hk}v[(b+e|0)+596>>2]=a}d=(g|0)>2;g=c;if(d){continue}break}}Qb=J+16|0;return l}function XY(a,b,c){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,p=0,q=0,r=0,s=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,P=0,T=C(0),W=0,X=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0;a:{b:{c:{d:{e:{switch(c-1|0){case 0:c=fc(976);E=gf(c,1);v[c>>2]=39340;Fi(E,a);d=Qb+-64|0;Qb=d;i=xk(c,b);f:{if(i){break f}e=(v[c+32>>2]+v[c+12>>2]|0)+(v[c+44>>2]<<2)|0;u[d+54>>1]=0;u[d+56>>1]=0;f=v[c+12>>2];h=v[c+44>>2]<<2;u[d+48>>1]=w[c+494|0]?19778:5063245;e=ej(c,e+14|0);u[d+50>>1]=e;u[d+52>>1]=e>>>16;e=ej(c,(f+h|0)+14|0);u[d+58>>1]=e;u[d+60>>1]=e>>>16;if(!(v[c+44>>2]|!v[c+964>>2])){e=v[c+32>>2];v[d+24>>2]=v[c+28>>2];v[d+28>>2]=e;e=v[c+24>>2];f=v[c+20>>2];v[d+16>>2]=f;v[d+20>>2]=e;e=v[c+48>>2];v[d+40>>2]=v[c+44>>2];v[d+44>>2]=e;e=v[c+40>>2];v[d+32>>2]=v[c+36>>2];v[d+36>>2]=e;h=v[c+16>>2];e=v[c+12>>2];v[d+24>>2]=0;v[d+8>>2]=e;v[d+12>>2]=h;u[d+22>>1]=32;f=B((v[d+12>>2]<<5|31)/32|0,f)<<2;v[d+28>>2]=f;e=ej(c,(e+f|0)+14|0);u[d+50>>1]=e;u[d+52>>1]=e>>>16;e=d+8|0;fp(c,e);Ub[v[v[b>>2]+16>>2]](b,d+48|0,14,1)|0;Ub[v[v[b>>2]+16>>2]](b,e,40,1)|0;j=oB(c);if(v[d+16>>2]<=0){break f}while(1){f=0;e=xe(c,m);if(v[d+12>>2]>0){while(1){Ub[v[v[b>>2]+16>>2]](b,e,3,1)|0;Ub[v[v[b>>2]+16>>2]](b,j,1,1)|0;j=j+1|0;e=e+3|0;f=f+1|0;if((f|0)>2]){continue}break}}m=m+1|0;if((m|0)>2]){continue}break}break f}Ub[v[v[b>>2]+16>>2]](b,d+48|0,14,1)|0;f=w[c+16|0]|w[c+17|0]<<8|(w[c+18|0]<<16|w[c+19|0]<<24);e=v[c+4>>2];h=w[c+12|0]|w[c+13|0]<<8|(w[c+14|0]<<16|w[c+15|0]<<24);t[e|0]=h;t[e+1|0]=h>>>8;t[e+2|0]=h>>>16;t[e+3|0]=h>>>24;t[e+4|0]=f;t[e+5|0]=f>>>8;t[e+6|0]=f>>>16;t[e+7|0]=f>>>24;f=w[c+48|0]|w[c+49|0]<<8|(w[c+50|0]<<16|w[c+51|0]<<24);h=w[c+44|0]|w[c+45|0]<<8|(w[c+46|0]<<16|w[c+47|0]<<24);t[e+32|0]=h;t[e+33|0]=h>>>8;t[e+34|0]=h>>>16;t[e+35|0]=h>>>24;t[e+36|0]=f;t[e+37|0]=f>>>8;t[e+38|0]=f>>>16;t[e+39|0]=f>>>24;f=w[c+40|0]|w[c+41|0]<<8|(w[c+42|0]<<16|w[c+43|0]<<24);h=w[c+36|0]|w[c+37|0]<<8|(w[c+38|0]<<16|w[c+39|0]<<24);t[e+24|0]=h;t[e+25|0]=h>>>8;t[e+26|0]=h>>>16;t[e+27|0]=h>>>24;t[e+28|0]=f;t[e+29|0]=f>>>8;t[e+30|0]=f>>>16;t[e+31|0]=f>>>24;f=w[c+32|0]|w[c+33|0]<<8|(w[c+34|0]<<16|w[c+35|0]<<24);h=w[c+28|0]|w[c+29|0]<<8|(w[c+30|0]<<16|w[c+31|0]<<24);t[e+16|0]=h;t[e+17|0]=h>>>8;t[e+18|0]=h>>>16;t[e+19|0]=h>>>24;t[e+20|0]=f;t[e+21|0]=f>>>8;t[e+22|0]=f>>>16;t[e+23|0]=f>>>24;f=w[c+24|0]|w[c+25|0]<<8|(w[c+26|0]<<16|w[c+27|0]<<24);h=w[c+20|0]|w[c+21|0]<<8|(w[c+22|0]<<16|w[c+23|0]<<24);t[e+8|0]=h;t[e+9|0]=h>>>8;t[e+10|0]=h>>>16;t[e+11|0]=h>>>24;t[e+12|0]=f;t[e+13|0]=f>>>8;t[e+14|0]=f>>>16;t[e+15|0]=f>>>24;fp(c,v[c+4>>2]);Ub[v[v[b>>2]+16>>2]](b,v[c+4>>2],(v[c+32>>2]+v[c+12>>2]|0)+(v[c+44>>2]<<2)|0,1)|0;fp(c,v[c+4>>2])}Qb=d- -64|0;if(i^1){break d}break c;case 4:c=fc(980);E=gf(c,5);v[c+976>>2]=0;v[c>>2]=39384;Fi(E,a);h=Qb-1104|0;Qb=h;g:{if(xk(c,b)){break g}l=x[c+26>>1];f=v[c+4>>2];d=f?v[c+44>>2]?f+40|0:0:0;if(d?0:l>>>0<=8){break g}e=v[c+20>>2];f=v[c+16>>2];g=v[c+32>>2];n=v[c+964>>2]!=0;i=v[c+44>>2];u[h+1100>>1]=1;v[h+1096>>2]=65536;n=n&!i;g=n?B(e,f)<<2:g;v[c+976>>2]=22;v[h+1092>>2]=22;l=n?32:l;u[h+1086>>1]=l;u[h+1084>>1]=0;t[h+1083|0]=0;t[h+1080|0]=f;t[h+1082|0]=i;m=(f+31|0)/32<<2;k=B(m,e);j=(g+(k+(i<<2)|0)|0)+40|0;v[h+1088>>2]=j;t[h+1081|0]=e;i=h+1072|0;v[i>>2]=0;v[i+4>>2]=0;v[h+1064>>2]=0;v[h+1068>>2]=0;v[h+1060>>2]=g;v[h+1056>>2]=0;u[h+1054>>1]=l;u[h+1052>>1]=1;v[h+1048>>2]=e<<1;v[h+1044>>2]=f;v[h+1040>>2]=40;l=Nt(h- -64|0,c,1);i=wJ(h+32|0,0,0);if(!(v[c+20>>2]<256&v[c+16>>2]<=255)){u[h+1080>>1]=0;K1(i);XY(l,i,4);j=v[i+4>>2]?v[i+8>>2]:-1;v[h+1088>>2]=j}e=u[h+1098>>1];u[h+1098>>1]=w[c+494|0]?e:e<<8|(e&65280)>>>8;e=u[h+1100>>1];u[h+1100>>1]=w[c+494|0]?e:e<<8|(e&65280)>>>8;Ub[v[v[b>>2]+16>>2]](b,h+1096|0,6,1)|0;e=u[h+1098>>1];u[h+1098>>1]=w[c+494|0]?e:e<<8|(e&65280)>>>8;e=u[h+1100>>1];u[h+1100>>1]=w[c+494|0]?e:e<<8|(e&65280)>>>8;e=u[h+1084>>1];u[h+1084>>1]=w[c+494|0]?e:e<<8|(e&65280)>>>8;e=u[h+1086>>1];u[h+1086>>1]=w[c+494|0]?e:e<<8|(e&65280)>>>8;ha=h,ia=ej(c,v[h+1088>>2]),v[ha+1088>>2]=ia;ha=h,ia=ej(c,v[h+1092>>2]),v[ha+1092>>2]=ia;Ub[v[v[b>>2]+16>>2]](b,h+1080|0,16,1)|0;e=u[h+1084>>1];u[h+1084>>1]=w[c+494|0]?e:e<<8|(e&65280)>>>8;e=u[h+1086>>1];u[h+1086>>1]=w[c+494|0]?e:e<<8|(e&65280)>>>8;ha=h,ia=ej(c,v[h+1088>>2]),v[ha+1088>>2]=ia;ha=h,ia=ej(c,v[h+1092>>2]),v[ha+1092>>2]=ia;v[c+976>>2]=v[c+976>>2]+j;h:{if(!(w[h+1080|0]|w[h+1081|0])){Ub[v[v[b>>2]+16>>2]](b,v[i+4>>2],j,1)|0;e=1;break h}e=h+1040|0;fp(c,e);Ub[v[v[b>>2]+16>>2]](b,e,40,1)|0;fp(c,e);q=v[c+336>>2];HC(h+28|0,c);i:{if(!d){break i}if((q|0)>=0){_o(c,w[c+336|0],0,0,0,0);Ub[v[v[b>>2]+16>>2]](b,d,v[c+44>>2]<<2,1)|0;e=w[c+336|0];f=v[h+28>>2];v[h+24>>2]=f;v[h+12>>2]=f;lB(c,e,h+12|0);break i}Ub[v[v[b>>2]+16>>2]](b,d,v[c+44>>2]<<2,1)|0}j:{if(!(v[c+44>>2]|!v[c+964>>2])){d=jc(g);j=0;if(v[c+20>>2]>0){e=d;while(1){f=xe(c,j);n=0;if(v[c+16>>2]>0){while(1){t[e|0]=w[f|0];t[e+1|0]=w[f+1|0];t[e+2|0]=w[f+2|0];ha=e,ia=Ik(c,n,j),t[ha+3|0]=ia;e=e+4|0;f=f+3|0;n=n+1|0;if((n|0)>2]){continue}break}}j=j+1|0;if((j|0)>2]){continue}break}}Ub[v[v[b>>2]+16>>2]](b,d,g,1)|0;dc(d);break j}Ub[v[v[b>>2]+16>>2]](b,v[c+56>>2],g,1)|0}d=bd(k,1);if(d){o=U2(c);g=v[c+964>>2]!=0;k:{if(v[c+20>>2]<1){break k}n=v[c+16>>2];if((n|0)<1){break k}f=0;while(1){l:{if((n|0)<1){break l}j=d+B(f,m)|0;e=0;if(o){while(1){n=0;if(g){n=!Ik(c,e,f)}s=h+16|0;zm(s,c,e,f,1);p=w[h+19|0];Xo(s,c,e,f,0);s=j+(e>>>3|0)|0;F=(e^-1)&7;J=w[s|0]&Gib(-2,F);n=p?n:1;t[s|0]=((q|0)>-1?v[h+16>>2]==v[h+28>>2]?1:n:n)<>2];if((e|0)<(n|0)){continue}break l}}while(1){n=0;if(g){n=!Ik(c,e,f)}Xo(h+16|0,c,e,f,0);s=j+(e>>>3|0)|0;p=(e^-1)&7;F=w[s|0]&Gib(-2,p);t[s|0]=((q|0)>-1?v[h+16>>2]==v[h+28>>2]?1:n:n)<>2];if((e|0)<(n|0)){continue}break}}f=f+1|0;if((f|0)>2]){continue}break}}Ub[v[v[b>>2]+16>>2]](b,d,k,1)|0;dc(d);e=1;break h}e=0}UA(i);v[l>>2]=1032;_g(l);Jg(l)}Qb=h+1104|0;if(e){break d}break c;case 5:c=fc(988);E=gf(c,6);v[c+984>>2]=0;t[c+980|0]=0;v[c+976>>2]=0;v[c>>2]=54292;Fi(E,a);m:{n:{o:{p:{if(!b){Xc(c+72|0,33069,255);break p}if(!v[c+4>>2]){Xc(c+72|0,35394,255);break p}q:{e=v[c+976>>2];if(e){break q}e=d1(b,36520);v[c+976>>2]=e;if(e){break q}Xc(c+72|0,37534,255);break p}f=v[c+984>>2];if(f){t[c+980|0]=1;n=1}else{n=w[c+980|0]!=0}g=f+1|0;v[c+984>>2]=g;d=e;f=Qb-1456|0;Qb=f;h=x[c+26>>1];e=(h|0)==24;b=e?3:(h|0)==32?3:1;q=v[c+16>>2];k=v[c+20>>2];r:{s:{t:{if(e){e=v[c+964>>2]!=0;h=e?32:24;b=e?4:b;l=(h>>>0)/(b>>>0)|0;break t}l=(h>>>0)/(b>>>0)|0;e=v[c+4>>2];e=e?v[c+44>>2]?e+40|0:0:0;u:{switch(h-1|0){case 0:if((IN(e,e+4|0)|0)>-1){h=1;break r}ng(f+416|0,c,0);h=1;ng(f+1448|0,c,1);v[f+380>>2]=v[f+1448>>2];lB(c,0,f+380|0);e=v[f+416>>2];v[f+1444>>2]=e;v[f+376>>2]=e;lB(c,1,f+376|0);if(v[c+32>>2]){e=v[c+56>>2];while(1){t[e|0]=w[e|0]^-1;e=e+1|0;r=r+1|0;if(r>>>0>2]){continue}break}}r=0;break r;case 31:break t;case 3:case 7:break u;default:break r}}m=v[c+44>>2];if(!m){r=1;break r}while(1){r=3;j=w[e+2|0];if((j|0)!=(i|0)){i=1;break r}if((j|0)!=w[e+1|0]){i=1;break r}if((j|0)!=w[e|0]){i=1;break r}e=e+4|0;r=1;i=i+1|0;if((m|0)!=(i|0)){continue}break}break s}r=2}i=0}j=v[c+964>>2]?(h|0)==8?2:b:b;b=v[c+4>>2];v:{if(!(b?v[c+44>>2]?b+40|0:0:0)){break v}b=v[c+4>>2];e=v[c+44>>2];gc(f+416|0,b?e?b+40|0:0:0,e<<2);m=v[c+44>>2];if(!m){break v}e=0;b=0;while(1){e=(f+416|0)+(e<<2)|0;o=w[e+2|0];t[e+2|0]=w[e|0];t[e|0]=o;b=b+1|0;e=b&65535;if(m>>>0>e>>>0){continue}break}}v[f+368>>2]=q;Id(d,256,f+368|0);v[f+352>>2]=k;Id(d,257,f+352|0);v[f+336>>2]=j;Id(d,277,f+336|0);v[f+320>>2]=l;Id(d,258,f+320|0);v[f+304>>2]=r;Id(d,262,f+304|0);v[f+288>>2]=1;Id(d,284,f+288|0);v[f+272>>2]=1;Id(d,274,f+272|0);o=Ub[v[d+576>>2]](d,-1)|0;v[f+256>>2]=o;Id(d,278,f+256|0);v[f+240>>2]=2;Id(d,296,f+240|0);A[f+224>>3]=C(v[c+364>>2]);Id(d,282,f+224|0);A[f+208>>3]=C(v[c+368>>2]);Id(d,283,f+208|0);w:{if(n){v[f+176>>2]=g;b=f+384|0;zd(b,44907,f+176|0);v[f+160>>2]=2;Id(d,254,f+160|0);v[f+148>>2]=g;v[f+144>>2]=g;Id(d,297,f+144|0);v[f+128>>2]=b;Id(d,285,f+128|0);break w}v[f+192>>2]=0;Id(d,254,f+192|0)}if(i){i=jc(1536);g=i+1024|0;l=i+512|0;b=255;while(1){e=b;n=e<<1;m=(f+416|0)+(e<<2)|0;u[n+g>>1]=B(w[m+2|0],257);u[l+n>>1]=B(w[m+1|0],257);u[i+n>>1]=B(w[m|0],257);b=e-1|0;if(e){continue}break}v[f+120>>2]=g;v[f+116>>2]=l;v[f+112>>2]=i;Id(d,320,f+112|0);dc(i)}x:{y:{z:{A:{B:{if(!Fm(c,6)){e=4;C:{switch(h-1|0){default:e=1;break;case 3:case 7:break z;case 23:case 31:break B;case 0:break C}}v[f>>2]=e;Id(d,259,f);break x}b=Fm(c,6)&65535;v[f+96>>2]=b;Id(d,259,f+96|0);switch(b-5|0){case 0:break y;case 2:break A;default:break x}}v[f+80>>2]=7;Id(d,259,f+80|0)}b=f;T=C(z[c+344>>2]+C(.5));D:{if(T=C(0)){e=~~T>>>0;break D}e=0}v[b+64>>2]=e;Id(d,65537,f- -64|0);v[f+48>>2]=o+7&-8;Id(d,278,f+48|0);break x}v[f+32>>2]=5;Id(d,259,f+32|0)}if(h>>>0<8){break x}v[f+16>>2]=2;Id(d,317,f+16|0)}e=1;E:{F:{G:{switch(h-1|0){case 0:case 3:case 7:if((j|0)==1){b=v[c+52>>2];i=jc(b);if(!i){e=0;break E}g=1;if(!k){break F}e=0;while(1){H:{b=ww(d,gc(i,v[c+56>>2]+B(k+(e^-1)|0,b)|0,b),e);if((b|0)==-1){break H}e=e+1|0;if((k|0)==(e|0)){break H}b=v[c+52>>2];continue}break}g=(b|0)!=-1;break F}i=jc(q<<1);if(!i){e=0;break E}g=1;if(!k){break F}h=0;while(1){if(q){b=k+(h^-1)|0;e=0;while(1){g=(e<<1)+i|0;ha=g,ia=Gq(c,e,b),t[ha|0]=ia;ha=g,ia=Ik(c,e,b),t[ha+1|0]=ia;e=e+1|0;if((q|0)!=(e|0)){continue}break}}b=ww(d,i,h);if((b|0)!=-1){h=h+1|0;if((k|0)!=(h|0)){continue}}break};g=(b|0)!=-1;break F;case 23:e=v[c+52>>2];i=jc(e);if(!i){e=0;break E}g=1;if(!k){break F}l=q&-4;n=q&3;j=q-1>>>0<3;h=0;while(1){g=gc(i,v[c+56>>2]+B(k+(h^-1)|0,e)|0,e);I:{if(!q){break I}e=g;b=l;if(!j){while(1){m=w[e+2|0];t[e+2|0]=w[e|0];t[e|0]=m;m=w[e+3|0];t[e+3|0]=w[e+5|0];t[e+5|0]=m;m=w[e+6|0];t[e+6|0]=w[e+8|0];t[e+8|0]=m;m=w[e+9|0];t[e+9|0]=w[e+11|0];t[e+11|0]=m;e=e+12|0;b=b-4|0;if(b){continue}break}}b=n;if(!b){break I}while(1){m=w[e+2|0];t[e+2|0]=w[e|0];t[e|0]=m;e=e+3|0;b=b-1|0;if(b){continue}break}}J:{b=ww(d,g,h);if((b|0)==-1){break J}h=h+1|0;if((k|0)==(h|0)){break J}e=v[c+52>>2];continue}break};g=(b|0)!=-1;break F;case 31:break G;default:break E}}e=v[c+52>>2];i=jc((e<<2>>>0)/3|0);if(!i){e=0;break E}g=1;if(!k){break F}g=(q<<2)+i|0;l=B(q,3)+i|0;h=0;while(1){j=k+(h^-1)|0;m=gc(i,v[c+56>>2]+B(j,e)|0,e);e=g;b=l;r=0;if(q){while(1){ha=e-1|0,ia=Ik(c,q+(r^-1)|0,j),t[ha|0]=ia;n=b-3|0;t[e-2|0]=w[n|0];t[e-3|0]=w[b-2|0];e=e-4|0;t[e|0]=w[b-1|0];b=n;r=r+1|0;if((q|0)!=(r|0)){continue}break}}K:{b=ww(d,m,h);if((b|0)==-1){break K}h=h+1|0;if((k|0)==(h|0)){break K}e=v[c+52>>2];continue}break}g=(b|0)!=-1}e=g;dc(i)}Qb=f+1456|0;if(!e){Xc(c+72|0,38595,255);break p}b=v[c+976>>2];break o}b=0;e=v[c+976>>2];if(!e){break m}rr(e);t[c+980|0]=0;v[c+976>>2]=0;f=c+984|0;b=0;break n}f=c+984|0;rr(b);t[c+980|0]=0;v[c+976>>2]=0;b=1}v[f>>2]=0}if(b){break d}break c;case 2:E=fc(1e3);c=AK(E);Fi(c,a);k=Qb-800|0;Qb=k;r=jc(40);v[r>>2]=0;v[299999]=0;f=xk(c,b);e=v[299999];v[299999]=0;i=-1;l=4;L:{M:{N:{if(!e){break N}d=v[3e5];if(!d){break N}i=sc(v[e>>2],r,4);if(!i){break M}_(d|0)}e=O()|0;O:{P:{if((i|0)==1){break P}e=0;if(f){break O}Q:{s=c+44|0;if(!v[s>>2]){break Q}v[299999]=0;f=Uo(c);e=v[299999];v[299999]=0;i=-1;R:{if(!e){break R}d=v[3e5];if(!d){break R}i=sc(v[e>>2],r,4);if(!i){break M}_(d|0)}e=O()|0;if((i|0)==1){break P}if(f){break Q}b=w[5258]|w[5259]<<8|(w[5260]<<16|w[5261]<<24);t[c+111|0]=b;t[c+112|0]=b>>>8;t[c+113|0]=b>>>16;t[c+114|0]=b>>>24;b=w[5255]|w[5256]<<8|(w[5257]<<16|w[5258]<<24);e=w[5251]|w[5252]<<8|(w[5253]<<16|w[5254]<<24);t[c+104|0]=e;t[c+105|0]=e>>>8;t[c+106|0]=e>>>16;t[c+107|0]=e>>>24;t[c+108|0]=b;t[c+109|0]=b>>>8;t[c+110|0]=b>>>16;t[c+111|0]=b>>>24;b=w[5247]|w[5248]<<8|(w[5249]<<16|w[5250]<<24);e=w[5243]|w[5244]<<8|(w[5245]<<16|w[5246]<<24);t[c+96|0]=e;t[c+97|0]=e>>>8;t[c+98|0]=e>>>16;t[c+99|0]=e>>>24;t[c+100|0]=b;t[c+101|0]=b>>>8;t[c+102|0]=b>>>16;t[c+103|0]=b>>>24;b=w[5239]|w[5240]<<8|(w[5241]<<16|w[5242]<<24);e=w[5235]|w[5236]<<8|(w[5237]<<16|w[5238]<<24);t[c+88|0]=e;t[c+89|0]=e>>>8;t[c+90|0]=e>>>16;t[c+91|0]=e>>>24;t[c+92|0]=b;t[c+93|0]=b>>>8;t[c+94|0]=b>>>16;t[c+95|0]=b>>>24;b=w[5231]|w[5232]<<8|(w[5233]<<16|w[5234]<<24);e=w[5227]|w[5228]<<8|(w[5229]<<16|w[5230]<<24);t[c+80|0]=e;t[c+81|0]=e>>>8;t[c+82|0]=e>>>16;t[c+83|0]=e>>>24;t[c+84|0]=b;t[c+85|0]=b>>>8;t[c+86|0]=b>>>16;t[c+87|0]=b>>>24;b=w[5223]|w[5224]<<8|(w[5225]<<16|w[5226]<<24);e=w[5219]|w[5220]<<8|(w[5221]<<16|w[5222]<<24);t[c+72|0]=e;t[c+73|0]=e>>>8;t[c+74|0]=e>>>16;t[c+75|0]=e>>>24;t[c+76|0]=b;t[c+77|0]=b>>>8;t[c+78|0]=b>>>16;t[c+79|0]=b>>>24;e=0;break O}e=v[v[b>>2]+24>>2];v[299999]=0;q=S(e|0,b|0)|0;e=v[299999];v[299999]=0;i=-1;S:{if(!e){break S}d=v[3e5];if(!d){break S}i=sc(v[e>>2],r,4);if(!i){break M}_(d|0)}e=O()|0;if((i|0)==1){break P}v[299999]=0;H=c+72|0;v[k+360>>2]=H;f=Ko(k+72|0);e=v[299999];v[299999]=0;i=-1;T:{if(!e){break T}d=v[3e5];if(!d){break T}i=sc(v[e>>2],r,4);if(!i){break M}_(d|0)}h=k+360|0;e=O()|0;if((i|0)==1){break P}v[k+72>>2]=6;v[k+368>>2]=f;r=Ue(k+204|0,1,r,4);l=O()|0;e=0}U:while(1){V:{f=e;if(e){e=v[h>>2];v[299999]=0;ce(H,e);e=v[299999];v[299999]=0;i=-1;W:{if(!e){break W}d=v[3e5];if(!d){break W}i=sc(v[e>>2],r,l);if(!i){break M}_(d|0)}e=O()|0;if((i|0)==1){continue}v[299999]=0;R(40,k+368|0);e=v[299999];v[299999]=0;i=-1;X:{if(!e){break X}d=v[3e5];if(!d){break X}i=sc(v[e>>2],r,l);if(!i){break M}_(d|0)}e=O()|0;if((i|0)==1){continue}break V}v[299999]=0;U(41,k+368|0,80,432);e=v[299999];v[299999]=0;i=-1;Y:{if(!e){break Y}d=v[3e5];if(!d){break Y}i=sc(v[e>>2],r,l);if(!i){break M}_(d|0)}e=O()|0;if((i|0)==1){continue}v[k+52>>2]=7;v[k+48>>2]=8;v[k+44>>2]=9;v[k+40>>2]=10;v[k+36>>2]=11;v[k+24>>2]=12;v[k+20>>2]=13;v[k+16>>2]=14;v[k+56>>2]=b;v[k+28>>2]=0;v[k+32>>2]=0;v[299999]=0;g=S(15,4096)|0;e=v[299999];v[299999]=0;i=-1;Z:{if(!e){break Z}d=v[3e5];if(!d){break Z}i=sc(v[e>>2],r,l);if(!i){break M}_(d|0)}e=O()|0;if((i|0)==1){continue}v[k+60>>2]=g;v[299999]=0;v[k+392>>2]=k+8;g=v[c+16>>2];e=v[299999];v[299999]=0;i=-1;_:{if(!e){break _}d=v[3e5];if(!d){break _}i=sc(v[e>>2],r,l);if(!i){break M}_(d|0)}e=O()|0;if((i|0)==1){continue}v[299999]=0;v[k+396>>2]=g;g=v[c+20>>2];e=v[299999];v[299999]=0;i=-1;$:{if(!e){break $}d=v[3e5];if(!d){break $}i=sc(v[e>>2],r,l);if(!i){break M}_(d|0)}e=O()|0;if((i|0)==1){continue}v[299999]=0;v[k+400>>2]=g;g=Uo(c);e=v[299999];v[299999]=0;i=-1;aa:{if(!e){break aa}d=v[3e5];if(!d){break aa}i=sc(v[e>>2],r,l);if(!i){break M}_(d|0)}e=O()|0;if((i|0)==1){continue}v[299999]=0;v[k+408>>2]=g?1:2;v[k+404>>2]=g?1:3;R(43,k+368|0);e=v[299999];v[299999]=0;i=-1;ba:{if(!e){break ba}d=v[3e5];if(!d){break ba}i=sc(v[e>>2],r,l);if(!i){break M}_(d|0)}e=O()|0;if((i|0)==1){continue}v[299999]=0;i=Fm(c,3);e=v[299999];v[299999]=0;m=-1;ca:{if(!e){break ca}d=v[3e5];if(!d){break ca}m=sc(v[e>>2],r,l);if(!m){break M}_(d|0)}e=O()|0;if((m|0)==1){continue}if(i&2){v[k+580>>2]=1}if(i&8){v[k+584>>2]=1}if(i&4){v[299999]=0;V(44,k+368|0,1);e=v[299999];v[299999]=0;m=-1;da:{if(!e){break da}d=v[3e5];if(!d){break da}m=sc(v[e>>2],r,l);if(!m){break M}_(d|0)}e=O()|0;if((m|0)==1){continue}}if(i&64){v[k+596>>2]=v[c+988>>2]}v[299999]=0;T=C(z[c+344>>2]+C(.5));ea:{if(T=C(0)){g=~~T>>>0;break ea}g=0}e=v[299999];v[299999]=0;m=-1;fa:{if(!e){break fa}d=v[3e5];if(!d){break fa}m=sc(v[e>>2],r,l);if(!m){break M}_(d|0)}e=O()|0;if((m|0)==1){continue}v[299999]=0;U(45,k+368|0,g|0,i&1);e=v[299999];v[299999]=0;m=-1;ga:{if(!e){break ga}d=v[3e5];if(!d){break ga}m=sc(v[e>>2],r,l);if(!m){break M}_(d|0)}e=O()|0;if((m|0)==1){continue}if(i&16){v[299999]=0;R(46,k+368|0);e=v[299999];v[299999]=0;m=-1;ha:{if(!e){break ha}d=v[3e5];if(!d){break ha}m=sc(v[e>>2],r,l);if(!m){break M}_(d|0)}e=O()|0;if((m|0)==1){continue}}e=v[k+452>>2];v[e+8>>2]=2;v[e+12>>2]=2;v[e+184>>2]=1;v[e+188>>2]=1;v[e+96>>2]=1;v[e+100>>2]=1;if(i&4096){v[e+184>>2]=1;v[e+188>>2]=1;v[e+96>>2]=1;v[e+100>>2]=1;v[e+8>>2]=2;v[e+12>>2]=1}if(i&8192){v[e+184>>2]=1;v[e+188>>2]=1;v[e+96>>2]=1;v[e+100>>2]=1;v[e+8>>2]=1;v[e+12>>2]=1}v[299999]=0;t[k+618|0]=1;g=v[c+364>>2];e=v[299999];v[299999]=0;i=-1;ia:{if(!e){break ia}d=v[3e5];if(!d){break ia}i=sc(v[e>>2],r,l);if(!i){break M}_(d|0)}e=O()|0;if((i|0)==1){continue}v[299999]=0;u[k+620>>1]=g;g=v[c+368>>2];e=v[299999];v[299999]=0;i=-1;ja:{if(!e){break ja}d=v[3e5];if(!d){break ja}i=sc(v[e>>2],r,l);if(!i){break M}_(d|0)}e=O()|0;if((i|0)==1){continue}v[299999]=0;u[k+622>>1]=g;V(48,k+368|0,1);e=v[299999];v[299999]=0;i=-1;ka:{if(!e){break ka}d=v[3e5];if(!d){break ka}i=sc(v[e>>2],r,l);if(!i){break M}_(d|0)}e=O()|0;if((i|0)==1){continue}e=v[v[k+372>>2]+8>>2];j=v[c+52>>2];v[299999]=0;o=Z(e|0,k+368|0,1,j+8|0,1)|0;e=v[299999];v[299999]=0;i=-1;la:{if(!e){break la}d=v[3e5];if(!d){break la}i=sc(v[e>>2],r,l);if(!i){break M}_(d|0)}e=O()|0;if((i|0)==1){continue}v[299999]=0;xe(c,0);e=v[299999];v[299999]=0;i=-1;ma:{if(!e){break ma}d=v[3e5];if(!d){break ma}i=sc(v[e>>2],r,l);if(!i){break M}_(d|0)}e=O()|0;if((i|0)==1){continue}v[299999]=0;g=v[c+20>>2];e=v[299999];v[299999]=0;i=-1;na:{if(!e){break na}d=v[3e5];if(!d){break na}i=sc(v[e>>2],r,l);if(!i){break M}_(d|0)}e=O()|0;if((i|0)==1){continue}v[299999]=0;m=xe(c,0);e=v[299999];v[299999]=0;i=-1;oa:{if(!e){break oa}d=v[3e5];if(!d){break oa}i=sc(v[e>>2],r,l);if(!i){break M}_(d|0)}e=O()|0;if((i|0)==1){continue}v[299999]=0;p=v[c+52>>2];e=v[299999];v[299999]=0;i=-1;pa:{if(!e){break pa}d=v[3e5];if(!d){break pa}i=sc(v[e>>2],r,l);if(!i){break M}_(d|0)}e=O()|0;if((i|0)==1){continue}v[299999]=0;F=v[c+20>>2];e=v[299999];v[299999]=0;i=-1;qa:{if(!e){break qa}d=v[3e5];if(!d){break qa}i=sc(v[e>>2],r,l);if(!i){break M}_(d|0)}e=O()|0;if((i|0)==1){continue}n=-1;ra:{if(y[k+628>>2]>=y[k+400>>2]){break ra}i=g-1|0;if((j|0)<1){while(1){if(!v[s>>2]){e=v[o>>2];v[299999]=0;Vo(c,e,j);e=v[299999];v[299999]=0;g=-1;sa:{if(!e){break sa}d=v[3e5];if(!d){break sa}g=sc(v[e>>2],r,l);if(!g){break M}_(d|0)}e=O()|0;if((g|0)==1){continue U}}if((i|0)>=1){v[299999]=0;e=v[299999];v[299999]=0;g=-1;ta:{if(!e){break ta}d=v[3e5];if(!d){break ta}g=sc(v[e>>2],r,l);if(!g){break M}_(d|0)}e=O()|0;if((g|0)==1){continue U}}v[299999]=0;Y(49,k+368|0,o|0,1)|0;e=v[299999];v[299999]=0;g=-1;ua:{if(!e){break ua}d=v[3e5];if(!d){break ua}g=sc(v[e>>2],r,l);if(!g){break M}_(d|0)}e=O()|0;if((g|0)==1){continue U}i=i-1|0;if(y[k+628>>2]>2]){continue}break ra}}g=m+B(p,F-1|0)|0;while(1){va:{if(!g){break va}F=v[o>>2];if(!F){break va}v[299999]=0;p=v[c+52>>2];e=v[299999];v[299999]=0;m=-1;wa:{if(!e){break wa}d=v[3e5];if(!d){break wa}m=sc(v[e>>2],r,l);if(!m){break M}_(d|0)}e=O()|0;if((m|0)==1){continue U}gc(F,g,(j|0)>(p|0)?p:j)}if(!v[s>>2]){e=v[o>>2];v[299999]=0;Vo(c,e,j);e=v[299999];v[299999]=0;m=-1;xa:{if(!e){break xa}d=v[3e5];if(!d){break xa}m=sc(v[e>>2],r,l);if(!m){break M}_(d|0)}e=O()|0;if((m|0)==1){continue U}}if((i|0)>=1){v[299999]=0;p=v[c+52>>2];e=v[299999];v[299999]=0;m=-1;ya:{if(!e){break ya}d=v[3e5];if(!d){break ya}m=sc(v[e>>2],r,l);if(!m){break M}_(d|0)}e=O()|0;if((m|0)==1){continue U}g=g-p|0}v[299999]=0;Y(49,k+368|0,o|0,1)|0;e=v[299999];v[299999]=0;m=-1;za:{if(!e){break za}d=v[3e5];if(!d){break za}m=sc(v[e>>2],r,l);if(!m){break M}_(d|0)}e=O()|0;if((m|0)==1){continue U}i=i-1|0;if(y[k+628>>2]>2]){continue}break}}v[299999]=0;R(50,k+368|0);e=v[299999];v[299999]=0;Aa:{if(!e){break Aa}d=v[3e5];if(!d){break Aa}n=sc(v[e>>2],r,l);if(!n){break M}_(d|0)}e=O()|0;if((n|0)==1){continue}v[299999]=0;R(40,k+368|0);e=v[299999];v[299999]=0;i=-1;Ba:{if(!e){break Ba}d=v[3e5];if(!d){break Ba}i=sc(v[e>>2],r,l);if(!i){break M}_(d|0)}e=O()|0;if((i|0)==1){continue}e=v[c+976>>2];if(!(!e|!w[v[e>>2]+460|0])){v[299999]=0;MR(e);e=v[299999];v[299999]=0;i=-1;Ca:{if(!e){break Ca}d=v[3e5];if(!d){break Ca}i=sc(v[e>>2],r,l);if(!i){break M}_(d|0)}e=O()|0;if((i|0)==1){continue}e=v[v[b>>2]+20>>2];v[299999]=0;Y(e|0,b|0,q|0,0)|0;e=v[299999];v[299999]=0;i=-1;Da:{if(!e){break Da}d=v[3e5];if(!d){break Da}i=sc(v[e>>2],r,l);if(!i){break M}_(d|0)}e=O()|0;if((i|0)==1){continue}e=v[c+976>>2];v[299999]=0;Y(3,e|0,b|0,2)|0;e=v[299999];v[299999]=0;i=-1;Ea:{if(!e){break Ea}d=v[3e5];if(!d){break Ea}i=sc(v[e>>2],r,l);if(!i){break M}_(d|0)}e=O()|0;if((i|0)==1){continue}e=v[v[b>>2]+20>>2];v[299999]=0;Y(e|0,b|0,q|0,0)|0;e=v[299999];v[299999]=0;i=-1;Fa:{if(!e){break Fa}d=v[3e5];if(!d){break Fa}i=sc(v[e>>2],r,l);if(!i){break M}_(d|0)}e=O()|0;if((i|0)==1){continue}e=v[c+976>>2];v[299999]=0;Q(52,e|0,b|0)|0;e=v[299999];v[299999]=0;i=-1;Ga:{if(!e){break Ga}d=v[3e5];if(!d){break Ga}i=sc(v[e>>2],r,l);if(!i){break M}_(d|0)}e=O()|0;if((i|0)==1){continue}}e=v[k+60>>2];if(!e){break V}v[299999]=0;dc(e);e=v[299999];v[299999]=0;i=-1;Ha:{if(!e){break Ha}d=v[3e5];if(!d){break Ha}i=sc(v[e>>2],r,l);if(!i){break M}_(d|0)}e=O()|0;if((i|0)==1){continue}}break}e=!f}dc(r);Qb=k+800|0;break L}dc(r);sd(e,d);L()}if(e){break b}break a;case 1:E=fc(1124);c=Sv(E);Fi(c,a);if(!xk(c,b)){Ia:{if(x[c+26>>1]>=9){D=Qb-1184|0;Qb=D;p=b;dJ(c,b);b=Bc(v[c+1116>>2]);b=b>>>0<255?b:255;if(b){Ub[v[v[p>>2]+44>>2]](p,33)|0;Ub[v[v[p>>2]+44>>2]](p,254)|0;Ub[v[v[p>>2]+44>>2]](p,b&255)|0;Ub[v[v[p>>2]+16>>2]](p,v[c+1116>>2],b,1)|0;Ub[v[v[p>>2]+44>>2]](p,0)|0}G=Sv(D+56|0);Zf(G,v[c+16>>2],v[c+20>>2],8,0);v[G+336>>2]=0;i=v[c+16>>2];f=v[c+20>>2];F=fc(B(i,f)<<2);if(!(!f|!i)){e=1;b=f;q=F;while(1){h=0;if(e){while(1){Xo(D+32|0,c,h,d,1);t[q|0]=w[D+32|0];t[q+1|0]=w[D+33|0];t[q+2|0]=w[D+34|0];t[q+3|0]=w[D+35|0];q=q+4|0;h=h+1|0;e=v[c+16>>2];if(h>>>0>>0){continue}break}b=v[c+20>>2]}else{e=0}d=d+1|0;if(d>>>0>>0){continue}break}}b=fc(12);v[b+8>>2]=f;v[b+4>>2]=i;v[b>>2]=F;e=b+12|0;v[D+40>>2]=e;v[D+36>>2]=e;v[D+32>>2]=b;q=0;v[D+28>>2]=0;e=0;d=0;m=Qb-3104|0;Qb=m;h=D+16|0;v[h+8>>2]=0;v[h>>2]=0;v[h+4>>2]=0;l=v[D+36>>2]-v[D+32>>2]|0;i=(l|0)/12|0;b=D+28|0;if(!(!l|!b)){f=b;b=fc(1024);v[f>>2]=b;ga=ic(b,0,1024);Ja:{if((l|0)<=0){f=fc(0);break Ja}J=(i|0)>1?i:1;Ka:{La:{while(1){Ma:{b=v[D+32>>2]+B(o,12)|0;n=v[b+8>>2];k=v[b+4>>2];f=fc(12);v[f+8>>2]=0;b=f;v[b>>2]=0;v[b+4>>2]=0;j=B(k,n);s=fc(j);v[b+8>>2]=n;v[b+4>>2]=k;v[b>>2]=s;ic(s,0,j);Na:{if((d|0)!=(e|0)){v[e>>2]=f;e=e+4|0;v[h+4>>2]=e;break Na}b=d;d=v[h>>2];n=b-d|0;e=n>>2;b=e+1|0;if(b>>>0>=1073741824){break Ma}k=n>>1;k=e>>>0<536870911?b>>>0>k>>>0?b:k:1073741823;if(k){if(k>>>0>=1073741824){break La}b=fc(k<<2)}else{b=0}e=b+(e<<2)|0;v[e>>2]=f;e=e+4|0;if((n|0)>=1){gc(b,d,n)}v[h+8>>2]=b+(k<<2);v[h+4>>2]=e;v[h>>2]=b;if(!d){break Na}dc(d)}g=g+j|0;o=o+1|0;if((J|0)==(o|0)){break Ka}d=v[h+8>>2];continue}break}ue(h);L()}cf(28520);L()}f=fc(g<<3);if((l|0)<1){break Ja}n=(i|0)>1?i:1;d=0;e=f;while(1){i=v[v[h>>2]+(d<<2)>>2];Oa:{if(!i){break Oa}g=B(v[i+8>>2],v[i+4>>2]);if(!g){break Oa}b=v[v[D+32>>2]+B(d,12)>>2];o=0;if((g|0)!=1){l=g&-2;while(1){if(w[b+3|0]>=5){k=v[i>>2];j=v[b>>2];v[e>>2]=j;v[e+4>>2]=k+o;t[e+3|0]=j>>>24|15;e=e+8|0}if(w[b+7|0]>4){k=v[i>>2];j=v[b+4>>2];v[e>>2]=j;v[e+4>>2]=k+(o|1);t[e+3|0]=j>>>24|15;e=e+8|0}b=b+8|0;o=o+2|0;l=l-2|0;if(l){continue}break}}if(!(g&1)|w[b+3|0]<5){break Oa}i=v[i>>2];b=v[b>>2];v[e>>2]=b;v[e+4>>2]=i+o;t[e+3|0]=b>>>24|15;e=e+8|0}d=d+1|0;if((n|0)!=(d|0)){continue}break}if((e|0)==(f|0)){break Ja}u[m+52>>1]=0;u[m- -64>>1]=0;u[m+76>>1]=0;u[m+88>>1]=0;u[m+100>>1]=0;u[m+112>>1]=0;u[m+124>>1]=0;u[m+136>>1]=0;u[m+40>>1]=0;d=m;v[d+32>>2]=0;v[d+36>>2]=0;v[d+44>>2]=0;v[d+48>>2]=0;v[d+56>>2]=0;v[d+60>>2]=0;v[d+68>>2]=0;v[d+72>>2]=0;v[d+80>>2]=0;v[d+84>>2]=0;v[d+92>>2]=0;v[d+96>>2]=0;v[d+104>>2]=0;v[d+108>>2]=0;v[d+116>>2]=0;v[d+120>>2]=0;v[d+128>>2]=0;v[d+132>>2]=0;u[d+148>>1]=0;u[d+160>>1]=0;u[d+172>>1]=0;u[d+184>>1]=0;u[d+196>>1]=0;u[d+208>>1]=0;u[d+220>>1]=0;u[d+232>>1]=0;u[d+244>>1]=0;v[d+140>>2]=0;v[d+144>>2]=0;v[d+152>>2]=0;v[d+156>>2]=0;v[d+164>>2]=0;v[d+168>>2]=0;v[d+176>>2]=0;v[d+180>>2]=0;v[d+188>>2]=0;v[d+192>>2]=0;v[d+200>>2]=0;v[d+204>>2]=0;v[d+212>>2]=0;v[d+216>>2]=0;v[d+224>>2]=0;v[d+228>>2]=0;v[d+236>>2]=0;v[d+240>>2]=0;u[d+256>>1]=0;u[d+268>>1]=0;u[d+280>>1]=0;u[d+292>>1]=0;u[d+304>>1]=0;u[d+316>>1]=0;u[d+328>>1]=0;u[d+340>>1]=0;u[d+352>>1]=0;v[d+248>>2]=0;v[d+252>>2]=0;v[d+260>>2]=0;v[d+264>>2]=0;v[d+272>>2]=0;v[d+276>>2]=0;v[d+284>>2]=0;v[d+288>>2]=0;v[d+296>>2]=0;v[d+300>>2]=0;v[d+308>>2]=0;v[d+312>>2]=0;v[d+320>>2]=0;v[d+324>>2]=0;v[d+332>>2]=0;v[d+336>>2]=0;v[d+344>>2]=0;v[d+348>>2]=0;u[d+364>>1]=0;v[d+356>>2]=0;v[d+360>>2]=0;u[d+376>>1]=0;v[d+368>>2]=0;v[d+372>>2]=0;u[d+388>>1]=0;v[d+380>>2]=0;v[d+384>>2]=0;u[d+400>>1]=0;v[d+392>>2]=0;v[d+396>>2]=0;u[d+412>>1]=0;v[d+404>>2]=0;v[d+408>>2]=0;u[d+424>>1]=0;v[d+416>>2]=0;v[d+420>>2]=0;u[d+436>>1]=0;v[d+428>>2]=0;v[d+432>>2]=0;u[d+448>>1]=0;v[d+440>>2]=0;v[d+444>>2]=0;u[d+460>>1]=0;v[d+452>>2]=0;v[d+456>>2]=0;u[d+472>>1]=0;v[d+464>>2]=0;v[d+468>>2]=0;u[d+484>>1]=0;v[d+476>>2]=0;v[d+480>>2]=0;u[d+496>>1]=0;v[d+488>>2]=0;v[d+492>>2]=0;u[d+508>>1]=0;v[d+500>>2]=0;v[d+504>>2]=0;u[d+520>>1]=0;v[d+512>>2]=0;v[d+516>>2]=0;u[d+532>>1]=0;v[d+524>>2]=0;v[d+528>>2]=0;u[d+544>>1]=0;v[d+536>>2]=0;v[d+540>>2]=0;u[d+556>>1]=0;v[d+548>>2]=0;v[d+552>>2]=0;u[d+568>>1]=0;v[d+560>>2]=0;v[d+564>>2]=0;u[d+580>>1]=0;v[d+572>>2]=0;v[d+576>>2]=0;u[d+592>>1]=0;v[d+584>>2]=0;v[d+588>>2]=0;u[d+604>>1]=0;v[d+596>>2]=0;v[d+600>>2]=0;u[d+616>>1]=0;v[d+608>>2]=0;v[d+612>>2]=0;u[d+628>>1]=0;v[d+620>>2]=0;v[d+624>>2]=0;u[d+640>>1]=0;v[d+632>>2]=0;v[d+636>>2]=0;u[d+652>>1]=0;v[d+644>>2]=0;v[d+648>>2]=0;u[d+664>>1]=0;v[d+656>>2]=0;v[d+660>>2]=0;u[d+676>>1]=0;v[d+668>>2]=0;v[d+672>>2]=0;u[d+688>>1]=0;v[d+680>>2]=0;v[d+684>>2]=0;u[d+700>>1]=0;v[d+692>>2]=0;v[d+696>>2]=0;u[d+712>>1]=0;v[d+704>>2]=0;v[d+708>>2]=0;u[d+724>>1]=0;v[d+716>>2]=0;v[d+720>>2]=0;u[d+736>>1]=0;v[d+728>>2]=0;v[d+732>>2]=0;u[d+748>>1]=0;v[d+740>>2]=0;v[d+744>>2]=0;u[d+760>>1]=0;v[d+752>>2]=0;v[d+756>>2]=0;u[d+772>>1]=0;v[d+764>>2]=0;v[d+768>>2]=0;u[d+784>>1]=0;v[d+776>>2]=0;v[d+780>>2]=0;u[d+796>>1]=0;v[d+788>>2]=0;v[d+792>>2]=0;u[d+808>>1]=0;v[d+800>>2]=0;v[d+804>>2]=0;u[d+820>>1]=0;v[d+812>>2]=0;v[d+816>>2]=0;u[d+832>>1]=0;v[d+824>>2]=0;v[d+828>>2]=0;u[d+844>>1]=0;v[d+836>>2]=0;v[d+840>>2]=0;u[d+856>>1]=0;v[d+848>>2]=0;v[d+852>>2]=0;u[d+868>>1]=0;v[d+860>>2]=0;v[d+864>>2]=0;u[d+880>>1]=0;v[d+872>>2]=0;v[d+876>>2]=0;u[d+892>>1]=0;v[d+884>>2]=0;v[d+888>>2]=0;u[d+904>>1]=0;v[d+896>>2]=0;v[d+900>>2]=0;u[d+916>>1]=0;v[d+908>>2]=0;v[d+912>>2]=0;u[d+928>>1]=0;v[d+920>>2]=0;v[d+924>>2]=0;u[d+940>>1]=0;v[d+932>>2]=0;v[d+936>>2]=0;u[d+952>>1]=0;v[d+944>>2]=0;v[d+948>>2]=0;u[d+964>>1]=0;v[d+956>>2]=0;v[d+960>>2]=0;u[d+976>>1]=0;v[d+968>>2]=0;v[d+972>>2]=0;u[d+988>>1]=0;v[d+980>>2]=0;v[d+984>>2]=0;u[d+1e3>>1]=0;v[d+992>>2]=0;v[d+996>>2]=0;u[d+1012>>1]=0;v[d+1004>>2]=0;v[d+1008>>2]=0;u[d+1024>>1]=0;v[d+1016>>2]=0;v[d+1020>>2]=0;u[d+1036>>1]=0;v[d+1028>>2]=0;v[d+1032>>2]=0;u[d+1048>>1]=0;v[d+1040>>2]=0;v[d+1044>>2]=0;u[d+1060>>1]=0;v[d+1052>>2]=0;v[d+1056>>2]=0;u[d+1072>>1]=0;v[d+1064>>2]=0;v[d+1068>>2]=0;u[d+1084>>1]=0;v[d+1076>>2]=0;v[d+1080>>2]=0;u[d+1096>>1]=0;v[d+1088>>2]=0;v[d+1092>>2]=0;u[d+1108>>1]=0;v[d+1100>>2]=0;v[d+1104>>2]=0;u[d+1120>>1]=0;v[d+1112>>2]=0;v[d+1116>>2]=0;u[d+1132>>1]=0;v[d+1124>>2]=0;v[d+1128>>2]=0;u[d+1144>>1]=0;v[d+1136>>2]=0;v[d+1140>>2]=0;u[d+1156>>1]=0;v[d+1148>>2]=0;v[d+1152>>2]=0;u[d+1168>>1]=0;v[d+1160>>2]=0;v[d+1164>>2]=0;u[d+1180>>1]=0;v[d+1172>>2]=0;v[d+1176>>2]=0;u[d+1192>>1]=0;v[d+1184>>2]=0;v[d+1188>>2]=0;u[d+1204>>1]=0;v[d+1196>>2]=0;v[d+1200>>2]=0;u[d+1216>>1]=0;v[d+1208>>2]=0;v[d+1212>>2]=0;u[d+1228>>1]=0;v[d+1220>>2]=0;v[d+1224>>2]=0;u[d+1240>>1]=0;v[d+1232>>2]=0;v[d+1236>>2]=0;u[d+1252>>1]=0;v[d+1244>>2]=0;v[d+1248>>2]=0;u[d+1264>>1]=0;v[d+1256>>2]=0;v[d+1260>>2]=0;u[d+1276>>1]=0;v[d+1268>>2]=0;v[d+1272>>2]=0;u[d+1288>>1]=0;v[d+1280>>2]=0;v[d+1284>>2]=0;u[d+1300>>1]=0;v[d+1292>>2]=0;v[d+1296>>2]=0;u[d+1312>>1]=0;v[d+1304>>2]=0;v[d+1308>>2]=0;u[d+1324>>1]=0;v[d+1316>>2]=0;v[d+1320>>2]=0;u[d+1336>>1]=0;v[d+1328>>2]=0;v[d+1332>>2]=0;u[d+1348>>1]=0;v[d+1340>>2]=0;v[d+1344>>2]=0;u[d+1360>>1]=0;v[d+1352>>2]=0;v[d+1356>>2]=0;u[d+1372>>1]=0;v[d+1364>>2]=0;v[d+1368>>2]=0;u[d+1384>>1]=0;v[d+1376>>2]=0;v[d+1380>>2]=0;u[d+1396>>1]=0;v[d+1388>>2]=0;v[d+1392>>2]=0;u[d+1408>>1]=0;v[d+1400>>2]=0;v[d+1404>>2]=0;u[d+1420>>1]=0;v[d+1412>>2]=0;v[d+1416>>2]=0;u[d+1432>>1]=0;v[d+1424>>2]=0;v[d+1428>>2]=0;u[d+1444>>1]=0;v[d+1436>>2]=0;v[d+1440>>2]=0;u[d+1456>>1]=0;v[d+1448>>2]=0;v[d+1452>>2]=0;u[d+1468>>1]=0;v[d+1460>>2]=0;v[d+1464>>2]=0;u[d+1480>>1]=0;v[d+1472>>2]=0;v[d+1476>>2]=0;u[d+1492>>1]=0;v[d+1484>>2]=0;v[d+1488>>2]=0;u[d+1504>>1]=0;v[d+1496>>2]=0;v[d+1500>>2]=0;u[d+1516>>1]=0;v[d+1508>>2]=0;v[d+1512>>2]=0;u[d+1528>>1]=0;v[d+1520>>2]=0;v[d+1524>>2]=0;u[d+1540>>1]=0;v[d+1532>>2]=0;v[d+1536>>2]=0;u[d+1552>>1]=0;v[d+1544>>2]=0;v[d+1548>>2]=0;u[d+1564>>1]=0;v[d+1556>>2]=0;v[d+1560>>2]=0;u[d+1576>>1]=0;v[d+1568>>2]=0;v[d+1572>>2]=0;u[d+1588>>1]=0;v[d+1580>>2]=0;v[d+1584>>2]=0;u[d+1600>>1]=0;v[d+1592>>2]=0;v[d+1596>>2]=0;u[d+1612>>1]=0;v[d+1604>>2]=0;v[d+1608>>2]=0;u[d+1624>>1]=0;v[d+1616>>2]=0;v[d+1620>>2]=0;u[d+1636>>1]=0;v[d+1628>>2]=0;v[d+1632>>2]=0;u[d+1648>>1]=0;v[d+1640>>2]=0;v[d+1644>>2]=0;u[d+1660>>1]=0;v[d+1652>>2]=0;v[d+1656>>2]=0;u[d+1672>>1]=0;v[d+1664>>2]=0;v[d+1668>>2]=0;u[d+1684>>1]=0;v[d+1676>>2]=0;v[d+1680>>2]=0;u[d+1696>>1]=0;v[d+1688>>2]=0;v[d+1692>>2]=0;u[d+1708>>1]=0;v[d+1700>>2]=0;v[d+1704>>2]=0;u[d+1720>>1]=0;v[d+1712>>2]=0;v[d+1716>>2]=0;u[d+1732>>1]=0;v[d+1724>>2]=0;v[d+1728>>2]=0;u[d+1744>>1]=0;v[d+1736>>2]=0;v[d+1740>>2]=0;u[d+1756>>1]=0;v[d+1748>>2]=0;v[d+1752>>2]=0;u[d+1768>>1]=0;v[d+1760>>2]=0;v[d+1764>>2]=0;u[d+1780>>1]=0;v[d+1772>>2]=0;v[d+1776>>2]=0;u[d+1792>>1]=0;v[d+1784>>2]=0;v[d+1788>>2]=0;u[d+1804>>1]=0;v[d+1796>>2]=0;v[d+1800>>2]=0;u[d+1816>>1]=0;v[d+1808>>2]=0;v[d+1812>>2]=0;u[d+1828>>1]=0;v[d+1820>>2]=0;v[d+1824>>2]=0;u[d+1840>>1]=0;v[d+1832>>2]=0;v[d+1836>>2]=0;u[d+1852>>1]=0;v[d+1844>>2]=0;v[d+1848>>2]=0;u[d+1864>>1]=0;v[d+1856>>2]=0;v[d+1860>>2]=0;u[d+1876>>1]=0;v[d+1868>>2]=0;v[d+1872>>2]=0;u[d+1888>>1]=0;v[d+1880>>2]=0;v[d+1884>>2]=0;u[d+1900>>1]=0;v[d+1892>>2]=0;v[d+1896>>2]=0;u[d+1912>>1]=0;v[d+1904>>2]=0;v[d+1908>>2]=0;u[d+1924>>1]=0;v[d+1916>>2]=0;v[d+1920>>2]=0;u[d+1936>>1]=0;v[d+1928>>2]=0;v[d+1932>>2]=0;u[d+1948>>1]=0;v[d+1940>>2]=0;v[d+1944>>2]=0;u[d+1960>>1]=0;v[d+1952>>2]=0;v[d+1956>>2]=0;u[d+1972>>1]=0;v[d+1964>>2]=0;v[d+1968>>2]=0;u[d+1984>>1]=0;v[d+1976>>2]=0;v[d+1980>>2]=0;u[d+1996>>1]=0;v[d+1988>>2]=0;v[d+1992>>2]=0;u[d+2008>>1]=0;v[d+2e3>>2]=0;v[d+2004>>2]=0;u[d+2020>>1]=0;v[d+2012>>2]=0;v[d+2016>>2]=0;u[d+2032>>1]=0;v[d+2024>>2]=0;v[d+2028>>2]=0;u[d+2044>>1]=0;v[d+2036>>2]=0;v[d+2040>>2]=0;u[d+2056>>1]=0;v[d+2048>>2]=0;v[d+2052>>2]=0;u[d+2068>>1]=0;v[d+2060>>2]=0;v[d+2064>>2]=0;u[d+2080>>1]=0;v[d+2072>>2]=0;v[d+2076>>2]=0;u[d+2092>>1]=0;v[d+2084>>2]=0;v[d+2088>>2]=0;u[d+2104>>1]=0;v[d+2096>>2]=0;v[d+2100>>2]=0;u[d+2116>>1]=0;v[d+2108>>2]=0;v[d+2112>>2]=0;u[d+2128>>1]=0;v[d+2120>>2]=0;v[d+2124>>2]=0;u[d+2140>>1]=0;v[d+2132>>2]=0;v[d+2136>>2]=0;u[d+2152>>1]=0;v[d+2144>>2]=0;v[d+2148>>2]=0;u[d+2164>>1]=0;v[d+2156>>2]=0;v[d+2160>>2]=0;u[d+2176>>1]=0;v[d+2168>>2]=0;v[d+2172>>2]=0;u[d+2188>>1]=0;v[d+2180>>2]=0;v[d+2184>>2]=0;u[d+2200>>1]=0;v[d+2192>>2]=0;v[d+2196>>2]=0;u[d+2212>>1]=0;v[d+2204>>2]=0;v[d+2208>>2]=0;u[d+2224>>1]=0;v[d+2216>>2]=0;v[d+2220>>2]=0;u[d+2236>>1]=0;v[d+2228>>2]=0;v[d+2232>>2]=0;u[d+2248>>1]=0;v[d+2240>>2]=0;v[d+2244>>2]=0;u[d+2260>>1]=0;v[d+2252>>2]=0;v[d+2256>>2]=0;u[d+2272>>1]=0;v[d+2264>>2]=0;v[d+2268>>2]=0;u[d+2284>>1]=0;v[d+2276>>2]=0;v[d+2280>>2]=0;u[d+2296>>1]=0;v[d+2288>>2]=0;v[d+2292>>2]=0;u[d+2308>>1]=0;v[d+2300>>2]=0;v[d+2304>>2]=0;u[d+2320>>1]=0;v[d+2312>>2]=0;v[d+2316>>2]=0;u[d+2332>>1]=0;v[d+2324>>2]=0;v[d+2328>>2]=0;u[d+2344>>1]=0;v[d+2336>>2]=0;v[d+2340>>2]=0;u[d+2356>>1]=0;v[d+2348>>2]=0;v[d+2352>>2]=0;u[d+2368>>1]=0;v[d+2360>>2]=0;v[d+2364>>2]=0;u[d+2380>>1]=0;v[d+2372>>2]=0;v[d+2376>>2]=0;u[d+2392>>1]=0;v[d+2384>>2]=0;v[d+2388>>2]=0;u[d+2404>>1]=0;v[d+2396>>2]=0;v[d+2400>>2]=0;u[d+2416>>1]=0;v[d+2408>>2]=0;v[d+2412>>2]=0;u[d+2428>>1]=0;v[d+2420>>2]=0;v[d+2424>>2]=0;u[d+2440>>1]=0;v[d+2432>>2]=0;v[d+2436>>2]=0;u[d+2452>>1]=0;v[d+2444>>2]=0;v[d+2448>>2]=0;u[d+2464>>1]=0;v[d+2456>>2]=0;v[d+2460>>2]=0;u[d+2476>>1]=0;v[d+2468>>2]=0;v[d+2472>>2]=0;u[d+2488>>1]=0;v[d+2480>>2]=0;v[d+2484>>2]=0;u[d+2500>>1]=0;v[d+2492>>2]=0;v[d+2496>>2]=0;u[d+2512>>1]=0;v[d+2504>>2]=0;v[d+2508>>2]=0;u[d+2524>>1]=0;v[d+2516>>2]=0;v[d+2520>>2]=0;u[d+2536>>1]=0;v[d+2528>>2]=0;v[d+2532>>2]=0;u[d+2548>>1]=0;v[d+2540>>2]=0;v[d+2544>>2]=0;u[d+2560>>1]=0;v[d+2552>>2]=0;v[d+2556>>2]=0;u[d+2572>>1]=0;v[d+2564>>2]=0;v[d+2568>>2]=0;u[d+2584>>1]=0;v[d+2576>>2]=0;v[d+2580>>2]=0;u[d+2596>>1]=0;v[d+2588>>2]=0;v[d+2592>>2]=0;u[d+2608>>1]=0;v[d+2600>>2]=0;v[d+2604>>2]=0;u[d+2620>>1]=0;v[d+2612>>2]=0;v[d+2616>>2]=0;u[d+2632>>1]=0;v[d+2624>>2]=0;v[d+2628>>2]=0;u[d+2644>>1]=0;v[d+2636>>2]=0;v[d+2640>>2]=0;u[d+2656>>1]=0;v[d+2648>>2]=0;v[d+2652>>2]=0;u[d+2668>>1]=0;v[d+2660>>2]=0;v[d+2664>>2]=0;u[d+2680>>1]=0;v[d+2672>>2]=0;v[d+2676>>2]=0;u[d+2692>>1]=0;v[d+2684>>2]=0;v[d+2688>>2]=0;u[d+2704>>1]=0;v[d+2696>>2]=0;v[d+2700>>2]=0;u[d+2716>>1]=0;v[d+2708>>2]=0;v[d+2712>>2]=0;u[d+2728>>1]=0;v[d+2720>>2]=0;v[d+2724>>2]=0;u[d+2740>>1]=0;v[d+2732>>2]=0;v[d+2736>>2]=0;u[d+2752>>1]=0;v[d+2744>>2]=0;v[d+2748>>2]=0;u[d+2764>>1]=0;v[d+2756>>2]=0;v[d+2760>>2]=0;u[d+2776>>1]=0;v[d+2768>>2]=0;v[d+2772>>2]=0;u[d+2788>>1]=0;v[d+2780>>2]=0;v[d+2784>>2]=0;u[d+2800>>1]=0;v[d+2792>>2]=0;v[d+2796>>2]=0;u[d+2812>>1]=0;v[d+2804>>2]=0;v[d+2808>>2]=0;u[d+2824>>1]=0;v[d+2816>>2]=0;v[d+2820>>2]=0;u[d+2836>>1]=0;v[d+2828>>2]=0;v[d+2832>>2]=0;u[d+2848>>1]=0;v[d+2840>>2]=0;v[d+2844>>2]=0;u[d+2860>>1]=0;v[d+2852>>2]=0;v[d+2856>>2]=0;u[d+2872>>1]=0;v[d+2864>>2]=0;v[d+2868>>2]=0;u[d+2884>>1]=0;v[d+2876>>2]=0;v[d+2880>>2]=0;u[d+2896>>1]=0;v[d+2888>>2]=0;v[d+2892>>2]=0;u[d+2908>>1]=0;v[d+2900>>2]=0;v[d+2904>>2]=0;u[d+2920>>1]=0;v[d+2912>>2]=0;v[d+2916>>2]=0;u[d+2932>>1]=0;v[d+2924>>2]=0;v[d+2928>>2]=0;u[d+2944>>1]=0;v[d+2936>>2]=0;v[d+2940>>2]=0;u[d+2956>>1]=0;v[d+2948>>2]=0;v[d+2952>>2]=0;u[d+2968>>1]=0;v[d+2960>>2]=0;v[d+2964>>2]=0;u[d+2980>>1]=0;v[d+2972>>2]=0;v[d+2976>>2]=0;u[d+2992>>1]=0;v[d+2984>>2]=0;v[d+2988>>2]=0;u[d+3004>>1]=0;v[d+2996>>2]=0;v[d+3e3>>2]=0;u[d+3016>>1]=0;v[d+3008>>2]=0;v[d+3012>>2]=0;u[d+3028>>1]=0;v[d+3020>>2]=0;v[d+3024>>2]=0;u[d+3040>>1]=0;v[d+3032>>2]=0;v[d+3036>>2]=0;u[d+3052>>1]=0;v[d+3044>>2]=0;v[d+3048>>2]=0;u[d+3064>>1]=0;v[d+3056>>2]=0;v[d+3060>>2]=0;u[d+3076>>1]=0;v[d+3068>>2]=0;v[d+3072>>2]=0;u[d+3088>>1]=0;v[d+3080>>2]=0;v[d+3084>>2]=0;u[d+24>>1]=0;v[d+16>>2]=0;v[d+20>>2]=0;u[d+8>>1]=0;v[d>>2]=0;v[d+4>>2]=0;v[d+32>>2]=f;e=e-f|0;M=e>>>3|0;v[d+36>>2]=M;b=0;J=d;if(e>>>0>=16){h=w[f|0];o=h;l=h;r=w[f+1|0];i=r;k=i;H=1;b=f;e=w[b+3|0];s=e;n=e;j=w[b+2|0];d=j;g=d;while(1){e=e&255;s=e>>>0>s>>>0?e:s;n=(e|0)<(n|0)?e:n;d=d>>>0>>0?j:d;g=(g|0)>(j|0)?j:g;k=k>>>0>>0?r:k;i=(i|0)>(r|0)?r:i;l=h>>>0>l>>>0?h:l;o=(h|0)<(o|0)?h:o;H=H+1|0;if((M|0)!=(H|0)){b=b+8|0;e=w[b+3|0];j=w[b+2|0];r=w[b+1|0];h=w[b|0];continue}break}b=k-i|0;h=l-o|0;e=(b|0)>(h|0);i=d-g|0;b=e?b:h;d=(i|0)>(b|0);g=s-n|0;b=d?i:b;h=(g|0)>(b|0);b=h?g:b;e=h?3:d?2:e}else{e=0}t[J+41|0]=e;t[m+40|0]=b;b=0;d=1;while(1){J=b+1|0;i=J&3;Pa:{if(b>>>0<3){b=0;e=m+32|0;l=-1;o=0;break Pa}k=J&-4;l=-1;b=0;e=m+32|0;o=0;while(1){h=w[e+8|0];g=h>>>0>o>>>0;n=g?b:l;h=g?h:o;g=w[e+20|0];l=h>>>0>>0;o=l?b|1:n;h=l?g:h;g=w[e+32|0];l=h>>>0>>0;h=l?g:h;g=w[e+44|0];n=h>>>0>>0;l=n?b|3:l?b|2:o;o=n?g:h;e=e+48|0;b=b+4|0;k=k-4|0;if(k){continue}break}}if(i){while(1){h=w[e+8|0];g=h>>>0>o>>>0;l=g?b:l;o=g?h:o;e=e+12|0;b=b+1|0;i=i-1|0;if(i){continue}break}}Qa:{if((l|0)<0){i=d;break Qa}b=0;da=0;ba=Qb-1024|0;Qb=ba;ea=m+32|0;aa=ea+B(l,12)|0;g=aa;if(w[g+8|0]){j=w[g+9|0];h=ic(ba,0,1024);n=v[g+4>>2];Ra:{if(!n){break Ra}l=n&3;e=v[g>>2];if(n-1>>>0>=3){k=n&-4;while(1){i=e+j|0;o=h+(w[i|0]<<2)|0;v[o>>2]=v[o>>2]+1;o=h+(w[i+8|0]<<2)|0;v[o>>2]=v[o>>2]+1;o=h+(w[i+16|0]<<2)|0;v[o>>2]=v[o>>2]+1;i=h+(w[i+24|0]<<2)|0;v[i>>2]=v[i>>2]+1;e=e+32|0;k=k-4|0;if(k){continue}break}}if(!l){break Ra}while(1){i=h+(w[e+j|0]<<2)|0;v[i>>2]=v[i>>2]+1;e=e+8|0;l=l-1|0;if(l){continue}break}}l=n>>>1|0;e=0;while(1){i=b;b=b+1|0;e=v[h+(i<<2)>>2]+e|0;if(l>>>0>e>>>0){continue}break}h=v[g>>2];b=h+(n<<3)|0;Sa:{if(!n){e=h;h=b;break Sa}e=i-((e|0)==(n|0))|0;while(1){Ta:{if(e>>>0>=w[h+j|0]){h=h+8|0;break Ta}i=v[h>>2];l=v[h+4>>2];b=b-8|0;n=v[b+4>>2];v[h>>2]=v[b>>2];v[h+4>>2]=n;v[b>>2]=i;v[b+4>>2]=l}if((b|0)!=(h|0)){continue}break}e=v[g>>2]}v[m+16>>2]=e;e=v[g>>2];b=h-e>>>3|0;v[m+20>>2]=b;h=e+(b<<3)|0;v[m>>2]=h;ca=v[g+4>>2]-b|0;v[m+4>>2]=ca;e=0;b=0;fa=v[m+20>>2];if(fa>>>0>=2){e=v[m+16>>2];i=w[e|0];r=i;n=i;g=w[e+1|0];l=g;k=g;M=1;b=w[e+3|0];j=b;o=b;W=w[e+2|0];s=W;H=s;while(1){b=b&255;j=b>>>0>j>>>0?b:j;o=(b|0)<(o|0)?b:o;s=s>>>0>>0?W:s;H=(H|0)>(W|0)?W:H;k=g>>>0>k>>>0?g:k;l=(g|0)<(l|0)?g:l;n=i>>>0>n>>>0?i:n;r=(i|0)<(r|0)?i:r;M=M+1|0;if((fa|0)!=(M|0)){e=e+8|0;b=w[e+3|0];W=w[e+2|0];g=w[e+1|0];i=w[e|0];continue}break}e=k-l|0;i=n-r|0;b=(e|0)>(i|0);g=s-H|0;e=b?e:i;i=(g|0)>(e|0);l=j-o|0;e=i?g:e;g=(l|0)>(e|0);e=g?l:e;b=g?3:i?2:b}t[m+24|0]=e;t[m+25|0]=b;e=0;if(ca>>>0>=2){M=w[h|0];b=M;r=b;i=w[h+1|0];n=i;l=i;H=1;e=w[h+3|0];k=e;j=e;g=w[h+2|0];o=g;s=g;while(1){e=e&255;k=e>>>0>k>>>0?e:k;j=(e|0)<(j|0)?e:j;o=g>>>0>o>>>0?g:o;s=(g|0)<(s|0)?g:s;l=i>>>0>l>>>0?i:l;n=(i|0)<(n|0)?i:n;e=M&255;r=e>>>0>r>>>0?e:r;b=(b|0)>(e|0)?e:b;H=H+1|0;if((ca|0)!=(H|0)){h=h+8|0;e=w[h+3|0];g=w[h+2|0];i=w[h+1|0];M=w[h|0];continue}break}e=l-n|0;h=r-b|0;b=(e|0)>(h|0);i=o-s|0;h=b?e:h;e=(i|0)>(h|0);g=k-j|0;i=e?i:h;h=(g|0)>(i|0);da=h?g:i;e=h?3:e?2:b}t[m+8|0]=da;t[m+9|0]=e}Qb=ba+1024|0;u[aa+8>>1]=x[m+24>>1];b=v[m+20>>2];v[aa>>2]=v[m+16>>2];v[aa+4>>2]=b;b=B(d,12)+ea|0;u[b+8>>1]=x[m+8>>1];e=v[m+4>>2];v[b>>2]=v[m>>2];v[b+4>>2]=e;e=d>>>0<254;b=J;i=d+1|0;d=i;if(e){continue}}break}b=0;while(1){d=b+1|0;n=(d<<2)+ga|0;e=0;g=(m+32|0)+B(b,12)|0;h=g;b=v[h>>2];Ua:{if(!b){break Ua}if(!w[h+8|0]){e=v[b>>2];break Ua}I=+w[b+3|0];K=+w[b+2|0];N=+w[b+1|0];P=+w[b|0];h=v[h+4>>2];Va:{if(h>>>0<2){break Va}I=I+I;K=K+K;N=N+N;P=P+P;if((h|0)==2){break Va}k=h&1;Wa:{if((h|0)==3){e=b;break Wa}l=h-2&-2;while(1){I=I+ +w[b+11|0]+ +w[b+19|0];K=K+ +w[b+10|0]+ +w[b+18|0];N=N+ +w[b+9|0]+ +w[b+17|0];P=P+ +w[b+8|0]+ +w[b+16|0];e=b+16|0;b=e;l=l-2|0;if(l){continue}break}}if(!k){break Va}P=P+ +w[e+8|0];I=I+ +w[e+11|0];K=K+ +w[e+10|0];N=N+ +w[e+9|0]}X=K;K=+(h>>>0);X=X/K+.5;Xa:{if(X<4294967296&X>=0){b=~~X>>>0;break Xa}b=0}e=b<<16;I=I/K+.5;Ya:{if(I<4294967296&I>=0){b=~~I>>>0;break Ya}b=0}e=e|b<<24;I=N/K+.5;Za:{if(I<4294967296&I>=0){b=~~I>>>0;break Za}b=0}e=e|b<<8;I=P/K+.5;if(I<4294967296&I>=0){e=e|~~I>>>0}}v[n>>2]=e;if(v[g+4>>2]){b=v[g>>2];e=0;while(1){t[v[b+4>>2]]=d;b=b+8|0;e=e+1|0;if(e>>>0>2]){continue}break}}b=d;if((i|0)!=(d|0)){continue}break}}dc(f)}Qb=m+3104|0;f=v[v[D+16>>2]>>2];while(1){b=v[v[D+28>>2]+(q<<2)>>2];v[D+8>>2]=b;v[D+4>>2]=b;lB(G,q&255,D+4|0);q=q+1|0;if((q|0)!=256){continue}break}l=v[c+20>>2];if(!(!l|!v[c+16>>2])){h=v[f>>2];d=0;b=1;while(1){e=0;q=0;if(b){while(1){wn(G,q,d,w[h|0]);h=h+1|0;e=v[c+16>>2];q=q+1|0;if(e>>>0>q>>>0){continue}break}l=v[c+20>>2]}b=e;d=d+1|0;if(l>>>0>d>>>0){continue}break}}dc(F);b=v[D+28>>2];if(b){dc(b)}if(f){b=v[f>>2];if(b){dc(b)}dc(f)}v[G+396>>2]=0;v[G+392>>2]=0;Ub[v[v[p>>2]+44>>2]](p,33)|0;Ub[v[v[p>>2]+44>>2]](p,249)|0;t[G+976|0]=v[G+336>>2]!=-1;e=w[G+492|0];b=u[G+360>>1];t[G+977|0]=b;t[G+978|0]=b>>>8;t[G+979|0]=v[G+336>>2];t[G+976|0]=w[G+976|0]|e<<2&28;b=w[G+494|0]?b:b<<8|(b&65280)>>>8;t[G+977|0]=b;t[G+978|0]=b>>>8;Ub[v[v[p>>2]+44>>2]](p,4)|0;Ub[v[v[p>>2]+16>>2]](p,G+976|0,4,1)|0;b=(w[G+977|0]|w[G+978|0]<<8)<<16>>16;b=w[G+494|0]?b:b<<8|(b&65280)>>>8;t[G+977|0]=b;t[G+978|0]=b>>>8;Ub[v[v[p>>2]+44>>2]](p,0)|0;HA(G,p,1);Ub[v[v[p>>2]+44>>2]](p,59)|0;b=v[D+16>>2];if(b){v[D+20>>2]=b;dc(b)}b=v[D+32>>2];if(b){v[D+36>>2]=b;dc(b)}Qs(G);Qb=D+1184|0;e=1;break Ia}_a:{if(v[c+356>>2]<2){break _a}e=v[c+972>>2];if(!e){break _a}h=v[c+356>>2];g=Qb-1136|0;Qb=g;$a:{if(!b){Xc(c+72|0,5365,255);e=0;break $a}ab:{if(!e|(h|0)<1){break ab}d=v[e>>2];if(!d){break ab}f=e;bb:{while(1){if(!v[d+4>>2]){Xc(c+72|0,15909,255);e=0;break $a}if(!v[v[f>>2]+44>>2]){Xc(c+72|0,18389,255);e=0;break $a}l=l+1|0;if((h|0)==(l|0)){break bb}f=e+(l<<2)|0;d=v[f>>2];if(d){continue}break}Xc(c+72|0,12995,255);e=0;break $a}f=Sv(g+8|0);Fi(f,v[e>>2]);dJ(f,b);d=v[c+1120>>2];if((d|0)!=1){v[f+1120>>2]=((d|0)>1?d:1)-1;Ub[v[v[b>>2]+44>>2]](b,33)|0;Ub[v[v[b>>2]+44>>2]](b,255)|0;Ub[v[v[b>>2]+44>>2]](b,11)|0;Ub[v[v[b>>2]+16>>2]](b,25838,11,1)|0;Ub[v[v[b>>2]+44>>2]](b,3)|0;Ub[v[v[b>>2]+44>>2]](b,1)|0;d=v[f+1120>>2];Ub[v[v[b>>2]+44>>2]](b,d&255)|0;Ub[v[v[b>>2]+44>>2]](b,d>>>8&255)|0;Ub[v[v[b>>2]+44>>2]](b,0)|0}i=w[f+492|0];t[f+492|0]=w[c+492|0];Ub[v[v[b>>2]+44>>2]](b,33)|0;Ub[v[v[b>>2]+44>>2]](b,249)|0;t[f+976|0]=v[f+336>>2]!=-1;l=w[f+492|0];d=u[f+360>>1];t[f+977|0]=d;t[f+978|0]=d>>>8;t[f+979|0]=v[f+336>>2];t[f+976|0]=w[f+976|0]|l<<2&28;d=w[f+494|0]?d:d<<8|(d&65280)>>>8;t[f+977|0]=d;t[f+978|0]=d>>>8;Ub[v[v[b>>2]+44>>2]](b,4)|0;Ub[v[v[b>>2]+16>>2]](b,f+976|0,4,1)|0;d=(w[f+977|0]|w[f+978|0]<<8)<<16>>16;d=w[f+494|0]?d:d<<8|(d&65280)>>>8;t[f+977|0]=d;t[f+978|0]=d>>>8;Ub[v[v[b>>2]+44>>2]](b,0)|0;t[f+492|0]=i;d=Bc(v[c+1116>>2]);d=d>>>0<255?d:255;if(d){Ub[v[v[b>>2]+44>>2]](b,33)|0;Ub[v[v[b>>2]+44>>2]](b,254)|0;Ub[v[v[b>>2]+44>>2]](b,d&255)|0;Ub[v[v[b>>2]+16>>2]](b,v[c+1116>>2],d,1)|0;Ub[v[v[b>>2]+44>>2]](b,0)|0}HA(f,b,0);if((h|0)>=2){l=f+976|0;d=1;while(1){Fi(f,v[e+(d<<2)>>2]);n=w[f+492|0];t[f+492|0]=w[c+492|0];Ub[v[v[b>>2]+44>>2]](b,33)|0;Ub[v[v[b>>2]+44>>2]](b,249)|0;t[f+976|0]=v[f+336>>2]!=-1;q=w[f+492|0];i=u[f+360>>1];t[f+977|0]=i;t[f+978|0]=i>>>8;t[f+979|0]=v[f+336>>2];t[f+976|0]=w[f+976|0]|q<<2&28;i=w[f+494|0]?i:i<<8|(i&65280)>>>8;t[f+977|0]=i;t[f+978|0]=i>>>8;Ub[v[v[b>>2]+44>>2]](b,4)|0;Ub[v[v[b>>2]+16>>2]](b,l,4,1)|0;i=(w[f+977|0]|w[f+978|0]<<8)<<16>>16;i=w[f+494|0]?i:i<<8|(i&65280)>>>8;t[f+977|0]=i;t[f+978|0]=i>>>8;Ub[v[v[b>>2]+44>>2]](b,0)|0;t[f+492|0]=n;HA(f,b,0);d=d+1|0;if((h|0)!=(d|0)){continue}break}}Ub[v[v[b>>2]+44>>2]](b,59)|0;Qs(f);e=1;break $a}Xc(c+72|0,11986,255);e=0}Qb=g+1136|0;break Ia}dJ(c,b);Ub[v[v[b>>2]+44>>2]](b,33)|0;Ub[v[v[b>>2]+44>>2]](b,249)|0;t[c+976|0]=v[c+336>>2]!=-1;f=w[c+492|0];e=u[c+360>>1];t[c+977|0]=e;t[c+978|0]=e>>>8;t[c+979|0]=v[c+336>>2];t[c+976|0]=w[c+976|0]|f<<2&28;e=w[c+494|0]?e:e<<8|(e&65280)>>>8;t[c+977|0]=e;t[c+978|0]=e>>>8;Ub[v[v[b>>2]+44>>2]](b,4)|0;e=1;Ub[v[v[b>>2]+16>>2]](b,c+976|0,4,1)|0;f=(w[c+977|0]|w[c+978|0]<<8)<<16>>16;f=w[c+494|0]?f:f<<8|(f&65280)>>>8;t[c+977|0]=f;t[c+978|0]=f>>>8;Ub[v[v[b>>2]+44>>2]](b,0)|0;f=Bc(v[c+1116>>2]);f=f>>>0<255?f:255;if(f){Ub[v[v[b>>2]+44>>2]](b,33)|0;Ub[v[v[b>>2]+44>>2]](b,254)|0;Ub[v[v[b>>2]+44>>2]](b,f&255)|0;Ub[v[v[b>>2]+16>>2]](b,v[c+1116>>2],f,1)|0;Ub[v[v[b>>2]+44>>2]](b,0)|0}HA(c,b,0);Ub[v[v[b>>2]+44>>2]](b,59)|0}}if(e){break b}break a;case 3:c=fc(976);E=gf(c,4);v[c>>2]=39428;Fi(E,a);p=Qb-304|0;Qb=p;k=jc(40);v[k>>2]=0;v[299999]=0;o=b;f=xk(c,b);e=v[299999];v[299999]=0;d=-1;i=4;cb:{db:{eb:{fb:{if(!e){break fb}g=v[3e5];if(!g){break fb}d=sc(v[e>>2],k,4);if(!d){break eb}_(g|0)}e=O()|0;gb:{if((d|0)==1){break gb}if(f){break db}v[299999]=0;xe(c,0);e=v[299999];v[299999]=0;d=-1;hb:{if(!e){break hb}g=v[3e5];if(!g){break hb}d=sc(v[e>>2],k,4);if(!d){break eb}_(g|0)}e=O()|0;if((d|0)==1){break gb}v[299999]=0;f=Z(76,3253,0,0,0)|0;e=v[299999];v[299999]=0;d=-1;ib:{if(!e){break ib}g=v[3e5];if(!g){break ib}d=sc(v[e>>2],k,4);if(!d){break eb}_(g|0)}e=O()|0;h=p+48|0;if((d|0)==1){break gb}v[p+44>>2]=f;if(!f){d=0;v[299999]=0;Xc(c+72|0,5666,255);e=v[299999];v[299999]=0;b=-1;jb:{if(!e){break jb}g=v[3e5];if(!g){break jb}b=sc(v[e>>2],k,4);if(!b){break eb}_(g|0)}e=O()|0;if((b|0)!=1){break cb}break gb}v[299999]=0;b=S(55,f|0)|0;e=v[299999];v[299999]=0;d=-1;kb:{if(!e){break kb}g=v[3e5];if(!g){break kb}d=sc(v[e>>2],k,4);if(!d){break eb}_(g|0)}e=O()|0;if((d|0)==1){break gb}v[p+40>>2]=b;if(!b){v[299999]=0;V(77,p+44|0,0);e=v[299999];v[299999]=0;d=-1;lb:{if(!e){break lb}g=v[3e5];if(!g){break lb}d=sc(v[e>>2],k,4);if(!d){break eb}_(g|0)}e=O()|0;if((d|0)==1){break gb}d=0;v[299999]=0;Xc(c+72|0,10029,255);e=v[299999];v[299999]=0;b=-1;mb:{if(!e){break mb}g=v[3e5];if(!g){break mb}b=sc(v[e>>2],k,4);if(!b){break eb}_(g|0)}e=O()|0;if((b|0)!=1){break cb}break gb}e=0;k=Ue(f,1,k,4);i=O()|0}nb:while(1){if(e){b=v[v[p+40>>2]+16>>2];if(b){dc(b)}v[299999]=0;V(77,p+44|0,p+40|0);e=v[299999];v[299999]=0;d=-1;ob:{if(!e){break ob}g=v[3e5];if(!g){break ob}d=sc(v[e>>2],k,i);if(!d){break eb}_(g|0)}e=O()|0;if((d|0)==1){continue}v[299999]=0;Xc(c+72|0,18519,255);e=v[299999];v[299999]=0;d=-1;pb:{if(!e){break pb}g=v[3e5];if(!g){break pb}d=sc(v[e>>2],k,i);if(!d){break eb}_(g|0)}e=O()|0;if((d|0)!=1){break db}continue}v[299999]=0;$(78,f|0,o|0,79,80);e=v[299999];v[299999]=0;d=-1;qb:{if(!e){break qb}g=v[3e5];if(!g){break qb}d=sc(v[e>>2],k,i);if(!d){break eb}_(g|0)}e=O()|0;if((d|0)==1){continue}v[299999]=0;b=v[c+16>>2];e=v[299999];v[299999]=0;d=-1;rb:{if(!e){break rb}g=v[3e5];if(!g){break rb}d=sc(v[e>>2],k,i);if(!d){break eb}_(g|0)}e=O()|0;if((d|0)==1){continue}v[v[p+40>>2]>>2]=b;v[299999]=0;b=v[c+20>>2];e=v[299999];v[299999]=0;d=-1;sb:{if(!e){break sb}g=v[3e5];if(!g){break sb}d=sc(v[e>>2],k,i);if(!d){break eb}_(g|0)}e=O()|0;if((d|0)==1){continue}v[v[p+40>>2]+4>>2]=b;v[299999]=0;b=x[c+26>>1];e=v[299999];v[299999]=0;d=-1;tb:{if(!e){break tb}g=v[3e5];if(!g){break tb}d=sc(v[e>>2],k,i);if(!d){break eb}_(g|0)}e=O()|0;if((d|0)==1){continue}t[v[p+40>>2]+30|0]=b;v[299999]=0;b=x[c+26>>1];e=v[299999];v[299999]=0;d=-1;ub:{if(!e){break ub}g=v[3e5];if(!g){break ub}d=sc(v[e>>2],k,i);if(!d){break eb}_(g|0)}e=O()|0;if((d|0)==1){continue}t[v[p+40>>2]+29|0]=b>>>0>8?3:1;v[299999]=0;l=x[c+26>>1];e=v[299999];v[299999]=0;d=-1;vb:{if(!e){break vb}g=v[3e5];if(!g){break vb}d=sc(v[e>>2],k,i);if(!d){break eb}_(g|0)}e=O()|0;if((d|0)==1){continue}b=v[p+40>>2];u[b+26>>1]=0;v[b+8>>2]=0;t[b+24|0]=(l>>>0)/w[b+29|0];v[299999]=0;b=Fm(c,4);e=v[299999];v[299999]=0;d=-1;wb:{if(!e){break wb}g=v[3e5];if(!g){break wb}d=sc(v[e>>2],k,i);if(!d){break eb}_(g|0)}e=O()|0;if((d|0)==1){continue}t[v[p+40>>2]+28|0]=b&1;d=-1;e=-1;b=(b&14)-2|0;if(b>>>0<=4){e=v[(b<<2)+54264>>2]}v[299999]=0;if(f){v[f+280>>2]=e;v[f+204>>2]=v[f+204>>2]|2}e=v[299999];v[299999]=0;xb:{if(!e){break xb}g=v[3e5];if(!g){break xb}d=sc(v[e>>2],k,i);if(!d){break eb}_(g|0)}e=O()|0;if((d|0)==1){continue}v[299999]=0;J=Uo(c);e=v[299999];v[299999]=0;d=-1;yb:{if(!e){break yb}g=v[3e5];if(!g){break yb}d=sc(v[e>>2],k,i);if(!d){break eb}_(g|0)}e=O()|0;if((d|0)==1){continue}v[299999]=0;b=v[c+44>>2];e=v[299999];v[299999]=0;d=-1;zb:{if(!e){break zb}g=v[3e5];if(!g){break zb}d=sc(v[e>>2],k,i);if(!d){break eb}_(g|0)}e=O()|0;if((d|0)==1){continue}t[v[p+40>>2]+25|0]=b?J?0:3:2;v[299999]=0;b=v[c+964>>2];e=v[299999];v[299999]=0;d=-1;Ab:{if(!e){break Ab}g=v[3e5];if(!g){break Ab}d=sc(v[e>>2],k,i);if(!d){break eb}_(g|0)}e=O()|0;if((d|0)==1){continue}if(b){b=v[p+40>>2];t[b+24|0]=8;t[b+25|0]=w[b+25|0]|4;t[b+29|0]=w[b+29|0]+1;t[b+30|0]=w[b+30|0]+8}u[p+32>>1]=x[27130];b=x[27128]|x[27129]<<16;v[p+24>>2]=x[27126]|x[27127]<<16;v[p+28>>2]=b;v[299999]=0;HC(p+20|0,c);e=v[299999];v[299999]=0;d=-1;Bb:{if(!e){break Bb}g=v[3e5];if(!g){break Bb}d=sc(v[e>>2],k,i);if(!d){break eb}_(g|0)}e=O()|0;if((d|0)==1){continue}if(v[c+336>>2]>=0){u[p+30>>1]=w[p+20|0];u[p+28>>1]=w[p+21|0];u[p+26>>1]=w[p+22|0]}v[299999]=0;ID(f,v[p+40>>2],p+24|0);e=v[299999];v[299999]=0;d=-1;Cb:{if(!e){break Cb}g=v[3e5];if(!g){break Cb}d=sc(v[e>>2],k,i);if(!d){break eb}_(g|0)}e=O()|0;if((d|0)==1){continue}b=v[c+40>>2];e=v[c+36>>2];v[299999]=0;HD(f,v[p+40>>2],e,b,1);e=v[299999];v[299999]=0;d=-1;Db:{if(!e){break Db}g=v[3e5];if(!g){break Db}d=sc(v[e>>2],k,i);if(!d){break eb}_(g|0)}e=O()|0;if((d|0)==1){continue}b=v[p+40>>2];e=w[b+28|0];d=w[b+25|0];g=w[b+24|0];l=v[b+4>>2];n=v[b>>2];v[299999]=0;Jb(87,f|0,b|0,n|0,l|0,g|0,d|0,e|0,0,0);e=v[299999];v[299999]=0;d=-1;Eb:{if(!e){break Eb}g=v[3e5];if(!g){break Eb}d=sc(v[e>>2],k,i);if(!d){break eb}_(g|0)}e=O()|0;if((d|0)==1){continue}e=v[c+336>>2];Fb:{if((e|0)<0){break Fb}b=v[p+40>>2];u[b+22>>1]=1;t[b+80|0]=e;v[b+76>>2]=h;v[b+8>>2]=v[b+8>>2]|16;u[b+82>>1]=w[p+22|0];u[b+84>>1]=w[p+21|0];d=w[p+20|0];u[b+88>>1]=e&255;u[b+86>>1]=d;if(!e|(J|!v[c+44>>2])){break Fb}v[299999]=0;FJ(c,0,e&255);e=v[299999];v[299999]=0;d=-1;Gb:{if(!e){break Gb}g=v[3e5];if(!g){break Gb}d=sc(v[e>>2],k,i);if(!d){break eb}_(g|0)}e=O()|0;if((d|0)==1){continue}}v[299999]=0;b=v[c+4>>2];l=v[c+44>>2];e=v[299999];v[299999]=0;d=-1;Hb:{if(!e){break Hb}g=v[3e5];if(!g){break Hb}d=sc(v[e>>2],k,i);if(!d){break eb}_(g|0)}e=O()|0;if((d|0)==1){continue}Ib:{if(!(b?l?b+40|0:0:0)){break Ib}if(!J){b=v[p+40>>2];v[b+8>>2]=v[b+8>>2]|8}v[299999]=0;b=v[c+48>>2];e=v[299999];v[299999]=0;d=-1;Jb:{if(!e){break Jb}g=v[3e5];if(!g){break Jb}d=sc(v[e>>2],k,i);if(!d){break eb}_(g|0)}e=O()|0;if((d|0)==1){continue}if(!b){v[299999]=0;b=v[c+44>>2];e=v[299999];v[299999]=0;d=-1;Kb:{if(!e){break Kb}g=v[3e5];if(!g){break Kb}d=sc(v[e>>2],k,i);if(!d){break eb}_(g|0)}e=O()|0;if((d|0)==1){continue}}Lb:{if(!w[c+389|0]){d=v[p+40>>2];break Lb}m=0;if((b|0)>0){d=0;while(1){v[299999]=0;ng(p+16|0,c,d&255);e=v[299999];v[299999]=0;j=-1;Mb:{if(!e){break Mb}g=v[3e5];if(!g){break Mb}j=sc(v[e>>2],k,i);if(!j){break eb}_(g|0)}e=O()|0;if((j|0)==1){continue nb}t[(p+48|0)+m|0]=w[p+19|0];d=d+1|0;m=d&65535;if((m|0)<(b|0)){continue}break}}d=v[p+40>>2];u[d+22>>1]=b;v[d+76>>2]=h;v[d+8>>2]=v[d+8>>2]|16}v[299999]=0;j=-1;l=S(15,(ha=-1,ia=Bib(b,0,3,0),ja=Tb,ja?ha:ia)|0)|0;e=v[299999];v[299999]=0;Nb:{if(!e){break Nb}g=v[3e5];if(!g){break Nb}j=sc(v[e>>2],k,i);if(!j){break eb}_(g|0)}e=O()|0;if((j|0)==1){continue}u[d+20>>1]=b;v[d+16>>2]=l;if((b|0)<1){break Ib}v[299999]=0;$A(c,0,l,l+1|0,l+2|0);e=v[299999];v[299999]=0;d=-1;Ob:{if(!e){break Ob}g=v[3e5];if(!g){break Ob}d=sc(v[e>>2],k,i);if(!d){break eb}_(g|0)}e=O()|0;if((d|0)==1){continue}d=1;if((b|0)==1){break Ib}while(1){e=v[v[p+40>>2]+16>>2];v[299999]=0;e=e+B(d,3)|0;$A(c,d&255,e,e+1|0,e+2|0);e=v[299999];v[299999]=0;j=-1;Pb:{if(!e){break Pb}g=v[3e5];if(!g){break Pb}j=sc(v[e>>2],k,i);if(!j){break eb}_(g|0)}e=O()|0;if((j|0)==1){continue nb}d=d+1|0;if((d|0)!=(b|0)){continue}break}}v[299999]=0;b=v[c+964>>2];e=v[299999];v[299999]=0;d=-1;Qb:{if(!e){break Qb}g=v[3e5];if(!g){break Qb}d=sc(v[e>>2],k,i);if(!d){break eb}_(g|0)}e=O()|0;if((d|0)==1){continue}Rb:{if(!(x[c+26>>1]==24&(b|0)!=0)){break Rb}b=0;if(v[c+336>>2]<0){break Rb}g=v[c+20>>2];if((g|0)<1){break Rb}e=v[c+16>>2];if((e|0)<1){break Rb}while(1){d=0;if((e|0)>0){while(1){v[299999]=0;Xo(p+12|0,c,d,b,0);e=v[299999];v[299999]=0;j=-1;Sb:{if(!e){break Sb}g=v[3e5];if(!g){break Sb}j=sc(v[e>>2],k,i);if(!j){break eb}_(g|0)}e=O()|0;if((j|0)==1){continue nb}if(v[p+12>>2]==v[p+20>>2]){v[299999]=0;gh(c,d,b,0);e=v[299999];v[299999]=0;j=-1;Tb:{if(!e){break Tb}g=v[3e5];if(!g){break Tb}j=sc(v[e>>2],k,i);if(!j){break eb}_(g|0)}e=O()|0;if((j|0)==1){continue nb}}e=v[c+16>>2];d=d+1|0;if((e|0)>(d|0)){continue}break}g=v[c+20>>2]}b=b+1|0;if((g|0)>(b|0)){continue}break}}d=v[p+40>>2];b=B(B(v[d>>2],w[d+29|0]),w[d+24|0]>>>3|0);e=v[c+52>>2];F=b>>>0>e>>>0?b:e;v[d+12>>2]=F;v[299999]=0;j=S(15,F|0)|0;e=v[299999];v[299999]=0;b=-1;Ub:{if(!e){break Ub}g=v[3e5];if(!g){break Ub}b=sc(v[e>>2],k,i);if(!b){break eb}_(g|0)}e=O()|0;if((b|0)==1){continue}v[299999]=0;V(93,f|0,d|0);e=v[299999];v[299999]=0;d=-1;Vb:{if(!e){break Vb}g=v[3e5];if(!g){break Vb}d=sc(v[e>>2],k,i);if(!d){break eb}_(g|0)}e=O()|0;if((d|0)==1){continue}v[299999]=0;b=1;if(!(!f|!w[f+398|0])){v[f+208>>2]=v[f+208>>2]|2;b=7}e=v[299999];v[299999]=0;d=-1;Wb:{if(!e){break Wb}g=v[3e5];if(!g){break Wb}d=sc(v[e>>2],k,i);if(!d){break eb}_(g|0)}e=O()|0;if((d|0)==1){continue}Xb:{if((b|0)<1){break Xb}l=b;H=0;if(!J){while(1){v[299999]=0;q=v[c+20>>2];e=v[299999];v[299999]=0;d=-1;Yb:{if(!e){break Yb}g=v[3e5];if(!g){break Yb}d=sc(v[e>>2],k,i);if(!d){break eb}_(g|0)}e=O()|0;if((d|0)==1){continue nb}v[299999]=0;b=xe(c,0);e=v[299999];v[299999]=0;d=-1;Zb:{if(!e){break Zb}g=v[3e5];if(!g){break Zb}d=sc(v[e>>2],k,i);if(!d){break eb}_(g|0)}e=O()|0;if((d|0)==1){continue nb}v[299999]=0;m=v[c+52>>2];e=v[299999];v[299999]=0;d=-1;_b:{if(!e){break _b}g=v[3e5];if(!g){break _b}d=sc(v[e>>2],k,i);if(!d){break eb}_(g|0)}e=O()|0;if((d|0)==1){continue nb}v[299999]=0;s=v[c+20>>2];e=v[299999];v[299999]=0;d=-1;$b:{if(!e){break $b}g=v[3e5];if(!g){break $b}d=sc(v[e>>2],k,i);if(!d){break eb}_(g|0)}e=O()|0;if((d|0)==1){continue nb}n=v[c+20>>2]-1|0;s=b+B(m,s-1|0)|0;while(1){v[299999]=0;b=v[c+964>>2];e=v[299999];v[299999]=0;d=-1;ac:{if(!e){break ac}g=v[3e5];if(!g){break ac}d=sc(v[e>>2],k,i);if(!d){break eb}_(g|0)}e=O()|0;if((d|0)==1){continue nb}bc:{cc:{if(b){b=v[c+16>>2];if((b|0)<=0){break cc}while(1){v[299999]=0;m=-1;d=b-1|0;zm(p+8|0,c,d,n,1);e=v[299999];v[299999]=0;dc:{if(!e){break dc}g=v[3e5];if(!g){break dc}m=sc(v[e>>2],k,i);if(!m){break eb}_(g|0)}e=O()|0;if((m|0)==1){continue nb}g=w[p+9|0];m=w[p+8|0];r=B(d,w[v[p+40>>2]+29|0]);e=r+j|0;t[e|0]=w[p+10|0];t[e+2|0]=m;t[e+1|0]=g;v[299999]=0;D=Ik(c,d,n);e=v[299999];v[299999]=0;m=-1;ec:{if(!e){break ec}g=v[3e5];if(!g){break ec}m=sc(v[e>>2],k,i);if(!m){break eb}_(g|0)}e=O()|0;if((m|0)==1){continue nb}t[j+(r+3|0)|0]=D;e=(b|0)>1;b=d;if(e){continue}break}break cc}if(!(!s|(F|0)<1)){v[299999]=0;d=v[c+52>>2];e=v[299999];v[299999]=0;b=-1;fc:{if(!e){break fc}g=v[3e5];if(!g){break fc}b=sc(v[e>>2],k,i);if(!b){break eb}_(g|0)}e=O()|0;if((b|0)==1){continue nb}gc(j,s,(d|0)<(F|0)?d:F)}if(w[v[p+40>>2]+25|0]==2){v[299999]=0;Vo(c,j,F);e=v[299999];v[299999]=0;d=-1;gc:{if(!e){break gc}g=v[3e5];if(!g){break gc}d=sc(v[e>>2],k,i);if(!d){break eb}_(g|0)}e=O()|0;if((d|0)==1){continue nb}}v[299999]=0;V(95,f|0,j|0);e=v[299999];v[299999]=0;d=-1;hc:{if(!e){break hc}g=v[3e5];if(!g){break hc}d=sc(v[e>>2],k,i);if(!d){break eb}_(g|0)}e=O()|0;if((d|0)==1){continue nb}break bc}v[299999]=0;V(95,f|0,j|0);e=v[299999];v[299999]=0;d=-1;ic:{if(!e){break ic}g=v[3e5];if(!g){break ic}d=sc(v[e>>2],k,i);if(!d){break eb}_(g|0)}e=O()|0;if((d|0)==1){continue nb}n=n-1|0}q=q-1|0;if((q|0)>=1){v[299999]=0;b=v[c+52>>2];e=v[299999];v[299999]=0;d=-1;jc:{if(!e){break jc}g=v[3e5];if(!g){break jc}d=sc(v[e>>2],k,i);if(!d){break eb}_(g|0)}e=O()|0;if((d|0)==1){continue nb}s=s-b|0;continue}break}H=H+1|0;if((l|0)!=(H|0)){continue}break Xb}}while(1){v[299999]=0;q=v[c+20>>2];e=v[299999];v[299999]=0;d=-1;kc:{if(!e){break kc}g=v[3e5];if(!g){break kc}d=sc(v[e>>2],k,i);if(!d){break eb}_(g|0)}e=O()|0;if((d|0)==1){continue nb}v[299999]=0;b=xe(c,0);e=v[299999];v[299999]=0;d=-1;lc:{if(!e){break lc}g=v[3e5];if(!g){break lc}d=sc(v[e>>2],k,i);if(!d){break eb}_(g|0)}e=O()|0;if((d|0)==1){continue nb}v[299999]=0;m=v[c+52>>2];e=v[299999];v[299999]=0;d=-1;mc:{if(!e){break mc}g=v[3e5];if(!g){break mc}d=sc(v[e>>2],k,i);if(!d){break eb}_(g|0)}e=O()|0;if((d|0)==1){continue nb}v[299999]=0;s=v[c+20>>2];e=v[299999];v[299999]=0;d=-1;nc:{if(!e){break nc}g=v[3e5];if(!g){break nc}d=sc(v[e>>2],k,i);if(!d){break eb}_(g|0)}e=O()|0;if((d|0)==1){continue nb}n=v[c+20>>2]-1|0;s=b+B(m,s-1|0)|0;while(1){v[299999]=0;b=v[c+964>>2];e=v[299999];v[299999]=0;d=-1;oc:{if(!e){break oc}g=v[3e5];if(!g){break oc}d=sc(v[e>>2],k,i);if(!d){break eb}_(g|0)}e=O()|0;if((d|0)==1){continue nb}pc:{if(!b){if(!(!s|(F|0)<1)){v[299999]=0;d=v[c+52>>2];e=v[299999];v[299999]=0;b=-1;qc:{if(!e){break qc}g=v[3e5];if(!g){break qc}b=sc(v[e>>2],k,i);if(!b){break eb}_(g|0)}e=O()|0;if((b|0)==1){continue nb}gc(j,s,(d|0)<(F|0)?d:F)}if(w[v[p+40>>2]+25|0]==2){v[299999]=0;Vo(c,j,F);e=v[299999];v[299999]=0;d=-1;rc:{if(!e){break rc}g=v[3e5];if(!g){break rc}d=sc(v[e>>2],k,i);if(!d){break eb}_(g|0)}e=O()|0;if((d|0)==1){continue nb}}v[299999]=0;V(95,f|0,j|0);e=v[299999];v[299999]=0;d=-1;sc:{if(!e){break sc}g=v[3e5];if(!g){break sc}d=sc(v[e>>2],k,i);if(!d){break eb}_(g|0)}e=O()|0;if((d|0)==1){continue nb}break pc}b=v[c+16>>2];if((b|0)>0){while(1){v[299999]=0;m=-1;d=b-1|0;zm(p+8|0,c,d,n,1);e=v[299999];v[299999]=0;tc:{if(!e){break tc}g=v[3e5];if(!g){break tc}m=sc(v[e>>2],k,i);if(!m){break eb}_(g|0)}e=O()|0;if((m|0)==1){continue nb}r=B(d,w[v[p+40>>2]+29|0]);t[r+j|0]=w[p+8|0];v[299999]=0;D=Ik(c,d,n);e=v[299999];v[299999]=0;m=-1;uc:{if(!e){break uc}g=v[3e5];if(!g){break uc}m=sc(v[e>>2],k,i);if(!m){break eb}_(g|0)}e=O()|0;if((m|0)==1){continue nb}t[j+(r+1|0)|0]=D;e=(b|0)>1;b=d;if(e){continue}break}}v[299999]=0;V(95,f|0,j|0);e=v[299999];v[299999]=0;d=-1;vc:{if(!e){break vc}g=v[3e5];if(!g){break vc}d=sc(v[e>>2],k,i);if(!d){break eb}_(g|0)}e=O()|0;if((d|0)==1){continue nb}n=n-1|0}q=q-1|0;if((q|0)>=1){v[299999]=0;b=v[c+52>>2];e=v[299999];v[299999]=0;d=-1;wc:{if(!e){break wc}g=v[3e5];if(!g){break wc}d=sc(v[e>>2],k,i);if(!d){break eb}_(g|0)}e=O()|0;if((d|0)==1){continue nb}s=s-b|0;continue}break}H=H+1|0;if((l|0)!=(H|0)){continue}break}}v[299999]=0;dc(j);e=v[299999];v[299999]=0;d=-1;xc:{if(!e){break xc}g=v[3e5];if(!g){break xc}d=sc(v[e>>2],k,i);if(!d){break eb}_(g|0)}e=O()|0;if((d|0)==1){continue}yc:{if(J|!v[c+44>>2]){break yc}b=v[c+336>>2];if((b|0)<1){break yc}v[299999]=0;FJ(c,b&255,0);e=v[299999];v[299999]=0;d=-1;zc:{if(!e){break zc}g=v[3e5];if(!g){break zc}d=sc(v[e>>2],k,i);if(!d){break eb}_(g|0)}e=O()|0;if((d|0)==1){continue}}v[299999]=0;V(96,f|0,v[p+40>>2]);e=v[299999];v[299999]=0;d=-1;Ac:{if(!e){break Ac}g=v[3e5];if(!g){break Ac}d=sc(v[e>>2],k,i);if(!d){break eb}_(g|0)}e=O()|0;if((d|0)==1){continue}b=v[v[p+40>>2]+16>>2];if(b){v[299999]=0;dc(b);e=v[299999];v[299999]=0;d=-1;Bc:{if(!e){break Bc}g=v[3e5];if(!g){break Bc}d=sc(v[e>>2],k,i);if(!d){break eb}_(g|0)}e=O()|0;if((d|0)==1){continue}v[v[p+40>>2]+16>>2]=0}v[299999]=0;V(77,p+44|0,p+40|0);e=v[299999];v[299999]=0;b=-1;Cc:{if(!e){break Cc}g=v[3e5];if(!g){break Cc}b=sc(v[e>>2],k,i);if(!b){break eb}_(g|0)}d=1;e=O()|0;if((b|0)==1){continue}break}break cb}dc(k);sd(e,g);L()}d=0}dc(k);Qb=p+304|0;if(d){break d}break c;case 16:E=fc(1028);c=J0(E);Fi(c,a);if(xk(c,b)){b=0}else{Dc:{if(v[c+44>>2]){Xc(c+72|0,20357,255);b=0;break Dc}v[c+980>>2]=b;v[c+1008>>2]=v[c+52>>2];u[c+1012>>1]=x[c+26>>1];b=v[c+20>>2];v[c+1e3>>2]=v[c+16>>2];v[c+1004>>2]=b;e=v[c+32>>2];b=jc(e);v[c+984>>2]=b;if(!b){Xc(c+72|0,23366,255);b=0;break Dc}gc(b,v[c+56>>2],e);b=S1(c+980|0);v[c+976>>2]=b;if(!b){Xc(c+72|0,5602,255);b=0;break Dc}if(!(!b|v[b>>2]!=1381173770)){v[b+164>>2]=121}b=v[c+976>>2];if(!(!b|v[b>>2]!=1381173770)){v[b+168>>2]=111}b=v[c+976>>2];if(!(!b|v[b>>2]!=1381173770)){v[b+176>>2]=122}b=v[c+976>>2];Ec:{if(!b|v[b>>2]!=1381173770){break Ec}Fc:{if(!(!v[b+152>>2]|!v[b+156>>2])){if(w[b+344|0]|(w[b+416|0]?1:w[b+417|0])){break Fc}v[b+148>>2]=0;v[b+140>>2]=0;v[b+144>>2]=0;t[b+136|0]=0;v[b+132>>2]=0;if(CJ(b)){break Ec}t[b+416|0]=1;break Ec}pc(b,3,0,0);break Ec}pc(b,11,0,0)}b=0;g=Qb-16|0;Qb=g;e=v[c+976>>2];if(!(!e|v[e>>2]!=1381173770)){b=v[e+4>>2]}i=v[b+20>>2];h=v[b+24>>2];l=fc(B(h,v[b+28>>2]+1|0));f=Qb-48|0;Qb=f;d=v[48338];v[f+32>>2]=v[48337];v[f+36>>2]=d;d=v[48336];v[f+24>>2]=v[48335];v[f+28>>2]=d;d=v[48334];v[f+16>>2]=v[48333];v[f+20>>2]=d;d=v[48332];v[f+8>>2]=v[48331];v[f+12>>2]=d;Gc:{if(!e|v[e>>2]!=1381173770){break Gc}if(!w[e+416|0]){pc(e,11,0,0);break Gc}if(v[e+420>>2]!=1296581714){pc(e,2052,0,0);break Gc}Hc:{d=v[e+280>>2];if(!d|v[d>>2]!=1413829197){break Hc}d=v[d+28>>2];if(v[d>>2]==1296581714?d:0){break Hc}pc(e,1072,0,0);break Gc}if(KA(e,f+8|0,f+44|0)){break Gc}d=v[f+44>>2];v[d+64>>2]=0;v[d+60>>2]=0;v[d+56>>2]=0;v[d+52>>2]=0;t[d+48|0]=0;v[d+44>>2]=0;v[d+40>>2]=0;t[d+38|0]=1;t[d+37|0]=0;t[d+35|0]=0;u[d+32>>1]=0;Qv(e,d)}Qb=f+48|0;f=Qb-48|0;Qb=f;d=v[48314];v[f+32>>2]=v[48313];v[f+36>>2]=d;d=v[48312];v[f+24>>2]=v[48311];v[f+28>>2]=d;d=v[48310];v[f+16>>2]=v[48309];v[f+20>>2]=d;d=v[48308];v[f+8>>2]=v[48307];v[f+12>>2]=d;Ic:{if(!e|v[e>>2]!=1381173770){break Ic}if(!w[e+416|0]){pc(e,11,0,0);break Ic}Jc:{d=v[e+280>>2];if(!d|v[d>>2]!=1413829197){break Jc}d=v[d+28>>2];if(v[d>>2]==1296581714?d:0){break Jc}pc(e,1072,0,0);break Ic}if(Qo(e,f+8|0,f+44|0)){break Ic}d=v[f+44>>2];t[d+44|0]=0;t[d+43|0]=0;t[d+42|0]=0;t[d+41|0]=2;t[d+40|0]=8;v[d+36>>2]=h;v[d+32>>2]=i;Qv(e,d)}Qb=f+48|0;if((h|0)>=1){f=l+1|0;d=0;while(1){t[l+B(v[b+28>>2]+1|0,d)|0]=0;i=v[b+28>>2];gc(f+B(i+1|0,d)|0,v[b+4>>2]+B(i,h+(d^-1)|0)|0,i);i=v[b+28>>2];Vo(c,f+B(i+1|0,d)|0,i);d=d+1|0;if((h|0)!=(d|0)){continue}break}}n=fc(B(h,v[b+28>>2]+1|0));q=B(h,v[b+28>>2]+1|0);v[g+12>>2]=q;d=0;b=Qb+-64|0;Qb=b;h=v[g+12>>2];v[g+12>>2]=0;v[b+48>>2]=0;v[b+40>>2]=0;v[b+44>>2]=0;i=NV(b+8|0,9,334233);if(!i){v[b+24>>2]=0;v[b+20>>2]=n;v[b+12>>2]=0;v[b+8>>2]=l;while(1){if(!d){v[b+24>>2]=h;h=0}f=b+8|0;Kc:{Lc:{if(!v[b+12>>2]){v[b+12>>2]=q;break Lc}d=0;if(q){break Kc}}q=0;d=4}f=Nj(f,d);if(!f){d=v[b+24>>2];continue}break}v[g+12>>2]=v[b+28>>2];_m(b+8|0);i=(f|0)==1?0:f}Qb=b- -64|0;if(!i){h=v[g+12>>2];d=Qb-48|0;Qb=d;b=v[48322];v[d+32>>2]=v[48321];v[d+36>>2]=b;b=v[48320];v[d+24>>2]=v[48319];v[d+28>>2]=b;b=v[48318];v[d+16>>2]=v[48317];v[d+20>>2]=b;b=v[48316];v[d+8>>2]=v[48315];v[d+12>>2]=b;Mc:{if(!e|v[e>>2]!=1381173770){break Mc}if(!w[e+416|0]){pc(e,11,0,0);break Mc}if(!v[e+420>>2]){pc(e,2052,0,0);break Mc}Nc:{b=v[e+280>>2];if(!b|v[b>>2]!=1413829197){break Nc}b=v[b+28>>2];if(v[b>>2]==1296581714?b:0){break Nc}pc(e,1072,0,0);break Mc}if(tn(e,d+8|0,d+44|0)){break Mc}b=v[d+44>>2];v[b+36>>2]=h;t[b+32|0]=!h;f=e;if(h){b=Ub[v[e+152>>2]](h)|0;v[v[d+44>>2]+40>>2]=b;if(!b){pc(e,1,0,0);break Mc}gc(b,n,h);b=v[d+44>>2]}Qv(f,b)}Qb=d+48|0;b=Qb-48|0;Qb=b;f=v[48330];v[b+32>>2]=v[48329];v[b+36>>2]=f;f=v[48328];v[b+24>>2]=v[48327];v[b+28>>2]=f;f=v[48326];v[b+16>>2]=v[48325];v[b+20>>2]=f;f=v[48324];v[b+8>>2]=v[48323];v[b+12>>2]=f;Oc:{if(!e|v[e>>2]!=1381173770){break Oc}if(!w[e+416|0]){pc(e,11,0,0);break Oc}if(!v[e+420>>2]){pc(e,2052,0,0);break Oc}Pc:{f=v[e+280>>2];if(!f|v[f>>2]!=1413829197){break Pc}f=v[f+28>>2];if(v[f>>2]==1296581714?f:0){break Pc}pc(e,1072,0,0);break Oc}if(Os(e,b+8|0,b+44|0)){break Oc}Qv(e,v[b+44>>2]);f=v[e+420>>2];if((f|0)!=1246250066&(f|0)!=1229472850){break Oc}t[e+416|0]=0}Qb=b+48|0;dc(l);dc(n)}Qb=g+16|0;f=v[c+976>>2];Qc:{if(!f|v[f>>2]!=1381173770){break Qc}Rc:{if(!v[f+152>>2]|!v[f+156>>2]|(!v[f+164>>2]|!v[f+168>>2])){break Rc}if(!v[f+176>>2]){break Rc}if(w[f+344|0]){pc(f,11,0,0);break Qc}v[f+148>>2]=0;v[f+140>>2]=0;v[f+144>>2]=0;t[f+136|0]=0;v[f+132>>2]=0;d=Qb-16|0;Qb=d;b=v[f+276>>2];Sc:{if(!b){break Sc}Tc:{if(w[f+417|0]){break Tc}Uc:{e=v[f+164>>2];if(!e){break Uc}if(Ub[e|0](f)|0){break Uc}pc(f,901,0,0);break Sc}v[f+424>>2]=32768;t[f+417|0]=1;e=Ub[v[f+152>>2]](32780)|0;v[f+428>>2]=e;if(!e){pc(f,1,0,0);break Sc}i=e;e=v[b>>2];zq(i,(e|0)==1229472850?-1991225785:(e|0)==1246250066?-1958064569:-1974645177);zq(v[f+428>>2]+4|0,218765834);if(!(Ub[v[f+176>>2]](f,v[f+428>>2],8,d+12|0)|0)){b=v[f+428>>2];if(b){Ub[v[f+156>>2]](b,v[f+424>>2]+12|0);v[f+428>>2]=0}pc(f,901,0,0);break Sc}if(v[d+12>>2]==8){break Tc}b=v[f+428>>2];if(b){Ub[v[f+156>>2]](b,v[f+424>>2]+12|0);v[f+428>>2]=0}pc(f,12,0,0);break Sc}while(1){if(Ub[v[b+16>>2]](f,b)|0){break Sc}b=v[b+24>>2];if(b){continue}break}if(!w[f+416|0]){b=v[f+428>>2];if(b){Ub[v[f+156>>2]](b,v[f+424>>2]+12|0);v[f+428>>2]=0}t[f+417|0]=0;b=v[f+168>>2];if(!b){break Sc}if(Ub[b|0](f)|0){break Sc}pc(f,901,0,0);break Sc}b=v[f+276>>2];if(b){while(1){e=v[b+24>>2];Ub[v[b+8>>2]](f,b)|0;b=e;if(e){continue}break}}v[f+276>>2]=0;v[f+280>>2]=0}Qb=d+16|0;break Qc}pc(f,3,0,0)}b=1}}if(b){break b}break a;case 6:c=fc(976);E=gf(c,7);v[c>>2]=39472;Fi(E,a);h=Qb-800|0;Qb=h;e=0;Vc:{if(xk(c,b)){break Vc}if(x[c+26>>1]<=7){b=w[23520]|w[23521]<<8;t[c+96|0]=b;t[c+97|0]=b>>>8;b=w[23516]|w[23517]<<8|(w[23518]<<16|w[23519]<<24);e=w[23512]|w[23513]<<8|(w[23514]<<16|w[23515]<<24);t[c+88|0]=e;t[c+89|0]=e>>>8;t[c+90|0]=e>>>16;t[c+91|0]=e>>>24;t[c+92|0]=b;t[c+93|0]=b>>>8;t[c+94|0]=b>>>16;t[c+95|0]=b>>>24;b=w[23508]|w[23509]<<8|(w[23510]<<16|w[23511]<<24);e=w[23504]|w[23505]<<8|(w[23506]<<16|w[23507]<<24);t[c+80|0]=e;t[c+81|0]=e>>>8;t[c+82|0]=e>>>16;t[c+83|0]=e>>>24;t[c+84|0]=b;t[c+85|0]=b>>>8;t[c+86|0]=b>>>16;t[c+87|0]=b>>>24;b=w[23500]|w[23501]<<8|(w[23502]<<16|w[23503]<<24);e=w[23496]|w[23497]<<8|(w[23498]<<16|w[23499]<<24);t[c+72|0]=e;t[c+73|0]=e>>>8;t[c+74|0]=e>>>16;t[c+75|0]=e>>>24;t[c+76|0]=b;t[c+77|0]=b>>>8;t[c+78|0]=b>>>16;t[c+79|0]=b>>>24;e=0;break Vc}t[h+776|0]=0;e=v[c+4>>2];t[h+777|0]=((e?v[c+44>>2]?e+40|0:0:0)|0)!=0;f=x[c+26>>1];e=(f|0)==8;t[h+783|0]=e?24:0;t[h+778|0]=e?1:2;d=v[c+20>>2];i=v[c+16>>2];t[h+793|0]=0;t[h+792|0]=f;e=e<<8;if(!(!v[c+964>>2]|(f|0)!=24)){t[h+792|0]=32}t[h+779|0]=0;t[h+780|0]=0;e=w[c+494|0]?e:e<<8|(e&65280)>>>8;t[h+781|0]=e;t[h+782|0]=e>>>8;u[h+784>>1]=0;u[h+786>>1]=0;e=i<<16>>16;u[h+788>>1]=w[c+494|0]?e:e<<8|(e&65280)>>>8;e=d<<16>>16;u[h+790>>1]=w[c+494|0]?e:e<<8|(e&65280)>>>8;Ub[v[v[b>>2]+16>>2]](b,h+776|0,18,1)|0;e=(w[h+779|0]|w[h+780|0]<<8)<<16>>16;e=w[c+494|0]?e:e<<8|(e&65280)>>>8;t[h+779|0]=e;t[h+780|0]=e>>>8;e=(w[h+781|0]|w[h+782|0]<<8)<<16>>16;e=w[c+494|0]?e:e<<8|(e&65280)>>>8;t[h+781|0]=e;t[h+782|0]=e>>>8;e=u[h+784>>1];u[h+784>>1]=w[c+494|0]?e:e<<8|(e&65280)>>>8;e=u[h+786>>1];u[h+786>>1]=w[c+494|0]?e:e<<8|(e&65280)>>>8;e=u[h+788>>1];u[h+788>>1]=w[c+494|0]?e:e<<8|(e&65280)>>>8;e=u[h+790>>1];u[h+790>>1]=w[c+494|0]?e:e<<8|(e&65280)>>>8;if(x[c+26>>1]==8){e=v[c+4>>2];e=e?v[c+44>>2]?e+40|0:0:0;while(1){f=h+B(g,3)|0;d=e+(g<<2)|0;t[f|0]=w[d|0];t[f+1|0]=w[d+1|0];t[f+2|0]=w[d+2|0];d=g|1;f=h+B(d,3)|0;d=e+(d<<2)|0;t[f|0]=w[d|0];t[f+1|0]=w[d+1|0];t[f+2|0]=w[d+2|0];g=g+2|0;if((g|0)!=256){continue}break}Ub[v[v[b>>2]+16>>2]](b,h,768,1)|0}g=0;f=xe(c,0);Wc:{if(!(x[c+26>>1]!=8?v[c+964>>2]:0)){if(!x[h+790>>1]){break Wc}while(1){e=b;if(v[c+20>>2]>=(g|0)){f=xe(c,0)+B(v[c+52>>2],g)|0}Ub[v[v[b>>2]+16>>2]](e,f,B(x[h+788>>1],x[c+26>>1]>>>3|0),1)|0;g=g+1|0;if(g>>>0>1]){continue}break}break Wc}g=x[h+788>>1];e=jc(g<<2);Xc:{if(!x[h+790>>1]){break Xc}d=0;while(1){f=0;if(g&65535){g=0;j=0;while(1){zm(h,c,j,d,1);f=w[h+2|0];i=w[h+1|0];t[e+g|0]=w[h|0];t[e+(g|1)|0]=i;t[e+(g|2)|0]=f;ha=e+(g|3)|0,ia=Ik(c,j,d),t[ha|0]=ia;g=g+4|0;f=x[h+788>>1];j=j+1|0;if(f>>>0>j>>>0){continue}break}}Ub[v[v[b>>2]+16>>2]](b,e,f<<2,1)|0;d=d+1|0;if(d>>>0>=x[h+790>>1]){break Xc}g=x[h+788>>1];continue}}dc(e)}e=1}Qb=h+800|0;if(e){break d}break c;case 7:c=fc(976);E=gf(c,8);v[c>>2]=39516;Fi(E,a);j=Qb-176|0;Qb=j;l=b;if(!xk(c,b)){ic(j+48|3,0,125);v[j+52>>2]=0;t[j+50|0]=1;u[j+48>>1]=1290;e=v[c+16>>2];u[j+56>>1]=e-1;u[j+58>>1]=x[c+20>>1]-1;u[j+60>>1]=v[c+364>>2];b=v[c+368>>2];t[j+112|0]=0;u[j+62>>1]=b;b=v[c+44>>2];u[j+116>>1]=!b;f=x[c+26>>1]-8|0;Yc:{if(!((f|0)!=16?f:0)){t[j+51|0]=8;t[j+113|0]=b?1:3;if(!(v[c+44>>2]|!v[c+964>>2])){t[j+113|0]=4}d=v[c+16>>2];u[j+114>>1]=d;b=0;break Yc}d=e+7>>>3|0;u[j+114>>1]=d;t[j+51|0]=1;b=(b|0)==16;t[j+113|0]=b?4:1;if(!b){u[j+66>>1]=65280;u[j+68>>1]=65535;u[j+64>>1]=0;b=0;break Yc}b=j+16|0;ng(b,c,0);t[j+66|0]=w[j+16|0];t[j+65|0]=w[j+17|0];t[j+64|0]=w[j+18|0];ng(b,c,1);t[j+69|0]=w[j+16|0];t[j+68|0]=w[j+17|0];t[j+67|0]=w[j+18|0];ng(b,c,2);t[j+72|0]=w[j+16|0];t[j+71|0]=w[j+17|0];t[j+70|0]=w[j+18|0];ng(b,c,3);t[j+75|0]=w[j+16|0];t[j+74|0]=w[j+17|0];t[j+73|0]=w[j+18|0];ng(b,c,4);t[j+78|0]=w[j+16|0];t[j+77|0]=w[j+17|0];t[j+76|0]=w[j+18|0];ng(b,c,5);t[j+81|0]=w[j+16|0];t[j+80|0]=w[j+17|0];t[j+79|0]=w[j+18|0];ng(b,c,6);t[j+84|0]=w[j+16|0];t[j+83|0]=w[j+17|0];t[j+82|0]=w[j+18|0];ng(b,c,7);t[j+87|0]=w[j+16|0];t[j+86|0]=w[j+17|0];t[j+85|0]=w[j+18|0];ng(b,c,8);t[j+90|0]=w[j+16|0];t[j+89|0]=w[j+17|0];t[j+88|0]=w[j+18|0];ng(b,c,9);t[j+93|0]=w[j+16|0];t[j+92|0]=w[j+17|0];t[j+91|0]=w[j+18|0];ng(b,c,10);t[j+96|0]=w[j+16|0];t[j+95|0]=w[j+17|0];t[j+94|0]=w[j+18|0];ng(b,c,11);t[j+99|0]=w[j+16|0];t[j+98|0]=w[j+17|0];t[j+97|0]=w[j+18|0];ng(b,c,12);t[j+102|0]=w[j+16|0];t[j+101|0]=w[j+17|0];t[j+100|0]=w[j+18|0];ng(b,c,13);t[j+105|0]=w[j+16|0];t[j+104|0]=w[j+17|0];t[j+103|0]=w[j+18|0];ng(b,c,14);t[j+108|0]=w[j+16|0];t[j+107|0]=w[j+17|0];t[j+106|0]=w[j+18|0];ng(b,c,15);t[j+111|0]=w[j+16|0];t[j+110|0]=w[j+17|0];t[j+109|0]=w[j+18|0];d=x[j+114>>1];b=x[j+52>>1]}u[j+114>>1]=d+1&65534;b=b<<16>>16;u[j+52>>1]=w[c+494|0]?b:b<<8|(b&65280)>>>8;b=u[j+54>>1];u[j+54>>1]=w[c+494|0]?b:b<<8|(b&65280)>>>8;b=u[j+56>>1];u[j+56>>1]=w[c+494|0]?b:b<<8|(b&65280)>>>8;b=u[j+58>>1];u[j+58>>1]=w[c+494|0]?b:b<<8|(b&65280)>>>8;b=u[j+60>>1];u[j+60>>1]=w[c+494|0]?b:b<<8|(b&65280)>>>8;b=u[j+62>>1];u[j+62>>1]=w[c+494|0]?b:b<<8|(b&65280)>>>8;b=u[j+114>>1];u[j+114>>1]=w[c+494|0]?b:b<<8|(b&65280)>>>8;b=u[j+116>>1];u[j+116>>1]=w[c+494|0]?b:b<<8|(b&65280)>>>8;F=Ub[v[v[l>>2]+16>>2]](l,j+48|0,128,1)|0;Zc:{if(!F){Xc(c+72|0,29962,255);break Zc}b=u[j+52>>1];u[j+52>>1]=w[c+494|0]?b:b<<8|(b&65280)>>>8;b=u[j+54>>1];u[j+54>>1]=w[c+494|0]?b:b<<8|(b&65280)>>>8;b=u[j+56>>1];u[j+56>>1]=w[c+494|0]?b:b<<8|(b&65280)>>>8;b=u[j+58>>1];u[j+58>>1]=w[c+494|0]?b:b<<8|(b&65280)>>>8;b=u[j+60>>1];u[j+60>>1]=w[c+494|0]?b:b<<8|(b&65280)>>>8;b=u[j+62>>1];u[j+62>>1]=w[c+494|0]?b:b<<8|(b&65280)>>>8;b=u[j+114>>1];u[j+114>>1]=w[c+494|0]?b:b<<8|(b&65280)>>>8;b=u[j+116>>1];u[j+116>>1]=w[c+494|0]?b:b<<8|(b&65280)>>>8;o=wJ(j+16|0,0,0);K1(o);_c:{if(!v[c+44>>2]){q=v[c+20>>2];if((q|0)>=1){d=w[j+113|0];while(1){i=q;q=i-1|0;m=0;if(d<<24>>24>=1){while(1){b=v[c+16>>2];$c:{if((b|0)<1){break $c}d=0;f=0;n=0;g=0;h=0;ad:{bd:{cd:{dd:{ed:{e=m;switch(e|0){case 3:break bd;case 2:break cd;case 1:break dd;case 0:break ed;default:break $c}}while(1){zm(j+8|0,c,e,q,1);b=f&255;f=w[j+10|0];fd:{gd:{hd:{if((b|0)!=(f|0)){id:{switch(d&255){case 1:if(b>>>0<192){break gd}break;case 0:break fd;default:break id}}n=d|-64;break hd}n=255;if((d&255)!=63){break fd}}Ub[v[v[o>>2]+44>>2]](o,n&255)|0}Ub[v[v[o>>2]+44>>2]](o,b)|0;d=0}d=d+1|0;b=v[c+16>>2];e=e+1|0;if((b|0)>(e|0)){continue}break}break ad}while(1){zm(j+8|0,c,n,q,1);b=f&255;f=w[j+9|0];jd:{kd:{ld:{if((b|0)!=(f|0)){md:{switch(d&255){case 1:if(b>>>0<192){break kd}break;case 0:break jd;default:break md}}e=d|-64;break ld}e=255;if((d&255)!=63){break jd}}Ub[v[v[o>>2]+44>>2]](o,e&255)|0}Ub[v[v[o>>2]+44>>2]](o,b)|0;d=0}d=d+1|0;b=v[c+16>>2];n=n+1|0;if((b|0)>(n|0)){continue}break}break ad}while(1){zm(j+8|0,c,g,q,1);b=f&255;f=w[j+8|0];nd:{od:{pd:{if((b|0)!=(f|0)){qd:{switch(d&255){case 1:if(b>>>0<192){break od}break;case 0:break nd;default:break qd}}e=d|-64;break pd}e=255;if((d&255)!=63){break nd}}Ub[v[v[o>>2]+44>>2]](o,e&255)|0}Ub[v[v[o>>2]+44>>2]](o,b)|0;d=0}d=d+1|0;b=v[c+16>>2];g=g+1|0;if((b|0)>(g|0)){continue}break}break ad}while(1){b=f&255;f=w[v[c+964>>2]+(B(v[c+16>>2],q)+h|0)|0];rd:{sd:{td:{if((b|0)!=(f|0)){ud:{switch(d&255){case 1:if(b>>>0<192){break sd}break;case 0:break rd;default:break ud}}e=d|-64;break td}e=255;if((d&255)!=63){break rd}}Ub[v[v[o>>2]+44>>2]](o,e&255)|0}Ub[v[v[o>>2]+44>>2]](o,b)|0;d=0}d=d+1|0;b=v[c+16>>2];h=h+1|0;if((b|0)>(h|0)){continue}break}}vd:{wd:{switch(d&255){case 1:if(f>>>0<192){break vd}break;case 0:break $c;default:break wd}}Ub[v[v[o>>2]+44>>2]](o,(d|192)&255)|0}Ub[v[v[o>>2]+44>>2]](o,f)|0}if(b&1){Ub[v[v[o>>2]+44>>2]](o,0)|0}m=m+1|0;d=t[j+113|0];if((m|0)<(d|0)){continue}break}}if((i|0)>=2){continue}break}}b=v[o+4>>2];Ub[v[v[l>>2]+16>>2]](l,b,b?v[o+16>>2]:-1,1)|0;break _c}if(x[c+26>>1]==8){h=v[c+20>>2];if((h|0)>=1){while(1){i=h-1|0;f=0;d=0;q=0;e=v[c+16>>2];xd:{if((e|0)<1){break xd}while(1){e=q&255;q=yl(c,f,i);yd:{zd:{Ad:{if((e|0)!=(q|0)){Bd:{Cd:{b=d;switch(d&255){case 0:break yd;case 1:break Cd;default:break Bd}}if(e>>>0<192){break zd}}n=b|-64;break Ad}n=255;b=d;if((d&255)!=63){break yd}}Ub[v[v[o>>2]+44>>2]](o,n&255)|0}Ub[v[v[o>>2]+44>>2]](o,e)|0;b=0}d=b+1|0;e=v[c+16>>2];f=f+1|0;if((e|0)>(f|0)){continue}break}b=b&255;if((b|0)==255){break xd}if(!(!b&q>>>0<192)){Ub[v[v[o>>2]+44>>2]](o,(d|192)&255)|0}Ub[v[v[o>>2]+44>>2]](o,q)|0}if(e&1){Ub[v[v[o>>2]+44>>2]](o,0)|0}b=(h|0)>1;h=i;if(b){continue}break}}d=0;b=v[o+4>>2];Ub[v[v[l>>2]+16>>2]](l,b,b?v[o+16>>2]:-1,1)|0;if(x[c+26>>1]!=8){break _c}Ub[v[v[l>>2]+44>>2]](l,12)|0;b=jc(768);while(1){ng(j+8|0,c,d&255);f=w[j+10|0];h=w[j+9|0];e=b+B(d,3)|0;t[e+2|0]=w[j+8|0];t[e+1|0]=h;t[e|0]=f;d=d+1|0;if((d|0)!=256){continue}break}Ub[v[v[l>>2]+16>>2]](l,b,768,1)|0;dc(b);break _c}b=v[c+4>>2];b=b?v[c+44>>2]?b+40|0:0:0;b=IN(b,b+4|0);f=x[c+26>>1];s=jc(x[j+114>>1]);q=v[c+16>>2];m=jc(q);Dd:{e=v[c+20>>2];if((e|0)<=0){break Dd}J=(f|0)==1&(b|0)>0;n=s+1|0;k=s-1|0;while(1){g=e-1|0;d=0;Ed:{if((q|0)<1){break Ed}while(1){ha=d+m|0,ia=yl(c,d,g),t[ha|0]=ia;d=d+1|0;q=v[c+16>>2];if((d|0)<(q|0)){continue}break}if(!(J&(q|0)>0)){break Ed}f=q&3;d=0;if(q-1>>>0>=3){b=q&-4;while(1){h=d+m|0;t[h|0]=1-w[h|0];h=m+(d|1)|0;t[h|0]=1-w[h|0];h=m+(d|2)|0;t[h|0]=1-w[h|0];h=m+(d|3)|0;t[h|0]=1-w[h|0];d=d+4|0;b=b-4|0;if(b){continue}break}}if(!f){break Ed}while(1){b=d+m|0;t[b|0]=1-w[b|0];d=d+1|0;f=f-1|0;if(f){continue}break}}h=0;Fd:{if(t[j+113|0]<1){break Fd}while(1){if((q|0)>=1){i=1<>1];Gd:{Hd:{if(f>>>0>=2){q=f+s|0;f=n;while(1){i=b;d=1;b=f;Id:{while(1){f=b+1|0;b=w[b|0];p=i&255;if((b|0)!=(p|0)|(d&255)>>>0>62){break Id}d=d+1|0;b=f;if(q>>>0>b>>>0){continue}break}b=i;break Hd}if(!(p>>>0<192&(d&255)>>>0<=1)){Ub[v[v[o>>2]+44>>2]](o,(d|192)&255)|0}Ub[v[v[o>>2]+44>>2]](o,p)|0;if(f>>>0>>0){continue}break}}d=1;if((b&255)>>>0<192){break Gd}}Ub[v[v[o>>2]+44>>2]](o,(d|192)&255)|0}Ub[v[v[o>>2]+44>>2]](o,b&255)|0;h=h+1|0;if((h|0)>=t[j+113|0]){break Fd}q=v[c+16>>2];continue}}if((e|0)<2){break Dd}q=v[c+16>>2];e=g;continue}}dc(s);dc(m);b=v[o+4>>2];Ub[v[v[l>>2]+16>>2]](l,b,b?v[o+16>>2]:-1,1)|0}UA(o)}d=(F|0)!=0}Qb=j+176|0;if(d){break d}break c;case 8:c=fc(976);E=gf(c,9);v[c>>2]=39560;Fi(E,a);e=b;if(!xk(c,e)){Jd:{if(x[c+26>>1]!=1){b=w[18959]|w[18960]<<8|(w[18961]<<16|w[18962]<<24);e=w[18955]|w[18956]<<8|(w[18957]<<16|w[18958]<<24);t[c+94|0]=e;t[c+95|0]=e>>>8;t[c+96|0]=e>>>16;t[c+97|0]=e>>>24;t[c+98|0]=b;t[c+99|0]=b>>>8;t[c+100|0]=b>>>16;t[c+101|0]=b>>>24;b=w[18953]|w[18954]<<8|(w[18955]<<16|w[18956]<<24);e=w[18949]|w[18950]<<8|(w[18951]<<16|w[18952]<<24);t[c+88|0]=e;t[c+89|0]=e>>>8;t[c+90|0]=e>>>16;t[c+91|0]=e>>>24;t[c+92|0]=b;t[c+93|0]=b>>>8;t[c+94|0]=b>>>16;t[c+95|0]=b>>>24;b=w[18945]|w[18946]<<8|(w[18947]<<16|w[18948]<<24);e=w[18941]|w[18942]<<8|(w[18943]<<16|w[18944]<<24);t[c+80|0]=e;t[c+81|0]=e>>>8;t[c+82|0]=e>>>16;t[c+83|0]=e>>>24;t[c+84|0]=b;t[c+85|0]=b>>>8;t[c+86|0]=b>>>16;t[c+87|0]=b>>>24;b=w[18937]|w[18938]<<8|(w[18939]<<16|w[18940]<<24);e=w[18933]|w[18934]<<8|(w[18935]<<16|w[18936]<<24);t[c+72|0]=e;t[c+73|0]=e>>>8;t[c+74|0]=e>>>16;t[c+75|0]=e>>>24;t[c+76|0]=b;t[c+77|0]=b>>>8;t[c+78|0]=b>>>16;t[c+79|0]=b>>>24;break Jd}h=v[c+20>>2];i=v[c+16>>2];Ub[v[v[e>>2]+44>>2]](e,0)|0;Ub[v[v[e>>2]+44>>2]](e,0)|0;while(1){b=f;f=b+7|0;if(i>>>f|0){continue}break}Kd:{if(b){while(1){if(!(Ub[v[v[e>>2]+44>>2]](e,(i>>>b|128)&255)|0)){break Kd}f=(b|0)<8;b=b-7|0;if(!f){continue}break}}Ub[v[v[e>>2]+44>>2]](e,i&127)|0}f=0;while(1){b=f;f=b+7|0;if(h>>>f|0){continue}break}Ld:{if(b){while(1){if(!(Ub[v[v[e>>2]+44>>2]](e,(h>>>b|128)&255)|0)){break Ld}f=(b|0)<8;b=b-7|0;if(!f){continue}break}}Ub[v[v[e>>2]+44>>2]](e,h&127)|0}f=0;xe(c,0);g=v[c+20>>2];b=xe(c,0);d=1;if(!h){break Jd}i=i+7>>>3|0;b=b+B(v[c+52>>2],v[c+20>>2]-1|0)|0;while(1){Ub[v[v[e>>2]+16>>2]](e,b,i,1)|0;g=g-1|0;b=(g|0)>=1?b-v[c+52>>2]|0:b;f=f+1|0;if((h|0)!=(f|0)){continue}break}}}if(d){break d}break c;default:break e}}if(c-11>>>0<=4){f=fc(976);q=gf(f,0);v[f>>2]=39604;Fi(q,a);h=Qb-192|0;Qb=h;Md:{if(xk(f,b)){break Md}Nd:{if(!v[f+44>>2]){break Nd}if(Uo(f)){break Nd}b=w[38367]|w[38368]<<8|(w[38369]<<16|w[38370]<<24);c=w[38363]|w[38364]<<8|(w[38365]<<16|w[38366]<<24);t[f+109|0]=c;t[f+110|0]=c>>>8;t[f+111|0]=c>>>16;t[f+112|0]=c>>>24;t[f+113|0]=b;t[f+114|0]=b>>>8;t[f+115|0]=b>>>16;t[f+116|0]=b>>>24;b=w[38362]|w[38363]<<8|(w[38364]<<16|w[38365]<<24);c=w[38358]|w[38359]<<8|(w[38360]<<16|w[38361]<<24);t[f+104|0]=c;t[f+105|0]=c>>>8;t[f+106|0]=c>>>16;t[f+107|0]=c>>>24;t[f+108|0]=b;t[f+109|0]=b>>>8;t[f+110|0]=b>>>16;t[f+111|0]=b>>>24;b=w[38354]|w[38355]<<8|(w[38356]<<16|w[38357]<<24);c=w[38350]|w[38351]<<8|(w[38352]<<16|w[38353]<<24);t[f+96|0]=c;t[f+97|0]=c>>>8;t[f+98|0]=c>>>16;t[f+99|0]=c>>>24;t[f+100|0]=b;t[f+101|0]=b>>>8;t[f+102|0]=b>>>16;t[f+103|0]=b>>>24;b=w[38346]|w[38347]<<8|(w[38348]<<16|w[38349]<<24);c=w[38342]|w[38343]<<8|(w[38344]<<16|w[38345]<<24);t[f+88|0]=c;t[f+89|0]=c>>>8;t[f+90|0]=c>>>16;t[f+91|0]=c>>>24;t[f+92|0]=b;t[f+93|0]=b>>>8;t[f+94|0]=b>>>16;t[f+95|0]=b>>>24;b=w[38338]|w[38339]<<8|(w[38340]<<16|w[38341]<<24);c=w[38334]|w[38335]<<8|(w[38336]<<16|w[38337]<<24);t[f+80|0]=c;t[f+81|0]=c>>>8;t[f+82|0]=c>>>16;t[f+83|0]=c>>>24;t[f+84|0]=b;t[f+85|0]=b>>>8;t[f+86|0]=b>>>16;t[f+87|0]=b>>>24;b=w[38330]|w[38331]<<8|(w[38332]<<16|w[38333]<<24);c=w[38326]|w[38327]<<8|(w[38328]<<16|w[38329]<<24);t[f+72|0]=c;t[f+73|0]=c>>>8;t[f+74|0]=c>>>16;t[f+75|0]=c>>>24;t[f+76|0]=b;t[f+77|0]=b>>>8;t[f+78|0]=b>>>16;t[f+79|0]=b>>>24;break Md}Od:{if(wK()){Xc(f+72|0,1675,255);break Od}i=vK(40370);if(!i){Xc(f+72|0,40916,255);break Od}e=v[i+56>>2];if(e){dc(e)}v[i+56>>2]=b;v[h+72>>2]=104;v[h+64>>2]=105;v[h+76>>2]=106;v[h+68>>2]=107;v[i+52>>2]=h- -64;b=v[f+16>>2];e=v[f+20>>2];d=v[f+44>>2];v[h+104>>2]=8;v[h+108>>2]=0;v[h+100>>2]=e;v[h+96>>2]=b;v[h+88>>2]=1;v[h+92>>2]=1;v[h+80>>2]=0;v[h+84>>2]=0;if(!d){v[h+168>>2]=8;v[h+172>>2]=0;v[h+164>>2]=e;v[h+160>>2]=b;v[h+152>>2]=1;v[h+156>>2]=1;v[h+136>>2]=8;v[h+140>>2]=0;v[h+132>>2]=e;v[h+128>>2]=b;v[h+120>>2]=1;v[h+124>>2]=1;v[h+144>>2]=0;v[h+148>>2]=0;v[h+112>>2]=0;v[h+116>>2]=0}g=d?1:3;e=Lq(g,h+80|0);Pd:{if(!e){Xc(f+72|0,42005,255);d=0;break Pd}n=v[e+24>>2];v[v[n>>2]+40>>2]=0;b=e;if(d){d=769}else{v[v[n+4>>2]+40>>2]=1;v[v[n+8>>2]+40>>2]=2;d=1025}v[b+28>>2]=d;ic(h+180|0,0,g<<2);Qd:{while(1){b=yj(1,v[f+16>>2]);v[(h+180|0)+(l<<2)>>2]=b;if(!b){break Qd}l=l+1|0;if((g|0)!=(l|0)){continue}break}b=v[f+20>>2];if((b|0)>=1){k=v[h+188>>2];j=v[h+184>>2];m=v[h+180>>2];n=m;while(1){l=0;d=v[f+16>>2];if((d|0)>=1){while(1){Rd:{if(!v[f+44>>2]){Xo(h+16|0,f,l,s,1);o=w[h+18|0];b=v[n+28>>2];p=w[h+17|0];d=w[h+16|0];if(v[n+20>>2]==1){b=v[b>>2]+(l<<2)|0}else{b=v[b+(l<<2)>>2]}v[b>>2]=o;b=v[j+28>>2];if(v[j+20>>2]==1){b=v[b>>2]+(l<<2)|0}else{b=v[b+(l<<2)>>2]}v[b>>2]=p;b=v[k+28>>2];if(v[k+20>>2]==1){v[v[b>>2]+(l<<2)>>2]=d;break Rd}v[v[b+(l<<2)>>2]>>2]=d;break Rd}o=v[n+20>>2];b=yl(f,l,s);d=v[n+28>>2];if((o|0)==1){v[v[d>>2]+(l<<2)>>2]=b;break Rd}v[v[d+(l<<2)>>2]>>2]=b}d=v[f+16>>2];l=l+1|0;if((d|0)>(l|0)){continue}break}b=v[f+20>>2]}l=1;Sd:{b=(s^-1)+b|0;if(!cj(e,0,0,b,d,1,m)){while(1){if((g|0)==(l|0)){break Sd}d=cj(e,l,0,b,v[f+16>>2],1,v[(h+180|0)+(l<<2)>>2]);l=l+1|0;if(!d){continue}break}}Xc(f+72|0,43646,255);d=0;break Pd}b=v[f+20>>2];s=s+1|0;if((b|0)>(s|0)){continue}break}}t[h+60|0]=0;Td:{Ud:{switch(c-11|0){case 1:v[h+60>>2]=6516842;break Td;case 4:v[h+60>>2]=7561586;break Td;case 3:v[h+60>>2]=7171696;break Td;case 2:v[h+60>>2]=7890800;if(v[f+44>>2]){break Td}Xc(f+72|0,44492,255);d=0;break Pd;case 0:break Ud;default:break Td}}v[h+60>>2]=3305578}b=qK(h+60|0);A[h>>3]=C(z[f+344>>2]/C(100));c=h+16|0;AN(c,45423,h);if(rK(e,i,b,c)){Xc(f+72|0,46314,255);d=0;break Pd}wB(i);d=1;break Pd}Xc(f+72|0,42600,255);d=0}c=0;while(1){b=v[(h+180|0)+(c<<2)>>2];if(b){$e(b)}c=c+1|0;if((g|0)!=(c|0)){continue}break}ct();if(e){Wg(e)}Te(i);break Md}ct()}Qb=h+192|0;if(d){Ub[v[v[f>>2]+4>>2]](f);return 1}ce(a+72|0,q+72|0);Ub[v[v[f>>2]+4>>2]](f);return 0}Vd:{switch(c-18|0){case 0:c=fc(976);E=gf(c,18);v[c>>2]=39648;Fi(E,a);d=Qb-784|0;Qb=d;Wd:{if(xk(c,b)){break Wd}if(x[c+26>>1]>=9){t[c+104|0]=w[1306];b=w[1302]|w[1303]<<8|(w[1304]<<16|w[1305]<<24);e=w[1298]|w[1299]<<8|(w[1300]<<16|w[1301]<<24);t[c+96|0]=e;t[c+97|0]=e>>>8;t[c+98|0]=e>>>16;t[c+99|0]=e>>>24;t[c+100|0]=b;t[c+101|0]=b>>>8;t[c+102|0]=b>>>16;t[c+103|0]=b>>>24;b=w[1294]|w[1295]<<8|(w[1296]<<16|w[1297]<<24);e=w[1290]|w[1291]<<8|(w[1292]<<16|w[1293]<<24);t[c+88|0]=e;t[c+89|0]=e>>>8;t[c+90|0]=e>>>16;t[c+91|0]=e>>>24;t[c+92|0]=b;t[c+93|0]=b>>>8;t[c+94|0]=b>>>16;t[c+95|0]=b>>>24;b=w[1286]|w[1287]<<8|(w[1288]<<16|w[1289]<<24);e=w[1282]|w[1283]<<8|(w[1284]<<16|w[1285]<<24);t[c+80|0]=e;t[c+81|0]=e>>>8;t[c+82|0]=e>>>16;t[c+83|0]=e>>>24;t[c+84|0]=b;t[c+85|0]=b>>>8;t[c+86|0]=b>>>16;t[c+87|0]=b>>>24;b=w[1278]|w[1279]<<8|(w[1280]<<16|w[1281]<<24);e=w[1274]|w[1275]<<8|(w[1276]<<16|w[1277]<<24);t[c+72|0]=e;t[c+73|0]=e>>>8;t[c+74|0]=e>>>16;t[c+75|0]=e>>>24;t[c+76|0]=b;t[c+77|0]=b>>>8;t[c+78|0]=b>>>16;t[c+79|0]=b>>>24;break Wd}e=v[c+16>>2];f=v[c+20>>2];t[d+772|0]=3;e=e<<16>>16;u[d+768>>1]=w[c+494|0]?e:e<<8|(e&65280)>>>8;e=f<<16>>16;u[d+770>>1]=w[c+494|0]?e:e<<8|(e&65280)>>>8;e=ej(c,16777216);t[d+773|0]=e;t[d+774|0]=e>>>8;t[d+775|0]=e>>>16;t[d+776|0]=e>>>24;Ub[v[v[b>>2]+16>>2]](b,d+768|0,9,1)|0;e=u[d+768>>1];u[d+768>>1]=w[c+494|0]?e:e<<8|(e&65280)>>>8;e=u[d+770>>1];u[d+770>>1]=w[c+494|0]?e:e<<8|(e&65280)>>>8;e=ej(c,w[d+773|0]|w[d+774|0]<<8|(w[d+775|0]<<16|w[d+776|0]<<24));t[d+773|0]=e;t[d+774|0]=e>>>8;t[d+775|0]=e>>>16;t[d+776|0]=e>>>24;if(x[c+26>>1]<=7){D1(c,8)}e=0;while(1){f=d+B(e,3)|0;$A(c,e&255,f,f+1|0,f+2|0);e=e+1|0;if((e|0)!=256){continue}break}f=1;Ub[v[v[b>>2]+16>>2]](b,d,768,1)|0;e=xe(c,x[d+770>>1]-1|0);if(!x[d+770>>1]){break Wd}while(1){Ub[v[v[b>>2]+16>>2]](b,e,x[d+768>>1],1)|0;e=e-v[c+52>>2]|0;j=j+1|0;if(j>>>0>1]){continue}break}}Qb=d+784|0;if(f){break d}break c;case 1:c=fc(976);E=gf(c,19);v[c>>2]=39692;Fi(E,a);if(b){b=w[25288]|w[25289]<<8|(w[25290]<<16|w[25291]<<24);e=w[25284]|w[25285]<<8|(w[25286]<<16|w[25287]<<24);t[c+87|0]=e;t[c+88|0]=e>>>8;t[c+89|0]=e>>>16;t[c+90|0]=e>>>24;t[c+91|0]=b;t[c+92|0]=b>>>8;t[c+93|0]=b>>>16;t[c+94|0]=b>>>24;b=w[25281]|w[25282]<<8|(w[25283]<<16|w[25284]<<24);e=w[25277]|w[25278]<<8|(w[25279]<<16|w[25280]<<24);t[c+80|0]=e;t[c+81|0]=e>>>8;t[c+82|0]=e>>>16;t[c+83|0]=e>>>24;t[c+84|0]=b;t[c+85|0]=b>>>8;t[c+86|0]=b>>>16;t[c+87|0]=b>>>24;b=w[25273]|w[25274]<<8|(w[25275]<<16|w[25276]<<24);e=w[25269]|w[25270]<<8|(w[25271]<<16|w[25272]<<24);t[c+72|0]=e;t[c+73|0]=e>>>8;t[c+74|0]=e>>>16;t[c+75|0]=e>>>24;t[c+76|0]=b;t[c+77|0]=b>>>8;t[c+78|0]=b>>>16;t[c+79|0]=b>>>24}break c;case 2:c=fc(976);E=gf(c,20);v[c>>2]=39736;Fi(E,a);if(b){b=w[13555]|w[13556]<<8|(w[13557]<<16|w[13558]<<24);e=w[13551]|w[13552]<<8|(w[13553]<<16|w[13554]<<24);t[c+87|0]=e;t[c+88|0]=e>>>8;t[c+89|0]=e>>>16;t[c+90|0]=e>>>24;t[c+91|0]=b;t[c+92|0]=b>>>8;t[c+93|0]=b>>>16;t[c+94|0]=b>>>24;b=w[13548]|w[13549]<<8|(w[13550]<<16|w[13551]<<24);e=w[13544]|w[13545]<<8|(w[13546]<<16|w[13547]<<24);t[c+80|0]=e;t[c+81|0]=e>>>8;t[c+82|0]=e>>>16;t[c+83|0]=e>>>24;t[c+84|0]=b;t[c+85|0]=b>>>8;t[c+86|0]=b>>>16;t[c+87|0]=b>>>24;b=w[13540]|w[13541]<<8|(w[13542]<<16|w[13543]<<24);e=w[13536]|w[13537]<<8|(w[13538]<<16|w[13539]<<24);t[c+72|0]=e;t[c+73|0]=e>>>8;t[c+74|0]=e>>>16;t[c+75|0]=e>>>24;t[c+76|0]=b;t[c+77|0]=b>>>8;t[c+78|0]=b>>>16;t[c+79|0]=b>>>24}break c;default:break Vd}}b=w[15460]|w[15461]<<8|(w[15462]<<16|w[15463]<<24);c=w[15456]|w[15457]<<8|(w[15458]<<16|w[15459]<<24);t[a+87|0]=c;t[a+88|0]=c>>>8;t[a+89|0]=c>>>16;t[a+90|0]=c>>>24;t[a+91|0]=b;t[a+92|0]=b>>>8;t[a+93|0]=b>>>16;t[a+94|0]=b>>>24;b=w[15453]|w[15454]<<8|(w[15455]<<16|w[15456]<<24);c=w[15449]|w[15450]<<8|(w[15451]<<16|w[15452]<<24);t[a+80|0]=c;t[a+81|0]=c>>>8;t[a+82|0]=c>>>16;t[a+83|0]=c>>>24;t[a+84|0]=b;t[a+85|0]=b>>>8;t[a+86|0]=b>>>16;t[a+87|0]=b>>>24;b=w[15445]|w[15446]<<8|(w[15447]<<16|w[15448]<<24);c=w[15441]|w[15442]<<8|(w[15443]<<16|w[15444]<<24);t[a+72|0]=c;t[a+73|0]=c>>>8;t[a+74|0]=c>>>16;t[a+75|0]=c>>>24;t[a+76|0]=b;t[a+77|0]=b>>>8;t[a+78|0]=b>>>16;t[a+79|0]=b>>>24;return 0}Ub[v[v[c>>2]+4>>2]](c);return 1}ce(a+72|0,E+72|0);Ub[v[v[c>>2]+4>>2]](c);return 0}Ub[v[v[E>>2]+4>>2]](c);return 1}ce(a+72|0,c+72|0);Ub[v[v[E>>2]+4>>2]](c);return 0}function x5a(a){a=a|0;var 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,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=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=C(0);g=Qb-160|0;Qb=g;u[a+59254>>1]=0;v[a+26328>>2]=-1;v[a+26332>>2]=-1;v[a+26028>>2]=-1;u[a+26322>>1]=0;v[a+26100>>2]=0;v[a+26124>>2]=0;t[a+25861|0]=0;f=a+25797|0;t[f|0]=0;t[a+25925|0]=0;t[a+25733|0]=0;t[a+25221|0]=0;v[a+26036>>2]=0;t[a+25216|0]=0;ic(a+26172|0,0,128);ic(a+26356|0,0,128);v[a+26324>>2]=0;v[a+26080>>2]=0;v[a+26056>>2]=0;v[a+26060>>2]=0;v[a+190476>>2]=0;v[a+190480>>2]=0;v[a+26e3>>2]=0;v[a+26004>>2]=0;c=a+26008|0;v[c>>2]=0;v[c+4>>2]=0;v[a+26304>>2]=0;v[a+26308>>2]=0;o=a+26312|0;v[o>>2]=0;v[a+190468>>2]=966;v[a+26300>>2]=0;v[a+26048>>2]=0;v[a+26052>>2]=0;v[a+26140>>2]=0;v[a+26144>>2]=0;v[a+26152>>2]=0;v[a+26156>>2]=0;v[a+26020>>2]=0;v[a+26024>>2]=0;v[a+26160>>2]=0;v[a+26016>>2]=0;v[a+26084>>2]=0;v[a+26088>>2]=0;v[a+26128>>2]=0;c=a+26116|0;v[c>>2]=0;v[c+4>>2]=0;v[a+26108>>2]=0;v[a+26112>>2]=0;v[a+26132>>2]=1;v[a+26136>>2]=1;v[a+26148>>2]=1;v[a+26344>>2]=0;v[a+26348>>2]=1072693248;v[a+26164>>2]=2147483647;v[a+26168>>2]=2147483647;H=a+59380|0;c=H;v[c>>2]=0;v[c+4>>2]=0;I=a+59364|0;c=I;v[c>>2]=0;v[c+4>>2]=1065353216;J=a+59348|0;c=J;v[c>>2]=1065353216;v[c+4>>2]=0;c=a+59332|0;v[c>>2]=0;v[c+4>>2]=0;c=a+59316|0;v[c>>2]=0;v[c+4>>2]=0;v[a+59300>>2]=0;v[a+59304>>2]=0;v[a+59284>>2]=1065353216;v[a+59288>>2]=1065353216;v[a+59268>>2]=0;v[a+59272>>2]=1065353216;v[a+59388>>2]=1065353216;v[a+59372>>2]=0;v[a+59356>>2]=0;v[a+59340>>2]=0;v[a+59324>>2]=0;v[a+59308>>2]=0;v[a+59292>>2]=1065353216;v[a+59276>>2]=0;v[a+59392>>2]=0;v[a+59376>>2]=0;v[a+59360>>2]=0;v[a+59344>>2]=0;v[a+59328>>2]=0;v[a+59312>>2]=0;v[a+59296>>2]=0;v[a+59280>>2]=0;v[a+26336>>2]=3;v[a+26112>>2]=12;ha=a+26108|0;q=a+190476|0;E=a+25216|0;h=a+25733|0;ia=a+25861|0;l=a+26308|0;k=a+26310|0;n=a+26314|0;G=a+26304|0;s=a+26306|0;r=a+26028|0;c=a+26484|0;while(1){u[c+(b<<1)>>1]=b;d=b|1;u[c+(d<<1)>>1]=d;d=b|2;u[c+(d<<1)>>1]=d;d=b|3;u[c+(d<<1)>>1]=d;d=b|4;u[c+(d<<1)>>1]=d;d=b|5;u[c+(d<<1)>>1]=d;d=b|6;u[c+(d<<1)>>1]=d;d=b|7;u[c+(d<<1)>>1]=d;b=b+8|0;if((b|0)!=16384){continue}break}u[g+48>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],g+48|0,1,2)|0;c=w[g+48|0];b=a;if(x[a+25204>>1]==18761){c=c|w[g+49|0]<<8}else{c=w[g+49|0]|c<<8}u[b+25204>>1]=c;v[g+48>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],g+48|0,1,4)|0;b=w[g+48|0];if(x[a+25204>>1]==18761){U=b|w[g+49|0]<<8|w[g+50|0]<<16|w[g+51|0]<<24}else{U=w[g+51|0]|(w[g+49|0]<<16|b<<24|w[g+50|0]<<8)}Ub[v[v[a>>2]+8>>2]](v[a+4>>2],0,0)|0;b=g+128|0;Ub[v[v[a>>2]>>2]](v[a+4>>2],b,1,32)|0;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],0,2)|0;D=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;a:{b:{if(v[g+128>>2]==1296911693){break b}c=g+128|1;if((w[g+129|0]|w[g+130|0]<<8|(w[g+131|0]<<16|w[g+132|0]<<24))==1296911693){b=c;break b}d=g+128|2;if((x[g+130>>1]|x[g+132>>1]<<16)==1296911693){b=d;break b}i=g+128|3;if((w[g+131|0]|w[g+132|0]<<8|(w[g+133|0]<<16|w[g+134|0]<<24))==1296911693){b=i;break b}j=g+128|4;if(v[g+132>>2]==1296911693){b=j;break b}e=g+128|5;if((w[g+133|0]|w[g+134|0]<<8|(w[g+135|0]<<16|w[g+136|0]<<24))==1296911693){b=e;break b}m=g+128|6;if((x[g+134>>1]|x[g+136>>1]<<16)==1296911693){b=m;break b}p=g+128|7;if((w[g+135|0]|w[g+136|0]<<8|(w[g+137|0]<<16|w[g+138|0]<<24))==1296911693){b=p;break b}F=g+128|8;if(v[g+136>>2]==1296911693){b=F;break b}K=g+128|9;if((w[g+137|0]|w[g+138|0]<<8|(w[g+139|0]<<16|w[g+140|0]<<24))==1296911693){b=K;break b}M=g+128|10;if((x[g+138>>1]|x[g+140>>1]<<16)==1296911693){b=M;break b}N=g+128|11;if((w[g+139|0]|w[g+140|0]<<8|(w[g+141|0]<<16|w[g+142|0]<<24))==1296911693){b=N;break b}O=g+128|12;if(v[g+140>>2]==1296911693){b=O;break b}P=g+128|13;if((w[g+141|0]|w[g+142|0]<<8|(w[g+143|0]<<16|w[g+144|0]<<24))==1296911693){b=P;break b}Q=g+128|14;if((x[g+142>>1]|x[g+144>>1]<<16)==1296911693){b=Q;break b}R=g+128|15;if((w[g+143|0]|w[g+144|0]<<8|(w[g+145|0]<<16|w[g+146|0]<<24))==1296911693){b=R;break b}W=g+144|0;if(v[g+144>>2]==1296911693){b=W;break b}X=g+145|0;if((w[g+145|0]|w[g+146|0]<<8|(w[g+147|0]<<16|w[g+148|0]<<24))==1296911693){b=X;break b}Y=g+146|0;if((x[g+146>>1]|x[g+148>>1]<<16)==1296911693){b=Y;break b}Z=g+147|0;if((w[g+147|0]|w[g+148|0]<<8|(w[g+149|0]<<16|w[g+150|0]<<24))==1296911693){b=Z;break b}_=g+148|0;if(v[g+148>>2]==1296911693){b=_;break b}$=g+149|0;if((w[g+149|0]|w[g+150|0]<<8|(w[g+151|0]<<16|w[g+152|0]<<24))==1296911693){b=$;break b}aa=g+150|0;if((x[g+150>>1]|x[g+152>>1]<<16)==1296911693){b=aa;break b}ba=g+151|0;if((w[g+151|0]|w[g+152|0]<<8|(w[g+153|0]<<16|w[g+154|0]<<24))==1296911693){b=ba;break b}ca=g+152|0;if(v[g+152>>2]==1296911693){b=ca;break b}da=g+153|0;if((w[g+153|0]|w[g+154|0]<<8|(w[g+155|0]<<16|w[g+156|0]<<24))==1296911693){b=da;break b}ea=g+154|0;if((x[g+154>>1]|x[g+156>>1]<<16)==1296911693){b=ea;break b}fa=g+155|0;if((w[g+155|0]|w[g+156|0]<<8|(w[g+157|0]<<16|w[g+158|0]<<24))==1296911693){b=fa;break b}ga=g+156|0;if(v[g+156>>2]==1296911693){b=ga;break b}if(v[g+128>>2]==1229539657){break b}b=c;if((w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24))==1229539657){break b}b=d;if((w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24))==1229539657){break b}b=i;if((w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24))==1229539657){break b}b=j;if(v[g+132>>2]==1229539657){break b}b=e;if((w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24))==1229539657){break b}b=m;if((w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24))==1229539657){break b}b=p;if((w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24))==1229539657){break b}b=F;if(v[g+136>>2]==1229539657){break b}b=K;if((w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24))==1229539657){break b}b=M;if((w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24))==1229539657){break b}b=N;if((w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24))==1229539657){break b}b=O;if(v[g+140>>2]==1229539657){break b}b=P;if((w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24))==1229539657){break b}b=Q;if((w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24))==1229539657){break b}b=R;if((w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24))==1229539657){break b}b=W;if(v[g+144>>2]==1229539657){break b}b=X;if((w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24))==1229539657){break b}b=Y;if((w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24))==1229539657){break b}b=Z;if((w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24))==1229539657){break b}b=_;if(v[g+148>>2]==1229539657){break b}b=$;if((w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24))==1229539657){break b}b=aa;if((w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24))==1229539657){break b}b=ba;if((w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24))==1229539657){break b}b=ca;if(v[g+152>>2]==1229539657){break b}b=da;if((w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24))==1229539657){break b}b=ea;if((w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24))==1229539657){break b}b=fa;if((w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24))==1229539657){break b}b=ga;if(v[g+156>>2]==1229539657){break b}b=x[a+25204>>1];if(!((b|0)==18761|(b|0)==19789)){c:{d:{b=v[g+128>>2];if((b|0)==-503326465){if((x[g+134>>1]|x[g+136>>1]<<16)==1718188101){Ub[v[v[a>>2]+8>>2]](v[a+4>>2],4,0)|0;b=sl(a)+4|0;v[a+26048>>2]=b;v[a+26052>>2]=0;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],b,0)|0;if((Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0)!=255){xq(a,12)}v[a+26056>>2]=0;v[a+26060>>2]=0;break a}if(Pc(g+153|0,211895,7)){break d}break c}if(!Pc(g+153|0,211895,7)){break c}if((b|0)!=5134416){break d}t[h+8|0]=w[211928];b=w[211924]|w[211925]<<8|(w[211926]<<16|w[211927]<<24);c=w[211920]|w[211921]<<8|(w[211922]<<16|w[211923]<<24);t[h|0]=c;t[h+1|0]=c>>>8;t[h+2|0]=c>>>16;t[h+3|0]=c>>>24;t[h+4|0]=b;t[h+5|0]=b>>>8;t[h+6|0]=b>>>16;t[h+7|0]=b>>>24;b=w[211941]|w[211942]<<8|(w[211943]<<16|w[211944]<<24);c=w[211937]|w[211938]<<8|(w[211939]<<16|w[211940]<<24);t[f+8|0]=c;t[f+9|0]=c>>>8;t[f+10|0]=c>>>16;t[f+11|0]=c>>>24;t[f+12|0]=b;t[f+13|0]=b>>>8;t[f+14|0]=b>>>16;t[f+15|0]=b>>>24;b=w[211933]|w[211934]<<8|(w[211935]<<16|w[211936]<<24);c=w[211929]|w[211930]<<8|(w[211931]<<16|w[211932]<<24);t[f|0]=c;t[f+1|0]=c>>>8;t[f+2|0]=c>>>16;t[f+3|0]=c>>>24;t[f+4|0]=b;t[f+5|0]=b>>>8;t[f+6|0]=b>>>16;t[f+7|0]=b>>>24;break a}if(!Pc(g+128|0,211945,5)){b=w[211954]|w[211955]<<8;t[h+4|0]=b;t[h+5|0]=b>>>8;b=w[211950]|w[211951]<<8|(w[211952]<<16|w[211953]<<24);t[h|0]=b;t[h+1|0]=b>>>8;t[h+2|0]=b>>>16;t[h+3|0]=b>>>24;b=w[211966]|w[211967]<<8|(w[211968]<<16|w[211969]<<24);c=w[211962]|w[211963]<<8|(w[211964]<<16|w[211965]<<24);t[f+6|0]=c;t[f+7|0]=c>>>8;t[f+8|0]=c>>>16;t[f+9|0]=c>>>24;t[f+10|0]=b;t[f+11|0]=b>>>8;t[f+12|0]=b>>>16;t[f+13|0]=b>>>24;b=w[211960]|w[211961]<<8|(w[211962]<<16|w[211963]<<24);c=w[211956]|w[211957]<<8|(w[211958]<<16|w[211959]<<24);t[f|0]=c;t[f+1|0]=c>>>8;t[f+2|0]=c>>>16;t[f+3|0]=c>>>24;t[f+4|0]=b;t[f+5|0]=b>>>8;t[f+6|0]=b>>>16;t[f+7|0]=b>>>24;break a}if(!Pc(g+128|0,211970,5)){b=w[211954]|w[211955]<<8;t[h+4|0]=b;t[h+5|0]=b>>>8;b=w[211950]|w[211951]<<8|(w[211952]<<16|w[211953]<<24);t[h|0]=b;t[h+1|0]=b>>>8;t[h+2|0]=b>>>16;t[h+3|0]=b>>>24;b=w[211985]|w[211986]<<8|(w[211987]<<16|w[211988]<<24);c=w[211981]|w[211982]<<8|(w[211983]<<16|w[211984]<<24);t[f+6|0]=c;t[f+7|0]=c>>>8;t[f+8|0]=c>>>16;t[f+9|0]=c>>>24;t[f+10|0]=b;t[f+11|0]=b>>>8;t[f+12|0]=b>>>16;t[f+13|0]=b>>>24;b=w[211979]|w[211980]<<8|(w[211981]<<16|w[211982]<<24);c=w[211975]|w[211976]<<8|(w[211977]<<16|w[211978]<<24);t[f|0]=c;t[f+1|0]=c>>>8;t[f+2|0]=c>>>16;t[f+3|0]=c>>>24;t[f+4|0]=b;t[f+5|0]=b>>>8;t[f+6|0]=b>>>16;t[f+7|0]=b>>>24;break a}if(v[g+128>>2]==1229608262&v[g+132>>2]==1296845126){Ub[v[v[a>>2]+8>>2]](v[a+4>>2],84,0)|0;ja=a,ka=vm(a),v[ja+26056>>2]=ka;v[a+26060>>2]=0;ja=a,ka=vm(a),v[ja+26080>>2]=ka;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],92,0)|0;x0(a,vm(a));b=v[a+26060>>2];e:{if(y[a+26056>>2]<121&(b|0)<=0|(b|0)<0){break e}Ub[v[v[a>>2]+8>>2]](v[a+4>>2],120,0)|0;b=vm(a);c=v[a+26148>>2]+((b|0)!=0)|0;v[a+26148>>2]=c;if(!v[a+160>>2]|(c|0)!=2){break e}x0(a,b)}Ub[v[v[a>>2]+8>>2]](v[a+4>>2],100,0)|0;ja=a,ka=vm(a),v[ja+26048>>2]=ka;v[a+26052>>2]=0;xq(a,v[a+26056>>2]+12|0);break a}if((b|0)==1179011410){Ub[v[v[a>>2]+8>>2]](v[a+4>>2],0,0)|0;w0(a);break a}if(!Pc(g+128|0,211989,6)){Ub[v[v[a>>2]+8>>2]](v[a+4>>2],6,0)|0;Ub[v[v[a>>2]>>2]](v[a+4>>2],h,1,8)|0;Ub[v[v[a>>2]>>2]](v[a+4>>2],f,1,8)|0;Ub[v[v[a>>2]>>2]](v[a+4>>2],ia,1,16)|0;ja=a,ka=sl(a),v[ja+26048>>2]=ka;v[a+26052>>2]=0;sl(a);ja=a,ka=sl(a),u[ja+26306>>1]=ka;b=sl(a);v[a+190476>>2]=967;u[a+26304>>1]=b;v[a+26028>>2]=1633771873;break a}if(!Pc(g+128|0,211996,9)){d=Qb-208|0;Qb=d;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],0,0)|0;v[d+72>>2]=0;b=d- -64|0;v[b>>2]=0;v[b+4>>2]=0;v[d+56>>2]=0;v[d+60>>2]=0;i=d+48|0;b=i;v[b>>2]=0;v[b+4>>2]=0;j=d+40|0;b=j;v[b>>2]=0;v[b+4>>2]=0;v[d+32>>2]=0;v[d+36>>2]=0;e=d+32|4;m=d+52|0;p=d+44|0;while(1){b=d+80|0;Ub[v[v[a>>2]+16>>2]](v[a+4>>2],b,128)|0;b=af(b,61);f:{if(b){t[b|0]=0;b=b+1|0;break f}b=d+80|0;b=Bc(b)+b|0}g:{h:{i:{j:{c=v[d+80>>2];if((c|0)==5521732){v[d+24>>2]=m;v[d+20>>2]=i;v[d+16>>2]=p;ef(b,25359,d+16|0);c=v[d+80>>2]}if((c|0)==5065044){v[d+4>>2]=e;v[d>>2]=j;v[d+8>>2]=d+32;ef(b,80742,d);c=v[d+80>>2]}if((c|0)<=2120019){switch(c-2105432|0){case 1:break i;case 0:break j;default:break h}}if((c|0)==2120020){break g}if((c|0)!=5391432){if((c|0)!=1145589573){continue}j=v[a+26060>>2];b=v[a+26056>>2];c=Bib(x[a+26324>>1],0,x[a+26326>>1],0);e=c<<1&-2;i=b+e|0;c=j;v[a+26048>>2]=i;v[a+26052>>2]=e>>>0>i>>>0?c+1|0:c;v[d+52>>2]=v[d+52>>2]-1900;v[d+48>>2]=v[d+48>>2]-1;if((oa(d+32|0)|0)>=1){ja=a,ka=oa(d+32|0)|0,v[ja+26016>>2]=ka}b=a+25736|0;c=w[80766]|w[80767]<<8|(w[80768]<<16|w[80769]<<24);t[b|0]=c;t[b+1|0]=c>>>8;t[b+2|0]=c>>>16;t[b+3|0]=c>>>24;b=w[80763]|w[80764]<<8|(w[80765]<<16|w[80766]<<24);t[a+25733|0]=b;t[a+25734|0]=b>>>8;t[a+25735|0]=b>>>16;t[a+25736|0]=b>>>24;b=w[80774]|w[80775]<<8|(w[80776]<<16|w[80777]<<24);c=w[80770]|w[80771]<<8|(w[80772]<<16|w[80773]<<24);t[a+25797|0]=c;t[a+25798|0]=c>>>8;t[a+25799|0]=c>>>16;t[a+25800|0]=c>>>24;t[a+25801|0]=b;t[a+25802|0]=b>>>8;t[a+25803|0]=b>>>16;t[a+25804|0]=b>>>24;t[a+25805|0]=w[80778];v[a+190468>>2]=961;Qb=d+208|0;break a}b=he(b);v[a+26056>>2]=b;v[a+26060>>2]=b>>31;continue}ja=a,ka=he(b),u[ja+26306>>1]=ka;continue}ja=a,ka=he(b),u[ja+26304>>1]=ka;continue}if((c|0)!=2119764){continue}ja=a,ka=he(b),u[ja+26324>>1]=ka;continue}ja=a,ka=he(b),u[ja+26326>>1]=ka;continue}}k:{if((b|0)!=1649823558){if((b|0)!=1297239296){if((b|0)!=1145132880){break k}d=Qb-16|0;Qb=d;u[a+25204>>1]=18761;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],4,0)|0;v[d+4>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+4|0,1,4)|0;b=w[d+4|0];if(x[a+25204>>1]==18761){c=b|w[d+5|0]<<8|w[d+6|0]<<16|w[d+7|0]<<24}else{c=w[d+7|0]|(w[d+5|0]<<16|b<<24|w[d+6|0]<<8)}i=v[a>>2];j=v[i+8>>2];b=v[a+4>>2];v[d+4>>2]=-1;Ub[v[i>>2]](b,d+4|0,1,4)|0;i=w[d+4|0];if(x[a+25204>>1]==18761){i=i|w[d+5|0]<<8|w[d+6|0]<<16|w[d+7|0]<<24}else{i=w[d+7|0]|(w[d+5|0]<<16|i<<24|w[d+6|0]<<8)}Ub[j|0](b,i,0)|0;if(c){while(1){v[d+12>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,4)|0;b=w[d+12|0];if(x[a+25204>>1]==18761){b=b|w[d+13|0]<<8|w[d+14|0]<<16|w[d+15|0]<<24}else{b=w[d+15|0]|(w[d+13|0]<<16|b<<24|w[d+14|0]<<8)}v[d+12>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,4)|0;i=d+4|0;Ub[v[v[a>>2]>>2]](v[a+4>>2],i,8,1)|0;if(!Pc(i,80814,5)){v[a+26064>>2]=b;v[a+26068>>2]=b>>31}if(!Pc(d+4|0,80843,6)){v[a+26056>>2]=b;v[a+26060>>2]=b>>31}c=c-1|0;if(!Pc(d+4|0,80872,5)){v[a+26048>>2]=b;v[a+26052>>2]=b>>31}if(c){continue}break}}Ub[v[v[a>>2]+8>>2]](v[a+4>>2],v[a+26064>>2]+20|0,0)|0;b=a+25733|0;Ub[v[v[a>>2]>>2]](v[a+4>>2],b,64,1)|0;t[a+25796|0]=0;b=af(b,32);if(b){ce(a+25797|0,b+1|0);t[b|0]=0}u[d+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;c=w[d+12|0];b=a;if(x[a+25204>>1]==18761){c=c|w[d+13|0]<<8}else{c=w[d+13|0]|c<<8}u[b+26306>>1]=c;u[d+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;b=w[d+12|0];if(x[a+25204>>1]==18761){b=b|w[d+13|0]<<8}else{b=w[d+13|0]|b<<8}v[a+190476>>2]=948;u[a+26304>>1]=b;v[d+12>>2]=-1;b=d+12|0;Ub[v[v[a>>2]>>2]](v[a+4>>2],b,1,4)|0;u[d+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],b,1,2)|0;c=w[d+12|0];b=a;if(x[a+25204>>1]==18761){c=c|w[d+13|0]<<8}else{c=w[d+13|0]|c<<8}u[b+26324>>1]=c;u[d+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;b=w[d+12|0];if(x[a+25204>>1]==18761){b=b|w[d+13|0]<<8}else{b=w[d+13|0]|b<<8}v[a+190468>>2]=960;u[a+26326>>1]=b;v[a+26124>>2]=16383;Qb=d+16|0;break a}TI(a,0);break a}e=Qb-2192|0;Qb=e;u[a+25204>>1]=18761;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],36,0)|0;v[e+128>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],e+128|0,1,4)|0;c=w[e+128|0];b=a;if(x[a+25204>>1]==18761){c=c|w[e+129|0]<<8|w[e+130|0]<<16|w[e+131|0]<<24}else{c=w[e+131|0]|(w[e+129|0]<<16|c<<24|w[e+130|0]<<8)}v[b+26328>>2]=c;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],-4,2)|0;c=v[a>>2];d=v[c+8>>2];b=v[a+4>>2];v[e+128>>2]=-1;Ub[v[c>>2]](b,e+128|0,1,4)|0;c=w[e+128|0];if(x[a+25204>>1]==18761){c=c|w[e+129|0]<<8|w[e+130|0]<<16|w[e+131|0]<<24}else{c=w[e+131|0]|(w[e+129|0]<<16|c<<24|w[e+130|0]<<8)}Ub[d|0](b,c,0)|0;v[e+128>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],e+128|0,1,4)|0;b=w[e+128|0];if(x[a+25204>>1]==18761){b=b|w[e+129|0]<<8|w[e+130|0]<<16|w[e+131|0]<<24}else{b=w[e+131|0]|(w[e+129|0]<<16|b<<24|w[e+130|0]<<8)}l:{if((b|0)!=1682130259){break l}v[e+128>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],e+128|0,1,4)|0;v[e+128>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],e+128|0,1,4)|0;b=w[e+128|0];if(x[a+25204>>1]==18761){d=b|w[e+129|0]<<8|w[e+130|0]<<16|w[e+131|0]<<24}else{d=w[e+131|0]|(w[e+129|0]<<16|b<<24|w[e+130|0]<<8)}if(d){F=a+25861|0;K=a+25797|0;M=a+25733|0;while(1){v[e+2188>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],e+2188|0,1,4)|0;b=w[e+2188|0];if(x[a+25204>>1]==18761){c=b|w[e+2189|0]<<8|w[e+2190|0]<<16|w[e+2191|0]<<24}else{c=w[e+2191|0]|(w[e+2189|0]<<16|b<<24|w[e+2190|0]<<8)}v[e+2188>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],e+2188|0,1,4)|0;b=w[e+2188|0];if(x[a+25204>>1]==18761){i=b|w[e+2189|0]<<8|w[e+2190|0]<<16|w[e+2191|0]<<24}else{i=w[e+2191|0]|(w[e+2189|0]<<16|b<<24|w[e+2190|0]<<8)}v[e+2188>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],e+2188|0,1,4)|0;b=w[e+2188|0];if(x[a+25204>>1]==18761){b=b|w[e+2189|0]<<8|w[e+2190|0]<<16|w[e+2191|0]<<24}else{b=w[e+2191|0]|(w[e+2189|0]<<16|b<<24|w[e+2190|0]<<8)}N=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],c,0)|0;v[e+2188>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],e+2188|0,1,4)|0;j=w[e+2188|0];if(x[a+25204>>1]==18761){j=j|w[e+2189|0]<<8|w[e+2190|0]<<16|w[e+2191|0]<<24}else{j=w[e+2191|0]|(w[e+2189|0]<<16|j<<24|w[e+2190|0]<<8)}if((j|0)!=(b<<24|541279571)){break l}d=d-1|0;m:{n:{o:{if((b|0)<=1195461960){if((b|0)==843140425){break o}if((b|0)!=1179468099){break m}b=c+24|0;v[a+26064>>2]=b;v[a+26068>>2]=b>>31;b=i-28|0;v[a+26084>>2]=b>>>0<131072?b:131072;break m}if((b|0)==1347375696){break n}if((b|0)!=1195461961){break m}}Ub[v[v[a>>2]+8>>2]](v[a+4>>2],12,1)|0;v[e+2188>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],e+2188|0,1,4)|0;b=w[e+2188|0];if(x[a+25204>>1]==18761){b=b|w[e+2189|0]<<8|w[e+2190|0]<<16|w[e+2191|0]<<24}else{b=w[e+2191|0]|(w[e+2189|0]<<16|b<<24|w[e+2190|0]<<8)}v[e+2188>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],e+2188|0,1,4)|0;j=w[e+2188|0];p=(b|0)<=x[a+26306>>1];if(x[a+25204>>1]==18761){j=j|w[e+2189|0]<<8|w[e+2190|0]<<16|w[e+2191|0]<<24}else{j=w[e+2191|0]|(w[e+2189|0]<<16|j<<24|w[e+2190|0]<<8)}if(!(p|(j|0)<=x[a+26304>>1])){u[a+26304>>1]=j;u[a+26306>>1]=b;b=c+24|0;v[a+26048>>2]=b;v[a+26052>>2]=b>>31}b=c+28|0;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],b,0)|0;if((Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0)!=255){break m}if((Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0)!=216){break m}c=i-28|0;if((c|0)<=v[a+26080>>2]){break m}v[a+190468>>2]=966;v[a+26080>>2]=c;v[a+26056>>2]=b;v[a+26060>>2]=b>>31;break m}v[e+2188>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],e+2188|0,1,4)|0;v[e+2188>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],e+2188|0,1,4)|0;b=w[e+2188|0];if(x[a+25204>>1]==18761){b=b|w[e+2189|0]<<8|w[e+2190|0]<<16|w[e+2191|0]<<24}else{b=w[e+2191|0]|(w[e+2189|0]<<16|b<<24|w[e+2190|0]<<8)}Ub[v[v[a>>2]+8>>2]](v[a+4>>2],12,1)|0;j=b>>>0<256?b:256;if(!j){break m}c=(c+(b<<3)|0)+24|0;p=j<<1;b=0;while(1){v[e+2188>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],e+2188|0,1,4)|0;m=w[e+2188|0];O=(e+128|0)+(b<<2)|0;if(x[a+25204>>1]==18761){i=m|w[e+2189|0]<<8|w[e+2190|0]<<16|w[e+2191|0]<<24}else{i=w[e+2191|0]|(w[e+2189|0]<<16|m<<24|w[e+2190|0]<<8)}v[O>>2]=(i<<1)+c;b=b+1|0;if((p|0)!=(b|0)){continue}break}p=0;while(1){i=(e+128|0)+(p<<3)|0;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],v[i>>2],0)|0;b=0;while(1){p:{u[e+2188>>1]=65535;c=e+2188|0;Ub[v[v[a>>2]>>2]](v[a+4>>2],c,1,2)|0;c=w[c|x[a+25204>>1]!=18761];t[(e- -64|0)+b|0]=c;if(!c){c=b;break p}c=63;b=b+1|0;if((b|0)!=63){continue}}break}b=0;t[(e- -64|0)+c|0]=0;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],v[i+4>>2],0)|0;while(1){q:{u[e+2188>>1]=65535;c=e+2188|0;Ub[v[v[a>>2]>>2]](v[a+4>>2],c,1,2)|0;c=w[c|x[a+25204>>1]!=18761];t[b+e|0]=c;if(!c){c=b;break q}c=63;b=b+1|0;if((b|0)!=63){continue}}break}t[c+e|0]=0;if(v[e+64>>2]==5198665){ja=a,la=C(he(e)|0),z[ja+26e3>>2]=la}if(!Pc(e- -64|0,81148,9)){ce(M,e)}if(!Pc(e- -64|0,81168,9)){ce(K,e)}i=v[e+68>>2];b=i;c=v[e+64>>2];if((c|0)==1147093591&(b|0)==4412229){ce(F,e)}if(!Pc(e- -64|0,81193,5)){ja=a,ka=he(e),v[ja+26016>>2]=ka}if((c|0)==1414551621&(b|0)==4541769){ja=a,la=C(C(he(e)|0)/C(1e6)),z[ja+26004>>2]=la}if(!Pc(e- -64|0,81210,9)){ja=a,la=C(xf(e)),z[ja+26008>>2]=la}if((c|0)==1313164358&(b|0)==4740167){ja=a,la=C(xf(e)),z[ja+26012>>2]=la}p=p+1|0;if((j|0)!=(p|0)){continue}break}}Ub[v[v[a>>2]+8>>2]](v[a+4>>2],N,0)|0;if(d){continue}break}}v[a+26156>>2]=1}Qb=e+2192|0;break a}if(x[g+128>>1]!=18755){b=0;while(1){c=B(b,36);r:{if(v[c+209392>>2]!=(D|0)){break r}ce(h,c+209396|0);ce(f,c+209408|0);if(b-38>>>0>26){break r}c=Qb+-64|0;Qb=c;i=v[a+25208>>2];j=Jm(i,46);d=Jm(i,47);if(!d){d=Jm(i,92);d=d?d:i-1|0}s:{if(!j){break s}if((Bc(j)|0)!=4){break s}F=d+1|0;if((j-F|0)!=8){break s}e=jc(Bc(i)+1|0);if(!e){b=v[a+190640>>2];t:{if(b){v[c+20>>2]=75755;v[c+16>>2]=i;zd(b,4338,c+16|0);break t}v[c+4>>2]=75755;v[c>>2]=i;wc(v[252391],4338,c)}sd(a+190484|0,1);L()}e=ce(e,i);m=e+(j-i|0)|0;u:{if(!yi(j,76059)){p=m-1|0;d=t[p|0];if(d-48>>>0>=10){break u}while(1){if((d&255)!=57){t[p|0]=d+1;break u}t[p|0]=48;p=p-1|0;d=t[p|0];if(d-48>>>0<10){continue}break}break u}j=t[j+1|0]-65>>>0<26?76128:76059;p=w[j|0]|w[j+1|0]<<8|(w[j+2|0]<<16|w[j+3|0]<<24);t[m|0]=p;t[m+1|0]=p>>>8;t[m+2|0]=p>>>16;t[m+3|0]=p>>>24;t[m+4|0]=w[j+4|0];if(t[F|0]-48>>>0>9){break u}j=e+(F-i|0)|0;m=w[d+5|0]|w[d+6|0]<<8|(w[d+7|0]<<16|w[d+8|0]<<24);t[j|0]=m;t[j+1|0]=m>>>8;t[j+2|0]=m>>>16;t[j+3|0]=m>>>24;d=w[d+1|0]|w[d+2|0]<<8|(w[d+3|0]<<16|w[d+4|0]<<24);t[j+4|0]=d;t[j+5|0]=d>>>8;t[j+6|0]=d>>>16;t[j+7|0]=d>>>24}if(mc(e,i)){d=v[a>>2];v[a>>2]=1038352;i=v[a+4>>2];j=zh(e,52861);v[a+4>>2]=j;if(j){if(v[a+188>>2]){v[c+48>>2]=e;wc(v[252391],76201,c+48|0)}xq(a,12);v[a+26148>>2]=1;v[a+26056>>2]=0;v[a+26060>>2]=0;Ub[v[v[a>>2]+12>>2]](v[a+4>>2])|0}v[a+4>>2]=i;v[a>>2]=d}if(!v[a+26016>>2]){v[c+32>>2]=e;wc(v[252391],76267,c+32|0)}dc(e)}Qb=c- -64|0}b=b+1|0;if((b|0)!=68){continue}break}break a}c=Qb-16|0;Qb=c;u[a+25204>>1]=18761;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],4,0)|0;u[c+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,2)|0;d=w[c+12|0];b=a;if(x[a+25204>>1]==18761){i=d|w[c+13|0]<<8}else{i=w[c+13|0]|d<<8}v[b+26148>>2]=(i&65535)==2;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],14,1)|0;v[c+12>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,4)|0;d=w[c+12|0];b=a;if(x[a+25204>>1]==18761){i=d|w[c+13|0]<<8|w[c+14|0]<<16|w[c+15|0]<<24}else{i=w[c+15|0]|(w[c+13|0]<<16|d<<24|w[c+14|0]<<8)}v[b+26148>>2]=B(i,v[a+26148>>2]);v[c+12>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,4)|0;b=w[c+12|0];if(x[a+25204>>1]==18761){d=b|w[c+13|0]<<8|w[c+14|0]<<16|w[c+15|0]<<24}else{d=w[c+15|0]|(w[c+13|0]<<16|b<<24|w[c+14|0]<<8)}v[c+12>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,4)|0;b=w[c+12|0];if(x[a+25204>>1]==18761){j=b|w[c+13|0]<<8|w[c+14|0]<<16|w[c+15|0]<<24}else{j=w[c+15|0]|(w[c+13|0]<<16|b<<24|w[c+14|0]<<8)}v[c+12>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,4)|0;b=w[c+12|0];if(x[a+25204>>1]==18761){e=b|w[c+13|0]<<8|w[c+14|0]<<16|w[c+15|0]<<24}else{e=w[c+15|0]|(w[c+13|0]<<16|b<<24|w[c+14|0]<<8)}v[c+12>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,4)|0;i=w[c+12|0];b=a;if(x[a+25204>>1]==18761){i=i|w[c+13|0]<<8|w[c+14|0]<<16|w[c+15|0]<<24}else{i=w[c+15|0]|(w[c+13|0]<<16|i<<24|w[c+14|0]<<8)}v[b+26016>>2]=i;v[c+12>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,4)|0;b=w[c+12|0];if(x[a+25204>>1]==18761){b=b|w[c+13|0]<<8|w[c+14|0]<<16|w[c+15|0]<<24}else{b=w[c+15|0]|(w[c+13|0]<<16|b<<24|w[c+14|0]<<8)}if(b){v[a+26016>>2]=b}Ub[v[v[a>>2]+8>>2]](v[a+4>>2],d+4|0,0)|0;v[c+12>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,4)|0;d=w[c+12|0];b=a;if(x[a+25204>>1]==18761){i=d|w[c+13|0]<<8}else{i=w[c+15|0]|(d<<24|w[c+14|0]<<8)}u[b+26306>>1]=i;v[c+12>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,4)|0;d=w[c+12|0];b=a;if(x[a+25204>>1]==18761){i=d|w[c+13|0]<<8}else{i=w[c+15|0]|(d<<24|w[c+14|0]<<8)}u[b+26304>>1]=i;u[c+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,2)|0;u[c+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,2)|0;b=w[c+12|0];i=952;v:{w:{x:{if(x[a+25204>>1]==18761){b=b|w[c+13|0]<<8}else{b=w[c+13|0]|b<<8}switch((b&65535)-8|0){case 0:break w;case 8:break x;default:break v}}i=948}v[a+190476>>2]=i}Ub[v[v[a>>2]+8>>2]](v[a+4>>2],j+792|0,0)|0;t[a+25737|0]=w[81131];b=w[81127]|w[81128]<<8|(w[81129]<<16|w[81130]<<24);t[a+25733|0]=b;t[a+25734|0]=b>>>8;t[a+25735|0]=b>>>16;t[a+25736|0]=b>>>24;v[c+12>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,4)|0;i=a+25797|0;d=w[c+12|0];b=c;if(x[a+25204>>1]==18761){j=d|w[c+13|0]<<8|w[c+14|0]<<16|w[c+15|0]<<24}else{j=w[c+15|0]|(w[c+13|0]<<16|d<<24|w[c+14|0]<<8)}v[b>>2]=j;zd(i,67450,c);Ub[v[v[a>>2]+8>>2]](v[a+4>>2],12,1)|0;v[c+12>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,4)|0;b=w[c+12|0];y:{z:{A:{B:{if(x[a+25204>>1]==18761){b=b|w[c+13|0]<<8|w[c+14|0]<<16}else{b=w[c+15|0]|(w[c+13|0]<<16|b<<24|w[c+14|0]<<8)}switch((b&16777215)-3|0){case 1:break A;case 0:break B;default:break z}}v[a+26028>>2]=-1802201964;break y}v[a+26028>>2]=1229539657;break y}v[a+26148>>2]=0}Ub[v[v[a>>2]+8>>2]](v[a+4>>2],72,1)|0;v[c+12>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,4)|0;d=w[c+12|0];b=a;C:{D:{E:{if(x[a+25204>>1]==18761){i=d|w[c+13|0]<<8|w[c+14|0]<<16|w[c+15|0]<<24}else{i=w[c+15|0]|(w[c+13|0]<<16|d<<24|w[c+14|0]<<8)}d=(i+3600>>>0)%360|0;if(d>>>0<=179){if(!d){break E}if((d|0)!=90){break C}i=7;break D}i=4;if((d|0)==270){break D}if((d|0)!=180){break C}i=1;break D}i=2}v[b+26328>>2]=i}v[c+12>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,4)|0;d=w[c+12|0];b=a;if(x[a+25204>>1]==18761){i=d|w[c+13|0]<<8|w[c+14|0]<<16|w[c+15|0]<<24}else{i=w[c+15|0]|(w[c+13|0]<<16|d<<24|w[c+14|0]<<8)}v[b+59268>>2]=i;v[c+12>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,4)|0;b=w[c+12|0];i=a+59276|0;if(x[a+25204>>1]==18761){b=b|w[c+13|0]<<8|w[c+14|0]<<16|w[c+15|0]<<24}else{b=w[c+15|0]|(w[c+13|0]<<16|b<<24|w[c+14|0]<<8)}v[i>>2]=b;v[c+12>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,4)|0;d=w[c+12|0];b=a;if(x[a+25204>>1]==18761){i=d|w[c+13|0]<<8|w[c+14|0]<<16|w[c+15|0]<<24}else{i=w[c+15|0]|(w[c+13|0]<<16|d<<24|w[c+14|0]<<8)}v[b+26124>>2]=-1<>2]+8>>2]](v[a+4>>2],668,1)|0;v[c+12>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,4)|0;d=w[c+12|0];b=a;if(x[a+25204>>1]==18761){i=d|w[c+13|0]<<8|w[c+14|0]<<16|w[c+15|0]<<24}else{i=w[c+15|0]|(w[c+13|0]<<16|d<<24|w[c+14|0]<<8)}z[b+26004>>2]=C(i>>>0)/C(1e9);Ub[v[v[a>>2]+8>>2]](v[a+4>>2],e,0)|0;b=v[a+160>>2];if(b>>>0>2]){Ub[v[v[a>>2]+8>>2]](v[a+4>>2],b<<3,1)|0}v[c+12>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,4)|0;d=w[c+12|0];b=a;if(x[a+25204>>1]==18761){i=d|w[c+13|0]<<8|w[c+14|0]<<16|w[c+15|0]<<24}else{i=w[c+15|0]|(w[c+13|0]<<16|d<<24|w[c+14|0]<<8)}d=b;b=0;i=i+8|0;b=i>>>0<8?1:b;v[d+26048>>2]=i;v[d+26052>>2]=b;v[c+12>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,4)|0;d=w[c+12|0];e=v[a+26052>>2];if(x[a+25204>>1]==18761){b=d|w[c+13|0]<<8|w[c+14|0]<<16|w[c+15|0]<<24}else{b=w[c+15|0]|(w[c+13|0]<<16|d<<24|w[c+14|0]<<8)}j=0;d=j+v[a+26048>>2]|0;b=b+e|0;v[a+26048>>2]=d;v[a+26052>>2]=d>>>0>>0?b+1|0:b;Qb=c+16|0;break a}b=w[211906]|w[211907]<<8|(w[211908]<<16|w[211909]<<24);t[h+3|0]=b;t[h+4|0]=b>>>8;t[h+5|0]=b>>>16;t[h+6|0]=b>>>24;b=w[211903]|w[211904]<<8|(w[211905]<<16|w[211906]<<24);t[h|0]=b;t[h+1|0]=b>>>8;t[h+2|0]=b>>>16;t[h+3|0]=b>>>24;b=w[211918]|w[211919]<<8;t[f+8|0]=b;t[f+9|0]=b>>>8;b=w[211914]|w[211915]<<8|(w[211916]<<16|w[211917]<<24);c=w[211910]|w[211911]<<8|(w[211912]<<16|w[211913]<<24);t[f|0]=c;t[f+1|0]=c>>>8;t[f+2|0]=c>>>16;t[f+3|0]=c>>>24;t[f+4|0]=b;t[f+5|0]=b>>>8;t[f+6|0]=b>>>16;t[f+7|0]=b>>>24;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],33,0)|0;b=Qb-112|0;Qb=b;t[b+51|0]=0;ja=b,ka=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[ja+50|0]=ka;ja=b,ka=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[ja+49|0]=ka;ja=b,ka=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[ja+48|0]=ka;ja=b,ka=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[ja+47|0]=ka;ja=b,ka=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[ja+46|0]=ka;ja=b,ka=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[ja+45|0]=ka;ja=b,ka=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[ja+44|0]=ka;ja=b,ka=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[ja+43|0]=ka;ja=b,ka=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[ja+42|0]=ka;ja=b,ka=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[ja+41|0]=ka;ja=b,ka=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[ja+40|0]=ka;ja=b,ka=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[ja+39|0]=ka;ja=b,ka=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[ja+38|0]=ka;ja=b,ka=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[ja+37|0]=ka;ja=b,ka=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[ja+36|0]=ka;ja=b,ka=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[ja+35|0]=ka;ja=b,ka=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[ja+34|0]=ka;ja=b,ka=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[ja+33|0]=ka;ja=b,ka=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[ja+32|0]=ka;v[b+104>>2]=0;v[b+96>>2]=0;v[b+100>>2]=0;v[b+88>>2]=0;v[b+92>>2]=0;c=b+80|0;v[c>>2]=0;v[c+4>>2]=0;d=b+72|0;v[d>>2]=0;v[d+4>>2]=0;i=b- -64|0;v[b+16>>2]=i|4;v[b+64>>2]=0;v[b+68>>2]=0;v[b>>2]=b+84;v[b+4>>2]=c;v[b+8>>2]=b+76;v[b+12>>2]=d;v[b+20>>2]=i;F:{if((ef(b+32|0,64727,b)|0)!=6){break F}v[b+84>>2]=v[b+84>>2]-1900;v[b+80>>2]=v[b+80>>2]-1;if((oa(b- -64|0)|0)<1){break F}ja=a,ka=oa(b- -64|0)|0,v[ja+26016>>2]=ka}Qb=b+112|0;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],60,0)|0;v[g+48>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],g+48|0,1,4)|0;c=w[g+48|0];b=a;if(x[a+25204>>1]==18761){c=c|w[g+49|0]<<8|w[g+50|0]<<16|w[g+51|0]<<24}else{c=w[g+51|0]|(w[g+49|0]<<16|c<<24|w[g+50|0]<<8)}z[b+59268>>2]=c>>>0;v[g+48>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],g+48|0,1,4)|0;c=w[g+48|0];b=a;if(x[a+25204>>1]!=18761){c=w[g+51|0]|(w[g+49|0]<<16|c<<24|w[g+50|0]<<8)}else{c=c|w[g+49|0]<<8|w[g+50|0]<<16|w[g+51|0]<<24}z[b+59272>>2]=c>>>0;v[g+48>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],g+48|0,1,4)|0;c=w[g+48|0];b=a;if(x[a+25204>>1]!=18761){c=w[g+51|0]|(w[g+49|0]<<16|c<<24|w[g+50|0]<<8)}else{c=c|w[g+49|0]<<8|w[g+50|0]<<16|w[g+51|0]<<24}z[b+59280>>2]=c>>>0;v[g+48>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],g+48|0,1,4)|0;c=w[g+48|0];b=a;if(x[a+25204>>1]!=18761){c=w[g+51|0]|(w[g+49|0]<<16|c<<24|w[g+50|0]<<8)}else{c=c|w[g+49|0]<<8|w[g+50|0]<<16|w[g+51|0]<<24}z[b+59276>>2]=c>>>0;break a}if((x[g+134>>1]|x[g+136>>1]<<16)==1346454856&(x[g+138>>1]|x[g+140>>1]<<16)==1380205379){v[a+26048>>2]=U;v[a+26052>>2]=0;RI(a,U,D-U|0);break a}xq(a,0);break a}e=Qb-48|0;Qb=e;v[a+25176>>2]=0;v[a+25180>>2]=0;v[a+25200>>2]=0;c=a+25192|0;v[c>>2]=0;v[c+4>>2]=0;c=a+25184|0;v[c>>2]=0;v[c+4>>2]=0;N=b-(g+128|0)|0;K=N;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],K,0)|0;v[e>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],e,1,4)|0;c=w[e|0];b=a;if(x[a+25204>>1]==18761){c=c|w[e+1|0]<<8}else{c=w[e+3|0]|(c<<24|w[e+2|0]<<8)}u[b+25204>>1]=c;v[e>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],e,1,4)|0;b=w[e|0];G:{if(x[a+25204>>1]==18761){p=w[e+2|0]<<16;d=24;i=3;b=b|w[e+1|0]<<8;break G}p=b<<24;d=8;i=2;b=w[e+1|0]<<16}H:{if((b&16776960|p|w[e|i]<>2];d=v[c+8>>2];b=v[a+4>>2];v[e>>2]=-1;Ub[v[c>>2]](b,e,1,4)|0;c=w[e|0];if(x[a+25204>>1]==18761){c=c|w[e+1|0]<<8|w[e+2|0]<<16|w[e+3|0]<<24}else{c=w[e+3|0]|(w[e+1|0]<<16|c<<24|w[e+2|0]<<8)}Ub[d|0](b,c+K|0,0)|0;v[e>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],e,1,4)|0;b=w[e|0];if(x[a+25204>>1]==18761){d=b|w[e+1|0]<<8|w[e+2|0]<<16|w[e+3|0]<<24}else{d=w[e+3|0]|(w[e+1|0]<<16|b<<24|w[e+2|0]<<8)}v[e>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],e,1,4)|0;m=a+25797|0;if(d){O=a+25176|0;while(1){v[e+44>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],e+44|0,1,4)|0;b=w[e+44|0];if(x[a+25204>>1]==18761){c=b|w[e+45|0]<<8|w[e+46|0]<<16|w[e+47|0]<<24}else{c=w[e+47|0]|(w[e+45|0]<<16|b<<24|w[e+46|0]<<8)}v[e+44>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],e+44|0,1,4)|0;v[e+44>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],e+44|0,1,4)|0;b=w[e+44|0];if(x[a+25204>>1]==18761){i=b|w[e+45|0]<<8|w[e+46|0]<<16|w[e+47|0]<<24}else{i=w[e+47|0]|(w[e+45|0]<<16|b<<24|w[e+46|0]<<8)}v[e+44>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],e+44|0,1,4)|0;b=w[e+44|0];if(x[a+25204>>1]==18761){b=b|w[e+45|0]<<8|w[e+46|0]<<16|w[e+47|0]<<24}else{b=w[e+47|0]|(w[e+45|0]<<16|b<<24|w[e+46|0]<<8)}d=d-1|0;M=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;p=0;F=b+K|0;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],F,0)|0;j=a;I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{switch(c-256|0){default:switch(c-528|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 11:case 14:case 15:case 16:case 17:break I;case 19:break M;case 18:break N;case 13:break O;case 12:break P;case 10:break Q;case 0:break R;default:break L};case 0:v[a+26328>>2]=t[(b&3)+80895|0]-48;break I;case 6:while(1){v[e+44>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],e+44|0,1,4)|0;b=w[e+44|0];c=e+(p<<2)|0;if(x[a+25204>>1]==18761){b=b|w[e+45|0]<<8|w[e+46|0]<<16|w[e+47|0]<<24}else{b=w[e+47|0]|(w[e+45|0]<<16|b<<24|w[e+46|0]<<8)}v[c>>2]=b;p=p+1|0;if((p|0)!=9){continue}break};SI(a,e);break I;case 7:v[e+44>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],e+44|0,1,4)|0;b=w[e+44|0];if(x[a+25204>>1]==18761){break K}b=w[e+47|0]|(w[e+45|0]<<16|b<<24|w[e+46|0]<<8);break J;case 8:u[a+26306>>1]=b;break I;case 9:u[a+26304>>1]=b;break I;case 10:u[a+26314>>1]=b;break I;case 11:u[a+26312>>1]=b;break I;case 12:u[a+26310>>1]=b;break I;case 13:u[a+26308>>1]=b;break I;case 14:v[O>>2]=b;break I;case 15:v[a+26048>>2]=F;v[a+26052>>2]=0;break I;case 16:v[a+26084>>2]=i;v[a+26064>>2]=F;v[a+26068>>2]=0;break I;case 1:case 2:case 3:case 4:case 5:case 17:break I;case 18:break S}}v[a+25180>>2]=M-4;break I}v[a+25200>>2]=b;break I}v[a+25196>>2]=b;break I}v[a+26040>>2]=F;v[a+26044>>2]=0;break I}v[a+25184>>2]=b;break I}v[a+25192>>2]=b-x[a+26314>>1];break I}v[a+25188>>2]=F;break I}if((c|0)!=769){break I}t[a+25860|0]=0;Ub[v[v[a>>2]>>2]](v[a+4>>2],m,1,63)|0;b=yd(m,80914);if(!b){break I}t[b|0]=0;break I}b=b|w[e+45|0]<<8|w[e+46|0]<<16|w[e+47|0]<<24}v[j+59268>>2]=b;v[e+44>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],e+44|0,1,4)|0;c=w[e+44|0];b=a;if(x[a+25204>>1]!=18761){c=w[e+47|0]|(w[e+45|0]<<16|c<<24|w[e+46|0]<<8)}else{c=c|w[e+45|0]<<8|w[e+46|0]<<16|w[e+47|0]<<24}v[b+59272>>2]=c;v[e+44>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],e+44|0,1,4)|0;b=w[e+44|0];if(x[a+25204>>1]!=18761){v[a+59276>>2]=w[e+47|0]|(w[e+45|0]<<16|b<<24|w[e+46|0]<<8);break I}v[a+59276>>2]=b|w[e+45|0]<<8|w[e+46|0]<<16|w[e+47|0]<<24}Ub[v[v[a>>2]+8>>2]](v[a+4>>2],M,0)|0;if(d){continue}break}}v[a+26124>>2]=65535;v[a+190476>>2]=v[a+25176>>2]<3?962:963;b=w[80942]|w[80943]<<8|(w[80944]<<16|w[80945]<<24);c=w[80938]|w[80939]<<8|(w[80940]<<16|w[80941]<<24);t[a+25733|0]=c;t[a+25734|0]=c>>>8;t[a+25735|0]=c>>>16;t[a+25736|0]=c>>>24;t[a+25737|0]=b;t[a+25738|0]=b>>>8;t[a+25739|0]=b>>>16;t[a+25740|0]=b>>>24;b=a+25741|0;c=w[80946]|w[80947]<<8;t[b|0]=c;t[b+1|0]=c>>>8;if(w[a+25797|0]){break H}T:{U:{b=x[a+26304>>1];if(b>>>0<=4127){if((b|0)==2060){break U}if((b|0)!=2682){break H}t[m+4|0]=w[80998];b=w[80994]|w[80995]<<8|(w[80996]<<16|w[80997]<<24);t[m|0]=b;t[m+1|0]=b>>>8;t[m+2|0]=b>>>16;t[m+3|0]=b>>>24;break H}if((b|0)==4128){break T}if((b|0)!=5488){break H}t[m+4|0]=w[81037];b=w[81033]|w[81034]<<8|(w[81035]<<16|w[81036]<<24);t[m|0]=b;t[m+1|0]=b>>>8;t[m+2|0]=b>>>16;t[m+3|0]=b>>>24;break H}b=w[80973]|w[80974]<<8|(w[80975]<<16|w[80976]<<24);t[m+7|0]=b;t[m+8|0]=b>>>8;t[m+9|0]=b>>>16;t[m+10|0]=b>>>24;b=w[80970]|w[80971]<<8|(w[80972]<<16|w[80973]<<24);c=w[80966]|w[80967]<<8|(w[80968]<<16|w[80969]<<24);t[m|0]=c;t[m+1|0]=c>>>8;t[m+2|0]=c>>>16;t[m+3|0]=c>>>24;t[m+4|0]=b;t[m+5|0]=b>>>8;t[m+6|0]=b>>>16;t[m+7|0]=b>>>24;break H}t[m+4|0]=w[81019];b=w[81015]|w[81016]<<8|(w[81017]<<16|w[81018]<<24);t[m|0]=b;t[m+1|0]=b>>>8;t[m+2|0]=b>>>16;t[m+3|0]=b>>>24}Qb=e+48|0;if(!N){break a}xq(a,0)}V:{if(w[h|0]){break V}d=Qb-16|0;Qb=d;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],2,0)|0;u[a+25204>>1]=18761;j=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;if((j|0)==6){Ub[v[v[a>>2]+8>>2]](v[a+4>>2],5,1)|0}v[d+12>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,4)|0;b=w[d+12|0];if(x[a+25204>>1]==18761){b=b|w[d+13|0]<<8|w[d+14|0]<<16|w[d+15|0]<<24}else{b=w[d+15|0]|(w[d+13|0]<<16|b<<24|w[d+14|0]<<8)}W:{if((b|0)!=(D|0)){break W}if((j|0)>=7){v[d+12>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,4)|0;c=w[d+12|0];b=a;i=a;if(x[a+25204>>1]==18761){c=c|w[d+13|0]<<8|w[d+14|0]<<16|w[d+15|0]<<24}else{c=w[d+15|0]|(w[d+13|0]<<16|c<<24|w[d+14|0]<<8)}v[i+26048>>2]=c;v[b+26052>>2]=0}u[d+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;c=w[d+12|0];b=a;if(x[a+25204>>1]==18761){c=c|w[d+13|0]<<8}else{c=w[d+13|0]|c<<8}u[b+26304>>1]=c;u[a+26308>>1]=c;u[d+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;b=w[d+12|0];c=a;if(x[a+25204>>1]==18761){b=b|w[d+13|0]<<8}else{b=w[d+13|0]|b<<8}u[c+26306>>1]=b;u[a+26310>>1]=b;t[a+25737|0]=w[81086];c=w[81082]|w[81083]<<8|(w[81084]<<16|w[81085]<<24);t[a+25733|0]=c;t[a+25734|0]=c>>>8;t[a+25735|0]=c>>>16;t[a+25736|0]=c>>>24;c=x[a+26308>>1];v[d+4>>2]=b&65535;v[d+8>>2]=c;v[d>>2]=j;zd(a+25797|0,81098,d);i=964;if((j|0)!=6){i=965;if((j|0)!=9){break W}}v[a+190476>>2]=i}Qb=d+16|0;if(w[a+25733|0]){break V}v[a+26148>>2]=0;d=Qb-16|0;Qb=d;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],0,0)|0;X:{if((Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0)!=255){break X}if((Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0)!=216){break X}if((Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0)!=255){break X}while(1){j=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;if((j|0)==218){break X}u[a+25204>>1]=19789;u[d+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;b=w[d+12|0];if(x[a+25204>>1]==18761){c=b|w[d+13|0]<<8}else{c=w[d+13|0]|b<<8}i=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;Y:{switch(j-192|0){case 0:case 3:Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;u[d+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;j=w[d+12|0];b=a;if(x[a+25204>>1]==18761){j=j|w[d+13|0]<<8}else{j=w[d+13|0]|j<<8}u[b+26304>>1]=j;u[d+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;j=w[d+12|0];b=a;if(x[a+25204>>1]==18761){j=j|w[d+13|0]<<8}else{j=w[d+13|0]|j<<8}u[b+26306>>1]=j;break;default:break Y}}u[d+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;j=w[d+12|0];b=a;if(x[a+25204>>1]==18761){j=j|w[d+13|0]<<8}else{j=w[d+13|0]|j<<8}u[b+25204>>1]=j;v[d+12>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,4)|0;b=w[d+12|0];if(x[a+25204>>1]==18761){b=b|w[d+13|0]<<8|w[d+14|0]<<16|w[d+15|0]<<24}else{b=w[d+15|0]|(w[d+13|0]<<16|b<<24|w[d+14|0]<<8)}v[d+12>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,4)|0;j=w[d+12|0];c=(c&65535)-2|0;if(x[a+25204>>1]==18761){j=j|w[d+13|0]<<8|w[d+14|0]<<16|w[d+15|0]<<24}else{j=w[d+15|0]|(w[d+13|0]<<16|j<<24|w[d+14|0]<<8)}if((j|0)==1212498256){RI(a,b+i|0,c-b|0)}xq(a,i+6|0);Ub[v[v[a>>2]+8>>2]](v[a+4>>2],c+i|0,0)|0;if((Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0)==255){continue}break}}Qb=d+16|0}if(yd(h,63884)){b=w[63888]|w[63889]<<8;t[h+4|0]=b;t[h+5|0]=b>>>8;b=w[63884]|w[63885]<<8|(w[63886]<<16|w[63887]<<24);t[h|0]=b;t[h+1|0]=b>>>8;t[h+2|0]=b>>>16;t[h+3|0]=b>>>24}if(yd(h,63686)){b=w[63690]|w[63691]<<8;t[h+4|0]=b;t[h+5|0]=b>>>8;b=w[63686]|w[63687]<<8|(w[63688]<<16|w[63689]<<24);t[h|0]=b;t[h+1|0]=b>>>8;t[h+2|0]=b>>>16;t[h+3|0]=b>>>24}if(yd(h,63133)){b=w[63137]|w[63138]<<8;t[h+4|0]=b;t[h+5|0]=b>>>8;b=w[63133]|w[63134]<<8|(w[63135]<<16|w[63136]<<24);t[h|0]=b;t[h+1|0]=b>>>8;t[h+2|0]=b>>>16;t[h+3|0]=b>>>24}if(yd(h,23360)){b=w[23364]|w[23365]<<8;t[h+4|0]=b;t[h+5|0]=b>>>8;b=w[23360]|w[23361]<<8|(w[23362]<<16|w[23363]<<24);t[h|0]=b;t[h+1|0]=b>>>8;t[h+2|0]=b>>>16;t[h+3|0]=b>>>24}if(yd(h,211840)){b=w[211844]|w[211845]<<8;t[h+4|0]=b;t[h+5|0]=b>>>8;b=w[211840]|w[211841]<<8|(w[211842]<<16|w[211843]<<24);t[h|0]=b;t[h+1|0]=b>>>8;t[h+2|0]=b>>>16;t[h+3|0]=b>>>24}if(yd(h,44919)){t[h|0]=79;t[h+1|0]=76;t[h+2|0]=89;t[h+3|0]=77;t[h+4|0]=80;t[h+5|0]=85;t[h+6|0]=83;t[h+7|0]=0}if(yd(h,64230)){b=w[64233]|w[64234]<<8|(w[64235]<<16|w[64236]<<24);t[h+3|0]=b;t[h+4|0]=b>>>8;t[h+5|0]=b>>>16;t[h+6|0]=b>>>24;b=w[64230]|w[64231]<<8|(w[64232]<<16|w[64233]<<24);t[h|0]=b;t[h+1|0]=b>>>8;t[h+2|0]=b>>>16;t[h+3|0]=b>>>24}if(yd(h,211846)){t[h|0]=77;t[h+1|0]=73;t[h+2|0]=78;t[h+3|0]=79;t[h+4|0]=76;t[h+5|0]=84;t[h+6|0]=65;t[h+7|0]=0}if(yd(h,211854)){t[h|0]=77;t[h+1|0]=105;t[h+2|0]=110;t[h+3|0]=111;t[h+4|0]=108;t[h+5|0]=116;t[h+6|0]=97;t[h+7|0]=0}if(yd(h,211862)){b=w[211865]|w[211866]<<8|(w[211867]<<16|w[211868]<<24);t[h+3|0]=b;t[h+4|0]=b>>>8;t[h+5|0]=b>>>16;t[h+6|0]=b>>>24;b=w[211862]|w[211863]<<8|(w[211864]<<16|w[211865]<<24);t[h|0]=b;t[h+1|0]=b>>>8;t[h+2|0]=b>>>16;t[h+3|0]=b>>>24}if(yd(h,211869)){b=w[211873]|w[211874]<<8;t[h+4|0]=b;t[h+5|0]=b>>>8;b=w[211869]|w[211870]<<8|(w[211871]<<16|w[211872]<<24);t[h|0]=b;t[h+1|0]=b>>>8;t[h+2|0]=b>>>16;t[h+3|0]=b>>>24}if(yd(h,209048)){b=w[209052]|w[209053]<<8;t[h+4|0]=b;t[h+5|0]=b>>>8;b=w[209048]|w[209049]<<8|(w[209050]<<16|w[209051]<<24);t[h|0]=b;t[h+1|0]=b>>>8;t[h+2|0]=b>>>16;t[h+3|0]=b>>>24}if(yd(h,80938)){b=w[80946]|w[80947]<<8;t[h+8|0]=b;t[h+9|0]=b>>>8;b=w[80942]|w[80943]<<8|(w[80944]<<16|w[80945]<<24);c=w[80938]|w[80939]<<8|(w[80940]<<16|w[80941]<<24);t[h|0]=c;t[h+1|0]=c>>>8;t[h+2|0]=c>>>16;t[h+3|0]=c>>>24;t[h+4|0]=b;t[h+5|0]=b>>>8;t[h+6|0]=b>>>16;t[h+7|0]=b>>>24}if(yd(h,211875)){t[h|0]=83;t[h+1|0]=65;t[h+2|0]=77;t[h+3|0]=83;t[h+4|0]=85;t[h+5|0]=78;t[h+6|0]=71;t[h+7|0]=0}if(yd(h,211883)){b=w[211886]|w[211887]<<8|(w[211888]<<16|w[211889]<<24);t[h+3|0]=b;t[h+4|0]=b>>>8;t[h+5|0]=b>>>16;t[h+6|0]=b>>>24;b=w[211883]|w[211884]<<8|(w[211885]<<16|w[211886]<<24);t[h|0]=b;t[h+1|0]=b>>>8;t[h+2|0]=b>>>16;t[h+3|0]=b>>>24}if(!Oc(h,23360,5)){t[a+25749|0]=0;t[a+25813|0]=0}b=(Bc(h)+a|0)+25732|0;if(w[b|0]==32){while(1){t[b|0]=0;b=b-1|0;if(w[b|0]==32){continue}break}}b=(Bc(f)+a|0)+25796|0;if(w[b|0]==32){while(1){t[b|0]=0;b=b-1|0;if(w[b|0]==32){continue}break}}b=Bc(h);Z:{if(mN(f,h,b)){break Z}c=a+b|0;if(w[c+25797|0]!=32){break Z}Wd(f,c+25798|0,63-b|0)}if(!Oc(f,212006,15)){ce(f,a+25812|0)}t[a+25860|0]=0;t[a+25924|0]=0;t[a+25988|0]=0;t[a+25796|0]=0;t[a+25732|0]=0;d=v[a+26148>>2];_:{if(!d){break _}if(!v[a+26124>>2]){v[a+26124>>2]=-1<>2]^-1}b=x[l>>1];if(!b){b=x[G>>1];u[l>>1]=b}c=x[k>>1];if(!c){c=x[s>>1];u[k>>1]=c}i=x[a+26322>>1];if(i){v[a+26344>>2]=0;v[a+26348>>2]=1072693248;c=b+i|0;u[a+26310>>1]=c;b=c-1|0;u[a+26308>>1]=b}i=3136;$:{aa:{ba:{j=b&65535;ca:{if((j|0)!=3136){i=3014;if((j|0)==3014){break ba}i=2624;if((j|0)!=2624){i=b;break $}if((c&65535)!=3936){break $}i=2616;b=3896;break ca}if((c&65535)!=4864){break $}i=3124;b=4688}u[l>>1]=i;break aa}b=4014;if((c&65535)!=4096){break $}}u[k>>1]=b;c=b}da:{ea:{fa:{ga:{ha:{ia:{ja:{ka:{la:{ma:{na:{oa:{pa:{qa:{if(v[a+26152>>2]){ra:{sa:{switch(v[r>>2]+1|0){default:v[a+26148>>2]=v[a+26108>>2];break ra;case 0:v[r>>2]=0;break;case 1:break sa}}v[a+26336>>2]=v[a+26108>>2]}b=968;switch(v[a+26116>>2]-1|0){case 0:break pa;case 6:break qa;default:break ga}}b=mc(h,63884);if(!b){v[q>>2]=(x[g+134>>1]|x[g+136>>1]<<16)==1346454856&(x[g+138>>1]|x[g+140>>1]<<16)==1380205379?969:954}ta:{if(mc(h,63686)){break ta}if(!v[q>>2]){v[q>>2]=946}if(w[f|0]!=69){break ta}v[a+26300>>2]=v[a+26300>>2]|(v[a+26048>>2]|v[a+26052>>2]?2:6)}if(!mc(h,211869)){v[a+26124>>2]=3967;v[a+190476>>2]=946}if(v[a+26156>>2]){break ja}if(!(v[a+26112>>2]!=15|b)){b=k;c=c&65535;ua:{if((c|0)==3872){c=3866}else{if((c|0)!=3344){break ua}c=3272}u[b>>1]=c}v[r>>2]=0;v[q>>2]=970;break ja}if(!mc(f,212022)){u[a+26310>>1]=854;u[a+26306>>1]=896;u[a+26308>>1]=613;v[a+26344>>2]=1313111020;v[a+26348>>2]=1072623120;v[a+26336>>2]=4;v[a+190476>>2]=971;v[a+26028>>2]=-505093660;break ja}va:{if(mc(f,212036)){if(mc(f,212049)){break va}}u[a+26310>>1]=960;u[a+26306>>1]=992;u[a+26308>>1]=773;v[a+26344>>2]=-1992133767;v[a+26348>>2]=1072786950;v[a+26336>>2]=4;v[a+190476>>2]=972;v[a+26028>>2]=508436046;break ja}if(!mc(f,212067)){u[a+26310>>1]=1290;u[a+26306>>1]=1320;u[a+26308>>1]=968;v[a+26336>>2]=4;v[a+190476>>2]=972;v[a+26028>>2]=458115870;break ja}if(!mc(f,212081)){v[a+26336>>2]=4;v[a+26308>>2]=101712896;v[a+190476>>2]=972;v[a+26028>>2]=508251675;break ja}if(!mc(f,212097)){u[l>>1]=1752;u[k>>1]=2344;u[G>>1]=1766;u[s>>1]=2400;u[o>>1]=12;u[n>>1]=12;v[q>>2]=972;break ja}if(!mc(f,212113)){u[l>>1]=1960;u[k>>1]=2616;u[G>>1]=1968;u[s>>1]=2664;u[o>>1]=4;u[n>>1]=4;v[q>>2]=972;break ja}if(!mc(f,212128)){v[a+190476>>2]=972;v[a+26312>>2]=655366;v[a+26304>>2]=175114184;v[a+26308>>2]=171706304;v[a+26132>>2]=0;break ja}if(!mc(f,212143)){b=0;c=1;wa:{while(1){Ub[v[v[a>>2]+8>>2]](v[a+4>>2],B(b,3340)+3284|0,0)|0;if((Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0)>=16){break wa}b=b+1|0;if((b|0)!=100){continue}break}c=0}if(c){b=a+25811|0;c=w[212162]|w[212163]<<8;t[b|0]=c;t[b+1|0]=c>>>8;b=a+25807|0;c=w[212158]|w[212159]<<8|(w[212160]<<16|w[212161]<<24);t[b|0]=c;t[b+1|0]=c>>>8;t[b+2|0]=c>>>16;t[b+3|0]=c>>>24}u[l>>1]=1960;u[k>>1]=2616;u[G>>1]=1968;u[s>>1]=2672;u[o>>1]=8;u[n>>1]=12;v[q>>2]=972;break ja}if(!mc(f,212164)){u[l>>1]=2328;u[k>>1]=3112;u[G>>1]=2340;u[s>>1]=3152;u[o>>1]=12;u[n>>1]=36;v[q>>2]=972;break ja}if(!mc(f,212179)){u[l>>1]=2472;u[k>>1]=3298;u[G>>1]=2480;u[s>>1]=3336;u[o>>1]=5;u[n>>1]=6;v[q>>2]=972;break ja}if(!mc(f,212194)){u[l>>1]=2472;u[k>>1]=3288;u[G>>1]=2484;u[s>>1]=3344;u[o>>1]=6;u[n>>1]=12;v[q>>2]=972;break ja}if(!mc(f,212209)){u[l>>1]=2760;u[k>>1]=3672;u[G>>1]=2772;u[s>>1]=3736;u[o>>1]=6;u[n>>1]=12;v[q>>2]=972;break ja}if(!mc(f,212224)){u[l>>1]=3024;u[k>>1]=4032;u[G>>1]=3048;u[s>>1]=4104;u[o>>1]=12;u[n>>1]=48;v[q>>2]=972;break ja}if(!mc(f,212239)){u[l>>1]=2128;u[k>>1]=2840;u[G>>1]=2136;u[s>>1]=2888;u[o>>1]=8;u[n>>1]=44;v[q>>2]=972;break ja}if(!mc(f,212255)){v[a+26336>>2]=4;u[a+26310>>1]=1896;v[a+26028>>2]=-1263225676;break ja}xa:{ya:{if(!b){za:{Aa:{Ba:{Ca:{Da:{b=x[s>>1];if(b>>>0<=2671){if((b|0)==2144){break Da}if((b|0)==2224){break Ca}if((b|0)!=2376){break ya}u[l>>1]=1720;u[k>>1]=2312;u[o>>1]=6;u[n>>1]=12;break ja}Ea:{switch(b-3152|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:break ya;case 8:break za;case 0:break Aa;default:break Ea}}if((b|0)==2672){break Ba}if((b|0)!=3344){break ya}u[l>>1]=2472;u[k>>1]=3288;u[o>>1]=6;u[n>>1]=4;break ja}u[l>>1]=1550;u[k>>1]=2088;u[o>>1]=8;u[n>>1]=4;if(mc(f,212274)){break ja}v[a+26028>>2]=-1263225676;v[a+26336>>2]=4;break ja}u[l>>1]=1448;u[k>>1]=2176;u[o>>1]=6;u[n>>1]=48;break ja}u[l>>1]=1960;u[k>>1]=2616;u[o>>1]=6;u[n>>1]=12;break ja}v[a+26308>>2]=202377224;v[a+26312>>2]=4194316;if(v[a+26036>>2]!=-2147483280){break ja}eh(a,63884,212287);break ja}u[l>>1]=2328;u[k>>1]=3112;u[o>>1]=12;u[n>>1]=44;break ja}if(mc(f,212296)){break xa}break ka}if(!mc(f,212296)){break ka}Fa:{Ga:{Ha:{Ia:{Ja:{Ka:{La:{Ma:{Na:{Oa:{if(b>>>0<=3983){if(b>>>0<=3595){if((b|0)==1208){break Ia}if((b|0)==1448){break Ha}if((b|0)!=3516){break xa}v[a+26312>>2]=2752526;if(v[a+26036>>2]!=-2147483255){break la}eh(a,63884,212307);break la}switch(b-3944|0){case 1:case 2:case 3:break xa;case 4:break Na;case 0:break Oa;default:break Fa}}if(b>>>0<=4475){if((b|0)==3984){break Ma}if((b|0)==4104){break La}if((b|0)!=4312){break xa}v[a+26312>>2]=1441810;u[a+26308>>1]=i-2;if(v[a+26036>>2]!=-2147483274){break la}eh(a,63884,212335);break la}Pa:{switch(b-4476|0){case 1:case 2:case 3:break xa;case 4:break Ja;case 0:break Ka;default:break Pa}}if((b|0)==5108){break Ga}if((b|0)!=5712){break xa}u[l>>1]=3752;u[k>>1]=5640;u[o>>1]=20;u[n>>1]=62;break ja}u[l>>1]=2602;u[k>>1]=3908;u[o>>1]=18;u[n>>1]=30;break ja}v[a+26312>>2]=2752530;u[a+26308>>1]=i-2;b=v[a+26036>>2];if((b|0)==-2147483082){eh(a,63884,212316);b=v[a+26036>>2]}if((b|0)!=-2147483052){break la}eh(a,63884,212325);break la}u[o>>1]=20;u[n>>1]=76;u[l>>1]=i-2;break la}u[l>>1]=3024;u[k>>1]=4032;u[o>>1]=12;u[n>>1]=48;break ja}u[o>>1]=34;u[n>>1]=90;break la}u[l>>1]=3326;u[k>>1]=4432;u[o>>1]=10;u[n>>1]=12;v[r>>2]=1229539657;break ja}u[o>>1]=51;u[n>>1]=62;b=c<<2;u[k>>1]=b;u[s>>1]=b;break la}u[o>>1]=51;u[n>>1]=158;b=c<<2;u[k>>1]=b;u[s>>1]=b;break la}u[o>>1]=13;u[n>>1]=98;break la}if((b|0)==3596){break ma}}if(!mc(f,212344)){z[a+59268>>2]=z[a+59268>>2]*C(.48576849699020386);z[a+59276>>2]=z[a+59276>>2]*C(.8075709939002991);break ja}if(!mc(f,212347)){v[a+26344>>2]=0;v[a+26348>>2]=1071644672;u[a+26310>>1]=c-4;break ja}Qa:{Ra:{if(!mc(f,212351)){break Ra}if(!mc(f,212356)){break Ra}if(mc(f,212360)){break Qa}}u[l>>1]=i-3;u[k>>1]=c-4;break ja}Sa:{if(mc(f,212364)){if(mc(f,212367)){break Sa}}u[k>>1]=c-4;u[n>>1]=2;break ja}Ta:{Ua:{if(!Oc(f,212372,3)){break Ua}if(!Oc(f,212376,3)){break Ua}if(Oc(f,212380,3)){break Ta}}u[k>>1]=c-1;break ja}if(!mc(f,212384)){u[k>>1]=c-42;break ja}if(!mc(f,212388)){if(v[a+26116>>2]!=34713){break ja}b=Qb-256|0;Qb=b;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],v[a+26048>>2],0)|0;Ub[v[v[a>>2]>>2]](v[a+4>>2],b,1,256)|0;Qb=b+256|0;if(w[b+255|0]|(w[b+239|0]|(w[b+223|0]|(w[b+207|0]|(w[b+191|0]|(w[b+175|0]|(w[b+159|0]|(w[b+143|0]|(w[b+127|0]|(w[b+111|0]|(w[b+95|0]|(w[b+79|0]|(w[b+63|0]|(w[b+47|0]|(w[b+31|0]|w[b+15|0]))))))))))))))){break ja}v[a+190476>>2]=946;v[a+26300>>2]=v[a+26300>>2]|8;b=x[a+26310>>1];u[a+26310>>1]=b+3;u[a+26306>>1]=b+6;break ja}if(!mc(f,212393)){u[n>>1]=1;u[k>>1]=c-4;v[r>>2]=-1802201964;break ja}if(!Oc(f,212398,3)){u[n>>1]=6;u[k>>1]=c-14;break ja}if(!Oc(f,212402,3)){if((c&65535)==3264){u[k>>1]=3232;break ja}u[k>>1]=c-8;break ja}if(!mc(f,212406)){u[k>>1]=c-32;break ja}if(!mc(f,212411)){v[a+26028>>2]=-1802201964;v[a+26300>>2]=1;break ja}Va:{if((D|0)!=4771840){if((D|0)!=2465792){if((D|0)!=1581060){break Va}u[a+26310>>1]=1287;u[a+26306>>1]=1632;u[a+26308>>1]=963;v[a+190476>>2]=973;v[a+26336>>2]=4;v[a+26124>>2]=1012;v[a+26132>>2]=0;v[a+26028>>2]=505290270;b=v[52339];v[J+8>>2]=v[52338];v[J+12>>2]=b;b=v[52337];v[J>>2]=v[52336];v[J+4>>2]=b;b=v[52343];v[I+8>>2]=v[52342];v[I+12>>2]=b;b=v[52341];v[I>>2]=v[52340];v[I+4>>2]=b;b=v[52347];v[H+8>>2]=v[52346];v[H+12>>2]=b;b=v[52345];v[H>>2]=v[52344];v[H+4>>2]=b;v[a+59296>>2]=1066278479;v[a+59284>>2]=1067102241;v[a+59288>>2]=1066144262;break ja}u[a+26310>>1]=1616;u[a+26306>>1]=2048;u[a+26308>>1]=1203;v[a+190476>>2]=973;v[a+26336>>2]=4;v[a+26028>>2]=1263225675;eh(a,63686,212425);break ja}v[a+26336>>2]=4;v[a+26308>>2]=135267844;v[a+190476>>2]=946;v[a+26028>>2]=-505290271;v[a+26300>>2]=6;Wa:{if(v[a+26016>>2]){break Wa}c=0;b=Qb-1024|0;Qb=b;b=ic(b,0,1024);Ub[v[v[a>>2]+8>>2]](v[a+4>>2],-2e3,2)|0;while(1){d=b+(Ub[v[v[a>>2]+28>>2]](v[a+4>>2])<<2)|0;v[d>>2]=v[d>>2]+1;d=b+(Ub[v[v[a>>2]+28>>2]](v[a+4>>2])<<2)|0;v[d>>2]=v[d>>2]+1;c=c+2|0;if((c|0)!=2e3){continue}break}Qb=b+1024|0;if(!(v[b>>2]>199&v[b+340>>2]>199&v[b+680>>2]>199&v[b+1020>>2]>199)){break Wa}t[f+4|0]=w[212434];b=w[212430]|w[212431]<<8|(w[212432]<<16|w[212433]<<24);t[f|0]=b;t[f+1|0]=b>>>8;t[f+2|0]=b>>>16;t[f+3|0]=b>>>24}if(!mc(f,212430)){break ja}v[a+26132>>2]=0;v[a+26028>>2]=-1263225676;c=v[a+26336>>2];if((c|0)>=1){b=c<<2;gc(J,209344,b);gc(I,b+209344|0,b);gc(H,(c<<3)+209344|0,b)}v[a+59292>>2]=1065504211;v[a+59284>>2]=1066997383;v[a+59288>>2]=1067416814;break ja}Xa:{Ya:{if(!mc(f,212435)){if(!v[a+26016>>2]){c=0;b=Qb-16|0;Qb=b;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],0,0)|0;Za:{while(1){_a:{Ub[v[v[a>>2]>>2]](v[a+4>>2],b+4|0,1,12)|0;if((w[b+15|0]&(w[b+12|0]&(w[b+10|0]&(w[b+5|0]&(w[b+13|0]&(w[b+11|0]&(w[b+8|0]&w[b+6|0]))&240)>>>4)))&3)!=3){break _a}i=1;c=c+1|0;if((c|0)!=1024){continue}break Za}break}i=0}Qb=b+16|0;if(!i){break Ya}}v[a+26308>>2]=105907382;v[a+26300>>2]=7;break ja}if(mc(f,212441)){break Xa}}b=w[212445]|w[212446]<<8;t[f+4|0]=b;t[f+5|0]=b>>>8;b=w[212441]|w[212442]<<8|(w[212443]<<16|w[212444]<<24);t[f|0]=b;t[f+1|0]=b>>>8;t[f+2|0]=b>>>16;t[f+3|0]=b>>>24;v[a+26336>>2]=4;v[a+26308>>2]=105907380;v[a+26028>>2]=1263225675;break ja}$a:{if((D|0)!=5869568){if((D|0)!=4775936){break $a}v[a+190476>>2]=946;v[a+26308>>2]=135267846;v[a+59292>>2]=1070537376;v[a+59284>>2]=1072215097;v[a+26300>>2]=7;if(!v[a+26016>>2]){c=0;b=Qb-160|0;Qb=b;b=gc(b,196048,128);Ub[v[v[a>>2]+8>>2]](v[a+4>>2],3072,0)|0;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+128|0,1,24)|0;ab:{bb:{cb:{db:{eb:{fb:{d=(w[b+148|0]&3|w[b+136|0]<<4)&51;switch(d|0){case 1:case 2:break ab;case 0:break bb;case 3:break eb;default:break fb}}switch(d-50|0){case 1:break cb;case 0:break db;default:break ab}}c=1;break bb}c=2;break bb}c=3}c=b+(c<<5)|0;ce(a+25733|0,c|4);ce(a+25797|0,c+16|0)}Qb=b+160|0}gb:{if(w[f|0]!=69){break gb}if((he(a+25798|0)|0)>3699){break gb}v[r>>2]=1229539657}if(mc(f,212447)){break ja}v[a+59292>>2]=1072231875;v[a+59284>>2]=1068129845;v[a+26028>>2]=370546198;v[a+26328>>2]=1;break ja}v[a+26308>>2]=149948078;v[a+26028>>2]=370546198;hb:{if(v[a+26016>>2]){break hb}i=0;b=Qb-432|0;Qb=b;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],-424,2)|0;Ub[v[v[a>>2]>>2]](v[a+4>>2],b,1,424)|0;c=0;while(1){i=((((w[b+c|0]!=0)+i|0)+(w[b+(c|1)|0]!=0)|0)+(w[b+(c|2)|0]!=0)|0)+(w[b+(c|3)|0]!=0)|0;c=c+4|0;if((c|0)!=424){continue}break}Qb=b+432|0;if(i>>>0<=20){break hb}t[h|0]=77;t[h+1|0]=105;t[h+2|0]=110;t[h+3|0]=111;t[h+4|0]=108;t[h+5|0]=116;t[h+6|0]=97;t[h+7|0]=0;b=w[212466]|w[212467]<<8;t[f+8|0]=b;t[f+9|0]=b>>>8;b=w[212462]|w[212463]<<8|(w[212464]<<16|w[212465]<<24);c=w[212458]|w[212459]<<8|(w[212460]<<16|w[212461]<<24);t[f|0]=c;t[f+1|0]=c>>>8;t[f+2|0]=c>>>16;t[f+3|0]=c>>>24;t[f+4|0]=b;t[f+5|0]=b>>>8;t[f+6|0]=b>>>16;t[f+7|0]=b>>>24}v[a+190476>>2]=946;v[a+26300>>2]=w[a+25733|0]==77?7:6;break ja}if(!mc(f,212468)){v[a+26336>>2]=4;v[a+26308>>2]=149948076;v[a+26028>>2]=-1263225676;break ja}ib:{if((D|0)!=8998912){if((D|0)!=7438336){break ib}v[a+26336>>2]=4;v[a+26308>>2]=168822660;v[a+26028>>2]=-1263225676;break ja}v[a+26308>>2]=185600070;v[a+190476>>2]=946;v[a+26124>>2]=3971;v[a+26300>>2]=7;break ja}jb:{if(mc(f,212474)){if(mc(f,212488)){break jb}}v[q>>2]=948;break ja}if(!mc(h,61992)){b=a+25804|0;kb:{if(!mc(b,212502)){c=w[212511]|w[212512]<<8|(w[212513]<<16|w[212514]<<24);t[b+3|0]=c;t[b+4|0]=c>>>8;t[b+5|0]=c>>>16;t[b+6|0]=c>>>24;c=w[212508]|w[212509]<<8|(w[212510]<<16|w[212511]<<24);t[b|0]=c;t[b+1|0]=c>>>8;t[b+2|0]=c>>>16;t[b+3|0]=c>>>24;v[a+26328>>2]=6;i=2144;c=2880;break kb}v[a+26124>>2]=15872}if(!(!v[a+160>>2]|(d|0)!=2)){v[a+26124>>2]=12032}e=x[G>>1];m=i&65535;u[o>>1]=(e-m|0)/2;j=x[s>>1];u[n>>1]=(j-(c&65535)|0)/2;lb:{if((d|0)!=2){b=v[a+26100>>2];break lb}p=v[a+160>>2];b=v[a+26100>>2];mb:{if(b){d=j<<1;u[s>>1]=d;j=d&65534;break mb}j=B(e,j)<<1}j=p?j:0;p=j;e=j+v[a+26048>>2]|0;j=v[a+26052>>2]+(j>>31)|0;v[a+26048>>2]=e;v[a+26052>>2]=e>>>0

>>0?j+1|0:j}v[a+190476>>2]=974;u[a+26304>>1]=i;c=(c&65535)>>>!b|0;u[a+26322>>1]=c;b=c+(m>>>b|0)|0;u[a+26310>>1]=b;u[a+26308>>1]=b-1;if(c&1){break ja}v[r>>2]=1229539657;break ja}if(!mc(f,212515)){v[a+26308>>2]=100533210;v[a+26048>>2]=513;v[a+26052>>2]=0;v[a+190476>>2]=975;v[a+26028>>2]=1633771873;break ja}nb:{ob:{if(!mc(f,212521)){u[l>>1]=1712;u[k>>1]=2312;u[s>>1]=2336;break ob}pb:{qb:{rb:{if(!mc(f,212529)){break rb}if(yi(h,211846)){break nb}v[q>>2]=948;if(!Oc(f,212537,8)){if(!mc(f,75703)){v[r>>2]=1229539657}v[q>>2]=946;break ja}sb:{tb:{if(!Oc(f,212546,5)){break tb}if(!Oc(f,212552,5)){break tb}if(Oc(f,212558,6)){break sb}}b=a+25797|0;v[g+32>>2]=((w[b|0]==77)+b|0)+6;b=a+25817|0;zd(b,212565,g+32|0);eh(a,h,b);v[a+190476>>2]=946;break ja}if(Oc(f,212577,8)){break ja}ub:{switch(w[a+25805|0]-52|0){case 2:break qb;case 1:break rb;case 0:break ub;default:break pb}}u[l>>1]=1716;u[k>>1]=2304;break pb}u[l>>1]=1956;u[k>>1]=2607;u[s>>1]=2624;break pb}u[l>>1]=2136;u[k>>1]=2848}v[a+26028>>2]=1633771873;c=v[a+26052>>2];d=v[a+26048>>2]+14|0;c=d>>>0<14?c+1|0:c;v[a+26048>>2]=d;v[a+26052>>2]=c}v[a+26124>>2]=991;v[a+190476>>2]=948;u[a+25204>>1]=19789;break ja}if(!mc(f,212586)){u[l>>1]=i-2;break ja}if(!mc(f,212594)){v[r>>2]=370546198;break ja}if(!mc(f,212599)){if((D|0)==3178560){v[a+190476>>2]=952;v[a+26308>>2]=135267844;v[a+59292>>2]=1066930274;v[a+59284>>2]=1068633162;z[a+59268>>2]=z[a+59268>>2]*C(4);z[a+59276>>2]=z[a+59276>>2]*C(4);break ja}u[a+26310>>1]=2068;u[a+26306>>1]=3136;u[a+26308>>1]=1544;v[a+190476>>2]=946;v[a+59292>>2]=1069153255;v[a+59284>>2]=1066502455;v[a+26124>>2]=3964;break ja}if((D|0)==6114240){u[a+26310>>1]=2324;u[a+26306>>1]=3520;u[a+26308>>1]=1737;v[a+190476>>2]=946;v[a+59292>>2]=1070134723;v[a+59284>>2]=1073574052;v[a+26124>>2]=3962;break ja}if(!mc(f,212607)){v[a+190476>>2]=946;v[a+26308>>2]=201328894;v[a+26300>>2]=7;break ja}if(!mc(f,212618)){v[a+26308>>2]=213911952;v[a+190476>>2]=948;u[a+25204>>1]=19789;v[a+26124>>2]=65535;u[a+26306>>1]=(D>>>0)/4896;break ja}if(!mc(f,212622)){v[a+190476>>2]=952;v[a+26308>>2]=42205668;v[a+26328>>2]=2;v[a+59292>>2]=1066426958;v[a+59284>>2]=1066166911;v[a+26120>>2]=16;v[a+26028>>2]=370546198;break ja}if(!mc(f,212633)){v[a+26308>>2]=41943517;v[a+190476>>2]=948;v[a+26048>>2]=3840;v[a+26052>>2]=0;u[a+25204>>1]=18761;v[a+59292>>2]=1075646038;v[a+59284>>2]=1070059225;break ja}if(!mc(f,212642)){b=x[G>>1];u[o>>1]=2;u[l>>1]=b-2;break ja}if(!mc(f,212646)){v[a+190476>>2]=948;v[a+26308>>2]=104858800;v[a+59288>>2]=1067181933;v[a+26028>>2]=1229539657;break ja}if(!mc(f,212651)){u[l>>1]=768;u[k>>1]=1024;v[q>>2]=952;break ja}if(!mc(f,212658)){u[l>>1]=1040;u[k>>1]=1392;v[q>>2]=952;break ja}if(!mc(f,212665)){u[l>>1]=1200;u[k>>1]=1600;v[q>>2]=952;break ja}if(!mc(f,212672)){v[a+26308>>2]=169609126;v[a+26124>>2]=65520;v[a+190476>>2]=D>>>0<75e5?952:948;break ja}if(!mc(f,212679)){v[a+190476>>2]=948;v[a+26308>>2]=214436261;v[a+26124>>2]=65520;break ja}if(!mc(f,212686)){u[a+26310>>1]=1375;u[a+26306>>1]=1376;u[a+26308>>1]=1024;v[a+26124>>2]=1023;v[a+26028>>2]=1229539657;v[a+190476>>2]=D>>>0<2e6?952:948;break ja}if(!mc(f,212698)){v[a+26308>>2]=105383095;v[a+190476>>2]=948;v[a+26124>>2]=1023;v[a+26048>>2]=3212;v[a+26052>>2]=0;v[a+26028>>2]=370546198;u[a+25204>>1]=18761;break ja}if(!mc(f,212703)){v[a+26308>>2]=144706488;v[a+26028>>2]=1633771873;v[a+26124>>2]=65472;v[a+190476>>2]=D>>>0<1e7?952:948;break ja}if(!mc(f,212708)){u[a+26310>>1]=2048;u[a+26306>>1]=2048;u[a+26308>>1]=1536;v[a+190476>>2]=948;v[a+26028>>2]=1633771873;v[a+59292>>2]=1066510844;v[a+59284>>2]=1071367848;v[a+26124>>2]=1023;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],3145728,0)|0;d=Qb-16|0;Qb=d;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+8|0,2,2)|0;b=65533;i=2;while(1){j=d+8|0;c=j+(i<<1)|0;Ub[v[v[a>>2]>>2]](v[a+4>>2],c,2,1)|0;V=S;j=j+((i^2)<<1)|0;e=w[j+1|0];j=w[j|0];m=w[c+1|0];c=w[c|0];S=+((e<<8|j)-(m<<8|c)|0);S=V+S*S;V=T;T=+((e|j<<8)-(m|c<<8)|0);T=V+T*T;c=b;b=b-1|0;i=i+1&3;if(c){continue}break}Qb=d+16|0;b=S>T?19789:18761;u[a+25204>>1]=b;if((b|0)!=19789){break ja}v[a+26312>>2]=1835024;v[a+26124>>2]=62912;t[a+25733|0]=73;t[a+25734|0]=83;t[a+25735|0]=71;t[a+25736|0]=0;t[a+25797|0]=0;u[a+26308>>1]=x[a+26308>>1]-16;u[a+26310>>1]=x[a+26310>>1]-28;break ia}if(!mc(h,75601)){if(v[q>>2]==954){v[q>>2]=976}b=x[s>>1];if((b|0)!=4090){if((b|0)!=7262){break ja}u[l>>1]=5444;u[k>>1]=7248;u[o>>1]=4;u[n>>1]=7;v[r>>2]=1633771873;break ja}t[f+4|0]=w[212719];b=w[212715]|w[212716]<<8|(w[212717]<<16|w[212718]<<24);t[f|0]=b;t[f+1|0]=b>>>8;t[f+2|0]=b>>>16;t[f+3|0]=b>>>24;u[o>>1]=6;u[l>>1]=i-6;u[n>>1]=3;u[k>>1]=c-10;v[r>>2]=1633771873;break ja}if(!mc(h,209048)){if(v[g+128>>2]==1397768760){Ub[v[v[a>>2]+8>>2]](v[a+4>>2],14,0)|0;ja=a,ka=vm(a),u[ja+26308>>1]=ka;b=vm(a);v[a+26048>>2]=68;v[a+26052>>2]=0;v[a+26028>>2]=1633771873;u[a+26310>>1]=b}if(!v[q>>2]){v[q>>2]=948}v[a+26124>>2]=16383;break ja}if(!mc(h,75332)){v[a+26124>>2]=16383;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],v[a+26048>>2],0)|0;if(!(!Oo(a,g+48|0,1)|v[g+48>>2]!=15)){v[a+26124>>2]=8191}j=v[ha>>2];vb:{wb:{if(j>>>0>=2){v[r>>2]=0;break wb}if(y[a+26168>>2]>=x[a+26304>>1]){break vb}}v[q>>2]=977}d=x[l>>1];i=x[k>>1];if((d|i)==2048){if((j|0)==1){v[r>>2]=1;t[E+4|0]=w[212724];b=w[212720]|w[212721]<<8|(w[212722]<<16|w[212723]<<24);t[E|0]=b;t[E+1|0]=b>>>8;t[E+2|0]=b>>>16;t[E+3|0]=b>>>24;b=w[212732]|w[212733]<<8|(w[212734]<<16|w[212735]<<24);t[f+7|0]=b;t[f+8|0]=b>>>8;t[f+9|0]=b>>>16;t[f+10|0]=b>>>24;b=w[212729]|w[212730]<<8|(w[212731]<<16|w[212732]<<24);c=w[212725]|w[212726]<<8|(w[212727]<<16|w[212728]<<24);t[f|0]=c;t[f+1|0]=c>>>8;t[f+2|0]=c>>>16;t[f+3|0]=c>>>24;t[f+4|0]=b;t[f+5|0]=b>>>8;t[f+6|0]=b>>>16;t[f+7|0]=b>>>24;u[o>>1]=8;u[n>>1]=18;u[l>>1]=2032;u[k>>1]=2016;break ja}t[f+4|0]=w[65098];b=w[65094]|w[65095]<<8|(w[65096]<<16|w[65097]<<24);t[f|0]=b;t[f+1|0]=b>>>8;t[f+2|0]=b>>>16;t[f+3|0]=b>>>24;u[o>>1]=10;u[n>>1]=16;u[l>>1]=2028;u[k>>1]=2022;break ja}if((d+i|0)==5204){b=w[f|0];if(!b){t[f|0]=67;t[f+1|0]=97;t[f+2|0]=110;t[f+3|0]=116;t[f+4|0]=97;t[f+5|0]=114;t[f+6|0]=101;t[f+7|0]=0;b=67}c=a;xb:{if(d>>>0>>0){u[o>>1]=6;u[n>>1]=32;u[l>>1]=2048;u[k>>1]=3072;i=1633771873;break xb}u[n>>1]=6;u[o>>1]=32;u[k>>1]=2048;u[l>>1]=3072;i=370546198}v[c+26028>>2]=i;if(!((b|0)!=86&z[a+59268>>2]!=C(0))){v[r>>2]=0;break ja}v[a+26148>>2]=j;break ha}if((i|0)!=3171){if((i|0)!=2116){break ja}t[f|0]=86;t[f+1|0]=97;t[f+2|0]=108;t[f+3|0]=101;t[f+4|0]=111;t[f+5|0]=32;t[f+6|0]=54;t[f+7|0]=0;u[o>>1]=30;u[l>>1]=d-60;u[n>>1]=55;u[k>>1]=2006;v[r>>2]=1229539657;break ja}t[f|0]=86;t[f+1|0]=97;t[f+2|0]=108;t[f+3|0]=101;t[f+4|0]=111;t[f+5|0]=32;t[f+6|0]=54;t[f+7|0]=0;u[o>>1]=24;u[l>>1]=d-48;u[n>>1]=24;u[k>>1]=3123;v[r>>2]=370546198;break ja}yb:{if(mc(h,62858)){if(mc(h,62422)){break yb}}v[a+26124>>2]=65520;b=q;d=v[a+26048>>2];e=D-d|0;p=0-(v[a+26052>>2]+(d>>>0>D>>>0)|0)|0;d=c&65535;if(d){j=(d<<3>>>0)/7|0}else{j=1}zb:{if((Cib(e,p,j,0)|0)!=(i&65535)|Tb){if(v[q>>2]){break zb}j=948}else{j=943}v[b>>2]=j}Ab:{Bb:{Cb:{Db:{Eb:{Fb:{Gb:{Hb:{Ib:{j=n;Jb:{Kb:{Lb:{b=k;d=b;Mb:{Nb:{e=c&65535;if(e>>>0<=3709){if(e>>>0<=3303){if(e>>>0<=3169){if((e|0)==2568){break Lb}b=4;if((e|0)==3130){break Jb}break ja}c=3167;switch(e-3170|0){case 1:case 2:case 3:case 4:case 5:case 6:break ja;case 7:break Hb;case 0:break Kb;default:break Ib}}if(e>>>0<=3369){if((e|0)==3304){break Gb}if((e|0)!=3330){break ja}v[a+26124>>2]=63472;c=9;b=3291;break Mb}if((e|0)==3370){break Nb}if((e|0)!=3690){break ja}v[a+26124>>2]=63472;u[a+26314>>1]=65522;i=i-2|0;break Eb}if(e>>>0<=4059){if(e>>>0<=3835){switch(e-3710|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:break ja;case 14:break Cb;case 0:break Db;default:break Fb}}c=3794;if((e|0)==3836){break Bb}if((e|0)!=3880){break ja}u[a+26314>>1]=6;u[a+26310>>1]=3858;v[a+26140>>2]=1;eh(a,62422,212802);break ja}if(e>>>0<=4329){if((e|0)==4060){break Ab}if((e|0)!=4290){break ja}u[n>>1]=65522;v[r>>2]=1229539657;i=i+38|0;break na}if((e|0)==4330){break na}if((e|0)!=4508){break ja}u[a+26310>>1]=4429;v[a+26028>>2]=370546198;u[a+26308>>1]=i-6;eh(a,62422,212825);break ja}c=x[n>>1]+15|0;b=3288}u[d>>1]=b;u[n>>1]=c;if((i&65535)>>>0>=2481){u[o>>1]=10;u[l>>1]=2470}v[a+26140>>2]=1;v[a+26028>>2]=1229539657;eh(a,62422,212768);break ja}eh(a,62422,212736);break ja}b=x[n>>1]+18|0}u[j>>1]=b;u[k>>1]=3096;if((i&65535)>>>0>=2327){u[l>>1]=2326;u[o>>1]=13;v[r>>2]=1229539657}v[a+26140>>2]=1;eh(a,62422,212744);break ja}if((e|0)!=3213){break ja}c=3176}v[a+26140>>2]=1;v[a+26028>>2]=1229539657;u[a+26310>>1]=c;eh(a,62422,212752);break ja}v[a+26140>>2]=1;u[a+26310>>1]=3287;eh(a,62422,212759);break ja}if((e|0)!=3770){break ja}}u[k>>1]=3672;b=i-1|0;u[l>>1]=b;Ob:{if((b&65535)==2798){u[l>>1]=2760;u[o>>1]=15;break Ob}v[r>>2]=1229539657}v[a+26140>>2]=1;u[a+26314>>1]=x[a+26314>>1]+17;eh(a,62422,212777);break ja}v[a+26028>>2]=1229539657;u[a+26310>>1]=3682;eh(a,62422,212786);break ja}c=3668}u[b>>1]=c;break oa}u[k>>1]=3982;if((i&65535)==2250){break oa}v[a+26140>>2]=1;v[a+26028>>2]=1229539657;u[a+26310>>1]=4018;eh(a,62422,212810);break ja}if(!mc(f,212835)){v[a+26308>>2]=150996662;v[a+190476>>2]=946;v[a+26028>>2]=370546198;v[a+26300>>2]=7;break ja}if(!mc(h,44919)){v[a+26028>>2]=v[a+26032>>2];u[a+26308>>1]=(i&1)+i;b=v[a+190476>>2];if((b|0)==942){v[a+26120>>2]=v[a+26120>>2]>>>4;break ja}Pb:{if(mc(f,212842)){if(Oc(f,212847,4)){break Pb}}v[a+26120>>2]=v[a+26120>>2]<<2;break ja}Qb:{if(mc(f,212852)){if(mc(f,212858)){break Qb}}u[k>>1]=c-20;if((b|0)!=948){break ja}v[a+26120>>2]=0;v[a+26124>>2]=64560;break ja}if(!mc(f,212864)){u[k>>1]=c-30;if((b|0)!=948){break ja}v[a+26124>>2]=63376;break ja}if(mc(f,212870)){break ja}v[a+26056>>2]=10721280;v[a+26060>>2]=0;v[a+26324>>2]=31457920;v[a+26080>>2]=D-10721280;break ja}if(!mc(f,211910)){v[a+26308>>2]=201328639;v[a+190476>>2]=946;v[a+26048>>2]=6656;v[a+26052>>2]=0;v[a+26028>>2]=1633771873;break ja}if(!mc(f,212878)){u[a+26314>>1]=5;u[a+26310>>1]=3288;v[a+190476>>2]=978;v[a+26048>>2]=862144;v[a+26052>>2]=0;v[a+26336>>2]=4;v[a+26028>>2]=-1667457892;t[E+4|0]=w[212891];b=w[212887]|w[212888]<<8|(w[212889]<<16|w[212890]<<24);t[E|0]=b;t[E+1|0]=b>>>8;t[E+2|0]=b>>>16;t[E+3|0]=b>>>24;break ja}if(!mc(f,212892)){u[a+26314>>1]=59;u[a+26310>>1]=3109;v[a+190476>>2]=978;v[a+26048>>2]=787392;v[a+26052>>2]=0;break ja}if(!(mc(h,62256)|x[s>>1]!=3984)){eh(a,62256,212899);u[a+25204>>1]=19789;u[a+26310>>1]=3925;break ja}if(!mc(f,69254)){u[l>>1]=i-1;break ja}if(!mc(f,212906)){u[l>>1]=i-4;break ja}Rb:{Sb:{if(!mc(f,212916)){c=480;b=640;break Sb}if(mc(f,212922)){break Rb}c=2134;b=2848}u[l>>1]=c;u[k>>1]=b;v[r>>2]=0;v[q>>2]=979;break ja}Tb:{Ub:{if(!mc(f,212928)){u[l>>1]=2152;u[G>>1]=2152;u[k>>1]=2864;u[s>>1]=2864;c=-2152;b=2864;break Ub}if(mc(f,212933)){break Tb}u[l>>1]=1744;u[k>>1]=2336;u[G>>1]=1779;u[s>>1]=2338;u[o>>1]=33;u[n>>1]=1;c=-1779;b=2338}u[a+25204>>1]=18761;b=B(b,c)+D|0;v[a+26048>>2]=b;v[a+26052>>2]=0;Vb:{if(b){Ub[v[v[a>>2]+8>>2]](v[a+4>>2],168,0)|0;Mi(a,a+26484|0,256);break Vb}v[a+26136>>2]=0}v[q>>2]=952;break ja}if(!yi(h,23360)){if(v[r>>2]==-1){v[r>>2]=1633771873}Wb:{if(!Oc(f,212938,6)){u[k>>1]=c-4;u[n>>1]=2;break Wb}if(!mc(f,212945)){u[k>>1]=c-4;u[n>>1]=2;break Wb}if(!mc(f,212954)){u[k>>1]=c-4;u[n>>1]=2;break Wb}if(!mc(f,212962)){u[k>>1]=c-4;u[n>>1]=2;break Wb}if(!mc(f,212969)){u[k>>1]=c-4;u[n>>1]=2;break Wb}if(!mc(f,212976)){v[a+26336>>2]=1;u[a+26314>>1]=2;v[a+26028>>2]=0;u[a+26310>>1]=c-4;break Wb}if(!mc(f,212984)){v[a+26336>>2]=1;v[a+26120>>2]=214;v[a+26028>>2]=0;break Wb}if(mc(f,212992)){break Wb}v[a+26028>>2]=0;v[a+26336>>2]=1}if(!mc(a+25801|0,213e3)){t[E+4|0]=w[213008];b=w[213004]|w[213005]<<8|(w[213006]<<16|w[213007]<<24);t[E|0]=b;t[E+1|0]=b>>>8;t[E+2|0]=b>>>16;t[E+3|0]=b>>>24}if(yd(f,213009)){t[f+4|0]=w[213013];b=w[213009]|w[213010]<<8|(w[213011]<<16|w[213012]<<24);t[f|0]=b;t[f+1|0]=b>>>8;t[f+2|0]=b>>>16;t[f+3|0]=b>>>24;v[a+26048>>2]=15424;v[a+26052>>2]=0}if(!Oc(f,48233,3)){u[a+26308>>1]=242;v[a+26336>>2]=4;v[a+26132>>2]=0;v[a+26028>>2]=-1920103027;b=D>>>0<1e5;A[a+26344>>3]=b?1.2958500669344042:.6384335885869012;u[a+26310>>1]=b?249:501;c=b?256:512;u[a+26306>>1]=c;j=v[a+26052>>2];d=c|1;c=d+v[a+26048>>2]|0;v[a+26048>>2]=c;v[a+26052>>2]=c>>>0>>0?j+1|0:j;b=v[52315];v[J+8>>2]=v[52314];v[J+12>>2]=b;b=v[52313];v[J>>2]=v[52312];v[J+4>>2]=b;b=v[52319];v[I+8>>2]=v[52318];v[I+12>>2]=b;b=v[52317];v[I>>2]=v[52316];v[I+4>>2]=b;b=v[52323];v[H+8>>2]=v[52322];v[H+12>>2]=b;b=v[52321];v[H>>2]=v[52320];v[H+4>>2]=b;v[a+190476>>2]=952;v[a+59296>>2]=1065655206;v[a+59288>>2]=1066854777;v[a+59292>>2]=1067106435;break ja}if(!mc(f,213014)){t[f+4|0]=w[213021];b=w[213017]|w[213018]<<8|(w[213019]<<16|w[213020]<<24);t[f|0]=b;t[f+1|0]=b>>>8;t[f+2|0]=b>>>16;t[f+3|0]=b>>>24;v[a+26308>>2]=50332160;v[a+190476>>2]=980;v[a+26048>>2]=1152;v[a+26052>>2]=0;break ja}if(yd(f,213022)){t[f+4|0]=w[213026];b=w[213022]|w[213023]<<8|(w[213024]<<16|w[213025]<<24);t[f|0]=b;t[f+1|0]=b>>>8;t[f+2|0]=b>>>16;t[f+3|0]=b>>>24;v[a+26308>>2]=50332160;v[a+190476>>2]=980;v[a+26048>>2]=19712;v[a+26052>>2]=0;break ja}if(yd(f,213027)){b=w[213031]|w[213032]<<8;t[f+4|0]=b;t[f+5|0]=b>>>8;b=w[213027]|w[213028]<<8|(w[213029]<<16|w[213030]<<24);t[f|0]=b;t[f+1|0]=b>>>8;t[f+2|0]=b>>>16;t[f+3|0]=b>>>24;v[a+26344>>2]=2133977461;v[a+26348>>2]=1073253807;v[a+26308>>2]=55575504;v[a+190476>>2]=v[a+26116>>2]==7?981:982;break ja}if(mc(f,213033)){break ja}v[a+26324>>2]=8388800;v[a+190468>>2]=958;v[a+26092>>2]=360;v[a+26056>>2]=6144;v[a+26060>>2]=0;v[a+26308>>2]=100664320;v[a+190476>>2]=952;v[a+26048>>2]=79872;v[a+26052>>2]=0;v[a+26120>>2]=17;break ja}if(!mc(f,211929)){v[a+26308>>2]=50332160;v[a+190476>>2]=980;v[a+26048>>2]=3632;v[a+26052>>2]=0;v[a+26132>>2]=0;v[a+26028>>2]=1633771873;c=v[a+26336>>2];if((c|0)<1){break ja}b=c<<2;gc(J,209296,b);gc(I,b+209296|0,b);gc(H,(c<<3)+209296|0,b);break ja}if(!mc(f,211956)){Ub[v[v[a>>2]+8>>2]](v[a+4>>2],544,0)|0;ja=a,ka=sl(a),u[ja+26308>>1]=ka;ja=a,ka=sl(a),u[ja+26310>>1]=ka;vm(a);b=(sl(a)|0)==30?738:736;v[a+26048>>2]=b;v[a+26052>>2]=0;c=x[a+26308>>1];d=x[a+26310>>1];if(c>>>0>d>>>0){u[a+26308>>1]=d;u[a+26310>>1]=c;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],b-6|0,0)|0;ja=a,ka=(sl(a)&3)==3?6:5,v[ja+26328>>2]=ka}v[q>>2]=983;v[r>>2]=1633771873;break ja}if(!mc(f,211975)){b=t[g+133|0];c=b;v[a+26048>>2]=738-b;b=b>>31;v[a+26052>>2]=0-(b+(c>>>0>738)|0);if(b|c){b=a+25807|0;t[b|0]=50;t[b+1|0]=48;t[b+2|0]=48;t[b+3|0]=0}v[q>>2]=980;u[l>>1]=480;u[k>>1]=640;v[r>>2]=1633771873;break ja}if(!(mc(h,80763)|v[q>>2])){j=l;b=x[s>>1];Xb:{Yb:{if((b|0)==1316){c=1;i=1300;d=6;b=1030;break Yb}if((b|0)!=2568){break Xb}c=2;i=2560;d=8;b=1960}u[j>>1]=b;u[k>>1]=i;u[o>>1]=c;u[n>>1]=d}v[a+190476>>2]=984;v[a+26028>>2]=370546198;v[a+59292>>2]=1067869798;v[a+59284>>2]=1072064102;break ja}if(!mc(f,213040)){v[a+26308>>2]=67109632;v[a+26048>>2]=1024;v[a+26052>>2]=0;v[a+190476>>2]=952;v[a+26028>>2]=1229539657;v[a+59292>>2]=1076803666;v[a+59284>>2]=1066527621;break ja}if(!mc(f,213051)){v[a+26308>>2]=106955960;v[a+190476>>2]=952;v[a+26048>>2]=3264;v[a+26052>>2]=0;break ja}if((D|0)==3217760){u[l>>1]=1546;u[k>>1]=2070;u[s>>1]=2080;v[q>>2]=952;break ja}if(!mc(f,213061)){v[a+190476>>2]=948;v[a+26308>>2]=148113060;v[a+26124>>2]=65535;break ja}if(!mc(f,213069)){u[l>>1]=1924;u[k>>1]=2576;v[q>>2]=985;break ja}if(!mc(f,213077)){u[l>>1]=1720;u[k>>1]=2312;u[s>>1]=3520;u[n>>1]=2;break ja}if(!mc(f,213084)){u[a+26310>>1]=2580;u[a+26306>>1]=3904;u[a+26308>>1]=1926;v[a+59292>>2]=1070990361;v[a+59284>>2]=1068205343;break ja}if(!mc(f,213091)){u[a+26310>>1]=2058;u[a+26306>>1]=3136;u[a+26308>>1]=1544;v[a+59292>>2]=1066242408;v[a+59284>>2]=1070646428;break ja}if(!mc(f,213099)){u[a+26310>>1]=2570;u[a+26306>>1]=3904;u[a+26308>>1]=1931;v[a+59292>>2]=1066905108;v[a+59284>>2]=1075960611;break ja}if(!mc(f,213106)){u[a+26310>>1]=2570;u[a+26306>>1]=3904;u[a+26308>>1]=1960;v[a+59292>>2]=1068004016;v[a+59284>>2]=1069715292;break ja}if(!mc(f,213113)){u[a+26310>>1]=2568;u[a+26306>>1]=3852;u[a+26308>>1]=1928;v[a+59292>>2]=1072735191;v[a+59284>>2]=1074035425;v[a+26124>>2]=4095;break ja}if((D|0)==9313536){u[a+26310>>1]=2844;u[a+26306>>1]=4288;u[a+26308>>1]=2142;v[a+59292>>2]=1067190321;v[a+59284>>2]=1072038937;break ja}if(mc(f,213121)){break ja}u[a+26310>>1]=3082;u[a+26306>>1]=4672;u[a+26308>>1]=2318;v[a+59292>>2]=1069581074;v[a+59284>>2]=1071711781;break ja}b=986}v[q>>2]=b;break fa}v[r>>2]=370546198;if(w[h|0]==80){break ja}eh(a,62422,212794);break ja}u[k>>1]=4248;b=i-39|0;u[l>>1]=b;if((b&65535)==2400){u[o>>1]=15}u[a+26314>>1]=x[a+26314>>1]+17;eh(a,62422,212817);break ja}u[o>>1]=12;u[n>>1]=74}u[l>>1]=x[l>>1]-x[o>>1];u[k>>1]=x[k>>1]-x[n>>1];break ja}v[a+26028>>2]=1633771873;v[a+26120>>2]=x[a+26884>>1]}if(w[f|0]){break ha}}b=x[k>>1];v[g+20>>2]=x[l>>1];v[g+16>>2]=b;zd(f,213129,g+16|0)}if(v[r>>2]==-1){v[r>>2]=-1802201964}if(v[a+26132>>2]){eh(a,h,f)}b=v[a+26056>>2];if(x[a+26326>>1]|!(b|v[a+26060>>2])){break ga}Ub[v[v[a>>2]+8>>2]](v[a+4>>2],b,0)|0;if(!Oo(a,g+48|0,1)){break ga}u[a+26324>>1]=v[g+56>>2];u[a+26326>>1]=v[g+52>>2]}b=v[q>>2];if(b){break fa}b=0;break ea}if(x[l>>1]>21){break da}}v[a+26148>>2]=0}if((b|0)==981){v[g>>2]=v[a+25208>>2];wc(v[252391],213135,g);v[a+26148>>2]=0}if(!w[E|0]){ce(E,v[a+26336>>2]==3?213175:213179)}if(!x[G>>1]){u[G>>1]=x[l>>1]}if(!x[s>>1]){u[s>>1]=x[k>>1]}b=v[r>>2];if(!b|v[a+26336>>2]!=3){break _}R=(b&15)==9;b=R?b|2:b;c=(b&15)==6;b=c?b|8:b;k=b&240;b=(k|0)==144?b|32:b;d=b&240;b=(d|0)==96?b|128:b;i=b&3840;b=(i|0)==2304?b|512:b;j=b&3840;b=(j|0)==1536?b|2048:b;e=b&61440;b=(e|0)==36864?b|8192:b;m=b&61440;b=(m|0)==24576?b|32768:b;p=b&983040;b=(p|0)==589824?b|131072:b;F=b&983040;b=(F|0)==393216?b|524288:b;K=b&15728640;b=(K|0)==9437184?b|2097152:b;M=b&15728640;b=(M|0)==6291456?b|8388608:b;N=b&251658240;b=(N|0)==150994944?b|33554432:b;O=b&251658240;b=(O|0)==100663296?b|134217728:b;P=b&-268435456;b=(P|0)==-1879048192?b|536870912:b;Q=b&-268435456;Zb:{if(c|R|((k|0)==144|(d|0)==96)){break Zb}if((i|0)==2304|(j|0)==1536|((e|0)==36864|(m|0)==24576)){break Zb}if((p|0)==589824|(F|0)==393216|((K|0)==9437184|(M|0)==6291456)){break Zb}if((N|0)==150994944|(O|0)==100663296|(P|0)==-1879048192){break Zb}if((Q|0)!=1610612736){break _}}v[r>>2]=(Q|0)==1610612736?b|-2147483648:b}if(v[a+26328>>2]==-1){b=a;a=v[a+26332>>2];v[b+26328>>2]=(a|0)==-1?0:a}Qb=g+160|0}function mga(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,n=0,o=0,p=0,q=0,r=0,s=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,Q=0;k=Qb-2064|0;Qb=k;D=Bg(k+2048|0,k+2060|0,B(v[a+16>>2],v[a+12>>2]),2);o=v[k+2060>>2];f=v[a+16>>2];a:{if((f|0)<1){break a}g=v[a+12>>2];if((g|0)<1){break a}m=k+1984|0;r=k+1920|0;y=k+1856|0;s=k+1792|0;l=k+1728|0;z=k+1664|0;C=k+1600|0;p=k+1536|0;F=k+1472|0;G=k+1408|0;H=k+1344|0;I=k+1280|0;J=k+1216|0;K=k+1152|0;M=k+1088|0;N=k+1024|0;Q=k- -64|0;q=v[a>>2];n=o;while(1){A=0;if((g|0)>0){while(1){h=0;g=ic(k,0,2048);j=0;while(1){f=v[(j>>>2&1073741820)+q>>2];b:{if(!f){break b}f=v[f+((j&15)<<2)>>2];if(!f){break b}i=h<<2;u[g+(v[i+991328>>2]<<1)>>1]=x[f>>1];u[g+(v[(i|4)+991328>>2]<<1)>>1]=x[f+2>>1];u[g+(v[(i|8)+991328>>2]<<1)>>1]=x[f+4>>1];u[g+(v[(i|12)+991328>>2]<<1)>>1]=x[f+6>>1];u[g+(v[(i|16)+991328>>2]<<1)>>1]=x[f+8>>1];u[g+(v[(i|20)+991328>>2]<<1)>>1]=x[f+10>>1];u[g+(v[(i|24)+991328>>2]<<1)>>1]=x[f+12>>1];u[g+(v[(i|28)+991328>>2]<<1)>>1]=x[f+14>>1];u[g+(v[(i|32)+991328>>2]<<1)>>1]=x[f+16>>1];u[g+(v[(i|36)+991328>>2]<<1)>>1]=x[f+18>>1];u[g+(v[(i|40)+991328>>2]<<1)>>1]=x[f+20>>1];u[g+(v[(i|44)+991328>>2]<<1)>>1]=x[f+22>>1];u[g+(v[(i|48)+991328>>2]<<1)>>1]=x[f+24>>1];u[g+(v[(i|52)+991328>>2]<<1)>>1]=x[f+26>>1];u[g+(v[(i|56)+991328>>2]<<1)>>1]=x[f+28>>1];u[g+(v[(i|60)+991328>>2]<<1)>>1]=x[f+30>>1]}h=h+16|0;j=j+1|0;if((j|0)!=64){continue}break}h=v[g+4>>2];f=(A<<1)+n|0;j=v[g>>2];t[f|0]=j;t[f+1|0]=j>>>8;t[f+2|0]=j>>>16;t[f+3|0]=j>>>24;t[f+4|0]=h;t[f+5|0]=h>>>8;t[f+6|0]=h>>>16;t[f+7|0]=h>>>24;i=v[g+60>>2];h=v[g+56>>2];t[f+56|0]=h;t[f+57|0]=h>>>8;t[f+58|0]=h>>>16;t[f+59|0]=h>>>24;t[f+60|0]=i;t[f+61|0]=i>>>8;t[f+62|0]=i>>>16;t[f+63|0]=i>>>24;i=v[g+52>>2];h=v[g+48>>2];t[f+48|0]=h;t[f+49|0]=h>>>8;t[f+50|0]=h>>>16;t[f+51|0]=h>>>24;t[f+52|0]=i;t[f+53|0]=i>>>8;t[f+54|0]=i>>>16;t[f+55|0]=i>>>24;i=v[g+44>>2];h=v[g+40>>2];t[f+40|0]=h;t[f+41|0]=h>>>8;t[f+42|0]=h>>>16;t[f+43|0]=h>>>24;t[f+44|0]=i;t[f+45|0]=i>>>8;t[f+46|0]=i>>>16;t[f+47|0]=i>>>24;i=v[g+36>>2];h=v[g+32>>2];t[f+32|0]=h;t[f+33|0]=h>>>8;t[f+34|0]=h>>>16;t[f+35|0]=h>>>24;t[f+36|0]=i;t[f+37|0]=i>>>8;t[f+38|0]=i>>>16;t[f+39|0]=i>>>24;i=v[g+28>>2];h=v[g+24>>2];t[f+24|0]=h;t[f+25|0]=h>>>8;t[f+26|0]=h>>>16;t[f+27|0]=h>>>24;t[f+28|0]=i;t[f+29|0]=i>>>8;t[f+30|0]=i>>>16;t[f+31|0]=i>>>24;i=v[g+20>>2];h=v[g+16>>2];t[f+16|0]=h;t[f+17|0]=h>>>8;t[f+18|0]=h>>>16;t[f+19|0]=h>>>24;t[f+20|0]=i;t[f+21|0]=i>>>8;t[f+22|0]=i>>>16;t[f+23|0]=i>>>24;i=v[g+12>>2];g=v[g+8>>2];t[f+8|0]=g;t[f+9|0]=g>>>8;t[f+10|0]=g>>>16;t[f+11|0]=g>>>24;t[f+12|0]=i;t[f+13|0]=i>>>8;t[f+14|0]=i>>>16;t[f+15|0]=i>>>24;g=f+(v[a+12>>2]<<1)|0;f=Q;h=w[f+4|0]|w[f+5|0]<<8|(w[f+6|0]<<16|w[f+7|0]<<24);j=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+12|0]|w[f+13|0]<<8|(w[f+14|0]<<16|w[f+15|0]<<24);h=w[f+8|0]|w[f+9|0]<<8|(w[f+10|0]<<16|w[f+11|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+20|0]|w[f+21|0]<<8|(w[f+22|0]<<16|w[f+23|0]<<24);h=w[f+16|0]|w[f+17|0]<<8|(w[f+18|0]<<16|w[f+19|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+28|0]|w[f+29|0]<<8|(w[f+30|0]<<16|w[f+31|0]<<24);h=w[f+24|0]|w[f+25|0]<<8|(w[f+26|0]<<16|w[f+27|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+36|0]|w[f+37|0]<<8|(w[f+38|0]<<16|w[f+39|0]<<24);h=w[f+32|0]|w[f+33|0]<<8|(w[f+34|0]<<16|w[f+35|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+44|0]|w[f+45|0]<<8|(w[f+46|0]<<16|w[f+47|0]<<24);h=w[f+40|0]|w[f+41|0]<<8|(w[f+42|0]<<16|w[f+43|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+52|0]|w[f+53|0]<<8|(w[f+54|0]<<16|w[f+55|0]<<24);h=w[f+48|0]|w[f+49|0]<<8|(w[f+50|0]<<16|w[f+51|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+60|0]|w[f+61|0]<<8|(w[f+62|0]<<16|w[f+63|0]<<24);f=w[f+56|0]|w[f+57|0]<<8|(w[f+58|0]<<16|w[f+59|0]<<24);t[g+56|0]=f;t[g+57|0]=f>>>8;t[g+58|0]=f>>>16;t[g+59|0]=f>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;f=k;h=w[f+132|0]|w[f+133|0]<<8|(w[f+134|0]<<16|w[f+135|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f+128|0]|w[f+129|0]<<8|(w[f+130|0]<<16|w[f+131|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+140|0]|w[f+141|0]<<8|(w[f+142|0]<<16|w[f+143|0]<<24);h=w[f+136|0]|w[f+137|0]<<8|(w[f+138|0]<<16|w[f+139|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+148|0]|w[f+149|0]<<8|(w[f+150|0]<<16|w[f+151|0]<<24);h=w[f+144|0]|w[f+145|0]<<8|(w[f+146|0]<<16|w[f+147|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+156|0]|w[f+157|0]<<8|(w[f+158|0]<<16|w[f+159|0]<<24);h=w[f+152|0]|w[f+153|0]<<8|(w[f+154|0]<<16|w[f+155|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+164|0]|w[f+165|0]<<8|(w[f+166|0]<<16|w[f+167|0]<<24);h=w[f+160|0]|w[f+161|0]<<8|(w[f+162|0]<<16|w[f+163|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+172|0]|w[f+173|0]<<8|(w[f+174|0]<<16|w[f+175|0]<<24);h=w[f+168|0]|w[f+169|0]<<8|(w[f+170|0]<<16|w[f+171|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+180|0]|w[f+181|0]<<8|(w[f+182|0]<<16|w[f+183|0]<<24);h=w[f+176|0]|w[f+177|0]<<8|(w[f+178|0]<<16|w[f+179|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+188|0]|w[f+189|0]<<8|(w[f+190|0]<<16|w[f+191|0]<<24);h=w[f+184|0]|w[f+185|0]<<8|(w[f+186|0]<<16|w[f+187|0]<<24);t[g+56|0]=h;t[g+57|0]=h>>>8;t[g+58|0]=h>>>16;t[g+59|0]=h>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;h=w[f+196|0]|w[f+197|0]<<8|(w[f+198|0]<<16|w[f+199|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f+192|0]|w[f+193|0]<<8|(w[f+194|0]<<16|w[f+195|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+204|0]|w[f+205|0]<<8|(w[f+206|0]<<16|w[f+207|0]<<24);h=w[f+200|0]|w[f+201|0]<<8|(w[f+202|0]<<16|w[f+203|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+212|0]|w[f+213|0]<<8|(w[f+214|0]<<16|w[f+215|0]<<24);h=w[f+208|0]|w[f+209|0]<<8|(w[f+210|0]<<16|w[f+211|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+220|0]|w[f+221|0]<<8|(w[f+222|0]<<16|w[f+223|0]<<24);h=w[f+216|0]|w[f+217|0]<<8|(w[f+218|0]<<16|w[f+219|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+228|0]|w[f+229|0]<<8|(w[f+230|0]<<16|w[f+231|0]<<24);h=w[f+224|0]|w[f+225|0]<<8|(w[f+226|0]<<16|w[f+227|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+236|0]|w[f+237|0]<<8|(w[f+238|0]<<16|w[f+239|0]<<24);h=w[f+232|0]|w[f+233|0]<<8|(w[f+234|0]<<16|w[f+235|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+244|0]|w[f+245|0]<<8|(w[f+246|0]<<16|w[f+247|0]<<24);h=w[f+240|0]|w[f+241|0]<<8|(w[f+242|0]<<16|w[f+243|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+252|0]|w[f+253|0]<<8|(w[f+254|0]<<16|w[f+255|0]<<24);h=w[f+248|0]|w[f+249|0]<<8|(w[f+250|0]<<16|w[f+251|0]<<24);t[g+56|0]=h;t[g+57|0]=h>>>8;t[g+58|0]=h>>>16;t[g+59|0]=h>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;h=w[f+260|0]|w[f+261|0]<<8|(w[f+262|0]<<16|w[f+263|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f+256|0]|w[f+257|0]<<8|(w[f+258|0]<<16|w[f+259|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+268|0]|w[f+269|0]<<8|(w[f+270|0]<<16|w[f+271|0]<<24);h=w[f+264|0]|w[f+265|0]<<8|(w[f+266|0]<<16|w[f+267|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+276|0]|w[f+277|0]<<8|(w[f+278|0]<<16|w[f+279|0]<<24);h=w[f+272|0]|w[f+273|0]<<8|(w[f+274|0]<<16|w[f+275|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+284|0]|w[f+285|0]<<8|(w[f+286|0]<<16|w[f+287|0]<<24);h=w[f+280|0]|w[f+281|0]<<8|(w[f+282|0]<<16|w[f+283|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+292|0]|w[f+293|0]<<8|(w[f+294|0]<<16|w[f+295|0]<<24);h=w[f+288|0]|w[f+289|0]<<8|(w[f+290|0]<<16|w[f+291|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+300|0]|w[f+301|0]<<8|(w[f+302|0]<<16|w[f+303|0]<<24);h=w[f+296|0]|w[f+297|0]<<8|(w[f+298|0]<<16|w[f+299|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+308|0]|w[f+309|0]<<8|(w[f+310|0]<<16|w[f+311|0]<<24);h=w[f+304|0]|w[f+305|0]<<8|(w[f+306|0]<<16|w[f+307|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+316|0]|w[f+317|0]<<8|(w[f+318|0]<<16|w[f+319|0]<<24);h=w[f+312|0]|w[f+313|0]<<8|(w[f+314|0]<<16|w[f+315|0]<<24);t[g+56|0]=h;t[g+57|0]=h>>>8;t[g+58|0]=h>>>16;t[g+59|0]=h>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;h=w[f+324|0]|w[f+325|0]<<8|(w[f+326|0]<<16|w[f+327|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f+320|0]|w[f+321|0]<<8|(w[f+322|0]<<16|w[f+323|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+332|0]|w[f+333|0]<<8|(w[f+334|0]<<16|w[f+335|0]<<24);h=w[f+328|0]|w[f+329|0]<<8|(w[f+330|0]<<16|w[f+331|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+340|0]|w[f+341|0]<<8|(w[f+342|0]<<16|w[f+343|0]<<24);h=w[f+336|0]|w[f+337|0]<<8|(w[f+338|0]<<16|w[f+339|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+348|0]|w[f+349|0]<<8|(w[f+350|0]<<16|w[f+351|0]<<24);h=w[f+344|0]|w[f+345|0]<<8|(w[f+346|0]<<16|w[f+347|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+356|0]|w[f+357|0]<<8|(w[f+358|0]<<16|w[f+359|0]<<24);h=w[f+352|0]|w[f+353|0]<<8|(w[f+354|0]<<16|w[f+355|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+364|0]|w[f+365|0]<<8|(w[f+366|0]<<16|w[f+367|0]<<24);h=w[f+360|0]|w[f+361|0]<<8|(w[f+362|0]<<16|w[f+363|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+372|0]|w[f+373|0]<<8|(w[f+374|0]<<16|w[f+375|0]<<24);h=w[f+368|0]|w[f+369|0]<<8|(w[f+370|0]<<16|w[f+371|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+380|0]|w[f+381|0]<<8|(w[f+382|0]<<16|w[f+383|0]<<24);h=w[f+376|0]|w[f+377|0]<<8|(w[f+378|0]<<16|w[f+379|0]<<24);t[g+56|0]=h;t[g+57|0]=h>>>8;t[g+58|0]=h>>>16;t[g+59|0]=h>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;h=w[f+388|0]|w[f+389|0]<<8|(w[f+390|0]<<16|w[f+391|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f+384|0]|w[f+385|0]<<8|(w[f+386|0]<<16|w[f+387|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+396|0]|w[f+397|0]<<8|(w[f+398|0]<<16|w[f+399|0]<<24);h=w[f+392|0]|w[f+393|0]<<8|(w[f+394|0]<<16|w[f+395|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+404|0]|w[f+405|0]<<8|(w[f+406|0]<<16|w[f+407|0]<<24);h=w[f+400|0]|w[f+401|0]<<8|(w[f+402|0]<<16|w[f+403|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+412|0]|w[f+413|0]<<8|(w[f+414|0]<<16|w[f+415|0]<<24);h=w[f+408|0]|w[f+409|0]<<8|(w[f+410|0]<<16|w[f+411|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+420|0]|w[f+421|0]<<8|(w[f+422|0]<<16|w[f+423|0]<<24);h=w[f+416|0]|w[f+417|0]<<8|(w[f+418|0]<<16|w[f+419|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+428|0]|w[f+429|0]<<8|(w[f+430|0]<<16|w[f+431|0]<<24);h=w[f+424|0]|w[f+425|0]<<8|(w[f+426|0]<<16|w[f+427|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+436|0]|w[f+437|0]<<8|(w[f+438|0]<<16|w[f+439|0]<<24);h=w[f+432|0]|w[f+433|0]<<8|(w[f+434|0]<<16|w[f+435|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+444|0]|w[f+445|0]<<8|(w[f+446|0]<<16|w[f+447|0]<<24);h=w[f+440|0]|w[f+441|0]<<8|(w[f+442|0]<<16|w[f+443|0]<<24);t[g+56|0]=h;t[g+57|0]=h>>>8;t[g+58|0]=h>>>16;t[g+59|0]=h>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;h=w[f+452|0]|w[f+453|0]<<8|(w[f+454|0]<<16|w[f+455|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f+448|0]|w[f+449|0]<<8|(w[f+450|0]<<16|w[f+451|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+460|0]|w[f+461|0]<<8|(w[f+462|0]<<16|w[f+463|0]<<24);h=w[f+456|0]|w[f+457|0]<<8|(w[f+458|0]<<16|w[f+459|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+468|0]|w[f+469|0]<<8|(w[f+470|0]<<16|w[f+471|0]<<24);h=w[f+464|0]|w[f+465|0]<<8|(w[f+466|0]<<16|w[f+467|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+476|0]|w[f+477|0]<<8|(w[f+478|0]<<16|w[f+479|0]<<24);h=w[f+472|0]|w[f+473|0]<<8|(w[f+474|0]<<16|w[f+475|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+484|0]|w[f+485|0]<<8|(w[f+486|0]<<16|w[f+487|0]<<24);h=w[f+480|0]|w[f+481|0]<<8|(w[f+482|0]<<16|w[f+483|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+492|0]|w[f+493|0]<<8|(w[f+494|0]<<16|w[f+495|0]<<24);h=w[f+488|0]|w[f+489|0]<<8|(w[f+490|0]<<16|w[f+491|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+500|0]|w[f+501|0]<<8|(w[f+502|0]<<16|w[f+503|0]<<24);h=w[f+496|0]|w[f+497|0]<<8|(w[f+498|0]<<16|w[f+499|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+508|0]|w[f+509|0]<<8|(w[f+510|0]<<16|w[f+511|0]<<24);h=w[f+504|0]|w[f+505|0]<<8|(w[f+506|0]<<16|w[f+507|0]<<24);t[g+56|0]=h;t[g+57|0]=h>>>8;t[g+58|0]=h>>>16;t[g+59|0]=h>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;h=w[f+516|0]|w[f+517|0]<<8|(w[f+518|0]<<16|w[f+519|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f+512|0]|w[f+513|0]<<8|(w[f+514|0]<<16|w[f+515|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+524|0]|w[f+525|0]<<8|(w[f+526|0]<<16|w[f+527|0]<<24);h=w[f+520|0]|w[f+521|0]<<8|(w[f+522|0]<<16|w[f+523|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+532|0]|w[f+533|0]<<8|(w[f+534|0]<<16|w[f+535|0]<<24);h=w[f+528|0]|w[f+529|0]<<8|(w[f+530|0]<<16|w[f+531|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+540|0]|w[f+541|0]<<8|(w[f+542|0]<<16|w[f+543|0]<<24);h=w[f+536|0]|w[f+537|0]<<8|(w[f+538|0]<<16|w[f+539|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+548|0]|w[f+549|0]<<8|(w[f+550|0]<<16|w[f+551|0]<<24);h=w[f+544|0]|w[f+545|0]<<8|(w[f+546|0]<<16|w[f+547|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+556|0]|w[f+557|0]<<8|(w[f+558|0]<<16|w[f+559|0]<<24);h=w[f+552|0]|w[f+553|0]<<8|(w[f+554|0]<<16|w[f+555|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+564|0]|w[f+565|0]<<8|(w[f+566|0]<<16|w[f+567|0]<<24);h=w[f+560|0]|w[f+561|0]<<8|(w[f+562|0]<<16|w[f+563|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+572|0]|w[f+573|0]<<8|(w[f+574|0]<<16|w[f+575|0]<<24);h=w[f+568|0]|w[f+569|0]<<8|(w[f+570|0]<<16|w[f+571|0]<<24);t[g+56|0]=h;t[g+57|0]=h>>>8;t[g+58|0]=h>>>16;t[g+59|0]=h>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;h=w[f+580|0]|w[f+581|0]<<8|(w[f+582|0]<<16|w[f+583|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f+576|0]|w[f+577|0]<<8|(w[f+578|0]<<16|w[f+579|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+588|0]|w[f+589|0]<<8|(w[f+590|0]<<16|w[f+591|0]<<24);h=w[f+584|0]|w[f+585|0]<<8|(w[f+586|0]<<16|w[f+587|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+596|0]|w[f+597|0]<<8|(w[f+598|0]<<16|w[f+599|0]<<24);h=w[f+592|0]|w[f+593|0]<<8|(w[f+594|0]<<16|w[f+595|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+604|0]|w[f+605|0]<<8|(w[f+606|0]<<16|w[f+607|0]<<24);h=w[f+600|0]|w[f+601|0]<<8|(w[f+602|0]<<16|w[f+603|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+612|0]|w[f+613|0]<<8|(w[f+614|0]<<16|w[f+615|0]<<24);h=w[f+608|0]|w[f+609|0]<<8|(w[f+610|0]<<16|w[f+611|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+620|0]|w[f+621|0]<<8|(w[f+622|0]<<16|w[f+623|0]<<24);h=w[f+616|0]|w[f+617|0]<<8|(w[f+618|0]<<16|w[f+619|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+628|0]|w[f+629|0]<<8|(w[f+630|0]<<16|w[f+631|0]<<24);h=w[f+624|0]|w[f+625|0]<<8|(w[f+626|0]<<16|w[f+627|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+636|0]|w[f+637|0]<<8|(w[f+638|0]<<16|w[f+639|0]<<24);h=w[f+632|0]|w[f+633|0]<<8|(w[f+634|0]<<16|w[f+635|0]<<24);t[g+56|0]=h;t[g+57|0]=h>>>8;t[g+58|0]=h>>>16;t[g+59|0]=h>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;h=w[f+644|0]|w[f+645|0]<<8|(w[f+646|0]<<16|w[f+647|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f+640|0]|w[f+641|0]<<8|(w[f+642|0]<<16|w[f+643|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+652|0]|w[f+653|0]<<8|(w[f+654|0]<<16|w[f+655|0]<<24);h=w[f+648|0]|w[f+649|0]<<8|(w[f+650|0]<<16|w[f+651|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+660|0]|w[f+661|0]<<8|(w[f+662|0]<<16|w[f+663|0]<<24);h=w[f+656|0]|w[f+657|0]<<8|(w[f+658|0]<<16|w[f+659|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+668|0]|w[f+669|0]<<8|(w[f+670|0]<<16|w[f+671|0]<<24);h=w[f+664|0]|w[f+665|0]<<8|(w[f+666|0]<<16|w[f+667|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+676|0]|w[f+677|0]<<8|(w[f+678|0]<<16|w[f+679|0]<<24);h=w[f+672|0]|w[f+673|0]<<8|(w[f+674|0]<<16|w[f+675|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+684|0]|w[f+685|0]<<8|(w[f+686|0]<<16|w[f+687|0]<<24);h=w[f+680|0]|w[f+681|0]<<8|(w[f+682|0]<<16|w[f+683|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+692|0]|w[f+693|0]<<8|(w[f+694|0]<<16|w[f+695|0]<<24);h=w[f+688|0]|w[f+689|0]<<8|(w[f+690|0]<<16|w[f+691|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+700|0]|w[f+701|0]<<8|(w[f+702|0]<<16|w[f+703|0]<<24);h=w[f+696|0]|w[f+697|0]<<8|(w[f+698|0]<<16|w[f+699|0]<<24);t[g+56|0]=h;t[g+57|0]=h>>>8;t[g+58|0]=h>>>16;t[g+59|0]=h>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;h=w[f+708|0]|w[f+709|0]<<8|(w[f+710|0]<<16|w[f+711|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f+704|0]|w[f+705|0]<<8|(w[f+706|0]<<16|w[f+707|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+716|0]|w[f+717|0]<<8|(w[f+718|0]<<16|w[f+719|0]<<24);h=w[f+712|0]|w[f+713|0]<<8|(w[f+714|0]<<16|w[f+715|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+724|0]|w[f+725|0]<<8|(w[f+726|0]<<16|w[f+727|0]<<24);h=w[f+720|0]|w[f+721|0]<<8|(w[f+722|0]<<16|w[f+723|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+732|0]|w[f+733|0]<<8|(w[f+734|0]<<16|w[f+735|0]<<24);h=w[f+728|0]|w[f+729|0]<<8|(w[f+730|0]<<16|w[f+731|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+740|0]|w[f+741|0]<<8|(w[f+742|0]<<16|w[f+743|0]<<24);h=w[f+736|0]|w[f+737|0]<<8|(w[f+738|0]<<16|w[f+739|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+748|0]|w[f+749|0]<<8|(w[f+750|0]<<16|w[f+751|0]<<24);h=w[f+744|0]|w[f+745|0]<<8|(w[f+746|0]<<16|w[f+747|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+756|0]|w[f+757|0]<<8|(w[f+758|0]<<16|w[f+759|0]<<24);h=w[f+752|0]|w[f+753|0]<<8|(w[f+754|0]<<16|w[f+755|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+764|0]|w[f+765|0]<<8|(w[f+766|0]<<16|w[f+767|0]<<24);h=w[f+760|0]|w[f+761|0]<<8|(w[f+762|0]<<16|w[f+763|0]<<24);t[g+56|0]=h;t[g+57|0]=h>>>8;t[g+58|0]=h>>>16;t[g+59|0]=h>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;h=w[f+772|0]|w[f+773|0]<<8|(w[f+774|0]<<16|w[f+775|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f+768|0]|w[f+769|0]<<8|(w[f+770|0]<<16|w[f+771|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+780|0]|w[f+781|0]<<8|(w[f+782|0]<<16|w[f+783|0]<<24);h=w[f+776|0]|w[f+777|0]<<8|(w[f+778|0]<<16|w[f+779|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+788|0]|w[f+789|0]<<8|(w[f+790|0]<<16|w[f+791|0]<<24);h=w[f+784|0]|w[f+785|0]<<8|(w[f+786|0]<<16|w[f+787|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+796|0]|w[f+797|0]<<8|(w[f+798|0]<<16|w[f+799|0]<<24);h=w[f+792|0]|w[f+793|0]<<8|(w[f+794|0]<<16|w[f+795|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+804|0]|w[f+805|0]<<8|(w[f+806|0]<<16|w[f+807|0]<<24);h=w[f+800|0]|w[f+801|0]<<8|(w[f+802|0]<<16|w[f+803|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+812|0]|w[f+813|0]<<8|(w[f+814|0]<<16|w[f+815|0]<<24);h=w[f+808|0]|w[f+809|0]<<8|(w[f+810|0]<<16|w[f+811|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+820|0]|w[f+821|0]<<8|(w[f+822|0]<<16|w[f+823|0]<<24);h=w[f+816|0]|w[f+817|0]<<8|(w[f+818|0]<<16|w[f+819|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+828|0]|w[f+829|0]<<8|(w[f+830|0]<<16|w[f+831|0]<<24);h=w[f+824|0]|w[f+825|0]<<8|(w[f+826|0]<<16|w[f+827|0]<<24);t[g+56|0]=h;t[g+57|0]=h>>>8;t[g+58|0]=h>>>16;t[g+59|0]=h>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;h=w[f+836|0]|w[f+837|0]<<8|(w[f+838|0]<<16|w[f+839|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f+832|0]|w[f+833|0]<<8|(w[f+834|0]<<16|w[f+835|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+844|0]|w[f+845|0]<<8|(w[f+846|0]<<16|w[f+847|0]<<24);h=w[f+840|0]|w[f+841|0]<<8|(w[f+842|0]<<16|w[f+843|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+852|0]|w[f+853|0]<<8|(w[f+854|0]<<16|w[f+855|0]<<24);h=w[f+848|0]|w[f+849|0]<<8|(w[f+850|0]<<16|w[f+851|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+860|0]|w[f+861|0]<<8|(w[f+862|0]<<16|w[f+863|0]<<24);h=w[f+856|0]|w[f+857|0]<<8|(w[f+858|0]<<16|w[f+859|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+868|0]|w[f+869|0]<<8|(w[f+870|0]<<16|w[f+871|0]<<24);h=w[f+864|0]|w[f+865|0]<<8|(w[f+866|0]<<16|w[f+867|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+876|0]|w[f+877|0]<<8|(w[f+878|0]<<16|w[f+879|0]<<24);h=w[f+872|0]|w[f+873|0]<<8|(w[f+874|0]<<16|w[f+875|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+884|0]|w[f+885|0]<<8|(w[f+886|0]<<16|w[f+887|0]<<24);h=w[f+880|0]|w[f+881|0]<<8|(w[f+882|0]<<16|w[f+883|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+892|0]|w[f+893|0]<<8|(w[f+894|0]<<16|w[f+895|0]<<24);h=w[f+888|0]|w[f+889|0]<<8|(w[f+890|0]<<16|w[f+891|0]<<24);t[g+56|0]=h;t[g+57|0]=h>>>8;t[g+58|0]=h>>>16;t[g+59|0]=h>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;h=w[f+900|0]|w[f+901|0]<<8|(w[f+902|0]<<16|w[f+903|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f+896|0]|w[f+897|0]<<8|(w[f+898|0]<<16|w[f+899|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+908|0]|w[f+909|0]<<8|(w[f+910|0]<<16|w[f+911|0]<<24);h=w[f+904|0]|w[f+905|0]<<8|(w[f+906|0]<<16|w[f+907|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+916|0]|w[f+917|0]<<8|(w[f+918|0]<<16|w[f+919|0]<<24);h=w[f+912|0]|w[f+913|0]<<8|(w[f+914|0]<<16|w[f+915|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+924|0]|w[f+925|0]<<8|(w[f+926|0]<<16|w[f+927|0]<<24);h=w[f+920|0]|w[f+921|0]<<8|(w[f+922|0]<<16|w[f+923|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+932|0]|w[f+933|0]<<8|(w[f+934|0]<<16|w[f+935|0]<<24);h=w[f+928|0]|w[f+929|0]<<8|(w[f+930|0]<<16|w[f+931|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+940|0]|w[f+941|0]<<8|(w[f+942|0]<<16|w[f+943|0]<<24);h=w[f+936|0]|w[f+937|0]<<8|(w[f+938|0]<<16|w[f+939|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+948|0]|w[f+949|0]<<8|(w[f+950|0]<<16|w[f+951|0]<<24);h=w[f+944|0]|w[f+945|0]<<8|(w[f+946|0]<<16|w[f+947|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+956|0]|w[f+957|0]<<8|(w[f+958|0]<<16|w[f+959|0]<<24);h=w[f+952|0]|w[f+953|0]<<8|(w[f+954|0]<<16|w[f+955|0]<<24);t[g+56|0]=h;t[g+57|0]=h>>>8;t[g+58|0]=h>>>16;t[g+59|0]=h>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;h=w[f+964|0]|w[f+965|0]<<8|(w[f+966|0]<<16|w[f+967|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f+960|0]|w[f+961|0]<<8|(w[f+962|0]<<16|w[f+963|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+972|0]|w[f+973|0]<<8|(w[f+974|0]<<16|w[f+975|0]<<24);h=w[f+968|0]|w[f+969|0]<<8|(w[f+970|0]<<16|w[f+971|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+980|0]|w[f+981|0]<<8|(w[f+982|0]<<16|w[f+983|0]<<24);h=w[f+976|0]|w[f+977|0]<<8|(w[f+978|0]<<16|w[f+979|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+988|0]|w[f+989|0]<<8|(w[f+990|0]<<16|w[f+991|0]<<24);h=w[f+984|0]|w[f+985|0]<<8|(w[f+986|0]<<16|w[f+987|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+996|0]|w[f+997|0]<<8|(w[f+998|0]<<16|w[f+999|0]<<24);h=w[f+992|0]|w[f+993|0]<<8|(w[f+994|0]<<16|w[f+995|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+1004|0]|w[f+1005|0]<<8|(w[f+1006|0]<<16|w[f+1007|0]<<24);h=w[f+1e3|0]|w[f+1001|0]<<8|(w[f+1002|0]<<16|w[f+1003|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+1012|0]|w[f+1013|0]<<8|(w[f+1014|0]<<16|w[f+1015|0]<<24);h=w[f+1008|0]|w[f+1009|0]<<8|(w[f+1010|0]<<16|w[f+1011|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+1020|0]|w[f+1021|0]<<8|(w[f+1022|0]<<16|w[f+1023|0]<<24);f=w[f+1016|0]|w[f+1017|0]<<8|(w[f+1018|0]<<16|w[f+1019|0]<<24);t[g+56|0]=f;t[g+57|0]=f>>>8;t[g+58|0]=f>>>16;t[g+59|0]=f>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;f=N;h=w[f+4|0]|w[f+5|0]<<8|(w[f+6|0]<<16|w[f+7|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+12|0]|w[f+13|0]<<8|(w[f+14|0]<<16|w[f+15|0]<<24);h=w[f+8|0]|w[f+9|0]<<8|(w[f+10|0]<<16|w[f+11|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+20|0]|w[f+21|0]<<8|(w[f+22|0]<<16|w[f+23|0]<<24);h=w[f+16|0]|w[f+17|0]<<8|(w[f+18|0]<<16|w[f+19|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+28|0]|w[f+29|0]<<8|(w[f+30|0]<<16|w[f+31|0]<<24);h=w[f+24|0]|w[f+25|0]<<8|(w[f+26|0]<<16|w[f+27|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+36|0]|w[f+37|0]<<8|(w[f+38|0]<<16|w[f+39|0]<<24);h=w[f+32|0]|w[f+33|0]<<8|(w[f+34|0]<<16|w[f+35|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+44|0]|w[f+45|0]<<8|(w[f+46|0]<<16|w[f+47|0]<<24);h=w[f+40|0]|w[f+41|0]<<8|(w[f+42|0]<<16|w[f+43|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+52|0]|w[f+53|0]<<8|(w[f+54|0]<<16|w[f+55|0]<<24);h=w[f+48|0]|w[f+49|0]<<8|(w[f+50|0]<<16|w[f+51|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+60|0]|w[f+61|0]<<8|(w[f+62|0]<<16|w[f+63|0]<<24);f=w[f+56|0]|w[f+57|0]<<8|(w[f+58|0]<<16|w[f+59|0]<<24);t[g+56|0]=f;t[g+57|0]=f>>>8;t[g+58|0]=f>>>16;t[g+59|0]=f>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;f=M;h=w[f+4|0]|w[f+5|0]<<8|(w[f+6|0]<<16|w[f+7|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+12|0]|w[f+13|0]<<8|(w[f+14|0]<<16|w[f+15|0]<<24);h=w[f+8|0]|w[f+9|0]<<8|(w[f+10|0]<<16|w[f+11|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+20|0]|w[f+21|0]<<8|(w[f+22|0]<<16|w[f+23|0]<<24);h=w[f+16|0]|w[f+17|0]<<8|(w[f+18|0]<<16|w[f+19|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+28|0]|w[f+29|0]<<8|(w[f+30|0]<<16|w[f+31|0]<<24);h=w[f+24|0]|w[f+25|0]<<8|(w[f+26|0]<<16|w[f+27|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+36|0]|w[f+37|0]<<8|(w[f+38|0]<<16|w[f+39|0]<<24);h=w[f+32|0]|w[f+33|0]<<8|(w[f+34|0]<<16|w[f+35|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+44|0]|w[f+45|0]<<8|(w[f+46|0]<<16|w[f+47|0]<<24);h=w[f+40|0]|w[f+41|0]<<8|(w[f+42|0]<<16|w[f+43|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+52|0]|w[f+53|0]<<8|(w[f+54|0]<<16|w[f+55|0]<<24);h=w[f+48|0]|w[f+49|0]<<8|(w[f+50|0]<<16|w[f+51|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+60|0]|w[f+61|0]<<8|(w[f+62|0]<<16|w[f+63|0]<<24);f=w[f+56|0]|w[f+57|0]<<8|(w[f+58|0]<<16|w[f+59|0]<<24);t[g+56|0]=f;t[g+57|0]=f>>>8;t[g+58|0]=f>>>16;t[g+59|0]=f>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;f=K;h=w[f+4|0]|w[f+5|0]<<8|(w[f+6|0]<<16|w[f+7|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+12|0]|w[f+13|0]<<8|(w[f+14|0]<<16|w[f+15|0]<<24);h=w[f+8|0]|w[f+9|0]<<8|(w[f+10|0]<<16|w[f+11|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+20|0]|w[f+21|0]<<8|(w[f+22|0]<<16|w[f+23|0]<<24);h=w[f+16|0]|w[f+17|0]<<8|(w[f+18|0]<<16|w[f+19|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+28|0]|w[f+29|0]<<8|(w[f+30|0]<<16|w[f+31|0]<<24);h=w[f+24|0]|w[f+25|0]<<8|(w[f+26|0]<<16|w[f+27|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+36|0]|w[f+37|0]<<8|(w[f+38|0]<<16|w[f+39|0]<<24);h=w[f+32|0]|w[f+33|0]<<8|(w[f+34|0]<<16|w[f+35|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+44|0]|w[f+45|0]<<8|(w[f+46|0]<<16|w[f+47|0]<<24);h=w[f+40|0]|w[f+41|0]<<8|(w[f+42|0]<<16|w[f+43|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+52|0]|w[f+53|0]<<8|(w[f+54|0]<<16|w[f+55|0]<<24);h=w[f+48|0]|w[f+49|0]<<8|(w[f+50|0]<<16|w[f+51|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+60|0]|w[f+61|0]<<8|(w[f+62|0]<<16|w[f+63|0]<<24);f=w[f+56|0]|w[f+57|0]<<8|(w[f+58|0]<<16|w[f+59|0]<<24);t[g+56|0]=f;t[g+57|0]=f>>>8;t[g+58|0]=f>>>16;t[g+59|0]=f>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;f=J;h=w[f+4|0]|w[f+5|0]<<8|(w[f+6|0]<<16|w[f+7|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+12|0]|w[f+13|0]<<8|(w[f+14|0]<<16|w[f+15|0]<<24);h=w[f+8|0]|w[f+9|0]<<8|(w[f+10|0]<<16|w[f+11|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+20|0]|w[f+21|0]<<8|(w[f+22|0]<<16|w[f+23|0]<<24);h=w[f+16|0]|w[f+17|0]<<8|(w[f+18|0]<<16|w[f+19|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+28|0]|w[f+29|0]<<8|(w[f+30|0]<<16|w[f+31|0]<<24);h=w[f+24|0]|w[f+25|0]<<8|(w[f+26|0]<<16|w[f+27|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+36|0]|w[f+37|0]<<8|(w[f+38|0]<<16|w[f+39|0]<<24);h=w[f+32|0]|w[f+33|0]<<8|(w[f+34|0]<<16|w[f+35|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+44|0]|w[f+45|0]<<8|(w[f+46|0]<<16|w[f+47|0]<<24);h=w[f+40|0]|w[f+41|0]<<8|(w[f+42|0]<<16|w[f+43|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+52|0]|w[f+53|0]<<8|(w[f+54|0]<<16|w[f+55|0]<<24);h=w[f+48|0]|w[f+49|0]<<8|(w[f+50|0]<<16|w[f+51|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+60|0]|w[f+61|0]<<8|(w[f+62|0]<<16|w[f+63|0]<<24);f=w[f+56|0]|w[f+57|0]<<8|(w[f+58|0]<<16|w[f+59|0]<<24);t[g+56|0]=f;t[g+57|0]=f>>>8;t[g+58|0]=f>>>16;t[g+59|0]=f>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;f=I;h=w[f+4|0]|w[f+5|0]<<8|(w[f+6|0]<<16|w[f+7|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+12|0]|w[f+13|0]<<8|(w[f+14|0]<<16|w[f+15|0]<<24);h=w[f+8|0]|w[f+9|0]<<8|(w[f+10|0]<<16|w[f+11|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+20|0]|w[f+21|0]<<8|(w[f+22|0]<<16|w[f+23|0]<<24);h=w[f+16|0]|w[f+17|0]<<8|(w[f+18|0]<<16|w[f+19|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+28|0]|w[f+29|0]<<8|(w[f+30|0]<<16|w[f+31|0]<<24);h=w[f+24|0]|w[f+25|0]<<8|(w[f+26|0]<<16|w[f+27|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+36|0]|w[f+37|0]<<8|(w[f+38|0]<<16|w[f+39|0]<<24);h=w[f+32|0]|w[f+33|0]<<8|(w[f+34|0]<<16|w[f+35|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+44|0]|w[f+45|0]<<8|(w[f+46|0]<<16|w[f+47|0]<<24);h=w[f+40|0]|w[f+41|0]<<8|(w[f+42|0]<<16|w[f+43|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+52|0]|w[f+53|0]<<8|(w[f+54|0]<<16|w[f+55|0]<<24);h=w[f+48|0]|w[f+49|0]<<8|(w[f+50|0]<<16|w[f+51|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+60|0]|w[f+61|0]<<8|(w[f+62|0]<<16|w[f+63|0]<<24);f=w[f+56|0]|w[f+57|0]<<8|(w[f+58|0]<<16|w[f+59|0]<<24);t[g+56|0]=f;t[g+57|0]=f>>>8;t[g+58|0]=f>>>16;t[g+59|0]=f>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;f=H;h=w[f+4|0]|w[f+5|0]<<8|(w[f+6|0]<<16|w[f+7|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+12|0]|w[f+13|0]<<8|(w[f+14|0]<<16|w[f+15|0]<<24);h=w[f+8|0]|w[f+9|0]<<8|(w[f+10|0]<<16|w[f+11|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+20|0]|w[f+21|0]<<8|(w[f+22|0]<<16|w[f+23|0]<<24);h=w[f+16|0]|w[f+17|0]<<8|(w[f+18|0]<<16|w[f+19|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+28|0]|w[f+29|0]<<8|(w[f+30|0]<<16|w[f+31|0]<<24);h=w[f+24|0]|w[f+25|0]<<8|(w[f+26|0]<<16|w[f+27|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+36|0]|w[f+37|0]<<8|(w[f+38|0]<<16|w[f+39|0]<<24);h=w[f+32|0]|w[f+33|0]<<8|(w[f+34|0]<<16|w[f+35|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+44|0]|w[f+45|0]<<8|(w[f+46|0]<<16|w[f+47|0]<<24);h=w[f+40|0]|w[f+41|0]<<8|(w[f+42|0]<<16|w[f+43|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+52|0]|w[f+53|0]<<8|(w[f+54|0]<<16|w[f+55|0]<<24);h=w[f+48|0]|w[f+49|0]<<8|(w[f+50|0]<<16|w[f+51|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+60|0]|w[f+61|0]<<8|(w[f+62|0]<<16|w[f+63|0]<<24);f=w[f+56|0]|w[f+57|0]<<8|(w[f+58|0]<<16|w[f+59|0]<<24);t[g+56|0]=f;t[g+57|0]=f>>>8;t[g+58|0]=f>>>16;t[g+59|0]=f>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;f=G;h=w[f+4|0]|w[f+5|0]<<8|(w[f+6|0]<<16|w[f+7|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+12|0]|w[f+13|0]<<8|(w[f+14|0]<<16|w[f+15|0]<<24);h=w[f+8|0]|w[f+9|0]<<8|(w[f+10|0]<<16|w[f+11|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+20|0]|w[f+21|0]<<8|(w[f+22|0]<<16|w[f+23|0]<<24);h=w[f+16|0]|w[f+17|0]<<8|(w[f+18|0]<<16|w[f+19|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+28|0]|w[f+29|0]<<8|(w[f+30|0]<<16|w[f+31|0]<<24);h=w[f+24|0]|w[f+25|0]<<8|(w[f+26|0]<<16|w[f+27|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+36|0]|w[f+37|0]<<8|(w[f+38|0]<<16|w[f+39|0]<<24);h=w[f+32|0]|w[f+33|0]<<8|(w[f+34|0]<<16|w[f+35|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+44|0]|w[f+45|0]<<8|(w[f+46|0]<<16|w[f+47|0]<<24);h=w[f+40|0]|w[f+41|0]<<8|(w[f+42|0]<<16|w[f+43|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+52|0]|w[f+53|0]<<8|(w[f+54|0]<<16|w[f+55|0]<<24);h=w[f+48|0]|w[f+49|0]<<8|(w[f+50|0]<<16|w[f+51|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+60|0]|w[f+61|0]<<8|(w[f+62|0]<<16|w[f+63|0]<<24);f=w[f+56|0]|w[f+57|0]<<8|(w[f+58|0]<<16|w[f+59|0]<<24);t[g+56|0]=f;t[g+57|0]=f>>>8;t[g+58|0]=f>>>16;t[g+59|0]=f>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;f=F;h=w[f+4|0]|w[f+5|0]<<8|(w[f+6|0]<<16|w[f+7|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+12|0]|w[f+13|0]<<8|(w[f+14|0]<<16|w[f+15|0]<<24);h=w[f+8|0]|w[f+9|0]<<8|(w[f+10|0]<<16|w[f+11|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+20|0]|w[f+21|0]<<8|(w[f+22|0]<<16|w[f+23|0]<<24);h=w[f+16|0]|w[f+17|0]<<8|(w[f+18|0]<<16|w[f+19|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+28|0]|w[f+29|0]<<8|(w[f+30|0]<<16|w[f+31|0]<<24);h=w[f+24|0]|w[f+25|0]<<8|(w[f+26|0]<<16|w[f+27|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+36|0]|w[f+37|0]<<8|(w[f+38|0]<<16|w[f+39|0]<<24);h=w[f+32|0]|w[f+33|0]<<8|(w[f+34|0]<<16|w[f+35|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+44|0]|w[f+45|0]<<8|(w[f+46|0]<<16|w[f+47|0]<<24);h=w[f+40|0]|w[f+41|0]<<8|(w[f+42|0]<<16|w[f+43|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+52|0]|w[f+53|0]<<8|(w[f+54|0]<<16|w[f+55|0]<<24);h=w[f+48|0]|w[f+49|0]<<8|(w[f+50|0]<<16|w[f+51|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+60|0]|w[f+61|0]<<8|(w[f+62|0]<<16|w[f+63|0]<<24);f=w[f+56|0]|w[f+57|0]<<8|(w[f+58|0]<<16|w[f+59|0]<<24);t[g+56|0]=f;t[g+57|0]=f>>>8;t[g+58|0]=f>>>16;t[g+59|0]=f>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;f=p;h=w[f+4|0]|w[f+5|0]<<8|(w[f+6|0]<<16|w[f+7|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+12|0]|w[f+13|0]<<8|(w[f+14|0]<<16|w[f+15|0]<<24);h=w[f+8|0]|w[f+9|0]<<8|(w[f+10|0]<<16|w[f+11|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+20|0]|w[f+21|0]<<8|(w[f+22|0]<<16|w[f+23|0]<<24);h=w[f+16|0]|w[f+17|0]<<8|(w[f+18|0]<<16|w[f+19|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+28|0]|w[f+29|0]<<8|(w[f+30|0]<<16|w[f+31|0]<<24);h=w[f+24|0]|w[f+25|0]<<8|(w[f+26|0]<<16|w[f+27|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+36|0]|w[f+37|0]<<8|(w[f+38|0]<<16|w[f+39|0]<<24);h=w[f+32|0]|w[f+33|0]<<8|(w[f+34|0]<<16|w[f+35|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+44|0]|w[f+45|0]<<8|(w[f+46|0]<<16|w[f+47|0]<<24);h=w[f+40|0]|w[f+41|0]<<8|(w[f+42|0]<<16|w[f+43|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+52|0]|w[f+53|0]<<8|(w[f+54|0]<<16|w[f+55|0]<<24);h=w[f+48|0]|w[f+49|0]<<8|(w[f+50|0]<<16|w[f+51|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+60|0]|w[f+61|0]<<8|(w[f+62|0]<<16|w[f+63|0]<<24);f=w[f+56|0]|w[f+57|0]<<8|(w[f+58|0]<<16|w[f+59|0]<<24);t[g+56|0]=f;t[g+57|0]=f>>>8;t[g+58|0]=f>>>16;t[g+59|0]=f>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;f=C;h=w[f+4|0]|w[f+5|0]<<8|(w[f+6|0]<<16|w[f+7|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+12|0]|w[f+13|0]<<8|(w[f+14|0]<<16|w[f+15|0]<<24);h=w[f+8|0]|w[f+9|0]<<8|(w[f+10|0]<<16|w[f+11|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+20|0]|w[f+21|0]<<8|(w[f+22|0]<<16|w[f+23|0]<<24);h=w[f+16|0]|w[f+17|0]<<8|(w[f+18|0]<<16|w[f+19|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+28|0]|w[f+29|0]<<8|(w[f+30|0]<<16|w[f+31|0]<<24);h=w[f+24|0]|w[f+25|0]<<8|(w[f+26|0]<<16|w[f+27|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+36|0]|w[f+37|0]<<8|(w[f+38|0]<<16|w[f+39|0]<<24);h=w[f+32|0]|w[f+33|0]<<8|(w[f+34|0]<<16|w[f+35|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+44|0]|w[f+45|0]<<8|(w[f+46|0]<<16|w[f+47|0]<<24);h=w[f+40|0]|w[f+41|0]<<8|(w[f+42|0]<<16|w[f+43|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+52|0]|w[f+53|0]<<8|(w[f+54|0]<<16|w[f+55|0]<<24);h=w[f+48|0]|w[f+49|0]<<8|(w[f+50|0]<<16|w[f+51|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+60|0]|w[f+61|0]<<8|(w[f+62|0]<<16|w[f+63|0]<<24);f=w[f+56|0]|w[f+57|0]<<8|(w[f+58|0]<<16|w[f+59|0]<<24);t[g+56|0]=f;t[g+57|0]=f>>>8;t[g+58|0]=f>>>16;t[g+59|0]=f>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;f=z;h=w[f+4|0]|w[f+5|0]<<8|(w[f+6|0]<<16|w[f+7|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+12|0]|w[f+13|0]<<8|(w[f+14|0]<<16|w[f+15|0]<<24);h=w[f+8|0]|w[f+9|0]<<8|(w[f+10|0]<<16|w[f+11|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+20|0]|w[f+21|0]<<8|(w[f+22|0]<<16|w[f+23|0]<<24);h=w[f+16|0]|w[f+17|0]<<8|(w[f+18|0]<<16|w[f+19|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+28|0]|w[f+29|0]<<8|(w[f+30|0]<<16|w[f+31|0]<<24);h=w[f+24|0]|w[f+25|0]<<8|(w[f+26|0]<<16|w[f+27|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+36|0]|w[f+37|0]<<8|(w[f+38|0]<<16|w[f+39|0]<<24);h=w[f+32|0]|w[f+33|0]<<8|(w[f+34|0]<<16|w[f+35|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+44|0]|w[f+45|0]<<8|(w[f+46|0]<<16|w[f+47|0]<<24);h=w[f+40|0]|w[f+41|0]<<8|(w[f+42|0]<<16|w[f+43|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+52|0]|w[f+53|0]<<8|(w[f+54|0]<<16|w[f+55|0]<<24);h=w[f+48|0]|w[f+49|0]<<8|(w[f+50|0]<<16|w[f+51|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+60|0]|w[f+61|0]<<8|(w[f+62|0]<<16|w[f+63|0]<<24);f=w[f+56|0]|w[f+57|0]<<8|(w[f+58|0]<<16|w[f+59|0]<<24);t[g+56|0]=f;t[g+57|0]=f>>>8;t[g+58|0]=f>>>16;t[g+59|0]=f>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;f=l;h=w[f+4|0]|w[f+5|0]<<8|(w[f+6|0]<<16|w[f+7|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+12|0]|w[f+13|0]<<8|(w[f+14|0]<<16|w[f+15|0]<<24);h=w[f+8|0]|w[f+9|0]<<8|(w[f+10|0]<<16|w[f+11|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+20|0]|w[f+21|0]<<8|(w[f+22|0]<<16|w[f+23|0]<<24);h=w[f+16|0]|w[f+17|0]<<8|(w[f+18|0]<<16|w[f+19|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+28|0]|w[f+29|0]<<8|(w[f+30|0]<<16|w[f+31|0]<<24);h=w[f+24|0]|w[f+25|0]<<8|(w[f+26|0]<<16|w[f+27|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+36|0]|w[f+37|0]<<8|(w[f+38|0]<<16|w[f+39|0]<<24);h=w[f+32|0]|w[f+33|0]<<8|(w[f+34|0]<<16|w[f+35|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+44|0]|w[f+45|0]<<8|(w[f+46|0]<<16|w[f+47|0]<<24);h=w[f+40|0]|w[f+41|0]<<8|(w[f+42|0]<<16|w[f+43|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+52|0]|w[f+53|0]<<8|(w[f+54|0]<<16|w[f+55|0]<<24);h=w[f+48|0]|w[f+49|0]<<8|(w[f+50|0]<<16|w[f+51|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+60|0]|w[f+61|0]<<8|(w[f+62|0]<<16|w[f+63|0]<<24);f=w[f+56|0]|w[f+57|0]<<8|(w[f+58|0]<<16|w[f+59|0]<<24);t[g+56|0]=f;t[g+57|0]=f>>>8;t[g+58|0]=f>>>16;t[g+59|0]=f>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;f=s;h=w[f+4|0]|w[f+5|0]<<8|(w[f+6|0]<<16|w[f+7|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+12|0]|w[f+13|0]<<8|(w[f+14|0]<<16|w[f+15|0]<<24);h=w[f+8|0]|w[f+9|0]<<8|(w[f+10|0]<<16|w[f+11|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+20|0]|w[f+21|0]<<8|(w[f+22|0]<<16|w[f+23|0]<<24);h=w[f+16|0]|w[f+17|0]<<8|(w[f+18|0]<<16|w[f+19|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+28|0]|w[f+29|0]<<8|(w[f+30|0]<<16|w[f+31|0]<<24);h=w[f+24|0]|w[f+25|0]<<8|(w[f+26|0]<<16|w[f+27|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+36|0]|w[f+37|0]<<8|(w[f+38|0]<<16|w[f+39|0]<<24);h=w[f+32|0]|w[f+33|0]<<8|(w[f+34|0]<<16|w[f+35|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+44|0]|w[f+45|0]<<8|(w[f+46|0]<<16|w[f+47|0]<<24);h=w[f+40|0]|w[f+41|0]<<8|(w[f+42|0]<<16|w[f+43|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+52|0]|w[f+53|0]<<8|(w[f+54|0]<<16|w[f+55|0]<<24);h=w[f+48|0]|w[f+49|0]<<8|(w[f+50|0]<<16|w[f+51|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+60|0]|w[f+61|0]<<8|(w[f+62|0]<<16|w[f+63|0]<<24);f=w[f+56|0]|w[f+57|0]<<8|(w[f+58|0]<<16|w[f+59|0]<<24);t[g+56|0]=f;t[g+57|0]=f>>>8;t[g+58|0]=f>>>16;t[g+59|0]=f>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;f=y;h=w[f+4|0]|w[f+5|0]<<8|(w[f+6|0]<<16|w[f+7|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+12|0]|w[f+13|0]<<8|(w[f+14|0]<<16|w[f+15|0]<<24);h=w[f+8|0]|w[f+9|0]<<8|(w[f+10|0]<<16|w[f+11|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+20|0]|w[f+21|0]<<8|(w[f+22|0]<<16|w[f+23|0]<<24);h=w[f+16|0]|w[f+17|0]<<8|(w[f+18|0]<<16|w[f+19|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+28|0]|w[f+29|0]<<8|(w[f+30|0]<<16|w[f+31|0]<<24);h=w[f+24|0]|w[f+25|0]<<8|(w[f+26|0]<<16|w[f+27|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+36|0]|w[f+37|0]<<8|(w[f+38|0]<<16|w[f+39|0]<<24);h=w[f+32|0]|w[f+33|0]<<8|(w[f+34|0]<<16|w[f+35|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+44|0]|w[f+45|0]<<8|(w[f+46|0]<<16|w[f+47|0]<<24);h=w[f+40|0]|w[f+41|0]<<8|(w[f+42|0]<<16|w[f+43|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+52|0]|w[f+53|0]<<8|(w[f+54|0]<<16|w[f+55|0]<<24);h=w[f+48|0]|w[f+49|0]<<8|(w[f+50|0]<<16|w[f+51|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+60|0]|w[f+61|0]<<8|(w[f+62|0]<<16|w[f+63|0]<<24);f=w[f+56|0]|w[f+57|0]<<8|(w[f+58|0]<<16|w[f+59|0]<<24);t[g+56|0]=f;t[g+57|0]=f>>>8;t[g+58|0]=f>>>16;t[g+59|0]=f>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;f=r;h=w[f+4|0]|w[f+5|0]<<8|(w[f+6|0]<<16|w[f+7|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+12|0]|w[f+13|0]<<8|(w[f+14|0]<<16|w[f+15|0]<<24);h=w[f+8|0]|w[f+9|0]<<8|(w[f+10|0]<<16|w[f+11|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+20|0]|w[f+21|0]<<8|(w[f+22|0]<<16|w[f+23|0]<<24);h=w[f+16|0]|w[f+17|0]<<8|(w[f+18|0]<<16|w[f+19|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+28|0]|w[f+29|0]<<8|(w[f+30|0]<<16|w[f+31|0]<<24);h=w[f+24|0]|w[f+25|0]<<8|(w[f+26|0]<<16|w[f+27|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+36|0]|w[f+37|0]<<8|(w[f+38|0]<<16|w[f+39|0]<<24);h=w[f+32|0]|w[f+33|0]<<8|(w[f+34|0]<<16|w[f+35|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+44|0]|w[f+45|0]<<8|(w[f+46|0]<<16|w[f+47|0]<<24);h=w[f+40|0]|w[f+41|0]<<8|(w[f+42|0]<<16|w[f+43|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+52|0]|w[f+53|0]<<8|(w[f+54|0]<<16|w[f+55|0]<<24);h=w[f+48|0]|w[f+49|0]<<8|(w[f+50|0]<<16|w[f+51|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+60|0]|w[f+61|0]<<8|(w[f+62|0]<<16|w[f+63|0]<<24);f=w[f+56|0]|w[f+57|0]<<8|(w[f+58|0]<<16|w[f+59|0]<<24);t[g+56|0]=f;t[g+57|0]=f>>>8;t[g+58|0]=f>>>16;t[g+59|0]=f>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;f=m;h=w[f+4|0]|w[f+5|0]<<8|(w[f+6|0]<<16|w[f+7|0]<<24);g=g+(v[a+12>>2]<<1)|0;j=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;t[g+4|0]=h;t[g+5|0]=h>>>8;t[g+6|0]=h>>>16;t[g+7|0]=h>>>24;i=w[f+12|0]|w[f+13|0]<<8|(w[f+14|0]<<16|w[f+15|0]<<24);h=w[f+8|0]|w[f+9|0]<<8|(w[f+10|0]<<16|w[f+11|0]<<24);t[g+8|0]=h;t[g+9|0]=h>>>8;t[g+10|0]=h>>>16;t[g+11|0]=h>>>24;t[g+12|0]=i;t[g+13|0]=i>>>8;t[g+14|0]=i>>>16;t[g+15|0]=i>>>24;i=w[f+20|0]|w[f+21|0]<<8|(w[f+22|0]<<16|w[f+23|0]<<24);h=w[f+16|0]|w[f+17|0]<<8|(w[f+18|0]<<16|w[f+19|0]<<24);t[g+16|0]=h;t[g+17|0]=h>>>8;t[g+18|0]=h>>>16;t[g+19|0]=h>>>24;t[g+20|0]=i;t[g+21|0]=i>>>8;t[g+22|0]=i>>>16;t[g+23|0]=i>>>24;i=w[f+28|0]|w[f+29|0]<<8|(w[f+30|0]<<16|w[f+31|0]<<24);h=w[f+24|0]|w[f+25|0]<<8|(w[f+26|0]<<16|w[f+27|0]<<24);t[g+24|0]=h;t[g+25|0]=h>>>8;t[g+26|0]=h>>>16;t[g+27|0]=h>>>24;t[g+28|0]=i;t[g+29|0]=i>>>8;t[g+30|0]=i>>>16;t[g+31|0]=i>>>24;i=w[f+36|0]|w[f+37|0]<<8|(w[f+38|0]<<16|w[f+39|0]<<24);h=w[f+32|0]|w[f+33|0]<<8|(w[f+34|0]<<16|w[f+35|0]<<24);t[g+32|0]=h;t[g+33|0]=h>>>8;t[g+34|0]=h>>>16;t[g+35|0]=h>>>24;t[g+36|0]=i;t[g+37|0]=i>>>8;t[g+38|0]=i>>>16;t[g+39|0]=i>>>24;i=w[f+44|0]|w[f+45|0]<<8|(w[f+46|0]<<16|w[f+47|0]<<24);h=w[f+40|0]|w[f+41|0]<<8|(w[f+42|0]<<16|w[f+43|0]<<24);t[g+40|0]=h;t[g+41|0]=h>>>8;t[g+42|0]=h>>>16;t[g+43|0]=h>>>24;t[g+44|0]=i;t[g+45|0]=i>>>8;t[g+46|0]=i>>>16;t[g+47|0]=i>>>24;i=w[f+52|0]|w[f+53|0]<<8|(w[f+54|0]<<16|w[f+55|0]<<24);h=w[f+48|0]|w[f+49|0]<<8|(w[f+50|0]<<16|w[f+51|0]<<24);t[g+48|0]=h;t[g+49|0]=h>>>8;t[g+50|0]=h>>>16;t[g+51|0]=h>>>24;t[g+52|0]=i;t[g+53|0]=i>>>8;t[g+54|0]=i>>>16;t[g+55|0]=i>>>24;i=w[f+60|0]|w[f+61|0]<<8|(w[f+62|0]<<16|w[f+63|0]<<24);f=w[f+56|0]|w[f+57|0]<<8|(w[f+58|0]<<16|w[f+59|0]<<24);t[g+56|0]=f;t[g+57|0]=f>>>8;t[g+58|0]=f>>>16;t[g+59|0]=f>>>24;t[g+60|0]=i;t[g+61|0]=i>>>8;t[g+62|0]=i>>>16;t[g+63|0]=i>>>24;q=q+16|0;g=v[a+12>>2];A=A+32|0;if((g|0)>(A|0)){continue}break}f=v[a+16>>2]}n=(g<<6)+n|0;E=E+32|0;if((E|0)<(f|0)){continue}break}}f=v[a+12>>2];n=v[a+8>>2];m=v[a+4>>2];c:{d:{if(e){v[299999]=0;At(o,m,n,f,32,2);e=v[299999];v[299999]=0;if((e|0)==1){break c}z=v[a+16>>2];if((z|0)<1){break d}n=v[a+12>>2];if((n|0)<1){break d}y=n+1|0;e=n-1|0;o=(e>>>1|0)+1|0;f=o&-4;o=o&3;s=0;g=v[k+2060>>2];C=e>>>0<6;while(1){e=f;if(!C){while(1){l=x[g>>1];u[g+2>>1]=l;m=y<<1;u[m+g>>1]=l;r=n<<1;u[r+g>>1]=l;l=x[g+4>>1];u[g+6>>1]=l;p=g+4|0;u[p+m>>1]=l;u[r+p>>1]=l;l=x[g+8>>1];u[g+10>>1]=l;p=g+8|0;u[p+m>>1]=l;u[r+p>>1]=l;l=x[g+12>>1];u[g+14>>1]=l;i=m;m=g+12|0;u[i+m>>1]=l;u[m+r>>1]=l;g=g+16|0;e=e-4|0;if(e){continue}break}}e=o;if(e){while(1){m=x[g>>1];u[g+2>>1]=m;u[(y<<1)+g>>1]=m;u[(n<<1)+g>>1]=m;g=g+4|0;e=e-1|0;if(e){continue}break}}g=(n<<1)+g|0;s=s+2|0;if((z|0)>(s|0)){continue}break}break d}v[299999]=0;At(o,m,n,f,32,1);e=v[299999];v[299999]=0;if((e|0)==1){break c}}j=v[a+8>>2];e:{if((j|0)<1){break e}e=v[a+4>>2];if((e|0)<1){break e}h=v[k+2060>>2];q=0;while(1){g=0;f=b;if((e|0)>0){while(1){e=u[(g<<1)+h>>1];o=e+32>>6;t[f|0]=(e|0)<-8224?-128:(o|0)<127?o:127;f=d+f|0;e=v[a+4>>2];g=g+1|0;if((e|0)>(g|0)){continue}break}j=v[a+8>>2]}b=b+c|0;h=(v[a+12>>2]<<1)+h|0;q=q+1|0;if((q|0)<(j|0)){continue}break}}Lc(D);Qb=k+2064|0;return}a=P()|0;O()|0;Lc(D);T(a|0);L()}function H2(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,p=0,q=0,r=0,s=0,z=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0;R=Qb-5216|0;Qb=R;x2();v[R+1216>>2]=0;v[R+192>>2]=0;a:{b:{c:{f=jc(360);if(f){v[f+32>>2]=0;v[f+24>>2]=-1;v[f+28>>2]=0;v[f+16>>2]=0;v[f+20>>2]=-1;v[f+8>>2]=-1;v[f+12>>2]=0;v[f>>2]=0;v[f+4>>2]=-1;v[f+52>>2]=0;j=v[a+16>>2];v[f+48>>2]=j;h=1;q=1;d:{e:{f:{if((j|0)>=1){H=v[a+8>>2];g=v[a+24>>2];while(1){e=v[g+(p<<2)>>2];d=v[e+8>>2];g:{if((H|0)<((d+v[e>>2]|0)+B(d,v[e+16>>2])|0)){l=v[e+12>>2];if(v[a+12>>2]<((l+v[e+4>>2]|0)+B(l,v[e+20>>2])|0)){break g}}Sc(58962,0);break f}q=B(l,q);h=B(d,h);p=p+1|0;if((j|0)!=(p|0)){continue}break}}e=jc(B(j,412));v[f+52>>2]=e;if(!e){break f}if(v[f+48>>2]>=1){while(1){j=v[v[a+24>>2]+(I<<2)>>2];t[e|0]=v[j+8>>2];d=v[j+12>>2];t[e+2|0]=0;t[e+1|0]=d;t[e+4|0]=v[j+24>>2];t[e+5|0]=v[j+28>>2]!=0;ic(e+8|0,0,404);e=e+412|0;I=I+1|0;if((I|0)>2]){continue}break}}e=v[a+16>>2];if((e|0)<1){e=0}else{l=e&1;j=v[a+24>>2];h:{if((e|0)==1){e=0;H=0;break h}p=e&-2;e=0;H=0;while(1){g=H<<2;d=v[j+(g|4)>>2];n=e;e=v[g+j>>2];e=((B(B(v[d+20>>2],v[d+16>>2]),v[d+24>>2])+7|0)/8|0)+(n+((B(B(v[e+20>>2],v[e+16>>2]),v[e+24>>2])+7|0)/8|0)|0)|0;H=H+2|0;p=p-2|0;if(p){continue}break}}if(l){d=e;e=v[j+(H<<2)>>2];e=d+((B(B(v[e+20>>2],v[e+16>>2]),v[e+24>>2])+7|0)/8|0)|0}}v[f+352>>2]=-1;v[f+356>>2]=e;t[f+348|0]=2;l=0;t[f+80|0]=0;v[f+72>>2]=6;v[f+76>>2]=6;u[f+68>>1]=1536;v[f+60>>2]=1;v[f+64>>2]=0;t[f+58|0]=0;u[f+56>>1]=1;d=$s(c?c:59348);if(!d){break f}I=15;e=1;i:{if(Am(d)){p=15;break i}p=15;while(1){c=e;e=0;j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{j=cp(1033200,v[d+4>>2]);switch(v[(j?j:1031904)>>2]){case 13:break j;case 26:break m;case 25:break n;case 24:break o;case 23:break p;case 22:break q;case 21:break r;case 20:break s;case 19:break t;case 18:break u;case 17:break v;case 16:break w;case 15:break x;case 14:break y;case 12:break z;case 11:break A;case 10:break B;case 9:break C;case 8:break D;case 7:break E;case 6:break F;case 5:break G;case 4:break H;case 3:break I;case 2:break J;case 1:break K;case 0:break L;default:break l}}oa=f,pa=he(v[d+8>>2]),v[oa>>2]=pa;break k}oa=f,pa=he(v[d+8>>2]),v[oa+4>>2]=pa;break k}oa=f,pa=he(v[d+8>>2]),v[oa+8>>2]=pa;break k}oa=f,pa=he(v[d+8>>2]),v[oa+20>>2]=pa;break k}oa=f,pa=he(v[d+8>>2]),v[oa+24>>2]=pa;break k}oa=f,pa=he(v[d+8>>2]),v[oa+28>>2]=pa;break k}oa=f,pa=he(v[d+8>>2]),v[oa+32>>2]=pa;break k}p=Wo(he(v[d+8>>2]));break k}I=Wo(he(v[d+8>>2]));break k}oa=f,pa=Wo(he(v[d+8>>2])),v[oa+72>>2]=pa;break k}oa=f,pa=Wo(he(v[d+8>>2])),v[oa+76>>2]=pa;break k}e=cp(1033472,v[d+8>>2]);e=v[(e?e:1031904)>>2];if((e|0)<=-1){v[R+144>>2]=v[d+8>>2];Sc(59506,R+144|0);break k}t[f+56|0]=!e;break k}e=cp(1033424,v[d+8>>2]);e=v[(e?e:1031904)>>2];if((e|0)<=-1){v[R+160>>2]=v[d+8>>2];Sc(59744,R+160|0);break k}t[f+58|0]=e;break k}oa=f,pa=he(v[d+8>>2]),t[oa+69|0]=pa;break k}t[f+57|0]=w[f+57|0]|2;break k}t[f+57|0]=w[f+57|0]|4;break k}t[f+80|0]=w[f+80|0]|1;break k}t[f+80|0]=w[f+80|0]|4;break k}t[f+80|0]=w[f+80|0]|32;break k}t[f+80|0]=w[f+80|0]|8;break k}t[f+80|0]=w[f+80|0]|2;break k}t[f+80|0]=w[f+80|0]|16;break k}oa=f,pa=he(v[d+8>>2]),t[oa+348|0]=pa;break k}e=v[f+356>>2];j=v[d+8>>2];if(af(j,66)){oa=f,pa=he(j),v[oa+352>>2]=pa;break k}K=xf(j);if(!(K<0)){if(K>1){v[f+352>>2]=e+1;break k}K=K*+(e>>>0);if(K<4294967296&K>=0){v[f+352>>2]=~~K>>>0;break k}}v[f+352>>2]=0;break k}E=R+1216|0;H=0;n=0;o=Qb-4096|0;Qb=o;J=v[d+8>>2];g=Xc(o,J,4096);t[o+4095|0]=0;M:{N:{if(!Xf(g,1033776)){break N}e=1;while(1){j=e;e=e+1|0;if(Xf(0,1033776)){continue}break}H=jc(j<<3);if(!H){n=-1;break M}e=0;j=Xc(g,J,4096);t[o+4095|0]=0;j=Xf(j,1033776);if(!j){break N}oa=H,qa=xf(j),A[oa>>3]=qa;e=1;g=Xf(0,1033776);if(!g){break N}while(1){oa=(e<<3)+H|0,qa=xf(g),A[oa>>3]=qa;e=e+1|0;g=Xf(0,1033776);if(g){continue}break}}v[E>>2]=e;v[R+192>>2]=H}Qb=o+4096|0;if(!n){break k}v[R+176>>2]=v[d+8>>2];Sc(60313,R+176|0);break k}l=he(v[d+8>>2]);break k}v[R+128>>2]=v[d+4>>2];Sc(60594,R+128|0)}e=c}if(!Am(d)){continue}break}}Jq(d);c=v[f+352>>2];if((c|0)!=-1){j=c-l|0;v[f+352>>2]=c>>>0>>0?0:j}j=0;H=0;c=v[f+4>>2];if((c|0)!=-1){if((h|0)!=1){Sc(60852,0);c=v[f+4>>2]}H=B(c,h)}v[f+4>>2]=H;c=v[f+8>>2];if((c|0)!=-1){if((q|0)!=1){Sc(61059,0);H=v[f+4>>2];c=v[f+8>>2]}j=B(c,q)}v[f+8>>2]=j;c=(v[a+8>>2]-v[a>>2]|0)+H|0;v[f+12>>2]=c;d=(v[a+12>>2]-v[a+4>>2]|0)+j|0;v[f+16>>2]=d;h=v[f+20>>2];if((h|0)==-1){v[f+20>>2]=H;h=H}H=v[f+24>>2];if((H|0)==-1){v[f+24>>2]=j;H=j}if(!v[f+28>>2]){v[f+28>>2]=c-h}if(!v[f+32>>2]){v[f+32>>2]=d-H}O:{P:{if(v[f+48>>2]!=3){break P}j=1;Q:{d=v[a+16>>2];if((d|0)<1){break Q}H=0;l=v[a+24>>2];c=v[l>>2];g=v[c+24>>2];h=g;q=c;while(1){R:{if(!((g|0)!=(h|0)|v[q+28>>2]!=v[c+28>>2]|v[q+16>>2]!=v[c+16>>2])){if(v[q+20>>2]==v[c+20>>2]){break R}}j=0}H=H+1|0;if((d|0)==(H|0)){break Q}q=v[l+(H<<2)>>2];h=v[q+24>>2];continue}}if(!(j&1)|(e^1)&1){break P}c=v[a+28>>2];if((c&-256)!=1024){Sc(61208,0);c=v[a+28>>2]}if((c&-256)!=1024){break P}e=w[f+56|0];t[f+59|0]=e?2:1;break O}t[f+59|0]=0;e=w[f+56|0]}t[f+81|0]=e;d=w[f+69|0];S:{if(!d){break S}c=f+216|0;h=f+84|0;j=d&3;e=0;if(d-1>>>0>=3){l=d&252;while(1){d=e<<2;v[d+h>>2]=p;v[c+d>>2]=I;q=d|4;v[q+h>>2]=p;v[c+q>>2]=I;q=d|8;v[q+h>>2]=p;v[c+q>>2]=I;d=d|12;v[d+h>>2]=p;v[c+d>>2]=I;e=e+4|0;l=l-4|0;if(l){continue}break}}if(!j){break S}while(1){d=e<<2;v[d+h>>2]=p;v[c+d>>2]=I;e=e+1|0;j=j-1|0;if(j){continue}break}}if(!((p|0)==15&(I|0)==15)){t[f+68|0]=w[f+68|0]|1}e=v[f+28>>2];if(!e){v[R+32>>2]=0;Sc(61404,R+32|0);break f}h=v[f+32>>2];if(!h){v[R+48>>2]=0;Sc(61561,R+48|0);break f}c=v[f+24>>2];T:{j=v[f+20>>2];d=v[f+4>>2];U:{if(j>>>0>d>>>0){break U}q=v[f+8>>2];if(q>>>0>>0|d>>>0>e+j>>>0){break U}if(q>>>0<=c+h>>>0){break T}}v[R+68>>2]=c;v[R+64>>2]=j;Sc(61717,R- -64|0);break f}c=(v[f+16>>2]+(h+(c^-1)|0)>>>0)/(h>>>0)|0;v[f+40>>2]=c;e=(v[f+12>>2]+(e+(j^-1)|0)>>>0)/(e>>>0)|0;v[f+36>>2]=e;v[f+44>>2]=B(c,e);V:{if(!v[R+192>>2]){break V}c=v[R+1216>>2];if((c|0)<1){break V}v[f+60>>2]=c+1;c=jc(c<<2);v[f+64>>2]=c;if(!c){break f}if((v[f+60>>2]-1|0)<1){break V}e=0;j=v[R+192>>2];while(1){h=c+(e<<2)|0;K=A[j+(e<<3)>>3]*8192;W:{if(D(K)<2147483648){d=~~K;break W}d=-2147483648}v[h>>2]=d;e=e+1|0;if((e|0)<(v[f+60>>2]-1|0)){continue}break}}c=v[f+352>>2];if(!(w[f+56|0]|(c|0)!=-1)){Sc(61879,0);break f}if(p>>>0>=16){Sc(62091,0);break f}if(I>>>0>=16){Sc(62299,0);break f}e=v[f+72>>2];if(e-2>>>0>=11){v[R+80>>2]=1<>2];if(h-2>>>0>=11){v[R+96>>2]=1<>>0>=13){Sc(62864,0);break f}H=v[f+60>>2];if(H>>>0>=16385){Sc(63010,0);break f}if(!w[f+69|0]){Sc(63139,0);break f}if(w[f+348|0]>=9){Sc(63396,0);break f}X:{if((c|0)==-1){break X}e=v[f+356>>2];if(e>>>0>=c>>>0){break X}v[R+116>>2]=e;v[R+112>>2]=c;Sc(63547,R+112|0);H=v[f+60>>2]}Y:{if(H>>>0<2){break Y}c=H-2|0;e=0;Z:{while(1){if((c|0)==(e|0)){break Z}h=v[f+64>>2];d=v[h+(e<<2)>>2];e=e+1|0;if((d|0)>2]){continue}break}Sc(63795,0);break f}c=v[f+352>>2];if((c|0)==-1){break Y}h=H-1|0;if(!h){break Y}K=+(c>>>0)/+y[f+356>>2];c=v[f+64>>2];e=0;while(1){if(!(K<+v[c+(e<<2)>>2]*.0001220703125)){e=e+1|0;if((h|0)!=(e|0)){continue}break Y}break}Sc(64028,0);break f}c=v[R+192>>2];if(!c){e=f;break d}e=f;f=c;break e}c=v[R+192>>2];if(c){dc(c)}e=0;c=v[f+52>>2];if(!c){break e}h=v[f+64>>2];if(h){dc(h);c=v[f+52>>2]}dc(c)}dc(f)}if(e){break c}}Sc(51222,0);e=-1;break b}_:{C=jc(36);if(C){v[C+8>>2]=e;v[C+4>>2]=b;v[C>>2]=a;v[C+28>>2]=0;v[C+32>>2]=0;v[C+12>>2]=0;v[C+16>>2]=0;a=N2();v[C+16>>2]=a;if(a){break _}UJ(C)}a=v[e+52>>2];if(a){b=v[e- -64>>2];if(b){dc(b);a=v[e+52>>2]}dc(a)}dc(e);e=-1;break b}v[C+20>>2]=0;v[C+24>>2]=0;b=v[C+8>>2];q=v[v[C+4>>2]+60>>2];a=Yj(65359);v[C+28>>2]=a;$:{if(!a){break $}p=64237;aa:{if(Xj(v[C+4>>2],v[C+16>>2],a)){break aa}ai(v[C+28>>2]);v[C+28>>2]=0;a=Yj(65361);v[C+28>>2]=a;if(!a){break $}v[a+12>>2]=0;v[a+24>>2]=v[b+4>>2];v[a+28>>2]=v[b+8>>2];v[a+16>>2]=v[b+12>>2];v[a+20>>2]=v[b+16>>2];v[a+40>>2]=v[b+20>>2];v[a+44>>2]=v[b+24>>2];v[a+32>>2]=v[b+28>>2];v[a+36>>2]=v[b+32>>2];c=v[b+48>>2];v[a+48>>2]=c;e=jc(c<<2);v[a+52>>2]=e;ba:{ca:{da:{if(e){h=v[b+48>>2];if((h|0)>=1){j=v[b+52>>2];f=0;while(1){a=e+(f<<2)|0;c=j+B(f,412)|0;t[a|0]=w[c+4|0];t[a+1|0]=w[c+5|0];t[a+2|0]=w[c|0];t[a+3|0]=w[c+1|0];f=f+1|0;if((h|0)!=(f|0)){continue}break}}p=64615;if(Xj(v[C+4>>2],v[C+16>>2],v[C+28>>2])){break aa}ai(v[C+28>>2]);v[C+28>>2]=0;a=Yj(65380);v[C+28>>2]=a;if(!a){break $}v[R+16>>2]=3423;a=R+192|0;zd(a,64700,R+16|0);e=Bc(a);c=v[C+28>>2];v[c+12>>2]=1;v[c+16>>2]=e;a=ep(a);v[c+20>>2]=a;ea:{fa:{if(!a){break fa}p=64872;if(Xj(v[C+4>>2],v[C+16>>2],v[C+28>>2])){break aa}ai(v[C+28>>2]);v[C+28>>2]=0;if(v[b+48>>2]){a=R+1256|0;c=0;while(1){e=SJ(w[b+81|0],w[b+69|0]-1|0);f=1<>>0>2){break ga}}f=w[b+69|0];e=B(f,3)-2|0;ia:{if(!e){j=v[b+52>>2];break ia}j=hB(w[b+81|0],0,v[R+1232>>2]);f=8192;if(!w[b+56|0]){f=8192<>31;h=f;f=v[R+1252>>2];f=Cib(h<<13,d<<13|h>>>19,f,f>>31);if((f|0)<0){break fa}}h=B(c,412);p=w[(h+v[b+52>>2]|0)+4|0];l=xl(f);d=xl(f);j=j+p|0;p=l-13|0;if((j|0)<(p|0)){break fa}p=j-p|0;if(p>>>0>31){break a}j=v[b+52>>2];v[(h+j|0)+12>>2]=((d|0)>11?f>>>d-11|0:f<<11-d)&2047|p<<11&63488;p=1;H=a;if((e|0)==1){break ia}while(1){j=hB(w[b+81|0],((p-1>>>0)/3|0)+1|0,v[H+16>>2]);f=8192;if(!w[b+56|0]){f=8192<>31;d=f;f=v[H+36>>2];f=Cib(d<<13,l<<13|d>>>19,f,f>>31);if((f|0)<=-1){break fa}}l=w[(h+v[b+52>>2]|0)+4|0];g=xl(f);d=xl(f);j=j+l|0;l=g-13|0;if((j|0)<(l|0)){break fa}l=j-l|0;if(l>>>0>=32){break a}j=v[b+52>>2];v[((h+j|0)+(p<<2)|0)+12>>2]=((d|0)>11?f>>>d-11|0:f<<11-d)&2047|l<<11&63488;H=H+40|0;p=p+1|0;if((e|0)!=(p|0)){continue}break}}v[(B(c,412)+j|0)+8>>2]=e;c=c+1|0;if(c>>>0>2]){continue}break}}a=Yj(65362);v[C+28>>2]=a;if(!a){break $}e=w[b+68|0];c=e|w[b+57|0];t[a+24|0]=c;t[a+12|0]=c;c=w[b+69|0];v[a+32>>2]=c;t[a+25|0]=c-1;t[a+13|0]=w[b+58|0];v[a+16>>2]=v[b+60>>2];t[a+26|0]=w[b+72|0]-2;t[a+27|0]=w[b+76|0]-2;t[a+28|0]=w[b+80|0];t[a+29|0]=w[b+81|0];t[a+20|0]=w[b+59|0]!=0;ja:{if(!(e&1)|!c){break ja}f=0;if((c|0)!=1){p=c&254;e=a+36|0;h=b+84|0;j=b+216|0;while(1){d=e+(f<<1)|0;l=f<<2;t[d|0]=v[l+h>>2];t[d+1|0]=v[j+l>>2];d=f|1;l=e+(d<<1)|0;d=d<<2;t[l|0]=v[d+h>>2];t[l+1|0]=v[d+j>>2];f=f+2|0;p=p-2|0;if(p){continue}break}}if(!(c&1)){break ja}c=a+(f<<1)|0;e=b+(f<<2)|0;t[c+36|0]=v[e+84>>2];t[c+37|0]=v[e+216>>2]}p=64984;if(Xj(v[C+4>>2],v[C+16>>2],a)){break aa}ai(v[C+28>>2]);v[C+28>>2]=0;a=Yj(65372);v[C+28>>2]=a;if(!a){break $}p=1;t[a+12|0]=!w[b+81|0]<<1;c=v[b+52>>2];v[a+16>>2]=v[c+8>>2];e=w[b+348|0];v[a+20>>2]=c+12;t[a+24|0]=e;if(Xj(v[C+4>>2],v[C+16>>2],a)){break $}v[a+20>>2]=0;ai(v[C+28>>2]);v[C+28>>2]=0;if(y[b+48>>2]>=2){while(1){a=Yj(65373);v[C+28>>2]=a;if(!a){break $}v[a+12>>2]=p;t[a+16|0]=!w[b+81|0]<<1;c=v[b+52>>2]+B(p,412)|0;v[a+20>>2]=v[c+8>>2];e=w[b+348|0];v[a+24>>2]=c+12;t[a+28|0]=e;if(Xj(v[C+4>>2],v[C+16>>2],a)){break $}v[a+24>>2]=0;ai(v[C+28>>2]);v[C+28>>2]=0;p=p+1|0;if(p>>>0>2]){continue}break}}b=v[v[C+4>>2]+60>>2]-q|0;v[C+20>>2]=b+v[C+20>>2];a=v[v[C+8>>2]+352>>2];b=(a-b|0)-2|0;v[C+24>>2]=(a|0)==-1?-1:a>>>0>>0?0:b;H=v[C+8>>2];if(v[H+44>>2]<=0){break ea}c=G2(H,v[C>>2],0);v[C+12>>2]=c;if(!c){break fa}while(1){if(v[282952]>=10){I=0;a=Qb-96|0;Qb=a;d=v[C+12>>2];if(v[d+44>>2]){f=v[d+48>>2];while(1){b=v[f+8>>2];e=v[b+4>>2];h=v[b+8>>2];j=v[b+16>>2];v[a+88>>2]=v[b+12>>2];v[a+92>>2]=j;v[a+80>>2]=e;v[a+84>>2]=h;Sc(57492,a+80|0);if(v[f>>2]){b=v[f+4>>2];l=0;while(1){e=v[b>>2];h=v[b+4>>2];j=v[b+12>>2];v[a+72>>2]=v[b+8>>2];v[a+76>>2]=j;v[a+64>>2]=e;v[a+68>>2]=h;Sc(57826,a- -64|0);if(v[b+52>>2]){j=v[b+56>>2];q=0;while(1){e=v[j+4>>2];ka:{if(!e){break ka}h=v[e+4>>2];p=v[e+8>>2];g=v[e+16>>2];v[a+56>>2]=v[e+12>>2];v[a+60>>2]=g;v[a+48>>2]=h;v[a+52>>2]=p;Sc(58189,a+48|0);if(!v[b+32>>2]){break ka}e=v[j>>2];g=0;while(1){h=v[e+8>>2];p=v[e>>2];o=v[e+12>>2];n=v[e+4>>2];v[a+36>>2]=o-n;v[a+32>>2]=h-p;v[a+28>>2]=o;v[a+24>>2]=h;v[a+20>>2]=n;v[a+16>>2]=p;Sc(58500,a+16|0);p=v[e+28>>2];la:{if(!p){break la}n=0;if(!v[e+24>>2]){break la}while(1){h=v[p+28>>2];o=v[h+4>>2];E=v[h+8>>2];J=v[h+16>>2];v[a+8>>2]=v[h+12>>2];v[a+12>>2]=J;v[a>>2]=o;v[a+4>>2]=E;Sc(58715,a);p=p+60|0;n=n+1|0;if(n>>>0>2]){continue}break}}e=e+52|0;g=g+1|0;if(g>>>0>2]){continue}break}}j=j+36|0;q=q+1|0;if(q>>>0>2]){continue}break}}b=b- -64|0;l=l+1|0;if(l>>>0>2]){continue}break}}f=f+716|0;I=I+1|0;if(I>>>0>2]){continue}break}}Qb=a+96|0}l=v[c+48>>2];I=v[c+44>>2];if((I|0)>=1){d=v[H+52>>2];h=0;j=l;while(1){a=d+B(h,412)|0;ma:{if(w[a+5|0]){break ma}b=v[j+8>>2];e=v[b+20>>2];if((e|0)<1){break ma}f=v[b+24>>2];if((f|0)<1){break ma}q=-1<=1){p=v[v[b+28>>2]+(a<<2)>>2];e=0;while(1){f=p+(e<<2)|0;v[f>>2]=q+v[f>>2];f=v[b+24>>2];e=e+1|0;if((f|0)>(e|0)){continue}break}e=v[b+20>>2]}a=a+1|0;if((e|0)>(a|0)){continue}break}I=v[c+44>>2]}j=j+716|0;h=h+1|0;if((I|0)>(h|0)){continue}break}}if(!(w[c+36|0]|!I)){a=B(I,716)+l|0;while(1){tB(v[l+8>>2],13);l=l+716|0;if((a|0)!=(l|0)){continue}break}}na:{oa:{switch(w[c+28|0]-1|0){case 1:if(v[v[C>>2]+16>>2]!=3){break da}a=v[c+48>>2];b=v[a+8>>2];e=v[a+1440>>2];p=0;pa:{qa:{d=v[b+20>>2];f=v[a+724>>2];if((d|0)!=v[f+20>>2]){break qa}a=v[b+24>>2];if((a|0)!=v[f+24>>2]|(d|0)!=v[e+20>>2]|(a|0)!=v[e+24>>2]){break qa}if(!((d|0)<1|(a|0)<1)){l=v[e+28>>2];g=v[f+28>>2];o=v[b+28>>2];h=a-1|0;n=a&1;while(1){b=p<<2;e=v[b+l>>2];f=v[b+g>>2];j=v[b+o>>2];if(n){E=v[e>>2];q=v[j>>2];b=v[f>>2];v[j>>2]=E+(q+(b<<1)|0)>>2;v[f>>2]=E-b;v[e>>2]=q-b;e=e+4|0;f=f+4|0;j=j+4|0;b=h}else{b=a}if((a|0)!=1){while(1){I=v[e>>2];E=v[j>>2];q=v[f>>2];v[j>>2]=I+(E+(q<<1)|0)>>2;v[f>>2]=I-q;v[e>>2]=E-q;I=v[e+4>>2];E=v[j+4>>2];q=v[f+4>>2];v[j+4>>2]=I+(E+(q<<1)|0)>>2;v[f+4>>2]=I-q;v[e+4>>2]=E-q;e=e+8|0;f=f+8|0;j=j+8|0;q=(b|0)>2;b=b-2|0;if(q){continue}break}}p=p+1|0;if((d|0)!=(p|0)){continue}break}}break pa}X(1345,6316,102,189063);L()}break na;case 0:break oa;default:break na}}if(v[v[C>>2]+16>>2]!=3){break ca}a=v[c+48>>2];b=v[a+8>>2];p=0;ra:{sa:{q=v[b+20>>2];f=v[a+724>>2];e=v[a+1440>>2];if(!((q|0)!=v[f+20>>2]|(q|0)!=v[e+20>>2])){a=v[b+24>>2];if((a|0)!=v[f+24>>2]|(a|0)!=v[e+24>>2]){break sa}if(!((q|0)<1|(a|0)<1)){I=v[e+28>>2];J=v[f+28>>2];i=v[b+28>>2];while(1){b=p<<2;e=v[b+I>>2];f=v[b+J>>2];j=v[b+i>>2];b=a;while(1){l=v[e>>2];g=l;h=g>>31;Q=h;h=Bib(g,h,933,0);S=(Tb&8191)<<19|h>>>13;o=v[f>>2];h=o>>31;n=Bib(o,h,4808,0);k=(Tb&8191)<<19|n>>>13;n=v[j>>2];z=n>>31;d=Bib(n,z,2449,0);v[j>>2]=(((Tb&8191)<<19|d>>>13)+k|0)+S;d=Bib(o,h,-2713,-1);l=(Tb&8191)<<19|d>>>13;d=Bib(n,z,-1382,-1);v[f>>2]=l+(((Tb&8191)<<19|d>>>13)+(g>>1)|0);d=Bib(g,Q,-666,-1);d=(Tb&8191)<<19|d>>>13;h=Bib(o,h,-3429,-1);v[e>>2]=d+(((Tb&8191)<<19|h>>>13)+(n>>1)|0);e=e+4|0;f=f+4|0;j=j+4|0;h=(b|0)>1;b=b-1|0;if(h){continue}break}p=p+1|0;if((q|0)!=(p|0)){continue}break}}break ra}X(9351,6316,188,189080);L()}X(12825,6316,190,189080);L()}}e=0;if(v[v[C>>2]+16>>2]>=1){while(1){b=v[c+48>>2]+B(e,716)|0;a=v[b+20>>2];b=v[b+8>>2];f=v[a>>2];if((f|0)>=1){h=v[b+28>>2];j=v[h>>2];q=v[b+4>>2];l=v[b+8>>2];w2(a,j,q,l,v[b+12>>2]-q|0,v[b+16>>2]-l|0,v[b+20>>2]>=2?v[h+4>>2]-j>>2:0,f-1|0)}e=e+1|0;if((e|0)>2]+16>>2]){continue}break}}a=v[c+44>>2];if(a){j=v[c+48>>2];i=j+B(a,716)|0;n=0;while(1){ic(j+312|0,0,400);l=0;e=v[j>>2];if((e|0)>=1){g=v[j+4>>2];o=0;q=0;while(1){b=v[g+56>>2];ta:{if(!b){q=(o?3:1)+q|0;break ta}a=v[g+52>>2];if(!a){break ta}Q=B(a,36)+b|0;while(1){f=v[b+4>>2];if(f){e=0;S=v[f+20>>2];ua:{if(!S){break ua}d=v[f+24>>2];if(!d){break ua}a=d&-2;k=d&1;z=v[f+28>>2];h=0;while(1){p=v[z+(h<<2)>>2];f=0;I=a;if((d|0)!=1){while(1){J=f<<2;P=v[p+(J|4)>>2];E=P>>31;N=v[p+J>>2];J=N>>31;E=E^E+P;J=J^J+N;e=(e|0)<(J|0)?J:e;e=(e|0)<(E|0)?E:e;f=f+2|0;I=I-2|0;if(I){continue}break}}if(k){p=v[p+(f<<2)>>2];f=p>>31;f=f^f+p;e=(e|0)<(f|0)?f:e}h=h+1|0;if((S|0)!=(h|0)){continue}break}}d=w[c+36|0];p=xl(e);E=w[(v[H+52>>2]+B(n,412)|0)+4|0];h=v[b+28>>2];va:{if(w[c+36|0]){e=8192;v[b+16>>2]=8192;break va}a=8192<>31;f=a<<13;e=e<<13|a>>>19;a=v[b+24>>2];e=Cib(f,e,a,a>>31);v[b+16>>2]=e;if((e|0)<=-1){break fa}}I=xl(e);a=xl(e);f=h+E|0;h=I-13|0;if((f|0)<(h|0)){break fa}h=f-h|0;if(h>>>0>=32){break a}I=((p+(d?1:-12)|0)-f|0)+1|0;J=(I|0)>(l|0);e=((a|0)>11?e>>>a-11|0:e<<11-a)&2047;a=h<<11&63488;p=e|a;v[b+20>>2]=p;v[b+12>>2]=(w[H+348|0]+(a>>>11|0)|0)-1;wa:{if(w[c+36|0]){break wa}d=v[b+4>>2];if(!d){break wa}a=v[b+16>>2];if((a|0)==8192){break wa}e=v[d+20>>2];if((e|0)<1){break wa}f=v[d+24>>2];if((f|0)<1){break wa}h=a;p=a>>31;a=0;while(1){if((f|0)>=1){S=v[v[d+28>>2]+(a<<2)>>2];e=0;while(1){k=S+(e<<2)|0;f=v[k>>2];xa:{if((f|0)<=-1){E=0-f|0;f=E>>>19|0;f=0-Cib(E<<13,f,h,p)|0;break xa}f=Cib(f<<13,f>>>19|0,h,p)}v[k>>2]=f;f=v[d+24>>2];e=e+1|0;if((f|0)>(e|0)){continue}break}e=v[d+20>>2]}a=a+1|0;if((e|0)>(a|0)){continue}break}p=v[b+20>>2]}v[((q<<2)+j|0)+312>>2]=p;l=J?I:l}q=q+1|0;b=b+36|0;if((Q|0)!=(b|0)){continue}break}e=v[j>>2]}g=g- -64|0;o=o+1|0;if((o|0)<(e|0)){continue}break}}f=v[j+8>>2];ya:{if(!w[c+36|0]){a=0;za:{I=v[f+20>>2];Aa:{if((I|0)>=2){a=v[f+28>>2];a=v[a+4>>2]-v[a>>2]>>2;break Aa}if((I|0)!=1){break za}}b=v[f+24>>2];if((b|0)<1){break za}e=v[v[f+28>>2]>>2];h=a<<2;while(1){Ba:{if((b|0)<1){break Ba}a=e;p=b;if(b&1){a=v[e>>2];v[e>>2]=(a|0)>-1?a>>7:0-(0-a>>7)|0;p=b-1|0;a=e+4|0}if((b|0)==1){break Ba}while(1){b=v[a>>2];v[a>>2]=(b|0)>-1?b>>7:0-(0-b>>7)|0;b=v[a+4>>2];v[a+4>>2]=(b|0)>-1?b>>7:0-(0-b>>7)|0;a=a+8|0;b=(p|0)>2;p=p-2|0;if(b){continue}break}}if((I|0)<2){break za}I=I-1|0;e=e+h|0;b=v[f+24>>2];continue}}break ya}tB(f,6)}if(w[H+348|0]<(l|0)){v[R>>2]=l;Sc(65443,R);break $}n=n+1|0;j=j+716|0;if((i|0)!=(j|0)){continue}break}}a=di(0,0);v[C+32>>2]=a;if(!a){Sc(65629,0);break $}a=Yj(65424);v[C+28>>2]=a;if(!a){break $}v[a+12>>2]=aa;u[a+20>>1]=256;v[a+16>>2]=0;if(Xj(v[C+32>>2],v[C+16>>2],a)){Sc(65761,0);break $}ai(v[C+28>>2]);j=0;v[C+28>>2]=0;I=v[H+48>>2];Ca:{if((I|0)<1){break Ca}while(1){if(v[v[c+48>>2]+B(j,716)>>2]!=w[H+69|0]){a=Yj(65362);v[C+28>>2]=a;if(!a){break $}b=v[c+48>>2];t[a+24|0]=0;f=v[b>>2];t[a+25|0]=f-1;t[a+13|0]=w[c+21|0];v[a+16>>2]=v[c+24>>2];t[a+26|0]=w[b+292|0]-2;t[a+27|0]=w[b+296|0]-2;t[a+28|0]=v[b+304>>2];t[a+29|0]=v[b+12>>2];t[a+20|0]=w[c+28|0]!=0;Da:{if((f|0)<1){break Da}b=v[b+4>>2];e=0;if((f|0)!=1){I=f&-2;while(1){h=a+36|0;d=h+(e<<1)|0;q=b+(e<<6)|0;t[d|0]=v[q+16>>2];t[d+1|0]=v[q+20>>2];d=e|1;h=h+(d<<1)|0;d=b+(d<<6)|0;t[h|0]=v[d+16>>2];t[h+1|0]=v[d+20>>2];e=e+2|0;I=I-2|0;if(I){continue}break}}if(!(f&1)){break Da}f=a+(e<<1)|0;b=b+(e<<6)|0;t[f+36|0]=v[b+16>>2];t[f+37|0]=v[b+20>>2]}if(Xj(v[C+32>>2],v[C+16>>2],a)){break $}ai(v[C+28>>2]);v[C+28>>2]=0;I=v[H+48>>2]}j=j+1|0;if((I|0)>(j|0)){continue}break}if((I|0)<1){break Ca}p=v[c+48>>2];h=0;while(1){Ea:{Fa:{b=v[H+52>>2]+B(h,412)|0;a=v[b+8>>2];if((a|0)!=v[p+308>>2]){break Fa}e=0;if((a|0)<=0){break Ea}while(1){f=e<<2;if(v[(f+b|0)+12>>2]!=v[(f+p|0)+312>>2]){break Fa}e=e+1|0;if((a|0)!=(e|0)){continue}break}break Ea}a=Yj(65373);v[C+28>>2]=a;if(!a){break $}v[a+12>>2]=h;t[a+28|0]=w[H+348|0];t[a+16|0]=!v[p+12>>2]<<1;b=v[p+308>>2];v[a+24>>2]=p+312;v[a+20>>2]=b;if(Xj(v[C+32>>2],v[C+16>>2],a)){break $}v[a+24>>2]=0;ai(v[C+28>>2]);v[C+28>>2]=0;I=v[H+48>>2]}p=p+716|0;h=h+1|0;if((I|0)>(h|0)){continue}break}}a=Yj(65427);v[C+28>>2]=a;if(!a){break $}if(Xj(v[C+32>>2],v[C+16>>2],a)){Sc(65883,0);break $}ai(v[C+28>>2]);v[C+28>>2]=0;ja=v[v[C+32>>2]+60>>2];Ga:{Ha:{a=v[C+12>>2];b=v[a+44>>2];if(b){p=v[a+48>>2];la=p+B(b,716)|0;while(1){a=v[p>>2];if(a){j=v[p+4>>2];ma=j+(a<<6)|0;while(1){H=v[j+56>>2];Ia:{if(!H){break Ia}a=v[j+52>>2];if(!a){break Ia}na=B(a,36)+H|0;while(1){if(!(!v[H+4>>2]|!v[j+32>>2])){I=v[H>>2];ca=0;while(1){b=v[I+28>>2];Ja:{if(!b){break Ja}a=v[I+24>>2];ba=B(a,60)+b|0;if(a){while(1){a=0;e=v[b+28>>2];n=v[e+20>>2];Ka:{if((n|0)<1){break Ka}h=v[e+24>>2];if((h|0)<1){break Ka}f=h&-2;E=h&1;J=v[e+28>>2];g=0;while(1){d=v[J+(g<<2)>>2];l=0;e=f;if((h|0)!=1){while(1){o=l<<2;i=v[d+(o|4)>>2];q=i>>31;Q=v[d+o>>2];o=Q>>31;q=q^i+q;o=o^o+Q;a=(a|0)<(o|0)?o:a;a=(a|0)<(q|0)?q:a;l=l+2|0;e=e-2|0;if(e){continue}break}}if(E){d=v[d+(l<<2)>>2];e=d>>31;e=e^d+e;a=(a|0)<(e|0)?e:a}g=g+1|0;if((n|0)!=(g|0)){continue}break}}e=b;if((xl(a)|0)>=6){a=xl(a)-5|0}else{a=0}v[e+36>>2]=a;b=b+60|0;if((ba|0)!=(b|0)){continue}break}b=v[I+28>>2]}e=(b|0)==(ba|0);if(e){break Ja}f=v[H+12>>2];a=b;while(1){h=f-v[a+36>>2]|0;v[a+12>>2]=h;if((h|0)<=-1){break Ha}a=a+60|0;if((ba|0)!=(a|0)){continue}break}if(e){break Ja}while(1){z=0;f=0;E=0;J=b;a=di(0,0);v[b+20>>2]=a;La:{if(a){b=jc(40);Ma:{if(b){v[b+12>>2]=19;v[b+24>>2]=a;a=jc(76);v[b+16>>2]=a;if(a){v[b+28>>2]=-1;v[b+20>>2]=a;v[b+32>>2]=-1;v[b+36>>2]=0;v[b+8>>2]=12;v[b>>2]=0;v[b+4>>2]=32768;e=v[b+12>>2];if((e|0)<1){break Ma}h=e-1|0;d=e&7;if(d){while(1){v[a>>2]=1033792;a=a+4|0;e=e-1|0;d=d-1|0;if(d){continue}break}}if(h>>>0<7){break Ma}while(1){v[a+28>>2]=1033792;v[a+24>>2]=1033792;v[a+20>>2]=1033792;v[a+16>>2]=1033792;v[a+12>>2]=1033792;v[a+8>>2]=1033792;v[a+4>>2]=1033792;v[a>>2]=1033792;a=a+32|0;h=(e|0)>8;e=e-8|0;if(h){continue}break}break Ma}dc(b)}b=0}v[J+24>>2]=b;if(b){n2(b);a=v[J+36>>2];e=(a|0)>0?B(a,3)-2|0:0;v[J>>2]=e;Na:{if((e|0)>=1){f=jc(B(e,72));v[J+4>>2]=f;if(f){e=v[J>>2];break Na}X(17948,7618,223,189152);L()}v[J+4>>2]=0}Oa:{Pa:{if(!e){break Pa}d=B(e,72)+f|0;q=d-72|0;a=f;while(1){v[a>>2]=0;v[a+4>>2]=0;h=a;b=v[p+304>>2];l=b>>>2&1;g=b&1;Qa:{Ra:{f=(a-f|0)/72|0;if((f|0)!=(e-1|0)){b=1;Sa:{if(l){break Sa}b=94;if(!g){break Sa}b=10-f|0;if((f|0)<10){break Sa}b=(f|0)%3|0;if(b>>>0>=3){break Ra}b=v[(b<<2)+189024>>2]}e=e-f|0;b=(((b|0)<(e|0)?b:e)|0)<2}else{b=1}break Qa}X(3794,7464,130,188981);L()}v[h+12>>2]=b;b=y2((a-v[J+4>>2]|0)/72|0,0,v[p+304>>2]&1);v[a+32>>2]=-1;v[a+8>>2]=b;if((a|0)==(q|0)){if(v[a+12>>2]!=1){break Oa}v[a+12>>2]=1}a=a+72|0;if((d|0)==(a|0)){break Pa}e=v[J>>2];f=v[J+4>>2];continue}}a=v[J+28>>2];a=yj(v[a+20>>2]+2|0,v[a+24>>2]+2|0);v[J+32>>2]=a;if(a){a=v[J+4>>2];Ta:{Y=v[J>>2];if((Y|0)>=1){P=v[J+36>>2]-1|0;o=a;while(1){Ua:{Va:{Wa:{Xa:{Ya:{Za:{_a:{$a:{switch(v[o+8>>2]-1|0){default:X(25652,7618,253,189152);L();case 0:break _a;case 1:break $a}}if(z){break _a}z=gB(v[J+20>>2],26510);if(!z){break Za}a=v[J+4>>2]}oa=o,pa=ui(v[J+20>>2]),v[oa>>2]=pa;ka=(((o-a|0)/72|0)+2|0)%3|0;if((P|0)>-1){da=v[p+304>>2];_=v[o+12>>2];ea=_?(da>>>4&1)+1|0:0;fa=da>>>3&1;ab:{switch(ka|0){case 1:break Wa;case 2:break Xa;case 0:break ab;default:break Ya}}if(v[o+8>>2]!=1){break Va}h=v[H+8>>2];i=v[J+24>>2];a=v[J+28>>2];f=v[J+32>>2];b=0;v[o+64>>2]=0;n=v[a+20>>2];d=0;if(v[f+20>>2]>=2){e=v[f+28>>2];d=v[e+4>>2]-v[e>>2]>>2}e=v[a+24>>2];if((n|0)>=2){b=v[a+28>>2];b=v[b+4>>2]-v[b>>2]>>2}if(!((n|0)<1|(e|0)<1)){r=0-d|0;S=h<<8;k=b<<2;Q=d<<2;N=1<0?1154352:1154864;l=v[v[f+28>>2]+4>>2]+4|0;q=v[v[a+28>>2]>>2];while(1){U=(n|0)<4;F=U?n:4;b=e;a=l;f=q;while(1){h=b;d=v[a>>2];g=d&255;if(!(!g|d&20480)){b=v[f>>2];g=v[i+16>>2]+(v[((g|S)<<2)+1131824>>2]<<2)|0;v[i+20>>2]=g;g=v[g>>2];s=b;b=b>>31;s=N&(s+b^b);bb:{if(v[g+4>>2]!=((s|0)!=0|0)){Uf(i);break bb}b=v[g>>2];g=v[i+4>>2]-b|0;v[i+4>>2]=g;if(g&32768){v[i>>2]=b+v[i>>2];break bb}Vf(i)}b=a;if(s){s=v[f>>2];g=s>>31;v[o+64>>2]=v[o+64>>2]+v[m+(((g^g+s)>>>P&127)<<2)>>2];d=d>>>2&1020;g=v[i+16>>2]+(v[d+1136944>>2]<<2)|0;v[i+20>>2]=g;g=v[g>>2];cb:{if(v[g+4>>2]!=(v[d+1135920>>2]^s>>>31)){Uf(i);break cb}d=v[g>>2];g=v[i+4>>2]-d|0;v[i+4>>2]=g;if(g&32768){v[i>>2]=d+v[i>>2];break cb}Vf(i)}d=a+Q|0;db:{eb:{fb:{if(fa){v[d+4>>2]=v[d+4>>2]|8;g=d-4|0;v[g>>2]=v[g>>2]|1;g=v[d>>2];if((s|0)>=0){g=g|16;break eb}g=g|272;break fb}g=(r<<2)+a|0;v[g+4>>2]=v[g+4>>2]|4;G=g-4|0;v[G>>2]=v[G>>2]|2;G=d-4|0;v[G>>2]=v[G>>2]|1;v[d+4>>2]=v[d+4>>2]|8;G=v[g>>2];if((s|0)>=0){v[g>>2]=G|64;g=v[d>>2]|16;break eb}v[g>>2]=G|1088;g=v[d>>2]|272}G=2176;s=544;break db}G=128;s=32}v[d>>2]=g;d=a-4|0;v[d>>2]=v[d>>2]|s;v[a+4>>2]=G|v[a+4>>2];d=v[a>>2]|4096}else{d=v[a>>2]}v[b>>2]=d|16384}gb:{if((F|0)<2){break gb}s=f+k|0;b=a+Q|0;g=v[b>>2];G=g&255;if(!(!G|g&20480)){d=v[s>>2];G=v[i+16>>2]+(v[((G|S)<<2)+1131824>>2]<<2)|0;v[i+20>>2]=G;G=v[G>>2];O=d;d=d>>31;M=N&(O+d^d);hb:{if(v[G+4>>2]!=((M|0)!=0|0)){Uf(i);break hb}d=v[G>>2];G=v[i+4>>2]-d|0;v[i+4>>2]=G;if(G&32768){v[i>>2]=d+v[i>>2];break hb}Vf(i)}d=b;if(M){G=v[s>>2];M=G>>31;v[o+64>>2]=v[o+64>>2]+v[m+(((M^G+M)>>>P&127)<<2)>>2];g=g>>>2&1020;M=v[i+16>>2]+(v[g+1136944>>2]<<2)|0;v[i+20>>2]=M;M=v[M>>2];ib:{if(v[M+4>>2]!=(v[g+1135920>>2]^G>>>31)){Uf(i);break ib}g=v[M>>2];M=v[i+4>>2]-g|0;v[i+4>>2]=M;if(M&32768){v[i>>2]=g+v[i>>2];break ib}Vf(i)}v[a+4>>2]=v[a+4>>2]|4;g=a-4|0;v[g>>2]=v[g>>2]|2;g=b+Q|0;M=g-4|0;v[M>>2]=v[M>>2]|1;v[g+4>>2]=v[g+4>>2]|8;G=(G|0)<0;v[a>>2]=v[a>>2]|(G?1088:64);v[g>>2]=v[g>>2]|(G?272:16);g=b-4|0;v[g>>2]=v[g>>2]|(G?544:32);v[b+4>>2]=v[b+4>>2]|(G?2176:128);g=v[b>>2]|4096}else{g=v[b>>2]}v[d>>2]=g|16384}if((F|0)<3){break gb}G=k+s|0;b=b+Q|0;g=v[b>>2];s=g&255;if(!(!s|g&20480)){d=v[G>>2];s=v[i+16>>2]+(v[((s|S)<<2)+1131824>>2]<<2)|0;v[i+20>>2]=s;s=v[s>>2];O=d;d=d>>31;M=N&(O+d^d);jb:{if(v[s+4>>2]!=((M|0)!=0|0)){Uf(i);break jb}d=v[s>>2];s=v[i+4>>2]-d|0;v[i+4>>2]=s;if(s&32768){v[i>>2]=d+v[i>>2];break jb}Vf(i)}d=b;if(M){M=v[G>>2];s=M>>31;v[o+64>>2]=v[o+64>>2]+v[m+(((s^s+M)>>>P&127)<<2)>>2];g=g>>>2&1020;s=v[i+16>>2]+(v[g+1136944>>2]<<2)|0;v[i+20>>2]=s;s=v[s>>2];kb:{if(v[s+4>>2]!=(v[g+1135920>>2]^M>>>31)){Uf(i);break kb}g=v[s>>2];s=v[i+4>>2]-g|0;v[i+4>>2]=s;if(s&32768){v[i>>2]=g+v[i>>2];break kb}Vf(i)}g=b+(r<<2)|0;v[g+4>>2]=v[g+4>>2]|4;s=g-4|0;v[s>>2]=v[s>>2]|2;s=b+Q|0;$=s-4|0;v[$>>2]=v[$>>2]|1;v[s+4>>2]=v[s+4>>2]|8;O=g;$=v[g>>2];g=(M|0)<0;v[O>>2]=$|(g?1088:64);v[s>>2]=v[s>>2]|(g?272:16);s=b-4|0;v[s>>2]=v[s>>2]|(g?544:32);v[b+4>>2]=v[b+4>>2]|(g?2176:128);g=v[b>>2]|4096}else{g=v[b>>2]}v[d>>2]=g|16384}if(U){break gb}b=b+Q|0;g=v[b>>2];s=g&255;if(!s|g&20480){break gb}G=k+G|0;d=v[G>>2];s=v[i+16>>2]+(v[((s|S)<<2)+1131824>>2]<<2)|0;v[i+20>>2]=s;s=v[s>>2];O=d;d=d>>31;M=N&(O+d^d);lb:{if(v[s+4>>2]!=((M|0)!=0|0)){Uf(i);break lb}d=v[s>>2];s=v[i+4>>2]-d|0;v[i+4>>2]=s;if(s&32768){v[i>>2]=d+v[i>>2];break lb}Vf(i)}d=b;if(M){G=v[G>>2];s=G>>31;v[o+64>>2]=v[o+64>>2]+v[m+(((s^s+G)>>>P&127)<<2)>>2];g=g>>>2&1020;s=v[i+16>>2]+(v[g+1136944>>2]<<2)|0;v[i+20>>2]=s;s=v[s>>2];mb:{if(v[s+4>>2]!=(v[g+1135920>>2]^G>>>31)){Uf(i);break mb}g=v[s>>2];s=v[i+4>>2]-g|0;v[i+4>>2]=s;if(s&32768){v[i>>2]=g+v[i>>2];break mb}Vf(i)}g=b+(r<<2)|0;v[g+4>>2]=v[g+4>>2]|4;s=g-4|0;v[s>>2]=v[s>>2]|2;s=b+Q|0;M=s-4|0;v[M>>2]=v[M>>2]|1;v[s+4>>2]=v[s+4>>2]|8;O=g;M=v[g>>2];g=(G|0)<0;v[O>>2]=M|(g?1088:64);v[s>>2]=v[s>>2]|(g?272:16);s=b-4|0;v[s>>2]=v[s>>2]|(g?544:32);v[b+4>>2]=v[b+4>>2]|(g?2176:128);b=v[b>>2]|4096}else{b=v[b>>2]}v[d>>2]=b|16384}f=f+4|0;a=a+4|0;b=h-1|0;if((h|0)>1){continue}break}q=(k<<2)+q|0;l=(Q<<2)+l|0;a=(n|0)>4;n=n-4|0;if(a){continue}break}}if(!_){break Ua}KJ(i,ea-1|0);break Ua}X(30443,7618,269,189152);L()}X(28221,7618,256,189152);L()}X(33871,7618,300,189152);L()}if(v[o+8>>2]==1){e=v[H+8>>2];k=v[J+24>>2];a=v[J+28>>2];b=v[J+32>>2];$=0;v[o+64>>2]=0;n=v[a+20>>2];s=0;if(v[b+20>>2]>=2){f=v[b+28>>2];s=v[f+4>>2]-v[f>>2]>>2}Q=v[a+24>>2];if((n|0)>=2){f=v[a+28>>2];$=v[f+4>>2]-v[f>>2]>>2}if(!((n|0)<1|(Q|0)<1)){M=0-s|0;F=e<<8;r=$<<2;N=s<<2;G=1<0?1154352:1154864;q=v[v[b+28>>2]+4>>2]+4|0;g=v[v[a+28>>2]>>2];while(1){l=(n|0)<4?n:4;a=Q;b=g;f=q;while(1){S=a;d=b;a=f;e=n;nb:{ob:{pb:{qb:{rb:{sb:{tb:{ub:{vb:{wb:{xb:{yb:{zb:{if((l|0)<4){break zb}e=l;if(x[f>>1]&20735){break zb}h=f+N|0;if(x[h>>1]&20735){break zb}h=h+N|0;if(x[h>>1]&20735|x[h+N>>1]&20735){break zb}h=0;a=b;Ab:{while(1){d=v[a>>2];e=d>>31;if(G&(e^d+e)){break Ab}a=a+r|0;h=h+1|0;if((l|0)!=(h|0)){continue}break}h=l}a=v[k+16>>2];v[k+20>>2]=a;a=v[a>>2];e=v[a+4>>2];if(h>>>0>3){break xb}Bb:{if((e|0)!=1){Uf(k);break Bb}a=v[a>>2];e=v[k+4>>2]-a|0;v[k+4>>2]=e;if(e&32768){v[k>>2]=a+v[k>>2];break Bb}Vf(k)}a=v[k+16>>2];v[k+20>>2]=a+72;a=v[a+72>>2];Cb:{if(v[a+4>>2]!=(h>>>1|0)){Uf(k);break Cb}a=v[a>>2];e=v[k+4>>2]-a|0;v[k+4>>2]=e;if(e&32768){v[k>>2]=a+v[k>>2];break Cb}Vf(k)}a=v[v[k+20>>2]>>2];Db:{if(v[a+4>>2]!=(h&1)){Uf(k);break Db}a=v[a>>2];e=v[k+4>>2]-a|0;v[k+4>>2]=e;if(e&32768){v[k>>2]=a+v[k>>2];break Db}Vf(k)}e=l-h|0;d=(B(h,$)<<2)+b|0;a=(B(h,s)<<2)+f|0;switch(h|0){case 3:break pb;case 2:break rb;case 1:break tb;case 0:break yb;default:break zb}}h=v[a>>2];if(h&20480){break ub}i=v[k+16>>2]+(v[((F|h&255)<<2)+1131824>>2]<<2)|0;v[k+20>>2]=i;m=v[d>>2];h=m>>31;i=v[i>>2];h=G&(h^h+m);Eb:{if(v[i+4>>2]!=((h|0)!=0|0)){Uf(k);break Eb}i=v[i>>2];m=v[k+4>>2]-i|0;v[k+4>>2]=m;if(m&32768){v[k>>2]=i+v[k>>2];break Eb}Vf(k)}if(h){break yb}h=v[a>>2];break ub}m=v[a>>2];i=v[d>>2];h=i>>31;v[o+64>>2]=v[o+64>>2]+v[U+(((h^h+i)>>>P&127)<<2)>>2];h=m>>>2&1020;m=v[k+16>>2]+(v[h+1136944>>2]<<2)|0;v[k+20>>2]=m;m=v[m>>2];Fb:{if(v[m+4>>2]!=(v[h+1135920>>2]^i>>>31)){Uf(k);break Fb}h=v[m>>2];m=v[k+4>>2]-h|0;v[k+4>>2]=m;if(m&32768){v[k>>2]=h+v[k>>2];break Fb}Vf(k)}m=a+N|0;Gb:{if(fa){v[m+4>>2]=v[m+4>>2]|8;h=m-4|0;v[h>>2]=v[h>>2]|1;h=v[m>>2];if((i|0)>=0){h=h|16;break wb}h=h|272;break Gb}h=(M<<2)+a|0;v[h+4>>2]=v[h+4>>2]|4;O=h-4|0;v[O>>2]=v[O>>2]|2;O=m-4|0;v[O>>2]=v[O>>2]|1;v[m+4>>2]=v[m+4>>2]|8;O=v[h>>2];if((i|0)>=0){v[h>>2]=O|64;h=v[m>>2]|16;break wb}v[h>>2]=O|1088;h=v[m>>2]|272}O=544;i=2176;break vb}if(e){Uf(k);break nb}a=v[a>>2];e=v[k+4>>2]-a|0;v[k+4>>2]=e;if(e&32768){v[k>>2]=a+v[k>>2];break nb}Vf(k);break nb}O=32;i=128}v[m>>2]=h;h=a-4|0;v[h>>2]=O|v[h>>2];v[a+4>>2]=v[a+4>>2]|i;h=v[a>>2]|4096;v[a>>2]=h}v[a>>2]=h&-16385;if((e|0)<2){break nb}e=e-1|0;d=d+r|0;a=a+N|0;h=v[a>>2];if(h&20480){break sb}i=v[k+16>>2]+(v[((F|h&255)<<2)+1131824>>2]<<2)|0;v[k+20>>2]=i;m=v[d>>2];h=m>>31;i=v[i>>2];h=G&(h^h+m);Hb:{if(v[i+4>>2]!=((h|0)!=0|0)){Uf(k);break Hb}i=v[i>>2];m=v[k+4>>2]-i|0;v[k+4>>2]=m;if(m&32768){v[k>>2]=i+v[k>>2];break Hb}Vf(k)}if(h){break tb}h=v[a>>2];break sb}i=v[a>>2];m=v[d>>2];h=m>>31;v[o+64>>2]=v[o+64>>2]+v[U+(((h^h+m)>>>P&127)<<2)>>2];h=i>>>2&1020;i=v[k+16>>2]+(v[h+1136944>>2]<<2)|0;v[k+20>>2]=i;i=v[i>>2];Ib:{if(v[i+4>>2]!=(v[h+1135920>>2]^m>>>31)){Uf(k);break Ib}h=v[i>>2];i=v[k+4>>2]-h|0;v[k+4>>2]=i;if(i&32768){v[k>>2]=h+v[k>>2];break Ib}Vf(k)}h=(M<<2)+a|0;v[h+4>>2]=v[h+4>>2]|4;i=h-4|0;v[i>>2]=v[i>>2]|2;i=a+N|0;O=i-4|0;v[O>>2]=v[O>>2]|1;v[i+4>>2]=v[i+4>>2]|8;O=h;ga=v[h>>2];h=(m|0)<0;v[O>>2]=ga|(h?1088:64);v[i>>2]=v[i>>2]|(h?272:16);i=a-4|0;v[i>>2]=v[i>>2]|(h?544:32);v[a+4>>2]=v[a+4>>2]|(h?2176:128);h=v[a>>2]|4096;v[a>>2]=h}v[a>>2]=h&-16385;if((e|0)<2){break nb}e=e-1|0;d=d+r|0;a=a+N|0;h=v[a>>2];if(h&20480){break qb}i=v[k+16>>2]+(v[((F|h&255)<<2)+1131824>>2]<<2)|0;v[k+20>>2]=i;m=v[d>>2];h=m>>31;i=v[i>>2];h=G&(h^h+m);Jb:{if(v[i+4>>2]!=((h|0)!=0|0)){Uf(k);break Jb}i=v[i>>2];m=v[k+4>>2]-i|0;v[k+4>>2]=m;if(m&32768){v[k>>2]=i+v[k>>2];break Jb}Vf(k)}if(h){break rb}h=v[a>>2];break qb}i=v[a>>2];m=v[d>>2];h=m>>31;v[o+64>>2]=v[o+64>>2]+v[U+(((h^h+m)>>>P&127)<<2)>>2];h=i>>>2&1020;i=v[k+16>>2]+(v[h+1136944>>2]<<2)|0;v[k+20>>2]=i;i=v[i>>2];Kb:{if(v[i+4>>2]!=(v[h+1135920>>2]^m>>>31)){Uf(k);break Kb}h=v[i>>2];i=v[k+4>>2]-h|0;v[k+4>>2]=i;if(i&32768){v[k>>2]=h+v[k>>2];break Kb}Vf(k)}h=(M<<2)+a|0;v[h+4>>2]=v[h+4>>2]|4;i=h-4|0;v[i>>2]=v[i>>2]|2;i=a+N|0;O=i-4|0;v[O>>2]=v[O>>2]|1;v[i+4>>2]=v[i+4>>2]|8;O=h;ga=v[h>>2];h=(m|0)<0;v[O>>2]=ga|(h?1088:64);v[i>>2]=v[i>>2]|(h?272:16);i=a-4|0;v[i>>2]=v[i>>2]|(h?544:32);v[a+4>>2]=v[a+4>>2]|(h?2176:128);h=v[a>>2]|4096;v[a>>2]=h}v[a>>2]=h&-16385;if((e|0)<2){break nb}a=a+N|0;e=v[a>>2];if(e&20480){break ob}h=v[k+16>>2]+(v[((F|e&255)<<2)+1131824>>2]<<2)|0;v[k+20>>2]=h;d=d+r|0;i=v[d>>2];e=i>>31;h=v[h>>2];e=G&(e^e+i);Lb:{if(v[h+4>>2]!=((e|0)!=0|0)){Uf(k);break Lb}h=v[h>>2];i=v[k+4>>2]-h|0;v[k+4>>2]=i;if(i&32768){v[k>>2]=h+v[k>>2];break Lb}Vf(k)}if(e){break pb}e=v[a>>2];break ob}h=v[a>>2];d=v[d>>2];e=d>>31;v[o+64>>2]=v[o+64>>2]+v[U+(((e^d+e)>>>P&127)<<2)>>2];e=h>>>2&1020;h=v[k+16>>2]+(v[e+1136944>>2]<<2)|0;v[k+20>>2]=h;h=v[h>>2];Mb:{if(v[h+4>>2]!=(v[e+1135920>>2]^d>>>31)){Uf(k);break Mb}e=v[h>>2];h=v[k+4>>2]-e|0;v[k+4>>2]=h;if(h&32768){v[k>>2]=e+v[k>>2];break Mb}Vf(k)}e=(M<<2)+a|0;v[e+4>>2]=v[e+4>>2]|4;h=e-4|0;v[h>>2]=v[h>>2]|2;h=a+N|0;i=h-4|0;v[i>>2]=v[i>>2]|1;v[h+4>>2]=v[h+4>>2]|8;i=e;O=v[e>>2];e=(d|0)<0;v[i>>2]=O|(e?1088:64);v[h>>2]=v[h>>2]|(e?272:16);h=a-4|0;v[h>>2]=v[h>>2]|(e?544:32);v[a+4>>2]=v[a+4>>2]|(e?2176:128);e=v[a>>2]|4096;v[a>>2]=e}v[a>>2]=e&-16385}b=b+4|0;f=f+4|0;a=S-1|0;if((S|0)>1){continue}break}g=(r<<2)+g|0;q=(N<<2)+q|0;a=(n|0)>4;n=n-4|0;if(a){continue}break}}Nb:{if(!(da&32)){break Nb}a=v[k+16>>2];v[k+20>>2]=a+72;a=v[a+72>>2];Ob:{if(v[a+4>>2]==1){a=v[a>>2];b=v[k+4>>2]-a|0;v[k+4>>2]=b;if(!(b&32768)){Vf(k);break Ob}v[k>>2]=a+v[k>>2];break Ob}Uf(k)}a=v[v[k+20>>2]>>2];Pb:{if(!v[a+4>>2]){a=v[a>>2];b=v[k+4>>2]-a|0;v[k+4>>2]=b;if(!(b&32768)){Vf(k);break Pb}v[k>>2]=a+v[k>>2];break Pb}Uf(k)}a=v[v[k+20>>2]>>2];Qb:{if(v[a+4>>2]==1){a=v[a>>2];b=v[k+4>>2]-a|0;v[k+4>>2]=b;if(!(b&32768)){Vf(k);break Qb}v[k>>2]=a+v[k>>2];break Qb}Uf(k)}a=v[v[k+20>>2]>>2];if(!v[a+4>>2]){a=v[a>>2];b=v[k+4>>2]-a|0;v[k+4>>2]=b;if(!(b&32768)){Vf(k);break Nb}v[k>>2]=a+v[k>>2];break Nb}Uf(k)}if(!_){break Ua}KJ(k,ea-1|0);break Ua}X(31995,7618,294,189152);L()}if(v[o+8>>2]==1){l=v[J+24>>2];a=v[J+28>>2];b=v[J+32>>2];d=0;v[o+64>>2]=0;q=v[a+20>>2];if(v[b+20>>2]>=2){e=v[b+28>>2];d=v[e+4>>2]-v[e>>2]>>2}e=v[a+24>>2];Rb:{Sb:{if((q|0)>=2){f=v[a+28>>2];g=v[f+4>>2]-v[f>>2]|0;s=g>>2;break Sb}g=0;s=0;if((q|0)!=1){break Rb}}if((e|0)<1){break Rb}n=P+6|0;Q=d<<2;S=(P|0)>0?1155376:1155888;i=v[v[b+28>>2]+4>>2]+4|0;h=v[v[a+28>>2]>>2];while(1){M=(q|0)<4;k=M?q:4;b=e;f=h;a=i;while(1){d=v[a>>2];if((d&20480)==4096){m=v[f>>2];N=m>>31;N=N^m+N;v[o+64>>2]=v[o+64>>2]+v[S+((N>>>P&127)<<2)>>2];d=v[l+16>>2]+(v[((d>>>2&2048|d&255)<<2)+1137968>>2]<<2)|0;v[l+20>>2]=d;d=v[d>>2];Tb:{if(v[d+4>>2]!=(N>>>n&1)){Uf(l);break Tb}d=v[d>>2];N=v[l+4>>2]-d|0;v[l+4>>2]=N;if(N&32768){v[l>>2]=d+v[l>>2];break Tb}Vf(l)}v[a>>2]=v[a>>2]|8192}d=b;Ub:{if((k|0)<2){break Ub}N=s<<2;m=N+f|0;b=a+Q|0;r=v[b>>2];if((r&20480)==4096){F=v[m>>2];G=F>>31;G=G^G+F;v[o+64>>2]=v[o+64>>2]+v[S+((G>>>P&127)<<2)>>2];r=v[l+16>>2]+(v[((r>>>2&2048|r&255)<<2)+1137968>>2]<<2)|0;v[l+20>>2]=r;r=v[r>>2];Vb:{if(v[r+4>>2]!=(G>>>n&1)){Uf(l);break Vb}r=v[r>>2];G=v[l+4>>2]-r|0;v[l+4>>2]=G;if(G&32768){v[l>>2]=r+v[l>>2];break Vb}Vf(l)}v[b>>2]=v[b>>2]|8192}if((k|0)<3){break Ub}m=m+N|0;b=b+Q|0;r=v[b>>2];if((r&20480)==4096){F=v[m>>2];G=F>>31;G=G^G+F;v[o+64>>2]=v[o+64>>2]+v[S+((G>>>P&127)<<2)>>2];r=v[l+16>>2]+(v[((r>>>2&2048|r&255)<<2)+1137968>>2]<<2)|0;v[l+20>>2]=r;r=v[r>>2];Wb:{if(v[r+4>>2]!=(G>>>n&1)){Uf(l);break Wb}r=v[r>>2];G=v[l+4>>2]-r|0;v[l+4>>2]=G;if(G&32768){v[l>>2]=r+v[l>>2];break Wb}Vf(l)}v[b>>2]=v[b>>2]|8192}if(M){break Ub}b=b+Q|0;r=v[b>>2];if((r&20480)!=4096){break Ub}m=v[m+N>>2];N=m>>31;N=N^m+N;v[o+64>>2]=v[o+64>>2]+v[S+((N>>>P&127)<<2)>>2];m=v[l+16>>2]+(v[((r>>>2&2048|r&255)<<2)+1137968>>2]<<2)|0;v[l+20>>2]=m;m=v[m>>2];Xb:{if(v[m+4>>2]!=(N>>>n&1)){Uf(l);break Xb}N=v[m>>2];m=v[l+4>>2]-N|0;v[l+4>>2]=m;if(m&32768){v[l>>2]=N+v[l>>2];break Xb}Vf(l)}v[b>>2]=v[b>>2]|8192}f=f+4|0;a=a+4|0;b=d-1|0;if((d|0)>1){continue}break}h=(g<<2)+h|0;i=(Q<<2)+i|0;a=(q|0)>4;q=q-4|0;if(a){continue}break}}if(!_){break Ua}KJ(l,ea-1|0);break Ua}a=v[J+28>>2];e=v[J+32>>2];f=0;v[o+64>>2]=0;q=v[a+20>>2];if(v[e+20>>2]>=2){b=v[e+28>>2];f=v[b+4>>2]-v[b>>2]>>2}b=v[a+24>>2];Yb:{Zb:{_b:{$b:{ac:{bc:{cc:{dc:{ec:{fc:{if((q|0)>=2){h=v[a+28>>2];l=v[h+4>>2]-v[h>>2]|0;g=l>>2;break fc}l=0;g=0;if((q|0)!=1){break ec}}if((b|0)<1){break ec}i=P+6|0;Q=f<<2;S=(P|0)>0?1155376:1155888;h=v[v[e+28>>2]+4>>2]+4|0;n=v[v[a+28>>2]>>2];while(1){G=(q|0)<4;N=G?q:4;d=b;a=h;e=n;while(1){if((v[a>>2]&20480)==4096){k=v[e>>2];f=k>>31;f=f^f+k;v[o+64>>2]=v[o+64>>2]+v[S+((f>>>P&127)<<2)>>2];if(!(w[z+16|0]&2)){break dc}f=f>>>i&1;k=v[z+8>>2];s=k-1|0;v[z+8>>2]=s;gc:{if((k|0)>=1){v[z+4>>2]=v[z+4>>2]|f<>2];s=k<<8&65280;m=(s|0)==65280?6:7;v[z+8>>2]=m;v[z+4>>2]=s|f<>2];s=v[f+8>>2];if(s&7){break Ua}m=v[f+64>>2];if((m|0)>=0&(m|0)<=v[f+60>>2]){break cc}v[f+4>>2]=v[f+4>>2]|32;s=v[f+28>>2];v[f+28>>2]=s-1;if((s|0)>=1){v[f+60>>2]=v[f+60>>2]+1;s=f;f=v[f+24>>2];v[s+24>>2]=f+1;t[f|0]=k;break gc}if((Fc(f,k&255)|0)==-1){break Ua}}v[a>>2]=v[a>>2]|8192}f=d;hc:{if((N|0)<2){break hc}s=g<<2;m=s+e|0;k=a+Q|0;if((v[k>>2]&20480)==4096){r=v[m>>2];d=r>>31;d=d^d+r;v[o+64>>2]=v[o+64>>2]+v[S+((d>>>P&127)<<2)>>2];if(!(w[z+16|0]&2)){break bc}d=d>>>i&1;r=v[z+8>>2];M=r-1|0;v[z+8>>2]=M;ic:{if((r|0)>=1){v[z+4>>2]=v[z+4>>2]|d<>2];M=r<<8&65280;F=(M|0)==65280?6:7;v[z+8>>2]=F;v[z+4>>2]=M|d<>2];M=v[d+8>>2];if(M&7){break Ua}F=v[d+64>>2];if((F|0)>=0&(F|0)<=v[d+60>>2]){break ac}v[d+4>>2]=v[d+4>>2]|32;M=v[d+28>>2];v[d+28>>2]=M-1;if((M|0)>=1){v[d+60>>2]=v[d+60>>2]+1;O=d;d=v[d+24>>2];v[O+24>>2]=d+1;t[d|0]=r;break ic}if((Fc(d,r&255)|0)==-1){break Ua}}v[k>>2]=v[k>>2]|8192}if((N|0)<3){break hc}m=m+s|0;k=k+Q|0;if((v[k>>2]&20480)==4096){r=v[m>>2];d=r>>31;d=d^d+r;v[o+64>>2]=v[o+64>>2]+v[S+((d>>>P&127)<<2)>>2];if(!(w[z+16|0]&2)){break $b}d=d>>>i&1;r=v[z+8>>2];M=r-1|0;v[z+8>>2]=M;jc:{if((r|0)>=1){v[z+4>>2]=v[z+4>>2]|d<>2];M=r<<8&65280;F=(M|0)==65280?6:7;v[z+8>>2]=F;v[z+4>>2]=M|d<>2];M=v[d+8>>2];if(M&7){break Ua}F=v[d+64>>2];if((F|0)>=0&(F|0)<=v[d+60>>2]){break _b}v[d+4>>2]=v[d+4>>2]|32;M=v[d+28>>2];v[d+28>>2]=M-1;if((M|0)>=1){v[d+60>>2]=v[d+60>>2]+1;O=d;d=v[d+24>>2];v[O+24>>2]=d+1;t[d|0]=r;break jc}if((Fc(d,r&255)|0)==-1){break Ua}}v[k>>2]=v[k>>2]|8192}if(G){break hc}k=k+Q|0;if((v[k>>2]&20480)!=4096){break hc}s=v[m+s>>2];d=s>>31;d=d^d+s;v[o+64>>2]=v[o+64>>2]+v[S+((d>>>P&127)<<2)>>2];if(!(w[z+16|0]&2)){break Zb}d=d>>>i&1;s=v[z+8>>2];m=s-1|0;v[z+8>>2]=m;kc:{if((s|0)>=1){v[z+4>>2]=v[z+4>>2]|d<>2];m=s<<8&65280;r=(m|0)==65280?6:7;v[z+8>>2]=r;v[z+4>>2]=m|d<>2];m=v[d+8>>2];if(m&7){break Ua}r=v[d+64>>2];if((r|0)>=0&(r|0)<=v[d+60>>2]){break Yb}v[d+4>>2]=v[d+4>>2]|32;m=v[d+28>>2];v[d+28>>2]=m-1;if((m|0)>=1){v[d+60>>2]=v[d+60>>2]+1;O=d;d=v[d+24>>2];v[O+24>>2]=d+1;t[d|0]=s;break kc}if((Fc(d,s&255)|0)==-1){break Ua}}v[k>>2]=v[k>>2]|8192}e=e+4|0;a=a+4|0;d=f-1|0;if((f|0)>1){continue}break}n=(l<<2)+n|0;h=(Q<<2)+h|0;a=(q|0)>4;q=q-4|0;if(a){continue}break}}if(!_){break Ua}Xv(z,42);break Ua}X(35074,7618,767,189186);L()}v[f+8>>2]=s|4;break Ua}X(35074,7618,774,189186);L()}v[d+8>>2]=M|4;break Ua}X(35074,7618,781,189186);L()}v[d+8>>2]=M|4;break Ua}X(35074,7618,788,189186);L()}v[d+8>>2]=m|4;break Ua}a=v[J+28>>2];b=v[J+32>>2];d=0;v[o+64>>2]=0;h=v[a+20>>2];f=0;if(v[b+20>>2]>=2){e=v[b+28>>2];f=v[e+4>>2]-v[e>>2]>>2}i=v[a+24>>2];if((h|0)>=2){e=v[a+28>>2];d=v[e+4>>2]-v[e>>2]>>2}lc:{mc:{nc:{oc:{pc:{qc:{rc:{sc:{tc:{uc:{vc:{wc:{if(!((h|0)<1|(i|0)<1)){s=0-f|0;S=d<<2;Q=f<<2;k=1<0?1154352:1154864;l=v[v[b+28>>2]+4>>2]+4|0;q=v[v[a+28>>2]>>2];while(1){M=(h|0)<4;G=M?h:4;d=i;a=l;e=q;while(1){f=d;b=v[a>>2];if(!(!(b&255)|b&20480)){b=a;xc:{yc:{zc:{Ac:{Bc:{Cc:{if(w[z+16|0]&2){g=v[e>>2];d=g>>31;n=k&(d^d+g);d=(n|0)!=0;g=v[z+8>>2];m=g-1|0;v[z+8>>2]=m;Dc:{if((g|0)>=1){v[z+4>>2]=v[z+4>>2]|d<>2];m=g<<8&65280;r=(m|0)==65280?6:7;v[z+8>>2]=r;v[z+4>>2]=m|d<>2];m=v[d+8>>2];if(m&7){break Ua}r=v[d+64>>2];if((r|0)>=0&(r|0)<=v[d+60>>2]){break Ac}v[d+4>>2]=v[d+4>>2]|32;m=v[d+28>>2];v[d+28>>2]=m-1;if((m|0)>=1){v[d+60>>2]=v[d+60>>2]+1;O=d;d=v[d+24>>2];v[O+24>>2]=d+1;t[d|0]=g;break Dc}if((Fc(d,g&255)|0)==-1){break Ua}}d=v[a>>2];if(!n){break xc}n=v[e>>2];d=n>>31;v[o+64>>2]=v[o+64>>2]+v[N+(((d^d+n)>>>P&127)<<2)>>2];if(!(w[z+16|0]&2)){break Cc}d=n>>>31|0;g=v[z+8>>2];m=g-1|0;v[z+8>>2]=m;Ec:{if((g|0)>=1){v[z+4>>2]=v[z+4>>2]|d<>2];m=g<<8&65280;r=(m|0)==65280?6:7;v[z+8>>2]=r;v[z+4>>2]=m|d<>2];m=v[d+8>>2];if(m&7){break Ua}r=v[d+64>>2];if((r|0)>=0&(r|0)<=v[d+60>>2]){break Bc}v[d+4>>2]=v[d+4>>2]|32;m=v[d+28>>2];v[d+28>>2]=m-1;if((m|0)>=1){v[d+60>>2]=v[d+60>>2]+1;O=d;d=v[d+24>>2];v[O+24>>2]=d+1;t[d|0]=g;break Ec}if((Fc(d,g&255)|0)==-1){break Ua}}d=a+Q|0;Fc:{if(fa){v[d+4>>2]=v[d+4>>2]|8;g=d-4|0;v[g>>2]=v[g>>2]|1;g=v[d>>2];if((n|0)>=0){g=g|16;break zc}g=g|272;break Fc}g=(s<<2)+a|0;v[g+4>>2]=v[g+4>>2]|4;m=g-4|0;v[m>>2]=v[m>>2]|2;m=d-4|0;v[m>>2]=v[m>>2]|1;v[d+4>>2]=v[d+4>>2]|8;m=v[g>>2];if((n|0)>=0){v[g>>2]=m|64;g=v[d>>2]|16;break zc}v[g>>2]=m|1088;g=v[d>>2]|272}m=2176;n=544;break yc}X(35074,7618,572,189168);L()}X(36612,7618,572,189168);L()}v[d+8>>2]=m|4;break Ua}v[d+8>>2]=m|4;break Ua}m=128;n=32}v[d>>2]=g;d=a-4|0;v[d>>2]=v[d>>2]|n;v[a+4>>2]=m|v[a+4>>2];d=v[a>>2]|4096}v[b>>2]=d|16384}Gc:{if((G|0)<2){break Gc}n=e+S|0;b=a+Q|0;d=v[b>>2];if(!(!(d&255)|d&20480)){if(!(w[z+16|0]&2)){break wc}g=v[n>>2];d=g>>31;m=k&(d^d+g);d=(m|0)!=0;g=v[z+8>>2];r=g-1|0;v[z+8>>2]=r;Hc:{if((g|0)>=1){v[z+4>>2]=v[z+4>>2]|d<>2];r=g<<8&65280;F=(r|0)==65280?6:7;v[z+8>>2]=F;v[z+4>>2]=r|d<>2];r=v[d+8>>2];if(r&7){break Ua}F=v[d+64>>2];if((F|0)>=0&(F|0)<=v[d+60>>2]){break vc}v[d+4>>2]=v[d+4>>2]|32;r=v[d+28>>2];v[d+28>>2]=r-1;if((r|0)>=1){v[d+60>>2]=v[d+60>>2]+1;O=d;d=v[d+24>>2];v[O+24>>2]=d+1;t[d|0]=g;break Hc}if((Fc(d,g&255)|0)==-1){break Ua}}d=b;if(m){m=v[n>>2];g=m>>31;v[o+64>>2]=v[o+64>>2]+v[N+(((g^g+m)>>>P&127)<<2)>>2];if(!(w[z+16|0]&2)){break uc}g=m>>>31|0;r=v[z+8>>2];F=r-1|0;v[z+8>>2]=F;Ic:{if((r|0)>=1){v[z+4>>2]=v[z+4>>2]|g<>2];F=r<<8&65280;U=(F|0)==65280?6:7;v[z+8>>2]=U;v[z+4>>2]=F|g<>2];F=v[g+8>>2];if(F&7){break Ua}U=v[g+64>>2];if((U|0)>=0&(U|0)<=v[g+60>>2]){break tc}v[g+4>>2]=v[g+4>>2]|32;F=v[g+28>>2];v[g+28>>2]=F-1;if((F|0)>=1){v[g+60>>2]=v[g+60>>2]+1;O=g;g=v[g+24>>2];v[O+24>>2]=g+1;t[g|0]=r;break Ic}if((Fc(g,r&255)|0)==-1){break Ua}}v[a+4>>2]=v[a+4>>2]|4;g=a-4|0;v[g>>2]=v[g>>2]|2;g=b+Q|0;r=g-4|0;v[r>>2]=v[r>>2]|1;v[g+4>>2]=v[g+4>>2]|8;m=(m|0)<0;v[a>>2]=v[a>>2]|(m?1088:64);v[g>>2]=v[g>>2]|(m?272:16);g=b-4|0;v[g>>2]=v[g>>2]|(m?544:32);v[b+4>>2]=v[b+4>>2]|(m?2176:128);g=v[b>>2]|4096}else{g=v[b>>2]}v[d>>2]=g|16384}if((G|0)<3){break Gc}m=n+S|0;b=b+Q|0;d=v[b>>2];if(!(!(d&255)|d&20480)){if(!(w[z+16|0]&2)){break sc}g=v[m>>2];d=g>>31;n=k&(d^d+g);d=(n|0)!=0;g=v[z+8>>2];r=g-1|0;v[z+8>>2]=r;Jc:{if((g|0)>=1){v[z+4>>2]=v[z+4>>2]|d<>2];r=g<<8&65280;F=(r|0)==65280?6:7;v[z+8>>2]=F;v[z+4>>2]=r|d<>2];r=v[d+8>>2];if(r&7){break Ua}F=v[d+64>>2];if((F|0)>=0&(F|0)<=v[d+60>>2]){break rc}v[d+4>>2]=v[d+4>>2]|32;r=v[d+28>>2];v[d+28>>2]=r-1;if((r|0)>=1){v[d+60>>2]=v[d+60>>2]+1;O=d;d=v[d+24>>2];v[O+24>>2]=d+1;t[d|0]=g;break Jc}if((Fc(d,g&255)|0)==-1){break Ua}}d=b;if(n){r=v[m>>2];g=r>>31;v[o+64>>2]=v[o+64>>2]+v[N+(((g^g+r)>>>P&127)<<2)>>2];if(!(w[z+16|0]&2)){break qc}g=r>>>31|0;n=v[z+8>>2];F=n-1|0;v[z+8>>2]=F;Kc:{if((n|0)>=1){v[z+4>>2]=v[z+4>>2]|g<>2];F=n<<8&65280;U=(F|0)==65280?6:7;v[z+8>>2]=U;v[z+4>>2]=F|g<>2];F=v[g+8>>2];if(F&7){break Ua}U=v[g+64>>2];if((U|0)>=0&(U|0)<=v[g+60>>2]){break pc}v[g+4>>2]=v[g+4>>2]|32;F=v[g+28>>2];v[g+28>>2]=F-1;if((F|0)>=1){v[g+60>>2]=v[g+60>>2]+1;O=g;g=v[g+24>>2];v[O+24>>2]=g+1;t[g|0]=n;break Kc}if((Fc(g,n&255)|0)==-1){break Ua}}g=b+(s<<2)|0;v[g+4>>2]=v[g+4>>2]|4;n=g-4|0;v[n>>2]=v[n>>2]|2;n=b+Q|0;F=n-4|0;v[F>>2]=v[F>>2]|1;v[n+4>>2]=v[n+4>>2]|8;O=g;F=v[g>>2];g=(r|0)<0;v[O>>2]=F|(g?1088:64);v[n>>2]=v[n>>2]|(g?272:16);n=b-4|0;v[n>>2]=v[n>>2]|(g?544:32);v[b+4>>2]=v[b+4>>2]|(g?2176:128);g=v[b>>2]|4096}else{g=v[b>>2]}v[d>>2]=g|16384}if(M){break Gc}b=b+Q|0;d=v[b>>2];if(!(d&255)|d&20480){break Gc}if(!(w[z+16|0]&2)){break oc}n=m+S|0;g=v[n>>2];d=g>>31;m=k&(d^d+g);d=(m|0)!=0;g=v[z+8>>2];r=g-1|0;v[z+8>>2]=r;Lc:{if((g|0)>=1){v[z+4>>2]=v[z+4>>2]|d<>2];r=g<<8&65280;F=(r|0)==65280?6:7;v[z+8>>2]=F;v[z+4>>2]=r|d<>2];r=v[d+8>>2];if(r&7){break Ua}F=v[d+64>>2];if((F|0)>=0&(F|0)<=v[d+60>>2]){break nc}v[d+4>>2]=v[d+4>>2]|32;r=v[d+28>>2];v[d+28>>2]=r-1;if((r|0)>=1){v[d+60>>2]=v[d+60>>2]+1;O=d;d=v[d+24>>2];v[O+24>>2]=d+1;t[d|0]=g;break Lc}if((Fc(d,g&255)|0)==-1){break Ua}}d=b;if(m){m=v[n>>2];g=m>>31;v[o+64>>2]=v[o+64>>2]+v[N+(((g^g+m)>>>P&127)<<2)>>2];if(!(w[z+16|0]&2)){break mc}g=m>>>31|0;n=v[z+8>>2];r=n-1|0;v[z+8>>2]=r;Mc:{if((n|0)>=1){v[z+4>>2]=v[z+4>>2]|g<>2];r=n<<8&65280;F=(r|0)==65280?6:7;v[z+8>>2]=F;v[z+4>>2]=r|g<>2];r=v[g+8>>2];if(r&7){break Ua}F=v[g+64>>2];if((F|0)>=0&(F|0)<=v[g+60>>2]){break lc}v[g+4>>2]=v[g+4>>2]|32;r=v[g+28>>2];v[g+28>>2]=r-1;if((r|0)>=1){v[g+60>>2]=v[g+60>>2]+1;O=g;g=v[g+24>>2];v[O+24>>2]=g+1;t[g|0]=n;break Mc}if((Fc(g,n&255)|0)==-1){break Ua}}g=b+(s<<2)|0;v[g+4>>2]=v[g+4>>2]|4;n=g-4|0;v[n>>2]=v[n>>2]|2;n=b+Q|0;r=n-4|0;v[r>>2]=v[r>>2]|1;v[n+4>>2]=v[n+4>>2]|8;O=g;r=v[g>>2];g=(m|0)<0;v[O>>2]=r|(g?1088:64);v[n>>2]=v[n>>2]|(g?272:16);n=b-4|0;v[n>>2]=v[n>>2]|(g?544:32);v[b+4>>2]=v[b+4>>2]|(g?2176:128);b=v[b>>2]|4096}else{b=v[b>>2]}v[d>>2]=b|16384}e=e+4|0;a=a+4|0;d=f-1|0;if((f|0)>1){continue}break}q=(S<<2)+q|0;l=(Q<<2)+l|0;a=(h|0)>4;h=h-4|0;if(a){continue}break}}if(!_){break Ua}Xv(z,42);break Ua}X(35074,7618,580,189168);L()}v[d+8>>2]=r|4;break Ua}X(36612,7618,580,189168);L()}v[g+8>>2]=F|4;break Ua}X(35074,7618,588,189168);L()}v[d+8>>2]=r|4;break Ua}X(36612,7618,588,189168);L()}v[g+8>>2]=F|4;break Ua}X(35074,7618,596,189168);L()}v[d+8>>2]=r|4;break Ua}X(36612,7618,596,189168);L()}v[g+8>>2]=r|4}a=v[o+12>>2];Nc:{if(v[o+8>>2]==1){if(a){a=v[J+24>>2];v[a+28>>2]=-1;v[a>>2]=0;v[a+4>>2]=32768;v[a+32>>2]=-1;v[a+36>>2]=0;v[a+8>>2]=12}a=v[J+24>>2];v[o+16>>2]=v[a+4>>2];v[o+20>>2]=v[a>>2];v[o+24>>2]=v[a+8>>2];v[o+28>>2]=v[a+32>>2];oa=o,pa=ui(v[J+20>>2]),v[oa+4>>2]=pa;if(!(w[p+304|0]&2)){break Nc}n2(v[J+24>>2]);break Nc}if(a){if(w[z+16|0]&2?v[z+8>>2]<8:-1){Xv(z,42)}Xs(z);oa=o,pa=ui(v[J+20>>2]),v[oa+4>>2]=pa;z=0;break Nc}oa=o,pa=ui(v[J+20>>2])+(w[z+16|0]&2?v[z+8>>2]<8:-1)|0,v[oa+4>>2]=pa}K=+v[H+16>>2]*.0001220703125;T=K;K=+v[H+24>>2]*.0001220703125;W=K;K=+v[v[v[H+32>>2]+60>>2]+24>>2]*.0001220703125;T=T*(T*(W*(W*(K*K))));K=+(1<>2]*.0001220703125*(T*K*K);A[o+56>>3]=K;A[o+48>>3]=K;a=v[J+4>>2];if((o|0)!=(a|0)){A[o+56>>3]=K+A[o-16>>3]}o=o+72|0;P=P-((ka|0)==2)|0;b=(Y|0)>1;Y=Y-1|0;if(b){continue}break}Y=v[J>>2]}if(Y){d=B(Y,72)+a|0;while(1){if(v[a>>2]<(E|0)){v[a>>2]=E}b=v[a+4>>2];if((E|0)>(b|0)){v[a+4>>2]=E;b=E}Oc:{if(v[a+12>>2]){break Oc}e=a;f=a;q=v[J>>2];Pc:{if((q|0)<1){break Pc}while(1){f=e+72|0;if((q|0)<=((f-a|0)/72|0)){break Pc}h=e;e=f;if(!v[h+84>>2]){continue}break}}if(v[a+8>>2]==1){e=b;b=v[a+28>>2]==255;b=e+(y[a+24>>2]>4?b?5:4:b?6:5)|0;v[a+4>>2]=b}e=v[f+4>>2];if((e|0)<(b|0)){v[a+4>>2]=e;b=e}e=v[J+20>>2];f=ui(e);if((f|0)<=-1){break Ta}Df(e,b-1|0,0);Qc:{if(v[e+28>>2]<=0){b=Hc(e,0);break Qc}b=w[v[e+24>>2]]}Df(e,f,0);if((b|0)!=255){if((b|0)!=-1){b=v[a+4>>2];break Oc}ia();L()}b=v[a+4>>2]+1|0;v[a+4>>2]=b}E=(b|0)<(E|0)?E:b;a=a+72|0;if((d|0)!=(a|0)){continue}break}}if(z){Xs(z)}break La}X(11793,7618,185,189141);L()}X(22612,7618,242,189152);L()}X(21547,7618,235,189152);L()}X(16101,7618,217,189152);L()}X(13105,7618,215,189152);L()}b=J+60|0;if((ba|0)!=(b|0)){continue}break}}I=I+52|0;ca=ca+1|0;if(ca>>>0>2]){continue}break}}H=H+36|0;if((na|0)!=(H|0)){continue}break}}j=j- -64|0;if((ma|0)!=(j|0)){continue}break}}p=p+716|0;if((la|0)!=(p|0)){continue}break}}break Ga}X(3744,7618,165,189124);L()}b=c;e=b;H=v[C+8>>2];T=+(v[b+12>>2]-v[b+4>>2]>>>0)*+(v[b+16>>2]-v[b+8>>2]>>>0)/+(B(v[H+16>>2]-v[H+8>>2]|0,v[H+12>>2]-v[H+4>>2]|0)>>>0);K=T*+y[H+356>>2];Rc:{if(K<4294967296&K>=0){a=~~K>>>0;break Rc}a=0}v[e+52>>2]=a;b=v[c+24>>2];Sc:{if((b|0)<2){f=b-1|0;break Sc}b=v[c+40>>2];e=b;h=v[H- -64>>2];K=+v[h>>2]*.0001220703125*+(a>>>0);Tc:{if(K<4294967296&K>=0){a=~~K>>>0;break Tc}a=0}v[e>>2]=a;e=1;a=v[c+24>>2];if((a|0)<3){f=a-1|0;break Sc}while(1){a=e<<2;f=a+b|0;K=+v[a+h>>2]*.0001220703125*+y[c+52>>2];Uc:{if(K<4294967296&K>=0){a=~~K>>>0;break Uc}a=0}v[f>>2]=a;f=v[c+24>>2]-1|0;e=e+1|0;if((f|0)>(e|0)){continue}break}}S=v[c+40>>2];b=S+(f<<2)|0;a=-1;Vc:{if(v[H+352>>2]==-1){break Vc}K=T*+y[C+24>>2];if(K<4294967296&K>=0){a=~~K>>>0;break Vc}a=0}v[b>>2]=a;e=0;p=v[c+24>>2];if((p|0)>=1){while(1){b=S+(e<<2)|0;a=v[b>>2];if((a|0)!=-1){v[b>>2]=(a|0)<(ja|0)?0:a-ja|0;p=v[c+24>>2]}e=e+1|0;if((p|0)>(e|0)){continue}break}}T=0;I=Qb-48|0;Qb=I;c=-1;d=p;z=d-1|0;J=v[C+12>>2];Wc:{Xc:{if((d|0)>=3){b=v[S>>2];a=1;while(1){e=b;b=v[S+(a<<2)>>2];if(e>>>0>b>>>0){break Xc}a=a+1|0;if((z|0)!=(a|0)){continue}break}}Q=di(0,0);Yc:{if(!Q){break Yc}V=1.7976931348623157e308;a=v[J+44>>2];if(a){e=v[J+48>>2];E=e+B(a,716)|0;while(1){a=v[e>>2];if(a){p=v[e+4>>2];i=p+(a<<6)|0;while(1){l=v[p+56>>2];Zc:{if(!l){break Zc}a=v[p+52>>2];if(!a){break Zc}k=B(a,36)+l|0;while(1){_c:{if(!v[l+4>>2]){break _c}P=v[p+32>>2];if((P|0)<1){break _c}g=v[l>>2];n=0;while(1){q=v[g+28>>2];$c:{if(!q){break $c}a=v[g+24>>2];if(!a){break $c}N=B(a,60)+q|0;while(1){o=v[q>>2];ad:{if(!o){break ad}f=v[q+4>>2];s=B(o,72);h=f+s|0;Z=0;b=0;j=f;a=f;while(1){c=v[a+4>>2];K=A[a+56>>3];if(b){K=K-A[b+56>>3];c=c-v[b+4>>2]|0}bd:{cd:{dd:{if(K<=0){v[a+40>>2]=0;v[a+44>>2]=-1074790400;j=a>>>0>>0?j:a+72|0;break dd}if(a>>>0>>0&A[a+40>>3]<=0){break dd}if(!c){if(b){break cd}X(53431,52387,1547,188779);L()}K=K/+(c|0);if(K>=Z?b:0){break cd}A[a+40>>3]=K;j=a>>>0>>0?j:a+72|0;Z=K;b=a}a=a+72|0;if((h|0)!=(a|0)){continue}break bd}v[b+40>>2]=0;v[b+44>>2]=0}b=0;a=f;if((h|0)!=(j|0)){continue}break}if(!o){break ad}a=s-72|0;if(!((a>>>0)/72&1)){K=A[f+40>>3];ed:{if(!(K>0)){break ed}V=KT)){break ed}T=K}f=f+72|0}if(a>>>0<72){break ad}while(1){K=A[f+40>>3];fd:{if(K>0){V=KT){break fd}}K=T}T=A[f+112>>3];gd:{if(T>0){V=T>3]=T;A[I+32>>3]=V;Sc(55190,I+32|0)}o2(C,1);hd:{id:{jd:{if((d|0)>=1){f=0;while(1){s=S+(f<<2)|0;Z=0;i=0;ha=T;K=V;k=0;kd:{while(1){P=v[s>>2];if((P|0)==-1){if((f|0)==(z|0)){Z=-1;i=1;a=0;break kd}X(55559,52387,1732,188792);L()}a=v[C+12>>2];b=v[a+44>>2];if(b){l=v[a+48>>2];b=l+B(b,716)|0;while(1){a=v[l>>2];if(a){j=v[l+4>>2];c=j+(a<<6)|0;while(1){n=v[j+56>>2];ld:{if(!n){break ld}a=v[j+52>>2];if(!a){break ld}e=B(a,36)+n|0;while(1){if(!(!v[n+4>>2]|v[j+32>>2]<1)){a=v[n>>2];h=0;while(1){md:{if(!v[a+28>>2]){break md}bB(v[a+44>>2],v[a+32>>2]);bB(v[a+48>>2],v[a+36>>2]);q=v[a+24>>2];if(!q){break md}g=v[a+28>>2];E=g;q=B(q,60);o=q-60|0;p=((o>>>0)/60|0)+1&3;if(p){while(1){v[E+48>>2]=v[E+40>>2];v[E+56>>2]=v[E+8>>2];v[E+52>>2]=v[E+16>>2];E=E+60|0;p=p-1|0;if(p){continue}break}}if(o>>>0<180){break md}q=g+q|0;while(1){v[E+48>>2]=v[E+40>>2];v[E+56>>2]=v[E+8>>2];v[E+52>>2]=v[E+16>>2];v[E+108>>2]=v[E+100>>2];v[E+116>>2]=v[E+68>>2];v[E+112>>2]=v[E+76>>2];v[E+168>>2]=v[E+160>>2];v[E+176>>2]=v[E+128>>2];v[E+172>>2]=v[E+136>>2];v[E+228>>2]=v[E+220>>2];v[E+236>>2]=v[E+188>>2];v[E+232>>2]=v[E+196>>2];E=E+240|0;if((q|0)!=(E|0)){continue}break}}a=a+52|0;h=h+1|0;if((h|0)>2]){continue}break}}n=n+36|0;if((e|0)!=(n|0)){continue}break}}j=j- -64|0;if((c|0)!=(j|0)){continue}break}}l=l+716|0;if((b|0)!=(l|0)){continue}break}}m=ui(Q);if((m|0)<=-1){break id}W=(ha+K)*.5;E=v[J+44>>2];nd:{if(!E){break nd}e=v[J+48>>2];N=e+B(E,716)|0;p=e;while(1){a=v[p>>2];if(a){l=v[p+4>>2];Y=l+(a<<6)|0;while(1){n=v[l+56>>2];od:{if(!n){break od}a=v[l+52>>2];if(!a){break od}_=B(a,36)+n|0;while(1){pd:{if(!v[n+4>>2]){break pd}r=v[l+32>>2];if((r|0)<1){break pd}g=v[n>>2];o=0;while(1){q=v[g+28>>2];qd:{if(!q){break qd}a=v[g+24>>2];if(!a){break qd}G=B(a,60)+q|0;while(1){a=v[q+40>>2];rd:{if(!a){break rd}c=a;b=a;j=v[q+4>>2]+B(v[q>>2],72)|0;sd:{if((j|0)==(a|0)){break sd}while(1){h=b+72|0;c=A[b+40>>3]>=W?h:c;b=h;if((j|0)!=(b|0)){continue}break}if((a|0)==(c|0)){break sd}while(1){v[a+32>>2]=f;a=a+72|0;if((c|0)!=(a|0)){continue}break}a=c}if((a|0)==(j|0)){break rd}while(1){v[a+32>>2]=-1;a=a+72|0;if((j|0)!=(a|0)){continue}break}}q=q+60|0;if((G|0)!=(q|0)){continue}break}}g=g+52|0;o=o+1|0;if((r|0)!=(o|0)){continue}break}}n=n+36|0;if((_|0)!=(n|0)){continue}break}}l=l- -64|0;if((Y|0)!=(l|0)){continue}break}}p=p+716|0;if((N|0)!=(p|0)){continue}break}if(!E){break nd}while(1){a=v[e>>2];if(a){b=v[e+4>>2];c=b+(a<<6)|0;while(1){td:{if(!v[b+56>>2]){break td}a=0;if(v[b+32>>2]<=0){break td}while(1){if(NJ(C,Q,(e-v[J+48>>2]|0)/716|0,b-v[e+4>>2]>>6,a,f)){break hd}a=a+1|0;if((a|0)>2]){continue}break}}b=b- -64|0;if((c|0)!=(b|0)){continue}break}}e=e+716|0;if((N|0)!=(e|0)){continue}break}}a=ui(Q);if((a|0)<=-1){break jd}ud:{if((a|0)>(P|0)){K=W;break ud}Z=i?Z>W?W:Z:W;i=1;ha=W}b=v[C+12>>2];c=v[b+44>>2];if(c){n=v[b+48>>2];b=n+B(c,716)|0;while(1){c=v[n>>2];if(c){E=v[n+4>>2];c=E+(c<<6)|0;while(1){j=v[E+56>>2];vd:{if(!j){break vd}e=v[E+52>>2];if(!e){break vd}e=B(e,36)+j|0;while(1){if(!(!v[j+4>>2]|v[E+32>>2]<1)){g=v[j>>2];h=0;while(1){wd:{if(!v[g+28>>2]){break wd}bB(v[g+32>>2],v[g+44>>2]);bB(v[g+36>>2],v[g+48>>2]);q=v[g+24>>2];if(!q){break wd}l=v[g+28>>2];o=l;q=B(q,60);N=q-60|0;p=((N>>>0)/60|0)+1&3;if(p){while(1){v[o+40>>2]=v[o+48>>2];v[o+8>>2]=v[o+56>>2];v[o+16>>2]=v[o+52>>2];o=o+60|0;p=p-1|0;if(p){continue}break}}if(N>>>0<180){break wd}q=l+q|0;while(1){v[o+40>>2]=v[o+48>>2];v[o+8>>2]=v[o+56>>2];v[o+16>>2]=v[o+52>>2];v[o+100>>2]=v[o+108>>2];v[o+68>>2]=v[o+116>>2];v[o+76>>2]=v[o+112>>2];v[o+160>>2]=v[o+168>>2];v[o+128>>2]=v[o+176>>2];v[o+136>>2]=v[o+172>>2];v[o+220>>2]=v[o+228>>2];v[o+188>>2]=v[o+236>>2];v[o+196>>2]=v[o+232>>2];o=o+240|0;if((q|0)!=(o|0)){continue}break}}g=g+52|0;h=h+1|0;if((h|0)>2]){continue}break}}j=j+36|0;if((e|0)!=(j|0)){continue}break}}E=E- -64|0;if((c|0)!=(E|0)){continue}break}}n=n+716|0;if((b|0)!=(n|0)){continue}break}}if((Df(Q,m,0)|0)<=-1){break Xc}if(v[282952]){A[I+24>>3]=W;v[I+20>>2]=a;v[I+16>>2]=P;Sc(56491,I+16|0)}if(ha+-.001>K){a=k>>>0<31;k=k+1|0;if(a){continue}}break}a=0;if(i){break kd}i=0;Sc(56849,0);a=1}if(v[282952]){A[I+8>>3]=Z;v[I>>2]=i;Sc(57202,I)}i=v[J+44>>2];xd:{if(!i){break xd}e=v[J+48>>2];E=e+B(i,716)|0;b=e;p=b;yd:{if(a){while(1){a=v[b>>2];if(a){p=v[b+4>>2];h=p+(a<<6)|0;while(1){g=v[p+56>>2];zd:{if(!g){break zd}a=v[p+52>>2];if(!a){break zd}o=B(a,36)+g|0;while(1){Ad:{if(!v[g+4>>2]){break Ad}n=v[p+32>>2];if((n|0)<1){break Ad}l=v[g>>2];q=0;while(1){c=v[l+28>>2];Bd:{if(!c){break Bd}a=v[l+24>>2];if(!a){break Bd}j=c;k=B(a,60);P=k-60|0;if(!((P>>>0)/60&1)){a=v[c+40>>2];Cd:{if(!a){break Cd}j=v[c+4>>2]+B(v[c>>2],72)|0;if((j|0)==(a|0)){break Cd}while(1){v[a+32>>2]=-1;a=a+72|0;if((j|0)!=(a|0)){continue}break}}j=c+60|0}if(P>>>0<=59){break Bd}c=c+k|0;while(1){a=v[j+40>>2];Dd:{if(!a){break Dd}k=v[j+4>>2]+B(v[j>>2],72)|0;if((k|0)==(a|0)){break Dd}while(1){v[a+32>>2]=-1;a=a+72|0;if((k|0)!=(a|0)){continue}break}}a=v[j+100>>2];Ed:{if(!a){break Ed}k=v[j- -64>>2]+B(v[j+60>>2],72)|0;if((k|0)==(a|0)){break Ed}while(1){v[a+32>>2]=-1;a=a+72|0;if((k|0)!=(a|0)){continue}break}}j=j+120|0;if((c|0)!=(j|0)){continue}break}}l=l+52|0;q=q+1|0;if((n|0)!=(q|0)){continue}break}}g=g+36|0;if((o|0)!=(g|0)){continue}break}}p=p- -64|0;if((h|0)!=(p|0)){continue}break}}b=b+716|0;if((E|0)!=(b|0)){continue}break yd}}while(1){a=v[p>>2];if(a){l=v[p+4>>2];k=l+(a<<6)|0;while(1){n=v[l+56>>2];Fd:{if(!n){break Fd}a=v[l+52>>2];if(!a){break Fd}P=B(a,36)+n|0;while(1){Gd:{if(!v[n+4>>2]){break Gd}N=v[l+32>>2];if((N|0)<1){break Gd}g=v[n>>2];o=0;while(1){q=v[g+28>>2];Hd:{if(!q){break Hd}a=v[g+24>>2];if(!a){break Hd}s=B(a,60)+q|0;while(1){a=v[q+40>>2];Id:{if(!a){break Id}c=a;b=a;j=v[q+4>>2]+B(v[q>>2],72)|0;Jd:{if((j|0)==(a|0)){break Jd}while(1){h=b+72|0;c=A[b+40>>3]>=Z?h:c;b=h;if((j|0)!=(b|0)){continue}break}if((a|0)==(c|0)){break Jd}while(1){v[a+32>>2]=f;a=a+72|0;if((c|0)!=(a|0)){continue}break}a=c}if((a|0)==(j|0)){break Id}while(1){v[a+32>>2]=-1;a=a+72|0;if((j|0)!=(a|0)){continue}break}}q=q+60|0;if((s|0)!=(q|0)){continue}break}}g=g+52|0;o=o+1|0;if((N|0)!=(o|0)){continue}break}}n=n+36|0;if((P|0)!=(n|0)){continue}break}}l=l- -64|0;if((k|0)!=(l|0)){continue}break}}p=p+716|0;if((E|0)!=(p|0)){continue}break}}if(!i){break xd}while(1){a=v[e>>2];if(a){b=v[e+4>>2];c=b+(a<<6)|0;while(1){Kd:{if(!v[b+56>>2]){break Kd}a=0;if(v[b+32>>2]<=0){break Kd}while(1){if(NJ(C,Q,(e-v[J+48>>2]|0)/716|0,b-v[e+4>>2]>>6,a,f)){break hd}a=a+1|0;if((a|0)>2]){continue}break}}b=b- -64|0;if((c|0)!=(b|0)){continue}break}}e=e+716|0;if((E|0)!=(e|0)){continue}break}}f=f+1|0;if((d|0)!=(f|0)){continue}break}}if(v[282952]>=5){l=0;g=Qb-48|0;Qb=g;o=v[C+12>>2];if(v[o+24>>2]>=1){while(1){v[g+32>>2]=l;Sc(53867,g+32|0);i=v[o+44>>2];if((i|0)>=1){h=v[o+48>>2];f=0;while(1){j=v[h>>2];if((j|0)>=1){n=v[h+4>>2];e=0;while(1){d=v[n+56>>2];Ld:{if(!d){break Ld}c=0;i=v[n+52>>2];if((i|0)<1){break Ld}while(1){Md:{if(!v[d+4>>2]){break Md}j=v[n+32>>2];if((j|0)<1){break Md}q=v[d>>2];b=0;while(1){p=v[q+28>>2];Nd:{if(!p){break Nd}a=0;i=v[q+24>>2];if((i|0)<1){break Nd}while(1){if(v[p>>2]>=1){i=v[p+4>>2];j=0;while(1){if(v[i+32>>2]==(l|0)){v[g+24>>2]=j;v[g+20>>2]=a;v[g+16>>2]=b;v[g+12>>2]=c;v[g+8>>2]=e;v[g+4>>2]=f;v[g>>2]=l;Sc(54762,g);i=i+72|0;j=j+1|0;if((j|0)>2]){continue}}break}i=v[q+24>>2]}p=p+60|0;a=a+1|0;if((i|0)>(a|0)){continue}break}j=v[n+32>>2]}q=q+52|0;b=b+1|0;if((j|0)>(b|0)){continue}break}i=v[n+52>>2]}d=d+36|0;c=c+1|0;if((i|0)>(c|0)){continue}break}j=v[h>>2]}n=n- -64|0;e=e+1|0;if((j|0)>(e|0)){continue}break}i=v[o+44>>2]}h=h+716|0;f=f+1|0;if((i|0)>(f|0)){continue}break}}l=l+1|0;if((l|0)>2]){continue}break}}Qb=g+48|0}Te(Q);c=0;break Yc}X(56170,52387,1805,188792);L()}X(55725,52387,1743,188792);L()}c=-1}Qb=I+48|0;break Wc}ia();L()}if(c){break $}c=v[C+32>>2];if(!c){break ba}a=v[C+12>>2];o2(C,0);a=v[a+32>>2];p2(a);Od:{Pd:{if(!QJ(a)){while(1){if(!w[a+101|0]){break Pd}b=-1;if(NJ(C,c,v[a+24>>2],v[a+28>>2],v[a+32>>2],v[a+36>>2])){break Od}if(!QJ(a)){continue}break}}b=0;break Od}X(2611,7578,148,189446);L()}if(b){Sc(65998,0);break $}a=ui(v[C+32>>2]);if((Df(v[C+32>>2],6,0)|0)<0){break $}Ih(v[C+32>>2],a);if((Df(v[C+32>>2],0,0)|0)<0){break $}if(Cm(v[C+4>>2],v[C+32>>2],-1)){break $}v[C+20>>2]=a+v[C+20>>2];Te(v[C+32>>2]);v[C+32>>2]=0;TJ(v[C+12>>2]);v[C+12>>2]=0;aa=aa+1|0;if((aa|0)>=v[H+44>>2]){break ea}c=G2(v[C+8>>2],v[C>>2],aa);v[C+12>>2]=c;if(c){continue}break}}ia();L()}a=Yj(65497);v[C+28>>2]=a;if(!a){break $}if(Xj(v[C+4>>2],v[C+16>>2],a)){Sc(51644,0);break $}ai(v[C+28>>2]);e=0;v[C+28>>2]=0;if(wB(v[C+4>>2])){break $}UJ(C);break b}X(64306,52387,944,188805);L()}X(65288,52387,1175,188848);L()}X(65288,52387,1180,188848);L()}X(51911,52387,1458,188756);L()}Sc(p,0)}UJ(C);e=-1}Qb=R+5216|0;return e|0}X(65099,52387,186,188827);L()}function lS(a){var 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,z=0,A=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,R=0,S=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;ba=Qb-16|0;Qb=ba;a:{while(1){b:{c=v[a+8>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;if((c|0)!=255){if((c|0)!=-1){continue}break b}while(1){c=v[a+8>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;if((c|0)==255){continue}break}c:{switch(c+1|0){case 1:continue;case 0:break b;default:break c}}b=0;if(!((c&-16)==48|c-146>>>0<2|((c|0)==79|(c|0)==217))){b=v[a+8>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break b}g=v[a+8>>2];g=Ub[v[v[g>>2]+28>>2]](g)|0;if((g|0)==-1){break b}b=g|b<<8}d:{e:{f:{g:{h:{i:{j:{k:{switch(c-79|0){case 2:if(f){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,257657,0);a=2;break a}l:{c=v[a+8>>2];m:{if((Ub[v[v[c>>2]+28>>2]](c)|0)==-1){break m}c=v[a+8>>2];if((Ub[v[v[c>>2]+28>>2]](c)|0)==-1){break m}c=v[a+8>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;if((c|0)==-1){break m}b=v[a+8>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break m}g=v[a+8>>2];g=Ub[v[v[g>>2]+28>>2]](g)|0;if((g|0)==-1){break m}f=v[a+8>>2];f=Ub[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break m}v[a+140>>2]=f|(b<<16|c<<24|g<<8);c=v[a+8>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;if((c|0)==-1){break m}b=v[a+8>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break m}g=v[a+8>>2];g=Ub[v[v[g>>2]+28>>2]](g)|0;if((g|0)==-1){break m}f=v[a+8>>2];f=Ub[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break m}v[a+144>>2]=f|(b<<16|c<<24|g<<8);c=v[a+8>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;if((c|0)==-1){break m}b=v[a+8>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break m}g=v[a+8>>2];g=Ub[v[v[g>>2]+28>>2]](g)|0;if((g|0)==-1){break m}f=v[a+8>>2];f=Ub[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break m}v[a+148>>2]=f|(b<<16|c<<24|g<<8);c=v[a+8>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;if((c|0)==-1){break m}b=v[a+8>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break m}g=v[a+8>>2];g=Ub[v[v[g>>2]+28>>2]](g)|0;if((g|0)==-1){break m}f=v[a+8>>2];f=Ub[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break m}v[a+152>>2]=f|(b<<16|c<<24|g<<8);c=v[a+8>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;if((c|0)==-1){break m}b=v[a+8>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break m}g=v[a+8>>2];g=Ub[v[v[g>>2]+28>>2]](g)|0;if((g|0)==-1){break m}f=v[a+8>>2];f=Ub[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break m}v[a+156>>2]=f|(b<<16|c<<24|g<<8);c=v[a+8>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;if((c|0)==-1){break m}b=v[a+8>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break m}g=v[a+8>>2];g=Ub[v[v[g>>2]+28>>2]](g)|0;if((g|0)==-1){break m}f=v[a+8>>2];f=Ub[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break m}v[a+160>>2]=f|(b<<16|c<<24|g<<8);c=v[a+8>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;if((c|0)==-1){break m}b=v[a+8>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break m}g=v[a+8>>2];g=Ub[v[v[g>>2]+28>>2]](g)|0;if((g|0)==-1){break m}f=v[a+8>>2];f=Ub[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break m}v[a+164>>2]=f|(b<<16|c<<24|g<<8);c=v[a+8>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;if((c|0)==-1){break m}b=v[a+8>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break m}g=v[a+8>>2];g=Ub[v[v[g>>2]+28>>2]](g)|0;if((g|0)==-1){break m}f=v[a+8>>2];f=Ub[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break m}v[a+168>>2]=f|(b<<16|c<<24|g<<8);c=v[a+8>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;if((c|0)==-1){break m}b=v[a+8>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)!=-1){break l}}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229186,0);a=2;break a}h=b|c<<8;v[a+188>>2]=h;if(!(!v[a+32>>2]|(h|0)==v[a+12>>2])){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229129,0);a=2;break a}n:{f=v[a+140>>2];o:{if(!f){break o}d=v[a+144>>2];if(!d){break o}e=v[a+148>>2];if(e>>>0>=f>>>0){break o}g=v[a+152>>2];if(g>>>0>=d>>>0){break o}c=v[a+156>>2];if(!c){break o}b=v[a+160>>2];if(!b){break o}j=v[a+164>>2];if(j>>>0>e>>>0){break o}l=v[a+168>>2];if(l>>>0>g>>>0|e>>>0>=c+j>>>0|g>>>0>=b+l>>>0){break o}if(h){break n}}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229186,0);a=2;break a}n=(b+d|0)+(l^-1)|0;l=(n>>>0)/(b>>>0)|0;v[a+196>>2]=l;o=(c+f|0)+(j^-1)|0;j=(o>>>0)/(c>>>0)|0;v[a+192>>2]=j;r=g;g=v[a+28>>2];h=-1<>2]=r+h>>>g;v[a+180>>2]=e+h>>>g;v[a+176>>2]=d+h>>>g;v[a+172>>2]=f+h>>>g;if(!(!(c>>>0>o>>>0|b>>>0>n>>>0)&j>>>0<2147483647/(l>>>0)>>>0)){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229088,0);a=2;break a}g=ed(B(j,l),64);v[a+200>>2]=g;f=B(v[a+196>>2],v[a+192>>2]);if(!f){break d}b=f&3;c=0;if(f-1>>>0>=3){l=f&-4;while(1){d=c<<6;e=d+g|0;v[e+56>>2]=0;v[e+60>>2]=0;v[e>>2]=0;e=g+(d|64)|0;v[e+56>>2]=0;v[e+60>>2]=0;v[e>>2]=0;e=g+(d|128)|0;v[e+56>>2]=0;v[e+60>>2]=0;v[e>>2]=0;d=g+(d|192)|0;v[d+56>>2]=0;v[d+60>>2]=0;v[d>>2]=0;c=c+4|0;l=l-4|0;if(l){continue}break}}if(b){while(1){d=g+(c<<6)|0;v[d+56>>2]=0;v[d+60>>2]=0;v[d>>2]=0;c=c+1|0;b=b-1|0;if(b){continue}break}}l=0;if(!f){break d}while(1){g=ed(v[a+188>>2],88);v[(v[a+200>>2]+(l<<6)|0)+60>>2]=g;f=v[a+188>>2];p:{if(!f){break p}c=0;if((f|0)!=1){b=f&-2;while(1){d=g+B(c,88)|0;v[d+84>>2]=0;v[d+76>>2]=0;v[d+80>>2]=0;v[d+44>>2]=0;d=g+B(c|1,88)|0;v[d+84>>2]=0;v[d+76>>2]=0;v[d+80>>2]=0;v[d+44>>2]=0;c=c+2|0;b=b-2|0;if(b){continue}break}}if(!(f&1)){break p}c=g+B(c,88)|0;v[c+84>>2]=0;v[c+76>>2]=0;v[c+80>>2]=0;v[c+44>>2]=0}l=l+1|0;if(l>>>0>2],v[a+192>>2])>>>0){continue}break};break d;case 3:if(!f){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,230413,0);a=2;break a}q:{c=v[a+8>>2];h=Ub[v[v[c>>2]+28>>2]](c)|0;r:{if((h|0)==-1){break r}c=v[a+8>>2];l=Ub[v[v[c>>2]+28>>2]](c)|0;if((l|0)==-1){break r}c=v[a+8>>2];f=Ub[v[v[c>>2]+28>>2]](c)|0;if((f|0)==-1){break r}c=v[a+8>>2];e=Ub[v[v[c>>2]+28>>2]](c)|0;if((e|0)==-1){break r}c=v[a+8>>2];n=Ub[v[v[c>>2]+28>>2]](c)|0;if((n|0)==-1){break r}c=v[a+8>>2];g=Ub[v[v[c>>2]+28>>2]](c)|0;if((g|0)==-1){break r}c=v[a+8>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;if((c|0)==-1){break r}b=v[a+8>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break r}d=v[a+8>>2];o=Ub[v[v[d>>2]+28>>2]](d)|0;if((o|0)==-1){break r}d=v[a+8>>2];p=Ub[v[v[d>>2]+28>>2]](d)|0;if((p|0)!=-1){break q}}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229574,0);a=2;break a}if(!(!(g-1>>>0>30|c>>>0>8)&b>>>0<9)){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229574,0);a=2;break a}d=v[a+196>>2];j=v[a+192>>2];if(B(d,j)){q=e|f<<8;F=g+1|0;H=b+2|0;A=c+2|0;e=v[a+188>>2];f=0;while(1){k=f<<6;c=k+v[a+200>>2]|0;v[c+12>>2]=n;v[c+8>>2]=q;v[c+4>>2]=l;b=0;c=0;if(e){while(1){e=B(b,88);c=e+v[(k+v[a+200>>2]|0)+60>>2]|0;v[c+36>>2]=p;v[c+32>>2]=o;v[c+28>>2]=H;v[c+24>>2]=A;v[c+20>>2]=g;v[c+16>>2]=h;d=ed(F,100);v[(e+v[(k+v[a+200>>2]|0)+60>>2]|0)+84>>2]=d;c=0;while(1){v[(d+B(c,100)|0)+96>>2]=0;c=c+1|0;if(g>>>0>=c>>>0){continue}break}b=b+1|0;c=v[a+188>>2];if(b>>>0>>0){continue}break}j=v[a+192>>2];d=v[a+196>>2]}e=c;f=f+1|0;if(f>>>0>>0){continue}break}}f=h&1;c=0;while(1){s:{if(f){b=v[a+8>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229574,0);a=2;break a}e=v[v[v[a+200>>2]+60>>2]+84>>2];v[e+B(c,100)>>2]=b&15;b=b>>>4&15;break s}e=v[v[v[a+200>>2]+60>>2]+84>>2];v[e+B(c,100)>>2]=15;b=15}v[(B(c,100)+e|0)+4>>2]=b;c=c+1|0;if(g>>>0>=c>>>0){continue}break};break e;case 4:if(!k){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,230585,0);a=2;break a}t:{u:{v:{w:{if(y[a+188>>2]<257){break w}c=v[a+8>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;if((c|0)==-1){break u}b=v[a+8>>2];g=Ub[v[v[b>>2]+28>>2]](b)|0;if((g|0)==-1){break u}b=v[a+188>>2];if(b>>>0<=256){break w}c=g|c<<8;break v}c=v[a+8>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;if((c|0)==-1){break u}b=v[a+188>>2]}if(b>>>0<=c>>>0){break u}b=v[a+8>>2];g=Ub[v[v[b>>2]+28>>2]](b)|0;if((g|0)==-1){break u}b=v[a+8>>2];d=Ub[v[v[b>>2]+28>>2]](b)|0;if((d|0)==-1){break u}b=v[a+8>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break u}e=v[a+8>>2];e=Ub[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){break u}h=v[a+8>>2];j=Ub[v[v[h>>2]+28>>2]](h)|0;if((j|0)==-1){break u}h=v[a+8>>2];k=Ub[v[v[h>>2]+28>>2]](h)|0;if((k|0)!=-1){break t}}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229738,0);a=2;break a}if(!(!(d-1>>>0>30|b>>>0>8)&e>>>0<9)){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229738,0);a=2;break a}h=g&1;g=B(c,88);l=v[a+200>>2];if(!B(v[a+196>>2],v[a+192>>2])){break f}c=v[l+60>>2];n=h|v[(g+c|0)+16>>2]&-2;o=d+1|0;p=e+2|0;q=b+2|0;b=0;while(1){c=c+g|0;v[c+36>>2]=k;v[c+32>>2]=j;v[c+28>>2]=p;v[c+24>>2]=q;v[c+20>>2]=d;v[c+16>>2]=n;e=pd(v[c+84>>2],o,100);l=v[a+200>>2];v[(g+v[(l+(b<<6)|0)+60>>2]|0)+84>>2]=e;c=0;while(1){v[(e+B(c,100)|0)+96>>2]=0;c=c+1|0;if(d>>>0>=c>>>0){continue}break}b=b+1|0;if(b>>>0>=B(v[a+196>>2],v[a+192>>2])>>>0){break f}c=v[((b<<6)+l|0)+60>>2];continue};case 13:if(!f){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,230455,0);a=2;break a}c=v[v[a+200>>2]+60>>2];g=v[a+8>>2];g=Ub[v[v[g>>2]+28>>2]](g)|0;if((g|0)==-1){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229640,0);a=2;break a}v[c+40>>2]=g;x:{y:{z:{A:{c=v[v[a+200>>2]+60>>2];switch(v[c+40>>2]&31){case 2:break y;case 1:break z;case 0:break A;default:break x}}if(b>>>0<=3){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229640,0);a=2;break a}b=b-3|0;v[c+48>>2]=b;b=pd(v[c+44>>2],b,4);c=v[v[a+200>>2]+60>>2];v[c+44>>2]=b;if(!v[c+48>>2]){break g}c=v[a+8>>2];e=Ub[v[v[c>>2]+28>>2]](c)|0;if((e|0)!=-1){c=0;while(1){v[(c<<2)+b>>2]=e;c=c+1|0;b=v[v[a+200>>2]+60>>2];if(c>>>0>=y[b+48>>2]){break g}b=v[b+44>>2];g=v[a+8>>2];e=Ub[v[v[g>>2]+28>>2]](g)|0;if((e|0)!=-1){continue}break}}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229640,0);a=2;break a}v[c+48>>2]=1;c=pd(v[c+44>>2],1,4);v[v[v[a+200>>2]+60>>2]+44>>2]=c;B:{b=v[a+8>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break B}g=v[a+8>>2];g=Ub[v[v[g>>2]+28>>2]](g)|0;if((g|0)==-1){break B}v[c>>2]=g|b<<8;break g}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229640,0);a=2;break a}if(b>>>0<=4){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229640,0);a=2;break a}b=b-3>>>1|0;v[c+48>>2]=b;b=pd(v[c+44>>2],b,4);c=v[v[a+200>>2]+60>>2];v[c+44>>2]=b;if(!v[c+48>>2]){break g}c=v[a+8>>2];e=Ub[v[v[c>>2]+28>>2]](c)|0;if((e|0)==-1){break h}c=0;while(1){g=v[a+8>>2];g=Ub[v[v[g>>2]+28>>2]](g)|0;if((g|0)==-1){break h}v[b>>2]=g|e<<8;c=c+1|0;b=v[v[a+200>>2]+60>>2];if(c>>>0>=y[b+48>>2]){break g}b=v[b+44>>2]+(c<<2)|0;g=v[a+8>>2];e=Ub[v[v[g>>2]+28>>2]](g)|0;if((e|0)!=-1){continue}break}break h}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229640,0);a=2;break a;case 14:if(!i){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,230627,0);a=2;break a}C:{D:{E:{F:{if(y[a+188>>2]<257){break F}c=v[a+8>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;if((c|0)==-1){break D}g=v[a+8>>2];g=Ub[v[v[g>>2]+28>>2]](g)|0;if((g|0)==-1){break D}e=v[a+188>>2];if(e>>>0<=256){break F}c=g|c<<8;break E}c=v[a+8>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;if((c|0)==-1){break D}e=v[a+188>>2]}if(c>>>0>=e>>>0){break D}g=v[v[a+200>>2]+60>>2];d=v[a+8>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((d|0)!=-1){break C}}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229804,0);a=2;break a}h=g;g=B(c,88);v[(h+g|0)+40>>2]=d;G:{H:{I:{J:{c=g+v[v[a+200>>2]+60>>2]|0;switch(v[c+40>>2]&31){case 2:break H;case 1:break I;case 0:break J;default:break G}}d=y[a+188>>2]>256?5:4;if(d>>>0>=b>>>0){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229804,0);a=2;break a}b=b-d|0;v[c+48>>2]=b;b=pd(v[c+44>>2],b,4);c=g+v[v[a+200>>2]+60>>2]|0;v[c+44>>2]=b;if(!v[c+48>>2]){break i}c=v[a+8>>2];e=Ub[v[v[c>>2]+28>>2]](c)|0;if((e|0)!=-1){c=0;while(1){v[(c<<2)+b>>2]=e;c=c+1|0;b=g+v[v[a+200>>2]+60>>2]|0;if(c>>>0>=y[b+48>>2]){break i}b=v[b+44>>2];d=v[a+8>>2];e=Ub[v[v[d>>2]+28>>2]](d)|0;if((e|0)!=-1){continue}break}}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229804,0);a=2;break a}v[c+48>>2]=1;c=pd(v[c+44>>2],1,4);v[(g+v[v[a+200>>2]+60>>2]|0)+44>>2]=c;K:{b=v[a+8>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break K}d=v[a+8>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break K}v[c>>2]=d|b<<8;break i}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229804,0);a=2;break a}d=y[a+188>>2]>256?5:4;if((d|2)>>>0>b>>>0){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229804,0);a=2;break a}b=b-d>>>1|0;v[c+48>>2]=b;b=pd(v[c+44>>2],b,4);c=g+v[v[a+200>>2]+60>>2]|0;v[c+44>>2]=b;if(!v[c+48>>2]){break i}c=v[a+8>>2];e=Ub[v[v[c>>2]+28>>2]](c)|0;if((e|0)==-1){break j}c=0;while(1){d=v[a+8>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break j}v[b>>2]=d|e<<8;c=c+1|0;b=g+v[v[a+200>>2]+60>>2]|0;if(c>>>0>=y[b+48>>2]){break i}b=v[b+44>>2]+(c<<2)|0;d=v[a+8>>2];e=Ub[v[v[d>>2]+28>>2]](d)|0;if((e|0)!=-1){continue}break}break j}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229804,0);a=2;break a;case 15:kc(6,-1,230519,0);if(b>>>0<3){continue}c=v[a+8>>2];b=b-2|0;if((Ub[v[v[c>>2]+48>>2]](c,b)|0)==(b|0)){continue}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229348,0);a=2;break a;case 16:kc(6,-1,230669,0);if(b>>>0<3){continue}c=v[a+8>>2];b=b-2|0;if((Ub[v[v[c>>2]+48>>2]](c,b)|0)==(b|0)){continue}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229672,0);a=2;break a;case 17:kc(6,-1,230563,0);if(b>>>0<3){continue}c=v[a+8>>2];b=b-2|0;if((Ub[v[v[c>>2]+48>>2]](c,b)|0)==(b|0)){continue}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229380,0);a=2;break a;case 6:if(b>>>0<3){continue}c=v[a+8>>2];b=b-2|0;if((Ub[v[v[c>>2]+48>>2]](c,b)|0)==(b|0)){continue}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229444,0);a=2;break a;case 8:if(b>>>0<3){continue}c=v[a+8>>2];b=b-2|0;if((Ub[v[v[c>>2]+48>>2]](c,b)|0)==(b|0)){continue}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229476,0);a=2;break a;case 20:if(b>>>0<3){continue}c=v[a+8>>2];b=b-2|0;if((Ub[v[v[c>>2]+48>>2]](c,b)|0)==(b|0)){continue}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229508,0);a=2;break a;case 21:if(b>>>0<3){continue}c=v[a+8>>2];b=b-2|0;if((Ub[v[v[c>>2]+48>>2]](c,b)|0)==(b|0)){continue}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229412,0);a=2;break a;default:g=Ub[v[v[a>>2]+52>>2]](a)|0;v[ba>>2]=c;kc(1,g,257459,ba);if(b>>>0<3){continue}c=v[a+8>>2];Ub[v[v[c>>2]+48>>2]](c,b-2|0)|0;continue;case 65:break k;case 0:continue}}if(!f){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,257616,0);a=2;break a}if(!k){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,257700,0);a=2;break a}L:{M:{N:{if(i){while(1){C=0;ca=Qb-16|0;Qb=ca;O:{P:{c=v[a+8>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;Q:{if((c|0)==-1){break Q}b=v[a+8>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break Q}g=v[a+8>>2];g=Ub[v[v[g>>2]+28>>2]](g)|0;if((g|0)==-1){break Q}f=v[a+8>>2];d=Ub[v[v[f>>2]+28>>2]](f)|0;if((d|0)==-1){break Q}f=v[a+8>>2];e=Ub[v[v[f>>2]+28>>2]](f)|0;if((e|0)==-1){break Q}f=v[a+8>>2];h=Ub[v[v[f>>2]+28>>2]](f)|0;if((h|0)==-1){break Q}f=v[a+8>>2];f=Ub[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break Q}j=v[a+8>>2];if((Ub[v[v[j>>2]+28>>2]](j)|0)!=-1){break P}}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229250,0);f=0;break O}R:{s=b|c<<8;S:{if(s>>>0>=B(v[a+196>>2],v[a+192>>2])>>>0){break S}c=v[a+200>>2]+(s<<6)|0;if((f|0)!=v[c+56>>2]){break S}b=v[c>>2];if(f){if(!b){break S}break R}if(!b){break R}}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,257802,0);f=0;break O}v[c+56>>2]=f+1;c=h|(d<<16|g<<24|e<<8);g=c-12|0;da=!c;c=s<<6;T:while(1){U:{b=v[a+8>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)!=255){if((b|0)!=-1){continue}break U}while(1){b=v[a+8>>2];d=Ub[v[v[b>>2]+28>>2]](b)|0;if((d|0)==255){continue}break}V:{switch(d+1|0){case 1:continue;case 0:break U;default:break V}}b=0;if(!((d&-16)==48|d-146>>>0<2|((d|0)==79|(d|0)==217))){b=v[a+8>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break U}e=v[a+8>>2];e=Ub[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){break U}b=e|b<<8}g=(g-b|0)-2|0;W:{X:{Y:{Z:{_:{$:{aa:{ba:{ca:{da:{switch(d-82|0){case 0:if(f){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229540,0);f=0;break O}ea:{b=v[a+8>>2];k=Ub[v[v[b>>2]+28>>2]](b)|0;fa:{if((k|0)==-1){break fa}b=v[a+8>>2];d=Ub[v[v[b>>2]+28>>2]](b)|0;if((d|0)==-1){break fa}b=v[a+8>>2];e=Ub[v[v[b>>2]+28>>2]](b)|0;if((e|0)==-1){break fa}b=v[a+8>>2];n=Ub[v[v[b>>2]+28>>2]](b)|0;if((n|0)==-1){break fa}b=v[a+8>>2];o=Ub[v[v[b>>2]+28>>2]](b)|0;if((o|0)==-1){break fa}b=v[a+8>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break fa}h=v[a+8>>2];i=Ub[v[v[h>>2]+28>>2]](h)|0;if((i|0)==-1){break fa}h=v[a+8>>2];l=Ub[v[v[h>>2]+28>>2]](h)|0;if((l|0)==-1){break fa}h=v[a+8>>2];p=Ub[v[v[h>>2]+28>>2]](h)|0;if((p|0)==-1){break fa}h=v[a+8>>2];F=Ub[v[v[h>>2]+28>>2]](h)|0;if((F|0)!=-1){break ea}}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229574,0);f=0;break O}if(!(!(b-1>>>0>30|i>>>0>8)&l>>>0<9)){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229574,0);f=0;break O}j=v[a+200>>2];h=c+j|0;v[h+12>>2]=o;v[h+8>>2]=n|e<<8;v[h+4>>2]=d;e=0;d=0;if(v[a+188>>2]){o=b+1|0;l=l+2|0;H=i+2|0;n=v[h+60>>2];q=0;while(1){h=B(q,88);d=h+n|0;v[d+36>>2]=F;v[d+32>>2]=p;v[d+28>>2]=l;v[d+24>>2]=H;v[d+20>>2]=b;v[d+16>>2]=k;d=pd(v[d+84>>2],o,100);j=v[a+200>>2];n=v[(c+j|0)+60>>2];v[(h+n|0)+84>>2]=d;i=0;while(1){v[(d+B(i,100)|0)+96>>2]=0;i=i+1|0;if(b>>>0>=i>>>0){continue}break}d=v[a+188>>2];q=q+1|0;if(d>>>0>q>>>0){continue}break}}if(!(k&1)){e=v[v[(c+j|0)+60>>2]+84>>2];i=0;while(1){h=e+B(i,100)|0;v[h>>2]=15;v[h+4>>2]=15;i=i+1|0;if(b>>>0>=i>>>0){continue}break}break W}while(1){d=v[a+8>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((d|0)!=-1){h=v[v[(c+v[a+200>>2]|0)+60>>2]+84>>2]+B(e,100)|0;v[h+4>>2]=d>>>4&15;v[h>>2]=d&15;e=e+1|0;if(b>>>0>=e>>>0){continue}break X}break};kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229574,0);f=0;break O;case 1:if(f){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229704,0);f=0;break O}ga:{ha:{ia:{ja:{if(y[a+188>>2]<257){break ja}b=v[a+8>>2];d=Ub[v[v[b>>2]+28>>2]](b)|0;if((d|0)==-1){break ha}b=v[a+8>>2];e=Ub[v[v[b>>2]+28>>2]](b)|0;if((e|0)==-1){break ha}b=v[a+188>>2];if(b>>>0<=256){break ja}i=e|d<<8;break ia}b=v[a+8>>2];i=Ub[v[v[b>>2]+28>>2]](b)|0;if((i|0)==-1){break ha}b=v[a+188>>2]}if(b>>>0<=i>>>0){break ha}b=v[a+8>>2];k=Ub[v[v[b>>2]+28>>2]](b)|0;if((k|0)==-1){break ha}b=v[a+8>>2];d=Ub[v[v[b>>2]+28>>2]](b)|0;if((d|0)==-1){break ha}b=v[a+8>>2];e=Ub[v[v[b>>2]+28>>2]](b)|0;if((e|0)==-1){break ha}b=v[a+8>>2];h=Ub[v[v[b>>2]+28>>2]](b)|0;if((h|0)==-1){break ha}b=v[a+8>>2];l=Ub[v[v[b>>2]+28>>2]](b)|0;if((l|0)==-1){break ha}b=v[a+8>>2];n=Ub[v[v[b>>2]+28>>2]](b)|0;if((n|0)!=-1){break ga}}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229738,0);f=0;break O}if(!(!(d-1>>>0>30|e>>>0>8)&h>>>0<9)){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229738,0);f=0;break O}j=B(i,88);b=j+v[(c+v[a+200>>2]|0)+60>>2]|0;v[b+36>>2]=n;v[b+32>>2]=l;v[b+28>>2]=h+2;v[b+24>>2]=e+2;v[b+20>>2]=d;e=k&1;v[b+16>>2]=e|v[b+16>>2]&-2;b=pd(v[b+84>>2],d+1|0,100);v[(j+v[(c+v[a+200>>2]|0)+60>>2]|0)+84>>2]=b;i=0;while(1){v[(b+B(i,100)|0)+96>>2]=0;i=i+1|0;if(d>>>0>=i>>>0){continue}break};break Y;case 10:if(f){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229606,0);f=0;break O}d=v[(c+v[a+200>>2]|0)+60>>2];e=v[a+8>>2];e=Ub[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229640,0);f=0;break O}v[d+40>>2]=e;ka:{la:{ma:{na:{oa:{d=v[(c+v[a+200>>2]|0)+60>>2];switch(v[d+40>>2]&31){case 2:break ma;case 1:break na;case 0:break oa;default:break la}}if(b>>>0<=3){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229640,0);f=0;break O}b=b-3|0;v[d+48>>2]=b;b=pd(v[d+44>>2],b,4);d=v[(c+v[a+200>>2]|0)+60>>2];v[d+44>>2]=b;if(!v[d+48>>2]){break ka}d=v[a+8>>2];e=Ub[v[v[d>>2]+28>>2]](d)|0;if((e|0)!=-1){i=0;while(1){v[(i<<2)+b>>2]=e;i=i+1|0;b=v[(c+v[a+200>>2]|0)+60>>2];if(i>>>0>=y[b+48>>2]){break ka}b=v[b+44>>2];d=v[a+8>>2];e=Ub[v[v[d>>2]+28>>2]](d)|0;if((e|0)!=-1){continue}break}}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229640,0);f=0;break O}v[d+48>>2]=1;b=pd(v[d+44>>2],1,4);v[v[(c+v[a+200>>2]|0)+60>>2]+44>>2]=b;if(jS(a,b)){break ka}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229640,0);f=0;break O}if(b>>>0<=4){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229640,0);f=0;break O}b=b-3>>>1|0;v[d+48>>2]=b;b=pd(v[d+44>>2],b,4);d=v[(c+v[a+200>>2]|0)+60>>2];v[d+44>>2]=b;if(!v[d+48>>2]){break ka}d=v[a+8>>2];e=Ub[v[v[d>>2]+28>>2]](d)|0;if((e|0)==-1){break Z}i=0;while(1){d=v[a+8>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break Z}v[b>>2]=d|e<<8;i=i+1|0;b=v[(c+v[a+200>>2]|0)+60>>2];if(i>>>0>=y[b+48>>2]){break ka}b=v[b+44>>2]+(i<<2)|0;d=v[a+8>>2];e=Ub[v[v[d>>2]+28>>2]](d)|0;if((e|0)!=-1){continue}break}break Z}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229640,0);f=0;break O}if(y[a+188>>2]<2){continue}e=v[(c+v[a+200>>2]|0)+60>>2];b=v[e+48>>2];d=1;while(1){h=v[e+40>>2];j=B(d,88);e=j+e|0;v[e+48>>2]=b;v[e+40>>2]=h;h=pd(v[e+44>>2],b,4);e=v[(c+v[a+200>>2]|0)+60>>2];v[(j+e|0)+44>>2]=h;pa:{if(!v[e+48>>2]){b=0;break pa}j=v[e+44>>2];i=0;while(1){b=i<<2;v[b+h>>2]=v[b+j>>2];b=v[e+48>>2];i=i+1|0;if(b>>>0>i>>>0){continue}break}}d=d+1|0;if(d>>>0>2]){continue}break};continue;case 11:if(f){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229770,0);f=0;break O}qa:{ra:{sa:{ta:{if(y[a+188>>2]<257){break ta}d=v[a+8>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break ra}e=v[a+8>>2];h=Ub[v[v[e>>2]+28>>2]](e)|0;if((h|0)==-1){break ra}e=v[a+188>>2];if(e>>>0<=256){break ta}i=h|d<<8;break sa}d=v[a+8>>2];i=Ub[v[v[d>>2]+28>>2]](d)|0;if((i|0)==-1){break ra}e=v[a+188>>2]}if(e>>>0<=i>>>0){break ra}d=v[(c+v[a+200>>2]|0)+60>>2];e=v[a+8>>2];e=Ub[v[v[e>>2]+28>>2]](e)|0;if((e|0)!=-1){break qa}}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229804,0);f=0;break O}h=d;d=B(i,88);v[(h+d|0)+40>>2]=e;ua:{va:{wa:{xa:{e=d+v[(c+v[a+200>>2]|0)+60>>2]|0;switch(v[e+40>>2]&31){case 2:break va;case 1:break wa;case 0:break xa;default:break ua}}h=y[a+188>>2]>256?5:4;if(h>>>0>=b>>>0){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229804,0);f=0;break O}b=b-h|0;v[e+48>>2]=b;b=pd(v[e+44>>2],b,4);e=d+v[(c+v[a+200>>2]|0)+60>>2]|0;v[e+44>>2]=b;if(!v[e+48>>2]){continue}e=v[a+8>>2];q=Ub[v[v[e>>2]+28>>2]](e)|0;if((q|0)!=-1){i=0;while(1){v[(i<<2)+b>>2]=q;i=i+1|0;b=d+v[(c+v[a+200>>2]|0)+60>>2]|0;if(i>>>0>=y[b+48>>2]){continue T}b=v[b+44>>2];e=v[a+8>>2];q=Ub[v[v[e>>2]+28>>2]](e)|0;if((q|0)!=-1){continue}break}}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229804,0);f=0;break O}v[e+48>>2]=1;b=pd(v[e+44>>2],1,4);v[(d+v[(c+v[a+200>>2]|0)+60>>2]|0)+44>>2]=b;if(jS(a,b)){continue}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229804,0);f=0;break O}h=y[a+188>>2]>256?5:4;if((h|2)>>>0>b>>>0){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229804,0);f=0;break O}b=b-h>>>1|0;v[e+48>>2]=b;b=pd(v[e+44>>2],b,4);e=d+v[(c+v[a+200>>2]|0)+60>>2]|0;v[e+44>>2]=b;if(!v[e+48>>2]){continue}e=v[a+8>>2];q=Ub[v[v[e>>2]+28>>2]](e)|0;if((q|0)==-1){break _}i=0;while(1){e=v[a+8>>2];e=Ub[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){break _}v[b>>2]=e|q<<8;i=i+1|0;b=d+v[(c+v[a+200>>2]|0)+60>>2]|0;if(i>>>0>=y[b+48>>2]){continue T}b=v[b+44>>2]+(i<<2)|0;e=v[a+8>>2];q=Ub[v[v[e>>2]+28>>2]](e)|0;if((q|0)!=-1){continue}break}break _}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229804,0);f=0;break O;case 12:if(f){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229314,0);f=0;break O}kc(6,-1,230541,0);if(b>>>0<3){continue}d=v[a+8>>2];b=b-2|0;if((Ub[v[v[d>>2]+48>>2]](d,b)|0)==(b|0)){continue}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229348,0);f=0;break O;case 13:kc(6,-1,230691,0);if(b>>>0<3){continue}d=v[a+8>>2];b=b-2|0;if((Ub[v[v[d>>2]+48>>2]](d,b)|0)==(b|0)){continue}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229672,0);f=0;break O;case 15:kc(6,-1,230497,0);if(b>>>0<3){continue}i=b-2|0;b=v[a+8>>2];if((i|0)==(Ub[v[v[b>>2]+48>>2]](b,i)|0)){break ca}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229218,0);f=0;break O;case 65:break $;case 18:break ba;case 6:break da;default:break aa}}if(b>>>0<3){continue}i=b-2|0}b=v[a+8>>2];if((Ub[v[v[b>>2]+48>>2]](b,i)|0)==(i|0)){continue}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229282,0);f=0;break O}if(b>>>0<3){continue}d=v[a+8>>2];b=b-2|0;if((Ub[v[v[d>>2]+48>>2]](d,b)|0)==(b|0)){continue}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229412,0);f=0;break O}e=Ub[v[v[a>>2]+52>>2]](a)|0;v[ca>>2]=d;kc(1,e,256383,ca);if(b>>>0<3){continue}d=v[a+8>>2];Ub[v[v[d>>2]+48>>2]](d,b-2|0)|0;continue}ya:{b=v[a+188>>2];if(b){d=v[(v[a+200>>2]+(s<<6)|0)+60>>2];j=0;while(1){za:{Aa:{Ba:{Ca:{c=d+B(j,88)|0;switch(v[c+40>>2]&31){case 0:break Aa;case 2:break Ba;case 1:break Ca;default:break za}}if(!v[c+48>>2]){break ya}break za}if(y[c+48>>2]>=B(v[c+20>>2],3)>>>0){break za}break ya}if(y[c+48>>2]>2],3)>>>0){break ya}}j=j+1|0;if((b|0)!=(j|0)){continue}break}}if(!f){b=v[a+192>>2];c=(s>>>0)/(b>>>0)|0;E=v[a+200>>2]+(s<<6)|0;f=v[a+148>>2];b=s-B(b,c)|0;d=v[a+164>>2]+B(b,v[a+156>>2])|0;v[E+16>>2]=d>>>0>>0?f:d;f=v[a+152>>2];d=v[a+168>>2]+B(c,v[a+160>>2])|0;v[E+20>>2]=d>>>0>>0?f:d;f=v[a+140>>2];b=v[a+164>>2]+B(v[a+156>>2],b+1|0)|0;v[E+24>>2]=b>>>0>f>>>0?f:b;b=v[a+144>>2];f=v[a+168>>2];d=v[a+160>>2];v[E+32>>2]=0;v[E+36>>2]=0;v[E+40>>2]=0;v[E+44>>2]=0;v[E+48>>2]=0;v[E+52>>2]=0;c=f+B(d,c+1|0)|0;v[E+28>>2]=b>>>0>>0?b:c;Da:{if(!v[a+188>>2]){break Da}i=0;while(1){A=v[E+60>>2]+B(C,88)|0;c=v[A+20>>2];if(c>>>0>i>>>0){v[E+32>>2]=c}c=v[A+8>>2];f=c-1|0;d=(f+v[E+16>>2]>>>0)/(c>>>0)|0;v[A+52>>2]=d;b=v[A+12>>2];e=b-1|0;h=(e+v[E+20>>2]>>>0)/(b>>>0)|0;v[A+56>>2]=h;j=(f+v[E+24>>2]>>>0)/(c>>>0)|0;v[A+60>>2]=j;c=(e+v[E+28>>2]>>>0)/(b>>>0)|0;v[A+64>>2]=c;f=c;c=v[a+28>>2];b=-1<>>c)-(b+h>>>c)|0;v[A+72>>2]=f;c=(b+j>>>c)-(b+d>>>c)|0;v[A+68>>2]=c;if(!(f?c:0)){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,257839,0);f=0;break O}fa=A,ga=ed(B(c,f),4),v[fa+76>>2]=ga;c=v[A+60>>2]-v[A+52>>2]|0;ea=A- -64|0;b=v[ea>>2]-v[A+56>>2]|0;fa=A,ga=ed((b>>>0>>0?c:b)+8|0,4),v[fa+80>>2]=ga;j=v[A+20>>2];o=0;while(1){b=v[A+84>>2];k=b+B(o,100)|0;c=j-o|0;h=-1<>2]>>>c|0;v[k+12>>2]=d;f=h+v[A+56>>2]>>>c|0;v[k+16>>2]=f;e=h+v[A+60>>2]>>>c|0;v[k+20>>2]=e;h=h+v[ea>>2]>>>c|0;v[k+24>>2]=h;c=v[A+24>>2];j=v[k>>2];i=j-((o|0)!=0)|0;c=c>>>0>>0?c:i;v[k+76>>2]=c;v[k+84>>2]=1<>2];c=l;if(o){i=v[k+4>>2]-1|0}else{i=v[b+4>>2]}c=i>>>0>l>>>0?c:i;v[r+80>>2]=c;v[k+88>>2]=1<>2]=h;v[b+52>>2]=e;v[b+40>>2]=f;v[b+28>>2]=d;R=1;I=1;break Ea}p=h+1>>>1|0;v[k+64>>2]=p;c=e>>>1|0;v[k+52>>2]=c;q=f+1>>>1|0;v[k+40>>2]=q;b=d>>>1|0;v[k+28>>2]=b;i=h>>>1|0;v[k+68>>2]=i;F=e+1>>>1|0;v[k+56>>2]=F;l=f>>>1|0;v[k+44>>2]=l;H=d+1>>>1|0;v[k+32>>2]=H;v[k+72>>2]=i;v[k+60>>2]=c;v[k+48>>2]=l;v[k+36>>2]=b;I=3;R=0;if(!n){n=0;break Ea}c=(b|0)==(c|0);if(!(c|(p|0)==(q|0))){n=0;break Ea}b=(i|0)==(l|0);n=(b|(F|0)==(H|0))&(b|c)}v[k+92>>2]=n;c=v[k+4>>2];U=h+(-1<>>c|0;f=f>>>c|0;V=e+(-1<>>j|0;l=d>>>j|0;c=B(U-f|0,V-l|0);v[k+8>>2]=c;c=ed(c,4);v[k+96>>2]=c;b=v[k+8>>2];if(b){ic(c,0,b<<2)}if(!(f>>>0>=U>>>0|l>>>0>=V>>>0)){_=k- -64|0;z=v[k+96>>2];while(1){h=f+1|0;c=l;while(1){e=ed(I,24);v[z>>2]=e;v[e+20>>2]=0;v[e+12>>2]=0;v[e+16>>2]=0;if(!R){v[e+68>>2]=0;v[e+60>>2]=0;v[e+64>>2]=0;v[e+44>>2]=0;v[e+36>>2]=0;v[e+40>>2]=0}p=c+1|0;m=0;while(1){j=v[k>>2];G=k+(m<<2)|0;i=v[G- -64>>2];r=i;b=h;Fa:{if(o){j=j-1|0;d=v[k+4>>2]-1|0;break Fa}d=v[k+4>>2]}b=b<>>0>i>>>0?r:b;b=v[G+40>>2];d=f<>>0>d>>>0?b:d;b=v[G+52>>2];d=p<>>0>>0?b:d;b=v[G+28>>2];d=c<>>0>d>>>0?b:d;Ga:{if(o){Ha:{switch(m|0){case 1:H=v[A+76>>2]+(B(v[A+68>>2],v[_>>2]-v[k+40>>2]|0)<<2)|0;break Ga;case 0:H=(v[A+76>>2]+(v[k+56>>2]<<2)|0)-(v[k+32>>2]<<2)|0;break Ga;default:break Ha}}H=(v[A+76>>2]+(B(v[A+68>>2],v[_>>2]-v[k+40>>2]|0)<<2)|0)+(v[k+56>>2]-v[k+32>>2]<<2)|0;break Ga}H=v[A+76>>2]}b=v[k+76>>2];j=v[k+80>>2];d=B(m,24)+e|0;v[d+8>>2]=0;X=(J+(1<>>j|0;r=K>>>j|0;e=X-r|0;v[d+4>>2]=e;$=(N+(1<>>b|0;F=S>>>b|0;q=$-F|0;v[d>>2]=q;j=0;i=(e>>>0>>0?q:e)-1|0;Ia:{if(i){while(1){j=j+1|0;b=i>>>0>1;i=i>>>1|0;if(b){continue}break}v[d+8>>2]=j;b=0;if((j|0)<0){break Ia}}b=j+1|0;i=b&1;Ja:{if(!j){b=0;break Ja}n=b&-2;b=0;while(1){aa=b;b=-1<>>j|0,b+e>>>j|0)|0;b=j-1|0;M=-1<>>b|0,e+M>>>b|0)|0;j=j-2|0;n=n-2|0;if(n){continue}break}}if(!i){break Ia}i=b;b=-1<>>j|0,b+e>>>j|0)|0}fa=d,ga=ed(b,8),v[fa+12>>2]=ga;e=ed(b,8);v[d+16>>2]=e;Ka:{if(!b){break Ka}q=b&1;i=v[d+12>>2];j=0;if((b|0)!=1){b=b&-2;while(1){n=j<<3;M=n+i|0;v[M>>2]=0;v[M+4>>2]=0;M=e+n|0;v[M>>2]=0;v[M+4>>2]=0;n=n|8;M=n+i|0;v[M>>2]=0;v[M+4>>2]=0;n=e+n|0;v[n>>2]=0;v[n+4>>2]=0;j=j+2|0;b=b-2|0;if(b){continue}break}}if(!q){break Ka}b=j<<3;j=b+i|0;v[j>>2]=0;v[j+4>>2]=0;b=b+e|0;v[b>>2]=0;v[b+4>>2]=0}i=ed(B(v[d+4>>2],v[d>>2]),68);v[d+20>>2]=i;b=B(v[d+4>>2],v[d>>2]);La:{if(!b){break La}j=0;if((b|0)!=1){e=b&-2;while(1){d=B(j,68)+i|0;v[d+60>>2]=0;v[d+64>>2]=0;v[d+52>>2]=0;v[d+40>>2]=0;d=B(j|1,68)+i|0;v[d+52>>2]=0;v[d+60>>2]=0;v[d+64>>2]=0;v[d+40>>2]=0;j=j+2|0;e=e-2|0;if(e){continue}break}}if(!(b&1)){break La}b=B(j,68)+i|0;v[b+60>>2]=0;v[b+64>>2]=0;v[b+52>>2]=0;v[b+40>>2]=0}if(!(r>>>0>=X>>>0|F>>>0>=$>>>0)){while(1){d=F;while(1){b=d<>2];v[i>>2]=b;e=b+v[k+84>>2]|0;v[i+8>>2]=e;if(b>>>0>>0){v[i>>2]=S}if(e>>>0>N>>>0){v[i+8>>2]=N}b=r<>2];v[i+4>>2]=b;e=b+v[k+88>>2]|0;v[i+12>>2]=e;if(b>>>0>>0){v[i+4>>2]=K}if(e>>>0>J>>>0){v[i+12>>2]=J}v[i+44>>2]=1;v[i+24>>2]=2;v[i+28>>2]=0;v[i+16>>2]=0;v[i+20>>2]=3;fa=i,ga=Fj(4),v[fa+40>>2]=ga;Ma:{if(v[A+20>>2]-v[a+28>>2]>>>0>=o>>>0){v[i+48>>2]=((B(v[A+68>>2],v[i+4>>2]-v[G+40>>2]|0)<<2)+H|0)+(v[i>>2]-v[G+28>>2]<<2);M=Fj(1<>2]+v[k+76>>2]);u[i+56>>1]=0;v[i+52>>2]=M;j=v[i+4>>2];n=v[i+12>>2];if((j|0)!=(n|0)){b=v[i>>2];e=v[i+8>>2];q=0;while(1){aa=(b|0)==(e|0);e=b;if(!aa){n=v[i+48>>2];j=0;while(1){v[n+(B(v[A+68>>2],q)+j<<2)>>2]=0;j=j+1|0;e=v[i+8>>2];b=v[i>>2];if(j>>>0>>0){continue}break}n=v[i+12>>2];j=v[i+4>>2]}q=q+1|0;if(q>>>0>>0){continue}break}}ic(M,0,1<>2]+v[k+76>>2]);break Ma}u[i+56>>1]=0;v[i+48>>2]=0;v[i+52>>2]=0}i=i+68|0;d=d+1|0;if(($|0)!=(d|0)){continue}break}r=r+1|0;if((X|0)!=(r|0)){continue}break}}m=m+1|0;if((m|0)!=(I|0)){e=v[z>>2];continue}break}z=z+4|0;c=p;if((V|0)!=(c|0)){continue}break}f=h;if((U|0)!=(f|0)){continue}break}}j=v[A+20>>2];o=o+1|0;if(j>>>0>=o>>>0){continue}break}C=C+1|0;if(C>>>0>=y[a+188>>2]){break Da}i=v[E+32>>2];continue}}v[E>>2]=1}e=g;J=Qb-16|0;Qb=J;G=v[a+200>>2]+(s<<6)|0;Na:{if(!v[G+52>>2]){f=1;if(!(e|da)){break Na}F=G+48|0;H=G+44|0;A=G+36|0;n=G+40|0;b=v[n>>2];c=b;d=b;g=b;while(1){s=v[G+60>>2]+B(v[A>>2],88)|0;N=v[s+84>>2]+B(g,100)|0;if(!v[N+92>>2]){b=v[N+96>>2];f=v[H>>2];v[a+208>>2]=0;v[a+212>>2]=0;v[a+216>>2]=e;Oa:{Pa:{Qa:{Ra:{Sa:{Ta:{Ua:{if(!(w[s+16|0]&2)|e>>>0<6){break Ua}c=v[v[a+8>>2]+8>>2];if(v[c>>2]!=255|v[c+4>>2]!=145){break Ua}c=v[a+8>>2];Ub[v[v[c>>2]+48>>2]](c,6)|0;v[a+208>>2]=0;v[a+212>>2]=0;e=v[a+216>>2]-6|0;v[a+216>>2]=e;break Ta}g=v[a+208>>2];if((g|0)>0){break Sa}e=v[a+216>>2]}while(1){if(!e){break Qa}c=v[a+8>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;if((c|0)==-1){break Qa}e=v[a+216>>2]-1|0;v[a+216>>2]=e;g=v[a+212>>2];h=g?7:8;d=v[a+204>>2]<>2]=d;g=h+v[a+208>>2]|0;v[a+208>>2]=g;v[a+212>>2]=(c|0)==255;if((g|0)<1){continue}break}break Ra}d=v[a+204>>2]}_=b+(f<<2)|0;c=g-1|0;b=d>>>c&1;v[J+12>>2]=b;v[a+208>>2]=c;if(!b){break Pa}R=0;Va:{while(1){Wa:{l=v[_>>2]+B(R,24)|0;d=v[l+4>>2];Xa:{if(!d){break Xa}c=v[l>>2];if(!c){break Xa}f=0;b=c;while(1){g=0;if(b){while(1){i=v[l+20>>2]+B(B(b,f)+g|0,68)|0;Ya:{if(!(y[i>>2]>2]&y[i+4>>2]>2])){v[i+32>>2]=0;break Ya}Za:{if(v[i+16>>2]){d=v[a+208>>2];_a:{if((d|0)>=1){k=v[a+204>>2];break _a}e=v[a+216>>2];while(1){if(!e){break Qa}c=v[a+8>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;if((c|0)==-1){break Qa}e=v[a+216>>2]-1|0;v[a+216>>2]=e;b=v[a+212>>2];d=b?7:8;k=v[a+204>>2]<>2]=k;d=d+v[a+208>>2]|0;v[a+208>>2]=d;v[a+212>>2]=(c|0)==255;if((d|0)<1){continue}break}}c=k>>>d-1&1;v[i+32>>2]=c;v[a+208>>2]=v[a+208>>2]-1;break Za}$a:{d=v[l+8>>2];if((d|0)<0){break $a}C=v[l+12>>2];p=0;k=0;while(1){o=-1<>>d|0;c=((g>>>d|0)+p|0)+B(q,f>>>d|0)<<3;b=c+C|0;e=v[b+4>>2];E=v[l+4>>2];ab:{bb:{cb:{if(v[b>>2]){break cb}if(!e){v[b+4>>2]=k;e=k}j=v[J+12>>2];db:{if(y[F>>2]>>0){break db}while(1){C=v[a+208>>2];eb:{if((C|0)>=1){b=v[a+204>>2];break eb}k=v[a+216>>2];while(1){if(!k){break bb}b=v[a+8>>2];h=Ub[v[v[b>>2]+28>>2]](b)|0;if((h|0)==-1){break bb}k=v[a+216>>2]-1|0;v[a+216>>2]=k;b=v[a+212>>2];m=b?7:8;b=v[a+204>>2]<>2]=b;C=m+v[a+208>>2]|0;v[a+208>>2]=C;v[a+212>>2]=(h|0)==255;if((C|0)<1){continue}break}}h=C-1|0;v[a+208>>2]=h;j=b>>>h&1;if(j){v[J+12>>2]=j;C=v[l+12>>2];v[c+C>>2]=1;break cb}e=e+1|0;C=v[l+12>>2];if(v[c+C>>2]){break db}if(y[F>>2]>=e>>>0){continue}break}}v[J+12>>2]=j}v[(c+C|0)+4>>2]=e;if(y[F>>2]>>0){break $a}if((d|0)>=1){break ab}d=-1;break $a}v[J+12>>2]=j;break Qa}c=o+E>>>d|0;d=d-1|0;p=B(c,q)+p|0;c=v[l>>2];k=e;continue}}c=d>>>31|0;v[i+32>>2]=c}if(!c){break Ya}if(!v[i+16>>2]){e=0;d=v[l+8>>2];if((d|0)>=0){c=v[l+16>>2];p=0;while(1){h=d;q=-1<>2]>>>d|0;o=((g>>>d|0)+p|0)+B(E,f>>>d|0)<<3;d=o+c|0;b=v[d+4>>2];m=v[l+4>>2];fb:{if(v[d>>2]){break fb}if(!b){v[d+4>>2]=e;b=e}d=v[a+208>>2];j=v[J+12>>2];while(1){gb:{if((d|0)>=1){k=v[a+204>>2];break gb}e=v[a+216>>2];while(1){if(!e){break Wa}c=v[a+8>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;if((c|0)==-1){break Wa}e=v[a+216>>2]-1|0;v[a+216>>2]=e;d=v[a+212>>2];r=d?7:8;k=v[a+204>>2]<>2]=k;d=r+v[a+208>>2]|0;v[a+208>>2]=d;v[a+212>>2]=(c|0)==255;if((d|0)<1){continue}break}}d=d-1|0;v[a+208>>2]=d;j=k>>>d&1;if(j){v[J+12>>2]=j;c=v[l+16>>2];v[o+c>>2]=1;break fb}b=b+1|0;c=v[l+16>>2];if(!v[o+c>>2]){continue}break}v[J+12>>2]=j}e=b;v[(c+o|0)+4>>2]=b;d=h-1|0;p=B(E,m+q>>>h|0)+p|0;if((h|0)>0){continue}break}}v[i+28>>2]=e}d=v[a+208>>2];hb:{if((d|0)>=1){e=v[a+204>>2];break hb}C=v[a+216>>2];while(1){if(!C){break Qa}c=v[a+8>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;if((c|0)==-1){break Qa}C=v[a+216>>2]-1|0;v[a+216>>2]=C;b=v[a+212>>2];d=b?7:8;e=v[a+204>>2]<>2]=e;d=d+v[a+208>>2]|0;v[a+208>>2]=d;v[a+212>>2]=(c|0)==255;if((d|0)<1){continue}break}}c=d-1|0;v[a+208>>2]=c;ib:{if(!(e>>>c&1)){v[i+36>>2]=1;break ib}if((d|0)<=1){C=v[a+216>>2];while(1){if(!C){break Qa}c=v[a+8>>2];b=Ub[v[v[c>>2]+28>>2]](c)|0;if((b|0)==-1){break Qa}C=v[a+216>>2]-1|0;v[a+216>>2]=C;c=v[a+212>>2];d=c?7:8;e=v[a+204>>2]<>2]=e;c=d+v[a+208>>2]|0;v[a+208>>2]=c;v[a+212>>2]=(b|0)==255;if((c|0)<1){continue}break}}d=c-1|0;v[a+208>>2]=d;if(!(e>>>d&1)){v[i+36>>2]=2;c=d;break ib}if((c|0)<=2){C=v[a+216>>2];while(1){if(!C){break Qa}c=v[a+8>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;if((c|0)==-1){break Qa}C=v[a+216>>2]-1|0;v[a+216>>2]=C;b=v[a+212>>2];d=b?7:8;e=v[a+204>>2]<>2]=e;d=d+v[a+208>>2]|0;v[a+208>>2]=d;v[a+212>>2]=(c|0)==255;if((d|0)<2){continue}break}}c=d-2|0;v[a+208>>2]=c;b=e>>>c&3;if((b|0)!=3){v[i+36>>2]=b+3;break ib}if((d|0)<=6){C=v[a+216>>2];while(1){if(!C){break Qa}c=v[a+8>>2];b=Ub[v[v[c>>2]+28>>2]](c)|0;if((b|0)==-1){break Qa}C=v[a+216>>2]-1|0;v[a+216>>2]=C;c=v[a+212>>2];d=c?7:8;e=v[a+204>>2]<>2]=e;c=d+v[a+208>>2]|0;v[a+208>>2]=c;v[a+212>>2]=(b|0)==255;if((c|0)<5){continue}break}}c=c-5|0;b=e>>>c&31;v[J+12>>2]=b;v[a+208>>2]=c;if((b|0)!=31){v[i+36>>2]=b+6;break ib}b=v[a+208>>2];jb:{kb:{if((b|0)>=7){e=v[a+204>>2];break kb}c=v[a+216>>2];while(1){b=0;if(!c){break jb}c=v[a+8>>2];d=Ub[v[v[c>>2]+28>>2]](c)|0;if((d|0)==-1){break jb}e=v[a+212>>2];v[a+212>>2]=(d|0)==255;c=v[a+216>>2]-1|0;v[a+216>>2]=c;h=e?7:8;b=h+v[a+208>>2]|0;v[a+208>>2]=b;e=d&(e?127:255)|v[a+204>>2]<>2]=e;if((b|0)<7){continue}break}}v[J+12>>2]=e>>>b-7&127;v[a+208>>2]=v[a+208>>2]-7;b=1}if(!b){break Qa}v[i+36>>2]=v[J+12>>2]+37;c=v[a+208>>2]}b=v[J+12>>2];while(1){lb:{if((c|0)>=1){k=v[a+204>>2];break lb}e=v[a+216>>2];while(1){if(!e){break Va}c=v[a+8>>2];d=Ub[v[v[c>>2]+28>>2]](c)|0;if((d|0)==-1){break Va}e=v[a+216>>2]-1|0;v[a+216>>2]=e;c=v[a+212>>2];h=c?7:8;k=v[a+204>>2]<>2]=k;c=h+v[a+208>>2]|0;v[a+208>>2]=c;v[a+212>>2]=(d|0)==255;if((c|0)<1){continue}break}}d=c-1|0;v[a+208>>2]=d;b=k>>>d&1;if(b){v[i+20>>2]=v[i+20>>2]+1;c=d;continue}break}v[J+12>>2]=b;if(w[s+32|0]&4){c=v[i+36>>2];if(c>>>0>y[i+44>>2]){v[i+44>>2]=c;fa=i,ga=pd(v[i+40>>2],c,4),v[fa+40>>2]=ga;c=v[i+36>>2]}if(!c){break Ya}c=v[a+208>>2];b=0;while(1){j=v[i+40>>2];e=v[i+20>>2];mb:{if((e|0)<=(c|0)){k=v[a+204>>2];break mb}d=v[a+216>>2];while(1){if(!d){break Qa}c=v[a+8>>2];h=Ub[v[v[c>>2]+28>>2]](c)|0;if((h|0)==-1){break Qa}d=v[a+216>>2]-1|0;v[a+216>>2]=d;c=v[a+212>>2];o=c?7:8;k=v[a+204>>2]<>2]=k;c=o+v[a+208>>2]|0;v[a+208>>2]=c;v[a+212>>2]=(h|0)==255;if((c|0)<(e|0)){continue}break}}v[j+(b<<2)>>2]=(-1<>>c-e;c=v[a+208>>2]-e|0;v[a+208>>2]=c;b=b+1|0;if(b>>>0>2]){continue}break}break Ya}C=v[i+20>>2];e=v[i+36>>2];if(e>>>0>=2){while(1){C=C+1|0;b=e>>>0>3;e=e>>>1|0;if(b){continue}break}}e=v[i+40>>2];if((c|0)<=(C|0)){c=v[a+216>>2];while(1){if(!c){break Qa}c=v[a+8>>2];b=Ub[v[v[c>>2]+28>>2]](c)|0;if((b|0)==-1){break Qa}c=v[a+216>>2]-1|0;v[a+216>>2]=c;d=v[a+212>>2];h=d?7:8;k=v[a+204>>2]<>2]=k;d=h+v[a+208>>2]|0;v[a+208>>2]=d;v[a+212>>2]=(b|0)==255;if((d|0)<(C|0)){continue}break}}v[e>>2]=(-1<>>d-C;v[a+208>>2]=v[a+208>>2]-C}c=v[l>>2];b=c;g=g+1|0;if(g>>>0>>0){continue}break}d=v[l+4>>2];b=c}else{b=0}f=f+1|0;if(f>>>0>>0){continue}break}}R=R+1|0;if(R>>>0<(v[n>>2]?3:1)>>>0){continue}break Oa}break}v[J+12>>2]=j;break Qa}v[J+12>>2]=b}f=0;kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,257782,0);break Na}i=v[n>>2];e=v[_>>2];l=v[e+4>>2];nb:{if(!l){break nb}k=v[e>>2];if(!k){break nb}g=k&-4;f=k&3;o=k-1|0;h=v[e+20>>2];d=0;while(1){j=B(d,k);b=0;c=g;if(o>>>0>=3){while(1){v[(h+B(b+j|0,68)|0)+32>>2]=0;v[(h+B(j+(b|1)|0,68)|0)+32>>2]=0;v[(h+B(j+(b|2)|0,68)|0)+32>>2]=0;v[(h+B(j+(b|3)|0,68)|0)+32>>2]=0;b=b+4|0;c=c-4|0;if(c){continue}break}}c=f;if(c){while(1){v[(h+B(b+j|0,68)|0)+32>>2]=0;b=b+1|0;c=c-1|0;if(c){continue}break}}d=d+1|0;if((l|0)!=(d|0)){continue}break}}if(!i){break Oa}i=v[e+28>>2];ob:{if(!i){break ob}k=v[e+24>>2];if(!k){break ob}g=k&-4;f=k&3;l=k-1|0;h=v[e+44>>2];d=0;while(1){j=B(d,k);b=0;c=g;if(l>>>0>=3){while(1){v[(h+B(b+j|0,68)|0)+32>>2]=0;v[(h+B(j+(b|1)|0,68)|0)+32>>2]=0;v[(h+B(j+(b|2)|0,68)|0)+32>>2]=0;v[(h+B(j+(b|3)|0,68)|0)+32>>2]=0;b=b+4|0;c=c-4|0;if(c){continue}break}}c=f;if(c){while(1){v[(h+B(b+j|0,68)|0)+32>>2]=0;b=b+1|0;c=c-1|0;if(c){continue}break}}d=d+1|0;if((i|0)!=(d|0)){continue}break}}k=v[e+52>>2];if(!k){break Oa}j=v[e+48>>2];if(!j){break Oa}g=j&-4;f=j&3;i=j-1|0;e=v[e+68>>2];d=0;while(1){h=B(d,j);b=0;c=g;if(i>>>0>=3){while(1){v[(e+B(b+h|0,68)|0)+32>>2]=0;v[(e+B(h+(b|1)|0,68)|0)+32>>2]=0;v[(e+B(h+(b|2)|0,68)|0)+32>>2]=0;v[(e+B(h+(b|3)|0,68)|0)+32>>2]=0;b=b+4|0;c=c-4|0;if(c){continue}break}}c=f;if(c){while(1){v[(e+B(b+h|0,68)|0)+32>>2]=0;b=b+1|0;c=c-1|0;if(c){continue}break}}d=d+1|0;if((k|0)!=(d|0)){continue}break}}d=a;pb:{qb:{rb:{sb:{if(!(w[s+16|0]&4)){break sb}b=v[a+212>>2];g=b?3:2;if(g>>>0>y[a+216>>2]){break rb}c=v[v[a+8>>2]+8>>2];if(v[c+(((b|0)!=0)<<2)>>2]!=255|v[((b?2:1)<<2)+c>>2]!=146){break sb}b=v[a+8>>2];Ub[v[v[b>>2]+48>>2]](b,g)|0;v[a+208>>2]=0;v[a+212>>2]=0;e=v[a+216>>2]-g|0;break qb}b=v[a+212>>2]}if(!b){e=v[a+216>>2];break pb}b=v[a+8>>2];Ub[v[v[b>>2]+28>>2]](b)|0;e=v[a+216>>2]-1|0}v[d+216>>2]=e}R=0;while(1){U=v[_>>2]+B(R,24)|0;d=v[U+4>>2];tb:{if(!d){break tb}b=v[U>>2];if(!b){break tb}k=0;g=b;while(1){C=0;if(g){while(1){m=v[U+20>>2]+B(B(g,k)+C|0,68)|0;if(v[m+32>>2]){V=0;ub:{vb:{wb:{xb:{j=v[n>>2];if(j>>>0>v[s+20>>2]-v[a+28>>2]>>>0){if(!(w[s+32|0]&4)){break xb}c=v[m+36>>2];if(!c){z=0;break vb}b=c&3;f=v[m+40>>2];yb:{if(c-1>>>0<3){c=0;z=0;break yb}g=c&-4;c=0;z=0;while(1){d=c<<2;z=v[f+(d|12)>>2]+(v[f+(d|8)>>2]+(v[f+(d|4)>>2]+(v[d+f>>2]+z|0)|0)|0)|0;c=c+4|0;g=g-4|0;if(g){continue}break}}if(!b){break vb}while(1){z=v[f+(c<<2)>>2]+z|0;c=c+1|0;b=b-1|0;if(b){continue}break}break vb}zb:{c=v[m+60>>2];Ab:{if(c){b=v[v[m+40>>2]>>2];f=0;g=0;d=v[c+32>>2];if((d|0)>=0){v[c+32>>2]=b;break Ab}if((d|0)==-1){v[c+32>>2]=b;Bb:{if(!v[c+36>>2]){break Bb}g=v[c+40>>2];if((g|0)>=0){v[c+40>>2]=-1;v[c+4>>2]=g;break Ab}v[c+32>>2]=b-1;if((b|0)>=1){break Bb}v[c+4>>2]=255;break Ab}v[c+28>>2]=v[c+28>>2]+1;b=c;c=v[c+24>>2];fa=b,ga=Ub[v[v[c>>2]+28>>2]](c)&255,v[fa+4>>2]=ga;break Ab}v[c+32>>2]=b;d=((d^-1)<<3)-v[c+16>>2]|0;Cb:{if((d|0)<1){break Cb}while(1){Db:{Eb:{if(!v[c+36>>2]){break Eb}b=v[c+40>>2];if((b|0)>=0){v[c+40>>2]=-1;break Db}b=v[c+32>>2];v[c+32>>2]=b-1;if((b|0)>=1){break Eb}b=255;break Db}v[c+28>>2]=v[c+28>>2]+1;b=v[c+24>>2];b=Ub[v[v[b>>2]+28>>2]](b)&255}v[c>>2]=b;f=(g?65024-(b<<9)|0:65280-(b<<8)|0)+f|0;h=g?7:8;if((h|0)>=(d|0)){v[c+16>>2]=h-d;f=f<0){continue}break}}v[c+8>>2]=v[c+8>>2]+f;Fb:{if(!v[c+36>>2]){break Fb}b=v[c+40>>2];if((b|0)>=0){v[c+40>>2]=-1;v[c+4>>2]=b;break Ab}b=v[c+32>>2];v[c+32>>2]=b-1;if((b|0)>=1){break Fb}v[c+4>>2]=255;break Ab}v[c+28>>2]=v[c+28>>2]+1;b=c;c=v[c+24>>2];fa=b,ga=Ub[v[v[c>>2]+28>>2]](c)&255,v[fa+4>>2]=ga;break Ab}g=fc(44);v[299999]=0;v[g+24>>2]=0;v[g+28>>2]=0;v[g+40>>2]=-1;v[g+32>>2]=0;v[g+36>>2]=0;c=v[299999];v[299999]=0;if((c|0)==1){break wb}v[m+60>>2]=g;c=v[a+8>>2];b=v[v[m+40>>2]>>2];v[g+36>>2]=1;v[g+32>>2]=b;v[g+24>>2]=c;Ul(g);g=fc(8);v[299999]=0;c=Q(3695,g|0,19)|0;b=v[299999];v[299999]=0;if((b|0)==1){break zb}v[m+64>>2]=g;t[v[c>>2]]=8;t[v[v[m+64>>2]>>2]+17|0]=6;t[v[v[m+64>>2]>>2]+18|0]=92}if(v[m+36>>2]){$=j?R:1;while(1){if(!(!(w[s+32|0]&4)|!V)){b=v[v[m+40>>2]+(V<<2)>>2];g=v[a+8>>2];c=v[m+60>>2];v[c+36>>2]=1;v[c+32>>2]=b;v[c+24>>2]=g;Ul(c)}Gb:{Hb:{Ib:{switch(v[m+24>>2]){case 0:z=v[m+12>>2];K=v[m+4>>2];if(z>>>0>K>>>0){d=v[m+8>>2];f=v[m+48>>2];i=v[m+52>>2];while(1){j=i;c=f;o=v[m>>2];if(o>>>0>>0){while(1){z=0;b=j;d=c;while(1){q=z+K|0;E=v[m+12>>2];if(q>>>0>>0){Jb:{if(v[d>>2]){break Jb}Kb:{if(y[m>>2]>=o>>>0){g=2;I=0;h=0;break Kb}r=0;h=v[d-4>>2];g=h?(h|0)>-1?3:1:2;I=(h|0)!=0;r=q>>>0>y[m+4>>2]?v[((v[s+68>>2]^-1)<<2)+d>>2]!=0:r;h=r;if(q>>>0>=E-1>>>0|(z>>>0>2?w[s+32|0]&8:0)){break Kb}h=(v[((v[s+68>>2]<<2)+d|0)-4>>2]!=0)+r|0}r=h;Lb:{if(v[m+8>>2]-1>>>0<=o>>>0){p=v[m+4>>2];break Lb}h=v[d+4>>2];l=(h|0)!=0;p=v[m+4>>2];r=q>>>0>p>>>0?(v[(1-v[s+68>>2]<<2)+d>>2]!=0)+r|0:r;I=l+I|0;g=(h?(h|0)>-1?1:-1:0)+g|0;if(q>>>0>=E-1>>>0|(z>>>0>2?w[s+32|0]&8:0)){break Lb}r=(v[((v[s+68>>2]<<2)+d|0)+4>>2]!=0)+r|0}l=0;h=2;Mb:{if(p>>>0>=q>>>0){break Mb}p=v[d-(v[s+68>>2]<<2)>>2];h=2;if(!p){break Mb}l=1;h=(p|0)>-1?3:1}Nb:{if(q>>>0>=E-1>>>0|(z>>>0>2?w[s+32|0]&8:0)){break Nb}p=v[(v[s+68>>2]<<2)+d>>2];if(!p){break Nb}l=l+1|0;h=((p|0)>-1?1:-1)+h|0}l=v[(((B(I,180)+B(l,60)|0)+B(r,12)|0)+($<<2)|0)+937216>>2];if(!l){break Jb}if(Od(v[m+60>>2],l,v[m+64>>2])){g=B(g,40)+(h<<3)|0;fa=d,ga=(Od(v[m+60>>2],v[g+937760>>2],v[m+64>>2])|0)==v[g+937764>>2]?1:-1,v[fa>>2]=ga}t[b|0]=1}b=v[N+84>>2]+b|0;d=(v[s+68>>2]<<2)+d|0;z=z+1|0;if((z|0)!=4){continue}}break}j=j+1|0;c=c+4|0;d=v[m+8>>2];o=o+1|0;if(d>>>0>o>>>0){continue}break}z=v[m+12>>2]}i=(4<>2])+i|0;f=(v[s+68>>2]<<4)+f|0;K=K+4|0;if(K>>>0>>0){continue}break}b=v[m+24>>2]}else{b=0}d=b+1|0;break Hb;case 1:b=1;z=v[m+12>>2];I=v[m+4>>2];Ob:{if(z>>>0<=I>>>0){break Ob}d=v[m+8>>2];l=v[m>>2];if(d>>>0<=l>>>0){break Ob}o=v[m+52>>2];p=v[m+48>>2];while(1){h=o;g=p;if(d>>>0>l>>>0){while(1){z=0;b=h;d=g;while(1){c=z+I|0;f=v[m+12>>2];if(c>>>0>>0){j=v[d>>2];if(!(w[b|0]|!j)){K=16;Pb:{switch(j+1|0){case 0:case 2:j=0;Qb:{if(y[m>>2]>=l>>>0){break Qb}r=v[d-4>>2]!=0;r=c>>>0>y[m+4>>2]?(v[((v[s+68>>2]^-1)<<2)+d>>2]!=0)+r|0:r;j=r;if(c>>>0>=f-1>>>0|(z>>>0>2?w[s+32|0]&8:0)){break Qb}j=(v[((v[s+68>>2]<<2)+d|0)-4>>2]!=0)+r|0}r=j;Rb:{if(v[m+8>>2]-1>>>0<=l>>>0){K=v[m+4>>2];break Rb}r=(v[d+4>>2]!=0)+r|0;K=v[m+4>>2];r=c>>>0>K>>>0?(v[(1-v[s+68>>2]<<2)+d>>2]!=0)+r|0:r;if(c>>>0>=f-1>>>0|(z>>>0>2?w[s+32|0]&8:0)){break Rb}r=(v[((v[s+68>>2]<<2)+d|0)+4>>2]!=0)+r|0}r=c>>>0>K>>>0?(v[d-(v[s+68>>2]<<2)>>2]!=0)+r|0:r;K=(c>>>0>=f-1>>>0|(z>>>0>2?w[s+32|0]&8:0)?r:(v[(v[s+68>>2]<<2)+d>>2]!=0)+r|0)?15:14;break;default:break Pb}}c=Od(v[m+60>>2],K,v[m+64>>2]);j=0-c|0;f=c;c=v[d>>2];v[d>>2]=((c|0)<0?j:f)+(c<<1);t[b|0]=1}b=v[N+84>>2]+b|0;d=(v[s+68>>2]<<2)+d|0;z=z+1|0;if((z|0)!=4){continue}}break}h=h+1|0;g=g+4|0;d=v[m+8>>2];l=l+1|0;if(d>>>0>l>>>0){continue}break}z=v[m+12>>2]}I=I+4|0;if(I>>>0>>0){p=(v[s+68>>2]<<4)+p|0;o=(4<>2])+o|0;l=v[m>>2];continue}break}b=v[m+24>>2]}d=b+1|0;break Hb;case 2:break Ib;default:break Gb}}d=v[m+12>>2];l=v[m+4>>2];if(d>>>0>l>>>0){z=v[m+8>>2];i=v[m+48>>2];q=v[m+52>>2];while(1){E=l+4|0;p=v[m>>2];Sb:{if(z>>>0>p>>>0){M=l+3|0;c=q;f=i;while(1){Tb:{Ub:{Vb:{Wb:{if(w[c|0]|d>>>0<=M>>>0){break Wb}b=v[N+84>>2];if(w[b+c|0]|w[(b<<1)+c|0]|w[B(b,3)+c|0]){break Wb}g=v[m+4>>2];h=v[m>>2]==(p|0);Xb:{if(h){b=g;break Xb}b=l;if((g|0)==(b|0)){break Xb}b=g;if(v[((v[s+68>>2]^-1)<<2)+f>>2]){break Wb}}Yb:{if((b|0)!=(l|0)){g=v[s+68>>2];if(v[f-(g<<2)>>2]){break Wb}b=1;if((z-1|0)==(p|0)){break Yb}if(v[(1-g<<2)+f>>2]){break Wb}b=0;break Yb}b=(z-1|0)==(p|0)}if(!h){if(v[f-4>>2]){break Wb}g=v[s+68>>2];if(v[((g<<2)+f|0)-4>>2]|v[((g<<3)+f|0)-4>>2]|v[(B(g,12)+f|0)-4>>2]){break Wb}}if(!b){if(v[f+4>>2]){break Wb}g=v[s+68>>2];if(v[((g<<2)+f|0)+4>>2]|v[((g<<3)+f|0)+4>>2]|v[(B(g,12)+f|0)+4>>2]){break Wb}}Zb:{if(w[s+32|0]&8){break Zb}if(!(v[((v[s+68>>2]<<4)+f|0)-4>>2]?(d|0)==(E|0)|h:1)){break Wb}if((d|0)==(E|0)){break Zb}g=v[s+68>>2];if(v[(g<<4)+f>>2]){break Wb}if(b){break Zb}if(v[(g<<4|4)+f>>2]){break Wb}}if(Od(v[m+60>>2],17,v[m+64>>2])){break Vb}r=v[s+68>>2];break Tb}r=v[s+68>>2];z=0;break Ub}b=Od(v[m+60>>2],18,v[m+64>>2]);b=Od(v[m+60>>2],18,v[m+64>>2])|b<<1;fa=(B(b,v[s+68>>2])<<2)+f|0,ga=Od(v[m+60>>2],9,v[m+64>>2])?-1:1,v[fa>>2]=ga;r=v[s+68>>2];z=b+1|0;if(z>>>0>3){break Tb}}b=(B(z,r)<<2)+f|0;d=(z<>2])+c|0;while(1){S=l+z|0;X=v[m+12>>2];if(S>>>0>=X>>>0){break Tb}_b:{if(!w[d|0]){$b:{if(y[m>>2]>=p>>>0){g=2;K=0;h=0;break $b}I=0;h=v[b-4>>2];g=h?(h|0)>-1?3:1:2;K=(h|0)!=0;I=S>>>0>y[m+4>>2]?v[((r^-1)<<2)+b>>2]!=0:I;h=I;if(S>>>0>=X-1>>>0|(z>>>0>2?w[s+32|0]&8:0)){break $b}h=(v[((r<<2)+b|0)-4>>2]!=0)+I|0}I=h;ac:{if(v[m+8>>2]-1>>>0<=p>>>0){j=v[m+4>>2];break ac}h=v[b+4>>2];o=(h|0)!=0;j=v[m+4>>2];I=S>>>0>j>>>0?(v[(1-r<<2)+b>>2]!=0)+I|0:I;K=o+K|0;g=(h?(h|0)>-1?1:-1:0)+g|0;if(S>>>0>=X-1>>>0|(z>>>0>2?w[s+32|0]&8:0)){break ac}I=(v[((r<<2)+b|0)+4>>2]!=0)+I|0}o=0;h=2;bc:{if(j>>>0>=S>>>0){break bc}j=v[b-(r<<2)>>2];h=2;if(!j){break bc}o=1;h=(j|0)>-1?3:1}cc:{if(S>>>0>=X-1>>>0|(z>>>0>2?w[s+32|0]&8:0)){break cc}j=v[(r<<2)+b>>2];if(!j){break cc}o=o+1|0;h=((j|0)>-1?1:-1)+h|0}if(!Od(v[m+60>>2],v[(((B(K,180)+B(o,60)|0)+B(I,12)|0)+($<<2)|0)+937216>>2],v[m+64>>2])){break _b}g=B(g,40)+(h<<3)|0;if((Od(v[m+60>>2],v[g+937760>>2],v[m+64>>2])|0)!=v[g+937764>>2]){v[b>>2]=-1;break _b}v[b>>2]=1;break _b}t[d|0]=0}d=v[N+84>>2]+d|0;r=v[s+68>>2];b=(r<<2)+b|0;z=z+1|0;if((z|0)!=4){continue}break}}p=p+1|0;z=v[m+8>>2];if(p>>>0>>0){f=f+4|0;c=c+1|0;d=v[m+12>>2];continue}break}d=v[m+12>>2];break Sb}r=v[s+68>>2]}i=(r<<4)+i|0;q=(4<>2])+q|0;l=E;if(l>>>0>>0){continue}break}}u[m+56>>1]=x[m+56>>1]+1;d=0;if(!(w[s+32|0]&32)){break Hb}c=Od(v[m+60>>2],18,v[m+64>>2]);if((Od(v[m+60>>2],18,v[m+64>>2])<<2|c<<3|Od(v[m+60>>2],18,v[m+64>>2])<<1|Od(v[m+60>>2],18,v[m+64>>2]))==10){break Hb}kc(0,Ub[v[v[a>>2]+52>>2]](a)|0,257892,0)}v[m+24>>2]=d}c=v[s+32>>2];if(c&2){Rh(v[m+64>>2]);t[v[v[m+64>>2]>>2]]=8;t[v[v[m+64>>2]>>2]+17|0]=6;t[v[v[m+64>>2]>>2]+18|0]=92;c=v[s+32>>2]}if(c&4){tS(v[m+60>>2])}V=V+1|0;if(V>>>0>2]){continue}break}}tS(v[m+60>>2]);break ub}break wb}z=v[v[m+40>>2]>>2];break vb}a=P()|0;O()|0;dc(g);T(a|0);L()}c=v[a+8>>2];Ub[v[v[c>>2]+48>>2]](c,z)|0}dc:{if(w[s+32|0]&4){g=v[m+36>>2];if(!g){break dc}d=g&3;c=v[m+40>>2];b=0;if(g-1>>>0>=3){f=g&-4;while(1){g=b<<2;e=e-(((v[g+c>>2]+v[c+(g|4)>>2]|0)+v[c+(g|8)>>2]|0)+v[c+(g|12)>>2]|0)|0;b=b+4|0;f=f-4|0;if(f){continue}break}}if(!d){break dc}while(1){e=e-v[c+(b<<2)>>2]|0;b=b+1|0;d=d-1|0;if(d){continue}break}break dc}e=e-v[v[m+40>>2]>>2]|0}v[m+16>>2]=1;b=v[U>>2]}g=b;C=C+1|0;if(C>>>0>>0){continue}break}d=v[U+4>>2];g=b}else{g=0}k=k+1|0;if(k>>>0>>0){continue}break}}b=v[n>>2];c=b;d=b;g=b;R=R+1|0;if(R>>>0<(b?3:1)>>>0){continue}break}}ec:{fc:{gc:{hc:{ic:{switch(v[G+4>>2]){case 0:c=v[A>>2];g=v[(v[G+60>>2]+B(c,88)|0)+84>>2];f=v[H>>2]+1|0;v[H>>2]=f;if((f|0)!=v[(g+B(b,100)|0)+8>>2]){break fc}v[H>>2]=0;c=c+1|0;v[A>>2]=c;if((c|0)!=v[a+188>>2]){break fc}v[A>>2]=0;c=b+1|0;v[n>>2]=c;f=v[G+32>>2]!=(b|0);b=c;d=b;g=b;if(f){break ec}b=0;v[n>>2]=0;h=v[F>>2]+1|0;v[F>>2]=h;f=F;c=0;d=0;g=0;if((h|0)==v[G+8>>2]){break hc}break ec;case 1:g=v[A>>2];f=v[(v[G+60>>2]+B(g,88)|0)+84>>2];d=v[H>>2]+1|0;v[H>>2]=d;if((d|0)!=v[(f+B(c,100)|0)+8>>2]){break gc}v[H>>2]=0;g=g+1|0;v[A>>2]=g;if((g|0)!=v[a+188>>2]){break gc}v[A>>2]=0;g=v[F>>2]+1|0;v[F>>2]=g;if((g|0)!=v[G+8>>2]){break gc}v[F>>2]=0;b=c+1|0;v[n>>2]=b;h=v[G+32>>2]==(c|0);f=n;c=b;d=b;g=b;if(h){break hc}break ec;case 2:f=v[F>>2]+1|0;v[F>>2]=f;if((f|0)!=v[G+8>>2]){break ec}v[F>>2]=0;f=v[A>>2]+1|0;v[A>>2]=f;if((f|0)!=v[a+188>>2]){break ec}v[A>>2]=0;g=v[v[G+60>>2]+84>>2];f=v[H>>2]+1|0;v[H>>2]=f;if((f|0)!=v[(g+B(d,100)|0)+8>>2]){g=d;break ec}v[H>>2]=0;b=d+1|0;v[n>>2]=b;h=v[G+32>>2]==(d|0);f=n;c=b;d=b;g=b;if(h){break hc}break ec;case 3:f=v[F>>2]+1|0;v[F>>2]=f;if((f|0)!=v[G+8>>2]){break ec}v[F>>2]=0;b=g+1|0;v[n>>2]=b;f=v[G+32>>2]!=(g|0);c=b;d=b;g=b;if(f){break ec}b=0;v[n>>2]=0;f=v[A>>2]+1|0;v[A>>2]=f;c=0;d=0;g=0;if((f|0)!=v[a+188>>2]){break ec}v[A>>2]=0;h=v[v[G+60>>2]+84>>2];j=v[H>>2]+1|0;v[H>>2]=j;f=H;if((j|0)==v[h+8>>2]){break hc}break ec;case 4:break ic;default:break ec}}f=v[F>>2]+1|0;v[F>>2]=f;if((f|0)!=v[G+8>>2]){break ec}v[F>>2]=0;b=g+1|0;v[n>>2]=b;f=v[G+32>>2]!=(g|0);c=b;d=b;g=b;if(f){break ec}b=0;v[n>>2]=0;f=v[A>>2];h=v[(v[G+60>>2]+B(f,88)|0)+84>>2];j=v[H>>2]+1|0;v[H>>2]=j;c=0;d=0;g=0;if((j|0)!=v[h+8>>2]){break ec}v[H>>2]=0;h=f+1|0;v[A>>2]=h;f=A;if((h|0)!=v[a+188>>2]){break ec}}b=0;v[f>>2]=0;v[G+52>>2]=1;c=0;d=0;g=0;break ec}d=c;g=c;break ec}c=b;d=b;g=b}f=1;if(e|da){continue}break}break Na}c=v[a+8>>2];Ub[v[v[c>>2]+48>>2]](c,e)|0;f=1}Qb=J+16|0;break O}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,227314,0);f=0;break O}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229640,0);f=0;break O}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229640,0);f=0;break O}i=0;if(!e){while(1){e=b+B(i,100)|0;v[e>>2]=15;v[e+4>>2]=15;i=i+1|0;if(d>>>0>=i>>>0){continue}continue T}}while(1){b=v[a+8>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)!=-1){e=v[(j+v[(c+v[a+200>>2]|0)+60>>2]|0)+84>>2]+B(i,100)|0;v[e+4>>2]=b>>>4&15;v[e>>2]=b&15;i=i+1|0;if(d>>>0>=i>>>0){continue}continue T}break}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229574,0);f=0;break O}d=v[a+188>>2]}if(d>>>0<2){continue}h=v[(c+v[a+200>>2]|0)+60>>2];j=v[h+84>>2];e=1;while(1){k=v[(h+B(e,88)|0)+84>>2];i=0;while(1){l=B(i,100);n=l+k|0;l=j+l|0;v[n>>2]=v[l>>2];v[n+4>>2]=v[l+4>>2];i=i+1|0;if(b>>>0>=i>>>0){continue}break}e=e+1|0;if((e|0)!=(d|0)){continue}break}continue}break}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,255989,0);f=0}Qb=ca+16|0;if(!f){break M}jc:{kc:{while(1){b=144;c=v[a+8>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;if((c|0)!=255){if((c|0)!=-1){continue}break kc}while(1){c=v[a+8>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;if((c|0)==255){continue}break}lc:{switch(c+1|0){case 0:break kc;case 1:continue;default:break lc}}break}if((c&-16)==48){break M}l=1;if((c|0)==79|c-146>>>0<2|(c|0)==217){break N}b=v[a+8>>2];if((Ub[v[v[b>>2]+28>>2]](b)|0)!=-1){b=v[a+8>>2];if((Ub[v[v[b>>2]+28>>2]](b)|0)!=-1){break jc}}b=c}l=0;kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,256023,0);c=b;break N}if((c|0)==144){continue}break N}}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,257741,0);a=2;break a}if((c|0)==217){break L}}l=0;kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,256047,0)}mc:{nc:{if(!B(v[a+196>>2],v[a+192>>2])){break nc}e=0;while(1){H=v[a+200>>2]+(e<<6)|0;if(!v[H>>2]){break mc}if(v[a+188>>2]){c=0;while(1){o=0;W=0;p=v[H+60>>2]+B(c,88)|0;g=v[p+40>>2];b=g>>>5&7;r=g&31;if(r){W=+((v[v[p+44>>2]>>2]&2047|2048)>>>0)*.00048828125;n=(b+v[p+4>>2]|0)-1|0}else{n=(b+(v[v[p+44>>2]>>2]>>>3&31)|0)-1|0}F=v[p+84>>2];n=v[p+36>>2]?n:(n-v[p+4>>2]|0)+24|0;k=v[F+8>>2];if(k){C=v[F+96>>2];while(1){A=v[C+(o<<2)>>2];b=v[A+4>>2];oc:{if(!b){break oc}j=v[A>>2];if(!j){break oc}k=v[A+20>>2];m=0;h=1;while(1){s=0;if(h){while(1){z=v[k+4>>2];pc:{if(z>>>0>=y[k+12>>2]){break pc}i=v[k>>2];q=v[k+8>>2];if(i>>>0>=q>>>0){break pc}f=v[k+52>>2];d=v[k+48>>2];while(1){qc:{if(i>>>0>=q>>>0){break qc}b=d;j=b;g=f;h=g;if(!r){while(1){j=b;E=v[b>>2];I=0;rc:{if(!E){break rc}h=n-(t[g|0]+(v[k+28>>2]+x[k+56>>1]|0)|0)|0;sc:{if((h|0)<=0){h=E>>0-h;break sc}G=E<=0){break sc}h=G+(-1<>2]){break rc}I=h&-1<<24-v[p+4>>2]}v[j>>2]=I;g=g+1|0;b=b+4|0;i=i+1|0;q=v[k+8>>2];if(i>>>0>>0){continue}break qc}}while(1){b=j;I=b;q=v[b>>2];b=0;tc:{if(!q){break tc}Z=W;g=n-(t[h|0]+(v[k+28>>2]+x[k+56>>1]|0)|0)|0;uc:{if((g|0)>=1){G=q<>0-g}Y=Z*+(b|0);if(D(Y)<2147483648){b=~~Y;break tc}b=-2147483648}v[I>>2]=b;h=h+1|0;j=j+4|0;i=i+1|0;q=v[k+8>>2];if(i>>>0>>0){continue}break}}z=z+1|0;if(z>>>0>2]){f=v[F+84>>2]+f|0;d=(v[p+68>>2]<<2)+d|0;i=v[k>>2];continue}break}j=v[A>>2]}k=k+68|0;s=s+1|0;if(s>>>0>>0){continue}break}b=v[A+4>>2];h=j}else{h=0}m=m+1|0;if(m>>>0>>0){continue}break}k=v[F+8>>2]}o=o+1|0;if(o>>>0>>0){continue}break}}vc:{if(v[p+20>>2]==v[a+28>>2]){break vc}iS(p,1,F+100|0);j=2;if(v[p+20>>2]-v[a+28>>2]>>>0<2){break vc}while(1){iS(p,j,v[p+84>>2]+B(j,100)|0);j=j+1|0;if(j>>>0<=v[p+20>>2]-v[a+28>>2]>>>0){continue}break}}c=c+1|0;if(c>>>0>2]){continue}break}}c=0;k=0;wc:{xc:{if(v[H+12>>2]!=1){break xc}if(y[a+188>>2]<3){break wc}f=v[H+60>>2];b=v[f+8>>2];if((b|0)!=v[f+96>>2]){break wc}g=v[f+12>>2];if((g|0)!=v[f+100>>2]|(b|0)!=v[f+184>>2]|(g|0)!=v[f+188>>2]){break wc}d=v[f+72>>2];if(v[f+36>>2]){if(!d|!v[f+68>>2]){break xc}b=1;while(1){yc:{if(!b){b=0;break yc}g=v[f+252>>2];h=v[f+164>>2];j=v[f+76>>2];d=0;while(1){b=c<<2;i=b+h|0;r=i;n=b+j|0;o=b+g|0;p=v[o>>2];i=v[i>>2];b=v[n>>2]-(p+i>>2)|0;v[r>>2]=b;v[n>>2]=b+p;v[o>>2]=b+i;c=c+1|0;b=v[f+68>>2];d=d+1|0;if(b>>>0>d>>>0){continue}break}d=v[f+72>>2]}k=k+1|0;if(k>>>0>>0){continue}break}break xc}if(!d|!v[f+68>>2]){break xc}b=1;while(1){zc:{if(!b){b=0;break zc}j=v[f+252>>2];i=v[f+164>>2];n=v[f+76>>2];d=0;while(1){g=c<<2;b=g+j|0;Y=+v[b>>2];o=g+n|0;W=+v[o>>2];Z=Y*1.402+W+.5;Ac:{if(D(Z)<2147483648){h=~~Z;break Ac}h=-2147483648}g=g+i|0;p=v[g>>2];v[o>>2]=h;Z=+(p|0);Y=W+Z*-.34413+Y*-.71414+.5;Bc:{if(D(Y)<2147483648){h=~~Y;break Bc}h=-2147483648}v[g>>2]=h;W=Z*1.772+W+.5;Cc:{if(D(W)<2147483648){g=~~W;break Cc}g=-2147483648}v[b>>2]=g;c=c+1|0;b=v[f+68>>2];d=d+1|0;if(b>>>0>d>>>0){continue}break}d=v[f+72>>2]}k=k+1|0;if(k>>>0>>0){continue}break}}c=1;if(!v[a+188>>2]){break wc}q=v[H+60>>2];i=0;while(1){n=q+B(i,88)|0;o=n;c=v[n+4>>2];Dc:{if(v[n>>2]){j=v[n+72>>2];if(!j|!v[n+68>>2]){break Dc}p=1<>2];f=0;d=1;while(1){k=0;c=0;if(d){while(1){c=v[b>>2];c=v[n+36>>2]?c:c>>24-v[o+4>>2];v[b>>2]=(c|0)<(g|0)?g:(c|0)<(p|0)?c:F;b=b+4|0;c=v[n+68>>2];k=k+1|0;if(c>>>0>k>>>0){continue}break}j=v[n+72>>2]}d=c;f=f+1|0;if(j>>>0>f>>>0){continue}break}break Dc}d=v[n+72>>2];if(!d|!v[n+68>>2]){break Dc}h=1<>2];j=0;f=1;while(1){k=0;b=0;if(f){while(1){b=v[c>>2];f=c;d=g;if(!v[n+36>>2]){b=b>>24-v[o+4>>2]}b=b+h|0;v[f>>2]=(b|0)<0?0:(b|0)>(g|0)?d:b;c=c+4|0;b=v[n+68>>2];k=k+1|0;if(b>>>0>k>>>0){continue}break}d=v[n+72>>2]}f=b;j=j+1|0;if(j>>>0>>0){continue}break}}c=1;i=i+1|0;if(i>>>0>2]){continue}break}}if(c){e=e+1|0;if(e>>>0>=B(v[a+196>>2],v[a+192>>2])>>>0){break nc}continue}break}a=2;break a}a=!l;break a}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,256084,0);a=2;break a}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229640,0);a=2;break a}i=1;if(B(v[a+196>>2],v[a+192>>2])>>>0<2){continue}j=v[a+200>>2];e=v[j+60>>2];b=v[(g+e|0)+48>>2];l=1;while(1){d=g+e|0;e=v[d+40>>2];h=l<<6;c=g+v[(h+j|0)+60>>2]|0;v[c+48>>2]=b;v[c+40>>2]=e;d=pd(v[c+44>>2],v[d+48>>2],4);j=v[a+200>>2];v[(g+v[(h+j|0)+60>>2]|0)+44>>2]=d;e=v[j+60>>2];h=g+e|0;Ec:{if(!v[h+48>>2]){b=0;break Ec}i=v[h+44>>2];c=0;while(1){b=c<<2;v[b+d>>2]=v[b+i>>2];b=v[h+48>>2];c=c+1|0;if(b>>>0>c>>>0){continue}break}}i=1;l=l+1|0;if(l>>>0>2],v[a+192>>2])>>>0){continue}break}continue}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229640,0);a=2;break a}f=1;i=1;if(!B(v[a+196>>2],v[a+192>>2])){continue}c=v[a+188>>2];l=0;while(1){b=c;c=0;Fc:{if(!b){break Fc}if(!l){d=0;while(1){Gc:{if(!d){break Gc}c=v[v[a+200>>2]+60>>2];f=B(d,88);b=c+f|0;v[b+40>>2]=v[c+40>>2];c=v[c+48>>2];v[b+48>>2]=c;g=pd(v[b+44>>2],c,4);b=v[v[a+200>>2]+60>>2];v[(b+f|0)+44>>2]=g;if(!v[b+48>>2]){break Gc}f=v[b+44>>2];c=0;while(1){e=c<<2;v[e+g>>2]=v[f+e>>2];c=c+1|0;if(c>>>0>2]){continue}break}}c=v[a+188>>2];d=d+1|0;if(c>>>0>d>>>0){continue}break}break Fc}c=v[a+200>>2];h=l<<6;f=v[(c+h|0)+60>>2];e=v[c+60>>2];b=v[e+48>>2];d=0;while(1){g=v[e+40>>2];j=B(d,88);c=j+f|0;v[c+48>>2]=b;v[c+40>>2]=g;g=pd(v[c+44>>2],v[e+48>>2],4);c=v[a+200>>2];f=v[(c+h|0)+60>>2];v[(j+f|0)+44>>2]=g;b=0;e=v[c+60>>2];if(v[e+48>>2]){j=v[e+44>>2];c=0;while(1){b=c<<2;v[b+g>>2]=v[b+j>>2];b=v[e+48>>2];c=c+1|0;if(b>>>0>c>>>0){continue}break}}c=v[a+188>>2];d=d+1|0;if(c>>>0>d>>>0){continue}break}}f=1;l=l+1|0;if(l>>>0>2],v[a+192>>2])>>>0){continue}break}continue}c=0;while(1){Hc:{if(h){b=v[a+8>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229574,0);a=2;break a}l=v[a+200>>2];e=v[(g+v[l+60>>2]|0)+84>>2];v[e+B(c,100)>>2]=b&15;b=b>>>4&15;break Hc}e=v[(g+v[l+60>>2]|0)+84>>2];v[e+B(c,100)>>2]=15;b=15}v[(B(c,100)+e|0)+4>>2]=b;c=c+1|0;if(d>>>0>=c>>>0){continue}break}k=1;b=B(v[a+196>>2],v[a+192>>2]);if(b>>>0<2){continue}d=v[a+200>>2];e=v[(g+v[d+60>>2]|0)+84>>2];l=1;while(1){c=g+v[(d+(l<<6)|0)+60>>2]|0;h=v[c+84>>2];j=v[c+20>>2];c=0;while(1){k=B(c,100);n=k+h|0;k=e+k|0;v[n>>2]=v[k>>2];v[n+4>>2]=v[k+4>>2];c=c+1|0;if(j>>>0>=c>>>0){continue}break}k=1;l=l+1|0;if((b|0)!=(l|0)){continue}break}continue}f=1;k=1;j=B(v[a+196>>2],v[a+192>>2]);if(!j){continue}b=v[a+188>>2];e=0;while(1){Ic:{if(!b){break Ic}d=v[a+200>>2];h=d+(e<<6)|0;if(!e){f=0;while(1){if(f){k=v[(v[h+60>>2]+B(f,88)|0)+84>>2];l=v[v[d+60>>2]+84>>2];c=0;while(1){n=B(c,100);o=n+k|0;n=l+n|0;v[o>>2]=v[n>>2];v[o+4>>2]=v[n+4>>2];c=c+1|0;if(g>>>0>=c>>>0){continue}break}}f=f+1|0;if((b|0)!=(f|0)){continue}break}break Ic}h=v[h+60>>2];d=v[v[d+60>>2]+84>>2];f=0;while(1){k=v[(h+B(f,88)|0)+84>>2];c=0;while(1){l=B(c,100);n=l+k|0;l=d+l|0;v[n>>2]=v[l>>2];v[n+4>>2]=v[l+4>>2];c=c+1|0;if(g>>>0>=c>>>0){continue}break}f=f+1|0;if((b|0)!=(f|0)){continue}break}}f=1;e=e+1|0;if((j|0)!=(e|0)){continue}break}k=1;continue}b=0;f=1;if(!v[a+188>>2]){continue}while(1){c=v[v[a+200>>2]+60>>2];Jc:{g=v[a+8>>2];f=Ub[v[v[g>>2]+28>>2]](g)|0;Kc:{if((f|0)==-1){break Kc}g=B(b,88);v[(g+c|0)+4>>2]=f;c=v[v[a+200>>2]+60>>2];f=v[a+8>>2];f=Ub[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break Kc}v[(c+g|0)+8>>2]=f;c=v[v[a+200>>2]+60>>2];f=v[a+8>>2];f=Ub[v[v[f>>2]+28>>2]](f)|0;if((f|0)!=-1){break Jc}}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229186,0);a=2;break a}v[(c+g|0)+12>>2]=f;f=g+v[v[a+200>>2]+60>>2]|0;if(!(v[f+12>>2]?v[f+8>>2]:0)){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229186,0);a=2;break a}c=1;d=v[f+4>>2];v[f+4>>2]=(d&127)+1;v[f>>2]=d>>>7&1;if(B(v[a+196>>2],v[a+192>>2])>>>0>=2){while(1){f=v[a+200>>2];gc(g+v[(f+(c<<6)|0)+60>>2]|0,g+v[f+60>>2]|0,88);c=c+1|0;if(c>>>0>2],v[a+192>>2])>>>0){continue}break}}f=1;b=b+1|0;if(b>>>0>2]){continue}break}continue}break}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,256023,0);a=2}Qb=ba+16|0;return a}function T8a(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,p=0,q=0,r=0,s=0,E=0,F=C(0),G=0,H=0,I=0,J=0,K=0,M=C(0),N=0,O=0,P=0,Q=0,R=C(0),S=0,T=0,U=0,V=0,W=0,X=C(0),Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ja=0,ka=C(0),la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0;J=Qb-1008|0;Qb=J;d=v[a+4>>2];f=v[a+12>>2];a:{if(!f){k=d<<2;f=32;break a}h=f;f=f>>31;k=h+f^f;f=(k>>>0)/(d>>>0)<<3}b:{c:{if((c|0)==21){v[J+20>>2]=0;v[J+24>>2]=0;u[J>>1]=256;u[J+2>>1]=0;u[J+4>>1]=0;v[J+16>>2]=188;v[J+8>>2]=858993459;v[J+12>>2]=1072378675;v[J+28>>2]=0;v[J+32>>2]=0;v[J+36>>2]=0;v[J+40>>2]=0;t[J+6|0]=0;g=v[a+4>>2];o=v[a+8>>2];c=v[a+16>>2];d:{if(t[b+11|0]>=0){v[J+1e3>>2]=v[b+8>>2];d=v[b+4>>2];v[J+992>>2]=v[b>>2];v[J+996>>2]=d;break d}Ke(J+992|0,v[b>>2],v[b+4>>2])}Y=J+992|0;a=!w[a+40|0];q=Qb-96|0;Qb=q;e:{f:{g:{if(!c){c=0;break g}f=Ug(g,o,32);v[q+68>>2]=f;if(!f){c=0;break g}if(!((o|0)<1|(g|0)<1)){m=a?0:2;k=a?2:0;while(1){d=0;while(1){n=w[c+k|0];r=w[c+1|0];I=w[c+m|0];b=Qb-16|0;Qb=b;h:{if(!f){break h}a=b+12|0;h=b+8|0;j=b+4|0;if(f){if(a){v[a>>2]=v[f>>2]}if(h){v[h>>2]=v[f+4>>2]}if(j){v[j>>2]=v[f+8>>2]}}if(v[b+4>>2]!=32|(d|0)<0|((e|0)<0|v[b+12>>2]<=(d|0))){break h}if(v[b+8>>2]<=(e|0)){break h}a=f?v[f+12>>2]:-1;v[((B(a,e)<<2)+(f?v[f+40>>2]:0)|0)+(d<<2)>>2]=r<<16|n<<24|I<<8}Qb=b+16|0;c=c+3|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}e=e+1|0;if((o|0)!=(e|0)){continue}break}}c=0;F=C(A[J+8>>3]);a=!w[J+1|0];b=w[J+3|0]?10:-1;l=fc(112);v[l+52>>2]=0;v[l+56>>2]=0;v[l+100>>2]=0;v[l+104>>2]=0;v[l+96>>2]=b;v[l+16>>2]=0;v[l+20>>2]=-1;t[l+13|0]=!a;t[l+12|0]=a;v[l+8>>2]=0;v[l+4>>2]=0;a=l+28|0;v[a>>2]=0;v[a+4>>2]=0;d=l+40|0;v[d>>2]=0;v[d+4>>2]=0;v[l+24>>2]=a;a=l+80|0;v[a>>2]=0;v[a+4>>2]=0;v[l+36>>2]=d;v[l+60>>2]=0;v[l+64>>2]=0;v[l+68>>2]=0;v[l+72>>2]=0;v[l+108>>2]=0;v[l+76>>2]=a;t[l+88|0]=(b^-1)>>>31;v[l+92>>2]=0;d=0;T=+F;i:{if(T<.4|T>.98){break i}e=0;a=bd(1,112);if(a){v[a+8>>2]=0;v[a+4>>2]=1;sa=a,ta=tm(0),v[sa+28>>2]=ta;b=bd(1,16);j:{if(!b){break j}v[b+4>>2]=20;g=bd(20,4);v[b+8>>2]=g;if(!g){break j}sa=b,ta=Io(20),v[sa+12>>2]=ta;e=b}v[a+68>>2]=e;sa=a,ta=Sj(0),v[sa+72>>2]=ta;sa=a,ta=Sj(0),v[sa+76>>2]=ta;sa=a,ta=tm(0),v[sa+84>>2]=ta;sa=a,ta=tm(0),v[sa+48>>2]=ta;sa=a,ta=Es(0),v[sa+88>>2]=ta;sa=a,ta=Es(0),v[sa+92>>2]=ta;sa=a,ta=tm(0),v[sa+96>>2]=ta;sa=a,ta=tm(0),v[sa+100>>2]=ta;sa=a,ta=Es(0),v[sa+104>>2]=ta}else{a=0}if(!a){break i}z[a+44>>2]=.5;z[a+40>>2]=F;v[a+16>>2]=9999;v[a+12>>2]=9999;b=bd(1,12);if(b){k:{d=bd(5507,4);v[b+8>>2]=d;if(!d){dc(b);b=0;break k}v[b+4>>2]=4;v[b>>2]=5507}}else{b=0}v[a+64>>2]=0;v[a+80>>2]=b;d=a}v[l>>2]=d;a=Vj(f,3);v[q+64>>2]=a;dd(q+68|0);if(!a){Is(l);break g}v[q+60>>2]=0;a=v[q+64>>2];b=v[a+8>>2];l:{if(b>>>0>=2){v[q+40>>2]=0;m:{if(b>>>0>=9){e=0;j=Qb-16|0;Qb=j;n:{if(!a|((a?v[a+8>>2]:-1)|0)!=32){break n}b=j+12|0;d=j+8|0;if(a){if(b){v[b>>2]=v[a>>2]}if(d){v[d>>2]=v[a+4>>2]}}d=a?v[a+40>>2]:0;f=a?v[a+12>>2]:-1;b=Ug(v[j+12>>2],v[j+8>>2],8);if(!b){break n}if(!(!a|!b|(a|0)==(b|0))){v[b+20>>2]=v[a+20>>2];v[b+24>>2]=v[a+24>>2]}g=b?v[b+40>>2]:0;h=b?v[b+12>>2]:-1;a=v[j+8>>2];o:{if((a|0)<1){break o}o=v[j+12>>2];if((o|0)<1){break o}while(1){if((o|0)>=1){m=g+(B(e,h)<<2)|0;a=d+(B(e,f)<<2)|0;c=0;while(1){t[c+m^3]=x[a+2>>1];a=a+4|0;c=c+1|0;o=v[j+12>>2];if((c|0)<(o|0)){continue}break}a=v[j+8>>2]}e=e+1|0;if((e|0)<(a|0)){continue}break}}c=b}Qb=j+16|0;v[q+40>>2]=c;if(c){break m}dd(q+68|0);Is(l);c=0;break g}if(a){v[a+16>>2]=v[a+16>>2]+1}c=a;v[q+40>>2]=a}p:{if(w[J+4|0]){h=v[J+16>>2];a=0;g=Qb-16|0;Qb=g;q:{if(!c|(((c?v[c+8>>2]:-1)|0)!=8|h>>>0>256)){break q}b=g+12|0;d=g+8|0;if(c){if(b){v[b>>2]=v[c>>2]}if(d){v[d>>2]=v[c+4>>2]}}m=v[g+8>>2];e=v[g+12>>2];b=c?v[c+40>>2]:0;d=c?v[c+12>>2]:-1;j=e<<1;k=(j+3|0)/4|0;o=bd(k<<1,4);if(!o){break q}f=Ug(j,m<<1,1);if(!f){break q}e=b;b=d;a=f;if(!(!c|!a|(a|0)==(c|0))){v[a+20>>2]=v[c+20>>2];v[a+24>>2]=v[c+24>>2]}if(a){Qq(a,C(2),C(2))}n=m-1|0;r=o+(k<<2)|0;d=a?v[a+12>>2]:-1;f=a?v[a+40>>2]:0;if((m|0)>=2){m=d<<1;c=0;while(1){V$(o,k,e+(B(b,c)<<2)|0,v[g+12>>2],b,0);I=f+(B(c,m)<<2)|0;Tj(I,j,o,8,h);Tj(I+(d<<2)|0,j,r,8,h);c=c+1|0;if((n|0)!=(c|0)){continue}break}}V$(o,k,e+(B(b,n)<<2)|0,v[g+12>>2],b,1);b=f+(B(d,n)<<3)|0;Tj(b,j,o,8,h);Tj(b+(d<<2)|0,j,r,8,h);dc(o)}Qb=g+16|0;v[q+60>>2]=a;break p}b=v[J+16>>2];if(w[J+5|0]){a=0;n=Qb-16|0;Qb=n;r:{if(!c|(((c?v[c+8>>2]:-1)|0)!=8|b>>>0>256)){break r}d=n+12|0;e=n+8|0;if(c){if(d){v[d>>2]=v[c>>2]}if(e){v[e>>2]=v[c+4>>2]}}j=v[n+8>>2];f=v[n+12>>2];d=c?v[c+40>>2]:0;e=c?v[c+12>>2]:-1;h=f<<2;k=(h|3)/4|0;o=bd(k<<2,4);if(!o){break r}g=Ug(h,j<<2,1);if(!g){break r}f=d;a=g;if(!(!c|!a|(a|0)==(c|0))){v[a+20>>2]=v[c+20>>2];v[a+24>>2]=v[c+24>>2]}if(a){Qq(a,C(4),C(4))}r=j-1|0;c=a?v[a+12>>2]:-1;g=a?v[a+40>>2]:0;s:{if((j|0)<=1){E=B(k,3);m=B(c,3);j=k<<1;p=c<<1;break s}O=c<<2;m=B(c,3);j=k<<1;p=c<<1;U=o+(k<<3)|0;N=o+(k<<2)|0;E=B(k,3);G=o+(E<<2)|0;d=0;while(1){U$(o,k,f+(B(d,e)<<2)|0,v[n+12>>2],e,0);I=g+(B(d,O)<<2)|0;Tj(I,h,o,8,b);Tj(I+O|0,h,N,8,b);Tj(I+(p<<2)|0,h,U,8,b);Tj(I+(m<<2)|0,h,G,8,b);d=d+1|0;if((r|0)!=(d|0)){continue}break}}U$(o,k,f+(B(e,r)<<2)|0,v[n+12>>2],e,1);d=g+(B(c,r)<<4)|0;Tj(d,h,o,8,b);Tj(d+(c<<2)|0,h,o+(k<<2)|0,8,b);Tj(d+(p<<2)|0,h,o+(j<<2)|0,8,b);Tj(d+(m<<2)|0,h,o+(E<<2)|0,8,b);dc(o)}Qb=n+16|0;v[q+60>>2]=a;break p}d=0;j=Qb-16|0;Qb=j;t:{if(!c){break t}a=j+8|0;e=j+4|0;f=j+12|0;if(c){if(a){v[a>>2]=v[c>>2]}if(e){v[e>>2]=v[c+4>>2]}if(f){v[f>>2]=v[c+8>>2]}}u:{a=v[j+12>>2];switch(a-4|0){case 0:case 4:break u;default:break t}}if((a|0)==8&(b|0)>256|((a|0)==4&(b|0)>16|(b|0)<0)){break t}a=Ug(v[j+8>>2],v[j+4>>2],1);if(!a){break t}if(!(!c|!a|(a|0)==(c|0))){v[a+20>>2]=v[c+20>>2];v[a+24>>2]=v[c+24>>2]}e=a?v[a+40>>2]:0;d=a;if(a){f=v[d+12>>2]}else{f=-1}o=Vj(c,1);v[j>>2]=o;g=o?v[o+40>>2]:0;h=o?v[o+12>>2]:-1;o=v[j+12>>2];if(!(!(c?v[c+36>>2]:0)|(o|0)!=4)){o=8;v[j+12>>2]=8;b=b<<4}c=v[j+8>>2];a=0;m=v[j+4>>2];if((m|0)>=1){while(1){Tj(e+(B(a,f)<<2)|0,c,g+(B(a,h)<<2)|0,o,b);a=a+1|0;if((m|0)!=(a|0)){continue}break}}dd(j)}Qb=j+16|0;v[q+60>>2]=d}dd(q+40|0);break l}if(a){v[a+16>>2]=v[a+16>>2]+1}v[q+60>>2]=a}b=w[J+43|0];a=b<<24>>24<0;if(a?v[J+36>>2]:b){b=J+32|0;f0(a?v[b>>2]:b,v[q+60>>2])}v:{if(!w[J+6|0]){break v}r=v[q+64>>2];if(y[r+8>>2]<2){break v}I=v[q+60>>2];v[q+40>>2]=I;b=Gv(I,14219);v[q+24>>2]=b;a=Gv(I,16532);v[q+92>>2]=a;d=0;G=0;K=Qb-16|0;Qb=K;w:{if(!a|(!b|((a?v[a+8>>2]:-1)|0)!=1)){break w}if(((b?v[b+8>>2]:-1)|0)!=1){break w}d=Xe(0,a);if(!d){d=0;break w}e=Hs(a);v[K+8>>2]=e;if(!e){break w}p=d?v[d+4>>2]:-1;O=b?v[b+4>>2]:-1;U=d?v[d+40>>2]:0;N=b?v[b+40>>2]:0;o=d?v[d+12>>2]:-1;m=b?v[b+12>>2]:-1;Gs(b);while(1){x:{Xe(e,d);f=0;j=(p|0)<(O|0)?p:O;h=(m|0)>(o|0)?o:m;y:{if((j|0)<1|(h|0)<1){break y}g=h-1|0;i=0-o<<2;while(1){k=U+(B(f,o)<<2)|0;n=N+(B(f,m)<<2)|0;c=0;z:{if(f){s=i+k|0;while(1){b=c<<2;E=b+s|0;a=v[E>>2];H=b+k|0;a=a|v[H>>2]|a<<1|a>>>1;a=c?v[E-4>>2]<<31|a:a;a=(c|0)<(g|0)?v[E+4>>2]>>>31|a:a;E=v[b+n>>2];if(c){a=v[H-4>>2]<<31|a}b=a&E;a=b;if(a+1>>>0>=2){while(1){a=b;b=E&(a|a>>>1|a<<1);if((a|0)!=(b|0)){continue}break}}v[H>>2]=a;c=c+1|0;if((h|0)!=(c|0)){continue}break}break z}while(1){a=c<<2;E=v[a+n>>2];H=a+k|0;a=v[H>>2];if(c){a=a|v[H-4>>2]<<31}b=a&E;a=b;if(a+1>>>0>=2){while(1){a=b;b=E&(a|a>>>1|a<<1);if((a|0)!=(b|0)){continue}break}}v[H>>2]=a;c=c+1|0;if((h|0)!=(c|0)){continue}break}}f=f+1|0;if((j|0)!=(f|0)){continue}break}if((j|0)<1|(h|0)<1){break y}H=j-1|0;f=H;while(1){h=U+(B(f,o)<<2)|0;j=N+(B(f,m)<<2)|0;c=g;A:{if((f|0)<(H|0)){i=h+(o<<2)|0;while(1){b=c<<2;k=b+i|0;a=v[k>>2];n=b+h|0;a=a|v[n>>2]|a<<1|a>>>1;a=(c|0)>=1?v[k-4>>2]<<31|a:a;E=v[b+j>>2];if((c|0)<(g|0)){a=v[k+4>>2]>>>31|a|v[n+4>>2]>>>31}b=a&E;a=b;if(a+1>>>0>=2){while(1){a=b;b=E&(a|a>>>1|a<<1);if((a|0)!=(b|0)){continue}break}}v[n>>2]=a;a=(c|0)>0;c=c-1|0;if(a){continue}break}break A}while(1){a=c<<2;k=v[a+j>>2];n=a+h|0;a=v[n>>2];if((c|0)<(g|0)){a=a|v[n+4>>2]>>>31}b=a&k;a=b;if(a+1>>>0>=2){while(1){a=b;b=k&(a|a>>>1|a<<1);if((a|0)!=(b|0)){continue}break}}v[n>>2]=a;a=(c|0)>0;c=c-1|0;if(a){continue}break}}a=(f|0)>0;f=f-1|0;if(a){continue}break}}b=Qb-48|0;Qb=b;i=K+12|0;B:{if(!i){break B}v[i>>2]=0;if(!d|!e){break B}a=b+44|0;c=b+40|0;f=b+36|0;if(d){if(a){v[a>>2]=v[d>>2]}if(c){v[c>>2]=v[d+4>>2]}if(f){v[f>>2]=v[d+8>>2]}}a=b+32|0;c=b+28|0;f=b+24|0;if(e){if(a){v[a>>2]=v[e>>2]}if(c){v[c>>2]=v[e+4>>2]}if(f){v[f>>2]=v[e+8>>2]}}if(v[b+44>>2]!=v[b+32>>2]|v[b+40>>2]!=v[b+28>>2]){break B}a=d?v[d+36>>2]:0;c=e?v[e+36>>2]:0;C:{if(a|c){break C}f=v[b+36>>2];g=v[b+24>>2];if((f|0)==(g|0)){break C}if((f|0)==32|(g|0)==32){break B}}f=(a|0)!=0&(c|0)!=0;if(!(!f|v[b+36>>2]!=v[b+24>>2])){g=0;c=0;j=0;H=Qb-32|0;Qb=H;D:{if(!i){break D}v[i>>2]=0;if(!d|!e){break D}E:{F:{if(!d|!e){break F}a=1;if((d|0)==(e|0)){break E}if(v[d>>2]!=v[e>>2]|v[d+4>>2]!=v[e+4>>2]){break F}g=v[d+8>>2]==v[e+8>>2]}a=g}if(!a){break D}f=d?v[d+36>>2]:0;g=e?v[e+36>>2]:0;if(!f|!g){break D}k=d?v[d+8>>2]:-1;if(k>>>0>8|!(1<>2]:0;G:{if((a|0)!=((g?v[g+12>>2]:0)|0)){break G}if((a|0)<=0){c=1;break G}while(1){Jo(f,j,H+28|0,H+20|0,H+12|0);Jo(g,j,H+24|0,H+16|0,H+8|0);if(v[H+28>>2]!=v[H+24>>2]|v[H+20>>2]!=v[H+16>>2]|v[H+12>>2]!=v[H+8>>2]){break G}j=j+1|0;if((a|0)!=(j|0)){continue}break}c=1}a=d?v[d+4>>2]:-1;h=d?v[d>>2]:-1;H:{I:{if(!c){if((a|0)<1|(h|0)<1){break I}j=0;while(1){c=0;while(1){c0(d,c,j,H+4|0);c0(e,c,j,H);Jo(f,v[H+4>>2],H+28|0,H+20|0,H+12|0);Jo(g,v[H>>2],H+24|0,H+16|0,H+8|0);if(v[H+28>>2]!=v[H+24>>2]|v[H+20>>2]!=v[H+16>>2]|v[H+12>>2]!=v[H+8>>2]){break D}c=c+1|0;if((h|0)!=(c|0)){continue}break}j=j+1|0;if((a|0)!=(j|0)){continue}break}break I}c=d?v[d+12>>2]:-1;f=e?v[e+12>>2]:-1;n=d?v[d+40>>2]:0;E=e?v[e+40>>2]:0;if((a|0)<1){break I}g=B(h,k);s=(g|0)/32|0;h=c;k=f;f=g&31;S=-1<<32-f;if((g|0)>=32){c=0;if(!f){while(1){f=E+(B(c,k)<<2)|0;j=n+(B(c,h)<<2)|0;g=0;while(1){if(v[j>>2]!=v[f>>2]){break D}f=f+4|0;j=j+4|0;g=g+1|0;if((s|0)!=(g|0)){continue}break}c=c+1|0;if((a|0)!=(c|0)){continue}break I}}while(1){f=E+(B(c,k)<<2)|0;j=n+(B(c,h)<<2)|0;g=0;while(1){if(v[j>>2]!=v[f>>2]){break D}f=f+4|0;j=j+4|0;g=g+1|0;if((s|0)!=(g|0)){continue}break}if(S&(v[f>>2]^v[j>>2])){break D}c=c+1|0;if((a|0)!=(c|0)){continue}break}break I}if(!f){break I}f=0;while(1){if(S&(v[E+(B(f,k)<<2)>>2]^v[n+(B(f,h)<<2)>>2])){break H}f=f+1|0;if((a|0)!=(f|0)){continue}break}}v[i>>2]=1}}Qb=H+32|0;break B}J:{if(!(c|!a)){T$(d,b+20|0);a=v[b+24>>2];if((a|0)<9?v[b+20>>2]:0){break B}c=b;K:{if((a|0)<=7){a=yA(e);break K}if(e){v[e+16>>2]=v[e+16>>2]+1}a=e}v[c+12>>2]=a;if(v[b+24>>2]<=8){sa=b,ta=Vj(d,1),v[sa+16>>2]=ta;break J}sa=b,ta=Vj(d,2),v[sa+16>>2]=ta;break J}if(!(!c|a)){T$(e,b+20|0);a=v[b+36>>2];if((a|0)<9?v[b+20>>2]:0){break B}c=b;L:{if((a|0)<=7){a=yA(d);break L}if(d){v[d+16>>2]=v[d+16>>2]+1}a=d}v[c+16>>2]=a;if(v[b+36>>2]<=8){sa=b,ta=Vj(e,1),v[sa+12>>2]=ta;break J}sa=b,ta=Vj(e,2),v[sa+12>>2]=ta;break J}if(f){sa=b,ta=Vj(d,2),v[sa+16>>2]=ta;sa=b,ta=Vj(e,2),v[sa+12>>2]=ta;break J}if(d){v[d+16>>2]=v[d+16>>2]+1}v[b+16>>2]=d;if(e){v[e+16>>2]=v[e+16>>2]+1}v[b+12>>2]=e}a=b;f=a;c=v[a+16>>2];if(c){a=v[c+8>>2]}else{a=-1}v[f+36>>2]=a;c=b;a=v[b+12>>2];if(a){a=v[a+8>>2]}else{a=-1}v[c+24>>2]=a;c=v[b+36>>2];M:{N:{if((c|0)!=(a|0)){if(!((c|0)!=16&(a|0)!=16)){dd(b+16|0);dd(b+12|0);break M}g=g0(v[b+16>>2]);v[b+8>>2]=g;f=g0(v[b+12>>2]);v[b+4>>2]=f;if(f?g:0){break N}dd(b+16|0);dd(b+12|0);dd(b+8|0);dd(b+4|0);break M}g=v[b+16>>2];if(g){v[g+16>>2]=v[g+16>>2]+1}v[b+8>>2]=g;f=v[b+12>>2];if(f){v[f+16>>2]=v[f+16>>2]+1}v[b+4>>2]=f}dd(b+16|0);dd(b+12|0);v[b+36>>2]=g?v[g+8>>2]:-1;v[b+24>>2]=f?v[f+8>>2]:-1;h=g?v[g+12>>2]:-1;j=f?v[f+12>>2]:-1;k=g?v[g+40>>2]:0;n=f?v[f+40>>2]:0;O:{P:{a=v[b+36>>2];Q:{if((a|0)==32){E=v[b+40>>2];if((E|0)<1|(h|0)<1){break Q}c=0;while(1){g=n+(B(c,j)<<2)|0;f=k+(B(c,h)<<2)|0;a=0;R:{while(1){if((v[g>>2]^v[f>>2])>>>0>255){break R}g=g+4|0;f=f+4|0;a=a+1|0;if((h|0)!=(a|0)){continue}break}c=c+1|0;if((E|0)!=(c|0)){continue}break Q}break}dd(b+8|0);dd(b+4|0);break M}E=v[b+40>>2];if((E|0)<1){break Q}a=B(a,v[b+44>>2]);H=(a|0)/32|0;f=a&31;s=-1<<32-f;if((a|0)>=32){c=0;if(!f){while(1){g=n+(B(c,j)<<2)|0;f=k+(B(c,h)<<2)|0;a=0;while(1){if(v[f>>2]!=v[g>>2]){break P}g=g+4|0;f=f+4|0;a=a+1|0;if((H|0)!=(a|0)){continue}break}c=c+1|0;if((E|0)!=(c|0)){continue}break Q}}while(1){g=n+(B(c,j)<<2)|0;f=k+(B(c,h)<<2)|0;a=0;while(1){if(v[f>>2]!=v[g>>2]){break P}g=g+4|0;f=f+4|0;a=a+1|0;if((H|0)!=(a|0)){continue}break}if(s&(v[g>>2]^v[f>>2])){break O}c=c+1|0;if((E|0)!=(c|0)){continue}break}break Q}if(!f){break Q}g=0;while(1){if(s&(v[n+(B(g,j)<<2)>>2]^v[k+(B(g,h)<<2)>>2])){break O}g=g+1|0;if((E|0)!=(g|0)){continue}break}}dd(b+8|0);dd(b+4|0);v[i>>2]=1;break M}dd(b+8|0);dd(b+4|0);break M}dd(b+8|0);dd(b+4|0)}}Qb=b+48|0;if(v[K+12>>2]==1){break x}G=G+1|0;if((G|0)!=40){continue}}break}dd(K+8|0)}Qb=K+16|0;v[q+88>>2]=d;b=Gv(d,19160);v[q+84>>2]=b;c=Ug(v[r>>2],v[r+4>>2],1);v[q+80>>2]=c;a=r;if(!(!a|!c|(a|0)==(c|0))){v[c+20>>2]=v[a+20>>2];v[c+24>>2]=v[a+24>>2]}Z$(v[c+40>>2],v[c+12>>2],v[b+40>>2],v[b>>2],v[b+4>>2],v[b+12>>2],4);dd(q+84|0);dd(q+88|0);dd(q+92|0);dd(q+24|0);f=Qb-16|0;Qb=f;b=I;S:{if(!b|!c){break S}d=b;if(b){e=v[d+8>>2]}else{e=-1}if((e|0)!=((c?v[c+8>>2]:-1)|0)){break S}e=f+12|0;g=f+8|0;if(d){if(e){v[e>>2]=v[d>>2]}if(g){v[g>>2]=v[d+4>>2]}}if(!b){Oe(Xe(0,d),0,0,v[f+12>>2],v[f+8>>2],4,c,0,0);break S}if((b|0)==(d|0)){Oe(d,0,0,v[f+12>>2],v[f+8>>2],4,c,0,0);break S}if((b|0)==(c|0)){Oe(c,0,0,v[f+12>>2],v[f+8>>2],8,d,0,0);break S}Xe(b,d);Oe(b,0,0,v[f+12>>2],v[f+8>>2],4,c,0,0)}Qb=f+16|0;d=v[293398];if(!d){d=Fs();v[293398]=d}Uj(c,q+76|0,d);T:{if(v[q+76>>2]<=99){dd(q+80|0);break T}Uj(b,q+76|0,v[293398]);if(v[q+76>>2]<=99){dd(q+40|0)}b=q;U:{V:{W:{X:{d=v[a+8>>2];switch(d-1|0){case 1:case 2:case 3:case 4:case 5:case 6:break V;case 0:case 7:break W;default:break X}}if((d|0)!=32){break V}}if(a){v[a+16>>2]=v[a+16>>2]+1}break U}if(d>>>0>=9){a=h0(a);break U}a=yA(a)}d=b;b=a;v[d+72>>2]=a;Y:{Z:{a=v[a+8>>2];if((a|0)!=8){if((a|0)!=32){break Z}a=h0(c);break Y}a=yA(c);break Y}if(c){v[c+16>>2]=v[c+16>>2]+1}a=c}dd(q+80|0);if(!(!a|!b)){Oe(a,0,0,a?v[a>>2]:-1,a?v[a+4>>2]:-1,28,b,0,0)}dd(q+72|0);if(!a){break T}b=t[J+31|0];c=v[J+20>>2];v[q+8>>2]=5453;v[q+4>>2]=0;v[q>>2]=(b|0)<0?c:J+20|0;b=Qb-16|0;Qb=b;v[b+12>>2]=q;zN(q+40|0,1588,q);Qb=b+16|0;f0(v[q+40>>2],a);dc(v[q+40>>2])}if(v[q+60>>2]){break v}c=1;break g}dd(q- -64|0);if(!w[J+2|0]){v[q+24>>2]=0;r=!w[J+1|0];o=w[J|0];d=Qb-72352|0;Qb=d;_:{$:{a=v[q+60>>2];aa:{if(!a){b=0;break aa}Gs(a);e=r?16777216:0;b=d+128|0;CA(b);v[d+112>>2]=0;v[d+116>>2]=1;v[d+104>>2]=0;v[d+108>>2]=0;v[d+96>>2]=0;v[d+100>>2]=0;v[d+72>>2]=0;c=d- -64|0;v[c>>2]=0;v[c+4>>2]=0;v[d+56>>2]=0;v[d+60>>2]=0;v[d+36>>2]=0;v[d+40>>2]=0;v[d+28>>2]=0;v[d+32>>2]=0;v[d+20>>2]=0;v[d+24>>2]=0;v[d+120>>2]=19;v[d+88>>2]=0;v[d+92>>2]=48;v[d+12>>2]=0;v[d+16>>2]=0;m=v[a>>2];c=m;f=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);k=v[a+4>>2];c=k;g=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);c=v[a+20>>2];h=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);c=v[a+24>>2];j=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);r0(b,v[a+40>>2],m,k,o);MI(b);c=v[b+20>>2];b=v[b+12>>2];m=c+B(v[b+4>>2]-v[b>>2]>>2,20480)|0;v[d+76>>2]=1;v[d+48>>2]=1;v[d+52>>2]=38;v[d+36>>2]=1;v[d+8>>2]=2;v[d+80>>2]=m+26;c=0;I=o?8:0;b=v[a>>2];k=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);a=v[a+4>>2];n=a<<8&16711680|a<<24|(a>>>8&65280|a>>>24);ba:{if(!r){o=m+67|0;b=jc(o);break ba}o=m+102|0;b=jc(o);t[b+9|0]=e;t[b+10|0]=e>>>8;t[b+11|0]=e>>>16;t[b+12|0]=e>>>24;t[b+8|0]=1;v[b>>2]=843205271;v[b+4>>2]=169478669;c=13}um(d+88|0,b+c|0);a=v[d+88>>2];c=((y[d+116>>2]<256?11:12)+c|0)+B(v[d+108>>2]-v[d+104>>2]>>2,a>>>0<257?1:a>>>0<65537?2:4)|0;a=c+b|0;t[a+17|0]=0;t[a+18|0]=0;t[a+16|0]=1;t[a+12|0]=j;t[a+13|0]=j>>>8;t[a+14|0]=j>>>16;t[a+15|0]=j>>>24;t[a+8|0]=h;t[a+9|0]=h>>>8;t[a+10|0]=h>>>16;t[a+11|0]=h>>>24;t[a+4|0]=g;t[a+5|0]=g>>>8;t[a+6|0]=g>>>16;t[a+7|0]=g>>>24;t[a|0]=f;t[a+1|0]=f>>>8;t[a+2|0]=f>>>16;t[a+3|0]=f>>>24;a=c+19|0;um(d+48|0,a+b|0);c=a+(y[d+76>>2]<256?11:12)|0;a=v[d+48>>2];c=c+B(v[d+68>>2]-v[d+64>>2]>>2,a>>>0<257?1:a>>>0<65537?2:4)|0;a=c+b|0;t[a+8|0]=0;t[a+9|0]=0;t[a+10|0]=0;t[a+11|0]=0;t[a+12|0]=0;t[a+13|0]=0;t[a+14|0]=0;t[a+15|0]=0;t[a+4|0]=n;t[a+5|0]=n>>>8;t[a+6|0]=n>>>16;t[a+7|0]=n>>>24;t[a|0]=k;t[a+1|0]=k>>>8;t[a+2|0]=k>>>16;t[a+3|0]=k>>>24;t[a+18|0]=3;t[a+19|0]=255;t[a+20|0]=253;t[a+21|0]=255;t[a+22|0]=2;t[a+23|0]=254;t[a+24|0]=254;t[a+25|0]=254;t[a+17|0]=I;t[a+16|0]=0;a=c+26|0;AA(d+128|0,a+b|0);a=a+m|0;if(r){v[d+12>>2]=49;c=d+8|0;um(c,a+b|0);v[d+12>>2]=51;e=a+(y[d+36>>2]<256?11:12)|0;a=v[d+8>>2];a=e+B(v[d+28>>2]-v[d+24>>2]>>2,a>>>0<257?1:a>>>0<65537?2:4)|0;um(c,a+b|0);c=a+(y[d+36>>2]<256?11:12)|0;a=v[d+8>>2];a=c+B(v[d+28>>2]-v[d+24>>2]>>2,a>>>0<257?1:a>>>0<65537?2:4)|0}if((a|0)!=(o|0)){break $}BA(d+128|0);v[q+24>>2]=o;a=v[d+24>>2];if(a){v[d+28>>2]=a;dc(a)}a=v[d+64>>2];if(a){v[d+68>>2]=a;dc(a)}a=v[d+104>>2];if(!a){break aa}v[d+108>>2]=a;dc(a)}Qb=d+72352|0;break _}ia();L()}a=q+40|0;v[a+12>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a>>2]=530160;c=bv(a,Y);if(c){vz(a,b,v[q+24>>2]);vk(a)}dd(q+60|0);if(b){dc(b)}Is(l);lg(a);break g}ca=Qb-16|0;Qb=ca;o=v[q+60>>2];if(o){v[o+16>>2]=v[o+16>>2]+1}v[ca+12>>2]=o;ca:{da:{ea:{fa:{ga:{if(!w[l+88|0]){break ga}e=v[l>>2];a=v[l+104>>2];if((a|0)!=v[l+108>>2]){v[a>>2]=v[e+24>>2];v[l+104>>2]=a+4;break ga}d=l+100|0;b=v[d>>2];c=a-b|0;f=c>>2;a=f+1|0;if(a>>>0>=1073741824){break fa}d=c>>1;d=f>>>0<536870911?a>>>0>d>>>0?a:d:1073741823;if(d){if(d>>>0>=1073741824){break b}a=fc(d<<2)}else{a=0}f=a+(f<<2)|0;v[f>>2]=v[e+24>>2];if((c|0)>=1){gc(a,b,c)}v[l+108>>2]=a+(d<<2);v[l+104>>2]=f+4;v[l+100>>2]=a;if(!b){break ga}dc(b)}H=Qb-16|0;Qb=H;a=v[l>>2];ha:{if(!a|!o|((o?v[o+8>>2]:-1)|0)!=1){break ha}c=a;b=o;if(b){d=v[b>>2]}else{d=-1}v[c+52>>2]=d;v[a+56>>2]=b?v[b+4>>2]:-1;e=v[a+8>>2];I=v[a+12>>2];E=v[a+16>>2];h=H+8|0;d=0;m=Qb-32|0;Qb=m;c=1;ia:{if((H|0)==-12){break ia}v[H+12>>2]=0;if(!h){break ia}v[h>>2]=0;if(!b|e>>>0>2){break ia}Hv(b,m+28|0);if(v[m+28>>2]){c=0;sa=H,ta=Io(0),v[sa+12>>2]=ta;sa=h,ta=Sj(0),v[sa>>2]=ta;break ia}ja:{ka:{switch(e|0){case 0:g=pI(b,m+8|0,8);v[m+24>>2]=g;f=v[m+8>>2];break ja;case 1:c=Gv(b,3260);v[m+20>>2]=c;d=c;c=m+4|0;g=pI(d,c,8);v[m+24>>2]=g;f=O$(v[m+4>>2],b);v[m+8>>2]=f;dd(m+20|0);wj(c);break ja;default:break ka}}c=b?v[b+20>>2]:0;la:{if((c|0)<=200){if(b){v[b+16>>2]=v[b+16>>2]+1}c=b;v[m+20>>2]=b;g=1;break la}if((c|0)<=400){c=nI(b,1,0,0,0);v[m+20>>2]=c;g=2;break la}c=nI(b,1,1,0,0);v[m+20>>2]=c;g=4}e=Qb-96|0;Qb=e;ma:{if(!c){c=0;break ma}k=Sj(8);v[e+12>>2]=k;c=Xe(0,c);v[e+20>>2]=c;th(k,c,1);n=tm(7);v[e+24>>2]=n;j=Xe(0,c);f=oI(j,4);v[e+28>>2]=f;f=f?v[f>>2]:0;v[e+32>>2]=f;F=C(f|0);if(n){hh(n,F)}th(k,j,1);dd(e+20|0);v[e+20>>2]=j;nn(e+28|0);j=1e6;c=1;while(1){r=Gv(v[e+20>>2],8032);v[e+16>>2]=r;f=oI(r,4);v[e+28>>2]=f;p=(e+32|0)+(c<<2)|0;f=f?v[f>>2]:0;v[p>>2]=f;F=C(f|0);if(n){hh(n,F)}p=v[p-4>>2];th(k,r,1);dd(e+20|0);v[e+20>>2]=r;r=p-f|0;f=(r|0)<(j|0);j=f?r:j;d=f?c:d;f=(c|0)!=7;nn(e+28|0);c=c+1|0;if(f){continue}break}dd(e+20|0);c=Cf(k,d);v[e+16>>2]=c;d=qi(1,d,0,d-1|0);v[e+8>>2]=d;c=Dk(0,c,d);Li(e+8|0);dd(e+16|0);wj(e+12|0);Zh(e+24|0)}Qb=e+96|0;v[m+16>>2]=c;c=e0(c,g);v[m+12>>2]=c;d=c;c=m+4|0;g=pI(d,c,4);v[m+24>>2]=g;f=O$(v[m+4>>2],b);v[m+8>>2]=f;wj(c);dd(m+20|0);dd(m+16|0);dd(m+12|0)}c=0;d=0;j=Qb-16|0;Qb=j;if(f){na:{if(!f){break na}b=v[f+16>>2];if(!b){break na}oa:{if(b){v[b+8>>2]=v[b+8>>2]+1;break oa}b=0}d=b}v[j+12>>2]=d;k=N$(d,I,E);v[j+8>>2]=k;nn(j+12|0);d=0;b=0;n=Qb-16|0;Qb=n;pa:{if(!f|!k){break pa}e=k?v[k+4>>2]:0;if((e|0)>=1){while(1){aj(k,d,n+12|0);b=(v[n+12>>2]==1)+b|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}}if((b|0)==(e|0)){qa:{if(f){v[f+8>>2]=v[f+8>>2]+1;b=f;break qa}b=0}break pa}b=Sj(b);if((e|0)<1){break pa}d=0;while(1){aj(k,d,n+12|0);if(v[n+12>>2]){r=Cf(f,d);p=_$(f,d,2);th(b,r,0);Lo(b,p)}d=d+1|0;if((e|0)!=(d|0)){continue}break}}Qb=n+16|0;Zh(j+8|0);d=b}Qb=j+16|0;v[h>>2]=d;b=0;j=Qb-16|0;Qb=j;if(g){f=N$(g,I,E);v[j+12>>2]=f;d=0;h=Qb-16|0;Qb=h;ra:{if(!g|!f){break ra}e=f?v[f+4>>2]:0;if((e|0)>=1){while(1){aj(f,d,h+12|0);b=(v[h+12>>2]==1)+b|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}}if((b|0)==(e|0)){sa:{if(g){v[g+8>>2]=v[g+8>>2]+1;b=g;break sa}b=0}break ra}b=Io(b);if((e|0)<1){break ra}d=0;while(1){aj(f,d,h+12|0);if(v[h+12>>2]){tA(b,Ho(g,d))}d=d+1|0;if((e|0)!=(d|0)){continue}break}}Qb=h+16|0;Zh(j+12|0)}Qb=j+16|0;v[H+12>>2]=b;wj(m+8|0);nn(m+24|0)}Qb=m+32|0;if(c){break ha}U=v[H+12>>2];O=v[H+8>>2];f=0;e=0;ta:{if(!a|!o){break ta}if(!(!(U?v[U>>2]:0)|(!U|!O))){ua:{if(!v[a+4>>2]){g=Qb-80|0;Qb=g;p=1;va:{if(!O|(!a|!U)){break va}s=v[a+20>>2];b=v[a+32>>2];c=b;b=(b|0)/2|0;c=qi(c,c,b,b);v[g+12>>2]=c;h=O?v[O>>2]:0;j=Sj(h);v[g+24>>2]=j;ba=Sj(h);v[g+20>>2]=ba;if((h|0)>=1){p=0;while(1){b=Cf(O,p);v[g+48>>2]=b;b=zI(b,6,6,6,6);v[g+44>>2]=b;d=Ek(0,b,c);v[g+40>>2]=d;th(j,b,0);th(ba,d,0);dd(g+48|0);p=p+1|0;if((h|0)!=(p|0)){continue}break}}b=0;p=0;N=Qb-16|0;Qb=N;c=j;wa:{if(!c){break wa}k=c;if(c){n=v[k>>2]}else{n=0}if(!n){break wa}c=Cf(k,0);v[N+12>>2]=c;c=c?v[c+8>>2]:-1;dd(N+12|0);xa:{switch(c-1|0){case 0:case 7:break xa;default:break wa}}d=Es(n);if(!d){break wa}if(!v[293401]){e=$$();v[293401]=e;if(!e){break wa}}if(!v[293402]){e=Fs();v[293402]=e;if(!e){break wa}}ya:{if((n|0)<1){break ya}if((c|0)==1){while(1){sa=N,ta=Cf(k,p),v[sa+12>>2]=ta;b=v[N+12>>2];if(b){e=v[b+4>>2]}else{e=-1}b=v[N+12>>2];if(b){r=v[b+40>>2]}else{r=0}b=v[N+12>>2];if(b){f=v[b+12>>2]}else{f=-1}za:{Aa:{if((e|0)<=0){break Aa}m=0;if((f|0)>0){I=v[293401];E=v[293402];F=C(0);M=C(0);G=0;while(1){W=r+(B(f,m)<<2)|0;b=0;c=0;while(1){K=v[W+(b<<2)>>2];if(K){Z=K<<2&1020;i=v[Z+E>>2];_=K>>>6&1020;S=v[_+E>>2];$=K>>>14&1020;Q=v[$+E>>2];V=K>>>22&1020;P=v[V+E>>2];K=b<<5;M=C(C(C(C(M+C(v[I+Z>>2]+B(i,K|24)|0))+C(v[I+_>>2]+B(S,K|16)|0))+C(v[I+$>>2]+B(Q,K|8)|0))+C(v[I+V>>2]+B(K,P)|0));c=P+(Q+(S+(c+i|0)|0)|0)|0}b=b+1|0;if((f|0)!=(b|0)){continue}break}G=c+G|0;F=C(F+C(B(c,m)|0));m=m+1|0;if((e|0)!=(m|0)){continue}break}if(!G){break Aa}R=M;M=C(G|0);R=C(R/M);F=C(F/M);if(d){Bl(d,R,F)}break za}b=e&7;if(e-1>>>0>=7){f=e&-8;while(1){f=f-8|0;if(f){continue}break}}if(!b){break Aa}while(1){b=b-1|0;if(b){continue}break}}if(d){Bl(d,C(0),C(0))}}dd(N+12|0);p=p+1|0;if((n|0)!=(p|0)){continue}break ya}}while(1){b=Cf(k,p);v[N+12>>2]=b;e=b?v[b>>2]:-1;b=v[N+12>>2];if(b){m=v[b+4>>2]}else{m=-1}b=v[N+12>>2];if(b){r=v[b+40>>2]}else{r=0}b=v[N+12>>2];if(b){I=v[b+12>>2]}else{I=-1}Ba:{Ca:{if(!((m|0)<1|(e|0)<1)){E=e&-2;Q=e&1;M=C(0);G=0;F=C(0);c=0;while(1){K=r+(B(G,I)<<2)|0;b=0;f=E;if((e|0)!=1){while(1){P=b|1;S=w[P+K^3];i=w[b+K^3];c=S+(i+c|0)|0;M=C(C(M+C(B(i,G)|0))+C(B(G,S)|0));F=C(C(F+C(B(b,i)|0))+C(B(P,S)|0));b=b+2|0;f=f-2|0;if(f){continue}break}}if(Q){f=w[b+K^3];c=f+c|0;M=C(M+C(B(f,G)|0));F=C(F+C(B(b,f)|0))}G=G+1|0;if((m|0)!=(G|0)){continue}break}if(c){break Ca}}if(d){Bl(d,C(0),C(0))}break Ba}R=F;F=C(c|0);R=C(R/F);F=C(M/F);if(d){Bl(d,R,F)}}dd(N+12|0);p=p+1|0;if((n|0)!=(p|0)){continue}break}}b=d}Qb=N+16|0;v[g+16>>2]=b;G=0;M$(v[a+88>>2],b);K=v[a+100>>2];i=v[a+96>>2];S=v[a+92>>2];aa=Fs();W=v[a+80>>2];Z=v[a+76>>2];N=v[a+72>>2];_=v[a+68>>2];X=z[a+36>>2];Da:{if(X==C(1)){if((h|0)<1){break Da}F=C(s|0);while(1){sa=g,ta=Cf(j,G),v[sa+44>>2]=ta;sa=g,ta=Cf(ba,G),v[sa+40>>2]=ta;pn(b,G,g+68|0,g- -64|0);r=N?v[N>>2]:0;c=v[g+44>>2];E=bd(1,24);v[E+4>>2]=(c?v[c>>2]:-1)-12;c=c?v[c+4>>2]:-1;v[E>>2]=a;v[E+8>>2]=c-12;Ea:{Fa:{Ga:{Ha:{Ia:{while(1){s=uA(E);if((s|0)<0){break Ia}sa=g,ta=Cf(N,s),v[sa+36>>2]=ta;sa=g,ta=Cf(Z,s),v[sa+32>>2]=ta;pn(S,s,g+60|0,g+56|0);$=v[g+40>>2];Q=v[g+36>>2];V=v[g+32>>2];M=C(z[g+68>>2]-z[g+60>>2]);R=C(z[g+64>>2]-z[g+56>>2]);P=0;p=Qb-16|0;Qb=p;k=v[g+44>>2];if(k){d=v[k>>2]}else{d=-1}e=k?v[k+4>>2]:-1;f=Q?v[Q>>2]:-1;m=Q?v[Q+4>>2]:-1;n=d-f|0;c=n>>31;Ja:{if((c^c+n)>2){break Ja}n=e-m|0;c=n>>31;if((c^c+n)>2){break Ja}c=Hs(k);v[p+8>>2]=c;Oe(c,0,0,d,e,24,k,0,0);T=(R>=C(0)?.5:-.5)+ +R;Ka:{if(D(T)<2147483648){k=~~T;break Ka}k=-2147483648}I=c;T=(M>=C(0)?.5:-.5)+ +M;La:{if(D(T)<2147483648){n=~~T;break La}n=-2147483648}Oe(I,n,k,d,e,4,V,0,0);Hv(c,p+12|0);if(!v[p+12>>2]){dd(p+8|0);break Ja}Oe(c,n,k,f,m,24,Q,0,0);Oe(c,0,0,f,m,4,$,0,0);Hv(c,p+12|0);dd(p+8|0);P=v[p+12>>2]}Qb=p+16|0;dd(g+36|0);dd(g+32|0);if((P|0)!=1){continue}break}M=C(s|0);if(i){hh(i,M)}if(K){hh(K,F)}if(!v[a+64>>2]){break Ha}sa=g,ta=vI(_,s),v[sa+28>>2]=ta;c=Cf(O,G);v[g+48>>2]=c;th(v[g+28>>2],c,0);c=Ho(U,G);Lo(v[g+28>>2],c);wj(g+28|0);if(E){break Ga}break Fa}if(E){Zh(E+16|0);dc(E)}M=C(r|0);R=M;if(i){hh(i,R)}if(K){hh(K,F)}sa=g,ta=Sj(0),v[sa+28>>2]=ta;c=Cf(O,G);v[g+48>>2]=c;th(v[g+28>>2],c,0);c=v[g+48>>2];if(c){c=v[c>>2]}else{c=-1}d=v[g+48>>2];if(d){d=v[d+4>>2]}else{d=-1}c=B(c,d);if(W){BB(W,c,M)}c=Ho(U,G);Lo(v[g+28>>2],c);wI(_,v[g+28>>2]);M=z[g+68>>2];R=z[g+64>>2];if(S){Bl(S,M,R)}th(N,v[g+44>>2],0);th(Z,v[g+40>>2],0);break Ea}if(!E){break Fa}}Zh(E+16|0);dc(E)}dd(g+44|0);dd(g+40|0)}G=G+1|0;if((h|0)!=(G|0)){continue}break}break Da}e=0;c=0;f=Qb-16|0;Qb=f;Ma:{if(!O){break Ma}d=O?v[O>>2]:0;if(!d){c=tm(1);break Ma}m=Cf(O,0);v[f+8>>2]=m;m=m?v[m+8>>2]:-1;dd(f+8|0);if((m|0)!=1){break Ma}c=bd(256,4);if(c){while(1){v[c+(e<<2)>>2]=(((((((e&1)+(e>>>7|0)|0)+(e>>>1&1)|0)+(e>>>2&1)|0)+(e>>>3&1)|0)+(e>>>4&1)|0)+(e>>>5&1)|0)+(e>>>6&1);e=e+1|0;if((e|0)!=256){continue}break}e=c}c=tm(d);if(!c){c=0;break Ma}if((d|0)>=1){while(1){m=Cf(O,G);v[f+8>>2]=m;Uj(m,f+12|0,e);F=C(v[f+12>>2]);if(c){hh(c,F)}dd(f+8|0);G=G+1|0;if((d|0)!=(G|0)){continue}break}}dc(e)}Qb=f+16|0;v[g+52>>2]=c;if(!c){p=1;break va}$=v[a+84>>2];V=Fs();if((h|0)>=1){F=C(s|0);p=0;while(1){sa=g,ta=Cf(j,p),v[sa+44>>2]=ta;aj(c,p,g+76|0);sa=g,ta=Cf(ba,p),v[sa+40>>2]=ta;pn(b,p,g+68|0,g- -64|0);I=N?v[N>>2]:0;d=v[g+44>>2];G=bd(1,24);v[G+4>>2]=(d?v[d>>2]:-1)-12;d=d?v[d+4>>2]:-1;v[G>>2]=a;v[G+8>>2]=d-12;Na:{Oa:{Pa:{Qa:{Ra:{while(1){Q=uA(G);if((Q|0)<0){break Ra}sa=g,ta=Cf(N,Q),v[sa+36>>2]=ta;aj($,Q,g+72|0);sa=g,ta=Cf(Z,Q),v[sa+32>>2]=ta;pn(S,Q,g+60|0,g+56|0);da=v[g+40>>2];P=v[g+36>>2];fa=v[g+32>>2];M=C(z[g+68>>2]-z[g+60>>2]);R=C(z[g+64>>2]-z[g+56>>2]);ha=v[g+76>>2];ja=v[g+72>>2];ea=0;s=Qb-16|0;Qb=s;n=v[g+44>>2];if(n){e=v[n>>2]}else{e=-1}f=n?v[n+4>>2]:-1;m=P?v[P>>2]:-1;k=P?v[P+4>>2]:-1;r=e-m|0;d=r>>31;Sa:{if((d^d+r)>2){break Sa}r=f-k|0;d=r>>31;if((d^d+r)>2){break Sa}d=Hs(n);v[s+8>>2]=d;Oe(d,0,0,e,f,24,n,0,0);T=(R>=C(0)?.5:-.5)+ +R;Ta:{if(D(T)<2147483648){n=~~T;break Ta}n=-2147483648}E=d;T=(M>=C(0)?.5:-.5)+ +M;Ua:{if(D(T)<2147483648){r=~~T;break Ua}r=-2147483648}Oe(E,r,n,e,f,4,fa,0,0);e=d;T=1-+X;ga=T*+(ha|0)+.5;Va:{if(D(ga)<2147483648){f=~~ga;break Va}f=-2147483648}a0(e,f,s+12|0,V);if(v[s+12>>2]==1){dd(s+8|0);break Sa}Oe(d,r,n,m,k,24,P,0,0);Oe(d,0,0,m,k,4,da,0,0);T=T*+(ja|0)+.5;Wa:{if(D(T)<2147483648){e=~~T;break Wa}e=-2147483648}a0(d,e,s+12|0,V);dd(s+8|0);ea=v[s+12>>2]!=1}Qb=s+16|0;dd(g+36|0);dd(g+32|0);if(!ea){continue}break}M=C(Q|0);if(i){hh(i,M)}if(K){hh(K,F)}if(!v[a+64>>2]){break Qa}sa=g,ta=vI(_,Q),v[sa+28>>2]=ta;d=Cf(O,p);v[g+48>>2]=d;th(v[g+28>>2],d,0);d=Ho(U,p);Lo(v[g+28>>2],d);wj(g+28|0);if(G){break Pa}break Oa}if(G){Zh(G+16|0);dc(G)}M=C(I|0);R=M;if(i){hh(i,R)}if(K){hh(K,F)}sa=g,ta=Sj(0),v[sa+28>>2]=ta;d=Cf(O,p);v[g+48>>2]=d;th(v[g+28>>2],d,0);d=v[g+48>>2];if(d){d=v[d>>2]}else{d=-1}e=v[g+48>>2];if(e){e=v[e+4>>2]}else{e=-1}d=B(d,e);if(W){BB(W,d,M)}d=Ho(U,p);Lo(v[g+28>>2],d);wI(_,v[g+28>>2]);M=z[g+68>>2];R=z[g+64>>2];if(S){Bl(S,M,R)}th(N,v[g+44>>2],0);th(Z,v[g+40>>2],0);M=C(v[g+76>>2]);if($){hh($,M)}break Na}if(!G){break Oa}}Zh(G+16|0);dc(G)}dd(g+44|0);dd(g+40|0)}p=p+1|0;if((h|0)!=(p|0)){continue}break}}dc(V);Zh(g+52|0)}v[a+60>>2]=N?v[N>>2]:0;dc(aa);wq(g+16|0);wj(g+24|0);wj(g+20|0);Li(g+12|0);p=0}Qb=g+80|0;if(!p){break ua}break ta}b=Qb-48|0;Qb=b;p=1;Xa:{if(!O|(!a|!U)){break Xa}Z=v[a+20>>2];d=O?v[O>>2]:0;i=Sj(d);v[b+4>>2]=i;if((d|0)>=1){while(1){c=Cf(O,f);v[b+20>>2]=c;c=zI(c,6,6,6,6);v[b+16>>2]=c;th(i,c,0);dd(b+20|0);f=f+1|0;if((d|0)!=(f|0)){continue}break}}I=v[a+84>>2];E=v[a+100>>2];N=v[a+96>>2];m=Fs();n=bd(d,4);r=bd(d,4);k=$$();if(!k|(!n|!r)){break Xa}K=Es(d);v[b>>2]=K;_=(d|0)<1;if(!_){while(1){c=Cf(i,e);v[b+20>>2]=c;ba=e<<2;s=bd(c?v[c+4>>2]:-1,4);v[ba+r>>2]=s;c=v[b+20>>2];if(c){g=v[c+12>>2]}else{g=-1}c=v[b+20>>2];if(c){h=v[c+40>>2]}else{h=0}c=v[b+20>>2];if(c){j=v[c+4>>2]}else{j=-1}M=C(0);Ya:{Za:{c=v[b+20>>2];if(c){c=v[c+4>>2]}else{c=-1}_a:{if((c|0)<1){break _a}f=c-1|0;if((g|0)>0){break Za}ic(s,0,c<<2);p=c&7;if(p){while(1){f=f-1|0;p=p-1|0;if(p){continue}break}}if(c-1>>>0<7){break _a}while(1){c=(f|0)>7;f=f-8|0;if(c){continue}break}}F=C(0);G=0;break Ya}$=0-g|0;c=h+(B(g,j-1|0)<<2)|0;F=C(0);G=0;while(1){v[s+(f<<2)>>2]=G;h=0;p=0;while(1){j=v[(p<<2)+c>>2];V=(j&255)<<2;S=v[V+m>>2];ea=j>>>6&1020;Q=v[ea+m>>2];aa=j>>>14&1020;P=v[aa+m>>2];da=j>>>22&1020;W=v[da+m>>2];j=p<<5;F=C(C(C(C(F+C(v[k+V>>2]+B(S,j|24)|0))+C(v[k+ea>>2]+B(Q,j|16)|0))+C(v[k+aa>>2]+B(P,j|8)|0))+C(v[k+da>>2]+B(j,W)|0));h=W+(P+(Q+(h+S|0)|0)|0)|0;p=p+1|0;if((g|0)!=(p|0)){continue}break}G=h+G|0;c=($<<2)+c|0;M=C(M+C(B(f,h)|0));h=(f|0)>0;f=f-1|0;if(h){continue}break}}v[n+ba>>2]=G;R=F;F=C(G|0);R=C(R/F);F=C(M/F);if(K){Bl(K,R,F)}dd(b+20|0);e=e+1|0;if((d|0)!=(e|0)){continue}break}}G=0;M$(v[a+88>>2],K);f=v[a+72>>2];$a:{if(!_){M=z[a+40>>2];T=+M;R=z[a+44>>2];ga=(1-T)*+R;F=C(Z|0);S=v[a+80>>2];j=v[a+48>>2];Q=v[a+68>>2];g=v[a+92>>2];while(1){sa=b,ta=Cf(i,G),v[sa+16>>2]=ta;P=G<<2;s=v[P+n>>2];pn(K,G,b+36|0,b+32|0);c=f?v[f>>2]:0;h=v[b+16>>2];e=bd(1,24);v[e+4>>2]=(h?v[h>>2]:-1)-12;h=h?v[h+4>>2]:-1;v[e>>2]=a;v[e+8>>2]=h-12;h=r+P|0;ab:{bb:{cb:{db:{eb:{fb:{if(R>C(0)){while(1){p=uA(e);if((p|0)<0){break eb}sa=b,ta=Cf(f,p),v[sa+12>>2]=ta;aj(I,p,b+40|0);pn(g,p,b+28|0,b+24|0);aj(j,p,b+44|0);P=v[b+40>>2];P=L$(v[b+16>>2],v[b+12>>2],s,P,C(z[b+36>>2]-z[b+28>>2]),C(z[b+32>>2]-z[b+24>>2]),m,v[h>>2],C(ga*+(P|0)/+v[b+44>>2]+T));dd(b+12|0);if(!P){continue}break fb}}while(1){p=uA(e);if((p|0)<0){break eb}sa=b,ta=Cf(f,p),v[sa+12>>2]=ta;aj(I,p,b+40|0);pn(g,p,b+28|0,b+24|0);P=L$(v[b+16>>2],v[b+12>>2],s,v[b+40>>2],C(z[b+36>>2]-z[b+28>>2]),C(z[b+32>>2]-z[b+24>>2]),m,v[h>>2],M);dd(b+12|0);if(!P){continue}break}}X=C(p|0);if(N){hh(N,X)}if(E){hh(E,F)}if(!v[a+64>>2]){break db}sa=b,ta=vI(Q,p),v[sa+8>>2]=ta;c=Cf(O,G);v[b+20>>2]=c;th(v[b+8>>2],c,0);c=Ho(U,G);Lo(v[b+8>>2],c);wj(b+8|0);if(e){break cb}break bb}if(e){Zh(e+16|0);dc(e)}X=C(c|0);ka=X;if(N){hh(N,ka)}if(E){hh(E,F)}sa=b,ta=Sj(0),v[sa+8>>2]=ta;c=Cf(O,G);v[b+20>>2]=c;th(v[b+8>>2],c,0);c=v[b+20>>2];if(c){c=v[c>>2]}else{c=-1}e=v[b+20>>2];if(e){e=v[e+4>>2]}else{e=-1}c=B(c,e);if(S){BB(S,c,X)}c=Ho(U,G);Lo(v[b+8>>2],c);wI(Q,v[b+8>>2]);X=z[b+36>>2];ka=z[b+32>>2];if(g){Bl(g,X,ka)}X=C(s|0);if(I){hh(I,X)}th(f,v[b+16>>2],0);c=v[b+16>>2];if(c){c=v[c>>2]}else{c=-1}e=b;h=v[b+16>>2];if(h){h=v[h+4>>2]}else{h=-1}c=B(h-12|0,c-12|0);v[e+44>>2]=c;X=C(c|0);if(j){hh(j,X)}break ab}if(!e){break bb}}Zh(e+16|0);dc(e)}dd(b+16|0)}G=G+1|0;if((d|0)!=(G|0)){continue}break}v[a+60>>2]=f?v[f>>2]:0;dc(n);dc(k);if((d|0)<1){break $a}p=0;while(1){dc(v[r+(p<<2)>>2]);p=p+1|0;if((d|0)!=(p|0)){continue}break}break $a}v[a+60>>2]=f?v[f>>2]:0;dc(n);dc(k)}dc(r);dc(m);wq(b);wj(b+4|0);p=0}Qb=b+48|0;if(p){break ta}}c=0;e=0;j=0;d=Qb+-64|0;Qb=d;b=1;gb:{if(!U|(!a|!o)){break gb}b=U?v[U>>2]:0;s=v[a+24>>2];S=v[a+92>>2];Q=v[a+88>>2];P=v[a+96>>2];E=v[a+104>>2];r=Fs();m=b;if((b|0)>=1){while(1){b=j+s|0;pn(Q,b,d+32|0,d+24|0);aj(P,b,d+44|0);pn(S,v[d+44>>2],d+28|0,d+20|0);F=z[d+32>>2];M=z[d+28>>2];R=z[d+24>>2];X=z[d+20>>2];f=Ho(U,j);v[d+16>>2]=f;R=C(X-R);T=(R>=C(0)?.5:-.5)+ +R;hb:{if(D(T)<2147483648){g=~~T;break hb}g=-2147483648}F=C(M-F);T=(F>=C(0)?.5:-.5)+ +F;ib:{if(D(T)<2147483648){h=~~T;break ib}h=-2147483648}if(!f){b=1;break gb}vq(f,d+40|0,d+36|0,0,0);k=Cf(v[a+72>>2],v[d+44>>2]);v[d+12>>2]=k;jb:{if(!k|!r){break jb}b=k?v[k>>2]:-1;f=k?v[k+4>>2]:-1;e=rI((v[d+40>>2]-h|0)-6|0,(v[d+36>>2]-g|0)-6|0,b,f);v[d+48>>2]=e;c=0;n=vA(o,e);v[d+56>>2]=n;qI(d+48|0);e=0;if(!n){break jb}c=Ug(n?v[n>>2]:-1,n?v[n+4>>2]:-1,1);v[d+52>>2]=c;Xe(c,n);Oe(v[d+52>>2],-1,-1,b,f,12,k,0,0);c=d+60|0;Uj(v[d+52>>2],c,r);e=v[d+60>>2];Xe(v[d+52>>2],n);Oe(v[d+52>>2],0,-1,b,f,12,k,0,0);Uj(v[d+52>>2],c,r);I=v[d+60>>2];Xe(v[d+52>>2],n);Oe(v[d+52>>2],1,-1,b,f,12,k,0,0);Uj(v[d+52>>2],c,r);p=v[d+60>>2];Xe(v[d+52>>2],n);Oe(v[d+52>>2],-1,0,b,f,12,k,0,0);Uj(v[d+52>>2],c,r);O=v[d+60>>2];Xe(v[d+52>>2],n);Oe(v[d+52>>2],0,0,b,f,12,k,0,0);Uj(v[d+52>>2],c,r);N=v[d+60>>2];Xe(v[d+52>>2],n);Oe(v[d+52>>2],1,0,b,f,12,k,0,0);Uj(v[d+52>>2],c,r);G=v[d+60>>2];Xe(v[d+52>>2],n);Oe(v[d+52>>2],-1,1,b,f,12,k,0,0);Uj(v[d+52>>2],c,r);K=v[d+60>>2];Xe(v[d+52>>2],n);Oe(v[d+52>>2],0,1,b,f,12,k,0,0);Uj(v[d+52>>2],c,r);i=v[d+60>>2];Xe(v[d+52>>2],n);Oe(v[d+52>>2],1,1,b,f,12,k,0,0);Uj(v[d+52>>2],c,r);b=(e|0)>(I|0)?I:e;c=(b|0)>(p|0);aa=c?1:(e|0)<=(I|0)?-1:0;c=c?p:b;b=(c|0)>(O|0);c=b?O:c;e=(c|0)>(N|0);c=e?N:c;f=(c|0)>(G|0);c=f?G:c;k=(c|0)>(K|0);c=k?K:c;n=(c|0)>(i|0);I=v[d+60>>2]<((n?i:c)|0);c=I?1:n?0:k?-1:f?1:e?0:b?-1:aa;e=I?1:k?1:n?1:(f|(b|e))-1|0;dd(d+56|0);dd(d+52|0)}F=C(v[d+40>>2]+(c-h|0)|0);M=C(v[d+36>>2]+(e-g|0)|0);if(E){Bl(E,F,M)}qI(d+16|0);dd(d+12|0);j=j+1|0;if((m|0)!=(j|0)){continue}break}}dc(r);b=0}Qb=d- -64|0;if(b){break ta}c=U?v[U>>2]:0;v[a+24>>2]=c+v[a+24>>2];F=C(c|0);b=v[a+28>>2];if(b){hh(b,F)}}v[a+20>>2]=v[a+20>>2]+1}nn(H+12|0);wj(H+8|0)}Qb=H+16|0;d=v[o>>2];a=v[l+56>>2];c=v[l+60>>2];kb:{if(a>>>0>>0){v[a>>2]=d;v[l+56>>2]=a+4;break kb}f=l+52|0;b=v[f>>2];e=a-b|0;g=e>>2;a=g+1|0;if(a>>>0>=1073741824){break ea}c=c-b|0;f=c>>1;c=c>>2>>>0<536870911?a>>>0>f>>>0?a:f:1073741823;if(c){if(c>>>0>=1073741824){break b}a=fc(c<<2)}else{a=0}f=a+(g<<2)|0;v[f>>2]=d;if((e|0)>=1){gc(a,b,e)}v[l+60>>2]=a+(c<<2);v[l+56>>2]=f+4;v[l+52>>2]=a;if(!b){break kb}dc(b)}d=v[o+4>>2];a=v[l+68>>2];c=v[l+72>>2];lb:{if(a>>>0>>0){v[a>>2]=d;v[l+68>>2]=a+4;break lb}f=l- -64|0;b=v[f>>2];e=a-b|0;g=e>>2;a=g+1|0;if(a>>>0>=1073741824){break da}c=c-b|0;f=c>>1;c=c>>2>>>0<536870911?a>>>0>f>>>0?a:f:1073741823;if(c){if(c>>>0>=1073741824){break b}a=fc(c<<2)}else{a=0}f=a+(g<<2)|0;v[f>>2]=d;if((e|0)>=1){gc(a,b,e)}v[l+72>>2]=a+(c<<2);v[l+68>>2]=f+4;v[l+64>>2]=a;if(!b){break lb}dc(b)}dd(ca+12|0);Qb=ca+16|0;break ca}ue(d);L()}ue(f);L()}ue(f);L()}dd(q+60|0);v[q+92>>2]=0;b=0;c=0;f=0;o=0;h=Qb-72320|0;Qb=h;a=v[l>>2];j=v[a+20>>2];d=v[v[a+72>>2]>>2];v[h+72312>>2]=0;v[h+72304>>2]=0;v[h+72308>>2]=0;mb:{nb:{ob:{pb:{if(d){if(d>>>0>=1073741824){break pb}d=d<<2;c=fc(d);v[h+72304>>2]=c;e=c+d|0;v[h+72312>>2]=e;ic(c,0,d);v[h+72308>>2]=e}d=v[a+96>>2];if(v[d+4>>2]>0){while(1){aj(d,b,h- -64|0);a=(v[h+64>>2]<<2)+c|0;v[a>>2]=v[a>>2]+1;b=b+1|0;a=v[l>>2];d=v[a+96>>2];if((b|0)>2]){continue}break}}v[h+72296>>2]=0;v[h+72288>>2]=0;v[h+72292>>2]=0;if(v[v[a+72>>2]>>2]<=0){d=0;break mb}d=0;b=0;while(1){e=v[(b<<2)+c>>2];if(!e){break ob}qb:{if((e|0)==1&(j|0)!=1){break qb}if(d>>>0>>0){v[d>>2]=b;d=d+4|0;v[h+72292>>2]=d;break qb}g=d-f|0;m=g>>2;d=m+1|0;if(d>>>0>=1073741824){break nb}e=o-f|0;o=e>>1;d=e>>2>>>0<536870911?d>>>0>o>>>0?d:o:1073741823;if(d){if(d>>>0>=1073741824){break b}e=fc(d<<2)}else{e=0}m=e+(m<<2)|0;v[m>>2]=b;o=e+(d<<2)|0;d=m+4|0;if((g|0)>=1){gc(e,f,g)}v[h+72296>>2]=o;v[h+72292>>2]=d;v[h+72288>>2]=e;if(f){dc(f);a=v[l>>2]}f=e}b=b+1|0;if((b|0)>2]>>2]){continue}break}break mb}ue(h+72304|0);L()}ia();L()}ue(h+72288|0);L()}v[l+48>>2]=d-f>>2;f=0;rb:{b=v[a+100>>2];if(v[b+4>>2]<=0){break rb}g=l+40|0;o=l+28|0;sb:{while(1){aj(b,f,h- -64|0);tb:{b=v[o>>2];if(!b){b=o;a=b;break tb}d=v[h+64>>2];a=o;while(1){c=v[b+16>>2];ub:{if((c|0)>(d|0)){c=v[b>>2];if(c){break ub}a=b;break tb}if((c|0)>=(d|0)){break tb}a=b+4|0;c=v[b+4>>2];if(!c){break tb}b=a}a=b;b=c;continue}}c=v[a>>2];if(!c){c=fc(32);d=v[h+64>>2];v[c+28>>2]=0;v[c+20>>2]=0;v[c+24>>2]=0;v[c+16>>2]=d;v[c+8>>2]=b;v[c>>2]=0;v[c+4>>2]=0;v[a>>2]=c;b=v[v[l+24>>2]>>2];if(b){v[l+24>>2]=b;a=v[a>>2]}else{a=c}m=v[o>>2];b=(m|0)==(a|0);t[a+12|0]=b;vb:{if(b){break vb}while(1){e=v[a+8>>2];if(w[e+12|0]){break vb}wb:{b=v[e+8>>2];d=v[b>>2];xb:{if((e|0)==(d|0)){d=v[b+4>>2];if(!(!d|w[d+12|0])){break wb}yb:{if(v[e>>2]==(a|0)){d=e;break yb}d=v[e+4>>2];m=v[d>>2];v[e+4>>2]=m;a=d;if(m){v[m+8>>2]=e;b=v[e+8>>2]}v[a+8>>2]=b;a=v[e+8>>2];v[(((e|0)!=v[a>>2])<<2)+a>>2]=d;v[d>>2]=e;v[e+8>>2]=d;b=v[d+8>>2]}t[d+12|0]=1;t[b+12|0]=0;a=v[b>>2];d=v[a+4>>2];v[b>>2]=d;if(d){v[d+8>>2]=b}v[a+8>>2]=v[b+8>>2];d=v[b+8>>2];v[((v[d>>2]!=(b|0))<<2)+d>>2]=a;v[a+4>>2]=b;break xb}if(!(w[d+12|0]|!d)){break wb}zb:{if(v[e>>2]!=(a|0)){a=e;break zb}m=v[a+4>>2];v[e>>2]=m;d=a;if(m){v[m+8>>2]=e;b=v[e+8>>2]}v[d+8>>2]=b;b=v[e+8>>2];v[(((e|0)!=v[b>>2])<<2)+b>>2]=a;v[a+4>>2]=e;v[e+8>>2]=a;b=v[a+8>>2]}t[a+12|0]=1;t[b+12|0]=0;a=v[b+4>>2];d=v[a>>2];v[b+4>>2]=d;if(d){v[d+8>>2]=b}v[a+8>>2]=v[b+8>>2];d=v[b+8>>2];v[((v[d>>2]!=(b|0))<<2)+d>>2]=a;v[a>>2]=b}v[b+8>>2]=a;break vb}t[e+12|0]=1;e=(b|0)==(m|0);t[b+12|0]=e;t[d+12|0]=1;a=b;if(!e){continue}break}}v[l+32>>2]=v[l+32>>2]+1}Ab:{Bb:{Cb:{Db:{a=v[c+24>>2];Eb:{if((a|0)!=v[c+28>>2]){v[a>>2]=f;v[c+24>>2]=a+4;break Eb}e=c+20|0;b=v[e>>2];d=a-b|0;m=d>>2;a=m+1|0;if(a>>>0>=1073741824){break Db}e=d>>1;e=m>>>0<536870911?a>>>0>e>>>0?a:e:1073741823;if(e){if(e>>>0>=1073741824){break b}a=fc(e<<2)}else{a=0}m=a+(m<<2)|0;v[m>>2]=f;if((d|0)>=1){gc(a,b,d)}v[c+28>>2]=a+(e<<2);v[c+24>>2]=m+4;v[c+20>>2]=a;if(!b){break Eb}dc(b)}aj(v[v[l>>2]+96>>2],f,h+24|0);m=v[h+24>>2];if((j|0)==1|v[v[h+72304>>2]+(m<<2)>>2]!=1){break Bb}b=v[g>>2];if(!b){b=g;a=b;break Cb}d=v[h+64>>2];a=g;while(1){c=v[b+16>>2];Fb:{if((c|0)>(d|0)){c=v[b>>2];if(c){break Fb}a=b;break Cb}if((c|0)>=(d|0)){break Cb}a=b+4|0;c=v[b+4>>2];if(!c){break Cb}b=a}a=b;b=c;continue}}ue(e);L()}c=v[a>>2];if(!c){c=fc(32);d=v[h+64>>2];v[c+28>>2]=0;v[c+20>>2]=0;v[c+24>>2]=0;v[c+16>>2]=d;v[c+8>>2]=b;v[c>>2]=0;v[c+4>>2]=0;v[a>>2]=c;b=v[v[l+36>>2]>>2];if(b){v[l+36>>2]=b;a=v[a>>2]}else{a=c}k=v[g>>2];b=(k|0)==(a|0);t[a+12|0]=b;Gb:{if(b){break Gb}while(1){e=v[a+8>>2];if(w[e+12|0]){break Gb}Hb:{b=v[e+8>>2];d=v[b>>2];Ib:{if((e|0)==(d|0)){d=v[b+4>>2];if(!(!d|w[d+12|0])){break Hb}Jb:{if(v[e>>2]==(a|0)){d=e;break Jb}d=v[e+4>>2];k=v[d>>2];v[e+4>>2]=k;a=d;if(k){v[k+8>>2]=e;b=v[e+8>>2]}v[a+8>>2]=b;a=v[e+8>>2];v[(((e|0)!=v[a>>2])<<2)+a>>2]=d;v[d>>2]=e;v[e+8>>2]=d;b=v[d+8>>2]}t[d+12|0]=1;t[b+12|0]=0;a=v[b>>2];d=v[a+4>>2];v[b>>2]=d;if(d){v[d+8>>2]=b}v[a+8>>2]=v[b+8>>2];d=v[b+8>>2];v[((v[d>>2]!=(b|0))<<2)+d>>2]=a;v[a+4>>2]=b;break Ib}if(!(w[d+12|0]|!d)){break Hb}Kb:{if(v[e>>2]!=(a|0)){a=e;break Kb}k=v[a+4>>2];v[e>>2]=k;d=a;if(k){v[k+8>>2]=e;b=v[e+8>>2]}v[d+8>>2]=b;b=v[e+8>>2];v[(((e|0)!=v[b>>2])<<2)+b>>2]=a;v[a+4>>2]=e;v[e+8>>2]=a;b=v[a+8>>2]}t[a+12|0]=1;t[b+12|0]=0;a=v[b+4>>2];d=v[a>>2];v[b+4>>2]=d;if(d){v[d+8>>2]=b}v[a+8>>2]=v[b+8>>2];d=v[b+8>>2];v[((v[d>>2]!=(b|0))<<2)+d>>2]=a;v[a>>2]=b}v[b+8>>2]=a;break Gb}t[e+12|0]=1;e=(b|0)==(k|0);t[b+12|0]=e;t[d+12|0]=1;a=b;if(!e){continue}break}}v[l+44>>2]=v[l+44>>2]+1}a=v[c+24>>2];d=v[c+28>>2];if(a>>>0>>0){v[a>>2]=m;v[c+24>>2]=a+4;break Bb}k=c+20|0;b=v[k>>2];e=a-b|0;n=e>>2;a=n+1|0;if(a>>>0>=1073741824){break Ab}d=d-b|0;k=d>>1;d=d>>2>>>0<536870911?a>>>0>k>>>0?a:k:1073741823;if(d){if(d>>>0>=1073741824){break sb}a=fc(d<<2)}else{a=0}k=a+(n<<2)|0;v[k>>2]=m;if((e|0)>=1){gc(a,b,e)}v[c+28>>2]=a+(d<<2);v[c+24>>2]=k+4;v[c+20>>2]=a;if(!b){break Bb}dc(b)}f=f+1|0;a=v[l>>2];b=v[a+100>>2];if((f|0)>2]){continue}break rb}break}ue(k);L()}break b}d=v[a+20>>2];e=v[252391];b=0;c=v[v[a+72>>2]>>2];if(c>>>0>=2){a=c;while(1){b=b+1|0;a=a>>1;if(a>>>0>1){continue}break}}v[h>>2]=d;v[h+4>>2]=c;v[h+8>>2]=((c&c-1)!=0)+b;wc(e,4588,h);c=Qb-16|0;Qb=c;a=v[l>>2];Lb:{if(!a){break Lb}o=v[a+72>>2];j=v[a+96>>2];e=v[a+104>>2];wq(a+108|0);d=a;a=e?v[e>>2]:0;b=Es(a);v[d+108>>2]=b;if((a|0)<1){break Lb}d=0;while(1){Y$(e,d,c+8|0,c+4|0);aj(j,d,c+12|0);g=Cf(o,v[c+12>>2]);v[c>>2]=g;F=C(v[c+8>>2]);M=C((v[c+4>>2]+(g?v[g+4>>2]:-1)|0)-13|0);if(b){m=v[b>>2];g=v[b+4>>2];Mb:{if((m|0)<(g|0)){break Mb}g=vj(b+12|0,g<<2,g<<3);v[b+12>>2]=g;if(!g){break Mb}g=v[b+4>>2];g=vj(b+16|0,g<<2,g<<3);v[b+16>>2]=g;if(!g){break Mb}v[b+4>>2]=v[b+4>>2]<<1}g=m<<2;z[g+v[b+12>>2]>>2]=F;z[g+v[b+16>>2]>>2]=M;v[b>>2]=v[b>>2]+1}dd(c);d=d+1|0;if((a|0)!=(d|0)){continue}break}}Qb=c+16|0;CA(h- -64|0);if(w[l+12|0]){a=v[v[l>>2]+20>>2];f=a<<8&16711680|a<<24|(a>>>8&65280|a>>>24)}c=0;v[h+48>>2]=0;v[h+40>>2]=0;v[h+44>>2]=0;v[h+32>>2]=0;v[h+36>>2]=0;b=v[l+92>>2];a=b;d=h- -64|0;e=d;if(!a){a=v[v[l>>2]+72>>2]}p0(e,a,h+72288|0,l+76|0,!b);a=v[d+12>>2];e=v[d+20>>2]+B(v[a+4>>2]-v[a>>2]>>2,20480)|0;a=v[h+72292>>2]-v[h+72288>>2]>>2;d=a<<8&16711680|a<<24|(a>>>8&65280|a>>>24);a=v[l+16>>2];v[l+20>>2]=a;v[h+24>>2]=a;v[l+16>>2]=a+1;v[h+56>>2]=e+18;v[h+28>>2]=0;v[h+52>>2]=0;v[h+36>>2]=1;b=w[l+12|0];a=jc((e+(b?13:0)|0)+29|0);g=h+24|0;if(b){t[a+9|0]=f;t[a+10|0]=f>>>8;t[a+11|0]=f>>>16;t[a+12|0]=f>>>24;t[a+8|0]=1;v[a>>2]=843205271;v[a+4>>2]=169478669;c=13}um(g,a+c|0);b=v[h+24>>2];c=((y[h+52>>2]<256?11:12)+c|0)+B(v[h+44>>2]-v[h+40>>2]>>2,b>>>0<257?1:b>>>0<65537?2:4)|0;b=c+a|0;t[b+14|0]=d;f=d>>>8|0;t[b+15|0]=f;o=d>>>16|0;t[b+16|0]=o;g=d>>>24|0;t[b+17|0]=g;t[b+10|0]=d;t[b+11|0]=f;t[b+12|0]=o;t[b+13|0]=g;t[b+2|0]=3;t[b+3|0]=255;t[b+4|0]=253;t[b+5|0]=255;t[b+6|0]=2;t[b+7|0]=254;t[b+8|0]=254;t[b+9|0]=254;t[b|0]=0;t[b+1|0]=0;b=h- -64|0;c=c+18|0;AA(b,c+a|0);BA(b);v[q+92>>2]=c+e;b=v[h+40>>2];if(b){v[h+44>>2]=b;dc(b)}b=v[h+72288>>2];if(b){v[h+72292>>2]=b;dc(b)}b=v[h+72304>>2];if(b){dc(b)}Qb=h+72320|0;I=a;if(a){if(w[J+1|0]){Nb:{if(t[Y+11|0]>=0){v[q+32>>2]=v[Y+8>>2];a=v[Y+4>>2];v[q+24>>2]=v[Y>>2];v[q+28>>2]=a;break Nb}Ke(q+24|0,v[Y>>2],v[Y+4>>2])}a=q+40|0;v[a+12>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a>>2]=530160;b=bv(a,q+24|0);Ob:{if(!b){dc(I);Is(l);break Ob}vz(a,I,v[q+92>>2]);vk(a)}lg(a);if(t[q+35|0]<=-1){dc(v[q+24>>2])}c=0;if(!b){break g}}dc(I);f=0;m=0;k=0;W=0;Y=0;_=0;i=Qb-144688|0;Qb=i;W=v[v[l>>2]+20>>2]?W:w[l+12|0]!=0;CA(i+72464|0);v[i+72448>>2]=0;a=i+72440|0;v[a>>2]=0;v[a+4>>2]=0;v[i+72432>>2]=0;v[i+72436>>2]=0;v[i+72416>>2]=0;a=i+72408|0;v[a>>2]=0;v[a+4>>2]=0;a=i+72400|0;v[a>>2]=0;v[a+4>>2]=0;a=i+72392|0;v[a>>2]=0;v[a+4>>2]=0;v[i+72384>>2]=0;v[i+72388>>2]=0;v[i+72376>>2]=0;a=i+72368|0;v[a>>2]=0;v[a+4>>2]=0;a=i+72360|0;v[a>>2]=0;v[a+4>>2]=0;a=i+72352|0;v[a>>2]=0;v[a+4>>2]=0;v[i+72344>>2]=0;v[i+72348>>2]=0;v[i+72336>>2]=0;a=i+72328|0;v[a>>2]=0;v[a+4>>2]=0;a=i+72320|0;v[a>>2]=0;v[a+4>>2]=0;a=i+72312|0;v[a>>2]=0;v[a+4>>2]=0;v[i+72304>>2]=0;v[i+72308>>2]=0;t[i+72296|0]=0;v[i+72288>>2]=0;v[i+72292>>2]=0;v[i+72280>>2]=0;a=i+72272|0;v[a>>2]=0;v[a+4>>2]=0;a=i+72264|0;v[a>>2]=0;v[a+4>>2]=0;a=i+72256|0;v[a>>2]=0;v[a+4>>2]=0;v[i+72248>>2]=0;v[i+72252>>2]=0;a=v[l+16>>2];v[i+72424>>2]=a;v[l+16>>2]=a+1;v[i+72428>>2]=48;v[i+72456>>2]=19;v[i+72452>>2]=1;a=v[v[l+52>>2]>>2];Z=a<<8&16711680|a<<24|(a>>>8&65280|a>>>24);a=v[v[l+64>>2]>>2];N=a<<8&16711680|a<<24|(a>>>8&65280|a>>>24);a=v[l+4>>2];G=a<<8&16711680|a<<24|(a>>>8&65280|a>>>24);a=v[l+8>>2];H=a<<8&16711680|a<<24|(a>>>8&65280|a>>>24);ha=w[l+88|0];v[i+72236>>2]=0;v[i+72240>>2]=0;v[i+72232>>2]=i+72232|4;c=l+40|0;a=v[c>>2];Pb:{if(a){b=l+40|0;while(1){d=v[a+16>>2];Qb:{if((d|0)>0){d=v[a>>2];if(d){break Qb}b=a;break Pb}if((d|0)>=0){break Pb}b=a+4|0;d=v[a+4>>2];if(!d){break Pb}a=b}b=a;a=d;continue}}a=c;b=a}d=v[b>>2];if(!d){d=fc(32);v[d+16>>2]=0;v[d+8>>2]=a;v[d>>2]=0;v[d+4>>2]=0;v[d+28>>2]=0;v[d+20>>2]=0;v[d+24>>2]=0;v[b>>2]=d;a=v[v[l+36>>2]>>2];if(a){v[l+36>>2]=a;a=v[b>>2]}else{a=d}Uc(v[l+40>>2],a);v[l+44>>2]=v[l+44>>2]+1}Q=v[d+24>>2]==v[d+20>>2];if(Q){U=0}else{CA(i+8|0);a=v[l+16>>2];v[l+16>>2]=a+1;v[i+72388>>2]=0;v[i+72384>>2]=a;v[i+72412>>2]=1;e=v[l+92>>2];o=e?e:v[v[l>>2]+72>>2];a=v[c>>2];Rb:{if(a){b=l+40|0;while(1){d=v[a+16>>2];Sb:{if((d|0)>0){d=v[a>>2];if(d){break Sb}b=a;break Rb}if((d|0)>=0){break Rb}b=a+4|0;d=v[a+4>>2];if(!d){break Rb}a=b}b=a;a=d;continue}}a=c;b=a}d=v[b>>2];if(!d){d=fc(32);v[d+16>>2]=0;v[d+8>>2]=a;v[d>>2]=0;v[d+4>>2]=0;v[d+28>>2]=0;v[d+20>>2]=0;v[d+24>>2]=0;v[b>>2]=d;a=v[v[l+36>>2]>>2];if(a){v[l+36>>2]=a;a=v[b>>2]}else{a=d}Uc(v[l+40>>2],a);v[l+44>>2]=v[l+44>>2]+1;e=v[l+92>>2]}p0(i+8|0,o,d+20|0,i+72232|0,!e);a=v[c>>2];Tb:{if(a){b=l+40|0;while(1){d=v[a+16>>2];Ub:{if((d|0)>0){d=v[a>>2];if(d){break Ub}b=a;break Tb}if((d|0)>=0){break Tb}b=a+4|0;d=v[a+4>>2];if(!d){break Tb}a=b}b=a;a=d;continue}}a=c;b=a}d=v[b>>2];if(!d){d=fc(32);v[d+16>>2]=0;v[d+8>>2]=a;v[d>>2]=0;v[d+4>>2]=0;v[d+28>>2]=0;v[d+20>>2]=0;v[d+24>>2]=0;v[b>>2]=d;a=v[v[l+36>>2]>>2];if(a){v[l+36>>2]=a;a=v[b>>2]}else{a=d}Uc(v[l+40>>2],a);v[l+44>>2]=v[l+44>>2]+1}na=2;a=v[d+24>>2]-v[d+20>>2]>>2;Y=a<<8&16711680|a<<24|(a>>>8&65280|a>>>24);a=v[i+20>>2];v[i+72416>>2]=(v[i+28>>2]+B(v[a+4>>2]-v[a>>2]>>2,20480)|0)+18;_=255;oa=253;pa=3;U=254}a=v[l+40>>2];Vb:{if(a){c=l+40|0;while(1){b=v[a+16>>2];Wb:{if((b|0)>0){b=v[a>>2];if(b){break Wb}c=a;break Vb}if((b|0)>=0){break Vb}c=a+4|0;b=v[a+4>>2];if(!b){break Vb}a=c}c=a;a=b;continue}}a=c}o=v[l+48>>2];b=v[c>>2];if(!b){b=fc(32);v[b+16>>2]=0;v[b+8>>2]=a;v[b>>2]=0;v[b+4>>2]=0;v[b+28>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[c>>2]=b;a=v[v[l+36>>2]>>2];if(a){v[l+36>>2]=a;a=v[c>>2]}else{a=b}Uc(v[l+40>>2],a);v[l+44>>2]=v[l+44>>2]+1}a=v[b+20>>2];b=v[b+24>>2];h=b-a|0;b=l+28|0;a=v[b>>2];Xb:{if(a){c=l+28|0;while(1){d=v[a+16>>2];Yb:{if((d|0)>0){d=v[a>>2];if(d){break Yb}c=a;break Xb}if((d|0)>=0){break Xb}c=a+4|0;d=v[a+4>>2];if(!d){break Xb}a=c}c=a;a=d;continue}}a=b;c=a}e=v[c>>2];if(!e){e=fc(32);v[e+16>>2]=0;v[e+8>>2]=a;v[e>>2]=0;v[e+4>>2]=0;v[e+28>>2]=0;v[e+20>>2]=0;v[e+24>>2]=0;v[c>>2]=e;a=v[v[l+24>>2]>>2];if(a){v[l+24>>2]=a;a=v[c>>2]}else{a=e}Uc(v[l+28>>2],a);v[l+32>>2]=v[l+32>>2]+1}a=v[l>>2];g=v[l+92>>2];ea=g?g:v[a+72>>2];S=v[a+108>>2];ja=v[a+96>>2];a=0;d=o+(h>>2)|0;if(d>>>0>=2){c=d;while(1){a=a+1|0;c=c>>1;if(c>>>0>1){continue}break}}aa=i+72464|0;h=aa;ca=l+76|0;da=i+72232|0;P=((d&d-1)!=0)+a|0;n=!g;j=0;s=Qb-96|0;Qb=s;v[s+84>>2]=S;c=e+20|0;d=v[c>>2];g=v[c+4>>2];v[s+80>>2]=0;v[s+72>>2]=0;v[s+76>>2]=0;a=g-d|0;r=a>>2;Zb:{_b:{$b:{ac:{if(a){if((a|0)<=-1){break $b}e=fc(a);v[s+72>>2]=e;v[s+80>>2]=(r<<2)+e;m=ic(e,0,a)+((a-4>>>2|0)+1<<2)|0;v[s+76>>2]=m;break ac}e=0}if((s+72|0)!=(c|0)){Mo(s+72|0,d,g);m=v[s+76>>2];e=v[s+72>>2]}v[s+56>>2]=S;JI(e,m,s+56|0);o=0;No(h,3,0);v[s+64>>2]=0;v[s+56>>2]=0;if((a|0)>=1){qa=n?-12:0;E=da+4|0;p=ca+4|0;c=0;d=0;while(1){e=v[s+72>>2]+(k<<2)|0;g=v[e>>2];F=Fib(z[v[S+16>>2]+(g<<2)>>2]);bc:{if(C(D(F))>2]=g;g=c+4|0;v[s+60>>2]=g;break cc}o=fc(4);v[o>>2]=v[e>>2];f=o+4|0;v[s+64>>2]=f;v[s+60>>2]=f;v[s+56>>2]=o;if(c){dc(c)}c=o;g=f}O=a-m|0;dc:{ec:{k=k+1|0;fc:{if((r|0)<=(k|0)){break fc}m=O+1|0;while(1){n=v[s+72>>2]+(k<<2)|0;e=v[n>>2];F=Fib(z[v[S+16>>2]+(e<<2)>>2]);gc:{if(C(D(F))=(m|0)){break fc}hc:{if((f|0)!=(g|0)){v[g>>2]=e;g=g+4|0;v[s+60>>2]=g;break hc}a=f-c|0;g=a>>2;f=g+1|0;if(f>>>0>=1073741824){break ec}o=a>>1;f=g>>>0<536870911?f>>>0>o>>>0?f:o:1073741823;ic:{if(!f){o=0;break ic}if(f>>>0>=1073741824){break b}o=fc(f<<2);e=v[n>>2]}g=(g<<2)+o|0;v[g>>2]=e;f=(f<<2)+o|0;g=g+4|0;if((a|0)>=1){gc(o,c,a)}v[s+64>>2]=f;v[s+60>>2]=g;v[s+56>>2]=o;if(c){dc(c)}c=o}k=k+1|0;if((r|0)!=(k|0)){continue}break}k=r}v[s+88>>2]=S;II(c,g,s+88|0);No(h,3,O-d|0);if((c|0)==(g|0)){break dc}a=0;e=1;m=c;while(1){n=v[m>>2];jc:{if(e&1){a=h;F=Fib(z[v[S+12>>2]+(n<<2)>>2]);kc:{if(C(D(F))>2]+(n<<2)>>2]);lc:{if(C(D(F))>2]+(n<<2)>>2];mc:{if(C(D(F))>2];if(!e){break oc}while(1){K=(n|0)>v[e+16>>2];a=K?a:e;e=v[(K<<2)+e>>2];if(e){continue}break}if((a|0)==(p|0)|(n|0)>2]){break oc}e=v[a+20>>2];break nc}pc:{a=E;e=v[a>>2];if(!e){break pc}while(1){K=(n|0)>v[e+16>>2];a=K?a:e;e=v[(K<<2)+e>>2];if(e){continue}break}if((a|0)==(E|0)|(n|0)>2]){break pc}e=v[ca+8>>2]+v[a+20>>2]|0;break nc}d=v[252391];a=v[ca>>2];if((p|0)!=(a|0)){while(1){b=a;v[s+32>>2]=v[a+16>>2];wc(d,4047,s+32|0);e=v[a+4>>2];qc:{if(!e){a=v[b+8>>2];if((b|0)==v[a>>2]){break qc}c=b+8|0;while(1){b=v[c>>2];c=b+8|0;a=v[b+8>>2];if((b|0)!=v[a>>2]){continue}break}break qc}while(1){a=e;e=v[a>>2];if(e){continue}break}}if((a|0)!=(p|0)){continue}break}}a=v[da>>2];if((E|0)!=(a|0)){while(1){b=a;v[s+16>>2]=v[a+16>>2];wc(d,4047,s+16|0);e=v[a+4>>2];rc:{if(!e){a=v[b+8>>2];if((b|0)==v[a>>2]){break rc}c=b+8|0;while(1){b=v[c>>2];c=b+8|0;a=v[b+8>>2];if((b|0)!=v[a>>2]){continue}break}break rc}while(1){a=e;e=v[a>>2];if(e){continue}break}}if((a|0)!=(E|0)){continue}break}}v[s>>2]=n;wc(d,8880,s);ia();L()}fa=0;a=v[h+72216>>2];if(!a){K=1<>2]=a;ic(a,0,K)}sc:{if((P|0)<1){break sc}K=-1<>1];ra=e;ma=ba>>>31|0;tc:{uc:{if((ma|0)==(la>>>0>46|0)){e=x[h+4>>1]-a|0;u[h+4>>1]=e;if(e<<16>>16>=0){if(a>>>0>(e&65535)>>>0){e=a;a=V+1038402|0;break uc}v[h>>2]=a+v[h>>2];a=V+1038402|0;break uc}v[h>>2]=a+v[h>>2];break tc}e=x[h+4>>1]-a|0;vc:{if(a>>>0<=(e&65535)>>>0){e=a;break vc}v[h>>2]=a+v[h>>2]}a=V+1038403|0}t[ra|0]=w[a|0];while(1){e=e<<1;u[h+4>>1]=e;v[h>>2]=v[h>>2]<<1;a=w[h+6|0]-1|0;t[h+6|0]=a;if(!(a&255)){ql(h);e=x[h+4>>1]}if(e<<16>>16>-1){continue}break}}fa=fa+1|0;if((P|0)==(fa|0)){break sc}ba=ba<<1;$=$<<1|ma;a=v[h+72216>>2];continue}}a=((v[v[v[ea+12>>2]+(n<<2)>>2]>>2]+qa|0)+d|0)-1|0;e=0;m=m+4|0;if((m|0)!=(g|0)){continue}break}break dc}ue(s+56|0);L()}s0(h,2);d=O;if((k|0)<(r|0)){continue}break}}MI(h);if(o){dc(o)}a=v[s+72>>2];if(a){v[s+76>>2]=a;dc(a)}Qb=s+96|0;break Zb}ue(s+72|0);L()}ia();L()}a=v[aa+12>>2];o=v[aa+20>>2]+B(v[a+4>>2]-v[a>>2]>>2,20480)|0;a=v[v[l+52>>2]>>2];e=a<<8&16711680|a<<24|(a>>>8&65280|a>>>24);a=v[v[l+64>>2]>>2];f=a<<8&16711680|a<<24|(a>>>8&65280|a>>>24);a=v[l+28>>2];wc:{if(a){b=l+28|0;while(1){c=v[a+16>>2];xc:{if((c|0)>0){c=v[a>>2];if(c){break xc}b=a;break wc}if((c|0)>=0){break wc}b=a+4|0;c=v[a+4>>2];if(!c){break wc}a=b}b=a;a=c;continue}}a=b}m=w[l+88|0];c=v[b>>2];if(!c){c=fc(32);v[c+16>>2]=0;v[c+8>>2]=a;v[c>>2]=0;v[c+4>>2]=0;v[c+28>>2]=0;v[c+20>>2]=0;v[c+24>>2]=0;v[b>>2]=c;a=v[v[l+24>>2]>>2];if(a){v[l+24>>2]=a;a=v[b>>2]}else{a=c}Uc(v[l+28>>2],a);v[l+32>>2]=v[l+32>>2]+1}a=v[c+24>>2]-v[c+20>>2]>>2;g=a<<8&16711680|a<<24|(a>>>8&65280|a>>>24);a=v[l+16>>2];v[i+72248>>2]=a;v[l+16>>2]=a+1;v[i+72252>>2]=6;k=i+72264|0;h=v[l+20>>2];yc:{zc:{Ac:{a=v[i+72272>>2];b=v[i+72268>>2];Bc:{if(a>>>0>b>>>0){v[b>>2]=h;b=b+4|0;v[i+72268>>2]=b;break Bc}d=v[i+72264>>2];j=b-d|0;n=j>>2;b=n+1|0;if(b>>>0>=1073741824){break Ac}a=a-d|0;c=a>>1;a=a>>2>>>0<536870911?b>>>0>c>>>0?b:c:1073741823;if(a){if(a>>>0>=1073741824){break b}c=fc(a<<2)}else{c=0}b=c+(n<<2)|0;v[b>>2]=h;a=c+(a<<2)|0;b=b+4|0;if((j|0)>=1){gc(c,d,j)}v[i+72272>>2]=a;v[i+72268>>2]=b;v[i+72264>>2]=c;if(!d){break Bc}dc(d)}Cc:{if(Q){break Cc}if((a|0)!=(b|0)){v[b>>2]=v[i+72384>>2];b=b+4|0;v[i+72268>>2]=b;break Cc}c=v[i+72264>>2];d=a-c|0;b=d>>2;a=b+1|0;if(a>>>0>=1073741824){break Ac}h=d>>1;h=b>>>0<536870911?a>>>0>h>>>0?a:h:1073741823;if(h){if(h>>>0>=1073741824){break b}a=fc(h<<2)}else{a=0}b=a+(b<<2)|0;v[b>>2]=v[i+72384>>2];b=b+4|0;if((d|0)>=1){gc(a,c,d)}v[i+72272>>2]=a+(h<<2);v[i+72268>>2]=b;v[i+72264>>2]=a;if(!c){break Cc}dc(c)}a=w[l+88|0];v[i+72260>>2]=2;v[i+72280>>2]=o+(a?27:23);v[i+72276>>2]=1;if(Q){d=0}else{a=v[i+20>>2];d=v[i+28>>2]+B(v[a+4>>2]-v[a>>2]>>2,20480)|0}h=w[l+12|0];if(h){a=v[l+16>>2];v[i+72344>>2]=a;v[l+16>>2]=a+1;v[i+72348>>2]=49;v[i+72372>>2]=1}if(W){a=v[l+16>>2];v[i+72304>>2]=a;v[l+16>>2]=a+1;v[i+72332>>2]=0;v[i+72308>>2]=51}j=v[i+72424>>2];k=j>>>0<65537?2:4;n=v[i+72444>>2]-v[i+72440>>2]|0;r=v[i+72452>>2];a=0;c=0;if(!Q){c=v[i+72384>>2];c=((d+(y[i+72412>>2]<256?11:12)|0)+B(v[i+72404>>2]-v[i+72400>>2]>>2,c>>>0<257?1:c>>>0<65537?2:4)|0)+18|0}E=v[i+72248>>2];E=E>>>0<257?1:E>>>0<65537?2:4;p=b-v[i+72264>>2]>>2;O=w[l+88|0];if(h){a=v[i+72344>>2];a=B(v[i+72364>>2]-v[i+72360>>2]>>2,a>>>0<257?1:a>>>0<65537?2:4)+(y[i+72372>>2]<256?11:12)|0}aa=i+72424|0;if(W){b=v[i+72304>>2];b=B(v[i+72324>>2]-v[i+72320>>2]>>2,b>>>0<257?1:b>>>0<65537?2:4)+(y[i+72332>>2]<256?11:12)|0}else{b=0}h=(b+((((((o+(r>>>0<256?11:12)|0)+B(n>>2,j>>>0<257?1:k)|0)+c|0)+(O<<2)|0)+B(p,E)|0)+a|0)|0)+53|0;b=jc(h);um(aa,b);a=v[i+72424>>2];j=B(v[i+72444>>2]-v[i+72440>>2]>>2,a>>>0<257?1:a>>>0<65537?2:4)+(y[i+72452>>2]<256?11:12)|0;c=j+b|0;t[c+17|0]=0;t[c+18|0]=0;t[c+16|0]=ha;a=H;t[c+12|0]=a;t[c+13|0]=a>>>8;t[c+14|0]=a>>>16;t[c+15|0]=a>>>24;a=G;t[c+8|0]=a;t[c+9|0]=a>>>8;t[c+10|0]=a>>>16;t[c+11|0]=a>>>24;a=N;t[c+4|0]=a;t[c+5|0]=a>>>8;t[c+6|0]=a>>>16;t[c+7|0]=a>>>24;t[c|0]=Z;t[c+1|0]=Z>>>8;t[c+2|0]=Z>>>16;t[c+3|0]=Z>>>24;a=j+19|0;r=i+72248|0;if(!Q){um(i+72384|0,a+b|0);c=(y[i+72412>>2]<256?11:12)+a|0;a=v[i+72384>>2];j=c+B(v[i+72404>>2]-v[i+72400>>2]>>2,a>>>0<257?1:a>>>0<65537?2:4)|0;a=j+b|0;t[a+14|0]=Y;c=Y>>>8|0;t[a+15|0]=c;k=Y>>>16|0;t[a+16|0]=k;E=Y>>>24|0;t[a+17|0]=E;t[a+10|0]=Y;t[a+11|0]=c;t[a+12|0]=k;t[a+13|0]=E;t[a+9|0]=U;t[a+8|0]=U;t[a+7|0]=U;t[a+6|0]=na;t[a+5|0]=_;t[a+4|0]=oa;t[a+3|0]=_;t[a+2|0]=pa;t[a|0]=0;t[a+1|0]=0;a=j+18|0;AA(i+8|0,a+b|0);a=a+d|0}um(r,a+b|0);c=(y[i+72276>>2]<256?11:12)+a|0;a=v[i+72248>>2];j=c+B(v[i+72268>>2]-v[i+72264>>2]>>2,a>>>0<257?1:a>>>0<65537?2:4)|0;a=j+b|0;t[a+4|0]=f;t[a+5|0]=f>>>8;t[a+6|0]=f>>>16;t[a+7|0]=f>>>24;t[a|0]=e;t[a+1|0]=e>>>8;t[a+2|0]=e>>>16;t[a+3|0]=e>>>24;c=v[i+72292>>2];d=v[i+72288>>2];t[a+8|0]=d;t[a+9|0]=d>>>8;t[a+10|0]=d>>>16;t[a+11|0]=d>>>24;t[a+12|0]=c;t[a+13|0]=c>>>8;t[a+14|0]=c>>>16;t[a+15|0]=c>>>24;t[a+16|0]=w[i+72296|0];c=m<<9;t[a+17|0]=c;t[a+18|0]=c>>>8;a=j+19|0;if(w[l+88|0]){a=a+b|0;t[a|0]=255;t[a+1|0]=255;t[a+2|0]=255;t[a+3|0]=255;a=j+23|0}c=a+b|0;t[c|0]=g;t[c+1|0]=g>>>8;t[c+2|0]=g>>>16;t[c+3|0]=g>>>24;a=a+4|0;AA(i+72464|0,a+b|0);a=a+o|0;if(w[l+12|0]){um(i+72344|0,a+b|0);c=(y[i+72372>>2]<256?11:12)+a|0;a=v[i+72344>>2];a=c+B(v[i+72364>>2]-v[i+72360>>2]>>2,a>>>0<257?1:a>>>0<65537?2:4)|0}if(W){um(i+72304|0,a+b|0);c=(y[i+72332>>2]<256?11:12)+a|0;a=v[i+72304>>2];a=c+B(v[i+72324>>2]-v[i+72320>>2]>>2,a>>>0<257?1:a>>>0<65537?2:4)|0}if((a|0)!=(h|0)){break zc}BA(i+72464|0);if(!Q){BA(i+8|0)}v[q+92>>2]=h;DA(i+72232|0,v[i+72236>>2]);a=v[i+72264>>2];if(a){v[i+72268>>2]=a;dc(a)}a=v[i+72320>>2];if(a){v[i+72324>>2]=a;dc(a)}a=v[i+72360>>2];if(a){v[i+72364>>2]=a;dc(a)}a=v[i+72400>>2];if(a){v[i+72404>>2]=a;dc(a)}a=v[i+72440>>2];if(a){v[i+72444>>2]=a;dc(a)}Qb=i+144688|0;a=b;break yc}ue(k);L()}ia();L()}if(w[J+1|0]){v[q+32>>2]=0;v[q+24>>2]=0;v[q+28>>2]=0;b=w[J+31|0];c=b<<24>>24<0;b=c?v[J+24>>2]:b;d=b+5|0;if(d>>>0>=1073741808){break f}e=v[J+20>>2];Dc:{Ec:{if(d>>>0<=1){t[q+35|0]=b;d=q+24|0;break Ec}f=b+9&-4;d=fc(f<<2);v[q+32>>2]=f|-2147483648;v[q+24>>2]=d;v[q+28>>2]=b;if(!b){break Dc}}tc(d,c?e:J+20|0,b)}v[(b<<2)+d>>2]=0;c=q+24|0;et(c,12504,5);b=q+40|0;v[b+12>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;v[b>>2]=530160;d=bv(b,c);Fc:{if(!d){dc(a);Is(l);break Fc}vz(b,a,v[q+92>>2]);vk(b)}lg(b);if(t[q+35|0]<=-1){dc(v[q+24>>2])}c=0;if(!d){break g}}dc(a)}Is(l);c=(I|0)!=0}Qb=q+96|0;a=c;break e}$d(q+24|0);L()}if(t[J+1003|0]<=-1){dc(v[J+992>>2])}if(t[J+43|0]<=-1){dc(v[J+32>>2])}if(t[J+31|0]>-1){break c}dc(v[J+20>>2]);break c}d=1;e=J+976|0;v[e+12>>2]=0;v[e+4>>2]=0;v[e+8>>2]=0;v[e>>2]=530160;h=e;if(bv(e,b)){j=gf(J,0);b=j;m=v[a+4>>2];q=v[a+8>>2];n=(v[a+12>>2]^-1)>>>31|0;e=!w[a+40|0];r=v[a+16>>2];Gc:{if(!r){break Gc}I=f-1|0;if(I>>>0>31|!(1<>>0<=23){Eq(b)}if((f|0)==32){si(b);g=1;if(!q|!m){break Gc}f=e?2:0;I=e?0:2;while(1){o=r+B(k,p)|0;E=n?q+(p^-1)|0:p;g=v[b+56>>2]+B(E,v[b+52>>2])|0;e=0;while(1){t[g|0]=w[o+I|0];t[g+1|0]=w[o+1|0];t[g+2|0]=w[f+o|0];gh(b,e,E,w[o+3|0]);o=o+4|0;g=g+3|0;e=e+1|0;if((m|0)!=(e|0)){continue}break}g=1;p=p+1|0;if((q|0)!=(p|0)){continue}break}break Gc}g=1;if(!q){break Gc}while(1){e=v[b+52>>2];gc(v[b+56>>2]+B(e,n?q+(o^-1)|0:o)|0,r+B(k,o)|0,e>>>0>>0?e:k);o=o+1|0;if((q|0)!=(o|0)){continue}break}}Hc:{if(!g){break Hc}b=v[a+20>>2];if(b){vn(j,b,v[a+24>>2])}b=v[h+4>>2];a=Qb-16|0;Qb=a;v[a>>2]=39232;v[a+4>>2]=b;t[a+8|0]=!b;b=XY(j,a,c);v[a>>2]=39232;c=v[a+4>>2];if(!(!c|!w[a+8|0])){Be(c)}Qb=a+16|0;if(!b){break Hc}vk(h);d=0}v[j>>2]=1032;_g(j);Jg(j)}lg(h);a=!d}Qb=J+1008|0;return a|0}cf(9961);L()}function GT(a,b,c,d,e,f){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,u=0,x=0,y=0,z=0,C=0,E=0,G=0,I=0,J=0,K=0,M=0,N=0,R=0,U=0,V=0,W=0,X=0,Y=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;M=Qb-48|0;Qb=M;v[M+32>>2]=13;v[M+16>>2]=13;a:{if(v[f>>2]!=7){break a}b:{if(v[e>>2]!=9){break b}j=v[v[a>>2]+28>>2];r=v[j+8>>2];if((r|0)<1){break b}l=v[e+12>>2];k=v[e+8>>2];j=v[j>>2];e=0;while(1){h=v[j+(e<<2)>>2];if(!((k|0)!=v[h>>2]|(l|0)!=v[h+4>>2])){h=v[h+8>>2];break b}e=e+1|0;if((r|0)!=(e|0)){continue}break}h=0}if((b|0)!=(h|0)){break a}e=0;c:{if(v[rc(v[f+8>>2],321049,M+32|0,0)>>2]!=1){hc(M+32|0);break c}e=v[M+40>>2];hc(M+32|0);if(e&2){break a}}if(!(e&32?d:1)|(e&4?0:d)){break a}b=M+32|0;Ce(v[f+8>>2],322061,b);d=ay(v[v[v[a>>2]>>2]+36>>2],b,M+12|0);e=v[M+12>>2];hc(b);if(e?0:d){break a}d:{if(v[rc(v[f+8>>2],233935,M+32|0,0)>>2]!=6){break d}b=v[M+40>>2];if(v[b+12>>2]!=4){break d}if(v[yc(b,0,M+16|0,0)>>2]-1>>>0<=1){q=v[M+16>>2]==1?+v[M+24>>2]:A[M+24>>3]}b=M+16|0;hc(b);if(v[yc(v[M+40>>2],1,b,0)>>2]-1>>>0<=1){s=v[M+16>>2]==1?+v[M+24>>2]:A[M+24>>3]}b=M+16|0;hc(b);if(v[yc(v[M+40>>2],2,b,0)>>2]-1>>>0<=1){u=v[M+16>>2]==1?+v[M+24>>2]:A[M+24>>3]}b=M+16|0;hc(b);x=s;if(v[yc(v[M+40>>2],3,b,0)>>2]-1>>>0<=1){p=v[M+16>>2]==1?+v[M+24>>2]:A[M+24>>3]}b=s>p;$=b?x:p;aa=b?p:s;b=q>u;ba=b?q:u;ca=b?u:q;hc(M+16|0);hc(M+32|0);e:{f:{if(v[v[a>>2]+24>>2]){break f}b=v[a+56>>2];if(v[b+8>>2]?b:0){break f}b=M+32|0;d=v[rc(v[f+8>>2],311952,b,0)>>2];hc(b);if((d|0)==7){break e}}b=a;r=v[f+8>>2];e=0;j=0;d=0;h=0;g=Qb-1296|0;Qb=g;v[g+1280>>2]=13;v[g+1264>>2]=13;v[g+1248>>2]=13;v[g+1232>>2]=13;v[g+1216>>2]=13;v[g+1200>>2]=13;v[g+1184>>2]=13;v[g+1168>>2]=13;v[g+1152>>2]=13;v[g+1136>>2]=13;v[g+1120>>2]=13;v[g+1104>>2]=13;v[g+1088>>2]=13;v[g+1072>>2]=13;v[g+1056>>2]=13;na=fc(8);v[299999]=0;m=S(3312,na|0)|0;a=v[299999];v[299999]=0;g:{h:{i:{j:{if((a|0)!=1){k:{if(v[rc(r,320521,g+1264|0,0)>>2]!=7){break k}j=v[g+1272>>2];if(!j){j=0;break k}l:{if(v[rc(j,320945,g+1104|0,0)>>2]!=6){break l}a=v[g+1112>>2];if(v[a+12>>2]<1){break l}Xl(a,1,0,m);A[g+1032>>3]=$-aa;A[g+1024>>3]=ba-ca;Jc(m,351835,g+1024|0)}hc(g+1104|0);d=1}oa=Qr(b,v[b+32>>2],310489,g+1248|0);m:{if(v[rc(r,310893,g+1104|0,0)>>2]==7){W=0;n:{if(v[rc(v[g+1112>>2],310906,g+1088|0,0)>>2]!=4){break n}o:{if(v[g+1088>>2]!=4){break o}a=v[g+1096>>2];W=0;if(!mc(a,310906)){break n}W=1;if(!mc(a,321761)){break n}W=2;if(!mc(a,322447)){break n}W=3;if(!mc(a,320692)){break n}if(mc(a,309807)){break o}W=4;break n}W=0}a=g+1088|0;hc(a);q=1;if(v[rc(v[g+1112>>2],309708,a,0)>>2]-1>>>0<=1){q=v[g+1088>>2]==1?+v[g+1096>>2]:A[g+1096>>3]}a=g+1088|0;hc(a);if(v[rc(v[g+1112>>2],321761,a,0)>>2]!=6){a=0;break m}a=v[v[g+1096>>2]+12>>2];h=ed(a,8);if((a|0)<1){break m}while(1){f=(e<<3)+h|0;if(v[yc(v[g+1096>>2],e,g+1072|0,0)>>2]-1>>>0<=1){p=v[g+1072>>2]==1?+v[g+1080>>2]:A[g+1080>>3]}else{p=1}A[f>>3]=p;hc(g+1072|0);e=e+1|0;if((e|0)!=(a|0)){continue}break}break m}a=g+1104|0;hc(a);q=1;if(v[rc(r,239912,a,0)>>2]!=6){break j}a=0;f=v[g+1112>>2];if(v[f+12>>2]<3){break i}if(v[yc(f,2,g+1088|0,0)>>2]-1>>>0<=1){q=v[g+1088>>2]==1?+v[g+1096>>2]:A[g+1096>>3]}hc(g+1088|0);a=v[g+1112>>2];if(v[a+12>>2]<4){break j}if(v[yc(a,3,g+1088|0,0)>>2]!=6){q=0;a=0;break m}W=1;a=v[v[g+1096>>2]+12>>2];h=ed(a,8);if((a|0)<1){break m}while(1){f=(e<<3)+h|0;if(v[yc(v[g+1096>>2],e,g+1072|0,0)>>2]-1>>>0<=1){p=v[g+1072>>2]==1?+v[g+1080>>2]:A[g+1080>>3]}else{p=1}A[f>>3]=p;hc(g+1072|0);e=e+1|0;if((e|0)!=(a|0)){continue}break}}hc(g+1088|0);break i}c=P()|0;O()|0;dc(na);break h}a=0}hc(g+1104|0);if(q>0&d){rc(j,322085,g+1104|0,0);p:{if(!(v[g+1104>>2]==6&v[v[g+1112>>2]+12>>2]>0)){e=g+1104|0;hc(e);rc(j,320945,e,0);if(v[g+1104>>2]!=6){break p}}if(v[v[g+1112>>2]+12>>2]<1){break p}e=g+1088|0;f=v[rc(j,322491,e,0)>>2];s=$-aa;x=ba-ca;hc(e);q:{if(v[g+1248>>2]!=4){break q}if(mc(v[oa+8>>2],244717)|!(w[b+49|0]&128)|(f|0)==3){break q}p=(s>x?x:s)*.5;r:{switch(W|0){case 1:_c(m,308937);if((a|0)>=1){e=0;while(1){A[g+544>>3]=A[(e<<3)+h>>3];Jc(m,217436,g+544|0);e=e+1|0;if((e|0)!=(a|0)){continue}break}}_c(m,354601);case 0:case 4:A[g+528>>3]=q;Jc(m,347759,g+528|0);Xl(v[g+1112>>2],0,0,m);s=s*.5;A[g+520>>3]=s;x=x*.5;u=p-q*.5;p=x+u;A[g+512>>3]=p;Jc(m,351284,g+512|0);z=s+u;A[g+504>>3]=z;A[g+496>>3]=x;A[g+488>>3]=z;K=u*.55228475;da=x+K;A[g+480>>3]=da;Y=s+K;A[g+472>>3]=Y;A[g+464>>3]=p;Jc(m,354608,g+464|0);A[g+456>>3]=s;U=x-u;A[g+448>>3]=U;A[g+440>>3]=Y;A[g+432>>3]=U;A[g+424>>3]=z;z=x-K;A[g+416>>3]=z;Jc(m,354608,g+416|0);u=s-u;A[g+408>>3]=u;A[g+400>>3]=x;A[g+392>>3]=u;A[g+384>>3]=z;x=s-K;A[g+376>>3]=x;A[g+368>>3]=U;Jc(m,354608,g+368|0);A[g+360>>3]=s;A[g+352>>3]=p;A[g+344>>3]=x;A[g+336>>3]=p;A[g+328>>3]=u;A[g+320>>3]=da;Jc(m,354608,g+320|0);v[g+304>>2]=237307;Jc(m,346845,g+304|0);break p;case 2:case 3:break r;default:break p}}A[g+1008>>3]=q*.5;Jc(m,347759,g+1008|0);Xl(v[g+1112>>2],0,0,m);s=s*.5;A[g+1e3>>3]=s;x=x*.5;u=p+q*-.25;K=x+u;A[g+992>>3]=K;Jc(m,351284,g+992|0);U=s+u;A[g+984>>3]=U;A[g+976>>3]=x;A[g+968>>3]=U;z=u*.55228475;Y=x+z;A[g+960>>3]=Y;ja=s+z;A[g+952>>3]=ja;A[g+944>>3]=K;Jc(m,354608,g+944|0);A[g+936>>3]=s;da=x-u;A[g+928>>3]=da;A[g+920>>3]=ja;A[g+912>>3]=da;A[g+904>>3]=U;U=x-z;A[g+896>>3]=U;Jc(m,354608,g+896|0);u=s-u;A[g+888>>3]=u;A[g+880>>3]=x;A[g+872>>3]=u;A[g+864>>3]=U;z=s-z;A[g+856>>3]=z;A[g+848>>3]=da;Jc(m,354608,g+848|0);A[g+840>>3]=s;A[g+832>>3]=K;A[g+824>>3]=z;A[g+816>>3]=K;A[g+808>>3]=u;A[g+800>>3]=Y;Jc(m,354608,g+800|0);v[g+784>>2]=237307;Jc(m,346845,g+784|0);a=(W|0)==2;Xl(v[g+1112>>2],0,a?1:-1,m);u=(p+q*-.75)/1.4142135623730951;z=s+u;A[g+776>>3]=z;U=x+u;A[g+768>>3]=U;Jc(m,351284,g+768|0);A[g+760>>3]=z;da=x-u;A[g+752>>3]=da;p=u*1.55228475;Y=s+p;A[g+744>>3]=Y;K=u*.44771525;ja=x-K;A[g+736>>3]=ja;A[g+728>>3]=Y;Y=x+K;A[g+720>>3]=Y;Jc(m,354608,g+720|0);u=s-u;A[g+712>>3]=u;A[g+704>>3]=da;pa=s-K;A[g+696>>3]=pa;qa=x-p;A[g+688>>3]=qa;K=s+K;A[g+680>>3]=K;A[g+672>>3]=qa;Jc(m,354608,g+672|0);_c(m,354898);Xl(v[g+1112>>2],0,a?-1:1,m);A[g+664>>3]=u;A[g+656>>3]=da;Jc(m,351284,g+656|0);A[g+648>>3]=u;A[g+640>>3]=U;s=s-p;A[g+632>>3]=s;A[g+624>>3]=Y;A[g+616>>3]=s;A[g+608>>3]=ja;Jc(m,354608,g+608|0);A[g+600>>3]=z;A[g+592>>3]=U;A[g+584>>3]=K;s=x+p;A[g+576>>3]=s;A[g+568>>3]=pa;A[g+560>>3]=s;Jc(m,354608,g+560|0);_c(m,354898);break p}s:{t:{switch(W|0){case 1:_c(m,308937);if((a|0)>=1){e=0;while(1){A[g+96>>3]=A[(e<<3)+h>>3];Jc(m,217436,g+96|0);e=e+1|0;if((e|0)!=(a|0)){continue}break}}_c(m,354601);case 0:A[g+80>>3]=q;Jc(m,347759,g+80|0);Xl(v[g+1112>>2],0,0,m);A[g- -64>>3]=s-q;A[g+56>>3]=x-q;A[g+48>>3]=q*.5;Jc(m,350141,g+48|0);break s;case 2:case 3:a=(W|0)==2;Xl(v[g+1112>>2],1,a?1:-1,m);_c(m,351303);A[g+256>>3]=s;Jc(m,351415,g+256|0);A[g+248>>3]=s;A[g+240>>3]=x;Jc(m,351377,g+240|0);u=s-q;A[g+232>>3]=u;p=x-q;A[g+224>>3]=p;Jc(m,351377,g+224|0);A[g+216>>3]=u;A[g+208>>3]=q;Jc(m,351377,g+208|0);A[g+192>>3]=q;Jc(m,351396,g+192|0);_c(m,351923);Xl(v[g+1112>>2],1,a?-1:1,m);_c(m,351303);A[g+176>>3]=x;Jc(m,351428,g+176|0);A[g+168>>3]=s;A[g+160>>3]=x;Jc(m,351377,g+160|0);A[g+152>>3]=u;A[g+144>>3]=p;Jc(m,351377,g+144|0);A[g+136>>3]=q;A[g+128>>3]=p;Jc(m,351377,g+128|0);A[g+112>>3]=q;Jc(m,351396,g+112|0);_c(m,351923);break s;case 4:break t;default:break s}}A[g+288>>3]=q;Jc(m,347759,g+288|0);Xl(v[g+1112>>2],0,0,m);A[g+272>>3]=x;Jc(m,350082,g+272|0)}A[g+16>>3]=q;p=s;s=q+q;A[g+32>>3]=p-s;A[g+24>>3]=x-s;Jc(m,351062,g+16|0)}hc(g+1104|0)}uc(h);f=0;a=Qb-80|0;Qb=a;v[a+64>>2]=13;v[a+48>>2]=13;v[a+32>>2]=13;v[a+16>>2]=13;v[a>>2]=13;l=g+1216|0;Gf(l,v[v[v[b>>2]>>2]+24>>2]);rc(v[v[b>>2]+16>>2],311766,a- -64|0,0);u:{if(v[a+64>>2]!=7){break u}e=v[a+72>>2];if(v[e+16>>2]<1){break u}while(1){e=v[v[e+4>>2]+(f<<5)>>2];fT(v[a+72>>2],f,a+32|0);v:{if(v[a+32>>2]!=7){break v}h=a+16|0;Gf(h,v[v[v[b>>2]>>2]+24>>2]);e=ud(e);fe(v[l+8>>2],e,h);e=0;h=v[a+40>>2];if(v[h+16>>2]<1){break v}while(1){h=v[v[h+4>>2]+(e<<5)>>2];Qp(v[a+40>>2],e,a);h=ud(h);fe(v[a+24>>2],h,a);e=e+1|0;h=v[a+40>>2];if((e|0)>2]){continue}break}}hc(a+32|0);f=f+1|0;e=v[a+72>>2];if((f|0)>2]){continue}break}}hc(a- -64|0);rc(v[b+32>>2],311766,a+48|0,0);w:{if(v[a+48>>2]!=7){break w}e=v[a+56>>2];if(v[e+16>>2]<1){break w}f=0;while(1){e=v[v[e+4>>2]+(f<<5)>>2];fT(v[a+56>>2],f,a+32|0);x:{if(v[a+32>>2]!=7){break x}rc(v[l+8>>2],e,a+16|0,0);if(v[a+16>>2]!=7){h=a+16|0;hc(h);Gf(h,v[v[v[b>>2]>>2]+24>>2])}e=ud(e);fe(v[l+8>>2],e,a+16|0);e=0;h=v[a+40>>2];if(v[h+16>>2]<1){break x}while(1){h=v[v[h+4>>2]+(e<<5)>>2];Qp(v[a+40>>2],e,a);h=ud(h);fe(v[a+24>>2],h,a);e=e+1|0;h=v[a+40>>2];if((e|0)>2]){continue}break}}hc(a+32|0);f=f+1|0;e=v[a+56>>2];if((f|0)>2]){continue}break}}hc(a+48|0);Qb=a+80|0;W=0;y:{z:{A:{B:{if(v[g+1216>>2]!=7){break B}if(v[rc(v[g+1224>>2],228507,g+1104|0,0)>>2]!=7){break B}a=fc(8);e=v[v[v[b>>2]>>2]+24>>2];v[299999]=0;W=Z(3319,a|0,e|0,0,v[g+1112>>2])|0;e=v[299999];v[299999]=0;if((e|0)!=1){break B}break A}a=g+1104|0;hc(a);E=Qr(b,v[b+32>>2],322488,a);C:{if(v[g+1104>>2]!=3){break C}e=v[E+8>>2];a=fc(8);v[299999]=0;fa=Q(3064,a|0,e|0)|0;e=v[299999];v[299999]=0;if((e|0)!=1){break C}break A}hc(E);if(d){a=v[rc(j,311880,E,0)>>2];e=v[E+8>>2];hc(E);n=(a|0)==1?e:0}rc(r,311952,g+1200|0,0);rc(r,310896,g+1184|0,0);D:{if(v[g+1184>>2]==4){f=fc(8);v[299999]=0;ma=Q(3063,f|0,v[g+1192>>2])|0;a=v[299999];v[299999]=0;if((a|0)!=1){break D}break z}E:{if(v[g+1200>>2]==7){rc(v[g+1208>>2],316328,E,0);F:{if(v[g+1104>>2]!=7){break F}a=v[E+8>>2];if(v[a+16>>2]!=1){break F}f=fc(8);v[299999]=0;a=v[v[a+4>>2]>>2];e=v[299999];v[299999]=0;if((e|0)!=1){v[299999]=0;ma=Q(3063,f|0,a|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break E}}break z}hc(E)}f=fc(8);v[299999]=0;ma=Q(3063,f|0,273720)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break D}break z}hc(E)}hc(g+1184|0);hc(g+1200|0);e=0;f=Qb-48|0;Qb=f;v[f+24>>2]=13;v[f+8>>2]=13;k=g+1052|0;v[k>>2]=0;X=b;a=v[b+56>>2];G:{if(a){h=v[a+8>>2];if(!h){break G}a=0;v[f+44>>2]=0;while(1){b=a;a=a+1|0;if(Qx(h,f+44|0,f+40|0)){continue}break}a=0;e=ed(b,4);v[f+44>>2]=0;while(1){b=a;a=a+1|0;if(Qx(h,f+44|0,(b<<2)+e|0)){continue}break}v[k>>2]=b;break G}J=Qr(X,v[X+32>>2],309776,f+24|0);H:{I:{switch(v[f+24>>2]-3|0){case 1:h=v[J+8>>2];r=Bc(h);e=ed(r,4);J:{if((r|0)<1){break J}b=r&3;a=0;if(r-1>>>0>=3){l=r&-4;while(1){v[(a<<2)+e>>2]=w[a+h|0];N=a|1;v[(N<<2)+e>>2]=w[h+N|0];N=a|2;v[(N<<2)+e>>2]=w[h+N|0];N=a|3;v[(N<<2)+e>>2]=w[h+N|0];a=a+4|0;l=l-4|0;if(l){continue}break}}if(!b){break J}while(1){v[(a<<2)+e>>2]=w[a+h|0];a=a+1|0;b=b-1|0;if(b){continue}break}}v[k>>2]=r;break H;case 0:a=fc(12);b=v[J+8>>2];v[299999]=0;b=Q(3316,a|0,b|0)|0;e=v[299999];v[299999]=0;if((e|0)!=1){h=v[b+4>>2];e=ed(h,4);gc(e,v[a>>2],h<<2);v[k>>2]=h;Vc(b);dc(a);break H}b=P()|0;O()|0;dc(a);T(b|0);L();case 4:break I;default:break H}}rc(v[J+8>>2],234499,f+8|0,0);if(v[f+8>>2]==3){a=v[f+16>>2];h=v[a>>2];e=ed(h,4);K:{if((h|0)<1){break K}b=h&3;r=v[a+4>>2];a=0;if(h-1>>>0>=3){l=h&-4;while(1){v[(a<<2)+e>>2]=w[a+r|0];N=a|1;v[(N<<2)+e>>2]=w[r+N|0];N=a|2;v[(N<<2)+e>>2]=w[r+N|0];N=a|3;v[(N<<2)+e>>2]=w[r+N|0];a=a+4|0;l=l-4|0;if(l){continue}break}}if(!b){break K}while(1){v[(a<<2)+e>>2]=w[a+r|0];a=a+1|0;b=b-1|0;if(b){continue}break}}v[k>>2]=h}hc(f+8|0)}hc(J)}Qb=f+48|0;N=e;L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{V:{W:{X:{Y:{Z:{if(v[g+1248>>2]!=4){break Z}a=v[oa+8>>2];if(!mc(a,244717)){f=0;if(d){_:{if(v[rc(j,322491,E,0)>>2]!=3){break _}b=v[E+8>>2];a=fc(8);v[299999]=0;f=Q(3064,a|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break _}break A}hc(E)}a=v[X+48>>2];if(a&32768){if(!N){break P}b=v[g+1052>>2];if((b|0)>=1){h=v[ma+4>>2];a=w[h|0];if(!a|(a|0)!=v[N>>2]){break P}e=1;while(1){$:{a=e;if((a|0)==(b|0)){break $}r=w[a+h|0];if(!r){break $}e=a+1|0;if((r|0)==v[(a<<2)+N>>2]){continue}}break}if((a|0)<(b|0)){break P}}if(f){Sp(f,fa,W,0,0,1,2,0,1,n,0,ba-ca,$-aa,q,0,m);break N}if(!d){break M}aa:{if(v[rc(j,322085,g+1088|0,0)>>2]!=6){break aa}a=v[g+1096>>2];if(v[a+12>>2]<1){break aa}Xl(a,1,0,m);a=Qb-224|0;Qb=a;x=$-aa;q=x*.5;A[a+216>>3]=q;u=ba-ca;s=u*.5;x=(u>3]=u;Jc(m,351284,a+208|0);K=q+x;A[a+200>>3]=K;A[a+192>>3]=s;A[a+184>>3]=K;p=x*.55228475;U=p+s;A[a+176>>3]=U;da=p+q;A[a+168>>3]=da;A[a+160>>3]=u;Jc(m,354608,a+160|0);A[a+152>>3]=q;z=s-x;A[a+144>>3]=z;A[a+136>>3]=da;A[a+128>>3]=z;A[a+120>>3]=K;K=s-p;A[a+112>>3]=K;Jc(m,354608,a+112|0);x=q-x;A[a+104>>3]=x;A[a+96>>3]=s;A[a+88>>3]=x;A[a+80>>3]=K;s=q-p;A[a+72>>3]=s;A[a+64>>3]=z;Jc(m,354608,a- -64|0);A[a+56>>3]=q;A[a+48>>3]=u;A[a+40>>3]=s;A[a+32>>3]=u;A[a+24>>3]=x;A[a+16>>3]=U;Jc(m,354608,a+16|0);v[a>>2]=273934;Jc(m,346845,a);Qb=a+224|0}hc(g+1088|0);break M}if(a&65536){if(!f){break M}Sp(f,fa,W,0,0,1,1,0,0,n,0,ba-ca,$-aa,q,0,m);break N}if(!N){break P}b=v[g+1052>>2];if((b|0)<1){break P}a=b-1|0;if(v[N>>2]!=79){break Q}d=(b|0)>1;e=a>>>0<2?a:2;if(!e){break R}if(v[N+4>>2]==102){break X}break R}if(!mc(a,221138)){a=v[X+56>>2];if(a){b=v[a+20>>2]}else{b=0}if(!N){break M}d=v[g+1052>>2];a=0;ka=fc(8);v[299999]=0;J=S(3312,ka|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break W}if((d|0)>0){while(1){e=v[(a<<2)+N>>2];if(e>>>0<=255){gd(J,e<<24>>24)}a=a+1|0;if((d|0)!=(a|0)){continue}break}}ba:{if(b){k=0;r=0;x=0;o=Qb-608|0;Qb=o;_c(m,350595);ca:{da:{ea:{fa:{if((n|0)!=90){if((n|0)==180){break fa}if((n|0)==270){break ea}q=$-aa;p=ba-ca;break ca}q=ba-ca;A[o+576>>3]=q;Jc(m,351195,o+576|0);p=$-aa;break ca}p=$-aa;A[o+592>>3]=p;Jc(m,351172,o+592|0);break da}p=$-aa;A[o+560>>3]=p;Jc(m,351172,o+560|0)}q=ba-ca}K=q*.2;if(fa){a=cF(fa);j=v[a+8>>2];ga:{if((j|0)<3){break ga}e=2;while(1){if(!Ad(v[v[a>>2]+(e<<2)>>2],273871)){K=xf(v[v[(v[a>>2]+(e<<2)|0)-4>>2]+4>>2]);j=v[a+8>>2];break ga}e=e+1|0;j=v[a+8>>2];if((e|0)<(j|0)){continue}break}}if((j|0)>=1){e=0;while(1){d=v[v[a>>2]+(e<<2)>>2];if(d){Dc(d);dc(d);j=v[a+8>>2]}e=e+1|0;if((j|0)>(e|0)){continue}break}}dc(Vc(a))}ha:{ia:{ja:{a=v[b+40>>2];if(!a){break ja}if(!Ad(a,274533)){x=q;u=0;s=q-K;break ia}a=v[b+40>>2];if(!a){break ja}l=1;u=0;if(!Ad(a,292059)){r=3;s=q;break ha}a=v[b+40>>2];if(!a){break ja}if(!Ad(a,292073)){x=q;s=q;break ha}a=v[b+40>>2];if(!a){break ja}if(Ad(a,279798)){break ja}k=1;s=0;break ia}r=3;u=K;s=q-u}l=0}G=fc(8);v[299999]=0;y=Q(3064,G|0,J|0)|0;a=v[299999];v[299999]=0;ka:{la:{ma:{na:{oa:{pa:{if((a|0)!=1){qa:{if(Ad(v[b>>2],322831)){break qa}e=v[y>>2];if((e|0)<1){break qa}if(w[v[y+4>>2]]==42){lk(y,0,1);e=v[y>>2];if((e|0)<1){break qa}}a=e-1|0;if(w[a+v[y+4>>2]|0]!=42){break qa}lk(y,a,1)}if(Ad(v[b>>2],322831)){break pa}if(!v[b+32>>2]){kc(1,-1,288867,0);break ka}_c(m,351785);q=p;p=A[b+8>>3]*3+7;q=q/(p*+(v[b+32>>2]+2|0));f=-1;j=v[y>>2];if((j|0)<-1){break na}p=0;while(1){e=42;z=p;Y=q;a=B((f|0)<0|(f|0)>=(j|0)?e:w[v[y+4>>2]+f|0]&127,10);ra:{if(!w[a+891184|0]){A[o+280>>3]=s;A[o+272>>3]=q;A[o+264>>3]=u;A[o+256>>3]=p;Jc(m,351797,o+256|0);p=1;break ra}da=A[b+8>>3];A[o+312>>3]=s;A[o+304>>3]=q*da;A[o+296>>3]=u;A[o+288>>3]=p;Jc(m,351797,o+288|0);p=A[b+8>>3]}p=z+Y*(p+(w[a+891185|0]?A[b+8>>3]:1));z=p;Y=q;sa:{if(w[a+891186|0]){U=A[b+8>>3];A[o+248>>3]=s;A[o+240>>3]=q*U;A[o+232>>3]=u;A[o+224>>3]=p;Jc(m,351797,o+224|0);p=A[b+8>>3];break sa}A[o+216>>3]=s;A[o+208>>3]=q;A[o+200>>3]=u;A[o+192>>3]=p;Jc(m,351797,o+192|0);p=1}p=z+Y*(p+(w[a+891187|0]?A[b+8>>3]:1));z=p;Y=q;ta:{if(w[a+891188|0]){U=A[b+8>>3];A[o+184>>3]=s;A[o+176>>3]=q*U;A[o+168>>3]=u;A[o+160>>3]=p;Jc(m,351797,o+160|0);p=A[b+8>>3];break ta}A[o+152>>3]=s;A[o+144>>3]=q;A[o+136>>3]=u;A[o+128>>3]=p;Jc(m,351797,o+128|0);p=1}p=z+Y*(p+(w[a+891189|0]?A[b+8>>3]:1));z=p;Y=q;ua:{if(w[a+891190|0]){U=A[b+8>>3];A[o+120>>3]=s;A[o+112>>3]=q*U;A[o+104>>3]=u;A[o+96>>3]=p;Jc(m,351797,o+96|0);p=A[b+8>>3];break ua}A[o+88>>3]=s;A[o+80>>3]=q;A[o+72>>3]=u;A[o+64>>3]=p;Jc(m,351797,o- -64|0);p=1}p=z+Y*(p+(w[a+891191|0]?A[b+8>>3]:1));z=p;Y=q;va:{if(w[a+891192|0]){U=A[b+8>>3];A[o+56>>3]=s;A[o+48>>3]=q*U;A[o+40>>3]=u;A[o+32>>3]=p;Jc(m,351797,o+32|0);p=A[b+8>>3];break va}A[o+24>>3]=s;A[o+16>>3]=q;A[o+8>>3]=u;A[o>>3]=p;Jc(m,351797,o);p=1}p=z+Y*(p+(w[a+891193|0]?A[b+8>>3]:1));j=v[y>>2];a=(j|0)>(f|0);f=f+1|0;if(a){continue}break}break oa}a=P()|0;O()|0;dc(G);T(a|0);L()}if(!Ad(v[b>>2],322428)){if(!v[b+32>>2]){kc(1,-1,288867,0);break ka}_c(m,351785);q=p/+(B(v[b+32>>2],11)+35|0);z=q+q;p=0;wa:{if(v[y>>2]<-2){break wa}A[o+536>>3]=s;A[o+528>>3]=z;A[o+520>>3]=u;v[o+512>>2]=0;v[o+516>>2]=0;Jc(m,351797,o+512|0);A[o+504>>3]=s;A[o+496>>3]=q;A[o+488>>3]=u;p=q*3;U=p+0;A[o+480>>3]=U;Jc(m,351797,o+480|0);A[o+472>>3]=s;A[o+464>>3]=q;A[o+456>>3]=u;p=U+p;A[o+448>>3]=p;Jc(m,351797,o+448|0);p=p+q*5;h=v[y>>2];if((h|0)<=-2){break wa}a=104;f=0;while(1){b=f;xa:{if((b|0)==(h|0)){f=(a|0)%103|0;break xa}f=106;if((b|0)==(h+1|0)){break xa}e=a;a=t[b+v[y+4>>2]|0];d=a&255;f=d>>>0>31?(a|0)>-1?d-32|0:0:0;a=e+B(f,b+1|0)|0}A[o+440>>3]=s;d=B(f,6);e=w[d+890528|0];A[o+432>>3]=q*+(e>>>0);A[o+424>>3]=u;A[o+416>>3]=p;Jc(m,351797,o+416|0);A[o+408>>3]=s;f=w[d+890530|0];A[o+400>>3]=q*+(f>>>0);A[o+392>>3]=u;p=p+q*+(e+w[d+890529|0]|0);A[o+384>>3]=p;Jc(m,351797,o+384|0);A[o+376>>3]=s;e=w[d+890532|0];A[o+368>>3]=q*+(e>>>0);A[o+360>>3]=u;p=p+q*+(f+w[d+890531|0]|0);A[o+352>>3]=p;Jc(m,351797,o+352|0);p=p+q*+(e+w[d+890533|0]|0);f=b+1|0;h=v[y>>2];if((b|0)<=(h|0)){continue}break}}A[o+344>>3]=s;A[o+336>>3]=z;A[o+328>>3]=u;A[o+320>>3]=p;Jc(m,351797,o+320|0);p=q*+(B(v[y>>2],11)+35|0);break ma}if(!Ad(v[b>>2],324344)){_=v[b+36>>2];d=0;f=0;i=Qb-8240|0;Qb=i;s=A[b+16>>3];u=A[b+24>>3];ya:{if(s<=0|u<=0){kc(1,-1,283992,0);break ya}x=H((p/s+-73)/17);za:{if(D(x)<2147483648){k=~~x;break za}k=-2147483648}if((k|0)<=0){kc(1,-1,283885,0);break ya}Aa:{I=v[y>>2];if((I|0)<1){break Aa}V=v[y+4>>2];r=1;n=1;Ba:{while(1){l=I-d|0;j=0;a=d;Ca:{while(1){if((w[a+V|0]-48&255)>>>0>9){break Ca}a=a+1|0;j=j+1|0;if((l|0)!=(j|0)){continue}break}j=l}h=0;e=d;Da:{Ea:{if((j|0)>=13){if((n|0)>927){break Ba}v[(i+368|0)+(n<<2)>>2]=902;n=n+1|0;R=0;l=0;while(1){a=B(R,-44)+j|0;r=(a|0)<44?a:44;v[i+6192>>2]=1;a=j-l|0;h=(a|0)<44?a:44;Fa:{if((a|0)<1){break Fa}f=d+l|0;e=(r|0)>1?r:1;b=e&3;a=0;if(e-1>>>0>=3){e=e&2147483644;while(1){C=i+6192|0;ga=a|1;v[C+(ga<<2)>>2]=t[V+(a+f|0)|0]-48;ea=a|2;v[C+(ea<<2)>>2]=t[V+(f+ga|0)|0]-48;ga=a|3;v[C+(ga<<2)>>2]=t[V+(f+ea|0)|0]-48;a=a+4|0;v[C+(a<<2)>>2]=t[V+(f+ga|0)|0]-48;e=e-4|0;if(e){continue}break}}if(!b){break Fa}while(1){e=a+f|0;a=a+1|0;v[(i+6192|0)+(a<<2)>>2]=t[e+V|0]-48;b=b-1|0;if(b){continue}break}}C=(h|0)/3|0;if((h|0)>=-2){Ga:{if((h|0)>=0){a=r+1|0;e=a&-2;ga=a&1;h=0;while(1){f=0;a=0;b=e;if(r){while(1){ea=a<<2;ha=i+6192|0;la=ea+ha|0;ia=v[la>>2]+B(f,10)|0;f=(ia|0)/900|0;v[la>>2]=f;ea=ha+(ea|4)|0;ha=v[ea>>2]+B(ia-B(f,900)|0,10)|0;f=(ha|0)/900|0;v[ea>>2]=f;f=ha-B(f,900)|0;a=a+2|0;b=b-2|0;if(b){continue}break}}b=(i+6128|0)+(C-h<<2)|0;if(ga){ea=(i+6192|0)+(a<<2)|0;f=v[ea>>2]+B(f,10)|0;a=(f|0)/900|0;v[ea>>2]=a;f=f-B(a,900)|0}v[b>>2]=f;a=(h|0)==(C|0);h=h+1|0;if(!a){continue}break}break Ga}ic(i+6128|0,0,(C<<2)+4|0)}b=((n|0)>928?n:928)-n|0;a=0;while(1){if((a|0)==(b|0)){break Ba}v[(i+368|0)+(n<<2)>>2]=v[(i+6128|0)+(a<<2)>>2];n=n+1|0;e=(a|0)!=(C|0);a=a+1|0;if(e){continue}break}}R=R+1|0;l=l+44|0;if((l|0)<(j|0)){continue}break}d=d+j|0;break Ea}while(1){Ha:{b=t[e+V|0];if(b&128){break Ha}a=b<<2;if(!(w[a+938784|0]!=30|w[a+938785|0]!=30|w[a+938786|0]!=30)){if(w[a+938787|0]==30){break Ha}}a=0;Ia:{if((b-48&255)>>>0>9){break Ia}b=I-e|0;f=e;while(1){a=a+1|0;if((b|0)==(a|0)){a=b;break Ia}f=f+1|0;if((w[V+f|0]-48&255)>>>0<10){continue}break}}h=((a|0)<13)+h|0;if((a|0)>12){break Ha}e=e+1|0;if((I|0)>(e|0)){continue}}break}j=0;b=d;if((h|0)>=5){if(!r){if((n|0)>927){break Ba}v[(i+368|0)+(n<<2)>>2]=900;n=n+1|0}e=d+h|0;l=e-2|0;C=e-1|0;a=30;h=0;b=0;while(1){j=d+V|0;r=w[j|0]&127;Ja:{Ka:{La:{Ma:{Na:{f=b;Oa:{Pa:{Qa:{Ra:{Sa:{Ta:{Ua:{Va:{Wa:{Xa:{Ya:{Za:{switch(b|0){case 0:h=r<<2;b=t[h+938784|0];if((b|0)<=29){if((a|0)==30){a=b;break Ka}if((n|0)>927){break Ba}v[(i+368|0)+(n<<2)>>2]=b+B(a,30);n=n+1|0;a=30;break Ka}if(t[h+938785|0]<=29){if((a|0)==30){break La}if((n|0)>927){break Ba}v[(i+368|0)+(n<<2)>>2]=B(a,30)+27;break Ya}if(t[h+938786|0]<=29){if((a|0)==30){break Ma}if((n|0)>927){break Ba}b=2;v[(i+368|0)+(n<<2)>>2]=B(a,30)+28;break Wa}if(t[h+938787|0]>29){break Ka}if(!(t[((w[j+1|0]&127)<<2)+938787|0]>29|(d|0)>=(l|0)|t[((w[j+2|0]&127)<<2)+938787|0]>29)){break Na}b=5;if((a|0)==30){a=29;break Ja}if((n|0)>927){break Ba}v[(i+368|0)+(n<<2)>>2]=B(a,30)+29;break Wa;case 4:b=t[(r<<2)+938784|0];if((b|0)<=29){break Pa}if((a|0)==30){break Ta}break Sa;case 1:h=r<<2;if(t[h+938784|0]<=29){if(!(t[((w[j+1|0]&127)<<2)+938784|0]>29|(d|0)>=(l|0)|t[((w[j+2|0]&127)<<2)+938784|0]>29)){if((a|0)!=30){if((n|0)>927){break Ba}b=B(a,30);a=28;v[(i+368|0)+(n<<2)>>2]=b+28;n=n+1|0;b=0;break Ja}if((n|0)>927){break Ba}v[(i+368|0)+(n<<2)>>2]=868;n=n+1|0;b=0;a=30;break Ja}b=4;if((a|0)==30){a=27;break Ja}if((n|0)>927){break Ba}v[(i+368|0)+(n<<2)>>2]=B(a,30)+27;break Wa}b=t[h+938785|0];if((b|0)<=29){if((a|0)==30){a=b;break Qa}if((n|0)>927){break Ba}v[(i+368|0)+(n<<2)>>2]=b+B(a,30);n=n+1|0;a=30;break Qa}if(t[h+938786|0]<=29){if((a|0)==30){break Ma}if((n|0)>927){break Ba}b=2;v[(i+368|0)+(n<<2)>>2]=B(a,30)+28;break Wa}if(t[h+938787|0]>29){break Qa}if(!(t[((w[j+1|0]&127)<<2)+938787|0]>29|(d|0)>=(l|0)|t[((w[j+2|0]&127)<<2)+938787|0]>29)){break Na}b=5;if((a|0)==30){a=29;break Ja}if((n|0)>927){break Ba}v[(i+368|0)+(n<<2)>>2]=B(a,30)+29;break Wa;case 2:h=r<<2;if(t[h+938784|0]<=29){b=0;if((a|0)==30){a=28;break Ja}if((n|0)>927){break Ba}v[(i+368|0)+(n<<2)>>2]=B(a,30)+28;break Wa}if(t[h+938785|0]<=29){if((a|0)==30){break La}if((n|0)>927){break Ba}v[(i+368|0)+(n<<2)>>2]=B(a,30)+27;break Ya}b=t[h+938786|0];if((b|0)<=29){if((a|0)==30){a=b;break Ra}if((n|0)>927){break Ba}v[(i+368|0)+(n<<2)>>2]=b+B(a,30);n=n+1|0;a=30;break Ra}if(t[h+938787|0]>29){break Ra}if(!(t[((w[j+1|0]&127)<<2)+938787|0]>29|(d|0)>=(C|0))){b=3;if((a|0)==30){a=25;break Ja}if((n|0)>927){break Ba}v[(i+368|0)+(n<<2)>>2]=B(a,30)+25;break Wa}b=5;if((a|0)==30){a=29;break Ja}if((n|0)>927){break Ba}v[(i+368|0)+(n<<2)>>2]=B(a,30)+29;break Wa;case 5:break Ua;case 3:break Za;default:break Ja}}b=r<<2;if(t[b+938784|0]<=29){b=0;if((a|0)==30){a=29;break Ja}if((n|0)>927){break Ba}v[(i+368|0)+(n<<2)>>2]=B(a,30)+29;break Wa}if(t[b+938785|0]>29){break Xa}if((a|0)!=30){if((n|0)>927){break Ba}v[(i+368|0)+(n<<2)>>2]=B(a,30)+29;b=1;n=n+1|0;a=27;break Ja}if((n|0)>927){break Ba}v[(i+368|0)+(n<<2)>>2]=897}b=1;n=n+1|0;a=30;break Ja}if(t[b+938786|0]>29){break Va}if((a|0)!=30){if((n|0)>927){break Ba}b=2;v[(i+368|0)+(n<<2)>>2]=B(a,30)+29;n=n+1|0;a=28;break Ja}if((n|0)>927){break Ba}b=2;v[(i+368|0)+(n<<2)>>2]=898}n=n+1|0;a=30;break Ja}b=t[b+938787|0];_a:{if((b|0)>29){break _a}if((a|0)==30){a=b;break _a}if((n|0)>927){break Ba}v[(i+368|0)+(n<<2)>>2]=b+B(a,30);n=n+1|0;a=30}d=d+1|0;b=3;break Ja}b=t[(r<<2)+938787|0];if((b|0)<=29){break Pa}if((a|0)!=30){break Sa}}a=0;break Oa}if((n|0)>927){break Ba}v[(i+368|0)+(n<<2)>>2]=B(a,30);n=n+1|0;a=30;break Oa}d=d+1|0;b=2;break Ja}b=1;d=d+1|0;break Ja}if((a|0)==30){d=d+1|0;a=b;break Oa}if((n|0)>927){break Ba}v[(i+368|0)+(n<<2)>>2]=B(a,30)+b;n=n+1|0;d=d+1|0;a=30}b=h;break Ja}$a:{if((a|0)!=30){if((n|0)>927){break Ba}v[(i+368|0)+(n<<2)>>2]=B(a,30)+28;break $a}if((n|0)>927){break Ba}v[(i+368|0)+(n<<2)>>2]=865;n=n+1|0;b=3;a=30;break Ja}n=n+1|0;b=3;a=25;break Ja}b=2;a=28;break Ja}b=1;a=27;break Ja}d=d+1|0;b=0}h=f;if((d|0)<(e|0)){continue}break}r=1;if((a|0)>29){d=e;break Da}if((n|0)>927){d=e;break Da}v[(i+368|0)+(n<<2)>>2]=B(a,30)+29;n=n+1|0;d=e;break Da}ab:{while(1){e=I-b|0;f=0;a=b;bb:{while(1){if((w[a+V|0]-48&255)>>>0>9){break bb}a=a+1|0;f=f+1|0;if((e|0)!=(f|0)){continue}break}f=e}h=0;e=b;if((f|0)>12){break ab}while(1){cb:{f=t[e+V|0];if(f&128){break cb}a=f<<2;if(!(w[a+938784|0]!=30|w[a+938785|0]!=30|w[a+938786|0]!=30)){if(w[a+938787|0]==30){break cb}}a=0;db:{if((f-48&255)>>>0>9){break db}r=I-e|0;f=e;while(1){a=a+1|0;if((r|0)==(a|0)){a=r;break db}f=f+1|0;if((w[V+f|0]-48&255)>>>0<10){continue}break}}h=((a|0)<13)+h|0;if((a|0)>12){break cb}e=e+1|0;if((I|0)>(e|0)){continue}}break}if((h|0)>4){break ab}b=b+1|0;j=j+1|0;if((l|0)!=(j|0)){continue}break}j=l}if((n|0)>927){break Ba}v[(i+368|0)+(n<<2)>>2]=(j|0)%6|0?901:924;n=n+1|0;a=0;if((j|0)>=6){r=j-6|0;while(1){f=V+(a+d|0)|0;e=w[f+4|0];b=e>>>24|0;h=e<<8;e=b;l=h;h=w[f+3|0];b=h>>>16|0;h=l|h<<16;l=b|e;e=w[f+1|0];b=e>>>24|0;R=e<<8;e=b;C=h;h=w[f|0];b=h>>>16|0;h=h<<16|R;b=b|e;e=h|w[f+2|0];b=b<<24|e>>>8;e=w[f+5|0]|(C|e<<24);f=b|l;b=f;h=Eib(Dib(e,b,729e6,0),Tb);if((n|0)>927){break Ba}f=n<<2;ra=f+(i+368|0)|0,sa=(Dib(e,b,-1029996288,152)>>>0)%900|0,v[ra>>2]=sa;if((n|0)==927){break Ba}f=f+(i+368|0)|0;v[f+4>>2]=h;if((n|0)>925){break Ba}ra=f,sa=Eib(Dib(e,b,81e4,0),Tb),v[ra+8>>2]=sa;if((n|0)==925){break Ba}ra=f,sa=Eib(Dib(e,b,900,0),Tb),v[ra+12>>2]=sa;n=n+4|0;a=a+6|0;if((r|0)>=(a|0)){continue}break}}if((a|0)<(j|0)){b=(n|0)>928?n:928;while(1){if((b|0)==(n|0)){break Ba}v[(i+368|0)+(n<<2)>>2]=w[V+(a+d|0)|0];n=n+1|0;a=a+1|0;if((j|0)!=(a|0)){continue}break}}d=d+j|0}r=0}if((d|0)<(I|0)){continue}break}f=n-1|0;if((f|0)!=928){break Aa}}kc(1,-1,283955,0);break ya}a=f+1|0;l=_+1|0;h=1<3?d:3;if((r|0)>=91){kc(1,-1,283923,0);break ya}d=B(j,r)-b|0;b=d+a|0;if((b|0)>=929){kc(1,-1,283955,0);break ya}v[i+368>>2]=b;if((d|0)>0){while(1){v[(i+368|0)+(a<<2)>>2]=900;a=a+1|0;if((b|0)>(a|0)){continue}break}}if((l|0)!=31){ic(i+6192|0,0,((h|0)>1?h:1)<<2)}eb:{if((b|0)<1){break eb}d=h-1|0;n=(i+6192|0)+(d<<2)|0;R=v[(_<<2)+939296>>2];I=v[R>>2];f=0;if((h|0)>=2){while(1){C=(v[n>>2]+v[(i+368|0)+(f<<2)>>2]|0)%929|0;a=d;while(1){ga=a<<2;ea=i+6192|0;e=a-1|0;v[ga+ea>>2]=((v[ea+(e<<2)>>2]-((B(C,v[R+ga>>2])|0)%929|0)|0)+929|0)%929;ga=(a|0)>1;a=e;if(ga){continue}break}v[i+6192>>2]=((929-((B(I,C)|0)%929|0)&65535)>>>0)%929;f=f+1|0;if((f|0)!=(b|0)){continue}break eb}}while(1){v[i+6192>>2]=((929-((B(I,(v[n>>2]+v[(i+368|0)+(f<<2)>>2]|0)%929|0)|0)%929|0)&65535)>>>0)%929;f=f+1|0;if((f|0)!=(b|0)){continue}break}}if((l|0)!=31){while(1){a=h-1|0;d=v[(i+6192|0)+(a<<2)>>2];v[(i+368|0)+(b<<2)>>2]=d?929-d|0:0;b=b+1|0;d=(h|0)>1;h=a;if(d){continue}break}}K=s*6;x=+(r|0);if(K+x*u>q){kc(1,-1,283923,0);break ya}_c(m,350591);u=(q-K)/x;A[i+344>>3]=u;A[i+360>>3]=(q-u*x)*.5;A[i+336>>3]=s;A[i+352>>3]=(p-+(B(j,17)+73|0)*s)*.5;Jc(m,351102,i+336|0);I=r-1|0;l=(I|0)/3|0;C=(I-B(l,3)|0)+B(_,3)|0;e=0;h=0;while(1){d=I-h|0;a=0;n=0;fb:{gb:{hb:{ib:{b=(h>>>0)/3|0;f=h-B(b,3)|0;switch(f|0){case 0:break gb;case 2:break hb;case 1:break ib;default:break fb}}a=B((h>>>0)/3|0,30);n=a+l|0;a=a+C|0;break fb}a=B(b,30);n=a+C|0;a=a+V|0;break fb}a=B((h>>>0)/3|0,30);n=a+V|0;a=a+l|0}v[i+328>>2]=8;v[i+324>>2]=d;v[i+320>>2]=0;Jc(m,351900,i+320|0);v[i+312>>2]=1;v[i+308>>2]=d;v[i+304>>2]=9;Jc(m,351900,i+304|0);v[i+296>>2]=1;v[i+292>>2]=d;v[i+288>>2]=11;Jc(m,351900,i+288|0);v[i+280>>2]=1;v[i+276>>2]=d;v[i+272>>2]=13;Jc(m,351900,i+272|0);v[i+260>>2]=d;_=f<<3;a=_+B(a,24)|0;b=t[a+939344|0];v[i+264>>2]=b;v[i+256>>2]=17;Jc(m,351900,i+256|0);v[i+244>>2]=d;b=(b+t[a+939345|0]|0)+17|0;v[i+240>>2]=b;f=t[a+939346|0];v[i+248>>2]=f;Jc(m,351900,i+240|0);v[i+228>>2]=d;b=t[a+939347|0]+(b+f|0)|0;v[i+224>>2]=b;f=t[a+939348|0];v[i+232>>2]=f;Jc(m,351900,i+224|0);v[i+212>>2]=d;b=t[a+939349|0]+(b+f|0)|0;v[i+208>>2]=b;f=t[a+939350|0];v[i+216>>2]=f;Jc(m,351900,i+208|0);b=t[a+939351|0]+(b+f|0)|0;if((k|0)>0){a=e+j|0;while(1){v[i+196>>2]=d;f=_+B(v[(i+368|0)+(e<<2)>>2],24)|0;R=t[f+939344|0];v[i+200>>2]=R;v[i+192>>2]=b;Jc(m,351900,i+192|0);v[i+180>>2]=d;b=t[f+939345|0]+(b+R|0)|0;v[i+176>>2]=b;R=t[f+939346|0];v[i+184>>2]=R;Jc(m,351900,i+176|0);v[i+164>>2]=d;b=t[f+939347|0]+(b+R|0)|0;v[i+160>>2]=b;R=t[f+939348|0];v[i+168>>2]=R;Jc(m,351900,i+160|0);v[i+148>>2]=d;b=t[f+939349|0]+(b+R|0)|0;v[i+144>>2]=b;R=t[f+939350|0];v[i+152>>2]=R;Jc(m,351900,i+144|0);b=t[f+939351|0]+(b+R|0)|0;e=e+1|0;if((a|0)!=(e|0)){continue}break}e=a}v[i+132>>2]=d;a=_+B(n,24)|0;f=t[a+939344|0];v[i+136>>2]=f;v[i+128>>2]=b;Jc(m,351900,i+128|0);v[i+116>>2]=d;b=t[a+939345|0]+(b+f|0)|0;v[i+112>>2]=b;f=t[a+939346|0];v[i+120>>2]=f;Jc(m,351900,i+112|0);v[i+100>>2]=d;b=t[a+939347|0]+(b+f|0)|0;v[i+96>>2]=b;f=t[a+939348|0];v[i+104>>2]=f;Jc(m,351900,i+96|0);v[i+84>>2]=d;b=t[a+939349|0]+(b+f|0)|0;v[i+80>>2]=b;f=t[a+939350|0];v[i+88>>2]=f;Jc(m,351900,i+80|0);v[i+72>>2]=7;v[i+68>>2]=d;a=t[a+939351|0]+(b+f|0)|0;v[i+64>>2]=a;Jc(m,351900,i- -64|0);v[i+56>>2]=1;v[i+52>>2]=d;v[i+48>>2]=a+8;Jc(m,351900,i+48|0);v[i+40>>2]=1;v[i+36>>2]=d;v[i+32>>2]=a+12;Jc(m,351900,i+32|0);v[i+24>>2]=1;v[i+20>>2]=d;v[i+16>>2]=a+14;Jc(m,351900,i+16|0);v[i+8>>2]=1;v[i+4>>2]=d;v[i>>2]=a+17;Jc(m,351900,i);h=h+1|0;if((r|0)!=(h|0)){continue}break}_c(m,354944)}Qb=i+8240|0;break la}v[o+544>>2]=v[b>>2];kc(1,-1,288915,o+544|0);break ma}p=A[b+8>>3]*3+7}p=q*(p*+(j+2|0))}if(k){break la}Sp(y,fa,W,0,0,1,r,0,0,0,x,p,K+x,0,l,m)}_c(m,354944)}Dc(y);dc(G);Qb=o+608|0;break ba}a=Qr(X,v[X+32>>2],311891,g+1088|0);b=v[a+8>>2];d=v[g+1088>>2];hc(a);e=0;V=(d|0)==1?b:0;h=v[X+48>>2];d=(h>>>12^-1)&1;f=v[X+56>>2];jb:{if(!f){break jb}b=v[f+12>>2];if(!b){break jb}d=v[b>>2];V=(d|0)==2?2:(d|0)==1;d=0;kb:{switch(v[b+4>>2]-1|0){case 0:d=1;break jb;case 1:break kb;default:break jb}}d=3}if(h&16777216){b=Qr(X,v[X+32>>2],249575,a);a=v[a+8>>2];e=v[g+1088>>2];hc(b);f=v[X+56>>2];e=(e|0)==1?a:0}a=J;lb:{if(!f){break lb}b=v[f+16>>2];if(!b){break lb}mb:{switch(v[b>>2]){case 0:I=v[b+4>>2];l=Qb-192|0;Qb=l;nb:{j=v[J>>2];ob:{if(!j){h=fc(8);v[299999]=0;a=Q(3064,h|0,J|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break nb}a=P()|0;O()|0;break ob}pb:{if((j|0)<4){break pb}k=v[J+4>>2];ga=w[k|0];if((ga-48&255)>>>0>=10){break pb}ea=w[k+1|0];if((ea-48&255)>>>0>9){break pb}ha=w[k+2|0];if((ha-48&255)>>>0>9){break pb}la=w[k+3|0];if((la-48&255)>>>0>9){break pb}b=4;qb:{rb:{b=(j|0)>4?w[k+4|0]==45?5:4:b;f=b|2;if((j|0)<(f|0)){break rb}a=((b|0)<(j|0)?j:b)-b|0;if(!a){break rb}h=b+k|0;r=w[h|0];if((a|0)==1|(r-48&255)>>>0>9){break rb}a=w[h+1|0];if((a-48&255)>>>0>=10){break rb}i=(a+B(r,10)|0)-528|0;sb:{f=(f|0)<(j|0)?w[f+k|0]==45?b+3|0:f:f;b=f+2|0;if((j|0)<(b|0)){break sb}a=((f|0)<(j|0)?j:f)-f|0;if(!a){break sb}h=f+k|0;r=w[h|0];if((a|0)==1|(r-48&255)>>>0>9){break sb}a=w[h+1|0];if((a-48&255)>>>0>9){break sb}r=(a+B(r,10)|0)-528|0;break qb}b=f;r=0;break qb}r=0}tb:{ub:{if((b|0)>=(j|0)){break ub}f=b+k|0;if(w[f|0]!=84){h=fc(8);v[299999]=0;a=Q(3064,h|0,J|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break nb}a=P()|0;O()|0;break ob}h=b+3|0;if((j|0)<(h|0)){break tb}a=b+1|0;o=((a|0)<(j|0)?j:a)-a|0;if(!o){break tb}a=w[a+k|0];if((o|0)==1|(a-48&255)>>>0>9){break tb}f=w[f+2|0];if((f-48&255)>>>0>=10){break tb}y=(f+B(a,10)|0)-528|0;vb:{h=(h|0)<(j|0)?w[h+k|0]==58?b+4|0:h:h;f=h+2|0;if((j|0)<(f|0)){break vb}a=((h|0)<(j|0)?j:h)-h|0;if(!a){break vb}b=h+k|0;o=w[b|0];if((a|0)==1|(o-48&255)>>>0>9){break vb}a=w[b+1|0];if((a-48&255)>>>0>=10){break vb}_=(a+B(o,10)|0)-528|0;wb:{f=(f|0)<(j|0)?w[f+k|0]==58?h+3|0:f:f;b=f+2|0;if((j|0)<(b|0)){break wb}a=((f|0)<(j|0)?j:f)-f|0;if(!a){break wb}h=f+k|0;k=w[h|0];if((a|0)==1|(k-48&255)>>>0>9){break wb}a=w[h+1|0];if((a-48&255)>>>0>9){break wb}R=(a+B(k,10)|0)-528|0;break ub}b=f;break ub}b=h}if((b|0)<(j|0)){h=fc(8);v[299999]=0;a=Q(3064,h|0,J|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break nb}a=P()|0;O()|0;break ob}xb:{yb:{f=v[I>>2];if((f|0)<1){break yb}a=0;j=v[I+4>>2];h=w[j|0];if((h|0)!=123){while(1){zb:{if((h-97&255)>>>0>=26){b=0;if((h&254)!=40&(h-65&255)>>>0>25){break xb}a=a+1|0;if((f|0)<=(a|0)){break xb}break zb}a=a+1|0;if((f|0)<=(a|0)){break yb}}h=w[a+j|0];if((h|0)!=123){continue}break}}b=a+1|0;if((f|0)<=(b|0)){f=b;break xb}a=b;while(1){if(w[a+j|0]==125){f=a;break xb}a=a+1|0;if((f|0)!=(a|0)){continue}break}break xb}b=0}h=fc(16);v[299999]=0;o=S(3315,h|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){if((b|0)<(f|0)){while(1){a=b+1|0;Ab:{Bb:{Cb:{Db:{Eb:{Fb:{Gb:{Hb:{Ib:{Jb:{Kb:{k=v[I+4>>2];C=w[k+b|0];switch(C-32|0){case 0:case 12:case 13:case 14:case 15:case 26:break Db;case 7:break Eb;case 57:break Fb;case 45:break Gb;case 36:break Hb;case 72:break Ib;case 40:break Jb;case 51:break Kb;default:break Ab}}j=1;if((a|0)<(f|0)){j=b+2|0;b=w[a+k|0]==83;a=b?j:a;j=b?2:1}b=fc(8);v[b+4>>2]=j;v[b>>2]=892956;break Bb}j=1;if((a|0)<(f|0)){j=b+2|0;b=w[a+k|0]==72;a=b?j:a;j=b?2:1}b=fc(12);v[b+8>>2]=j;v[b+4>>2]=1;v[b>>2]=892864;break Bb}j=1;if((a|0)<(f|0)){j=b+2|0;b=w[a+k|0]==104;a=b?j:a;j=b?2:1}b=fc(12);v[b+8>>2]=j;v[b+4>>2]=0;v[b>>2]=892864;break Bb}j=1;if((a|0)<(f|0)){j=b+2|0;b=w[a+k|0]==68;a=b?j:a;j=b?2:1}b=fc(8);v[b+4>>2]=j;v[b>>2]=892772;break Bb}j=1;if((a|0)<(f|0)){j=b+2|0;b=w[a+k|0]==77;a=b?j:a;j=b?2:1}b=fc(8);v[b+4>>2]=j;v[b>>2]=892680;break Bb}j=1;Lb:{if(w[a+k|0]!=89|(a|0)>=(f|0)){break Lb}a=b+2|0;j=2;if((f|0)<=(a|0)|w[a+k|0]!=89){break Lb}a=b+3|0;j=3;if((f|0)<=(a|0)){break Lb}j=b+4|0;b=w[a+k|0]==89;a=b?j:a;j=b?4:3}b=fc(8);v[b+4>>2]=j;v[b>>2]=892588;break Bb}j=fc(8);v[299999]=0;C=S(3312,j|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Cb}Mb:{if((a|0)>=(f|0)){break Mb}while(1){b=a;Nb:{Ob:{Pb:{Qb:{k=v[I+4>>2];G=k+a|0;a=w[G|0];if((a|0)!=92){if((a|0)!=39){break Qb}a=b+1|0;if((f|0)<=(a|0)|w[a+k|0]!=39){break Mb}gd(C,39);a=b+2|0;break Nb}ia=b+1|0;if((ia|0)==(f|0)){a=f;break Mb}a=b+2|0;Rb:{ia=w[k+ia|0];if((ia|0)!=117){break Rb}b=b+6|0;if((b|0)>(f|0)){break Rb}k=t[a+k|0];a=k-48|0;Sb:{if((a&255)>>>0<=9){break Sb}if((k-97&255)>>>0<=5){a=k-87|0;break Sb}a=(k-65&255)>>>0<6?k-55|0:0}a=a<<4;k=t[G+3|0];if((k-48&255)>>>0>=10){break Pb}a=(a+k|0)-48|0;break Ob}gd(C,ia<<24>>24);break Nb}gd(C,a<<24>>24);a=b;break Nb}if((k-97&255)>>>0>=6){if((k-65&255)>>>0>5){break Ob}a=(a+k|0)-55|0;break Ob}a=(a+k|0)-87|0}a=a<<4;k=t[G+4|0];Tb:{if((k-48&255)>>>0>=10){if((k-97&255)>>>0>=6){if((k-65&255)>>>0>5){break Tb}a=(a+k|0)-55|0;break Tb}a=(a+k|0)-87|0;break Tb}a=(a+k|0)-48|0}a=a<<4;k=t[G+5|0];Ub:{if((k-48&255)>>>0>=10){if((k-97&255)>>>0>=6){if((k-65&255)>>>0>5){break Ub}a=(a+k|0)-55|0;break Ub}a=(a+k|0)-87|0;break Ub}a=(a+k|0)-48|0}if((a|0)>=256){a=b;break Nb}gd(C,a<<24>>24);a=b}if((a|0)<(f|0)){continue}break}}b=fc(8);v[b+4>>2]=j;v[b>>2]=892472;break Bb}j=fc(8);v[299999]=0;b=S(3312,j|0)|0;k=v[299999];v[299999]=0;if((k|0)!=1){gd(b,C<<24>>24);b=fc(8);v[b+4>>2]=j;v[b>>2]=892472;break Bb}a=P()|0;O()|0;h=j;break ob}a=P()|0;O()|0;h=j;break ob}Tc(o,b)}b=a;if((a|0)<(f|0)){continue}break}}b=0;f=fc(8);v[299999]=0;a=S(3312,f|0)|0;j=v[299999];v[299999]=0;Vb:{Wb:{if((j|0)!=1){if(v[o+8>>2]<=0){break Vb}j=(la+B(ha+B(ea+B(ga,10)|0,10)|0,10)|0)-53328|0;I=((j&65535)>>>0)%100|0;f=(y|0)%12|0;C=f?f:12;G=j-1930>>>0>99;while(1){f=v[v[o>>2]+(b<<2)>>2];Xb:{if(Ub[v[v[f>>2]+8>>2]](f)|0){Mg(a,v[f+4>>2]);break Xb}if(Ub[v[v[f>>2]+28>>2]](f)|0){if(v[f+4>>2]==2){if(!G){v[l+160>>2]=I;Jc(a,217541,l+160|0);break Xb}_c(a,322559);break Xb}v[l+176>>2]=j;Jc(a,217533,l+176|0);break Xb}if(Ub[v[v[f>>2]+32>>2]](f)|0){if(v[f+4>>2]==1){v[l+128>>2]=i;Jc(a,217527,l+128|0);break Xb}v[l+144>>2]=i;Jc(a,217541,l+144|0);break Xb}if(Ub[v[v[f>>2]+36>>2]](f)|0){if(v[f+4>>2]==1){v[l+96>>2]=r;Jc(a,217527,l+96|0);break Xb}v[l+112>>2]=r;Jc(a,217541,l+112|0);break Xb}if(Ub[v[v[f>>2]+40>>2]](f)|0){k=v[f+4>>2]?y:C;if(v[f+8>>2]==1){v[l+64>>2]=k;Jc(a,217527,l- -64|0);break Xb}v[l+80>>2]=k;Jc(a,217541,l+80|0);break Xb}if(Ub[v[v[f>>2]+44>>2]](f)|0){if(v[f+4>>2]==1){v[l+32>>2]=_;Jc(a,217527,l+32|0);break Xb}v[l+48>>2]=_;Jc(a,217541,l+48|0);break Xb}if(!(Ub[v[v[f>>2]+48>>2]](f)|0)){break Xb}if(v[f+4>>2]==1){v[l>>2]=R;Jc(a,217527,l);break Xb}v[l+16>>2]=R;Jc(a,217541,l+16|0)}b=b+1|0;f=v[o+8>>2];if((b|0)<(f|0)){continue}break}break Wb}a=P()|0;O()|0;h=f;break ob}b=0;if((f|0)<=0){break Vb}while(1){j=v[v[o>>2]+(b<<2)>>2];if(j){Ub[v[v[j>>2]+4>>2]](j);f=v[o+8>>2]}b=b+1|0;if((f|0)>(b|0)){continue}break}}Vc(o);dc(h);break nb}a=P()|0;O()|0;break ob}h=fc(8);v[299999]=0;a=Q(3064,h|0,J|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break nb}a=P()|0;O()|0;break ob}h=fc(8);v[299999]=0;a=Q(3064,h|0,J|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break nb}a=P()|0;O()|0}dc(h);T(a|0);L()}Qb=l+192|0;break lb;case 1:I=v[b+4>>2];h=0;Yb:{Zb:{l=v[J>>2];_b:{if(!l){f=fc(8);v[299999]=0;h=Q(3064,f|0,J|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break _b}h=P()|0;O()|0;break Zb}f=v[J+4>>2];C=w[f|0];o=(C|0)==45|(C|0)==43;j=o;$b:{if((l|0)<=(j|0)){break $b}j=o;while(1){if(w[f+j|0]==46){break $b}j=j+1|0;if((l|0)!=(j|0)){continue}break}j=l}b=(j|0)<(l|0)?j:l;a=l;while(1){ac:{r=a;if((a|0)<=(j|0)){r=b;break ac}a=r-1|0;if(w[f+a|0]==48){continue}}break}bc:{cc:{b=v[I>>2];if((b|0)<1){break cc}f=v[I+4>>2];k=w[f|0];if((k|0)!=123){while(1){dc:{if((k-97&255)>>>0>=26){a=0;if((k&254)!=40&(k-65&255)>>>0>25){break bc}h=h+1|0;if((h|0)>=(b|0)){break bc}break dc}h=h+1|0;if((h|0)>=(b|0)){break cc}}k=w[f+h|0];if((k|0)!=123){continue}break}}a=h+1|0;if((b|0)<=(a|0)){b=a;break bc}h=a;while(1){if(w[f+h|0]==125){b=h;break bc}h=h+1|0;if((h|0)!=(b|0)){continue}break}break bc}a=0}f=fc(16);v[299999]=0;y=S(3315,f|0)|0;h=v[299999];v[299999]=0;ec:{if((h|0)!=1){if((a|0)>=(b|0)){break ec}while(1){fc:{h=v[I+4>>2]+a|0;a=a+1|0;gc:{hc:{ic:{jc:{h=w[h|0];k=h-32|0;if(k>>>0>26){break jc}if(1<=(b|0)){break kc}while(1){h=a;lc:{mc:{nc:{oc:{G=v[I+4>>2];_=G+a|0;a=w[_|0];if((a|0)!=92){if((a|0)!=39){break oc}a=h+1|0;if((b|0)<=(a|0)|w[a+G|0]!=39){break kc}gd(k,39);a=h+2|0;break lc}R=h+1|0;if((R|0)==(b|0)){a=b;break kc}a=h+2|0;pc:{R=w[G+R|0];if((R|0)!=117){break pc}h=h+6|0;if((h|0)>(b|0)){break pc}G=t[a+G|0];a=G-48|0;if((a&255)>>>0>9){a=(G-65&255)>>>0<6?G-55|0:0}a=a<<4;G=t[_+3|0];if((G-48&255)>>>0<10){break nc}if((G-65&255)>>>0>5){break mc}a=(a+G|0)-55|0;break mc}gd(k,R<<24>>24);break lc}gd(k,a<<24>>24);a=h+1|0;break lc}a=(a+G|0)-48|0}a=a<<4;G=t[_+4|0];qc:{if((G-48&255)>>>0>=10){if((G-65&255)>>>0>5){break qc}a=(a+G|0)-55|0;break qc}a=(a+G|0)-48|0}a=a<<4;G=t[_+5|0];rc:{if((G-48&255)>>>0>=10){if((G-65&255)>>>0>5){break rc}a=(a+G|0)-55|0;break rc}a=(a+G|0)-48|0}if((a|0)>=256){a=h;break lc}gd(k,a<<24>>24);a=h}if((a|0)<(b|0)){continue}break}}k=fc(8);v[k+4>>2]=i;v[k>>2]=892472;break hc}if((h&223)==83){k=fc(8);t[k+4|0]=h;v[k>>2]=893048;break hc}sc:{switch(h-44|0){default:if((h|0)!=122){break gc}case 12:case 13:case 46:k=fc(12);v[k+8>>2]=0;t[k+4|0]=h;v[k>>2]=893140;break hc;case 2:k=fc(4);v[k>>2]=893232;break hc;case 1:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:break gc;case 0:break sc}}k=fc(4);v[k>>2]=893324;break hc}i=fc(8);v[299999]=0;k=S(3312,i|0)|0;G=v[299999];v[299999]=0;if((G|0)!=1){gd(k,h<<24>>24);k=fc(8);v[k+4>>2]=i;v[k>>2]=892472;break hc}h=P()|0;O()|0;f=i;break Zb}Tc(y,k)}if((a|0)<(b|0)){continue}break ec}break}h=P()|0;O()|0;f=i;break Zb}h=P()|0;O()|0;break Zb}k=0;tc:{if(v[y+8>>2]<=0){break tc}uc:{while(1){a=v[v[y>>2]+(k<<2)>>2];if(!(Ub[v[v[a>>2]+20>>2]](a)|0)){k=k+1|0;if((k|0)>2]){continue}break uc}break}if(!k){break tc}}b=0;a=k;while(1){h=a-1|0;i=v[v[y>>2]+(h<<2)>>2];if(Ub[v[v[i>>2]+16>>2]](i)|0){v[i+8>>2]=b;b=b+1|0}i=(a|0)>1;a=h;if(i){continue}break}}a=k+1|0;if((a|0)>2]){k=-1;while(1){b=v[v[y>>2]+(a<<2)>>2];if(Ub[v[v[b>>2]+16>>2]](b)|0){v[b+8>>2]=k;k=k-1|0}a=a+1|0;if((a|0)>2]){continue}break}}b=0;a=fc(8);v[299999]=0;h=S(3312,a|0)|0;k=v[299999];v[299999]=0;vc:{wc:{if((k|0)!=1){if(v[y+8>>2]<=0){break vc}k=(C|0)==45?45:32;i=j-o|0;a=j^-1;o=a+l|0;I=a+r|0;G=(j+1|0)>=(r|0);C=(C|0)!=45;r=0;while(1){a=v[v[y>>2]+(b<<2)>>2];xc:{if(Ub[v[v[a>>2]+8>>2]](a)|0){Mg(h,v[a+4>>2]);break xc}if(Ub[v[v[a>>2]+12>>2]](a)|0){if(w[a+4|0]==83){gd(h,k);break xc}if(C){break xc}gd(h,45);break xc}yc:{if(Ub[v[v[a>>2]+16>>2]](a)|0){l=w[a+4|0];a=v[a+8>>2];_=(a|0)<0;if(!(_|(a|0)>=(i|0))){gd(h,t[v[J+4>>2]+((a^-1)+j|0)|0]);break yc}zc:{Ac:{if((a|0)<=-1){R=0-a|0;if((R|0)<=(I|0)){gd(h,t[v[J+4>>2]+(j-a|0)|0]);break yc}Bc:{switch(l-56|0){case 1:break Ac;case 0:break Bc;default:break zc}}if((o|0)<(R|0)){break xc}gd(h,48);break yc}if((l|0)!=57){break zc}}gd(h,48);break yc}if(_|(l|0)!=90){break xc}gd(h,32);break xc}if(Ub[v[v[a>>2]+20>>2]](a)|0){a=b+1|0;Cc:{if((a|0)>=v[y+8>>2]){break Cc}a=a<<2;l=v[a+v[y>>2]>>2];if(!(Ub[v[v[l>>2]+16>>2]](l)|0)|w[v[a+v[y>>2]>>2]+4|0]!=122){break Cc}if(G){break xc}}gd(h,46);break xc}if(!(Ub[v[v[a>>2]+24>>2]](a)|0)|!r){break xc}gd(h,44)}r=1}a=v[y+8>>2];b=b+1|0;if((a|0)>(b|0)){continue}break}break wc}h=P()|0;O()|0;f=a;break Zb}b=0;if((a|0)<=0){break vc}while(1){j=v[v[y>>2]+(b<<2)>>2];if(j){Ub[v[v[j>>2]+4>>2]](j);a=v[y+8>>2]}b=b+1|0;if((b|0)<(a|0)){continue}break}}Vc(y);dc(f)}a=h;break Yb}dc(f);T(h|0);L()}break lb;case 2:break mb;default:break lb}}k=v[b+4>>2];a=0;h=0;Dc:{Ec:{Fc:{Gc:{Hc:{Ic:{if(!v[J>>2]){b=fc(8);v[299999]=0;j=Q(3064,b|0,J|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break Ic}h=P()|0;O()|0;break Ec}f=v[k>>2];Jc:{if((f|0)<1){break Jc}b=v[k+4>>2];l=w[b|0];if((l|0)!=123){while(1){if((l&254)!=40&(l-65&255)>>>0>25&(l-97&255)>>>0>=26){break Jc}h=h+1|0;if((h|0)>=(f|0)){break Jc}l=w[b+h|0];if((l|0)!=123){continue}break}}a=h+1|0;if((f|0)<=(a|0)){f=a;break Jc}h=a;while(1){if(w[b+h|0]==125){f=h;break Jc}h=h+1|0;if((h|0)!=(f|0)){continue}break}}b=fc(16);v[299999]=0;r=S(3315,b|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break Fc}if((a|0)<(f|0)){while(1){h=v[k+4>>2]+a|0;a=a+1|0;Kc:{Lc:{Mc:{Nc:{Oc:{h=w[h|0];switch(h-32|0){case 0:case 12:case 13:case 14:case 15:case 26:break Mc;case 16:case 25:case 33:case 47:case 56:break Nc;case 7:break Oc;default:break Kc}}j=fc(8);v[299999]=0;l=S(3312,j|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break Gc}Pc:{if((a|0)>=(f|0)){break Pc}while(1){h=a;Qc:{Rc:{Sc:{Tc:{i=v[k+4>>2];o=i+a|0;a=w[o|0];if((a|0)!=92){if((a|0)!=39){break Tc}a=h+1|0;if((f|0)<=(a|0)|w[a+i|0]!=39){break Pc}gd(l,39);a=h+2|0;break Qc}y=h+1|0;if((y|0)==(f|0)){a=f;break Pc}a=h+2|0;Uc:{y=w[i+y|0];if((y|0)!=117){break Uc}h=h+6|0;if((h|0)>(f|0)){break Uc}i=t[a+i|0];a=i-48|0;if((a&255)>>>0>9){a=(i-65&255)>>>0<6?i-55|0:0}a=a<<4;i=t[o+3|0];if((i-48&255)>>>0<10){break Sc}if((i-65&255)>>>0>5){break Rc}a=(a+i|0)-55|0;break Rc}gd(l,y<<24>>24);break Qc}gd(l,a<<24>>24);a=h+1|0;break Qc}a=(a+i|0)-48|0}a=a<<4;i=t[o+4|0];Vc:{if((i-48&255)>>>0>=10){if((i-65&255)>>>0>5){break Vc}a=(a+i|0)-55|0;break Vc}a=(a+i|0)-48|0}a=a<<4;i=t[o+5|0];Wc:{if((i-48&255)>>>0>=10){if((i-65&255)>>>0>5){break Wc}a=(a+i|0)-55|0;break Wc}a=(a+i|0)-48|0}if((a|0)>=256){a=h;break Qc}gd(l,a<<24>>24);a=h}if((a|0)<(f|0)){continue}break}}l=fc(8);v[l+4>>2]=j;v[l>>2]=892472;break Lc}l=fc(4);v[l>>2]=893420;break Lc}j=fc(8);v[299999]=0;l=S(3312,j|0)|0;i=v[299999];v[299999]=0;if((i|0)!=1){gd(l,h<<24>>24);l=fc(8);v[l+4>>2]=j;v[l>>2]=892472;break Lc}h=P()|0;O()|0;b=j;break Ec}Tc(r,l)}if((a|0)<(f|0)){continue}break}}h=0;a=fc(8);v[299999]=0;j=S(3312,a|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break Hc}Xc:{if(v[r+8>>2]<1){break Xc}f=0;while(1){Yc:{l=v[v[r>>2]+(f<<2)>>2];Zc:{if(Ub[v[v[l>>2]+8>>2]](l)|0){Mg(j,v[l+4>>2]);break Zc}if(!(Ub[v[v[l>>2]+52>>2]](l)|0)){break Zc}if(v[J>>2]<=(h|0)){Dc(j);dc(a);a=fc(8);v[299999]=0;j=Q(3064,a|0,J|0)|0;f=v[299999];v[299999]=0;if((f|0)!=1){l=v[r+8>>2];break Yc}h=P()|0;O()|0;b=a;break Ec}gd(j,t[v[J+4>>2]+h|0]);h=h+1|0}f=f+1|0;l=v[r+8>>2];if((f|0)<(l|0)){continue}}break}if((l|0)<1){break Xc}a=0;while(1){f=v[v[r>>2]+(a<<2)>>2];if(f){Ub[v[v[f>>2]+4>>2]](f);l=v[r+8>>2]}a=a+1|0;if((l|0)>(a|0)){continue}break}}Vc(r);dc(b)}a=j;break Dc}h=P()|0;O()|0;b=a;break Ec}h=P()|0;O()|0;b=j;break Ec}h=P()|0;O()|0}dc(b);T(h|0);L()}}Sp(a,fa,W,v[X+48>>2]&4096,e,V,d,1,0,n,0,ba-ca,$-aa,q,0,m);if(!a|(a|0)==(J|0)){break ba}dc(Dc(a))}Dc(J);dc(ka);break M}if(!mc(a,271667)){o=Qr(X,v[X+32>>2],311891,E);a=v[o+8>>2];b=v[g+1104>>2];hc(o);e=1;V=(b|0)==1?a:0;a=v[X+56>>2];_c:{if(!a){break _c}a=v[a+12>>2];if(!a){break _c}b=v[a>>2];V=(b|0)==2?2:(b|0)==1;e=0;$c:{switch(v[a+4>>2]-1|0){case 0:e=1;break _c;case 1:break $c;default:break _c}}e=3}if(w[X+50|0]&2){if(!N){break M}b=v[g+1052>>2];a=0;d=fc(8);v[299999]=0;j=S(3312,d|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break y}if((b|0)>0){while(1){d=v[(a<<2)+N>>2];if(d>>>0<=255){gd(j,d<<24>>24)}a=a+1|0;if((b|0)!=(a|0)){continue}break}}ad:{if(v[rc(v[X+32>>2],227625,g+1088|0,0)>>2]!=6){break ad}f=v[g+1096>>2];if(v[f+12>>2]<1){break ad}a=0;while(1){yc(f,a,g+1072|0,0);bd:{if(v[g+1072>>2]!=6){f=0;break bd}b=v[g+1080>>2];if(v[b+12>>2]!=2){f=0;break bd}f=0;cd:{if(v[yc(b,0,g+1056|0,0)>>2]!=3){break cd}if(Rf(v[g+1064>>2],j)){break cd}b=g+1056|0;hc(b);f=1;if(v[yc(v[g+1080>>2],1,b,0)>>2]!=3){break cd}if(j){dc(Dc(j))}b=v[g+1064>>2];d=fc(8);v[299999]=0;j=Q(3064,d|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break cd}break y}hc(g+1056|0)}hc(g+1072|0);if(f){break ad}a=a+1|0;f=v[g+1096>>2];if((a|0)>2]){continue}break}}hc(g+1088|0);Sp(j,fa,W,0,0,V,e,1,0,n,0,ba-ca,$-aa,q,0,m);if(!j){break M}dc(Dc(j));break M}f=0;if(v[rc(v[X+32>>2],227625,o,0)>>2]!=6){break S}b=v[v[o+8>>2]+12>>2];J=ed(b,4);if((b|0)<=0){break V}while(1){d=J+(f<<2)|0;v[d>>2]=0;yc(v[o+8>>2],f,g+1088|0,0);dd:{ed:{switch(v[g+1088>>2]-3|0){case 0:e=v[g+1096>>2];a=fc(8);v[299999]=0;Q(3064,a|0,e|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break A}v[d>>2]=a;break dd;case 3:break ed;default:break dd}}a=v[g+1096>>2];if(v[a+12>>2]!=2){break dd}if(v[yc(a,1,g+1072|0,0)>>2]==3){e=v[g+1080>>2];a=fc(8);v[299999]=0;Q(3064,a|0,e|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break A}v[d>>2]=a}hc(g+1072|0)}hc(g+1088|0);if(!v[d>>2]){a=fc(8);v[299999]=0;S(3312,a|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Y}v[d>>2]=a}f=f+1|0;if((b|0)!=(f|0)){continue}break}j=ed(b,4);if((b|0)<1){break T}e=0;d=v[g+1052>>2];h=(d|0)<1;while(1){a=0;r=e<<2;l=v[r+J>>2];if((d|0)==v[l>>2]){a=0;fd:{if(h){break fd}f=1;l=v[l+4>>2];a=1;if(v[N>>2]!=w[l|0]){break fd}while(1){a=f;if((a|0)!=(d|0)){f=a+1|0;if(v[(a<<2)+N>>2]==w[a+l|0]){continue}}break}a=(a|0)<(d|0)}a=!a}v[j+r>>2]=a;e=e+1|0;if((b|0)!=(e|0)){continue}break}break T}if(mc(a,273150)){break Z}Gf(g+1120|0,v[v[v[X>>2]>>2]+24>>2]);v[g+1104>>2]=2;v[E+8>>2]=0;v[E+12>>2]=1071644672;a=ud(307136);fe(v[g+1128>>2],a,E);_c(m,348960);s=$-aa;A[g+8>>3]=s;x=ba-ca;A[g>>3]=x;Jc(m,351861,g);a=fc(8);v[299999]=0;d=Q(3063,a|0,321297)|0;b=v[299999];v[299999]=0;if((b|0)==1){break U}if(fa){dc(Dc(fa))}b=fc(8);v[299999]=0;fa=Q(3063,b|0,271902)|0;e=v[299999];v[299999]=0;if((e|0)!=1){Sp(d,fa,W,0,0,0,1,0,0,n,0,x,s,q,0,m);Dc(d);dc(a);break M}c=P()|0;O()|0;a=b;break L}kc(1,-1,279565,0);break M}c=P()|0;O()|0;break L}if((e|0)==1){d=(b|0)>2;break R}d=v[N+8>>2]==102?(b|0)>3:(b|0)>2;break R}c=P()|0;O()|0;dc(ka);break h}j=ed(b,4);break T}c=P()|0;O()|0;break L}a=0;f=0;if(v[rc(v[X+32>>2],320656,g+1088|0,0)>>2]==1){d=v[g+1096>>2];f=(d|0)>-1?(b|0)>(d|0)?d:0:0}hc(g+1088|0);s=q;h=0;q=0;r=0;d=Qb-112|0;Qb=d;n=-1;k=-1;gd:{hd:{id:{jd:{if(!fa){break jd}h=cF(fa);if(v[h+8>>2]<3){break jd}k=Ad(v[v[h>>2]+8>>2],273871)?-1:0;kd:{if(v[h+8>>2]<4){break kd}k=Ad(v[v[h>>2]+12>>2],273871)?k:1;if(v[h+8>>2]<5){break kd}k=Ad(v[v[h>>2]+16>>2],273871)?k:2;e=6;if(v[h+8>>2]<6){break kd}k=Ad(v[v[h>>2]+20>>2],273871)?k:3;if(v[h+8>>2]<7){break kd}while(1){l=e<<2;ld:{if(!Ad(v[l+v[h>>2]>>2],273871)){k=e-2|0;break ld}n=Ad(v[l+v[h>>2]>>2],258566)?n:e-6|0}e=e+1|0;if((e|0)>2]){continue}break}}if((k|0)<0){break jd}md:{nd:{e=v[v[h>>2]+(k<<2)>>2];if(v[e>>2]<1){break nd}r=v[e+4>>2];if(w[r|0]!=47){break nd}if(W){l=OE(W,r+1|0);if(l){break md}}l=0;kc(1,-1,272465,0);$g(e);_c(e,227863);break md}l=0;kc(1,-1,272499,0)}u=xf(v[v[(v[h>>2]+(k<<2)|0)+4>>2]+4>>2]);if(u!=0){K=ba-ca;p=$-aa;z=s+s;break gd}if((b|0)<=0){r=1;break hd}if(!l){r=1;break id}while(1){r=Ub[v[v[l>>2]+8>>2]](l)|0;i=v[J+(y<<2)>>2];e=v[i>>2];od:{if(!r){if((e|0)<1){p=0;break od}r=e&3;I=v[i+4>>2];pd:{if(e-1>>>0<3){p=0;e=0;break pd}i=e&-4;p=0;e=0;while(1){C=l+1464|0;p=p+A[C+(w[e+I|0]<<3)>>3]+A[C+(w[I+(e|1)|0]<<3)>>3]+A[C+(w[I+(e|2)|0]<<3)>>3]+A[C+(w[I+(e|3)|0]<<3)>>3];e=e+4|0;i=i-4|0;if(i){continue}break}}if(!r){break od}while(1){p=p+A[((w[e+I|0]<<3)+l|0)+1464>>3];e=e+1|0;r=r-1|0;if(r){continue}break}break od}p=+(e|0)*.5}q=q0){break id}l=0;break hd}y=b&1;l=0;qd:{if((b|0)==1){e=0;break qd}i=b&-2;e=0;while(1){I=e<<2;x=+v[v[J+(I|4)>>2]>>2]*.5;u=+v[v[J+I>>2]>>2]*.5;q=q>2]>>2]*.5;q=q>2]+(k<<2)|0)+4>>2];$g(e);A[d+96>>3]=u;Jc(e,217437,d+96|0)}if((b|0)>(f|0)){x=s+2;da=K-z;Y=u*.2;z=u*1.1;ja=K-s+-2;I=V-1|0;C=(n|0)<0;ka=n+4<<2;G=n+5<<2;while(1){_c(m,350595);p=p-z;y=f<<2;_=y+j|0;if(v[_>>2]){_c(m,351790);A[d+88>>3]=z;A[d+80>>3]=da;A[d+72>>3]=p-Y;A[d+64>>3]=s;Jc(m,351797,d- -64|0)}_c(m,354878);rd:{sd:{if(!l){break sd}if(Ub[v[v[l>>2]+8>>2]](l)|0){break sd}k=v[y+J>>2];e=v[k>>2];if((e|0)<1){q=0;break rd}r=e&3;k=v[k+4>>2];td:{if(e-1>>>0<3){q=0;e=0;break td}i=e&-4;q=0;e=0;while(1){V=l+1464|0;q=q+A[V+(w[e+k|0]<<3)>>3]+A[V+(w[k+(e|1)|0]<<3)>>3]+A[V+(w[k+(e|2)|0]<<3)>>3]+A[V+(w[k+(e|3)|0]<<3)>>3];e=e+4|0;i=i-4|0;if(i){continue}break}}if(!r){break rd}while(1){q=q+A[((w[e+k|0]<<3)+l|0)+1464>>3];e=e+1|0;r=r-1|0;if(r){continue}break}break rd}q=+v[v[y+J>>2]>>2]*.5}U=u*q;q=x;ud:{vd:{switch(I|0){case 0:q=(K-U)*.5;break ud;case 1:break vd;default:break ud}}q=ja-U}if(!C){e=v[ka+v[h>>2]>>2];$g(e);A[d+48>>3]=q;Jc(e,217437,d+48|0);e=v[G+v[h>>2]>>2];$g(e);A[d+32>>3]=p;Jc(e,217437,d+32|0)}wd:{if(!h){break wd}e=0;if(v[h+8>>2]<1){break wd}while(1){gd(Mg(m,v[v[h>>2]+(e<<2)>>2]),32);e=e+1|0;if((e|0)>2]){continue}break}}if((n|0)<=-1){A[d+24>>3]=p;A[d+16>>3]=q;Jc(m,351256,d+16|0)}if(v[_>>2]){_c(m,351780)}gd(m,40);e=0;k=y+J|0;i=v[k>>2];if(v[i>>2]>=1){while(1){r=w[v[i+4>>2]+e|0];xd:{if(!(r-40>>>0>=2&(r|0)!=92)){gd(m,92);gd(m,r<<24>>24);break xd}yd:{if(r>>>0>=32){i=r<<24>>24;if((i|0)>-1){break yd}}v[d>>2]=r;Jc(m,217427,d);break xd}gd(m,i)}e=e+1|0;i=v[k>>2];if((e|0)>2]){continue}break}}_c(m,351495);_c(m,354874);_c(m,354944);f=f+1|0;if((b|0)!=(f|0)){continue}break}}if(h){f=v[h+8>>2];if((f|0)>=1){e=0;while(1){r=v[v[h>>2]+(e<<2)>>2];if(r){Dc(r);dc(r);f=v[h+8>>2]}e=e+1|0;if((f|0)>(e|0)){continue}break}}dc(Vc(h))}Qb=d+112|0;if((b|0)>=1){while(1){d=v[J+(a<<2)>>2];if(d){dc(Dc(d))}a=a+1|0;if((b|0)!=(a|0)){continue}break}}uc(J);uc(j)}hc(o);break M}if(!d){break P}}if(v[N>>2]==78){d=1;e=a?2:1;while(1){a=d;if((a|0)!=(e|0)){d=a+1|0;if(v[(a<<2)+N>>2]==w[a+244470|0]){continue}}break}if((a|0)>=(b|0)){break P}}if(v[N>>2]==48&(b|0)<2){break P}if(f){break O}a=fc(8);v[299999]=0;f=Q(3063,a|0,328451)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break O}c=P()|0;O()|0;break L}if(f){break N}break M}Sp(f,fa,W,0,0,1,2,0,1,n,0,ba-ca,$-aa,q,0,m)}dc(Dc(f))}uc(N);dc(Dc(ma));if(fa){dc(Dc(fa))}Gf(g+1232|0,v[v[v[X>>2]>>2]+24>>2]);a=ud(268438);b=v[m>>2];v[g+1104>>2]=1;v[E+8>>2]=b;fe(v[g+1240>>2],a,E);a=ud(278827);v[g+1104>>2]=4;ra=E,sa=ud(255693),v[ra+8>>2]=sa;fe(v[g+1240>>2],a,E);Hr(E,v[v[v[X>>2]>>2]+24>>2]);v[g+1096>>2]=0;v[g+1100>>2]=0;v[g+1088>>2]=2;a=g+1088|0;Cg(v[E+8>>2],a);v[g+1096>>2]=0;v[g+1100>>2]=0;v[g+1088>>2]=2;Cg(v[E+8>>2],a);A[g+1096>>3]=ba-ca;v[g+1088>>2]=2;Cg(v[E+8>>2],a);A[g+1096>>3]=$-aa;v[g+1088>>2]=2;Cg(v[E+8>>2],a);a=ud(220495);fe(v[g+1240>>2],a,E);zd:{if(v[g+1216>>2]==7){zf(g+1216|0,g+1168|0);break zd}Gf(g+1168|0,v[v[v[X>>2]>>2]+24>>2])}hc(g+1216|0);Gf(g+1152|0,v[v[v[X>>2]>>2]+24>>2]);h=0;Ad:{if(v[rc(v[g+1176>>2],228507,E,0)>>2]!=7){break Ad}a=v[E+8>>2];if(v[a+16>>2]<1){break Ad}while(1){b=a;a=g+1088|0;Qp(b,h,a);b=ud(v[v[v[E+8>>2]+4>>2]+(h<<5)>>2]);fe(v[g+1160>>2],b,a);h=h+1|0;a=v[E+8>>2];if((h|0)>2]){continue}break}}hc(E);a=g+1136|0;Gf(a,v[v[v[X>>2]>>2]+24>>2]);b=ud(279704);v[g+1104>>2]=4;ra=E,sa=ud(228507),v[ra+8>>2]=sa;fe(v[g+1144>>2],b,E);b=ud(278827);v[g+1104>>2]=4;ra=E,sa=ud(333569),v[ra+8>>2]=sa;fe(v[g+1144>>2],b,E);b=ud(228412);v[g+1104>>2]=4;ra=E,sa=ud(307129),v[ra+8>>2]=sa;fe(v[g+1144>>2],b,E);b=ud(272962);v[g+1104>>2]=4;ra=E,sa=ud(272907),v[ra+8>>2]=sa;fe(v[g+1144>>2],b,E);b=ud(227864);fe(v[g+1160>>2],b,a);a=ud(228507);fe(v[g+1176>>2],a,g+1152|0);if(v[g+1120>>2]==7){Gf(E,v[v[v[X>>2]>>2]+24>>2]);a=ud(333645);fe(v[E+8>>2],a,g+1120|0);a=ud(277014);fe(v[g+1176>>2],a,E)}a=ud(236851);fe(v[g+1240>>2],a,g+1168|0);a=fc(48);b=v[m>>2];d=v[m+4>>2];v[299999]=0;b=$n(a,d,0,b,g+1232|0);d=v[299999];v[299999]=0;if((d|0)!=1){a=g+1280|0;v[a+8>>2]=b;v[a>>2]=8;QE(c,a,0,ca,aa,ba,$);hc(a);Dc(m);dc(na);if(W){dc(TS(W))}hc(oa);hc(g+1264|0);Qb=g+1296|0;break g}c=P()|0;O()|0}dc(a);break h}c=P()|0;O()|0;dc(a);break h}c=P()|0;O()|0;dc(f);break h}c=P()|0;O()|0;dc(d)}T(c|0);L()}break a}b=v[f+8>>2];a=Qb+-64|0;Qb=a;v[a+48>>2]=13;v[a+32>>2]=13;v[a+16>>2]=13;v[a>>2]=13;if(v[rc(b,311952,a+48|0,0)>>2]==7){rc(v[a+56>>2],316328,a,0);Bd:{if(v[a>>2]==7){Cd:{if(v[rc(b,310896,a+32|0,0)>>2]==4){Ce(v[a+8>>2],v[a+40>>2],a+16|0);break Cd}b=v[a+8>>2];if(v[b+16>>2]==1){Qp(b,0,a+16|0);break Cd}Ce(b,273720,a+16|0)}hc(a+32|0);break Bd}Ce(v[a+56>>2],316328,a+16|0)}hc(a)}hc(a+48|0);if(v[a+16>>2]!=13){b=a+16|0;QE(c,b,0,ca,aa,ba,$);hc(b)}Qb=a- -64|0;break a}kc(1,-1,247308,0);hc(M+32|0)}Qb=M+48|0}function qZa(a){a=a|0;var 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,z=0,A=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;j=Qb+-64|0;Qb=j;d=v[a>>2];b=0;a:{if(v[v[d+96>>2]+64>>2]!=40){break a}b=0;if(!w[a+613|0]){break a}b=0;if(w[d+9|0]&32){break a}b=(w[a+340|0]>>>2^-1)&1}u[a+616>>1]=0;t[a+615|0]=b;b=v[a+384>>2];f=x[a+152>>1];c=b+f<<1;c=c>>>0>30?c:30;if(c>>>0>1]){u[a+188>>1]=c>>>0<65535?c:65535}v[a+628>>2]=0;v[a+620>>2]=0;c=a;b:{if(f){f=B(f,10);b=(f>>>0>50?f:50)+(b>>>0<500?50:(b>>>0)/10|0)|0;break b}b=B(b,22)+300|0}v[c+624>>2]=b;c=v[d+16>>2];v[a+260>>2]=0;c=B(c,100);b=b>>>0>c>>>0?c:b;v[a+632>>2]=b;v[a+624>>2]=b;b=a;c:{if(x[a+220>>1]!=x[a+222>>1]){f=1993;h=1994;d=1991;c=1992;break c}f=1997;h=1998;d=1995;c=1996}v[b+608>>2]=d;v[a+604>>2]=c;v[a+600>>2]=f;v[a+596>>2]=h;d=u[a+302>>1];d:{if((d&65535)==16384){b=u[a+298>>1];v[a+568>>2]=b;c=b;break d}b=u[a+304>>1];if((b|0)==16384){b=u[a+300>>1];v[a+568>>2]=b;c=x[a+298>>1];break d}c=u[a+298>>1];b=B(b,u[a+300>>1])+B(d,c)>>14;v[a+568>>2]=b}e:{if((c&65535)==16384){v[a+576>>2]=1999;break e}if(x[a+300>>1]==16384){v[a+576>>2]=2e3;break e}v[a+576>>2]=2001}f:{if(x[a+294>>1]==16384){v[a+580>>2]=1999;break f}if(x[a+296>>1]==16384){v[a+580>>2]=2e3;break f}v[a+580>>2]=2002}v[a+592>>2]=2003;v[a+588>>2]=2004;g:{if((b|0)!=16384){break g}c=a;h:{if((d|0)==16384){f=2006;e=2005;break h}if(x[a+304>>1]!=16384){break g}f=2008;e=2007}v[c+592>>2]=e;v[a+588>>2]=f}c=b;b=b>>31;if((c+b^b)>>>0<=1023){v[a+568>>2]=16384}v[a+260>>2]=0;b=v[a+316>>2];if((b&255)>>>0<=7){v[a+572>>2]=v[(b<<24>>22)+449608>>2]}E=a+180|0;F=a+144|0;n=a+72|0;o=a+36|0;p=a+108|0;c=v[a+364>>2];i:{j:{while(1){k=v[a+360>>2];i=w[k+c|0];t[a+372|0]=i;f=t[i+447584|0];v[a+376>>2]=f;k:{if((i&254)!=64){h=v[a+368>>2];break k}h=v[a+368>>2];b=c+1|0;if((h|0)<=(b|0)){h=131;break j}f=2-B(w[b+k|0],f)|0;v[a+376>>2]=f}if((c+f|0)>(h|0)){h=131;break j}d=w[i+447840|0];b=d>>>4|0;c=v[a+16>>2]-b|0;v[a+28>>2]=c;if((c|0)<=-1){if(w[a+565|0]){h=129;break j}if(d>>>0>=16){ic(v[a+24>>2],0,(b>>>0>1?b:1)<<2)}v[a+28>>2]=0;c=0}b=a;l:{m:{if((i|0)==145){d=v[v[a>>2]+736>>2];if(!d){d=v[a+32>>2];break l}d=v[d>>2]+c|0;break m}d=(d&15)+c|0}v[b+32>>2]=d}h=130;b=v[a+20>>2];if((b|0)<(d|0)){break j}v[a+12>>2]=0;t[a+380|0]=1;g=v[a+24>>2];e=g+(c<<2)|0;h=135;n:{o:{p:{q:{r:{s:{t:{switch(i|0){case 0:case 1:case 2:case 3:case 4:case 5:c=i<<14&16384;b=c^16384;if(i>>>0<=3){u[a+296>>1]=b;u[a+294>>1]=c;u[a+300>>1]=b;u[a+298>>1]=c}u:{if(i&2){c=x[a+302>>1];break u}u[a+304>>1]=b;u[a+302>>1]=c}v:{if((c&65535)==16384){b=u[a+298>>1];v[a+568>>2]=b;d=b;break v}b=u[a+304>>1];if((b|0)==16384){b=u[a+300>>1];v[a+568>>2]=b;d=x[a+298>>1];break v}d=u[a+298>>1];b=B(b,u[a+300>>1])+B(d,c<<16>>16)>>14;v[a+568>>2]=b}f=1999;v[a+576>>2]=(d&65535)!=16384?x[a+300>>1]==16384?2e3:2001:1999;f=x[a+294>>1]!=16384?x[a+296>>1]==16384?2e3:2002:f;v[a+592>>2]=2003;v[a+588>>2]=2004;v[a+580>>2]=f;w:{if((b|0)!=16384){break w}e=a;x:{if((c&65535)==16384){f=2006;c=2005;break x}if(x[a+304>>1]!=16384){break w}f=2008;c=2007}v[e+592>>2]=c;v[a+588>>2]=f}c=b;b=b>>31;if((c+b^b)>>>0<=1023){v[a+568>>2]=16384}v[a+260>>2]=0;break s;case 6:case 7:y:{b=x[e+4>>1];if(b>>>0>1]){c=x[e>>1];if(c>>>0>1]){break y}}if(!w[a+565|0]){break s}h=134;break j}c=v[a+88>>2]+(c<<3)|0;b=v[a+124>>2]+(b<<3)|0;d=v[c>>2]-v[b>>2]|0;b=v[c+4>>2]-v[b+4>>2]|0;c=b|d;d=c?d:16384;c=!c|!(i&1);f=c?d:0-b|0;b=c?b:d;if(f|b){v[j+28>>2]=b;v[j+24>>2]=f;Cs(j+24|0);u[a+298>>1]=v[j+24>>2]/4;u[a+300>>1]=v[j+28>>2]/4}d=x[a+298>>1]|x[a+300>>1]<<16;u[a+294>>1]=d;u[a+296>>1]=d>>>16;f=u[a+302>>1];b=d<<16>>16;z:{if((f&65535)==16384){break z}c=u[a+304>>1];b=d>>16;if((c|0)==16384){break z}b=B(c,d>>16)+B(f,d<<16>>16)>>14}v[a+592>>2]=2003;v[a+588>>2]=2004;c=b;v[a+568>>2]=b;g=(d&-65536)==1073741824;d=(d&65535)==16384;v[a+580>>2]=d?1999:g?2e3:2002;v[a+576>>2]=d?1999:g?2e3:2001;A:{if((b|0)!=16384){break A}b=a;B:{if((f|0)==16384){f=2006;e=2005;break B}if(x[a+304>>1]!=16384){break A}f=2008;e=2007}v[b+592>>2]=e;v[a+588>>2]=f}b=c>>31;if((b+c^b)>>>0<=1023){v[a+568>>2]=16384}v[a+260>>2]=0;break s;case 8:case 9:C:{b=x[e+4>>1];if(b>>>0>1]){c=x[e>>1];if(c>>>0>1]){break C}}if(!w[a+565|0]){break s}h=134;break j}c=v[a+88>>2]+(c<<3)|0;b=v[a+124>>2]+(b<<3)|0;d=v[c>>2]-v[b>>2]|0;b=v[c+4>>2]-v[b+4>>2]|0;c=b|d;d=c?d:16384;c=!c|!(i&1);f=c?d:0-b|0;b=c?b:d;D:{if(!(f|b)){c=x[a+302>>1];break D}v[j+28>>2]=b;v[j+24>>2]=f;Cs(j+24|0);c=v[j+24>>2]/4|0;u[a+302>>1]=c;u[a+304>>1]=v[j+28>>2]/4}E:{if((c&65535)==16384){b=u[a+298>>1];v[a+568>>2]=b;d=b;break E}b=u[a+304>>1];if((b|0)==16384){b=u[a+300>>1];v[a+568>>2]=b;d=x[a+298>>1];break E}d=u[a+298>>1];b=B(b,u[a+300>>1])+B(d,c<<16>>16)>>14;v[a+568>>2]=b}f=1999;v[a+576>>2]=(d&65535)!=16384?x[a+300>>1]==16384?2e3:2001:1999;f=x[a+294>>1]!=16384?x[a+296>>1]==16384?2e3:2002:f;v[a+592>>2]=2003;v[a+588>>2]=2004;v[a+580>>2]=f;F:{if((b|0)!=16384){break F}e=a;G:{if((c&65535)==16384){f=2006;c=2005;break G}if(x[a+304>>1]!=16384){break F}f=2008;c=2007}v[e+592>>2]=c;v[a+588>>2]=f}c=b;b=b>>31;if((c+b^b)>>>0<=1023){v[a+568>>2]=16384}v[a+260>>2]=0;break s;case 10:b=v[e>>2]<<16;c=v[e+4>>2]<<16;if(b|c){v[j+28>>2]=c>>16;v[j+24>>2]=b>>16;Cs(j+24|0);u[a+298>>1]=v[j+24>>2]/4;u[a+300>>1]=v[j+28>>2]/4}d=x[a+298>>1]|x[a+300>>1]<<16;u[a+294>>1]=d;u[a+296>>1]=d>>>16;f=u[a+302>>1];b=d<<16>>16;H:{if((f&65535)==16384){break H}c=u[a+304>>1];b=d>>16;if((c|0)==16384){break H}b=B(c,d>>16)+B(f,d<<16>>16)>>14}v[a+592>>2]=2003;v[a+588>>2]=2004;c=b;v[a+568>>2]=b;g=(d&-65536)==1073741824;d=(d&65535)==16384;v[a+580>>2]=d?1999:g?2e3:2002;v[a+576>>2]=d?1999:g?2e3:2001;I:{if((b|0)!=16384){break I}b=a;J:{if((f|0)==16384){f=2006;e=2005;break J}if(x[a+304>>1]!=16384){break I}f=2008;e=2007}v[b+592>>2]=e;v[a+588>>2]=f}b=c>>31;if((b+c^b)>>>0<=1023){v[a+568>>2]=16384}v[a+260>>2]=0;break s;case 11:b=v[e>>2]<<16;c=v[e+4>>2]<<16;K:{if(!(b|c)){c=x[a+302>>1];break K}v[j+28>>2]=c>>16;v[j+24>>2]=b>>16;Cs(j+24|0);c=v[j+24>>2]/4|0;u[a+302>>1]=c;u[a+304>>1]=v[j+28>>2]/4}L:{if((c&65535)==16384){b=u[a+298>>1];v[a+568>>2]=b;d=b;break L}b=u[a+304>>1];if((b|0)==16384){b=u[a+300>>1];v[a+568>>2]=b;d=x[a+298>>1];break L}d=u[a+298>>1];b=B(b,u[a+300>>1])+B(d,c<<16>>16)>>14;v[a+568>>2]=b}f=1999;v[a+576>>2]=(d&65535)!=16384?x[a+300>>1]==16384?2e3:2001:1999;f=x[a+294>>1]!=16384?x[a+296>>1]==16384?2e3:2002:f;v[a+592>>2]=2003;v[a+588>>2]=2004;v[a+580>>2]=f;M:{if((b|0)!=16384){break M}e=a;N:{if((c&65535)==16384){f=2006;c=2005;break N}if(x[a+304>>1]!=16384){break M}f=2008;c=2007}v[e+592>>2]=c;v[a+588>>2]=f}c=b;b=b>>31;if((c+b^b)>>>0<=1023){v[a+568>>2]=16384}v[a+260>>2]=0;break s;case 12:b=u[a+298>>1];v[e+4>>2]=u[a+300>>1];v[e>>2]=b;break s;case 13:b=u[a+302>>1];v[e+4>>2]=u[a+304>>1];v[e>>2]=b;break s;case 14:d=x[a+298>>1]|x[a+300>>1]<<16;u[a+302>>1]=d;g=d>>>16|0;u[a+304>>1]=g;c=d<<16>>16;f=1999;O:{if((d&65535)==16384){h=1999;b=c;break O}h=2e3;b=16384;if((g|0)==16384){break O}h=2001;b=d>>16;b=B(c,c)+B(b,b)>>>14|0}v[a+576>>2]=h;v[a+568>>2]=b;f=x[a+294>>1]!=16384?x[a+296>>1]==16384?2e3:2002:f;v[a+592>>2]=2003;v[a+588>>2]=2004;v[a+580>>2]=f;P:{if((b|0)!=16384){break P}c=a;Q:{if((d&65535)==16384){f=2006;e=2005;break Q}if((g|0)!=16384){break P}f=2008;e=2007}v[c+592>>2]=e;v[a+588>>2]=f}c=b;b=b>>31;if((c+b^b)>>>0<=1023){v[a+568>>2]=16384}v[a+260>>2]=0;break s;case 15:R:{c=x[e+12>>1];b=x[a+44>>1];S:{if(c>>>0>=b>>>0){break S}f=x[e+16>>1];if(f>>>0>=b>>>0){break S}g=x[e+4>>1];b=x[a+80>>1];if(g>>>0>=b>>>0){break S}i=x[e+8>>1];if(i>>>0>=b>>>0){break S}b=x[e>>1];if(b>>>0>1]){break R}}if(!w[a+565|0]){break s}h=134;break j}e=v[a+52>>2];q=c<<3;c=e+q|0;d=v[c>>2];r=f<<3;h=r+e|0;k=v[h>>2];e=v[a+88>>2];f=g<<3;m=e+f|0;g=v[m+4>>2];l=i<<3;e=l+e|0;i=v[e+4>>2];s=v[m>>2];e=v[e>>2]-s|0;z=v[c+4>>2];m=v[h+4>>2]-z|0;A=0-m|0;i=i-g|0;h=k-d|0;c=jd(e,A,64)+jd(i,h,64)|0;k=c>>31;D=jd(e,h,64)+jd(i,m,64)|0;m=D>>31;T:{if((B(k^c+k,19)|0)>(m^m+D)){d=jd(d-s|0,A,64)+jd(z-g|0,h,64)|0;g=jd(d,e,c);d=jd(d,i,c);c=v[a+124>>2];f=f+v[a+88>>2]|0;v[c+(b<<3)>>2]=g+v[f>>2];d=d+v[f+4>>2]|0;break T}c=v[a+124>>2];d=v[a+52>>2];g=d+q|0;e=v[a+88>>2];i=e+l|0;f=e+f|0;d=d+r|0;v[c+(b<<3)>>2]=((v[g>>2]+(v[i>>2]+v[f>>2]|0)|0)+v[d>>2]|0)/4;d=(v[d+4>>2]+(v[g+4>>2]+(v[i+4>>2]+v[f+4>>2]|0)|0)|0)/4|0}v[((b<<3)+c|0)+4>>2]=d;b=b+v[a+132>>2]|0;t[b|0]=w[b|0]|24;break s;case 16:u[a+288>>1]=v[e>>2];break s;case 17:u[a+290>>1]=v[e>>2];break s;case 18:u[a+292>>1]=v[e>>2];break s;case 19:b=E;U:{switch(v[e>>2]){default:if(!w[a+565|0]){break s}h=134;break j;case 1:b=F;break;case 0:break U}}c=v[b+4>>2];v[o>>2]=v[b>>2];v[o+4>>2]=c;v[o+32>>2]=v[b+32>>2];c=v[b+28>>2];v[o+24>>2]=v[b+24>>2];v[o+28>>2]=c;c=v[b+20>>2];v[o+16>>2]=v[b+16>>2];v[o+20>>2]=c;c=v[b+12>>2];v[o+8>>2]=v[b+8>>2];v[o+12>>2]=c;u[a+348>>1]=v[e>>2];break s;case 20:b=E;V:{switch(v[e>>2]){default:if(!w[a+565|0]){break s}h=134;break j;case 1:b=F;break;case 0:break V}}c=v[b+4>>2];v[n>>2]=v[b>>2];v[n+4>>2]=c;v[n+32>>2]=v[b+32>>2];c=v[b+28>>2];v[n+24>>2]=v[b+24>>2];v[n+28>>2]=c;c=v[b+20>>2];v[n+16>>2]=v[b+16>>2];v[n+20>>2]=c;c=v[b+12>>2];v[n+8>>2]=v[b+8>>2];v[n+12>>2]=c;u[a+350>>1]=v[e>>2];break s;case 21:b=E;W:{switch(v[e>>2]){default:if(!w[a+565|0]){break s}h=134;break j;case 1:b=F;break;case 0:break W}}c=v[b+4>>2];v[p>>2]=v[b>>2];v[p+4>>2]=c;v[p+32>>2]=v[b+32>>2];c=v[b+28>>2];v[p+24>>2]=v[b+24>>2];v[p+28>>2]=c;c=v[b+20>>2];v[p+16>>2]=v[b+16>>2];v[p+20>>2]=c;c=v[b+12>>2];v[p+8>>2]=v[b+8>>2];v[p+12>>2]=c;u[a+352>>1]=v[e>>2];break s;case 22:b=E;X:{switch(v[e>>2]){default:if(!w[a+565|0]){break s}h=134;break j;case 1:b=F;break;case 0:break X}}c=v[b+4>>2];v[o>>2]=v[b>>2];v[o+4>>2]=c;v[o+32>>2]=v[b+32>>2];c=v[b+28>>2];v[o+24>>2]=v[b+24>>2];v[o+28>>2]=c;c=v[b+20>>2];v[o+16>>2]=v[b+16>>2];v[o+20>>2]=c;c=v[b+12>>2];v[o+8>>2]=v[b+8>>2];v[o+12>>2]=c;v[n+32>>2]=v[b+32>>2];c=v[b+28>>2];v[n+24>>2]=v[b+24>>2];v[n+28>>2]=c;c=v[b+20>>2];v[n+16>>2]=v[b+16>>2];v[n+20>>2]=c;c=v[b+12>>2];v[n+8>>2]=v[b+8>>2];v[n+12>>2]=c;c=v[b+4>>2];v[n>>2]=v[b>>2];v[n+4>>2]=c;v[p+32>>2]=v[b+32>>2];c=v[b+28>>2];v[p+24>>2]=v[b+24>>2];v[p+28>>2]=c;c=v[b+20>>2];v[p+16>>2]=v[b+16>>2];v[p+20>>2]=c;c=v[b+12>>2];v[p+8>>2]=v[b+8>>2];v[p+12>>2]=c;c=v[b+4>>2];v[p>>2]=v[b>>2];v[p+4>>2]=c;b=x[e>>1];u[a+352>>1]=b;u[a+350>>1]=b;u[a+348>>1]=b;break s;case 23:b=v[e>>2];if((b|0)<0){h=132;break j}v[a+308>>2]=(b|0)<65535?b:65535;break s;case 24:v[a+572>>2]=2009;v[a+316>>2]=1;break s;case 25:v[a+572>>2]=2010;v[a+316>>2]=0;break s;case 26:v[a+312>>2]=v[e>>2];break s;case 27:b=v[a+364>>2];c=v[a+368>>2];d=1;while(1){b=b+f|0;v[a+364>>2]=b;if((b|0)>=(c|0)){h=131;break j}g=w[b+k|0];t[a+372|0]=g;f=t[g+447584|0];v[a+376>>2]=f;if((g&254)==64){e=b+1|0;if((e|0)>=(c|0)){h=131;break j}f=2-B(w[e+k|0],f)|0;v[a+376>>2]=f}if((c|0)<(b+f|0)){h=131;break j}Y:{switch(g-88|0){case 0:d=d+1|0;if(d){continue}break s;case 1:d=d-1|0;break;default:break Y}}if(d){continue}break};break s;case 28:b=132;d=c;c=v[e>>2];Z:{if(!(d|c)){break Z}c=c+v[a+364>>2]|0;v[a+364>>2]=c;if((c|0)<0){break Z}d=v[a+432>>2];if((d|0)>=1&(c|0)>v[v[(v[a+440>>2]+(d<<4)|0)-4>>2]+8>>2]){break Z}t[a+380|0]=0;if(v[e>>2]>-1){break s}c=v[a+628>>2]+1|0;v[a+628>>2]=c;b=139;if(c>>>0<=y[a+632>>2]){break s}}v[a+12>>2]=b;break r;case 29:v[a+324>>2]=v[e>>2];break s;case 30:v[a+328>>2]=v[e>>2];break s;case 31:Q=a,R=Ac(v[e>>2],v[a+264>>2]),v[Q+332>>2]=R;break s;case 32:v[e+4>>2]=v[e>>2];break s;case 34:v[a+32>>2]=0;break s;case 35:Q=e,R=Hib(v[e>>2],v[e+4>>2],32),v[Q>>2]=R;v[e+4>>2]=Tb;break s;case 36:v[e>>2]=v[a+16>>2];break s;case 37:b=e;f=b;d=v[b>>2];_:{if(!((d|0)>=1&(c|0)>=(d|0))){b=0;if(!w[a+565|0]){break _}v[a+12>>2]=134;v[e>>2]=0;break s}b=v[(c-d<<2)+g>>2]}v[f>>2]=b;break s;case 38:b=v[e>>2];if(!((b|0)>=1&(b|0)<=(c|0))){if(!w[a+565|0]){break s}h=134;break j}c=(c-b<<2)+g|0;d=v[c>>2];Wd(c,c+4|0,(b<<2)-4|0);v[(v[a+24>>2]+(v[a+28>>2]<<2)|0)-4>>2]=d;break s;case 39:$:{b=x[e>>1];if(b>>>0>1]){c=x[e+4>>1];if(c>>>0>1]){break $}}if(!w[a+565|0]){break s}h=134;break j}e=b;d=v[a+52>>2]+(c<<3)|0;b=v[a+88>>2]+(b<<3)|0;b=(Ub[v[a+576>>2]](a,v[d>>2]-v[b>>2]|0,v[d+4>>2]-v[b+4>>2]|0)|0)/2|0;Ub[v[a+588>>2]](a,n,e,b);Ub[v[a+588>>2]](a,o,c,0-b|0);break s;case 40:lq(a);break s;case 41:b=x[e>>1];if(b>>>0>=x[a+44>>1]){if(!w[a+565|0]){break s}h=134;break j}b=b+v[a+60>>2]|0;c=b;e=w[b|0];b=x[a+302>>1]?-9:-1;t[c|0]=e&(x[a+304>>1]?b&239:b);break s;case 42:b=134;f=v[e+4>>2];c=v[a+424>>2]+1|0;aa:{if(f>>>0>=c>>>0){break aa}d=v[a+408>>2];g=v[a+400>>2];ba:{if((g|0)==(c|0)){c=d?d+B(f,24)|0:0;if((f|0)==v[c+12>>2]){break ba}}c=d;d=c?c+B(g,24)|0:0;ca:{if(c>>>0>=d>>>0){break ca}while(1){if((f|0)==v[c+12>>2]){break ca}c=c+24|0;if(d>>>0>c>>>0){continue}break}}if((c|0)==(d|0)){break aa}}if(!w[c+16|0]){break aa}b=130;d=v[a+432>>2];if((d|0)>=v[a+436>>2]){break aa}if(v[e>>2]<1){break s}b=v[a+440>>2]+(d<<4)|0;v[b>>2]=v[a+356>>2];v[b+4>>2]=v[a+364>>2]+1;f=v[e>>2];v[b+12>>2]=c;v[b+8>>2]=f;v[a+432>>2]=d+1;d=v[c>>2];b=d-1|0;da:{if(b>>>0>=3){v[a+12>>2]=132;break da}f=v[((b<<3)+a|0)+448>>2];if(!f){v[a+12>>2]=138;break da}b=v[((b<<3)+a|0)+452>>2];c=v[c+4>>2];if((b|0)<(c|0)){v[a+12>>2]=131;break da}v[a+368>>2]=b;v[a+360>>2]=f;v[a+364>>2]=c;v[a+356>>2]=d}t[a+380|0]=0;c=v[a+620>>2]+v[e>>2]|0;v[a+620>>2]=c;b=139;if(c>>>0<=y[a+624>>2]){break s}}v[a+12>>2]=b;break r;case 43:h=134;b=v[a+424>>2]+1|0;d=v[e>>2];if(b>>>0<=d>>>0){break j}c=v[a+408>>2];if(!c){break j}f=v[a+400>>2];ea:{if((f|0)==(b|0)){b=c+B(d,24)|0;if((d|0)==v[b+12>>2]){break ea}}g=c+B(f,24)|0;b=c;fa:{if((f|0)<1){break fa}while(1){if((d|0)==v[b+12>>2]){break fa}b=b+24|0;if(g>>>0>b>>>0){continue}break}}if((b|0)==(g|0)){break j}}if(!w[b+16|0]){break j}h=130;d=v[a+432>>2];if((d|0)>=v[a+436>>2]){break j}c=v[a+440>>2]+(d<<4)|0;v[c>>2]=v[a+356>>2];f=v[a+364>>2];v[c+12>>2]=b;v[c+8>>2]=1;v[c+4>>2]=f+1;v[a+432>>2]=d+1;d=v[b>>2];c=d-1|0;ga:{if(c>>>0>=3){v[a+12>>2]=132;break ga}f=v[((c<<3)+a|0)+448>>2];if(!f){v[a+12>>2]=138;break ga}c=v[((c<<3)+a|0)+452>>2];b=v[b+4>>2];if((c|0)<(b|0)){v[a+12>>2]=131;break ga}v[a+368>>2]=c;v[a+360>>2]=f;v[a+364>>2]=b;v[a+356>>2]=d}t[a+380|0]=0;break s;case 44:g=v[a+356>>2];if((g|0)==3){h=156;break j}b=v[a+408>>2];ha:{ia:{if(!b){d=v[a+400>>2];h=v[e>>2];c=0;break ia}d=v[a+400>>2];c=B(d,24)+b|0;h=v[e>>2];ja:{if((d|0)<1){break ja}while(1){if(v[b+12>>2]==(h|0)){break ja}b=b+24|0;if(c>>>0>b>>>0){continue}break}}if((b|0)!=(c|0)){break ha}}if(y[a+404>>2]<=d>>>0){h=140;break j}v[a+400>>2]=d+1;b=c}if(h>>>0>65535){h=140;break j}v[b+12>>2]=h;v[b>>2]=g;c=v[a+364>>2];v[b+20>>2]=0;u[b+16>>1]=1;v[b+4>>2]=c+1;if(y[a+424>>2]>>0){v[a+424>>2]=h}g=v[a+368>>2];while(1){c=c+f|0;v[a+364>>2]=c;if((c|0)>=(g|0)){h=131;break j}d=w[c+k|0];t[a+372|0]=d;f=t[d+447584|0];v[a+376>>2]=f;if((d&254)==64){e=c+1|0;if((e|0)>=(g|0)){h=131;break j}f=2-B(w[e+k|0],f)|0;v[a+376>>2]=f}if((g|0)<(c+f|0)){h=131;break j}h=137;ka:{switch(d-44|0){case 1:v[b+8>>2]=c;break s;case 0:break j;default:break ka}}if((d|0)!=137){continue}break};break j;case 33:case 89:case 126:case 127:v[a+16>>2]=d;break q;default:if(i>>>0>=224){c=v[e+4>>2];b=0;la:{ma:{f=v[e>>2];d=f&65535;na:{if(d>>>0>=x[a+80>>1]){break na}g=c+1|0;if(g>>>0>=v[a+384>>2]+1>>>0){break na}if(x[a+288>>1]>1]){break ma}}if(!w[a+565|0]){break la}v[a+12>>2]=134;break la}if(g){b=Ub[v[a+600>>2]](a,c)|0}c=v[a+332>>2];e=b-c|0;g=e>>31;b=v[a+328>>2]>(g^e+g)?(b|0)>-1?c:0-c|0:b;if(!x[a+350>>1]){g=u[a+302>>1];c=g>>31;i=c^c+g;c=b>>31;h=c+b^c;k=h>>>16|0;m=B(i,k);e=m<<16|8192;q=d<<3;c=q+v[a+84>>2]|0;r=v[a+48>>2]+(x[a+288>>1]<<3)|0;l=e;s=i;i=h&65535;e=e+B(s,i)|0;e=(m>>>16|0)+(l>>>0>e>>>0)<<18|e>>>14;v[c>>2]=v[r>>2]+((b^g)>-1?e:0-e|0);g=u[a+304>>1];e=g>>31;h=e^e+g;k=B(h,k);e=k<<16|8192;m=e;e=e+B(h,i)|0;e=(k>>>16|0)+(m>>>0>e>>>0)<<18|e>>>14;v[c+4>>2]=v[r+4>>2]+((b^g)>-1?e:0-e|0);e=v[c+4>>2];g=q+v[a+88>>2]|0;v[g>>2]=v[c>>2];v[g+4>>2]=e}c=d<<3;d=c+v[a+84>>2]|0;g=v[a+48>>2]+(x[a+288>>1]<<3)|0;d=Ub[v[a+580>>2]](a,v[d>>2]-v[g>>2]|0,v[d+4>>2]-v[g+4>>2]|0)|0;c=c+v[a+88>>2]|0;g=v[a+52>>2]+(x[a+288>>1]<<3)|0;i=Ub[v[a+576>>2]](a,v[c>>2]-v[g>>2]|0,v[c+4>>2]-v[g+4>>2]|0)|0;b=w[a+320|0]?(b^d)<0?0-b|0:b:b;g=w[a+372|0];oa:{if(g&4){c=a;if(x[a+348>>1]==x[a+350>>1]){h=b-d|0;e=h>>31;b=v[a+324>>2]<(e^e+h)?d:b}b=Ub[v[a+572>>2]](c,b,g&3)|0;g=w[a+372|0];break oa}c=v[(((g&3)<<2)+a|0)+268>>2];if((b|0)>=0){b=b+c|0;b=(b|0)>0?b:0;break oa}b=b-c|0;b=b>>31&b}e=a+72|0;pa:{if(!(g&8)){break pa}c=v[a+312>>2];if((d|0)>=0){b=(b|0)<(c|0)?c:b;break pa}c=0-c|0;b=(b|0)>(c|0)?c:b}Ub[v[a+588>>2]](a,e,f&65535,b-i|0)}u[a+290>>1]=x[a+288>>1];if(w[a+372|0]&16){u[a+288>>1]=f}u[a+292>>1]=f;break s}if(i>>>0>=192){qa:{ra:{d=v[e>>2];f=d&65535;if(f>>>0>1]){b=x[a+288>>1];if(b>>>0>1]){break ra}}if(!w[a+565|0]){break qa}v[a+12>>2]=134;break qa}sa:{if(!(x[a+350>>1]?x[a+348>>1]:0)){c=v[a+84>>2]+(f<<3)|0;b=v[a+48>>2]+(b<<3)|0;b=Ub[v[a+580>>2]](a,v[c>>2]-v[b>>2]|0,v[c+4>>2]-v[b+4>>2]|0)|0;break sa}b=v[a+56>>2]+(b<<3)|0;c=v[a+92>>2]+(f<<3)|0;g=v[a+224>>2];if((g|0)==v[a+228>>2]){b=Ac(Ub[v[a+580>>2]](a,v[c>>2]-v[b>>2]|0,v[c+4>>2]-v[b+4>>2]|0)|0,v[a+224>>2]);break sa}b=(R=a,S=Ac(v[c>>2]-v[b>>2]|0,g),T=Ac(v[c+4>>2]-v[b+4>>2]|0,v[a+228>>2]),Q=v[a+580>>2],Ub[Q](R|0,S|0,T|0)|0)}g=v[a+328>>2];ta:{if((g|0)<1){break ta}c=v[a+332>>2];if((c+g|0)<=(b|0)|(c-g|0)>=(b|0)){break ta}b=(b|0)>-1?c:0-c|0}g=w[a+372|0];ua:{if(g&4){c=Ub[v[a+572>>2]](a,b,g&3)|0;g=w[a+372|0];break ua}c=v[(((g&3)<<2)+a|0)+268>>2];if((b|0)>=0){c=b+c|0;c=(c|0)>0?c:0;break ua}c=b-c|0;c=c>>31&c}e=a+72|0;va:{if(!(g&8)){break va}g=v[a+312>>2];if((b|0)>=0){c=(c|0)<(g|0)?g:c;break va}b=0-g|0;c=(b|0)<(c|0)?b:c}g=c;b=v[a+88>>2]+(f<<3)|0;c=v[a+52>>2]+(x[a+288>>1]<<3)|0;T=a,S=e,R=d&65535,U=g-(Ub[v[a+576>>2]](a,v[b>>2]-v[c>>2]|0,v[b+4>>2]-v[c+4>>2]|0)|0)|0,Q=v[a+588>>2],Ub[Q](T|0,S|0,R|0,U|0)}u[a+292>>1]=d;u[a+290>>1]=x[a+288>>1];if(w[a+372|0]&16){u[a+288>>1]=d}break s}if(i>>>0>=184){b=w[a+372|0]+65353&65535;if(b>>>0>=(v[a+20>>2]-v[a+16>>2]|0)+1>>>0){v[a+12>>2]=130;break s}c=v[a+364>>2];d=c+1|0;v[a+364>>2]=d;wa:{if(!b){break wa}v[a+364>>2]=c+3;f=v[a+360>>2];v[e>>2]=(w[f+d|0]<<8|w[(c+f|0)+2|0])<<16>>16;c=1;if((b|0)==1){break wa}d=1;while(1){g=v[a+364>>2];v[a+364>>2]=g+2;i=e+(c<<2)|0;c=f+g|0;c=w[c|0]|w[c+1|0]<<8;v[i>>2]=(c<<8|c>>>8)<<16>>16;d=d+1|0;c=d&65535;if(b>>>0>c>>>0){continue}break}}t[a+380|0]=0;break s}if(i>>>0>=176){c=w[a+372|0]+65361&65535;if(c>>>0<(v[a+20>>2]-v[a+16>>2]|0)+1>>>0){if(c){d=v[a+360>>2];b=1;g=1;while(1){v[(e+(b<<2)|0)-4>>2]=w[d+(v[a+364>>2]+b|0)|0];g=g+1|0;b=g&65535;if(c>>>0>=b>>>0){continue}break}}break s}v[a+12>>2]=130;break s}lq(a);break s;case 146:if(v[v[a>>2]+736>>2]){v[e>>2]=17;break s}lq(a);break s;case 145:if(v[v[a>>2]+736>>2]){c=v[v[a>>2]+736>>2];b=v[c>>2];if(b>>>0>=(v[a+20>>2]-v[a+16>>2]|0)+1>>>0){v[a+12>>2]=130;break s}g=v[c+8>>2];xa:{if(g){if(!b){break xa}d=b&3;c=0;if(b-1>>>0>=3){f=b&-4;while(1){b=c<<2;v[b+e>>2]=v[b+g>>2]>>2;i=b|4;v[i+e>>2]=v[g+i>>2]>>2;i=b|8;v[i+e>>2]=v[g+i>>2]>>2;b=b|12;v[b+e>>2]=v[b+g>>2]>>2;c=c+4|0;f=f-4|0;if(f){continue}break}}if(!d){break xa}while(1){b=c<<2;v[b+e>>2]=v[b+g>>2]>>2;c=c+1|0;d=d-1|0;if(d){continue}break}break xa}if(!b){break xa}ic(e,0,b<<2)}break s}lq(a);break s;case 143:case 144:lq(a);break s;case 142:d=v[e+4>>2];b=d-1|0;if(b>>>0>=3){if(!w[a+565|0]){break s}h=134;break j}c=1<>2];if(!(!b|(b|0)==(c|0))){if(!w[a+565|0]){break s}h=134;break j}t[a+340|0]=b|w[a+340|0]&(c^-1);if((d|0)!=3|v[v[v[a>>2]+96>>2]+64>>2]!=40){break s}t[a+615|0]=(b|0)!=4;break s;case 141:b=v[e>>2];if((b|0)<0){break s}v[a+344>>2]=b&65535;break s;case 140:b=v[e+4>>2];if((b|0)>=v[e>>2]){break s}v[e>>2]=b;break s;case 139:b=v[e+4>>2];if((b|0)<=v[e>>2]){break s}v[e>>2]=b;break s;case 138:b=v[e+8>>2];c=v[e+4>>2];v[e+8>>2]=v[e>>2];v[e>>2]=c;v[e+4>>2]=b;break s;case 137:g=v[a+356>>2];if((g|0)==3){h=156;break j}d=v[a+412>>2];b=v[a+420>>2];ya:{za:{if(!b){c=0;break za}c=B(d,24)+b|0;Aa:{if((d|0)<1){break Aa}i=v[e>>2];while(1){if((i|0)==v[b+12>>2]){break Aa}b=b+24|0;if(c>>>0>b>>>0){continue}break}}if((b|0)!=(c|0)){break ya}}if(d>>>0>=y[a+416>>2]){h=141;break j}v[a+412>>2]=d+1;b=c}c=v[e>>2];if(c>>>0>255){h=141;break j}v[b+12>>2]=c;c=v[a+364>>2];t[b+16|0]=1;v[b>>2]=g;v[b+4>>2]=c+1;d=v[e>>2];if(d>>>0>y[a+428>>2]){v[a+428>>2]=d&255}g=v[a+368>>2];while(1){c=c+f|0;v[a+364>>2]=c;if((c|0)>=(g|0)){h=131;break j}d=w[c+k|0];t[a+372|0]=d;f=t[d+447584|0];v[a+376>>2]=f;if((d&254)==64){e=c+1|0;if((e|0)>=(g|0)){h=131;break j}f=2-B(w[e+k|0],f)|0;v[a+376>>2]=f}if((g|0)<(c+f|0)){h=131;break j}h=137;Ba:{switch(d-44|0){default:if((d|0)!=137){continue}break j;case 0:break j;case 1:break Ba}}break};v[b+8>>2]=c;break s;case 136:b=0;c=v[e>>2];b=c&1?v[v[v[a>>2]+96>>2]+64>>2]:b;b=c&2?w[a+285|0]?b|256:b:b;b=c&4?w[a+286|0]?b|512:b:b;b=c&8?v[v[a>>2]+736>>2]?b|1024:b:b;g=e;b=c&32?w[a+612|0]?b|4096:b:b;e=b;Ca:{if(!w[a+613|0]|v[v[v[a>>2]+96>>2]+64>>2]!=40){break Ca}d=c<<7;b=d&8192|b;if(c&256){b=w[a+614|0]?b|32768:b}b=d&393216|b;e=b;if(!(c&4096)){break Ca}e=w[a+618|0]?b|524288:b}v[g>>2]=e;break s;case 134:case 135:Da:{b=x[e>>1];if(b>>>0>1]){c=x[e+4>>1];if(c>>>0>1]){break Da}}if(!w[a+565|0]){break s}h=134;break j}d=b<<3;b=d+v[a+84>>2]|0;f=c<<3;c=f+v[a+120>>2]|0;g=v[b>>2]-v[c>>2]|0;b=v[b+4>>2]-v[c+4>>2]|0;c=b|g;g=c?g:16384;c=!c|!(i&1);e=c?g:0-b|0;b=c?b:g;if(e|b){v[j+28>>2]=b;v[j+24>>2]=e;Cs(j+24|0);u[a+294>>1]=v[j+24>>2]/4;u[a+296>>1]=v[j+28>>2]/4}b=d+v[a+88>>2]|0;d=f+v[a+124>>2]|0;f=v[b>>2]-v[d>>2]|0;b=v[b+4>>2]-v[d+4>>2]|0;d=b|f;f=d?f:16384;c=c|!d;d=c?f:0-b|0;b=c?b:f;if(d|b){v[j+28>>2]=b;v[j+24>>2]=d;Cs(j+24|0);u[a+298>>1]=v[j+24>>2]/4;u[a+300>>1]=v[j+28>>2]/4}f=x[a+302>>1];Ea:{if((f|0)==16384){b=u[a+298>>1];v[a+568>>2]=b;h=b;break Ea}b=u[a+304>>1];if((b|0)==16384){b=u[a+300>>1];v[a+568>>2]=b;h=x[a+298>>1];break Ea}h=u[a+298>>1];b=B(b,u[a+300>>1])+B(h,f<<16>>16)>>14;v[a+568>>2]=b}c=1999;v[a+576>>2]=(h&65535)!=16384?x[a+300>>1]==16384?2e3:2001:1999;c=x[a+294>>1]!=16384?x[a+296>>1]==16384?2e3:2002:c;v[a+592>>2]=2003;v[a+588>>2]=2004;v[a+580>>2]=c;Fa:{if((b|0)!=16384){break Fa}c=a;Ga:{if((f|0)==16384){f=2006;e=2005;break Ga}if(x[a+304>>1]!=16384){break Fa}f=2008;e=2007}v[c+592>>2]=e;v[a+588>>2]=f}c=b;b=b>>31;if((c+b^b)>>>0<=1023){v[a+568>>2]=16384}v[a+260>>2]=0;break s;case 133:b=v[e>>2];c=b&255;if((c|0)==255){t[a+341|0]=1;break s}if(!c){t[a+341|0]=0;break s}if(!(!(b&256)|c>>>0>1])){t[a+341|0]=1}if(!(!(b&512)|!w[a+285|0])){t[a+341|0]=1}if(!(!(b&1024)|!w[a+286|0])){t[a+341|0]=1}if(!(!(b&2048)|c>>>0>=x[a+256>>1])){t[a+341|0]=0}if(!(!(b&4096)|!w[a+285|0])){t[a+341|0]=0}if(!(b&8192)|!w[a+286|0]){break s}t[a+341|0]=0;break s;case 131:case 132:lq(a);break s;case 130:if(!(!w[a+616|0]|(!w[a+615|0]|v[v[v[a>>2]+96>>2]+64>>2]!=40))){if(w[a+617|0]){break s}}Ha:{d=x[e+4>>1];c=x[a+152>>1];if(d>>>0>=c>>>0){break Ha}b=x[e>>1];if(c>>>0<=b>>>0){break Ha}if(b>>>0>d>>>0){break s}c=b;while(1){b=v[a+168>>2]+b|0;t[b|0]=w[b|0]&254;c=c+1|0;b=c&65535;if(d>>>0>=b>>>0){continue}break}break s}if(!w[a+565|0]){break s}h=134;break j;case 129:if(!(!w[a+616|0]|(!w[a+615|0]|v[v[v[a>>2]+96>>2]+64>>2]!=40))){if(w[a+617|0]){break s}}Ia:{d=x[e+4>>1];c=x[a+152>>1];if(d>>>0>=c>>>0){break Ia}b=x[e>>1];if(c>>>0<=b>>>0){break Ia}if(b>>>0>d>>>0){break s}c=b;while(1){b=v[a+168>>2]+b|0;t[b|0]=w[b|0]|1;c=c+1|0;b=c&65535;if(d>>>0>=b>>>0){continue}break}break s}if(!w[a+565|0]){break s}h=134;break j;case 128:Ja:{if(!(!w[a+616|0]|(!w[a+615|0]|v[v[v[a>>2]+96>>2]+64>>2]!=40))){if(w[a+617|0]){break Ja}}Ka:{b=v[a+308>>2];if((b|0)<=v[a+16>>2]){if((b|0)>0){break Ka}break Ja}if(!w[a+565|0]){break Ja}v[a+12>>2]=129;break Ja}while(1){c=c-1|0;v[a+28>>2]=c;c=x[(c<<2)+g>>1];La:{if(c>>>0>=x[a+152>>1]){if(!w[a+565|0]){break La}h=134;break j}b=c+v[a+168>>2]|0;t[b|0]=w[b|0]^1;b=v[a+308>>2]}d=b-1|0;v[a+308>>2]=d;c=v[a+28>>2];if((b|0)<2){break Ja}g=v[a+24>>2];b=d;continue}}v[a+32>>2]=c;v[a+308>>2]=1;break s;case 125:v[a+572>>2]=2011;v[a+316>>2]=3;break s;case 124:v[a+572>>2]=2012;v[a+316>>2]=4;break s;case 123:lq(a);break s;case 122:v[a+572>>2]=2013;v[a+316>>2]=5;break s;case 121:if(v[e+4>>2]){break s}b=132;d=c;c=v[e>>2];Ma:{if(!(d|c)){break Ma}c=c+v[a+364>>2]|0;v[a+364>>2]=c;if((c|0)<0){break Ma}d=v[a+432>>2];if((d|0)>=1&(c|0)>v[v[(v[a+440>>2]+(d<<4)|0)-4>>2]+8>>2]){break Ma}t[a+380|0]=0;if(v[e>>2]>-1){break s}c=v[a+628>>2]+1|0;v[a+628>>2]=c;b=139;if(c>>>0<=y[a+632>>2]){break s}}v[a+12>>2]=b;break r;case 120:if(!v[e+4>>2]){break s}b=132;d=c;c=v[e>>2];Na:{if(!(d|c)){break Na}c=c+v[a+364>>2]|0;v[a+364>>2]=c;if((c|0)<0){break Na}d=v[a+432>>2];if((d|0)>=1&(c|0)>v[v[(v[a+440>>2]+(d<<4)|0)-4>>2]+8>>2]){break Na}t[a+380|0]=0;if(v[e>>2]>-1){break s}c=v[a+628>>2]+1|0;v[a+628>>2]=c;b=139;if(c>>>0<=y[a+632>>2]){break s}}v[a+12>>2]=b;break r;case 119:f=v[e>>2];b=f>>>4|0;d=v[(b&12)+449656>>2];v[a+480>>2]=d;Oa:{Pa:{Qa:{Ra:{c=b&3;switch(c-1|0){case 2:break Pa;case 1:break Qa;case 0:break Ra;default:break Oa}}c=d>>>10|0;break Oa}c=d>>>9|0;break Oa}c=B(d,3)>>>10|0}v[a+484>>2]=c;v[a+572>>2]=2014;v[a+316>>2]=7;b=a;c=f&15;if(c){c=(B(d,c-4|0)|0)/8|0}else{c=d-1|0}v[b+488>>2]=c>>8;v[a+480>>2]=d>>>8;break s;case 118:f=v[e>>2];b=f>>>4|0;d=v[(b&12)+449640>>2];v[a+480>>2]=d;Sa:{Ta:{Ua:{Va:{c=b&3;switch(c-1|0){case 2:break Ta;case 1:break Ua;case 0:break Va;default:break Sa}}c=d>>>10|0;break Sa}c=d>>>9|0;break Sa}c=B(d,3)>>>10|0}v[a+484>>2]=c;v[a+572>>2]=2015;v[a+316>>2]=6;b=a;c=f&15;if(c){c=(B(d,c-4|0)|0)/8|0}else{c=d-1|0}v[b+488>>2]=c>>8;v[a+480>>2]=d>>>8;break s;case 115:case 116:case 117:d=Ub[v[a+596>>2]](a)|0;c=1;f=v[e>>2];Wa:{if(!f){break Wa}while(1){b=v[a+28>>2];if((b|0)<=1){if(w[a+565|0]){v[a+12>>2]=129}v[a+28>>2]=0;break Wa}g=b-2|0;v[a+28>>2]=g;e=b<<2;b=v[a+24>>2];e=v[(e+b|0)-4>>2];Xa:{if(e>>>0>=y[a+384>>2]){if(!w[a+565|0]){break Xa}h=134;break j}g=v[b+(g<<2)>>2];b=g>>>4&15;Ya:{Za:{switch(w[a+372|0]-116|0){case 0:b=b|16;break Ya;case 1:break Za;default:break Ya}}b=b|32}if((d|0)!=(x[a+336>>1]+b|0)){break Xa}b=g&15;Ub[v[a+608>>2]](a,e,(b>>>0>7?-7:-8)+b<<6-x[a+338>>1])}c=c+1|0;if(f>>>0>=c>>>0){continue}break}}v[a+32>>2]=v[a+28>>2];break s;case 113:case 114:fZ(a,e);break s;case 112:b=v[e>>2];if(b>>>0>=y[a+384>>2]){if(!w[a+565|0]){break s}h=134;break j}c=Ac(v[e+4>>2],v[a+264>>2]);v[v[a+388>>2]+(b<<2)>>2]=c;break s;case 108:case 109:case 110:case 111:b=v[(((i&3)<<2)+a|0)+268>>2];c=v[e>>2];if((c|0)>=0){b=b+c|0;v[e>>2]=(b|0)>0?b:0;break s}b=c-b|0;v[e>>2]=b>>31&b;break s;case 104:case 105:case 106:case 107:Q=e,U=Ub[v[a+572>>2]](a,v[e>>2],i&3)|0,v[Q>>2]=U;break s;case 103:v[e>>2]=v[e>>2]+63&-64;break s;case 102:v[e>>2]=v[e>>2]&-64;break s;case 101:v[e>>2]=0-v[e>>2];break s;case 100:b=v[e>>2];if((b|0)>-1){break s}v[e>>2]=0-b;break s;case 99:Q=e,U=jd(v[e>>2],v[e+4>>2],64),v[Q>>2]=U;break s;case 98:b=v[e+4>>2];if(!b){h=133;break j}Q=e,U=_H(v[e>>2],64,b),v[Q>>2]=U;break s;case 97:v[e>>2]=v[e>>2]-v[e+4>>2];break s;case 96:v[e>>2]=v[e+4>>2]+v[e>>2];break s;case 95:b=v[e>>2];if(b>>>0>6){h=132;break j}u[a+338>>1]=b;break s;case 94:u[a+336>>1]=v[e>>2];break s;case 93:fZ(a,e);break s;case 92:v[e>>2]=!v[e>>2];break s;case 91:b=e;v[b>>2]=v[b>>2]?1:v[b+4>>2]!=0;break s;case 90:if(!v[e>>2]){v[e>>2]=0;break s}v[e>>2]=v[e+4>>2]!=0;break s;case 88:if(v[e>>2]){break s}c=v[a+364>>2];d=v[a+368>>2];l=1;_a:while(1){c=c+f|0;v[a+364>>2]=c;$a:{if((l|0)==1){if((c|0)>=(d|0)){h=131;break j}b=w[c+k|0];t[a+372|0]=b;f=t[b+447584|0];v[a+376>>2]=f;if((b&254)==64){g=c+1|0;if((g|0)>=(d|0)){h=131;break j}f=2-B(w[g+k|0],f)|0;v[a+376>>2]=f}if((d|0)<(c+f|0)){h=131;break j}ab:{switch(b-88|0){case 1:break s;case 0:break $a;default:break ab}}l=1;if((b|0)!=27){continue}break s}if((c|0)>=(d|0)){h=131;break j}bb:{while(1){g=w[c+k|0];t[a+372|0]=g;f=t[g+447584|0];v[a+376>>2]=f;if((g&254)==64){b=c+1|0;if((b|0)>=(d|0)){h=131;break j}f=2-B(w[b+k|0],f)|0;v[a+376>>2]=f}b=c+f|0;if((b|0)>(d|0)){h=131;break j}if((g|0)!=27){switch(g-88|0){case 0:break $a;case 1:break bb;default:continue _a}}v[a+364>>2]=b;c=b;if((b|0)<(d|0)){continue}break}h=131;break j}l=l-1|0;if(l){continue}break s}l=l+1|0;continue};case 87:Q=e,U=!(Ub[v[a+572>>2]](a,v[e>>2],3)&127),v[Q>>2]=U;break s;case 86:Q=e,U=(Ub[v[a+572>>2]](a,v[e>>2],3)&127)==64,v[Q>>2]=U;break s;case 85:v[e>>2]=v[e>>2]!=v[e+4>>2];break s;case 84:v[e>>2]=v[e>>2]==v[e+4>>2];break s;case 83:v[e>>2]=v[e>>2]>=v[e+4>>2];break s;case 82:v[e>>2]=v[e>>2]>v[e+4>>2];break s;case 81:v[e>>2]=v[e>>2]<=v[e+4>>2];break s;case 80:v[e>>2]=v[e>>2]>2];break s;case 78:t[a+320|0]=0;break s;case 77:t[a+320|0]=1;break s;case 76:if(v[v[v[a>>2]+96>>2]+64>>2]==35){Q=e,U=Ub[v[a+596>>2]](a)|0,v[Q>>2]=U;break s}v[e>>2]=v[a+216>>2];break s;case 75:Q=e,U=Ub[v[a+596>>2]](a)|0,v[Q>>2]=U;break s;case 73:case 74:cb:{db:{b=e;d=x[b>>1];if(d>>>0>1]){c=x[e+4>>1];if(c>>>0>1]){break db}}c=0;if(!w[a+565|0]){break cb}v[a+12>>2]=134;v[e>>2]=0;break s}if(i&1){b=v[a+52>>2]+(d<<3)|0;c=v[a+88>>2]+(c<<3)|0;Q=e,U=Ub[v[a+576>>2]](a,v[b>>2]-v[c>>2]|0,v[b+4>>2]-v[c+4>>2]|0)|0,v[Q>>2]=U;break s}if(!(x[a+350>>1]?x[a+348>>1]:0)){b=v[a+48>>2]+(d<<3)|0;c=v[a+84>>2]+(c<<3)|0;Q=e,U=Ub[v[a+580>>2]](a,v[b>>2]-v[c>>2]|0,v[b+4>>2]-v[c+4>>2]|0)|0,v[Q>>2]=U;break s}c=v[a+92>>2]+(c<<3)|0;d=v[a+56>>2]+(d<<3)|0;f=v[a+224>>2];if((f|0)==v[a+228>>2]){Q=e,U=Ac(Ub[v[a+580>>2]](a,v[d>>2]-v[c>>2]|0,v[d+4>>2]-v[c+4>>2]|0)|0,v[a+224>>2]),v[Q>>2]=U;break s}c=(U=a,R=Ac(v[d>>2]-v[c>>2]|0,f),S=Ac(v[d+4>>2]-v[c+4>>2]|0,v[a+228>>2]),Q=v[a+580>>2],Ub[Q](U|0,R|0,S|0)|0)}v[b>>2]=c;break s;case 72:b=x[e>>1];if(b>>>0>=x[a+116>>1]){if(!w[a+565|0]){break s}h=134;break j}c=b<<3;d=c+v[a+124>>2]|0;d=Ub[v[a+576>>2]](a,v[d>>2],v[d+4>>2])|0;Ub[v[a+588>>2]](a,p,b,v[e+4>>2]-d|0);if(x[a+352>>1]){break s}b=c+v[a+120>>2]|0;c=c+v[a+124>>2]|0;d=v[c+4>>2];v[b>>2]=v[c>>2];v[b+4>>2]=d;break s;case 70:case 71:b=e;c=v[b>>2];eb:{if(c>>>0>=x[a+116>>1]){c=0;if(!w[a+565|0]){break eb}v[a+12>>2]=134;v[e>>2]=0;break s}if(i&1){b=v[a+120>>2]+(c<<3)|0;Q=e,S=Ub[v[a+580>>2]](a,v[b>>2],v[b+4>>2])|0,v[Q>>2]=S;break s}c=v[a+124>>2]+(c<<3)|0;c=Ub[v[a+576>>2]](a,v[c>>2],v[c+4>>2])|0}v[b>>2]=c;break s;case 69:b=e;e=b;c=v[b>>2];fb:{if(c>>>0>=y[a+384>>2]){b=0;if(!w[a+565|0]){break fb}h=134;break j}b=Ub[v[a+600>>2]](a,c)|0}v[e>>2]=b;break s;case 68:b=v[e>>2];if(b>>>0>=y[a+384>>2]){if(!w[a+565|0]){break s}h=134;break j}Ub[v[a+604>>2]](a,b,v[e+4>>2]);break s;case 67:b=e;e=b;c=v[b>>2];gb:{if(c>>>0>=x[a+472>>1]){b=0;if(!w[a+565|0]){break gb}h=134;break j}b=v[v[a+476>>2]+(c<<2)>>2]}v[e>>2]=b;break s;case 66:b=v[e>>2];if(b>>>0>=x[a+472>>1]){if(!w[a+565|0]){break s}h=134;break j}v[v[a+476>>2]+(b<<2)>>2]=v[e+4>>2];break s;case 65:h=130;g=(b-v[a+16>>2]|0)+1|0;b=v[a+364>>2];c=b+k|0;d=w[c+1|0];if(g>>>0<=d>>>0){break j}f=b+2|0;v[a+364>>2]=f;hb:{if(!d){break hb}v[a+364>>2]=b+4;v[e>>2]=(w[c+3|0]|w[f+k|0]<<8)<<16>>16;b=1;c=1;if((d|0)==1){break hb}while(1){f=v[a+364>>2];v[a+364>>2]=f+2;g=e+(b<<2)|0;b=f+k|0;b=w[b|0]|w[b+1|0]<<8;v[g>>2]=(b<<8|b>>>8)<<16>>16;c=c+1|0;b=c&65535;if(d>>>0>b>>>0){continue}break}}t[a+380|0]=0;v[a+32>>2]=d+v[a+32>>2];break s;case 64:h=130;c=(b-v[a+16>>2]|0)+1|0;b=k+v[a+364>>2]|0;d=w[b+1|0];if(c>>>0<=d>>>0){break j}ib:{if(!d){break ib}v[e>>2]=w[b+2|0];b=2;c=2;if((d|0)==1){break ib}while(1){v[(e+(b<<2)|0)-4>>2]=w[(k+(v[a+364>>2]+b|0)|0)+1|0];c=c+1|0;b=c&65535;if(d>>>0>=b>>>0){continue}break}}v[a+32>>2]=d+v[a+32>>2];break s;case 62:case 63:jb:{kb:{c=x[e>>1];if(c>>>0>1]){b=v[e+4>>2];if(b>>>0>2]){break kb}}if(!w[a+565|0]){break jb}v[a+12>>2]=134;break jb}b=Ub[v[a+600>>2]](a,b)|0;if(!x[a+348>>1]){f=u[a+302>>1];d=f>>31;e=d^d+f;d=b>>31;i=d+b^d;h=i>>>16|0;k=B(e,h);g=k<<16|8192;m=c<<3;d=m+v[a+48>>2]|0;q=g;r=e;e=i&65535;g=g+B(r,e)|0;g=(k>>>16|0)+(q>>>0>g>>>0)<<18|g>>>14;v[d>>2]=(b^f)>-1?g:0-g|0;f=u[a+304>>1];g=f>>31;i=g^f+g;h=B(i,h);g=h<<16|8192;k=g;g=g+B(e,i)|0;g=(h>>>16|0)+(k>>>0>g>>>0)<<18|g>>>14;v[d+4>>2]=(b^f)>-1?g:0-g|0;g=v[d+4>>2];f=m+v[a+52>>2]|0;v[f>>2]=v[d>>2];v[f+4>>2]=g}d=v[a+52>>2]+(c<<3)|0;e=Ub[v[a+576>>2]](a,v[d>>2],v[d+4>>2])|0;d=a;f=o;g=c;if(t[a+372|0]&1){h=b-e|0;i=h>>31;b=Ub[v[a+572>>2]](a,v[a+324>>2]<(i^h+i)?e:b,3)|0}Ub[v[a+588>>2]](d,f,g,b-e|0)}u[a+290>>1]=c;u[a+288>>1]=c;break s;case 61:v[a+572>>2]=2016;v[a+316>>2]=2;break s;case 60:lb:{b=v[a+308>>2];if(!(x[a+288>>1]>1]&(b|0)<=v[a+16>>2])){if(!w[a+565|0]){break lb}v[a+12>>2]=134;break lb}if((b|0)<1){break lb}while(1){c=c-1|0;v[a+28>>2]=c;c=x[(c<<2)+g>>1];mb:{if(c>>>0>=x[a+80>>1]){if(!w[a+565|0]){break mb}h=134;break j}e=c;b=v[a+88>>2]+(c<<3)|0;c=v[a+52>>2]+(x[a+288>>1]<<3)|0;S=a,R=n,U=e,T=0-(Ub[v[a+576>>2]](a,v[b>>2]-v[c>>2]|0,v[b+4>>2]-v[c+4>>2]|0)|0)|0,Q=v[a+588>>2],Ub[Q](S|0,R|0,U|0,T|0);b=v[a+308>>2]}d=b-1|0;v[a+308>>2]=d;c=v[a+28>>2];if((b|0)<2){break lb}g=v[a+24>>2];b=d;continue}}v[a+32>>2]=c;v[a+308>>2]=1;break s;case 58:case 59:nb:{b=x[e>>1];if(b>>>0>1]){c=x[a+288>>1];if(c>>>0>1]){break nb}}if(!w[a+565|0]){break s}h=134;break j}if(!x[a+350>>1]){c=v[a+48>>2]+(c<<3)|0;g=v[c+4>>2];d=b<<3;f=d+v[a+84>>2]|0;v[f>>2]=v[c>>2];v[f+4>>2]=g;Ub[v[a+592>>2]](a,n,b,v[e+4>>2]);c=d+v[a+88>>2]|0;d=d+v[a+84>>2]|0;f=v[d+4>>2];v[c>>2]=v[d>>2];v[c+4>>2]=f;c=x[a+288>>1]}d=v[a+88>>2]+(b<<3)|0;c=v[a+52>>2]+(c<<3)|0;c=Ub[v[a+576>>2]](a,v[d>>2]-v[c>>2]|0,v[d+4>>2]-v[c+4>>2]|0)|0;Ub[v[a+588>>2]](a,n,b,v[e+4>>2]-c|0);u[a+292>>1]=b;u[a+290>>1]=x[a+288>>1];if(!(t[a+372|0]&1)){break s}u[a+288>>1]=b;break s;case 57:ob:{pb:{b=v[a+308>>2];qb:{if((b|0)>v[a+16>>2]){if(w[a+565|0]){break qb}break ob}c=1;c=!x[a+348>>1]|!x[a+350>>1]?c:!x[a+352>>1];d=x[a+290>>1];if(d>>>0>1]){break pb}if(!w[a+565|0]){break ob}}v[a+12>>2]=134;break ob}i=v[(c?48:56)+a>>2];f=d<<3;g=i+f|0;m=v[a+52>>2];e=m+f|0;k=0;f=0;h=x[a+292>>1];if(h>>>0>1]){rb:{if(c){b=v[a+84>>2]+(h<<3)|0;f=Ub[v[a+580>>2]](a,v[b>>2]-v[g>>2]|0,v[b+4>>2]-v[(i+(d<<3)|0)+4>>2]|0)|0;break rb}b=v[a+224>>2];if((b|0)==v[a+228>>2]){b=v[a+92>>2]+(h<<3)|0;f=Ub[v[a+580>>2]](a,v[b>>2]-v[g>>2]|0,v[b+4>>2]-v[(i+(d<<3)|0)+4>>2]|0)|0;break rb}f=(T=a,U=Ac(v[v[a+92>>2]+(h<<3)>>2]-v[g>>2]|0,b),R=Ac(v[(v[a+92>>2]+(x[a+292>>1]<<3)|0)+4>>2]-v[(i+(d<<3)|0)+4>>2]|0,v[a+228>>2]),Q=v[a+580>>2],Ub[Q](T|0,U|0,R|0)|0)}b=v[a+88>>2]+(x[a+292>>1]<<3)|0;k=Ub[v[a+576>>2]](a,v[b>>2]-v[e>>2]|0,v[b+4>>2]-v[(m+(d<<3)|0)+4>>2]|0)|0;b=v[a+308>>2]}if((b|0)<1){break ob}if(c){while(1){c=v[a+28>>2]-1|0;v[a+28>>2]=c;d=a;c=v[v[a+24>>2]+(c<<2)>>2];sb:{if(c>>>0>=x[a+116>>1]){if(!w[a+565|0]){break sb}h=134;break j}i=c<<3;b=i+v[a+120>>2]|0;b=Ub[v[a+580>>2]](a,v[b>>2]-v[g>>2]|0,v[b+4>>2]-v[g+4>>2]|0)|0;i=i+v[a+124>>2]|0;i=Ub[v[a+576>>2]](a,v[i>>2]-v[e>>2]|0,v[i+4>>2]-v[e+4>>2]|0)|0;h=a;m=p;c=c&65535;if(!(!b|!f)){b=jd(b,k,f)}Ub[v[a+588>>2]](h,m,c,b-i|0);b=v[a+308>>2]}c=b;b=c-1|0;v[d+308>>2]=b;if((c|0)>1){continue}break ob}}while(1){c=v[a+28>>2]-1|0;v[a+28>>2]=c;d=a;c=v[v[a+24>>2]+(c<<2)>>2];tb:{if(c>>>0>=x[a+116>>1]){if(!w[a+565|0]){break tb}h=134;break j}b=v[a+224>>2];ub:{if((b|0)==v[a+228>>2]){b=v[a+128>>2]+(c<<3)|0;b=Ub[v[a+580>>2]](a,v[b>>2]-v[g>>2]|0,v[b+4>>2]-v[g+4>>2]|0)|0;break ub}i=c<<3;b=(R=a,U=Ac(v[i+v[a+128>>2]>>2]-v[g>>2]|0,b),T=Ac(v[(i+v[a+128>>2]|0)+4>>2]-v[g+4>>2]|0,v[a+228>>2]),Q=v[a+580>>2],Ub[Q](R|0,U|0,T|0)|0)}i=v[a+124>>2]+(c<<3)|0;i=Ub[v[a+576>>2]](a,v[i>>2]-v[e>>2]|0,v[i+4>>2]-v[e+4>>2]|0)|0;h=a;m=p;c=c&65535;if(!(!b|!f)){b=jd(b,k,f)}Ub[v[a+588>>2]](h,m,c,b-i|0);b=v[a+308>>2]}c=b;b=c-1|0;v[d+308>>2]=b;if((c|0)>1){continue}break}}v[a+308>>2]=1;v[a+32>>2]=v[a+28>>2];break s;case 56:f=1;f=!x[a+348>>1]|!x[a+350>>1]?f:!x[a+352>>1];vb:{b=v[a+308>>2];if((b|0)>=v[a+16>>2]){if(!w[a+565|0]){break vb}v[a+12>>2]=134;break vb}if((b|0)<1){break vb}d=u[a+304>>1];i=d>>31;b=v[e>>2];e=b>>31;i=i^d+i;h=e^b+e;k=h>>>16|0;m=B(i,k);e=m<<16|8192;q=e;r=i;i=h&65535;e=e+B(r,i)|0;e=(m>>>16|0)+(q>>>0>e>>>0)<<18|e>>>14;h=(b^d)>-1?e:0-e|0;d=u[a+302>>1];e=d>>31;m=k;k=e^e+d;m=B(m,k);e=m<<16|8192;q=e;e=e+B(i,k)|0;e=(m>>>16|0)+(q>>>0>e>>>0)<<18|e>>>14;d=(b^d)>-1?e:0-e|0;while(1){b=c-1|0;v[a+28>>2]=b;b=x[(b<<2)+g>>1];wb:{if(b>>>0>=x[a+116>>1]){if(!w[a+565|0]){break wb}h=134;break j}xb:{yb:{zb:{Ab:{if(v[v[v[a>>2]+96>>2]+64>>2]==40){if(w[a+615|0]){Bb:{if(f){break Bb}if(w[a+617|0]?w[a+616|0]:0){break wb}if(x[a+304>>1]?w[a+564|0]:0){break Bb}if(!(w[b+v[a+132>>2]|0]&16)){break wb}}if(x[a+302>>1]){c=b+v[a+132>>2]|0;t[c|0]=w[c|0]|8}if(!x[a+304>>1]){break wb}if(!w[a+615|0]|v[v[v[a>>2]+96>>2]+64>>2]!=40|(!w[a+616|0]|!w[a+617|0])){break yb}break xb}if(x[a+302>>1]){break Ab}break zb}if(!x[a+302>>1]){break zb}}c=v[a+124>>2]+(b<<3)|0;v[c>>2]=d+v[c>>2];c=b+v[a+132>>2]|0;t[c|0]=w[c|0]|8}if(!x[a+304>>1]){break wb}if(!w[a+616|0]|(!w[a+615|0]|v[v[v[a>>2]+96>>2]+64>>2]!=40)){break yb}if(w[a+617|0]){break xb}}c=v[a+124>>2]+(b<<3)|0;v[c+4>>2]=h+v[c+4>>2]}b=b+v[a+132>>2]|0;t[b|0]=w[b|0]|16}b=v[a+308>>2];v[a+308>>2]=b-1;c=v[a+28>>2];if((b|0)<2){break vb}g=v[a+24>>2];continue}}v[a+32>>2]=c;v[a+308>>2]=1;break s;case 54:case 55:if(y[e>>2]>=2){if(!w[a+565|0]){break s}v[a+12>>2]=134;break s}if(tH(a,j+16|0,j+12|0,j+24|0,j+22|0)){break s}Cb:{Db:{switch(x[a+352>>1]){case 0:b=x[a+116>>1];break Cb;case 1:break Db;default:break s}}b=u[a+118>>1];if((b|0)<1){break s}b=x[(v[a+136>>2]+((b&65535)<<1)|0)-2>>1]+1|0}if(!(b&65535)){break s}c=v[j+12>>2];d=v[j+16>>2];f=v[j+40>>2];g=v[a+124>>2];if((f|0)==(g|0)){g=x[j+22>>1];e=b&65535;b=0;while(1){Eb:{if((b|0)==(g|0)){break Eb}if(!(!x[a+302>>1]|(w[a+615|0]?v[v[v[a>>2]+96>>2]+64>>2]==40:0))){i=f+(b<<3)|0;v[i>>2]=d+v[i>>2]}if(!x[a+304>>1]){break Eb}if(!(!w[a+616|0]|(!w[a+615|0]|v[v[v[a>>2]+96>>2]+64>>2]!=40))){if(w[a+617|0]){break Eb}}i=f+(b<<3)|0;v[i+4>>2]=c+v[i+4>>2]}b=b+1|0;if((e|0)!=(b|0)){continue}break}break s}f=x[a+302>>1];if(!x[a+304>>1]){if(!f){break s}f=v[v[v[a>>2]+96>>2]+64>>2];c=0;e=b&65535;if((e|0)!=1){h=e&65534;while(1){if(!(w[a+615|0]?(f|0)==40:0)){e=g+(c<<3)|0;v[e>>2]=d+v[e>>2]}if(!(w[a+615|0]?(f|0)==40:0)){e=g+((c|1)<<3)|0;v[e>>2]=d+v[e>>2]}c=c+2|0;h=h-2|0;if(h){continue}break}}if(!(b&1)|(w[a+615|0]?(f|0)==40:0)){break s}b=g+(c<<3)|0;v[b>>2]=d+v[b>>2];break s}e=v[v[v[a>>2]+96>>2]+64>>2];if(!f){if((e|0)!=40){d=b&3;f=0;b=b&65535;if(b-1>>>0>=3){l=b&65532;while(1){b=f<<3;e=b+g|0;v[e+4>>2]=c+v[e+4>>2];e=g+(b|8)|0;v[e+4>>2]=c+v[e+4>>2];e=g+(b|16)|0;v[e+4>>2]=c+v[e+4>>2];b=g+(b|24)|0;v[b+4>>2]=c+v[b+4>>2];f=f+4|0;l=l-4|0;if(l){continue}break}}if(!d){break s}while(1){b=g+(f<<3)|0;v[b+4>>2]=c+v[b+4>>2];f=f+1|0;d=d-1|0;if(d){continue}break}break s}if(!w[a+615|0]){d=b&3;f=0;b=b&65535;if(b-1>>>0>=3){l=b&65532;while(1){b=f<<3;e=b+g|0;v[e+4>>2]=c+v[e+4>>2];e=g+(b|8)|0;v[e+4>>2]=c+v[e+4>>2];e=g+(b|16)|0;v[e+4>>2]=c+v[e+4>>2];b=g+(b|24)|0;v[b+4>>2]=c+v[b+4>>2];f=f+4|0;l=l-4|0;if(l){continue}break}}if(!d){break s}while(1){b=g+(f<<3)|0;v[b+4>>2]=c+v[b+4>>2];f=f+1|0;d=d-1|0;if(d){continue}break}break s}if(!w[a+616|0]){d=b&3;f=0;b=b&65535;if(b-1>>>0>=3){l=b&65532;while(1){b=f<<3;e=b+g|0;v[e+4>>2]=c+v[e+4>>2];e=g+(b|8)|0;v[e+4>>2]=c+v[e+4>>2];e=g+(b|16)|0;v[e+4>>2]=c+v[e+4>>2];b=g+(b|24)|0;v[b+4>>2]=c+v[b+4>>2];f=f+4|0;l=l-4|0;if(l){continue}break}}if(!d){break s}while(1){b=g+(f<<3)|0;v[b+4>>2]=c+v[b+4>>2];f=f+1|0;d=d-1|0;if(d){continue}break}break s}if(w[a+617|0]){break s}d=b&3;f=0;b=b&65535;if(b-1>>>0>=3){l=b&65532;while(1){b=f<<3;e=b+g|0;v[e+4>>2]=c+v[e+4>>2];e=g+(b|8)|0;v[e+4>>2]=c+v[e+4>>2];e=g+(b|16)|0;v[e+4>>2]=c+v[e+4>>2];b=g+(b|24)|0;v[b+4>>2]=c+v[b+4>>2];f=f+4|0;l=l-4|0;if(l){continue}break}}if(!d){break s}while(1){b=g+(f<<3)|0;v[b+4>>2]=c+v[b+4>>2];f=f+1|0;d=d-1|0;if(d){continue}break}break s}if((e|0)==40){b=b&65535;e=w[a+615|0];f=0;while(1){Fb:{Gb:{if(!e){i=g+(f<<3)|0;v[i>>2]=d+v[i>>2];break Gb}if(!w[a+616|0]){break Gb}if(w[a+617|0]){break Fb}}i=g+(f<<3)|0;v[i+4>>2]=c+v[i+4>>2]}f=f+1|0;if((b|0)!=(f|0)){continue}break}break s}h=0;f=b&65535;if((f|0)!=1){l=f&65534;while(1){e=h<<3;f=e+g|0;v[f>>2]=d+v[f>>2];v[f+4>>2]=c+v[f+4>>2];f=g+(e|8)|0;v[f>>2]=d+v[f>>2];v[f+4>>2]=c+v[f+4>>2];h=h+2|0;l=l-2|0;if(l){continue}break}}if(!(b&1)){break s}b=g+(h<<3)|0;v[b>>2]=d+v[b>>2];v[b+4>>2]=c+v[b+4>>2];break s;case 52:case 53:b=v[e>>2]<<16;c=b>>16;if(c>>>0>=(x[a+352>>1]?u[a+118>>1]:1)>>>0){if(!w[a+565|0]){break s}v[a+12>>2]=134;break s}if(tH(a,j+16|0,j+12|0,j+24|0,j+22|0)){break s}b=(b?(x[(v[a+136>>2]+(c<<1)|0)-2>>1]-x[a+140>>1]|0)+1|0:0)&65535;e=b;if(x[a+352>>1]){c=(x[v[a+136>>2]+(c<<1)>>1]-x[a+140>>1]|0)+1|0}else{c=x[a+116>>1]}c=c&65535;if(e>>>0>=c>>>0){break s}d=v[j+12>>2];f=v[j+16>>2];g=v[j+40>>2];e=x[j+22>>1];while(1){i=v[a+124>>2];Hb:{if((i|0)==(g|0)&(b|0)==(e|0)){break Hb}if(x[a+302>>1]){if(!(w[a+615|0]?v[v[v[a>>2]+96>>2]+64>>2]==40:0)){i=i+(b<<3)|0;v[i>>2]=f+v[i>>2]}i=v[a+132>>2]+b|0;t[i|0]=w[i|0]|8}if(!x[a+304>>1]){break Hb}Ib:{if(!(!w[a+616|0]|(!w[a+615|0]|v[v[v[a>>2]+96>>2]+64>>2]!=40))){if(w[a+617|0]){break Ib}}i=v[a+124>>2]+(b<<3)|0;v[i+4>>2]=d+v[i+4>>2]}i=v[a+132>>2]+b|0;t[i|0]=w[i|0]|16}b=b+1|0;if((c|0)!=(b|0)){continue}break};break s;case 50:case 51:Jb:{if(v[a+16>>2]>2]){if(!w[a+565|0]){break Jb}v[a+12>>2]=134;break Jb}if(tH(a,j+16|0,j+12|0,j+24|0,j+22|0)){break s}if(v[a+308>>2]<1){break Jb}c=v[j+12>>2];d=v[j+16>>2];while(1){b=v[a+28>>2]-1|0;v[a+28>>2]=b;b=x[v[a+24>>2]+(b<<2)>>1];Kb:{if(b>>>0>=x[a+116>>1]){if(!w[a+565|0]){break Kb}v[a+12>>2]=134;break s}if(x[a+302>>1]){if(!(w[a+615|0]?v[v[v[a>>2]+96>>2]+64>>2]==40:0)){f=v[a+124>>2]+(b<<3)|0;v[f>>2]=d+v[f>>2]}f=b+v[a+132>>2]|0;t[f|0]=w[f|0]|8}if(!x[a+304>>1]){break Kb}Lb:{if(!(!w[a+616|0]|(!w[a+615|0]|v[v[v[a>>2]+96>>2]+64>>2]!=40))){if(w[a+617|0]){break Lb}}f=v[a+124>>2]+(b<<3)|0;v[f+4>>2]=c+v[f+4>>2]}b=b+v[a+132>>2]|0;t[b|0]=w[b|0]|16}b=v[a+308>>2];v[a+308>>2]=b-1;if((b|0)>1){continue}break}}v[a+308>>2]=1;v[a+32>>2]=v[a+28>>2];break s;case 48:case 49:Mb:{if(!w[a+615|0]|v[v[v[a>>2]+96>>2]+64>>2]!=40){break Mb}if(w[a+617|0]?w[a+616|0]:0){break s}if(i&1){t[a+616|0]=1;break Mb}t[a+617|0]=1}if(!x[a+154>>1]){break s}Nb:{if(i&1){s=v[a+156>>2];v[j+24>>2]=s;l=v[a+160>>2];v[j+28>>2]=l;A=v[a+164>>2];v[j+32>>2]=A;r=8;break Nb}s=v[a+156>>2]+4|0;v[j+24>>2]=s;l=v[a+160>>2]+4|0;v[j+28>>2]=l;A=v[a+164>>2]+4|0;v[j+32>>2]=A;r=16}q=x[a+152>>1];v[j+36>>2]=q;D=0;b=q;k=0;while(1){c=x[v[a+172>>2]+(D<<1)>>1]-x[a+176>>1]|0;b=b&65535;z=b>>>0>c>>>0?c:b-1|0;Ob:{if(z>>>0>>0){f=k;break Ob}b=v[a+168>>2];d=k;Pb:{while(1){Qb:{f=d+1|0;if(r&w[b+d|0]){i=f;h=d;c=d;Rb:{Sb:{I=f>>>0>z>>>0;if(!I){while(1){e=i;Tb:{if(!(r&w[e+b|0])){g=c;break Tb}g=e;b=c+1|0;if(h>>>0>>0|c>>>0>=q>>>0|e>>>0>=q>>>0){break Tb}m=v[(e<<3)+A>>2];g=v[(c<<3)+A>>2];Ub:{if((m|0)>=(g|0)){i=m;m=g;g=e;break Ub}i=g;g=c;c=e}C=g<<3;g=v[C+l>>2];H=v[s+C>>2];J=g-H|0;C=c<<3;c=v[C+l>>2];C=v[s+C>>2];K=c-C|0;Vb:{if(!((c|0)==(g|0)|(i|0)==(m|0))){N=i-m|0;O=g-c|0;L=0;i=0;while(1){g=b<<3;P=g+l|0;g=v[g+s>>2];Wb:{if((g|0)<=(C|0)){G=g+K|0;break Wb}G=g+J|0;if((g|0)>=(H|0)){break Wb}if(!L){i=ad(O,N)}L=1;G=Ac(v[(b<<3)+A>>2]-m|0,i)+c|0}v[P>>2]=G;b=b+1|0;if(h>>>0>=b>>>0){continue}break}break Vb}while(1){i=b<<3;g=v[i+s>>2];v[i+l>>2]=(g|0)>(C|0)?(g|0)<(H|0)?c:g+J|0:g+K|0;b=b+1|0;if(h>>>0>=b>>>0){continue}break}}g=e}i=e+1|0;if(z>>>0>=i>>>0){b=v[a+168>>2];h=e;c=g;continue}break}if((d|0)!=(g|0)){break Sb}}b=d<<3;g=v[b+l>>2]-v[b+s>>2]|0;if(!g){break Pb}if(d>>>0<=k>>>0){break Qb}b=(k^-1)+d|0;c=d-k&3;if(c){while(1){e=(k<<3)+l|0;v[e>>2]=g+v[e>>2];k=k+1|0;c=c-1|0;if(c){continue}break}}if(b>>>0>2){break Rb}break Qb}eZ(j+24|0,g+1&65535,z,g,d);if(!d){break Pb}eZ(j+24|0,k,d-1|0,g,d);break Pb}while(1){b=(k<<3)+l|0;v[b>>2]=g+v[b>>2];v[b+8>>2]=g+v[b+8>>2];v[b+16>>2]=g+v[b+16>>2];v[b+24>>2]=g+v[b+24>>2];k=k+4|0;if((k|0)!=(d|0)){continue}break}break Qb}d=f;if(z>>>0>=d>>>0){continue}break Ob}break}if(I){break Pb}while(1){b=(f<<3)+l|0;v[b>>2]=g+v[b>>2];f=f+1|0;if(z>>>0>=f>>>0){continue}break}}f=i}D=D+1|0;if((D|0)>=u[a+154>>1]){break s}b=x[a+152>>1];k=f;continue};case 46:case 47:b=x[e>>1];if(b>>>0>=x[a+44>>1]){if(!w[a+565|0]){break s}h=134;break j}c=a;e=o;d=b;if(i&1){g=v[a+52>>2]+(b<<3)|0;g=Ub[v[a+576>>2]](a,v[g>>2],v[g+4>>2])|0;g=(Ub[v[a+572>>2]](a,g,3)|0)-g|0}else{g=0}Ub[v[a+588>>2]](c,e,d,g);u[a+290>>1]=b;u[a+288>>1]=b;break s;case 79:break j;case 45:break t}}c=v[a+432>>2];if((c|0)<1){h=136;break j}b=c-1|0;v[a+432>>2]=b;b=v[a+440>>2]+(b<<4)|0;d=v[b+8>>2];v[b+8>>2]=d-1;t[a+380|0]=0;if((d|0)>=2){v[a+432>>2]=c;v[a+364>>2]=v[v[b+12>>2]+4>>2];break s}c=v[b>>2];d=c-1|0;if(d>>>0>2){h=132;break j}d=(d<<3)+a|0;f=v[d+448>>2];if(!f){h=138;break j}d=v[d+452>>2];b=v[b+4>>2];if((d|0)<(b|0)){h=131;break j}v[a+368>>2]=d;v[a+360>>2]=f;v[a+364>>2]=b;v[a+356>>2]=c}b=v[a+12>>2]}if(b){h=128;if((b|0)!=128){break i}b=v[a+420>>2];if(!b){break j}c=v[a+412>>2];if((c|0)<1){break j}c=B(c,24)+b|0;while(1){if(!(!w[b+16|0]|w[a+372|0]!=w[b+12|0])){c=v[a+432>>2];if((c|0)>=v[a+436>>2]){h=134;break j}c=v[a+440>>2]+(c<<4)|0;v[c>>2]=v[a+356>>2];d=v[a+364>>2];v[c+12>>2]=b;v[c+8>>2]=1;v[c+4>>2]=d+1;c=v[b>>2];d=c-1|0;if(d>>>0>2){h=132;break j}d=(d<<3)+a|0;f=v[d+448>>2];if(!f){h=138;break j}d=v[d+452>>2];b=v[b+4>>2];if((d|0)>=(b|0)){break o}h=131;break j}b=b+24|0;if(c>>>0>b>>>0){continue}break}break j}v[a+16>>2]=v[a+32>>2];if(!w[a+380|0]){break p}}v[a+364>>2]=v[a+364>>2]+v[a+376>>2]}M=M+1|0;if(M>>>0<=1e6){break n}b=139;break i}v[a+368>>2]=d;v[a+360>>2]=f;v[a+364>>2]=b;v[a+356>>2]=c}c=v[a+364>>2];if((c|0)>=v[a+368>>2]){b=0;h=131;if(v[a+432>>2]>0){break j}break i}if(!w[a+492|0]){continue}break}b=0;break i}v[a+12>>2]=h;b=h}Qb=j- -64|0;return b|0}function $1(a){a=a|0;var 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,u=0,y=0,A=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,_=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=C(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=C(0),Ia=0,Ja=0,Ka=0,La=C(0);b=v[a>>2];c=jc(28);a:{if(c){v[c>>2]=0;v[c+4>>2]=0;v[c+24>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=b;b=jc(12);if(b){v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;v[c+4>>2]=b;break a}dc(c)}c=0}I=v[a+40>>2];ba=Qb-256|0;Qb=ba;J=c;Q=v[a+44>>2];v[c+12>>2]=Q;v[c+8>>2]=I;d=v[c+4>>2];e=v[Q+48>>2];v[d>>2]=e;c=v[Q+52>>2];v[d+4>>2]=c;b=B(B(c,e),840);c=jc(b);b:{if(c){Ja=d,Ka=ic(c,0,b),v[Ja+8>>2]=Ka;c:{d:{e:{f:{h=v[Q+60>>2];if((h|0)<1){break f}while(1){n=v[Q+88>>2];p=v[v[Q+56>>2]+(K<<2)>>2];u=B(p,840)+c|0;d=v[I>>2];f=v[Q+28>>2];l=v[Q+36>>2];k=(p|0)/(e|0)|0;r=p-B(k,e)|0;b=f+B(l,r)|0;v[u>>2]=(b|0)<(d|0)?d:b;d=v[I+4>>2];e=v[Q+32>>2];g=v[Q+40>>2];b=e+B(g,k)|0;v[u+4>>2]=(b|0)<(d|0)?d:b;d=v[I+8>>2];b=f+B(l,r+1|0)|0;v[u+8>>2]=(b|0)>(d|0)?d:b;d=v[I+12>>2];b=e+B(g,k+1|0)|0;v[u+12>>2]=(b|0)>(d|0)?d:b;b=v[I+16>>2];v[u+16>>2]=b;b=b<<5;e=jc(b);if(!e){break c}Ja=u,Ka=ic(e,0,b),v[Ja+20>>2]=Ka;if(v[u+16>>2]>=1){y=(n+B(p,1876)|0)+1872|0;o=0;while(1){f=v[y>>2];V=(o<<5)+e|0;fa=B(o,48);c=fa+v[I+24>>2]|0;r=v[c>>2];b=r-1|0;g=(b+v[u>>2]|0)/(r|0)|0;v[V>>2]=g;h=v[c+4>>2];c=h-1|0;d=(c+v[u+4>>2]|0)/(h|0)|0;v[V+4>>2]=d;b=(b+v[u+8>>2]|0)/(r|0)|0;v[V+8>>2]=b;c=(c+v[u+12>>2]|0)/(h|0)|0;v[V+12>>2]=c;b=B(b-g|0,c-d|0)<<2;c=jc(b);if(!c){v[((o<<5)+e|0)+24>>2]=0;Fq(J);v[v[J>>2]+20>>2]=1;break b}Ja=V,Ka=ic(c,0,b),v[Ja+24>>2]=Ka;O=f+B(o,1076)|0;c=v[O+4>>2];v[V+16>>2]=c;c=B(c,124);la=jc(c);if(!la){break d}Ja=V,Ka=ic(la,0,c),v[Ja+20>>2]=Ka;g:{e=v[V+16>>2];if((e|0)<1){break g}ca=0;while(1){N=B(ca,124)+la|0;G=(ca^-1)+e|0;p=-1<>2]>>G;v[N>>2]=f;g=p+v[V+4>>2]>>G;v[N+4>>2]=g;d=p+v[V+8>>2]>>G;v[N+8>>2]=d;c=v[V+12>>2];v[N+24>>2]=ca?3:1;b=c+p>>G;v[N+12>>2]=b;$=15;R=15;if(t[O|0]&1){c=O+(ca<<2)|0;$=v[c+944>>2];R=v[c+812>>2]}c=-1<<$;na=c&g;qa=1<<$;v[N+20>>2]=(b|0)==(g|0)?0:(c&(b+qa|0)-1)-na>>$;c=-1<>2]=(d|0)==(f|0)?0:(c&(d+ra|0)-1)-Y>>R;if(ca){$=$-1|0;qa=1<<$;R=R-1|0;ra=1<>1;Y=Y+1>>1}ja=B(ca,3)-2|0;k=e-ca|0;W=1<>2];ga=(c|0)>($|0)?$:c;ha=1<>2];ka=(c|0)>(R|0)?R:c;L=1<>2]=l;h:{if(!ca){d=p+v[V+8>>2]>>G;f=p+v[V+4>>2]>>G;h=p+v[V>>2]>>G;g=v[V+12>>2];e=p;c=G;break h}c=W+(((l&2147483645)==1)<>2]>>k;g=W+(((l&2147483646)==2)<>2]>>k;h=c+v[V>>2]>>k;e=v[V+12>>2];c=k}v[aa+40>>2]=e+g>>c;v[aa+36>>2]=d;v[aa+32>>2]=f;v[aa+28>>2]=h;c=O+((ca?b+ja|0:0)<<3)|0;d=v[c+32>>2];c=v[c+28>>2];Ja=aa,La=C(rt((v[(fa+v[I+24>>2]|0)+24>>2]+(v[O+20>>2]?ca?l-1>>>0<2?1:2:0:0)|0)-c|0)*(+(d|0)*.00048828125+1)),z[Ja+56>>2]=La;v[aa+52>>2]=(c+v[O+804>>2]|0)-1;d=B(B(v[N+16>>2],v[N+20>>2]),36);c=jc(d);if(!c){break e}Ja=aa,Ka=ic(c,0,d),v[Ja+48>>2]=Ka;i:{e=v[N+16>>2];if((B(e,v[N+20>>2])|0)<1){break i}da=0;while(1){Z=B(da,36)+c|0;b=v[aa+28>>2];d=(da|0)/(e|0)|0;e=(da-B(d,e)<(e|0)?b:e;v[Z>>2]=f;b=v[aa+32>>2];h=(d<<$)+na|0;g=(b|0)>(h|0)?b:h;v[Z+4>>2]=g;d=v[aa+36>>2];b=e+ra|0;e=(b|0)>(d|0)?d:b;v[Z+8>>2]=e;d=v[aa+40>>2];b=h+qa|0;b=(b|0)>(d|0)?d:b;v[Z+12>>2]=b;m=f>>ka;d=(e+j>>ka)-m<>ka;v[Z+16>>2]=d;A=g>>ga;b=(b+P>>ga)-A<>ga;v[Z+20>>2]=b;d=B(B(b,d),15448);b=jc(d);if(!b){v[(B(da,36)+c|0)+24>>2]=0;Fq(J);v[v[J>>2]+20>>2]=1;break b}Ja=Z,Ka=ic(b,0,d),v[Ja+24>>2]=Ka;g=v[Z+20>>2];f=v[Z+16>>2];S=jc(16);j:{if(!S){S=0;break j}v[S+4>>2]=g;v[S>>2]=f;v[S+8>>2]=0;v[S+12>>2]=0;v[ba+128>>2]=f;v[ba>>2]=g;_=0;e=g;b=f;c=0;while(1){l=c;c=c+1|0;d=c<<2;h=(e+1|0)/2|0;v[d+ba>>2]=h;n=d+(ba+128|0)|0;d=(b+1|0)/2|0;v[n>>2]=d;n=B(b,e);_=n+_|0;e=h;b=d;if((n|0)>1){continue}break}v[S+8>>2]=_;k:{l:{m:{if(!_){break m}b=_<<4;c=jc(b);if(!c){break m}T=0;h=ic(c,0,b);v[S+12>>2]=h;if(!l){b=h;break l}d=h+(B(f,g)<<4)|0;e=d;b=h;while(1){n:{if((g|0)<1){c=d;break n}M=g-1|0;f=0;n=v[(ba+128|0)+(T<<2)>>2];if((n|0)>0){c=d;while(1){d=c;c=n;while(1){o:{v[b>>2]=e;if((c|0)==1){b=b+16|0;e=e+16|0;break o}v[b+16>>2]=e;e=e+16|0;b=b+32|0;s=(c|0)>2;c=c-2|0;if(s){continue}}break}s=f&1|(f|0)==(M|0);c=s?e:d+(n<<4)|0;e=s?e:d;f=f+1|0;if((g|0)!=(f|0)){continue}break}break n}c=0;if((g|0)!=1){f=g&-2;while(1){s=(c|0)==(M|0);c=c+2|0;d=s?e:d;e=d;f=f-2|0;if(f){continue}break}}if(!(g&1)){e=d;c=d;break n}g=c&1|(c|0)==(M|0);c=g?e:(n<<4)+d|0;e=g?e:d}T=T+1|0;if((l|0)==(T|0)){break l}g=v[ba+(T<<2)>>2];d=c;continue}}dc(S);S=0;break k}v[b>>2]=0;if((_|0)<1){break k}c=_&3;e=0;if(_-1>>>0>=3){d=_&-4;while(1){g=e<<4;b=g+h|0;v[b+12>>2]=0;v[b+4>>2]=999;v[b+8>>2]=0;b=h+(g|16)|0;v[b+4>>2]=999;v[b+8>>2]=0;v[b+12>>2]=0;b=h+(g|32)|0;v[b+4>>2]=999;v[b+8>>2]=0;v[b+12>>2]=0;b=h+(g|48)|0;v[b+4>>2]=999;v[b+8>>2]=0;v[b+12>>2]=0;e=e+4|0;d=d-4|0;if(d){continue}break}}if(!c){break k}while(1){b=h+(e<<4)|0;v[b+12>>2]=0;v[b+4>>2]=999;v[b+8>>2]=0;e=e+1|0;c=c-1|0;if(c){continue}break}}g=v[Z+20>>2];f=v[Z+16>>2]}v[Z+28>>2]=S;S=jc(16);p:{if(!S){S=0;break p}v[S+4>>2]=g;v[S>>2]=f;v[S+8>>2]=0;v[S+12>>2]=0;v[ba+128>>2]=f;v[ba>>2]=g;_=0;e=g;b=f;c=0;while(1){l=c;c=c+1|0;d=c<<2;h=(e+1|0)/2|0;v[d+ba>>2]=h;n=d+(ba+128|0)|0;d=(b+1|0)/2|0;v[n>>2]=d;n=B(b,e);_=n+_|0;e=h;b=d;if((n|0)>1){continue}break}v[S+8>>2]=_;q:{r:{s:{if(!_){break s}b=_<<4;c=jc(b);if(!c){break s}T=0;h=ic(c,0,b);v[S+12>>2]=h;if(!l){b=h;break r}d=h+(B(f,g)<<4)|0;e=d;b=h;while(1){t:{if((g|0)<1){c=d;break t}M=g-1|0;f=0;n=v[(ba+128|0)+(T<<2)>>2];if((n|0)>0){c=d;while(1){d=c;c=n;while(1){u:{v[b>>2]=e;if((c|0)==1){b=b+16|0;e=e+16|0;break u}v[b+16>>2]=e;e=e+16|0;b=b+32|0;s=(c|0)>2;c=c-2|0;if(s){continue}}break}s=f&1|(f|0)==(M|0);c=s?e:d+(n<<4)|0;e=s?e:d;f=f+1|0;if((g|0)!=(f|0)){continue}break}break t}c=0;if((g|0)!=1){f=g&-2;while(1){s=(c|0)==(M|0);c=c+2|0;d=s?e:d;e=d;f=f-2|0;if(f){continue}break}}if(!(g&1)){e=d;c=d;break t}g=c&1|(c|0)==(M|0);c=g?e:(n<<4)+d|0;e=g?e:d}T=T+1|0;if((l|0)==(T|0)){break r}g=v[ba+(T<<2)>>2];d=c;continue}}dc(S);S=0;break q}v[b>>2]=0;if((_|0)<1){break q}c=_&3;e=0;if(_-1>>>0>=3){d=_&-4;while(1){g=e<<4;b=g+h|0;v[b+12>>2]=0;v[b+4>>2]=999;v[b+8>>2]=0;b=h+(g|16)|0;v[b+4>>2]=999;v[b+8>>2]=0;v[b+12>>2]=0;b=h+(g|32)|0;v[b+4>>2]=999;v[b+8>>2]=0;v[b+12>>2]=0;b=h+(g|48)|0;v[b+4>>2]=999;v[b+8>>2]=0;v[b+12>>2]=0;e=e+4|0;d=d-4|0;if(d){continue}break}}if(!c){break q}while(1){b=h+(e<<4)|0;v[b+12>>2]=0;v[b+4>>2]=999;v[b+8>>2]=0;e=e+1|0;c=c-1|0;if(c){continue}break}}g=v[Z+20>>2];f=v[Z+16>>2]}v[Z+32>>2]=S;g=B(f,g);if((g|0)>=1){d=v[Z+24>>2];e=0;while(1){n=d+B(e,15448)|0;c=v[Z>>2];b=(e|0)/(f|0)|0;l=m+(e-B(b,f)|0)<>2]=(c|0)>(l|0)?c:l;c=v[Z+4>>2];h=b+A<>2]=(c|0)>(h|0)?c:h;b=v[Z+8>>2];c=l+L|0;v[n+8>>2]=(b|0)<(c|0)?b:c;b=v[Z+12>>2];c=h+ha|0;v[n+12>>2]=(b|0)<(c|0)?b:c;e=e+1|0;if((g|0)!=(e|0)){continue}break}}da=da+1|0;e=v[N+16>>2];if((da|0)>=(B(e,v[N+20>>2])|0)){break i}c=v[aa+48>>2];continue}}b=r;if((b|0)>2]){continue}break}e=v[V+16>>2];ca=ca+1|0;if((e|0)<=(ca|0)){break g}la=v[V+20>>2];continue}}o=o+1|0;if((o|0)>2]){e=v[u+20>>2];continue}break}h=v[Q+60>>2]}K=K+1|0;if((K|0)>=(h|0)){break f}e=v[Q+48>>2];c=v[v[J+4>>2]+8>>2];continue}}m=v[I+16>>2];if((m|0)<1){break b}v:{if((h|0)<1){g=0;while(1){c=jc(0);if(!c){break v}b=v[I+24>>2]+B(g,48)|0;v[b+8>>2]=0;v[b+12>>2]=0;v[b+44>>2]=c;v[b+16>>2]=0;v[b+20>>2]=0;g=g+1|0;if((m|0)!=(g|0)){continue}break}break b}A=v[J+4>>2];s=v[Q+56>>2];p=(h|0)==1;g=0;w:{while(1){G=g<<5;k=v[A+8>>2];b=G+v[(k+B(v[s>>2],840)|0)+20>>2]|0;c=v[b+12>>2];d=v[b+8>>2];e=v[b+4>>2];b=v[b>>2];if(!p){n=v[A+8>>2];f=1;while(1){l=B(v[s+(f<<2)>>2],840);r=v[(G+v[(l+k|0)+20>>2]|0)+12>>2];c=c>>>0>>0?r:c;l=G+v[(l+n|0)+20>>2]|0;r=v[l+8>>2];d=d>>>0>>0?r:d;r=v[l+4>>2];e=e>>>0>r>>>0?r:e;r=v[l>>2];b=b>>>0>r>>>0?r:b;f=f+1|0;if((h|0)!=(f|0)){continue}break}}l=d-b|0;r=c-e|0;f=B(l,r)<<2;d=jc(f);if(!d){break w}d=ic(d,0,f);f=v[I+24>>2]+B(g,48)|0;v[f+20>>2]=e;v[f+16>>2]=b;v[f+12>>2]=r;v[f+8>>2]=l;v[f+44>>2]=d;g=g+1|0;if((m|0)!=(g|0)){continue}break}v[ba+128>>2]=c;break b}v[ba+128>>2]=c}e=0;v[(v[I+24>>2]+B(g,48)|0)+44>>2]=0;Fq(J);if(g){while(1){b=v[I+24>>2]+B(e,48)|0;c=v[b+44>>2];if(c){dc(c);v[b+44>>2]=0}e=e+1|0;if((g|0)!=(e|0)){continue}break}}v[v[J>>2]+20>>2]=1;break b}v[((B(ca,124)+la|0)+(b<<5)|0)+48>>2]=0;Fq(J);v[v[J>>2]+20>>2]=1;break b}v[((o<<5)+e|0)+20>>2]=0;Fq(J);v[v[J>>2]+20>>2]=1;break b}v[(B(p,840)+c|0)+20>>2]=0;Fq(J);v[v[J>>2]+20>>2]=1;break b}v[d+8>>2]=0;v[v[J>>2]+20>>2]=1}Qb=ba+256|0;x:{y:{z:{if(v[v[J>>2]+20>>2]){h=0;c=v[a+44>>2];if(v[c+60>>2]<=0){break y}while(1){b=v[a+28>>2];e=v[v[c+56>>2]+(h<<2)>>2]<<2;d=b+e|0;c=v[d>>2];if(c){dc(c);v[d>>2]=0;b=v[a+28>>2]}v[b+e>>2]=0;h=h+1|0;c=v[a+44>>2];if((h|0)>2]){continue}break}break z}h=v[a+44>>2];if(v[h+60>>2]>0){while(1){sa=v[v[h+56>>2]+(Ia<<2)>>2];V=sa<<2;g=v[V+v[a+28>>2]>>2];e=v[V+v[a+32>>2]>>2];la=0;v[J+24>>2]=sa;O=v[v[J+4>>2]+8>>2];wa=O+B(sa,840)|0;v[J+16>>2]=wa;d=v[J+12>>2];v[J+20>>2]=v[d+88>>2]+B(sa,1876);b=v[J+8>>2];c=v[J>>2];f=jc(12);A:{if(!f){a2(0,g,e,sa,wa);break A}v[f+8>>2]=d;v[f+4>>2]=b;v[f>>2]=c;a2(f,g,e,sa,wa);dc(f)}d=v[J>>2];c=jc(8429596);B:{if(!c){v[d+20>>2]=1;c=0;break B}c=ic(c,0,8429596);v[c>>2]=d;b=jc(156);if(!b){v[d+20>>2]=1;dc(c);c=0;break B}b=ic(b,0,156);v[c+4>>2]=b;e=jc(28);if(e){v[e>>2]=0;v[e+4>>2]=0;v[e+24>>2]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;v[c+8>>2]=e;f=0;while(1){b=(f>>>4&1)+(f>>>6&1)|0;e=(((f>>>3&1)+(f&1)|0)+(f>>>1&1)|0)+(f>>>2&1)|0;d=8;C:{D:{switch((f>>>5&1)+(f>>>7|0)|0){case 0:d=3;E:{switch(b|0){case 0:d=e?(e|0)==1?1:2:0;break C;case 1:break C;default:break E}}d=4;break C;case 1:break D;default:break C}}d=7;if(b){break C}d=e?6:5}v[(c+(f<<2)|0)+12>>2]=d;f=f+1|0;if((f|0)!=256){continue}break}f=0;while(1){b=(f>>>4&1)+(f>>>6&1)|0;e=(((f>>>3&1)+(f&1)|0)+(f>>>1&1)|0)+(f>>>2&1)|0;d=8;F:{G:{switch((f>>>5&1)+(f>>>7|0)|0){case 1:d=7;if(b){break F}d=e?6:5;break F;case 0:break G;default:break F}}d=3;H:{switch(b|0){case 0:d=e?(e|0)==1?1:2:0;break F;case 1:break F;default:break H}}d=4}v[(c+(f<<2|1024)|0)+12>>2]=d;f=f+1|0;if((f|0)!=256){continue}break}f=0;while(1){b=(f>>>5&1)+(f>>>7|0)|0;e=(((f>>>3&1)+(f&1)|0)+(f>>>1&1)|0)+(f>>>2&1)|0;d=8;I:{J:{switch((f>>>4&1)+(f>>>6&1)|0){case 1:d=7;if(b){break I}d=e?6:5;break I;case 0:break J;default:break I}}d=3;K:{switch(b|0){case 0:d=e?(e|0)==1?1:2:0;break I;case 1:break I;default:break K}}d=4}v[(c+(f<<2|2048)|0)+12>>2]=d;f=f+1|0;if((f|0)!=256){continue}break}f=0;while(1){b=(((f>>>5&1)+(f>>>7|0)|0)+(f>>>6&1)|0)+(f>>>4&1)|0;d=8;L:{M:{switch((((f>>>3&1)+(f&1)|0)+(f>>>1&1)|0)+(f>>>2&1)|0){case 2:d=b?7:6;break L;case 1:d=b?(b|0)==1?4:5:3;break L;case 0:break M;default:break L}}d=b?(b|0)==1?1:2:0}v[(c+(f<<2|3072)|0)+12>>2]=d;f=f+1|0;if((f|0)!=256){continue}break}f=0;while(1){e=f<<4;d=e&272;b=e&1088;b=(((d|0)==16|0)!=(((b|0)==64?-1:0)|0))-(((d|0)==272|0)!=(((b|0)==1088?-1:0)|0))|0;h=0-b|0;g=b;d=e&544;b=e&2176;b=(((d|0)==32|0)!=(((b|0)==128?-1:0)|0))-(((d|0)==544|0)!=(((b|0)==2176?-1:0)|0))|0;e=(b|0)<0?h:g;d=9;N:{O:{P:{g=b;b=b>>31;switch(g+b^b){case 1:break O;case 0:break P;default:break N}}d=e?10:9;break N}d=(e|0)==-1?11:e?13:12}v[(c+(f<<2)|0)+4108>>2]=d;f=f+1|0;if((f|0)!=256){continue}break}f=0;e=c+5132|0;while(1){d=f<<2;b=f&8192;v[d+e>>2]=b?16:f&254?15:14;v[e+(d|4)>>2]=b?16:15;f=f+2|0;if((f|0)!=2048){continue}break}f=0;while(1){d=c+(f<<2)|0;b=d+13332|0;v[b>>2]=16;v[b+4>>2]=16;b=d+13324|0;v[b>>2]=16;v[b+4>>2]=16;f=f+4|0;if((f|0)!=2048){continue}break}f=0;while(1){e=(c+(f<<2)|0)+21516|0;h=f<<4;d=h&544;b=h&2176;g=(((d|0)==32|0)!=(((b|0)==128?-1:0)|0))-(((d|0)==544|0)!=(((b|0)==2176?-1:0)|0))|0;d=h&272;b=h&1088;b=(((d|0)==16|0)!=(((b|0)==64?-1:0)|0))-(((d|0)==272|0)!=(((b|0)==1088?-1:0)|0))|0;if(g|b){b=((g|0)!=0|(b|0)<1)&(g|0)<1}else{b=0}v[e>>2]=b;f=f+1|0;if((f|0)!=256){continue}break}f=0;while(1){e=c+(f<<2)|0;b=e+23052|0;Ba=+(f|0)*.015625;xa=Ba*Ba;X=H(xa*64+.5)*.015625*8192;Q:{if(D(X)<2147483648){d=~~X;break Q}d=-2147483648}v[b>>2]=(d|0)>0?d:0;b=e+24076|0;X=Ba+-1;ya=X*X;X=H(ya*64+.5)*.015625*8192;R:{if(D(X)<2147483648){d=~~X;break R}d=-2147483648}v[b>>2]=(d|0)>0?d:0;b=e+22540|0;X=xa;xa=Ba+-1.5;X=H((X-xa*xa)*64+.5)*.015625*8192;S:{if(D(X)<2147483648){d=~~X;break S}d=-2147483648}v[b>>2]=(d|0)>0?d:0;b=e+23564|0;X=f&64?xa:Ba+-.5;X=H((ya-X*X)*64+.5)*.015625*8192;T:{if(D(X)<2147483648){d=~~X;break T}d=-2147483648}v[b>>2]=(d|0)>0?d:0;f=f+1|0;if((f|0)!=128){continue}break}break B}v[d+20>>2]=1;dc(b);dc(c);c=0}A=c;F=c;N=v[J+20>>2];d=v[wa+16>>2];if((d|0)>0){while(1){oa=v[wa+20>>2]+(la<<5)|0;g=v[oa+16>>2];if((g|0)>0){na=0;while(1){ua=v[oa+20>>2]+B(na,124)|0;d=v[ua+24>>2];if((d|0)>=1){I=na-1|0;g=v[ua+20>>2];f=v[ua+16>>2];qa=0;while(1){if((B(f,g)|0)>0){za=ua+(qa<<5)|0;da=za;ra=0;while(1){Ca=v[za+48>>2]+B(ra,36)|0;if((B(v[Ca+20>>2],v[Ca+16>>2])|0)>=1){n=v[N+1872>>2];S=0;while(1){U=v[Ca+24>>2]+B(S,15448)|0;pa=v[U+8>>2]-v[U>>2]|0;ga=B(la,1076);c=ga+n|0;n=v[c+16>>2];r=v[c+808>>2];q=v[F+4>>2];Da=v[F+8>>2];l=v[za+44>>2];h=v[U+12>>2];b=v[U+4>>2];ea=h-b|0;U:{V:{if((ea|0)<0){break V}d=0;if((pa|0)<0){break U}c=ea+1|0;e=c&7;f=(pa<<2)+4|0;if(ea>>>0>=7){c=c&-8;while(1){g=F+4218892|0;ic(g+B(d,4104)|0,0,f);ic(g+B(d|1,4104)|0,0,f);ic(g+B(d|2,4104)|0,0,f);ic(g+B(d|3,4104)|0,0,f);ic(g+B(d|4,4104)|0,0,f);ic(g+B(d|5,4104)|0,0,f);ic(g+B(d|6,4104)|0,0,f);ic(g+B(d|7,4104)|0,0,f);d=d+8|0;c=c-8|0;if(c){continue}break}}if(!e){break V}while(1){ic((F+B(d,4104)|0)+4218892|0,0,f);d=d+1|0;e=e-1|0;if(e){continue}break}}if((pa|0)<1){d=0;break U}d=1;if((ea|0)<1){break U}f=ea&-8;g=ea&7;h=h+(b^-1)|0;c=0;while(1){e=0;b=f;if(h>>>0>=7){while(1){d=c<<2;p=F+24588|0;k=e<<12;v[d+(p+k|0)>>2]=0;v[d+(p+(k|4096)|0)>>2]=0;v[d+(p+(k|8192)|0)>>2]=0;v[d+(p+(k|12288)|0)>>2]=0;v[d+(p+(k|16384)|0)>>2]=0;v[d+(p+(k|20480)|0)>>2]=0;v[d+(p+(k|24576)|0)>>2]=0;v[d+(p+(k|28672)|0)>>2]=0;e=e+8|0;b=b-8|0;if(b){continue}break}}d=g;if(d){while(1){v[((F+(e<<12)|0)+(c<<2)|0)+24588>>2]=0;e=e+1|0;d=d-1|0;if(d){continue}break}}d=1;c=c+1|0;if((pa|0)!=(c|0)){continue}break}}e=v[U+16>>2];v[q+148>>2]=1036352;v[q+144>>2]=1036352;v[q+140>>2]=1036352;v[q+136>>2]=1036352;v[q+132>>2]=1036352;v[q+128>>2]=1036352;v[q+124>>2]=1036352;v[q+120>>2]=1036352;v[q+116>>2]=1036352;v[q+112>>2]=1036352;v[q+108>>2]=1036352;v[q+104>>2]=1036352;v[q+100>>2]=1036352;v[q+88>>2]=1036352;v[q+84>>2]=1036352;v[q+80>>2]=1036352;v[q+76>>2]=1036352;v[q+72>>2]=1036352;v[q+68>>2]=1036352;v[q- -64>>2]=1036352;v[q+60>>2]=1036352;v[q+56>>2]=1036352;v[q+52>>2]=1036352;v[q+48>>2]=1036352;v[q+44>>2]=1036352;v[q+40>>2]=1036352;v[q+36>>2]=1036352;v[q+32>>2]=1036352;v[q+28>>2]=1036352;v[q+92>>2]=1036448;v[q+96>>2]=1037824;v[q+24>>2]=1036480;W:{if(v[U+36>>2]<1){break W}Q=(l|0)==2?256:(l|0)==1?512:l<<8;ka=n&2;Ea=ea-1|0;Aa=n&8;Y=n&32;M=n&1;K=q+24|0;Z=(ea|0)>0&d;$=(e+r|0)-1|0;Ga=2;_=0;while(1){ba=U+B(_,24)|0;g=v[ba+44>>2];h=v[ba+48>>2];ca=(Ga|0)<2&(e-5|0)>=($|0)&M;X:{if(ca){v[Da+12>>2]=0;v[Da+8>>2]=g;v[Da+20>>2]=h;v[Da+4>>2]=0;t[Da|0]=0;break X}v[q+16>>2]=h;v[q+152>>2]=K;v[q+12>>2]=h;v[q+20>>2]=g+h;c=1;e=65280;Y:{if(!g){b=16711680;break Y}b=w[h|0]<<16;v[q>>2]=b;d=h+1|0;Z:{if((g|0)!=1){f=w[h+1|0];if(w[h|0]!=255){break Z}if(f>>>0>143){break Y}v[q+12>>2]=d;e=f<<9;c=0;break Y}f=255;if(w[h|0]==255){break Y}}v[q+12>>2]=d;e=f<<8}v[q+8>>2]=c;v[q+4>>2]=32768;v[q>>2]=b+e<<7}u=0;if(v[ba+40>>2]>0){W=!ca&(ka|0)!=0;while(1){_:{$:{aa:{switch(Ga|0){case 0:if(!Z){break _}c=1<<$+1;fa=c>>1|c;ja=0-fa|0;c=0;if(!ca){break $}m=v[F+8>>2];h=0;while(1){e=h;p=e|3;h=e+4|0;j=0;while(1){l=j;j=j+1|0;f=e;while(1){ba:{if(!Aa){g=f+1|0;d=((F+B(g,4104)|0)+(j<<2)|0)+4218892|0;c=v[d>>2];break ba}g=f+1|0;d=((F+B(g,4104)|0)+(j<<2)|0)+4218892|0;b=v[d>>2];c=b&-1095;c=(f|0)==(p|0)?c:(f|0)==(Ea|0)?c:b}if(!(!(c&255)|c&20480)){c=v[m+4>>2];ca:{if(c){b=w[m|0];break ca}v[m+4>>2]=8;r=v[m+12>>2];if((r|0)!=v[m+8>>2]){c=8;if(w[m|0]==255){v[m+4>>2]=7;c=7}b=w[r+v[m+20>>2]|0];v[m+12>>2]=r+1;t[m|0]=b;break ca}b=255;t[m|0]=255;c=8}c=c-1|0;v[m+4>>2]=c;r=d;k=b&255;if(k>>>c&1){n=l<<2;f=(n+(F+(f<<12)|0)|0)+24588|0;da:{if(c){break da}v[m+4>>2]=8;G=v[m+12>>2];if((G|0)!=v[m+8>>2]){c=8;if((k|0)==255){v[m+4>>2]=7;c=7}b=w[G+v[m+20>>2]|0];v[m+12>>2]=G+1;t[m|0]=b;break da}b=255;t[m|0]=255;c=8}c=c-1|0;v[m+4>>2]=c;k=f;f=(b&255)>>>c&1;v[k>>2]=f?ja:fa;c=d-4108|0;v[c>>2]=v[c>>2]|2;c=d-4100|0;v[c>>2]=v[c>>2]|4;v[d+4100>>2]=v[d+4100>>2]|1;v[d+4108>>2]=v[d+4108>>2]|8;s=d-4104|0;G=v[s>>2];v[s>>2]=G|64;b=v[d+4104>>2];v[d+4104>>2]=b|16;k=(n+(F+B(g,4104)|0)|0)+4218892|0;n=v[k>>2];v[k>>2]=n|32;c=v[d+4>>2];v[d+4>>2]=c|128;if(f){v[s>>2]=G|1088;v[d+4104>>2]=b|272;v[k>>2]=n|544;v[d+4>>2]=c|2176}c=v[d>>2]|4096}else{c=v[d>>2]}v[r>>2]=c|16384}if(g>>>0>>0){f=g;if((ea|0)>(f|0)){continue}}break}if((j|0)!=(pa|0)){continue}break}if((h|0)<(ea|0)){continue}break};break _;case 2:i=v[F+4>>2];aa=i+96|0;if(Z){n=0;c=1<<$+1;y=c>>1|c;fa=0-y|0;ja=i+92|0;while(1){G=n+4|0;R=n|2;ha=n|1;Fa=n|3;r=0;while(1){T=1;p=r;r=p+1|0;d=0;ea:{fa:{if((ea|0)<=(Fa|0)){break fa}b=r<<2;c=v[(b+(F+B(ha,4104)|0)|0)+4218892>>2]&20735;ga:{if(Aa){if(x[(b+(F+B(Fa,4104)|0)|0)+4218892>>1]&20735|(x[(b+(F+B(R,4104)|0)|0)+4218892>>1]&20735|c)){break fa}if(!(x[(b+(F+B(G,4104)|0)|0)+4218892>>1]&20665)){break ga}break fa}if(x[(b+(F+B(R,4104)|0)|0)+4218892>>1]&20735|c|(x[(b+(F+B(Fa,4104)|0)|0)+4218892>>1]&20735|x[(b+(F+B(G,4104)|0)|0)+4218892>>1]&20735)){break fa}}v[i+152>>2]=ja;b=v[i+92>>2];e=v[b>>2];c=v[i+4>>2]-e|0;v[i+4>>2]=c;d=v[i>>2];ha:{if(d>>>16>>>0>=e>>>0){d=d-(e<<16)|0;v[i>>2]=d;g=v[b+4>>2];if(c&32768){break ha}h=v[b+4>>2];g=c>>>0>>0;v[i+92>>2]=v[b+(g?12:8)>>2];f=v[i+8>>2];while(1){if(!f){f=8;b=65280;l=v[i+12>>2];e=v[i+20>>2];ia:{if((l|0)==(e|0)){break ia}k=e;e=l+1|0;ja:{if((k|0)!=(e|0)){j=w[l+1|0];if(w[l|0]!=255){break ja}if(j>>>0>143){break ia}v[i+12>>2]=e;b=j<<9;f=7;break ia}j=255;if(w[l|0]==255){break ia}}v[i+12>>2]=e;b=j<<8}d=b+d|0}f=f-1|0;v[i+8>>2]=f;d=d<<1;v[i>>2]=d;c=c<<1;v[i+4>>2]=c;if(c>>>0<32768){continue}break}g=g?1-h|0:h;break ha}v[i+4>>2]=e;h=v[b+4>>2];g=c>>>0>>0;v[i+92>>2]=v[b+(g?8:12)>>2];f=v[i+8>>2];while(1){if(!f){f=8;b=65280;l=v[i+12>>2];c=v[i+20>>2];ka:{if((l|0)==(c|0)){break ka}k=c;c=l+1|0;la:{if((k|0)!=(c|0)){j=w[l+1|0];if(w[l|0]!=255){break la}if(j>>>0>143){break ka}v[i+12>>2]=c;b=j<<9;f=7;break ka}j=255;if(w[l|0]==255){break ka}}v[i+12>>2]=c;b=j<<8}d=b+d|0}f=f-1|0;v[i+8>>2]=f;d=d<<1;v[i>>2]=d;e=e<<1;v[i+4>>2]=e;if(e>>>0<32768){continue}break}c=e;g=g?h:1-h|0}if(!g){break ea}v[i+152>>2]=aa;b=v[i+96>>2];e=v[b>>2];c=c-e|0;v[i+4>>2]=c;ma:{if(d>>>16>>>0>=e>>>0){d=d-(e<<16)|0;v[i>>2]=d;g=v[b+4>>2];if(c&32768){break ma}l=v[b+4>>2];h=c>>>0>>0;e=v[(h?12:8)+b>>2];v[i+96>>2]=e;f=v[i+8>>2];while(1){if(!f){f=8;b=65280;k=v[i+12>>2];g=v[i+20>>2];na:{if((k|0)==(g|0)){break na}s=g;g=k+1|0;oa:{if((s|0)!=(g|0)){j=w[k+1|0];if(w[k|0]!=255){break oa}if(j>>>0>143){break na}v[i+12>>2]=g;b=j<<9;f=7;break na}j=255;if(w[k|0]==255){break na}}v[i+12>>2]=g;b=j<<8}d=b+d|0}f=f-1|0;v[i+8>>2]=f;d=d<<1;v[i>>2]=d;c=c<<1;v[i+4>>2]=c;if(c>>>0<32768){continue}break}b=e;g=h?1-l|0:l;break ma}v[i+4>>2]=e;l=v[b+4>>2];h=c>>>0>>0;g=v[(h?8:12)+b>>2];v[i+96>>2]=g;f=v[i+8>>2];while(1){if(!f){f=8;b=65280;k=v[i+12>>2];c=v[i+20>>2];pa:{if((k|0)==(c|0)){break pa}s=c;c=k+1|0;qa:{if((s|0)!=(c|0)){j=w[k+1|0];if(w[k|0]!=255){break qa}if(j>>>0>143){break pa}v[i+12>>2]=c;b=j<<9;f=7;break pa}j=255;if(w[k|0]==255){break pa}}v[i+12>>2]=c;b=j<<8}d=b+d|0}f=f-1|0;v[i+8>>2]=f;d=d<<1;v[i>>2]=d;e=e<<1;v[i+4>>2]=e;if(e>>>0<32768){continue}break}c=e;b=g;g=h?l:1-l|0}e=v[b>>2];f=c-e|0;v[i+4>>2]=f;h=g<<1;ra:{if(d>>>16>>>0>=e>>>0){c=d-(e<<16)|0;v[i>>2]=c;d=v[b+4>>2];if(f&32768){break ra}l=v[b+4>>2];g=f>>>0>>0;v[i+96>>2]=v[(g?12:8)+b>>2];d=v[i+8>>2];while(1){if(!d){d=8;b=65280;k=v[i+12>>2];e=v[i+20>>2];sa:{if((k|0)==(e|0)){break sa}s=e;e=k+1|0;ta:{if((s|0)!=(e|0)){j=w[k+1|0];if(w[k|0]!=255){break ta}if(j>>>0>143){break sa}v[i+12>>2]=e;b=j<<9;d=7;break sa}j=255;if(w[k|0]==255){break sa}}v[i+12>>2]=e;b=j<<8}c=b+c|0}d=d-1|0;v[i+8>>2]=d;c=c<<1;v[i>>2]=c;f=f<<1;v[i+4>>2]=f;if(f>>>0<32768){continue}break}d=g?1-l|0:l;break ra}v[i+4>>2]=e;l=v[b+4>>2];g=f>>>0>>0;v[i+96>>2]=v[(g?8:12)+b>>2];f=v[i+8>>2];while(1){if(!f){f=8;b=65280;k=v[i+12>>2];c=v[i+20>>2];ua:{if((k|0)==(c|0)){break ua}s=c;c=k+1|0;va:{if((s|0)!=(c|0)){j=w[k+1|0];if(w[k|0]!=255){break va}if(j>>>0>143){break ua}v[i+12>>2]=c;b=j<<9;f=7;break ua}j=255;if(w[k|0]==255){break ua}}v[i+12>>2]=c;b=j<<8}d=b+d|0}f=f-1|0;v[i+8>>2]=f;d=d<<1;v[i>>2]=d;e=e<<1;v[i+4>>2]=e;if(e>>>0<32768){continue}break}d=g?l:1-l|0}d=d|h;T=0}if((d|0)>3){break ea}P=d+n|0;l=P;if((ea|0)<=(l|0)){break ea}while(1){c=l+1|0;L=F+B(c,4104)|0;ia=(L+(r<<2)|0)+4218892|0;g=v[ia>>2];m=(Aa?(l|0)==(Fa|0)|(l|0)==(Ea|0):0)?g&-1095:g;E=v[F+4>>2];wa:{xa:{ya:{if(!((l|0)!=(P|0)|T)){f=v[E+4>>2];g=v[E>>2];break ya}if(m&20480){break wa}b=E+(v[(F+((Q|m&255)<<2)|0)+12>>2]<<2)|0;v[E+152>>2]=b+24;h=v[b+24>>2];e=v[h>>2];f=v[E+4>>2]-e|0;v[E+4>>2]=f;g=v[E>>2];za:{if(g>>>16>>>0>=e>>>0){g=g-(e<<16)|0;v[E>>2]=g;d=v[h+4>>2];if(f&32768){break za}s=v[h+4>>2];d=f>>>0>>0;v[b+24>>2]=v[h+(d?12:8)>>2];e=v[E+8>>2];while(1){if(!e){e=8;h=65280;j=v[E+12>>2];b=v[E+20>>2];Aa:{if((j|0)==(b|0)){break Aa}k=b;b=j+1|0;Ba:{if((k|0)!=(b|0)){k=w[j+1|0];if(w[j|0]!=255){break Ba}if(k>>>0>143){break Aa}v[E+12>>2]=b;h=k<<9;e=7;break Aa}k=255;if(w[j|0]==255){break Aa}}v[E+12>>2]=b;h=k<<8}g=g+h|0}e=e-1|0;v[E+8>>2]=e;g=g<<1;v[E>>2]=g;f=f<<1;v[E+4>>2]=f;if(f>>>0<32768){continue}break}d=d?1-s|0:s;break za}v[E+4>>2]=e;s=v[h+4>>2];d=f>>>0>>0;v[b+24>>2]=v[h+(d?8:12)>>2];f=v[E+8>>2];while(1){if(!f){f=8;h=65280;j=v[E+12>>2];b=v[E+20>>2];Ca:{if((j|0)==(b|0)){break Ca}k=b;b=j+1|0;Da:{if((k|0)!=(b|0)){k=w[j+1|0];if(w[j|0]!=255){break Da}if(k>>>0>143){break Ca}v[E+12>>2]=b;h=k<<9;f=7;break Ca}k=255;if(w[j|0]==255){break Ca}}v[E+12>>2]=b;h=k<<8}g=g+h|0}f=f-1|0;v[E+8>>2]=f;g=g<<1;v[E>>2]=g;e=e<<1;v[E+4>>2]=e;if(e>>>0<32768){continue}break}f=e;d=d?s:1-s|0}if(!d){break xa}}j=p<<2;s=(j+(F+(l<<12)|0)|0)+24588|0;k=F+((m>>>4&255)<<2)|0;d=E+(v[k+4108>>2]<<2)|0;v[E+152>>2]=d+24;h=v[d+24>>2];e=v[h>>2];f=f-e|0;v[E+4>>2]=f;Ea:{if(g>>>16>>>0>=e>>>0){b=g-(e<<16)|0;v[E>>2]=b;g=v[h+4>>2];if(f&32768){break Ea}o=v[h+4>>2];e=f>>>0>>0;v[d+24>>2]=v[h+(e?12:8)>>2];g=v[E+8>>2];while(1){if(!g){g=8;h=65280;ma=v[E+12>>2];d=v[E+20>>2];Fa:{if((ma|0)==(d|0)){break Fa}va=d;d=ma+1|0;Ga:{if((va|0)!=(d|0)){m=w[ma+1|0];if(w[ma|0]!=255){break Ga}if(m>>>0>143){break Fa}v[E+12>>2]=d;h=m<<9;g=7;break Fa}m=255;if(w[ma|0]==255){break Fa}}v[E+12>>2]=d;h=m<<8}b=b+h|0}g=g-1|0;v[E+8>>2]=g;b=b<<1;v[E>>2]=b;f=f<<1;v[E+4>>2]=f;if(f>>>0<32768){continue}break}g=e?1-o|0:o;break Ea}v[E+4>>2]=e;o=v[h+4>>2];b=d;d=f>>>0>>0;v[b+24>>2]=v[h+(d?8:12)>>2];f=v[E+8>>2];while(1){if(!f){f=8;h=65280;ma=v[E+12>>2];b=v[E+20>>2];Ha:{if((ma|0)==(b|0)){break Ha}va=b;b=ma+1|0;Ia:{if((va|0)!=(b|0)){m=w[ma+1|0];if(w[ma|0]!=255){break Ia}if(m>>>0>143){break Ha}v[E+12>>2]=b;h=m<<9;f=7;break Ha}m=255;if(w[ma|0]==255){break Ha}}v[E+12>>2]=b;h=m<<8}g=g+h|0}f=f-1|0;v[E+8>>2]=f;g=g<<1;v[E>>2]=g;e=e<<1;v[E+4>>2]=e;if(e>>>0<32768){continue}break}g=d?o:1-o|0}b=g;e=(b|0)==v[k+21516>>2];v[s>>2]=e?y:fa;b=ia-4108|0;v[b>>2]=v[b>>2]|2;b=ia-4100|0;v[b>>2]=v[b>>2]|4;v[ia+4100>>2]=v[ia+4100>>2]|1;v[ia+4108>>2]=v[ia+4108>>2]|8;k=ia-4104|0;h=v[k>>2];v[k>>2]=h|64;d=v[ia+4104>>2];v[ia+4104>>2]=d|16;f=(j+L|0)+4218892|0;g=v[f>>2];v[f>>2]=g|32;b=v[ia+4>>2];v[ia+4>>2]=b|128;if(!e){v[k>>2]=h|1088;v[ia+4104>>2]=d|272;v[f>>2]=g|544;v[ia+4>>2]=b|2176}g=v[ia>>2]|4096;break wa}g=v[ia>>2]}v[ia>>2]=g&-16385;if((l|0)>=(Fa|0)){break ea}l=c;if((c|0)<(ea|0)){continue}break}}if((r|0)!=(pa|0)){continue}break}n=G;if((n|0)<(ea|0)){continue}break}}if(!Y){break _}v[i+152>>2]=aa;h=v[i+96>>2];e=v[h>>2];c=v[i+4>>2]-e|0;v[i+4>>2]=c;d=v[i>>2];Ja:{if(d>>>16>>>0>>0){v[i+4>>2]=e;h=v[(c>>>0>>0?8:12)+h>>2];v[i+96>>2]=h;f=v[i+8>>2];while(1){if(!f){f=8;b=65280;g=v[i+12>>2];c=v[i+20>>2];Ka:{if((g|0)==(c|0)){break Ka}n=c;c=g+1|0;La:{if((n|0)!=(c|0)){j=w[g+1|0];if(w[g|0]!=255){break La}if(j>>>0>143){break Ka}v[i+12>>2]=c;b=j<<9;f=7;break Ka}j=255;if(w[g|0]==255){break Ka}}v[i+12>>2]=c;b=j<<8}d=b+d|0}f=f-1|0;v[i+8>>2]=f;d=d<<1;v[i>>2]=d;e=e<<1;v[i+4>>2]=e;if(e>>>0<32768){continue}break}c=e;break Ja}d=d-(e<<16)|0;v[i>>2]=d;if(c&32768){break Ja}h=v[(c>>>0>>0?12:8)+h>>2];v[i+96>>2]=h;f=v[i+8>>2];while(1){if(!f){f=8;b=65280;g=v[i+12>>2];e=v[i+20>>2];Ma:{if((g|0)==(e|0)){break Ma}n=e;e=g+1|0;Na:{if((n|0)!=(e|0)){j=w[g+1|0];if(w[g|0]!=255){break Na}if(j>>>0>143){break Ma}v[i+12>>2]=e;b=j<<9;f=7;break Ma}j=255;if(w[g|0]==255){break Ma}}v[i+12>>2]=e;b=j<<8}d=b+d|0}f=f-1|0;v[i+8>>2]=f;d=d<<1;v[i>>2]=d;c=c<<1;v[i+4>>2]=c;if(c>>>0<32768){continue}break}}e=v[h>>2];c=c-e|0;v[i+4>>2]=c;Oa:{if(d>>>16>>>0>>0){v[i+4>>2]=e;h=v[(c>>>0>>0?8:12)+h>>2];v[i+96>>2]=h;f=v[i+8>>2];while(1){if(!f){f=8;b=65280;g=v[i+12>>2];c=v[i+20>>2];Pa:{if((g|0)==(c|0)){break Pa}n=c;c=g+1|0;Qa:{if((n|0)!=(c|0)){j=w[g+1|0];if(w[g|0]!=255){break Qa}if(j>>>0>143){break Pa}v[i+12>>2]=c;b=j<<9;f=7;break Pa}j=255;if(w[g|0]==255){break Pa}}v[i+12>>2]=c;b=j<<8}d=b+d|0}f=f-1|0;v[i+8>>2]=f;d=d<<1;v[i>>2]=d;e=e<<1;v[i+4>>2]=e;if(e>>>0<32768){continue}break}c=e;break Oa}d=d-(e<<16)|0;v[i>>2]=d;if(c&32768){break Oa}h=v[(c>>>0>>0?12:8)+h>>2];v[i+96>>2]=h;f=v[i+8>>2];while(1){if(!f){f=8;b=65280;g=v[i+12>>2];e=v[i+20>>2];Ra:{if((g|0)==(e|0)){break Ra}n=e;e=g+1|0;Sa:{if((n|0)!=(e|0)){j=w[g+1|0];if(w[g|0]!=255){break Sa}if(j>>>0>143){break Ra}v[i+12>>2]=e;b=j<<9;f=7;break Ra}j=255;if(w[g|0]==255){break Ra}}v[i+12>>2]=e;b=j<<8}d=b+d|0}f=f-1|0;v[i+8>>2]=f;d=d<<1;v[i>>2]=d;c=c<<1;v[i+4>>2]=c;if(c>>>0<32768){continue}break}}e=v[h>>2];c=c-e|0;v[i+4>>2]=c;Ta:{if(d>>>16>>>0>>0){v[i+4>>2]=e;h=v[(c>>>0>>0?8:12)+h>>2];v[i+96>>2]=h;f=v[i+8>>2];while(1){if(!f){f=8;b=65280;g=v[i+12>>2];c=v[i+20>>2];Ua:{if((g|0)==(c|0)){break Ua}n=c;c=g+1|0;Va:{if((n|0)!=(c|0)){j=w[g+1|0];if(w[g|0]!=255){break Va}if(j>>>0>143){break Ua}v[i+12>>2]=c;b=j<<9;f=7;break Ua}j=255;if(w[g|0]==255){break Ua}}v[i+12>>2]=c;b=j<<8}d=b+d|0}f=f-1|0;v[i+8>>2]=f;d=d<<1;v[i>>2]=d;e=e<<1;v[i+4>>2]=e;if(e>>>0<32768){continue}break}c=e;break Ta}d=d-(e<<16)|0;v[i>>2]=d;if(c&32768){break Ta}h=v[(c>>>0>>0?12:8)+h>>2];v[i+96>>2]=h;f=v[i+8>>2];while(1){if(!f){f=8;b=65280;g=v[i+12>>2];e=v[i+20>>2];Wa:{if((g|0)==(e|0)){break Wa}n=e;e=g+1|0;Xa:{if((n|0)!=(e|0)){j=w[g+1|0];if(w[g|0]!=255){break Xa}if(j>>>0>143){break Wa}v[i+12>>2]=e;b=j<<9;f=7;break Wa}j=255;if(w[g|0]==255){break Wa}}v[i+12>>2]=e;b=j<<8}d=b+d|0}f=f-1|0;v[i+8>>2]=f;d=d<<1;v[i>>2]=d;c=c<<1;v[i+4>>2]=c;if(c>>>0<32768){continue}break}}e=v[h>>2];f=c-e|0;v[i+4>>2]=f;if(d>>>16>>>0>>0){v[i+4>>2]=e;v[i+96>>2]=v[(f>>>0>>0?8:12)+h>>2];f=v[i+8>>2];while(1){if(!f){f=8;b=65280;g=v[i+12>>2];c=v[i+20>>2];Ya:{if((g|0)==(c|0)){break Ya}h=c;c=g+1|0;Za:{if((h|0)!=(c|0)){j=w[g+1|0];if(w[g|0]!=255){break Za}if(j>>>0>143){break Ya}v[i+12>>2]=c;b=j<<9;f=7;break Ya}j=255;if(w[g|0]==255){break Ya}}v[i+12>>2]=c;b=j<<8}d=b+d|0}f=f-1|0;v[i+8>>2]=f;d=d<<1;v[i>>2]=d;e=e<<1;v[i+4>>2]=e;if(e>>>0<32768){continue}break}break _}c=d-(e<<16)|0;v[i>>2]=c;if(f&32768){break _}v[i+96>>2]=v[(f>>>0>>0?12:8)+h>>2];d=v[i+8>>2];while(1){if(!d){d=8;b=65280;g=v[i+12>>2];e=v[i+20>>2];_a:{if((g|0)==(e|0)){break _a}h=e;e=g+1|0;$a:{if((h|0)!=(e|0)){j=w[g+1|0];if(w[g|0]!=255){break $a}if(j>>>0>143){break _a}v[i+12>>2]=e;b=j<<9;d=7;break _a}j=255;if(w[g|0]==255){break _a}}v[i+12>>2]=e;b=j<<8}c=b+c|0}d=d-1|0;v[i+8>>2]=d;c=c<<1;v[i>>2]=c;f=f<<1;v[i+4>>2]=f;if(f>>>0<32768){continue}break};break _;case 1:break aa;default:break _}}if(!Z){break _}s=1<<$+1>>1;G=($|0)>-1?0-s|0:-1;c=0;if(ca){p=v[F+8>>2];k=v[F+4>>2];h=0;while(1){e=h;n=e|3;h=e+4|0;b=0;while(1){r=b;b=b+1|0;g=e;while(1){ab:{if(!Aa){d=g+1|0;c=((F+B(d,4104)|0)+(b<<2)|0)+4218892|0;f=v[c>>2];break ab}d=g+1|0;c=((F+B(d,4104)|0)+(b<<2)|0)+4218892|0;l=v[c>>2];f=l&-1095;f=(g|0)==(n|0)?f:(g|0)==(Ea|0)?f:l}if((f&20480)==4096){l=((F+(g<<12)|0)+(r<<2)|0)+24588|0;v[k+152>>2]=(k+(v[(F+((f>>>2&2048|f&255)<<2)|0)+5132>>2]<<2)|0)+24;f=v[p+4>>2];bb:{if(f){j=w[p|0];break bb}v[p+4>>2]=8;g=v[p+12>>2];if((g|0)!=v[p+8>>2]){f=8;if(w[p|0]==255){v[p+4>>2]=7;f=7}j=w[g+v[p+20>>2]|0];v[p+12>>2]=g+1;t[p|0]=j;break bb}j=255;t[p|0]=255;f=8}g=f-1|0;v[p+4>>2]=g;g=(j&255)>>>g&1?s:G;P=0-g|0;f=g;g=v[l>>2];v[l>>2]=((g|0)<0?P:f)+g;v[c>>2]=v[c>>2]|8192}if(d>>>0>>0){g=d;if((d|0)<(ea|0)){continue}}break}if((b|0)!=(pa|0)){continue}break}if((h|0)<(ea|0)){continue}break}break _}while(1){ja=c|3;p=c+4|0;n=0;while(1){l=n;n=l+1|0;d=c;while(1){cb:{if(!Aa){m=d+1|0;k=((F+B(m,4104)|0)+(n<<2)|0)+4218892|0;b=v[k>>2];break cb}m=d+1|0;k=((F+B(m,4104)|0)+(n<<2)|0)+4218892|0;e=v[k>>2];b=e&-1095;b=(d|0)==(ja|0)?b:(d|0)==(Ea|0)?b:e}if((b&20480)==4096){o=v[F+4>>2];g=o+(v[(F+((b>>>2&2048|b&255)<<2)|0)+5132>>2]<<2)|0;v[o+152>>2]=g+24;h=v[g+24>>2];f=v[h>>2];b=v[o+4>>2]-f|0;v[o+4>>2]=b;ha=((F+(d<<12)|0)+(l<<2)|0)+24588|0;va=ha;P=s;r=G;e=v[o>>2];db:{if(e>>>16>>>0>=f>>>0){e=e-(f<<16)|0;v[o>>2]=e;d=v[h+4>>2];if(b&32768){break db}fa=v[h+4>>2];L=b>>>0>>0;v[g+24>>2]=v[h+(L?12:8)>>2];g=v[o+8>>2];while(1){if(!g){g=8;j=65280;y=v[o+12>>2];f=v[o+20>>2];eb:{if((y|0)==(f|0)){break eb}d=f;f=y+1|0;fb:{if((d|0)!=(f|0)){h=w[y+1|0];if(w[y|0]!=255){break fb}if(h>>>0>143){break eb}v[o+12>>2]=f;j=h<<9;g=7;break eb}h=255;if(w[y|0]==255){break eb}}v[o+12>>2]=f;j=h<<8}e=e+j|0}g=g-1|0;v[o+8>>2]=g;e=e<<1;v[o>>2]=e;b=b<<1;v[o+4>>2]=b;if(b>>>0<32768){continue}break}d=L?1-fa|0:fa;break db}v[o+4>>2]=f;fa=v[h+4>>2];L=b>>>0>>0;v[g+24>>2]=v[h+(L?8:12)>>2];g=v[o+8>>2];while(1){if(!g){g=8;j=65280;y=v[o+12>>2];b=v[o+20>>2];gb:{if((y|0)==(b|0)){break gb}d=b;b=y+1|0;hb:{if((d|0)!=(b|0)){h=w[y+1|0];if(w[y|0]!=255){break hb}if(h>>>0>143){break gb}v[o+12>>2]=b;j=h<<9;g=7;break gb}h=255;if(w[y|0]==255){break gb}}v[o+12>>2]=b;j=h<<8}e=e+j|0}g=g-1|0;v[o+8>>2]=g;e=e<<1;v[o>>2]=e;f=f<<1;v[o+4>>2]=f;if(f>>>0<32768){continue}break}d=L?fa:1-fa|0}b=d?P:r;e=0-b|0;d=b;b=v[ha>>2];v[va>>2]=((b|0)<0?e:d)+b;v[k>>2]=v[k>>2]|8192}if(m>>>0

>>0){d=m;if((ea|0)>(d|0)){continue}}break}if((n|0)!=(pa|0)){continue}break}c=p;if((ea|0)>(c|0)){continue}break}break _}while(1){ha=c|3;G=c+4|0;r=0;while(1){n=r;r=n+1|0;k=c;while(1){ib:{if(!Aa){l=k+1|0;h=((F+B(l,4104)|0)+(r<<2)|0)+4218892|0;p=v[h>>2];break ib}l=k+1|0;h=((F+B(l,4104)|0)+(r<<2)|0)+4218892|0;d=v[h>>2];b=d&-1095;p=(k|0)==(ha|0)?b:(k|0)==(Ea|0)?b:d}b=p&255;if(!(!b|p&20480)){o=v[F+4>>2];P=o;f=o+(v[(F+((b|Q)<<2)|0)+12>>2]<<2)|0;v[o+152>>2]=f+24;m=v[f+24>>2];e=v[m>>2];b=v[o+4>>2]-e|0;v[o+4>>2]=b;va=h;g=v[o>>2];jb:{if(g>>>16>>>0>=e>>>0){g=g-(e<<16)|0;v[o>>2]=g;d=v[m+4>>2];if(b&32768){break jb}L=v[m+4>>2];s=b>>>0>>0;v[f+24>>2]=v[m+(s?12:8)>>2];f=v[o+8>>2];while(1){if(!f){f=8;j=65280;y=v[o+12>>2];e=v[o+20>>2];kb:{if((y|0)==(e|0)){break kb}d=e;e=y+1|0;lb:{if((d|0)!=(e|0)){m=w[y+1|0];if(w[y|0]!=255){break lb}if(m>>>0>143){break kb}v[o+12>>2]=e;j=m<<9;f=7;break kb}m=255;if(w[y|0]==255){break kb}}v[o+12>>2]=e;j=m<<8}g=g+j|0}f=f-1|0;v[o+8>>2]=f;g=g<<1;v[o>>2]=g;b=b<<1;v[o+4>>2]=b;if(b>>>0<32768){continue}break}d=s?1-L|0:L;break jb}v[o+4>>2]=e;L=v[m+4>>2];s=b>>>0>>0;v[f+24>>2]=v[m+(s?8:12)>>2];f=v[o+8>>2];while(1){if(!f){f=8;j=65280;y=v[o+12>>2];b=v[o+20>>2];mb:{if((y|0)==(b|0)){break mb}d=b;b=y+1|0;nb:{if((d|0)!=(b|0)){m=w[y+1|0];if(w[y|0]!=255){break nb}if(m>>>0>143){break mb}v[o+12>>2]=b;j=m<<9;f=7;break mb}m=255;if(w[y|0]==255){break mb}}v[o+12>>2]=b;j=m<<8}g=g+j|0}f=f-1|0;v[o+8>>2]=f;g=g<<1;v[o>>2]=g;e=e<<1;v[o+4>>2]=e;if(e>>>0<32768){continue}break}b=e;d=s?L:1-L|0}ob:{if(!d){b=v[h>>2];break ob}L=n<<2;s=(L+(F+(k<<12)|0)|0)+24588|0;p=F+((p>>>4&255)<<2)|0;k=o+(v[p+4108>>2]<<2)|0;v[P+152>>2]=k+24;m=v[k+24>>2];e=v[m>>2];f=b-e|0;v[o+4>>2]=f;pb:{if(g>>>16>>>0>=e>>>0){b=g-(e<<16)|0;v[o>>2]=b;d=v[m+4>>2];if(f&32768){break pb}P=v[m+4>>2];d=k;k=f>>>0>>0;v[d+24>>2]=v[m+(k?12:8)>>2];g=v[o+8>>2];while(1){if(!g){g=8;j=65280;y=v[o+12>>2];e=v[o+20>>2];qb:{if((y|0)==(e|0)){break qb}d=e;e=y+1|0;rb:{if((d|0)!=(e|0)){m=w[y+1|0];if(w[y|0]!=255){break rb}if(m>>>0>143){break qb}v[o+12>>2]=e;j=m<<9;g=7;break qb}m=255;if(w[y|0]==255){break qb}}v[o+12>>2]=e;j=m<<8}b=b+j|0}g=g-1|0;v[o+8>>2]=g;b=b<<1;v[o>>2]=b;f=f<<1;v[o+4>>2]=f;if(f>>>0<32768){continue}break}d=k?1-P|0:P;break pb}v[o+4>>2]=e;P=v[m+4>>2];b=k;k=f>>>0>>0;v[b+24>>2]=v[m+(k?8:12)>>2];f=v[o+8>>2];while(1){if(!f){f=8;j=65280;y=v[o+12>>2];b=v[o+20>>2];sb:{if((y|0)==(b|0)){break sb}d=b;b=y+1|0;tb:{if((d|0)!=(b|0)){m=w[y+1|0];if(w[y|0]!=255){break tb}if(m>>>0>143){break sb}v[o+12>>2]=b;j=m<<9;f=7;break sb}m=255;if(w[y|0]==255){break sb}}v[o+12>>2]=b;j=m<<8}g=g+j|0}f=f-1|0;v[o+8>>2]=f;g=g<<1;v[o>>2]=g;e=e<<1;v[o+4>>2]=e;if(e>>>0<32768){continue}break}d=k?P:1-P|0}b=d;g=(b|0)==v[p+21516>>2];v[s>>2]=g?fa:ja;b=h-4108|0;v[b>>2]=v[b>>2]|2;b=h-4100|0;v[b>>2]=v[b>>2]|4;v[h+4100>>2]=v[h+4100>>2]|1;v[h+4108>>2]=v[h+4108>>2]|8;s=h-4104|0;p=v[s>>2];v[s>>2]=p|64;e=v[h+4104>>2];v[h+4104>>2]=e|16;k=(L+(F+B(l,4104)|0)|0)+4218892|0;f=v[k>>2];v[k>>2]=f|32;b=v[h+4>>2];v[h+4>>2]=b|128;if(!g){v[s>>2]=p|1088;v[h+4104>>2]=e|272;v[k>>2]=f|544;v[h+4>>2]=b|2176}b=v[h>>2]|4096}v[va>>2]=b|16384}if(l>>>0>>0){k=l;if((ea|0)>(k|0)){continue}}break}if((r|0)!=(pa|0)){continue}break}c=G;if((c|0)<(ea|0)){continue}break}}if(W){v[q+148>>2]=1036352;v[q+144>>2]=1036352;v[q+140>>2]=1036352;v[q+136>>2]=1036352;v[q+132>>2]=1036352;v[q+128>>2]=1036352;v[q+124>>2]=1036352;v[q+120>>2]=1036352;v[q+116>>2]=1036352;v[q+112>>2]=1036352;v[q+108>>2]=1036352;v[q+104>>2]=1036352;v[q+100>>2]=1036352;v[q+88>>2]=1036352;v[q+84>>2]=1036352;v[q+80>>2]=1036352;v[q+76>>2]=1036352;v[q+72>>2]=1036352;v[q+68>>2]=1036352;v[q+64>>2]=1036352;v[q+60>>2]=1036352;v[q+56>>2]=1036352;v[q+52>>2]=1036352;v[q+48>>2]=1036352;v[q+44>>2]=1036352;v[q+40>>2]=1036352;v[q+36>>2]=1036352;v[q+32>>2]=1036352;v[q+28>>2]=1036352;v[q+92>>2]=1036448;v[q+96>>2]=1037824;v[q+24>>2]=1036480}c=Ga+1|0;b=(c|0)==3;Ga=b?0:c;$=$-b|0;u=u+1|0;if((u|0)>2]){continue}break}}_=_+1|0;if((_|0)>=v[U+36>>2]){break W}e=v[U+16>>2];continue}}e=v[za+32>>2];j=v[U+4>>2];d=v[U>>2];l=d-v[za+28>>2]|0;b=v[za+44>>2];if(b&1){c=v[oa+20>>2]+B(I,124)|0;l=(v[c+8>>2]+l|0)-v[c>>2]|0}k=j-e|0;if(b&2){c=v[oa+20>>2]+B(I,124)|0;k=(v[c+12>>2]+k|0)-v[c+4>>2]|0}n=v[N+1872>>2];p=ga+n|0;c=v[p+808>>2];ub:{if(!c){break ub}f=v[U+12>>2];if((j|0)>=(f|0)){break ub}r=1<>2];h=0;while(1){g=0;if((b|0)>(d|0)){while(1){e=((F+(h<<12)|0)+(g<<2)|0)+24588|0;f=v[e>>2];c=f>>31;c=c^c+f;if((c|0)>=(r|0)){c=c>>>v[p+808>>2]|0;v[e>>2]=(f|0)<0?0-c|0:c;d=v[U>>2];b=v[U+8>>2]}g=g+1|0;if((g|0)<(b-d|0)){continue}break}j=v[U+4>>2];f=v[U+12>>2]}h=h+1|0;if((h|0)<(f-j|0)){continue}break}}r=v[oa+8>>2]-v[oa>>2]|0;g=v[U+12>>2];vb:{if(v[p+20>>2]!=1){if((g|0)<=(j|0)){break vb}f=v[U+8>>2];c=0;while(1){if((d|0)<(f|0)){h=B(r,c+k|0);e=v[oa+24>>2];g=0;while(1){d=e+(h+(g+l|0)<<2)|0;b=v[((F+(c<<12)|0)+(g<<2)|0)+24588>>2];if(b>>>0>=2){ta=C(z[da+56>>2]*C(b<<12));ya=+ta;X=H(D(ya+ya));wb:{if(D(X)<2147483648){b=~~X;break wb}b=-2147483648}b=(b|0)%2|0;X=H(D(ya));xb:{if(D(X)<2147483648){f=~~X;break xb}f=-2147483648}b=f+b|0;b=ta>2]=b;g=g+1|0;f=v[U+8>>2];d=v[U>>2];if((g|0)<(f-d|0)){continue}break}j=v[U+4>>2];g=v[U+12>>2]}c=c+1|0;if((c|0)<(g-j|0)){continue}break}break vb}if((g|0)<=(j|0)){break vb}c=v[U+8>>2];f=0;while(1){if((d|0)<(c|0)){e=B(r,f+k|0)+l|0;b=v[oa+24>>2];g=0;while(1){v[b+(e+g<<2)>>2]=v[((F+(f<<12)|0)+(g<<2)|0)+24588>>2]/2;g=g+1|0;c=v[U+8>>2];d=v[U>>2];if((g|0)<(c-d|0)){continue}break}j=v[U+4>>2];g=v[U+12>>2]}f=f+1|0;if((f|0)<(g-j|0)){continue}break}}S=S+1|0;if((S|0)<(B(v[Ca+20>>2],v[Ca+16>>2])|0)){continue}break}f=v[ua+16>>2];g=v[ua+20>>2]}ra=ra+1|0;if((ra|0)<(B(f,g)|0)){continue}break}d=v[ua+24>>2]}qa=qa+1|0;if((qa|0)<(d|0)){continue}break}g=v[oa+16>>2]}na=na+1|0;if((na|0)<(g|0)){continue}break}d=v[wa+16>>2]}la=la+1|0;if((la|0)<(d|0)){continue}break}}if(A){c=v[A+4>>2];if(c){dc(c)}c=v[A+8>>2];if(c){dc(c)}dc(A)}aa=B(sa,840)+O|0;o=aa;if(v[o+16>>2]>=1){b=v[o+20>>2];e=0;while(1){y=e<<5;b=y+b|0;c=v[v[J+12>>2]+12>>2];if(c){v[(v[v[J+8>>2]+24>>2]+B(e,48)|0)+36>>2]=v[b+16>>2]+(c^-1)}fa=B(e,48);c=v[b+16>>2]+(v[(fa+v[v[J+8>>2]+24>>2]|0)+36>>2]^-1)|0;yb:{if(v[(v[v[J+20>>2]+1872>>2]+B(e,1076)|0)+20>>2]==1){ja=v[b+16>>2];Q=ja-2|0;if((c|0)>(Q|0)){break yb}s=c;G=b;I=v[b+8>>2]-v[b>>2]|0;ga=v[b+24>>2];while(1){d=v[G+20>>2]+B(ja+(Q^-1)|0,124)|0;c=d-124|0;p=v[c>>2];k=v[c+8>>2];ka=v[d+12>>2];Y=v[c+4>>2];M=v[c+12>>2];O=v[d+4>>2];b=v[d+8>>2];d=v[d>>2];da=b-d|0;P=da<<2;c=jc(P);if(!c){break yb}L=(d|0)%2|0;K=ic(c,0,P);R=ka-O|0;ha=(R|0)<1;if(!ha){W=k-p|0;j=da-W|0;c=L<<2;n=c+K|0;l=(K-c|0)+4|0;c=b+p-(d+k)|0;r=c&-8;h=c&7;m=c-1|0;f=W&-8;g=W&7;A=k+(p^-1)|0;N=0;while(1){p=B(I,N)<<2;k=p+ga|0;zb:{if((W|0)<1){break zb}d=n;b=k;c=f;if(A>>>0>6){while(1){v[d>>2]=v[b>>2];v[d+8>>2]=v[b+4>>2];v[d+16>>2]=v[b+8>>2];v[d+24>>2]=v[b+12>>2];v[d+32>>2]=v[b+16>>2];v[d+40>>2]=v[b+20>>2];v[d+48>>2]=v[b+24>>2];v[d+56>>2]=v[b+28>>2];b=b+32|0;d=d- -64|0;c=c-8|0;if(c){continue}break}}c=g;if(!c){break zb}while(1){v[d>>2]=v[b>>2];b=b+4|0;d=d+8|0;c=c-1|0;if(c){continue}break}}Ab:{if((j|0)<1){break Ab}d=k+(W<<2)|0;b=l;c=r;if(m>>>0>=7){while(1){v[b>>2]=v[d>>2];v[b+8>>2]=v[d+4>>2];v[b+16>>2]=v[d+8>>2];v[b+24>>2]=v[d+12>>2];v[b+32>>2]=v[d+16>>2];v[b+40>>2]=v[d+20>>2];v[b+48>>2]=v[d+24>>2];v[b+56>>2]=v[d+28>>2];d=d+32|0;b=b- -64|0;c=c-8|0;if(c){continue}break}}c=h;if(!c){break Ab}while(1){v[b>>2]=v[d>>2];d=d+4|0;b=b+8|0;c=c-1|0;if(c){continue}break}}d2(K,j,W,L);if((da|0)>=1){gc(p+ga|0,K,P)}N=N+1|0;if((R|0)!=(N|0)){continue}break}}dc(K);b=R<<2;c=jc(b);if(!c){break yb}K=(O|0)%2|0;u=ic(c,0,b);if((da|0)>=1){T=M-Y|0;W=R-T|0;P=B(I,T);c=K<<2;p=c+u|0;k=(u-c|0)+4|0;c=Y+ka-(M+O)|0;n=c&-4;l=c&3;L=c-1|0;r=R&-4;h=R&3;f=T&-4;g=T&3;j=ka+(O^-1)|0;m=M+(Y^-1)|0;$=0;while(1){A=ga+($<<2)|0;Bb:{if((T|0)<1){break Bb}d=p;b=A;c=f;if(m>>>0>2){while(1){v[d>>2]=v[b>>2];M=I<<2;b=M+b|0;v[d+8>>2]=v[b>>2];b=b+M|0;v[d+16>>2]=v[b>>2];b=b+M|0;v[d+24>>2]=v[b>>2];b=b+M|0;d=d+32|0;c=c-4|0;if(c){continue}break}}c=g;if(!c){break Bb}while(1){v[d>>2]=v[b>>2];d=d+8|0;b=(I<<2)+b|0;c=c-1|0;if(c){continue}break}}Cb:{if((W|0)<1){break Cb}b=A+(P<<2)|0;d=k;c=n;if(L>>>0>=3){while(1){v[d>>2]=v[b>>2];M=I<<2;b=M+b|0;v[d+8>>2]=v[b>>2];b=b+M|0;v[d+16>>2]=v[b>>2];b=b+M|0;v[d+24>>2]=v[b>>2];b=b+M|0;d=d+32|0;c=c-4|0;if(c){continue}break}}c=l;if(!c){break Cb}while(1){v[d>>2]=v[b>>2];d=d+8|0;b=(I<<2)+b|0;c=c-1|0;if(c){continue}break}}d2(u,W,T,K);Db:{if(ha){break Db}d=0;b=r;if(j>>>0>2){while(1){v[A+(B(d,I)<<2)>>2]=v[u+(d<<2)>>2];c=d|1;v[A+(B(c,I)<<2)>>2]=v[u+(c<<2)>>2];c=d|2;v[A+(B(c,I)<<2)>>2]=v[u+(c<<2)>>2];c=d|3;v[A+(B(c,I)<<2)>>2]=v[u+(c<<2)>>2];d=d+4|0;b=b-4|0;if(b){continue}break}}b=h;if(!b){break Db}while(1){v[A+(B(d,I)<<2)>>2]=v[u+(d<<2)>>2];d=d+1|0;b=b-1|0;if(b){continue}break}}$=$+1|0;if((da|0)!=($|0)){continue}break}}dc(u);c=(s|0)<(Q|0);Q=Q-1|0;if(c){continue}break}break yb}ja=v[b+16>>2];Q=ja-2|0;Eb:{if((c|0)>(Q|0)){break Eb}s=c;G=b;I=v[b+8>>2]-v[b>>2]|0;M=v[b+24>>2];while(1){b=v[G+20>>2]+B(ja+(Q^-1)|0,124)|0;c=b-124|0;K=v[c>>2];m=v[c+8>>2];ga=v[b+12>>2];ka=v[c+4>>2];Y=v[c+12>>2];da=v[b+4>>2];d=v[b+8>>2];A=v[b>>2];R=d-A|0;b=R<<2;c=jc(b);if(!c){break Eb}W=(A|0)%2|0;u=ic(c,0,b);T=ga-da|0;ha=(T|0)<1;if(!ha){O=m-K|0;P=R-O|0;c=W<<2;p=c+u|0;k=(u-c|0)+4|0;c=d+K-(m+A)|0;n=c&-8;l=c&7;L=c-1|0;r=R&-4;h=R&3;f=O&-8;g=O&7;j=d+(A^-1)|0;m=m+(K^-1)|0;N=0;while(1){A=M+(B(I,N)<<2)|0;Fb:{if((O|0)<1){break Fb}d=p;b=A;c=f;if(m>>>0>6){while(1){v[d>>2]=v[b>>2];v[d+8>>2]=v[b+4>>2];v[d+16>>2]=v[b+8>>2];v[d+24>>2]=v[b+12>>2];v[d+32>>2]=v[b+16>>2];v[d+40>>2]=v[b+20>>2];v[d+48>>2]=v[b+24>>2];v[d+56>>2]=v[b+28>>2];b=b+32|0;d=d- -64|0;c=c-8|0;if(c){continue}break}}c=g;if(!c){break Fb}while(1){v[d>>2]=v[b>>2];b=b+4|0;d=d+8|0;c=c-1|0;if(c){continue}break}}Gb:{if((P|0)<1){break Gb}d=A+(O<<2)|0;b=k;c=n;if(L>>>0>=7){while(1){v[b>>2]=v[d>>2];v[b+8>>2]=v[d+4>>2];v[b+16>>2]=v[d+8>>2];v[b+24>>2]=v[d+12>>2];v[b+32>>2]=v[d+16>>2];v[b+40>>2]=v[d+20>>2];v[b+48>>2]=v[d+24>>2];v[b+56>>2]=v[d+28>>2];d=d+32|0;b=b- -64|0;c=c-8|0;if(c){continue}break}}c=l;if(!c){break Gb}while(1){v[b>>2]=v[d>>2];d=d+4|0;b=b+8|0;c=c-1|0;if(c){continue}break}}c2(u,P,O,W);Hb:{if((R|0)<1){break Hb}d=0;c=r;if(j>>>0>2){while(1){K=d<<2;v[K+A>>2]=v[u+K>>2];b=K|4;v[b+A>>2]=v[b+u>>2];b=K|8;v[b+A>>2]=v[b+u>>2];b=K|12;v[b+A>>2]=v[b+u>>2];d=d+4|0;c=c-4|0;if(c){continue}break}}b=h;if(!b){break Hb}while(1){c=d<<2;v[c+A>>2]=v[c+u>>2];d=d+1|0;b=b-1|0;if(b){continue}break}}N=N+1|0;if((T|0)!=(N|0)){continue}break}}dc(u);b=T<<2;c=jc(b);if(!c){break Eb}K=(da|0)%2|0;u=ic(c,0,b);if((R|0)>=1){O=Y-ka|0;W=T-O|0;P=B(I,O);c=K<<2;p=c+u|0;k=(u-c|0)+4|0;c=ga+ka-(Y+da)|0;n=c&-4;l=c&3;L=c-1|0;r=T&-4;h=T&3;f=O&-4;g=O&3;j=ga+(da^-1)|0;m=Y+(ka^-1)|0;N=0;while(1){A=M+(N<<2)|0;Ib:{if((O|0)<1){break Ib}d=p;b=A;c=f;if(m>>>0>2){while(1){v[d>>2]=v[b>>2];Y=I<<2;b=Y+b|0;v[d+8>>2]=v[b>>2];b=b+Y|0;v[d+16>>2]=v[b>>2];b=b+Y|0;v[d+24>>2]=v[b>>2];b=b+Y|0;d=d+32|0;c=c-4|0;if(c){continue}break}}c=g;if(!c){break Ib}while(1){v[d>>2]=v[b>>2];d=d+8|0;b=(I<<2)+b|0;c=c-1|0;if(c){continue}break}}Jb:{if((W|0)<1){break Jb}b=A+(P<<2)|0;d=k;c=n;if(L>>>0>=3){while(1){v[d>>2]=v[b>>2];Y=I<<2;b=Y+b|0;v[d+8>>2]=v[b>>2];b=b+Y|0;v[d+16>>2]=v[b>>2];b=b+Y|0;v[d+24>>2]=v[b>>2];b=b+Y|0;d=d+32|0;c=c-4|0;if(c){continue}break}}c=l;if(!c){break Jb}while(1){v[d>>2]=v[b>>2];d=d+8|0;b=(I<<2)+b|0;c=c-1|0;if(c){continue}break}}c2(u,W,O,K);Kb:{if(ha){break Kb}d=0;b=r;if(j>>>0>2){while(1){v[A+(B(d,I)<<2)>>2]=v[u+(d<<2)>>2];c=d|1;v[A+(B(c,I)<<2)>>2]=v[u+(c<<2)>>2];c=d|2;v[A+(B(c,I)<<2)>>2]=v[u+(c<<2)>>2];c=d|3;v[A+(B(c,I)<<2)>>2]=v[u+(c<<2)>>2];d=d+4|0;b=b-4|0;if(b){continue}break}}b=h;if(!b){break Kb}while(1){v[A+(B(d,I)<<2)>>2]=v[u+(d<<2)>>2];d=d+1|0;b=b-1|0;if(b){continue}break}}N=N+1|0;if((R|0)!=(N|0)){continue}break}}dc(u);c=(s|0)<(Q|0);Q=Q-1|0;if(c){continue}break}}}b=v[o+20>>2];d=v[(y+b|0)+16>>2];if((d|0)>=1){c=fa+v[v[J+8>>2]+24>>2]|0;v[c+40>>2]=d+(v[c+36>>2]^-1)}e=e+1|0;if((e|0)>2]){continue}break}}y=v[J+20>>2];Lb:{if(!v[y+16>>2]){break Lb}c=v[o+20>>2];L=B(v[c+12>>2]-v[c+4>>2]|0,v[c+8>>2]-v[c>>2]|0);j=v[c+88>>2];m=v[c+56>>2];A=v[c+24>>2];if(v[v[y+1872>>2]+20>>2]==1){if((L|0)<1){break Lb}e=0;while(1){c=e<<2;f=c+A|0;g=c+j|0;d=v[g>>2];b=c+m|0;c=v[b>>2];h=v[f>>2]-(d+c>>2)|0;v[f>>2]=d+h;v[b>>2]=h;v[g>>2]=c+h;e=e+1|0;if((L|0)!=(e|0)){continue}break}break Lb}if((L|0)<1){break Lb}e=0;while(1){b=e<<2;l=b+m|0;c=v[l>>2];s=c;G=c>>31;c=b+A|0;h=c;p=v[c>>2];f=p;r=b+j|0;b=v[r>>2];c=b>>31;k=b;d=Bib(b,c,11485,0);n=Tb;b=n;b=(((b&4095)<<20|d>>>12)&1)+((b&8191)<<19|d>>>13)|0;v[h>>2]=b+f;f=Bib(s,G,2819,0);h=Tb;d=h;g=Bib(k,c,5850,0);n=Tb;b=n;c=f;d=(((d&4095)<<20|c>>>12)&1)+((d&8191)<<19|c>>>13)|0;c=g;b=(((b&4095)<<20|c>>>12)&1)+((b&8191)<<19|c>>>13)|0;v[l>>2]=p-(b+d|0);d=Bib(s,G,14516,0);g=Tb;b=g;b=(((b&4095)<<20|d>>>12)&1)+((b&8191)<<19|d>>>13)|0;v[r>>2]=b+p;e=e+1|0;if((L|0)!=(e|0)){continue}break}}c=v[aa+16>>2];Mb:{if((c|0)<1){break Mb}ja=v[o+20>>2];ha=v[v[J+8>>2]+24>>2];g=0;while(1){W=ja+(g<<5)|0;K=ha+B(g,48)|0;M=v[W+20>>2]+B(v[K+36>>2],124)|0;h=v[M+4>>2];e=v[M+12>>2];Nb:{if((h|0)>=(e|0)){break Nb}b=v[M>>2];n=v[M+8>>2];if((b|0)>=(n|0)){break Nb}f=v[K+24>>2];d=f-1|0;c=-1<>2];r=(f?c:l)^-1;P=f?0:1<>2]-v[W>>2]|0;d=v[K+40>>2];c=-1<>2]>>d;m=c+v[K+16>>2]>>d;A=v[K+8>>2];while(1){if((b|0)<(n|0)){s=B(A,h-j|0)-m|0;G=v[y+1872>>2]+B(g,1076)|0;p=v[K+44>>2];k=v[W+24>>2];e=b;while(1){d=v[k+((e-b|0)+B(L,h-v[M+4>>2]|0)<<2)>>2];n=p+(e+s<<2)|0;b=f;c=r;if(v[G+20>>2]!=1){Ha=C(+(d|0)*.0001220703125);ta=C(H(C(D(C(Ha+Ha)))));Ob:{if(C(D(ta))>2]=(c|0)<(f|0)?b:(c|0)>(r|0)?l:c;e=e+1|0;n=v[M+8>>2];if((e|0)<(n|0)){b=v[M>>2];continue}break}e=v[M+12>>2]}h=h+1|0;if((h|0)<(e|0)){b=v[M>>2];continue}break}c=v[aa+16>>2]}g=g+1|0;if((g|0)<(c|0)){continue}break}if((c|0)<1){break Mb}h=B(sa,840);b=v[(h+v[v[J+4>>2]+8>>2]|0)+20>>2];e=0;while(1){f=e<<5;g=f+b|0;d=v[g+24>>2];if(d){dc(d);v[g+24>>2]=0;b=v[(h+v[v[J+4>>2]+8>>2]|0)+20>>2];c=v[aa+16>>2]}v[(b+f|0)+24>>2]=0;e=e+1|0;if((e|0)<(c|0)){continue}break}}c=v[a+28>>2];d=c+V|0;b=v[d>>2];if(b){dc(b);v[d>>2]=0;c=v[a+28>>2]}v[c+V>>2]=0;Ia=Ia+1|0;h=v[a+44>>2];if((Ia|0)>2]){continue}break}}Fq(J)}if(!J){break x}}c=v[J+4>>2];if(c){dc(c)}dc(J)}v[a+4>>2]=32}function FCa(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,p=0,q=0,r=0,s=0,z=0,A=0,C=0,E=0,F=0,G=0,I=0,J=0,K=0;k=Qb-16|0;Qb=k;a:{b:{c:{d:{if(!a){break d}if(!(w[a+204|0]&64)){v[a+216>>2]=0;p=Qb-16|0;Qb=p;f=v[a+464>>2];d=a;g=d;e:{f:{g:{e=v[d+460>>2];if(e){if(!f){break g}if(I=_x(p+12|0,e,f),J=0,K=v[p+12>>2]-95e3>>>0<=1e4,K?I:J){break f}f=v[a+208>>2]|8192;break e}if(f){I=a,J=Zt(f),v[I+460>>2]=J;break f}v[a+460>>2]=1e5;v[a+464>>2]=1e5;break f}I=a,J=Zt(e),v[I+464>>2]=J}f=v[a+208>>2]&-8193}v[g+208>>2]=f;if((f&262272)==262144){u[a+394>>1]=0;f=f&-41943297;v[a+208>>2]=f;v[a+204>>2]=v[a+204>>2]&-8193}h:{if(f&256){if(w[a+401|0]&2){break h}v[a+200>>2]=v[a+200>>2]|2048;break h}if((f&16512)!=16512){break h}d=x[a+426>>1];if((d|0)!=x[a+428>>1]|(d|0)!=x[a+430>>1]){break h}u[a+432>>1]=d;v[a+200>>2]=v[a+200>>2]|2048}e=x[a+394>>1];g=w[a+401|0];i:{if((g|0)==3){j:{k:{if(!e){v[a+204>>2]=v[a+204>>2]&-8193;break k}g=v[a+504>>2];d=0;while(1){j=w[d+g|0];if((j|0)!=255){if(j){d=f;break j}i=1}d=d+1|0;if((e|0)!=(d|0)){continue}break}d=f&-8388609;v[a+208>>2]=d;v[a+204>>2]=v[a+204>>2]&-8193;if(i){break j}}d=f&-8388993;v[a+208>>2]=d}if((d&4352)!=4352){break i}f=v[a+388>>2]+B(w[a+424|0],3)|0;u[a+426>>1]=w[f|0];u[a+428>>1]=w[f+1|0];u[a+430>>1]=w[f+2|0];if(!e|(d&34078720)!=524288){break i}g=e&3;d=0;if(e-1>>>0>=3){f=e&65532;while(1){e=v[a+504>>2]+d|0;t[e|0]=w[e|0]^-1;e=v[a+504>>2]+(d|1)|0;t[e|0]=w[e|0]^-1;e=v[a+504>>2]+(d|2)|0;t[e|0]=w[e|0]^-1;e=v[a+504>>2]+(d|3)|0;t[e|0]=w[e|0]^-1;d=d+4|0;f=f-4|0;if(f){continue}break}}if(g){while(1){f=v[a+504>>2]+d|0;t[f|0]=w[f|0]^-1;d=d+1|0;g=g-1|0;if(g){continue}break}}d=v[a+208>>2];break i}l:{if(g&4){d=f;break l}if(e){d=f;break l}d=f&-385;v[a+208>>2]=d}if(g&2|(d&4352)!=4352){break i}f=x[a+516>>1];g=x[a+432>>1];m:{n:{switch(w[a+402|0]-1|0){case 0:f=B(f,255);g=B(g,255);break m;case 1:f=B(f,85);g=B(g,85);break m;case 3:break n;default:break m}}f=B(f,17);g=B(g,17)}u[a+428>>1]=g;u[a+430>>1]=g;u[a+426>>1]=g;if(d&33554432){break i}u[a+512>>1]=f;u[a+514>>1]=f;u[a+510>>1]=f}f=x[a+428>>1]|x[a+430>>1]<<16;e=x[a+424>>1]|x[a+426>>1]<<16;u[a+434>>1]=e;u[a+436>>1]=e>>>16;u[a+438>>1]=f;u[a+440>>1]=f>>>16;u[a+442>>1]=x[a+432>>1];F=a;o:{p:{q:{if(d&8192){break q}if(d&6291456){if(v[a+460>>2]-95e3>>>0>1e4|v[a+464>>2]-95e3>>>0>1e4){break q}d=v[a+208>>2]}r:{if(!(d&128)){break r}if(v[a+460>>2]-95e3>>>0>1e4|v[a+464>>2]-95e3>>>0>1e4){break q}if(w[a+418|0]!=3){break r}if(v[a+420>>2]-95e3>>>0>1e4){break q}}g=v[a+208>>2];if(g&8388608){if(v[a+464>>2]-95e3>>>0>1e4){break q}g=v[a+208>>2]}if(!(g&128)|w[a+401|0]!=3){break o}n=x[a+394>>1];if(n){g=w[a+430|0];h=w[a+428|0];i=w[a+426|0];l=v[a+388>>2];d=0;while(1){m=v[a+504>>2]+d|0;e=w[m|0];s:{if((e|0)==255){break s}if(!e){f=l+B(d,3)|0;t[f+2|0]=g;t[f+1|0]=h;t[f|0]=i;break s}f=l+B(d,3)|0;e=(B(i,e^255)+B(e,w[f|0])|0)+128|0;t[f|0]=e+((e&65280)>>>8|0)>>>8;e=w[m|0];e=(B(h,e^255)+B(e,w[f+1|0])|0)+128|0;t[f+1|0]=((e&65280)>>>8|0)+e>>>8;j=f;e=w[m|0];f=(B(g,e^255)+B(e,w[f+2|0])|0)+128|0;t[j+2|0]=((f&65280)>>>8|0)+f>>>8}d=d+1|0;if((n|0)!=(d|0)){continue}break}g=v[a+208>>2]}g=g&-129;break p}d=w[a+402|0];if(v[a+472>>2]?1:v[a+468>>2]){Gc(a,51787);RR(a)}t:{if(d>>>0<=8){d=v[a+464>>2];u:{if((d|0)<1){d=1e5;break u}f=v[a+460>>2];v:{if(!f){break v}o=H(1e15/+(f|0)/+(d|0)+.5);f=o<=2147483647;if(D(o)<2147483648){d=~~o}else{d=-2147483648}if(!f){break v}if(o>=-2147483648){break u}}d=0}e=ug(a,256);v[a+468>>2]=e;w:{if(d-95e3>>>0<10001){d=0;while(1){t[d+e|0]=d;f=d|1;t[f+e|0]=f;f=d|2;t[f+e|0]=f;f=d|3;t[f+e|0]=f;f=d|4;t[f+e|0]=f;f=d|5;t[f+e|0]=f;f=d|6;t[f+e|0]=f;f=d|7;t[f+e|0]=f;d=d+8|0;if((d|0)!=256){continue}break}break w}A=+(d|0)*1e-5;d=0;while(1){g=d+e|0;x:{if(d-1>>>0<=253){o=H(de(+(d>>>0)/255,A)*255+.5);if(o<4294967296&o>=0){f=~~o>>>0;break x}f=0;break x}f=d}t[g|0]=f;d=d+1|0;if((d|0)!=256){continue}break}}if(!(v[a+208>>2]&6291584)){break t}d=v[a+460>>2];y:{z:{if(!d){break z}o=H(1e10/+(d|0)+.5);f=o<=2147483647;if(D(o)<2147483648){d=~~o}else{d=-2147483648}if(!f){break z}if(o>=-2147483648){break y}}d=0}e=ug(a,256);v[a+480>>2]=e;A:{if(d-95e3>>>0<10001){d=0;while(1){t[d+e|0]=d;f=d|1;t[f+e|0]=f;f=d|2;t[f+e|0]=f;f=d|3;t[f+e|0]=f;f=d|4;t[f+e|0]=f;f=d|5;t[f+e|0]=f;f=d|6;t[f+e|0]=f;f=d|7;t[f+e|0]=f;d=d+8|0;if((d|0)!=256){continue}break}break A}A=+(d|0)*1e-5;d=0;while(1){g=d+e|0;B:{if(d-1>>>0<=253){o=H(de(+(d>>>0)/255,A)*255+.5);if(o<4294967296&o>=0){f=~~o>>>0;break B}f=0;break B}f=d}t[g|0]=f;d=d+1|0;if((d|0)!=256){continue}break}}d=v[a+464>>2];C:{if((d|0)>=1){o=H(1e10/+(d|0)+.5);f=o>=-2147483648;if(D(o)<2147483648){d=~~o}else{d=-2147483648}d=o<=2147483647?f?d:0:0;break C}d=v[a+460>>2]}e=ug(a,256);v[a+476>>2]=e;if(d-95e3>>>0<10001){d=0;while(1){t[d+e|0]=d;f=d|1;t[f+e|0]=f;f=d|2;t[f+e|0]=f;f=d|3;t[f+e|0]=f;f=d|4;t[f+e|0]=f;f=d|5;t[f+e|0]=f;f=d|6;t[f+e|0]=f;f=d|7;t[f+e|0]=f;d=d+8|0;if((d|0)!=256){continue}break}break t}A=+(d|0)*1e-5;d=0;while(1){g=d+e|0;D:{if(d-1>>>0<=253){o=H(de(+(d>>>0)/255,A)*255+.5);if(o<4294967296&o>=0){f=~~o>>>0;break D}f=0;break D}f=d}t[g|0]=f;d=d+1|0;if((d|0)!=256){continue}break}break t}d=a;j=d;E:{if(w[d+401|0]&2){f=w[a+494|0];e=w[a+493|0];g=w[a+492|0];e=e>>>0>g>>>0?e:g;f=e>>>0>>0?f:e;break E}f=w[a+495|0]}d=(f-1&255)>>>0<15?16-f|0:0;e=v[a+208>>2]&67109888;d=e?(d&255)>>>0>5?d:5:d;f=((d&255)>>>0<8?d:8)&255;v[j+456>>2]=f;d=v[a+464>>2];F:{G:{if(e){if((d|0)<1){o=1}else{o=H(+v[a+460>>2]*1e-5*+(d|0)+.5);e=o>=-2147483648;if(D(o)<2147483648){d=~~o}else{d=-2147483648}o=o<=2147483647?e?+(d|0)*1e-5:0:0}i=8-f|0;q=1<>2]=g;e=16-f|0;d=0;while(1){I=g+(d<<2)|0,J=ug(a,512),v[I>>2]=J;d=d+1|0;if((q|0)!=(d|0)){continue}break}m=255>>>f|0;r=-1<>>0)/65535,o)*65535+.5);H:{if(A<4294967296&A>=0){e=~~A>>>0;break H}e=0}e=(B(e,r)+32768>>>0)/65535|0;if(e>>>0>=d>>>0){C=e-d|0;l=C+1&3;if(l){while(1){u[v[g+((d&m)<<2)>>2]+(d>>>i<<1)>>1]=n;d=d+1|0;l=l-1|0;if(l){continue}break}}if(C>>>0>=3){while(1){u[v[g+((d&m)<<2)>>2]+(d>>>i<<1)>>1]=n;l=d+1|0;u[v[g+((l&m)<<2)>>2]+(l>>>i<<1)>>1]=n;l=d+2|0;u[v[g+((l&m)<<2)>>2]+(l>>>i<<1)>>1]=n;l=d+3|0;u[v[g+((l&m)<<2)>>2]+(l>>>i<<1)>>1]=n;d=d+4|0;if((e|0)!=(l|0)){continue}break}}d=e+1|0}h=h+1|0;if((h|0)!=255){continue}break}break G}e=a+472|0;I:{if((d|0)<1){d=1e5;break I}g=v[a+460>>2];J:{if(!g){break J}o=H(1e15/+(g|0)/+(d|0)+.5);g=o<=2147483647;if(D(o)<2147483648){d=~~o}else{d=-2147483648}if(!g){break J}if(o>=-2147483648){break I}}d=0}jE(a,e,f,d);break F}e=q<<8;if(e>>>0<=d>>>0){break F}h=e+(d^-1)|0;l=0-d&3;if(l){while(1){u[v[g+((d&m)<<2)>>2]+(d>>>i<<1)>>1]=65535;d=d+1|0;l=l-1|0;if(l){continue}break}}if(h>>>0<3){break F}while(1){u[v[g+((d&m)<<2)>>2]+(d>>>i<<1)>>1]=65535;h=d+1|0;u[v[g+((h&m)<<2)>>2]+(h>>>i<<1)>>1]=65535;h=d+2|0;u[v[g+((h&m)<<2)>>2]+(h>>>i<<1)>>1]=65535;h=d+3|0;u[v[g+((h&m)<<2)>>2]+(h>>>i<<1)>>1]=65535;d=d+4|0;if((e|0)!=(d|0)){continue}break}}if(!(v[a+208>>2]&6291584)){break t}e=a+488|0;d=v[a+460>>2];K:{L:{if(!d){break L}o=H(1e10/+(d|0)+.5);g=o<=2147483647;if(D(o)<2147483648){d=~~o}else{d=-2147483648}if(!g){break L}if(o>=-2147483648){break K}}d=0}jE(a,e,f,d);d=a;g=d;j=d+484|0;e=v[d+464>>2];M:{if((e|0)>=1){o=H(1e10/+(e|0)+.5);h=o>=-2147483648;if(D(o)<2147483648){d=~~o}else{d=-2147483648}d=o<=2147483647?h?d:0:0;break M}d=v[a+460>>2]}jE(g,j,f,d)}g=v[a+208>>2];if(g&128){if(g&6291456){Gc(a,22381)}if(w[a+401|0]==3){m=x[a+392>>1];l=v[a+388>>2];g=1e5;d=1e5;N:{O:{P:{switch(w[a+418|0]-1|0){case 1:e=v[a+480>>2];h=x[a+430>>1];d=w[e+h|0];i=x[a+428>>1];f=w[i+e|0];n=x[a+426>>1];g=w[n+e|0];e=v[a+468>>2];h=w[e+h|0];i=w[e+i|0];e=w[e+n|0];break N;case 0:d=v[a+464>>2];break O;case 2:break P;default:break O}}d=Zt(v[a+420>>2]);g=kE(v[a+420>>2],v[a+464>>2])}e=x[a+426>>1];Q:{if(g-95e3>>>0>1e4){e=Er(e,g);i=Er(x[a+428>>1],g);h=Er(x[a+430>>1],g);break Q}i=w[a+428|0];h=w[a+430|0]}g=x[a+426>>1];if(d-95e3>>>0>1e4){g=Er(g,d);f=Er(x[a+428>>1],d);d=Er(x[a+430>>1],d);break N}d=w[a+430|0];f=w[a+428|0]}if(m){r=d&255;C=f&255;G=g&255;d=0;while(1){R:{S:{if(x[a+394>>1]<=d>>>0){break S}n=v[a+504>>2]+d|0;g=w[n|0];if((g|0)==255){break S}if(!g){f=l+B(d,3)|0;t[f+2|0]=h;t[f+1|0]=i;t[f|0]=e;break R}q=v[a+480>>2];f=l+B(d,3)|0;g=(B(G,g^255)+B(g,w[q+w[f|0]|0])|0)+128|0;j=g+(g>>>8&255)>>>8&255;g=v[a+476>>2];t[f|0]=w[j+g|0];j=w[n|0];j=(B(C,j^255)+B(j,w[q+w[f+1|0]|0])|0)+128|0;t[f+1|0]=w[g+((j>>>8&255)+j>>>8&255)|0];j=f;n=w[n|0];f=(B(r,n^255)+B(n,w[q+w[f+2|0]|0])|0)+128|0;t[j+2|0]=w[g+((f>>>8&255)+f>>>8&255)|0];break R}f=l+B(d,3)|0;g=v[a+468>>2];t[f|0]=w[g+w[f|0]|0];t[f+1|0]=w[g+w[f+1|0]|0];t[f+2|0]=w[g+w[f+2|0]|0]}d=d+1|0;if((m|0)!=(d|0)){continue}break}}g=v[a+208>>2]&-8321;break p}T:{U:{switch(w[a+418|0]-1|0){case 1:d=Zt(v[a+460>>2]);f=kE(v[a+460>>2],v[a+464>>2]);break T;case 2:d=Zt(v[a+420>>2]);f=kE(v[a+420>>2],v[a+464>>2]);break T;default:hd(a,25086);L();case 0:break U}}d=v[a+464>>2];f=1e5}g=f-95e3>>>0>1e4;h=d-95e3>>>0>1e4;if(h){I=a,J=_n(a,x[a+432>>1],d),u[I+442>>1]=J}if(g){I=a,J=_n(a,x[a+432>>1],f),u[I+432>>1]=J}e=x[a+426>>1];V:{if(!(!((e|0)!=x[a+428>>1]|(e|0)!=x[a+430>>1])&(e|0)==x[a+432>>1])){if(h){I=a,J=_n(a,e,d),u[I+436>>1]=J;I=a,J=_n(a,x[a+428>>1],d),u[I+438>>1]=J;I=a,J=_n(a,x[a+430>>1],d),u[I+440>>1]=J}if(!g){break V}I=a,J=_n(a,x[a+426>>1],f),u[I+426>>1]=J;I=a,J=_n(a,x[a+428>>1],f),u[I+428>>1]=J;I=a,J=_n(a,x[a+430>>1],f),u[I+430>>1]=J;break V}u[a+430>>1]=e;u[a+428>>1]=e;u[a+426>>1]=e;d=x[a+442>>1];u[a+440>>1]=d;u[a+438>>1]=d;u[a+436>>1]=d}t[a+418|0]=1;g=v[a+208>>2];break o}if(w[a+401|0]!=3|(g&6291456?g&4096:0)){break o}h=x[a+392>>1];if(h){i=v[a+388>>2];e=v[a+468>>2];f=0;while(1){d=i+B(f,3)|0;t[d|0]=w[e+w[d|0]|0];t[d+1|0]=w[e+w[d+1|0]|0];t[d+2|0]=w[e+w[d+2|0]|0];f=f+1|0;if((h|0)!=(f|0)){continue}break}}g=g&-8193}v[F+208>>2]=g}W:{if((g&4104)!=8|w[a+401|0]!=3){break W}v[a+208>>2]=g&-9;e=x[a+392>>1];d=w[a+492|0];X:{Y:{if((d-1&255)>>>0>6){break Y}if(!e){break X}h=8-d|0;g=e&3;j=v[a+388>>2];d=0;if(e-1>>>0>=3){f=e&65532;while(1){i=j+B(d,3)|0;t[i|0]=w[i|0]>>>h;i=j+B(d|1,3)|0;t[i|0]=w[i|0]>>>h;i=j+B(d|2,3)|0;t[i|0]=w[i|0]>>>h;i=j+B(d|3,3)|0;t[i|0]=w[i|0]>>>h;d=d+4|0;f=f-4|0;if(f){continue}break}}if(!g){break Y}while(1){f=j+B(d,3)|0;t[f|0]=w[f|0]>>>h;d=d+1|0;g=g-1|0;if(g){continue}break}}d=w[a+493|0];if(!e|(d-1&255)>>>0>6){break X}h=8-d|0;g=e&3;j=v[a+388>>2];d=0;if(e-1>>>0>=3){f=e&65532;while(1){i=j+B(d,3)|0;t[i+1|0]=w[i+1|0]>>>h;i=j+B(d|1,3)|0;t[i+1|0]=w[i+1|0]>>>h;i=j+B(d|2,3)|0;t[i+1|0]=w[i+1|0]>>>h;i=j+B(d|3,3)|0;t[i+1|0]=w[i+1|0]>>>h;d=d+4|0;f=f-4|0;if(f){continue}break}}if(!g){break X}while(1){f=j+B(d,3)|0;t[f+1|0]=w[f+1|0]>>>h;d=d+1|0;g=g-1|0;if(g){continue}break}}d=w[a+494|0];if(!e|(d-1&255)>>>0>6){break W}h=8-d|0;f=e&3;j=v[a+388>>2];d=0;if(e-1>>>0>=3){g=e&65532;while(1){e=j+B(d,3)|0;t[e+2|0]=w[e+2|0]>>>h;e=j+B(d|1,3)|0;t[e+2|0]=w[e+2|0]>>>h;e=j+B(d|2,3)|0;t[e+2|0]=w[e+2|0]>>>h;e=j+B(d|3,3)|0;t[e+2|0]=w[e+2|0]>>>h;d=d+4|0;g=g-4|0;if(g){continue}break}}if(!f){break W}while(1){e=j+B(d,3)|0;t[e+2|0]=w[e+2|0]>>>h;d=d+1|0;f=f-1|0;if(f){continue}break}}Qb=p+16|0;Z:{if(w[a+398|0]){d=v[a+324>>2];f=v[a+208>>2];v[a+328>>2]=f&2?d:d+7>>>3|0;e=v[a+320>>2];d=w[a+399|0];g=w[d+76355|0];v[a+340>>2]=((e+g|0)+(w[d+76348|0]^-1)>>>0)/(g>>>0);break Z}v[a+328>>2]=v[a+324>>2];e=v[a+320>>2];v[a+340>>2]=e;f=v[a+208>>2]}g=w[a+404|0];g=f&4?w[a+402|0]<8?8:g:g;d=g&255;h=f&4096;_:{if(!h){break _}$:{switch(w[a+401|0]){case 3:d=x[a+394>>1]?32:24;break _;case 0:d=(((g&255)>>>0>8?g:8)&255)<<(x[a+394>>1]!=0);break _;case 2:break $;default:break _}}if(!x[a+394>>1]){break _}d=((g&255)<<2>>>0)/3|0}g=f&32768;aa:{if(!g){break aa}ba:{switch(w[a+401|0]){case 0:d=(d|0)<9?16:32;break aa;case 2:case 3:break ba;default:break aa}}d=(d|0)>32?64:32}ca:{if(!(f&16384)){break ca}da:{if(!(g|!(!x[a+394>>1]|!h))){g=w[a+401|0];if((g|0)!=4){break da}}d=(d|0)<17?32:64;break ca}if((d|0)<=8){d=(g|0)==6?32:24;break ca}d=(g|0)==6?64:48}if(f&1048576){f=B(w[a+197|0],w[a+196|0]);d=(d|0)<(f|0)?f:d}t[a+409|0]=0;t[a+408|0]=d;f=e+7&-8;f=((d+7>>>3|0)+((d|0)>7?B(f,d>>>3|0):B(d,f)>>>3|0)|0)+49|0;if(f>>>0>y[a+736>>2]){Zc(a,v[a+680>>2]);Zc(a,v[a+748>>2]);d=a;e=d;ea:{if(w[d+398|0]){d=gu(a,f);break ea}d=ug(a,f)}v[e+680>>2]=d;d=ug(a,f);v[a+748>>2]=d;v[a+736>>2]=f;v[a+352>>2]=d+31;v[a+356>>2]=v[a+680>>2]+31}d=v[a+336>>2];if((d|0)==-1){hd(a,76362);L()}ic(v[a+352>>2],0,d+1|0);v[a+204>>2]=v[a+204>>2]|64}g=v[a+340>>2];v[k>>2]=g;t[k+8|0]=w[a+401|0];t[k+9|0]=w[a+402|0];t[k+10|0]=w[a+405|0];f=w[a+404|0];t[k+11|0]=f;e=f>>>0>=8?B(g,f>>>3|0):B(f,g)+7>>>3|0;v[k+4>>2]=e;fa:{if(!w[a+398|0]|!(w[a+208|0]&2)){break fa}d=v[a+344>>2];ga:{switch(w[a+399|0]){case 0:if(!(d&7)){break fa}if(c){Rl(a,c,1)}Xn(a);break d;case 1:if(!(d&7)&y[a+320>>2]>4){break fa}if(c){Rl(a,c,1)}Xn(a);break d;case 2:if((d&7)==4){break fa}if(!(!c|!(d&4))){Rl(a,c,1)}Xn(a);break d;case 3:if(!(d&3)&y[a+320>>2]>2){break fa}if(c){Rl(a,c,1)}Xn(a);break d;case 4:if((d&3)==2){break fa}if(!(!c|!(d&2))){Rl(a,c,1)}Xn(a);break d;case 5:if(!(d&1)&y[a+320>>2]>1){break fa}if(c){Rl(a,c,1)}Xn(a);break d;default:break ga}}if(d&1){break fa}Xn(a);break d}if(!(w[a+200|0]&4)){break c}v[a+224>>2]=v[a+356>>2];h=a+212|0;v[a+228>>2]=(f>>>0>=8?B(g,f>>>3|0):B(f,g)+7>>>3|0)+1;while(1){if(!v[a+216>>2]){g=v[a+380>>2];ha:{while(1){if(g){break ha}td(a,0);g=Rx(a);v[a+380>>2]=g;if(v[a+348>>2]==1229209940){continue}break}hd(a,25538);L()}d=v[a+272>>2];v[a+216>>2]=d;f=v[a+268>>2];v[a+212>>2]=f;if(d>>>0>g>>>0){v[a+216>>2]=g;d=g}if(a){yf(a,f,d);kd(a,f,d)}v[a+380>>2]=v[a+380>>2]-v[a+216>>2]}d=Mj(h,1);ia:{if(d){if((d|0)==1){if(v[a+380>>2]?1:v[a+228>>2]|v[a+216>>2]){EE(a,27187)}v[a+200>>2]=v[a+200>>2]|8;v[a+204>>2]=v[a+204>>2]|32;break ia}b=a;a=v[a+236>>2];hd(b,a?a:28331);L()}if(v[a+228>>2]){continue}}break}g=v[a+356>>2];d=w[g|0];if(d){if(d>>>0>4){break b}f=g+1|0;e=v[a+352>>2]+1|0;d=d-1|0;if(d>>>0<=3){if(!v[a+752>>2]){v[a+752>>2]=381;v[a+760>>2]=382;v[a+756>>2]=383;v[a+764>>2]=(w[a+404|0]+7&504)==8?384:385}Ub[v[((d<<2)+a|0)+752>>2]](k,f,e)}g=v[a+356>>2];e=v[k+4>>2]}gc(v[a+352>>2],g,e+1|0);if(!(!(w[a+660|0]&4)|w[a+664|0]!=64)){d=v[a+356>>2]+1|0;e=w[k+8|0];ja:{if(!(e&2)){break ja}f=v[k>>2];ka:{switch(w[k+9|0]-8|0){case 0:g=3;la:{switch(e-2|0){case 4:g=4;break;case 0:break la;default:break ja}}if(!f){break ja}if((f|0)!=1){e=f&-2;while(1){h=w[d+1|0];t[d|0]=h+w[d|0];t[d+2|0]=h+w[d+2|0];d=d+g|0;h=w[d+1|0];t[d+2|0]=h+w[d+2|0];t[d|0]=h+w[d|0];d=d+g|0;e=e-2|0;if(e){continue}break}}if(!(f&1)){break ja}f=w[d+1|0];t[d|0]=f+w[d|0];t[d+2|0]=f+w[d+2|0];break ja;case 8:break ka;default:break ja}}i=6;ma:{switch(e-2|0){case 4:i=8;break;case 0:break ma;default:break ja}}if(!f){break ja}g=0;while(1){e=w[d+3|0]|w[d+2|0]<<8;h=e+(w[d+5|0]|w[d+4|0]<<8)|0;t[d+5|0]=h;e=e+(w[d+1|0]|w[d|0]<<8)|0;t[d+1|0]=e;t[d+4|0]=h>>>8;t[d|0]=e>>>8;d=d+i|0;g=g+1|0;if((f|0)!=(g|0)){continue}break}}}if(v[a+208>>2]){na:{oa:{pa:{qa:{d=v[a+356>>2];if(d){if((v[a+204>>2]&16448)==16384){break qa}f=v[a+208>>2];ra:{if(!(f&4096)){break ra}if(w[k+8|0]==3){h=d+1|0;j=v[a+388>>2];r=v[a+504>>2];p=x[a+394>>1];sa:{if(w[k+8|0]!=3){break sa}f=v[k>>2];d=w[k+9|0];ta:{if(d>>>0<=7){ua:{va:{switch(d-1|0){case 0:if(!f){break ua}g=f+h|0;d=0-f&7;i=f-1|0;e=h+(i>>>3|0)|0;if(i){i=f&-2;while(1){t[g-1|0]=w[e|0]>>>d&1;g=g-2|0;n=e;e=(d|0)==7;l=n-e|0;d=e?0:d+1|0;t[g|0]=w[l|0]>>>d&1;e=(d|0)==7;d=e?0:d+1|0;e=l-e|0;i=i-2|0;if(i){continue}break}}if(!(f&1)){break ua}t[g-1|0]=w[e|0]>>>d&1;break ua;case 1:if(!f){break ua}g=f+h|0;i=f-1|0;e=h+(i>>>2|0)|0;d=((f<<1)+6^-1)&6;if(i){i=f&-2;while(1){t[g-1|0]=w[e|0]>>>d&3;g=g-2|0;n=e;e=(d|0)==6;l=n-e|0;d=e?0:d+2|0;t[g|0]=w[l|0]>>>d&3;e=(d|0)==6;d=e?0:d+2|0;e=l-e|0;i=i-2|0;if(i){continue}break}}if(!(f&1)){break ua}t[g-1|0]=w[e|0]>>>d&3;break ua;case 3:break va;default:break ua}}if(!f){break ua}g=f+h|0;d=f<<2&4;i=f-1|0;e=h+(i>>>1|0)|0;if(i){i=f&-2;while(1){t[g-1|0]=w[e|0]>>>d&15;g=g-2|0;n=e;e=(d|0)==4;l=n-e|0;d=e?0:d+4|0;t[g|0]=w[l|0]>>>d&15;e=(d|0)==4;d=e?0:d+4|0;e=l-e|0;i=i-2|0;if(i){continue}break}}if(!(f&1)){break ua}t[g-1|0]=w[e|0]>>>d&15}t[k+11|0]=8;t[k+9|0]=8;v[k+4>>2]=f;break ta}if((d|0)!=8){break sa}}wa:{if(p>>>0>=1){l=f<<2;n=4;m=6;q=32;if(!f){break wa}d=f+h|0;g=h+l|0;i=0;while(1){h=g-1|0;d=d-1|0;e=w[d|0];if((e|0)<(p|0)){e=w[e+r|0]}else{e=255}t[h|0]=e;t[g-2|0]=w[(j+B(w[d|0],3)|0)+2|0];t[g-3|0]=w[(j+B(w[d|0],3)|0)+1|0];g=g-4|0;t[g|0]=w[j+B(w[d|0],3)|0];i=i+1|0;if((f|0)!=(i|0)){continue}break}break wa}n=3;l=B(f,3);m=2;q=24;if(!f){break wa}d=f+h|0;g=h+l|0;e=0;while(1){d=d-1|0;t[g-1|0]=w[(j+B(w[d|0],3)|0)+2|0];t[g-2|0]=w[(j+B(w[d|0],3)|0)+1|0];g=g-3|0;t[g|0]=w[j+B(w[d|0],3)|0];e=e+1|0;if((f|0)!=(e|0)){continue}break}}t[k+11|0]=q;t[k+9|0]=8;t[k+10|0]=n;t[k+8|0]=m;v[k+4>>2]=l}break ra}d=d+1|0;if(!(!x[a+394>>1]|!(f&33554432))){lQ(k,d,a+508|0);break ra}lQ(k,d,0)}d=v[a+208>>2];xa:{if((d&262272)!=262144){break xa}ya:{switch(w[k+8|0]-4|0){case 0:case 2:break ya;default:break xa}}_D(k,v[a+356>>2]+1|0,0);d=v[a+208>>2]}za:{if(!(d&6291456)){break za}d=v[a+356>>2]+1|0;e=0;f=0;i=0;r=0;g=w[k+8|0];if((g&3)==2){h=g&4;l=x[a+656>>1];n=x[a+658>>1];p=32768-(l+n|0)|0;j=v[k>>2];Aa:{if(w[k+9|0]==8){if(!(!v[a+476>>2]|!v[a+480>>2])){if(!j){break Aa}e=d;while(1){g=w[d|0];m=w[d+1|0];q=w[d+2|0];Ba:{Ca:{if(!((g|0)==(m|0)&(q|0)==(g|0))){i=i|1;F=g;g=v[a+480>>2];g=v[a+476>>2]+(((B(l,w[F+g|0])+B(n,w[g+m|0])|0)+B(p,w[g+q|0])|0)+16384>>>15|0)|0;break Ca}m=v[a+468>>2];if(!m){break Ba}g=g+m|0}g=w[g|0]}t[e|0]=g;Da:{if(!h){e=e+1|0;d=d+3|0;break Da}t[e+1|0]=w[d+3|0];e=e+2|0;d=d+4|0}f=f+1|0;if((j|0)!=(f|0)){continue}break}break Aa}if(!j){break Aa}if(!h){g=d;while(1){f=w[d|0];h=w[d+1|0];m=w[d+2|0];if(!((f|0)==(h|0)&(m|0)==(f|0))){i=i|1;f=(B(h,n)+B(f,l)|0)+B(m,p)>>>15|0}d=d+3|0;t[g|0]=f;g=g+1|0;e=e+1|0;if((j|0)!=(e|0)){continue}break}break Aa}f=d;while(1){h=f;g=w[d|0];m=w[d+1|0];q=w[d+2|0];if(!((g|0)==(m|0)&(q|0)==(g|0))){i=i|1;g=(B(m,n)+B(g,l)|0)+B(p,q)>>>15|0}t[h|0]=g;t[f+1|0]=w[d+3|0];f=f+2|0;d=d+4|0;e=e+1|0;if((j|0)!=(e|0)){continue}break}break Aa}if(!(!v[a+488>>2]|!v[a+484>>2])){if(!j){break Aa}g=d;while(1){m=w[d+1|0];e=w[d|0];q=m|e<<8;G=w[d+3|0];C=w[d+2|0];f=w[d+4|0]|w[d+5|0]<<8;f=f<<8|f>>>8;Ea:{if(!((q|0)!=(G|C<<8)|(q|0)!=(f&65535))){f=v[a+472>>2];if(!f){break Ea}m=x[v[f+(G>>>v[a+456>>2]<<2)>>2]+(C<<1)>>1];e=m>>>8|0;break Ea}m=v[a+488>>2];e=v[a+456>>2];f=((B(l,x[v[m+((q&255)>>>e<<2)>>2]+(q>>>7&510)>>1])+B(n,x[v[m+(G>>>e<<2)>>2]+(C<<1)>>1])|0)+B(p,x[v[m+((f&255)>>>e<<2)>>2]+(f>>>7&510)>>1])|0)+16384|0;m=x[v[v[a+484>>2]+((f>>>15&255)>>>e<<2)>>2]+(f>>>22&510)>>1];e=m>>>8|0;i=i|1}t[g+1|0]=m;t[g|0]=e;Fa:{if(!h){g=g+2|0;d=d+6|0;break Fa}t[g+2|0]=w[d+6|0];t[g+3|0]=w[d+7|0];g=g+4|0;d=d+8|0}r=r+1|0;if((j|0)!=(r|0)){continue}break}break Aa}if(!j){break Aa}f=d;while(1){g=w[f+1|0]|w[f|0]<<8;m=w[f+3|0]|w[f+2|0]<<8;q=w[f+5|0]|w[f+4|0]<<8;r=((B(g,l)+B(m,n)|0)+B(q,p)|0)+16384|0;t[d+1|0]=r>>>15;t[d|0]=r>>>23;g=(g|0)!=(m|0)|(g|0)!=(q|0);Ga:{if(!h){f=f+6|0;d=d+2|0;break Ga}t[d+2|0]=w[f+6|0];t[d+3|0]=w[f+7|0];f=f+8|0;d=d+4|0}i=g|i;e=e+1|0;if((j|0)!=(e|0)){continue}break}}d=w[k+10|0]-2|0;t[k+10|0]=d;t[k+8|0]=w[k+8|0]&253;f=B(d,w[k+9|0]);t[k+11|0]=f;d=k;f=f&255;Ha:{if(f>>>0>=8){f=B(j,f>>>3|0);break Ha}f=B(f,j)+7>>>3|0}v[d+4>>2]=f}if(!i){d=v[a+208>>2];break za}t[a+653|0]=1;d=v[a+208>>2];if((d&6291456)==4194304){Gc(a,31581);d=v[a+208>>2]}if((d&6291456)==2097152){break pa}}if(!(!(d&16384)|w[a+201|0]&8)){iQ(k,v[a+356>>2]+1|0);d=v[a+208>>2]}if(d&128){d=v[a+356>>2]+1|0;m=v[a+204>>2]&8192;h=v[k>>2];f=v[a+456>>2];n=v[a+488>>2];p=v[a+484>>2];i=v[a+472>>2];g=v[a+480>>2];j=v[a+476>>2];l=v[a+468>>2];Ia:{Ja:{Ka:{La:{Ma:{Na:{switch(w[k+8|0]){case 0:Oa:{switch(w[k+9|0]-1|0){case 0:if(!h){break Ia}g=7;e=0;while(1){f=w[d|0];if(x[a+516>>1]==(f>>>g&1)){f=f&32639>>>7-g;t[d|0]=f;t[d|0]=f|x[a+432>>1]<>>g&3;Pa:{if((m|0)==x[a+516>>1]){j=e&16191>>>6-g;t[d|0]=j;e=x[a+432>>1];break Pa}j=e&16191>>>6-g;e=w[l+B(m,85)|0]>>>6|0}t[f|0]=e<>>g&15;Qa:{if((m|0)==x[a+516>>1]){j=e&3855>>>4-g;t[d|0]=j;e=x[a+432>>1];break Qa}j=e&3855>>>4-g;e=w[l+B(m,17)|0]>>>4|0}t[f|0]=e<>1]){e=w[a+432|0]}else{e=w[e+l|0]}t[f|0]=e;f=d;e=w[d+1|0];Ra:{if((e|0)!=x[a+516>>1]){e=w[e+l|0];break Ra}e=w[a+432|0]}t[f+1|0]=e;d=d+2|0;g=g-2|0;if(g){continue}break}}if(!(h&1)){break Ia}f=w[d|0];if((f|0)!=x[a+516>>1]){t[d|0]=w[f+l|0];break Ia}t[d|0]=w[a+432|0];break Ia;case 6:Sa:{if(w[k+9|0]==8){if(!(l?!g|!j:1)){break Sa}if(!h){break Ia}e=0;while(1){f=w[d+3|0];Ta:{if((f|0)==255){break Ta}if(!f){t[d|0]=w[a+426|0];t[d+1|0]=w[a+428|0];t[d+2|0]=w[a+430|0];break Ta}g=f^255;j=(B(f,w[d|0])+B(g,x[a+426>>1])|0)+128|0;t[d|0]=(j>>>8&255)+j>>>8;j=(B(f,w[d+1|0])+B(g,x[a+428>>1])|0)+128|0;t[d+1|0]=(j>>>8&255)+j>>>8;f=(B(f,w[d+2|0])+B(g,x[a+430>>1])|0)+128|0;t[d+2|0]=(f>>>8&255)+f>>>8}d=d+4|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}break Ia}if(n?!i|!p:1){if(!h){break Ia}e=0;while(1){f=w[d+7|0]|w[d+6|0]<<8;Ua:{if((f|0)==65535){break Ua}if(!f){t[d|0]=w[a+427|0];t[d+1|0]=w[a+426|0];t[d+2|0]=w[a+429|0];t[d+3|0]=w[a+428|0];t[d+4|0]=w[a+431|0];t[d+5|0]=w[a+430|0];break Ua}g=f^65535;j=(B(f,w[d+1|0]|w[d|0]<<8)+B(g,x[a+426>>1])|0)+32768|0;j=(j>>>16|0)+j|0;t[d+1|0]=j>>>16;t[d|0]=j>>>24;j=(B(f,w[d+3|0]|w[d+2|0]<<8)+B(g,x[a+428>>1])|0)+32768|0;j=(j>>>16|0)+j|0;t[d+2|0]=j>>>24;t[d+3|0]=j>>>16;f=(B(f,w[d+5|0]|w[d+4|0]<<8)+B(g,x[a+430>>1])|0)+32768|0;f=(f>>>16|0)+f|0;t[d+4|0]=f>>>24;t[d+5|0]=f>>>16}d=d+8|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}break Ia}if(!h){break Ia}g=0;while(1){Va:{Wa:{l=w[d+7|0]|w[d+6|0]<<8;if(l){if((l|0)!=65535){break Wa}e=x[v[i+(w[d+1|0]>>>f<<2)>>2]+(w[d|0]<<1)>>1];e=e<<8|e>>>8;t[d|0]=e;t[d+1|0]=e>>>8;e=x[v[i+(w[d+3|0]>>>f<<2)>>2]+(w[d+2|0]<<1)>>1];e=e<<8|e>>>8;t[d+2|0]=e;t[d+3|0]=e>>>8;e=x[v[i+(w[d+5|0]>>>f<<2)>>2]+(w[d+4|0]<<1)>>1];e=e<<8|e>>>8;t[d+4|0]=e;t[d+5|0]=e>>>8;break Va}t[d|0]=w[a+427|0];t[d+1|0]=w[a+426|0];t[d+2|0]=w[a+429|0];t[d+3|0]=w[a+428|0];t[d+4|0]=w[a+431|0];t[d+5|0]=w[a+430|0];break Va}q=l^65535;e=(B(l,x[v[n+(w[d+1|0]>>>f<<2)>>2]+(w[d|0]<<1)>>1])+B(q,x[a+436>>1])|0)+32768|0;j=(e>>>16|0)+e|0;e=j>>>24|0;j=j>>>16|0;if(!m){j=x[v[p+((j&255)>>>f<<2)>>2]+(e<<1)>>1];e=j>>>8|0}t[d+1|0]=j;t[d|0]=e;e=(B(l,x[v[n+(w[d+3|0]>>>f<<2)>>2]+(w[d+2|0]<<1)>>1])+B(q,x[a+438>>1])|0)+32768|0;j=(e>>>16|0)+e|0;e=j>>>24|0;j=j>>>16|0;if(!m){j=x[v[p+((j&255)>>>f<<2)>>2]+(e<<1)>>1];e=j>>>8|0}t[d+3|0]=j;t[d+2|0]=e;e=(B(l,x[v[n+(w[d+5|0]>>>f<<2)>>2]+(w[d+4|0]<<1)>>1])+B(q,x[a+440>>1])|0)+32768|0;j=(e>>>16|0)+e|0;e=j>>>24|0;j=j>>>16|0;if(!m){j=x[v[p+((j&255)>>>f<<2)>>2]+(e<<1)>>1];e=j>>>8|0}t[d+5|0]=j;t[d+4|0]=e}d=d+8|0;g=g+1|0;if((h|0)!=(g|0)){continue}break}break Ia}if(!h){break Ia}i=0;while(1){Xa:{Ya:{n=w[d+3|0];if(n){if((n|0)!=255){break Ya}t[d|0]=w[l+w[d|0]|0];t[d+1|0]=w[l+w[d+1|0]|0];t[d+2|0]=w[l+w[d+2|0]|0];break Xa}t[d|0]=w[a+426|0];t[d+1|0]=w[a+428|0];t[d+2|0]=w[a+430|0];break Xa}p=n^255;f=(B(n,w[g+w[d|0]|0])+B(p,x[a+436>>1])|0)+128|0;f=(f>>>8&255)+f>>>8|0;e=d;if(!m){f=w[j+(f&255)|0]}t[e|0]=f;f=(B(n,w[g+w[d+1|0]|0])+B(p,x[a+438>>1])|0)+128|0;f=(f>>>8&255)+f>>>8|0;if(!m){f=w[j+(f&255)|0]}t[e+1|0]=f;f=(B(n,w[g+w[d+2|0]|0])+B(p,x[a+440>>1])|0)+128|0;f=(f>>>8&255)+f>>>8|0;if(!m){f=w[j+(f&255)|0]}t[e+2|0]=f}d=d+4|0;i=i+1|0;if((h|0)!=(i|0)){continue}break};break Ia;case 4:Za:{if(w[k+9|0]==8){if(!(l?!g|!j:1)){break Za}if(!h){break Ia}e=0;while(1){g=w[d+1|0];if((g|0)!=255){f=d;if(g){g=(B(x[a+432>>1],g^255)+B(g,w[d|0])|0)+128&65535;g=(g>>>8|0)+g>>>8|0}else{g=w[a+432|0]}t[f|0]=g}d=d+2|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}break Ia}if(n?!i|!p:1){if(!h){break Ia}e=0;while(1){f=w[d+3|0]|w[d+2|0]<<8;_a:{if((f|0)==65535){break _a}if(!f){t[d|0]=w[a+433|0];t[d+1|0]=w[a+432|0];break _a}f=(B(x[a+432>>1],f^65535)+B(f,w[d+1|0]|w[d|0]<<8)|0)+32768|0;f=(f>>>16|0)+f|0;t[d+1|0]=f>>>16;t[d|0]=f>>>24}d=d+4|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}break Ia}if(!h){break Ia}g=0;while(1){$a:{ab:{e=w[d+3|0]|w[d+2|0]<<8;if(e){if((e|0)!=65535){break ab}e=x[v[i+(w[d+1|0]>>>f<<2)>>2]+(w[d|0]<<1)>>1];e=e<<8|e>>>8;t[d|0]=e;t[d+1|0]=e>>>8;break $a}t[d|0]=w[a+433|0];t[d+1|0]=w[a+432|0];break $a}e=(B(e,x[v[n+(w[d+1|0]>>>f<<2)>>2]+(w[d|0]<<1)>>1])+B(x[a+442>>1],e^65535)|0)+32768|0;j=(e>>>16|0)+e|0;e=j>>>16|0;if(m){j=j>>>24|0}else{e=x[v[p+((e&255)>>>f<<2)>>2]+(j>>>23&510)>>1];j=e>>>8|0}t[d+1|0]=e;t[d|0]=j}d=d+4|0;g=g+1|0;if((h|0)!=(g|0)){continue}break}break Ia}if(!h){break Ia}i=0;while(1){F=d;bb:{cb:{e=w[d+1|0];if(e){if((e|0)!=255){break cb}f=w[l+w[d|0]|0];break bb}f=w[a+432|0];break bb}e=(B(x[a+442>>1],e^255)+B(e,w[g+w[d|0]|0])|0)+128&65535;n=(e>>>8|0)+e>>>8|0;f=n;if(m){break bb}f=w[j+(n&255)|0]}t[F|0]=f;d=d+2|0;i=i+1|0;if((h|0)!=(i|0)){continue}break};break Ia;case 2:break Na;default:break Ia}}db:{if(w[k+9|0]==8){if(!l){break db}if(!h){break Ia}i=0;while(1){e=w[d|0];f=w[d+1|0];eb:{if(!((e|0)!=x[a+510>>1]|(f|0)!=x[a+512>>1]|x[a+514>>1]!=w[d+2|0])){t[d|0]=w[a+426|0];t[d+1|0]=w[a+428|0];t[d+2|0]=w[a+430|0];break eb}t[d|0]=w[e+l|0];t[d+1|0]=w[f+l|0];t[d+2|0]=w[l+w[d+2|0]|0]}d=d+3|0;i=i+1|0;if((h|0)!=(i|0)){continue}break}break Ia}if(i){if(!h){break Ia}g=0;while(1){e=w[d+4|0];j=w[d+5|0];p=w[d+1|0];n=w[d|0];m=w[d+3|0];l=w[d+2|0];fb:{if(!(x[a+510>>1]!=(p|n<<8)|x[a+512>>1]!=(m|l<<8)|x[a+514>>1]!=(j|e<<8))){t[d|0]=w[a+427|0];t[d+1|0]=w[a+426|0];t[d+2|0]=w[a+429|0];t[d+3|0]=w[a+428|0];t[d+4|0]=w[a+431|0];e=w[a+430|0];break fb}n=x[v[i+(p>>>f<<2)>>2]+(n<<1)>>1];n=n<<8|n>>>8;t[d|0]=n;t[d+1|0]=n>>>8;l=x[v[i+(m>>>f<<2)>>2]+(l<<1)>>1];l=l<<8|l>>>8;t[d+2|0]=l;t[d+3|0]=l>>>8;e=x[v[i+(j>>>f<<2)>>2]+(e<<1)>>1];t[d+4|0]=e>>>8}t[d+5|0]=e;d=d+6|0;g=g+1|0;if((h|0)!=(g|0)){continue}break}break Ia}if(!h){break Ia}g=0;while(1){if(!(x[a+510>>1]!=(w[d+1|0]|w[d|0]<<8)|x[a+512>>1]!=(w[d+3|0]|w[d+2|0]<<8)|x[a+514>>1]!=(w[d+5|0]|w[d+4|0]<<8))){t[d|0]=w[a+427|0];t[d+1|0]=w[a+426|0];t[d+2|0]=w[a+429|0];t[d+3|0]=w[a+428|0];t[d+4|0]=w[a+431|0];t[d+5|0]=w[a+430|0]}d=d+6|0;g=g+1|0;if((h|0)!=(g|0)){continue}break}break Ia}if(!h){break Ia}g=0;while(1){if(!(x[a+510>>1]!=w[d|0]|x[a+512>>1]!=w[d+1|0]|x[a+514>>1]!=w[d+2|0])){t[d|0]=w[a+426|0];t[d+1|0]=w[a+428|0];t[d+2|0]=w[a+430|0]}d=d+3|0;g=g+1|0;if((h|0)!=(g|0)){continue}break}break Ia}if(i){if(!h){break Ia}e=0;while(1){j=w[d+1|0];g=w[d|0];gb:{if(x[a+516>>1]==(j|g<<8)){t[d|0]=w[a+433|0];j=w[a+432|0];break gb}j=x[v[i+(j>>>f<<2)>>2]+(g<<1)>>1];t[d|0]=j>>>8}t[d+1|0]=j;d=d+2|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}break Ia}if(!h){break Ia}if((h|0)!=1){g=h&-2;while(1){if(x[a+516>>1]==(w[d+1|0]|w[d|0]<<8)){t[d|0]=w[a+433|0];t[d+1|0]=w[a+432|0]}if(x[a+516>>1]==(w[d+3|0]|w[d+2|0]<<8)){t[d+2|0]=w[a+433|0];t[d+3|0]=w[a+432|0]}d=d+4|0;g=g-2|0;if(g){continue}break}}if(!(h&1)|x[a+516>>1]!=(w[d+1|0]|w[d|0]<<8)){break Ia}t[d|0]=w[a+433|0];t[d+1|0]=w[a+432|0];break Ia}if(!h){break Ia}if((h|0)!=1){g=h&-2;while(1){if(x[a+516>>1]==w[d|0]){t[d|0]=w[a+432|0]}if(x[a+516>>1]==w[d+1|0]){t[d+1|0]=w[a+432|0]}d=d+2|0;g=g-2|0;if(g){continue}break}}if(!(h&1)|x[a+516>>1]!=w[d|0]){break Ia}t[d|0]=w[a+432|0];break Ia}if(!h){break Ia}g=4;e=0;while(1){f=w[d|0];if(x[a+516>>1]==(f>>>g&15)){f=f&3855>>>4-g;t[d|0]=f;t[d|0]=f|x[a+432>>1]<>1]==(f>>>g&3)){f=f&16191>>>6-g;t[d|0]=f;t[d|0]=f|x[a+432>>1]<>2]}hb:{if((d&6299648)!=8192){break hb}ib:{if(!(d&128)){f=w[a+401|0];break ib}if(x[a+394>>1]){break hb}f=w[a+401|0];if(f&4){break hb}}if((f|0)==3){break hb}d=v[a+356>>2]+1|0;l=0;g=v[k>>2];j=v[a+456>>2];h=v[a+472>>2];f=w[k+9|0];e=v[a+468>>2];jb:{if(!(e?f>>>0<=8:0)&(!h|(f|0)!=16)){break jb}kb:{lb:{mb:{switch(w[k+8|0]){case 2:if((f|0)!=8){if(!g){break jb}f=0;while(1){e=x[v[h+(w[d+1|0]>>>j<<2)>>2]+(w[d|0]<<1)>>1];e=e<<8|e>>>8;t[d|0]=e;t[d+1|0]=e>>>8;e=x[v[h+(w[d+3|0]>>>j<<2)>>2]+(w[d+2|0]<<1)>>1];e=e<<8|e>>>8;t[d+2|0]=e;t[d+3|0]=e>>>8;e=x[v[h+(w[d+5|0]>>>j<<2)>>2]+(w[d+4|0]<<1)>>1];e=e<<8|e>>>8;t[d+4|0]=e;t[d+5|0]=e>>>8;d=d+6|0;f=f+1|0;if((g|0)!=(f|0)){continue}break}break jb}if(!g){break jb}if((g|0)!=1){i=g&-2;while(1){t[d|0]=w[e+w[d|0]|0];t[d+1|0]=w[e+w[d+1|0]|0];t[d+2|0]=w[e+w[d+2|0]|0];t[d+3|0]=w[e+w[d+3|0]|0];t[d+4|0]=w[e+w[d+4|0]|0];t[d+5|0]=w[e+w[d+5|0]|0];d=d+6|0;i=i-2|0;if(i){continue}break}}break lb;case 6:if((f|0)!=8){if(!g){break jb}f=0;while(1){e=x[v[h+(w[d+1|0]>>>j<<2)>>2]+(w[d|0]<<1)>>1];e=e<<8|e>>>8;t[d|0]=e;t[d+1|0]=e>>>8;e=x[v[h+(w[d+3|0]>>>j<<2)>>2]+(w[d+2|0]<<1)>>1];e=e<<8|e>>>8;t[d+2|0]=e;t[d+3|0]=e>>>8;e=x[v[h+(w[d+5|0]>>>j<<2)>>2]+(w[d+4|0]<<1)>>1];e=e<<8|e>>>8;t[d+4|0]=e;t[d+5|0]=e>>>8;d=d+8|0;f=f+1|0;if((g|0)!=(f|0)){continue}break}break jb}if(!g){break jb}if((g|0)!=1){i=g&-2;while(1){t[d|0]=w[e+w[d|0]|0];t[d+1|0]=w[e+w[d+1|0]|0];t[d+2|0]=w[e+w[d+2|0]|0];t[d+4|0]=w[e+w[d+4|0]|0];t[d+5|0]=w[e+w[d+5|0]|0];t[d+6|0]=w[e+w[d+6|0]|0];d=d+8|0;i=i-2|0;if(i){continue}break}}break lb;case 4:if((f|0)!=8){if(!g){break jb}if((g|0)!=1){f=g&-2;while(1){e=x[v[h+(w[d+1|0]>>>j<<2)>>2]+(w[d|0]<<1)>>1];e=e<<8|e>>>8;t[d|0]=e;t[d+1|0]=e>>>8;e=x[v[h+(w[d+5|0]>>>j<<2)>>2]+(w[d+4|0]<<1)>>1];e=e<<8|e>>>8;t[d+4|0]=e;t[d+5|0]=e>>>8;d=d+8|0;f=f-2|0;if(f){continue}break}}break kb}if(!g){break jb}i=g&3;if(g-1>>>0>=3){f=g&-4;while(1){t[d|0]=w[e+w[d|0]|0];t[d+2|0]=w[e+w[d+2|0]|0];t[d+4|0]=w[e+w[d+4|0]|0];t[d+6|0]=w[e+w[d+6|0]|0];d=d+8|0;f=f-4|0;if(f){continue}break}}if(!i){break jb}while(1){t[d|0]=w[e+w[d|0]|0];d=d+2|0;i=i-1|0;if(i){continue}break};break jb;case 0:break mb;default:break jb}}nb:{ob:{pb:{if(!(!g|(f|0)!=2)){f=d;while(1){i=w[f|0];m=i&48;n=w[e+(B(m,5)|m>>>2|m>>>4)|0]>>>2&48;m=i&192;n=n|w[e+(m|i>>>6|m>>>2|m>>>4)|0]&192;m=i&12;t[f|0]=n|w[e+(B(m,21)|m>>>2)|0]>>>4&12|w[e+B(i&3,85)|0]>>>6;f=f+1|0;l=l+4|0;if(g>>>0>l>>>0){continue}break}f=w[k+9|0]}switch(f-4|0){case 0:break nb;case 4:break ob;case 12:break pb;default:break jb}}if(!g){break jb}if((g|0)!=1){f=g&-2;while(1){e=x[v[h+(w[d+1|0]>>>j<<2)>>2]+(w[d|0]<<1)>>1];e=e<<8|e>>>8;t[d|0]=e;t[d+1|0]=e>>>8;e=x[v[h+(w[d+3|0]>>>j<<2)>>2]+(w[d+2|0]<<1)>>1];e=e<<8|e>>>8;t[d+2|0]=e;t[d+3|0]=e>>>8;d=d+4|0;f=f-2|0;if(f){continue}break}}break kb}if(!g){break jb}i=g&3;if(g-1>>>0>=3){f=g&-4;while(1){t[d|0]=w[e+w[d|0]|0];t[d+1|0]=w[e+w[d+1|0]|0];t[d+2|0]=w[e+w[d+2|0]|0];t[d+3|0]=w[e+w[d+3|0]|0];d=d+4|0;f=f-4|0;if(f){continue}break}}if(!i){break jb}while(1){t[d|0]=w[e+w[d|0]|0];d=d+1|0;i=i-1|0;if(i){continue}break}break jb}if(!g){break jb}f=0;while(1){h=w[d|0];t[d|0]=w[e+B(h&15,17)|0]>>>4|w[e+(h&240|h>>>4)|0]&240;d=d+1|0;f=f+2|0;if(g>>>0>f>>>0){continue}break}break jb}if(!(g&1)){break jb}t[d|0]=w[e+w[d|0]|0];t[d+1|0]=w[e+w[d+1|0]|0];t[d+2|0]=w[e+w[d+2|0]|0];break jb}if(!(g&1)){break jb}f=x[v[h+(w[d+1|0]>>>j<<2)>>2]+(w[d|0]<<1)>>1];f=f<<8|f>>>8;t[d|0]=f;t[d+1|0]=f>>>8}d=v[a+208>>2]}qb:{if((d&262272)!=262272){break qb}rb:{switch(w[k+8|0]-4|0){case 0:case 2:break rb;default:break qb}}_D(k,v[a+356>>2]+1|0,0);d=v[a+208>>2]}if(d&64){d=v[a+356>>2]+1|0;h=v[a+588>>2];f=v[a+592>>2];sb:{if(w[k+9|0]!=8){break sb}g=v[k>>2];tb:{ub:{vb:{wb:{xb:{e=w[k+8|0];if(!(!h|(e|0)!=2)){if(!g){break xb}e=0;f=d;while(1){t[f|0]=w[h+(w[d+1|0]<<2&992|w[d|0]<<7&31744|w[d+2|0]>>>3)|0];f=f+1|0;d=d+3|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}t[k+10|0]=1;t[k+8|0]=3;d=w[k+9|0];t[k+11|0]=d;if(d>>>0>=8){break ub}break tb}if(!(!h|(e|0)!=6)){if(!g){break wb}e=0;f=d;while(1){t[f|0]=w[h+(w[d+1|0]<<2&992|w[d|0]<<7&31744|w[d+2|0]>>>3)|0];f=f+1|0;d=d+4|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}t[k+10|0]=1;t[k+8|0]=3;d=w[k+9|0];t[k+11|0]=d;if(d>>>0>=8){break vb}break tb}if(!g|(!f|(e|0)!=3)){break sb}e=g&3;if(g-1>>>0>=3){g=g&-4;while(1){t[d|0]=w[f+w[d|0]|0];t[d+1|0]=w[f+w[d+1|0]|0];t[d+2|0]=w[f+w[d+2|0]|0];t[d+3|0]=w[f+w[d+3|0]|0];d=d+4|0;g=g-4|0;if(g){continue}break}}if(!e){break sb}while(1){t[d|0]=w[f+w[d|0]|0];d=d+1|0;e=e-1|0;if(e){continue}break}break sb}u[k+10>>1]=2049;t[k+8|0]=3;d=8;break ub}u[k+10>>1]=2049;t[k+8|0]=3;d=8}v[k+4>>2]=B(g,d>>>3|0);break sb}v[k+4>>2]=B(g,d>>>3|0);break sb}v[k+4>>2]=B(d,g)+7>>>3}if(!v[k+4>>2]){break oa}d=v[a+208>>2]}if(!(!(d&16384)|!(w[a+201|0]&8))){iQ(k,v[a+356>>2]+1|0);d=v[a+208>>2]}if(d&32){KR(k,v[a+356>>2]+1|0);d=v[a+208>>2]}if(d&8){d=v[a+356>>2]+1|0;f=Qb-16|0;h=w[k+8|0];yb:{if((h|0)==3){break yb}g=w[k+9|0];zb:{if(h&2){i=w[a+497|0];v[f+4>>2]=g-w[a+498|0];v[f+8>>2]=g-w[a+499|0];e=3;break zb}i=w[a+500|0];e=1}j=g-i|0;v[f>>2]=j;if(h&4){v[(f|e<<2)>>2]=g-w[a+501|0];e=e+1|0}i=(i|0)!=0&(j|0)>0;v[f>>2]=i?j:0;Ab:{if((e|0)==1){break Ab}h=v[f+4>>2];j=(h|0)<(g|0)&(h|0)>0;v[f+4>>2]=j?h:0;i=j?1:i;if((e|0)==2){break Ab}h=v[f+8>>2];j=(h|0)<(g|0)&(h|0)>0;v[f+8>>2]=j?h:0;i=j?1:i;if((e|0)==3){break Ab}h=v[f+12>>2];j=(h|0)<(g|0)&(h|0)>0;v[f+12>>2]=j?h:0;i=j?1:i}if(!i){break yb}Bb:{switch(Gib(g-2|0,31)|0){case 0:f=v[k+4>>2];if((f|0)<1){break yb}f=d+f|0;while(1){t[d|0]=w[d|0]>>>1&85;d=d+1|0;if(f>>>0>d>>>0){continue}break};break yb;case 1:e=v[k+4>>2];if((e|0)<1){break yb}f=v[f>>2];g=B(15>>>f|0,17);e=d+e|0;while(1){t[d|0]=g&w[d|0]>>>f;d=d+1|0;if(e>>>0>d>>>0){continue}break};break yb;case 3:g=v[k+4>>2];if((g|0)<1){break yb}h=d+g|0;g=0;while(1){t[d|0]=w[d|0]>>>v[f+(g<<2)>>2];g=g+1|0;g=(e|0)>(g|0)?g:0;d=d+1|0;if(h>>>0>d>>>0){continue}break};break yb;case 7:break Bb;default:break yb}}g=v[k+4>>2];if((g|0)<1){break yb}h=d+g|0;g=0;while(1){j=(w[d+1|0]|w[d|0]<<8)>>>v[f+(g<<2)>>2]|0;j=j<<8|j>>>8;t[d|0]=j;t[d+1|0]=j>>>8;g=g+1|0;g=(e|0)>(g|0)?g:0;d=d+2|0;if(h>>>0>d>>>0){continue}break}}d=v[a+208>>2]}if(d&4){e=v[a+356>>2]+1|0;f=w[k+9|0];if(f>>>0<=7){d=v[k>>2];Cb:{Db:{switch(f-1|0){case 0:if(!d){break Cb}g=d+e|0;f=0-d&7;h=d-1|0;e=e+(h>>>3|0)|0;if(h){i=d&-2;while(1){t[g-1|0]=w[e|0]>>>f&1;g=g-2|0;h=e;e=(f|0)==7;h=h-e|0;f=e?0:f+1|0;t[g|0]=w[h|0]>>>f&1;e=(f|0)==7;f=e?0:f+1|0;e=h-e|0;i=i-2|0;if(i){continue}break}}if(!(d&1)){break Cb}t[g-1|0]=w[e|0]>>>f&1;break Cb;case 1:if(!d){break Cb}g=d+e|0;h=d-1|0;e=e+(h>>>2|0)|0;f=((d<<1)+6^-1)&6;if(h){i=d&-2;while(1){t[g-1|0]=w[e|0]>>>f&3;g=g-2|0;h=e;e=(f|0)==6;h=h-e|0;f=e?0:f+2|0;t[g|0]=w[h|0]>>>f&3;e=(f|0)==6;f=e?0:f+2|0;e=h-e|0;i=i-2|0;if(i){continue}break}}if(!(d&1)){break Cb}t[g-1|0]=w[e|0]>>>f&3;break Cb;case 3:break Db;default:break Cb}}if(!d){break Cb}g=d+e|0;f=d<<2&4;h=d-1|0;e=e+(h>>>1|0)|0;if(h){i=d&-2;while(1){t[g-1|0]=w[e|0]>>>f&15;g=g-2|0;h=(f|0)==4;e=e-h|0;f=(f|0)!=4;t[g|0]=w[e|0]>>>(f<<2)&15;e=e-f|0;f=h<<2;i=i-2|0;if(i){continue}break}}if(!(d&1)){break Cb}t[g-1|0]=w[e|0]>>>f&15}t[k+9|0]=8;f=w[k+10|0];t[k+11|0]=f<<3;v[k+4>>2]=B(d,f)}d=v[a+208>>2]}if(d&1){rR(k,v[a+356>>2]+1|0);d=v[a+208>>2]}if(d&65536){AR(k,v[a+356>>2]+1|0);d=v[a+208>>2]}if(d&32768){d=v[a+356>>2]+1|0;j=v[a+204>>2];g=0;i=x[a+416>>1];f=i>>>8|0;h=v[k>>2];Eb:{Fb:{Gb:{switch(w[k+8|0]){case 0:Hb:{switch(w[k+9|0]-8|0){case 0:e=d+h|0;if(j&128){d=e+h|0;j=2;Ib:{if(h>>>0<2){break Ib}g=h-1|0;f=g&3;if(h-2>>>0>=3){g=g&-4;while(1){t[d-1|0]=i;l=w[e-1|0];t[d-3|0]=i;t[d-2|0]=l;l=w[e-2|0];t[d-5|0]=i;t[d-4|0]=l;l=w[e-3|0];t[d-7|0]=i;t[d-6|0]=l;d=d-8|0;e=e-4|0;t[d|0]=w[e|0];g=g-4|0;if(g){continue}break}}if(!f){break Ib}while(1){t[d-1|0]=i;d=d-2|0;e=e-1|0;t[d|0]=w[e|0];f=f-1|0;if(f){continue}break}}t[d-1|0]=i;l=1;m=16;break Fb}l=1;m=16;j=2;if(!h){break Fb}g=h&3;d=e+h|0;Jb:{if(h-1>>>0<3){f=d;break Jb}n=h&-4;while(1){f=w[e-1|0];t[d-2|0]=i;t[d-1|0]=f;f=w[e-2|0];t[d-4|0]=i;t[d-3|0]=f;f=w[e-3|0];t[d-6|0]=i;t[d-5|0]=f;e=e-4|0;p=w[e|0];f=d-8|0;t[f|0]=i;t[d-7|0]=p;d=f;n=n-4|0;if(n){continue}break}}if(!g){break Fb}while(1){e=e-1|0;n=w[e|0];d=f-2|0;t[d|0]=i;t[f-1|0]=n;f=d;g=g-1|0;if(g){continue}break};break Fb;case 8:break Hb;default:break Eb}}e=d;d=h<<1;e=e+d|0;if(j&128){d=d+e|0;j=2;Kb:{if(h>>>0<2){break Kb}g=h-1|0;l=g&1;if((h|0)!=2){g=g&-2;while(1){t[d-2|0]=f;t[d-1|0]=i;t[d-3|0]=w[e-1|0];m=w[e-2|0];t[d-5|0]=i;t[d-4|0]=m;t[d-6|0]=f;t[d-7|0]=w[e-3|0];d=d-8|0;e=e-4|0;t[d|0]=w[e|0];g=g-2|0;if(g){continue}break}}if(!l){break Kb}t[d-2|0]=f;t[d-1|0]=i;t[d-3|0]=w[e-1|0];d=d-4|0;t[d|0]=w[e-2|0]}t[d-2|0]=f;t[d-1|0]=i;m=32;l=2;break Fb}m=32;if(h){Lb:{d=d+e|0;if((h|0)!=1){g=h&-2;while(1){t[d-1|0]=w[e-1|0];j=w[e-2|0];t[d-3|0]=i;t[d-2|0]=j;t[d-4|0]=f;t[d-5|0]=w[e-3|0];e=e-4|0;j=w[e|0];t[d-7|0]=i;t[d-6|0]=j;d=d-8|0;t[d|0]=f;g=g-2|0;if(g){continue}break}}if(!(h&1)){break Lb}t[d-1|0]=w[e-1|0];e=w[e-2|0];t[d-3|0]=i;t[d-2|0]=e;t[d-4|0]=f}}j=2;l=2;break Fb;case 2:break Gb;default:break Eb}}Mb:{switch(w[k+9|0]-8|0){case 0:e=d+B(h,3)|0;if(j&128){d=e+h|0;l=2;if(h>>>0>=2){f=1;while(1){t[d-1|0]=i;t[d-2|0]=w[e-1|0];t[d-3|0]=w[e-2|0];d=d-4|0;e=e-3|0;t[d|0]=w[e|0];f=f+1|0;if((h|0)!=(f|0)){continue}break}}t[d-1|0]=i;m=32;j=4;break Fb}l=2;m=32;j=4;if(!h){break Fb}d=e+h|0;f=0;while(1){t[d-1|0]=w[e-1|0];t[d-2|0]=w[e-2|0];e=e-3|0;n=w[e|0];g=d-4|0;t[g|0]=i;t[d-3|0]=n;d=g;f=f+1|0;if((h|0)!=(f|0)){continue}break};break Fb;case 8:break Mb;default:break Eb}}e=d+B(h,6)|0;if(j&128){g=1;d=(h<<1)+e|0;if(h>>>0>=2){while(1){t[d-2|0]=f;t[d-1|0]=i;t[d-3|0]=w[e-1|0];t[d-4|0]=w[e-2|0];t[d-5|0]=w[e-3|0];t[d-6|0]=w[e-4|0];t[d-7|0]=w[e-5|0];d=d-8|0;e=e-6|0;t[d|0]=w[e|0];g=g+1|0;if((h|0)!=(g|0)){continue}break}}t[d-2|0]=f;t[d-1|0]=i;l=3;m=64;j=4;break Fb}l=3;m=64;j=4;if(!h){break Fb}d=(h<<1)+e|0;while(1){t[d-1|0]=w[e-1|0];t[d-2|0]=w[e-2|0];t[d-3|0]=w[e-3|0];t[d-4|0]=w[e-4|0];t[d-5|0]=w[e-5|0];e=e-6|0;n=w[e|0];t[d-7|0]=i;t[d-6|0]=n;d=d-8|0;t[d|0]=f;g=g+1|0;if((h|0)!=(g|0)){continue}break}}t[k+11|0]=m;t[k+10|0]=j;v[k+4>>2]=h<>2]}if(d&524288){d=v[a+356>>2]+1|0;f=v[k>>2];Nb:{Ob:{switch(w[k+8|0]-4|0){case 2:if(w[k+9|0]==8){if(!f){break Nb}g=f&3;d=d+v[k+4>>2]|0;if(f-1>>>0>=3){f=f&-4;while(1){e=d-1|0;t[e|0]=w[e|0]^-1;e=d-5|0;t[e|0]=w[e|0]^-1;e=d-9|0;t[e|0]=w[e|0]^-1;e=d-13|0;t[e|0]=w[e|0]^-1;d=d-16|0;f=f-4|0;if(f){continue}break}}if(!g){break Nb}while(1){f=d-1|0;t[f|0]=w[f|0]^-1;d=d-4|0;g=g-1|0;if(g){continue}break}break Nb}if(!f){break Nb}d=d+v[k+4>>2]|0;if((f|0)!=1){g=f&-2;while(1){e=d-1|0;t[e|0]=w[e|0]^-1;e=d-2|0;t[e|0]=w[e|0]^-1;e=d-9|0;t[e|0]=w[e|0]^-1;e=d-10|0;t[e|0]=w[e|0]^-1;d=d-16|0;g=g-2|0;if(g){continue}break}}if(!(f&1)){break Nb}f=d-1|0;t[f|0]=w[f|0]^-1;d=d-2|0;t[d|0]=w[d|0]^-1;break Nb;case 0:break Ob;default:break Nb}}if(w[k+9|0]==8){if(!f){break Nb}g=f&3;d=d+v[k+4>>2]|0;if(f-1>>>0>=3){f=f&-4;while(1){e=d-1|0;t[e|0]=w[e|0]^-1;e=d-3|0;t[e|0]=w[e|0]^-1;e=d-5|0;t[e|0]=w[e|0]^-1;e=d-7|0;t[e|0]=w[e|0]^-1;d=d-8|0;f=f-4|0;if(f){continue}break}}if(!g){break Nb}while(1){f=d-1|0;t[f|0]=w[f|0]^-1;d=d-2|0;g=g-1|0;if(g){continue}break}break Nb}if(!f){break Nb}d=d+v[k+4>>2]|0;if((f|0)!=1){g=f&-2;while(1){e=d-1|0;t[e|0]=w[e|0]^-1;e=d-2|0;t[e|0]=w[e|0]^-1;e=d-5|0;t[e|0]=w[e|0]^-1;e=d-6|0;t[e|0]=w[e|0]^-1;d=d-8|0;g=g-2|0;if(g){continue}break}}if(!(f&1)){break Nb}f=d-1|0;t[f|0]=w[f|0]^-1;d=d-2|0;t[d|0]=w[d|0]^-1}d=v[a+208>>2]}if(d&131072){d=v[a+356>>2]+1|0;g=0;f=v[k>>2];Pb:{Qb:{switch(w[k+8|0]-4|0){case 2:if(w[k+9|0]==8){if(!f){break Pb}d=d+v[k+4>>2]|0;if((f|0)!=1){g=f&-2;while(1){e=d-1|0;h=w[e|0];j=e;e=d-2|0;t[j|0]=w[e|0];j=d-3|0;i=w[j|0];n=j;j=d-4|0;t[n|0]=w[j|0];t[e|0]=i;t[j|0]=h;e=d-5|0;h=w[e|0];j=e;e=d-6|0;t[j|0]=w[e|0];j=e;e=d-7|0;t[j|0]=w[e|0];d=d-8|0;t[e|0]=w[d|0];t[d|0]=h;g=g-2|0;if(g){continue}break}}if(!(f&1)){break Pb}f=d-1|0;e=w[f|0];g=f;f=d-2|0;t[g|0]=w[f|0];g=d-3|0;h=w[g|0];d=d-4|0;t[g|0]=w[d|0];t[f|0]=h;t[d|0]=e;break Pb}if(!f){break Pb}d=d+v[k+4>>2]|0;while(1){e=d-2|0;j=w[e|0]|w[e+1|0]<<8;h=d-4|0;i=w[h|0]|w[h+1|0]<<8;t[e|0]=i;t[e+1|0]=i>>>8;e=d-6|0;i=w[e|0]|w[e+1|0]<<8;t[h|0]=i;t[h+1|0]=i>>>8;d=d-8|0;h=w[d|0]|w[d+1|0]<<8;t[e|0]=h;t[e+1|0]=h>>>8;t[d|0]=j;t[d+1|0]=j>>>8;g=g+1|0;if((f|0)!=(g|0)){continue}break};break Pb;case 0:break Qb;default:break Pb}}if(w[k+9|0]==8){if(!f){break Pb}g=f&3;d=d+v[k+4>>2]|0;if(f-1>>>0>=3){f=f&-4;while(1){e=d-1|0;h=w[e|0];j=e;e=d-2|0;t[j|0]=w[e|0];t[e|0]=h;e=d-3|0;h=w[e|0];j=e;e=d-4|0;t[j|0]=w[e|0];t[e|0]=h;e=d-5|0;h=w[e|0];j=e;e=d-6|0;t[j|0]=w[e|0];t[e|0]=h;e=d-7|0;h=w[e|0];d=d-8|0;t[e|0]=w[d|0];t[d|0]=h;f=f-4|0;if(f){continue}break}}if(!g){break Pb}while(1){f=d-1|0;e=w[f|0];d=d-2|0;t[f|0]=w[d|0];t[d|0]=e;g=g-1|0;if(g){continue}break}break Pb}if(!f){break Pb}d=d+v[k+4>>2]|0;if((f|0)!=1){g=f&-2;while(1){e=d-4|0;h=Gib(w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24),16);t[e|0]=h;t[e+1|0]=h>>>8;t[e+2|0]=h>>>16;t[e+3|0]=h>>>24;d=d-8|0;e=Gib(w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24),16);t[d|0]=e;t[d+1|0]=e>>>8;t[d+2|0]=e>>>16;t[d+3|0]=e>>>24;g=g-2|0;if(g){continue}break}}if(!(f&1)){break Pb}d=d-4|0;f=Gib(w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24),16);t[d|0]=f;t[d+1|0]=f>>>8;t[d+2|0]=f>>>16;t[d+3|0]=f>>>24}d=v[a+208>>2]}if(d&16){GR(k,v[a+356>>2]+1|0);d=v[a+208>>2]}if(d&1048576){d=v[a+184>>2];if(d){Ub[d|0](a,k,v[a+356>>2]+1|0)}d=w[a+196|0];if(d){t[k+9|0]=d}d=w[a+197|0];Rb:{if(!d){d=w[k+10|0];break Rb}t[k+10|0]=d}e=B(w[k+9|0],d);t[k+11|0]=e;f=v[k>>2];d=k;e=e&255;Sb:{if(e>>>0>=8){f=B(f,e>>>3|0);break Sb}f=B(e,f)+7>>>3|0}v[d+4>>2]=f}break na}hd(a,28351);L()}hd(a,29765);L()}hd(a,31581);L()}hd(a,33823);L()}}d=w[k+11|0];f=w[a+409|0];Tb:{if(!f){t[a+409|0]=d;if(d>>>0<=w[a+408|0]){break Tb}hd(a,31277);L()}if((d|0)!=(f|0)){break a}}Ub:{Vb:{if(!w[a+398|0]){break Vb}f=v[a+208>>2];if(!(f&2)){break Vb}m=w[a+399|0];if(m>>>0<=5){n=Qb-16|0;Qb=n;l=v[a+356>>2]+1|0;if(!(!l|!k)){d=v[(m<<2)+76064>>2];g=v[k>>2];j=B(d,g);Wb:{Xb:{Yb:{Zb:{_b:{e=w[k+11|0];switch(e-1|0){case 3:break Yb;case 1:break Zb;case 0:break _b;default:break Xb}}h=7;p=g-1|0;s=p&7;$b:{if(f&65536){e=j-1&7;f=-1;break $b}z=7;s=s^7;h=0;e=0-j&7;f=1}if(!g){break Wb}i=l+(j-1>>>3|0)|0;l=l+(p>>>3|0)|0;d=(d|0)>1?d:1;g=d&2147483646;p=d&1;q=(m|0)==6;while(1){m=w[l|0]>>>s&1;d=g;if(!q){while(1){t[i|0]=w[i|0]&32639>>>7-e|m<>>7-e|m<>>7-e|m<>>0>2]){continue}break}break Wb}h=6;s=(g<<1)+6&6;ac:{if(f&65536){e=(j<<1)+6&6;f=-2;break ac}z=6;s=s^6;h=0;e=((j<<1)+6^-1)&6;f=2}if(!g){break Wb}i=l+(j-1>>>2|0)|0;l=l+(g-1>>>2|0)|0;d=(d|0)>1?d:1;g=d&2147483646;p=d&1;q=(m|0)==6;while(1){m=w[l|0]>>>s&3;d=g;if(!q){while(1){t[i|0]=w[i|0]&16191>>>6-e|m<>>6-e|m<>>6-e|m<>>0>2]){continue}break}break Wb}h=4;s=g<<2&4;bc:{if(f&65536){s=s^4;e=(j<<2^-1)&4;f=-4;break bc}z=4;h=0;e=j<<2&4;f=4}if(!g){break Wb}i=l+(j-1>>>1|0)|0;l=l+(g-1>>>1|0)|0;d=(d|0)>1?d:1;g=d&2147483646;p=d&1;q=(m|0)==6;while(1){m=w[l|0]>>>s&15;d=g;if(!q){while(1){t[i|0]=w[i|0]&3855>>>4-e|m<>>4-e|m<>>4-e|m<>>0>2]){continue}break}break Wb}if(!g){break Wb}i=e>>>3|0;m=0-i|0;f=(d|0)>1?d:1;d=f&2147483644;e=f&3;z=l+B(i,g-1|0)|0;h=l+B(i,j-1|0)|0;l=f-1>>>0<3;while(1){gc(n+8|0,z,i);f=d;if(!l){while(1){g=n+8|0;h=gc(gc(gc(gc(h,g,i)+m|0,g,i)+m|0,g,i)+m|0,g,i)+m|0;f=f-4|0;if(f){continue}break}}f=e;if(e){while(1){h=gc(h,n+8|0,i)+m|0;f=f-1|0;if(f){continue}break}}z=m+z|0;s=s+1|0;if(s>>>0>2]){continue}break}}v[k>>2]=j;d=k;e=d;f=w[d+11|0];cc:{if(f>>>0>=8){d=B(j,f>>>3|0);break cc}d=B(f,j)+7>>>3|0}v[e+4>>2]=d}Qb=n+16|0}if(c){Rl(a,c,1)}if(!b){break Ub}Rl(a,b,0);break Ub}if(b){Rl(a,b,-1)}if(!c){break Ub}Rl(a,c,-1)}Xn(a);b=v[a+520>>2];if(!b){break d}Ub[b|0](a,v[a+344>>2],w[a+399|0])}Qb=k+16|0;return}hd(a,23227);L()}hd(a,29996);L()}hd(a,33022);L()}function Js(a,b){var 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=C(0),D=0,E=C(0),F=C(0),G=C(0),H=C(0),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,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,wa=C(0);c=Qb-928|0;Qb=c;v[c+796>>2]=50462976;d=v[49859];v[c+200>>2]=v[49858];v[c+204>>2]=d;d=v[49857];v[c+192>>2]=v[49856];v[c+196>>2]=d;d=v[49855];v[c+184>>2]=v[49854];v[c+188>>2]=d;d=v[49853];v[c+176>>2]=v[49852];v[c+180>>2]=d;v[c+168>>2]=0;v[c+172>>2]=0;v[c+160>>2]=0;v[c+164>>2]=0;v[c+152>>2]=0;v[c+156>>2]=0;v[c+144>>2]=0;v[c+148>>2]=0;d=1;r=v[a+26104>>2];a:{if(r>>>0>9){break a}v[a+26104>>2]=r+1;v[c+416>>2]=0;v[c+420>>2]=0;v[c+424>>2]=0;v[c+428>>2]=0;v[c+432>>2]=0;v[c+436>>2]=0;v[c+448>>2]=0;v[c+452>>2]=0;v[c+440>>2]=0;v[c+444>>2]=1072693248;v[c+456>>2]=0;v[c+460>>2]=0;v[c+464>>2]=0;v[c+468>>2]=0;v[c+472>>2]=0;v[c+476>>2]=0;v[c+488>>2]=0;v[c+492>>2]=0;v[c+480>>2]=0;v[c+484>>2]=1072693248;v[c+496>>2]=0;v[c+500>>2]=0;v[c+504>>2]=0;v[c+508>>2]=0;v[c+512>>2]=0;v[c+516>>2]=0;v[c+520>>2]=0;v[c+524>>2]=1072693248;v[c+408>>2]=0;v[c+412>>2]=0;v[c+400>>2]=0;v[c+404>>2]=1072693248;u[c+528>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+528|0,1,2)|0;e=w[c+528|0];if(x[a+25204>>1]==18761){e=e|w[c+529|0]<<8}else{e=w[c+529|0]|e<<8}f=e&65535;if(f>>>0>512){break a}b:{c:{d:{if(f){ga=a+25221|0;ha=a+25925|0;ia=a+25861|0;O=a+25797|0;q=a+59276|0;ja=a+59272|0;ca=a+59268|0;n=a+25733|0;da=a+26484|0;ka=a+59254|0;la=c+208|4;ma=c+216|0;na=c+220|0;pa=c+224|0;qa=c+228|0;I=a+26482|0;P=a+59388|0;Q=a+59392|0;R=a+59380|0;S=a+59384|0;T=a+59372|0;U=a+59376|0;V=a+59364|0;W=a+59368|0;X=a+59356|0;Y=a+59360|0;Z=a+59348|0;_=a+59352|0;D=e&65535;M=1;J=1;N=1;l=16;while(1){Ks(a,b,c+892|0,c+888|0,c+884|0,c+880|0);D=D-1|0;m=a;e:{f:{g:{h:{j=a;i:{j:{d=a;k:{l:{i=a;m:{n:{f=a;o:{p:{q:{r:{e=a;s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{V:{W:{X:{Y:{Z:{_:{$:{aa:{ba:{ca:{da:{ea:{fa:{ga:{ha:{ia:{ja:{ka:{la:{ma:{na:{oa:{pa:{qa:{ra:{sa:{ta:{ua:{va:{wa:{xa:{ya:{za:{Aa:{Ba:{Ca:{Da:{Ea:{Fa:{Ga:{Ha:{Ia:{Ja:{Ka:{La:{Ma:{h=v[c+892>>2];if((h|0)<=33404){if((h|0)<=512){Na:{switch(h-256|0){case 35:break H;case 144:break na;case 74:break oa;case 68:break pa;case 67:break qa;case 66:break ra;case 59:break sa;case 50:break ta;case 49:break ua;case 23:break va;case 21:break wa;case 18:break xa;case 17:break ya;case 24:break za;case 16:break Aa;case 15:break Ba;case 14:break Ca;case 6:break Da;case 3:break Ea;case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 19:case 20:case 22:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 48:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 58:case 60:case 61:case 62:case 63:case 64:case 65:case 69:case 70:case 71:case 72:case 73:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 91:case 92:case 93:case 94:case 95:case 96:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:case 123:case 124:case 125:case 126:case 127:case 128:case 129:case 130:case 131:case 132:case 133:case 134:case 135:case 136:case 137:case 138:case 139:case 140:case 141:case 142:case 143:break e;case 2:break Fa;case 1:break Ga;case 0:break Ha;default:break Na}}switch(h-2|0){case 9:break ua;case 1:break Ga;case 0:break Ha;case 44:break Ia;case 37:break Ja;case 34:case 35:case 36:break Ka;case 21:break La;case 15:case 16:break Ma;default:break e}}if((h|0)<=29216){Oa:{switch(h-513|0){case 1:break va;case 0:break ya;default:break Oa}}Pa:{switch(h-29184|0){case 1:break ja;case 0:break ka;default:break Pa}}if((h|0)!=28688){break e}u[c+208>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;d=w[c+208|0];if(x[a+25204>>1]!=18761){break ma}d=d|w[c+209|0]<<8;break la}Qa:{switch(h-29443|0){case 16:break ga;case 0:break ha;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break e;default:break Qa}}if((h|0)==29217){break ia}if((h|0)!=29264){break e}TI(a,Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0);u[a+26306>>1]=0;break e}if((h|0)<=50453){if((h|0)<=34664){Ra:{switch(h-33405|0){case 32:break ba;case 29:break ca;case 19:break da;case 17:break ea;case 0:break fa;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 18:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 30:case 31:break e;default:break Ra}}switch(h-34303|0){case 0:break Z;case 7:break _;case 4:break $;case 3:break aa;default:break e}}if((h|0)<=37385){Sa:{switch(h-34665|0){case 10:break W;case 0:break Y;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break e;default:break Sa}}if((h|0)==34853){break X}if((h|0)!=37122){break e}v[c+208>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;d=w[c+208|0];if(x[a+25204>>1]!=18761){break V}v[a+26024>>2]=d|w[c+209|0]<<8|w[c+210|0]<<16|w[c+211|0]<<24;break e}Ta:{switch(h-37386|0){case 14:break S;case 7:break T;case 0:break U;case 1:case 2:case 3:case 4:case 5:case 6:case 8:case 9:case 10:case 11:case 12:case 13:break e;default:break Ta}}switch(h-46275|0){case 4:break Q;case 0:break R;default:break e}}Ua:{switch(h-50706|0){default:Va:{switch(h-50454|0){case 5:break N;case 4:break O;case 0:case 1:break P;case 2:case 3:break e;default:break Va}}switch(h-64772|0){case 0:break w;case 5:break ea;default:break e};case 21:i=v[a+26336>>2];break B;case 22:break Ua;case 123:break x;case 46:break y;case 34:break z;case 23:break A;case 17:case 18:break C;case 15:case 16:break D;case 12:break E;case 11:break F;case 8:case 9:case 10:break G;case 6:break H;case 5:break I;case 4:break L;case 0:break M;case 125:break W;case 1:case 2:case 3:case 7:case 13:case 14:case 19:case 20:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 47:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 91:case 92:case 93:case 94:case 95:case 96:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:case 124:break e}}e=0;if(v[a+26336>>2]<=0){break e}while(1){sa=(c+144|0)+(e<<3)|0,ta=re(a,v[c+888>>2]),A[sa>>3]=ta;e=e+1|0;if((e|0)>2]){continue}break}break e}if(v[c+888>>2]!=3|v[c+884>>2]!=1){break e}u[c+208>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];f=((h<<3)+a|0)+59132|0;if(x[a+25204>>1]==18761){d=e|w[c+209|0]<<8}else{d=w[c+209|0]|e<<8}z[f>>2]=C((d&65535)>>>0)*C(.00390625);break e}if(v[c+888>>2]!=3){break e}u[c+208>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];d=a;if(x[a+25204>>1]==18761){e=e|w[c+209|0]<<8}else{e=w[c+209|0]|e<<8}z[d+26e3>>2]=(e&65535)>>>0;break e}u[c+208>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];f=((h<<2)+a|0)+59124|0;if(x[a+25204>>1]==18761){d=e|w[c+209|0]<<8}else{d=w[c+209|0]|e<<8}z[f>>2]=(d&65535)>>>0;break e}if(y[c+884>>2]<50|z[ca>>2]!=C(0)){break e}Ub[v[v[a>>2]+8>>2]](v[a+4>>2],12,1)|0;u[c+208>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];d=a;if(x[a+25204>>1]==18761){e=e|w[c+209|0]<<8}else{e=w[c+209|0]|e<<8}z[d+59268>>2]=(e&65535)>>>0;u[c+208>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;d=w[c+208|0];if(x[a+25204>>1]==18761){break r}d=w[c+209|0]|d<<8;break q}if(v[c+888>>2]!=7){break e}if((Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0)!=255){break e}if((Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0)!=216){break e}d=(Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0)-2|0;v[a+26056>>2]=d;v[a+26060>>2]=d>>31;v[a+26080>>2]=v[c+884>>2];break e}f=(B(r,36)+a|0)+24816|0;Wa:{if(v[c+888>>2]==3){u[c+208>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];d=e|w[c+209|0]<<8;if(x[a+25204>>1]==18761){break Wa}d=w[c+209|0]|e<<8;break Wa}v[c+208>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;e=w[c+208|0];d=e|w[c+209|0]<<8|w[c+210|0]<<16|w[c+211|0]<<24;if(x[a+25204>>1]==18761){break Wa}d=w[c+211|0]|(w[c+209|0]<<16|e<<24|w[c+210|0]<<8)}v[f>>2]=d;break e}f=(B(r,36)+a|0)+24820|0;Xa:{if(v[c+888>>2]==3){u[c+208>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];d=e|w[c+209|0]<<8;if(x[a+25204>>1]==18761){break Xa}d=w[c+209|0]|e<<8;break Xa}v[c+208>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;e=w[c+208|0];d=e|w[c+209|0]<<8|w[c+210|0]<<16|w[c+211|0]<<24;if(x[a+25204>>1]==18761){break Xa}d=w[c+211|0]|(w[c+209|0]<<16|e<<24|w[c+210|0]<<8)}v[f>>2]=d;break e}d=B(r,36)+a|0;v[d+24844>>2]=v[c+884>>2]&7;u[c+208>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];f=d+24824|0;if(x[a+25204>>1]==18761){d=e|w[c+209|0]<<8}else{d=w[c+209|0]|e<<8}v[f>>2]=d&65535;break e}u[c+208>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];f=(B(r,36)+a|0)+24828|0;if(x[a+25204>>1]==18761){d=e|w[c+209|0]<<8}else{d=w[c+209|0]|e<<8}v[f>>2]=d&65535;break e}u[c+208>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];f=(B(r,36)+a|0)+24832|0;if(x[a+25204>>1]==18761){d=e|w[c+209|0]<<8}else{d=w[c+209|0]|e<<8}v[f>>2]=d&65535;break e}Ub[v[v[a>>2]>>2]](v[a+4>>2],ga,512,1)|0;break e}Ub[v[v[a>>2]+16>>2]](v[a+4>>2],n,64)|0;break e}Ub[v[v[a>>2]+16>>2]](v[a+4>>2],O,64)|0;break e}if(v[c+888>>2]!=4){break e}v[a+26300>>2]=8200;v[a+190476>>2]=943}v[c+208>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;e=w[c+208|0];f=B(r,36)+a|0;i=f+24836|0;if(x[a+25204>>1]==18761){d=e|w[c+209|0]<<8|w[c+210|0]<<16|w[c+211|0]<<24}else{d=w[c+211|0]|(w[c+209|0]<<16|e<<24|w[c+210|0]<<8)}d=d+b|0;v[i>>2]=d;e=f+24824|0;if(v[e>>2]){break e}Ub[v[v[a>>2]+8>>2]](v[a+4>>2],d,0)|0;if(!Oo(a,c- -64|0,1)){break e}v[f+24828>>2]=6;d=v[c+76>>2];v[f+24816>>2]=v[c+72>>2]<<((d|0)==2);v[f+24820>>2]=v[c+68>>2];v[e>>2]=v[c+64>>2];v[f+24844>>2]=d;break e}u[c+208>>1]=65535;d=c+208|0;Ub[v[v[a>>2]>>2]](v[a+4>>2],d,1,2)|0;v[(B(r,36)+a|0)+24840>>2]=t[(w[(x[a+25204>>1]==18761?d:d|1)|0]&7)+68500|0]-48;break e}e=(B(r,36)+a|0)+24844|0;Ya:{if(v[c+888>>2]==3){u[c+208>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;d=w[c+208|0];d=x[a+25204>>1]==18761?d:w[c+209|0]|d<<8;break Ya}v[c+208>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;d=w[c+208|0];d=x[a+25204>>1]==18761?d:w[c+211|0]|d<<24}v[e>>2]=d&7;break e}v[c+208>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;e=w[c+208|0];f=(B(r,36)+a|0)+24848|0;if(x[a+25204>>1]==18761){d=e|w[c+209|0]<<8|w[c+210|0]<<16|w[c+211|0]<<24}else{d=w[c+211|0]|(w[c+209|0]<<16|e<<24|w[c+210|0]<<8)}v[f>>2]=d;break e}d=c+816|0;Ub[v[v[a>>2]+16>>2]](v[a+4>>2],d,64)|0;Za:{if(!Pc(d,68530,5)){break Za}if(!Pc(c+816|0,68675,5)){break Za}if(!Pc(c+816|0,68733,5)){break Za}if(!Pc(c+816|0,68887,6)){break Za}if(!Pc(c+816|0,68982,10)){break Za}if(Pc(c+816|0,69081,27)){break e}}v[a+26148>>2]=0;break e}t[c+915|0]=0;d=c+896|0;Ub[v[v[a>>2]>>2]](v[a+4>>2],d,19,1)|0;v[c+248>>2]=0;v[c+240>>2]=0;v[c+244>>2]=0;v[c+232>>2]=0;v[c+236>>2]=0;v[c+224>>2]=0;v[c+228>>2]=0;v[c+216>>2]=0;v[c+220>>2]=0;v[c+16>>2]=la;v[c+208>>2]=0;v[c+212>>2]=0;v[c>>2]=qa;v[c+4>>2]=pa;v[c+8>>2]=na;v[c+12>>2]=ma;v[c+20>>2]=c+208;if((ef(d,64727,c)|0)!=6){break e}v[c+228>>2]=v[c+228>>2]-1900;v[c+224>>2]=v[c+224>>2]-1;if((oa(c+208|0)|0)<1){break e}sa=a,ua=oa(c+208|0)|0,v[sa+26016>>2]=ua;break e}Ub[v[v[a>>2]>>2]](v[a+4>>2],ha,64,1)|0;break e}if(v[c+888>>2]==3){u[c+208>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];d=a;if(x[a+25204>>1]==18761){e=e|w[c+209|0]<<8}else{e=w[c+209|0]|e<<8}v[d+26164>>2]=e&65535;break e}v[c+208>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;d=w[c+208|0];if(x[a+25204>>1]==18761){v[a+26164>>2]=d|w[c+209|0]<<8|w[c+210|0]<<16|w[c+211|0]<<24;break e}v[a+26164>>2]=w[c+211|0]|(w[c+209|0]<<16|d<<24|w[c+210|0]<<8);break e}if(v[c+888>>2]==3){u[c+208>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];d=a;if(x[a+25204>>1]==18761){e=e|w[c+209|0]<<8}else{e=w[c+209|0]|e<<8}v[d+26168>>2]=e&65535;break e}v[c+208>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;d=w[c+208|0];if(x[a+25204>>1]==18761){v[a+26168>>2]=d|w[c+209|0]<<8|w[c+210|0]<<16|w[c+211|0]<<24;break e}v[a+26168>>2]=w[c+211|0]|(w[c+209|0]<<16|d<<24|w[c+210|0]<<8);break e}d=v[c+884>>2];if(d>>>0<=1){v[c+208>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;e=w[c+208|0];f=(B(r,36)+a|0)+24836|0;if(x[a+25204>>1]==18761){d=e|w[c+209|0]<<8|w[c+210|0]<<16|w[c+211|0]<<24}else{d=w[c+211|0]|(w[c+209|0]<<16|e<<24|w[c+210|0]<<8)}v[f>>2]=d;break e}sa=(B(r,36)+a|0)+24836|0,ua=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0,v[sa>>2]=ua;if((d|0)!=4){break e}v[a+26148>>2]=5;v[a+190476>>2]=944;break e}if(!(mc(O,69254)|v[(B(r,36)+a|0)+24816>>2]!=3872)){v[a+190476>>2]=945;sa=a,ua=vm(a)+b|0,v[sa+26048>>2]=ua;v[a+26052>>2]=0;r=r+1|0;break e}f=-1;e=v[c+884>>2];if(!e){break f}while(1){m=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;j=v[a>>2];i=v[j+8>>2];d=v[a+4>>2];v[c+208>>2]=-1;Ub[v[j>>2]](d,c+208|0,1,4)|0;j=w[c+208|0];e=e-1|0;if(x[a+25204>>1]==18761){j=j|w[c+209|0]<<8|w[c+210|0]<<16|w[c+211|0]<<24}else{j=w[c+211|0]|(w[c+209|0]<<16|j<<24|w[c+210|0]<<8)}Ub[i|0](d,j+b|0,0)|0;if(Js(a,b)){f=e;break f}Ub[v[v[a>>2]+8>>2]](v[a+4>>2],m+4|0,0)|0;if(e){continue}break}break f}v[a+26124>>2]=4095;t[a+25733|0]=83;t[a+25734|0]=97;t[a+25735|0]=114;t[a+25736|0]=110;t[a+25737|0]=111;t[a+25738|0]=102;t[a+25739|0]=102;t[a+25740|0]=0;break e}d=w[c+209|0]|d<<8}u[c+208>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=d>>>2|0;d=w[c+208|0];if(x[a+25204>>1]==18761){break t}d=w[c+209|0]|d<<8;break s}v[c+208>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;d=w[c+208|0];if(x[a+25204>>1]==18761){$=d|w[c+209|0]<<8|w[c+210|0]<<16|w[c+211|0]<<24;break e}$=w[c+211|0]|(w[c+209|0]<<16|d<<24|w[c+210|0]<<8);break e}v[c+208>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;d=w[c+208|0];if(x[a+25204>>1]==18761){K=d|w[c+209|0]<<8|w[c+210|0]<<16|w[c+211|0]<<24;break e}K=w[c+211|0]|(w[c+209|0]<<16|d<<24|w[c+210|0]<<8);break e}v[c+208>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;d=w[c+208|0];if(x[a+25204>>1]==18761){ea=d|w[c+209|0]<<8|w[c+210|0]<<16|w[c+211|0]<<24;break e}ea=w[c+211|0]|(w[c+209|0]<<16|d<<24|w[c+210|0]<<8);break e}u[c+208>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;d=w[c+208|0];if(x[a+25204>>1]==18761){break j}d=w[c+209|0]|d<<8;break i}u[c+208>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;d=w[c+208|0];if(x[a+25204>>1]==18761){break l}d=w[c+209|0]|d<<8;break k}Ub[v[v[a>>2]+16>>2]](v[a+4>>2],ia,64)|0;break e}d=v[c+884>>2];f=d>>>0<16?d:16;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+800|0,1,f)|0;v[a+26336>>2]=0;d=0;e=0;if((f|0)<1){break J}e=0;o=0;if((f|0)!=1){l=f&30;i=0;while(1){j=c+800|0;h=w[j+e|0];m=1<>>j&1)+(((i^-1)>>>h&1)+d|0)|0;e=e+2|0;o=m|1<>>e&1)+d|0;o=1<>2]=d;_a:{switch(o-56|0){case 0:t[c+798|0]=w[69431];u[c+796>>1]=w[69429]|w[69430]<<8;break K;case 2:break _a;default:break K}}v[c+796>>2]=17040133;break K}f=v[a>>2];e=v[f+8>>2];d=v[a+4>>2];v[c+208>>2]=-1;Ub[v[f>>2]](d,c+208|0,1,4)|0;f=w[c+208|0];if(x[a+25204>>1]==18761){f=f|w[c+209|0]<<8|w[c+210|0]<<16|w[c+211|0]<<24}else{f=w[c+211|0]|(w[c+209|0]<<16|f<<24|w[c+210|0]<<8)}Ub[e|0](d,f+b|0,0)|0;E=C(0);F=C(0);G=C(0);g=Qb-32|0;Qb=g;u[g+28>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],g+28|0,1,2)|0;d=w[g+28|0];if(x[a+25204>>1]==18761){d=d|w[g+29|0]<<8}else{d=w[g+29|0]|d<<8}e=d&65535;if(!(e>>>0>1024|!e)){m=a+26484|0;j=a+26482|0;h=d&65535;i=-2;p=6500;while(1){Ks(a,b,g+24|0,g+20|0,g+16|0,g+12|0);o=v[g+24>>2];$a:{if((o|0)==1020){if(v[g+20>>2]==3){u[g+28>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],g+28|0,1,2)|0;d=w[g+28|0];if(x[a+25204>>1]==18761){d=d|w[g+29|0]<<8}else{d=w[g+29|0]|d<<8}i=d&65535;e=v[g+16>>2];break $a}v[g+28>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],g+28|0,1,4)|0;d=w[g+28|0];if(x[a+25204>>1]==18761){i=d|w[g+29|0]<<8|w[g+30|0]<<16|w[g+31|0]<<24;e=v[g+16>>2];break $a}i=w[g+31|0]|(w[g+29|0]<<16|d<<24|w[g+30|0]<<8);e=v[g+16>>2];break $a}f=a;ab:{bb:{e=v[g+16>>2];if(!((o|0)!=1021|(e|0)!=72)){Ub[v[v[a>>2]+8>>2]](v[a+4>>2],40,1)|0;u[g+28>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],g+28|0,1,2)|0;e=w[g+28|0];d=a;if(x[a+25204>>1]==18761){e=e|w[g+29|0]<<8}else{e=w[g+29|0]|e<<8}z[d+59268>>2]=C(2048)/C((e&65535)>>>0);u[g+28>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],g+28|0,1,2)|0;d=w[g+28|0];if(x[a+25204>>1]==18761){break bb}d=w[g+29|0]|d<<8;break ab}if((o|0)!=2118){break $a}if(v[g+20>>2]==3){u[g+28>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],g+28|0,1,2)|0;d=w[g+28|0];if(x[a+25204>>1]==18761){p=d|w[g+29|0]<<8;break $a}p=w[g+29|0]|d<<8;break $a}v[g+28>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],g+28|0,1,4)|0;d=w[g+28|0];if(x[a+25204>>1]==18761){p=d|w[g+29|0]<<8|w[g+30|0]<<16|w[g+31|0]<<24;break $a}p=w[g+31|0]|(w[g+29|0]<<16|d<<24|w[g+30|0]<<8);break $a}d=d|w[g+29|0]<<8}z[f+59272>>2]=C(2048)/C((d&65535)>>>0);u[g+28>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],g+28|0,1,2)|0;e=w[g+28|0];d=a;if(x[a+25204>>1]!=18761){e=w[g+29|0]|e<<8}else{e=e|w[g+29|0]<<8}z[d+59276>>2]=C(2048)/C((e&65535)>>>0);e=72;i=-2}if((o|0)==(i+2130|0)){d=v[g+20>>2];F=C(re(a,d));G=C(re(a,d));E=C(re(a,d))}if(!((o|0)!=(i+2140|0)|(i|0)<0)){d=v[g+20>>2];L=+(p|0)/100;aa=L*L;s=C(C(C(C(re(a,d))+C(0))+C(L*re(a,d)))+C(aa*re(a,d)));ra=re(a,d);k=de(L,3);z[a+59268>>2]=C(2048)/C(C(s+C(ra*k))*F);sa=a,wa=C(C(2048)/C(C(C(C(C(C(re(a,d))+C(0))+C(L*re(a,d)))+C(aa*re(a,d)))+C(k*re(a,d)))*G)),z[sa+59272>>2]=wa;sa=a,wa=C(C(2048)/C(C(C(C(C(C(re(a,d))+C(0))+C(L*re(a,d)))+C(aa*re(a,d)))+C(k*re(a,d)))*E)),z[sa+59276>>2]=wa}h=h-1|0;cb:{if((o|0)!=6020){if((o|0)!=2317){break cb}Mi(a,m,e>>>0<4096?e:4096);db:{if(e>>>0>4095){break db}d=4095-e|0;f=x[j+(e<<1)>>1];o=0-e&7;if(o){while(1){u[((e<<1)+a|0)+26484>>1]=f;e=e+1|0;o=o-1|0;if(o){continue}break}}if(d>>>0<7){break db}while(1){d=(e<<1)+a|0;u[d+26486>>1]=f;u[d+26484>>1]=f;u[d+26488>>1]=f;u[d+26490>>1]=f;u[d+26492>>1]=f;u[d+26494>>1]=f;u[d+26496>>1]=f;u[d+26498>>1]=f;e=e+8|0;if((e|0)!=4096){continue}break}}v[a+26124>>2]=x[a+34674>>1];break cb}d=a;eb:{if(v[g+20>>2]==3){u[g+28>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],g+28|0,1,2)|0;e=w[g+28|0];f=e|w[g+29|0]<<8;if(x[a+25204>>1]==18761){break eb}f=w[g+29|0]|e<<8;break eb}v[g+28>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],g+28|0,1,4)|0;e=w[g+28|0];f=e|w[g+29|0]<<8|w[g+30|0]<<16|w[g+31|0]<<24;if(x[a+25204>>1]==18761){break eb}f=w[g+31|0]|(w[g+29|0]<<16|e<<24|w[g+30|0]<<8)}z[d+26e3>>2]=f>>>0}Ub[v[v[a>>2]+8>>2]](v[a+4>>2],v[g+12>>2],0)|0;if(h){continue}break}}Qb=g+32|0;break e}sa=a,wa=C(re(a,v[c+888>>2])),z[sa+26004>>2]=wa;break e}sa=a,wa=C(re(a,v[c+888>>2])),z[sa+26008>>2]=wa;break e}u[c+208>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];if(x[a+25204>>1]==18761){break n}e=w[c+209|0]|e<<8;break m}d=c+816|0;Ub[v[v[a>>2]>>2]](v[a+4>>2],d,1,7)|0;if(Pc(d,75267,6)){break e}v[a+26132>>2]=0;v[a+26336>>2]=4;Ub[v[v[a>>2]+32>>2]](v[a+4>>2],67749,_)|0;Ub[v[v[a>>2]+32>>2]](v[a+4>>2],67749,Z)|0;Ub[v[v[a>>2]+32>>2]](v[a+4>>2],67749,Y)|0;Ub[v[v[a>>2]+32>>2]](v[a+4>>2],67749,X)|0;if(v[a+220>>2]){H=z[Z>>2];E=z[_>>2];F=z[X>>2];G=z[Y>>2];s=C(+H+0+ +E+ +F+ +G);z[Z>>2]=H/s;z[_>>2]=E/s;z[X>>2]=F/s;z[Y>>2]=G/s}Ub[v[v[a>>2]+32>>2]](v[a+4>>2],67749,W)|0;Ub[v[v[a>>2]+32>>2]](v[a+4>>2],67749,V)|0;Ub[v[v[a>>2]+32>>2]](v[a+4>>2],67749,U)|0;Ub[v[v[a>>2]+32>>2]](v[a+4>>2],67749,T)|0;if(v[a+220>>2]){H=z[V>>2];E=z[W>>2];F=z[T>>2];G=z[U>>2];s=C(+H+0+ +E+ +F+ +G);z[V>>2]=H/s;z[W>>2]=E/s;z[T>>2]=F/s;z[U>>2]=G/s}Ub[v[v[a>>2]+32>>2]](v[a+4>>2],67749,S)|0;Ub[v[v[a>>2]+32>>2]](v[a+4>>2],67749,R)|0;Ub[v[v[a>>2]+32>>2]](v[a+4>>2],67749,Q)|0;Ub[v[v[a>>2]+32>>2]](v[a+4>>2],67749,P)|0;if(!v[a+220>>2]){break e}H=z[R>>2];E=z[S>>2];F=z[P>>2];G=z[Q>>2];s=C(+H+0+ +E+ +F+ +G);z[R>>2]=H/s;z[S>>2]=E/s;z[P>>2]=F/s;z[Q>>2]=G/s;break e}y0(a,Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0)}t[n+4|0]=w[75336];d=w[75332]|w[75333]<<8|(w[75334]<<16|w[75335]<<24);t[n|0]=d;t[n+1|0]=d>>>8;t[n+2|0]=d>>>16;t[n+3|0]=d>>>24;break e}f=v[a>>2];e=v[f+8>>2];d=v[a+4>>2];v[c+208>>2]=-1;Ub[v[f>>2]](d,c+208|0,1,4)|0;f=w[c+208|0];if(x[a+25204>>1]==18761){f=f|w[c+209|0]<<8|w[c+210|0]<<16|w[c+211|0]<<24}else{f=w[c+211|0]|(w[c+209|0]<<16|f<<24|w[c+210|0]<<8)}Ub[e|0](d,f+b|0,0)|0;g=Qb-128|0;Qb=g;o=Oc(a+25733|0,64864,7);u[g+80>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],g+80|0,1,2)|0;d=w[g+80|0];if(x[a+25204>>1]==18761){d=d|w[g+81|0]<<8}else{d=w[g+81|0]|d<<8}f=d&65535;if(f){h=g+80|4;m=g+88|0;j=g+92|0;i=g+96|0;e=g+100|0;while(1){Ks(a,b,g+44|0,g+40|0,g+36|0,g+32|0);f=f-1|0;fb:{gb:{hb:{ib:{jb:{kb:{lb:{mb:{nb:{d=a;ob:{pb:{qb:{rb:{p=v[g+44>>2];if((p|0)<=37376){sb:{switch(p-33434|0){case 1:case 2:break fb;case 3:break qb;case 0:break rb;default:break sb}}if(p-36867>>>0<2){break nb}if((p|0)!=34855){break fb}u[g+80>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],g+80|0,1,2)|0;p=w[g+80|0];if(x[a+25204>>1]!=18761){break pb}p=p|w[g+81|0]<<8;break ob}if((p|0)<=40961){switch(p-37377|0){case 2:case 3:case 4:case 5:case 6:case 7:case 8:break fb;case 9:break kb;case 1:break lb;case 0:break mb;default:break jb}}switch(p-40962|0){case 1:break hb;case 0:break ib;default:break gb}}sa=a,wa=C(re(a,v[g+40>>2])),z[sa+26004>>2]=wa;break fb}sa=a,wa=C(re(a,v[g+40>>2])),z[sa+26008>>2]=wa;break fb}p=w[g+81|0]|p<<8}z[d+26e3>>2]=(p&65535)>>>0;break fb}t[g+67|0]=0;d=g+48|0;Ub[v[v[a>>2]>>2]](v[a+4>>2],d,19,1)|0;v[g+120>>2]=0;v[g+112>>2]=0;v[g+116>>2]=0;v[g+104>>2]=0;v[g+108>>2]=0;v[g+96>>2]=0;v[g+100>>2]=0;v[g+88>>2]=0;v[g+92>>2]=0;v[g+16>>2]=h;v[g+80>>2]=0;v[g+84>>2]=0;v[g>>2]=e;v[g+4>>2]=i;v[g+8>>2]=j;v[g+12>>2]=m;v[g+20>>2]=g+80;if((ef(d,64727,g)|0)!=6){break fb}v[g+100>>2]=v[g+100>>2]-1900;v[g+96>>2]=v[g+96>>2]-1;if((oa(g+80|0)|0)<1){break fb}sa=a,ua=oa(g+80|0)|0,v[sa+26016>>2]=ua;break fb}k=re(a,v[g+40>>2]);if(!(k>-128)){break fb}sa=a,wa=C(Cl(-k)),z[sa+26004>>2]=wa;break fb}sa=a,wa=C(Cl(re(a,v[g+40>>2])*.5)),z[sa+26008>>2]=wa;break fb}sa=a,wa=C(re(a,v[g+40>>2])),z[sa+26012>>2]=wa;break fb}if((p|0)!=37500){break fb}z0(a,b,0);break fb}if(o){break fb}v[g+80>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],g+80|0,1,4)|0;d=w[g+80|0];if(x[a+25204>>1]==18761){u[a+26306>>1]=d|w[g+81|0]<<8;break fb}u[a+26306>>1]=w[g+83|0]|(d<<24|w[g+82|0]<<8);break fb}if(o){break fb}v[g+80>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],g+80|0,1,4)|0;d=w[g+80|0];if(x[a+25204>>1]==18761){u[a+26304>>1]=d|w[g+81|0]<<8;break fb}u[a+26304>>1]=w[g+83|0]|(d<<24|w[g+82|0]<<8);break fb}if((p|0)!=41730){break fb}v[g+80>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],g+80|0,1,4)|0;d=w[g+80|0];if(x[a+25204>>1]==18761){d=d|w[g+81|0]<<8|w[g+82|0]<<16|w[g+83|0]<<24}else{d=w[g+83|0]|(w[g+81|0]<<16|d<<24|w[g+82|0]<<8)}if((d|0)!=131074){break fb}v[a+26032>>2]=0;sa=a,ua=B(Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0,16843009)|v[a+26032>>2],v[sa+26032>>2]=ua;sa=a,ua=B(Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0,67372036)|v[a+26032>>2],v[sa+26032>>2]=ua;sa=a,ua=B(Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0,269488144)|v[a+26032>>2],v[sa+26032>>2]=ua;sa=a,ua=B(Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0,1077952576)|v[a+26032>>2],v[sa+26032>>2]=ua}Ub[v[v[a>>2]+8>>2]](v[a+4>>2],v[g+32>>2],0)|0;if(f){continue}break}}Qb=g+128|0;break e}f=v[a>>2];e=v[f+8>>2];d=v[a+4>>2];v[c+208>>2]=-1;Ub[v[f>>2]](d,c+208|0,1,4)|0;f=w[c+208|0];if(x[a+25204>>1]==18761){f=f|w[c+209|0]<<8|w[c+210|0]<<16|w[c+211|0]<<24}else{f=w[c+211|0]|(w[c+209|0]<<16|f<<24|w[c+210|0]<<8)}Ub[e|0](d,f+b|0,0)|0;h=Qb-32|0;Qb=h;u[h+28>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],h+28|0,1,2)|0;d=w[h+28|0];if(x[a+25204>>1]==18761){d=d|w[h+29|0]<<8}else{d=w[h+29|0]|d<<8}f=d&65535;if(f){i=a+26228|0;while(1){Ks(a,b,h+24|0,h+20|0,h+16|0,h+12|0);f=f-1|0;d=a;tb:{ub:{vb:{wb:{xb:{yb:{zb:{Ab:{Bb:{e=v[h+24>>2];switch(e-1|0){case 17:case 28:break yb;case 5:break zb;case 1:case 3:case 6:break Ab;case 0:case 2:case 4:break Bb;default:break tb}}sa=((e<<1&-4)+a|0)+26288|0,ua=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0,v[sa>>2]=ua;break tb}v[h+28>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],h+28|0,1,4)|0;j=w[h+28|0];e=B(((e&255)>>>0)/3|0,6)<<2;m=e+a|0;o=m+26172|0;if(x[a+25204>>1]==18761){d=j|w[h+29|0]<<8|w[h+30|0]<<16|w[h+31|0]<<24}else{d=w[h+31|0]|(w[h+29|0]<<16|j<<24|w[h+30|0]<<8)}v[o>>2]=d;v[h+28>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],h+28|0,1,4)|0;d=w[h+28|0];if(x[a+25204>>1]==18761){break xb}d=w[h+31|0]|(w[h+29|0]<<16|d<<24|w[h+30|0]<<8);break wb}v[h+28>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],h+28|0,1,4)|0;e=w[h+28|0];if(x[a+25204>>1]==18761){break vb}e=w[h+31|0]|(w[h+29|0]<<16|e<<24|w[h+30|0]<<8);break ub}d=v[h+16>>2];Ub[v[v[a>>2]+16>>2]](v[a+4>>2],i+(((e&255)>>>0)/3<<2)|0,d>>>0<12?d:12)|0;break tb}d=d|w[h+29|0]<<8|w[h+30|0]<<16|w[h+31|0]<<24}v[((e|4)+a|0)+26172>>2]=d;v[h+28>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],h+28|0,1,4)|0;e=w[h+28|0];j=m+26180|0;if(x[a+25204>>1]!=18761){d=w[h+31|0]|(w[h+29|0]<<16|e<<24|w[h+30|0]<<8)}else{d=e|w[h+29|0]<<8|w[h+30|0]<<16|w[h+31|0]<<24}v[j>>2]=d;v[h+28>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],h+28|0,1,4)|0;e=w[h+28|0];j=m+26184|0;if(x[a+25204>>1]!=18761){d=w[h+31|0]|(w[h+29|0]<<16|e<<24|w[h+30|0]<<8)}else{d=e|w[h+29|0]<<8|w[h+30|0]<<16|w[h+31|0]<<24}v[j>>2]=d;v[h+28>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],h+28|0,1,4)|0;e=w[h+28|0];j=m+26188|0;if(x[a+25204>>1]!=18761){d=w[h+31|0]|(w[h+29|0]<<16|e<<24|w[h+30|0]<<8)}else{d=e|w[h+29|0]<<8|w[h+30|0]<<16|w[h+31|0]<<24}v[j>>2]=d;v[h+28>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],h+28|0,1,4)|0;e=w[h+28|0];j=m+26192|0;if(x[a+25204>>1]!=18761){d=w[h+31|0]|(w[h+29|0]<<16|e<<24|w[h+30|0]<<8)}else{d=e|w[h+29|0]<<8|w[h+30|0]<<16|w[h+31|0]<<24}v[j>>2]=d;break tb}e=e|w[h+29|0]<<8|w[h+30|0]<<16|w[h+31|0]<<24}v[d+26244>>2]=e;v[h+28>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],h+28|0,1,4)|0;d=w[h+28|0];if(x[a+25204>>1]!=18761){v[a+26248>>2]=w[h+31|0]|(w[h+29|0]<<16|d<<24|w[h+30|0]<<8);break tb}v[a+26248>>2]=d|w[h+29|0]<<8|w[h+30|0]<<16|w[h+31|0]<<24}Ub[v[v[a>>2]+8>>2]](v[a+4>>2],v[h+12>>2],0)|0;if(f){continue}break}}Qb=h+32|0;break e}d=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[a+26072>>2]=d;v[a+26076>>2]=d>>31;v[a+26088>>2]=v[c+884>>2];break e}v[a+26024>>2]=w[c+211|0]|(w[c+209|0]<<16|d<<24|w[c+210|0]<<8);break e}sa=a,wa=C(re(a,v[c+888>>2])),z[sa+26012>>2]=wa;break e}if(v[c+888>>2]==3){u[c+208>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];d=a;if(x[a+25204>>1]==18761){e=e|w[c+209|0]<<8}else{e=w[c+209|0]|e<<8}v[d+26020>>2]=e&65535;break e}v[c+208>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;d=w[c+208|0];if(x[a+25204>>1]==18761){v[a+26020>>2]=d|w[c+209|0]<<8|w[c+210|0]<<16|w[c+211|0]<<24;break e}v[a+26020>>2]=w[c+211|0]|(w[c+209|0]<<16|d<<24|w[c+210|0]<<8);break e}v[a+26132>>2]=0;re(a,v[c+888>>2]);sa=a,wa=C(re(a,v[c+888>>2])),z[sa+59348>>2]=wa;sa=a,wa=C(re(a,v[c+888>>2])),z[sa+59352>>2]=wa;sa=a,wa=C(re(a,v[c+888>>2])),z[sa+59356>>2]=wa;re(a,v[c+888>>2]);sa=a,wa=C(re(a,v[c+888>>2])),z[sa+59364>>2]=wa;sa=a,wa=C(re(a,v[c+888>>2])),z[sa+59368>>2]=wa;sa=a,wa=C(re(a,v[c+888>>2])),z[sa+59372>>2]=wa;re(a,v[c+888>>2]);sa=a,wa=C(re(a,v[c+888>>2])),z[sa+59380>>2]=wa;sa=a,wa=C(re(a,v[c+888>>2])),z[sa+59384>>2]=wa;sa=a,wa=C(re(a,v[c+888>>2])),z[sa+59388>>2]=wa;break e}d=w[75356]|w[75357]<<8|(w[75358]<<16|w[75359]<<24);t[n+3|0]=d;t[n+4|0]=d>>>8;t[n+5|0]=d>>>16;t[n+6|0]=d>>>24;d=w[75353]|w[75354]<<8|(w[75355]<<16|w[75356]<<24);t[n|0]=d;t[n+1|0]=d>>>8;t[n+2|0]=d>>>16;t[n+3|0]=d>>>24;d=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[a+26048>>2]=d;v[a+26052>>2]=d>>31;ba=v[c+884>>2];break e}if(!ba){ba=0;break e}Ub[v[v[a>>2]+8>>2]](v[a+4>>2],78,1)|0;v[c+208>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;f=w[c+208|0];d=a;if(x[a+25204>>1]==18761){f=f|w[c+209|0]<<8}else{f=w[c+211|0]|(f<<24|w[c+210|0]<<8)}u[d+26306>>1]=f;v[c+208>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;f=w[c+208|0];d=a;if(x[a+25204>>1]==18761){f=f|w[c+209|0]<<8}else{f=w[c+211|0]|(f<<24|w[c+210|0]<<8)}u[d+26304>>1]=f;v[c+208>>2]=-1;o=c+208|0;j=o;h=j;Ub[v[v[a>>2]>>2]](v[a+4>>2],h,1,4)|0;m=h|3;f=w[(x[a+25204>>1]==18761?h:m)|0]&7;u[a+26314>>1]=f;d=x[a+26306>>1];v[c+208>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],h,1,4)|0;u[a+26310>>1]=d-(f+(w[(x[a+25204>>1]==18761?h:m)|0]&7)|0);v[c+208>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],h,1,4)|0;f=w[(x[a+25204>>1]==18761?h:m)|0]&7;u[a+26312>>1]=f;d=x[a+26304>>1];v[c+208>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],h,1,4)|0;u[a+26308>>1]=d-(f+(w[(x[a+25204>>1]==18761?h:m)|0]&7)|0);if(x[a+26306>>1]==7262){u[a+26314>>1]=7;v[a+26308>>2]=474748228}Ub[v[v[a>>2]+8>>2]](v[a+4>>2],52,1)|0;v[c+208>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;f=w[c+208|0];d=a;if(x[a+25204>>1]==18761){f=f|w[c+209|0]<<8|w[c+210|0]<<16|w[c+211|0]<<24}else{f=w[c+211|0]|(w[c+209|0]<<16|f<<24|w[c+210|0]<<8)}v[d+59268>>2]=f;v[c+208>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;d=w[c+208|0];if(x[a+25204>>1]==18761){break v}d=w[c+211|0]|(w[c+209|0]<<16|d<<24|w[c+210|0]<<8);break u}d=v[c+884>>2];i=jc(d);if(!i){break e}Ub[v[v[a>>2]>>2]](v[a+4>>2],i,1,d)|0;f=d+i|0;e=i-1|0;while(1){if(e>>>0>>0){d=e+1|0;if(!Oc(d,75518,8)){v[c+56>>2]=q;v[c+52>>2]=ja;v[c+48>>2]=ca;ef(e+9|0,75556,c+48|0)}e=af(d,10);if(e){continue}}break}dc(i);break e}if(w[n|0]){break e}d=w[75608]|w[75609]<<8|(w[75610]<<16|w[75611]<<24);t[n+7|0]=d;t[n+8|0]=d>>>8;t[n+9|0]=d>>>16;t[n+10|0]=d>>>24;e=w[75605]|w[75606]<<8|(w[75607]<<16|w[75608]<<24);d=w[75601]|w[75602]<<8|(w[75603]<<16|w[75604]<<24);t[n|0]=d;t[n+1|0]=d>>>8;t[n+2|0]=d>>>16;t[n+3|0]=d>>>24;t[n+4|0]=e;t[n+5|0]=e>>>8;t[n+6|0]=e>>>16;t[n+7|0]=e>>>24;break e}m=x[a+25204>>1];h=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;j=v[a+26104>>2];u[c+208>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];d=a;if(x[a+25204>>1]==18761){e=e|w[c+209|0]<<8}else{e=w[c+209|0]|e<<8}u[d+25204>>1]=e;i=v[a>>2];f=v[i+8>>2];d=v[a+4>>2];u[c+208>>1]=65535;e=c+208|0;Ub[v[i>>2]](d,e,1,2)|0;v[c+208>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],e,1,4)|0;e=w[c+208|0];if(x[a+25204>>1]==18761){e=e|w[c+209|0]<<8|w[c+210|0]<<16|w[c+211|0]<<24}else{e=w[c+211|0]|(w[c+209|0]<<16|e<<24|w[c+210|0]<<8)}Ub[f|0](d,e+h|0,0)|0;Js(a,h);v[a+26104>>2]=j;v[a+26124>>2]=65535;u[a+25204>>1]=m;break e}d=v[a+26152>>2];d=(Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0)+(d<<8)|0;v[a+26152>>2]=d;d=(Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0)+(d<<8)|0;v[a+26152>>2]=d;d=(Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0)+(d<<8)|0;v[a+26152>>2]=d;sa=a,ua=(Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0)+(d<<8)|0,v[sa+26152>>2]=ua;if(!w[a+25733|0]){t[n|0]=68;t[n+1|0]=78;t[n+2|0]=71;t[n+3|0]=0}v[a+26148>>2]=1;break e}d=v[c+884>>2];d=d>>>0<4?d:4;v[c+884>>2]=d;v[a+26336>>2]=d;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+796|0,1,d)|0;d=v[a+26336>>2];f=l}Cb:{if((d|0)<1){d=0;break Cb}i=d&3;e=0;if(d-1>>>0>=3){l=d&-4;while(1){m=c+528|0;h=c+796|0;t[m+w[h+e|0]|0]=e;j=e|1;t[m+w[j+h|0]|0]=j;j=e|2;t[m+w[j+h|0]|0]=j;j=e|3;t[m+w[j+h|0]|0]=j;e=e+4|0;l=l-4|0;if(l){continue}break}}if(!i){break Cb}while(1){t[w[(c+796|0)+e|0]+(c+528|0)|0]=e;e=e+1|0;i=i-1|0;if(i){continue}break}}e=f}t[(a+d|0)+25216|0]=0;f=c+528|0;d=c+800|0;l=e;v[a+26028>>2]=w[f+w[c+800|0]|0]|(w[f+w[d|(e|0)!=1]|0]|((w[f+w[d|3%(e>>>0)]|0]|((w[f+w[d|5%(e>>>0)]|0]|((w[f+w[d|7%(e>>>0)]|0]|((w[f+w[d|9%(e>>>0)]|0]|((w[f+w[d|11%(e>>>0)]|0]|((w[f+w[d|13%(e>>>0)]|0]|(w[f+w[d|15%(e>>>0)]|0]<<4|w[f+w[d|14%(e>>>0)]|0]<<2))<<4|w[f+w[d|12%(e>>>0)]|0]<<2))<<4|w[f+w[d|10%(e>>>0)]|0]<<2))<<4|w[f+w[d|8%(e>>>0)]|0]<<2))<<4|w[f+w[d|6%(e>>>0)]|0]<<2))<<4|w[f+w[d|4%(e>>>0)]|0]<<2))<<4|w[f+w[d|2%(e>>>0)]|0]<<2))<<2;break e}u[c+208>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;d=w[c+208|0];if(x[a+25204>>1]==18761){d=d|w[c+209|0]<<8}else{d=w[c+209|0]|d<<8}if((d&65535)!=2){break e}v[a+26028>>2]=1229539657;u[a+26322>>1]=1;break e}d=v[c+884>>2];Mi(a,da,d>>>0<4096?d:4096);Db:{if(d>>>0>4095){break Db}e=4095-d|0;f=x[(d<<1)+I>>1];i=0-d&7;if(i){while(1){u[((d<<1)+a|0)+26484>>1]=f;d=d+1|0;i=i-1|0;if(i){continue}break}}if(e>>>0<7){break Db}while(1){e=(d<<1)+a|0;u[e+26486>>1]=f;u[e+26484>>1]=f;u[e+26488>>1]=f;u[e+26490>>1]=f;u[e+26492>>1]=f;u[e+26494>>1]=f;u[e+26496>>1]=f;u[e+26498>>1]=f;d=d+8|0;if((d|0)!=4096){continue}break}}v[a+26124>>2]=x[a+34674>>1];break e}e=0;k=0;f=v[c+884>>2];if((f|0)>=1){while(1){k=k+re(a,v[c+888>>2]);e=e+1|0;if((f|0)!=(e|0)){continue}break}}d=a;k=k/+(f>>>0)+.5;Eb:{if(k<4294967296&k>=0){e=~~k>>>0;break Eb}e=0}v[d+26120>>2]=e+v[a+26120>>2];break e}if(v[c+888>>2]==3){u[c+208>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];d=a;if(x[a+25204>>1]==18761){e=e|w[c+209|0]<<8}else{e=w[c+209|0]|e<<8}v[d+26124>>2]=e&65535;break e}v[c+208>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;d=w[c+208|0];if(x[a+25204>>1]==18761){v[a+26124>>2]=d|w[c+209|0]<<8|w[c+210|0]<<16|w[c+211|0]<<24;break e}v[a+26124>>2]=w[c+211|0]|(w[c+209|0]<<16|d<<24|w[c+210|0]<<8);break e}sa=a,ta=re(a,v[c+888>>2]),A[sa+26344>>3]=ta;k=re(a,v[c+888>>2]);A[a+26344>>3]=A[a+26344>>3]/k;break e}fa=1;e=0;if(v[a+26336>>2]<1){break e}while(1){d=(c+304|0)+B(e,24)|0;sa=d,ta=re(a,v[c+888>>2]),A[sa>>3]=ta;sa=d,ta=re(a,v[c+888>>2]),A[sa+8>>3]=ta;sa=d,ta=re(a,v[c+888>>2]),A[sa+16>>3]=ta;e=e+1|0;if((e|0)>2]){continue}break}break e}d=0;i=v[a+26336>>2];if((i|0)<1){break e}while(1){e=0;if((i|0)>=1){while(1){sa=((c+400|0)+(d<<5)|0)+(e<<3)|0,ta=re(a,v[c+888>>2]),A[sa>>3]=ta;e=e+1|0;i=v[a+26336>>2];if((e|0)<(i|0)){continue}break}}d=d+1|0;if((i|0)>(d|0)){continue}break}}e=0;if((i|0)<1){break e}while(1){sa=(c+176|0)+(e<<3)|0,ta=re(a,v[c+888>>2]),A[sa>>3]=ta;e=e+1|0;if((e|0)>2]){continue}break}break e}k=re(a,v[c+888>>2]);J=re(a,v[c+888>>2]);N=(1-k-J)/1.0887540578842163;M=k/.9504560232162476;break e}if(v[a+26152>>2]){break e}v[c+208>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;e=w[c+208|0];f=a;if(x[a+25204>>1]==18761){d=e|w[c+209|0]<<8|w[c+210|0]<<16|w[c+211|0]<<24}else{d=w[c+211|0]|(w[c+209|0]<<16|e<<24|w[c+210|0]<<8)}d=d+b|0;TI(f,d);Ub[v[v[a>>2]+8>>2]](v[a+4>>2],d,0)|0;Js(a,b);break e}Mi(a,ka,3);break e}d=a;Fb:{if(v[c+888>>2]==3){u[c+208>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];f=e|w[c+209|0]<<8;if(x[a+25204>>1]==18761){break Fb}f=w[c+209|0]|e<<8;break Fb}v[c+208>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;e=w[c+208|0];f=e|w[c+209|0]<<8;if(x[a+25204>>1]==18761){break Fb}f=w[c+211|0]|(e<<24|w[c+210|0]<<8)}u[d+26312>>1]=f;d=a;Gb:{if(v[c+888>>2]==3){u[c+208>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];f=e|w[c+209|0]<<8;if(x[a+25204>>1]==18761){break Gb}f=w[c+209|0]|e<<8;break Gb}v[c+208>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;e=w[c+208|0];f=e|w[c+209|0]<<8;if(x[a+25204>>1]==18761){break Gb}f=w[c+211|0]|(e<<24|w[c+210|0]<<8)}u[d+26314>>1]=f;d=a;Hb:{if(v[c+888>>2]==3){u[c+208>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];f=e|w[c+209|0]<<8;if(x[a+25204>>1]==18761){break Hb}f=w[c+209|0]|e<<8;break Hb}v[c+208>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;e=w[c+208|0];f=e|w[c+209|0]<<8;if(x[a+25204>>1]==18761){break Hb}f=w[c+211|0]|(e<<24|w[c+210|0]<<8)}u[d+26308>>1]=f-x[a+26312>>1];d=a;Ib:{if(v[c+888>>2]==3){u[c+208>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];f=e|w[c+209|0]<<8;if(x[a+25204>>1]==18761){break Ib}f=w[c+209|0]|e<<8;break Ib}v[c+208>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;e=w[c+208|0];f=e|w[c+209|0]<<8;if(x[a+25204>>1]==18761){break Ib}f=w[c+211|0]|(e<<24|w[c+210|0]<<8)}u[d+26310>>1]=f-x[a+26314>>1];break e}Ub[v[v[a>>2]+8>>2]](v[a+4>>2],16,1)|0;v[c+208>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;e=w[c+208|0];f=a;if(x[a+25204>>1]==18761){e=e|w[c+209|0]<<8|w[c+210|0]<<16|w[c+211|0]<<24}else{e=w[c+211|0]|(w[c+209|0]<<16|e<<24|w[c+210|0]<<8)}v[f+26048>>2]=e;v[d+26052>>2]=0;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],28,1)|0;v[c+208>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;d=w[c+208|0];if(x[a+25204>>1]==18761){d=d|w[c+209|0]<<8|w[c+210|0]<<16|w[c+211|0]<<24}else{d=w[c+211|0]|(w[c+209|0]<<16|d<<24|w[c+210|0]<<8)}v[a+190476>>2]=946;i=v[a+26052>>2];f=v[a+26048>>2]+d|0;i=f>>>0>>0?i+1|0:i;v[a+26048>>2]=f;v[a+26052>>2]=i;break e}d=d|w[c+209|0]<<8|w[c+210|0]<<16|w[c+211|0]<<24}v[e+59272>>2]=d;v[c+208>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,4)|0;e=w[c+208|0];d=a;if(x[a+25204>>1]!=18761){e=w[c+211|0]|(w[c+209|0]<<16|e<<24|w[c+210|0]<<8)}else{e=e|w[c+209|0]<<8|w[c+210|0]<<16|w[c+211|0]<<24}v[d+59276>>2]=e;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],114,1)|0;u[c+208>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;d=w[c+208|0];if(x[a+25204>>1]!=18761){break p}d=d|w[c+209|0]<<8;break o}d=d|w[c+209|0]<<8}p=e&4095;u[c+208>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];if(x[a+25204>>1]!=18761){e=w[c+209|0]|e<<8}else{e=e|w[c+209|0]<<8}f=d>>>2|0;u[c+208>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;d=w[c+208|0];if(x[a+25204>>1]!=18761){d=w[c+209|0]|d<<8}else{d=d|w[c+209|0]<<8}j=e>>>2|0;h=f&4095;if(p){break h}break g}d=d|w[c+209|0]<<8}z[f+59272>>2]=(d&65535)>>>0;u[c+208>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];d=q;if(x[a+25204>>1]!=18761){e=w[c+209|0]|e<<8}else{e=e|w[c+209|0]<<8}z[d>>2]=(e&65535)>>>0;break e}d=w[c+209|0]|d<<8}d=B((d&65408)>>>7|0,90);v[i+26328>>2]=d;e=x[a+26310>>1];f=x[a+26308>>1];Jb:{if((B(B(e,f),6)|0)!=(ba|0)){d=e;e=f;break Jb}Kb:{if(((d>>>0)%180|0)!=90){d=e;e=f;break Kb}u[a+26310>>1]=f;u[a+26308>>1]=e;d=f}v[a+26028>>2]=0;v[a+26328>>2]=0}v[c+32>>2]=(B(e,d)>>>0)/1e6;zd(O,75420,c+32|0);v[a+190476>>2]=947;if(v[a+26028>>2]){if(t[a+26314|0]&1){v[a+26028>>2]=1633771873}v[a+190476>>2]=948}v[a+26124>>2]=65535;break e}e=e|w[c+209|0]<<8}z[d+59272>>2]=C(4096)/C((e&65535)>>>0);u[c+208>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];d=a;if(x[a+25204>>1]!=18761){e=w[c+209|0]|e<<8}else{e=e|w[c+209|0]<<8}z[d+59268>>2]=C(4096)/C((e&65535)>>>0);u[c+208>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];d=a;if(x[a+25204>>1]!=18761){e=w[c+209|0]|e<<8}else{e=e|w[c+209|0]<<8}z[d+59280>>2]=C(4096)/C((e&65535)>>>0);u[c+208>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];d=q;if(x[a+25204>>1]!=18761){e=w[c+209|0]|e<<8}else{e=e|w[c+209|0]<<8}z[d>>2]=C(4096)/C((e&65535)>>>0);break e}d=d|w[c+209|0]<<8}z[j+59268>>2]=(d&65535)>>>0;u[c+208>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];d=a;if(x[a+25204>>1]!=18761){e=w[c+209|0]|e<<8}else{e=e|w[c+209|0]<<8}z[d+59272>>2]=(e&65535)>>>0;u[c+208>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];d=a;if(x[a+25204>>1]!=18761){e=w[c+209|0]|e<<8}else{e=e|w[c+209|0]<<8}z[d+59280>>2]=(e&65535)>>>0;u[c+208>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];d=q;if(x[a+25204>>1]!=18761){e=w[c+209|0]|e<<8}else{e=e|w[c+209|0]<<8}z[d>>2]=(e&65535)>>>0;break e}d=d|w[c+209|0]<<8}z[m+59272>>2]=(d&65535)>>>0;u[c+208>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];d=a;if(x[a+25204>>1]!=18761){e=w[c+209|0]|e<<8}else{e=e|w[c+209|0]<<8}z[d+59268>>2]=(e&65535)>>>0;u[c+208>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];d=a;if(x[a+25204>>1]!=18761){e=w[c+209|0]|e<<8}else{e=e|w[c+209|0]<<8}z[d+59276>>2]=(e&65535)>>>0;u[c+208>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+208|0,1,2)|0;e=w[c+208|0];d=a;if(x[a+25204>>1]!=18761){e=w[c+209|0]|e<<8}else{e=e|w[c+209|0]<<8}z[d+59280>>2]=(e&65535)>>>0;break e}o=p&3;e=x[da>>1];i=1;if(p-1>>>0>=3){f=p&4092;while(1){m=(i<<1)+a|0;u[m+26486>>1]=e+2;u[m+26484>>1]=e+1;u[m+26488>>1]=e+3;e=e+4|0;u[m+26490>>1]=e;i=i+4|0;f=f-4|0;if(f){continue}break}}if(!o){break g}while(1){e=e+1|0;u[((i<<1)+a|0)+26484>>1]=e;i=i+1|0;o=o-1|0;if(o){continue}break}}if(h>>>0>p>>>0){e=p+1|0;i=x[((p<<1)+a|0)+26484>>1];while(1){i=i+2|0;u[((e<<1)+a|0)+26484>>1]=i;e=e+1|0;if((h|0)>=(e|0)){continue}break}}f=j&4095;if(f>>>0>h>>>0){e=h+1|0;i=x[((h<<1)+a|0)+26484>>1];while(1){i=i+4|0;u[((e<<1)+a|0)+26484>>1]=i;e=e+1|0;if((f|0)>=(e|0)){continue}break}}j=d>>>2&4095;if(j>>>0>f>>>0){e=f+1|0;i=x[((f<<1)+a|0)+26484>>1];while(1){i=i+8|0;u[((e<<1)+a|0)+26484>>1]=i;e=e+1|0;if((j|0)>=(e|0)){continue}break}}if((j|0)==4095){break e}e=j+1|0;i=x[((j<<1)+a|0)+26484>>1];d=j&3;if((d|0)!=3){d=d^3;while(1){i=i+16|0;u[((e<<1)+a|0)+26484>>1]=i;e=e+1|0;d=d-1|0;if(d){continue}break}}if(4094-j>>>0<3){break e}while(1){d=(e<<1)+a|0;u[d+26486>>1]=i+32;u[d+26484>>1]=i+16;u[d+26488>>1]=i+48;i=i- -64|0;u[d+26490>>1]=i;d=e>>>0>4091;e=e+4|0;if(!d){continue}break}break e}v[c+884>>2]=f}Ub[v[v[a>>2]+8>>2]](v[a+4>>2],v[c+880>>2],0)|0;if(D){continue}break}Lb:{if(!K){break Lb}l=jc(K);if(!l){break Lb}Ub[v[v[a>>2]+8>>2]](v[a+4>>2],$,0)|0;Ub[v[v[a>>2]>>2]](v[a+4>>2],l,K,1)|0;VI(l,K>>>2|0,1,ea);q=v[a>>2];v[a>>2]=1038352;f=v[a+4>>2];d=0;i=Qb-48|0;Qb=i;v[i+32>>2]=v[252400];b=v[252399];v[i+24>>2]=v[252398];v[i+28>>2]=b;b=v[252397];v[i+16>>2]=v[252396];v[i+20>>2]=b;e=i+16|13;Mb:{Nb:{while(1){Ob:{kN(e);v[i>>2]=384;b=Fa(i+16|0,32962,i|0)|0;if(b>>>0>=4294963201){v[299402]=0-b;b=-1}if((b|0)>=0){break Ob}d=d+1|0;if((d|0)!=100){continue}break Nb}break}Ea(i+16|0)|0;d=oN(b,335746);if(d){break Mb}va(b|0)|0}d=0}Qb=i+48|0;v[a+4>>2]=d;if(d){Ub[v[v[a>>2]+4>>2]](d,l,K,1)|0;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],0,0)|0;Js(a,0-$|0);Ub[v[v[a>>2]+12>>2]](v[a+4>>2])|0}v[a+4>>2]=f;v[a>>2]=q;dc(l)}f=v[a+26336>>2];if((f|0)>0){break d}if(fa){break c}b=1;break b}f=v[a+26336>>2];b=1;if((f|0)<1){break b}M=1;J=1;N=1}q=f&-4;d=f&3;I=f-1|0;D=0;while(1){k=A[(c+176|0)+(D<<3)>>3];e=0;b=q;if(I>>>0>=3){while(1){j=(c+400|0)+(D<<5)|0;i=e<<3;l=j+i|0;A[l>>3]=k*A[l>>3];l=j+(i|8)|0;A[l>>3]=k*A[l>>3];l=j+(i|16)|0;A[l>>3]=k*A[l>>3];l=j+(i|24)|0;A[l>>3]=k*A[l>>3];e=e+4|0;b=b-4|0;if(b){continue}break}}i=d;if(d){while(1){b=((c+400|0)+(D<<5)|0)+(e<<3)|0;A[b>>3]=k*A[b>>3];e=e+1|0;i=i-1|0;if(i){continue}break}}D=D+1|0;if((D|0)!=(f|0)){continue}break}b=1;if(!fa){break b}b=f&-2;h=f&1;i=0;while(1){k=0;e=0;d=b;if(I){while(1){j=(c+400|0)+(i<<5)|0;l=c+304|0;q=e|1;k=k+A[j+(e<<3)>>3]*A[l+B(e,24)>>3]*M+A[j+(q<<3)>>3]*A[l+B(q,24)>>3]*M;e=e+2|0;d=d-2|0;if(d){continue}break}}q=(c+208|0)+B(i,24)|0;d=q;if(h){k=k+A[((c+400|0)+(i<<5)|0)+(e<<3)>>3]*A[(c+304|0)+B(e,24)>>3]*M}A[d>>3]=k;e=0;k=0;d=b;if(I){while(1){m=(c+400|0)+(i<<5)|0;j=c+304|0;l=e|1;k=k+A[m+(e<<3)>>3]*A[(j+B(e,24)|0)+8>>3]*J+A[m+(l<<3)>>3]*A[(j+B(l,24)|0)+8>>3]*J;e=e+2|0;d=d-2|0;if(d){continue}break}}d=q;if(h){k=k+A[((c+400|0)+(i<<5)|0)+(e<<3)>>3]*A[((c+304|0)+B(e,24)|0)+8>>3]*J}A[d+8>>3]=k;e=0;k=0;d=b;if(I){while(1){m=(c+400|0)+(i<<5)|0;j=c+304|0;l=e|1;k=k+A[m+(e<<3)>>3]*A[(j+B(e,24)|0)+16>>3]*N+A[m+(l<<3)>>3]*A[(j+B(l,24)|0)+16>>3]*N;e=e+2|0;d=d-2|0;if(d){continue}break}}if(h){k=k+A[((c+400|0)+(i<<5)|0)+(e<<3)>>3]*A[((c+304|0)+B(e,24)|0)+16>>3]*N}A[q+16>>3]=k;i=i+1|0;if((i|0)!=(f|0)){continue}break}}C0(a,c+208|0);b=0}k=A[c+144>>3];Pb:{if(k==0){break Pb}v[a+59280>>2]=0;f=v[a+26336>>2];if((f|0)<1){break Pb}z[a+59268>>2]=C(1)/C(k);if((f|0)==1){break Pb}e=1;d=f-1|0;q=d&1;if((f|0)!=2){i=d&-2;l=a+59268|0;while(1){f=c+144|0;z[l+(e<<2)>>2]=C(1)/C(A[f+(e<<3)>>3]);d=e+1|0;z[l+(d<<2)>>2]=C(1)/C(A[f+(d<<3)>>3]);e=e+2|0;i=i-2|0;if(i){continue}break}}if(!q){break Pb}z[((e<<2)+a|0)+59268>>2]=C(1)/C(A[(c+144|0)+(e<<3)>>3])}d=0;if(!b){break a}i=v[a+26336>>2];if((i|0)<1){break a}e=0;if((i|0)!=1){D=i&-2;l=a+59284|0;while(1){b=l+(e<<2)|0;f=c+400|0;z[b>>2]=z[b>>2]/C(A[(f+(e<<5)|0)+(e<<3)>>3]);q=e|1;b=l+(q<<2)|0;z[b>>2]=z[b>>2]/C(A[(f+(q<<5)|0)+(q<<3)>>3]);e=e+2|0;D=D-2|0;if(D){continue}break}}if(!(i&1)){break a}a=((e<<2)+a|0)+59284|0;z[a>>2]=z[a>>2]/C(A[((c+400|0)+(e<<5)|0)+(e<<3)>>3])}Qb=c+928|0;return d}function GAa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=fc(8);v[299999]=0;Y(3358,b|0,1044416,315)|0;g=v[299999];v[299999]=0;a:{if((g|0)!=1){b:{v[260998]=b;b=fc(8);v[299999]=0;Y(3358,b|0,1048208,315)|0;g=v[299999];v[299999]=0;if((g|0)==1){break b}v[261005]=b;b=fc(8);v[299999]=0;Y(3358,b|0,1052e3,315)|0;g=v[299999];v[299999]=0;if((g|0)==1){break b}v[261012]=b;b=fc(8);v[299999]=0;Y(3358,b|0,1055792,315)|0;g=v[299999];v[299999]=0;if((g|0)==1){break b}v[261019]=b;b=fc(8);v[299999]=0;Y(3358,b|0,1059584,315)|0;g=v[299999];v[299999]=0;if((g|0)==1){break b}v[261026]=b;b=fc(8);v[299999]=0;Y(3358,b|0,1063376,316)|0;g=v[299999];v[299999]=0;if((g|0)==1){break b}v[261033]=b;b=fc(8);v[299999]=0;Y(3358,b|0,1067168,315)|0;g=v[299999];v[299999]=0;if((g|0)==1){break b}v[261040]=b;b=fc(8);v[299999]=0;Y(3358,b|0,1070960,315)|0;g=v[299999];v[299999]=0;if((g|0)==1){break b}v[261047]=b;b=fc(8);v[299999]=0;Y(3358,b|0,1074752,190)|0;g=v[299999];v[299999]=0;if((g|0)==1){break b}v[261054]=b;b=fc(8);v[299999]=0;Y(3358,b|0,1077040,315)|0;g=v[299999];v[299999]=0;if((g|0)==1){break b}v[261061]=b;b=fc(8);v[299999]=0;Y(3358,b|0,1080832,315)|0;g=v[299999];v[299999]=0;if((g|0)==1){break b}v[261068]=b;b=fc(8);v[299999]=0;Y(3358,b|0,1084624,315)|0;g=v[299999];v[299999]=0;if((g|0)==1){break b}v[261075]=b;b=fc(8);v[299999]=0;Y(3358,b|0,1088416,315)|0;g=v[299999];v[299999]=0;if((g|0)==1){break b}v[261082]=b;b=fc(8);v[299999]=0;Y(3358,b|0,1092208,202)|0;g=v[299999];v[299999]=0;if((g|0)==1){break b}v[261089]=b;break a}}a=P()|0;O()|0;dc(b);T(a|0);L()}b=fc(12);v[299999]=0;S(3680,b|0)|0;g=v[299999];v[299999]=0;c:{d:{if((g|0)!=1){v[a>>2]=b;g=255;while(1){b=g;g=v[(b<<2)+1094704>>2];if(g){cS(v[a>>2],g,b)}g=b-1|0;if(b){continue}break}h=a,i=Xm(jF(),273841),v[h+4>>2]=i;b=fc(16);v[299999]=0;Q(3304,b|0,1)|0;g=v[299999];v[299999]=0;e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{if((g|0)!=1){v[a+8>>2]=b;b=fc(8);v[299999]=0;Q(3063,b|0,304127)|0;g=v[299999];v[299999]=0;if((g|0)==1){break d}d=v[a+8>>2];g=fc(8);v[299999]=0;c=Q(3063,g|0,311739)|0;f=v[299999];v[299999]=0;if((f|0)==1){a=P()|0;O()|0;b=g;break c}Hi(d,c,b);b=fc(12);v[299999]=0;S(3680,b|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break N}v[a+12>>2]=b;b=fc(16);v[299999]=0;Q(3304,b|0,1)|0;g=v[299999];v[299999]=0;if((g|0)==1){break M}v[a+16>>2]=b;b=fc(16);v[299999]=0;Q(3304,b|0,1)|0;g=v[299999];v[299999]=0;if((g|0)==1){break L}v[a+20>>2]=b;b=fc(16);v[299999]=0;Q(3304,b|0,0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break K}v[a+24>>2]=b;b=fc(16);v[299999]=0;Q(3304,b|0,1)|0;g=v[299999];v[299999]=0;if((g|0)==1){break J}v[a+28>>2]=b;b=fc(16);v[299999]=0;Q(3304,b|0,1)|0;g=v[299999];v[299999]=0;if((g|0)==1){break I}v[a+32>>2]=b;b=fc(16);v[299999]=0;S(3315,b|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break H}v[a+36>>2]=b;b=fc(1036);v[299999]=0;nR(b);g=v[299999];v[299999]=0;if((g|0)==1){break G}v[a+40>>2]=b;b=fc(16);v[299999]=0;Q(3304,b|0,1)|0;g=v[299999];v[299999]=0;if((g|0)==1){break F}v[a+44>>2]=b;b=fc(16);v[299999]=0;S(3315,b|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break E}v[a+48>>2]=b;b=fc(16);v[299999]=0;Q(3304,b|0,1)|0;g=v[299999];v[299999]=0;if((g|0)==1){break D}v[a+52>>2]=b;b=fc(16);v[299999]=0;Q(3304,b|0,1)|0;g=v[299999];v[299999]=0;if((g|0)==1){break C}v[a+56>>2]=b;b=fc(4);v[299999]=0;g=S(1,16)|0;d=v[299999];v[299999]=0;if((d|0)==1){break B}v[299999]=0;S(3315,g|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){a=P()|0;O()|0;dc(g);break c}v[b>>2]=g;v[a+64>>2]=612;v[a+68>>2]=792;v[a+60>>2]=b;v[a+112>>2]=2;v[a+104>>2]=1;v[a+108>>2]=0;v[a+96>>2]=0;v[a+100>>2]=1;v[a+88>>2]=1;v[a+92>>2]=0;v[a+80>>2]=612;v[a+84>>2]=792;v[a+72>>2]=0;v[a+76>>2]=0;b=fc(16);v[299999]=0;Q(3304,b|0,1)|0;g=v[299999];v[299999]=0;if((g|0)==1){break A}v[a+116>>2]=b;b=fc(16);v[299999]=0;S(3315,b|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break z}v[a+120>>2]=b;b=fc(16);v[299999]=0;S(3315,b|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break y}v[a+144>>2]=0;v[a+148>>2]=0;v[a+136>>2]=1;v[a+140>>2]=1;v[a+128>>2]=1;v[a+132>>2]=1;v[a+124>>2]=b;v[a+192>>2]=0;v[a+196>>2]=0;v[a+184>>2]=0;v[a+188>>2]=2e7;v[a+176>>2]=0;v[a+180>>2]=1081262080;v[a+168>>2]=0;v[a+172>>2]=0;v[a+160>>2]=1;v[a+164>>2]=0;v[a+152>>2]=0;v[a+156>>2]=0;b=fc(8);v[299999]=0;Q(3063,b|0,v[278046])|0;g=v[299999];v[299999]=0;if((g|0)==1){break x}v[a+212>>2]=1;v[a+204>>2]=0;v[a+208>>2]=1;v[a+200>>2]=b;b=fc(8);v[299999]=0;Q(3063,b|0,325496)|0;g=v[299999];v[299999]=0;if((g|0)==1){break w}v[a+220>>2]=0;v[a+216>>2]=b;b=fc(8);v[299999]=0;Q(3063,b|0,234266)|0;g=v[299999];v[299999]=0;if((g|0)==1){break v}v[a+236>>2]=0;v[a+228>>2]=1;v[a+232>>2]=1;v[a+224>>2]=b;b=fc(8);v[299999]=0;Q(3063,b|0,240380)|0;g=v[299999];v[299999]=0;if((g|0)==1){break u}v[a+336>>2]=1;v[a+340>>2]=0;v[a+328>>2]=0;v[a+332>>2]=1;v[a+320>>2]=0;v[a+324>>2]=0;v[a+312>>2]=0;v[a+316>>2]=1072693248;v[a+304>>2]=0;v[a+308>>2]=0;v[a+296>>2]=0;v[a+300>>2]=1072693248;v[a+292>>2]=-1;v[a+284>>2]=0;v[a+288>>2]=-1;v[a+276>>2]=0;v[a+280>>2]=1;v[a+268>>2]=1;v[a+272>>2]=1;v[a+260>>2]=1;v[a+264>>2]=0;v[a+252>>2]=10;v[a+256>>2]=1;v[a+244>>2]=1500;v[a+248>>2]=1500;v[a+240>>2]=b;b=fc(8);v[299999]=0;Q(3063,b|0,273698)|0;g=v[299999];v[299999]=0;if((g|0)==1){break t}v[a+344>>2]=b;b=fc(8);v[299999]=0;Q(3063,b|0,334514)|0;g=v[299999];v[299999]=0;if((g|0)==1){break s}v[a+348>>2]=b;b=fc(8);v[299999]=0;Q(3063,b|0,335465)|0;g=v[299999];v[299999]=0;if((g|0)==1){break r}v[a+352>>2]=b;b=fc(8);v[299999]=0;Q(3063,b|0,273724)|0;g=v[299999];v[299999]=0;if((g|0)==1){break q}v[a+360>>2]=0;v[a+364>>2]=0;v[a+356>>2]=b;v[a+384>>2]=1;v[a+376>>2]=1;v[a+380>>2]=0;v[a+368>>2]=0;v[a+372>>2]=0;b=fc(16);v[299999]=0;Q(3304,b|0,1)|0;g=v[299999];v[299999]=0;if((g|0)==1){break p}v[a+388>>2]=b;b=a;d=fc(16);v[299999]=0;c=S(3315,d|0)|0;g=v[299999];v[299999]=0;O:{P:{Q:{R:{S:{T:{U:{V:{W:{X:{Y:{Z:{_:{$:{aa:{ba:{ca:{da:{ea:{fa:{ga:{ha:{ia:{ja:{ka:{la:{ma:{na:{oa:{pa:{qa:{ra:{sa:{ta:{ua:{va:{wa:{xa:{ya:{za:{Aa:{Ba:{Ca:{Da:{Ea:{Fa:{Ga:{Ha:{Ia:{Ja:{Ka:{La:{Ma:{Na:{Oa:{Pa:{Qa:{Ra:{Sa:{Ta:{Ua:{Va:{Wa:{if((g|0)!=1){v[b+392>>2]=d;d=fc(16);v[d+8>>2]=0;v[d>>2]=8193;v[d+4>>2]=0;v[299999]=0;g=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)==1){break Wa}v[299999]=0;f=S(3315,g|0)|0;e=v[299999];v[299999]=0;Xa:{Ya:{if((e|0)!=1){v[d+12>>2]=g;v[299999]=0;g=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Wa}v[299999]=0;Q(3063,g|0,247144)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Ya}v[299999]=0;V(3689,f|0,g|0);g=v[299999];v[299999]=0;if((g|0)==1){break Wa}Tc(c,d);g=b;b=v[b+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=8193;v[d+4>>2]=1;v[299999]=0;c=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break Xa}break Q}b=P()|0;O()|0;dc(g);break P}b=P()|0;O()|0;dc(g);break P}v[299999]=0;f=S(3315,c|0)|0;e=v[299999];v[299999]=0;Za:{_a:{if((e|0)!=1){v[d+12>>2]=c;v[299999]=0;c=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Q}v[299999]=0;Q(3063,c|0,247172)|0;e=v[299999];v[299999]=0;if((e|0)==1){break _a}v[299999]=0;V(3689,f|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break Q}Tc(b,d);b=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=8449;v[d+4>>2]=0;v[299999]=0;c=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break Za}break R}b=P()|0;O()|0;dc(c);break P}b=P()|0;O()|0;dc(c);break P}v[299999]=0;f=S(3315,c|0)|0;e=v[299999];v[299999]=0;$a:{ab:{if((e|0)!=1){v[d+12>>2]=c;v[299999]=0;c=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break R}v[299999]=0;Q(3063,c|0,247159)|0;e=v[299999];v[299999]=0;if((e|0)==1){break ab}v[299999]=0;V(3689,f|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break R}Tc(b,d);b=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=8449;v[d+4>>2]=1;v[299999]=0;c=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break $a}break S}b=P()|0;O()|0;dc(c);break P}b=P()|0;O()|0;dc(c);break P}v[299999]=0;f=S(3315,c|0)|0;e=v[299999];v[299999]=0;bb:{cb:{if((e|0)!=1){v[d+12>>2]=c;v[299999]=0;c=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break S}v[299999]=0;Q(3063,c|0,247159)|0;e=v[299999];v[299999]=0;if((e|0)==1){break cb}v[299999]=0;V(3689,f|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break S}Tc(b,d);b=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=8961;v[d+4>>2]=0;v[299999]=0;c=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break bb}break T}b=P()|0;O()|0;dc(c);break P}b=P()|0;O()|0;dc(c);break P}v[299999]=0;f=S(3315,c|0)|0;e=v[299999];v[299999]=0;db:{eb:{if((e|0)!=1){v[d+12>>2]=c;v[299999]=0;c=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break T}v[299999]=0;Q(3063,c|0,286754)|0;e=v[299999];v[299999]=0;if((e|0)==1){break eb}v[299999]=0;V(3689,f|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break T}Tc(b,d);b=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=9217;v[d+4>>2]=0;v[299999]=0;c=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break db}break U}b=P()|0;O()|0;dc(c);break P}b=P()|0;O()|0;dc(c);break P}v[299999]=0;f=S(3315,c|0)|0;e=v[299999];v[299999]=0;fb:{gb:{if((e|0)!=1){v[d+12>>2]=c;v[299999]=0;c=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break U}v[299999]=0;Q(3063,c|0,280185)|0;e=v[299999];v[299999]=0;if((e|0)==1){break gb}v[299999]=0;V(3689,f|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break U}Tc(b,d);b=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=8705;v[d+4>>2]=0;v[299999]=0;c=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break fb}break V}b=P()|0;O()|0;dc(c);break P}b=P()|0;O()|0;dc(c);break P}v[299999]=0;f=S(3315,c|0)|0;e=v[299999];v[299999]=0;hb:{ib:{if((e|0)!=1){v[d+12>>2]=c;v[299999]=0;c=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break V}v[299999]=0;Q(3063,c|0,260722)|0;e=v[299999];v[299999]=0;if((e|0)==1){break ib}v[299999]=0;V(3689,f|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break V}Tc(b,d);b=v[g+392>>2];d=fc(16);v[d+8>>2]=16;v[d>>2]=8706;v[d+4>>2]=0;v[299999]=0;c=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break hb}break W}b=P()|0;O()|0;dc(c);break P}b=P()|0;O()|0;dc(c);break P}v[299999]=0;f=S(3315,c|0)|0;e=v[299999];v[299999]=0;jb:{kb:{if((e|0)!=1){v[d+12>>2]=c;v[299999]=0;c=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break W}v[299999]=0;Q(3063,c|0,302997)|0;e=v[299999];v[299999]=0;if((e|0)==1){break kb}v[299999]=0;V(3689,f|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break W}Tc(b,d);b=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=8194;v[d+4>>2]=0;v[299999]=0;c=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break jb}break X}b=P()|0;O()|0;dc(c);break P}b=P()|0;O()|0;dc(c);break P}v[299999]=0;f=S(3315,c|0)|0;e=v[299999];v[299999]=0;lb:{mb:{if((e|0)!=1){v[d+12>>2]=c;v[299999]=0;c=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break X}v[299999]=0;Q(3063,c|0,253419)|0;e=v[299999];v[299999]=0;if((e|0)==1){break mb}v[299999]=0;V(3689,f|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break X}Tc(b,d);b=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=8450;v[d+4>>2]=0;v[299999]=0;c=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break lb}break Y}b=P()|0;O()|0;dc(c);break P}b=P()|0;O()|0;dc(c);break P}v[299999]=0;f=S(3315,c|0)|0;e=v[299999];v[299999]=0;nb:{ob:{if((e|0)!=1){v[d+12>>2]=c;v[299999]=0;c=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Y}v[299999]=0;Q(3063,c|0,253428)|0;e=v[299999];v[299999]=0;if((e|0)==1){break ob}v[299999]=0;V(3689,f|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break Y}Tc(b,d);b=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=8195;v[d+4>>2]=0;v[299999]=0;c=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break nb}break Z}b=P()|0;O()|0;dc(c);break P}b=P()|0;O()|0;dc(c);break P}v[299999]=0;f=S(3315,c|0)|0;e=v[299999];v[299999]=0;pb:{qb:{if((e|0)!=1){v[d+12>>2]=c;v[299999]=0;c=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Z}v[299999]=0;Q(3063,c|0,225076)|0;e=v[299999];v[299999]=0;if((e|0)==1){break qb}v[299999]=0;V(3689,f|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break Z}Tc(b,d);b=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=8196;v[d+4>>2]=0;v[299999]=0;c=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break pb}break _}b=P()|0;O()|0;dc(c);break P}b=P()|0;O()|0;dc(c);break P}v[299999]=0;f=S(3315,c|0)|0;e=v[299999];v[299999]=0;rb:{sb:{if((e|0)!=1){v[d+12>>2]=c;v[299999]=0;c=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break _}v[299999]=0;Q(3063,c|0,340714)|0;e=v[299999];v[299999]=0;if((e|0)==1){break sb}v[299999]=0;V(3689,f|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break _}Tc(b,d);b=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=8197;v[d+4>>2]=0;v[299999]=0;c=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break rb}break $}b=P()|0;O()|0;dc(c);break P}b=P()|0;O()|0;dc(c);break P}v[299999]=0;f=S(3315,c|0)|0;e=v[299999];v[299999]=0;tb:{ub:{if((e|0)!=1){v[d+12>>2]=c;v[299999]=0;c=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break $}v[299999]=0;Q(3063,c|0,340735)|0;e=v[299999];v[299999]=0;if((e|0)==1){break ub}v[299999]=0;V(3689,f|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break $}Tc(b,d);b=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=8198;v[d+4>>2]=0;v[299999]=0;c=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break tb}break aa}b=P()|0;O()|0;dc(c);break P}b=P()|0;O()|0;dc(c);break P}v[299999]=0;f=S(3315,c|0)|0;e=v[299999];v[299999]=0;vb:{wb:{if((e|0)!=1){v[d+12>>2]=c;v[299999]=0;c=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break aa}v[299999]=0;Q(3063,c|0,340671)|0;e=v[299999];v[299999]=0;if((e|0)==1){break wb}v[299999]=0;V(3689,f|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break aa}Tc(b,d);b=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=8199;v[d+4>>2]=0;v[299999]=0;c=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break vb}break ba}b=P()|0;O()|0;dc(c);break P}b=P()|0;O()|0;dc(c);break P}v[299999]=0;f=S(3315,c|0)|0;e=v[299999];v[299999]=0;xb:{yb:{if((e|0)!=1){v[d+12>>2]=c;v[299999]=0;c=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break ba}v[299999]=0;Q(3063,c|0,340655)|0;e=v[299999];v[299999]=0;if((e|0)==1){break yb}v[299999]=0;V(3689,f|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break ba}Tc(b,d);b=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=8196;v[d+4>>2]=2;v[299999]=0;c=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break xb}break ca}b=P()|0;O()|0;dc(c);break P}b=P()|0;O()|0;dc(c);break P}v[299999]=0;f=S(3315,c|0)|0;e=v[299999];v[299999]=0;zb:{Ab:{if((e|0)!=1){v[d+12>>2]=c;v[299999]=0;c=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break ca}v[299999]=0;Q(3063,c|0,253451)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Ab}v[299999]=0;V(3689,f|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break ca}Tc(b,d);b=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=8197;v[d+4>>2]=2;v[299999]=0;c=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break zb}break da}b=P()|0;O()|0;dc(c);break P}b=P()|0;O()|0;dc(c);break P}v[299999]=0;f=S(3315,c|0)|0;e=v[299999];v[299999]=0;Bb:{Cb:{if((e|0)!=1){v[d+12>>2]=c;v[299999]=0;c=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break da}v[299999]=0;Q(3063,c|0,225582)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Cb}v[299999]=0;V(3689,f|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break da}Tc(b,d);b=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=111;v[d+4>>2]=2;v[299999]=0;c=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break Bb}break ea}b=P()|0;O()|0;dc(c);break P}b=P()|0;O()|0;dc(c);break P}v[299999]=0;f=S(3315,c|0)|0;e=v[299999];v[299999]=0;Db:{Eb:{if((e|0)!=1){v[d+12>>2]=c;v[299999]=0;c=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break ea}v[299999]=0;Q(3063,c|0,249504)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Eb}v[299999]=0;V(3689,f|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break ea}Tc(b,d);b=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=114;v[d+4>>2]=2;v[299999]=0;c=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break Db}break fa}b=P()|0;O()|0;dc(c);break P}b=P()|0;O()|0;dc(c);break P}v[299999]=0;f=S(3315,c|0)|0;e=v[299999];v[299999]=0;Fb:{Gb:{if((e|0)!=1){v[d+12>>2]=c;v[299999]=0;c=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break fa}v[299999]=0;Q(3063,c|0,292229)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Gb}v[299999]=0;V(3689,f|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break fa}Tc(b,d);b=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=102;v[d+4>>2]=2;v[299999]=0;c=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break Fb}break ga}b=P()|0;O()|0;dc(c);break P}b=P()|0;O()|0;dc(c);break P}v[299999]=0;f=S(3315,c|0)|0;e=v[299999];v[299999]=0;Hb:{Ib:{if((e|0)!=1){v[d+12>>2]=c;v[299999]=0;c=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break ga}v[299999]=0;Q(3063,c|0,287931)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Ib}v[299999]=0;V(3689,f|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break ga}Tc(b,d);b=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=103;v[d+4>>2]=2;v[299999]=0;c=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break Hb}break ha}b=P()|0;O()|0;dc(c);break P}b=P()|0;O()|0;dc(c);break P}v[299999]=0;f=S(3315,c|0)|0;e=v[299999];v[299999]=0;Jb:{Kb:{if((e|0)!=1){v[d+12>>2]=c;v[299999]=0;c=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break ha}v[299999]=0;Q(3063,c|0,225337)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Kb}v[299999]=0;V(3689,f|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break ha}Tc(b,d);b=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=99;v[d+4>>2]=2;v[299999]=0;c=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break Jb}break ia}b=P()|0;O()|0;dc(c);break P}b=P()|0;O()|0;dc(c);break P}v[299999]=0;f=S(3315,c|0)|0;e=v[299999];v[299999]=0;Lb:{Mb:{if((e|0)!=1){v[d+12>>2]=c;v[299999]=0;c=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break ia}v[299999]=0;Q(3063,c|0,219478)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Mb}v[299999]=0;V(3689,f|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break ia}Tc(b,d);b=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=112;v[d+4>>2]=2;v[299999]=0;c=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break Lb}break ja}b=P()|0;O()|0;dc(c);break P}b=P()|0;O()|0;dc(c);break P}v[299999]=0;f=S(3315,c|0)|0;e=v[299999];v[299999]=0;Nb:{Ob:{if((e|0)!=1){v[d+12>>2]=c;v[299999]=0;c=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break ja}v[299999]=0;Q(3063,c|0,228512)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Ob}v[299999]=0;V(3689,f|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break ja}Tc(b,d);b=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=48;v[d+4>>2]=2;v[299999]=0;c=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break Nb}break ka}b=P()|0;O()|0;dc(c);break P}b=P()|0;O()|0;dc(c);break P}v[299999]=0;f=S(3315,c|0)|0;e=v[299999];v[299999]=0;Pb:{Qb:{if((e|0)!=1){v[d+12>>2]=c;v[299999]=0;c=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break ka}v[299999]=0;Q(3063,c|0,340758)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Qb}v[299999]=0;V(3689,f|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break ka}Tc(b,d);b=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=43;v[d+4>>2]=2;v[299999]=0;c=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break Pb}break la}b=P()|0;O()|0;dc(c);break P}b=P()|0;O()|0;dc(c);break P}v[299999]=0;f=S(3315,c|0)|0;e=v[299999];v[299999]=0;Rb:{Sb:{if((e|0)!=1){v[d+12>>2]=c;v[299999]=0;c=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break la}v[299999]=0;Q(3063,c|0,253451)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Sb}v[299999]=0;V(3689,f|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break la}Tc(b,d);b=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=61;v[d+4>>2]=2;v[299999]=0;c=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break Rb}break ma}b=P()|0;O()|0;dc(c);break P}b=P()|0;O()|0;dc(c);break P}v[299999]=0;f=S(3315,c|0)|0;e=v[299999];v[299999]=0;Tb:{Ub:{if((e|0)!=1){v[d+12>>2]=c;v[299999]=0;c=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break ma}v[299999]=0;Q(3063,c|0,253451)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Ub}v[299999]=0;V(3689,f|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break ma}Tc(b,d);b=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=45;v[d+4>>2]=2;v[299999]=0;c=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break Tb}break na}b=P()|0;O()|0;dc(c);break P}b=P()|0;O()|0;dc(c);break P}v[299999]=0;f=S(3315,c|0)|0;e=v[299999];v[299999]=0;Vb:{Wb:{if((e|0)!=1){v[d+12>>2]=c;v[299999]=0;c=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break na}v[299999]=0;Q(3063,c|0,225582)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Wb}v[299999]=0;V(3689,f|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break na}Tc(b,d);b=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=115;v[d+4>>2]=2;v[299999]=0;c=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break Vb}break oa}b=P()|0;O()|0;dc(c);break P}b=P()|0;O()|0;dc(c);break P}v[299999]=0;f=S(3315,c|0)|0;e=v[299999];v[299999]=0;Xb:{Yb:{if((e|0)!=1){v[d+12>>2]=c;v[299999]=0;c=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break oa}v[299999]=0;Q(3063,c|0,237115)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Yb}v[299999]=0;V(3689,f|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break oa}Tc(b,d);b=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=116;v[d+4>>2]=2;v[299999]=0;c=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break Xb}break pa}b=P()|0;O()|0;dc(c);break P}b=P()|0;O()|0;dc(c);break P}v[299999]=0;f=S(3315,c|0)|0;e=v[299999];v[299999]=0;Zb:{_b:{if((e|0)!=1){v[d+12>>2]=c;v[299999]=0;c=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break pa}v[299999]=0;Q(3063,c|0,302990)|0;e=v[299999];v[299999]=0;if((e|0)==1){break _b}v[299999]=0;V(3689,f|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break pa}Tc(b,d);b=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=110;v[d+4>>2]=2;v[299999]=0;c=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break Zb}break qa}b=P()|0;O()|0;dc(c);break P}b=P()|0;O()|0;dc(c);break P}v[299999]=0;f=S(3315,c|0)|0;e=v[299999];v[299999]=0;$b:{ac:{if((e|0)!=1){v[d+12>>2]=c;v[299999]=0;c=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break qa}v[299999]=0;Q(3063,c|0,222392)|0;e=v[299999];v[299999]=0;if((e|0)==1){break ac}v[299999]=0;V(3689,f|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break qa}Tc(b,d);b=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=119;v[d+4>>2]=2;v[299999]=0;c=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break $b}break ra}b=P()|0;O()|0;dc(c);break P}b=P()|0;O()|0;dc(c);break P}v[299999]=0;f=S(3315,c|0)|0;e=v[299999];v[299999]=0;bc:{cc:{if((e|0)!=1){v[d+12>>2]=c;v[299999]=0;c=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break ra}v[299999]=0;Q(3063,c|0,231569)|0;e=v[299999];v[299999]=0;if((e|0)==1){break cc}v[299999]=0;V(3689,f|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break ra}Tc(b,d);b=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=108;v[d+4>>2]=2;v[299999]=0;c=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break bc}break sa}b=P()|0;O()|0;dc(c);break P}b=P()|0;O()|0;dc(c);break P}v[299999]=0;f=S(3315,c|0)|0;e=v[299999];v[299999]=0;dc:{ec:{if((e|0)!=1){v[d+12>>2]=c;v[299999]=0;c=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break sa}v[299999]=0;Q(3063,c|0,284431)|0;e=v[299999];v[299999]=0;if((e|0)==1){break ec}v[299999]=0;V(3689,f|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break sa}Tc(b,d);b=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=113;v[d+4>>2]=2;v[299999]=0;c=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break dc}break ta}b=P()|0;O()|0;dc(c);break P}b=P()|0;O()|0;dc(c);break P}v[299999]=0;f=S(3315,c|0)|0;e=v[299999];v[299999]=0;fc:{gc:{if((e|0)!=1){v[d+12>>2]=c;v[299999]=0;c=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break ta}v[299999]=0;Q(3063,c|0,231564)|0;e=v[299999];v[299999]=0;if((e|0)==1){break gc}v[299999]=0;V(3689,f|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break ta}Tc(b,d);b=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=4096;v[d+4>>2]=2;v[299999]=0;c=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break fc}break ua}b=P()|0;O()|0;dc(c);break P}b=P()|0;O()|0;dc(c);break P}v[299999]=0;f=S(3315,c|0)|0;e=v[299999];v[299999]=0;hc:{ic:{if((e|0)!=1){v[d+12>>2]=c;v[299999]=0;c=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break ua}v[299999]=0;Q(3063,c|0,303024)|0;e=v[299999];v[299999]=0;if((e|0)==1){break ic}v[299999]=0;V(3689,f|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break ua}Tc(b,d);b=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=4096;v[d+4>>2]=3;v[299999]=0;c=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break hc}break va}b=P()|0;O()|0;dc(c);break P}b=P()|0;O()|0;dc(c);break P}v[299999]=0;f=S(3315,c|0)|0;e=v[299999];v[299999]=0;jc:{kc:{if((e|0)!=1){v[d+12>>2]=c;v[299999]=0;c=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break va}v[299999]=0;Q(3063,c|0,303016)|0;e=v[299999];v[299999]=0;if((e|0)==1){break kc}v[299999]=0;V(3689,f|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break va}Tc(b,d);b=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=63;v[d+4>>2]=2;v[299999]=0;c=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break jc}break wa}b=P()|0;O()|0;dc(c);break P}b=P()|0;O()|0;dc(c);break P}v[299999]=0;f=S(3315,c|0)|0;e=v[299999];v[299999]=0;lc:{mc:{if((e|0)!=1){v[d+12>>2]=c;v[299999]=0;c=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break wa}v[299999]=0;Q(3063,c|0,242517)|0;e=v[299999];v[299999]=0;if((e|0)==1){break mc}v[299999]=0;V(3689,f|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break wa}Tc(b,d);b=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=4107;v[d+4>>2]=4;v[299999]=0;c=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break lc}break xa}b=P()|0;O()|0;dc(c);break P}b=P()|0;O()|0;dc(c);break P}v[299999]=0;f=S(3315,c|0)|0;e=v[299999];v[299999]=0;nc:{oc:{if((e|0)!=1){v[d+12>>2]=c;v[299999]=0;c=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break xa}v[299999]=0;Q(3063,c|0,286829)|0;e=v[299999];v[299999]=0;if((e|0)==1){break oc}v[299999]=0;V(3689,f|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break xa}Tc(b,d);b=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=4108;v[d+4>>2]=4;v[299999]=0;c=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break nc}break ya}b=P()|0;O()|0;dc(c);break P}b=P()|0;O()|0;dc(c);break P}v[299999]=0;f=S(3315,c|0)|0;e=v[299999];v[299999]=0;pc:{qc:{if((e|0)!=1){v[d+12>>2]=c;v[299999]=0;c=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break ya}v[299999]=0;Q(3063,c|0,286774)|0;e=v[299999];v[299999]=0;if((e|0)==1){break qc}v[299999]=0;V(3689,f|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break ya}Tc(b,d);c=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=4103;v[d+4>>2]=2;v[299999]=0;b=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break pc}break za}b=P()|0;O()|0;dc(c);break P}b=P()|0;O()|0;dc(c);break P}v[299999]=0;f=S(3315,b|0)|0;e=v[299999];v[299999]=0;rc:{if((e|0)!=1){sc:{v[d+12>>2]=b;v[299999]=0;b=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break za}v[299999]=0;Q(3063,b|0,340775)|0;e=v[299999];v[299999]=0;if((e|0)==1){break sc}v[299999]=0;V(3689,f|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break za}Tc(c,d);c=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=4103;v[d+4>>2]=0;v[299999]=0;b=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break rc}break Aa}}a=P()|0;O()|0;dc(b);b=a;break P}v[299999]=0;f=S(3315,b|0)|0;e=v[299999];v[299999]=0;tc:{if((e|0)!=1){uc:{v[d+12>>2]=b;v[299999]=0;b=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Aa}v[299999]=0;Q(3063,b|0,232845)|0;e=v[299999];v[299999]=0;if((e|0)==1){break uc}v[299999]=0;V(3689,f|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break Aa}Tc(c,d);c=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=4104;v[d+4>>2]=2;v[299999]=0;b=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break tc}break Ba}}a=P()|0;O()|0;dc(b);b=a;break P}v[299999]=0;f=S(3315,b|0)|0;e=v[299999];v[299999]=0;vc:{if((e|0)!=1){wc:{v[d+12>>2]=b;v[299999]=0;b=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Ba}v[299999]=0;Q(3063,b|0,283610)|0;e=v[299999];v[299999]=0;if((e|0)==1){break wc}v[299999]=0;V(3689,f|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break Ba}Tc(c,d);c=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=4104;v[d+4>>2]=0;v[299999]=0;b=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break vc}break Ca}}a=P()|0;O()|0;dc(b);b=a;break P}v[299999]=0;f=S(3315,b|0)|0;e=v[299999];v[299999]=0;xc:{if((e|0)!=1){yc:{v[d+12>>2]=b;v[299999]=0;b=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Ca}v[299999]=0;Q(3063,b|0,232226)|0;e=v[299999];v[299999]=0;if((e|0)==1){break yc}v[299999]=0;V(3689,f|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break Ca}Tc(c,d);c=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=4105;v[d+4>>2]=0;v[299999]=0;b=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break xc}break Da}}a=P()|0;O()|0;dc(b);b=a;break P}v[299999]=0;f=S(3315,b|0)|0;e=v[299999];v[299999]=0;zc:{if((e|0)!=1){Ac:{v[d+12>>2]=b;v[299999]=0;b=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Da}v[299999]=0;Q(3063,b|0,243355)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Ac}v[299999]=0;V(3689,f|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break Da}Tc(c,d);c=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=4106;v[d+4>>2]=0;v[299999]=0;b=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break zc}break Ea}}a=P()|0;O()|0;dc(b);b=a;break P}v[299999]=0;f=S(3315,b|0)|0;e=v[299999];v[299999]=0;Bc:{if((e|0)!=1){Cc:{v[d+12>>2]=b;v[299999]=0;b=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Ea}v[299999]=0;Q(3063,b|0,244662)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Cc}v[299999]=0;V(3689,f|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break Ea}Tc(c,d);c=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=4105;v[d+4>>2]=2;v[299999]=0;b=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break Bc}break Fa}}a=P()|0;O()|0;dc(b);b=a;break P}v[299999]=0;f=S(3315,b|0)|0;e=v[299999];v[299999]=0;Dc:{if((e|0)!=1){Ec:{v[d+12>>2]=b;v[299999]=0;b=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Fa}v[299999]=0;Q(3063,b|0,283592)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Ec}v[299999]=0;V(3689,f|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break Fa}Tc(c,d);c=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=4106;v[d+4>>2]=2;v[299999]=0;b=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break Dc}break Ga}}a=P()|0;O()|0;dc(b);b=a;break P}v[299999]=0;f=S(3315,b|0)|0;e=v[299999];v[299999]=0;Fc:{if((e|0)!=1){Gc:{v[d+12>>2]=b;v[299999]=0;b=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Ga}v[299999]=0;Q(3063,b|0,283601)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Gc}v[299999]=0;V(3689,f|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break Ga}Tc(c,d);c=v[g+392>>2];d=fc(16);v[d+8>>2]=256;v[d>>2]=4105;v[d+4>>2]=2;v[299999]=0;b=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break Fc}break Ha}}a=P()|0;O()|0;dc(b);b=a;break P}v[299999]=0;f=S(3315,b|0)|0;e=v[299999];v[299999]=0;Hc:{if((e|0)!=1){Ic:{v[d+12>>2]=b;v[299999]=0;b=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Ha}v[299999]=0;Q(3063,b|0,258920)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Ic}v[299999]=0;V(3689,f|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break Ha}Tc(c,d);c=v[g+392>>2];d=fc(16);v[d+8>>2]=256;v[d>>2]=4106;v[d+4>>2]=2;v[299999]=0;b=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break Hc}break Ia}}a=P()|0;O()|0;dc(b);b=a;break P}v[299999]=0;f=S(3315,b|0)|0;e=v[299999];v[299999]=0;Jc:{if((e|0)!=1){Kc:{v[d+12>>2]=b;v[299999]=0;b=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Ia}v[299999]=0;Q(3063,b|0,258937)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Kc}v[299999]=0;V(3689,f|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break Ia}Tc(c,d);c=v[g+392>>2];d=fc(16);v[d+8>>2]=1;v[d>>2]=4100;v[d+4>>2]=0;v[299999]=0;b=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break Jc}break Ja}}a=P()|0;O()|0;dc(b);b=a;break P}v[299999]=0;f=S(3315,b|0)|0;e=v[299999];v[299999]=0;Lc:{if((e|0)!=1){Mc:{v[d+12>>2]=b;v[299999]=0;b=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Ja}v[299999]=0;Q(3063,b|0,284420)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Mc}v[299999]=0;V(3689,f|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break Ja}Tc(c,d);c=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=4107;v[d+4>>2]=0;v[299999]=0;b=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break Lc}break Ka}}a=P()|0;O()|0;dc(b);b=a;break P}v[299999]=0;f=S(3315,b|0)|0;e=v[299999];v[299999]=0;Nc:{if((e|0)!=1){Oc:{v[d+12>>2]=b;v[299999]=0;b=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Ka}v[299999]=0;Q(3063,b|0,340671)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Oc}v[299999]=0;V(3689,f|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break Ka}Tc(c,d);c=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=4108;v[d+4>>2]=0;v[299999]=0;b=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break Nc}break La}}a=P()|0;O()|0;dc(b);b=a;break P}v[299999]=0;f=S(3315,b|0)|0;e=v[299999];v[299999]=0;Pc:{if((e|0)!=1){Qc:{v[d+12>>2]=b;v[299999]=0;b=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break La}v[299999]=0;Q(3063,b|0,340655)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Qc}v[299999]=0;V(3689,f|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break La}Tc(c,d);c=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=4109;v[d+4>>2]=0;v[299999]=0;b=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break Pc}break Ma}}a=P()|0;O()|0;dc(b);b=a;break P}v[299999]=0;f=S(3315,b|0)|0;e=v[299999];v[299999]=0;Rc:{if((e|0)!=1){Sc:{v[d+12>>2]=b;v[299999]=0;b=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Ma}v[299999]=0;Q(3063,b|0,340686)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Sc}v[299999]=0;V(3689,f|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break Ma}Tc(c,d);c=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=4110;v[d+4>>2]=0;v[299999]=0;b=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break Rc}break Na}}a=P()|0;O()|0;dc(b);b=a;break P}v[299999]=0;f=S(3315,b|0)|0;e=v[299999];v[299999]=0;Tc:{if((e|0)!=1){Uc:{v[d+12>>2]=b;v[299999]=0;b=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Na}v[299999]=0;Q(3063,b|0,340699)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Uc}v[299999]=0;V(3689,f|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break Na}Tc(c,d);c=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=4109;v[d+4>>2]=2;v[299999]=0;b=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break Tc}break Oa}}a=P()|0;O()|0;dc(b);b=a;break P}v[299999]=0;f=S(3315,b|0)|0;e=v[299999];v[299999]=0;Vc:{if((e|0)!=1){Wc:{v[d+12>>2]=b;v[299999]=0;b=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Oa}v[299999]=0;Q(3063,b|0,283592)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Wc}v[299999]=0;V(3689,f|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break Oa}Tc(c,d);c=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=4110;v[d+4>>2]=2;v[299999]=0;b=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break Vc}break Pa}}a=P()|0;O()|0;dc(b);b=a;break P}v[299999]=0;f=S(3315,b|0)|0;e=v[299999];v[299999]=0;Xc:{if((e|0)!=1){Yc:{v[d+12>>2]=b;v[299999]=0;b=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Pa}v[299999]=0;Q(3063,b|0,283601)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Yc}v[299999]=0;V(3689,f|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break Pa}Tc(c,d);c=v[g+392>>2];d=fc(16);v[d+8>>2]=256;v[d>>2]=4109;v[d+4>>2]=2;v[299999]=0;b=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break Xc}break Qa}}a=P()|0;O()|0;dc(b);b=a;break P}v[299999]=0;f=S(3315,b|0)|0;e=v[299999];v[299999]=0;Zc:{if((e|0)!=1){_c:{v[d+12>>2]=b;v[299999]=0;b=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Qa}v[299999]=0;Q(3063,b|0,258920)|0;e=v[299999];v[299999]=0;if((e|0)==1){break _c}v[299999]=0;V(3689,f|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break Qa}Tc(c,d);c=v[g+392>>2];d=fc(16);v[d+8>>2]=256;v[d>>2]=4110;v[d+4>>2]=2;v[299999]=0;b=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break Zc}break Ra}}a=P()|0;O()|0;dc(b);b=a;break P}v[299999]=0;f=S(3315,b|0)|0;e=v[299999];v[299999]=0;$c:{if((e|0)!=1){ad:{v[d+12>>2]=b;v[299999]=0;b=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Ra}v[299999]=0;Q(3063,b|0,258937)|0;e=v[299999];v[299999]=0;if((e|0)==1){break ad}v[299999]=0;V(3689,f|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break Ra}Tc(c,d);c=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=32;v[d+4>>2]=0;v[299999]=0;b=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break $c}break Sa}}a=P()|0;O()|0;dc(b);b=a;break P}v[299999]=0;f=S(3315,b|0)|0;e=v[299999];v[299999]=0;bd:{if((e|0)!=1){cd:{v[d+12>>2]=b;v[299999]=0;b=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Sa}v[299999]=0;Q(3063,b|0,244662)|0;e=v[299999];v[299999]=0;if((e|0)==1){break cd}v[299999]=0;V(3689,f|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break Sa}Tc(c,d);c=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=103;v[d+4>>2]=0;v[299999]=0;b=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break bd}break Ta}}a=P()|0;O()|0;dc(b);b=a;break P}v[299999]=0;f=S(3315,b|0)|0;e=v[299999];v[299999]=0;dd:{if((e|0)!=1){ed:{v[d+12>>2]=b;v[299999]=0;b=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Ta}v[299999]=0;Q(3063,b|0,255558)|0;e=v[299999];v[299999]=0;if((e|0)==1){break ed}v[299999]=0;V(3689,f|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break Ta}Tc(c,d);c=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=122;v[d+4>>2]=0;v[299999]=0;b=S(1,16)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break dd}break Ua}}a=P()|0;O()|0;dc(b);b=a;break P}v[299999]=0;f=S(3315,b|0)|0;e=v[299999];v[299999]=0;fd:{if((e|0)!=1){gd:{v[d+12>>2]=b;v[299999]=0;b=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Ua}v[299999]=0;Q(3063,b|0,283623)|0;e=v[299999];v[299999]=0;if((e|0)==1){break gd}v[299999]=0;V(3689,f|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break Ua}Tc(c,d);b=v[g+392>>2];d=fc(16);v[d+8>>2]=0;v[d>>2]=119;v[d+4>>2]=0;v[299999]=0;g=S(1,16)|0;c=v[299999];v[299999]=0;if((c|0)!=1){break fd}break Va}}a=P()|0;O()|0;dc(b);b=a;break P}v[299999]=0;c=S(3315,g|0)|0;f=v[299999];v[299999]=0;if((f|0)!=1){hd:{v[d+12>>2]=g;v[299999]=0;g=S(1,8)|0;f=v[299999];v[299999]=0;if((f|0)==1){break Va}v[299999]=0;Q(3063,g|0,269580)|0;f=v[299999];v[299999]=0;if((f|0)==1){break hd}v[299999]=0;V(3689,c|0,g|0);g=v[299999];v[299999]=0;if((g|0)==1){break Va}Tc(b,d);break O}}b=P()|0;O()|0;dc(g);break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0;break P}b=P()|0;O()|0}dc(d);T(b|0);L()}b=fc(16);v[299999]=0;S(3315,b|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break o}v[a+396>>2]=b;b=Xm(jF(),276826);v[a+412>>2]=0;v[a+404>>2]=0;v[a+408>>2]=0;v[a+400>>2]=b;b=fc(8);v[299999]=0;Q(3682,b|0,4)|0;g=v[299999];v[299999]=0;if((g|0)==1){break n}v[a+416>>2]=b;b=fc(8);v[299999]=0;Q(3682,b|0,4)|0;g=v[299999];v[299999]=0;if((g|0)==1){break m}v[a+420>>2]=b;b=fc(16);v[299999]=0;v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;g=v[299999];v[299999]=0;if((g|0)==1){break l}v[a+424>>2]=b;b=fc(16);v[299999]=0;v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;g=v[299999];v[299999]=0;if((g|0)==1){break k}v[a+428>>2]=b;b=0;g=346144;while(1){cS(v[a+12>>2],g,v[(b<<3)+898528>>2]);b=b+1|0;g=v[(b<<3)+898532>>2];if(g){continue}break}b=fc(32);v[299999]=0;g=ca(3685,b|0,333516,0,1112192,61)|0;d=v[299999];v[299999]=0;if((d|0)==1){break j}Hi(v[a+24>>2],v[g>>2],b);b=fc(32);v[299999]=0;g=ca(3685,b|0,323918,0,1113168,131)|0;d=v[299999];v[299999]=0;if((d|0)==1){break i}Hi(v[a+24>>2],v[g>>2],b);b=fc(32);v[299999]=0;g=ca(3685,b|0,258795,0,1115264,121)|0;d=v[299999];v[299999]=0;if((d|0)==1){break h}Hi(v[a+24>>2],v[g>>2],b);b=fc(32);v[299999]=0;g=ca(3685,b|0,234766,0,1117200,30)|0;d=v[299999];v[299999]=0;if((d|0)==1){break g}Hi(v[a+24>>2],v[g>>2],b);b=fc(32);v[299999]=0;g=Z(3686,b|0,323858,1,3687)|0;d=v[299999];v[299999]=0;if((d|0)==1){break f}Hi(v[a+24>>2],v[g>>2],b);b=fc(32);v[299999]=0;g=Z(3686,b|0,329918,1,3688)|0;d=v[299999];v[299999]=0;if((d|0)==1){break e}Hi(v[a+24>>2],v[g>>2],b);return a|0}a=P()|0;O()|0;break c}a=P()|0;O()|0;break c}a=P()|0;O()|0;break c}a=P()|0;O()|0;break c}a=P()|0;O()|0;break c}a=P()|0;O()|0;break c}a=P()|0;O()|0;break c}a=P()|0;O()|0;break c}a=P()|0;O()|0;break c}a=P()|0;O()|0;break c}a=P()|0;O()|0;break c}a=P()|0;O()|0;break c}a=P()|0;O()|0;break c}a=P()|0;O()|0;break c}a=P()|0;O()|0;break c}a=P()|0;O()|0;break c}a=P()|0;O()|0;break c}a=P()|0;O()|0;break c}a=P()|0;O()|0;break c}a=P()|0;O()|0;break c}a=P()|0;O()|0;break c}a=P()|0;O()|0;break c}a=P()|0;O()|0;break c}a=P()|0;O()|0;break c}a=P()|0;O()|0;break c}a=P()|0;O()|0;break c}a=P()|0;O()|0;break c}a=P()|0;O()|0;break c}a=P()|0;O()|0;break c}a=P()|0;O()|0;break c}a=P()|0;O()|0;break c}a=P()|0;O()|0;break c}a=P()|0;O()|0;break c}a=P()|0;O()|0;break c}a=P()|0;O()|0;break c}a=P()|0;O()|0;break c}a=P()|0;O()|0;break c}a=P()|0;O()|0;break c}a=P()|0;O()|0}dc(b);T(a|0);L()}function Toa(a,b){a=a|0;b=b|0;var 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,u=0;l=Qb-32|0;Qb=l;d=a;e=Qb-32|0;Qb=e;v[299999]=0;$(4653,e+24|0,b|0,287589,1);c=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{g:{h:{if((c|0)!=1){c=-1;g=v[e+24>>2];i:{if(!g){break i}if(v[g+8>>2]!=4){v[299999]=0;V(4654,g|0,4);c=v[299999];v[299999]=0;if((c|0)==1){break f}L()}if(v[g+44>>2]!=1){break i}v[299999]=0;U(4655,e+8|0,g|0,0);c=v[299999];v[299999]=0;if((c|0)==1){break h}v[299999]=0;c=v[e+8>>2];V(4645,e+16|0,c|0);g=v[299999];v[299999]=0;if((g|0)==1){break g}v[299999]=0;g=v[c+4>>2]-1|0;v[c+4>>2]=g;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(!g){v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}c=v[e+16>>2];c=sr(v[(c?c+12|0:1129608)>>2],16777215);ec(e+16|0);g=v[e+24>>2]}v[e+24>>2]=0;if(!g){break c}v[299999]=0;f=v[g+4>>2]-1|0;v[g+4>>2]=f;k=v[299999];v[299999]=0;if((k|0)!=1){if(f){break c}v[299999]=0;R(4338,g|0);g=v[299999];v[299999]=0;if((g|0)!=1){break c}}break a}c=W(0)|0;O()|0;break d}c=W(0)|0;O()|0;break e}c=W(0)|0;O()|0;ec(e+8|0);break e}c=W(0)|0;O()|0}ec(e+24|0)}ea(c|0)|0;ka();c=-1}Qb=e+32|0;break b}v[d+8>>2]=c;c=0;e=Qb-48|0;Qb=e;v[299999]=0;$(4653,e+40|0,b|0,255740,1);g=v[299999];v[299999]=0;j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{if((g|0)!=1){g=v[e+40>>2];if(!g){break t}if(v[g+8>>2]!=4){v[299999]=0;V(4654,g|0,4);c=v[299999];v[299999]=0;if((c|0)==1){break x}break k}if(v[g+44>>2]!=1){break t}v[299999]=0;U(4655,e+8|0,g|0,0);c=v[299999];v[299999]=0;if((c|0)==1){break z}v[299999]=0;c=v[e+8>>2];V(4645,e+32|0,c|0);g=v[299999];v[299999]=0;if((g|0)==1){break y}v[299999]=0;g=v[c+4>>2]-1|0;v[c+4>>2]=g;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(!g){v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}v[299999]=0;c=Nc(e+32|0,231542,-1);g=v[299999];v[299999]=0;if((g|0)==1){break p}if(!c){break v}v[299999]=0;c=-1;g=Nc(e+32|0,283512,-1);f=v[299999];v[299999]=0;if((f|0)!=1){break w}break p}c=W(0)|0;O()|0;break m}c=W(0)|0;O()|0;break n}c=W(0)|0;O()|0;ec(e+8|0);break n}c=W(0)|0;O()|0;break n}if(!g){break u}v[299999]=0;c=Nc(e+32|0,269565,-1);g=v[299999];v[299999]=0;if((g|0)==1){break p}if(!c){c=-2;break u}v[299999]=0;c=Nc(e+32|0,279897,-1);g=v[299999];v[299999]=0;if((g|0)==1){break p}if(!c){c=-3;break u}v[299999]=0;c=Nc(e+32|0,270171,-1);g=v[299999];v[299999]=0;if((g|0)==1){break p}if(c){break v}c=-4;break u}c=v[e+32>>2];if(!(w[v[c+12>>2]]==100?c:0)){v[299999]=0;g=aa(4369,e+8|0,255726,241562,933,343506,0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break q}v[299999]=0;R(4370,g|0);c=v[299999];v[299999]=0;if((c|0)!=1){break k}c=W(0)|0;O()|0;qc(g);break o}g=v[c+8>>2];c=0;v[299999]=0;$(4568,e+8|0,e+32|0,1,g|0);g=v[299999];v[299999]=0;if((g|0)==1){break s}g=v[e+8>>2];if(g){c=v[v[g>>2]+40>>2];v[299999]=0;c=S(c|0,g|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break r}}ec(e+8|0)}ec(e+32|0);g=v[e+40>>2]}v[e+40>>2]=0;if(!g){break l}v[299999]=0;f=v[g+4>>2]-1|0;v[g+4>>2]=f;k=v[299999];v[299999]=0;if((k|0)!=1){if(f){break l}v[299999]=0;R(4338,g|0);g=v[299999];v[299999]=0;if((g|0)!=1){break l}}break a}c=W(0)|0;O()|0;break o}c=W(0)|0;O()|0;ec(e+8|0);break o}c=W(0)|0;O()|0;break o}c=W(0)|0;O()|0}ec(e+32|0)}ec(e+40|0)}ea(c|0)|0;ka();c=0}Qb=e+48|0;break j}L()}v[d+12>>2]=c;c=0;e=Qb-32|0;Qb=e;v[299999]=0;$(4653,e+24|0,b|0,283880,1);g=v[299999];v[299999]=0;A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{if((g|0)!=1){g=v[e+24>>2];if(!g){break F}if(v[g+8>>2]!=4){v[299999]=0;V(4654,g|0,4);c=v[299999];v[299999]=0;if((c|0)==1){break I}L()}if(v[g+44>>2]!=1){break F}v[299999]=0;U(4655,e+8|0,g|0,0);c=v[299999];v[299999]=0;if((c|0)==1){break K}v[299999]=0;c=v[e+8>>2];V(4645,e+16|0,c|0);g=v[299999];v[299999]=0;if((g|0)==1){break J}v[299999]=0;g=v[c+4>>2]-1|0;v[c+4>>2]=g;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(!g){v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}c=0;v[299999]=0;g=Nc(e+16|0,231542,-1);f=v[299999];v[299999]=0;if((f|0)==1){break E}if(!g){break G}v[299999]=0;g=Nc(e+16|0,238367,-1);f=v[299999];v[299999]=0;c=1;if((f|0)!=1){break H}break E}c=W(0)|0;O()|0;break C}c=W(0)|0;O()|0;break D}c=W(0)|0;O()|0;ec(e+8|0);break D}c=W(0)|0;O()|0;break D}if(!g){break G}v[299999]=0;c=Nc(e+16|0,277488,-1);g=v[299999];v[299999]=0;if((g|0)==1){break E}if(!c){c=2;break G}v[299999]=0;c=Nc(e+16|0,263576,-1);g=v[299999];v[299999]=0;if((g|0)==1){break E}if(!c){c=3;break G}v[299999]=0;c=Nc(e+16|0,224826,-1);g=v[299999];v[299999]=0;if((g|0)==1){break E}c=!c<<2}ec(e+16|0);g=v[e+24>>2]}v[e+24>>2]=0;if(!g){break B}v[299999]=0;f=v[g+4>>2]-1|0;v[g+4>>2]=f;k=v[299999];v[299999]=0;if((k|0)!=1){if(f){break B}v[299999]=0;R(4338,g|0);g=v[299999];v[299999]=0;if((g|0)!=1){break B}}break a}c=W(0)|0;O()|0;ec(e+16|0)}ec(e+24|0)}ea(c|0)|0;ka();c=0}Qb=e+32|0;break A}v[d+16>>2]=c;c=0;e=Qb-32|0;Qb=e;v[299999]=0;$(4653,e+24|0,b|0,248311,1);g=v[299999];v[299999]=0;L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{V:{W:{if((g|0)!=1){g=v[e+24>>2];if(!g){break N}if(v[g+8>>2]!=4){v[299999]=0;V(4654,g|0,4);c=v[299999];v[299999]=0;if((c|0)==1){break T}L()}if(v[g+44>>2]!=2){break N}v[299999]=0;U(4655,e+8|0,g|0,0);c=v[299999];v[299999]=0;if((c|0)==1){break W}v[299999]=0;c=v[e+8>>2];V(4645,e+16|0,c|0);g=v[299999];v[299999]=0;if((g|0)==1){break V}v[299999]=0;g=v[c+4>>2]-1|0;v[c+4>>2]=g;f=v[299999];v[299999]=0;if((f|0)!=1){if(g){break U}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)!=1){break U}}break a}c=W(0)|0;O()|0;break P}c=W(0)|0;O()|0;break Q}c=W(0)|0;O()|0;ec(e+8|0);break Q}c=0;v[299999]=0;g=Nc(e+16|0,231542,-1);f=v[299999];v[299999]=0;if((f|0)==1){break R}if(g){break S}break O}c=W(0)|0;O()|0;break Q}v[299999]=0;g=Nc(e+16|0,232840,-1);f=v[299999];v[299999]=0;c=1;if((f|0)==1){break R}if(!g){break O}v[299999]=0;c=Nc(e+16|0,239314,-1);g=v[299999];v[299999]=0;if((g|0)==1){break R}if(!c){c=2;break O}v[299999]=0;c=Nc(e+16|0,232130,-1);g=v[299999];v[299999]=0;if((g|0)==1){break R}c=c?0:3;break O}c=W(0)|0;O()|0;ec(e+16|0)}ec(e+24|0)}ea(c|0)|0;ka();c=0;break M}ec(e+16|0);g=v[e+24>>2]}v[e+24>>2]=0;if(!g){break M}v[299999]=0;f=v[g+4>>2]-1|0;v[g+4>>2]=f;k=v[299999];v[299999]=0;if((k|0)!=1){if(f){break M}v[299999]=0;R(4338,g|0);g=v[299999];v[299999]=0;if((g|0)!=1){break M}}break a}Qb=e+32|0;break L}v[d+20>>2]=c;c=0;e=Qb-32|0;Qb=e;v[299999]=0;$(4653,e+24|0,b|0,248311,1);g=v[299999];v[299999]=0;X:{Y:{Z:{_:{$:{aa:{ba:{ca:{da:{ea:{fa:{ga:{if((g|0)!=1){g=v[e+24>>2];if(!g){break Z}if(v[g+8>>2]!=4){v[299999]=0;V(4654,g|0,4);c=v[299999];v[299999]=0;if((c|0)==1){break da}L()}if(v[g+44>>2]!=2){break Z}v[299999]=0;U(4655,e+8|0,g|0,1);c=v[299999];v[299999]=0;if((c|0)==1){break ga}v[299999]=0;c=v[e+8>>2];V(4645,e+16|0,c|0);g=v[299999];v[299999]=0;if((g|0)==1){break fa}v[299999]=0;g=v[c+4>>2]-1|0;v[c+4>>2]=g;f=v[299999];v[299999]=0;if((f|0)!=1){if(g){break ea}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)!=1){break ea}}break a}c=W(0)|0;O()|0;break $}c=W(0)|0;O()|0;break aa}c=W(0)|0;O()|0;ec(e+8|0);break aa}c=0;v[299999]=0;g=Nc(e+16|0,231542,-1);f=v[299999];v[299999]=0;if((f|0)==1){break ba}if(g){break ca}break _}c=W(0)|0;O()|0;break aa}v[299999]=0;c=Nc(e+16|0,239314,-1);g=v[299999];v[299999]=0;if((g|0)==1){break ba}if(!c){c=2;break _}v[299999]=0;c=Nc(e+16|0,242439,-1);g=v[299999];v[299999]=0;if((g|0)==1){break ba}if(!c){c=4;break _}v[299999]=0;c=Nc(e+16|0,255710,-1);g=v[299999];v[299999]=0;if((g|0)==1){break ba}c=c?0:5;break _}c=W(0)|0;O()|0;ec(e+16|0)}ec(e+24|0)}ea(c|0)|0;ka();c=0;break Y}ec(e+16|0);g=v[e+24>>2]}v[e+24>>2]=0;if(!g){break Y}v[299999]=0;f=v[g+4>>2]-1|0;v[g+4>>2]=f;k=v[299999];v[299999]=0;if((k|0)!=1){if(f){break Y}v[299999]=0;R(4338,g|0);g=v[299999];v[299999]=0;if((g|0)!=1){break Y}}break a}Qb=e+32|0;break X}v[d+24>>2]=c;e=Qb-304|0;Qb=e;v[l>>2]=0;v[l+4>>2]=0;v[l+8>>2]=0;v[l+12>>2]=0;v[l>>2]=982500;v[l+4>>2]=0;v[l+8>>2]=0;v[l+12>>2]=0;g=l;v[299999]=0;p=Q(4387,e+176|0,b|0)|0;c=v[299999];v[299999]=0;ha:{ia:{ja:{ka:{if((c|0)!=1){n=v[e+184>>2];if(n){while(1){k=v[n+8>>2];if(v[k+8>>2]==4){v[299999]=0;V(4651,e+168|0,k|0);c=v[299999];v[299999]=0;la:{ma:{na:{oa:{pa:{qa:{ra:{sa:{ta:{ua:{va:{wa:{xa:{ya:{za:{Aa:{Ba:{Ca:{Da:{Ea:{Fa:{Ga:{Ha:{Ia:{Ja:{Ka:{La:{Ma:{Na:{Oa:{if((c|0)!=1){v[299999]=0;c=Nc(e+168|0,989236,-1);d=v[299999];v[299999]=0;if((d|0)==1){break ka}if(c){break la}v[e+160>>2]=0;v[e+164>>2]=v[282402];v[299999]=0;q=Q(4340,e+152|0,989342)|0;c=v[299999];v[299999]=0;Pa:{Qa:{Ra:{Sa:{Ta:{Ua:{Va:{Wa:{Xa:{Ya:{Za:{_a:{$a:{ab:{bb:{cb:{db:{eb:{fb:{gb:{hb:{ib:{jb:{kb:{lb:{mb:{nb:{if((c|0)!=1){v[299999]=0;U(4655,e+128|0,k|0,0);c=v[299999];v[299999]=0;if((c|0)==1){break nb}c=v[e+128>>2];ob:{if(!c){break ob}v[299999]=0;d=v[c+4>>2]-1|0;v[c+4>>2]=d;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(d){break ob}v[299999]=0;R(4338,c|0);d=v[299999];v[299999]=0;if((d|0)==1){break a}}if(v[c+8>>2]!=4){break hb}v[299999]=0;V(4651,e+128|0,c|0);d=v[299999];v[299999]=0;if((d|0)==1){break mb}v[299999]=0;d=Nc(e+128|0,989338,-1);f=v[299999];v[299999]=0;if((f|0)==1){break lb}ec(e+128|0);if(!d){break ib}v[299999]=0;c=aa(4369,e+128|0,258647,241562,1171,343447,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break kb}v[299999]=0;R(4370,c|0);d=v[299999];v[299999]=0;if((d|0)==1){break jb}break ia}d=W(0)|0;O()|0;break ma}d=W(0)|0;O()|0;break na}d=W(0)|0;O()|0;break na}d=W(0)|0;O()|0;ec(e+128|0);break na}d=W(0)|0;O()|0;break na}d=W(0)|0;O()|0;qc(c);break na}v[299999]=0;U(4655,e- -64|0,c|0,0);d=v[299999];v[299999]=0;pb:{qb:{rb:{sb:{tb:{ub:{vb:{if((d|0)!=1){v[299999]=0;V(4656,e+128|0,v[e+64>>2]);d=v[299999];v[299999]=0;if((d|0)==1){break vb}v[299999]=0;Q(4535,e+160|0,e+128|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break ub}ec(e+128|0);d=v[e+64>>2];v[e+64>>2]=0;wb:{if(!d){break wb}v[299999]=0;f=v[d+4>>2]-1|0;v[d+4>>2]=f;i=v[299999];v[299999]=0;if((i|0)==1){break a}if(f){break wb}v[299999]=0;R(4338,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break a}}v[299999]=0;U(4655,e- -64|0,c|0,1);c=v[299999];v[299999]=0;if((c|0)==1){break sb}v[299999]=0;V(4656,e+128|0,v[e+64>>2]);c=v[299999];v[299999]=0;if((c|0)==1){break rb}v[299999]=0;Q(4535,q|0,e+128|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break qb}ec(e+128|0);c=v[e+64>>2];v[e+64>>2]=0;if(!c){break gb}v[299999]=0;d=v[c+4>>2]-1|0;v[c+4>>2]=d;f=v[299999];v[299999]=0;if((f|0)!=1){if(d){break gb}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)!=1){break gb}}break a}d=W(0)|0;O()|0;break na}d=W(0)|0;O()|0;break tb}d=W(0)|0;O()|0;ec(e+128|0)}ec(e- -64|0);break na}d=W(0)|0;O()|0;break na}d=W(0)|0;O()|0;break pb}d=W(0)|0;O()|0;ec(e+128|0)}ec(e- -64|0);break na}v[299999]=0;V(4656,e+128|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break fb}v[299999]=0;Q(4535,e+160|0,e+128|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break eb}ec(e+128|0)}v[299999]=0;U(4655,e+128|0,k|0,1);c=v[299999];v[299999]=0;if((c|0)==1){break cb}v[299999]=0;V(4656,e+120|0,v[e+128>>2]);c=v[299999];v[299999]=0;if((c|0)==1){break bb}c=v[e+128>>2];v[e+128>>2]=0;xb:{if(!c){break xb}v[299999]=0;d=v[c+4>>2]-1|0;v[c+4>>2]=d;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(d){break xb}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}v[299999]=0;U(4655,e+128|0,k|0,2);c=v[299999];v[299999]=0;if((c|0)==1){break ab}c=v[e+128>>2];yb:{if(!c){break yb}v[299999]=0;d=v[c+4>>2]-1|0;v[c+4>>2]=d;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(d){break yb}v[299999]=0;R(4338,c|0);d=v[299999];v[299999]=0;if((d|0)==1){break a}}v[e+112>>2]=0;d=0;if(v[c+8>>2]!=4){break sa}v[299999]=0;V(4651,e+128|0,c|0);d=v[299999];v[299999]=0;if((d|0)==1){break $a}v[299999]=0;d=Nc(e+128|0,989244,-1);f=v[299999];v[299999]=0;if((f|0)==1){break _a}ec(e+128|0);if(d){break Qa}if(v[c+8>>2]==4){break db}v[299999]=0;V(4654,c|0,4);c=v[299999];v[299999]=0;if((c|0)!=1){break ia}break qa}d=W(0)|0;O()|0;break na}d=W(0)|0;O()|0;ec(e+128|0);break na}if(v[c+44>>2]!=4){break ta}v[299999]=0;U(4655,e- -64|0,c|0,0);d=v[299999];v[299999]=0;if((d|0)==1){break Za}d=v[e+64>>2];if(v[d+8>>2]!=1){v[299999]=0;V(4654,d|0,1);c=v[299999];v[299999]=0;if((c|0)!=1){break ia}d=W(0)|0;O()|0;break Ta}d=v[d+20>>2];v[299999]=0;U(4655,e+104|0,c|0,1);f=v[299999];v[299999]=0;if((f|0)==1){break Ya}f=v[e+104>>2];if(v[f+8>>2]!=1){v[299999]=0;V(4654,f|0,1);c=v[299999];v[299999]=0;if((c|0)!=1){break ia}d=W(0)|0;O()|0;break Ua}f=v[f+20>>2];v[299999]=0;U(4655,e+96|0,c|0,2);i=v[299999];v[299999]=0;if((i|0)==1){break Xa}i=v[e+96>>2];if(v[i+8>>2]!=1){v[299999]=0;V(4654,i|0,1);c=v[299999];v[299999]=0;if((c|0)!=1){break ia}d=W(0)|0;O()|0;break Va}i=v[i+20>>2];v[299999]=0;U(4655,e+88|0,c|0,3);c=v[299999];v[299999]=0;if((c|0)==1){break Wa}c=v[e+88>>2];if(v[c+8>>2]!=1){v[299999]=0;V(4654,c|0,1);c=v[299999];v[299999]=0;if((c|0)!=1){break ia}d=W(0)|0;O()|0;ec(e+88|0);break Va}j=v[c+20>>2];v[e+88>>2]=0;v[299999]=0;v[e+132>>2]=f;v[e+140>>2]=f+j;v[e+128>>2]=d;v[e+136>>2]=d+i;d=v[c+4>>2]-1|0;v[c+4>>2]=d;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(!d){v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}c=v[e+96>>2];v[e+96>>2]=0;zb:{if(!c){break zb}v[299999]=0;d=v[c+4>>2]-1|0;v[c+4>>2]=d;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(d){break zb}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}c=v[e+104>>2];v[e+104>>2]=0;Ab:{if(!c){break Ab}v[299999]=0;d=v[c+4>>2]-1|0;v[c+4>>2]=d;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(d){break Ab}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}c=v[e+64>>2];v[e+64>>2]=0;Bb:{if(!c){break Bb}v[299999]=0;d=v[c+4>>2]-1|0;v[c+4>>2]=d;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(d){break Bb}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}v[299999]=0;c=S(1,108)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Sa}v[299999]=0;d=Q(4657,c|0,e+128|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break Pa}v[299999]=0;v[e+64>>2]=0;Q(4336,e- -64|0,d|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break Sa}v[299999]=0;Q(4336,e+112|0,v[e+64>>2])|0;c=v[299999];v[299999]=0;if((c|0)==1){break Ra}c=v[e+64>>2];v[e+64>>2]=0;if(!c){break ta}v[299999]=0;d=v[c+4>>2]-1|0;v[c+4>>2]=d;f=v[299999];v[299999]=0;if((f|0)!=1){if(d){break ta}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)!=1){break ta}}break a}d=W(0)|0;O()|0;break na}d=W(0)|0;O()|0;ec(e+128|0);break na}d=W(0)|0;O()|0;break oa}d=W(0)|0;O()|0;break pa}d=W(0)|0;O()|0;ec(e+128|0);break pa}d=W(0)|0;O()|0;break pa}d=W(0)|0;O()|0;break Ta}d=W(0)|0;O()|0;break Ua}d=W(0)|0;O()|0}ec(e+96|0)}ec(e+104|0)}ec(e- -64|0);break pa}d=W(0)|0;O()|0;break pa}d=W(0)|0;O()|0;ec(e- -64|0);break pa}v[299999]=0;V(4651,e+128|0,c|0);d=v[299999];v[299999]=0;Cb:{Db:{Eb:{Fb:{Gb:{if((d|0)!=1){v[299999]=0;d=Nc(e+128|0,989249,-1);f=v[299999];v[299999]=0;if((f|0)==1){break Gb}ec(e+128|0);if(d){break Cb}if(v[c+8>>2]!=4){v[299999]=0;V(4654,c|0,4);c=v[299999];v[299999]=0;if((c|0)!=1){break ia}break qa}f=v[c+44>>2];if(f&1){break ta}v[299999]=0;j=(f|0)/2|0;d=j-1|0;i=Z(4658,e+128|0,983280,0,d|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break Fb}v[299999]=0;h=Z(4658,e- -64|0,983280,0,d|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Eb}d=0;if((f|0)>1){break Db}break va}d=W(0)|0;O()|0;break pa}d=W(0)|0;O()|0;ec(e+128|0);break pa}d=W(0)|0;O()|0;break pa}d=W(0)|0;O()|0;fd(i);break pa}Hb:{while(1){Ib:{v[299999]=0;m=d<<1;U(4655,e+104|0,c|0,m|0);f=v[299999];v[299999]=0;if((f|0)==1){break Ib}f=v[e+104>>2];if(v[f+8>>2]!=1){v[299999]=0;V(4654,f|0,1);c=v[299999];v[299999]=0;if((c|0)!=1){break ia}break xa}if(!(v[e+144>>2]<=(d|0)&v[e+148>>2]>=(d|0))){v[299999]=0;c=aa(4369,e+192|0,227445,271729,619,307344,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break xa}v[299999]=0;R(4370,c|0);d=v[299999];v[299999]=0;if((d|0)!=1){break ia}d=W(0)|0;O()|0;qc(c);break wa}v[v[e+132>>2]+(d-v[e+136>>2]<<2)>>2]=v[f+20>>2];v[299999]=0;v[e+104>>2]=0;o=v[f+4>>2]-1|0;v[f+4>>2]=o;r=v[299999];v[299999]=0;if((r|0)==1){break a}if(!o){v[299999]=0;R(4338,f|0);f=v[299999];v[299999]=0;if((f|0)==1){break a}}v[299999]=0;U(4655,e+104|0,c|0,m|1);f=v[299999];v[299999]=0;if((f|0)==1){break Hb}f=v[e+104>>2];if(v[f+8>>2]!=1){v[299999]=0;V(4654,f|0,1);c=v[299999];v[299999]=0;if((c|0)!=1){break ia}break za}if(!(v[e+80>>2]<=(d|0)&v[e+84>>2]>=(d|0))){v[299999]=0;c=aa(4369,e+216|0,227445,271729,619,307344,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break za}v[299999]=0;R(4370,c|0);d=v[299999];v[299999]=0;if((d|0)!=1){break ia}d=W(0)|0;O()|0;qc(c);break ya}v[v[e+68>>2]+(d-v[e+72>>2]<<2)>>2]=v[f+20>>2];v[299999]=0;v[e+104>>2]=0;m=v[f+4>>2]-1|0;v[f+4>>2]=m;o=v[299999];v[299999]=0;if((o|0)==1){break a}if(!m){v[299999]=0;R(4338,f|0);f=v[299999];v[299999]=0;if((f|0)==1){break a}}d=d+1|0;if((j|0)!=(d|0)){continue}break va}break}d=W(0)|0;O()|0;break ua}d=W(0)|0;O()|0;break ua}v[299999]=0;V(4651,e+128|0,c|0);d=v[299999];v[299999]=0;Jb:{Kb:{Lb:{Mb:{Nb:{Ob:{Pb:{Qb:{Rb:{Sb:{Tb:{if((d|0)!=1){v[299999]=0;d=Nc(e+128|0,989254,-1);f=v[299999];v[299999]=0;if((f|0)==1){break Tb}ec(e+128|0);if(d){break Jb}if(v[c+8>>2]!=4){v[299999]=0;V(4654,c|0,4);c=v[299999];v[299999]=0;if((c|0)!=1){break ia}break qa}if(v[c+44>>2]!=4){break ta}v[299999]=0;U(4655,e- -64|0,c|0,0);d=v[299999];v[299999]=0;if((d|0)==1){break Sb}d=v[e+64>>2];if(v[d+8>>2]!=1){v[299999]=0;V(4654,d|0,1);c=v[299999];v[299999]=0;if((c|0)!=1){break ia}d=W(0)|0;O()|0;break Mb}d=v[d+20>>2];v[299999]=0;U(4655,e+104|0,c|0,1);f=v[299999];v[299999]=0;if((f|0)==1){break Rb}f=v[e+104>>2];if(v[f+8>>2]!=1){v[299999]=0;V(4654,f|0,1);c=v[299999];v[299999]=0;if((c|0)!=1){break ia}d=W(0)|0;O()|0;break Nb}f=v[f+20>>2];v[299999]=0;U(4655,e+96|0,c|0,2);i=v[299999];v[299999]=0;if((i|0)==1){break Qb}i=v[e+96>>2];if(v[i+8>>2]!=1){v[299999]=0;V(4654,i|0,1);c=v[299999];v[299999]=0;if((c|0)!=1){break ia}d=W(0)|0;O()|0;break Ob}i=v[i+20>>2];v[299999]=0;U(4655,e+88|0,c|0,3);c=v[299999];v[299999]=0;if((c|0)==1){break Pb}c=v[e+88>>2];if(v[c+8>>2]!=1){v[299999]=0;V(4654,c|0,1);c=v[299999];v[299999]=0;if((c|0)!=1){break ia}d=W(0)|0;O()|0;ec(e+88|0);break Ob}j=v[c+20>>2];v[e+88>>2]=0;v[299999]=0;v[e+132>>2]=f;v[e+140>>2]=f+j;v[e+128>>2]=d;v[e+136>>2]=d+i;d=v[c+4>>2]-1|0;v[c+4>>2]=d;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(!d){v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}c=v[e+96>>2];v[e+96>>2]=0;Ub:{if(!c){break Ub}v[299999]=0;d=v[c+4>>2]-1|0;v[c+4>>2]=d;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(d){break Ub}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}c=v[e+104>>2];v[e+104>>2]=0;Vb:{if(!c){break Vb}v[299999]=0;d=v[c+4>>2]-1|0;v[c+4>>2]=d;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(d){break Vb}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}c=v[e+64>>2];v[e+64>>2]=0;Wb:{if(!c){break Wb}v[299999]=0;d=v[c+4>>2]-1|0;v[c+4>>2]=d;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(d){break Wb}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}v[299999]=0;c=S(1,140)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Lb}v[299999]=0;d=Q(4659,c|0,e+128|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break Na}v[299999]=0;v[e+64>>2]=0;Q(4336,e- -64|0,d|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break Lb}v[299999]=0;Q(4336,e+112|0,v[e+64>>2])|0;c=v[299999];v[299999]=0;if((c|0)==1){break Kb}c=v[e+64>>2];v[e+64>>2]=0;if(!c){break ta}v[299999]=0;d=v[c+4>>2]-1|0;v[c+4>>2]=d;f=v[299999];v[299999]=0;if((f|0)!=1){if(d){break ta}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)!=1){break ta}}break a}d=W(0)|0;O()|0;break pa}d=W(0)|0;O()|0;ec(e+128|0);break pa}d=W(0)|0;O()|0;break pa}d=W(0)|0;O()|0;break Mb}d=W(0)|0;O()|0;break Nb}d=W(0)|0;O()|0}ec(e+96|0)}ec(e+104|0)}ec(e- -64|0);break pa}d=W(0)|0;O()|0;break pa}d=W(0)|0;O()|0;ec(e- -64|0);break pa}v[299999]=0;V(4651,e+128|0,c|0);d=v[299999];v[299999]=0;Xb:{Yb:{Zb:{_b:{$b:{ac:{bc:{cc:{dc:{ec:{fc:{if((d|0)!=1){v[299999]=0;d=Nc(e+128|0,989348,-1);f=v[299999];v[299999]=0;if((f|0)==1){break fc}ec(e+128|0);if(d){break Xb}if(v[c+8>>2]!=4){v[299999]=0;V(4654,c|0,4);c=v[299999];v[299999]=0;if((c|0)!=1){break ia}break qa}if(v[c+44>>2]!=4){break ta}v[299999]=0;U(4655,e- -64|0,c|0,0);d=v[299999];v[299999]=0;if((d|0)==1){break ec}d=v[e+64>>2];if(v[d+8>>2]!=1){v[299999]=0;V(4654,d|0,1);c=v[299999];v[299999]=0;if((c|0)!=1){break ia}d=W(0)|0;O()|0;break _b}d=v[d+20>>2];v[299999]=0;U(4655,e+104|0,c|0,1);f=v[299999];v[299999]=0;if((f|0)==1){break dc}f=v[e+104>>2];if(v[f+8>>2]!=1){v[299999]=0;V(4654,f|0,1);c=v[299999];v[299999]=0;if((c|0)!=1){break ia}d=W(0)|0;O()|0;break $b}f=v[f+20>>2];v[299999]=0;U(4655,e+96|0,c|0,2);i=v[299999];v[299999]=0;if((i|0)==1){break cc}i=v[e+96>>2];if(v[i+8>>2]!=1){v[299999]=0;V(4654,i|0,1);c=v[299999];v[299999]=0;if((c|0)!=1){break ia}d=W(0)|0;O()|0;break ac}i=v[i+20>>2];v[299999]=0;U(4655,e+88|0,c|0,3);c=v[299999];v[299999]=0;if((c|0)==1){break bc}c=v[e+88>>2];if(v[c+8>>2]!=1){v[299999]=0;V(4654,c|0,1);c=v[299999];v[299999]=0;if((c|0)!=1){break ia}d=W(0)|0;O()|0;ec(e+88|0);break ac}j=v[c+20>>2];v[e+88>>2]=0;v[299999]=0;v[e+132>>2]=f;v[e+140>>2]=f+j;v[e+128>>2]=d;v[e+136>>2]=d+i;d=v[c+4>>2]-1|0;v[c+4>>2]=d;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(!d){v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}c=v[e+96>>2];v[e+96>>2]=0;gc:{if(!c){break gc}v[299999]=0;d=v[c+4>>2]-1|0;v[c+4>>2]=d;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(d){break gc}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}c=v[e+104>>2];v[e+104>>2]=0;hc:{if(!c){break hc}v[299999]=0;d=v[c+4>>2]-1|0;v[c+4>>2]=d;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(d){break hc}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}c=v[e+64>>2];v[e+64>>2]=0;ic:{if(!c){break ic}v[299999]=0;d=v[c+4>>2]-1|0;v[c+4>>2]=d;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(d){break ic}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}v[299999]=0;c=S(1,108)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Zb}v[299999]=0;d=Q(4657,c|0,e+128|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break Ma}v[299999]=0;v[e+64>>2]=0;Q(4336,e- -64|0,d|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break Zb}c=v[e+64>>2];v[c+52>>2]=100;t[c+56|0]=1;v[299999]=0;Q(4336,e+112|0,c|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break Yb}c=v[e+64>>2];v[e+64>>2]=0;if(!c){break ta}v[299999]=0;d=v[c+4>>2]-1|0;v[c+4>>2]=d;f=v[299999];v[299999]=0;if((f|0)!=1){if(d){break ta}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)!=1){break ta}}break a}d=W(0)|0;O()|0;break pa}d=W(0)|0;O()|0;ec(e+128|0);break pa}d=W(0)|0;O()|0;break pa}d=W(0)|0;O()|0;break _b}d=W(0)|0;O()|0;break $b}d=W(0)|0;O()|0}ec(e+96|0)}ec(e+104|0)}ec(e- -64|0);break pa}d=W(0)|0;O()|0;break pa}d=W(0)|0;O()|0;ec(e- -64|0);break pa}v[299999]=0;V(4651,e+128|0,c|0);d=v[299999];v[299999]=0;jc:{kc:{lc:{mc:{nc:{if((d|0)!=1){v[299999]=0;d=Nc(e+128|0,989353,-1);f=v[299999];v[299999]=0;if((f|0)==1){break nc}ec(e+128|0);if(d){break ta}if(v[c+8>>2]!=4){v[299999]=0;V(4654,c|0,4);c=v[299999];v[299999]=0;if((c|0)!=1){break ia}break qa}if(v[c+44>>2]!=4){break ta}v[299999]=0;f=Z(4658,e+128|0,983280,0,1)|0;d=v[299999];v[299999]=0;if((d|0)==1){break mc}v[299999]=0;i=Z(4658,e- -64|0,983280,0,1)|0;d=v[299999];v[299999]=0;if((d|0)==1){break lc}v[299999]=0;U(4655,e+104|0,c|0,0);d=v[299999];v[299999]=0;if((d|0)==1){break jc}d=v[e+104>>2];if(v[d+8>>2]==1){break kc}break Da}d=W(0)|0;O()|0;break pa}d=W(0)|0;O()|0;ec(e+128|0);break pa}d=W(0)|0;O()|0;break pa}d=W(0)|0;O()|0;fd(f);break pa}if(v[e+148>>2]<=-1|v[e+144>>2]>0){break Ga}v[v[e+132>>2]-(v[e+136>>2]<<2)>>2]=v[d+20>>2];v[299999]=0;v[e+104>>2]=0;j=v[d+4>>2]-1|0;v[d+4>>2]=j;h=v[299999];v[299999]=0;if((h|0)==1){break a}if(!j){v[299999]=0;R(4338,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break a}}v[299999]=0;U(4655,e+104|0,c|0,1);d=v[299999];v[299999]=0;if((d|0)==1){break La}d=v[e+104>>2];if(v[d+8>>2]!=1){break Ja}if(v[e+84>>2]<=-1|v[e+80>>2]>0){break Ka}v[v[e+68>>2]-(v[e+72>>2]<<2)>>2]=v[d+20>>2];v[299999]=0;v[e+104>>2]=0;j=v[d+4>>2]-1|0;v[d+4>>2]=j;h=v[299999];v[299999]=0;if((h|0)==1){break a}if(!j){v[299999]=0;R(4338,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break a}}v[299999]=0;U(4655,e+104|0,c|0,2);d=v[299999];v[299999]=0;if((d|0)!=1){break Oa}}d=W(0)|0;O()|0;break Aa}d=W(0)|0;O()|0;dc(c);break pa}n=P()|0;O()|0;Ic(p);break ja}d=v[e+104>>2];if(v[d+8>>2]!=1){break Da}if(v[e+148>>2]<1|v[e+144>>2]>1){break Ga}v[v[e+132>>2]+(1-v[e+136>>2]<<2)>>2]=v[d+20>>2];v[299999]=0;v[e+104>>2]=0;j=v[d+4>>2]-1|0;v[d+4>>2]=j;h=v[299999];v[299999]=0;if((h|0)==1){break a}if(!j){v[299999]=0;R(4338,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break a}}v[299999]=0;U(4655,e+104|0,c|0,3);c=v[299999];v[299999]=0;if((c|0)==1){break La}d=v[e+104>>2];if(v[d+8>>2]!=1){break Ja}if(v[e+84>>2]<1|v[e+80>>2]>1){break Ka}v[v[e+68>>2]+(1-v[e+72>>2]<<2)>>2]=v[d+20>>2];v[299999]=0;v[e+104>>2]=0;c=v[d+4>>2]-1|0;v[d+4>>2]=c;j=v[299999];v[299999]=0;if((j|0)==1){break a}if(!c){v[299999]=0;R(4338,d|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}v[299999]=0;d=v[e+132>>2];j=v[e+136>>2];h=v[e+68>>2];m=v[e+72>>2];c=S(1,148)|0;o=v[299999];v[299999]=0;if((o|0)!=1){break Fa}break Ea}d=W(0)|0;O()|0;dc(c);break pa}d=W(0)|0;O()|0;dc(c);break pa}d=W(0)|0;O()|0;break Aa}v[299999]=0;c=aa(4369,e+264|0,227445,271729,619,307344,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Ia}v[299999]=0;R(4370,c|0);d=v[299999];v[299999]=0;if((d|0)!=1){break ia}d=W(0)|0;O()|0;qc(c);break Ha}v[299999]=0;V(4654,d|0,1);c=v[299999];v[299999]=0;if((c|0)!=1){break ia}}d=W(0)|0;O()|0}ec(e+104|0);break Aa}v[299999]=0;c=aa(4369,e+240|0,227445,271729,619,307344,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Ca}v[299999]=0;R(4370,c|0);d=v[299999];v[299999]=0;if((d|0)!=1){break ia}d=W(0)|0;O()|0;qc(c);break Ba}v[299999]=0;d=ca(4660,c|0,d-(j<<2)|0,h-(m<<2)|0,2,1)|0;j=v[299999];v[299999]=0;oc:{if((j|0)!=1){v[299999]=0;v[e+104>>2]=0;Q(4336,e+104|0,d|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break Ea}c=v[e+104>>2];t[c+64|0]=1;v[299999]=0;Q(4336,e+112|0,c|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break oc}c=v[e+104>>2];v[e+104>>2]=0;pc:{if(!c){break pc}v[299999]=0;d=v[c+4>>2]-1|0;v[c+4>>2]=d;j=v[299999];v[299999]=0;if((j|0)==1){break a}if(d){break pc}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}fd(i);fd(f);break ta}d=W(0)|0;O()|0;dc(c);break Aa}d=W(0)|0;O()|0;ec(e+104|0);break Aa}d=W(0)|0;O()|0;break Aa}v[299999]=0;V(4654,d|0,1);c=v[299999];v[299999]=0;if((c|0)!=1){break ia}}d=W(0)|0;O()|0}ec(e+104|0)}fd(i);fd(f);break pa}d=W(0)|0;O()|0}ec(e+104|0);break ua}d=W(0)|0;O()|0}ec(e+104|0);break ua}v[299999]=0;d=v[e+132>>2];f=v[e+136>>2];m=v[e+68>>2];o=v[e+72>>2];c=S(1,148)|0;r=v[299999];v[299999]=0;qc:{rc:{if((r|0)!=1){v[299999]=0;d=ca(4660,c|0,d-(f<<2)|0,m-(o<<2)|0,j|0,0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break rc}v[299999]=0;v[e+104>>2]=0;Q(4336,e+104|0,d|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){break qc}}d=W(0)|0;O()|0;break ua}d=W(0)|0;O()|0;dc(c);break ua}v[299999]=0;Q(4336,e+112|0,v[e+104>>2])|0;c=v[299999];v[299999]=0;if((c|0)!=1){c=v[e+104>>2];v[e+104>>2]=0;sc:{if(!c){break sc}v[299999]=0;d=v[c+4>>2]-1|0;v[c+4>>2]=d;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(d){break sc}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}fd(h);fd(i);break ta}d=W(0)|0;O()|0;ec(e+104|0)}fd(h);fd(i);break pa}d=v[e+112>>2]}if(!d){break ra}v[299999]=0;Q(4535,d+8|0,e+160|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break qa}v[299999]=0;Q(4535,v[e+112>>2]+16|0,q|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break qa}v[299999]=0;Q(4535,v[e+112>>2]+24|0,e+120|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break qa}if(v[k+8>>2]==4){j=k+40|0;i=3;c=v[e>>2];tc:{uc:{vc:{wc:{xc:{yc:{zc:{Ac:{Bc:{Cc:{Dc:{Ec:{Fc:{while(1){if(v[k+44>>2]<=(i|0)){v[299999]=0;v[e>>2]=c;c=S(1,12)|0;d=v[299999];v[299999]=0;if((d|0)==1){break qa}v[c>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;d=c;f=v[e+112>>2];if(f){v[299999]=0;v[f+4>>2]=v[f+4>>2]+1;f=v[299999];v[299999]=0;if((f|0)==1){break qa}f=v[e+112>>2]}else{f=0}v[d+8>>2]=f;v[299999]=0;Le(g,c);c=v[299999];v[299999]=0;if((c|0)==1){break qa}d=v[e+112>>2];break ra}f=v[k+48>>2];d=0;Gc:{Hc:{while(1){if(!f){v[e+292>>2]=j;v[e+288>>2]=0;break Hc}f=v[f>>2];d=d+1|0;if((i|0)!=(d|0)){continue}break}v[e+292>>2]=j;v[e+288>>2]=f;if(f){break Gc}}v[e>>2]=c;v[299999]=0;V(4468,e+288|0,j|0);c=v[299999];v[299999]=0;if((c|0)!=1){break ia}d=W(0)|0;O()|0;break pa}Ic:{d=v[f+8>>2];if(!d){f=0;break Ic}v[299999]=0;v[d+4>>2]=v[d+4>>2]+1;d=v[299999];v[299999]=0;if((d|0)!=1){f=v[f+8>>2];if(!f){break Ic}v[299999]=0;d=v[f+4>>2]-1|0;v[f+4>>2]=d;h=v[299999];v[299999]=0;if((h|0)!=1){if(d){break Ic}v[299999]=0;R(4338,f|0);d=v[299999];v[299999]=0;if((d|0)!=1){break Ic}}break vc}d=W(0)|0;O()|0;v[e>>2]=c;break pa}Jc:{if(v[f+8>>2]==4){v[e+56>>2]=0;v[e+60>>2]=v[282402];d=v[f+12>>2];Kc:{if(d){h=v[v[d>>2]+28>>2];v[299999]=0;U(h|0,e+296|0,d|0,1);d=v[299999];v[299999]=0;if((d|0)!=1){break Kc}d=W(0)|0;O()|0;v[e>>2]=c;break uc}v[e+296>>2]=0}v[299999]=0;Q(4344,e+56|0,e+296|0)|0;d=v[299999];v[299999]=0;Lc:{if((d|0)!=1){d=v[e+296>>2];v[e+296>>2]=0;if(!d){break Lc}v[299999]=0;h=v[d+4>>2]-1|0;v[d+4>>2]=h;m=v[299999];v[299999]=0;if((m|0)!=1){if(h){break Lc}v[299999]=0;R(4338,d|0);d=v[299999];v[299999]=0;if((d|0)!=1){break Lc}}break vc}d=W(0)|0;O()|0;v[e>>2]=c;c=v[e+296>>2];v[e+296>>2]=0;if(!c){break uc}v[299999]=0;f=v[c+4>>2]-1|0;v[c+4>>2]=f;k=v[299999];v[299999]=0;if((k|0)!=1){if(f){break uc}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)!=1){break uc}}break a}d=v[e+56>>2];v[e+60>>2]=v[(d?d+12|0:1129608)>>2];v[299999]=0;d=Nc(e+56|0,989319,-1);h=v[299999];v[299999]=0;if((h|0)==1){break Jc}Mc:{if(!d){t[v[e+112>>2]+36|0]=1;break Mc}v[299999]=0;d=Nc(e+56|0,989331,-1);h=v[299999];v[299999]=0;if((h|0)==1){break Jc}if(!d){if(v[f+8>>2]!=4){v[299999]=0;v[e>>2]=c;V(4654,f|0,4);break xc}d=v[f+48>>2];f=f+40|0;v[e+52>>2]=f;v[e+48>>2]=d;if(!d){v[299999]=0;v[e>>2]=c;V(4468,e+48|0,f|0);break xc}d=v[d+8>>2];if(v[d+8>>2]!=3){break Mc}v[299999]=0;V(4645,e+128|0,d|0);d=v[299999];v[299999]=0;if((d|0)!=1){d=v[e+128>>2];s=v[e+112>>2],u=sr(v[(d?d+12|0:1129608)>>2],255),v[s+48>>2]=u;ec(e+128|0);break Mc}d=W(0)|0;O()|0;break Dc}v[299999]=0;d=Nc(e+56|0,989358,-1);h=v[299999];v[299999]=0;if((h|0)==1){break Jc}if(!d){if(v[f+8>>2]!=4){v[299999]=0;v[e>>2]=c;V(4654,f|0,4);break yc}d=v[f+48>>2];f=f+40|0;v[e+44>>2]=f;v[e+40>>2]=d;if(!d){v[299999]=0;v[e>>2]=c;V(4468,e+40|0,f|0);break yc}d=v[d+8>>2];if(v[d+8>>2]!=1){break Mc}v[v[e+112>>2]+52>>2]=v[d+20>>2];break Mc}v[299999]=0;d=Nc(e+56|0,989366,-1);h=v[299999];v[299999]=0;if((h|0)==1){break Jc}if(!d){t[v[e+112>>2]+65|0]=1;break Mc}v[299999]=0;d=Nc(e+56|0,989372,-1);h=v[299999];v[299999]=0;if((h|0)==1){break Jc}if(!d){if(v[f+8>>2]!=4){v[299999]=0;v[e>>2]=c;V(4654,f|0,4);break zc}d=v[f+48>>2];f=f+40|0;v[e+36>>2]=f;v[e+32>>2]=d;if(!d){v[299999]=0;v[e>>2]=c;V(4468,e+32|0,f|0);break zc}d=v[d+8>>2];if(v[d+8>>2]!=1){break Mc}v[v[e+112>>2]+68>>2]=v[d+20>>2];break Mc}v[299999]=0;d=Nc(e+56|0,989378,-1);h=v[299999];v[299999]=0;if((h|0)==1){break Jc}if(!d){if(v[f+8>>2]!=4){v[299999]=0;v[e>>2]=c;V(4654,f|0,4);break Ac}d=v[f+48>>2];f=f+40|0;v[e+28>>2]=f;v[e+24>>2]=d;if(!d){v[299999]=0;v[e>>2]=c;V(4468,e+24|0,f|0);break Ac}d=v[d+8>>2];if(v[d+8>>2]!=3){break Mc}v[299999]=0;V(4645,e+128|0,d|0);d=v[299999];v[299999]=0;if((d|0)!=1){d=v[e+128>>2];s=v[e+112>>2],u=sr(v[(d?d+12|0:1129608)>>2],255),v[s+60>>2]=u;ec(e+128|0);break Mc}d=W(0)|0;O()|0;break Dc}v[299999]=0;d=Nc(e+56|0,989386,-1);h=v[299999];v[299999]=0;if((h|0)==1){break Jc}if(!d){if(v[f+8>>2]!=4){v[299999]=0;v[e>>2]=c;V(4654,f|0,4);break Bc}d=v[f+48>>2];f=f+40|0;v[e+20>>2]=f;v[e+16>>2]=d;if(!d){v[299999]=0;v[e>>2]=c;V(4468,e+16|0,f|0);break Bc}d=v[d+8>>2];if(v[d+8>>2]!=3){break Mc}v[299999]=0;V(4645,e+128|0,d|0);d=v[299999];v[299999]=0;if((d|0)!=1){d=v[e+128>>2];s=v[e+112>>2],u=sr(v[(d?d+12|0:1129608)>>2],255),v[s+48>>2]=u;ec(e+128|0);break Mc}d=W(0)|0;O()|0;break Dc}v[299999]=0;d=Nc(e+56|0,989394,-1);h=v[299999];v[299999]=0;if((h|0)==1){break Jc}if(!d){if(v[f+8>>2]!=4){v[299999]=0;v[e>>2]=c;V(4654,f|0,4);break Cc}d=v[f+48>>2];f=f+40|0;v[e+12>>2]=f;v[e+8>>2]=d;if(!d){v[299999]=0;v[e>>2]=c;V(4468,e+8|0,f|0);break Cc}d=v[d+8>>2];if(v[d+8>>2]!=3){break Mc}v[299999]=0;V(4645,e+128|0,d|0);d=v[299999];v[299999]=0;if((d|0)!=1){d=v[e+128>>2];s=v[e+112>>2],u=sr(v[(d?d+12|0:1129608)>>2],255),v[s+60>>2]=u;ec(e+128|0);break Mc}d=W(0)|0;O()|0;break Dc}v[299999]=0;d=Nc(e+56|0,989402,-1);h=v[299999];v[299999]=0;if((h|0)==1){break Jc}if(!d){t[v[e+112>>2]+57|0]=1;break Mc}v[299999]=0;h=Nc(e+56|0,989259,-1);d=v[299999];v[299999]=0;if((d|0)==1){break Ec}d=0;Nc:{if(!h){break Nc}v[299999]=0;h=Nc(e+56|0,989264,-1);d=v[299999];v[299999]=0;if((d|0)==1){break Ec}d=1;if(!h){break Nc}v[299999]=0;h=Nc(e+56|0,989268,-1);d=v[299999];v[299999]=0;if((d|0)==1){break Ec}d=2;if(!h){break Nc}v[299999]=0;h=Nc(e+56|0,989275,-1);d=v[299999];v[299999]=0;if((d|0)==1){break Ec}d=3;if(!h){break Nc}v[299999]=0;h=Nc(e+56|0,989285,-1);d=v[299999];v[299999]=0;if((d|0)==1){break Ec}d=4;if(!h){break Nc}v[299999]=0;h=Nc(e+56|0,989296,-1);d=v[299999];v[299999]=0;if((d|0)==1){break Ec}d=5;if(!h){break Nc}v[299999]=0;d=Nc(e+56|0,989307,-1);h=v[299999];v[299999]=0;if((h|0)==1){break Ec}if(d){break Mc}d=6}v[v[e+112>>2]+32>>2]=d;if(v[f+8>>2]!=4){v[299999]=0;v[e>>2]=c;V(4654,f|0,4);c=v[299999];v[299999]=0;if((c|0)!=1){break ia}d=W(0)|0;O()|0;break wc}d=v[f+48>>2];if(!d){break Mc}h=f+40|0;Oc:{while(1){c=d;m=v[c+8>>2];d=v[m+8>>2];if((d|0)==3){v[299999]=0;V(4645,e+128|0,m|0);d=v[299999];v[299999]=0;if((d|0)==1){break Fc}d=v[e+128>>2];s=v[e+112>>2],u=sr(v[(d?d+12|0:1129608)>>2],255),v[s+40>>2]=u;ec(e+128|0);d=v[m+8>>2]}if((d|0)==1){v[v[e+112>>2]+44>>2]=v[m+20>>2]}d=v[c>>2];if(!d){break Oc}if(v[f+8>>2]==4){continue}break}v[e+4>>2]=h;v[e>>2]=c;v[299999]=0;V(4654,f|0,4);c=v[299999];v[299999]=0;if((c|0)!=1){break ia}d=W(0)|0;O()|0;break wc}v[e+4>>2]=h}ec(e+56|0)}i=i+1|0;if(v[k+8>>2]!=4){break tc}continue}break}d=W(0)|0;O()|0;break Dc}d=W(0)|0;O()|0;v[e+4>>2]=h;break Dc}d=W(0)|0;O()|0}v[e>>2]=c;break wc}c=v[299999];v[299999]=0;if((c|0)!=1){break ia}d=W(0)|0;O()|0;break wc}c=v[299999];v[299999]=0;if((c|0)!=1){break ia}d=W(0)|0;O()|0;break wc}c=v[299999];v[299999]=0;if((c|0)!=1){break ia}d=W(0)|0;O()|0;break wc}c=v[299999];v[299999]=0;if((c|0)!=1){break ia}d=W(0)|0;O()|0;break wc}c=v[299999];v[299999]=0;if((c|0)!=1){break ia}d=W(0)|0;O()|0;break wc}c=v[299999];v[299999]=0;if((c|0)!=1){break ia}d=W(0)|0;O()|0}ec(e+56|0);break pa}W(0)|0;O()|0;v[e>>2]=c;lc();L()}ec(e+56|0);break pa}v[e>>2]=c}v[299999]=0;V(4654,k|0,4);c=v[299999];v[299999]=0;if((c|0)!=1){break ia}d=W(0)|0;O()|0;break pa}v[e+112>>2]=0;Pc:{if(!d){break Pc}v[299999]=0;c=v[d+4>>2]-1|0;v[d+4>>2]=c;f=v[299999];v[299999]=0;if((f|0)!=1){if(c){break Pc}v[299999]=0;R(4338,d|0);c=v[299999];v[299999]=0;if((c|0)!=1){break Pc}}break a}ec(e+120|0);ec(q);ec(e+160|0);break la}d=W(0)|0;O()|0}ec(e+112|0)}ec(e+120|0)}ec(q)}ec(e+160|0);ea(d|0)|0;v[299999]=0;ba(4230);c=v[299999];v[299999]=0;if((c|0)==1){break ka}}ec(e+168|0)}n=v[n>>2];if(n){continue}break}}Ic(p);Qb=e+304|0;break ha}n=P()|0;O()|0;break ja}n=P()|0;O()|0;ec(e+168|0);Ic(p)}Ic(g);T(n|0);L()}L()}v[299999]=0;Q(4467,a+28|0,l|0)|0;c=v[299999];v[299999]=0;Qc:{if((c|0)!=1){Ic(l);c=Qb-96|0;Qb=c;v[l>>2]=0;v[l+4>>2]=0;v[l+24>>2]=0;v[l+16>>2]=0;v[l+20>>2]=0;v[l+8>>2]=0;v[l+12>>2]=0;i=Un(l,982916);v[299999]=0;q=Q(4387,c+16|0,b|0)|0;b=v[299999];v[299999]=0;Rc:{Sc:{if((b|0)!=1){Tc:{Uc:{k=v[c+24>>2];if(k){while(1){e=v[k+8>>2];Vc:{if(v[e+8>>2]!=4){break Vc}v[299999]=0;V(4651,c+8|0,e|0);b=v[299999];v[299999]=0;Wc:{Xc:{Yc:{Zc:{if((b|0)!=1){v[299999]=0;b=Nc(c+8|0,304074,-1);d=v[299999];v[299999]=0;if((d|0)!=1){ec(c+8|0);if(b){break Vc}if(v[e+8>>2]!=4){break Zc}n=e+40|0;g=0;_c:{$c:{ad:{bd:{cd:{dd:{ed:{while(1){if(v[e+44>>2]<=(g|0)){break Vc}b=v[e+48>>2];f=0;fd:{gd:{if(g){while(1){if(!b){v[c+60>>2]=n;v[c+56>>2]=0;break gd}b=v[b>>2];f=f+1|0;if((f|0)!=(g|0)){continue}break}}v[c+60>>2]=n;v[c+56>>2]=b;if(b){break fd}}v[299999]=0;V(4468,c+56|0,n|0);b=v[299999];v[299999]=0;if((b|0)!=1){break Yc}b=W(0)|0;O()|0;break Wc}hd:{d=v[b+8>>2];id:{if(!d){b=0;break id}v[299999]=0;v[d+4>>2]=v[d+4>>2]+1;d=v[299999];v[299999]=0;if((d|0)==1){break hd}b=v[b+8>>2];if(!b){break id}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(d){break id}v[299999]=0;R(4338,b|0);d=v[299999];v[299999]=0;if((d|0)==1){break a}}if(v[b+8>>2]==4){v[c>>2]=0;v[c+4>>2]=v[282402];d=v[b+12>>2];jd:{if(d){f=v[v[d>>2]+28>>2];v[299999]=0;U(f|0,c+32|0,d|0,1);d=v[299999];v[299999]=0;if((d|0)!=1){break jd}b=W(0)|0;O()|0;break _c}v[c+32>>2]=0}v[299999]=0;Q(4344,c|0,c+32|0)|0;d=v[299999];v[299999]=0;kd:{if((d|0)!=1){d=v[c+32>>2];v[c+32>>2]=0;if(!d){break kd}v[299999]=0;f=v[d+4>>2]-1|0;v[d+4>>2]=f;p=v[299999];v[299999]=0;if((p|0)!=1){if(f){break kd}v[299999]=0;R(4338,d|0);d=v[299999];v[299999]=0;if((d|0)!=1){break kd}}break a}b=W(0)|0;O()|0;d=v[c+32>>2];v[c+32>>2]=0;if(!d){break _c}v[299999]=0;g=v[d+4>>2]-1|0;v[d+4>>2]=g;e=v[299999];v[299999]=0;if((e|0)!=1){if(g){break _c}v[299999]=0;R(4338,d|0);d=v[299999];v[299999]=0;if((d|0)!=1){break _c}}break a}d=v[c>>2];v[c+4>>2]=v[(d?d+12|0:1129608)>>2];if(v[b+8>>2]!=4){v[299999]=0;V(4654,b|0,4);b=v[299999];v[299999]=0;if((b|0)!=1){break Yc}break $c}if(v[b+44>>2]<=0){v[299999]=0;U(4423,c+48|0,357673,b+12|0);b=v[299999];v[299999]=0;if((b|0)==1){break $c}b=v[c+48>>2];b=v[(b?b+12|0:1129608)>>2];v[299999]=0;d=aa(4369,c+56|0,b|0,241562,384,225793,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break dd}v[299999]=0;R(4370,d|0);b=v[299999];v[299999]=0;if((b|0)!=1){break Yc}b=W(0)|0;O()|0;qc(d);break ad}f=v[b+48>>2];b=b+40|0;v[c+44>>2]=b;v[c+40>>2]=f;if(!f){v[299999]=0;V(4468,c+40|0,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break Yc}break $c}d=c;b=v[f+8>>2];if(b){v[299999]=0;v[b+4>>2]=v[b+4>>2]+1;b=v[299999];v[299999]=0;if((b|0)==1){break ed}b=v[f+8>>2]}else{b=0}v[d+32>>2]=b;if(v[b+8>>2]!=2){v[299999]=0;V(4654,b|0,2);b=v[299999];v[299999]=0;if((b|0)!=1){break Yc}b=W(0)|0;O()|0;break bd}v[c+8>>2]=0;v[c+12>>2]=v[282402];ld:{b=v[b+24>>2];md:{nd:{if(b){d=v[v[b>>2]+28>>2];v[299999]=0;U(d|0,c+80|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break nd}b=W(0)|0;O()|0;break md}v[c+80>>2]=0}v[299999]=0;Q(4344,c+8|0,c+80|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){b=v[c+80>>2];v[c+80>>2]=0;if(!b){break ld}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;f=v[299999];v[299999]=0;if((f|0)!=1){if(d){break ld}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break ld}}break a}b=W(0)|0;O()|0;d=v[c+80>>2];v[c+80>>2]=0;if(!d){break md}v[299999]=0;g=v[d+4>>2]-1|0;v[d+4>>2]=g;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(g){break md}v[299999]=0;R(4338,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break a}}ec(c+8|0);break bd}b=v[c+8>>2];v[c+12>>2]=v[(b?b+12|0:1129608)>>2];v[299999]=0;d=Q(4609,l|0,c|0)|0;b=v[299999];v[299999]=0;od:{pd:{if((b|0)!=1){b=v[c+8>>2];if(!b){break pd}f=v[v[b>>2]+28>>2];v[299999]=0;U(f|0,c+88|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break od}}b=W(0)|0;O()|0;break cd}v[c+88>>2]=0}v[299999]=0;Q(4344,d+24|0,c+88|0)|0;b=v[299999];v[299999]=0;qd:{if((b|0)!=1){b=v[c+88>>2];v[c+88>>2]=0;if(!b){break qd}v[299999]=0;f=v[b+4>>2]-1|0;v[b+4>>2]=f;p=v[299999];v[299999]=0;if((p|0)!=1){if(f){break qd}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break qd}}break a}b=W(0)|0;O()|0;d=v[c+88>>2];v[c+88>>2]=0;if(!d){break cd}v[299999]=0;g=v[d+4>>2]-1|0;v[d+4>>2]=g;e=v[299999];v[299999]=0;if((e|0)!=1){if(g){break cd}v[299999]=0;R(4338,d|0);d=v[299999];v[299999]=0;if((d|0)!=1){break cd}}break a}b=v[d+24>>2];v[d+28>>2]=v[(b?b+12|0:1129608)>>2];ec(c+8|0);b=v[c+32>>2];v[c+32>>2]=0;rd:{if(!b){break rd}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(d){break rd}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}ec(c)}g=g+1|0;if(v[e+8>>2]==4){continue}break Zc}break}b=W(0)|0;O()|0;break Wc}b=W(0)|0;O()|0;ec(c);break Wc}b=W(0)|0;O()|0;break ad}ec(c+8|0)}ec(c+32|0);ec(c);break Wc}ec(c+48|0);ec(c);break Wc}b=W(0)|0;O()|0;ec(c);break Wc}ec(c);break Wc}b=P()|0;O()|0;ec(c+8|0);break Tc}b=P()|0;O()|0;break Tc}v[299999]=0;V(4654,e|0,4);b=v[299999];v[299999]=0;if((b|0)==1){break Xc}}L()}b=W(0)|0;O()|0}ea(b|0)|0;v[299999]=0;ba(4230);b=v[299999];v[299999]=0;if((b|0)==1){break Uc}}k=v[k>>2];if(k){continue}break}}Ic(q);Qb=c+96|0;break Rc}b=P()|0;O()|0}Ic(q);break Sc}b=P()|0;O()|0}id(i);T(b|0);L()}v[299999]=0;Q(4652,a+44|0,l|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break Qc}id(l);Qb=l+32|0;return}a=P()|0;O()|0;Ic(l);T(a|0);L()}a=P()|0;O()|0;id(l);T(a|0);L()}W(0)|0;O()|0;lc();L()}function Oe(a,b,c,d,e,f,g,h,i){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,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0;a:{if(!a){break a}b:{if((f|0)==20){break b}m=a?v[a+8>>2]:-1;c:{d:{switch(f|0){default:if((f|0)!=30){break c}break;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break c;case 0:case 10:break d}}j=a?v[a+40>>2]:0;i=a?v[a>>2]:-1;g=a?v[a+4>>2]:-1;h=a?v[a+12>>2]:-1;t=Qb-16|0;Qb=t;a=B(b,m);b=B(d,m)+(a>>31&a)|0;k=(a|0)<0?0:a;a=b+(k-B(i,m)|0)|0;i=b-((a|0)>0?a:0)|0;e:{if((i|0)<1){break e}d=(c>>31&c)+e|0;n=(c|0)<0?0:c;a=d+(n-g|0)|0;o=(a|0)>0?a:0;m=d-o|0;if((m|0)<1){break e}f:{g:{h:{i:{j:{b=k&31;if(!b){a=i&31;if(a){b=v[(a<<2)+215200>>2]}e=i>>>5|0;c=B(h,n);g=k>>>5|0;k=(j+(c<<2)|0)+(g<<2)|0;k:{switch(f|0){case 10:if((i|0)>=32){f=e>>>0>1?e:1;if(a){c=f&134217724;d=f&3;e=0;f=f-1>>>0<3;while(1){g=k+(B(e,h)<<2)|0;a=c;if(!f){while(1){v[g>>2]=v[g>>2]^-1;v[g+4>>2]=v[g+4>>2]^-1;v[g+8>>2]=v[g+8>>2]^-1;v[g+12>>2]=v[g+12>>2]^-1;g=g+16|0;a=a-4|0;if(a){continue}break}}a=d;if(a){while(1){v[g>>2]=v[g>>2]^-1;g=g+4|0;a=a-1|0;if(a){continue}break}}v[g>>2]=v[g>>2]^b;e=e+1|0;if((m|0)!=(e|0)){continue}break}break e}c=f&134217724;d=f&3;b=0;e=f-1>>>0<3;while(1){g=k+(B(b,h)<<2)|0;a=c;if(!e){while(1){v[g>>2]=v[g>>2]^-1;v[g+4>>2]=v[g+4>>2]^-1;v[g+8>>2]=v[g+8>>2]^-1;v[g+12>>2]=v[g+12>>2]^-1;g=g+16|0;a=a-4|0;if(a){continue}break}}a=d;if(a){while(1){v[g>>2]=v[g>>2]^-1;g=g+4|0;a=a-1|0;if(a){continue}break}}b=b+1|0;if((m|0)!=(b|0)){continue}break}break e}if(!a){break e}a=m&3;g=0;if(d+(o^-1)>>>0>=3){e=m&-4;while(1){c=k+(B(g,h)<<2)|0;v[c>>2]=v[c>>2]^b;c=k+(B(h,g|1)<<2)|0;v[c>>2]=v[c>>2]^b;c=k+(B(h,g|2)<<2)|0;v[c>>2]=v[c>>2]^b;c=k+(B(h,g|3)<<2)|0;v[c>>2]=v[c>>2]^b;g=g+4|0;e=e-4|0;if(e){continue}break}}if(!a){break e}while(1){c=k+(B(g,h)<<2)|0;v[c>>2]=v[c>>2]^b;g=g+1|0;a=a-1|0;if(a){continue}break};break e;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break g;case 0:break k;default:break j}}f=b^-1;if((i|0)>=32){b=c+g|0;e=e>>>0>1?e:1;c=j+(b+e<<2)|0;e=e<<2;g=0;if((d|0)!=(o+1|0)){k=m&-2;while(1){ic(j+(b+B(g,h)<<2)|0,0,e);if(a){v[c>>2]=f&v[c>>2]}ic(j+(b+B(h,g|1)<<2)|0,0,e);d=h<<2;c=d+c|0;if(a){v[c>>2]=f&v[c>>2]}g=g+2|0;c=c+d|0;k=k-2|0;if(k){continue}break}}if(!(m&1)){break e}ic(j+(b+B(g,h)<<2)|0,0,e);if(!a){break e}v[c>>2]=f&v[c>>2];break e}if(!a){break e}b=m&3;g=0;if(d+(o^-1)>>>0>=3){e=m&-4;while(1){a=k+(B(g,h)<<2)|0;v[a>>2]=f&v[a>>2];a=k+(B(h,g|1)<<2)|0;v[a>>2]=f&v[a>>2];a=k+(B(h,g|2)<<2)|0;v[a>>2]=f&v[a>>2];a=k+(B(h,g|3)<<2)|0;v[a>>2]=f&v[a>>2];g=g+4|0;e=e-4|0;if(e){continue}break}}if(!b){break e}while(1){a=k+(B(g,h)<<2)|0;v[a>>2]=f&v[a>>2];g=g+1|0;b=b-1|0;if(b){continue}break}break e}g=(j+(B(h,n)<<2)|0)+(k>>>3&536870908)|0;a=32-b|0;c=v[(a<<2)+214688>>2];if((a|0)>(i|0)){c=v[(b+i<<2)+215200>>2]&c;s=1;b=0;break h}b=i-a|0;if(b>>>0<=31){e=i+k&31;if(e){break i}s=1;b=0;break h}q=b>>5;a=g+4|0;e=i+k&31;if(e){break i}s=1;b=1;break h}if((f|0)==30){break f}break g}i=((q<<2)+g|0)+4|0;k=v[(e<<2)+215200>>2];b=b>>>0>31}l:{switch(f|0){case 10:e=m&3;j=d+(o^-1)|0;if(j>>>0>=3){f=m&-4;d=h<<2;while(1){v[g>>2]=v[g>>2]^c;g=d+g|0;v[g>>2]=v[g>>2]^c;g=d+g|0;v[g>>2]=v[g>>2]^c;g=d+g|0;v[g>>2]=v[g>>2]^c;g=d+g|0;f=f-4|0;if(f){continue}break}}if(e){d=h<<2;while(1){v[g>>2]=v[g>>2]^c;g=d+g|0;e=e-1|0;if(e){continue}break}}f=0;if(b&(q|0)>0){d=q&-4;e=q&3;q=q-1>>>0<3;o=h<<2;while(1){g=0;b=d;if(!q){while(1){c=g<<2;n=c+a|0;v[n>>2]=v[n>>2]^-1;n=(c|4)+a|0;v[n>>2]=v[n>>2]^-1;n=(c|8)+a|0;v[n>>2]=v[n>>2]^-1;c=(c|12)+a|0;v[c>>2]=v[c>>2]^-1;g=g+4|0;b=b-4|0;if(b){continue}break}}c=e;if(c){while(1){b=(g<<2)+a|0;v[b>>2]=v[b>>2]^-1;g=g+1|0;c=c-1|0;if(c){continue}break}}a=a+o|0;f=f+1|0;if((m|0)!=(f|0)){continue}break}}if(s){break e}c=m&3;if(j>>>0>=3){b=m&-4;a=h<<2;while(1){v[i>>2]=v[i>>2]^k;d=a+i|0;v[d>>2]=v[d>>2]^k;d=a+d|0;v[d>>2]=v[d>>2]^k;d=a+d|0;v[d>>2]=v[d>>2]^k;i=a+d|0;b=b-4|0;if(b){continue}break}}if(!c){break e}a=h<<2;while(1){v[i>>2]=v[i>>2]^k;i=a+i|0;c=c-1|0;if(c){continue}break};break e;default:if((f|0)!=30){break g}e=m&3;j=d+(o^-1)|0;if(j>>>0>=3){f=m&-4;d=h<<2;while(1){v[g>>2]=v[g>>2]|c;g=d+g|0;v[g>>2]=v[g>>2]|c;g=d+g|0;v[g>>2]=v[g>>2]|c;g=d+g|0;v[g>>2]=v[g>>2]|c;g=d+g|0;f=f-4|0;if(f){continue}break}}if(e){d=h<<2;while(1){v[g>>2]=v[g>>2]|c;g=d+g|0;e=e-1|0;if(e){continue}break}}g=0;m:{if(!(b&(q|0)>0)){break m}b=m&3;c=q<<2;if(j>>>0>=3){e=m&-4;while(1){ic((B(g,h)<<2)+a|0,255,c);ic((B(h,g|1)<<2)+a|0,255,c);ic((B(h,g|2)<<2)+a|0,255,c);ic((B(h,g|3)<<2)+a|0,255,c);g=g+4|0;e=e-4|0;if(e){continue}break}}if(!b){break m}while(1){ic((B(g,h)<<2)+a|0,255,c);g=g+1|0;b=b-1|0;if(b){continue}break}}if(s){break e}c=m&3;if(j>>>0>=3){b=m&-4;a=h<<2;while(1){v[i>>2]=v[i>>2]|k;d=a+i|0;v[d>>2]=v[d>>2]|k;d=a+d|0;v[d>>2]=v[d>>2]|k;d=a+d|0;v[d>>2]=v[d>>2]|k;i=a+d|0;b=b-4|0;if(b){continue}break}}if(!c){break e}a=h<<2;while(1){v[i>>2]=v[i>>2]|k;i=a+i|0;c=c-1|0;if(c){continue}break};break e;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break g;case 0:break l}}c=c^-1;e=m&3;j=d+(o^-1)|0;if(j>>>0>=3){f=m&-4;d=h<<2;while(1){v[g>>2]=c&v[g>>2];g=d+g|0;v[g>>2]=c&v[g>>2];g=d+g|0;v[g>>2]=c&v[g>>2];g=d+g|0;v[g>>2]=c&v[g>>2];g=d+g|0;f=f-4|0;if(f){continue}break}}if(e){d=h<<2;while(1){v[g>>2]=c&v[g>>2];g=d+g|0;e=e-1|0;if(e){continue}break}}n:{if(!(b&(m|0)>0)|(q|0)<1){break n}b=m&3;c=q<<2;g=0;if(j>>>0>=3){e=m&-4;while(1){ic((B(g,h)<<2)+a|0,0,c);ic((B(h,g|1)<<2)+a|0,0,c);ic((B(h,g|2)<<2)+a|0,0,c);ic((B(h,g|3)<<2)+a|0,0,c);g=g+4|0;e=e-4|0;if(e){continue}break}}if(!b){break n}while(1){ic((B(g,h)<<2)+a|0,0,c);g=g+1|0;b=b-1|0;if(b){continue}break}}if((m|0)<1|s){break e}a=k^-1;b=m&3;if(j>>>0>=3){e=m&-4;c=h<<2;while(1){v[i>>2]=a&v[i>>2];d=c+i|0;v[d>>2]=a&v[d>>2];d=c+d|0;v[d>>2]=a&v[d>>2];d=c+d|0;v[d>>2]=a&v[d>>2];i=c+d|0;e=e-4|0;if(e){continue}break}}if(!b){break e}c=h<<2;while(1){v[i>>2]=a&v[i>>2];i=c+i|0;b=b-1|0;if(b){continue}break}break e}v[t>>2]=f;wc(v[252391],4907,t);break e}if((i|0)>=32){c=c+g|0;f=e>>>0>1?e:1;e=f<<2;if(!a){b=m&3;g=0;if(d+(o^-1)>>>0>=3){i=m&-4;while(1){ic(j+(c+B(g,h)<<2)|0,255,e);ic(j+(c+B(h,g|1)<<2)|0,255,e);ic(j+(c+B(h,g|2)<<2)|0,255,e);ic(j+(c+B(h,g|3)<<2)|0,255,e);g=g+4|0;i=i-4|0;if(i){continue}break}}if(!b){break e}while(1){ic(j+(c+B(g,h)<<2)|0,255,e);g=g+1|0;b=b-1|0;if(b){continue}break}break e}g=j+(c+f<<2)|0;i=0;if((d|0)!=(o+1|0)){k=m&-2;while(1){ic(j+(c+B(h,i)<<2)|0,255,e);v[g>>2]=v[g>>2]|b;ic(j+(c+B(h,i|1)<<2)|0,255,e);d=h<<2;a=d+g|0;v[a>>2]=v[a>>2]|b;g=a+d|0;i=i+2|0;k=k-2|0;if(k){continue}break}}if(!(m&1)){break e}ic(j+(c+B(h,i)<<2)|0,255,e);v[g>>2]=v[g>>2]|b;break e}if(!a){break e}a=m&3;g=0;if(d+(o^-1)>>>0>=3){e=m&-4;while(1){c=k+(B(g,h)<<2)|0;v[c>>2]=v[c>>2]|b;c=k+(B(h,g|1)<<2)|0;v[c>>2]=v[c>>2]|b;c=k+(B(h,g|2)<<2)|0;v[c>>2]=v[c>>2]|b;c=k+(B(h,g|3)<<2)|0;v[c>>2]=v[c>>2]|b;g=g+4|0;e=e-4|0;if(e){continue}break}}if(!a){break e}while(1){c=k+(B(g,h)<<2)|0;v[c>>2]=v[c>>2]|b;g=g+1|0;a=a-1|0;if(a){continue}break}}Qb=t+16|0;break b}if(!g){break a}k=g;if((m|0)!=((g?v[g+8>>2]:-1)|0)){break a}n=a?v[a+40>>2]:0;g=a?v[a>>2]:-1;o=a?v[a+4>>2]:-1;l=m;s=a?v[a+12>>2]:-1;j=b;m=k?v[k+40>>2]:0;q=k?v[k>>2]:-1;b=k?v[k+4>>2]:-1;t=k?v[k+12>>2]:-1;E=Qb-16|0;Qb=E;if((l|0)!=1){h=B(h,l);q=B(l,q);j=B(j,l);g=B(g,l);a=B(d,l)}else{a=d}d=h;h=j>>31&j;k=d-h|0;d=k>>31&k;h=d+(a+h|0)|0;l=(k|0)<0?0:k;p=l-q|0;k=((j|0)<0?0:j)-d|0;a=k+(h-g|0)|0;q=h-((a|0)>0?a:0)|0;a=p+q|0;q=q-((a|0)>0?a:0)|0;o:{if((q|0)<1){break o}j=c>>31&c;a=i-j|0;i=a>>31&a;C=((c|0)<0?0:c)-i|0;y=i+(e+j|0)|0;c=C+(y-o|0)|0;w=(c|0)>0?c:0;e=y-w|0;x=(a|0)<0?0:a;j=e+(x-b|0)|0;p=(j|0)>0?j:0;r=e-p|0;if((r|0)<1){break o}p:{a=l&31;u=k&31;if(!(a|u)){d=q&31;if(d){o=v[(d<<2)+215200>>2]}a=q>>>5|0;g=(n+(B(s,C)<<2)|0)+(k>>>3&536870908)|0;h=((B(t,x)<<2)+m|0)+(l>>>3&536870908)|0;n=8549;q:{switch(f-2|0){case 22:f=o^-1;a=a>>>0>1?a:1;b=a&134217720;c=a&7;k=0;i=(q|0)<32;m=a-1>>>0<7;while(1){j=g+(B(k,s)<<2)|0;e=h+(B(k,t)<<2)|0;r:{if(i){break r}a=b;if(!m){while(1){v[j>>2]=v[e>>2];v[j+4>>2]=v[e+4>>2];v[j+8>>2]=v[e+8>>2];v[j+12>>2]=v[e+12>>2];v[j+16>>2]=v[e+16>>2];v[j+20>>2]=v[e+20>>2];v[j+24>>2]=v[e+24>>2];v[j+28>>2]=v[e+28>>2];e=e+32|0;j=j+32|0;a=a-8|0;if(a){continue}break}}a=c;if(!a){break r}while(1){v[j>>2]=v[e>>2];e=e+4|0;j=j+4|0;a=a-1|0;if(a){continue}break}}if(d){v[j>>2]=v[e>>2]&o|f&v[j>>2]}k=k+1|0;if((r|0)!=(k|0)){continue}break};break o;case 4:f=o^-1;a=a>>>0>1?a:1;b=a&134217724;c=a&3;k=0;i=(q|0)<32;m=a-1>>>0<3;while(1){j=g+(B(k,s)<<2)|0;e=h+(B(k,t)<<2)|0;s:{if(i){break s}a=b;if(!m){while(1){v[j>>2]=v[e>>2]^-1;v[j+4>>2]=v[e+4>>2]^-1;v[j+8>>2]=v[e+8>>2]^-1;v[j+12>>2]=v[e+12>>2]^-1;e=e+16|0;j=j+16|0;a=a-4|0;if(a){continue}break}}a=c;if(!a){break s}while(1){v[j>>2]=v[e>>2]^-1;e=e+4|0;j=j+4|0;a=a-1|0;if(a){continue}break}}if(d){v[j>>2]=(v[e>>2]^-1)&o|f&v[j>>2]}k=k+1|0;if((r|0)!=(k|0)){continue}break};break o;case 26:f=o^-1;a=a>>>0>1?a:1;b=a&134217724;c=a&3;k=0;i=(q|0)<32;m=a-1>>>0<3;while(1){j=g+(B(k,s)<<2)|0;e=h+(B(k,t)<<2)|0;t:{if(i){break t}a=b;if(!m){while(1){v[j>>2]=v[j>>2]|v[e>>2];v[j+4>>2]=v[j+4>>2]|v[e+4>>2];v[j+8>>2]=v[j+8>>2]|v[e+8>>2];v[j+12>>2]=v[j+12>>2]|v[e+12>>2];e=e+16|0;j=j+16|0;a=a-4|0;if(a){continue}break}}a=c;if(!a){break t}while(1){v[j>>2]=v[j>>2]|v[e>>2];e=e+4|0;j=j+4|0;a=a-1|0;if(a){continue}break}}if(d){a=v[j>>2];v[j>>2]=(a|v[e>>2])&o|a&f}k=k+1|0;if((r|0)!=(k|0)){continue}break};break o;case 14:f=o^-1;a=a>>>0>1?a:1;b=a&134217724;c=a&3;k=0;i=(q|0)<32;m=a-1>>>0<3;while(1){j=g+(B(k,s)<<2)|0;e=h+(B(k,t)<<2)|0;u:{if(i){break u}a=b;if(!m){while(1){v[j>>2]=v[j>>2]&v[e>>2];v[j+4>>2]=v[j+4>>2]&v[e+4>>2];v[j+8>>2]=v[j+8>>2]&v[e+8>>2];v[j+12>>2]=v[j+12>>2]&v[e+12>>2];e=e+16|0;j=j+16|0;a=a-4|0;if(a){continue}break}}a=c;if(!a){break u}while(1){v[j>>2]=v[j>>2]&v[e>>2];e=e+4|0;j=j+4|0;a=a-1|0;if(a){continue}break}}if(d){a=v[j>>2];v[j>>2]=v[e>>2]&(a&o)|a&f}k=k+1|0;if((r|0)!=(k|0)){continue}break};break o;case 10:f=o^-1;a=a>>>0>1?a:1;b=a&134217724;c=a&3;k=0;i=(q|0)<32;m=a-1>>>0<3;while(1){j=g+(B(k,s)<<2)|0;e=h+(B(k,t)<<2)|0;v:{if(i){break v}a=b;if(!m){while(1){v[j>>2]=v[j>>2]^v[e>>2];v[j+4>>2]=v[j+4>>2]^v[e+4>>2];v[j+8>>2]=v[j+8>>2]^v[e+8>>2];v[j+12>>2]=v[j+12>>2]^v[e+12>>2];e=e+16|0;j=j+16|0;a=a-4|0;if(a){continue}break}}a=c;if(!a){break v}while(1){v[j>>2]=v[j>>2]^v[e>>2];e=e+4|0;j=j+4|0;a=a-1|0;if(a){continue}break}}if(d){a=v[j>>2];v[j>>2]=(a^v[e>>2])&o|a&f}k=k+1|0;if((r|0)!=(k|0)){continue}break};break o;case 20:f=o^-1;a=a>>>0>1?a:1;b=a&134217724;c=a&3;k=0;i=(q|0)<32;m=a-1>>>0<3;while(1){j=g+(B(k,s)<<2)|0;e=h+(B(k,t)<<2)|0;w:{if(i){break w}a=b;if(!m){while(1){v[j>>2]=v[j>>2]|v[e>>2]^-1;v[j+4>>2]=v[j+4>>2]|v[e+4>>2]^-1;v[j+8>>2]=v[j+8>>2]|v[e+8>>2]^-1;v[j+12>>2]=v[j+12>>2]|v[e+12>>2]^-1;e=e+16|0;j=j+16|0;a=a-4|0;if(a){continue}break}}a=c;if(!a){break w}while(1){v[j>>2]=v[j>>2]|v[e>>2]^-1;e=e+4|0;j=j+4|0;a=a-1|0;if(a){continue}break}}if(d){a=v[j>>2];v[j>>2]=(a|v[e>>2]^-1)&o|a&f}k=k+1|0;if((r|0)!=(k|0)){continue}break};break o;case 2:f=o^-1;a=a>>>0>1?a:1;b=a&134217724;c=a&3;k=0;i=(q|0)<32;m=a-1>>>0<3;while(1){j=g+(B(k,s)<<2)|0;e=h+(B(k,t)<<2)|0;x:{if(i){break x}a=b;if(!m){while(1){v[j>>2]=v[j>>2]&(v[e>>2]^-1);v[j+4>>2]=v[j+4>>2]&(v[e+4>>2]^-1);v[j+8>>2]=v[j+8>>2]&(v[e+8>>2]^-1);v[j+12>>2]=v[j+12>>2]&(v[e+12>>2]^-1);e=e+16|0;j=j+16|0;a=a-4|0;if(a){continue}break}}a=c;if(!a){break x}while(1){v[j>>2]=v[j>>2]&(v[e>>2]^-1);e=e+4|0;j=j+4|0;a=a-1|0;if(a){continue}break}}if(d){a=v[j>>2];v[j>>2]=a&o&(v[e>>2]^-1)|a&f}k=k+1|0;if((r|0)!=(k|0)){continue}break};break o;case 24:f=o^-1;a=a>>>0>1?a:1;b=a&134217724;c=a&3;k=0;i=(q|0)<32;m=a-1>>>0<3;while(1){j=g+(B(k,s)<<2)|0;e=h+(B(k,t)<<2)|0;y:{if(i){break y}a=b;if(!m){while(1){v[j>>2]=v[e>>2]|v[j>>2]^-1;v[j+4>>2]=v[e+4>>2]|v[j+4>>2]^-1;v[j+8>>2]=v[e+8>>2]|v[j+8>>2]^-1;v[j+12>>2]=v[e+12>>2]|v[j+12>>2]^-1;e=e+16|0;j=j+16|0;a=a-4|0;if(a){continue}break}}a=c;if(!a){break y}while(1){v[j>>2]=v[e>>2]|v[j>>2]^-1;e=e+4|0;j=j+4|0;a=a-1|0;if(a){continue}break}}if(d){a=v[j>>2];v[j>>2]=(v[e>>2]|a^-1)&o|a&f}k=k+1|0;if((r|0)!=(k|0)){continue}break};break o;case 6:f=o^-1;a=a>>>0>1?a:1;b=a&134217724;c=a&3;k=0;i=(q|0)<32;m=a-1>>>0<3;while(1){j=g+(B(k,s)<<2)|0;e=h+(B(k,t)<<2)|0;z:{if(i){break z}a=b;if(!m){while(1){v[j>>2]=v[e>>2]&(v[j>>2]^-1);v[j+4>>2]=v[e+4>>2]&(v[j+4>>2]^-1);v[j+8>>2]=v[e+8>>2]&(v[j+8>>2]^-1);v[j+12>>2]=v[e+12>>2]&(v[j+12>>2]^-1);e=e+16|0;j=j+16|0;a=a-4|0;if(a){continue}break}}a=c;if(!a){break z}while(1){v[j>>2]=v[e>>2]&(v[j>>2]^-1);e=e+4|0;j=j+4|0;a=a-1|0;if(a){continue}break}}if(d){a=v[j>>2];v[j>>2]=v[e>>2]&((a^-1)&o)|a&f}k=k+1|0;if((r|0)!=(k|0)){continue}break};break o;case 0:f=o^-1;a=a>>>0>1?a:1;b=a&134217724;c=a&3;k=0;i=(q|0)<32;m=a-1>>>0<3;while(1){j=g+(B(k,s)<<2)|0;e=h+(B(k,t)<<2)|0;A:{if(i){break A}a=b;if(!m){while(1){v[j>>2]=(v[j>>2]|v[e>>2])^-1;v[j+4>>2]=(v[j+4>>2]|v[e+4>>2])^-1;v[j+8>>2]=(v[j+8>>2]|v[e+8>>2])^-1;v[j+12>>2]=(v[j+12>>2]|v[e+12>>2])^-1;e=e+16|0;j=j+16|0;a=a-4|0;if(a){continue}break}}a=c;if(!a){break A}while(1){v[j>>2]=(v[j>>2]|v[e>>2])^-1;e=e+4|0;j=j+4|0;a=a-1|0;if(a){continue}break}}if(d){a=v[j>>2];v[j>>2]=((a|v[e>>2])^-1)&o|a&f}k=k+1|0;if((r|0)!=(k|0)){continue}break};break o;case 12:f=o^-1;a=a>>>0>1?a:1;b=a&134217724;c=a&3;k=0;i=(q|0)<32;m=a-1>>>0<3;while(1){j=g+(B(k,s)<<2)|0;e=h+(B(k,t)<<2)|0;B:{if(i){break B}a=b;if(!m){while(1){v[j>>2]=v[j>>2]&v[e>>2]^-1;v[j+4>>2]=v[j+4>>2]&v[e+4>>2]^-1;v[j+8>>2]=v[j+8>>2]&v[e+8>>2]^-1;v[j+12>>2]=v[j+12>>2]&v[e+12>>2]^-1;e=e+16|0;j=j+16|0;a=a-4|0;if(a){continue}break}}a=c;if(!a){break B}while(1){v[j>>2]=v[j>>2]&v[e>>2]^-1;e=e+4|0;j=j+4|0;a=a-1|0;if(a){continue}break}}if(d){a=v[j>>2];v[j>>2]=(a&v[e>>2]^-1)&o|a&f}k=k+1|0;if((r|0)!=(k|0)){continue}break};break o;case 16:break q;default:break p}}f=o^-1;a=a>>>0>1?a:1;b=a&134217724;c=a&3;k=0;i=(q|0)<32;m=a-1>>>0<3;while(1){j=g+(B(k,s)<<2)|0;e=h+(B(k,t)<<2)|0;C:{if(i){break C}a=b;if(!m){while(1){v[j>>2]=v[e>>2]^v[j>>2]^-1;v[j+4>>2]=v[e+4>>2]^v[j+4>>2]^-1;v[j+8>>2]=v[e+8>>2]^v[j+8>>2]^-1;v[j+12>>2]=v[e+12>>2]^v[j+12>>2]^-1;e=e+16|0;j=j+16|0;a=a-4|0;if(a){continue}break}}a=c;if(!a){break C}while(1){v[j>>2]=v[e>>2]^v[j>>2]^-1;e=e+4|0;j=j+4|0;a=a-1|0;if(a){continue}break}}if(d){a=v[j>>2];v[j>>2]=(a^v[e>>2]^-1)&o|a&f}k=k+1|0;if((r|0)!=(k|0)){continue}break}break o}D:{E:{F:{G:{H:{I:{if((a|0)==(u|0)){J:{if(u){g=((B(t,x)<<2)+m|0)+(l>>>3&536870908)|0;a=(n+(B(s,C)<<2)|0)+(k>>>3&536870908)|0;j=32-u|0;d=v[(j<<2)+214688>>2];if((j|0)<=(q|0)){break J}d=v[(q-j<<2)+215328>>2]&d;o=1;c=0;b=1;break D}o=q>>>0<32;if(o){break F}g=B(t,x);d=l>>>5|0;j=((g<<2)+m|0)+(d<<2)|0;h=B(s,C);l=k>>>5|0;e=(n+(h<<2)|0)+(l<<2)|0;c=q>>>5|0;a=k+q&31;b=c;if(a){break E}o=0;b=1;break D}j=q-j|0;o=j>>>0<32;if(o){break I}c=j>>5;j=g+4|0;e=a+4|0;k=k+q&31;if(k){break H}o=0;b=1;break D}c=0;j=0;e=0;d=0;b=a?32-a|0:0;g=32-u|0;y=u?g:0;if(b|y){d=y-b|0;j=b>>>0>>0?d:d+32|0;e=32-j|0;d=v[(j<<2)+214688>>2]}K:{L:{i=q;if(u){o=((B(t,x)<<2)+m|0)+(l>>>3&536870908)|0;h=(n+(B(s,C)<<2)|0)+(k>>>3&536870908)|0;w=(b|0)>(q|0);D=a>>>0>u>>>0;b=v[(g<<2)+214688>>2];if((g|0)>(q|0)){break L}c=g}else{c=0}c=i-c|0;p=c>>>0<32;if(p){c=0}else{g=((B(t,x)<<2)+m|0)+(l+y>>>3&536870908)|0;a=(n+(B(s,C)<<2)|0)+(k+y>>>3&536870908)|0;c=c>>5}z=k+q&31;i=1;if(!z){break K}i=c<<2;q=i+(((B(t,x)<<2)+m|0)+(l+y>>>3&536870908)|0)|0;k=((n+(B(s,C)<<2)|0)+(k+y>>>3&536870908)|0)+i|0;y=(e|0)>=(z|0);m=v[(z<<2)+215200>>2];i=0;break K}b=v[(q-g<<2)+215328>>2]&b;p=1;i=1}n=12275;M:{switch(f-2|0){case 22:if(u){u=b^-1;C=d^-1;f=0;while(1){l=v[o>>2];x=h;A=u&v[h>>2];N:{if(D){z=l<>2]>>>e&d|C&z;break N}n=l>>>e|0}v[x>>2]=A|n&b;o=(t<<2)+o|0;h=(s<<2)+h|0;f=f+1|0;if((r|0)!=(f|0)){continue}break}}if(!((r|0)<1|p)){o=d^-1;f=c&-2;p=c&1;n=0;while(1){O:{if((c|0)<1){break O}h=0;b=f;if((c|0)!=1){while(1){l=h<<2;w=l+g|0;v[a+l>>2]=v[w+4>>2]>>>e&d|o&v[w>>2]<>2]=v[l+4>>2]>>>e&d|o&v[l>>2]<>2]=v[b+4>>2]>>>e&d|o&v[b>>2]<>2]<>2];if(!h){a=v[q+4>>2]>>>e&d|a&f}v[b>>2]=a&m|i;q=(t<<2)+q|0;k=(s<<2)+k|0;g=g+1|0;if((r|0)!=(g|0)){continue}break};break o;case 4:if(u){C=b^-1;x=d^-1;f=0;while(1){u=v[o>>2];z=h;l=C&v[h>>2];P:{if(D){n=u<>2]>>>e&d|n&x;break P}A=u>>>e|0}v[z>>2]=l|(A^-1)&b;o=(t<<2)+o|0;h=(s<<2)+h|0;f=f+1|0;if((r|0)!=(f|0)){continue}break}}if(!((r|0)<1|p)){o=d^-1;f=c&-2;p=c&1;n=0;while(1){Q:{if((c|0)<1){break Q}h=0;b=f;if((c|0)!=1){while(1){l=h<<2;w=l+g|0;v[a+l>>2]=(v[w+4>>2]>>>e&d|o&v[w>>2]<>2]=(v[l+4>>2]>>>e&d|o&v[l>>2]<>2]=(v[b+4>>2]>>>e&d|o&v[b>>2]<>2]<>2];c=m;if(!i){a=v[q+4>>2]>>>e&d|a&h}v[b>>2]=(a^-1)&c|o;q=(t<<2)+q|0;k=(s<<2)+k|0;g=g+1|0;if((r|0)!=(g|0)){continue}break};break o;case 26:if(u){u=b^-1;C=d^-1;f=0;while(1){l=v[o>>2];z=h;R:{if(D){x=l<>2]>>>e&d|x&C;break R}A=l>>>e|0}n=v[h>>2];v[z>>2]=(A|n)&b|n&u;o=(t<<2)+o|0;h=(s<<2)+h|0;f=f+1|0;if((r|0)!=(f|0)){continue}break}}if(!((r|0)<1|p)){o=d^-1;f=c&-2;w=c&1;n=0;while(1){S:{if((c|0)<1){break S}h=0;b=f;if((c|0)!=1){while(1){l=h<<2;p=l+a|0;x=p;z=v[p>>2];p=g+l|0;v[x>>2]=z|o&v[p>>2]<>2]>>>e&d;l=l|4;p=l+a|0;l=g+l|0;v[p>>2]=v[p>>2]|o&v[l>>2]<>2]>>>e&d;h=h+2|0;b=b-2|0;if(b){continue}break}}if(!w){break S}b=h<<2;h=b+a|0;b=b+g|0;v[h>>2]=v[h>>2]|o&v[b>>2]<>2]>>>e&d}g=(t<<2)+g|0;a=(s<<2)+a|0;n=n+1|0;if((r|0)!=(n|0)){continue}break}}if((r|0)<1|i){break o}c=m^-1;f=d^-1;g=0;h=y&1;while(1){a=v[q>>2]<>2]>>>e&d|a&f}i=a;a=v[k>>2];v[b>>2]=(i|a)&m|a&c;q=(t<<2)+q|0;k=(s<<2)+k|0;g=g+1|0;if((r|0)!=(g|0)){continue}break};break o;case 14:if(u){n=b^-1;u=d^-1;l=0;while(1){f=v[o>>2];b=h;z=v[h>>2];T:{if(D){x=f<>2]>>>e&d|u&x;break T}f=f>>>e|0}v[b>>2]=z&(f|n);o=(t<<2)+o|0;h=(s<<2)+h|0;l=l+1|0;if((r|0)!=(l|0)){continue}break}}if(!((r|0)<1|p)){n=d^-1;o=c&-2;w=c&1;f=0;while(1){U:{if((c|0)<1){break U}h=0;b=o;if((c|0)!=1){while(1){l=h<<2;p=l+a|0;x=p;z=v[p>>2];p=g+l|0;v[x>>2]=z&(v[p+4>>2]>>>e&d|n&v[p>>2]<>2]=v[p>>2]&(v[l+4>>2]>>>e&d|n&v[l>>2]<>2]=v[h>>2]&(v[b+4>>2]>>>e&d|n&v[b>>2]<>2]<>2];if(!h){a=v[q+4>>2]>>>e&d|a&f}v[b>>2]=(a|c)&i;q=(t<<2)+q|0;k=(s<<2)+k|0;g=g+1|0;if((r|0)!=(g|0)){continue}break};break o;case 10:if(u){u=b^-1;C=d^-1;f=0;while(1){l=v[o>>2];z=h;V:{if(D){x=l<>2]>>>e&d|x&C;break V}A=l>>>e|0}n=v[h>>2];v[z>>2]=(A^n)&b|n&u;o=(t<<2)+o|0;h=(s<<2)+h|0;f=f+1|0;if((r|0)!=(f|0)){continue}break}}if(!((r|0)<1|p)){n=d^-1;o=c&-2;w=c&1;f=0;while(1){W:{if((c|0)<1){break W}h=0;b=o;if((c|0)!=1){while(1){l=h<<2;p=l+a|0;x=p;z=v[p>>2];p=g+l|0;v[x>>2]=z^(v[p+4>>2]>>>e&d|n&v[p>>2]<>2]=v[p>>2]^(v[l+4>>2]>>>e&d|n&v[l>>2]<>2]=v[h>>2]^(v[b+4>>2]>>>e&d|n&v[b>>2]<>2]<>2]>>>e&d|a&f}i=a;a=v[k>>2];v[b>>2]=(i^a)&m|a&c;q=(t<<2)+q|0;k=(s<<2)+k|0;g=g+1|0;if((r|0)!=(g|0)){continue}break};break o;case 20:if(u){u=b^-1;C=d^-1;f=0;while(1){l=v[o>>2];A=h;x=v[h>>2];z=x;X:{if(D){n=l<>2]>>>e&d|n&C;break X}l=l>>>e|0}v[A>>2]=(z|l^-1)&b|u&x;o=(t<<2)+o|0;h=(s<<2)+h|0;f=f+1|0;if((r|0)!=(f|0)){continue}break}}if(!((r|0)<1|p)){o=d^-1;f=c&-2;w=c&1;n=0;while(1){Y:{if((c|0)<1){break Y}h=0;b=f;if((c|0)!=1){while(1){l=h<<2;p=l+a|0;x=p;z=v[p>>2];p=g+l|0;v[x>>2]=z|(v[p+4>>2]>>>e&d|o&v[p>>2]<>2]=v[p>>2]|(v[l+4>>2]>>>e&d|o&v[l>>2]<>2]=v[h>>2]|(v[b+4>>2]>>>e&d|o&v[b>>2]<>2]<>2];o=i;if(!h){a=v[q+4>>2]>>>e&d|a&f}v[b>>2]=(a^-1|o)&m|c&i;q=(t<<2)+q|0;k=(s<<2)+k|0;g=g+1|0;if((r|0)!=(g|0)){continue}break};break o;case 2:if(u){u=d^-1;f=0;while(1){l=v[o>>2];z=h;A=v[h>>2];Z:{if(D){x=l<>2]>>>e&d|u&x;break Z}n=l>>>e|0}v[z>>2]=A&(n&b^-1);o=(t<<2)+o|0;h=(s<<2)+h|0;f=f+1|0;if((r|0)!=(f|0)){continue}break}}if(!((r|0)<1|p)){o=d^-1;f=c&-2;w=c&1;n=0;while(1){_:{if((c|0)<1){break _}h=0;b=f;if((c|0)!=1){while(1){l=h<<2;p=l+a|0;x=p;z=v[p>>2];p=g+l|0;v[x>>2]=z&((v[p+4>>2]>>>e&d|o&v[p>>2]<>2]=v[p>>2]&((v[l+4>>2]>>>e&d|o&v[l>>2]<>2]=v[h>>2]&((v[b+4>>2]>>>e&d|o&v[b>>2]<>2]<>2];if(!f){a=v[q+4>>2]>>>e&d|a&c}v[b>>2]=(a&m^-1)&h;q=(t<<2)+q|0;k=(s<<2)+k|0;g=g+1|0;if((r|0)!=(g|0)){continue}break};break o;case 24:if(u){u=b^-1;C=d^-1;f=0;while(1){l=v[o>>2];z=h;$:{if(D){x=l<>2]>>>e&d|x&C;break $}A=l>>>e|0}n=v[h>>2];v[z>>2]=(A|n^-1)&b|n&u;o=(t<<2)+o|0;h=(s<<2)+h|0;f=f+1|0;if((r|0)!=(f|0)){continue}break}}if(!((r|0)<1|p)){n=d^-1;o=c&-2;w=c&1;f=0;while(1){aa:{if((c|0)<1){break aa}h=0;b=o;if((c|0)!=1){while(1){l=h<<2;p=l+a|0;u=g+l|0;v[p>>2]=n&v[u>>2]<>2]^-1|v[u+4>>2]>>>e&d;l=l|4;p=l+a|0;l=g+l|0;v[p>>2]=n&v[l>>2]<>2]^-1|v[l+4>>2]>>>e&d;h=h+2|0;b=b-2|0;if(b){continue}break}}if(!w){break aa}b=h<<2;h=b+a|0;b=b+g|0;v[h>>2]=n&v[b>>2]<>2]^-1|v[b+4>>2]>>>e&d}g=(t<<2)+g|0;a=(s<<2)+a|0;f=f+1|0;if((r|0)!=(f|0)){continue}break}}if((r|0)<1|i){break o}c=m^-1;f=d^-1;g=0;h=y&1;while(1){a=v[q>>2]<>2]>>>e&d|a&f}i=a;a=v[k>>2];v[b>>2]=(i|a^-1)&m|a&c;q=(t<<2)+q|0;k=(s<<2)+k|0;g=g+1|0;if((r|0)!=(g|0)){continue}break};break o;case 6:if(u){u=b^-1;C=d^-1;f=0;while(1){l=v[o>>2];z=h;ba:{if(D){x=l<>2]>>>e&d|x&C;break ba}A=l>>>e|0}n=v[h>>2];v[z>>2]=A&b&(n^-1)|n&u;o=(t<<2)+o|0;h=(s<<2)+h|0;f=f+1|0;if((r|0)!=(f|0)){continue}break}}if(!((r|0)<1|p)){n=d^-1;o=c&-2;w=c&1;f=0;while(1){ca:{if((c|0)<1){break ca}h=0;b=o;if((c|0)!=1){while(1){l=h<<2;p=l+a|0;u=g+l|0;v[p>>2]=(v[u+4>>2]>>>e&d|n&v[u>>2]<>2]^-1);l=l|4;p=l+a|0;l=g+l|0;v[p>>2]=(v[l+4>>2]>>>e&d|n&v[l>>2]<>2]^-1);h=h+2|0;b=b-2|0;if(b){continue}break}}if(!w){break ca}b=h<<2;h=b+a|0;b=b+g|0;v[h>>2]=(v[b+4>>2]>>>e&d|n&v[b>>2]<>2]^-1)}g=(t<<2)+g|0;a=(s<<2)+a|0;f=f+1|0;if((r|0)!=(f|0)){continue}break}}if((r|0)<1|i){break o}c=m^-1;f=d^-1;g=0;h=y&1;while(1){a=v[q>>2]<>2]>>>e&d|a&f}i=a&m;a=v[k>>2];v[b>>2]=i&(a^-1)|a&c;q=(t<<2)+q|0;k=(s<<2)+k|0;g=g+1|0;if((r|0)!=(g|0)){continue}break};break o;case 0:if(u){C=b^-1;x=d^-1;f=0;while(1){u=v[o>>2];A=h;da:{if(D){z=u<>2]>>>e&d|x&z;break da}l=u>>>e|0}n=v[h>>2];v[A>>2]=((l|n)^-1)&b|n&C;o=(t<<2)+o|0;h=(s<<2)+h|0;f=f+1|0;if((r|0)!=(f|0)){continue}break}}if(!((r|0)<1|p)){o=d^-1;f=c&-2;w=c&1;n=0;while(1){ea:{if((c|0)<1){break ea}h=0;b=f;if((c|0)!=1){while(1){l=h<<2;p=l+a|0;x=p;z=v[p>>2];p=g+l|0;v[x>>2]=(z|o&v[p>>2]<>2]>>>e&d)^-1;l=l|4;p=l+a|0;l=g+l|0;v[p>>2]=(v[p>>2]|o&v[l>>2]<>2]>>>e&d)^-1;h=h+2|0;b=b-2|0;if(b){continue}break}}if(!w){break ea}b=h<<2;h=b+a|0;b=b+g|0;v[h>>2]=(v[h>>2]|o&v[b>>2]<>2]>>>e&d)^-1}g=(t<<2)+g|0;a=(s<<2)+a|0;n=n+1|0;if((r|0)!=(n|0)){continue}break}}if((r|0)<1|i){break o}f=m^-1;h=d^-1;g=0;i=y&1;while(1){a=v[q>>2]<>2]>>>e&d|a&h}p=a;a=v[k>>2];v[b>>2]=((p|a)^-1)&c|a&f;q=(t<<2)+q|0;k=(s<<2)+k|0;g=g+1|0;if((r|0)!=(g|0)){continue}break};break o;case 12:if(u){C=b^-1;x=d^-1;f=0;while(1){u=v[o>>2];A=h;fa:{if(D){z=u<>2]>>>e&d|x&z;break fa}l=u>>>e|0}n=v[h>>2];v[A>>2]=(l&n^-1)&b|n&C;o=(t<<2)+o|0;h=(s<<2)+h|0;f=f+1|0;if((r|0)!=(f|0)){continue}break}}if(!((r|0)<1|p)){n=d^-1;o=c&-2;w=c&1;f=0;while(1){ga:{if((c|0)<1){break ga}h=0;b=o;if((c|0)!=1){while(1){l=h<<2;p=l+a|0;x=p;z=v[p>>2];p=g+l|0;v[x>>2]=z&(v[p+4>>2]>>>e&d|n&v[p>>2]<>2]=v[p>>2]&(v[l+4>>2]>>>e&d|n&v[l>>2]<>2]=v[h>>2]&(v[b+4>>2]>>>e&d|n&v[b>>2]<>2]<>2]>>>e&d|a&h}p=a;a=v[k>>2];v[b>>2]=(p&a^-1)&c|a&f;q=(t<<2)+q|0;k=(s<<2)+k|0;g=g+1|0;if((r|0)!=(g|0)){continue}break};break o;case 16:break M;default:break p}}if(u){C=b^-1;x=d^-1;f=0;while(1){u=v[o>>2];A=h;ha:{if(D){z=u<>2]>>>e&d|x&z;break ha}l=u>>>e|0}n=v[h>>2];v[A>>2]=(l^n^-1)&b|n&C;o=(t<<2)+o|0;h=(s<<2)+h|0;f=f+1|0;if((r|0)!=(f|0)){continue}break}}if(!((r|0)<1|p)){o=d^-1;f=c&-2;w=c&1;n=0;while(1){ia:{if((c|0)<1){break ia}h=0;b=f;if((c|0)!=1){while(1){l=h<<2;p=l+a|0;x=p;z=v[p>>2];p=g+l|0;v[x>>2]=z^(v[p+4>>2]>>>e&d|o&v[p>>2]<>2]=v[p>>2]^(v[l+4>>2]>>>e&d|o&v[l>>2]<>2]=v[h>>2]^(v[b+4>>2]>>>e&d|o&v[b>>2]<>2]<>2]>>>e&d|a&h}p=a;a=v[k>>2];v[b>>2]=(p^a^-1)&c|a&f;q=(t<<2)+q|0;k=(s<<2)+k|0;g=g+1|0;if((r|0)!=(g|0)){continue}break}break o}c=0;k=k+q&31;if(!k){break G}}b=c<<2;q=(b+g|0)+4|0;h=(a+b|0)+4|0;l=v[(k<<2)+215200>>2];b=0;break D}o=1;b=1;break D}a=k+q&31;if(!a){o=1;c=0;b=1;break D}d=l>>>5|0;g=B(t,x);l=k>>>5|0;h=B(s,C);b=0}i=((g<<2)+m|0)+(d<<2)|0;c=b;g=c<<2;q=i+g|0;h=((n+(h<<2)|0)+(l<<2)|0)+g|0;l=v[(a<<2)+215200>>2];b=0}n=12275;ja:{switch(f-2|0){case 22:ka:{if(!u){break ka}f=y-(p+w|0)|0;k=f&1;i=d^-1;if((y+(p^-1)|0)!=(w|0)){f=f&-2;while(1){v[a>>2]=v[g>>2]&d|i&v[a>>2];m=s<<2;a=m+a|0;x=g;g=t<<2;n=x+g|0;v[a>>2]=v[n>>2]&d|i&v[a>>2];g=g+n|0;a=a+m|0;f=f-2|0;if(f){continue}break}}if(!k){break ka}v[a>>2]=v[g>>2]&d|i&v[a>>2]}if(!((r|0)<1|o)){f=c&-4;i=c&3;k=0;m=(c|0)<1;o=c-1>>>0<3;while(1){la:{if(m){break la}a=0;d=f;if(!o){while(1){c=a<<2;v[c+e>>2]=v[c+j>>2];g=c|4;v[g+e>>2]=v[g+j>>2];g=c|8;v[g+e>>2]=v[g+j>>2];c=c|12;v[c+e>>2]=v[c+j>>2];a=a+4|0;d=d-4|0;if(d){continue}break}}g=i;if(!g){break la}while(1){c=a<<2;v[c+e>>2]=v[c+j>>2];a=a+1|0;g=g-1|0;if(g){continue}break}}j=(t<<2)+j|0;e=(s<<2)+e|0;k=k+1|0;if((r|0)!=(k|0)){continue}break}}if((r|0)<1|b){break o}b=l^-1;a=y-(p+w|0)|0;d=a&1;if((y+(p^-1)|0)!=(w|0)){a=a&-2;while(1){v[h>>2]=v[q>>2]&l|b&v[h>>2];e=s<<2;c=e+h|0;f=t<<2;g=f+q|0;v[c>>2]=v[g>>2]&l|b&v[c>>2];q=f+g|0;h=c+e|0;a=a-2|0;if(a){continue}break}}if(!d){break o}v[h>>2]=v[q>>2]&l|b&v[h>>2];break o;case 4:ma:{if(!u){break ma}f=y-(p+w|0)|0;k=f&1;i=d^-1;if((y+(p^-1)|0)!=(w|0)){f=f&-2;while(1){v[a>>2]=(v[g>>2]^-1)&d|i&v[a>>2];m=s<<2;a=m+a|0;x=g;g=t<<2;n=x+g|0;v[a>>2]=(v[n>>2]^-1)&d|i&v[a>>2];g=g+n|0;a=a+m|0;f=f-2|0;if(f){continue}break}}if(!k){break ma}v[a>>2]=(v[g>>2]^-1)&d|i&v[a>>2]}if(!((r|0)<1|o)){f=c&-4;i=c&3;k=0;m=(c|0)<1;o=c-1>>>0<3;while(1){na:{if(m){break na}a=0;d=f;if(!o){while(1){c=a<<2;v[c+e>>2]=v[c+j>>2]^-1;g=c|4;v[g+e>>2]=v[g+j>>2]^-1;g=c|8;v[g+e>>2]=v[g+j>>2]^-1;c=c|12;v[c+e>>2]=v[c+j>>2]^-1;a=a+4|0;d=d-4|0;if(d){continue}break}}g=i;if(!g){break na}while(1){c=a<<2;v[c+e>>2]=v[c+j>>2]^-1;a=a+1|0;g=g-1|0;if(g){continue}break}}j=(t<<2)+j|0;e=(s<<2)+e|0;k=k+1|0;if((r|0)!=(k|0)){continue}break}}if((r|0)<1|b){break o}b=l^-1;a=y-(p+w|0)|0;d=a&1;if((y+(p^-1)|0)!=(w|0)){a=a&-2;while(1){v[h>>2]=(v[q>>2]^-1)&l|b&v[h>>2];e=s<<2;c=e+h|0;f=t<<2;g=f+q|0;v[c>>2]=(v[g>>2]^-1)&l|b&v[c>>2];q=f+g|0;h=c+e|0;a=a-2|0;if(a){continue}break}}if(!d){break o}v[h>>2]=(v[q>>2]^-1)&l|b&v[h>>2];break o;case 26:oa:{if(!u){break oa}f=y-(p+w|0)|0;m=f&1;i=d^-1;if((y+(p^-1)|0)!=(w|0)){f=f&-2;while(1){k=v[a>>2];v[a>>2]=(k|v[g>>2])&d|i&k;n=s<<2;a=n+a|0;k=v[a>>2];x=g;g=t<<2;u=x+g|0;v[a>>2]=(k|v[u>>2])&d|i&k;g=g+u|0;a=a+n|0;f=f-2|0;if(f){continue}break}}if(!m){break oa}f=a;a=v[a>>2];v[f>>2]=(a|v[g>>2])&d|a&i}if(!((r|0)<1|o)){i=c&-4;k=c&3;f=0;m=(c|0)<1;o=c-1>>>0<3;while(1){pa:{if(m){break pa}a=0;d=i;if(!o){while(1){c=a<<2;g=c+e|0;v[g>>2]=v[g>>2]|v[c+j>>2];g=c|4;n=g+e|0;v[n>>2]=v[n>>2]|v[g+j>>2];g=c|8;n=g+e|0;v[n>>2]=v[n>>2]|v[g+j>>2];c=c|12;g=c+e|0;v[g>>2]=v[g>>2]|v[c+j>>2];a=a+4|0;d=d-4|0;if(d){continue}break}}g=k;if(!g){break pa}while(1){c=a<<2;d=c+e|0;v[d>>2]=v[d>>2]|v[c+j>>2];a=a+1|0;g=g-1|0;if(g){continue}break}}j=(t<<2)+j|0;e=(s<<2)+e|0;f=f+1|0;if((r|0)!=(f|0)){continue}break}}if((r|0)<1|b){break o}b=l^-1;a=y-(p+w|0)|0;e=a&1;if((y+(p^-1)|0)!=(w|0)){a=a&-2;while(1){c=v[h>>2];v[h>>2]=(c|v[q>>2])&l|b&c;f=s<<2;c=f+h|0;d=v[c>>2];g=t<<2;h=g+q|0;v[c>>2]=(d|v[h>>2])&l|b&d;q=g+h|0;h=c+f|0;a=a-2|0;if(a){continue}break}}if(!e){break o}a=v[h>>2];v[h>>2]=(a|v[q>>2])&l|a&b;break o;case 14:qa:{if(!u){break qa}f=y-(p+w|0)|0;m=f&1;i=d^-1;if((y+(p^-1)|0)!=(w|0)){f=f&-2;while(1){k=v[a>>2];v[a>>2]=v[g>>2]&(k&d)|i&k;n=s<<2;a=n+a|0;k=v[a>>2];x=g;g=t<<2;u=x+g|0;v[a>>2]=v[u>>2]&(d&k)|i&k;g=g+u|0;a=a+n|0;f=f-2|0;if(f){continue}break}}if(!m){break qa}f=a;a=v[a>>2];v[f>>2]=v[g>>2]&(a&d)|a&i}if(!((r|0)<1|o)){i=c&-4;k=c&3;f=0;m=(c|0)<1;o=c-1>>>0<3;while(1){ra:{if(m){break ra}a=0;d=i;if(!o){while(1){c=a<<2;g=c+e|0;v[g>>2]=v[g>>2]&v[c+j>>2];g=c|4;n=g+e|0;v[n>>2]=v[n>>2]&v[g+j>>2];g=c|8;n=g+e|0;v[n>>2]=v[n>>2]&v[g+j>>2];c=c|12;g=c+e|0;v[g>>2]=v[g>>2]&v[c+j>>2];a=a+4|0;d=d-4|0;if(d){continue}break}}g=k;if(!g){break ra}while(1){c=a<<2;d=c+e|0;v[d>>2]=v[d>>2]&v[c+j>>2];a=a+1|0;g=g-1|0;if(g){continue}break}}j=(t<<2)+j|0;e=(s<<2)+e|0;f=f+1|0;if((r|0)!=(f|0)){continue}break}}if((r|0)<1|b){break o}b=l^-1;a=y-(p+w|0)|0;e=a&1;if((y+(p^-1)|0)!=(w|0)){a=a&-2;while(1){c=v[h>>2];v[h>>2]=v[q>>2]&(c&l)|b&c;f=s<<2;c=f+h|0;d=v[c>>2];g=t<<2;h=g+q|0;v[c>>2]=v[h>>2]&(d&l)|b&d;q=g+h|0;h=c+f|0;a=a-2|0;if(a){continue}break}}if(!e){break o}a=v[h>>2];v[h>>2]=v[q>>2]&(a&l)|a&b;break o;case 10:sa:{if(!u){break sa}f=y-(p+w|0)|0;m=f&1;i=d^-1;if((y+(p^-1)|0)!=(w|0)){f=f&-2;while(1){k=v[a>>2];v[a>>2]=(k^v[g>>2])&d|i&k;n=s<<2;a=n+a|0;k=v[a>>2];x=g;g=t<<2;u=x+g|0;v[a>>2]=(k^v[u>>2])&d|i&k;g=g+u|0;a=a+n|0;f=f-2|0;if(f){continue}break}}if(!m){break sa}f=a;a=v[a>>2];v[f>>2]=(a^v[g>>2])&d|a&i}if(!((r|0)<1|o)){i=c&-4;k=c&3;f=0;m=(c|0)<1;o=c-1>>>0<3;while(1){ta:{if(m){break ta}a=0;d=i;if(!o){while(1){c=a<<2;g=c+e|0;v[g>>2]=v[g>>2]^v[c+j>>2];g=c|4;n=g+e|0;v[n>>2]=v[n>>2]^v[g+j>>2];g=c|8;n=g+e|0;v[n>>2]=v[n>>2]^v[g+j>>2];c=c|12;g=c+e|0;v[g>>2]=v[g>>2]^v[c+j>>2];a=a+4|0;d=d-4|0;if(d){continue}break}}g=k;if(!g){break ta}while(1){c=a<<2;d=c+e|0;v[d>>2]=v[d>>2]^v[c+j>>2];a=a+1|0;g=g-1|0;if(g){continue}break}}j=(t<<2)+j|0;e=(s<<2)+e|0;f=f+1|0;if((r|0)!=(f|0)){continue}break}}if((r|0)<1|b){break o}b=l^-1;a=y-(p+w|0)|0;e=a&1;if((y+(p^-1)|0)!=(w|0)){a=a&-2;while(1){c=v[h>>2];v[h>>2]=(c^v[q>>2])&l|b&c;f=s<<2;c=f+h|0;d=v[c>>2];g=t<<2;h=g+q|0;v[c>>2]=(d^v[h>>2])&l|b&d;q=g+h|0;h=c+f|0;a=a-2|0;if(a){continue}break}}if(!e){break o}a=v[h>>2];v[h>>2]=(a^v[q>>2])&l|a&b;break o;case 20:ua:{if(!u){break ua}f=y-(p+w|0)|0;m=f&1;i=d^-1;if((y+(p^-1)|0)!=(w|0)){f=f&-2;while(1){k=v[a>>2];v[a>>2]=(k|v[g>>2]^-1)&d|i&k;n=s<<2;a=n+a|0;k=v[a>>2];x=g;g=t<<2;u=x+g|0;v[a>>2]=(k|v[u>>2]^-1)&d|i&k;g=g+u|0;a=a+n|0;f=f-2|0;if(f){continue}break}}if(!m){break ua}f=a;a=v[a>>2];v[f>>2]=(a|v[g>>2]^-1)&d|a&i}if(!((r|0)<1|o)){f=c&-2;i=c&1;k=0;while(1){va:{if((c|0)<1){break va}a=0;d=f;if((c|0)!=1){while(1){g=a<<2;m=g+e|0;v[m>>2]=v[m>>2]|v[g+j>>2]^-1;g=g|4;m=g+e|0;v[m>>2]=v[m>>2]|v[g+j>>2]^-1;a=a+2|0;d=d-2|0;if(d){continue}break}}if(!i){break va}a=a<<2;d=a+e|0;v[d>>2]=v[d>>2]|v[a+j>>2]^-1}j=(t<<2)+j|0;e=(s<<2)+e|0;k=k+1|0;if((r|0)!=(k|0)){continue}break}}if((r|0)<1|b){break o}b=l^-1;a=y-(p+w|0)|0;e=a&1;if((y+(p^-1)|0)!=(w|0)){a=a&-2;while(1){c=v[h>>2];v[h>>2]=(c|v[q>>2]^-1)&l|b&c;f=s<<2;c=f+h|0;d=v[c>>2];g=t<<2;h=g+q|0;v[c>>2]=(d|v[h>>2]^-1)&l|b&d;q=g+h|0;h=c+f|0;a=a-2|0;if(a){continue}break}}if(!e){break o}a=v[h>>2];v[h>>2]=(a|v[q>>2]^-1)&l|a&b;break o;case 2:wa:{if(!u){break wa}f=y-(p+w|0)|0;m=f&1;i=d^-1;if((y+(p^-1)|0)!=(w|0)){f=f&-2;while(1){k=v[a>>2];v[a>>2]=k&d&(v[g>>2]^-1)|i&k;n=s<<2;a=n+a|0;k=v[a>>2];x=g;g=t<<2;u=x+g|0;v[a>>2]=d&k&(v[u>>2]^-1)|i&k;g=g+u|0;a=a+n|0;f=f-2|0;if(f){continue}break}}if(!m){break wa}f=a;a=v[a>>2];v[f>>2]=a&d&(v[g>>2]^-1)|a&i}if(!((r|0)<1|o)){f=c&-2;i=c&1;k=0;while(1){xa:{if((c|0)<1){break xa}a=0;d=f;if((c|0)!=1){while(1){g=a<<2;m=g+e|0;v[m>>2]=v[m>>2]&(v[g+j>>2]^-1);g=g|4;m=g+e|0;v[m>>2]=v[m>>2]&(v[g+j>>2]^-1);a=a+2|0;d=d-2|0;if(d){continue}break}}if(!i){break xa}a=a<<2;d=a+e|0;v[d>>2]=v[d>>2]&(v[a+j>>2]^-1)}j=(t<<2)+j|0;e=(s<<2)+e|0;k=k+1|0;if((r|0)!=(k|0)){continue}break}}if((r|0)<1|b){break o}b=l^-1;a=y-(p+w|0)|0;e=a&1;if((y+(p^-1)|0)!=(w|0)){a=a&-2;while(1){c=v[h>>2];v[h>>2]=c&l&(v[q>>2]^-1)|b&c;f=s<<2;c=f+h|0;d=v[c>>2];g=t<<2;h=g+q|0;v[c>>2]=d&l&(v[h>>2]^-1)|b&d;q=g+h|0;h=c+f|0;a=a-2|0;if(a){continue}break}}if(!e){break o}a=v[h>>2];v[h>>2]=a&l&(v[q>>2]^-1)|a&b;break o;case 24:ya:{if(!u){break ya}f=y-(p+w|0)|0;m=f&1;i=d^-1;if((y+(p^-1)|0)!=(w|0)){f=f&-2;while(1){k=v[a>>2];v[a>>2]=(v[g>>2]|k^-1)&d|i&k;n=s<<2;a=n+a|0;k=v[a>>2];x=g;g=t<<2;u=x+g|0;v[a>>2]=(v[u>>2]|k^-1)&d|i&k;g=g+u|0;a=a+n|0;f=f-2|0;if(f){continue}break}}if(!m){break ya}f=a;a=v[a>>2];v[f>>2]=(v[g>>2]|a^-1)&d|a&i}if(!((r|0)<1|o)){f=c&-2;i=c&1;k=0;while(1){za:{if((c|0)<1){break za}a=0;d=f;if((c|0)!=1){while(1){g=a<<2;m=g+e|0;v[m>>2]=v[g+j>>2]|v[m>>2]^-1;g=g|4;m=g+e|0;v[m>>2]=v[g+j>>2]|v[m>>2]^-1;a=a+2|0;d=d-2|0;if(d){continue}break}}if(!i){break za}a=a<<2;d=a+e|0;v[d>>2]=v[a+j>>2]|v[d>>2]^-1}j=(t<<2)+j|0;e=(s<<2)+e|0;k=k+1|0;if((r|0)!=(k|0)){continue}break}}if((r|0)<1|b){break o}b=l^-1;a=y-(p+w|0)|0;e=a&1;if((y+(p^-1)|0)!=(w|0)){a=a&-2;while(1){c=v[h>>2];v[h>>2]=(v[q>>2]|c^-1)&l|b&c;f=s<<2;c=f+h|0;d=v[c>>2];g=t<<2;h=g+q|0;v[c>>2]=(v[h>>2]|d^-1)&l|b&d;q=g+h|0;h=c+f|0;a=a-2|0;if(a){continue}break}}if(!e){break o}a=v[h>>2];v[h>>2]=(v[q>>2]|a^-1)&l|a&b;break o;case 6:Aa:{if(!u){break Aa}f=y-(p+w|0)|0;m=f&1;i=d^-1;if((y+(p^-1)|0)!=(w|0)){f=f&-2;while(1){k=v[a>>2];v[a>>2]=v[g>>2]&((k^-1)&d)|i&k;n=s<<2;a=n+a|0;k=v[a>>2];x=g;g=t<<2;u=x+g|0;v[a>>2]=v[u>>2]&((k^-1)&d)|i&k;g=g+u|0;a=a+n|0;f=f-2|0;if(f){continue}break}}if(!m){break Aa}f=a;a=v[a>>2];v[f>>2]=v[g>>2]&((a^-1)&d)|a&i}if(!((r|0)<1|o)){f=c&-2;i=c&1;k=0;while(1){Ba:{if((c|0)<1){break Ba}a=0;d=f;if((c|0)!=1){while(1){g=a<<2;m=g+e|0;v[m>>2]=v[g+j>>2]&(v[m>>2]^-1);g=g|4;m=g+e|0;v[m>>2]=v[g+j>>2]&(v[m>>2]^-1);a=a+2|0;d=d-2|0;if(d){continue}break}}if(!i){break Ba}a=a<<2;d=a+e|0;v[d>>2]=v[a+j>>2]&(v[d>>2]^-1)}j=(t<<2)+j|0;e=(s<<2)+e|0;k=k+1|0;if((r|0)!=(k|0)){continue}break}}if((r|0)<1|b){break o}b=l^-1;a=y-(p+w|0)|0;e=a&1;if((y+(p^-1)|0)!=(w|0)){a=a&-2;while(1){c=v[h>>2];v[h>>2]=v[q>>2]&((c^-1)&l)|b&c;f=s<<2;c=f+h|0;d=v[c>>2];g=t<<2;h=g+q|0;v[c>>2]=v[h>>2]&((d^-1)&l)|b&d;q=g+h|0;h=c+f|0;a=a-2|0;if(a){continue}break}}if(!e){break o}a=v[h>>2];v[h>>2]=v[q>>2]&((a^-1)&l)|a&b;break o;case 0:Ca:{if(!u){break Ca}f=y-(p+w|0)|0;m=f&1;i=d^-1;if((y+(p^-1)|0)!=(w|0)){f=f&-2;while(1){k=v[a>>2];v[a>>2]=((k|v[g>>2])^-1)&d|i&k;n=s<<2;a=n+a|0;k=v[a>>2];x=g;g=t<<2;u=x+g|0;v[a>>2]=((k|v[u>>2])^-1)&d|i&k;g=g+u|0;a=a+n|0;f=f-2|0;if(f){continue}break}}if(!m){break Ca}f=a;a=v[a>>2];v[f>>2]=((a|v[g>>2])^-1)&d|a&i}if(!((r|0)<1|o)){f=c&-2;i=c&1;k=0;while(1){Da:{if((c|0)<1){break Da}a=0;d=f;if((c|0)!=1){while(1){g=a<<2;m=g+e|0;v[m>>2]=(v[m>>2]|v[g+j>>2])^-1;g=g|4;m=g+e|0;v[m>>2]=(v[m>>2]|v[g+j>>2])^-1;a=a+2|0;d=d-2|0;if(d){continue}break}}if(!i){break Da}a=a<<2;d=a+e|0;v[d>>2]=(v[d>>2]|v[a+j>>2])^-1}j=(t<<2)+j|0;e=(s<<2)+e|0;k=k+1|0;if((r|0)!=(k|0)){continue}break}}if((r|0)<1|b){break o}b=l^-1;a=y-(p+w|0)|0;e=a&1;if((y+(p^-1)|0)!=(w|0)){a=a&-2;while(1){c=v[h>>2];v[h>>2]=((c|v[q>>2])^-1)&l|b&c;f=s<<2;c=f+h|0;d=v[c>>2];g=t<<2;h=g+q|0;v[c>>2]=((d|v[h>>2])^-1)&l|b&d;q=g+h|0;h=c+f|0;a=a-2|0;if(a){continue}break}}if(!e){break o}a=v[h>>2];v[h>>2]=((a|v[q>>2])^-1)&l|a&b;break o;case 12:Ea:{if(!u){break Ea}f=y-(p+w|0)|0;m=f&1;i=d^-1;if((y+(p^-1)|0)!=(w|0)){f=f&-2;while(1){k=v[a>>2];v[a>>2]=(k&v[g>>2]^-1)&d|i&k;n=s<<2;a=n+a|0;k=v[a>>2];x=g;g=t<<2;u=x+g|0;v[a>>2]=(k&v[u>>2]^-1)&d|i&k;g=g+u|0;a=a+n|0;f=f-2|0;if(f){continue}break}}if(!m){break Ea}f=a;a=v[a>>2];v[f>>2]=(a&v[g>>2]^-1)&d|a&i}if(!((r|0)<1|o)){f=c&-2;i=c&1;k=0;while(1){Fa:{if((c|0)<1){break Fa}a=0;d=f;if((c|0)!=1){while(1){g=a<<2;m=g+e|0;v[m>>2]=v[m>>2]&v[g+j>>2]^-1;g=g|4;m=g+e|0;v[m>>2]=v[m>>2]&v[g+j>>2]^-1;a=a+2|0;d=d-2|0;if(d){continue}break}}if(!i){break Fa}a=a<<2;d=a+e|0;v[d>>2]=v[d>>2]&v[a+j>>2]^-1}j=(t<<2)+j|0;e=(s<<2)+e|0;k=k+1|0;if((r|0)!=(k|0)){continue}break}}if((r|0)<1|b){break o}b=l^-1;a=y-(p+w|0)|0;e=a&1;if((y+(p^-1)|0)!=(w|0)){a=a&-2;while(1){c=v[h>>2];v[h>>2]=(c&v[q>>2]^-1)&l|b&c;f=s<<2;c=f+h|0;d=v[c>>2];g=t<<2;h=g+q|0;v[c>>2]=(d&v[h>>2]^-1)&l|b&d;q=g+h|0;h=c+f|0;a=a-2|0;if(a){continue}break}}if(!e){break o}a=v[h>>2];v[h>>2]=(a&v[q>>2]^-1)&l|a&b;break o;case 16:break ja;default:break p}}Ga:{if(!u){break Ga}f=y-(p+w|0)|0;m=f&1;i=d^-1;if((y+(p^-1)|0)!=(w|0)){f=f&-2;while(1){k=v[a>>2];v[a>>2]=(k^v[g>>2]^-1)&d|i&k;n=s<<2;a=n+a|0;k=v[a>>2];x=g;g=t<<2;u=x+g|0;v[a>>2]=(k^v[u>>2]^-1)&d|i&k;g=g+u|0;a=a+n|0;f=f-2|0;if(f){continue}break}}if(!m){break Ga}f=a;a=v[a>>2];v[f>>2]=(a^v[g>>2]^-1)&d|a&i}if(!((r|0)<1|o)){f=c&-2;i=c&1;k=0;while(1){Ha:{if((c|0)<1){break Ha}a=0;d=f;if((c|0)!=1){while(1){g=a<<2;m=g+e|0;v[m>>2]=v[g+j>>2]^v[m>>2]^-1;g=g|4;m=g+e|0;v[m>>2]=v[g+j>>2]^v[m>>2]^-1;a=a+2|0;d=d-2|0;if(d){continue}break}}if(!i){break Ha}a=a<<2;d=a+e|0;v[d>>2]=v[a+j>>2]^v[d>>2]^-1}j=(t<<2)+j|0;e=(s<<2)+e|0;k=k+1|0;if((r|0)!=(k|0)){continue}break}}if((r|0)<1|b){break o}b=l^-1;a=y-(p+w|0)|0;e=a&1;if((y+(p^-1)|0)!=(w|0)){a=a&-2;while(1){c=v[h>>2];v[h>>2]=(c^v[q>>2]^-1)&l|b&c;f=s<<2;c=f+h|0;d=v[c>>2];g=t<<2;h=g+q|0;v[c>>2]=(d^v[h>>2]^-1)&l|b&d;q=g+h|0;h=c+f|0;a=a-2|0;if(a){continue}break}}if(!e){break o}a=v[h>>2];v[h>>2]=(a^v[q>>2]^-1)&l|a&b;break o}v[E>>2]=f;wc(v[252391],n,E)}Qb=E+16|0}}}function xv(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,x=0,z=0,A=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;i=Qb-15984|0;Qb=i;v[i+15976>>2]=g;v[i+15980>>2]=f;p=v[a+176>>2];o=p;j=v[v[o+536>>2]+544>>2];O=v[a+52>>2];I=v[a>>2];ic(i+15824|0,0,128);v[i+15968>>2]=0;f=i+15808|0;v[f>>2]=0;v[f+4>>2]=0;f=i+15700|0;v[f>>2]=0;v[f+4>>2]=0;f=i+15708|0;v[f>>2]=0;v[f+4>>2]=0;v[i+15960>>2]=0;v[i+15964>>2]=0;v[i+15792>>2]=0;v[i+15796>>2]=0;v[i+15800>>2]=0;v[i+15804>>2]=0;v[i+15776>>2]=0;v[i+15780>>2]=0;v[i+15768>>2]=10;v[i+15772>>2]=0;v[i+15760>>2]=20;v[i+15764>>2]=0;L=a+4|0;v[i+15756>>2]=L;v[i+15752>>2]=I;v[i+15744>>2]=0;v[i+15748>>2]=0;v[i+15736>>2]=10;v[i+15740>>2]=0;v[i+15728>>2]=20;v[i+15732>>2]=0;v[i+15724>>2]=L;v[i+15720>>2]=I;v[i+15692>>2]=0;v[i+15696>>2]=0;v[i+15688>>2]=L;ic(i+15608|0,0,80);f=i+15540|0;v[f>>2]=0;v[f+4>>2]=0;f=i+15532|0;v[f>>2]=10;v[f+4>>2]=0;f=i+15524|0;v[f>>2]=8;v[f+4>>2]=0;v[i+15520>>2]=L;v[i+15516>>2]=I;v[i+3908>>2]=c;v[i+3904>>2]=a;ic(i+11660|0,0,3856);f=w[a+184|0];v[i+11664>>2]=O;t[i+11661|0]=f;Q=i+15516|0;v[i+11656>>2]=Q;R=i+11648|0;v[i+11652>>2]=R;v[i+11648>>2]=a;ic(i+7792|0,0,3856);v[i+7796>>2]=O;t[i+7793|0]=f;v[i+7788>>2]=Q;v[i+7784>>2]=R;v[i+7780>>2]=a;ic(i+3924|0,0,3856);v[i+3928>>2]=O;t[i+3925|0]=f;v[i+3920>>2]=Q;v[i+3916>>2]=R;v[i+3912>>2]=a;v[i+15548>>2]=v[a+40>>2];M=48;f=v[a+48>>2];v[i+15556>>2]=O;v[i+15552>>2]=f;l=v[d+4>>2];f=v[d>>2];v[i+15588>>2]=a+240;v[i+15584>>2]=g;v[i+15560>>2]=f;v[i+15564>>2]=l;v[i+15580>>2]=i+15688;v[i+15576>>2]=i+15720;v[i+15572>>2]=i+15752;t[i+15570|0]=w[a+185|0];f=v[a+228>>2];v[i+15592>>2]=f;l=v[a+232>>2];v[i+15604>>2]=6554;v[i+15596>>2]=l;t[i+15648|0]=0;u[i+15568>>1]=0;t[i+15571|0]=1;g=f;f=f>>31;g=g+f^f;f=l>>31;f=f+l^f;v[i+15600>>2]=((f|0)<(g|0)?g:f)<<1;f=w[a+9|0];t[i+15791|0]=(f|0)!=0;v[h>>2]=v[v[o+536>>2]+540>>2]<<16;M=f?v[v[o+532>>2]+1556>>2]:M;v[i+32>>2]=0;l=Fd(I,20,i+32|0);a:{b:{c:{d:{if(!v[i+32>>2]){v[l+4>>2]=L;v[l>>2]=I;f=Cc(I,8,0,M,0,i+32|0);v[l+8>>2]=f;if(!v[i+32>>2]){break d}if(l){Ub[v[I+8>>2]](I,l)}}k=64;l=0;b=1;break c}v[l+16>>2]=M;o=l;v[l+12>>2]=f;v[i+32>>2]=0;J=Cc(I,1,0,272,0,i+32|0);f=v[a+4>>2];if(v[i+32>>2]){b=0;if(f){break a}k=64;break b}if(f){b=0;break a}S=j<<16;T=i+7780|0;G=i+3912|0;V=i+15688|4;f=v[b+4>>2];v[J>>2]=v[b>>2];v[J+4>>2]=f;f=v[b+12>>2];v[J+8>>2]=v[b+8>>2];v[J+12>>2]=f;N=a+92|0;W=i+44|0;X=i|4;P=i+15608|0;U=2e7;D=J;b=0;e:while(1){F=0;while(1){f=b;k=D+12|0;b=v[k>>2];x=v[D+8>>2];f:{if(b>>>0>=x>>>0){g=H?11:14;j=b;break f}j=b+1|0;v[k>>2]=j;g:{g=w[b|0];switch(g-11|0){case 0:case 3:break g;default:break f}}g=w[a+9|0]?0:g}s=w[a+8|0];if(s){h:{if(f&255){break h}i:{switch(g-1|0){case 0:case 2:case 9:case 10:case 11:case 12:case 13:break h;default:break i}}if(g>>>0>31){break h}v[o+12>>2]=v[o+8>>2];b=0;continue}m=(g|0)==12;b=g>>>0>31;K=K&255?b?K:m?K:0:K;E=(E|0)<1?E:(g|0)==10?E:(g|0)==11?E:m?E:b?E:0}if(v[a+4>>2]){b=0;break a}U=U-1|0;if(!U){b=0;k=18;break b}b=f;j:{k:{l:{m:{n:{o:{p:{switch(g|0){case 15:if(!w[a+9|0]){break l}if(w[a+93|0]){break j}b=v[o+12>>2];if((b|0)==v[o+8>>2]){g=0;b=v[l+4>>2];if(!b|v[b>>2]){break m}v[b>>2]=161;v[a+120>>2]=0;break l}if(v[b-4>>2]!=2){g=0;b=v[l+4>>2];if(!b|v[b>>2]){break m}v[b>>2]=160;break m}b=b-8|0;v[o+12>>2]=b;g=v[b>>2];if((g|0)>=0){break m}break l;case 16:if(!w[a+9|0]){break l}k=18;b=0;if(!v[a+96>>2]){break c}q:{if(!(Ub[v[v[a+548>>2]+12>>2]](N,v[a+120>>2],v[a+124>>2],v[a+128>>2])|0)){break q}g=Ub[v[v[a+548>>2]+16>>2]](N,v[a+120>>2],v[a+124>>2],v[a+128>>2])|0;if(!g){break q}k=g;break c}g=v[o+12>>2];r:{if((g|0)==v[o+8>>2]){g=0;b=v[l+4>>2];if(!b|v[b>>2]){break r}v[b>>2]=161;break r}if(v[g-4>>2]!=2){g=0;b=v[l+4>>2];if(!b|v[b>>2]){break r}v[b>>2]=160;break r}g=g-8|0;v[l+12>>2]=g;g=v[g>>2];if(M>>>0>>0){break c}}n=0;k=v[l+12>>2];b=v[l+8>>2];j=k-b>>3;C=B(v[N+20>>2],g);if(g){s=j-C|0;m=s+g|0;while(1){q=v[N+24>>2];x=k-b>>3;z=n+s|0;s:{if(x>>>0<=z>>>0){j=0;A=v[l+4>>2];if(!A|v[A>>2]){break s}v[A>>2]=130;break s}t:{u:{v:{j=(z<<3)+b|0;switch(v[j+4>>2]-1|0){case 0:break u;case 1:break v;default:break t}}j=v[j>>2]<<16;break s}j=v[j>>2];j=((j>>31)+j|0)- -8192>>14;break s}j=v[j>>2]}A=1;if(y[N+20>>2]>=2){while(1){x=v[q+4>>2];w:{if(k-b>>3>>>0<=m>>>0){b=0;k=v[l+4>>2];if(!k|v[k>>2]){break w}v[k>>2]=130;break w}x:{y:{z:{b=(m<<3)+b|0;switch(v[b+4>>2]-1|0){case 0:break y;case 1:break z;default:break x}}b=v[b>>2]<<16;break w}b=v[b>>2];b=((b>>31)+b|0)- -8192>>14;break w}b=v[b>>2]}m=m+1|0;q=q+4|0;j=Ac(x,b)+j|0;k=v[l+12>>2];b=v[l+8>>2];A=A+1|0;if(A>>>0>2]){continue}break}x=k-b>>3}A:{if(x>>>0>>0){j=v[l+4>>2];if(!j|v[j>>2]){break A}v[j>>2]=130;break A}k=z<<3;v[k+b>>2]=j;b=v[l+8>>2];v[(k+b|0)+4>>2]=0}k=v[l+12>>2];n=n+1|0;if((n|0)!=(g|0)){continue}break}j=k-b>>3}b=C-g|0;B:{if(j>>>0>>0){b=v[l+4>>2];if(!b|v[b>>2]){break B}v[b>>2]=161;break B}v[l+12>>2]=k-(b<<3)}t[a+93|0]=1;b=f;continue;case 1:case 18:g=a;j=l;k=i+15752|0;m=h;n=i+15791|0;C:{if(!s){if(w[i+15692|0]){break l}f=0;break C}f=v[v[p+32>>2]+4>>2]}Yz(g,j,k,m,n,f);if(!w[p+548|0]){break k}break n;case 3:case 23:g=a;j=l;k=i+15720|0;m=h;n=i+15791|0;D:{if(!s){if(w[i+15692|0]){break l}f=0;break D}f=v[v[p+32>>2]>>2]}Yz(g,j,k,m,n,f);if(w[p+548|0]){break n}break k;case 4:g=v[o+12>>2];m=v[o+8>>2];if(!(w[i+15791|0]|g-m>>3>>>0<2)){E:{if((g|0)==(m|0)){k=0;b=v[l+4>>2];if(!b|v[b>>2]){break E}v[b>>2]=130;break E}F:{switch(v[m+4>>2]-1|0){case 1:k=v[m>>2]<<16;break E;case 0:b=v[m>>2];k=((b>>31)+b|0)- -8192>>14;break E;default:break F}}k=v[m>>2]}v[h>>2]=k+S}t[i+15791|0]=1;if(w[p+548|0]){break n}j=v[i+15976>>2];G:{if((g|0)==(m|0)){g=0;b=v[l+4>>2];if(!b|v[b>>2]){break G}v[b>>2]=161;break G}b=g-8|0;v[o+12>>2]=b;H:{switch(v[b+4>>2]-1|0){case 1:g=v[b>>2]<<16;break G;case 0:b=v[b>>2];g=((b>>31)+b|0)- -8192>>14;break G;default:break H}}g=v[b>>2]}g=g+j|0;v[i+15976>>2]=g;if(v[p+468>>2]){break l}b=v[i+15980>>2];if(w[i+15568|0]){t[i+15569|0]=1;yk(i+3904|0,v[i+15640>>2],v[i+15644>>2]);if(w[i+15648|0]){mm(i+3904|0,G,P,v[i+15616>>2],v[i+15620>>2],1)}t[i+15648|0]=0;u[i+15568>>1]=0}v[i+15644>>2]=g;v[i+15624>>2]=b;v[i+15640>>2]=b;v[i+15628>>2]=g;t[i+15571|0]=1;b=v[i+15580>>2];if(!(w[b+5|0]?0:w[i+3924|0])){lm(G,v[i+15572>>2],v[i+15576>>2],b,v[i+15584>>2],0)}gc(T,G,3868);break l;case 5:I:{k=v[o+12>>2];b=v[o+8>>2];g=k-b|0;if(!g){break I}x=g>>3;g=0;while(1){m=v[i+15980>>2];n=k-b>>3;J:{if(n>>>0<=g>>>0){k=0;j=v[l+4>>2];if(!j|v[j>>2]){break J}v[j>>2]=130;break J}K:{L:{M:{j=(g<<3)+b|0;switch(v[j+4>>2]-1|0){case 1:break M;case 0:break L;default:break K}}k=v[j>>2]<<16;break J}j=v[j>>2];k=((j>>31)+j|0)- -8192>>14;break J}k=v[j>>2]}k=k+m|0;v[i+15980>>2]=k;m=v[i+15976>>2];j=g|1;N:{if(j>>>0>=n>>>0){b=0;j=v[l+4>>2];if(!j|v[j>>2]){break N}v[j>>2]=130;k=v[i+15980>>2];break N}O:{P:{Q:{b=(j<<3)+b|0;switch(v[b+4>>2]-1|0){case 0:break P;case 1:break Q;default:break O}}b=v[b>>2]<<16;break N}b=v[b>>2];b=((b>>31)+b|0)- -8192>>14;break N}b=v[b>>2]}b=b+m|0;v[i+15976>>2]=b;yk(i+3904|0,k,b);b=v[o+8>>2];g=g+2|0;if(x>>>0<=g>>>0){break I}k=v[o+12>>2];continue}}v[o+12>>2]=b;b=f;continue;case 6:case 7:j=o;r=v[j+12>>2];k=v[j+8>>2];b=r-k|0;if(b){b=b>>3;m=b>>>0>1?b:1;b=(g|0)==6;g=0;while(1){R:{if(r-k>>3>>>0<=g>>>0){k=0;n=v[l+4>>2];if(!n|v[n>>2]){break R}v[n>>2]=130;break R}S:{T:{U:{k=(g<<3)+k|0;switch(v[k+4>>2]-1|0){case 0:break T;case 1:break U;default:break S}}k=v[k>>2]<<16;break R}k=v[k>>2];k=((k>>31)+k|0)- -8192>>14;break R}k=v[k>>2]}V:{if(b&255){v[i+15980>>2]=v[i+15980>>2]+k;break V}v[i+15976>>2]=v[i+15976>>2]+k}yk(i+3904|0,v[i+15980>>2],v[i+15976>>2]);g=g+1|0;if((m|0)!=(g|0)){b=b^1;r=v[o+12>>2];k=v[o+8>>2];continue}break}k=v[o+8>>2]}v[j+12>>2]=k;b=f;continue;case 8:case 24:k=6;b=0;j=v[o+12>>2];r=v[o+8>>2];s=j-r>>3;if(s>>>0<6){break o}while(1){m=k;C=j-r>>3;W:{if(C>>>0<=b>>>0){j=0;k=v[l+4>>2];if(!k|v[k>>2]){break W}v[k>>2]=130;break W}X:{Y:{Z:{j=(b<<3)+r|0;switch(v[j+4>>2]-1|0){case 0:break Y;case 1:break Z;default:break X}}j=v[j>>2]<<16;break W}j=v[j>>2];j=((j>>31)+j|0)- -8192>>14;break W}j=v[j>>2]}q=v[i+15980>>2];k=b|1;_:{if(k>>>0>=C>>>0){n=0;k=v[l+4>>2];if(!k|v[k>>2]){break _}v[k>>2]=130;break _}$:{aa:{ba:{k=(k<<3)+r|0;switch(v[k+4>>2]-1|0){case 0:break aa;case 1:break ba;default:break $}}n=v[k>>2]<<16;break _}k=v[k>>2];n=((k>>31)+k|0)- -8192>>14;break _}n=v[k>>2]}x=v[i+15976>>2];k=b+2|0;ca:{if(k>>>0>=C>>>0){k=0;A=v[l+4>>2];if(!A|v[A>>2]){break ca}v[A>>2]=130;break ca}da:{ea:{fa:{k=(k<<3)+r|0;switch(v[k+4>>2]-1|0){case 0:break ea;case 1:break fa;default:break da}}k=v[k>>2]<<16;break ca}k=v[k>>2];k=((k>>31)+k|0)- -8192>>14;break ca}k=v[k>>2]}A=j+q|0;j=b+3|0;ga:{if(j>>>0>=C>>>0){z=0;j=v[l+4>>2];if(!j|v[j>>2]){break ga}v[j>>2]=130;break ga}ha:{ia:{ja:{j=(j<<3)+r|0;switch(v[j+4>>2]-1|0){case 0:break ia;case 1:break ja;default:break ha}}z=v[j>>2]<<16;break ga}j=v[j>>2];z=((j>>31)+j|0)- -8192>>14;break ga}z=v[j>>2]}q=n+x|0;x=k+A|0;j=b+4|0;ka:{if(j>>>0>=C>>>0){k=0;j=v[l+4>>2];if(!j|v[j>>2]){break ka}v[j>>2]=130;break ka}la:{ma:{na:{j=(j<<3)+r|0;switch(v[j+4>>2]-1|0){case 0:break ma;case 1:break na;default:break la}}k=v[j>>2]<<16;break ka}j=v[j>>2];k=((j>>31)+j|0)- -8192>>14;break ka}k=v[j>>2]}n=q+z|0;k=k+x|0;b=b+5|0;oa:{if(b>>>0>=C>>>0){b=0;j=v[l+4>>2];if(!j|v[j>>2]){break oa}v[j>>2]=130;break oa}pa:{qa:{ra:{b=(b<<3)+r|0;switch(v[b+4>>2]-1|0){case 0:break qa;case 1:break ra;default:break pa}}b=v[b>>2]<<16;break oa}b=v[b>>2];b=((b>>31)+b|0)- -8192>>14;break oa}b=v[b>>2]}b=b+n|0;Ao(i+3904|0,A,q,x,n,k,b);v[i+15976>>2]=b;v[i+15980>>2]=k;k=m+6|0;if(s>>>0>>0){b=m;break o}else{j=v[o+12>>2];r=v[o+8>>2];b=m;continue}};default:if(g>>>0<=246){b=v[l+12>>2];if((b|0)==(v[l+8>>2]+(v[l+16>>2]<<3)|0)){b=f;f=v[l+4>>2];if(!f|v[f>>2]){continue}v[f>>2]=130;continue}v[b>>2]=g-139;b=v[o+12>>2];v[b+4>>2]=2;v[o+12>>2]=b+8;b=f;continue}if(g>>>0<=250){sa:{if(j>>>0>>0){v[k>>2]=j+1;k=w[j|0];break sa}k=0;b=v[D>>2];if(!b|v[b>>2]){break sa}v[b>>2]=85}b=v[l+12>>2];if((b|0)==(v[l+8>>2]+(v[l+16>>2]<<3)|0)){b=f;f=v[l+4>>2];if(!f|v[f>>2]){continue}v[f>>2]=130;continue}v[b>>2]=((g<<8)+k|0)-63124;b=v[o+12>>2];v[b+4>>2]=2;v[o+12>>2]=b+8;b=f;continue}if((g|0)!=255){g=0-(g<<8)|0;ta:{if(j>>>0>>0){v[k>>2]=j+1;b=w[j|0];break ta}b=0;j=v[D>>2];if(!j|v[j>>2]){break ta}v[j>>2]=85}xs(l,(g-b|0)+64148|0);b=f;continue}ua:{if(j>>>0>>0){g=j+1|0;v[k>>2]=g;q=w[j|0];break ua}q=0;b=v[D>>2];if(!(!b|v[b>>2])){v[b>>2]=85}g=j}va:{if(g>>>0>>0){b=g+1|0;v[k>>2]=b;j=w[g|0];break va}j=0;b=v[D>>2];if(!(!b|v[b>>2])){v[b>>2]=85}b=g}wa:{if(b>>>0>>0){g=b+1|0;v[k>>2]=g;n=w[b|0];break wa}n=0;g=v[D>>2];if(!(!g|v[g>>2])){v[g>>2]=85}g=b}xa:{if(g>>>0>>0){v[k>>2]=g+1;g=w[g|0];break xa}g=0;b=v[D>>2];if(!b|v[b>>2]){break xa}v[b>>2]=85}b=j<<16|q<<24|n<<8|g;if(s){xs(l,b);K=b+32e3>>>0<64001?K:K&255?K:1;b=f;continue}Tf(l,b);b=f;continue;case 28:ya:{if(j>>>0>>0){g=j+1|0;v[k>>2]=g;b=w[j|0];break ya}b=0;g=v[D>>2];if(!(!g|v[g>>2])){v[g>>2]=85}g=j}za:{if(g>>>0>>0){v[k>>2]=g+1;g=w[g|0];break za}g=0;j=v[D>>2];if(!j|v[j>>2]){break za}v[j>>2]=85}j=v[l+12>>2];if((j|0)==(v[l+8>>2]+(v[l+16>>2]<<3)|0)){b=f;f=v[l+4>>2];if(!f|v[f>>2]){continue}v[f>>2]=130;continue}v[j>>2]=(g<<16|b<<24)>>16;b=v[o+12>>2];v[b+4>>2]=2;v[o+12>>2]=b+8;b=f;continue;case 30:case 31:x=o;j=v[o+8>>2];b=v[o+12>>2]-j>>3;A=b&-3;b=b&2;if(A>>>0>b>>>0){z=(g|0)==31;while(1){Aa:{if(z&255){C=v[o+8>>2];s=v[o+12>>2]-C>>3;Ba:{if(s>>>0<=b>>>0){r=0;g=v[l+4>>2];if(!g|v[g>>2]){break Ba}v[g>>2]=130;break Ba}Ca:{Da:{Ea:{g=C+(b<<3)|0;switch(v[g+4>>2]-1|0){case 0:break Da;case 1:break Ea;default:break Ca}}r=v[g>>2]<<16;break Ba}g=v[g>>2];r=((g>>31)+g|0)- -8192>>14;break Ba}r=v[g>>2]}q=v[i+15980>>2];k=v[i+15976>>2];g=b+1|0;Fa:{if(s>>>0<=g>>>0){j=0;m=v[l+4>>2];if(!m|v[m>>2]){break Fa}v[m>>2]=130;break Fa}Ga:{Ha:{Ia:{j=C+(g<<3)|0;switch(v[j+4>>2]-1|0){case 0:break Ha;case 1:break Ia;default:break Ga}}j=v[j>>2]<<16;break Fa}j=v[j>>2];j=((j>>31)+j|0)- -8192>>14;break Fa}j=v[j>>2]}m=b+2|0;Ja:{if(m>>>0>=s>>>0){n=0;m=v[l+4>>2];if(!m|v[m>>2]){break Ja}v[m>>2]=130;break Ja}Ka:{La:{Ma:{m=C+(m<<3)|0;switch(v[m+4>>2]-1|0){case 0:break La;case 1:break Ma;default:break Ka}}n=v[m>>2]<<16;break Ja}m=v[m>>2];n=((m>>31)+m|0)- -8192>>14;break Ja}n=v[m>>2]}r=q+r|0;q=k+n|0;m=b+3|0;Na:{if(m>>>0>=s>>>0){z=0;m=v[l+4>>2];if(!m|v[m>>2]){break Na}v[m>>2]=130;break Na}Oa:{Pa:{Qa:{m=C+(m<<3)|0;switch(v[m+4>>2]-1|0){case 0:break Pa;case 1:break Qa;default:break Oa}}z=v[m>>2]<<16;break Na}m=v[m>>2];z=((m>>31)+m|0)- -8192>>14;break Na}z=v[m>>2]}n=j+r|0;j=q+z|0;z=0;if((A-b|0)!=5){g=b;m=n;break Aa}b=b+4|0;Ra:{if(b>>>0>=s>>>0){m=v[l+4>>2];b=0;if(!m|v[m>>2]){break Ra}v[m>>2]=130;m=n;break Aa}Sa:{Ta:{Ua:{b=C+(b<<3)|0;switch(v[b+4>>2]-1|0){case 0:break Ta;case 1:break Ua;default:break Sa}}m=(v[b>>2]<<16)+n|0;break Aa}b=v[b>>2];m=(((b>>31)+b|0)- -8192>>14)+n|0;break Aa}b=v[b>>2]}m=b+n|0;break Aa}r=v[i+15980>>2];C=v[o+8>>2];s=v[o+12>>2]-C>>3;Va:{if(s>>>0<=b>>>0){k=0;g=v[l+4>>2];if(!g|v[g>>2]){break Va}v[g>>2]=130;break Va}Wa:{Xa:{Ya:{g=C+(b<<3)|0;switch(v[g+4>>2]-1|0){case 0:break Xa;case 1:break Ya;default:break Wa}}k=v[g>>2]<<16;break Va}g=v[g>>2];k=((g>>31)+g|0)- -8192>>14;break Va}k=v[g>>2]}n=v[i+15976>>2];g=b+1|0;Za:{if(s>>>0<=g>>>0){m=0;j=v[l+4>>2];if(!j|v[j>>2]){break Za}v[j>>2]=130;break Za}_a:{$a:{ab:{j=C+(g<<3)|0;switch(v[j+4>>2]-1|0){case 0:break $a;case 1:break ab;default:break _a}}m=v[j>>2]<<16;break Za}j=v[j>>2];m=((j>>31)+j|0)- -8192>>14;break Za}m=v[j>>2]}j=b+2|0;bb:{if(j>>>0>=s>>>0){z=0;j=v[l+4>>2];if(!j|v[j>>2]){break bb}v[j>>2]=130;break bb}cb:{db:{eb:{j=C+(j<<3)|0;switch(v[j+4>>2]-1|0){case 0:break db;case 1:break eb;default:break cb}}z=v[j>>2]<<16;break bb}j=v[j>>2];z=((j>>31)+j|0)- -8192>>14;break bb}z=v[j>>2]}k=k+n|0;n=m+r|0;j=b+3|0;fb:{if(j>>>0>=s>>>0){m=0;j=v[l+4>>2];if(!j|v[j>>2]){break fb}v[j>>2]=130;break fb}gb:{hb:{ib:{j=C+(j<<3)|0;switch(v[j+4>>2]-1|0){case 0:break hb;case 1:break ib;default:break gb}}m=v[j>>2]<<16;break fb}j=v[j>>2];m=((j>>31)+j|0)- -8192>>14;break fb}m=v[j>>2]}q=k+z|0;m=m+n|0;z=1;if((A-b|0)!=5){g=b;j=q;break Aa}b=b+4|0;jb:{if(b>>>0>=s>>>0){b=0;j=v[l+4>>2];if(!j|v[j>>2]){break jb}v[j>>2]=130;break jb}kb:{lb:{mb:{b=C+(b<<3)|0;switch(v[b+4>>2]-1|0){case 0:break lb;case 1:break mb;default:break kb}}b=v[b>>2]<<16;break jb}b=v[b>>2];b=((b>>31)+b|0)- -8192>>14;break jb}b=v[b>>2]}j=b+q|0}Ao(i+3904|0,r,k,n,q,m,j);v[i+15976>>2]=j;v[i+15980>>2]=m;b=g+4|0;if(A>>>0>b>>>0){continue}break}j=v[o+8>>2]}v[x+12>>2]=j;b=f;continue;case 27:j=o;b=v[j+8>>2];A=v[j+12>>2]-b>>3;s=A&-3;g=A&2;if(s>>>0>g>>>0){while(1){nb:{if(A-g&1){r=v[o+8>>2];b=v[o+12>>2]-r>>3;ob:{if(g>>>0>=b>>>0){k=0;m=v[l+4>>2];if(!m|v[m>>2]){break ob}v[m>>2]=130;break ob}pb:{qb:{rb:{k=(g<<3)+r|0;switch(v[k+4>>2]-1|0){case 0:break qb;case 1:break rb;default:break pb}}k=v[k>>2]<<16;break ob}k=v[k>>2];k=((k>>31)+k|0)- -8192>>14;break ob}k=v[k>>2]}g=g+1|0;n=v[i+15976>>2]+k|0;break nb}r=v[o+8>>2];b=v[o+12>>2]-r>>3;n=v[i+15976>>2]}sb:{if(b>>>0<=g>>>0){k=0;m=v[l+4>>2];if(!m|v[m>>2]){break sb}v[m>>2]=130;break sb}tb:{ub:{vb:{k=(g<<3)+r|0;switch(v[k+4>>2]-1|0){case 0:break ub;case 1:break vb;default:break tb}}k=v[k>>2]<<16;break sb}k=v[k>>2];k=((k>>31)+k|0)- -8192>>14;break sb}k=v[k>>2]}x=v[i+15980>>2];m=g+1|0;wb:{if(m>>>0>=b>>>0){m=0;q=v[l+4>>2];if(!q|v[q>>2]){break wb}v[q>>2]=130;break wb}xb:{yb:{zb:{m=(m<<3)+r|0;switch(v[m+4>>2]-1|0){case 0:break yb;case 1:break zb;default:break xb}}m=v[m>>2]<<16;break wb}m=v[m>>2];m=((m>>31)+m|0)- -8192>>14;break wb}m=v[m>>2]}q=k+x|0;k=g+2|0;Ab:{if(k>>>0>=b>>>0){k=0;x=v[l+4>>2];if(!x|v[x>>2]){break Ab}v[x>>2]=130;break Ab}Bb:{Cb:{Db:{k=(k<<3)+r|0;switch(v[k+4>>2]-1|0){case 0:break Cb;case 1:break Db;default:break Bb}}k=v[k>>2]<<16;break Ab}k=v[k>>2];k=((k>>31)+k|0)- -8192>>14;break Ab}k=v[k>>2]}m=m+q|0;x=k+n|0;k=b;b=g+3|0;Eb:{if(k>>>0<=b>>>0){b=0;k=v[l+4>>2];if(!k|v[k>>2]){break Eb}v[k>>2]=130;break Eb}Fb:{Gb:{Hb:{b=(b<<3)+r|0;switch(v[b+4>>2]-1|0){case 0:break Gb;case 1:break Hb;default:break Fb}}b=v[b>>2]<<16;break Eb}b=v[b>>2];b=((b>>31)+b|0)- -8192>>14;break Eb}b=v[b>>2]}b=b+m|0;Ao(i+3904|0,q,n,m,x,b,x);v[i+15976>>2]=x;v[i+15980>>2]=b;g=g+4|0;if(s>>>0>g>>>0){continue}break}b=v[o+8>>2]}v[j+12>>2]=b;b=f;continue;case 26:j=o;b=v[j+8>>2];A=v[j+12>>2]-b>>3;s=A&-3;g=A&2;if(s>>>0>g>>>0){while(1){Ib:{if(A-g&1){r=v[o+8>>2];b=v[o+12>>2]-r>>3;Jb:{if(g>>>0>=b>>>0){k=0;m=v[l+4>>2];if(!m|v[m>>2]){break Jb}v[m>>2]=130;break Jb}Kb:{Lb:{Mb:{k=(g<<3)+r|0;switch(v[k+4>>2]-1|0){case 0:break Lb;case 1:break Mb;default:break Kb}}k=v[k>>2]<<16;break Jb}k=v[k>>2];k=((k>>31)+k|0)- -8192>>14;break Jb}k=v[k>>2]}g=g+1|0;x=v[i+15980>>2]+k|0;break Ib}r=v[o+8>>2];b=v[o+12>>2]-r>>3;x=v[i+15980>>2]}Nb:{if(b>>>0<=g>>>0){k=0;m=v[l+4>>2];if(!m|v[m>>2]){break Nb}v[m>>2]=130;break Nb}Ob:{Pb:{Qb:{k=(g<<3)+r|0;switch(v[k+4>>2]-1|0){case 0:break Pb;case 1:break Qb;default:break Ob}}k=v[k>>2]<<16;break Nb}k=v[k>>2];k=((k>>31)+k|0)- -8192>>14;break Nb}k=v[k>>2]}n=v[i+15976>>2];m=g+1|0;Rb:{if(m>>>0>=b>>>0){m=0;q=v[l+4>>2];if(!q|v[q>>2]){break Rb}v[q>>2]=130;break Rb}Sb:{Tb:{Ub:{m=(m<<3)+r|0;switch(v[m+4>>2]-1|0){case 0:break Tb;case 1:break Ub;default:break Sb}}m=v[m>>2]<<16;break Rb}m=v[m>>2];m=((m>>31)+m|0)- -8192>>14;break Rb}m=v[m>>2]}q=k+n|0;k=g+2|0;Vb:{if(k>>>0>=b>>>0){n=0;k=v[l+4>>2];if(!k|v[k>>2]){break Vb}v[k>>2]=130;break Vb}Wb:{Xb:{Yb:{k=(k<<3)+r|0;switch(v[k+4>>2]-1|0){case 0:break Xb;case 1:break Yb;default:break Wb}}n=v[k>>2]<<16;break Vb}k=v[k>>2];n=((k>>31)+k|0)- -8192>>14;break Vb}n=v[k>>2]}C=m+x|0;m=n+q|0;k=b;b=g+3|0;Zb:{if(k>>>0<=b>>>0){b=0;k=v[l+4>>2];if(!k|v[k>>2]){break Zb}v[k>>2]=130;break Zb}_b:{$b:{ac:{b=(b<<3)+r|0;switch(v[b+4>>2]-1|0){case 0:break $b;case 1:break ac;default:break _b}}b=v[b>>2]<<16;break Zb}b=v[b>>2];b=((b>>31)+b|0)- -8192>>14;break Zb}b=v[b>>2]}b=b+m|0;Ao(i+3904|0,x,q,C,m,C,b);v[i+15976>>2]=b;v[i+15980>>2]=C;g=g+4|0;if(s>>>0>g>>>0){continue}break}b=v[o+8>>2]}v[j+12>>2]=b;b=f;continue;case 25:g=0;k=v[o+12>>2];b=v[o+8>>2];A=k-b>>3;if(A>>>0>6){while(1){m=v[i+15980>>2];n=k-b>>3;bc:{if(n>>>0<=g>>>0){k=0;j=v[l+4>>2];if(!j|v[j>>2]){break bc}v[j>>2]=130;break bc}cc:{dc:{ec:{j=(g<<3)+b|0;switch(v[j+4>>2]-1|0){case 0:break dc;case 1:break ec;default:break cc}}k=v[j>>2]<<16;break bc}j=v[j>>2];k=((j>>31)+j|0)- -8192>>14;break bc}k=v[j>>2]}k=k+m|0;v[i+15980>>2]=k;m=v[i+15976>>2];j=g|1;fc:{if(j>>>0>=n>>>0){b=0;j=v[l+4>>2];if(!j|v[j>>2]){break fc}v[j>>2]=130;k=v[i+15980>>2];break fc}gc:{hc:{ic:{b=(j<<3)+b|0;switch(v[b+4>>2]-1|0){case 0:break hc;case 1:break ic;default:break gc}}b=v[b>>2]<<16;break fc}b=v[b>>2];b=((b>>31)+b|0)- -8192>>14;break fc}b=v[b>>2]}b=b+m|0;v[i+15976>>2]=b;yk(i+3904|0,k,b);j=g+2|0;if(A>>>0>g+8>>>0){k=v[o+12>>2];b=v[o+8>>2];g=j;continue}break}g=j}if(g>>>0>>0){while(1){z=v[o+8>>2];C=v[o+12>>2]-z>>3;jc:{if(C>>>0<=g>>>0){r=0;b=v[l+4>>2];if(!b|v[b>>2]){break jc}v[b>>2]=130;break jc}kc:{lc:{mc:{b=z+(g<<3)|0;switch(v[b+4>>2]-1|0){case 0:break lc;case 1:break mc;default:break kc}}r=v[b>>2]<<16;break jc}b=v[b>>2];r=((b>>31)+b|0)- -8192>>14;break jc}r=v[b>>2]}k=v[i+15980>>2];b=g|1;nc:{if(b>>>0>=C>>>0){j=0;b=v[l+4>>2];if(!b|v[b>>2]){break nc}v[b>>2]=130;break nc}oc:{pc:{qc:{b=z+(b<<3)|0;switch(v[b+4>>2]-1|0){case 0:break pc;case 1:break qc;default:break oc}}j=v[b>>2]<<16;break nc}b=v[b>>2];j=((b>>31)+b|0)- -8192>>14;break nc}j=v[b>>2]}m=v[i+15976>>2];b=g+2|0;rc:{if(b>>>0>=C>>>0){n=0;b=v[l+4>>2];if(!b|v[b>>2]){break rc}v[b>>2]=130;break rc}sc:{tc:{uc:{b=z+(b<<3)|0;switch(v[b+4>>2]-1|0){case 0:break tc;case 1:break uc;default:break sc}}n=v[b>>2]<<16;break rc}b=v[b>>2];n=((b>>31)+b|0)- -8192>>14;break rc}n=v[b>>2]}s=k+r|0;b=g+3|0;vc:{if(b>>>0>=C>>>0){k=0;b=v[l+4>>2];if(!b|v[b>>2]){break vc}v[b>>2]=130;break vc}wc:{xc:{yc:{b=z+(b<<3)|0;switch(v[b+4>>2]-1|0){case 0:break xc;case 1:break yc;default:break wc}}k=v[b>>2]<<16;break vc}b=v[b>>2];k=((b>>31)+b|0)- -8192>>14;break vc}k=v[b>>2]}q=j+m|0;x=n+s|0;b=g+4|0;zc:{if(b>>>0>=C>>>0){n=0;b=v[l+4>>2];if(!b|v[b>>2]){break zc}v[b>>2]=130;break zc}Ac:{Bc:{Cc:{b=z+(b<<3)|0;switch(v[b+4>>2]-1|0){case 0:break Bc;case 1:break Cc;default:break Ac}}n=v[b>>2]<<16;break zc}b=v[b>>2];n=((b>>31)+b|0)- -8192>>14;break zc}n=v[b>>2]}m=k+q|0;k=n+x|0;b=g+5|0;Dc:{if(b>>>0>=C>>>0){b=0;j=v[l+4>>2];if(!j|v[j>>2]){break Dc}v[j>>2]=130;break Dc}Ec:{Fc:{Gc:{b=z+(b<<3)|0;switch(v[b+4>>2]-1|0){case 0:break Fc;case 1:break Gc;default:break Ec}}b=v[b>>2]<<16;break Dc}b=v[b>>2];b=((b>>31)+b|0)- -8192>>14;break Dc}b=v[b>>2]}b=b+m|0;Ao(i+3904|0,s,q,x,m,k,b);v[i+15976>>2]=b;v[i+15980>>2]=k;g=g+6|0;if(A>>>0>g>>>0){continue}break}}v[o+12>>2]=v[o+8>>2];b=f;continue;case 22:g=v[o+12>>2];m=v[o+8>>2];if(!(w[i+15791|0]|g-m>>3>>>0<2)){Hc:{if((g|0)==(m|0)){k=0;b=v[l+4>>2];if(!b|v[b>>2]){break Hc}v[b>>2]=130;break Hc}Ic:{switch(v[m+4>>2]-1|0){case 1:k=v[m>>2]<<16;break Hc;case 0:b=v[m>>2];k=((b>>31)+b|0)- -8192>>14;break Hc;default:break Ic}}k=v[m>>2]}v[h>>2]=k+S}t[i+15791|0]=1;if(w[p+548|0]){break n}j=v[i+15980>>2];Jc:{if((g|0)==(m|0)){g=0;b=v[l+4>>2];if(!b|v[b>>2]){break Jc}v[b>>2]=161;break Jc}b=g-8|0;v[o+12>>2]=b;Kc:{switch(v[b+4>>2]-1|0){case 1:g=v[b>>2]<<16;break Jc;case 0:b=v[b>>2];g=((b>>31)+b|0)- -8192>>14;break Jc;default:break Kc}}g=v[b>>2]}g=g+j|0;v[i+15980>>2]=g;if(v[p+468>>2]){break l}b=v[i+15976>>2];if(w[i+15568|0]){t[i+15569|0]=1;yk(i+3904|0,v[i+15640>>2],v[i+15644>>2]);if(w[i+15648|0]){mm(i+3904|0,G,P,v[i+15616>>2],v[i+15620>>2],1)}t[i+15648|0]=0;u[i+15568>>1]=0}v[i+15644>>2]=b;v[i+15624>>2]=g;v[i+15640>>2]=g;v[i+15628>>2]=b;t[i+15571|0]=1;b=v[i+15580>>2];if(!(w[b+5|0]?0:w[i+3924|0])){lm(G,v[i+15572>>2],v[i+15576>>2],b,v[i+15584>>2],0)}gc(T,G,3868);break l;case 21:m=v[o+12>>2];n=v[o+8>>2];if(!(w[i+15791|0]|m-n>>3>>>0<3)){Lc:{if((m|0)==(n|0)){k=0;b=v[l+4>>2];if(!b|v[b>>2]){break Lc}v[b>>2]=130;break Lc}Mc:{switch(v[n+4>>2]-1|0){case 1:k=v[n>>2]<<16;break Lc;case 0:b=v[n>>2];k=((b>>31)+b|0)- -8192>>14;break Lc;default:break Mc}}k=v[n>>2]}v[h>>2]=k+S}t[i+15791|0]=1;if(w[p+548|0]){break n}j=v[i+15976>>2];Nc:{Oc:{Pc:{if((m|0)==(n|0)){b=v[l+4>>2];if(!(!b|v[b>>2])){v[b>>2]=161}v[i+15976>>2]=j;r=v[i+15980>>2];break Pc}k=m-8|0;v[o+12>>2]=k;b=i;Qc:{Rc:{switch(v[k+4>>2]-1|0){case 0:g=v[k>>2];g=((g>>31)+g|0)- -8192>>14;break Qc;default:g=v[k>>2];break Qc;case 1:break Rc}}g=v[k>>2]<<16}v[b+15976>>2]=g+j;r=v[i+15980>>2];if((k|0)!=(n|0)){break Oc}}g=0;b=v[l+4>>2];if(!b|v[b>>2]){break Nc}v[b>>2]=161;break Nc}b=m-16|0;v[o+12>>2]=b;Sc:{switch(v[b+4>>2]-1|0){case 1:g=v[b>>2]<<16;break Nc;case 0:b=v[b>>2];g=((b>>31)+b|0)- -8192>>14;break Nc;default:break Sc}}g=v[b>>2]}g=g+r|0;v[i+15980>>2]=g;if(v[p+468>>2]){break l}b=v[i+15976>>2];if(w[i+15568|0]){t[i+15569|0]=1;yk(i+3904|0,v[i+15640>>2],v[i+15644>>2]);if(w[i+15648|0]){mm(i+3904|0,G,P,v[i+15616>>2],v[i+15620>>2],1)}t[i+15648|0]=0;u[i+15568>>1]=0}v[i+15644>>2]=b;v[i+15624>>2]=g;v[i+15640>>2]=g;v[i+15628>>2]=b;t[i+15571|0]=1;b=v[i+15580>>2];if(!(w[b+5|0]?0:w[i+3924|0])){lm(G,v[i+15572>>2],v[i+15576>>2],b,v[i+15584>>2],0)}gc(T,G,3868);break l;case 19:case 20:if(w[i+15692|0]?v[o+12>>2]-v[o+8>>2]>>3>>>0>=2:0){break l}b=0;Yz(a,l,i+15720|0,h,i+15791|0,0);if(w[p+548|0]){k=0;break c}if((g|0)==19){b=v[i+15740>>2]+v[i+15772>>2]|0;if(b>>>0>=97){b=v[i+15688>>2];if(!b|v[b>>2]){break l}v[b>>2]=18;break l}v[i+15696>>2]=b;u[i+15692>>1]=257;v[i+15700>>2]=b+7>>>3;if(!b){break l}g=0;while(1){b=v[k>>2];Tc:{if(b>>>0>2]){v[k>>2]=b+1;b=w[b|0];break Tc}b=0;j=v[D>>2];if(!j|v[j>>2]){break Tc}v[j>>2]=85}t[(g+i|0)+15704|0]=b;g=g+1|0;if(g>>>0>2]){continue}break}break l}ic(W,0,3856);b=w[a+184|0];v[i+48>>2]=O;t[i+45|0]=b;v[i+40>>2]=Q;v[i+36>>2]=R;v[i+32>>2]=a;b=X;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=0;v[b+4>>2]=0;v[i>>2]=L;b=v[i+15740>>2]+v[i+15772>>2]|0;Uc:{if(b>>>0>=97){if(v[a+4>>2]){break Uc}v[a+4>>2]=18;break Uc}v[i+8>>2]=b;u[i+4>>1]=257;v[i+12>>2]=b+7>>>3;if(!b){break Uc}g=0;while(1){b=v[k>>2];Vc:{if(b>>>0>2]){v[k>>2]=b+1;b=w[b|0];break Vc}b=0;j=v[D>>2];if(!j|v[j>>2]){break Vc}v[j>>2]=85}t[(g+i|0)+16|0]=b;g=g+1|0;if(g>>>0>2]){continue}break}}lm(i+32|0,i+15752|0,i+15720|0,i,0,0);break l;case 14:if(!(!s|f&255)){f=v[i+15976>>2];b=v[i+15980>>2];if(w[i+15568|0]){t[i+15569|0]=1;yk(i+3904|0,v[i+15640>>2],v[i+15644>>2]);if(w[i+15648|0]){mm(i+3904|0,G,P,v[i+15616>>2],v[i+15620>>2],1)}t[i+15648|0]=0;u[i+15568>>1]=0}v[i+15644>>2]=f;v[i+15624>>2]=b;v[i+15640>>2]=b;v[i+15628>>2]=f;t[i+15571|0]=1;b=v[i+15580>>2];if(!(w[b+5|0]?0:w[i+3924|0])){lm(G,v[i+15572>>2],v[i+15576>>2],b,v[i+15584>>2],0)}gc(T,G,3868);v[i+15772>>2]=0;v[i+15740>>2]=0;b=V;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=0;v[b+4>>2]=0;u[i+15692>>1]=256;v[i+15688>>2]=L;if((H|0)>=1){g=H;Wc:{if(!(g&1)){break Wc}g=H-1|0;if(g>>>0<17){k=g;break Wc}k=0;if(v[a+4>>2]){break Wc}v[a+4>>2]=130}if((H|0)!=1){while(1){b=g;if(!(v[a+4>>2]|b-1>>>0<17)){v[a+4>>2]=130}g=b-2|0;k=g;Xc:{if(g>>>0<17){break Xc}k=0;if(v[a+4>>2]){break Xc}v[a+4>>2]=130}if((b|0)>2){continue}break}}D=(k<<4)+J|0;H=0}v[D+12>>2]=v[D+4>>2];b=1;break k}b=v[o+12>>2]-v[o+8>>2]|0;Yc:{Zc:{if((b|0)!=8){if((b|0)!=40){break Yc}if(!w[i+15791|0]){break Zc}break Yc}if(w[i+15791|0]){break Yc}}Y=h,Z=hn(l,0)+S|0,v[Y>>2]=Z}t[i+15791|0]=1;if(w[p+548|0]){break n}b=i+3904|0;if(w[b+11664|0]){t[b+11665|0]=1;yk(b,v[b+11736>>2],v[b+11740>>2]);if(w[b+11744|0]){mm(b,b+8|0,b+11704|0,v[b+11712>>2],v[b+11716>>2],1)}t[b+11744|0]=0;u[b+11664>>1]=0;t[b+11667|0]=1}if(w[a+9|0]|w[a+8|0]|v[l+12>>2]-v[l+8>>2]>>3>>>0<2){break n}k=18;_c:{if(e){break _c}b=Ki(l);e=Ki(l);Y=i,Z=ie(l),v[Y+15976>>2]=Z;Y=i,Z=ie(l),v[Y+15980>>2]=Z;k=YZ(p,b,i+32|0);if(k){break _c}f=i+32|0;xv(a,f,c,d,1,v[i+15980>>2],v[i+15976>>2],i);b=f|4;Ub[v[p+600>>2]](v[p+4>>2],b,v[i+40>>2]-v[i+36>>2]|0);k=YZ(p,e,f);if(k){break _c}k=0;xv(a,i+32|0,c,d,1,0,0,i);Ub[v[p+600>>2]](v[p+4>>2],b,v[i+40>>2]-v[i+36>>2]|0)}b=0;break c;case 13:if(!s){break l}g=v[o+12>>2];j=v[o+8>>2];$c:{if((g|0)==(j|0)){r=0;b=v[l+4>>2];if(!b|v[b>>2]){break $c}v[b>>2]=161;break $c}g=g-8|0;v[o+12>>2]=g;ad:{switch(v[g+4>>2]-1|0){case 1:r=v[g>>2]<<16;break $c;case 0:b=v[g>>2];r=((b>>31)+b|0)- -8192>>14;break $c;default:break ad}}r=v[g>>2]}b=v[p+36>>2];v[b+4>>2]=0;v[b>>2]=r;bd:{if((g|0)==(j|0)){g=0;b=v[l+4>>2];if(!b|v[b>>2]){break bd}v[b>>2]=161;break bd}b=g-8|0;v[o+12>>2]=b;cd:{switch(v[b+4>>2]-1|0){case 1:g=v[b>>2]<<16;break bd;case 0:b=v[b>>2];g=((b>>31)+b|0)- -8192>>14;break bd;default:break cd}}g=v[b>>2]}b=v[p+32>>2];v[b>>2]=v[b>>2]+g;t[i+15791|0]=1;if(w[p+47|0]){break n}if(!(f&255)){b=0;break k}v[i+15980>>2]=v[i+15980>>2]+g;break l;case 12:dd:{if(j>>>0>=x>>>0){b=v[D>>2];if(b){g=0;if(v[b>>2]){break dd}v[b>>2]=85}g=0;break dd}v[k>>2]=j+1;ed:{fd:{gd:{hd:{g=w[j|0];switch(g-8|0){case 0:case 5:case 11:case 17:case 23:case 24:break k;case 27:break ed;case 29:break fd;case 28:break gd;case 26:break hd;default:break dd}}Xz(l,i+15980|0,i+15976|0,i+3904|0,382764,0);continue}Xz(l,i+15980|0,i+15976|0,i+3904|0,382788,0);continue}Xz(l,i+15980|0,i+15976|0,i+3904|0,382800,1);continue}Xz(l,i+15980|0,i+15976|0,i+3904|0,382776,0);break l}if(w[a+9|0]|g>>>0>37){break l}if(!(!s|(E|0)<1|(g|0)==17)){E=0;break l}b=f;id:{jd:{kd:{ld:{switch(g-1|0){case 0:case 1:if(!s){break l}m=hn(l,0);n=hn(l,2);k=hn(l,4);j=hn(l,1);b=v[l+8>>2];md:{if(v[l+12>>2]-b>>3>>>0<=1){b=v[l+4>>2];if(!b|v[b>>2]){break md}v[b>>2]=130;break md}v[b+16>>2]=n-(j+m|0);v[v[o+8>>2]+20>>2]=0}j=hn(l,3);b=v[l+8>>2];nd:{if(v[l+12>>2]-b>>3>>>0<=3){b=v[l+4>>2];if(!b|v[b>>2]){break nd}v[b>>2]=130;break nd}v[b+32>>2]=k-(j+n|0);v[v[o+8>>2]+36>>2]=0}Yz(a,l,(g|0)==1?i+15720|0:i+15752|0,h,i+15791|0,v[v[p+32>>2]+(((g|0)!=1)<<2)>>2]);b=f;if(w[p+548|0]){break n}break k;case 2:b=ie(l);xs(l,(ie(l)|0)!=0&(b|0)!=0);b=f;continue;case 3:xs(l,(ie(l)|ie(l))!=0);continue;case 4:xs(l,!ie(l));continue;case 5:if(!s){break k}h=v[p+4>>2];k=18;g=Ki(l);b=Ki(l);m=ie(l);f=ie(l);j=ie(l);od:{if(w[p+47|0]|e){break od}e=v[v[h+128>>2]+52>>2];pd:{if(!v[p+580>>2]){if(!e){break od}M=v[v[p+32>>2]>>2];break pd}M=v[v[p+32>>2]>>2];if(e){break pd}b=XZ(p,b);g=XZ(p,g)}if((b|0)<0|(g|0)<0){break od}o=f+M|0;qd:{if(w[p+46|0]){e=v[p+8>>2];d=v[v[e+156>>2]>>2];k=V_(d,2);if(k){break od}c=v[d+88>>2];v[c+32>>2]=g;v[c+8>>2]=0;v[c+12>>2]=0;u[c+4>>1]=514;v[c>>2]=b;u[c+36>>1]=2;b=o-j|0;v[c+40>>2]=(((b>>31)+b|0)+32768&-65536)>>16;v[c+44>>2]=((m+(m>>31)|0)+32768&-65536)>>16;v[e+128>>2]=2;b=v[d+52>>2];v[e+72>>2]=1668246896;v[e+132>>2]=b;v[d+84>>2]=2;break qd}e=v[p+12>>2];v[e+56>>2]=0;v[e+84>>2]=0;f=e;k=f;h=v[f+24>>2];if(h){f=h+(u[e+22>>1]<<3)|0}else{f=0}v[k+60>>2]=f;h=e- -64|0;f=v[e+28>>2];if(f){f=f+u[e+22>>1]|0}else{f=0}v[h>>2]=f;f=e;k=f;h=v[f+32>>2];if(h){f=h+(u[e+20>>1]<<1)|0}else{f=0}v[k+68>>2]=f;if(w[e+16|0]){f=u[e+22>>1]<<3;v[e+76>>2]=f+v[e+40>>2];v[e+80>>2]=f+v[e+44>>2]}f=e;k=f;h=v[f+52>>2];if(h){e=h+(v[e+48>>2]<<5)|0}else{e=0}v[k+88>>2]=e;k=WZ(p,b,i+32|0);if(k){break od}b=v[p+36>>2];A=v[b>>2];s=v[b+4>>2];b=v[p+32>>2];q=v[b>>2];x=v[b+4>>2];xv(a,i+32|0,c,d,1,0,0,i+3900|0);e=v[p+4>>2];b=v[i+36>>2];v[i+4>>2]=v[i+40>>2]-b;v[i>>2]=b;b=v[v[e+128>>2]+52>>2];if(b){Ub[v[v[b>>2]+4>>2]](v[b+4>>2],i)}rd:{if(w[i+15791|0]){b=v[p+32>>2];break rd}b=v[p+36>>2];A=v[b>>2];s=v[b+4>>2];b=v[p+32>>2];q=v[b>>2];x=v[b+4>>2]}v[b>>2]=0;v[b+4>>2]=0;k=WZ(p,g,i+32|0);if(k){break od}xv(a,i+32|0,c,d,1,o-j|0,m,i+3900|0);c=v[p+4>>2];b=v[i+36>>2];v[i+4>>2]=v[i+40>>2]-b;v[i>>2]=b;b=v[v[c+128>>2]+52>>2];if(b){Ub[v[v[b>>2]+4>>2]](v[b+4>>2],i)}b=v[p+32>>2];v[b>>2]=q;v[b+4>>2]=x;b=v[p+36>>2];v[b>>2]=A;v[b+4>>2]=s}k=0}b=0;break c;case 6:if(!s){break l}b=ie(l);v[v[p+36>>2]+4>>2]=b;b=ie(l);v[v[p+36>>2]>>2]=b;g=ie(l);b=ie(l);j=v[p+32>>2];v[j>>2]=b+v[j>>2];v[j+4>>2]=g+v[j+4>>2];t[i+15791|0]=1;if(w[p+47|0]){break n}if(!(f&255)){b=0;break k}v[i+15980>>2]=b+v[i+15980>>2];v[i+15976>>2]=g+v[i+15976>>2];break l;case 8:b=ie(l);if((b|0)==-2147483648){Tf(l,2147483647);b=f;continue}g=b;b=b>>31;Tf(l,g+b^b);b=f;continue;case 9:Tf(l,ie(l)+ie(l)|0);continue;case 10:b=ie(l);Tf(l,ie(l)-b|0);b=f;continue;case 11:f=l;sd:{if(!(!s|!(K&255))){K=0;g=Ki(l);j=Ki(l);break sd}g=ie(l);j=ie(l)}Tf(f,ad(j,g));continue;case 13:b=ie(l);if((b|0)==-2147483648){Tf(l,2147483647);b=f;continue}Tf(l,0-b|0);b=f;continue;case 14:xs(l,(ie(l)|0)==(ie(l)|0));continue;case 15:if(!s){continue}m=Ki(l);n=Ki(l);g=v[l+8>>2];td:{switch(m|0){case 0:k=18;b=0;if((n|0)!=3|(!v[p+468>>2]|v[p+472>>2]!=7?f&255:0)){break c}Tf(l,v[i+15980>>2]);Tf(l,v[i+15976>>2]);F=2;break jd;case 1:if(n){break j}E=0;b=0;F=0;if(!(f&255)){continue}ud:{g=v[p+12>>2];if((u[g+22>>1]+u[g+58>>1]|0)+6>>>0<=y[g+4>>2]){break ud}if(!xg(g,6,0)){break ud}k=0;break c}v[p+468>>2]=1;v[p+472>>2]=0;break id;case 2:k=18;if(n){b=0;break c}E=0;b=0;F=0;if(!(f&255)){continue}if(!v[p+468>>2]){break c}j=v[p+472>>2];v[p+472>>2]=j+1;b=f;if(j-1>>>0>5){continue}g=v[p+12>>2];if((u[g+22>>1]+u[g+58>>1]|0)+1>>>0>y[g+4>>2]){b=0;if(xg(g,1,0)){break c}}b=j<<1;b=(i+15792|0)+(((j|0)>3?b-6|0:b)<<2)|0;v[b-8>>2]=v[i+15980>>2];v[b-4>>2]=v[i+15976>>2];b=f;vd:{switch(j-3|0){case 0:case 3:break vd;default:continue}}Ao(i+3904|0,v[i+15792>>2],v[i+15796>>2],v[i+15800>>2],v[i+15804>>2],v[i+15808>>2],v[i+15812>>2]);continue e;case 3:F=1;if((n|0)!=1){break j}E=0;b=0;if(!(f&255)){continue}v[i+15772>>2]=0;v[i+15740>>2]=0;b=V;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=0;v[b+4>>2]=0;u[i+15692>>1]=256;v[i+15688>>2]=L;b=f;continue;case 12:case 13:v[o+12>>2]=g;break id;case 14:case 15:case 16:case 17:case 18:b=0;k=18;j=v[p+644>>2];if(!j){break c}F=(m+((m|0)==18)|0)-13|0;if((n|0)!=(B(F,v[j>>2])|0)){break c}E=(v[l+12>>2]-g>>3)-n|0;b=F+E|0;q=0;while(1){k=hn(l,E);g=1;if(y[j>>2]>=2){while(1){k=Ac(hn(l,b),v[v[j+136>>2]+(g<<2)>>2])+k|0;b=b+1|0;g=g+1|0;if(g>>>0>2]){continue}break}}g=v[l+8>>2];wd:{if(v[l+12>>2]-g>>3>>>0>>0){g=v[l+4>>2];if(!g|v[g>>2]){break wd}v[g>>2]=130;break wd}m=g;g=E<<3;v[m+g>>2]=k;v[(g+v[l+8>>2]|0)+4>>2]=0}E=E+1|0;q=q+1|0;if((F|0)!=(q|0)){continue}break};b=n-F|0;g=v[o+12>>2];if(b>>>0>g-v[o+8>>2]>>3>>>0){E=0;b=f;f=v[l+4>>2];if(!f|v[f>>2]){continue}v[f>>2]=161;continue}v[o+12>>2]=g-(b<<3);break jd;case 19:k=18;b=0;if((n|0)!=1){break c}m=v[p+644>>2];if(!m){break c}j=Ki(l);if((j|0)<0){break c}g=v[m>>2];if(y[p+652>>2]>>0){break c}gc(v[p+648>>2]+(j<<2)|0,v[m+136>>2],g<<2);break id;case 20:if((n|0)!=2){break j}Tf(l,ie(l)+ie(l)|0);break kd;case 21:if((n|0)!=2){break j}b=ie(l);Tf(l,ie(l)-b|0);break kd;case 22:if((n|0)!=2){break j}b=ie(l);Tf(l,Ac(ie(l),b));break kd;case 23:k=18;b=0;if((n|0)!=2){break c}j=ie(l);g=ie(l);if(!j){break c}Tf(l,ad(g,j));break kd;case 24:k=18;b=0;if(!v[p+644>>2]|(n|0)!=2){break c}g=Ki(l);if((g|0)<0|g>>>0>=y[p+652>>2]){break c}b=ie(l);v[v[p+648>>2]+(g<<2)>>2]=b;break id;case 25:k=18;b=0;if(!v[p+644>>2]|(n|0)!=1){break c}g=Ki(l);if((g|0)<0|g>>>0>=y[p+652>>2]){break c}Tf(l,v[v[p+648>>2]+(g<<2)>>2]);break kd;case 27:if((n|0)!=4){break j}g=ie(l);b=ie(l);Tf(l,(Y=ie(l),Z=ie(l),_=(b|0)>(g|0),_?Y:Z));break kd;case 28:if(n){break j}g=v[p+536>>2];j=v[g+648>>2];b=j<<13^j;b=b>>>17^b;v[g+648>>2]=b^b<<5;F=1;Tf(l,(j&65535)+1|0);break jd;default:break td}}b=0;k=18;if((n|0)<0){break c}F=0;if((m|0)<0){break c}E=0;b=f;g=1;f=(n|0)<3?n:3;if((f|0)<1){continue}while(1){Y=(i+15960|0)+(f-g<<2)|0,Z=ie(l),v[Y>>2]=Z;j=(f|0)==(g|0);g=g+1|0;if(!j){continue}break};E=f;continue;case 16:if(!s){continue}if((F|0)>=1){F=F-1|0;continue}if(!E){break j}E=E-1|0;Tf(l,v[(i+15960|0)+(E<<2)>>2]);continue;case 17:ie(l);continue;case 19:g=Ki(l);f=ie(l);if(g>>>0>31){continue}v[(i+15824|0)+(g<<2)>>2]=f;continue;case 20:f=Ki(l);if(f>>>0>31){continue}Tf(l,v[(i+15824|0)+(f<<2)>>2]);continue;case 21:g=ie(l);b=ie(l);Tf(l,(Y=ie(l),Z=ie(l),_=(b|0)>(g|0),_?Y:Z));b=f;continue;case 22:g=v[p+536>>2];j=v[g+648>>2];b=j<<13^j;b=b>>>17^b;v[g+648>>2]=b^b<<5;Tf(l,(j&65535)+1|0);b=f;continue;case 23:b=ie(l);Tf(l,Ac(ie(l),b));b=f;continue;case 25:j=ie(l);xd:{if((j|0)<1){g=0;break xd}b=j>>>((j|0)>9)|0;while(1){g=b;b=(ad(j,b)+b|0)+1>>1;if((b|0)!=(g|0)){continue}break}}Tf(l,g);b=f;continue;case 26:b=ie(l);Tf(l,b);Tf(l,b);b=f;continue;case 27:g=ie(l);b=ie(l);Tf(l,g);Tf(l,b);b=f;continue;case 28:m=Ki(l);j=v[l+12>>2]-v[l+8>>2]|0;if(!j){continue}f=l;g=l;j=j>>3;k=j-1|0;yd:{if((m|0)<=-1){break yd}k=0;if(j>>>0<=m>>>0){break yd}k=j+(m^-1)|0}Tf(f,hn(g,k));continue;case 29:b=Ki(l);m=0;z=Ki(l);zd:{if((z|0)<2){break zd}if(z>>>0>v[l+12>>2]-v[l+8>>2]>>3>>>0){b=v[l+4>>2];if(!b|v[b>>2]){break zd}v[b>>2]=130;break zd}C=(b|0)%(z|0)|0;if(!C){break zd}k=0-z|0;A=0;s=2;b=-1;j=l;g=-1;while(1){Ad:{if((b|0)!=(g|0)){n=v[j+8>>2];q=A;x=s;break Ad}n=v[j+8>>2];g=b+1|0;b=n+(g<<3)|0;q=v[b>>2];x=v[b+4>>2];b=g}b=b+C|0;b=((b|0)<(z|0)?z&b>>31:k)+b|0;n=(b<<3)+n|0;A=v[n>>2];s=v[n+4>>2];v[n>>2]=q;v[n+4>>2]=x;m=m+1|0;if((z|0)!=(m|0)){continue}break}}b=f;continue;case 32:break ld;default:break k}}if(!s|!(f&255)){break l}Y=i,Z=ie(l),v[Y+15976>>2]=Z;Y=i,Z=ie(l),v[Y+15980>>2]=Z;v[p+468>>2]=0;break l}F=1}E=0;b=f;continue}E=0;b=f;continue e;case 11:if((H|0)<1){break j}g=J;H=H-1|0;f=H;if(f>>>0>=17){v[a+4>>2]=130;f=0}D=(f<<4)+g|0;continue;case 10:case 29:k=18;b=0;j=(H|0)>16;if(j&!s|(j?s:0)){break c}H=H+1|0;j=H;if(j>>>0>=17){v[a+4>>2]=130;j=0}m=j<<4;j=v[o+12>>2];Bd:{if((j|0)==v[o+8>>2]){q=0;j=v[l+4>>2];if(!j|v[j>>2]){break Bd}v[j>>2]=161;break Bd}if(v[j-4>>2]!=2){q=0;j=v[l+4>>2];if(!j|v[j>>2]){break Bd}v[j>>2]=160;break Bd}j=j-8|0;v[o+12>>2]=j;q=v[j>>2]}D=m+J|0;Cd:{if(!s){break Cd}j=v[p+616>>2];if(!j){break Cd}j=Yh(q,j);if(!j){q=-1;break Cd}q=v[j>>2]}v[D>>2]=0;v[D+4>>2]=0;v[D+8>>2]=0;v[D+12>>2]=0;if((g|0)==29){g=v[p+568>>2]+q|0;if(g>>>0>=y[p+560>>2]){break c}g=v[p+576>>2]+(g<<2)|0;b=v[g>>2];v[D+4>>2]=b;v[D+12>>2]=b;v[D+8>>2]=v[g+4>>2];b=f;continue}g=v[p+564>>2]+q|0;if(g>>>0>=y[p+556>>2]){break c}j=g<<2;k=j+v[p+572>>2]|0;g=v[k>>2];v[D+4>>2]=g;Dd:{if(w[p+48|0]){b=v[p+612>>2];if(b){if(!g){g=0;b=0;break Dd}b=v[b+j>>2]+g|0;break Dd}b=v[p+608>>2];g=((b|0)>0?b:0)+g|0;v[D+4>>2]=g;b=v[k+4>>2];break Dd}b=v[k+4>>2]}v[D+12>>2]=g;v[D+8>>2]=b;b=f;continue;case 0:case 2:case 17:break k;case 9:break p}}if(!s){break l}if(w[i+15568|0]){t[i+15569|0]=1;yk(i+3904|0,v[i+15640>>2],v[i+15644>>2]);if(w[i+15648|0]){mm(i+3904|0,G,P,v[i+15616>>2],v[i+15620>>2],1)}t[i+15648|0]=0;u[i+15568>>1]=0;t[i+15571|0]=1}t[i+15791|0]=1;break l}if((g|0)==24){j=v[i+15980>>2];m=v[o+8>>2];k=v[o+12>>2]-m>>3;Ed:{if(k>>>0<=b>>>0){q=0;g=v[l+4>>2];if(!g|v[g>>2]){break Ed}v[g>>2]=130;break Ed}Fd:{Gd:{Hd:{g=m+(b<<3)|0;switch(v[g+4>>2]-1|0){case 0:break Gd;case 1:break Hd;default:break Fd}}q=v[g>>2]<<16;break Ed}g=v[g>>2];q=((g>>31)+g|0)- -8192>>14;break Ed}q=v[g>>2]}g=j+q|0;v[i+15980>>2]=g;j=v[i+15976>>2];b=b|1;Id:{if(b>>>0>=k>>>0){b=0;k=v[l+4>>2];if(!k|v[k>>2]){break Id}v[k>>2]=130;g=v[i+15980>>2];break Id}Jd:{Kd:{Ld:{b=m+(b<<3)|0;switch(v[b+4>>2]-1|0){case 0:break Kd;case 1:break Ld;default:break Jd}}b=v[b>>2]<<16;break Id}b=v[b>>2];b=((b>>31)+b|0)- -8192>>14;break Id}b=v[b>>2]}b=b+j|0;v[i+15976>>2]=b;yk(i+3904|0,g,b)}v[o+12>>2]=v[o+8>>2];b=f;continue}b=0;k=0;break c}v[a+120>>2]=g}b=f}v[o+12>>2]=v[o+8>>2];continue}break}break}k=18;b=0}if(v[a+4>>2]){break a}}v[a+4>>2]=k}v[i+15536>>2]=0;v[i+15540>>2]=0;v[i+15528>>2]=0;c=v[i+15516>>2];a=v[i+15544>>2];if(a){Ub[v[c+8>>2]](c,a)}v[i+15544>>2]=0;v[i+15740>>2]=0;v[i+15744>>2]=0;v[i+15732>>2]=0;c=v[i+15720>>2];a=v[i+15748>>2];if(a){Ub[v[c+8>>2]](c,a)}v[i+15748>>2]=0;v[i+15772>>2]=0;v[i+15776>>2]=0;v[i+15764>>2]=0;c=v[i+15752>>2];a=v[i+15780>>2];if(a){Ub[v[c+8>>2]](c,a)}v[i+15780>>2]=0;if(J){Ub[v[I+8>>2]](I,J)}if(!b){c=v[l>>2];b=c;a=v[l+8>>2];if(a){Ub[v[b+8>>2]](b,a)}v[l+8>>2]=0;if(l){Ub[v[c+8>>2]](c,l)}}Qb=i+15984|0}function Xgb(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,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,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0;u=c&1;r=(d|0)/16<<4;c=a;if((d|0)>=16){while(1){k2(c,e,f,u);k=c;a:{if((e|0)<2){break a}x=(e-u|0)+1|0;s=x>>1;j=(B(s,f)<<2)+k|0;h=j;if(u){i=v[j>>2];g=v[k>>2];g=Bib(g,g>>31,-25987,-1);v[j>>2]=i+((Tb&8191)<<19|g>>>13);i=v[j+4>>2];g=v[k+4>>2];g=Bib(g,g>>31,-25987,-1);v[j+4>>2]=i+((Tb&8191)<<19|g>>>13);i=v[j+8>>2];g=v[k+8>>2];g=Bib(g,g>>31,-25987,-1);v[j+8>>2]=i+((Tb&8191)<<19|g>>>13);i=v[j+12>>2];g=v[k+12>>2];g=Bib(g,g>>31,-25987,-1);v[j+12>>2]=i+((Tb&8191)<<19|g>>>13);i=v[j+16>>2];g=v[k+16>>2];g=Bib(g,g>>31,-25987,-1);v[j+16>>2]=i+((Tb&8191)<<19|g>>>13);i=v[j+20>>2];g=v[k+20>>2];g=Bib(g,g>>31,-25987,-1);v[j+20>>2]=i+((Tb&8191)<<19|g>>>13);i=v[j+24>>2];g=v[k+24>>2];g=Bib(g,g>>31,-25987,-1);v[j+24>>2]=i+((Tb&8191)<<19|g>>>13);i=v[j+28>>2];g=v[k+28>>2];g=Bib(g,g>>31,-25987,-1);v[j+28>>2]=i+((Tb&8191)<<19|g>>>13);i=v[j+32>>2];g=v[k+32>>2];g=Bib(g,g>>31,-25987,-1);v[j+32>>2]=i+((Tb&8191)<<19|g>>>13);i=v[j+36>>2];g=v[k+36>>2];g=Bib(g,g>>31,-25987,-1);v[j+36>>2]=i+((Tb&8191)<<19|g>>>13);i=v[j+40>>2];g=v[k+40>>2];g=Bib(g,g>>31,-25987,-1);v[j+40>>2]=i+((Tb&8191)<<19|g>>>13);i=v[j+44>>2];g=v[k+44>>2];g=Bib(g,g>>31,-25987,-1);v[j+44>>2]=i+((Tb&8191)<<19|g>>>13);i=v[j+48>>2];g=v[k+48>>2];g=Bib(g,g>>31,-25987,-1);v[j+48>>2]=i+((Tb&8191)<<19|g>>>13);i=v[j+52>>2];g=v[k+52>>2];g=Bib(g,g>>31,-25987,-1);v[j+52>>2]=i+((Tb&8191)<<19|g>>>13);i=v[j+56>>2];g=v[k+56>>2];g=Bib(g,g>>31,-25987,-1);v[j+56>>2]=i+((Tb&8191)<<19|g>>>13);i=v[j+60>>2];g=v[k+60>>2];g=Bib(g,g>>31,-25987,-1);v[j+60>>2]=i+((Tb&8191)<<19|g>>>13);h=(f<<2)+j|0}w=e-s|0;m=e&1;z=(m|0)==(u|0);l=(w-u|0)-z|0;b:{if((l|0)<1){i=k;break b}n=f<<2;p=l;g=k;while(1){o=v[h>>2];i=g+n|0;q=v[i>>2]+v[g>>2]|0;q=Bib(q,q>>31,-12993,-1);v[h>>2]=o+((Tb&8191)<<19|q>>>13);o=v[h+4>>2];q=v[n+(g+4|0)>>2]+v[g+4>>2]|0;q=Bib(q,q>>31,-12993,-1);v[h+4>>2]=o+((Tb&8191)<<19|q>>>13);o=v[h+8>>2];q=v[n+(g+8|0)>>2]+v[g+8>>2]|0;q=Bib(q,q>>31,-12993,-1);v[h+8>>2]=o+((Tb&8191)<<19|q>>>13);o=v[h+12>>2];q=v[n+(g+12|0)>>2]+v[g+12>>2]|0;q=Bib(q,q>>31,-12993,-1);v[h+12>>2]=o+((Tb&8191)<<19|q>>>13);o=v[h+16>>2];q=v[n+(g+16|0)>>2]+v[g+16>>2]|0;q=Bib(q,q>>31,-12993,-1);v[h+16>>2]=o+((Tb&8191)<<19|q>>>13);o=v[h+20>>2];q=v[n+(g+20|0)>>2]+v[g+20>>2]|0;q=Bib(q,q>>31,-12993,-1);v[h+20>>2]=o+((Tb&8191)<<19|q>>>13);o=v[h+24>>2];q=v[n+(g+24|0)>>2]+v[g+24>>2]|0;q=Bib(q,q>>31,-12993,-1);v[h+24>>2]=o+((Tb&8191)<<19|q>>>13);o=v[h+28>>2];q=v[n+(g+28|0)>>2]+v[g+28>>2]|0;q=Bib(q,q>>31,-12993,-1);v[h+28>>2]=o+((Tb&8191)<<19|q>>>13);o=v[h+32>>2];q=v[n+(g+32|0)>>2]+v[g+32>>2]|0;q=Bib(q,q>>31,-12993,-1);v[h+32>>2]=o+((Tb&8191)<<19|q>>>13);o=v[h+36>>2];q=v[n+(g+36|0)>>2]+v[g+36>>2]|0;q=Bib(q,q>>31,-12993,-1);v[h+36>>2]=o+((Tb&8191)<<19|q>>>13);o=v[h+40>>2];q=v[n+(g+40|0)>>2]+v[g+40>>2]|0;q=Bib(q,q>>31,-12993,-1);v[h+40>>2]=o+((Tb&8191)<<19|q>>>13);o=v[h+44>>2];q=v[n+(g+44|0)>>2]+v[g+44>>2]|0;q=Bib(q,q>>31,-12993,-1);v[h+44>>2]=o+((Tb&8191)<<19|q>>>13);o=v[h+48>>2];q=v[n+(g+48|0)>>2]+v[g+48>>2]|0;q=Bib(q,q>>31,-12993,-1);v[h+48>>2]=o+((Tb&8191)<<19|q>>>13);o=v[h+52>>2];q=v[n+(g+52|0)>>2]+v[g+52>>2]|0;q=Bib(q,q>>31,-12993,-1);v[h+52>>2]=o+((Tb&8191)<<19|q>>>13);o=v[h+56>>2];q=v[n+(g+56|0)>>2]+v[g+56>>2]|0;q=Bib(q,q>>31,-12993,-1);v[h+56>>2]=o+((Tb&8191)<<19|q>>>13);q=v[h+60>>2];g=v[n+(g+60|0)>>2]+v[g+60>>2]|0;g=Bib(g,g>>31,-12993,-1);v[h+60>>2]=q+((Tb&8191)<<19|g>>>13);h=h+n|0;q=(p|0)>1;p=p-1|0;g=i;if(q){continue}break}}q=(m|0)!=(u|0);if(!q){p=v[h>>2];g=v[i>>2];g=Bib(g,g>>31,-25987,-1);v[h>>2]=p+((Tb&8191)<<19|g>>>13);p=v[h+4>>2];g=v[i+4>>2];g=Bib(g,g>>31,-25987,-1);v[h+4>>2]=p+((Tb&8191)<<19|g>>>13);p=v[h+8>>2];g=v[i+8>>2];g=Bib(g,g>>31,-25987,-1);v[h+8>>2]=p+((Tb&8191)<<19|g>>>13);p=v[h+12>>2];g=v[i+12>>2];g=Bib(g,g>>31,-25987,-1);v[h+12>>2]=p+((Tb&8191)<<19|g>>>13);p=v[h+16>>2];g=v[i+16>>2];g=Bib(g,g>>31,-25987,-1);v[h+16>>2]=p+((Tb&8191)<<19|g>>>13);p=v[h+20>>2];g=v[i+20>>2];g=Bib(g,g>>31,-25987,-1);v[h+20>>2]=p+((Tb&8191)<<19|g>>>13);p=v[h+24>>2];g=v[i+24>>2];g=Bib(g,g>>31,-25987,-1);v[h+24>>2]=p+((Tb&8191)<<19|g>>>13);p=v[h+28>>2];g=v[i+28>>2];g=Bib(g,g>>31,-25987,-1);v[h+28>>2]=p+((Tb&8191)<<19|g>>>13);p=v[h+32>>2];g=v[i+32>>2];g=Bib(g,g>>31,-25987,-1);v[h+32>>2]=p+((Tb&8191)<<19|g>>>13);p=v[h+36>>2];g=v[i+36>>2];g=Bib(g,g>>31,-25987,-1);v[h+36>>2]=p+((Tb&8191)<<19|g>>>13);p=v[h+40>>2];g=v[i+40>>2];g=Bib(g,g>>31,-25987,-1);v[h+40>>2]=p+((Tb&8191)<<19|g>>>13);p=v[h+44>>2];g=v[i+44>>2];g=Bib(g,g>>31,-25987,-1);v[h+44>>2]=p+((Tb&8191)<<19|g>>>13);p=v[h+48>>2];g=v[i+48>>2];g=Bib(g,g>>31,-25987,-1);v[h+48>>2]=p+((Tb&8191)<<19|g>>>13);p=v[h+52>>2];g=v[i+52>>2];g=Bib(g,g>>31,-25987,-1);v[h+52>>2]=p+((Tb&8191)<<19|g>>>13);p=v[h+56>>2];g=v[i+56>>2];g=Bib(g,g>>31,-25987,-1);v[h+56>>2]=p+((Tb&8191)<<19|g>>>13);p=v[h+60>>2];g=v[i+60>>2];g=Bib(g,g>>31,-25987,-1);v[h+60>>2]=p+((Tb&8191)<<19|g>>>13)}h=k;if(!u){i=v[k>>2];g=v[j>>2];g=Bib(g,g>>31,-868,-1);v[k>>2]=i+((Tb&8191)<<19|g>>>13);i=v[k+4>>2];g=v[j+4>>2];g=Bib(g,g>>31,-868,-1);v[k+4>>2]=i+((Tb&8191)<<19|g>>>13);i=v[k+8>>2];g=v[j+8>>2];g=Bib(g,g>>31,-868,-1);v[k+8>>2]=i+((Tb&8191)<<19|g>>>13);i=v[k+12>>2];g=v[j+12>>2];g=Bib(g,g>>31,-868,-1);v[k+12>>2]=i+((Tb&8191)<<19|g>>>13);i=v[k+16>>2];g=v[j+16>>2];g=Bib(g,g>>31,-868,-1);v[k+16>>2]=i+((Tb&8191)<<19|g>>>13);i=v[k+20>>2];g=v[j+20>>2];g=Bib(g,g>>31,-868,-1);v[k+20>>2]=i+((Tb&8191)<<19|g>>>13);i=v[k+24>>2];g=v[j+24>>2];g=Bib(g,g>>31,-868,-1);v[k+24>>2]=i+((Tb&8191)<<19|g>>>13);i=v[k+28>>2];g=v[j+28>>2];g=Bib(g,g>>31,-868,-1);v[k+28>>2]=i+((Tb&8191)<<19|g>>>13);i=v[k+32>>2];g=v[j+32>>2];g=Bib(g,g>>31,-868,-1);v[k+32>>2]=i+((Tb&8191)<<19|g>>>13);i=v[k+36>>2];g=v[j+36>>2];g=Bib(g,g>>31,-868,-1);v[k+36>>2]=i+((Tb&8191)<<19|g>>>13);i=v[k+40>>2];g=v[j+40>>2];g=Bib(g,g>>31,-868,-1);v[k+40>>2]=i+((Tb&8191)<<19|g>>>13);i=v[k+44>>2];g=v[j+44>>2];g=Bib(g,g>>31,-868,-1);v[k+44>>2]=i+((Tb&8191)<<19|g>>>13);i=v[k+48>>2];g=v[j+48>>2];g=Bib(g,g>>31,-868,-1);v[k+48>>2]=i+((Tb&8191)<<19|g>>>13);i=v[k+52>>2];g=v[j+52>>2];g=Bib(g,g>>31,-868,-1);v[k+52>>2]=i+((Tb&8191)<<19|g>>>13);i=v[k+56>>2];g=v[j+56>>2];g=Bib(g,g>>31,-868,-1);v[k+56>>2]=i+((Tb&8191)<<19|g>>>13);i=v[k+60>>2];g=v[j+60>>2];g=Bib(g,g>>31,-868,-1);v[k+60>>2]=i+((Tb&8191)<<19|g>>>13);h=(f<<2)+k|0}p=(s-!u|0)-q|0;c:{if((p|0)<1){n=j;break c}m=f<<2;i=p;g=j;while(1){t=v[h>>2];n=g+m|0;o=v[n>>2]+v[g>>2]|0;o=Bib(o,o>>31,-434,-1);v[h>>2]=t+((Tb&8191)<<19|o>>>13);t=v[h+4>>2];o=v[m+(g+4|0)>>2]+v[g+4>>2]|0;o=Bib(o,o>>31,-434,-1);v[h+4>>2]=t+((Tb&8191)<<19|o>>>13);t=v[h+8>>2];o=v[m+(g+8|0)>>2]+v[g+8>>2]|0;o=Bib(o,o>>31,-434,-1);v[h+8>>2]=t+((Tb&8191)<<19|o>>>13);t=v[h+12>>2];o=v[m+(g+12|0)>>2]+v[g+12>>2]|0;o=Bib(o,o>>31,-434,-1);v[h+12>>2]=t+((Tb&8191)<<19|o>>>13);t=v[h+16>>2];o=v[m+(g+16|0)>>2]+v[g+16>>2]|0;o=Bib(o,o>>31,-434,-1);v[h+16>>2]=t+((Tb&8191)<<19|o>>>13);t=v[h+20>>2];o=v[m+(g+20|0)>>2]+v[g+20>>2]|0;o=Bib(o,o>>31,-434,-1);v[h+20>>2]=t+((Tb&8191)<<19|o>>>13);t=v[h+24>>2];o=v[m+(g+24|0)>>2]+v[g+24>>2]|0;o=Bib(o,o>>31,-434,-1);v[h+24>>2]=t+((Tb&8191)<<19|o>>>13);t=v[h+28>>2];o=v[m+(g+28|0)>>2]+v[g+28>>2]|0;o=Bib(o,o>>31,-434,-1);v[h+28>>2]=t+((Tb&8191)<<19|o>>>13);t=v[h+32>>2];o=v[m+(g+32|0)>>2]+v[g+32>>2]|0;o=Bib(o,o>>31,-434,-1);v[h+32>>2]=t+((Tb&8191)<<19|o>>>13);t=v[h+36>>2];o=v[m+(g+36|0)>>2]+v[g+36>>2]|0;o=Bib(o,o>>31,-434,-1);v[h+36>>2]=t+((Tb&8191)<<19|o>>>13);t=v[h+40>>2];o=v[m+(g+40|0)>>2]+v[g+40>>2]|0;o=Bib(o,o>>31,-434,-1);v[h+40>>2]=t+((Tb&8191)<<19|o>>>13);t=v[h+44>>2];o=v[m+(g+44|0)>>2]+v[g+44>>2]|0;o=Bib(o,o>>31,-434,-1);v[h+44>>2]=t+((Tb&8191)<<19|o>>>13);t=v[h+48>>2];o=v[m+(g+48|0)>>2]+v[g+48>>2]|0;o=Bib(o,o>>31,-434,-1);v[h+48>>2]=t+((Tb&8191)<<19|o>>>13);t=v[h+52>>2];o=v[m+(g+52|0)>>2]+v[g+52>>2]|0;o=Bib(o,o>>31,-434,-1);v[h+52>>2]=t+((Tb&8191)<<19|o>>>13);t=v[h+56>>2];o=v[m+(g+56|0)>>2]+v[g+56>>2]|0;o=Bib(o,o>>31,-434,-1);v[h+56>>2]=t+((Tb&8191)<<19|o>>>13);o=v[h+60>>2];g=v[m+(g+60|0)>>2]+v[g+60>>2]|0;g=Bib(g,g>>31,-434,-1);v[h+60>>2]=o+((Tb&8191)<<19|g>>>13);h=h+m|0;o=(i|0)>1;i=i-1|0;g=n;if(o){continue}break}}if(!z){i=v[h>>2];g=v[n>>2];g=Bib(g,g>>31,-868,-1);v[h>>2]=i+((Tb&8191)<<19|g>>>13);i=v[h+4>>2];g=v[n+4>>2];g=Bib(g,g>>31,-868,-1);v[h+4>>2]=i+((Tb&8191)<<19|g>>>13);i=v[h+8>>2];g=v[n+8>>2];g=Bib(g,g>>31,-868,-1);v[h+8>>2]=i+((Tb&8191)<<19|g>>>13);i=v[h+12>>2];g=v[n+12>>2];g=Bib(g,g>>31,-868,-1);v[h+12>>2]=i+((Tb&8191)<<19|g>>>13);i=v[h+16>>2];g=v[n+16>>2];g=Bib(g,g>>31,-868,-1);v[h+16>>2]=i+((Tb&8191)<<19|g>>>13);i=v[h+20>>2];g=v[n+20>>2];g=Bib(g,g>>31,-868,-1);v[h+20>>2]=i+((Tb&8191)<<19|g>>>13);i=v[h+24>>2];g=v[n+24>>2];g=Bib(g,g>>31,-868,-1);v[h+24>>2]=i+((Tb&8191)<<19|g>>>13);i=v[h+28>>2];g=v[n+28>>2];g=Bib(g,g>>31,-868,-1);v[h+28>>2]=i+((Tb&8191)<<19|g>>>13);i=v[h+32>>2];g=v[n+32>>2];g=Bib(g,g>>31,-868,-1);v[h+32>>2]=i+((Tb&8191)<<19|g>>>13);i=v[h+36>>2];g=v[n+36>>2];g=Bib(g,g>>31,-868,-1);v[h+36>>2]=i+((Tb&8191)<<19|g>>>13);i=v[h+40>>2];g=v[n+40>>2];g=Bib(g,g>>31,-868,-1);v[h+40>>2]=i+((Tb&8191)<<19|g>>>13);i=v[h+44>>2];g=v[n+44>>2];g=Bib(g,g>>31,-868,-1);v[h+44>>2]=i+((Tb&8191)<<19|g>>>13);i=v[h+48>>2];g=v[n+48>>2];g=Bib(g,g>>31,-868,-1);v[h+48>>2]=i+((Tb&8191)<<19|g>>>13);i=v[h+52>>2];g=v[n+52>>2];g=Bib(g,g>>31,-868,-1);v[h+52>>2]=i+((Tb&8191)<<19|g>>>13);i=v[h+56>>2];g=v[n+56>>2];g=Bib(g,g>>31,-868,-1);v[h+56>>2]=i+((Tb&8191)<<19|g>>>13);i=v[h+60>>2];g=v[n+60>>2];g=Bib(g,g>>31,-868,-1);v[h+60>>2]=i+((Tb&8191)<<19|g>>>13)}h=j;if(u){i=v[j>>2];g=v[k>>2];g=Bib(g,g>>31,14465,0);v[j>>2]=i+((Tb&8191)<<19|g>>>13);i=v[j+4>>2];g=v[k+4>>2];g=Bib(g,g>>31,14465,0);v[j+4>>2]=i+((Tb&8191)<<19|g>>>13);i=v[j+8>>2];g=v[k+8>>2];g=Bib(g,g>>31,14465,0);v[j+8>>2]=i+((Tb&8191)<<19|g>>>13);i=v[j+12>>2];g=v[k+12>>2];g=Bib(g,g>>31,14465,0);v[j+12>>2]=i+((Tb&8191)<<19|g>>>13);i=v[j+16>>2];g=v[k+16>>2];g=Bib(g,g>>31,14465,0);v[j+16>>2]=i+((Tb&8191)<<19|g>>>13);i=v[j+20>>2];g=v[k+20>>2];g=Bib(g,g>>31,14465,0);v[j+20>>2]=i+((Tb&8191)<<19|g>>>13);i=v[j+24>>2];g=v[k+24>>2];g=Bib(g,g>>31,14465,0);v[j+24>>2]=i+((Tb&8191)<<19|g>>>13);i=v[j+28>>2];g=v[k+28>>2];g=Bib(g,g>>31,14465,0);v[j+28>>2]=i+((Tb&8191)<<19|g>>>13);i=v[j+32>>2];g=v[k+32>>2];g=Bib(g,g>>31,14465,0);v[j+32>>2]=i+((Tb&8191)<<19|g>>>13);i=v[j+36>>2];g=v[k+36>>2];g=Bib(g,g>>31,14465,0);v[j+36>>2]=i+((Tb&8191)<<19|g>>>13);i=v[j+40>>2];g=v[k+40>>2];g=Bib(g,g>>31,14465,0);v[j+40>>2]=i+((Tb&8191)<<19|g>>>13);i=v[j+44>>2];g=v[k+44>>2];g=Bib(g,g>>31,14465,0);v[j+44>>2]=i+((Tb&8191)<<19|g>>>13);i=v[j+48>>2];g=v[k+48>>2];g=Bib(g,g>>31,14465,0);v[j+48>>2]=i+((Tb&8191)<<19|g>>>13);i=v[j+52>>2];g=v[k+52>>2];g=Bib(g,g>>31,14465,0);v[j+52>>2]=i+((Tb&8191)<<19|g>>>13);i=v[j+56>>2];g=v[k+56>>2];g=Bib(g,g>>31,14465,0);v[j+56>>2]=i+((Tb&8191)<<19|g>>>13);i=v[j+60>>2];g=v[k+60>>2];g=Bib(g,g>>31,14465,0);v[j+60>>2]=i+((Tb&8191)<<19|g>>>13);h=(f<<2)+j|0}d:{if((l|0)<1){i=k;break d}n=f<<2;g=k;while(1){o=v[h>>2];i=g+n|0;m=v[i>>2]+v[g>>2]|0;m=Bib(m,m>>31,7232,0);v[h>>2]=o+((Tb&8191)<<19|m>>>13);o=v[h+4>>2];m=v[n+(g+4|0)>>2]+v[g+4>>2]|0;m=Bib(m,m>>31,7232,0);v[h+4>>2]=o+((Tb&8191)<<19|m>>>13);o=v[h+8>>2];m=v[n+(g+8|0)>>2]+v[g+8>>2]|0;m=Bib(m,m>>31,7232,0);v[h+8>>2]=o+((Tb&8191)<<19|m>>>13);o=v[h+12>>2];m=v[n+(g+12|0)>>2]+v[g+12>>2]|0;m=Bib(m,m>>31,7232,0);v[h+12>>2]=o+((Tb&8191)<<19|m>>>13);o=v[h+16>>2];m=v[n+(g+16|0)>>2]+v[g+16>>2]|0;m=Bib(m,m>>31,7232,0);v[h+16>>2]=o+((Tb&8191)<<19|m>>>13);o=v[h+20>>2];m=v[n+(g+20|0)>>2]+v[g+20>>2]|0;m=Bib(m,m>>31,7232,0);v[h+20>>2]=o+((Tb&8191)<<19|m>>>13);o=v[h+24>>2];m=v[n+(g+24|0)>>2]+v[g+24>>2]|0;m=Bib(m,m>>31,7232,0);v[h+24>>2]=o+((Tb&8191)<<19|m>>>13);o=v[h+28>>2];m=v[n+(g+28|0)>>2]+v[g+28>>2]|0;m=Bib(m,m>>31,7232,0);v[h+28>>2]=o+((Tb&8191)<<19|m>>>13);o=v[h+32>>2];m=v[n+(g+32|0)>>2]+v[g+32>>2]|0;m=Bib(m,m>>31,7232,0);v[h+32>>2]=o+((Tb&8191)<<19|m>>>13);o=v[h+36>>2];m=v[n+(g+36|0)>>2]+v[g+36>>2]|0;m=Bib(m,m>>31,7232,0);v[h+36>>2]=o+((Tb&8191)<<19|m>>>13);o=v[h+40>>2];m=v[n+(g+40|0)>>2]+v[g+40>>2]|0;m=Bib(m,m>>31,7232,0);v[h+40>>2]=o+((Tb&8191)<<19|m>>>13);o=v[h+44>>2];m=v[n+(g+44|0)>>2]+v[g+44>>2]|0;m=Bib(m,m>>31,7232,0);v[h+44>>2]=o+((Tb&8191)<<19|m>>>13);o=v[h+48>>2];m=v[n+(g+48|0)>>2]+v[g+48>>2]|0;m=Bib(m,m>>31,7232,0);v[h+48>>2]=o+((Tb&8191)<<19|m>>>13);o=v[h+52>>2];m=v[n+(g+52|0)>>2]+v[g+52>>2]|0;m=Bib(m,m>>31,7232,0);v[h+52>>2]=o+((Tb&8191)<<19|m>>>13);o=v[h+56>>2];m=v[n+(g+56|0)>>2]+v[g+56>>2]|0;m=Bib(m,m>>31,7232,0);v[h+56>>2]=o+((Tb&8191)<<19|m>>>13);m=v[h+60>>2];g=v[n+(g+60|0)>>2]+v[g+60>>2]|0;g=Bib(g,g>>31,7232,0);v[h+60>>2]=m+((Tb&8191)<<19|g>>>13);h=h+n|0;m=(l|0)>1;l=l-1|0;g=i;if(m){continue}break}}if(!q){l=v[h>>2];g=v[i>>2];g=Bib(g,g>>31,14465,0);v[h>>2]=l+((Tb&8191)<<19|g>>>13);l=v[h+4>>2];g=v[i+4>>2];g=Bib(g,g>>31,14465,0);v[h+4>>2]=l+((Tb&8191)<<19|g>>>13);l=v[h+8>>2];g=v[i+8>>2];g=Bib(g,g>>31,14465,0);v[h+8>>2]=l+((Tb&8191)<<19|g>>>13);l=v[h+12>>2];g=v[i+12>>2];g=Bib(g,g>>31,14465,0);v[h+12>>2]=l+((Tb&8191)<<19|g>>>13);l=v[h+16>>2];g=v[i+16>>2];g=Bib(g,g>>31,14465,0);v[h+16>>2]=l+((Tb&8191)<<19|g>>>13);l=v[h+20>>2];g=v[i+20>>2];g=Bib(g,g>>31,14465,0);v[h+20>>2]=l+((Tb&8191)<<19|g>>>13);l=v[h+24>>2];g=v[i+24>>2];g=Bib(g,g>>31,14465,0);v[h+24>>2]=l+((Tb&8191)<<19|g>>>13);l=v[h+28>>2];g=v[i+28>>2];g=Bib(g,g>>31,14465,0);v[h+28>>2]=l+((Tb&8191)<<19|g>>>13);l=v[h+32>>2];g=v[i+32>>2];g=Bib(g,g>>31,14465,0);v[h+32>>2]=l+((Tb&8191)<<19|g>>>13);l=v[h+36>>2];g=v[i+36>>2];g=Bib(g,g>>31,14465,0);v[h+36>>2]=l+((Tb&8191)<<19|g>>>13);l=v[h+40>>2];g=v[i+40>>2];g=Bib(g,g>>31,14465,0);v[h+40>>2]=l+((Tb&8191)<<19|g>>>13);l=v[h+44>>2];g=v[i+44>>2];g=Bib(g,g>>31,14465,0);v[h+44>>2]=l+((Tb&8191)<<19|g>>>13);l=v[h+48>>2];g=v[i+48>>2];g=Bib(g,g>>31,14465,0);v[h+48>>2]=l+((Tb&8191)<<19|g>>>13);l=v[h+52>>2];g=v[i+52>>2];g=Bib(g,g>>31,14465,0);v[h+52>>2]=l+((Tb&8191)<<19|g>>>13);l=v[h+56>>2];g=v[i+56>>2];g=Bib(g,g>>31,14465,0);v[h+56>>2]=l+((Tb&8191)<<19|g>>>13);l=v[h+60>>2];g=v[i+60>>2];g=Bib(g,g>>31,14465,0);v[h+60>>2]=l+((Tb&8191)<<19|g>>>13)}h=k;if(!u){i=v[k>>2];g=v[j>>2];g=Bib(g,g>>31,7266,0);v[k>>2]=i+((Tb&8191)<<19|g>>>13);i=v[k+4>>2];g=v[j+4>>2];g=Bib(g,g>>31,7266,0);v[k+4>>2]=i+((Tb&8191)<<19|g>>>13);i=v[k+8>>2];g=v[j+8>>2];g=Bib(g,g>>31,7266,0);v[k+8>>2]=i+((Tb&8191)<<19|g>>>13);i=v[k+12>>2];g=v[j+12>>2];g=Bib(g,g>>31,7266,0);v[k+12>>2]=i+((Tb&8191)<<19|g>>>13);i=v[k+16>>2];g=v[j+16>>2];g=Bib(g,g>>31,7266,0);v[k+16>>2]=i+((Tb&8191)<<19|g>>>13);i=v[k+20>>2];g=v[j+20>>2];g=Bib(g,g>>31,7266,0);v[k+20>>2]=i+((Tb&8191)<<19|g>>>13);i=v[k+24>>2];g=v[j+24>>2];g=Bib(g,g>>31,7266,0);v[k+24>>2]=i+((Tb&8191)<<19|g>>>13);i=v[k+28>>2];g=v[j+28>>2];g=Bib(g,g>>31,7266,0);v[k+28>>2]=i+((Tb&8191)<<19|g>>>13);i=v[k+32>>2];g=v[j+32>>2];g=Bib(g,g>>31,7266,0);v[k+32>>2]=i+((Tb&8191)<<19|g>>>13);i=v[k+36>>2];g=v[j+36>>2];g=Bib(g,g>>31,7266,0);v[k+36>>2]=i+((Tb&8191)<<19|g>>>13);i=v[k+40>>2];g=v[j+40>>2];g=Bib(g,g>>31,7266,0);v[k+40>>2]=i+((Tb&8191)<<19|g>>>13);i=v[k+44>>2];g=v[j+44>>2];g=Bib(g,g>>31,7266,0);v[k+44>>2]=i+((Tb&8191)<<19|g>>>13);i=v[k+48>>2];g=v[j+48>>2];g=Bib(g,g>>31,7266,0);v[k+48>>2]=i+((Tb&8191)<<19|g>>>13);i=v[k+52>>2];g=v[j+52>>2];g=Bib(g,g>>31,7266,0);v[k+52>>2]=i+((Tb&8191)<<19|g>>>13);i=v[k+56>>2];g=v[j+56>>2];g=Bib(g,g>>31,7266,0);v[k+56>>2]=i+((Tb&8191)<<19|g>>>13);i=v[k+60>>2];g=v[j+60>>2];g=Bib(g,g>>31,7266,0);v[k+60>>2]=i+((Tb&8191)<<19|g>>>13);h=(f<<2)+k|0}e:{if((p|0)<1){l=j;break e}i=f<<2;g=j;while(1){m=v[h>>2];l=g+i|0;n=v[l>>2]+v[g>>2]|0;n=Bib(n,n>>31,3633,0);v[h>>2]=m+((Tb&8191)<<19|n>>>13);m=v[h+4>>2];n=v[i+(g+4|0)>>2]+v[g+4>>2]|0;n=Bib(n,n>>31,3633,0);v[h+4>>2]=m+((Tb&8191)<<19|n>>>13);m=v[h+8>>2];n=v[i+(g+8|0)>>2]+v[g+8>>2]|0;n=Bib(n,n>>31,3633,0);v[h+8>>2]=m+((Tb&8191)<<19|n>>>13);m=v[h+12>>2];n=v[i+(g+12|0)>>2]+v[g+12>>2]|0;n=Bib(n,n>>31,3633,0);v[h+12>>2]=m+((Tb&8191)<<19|n>>>13);m=v[h+16>>2];n=v[i+(g+16|0)>>2]+v[g+16>>2]|0;n=Bib(n,n>>31,3633,0);v[h+16>>2]=m+((Tb&8191)<<19|n>>>13);m=v[h+20>>2];n=v[i+(g+20|0)>>2]+v[g+20>>2]|0;n=Bib(n,n>>31,3633,0);v[h+20>>2]=m+((Tb&8191)<<19|n>>>13);m=v[h+24>>2];n=v[i+(g+24|0)>>2]+v[g+24>>2]|0;n=Bib(n,n>>31,3633,0);v[h+24>>2]=m+((Tb&8191)<<19|n>>>13);m=v[h+28>>2];n=v[i+(g+28|0)>>2]+v[g+28>>2]|0;n=Bib(n,n>>31,3633,0);v[h+28>>2]=m+((Tb&8191)<<19|n>>>13);m=v[h+32>>2];n=v[i+(g+32|0)>>2]+v[g+32>>2]|0;n=Bib(n,n>>31,3633,0);v[h+32>>2]=m+((Tb&8191)<<19|n>>>13);m=v[h+36>>2];n=v[i+(g+36|0)>>2]+v[g+36>>2]|0;n=Bib(n,n>>31,3633,0);v[h+36>>2]=m+((Tb&8191)<<19|n>>>13);m=v[h+40>>2];n=v[i+(g+40|0)>>2]+v[g+40>>2]|0;n=Bib(n,n>>31,3633,0);v[h+40>>2]=m+((Tb&8191)<<19|n>>>13);m=v[h+44>>2];n=v[i+(g+44|0)>>2]+v[g+44>>2]|0;n=Bib(n,n>>31,3633,0);v[h+44>>2]=m+((Tb&8191)<<19|n>>>13);m=v[h+48>>2];n=v[i+(g+48|0)>>2]+v[g+48>>2]|0;n=Bib(n,n>>31,3633,0);v[h+48>>2]=m+((Tb&8191)<<19|n>>>13);m=v[h+52>>2];n=v[i+(g+52|0)>>2]+v[g+52>>2]|0;n=Bib(n,n>>31,3633,0);v[h+52>>2]=m+((Tb&8191)<<19|n>>>13);m=v[h+56>>2];n=v[i+(g+56|0)>>2]+v[g+56>>2]|0;n=Bib(n,n>>31,3633,0);v[h+56>>2]=m+((Tb&8191)<<19|n>>>13);n=v[h+60>>2];g=v[i+(g+60|0)>>2]+v[g+60>>2]|0;g=Bib(g,g>>31,3633,0);v[h+60>>2]=n+((Tb&8191)<<19|g>>>13);h=h+i|0;n=(p|0)>1;p=p-1|0;g=l;if(n){continue}break}}if(!z){i=v[h>>2];g=v[l>>2];g=Bib(g,g>>31,7266,0);v[h>>2]=i+((Tb&8191)<<19|g>>>13);i=v[h+4>>2];g=v[l+4>>2];g=Bib(g,g>>31,7266,0);v[h+4>>2]=i+((Tb&8191)<<19|g>>>13);i=v[h+8>>2];g=v[l+8>>2];g=Bib(g,g>>31,7266,0);v[h+8>>2]=i+((Tb&8191)<<19|g>>>13);i=v[h+12>>2];g=v[l+12>>2];g=Bib(g,g>>31,7266,0);v[h+12>>2]=i+((Tb&8191)<<19|g>>>13);i=v[h+16>>2];g=v[l+16>>2];g=Bib(g,g>>31,7266,0);v[h+16>>2]=i+((Tb&8191)<<19|g>>>13);i=v[h+20>>2];g=v[l+20>>2];g=Bib(g,g>>31,7266,0);v[h+20>>2]=i+((Tb&8191)<<19|g>>>13);i=v[h+24>>2];g=v[l+24>>2];g=Bib(g,g>>31,7266,0);v[h+24>>2]=i+((Tb&8191)<<19|g>>>13);i=v[h+28>>2];g=v[l+28>>2];g=Bib(g,g>>31,7266,0);v[h+28>>2]=i+((Tb&8191)<<19|g>>>13);i=v[h+32>>2];g=v[l+32>>2];g=Bib(g,g>>31,7266,0);v[h+32>>2]=i+((Tb&8191)<<19|g>>>13);i=v[h+36>>2];g=v[l+36>>2];g=Bib(g,g>>31,7266,0);v[h+36>>2]=i+((Tb&8191)<<19|g>>>13);i=v[h+40>>2];g=v[l+40>>2];g=Bib(g,g>>31,7266,0);v[h+40>>2]=i+((Tb&8191)<<19|g>>>13);i=v[h+44>>2];g=v[l+44>>2];g=Bib(g,g>>31,7266,0);v[h+44>>2]=i+((Tb&8191)<<19|g>>>13);i=v[h+48>>2];g=v[l+48>>2];g=Bib(g,g>>31,7266,0);v[h+48>>2]=i+((Tb&8191)<<19|g>>>13);i=v[h+52>>2];g=v[l+52>>2];g=Bib(g,g>>31,7266,0);v[h+52>>2]=i+((Tb&8191)<<19|g>>>13);i=v[h+56>>2];g=v[l+56>>2];g=Bib(g,g>>31,7266,0);v[h+56>>2]=i+((Tb&8191)<<19|g>>>13);i=v[h+60>>2];g=v[l+60>>2];g=Bib(g,g>>31,7266,0);v[h+60>>2]=i+((Tb&8191)<<19|g>>>13)}if((x|0)>=2){g=f<<2;while(1){i=v[k>>2];i=Bib(i,i>>31,6659,0);v[k>>2]=(Tb&8191)<<19|i>>>13;i=v[k+4>>2];i=Bib(i,i>>31,6659,0);v[k+4>>2]=(Tb&8191)<<19|i>>>13;i=v[k+8>>2];i=Bib(i,i>>31,6659,0);v[k+8>>2]=(Tb&8191)<<19|i>>>13;i=v[k+12>>2];i=Bib(i,i>>31,6659,0);v[k+12>>2]=(Tb&8191)<<19|i>>>13;i=v[k+16>>2];i=Bib(i,i>>31,6659,0);v[k+16>>2]=(Tb&8191)<<19|i>>>13;i=v[k+20>>2];i=Bib(i,i>>31,6659,0);v[k+20>>2]=(Tb&8191)<<19|i>>>13;i=v[k+24>>2];i=Bib(i,i>>31,6659,0);v[k+24>>2]=(Tb&8191)<<19|i>>>13;i=v[k+28>>2];i=Bib(i,i>>31,6659,0);v[k+28>>2]=(Tb&8191)<<19|i>>>13;i=v[k+32>>2];i=Bib(i,i>>31,6659,0);v[k+32>>2]=(Tb&8191)<<19|i>>>13;i=v[k+36>>2];i=Bib(i,i>>31,6659,0);v[k+36>>2]=(Tb&8191)<<19|i>>>13;i=v[k+40>>2];i=Bib(i,i>>31,6659,0);v[k+40>>2]=(Tb&8191)<<19|i>>>13;i=v[k+44>>2];i=Bib(i,i>>31,6659,0);v[k+44>>2]=(Tb&8191)<<19|i>>>13;i=v[k+48>>2];i=Bib(i,i>>31,6659,0);v[k+48>>2]=(Tb&8191)<<19|i>>>13;i=v[k+52>>2];i=Bib(i,i>>31,6659,0);v[k+52>>2]=(Tb&8191)<<19|i>>>13;i=v[k+56>>2];i=Bib(i,i>>31,6659,0);v[k+56>>2]=(Tb&8191)<<19|i>>>13;i=v[k+60>>2];i=Bib(i,i>>31,6659,0);v[k+60>>2]=(Tb&8191)<<19|i>>>13;k=g+k|0;i=(s|0)>1;s=s-1|0;if(i){continue}break}}if((w|0)<1){break a}g=f<<2;while(1){k=v[j>>2];k=Bib(k,k>>31,5038,0);v[j>>2]=(Tb&8191)<<19|k>>>13;k=v[j+4>>2];k=Bib(k,k>>31,5038,0);v[j+4>>2]=(Tb&8191)<<19|k>>>13;k=v[j+8>>2];k=Bib(k,k>>31,5038,0);v[j+8>>2]=(Tb&8191)<<19|k>>>13;k=v[j+12>>2];k=Bib(k,k>>31,5038,0);v[j+12>>2]=(Tb&8191)<<19|k>>>13;k=v[j+16>>2];k=Bib(k,k>>31,5038,0);v[j+16>>2]=(Tb&8191)<<19|k>>>13;k=v[j+20>>2];k=Bib(k,k>>31,5038,0);v[j+20>>2]=(Tb&8191)<<19|k>>>13;k=v[j+24>>2];k=Bib(k,k>>31,5038,0);v[j+24>>2]=(Tb&8191)<<19|k>>>13;k=v[j+28>>2];k=Bib(k,k>>31,5038,0);v[j+28>>2]=(Tb&8191)<<19|k>>>13;k=v[j+32>>2];k=Bib(k,k>>31,5038,0);v[j+32>>2]=(Tb&8191)<<19|k>>>13;k=v[j+36>>2];k=Bib(k,k>>31,5038,0);v[j+36>>2]=(Tb&8191)<<19|k>>>13;k=v[j+40>>2];k=Bib(k,k>>31,5038,0);v[j+40>>2]=(Tb&8191)<<19|k>>>13;k=v[j+44>>2];k=Bib(k,k>>31,5038,0);v[j+44>>2]=(Tb&8191)<<19|k>>>13;k=v[j+48>>2];k=Bib(k,k>>31,5038,0);v[j+48>>2]=(Tb&8191)<<19|k>>>13;k=v[j+52>>2];k=Bib(k,k>>31,5038,0);v[j+52>>2]=(Tb&8191)<<19|k>>>13;k=v[j+56>>2];k=Bib(k,k>>31,5038,0);v[j+56>>2]=(Tb&8191)<<19|k>>>13;k=v[j+60>>2];k=Bib(k,k>>31,5038,0);v[j+60>>2]=(Tb&8191)<<19|k>>>13;j=g+j|0;k=(w|0)>1;w=w-1|0;if(k){continue}break}}c=c- -64|0;A=A+16|0;if((r|0)>(A|0)){continue}break}}if((d|0)>(r|0)){r=d-r|0;j2(c,e,r,f,u);k=c;m=0;o=0;f:{if((e|0)<2){break f}F=(e-u|0)+1|0;z=F>>1;i=(B(z,f)<<2)+k|0;h=i;if(u){g:{if((r|0)<1){break g}g=r&3;j=i;if(r-1>>>0>=3){l=r&-4;while(1){p=v[j>>2];h=v[c>>2];h=Bib(h,h>>31,-25987,-1);v[j>>2]=p+((Tb&8191)<<19|h>>>13);p=v[j+4>>2];h=v[c+4>>2];h=Bib(h,h>>31,-25987,-1);v[j+4>>2]=p+((Tb&8191)<<19|h>>>13);p=v[j+8>>2];h=v[c+8>>2];h=Bib(h,h>>31,-25987,-1);v[j+8>>2]=p+((Tb&8191)<<19|h>>>13);p=v[j+12>>2];h=v[c+12>>2];h=Bib(h,h>>31,-25987,-1);v[j+12>>2]=p+((Tb&8191)<<19|h>>>13);c=c+16|0;j=j+16|0;l=l-4|0;if(l){continue}break}}if(!g){break g}while(1){l=v[j>>2];h=v[c>>2];h=Bib(h,h>>31,-25987,-1);v[j>>2]=l+((Tb&8191)<<19|h>>>13);c=c+4|0;j=j+4|0;g=g-1|0;if(g){continue}break}}h=(f<<2)+i|0}x=e-z|0;w=e&1;A=(w|0)==(u|0);t=(x-u|0)-A|0;s=t-1|0;h:{i:{if((t|0)<1){g=k;break i}if((r|0)<1){break h}p=r&-2;q=r&1;m=f<<2;n=s;g=k;while(1){j=h;c=g;l=p;if((r|0)!=1){while(1){y=v[j>>2];o=v[c+m>>2]+v[c>>2]|0;o=Bib(o,o>>31,-12993,-1);v[j>>2]=y+((Tb&8191)<<19|o>>>13);y=v[j+4>>2];o=v[m+(c+4|0)>>2]+v[c+4>>2]|0;o=Bib(o,o>>31,-12993,-1);v[j+4>>2]=y+((Tb&8191)<<19|o>>>13);j=j+8|0;c=c+8|0;l=l-2|0;if(l){continue}break}}if(q){l=v[j>>2];c=v[c+m>>2]+v[c>>2]|0;c=Bib(c,c>>31,-12993,-1);v[j>>2]=l+((Tb&8191)<<19|c>>>13)}g=g+m|0;h=h+m|0;c=(n|0)>0;n=n-1|0;if(c){continue}break}}m=(r|0)>0;o=A&m;if(!o){o=0;break h}j=r&3;if(r-1>>>0>=3){c=r&-4;while(1){p=v[h>>2];l=v[g>>2];l=Bib(l,l>>31,-25987,-1);v[h>>2]=p+((Tb&8191)<<19|l>>>13);p=v[h+4>>2];l=v[g+4>>2];l=Bib(l,l>>31,-25987,-1);v[h+4>>2]=p+((Tb&8191)<<19|l>>>13);p=v[h+8>>2];l=v[g+8>>2];l=Bib(l,l>>31,-25987,-1);v[h+8>>2]=p+((Tb&8191)<<19|l>>>13);p=v[h+12>>2];l=v[g+12>>2];l=Bib(l,l>>31,-25987,-1);v[h+12>>2]=p+((Tb&8191)<<19|l>>>13);h=h+16|0;g=g+16|0;c=c-4|0;if(c){continue}break}}if(!j){break h}while(1){l=v[h>>2];c=v[g>>2];c=Bib(c,c>>31,-25987,-1);v[h>>2]=l+((Tb&8191)<<19|c>>>13);h=h+4|0;g=g+4|0;j=j-1|0;if(j){continue}break}}h=k;if(!u){j:{if(!m){break j}g=r&3;c=i;j=k;if(r-1>>>0>=3){l=r&-4;while(1){p=v[j>>2];h=v[c>>2];h=Bib(h,h>>31,-868,-1);v[j>>2]=p+((Tb&8191)<<19|h>>>13);p=v[j+4>>2];h=v[c+4>>2];h=Bib(h,h>>31,-868,-1);v[j+4>>2]=p+((Tb&8191)<<19|h>>>13);p=v[j+8>>2];h=v[c+8>>2];h=Bib(h,h>>31,-868,-1);v[j+8>>2]=p+((Tb&8191)<<19|h>>>13);p=v[j+12>>2];h=v[c+12>>2];h=Bib(h,h>>31,-868,-1);v[j+12>>2]=p+((Tb&8191)<<19|h>>>13);c=c+16|0;j=j+16|0;l=l-4|0;if(l){continue}break}}if(!g){break j}while(1){l=v[j>>2];h=v[c>>2];h=Bib(h,h>>31,-868,-1);v[j>>2]=l+((Tb&8191)<<19|h>>>13);c=c+4|0;j=j+4|0;g=g-1|0;if(g){continue}break}}h=(f<<2)+k|0}D=(u|0)!=(w|0);C=(z-!u|0)-D|0;n=C-1|0;k:{l:{if((C|0)<1){g=i;break l}q=0;p=0;if(!m){break k}w=r&-2;G=r&1;q=f<<2;p=n;g=i;while(1){j=g;c=h;l=w;if((r|0)!=1){while(1){E=v[c>>2];y=v[j+q>>2]+v[j>>2]|0;y=Bib(y,y>>31,-434,-1);v[c>>2]=E+((Tb&8191)<<19|y>>>13);E=v[c+4>>2];y=v[q+(j+4|0)>>2]+v[j+4>>2]|0;y=Bib(y,y>>31,-434,-1);v[c+4>>2]=E+((Tb&8191)<<19|y>>>13);j=j+8|0;c=c+8|0;l=l-2|0;if(l){continue}break}}if(G){l=c;y=v[c>>2];c=v[j+q>>2]+v[j>>2]|0;c=Bib(c,c>>31,-434,-1);v[l>>2]=y+((Tb&8191)<<19|c>>>13)}g=g+q|0;h=h+q|0;c=(p|0)>0;p=p-1|0;if(c){continue}break}}q=m&D;m:{if(!q){q=0;break m}j=r&3;if(r-1>>>0>=3){c=r&-4;while(1){p=v[h>>2];l=v[g>>2];l=Bib(l,l>>31,-868,-1);v[h>>2]=p+((Tb&8191)<<19|l>>>13);p=v[h+4>>2];l=v[g+4>>2];l=Bib(l,l>>31,-868,-1);v[h+4>>2]=p+((Tb&8191)<<19|l>>>13);p=v[h+8>>2];l=v[g+8>>2];l=Bib(l,l>>31,-868,-1);v[h+8>>2]=p+((Tb&8191)<<19|l>>>13);p=v[h+12>>2];l=v[g+12>>2];l=Bib(l,l>>31,-868,-1);v[h+12>>2]=p+((Tb&8191)<<19|l>>>13);g=g+16|0;h=h+16|0;c=c-4|0;if(c){continue}break}}if(!j){break m}while(1){l=v[h>>2];c=v[g>>2];c=Bib(c,c>>31,-868,-1);v[h>>2]=l+((Tb&8191)<<19|c>>>13);g=g+4|0;h=h+4|0;j=j-1|0;if(j){continue}break}}p=m}h=i;if(u){n:{if(!p){break n}g=r&3;j=i;c=k;if(r-1>>>0>=3){l=r&-4;while(1){m=v[j>>2];h=v[c>>2];h=Bib(h,h>>31,14465,0);v[j>>2]=m+((Tb&8191)<<19|h>>>13);m=v[j+4>>2];h=v[c+4>>2];h=Bib(h,h>>31,14465,0);v[j+4>>2]=m+((Tb&8191)<<19|h>>>13);m=v[j+8>>2];h=v[c+8>>2];h=Bib(h,h>>31,14465,0);v[j+8>>2]=m+((Tb&8191)<<19|h>>>13);m=v[j+12>>2];h=v[c+12>>2];h=Bib(h,h>>31,14465,0);v[j+12>>2]=m+((Tb&8191)<<19|h>>>13);c=c+16|0;j=j+16|0;l=l-4|0;if(l){continue}break}}if(!g){break n}while(1){l=v[j>>2];h=v[c>>2];h=Bib(h,h>>31,14465,0);v[j>>2]=l+((Tb&8191)<<19|h>>>13);c=c+4|0;j=j+4|0;g=g-1|0;if(g){continue}break}}h=(f<<2)+i|0}o:{if((t|0)<1){g=k;break o}if(p){m=r&-2;A=r&1;w=f<<2;g=k;while(1){j=h;c=g;l=m;if((r|0)!=1){while(1){y=v[j>>2];t=v[c+w>>2]+v[c>>2]|0;t=Bib(t,t>>31,7232,0);v[j>>2]=y+((Tb&8191)<<19|t>>>13);y=v[j+4>>2];t=v[w+(c+4|0)>>2]+v[c+4>>2]|0;t=Bib(t,t>>31,7232,0);v[j+4>>2]=y+((Tb&8191)<<19|t>>>13);j=j+8|0;c=c+8|0;l=l-2|0;if(l){continue}break}}if(A){l=v[j>>2];c=v[c+w>>2]+v[c>>2]|0;c=Bib(c,c>>31,7232,0);v[j>>2]=l+((Tb&8191)<<19|c>>>13)}g=g+w|0;h=h+w|0;c=(s|0)>0;s=s-1|0;if(c){continue}break}break o}c=B((A?-1:0)+e-(u+z)|0,f)<<2;g=c+k|0;h=c+h|0;p=0}p:{if(!o){break p}j=r&3;if(r-1>>>0>=3){c=r&-4;while(1){m=v[h>>2];l=v[g>>2];l=Bib(l,l>>31,14465,0);v[h>>2]=m+((Tb&8191)<<19|l>>>13);m=v[h+4>>2];l=v[g+4>>2];l=Bib(l,l>>31,14465,0);v[h+4>>2]=m+((Tb&8191)<<19|l>>>13);m=v[h+8>>2];l=v[g+8>>2];l=Bib(l,l>>31,14465,0);v[h+8>>2]=m+((Tb&8191)<<19|l>>>13);m=v[h+12>>2];l=v[g+12>>2];l=Bib(l,l>>31,14465,0);v[h+12>>2]=m+((Tb&8191)<<19|l>>>13);h=h+16|0;g=g+16|0;c=c-4|0;if(c){continue}break}}if(!j){break p}while(1){l=v[h>>2];c=v[g>>2];c=Bib(c,c>>31,14465,0);v[h>>2]=l+((Tb&8191)<<19|c>>>13);h=h+4|0;g=g+4|0;j=j-1|0;if(j){continue}break}}h=k;if(!u){q:{if(!p){break q}g=r&3;c=i;j=k;if(r-1>>>0>=3){l=r&-4;while(1){m=v[j>>2];h=v[c>>2];h=Bib(h,h>>31,7266,0);v[j>>2]=m+((Tb&8191)<<19|h>>>13);m=v[j+4>>2];h=v[c+4>>2];h=Bib(h,h>>31,7266,0);v[j+4>>2]=m+((Tb&8191)<<19|h>>>13);m=v[j+8>>2];h=v[c+8>>2];h=Bib(h,h>>31,7266,0);v[j+8>>2]=m+((Tb&8191)<<19|h>>>13);m=v[j+12>>2];h=v[c+12>>2];h=Bib(h,h>>31,7266,0);v[j+12>>2]=m+((Tb&8191)<<19|h>>>13);c=c+16|0;j=j+16|0;l=l-4|0;if(l){continue}break}}if(!g){break q}while(1){l=v[j>>2];h=v[c>>2];h=Bib(h,h>>31,7266,0);v[j>>2]=l+((Tb&8191)<<19|h>>>13);c=c+4|0;j=j+4|0;g=g-1|0;if(g){continue}break}}h=(f<<2)+k|0}r:{if((C|0)<1){g=i;break r}if(p){s=r&-2;w=r&1;m=f<<2;g=i;while(1){j=g;c=h;l=s;if((r|0)!=1){while(1){o=v[c>>2];u=v[j+m>>2]+v[j>>2]|0;u=Bib(u,u>>31,3633,0);v[c>>2]=o+((Tb&8191)<<19|u>>>13);o=v[c+4>>2];u=v[m+(j+4|0)>>2]+v[j+4>>2]|0;u=Bib(u,u>>31,3633,0);v[c+4>>2]=o+((Tb&8191)<<19|u>>>13);j=j+8|0;c=c+8|0;l=l-2|0;if(l){continue}break}}if(w){l=c;o=v[c>>2];c=v[j+m>>2]+v[j>>2]|0;c=Bib(c,c>>31,3633,0);v[l>>2]=o+((Tb&8191)<<19|c>>>13)}g=g+m|0;h=h+m|0;c=(n|0)>0;n=n-1|0;if(c){continue}break}break r}g=B((z<<3)+((u?0:-1)+(D?-1:0)<<2)|0,f)+k|0;h=(B(f,C)<<2)+h|0;p=0}s:{if(!q){break s}j=r&3;if(r-1>>>0>=3){c=r&-4;while(1){n=v[h>>2];l=v[g>>2];l=Bib(l,l>>31,7266,0);v[h>>2]=n+((Tb&8191)<<19|l>>>13);n=v[h+4>>2];l=v[g+4>>2];l=Bib(l,l>>31,7266,0);v[h+4>>2]=n+((Tb&8191)<<19|l>>>13);n=v[h+8>>2];l=v[g+8>>2];l=Bib(l,l>>31,7266,0);v[h+8>>2]=n+((Tb&8191)<<19|l>>>13);n=v[h+12>>2];l=v[g+12>>2];l=Bib(l,l>>31,7266,0);v[h+12>>2]=n+((Tb&8191)<<19|l>>>13);g=g+16|0;h=h+16|0;c=c-4|0;if(c){continue}break}}if(!j){break s}while(1){l=v[h>>2];c=v[g>>2];c=Bib(c,c>>31,7266,0);v[h>>2]=l+((Tb&8191)<<19|c>>>13);g=g+4|0;h=h+4|0;j=j-1|0;if(j){continue}break}}c=(F|0)<2;j=c&p;if(!(p^1|c)){g=r&-4;h=r&3;l=r-1>>>0<3;n=f<<2;while(1){j=k;c=g;if(!l){while(1){s=v[j>>2];s=Bib(s,s>>31,6659,0);v[j>>2]=(Tb&8191)<<19|s>>>13;s=v[j+4>>2];s=Bib(s,s>>31,6659,0);v[j+4>>2]=(Tb&8191)<<19|s>>>13;s=v[j+8>>2];s=Bib(s,s>>31,6659,0);v[j+8>>2]=(Tb&8191)<<19|s>>>13;s=v[j+12>>2];s=Bib(s,s>>31,6659,0);v[j+12>>2]=(Tb&8191)<<19|s>>>13;j=j+16|0;c=c-4|0;if(c){continue}break}}c=h;if(h){while(1){s=v[j>>2];s=Bib(s,s>>31,6659,0);v[j>>2]=(Tb&8191)<<19|s>>>13;j=j+4|0;c=c-1|0;if(c){continue}break}}k=k+n|0;c=(z|0)>1;z=z-1|0;if(c){continue}break}j=p}if(!j|(x|0)<1){break f}g=r&-4;k=r&3;h=r-1>>>0<3;l=f<<2;while(1){j=i;c=g;if(!h){while(1){n=v[j>>2];n=Bib(n,n>>31,5038,0);v[j>>2]=(Tb&8191)<<19|n>>>13;n=v[j+4>>2];n=Bib(n,n>>31,5038,0);v[j+4>>2]=(Tb&8191)<<19|n>>>13;n=v[j+8>>2];n=Bib(n,n>>31,5038,0);v[j+8>>2]=(Tb&8191)<<19|n>>>13;n=v[j+12>>2];n=Bib(n,n>>31,5038,0);v[j+12>>2]=(Tb&8191)<<19|n>>>13;j=j+16|0;c=c-4|0;if(c){continue}break}}c=k;if(k){while(1){n=v[j>>2];n=Bib(n,n>>31,5038,0);v[j>>2]=(Tb&8191)<<19|n>>>13;j=j+4|0;c=c-1|0;if(c){continue}break}}i=i+l|0;c=(x|0)>1;x=x-1|0;if(c){continue}break}}}if((e|0)>=1){n=b&1;c=0;z=f<<2;while(1){i2(a,d,n);f=a;t:{if((d|0)<2){break t}q=(d-n|0)+1|0;h=q>>1;k=(h<<2)+f|0;g=k;if(n){g=v[k>>2];b=v[f>>2];b=Bib(b,b>>31,-25987,-1);v[k>>2]=g+((Tb&8191)<<19|b>>>13);g=k+4|0}l=d&1;s=(l|0)==(n|0);w=s?-1:0;p=d-h|0;i=(p-n|0)-s|0;u:{if((i|0)<1){b=f;break u}m=(d+w|0)+(h^-1)|0;v:{if(!(i&1)){j=i;b=f;break v}j=v[g>>2];b=v[f+4>>2]+v[f>>2]|0;b=Bib(b,b>>31,-12993,-1);v[g>>2]=j+((Tb&8191)<<19|b>>>13);g=g+4|0;j=i-1|0;b=f+4|0}if((n|0)==(m|0)){break u}while(1){o=v[g>>2];m=v[b+4>>2]+v[b>>2]|0;m=Bib(m,m>>31,-12993,-1);v[g>>2]=o+((Tb&8191)<<19|m>>>13);o=v[g+4>>2];m=v[b+8>>2]+v[b+4>>2]|0;m=Bib(m,m>>31,-12993,-1);v[g+4>>2]=o+((Tb&8191)<<19|m>>>13);g=g+8|0;b=b+8|0;m=(j|0)>2;j=j-2|0;if(m){continue}break}}m=(n|0)!=(l|0);if(!m){j=v[g>>2];b=v[b>>2];b=Bib(b,b>>31,-25987,-1);v[g>>2]=j+((Tb&8191)<<19|b>>>13)}g=f;if(!n){g=v[f>>2];b=v[k>>2];b=Bib(b,b>>31,-868,-1);v[f>>2]=g+((Tb&8191)<<19|b>>>13);g=f+4|0}r=n?0:-1;u=m?-1:0;j=(h-!n|0)-m|0;w:{if((j|0)<1){b=k;break w}x=u+(h+r|0)|0;x:{if(!(j&1)){l=j;b=k;break x}l=v[g>>2];b=v[k+4>>2]+v[k>>2]|0;b=Bib(b,b>>31,-434,-1);v[g>>2]=l+((Tb&8191)<<19|b>>>13);g=g+4|0;l=j-1|0;b=k+4|0}if((x|0)==1){break w}while(1){o=v[g>>2];x=v[b+4>>2]+v[b>>2]|0;x=Bib(x,x>>31,-434,-1);v[g>>2]=o+((Tb&8191)<<19|x>>>13);o=v[g+4>>2];x=v[b+8>>2]+v[b+4>>2]|0;x=Bib(x,x>>31,-434,-1);v[g+4>>2]=o+((Tb&8191)<<19|x>>>13);g=g+8|0;b=b+8|0;x=(l|0)>2;l=l-2|0;if(x){continue}break}}if(!s){l=v[g>>2];b=v[b>>2];b=Bib(b,b>>31,-868,-1);v[g>>2]=l+((Tb&8191)<<19|b>>>13)}g=k;if(n){g=v[k>>2];b=v[f>>2];b=Bib(b,b>>31,14465,0);v[k>>2]=g+((Tb&8191)<<19|b>>>13);g=k+4|0}y:{if((i|0)<1){b=f;break y}l=(d+w|0)+(h^-1)|0;if(i&1){w=v[g>>2];b=v[f+4>>2]+v[f>>2]|0;b=Bib(b,b>>31,7232,0);v[g>>2]=w+((Tb&8191)<<19|b>>>13);g=g+4|0;i=i-1|0;b=f+4|0}else{b=f}if((n|0)==(l|0)){break y}while(1){w=v[g>>2];l=v[b+4>>2]+v[b>>2]|0;l=Bib(l,l>>31,7232,0);v[g>>2]=w+((Tb&8191)<<19|l>>>13);w=v[g+4>>2];l=v[b+8>>2]+v[b+4>>2]|0;l=Bib(l,l>>31,7232,0);v[g+4>>2]=w+((Tb&8191)<<19|l>>>13);g=g+8|0;b=b+8|0;l=(i|0)>2;i=i-2|0;if(l){continue}break}}if(!m){i=v[g>>2];b=v[b>>2];b=Bib(b,b>>31,14465,0);v[g>>2]=i+((Tb&8191)<<19|b>>>13)}g=f;if(!n){g=v[f>>2];b=v[k>>2];b=Bib(b,b>>31,7266,0);v[f>>2]=g+((Tb&8191)<<19|b>>>13);g=f+4|0}z:{if((j|0)<1){b=k;break z}i=u+(h+r|0)|0;if(j&1){l=v[g>>2];b=v[k+4>>2]+v[k>>2]|0;b=Bib(b,b>>31,3633,0);v[g>>2]=l+((Tb&8191)<<19|b>>>13);g=g+4|0;j=j-1|0;b=k+4|0}else{b=k}if((i|0)==1){break z}while(1){l=v[g>>2];i=v[b+4>>2]+v[b>>2]|0;i=Bib(i,i>>31,3633,0);v[g>>2]=l+((Tb&8191)<<19|i>>>13);l=v[g+4>>2];i=v[b+8>>2]+v[b+4>>2]|0;i=Bib(i,i>>31,3633,0);v[g+4>>2]=l+((Tb&8191)<<19|i>>>13);g=g+8|0;b=b+8|0;i=(j|0)>2;j=j-2|0;if(i){continue}break}}if(!s){j=v[g>>2];b=v[b>>2];b=Bib(b,b>>31,7266,0);v[g>>2]=j+((Tb&8191)<<19|b>>>13)}if((q|0)>1){g=h;while(1){b=v[f>>2];b=Bib(b,b>>31,6659,0);v[f>>2]=(Tb&8191)<<19|b>>>13;f=f+4|0;b=(g|0)>1;g=g-1|0;if(b){continue}break}}if((p|0)<1){break t}f=d-h&3;if(f){while(1){b=v[k>>2];b=Bib(b,b>>31,5038,0);v[k>>2]=(Tb&8191)<<19|b>>>13;k=k+4|0;p=p-1|0;f=f-1|0;if(f){continue}break}}if((h^-1)+d>>>0<3){break t}while(1){b=v[k>>2];b=Bib(b,b>>31,5038,0);v[k>>2]=(Tb&8191)<<19|b>>>13;b=v[k+4>>2];b=Bib(b,b>>31,5038,0);v[k+4>>2]=(Tb&8191)<<19|b>>>13;b=v[k+8>>2];b=Bib(b,b>>31,5038,0);v[k+8>>2]=(Tb&8191)<<19|b>>>13;b=v[k+12>>2];b=Bib(b,b>>31,5038,0);v[k+12>>2]=(Tb&8191)<<19|b>>>13;k=k+16|0;b=(p|0)>4;p=p-4|0;if(b){continue}break}}a=a+z|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}return 0}function Wgb(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,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,w=0,x=0,y=0;if((e|0)>=1){s=b&1;o=f<<2;b=a;while(1){j=b;a:{if((d|0)<2){break a}h=(d-s|0)+1|0;k=h>>1;if((h|0)>=2){g=j;h=k;while(1){i=v[g>>2];i=Bib(i,i>>31,10077,0);v[g>>2]=(Tb&8191)<<19|i>>>13;g=g+4|0;i=(h|0)>1;h=h-1|0;if(i){continue}break}}h=(k<<2)+j|0;r=d-k|0;b:{if((r|0)<1){break b}i=r;g=h;m=d-k&3;if(m){while(1){n=v[g>>2];n=Bib(n,n>>31,13318,0);v[g>>2]=(Tb&8191)<<19|n>>>13;g=g+4|0;i=i-1|0;m=m-1|0;if(m){continue}break}}if((k^-1)+d>>>0<3){break b}while(1){n=v[g>>2];n=Bib(n,n>>31,13318,0);v[g>>2]=(Tb&8191)<<19|n>>>13;n=v[g+4>>2];n=Bib(n,n>>31,13318,0);v[g+4>>2]=(Tb&8191)<<19|n>>>13;n=v[g+8>>2];n=Bib(n,n>>31,13318,0);v[g+8>>2]=(Tb&8191)<<19|n>>>13;n=v[g+12>>2];n=Bib(n,n>>31,13318,0);v[g+12>>2]=(Tb&8191)<<19|n>>>13;g=g+16|0;n=(i|0)>4;i=i-4|0;if(n){continue}break}}g=j;if(!s){i=v[j>>2];g=v[h>>2];g=Bib(g,g>>31,7266,0);v[j>>2]=i-((Tb&8191)<<19|g>>>13);g=j+4|0}q=s?0:-1;u=d&1;p=(u|0)!=(s|0);l=p?-1:0;m=(k-!s|0)-p|0;c:{if((m|0)<1){i=h;break c}x=l+(k+q|0)|0;d:{if(!(m&1)){n=m;i=h;break d}n=v[g>>2];i=v[h+4>>2]+v[h>>2]|0;i=Bib(i,i>>31,3633,0);v[g>>2]=n-((Tb&8191)<<19|i>>>13);g=g+4|0;n=m-1|0;i=h+4|0}if((x|0)==1){break c}while(1){t=v[g>>2];x=v[i+4>>2]+v[i>>2]|0;x=Bib(x,x>>31,3633,0);v[g>>2]=t-((Tb&8191)<<19|x>>>13);t=v[g+4>>2];x=v[i+8>>2]+v[i+4>>2]|0;x=Bib(x,x>>31,3633,0);v[g+4>>2]=t-((Tb&8191)<<19|x>>>13);g=g+8|0;i=i+8|0;x=(n|0)>2;n=n-2|0;if(x){continue}break}}u=(s|0)==(u|0);if(!u){n=g;t=v[g>>2];g=v[i>>2];g=Bib(g,g>>31,7266,0);v[n>>2]=t-((Tb&8191)<<19|g>>>13)}g=h;if(s){i=v[h>>2];g=v[j>>2];g=Bib(g,g>>31,14465,0);v[h>>2]=i-((Tb&8191)<<19|g>>>13);g=h+4|0}x=u?-1:0;n=(r-s|0)-u|0;e:{if((n|0)<1){i=j;break e}w=(d+x|0)+(k^-1)|0;f:{if(!(n&1)){r=n;i=j;break f}r=v[g>>2];i=v[j+4>>2]+v[j>>2]|0;i=Bib(i,i>>31,7232,0);v[g>>2]=r-((Tb&8191)<<19|i>>>13);g=g+4|0;r=n-1|0;i=j+4|0}if((s|0)==(w|0)){break e}while(1){t=v[g>>2];w=v[i+4>>2]+v[i>>2]|0;w=Bib(w,w>>31,7232,0);v[g>>2]=t-((Tb&8191)<<19|w>>>13);t=v[g+4>>2];w=v[i+8>>2]+v[i+4>>2]|0;w=Bib(w,w>>31,7232,0);v[g+4>>2]=t-((Tb&8191)<<19|w>>>13);g=g+8|0;i=i+8|0;w=(r|0)>2;r=r-2|0;if(w){continue}break}}if(!p){r=g;t=v[g>>2];g=v[i>>2];g=Bib(g,g>>31,14465,0);v[r>>2]=t-((Tb&8191)<<19|g>>>13)}g=j;if(!s){i=v[j>>2];g=v[h>>2];g=Bib(g,g>>31,-868,-1);v[j>>2]=i-((Tb&8191)<<19|g>>>13);g=j+4|0}g:{if((m|0)<1){i=h;break g}r=l+(k+q|0)|0;if(m&1){t=v[g>>2];i=v[h+4>>2]+v[h>>2]|0;i=Bib(i,i>>31,-434,-1);v[g>>2]=t-((Tb&8191)<<19|i>>>13);g=g+4|0;m=m-1|0;i=h+4|0}else{i=h}if((r|0)==1){break g}while(1){t=v[g>>2];r=v[i+4>>2]+v[i>>2]|0;r=Bib(r,r>>31,-434,-1);v[g>>2]=t-((Tb&8191)<<19|r>>>13);t=v[g+4>>2];r=v[i+8>>2]+v[i+4>>2]|0;r=Bib(r,r>>31,-434,-1);v[g+4>>2]=t-((Tb&8191)<<19|r>>>13);g=g+8|0;i=i+8|0;r=(m|0)>2;m=m-2|0;if(r){continue}break}}if(!u){r=g;m=v[g>>2];g=v[i>>2];g=Bib(g,g>>31,-868,-1);v[r>>2]=m-((Tb&8191)<<19|g>>>13)}if(s){i=v[h>>2];g=v[j>>2];g=Bib(g,g>>31,-25987,-1);v[h>>2]=i-((Tb&8191)<<19|g>>>13);h=h+4|0}h:{if((n|0)<1){break h}if(n&1){i=v[h>>2];g=v[j+4>>2]+v[j>>2]|0;g=Bib(g,g>>31,-12993,-1);v[h>>2]=i-((Tb&8191)<<19|g>>>13);n=n-1|0;j=j+4|0;h=h+4|0}if((s|0)==((d+x|0)+(k^-1)|0)){break h}while(1){i=v[h>>2];g=v[j+4>>2]+v[j>>2]|0;g=Bib(g,g>>31,-12993,-1);v[h>>2]=i-((Tb&8191)<<19|g>>>13);i=v[h+4>>2];g=v[j+8>>2]+v[j+4>>2]|0;g=Bib(g,g>>31,-12993,-1);v[h+4>>2]=i-((Tb&8191)<<19|g>>>13);h=h+8|0;j=j+8|0;g=(n|0)>2;n=n-2|0;if(g){continue}break}}if(p){break a}g=h;i=v[h>>2];h=v[j>>2];h=Bib(h,h>>31,-25987,-1);v[g>>2]=i-((Tb&8191)<<19|h>>>13)}h2(b,d,s);b=b+o|0;y=y+1|0;if((y|0)!=(e|0)){continue}break}}u=c&1;r=(d|0)/16<<4;if((d|0)>=16){s=0;while(1){c=a;i:{if((e|0)<2){break i}b=(e-u|0)+1|0;i=b>>1;if((b|0)>=2){b=f<<2;g=i;h=c;while(1){j=v[h>>2];j=Bib(j,j>>31,10077,0);v[h>>2]=(Tb&8191)<<19|j>>>13;j=v[h+4>>2];j=Bib(j,j>>31,10077,0);v[h+4>>2]=(Tb&8191)<<19|j>>>13;j=v[h+8>>2];j=Bib(j,j>>31,10077,0);v[h+8>>2]=(Tb&8191)<<19|j>>>13;j=v[h+12>>2];j=Bib(j,j>>31,10077,0);v[h+12>>2]=(Tb&8191)<<19|j>>>13;j=v[h+16>>2];j=Bib(j,j>>31,10077,0);v[h+16>>2]=(Tb&8191)<<19|j>>>13;j=v[h+20>>2];j=Bib(j,j>>31,10077,0);v[h+20>>2]=(Tb&8191)<<19|j>>>13;j=v[h+24>>2];j=Bib(j,j>>31,10077,0);v[h+24>>2]=(Tb&8191)<<19|j>>>13;j=v[h+28>>2];j=Bib(j,j>>31,10077,0);v[h+28>>2]=(Tb&8191)<<19|j>>>13;j=v[h+32>>2];j=Bib(j,j>>31,10077,0);v[h+32>>2]=(Tb&8191)<<19|j>>>13;j=v[h+36>>2];j=Bib(j,j>>31,10077,0);v[h+36>>2]=(Tb&8191)<<19|j>>>13;j=v[h+40>>2];j=Bib(j,j>>31,10077,0);v[h+40>>2]=(Tb&8191)<<19|j>>>13;j=v[h+44>>2];j=Bib(j,j>>31,10077,0);v[h+44>>2]=(Tb&8191)<<19|j>>>13;j=v[h+48>>2];j=Bib(j,j>>31,10077,0);v[h+48>>2]=(Tb&8191)<<19|j>>>13;j=v[h+52>>2];j=Bib(j,j>>31,10077,0);v[h+52>>2]=(Tb&8191)<<19|j>>>13;j=v[h+56>>2];j=Bib(j,j>>31,10077,0);v[h+56>>2]=(Tb&8191)<<19|j>>>13;j=v[h+60>>2];j=Bib(j,j>>31,10077,0);v[h+60>>2]=(Tb&8191)<<19|j>>>13;h=b+h|0;j=(g|0)>1;g=g-1|0;if(j){continue}break}}h=(B(f,i)<<2)+c|0;j=e-i|0;if((j|0)>=1){n=f<<2;b=j;g=h;while(1){m=v[g>>2];m=Bib(m,m>>31,13318,0);v[g>>2]=(Tb&8191)<<19|m>>>13;m=v[g+4>>2];m=Bib(m,m>>31,13318,0);v[g+4>>2]=(Tb&8191)<<19|m>>>13;m=v[g+8>>2];m=Bib(m,m>>31,13318,0);v[g+8>>2]=(Tb&8191)<<19|m>>>13;m=v[g+12>>2];m=Bib(m,m>>31,13318,0);v[g+12>>2]=(Tb&8191)<<19|m>>>13;m=v[g+16>>2];m=Bib(m,m>>31,13318,0);v[g+16>>2]=(Tb&8191)<<19|m>>>13;m=v[g+20>>2];m=Bib(m,m>>31,13318,0);v[g+20>>2]=(Tb&8191)<<19|m>>>13;m=v[g+24>>2];m=Bib(m,m>>31,13318,0);v[g+24>>2]=(Tb&8191)<<19|m>>>13;m=v[g+28>>2];m=Bib(m,m>>31,13318,0);v[g+28>>2]=(Tb&8191)<<19|m>>>13;m=v[g+32>>2];m=Bib(m,m>>31,13318,0);v[g+32>>2]=(Tb&8191)<<19|m>>>13;m=v[g+36>>2];m=Bib(m,m>>31,13318,0);v[g+36>>2]=(Tb&8191)<<19|m>>>13;m=v[g+40>>2];m=Bib(m,m>>31,13318,0);v[g+40>>2]=(Tb&8191)<<19|m>>>13;m=v[g+44>>2];m=Bib(m,m>>31,13318,0);v[g+44>>2]=(Tb&8191)<<19|m>>>13;m=v[g+48>>2];m=Bib(m,m>>31,13318,0);v[g+48>>2]=(Tb&8191)<<19|m>>>13;m=v[g+52>>2];m=Bib(m,m>>31,13318,0);v[g+52>>2]=(Tb&8191)<<19|m>>>13;m=v[g+56>>2];m=Bib(m,m>>31,13318,0);v[g+56>>2]=(Tb&8191)<<19|m>>>13;m=v[g+60>>2];m=Bib(m,m>>31,13318,0);v[g+60>>2]=(Tb&8191)<<19|m>>>13;g=g+n|0;m=(b|0)>1;b=b-1|0;if(m){continue}break}}g=c;if(!u){g=v[c>>2];b=v[h>>2];b=Bib(b,b>>31,7266,0);v[c>>2]=g-((Tb&8191)<<19|b>>>13);g=v[c+4>>2];b=v[h+4>>2];b=Bib(b,b>>31,7266,0);v[c+4>>2]=g-((Tb&8191)<<19|b>>>13);g=v[c+8>>2];b=v[h+8>>2];b=Bib(b,b>>31,7266,0);v[c+8>>2]=g-((Tb&8191)<<19|b>>>13);g=v[c+12>>2];b=v[h+12>>2];b=Bib(b,b>>31,7266,0);v[c+12>>2]=g-((Tb&8191)<<19|b>>>13);g=v[c+16>>2];b=v[h+16>>2];b=Bib(b,b>>31,7266,0);v[c+16>>2]=g-((Tb&8191)<<19|b>>>13);g=v[c+20>>2];b=v[h+20>>2];b=Bib(b,b>>31,7266,0);v[c+20>>2]=g-((Tb&8191)<<19|b>>>13);g=v[c+24>>2];b=v[h+24>>2];b=Bib(b,b>>31,7266,0);v[c+24>>2]=g-((Tb&8191)<<19|b>>>13);g=v[c+28>>2];b=v[h+28>>2];b=Bib(b,b>>31,7266,0);v[c+28>>2]=g-((Tb&8191)<<19|b>>>13);g=v[c+32>>2];b=v[h+32>>2];b=Bib(b,b>>31,7266,0);v[c+32>>2]=g-((Tb&8191)<<19|b>>>13);g=v[c+36>>2];b=v[h+36>>2];b=Bib(b,b>>31,7266,0);v[c+36>>2]=g-((Tb&8191)<<19|b>>>13);g=v[c+40>>2];b=v[h+40>>2];b=Bib(b,b>>31,7266,0);v[c+40>>2]=g-((Tb&8191)<<19|b>>>13);g=v[c+44>>2];b=v[h+44>>2];b=Bib(b,b>>31,7266,0);v[c+44>>2]=g-((Tb&8191)<<19|b>>>13);g=v[c+48>>2];b=v[h+48>>2];b=Bib(b,b>>31,7266,0);v[c+48>>2]=g-((Tb&8191)<<19|b>>>13);g=v[c+52>>2];b=v[h+52>>2];b=Bib(b,b>>31,7266,0);v[c+52>>2]=g-((Tb&8191)<<19|b>>>13);g=v[c+56>>2];b=v[h+56>>2];b=Bib(b,b>>31,7266,0);v[c+56>>2]=g-((Tb&8191)<<19|b>>>13);g=v[c+60>>2];b=v[h+60>>2];b=Bib(b,b>>31,7266,0);v[c+60>>2]=g-((Tb&8191)<<19|b>>>13);g=(f<<2)+c|0}q=e&1;p=(q|0)!=(u|0);m=(i-!u|0)-p|0;j:{if((m|0)<1){i=h;break j}k=f<<2;n=m;b=h;while(1){o=v[g>>2];i=b+k|0;l=v[i>>2]+v[b>>2]|0;l=Bib(l,l>>31,3633,0);v[g>>2]=o-((Tb&8191)<<19|l>>>13);o=v[g+4>>2];l=v[k+(b+4|0)>>2]+v[b+4>>2]|0;l=Bib(l,l>>31,3633,0);v[g+4>>2]=o-((Tb&8191)<<19|l>>>13);o=v[g+8>>2];l=v[k+(b+8|0)>>2]+v[b+8>>2]|0;l=Bib(l,l>>31,3633,0);v[g+8>>2]=o-((Tb&8191)<<19|l>>>13);o=v[g+12>>2];l=v[k+(b+12|0)>>2]+v[b+12>>2]|0;l=Bib(l,l>>31,3633,0);v[g+12>>2]=o-((Tb&8191)<<19|l>>>13);o=v[g+16>>2];l=v[k+(b+16|0)>>2]+v[b+16>>2]|0;l=Bib(l,l>>31,3633,0);v[g+16>>2]=o-((Tb&8191)<<19|l>>>13);o=v[g+20>>2];l=v[k+(b+20|0)>>2]+v[b+20>>2]|0;l=Bib(l,l>>31,3633,0);v[g+20>>2]=o-((Tb&8191)<<19|l>>>13);o=v[g+24>>2];l=v[k+(b+24|0)>>2]+v[b+24>>2]|0;l=Bib(l,l>>31,3633,0);v[g+24>>2]=o-((Tb&8191)<<19|l>>>13);o=v[g+28>>2];l=v[k+(b+28|0)>>2]+v[b+28>>2]|0;l=Bib(l,l>>31,3633,0);v[g+28>>2]=o-((Tb&8191)<<19|l>>>13);o=v[g+32>>2];l=v[k+(b+32|0)>>2]+v[b+32>>2]|0;l=Bib(l,l>>31,3633,0);v[g+32>>2]=o-((Tb&8191)<<19|l>>>13);o=v[g+36>>2];l=v[k+(b+36|0)>>2]+v[b+36>>2]|0;l=Bib(l,l>>31,3633,0);v[g+36>>2]=o-((Tb&8191)<<19|l>>>13);o=v[g+40>>2];l=v[k+(b+40|0)>>2]+v[b+40>>2]|0;l=Bib(l,l>>31,3633,0);v[g+40>>2]=o-((Tb&8191)<<19|l>>>13);o=v[g+44>>2];l=v[k+(b+44|0)>>2]+v[b+44>>2]|0;l=Bib(l,l>>31,3633,0);v[g+44>>2]=o-((Tb&8191)<<19|l>>>13);o=v[g+48>>2];l=v[k+(b+48|0)>>2]+v[b+48>>2]|0;l=Bib(l,l>>31,3633,0);v[g+48>>2]=o-((Tb&8191)<<19|l>>>13);o=v[g+52>>2];l=v[k+(b+52|0)>>2]+v[b+52>>2]|0;l=Bib(l,l>>31,3633,0);v[g+52>>2]=o-((Tb&8191)<<19|l>>>13);o=v[g+56>>2];l=v[k+(b+56|0)>>2]+v[b+56>>2]|0;l=Bib(l,l>>31,3633,0);v[g+56>>2]=o-((Tb&8191)<<19|l>>>13);o=v[g+60>>2];b=v[k+(b+60|0)>>2]+v[b+60>>2]|0;b=Bib(b,b>>31,3633,0);v[g+60>>2]=o-((Tb&8191)<<19|b>>>13);g=g+k|0;l=(n|0)>1;n=n-1|0;b=i;if(l){continue}break}}q=(q|0)==(u|0);if(!q){n=v[g>>2];b=v[i>>2];b=Bib(b,b>>31,7266,0);v[g>>2]=n-((Tb&8191)<<19|b>>>13);n=v[g+4>>2];b=v[i+4>>2];b=Bib(b,b>>31,7266,0);v[g+4>>2]=n-((Tb&8191)<<19|b>>>13);n=v[g+8>>2];b=v[i+8>>2];b=Bib(b,b>>31,7266,0);v[g+8>>2]=n-((Tb&8191)<<19|b>>>13);n=v[g+12>>2];b=v[i+12>>2];b=Bib(b,b>>31,7266,0);v[g+12>>2]=n-((Tb&8191)<<19|b>>>13);n=v[g+16>>2];b=v[i+16>>2];b=Bib(b,b>>31,7266,0);v[g+16>>2]=n-((Tb&8191)<<19|b>>>13);n=v[g+20>>2];b=v[i+20>>2];b=Bib(b,b>>31,7266,0);v[g+20>>2]=n-((Tb&8191)<<19|b>>>13);n=v[g+24>>2];b=v[i+24>>2];b=Bib(b,b>>31,7266,0);v[g+24>>2]=n-((Tb&8191)<<19|b>>>13);n=v[g+28>>2];b=v[i+28>>2];b=Bib(b,b>>31,7266,0);v[g+28>>2]=n-((Tb&8191)<<19|b>>>13);n=v[g+32>>2];b=v[i+32>>2];b=Bib(b,b>>31,7266,0);v[g+32>>2]=n-((Tb&8191)<<19|b>>>13);n=v[g+36>>2];b=v[i+36>>2];b=Bib(b,b>>31,7266,0);v[g+36>>2]=n-((Tb&8191)<<19|b>>>13);n=v[g+40>>2];b=v[i+40>>2];b=Bib(b,b>>31,7266,0);v[g+40>>2]=n-((Tb&8191)<<19|b>>>13);n=v[g+44>>2];b=v[i+44>>2];b=Bib(b,b>>31,7266,0);v[g+44>>2]=n-((Tb&8191)<<19|b>>>13);n=v[g+48>>2];b=v[i+48>>2];b=Bib(b,b>>31,7266,0);v[g+48>>2]=n-((Tb&8191)<<19|b>>>13);n=v[g+52>>2];b=v[i+52>>2];b=Bib(b,b>>31,7266,0);v[g+52>>2]=n-((Tb&8191)<<19|b>>>13);n=v[g+56>>2];b=v[i+56>>2];b=Bib(b,b>>31,7266,0);v[g+56>>2]=n-((Tb&8191)<<19|b>>>13);n=v[g+60>>2];b=v[i+60>>2];b=Bib(b,b>>31,7266,0);v[g+60>>2]=n-((Tb&8191)<<19|b>>>13)}g=h;if(u){g=v[h>>2];b=v[c>>2];b=Bib(b,b>>31,14465,0);v[h>>2]=g-((Tb&8191)<<19|b>>>13);g=v[h+4>>2];b=v[c+4>>2];b=Bib(b,b>>31,14465,0);v[h+4>>2]=g-((Tb&8191)<<19|b>>>13);g=v[h+8>>2];b=v[c+8>>2];b=Bib(b,b>>31,14465,0);v[h+8>>2]=g-((Tb&8191)<<19|b>>>13);g=v[h+12>>2];b=v[c+12>>2];b=Bib(b,b>>31,14465,0);v[h+12>>2]=g-((Tb&8191)<<19|b>>>13);g=v[h+16>>2];b=v[c+16>>2];b=Bib(b,b>>31,14465,0);v[h+16>>2]=g-((Tb&8191)<<19|b>>>13);g=v[h+20>>2];b=v[c+20>>2];b=Bib(b,b>>31,14465,0);v[h+20>>2]=g-((Tb&8191)<<19|b>>>13);g=v[h+24>>2];b=v[c+24>>2];b=Bib(b,b>>31,14465,0);v[h+24>>2]=g-((Tb&8191)<<19|b>>>13);g=v[h+28>>2];b=v[c+28>>2];b=Bib(b,b>>31,14465,0);v[h+28>>2]=g-((Tb&8191)<<19|b>>>13);g=v[h+32>>2];b=v[c+32>>2];b=Bib(b,b>>31,14465,0);v[h+32>>2]=g-((Tb&8191)<<19|b>>>13);g=v[h+36>>2];b=v[c+36>>2];b=Bib(b,b>>31,14465,0);v[h+36>>2]=g-((Tb&8191)<<19|b>>>13);g=v[h+40>>2];b=v[c+40>>2];b=Bib(b,b>>31,14465,0);v[h+40>>2]=g-((Tb&8191)<<19|b>>>13);g=v[h+44>>2];b=v[c+44>>2];b=Bib(b,b>>31,14465,0);v[h+44>>2]=g-((Tb&8191)<<19|b>>>13);g=v[h+48>>2];b=v[c+48>>2];b=Bib(b,b>>31,14465,0);v[h+48>>2]=g-((Tb&8191)<<19|b>>>13);g=v[h+52>>2];b=v[c+52>>2];b=Bib(b,b>>31,14465,0);v[h+52>>2]=g-((Tb&8191)<<19|b>>>13);g=v[h+56>>2];b=v[c+56>>2];b=Bib(b,b>>31,14465,0);v[h+56>>2]=g-((Tb&8191)<<19|b>>>13);g=v[h+60>>2];b=v[c+60>>2];b=Bib(b,b>>31,14465,0);v[h+60>>2]=g-((Tb&8191)<<19|b>>>13);g=(f<<2)+h|0}n=(j-u|0)-q|0;k:{if((n|0)<1){j=c;break k}k=f<<2;i=n;b=c;while(1){o=v[g>>2];j=b+k|0;l=v[j>>2]+v[b>>2]|0;l=Bib(l,l>>31,7232,0);v[g>>2]=o-((Tb&8191)<<19|l>>>13);o=v[g+4>>2];l=v[k+(b+4|0)>>2]+v[b+4>>2]|0;l=Bib(l,l>>31,7232,0);v[g+4>>2]=o-((Tb&8191)<<19|l>>>13);o=v[g+8>>2];l=v[k+(b+8|0)>>2]+v[b+8>>2]|0;l=Bib(l,l>>31,7232,0);v[g+8>>2]=o-((Tb&8191)<<19|l>>>13);o=v[g+12>>2];l=v[k+(b+12|0)>>2]+v[b+12>>2]|0;l=Bib(l,l>>31,7232,0);v[g+12>>2]=o-((Tb&8191)<<19|l>>>13);o=v[g+16>>2];l=v[k+(b+16|0)>>2]+v[b+16>>2]|0;l=Bib(l,l>>31,7232,0);v[g+16>>2]=o-((Tb&8191)<<19|l>>>13);o=v[g+20>>2];l=v[k+(b+20|0)>>2]+v[b+20>>2]|0;l=Bib(l,l>>31,7232,0);v[g+20>>2]=o-((Tb&8191)<<19|l>>>13);o=v[g+24>>2];l=v[k+(b+24|0)>>2]+v[b+24>>2]|0;l=Bib(l,l>>31,7232,0);v[g+24>>2]=o-((Tb&8191)<<19|l>>>13);o=v[g+28>>2];l=v[k+(b+28|0)>>2]+v[b+28>>2]|0;l=Bib(l,l>>31,7232,0);v[g+28>>2]=o-((Tb&8191)<<19|l>>>13);o=v[g+32>>2];l=v[k+(b+32|0)>>2]+v[b+32>>2]|0;l=Bib(l,l>>31,7232,0);v[g+32>>2]=o-((Tb&8191)<<19|l>>>13);o=v[g+36>>2];l=v[k+(b+36|0)>>2]+v[b+36>>2]|0;l=Bib(l,l>>31,7232,0);v[g+36>>2]=o-((Tb&8191)<<19|l>>>13);o=v[g+40>>2];l=v[k+(b+40|0)>>2]+v[b+40>>2]|0;l=Bib(l,l>>31,7232,0);v[g+40>>2]=o-((Tb&8191)<<19|l>>>13);o=v[g+44>>2];l=v[k+(b+44|0)>>2]+v[b+44>>2]|0;l=Bib(l,l>>31,7232,0);v[g+44>>2]=o-((Tb&8191)<<19|l>>>13);o=v[g+48>>2];l=v[k+(b+48|0)>>2]+v[b+48>>2]|0;l=Bib(l,l>>31,7232,0);v[g+48>>2]=o-((Tb&8191)<<19|l>>>13);o=v[g+52>>2];l=v[k+(b+52|0)>>2]+v[b+52>>2]|0;l=Bib(l,l>>31,7232,0);v[g+52>>2]=o-((Tb&8191)<<19|l>>>13);o=v[g+56>>2];l=v[k+(b+56|0)>>2]+v[b+56>>2]|0;l=Bib(l,l>>31,7232,0);v[g+56>>2]=o-((Tb&8191)<<19|l>>>13);o=v[g+60>>2];b=v[k+(b+60|0)>>2]+v[b+60>>2]|0;b=Bib(b,b>>31,7232,0);v[g+60>>2]=o-((Tb&8191)<<19|b>>>13);g=g+k|0;l=(i|0)>1;i=i-1|0;b=j;if(l){continue}break}}if(!p){i=v[g>>2];b=v[j>>2];b=Bib(b,b>>31,14465,0);v[g>>2]=i-((Tb&8191)<<19|b>>>13);i=v[g+4>>2];b=v[j+4>>2];b=Bib(b,b>>31,14465,0);v[g+4>>2]=i-((Tb&8191)<<19|b>>>13);i=v[g+8>>2];b=v[j+8>>2];b=Bib(b,b>>31,14465,0);v[g+8>>2]=i-((Tb&8191)<<19|b>>>13);i=v[g+12>>2];b=v[j+12>>2];b=Bib(b,b>>31,14465,0);v[g+12>>2]=i-((Tb&8191)<<19|b>>>13);i=v[g+16>>2];b=v[j+16>>2];b=Bib(b,b>>31,14465,0);v[g+16>>2]=i-((Tb&8191)<<19|b>>>13);i=v[g+20>>2];b=v[j+20>>2];b=Bib(b,b>>31,14465,0);v[g+20>>2]=i-((Tb&8191)<<19|b>>>13);i=v[g+24>>2];b=v[j+24>>2];b=Bib(b,b>>31,14465,0);v[g+24>>2]=i-((Tb&8191)<<19|b>>>13);i=v[g+28>>2];b=v[j+28>>2];b=Bib(b,b>>31,14465,0);v[g+28>>2]=i-((Tb&8191)<<19|b>>>13);i=v[g+32>>2];b=v[j+32>>2];b=Bib(b,b>>31,14465,0);v[g+32>>2]=i-((Tb&8191)<<19|b>>>13);i=v[g+36>>2];b=v[j+36>>2];b=Bib(b,b>>31,14465,0);v[g+36>>2]=i-((Tb&8191)<<19|b>>>13);i=v[g+40>>2];b=v[j+40>>2];b=Bib(b,b>>31,14465,0);v[g+40>>2]=i-((Tb&8191)<<19|b>>>13);i=v[g+44>>2];b=v[j+44>>2];b=Bib(b,b>>31,14465,0);v[g+44>>2]=i-((Tb&8191)<<19|b>>>13);i=v[g+48>>2];b=v[j+48>>2];b=Bib(b,b>>31,14465,0);v[g+48>>2]=i-((Tb&8191)<<19|b>>>13);i=v[g+52>>2];b=v[j+52>>2];b=Bib(b,b>>31,14465,0);v[g+52>>2]=i-((Tb&8191)<<19|b>>>13);i=v[g+56>>2];b=v[j+56>>2];b=Bib(b,b>>31,14465,0);v[g+56>>2]=i-((Tb&8191)<<19|b>>>13);i=v[g+60>>2];b=v[j+60>>2];b=Bib(b,b>>31,14465,0);v[g+60>>2]=i-((Tb&8191)<<19|b>>>13)}g=c;if(!u){g=v[c>>2];b=v[h>>2];b=Bib(b,b>>31,-868,-1);v[c>>2]=g-((Tb&8191)<<19|b>>>13);g=v[c+4>>2];b=v[h+4>>2];b=Bib(b,b>>31,-868,-1);v[c+4>>2]=g-((Tb&8191)<<19|b>>>13);g=v[c+8>>2];b=v[h+8>>2];b=Bib(b,b>>31,-868,-1);v[c+8>>2]=g-((Tb&8191)<<19|b>>>13);g=v[c+12>>2];b=v[h+12>>2];b=Bib(b,b>>31,-868,-1);v[c+12>>2]=g-((Tb&8191)<<19|b>>>13);g=v[c+16>>2];b=v[h+16>>2];b=Bib(b,b>>31,-868,-1);v[c+16>>2]=g-((Tb&8191)<<19|b>>>13);g=v[c+20>>2];b=v[h+20>>2];b=Bib(b,b>>31,-868,-1);v[c+20>>2]=g-((Tb&8191)<<19|b>>>13);g=v[c+24>>2];b=v[h+24>>2];b=Bib(b,b>>31,-868,-1);v[c+24>>2]=g-((Tb&8191)<<19|b>>>13);g=v[c+28>>2];b=v[h+28>>2];b=Bib(b,b>>31,-868,-1);v[c+28>>2]=g-((Tb&8191)<<19|b>>>13);g=v[c+32>>2];b=v[h+32>>2];b=Bib(b,b>>31,-868,-1);v[c+32>>2]=g-((Tb&8191)<<19|b>>>13);g=v[c+36>>2];b=v[h+36>>2];b=Bib(b,b>>31,-868,-1);v[c+36>>2]=g-((Tb&8191)<<19|b>>>13);g=v[c+40>>2];b=v[h+40>>2];b=Bib(b,b>>31,-868,-1);v[c+40>>2]=g-((Tb&8191)<<19|b>>>13);g=v[c+44>>2];b=v[h+44>>2];b=Bib(b,b>>31,-868,-1);v[c+44>>2]=g-((Tb&8191)<<19|b>>>13);g=v[c+48>>2];b=v[h+48>>2];b=Bib(b,b>>31,-868,-1);v[c+48>>2]=g-((Tb&8191)<<19|b>>>13);g=v[c+52>>2];b=v[h+52>>2];b=Bib(b,b>>31,-868,-1);v[c+52>>2]=g-((Tb&8191)<<19|b>>>13);g=v[c+56>>2];b=v[h+56>>2];b=Bib(b,b>>31,-868,-1);v[c+56>>2]=g-((Tb&8191)<<19|b>>>13);g=v[c+60>>2];b=v[h+60>>2];b=Bib(b,b>>31,-868,-1);v[c+60>>2]=g-((Tb&8191)<<19|b>>>13);g=(f<<2)+c|0}l:{if((m|0)<1){i=h;break l}j=f<<2;b=h;while(1){o=v[g>>2];i=b+j|0;k=v[i>>2]+v[b>>2]|0;k=Bib(k,k>>31,-434,-1);v[g>>2]=o-((Tb&8191)<<19|k>>>13);o=v[g+4>>2];k=v[j+(b+4|0)>>2]+v[b+4>>2]|0;k=Bib(k,k>>31,-434,-1);v[g+4>>2]=o-((Tb&8191)<<19|k>>>13);o=v[g+8>>2];k=v[j+(b+8|0)>>2]+v[b+8>>2]|0;k=Bib(k,k>>31,-434,-1);v[g+8>>2]=o-((Tb&8191)<<19|k>>>13);o=v[g+12>>2];k=v[j+(b+12|0)>>2]+v[b+12>>2]|0;k=Bib(k,k>>31,-434,-1);v[g+12>>2]=o-((Tb&8191)<<19|k>>>13);o=v[g+16>>2];k=v[j+(b+16|0)>>2]+v[b+16>>2]|0;k=Bib(k,k>>31,-434,-1);v[g+16>>2]=o-((Tb&8191)<<19|k>>>13);o=v[g+20>>2];k=v[j+(b+20|0)>>2]+v[b+20>>2]|0;k=Bib(k,k>>31,-434,-1);v[g+20>>2]=o-((Tb&8191)<<19|k>>>13);o=v[g+24>>2];k=v[j+(b+24|0)>>2]+v[b+24>>2]|0;k=Bib(k,k>>31,-434,-1);v[g+24>>2]=o-((Tb&8191)<<19|k>>>13);o=v[g+28>>2];k=v[j+(b+28|0)>>2]+v[b+28>>2]|0;k=Bib(k,k>>31,-434,-1);v[g+28>>2]=o-((Tb&8191)<<19|k>>>13);o=v[g+32>>2];k=v[j+(b+32|0)>>2]+v[b+32>>2]|0;k=Bib(k,k>>31,-434,-1);v[g+32>>2]=o-((Tb&8191)<<19|k>>>13);o=v[g+36>>2];k=v[j+(b+36|0)>>2]+v[b+36>>2]|0;k=Bib(k,k>>31,-434,-1);v[g+36>>2]=o-((Tb&8191)<<19|k>>>13);o=v[g+40>>2];k=v[j+(b+40|0)>>2]+v[b+40>>2]|0;k=Bib(k,k>>31,-434,-1);v[g+40>>2]=o-((Tb&8191)<<19|k>>>13);o=v[g+44>>2];k=v[j+(b+44|0)>>2]+v[b+44>>2]|0;k=Bib(k,k>>31,-434,-1);v[g+44>>2]=o-((Tb&8191)<<19|k>>>13);o=v[g+48>>2];k=v[j+(b+48|0)>>2]+v[b+48>>2]|0;k=Bib(k,k>>31,-434,-1);v[g+48>>2]=o-((Tb&8191)<<19|k>>>13);o=v[g+52>>2];k=v[j+(b+52|0)>>2]+v[b+52>>2]|0;k=Bib(k,k>>31,-434,-1);v[g+52>>2]=o-((Tb&8191)<<19|k>>>13);o=v[g+56>>2];k=v[j+(b+56|0)>>2]+v[b+56>>2]|0;k=Bib(k,k>>31,-434,-1);v[g+56>>2]=o-((Tb&8191)<<19|k>>>13);k=v[g+60>>2];b=v[j+(b+60|0)>>2]+v[b+60>>2]|0;b=Bib(b,b>>31,-434,-1);v[g+60>>2]=k-((Tb&8191)<<19|b>>>13);g=g+j|0;k=(m|0)>1;m=m-1|0;b=i;if(k){continue}break}}if(!q){j=v[g>>2];b=v[i>>2];b=Bib(b,b>>31,-868,-1);v[g>>2]=j-((Tb&8191)<<19|b>>>13);j=v[g+4>>2];b=v[i+4>>2];b=Bib(b,b>>31,-868,-1);v[g+4>>2]=j-((Tb&8191)<<19|b>>>13);j=v[g+8>>2];b=v[i+8>>2];b=Bib(b,b>>31,-868,-1);v[g+8>>2]=j-((Tb&8191)<<19|b>>>13);j=v[g+12>>2];b=v[i+12>>2];b=Bib(b,b>>31,-868,-1);v[g+12>>2]=j-((Tb&8191)<<19|b>>>13);j=v[g+16>>2];b=v[i+16>>2];b=Bib(b,b>>31,-868,-1);v[g+16>>2]=j-((Tb&8191)<<19|b>>>13);j=v[g+20>>2];b=v[i+20>>2];b=Bib(b,b>>31,-868,-1);v[g+20>>2]=j-((Tb&8191)<<19|b>>>13);j=v[g+24>>2];b=v[i+24>>2];b=Bib(b,b>>31,-868,-1);v[g+24>>2]=j-((Tb&8191)<<19|b>>>13);j=v[g+28>>2];b=v[i+28>>2];b=Bib(b,b>>31,-868,-1);v[g+28>>2]=j-((Tb&8191)<<19|b>>>13);j=v[g+32>>2];b=v[i+32>>2];b=Bib(b,b>>31,-868,-1);v[g+32>>2]=j-((Tb&8191)<<19|b>>>13);j=v[g+36>>2];b=v[i+36>>2];b=Bib(b,b>>31,-868,-1);v[g+36>>2]=j-((Tb&8191)<<19|b>>>13);j=v[g+40>>2];b=v[i+40>>2];b=Bib(b,b>>31,-868,-1);v[g+40>>2]=j-((Tb&8191)<<19|b>>>13);j=v[g+44>>2];b=v[i+44>>2];b=Bib(b,b>>31,-868,-1);v[g+44>>2]=j-((Tb&8191)<<19|b>>>13);j=v[g+48>>2];b=v[i+48>>2];b=Bib(b,b>>31,-868,-1);v[g+48>>2]=j-((Tb&8191)<<19|b>>>13);j=v[g+52>>2];b=v[i+52>>2];b=Bib(b,b>>31,-868,-1);v[g+52>>2]=j-((Tb&8191)<<19|b>>>13);j=v[g+56>>2];b=v[i+56>>2];b=Bib(b,b>>31,-868,-1);v[g+56>>2]=j-((Tb&8191)<<19|b>>>13);j=v[g+60>>2];b=v[i+60>>2];b=Bib(b,b>>31,-868,-1);v[g+60>>2]=j-((Tb&8191)<<19|b>>>13)}if(u){g=v[h>>2];b=v[c>>2];b=Bib(b,b>>31,-25987,-1);v[h>>2]=g-((Tb&8191)<<19|b>>>13);g=v[h+4>>2];b=v[c+4>>2];b=Bib(b,b>>31,-25987,-1);v[h+4>>2]=g-((Tb&8191)<<19|b>>>13);g=v[h+8>>2];b=v[c+8>>2];b=Bib(b,b>>31,-25987,-1);v[h+8>>2]=g-((Tb&8191)<<19|b>>>13);g=v[h+12>>2];b=v[c+12>>2];b=Bib(b,b>>31,-25987,-1);v[h+12>>2]=g-((Tb&8191)<<19|b>>>13);g=v[h+16>>2];b=v[c+16>>2];b=Bib(b,b>>31,-25987,-1);v[h+16>>2]=g-((Tb&8191)<<19|b>>>13);g=v[h+20>>2];b=v[c+20>>2];b=Bib(b,b>>31,-25987,-1);v[h+20>>2]=g-((Tb&8191)<<19|b>>>13);g=v[h+24>>2];b=v[c+24>>2];b=Bib(b,b>>31,-25987,-1);v[h+24>>2]=g-((Tb&8191)<<19|b>>>13);g=v[h+28>>2];b=v[c+28>>2];b=Bib(b,b>>31,-25987,-1);v[h+28>>2]=g-((Tb&8191)<<19|b>>>13);g=v[h+32>>2];b=v[c+32>>2];b=Bib(b,b>>31,-25987,-1);v[h+32>>2]=g-((Tb&8191)<<19|b>>>13);g=v[h+36>>2];b=v[c+36>>2];b=Bib(b,b>>31,-25987,-1);v[h+36>>2]=g-((Tb&8191)<<19|b>>>13);g=v[h+40>>2];b=v[c+40>>2];b=Bib(b,b>>31,-25987,-1);v[h+40>>2]=g-((Tb&8191)<<19|b>>>13);g=v[h+44>>2];b=v[c+44>>2];b=Bib(b,b>>31,-25987,-1);v[h+44>>2]=g-((Tb&8191)<<19|b>>>13);g=v[h+48>>2];b=v[c+48>>2];b=Bib(b,b>>31,-25987,-1);v[h+48>>2]=g-((Tb&8191)<<19|b>>>13);g=v[h+52>>2];b=v[c+52>>2];b=Bib(b,b>>31,-25987,-1);v[h+52>>2]=g-((Tb&8191)<<19|b>>>13);g=v[h+56>>2];b=v[c+56>>2];b=Bib(b,b>>31,-25987,-1);v[h+56>>2]=g-((Tb&8191)<<19|b>>>13);g=v[h+60>>2];b=v[c+60>>2];b=Bib(b,b>>31,-25987,-1);v[h+60>>2]=g-((Tb&8191)<<19|b>>>13);h=(f<<2)+h|0}m:{if((n|0)<1){b=c;break m}g=f<<2;while(1){j=v[h>>2];b=c+g|0;i=v[b>>2]+v[c>>2]|0;i=Bib(i,i>>31,-12993,-1);v[h>>2]=j-((Tb&8191)<<19|i>>>13);j=v[h+4>>2];i=v[g+(c+4|0)>>2]+v[c+4>>2]|0;i=Bib(i,i>>31,-12993,-1);v[h+4>>2]=j-((Tb&8191)<<19|i>>>13);j=v[h+8>>2];i=v[g+(c+8|0)>>2]+v[c+8>>2]|0;i=Bib(i,i>>31,-12993,-1);v[h+8>>2]=j-((Tb&8191)<<19|i>>>13);j=v[h+12>>2];i=v[g+(c+12|0)>>2]+v[c+12>>2]|0;i=Bib(i,i>>31,-12993,-1);v[h+12>>2]=j-((Tb&8191)<<19|i>>>13);j=v[h+16>>2];i=v[g+(c+16|0)>>2]+v[c+16>>2]|0;i=Bib(i,i>>31,-12993,-1);v[h+16>>2]=j-((Tb&8191)<<19|i>>>13);j=v[h+20>>2];i=v[g+(c+20|0)>>2]+v[c+20>>2]|0;i=Bib(i,i>>31,-12993,-1);v[h+20>>2]=j-((Tb&8191)<<19|i>>>13);j=v[h+24>>2];i=v[g+(c+24|0)>>2]+v[c+24>>2]|0;i=Bib(i,i>>31,-12993,-1);v[h+24>>2]=j-((Tb&8191)<<19|i>>>13);j=v[h+28>>2];i=v[g+(c+28|0)>>2]+v[c+28>>2]|0;i=Bib(i,i>>31,-12993,-1);v[h+28>>2]=j-((Tb&8191)<<19|i>>>13);j=v[h+32>>2];i=v[g+(c+32|0)>>2]+v[c+32>>2]|0;i=Bib(i,i>>31,-12993,-1);v[h+32>>2]=j-((Tb&8191)<<19|i>>>13);j=v[h+36>>2];i=v[g+(c+36|0)>>2]+v[c+36>>2]|0;i=Bib(i,i>>31,-12993,-1);v[h+36>>2]=j-((Tb&8191)<<19|i>>>13);j=v[h+40>>2];i=v[g+(c+40|0)>>2]+v[c+40>>2]|0;i=Bib(i,i>>31,-12993,-1);v[h+40>>2]=j-((Tb&8191)<<19|i>>>13);j=v[h+44>>2];i=v[g+(c+44|0)>>2]+v[c+44>>2]|0;i=Bib(i,i>>31,-12993,-1);v[h+44>>2]=j-((Tb&8191)<<19|i>>>13);j=v[h+48>>2];i=v[g+(c+48|0)>>2]+v[c+48>>2]|0;i=Bib(i,i>>31,-12993,-1);v[h+48>>2]=j-((Tb&8191)<<19|i>>>13);j=v[h+52>>2];i=v[g+(c+52|0)>>2]+v[c+52>>2]|0;i=Bib(i,i>>31,-12993,-1);v[h+52>>2]=j-((Tb&8191)<<19|i>>>13);j=v[h+56>>2];i=v[g+(c+56|0)>>2]+v[c+56>>2]|0;i=Bib(i,i>>31,-12993,-1);v[h+56>>2]=j-((Tb&8191)<<19|i>>>13);i=v[h+60>>2];c=v[g+(c+60|0)>>2]+v[c+60>>2]|0;c=Bib(c,c>>31,-12993,-1);v[h+60>>2]=i-((Tb&8191)<<19|c>>>13);h=g+h|0;i=(n|0)>1;n=n-1|0;c=b;if(i){continue}break}}if(p){break i}g=v[h>>2];c=v[b>>2];c=Bib(c,c>>31,-25987,-1);v[h>>2]=g-((Tb&8191)<<19|c>>>13);g=v[h+4>>2];c=v[b+4>>2];c=Bib(c,c>>31,-25987,-1);v[h+4>>2]=g-((Tb&8191)<<19|c>>>13);g=v[h+8>>2];c=v[b+8>>2];c=Bib(c,c>>31,-25987,-1);v[h+8>>2]=g-((Tb&8191)<<19|c>>>13);g=v[h+12>>2];c=v[b+12>>2];c=Bib(c,c>>31,-25987,-1);v[h+12>>2]=g-((Tb&8191)<<19|c>>>13);g=v[h+16>>2];c=v[b+16>>2];c=Bib(c,c>>31,-25987,-1);v[h+16>>2]=g-((Tb&8191)<<19|c>>>13);g=v[h+20>>2];c=v[b+20>>2];c=Bib(c,c>>31,-25987,-1);v[h+20>>2]=g-((Tb&8191)<<19|c>>>13);g=v[h+24>>2];c=v[b+24>>2];c=Bib(c,c>>31,-25987,-1);v[h+24>>2]=g-((Tb&8191)<<19|c>>>13);g=v[h+28>>2];c=v[b+28>>2];c=Bib(c,c>>31,-25987,-1);v[h+28>>2]=g-((Tb&8191)<<19|c>>>13);g=v[h+32>>2];c=v[b+32>>2];c=Bib(c,c>>31,-25987,-1);v[h+32>>2]=g-((Tb&8191)<<19|c>>>13);g=v[h+36>>2];c=v[b+36>>2];c=Bib(c,c>>31,-25987,-1);v[h+36>>2]=g-((Tb&8191)<<19|c>>>13);g=v[h+40>>2];c=v[b+40>>2];c=Bib(c,c>>31,-25987,-1);v[h+40>>2]=g-((Tb&8191)<<19|c>>>13);g=v[h+44>>2];c=v[b+44>>2];c=Bib(c,c>>31,-25987,-1);v[h+44>>2]=g-((Tb&8191)<<19|c>>>13);g=v[h+48>>2];c=v[b+48>>2];c=Bib(c,c>>31,-25987,-1);v[h+48>>2]=g-((Tb&8191)<<19|c>>>13);g=v[h+52>>2];c=v[b+52>>2];c=Bib(c,c>>31,-25987,-1);v[h+52>>2]=g-((Tb&8191)<<19|c>>>13);g=v[h+56>>2];c=v[b+56>>2];c=Bib(c,c>>31,-25987,-1);v[h+56>>2]=g-((Tb&8191)<<19|c>>>13);c=v[h+60>>2];b=v[b+60>>2];b=Bib(b,b>>31,-25987,-1);v[h+60>>2]=c-((Tb&8191)<<19|b>>>13)}g2(a,e,f,u);a=a- -64|0;s=s+16|0;if((r|0)>(s|0)){continue}break}}if((d|0)>(r|0)){h=a;o=d-r|0;p=o;m=f;r=e;n:{if((e|0)<2){break n}b=(r-u|0)+1|0;i=b>>1;if(!((b|0)<2|(p|0)<1)){d=p&-4;g=p&3;j=p-1>>>0<3;n=m<<2;c=i;f=h;while(1){e=f;b=d;if(!j){while(1){k=v[e>>2];k=Bib(k,k>>31,10077,0);v[e>>2]=(Tb&8191)<<19|k>>>13;k=v[e+4>>2];k=Bib(k,k>>31,10077,0);v[e+4>>2]=(Tb&8191)<<19|k>>>13;k=v[e+8>>2];k=Bib(k,k>>31,10077,0);v[e+8>>2]=(Tb&8191)<<19|k>>>13;k=v[e+12>>2];k=Bib(k,k>>31,10077,0);v[e+12>>2]=(Tb&8191)<<19|k>>>13;e=e+16|0;b=b-4|0;if(b){continue}break}}b=g;if(b){while(1){k=v[e>>2];k=Bib(k,k>>31,10077,0);v[e>>2]=(Tb&8191)<<19|k>>>13;e=e+4|0;b=b-1|0;if(b){continue}break}}f=f+n|0;b=(c|0)>1;c=c-1|0;if(b){continue}break}}d=(B(i,m)<<2)+h|0;n=r-i|0;if(!((n|0)<1|(p|0)<1)){g=p&-4;j=p&3;k=p-1>>>0<3;s=m<<2;c=n;f=d;while(1){e=f;b=g;if(!k){while(1){q=v[e>>2];q=Bib(q,q>>31,13318,0);v[e>>2]=(Tb&8191)<<19|q>>>13;q=v[e+4>>2];q=Bib(q,q>>31,13318,0);v[e+4>>2]=(Tb&8191)<<19|q>>>13;q=v[e+8>>2];q=Bib(q,q>>31,13318,0);v[e+8>>2]=(Tb&8191)<<19|q>>>13;q=v[e+12>>2];q=Bib(q,q>>31,13318,0);v[e+12>>2]=(Tb&8191)<<19|q>>>13;e=e+16|0;b=b-4|0;if(b){continue}break}}b=j;if(b){while(1){q=v[e>>2];q=Bib(q,q>>31,13318,0);v[e>>2]=(Tb&8191)<<19|q>>>13;e=e+4|0;b=b-1|0;if(b){continue}break}}f=f+s|0;b=(c|0)>1;c=c-1|0;if(b){continue}break}}g=h;if(!u){o:{if((p|0)<1){break o}c=p&3;b=d;e=h;if(p-1>>>0>=3){f=p&-4;while(1){j=v[e>>2];g=v[b>>2];g=Bib(g,g>>31,7266,0);v[e>>2]=j-((Tb&8191)<<19|g>>>13);j=v[e+4>>2];g=v[b+4>>2];g=Bib(g,g>>31,7266,0);v[e+4>>2]=j-((Tb&8191)<<19|g>>>13);j=v[e+8>>2];g=v[b+8>>2];g=Bib(g,g>>31,7266,0);v[e+8>>2]=j-((Tb&8191)<<19|g>>>13);j=v[e+12>>2];g=v[b+12>>2];g=Bib(g,g>>31,7266,0);v[e+12>>2]=j-((Tb&8191)<<19|g>>>13);b=b+16|0;e=e+16|0;f=f-4|0;if(f){continue}break}}if(!c){break o}while(1){g=v[e>>2];f=v[b>>2];f=Bib(f,f>>31,7266,0);v[e>>2]=g-((Tb&8191)<<19|f>>>13);b=b+4|0;e=e+4|0;c=c-1|0;if(c){continue}break}}g=(m<<2)+h|0}q=r&1;l=(q|0)!=(u|0);j=(i-!u|0)-l|0;p:{q:{if((j|0)<1){c=d;break q}if((p|0)<1){l=0;k=0;break p}k=p&-2;x=p&1;s=m<<2;i=j;c=d;while(1){e=c;b=g;f=k;if((p|0)!=1){while(1){t=v[b>>2];w=v[e+s>>2]+v[e>>2]|0;w=Bib(w,w>>31,3633,0);v[b>>2]=t-((Tb&8191)<<19|w>>>13);t=v[b+4>>2];w=v[s+(e+4|0)>>2]+v[e+4>>2]|0;w=Bib(w,w>>31,3633,0);v[b+4>>2]=t-((Tb&8191)<<19|w>>>13);e=e+8|0;b=b+8|0;f=f-2|0;if(f){continue}break}}if(x){f=b;t=v[b>>2];b=v[e+s>>2]+v[e>>2]|0;b=Bib(b,b>>31,3633,0);v[f>>2]=t-((Tb&8191)<<19|b>>>13)}c=c+s|0;g=g+s|0;b=(i|0)>1;i=i-1|0;if(b){continue}break}}k=(p|0)>0;l=l&k;if(!l){l=0;break p}e=p&3;if(p-1>>>0>=3){b=p&-4;while(1){i=v[g>>2];f=v[c>>2];f=Bib(f,f>>31,7266,0);v[g>>2]=i-((Tb&8191)<<19|f>>>13);i=v[g+4>>2];f=v[c+4>>2];f=Bib(f,f>>31,7266,0);v[g+4>>2]=i-((Tb&8191)<<19|f>>>13);i=v[g+8>>2];f=v[c+8>>2];f=Bib(f,f>>31,7266,0);v[g+8>>2]=i-((Tb&8191)<<19|f>>>13);i=v[g+12>>2];f=v[c+12>>2];f=Bib(f,f>>31,7266,0);v[g+12>>2]=i-((Tb&8191)<<19|f>>>13);c=c+16|0;g=g+16|0;b=b-4|0;if(b){continue}break}}if(!e){break p}while(1){f=v[g>>2];b=v[c>>2];b=Bib(b,b>>31,7266,0);v[g>>2]=f-((Tb&8191)<<19|b>>>13);c=c+4|0;g=g+4|0;e=e-1|0;if(e){continue}break}}g=d;if(u){r:{if(!k){break r}c=p&3;e=d;b=h;if(p-1>>>0>=3){f=p&-4;while(1){i=v[e>>2];g=v[b>>2];g=Bib(g,g>>31,14465,0);v[e>>2]=i-((Tb&8191)<<19|g>>>13);i=v[e+4>>2];g=v[b+4>>2];g=Bib(g,g>>31,14465,0);v[e+4>>2]=i-((Tb&8191)<<19|g>>>13);i=v[e+8>>2];g=v[b+8>>2];g=Bib(g,g>>31,14465,0);v[e+8>>2]=i-((Tb&8191)<<19|g>>>13);i=v[e+12>>2];g=v[b+12>>2];g=Bib(g,g>>31,14465,0);v[e+12>>2]=i-((Tb&8191)<<19|g>>>13);b=b+16|0;e=e+16|0;f=f-4|0;if(f){continue}break}}if(!c){break r}while(1){g=v[e>>2];f=v[b>>2];f=Bib(f,f>>31,14465,0);v[e>>2]=g-((Tb&8191)<<19|f>>>13);b=b+4|0;e=e+4|0;c=c-1|0;if(c){continue}break}}g=(m<<2)+d|0}w=(q|0)==(u|0);n=(n-u|0)-w|0;s:{t:{if((n|0)<1){c=h;break t}x=0;i=0;if(!k){break s}s=p&-2;x=p&1;q=m<<2;i=n;c=h;while(1){e=g;b=c;f=s;if((p|0)!=1){while(1){t=v[e>>2];y=v[b+q>>2]+v[b>>2]|0;y=Bib(y,y>>31,7232,0);v[e>>2]=t-((Tb&8191)<<19|y>>>13);t=v[e+4>>2];y=v[q+(b+4|0)>>2]+v[b+4>>2]|0;y=Bib(y,y>>31,7232,0);v[e+4>>2]=t-((Tb&8191)<<19|y>>>13);e=e+8|0;b=b+8|0;f=f-2|0;if(f){continue}break}}if(x){f=v[e>>2];b=v[b+q>>2]+v[b>>2]|0;b=Bib(b,b>>31,7232,0);v[e>>2]=f-((Tb&8191)<<19|b>>>13)}c=c+q|0;g=g+q|0;b=(i|0)>1;i=i-1|0;if(b){continue}break}}x=k&w;u:{if(!x){x=0;break u}e=p&3;if(p-1>>>0>=3){b=p&-4;while(1){i=v[g>>2];f=v[c>>2];f=Bib(f,f>>31,14465,0);v[g>>2]=i-((Tb&8191)<<19|f>>>13);i=v[g+4>>2];f=v[c+4>>2];f=Bib(f,f>>31,14465,0);v[g+4>>2]=i-((Tb&8191)<<19|f>>>13);i=v[g+8>>2];f=v[c+8>>2];f=Bib(f,f>>31,14465,0);v[g+8>>2]=i-((Tb&8191)<<19|f>>>13);i=v[g+12>>2];f=v[c+12>>2];f=Bib(f,f>>31,14465,0);v[g+12>>2]=i-((Tb&8191)<<19|f>>>13);g=g+16|0;c=c+16|0;b=b-4|0;if(b){continue}break}}if(!e){break u}while(1){f=v[g>>2];b=v[c>>2];b=Bib(b,b>>31,14465,0);v[g>>2]=f-((Tb&8191)<<19|b>>>13);g=g+4|0;c=c+4|0;e=e-1|0;if(e){continue}break}}i=k}g=h;if(!u){v:{if(!i){break v}c=p&3;b=d;e=h;if(p-1>>>0>=3){f=p&-4;while(1){k=v[e>>2];g=v[b>>2];g=Bib(g,g>>31,-868,-1);v[e>>2]=k-((Tb&8191)<<19|g>>>13);k=v[e+4>>2];g=v[b+4>>2];g=Bib(g,g>>31,-868,-1);v[e+4>>2]=k-((Tb&8191)<<19|g>>>13);k=v[e+8>>2];g=v[b+8>>2];g=Bib(g,g>>31,-868,-1);v[e+8>>2]=k-((Tb&8191)<<19|g>>>13);k=v[e+12>>2];g=v[b+12>>2];g=Bib(g,g>>31,-868,-1);v[e+12>>2]=k-((Tb&8191)<<19|g>>>13);b=b+16|0;e=e+16|0;f=f-4|0;if(f){continue}break}}if(!c){break v}while(1){g=v[e>>2];f=v[b>>2];f=Bib(f,f>>31,-868,-1);v[e>>2]=g-((Tb&8191)<<19|f>>>13);b=b+4|0;e=e+4|0;c=c-1|0;if(c){continue}break}}g=(m<<2)+h|0}w:{if((j|0)<1){c=d;break w}s=p&-2;w=p&1;q=m<<2;c=d;while(1){k=j;x:{if(!i){break x}e=c;b=g;f=s;if((p|0)!=1){while(1){t=v[b>>2];j=v[e+q>>2]+v[e>>2]|0;j=Bib(j,j>>31,-434,-1);v[b>>2]=t-((Tb&8191)<<19|j>>>13);t=v[b+4>>2];j=v[q+(e+4|0)>>2]+v[e+4>>2]|0;j=Bib(j,j>>31,-434,-1);v[b+4>>2]=t-((Tb&8191)<<19|j>>>13);e=e+8|0;b=b+8|0;f=f-2|0;if(f){continue}break}}if(!w){break x}f=b;j=v[b>>2];b=v[e+q>>2]+v[e>>2]|0;b=Bib(b,b>>31,-434,-1);v[f>>2]=j-((Tb&8191)<<19|b>>>13)}j=k-1|0;c=c+q|0;g=g+q|0;if((k|0)>1){continue}break}}y:{if(!l){break y}e=p&3;if(p-1>>>0>=3){b=p&-4;while(1){j=v[g>>2];f=v[c>>2];f=Bib(f,f>>31,-868,-1);v[g>>2]=j-((Tb&8191)<<19|f>>>13);j=v[g+4>>2];f=v[c+4>>2];f=Bib(f,f>>31,-868,-1);v[g+4>>2]=j-((Tb&8191)<<19|f>>>13);j=v[g+8>>2];f=v[c+8>>2];f=Bib(f,f>>31,-868,-1);v[g+8>>2]=j-((Tb&8191)<<19|f>>>13);j=v[g+12>>2];f=v[c+12>>2];f=Bib(f,f>>31,-868,-1);v[g+12>>2]=j-((Tb&8191)<<19|f>>>13);c=c+16|0;g=g+16|0;b=b-4|0;if(b){continue}break}}if(!e){break y}while(1){f=v[g>>2];b=v[c>>2];b=Bib(b,b>>31,-868,-1);v[g>>2]=f-((Tb&8191)<<19|b>>>13);c=c+4|0;g=g+4|0;e=e-1|0;if(e){continue}break}}if(u){z:{if(!i){break z}c=p&3;e=d;b=h;if(p-1>>>0>=3){f=p&-4;while(1){j=v[e>>2];g=v[b>>2];g=Bib(g,g>>31,-25987,-1);v[e>>2]=j-((Tb&8191)<<19|g>>>13);j=v[e+4>>2];g=v[b+4>>2];g=Bib(g,g>>31,-25987,-1);v[e+4>>2]=j-((Tb&8191)<<19|g>>>13);j=v[e+8>>2];g=v[b+8>>2];g=Bib(g,g>>31,-25987,-1);v[e+8>>2]=j-((Tb&8191)<<19|g>>>13);j=v[e+12>>2];g=v[b+12>>2];g=Bib(g,g>>31,-25987,-1);v[e+12>>2]=j-((Tb&8191)<<19|g>>>13);b=b+16|0;e=e+16|0;f=f-4|0;if(f){continue}break}}if(!c){break z}while(1){g=v[e>>2];f=v[b>>2];f=Bib(f,f>>31,-25987,-1);v[e>>2]=g-((Tb&8191)<<19|f>>>13);b=b+4|0;e=e+4|0;c=c-1|0;if(c){continue}break}}d=(m<<2)+d|0}if((n|0)>=1){g=p&-2;k=p&1;j=m<<2;while(1){c=n;A:{if(!i){break A}e=d;b=h;f=g;if((p|0)!=1){while(1){s=v[e>>2];n=v[b+j>>2]+v[b>>2]|0;n=Bib(n,n>>31,-12993,-1);v[e>>2]=s-((Tb&8191)<<19|n>>>13);s=v[e+4>>2];n=v[j+(b+4|0)>>2]+v[b+4>>2]|0;n=Bib(n,n>>31,-12993,-1);v[e+4>>2]=s-((Tb&8191)<<19|n>>>13);e=e+8|0;b=b+8|0;f=f-2|0;if(f){continue}break}}if(!k){break A}f=v[e>>2];b=v[b+j>>2]+v[b>>2]|0;b=Bib(b,b>>31,-12993,-1);v[e>>2]=f-((Tb&8191)<<19|b>>>13)}n=c-1|0;h=h+j|0;d=d+j|0;if((c|0)>1){continue}break}}if(!x){break n}e=p&3;if(p-1>>>0>=3){b=p&-4;while(1){f=v[d>>2];c=v[h>>2];c=Bib(c,c>>31,-25987,-1);v[d>>2]=f-((Tb&8191)<<19|c>>>13);f=v[d+4>>2];c=v[h+4>>2];c=Bib(c,c>>31,-25987,-1);v[d+4>>2]=f-((Tb&8191)<<19|c>>>13);f=v[d+8>>2];c=v[h+8>>2];c=Bib(c,c>>31,-25987,-1);v[d+8>>2]=f-((Tb&8191)<<19|c>>>13);f=v[d+12>>2];c=v[h+12>>2];c=Bib(c,c>>31,-25987,-1);v[d+12>>2]=f-((Tb&8191)<<19|c>>>13);d=d+16|0;h=h+16|0;b=b-4|0;if(b){continue}break}}if(!e){break n}while(1){c=v[d>>2];b=v[h>>2];b=Bib(b,b>>31,-25987,-1);v[d>>2]=c-((Tb&8191)<<19|b>>>13);d=d+4|0;h=h+4|0;e=e-1|0;if(e){continue}break}}f2(a,r,o,m,u)}return 0}function p_a(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,n=0,o=0,p=0,q=0,r=0,s=0,z=0,A=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;h=Qb-112|0;Qb=h;e=v[b+96>>2];f=v[e+4>>2];d=b;L=v[d+540>>2];a:{if(!L){L=sm(f,228552);if(!L){e=11;break a}v[b+540>>2]=L;v[b+516>>2]=v[L>>2];e=v[b+96>>2]}qa=d,ra=Qj(e,235201,1),v[qa+544>>2]=ra;if(!v[b+548>>2]){qa=b,ra=Qj(Eg(f,278818),235044,0),v[qa+548>>2]=ra}if(!v[b+552>>2]){qa=b,ra=Qj(Eg(f,278818),235526,0),v[qa+552>>2]=ra}ka=v[a+28>>2];v[b+140>>2]=0;v[b+132>>2]=0;v[b+136>>2]=0;G=v[a+8>>2];d=kf(a,h);e=v[h>>2];if(e){break a}la=b+132|0;na=h+96|0;while(1){oa=h;b:{c:{d:{e:{f:{g:{h:{i:{if((d|0)<=1954115632){if((d|0)<=131071){if((d|0)==-1519689116|(d|0)==-1519619212){break i}e=2;if((d|0)==65536){break i}break a}if((d|0)<=1953658212){if((d|0)==131072){break i}e=2;if((d|0)==1330926671){break i}break a}if((d|0)==1953658213){break i}e=2;if((d|0)==1953784678){break i}break a}if((d|0)==2001684018){break d}if((d|0)==2001684038){break h}e=2;if((d|0)!=1954115633){break a}}v[la>>2]=1953784678;if((d|0)!=1953784678){break g}e=me(a,446016,la);v[h>>2]=e;if(e){break a}d=v[b+140>>2];if(d){break f}e=8;break a}e=Yc(a,G);v[h>>2]=e;if(e){break a}n=v[a+28>>2];v[h+16>>2]=0;e=me(a,446032,h+40|0);v[h+16>>2]=e;if(e){break a}e=8;d=v[h+44>>2];if((d|0)==1953784678|(d|0)==2001684038){break a}d=v[h+48>>2];if((d|0)!=v[a+4>>2]){break a}f=x[h+52>>1];if(!f|d>>>0<=B(f,20)+44>>>0){break a}g=f<<4|12;d=v[h+56>>2];if(g>>>0>=d>>>0|d&3){break a}d=v[h+68>>2];j:{if(!v[h+64>>2]){if(!(d|v[h+72>>2])){break j}break a}if(!d){break j}if(!v[h+72>>2]){break a}}if(!(v[h+80>>2]?v[h+76>>2]:1)){break a}f=0;r=Fd(n,g,h+16|0);k:{if(v[h+16>>2]){k=0;e=0;break k}k=Fd(n,40,h+16|0);if(v[h+16>>2]){e=0;break k}g=x[h+52>>1];e=g;G=0;if(g){while(1){G=G+1|0;d=e>>>0>1;e=e>>>1|0;if(d){continue}break}}t[r|0]=w[h+47|0];t[r+1|0]=x[h+46>>1];t[r+2|0]=v[h+44>>2]>>>8;t[r+3|0]=v[h+44>>2];t[r+4|0]=w[h+53|0];e=w[h+52|0];d=g<<4;j=G-1|0;g=16<>>8;t[r+9|0]=j;t[r+8|0]=j>>>8;t[r+7|0]=g;t[r+6|0]=g>>>8;t[r+5|0]=e;e=Cc(n,24,0,x[h+52>>1],0,h+16|0);if(v[h+16>>2]){break k}f=Cc(n,4,0,x[h+52>>1],0,h+16|0);if(v[h+16>>2]){break k}d=ne(a,B(x[h+52>>1],20));v[h+16>>2]=d;if(d){break k}d=0;s=0;if(x[h+52>>1]){while(1){g=B(s,24)+e|0;qa=g,ra=Sg(a),v[qa>>2]=ra;qa=g,ra=Sg(a),v[qa+4>>2]=ra;qa=g,ra=Sg(a),v[qa+8>>2]=ra;qa=g,ra=Sg(a),v[qa+12>>2]=ra;qa=g,ra=Sg(a),v[qa+16>>2]=ra;j=d;d=v[g>>2];if(j>>>0>=d>>>0){Vd(a);v[h+16>>2]=8;break k}v[(s<<2)+f>>2]=g;s=s+1|0;if(s>>>0>1]){continue}break}}Vd(a);Pk(f,x[h+52>>1],4,1878);z=x[h+52>>1];G=B(z,20)+44|0;m=0;l=v[h+56>>2];i=v[h+48>>2];g=z<<4|12;s=g;if(z){while(1){l:{o=v[(m<<2)+f>>2];m:{if(v[o+4>>2]!=(G|0)){break m}j=v[o+8>>2];if(j>>>0>i>>>0|i-j>>>0>>0){break m}d=v[o+12>>2];if(d>>>0>l>>>0|l-d>>>0>>0){break m}if(d>>>0>=j>>>0){break l}}v[h+16>>2]=8;break k}v[o+20>>2]=s;s=(d+3&-4)+s|0;G=(j+3&-4)+G|0;m=m+1|0;if((z|0)!=(m|0)){continue}break}}n:{d=v[h+64>>2];if(!d){break n}if((d|0)==(G|0)){G=v[h+68>>2]+G|0;if(i>>>0>=G>>>0){break n}}v[h+16>>2]=8;break k}o:{d=v[h+76>>2];if(!d){break o}if((d|0)==(G+3&-4)){G=d+v[h+80>>2]|0;if(i>>>0>=G>>>0){break o}}v[h+16>>2]=8;break k}if(!((l|0)==(s|0)&(i|0)==(G|0))){v[h+16>>2]=8;break k}r=Cc(n,1,g,l,r,h+16|0);if(v[h+16>>2]){break k}if(x[h+52>>1]){s=r+12|0;d=0;while(1){l=B(d,24)+e|0;t[s|0]=w[l+3|0];t[s+1|0]=x[l+2>>1];t[s+2|0]=v[l>>2]>>>8;t[s+3|0]=v[l>>2];t[s+4|0]=w[l+19|0];t[s+5|0]=x[l+18>>1];t[s+6|0]=v[l+16>>2]>>>8;t[s+7|0]=v[l+16>>2];t[s+8|0]=w[l+23|0];t[s+9|0]=x[l+22>>1];t[s+10|0]=v[l+20>>2]>>>8;t[s+11|0]=v[l+20>>2];t[s+12|0]=w[l+15|0];t[s+13|0]=x[l+14>>1];t[s+14|0]=v[l+12>>2]>>>8;t[s+15|0]=v[l+12>>2];g=Yc(a,v[l+4>>2]);v[h+16>>2]=g;if(g){break k}g=ne(a,v[l+8>>2]);v[h+16>>2]=g;if(g){break k}p:{j=v[l+8>>2];g=v[l+12>>2];if((j|0)==(g|0)){gc(v[l+20>>2]+r|0,v[a+32>>2],j);break p}v[h+108>>2]=g;o=v[l+20>>2]+r|0;j=v[a+32>>2];g=v[l+8>>2];m=Qb+-64|0;Qb=m;C=6;z=h+108|0;q:{if(!o|(!n|!z)){break q}v[m+20>>2]=o;v[m+12>>2]=g;v[m+8>>2]=j;g=v[z>>2];v[m+48>>2]=n;v[m+44>>2]=1698;v[m+40>>2]=1699;v[m+24>>2]=g;if(gG(m+8|0,47)){break q}g=Mj(m+8|0,4);r:{if((g|0)!=1){tk(m+8|0);if(g){break r}C=10;break q}v[z>>2]=v[m+28>>2];g=tk(m+8|0)}C=0;g=g+5|0;if(g>>>0>2){break q}C=v[(g<<2)+380744>>2]}Qb=m- -64|0;v[h+16>>2]=C;if(!C){if(v[h+108>>2]==v[l+12>>2]){break p}v[h+16>>2]=8}Vd(a);break k}Vd(a);o=v[l+12>>2];j=v[l+20>>2];g=o+j|0;if(g&3){ic(g+r|0,0,((o^-1)-j&3)+1|0)}s=s+16|0;d=d+1|0;if(d>>>0>1]){continue}break}}d=v[h+56>>2];v[k+32>>2]=0;v[k+8>>2]=0;v[k+4>>2]=d;v[k>>2]=r;v[k+20>>2]=0;v[k+24>>2]=0;a=v[a+28>>2];v[k+24>>2]=1879;v[k+28>>2]=a;T_(v[b+104>>2],v[b+8>>2]>>>10&1);v[b+104>>2]=k;v[b+8>>2]=v[b+8>>2]&-1025}if(e){Ub[v[n+8>>2]](n,e)}if(f){Ub[v[n+8>>2]](n,f)}if(!v[h+16>>2]){v[h>>2]=0;break b}if(r){Ub[v[n+8>>2]](n,r)}s:{if(!k){break s}a=v[k+24>>2];if(!a){break s}Ub[a|0](k)}if(k){Ub[v[n+8>>2]](n,k)}e=v[h+16>>2];break c}v[b+136>>2]=65536;v[b+140>>2]=1;a=Fd(ka,4,h);v[b+144>>2]=a;e=v[h>>2];if(e){break a}v[a>>2]=G;v[h+40>>2]=0;break e}e=10;if(d>>>0>v[a+4>>2]>>>5>>>0){break a}qa=b,ra=Cc(ka,4,0,d,0,h),v[qa+144>>2]=ra;e=v[h>>2];if(e){break a}e=ne(a,v[b+140>>2]<<2);v[h>>2]=e;if(e){break a}if(v[b+140>>2]>=1){e=0;while(1){d=Sg(a);v[v[b+144>>2]+(e<<2)>>2]=d;e=e+1|0;if((e|0)>2]){continue}break}}Vd(a);e=v[h>>2];v[h+40>>2]=e;if(e){break a}}f=h;l=v[b+104>>2];d=l;g=v[b+144>>2];a=c>>31;j=a+c^a;a=(j&65535)+a|0;if((a|0)>=v[b+140>>2]){e=6;if((c|0)>-1){break a}a=0}e=Yc(d,v[g+(a<<2)>>2]);v[f+40>>2]=e;if(e){break a}e=Ub[v[L+88>>2]](b,l)|0;v[h+40>>2]=e;if(e){break a}g=v[b+100>>2];t:{u:{if(Ub[v[b+516>>2]](b,1719034226,l,h+16|0)|y[h+16>>2]<20){break u}L=kf(l,h+40|0);if(v[h+40>>2]){break u}k=Ed(l,h+40|0);if(v[h+40>>2]){break u}a=Bf(l,2);v[h+40>>2]=a;if(a){break u}e=Ed(l,h+40|0);if(v[h+40>>2]){break u}m=Ed(l,h+40|0);if(v[h+40>>2]){break u}d=Ed(l,h+40|0);if(v[h+40>>2]){break u}r=Ed(l,h+40|0);if(!v[h+40>>2]){break t}}L=0;k=0;e=0;m=0;d=0;r=0}s=0;a=0;v:{if((L|0)!=65536|(m|0)!=20|(!e|e>>>0>16382)){break v}f=e<<2;w:{if((f+4|0)!=(r|0)){if((f+6|0)!=(r|0)){break v}if(d>>>0<=32511){break w}break v}if(d>>>0>32511){break v}}if(y[h+16>>2]<(B(e,20)+k|0)+B(d,r)>>>0){break v}v[b+740>>2]=v[b+740>>2]|1;a=d}x:{if(!(t[b+740|0]&1)){f=0;break x}z=e<<2;f=Fd(g,z,h+40|0);if(v[h+40>>2]){break x}s=Fd(g,z,h+40|0);if(v[h+40>>2]){break x}o=(v[l+8>>2]+k|0)-16|0;if(e){L=o+8|0;k=0;d=f;while(1){qa=h,ra=$z(l,L,d,4),v[qa+40>>2]=ra;d=d+4|0;L=m+L|0;k=k+1|0;if((k|0)!=(e|0)){continue}break}}y:{if(!a){L=0;break y}e=(o+B(e,m)|0)+4|0;L=0;while(1){qa=h,ra=$z(l,e,s,z),v[qa+40>>2]=ra;if(!Pc(f,s,z)){break y}e=e+r|0;L=L+1|0;if((L|0)!=(a|0)){continue}break}L=a}a=((a|0)==(L|0))+a|0}if(f){Ub[v[g+8>>2]](g,f)}if(s){Ub[v[g+8>>2]](g,s)}e=j>>>16|0;z:{if(!(Ub[v[b+516>>2]](b,1735162214,l,0)|0)){break z}if(!(Ub[v[b+516>>2]](b,1128678962,l,0)|0)){break z}a=Ub[v[b+516>>2]](b,1128678944,l,0)|0?a:0}d=b;A:{if(e>>>0>(a&65535)>>>0){if((c|0)>-1){break A}a=0}v[d+12>>2]=a<<16;v[b+4>>2]=c;v[b>>2]=v[b+140>>2];if(fa){v[b>>2]=fa}e=v[h+40>>2];break a}e=6;break a}e=Yc(a,G);v[h>>2]=e;if(e){break a}o=v[a+28>>2];v[h+108>>2]=0;v[h+32>>2]=0;v[h+36>>2]=0;v[h+24>>2]=0;v[h+28>>2]=0;v[h+16>>2]=0;v[h+20>>2]=0;v[h+12>>2]=0;e=me(a,446096,h+40|0);v[h+108>>2]=e;if(e){break a}e=8;if(v[h+44>>2]==2001684018){break a}j=v[h+48>>2];if((j|0)!=v[a+4>>2]){break a}g=x[h+52>>1];if(!g|j>>>0<=B(g,20)+48>>>0){break a}s=v[h+68>>2];f=v[h+64>>2];B:{if(!f){d=v[h+72>>2]|s;s=0;if(!d){break B}break a}if(!s){break B}if(!v[h+72>>2]){break a}}if(j-f>>>0>>0|f>>>0>=j>>>0){break a}f=v[h+76>>2];d=v[h+80>>2];if(!f&(d|0)!=0|f>>>0>=j>>>0|d>>>0>j-f>>>0){break a}G=0;v[h+104>>2]=0;ga=Cc(o,32,0,g,0,h+108|0);C:{if(v[h+108>>2]){e=0;s=0;break C}s=Cc(o,4,0,x[h+52>>1],0,h+108|0);if(v[h+108>>2]){e=0;break C}k=0;m=0;D:{E:{F:{if(!x[h+52>>1]){e=0;break F}while(1){j=(k<<5)+ga|0;f=dg(a,h+108|0);t[j|0]=f;if(v[h+108>>2]){e=0;break C}d=f&63;G:{if((d|0)==63){d=kf(a,h+108|0);v[j+4>>2]=d;if(v[h+108>>2]){break D}f=w[j|0];break G}d=v[(d<<2)+446160>>2];v[j+4>>2]=d}H:{if(!((d|0)!=1819239265&(d|0)!=1735162214)){d=f&255;r=d>>>0>63;e=(d>>>0<64)<<8;break H}d=f&255;r=d>>>0<64;e=(d>>>0>63)<<8}d=qZ(a,j+8|0);v[h+108>>2]=d;if(d){break D}d=v[j+8>>2];v[j+12>>2]=d;I:{J:{if(!r){d=qZ(a,j+12|0);v[h+108>>2]=d;if(d){break D}g=v[j+12>>2];if(v[j+4>>2]==1819239265){break J}d=g}if((m^-1)>>>0>>0){break E}break I}d=0;if(g){break E}}v[j+24>>2]=d;v[j+20>>2]=m;v[j+16>>2]=e|(f&192)>>>6;v[(k<<2)+s>>2]=j;m=d+m|0;e=x[h+52>>1];k=k+1|0;if(e>>>0>k>>>0){continue}break}}d=v[((e<<2)+s|0)-4>>2];e=v[d+24>>2];d=e+v[d+20>>2]|0;v[h+84>>2]=d;if(d>>>0>>0){break E}v[h+92>>2]=0;u[h+96>>1]=1;K:{if(v[h+44>>2]==1953784678){d=kf(a,h+108|0);v[h+92>>2]=d;if(v[h+108>>2]){break D}if((d|0)!=65536&(d|0)!=131072){break E}d=mq(a,na);v[h+108>>2]=d;if(d){break D}d=x[h+96>>1];if(!d){break E}f=Cc(o,12,0,d,0,h+108|0);v[h+104>>2]=f;if(v[h+108>>2]){e=0;break C}if(!x[h+96>>1]){break K}r=f+4|0;d=mq(a,r);v[h+108>>2]=d;if(d){break D}l=0;while(1){g=B(l,12)+f|0;qa=g,ra=kf(a,h+108|0),v[qa>>2]=ra;if(v[h+108>>2]){e=0;break C}e=0;qa=g,ra=Cc(o,2,0,x[r>>1],0,h+108|0),v[qa+8>>2]=ra;if(v[h+108>>2]){break C}k=0;L:{if(!x[r>>1]){d=0;break L}d=0;f=0;while(1){e=mq(a,h+6|0);v[h+108>>2]=e;if(e){break D}j=x[h+6>>1];if(j>>>0>=x[h+52>>1]){v[h+108>>2]=8;break D}u[v[g+8>>2]+(f<<1)>>1]=j;e=v[v[(j<<2)+s>>2]+4>>2];d=(e|0)==1735162214?j:d;k=(e|0)==1819239265?j:k;f=f+1|0;if(f>>>0>1]){continue}break}}if((k-d|0)!=1|d>>>0>k>>>0?d|k:0){break E}l=l+1|0;if(l>>>0>=x[h+96>>1]){break K}f=v[h+104>>2];r=(f+B(l,12)|0)+4|0;d=mq(a,r);v[h+108>>2]=d;e=0;if(!d){continue}break}break C}v[h+104>>2]=0}d=v[a+8>>2];v[h+88>>2]=d;g=(d+v[h+60>>2]|0)+3|0;e=g&-4;f=v[h+48>>2];if(e>>>0>f>>>0){break E}d=v[h+64>>2];if(d){if((d|0)!=(e|0)){break E}e=v[h+68>>2]+(g|3)&-4}d=v[h+76>>2];if(d){if((d|0)!=(e|0)){break E}e=v[h+80>>2]+(e|3)&-4}if((f+3&-4)!=(e|0)){break E}M:{ba=c>>31;e=ba+((c+ba^ba)&65535)|0;fa=x[h+96>>1];if((e|0)<(fa|0)){break M}e=0;if((c|0)<0){break M}v[h+108>>2]=6;break D}N:{if(!v[h+92>>2]){e=x[h+52>>1];break N}j=v[h+104>>2]+B(e,12)|0;r=Cc(o,4,0,x[j+4>>1],0,h+108|0);if(v[h+108>>2]){e=0;break C}f=x[j+4>>1];O:{if(!f){break O}e=0;if((f|0)!=1){k=f&65534;while(1){v[r+(e<<2)>>2]=v[(x[v[j+8>>2]+(e<<1)>>1]<<2)+s>>2];d=e|1;v[r+(d<<2)>>2]=v[(x[v[j+8>>2]+(d<<1)>>1]<<2)+s>>2];e=e+2|0;k=k-2|0;if(k){continue}break}}if(!(f&1)){break O}v[r+(e<<2)>>2]=v[(x[v[j+8>>2]+(e<<1)>>1]<<2)+s>>2]}s=Cc(o,4,x[h+52>>1],f,s,h+108|0);if(v[h+108>>2]){break D}d=x[j+4>>1];P:{if(!d){break P}k=d&3;e=0;if(d-1>>>0>=3){d=d&65532;while(1){g=e<<2;v[g+s>>2]=v[g+r>>2];f=g|4;v[f+s>>2]=v[f+r>>2];f=g|8;v[f+s>>2]=v[f+r>>2];f=g|12;v[f+s>>2]=v[f+r>>2];e=e+4|0;d=d-4|0;if(d){continue}break}}if(!k){break P}while(1){d=e<<2;v[d+s>>2]=v[d+r>>2];e=e+1|0;k=k-1|0;if(k){continue}break}}if(r){Ub[v[o+8>>2]](o,r)}v[h+44>>2]=v[j>>2];e=x[j+4>>1];u[h+52>>1]=e}d=(e&65535)<<4|12;v[h+8>>2]=d;e=v[h+56>>2];if(e>>>0>d>>>0){d=v[h+48>>2];d=d>>>0>>6>>>0?d<<6:e;d=d>>>0<67108864?d:67108864;v[h+8>>2]=d}r=Fd(o,d,h+108|0);v[h+12>>2]=r;e=0;if(v[h+108>>2]){break C}G=Fd(o,40,h+108|0);if(v[h+108>>2]){break C}t[r|0]=w[h+47|0];t[r+1|0]=x[h+46>>1];t[r+2|0]=v[h+44>>2]>>>8;t[r+3|0]=v[h+44>>2];j=x[h+52>>1];if(j){f=0;e=j;while(1){g=f;f=f+1|0;k=e>>>0>1;e=e>>>1|0;if(k){continue}break}t[r+4|0]=j>>>8;f=w[h+52|0];e=j<<4;j=16<>>8;t[r+9|0]=g;t[r+8|0]=g>>>8;t[r+7|0]=j;t[r+6|0]=j>>>8;t[r+5|0]=f;e=x[h+52>>1]}else{e=0}qa=h,ra=zH(r,12),v[qa+16>>2]=ra;Pk(s,e,4,1880);e=v[h+84>>2];if(!(!e|d>>>0>>0)){e=Fd(o,e,h+108|0);if(v[h+108>>2]){break C}d=ne(a,v[h+60>>2]);v[h+108>>2]=d;if(d){break C}v[h+108>>2]=7;Vd(a);if(v[h+108>>2]){break C}ma=v[h+84>>2];R=h+8|0;C=0;q=0;j=0;ca=0;da=0;i=Qb-48|0;Qb=i;v[i+16>>2]=0;f=v[h+12>>2];v[i+12>>2]=f;U=x[h+52>>1];r=U<<4|12;v[i+8>>2]=r;v[i>>2]=0;J=h+16|0;ha=v[J>>2];Q:{R:{if(U){S:{while(1){l=v[(C<<2)+s>>2];if(v[l+4>>2]==1735162214){break S}C=C+1|0;if((U|0)!=(C|0)){continue}break}l=0}v[J+12>>2]=l;V=J+12|0;C=0;T:{while(1){d=v[(C<<2)+s>>2];if(v[d+4>>2]!=1819239265){C=C+1|0;if((U|0)!=(C|0)){continue}break T}break}v[J+16>>2]=d;C=8;if(!l|(v[d+16>>2]^v[l+16>>2])&256){break Q}ea=J+16|0;break R}v[J+16>>2]=0;C=8;if(l){break Q}ea=J+16|0;break R}v[J+12>>2]=0;v[J+16>>2]=0;V=J+12|0;ea=J+16|0}E=Cc(o,1,0,16,0,i+16|0);U:{V:{if(v[i+16>>2]){break V}q=Fd(o,40,i+16|0);if(v[i+16>>2]){break V}v[q+32>>2]=0;v[q+8>>2]=0;v[q+4>>2]=ma;v[q>>2]=e;v[q+20>>2]=0;v[q+24>>2]=0;W:{X:{Y:{if(!U){break Y}pa=e+8|0;ia=12;while(1){k=v[(da<<2)+s>>2];d=v[k+28>>2];g=v[k+16>>2];aa=v[k+8>>2];X=v[k+4>>2];p=v[k+24>>2];k=v[k+20>>2];l=Yc(q,k);v[i+16>>2]=l;if(k+p>>>0>ma>>>0|l){break W}Z:{_:{if((X|0)==1751672161){d=Bf(q,34);v[i+44>>2]=d;if(d){break X}ca=Ed(q,i+44|0);if(v[i+44>>2]){break X}u[J+6>>1]=ca;if(!(g&256)){break _}break X}u[J+6>>1]=ca;v[i+4>>2]=0;if(g&256){$:{aa:{ba:{ca:{da:{if((X|0)!=1819239265){if((X|0)==1752003704){break da}if((X|0)!=1735162214){break X}C=0;v[i+44>>2]=0;v[i+40>>2]=f;m=v[q+8>>2];v[i+36>>2]=r;A=Cc(o,12,0,7,0,i+44|0);if(v[i+44>>2]){break aa}d=Bf(q,4);v[i+44>>2]=d;if(d){break aa}Z=Ed(q,i+44|0);if(v[i+44>>2]){break aa}ja=Ed(q,i+44|0);z=0;l=0;k=0;if(v[i+44>>2]){break $}u[J+4>>1]=Z;F=Z+1|0;if(v[v[J+16>>2]+8>>2]!=(B(F,ja?4:2)|0)|y[v[V>>2]+12>>2]<36){break ba}f=kf(q,i+44|0);if(v[i+44>>2]){break $}if(f>>>0>v[v[V>>2]+12>>2]-36>>>0){break ba}v[A+8>>2]=f;d=m+36|0;v[A+4>>2]=d;v[A>>2]=d;j=kf(q,i+44|0);if(v[i+44>>2]){break $}f=f+36|0;if(j>>>0>v[v[V>>2]+12>>2]-f>>>0){break ba}v[A+20>>2]=j;d=f+m|0;v[A+16>>2]=d;v[A+12>>2]=d;g=kf(q,i+44|0);if(v[i+44>>2]){break $}f=f+j|0;if(g>>>0>v[v[V>>2]+12>>2]-f>>>0){break ba}v[A+32>>2]=g;d=f+m|0;v[A+28>>2]=d;v[A+24>>2]=d;j=kf(q,i+44|0);if(v[i+44>>2]){break $}f=f+g|0;if(j>>>0>v[v[V>>2]+12>>2]-f>>>0){break ba}v[A+44>>2]=j;d=f+m|0;v[A+40>>2]=d;v[A+36>>2]=d;g=kf(q,i+44|0);if(v[i+44>>2]){break $}f=f+j|0;if(g>>>0>v[v[V>>2]+12>>2]-f>>>0){break ba}v[A+56>>2]=g;d=f+m|0;v[A+52>>2]=d;v[A+48>>2]=d;j=kf(q,i+44|0);if(v[i+44>>2]){break $}g=f+g|0;if(j>>>0>v[v[V>>2]+12>>2]-g>>>0){break ba}v[A+68>>2]=j;d=g+m|0;v[A+64>>2]=d;v[A+60>>2]=d;f=kf(q,i+44|0);if(v[i+44>>2]){break $}d=g+j|0;if(f>>>0>v[v[V>>2]+12>>2]-d>>>0){break ba}v[A+80>>2]=f;d=d+m|0;v[A+76>>2]=d;v[A+72>>2]=d;C=Cc(o,4,0,F,0,i+44|0);if(v[i+44>>2]){break aa}H=v[A+64>>2];v[A+64>>2]=H+(Z+31>>>3&16380);l=Cc(o,1,0,5120,0,i+44|0);if(v[i+44>>2]){break $}qa=J,ra=Cc(o,2,0,Z,0,i+44|0),v[qa+8>>2]=ra;if(v[i+44>>2]){break $}d=5120;_=0;k=r;if(Z){while(1){v[i+32>>2]=0;u[i+30>>1]=0;f=Yc(q,(_>>>3|0)+H|0);v[i+44>>2]=f;if(f){break ca}g=dg(q,i+44|0);if(v[i+44>>2]){break ca}f=Yc(q,v[A+4>>2]);v[i+44>>2]=f;if(f){break ca}W=Ed(q,i+44|0);if(v[i+44>>2]){break ca}Y=g&128>>>(_&7);v[A+4>>2]=v[A+4>>2]+2;ea:{fa:{if(W){if((W|0)==65535){t[i+22|0]=0;u[i+28>>1]=0;if(!Y){break ca}g=0;m=Qb-16|0;Qb=m;n=v[A+52>>2];D=Yc(q,n);v[m+12>>2]=D;ga:{if(D){break ga}f=32;while(1){if(f&32){f=Ed(q,m+12|0);D=v[m+12>>2];if(D){break ga}g=f>>>8&1|g;k=m;j=q;p=f&1?6:4;I=p+2|0;ha:{if(f&8){break ha}I=p+4|0;if(f&64){break ha}I=p|f>>>4&8}D=Bf(j,I);v[k+12>>2]=D;if(!D){continue}break ga}break}v[i+24>>2]=v[q+8>>2]-n;t[i+22|0]=g;D=v[m+12>>2]}Qb=m+16|0;if(D){break ca}if(w[i+22|0]){f=Yc(q,v[A+40>>2]);v[i+44>>2]=f;if(f){break ca}f=mq(q,i+28|0);v[i+44>>2]=f;if(f){break ca}v[A+40>>2]=v[q+8>>2];f=x[i+28>>1]}else{f=0}k=(v[i+24>>2]+(f&65535)|0)+12|0;ia:{if(k>>>0<=d>>>0){k=d;break ia}l=Cc(o,1,d,k,l,i+44|0);if(v[i+44>>2]){break ca}}d=v[i+32>>2]+l|0;t[d|0]=255;t[d+1|0]=255;v[i+32>>2]=v[i+32>>2]+2;d=Yc(q,v[A+64>>2]);v[i+44>>2]=d;if(d){break ca}qa=i,ra=Ed(q,i+44|0),u[qa+30>>1]=ra;if(v[i+44>>2]){break ca}d=Yc(q,v[A+64>>2]);v[i+44>>2]=d;if(d){break ca}d=Lf(q,v[i+32>>2]+l|0,8);v[i+44>>2]=d;if(d){break ca}v[A+64>>2]=v[A+64>>2]+8;v[i+32>>2]=v[i+32>>2]+8;d=Yc(q,v[A+52>>2]);v[i+44>>2]=d;if(d){break ca}f=v[i+24>>2];d=Lf(q,v[i+32>>2]+l|0,f);v[i+44>>2]=d;if(d){break ca}v[A+52>>2]=f+v[A+52>>2];d=f+v[i+32>>2]|0;v[i+32>>2]=d;if(w[i+22|0]){d=d+l|0;t[d|0]=w[i+29|0];t[d+1|0]=w[i+28|0];v[i+32>>2]=v[i+32>>2]+2;d=Yc(q,v[A+76>>2]);v[i+44>>2]=d;if(d){break ca}f=x[i+28>>1];d=Lf(q,v[i+32>>2]+l|0,f);v[i+44>>2]=d;if(d){break ca}v[A+76>>2]=f+v[A+76>>2];v[i+32>>2]=f+v[i+32>>2]}d=k;break ea}k=Cc(o,2,0,W,0,i+44|0);if(v[i+44>>2]){break ba}g=Yc(q,v[A+16>>2]);v[i+44>>2]=g;j=0;f=0;if(g){break ba}while(1){g=mq(q,i+28|0);v[i+44>>2]=g;if(g){break ba}g=x[i+28>>1];u[(j<<1)+k>>1]=g;K=f+g|0;if(K>>>0>>0){break ba}f=K;j=j+1|0;if((W|0)!=(j|0)){continue}break}v[A+16>>2]=v[q+8>>2];if(y[A+32>>2]>>0){break ba}n=v[A+44>>2];j=v[A+40>>2];m=j-v[A+36>>2]|0;if(n>>>0>>0){break ba}p=v[q>>2];g=v[A+28>>2];v[i+24>>2]=0;D=Cc(o,12,0,f,0,i+44|0);ja:{if(v[i+44>>2]){break ja}I=g+p|0;$=j+p|0;g=0;N=0;P=0;O=0;j=0;M=8;p=n-m|0;ka:{if(p>>>0>>0){break ka}if(K){while(1){n=p;S=w[I+O|0];T=S&127;f=1;la:{if(T>>>0<84){break la}f=2;if(T>>>0<120){break la}f=T>>>0<124?3:4}j=f+g|0;if(n>>>0>>0|f>>>0>j>>>0){break ka}ma:{if(T>>>0<=9){Q=0;f=w[g+$|0]|T<<7&1792;n=S&1?f:0-f|0;break ma}if(T>>>0<=19){n=0;f=w[g+$|0]|(T<<7)+768&1792;Q=S&1?f:0-f|0;break ma}if(T>>>0<=83){m=w[g+$|0];g=T-20|0;f=m&15|g<<2&48;n=S&2?f+1|0:f^-1;f=g&48|m>>>4;Q=S&1?f+1|0:f^-1;break ma}if(T>>>0<=119){n=g+$|0;m=T-84|0;g=((m&255)>>>0)/12|0;f=w[n|0]|g<<8;Q=S&1?f+1|0:f^-1;f=w[n+1|0]|m-B(g,12)<<6&768;n=S&2?f+1|0:f^-1;break ma}if(T>>>0<=123){m=g+$|0;g=w[m+1|0];f=w[m|0]<<4|g>>>4;Q=S&1?f:0-f|0;f=w[m+2|0]|g<<8&3840;n=S&2?f:0-f|0;break ma}g=g+$|0;f=w[g|0]<<8|w[g+1|0];Q=S&1?f:0-f|0;f=w[g+3|0]|w[g+2|0]<<8;n=S&2?f:0-f|0}if((2147483647-P|0)<(Q|0)&(P|0)>=1|(P|0)<=-1&(-2147483648-P|0)>(Q|0)|((2147483647-N|0)<(n|0)&(N|0)>=1|(N|0)<=-1&(-2147483648-N|0)>(n|0))){break ka}f=D+B(O,12)|0;t[f+8|0]=((S^-1)&128)>>>7;N=n+N|0;v[f+4>>2]=N;P=Q+P|0;v[f>>2]=P;g=j;O=O+1|0;if((K|0)!=(O|0)){continue}break}}v[i+24>>2]=j;M=0}if(M){break ja}v[A+28>>2]=K+v[A+28>>2];f=v[A+40>>2]+v[i+24>>2]|0;v[A+40>>2]=f;f=Yc(q,f);v[i+44>>2]=f;if(f){break ja}f=mq(q,i+22|0);v[i+44>>2]=f;if(f){break ja}v[A+40>>2]=v[q+8>>2];if(K>>>0>134217727){break ja}m=(x[i+22>>1]+(B(K,5)+(W<<1)|0)|0)+12|0;na:{if(m>>>0<=d>>>0){m=d;break na}l=Cc(o,1,d,m,l,i+44|0);if(v[i+44>>2]){break ja}}f=v[i+32>>2]+l|0;d=W<<8|W>>>8;t[f|0]=d;t[f+1|0]=d>>>8;v[i+32>>2]=v[i+32>>2]+2;oa:{if(Y){d=Yc(q,v[A+64>>2]);v[i+44>>2]=d;if(d){break ja}qa=i,ra=Ed(q,i+44|0),u[qa+30>>1]=ra;if(v[i+44>>2]){break ja}d=Yc(q,v[A+64>>2]);v[i+44>>2]=d;if(d){break ja}d=Lf(q,v[i+32>>2]+l|0,8);v[i+44>>2]=d;if(d){break ja}v[A+64>>2]=v[A+64>>2]+8;break oa}g=0;d=0;f=0;pa:{if(!K){j=0;break pa}Q=1;f=v[D+4>>2];d=v[D>>2];if((K|0)==1){j=f;g=d;break pa}g=K-1|0;n=g&1;qa:{if((K|0)==2){g=d;j=f;break qa}O=g&-2;g=d;j=f;while(1){p=D+B(Q,12)|0;Y=v[p+16>>2];M=v[p+4>>2];j=(j|0)<(M|0)?M:j;j=(j|0)<(Y|0)?Y:j;I=v[p+12>>2];p=v[p>>2];g=(g|0)<(p|0)?p:g;g=(g|0)<(I|0)?I:g;f=(f|0)>(M|0)?M:f;f=(f|0)>(Y|0)?Y:f;d=(d|0)>(p|0)?p:d;d=(d|0)>(I|0)?I:d;Q=Q+2|0;O=O-2|0;if(O){continue}break}}if(!n){break pa}n=D+B(Q,12)|0;p=v[n+4>>2];j=(j|0)<(p|0)?p:j;n=v[n>>2];g=(g|0)<(n|0)?n:g;f=(f|0)>(p|0)?p:f;d=(d|0)>(n|0)?n:d}t[l+9|0]=j;t[l+7|0]=g;t[l+5|0]=f;t[l+3|0]=d;t[l+8|0]=j>>>8;t[l+6|0]=g>>>8;t[l+4|0]=f>>>8;t[l+2|0]=d>>>8;u[i+30>>1]=d}v[i+32>>2]=10;g=l+10|0;f=-1;j=0;while(1){d=g;f=x[(j<<1)+k>>1]+f|0;if((f|0)>65535){break ja}g=f<<8|(f&65280)>>>8;t[d|0]=g;t[d+1|0]=g>>>8;v[i+32>>2]=v[i+32>>2]+2;g=d+2|0;j=j+1|0;if((W|0)!=(j|0)){continue}break}g=x[i+22>>1];f=g<<8|g>>>8;t[d+2|0]=f;t[d+3|0]=f>>>8;v[i+32>>2]=v[i+32>>2]+2;d=Yc(q,v[A+76>>2]);v[i+44>>2]=d;if(d){break ja}d=Lf(q,v[i+32>>2]+l|0,g);v[i+44>>2]=d;if(d){break ja}v[A+76>>2]=g+v[A+76>>2];v[i+32>>2]=g+v[i+32>>2];f=0;I=0;N=0;P=0;O=0;j=(g+(W<<1)|0)+12|0;ra:{sa:{ta:{if(K){g=255;d=0;while(1){n=D+B(O,12)|0;p=v[n+4>>2];M=p-d|0;d=w[n+8|0]!=0;n=v[n>>2];f=n-f|0;ua:{if(!f){d=d|16;break ua}if(f+255>>>0<=510){N=N+1|0;d=((f|0)>0?18:2)|d;break ua}N=N+2|0}va:{if(!M){d=d|32;break va}if(M+255>>>0<=510){P=P+1|0;d=((M|0)>0?36:4)|d;break va}P=P+2|0}wa:{if(!((I&255)==255|(g&255)!=(d|0))){f=(j+l|0)-1|0;t[f|0]=w[f|0]|8;f=I+1|0;break wa}if(I&255){f=8;if(j>>>0>=m>>>0){break ra}t[j+l|0]=I;j=j+1|0}f=8;if(j>>>0>=m>>>0){break ra}t[j+l|0]=d;j=j+1|0;f=0}I=f;g=d;f=n;d=p;O=O+1|0;if((K|0)!=(O|0)){continue}break}if(I&255){d=8;if(j>>>0>=m>>>0){break sa}t[j+l|0]=I;f=j+1|0}else{f=j}d=8;g=N+P|0;if(g>>>0>>0){break sa}g=f+g|0;if(g>>>0>>0|g>>>0>m>>>0){break sa}j=f+N|0;if(!K){break ta}d=0;g=0;I=0;while(1){p=g;n=d;d=D+B(I,12)|0;g=v[d+4>>2];M=g-p|0;d=v[d>>2];n=d-n|0;xa:{if(!n){break xa}if(n+255>>>0<=510){p=n;n=n>>31;t[f+l|0]=p+n^n;f=f+1|0;break xa}p=f+l|0;n=n<<8|(n&65280)>>>8;t[p|0]=n;t[p+1|0]=n>>>8;f=f+2|0}ya:{if(!M){break ya}if(M+255>>>0<=510){n=M>>31;t[j+l|0]=n+M^n;j=j+1|0;break ya}p=j+l|0;n=M<<8|(M&65280)>>>8;t[p|0]=n;t[p+1|0]=n>>>8;j=j+2|0}I=I+1|0;if((K|0)!=(I|0)){continue}break}break ta}d=8;if(j>>>0>m>>>0){break sa}}v[i+32>>2]=j;d=0}f=d}if(!f){break fa}}z=D;break ba}if(!Y){break ea}break ca}d=o;if(D){Ub[v[d+8>>2]](d,D)}if(k){Ub[v[o+8>>2]](o,k)}d=m}v[(_<<2)+C>>2]=v[i+36>>2]-r;if(nZ(i+40|0,R,i+36|0,l,v[i+32>>2],o)){break ca}p=Qb-16|0;Qb=p;g=v[i+40>>2];k=v[i+36>>2];t[p+10|0]=0;u[p+8>>1]=0;j=8;za:{if(k>>>0>4294967292){break za}f=k+3&-4;n=f-k|0;Aa:{if(!n){f=k;break Aa}v[p+12>>2]=0;if(f>>>0>31457280){break za}m=v[R>>2];if(m>>>0>>0){g=Cc(o,1,m,f,g,p+12|0);if(v[p+12>>2]){break za}v[R>>2]=f}gc(g+k|0,p+8|0,n);if(v[p+12>>2]){break za}}v[i+40>>2]=g;v[i+36>>2]=f;j=0}Qb=p+16|0;if(j){break ca}qa=i,ra=v[i+4>>2]+zH(l,v[i+32>>2])|0,v[qa+4>>2]=ra;if(W){u[v[J+8>>2]+(_<<1)>>1]=x[i+30>>1]}_=_+1|0;if((_|0)!=(Z|0)){continue}break}k=v[i+36>>2]}d=v[V>>2];f=k-v[d+28>>2]|0;v[d+8>>2]=f;v[v[ea>>2]+28>>2]=k;v[(Z<<2)+C>>2]=f;k=0;d=0;g=0;f=0;K=Qb-16|0;Qb=K;v[K+8>>2]=0;Ba:{if(F>>>0<=1073741823){n=v[i+36>>2];p=v[i+40>>2];I=B(F,ja?4:2);f=Cc(o,1,0,I,0,K+8|0);if(v[K+8>>2]){break Ba}Ca:{if(!F){break Ca}Da:{if(ja){H=0;d=f;if((F|0)!=1){D=F&-2;while(1){g=H<<2;j=v[g+C>>2];j=j<<24|j<<8&16711680|(j>>>8&65280|j>>>24);t[d|0]=j;t[d+1|0]=j>>>8;t[d+2|0]=j>>>16;t[d+3|0]=j>>>24;g=v[(g|4)+C>>2];g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);t[d+4|0]=g;t[d+5|0]=g>>>8;t[d+6|0]=g>>>16;t[d+7|0]=g>>>24;H=H+2|0;d=d+8|0;D=D-2|0;if(D){continue}break}}if(!(F&1)){break Da}g=v[(H<<2)+C>>2];g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);t[d|0]=g;t[d+1|0]=g>>>8;t[d+2|0]=g>>>16;t[d+3|0]=g>>>24;break Da}H=F&3;d=f;if(F-1>>>0>=3){D=F&-4;while(1){m=g<<2;j=v[m+C>>2];t[d+1|0]=j>>>1;t[d|0]=j>>>9;j=v[(m|4)+C>>2];t[d+3|0]=j>>>1;t[d+2|0]=j>>>9;j=v[(m|8)+C>>2];t[d+5|0]=j>>>1;t[d+4|0]=j>>>9;j=v[(m|12)+C>>2];t[d+7|0]=j>>>1;t[d+6|0]=j>>>9;g=g+4|0;d=d+8|0;D=D-4|0;if(D){continue}break}}if(!H){break Da}while(1){j=v[(g<<2)+C>>2];t[d+1|0]=j>>>1;t[d|0]=j>>>9;g=g+1|0;d=d+2|0;H=H-1|0;if(H){continue}break}}d=0;j=I&-4;if(!j){g=0;break Ca}g=0;while(1){g=(w[(d|3)+f|0]|(w[(d|1)+f|0]<<16|w[d+f|0]<<24|w[(d|2)+f|0]<<8))+g|0;d=d+4|0;if(j>>>0>d>>>0){continue}break}d=j}j=i;if((d|0)!=(I|0)){D=0;if(d>>>0>>0){H=I-d|0;while(1){m=d<<3&16;D=w[(d|1)+f|0]<<(m^16)|(w[d+f|0]<<(m^24)|D);d=d+2|0;H=H-2|0;if(H){continue}break}}g=g+D|0}v[j>>2]=g;v[K+12>>2]=0;Ea:{g=n+I|0;if(g>>>0>31457280){break Ea}d=v[R>>2];if(d>>>0>>0){p=Cc(o,1,d,g,p,K+12|0);if(v[K+12>>2]){break Ea}v[R>>2]=g}gc(n+p|0,f,I);if(v[K+12>>2]){break Ea}v[i+40>>2]=p;v[i+36>>2]=g;break Ba}if(v[K+8>>2]){break Ba}}v[K+8>>2]=8}if(f){Ub[v[o+8>>2]](o,f)}Qb=K+16|0;if(v[K+8>>2]){break ba}f=v[ea>>2];d=v[i+36>>2];v[f+8>>2]=d-v[f+28>>2];v[i+8>>2]=d;break $}v[i+4>>2]=v[i>>2];r=d;break Z}C=ca;if(!(j&255)){k=0;m=Qb-16|0;Qb=m;d=8;Fa:{if(!U){break Fa}Ga:{while(1){l=v[(k<<2)+s>>2];if(v[l+4>>2]==1835104368){break Ga}k=k+1|0;if((U|0)!=(k|0)){continue}break}l=0}k=0;while(1){f=v[(k<<2)+s>>2];if(v[f+4>>2]!=1751474532){k=k+1|0;if((U|0)!=(k|0)){continue}break Fa}break}if(!l|!v[J+16>>2]){break Fa}d=Yc(q,v[l+20>>2]);if(d){break Fa}d=Bf(q,8);v[m+12>>2]=d;if(d){break Fa}z=Ed(q,m+12|0);d=v[m+12>>2];if(d){break Fa}u[J+4>>1]=z;d=Yc(q,v[f+20>>2]);v[m+12>>2]=d;if(d){break Fa}d=Bf(q,50);v[m+12>>2]=d;if(d){break Fa}f=Ed(q,m+12|0);d=v[m+12>>2];if(d){break Fa}qa=J,ra=Cc(o,2,0,z,0,m+12|0),v[qa+8>>2]=ra;d=v[m+12>>2];if(d){break Fa}d=0;if(!z){break Fa}g=f?4:2;k=v[v[J+16>>2]+20>>2];l=0;if(!f){while(1){d=Yc(q,k);v[m+12>>2]=d;if(d){break Fa}f=Ed(q,m+12|0);d=v[m+12>>2];if(d){break Fa}d=Yc(q,v[v[J+12>>2]+20>>2]+(f<<1)|0);v[m+12>>2]=d;if(d){break Fa}d=Bf(q,2);v[m+12>>2]=d;if(d){break Fa}d=Ed(q,m+12|0);u[v[J+8>>2]+(l<<1)>>1]=d;d=v[m+12>>2];if(d){break Fa}k=g+k|0;d=0;l=l+1|0;if((z|0)!=(l|0)){continue}break Fa}}while(1){d=Yc(q,k);v[m+12>>2]=d;if(d){break Fa}f=kf(q,m+12|0);d=v[m+12>>2];if(d){break Fa}d=Yc(q,f+v[v[J+12>>2]+20>>2]|0);v[m+12>>2]=d;if(d){break Fa}d=Bf(q,2);v[m+12>>2]=d;if(d){break Fa}d=Ed(q,m+12|0);u[v[J+8>>2]+(l<<1)>>1]=d;d=v[m+12>>2];if(d){break Fa}k=g+k|0;d=0;l=l+1|0;if((z|0)!=(l|0)){continue}break}}Qb=m+16|0;if(d){break X}C=x[J+6>>1]}p=x[J+4>>1];d=C&65535;n=v[J+8>>2];k=0;D=0;m=0;F=Qb-16|0;Qb=F;v[F+12>>2]=0;v[F+8>>2]=v[i+12>>2];v[F+4>>2]=v[i+8>>2];f=dg(q,F+12|0);Ha:{Ia:{Ja:{if(v[F+12>>2]|f&252|(!(f&3)|!d)){break Ja}if(p>>>0<=(d-1&65535)>>>0){break Ia}m=Cc(o,2,0,d,0,F+12|0);if(v[F+12>>2]){break Ja}D=Cc(o,2,0,p,0,F+12|0);if(v[F+12>>2]){break Ia}l=f&2;g=f&1;H=0;while(1){f=Ed(q,F+12|0);if(v[F+12>>2]){break Ia}u[(H<<1)+m>>1]=f;H=H+1|0;if((d|0)!=(H|0)){continue}break}Ka:{if(!g){while(1){f=Ed(q,F+12|0);if(v[F+12>>2]){break Ja}u[(k<<1)+D>>1]=f;k=k+1|0;if((d|0)!=(k|0)){continue}break}break Ka}H=d&3;if(d-1>>>0>=3){z=d&65532;while(1){g=k<<1;u[g+D>>1]=x[g+n>>1];f=g|2;u[f+D>>1]=x[f+n>>1];f=g|4;u[f+D>>1]=x[f+n>>1];f=g|6;u[f+D>>1]=x[f+n>>1];k=k+4|0;z=z-4|0;if(z){continue}break}}if(!H){break Ka}while(1){f=k<<1;u[f+D>>1]=x[f+n>>1];k=k+1|0;H=H-1|0;if(H){continue}break}}La:{if(d>>>0>=p>>>0){break La}if(!l){k=d;while(1){f=Ed(q,F+12|0);if(v[F+12>>2]){break Ja}u[(k<<1)+D>>1]=f;k=k+1|0;if((p|0)!=(k|0)){continue}break}break La}z=p+(d^-1)|0;k=p-d&3;Ma:{if(!k){f=d;break Ma}f=d;while(1){g=f<<1;u[g+D>>1]=x[g+n>>1];f=f+1|0;k=k-1|0;if(k){continue}break}}if(z>>>0<3){break La}while(1){k=f<<1;u[k+D>>1]=x[k+n>>1];g=k+2|0;u[g+D>>1]=x[g+n>>1];g=k+4|0;u[g+D>>1]=x[g+n>>1];g=k+6|0;u[g+D>>1]=x[g+n>>1];f=f+4|0;if((p|0)!=(f|0)){continue}break}}H=0;z=d+p<<1;k=Cc(o,1,0,z,0,F+12|0);if(v[F+12>>2]){break Ia}if(p){f=k;while(1){if(d>>>0>H>>>0){g=(H<<1)+m|0;t[f|0]=w[g+1|0];t[f+1|0]=w[g|0];f=f+2|0}g=(H<<1)+D|0;t[f|0]=w[g+1|0];t[f+1|0]=w[g|0];f=f+2|0;H=H+1|0;if((p|0)!=(H|0)){continue}break}}qa=i,ra=zH(k,z),v[qa+4>>2]=ra;if(nZ(F+8|0,R,F+4|0,k,z,o)){break Ia}v[i+12>>2]=v[F+8>>2];v[i+8>>2]=v[F+4>>2];if(m){Ub[v[o+8>>2]](o,m)}if(D){Ub[v[o+8>>2]](o,D)}if(k){Ub[v[o+8>>2]](o,k)}d=v[F+12>>2];break Ha}k=0}if(m){Ub[v[o+8>>2]](o,m)}if(D){Ub[v[o+8>>2]](o,D)}if(k){Ub[v[o+8>>2]](o,k)}d=v[F+12>>2];d=d?d:8}Qb=F+16|0;if(d){break X}f=v[i+12>>2];break Z}k=0}if(v[i+44>>2]){break $}v[i+44>>2]=8;break $}z=0;l=0;k=0}f=v[i+40>>2];v[i+12>>2]=f;d=o;if(A){Ub[v[d+8>>2]](d,A)}if(C){Ub[v[d+8>>2]](d,C)}if(k){Ub[v[d+8>>2]](d,k)}if(l){Ub[v[d+8>>2]](d,l)}if(z){Ub[v[o+8>>2]](o,z)}j=1;if(!v[i+44>>2]){break Z}break X}if((X|0)!=1751474532){break _}if(p>>>0<12){break X}d=k+pa|0;t[d|0]=0;t[d+1|0]=0;t[d+2|0]=0;t[d+3|0]=0}n=e+k|0;C=0;z=0;k=p&-4;if(k){while(1){z=(w[n+(C|3)|0]|(w[n+(C|1)|0]<<16|w[n+C|0]<<24|w[n+(C|2)|0]<<8))+z|0;C=C+4|0;if(C>>>0>>0){continue}break}}d=i;if((k|0)!=(p|0)){C=0;Na:{if(k>>>0>=p>>>0){break Na}l=p&1;if((p|0)!=(k|1)){g=(p&3)-l|0;while(1){m=k<<3&16;C=w[n+(k|1)|0]<<(m^16)|(w[k+n|0]<<(m^24)|C);k=k+2|0;g=g-2|0;if(g){continue}break}}if(!l){break Na}C=w[k+n|0]<<((k<<3^-1)&24)|C}z=z+C|0}v[d+4>>2]=z;v[i+44>>2]=0;g=r+p|0;if(g>>>0>31457280){break X}d=v[R>>2];if(d>>>0>>0){f=Cc(o,1,d,g,f,i+44|0);if(v[i+44>>2]){break X}v[R>>2]=g}gc(f+r|0,n,p);v[i+12>>2]=f;v[i+8>>2]=g;if(v[i+44>>2]){break X}}F=v[i+4>>2];t[E+15|0]=aa;t[E+11|0]=r;t[E+7|0]=F;t[E+3|0]=X;t[E+14|0]=aa>>>8;t[E+13|0]=aa>>>16;t[E+12|0]=aa>>>24;t[E+10|0]=r>>>8;t[E+9|0]=r>>>16;t[E+8|0]=r>>>24;t[E+6|0]=F>>>8;t[E+5|0]=F>>>16;t[E+4|0]=F>>>24;t[E+2|0]=X>>>8;t[E+1|0]=X>>>16;t[E|0]=X>>>24;v[i+44>>2]=0;g=ia+16|0;Oa:{if(g>>>0>31457280){d=f;break Oa}d=v[R>>2];Pa:{if(d>>>0>=g>>>0){d=f;break Pa}d=Cc(o,1,d,g,f,i+44|0);if(v[i+44>>2]){d=f;break Oa}v[R>>2]=g}k=w[E+4|0]|w[E+5|0]<<8|(w[E+6|0]<<16|w[E+7|0]<<24);z=d+ia|0;f=w[E|0]|w[E+1|0]<<8|(w[E+2|0]<<16|w[E+3|0]<<24);t[z|0]=f;t[z+1|0]=f>>>8;t[z+2|0]=f>>>16;t[z+3|0]=f>>>24;t[z+4|0]=k;t[z+5|0]=k>>>8;t[z+6|0]=k>>>16;t[z+7|0]=k>>>24;k=w[E+12|0]|w[E+13|0]<<8|(w[E+14|0]<<16|w[E+15|0]<<24);f=w[E+8|0]|w[E+9|0]<<8|(w[E+10|0]<<16|w[E+11|0]<<24);t[z+8|0]=f;t[z+9|0]=f>>>8;t[z+10|0]=f>>>16;t[z+11|0]=f>>>24;t[z+12|0]=k;t[z+13|0]=k>>>8;t[z+14|0]=k>>>16;t[z+15|0]=k>>>24;v[i+12>>2]=d;ia=g}p=w[E+12|0]|w[E+13|0]<<8|(w[E+14|0]<<16|w[E+15|0]<<24);n=w[E+8|0]|w[E+9|0]<<8|(w[E+10|0]<<16|w[E+11|0]<<24);m=w[E+4|0]|w[E+5|0]<<8|(w[E+6|0]<<16|w[E+7|0]<<24);z=w[E|0]|w[E+1|0]<<8|(w[E+2|0]<<16|w[E+3|0]<<24);g=v[i+8>>2];t[i+42|0]=0;u[i+40>>1]=0;if(g>>>0>4294967292){break X}l=g+3&-4;k=l-g|0;Qa:{if(!k){f=d;l=g;break Qa}v[i+44>>2]=0;if(l>>>0>31457280){break X}f=v[R>>2];Ra:{if(f>>>0>=l>>>0){f=d;break Ra}f=Cc(o,1,f,l,d,i+44|0);if(v[i+44>>2]){break X}v[R>>2]=l}gc(f+g|0,i+40|0,k);if(v[i+44>>2]){break X}}v[i+12>>2]=f;v[i+8>>2]=l;if(r+aa>>>0>l>>>0){break X}ha=F+ha+((((m<<8&16711680|m<<24|(m>>>8&65280|m>>>24))+(z<<8&16711680|z<<24|(z>>>8&65280|z>>>24))|0)+(n<<8&16711680|n<<24|(n>>>8&65280|n>>>24))|0)+(p<<8&16711680|p<<24|(p>>>8&65280|p>>>24)))|0;r=l;da=da+1|0;if((da|0)!=(U|0)){continue}break}if(!U){break Y}C=0;while(1){d=v[(C<<2)+s>>2];if(v[d+4>>2]!=1751474532){C=C+1|0;if((U|0)!=(C|0)){continue}break Y}break}v[J+20>>2]=d;if(y[d+8>>2]<12){break X}g=v[d+28>>2]+f|0;d=-1313820742-ha|0;d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);t[g+8|0]=d;t[g+9|0]=d>>>8;t[g+10|0]=d>>>16;t[g+11|0]=d>>>24;v[h+100>>2]=v[i+8>>2];v[h+12>>2]=f;break U}v[J+20>>2]=0}l=v[i+16>>2]}if(l){break V}v[i+16>>2]=8}v[h+12>>2]=v[i+12>>2]}d=o;if(E){Ub[v[d+8>>2]](d,E)}Sa:{if(!q){break Sa}d=v[q+24>>2];if(!d){break Sa}Ub[d|0](q)}if(q){Ub[v[o+8>>2]](o,q)}C=v[i+16>>2]}Qb=i+48|0;v[h+108>>2]=C;if(C){break C}f=v[h+12>>2];k=v[h+100>>2];d=v[h+8>>2];if(k>>>0>>0){f=Cc(o,1,d,k,f,h+108|0);v[h+12>>2]=f;if(v[h+108>>2]){break C}k=v[h+100>>2]}v[G+32>>2]=0;v[G+8>>2]=0;v[G+4>>2]=k;v[G>>2]=f;v[G+20>>2]=0;v[G+24>>2]=0;a=v[a+28>>2];v[G+24>>2]=1881;v[G+28>>2]=a;T_(v[b+104>>2],v[b+8>>2]>>>10&1);v[b+104>>2]=G;v[b+8>>2]=v[b+8>>2]&-1025;c=ba;break C}v[h+108>>2]=8;e=0;break C}v[h+108>>2]=8}e=0}if(ga){Ub[v[o+8>>2]](o,ga)}if(s){Ub[v[o+8>>2]](o,s)}if(e){Ub[v[o+8>>2]](o,e)}a=v[h+24>>2];if(a){Ub[v[o+8>>2]](o,a)}a=v[h+104>>2];if(a){e=0;if(x[h+96>>1]){while(1){d=v[a+8>>2];if(d){Ub[v[o+8>>2]](o,d)}v[a+8>>2]=0;a=a+12|0;e=e+1|0;if(e>>>0>1]){continue}break}a=v[h+104>>2]}if(a){Ub[v[o+8>>2]](o,a)}v[h+104>>2]=0}if(!v[h+108>>2]){v[h>>2]=0;break b}a=v[h+12>>2];if(a){Ub[v[o+8>>2]](o,a)}if(G){Ta:{if(!G){break Ta}a=v[G+24>>2];if(!a){break Ta}Ub[a|0](G)}if(G){Ub[v[o+8>>2]](o,G)}}e=v[h+108>>2]}v[oa>>2]=e;if(e){break a}}a=v[b+104>>2];G=v[a+8>>2];d=kf(a,h);e=v[h>>2];if(!e){continue}break}}Qb=h+112|0;return e|0}function VOa(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,p=0,q=0,r=0,s=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0;r=Qb-16|0;Qb=r;a:{b:{if(v[a+12>>2]==v[a+8>>2]){break b}c:{if(!c){break c}e=v[b>>2];if(!e){break c}c=0;d=w[e+11|0];i=d<<24>>24<0;d=i?v[e+4>>2]:d;if(!d){break c}i=i?v[e>>2]:e;d:{e:{if((d|0)<=0){break e}while(1){if(y[i+(c<<2)>>2]<256){c=c+1|0;if((d|0)!=(c|0)){continue}break e}break}m=v[i>>2];e=0;f:{if((d|0)>=2){o=d-1|0;while(1){c=1;g:{C=v[B(e,20)+478848>>2];if((m|0)!=v[C>>2]){break g}while(1){g=c<<2;f=v[g+C>>2];if(!f&(c|0)!=(o|0)|(f|0)!=v[g+i>>2]){break g}c=c+1|0;if((d|0)!=(c|0)){continue}break}c=e;break f}e=e+1|0;if((e|0)!=91){continue}break}break c}while(1){if((m|0)==v[v[B(e,20)+478848>>2]>>2]){c=e;break f}c=e|1;if((m|0)==v[v[B(c,20)+478848>>2]>>2]){break f}c=e|2;if((m|0)==v[v[B(c,20)+478848>>2]>>2]){break f}c=e|3;if((c|0)==91){break c}if((m|0)==v[v[B(c,20)+478848>>2]>>2]){break f}e=e+4|0;continue}}d=v[b+20>>2];if(d){d=v[d>>2]==1}else{d=0}e=v[b+16>>2];if(e){d=v[e>>2]==1?d|2:d}h:{i:{j:{k:{switch(d-1|0){case 0:d=479656;if((c|0)==40){break h}d=B(c,20)+478852|0;break h;case 1:d=v[B(c,20)+478860>>2];if((d|0)!=-1){break j}d=479664;if((c|0)==40){break h}d=B(c,20)+478852|0;break h;case 2:break k;default:break i}}d=479664;if((c|0)==40){break h}c=B(c,20);d=v[c+478860>>2];if((d|0)!=-1){break j}d=c+478852|0;break h}c=B(d,68)+480672|0;break d}d=B(c,20)+478852|0}c=v[d>>2];if((c|0)==-1){break c}c=B(c,68)+480672|0;break d}m=v[i>>2];e=v[(m<<2)+469280>>2];if((e|0)==-1){break c}l:{m:{if((d|0)>=2){o=d-1|0;C=(e|0)>426?e:426;while(1){c=1;g=v[B(e,20)+470304>>2];if((m|0)!=t[g|0]){break c}while(1){f=t[c+g|0];if(!(!f&(c|0)!=(o|0)|(f|0)!=v[i+(c<<2)>>2])){c=c+1|0;if((d|0)!=(c|0)){continue}break m}break}c=(e|0)==(C|0);e=e+1|0;if(!c){continue}break}break c}if((m|0)==t[v[B(e,20)+470304>>2]]){break l}break c}if((e|0)==-1){break c}}c=v[b+20>>2];if(c){c=v[c>>2]==1}else{c=0}n:{d=v[b+16>>2];if(d){c=v[d>>2]==1?c|2:c}o:{p:{switch(c-1|0){case 0:d=B(e,20);c=v[d+470312>>2];if((c|0)!=-1){break n}c=v[d+470320>>2];if((c|0)!=-1){break n}d=B(e,20);c=v[d+470308>>2];if((c|0)!=-1){break n}c=d+470316|0;break o;case 1:d=B(e,20);c=v[d+470316>>2];if((c|0)!=-1){break n}c=v[d+470320>>2];if((c|0)!=-1){break n}d=B(e,20);c=v[d+470308>>2];if((c|0)!=-1){break n}c=d+470312|0;break o;case 2:d=B(e,20);c=v[d+470320>>2];if((c|0)!=-1){break n}c=v[d+470316>>2];if((c|0)!=-1){break n}d=B(e,20);c=v[d+470312>>2];if((c|0)!=-1){break n}c=d+470308|0;break o;default:break p}}d=B(e,20);c=v[d+470308>>2];if((c|0)!=-1){break n}c=v[d+470312>>2];if((c|0)!=-1){break n}d=B(e,20);c=v[d+470316>>2];if((c|0)!=-1){break n}c=d+470320|0}c=v[c>>2];if((c|0)==-1){break c}c=B(c,68)+480672|0;break d}c=B(c,68)+480672|0}if(!c){break c}iv(b);e=v[c>>2];i=Bc(e);d=fc(12);v[299999]=0;U(1564,d|0,e|0,i|0);e=v[299999];v[299999]=0;if((e|0)!=1){v[b>>2]=d;d=fc(4);v[d>>2]=w[c+10|0]==1;v[b+24>>2]=d;d=fc(10);v[b+28>>2]=d;e=w[c+19|0]|w[c+20|0]<<8;t[d+8|0]=e;t[d+9|0]=e>>>8;e=w[c+15|0]|w[c+16|0]<<8|(w[c+17|0]<<16|w[c+18|0]<<24);i=w[c+11|0]|w[c+12|0]<<8|(w[c+13|0]<<16|w[c+14|0]<<24);t[d|0]=i;t[d+1|0]=i>>>8;t[d+2|0]=i>>>16;t[d+3|0]=i>>>24;t[d+4|0]=e;t[d+5|0]=e>>>8;t[d+6|0]=e>>>16;t[d+7|0]=e>>>24;d=fc(4);v[d>>2]=v[c+24>>2];v[b+32>>2]=d;d=fc(4);v[d>>2]=v[c+28>>2];v[b+36>>2]=d;d=fc(4);v[d>>2]=v[c+32>>2];v[b+40>>2]=d;d=fc(4);v[d>>2]=v[c+36>>2];v[b+44>>2]=d;d=fc(4);v[d>>2]=v[c+40>>2];v[b+48>>2]=d;d=fc(4);v[d>>2]=v[c+44>>2];v[b+52>>2]=d;d=fc(2);u[d>>1]=x[c+48>>1];v[b+56>>2]=d;d=fc(2);u[d>>1]=x[c+50>>1];v[b+60>>2]=d;d=fc(2);u[d>>1]=x[c+56>>1];v[b+72>>2]=d;d=fc(2);u[d>>1]=x[c+58>>1];v[b+76>>2]=d;d=fc(2);u[d>>1]=x[c+60>>1];v[b+80>>2]=d;d=fc(2);u[d>>1]=x[c+64>>1];v[b+88>>2]=d;d=fc(2);u[d>>1]=x[c+66>>1];v[b+92>>2]=d;break c}a=P()|0;O()|0;dc(d);T(a|0);L()}D=-1;while(1){q:{E=v[a+8>>2];if((E|0)!=v[a+12>>2]){while(1){m=v[E>>2];c=v[b+28>>2];r:{if(!c){o=0;break r}o=0;e=w[m+52|0];d=w[c|0];if(!((e|0)==(d|0)|!d)){e=e-d|0;d=e>>31;o=B(d^d+e,1e3)}e=w[m+53|0];d=w[c+1|0];if(!((e|0)==(d|0)|!d)){e=e-d|0;d=e>>31;o=B(d^d+e,100)+o|0}e=w[m+54|0];d=w[c+2|0];if(!((e|0)==(d|0)|!d)){e=e-d|0;d=e>>31;o=B(d^d+e,100)+o|0}e=w[m+55|0];d=w[c+3|0];if(!((e|0)==(d|0)|!d)){e=e-d|0;d=e>>31;o=B(d^d+e,100)+o|0}e=w[m+56|0];d=w[c+4|0];if(!((e|0)==(d|0)|!d)){e=e-d|0;d=e>>31;o=B(d^d+e,100)+o|0}e=w[m+57|0];d=w[c+5|0];if(!((e|0)==(d|0)|!d)){e=e-d|0;d=e>>31;o=B(d^d+e,100)+o|0}e=w[m+58|0];d=w[c+6|0];if(!((e|0)==(d|0)|!d)){e=e-d|0;d=e>>31;o=B(d^d+e,100)+o|0}e=w[m+59|0];d=w[c+7|0];if(!((e|0)==(d|0)|!d)){e=e-d|0;d=e>>31;o=B(d^d+e,100)+o|0}e=w[m+60|0];d=w[c+8|0];if(!((e|0)==(d|0)|!d)){e=e-d|0;d=e>>31;o=B(d^d+e,100)+o|0}d=w[m+61|0];c=w[c+9|0];if((d|0)==(c|0)|!c){break r}d=d-c|0;c=d>>31;o=B(c^c+d,100)+o|0}G=v[m+80>>2];c=v[b+68>>2];if(c){c=w[c|0]}else{c=3}C=c;c=v[b+24>>2];if(c){d=v[m+48>>2];c=v[c>>2];e=c?d?0:15e3:0;o=(c?e:d?350:e)+o|0}q=v[b+4>>2];l=v[b>>2];s:{if(l){s=ev(m,l);c=v[m+116>>2];i=v[m+112>>2];if(q){if((c|0)!=(i|0)){while(1){d=0;f=w[l+11|0];k=f<<24>>24;n=v[l+4>>2];c=(k|0)<0?n:f;t:{if(!c){break t}d=w[i+11|0];h=d<<24>>24;g=v[i+4>>2];e=(h|0)<0?g:d;if(!e){d=1e4;break t}if((c|0)==(e|0)){d=0;if(!od((k|0)<0?v[l>>2]:l,(h|0)<0?v[i>>2]:i,c)){break t}n=v[l+4>>2];f=w[l+11|0];k=f;d=w[i+11|0];h=d;g=v[i+4>>2]}j=0;c=k<<24>>24<0;p=c?v[l>>2]:l;h=h<<24>>24<0;e=h?v[i>>2]:i;f=c?n:f;q=h?g:d;h=0;d=0;while(1){if((j|0)>=(q|0)){c=d}else{c=v[e>>2];g=c-32|0;j=g>>>0>13|!(1<>>0<26?c+32|0:c}c=(j|0)==(q|0)?0:c;if((f|0)>(h|0)){d=v[p>>2];g=d-32|0;h=g>>>0>13|!(1<>>0<26?d+32|0:d}g=d;d=c;g=(f|0)==(h|0)?0:g;if((d|0)==(g|0)){continue}break}d=v[294062];if(!(g?c:0)){e=1176248;if(!d){d=1e3;break t}while(1){f=w[d+27|0];c=f<<24>>24<0;g=k&255;k=k<<24>>24<0;g=k?n:g;h=c?v[d+20>>2]:f;j=g>>>0>>0;f=j?g:h;u:{if(f){n=d+16|0;f=od(c?v[n>>2]:n,k?v[l>>2]:l,f);if(f){break u}}f=h>>>0>>0?-1:j}e=(f|0)<0?e:d;d=v[(f>>>29&4)+d>>2];if(d){n=v[l+4>>2];k=w[l+11|0];continue}break}if((e|0)==1176248){d=1e3;break t}g=w[e+27|0];c=g<<24>>24<0;f=w[l+11|0];d=f<<24>>24<0;v:{w:{g=c?v[e+20>>2]:g;f=d?v[l+4>>2]:f;h=f>>>0>g>>>0?g:f;if(h){k=d?v[l>>2]:l;d=e+16|0;c=od(k,c?v[d>>2]:d,h);if(c){break w}}if(f>>>0>=g>>>0){break v}d=1e3;break t}if((c|0)>=0){break v}d=1e3;break t}d=v[e+28>>2];c=v[294064];if(d>>>0>=(v[294065]-c|0)/12>>>0){break a}c=c+B(d,12)|0;f=v[c>>2];h=v[c+4>>2];if((f|0)==(h|0)){d=1e3;break t}while(1){d=w[i+11|0];e=d<<24>>24<0;j=w[f+11|0];g=j<<24>>24<0;k=g?v[f+4>>2]:j;j=e?v[i+4>>2]:d;if((k|0)==(j|0)){d=700;if(!j){break t}if(!od(e?v[i>>2]:i,g?v[f>>2]:f,j)){break t}h=v[c+4>>2]}f=f+12|0;if((f|0)!=(h|0)){continue}break}d=1e3;break t}e=1176248;x:{if(!d){break x}while(1){f=w[d+27|0];c=f<<24>>24<0;g=k&255;k=k<<24>>24<0;g=k?n:g;h=c?v[d+20>>2]:f;j=g>>>0>>0;f=j?g:h;y:{if(f){n=d+16|0;f=od(c?v[n>>2]:n,k?v[l>>2]:l,f);if(f){break y}}f=h>>>0>>0?-1:j}e=(f|0)<0?e:d;d=v[(f>>>29&4)+d>>2];if(d){n=v[l+4>>2];k=w[l+11|0];continue}break}if((e|0)==1176248){break x}g=w[e+27|0];c=g<<24>>24<0;f=w[l+11|0];d=f<<24>>24<0;z:{A:{g=c?v[e+20>>2]:g;f=d?v[l+4>>2]:f;h=f>>>0>g>>>0?g:f;if(h){k=d?v[l>>2]:l;d=e+16|0;c=od(k,c?v[d>>2]:d,h);if(c){break A}}if(f>>>0>=g>>>0){break z}break x}if((c|0)<0){break x}}d=v[e+28>>2];c=v[294064];if(d>>>0>=(v[294065]-c|0)/12>>>0){break a}c=c+B(d,12)|0;f=v[c>>2];h=v[c+4>>2];if((f|0)==(h|0)){break x}while(1){d=w[i+11|0];e=d<<24>>24<0;j=w[f+11|0];g=j<<24>>24<0;k=g?v[f+4>>2]:j;j=e?v[i+4>>2]:d;if((k|0)==(j|0)){d=1e3;if(!j){break t}if(!od(e?v[i>>2]:i,g?v[f>>2]:f,j)){break t}h=v[c+4>>2]}f=f+12|0;if((f|0)!=(h|0)){continue}break}}c=w[l+11|0];d=c<<24>>24<0?v[l+4>>2]:c;c=w[i+11|0];d=d|(c<<24>>24<0?v[i+4>>2]:c)?1e4:1500}s=(d|0)<(s|0)?d:s;i=i+12|0;if((i|0)!=v[m+116>>2]){continue}break}}h=v[b+4>>2];l=ev(m,h);i=v[m+112>>2];if((i|0)!=v[m+116>>2]){while(1){c=0;d=w[h+11|0];k=d<<24>>24;n=v[h+4>>2];e=(k|0)<0?n:d;B:{if(!e){break B}c=w[i+11|0];j=c<<24>>24;g=v[i+4>>2];f=(j|0)<0?g:c;if(!f){c=1e4;break B}if((e|0)==(f|0)){c=0;if(!od((k|0)<0?v[h>>2]:h,(j|0)<0?v[i>>2]:i,e)){break B}n=v[h+4>>2];d=w[h+11|0];k=d;c=w[i+11|0];j=c;g=v[i+4>>2]}f=0;q=k<<24>>24<0;p=q?v[h>>2]:h;j=j<<24>>24<0;e=j?v[i>>2]:i;q=q?n:d;z=j?g:c;j=0;c=0;while(1){if((f|0)>=(z|0)){d=c}else{d=v[e>>2];g=d-32|0;f=g>>>0>13|!(1<>>0<26?d+32|0:d}d=(f|0)==(z|0)?0:d;if((j|0)<(q|0)){c=v[p>>2];g=c-32|0;j=g>>>0>13|!(1<>>0<26?c+32|0:c}g=c;c=d;g=(j|0)==(q|0)?0:g;if((d|0)==(g|0)){continue}break}c=v[294062];if(!(g?d:0)){e=1176248;if(!c){c=1e3;break B}while(1){f=w[c+27|0];d=f<<24>>24<0;g=k&255;k=k<<24>>24<0;g=k?n:g;f=d?v[c+20>>2]:f;j=g>>>0>>0;n=j?g:f;C:{if(n){p=c+16|0;d=od(d?v[p>>2]:p,k?v[h>>2]:h,n);if(d){break C}}d=f>>>0>>0?-1:j}e=(d|0)<0?e:c;c=v[(d>>>29&4)+c>>2];if(c){n=v[h+4>>2];k=w[h+11|0];continue}break}if((e|0)==1176248){c=1e3;break B}g=w[e+27|0];c=g<<24>>24<0;f=w[h+11|0];d=f<<24>>24<0;D:{E:{g=c?v[e+20>>2]:g;f=d?v[h+4>>2]:f;j=f>>>0>g>>>0?g:f;if(j){k=d?v[h>>2]:h;d=e+16|0;c=od(k,c?v[d>>2]:d,j);if(c){break E}}if(f>>>0>=g>>>0){break D}c=1e3;break B}if((c|0)>=0){break D}c=1e3;break B}d=v[e+28>>2];c=v[294064];if(d>>>0>=(v[294065]-c|0)/12>>>0){break a}e=c+B(d,12)|0;d=v[e>>2];j=v[e+4>>2];if((d|0)==(j|0)){c=1e3;break B}while(1){c=w[i+11|0];g=c<<24>>24<0;k=w[d+11|0];f=k<<24>>24<0;z=f?v[d+4>>2]:k;k=g?v[i+4>>2]:c;if((z|0)==(k|0)){c=700;if(!k){break B}if(!od(g?v[i>>2]:i,f?v[d>>2]:d,k)){break B}j=v[e+4>>2]}d=d+12|0;if((j|0)!=(d|0)){continue}break}c=1e3;break B}e=1176248;F:{if(!c){break F}while(1){f=w[c+27|0];d=f<<24>>24<0;g=k&255;k=k<<24>>24<0;g=k?n:g;f=d?v[c+20>>2]:f;j=g>>>0>>0;n=j?g:f;G:{if(n){p=c+16|0;d=od(d?v[p>>2]:p,k?v[h>>2]:h,n);if(d){break G}}d=f>>>0>>0?-1:j}e=(d|0)<0?e:c;c=v[(d>>>29&4)+c>>2];if(c){n=v[h+4>>2];k=w[h+11|0];continue}break}if((e|0)==1176248){break F}g=w[e+27|0];c=g<<24>>24<0;f=w[h+11|0];d=f<<24>>24<0;H:{I:{g=c?v[e+20>>2]:g;f=d?v[h+4>>2]:f;j=f>>>0>g>>>0?g:f;if(j){k=d?v[h>>2]:h;d=e+16|0;c=od(k,c?v[d>>2]:d,j);if(c){break I}}if(f>>>0>=g>>>0){break H}break F}if((c|0)<0){break F}}d=v[e+28>>2];c=v[294064];if(d>>>0>=(v[294065]-c|0)/12>>>0){break a}e=c+B(d,12)|0;d=v[e>>2];j=v[e+4>>2];if((d|0)==(j|0)){break F}while(1){c=w[i+11|0];g=c<<24>>24<0;k=w[d+11|0];f=k<<24>>24<0;z=f?v[d+4>>2]:k;k=g?v[i+4>>2]:c;if((z|0)==(k|0)){c=1e3;if(!k){break B}if(!od(g?v[i>>2]:i,f?v[d>>2]:d,k)){break B}j=v[e+4>>2]}d=d+12|0;if((j|0)!=(d|0)){continue}break}}c=w[h+11|0];d=c<<24>>24<0?v[h+4>>2]:c;c=w[i+11|0];c=d|(c<<24>>24<0?v[i+4>>2]:c)?1e4:1500}l=(c|0)<(l|0)?c:l;i=i+12|0;if((i|0)!=v[m+116>>2]){continue}break}}J:{if((l|0)>(s|0)){h=v[b>>2];s=ev(m,h);i=v[m+112>>2];if((i|0)==v[m+116>>2]){break J}while(1){c=0;d=w[h+11|0];k=d<<24>>24;n=v[h+4>>2];e=(k|0)<0?n:d;K:{if(!e){break K}c=w[i+11|0];j=c<<24>>24;g=v[i+4>>2];f=(j|0)<0?g:c;if(!f){c=1e4;break K}if((e|0)==(f|0)){c=0;if(!od((k|0)<0?v[h>>2]:h,(j|0)<0?v[i>>2]:i,e)){break K}n=v[h+4>>2];d=w[h+11|0];k=d;c=w[i+11|0];j=c;g=v[i+4>>2]}f=0;l=k<<24>>24<0;p=l?v[h>>2]:h;j=j<<24>>24<0;e=j?v[i>>2]:i;l=l?n:d;q=j?g:c;j=0;c=0;while(1){if((f|0)>=(q|0)){d=c}else{d=v[e>>2];g=d-32|0;f=g>>>0>13|!(1<>>0<26?d+32|0:d}d=(f|0)==(q|0)?0:d;if((j|0)<(l|0)){c=v[p>>2];g=c-32|0;j=g>>>0>13|!(1<>>0<26?c+32|0:c}g=c;c=d;g=(j|0)==(l|0)?0:g;if((d|0)==(g|0)){continue}break}c=v[294062];if(!(g?d:0)){e=1176248;if(!c){c=1e3;break K}while(1){f=w[c+27|0];d=f<<24>>24<0;g=k&255;k=k<<24>>24<0;g=k?n:g;f=d?v[c+20>>2]:f;j=g>>>0>>0;l=j?g:f;L:{if(l){n=c+16|0;d=od(d?v[n>>2]:n,k?v[h>>2]:h,l);if(d){break L}}d=f>>>0>>0?-1:j}e=(d|0)<0?e:c;c=v[(d>>>29&4)+c>>2];if(c){n=v[h+4>>2];k=w[h+11|0];continue}break}if((e|0)==1176248){c=1e3;break K}g=w[e+27|0];c=g<<24>>24<0;f=w[h+11|0];d=f<<24>>24<0;M:{N:{g=c?v[e+20>>2]:g;f=d?v[h+4>>2]:f;j=f>>>0>g>>>0?g:f;if(j){k=d?v[h>>2]:h;d=e+16|0;c=od(k,c?v[d>>2]:d,j);if(c){break N}}if(f>>>0>=g>>>0){break M}c=1e3;break K}if((c|0)>=0){break M}c=1e3;break K}d=v[e+28>>2];c=v[294064];if(d>>>0>=(v[294065]-c|0)/12>>>0){break a}e=c+B(d,12)|0;d=v[e>>2];j=v[e+4>>2];if((d|0)==(j|0)){c=1e3;break K}while(1){c=w[i+11|0];g=c<<24>>24<0;k=w[d+11|0];f=k<<24>>24<0;z=f?v[d+4>>2]:k;k=g?v[i+4>>2]:c;if((z|0)==(k|0)){c=700;if(!k){break K}if(!od(g?v[i>>2]:i,f?v[d>>2]:d,k)){break K}j=v[e+4>>2]}d=d+12|0;if((j|0)!=(d|0)){continue}break}c=1e3;break K}e=1176248;O:{if(!c){break O}while(1){f=w[c+27|0];d=f<<24>>24<0;g=k&255;k=k<<24>>24<0;g=k?n:g;f=d?v[c+20>>2]:f;j=g>>>0>>0;l=j?g:f;P:{if(l){n=c+16|0;d=od(d?v[n>>2]:n,k?v[h>>2]:h,l);if(d){break P}}d=f>>>0>>0?-1:j}e=(d|0)<0?e:c;c=v[(d>>>29&4)+c>>2];if(c){n=v[h+4>>2];k=w[h+11|0];continue}break}if((e|0)==1176248){break O}g=w[e+27|0];c=g<<24>>24<0;f=w[h+11|0];d=f<<24>>24<0;Q:{R:{g=c?v[e+20>>2]:g;f=d?v[h+4>>2]:f;j=f>>>0>g>>>0?g:f;if(j){k=d?v[h>>2]:h;d=e+16|0;c=od(k,c?v[d>>2]:d,j);if(c){break R}}if(f>>>0>=g>>>0){break Q}break O}if((c|0)<0){break O}}d=v[e+28>>2];c=v[294064];if(d>>>0>=(v[294065]-c|0)/12>>>0){break a}e=c+B(d,12)|0;d=v[e>>2];j=v[e+4>>2];if((d|0)==(j|0)){break O}while(1){c=w[i+11|0];g=c<<24>>24<0;k=w[d+11|0];f=k<<24>>24<0;z=f?v[d+4>>2]:k;k=g?v[i+4>>2]:c;if((z|0)==(k|0)){c=1e3;if(!k){break K}if(!od(g?v[i>>2]:i,f?v[d>>2]:d,k)){break K}j=v[e+4>>2]}d=d+12|0;if((j|0)!=(d|0)){continue}break}}c=w[h+11|0];d=c<<24>>24<0?v[h+4>>2]:c;c=w[i+11|0];c=d|(c<<24>>24<0?v[i+4>>2]:c)?1e4:1500}s=(c|0)<(s|0)?c:s;i=i+12|0;if((i|0)!=v[m+116>>2]){continue}break}break J}h=v[b+4>>2];s=ev(m,h);i=v[m+112>>2];if((i|0)==v[m+116>>2]){break J}while(1){c=0;d=w[h+11|0];k=d<<24>>24;n=v[h+4>>2];e=(k|0)<0?n:d;S:{if(!e){break S}c=w[i+11|0];j=c<<24>>24;g=v[i+4>>2];f=(j|0)<0?g:c;if(!f){c=1e4;break S}if((e|0)==(f|0)){c=0;if(!od((k|0)<0?v[h>>2]:h,(j|0)<0?v[i>>2]:i,e)){break S}n=v[h+4>>2];d=w[h+11|0];k=d;c=w[i+11|0];j=c;g=v[i+4>>2]}f=0;l=k<<24>>24<0;p=l?v[h>>2]:h;j=j<<24>>24<0;e=j?v[i>>2]:i;l=l?n:d;q=j?g:c;j=0;c=0;while(1){if((f|0)>=(q|0)){d=c}else{d=v[e>>2];g=d-32|0;f=g>>>0>13|!(1<>>0<26?d+32|0:d}d=(f|0)==(q|0)?0:d;if((j|0)<(l|0)){c=v[p>>2];g=c-32|0;j=g>>>0>13|!(1<>>0<26?c+32|0:c}g=c;c=d;g=(j|0)==(l|0)?0:g;if((d|0)==(g|0)){continue}break}c=v[294062];if(!(g?d:0)){e=1176248;if(!c){c=1e3;break S}while(1){f=w[c+27|0];d=f<<24>>24<0;g=k&255;k=k<<24>>24<0;g=k?n:g;f=d?v[c+20>>2]:f;j=g>>>0>>0;l=j?g:f;T:{if(l){n=c+16|0;d=od(d?v[n>>2]:n,k?v[h>>2]:h,l);if(d){break T}}d=f>>>0>>0?-1:j}e=(d|0)<0?e:c;c=v[(d>>>29&4)+c>>2];if(c){n=v[h+4>>2];k=w[h+11|0];continue}break}if((e|0)==1176248){c=1e3;break S}g=w[e+27|0];c=g<<24>>24<0;f=w[h+11|0];d=f<<24>>24<0;U:{V:{g=c?v[e+20>>2]:g;f=d?v[h+4>>2]:f;j=f>>>0>g>>>0?g:f;if(j){k=d?v[h>>2]:h;d=e+16|0;c=od(k,c?v[d>>2]:d,j);if(c){break V}}if(f>>>0>=g>>>0){break U}c=1e3;break S}if((c|0)>=0){break U}c=1e3;break S}d=v[e+28>>2];c=v[294064];if(d>>>0>=(v[294065]-c|0)/12>>>0){break a}e=c+B(d,12)|0;d=v[e>>2];j=v[e+4>>2];if((d|0)==(j|0)){c=1e3;break S}while(1){c=w[i+11|0];g=c<<24>>24<0;k=w[d+11|0];f=k<<24>>24<0;z=f?v[d+4>>2]:k;k=g?v[i+4>>2]:c;if((z|0)==(k|0)){c=700;if(!k){break S}if(!od(g?v[i>>2]:i,f?v[d>>2]:d,k)){break S}j=v[e+4>>2]}d=d+12|0;if((j|0)!=(d|0)){continue}break}c=1e3;break S}e=1176248;W:{if(!c){break W}while(1){f=w[c+27|0];d=f<<24>>24<0;g=k&255;k=k<<24>>24<0;g=k?n:g;f=d?v[c+20>>2]:f;j=g>>>0>>0;l=j?g:f;X:{if(l){n=c+16|0;d=od(d?v[n>>2]:n,k?v[h>>2]:h,l);if(d){break X}}d=f>>>0>>0?-1:j}e=(d|0)<0?e:c;c=v[(d>>>29&4)+c>>2];if(c){n=v[h+4>>2];k=w[h+11|0];continue}break}if((e|0)==1176248){break W}g=w[e+27|0];c=g<<24>>24<0;f=w[h+11|0];d=f<<24>>24<0;Y:{Z:{g=c?v[e+20>>2]:g;f=d?v[h+4>>2]:f;j=f>>>0>g>>>0?g:f;if(j){k=d?v[h>>2]:h;d=e+16|0;c=od(k,c?v[d>>2]:d,j);if(c){break Z}}if(f>>>0>=g>>>0){break Y}break W}if((c|0)<0){break W}}d=v[e+28>>2];c=v[294064];if(d>>>0>=(v[294065]-c|0)/12>>>0){break a}e=c+B(d,12)|0;d=v[e>>2];j=v[e+4>>2];if((d|0)==(j|0)){break W}while(1){c=w[i+11|0];g=c<<24>>24<0;k=w[d+11|0];f=k<<24>>24<0;z=f?v[d+4>>2]:k;k=g?v[i+4>>2]:c;if((z|0)==(k|0)){c=1e3;if(!k){break S}if(!od(g?v[i>>2]:i,f?v[d>>2]:d,k)){break S}j=v[e+4>>2]}d=d+12|0;if((j|0)!=(d|0)){continue}break}}c=w[h+11|0];d=c<<24>>24<0?v[h+4>>2]:c;c=w[i+11|0];c=d|(c<<24>>24<0?v[i+4>>2]:c)?1e4:1500}s=(c|0)<(s|0)?c:s;i=i+12|0;if((i|0)!=v[m+116>>2]){continue}break}}o=o+s|0;break s}if((c|0)!=(i|0)){while(1){d=0;f=w[l+11|0];k=f<<24>>24;n=v[l+4>>2];c=(k|0)<0?n:f;_:{if(!c){break _}d=w[i+11|0];h=d<<24>>24;g=v[i+4>>2];e=(h|0)<0?g:d;if(!e){d=1e4;break _}if((c|0)==(e|0)){d=0;if(!od((k|0)<0?v[l>>2]:l,(h|0)<0?v[i>>2]:i,c)){break _}n=v[l+4>>2];f=w[l+11|0];k=f;d=w[i+11|0];h=d;g=v[i+4>>2]}j=0;c=k<<24>>24<0;p=c?v[l>>2]:l;h=h<<24>>24<0;e=h?v[i>>2]:i;f=c?n:f;q=h?g:d;h=0;d=0;while(1){if((j|0)>=(q|0)){c=d}else{c=v[e>>2];g=c-32|0;j=g>>>0>13|!(1<>>0<26?c+32|0:c}c=(j|0)==(q|0)?0:c;if((f|0)>(h|0)){d=v[p>>2];g=d-32|0;h=g>>>0>13|!(1<>>0<26?d+32|0:d}g=d;d=c;g=(f|0)==(h|0)?0:g;if((d|0)==(g|0)){continue}break}d=v[294062];if(!(g?c:0)){e=1176248;if(!d){d=1e3;break _}while(1){f=w[d+27|0];c=f<<24>>24<0;g=k&255;k=k<<24>>24<0;g=k?n:g;h=c?v[d+20>>2]:f;j=g>>>0>>0;f=j?g:h;$:{if(f){n=d+16|0;f=od(c?v[n>>2]:n,k?v[l>>2]:l,f);if(f){break $}}f=h>>>0>>0?-1:j}e=(f|0)<0?e:d;d=v[(f>>>29&4)+d>>2];if(d){n=v[l+4>>2];k=w[l+11|0];continue}break}if((e|0)==1176248){d=1e3;break _}g=w[e+27|0];c=g<<24>>24<0;f=w[l+11|0];d=f<<24>>24<0;aa:{ba:{g=c?v[e+20>>2]:g;f=d?v[l+4>>2]:f;h=f>>>0>g>>>0?g:f;if(h){k=d?v[l>>2]:l;d=e+16|0;c=od(k,c?v[d>>2]:d,h);if(c){break ba}}if(f>>>0>=g>>>0){break aa}d=1e3;break _}if((c|0)>=0){break aa}d=1e3;break _}d=v[e+28>>2];c=v[294064];if(d>>>0>=(v[294065]-c|0)/12>>>0){break a}c=c+B(d,12)|0;f=v[c>>2];h=v[c+4>>2];if((f|0)==(h|0)){d=1e3;break _}while(1){d=w[i+11|0];e=d<<24>>24<0;j=w[f+11|0];g=j<<24>>24<0;k=g?v[f+4>>2]:j;j=e?v[i+4>>2]:d;if((k|0)==(j|0)){d=700;if(!j){break _}if(!od(e?v[i>>2]:i,g?v[f>>2]:f,j)){break _}h=v[c+4>>2]}f=f+12|0;if((f|0)!=(h|0)){continue}break}d=1e3;break _}e=1176248;ca:{if(!d){break ca}while(1){f=w[d+27|0];c=f<<24>>24<0;g=k&255;k=k<<24>>24<0;g=k?n:g;h=c?v[d+20>>2]:f;j=g>>>0>>0;f=j?g:h;da:{if(f){n=d+16|0;f=od(c?v[n>>2]:n,k?v[l>>2]:l,f);if(f){break da}}f=h>>>0>>0?-1:j}e=(f|0)<0?e:d;d=v[(f>>>29&4)+d>>2];if(d){n=v[l+4>>2];k=w[l+11|0];continue}break}if((e|0)==1176248){break ca}g=w[e+27|0];c=g<<24>>24<0;f=w[l+11|0];d=f<<24>>24<0;ea:{fa:{g=c?v[e+20>>2]:g;f=d?v[l+4>>2]:f;h=f>>>0>g>>>0?g:f;if(h){k=d?v[l>>2]:l;d=e+16|0;c=od(k,c?v[d>>2]:d,h);if(c){break fa}}if(f>>>0>=g>>>0){break ea}break ca}if((c|0)<0){break ca}}d=v[e+28>>2];c=v[294064];if(d>>>0>=(v[294065]-c|0)/12>>>0){break a}c=c+B(d,12)|0;f=v[c>>2];h=v[c+4>>2];if((f|0)==(h|0)){break ca}while(1){d=w[i+11|0];e=d<<24>>24<0;j=w[f+11|0];g=j<<24>>24<0;k=g?v[f+4>>2]:j;j=e?v[i+4>>2]:d;if((k|0)==(j|0)){d=1e3;if(!j){break _}if(!od(e?v[i>>2]:i,g?v[f>>2]:f,j)){break _}h=v[c+4>>2]}f=f+12|0;if((f|0)!=(h|0)){continue}break}}c=w[l+11|0];d=c<<24>>24<0?v[l+4>>2]:c;c=w[i+11|0];d=d|(c<<24>>24<0?v[i+4>>2]:c)?1e4:1500}s=(d|0)<(s|0)?d:s;i=i+12|0;if((i|0)!=v[m+116>>2]){continue}break}}o=o+s|0;break s}if(!q){break s}n=ev(m,q);p=v[m+112>>2];if((p|0)!=v[m+116>>2]){while(1){d=w[q+11|0];j=d<<24>>24;h=v[q+4>>2];f=(j|0)<0?h:d;i=0;ga:{if(!f){break ga}c=w[p+11|0];e=c<<24>>24;g=v[p+4>>2];k=(e|0)<0?g:c;i=1e4;if(!k){break ga}if((f|0)==(k|0)){i=0;if(!od((j|0)<0?v[q>>2]:q,(e|0)<0?v[p>>2]:p,f)){break ga}h=v[q+4>>2];g=v[p+4>>2];d=w[q+11|0];j=d;c=w[p+11|0];e=c}f=0;j=j<<24>>24<0;i=j?v[q>>2]:q;e=e<<24>>24<0;k=e?v[p>>2]:p;h=j?h:d;g=e?g:c;j=0;c=0;while(1){if((f|0)>=(g|0)){d=c}else{d=v[k>>2];e=d-32|0;f=e>>>0>13|!(1<>>0<26?d+32|0:d}e=(f|0)==(g|0)?0:d;if((h|0)>(j|0)){c=v[i>>2];d=c-32|0;j=d>>>0>13|!(1<>>0<26?c+32|0:c}d=c;c=e;d=(h|0)==(j|0)?0:d;if((c|0)==(d|0)){continue}break}e=RG(p,q);i=e?700:1e3;if(!(d?c:0)){break ga}i=1e3;if(e){break ga}c=w[q+11|0];d=c<<24>>24<0?v[q+4>>2]:c;c=w[p+11|0];i=d|(c<<24>>24<0?v[p+4>>2]:c)?1e4:1500}n=(i|0)<(n|0)?i:n;p=p+12|0;if((p|0)!=v[m+116>>2]){continue}break}}o=o+n|0}c=v[b+60>>2];if(c){d=x[m+90>>1]-x[c>>1]|0;c=d>>31;o=B(c^c+d,50)+o|0}c=v[b+56>>2];if(c){d=x[m+88>>1]-x[c>>1]|0;c=d>>31;o=B((((c^c+d)&65535)>>>0)/10|0,3)+o|0}d=v[m+40>>2];e=v[m+44>>2];c=v[b+16>>2];if(c){c=v[c>>2]}else{c=0}d=((c|0)!=(d|0))+o|0;c=v[b+20>>2];if(c){c=v[c>>2]}else{c=0}j=d+(((c|0)!=(e|0))<<2)|0;c=v[b+8>>2];ha:{if(c){o=u[m+92>>1];ia:{if(t[c+11|0]>=0){v[r+8>>2]=v[c+8>>2];d=v[c+4>>2];v[r>>2]=v[c>>2];v[r+4>>2]=d;break ia}Ke(r,v[c>>2],v[c+4>>2])}i=w[r+11|0];d=i<<24>>24;ja:{ka:{c=v[r+4>>2];la:{if((((d|0)<0?c:i)|0)==3){v[299999]=0;c=ca(2608,r|0,0,-1,467548,3)|0;d=v[299999];v[299999]=0;if((d|0)==1){break ka}if(!c){break la}i=w[r+11|0];d=i;c=v[r+4>>2]}if(((d<<24>>24<0?c:i)|0)==7){i=0;v[299999]=0;c=ca(2608,r|0,0,-1,467564,7)|0;d=v[299999];v[299999]=0;if((d|0)==1){break ka}if(!c){break ja}}i=50;if(o>>>0<256){break ja}c=w[r+11|0];e=c<<24>>24;ma:{na:{d=v[r+4>>2];if((((e|0)<0?d:c)|0)==5){v[299999]=0;c=ca(2608,r|0,0,-1,467596,5)|0;d=v[299999];v[299999]=0;if((d|0)==1){break ka}if(!c){break na}c=w[r+11|0];e=c;d=v[r+4>>2]}if(((e<<24>>24<0?d:c)|0)==5){v[299999]=0;c=ca(2608,r|0,0,-1,467620,5)|0;d=v[299999];v[299999]=0;if((d|0)==1){break ka}if(!c){break na}c=w[r+11|0];e=c;d=v[r+4>>2]}if(((e<<24>>24<0?d:c)|0)!=6){break ma}v[299999]=0;c=ca(2608,r|0,0,-1,467644,6)|0;d=v[299999];v[299999]=0;if((d|0)==1){break ka}if((o|0)<=2303|c){break ma}break ja}if((o|0)>2303){break ja}}c=w[r+11|0];e=c<<24>>24;oa:{d=v[r+4>>2];if((((e|0)<0?d:c)|0)==10){v[299999]=0;c=ca(2608,r|0,0,-1,467672,10)|0;d=v[299999];v[299999]=0;if((d|0)==1){break ka}if(!c){break oa}c=w[r+11|0];e=c;d=v[r+4>>2]}if(((e<<24>>24<0?d:c)|0)!=6){break la}v[299999]=0;c=ca(2608,r|0,0,-1,467716,6)|0;d=v[299999];v[299999]=0;if((d|0)==1){break ka}if((o|0)>=2304|c){break la}break ja}if((o|0)<2304){break ja}}i=0;break ja}W(0)|0;O()|0;lc();L()}j=i+j|0;if(t[r+11|0]>-1){break ha}dc(v[r>>2]);break ha}d=v[b+12>>2];if(!d){break ha}c=0;e=u[d>>1];pa:{if(e>>>0<256){break pa}c=50;d=u[m+92>>1];if((d&65535)>>>0<256){break pa}e=(e|0)>2303;if(!e&(d|0)>2303){break pa}c=e?(d|0)<2304?50:0:0}j=c+j|0}if((C|0)!=3){c=1;f=1;qa:{ra:{sa:{ta:{ua:{va:{wa:{xa:{ya:{za:{Aa:{Ba:{Ca:{Da:{Ea:{Fa:{Ga:{Ha:{d=((C|0)==1?0:C)&255;switch(d-128|0){case 3:case 4:case 5:case 7:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 48:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 59:case 60:case 61:case 62:case 63:case 64:case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 91:case 92:case 93:case 95:case 96:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:case 123:case 124:case 125:case 126:break qa;case 110:break ra;case 127:break sa;case 2:break ua;case 8:break va;case 1:break wa;case 6:break xa;case 0:break ya;case 94:break za;case 35:break Aa;case 58:break Ba;case 50:break Ca;case 49:break Da;case 34:break Ea;case 33:break Fa;case 76:break Ga;default:break Ha}}if((d|0)==2){break ta}if((d|0)!=77){break qa}f=29;break ra}f=2;break ra}f=3;break ra}f=4;break ra}f=5;break ra}f=6;break ra}f=7;break ra}f=8;break ra}f=16;break ra}f=17;break ra}f=18;break ra}f=19;break ra}f=20;break ra}f=21;break ra}f=31;break ra}f=30}d=f&7;if(f-1>>>0>=7){f=f&24;while(1){c=c<<8;f=f-8|0;if(f){continue}break}}if(!d){break qa}while(1){c=c<<1;d=d-1|0;if(d){continue}break}}c=c&G?0:65e3}else{c=0}c=c+j|0;d=v[b+72>>2];if(d){d=u[d>>1];i=u[m+100>>1];Ia:{if(!i){e=4e3;if(d){break Ia}}e=i-d|0;d=e>>31;e=(d^d+e)<<2}c=e+c|0}d=v[b+76>>2];if(d){d=u[d>>1];i=u[m+102>>1];Ja:{if(!i){e=100;if(d){break Ja}}e=i-d|0;d=e>>31;e=(((d^d+e)&65535)>>>0)/10|0}c=e+c|0}d=v[b+80>>2];if(d){d=u[d>>1];i=u[m+104>>1];Ka:{if(!i){e=100;if(d){break Ka}}e=i-d|0;d=e>>31;e=(((d^d+e)&65535)>>>0)/10|0}c=e+c|0}d=v[b+84>>2];if(d){d=u[d>>1];i=u[m+106>>1];La:{if(!i){e=100;if(d){break La}}e=i-d|0;d=e>>31;e=(((d^d+e)&65535)>>>0)/10|0}c=e+c|0}d=v[b+88>>2];if(d){d=u[d>>1];i=u[m+108>>1];Ma:{if(!i){e=50;if(d){break Ma}}e=i-d|0;d=e>>31;e=(((d^d+e)&65535)>>>0)/20|0}c=e+c|0}g=m;k=F;e=v[b+92>>2];if(e){e=u[e>>1];m=u[m+110>>1];Na:{if(!m){d=50;if(e){break Na}}i=m-e|0;e=i>>31;d=(((e^e+i)&65535)>>>0)/20|0}c=d+c|0}d=(D|0)<0|(c|0)<(D|0);F=d?g:k;D=d?c:D;if(c){E=E+4|0;if((E|0)!=v[a+12>>2]){continue}}break}if(!D){break q}}if(A|!v[b>>2]){break q}f=0;e=Qb-16|0;Qb=e;c=v[b>>2];Oa:{if(t[c+11|0]>=0){v[e+8>>2]=v[c+8>>2];d=v[c+4>>2];v[e>>2]=v[c>>2];v[e+4>>2]=d;break Oa}Ke(e,v[c>>2],v[c+4>>2])}c=v[e>>2];i=1;h=w[e+11|0];d=h<<24>>24;o=(d|0)<0;g=v[e+4>>2];m=o?g:h;if((m|0)>=1){c=o?c:e;h=0;if((m|0)!=1){g=m&-2;while(1){d=h<<2;o=d+c|0;A=v[o>>2];if(A-65>>>0<=25){v[o>>2]=A+32}d=c+(d|4)|0;o=v[d>>2];if(o-65>>>0<26){v[d>>2]=o+32}h=h+2|0;g=g-2|0;if(g){continue}break}}Pa:{if(!(m&1)){break Pa}c=c+(h<<2)|0;d=v[c>>2];if(d-65>>>0>25){break Pa}v[c>>2]=d+32}g=v[e+4>>2];h=w[e+11|0];d=h;c=v[e>>2]}Qa:{Ra:{Sa:{Ta:{Ua:{Va:{Wa:{Xa:{Ya:{Za:{d=d<<24>>24<0;h=d?g:h;_a:{if((h|0)<4){break _a}d=d?c:e;m=d+(h<<2)|0;c=d;while(1){o=h-3|0;if(!o){break _a}c=sf(c,98,o);if(!c){break _a}if(od(c,530072,4)){c=c+4|0;o=m-c|0;h=o>>2;if((o|0)>=16){continue}break _a}break}if((c|0)==(m|0)|(c-d|0)==-4){break _a}$a:{while(1){d=w[e+11|0];c=d<<24>>24<0;d=c?v[e+4>>2]:d;if(d>>>0>>0){break $a}k=d<<2;d=c?v[e>>2]:e;i=k+d|0;h=d+(f<<2)|0;c=i-h|0;if((c|0)<16){break $a}while(1){c=sf(h,98,(c>>>2|0)-3|0);if(!c){break $a}if(od(c,530072,4)){h=c+4|0;c=i-h|0;if((c|0)>=16){continue}break $a}break}if((c|0)==(i|0)){break $a}c=c-d|0;if((c|0)==-4){break $a}f=c>>2;c=w[e+11|0];if(f>>>0>(c<<24>>24<0?v[e+4>>2]:c)>>>0){v[299999]=0;R(2665,e|0);a=v[299999];v[299999]=0;if((a|0)==1){break Za}break Ra}v[299999]=0;U(2666,e|0,f|0,4);c=v[299999];v[299999]=0;if((c|0)!=1){continue}break}h=P()|0;O()|0;break Sa}i=0;f=v[b+16>>2];if(f){break _a}v[299999]=0;c=S(1,4)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Za}v[c>>2]=1;v[b+16>>2]=c;f=0}d=w[e+11|0];c=d<<24>>24<0;h=c?v[e+4>>2]:d;ab:{bb:{if((h|0)<6){break bb}d=c?v[e>>2]:e;m=d+(h<<2)|0;c=d;while(1){o=h-5|0;if(!o){break bb}c=sf(c,105,o);if(!c){break bb}if(od(c,530092,6)){c=c+4|0;o=m-c|0;h=o>>2;if((o|0)>=24){continue}break bb}break}if((c|0)==(m|0)){break bb}if((c-d|0)!=-4){break ab}}d=w[e+11|0];c=d<<24>>24<0;h=c?v[e+4>>2]:d;if((h|0)<7){break Wa}d=c?v[e>>2]:e;m=d+(h<<2)|0;c=d;while(1){o=h-6|0;if(!o){break Wa}c=sf(c,111,o);if(!c){break Wa}if(od(c,530120,7)){c=c+4|0;o=m-c|0;h=o>>2;if((o|0)>=28){continue}break Wa}break}if((c|0)==(m|0)|(c-d|0)==-4){break Wa}}h=0;while(1){d=w[e+11|0];c=d<<24>>24<0;d=c?v[e+4>>2]:d;if(d>>>0>>0){break Ya}k=d<<2;d=c?v[e>>2]:e;i=k+d|0;h=d+(h<<2)|0;c=i-h|0;if((c|0)<24){break Ya}while(1){c=sf(h,105,(c>>>2|0)-5|0);if(!c){break Ya}if(od(c,530092,6)){h=c+4|0;c=i-h|0;if((c|0)>23){continue}break Ya}break}if((c|0)==(i|0)){break Ya}c=c-d|0;if((c|0)==-4){break Ya}h=c>>2;c=w[e+11|0];if(h>>>0>(c<<24>>24<0?v[e+4>>2]:c)>>>0){v[299999]=0;R(2665,e|0);a=v[299999];v[299999]=0;if((a|0)!=1){break Ra}break Xa}v[299999]=0;U(2666,e|0,h|0,6);c=v[299999];v[299999]=0;if((c|0)!=1){continue}break}h=P()|0;O()|0;break Sa}h=P()|0;O()|0;break Sa}h=-1;cb:{while(1){d=w[e+11|0];c=d<<24>>24<0;d=c?v[e+4>>2]:d;if(d>>>0>>0){break cb}k=d<<2;d=c?v[e>>2]:e;i=k+d|0;h=d+(h<<2)|0;c=i-h|0;if((c|0)<28){break cb}while(1){c=sf(h,111,(c>>>2|0)-6|0);if(!c){break cb}if(od(c,530120,7)){h=c+4|0;c=i-h|0;if((c|0)>=28){continue}break cb}break}if((c|0)==(i|0)){break cb}c=c-d|0;if((c|0)==-4){break cb}h=c>>2;c=w[e+11|0];if(h>>>0>(c<<24>>24<0?v[e+4>>2]:c)>>>0){v[299999]=0;R(2665,e|0);a=v[299999];v[299999]=0;if((a|0)!=1){break Ra}break Xa}v[299999]=0;U(2666,e|0,h|0,7);c=v[299999];v[299999]=0;if((c|0)!=1){continue}break}h=P()|0;O()|0;break Sa}c=v[b+20>>2];if(c){break Va}c=0;v[299999]=0;d=S(1,4)|0;i=v[299999];v[299999]=0;if((i|0)==1){break Xa}v[d>>2]=1;v[b+20>>2]=d;break Va}h=P()|0;O()|0;break Sa}c=0;d=0;if(i){break Ua}}v[299999]=0;d=S(1,12)|0;i=v[299999];v[299999]=0;db:{if((i|0)!=1){v[d+4>>2]=0;v[d+8>>2]=0;v[d>>2]=v[b>>2];v[299999]=0;i=S(1,12)|0;m=v[299999];v[299999]=0;if((m|0)!=1){break db}}h=P()|0;O()|0;break Sa}eb:{if(t[e+11|0]>=0){m=v[e+4>>2];v[i>>2]=v[e>>2];v[i+4>>2]=m;v[i+8>>2]=v[e+8>>2];break eb}v[299999]=0;U(2345,i|0,v[e>>2],v[e+4>>2]);m=v[299999];v[299999]=0;if((m|0)==1){break Ta}}v[b>>2]=i;v[d+8>>2]=c;v[d+4>>2]=f}if(t[e+11|0]<=-1){dc(v[e>>2])}Qb=e+16|0;break Qa}h=P()|0;O()|0;dc(i)}if(t[e+11|0]<=-1){dc(v[e>>2])}T(h|0);L()}L()}A=d;if(d){continue}break b}break}if(!A){break b}a=v[b>>2];if(a){if(t[a+11|0]<=-1){dc(v[a>>2])}dc(a)}v[b>>2]=v[A>>2];a=v[A+4>>2];d=v[b+16>>2];if((a|0)!=(d|0)){c=b;if(d){dc(d);a=v[A+4>>2]}v[c+16>>2]=a}a=v[A+8>>2];c=v[b+20>>2];if((a|0)!=(c|0)){if(c){dc(c);a=v[A+8>>2]}v[b+20>>2]=a}dc(A)}Qb=r+16|0;return F|0}lw(1176256);L()}function V1(a,b){var 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,u=0,x=0,z=0,A=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;a:{if(!a|!b){break a}l=Ub[v[v[b>>2]+36>>2]](b)|0;c=Ub[v[v[b>>2]+20>>2]](b,4)|0;f=Ub[v[v[b>>2]+20>>2]](b,4)|0;b:{c:{switch(c|0){case 1:c=1;if(Ub[v[v[b>>2]+20>>2]](b,4)|0){break b}c=Ub[v[v[b>>2]+20>>2]](b,4)|0;if(c){break b}c=(Ub[v[v[b>>2]+40>>2]](b)|0)+12|0;break b;case 0:break c;default:break b}}c=Ub[v[v[b>>2]+40>>2]](b)|0;c=c?c+8|0:0}if((f|0)!=1783636e3){break a}if((Ub[v[v[b>>2]+20>>2]](b,4)|0)!=218793738){break a}if(((Ub[v[v[b>>2]+36>>2]](b)|0)-l|0)!=(c|0)){break a}D=Ub[v[v[b>>2]+36>>2]](b)|0;d=Ub[v[v[b>>2]+20>>2]](b,4)|0;f=Ub[v[v[b>>2]+20>>2]](b,4)|0;d:{e:{switch(d|0){case 1:d=1;if(Ub[v[v[b>>2]+20>>2]](b,4)|0){break d}d=Ub[v[v[b>>2]+20>>2]](b,4)|0;if(d){break d}d=(Ub[v[v[b>>2]+40>>2]](b)|0)+12|0;break d;case 0:break e;default:break d}}c=Ub[v[v[b>>2]+40>>2]](b)|0;d=c?c+8|0:0}if((f|0)!=1718909296){break a}M=a,N=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[M+8>>2]=N;f=Ub[v[v[b>>2]+20>>2]](b,4)|0;c=(d-16|0)/4|0;v[a+16>>2]=c;v[a+12>>2]=f;f=c<<2;l=jc(f);if(l){ic(l,0,f)}v[a+20>>2]=l;if((d|0)>=20){while(1){l=Ub[v[v[b>>2]+20>>2]](b,4)|0;f=c-1|0;v[v[a+20>>2]+(f<<2)>>2]=l;l=(c|0)>1;c=f;if(l){continue}break}}if(((Ub[v[v[b>>2]+36>>2]](b)|0)-D|0)!=(d|0)){break a}c=Ub[v[v[b>>2]+36>>2]](b)|0;d=Ub[v[v[b>>2]+20>>2]](b,4)|0;p=Ub[v[v[b>>2]+20>>2]](b,4)|0;f:{g:{switch(d|0){case 1:d=1;if(Ub[v[v[b>>2]+20>>2]](b,4)|0){break f}d=Ub[v[v[b>>2]+20>>2]](b,4)|0;if(d){break f}d=(Ub[v[v[b>>2]+40>>2]](b)|0)+12|0;break f;case 0:break g;default:break f}}f=Ub[v[v[b>>2]+40>>2]](b)|0;d=f?f+8|0:0}l=0;while(1){h:{i:{j:{k:{l:{m:{n:{o:{if((p|0)<=1836019557){if((p|0)==1718773093){break i}if((p|0)!=1835295092){break k}f=Ub[v[v[b>>2]+36>>2]](b)|0;Ub[v[v[b>>2]+36>>2]](b)|0;c=Ub[v[v[b>>2]+20>>2]](b,4)|0;l=Ub[v[v[b>>2]+20>>2]](b,4)|0;switch(c|0){case 0:break n;case 1:break o;default:break m}}switch(p-1836019558|0){case 0:break i;case 16:break j;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break k;default:break l}}c=1;if(Ub[v[v[b>>2]+20>>2]](b,4)|0){break m}c=Ub[v[v[b>>2]+20>>2]](b,4)|0;if(c){break m}c=(Ub[v[v[b>>2]+40>>2]](b)|0)+12|0;break m}c=Ub[v[v[b>>2]+40>>2]](b)|0;c=(c|0)>0?c+8|0:0}while(1){if((l|0)!=1785737827){Ub[v[v[b>>2]+24>>2]](b,c-8|0);p=0;if((Ub[v[v[b>>2]+40>>2]](b)|0)<0){break a}Ub[v[v[b>>2]+36>>2]](b)|0;c=Ub[v[v[b>>2]+20>>2]](b,4)|0;l=Ub[v[v[b>>2]+20>>2]](b,4)|0;p:{q:{switch(c|0){case 1:if(Ub[v[v[b>>2]+20>>2]](b,4)|0){break a}c=Ub[v[v[b>>2]+20>>2]](b,4)|0;if(c){break p}c=(Ub[v[v[b>>2]+40>>2]](b)|0)+12|0;break p;case 0:break q;default:break p}}c=Ub[v[v[b>>2]+40>>2]](b)|0;if((c|0)<1){break a}c=c+8|0}if((l|0)!=1785737827){continue}}break}Ub[v[v[b>>2]+36>>2]](b)|0;p=0;l=_A(v[a+4>>2],b);if(!l){break a}N=b,O=(d+f-Ub[v[v[b>>2]+36>>2]](b)|0)-8|0,M=v[v[b>>2]+24>>2],Ub[M](N|0,O|0);if((Ub[v[v[b>>2]+40>>2]](b)|0)>-1){break h}break a}if((p|0)==1936419184){break i}}Ub[v[v[b>>2]+24>>2]](b,d);p=0;if((Ub[v[v[b>>2]+40>>2]](b)|0)<0){break a}break h}G=l;m=a;p=d;D=c;f=Ub[v[v[b>>2]+36>>2]](b)|0;d=Ub[v[v[b>>2]+20>>2]](b,4)|0;c=Ub[v[v[b>>2]+20>>2]](b,4)|0;r:{s:{switch(d|0){case 1:d=1;if(Ub[v[v[b>>2]+20>>2]](b,4)|0){break r}d=Ub[v[v[b>>2]+20>>2]](b,4)|0;if(d){break r}d=(Ub[v[v[b>>2]+40>>2]](b)|0)+12|0;break r;case 0:break s;default:break r}}a=Ub[v[v[b>>2]+40>>2]](b)|0;d=a?a+8|0:0}t:{u:{v:{if((c|0)!=1836476516){break v}Ub[v[v[b>>2]+20>>2]](b,4)|0;M=m,O=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[M+24>>2]=O;M=m,O=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[M+28>>2]=O;M=m,O=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[M+32>>2]=O;M=m,O=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[M+36>>2]=O;M=m,O=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[M+40>>2]=O;M=m,O=Ub[v[v[b>>2]+20>>2]](b,2)|0,v[M+56>>2]=O;Ub[v[v[b>>2]+24>>2]](b,10);M=m,O=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[M+60>>2]=O;M=m- -64|0,O=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[M>>2]=O;M=m,O=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[M+68>>2]=O;M=m,O=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[M+72>>2]=O;M=m,O=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[M+76>>2]=O;M=m,O=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[M+80>>2]=O;M=m,O=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[M+84>>2]=O;M=m,O=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[M+88>>2]=O;M=m,O=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[M+92>>2]=O;Ub[v[v[b>>2]+24>>2]](b,24);M=m,O=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[M+96>>2]=O;if(((Ub[v[v[b>>2]+36>>2]](b)|0)-f|0)!=(d|0)){break v}a=B(v[m+96>>2],384)-384|0;c=jc(a);if(c){ic(c,0,a)}v[m+100>>2]=c;g=1;if((p|0)<=((Ub[v[v[b>>2]+36>>2]](b)|0)-D|0)){break v}while(1){e=v[m+100>>2]+B(E,384)|0;v[e>>2]=v[m>>2];f=Ub[v[v[b>>2]+36>>2]](b)|0;g=Ub[v[v[b>>2]+20>>2]](b,4)|0;c=Ub[v[v[b>>2]+20>>2]](b,4)|0;w:{x:{switch(g|0){case 1:g=1;if(Ub[v[v[b>>2]+20>>2]](b,4)|0){break w}g=Ub[v[v[b>>2]+20>>2]](b,4)|0;if(g){break w}g=(Ub[v[v[b>>2]+40>>2]](b)|0)+12|0;break w;case 0:break x;default:break w}}a=Ub[v[v[b>>2]+40>>2]](b)|0;g=a?a+8|0:0}y:{z:{A:{if((c|0)!=1836475768){g=0;if((c|0)!=1953653099){break v}Ub[v[v[b>>2]+28>>2]](b,f);H=Ub[v[v[b>>2]+36>>2]](b)|0;x=Ub[v[v[b>>2]+20>>2]](b,4)|0;c=Ub[v[v[b>>2]+20>>2]](b,4)|0;B:{C:{switch(x|0){case 1:x=1;if(Ub[v[v[b>>2]+20>>2]](b,4)|0){break B}x=Ub[v[v[b>>2]+20>>2]](b,4)|0;if(x){break B}x=(Ub[v[v[b>>2]+40>>2]](b)|0)+12|0;break B;case 0:break C;default:break B}}a=Ub[v[v[b>>2]+40>>2]](b)|0;x=a?a+8|0:0}if((c|0)!=1953653099){break v}f=Ub[v[v[b>>2]+36>>2]](b)|0;d=Ub[v[v[b>>2]+20>>2]](b,4)|0;c=Ub[v[v[b>>2]+20>>2]](b,4)|0;D:{E:{switch(d|0){case 1:d=1;if(Ub[v[v[b>>2]+20>>2]](b,4)|0){break D}d=Ub[v[v[b>>2]+20>>2]](b,4)|0;if(d){break D}d=(Ub[v[v[b>>2]+40>>2]](b)|0)+12|0;break D;case 0:break E;default:break D}}a=Ub[v[v[b>>2]+40>>2]](b)|0;d=a?a+8|0:0}if((c|0)!=1953196132){break v}if(Ub[v[v[b>>2]+20>>2]](b,1)|0){break v}if((Ub[v[v[b>>2]+20>>2]](b,3)|0)-1>>>0>3){break v}M=e,O=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[M+12>>2]=O;M=e,O=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[M+16>>2]=O;M=e,O=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[M+4>>2]=O;Ub[v[v[b>>2]+24>>2]](b,4);M=e,O=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[M+20>>2]=O;Ub[v[v[b>>2]+24>>2]](b,8);M=e,O=Ub[v[v[b>>2]+20>>2]](b,2)|0,v[M+28>>2]=O;Ub[v[v[b>>2]+20>>2]](b,2)|0;M=e,O=Ub[v[v[b>>2]+20>>2]](b,2)|0,v[M+32>>2]=O;Ub[v[v[b>>2]+24>>2]](b,2);M=e,O=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[M+204>>2]=O;M=e,O=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[M+208>>2]=O;M=e,O=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[M+212>>2]=O;M=e,O=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[M+216>>2]=O;M=e,O=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[M+220>>2]=O;M=e,O=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[M+224>>2]=O;M=e,O=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[M+228>>2]=O;M=e,O=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[M+232>>2]=O;M=e,O=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[M+236>>2]=O;M=e,O=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[M+112>>2]=O;M=e,O=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[M+116>>2]=O;if(((Ub[v[v[b>>2]+36>>2]](b)|0)-f|0)!=(d|0)){break v}J=Ub[v[v[b>>2]+36>>2]](b)|0;z=Ub[v[v[b>>2]+20>>2]](b,4)|0;c=Ub[v[v[b>>2]+20>>2]](b,4)|0;F:{G:{switch(z|0){case 1:z=1;if(Ub[v[v[b>>2]+20>>2]](b,4)|0){break F}z=Ub[v[v[b>>2]+20>>2]](b,4)|0;if(z){break F}z=(Ub[v[v[b>>2]+40>>2]](b)|0)+12|0;break F;case 0:break G;default:break F}}a=Ub[v[v[b>>2]+40>>2]](b)|0;z=a?a+8|0:0}if((c|0)!=1835297121){break v}c=Ub[v[v[b>>2]+36>>2]](b)|0;d=Ub[v[v[b>>2]+20>>2]](b,4)|0;f=Ub[v[v[b>>2]+20>>2]](b,4)|0;H:{I:{switch(d|0){case 1:d=1;if(Ub[v[v[b>>2]+20>>2]](b,4)|0){break H}d=Ub[v[v[b>>2]+20>>2]](b,4)|0;if(d){break H}d=(Ub[v[v[b>>2]+40>>2]](b)|0)+12|0;break H;case 0:break I;default:break H}}a=Ub[v[v[b>>2]+40>>2]](b)|0;d=a?a+8|0:0}if(!((f|0)!=1835558002&(f|0)!=1835296868)){if(Ub[v[v[b>>2]+20>>2]](b,1)|0){break v}if(Ub[v[v[b>>2]+20>>2]](b,3)|0){break v}M=e,O=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[M+12>>2]=O;M=e,O=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[M+16>>2]=O;M=e,O=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[M+24>>2]=O;M=e,O=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[M+20>>2]=O;M=e,O=Ub[v[v[b>>2]+20>>2]](b,2)|0,v[M+36>>2]=O;Ub[v[v[b>>2]+24>>2]](b,2);if(((Ub[v[v[b>>2]+36>>2]](b)|0)-c|0)!=(d|0)){break v}}f=Ub[v[v[b>>2]+36>>2]](b)|0;a=Ub[v[v[b>>2]+20>>2]](b,4)|0;c=Ub[v[v[b>>2]+20>>2]](b,4)|0;J:{K:{switch(a|0){case 1:a=1;if(Ub[v[v[b>>2]+20>>2]](b,4)|0){break J}a=Ub[v[v[b>>2]+20>>2]](b,4)|0;if(a){break J}a=(Ub[v[v[b>>2]+40>>2]](b)|0)+12|0;break J;case 0:break K;default:break J}}a=Ub[v[v[b>>2]+40>>2]](b)|0;a=a?a+8|0:0}if((c|0)!=1751411826){break v}if(Ub[v[v[b>>2]+20>>2]](b,1)|0){break v}if(Ub[v[v[b>>2]+20>>2]](b,3)|0){break v}Ub[v[v[b>>2]+24>>2]](b,4);M=e,O=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[M+248>>2]=O;Ub[v[v[b>>2]+24>>2]](b,12);d=a-32|0;v[e+252>>2]=d;c=jc(d);if(c){ic(c,0,d)}v[e+284>>2]=c;if((a|0)>=33){while(1){c=Ub[v[v[b>>2]+20>>2]](b,1)|0;t[v[e+284>>2]+g|0]=c;g=g+1|0;if((g|0)>2]){continue}break}}if(((Ub[v[v[b>>2]+36>>2]](b)|0)-f|0)!=(a|0)){break u}K=Ub[v[v[b>>2]+36>>2]](b)|0;A=Ub[v[v[b>>2]+20>>2]](b,4)|0;c=Ub[v[v[b>>2]+20>>2]](b,4)|0;L:{M:{switch(A|0){case 1:A=1;if(Ub[v[v[b>>2]+20>>2]](b,4)|0){break L}A=Ub[v[v[b>>2]+20>>2]](b,4)|0;if(A){break L}A=(Ub[v[v[b>>2]+40>>2]](b)|0)+12|0;break L;case 0:break M;default:break L}}a=Ub[v[v[b>>2]+40>>2]](b)|0;A=a?a+8|0:0}if((c|0)!=1835626086){break u}Ub[v[v[b>>2]+24>>2]](b,4);a=Ub[v[v[b>>2]+20>>2]](b,4)|0;Ub[v[v[b>>2]+24>>2]](b,-8);N:{if((a|0)!=1752000612){if((a|0)!=1936549988){if((a|0)!=1986881636){break u}f=Ub[v[v[b>>2]+36>>2]](b)|0;d=Ub[v[v[b>>2]+20>>2]](b,4)|0;c=Ub[v[v[b>>2]+20>>2]](b,4)|0;O:{P:{switch(d|0){case 1:d=1;if(Ub[v[v[b>>2]+20>>2]](b,4)|0){break O}d=Ub[v[v[b>>2]+20>>2]](b,4)|0;if(d){break O}d=(Ub[v[v[b>>2]+40>>2]](b)|0)+12|0;break O;case 0:break P;default:break O}}a=Ub[v[v[b>>2]+40>>2]](b)|0;d=a?a+8|0:0}if((c|0)!=1986881636){break u}if(Ub[v[v[b>>2]+20>>2]](b,1)|0){break u}if((Ub[v[v[b>>2]+20>>2]](b,3)|0)!=1){break u}g=0;v[e+8>>2]=0;M=e,O=Ub[v[v[b>>2]+20>>2]](b,2)|0,v[M+64>>2]=O;M=e,O=Ub[v[v[b>>2]+20>>2]](b,2)|0,v[M+68>>2]=O;M=e,O=Ub[v[v[b>>2]+20>>2]](b,2)|0,v[M+72>>2]=O;M=e,O=Ub[v[v[b>>2]+20>>2]](b,2)|0,v[M+76>>2]=O;if(((Ub[v[v[b>>2]+36>>2]](b)|0)-f|0)==(d|0)){break N}break v}f=Ub[v[v[b>>2]+36>>2]](b)|0;d=Ub[v[v[b>>2]+20>>2]](b,4)|0;c=Ub[v[v[b>>2]+20>>2]](b,4)|0;Q:{R:{switch(d|0){case 1:d=1;if(Ub[v[v[b>>2]+20>>2]](b,4)|0){break Q}d=Ub[v[v[b>>2]+20>>2]](b,4)|0;if(d){break Q}d=(Ub[v[v[b>>2]+40>>2]](b)|0)+12|0;break Q;case 0:break R;default:break Q}}a=Ub[v[v[b>>2]+40>>2]](b)|0;d=a?a+8|0:0}if((c|0)!=1936549988){break u}if(Ub[v[v[b>>2]+20>>2]](b,1)|0){break u}if(Ub[v[v[b>>2]+20>>2]](b,3)|0){break u}v[e+8>>2]=1;g=0;a=Ub[v[v[b>>2]+20>>2]](b,2)|0;v[e+184>>2]=0;v[e+40>>2]=a;v[e+268>>2]=0;v[e+88>>2]=0;v[e+80>>2]=0;v[e+276>>2]=0;v[e+260>>2]=0;v[e+240>>2]=0;Ub[v[v[b>>2]+24>>2]](b,2);if(((Ub[v[v[b>>2]+36>>2]](b)|0)-f|0)==(d|0)){break N}break v}f=Ub[v[v[b>>2]+36>>2]](b)|0;d=Ub[v[v[b>>2]+20>>2]](b,4)|0;c=Ub[v[v[b>>2]+20>>2]](b,4)|0;S:{T:{switch(d|0){case 1:d=1;if(Ub[v[v[b>>2]+20>>2]](b,4)|0){break S}d=Ub[v[v[b>>2]+20>>2]](b,4)|0;if(d){break S}d=(Ub[v[v[b>>2]+40>>2]](b)|0)+12|0;break S;case 0:break T;default:break S}}a=Ub[v[v[b>>2]+40>>2]](b)|0;d=a?a+8|0:0}if((c|0)!=1752000612){break u}if(Ub[v[v[b>>2]+20>>2]](b,1)|0){break u}if(Ub[v[v[b>>2]+20>>2]](b,3)|0){break u}v[e+8>>2]=2;M=e,O=Ub[v[v[b>>2]+20>>2]](b,2)|0,v[M+44>>2]=O;M=e,O=Ub[v[v[b>>2]+20>>2]](b,2)|0,v[M+48>>2]=O;M=e,O=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[M+52>>2]=O;M=e,O=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[M+56>>2]=O;g=0;a=Ub[v[v[b>>2]+20>>2]](b,4)|0;v[e+184>>2]=0;v[e+60>>2]=a;v[e+268>>2]=0;v[e+88>>2]=0;v[e+80>>2]=0;v[e+276>>2]=0;v[e+260>>2]=0;v[e+240>>2]=0;if(((Ub[v[v[b>>2]+36>>2]](b)|0)-f|0)!=(d|0)){break v}}n=Ub[v[v[b>>2]+36>>2]](b)|0;d=Ub[v[v[b>>2]+20>>2]](b,4)|0;c=Ub[v[v[b>>2]+20>>2]](b,4)|0;U:{V:{switch(d|0){case 1:d=1;if(Ub[v[v[b>>2]+20>>2]](b,4)|0){break U}d=Ub[v[v[b>>2]+20>>2]](b,4)|0;if(d){break U}d=(Ub[v[v[b>>2]+40>>2]](b)|0)+12|0;break U;case 0:break V;default:break U}}a=Ub[v[v[b>>2]+40>>2]](b)|0;d=a?a+8|0:0}if((c|0)!=1684631142){break u}q=Ub[v[v[b>>2]+36>>2]](b)|0;h=Ub[v[v[b>>2]+20>>2]](b,4)|0;c=Ub[v[v[b>>2]+20>>2]](b,4)|0;W:{X:{switch(h|0){case 1:h=1;if(Ub[v[v[b>>2]+20>>2]](b,4)|0){break W}h=Ub[v[v[b>>2]+20>>2]](b,4)|0;if(h){break W}h=(Ub[v[v[b>>2]+40>>2]](b)|0)+12|0;break W;case 0:break X;default:break W}}a=Ub[v[v[b>>2]+40>>2]](b)|0;h=a?a+8|0:0}if((c|0)!=1685218662){break u}if(Ub[v[v[b>>2]+20>>2]](b,1)|0){break u}Y:{if(Ub[v[v[b>>2]+20>>2]](b,3)|0){break Y}r=Ub[v[v[b>>2]+20>>2]](b,4)|0;v[e+88>>2]=0;v[e+80>>2]=0;if((r|0)>=1){i=0;while(1){Ub[v[v[b>>2]+24>>2]](b,4);a=Ub[v[v[b>>2]+20>>2]](b,4)|0;Z:{if((a|0)!=1970433568){if((a|0)!=1970433056){break v}Ub[v[v[b>>2]+24>>2]](b,-8);j=v[e+80>>2]+1|0;v[e+80>>2]=j;f=Ub[v[v[b>>2]+36>>2]](b)|0;a=Ub[v[v[b>>2]+20>>2]](b,4)|0;c=Ub[v[v[b>>2]+20>>2]](b,4)|0;_:{$:{switch(a|0){case 1:a=1;if(Ub[v[v[b>>2]+20>>2]](b,4)|0){break _}a=Ub[v[v[b>>2]+20>>2]](b,4)|0;if(a){break _}a=(Ub[v[v[b>>2]+40>>2]](b)|0)+12|0;break _;case 0:break $;default:break _}}a=Ub[v[v[b>>2]+40>>2]](b)|0;a=a?a+8|0:0}if((c|0)!=1970433056){break v}if(Ub[v[v[b>>2]+20>>2]](b,1)|0){break v}aa:{if((Ub[v[v[b>>2]+20>>2]](b,3)|0)!=1){c=Ub[v[v[b>>2]+20>>2]](b,4)|0;j=j<<4;v[j+v[e+84>>2]>>2]=c;c=Ub[v[v[b>>2]+20>>2]](b,4)|0;v[(j+v[e+84>>2]|0)+4>>2]=c;c=Ub[v[v[b>>2]+20>>2]](b,4)|0;v[(j+v[e+84>>2]|0)+8>>2]=c;c=Ub[v[v[b>>2]+20>>2]](b,4)|0;v[(j+v[e+84>>2]|0)+12>>2]=c;break aa}v[e+80>>2]=v[e+80>>2]-1}if(((Ub[v[v[b>>2]+36>>2]](b)|0)-f|0)==(a|0)){break Z}break v}Ub[v[v[b>>2]+24>>2]](b,-8);j=v[e+88>>2]+1|0;v[e+88>>2]=j;f=Ub[v[v[b>>2]+36>>2]](b)|0;a=Ub[v[v[b>>2]+20>>2]](b,4)|0;c=Ub[v[v[b>>2]+20>>2]](b,4)|0;ba:{ca:{switch(a|0){case 1:a=1;if(Ub[v[v[b>>2]+20>>2]](b,4)|0){break ba}a=Ub[v[v[b>>2]+20>>2]](b,4)|0;if(a){break ba}a=(Ub[v[v[b>>2]+40>>2]](b)|0)+12|0;break ba;case 0:break ca;default:break ba}}a=Ub[v[v[b>>2]+40>>2]](b)|0;a=a?a+8|0:0}if((c|0)!=1970433568){break v}if(Ub[v[v[b>>2]+20>>2]](b,1)|0){break v}if((Ub[v[v[b>>2]+20>>2]](b,3)|0)!=1){c=Ub[v[v[b>>2]+20>>2]](b,4)|0;j=j<<5;v[j+v[e+92>>2]>>2]=c;c=Ub[v[v[b>>2]+20>>2]](b,4)|0;v[(j+v[e+92>>2]|0)+4>>2]=c;c=Ub[v[v[b>>2]+20>>2]](b,4)|0;v[(j+v[e+92>>2]|0)+8>>2]=c;c=Ub[v[v[b>>2]+20>>2]](b,4)|0;v[(j+v[e+92>>2]|0)+12>>2]=c;c=Ub[v[v[b>>2]+20>>2]](b,4)|0;v[(j+v[e+92>>2]|0)+16>>2]=c;c=Ub[v[v[b>>2]+20>>2]](b,4)|0;v[(j+v[e+92>>2]|0)+20>>2]=c;c=Ub[v[v[b>>2]+20>>2]](b,4)|0;v[(j+v[e+92>>2]|0)+24>>2]=c;c=Ub[v[v[b>>2]+20>>2]](b,4)|0;v[(j+v[e+92>>2]|0)+28>>2]=c}if(((Ub[v[v[b>>2]+36>>2]](b)|0)-f|0)!=(a|0)){break v}}i=i+1|0;if((r|0)!=(i|0)){continue}break}}if(((Ub[v[v[b>>2]+36>>2]](b)|0)-q|0)==(h|0)){break Y}break u}if(((Ub[v[v[b>>2]+36>>2]](b)|0)-n|0)!=(d|0)){break u}L=Ub[v[v[b>>2]+36>>2]](b)|0;C=Ub[v[v[b>>2]+20>>2]](b,4)|0;c=Ub[v[v[b>>2]+20>>2]](b,4)|0;da:{ea:{switch(C|0){case 1:C=1;if(Ub[v[v[b>>2]+20>>2]](b,4)|0){break da}C=Ub[v[v[b>>2]+20>>2]](b,4)|0;if(C){break da}C=(Ub[v[v[b>>2]+40>>2]](b)|0)+12|0;break da;case 0:break ea;default:break da}}a=Ub[v[v[b>>2]+40>>2]](b)|0;C=a?a+8|0:0}if((c|0)!=1937007212){break u}n=Ub[v[v[b>>2]+36>>2]](b)|0;k=Ub[v[v[b>>2]+20>>2]](b,4)|0;c=Ub[v[v[b>>2]+20>>2]](b,4)|0;fa:{ga:{switch(k|0){case 1:k=1;if(Ub[v[v[b>>2]+20>>2]](b,4)|0){break fa}k=Ub[v[v[b>>2]+20>>2]](b,4)|0;if(k){break fa}k=(Ub[v[v[b>>2]+40>>2]](b)|0)+12|0;break fa;case 0:break ga;default:break fa}}a=Ub[v[v[b>>2]+40>>2]](b)|0;k=a?a+8|0:0}if((c|0)!=1937011556){break u}if(Ub[v[v[b>>2]+20>>2]](b,1)|0){break u}if(Ub[v[v[b>>2]+20>>2]](b,3)|0){break u}o=Ub[v[v[b>>2]+20>>2]](b,4)|0;ha:{ia:{switch(v[e+8>>2]){case 0:if((o|0)<1){break ha}q=e+288|0;h=0;while(1){l=Ub[v[v[b>>2]+36>>2]](b)|0;a=Ub[v[v[b>>2]+20>>2]](b,4)|0;c=Ub[v[v[b>>2]+20>>2]](b,4)|0;ja:{ka:{switch(a|0){case 1:a=1;if(Ub[v[v[b>>2]+20>>2]](b,4)|0){break ja}a=Ub[v[v[b>>2]+20>>2]](b,4)|0;if(a){break ja}a=(Ub[v[v[b>>2]+40>>2]](b)|0)+12|0;break ja;case 0:break ka;default:break ja}}a=Ub[v[v[b>>2]+40>>2]](b)|0;a=a?a+8|0:0}if((c|0)!=1835692082){break v}if(Ub[v[v[b>>2]+20>>2]](b,1)|0){break v}if(Ub[v[v[b>>2]+20>>2]](b,3)|0){break v}Ub[v[v[b>>2]+24>>2]](b,4);Ub[v[v[b>>2]+24>>2]](b,2);Ub[v[v[b>>2]+24>>2]](b,2);Ub[v[v[b>>2]+24>>2]](b,4);Ub[v[v[b>>2]+24>>2]](b,4);Ub[v[v[b>>2]+24>>2]](b,4);M=e,O=Ub[v[v[b>>2]+20>>2]](b,2)|0,v[M+104>>2]=O;M=e,O=Ub[v[v[b>>2]+20>>2]](b,2)|0,v[M+108>>2]=O;M=e,O=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[M+136>>2]=O;M=e,O=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[M+140>>2]=O;Ub[v[v[b>>2]+24>>2]](b,4);Ub[v[v[b>>2]+24>>2]](b,2);M=e,O=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[M+144>>2]=O;M=e,O=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[M+148>>2]=O;M=e,O=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[M+152>>2]=O;M=e,O=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[M+156>>2]=O;M=e,O=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[M+160>>2]=O;M=e,O=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[M+164>>2]=O;M=e,O=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[M+168>>2]=O;M=e,O=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[M+172>>2]=O;M=e,O=Ub[v[v[b>>2]+20>>2]](b,2)|0,v[M+176>>2]=O;Ub[v[v[b>>2]+24>>2]](b,2);t[e+192|0]=0;t[e+180|0]=1;t[e+181|0]=0;t[e+182|0]=1;t[e+183|0]=0;if(!W1(q,b)){break v}c=B(v[e+304>>2],12);f=jc(c);if(f){ic(f,0,c)}v[e+356>>2]=f;c=jc(4);if(c){v[c>>2]=0}v[e+352>>2]=c;v[e+184>>2]=0;t[e+192|0]=0;if(((Ub[v[v[b>>2]+36>>2]](b)|0)-l|0)<(a|0)){while(1){f=Ub[v[v[b>>2]+36>>2]](b)|0;c=Ub[v[v[b>>2]+20>>2]](b,4)|0;d=Ub[v[v[b>>2]+20>>2]](b,4)|0;la:{ma:{switch(c|0){case 1:if(Ub[v[v[b>>2]+20>>2]](b,4)|0){break la}if(Ub[v[v[b>>2]+20>>2]](b,4)|0){break la}break;case 0:break ma;default:break la}}Ub[v[v[b>>2]+40>>2]](b)|0}Ub[v[v[b>>2]+28>>2]](b,f);na:{oa:{pa:{qa:{ra:{sa:{ta:{ua:{va:{wa:{if((d|0)<=1785951585){xa:{switch(d-1785737840|0){case 8:break sa;case 0:break ta;case 1:case 2:case 3:case 4:case 5:case 6:case 7:break v;default:break xa}}if((d|0)!=1718183276){break v}j=Ub[v[v[b>>2]+36>>2]](b)|0;d=Ub[v[v[b>>2]+20>>2]](b,4)|0;f=Ub[v[v[b>>2]+20>>2]](b,4)|0;switch(d|0){case 0:break va;case 1:break wa;default:break ua}}if((d|0)==1785951586){break ra}if((d|0)!=1869768303){break v}j=Ub[v[v[b>>2]+36>>2]](b)|0;d=Ub[v[v[b>>2]+20>>2]](b,4)|0;f=Ub[v[v[b>>2]+20>>2]](b,4)|0;switch(d|0){case 0:break pa;case 1:break qa;default:break oa}}d=1;if(Ub[v[v[b>>2]+20>>2]](b,4)|0){break ua}d=Ub[v[v[b>>2]+20>>2]](b,4)|0;if(d){break ua}d=(Ub[v[v[b>>2]+40>>2]](b)|0)+12|0;break ua}c=Ub[v[v[b>>2]+40>>2]](b)|0;d=c?c+8|0:0}if((f|0)!=1718183276){break v}M=e,O=Ub[v[v[b>>2]+20>>2]](b,1)|0,t[M+180|0]=O;M=e,O=Ub[v[v[b>>2]+20>>2]](b,1)|0,t[M+181|0]=O;if(((Ub[v[v[b>>2]+36>>2]](b)|0)-j|0)==(d|0)){break na}break v}j=Ub[v[v[b>>2]+36>>2]](b)|0;c=Ub[v[v[b>>2]+20>>2]](b,4)|0;f=Ub[v[v[b>>2]+20>>2]](b,4)|0;ya:{za:{switch(c|0){case 1:c=1;if(Ub[v[v[b>>2]+20>>2]](b,4)|0){break ya}c=Ub[v[v[b>>2]+20>>2]](b,4)|0;if(c){break ya}c=(Ub[v[v[b>>2]+40>>2]](b)|0)+12|0;break ya;case 0:break za;default:break ya}}c=Ub[v[v[b>>2]+40>>2]](b)|0;c=c?c+8|0:0}if((f|0)!=1785737840){break v}if(Ub[v[v[b>>2]+20>>2]](b,1)|0){break v}if(Ub[v[v[b>>2]+20>>2]](b,3)|0){break v}f=(c-12|0)/4|0;v[e+184>>2]=f;f=f<<2;d=jc(f);if(d){ic(d,0,f)}v[e+188>>2]=d;d=0;if((c|0)>=16){while(1){f=Ub[v[v[b>>2]+20>>2]](b,4)|0;v[v[e+188>>2]+(d<<2)>>2]=f;d=d+1|0;if((d|0)>2]){continue}break}}if(((Ub[v[v[b>>2]+36>>2]](b)|0)-j|0)==(c|0)){break na}break u}j=Ub[v[v[b>>2]+36>>2]](b)|0;c=Ub[v[v[b>>2]+20>>2]](b,4)|0;f=Ub[v[v[b>>2]+20>>2]](b,4)|0;Aa:{Ba:{switch(c|0){case 1:c=1;if(Ub[v[v[b>>2]+20>>2]](b,4)|0){break Aa}c=Ub[v[v[b>>2]+20>>2]](b,4)|0;if(c){break Aa}c=(Ub[v[v[b>>2]+40>>2]](b)|0)+12|0;break Aa;case 0:break Ba;default:break Aa}}c=Ub[v[v[b>>2]+40>>2]](b)|0;c=c?c+8|0:0}if((f|0)!=1785737848){break v}f=c-8|0;t[e+192|0]=f;r=f&255;f=jc(r);if(f){ic(f,0,r)}v[e+196>>2]=f;d=0;if(r){while(1){f=Ub[v[v[b>>2]+20>>2]](b,1)|0;t[v[e+196>>2]+d|0]=f;d=d+1|0;if(d>>>0>2]+36>>2]](b)|0)-j|0)==(c|0)){break na}break u}j=Ub[v[v[b>>2]+36>>2]](b)|0;d=Ub[v[v[b>>2]+20>>2]](b,4)|0;f=Ub[v[v[b>>2]+20>>2]](b,4)|0;Ca:{Da:{switch(d|0){case 1:d=1;if(Ub[v[v[b>>2]+20>>2]](b,4)|0){break Ca}d=Ub[v[v[b>>2]+20>>2]](b,4)|0;if(d){break Ca}d=(Ub[v[v[b>>2]+40>>2]](b)|0)+12|0;break Ca;case 0:break Da;default:break Ca}}c=Ub[v[v[b>>2]+40>>2]](b)|0;d=c?c+8|0:0}if((f|0)!=1785951586){break v}M=e,O=Ub[v[v[b>>2]+20>>2]](b,1)|0,t[M+200|0]=O;M=e,O=Ub[v[v[b>>2]+20>>2]](b,1)|0,t[M+201|0]=O;M=e,O=Ub[v[v[b>>2]+20>>2]](b,1)|0,t[M+202|0]=O;M=e,O=Ub[v[v[b>>2]+20>>2]](b,1)|0,t[M+203|0]=O;if(((Ub[v[v[b>>2]+36>>2]](b)|0)-j|0)==(d|0)){break na}break v}d=1;if(Ub[v[v[b>>2]+20>>2]](b,4)|0){break oa}d=Ub[v[v[b>>2]+20>>2]](b,4)|0;if(d){break oa}d=(Ub[v[v[b>>2]+40>>2]](b)|0)+12|0;break oa}c=Ub[v[v[b>>2]+40>>2]](b)|0;d=c?c+8|0:0}if((f|0)!=1869768303){break v}M=e,O=Ub[v[v[b>>2]+20>>2]](b,1)|0,t[M+182|0]=O;M=e,O=Ub[v[v[b>>2]+20>>2]](b,1)|0,t[M+183|0]=O;if(((Ub[v[v[b>>2]+36>>2]](b)|0)-j|0)!=(d|0)){break v}}if(((Ub[v[v[b>>2]+36>>2]](b)|0)-l|0)<(a|0)){continue}break}}h=h+1|0;if((o|0)!=(h|0)){continue}break};break ha;case 1:case 2:break ia;default:break ha}}O=b,N=(Ub[v[v[b>>2]+20>>2]](b,4)|0)-4|0,M=v[v[b>>2]+24>>2],Ub[M](O|0,N|0)}if(((Ub[v[v[b>>2]+36>>2]](b)|0)-n|0)!=(k|0)){break u}j=Ub[v[v[b>>2]+36>>2]](b)|0;c=Ub[v[v[b>>2]+20>>2]](b,4)|0;f=Ub[v[v[b>>2]+20>>2]](b,4)|0;Ea:{Fa:{switch(c|0){case 1:c=1;if(Ub[v[v[b>>2]+20>>2]](b,4)|0){break Ea}c=Ub[v[v[b>>2]+20>>2]](b,4)|0;if(c){break Ea}c=(Ub[v[v[b>>2]+40>>2]](b)|0)+12|0;break Ea;case 0:break Fa;default:break Ea}}a=Ub[v[v[b>>2]+40>>2]](b)|0;c=a?a+8|0:0}if((f|0)!=1937011827){break u}if(Ub[v[v[b>>2]+20>>2]](b,1)|0){break u}if(Ub[v[v[b>>2]+20>>2]](b,3)|0){break v}k=Ub[v[v[b>>2]+20>>2]](b,4)|0;v[e+260>>2]=k;a=k<<3;h=jc(a);if(h){ic(h,0,a)}v[e+264>>2]=h;if((k|0)<=0){break A}while(1){a=Ub[v[v[b>>2]+20>>2]](b,4)|0;f=g<<3;v[f+v[e+264>>2]>>2]=a;a=Ub[v[v[b>>2]+20>>2]](b,4)|0;h=v[e+264>>2];v[(f+h|0)+4>>2]=a;g=g+1|0;k=v[e+260>>2];if((g|0)<(k|0)){continue}break}d=0;v[e+240>>2]=0;if((k|0)<1){g=0;break z}i=k&3;g=0;if(k-1>>>0>=3){a=k&-4;while(1){f=g<<3;d=v[(f|24)+h>>2]+(v[(f|16)+h>>2]+(v[(f|8)+h>>2]+(v[f+h>>2]+d|0)|0)|0)|0;g=g+4|0;a=a-4|0;if(a){continue}break}}if(i){while(1){d=v[(g<<3)+h>>2]+d|0;g=g+1|0;i=i-1|0;if(i){continue}break}}v[e+240>>2]=d;g=B(d,12);d=1;break z}Ub[v[v[b>>2]+28>>2]](b,f);Ub[v[v[b>>2]+24>>2]](b,g);E=E-1|0;break y}d=0;v[e+240>>2]=0}n=jc(g);if(n){ic(n,0,g)}v[e+380>>2]=n;q=0;if(d){while(1){a=(q<<3)+h|0;f=v[a>>2];Ga:{if((f|0)<1){break Ga}i=f&7;d=v[a+4>>2];g=0;if(f-1>>>0>=7){a=f&-8;while(1){v[(n+B(g,12)|0)+8>>2]=d;v[(n+B(g|1,12)|0)+8>>2]=d;v[(n+B(g|2,12)|0)+8>>2]=d;v[(n+B(g|3,12)|0)+8>>2]=d;v[(n+B(g|4,12)|0)+8>>2]=d;v[(n+B(g|5,12)|0)+8>>2]=d;v[(n+B(g|6,12)|0)+8>>2]=d;v[(n+B(g|7,12)|0)+8>>2]=d;g=g+8|0;a=a-8|0;if(a){continue}break}}if(!i){break Ga}while(1){v[(n+B(g,12)|0)+8>>2]=d;g=g+1|0;i=i-1|0;if(i){continue}break}}q=q+1|0;if((q|0)!=(k|0)){continue}break}}g=0;if(((Ub[v[v[b>>2]+36>>2]](b)|0)-j|0)!=(c|0)){break v}j=Ub[v[v[b>>2]+36>>2]](b)|0;o=Ub[v[v[b>>2]+20>>2]](b,4)|0;c=Ub[v[v[b>>2]+20>>2]](b,4)|0;Ha:{Ia:{switch(o|0){case 1:o=1;if(Ub[v[v[b>>2]+20>>2]](b,4)|0){break Ha}o=Ub[v[v[b>>2]+20>>2]](b,4)|0;if(o){break Ha}o=(Ub[v[v[b>>2]+40>>2]](b)|0)+12|0;break Ha;case 0:break Ia;default:break Ha}}a=Ub[v[v[b>>2]+40>>2]](b)|0;o=a?a+8|0:0}if((c|0)!=1937011555){break v}if(Ub[v[v[b>>2]+20>>2]](b,1)|0){break v}if(Ub[v[v[b>>2]+20>>2]](b,3)|0){break v}i=Ub[v[v[b>>2]+20>>2]](b,4)|0;v[e+276>>2]=i;a=B(i,12);k=jc(a);if(k){ic(k,0,a)}v[e+280>>2]=k;Ja:{Ka:{if((i|0)<=0){break Ka}while(1){a=Ub[v[v[b>>2]+20>>2]](b,4)|0;c=B(g,12);v[c+v[e+280>>2]>>2]=a;a=Ub[v[v[b>>2]+20>>2]](b,4)|0;v[(c+v[e+280>>2]|0)+4>>2]=a;a=Ub[v[v[b>>2]+20>>2]](b,4)|0;k=v[e+280>>2];v[(c+k|0)+8>>2]=a;g=g+1|0;i=v[e+276>>2];if((g|0)<(i|0)){continue}break}if((i|0)!=1){break Ka}a=e;F=I(+y[e+240>>2]/+v[k+4>>2]);La:{if(F<4294967296&F>=0){c=~~F>>>0;break La}c=0}v[a+268>>2]=c;a=B(c,12);d=jc(a);if(d){ic(d,0,a)}v[e+272>>2]=d;if(!c){break Ja}i=c&7;f=v[k+4>>2];g=0;if(c-1>>>0>=7){a=c&-8;while(1){v[d+B(g,12)>>2]=f;v[d+B(g|1,12)>>2]=f;v[d+B(g|2,12)>>2]=f;v[d+B(g|3,12)>>2]=f;v[d+B(g|4,12)>>2]=f;v[d+B(g|5,12)>>2]=f;v[d+B(g|6,12)>>2]=f;v[d+B(g|7,12)>>2]=f;g=g+8|0;a=a-8|0;if(a){continue}break}}if(!i){break Ja}while(1){v[d+B(g,12)>>2]=f;g=g+1|0;i=i-1|0;if(i){continue}break}break Ja}a=B(v[e+268>>2],12);u=jc(a);if(u){ic(u,0,a)}v[e+272>>2]=u;n=i-1|0;l=0;h=0;if((i|0)>=2){c=v[k>>2];a=0;while(1){d=c;f=a;a=a+1|0;c=v[B(a,12)+k>>2];if((d|0)<(c|0)){g=d-1|0;s=v[(B(f,12)+k|0)+4>>2];f=c-1|0;q=(d|0)>(f|0)?d:f;f=q-d|0;i=f+1&3;if(i){while(1){v[u+B(g,12)>>2]=s;g=g+1|0;h=h+s|0;i=i-1|0;if(i){continue}break}}if(f>>>0>=3){f=s<<1;while(1){r=u+B(g,12)|0;v[r>>2]=s;v[r+36>>2]=s;v[r+24>>2]=s;v[r+12>>2]=s;h=f+(f+h|0)|0;g=g+4|0;if((q|0)!=(g|0)){continue}break}}l=(q+(l-d|0)|0)+1|0}if((a|0)!=(n|0)){continue}break}}a=B(n,12)+k|0;g=v[a+4>>2];c=(v[e+240>>2]-h|0)/(g|0)|0;f=c+l|0;v[e+268>>2]=f;a=v[a>>2];h=a-1|0;Ma:{if(f>>>0<=h>>>0){break Ma}a=f-a|0;d=a+1&7;if(d){while(1){v[u+B(h,12)>>2]=g;h=h+1|0;d=d-1|0;if(d){continue}break}}if(a>>>0<7){break Ma}while(1){a=u+B(h,12)|0;v[a>>2]=g;v[a+84>>2]=g;v[a+72>>2]=g;v[a+60>>2]=g;v[a+48>>2]=g;v[a+36>>2]=g;v[a+24>>2]=g;v[a+12>>2]=g;h=h+8|0;if((f|0)!=(h|0)){continue}break}}a=B(f,12);d=jc(a);if(!d){break Ja}f=B(l,12);ic(f+d|0,0,a>>>0>f>>>0?B(c,12):0);a=gc(d,u,f);if(u){dc(u)}v[e+272>>2]=a}if(((Ub[v[v[b>>2]+36>>2]](b)|0)-j|0)!=(o|0)){break u}f=Ub[v[v[b>>2]+36>>2]](b)|0;h=Ub[v[v[b>>2]+20>>2]](b,4)|0;c=Ub[v[v[b>>2]+20>>2]](b,4)|0;Na:{Oa:{switch(h|0){case 1:h=1;if(Ub[v[v[b>>2]+20>>2]](b,4)|0){break Na}h=Ub[v[v[b>>2]+20>>2]](b,4)|0;if(h){break Na}h=(Ub[v[v[b>>2]+40>>2]](b)|0)+12|0;break Na;case 0:break Oa;default:break Na}}a=Ub[v[v[b>>2]+40>>2]](b)|0;h=a?a+8|0:0}if((c|0)!=1937011578){break u}if(Ub[v[v[b>>2]+20>>2]](b,1)|0){break u}if(Ub[v[v[b>>2]+20>>2]](b,3)|0){break u}d=Ub[v[v[b>>2]+20>>2]](b,4)|0;Pa:{if(d){t[e+256|0]=1;a=v[e+240>>2];Qa:{if(!a){break Qa}i=a&7;c=v[e+380>>2];g=0;if(a-1>>>0>=7){a=a&-8;while(1){v[c+B(g,12)>>2]=d;v[c+B(g|1,12)>>2]=d;v[c+B(g|2,12)>>2]=d;v[c+B(g|3,12)>>2]=d;v[c+B(g|4,12)>>2]=d;v[c+B(g|5,12)>>2]=d;v[c+B(g|6,12)>>2]=d;v[c+B(g|7,12)>>2]=d;g=g+8|0;a=a-8|0;if(a){continue}break}}if(!i){break Qa}while(1){v[c+B(g,12)>>2]=d;g=g+1|0;i=i-1|0;if(i){continue}break}}Ub[v[v[b>>2]+24>>2]](b,4);break Pa}g=0;t[e+256|0]=0;if(v[e+240>>2]!=(Ub[v[v[b>>2]+20>>2]](b,4)|0)){break v}if(!v[e+240>>2]){break Pa}while(1){a=Ub[v[v[b>>2]+20>>2]](b,4)|0;v[v[e+380>>2]+B(g,12)>>2]=a;g=g+1|0;if(g>>>0>2]){continue}break}}if(((Ub[v[v[b>>2]+36>>2]](b)|0)-f|0)!=(h|0)){break u}r=Ub[v[v[b>>2]+36>>2]](b)|0;i=Ub[v[v[b>>2]+20>>2]](b,4)|0;c=Ub[v[v[b>>2]+20>>2]](b,4)|0;Ra:{Sa:{switch(i|0){case 1:i=1;if(Ub[v[v[b>>2]+20>>2]](b,4)|0){break Ra}i=Ub[v[v[b>>2]+20>>2]](b,4)|0;if(i){break Ra}i=(Ub[v[v[b>>2]+40>>2]](b)|0)+12|0;break Ra;case 0:break Sa;default:break Ra}}a=Ub[v[v[b>>2]+40>>2]](b)|0;i=a?a+8|0:0}if((c|0)!=1937007471){break u}if(Ub[v[v[b>>2]+20>>2]](b,1)|0){break u}if(Ub[v[v[b>>2]+20>>2]](b,3)|0){break u}g=0;a=Ub[v[v[b>>2]+20>>2]](b,4)|0;if((a|0)!=v[e+268>>2]){break v}Ta:{if(!a){break Ta}while(1){a=Ub[v[v[b>>2]+20>>2]](b,4)|0;n=v[e+272>>2];v[(n+B(g,12)|0)+8>>2]=a;g=g+1|0;l=v[e+268>>2];if(g>>>0>>0){continue}break}c=0;if(!l){break Ta}while(1){f=n+B(c,12)|0;j=v[f>>2];Ua:{if((j|0)<1){break Ua}a=j&3;s=v[f+8>>2];o=v[e+380>>2];g=0;d=0;if(j-1>>>0>=3){h=j&-4;while(1){f=o+B(g,12)|0;v[f+4>>2]=d+s;q=o+B(g|1,12)|0;f=v[f>>2]+d|0;v[q+4>>2]=f+s;j=o+B(g|2,12)|0;f=f+v[q>>2]|0;v[j+4>>2]=f+s;d=o+B(g|3,12)|0;f=f+v[j>>2]|0;v[d+4>>2]=f+s;d=f+v[d>>2]|0;g=g+4|0;h=h-4|0;if(h){continue}break}}if(!a){break Ua}while(1){f=o+B(g,12)|0;v[f+4>>2]=d+s;g=g+1|0;d=v[f>>2]+d|0;a=a-1|0;if(a){continue}break}}c=c+1|0;if((l|0)!=(c|0)){continue}break}}g=0;if(((Ub[v[v[b>>2]+36>>2]](b)|0)-r|0)!=(i|0)){break v}if(((Ub[v[v[b>>2]+36>>2]](b)|0)-L|0)!=(C|0)){break v}if(((Ub[v[v[b>>2]+36>>2]](b)|0)-K|0)!=(A|0)){break v}if(((Ub[v[v[b>>2]+36>>2]](b)|0)-J|0)!=(z|0)){break v}if(((Ub[v[v[b>>2]+36>>2]](b)|0)-H|0)!=(x|0)){break v}Va:{switch(v[e+8>>2]){case 0:v[m+44>>2]=v[m+44>>2]+1;break y;case 1:v[m+48>>2]=v[m+48>>2]+1;break y;case 2:break Va;default:break y}}v[m+52>>2]=v[m+52>>2]+1}g=1;E=E+1|0;if((p|0)>((Ub[v[v[b>>2]+36>>2]](b)|0)-D|0)){continue}break}}break t}g=0}p=g?G:0;break a}Ub[v[v[b>>2]+24>>2]](b,d);p=0;if((Ub[v[v[b>>2]+40>>2]](b)|0)<0){break a}}c=Ub[v[v[b>>2]+36>>2]](b)|0;d=Ub[v[v[b>>2]+20>>2]](b,4)|0;p=Ub[v[v[b>>2]+20>>2]](b,4)|0;Wa:{switch(d|0){case 1:if(Ub[v[v[b>>2]+20>>2]](b,4)|0){return 0}d=Ub[v[v[b>>2]+20>>2]](b,4)|0;if(d){continue}d=(Ub[v[v[b>>2]+40>>2]](b)|0)+12|0;continue;case 0:break Wa;default:continue}}f=Ub[v[v[b>>2]+40>>2]](b)|0;if(f){d=f+8|0;continue}else{return 0}}}return p}function nua(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,y=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,X=0,Z=0,_=0,ba=C(0),da=C(0);e=Qb-336|0;Qb=e;v[e+328>>2]=0;v[e+320>>2]=0;v[e+324>>2]=0;v[299999]=0;B=e+304|0;k=B;v[k>>2]=0;v[k+4>>2]=0;t[k+8|0]=0;k=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{if((k|0)!=1){v[299999]=0;D=e+288|0;k=D;v[k>>2]=0;v[k+4>>2]=0;t[k+8|0]=0;k=v[299999];v[299999]=0;if((k|0)!=1){v[e+284>>2]=0;v[299999]=0;E=e+272|0;k=E;v[k>>2]=0;v[k+4>>2]=0;t[k+8|0]=0;k=v[299999];v[299999]=0;if((k|0)!=1){v[299999]=0;y=e+256|0;k=y;v[k>>2]=0;v[k+4>>2]=0;t[k+8|0]=0;k=v[299999];v[299999]=0;if((k|0)!=1){v[299999]=0;o=rj(b);k=v[299999];v[299999]=0;if((k|0)==1){break f}g:{h:{if(!o){p=10;k=0;o=0;break h}v[299999]=0;V(4145,e+168|0,b|0);k=v[299999];v[299999]=0;if((k|0)==1){break g}m=a+16|0;p=10;k=0;o=0;i:{while(1){h=w[e+179|0];l=h<<24>>24;j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{g=v[e+172>>2];switch(((l|0)<0?g:h)|0){case 0:break l;case 7:break w;default:break v}}v[299999]=0;h=ca(2608,e+168|0,0,-1,975044,7)|0;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(!h){break u}g=v[e+172>>2];h=w[e+179|0];l=h}if(((l<<24>>24<0?g:h)|0)==7){break t}break n}v[299999]=0;V(4150,e+48|0,b|0);f=v[299999];v[299999]=0;if((f|0)==1){break s}if(t[e+331|0]<=-1){dc(v[e+320>>2])}v[e+328>>2]=v[e+56>>2];f=v[e+52>>2];v[e+320>>2]=v[e+48>>2];v[e+324>>2]=f;v[299999]=0;V(4198,e+48|0,e+320|0);f=v[299999];v[299999]=0;x:{y:{z:{A:{if((f|0)!=1){v[299999]=0;h=Q(3135,e+320|0,0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break A}if(v[h>>2]!=46){break x}f=An(m,47);if((f|0)==-1){break z}v[299999]=0;ca(2654,e+240|0,m|0,0,f+1|0,m|0)|0;break y}g=P()|0;O()|0;break i}g=P()|0;O()|0;break o}if(t[a+27|0]>=0){v[e+248>>2]=v[m+8>>2];f=v[m+4>>2];v[e+240>>2]=v[m>>2];v[e+244>>2]=f;break q}h=v[a+20>>2];f=v[a+16>>2];v[299999]=0;U(2345,e+240|0,f|0,h|0)}f=v[299999];v[299999]=0;if((f|0)!=1){break q}g=P()|0;O()|0;break o}h=v[a+28>>2];f=v[v[h>>2]+12>>2];v[299999]=0;U(f|0,e+240|0,h|0,e+320|0);f=v[299999];v[299999]=0;if((f|0)==1){break r}if(t[e+331|0]<=-1){dc(v[e+320>>2])}v[e+328>>2]=v[e+248>>2];f=v[e+244>>2];v[e+320>>2]=v[e+240>>2];v[e+324>>2]=f;break p}v[299999]=0;h=ca(2608,e+168|0,0,-1,975100,7)|0;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(h){g=v[e+172>>2];h=w[e+179|0];l=h;break n}v[299999]=0;V(4150,e+240|0,b|0);f=v[299999];v[299999]=0;B:{C:{D:{E:{if((f|0)!=1){v[299999]=0;j=Q(4160,e+48|0,e+240|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break E}v[299999]=0;Ar(j,e+224|0);f=v[299999];v[299999]=0;if((f|0)==1){break D}xc(j);if(t[e+251|0]<=-1){dc(v[e+240>>2])}v[299999]=0;V(4172,d|0,e+224|0);f=v[299999];v[299999]=0;if((f|0)==1){break B}j=1;break m}g=P()|0;O()|0;break i}g=P()|0;O()|0;break C}g=P()|0;O()|0;xc(j)}if(t[e+251|0]>-1){break i}dc(v[e+240>>2]);break i}g=P()|0;O()|0;break i}g=P()|0;O()|0;break i}g=P()|0;O()|0;break o}v[299999]=0;U(2650,e+224|0,e+240|0,e+320|0);f=v[299999];v[299999]=0;if((f|0)!=1){if(t[e+331|0]<=-1){dc(v[e+320>>2])}v[e+328>>2]=v[e+232>>2];f=v[e+228>>2];v[e+320>>2]=v[e+224>>2];v[e+324>>2]=f;if(t[e+251|0]>-1){break p}dc(v[e+240>>2]);break p}g=P()|0;O()|0;if(t[e+251|0]>-1){break o}dc(v[e+240>>2]);break o}v[299999]=0;V(4200,e+240|0,e+320|0);f=v[299999];v[299999]=0;F:{G:{H:{if((f|0)!=1){h=w[e+251|0];g=h<<24>>24;i=(g|0)<0;l=v[e+244>>2];f=i?l:h;if(f){h=i?v[e+240>>2]:e+240|0;i=h+(f<<2)|0;while(1){f=v[h>>2];v[299999]=0;g=Tw(f);f=v[299999];v[299999]=0;if((f|0)==1){break F}v[h>>2]=g;h=h+4|0;if((i|0)!=(h|0)){continue}break}l=v[e+244>>2];h=w[e+251|0];g=h}if(((g<<24>>24<0?l:h)|0)!=5){break H}v[299999]=0;h=ca(2608,e+240|0,0,-1,975076,5)|0;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(h){break H}f=w[e+59|0];h=f<<24>>24<0;f=h?v[e+52>>2]:f;if(f){h=h?v[e+48>>2]:e+48|0;i=h+(f<<2)|0;while(1){f=v[h>>2];v[299999]=0;g=Tw(f);f=v[299999];v[299999]=0;if((f|0)==1){break F}v[h>>2]=g;h=h+4|0;if((i|0)!=(h|0)){continue}break}}h=v[a+28>>2];f=v[a+32>>2];v[299999]=0;$(4202,f|0,e+48|0,e+320|0,h|0);f=v[299999];v[299999]=0;if((f|0)!=1){break G}break F}g=P()|0;O()|0;break o}h=v[a+28>>2];f=v[v[h>>2]+8>>2];v[299999]=0;h=S(f|0,h|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break F}if((h|0)!=1){break G}v[299999]=0;h=v[293894];f=v[299999];v[299999]=0;if((f|0)==1){break F}if(!h){break G}v[e+224>>2]=0;h=v[a+28>>2];f=v[v[h>>2]+20>>2];v[299999]=0;Y(f|0,h|0,e+320|0,e+224|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break F}v[299999]=0;h=v[293894];f=v[299999];v[299999]=0;if((f|0)==1){break F}I:{if(!h){break I}v[299999]=0;i=v[293894];f=v[299999];v[299999]=0;if((f|0)==1){break F}f=v[e+224>>2];g=v[f+4>>2];h=v[f>>2];f=v[v[i>>2]+16>>2];v[299999]=0;ca(f|0,i|0,e+320|0,h|0,g|0,0)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break I}break F}h=v[e+224>>2];if(!h){break G}J:{if(!w[h+8|0]){break J}f=v[h>>2];if(!f){break J}dc(f)}dc(h)}v[299999]=0;V(4203,e+224|0,e+320|0);f=v[299999];v[299999]=0;if((f|0)!=1){if(t[e+331|0]<=-1){dc(v[e+320>>2])}v[e+328>>2]=v[e+232>>2];f=v[e+228>>2];v[e+320>>2]=v[e+224>>2];v[e+324>>2]=f;f=v[v[c>>2]+228>>2];v[299999]=0;Q(f|0,c|0,e+320|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break F}if(t[e+251|0]<=-1){dc(v[e+240>>2])}if(t[e+59|0]>-1){break m}dc(v[e+48>>2]);break m}}g=P()|0;O()|0;if(t[e+251|0]>-1){break o}dc(v[e+240>>2])}if(t[e+59|0]>-1){break i}dc(v[e+48>>2]);break i}K:{if(((l<<24>>24<0?g:h)|0)!=4){break K}v[299999]=0;h=ca(2608,e+168|0,0,-1,975132,4)|0;f=v[299999];v[299999]=0;if((f|0)!=1){if(h){g=v[e+172>>2];h=w[e+179|0];l=h;break K}v[299999]=0;V(4150,e+48|0,b|0);f=v[299999];v[299999]=0;L:{if((f|0)!=1){v[299999]=0;U(4204,B|0,e+48|0,1);f=v[299999];v[299999]=0;if((f|0)==1){break L}if(t[e+59|0]>-1){break m}dc(v[e+48>>2]);break m}g=P()|0;O()|0;break i}g=P()|0;O()|0;if(t[e+59|0]>-1){break i}dc(v[e+48>>2]);break i}break a}M:{if(((l<<24>>24<0?g:h)|0)!=4){break M}v[299999]=0;h=ca(2608,e+168|0,0,-1,975152,4)|0;f=v[299999];v[299999]=0;if((f|0)!=1){if(h){g=v[e+172>>2];h=w[e+179|0];l=h;break M}v[299999]=0;V(4150,e+48|0,b|0);f=v[299999];v[299999]=0;N:{if((f|0)!=1){v[299999]=0;U(4204,y|0,e+48|0,1);f=v[299999];v[299999]=0;if((f|0)==1){break N}if(t[e+59|0]>-1){break m}dc(v[e+48>>2]);break m}g=P()|0;O()|0;break i}g=P()|0;O()|0;if(t[e+59|0]>-1){break i}dc(v[e+48>>2]);break i}break a}O:{if(((l<<24>>24<0?g:h)|0)!=16){break O}v[299999]=0;h=ca(2608,e+168|0,0,-1,975172,16)|0;f=v[299999];v[299999]=0;P:{if((f|0)!=1){if(h){g=v[e+172>>2];h=w[e+179|0];l=h;break O}v[299999]=0;V(4150,e+240|0,b|0);f=v[299999];v[299999]=0;Q:{R:{if((f|0)!=1){v[299999]=0;i=Q(4160,e+48|0,e+240|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break R}if(t[e+251|0]<=-1){dc(v[e+240>>2])}v[299999]=0;h=md(i,975240);f=v[299999];v[299999]=0;if((f|0)==1){break P}if(!h){break Q}J=1;xc(i);break m}g=P()|0;O()|0;break i}g=P()|0;O()|0;if(t[e+251|0]>-1){break i}dc(v[e+240>>2]);break i}v[299999]=0;h=md(i,975308);f=v[299999];v[299999]=0;if((f|0)==1){break P}if(h){G=1;xc(i);break m}v[299999]=0;h=md(i,975368);f=v[299999];v[299999]=0;if((f|0)==1){break P}J=h?1:J;G=h?1:G;xc(i);break m}break a}g=P()|0;O()|0;xc(i);break i}S:{if(((l<<24>>24<0?g:h)|0)!=19){break S}v[299999]=0;h=ca(2608,e+168|0,0,-1,975452,19)|0;f=v[299999];v[299999]=0;if((f|0)!=1){if(h){g=v[e+172>>2];h=w[e+179|0];l=h;break S}v[299999]=0;V(4150,e+48|0,b|0);f=v[299999];v[299999]=0;T:{if((f|0)!=1){v[299999]=0;p=+ha(4171,e+48|0);f=v[299999];v[299999]=0;if((f|0)==1){break T}if(t[e+59|0]>-1){break m}dc(v[e+48>>2]);break m}g=P()|0;O()|0;break i}g=P()|0;O()|0;if(t[e+59|0]>-1){break i}dc(v[e+48>>2]);break i}break a}U:{if(((l<<24>>24<0?g:h)|0)!=15){break U}v[299999]=0;h=ca(2608,e+168|0,0,-1,975532,15)|0;f=v[299999];v[299999]=0;if((f|0)!=1){if(h){g=v[e+172>>2];h=w[e+179|0];l=h;break U}v[299999]=0;V(4150,e+48|0,b|0);f=v[299999];v[299999]=0;V:{if((f|0)!=1){v[299999]=0;U(4204,D|0,e+48|0,1);f=v[299999];v[299999]=0;if((f|0)==1){break V}if(t[e+59|0]>-1){break m}dc(v[e+48>>2]);break m}g=P()|0;O()|0;break i}g=P()|0;O()|0;if(t[e+59|0]>-1){break i}dc(v[e+48>>2]);break i}break a}W:{if(((l<<24>>24<0?g:h)|0)!=13){break W}v[299999]=0;h=ca(2608,e+168|0,0,-1,975596,13)|0;f=v[299999];v[299999]=0;if((f|0)!=1){if(h){g=v[e+172>>2];h=w[e+179|0];l=h;break W}v[299999]=0;V(4150,e+240|0,b|0);f=v[299999];v[299999]=0;X:{Y:{Z:{_:{$:{aa:{ba:{if((f|0)!=1){v[299999]=0;f=Q(4160,e+48|0,e+240|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break ba}if(t[e+251|0]<=-1){dc(v[e+240>>2])}v[299999]=0;g=v[f+4>>2];h=v[299999];v[299999]=0;if((h|0)==1){break Y}if(!g){break Z}v[299999]=0;ca:{da:{k=f;if(!w[f+8|0]){break da}k=v[k>>2];if(k){break da}o=0;break ca}o=v[k>>2]}k=v[299999];v[299999]=0;if((k|0)==1){break aa}v[299999]=0;o=Q(3111,e+240|0,o|0)|0;k=v[299999];v[299999]=0;if((k|0)==1){break aa}v[299999]=0;t[e+224|0]=1;k=Y(4205,o|0,e+284|0,e+224|0)|0;o=v[299999];v[299999]=0;if((o|0)==1){break $}if(t[e+251|0]<=-1){dc(v[e+240>>2])}o=v[e+284>>2];if(o>>>0<2){o=k;xc(f);break m}if(x[k>>1]!=123){o=k;xc(f);break m}if(x[k+2>>1]==125){break _}o=k;xc(f);break m}g=P()|0;O()|0;break i}g=P()|0;O()|0;if(t[e+251|0]>-1){break i}dc(v[e+240>>2]);break i}g=P()|0;O()|0;xc(f);break i}g=P()|0;O()|0;if(t[e+251|0]>-1){break X}dc(v[e+240>>2]);xc(f);break i}v[e+284>>2]=o-2;o=k+4|0}xc(f);break m}g=P()|0;O()|0}xc(f);break i}break a}ea:{fa:{if(((l<<24>>24<0?g:h)|0)!=7){break fa}v[299999]=0;h=ca(2608,e+168|0,0,-1,975652,7)|0;f=v[299999];v[299999]=0;if((f|0)==1){break ea}if(h){break fa}v[299999]=0;V(4150,e+48|0,b|0);f=v[299999];v[299999]=0;ga:{if((f|0)!=1){v[299999]=0;r=+ha(4171,e+48|0);f=v[299999];v[299999]=0;if((f|0)==1){break ga}if(t[e+59|0]>-1){break m}dc(v[e+48>>2]);break m}g=P()|0;O()|0;break i}g=P()|0;O()|0;if(t[e+59|0]>-1){break i}dc(v[e+48>>2]);break i}if(Ii(975684,e+168|0)){v[299999]=0;V(4150,e+48|0,b|0);f=v[299999];v[299999]=0;ha:{if((f|0)!=1){v[299999]=0;M=+ha(4171,e+48|0);f=v[299999];v[299999]=0;if((f|0)==1){break ha}if(t[e+59|0]>-1){break m}dc(v[e+48>>2]);break m}g=P()|0;O()|0;break i}g=P()|0;O()|0;if(t[e+59|0]>-1){break i}dc(v[e+48>>2]);break i}if(Ii(975716,e+168|0)){v[299999]=0;V(4150,e+48|0,b|0);f=v[299999];v[299999]=0;ia:{ja:{if((f|0)!=1){v[299999]=0;U(4204,E|0,e+48|0,1);f=v[299999];v[299999]=0;if((f|0)==1){break ja}if(t[e+59|0]<=-1){dc(v[e+48>>2])}v[299999]=0;V(4150,e+48|0,b|0);f=v[299999];v[299999]=0;if((f|0)==1){break ia}if((N|0)<=-1){dc(X)}N=t[e+59|0];X=v[e+48>>2];break m}g=P()|0;O()|0;break i}g=P()|0;O()|0;if(t[e+59|0]>-1){break i}dc(v[e+48>>2]);break i}g=P()|0;O()|0;break i}if(Ii(975748,e+168|0)){v[299999]=0;V(4150,e+48|0,b|0);f=v[299999];v[299999]=0;ka:{if((f|0)!=1){v[299999]=0;_=S(4151,e+48|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break ka}if(t[e+59|0]>-1){break m}dc(v[e+48>>2]);break m}g=P()|0;O()|0;break i}g=P()|0;O()|0;if(t[e+59|0]>-1){break i}dc(v[e+48>>2]);break i}if(!Lx(e+168|0,975788)){break m}v[299999]=0;V(4150,e+48|0,b|0);f=v[299999];v[299999]=0;la:{if((f|0)!=1){v[299999]=0;q=S(4206,e+48|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break la}if(t[e+59|0]>-1){break m}dc(v[e+48>>2]);break m}g=P()|0;O()|0;break i}g=P()|0;O()|0;if(t[e+59|0]>-1){break i}dc(v[e+48>>2]);break i}break a}v[299999]=0;h=Ji(b);f=v[299999];v[299999]=0;if((f|0)==1){break k}if(h){break j}l=w[e+179|0]}if(l<<24>>24<=-1){dc(v[e+168>>2])}h=j;F=q&1;J=J&1;j=G&1;break h}g=P()|0;O()|0;break i}v[299999]=0;V(4145,e+48|0,b|0);f=v[299999];v[299999]=0;if((f|0)!=1){if(t[e+179|0]<=-1){dc(v[e+168>>2])}v[e+176>>2]=v[e+56>>2];f=v[e+52>>2];v[e+168>>2]=v[e+48>>2];v[e+172>>2]=f;continue}break}g=P()|0;O()|0}if(t[e+179|0]>-1){break e}dc(v[e+168>>2]);break e}v[299999]=0;_i(b);f=v[299999];v[299999]=0;if((f|0)==1){break f}g=0;v[299999]=0;i=!v[y+4>>2];f=v[299999];v[299999]=0;ma:{if((f|0)==1){break ma}na:{if(i){break na}v[299999]=0;g=v[y+4>>2];f=v[299999];v[299999]=0;if((f|0)==1){break ma}oa:{if(!g){break oa}v[299999]=0;v[e+168>>2]=0;g=v[v[(w[y+8|0]?v[y>>2]:y)>>2]+(v[e+168>>2]<<2)>>2];f=v[299999];v[299999]=0;if((f|0)!=1){if((g|0)!=123){break oa}v[299999]=0;g=Q(4207,d|0,y|0)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break na}break ma}g=P()|0;O()|0;break e}v[299999]=0;pa:{qa:{g=y;if(!w[g+8|0]){break qa}g=v[g>>2];if(g){break qa}f=0;break pa}f=v[g>>2]}g=v[299999];v[299999]=0;if((g|0)==1){break ma}v[299999]=0;n=A[d+48>>3];g=v[299999];v[299999]=0;if((g|0)!=1){v[299999]=0;A[e+168>>3]=n;g=Q(4209,f|0,e+168|0)|0;f=v[299999];v[299999]=0;Z=1;if((f|0)!=1){break na}}g=P()|0;O()|0;break e}v[299999]=0;i=ph(b);f=v[299999];v[299999]=0;if((f|0)==1){break ma}ra:{sa:{ta:{ua:{va:{wa:{xa:{ya:{za:{Aa:{Ba:{Ca:{Da:{Ea:{Fa:{Ga:{Ha:{Ia:{Ja:{Ka:{if(!i){v[299999]=0;q=e+168|0;f=q;v[f>>2]=0;v[f+4>>2]=0;t[f+8|0]=0;f=v[299999];v[299999]=0;if((f|0)==1){break Ka}v[299999]=0;m=wg(b);f=v[299999];v[299999]=0;La:{Ma:{if((f|0)!=1){while(1){v[299999]=0;i=Q(4155,b|0,m|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break ra}if(!i){break La}v[299999]=0;V(4145,e+240|0,b|0);f=v[299999];v[299999]=0;Na:{Oa:{Pa:{Qa:{if((f|0)!=1){v[299999]=0;i=Q(4160,e+48|0,e+240|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break Qa}v[299999]=0;uf(q,i);f=v[299999];v[299999]=0;if((f|0)==1){break Pa}xc(i);if(t[e+251|0]<=-1){dc(v[e+240>>2])}v[299999]=0;i=md(q,975832);f=v[299999];v[299999]=0;if((f|0)==1){break ra}if(!i){break Na}v[299999]=0;U(4176,b|0,D|0,0);f=v[299999];v[299999]=0;if((f|0)!=1){continue}break ra}g=P()|0;O()|0;xc(q);break e}g=P()|0;O()|0;break Oa}g=P()|0;O()|0;xc(i)}if(t[e+251|0]>-1){break Ma}dc(v[e+240>>2]);xc(q);break e}v[299999]=0;i=md(q,975924);f=v[299999];v[299999]=0;if((f|0)==1){break ra}if(g|!i){continue}v[299999]=0;n=A[d+48>>3];f=v[299999];v[299999]=0;Ra:{if((f|0)==1){break Ra}v[299999]=0;A[e+48>>3]=n;g=Y(4210,b|0,e+48|0,0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break Ra}Z=1;continue}break}g=P()|0;O()|0;xc(q);break e}g=P()|0;O()|0}xc(q);break e}xc(q)}Sa:{Ta:{if(!g){break Ta}b=v[v[g>>2]+8>>2];v[299999]=0;f=Q(b|0,g|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break ma}if(f){break Sa}if(!Z){break Ta}Ub[v[v[g>>2]+4>>2]](g)}if(k){dc(k)}if(!h){break sa}v[299999]=0;St(d);a=v[299999];v[299999]=0;if((a|0)==1){break ma}break sa}G=0;v[299999]=0;f=v[D+4>>2];b=v[299999];v[299999]=0;if((b|0)==1){break ma}Ua:{Va:{if(!f){break Va}v[299999]=0;Wa:{Xa:{b=D;if(!w[b+8|0]){break Xa}b=v[b>>2];if(b){break Xa}f=0;break Wa}f=v[b>>2]}b=v[299999];v[299999]=0;if((b|0)==1){break ma}v[299999]=0;G=Y(4170,e|0,f|0,d|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break ma}if(!(p<5)){break Va}v[299999]=0;n=+ha(4211,d|0);b=v[299999];v[299999]=0;if((b|0)==1){break Ua}p=p*n}q=0;v[299999]=0;f=v[B+4>>2];b=v[299999];v[299999]=0;if((b|0)==1){break ma}if(f){v[299999]=0;Ya:{Za:{b=B;if(!w[b+8|0]){break Za}b=v[b>>2];if(b){break Za}f=0;break Ya}f=v[b>>2]}b=v[299999];v[299999]=0;if((b|0)==1){break ma}v[299999]=0;q=Y(4169,e|0,f|0,d|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break ma}}n=p*.75;A[e+168>>3]=n;b=v[v[c>>2]+236>>2];v[299999]=0;Q(b|0,c|0,e+168|0)|0;b=v[299999];v[299999]=0;_a:{$a:{ab:{bb:{cb:{if((b|0)!=1){v[e+216>>2]=0;v[e+184>>2]=0;v[e+188>>2]=0;v[e+192>>2]=0;v[e+196>>2]=0;t[e+197|0]=0;t[e+198|0]=0;t[e+199|0]=0;t[e+200|0]=0;t[e+201|0]=0;t[e+202|0]=0;t[e+203|0]=0;t[e+204|0]=0;v[e+208>>2]=0;v[e+212>>2]=0;u[e+172>>1]=0;v[e+168>>2]=0;v[e+176>>2]=0;v[e+180>>2]=0;v[e+164>>2]=0;v[299999]=0;f=v[E+4>>2];b=v[299999];v[299999]=0;if((b|0)==1){break cb}v[e+160>>2]=f;v[e+156>>2]=0;i=v[a+36>>2];f=v[a+28>>2];b=v[v[f>>2]+12>>2];v[299999]=0;U(b|0,e+48|0,f|0,e+320|0);b=v[299999];v[299999]=0;if((b|0)==1){break bb}v[e+136>>2]=0;A[e+240>>3]=C(n);v[e+224>>2]=0;v[e+228>>2]=1079508992;v[e+144>>2]=0;v[e+148>>2]=1079508992;b=v[v[i>>2]+144>>2];v[299999]=0;aa(b|0,i|0,e+48|0,e+136|0,e+240|0,e+224|0,e+144|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break ab}if(t[e+59|0]<=-1){dc(v[e+48>>2])}f=v[a+36>>2];b=v[v[f>>2]+24>>2];l=0;v[299999]=0;i=S(b|0,f|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break ua}f=0;if(!i){break _a}b=v[v[i>>2]+48>>2];v[299999]=0;f=S(b|0,i|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break ua}b=v[v[i>>2]+52>>2];v[299999]=0;i=S(b|0,i|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break $a}break ua}g=P()|0;O()|0;break e}g=P()|0;O()|0;break ta}g=P()|0;O()|0;break ta}g=P()|0;O()|0;if(t[e+59|0]>-1){break ta}dc(v[e+48>>2]);break ta}l=(f^-1)&J;f=0;if(i|!j){break _a}b=v[v[c>>2]+140>>2];v[299999]=0;Q(b|0,c|0,e+240|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break wa}b=v[v[c>>2]+148>>2];v[299999]=0;Q(b|0,c|0,e+224|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break wa}b=v[v[c>>2]+52>>2];v[299999]=0;Q(b|0,c|0,e+240|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break wa}b=v[v[c>>2]+60>>2];v[299999]=0;Q(b|0,c|0,e+224|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break wa}v[e+48>>2]=-286331153;v[e+52>>2]=1070657262;b=v[v[c>>2]+68>>2];v[299999]=0;Q(b|0,c|0,e+48|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break xa}f=1}H=p/100;if(!F){break Ha}db:{while(1){v[299999]=0;eb:{fb:{b=E;if(!w[b+8|0]){break fb}b=v[b>>2];if(b){break fb}b=0;break eb}b=v[b>>2]}j=v[299999];v[299999]=0;gb:{if((j|0)!=1){v[e+48>>2]=v[e+284>>2];v[299999]=0;j=ma(4213,b|0,e+164|0,e+160|0,o|0,e+156|0,e+48|0,e+168|0)|0;b=v[299999];v[299999]=0;hb:{if((b|0)!=1){if(!j){break Ga}i=v[a+36>>2];ib:{if(w[e+201|0]){j=x[e+172>>1];v[e+48>>2]=1;b=v[v[i>>2]+40>>2];v[299999]=0;V(b|0,i|0,e+48|0);b=v[299999];v[299999]=0;if((b|0)==1){break va}v[e+240>>2]=j;b=v[v[i>>2]+108>>2];v[299999]=0;U(b|0,e+48|0,i|0,e+240|0);b=v[299999];v[299999]=0;if((b|0)!=1){break ib}break va}v[e+48>>2]=0;b=v[v[i>>2]+40>>2];v[299999]=0;V(b|0,i|0,e+48|0);b=v[299999];v[299999]=0;if((b|0)==1){break va}v[e+240>>2]=v[e+168>>2];b=v[v[i>>2]+108>>2];v[299999]=0;U(b|0,e+48|0,i|0,e+240|0);b=v[299999];v[299999]=0;if((b|0)==1){break va}}ba=z[e+64>>2];i=v[a+36>>2];jb:{if(w[e+201|0]){j=x[e+172>>1];v[e+48>>2]=1;b=v[v[i>>2]+40>>2];v[299999]=0;V(b|0,i|0,e+48|0);b=v[299999];v[299999]=0;if((b|0)==1){break Ia}v[e+240>>2]=j;b=v[v[i>>2]+108>>2];v[299999]=0;U(b|0,e+48|0,i|0,e+240|0);b=v[299999];v[299999]=0;if((b|0)!=1){break jb}break Ia}v[e+48>>2]=0;b=v[v[i>>2]+40>>2];v[299999]=0;V(b|0,i|0,e+48|0);b=v[299999];v[299999]=0;if((b|0)==1){break Ia}v[e+240>>2]=v[e+168>>2];b=v[v[i>>2]+108>>2];v[299999]=0;U(b|0,e+48|0,i|0,e+240|0);b=v[299999];v[299999]=0;if((b|0)==1){break Ia}}da=z[e+68>>2];s=A[e+192>>3];i=w[e+203|0]|w[e+204|0];n=i?r+H*A[e+184>>3]:r;p=A[e+176>>3];j=w[e+202|0];if(l){break hb}break gb}g=P()|0;O()|0;break ta}v[e+80>>2]=0;v[e+84>>2]=0;v[e+72>>2]=0;v[e+76>>2]=1072693248;v[e+64>>2]=0;v[e+68>>2]=0;v[e+56>>2]=-1047329136;v[e+60>>2]=1070633085;v[e+48>>2]=0;v[e+52>>2]=1072693248;v[299999]=0;A[e+88>>3]=n*-.25881904510252074;V(4192,d|0,e+48|0);b=v[299999];v[299999]=0;if((b|0)!=1){break gb}g=P()|0;O()|0;break ta}g=P()|0;O()|0;break ta}v[e+72>>2]=0;v[e+76>>2]=0;v[e+64>>2]=0;v[e+68>>2]=1072693248;v[e+56>>2]=0;v[e+60>>2]=-1074790400;v[e+48>>2]=0;v[e+52>>2]=0;v[299999]=0;K=n;n=+da;A[e+80>>3]=K+n;A[e+88>>3]=+ba*.5+(i?M-H*s:M);V(4192,d|0,e+48|0);b=v[299999];v[299999]=0;if((b|0)==1){break Ja}kb:{if(w[e+201|0]){v[e+128>>2]=v[e+168>>2];v[e+120>>2]=x[e+172>>1];v[e+240>>2]=0;v[e+244>>2]=0;v[e+224>>2]=0;v[e+228>>2]=0;v[e+144>>2]=0;v[e+148>>2]=0;v[e+136>>2]=0;v[e+140>>2]=0;b=v[v[c>>2]+280>>2];v[299999]=0;ma(b|0,c|0,e+128|0,e+120|0,e+240|0,e+224|0,e+144|0,e+136|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break kb}g=P()|0;O()|0;break ta}v[e+128>>2]=v[e+168>>2];v[e+240>>2]=0;v[e+244>>2]=0;v[e+224>>2]=0;v[e+228>>2]=0;v[e+144>>2]=0;v[e+148>>2]=0;v[e+136>>2]=0;v[e+140>>2]=0;b=v[v[c>>2]+272>>2];v[299999]=0;aa(b|0,c|0,e+128|0,e+240|0,e+224|0,e+144|0,e+136|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break kb}g=P()|0;O()|0;break ta}lb:{if(f){v[e+240>>2]=4;b=v[v[c>>2]+288>>2];v[299999]=0;Q(b|0,c|0,e+240|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break lb}b=v[v[c>>2]+332>>2];v[299999]=0;S(b|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Ja}mb:{if(w[e+201|0]){v[e+128>>2]=v[e+168>>2];v[e+120>>2]=x[e+172>>1];v[e+240>>2]=0;v[e+244>>2]=0;v[e+224>>2]=0;v[e+228>>2]=0;v[e+144>>2]=0;v[e+148>>2]=0;v[e+136>>2]=0;v[e+140>>2]=0;b=v[v[c>>2]+348>>2];v[299999]=0;ma(b|0,c|0,e+128|0,e+120|0,e+240|0,e+224|0,e+144|0,e+136|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break mb}g=P()|0;O()|0;break ta}v[e+128>>2]=v[e+168>>2];v[e+240>>2]=0;v[e+244>>2]=0;v[e+224>>2]=0;v[e+228>>2]=0;v[e+144>>2]=0;v[e+148>>2]=0;v[e+136>>2]=0;v[e+140>>2]=0;b=v[v[c>>2]+340>>2];v[299999]=0;aa(b|0,c|0,e+128|0,e+240|0,e+224|0,e+144|0,e+136|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break mb}g=P()|0;O()|0;break ta}b=v[v[c>>2]+328>>2];v[299999]=0;Q(b|0,c|0,975972)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Ja}v[e+240>>2]=4;b=v[v[c>>2]+292>>2];v[299999]=0;Q(b|0,c|0,e+240|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break db}b=v[v[c>>2]+324>>2];v[299999]=0;S(b|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Ja}}v[299999]=0;R(4181,d|0);b=v[299999];v[299999]=0;if((b|0)==1){break Ja}if(l){v[299999]=0;R(4181,d|0);b=v[299999];v[299999]=0;if((b|0)==1){break Ja}}r=r+(j?H*p:n);continue}break}g=P()|0;O()|0;break ta}g=P()|0;O()|0;break ta}g=P()|0;O()|0;break e}g=P()|0;O()|0;break e}g=P()|0;O()|0;break ta}g=P()|0;O()|0;break ta}if(!v[a>>2]){v[299999]=0;j=S(1,20)|0;b=v[299999];v[299999]=0;if((b|0)==1){break ua}v[j+4>>2]=0;v[j+8>>2]=0;v[j>>2]=885348;v[j+12>>2]=0;v[j+16>>2]=0;v[a>>2]=j;v[299999]=0;V(3049,j|0,0);b=v[299999];v[299999]=0;if((b|0)==1){break ua}}b=v[v[c>>2]+376>>2];v[299999]=0;ma(b|0,c|0,e+144|0,e+136|0,e+128|0,e+120|0,e+112|0,e+104|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break ya}v[299999]=0;F=Xa(4214,e+96|0,+A[e+144>>3],+A[e+136>>3],+A[e+128>>3],+A[e+120>>3],+A[e+112>>3],+A[e+104>>3])|0;b=v[299999];v[299999]=0;if((b|0)==1){break za}j=v[a+36>>2];b=v[v[j>>2]+60>>2];v[299999]=0;V(b|0,e+48|0,j|0);b=v[299999];v[299999]=0;if((b|0)==1){break Aa}m=t[e+59|0];i=v[e+48>>2];j=v[a+36>>2];b=v[v[j>>2]+60>>2];v[299999]=0;V(b|0,e+224|0,j|0);b=v[299999];v[299999]=0;if((b|0)==1){break Da}v[299999]=0;b=w[e+235|0];$(2656,e+240|0,((m|0)<0?i:e+48|0)|0,(b<<24>>24<0?v[e+228>>2]:b)|0,0);b=v[299999];v[299999]=0;if((b|0)==1){break Ea}if(t[e+235|0]<=-1){dc(v[e+224>>2])}if(t[e+59|0]<=-1){dc(v[e+48>>2])}b=v[a>>2];v[299999]=0;i=b;j=t[e+251|0];b=(j|0)<0;U(3050,i|0,(b?v[e+240>>2]:e+240|0)|0,(b?v[e+244>>2]:j&255)|0);b=v[299999];v[299999]=0;if((b|0)==1){break Fa}b=v[a>>2];v[299999]=0;n=(p*A[e+144>>3]+A[e+112>>3])*100;nb:{if(n<4294967296&n>=0){j=~~n>>>0;break nb}j=0}V(3049,b|0,j|0);b=v[299999];v[299999]=0;if((b|0)==1){break Fa}b=v[a>>2];v[299999]=0;V(3049,b|0,v[e+284>>2]);b=v[299999];v[299999]=0;if((b|0)==1){break Fa}i=_&1;while(1){v[299999]=0;ob:{pb:{b=E;if(!w[b+8|0]){break pb}b=v[b>>2];if(b){break pb}j=0;break ob}j=v[b>>2]}b=v[299999];v[299999]=0;if((b|0)==1){break Fa}v[e+48>>2]=v[e+284>>2];v[299999]=0;j=ma(4213,j|0,e+164|0,e+160|0,o|0,e+156|0,e+48|0,e+168|0)|0;b=v[299999];v[299999]=0;qb:{rb:{sb:{tb:{if((b|0)!=1){if(!j){break qb}if(!w[e+202|0]){break tb}p=H*A[e+176>>3];n=p;if(!i){break sb}m=v[a+36>>2];if(w[e+201|0]){j=x[e+172>>1];v[e+48>>2]=1;b=v[v[m>>2]+40>>2];v[299999]=0;V(b|0,m|0,e+48|0);b=v[299999];v[299999]=0;if((b|0)==1){break Fa}v[e+224>>2]=j;b=v[v[m>>2]+108>>2];v[299999]=0;U(b|0,e+48|0,m|0,e+224|0);b=v[299999];v[299999]=0;if((b|0)==1){break Fa}n=+z[e+64>>2];break rb}v[e+48>>2]=0;b=v[v[m>>2]+40>>2];v[299999]=0;V(b|0,m|0,e+48|0);b=v[299999];v[299999]=0;if((b|0)==1){break Fa}v[e+224>>2]=v[e+168>>2];b=v[v[m>>2]+108>>2];v[299999]=0;U(b|0,e+48|0,m|0,e+224|0);b=v[299999];v[299999]=0;if((b|0)==1){break Fa}n=+z[e+64>>2];break rb}break Fa}m=v[a+36>>2];if(w[e+201|0]){j=x[e+172>>1];v[e+48>>2]=1;b=v[v[m>>2]+40>>2];v[299999]=0;V(b|0,m|0,e+48|0);b=v[299999];v[299999]=0;if((b|0)==1){break Fa}v[e+224>>2]=j;b=v[v[m>>2]+108>>2];v[299999]=0;U(b|0,e+48|0,m|0,e+224|0);b=v[299999];v[299999]=0;if((b|0)==1){break Fa}n=+z[e+64>>2];break sb}v[e+48>>2]=0;b=v[v[m>>2]+40>>2];v[299999]=0;V(b|0,m|0,e+48|0);b=v[299999];v[299999]=0;if((b|0)==1){break Fa}v[e+224>>2]=v[e+168>>2];b=v[v[m>>2]+108>>2];v[299999]=0;U(b|0,e+48|0,m|0,e+224|0);b=v[299999];v[299999]=0;if((b|0)==1){break Fa}n=+z[e+64>>2]}p=n;n=p}j=w[e+203|0]|w[e+204|0];b=!j;K=i?r-n:r;r=K;if(j){s=A[e+184>>3];r=K+H*(i?-s:s)}I=b?M:M-H*A[e+192>>3];ub:{if(!l){break ub}v[e+88>>2]=0;v[e+92>>2]=0;v[e+72>>2]=0;v[e+76>>2]=1072693248;v[e+64>>2]=-1047329136;v[e+68>>2]=-1076850563;v[e+56>>2]=0;v[e+60>>2]=0;v[e+48>>2]=0;v[e+52>>2]=1072693248;v[299999]=0;A[e+80>>3]=I*.25881904510252074;V(4192,d|0,e+48|0);b=v[299999];v[299999]=0;if((b|0)!=1){break ub}break Fa}A[e+48>>3]=r;v[299999]=0;A[e+224>>3]=I;ke(F,e+48|0,e+224|0);b=v[299999];v[299999]=0;if((b|0)==1){break Fa}b=v[a>>2];v[299999]=0;s=A[e+48>>3]*100;vb:{if(s<4294967296&s>=0){j=~~s>>>0;break vb}j=0}V(3049,b|0,j|0);b=v[299999];v[299999]=0;if((b|0)==1){break Fa}b=v[a>>2];v[299999]=0;s=A[e+224>>3]*100;wb:{if(s<4294967296&s>=0){j=~~s>>>0;break wb}j=0}V(3049,b|0,j|0);b=v[299999];v[299999]=0;if((b|0)==1){break Fa}b=v[a>>2];v[299999]=0;V(3049,b|0,v[e+168>>2]);b=v[299999];v[299999]=0;if((b|0)==1){break Fa}b=v[a>>2];j=v[b+4>>2];b=v[b+16>>2];t[j|0]=b;t[j+1|0]=b>>>8;t[j+2|0]=b>>>16;t[j+3|0]=b>>>24;xb:{if(w[e+201|0]){v[e+44>>2]=v[e+168>>2];v[e+40>>2]=x[e+172>>1];A[e+32>>3]=r*25.4/96;A[e+24>>3]=I*25.4/96;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;b=v[v[c>>2]+280>>2];v[299999]=0;ma(b|0,c|0,e+44|0,e+40|0,e+32|0,e+24|0,e+16|0,e+8|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break xb}break Fa}v[e+44>>2]=0;b=v[v[c>>2]+16>>2];v[299999]=0;Q(b|0,c|0,e+44|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Fa}yb:{if(v[e+44>>2]!=16){break yb}v[e+32>>2]=0;b=v[v[c>>2]+252>>2];v[299999]=0;Q(b|0,c|0,e+32|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break yb}break Fa}v[e+40>>2]=v[e+168>>2];A[e+32>>3]=r*25.4/96;A[e+24>>3]=I*25.4/96;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;b=v[v[c>>2]+272>>2];v[299999]=0;aa(b|0,c|0,e+40|0,e+32|0,e+24|0,e+16|0,e+8|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break xb}break Fa}zb:{if(!f){break zb}v[e+32>>2]=4;b=v[v[c>>2]+288>>2];v[299999]=0;Q(b|0,c|0,e+32|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Fa}b=v[v[c>>2]+332>>2];v[299999]=0;S(b|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Fa}Ab:{if(w[e+201|0]){v[e+44>>2]=v[e+168>>2];v[e+40>>2]=x[e+172>>1];A[e+32>>3]=r*25.4/96;A[e+24>>3]=I*25.4/96;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;b=v[v[c>>2]+348>>2];v[299999]=0;ma(b|0,c|0,e+44|0,e+40|0,e+32|0,e+24|0,e+16|0,e+8|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break Ab}break Fa}v[e+44>>2]=v[e+168>>2];A[e+32>>3]=r*25.4/96;A[e+24>>3]=I*25.4/96;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;b=v[v[c>>2]+340>>2];v[299999]=0;aa(b|0,c|0,e+44|0,e+32|0,e+24|0,e+16|0,e+8|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break Ab}break Fa}b=v[v[c>>2]+328>>2];v[299999]=0;Q(b|0,c|0,975972)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Fa}v[e+32>>2]=4;b=v[v[c>>2]+292>>2];v[299999]=0;Q(b|0,c|0,e+32|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){b=v[v[c>>2]+324>>2];v[299999]=0;S(b|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break zb}break Fa}break Fa}if(l){v[299999]=0;R(4181,d|0);b=v[299999];v[299999]=0;if((b|0)==1){break Fa}}r=K+(i?-(p-n):p);continue}break}if(t[e+251|0]<=-1){dc(v[e+240>>2])}Cd(F)}if(Z){Ub[v[v[g>>2]+4>>2]](g)}if(k){dc(k)}if(q){v[299999]=0;R(4180,d|0);a=v[299999];v[299999]=0;if((a|0)==1){break ua}}if(G){v[299999]=0;R(4181,d|0);a=v[299999];v[299999]=0;if((a|0)==1){break ua}}if(h){v[299999]=0;St(d);a=v[299999];v[299999]=0;if((a|0)==1){break ua}}a=v[e+208>>2];if(!a){break sa}v[e+212>>2]=a;dc(a);break sa}g=P()|0;O()|0;if(t[e+251|0]>-1){break Ba}dc(v[e+240>>2]);break Ba}g=P()|0;O()|0;if(t[e+235|0]>-1){break Ca}dc(v[e+224>>2]);break Ca}g=P()|0;O()|0}if(t[e+59|0]>-1){break Ba}dc(v[e+48>>2]);Cd(F);break ta}Cd(F);break ta}g=P()|0;O()|0;Cd(F);break ta}g=P()|0;O()|0;break ta}g=P()|0;O()|0;break ta}g=P()|0;O()|0;break ta}g=P()|0;O()|0;break ta}g=P()|0;O()|0;break ta}g=P()|0;O()|0}a=v[e+208>>2];if(!a){break e}v[e+212>>2]=a;dc(a);break e}xc(y);xc(E);xc(D);xc(B);if((N|0)<=-1){dc(X)}if(t[e+331|0]<=-1){dc(v[e+320>>2])}Qb=e+336|0;return}g=P()|0;O()|0;xc(q);break e}g=P()|0;O()|0;break e}g=P()|0;O()|0;break e}g=P()|0;O()|0;break d}g=P()|0;O()|0;break c}g=P()|0;O()|0;xc(B);break b}g=P()|0;O()|0;break b}g=P()|0;O()|0}xc(y)}xc(E)}xc(D);xc(B);if((N|0)>-1){break b}dc(X)}if(t[e+331|0]<=-1){dc(v[e+320>>2])}T(g|0);L()}W(0)|0;O()|0;lc();L()}function zna(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,j=0,k=0,l=0;h=Qb-288|0;Qb=h;a:{b:{c:{d:{e:{f:{g:{h:{if(!w[b+144|0]){a=vc(h+216|0,231625,242011,164,226800,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break h}break b}k=v[d>>2];if(v[b+4>>2]==1){a=vc(h+216|0,v[282395],242011,869,339578,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break h}break b}j=fk(a,262376);v[h+280>>2]=0;v[h+284>>2]=v[282402];a=v[c>>2];i:{if(a){i=v[v[a>>2]+28>>2];v[299999]=0;U(i|0,h+216|0,a|0,1);a=v[299999];v[299999]=0;if((a|0)!=1){break i}f=P()|0;O()|0;break c}v[h+216>>2]=0}v[299999]=0;Q(4344,h+280|0,h+216|0)|0;a=v[299999];v[299999]=0;j:{if((a|0)!=1){a=v[h+216>>2];v[h+216>>2]=0;if(!a){break j}v[299999]=0;i=v[a+4>>2]-1|0;v[a+4>>2]=i;l=v[299999];v[299999]=0;if((l|0)!=1){if(i){break j}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break j}}break a}f=P()|0;O()|0;ec(h+216|0);break c}a=v[h+280>>2];v[h+284>>2]=v[(a?a+12|0:1129608)>>2];v[299999]=0;a=Nc(h+280|0,312032,-1);i=v[299999];v[299999]=0;if((i|0)==1){break g}k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{if(!(!(e?1:f)|a)){if(v[b+8>>2]){v[299999]=0;a=aa(4369,h+216|0,258665,242011,879,339578,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break z}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break h}f=P()|0;O()|0;qc(a);break c}if(e){v[299999]=0;a=aa(4369,h+216|0,312014,242011,881,339578,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break y}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break h}f=P()|0;O()|0;qc(a);break c}v[299999]=0;R(4779,h+264|0);a=v[299999];v[299999]=0;B:{C:{D:{if((a|0)!=1){v[299999]=0;V(4780,v[h+264>>2],k|0);a=v[299999];v[299999]=0;if((a|0)==1){break B}v[299999]=0;Q(4344,b+8|0,h+264|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break B}v[299999]=0;Y(4635,j|0,244368,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break B}a=v[b+8>>2];if(v[a+8>>2]>=0&v[a+12>>2]>-1){break C}v[299999]=0;a=aa(4369,h+216|0,243843,242011,889,339578,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break D}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break h}f=P()|0;O()|0;qc(a);break d}f=P()|0;O()|0;break c}f=P()|0;O()|0;break d}if(v[a+16>>2]>=50){v[299999]=0;a=aa(4369,h+216|0,334828,242011,892,339578,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break x}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break h}f=P()|0;O()|0;qc(a);break d}a=v[h+264>>2];v[h+264>>2]=0;if(!a){break A}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break A}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break A}}break a}f=P()|0;O()|0;break d}v[299999]=0;a=Nc(h+280|0,320500,-1);i=v[299999];v[299999]=0;if((i|0)==1){break g}if(!(!(g?1:e|f)|a)){v[299999]=0;$(4823,h+272|0,b|0,k|0,-1);a=v[299999];v[299999]=0;E:{F:{G:{H:{I:{if((a|0)!=1){a=v[h+272>>2];if(!a){break G}v[299999]=0;b=a+148|0;c=v[b>>2];d=v[299999];v[299999]=0;J:{if((d|0)==1){break J}if(c&1){break I}v[299999]=0;c=v[b>>2];d=v[299999];v[299999]=0;if((d|0)==1){break J}if(c&2){break I}v[299999]=0;b=v[b>>2];c=v[299999];v[299999]=0;if((c|0)==1){break J}if(b&4){break I}v[299999]=0;R(4744,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break H}}f=P()|0;O()|0;break e}f=P()|0;O()|0;break c}v[299999]=0;a=v[v[h+272>>2]+148>>2];b=v[299999];v[299999]=0;if((b|0)==1){break f}if(a&2){v[299999]=0;a=ga(4695)|0;b=v[299999];v[299999]=0;if((b|0)==1){break f}b=v[v[a>>2]+40>>2];v[299999]=0;$(b|0,a|0,v[h+272>>2],2,0);a=v[299999];v[299999]=0;if((a|0)!=1){break H}break f}v[299999]=0;a=v[v[h+272>>2]+148>>2];b=v[299999];v[299999]=0;if((b|0)==1){break f}if(!(a&4)){break H}v[299999]=0;a=ga(4695)|0;b=v[299999];v[299999]=0;if((b|0)==1){break f}b=v[v[a>>2]+40>>2];v[299999]=0;$(b|0,a|0,v[h+272>>2],4,0);a=v[299999];v[299999]=0;if((a|0)==1){break f}}v[299999]=0;a=Q(4342,h+216|0,v[h+272>>2]+72|0)|0;b=v[299999];v[299999]=0;K:{L:{M:{N:{if((b|0)!=1){v[299999]=0;V(4537,h+256|0,a|0);b=v[299999];v[299999]=0;if((b|0)==1){break N}v[299999]=0;U(4423,h+264|0,358431,h+256|0);b=v[299999];v[299999]=0;if((b|0)==1){break M}b=v[h+264>>2];b=v[(b?b+12|0:1129608)>>2];v[299999]=0;Y(4635,j|0,b|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break L}ec(h+264|0);ec(h+256|0);v[a+24>>2]=981312;v[a>>2]=981280;b=v[a+28>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Ub[v[v[b>>2]+4>>2]](b)}v[a+28>>2]=0}v[a+16>>2]=981312;b=v[a+20>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Ub[v[v[b>>2]+4>>2]](b)}v[a+20>>2]=0}ec(a+8|0);break F}f=P()|0;O()|0;break e}f=P()|0;O()|0;$c(a);break e}f=P()|0;O()|0;break K}f=P()|0;O()|0;ec(h+264|0)}ec(h+256|0);$c(a);break e}v[299999]=0;Y(4635,j|0,329020,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break E}}a=v[h+272>>2];v[h+272>>2]=0;if(!a){break A}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break A}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break A}}break a}f=P()|0;O()|0;break e}v[299999]=0;a=Nc(h+280|0,217577,-1);i=v[299999];v[299999]=0;if((i|0)==1){break g}if(!(!(e?1:f)|a)){if(v[b+24>>2]){v[299999]=0;a=aa(4369,h+216|0,220329,242011,928,339578,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break w}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break h}f=P()|0;O()|0;qc(a);break c}v[299999]=0;R(4831,h+216|0);a=v[299999];v[299999]=0;O:{if((a|0)!=1){v[299999]=0;$(4832,v[h+216>>2],d|0,0,0);a=v[299999];v[299999]=0;if((a|0)==1){break O}v[299999]=0;Q(4344,b+24|0,h+216|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break O}a=v[h+216>>2];b=v[a+40>>2];c=v[a+44>>2];a=v[a+16>>2];v[299999]=0;v[h>>2]=((a+c|0)-b|0)+1;Y(4635,j|0,292343,h|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break O}a=v[h+216>>2];v[h+216>>2]=0;if(!a){break A}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break A}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break A}}break a}f=P()|0;O()|0;break c}f=P()|0;O()|0;ec(h+216|0);break c}v[299999]=0;a=Nc(h+280|0,217572,-1);i=v[299999];v[299999]=0;if((i|0)==1){break g}if(!(!(e?1:f)|a)){if(v[b+20>>2]){v[299999]=0;a=aa(4369,h+216|0,220309,242011,941,339578,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break v}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break h}f=P()|0;O()|0;qc(a);break c}v[299999]=0;a=S(1,108)|0;c=v[299999];v[299999]=0;P:{Q:{if((c|0)==1){break Q}v[299999]=0;c=S(4833,a|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break u}v[299999]=0;v[h+216>>2]=0;Q(4336,h+216|0,c|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break Q}a=v[b+8>>2];if(!(!a|v[a+16>>2]>18)){t[v[h+216>>2]+104|0]=1}v[299999]=0;$(4834,v[h+216>>2],d|0,4835,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break P}v[299999]=0;Q(4344,b+20|0,h+216|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break P}c=v[h+216>>2];a=v[c+76>>2];c=v[c+72>>2];v[299999]=0;b=Y(4836,b|0,c|0,a|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break P}v[h+16>>2]=c;v[299999]=0;v[h+20>>2]=a;v[h+24>>2]=b;Y(4635,j|0,292421,h+16|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break P}a=v[h+216>>2];v[h+216>>2]=0;if(!a){break A}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break A}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break A}}break a}f=P()|0;O()|0;break c}f=P()|0;O()|0;ec(h+216|0);break c}v[299999]=0;a=Nc(h+280|0,239111,-1);i=v[299999];v[299999]=0;if((i|0)==1){break g}if(!(!(e?1:f)|a)){if(v[b+20>>2]){v[299999]=0;a=aa(4369,h+216|0,220309,242011,958,339578,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break t}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break h}f=P()|0;O()|0;qc(a);break c}v[299999]=0;a=b+148|0;c=v[a>>2];e=v[299999];v[299999]=0;if((e|0)==1){break g}v[299999]=0;c=c|2048;if((c|0)!=v[a>>2]){v[a>>2]=c}a=v[299999];v[299999]=0;if((a|0)==1){break g}a=0;R:{S:{T:{U:{c=v[d>>2];if(c){v[299999]=0;v[c+4>>2]=v[c+4>>2]+1;a=v[299999];v[299999]=0;if((a|0)==1){break U}a=v[d>>2]}v[299999]=0;v[h+208>>2]=a;V(4837,h+216|0,h+208|0);a=v[299999];v[299999]=0;if((a|0)==1){break T}v[299999]=0;Q(4344,b+20|0,h+216|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break S}a=v[h+216>>2];v[h+216>>2]=0;V:{if(!a){break V}v[299999]=0;c=v[a+4>>2]-1|0;v[a+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break V}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}a=v[h+208>>2];v[h+208>>2]=0;W:{if(!a){break W}v[299999]=0;c=v[a+4>>2]-1|0;v[a+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break W}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}c=v[b+20>>2];a=v[c+76>>2];c=v[c+72>>2];v[299999]=0;b=Y(4836,b|0,c|0,a|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break g}v[h+32>>2]=c;v[299999]=0;v[h+36>>2]=a;v[h+40>>2]=b;Y(4635,j|0,292448,h+32|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break g}break A}f=P()|0;O()|0;break c}f=P()|0;O()|0;break R}f=P()|0;O()|0;ec(h+216|0)}ec(h+208|0);break c}v[299999]=0;a=Nc(h+280|0,326090,-1);i=v[299999];v[299999]=0;if((i|0)==1){break g}if(!(!(e?1:f)|a)){c=b+12|0;a=v[b+12>>2];if(!a){if(v[b+16>>2]){v[299999]=0;a=aa(4369,h+216|0,287739,242011,972,339578,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break s}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break h}f=P()|0;O()|0;qc(a);break c}v[299999]=0;V(4838,h+216|0,1);a=v[299999];v[299999]=0;X:{Y:{Z:{if((a|0)!=1){e=v[h+216>>2];a=h;f=v[d>>2];if(f){v[299999]=0;v[f+4>>2]=v[f+4>>2]+1;f=v[299999];v[299999]=0;if((f|0)==1){break Z}d=v[d>>2]}else{d=0}v[a+200>>2]=d;a=v[v[e>>2]+40>>2];v[299999]=0;Q(a|0,e|0,h+200|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break Y}a=v[h+200>>2];v[h+200>>2]=0;_:{if(!a){break _}v[299999]=0;d=v[a+4>>2]-1|0;v[a+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(d){break _}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}v[299999]=0;Q(4344,c|0,h+216|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break Z}v[299999]=0;a=v[v[h+216>>2]+12>>2];if(a){a=v[a+4>>2]}else{a=0}c=v[299999];v[299999]=0;if((c|0)==1){break Z}v[299999]=0;c=v[v[h+216>>2]+12>>2];if(c){c=v[c+8>>2]}else{c=0}d=v[299999];v[299999]=0;if((d|0)==1){break Z}v[299999]=0;d=v[v[h+216>>2]+12>>2];if(d){d=v[d+4>>2]}else{d=0}e=v[299999];v[299999]=0;if((e|0)==1){break Z}v[299999]=0;e=v[v[h+216>>2]+12>>2];if(e){e=v[e+8>>2]}else{e=0}f=v[299999];v[299999]=0;if((f|0)==1){break Z}v[299999]=0;b=Y(4836,b|0,d|0,e|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Z}v[h+48>>2]=a;v[299999]=0;v[h+52>>2]=c;v[h+56>>2]=b;Y(4635,j|0,292569,h+48|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break Z}a=v[h+216>>2];v[h+216>>2]=0;if(!a){break A}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break A}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break A}}break a}f=P()|0;O()|0;break c}f=P()|0;O()|0;break X}f=P()|0;O()|0;ec(h+200|0)}ec(h+216|0);break c}v[299999]=0;v[a+4>>2]=v[a+4>>2]+1;a=v[299999];v[299999]=0;$:{aa:{ba:{if((a|0)!=1){c=v[c>>2];v[h+216>>2]=c;a=h;e=v[d>>2];if(e){v[299999]=0;v[e+4>>2]=v[e+4>>2]+1;e=v[299999];v[299999]=0;if((e|0)==1){break ba}d=v[d>>2]}else{d=0}v[a+192>>2]=d;a=v[v[c>>2]+40>>2];v[299999]=0;Q(a|0,c|0,h+192|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break aa}a=v[h+192>>2];v[h+192>>2]=0;ca:{if(!a){break ca}v[299999]=0;d=v[a+4>>2]-1|0;v[a+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(d){break ca}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}a=v[v[c>>2]+52>>2];v[299999]=0;e=S(a|0,c|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break ba}v[299999]=0;a=v[c+12>>2];if(a){a=v[a+4>>2]}else{a=0}d=v[299999];v[299999]=0;if((d|0)==1){break ba}v[299999]=0;d=v[c+12>>2];if(d){d=v[d+8>>2]}else{d=0}f=v[299999];v[299999]=0;if((f|0)==1){break ba}v[299999]=0;a=Y(4836,b|0,a|0,d|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break ba}v[h+64>>2]=e;v[299999]=0;v[h+68>>2]=a;Y(4635,j|0,292627,h- -64|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break ba}v[299999]=0;a=v[c+4>>2]-1|0;v[c+4>>2]=a;b=v[299999];v[299999]=0;if((b|0)!=1){if(a){break A}v[299999]=0;R(4338,c|0);a=v[299999];v[299999]=0;if((a|0)!=1){break A}}break a}f=P()|0;O()|0;break c}f=P()|0;O()|0;break $}f=P()|0;O()|0;ec(h+192|0)}ec(h+216|0);break c}v[299999]=0;a=Nc(h+280|0,326067,-1);i=v[299999];v[299999]=0;if((i|0)==1){break g}if(!(!f|a)){if(v[b+32>>2]?1:v[b+28>>2]){v[299999]=0;a=aa(4369,h+216|0,287763,242011,995,339578,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break r}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break h}f=P()|0;O()|0;qc(a);break c}v[299999]=0;V(4838,h+216|0,1);a=v[299999];v[299999]=0;da:{ea:{fa:{ga:{ha:{if((a|0)!=1){c=v[h+216>>2];a=h;e=v[d>>2];if(e){v[299999]=0;v[e+4>>2]=v[e+4>>2]+1;e=v[299999];v[299999]=0;if((e|0)==1){break ha}d=v[d>>2]}else{d=0}v[a+184>>2]=d;a=v[v[c>>2]+40>>2];v[299999]=0;Q(a|0,c|0,h+184|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break ga}a=v[h+184>>2];v[h+184>>2]=0;ia:{if(!a){break ia}v[299999]=0;d=v[a+4>>2]-1|0;v[a+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(d){break ia}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}a=v[v[c>>2]+16>>2];v[299999]=0;V(a|0,h+264|0,c|0);a=v[299999];v[299999]=0;if((a|0)==1){break fa}v[299999]=0;Q(4344,b+28|0,h+264|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break ea}a=v[h+264>>2];v[h+264>>2]=0;ja:{if(!a){break ja}v[299999]=0;d=v[a+4>>2]-1|0;v[a+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(d){break ja}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}v[299999]=0;a=v[c+12>>2];if(a){a=v[a+4>>2]}else{a=0}d=v[299999];v[299999]=0;if((d|0)==1){break ha}v[299999]=0;d=v[c+12>>2];if(d){d=v[d+8>>2]}else{d=0}e=v[299999];v[299999]=0;if((e|0)==1){break ha}v[299999]=0;e=v[c+12>>2];if(e){e=v[e+4>>2]}else{e=0}f=v[299999];v[299999]=0;if((f|0)==1){break ha}v[299999]=0;c=v[c+12>>2];if(c){c=v[c+8>>2]}else{c=0}f=v[299999];v[299999]=0;if((f|0)==1){break ha}v[299999]=0;b=Y(4836,b|0,e|0,c|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break ha}v[h+144>>2]=a;v[299999]=0;v[h+148>>2]=d;v[h+152>>2]=b;Y(4635,j|0,292475,h+144|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break ha}a=v[h+216>>2];v[h+216>>2]=0;if(!a){break A}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break A}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break A}}break a}f=P()|0;O()|0;break c}f=P()|0;O()|0;break da}f=P()|0;O()|0;ec(h+184|0);break da}f=P()|0;O()|0;break da}f=P()|0;O()|0;ec(h+264|0)}ec(h+216|0);break c}v[299999]=0;a=Nc(h+280|0,320516,-1);i=v[299999];v[299999]=0;if((i|0)==1){break g}ka:{if(!(!(e?1:f)|a)){if(v[b+16>>2]?1:v[b+12>>2]){v[299999]=0;a=aa(4369,h+216|0,287739,242011,1009,339578,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break q}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break h}f=P()|0;O()|0;qc(a);break c}if(!v[294599]){break ka}v[299999]=0;mP(b,1);a=v[299999];v[299999]=0;if((a|0)==1){break g}v[299999]=0;qD(b,1);a=v[299999];v[299999]=0;if((a|0)==1){break g}v[299999]=0;qP(b,1);a=v[299999];v[299999]=0;if((a|0)==1){break g}v[299999]=0;V(v[294599],h+216|0,k|0);a=v[299999];v[299999]=0;la:{if((a|0)!=1){v[299999]=0;Q(4344,b+16|0,h+216|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break la}ec(h+216|0);c=v[b+16>>2];a=x[c+8>>1];c=x[c+10>>1];v[299999]=0;b=Y(4836,b|0,c|0,a|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break g}v[h+80>>2]=c;v[299999]=0;v[h+84>>2]=a;v[h+88>>2]=b;Y(4635,j|0,292536,h+80|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break g}break A}f=P()|0;O()|0;break c}f=P()|0;O()|0;ec(h+216|0);break c}v[299999]=0;a=Nc(h+280|0,242533,-1);i=v[299999];v[299999]=0;if((i|0)==1){break g}if(!(!(e?1:f)|a)){if(v[b+16>>2]?1:v[b+12>>2]){v[299999]=0;a=aa(4369,h+216|0,287739,242011,1029,339578,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break p}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break h}f=P()|0;O()|0;qc(a);break c}v[299999]=0;qD(b,1);a=v[299999];v[299999]=0;if((a|0)==1){break g}v[299999]=0;Y(4635,j|0,329062,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break g}break A}v[299999]=0;a=Nc(h+280|0,242528,-1);i=v[299999];v[299999]=0;if((i|0)==1){break g}if(!(!(e?1:f)|a)){if(v[b+32>>2]?1:v[b+28>>2]){v[299999]=0;a=aa(4369,h+216|0,287763,242011,1054,339578,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break o}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break h}f=P()|0;O()|0;qc(a);break c}v[299999]=0;Y(4635,j|0,329043,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break g}break A}v[299999]=0;a=Nc(h+280|0,263586,-1);i=v[299999];v[299999]=0;if((i|0)==1){break g}if(!(!(e?1:f)|a)){if(v[b+12>>2]){v[299999]=0;a=aa(4369,h+216|0,287739,242011,1078,339578,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break n}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break h}f=P()|0;O()|0;qc(a);break c}v[299999]=0;Y(4635,j|0,273195,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break g}break A}v[299999]=0;a=Nc(h+280|0,263581,-1);i=v[299999];v[299999]=0;if((i|0)==1){break g}if(!(!(e?1:f)|a)){if(v[b+32>>2]?1:v[b+28>>2]){v[299999]=0;a=aa(4369,h+216|0,287763,242011,1086,339578,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break m}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break h}f=P()|0;O()|0;qc(a);break c}v[299999]=0;Y(4635,j|0,273154,0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break A}break g}v[299999]=0;a=Nc(h+280|0,217582,-1);i=v[299999];v[299999]=0;if((i|0)==1){break g}if(!(!(e?1:f)|a)){if(v[b+32>>2]?1:v[b+28>>2]){v[299999]=0;a=aa(4369,h+216|0,287763,242011,1094,339578,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break l}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break h}f=P()|0;O()|0;qc(a);break c}a=0;v[299999]=0;R(4844,h+216|0);c=v[299999];v[299999]=0;ma:{na:{oa:{if((c|0)!=1){e=v[h+216>>2];c=v[d>>2];if(c){v[299999]=0;v[c+4>>2]=v[c+4>>2]+1;a=v[299999];v[299999]=0;if((a|0)==1){break oa}a=v[d>>2]}v[299999]=0;v[h+176>>2]=a;V(4845,e|0,h+176|0);a=v[299999];v[299999]=0;if((a|0)==1){break na}ec(h+176|0);v[299999]=0;Q(4344,b+32|0,h+216|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break oa}a=v[h+216>>2];b=v[a+24>>2];c=v[a+28>>2];d=v[a+56>>2];a=v[a+60>>2];v[299999]=0;v[h+96>>2]=(a-d|0)+1;v[h+100>>2]=(c-b|0)+1;Y(4635,j|0,292367,h+96|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break oa}ec(h+216|0);break A}f=P()|0;O()|0;break c}f=P()|0;O()|0;break ma}f=P()|0;O()|0;ec(h+176|0)}ec(h+216|0);break c}v[299999]=0;a=Nc(h+280|0,326023,-1);e=v[299999];v[299999]=0;if((e|0)==1){break g}pa:{if(a){v[299999]=0;a=Nc(h+280|0,326057,-1);e=v[299999];v[299999]=0;if((e|0)==1){break g}if(a){break pa}}if(!g){break pa}c=b+12|0;a=v[b+12>>2];if(!a){v[299999]=0;V(4838,h+216|0,1);a=v[299999];v[299999]=0;qa:{ra:{sa:{ta:{ua:{if((a|0)!=1){e=v[h+216>>2];a=h;f=v[d>>2];if(f){v[299999]=0;v[f+4>>2]=v[f+4>>2]+1;f=v[299999];v[299999]=0;if((f|0)==1){break ua}d=v[d>>2]}else{d=0}v[a+168>>2]=d;a=v[v[e>>2]+40>>2];v[299999]=0;Q(a|0,e|0,h+168|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break ta}ec(h+168|0);v[299999]=0;R(4779,h+264|0);a=v[299999];v[299999]=0;if((a|0)==1){break sa}v[299999]=0;a=v[v[h+216>>2]+12>>2];if(a){a=v[a+4>>2]}else{a=0}d=v[299999];v[299999]=0;if((d|0)==1){break ra}v[v[h+264>>2]+8>>2]=a;v[299999]=0;a=v[v[h+216>>2]+12>>2];if(a){a=v[a+8>>2]}else{a=0}d=v[299999];v[299999]=0;if((d|0)==1){break ra}d=v[h+264>>2];v[d+20>>2]=100;v[d+12>>2]=a;v[299999]=0;Q(4344,c|0,h+216|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break ra}v[299999]=0;Q(4344,b+8|0,h+264|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break ra}v[299999]=0;a=v[v[h+216>>2]+12>>2];if(a){a=v[a+4>>2]}else{a=0}c=v[299999];v[299999]=0;if((c|0)==1){break ra}v[299999]=0;c=v[v[h+216>>2]+12>>2];if(c){c=v[c+8>>2]}else{c=0}d=v[299999];v[299999]=0;if((d|0)==1){break ra}v[299999]=0;d=v[v[h+216>>2]+12>>2];if(d){d=v[d+4>>2]}else{d=0}e=v[299999];v[299999]=0;if((e|0)==1){break ra}v[299999]=0;e=v[v[h+216>>2]+12>>2];if(e){e=v[e+8>>2]}else{e=0}f=v[299999];v[299999]=0;if((f|0)==1){break ra}v[299999]=0;b=Y(4836,b|0,d|0,e|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break ra}v[h+112>>2]=a;v[299999]=0;v[h+116>>2]=c;v[h+120>>2]=b;Y(4635,j|0,292597,h+112|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break ra}ec(h+264|0);ec(h+216|0);break A}f=P()|0;O()|0;break c}f=P()|0;O()|0;break qa}f=P()|0;O()|0;ec(h+168|0);break qa}f=P()|0;O()|0;break qa}f=P()|0;O()|0;ec(h+264|0)}ec(h+216|0);break c}v[299999]=0;v[a+4>>2]=v[a+4>>2]+1;a=v[299999];v[299999]=0;va:{wa:{xa:{if((a|0)!=1){c=v[c>>2];v[h+216>>2]=c;a=h;e=v[d>>2];if(e){v[299999]=0;v[e+4>>2]=v[e+4>>2]+1;e=v[299999];v[299999]=0;if((e|0)==1){break xa}d=v[d>>2]}else{d=0}v[a+160>>2]=d;a=v[v[c>>2]+40>>2];v[299999]=0;Q(a|0,c|0,h+160|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break wa}ec(h+160|0);a=v[v[c>>2]+52>>2];v[299999]=0;d=S(a|0,c|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break xa}v[299999]=0;a=v[c+12>>2];if(a){a=v[a+4>>2]}else{a=0}e=v[299999];v[299999]=0;if((e|0)==1){break xa}v[299999]=0;c=v[c+12>>2];if(c){c=v[c+8>>2]}else{c=0}e=v[299999];v[299999]=0;if((e|0)==1){break xa}v[299999]=0;a=Y(4836,b|0,a|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break xa}v[h+128>>2]=d;v[299999]=0;v[h+132>>2]=a;Y(4635,j|0,292652,h+128|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break xa}ec(h+216|0);break A}f=P()|0;O()|0;break c}f=P()|0;O()|0;break va}f=P()|0;O()|0;ec(h+160|0)}ec(h+216|0);break c}v[299999]=0;a=Nc(h+280|0,311734,-1);d=v[299999];v[299999]=0;if((d|0)==1){break g}if(!a){v[299999]=0;V(4846,h+216|0,b+72|0);a=v[299999];v[299999]=0;ya:{if((a|0)!=1){v[299999]=0;V(4847,v[h+216>>2],k|0);a=v[299999];v[299999]=0;if((a|0)==1){break ya}v[299999]=0;Q(4344,b+48|0,h+216|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break ya}v[299999]=0;Y(4635,j|0,239116,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break ya}ec(h+216|0);break A}f=P()|0;O()|0;break c}f=P()|0;O()|0;ec(h+216|0);break c}v[299999]=0;a=Nc(h+280|0,312e3,-1);d=v[299999];v[299999]=0;if((d|0)==1){break g}if(!a){v[299999]=0;R(4473,h+216|0);a=v[299999];v[299999]=0;za:{Aa:{Ba:{Ca:{Da:{if((a|0)!=1){v[299999]=0;a=v[h+216>>2];Y(4604,a|0,k|0,0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break Aa}c=v[v[a>>2]+20>>2];v[299999]=0;Z(c|0,a|0,0,0,0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break Aa}c=b+36|0;b=v[b+36>>2];if(!b){v[299999]=0;R(4473,h+264|0);b=v[299999];v[299999]=0;if((b|0)==1){break Ca}v[299999]=0;Q(4344,c|0,h+264|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Ba}ec(h+264|0);b=v[c>>2]}d=v[v[b>>2]+20>>2];v[299999]=0;Z(d|0,b|0,0,2,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Da}b=v[c>>2];v[299999]=0;Y(4604,b|0,a|0,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break Da}v[299999]=0;Y(4635,j|0,333477,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break Da}ec(h+216|0);break A}f=P()|0;O()|0;break c}f=P()|0;O()|0;break za}f=P()|0;O()|0;break za}f=P()|0;O()|0;ec(h+264|0);break za}f=P()|0;O()|0}ec(h+216|0);break c}v[299999]=0;a=lP(h+280|0);d=v[299999];v[299999]=0;if((d|0)==1){break g}if(a){v[299999]=0;R(4473,h+216|0);a=v[299999];v[299999]=0;Ea:{Fa:{Ga:{Ha:{Ia:{Ja:{Ka:{if((a|0)!=1){v[299999]=0;a=v[h+216>>2];Y(4604,a|0,k|0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Ka}d=v[v[a>>2]+20>>2];v[299999]=0;Z(d|0,a|0,0,0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Ka}d=b+36|0;b=v[b+36>>2];if(!b){v[299999]=0;R(4473,h+264|0);b=v[299999];v[299999]=0;if((b|0)==1){break Ia}v[299999]=0;Q(4344,d|0,h+264|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Ha}ec(h+264|0);b=v[d>>2]}e=v[v[b>>2]+20>>2];v[299999]=0;Z(e|0,b|0,0,2,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Ja}v[299999]=0;V(4503,h+264|0,d|0);b=v[299999];v[299999]=0;if((b|0)==1){break Ga}b=v[c>>2];c=v[(b?b+12|0:1129608)>>2];v[299999]=0;b=v[h+264>>2];U(4599,b|0,c|0,0);c=v[299999];v[299999]=0;if((c|0)==1){break Fa}v[299999]=0;Y(4849,b|0,a|0,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break Fa}v[299999]=0;R(4601,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break Fa}v[299999]=0;Y(4635,j|0,328934,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break Fa}ec(h+264|0);ec(h+216|0);break A}f=P()|0;O()|0;break c}f=P()|0;O()|0;break Ea}f=P()|0;O()|0;break Ea}f=P()|0;O()|0;break Ea}f=P()|0;O()|0;ec(h+264|0);break Ea}f=P()|0;O()|0;break Ea}f=P()|0;O()|0;ec(h+264|0)}ec(h+216|0);break c}v[299999]=0;a=kP(h+280|0);d=v[299999];v[299999]=0;if((d|0)==1){break g}if(a){v[299999]=0;R(4473,h+216|0);a=v[299999];v[299999]=0;La:{Ma:{Na:{Oa:{Pa:{Qa:{Ra:{if((a|0)!=1){v[299999]=0;a=v[h+216>>2];Y(4604,a|0,k|0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Ra}d=v[v[a>>2]+20>>2];v[299999]=0;Z(d|0,a|0,0,0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Ra}d=b+40|0;b=v[b+40>>2];if(!b){v[299999]=0;R(4473,h+264|0);b=v[299999];v[299999]=0;if((b|0)==1){break Pa}v[299999]=0;Q(4344,d|0,h+264|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Oa}ec(h+264|0);b=v[d>>2]}e=v[v[b>>2]+20>>2];v[299999]=0;Z(e|0,b|0,0,2,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Qa}v[299999]=0;V(4503,h+264|0,d|0);b=v[299999];v[299999]=0;if((b|0)==1){break Na}b=v[c>>2];c=v[(b?b+12|0:1129608)>>2];v[299999]=0;b=v[h+264>>2];U(4599,b|0,c|0,0);c=v[299999];v[299999]=0;if((c|0)==1){break Ma}v[299999]=0;Y(4849,b|0,a|0,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break Ma}v[299999]=0;R(4601,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break Ma}v[299999]=0;Y(4635,j|0,225235,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break Ma}ec(h+264|0);ec(h+216|0);break A}f=P()|0;O()|0;break c}f=P()|0;O()|0;break La}f=P()|0;O()|0;break La}f=P()|0;O()|0;break La}f=P()|0;O()|0;ec(h+264|0);break La}f=P()|0;O()|0;break La}f=P()|0;O()|0;ec(h+264|0)}ec(h+216|0);break c}v[299999]=0;a=jP(h+280|0);d=v[299999];v[299999]=0;if((d|0)==1){break g}if(a){v[299999]=0;R(4473,h+216|0);a=v[299999];v[299999]=0;Sa:{Ta:{Ua:{Va:{Wa:{Xa:{Ya:{if((a|0)!=1){v[299999]=0;a=v[h+216>>2];Y(4604,a|0,k|0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Ya}d=v[v[a>>2]+20>>2];v[299999]=0;Z(d|0,a|0,0,0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Ya}d=b+44|0;b=v[b+44>>2];if(!b){v[299999]=0;R(4473,h+264|0);b=v[299999];v[299999]=0;if((b|0)==1){break Wa}v[299999]=0;Q(4344,d|0,h+264|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Va}ec(h+264|0);b=v[d>>2]}e=v[v[b>>2]+20>>2];v[299999]=0;Z(e|0,b|0,0,2,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Xa}v[299999]=0;V(4503,h+264|0,d|0);b=v[299999];v[299999]=0;if((b|0)==1){break Ua}b=v[c>>2];c=v[(b?b+12|0:1129608)>>2];v[299999]=0;b=v[h+264>>2];U(4599,b|0,c|0,0);c=v[299999];v[299999]=0;if((c|0)==1){break Ta}v[299999]=0;Y(4849,b|0,a|0,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break Ta}v[299999]=0;R(4601,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break Ta}ec(h+264|0);ec(h+216|0);break A}f=P()|0;O()|0;break c}f=P()|0;O()|0;break Sa}f=P()|0;O()|0;break Sa}f=P()|0;O()|0;break Sa}f=P()|0;O()|0;ec(h+264|0);break Sa}f=P()|0;O()|0;break Sa}f=P()|0;O()|0;ec(h+264|0)}ec(h+216|0);break c}v[299999]=0;a=Nc(h+280|0,309184,-1);b=v[299999];v[299999]=0;if((b|0)==1){break g}if(a){break A}v[299999]=0;a=aa(4369,h+216|0,224881,242011,1244,339578,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break k}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break h}f=P()|0;O()|0;qc(a);break c}v[299999]=0;Y(4635,j|0,328479,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break g}}ec(h+280|0);Qb=h+288|0;return}f=P()|0;O()|0;break c}f=P()|0;O()|0;break c}f=P()|0;O()|0;break d}f=P()|0;O()|0;break c}f=P()|0;O()|0;break c}f=P()|0;O()|0;dc(a);break c}f=P()|0;O()|0;break c}f=P()|0;O()|0;break c}f=P()|0;O()|0;break c}f=P()|0;O()|0;break c}f=P()|0;O()|0;break c}f=P()|0;O()|0;break c}f=P()|0;O()|0;break c}f=P()|0;O()|0;break c}f=P()|0;O()|0;break c}f=P()|0;O()|0;break c}L()}f=P()|0;O()|0;break c}f=P()|0;O()|0}ec(h+272|0);break c}ec(h+264|0)}ec(h+280|0);ec(j);T(f|0);L()}b=P()|0;O()|0;qc(a);T(b|0);L()}W(0)|0;O()|0;lc();L()}function yy(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,z=0,A=0,C=0,D=0,E=0;s=Qb-32|0;Qb=s;a:{if(!a){g=1;break a}g=v[a+84>>2];if(v[a+212>>2]==1?g:0){break a}z=1;b:{c:{g=v[a+172>>2];switch(g+1|0){case 0:break a;case 1:break c;default:break b}}xu(a)}if(!(d|(!b|(c|0)<1))){g=c-1|0;e=w[g+b|0];c=(e|0)==13?g:c;z=(e|0)!=13}d:{while(1){e:{f:{g:{h:{i:{j:{k:{l:{if(!b|(c|0)<1){break l}e=v[a+36>>2];if(!e){break l}g=v[e>>2];if(!g){break l}if(v[a+172>>2]==-1){break k}k=Uu(v[g+16>>2],e);e=v[a+36>>2];h=v[e+12>>2];i=v[e+16>>2];u=Th(v[v[e>>2]+16>>2]);e=v[a+36>>2];g=0;m:{if(v[a+172>>2]){p=c;break m}p=v[e>>2];if(!p){p=c;break m}f=v[p+12>>2];if(!f){p=c;break m}p=90;n:{if(Ry(v[f>>2],324919)){break n}if(Ry(v[v[v[v[a+36>>2]>>2]+12>>2]>>2],324893)){break n}o:{if(Ry(v[v[v[v[a+36>>2]>>2]+12>>2]>>2],326325)){break o}if(Ry(v[v[v[v[a+36>>2]>>2]+12>>2]>>2],325690)){break o}p=45;break n}p=180}e=v[a+36>>2];g=v[v[e>>2]+32>>2];g=p-(g>>>0

>>0?g:0)|0;p=c>>>0>g>>>0?g:c;g=c-g|0;g=c>>>0>>0?0:g}if((Ty(v[e>>2],p,b)|0)>-1){break i}v[a+212>>2]=1;g=-1;v[a+172>>2]=-1;v[a+84>>2]=-1;c=v[a+36>>2];if(!c){break a}b=v[c+40>>2];if(b){Ub[b|0](v[c+12>>2]);c=v[a+36>>2];v[c+40>>2]=0}v[c+12>>2]=358460;v[c+16>>2]=358460;break a}if(v[a+172>>2]==-1){break k}g=v[a+36>>2];if(!g){p=c;break g}e=v[g>>2];if(!e|!v[e+12>>2]){break k}k=v[e+16>>2];if(!k|!v[e+20>>2]){break k}g=Uu(k,g);k=v[a+36>>2];h=v[k+12>>2];k=v[k+16>>2];if((cz(e,d)|0)<0){break j}Tu(v[e+16>>2],v[a+36>>2],g,k-h|0)}p=c;break h}Ub[v[259806]](v[294239],350239,0);g=81;break a}c=v[a+36>>2];Tu(v[v[c>>2]+16>>2],c,k,i-h|0);e=0;if(!g){break h}A=0;c=g;break f}c=v[a+36>>2];if(!c){break g}c=v[c>>2];if(!c){break g}x=Th(v[c+16>>2])}c=0;A=1;if(d){e=d;break f}if(x>>>0>1e7){e=d;break f}if(!u){e=d;break f}if(!x){e=d;break f}k=v[v[a+36>>2]+12>>2];if(!k){e=d;break f}h=x-u|0;if((h|0)<0){e=d;break f}p:{e=v[a+172>>2];if((e|0)==6){break p}g=v[a+292>>2];if((g|0)==2|(g|0)==5|((e|0)==8|(e|0)==9)){break p}if((g|0)==3|(e|0)==3){break p}e=d;break f}e=d;if(!fi(k+u|0,62,h)){break e}}q=e;o=Qb-240|0;Qb=o;e=v[a+36>>2];q:{if(!e){break q}if((v[e+16>>2]-v[e+12>>2]|0)>=4097){bh(e);e=v[a+36>>2];r:{if(w[v[e+16>>2]]){break r}if((cd(e)|0)>0){break r}while(1){e=v[a+40>>2];if((e|0)<2){break r}s:{t:{u:{if(!v[294256]){j=e-1|0;v[a+40>>2]=j;g=v[a+48>>2];break u}v[o+48>>2]=e;g=0;Ub[v[259806]](v[294239],354269,o+48|0);e=v[a+40>>2];if((e|0)<1){break s}j=e-1|0;v[a+40>>2]=j;g=v[a+48>>2];i=0;k=0;if((e|0)==1){break t}}i=v[((e<<2)+g|0)-8>>2];k=j}v[a+36>>2]=i;e=(k<<2)+g|0;g=v[e>>2];v[e>>2]=0}Sh(g);e=v[a+36>>2];if(w[v[e+16>>2]]){break r}if((cd(e)|0)<1){continue}break}}v[a+204>>2]=0}sF(a,o+232|0,o+228|0);if(v[a+172>>2]==-1){break q}m=a;k=a;f=a;while(1){if(v[f+212>>2]==1?v[f+84>>2]:0){break q}g=v[m+36>>2];h=v[g+16>>2];v:{if(w[h|0]){break v}e=v[f+40>>2];if((e|0)<=1){break v}while(1){w:{x:{y:{if(!v[294256]){j=e-1|0;v[f+40>>2]=j;g=v[f+48>>2];break y}v[o+32>>2]=e;g=0;Ub[v[259806]](v[294239],354269,o+32|0);e=v[f+40>>2];if((e|0)<1){break w}j=e-1|0;v[f+40>>2]=j;g=v[f+48>>2];i=0;h=0;if((e|0)==1){break x}}i=v[((e<<2)+g|0)-8>>2];h=j}v[m+36>>2]=i;e=(h<<2)+g|0;g=v[e>>2];v[e>>2]=0}Sh(g);e=v[m+36>>2];z:{if(w[v[e+16>>2]]){break z}if((cd(e)|0)>=1){break z}e=v[f+40>>2];if((e|0)>=2){continue}}g=v[m+36>>2];h=v[g+16>>2];if(w[h|0]){break v}e=v[f+40>>2];if((e|0)>1){continue}break}}e=v[g>>2];A:{if(!e){e=v[g+24>>2];break A}B:{if(!v[f+172>>2]){break B}h=v[e+20>>2];if(!h){break B}g=-1;if(!(v[h+32>>2]|!h)){e=v[h+8>>2];if(!((e|0)==v[h+24>>2]|e>>>0>2147483646)){v[h+24>>2]=e}g=v[h+20>>2];e=v[h+4>>2];if((g|0)==(e|0)|e>>>0>2147483646){e=g}else{v[h+20>>2]=e}g=!e}if(g){break B}e=v[m+36>>2];g=Uu(v[v[e>>2]+16>>2],e);e=v[m+36>>2];h=v[e+12>>2];i=v[e+16>>2];Ty(v[e>>2],0,358460);e=v[m+36>>2];Tu(v[v[e>>2]+16>>2],e,g,i-h|0)}e=Th(v[v[v[m+36>>2]>>2]+16>>2]);g=v[m+36>>2];h=v[g+16>>2]}e=e-h|0;h=v[g+12>>2];n=e+h|0;if((n|0)<1){break q}C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{V:{W:{X:{Y:{Z:{_:{$:{aa:{ba:{ca:{da:{ea:{e=v[f+172>>2];switch(e+1|0){case 0:break q;case 6:break Q;case 16:break R;case 3:break S;case 11:break T;case 12:break U;case 13:break V;case 14:break W;case 17:break X;case 4:break Y;case 15:break Z;case 5:break _;case 2:break $;case 9:break aa;case 10:break ba;case 8:break ca;case 7:break da;case 1:break ea;default:break C}}if(!v[f+256>>2]){if((n|0)<4){break q}e=v[g+16>>2];t[o+64|0]=w[e|0];t[o+65|0]=w[e+1|0];t[o+66|0]=w[e+2|0];t[o+67|0]=w[e+3|0];aq(f,cq(o- -64|0,4));e=v[f+172>>2];break C}if((n|0)<2){break q}e=v[g+16>>2];i=w[e|0];if(!i){e=v[f>>2];fa:{if(!e){break fa}e=v[e+44>>2];if(!e){break fa}Ub[e|0](v[f+4>>2],1039348)}te(f,4,0);el(f);e=v[f>>2];if(!e){break q}e=v[e+52>>2];if(!e){break q}Ub[e|0](v[f+4>>2]);break q}if(!((i|0)!=60|w[e+1|0]!=63)){if((n|0)<5){break q}if(!q){e=e-h|0;if((e|0)<0){break q}l=k;ga:{i=v[k+204>>2];i=(e|0)<(i|0)?i:e;j=i;n=v[g>>2];if(n){e=0;h=v[n+16>>2];if(!(!h|v[h+32>>2])){e=v[h>>2]}h=e;e=Th(v[v[g>>2]+16>>2])}else{e=v[g+24>>2]}e=e-1|0;if((j|0)<(e|0)){while(1){j=i+1|0;if(w[h+i|0]==63&w[j+h|0]==62){break ga}i=j;if((i|0)!=(e|0)){continue}break}i=e}v[l+204>>2]=i;break q}v[k+204>>2]=0;if((v[g+12>>2]+(i-v[g+16>>2]|0)|0)<0){break q}}e=v[f>>2];ha:{if(!e){break ha}e=v[e+44>>2];if(!e){break ha}Ub[e|0](v[f+4>>2],1039348)}ia:{e=v[v[m+36>>2]+16>>2];if(w[e+2|0]!=120|w[e+3|0]!=109|w[e+4|0]!=108){break ia}e=w[e+5|0]-9|0;if(e>>>0>23|!(1<>2];v[e+52>>2]=-2;v[f+200>>2]=v[f+200>>2]+5;g=v[e+16>>2];v[e+16>>2]=g+5;v[e+32>>2]=v[e+32>>2]+5;g=w[g+5|0];if((g|0)==37){wd(f);e=v[f+36>>2];g=w[v[e+16>>2]]}ja:{if(g&255){break ja}if((cd(e)|0)>0){break ja}vd(f)}e=w[v[v[f+36>>2]+16>>2]]-9|0;if(!(1<>>0<=23:0)){Nd(f,65,356148)}Bd(f);e=EU(f);ka:{if(!e){if(v[f+172>>2]==-1?v[f+212>>2]:0){break ka}v[f+84>>2]=96;v[i+32>>2]=247821;oc(0,0,0,f,0,1,96,3,0,0,0,0,350078,i+32|0);v[f+12>>2]=0;if(v[f+288>>2]){break ka}v[f+212>>2]=1;break ka}la:{if(ag(e,335485)){break la}if(w[f+362|0]&2){hf(f,108,356051,e);break la}if(!(w[e|0]!=49|w[e+1|0]!=46)){$l(f,97,356051,e);break la}hf(f,108,356051,e)}g=v[f+20>>2];if(g){Ub[v[259708]](g)}v[f+20>>2]=e}e=v[f+36>>2];g=v[e+16>>2];h=w[g|0];j=h-9|0;ma:{if(!(1<>>0<=23:0)){if(!((h|0)!=63|w[g+1|0]!=62)){v[f+200>>2]=v[f+200>>2]+2;v[e+16>>2]=g+2;v[e+32>>2]=v[e+32>>2]+2;g=w[g+2|0];if((g|0)==37){wd(f);e=v[f+36>>2];g=w[v[e+16>>2]]}if(g&255){break ma}if((cd(e)|0)>0){break ma}vd(f);break ma}Nd(f,65,352284)}DU(f);if(v[f+84>>2]==32|v[f+172>>2]==-1){break ma}e=v[f+36>>2];na:{if(!v[e+44>>2]){break na}g=v[e+16>>2];h=w[g|0];j=h-9|0;if(1<>>0<=23:0){break na}if(!((h|0)!=63|w[g+1|0]!=62)){v[f+200>>2]=v[f+200>>2]+2;v[e+16>>2]=g+2;v[e+32>>2]=v[e+32>>2]+2;g=w[g+2|0];if((g|0)==37){wd(f);e=v[f+36>>2];g=w[v[e+16>>2]]}if(g&255){break ma}if((cd(e)|0)>0){break ma}vd(f);break ma}Nd(f,65,352284)}oa:{if(v[f+292>>2]){break oa}e=v[f+36>>2];if((v[e+20>>2]-v[e+16>>2]|0)>249){break oa}nd(f)}Bd(f);Bd(f);pa:{qa:{e=v[f+36>>2];g=v[e+16>>2];ra:{if(w[g|0]!=115|w[g+1|0]!=116|(w[g+2|0]!=97|w[g+3|0]!=110)){break ra}if(w[g+4|0]!=100|w[g+5|0]!=97|(w[g+6|0]!=108|w[g+7|0]!=111)){break ra}if(w[g+8|0]!=110|w[g+9|0]!=101){break ra}v[f+200>>2]=v[f+200>>2]+10;v[e+16>>2]=g+10;v[e+32>>2]=v[e+32>>2]+10;g=w[g+10|0];if((g|0)==37){wd(f);e=v[f+36>>2];g=w[v[e+16>>2]]}sa:{if(g&255){break sa}if((cd(e)|0)>0){break sa}vd(f)}Bd(f);if(w[v[v[f+36>>2]+16>>2]]!=61){te(f,75,0);g=-2;break pa}xd(f);Bd(f);ta:{switch(w[v[v[f+36>>2]+16>>2]]-34|0){case 5:xd(f);ua:{va:{wa:{xa:{e=v[f+36>>2];h=v[e+16>>2];switch(w[h|0]-110|0){case 11:break wa;case 0:break xa;default:break va}}if(w[h+1|0]!=111){break va}v[f+200>>2]=v[f+200>>2]+2;v[e+16>>2]=h+2;v[e+32>>2]=v[e+32>>2]+2;g=0;h=w[h+2|0];if((h|0)==37){wd(f);e=v[f+36>>2];h=w[v[e+16>>2]]}if(h){break ua}if((cd(e)|0)>0){break ua}vd(f);break ua}if(w[h+1|0]!=101|w[h+2|0]!=115){break va}v[f+200>>2]=v[f+200>>2]+3;v[e+16>>2]=h+3;v[e+32>>2]=v[e+32>>2]+3;g=1;h=w[h+3|0];if((h|0)==37){wd(f);e=v[f+36>>2];h=w[v[e+16>>2]]}if(h){break ua}if((cd(e)|0)>0){break ua}vd(f);break ua}te(f,78,0);g=-2}if(w[v[v[f+36>>2]+16>>2]]!=39){break qa}xd(f);break pa;case 0:xd(f);ya:{za:{Aa:{Ba:{e=v[f+36>>2];h=v[e+16>>2];switch(w[h|0]-110|0){case 11:break Aa;case 0:break Ba;default:break za}}if(w[h+1|0]!=111){break za}v[f+200>>2]=v[f+200>>2]+2;v[e+16>>2]=h+2;v[e+32>>2]=v[e+32>>2]+2;g=0;h=w[h+2|0];if((h|0)==37){wd(f);e=v[f+36>>2];h=w[v[e+16>>2]]}if(h){break ya}if((cd(e)|0)>0){break ya}vd(f);break ya}if(w[h+1|0]!=101|w[h+2|0]!=115){break za}v[f+200>>2]=v[f+200>>2]+3;v[e+16>>2]=h+3;v[e+32>>2]=v[e+32>>2]+3;g=1;h=w[h+3|0];if((h|0)==37){wd(f);e=v[f+36>>2];h=w[v[e+16>>2]]}if(h){break ya}if((cd(e)|0)>0){break ya}vd(f);break ya}te(f,78,0);g=-2}if(w[v[v[f+36>>2]+16>>2]]!=34){break qa}xd(f);break pa;default:break ta}}te(f,33,0)}g=-2;break pa}te(f,34,0)}v[v[f+36>>2]+52>>2]=g;Bd(f);Ca:{Da:{Ea:{Fa:{e=v[f+36>>2];g=v[e+16>>2];switch(w[g|0]-62|0){case 0:break Ea;case 1:break Fa;default:break Da}}if(w[g+1|0]!=62){break Da}v[f+200>>2]=v[f+200>>2]+2;v[e+16>>2]=g+2;v[e+32>>2]=v[e+32>>2]+2;g=w[g+2|0];if((g|0)==37){wd(f);e=v[f+36>>2];g=w[v[e+16>>2]]}if(g&255){break ma}if((cd(e)|0)>0){break ma}vd(f);break ma}if(v[f+172>>2]==-1?v[f+212>>2]:0){break Ca}v[f+84>>2]=57;v[i+16>>2]=289731;oc(0,0,0,f,0,1,57,3,0,0,0,0,350078,i+16|0);v[f+12>>2]=0;if(v[f+288>>2]){break Ca}v[f+212>>2]=1;break Ca}Ga:{if(v[f+172>>2]==-1?v[f+212>>2]:0){break Ga}v[f+84>>2]=57;v[i>>2]=289731;oc(0,0,0,f,0,1,57,3,0,0,0,0,350078,i);v[f+12>>2]=0;if(v[f+288>>2]){break Ga}v[f+212>>2]=1}g=v[f+36>>2];e=v[g+16>>2];while(1){h=w[e|0];if(!h|(h|0)==62){break Ca}e=e+1|0;v[g+16>>2]=e;continue}}xd(f)}Qb=i+48|0;if(v[f+84>>2]==32){el(f);break q}e=v[f+36>>2];v[f+28>>2]=v[e+52>>2];Ha:{if(v[f+24>>2]){break Ha}e=v[e+44>>2];if(!e){break Ha}D=f,E=we(e),v[D+24>>2]=E}e=v[f>>2];if(!e){break D}e=v[e+48>>2];if(v[f+212>>2]|!e){break D}Ub[e|0](v[f+4>>2]);break D}D=f,E=CF(),v[D+20>>2]=E;e=v[f>>2];if(!e){break D}e=v[e+48>>2];if(v[f+212>>2]|!e){break D}Ub[e|0](v[f+4>>2]);break D}e=v[f>>2];Ia:{if(!e){break Ia}e=v[e+44>>2];if(!e){break Ia}Ub[e|0](v[f+4>>2],1039348)}e=CF();v[f+20>>2]=e;if(!e){Qd(f,0);e=v[f+172>>2];break C}e=v[f>>2];if(!e){break D}e=v[e+48>>2];if(v[f+212>>2]|!e){break D}Ub[e|0](v[f+4>>2]);break D}v[o+64>>2]=0;v[o+224>>2]=0;i=v[f+328>>2];if(v[f+40>>2]==1&(n|0)<=1){break q}e=v[g+16>>2];if(w[e|0]!=60){v[f+84>>2]=4;v[o>>2]=217707;oc(0,0,0,f,0,1,4,3,0,0,0,0,350078,o);v[f+212>>2]=1;v[f+172>>2]=-1;v[f+12>>2]=0;e=v[f+36>>2];if(e){g=v[e+40>>2];if(g){Ub[g|0](v[e+12>>2]);e=v[m+36>>2];v[e+40>>2]=0}v[e+12>>2]=358460;v[e+16>>2]=358460}e=v[f>>2];if(!e){break q}e=v[e+52>>2];if(!e){break q}break E}Ja:{if(q){break Ja}if(v[m+292>>2]){if(e>>>0>2]){break Ja}break q}if((jo(f,62,0,0)|0)<0){break q}}e=v[f+236>>2];Ka:{if(!e){e=v[f+240>>2];La:{if((e|0)>=1){e=v[f+244>>2];g=0;break La}v[f+240>>2]=e<<1;e=Ub[v[259709]](v[f+244>>2],e<<3)|0;if(!e){Qd(f,0);v[f+240>>2]=v[f+240>>2]/2;break Ka}v[f+244>>2]=e;g=v[f+236>>2]}v[(g<<2)+e>>2]=-1;g=v[f+236>>2];v[f+236>>2]=g+1;v[f+232>>2]=(g<<2)+e;break Ka}g=v[f+240>>2];h=v[v[f+232>>2]>>2];if((h|0)==-2){Ma:{if((e|0)<(g|0)){g=v[f+244>>2];break Ma}v[f+240>>2]=g<<1;g=Ub[v[259709]](v[f+244>>2],g<<3)|0;if(!g){Qd(f,0);v[f+240>>2]=v[f+240>>2]/2;break Ka}v[f+244>>2]=g;e=v[f+236>>2]}v[(e<<2)+g>>2]=-1;e=v[f+236>>2];v[f+236>>2]=e+1;v[f+232>>2]=(e<<2)+g;break Ka}Na:{if((e|0)<(g|0)){g=v[f+244>>2];break Na}v[f+240>>2]=g<<1;g=Ub[v[259709]](v[f+244>>2],g<<3)|0;if(!g){Qd(f,0);v[f+240>>2]=v[f+240>>2]/2;break Ka}v[f+244>>2]=g;e=v[f+236>>2]}v[(e<<2)+g>>2]=h;e=v[f+236>>2];v[f+236>>2]=e+1;v[f+232>>2]=(e<<2)+g}Oa:{if(v[f+324>>2]){e=lU(f,o- -64|0,o+224|0,o+236|0);break Oa}e=pU(f)}if(v[f+172>>2]==-1){break q}if(!e){e=v[f+236>>2];if((e|0)>=1){g=e-1|0;v[f+236>>2]=g;h=((e|0)==1?0:e-2|0)<<2;e=v[f+244>>2];v[f+232>>2]=h+e;v[e+(g<<2)>>2]=-1}el(f);e=v[f>>2];if(!e){break q}e=v[e+52>>2];if(e){break E}break q}Pa:{Qa:{Ra:{h=v[m+36>>2];g=v[h+16>>2];j=w[g|0]-47|0;if(j){if((j|0)==15){break Ra}else{break Qa}}if(w[g+1|0]!=62){break Qa}v[f+200>>2]=v[f+200>>2]+2;v[h+16>>2]=g+2;v[h+32>>2]=v[h+32>>2]+2;g=w[g+2|0];if((g|0)==37){wd(f);h=v[f+36>>2];g=w[v[h+16>>2]]}Sa:{if(g&255){break Sa}if((cd(h)|0)>0){break Sa}vd(f)}g=v[f>>2];Ta:{if(v[f+324>>2]){Ua:{if(!g){break Ua}g=v[g+120>>2];if(v[f+212>>2]|!g){break Ua}Ub[g|0](v[f+4>>2],e,v[o+64>>2],v[o+224>>2])}e=v[f+328>>2]-i|0;if((e|0)<1){break Ta}kU(f,e);break Ta}if(!g){break Ta}g=v[g+60>>2];if(v[f+212>>2]|!g){break Ta}Ub[g|0](v[f+4>>2],e)}if(v[f+172>>2]==-1){break q}e=v[f+236>>2];if((e|0)>=1){g=e-1|0;v[f+236>>2]=g;h=((e|0)==1?0:e-2|0)<<2;e=v[f+244>>2];v[f+232>>2]=h+e;v[e+(g<<2)>>2]=-1}e=v[f+188>>2]?7:14;break F}xd(f);break Pa}hf(f,73,349645,e);Fy(f);g=v[f+236>>2];if((g|0)<1){break Pa}h=g-1|0;v[f+236>>2]=h;j=((g|0)==1?0:g-2|0)<<2;g=v[f+244>>2];v[f+232>>2]=j+g;v[g+(h<<2)>>2]=-1}Va:{if(v[f+324>>2]){j=v[o+64>>2];l=v[o+224>>2];i=v[f+328>>2]-i|0;Wa:{g=v[f+188>>2];h=v[f+192>>2];if((g|0)>=(h|0)){v[f+192>>2]=h<<1;g=Ub[v[259709]](v[f+196>>2],h<<3)|0;if(!g){break Wa}v[f+196>>2]=g;g=Ub[v[259709]](v[f+344>>2],B(v[f+192>>2],12))|0;if(!g){break Wa}v[f+344>>2]=g;g=v[f+188>>2]}v[v[f+196>>2]+(g<<2)>>2]=e;v[f+184>>2]=e;e=B(g,12);v[e+v[f+344>>2]>>2]=j;v[(e+v[f+344>>2]|0)+4>>2]=l;v[(e+v[f+344>>2]|0)+8>>2]=i;v[f+188>>2]=g+1;break Va}v[f+192>>2]=v[f+192>>2]/2;Qd(f,0);break Va}if(f){Xa:{Ya:{g=v[f+188>>2];h=v[f+192>>2];Za:{if((g|0)<(h|0)){h=v[f+196>>2];break Za}h=Ub[v[259709]](v[f+196>>2],h<<3)|0;if(!h){break Ya}v[f+196>>2]=h;v[f+192>>2]=v[f+192>>2]<<1;g=v[f+188>>2]}v[(g<<2)+h>>2]=e;v[f+188>>2]=g+1;v[f+184>>2]=e;break Xa}Qd(f,0)}}}e=7;break F}if(v[f+40>>2]==1&(n|0)<=1){break q}j=v[g+36>>2];e=v[g+16>>2];h=w[e+1|0];l=w[e|0];i=(l|0)!=60;if(!(i|(h|0)!=47)){e=9;v[f+172>>2]=9;break C}if(!((h|0)!=63|i)){_a:{if(q){break _a}if((jo(f,63,62,0)|0)>-1){break _a}v[m+292>>2]=2;break q}Tr(f);break I}if(!i&(h|0)!=33){break J}$a:{ab:{if(!((h|0)!=33|i)){if(!(w[e+2|0]!=45|w[e+3|0]!=45)){if((n|0)<4){break q}v[g+16>>2]=e+4;g=jo(f,45,45,62);h=v[f+36>>2];v[h+16>>2]=v[h+16>>2]-4;if(!((g|0)>-1|q)){v[m+292>>2]=5;break q}Ur(f);break I}if(w[e+2|0]!=91|w[e+3|0]!=67|(w[e+4|0]!=68|w[e+5|0]!=65)){break ab}if(w[e+6|0]!=84|w[e+7|0]!=65|w[e+8|0]!=91){break ab}v[f+200>>2]=v[f+200>>2]+9;v[g+16>>2]=e+9;v[g+32>>2]=v[g+32>>2]+9;e=w[e+9|0];if((e|0)==37){wd(f);g=v[f+36>>2];e=w[v[g+16>>2]]}bb:{if(e&255){break bb}if((cd(g)|0)>0){break bb}vd(f)}e=8;v[f+172>>2]=8;break C}if((l|0)!=38){break $a}if(!q){if((jo(f,59,0,0)|0)<0){break q}}tU(f);break H}if((n|0)<9){break q}}cb:{if(q|(v[f+40>>2]!=1|(n|0)>299)){break cb}if(v[m+292>>2]){if(e>>>0<=y[o+232>>2]){break cb}break q}if((jo(f,60,0,0)|0)<0){break q}}v[f+204>>2]=0;xU(f);break H}if((n|0)<2){break q}db:{if(q){break db}if(v[m+292>>2]){e=v[o+228>>2];if(!e){break q}if(e>>>0>y[g+16>>2]){break db}break q}e=v[g+16>>2]-h|0;if((e|0)<0){break q}eb:{j=k;i=v[j+204>>2];e=(e|0)<(i|0)?i:e;l=e;i=v[g>>2];if(i){h=0;i=v[i+16>>2];if(!(!i|v[i+32>>2])){h=v[i>>2]}i=Th(v[v[g>>2]+16>>2])}else{i=v[g+24>>2]}if((l|0)<(i|0)){while(1){if(w[e+h|0]==62){break eb}e=e+1|0;if((i|0)!=(e|0)){continue}break}e=i}v[j+204>>2]=e;break q}v[k+204>>2]=0;if((v[g+12>>2]+(e-v[g+16>>2]|0)|0)<0){break q}}fb:{if(v[f+324>>2]){e=v[f+344>>2]+B(v[f+188>>2],12)|0;jU(f,v[e-12>>2],v[e-8>>2],0,v[e-4>>2],0);g=v[f+188>>2];if((g|0)<1){break fb}i=g-1|0;v[f+188>>2]=i;h=v[f+196>>2];v[f+184>>2]=(g|0)!=1?v[(h+(g<<2)|0)-8>>2]:0;v[h+(i<<2)>>2]=0;break fb}nU(f,0)}if(v[f+172>>2]==-1){break q}if(v[f+188>>2]){break P}e=14;v[f+172>>2]=14;break C}gb:{hb:{ib:{e=v[g+16>>2]-h|0;jb:{if((e|0)<0){break jb}l=k;kb:{i=v[k+204>>2];e=(e|0)<(i|0)?i:e;j=e;i=v[g>>2];if(i){h=0;i=v[i+16>>2];if(!(!i|v[i+32>>2])){h=v[i>>2]}i=Th(v[v[g>>2]+16>>2])}else{i=v[g+24>>2]}i=i-2|0;if((j|0)<(i|0)){while(1){j=e;r=e+h|0;e=e+1|0;if(!(w[r|0]!=93|w[h+e|0]!=93)&w[r+2|0]==62){break kb}if((e|0)!=(i|0)){continue}break}e=i}v[l+204>>2]=e;break jb}v[k+204>>2]=0;e=v[g+12>>2]+(j-v[g+16>>2]|0)|0;if((e|0)>-1){break ib}}if((n|0)<302){break q}g=v[m+36>>2];e=v[g+16>>2];j=fU(e,300,0);if((j|0)<=-1){e=e-j|0;v[g+16>>2]=e;break hb}g=v[f>>2];lb:{if(v[f+212>>2]|!g){break lb}h=v[g+100>>2];if(!h){h=v[g+68>>2];if(!h){break lb}}Ub[h|0](v[f+4>>2],e,j)}if(v[f+172>>2]==-1){break q}g=0;e=v[m+36>>2];mb:{if((j|0)<=0){h=v[e+16>>2];break mb}h=v[e+16>>2];while(1){i=e;nb:{if(w[h|0]==10){v[e+28>>2]=v[e+28>>2]+1;l=1;break nb}l=v[e+32>>2]+1|0}v[i+32>>2]=l;v[f+200>>2]=v[f+200>>2]+1;h=h+1|0;v[e+16>>2]=h;g=g+1|0;if((j|0)!=(g|0)){continue}break}}g=w[h|0];if((g|0)==37){wd(f);e=v[f+36>>2];g=w[v[e+16>>2]]}ob:{if(g&255){break ob}if((cd(e)|0)>0){break ob}vd(f)}v[k+204>>2]=0;break q}i=v[m+36>>2];g=v[i+16>>2];h=fU(g,e,1);if((h|0)>=0&(e|0)==(h|0)){break gb}e=g-h|0;v[i+16>>2]=e}g=w[e|0];k=w[e+1|0];h=w[e+2|0];v[o+28>>2]=w[e+3|0];v[o+24>>2]=h;v[o+20>>2]=k;v[o+16>>2]=g;e=o- -64|0;Ai(e,149,354752,o+16|0);Ij(f,9,237225,e);break q}h=v[f>>2];pb:{if(!(e|!h)){h=v[h+100>>2];if(v[f+212>>2]|!h|(g-v[i+12>>2]|0)<9){break pb}if(Oc(g-9|0,308929,9)){break pb}Ub[h|0](v[f+4>>2],358460,0);break pb}if(v[f+212>>2]|(!h|(e|0)<1)){break pb}i=v[h+100>>2];if(i){Ub[i|0](v[f+4>>2],g,e);break pb}h=v[h+68>>2];if(!h){break pb}Ub[h|0](v[f+4>>2],g,e)}if(v[f+172>>2]==-1){break q}h=0;e=e+2|0;l=(e|0)>0?e:0;e=v[m+36>>2];g=v[e+16>>2];while(1){i=e;qb:{if(w[g|0]==10){v[e+28>>2]=v[e+28>>2]+1;j=1;break qb}j=v[e+32>>2]+1|0}v[i+32>>2]=j;v[f+200>>2]=v[f+200>>2]+1;g=g+1|0;v[e+16>>2]=g;i=(h|0)!=(l|0);h=h+1|0;if(i){continue}break}g=w[g|0];if((g|0)==37){wd(f);e=v[f+36>>2];g=w[v[e+16>>2]]}rb:{if(g&255){break rb}if((cd(e)|0)>0){break rb}vd(f)}v[k+204>>2]=0;break P}Bd(f);i=v[f+36>>2];e=v[i>>2];sb:{if(!e){g=v[i+24>>2];break sb}g=Th(v[e+16>>2]);i=v[m+36>>2]}h=v[i+12>>2];e=v[i+16>>2];j=h+(g-e|0)|0;if((j|0)<2){break q}l=w[e|0]!=60;g=w[e+1|0];if(!(l|(g|0)!=63)){tb:{if(q){break tb}e=e-h|0;ub:{if((e|0)<0){break ub}l=k;vb:{g=v[k+204>>2];g=(e|0)<(g|0)?g:e;j=g;n=v[i>>2];if(n){e=0;h=v[n+16>>2];if(!(!h|v[h+32>>2])){e=v[h>>2]}h=e;e=Th(v[v[i>>2]+16>>2])}else{e=v[i+24>>2]}e=e-1|0;if((j|0)<(e|0)){while(1){j=g+1|0;if(w[g+h|0]==63&w[j+h|0]==62){break vb}g=j;if((g|0)!=(e|0)){continue}break}g=e}v[l+204>>2]=g;break ub}v[k+204>>2]=0;if((v[i+12>>2]+(g-v[i+16>>2]|0)|0)>-1){break tb}}v[m+292>>2]=2;break q}Tr(f);if(v[f+172>>2]==-1){break q}break L}if(!((g|0)!=33|l)){wb:{g=w[e+2|0];if((g|0)!=68){if((g|0)!=45|w[e+3|0]!=45){break wb}xb:{if(q){break xb}if((jo(f,45,45,62)|0)>-1){break xb}v[m+292>>2]=5;break q}Ur(f);if(v[f+172>>2]!=-1){break L}break q}if(w[e+3|0]!=79|w[e+4|0]!=67|(w[e+5|0]!=84|w[e+6|0]!=89)){break wb}if(w[e+7|0]!=80|w[e+8|0]!=69){break wb}yb:{if(q){break yb}if((jo(f,62,0,0)|0)>-1){break yb}v[m+292>>2]=3;break q}v[f+292>>2]=0;v[f+216>>2]=1;v[f+204>>2]=0;h=Qb-16|0;Qb=h;v[h+12>>2]=0;v[f+200>>2]=v[f+200>>2]+9;g=v[f+36>>2];v[g+32>>2]=v[g+32>>2]+9;e=v[g+16>>2];v[g+16>>2]=e+9;e=w[e+9|0];if((e|0)==37){wd(f);g=v[f+36>>2];e=w[v[g+16>>2]]}zb:{if(e){break zb}if((cd(g)|0)>0){break zb}vd(f)}Bd(f);e=nh(f);if(!e){Nd(f,68,357379)}v[f+220>>2]=e;Bd(f);g=Cy(f,h+12|0,1);i=v[h+12>>2];if(g|i){v[f+88>>2]=1}v[f+228>>2]=i;v[f+224>>2]=g;Bd(f);j=v[f>>2];Ab:{if(!j){break Ab}j=v[j>>2];if(v[f+212>>2]|!j){break Ab}Ub[j|0](v[f+4>>2],e,i,g)}Bb:{if(v[f+172>>2]==-1){break Bb}e=w[v[v[f+36>>2]+16>>2]];Cb:{if((e|0)==62){break Cb}if((e|0)==91){break Bb}v[f+84>>2]=61;v[h>>2]=290042;oc(0,0,0,f,0,1,61,3,0,0,0,0,350078,h);v[f+12>>2]=0;if(v[f+288>>2]){break Cb}v[f+212>>2]=1}xd(f)}Qb=h+16|0;if(v[f+172>>2]==-1){break q}if(w[v[v[m+36>>2]+16>>2]]==91){break M}v[f+216>>2]=2;e=v[f>>2];Db:{if(v[f+212>>2]|!e){break Db}e=v[e+104>>2];if(!e){break Db}Ub[e|0](v[f+4>>2],v[f+220>>2],v[f+228>>2],v[f+224>>2])}v[f+216>>2]=0;hU(f);e=4;v[f+172>>2]=4;break C}if((j|0)<9){break q}}v[f+292>>2]=6;v[f+172>>2]=6;sF(f,o+232|0,o+228|0);e=v[f+172>>2];break C}Bd(f);i=v[f+36>>2];e=v[i>>2];Eb:{if(!e){g=v[i+24>>2];break Eb}g=Th(v[e+16>>2]);i=v[m+36>>2]}h=v[i+12>>2];e=v[i+16>>2];j=h+(g-e|0)|0;if((j|0)<2){break q}l=w[e|0]!=60;g=w[e+1|0];if(!(l|(g|0)!=63)){Fb:{if(q){break Fb}e=e-h|0;Gb:{if((e|0)<0){break Gb}l=k;Hb:{g=v[k+204>>2];g=(e|0)<(g|0)?g:e;j=g;n=v[i>>2];if(n){e=0;h=v[n+16>>2];if(!(!h|v[h+32>>2])){e=v[h>>2]}h=e;e=Th(v[v[i>>2]+16>>2])}else{e=v[i+24>>2]}e=e-1|0;if((j|0)<(e|0)){while(1){j=g+1|0;if(w[g+h|0]==63&w[j+h|0]==62){break Hb}g=j;if((g|0)!=(e|0)){continue}break}g=e}v[l+204>>2]=g;break Gb}v[k+204>>2]=0;if((v[i+12>>2]+(g-v[i+16>>2]|0)|0)>-1){break Fb}}v[m+292>>2]=2;break q}Tr(f);if(v[f+172>>2]==-1){break q}break N}if(!((g|0)!=33|l)){if(!(w[e+2|0]!=45|w[e+3|0]!=45)){Ib:{if(q){break Ib}if((jo(f,45,45,62)|0)>-1){break Ib}v[m+292>>2]=5;break q}Ur(f);if(v[f+172>>2]!=-1){break N}break q}if((j|0)<4){break q}}v[f+172>>2]=6;if(!v[m+292>>2]){v[m+292>>2]=6}sF(f,o+232|0,o+228|0);break G}Bd(f);j=v[f+36>>2];e=v[j>>2];Jb:{if(!e){g=v[j+24>>2];break Jb}g=Th(v[e+16>>2]);j=v[m+36>>2]}e=v[j+16>>2];h=g-e|0;g=v[j+12>>2];i=h+g|0;if((i|0)<2){break q}l=w[e|0]!=60;h=w[e+1|0];if(!(l|(h|0)!=63)){Kb:{if(q){break Kb}e=e-g|0;Lb:{if((e|0)<0){break Lb}l=k;Mb:{h=v[k+204>>2];h=(e|0)<(h|0)?h:e;i=h;n=v[j>>2];if(n){e=0;g=v[n+16>>2];if(!(!g|v[g+32>>2])){e=v[g>>2]}g=e;e=Th(v[v[j>>2]+16>>2])}else{e=v[j+24>>2]}e=e-1|0;if((i|0)<(e|0)){while(1){i=h+1|0;if(w[g+h|0]==63&w[i+g|0]==62){break Mb}h=i;if((h|0)!=(e|0)){continue}break}h=e}v[l+204>>2]=h;break Lb}v[k+204>>2]=0;if((v[j+12>>2]+(h-v[j+16>>2]|0)|0)>-1){break Kb}}v[m+292>>2]=2;break q}Tr(f);if(v[f+172>>2]==-1){break q}break O}if(!((h|0)!=33|l)){if(!(w[e+2|0]!=45|w[e+3|0]!=45)){Nb:{if(q){break Nb}e=e-g|0;Ob:{if((e|0)<0){break Ob}l=k;Pb:{h=v[k+204>>2];e=(e|0)<(h|0)?h:e;i=e;h=v[j>>2];if(h){g=0;h=v[h+16>>2];if(!(!h|v[h+32>>2])){g=v[h>>2]}h=Th(v[v[j>>2]+16>>2])}else{h=v[j+24>>2]}h=h-2|0;if((i|0)<(h|0)){while(1){i=e;n=e+g|0;e=e+1|0;if(!(w[n|0]!=45|w[g+e|0]!=45)&w[n+2|0]==62){break Pb}if((e|0)!=(h|0)){continue}break}e=h}v[l+204>>2]=e;break Ob}v[k+204>>2]=0;if((v[j+12>>2]+(i-v[j+16>>2]|0)|0)>-1){break Nb}}v[m+292>>2]=5;break q}Ur(f);if(v[f+172>>2]!=-1){break O}break q}if((i|0)<4){break q}}te(f,5,0);el(f);e=v[f>>2];if(!e){break q}e=v[e+52>>2];if(!e){break q}Ub[e|0](v[f+4>>2]);break q}e=v[g+16>>2]-h|0;if((e|0)<0){break q}h=v[k+204>>2];i=0;g=v[v[g>>2]+16>>2];if(!(!g|v[g+32>>2])){i=v[g>>2]}j=i;g=0;l=k;e=(e|0)<(h|0)?h:e;n=Th(v[v[v[m+36>>2]>>2]+16>>2]);Qb:{Rb:{if(e>>>0>=n>>>0){break Rb}while(1){h=g;i=e+j|0;g=w[i|0];Sb:{r=h&255;if(r){g=(g|0)==(r|0)?0:h;break Sb}Tb:{Ub:{Vb:{if(!((g|0)!=60|n>>>0<=e+4>>>0)){if(w[i+1|0]!=33|w[i+2|0]!=45){break Vb}g=e+3|0;if(w[g+j|0]!=45){break Vb}h=60;if(g>>>0>=n>>>0){break Rb}while(1){Wb:{g=e+1|0;if((h&255)!=45|w[g+j|0]!=45){break Wb}h=e+2|0;if(w[h+j|0]!=62){break Wb}g=0;e=h;break Sb}if(n>>>0<=e+4>>>0){break Ub}h=w[g+j|0];e=g;continue}}Xb:{switch(g-34|0){case 5:g=39;break Sb;case 0:break Sb;case 1:case 2:case 3:case 4:break Vb;default:break Xb}}if((g|0)==93){break Tb}}g=0;break Sb}e=n-3|0;break Rb}h=e+1|0;if(h>>>0>=n>>>0){break Rb}g=0;i=w[h+j|0];if((i|0)==93){e=h;break Sb}r=n-e|0;h=1;while(1){C=i-9|0;if(!(C>>>0>23|!(1<>2]=0;l=Qb-48|0;Qb=l;e=w[v[v[f+36>>2]+16>>2]];Yb:{if((e|0)!=91){break Yb}v[f+172>>2]=3;xd(f);g=v[f+36>>2];j=v[g+16>>2];Zb:{if(w[j|0]==93){break Zb}while(1){if(v[f+172>>2]==-1){break Zb}r=v[g+36>>2];Bd(f);wF(f);By(f);g=v[f+36>>2];i=v[g+16>>2];_b:{if(w[i|0]){break _b}e=v[f+40>>2];if((e|0)<=1){break _b}while(1){$b:{ac:{bc:{if(!v[294256]){i=e-1|0;v[f+40>>2]=i;g=v[f+48>>2];break bc}v[l+32>>2]=e;g=0;Ub[v[259806]](v[294239],354269,l+32|0);e=v[f+40>>2];if((e|0)<1){break $b}i=e-1|0;v[f+40>>2]=i;g=v[f+48>>2];n=0;h=0;if((e|0)==1){break ac}}n=v[((e<<2)+g|0)-8>>2];h=i}v[f+36>>2]=n;e=(h<<2)+g|0;g=v[e>>2];v[e>>2]=0}Sh(g);e=v[f+36>>2];cc:{if(w[v[e+16>>2]]){break cc}if((cd(e)|0)>=1){break cc}e=v[f+40>>2];if((e|0)>=2){continue}}g=v[f+36>>2];i=v[g+16>>2];if(w[i|0]){break _b}e=v[f+40>>2];if((e|0)>1){continue}break}}if(!((i|0)!=(j|0)|(r|0)!=v[g+36>>2])){if(v[f+172>>2]==-1?v[f+212>>2]:0){break Zb}v[f+84>>2]=1;v[l+20>>2]=350866;v[l+16>>2]=238159;oc(0,0,0,f,0,1,1,3,350866,0,0,0,349936,l+16|0);v[f+12>>2]=0;if(v[f+288>>2]){break Zb}v[f+212>>2]=1;break Zb}j=v[g+16>>2];if(w[j|0]!=93){continue}break}}e=w[v[v[f+36>>2]+16>>2]];if((e|0)!=93){break Yb}xd(f);Bd(f);e=w[v[v[f+36>>2]+16>>2]]}dc:{if((e&255)!=62){if(v[f+172>>2]==-1?v[f+212>>2]:0){break dc}v[f+84>>2]=61;v[l>>2]=290042;oc(0,0,0,f,0,1,61,3,0,0,0,0,350078,l);v[f+12>>2]=0;if(v[f+288>>2]){break dc}v[f+212>>2]=1;break dc}xd(f)}Qb=l+48|0;if(v[f+172>>2]==-1){break q}v[f+216>>2]=2;e=v[f>>2];ec:{if(v[f+212>>2]|!e){break ec}e=v[e+104>>2];if(!e){break ec}Ub[e|0](v[f+4>>2],v[f+220>>2],v[f+228>>2],v[f+224>>2])}v[f+216>>2]=0;hU(f);if(v[f+172>>2]==-1){break q}v[f+172>>2]=4;e=4;break K}e=e+1|0;if(n>>>0>e>>>0){continue}break}k=0;if(g&255){break Qb}}k=e}v[l+204>>2]=k;break q}Ub[v[259806]](v[294239],355073,0);break J}Ub[v[259806]](v[294239],355028,0);break J}Ub[v[259806]](v[294239],355460,0);break J}Ub[v[259806]](v[294239],355417,0);break P}Ub[v[259806]](v[294239],354986,0);break M}Ub[v[259806]](v[294239],355340,0);break P}Ub[v[259806]](v[294239],321261,0);break M}Ub[v[259806]](v[294239],354788,0)}e=7;v[f+172>>2]=7;break C}e=14;break F}e=4;break F}e=3;v[f+172>>2]=3;break C}v[f+172>>2]=1;v[m+292>>2]=1;e=1}v[k+204>>2]=0;break C}e=6;v[f+172>>2]=6;break C}v[f+292>>2]=1;v[f+172>>2]=7}h=v[m+36>>2];g=v[h+16>>2];fc:{if(w[g|0]|v[f+40>>2]<=1){break fc}while(1){vd(f);h=v[f+36>>2];g=v[h+16>>2];if(w[g|0]){break fc}if(v[f+40>>2]>=2){continue}break}}if((e|0)!=(g|0)|(j|0)!=v[h+36>>2]){break G}te(f,1,347957);el(f);e=v[f+172>>2];break C}e=v[f+172>>2];break C}v[f+172>>2]=e;v[m+292>>2]=1;break C}Ub[e|0](v[f+4>>2]);break q}e=1;v[f+172>>2]=1}if((e|0)!=-1){continue}break}}Qb=o+240|0}if(v[a+172>>2]==-1){break d}e=v[a+36>>2];gc:{if(!e){e=0;break gc}g=v[e+16>>2];if((v[e+20>>2]-g|0)<=1e7&(g-v[e+12>>2]|0)<10000001|w[a+362|0]&8){break gc}v[a+84>>2]=1;v[s+20>>2]=240671;v[s+16>>2]=238159;e=0;oc(0,0,0,a,0,1,1,3,240671,0,0,0,349936,s+16|0);v[a+212>>2]=1;v[a+172>>2]=-1;v[a+12>>2]=0;g=v[a+36>>2];if(!g){break gc}e=v[g+40>>2];hc:{if(!e){e=g;break hc}Ub[e|0](v[g+12>>2]);e=v[a+36>>2];v[e+40>>2]=0}v[e+12>>2]=358460;v[e+16>>2]=358460}g=v[a+84>>2];if(v[a+212>>2]==1?g:0){break a}if(!A){b=b+p|0;continue}break}ic:{if(!e|z){break ic}b=v[e>>2];if(!b){break ic}c=Uu(v[b+16>>2],e);b=v[a+36>>2];e=v[b+12>>2];g=v[b+16>>2];Ty(v[b>>2],1,346809);b=v[a+36>>2];Tu(v[v[b>>2]+16>>2],b,c,g-e|0)}if(d){c=v[a+36>>2];if(c){b=v[c>>2];jc:{if(!b){e=v[c+24>>2];break jc}e=Th(v[b+16>>2]);c=v[a+36>>2]}b=v[c+12>>2]+(e-v[c+16>>2]|0)|0}else{b=0}c=v[a+172>>2];d=c+1|0;if(!(!d|(d|0)==15)){te(a,5,0);c=v[a+172>>2]}if(!((c|0)!=14|(b|0)<1)){v[a+84>>2]=5;v[s>>2]=228778;oc(0,0,0,a,0,1,5,3,0,0,0,0,350078,s);v[a+12>>2]=0;if(!v[a+288>>2]){v[a+212>>2]=1}c=v[a+172>>2]}kc:{if((c|0)==-1){break kc}b=v[a>>2];if(!b){break kc}b=v[b+52>>2];if(!b){break kc}Ub[b|0](v[a+4>>2])}v[a+172>>2]=-1}g=0;if(v[a+12>>2]){break a}}g=v[a+84>>2]}Qb=s+32|0;return g}function E2(a,b){var 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,u=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,Y=0,Z=0,_=0,$=0,aa=0;G=b;Q=Qb-16|0;Qb=Q;a:{b:{c:{d:{e:{f:{U=v[a+56>>2];g:{if((U|0)>=1){R=v[G+36>>2];while(1){b=v[R+20>>2];if((b|0)>=1){S=v[R+24>>2];while(1){I=b;N=v[S+4>>2];h:{if(!N){break h}b=v[S>>2];if((b|0)<1){break h}while(1){K=b;i:{if(!v[N+4>>2]){break i}b=v[S+40>>2];if((b|0)<1){break i}V=v[N>>2];while(1){O=b;u=v[V+28>>2];j:{if(!u){break j}b=v[V+24>>2];if((b|0)<1){break j}while(1){T=b;b=v[G+36>>2];k:{if(v[u+36>>2]){break k}c=v[u+40>>2];c=yj(v[c+20>>2]+2|0,v[c+24>>2]+2|0);v[u+36>>2]=c;if(c){break k}b=-1;break g}l:{m:{r=v[u+4>>2];if(!r){break m}P=R-b>>5;Z=u+4|0;while(1){if(v[r+36>>2]>16383){break m}n:{b=v[r+24>>2];if(b){Dm(b);v[v[r+24>>2]+60>>2]=0;o:{p:{q:{switch(v[r+20>>2]-1|0){case 0:b=v[u+28>>2];if(!b){c=jc(36);r:{if(c){v[c+20>>2]=19;v[c+24>>2]=0;b=jc(76);v[c+16>>2]=b;if(b){v[c+12>>2]=b;if(v[c+24>>2]){m2(c);b=v[c+16>>2]}k=v[c+20>>2];if((k|0)<1){break r}d=k-1|0;i=k&7;if(i){while(1){v[b>>2]=1033792;b=b+4|0;k=k-1|0;i=i-1|0;if(i){continue}break}}if(d>>>0<7){break r}while(1){v[b+28>>2]=1033792;v[b+24>>2]=1033792;v[b+20>>2]=1033792;v[b+16>>2]=1033792;v[b+12>>2]=1033792;v[b+8>>2]=1033792;v[b+4>>2]=1033792;v[b>>2]=1033792;b=b+32|0;d=(k|0)>8;k=k-8|0;if(d){continue}break}break r}dc(c)}c=0}d=c;v[u+28>>2]=c;b=-1;if(!c){break g}l2(d);b=v[u+28>>2]}v[b+24>>2]=v[r+24>>2];m2(v[u+28>>2]);break p;default:X(13880,7698,231,189204);L();case 1:break q}}if(v[u+32>>2]){break p}b=gB(v[r+24>>2],15703);v[u+32>>2]=b;if(!b){break o}}W=0;if(v[r+12>>2]<=0){break n}while(1){b=v[u+16>>2];d=v[N+20>>2];s:{if((b|0)<=(d|0)){break s}c=w[(v[v[G+32>>2]+24>>2]+B(P,488)|0)+417|0];if((c-d|0)<=(b|0)?c:0){break s}Sc(22158,0);b=v[u+16>>2];d=v[N+20>>2]}c=b;b=v[r+8>>2]+W|0;d=(v[N+28>>2]+d|0)+(c+(((b-v[u+24>>2]|0)+2|0)/3|0)^-1)|0;if((d|0)<0){break l}_=(b+2|0)%3|0;t:{u:{v:{w:{if((d|0)<31){l=0;x:{switch(_|0){case 1:break v;case 2:break w;case 0:break x;default:break t}}if(v[r+20>>2]!=1){break u}b=v[u+40>>2];q=v[b+20>>2];c=0;f=0;i=v[u+36>>2];if(v[i+20>>2]>=2){k=v[i+28>>2];f=v[k+4>>2]-v[k>>2]>>2}if((q|0)>=2){c=v[b+28>>2];c=v[c+4>>2]-v[c>>2]>>2}l=1;if((q|0)<1){break t}g=v[b+24>>2];if((g|0)<1){break t}e=v[u+28>>2];d=1<>>1|d;h=0-n|0;F=w[(v[v[G+32>>2]+24>>2]+B(P,488)|0)+418|0]&8;C=0-f|0;D=v[N+8>>2]<<8;p=c<<2;y=f<<2;i=v[v[i+28>>2]+4>>2]+4|0;o=v[v[b+28>>2]>>2];while(1){J=(q|0)<4;M=J?q:4;c=g;d=i;f=o;while(1){k=c;c=v[d>>2];b=c&255;if(!(!b|c&20480)){b=v[e+16>>2]+(v[((b|D)<<2)+1131824>>2]<<2)|0;v[e+12>>2]=b;j=v[b>>2];b=v[j>>2];m=v[e+4>>2]-b|0;v[e+4>>2]=m;A=v[e>>2];y:{if(b>>>0<=A>>>16>>>0){v[e>>2]=A-(b<<16);b=v[j+4>>2];if(m&32768){break y}b=gg(e);break y}b=fg(e)}if(b){j=(c>>>4&255)<<2;b=v[e+16>>2]+(v[j+1136944>>2]<<2)|0;v[e+12>>2]=b;m=v[b>>2];b=v[m>>2];A=v[e+4>>2]-b|0;v[e+4>>2]=A;c=d+y|0;z=v[e>>2];z:{if(b>>>0<=z>>>16>>>0){v[e>>2]=z-(b<<16);b=v[m+4>>2];if(A&32768){break z}b=gg(e);break z}b=fg(e)}m=b^v[j+1135920>>2];A:{B:{C:{if(F){v[c+4>>2]=v[c+4>>2]|8;b=c-4|0;v[b>>2]=v[b>>2]|1;b=v[c>>2];if(m){b=b|272;break B}b=b|16;break C}b=(C<<2)+d|0;v[b+4>>2]=v[b+4>>2]|4;j=b-4|0;v[j>>2]=v[j>>2]|2;j=c-4|0;v[j>>2]=v[j>>2]|1;v[c+4>>2]=v[c+4>>2]|8;j=v[b>>2];if(m){v[b>>2]=j|1088;b=v[c>>2]|272;break B}v[b>>2]=j|64;b=v[c>>2]|16}A=128;j=32;break A}A=2176;j=544}v[c>>2]=b;b=d-4|0;v[b>>2]=v[b>>2]|j;v[d+4>>2]=A|v[d+4>>2];v[d>>2]=v[d>>2]|4096;v[f>>2]=m?h:n}v[d>>2]=v[d>>2]|16384}D:{if((M|0)<2){break D}m=f+p|0;b=d+y|0;j=v[b>>2];c=j&255;if(!(!c|j&20480)){c=v[e+16>>2]+(v[((c|D)<<2)+1131824>>2]<<2)|0;v[e+12>>2]=c;A=v[c>>2];c=v[A>>2];z=v[e+4>>2]-c|0;v[e+4>>2]=z;E=v[e>>2];E:{if(c>>>0<=E>>>16>>>0){v[e>>2]=E-(c<<16);c=v[A+4>>2];if(z&32768){break E}c=gg(e);break E}c=fg(e)}if(c){A=(j>>>4&255)<<2;c=v[e+16>>2]+(v[A+1136944>>2]<<2)|0;v[e+12>>2]=c;j=v[c>>2];c=v[j>>2];z=v[e+4>>2]-c|0;v[e+4>>2]=z;E=v[e>>2];F:{if(c>>>0<=E>>>16>>>0){v[e>>2]=E-(c<<16);j=v[j+4>>2];if(z&32768){break F}j=gg(e);break F}j=fg(e)}A=v[A+1135920>>2];c=d-4|0;v[c>>2]=v[c>>2]|2;v[d+4>>2]=v[d+4>>2]|4;c=b+y|0;z=c-4|0;v[z>>2]=v[z>>2]|1;v[c+4>>2]=v[c+4>>2]|8;j=(j|0)==(A|0);v[d>>2]=v[d>>2]|(j?64:1088);v[c>>2]=v[c>>2]|(j?16:272);c=b-4|0;v[c>>2]=v[c>>2]|(j?32:544);v[b+4>>2]=v[b+4>>2]|(j?128:2176);v[b>>2]=v[b>>2]|4096;v[m>>2]=j?n:h}v[b>>2]=v[b>>2]|16384}if((M|0)<3){break D}A=p+m|0;b=b+y|0;j=v[b>>2];c=j&255;if(!(!c|j&20480)){c=v[e+16>>2]+(v[((c|D)<<2)+1131824>>2]<<2)|0;v[e+12>>2]=c;m=v[c>>2];c=v[m>>2];z=v[e+4>>2]-c|0;v[e+4>>2]=z;E=v[e>>2];G:{if(c>>>0<=E>>>16>>>0){v[e>>2]=E-(c<<16);c=v[m+4>>2];if(z&32768){break G}c=gg(e);break G}c=fg(e)}if(c){j=(j>>>4&255)<<2;c=v[e+16>>2]+(v[j+1136944>>2]<<2)|0;v[e+12>>2]=c;m=v[c>>2];c=v[m>>2];z=v[e+4>>2]-c|0;v[e+4>>2]=z;E=v[e>>2];H:{if(c>>>0<=E>>>16>>>0){v[e>>2]=E-(c<<16);m=v[m+4>>2];if(z&32768){break H}m=gg(e);break H}m=fg(e)}z=v[j+1135920>>2];c=b+(C<<2)|0;v[c+4>>2]=v[c+4>>2]|4;j=c-4|0;v[j>>2]=v[j>>2]|2;j=b+y|0;E=j-4|0;v[E>>2]=v[E>>2]|1;v[j+4>>2]=v[j+4>>2]|8;s=c;E=v[c>>2];c=(m|0)==(z|0);v[s>>2]=E|(c?64:1088);v[j>>2]=v[j>>2]|(c?16:272);j=b-4|0;v[j>>2]=v[j>>2]|(c?32:544);v[b+4>>2]=v[b+4>>2]|(c?128:2176);v[b>>2]=v[b>>2]|4096;v[A>>2]=c?n:h}v[b>>2]=v[b>>2]|16384}if(J){break D}b=b+y|0;j=v[b>>2];c=j&255;if(!c|j&20480){break D}c=v[e+16>>2]+(v[((c|D)<<2)+1131824>>2]<<2)|0;v[e+12>>2]=c;m=v[c>>2];c=v[m>>2];z=v[e+4>>2]-c|0;v[e+4>>2]=z;E=v[e>>2];I:{if(c>>>0<=E>>>16>>>0){v[e>>2]=E-(c<<16);c=v[m+4>>2];if(z&32768){break I}c=gg(e);break I}c=fg(e)}if(c){A=p+A|0;j=(j>>>4&255)<<2;c=v[e+16>>2]+(v[j+1136944>>2]<<2)|0;v[e+12>>2]=c;m=v[c>>2];c=v[m>>2];z=v[e+4>>2]-c|0;v[e+4>>2]=z;E=v[e>>2];J:{if(c>>>0<=E>>>16>>>0){v[e>>2]=E-(c<<16);m=v[m+4>>2];if(z&32768){break J}m=gg(e);break J}m=fg(e)}z=v[j+1135920>>2];c=b+(C<<2)|0;v[c+4>>2]=v[c+4>>2]|4;j=c-4|0;v[j>>2]=v[j>>2]|2;j=b+y|0;E=j-4|0;v[E>>2]=v[E>>2]|1;v[j+4>>2]=v[j+4>>2]|8;s=c;E=v[c>>2];c=(m|0)==(z|0);v[s>>2]=E|(c?64:1088);v[j>>2]=v[j>>2]|(c?16:272);j=b-4|0;v[j>>2]=v[j>>2]|(c?32:544);v[b+4>>2]=v[b+4>>2]|(c?128:2176);v[b>>2]=v[b>>2]|4096;v[A>>2]=c?n:h}v[b>>2]=v[b>>2]|16384}f=f+4|0;d=d+4|0;c=k-1|0;if((k|0)>1){continue}break}o=(p<<2)+o|0;i=(y<<2)+i|0;b=(q|0)>4;q=q-4|0;if(b){continue}break}break t}X(23522,7698,261,189204);L()}if(v[r+20>>2]==1){i=v[v[G+32>>2]+24>>2];b=v[u+40>>2];C=v[b+20>>2];E=0;m=0;c=v[u+36>>2];if(v[c+20>>2]>=2){k=v[c+28>>2];m=v[k+4>>2]-v[k>>2]>>2}if((C|0)>=2){k=v[b+28>>2];E=v[k+4>>2]-v[k>>2]>>2}$=w[(i+B(P,488)|0)+418|0];h=v[u+28>>2];K:{if((C|0)<1){break K}n=v[b+24>>2];if((n|0)<1){break K}aa=$&8;M=0-m|0;d=1<>>1|d;F=0-A|0;J=v[N+8>>2]<<8;z=E<<2;D=m<<2;l=v[v[c+28>>2]+4>>2]+4|0;i=v[v[b+28>>2]>>2];o=0;while(1){q=C-o|0;j=(q|0)<4?q:4;b=n;k=i;c=l;while(1){y=b;g=v[c>>2];L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{V:{if((j|0)<4){d=k;b=c;f=q;break V}W:{if(g&20735){break W}b=c+D|0;if(x[b>>1]&20735){break W}e=b+D|0;if(x[e>>1]&20735){break W}d=k;b=c;f=j;if(x[e+D>>1]&20735){break V}b=v[h+16>>2];v[h+12>>2]=b;d=v[b>>2];b=v[d>>2];f=v[h+4>>2]-b|0;v[h+4>>2]=f;g=v[h>>2];X:{if(b>>>0<=g>>>16>>>0){v[h>>2]=g-(b<<16);b=v[d+4>>2];if(f&32768){break X}b=gg(h);break X}b=fg(h)}if(!b){break L}b=v[h+16>>2];v[h+12>>2]=b+72;d=v[b+72>>2];b=v[d>>2];f=v[h+4>>2]-b|0;v[h+4>>2]=f;g=v[h>>2];Y:{if(b>>>0<=g>>>16>>>0){v[h>>2]=g-(b<<16);b=v[d+4>>2];if(f&32768){break Y}b=gg(h);break Y}b=fg(h)}g=v[v[h+12>>2]>>2];f=v[g>>2];e=v[h+4>>2]-f|0;v[h+4>>2]=e;d=j;p=v[h>>2];Z:{if(f>>>0<=p>>>16>>>0){v[h>>2]=p-(f<<16);f=v[g+4>>2];if(e&32768){break Z}f=gg(h);break Z}f=fg(h)}e=f|b<<1;f=d-e|0;d=(B(e,E)<<2)+k|0;b=(B(e,m)<<2)+c|0;g=v[b>>2];switch(e|0){case 2:break Q;case 1:break S;case 0:break U;case 3:break O;default:break V}}d=k;b=c;f=j}if(g&20480){break T}e=v[h+16>>2]+(v[((J|g&255)<<2)+1131824>>2]<<2)|0;v[h+12>>2]=e;p=v[e>>2];e=v[p>>2];s=v[h+4>>2]-e|0;v[h+4>>2]=s;H=v[h>>2];_:{if(e>>>0<=H>>>16>>>0){v[h>>2]=H-(e<<16);e=v[p+4>>2];if(s&32768){break _}e=gg(h);break _}e=fg(h)}if(e){break U}g=v[b>>2];break T}e=(g>>>4&255)<<2;g=v[h+16>>2]+(v[e+1136944>>2]<<2)|0;v[h+12>>2]=g;p=v[g>>2];g=v[p>>2];s=v[h+4>>2]-g|0;v[h+4>>2]=s;H=v[h>>2];$:{if(g>>>0<=H>>>16>>>0){v[h>>2]=H-(g<<16);g=v[p+4>>2];if(s&32768){break $}g=gg(h);break $}g=fg(h)}p=(g|0)==v[e+1135920>>2];v[d>>2]=p?A:F;g=b+D|0;aa:{ba:{ca:{if(aa){v[g+4>>2]=v[g+4>>2]|8;e=g-4|0;v[e>>2]=v[e>>2]|1;e=v[g>>2];if(!p){e=e|272;break ba}e=e|16;break ca}e=(M<<2)+b|0;v[e+4>>2]=v[e+4>>2]|4;s=e-4|0;v[s>>2]=v[s>>2]|2;s=g-4|0;v[s>>2]=v[s>>2]|1;v[g+4>>2]=v[g+4>>2]|8;s=v[e>>2];if(!p){v[e>>2]=s|1088;e=v[g>>2]|272;break ba}v[e>>2]=s|64;e=v[g>>2]|16}s=32;p=128;break aa}s=544;p=2176}v[g>>2]=e;g=b-4|0;v[g>>2]=s|v[g>>2];v[b+4>>2]=v[b+4>>2]|p;g=v[b>>2]|4096;v[b>>2]=g}v[b>>2]=g&-16385;if((f|0)<2){break L}f=f-1|0;d=d+z|0;b=b+D|0;g=v[b>>2];if(g&20480){break R}e=v[h+16>>2]+(v[((J|g&255)<<2)+1131824>>2]<<2)|0;v[h+12>>2]=e;p=v[e>>2];e=v[p>>2];s=v[h+4>>2]-e|0;v[h+4>>2]=s;H=v[h>>2];da:{if(e>>>0<=H>>>16>>>0){v[h>>2]=H-(e<<16);e=v[p+4>>2];if(s&32768){break da}e=gg(h);break da}e=fg(h)}if(e){break S}g=v[b>>2];break R}e=(g>>>4&255)<<2;g=v[h+16>>2]+(v[e+1136944>>2]<<2)|0;v[h+12>>2]=g;p=v[g>>2];g=v[p>>2];s=v[h+4>>2]-g|0;v[h+4>>2]=s;H=v[h>>2];ea:{if(g>>>0<=H>>>16>>>0){v[h>>2]=H-(g<<16);g=v[p+4>>2];if(s&32768){break ea}g=gg(h);break ea}g=fg(h)}g=(g|0)==v[e+1135920>>2];v[d>>2]=g?A:F;e=(M<<2)+b|0;p=e-4|0;v[p>>2]=v[p>>2]|2;v[e+4>>2]=v[e+4>>2]|4;p=b+D|0;s=p-4|0;v[s>>2]=v[s>>2]|1;v[p+4>>2]=v[p+4>>2]|8;v[e>>2]=v[e>>2]|(g?64:1088);v[p>>2]=v[p>>2]|(g?16:272);e=b-4|0;v[e>>2]=v[e>>2]|(g?32:544);v[b+4>>2]=v[b+4>>2]|(g?128:2176);g=v[b>>2]|4096;v[b>>2]=g}v[b>>2]=g&-16385;if((f|0)<2){break L}f=f-1|0;d=d+z|0;b=b+D|0;g=v[b>>2];if(g&20480){break P}e=v[h+16>>2]+(v[((J|g&255)<<2)+1131824>>2]<<2)|0;v[h+12>>2]=e;p=v[e>>2];e=v[p>>2];s=v[h+4>>2]-e|0;v[h+4>>2]=s;H=v[h>>2];fa:{if(e>>>0<=H>>>16>>>0){v[h>>2]=H-(e<<16);e=v[p+4>>2];if(s&32768){break fa}e=gg(h);break fa}e=fg(h)}if(e){break Q}g=v[b>>2];break P}e=(g>>>4&255)<<2;g=v[h+16>>2]+(v[e+1136944>>2]<<2)|0;v[h+12>>2]=g;p=v[g>>2];g=v[p>>2];s=v[h+4>>2]-g|0;v[h+4>>2]=s;H=v[h>>2];ga:{if(g>>>0<=H>>>16>>>0){v[h>>2]=H-(g<<16);g=v[p+4>>2];if(s&32768){break ga}g=gg(h);break ga}g=fg(h)}g=(g|0)==v[e+1135920>>2];v[d>>2]=g?A:F;e=(M<<2)+b|0;p=e-4|0;v[p>>2]=v[p>>2]|2;v[e+4>>2]=v[e+4>>2]|4;p=b+D|0;s=p-4|0;v[s>>2]=v[s>>2]|1;v[p+4>>2]=v[p+4>>2]|8;v[e>>2]=v[e>>2]|(g?64:1088);v[p>>2]=v[p>>2]|(g?16:272);e=b-4|0;v[e>>2]=v[e>>2]|(g?32:544);v[b+4>>2]=v[b+4>>2]|(g?128:2176);g=v[b>>2]|4096;v[b>>2]=g}v[b>>2]=g&-16385;if((f|0)<2){break L}b=b+D|0;g=v[b>>2];if(g&20480){break M}f=v[h+16>>2]+(v[((J|g&255)<<2)+1131824>>2]<<2)|0;v[h+12>>2]=f;e=v[f>>2];f=v[e>>2];p=v[h+4>>2]-f|0;v[h+4>>2]=p;s=v[h>>2];ha:{if(f>>>0<=s>>>16>>>0){v[h>>2]=s-(f<<16);f=v[e+4>>2];if(p&32768){break ha}f=gg(h);break ha}f=fg(h)}if(!f){break N}d=d+z|0}g=(g>>>4&255)<<2;f=v[h+16>>2]+(v[g+1136944>>2]<<2)|0;v[h+12>>2]=f;e=v[f>>2];f=v[e>>2];p=v[h+4>>2]-f|0;v[h+4>>2]=p;s=v[h>>2];ia:{if(f>>>0<=s>>>16>>>0){v[h>>2]=s-(f<<16);f=v[e+4>>2];if(p&32768){break ia}f=gg(h);break ia}f=fg(h)}e=d;d=(f|0)==v[g+1135920>>2];v[e>>2]=d?A:F;f=(M<<2)+b|0;g=f-4|0;v[g>>2]=v[g>>2]|2;v[f+4>>2]=v[f+4>>2]|4;g=b+D|0;e=g-4|0;v[e>>2]=v[e>>2]|1;v[g+4>>2]=v[g+4>>2]|8;v[f>>2]=v[f>>2]|(d?64:1088);v[g>>2]=v[g>>2]|(d?16:272);f=b-4|0;v[f>>2]=v[f>>2]|(d?32:544);v[b+4>>2]=v[b+4>>2]|(d?128:2176);g=v[b>>2]|4096;v[b>>2]=g;break M}g=v[b>>2]}v[b>>2]=g&-16385}k=k+4|0;c=c+4|0;b=y-1|0;if((y|0)>1){continue}break}i=(z<<2)+i|0;l=(D<<2)+l|0;o=o+4|0;if((C|0)>(o|0)){continue}break}}l=1;if(!($&32)){break t}b=v[h+16>>2];v[h+12>>2]=b+72;c=v[b+72>>2];b=v[c>>2];d=v[h+4>>2]-b|0;v[h+4>>2]=d;i=v[h>>2];ja:{if(b>>>0<=i>>>16>>>0){v[h>>2]=i-(b<<16);b=v[c+4>>2];if(d&32768){break ja}b=gg(h);break ja}b=fg(h)}d=v[v[h+12>>2]>>2];c=v[d>>2];i=v[h+4>>2]-c|0;v[h+4>>2]=i;k=v[h>>2];ka:{if(c>>>0<=k>>>16>>>0){v[h>>2]=k-(c<<16);c=v[d+4>>2];if(i&32768){break ka}c=gg(h);break ka}c=fg(h)}i=v[v[h+12>>2]>>2];d=v[i>>2];k=v[h+4>>2]-d|0;v[h+4>>2]=k;c=c&1;f=b<<1&2;b=v[h>>2];la:{if(d>>>0<=b>>>16>>>0){v[h>>2]=b-(d<<16);b=v[i+4>>2];if(k&32768){break la}b=gg(h);break la}b=fg(h)}d=c|f;i=v[v[h+12>>2]>>2];c=v[i>>2];k=v[h+4>>2]-c|0;v[h+4>>2]=k;f=v[h>>2];ma:{if(c>>>0<=f>>>16>>>0){v[h>>2]=f-(c<<16);c=v[i+4>>2];if(k&32768){break ma}c=gg(h);break ma}c=fg(h)}if((c&1|(b<<1&2|d<<2))==10){break t}Sc(34032,0);break t}X(25690,7698,282,189204);L()}if(v[r+20>>2]==1){i=v[u+40>>2];q=v[i+20>>2];f=0;c=0;k=v[u+36>>2];if(v[k+20>>2]>=2){b=v[k+28>>2];c=v[b+4>>2]-v[b>>2]>>2}if((q|0)>=2){b=v[i+28>>2];f=v[b+4>>2]-v[b>>2]>>2}l=1;if((q|0)<1){break t}e=v[i+24>>2];if((e|0)<1){break t}h=v[u+28>>2];b=1<>>1|0;j=(d|0)>0?0-b|0:-1;D=f<<2;p=c<<2;k=v[v[k+28>>2]+4>>2]+4|0;i=v[v[i+28>>2]>>2];while(1){A=(q|0)<4;M=A?q:4;c=e;d=k;g=i;while(1){f=v[d>>2];if((f&20480)==4096){f=v[h+16>>2]+(v[((f>>>2&2048|f&255)<<2)+1137968>>2]<<2)|0;v[h+12>>2]=f;C=v[f>>2];n=v[C>>2];m=v[h+4>>2]-n|0;v[h+4>>2]=m;o=g;f=b;y=j;F=v[h>>2];na:{if(n>>>0<=F>>>16>>>0){v[h>>2]=F-(n<<16);n=v[C+4>>2];if(m&32768){break na}n=gg(h);break na}n=fg(h)}f=n?f:y;y=0-f|0;m=f;f=v[g>>2];v[o>>2]=((f|0)<0?y:m)+f;v[d>>2]=v[d>>2]|8192}f=c;oa:{if((M|0)<2){break oa}c=g+D|0;C=d+p|0;o=v[C>>2];if((o&20480)==4096){o=v[h+16>>2]+(v[((o>>>2&2048|o&255)<<2)+1137968>>2]<<2)|0;v[h+12>>2]=o;F=v[o>>2];m=v[F>>2];J=v[h+4>>2]-m|0;v[h+4>>2]=J;y=c;o=b;n=j;z=v[h>>2];pa:{if(m>>>0<=z>>>16>>>0){v[h>>2]=z-(m<<16);m=v[F+4>>2];if(J&32768){break pa}m=gg(h);break pa}m=fg(h)}o=m?o:n;n=0-o|0;m=o;o=v[c>>2];v[y>>2]=((o|0)<0?n:m)+o;v[C>>2]=v[C>>2]|8192}if((M|0)<3){break oa}c=c+D|0;C=p+C|0;o=v[C>>2];if((o&20480)==4096){o=v[h+16>>2]+(v[((o>>>2&2048|o&255)<<2)+1137968>>2]<<2)|0;v[h+12>>2]=o;F=v[o>>2];m=v[F>>2];J=v[h+4>>2]-m|0;v[h+4>>2]=J;y=c;o=b;n=j;z=v[h>>2];qa:{if(m>>>0<=z>>>16>>>0){v[h>>2]=z-(m<<16);m=v[F+4>>2];if(J&32768){break qa}m=gg(h);break qa}m=fg(h)}o=m?o:n;n=0-o|0;m=o;o=v[c>>2];v[y>>2]=((o|0)<0?n:m)+o;v[C>>2]=v[C>>2]|8192}if(A){break oa}n=p+C|0;o=v[n>>2];if((o&20480)!=4096){break oa}o=v[h+16>>2]+(v[((o>>>2&2048|o&255)<<2)+1137968>>2]<<2)|0;v[h+12>>2]=o;C=v[o>>2];y=v[C>>2];m=v[h+4>>2]-y|0;v[h+4>>2]=m;F=c+D|0;o=F;c=b;s=j;z=v[h>>2];ra:{if(y>>>0<=z>>>16>>>0){v[h>>2]=z-(y<<16);y=v[C+4>>2];if(m&32768){break ra}y=gg(h);break ra}y=fg(h)}c=y?c:s;y=0-c|0;m=c;c=v[F>>2];v[o>>2]=((c|0)<0?y:m)+c;v[n>>2]=v[n>>2]|8192}g=g+4|0;d=d+4|0;c=f-1|0;if((f|0)>1){continue}break}i=(D<<2)+i|0;k=(p<<2)+k|0;c=(q|0)>4;q=q-4|0;if(c){continue}break}break t}b=v[u+40>>2];o=v[b+20>>2];f=0;c=0;k=v[u+36>>2];if(v[k+20>>2]>=2){c=v[k+28>>2];c=v[c+4>>2]-v[c>>2]>>2}if((o|0)>=2){i=v[b+28>>2];f=v[i+4>>2]-v[i>>2]>>2}if((o|0)<1){l=1;break t}i=v[b+24>>2];if((i|0)<1){l=1;break t}e=v[u+32>>2];y=1<>>1|0;n=(d|0)>0?0-y|0:-1;h=f<<2;D=c<<2;j=v[v[k+28>>2]+4>>2]+4|0;q=v[v[b+28>>2]>>2];while(1){b=i;c=b;g=j;d=g;f=q;k=f;sa:{ta:{ua:{va:{wa:{p=(o|0)<4;C=p?o:4;if((C|0)>=2){while(1){if((v[g>>2]&20480)==4096){if(!(t[e+16|0]&1)){break wa}c=v[e+8>>2];d=c-1|0;v[e+8>>2]=d;xa:{if((c|0)<=0){c=Wf(e);if((c|0)>=0){break xa}break t}c=v[e+4>>2]>>>d&1}c=c?y:n;k=0-c|0;d=c;c=v[f>>2];v[f>>2]=((c|0)<0?k:d)+c;v[g>>2]=v[g>>2]|8192}c=b;d=h+f|0;k=g+D|0;if((v[k>>2]&20480)==4096){if(!(t[e+16|0]&1)){break va}b=v[e+8>>2];m=b-1|0;v[e+8>>2]=m;ya:{if((b|0)<=0){b=Wf(e);if((b|0)>=0){break ya}break t}b=v[e+4>>2]>>>m&1}b=b?y:n;F=0-b|0;m=b;b=v[d>>2];v[d>>2]=((b|0)<0?F:m)+b;v[k>>2]=v[k>>2]|8192}za:{if((C|0)<3){break za}b=d+h|0;d=k+D|0;if((v[d>>2]&20480)==4096){if(!(t[e+16|0]&1)){break ua}k=v[e+8>>2];m=k-1|0;v[e+8>>2]=m;Aa:{if((k|0)<=0){k=Wf(e);if((k|0)>=0){break Aa}break t}k=v[e+4>>2]>>>m&1}k=k?y:n;F=0-k|0;m=k;k=v[b>>2];v[b>>2]=((k|0)<0?F:m)+k;v[d>>2]=v[d>>2]|8192}if(p){break za}d=d+D|0;if((v[d>>2]&20480)!=4096){break za}if(!(t[e+16|0]&1)){break ta}k=v[e+8>>2];m=k-1|0;v[e+8>>2]=m;Ba:{if((k|0)<=0){k=Wf(e);if((k|0)>=0){break Ba}break t}k=v[e+4>>2]>>>m&1}m=b+h|0;b=v[m>>2];k=k?y:n;v[m>>2]=b+((b|0)<0?0-k|0:k);v[d>>2]=v[d>>2]|8192}f=f+4|0;g=g+4|0;b=c-1|0;if((c|0)>1){continue}break sa}}while(1){if((v[d>>2]&20480)==4096){if(!(t[e+16|0]&1)){break wa}b=v[e+8>>2];f=b-1|0;v[e+8>>2]=f;Ca:{if((b|0)<=0){g=Wf(e);if((g|0)>=0){break Ca}break t}g=v[e+4>>2]>>>f&1}b=g?y:n;g=0-b|0;f=b;b=v[k>>2];v[k>>2]=((b|0)<0?g:f)+b;v[d>>2]=v[d>>2]|8192}k=k+4|0;d=d+4|0;b=(c|0)>1;c=c-1|0;if(b){continue}break}break sa}X(32183,7698,720,189238);L()}X(32183,7698,728,189238);L()}X(32183,7698,736,189238);L()}X(32183,7698,744,189238);L()}q=(h<<2)+q|0;j=(D<<2)+j|0;b=(o|0)>4;o=o-4|0;if(b){continue}break}l=1;break t}b=v[u+40>>2];j=v[b+20>>2];c=0;f=0;i=v[u+36>>2];if(v[i+20>>2]>=2){k=v[i+28>>2];f=v[k+4>>2]-v[k>>2]>>2}if((j|0)>=2){c=v[b+28>>2];c=v[c+4>>2]-v[c>>2]>>2}if((j|0)<1){l=1;break t}y=v[b+24>>2];if((y|0)<1){l=1;break t}n=v[u+32>>2];d=1<>>1|d;g=0-k|0;M=w[(v[v[G+32>>2]+24>>2]+B(P,488)|0)+418|0]&8;C=0-f|0;D=c<<2;h=f<<2;i=v[v[i+28>>2]+4>>2]+4|0;q=v[v[b+28>>2]>>2];Da:{while(1){A=(j|0)<4;m=A?j:4;c=y;b=i;f=q;while(1){o=c;c=v[b>>2];if(!(!(c&255)|c&20480)){Ea:{Fa:{Ga:{if(t[n+16|0]&1){c=v[n+8>>2];d=c-1|0;v[n+8>>2]=d;Ha:{if((c|0)<=0){l=0;c=Wf(n);if((c|0)>=0){break Ha}break t}c=v[n+4>>2]>>>d&1}if(!c){break Ea}if(!(t[n+16|0]&1)){break e}c=v[n+8>>2];d=c-1|0;v[n+8>>2]=d;Ia:{if((c|0)<=0){l=0;p=Wf(n);if((p|0)>=0){break Ia}break t}p=v[n+4>>2]>>>d&1}l=b+h|0;Ja:{if(M){v[l+4>>2]=v[l+4>>2]|8;c=l-4|0;v[c>>2]=v[c>>2]|1;c=v[l>>2];if(p){d=c|272;break Ga}d=c|16;break Ja}c=(C<<2)+b|0;v[c+4>>2]=v[c+4>>2]|4;d=c-4|0;v[d>>2]=v[d>>2]|2;d=l-4|0;v[d>>2]=v[d>>2]|1;v[l+4>>2]=v[l+4>>2]|8;d=v[c>>2];if(p){v[c>>2]=d|1088;d=v[l>>2]|272;break Ga}v[c>>2]=d|64;d=v[l>>2]|16}p=128;e=32;c=k;break Fa}break e}p=2176;e=544;c=g}v[l>>2]=d;d=b-4|0;v[d>>2]=v[d>>2]|e;v[b+4>>2]=v[b+4>>2]|p;v[b>>2]=v[b>>2]|4096;v[f>>2]=c}v[b>>2]=v[b>>2]|16384}Ka:{if((m|0)<2){break Ka}e=f+D|0;c=b+h|0;d=v[c>>2];if(!(!(d&255)|d&20480)){if(!(t[n+16|0]&1)){break d}d=v[n+8>>2];l=d-1|0;v[n+8>>2]=l;La:{if((d|0)<=0){l=0;d=Wf(n);if((d|0)>=0){break La}break t}d=v[n+4>>2]>>>l&1}if(d){if(!(t[n+16|0]&1)){break d}d=v[n+8>>2];l=d-1|0;v[n+8>>2]=l;Ma:{if((d|0)<=0){l=0;d=Wf(n);if((d|0)>=0){break Ma}break t}d=v[n+4>>2]>>>l&1}v[b+4>>2]=v[b+4>>2]|4;l=b-4|0;v[l>>2]=v[l>>2]|2;l=c+h|0;p=l-4|0;v[p>>2]=v[p>>2]|1;v[l+4>>2]=v[l+4>>2]|8;v[b>>2]=v[b>>2]|(d?1088:64);v[l>>2]=v[l>>2]|(d?272:16);l=c-4|0;v[l>>2]=v[l>>2]|(d?544:32);v[c+4>>2]=v[c+4>>2]|(d?2176:128);v[c>>2]=v[c>>2]|4096;v[e>>2]=d?g:k}v[c>>2]=v[c>>2]|16384}if((m|0)<3){break Ka}p=e+D|0;c=c+h|0;d=v[c>>2];if(!(!(d&255)|d&20480)){if(!(t[n+16|0]&1)){break c}d=v[n+8>>2];l=d-1|0;v[n+8>>2]=l;Na:{if((d|0)<=0){l=0;d=Wf(n);if((d|0)>=0){break Na}break t}d=v[n+4>>2]>>>l&1}if(d){if(!(t[n+16|0]&1)){break c}d=v[n+8>>2];l=d-1|0;v[n+8>>2]=l;Oa:{if((d|0)<=0){l=0;d=Wf(n);if((d|0)>=0){break Oa}break t}d=v[n+4>>2]>>>l&1}l=c+(C<<2)|0;v[l+4>>2]=v[l+4>>2]|4;e=l-4|0;v[e>>2]=v[e>>2]|2;e=c+h|0;F=e-4|0;v[F>>2]=v[F>>2]|1;v[e+4>>2]=v[e+4>>2]|8;v[l>>2]=v[l>>2]|(d?1088:64);v[e>>2]=v[e>>2]|(d?272:16);l=c-4|0;v[l>>2]=v[l>>2]|(d?544:32);v[c+4>>2]=v[c+4>>2]|(d?2176:128);v[c>>2]=v[c>>2]|4096;v[p>>2]=d?g:k}v[c>>2]=v[c>>2]|16384}if(A){break Ka}c=c+h|0;d=v[c>>2];if(!(d&255)|d&20480){break Ka}if(!(t[n+16|0]&1)){break b}d=v[n+8>>2];l=d-1|0;v[n+8>>2]=l;Pa:{if((d|0)<=0){l=0;d=Wf(n);if((d|0)>=0){break Pa}break t}d=v[n+4>>2]>>>l&1}if(d){if(!(t[n+16|0]&1)){break Da}d=v[n+8>>2];l=d-1|0;v[n+8>>2]=l;Qa:{if((d|0)<=0){l=0;d=Wf(n);if((d|0)>=0){break Qa}break t}d=v[n+4>>2]>>>l&1}l=c+(C<<2)|0;v[l+4>>2]=v[l+4>>2]|4;e=l-4|0;v[e>>2]=v[e>>2]|2;e=c+h|0;F=e-4|0;v[F>>2]=v[F>>2]|1;v[e+4>>2]=v[e+4>>2]|8;v[l>>2]=v[l>>2]|(d?1088:64);v[e>>2]=v[e>>2]|(d?272:16);l=c-4|0;v[l>>2]=v[l>>2]|(d?544:32);v[c+4>>2]=v[c+4>>2]|(d?2176:128);v[c>>2]=v[c>>2]|4096;v[p+D>>2]=d?g:k}v[c>>2]=v[c>>2]|16384}f=f+4|0;b=b+4|0;c=o-1|0;if((o|0)>1){continue}break}q=(D<<2)+q|0;i=(h<<2)+i|0;b=(j|0)>4;j=j-4|0;if(b){continue}break}l=1;break t}break b}if(w[(v[v[G+32>>2]+24>>2]+B(P,488)|0)+418|0]&2){l2(v[u+28>>2])}if(l){W=W+1|0;if((W|0)>=v[r+12>>2]){break n}continue}break}v[Q+4>>2]=v[r+20>>2];v[Q>>2]=_;Sc(27853,Q);b=-1;break g}X(19336,7698,234,189204);L()}X(9724,7698,218,189204);L()}Ra:{switch(v[r+20>>2]-1|0){default:X(13880,7698,308,189204);L();case 1:c=w[(v[v[G+32>>2]+24>>2]+B(P,488)|0)+418|0]<<27>>31;c=fB(v[u+32>>2],c&127,c&42);b=-1;if((c|0)<0){break g}if(c){Sc(29620,0)}Xs(v[u+32>>2]);v[u+32>>2]=0;break;case 0:break Ra}}v[u+12>>2]=v[r>>2];b=v[r+4>>2];c=v[r>>2];v[(b?b:Z)>>2]=c;v[(c?c:Z)+4>>2]=b;v[r>>2]=0;v[r+4>>2]=0;b=v[r+24>>2];if(b){Te(b)}dc(r);r=v[u+12>>2];if(r){continue}break}break l}if(v[u+12>>2]){break f}}u=u+44|0;b=T-1|0;if((T|0)>1){continue}break}}V=V+40|0;b=O-1|0;if((O|0)>1){continue}break}}N=N+32|0;b=K-1|0;if((K|0)>1){continue}break}}S=S+60|0;b=I-1|0;if((I|0)>1){continue}break}}R=R+32|0;b=(U|0)>1;U=U-1|0;if(b){continue}break}}b=0}Qb=Q+16|0;break a}X(30345,7698,332,189204);L()}X(32183,7698,519,189223);L()}X(32183,7698,528,189223);L()}X(32183,7698,537,189223);L()}X(32183,7698,546,189223);L()}Sa:{if(b){i=-1;d=47709;break Sa}Ta:{Ua:{Va:{d=v[a+56>>2];Wa:{if((d|0)<1){break Wa}e=v[G+36>>2];while(1){i=v[e+20>>2];if((i|0)>=1){K=v[v[G+32>>2]+24>>2]+B(Y,488)|0;l=v[e+24>>2];g=0;while(1){k=v[l+4>>2];Xa:{if(!k){break Xa}r=0;if(v[l>>2]<1){break Xa}while(1){q=v[k+4>>2];Ya:{if(!q){break Ya}o=v[k+28>>2];I=w[K+417|0]-o|0;Za:{if(!(o|I)){break Za}i=v[q+20>>2];if((i|0)<1){break Za}d=v[q+24>>2];if((d|0)<1){break Za}O=1<>2];y=T^-1;b=0;j=0;while(1){if((d|0)>=1){c=v[q+28>>2];i=0;while(1){h=i<<2;n=b<<2;u=h+v[n+c>>2]|0;d=v[u>>2];f=d>>31;f=f^d+f;_a:{if((f|0)>=(O|0)){f=f>>>o|0;v[u>>2]=(d|0)<0?0-f|0:f;break _a}f=f<>2]}j=1;f=f&y}v[h+v[c+n>>2]>>2]=(d|0)<0?0-f|0:f}d=v[q+24>>2];i=i+1|0;if((d|0)>(i|0)){continue}break}i=v[q+20>>2]}b=b+1|0;if((i|0)>(b|0)){continue}break}}if(!v[G+48>>2]){break Ya}tB(v[k+4>>2],13);b=v[k+16>>2];if((b|0)<=-1){break Va}if((b|0)==8192){break Ya}c=v[k+4>>2];i=v[c+20>>2];if((i|0)<1){break Ya}d=v[c+24>>2];if((d|0)<1){break Ya}q=0;while(1){if((d|0)>=1){f=v[v[c+28>>2]+(q<<2)>>2];i=0;while(1){d=f+(i<<2)|0;m=d;d=v[d>>2];j=d;d=d>>31;o=Bib(j,d,b,0);v[m>>2]=d|j?(Tb&8191)<<19|o>>>13:0;d=v[c+24>>2];i=i+1|0;if((d|0)>(i|0)){continue}break}i=v[c+20>>2]}q=q+1|0;if((q|0)<(i|0)){continue}break}}k=k+32|0;r=r+1|0;if((r|0)>2]){continue}break}i=v[e+20>>2]}l=l+60|0;g=g+1|0;if((i|0)>(g|0)){continue}break}d=v[a+56>>2]}e=e+32|0;Y=Y+1|0;if((Y|0)<(d|0)){continue}break}if((d|0)<1){break Wa}i=v[G+36>>2];f=0;while(1){c=v[i+16>>2];b=v[i+28>>2];d=v[b>>2];if((d|0)>=1){k=v[c+28>>2];j=v[k>>2];q=v[c+4>>2];e=v[c+8>>2];v2(b,j,q,e,v[c+12>>2]-q|0,v[c+16>>2]-e|0,v[c+20>>2]>=2?v[k+4>>2]-j>>2:0,d-1|0)}i=i+32|0;d=v[a+56>>2];f=f+1|0;if((d|0)>(f|0)){continue}break}}$a:{ab:{switch(w[v[G+32>>2]+16|0]-1|0){case 1:if((d|0)!=3){break Ua}c=v[G+36>>2];b=v[c+16>>2];d=v[c+80>>2];l=0;bb:{cb:{k=v[b+20>>2];i=v[c+48>>2];if((k|0)!=v[i+20>>2]){break cb}c=v[b+24>>2];if((c|0)!=v[i+24>>2]|(k|0)!=v[d+20>>2]|(c|0)!=v[d+24>>2]){break cb}if(!((k|0)<1|(c|0)<1)){j=v[d+28>>2];q=v[i+28>>2];e=v[b+28>>2];i=c-1|0;o=c&1;while(1){b=l<<2;d=v[b+j>>2];g=v[b+q>>2];r=v[b+e>>2];if(o){f=v[d>>2];I=v[g>>2];b=v[r>>2]-(f+I>>2)|0;v[r>>2]=b+f;v[g>>2]=b;v[d>>2]=b+I;d=d+4|0;g=g+4|0;r=r+4|0;b=i}else{b=c}if((c|0)!=1){while(1){I=v[d>>2];K=v[g>>2];f=v[r>>2]-(I+K>>2)|0;v[r>>2]=f+I;v[g>>2]=f;v[d>>2]=f+K;I=v[d+4>>2];K=v[g+4>>2];f=v[r+4>>2]-(I+K>>2)|0;v[r+4>>2]=f+I;v[g+4>>2]=f;v[d+4>>2]=f+K;d=d+8|0;g=g+8|0;r=r+8|0;f=(b|0)>2;b=b-2|0;if(f){continue}break}}l=l+1|0;if((k|0)!=(l|0)){continue}break}}break bb}X(1345,6316,145,189071);L()}break $a;case 0:break ab;default:break $a}}if((d|0)!=3){break Ta}c=v[G+36>>2];b=v[c+16>>2];g=0;db:{eb:{f=v[b+20>>2];i=v[c+48>>2];d=v[c+80>>2];if(!((f|0)!=v[i+20>>2]|(f|0)!=v[d+20>>2])){c=v[b+24>>2];if((c|0)!=v[i+24>>2]|(c|0)!=v[d+24>>2]){break eb}if(!((f|0)<1|(c|0)<1)){I=v[d+28>>2];K=v[i+28>>2];O=v[b+28>>2];while(1){b=g<<2;k=v[b+I>>2];r=v[b+K>>2];j=v[b+O>>2];b=c;while(1){d=v[r>>2];q=d;l=d>>31;i=v[k>>2];d=i>>31;e=i;i=d;o=v[j>>2];d=Bib(e,d,11485,0);v[j>>2]=o+((Tb&8191)<<19|d>>>13);d=Bib(e,i,-5850,-1);i=(Tb&8191)<<19|d>>>13;d=Bib(q,l,-2819,-1);v[r>>2]=i+(((Tb&8191)<<19|d>>>13)+o|0);d=Bib(q,l,14516,0);v[k>>2]=((Tb&8191)<<19|d>>>13)+o;k=k+4|0;r=r+4|0;j=j+4|0;d=(b|0)>1;b=b-1|0;if(d){continue}break}g=g+1|0;if((f|0)!=(g|0)){continue}break}}break db}X(9351,6316,229,189088);L()}X(12825,6316,231,189088);L()}}f=v[a+56>>2];k=v[G+36>>2];fb:{if(v[G+48>>2]){l=0;if((f|0)<1){break fb}c=k;while(1){b=v[c+16>>2];i=v[b+20>>2];gb:{if((i|0)<1){break gb}e=0;d=v[b+24>>2];if((d|0)<1){break gb}while(1){if((d|0)>=1){f=v[v[b+28>>2]+(e<<2)>>2];i=0;while(1){j=f+(i<<2)|0;d=v[j>>2];hb:{if((d|0)<=-1){d=d+4096&-8192;break hb}d=0-(4096-d&-8192)|0}v[j>>2]=d>>13;d=v[b+24>>2];i=i+1|0;if((d|0)>(i|0)){continue}break}i=v[b+20>>2]}e=e+1|0;if((i|0)>(e|0)){continue}break}f=v[a+56>>2]}c=c+32|0;l=l+1|0;if((l|0)<(f|0)){continue}break}}l=0;if((f|0)<=0){break fb}j=v[a+88>>2];c=j;b=k;while(1){q=0;q=w[c+20|0]?q:1<>2]-1;g=v[b+16>>2];i=v[g+20>>2];ib:{if((i|0)<1){break ib}e=0;d=v[g+24>>2];if((d|0)<1){break ib}while(1){if((d|0)>=1){f=v[v[g+28>>2]+(e<<2)>>2];i=0;while(1){d=f+(i<<2)|0;v[d>>2]=v[d>>2]+q;d=v[g+24>>2];i=i+1|0;if((d|0)>(i|0)){continue}break}i=v[g+20>>2]}e=e+1|0;if((i|0)>(e|0)){continue}break}f=v[a+56>>2]}c=c+32|0;b=b+32|0;l=l+1|0;if((l|0)<(f|0)){continue}break}l=0;if((f|0)<=0){break fb}while(1){b=v[j+16>>2];d=-1<>2];r=v[g+20>>2];kb:{if((r|0)>=2){b=v[g+28>>2];i=v[b+4>>2]-v[b>>2]>>2;break kb}if((r|0)!=1){break jb}}b=v[g+24>>2];if((b|0)<1){break jb}q=v[v[g+28>>2]>>2];e=i<<2;while(1){lb:{if((b|0)<1){break lb}i=q;d=b;if(b&1){i=c;d=v[q>>2];mb:{if((c|0)<=(d|0)){i=f;if((d|0)<=(f|0)){break mb}}v[q>>2]=i}i=q+4|0;d=b-1|0}if((b|0)==1){break lb}while(1){b=c;o=v[i>>2];nb:{if((b|0)<=(o|0)){b=f;if((o|0)<=(b|0)){break nb}}v[i>>2]=b}b=c;o=v[i+4>>2];ob:{if((b|0)<=(o|0)){b=f;if((o|0)<=(b|0)){break ob}}v[i+4>>2]=b}i=i+8|0;b=(d|0)>2;d=d-2|0;if(b){continue}break}}if((r|0)<2){break jb}r=r-1|0;q=e+q|0;b=v[g+24>>2];continue}}j=j+32|0;k=k+32|0;l=l+1|0;b=v[a+56>>2];if((l|0)<(b|0)){continue}break}if((b|0)>=1){i=v[G+36>>2];d=v[a+88>>2];c=0;while(1){b=v[d>>2];f=v[i>>2]-(((b+v[a+4>>2]|0)-1>>>0)/(b>>>0)|0)|0;b=v[d+4>>2];j=v[i+4>>2]-(((b+v[a+8>>2]|0)-1>>>0)/(b>>>0)|0)|0;b=v[i+16>>2];if(cj(v[a>>2],c,f,j,v[b+24>>2],v[b+20>>2],b)){i=-4;d=48713;break Sa}d=d+32|0;i=i+32|0;c=c+1|0;if((c|0)>2]){continue}break}}}return 0}X(49671,16151,1777,188966);L()}X(48214,16151,1072,188947);L()}X(48214,16151,1077,188947);L()}Sc(d,0);return i}function mua(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0,C=0,E=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,X=0,_=0,aa=0,ba=0,da=0,ea=0,fa=0;e=Qb-432|0;Qb=e;v[e+268>>2]=0;v[e+264>>2]=255;t[e+263|0]=0;t[e+262|0]=0;t[e+261|0]=0;t[e+260|0]=0;r=e+248|0;f=r;v[f>>2]=0;v[f+4>>2]=0;t[f+8|0]=0;v[299999]=0;x=e+232|0;f=x;v[f>>2]=0;v[f+4>>2]=0;t[f+8|0]=0;f=v[299999];v[299999]=0;a:{b:{if((f|0)!=1){v[299999]=0;y=e+216|0;f=y;v[f>>2]=0;v[f+4>>2]=0;t[f+8|0]=0;f=v[299999];v[299999]=0;c:{if((f|0)!=1){v[299999]=0;p=e+200|0;f=p;v[f>>2]=0;v[f+4>>2]=0;t[f+8|0]=0;f=v[299999];v[299999]=0;d:{if((f|0)!=1){v[299999]=0;z=e+184|0;f=z;v[f>>2]=0;v[f+4>>2]=0;t[f+8|0]=0;f=v[299999];v[299999]=0;e:{if((f|0)!=1){l=v[v[a+40>>2]+4>>2];v[299999]=0;f=rj(b);g=v[299999];v[299999]=0;f:{g:{h:{i:{j:{k:{l:{m:{n:{if((g|0)==1){break n}o:{if(!f){C=1;I=10;break o}v[299999]=0;V(4145,e+168|0,b|0);f=v[299999];v[299999]=0;if((f|0)==1){break g}n=a+4|0;N=e+352|0;da=e+300|0;J=e+136|4;ea=e+320|0;C=1;I=10;p:{while(1){h=w[e+179|0];f=h<<24>>24;q:{r:{g=v[e+172>>2];i=(f|0)<0?g:h;if(i){s:{t:{u:{v:{w:{if((i|0)!=15){break w}v[299999]=0;f=ca(2608,e+168|0,0,-1,975532,15)|0;g=v[299999];v[299999]=0;if((g|0)==1){break a}if(!f){break v}g=v[e+172>>2];h=w[e+179|0];f=h}if(((f<<24>>24<0?g:h)|0)==4){break u}break t}v[299999]=0;V(4150,e+288|0,b|0);f=v[299999];v[299999]=0;x:{if((f|0)!=1){v[299999]=0;U(4204,y|0,e+288|0,1);f=v[299999];v[299999]=0;if((f|0)==1){break x}if(t[e+299|0]>-1){break s}dc(v[e+288>>2]);break s}b=P()|0;O()|0;break h}b=P()|0;O()|0;if(t[e+299|0]>-1){break h}dc(v[e+288>>2]);break h}v[299999]=0;f=ca(2608,e+168|0,0,-1,975132,4)|0;g=v[299999];v[299999]=0;if((g|0)==1){break a}if(f){g=v[e+172>>2];h=w[e+179|0];f=h;break t}v[299999]=0;V(4150,e+288|0,b|0);f=v[299999];v[299999]=0;y:{if((f|0)!=1){v[299999]=0;U(4204,x|0,e+288|0,1);f=v[299999];v[299999]=0;if((f|0)==1){break y}if(t[e+299|0]>-1){break s}dc(v[e+288>>2]);break s}b=P()|0;O()|0;break h}b=P()|0;O()|0;if(t[e+299|0]>-1){break h}dc(v[e+288>>2]);break h}z:{if(((f<<24>>24<0?g:h)|0)!=7){break z}v[299999]=0;f=ca(2608,e+168|0,0,-1,975100,7)|0;g=v[299999];v[299999]=0;if((g|0)!=1){if(f){g=v[e+172>>2];h=w[e+179|0];f=h;break z}v[299999]=0;V(4150,e+272|0,b|0);f=v[299999];v[299999]=0;A:{B:{C:{D:{if((f|0)!=1){v[299999]=0;f=Q(4160,e+288|0,e+272|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break D}v[299999]=0;Ar(f,e+152|0);g=v[299999];v[299999]=0;if((g|0)==1){break C}xc(f);if(t[e+283|0]<=-1){dc(v[e+272>>2])}v[299999]=0;V(4172,d|0,e+152|0);f=v[299999];v[299999]=0;if((f|0)==1){break A}G=1;break s}b=P()|0;O()|0;break h}b=P()|0;O()|0;break B}b=P()|0;O()|0;xc(f)}if(t[e+283|0]>-1){break h}dc(v[e+272>>2]);break h}b=P()|0;O()|0;break h}break a}E:{if(((f<<24>>24<0?g:h)|0)!=6){break E}v[299999]=0;f=ca(2608,e+168|0,0,-1,975976,6)|0;g=v[299999];v[299999]=0;if((g|0)!=1){if(f){g=v[e+172>>2];h=w[e+179|0];f=h;break E}v[299999]=0;V(4150,e+288|0,b|0);f=v[299999];v[299999]=0;F:{if((f|0)!=1){v[299999]=0;U(4215,e+288|0,e+268|0,e+264|0);f=v[299999];v[299999]=0;if((f|0)==1){break F}if(t[e+299|0]<=-1){dc(v[e+288>>2])}H=1;break s}b=P()|0;O()|0;break h}b=P()|0;O()|0;if(t[e+299|0]>-1){break h}dc(v[e+288>>2]);break h}break a}G:{if(((f<<24>>24<0?g:h)|0)!=15){break G}v[299999]=0;f=ca(2608,e+168|0,0,-1,976004,15)|0;g=v[299999];v[299999]=0;if((g|0)!=1){if(f){g=v[e+172>>2];h=w[e+179|0];f=h;break G}v[299999]=0;V(4150,e+288|0,b|0);f=v[299999];v[299999]=0;H:{if((f|0)!=1){v[299999]=0;C=+ha(4171,e+288|0);f=v[299999];v[299999]=0;if((f|0)==1){break H}if(t[e+299|0]>-1){break s}dc(v[e+288>>2]);break s}b=P()|0;O()|0;break h}b=P()|0;O()|0;if(t[e+299|0]>-1){break h}dc(v[e+288>>2]);break h}break a}I:{if(((f<<24>>24<0?g:h)|0)!=15){break I}v[299999]=0;f=ca(2608,e+168|0,0,-1,976068,15)|0;g=v[299999];v[299999]=0;J:{K:{L:{if((g|0)!=1){if(f){g=v[e+172>>2];h=w[e+179|0];f=h;break I}v[299999]=0;V(4150,e+152|0,b|0);f=v[299999];v[299999]=0;if((f|0)==1){break J}v[e+144>>2]=0;v[e+136>>2]=0;v[e+140>>2]=0;v[299999]=0;g=Y(4216,e+288|0,e+152|0,24)|0;f=v[299999];v[299999]=0;if((f|0)==1){break L}v[e+280>>2]=0;v[e+272>>2]=0;v[e+276>>2]=0;while(1){v[299999]=0;f=Y(4217,e+288|0,e+272|0,32)|0;h=v[299999];v[299999]=0;M:{N:{O:{if((h|0)!=1){if(w[(f+v[v[f>>2]-12>>2]|0)+16|0]&5){break N}f=v[e+140>>2];if((f|0)!=v[e+144>>2]){if(t[e+283|0]>=0){h=v[e+276>>2];v[f>>2]=v[e+272>>2];v[f+4>>2]=h;v[f+8>>2]=v[e+280>>2];break M}v[299999]=0;U(2345,f|0,v[e+272>>2],v[e+276>>2]);h=v[299999];v[299999]=0;if((h|0)!=1){break M}b=P()|0;O()|0;v[e+140>>2]=f;break O}v[299999]=0;V(2652,e+136|0,e+272|0);f=v[299999];v[299999]=0;if((f|0)!=1){continue}}b=P()|0;O()|0}if(t[e+283|0]<=-1){dc(v[e+272>>2])}Jx(g);lf(N);break K}if(t[e+283|0]<=-1){dc(v[e+272>>2])}v[e+352>>2]=977544;v[e+288>>2]=977504;v[e+300>>2]=977356;v[e+296>>2]=977524;if(t[e+343|0]<=-1){dc(v[e+332>>2])}kh(da);lf(N);h=v[e+140>>2];f=v[e+136>>2];i=h-f|0;g=(i|0)/12|0;if((i|0)>=1){v[299999]=0;E=S(15,g<<3)|0;q=v[299999];v[299999]=0;P:{Q:{R:{if((q|0)!=1){if((f|0)!=(h|0)){q=(g|0)>1?g:1;h=0;while(1){v[299999]=0;k=+ha(4171,B(h,12)+f|0);f=v[299999];v[299999]=0;if((f|0)==1){break R}A[(h<<3)+E>>3]=k;h=h+1|0;if((q|0)==(h|0)){break P}f=v[e+136>>2];if((v[e+140>>2]-f|0)/12>>>0>h>>>0){continue}break}}v[299999]=0;R(4218,e+136|0);a=v[299999];v[299999]=0;if((a|0)==1){break Q}L()}b=P()|0;O()|0;break K}b=P()|0;O()|0;break K}b=P()|0;O()|0;break K}q=g;f=v[e+136>>2]}if(f){g=v[e+140>>2];if((g|0)==(f|0)){g=f}else{while(1){h=g-12|0;if(t[g-1|0]<=-1){dc(v[h>>2])}g=h;if((h|0)!=(f|0)){continue}break}g=v[e+136>>2]}v[e+140>>2]=f;dc(g)}if(t[e+163|0]>-1){break s}dc(v[e+152>>2]);break s}v[e+140>>2]=f+12;continue}}break a}b=P()|0;O()|0}Qg(e+136|0);if(t[e+163|0]>-1){break h}dc(v[e+152>>2]);break h}b=P()|0;O()|0;break h}S:{if(((f<<24>>24<0?g:h)|0)!=16){break S}v[299999]=0;f=ca(2608,e+168|0,0,-1,976132,16)|0;g=v[299999];v[299999]=0;if((g|0)!=1){if(f){g=v[e+172>>2];h=w[e+179|0];f=h;break S}v[299999]=0;V(4150,e+288|0,b|0);f=v[299999];v[299999]=0;T:{if((f|0)!=1){v[299999]=0;fa=+ha(4171,e+288|0);f=v[299999];v[299999]=0;if((f|0)==1){break T}if(t[e+299|0]>-1){break s}dc(v[e+288>>2]);break s}b=P()|0;O()|0;break h}b=P()|0;O()|0;if(t[e+299|0]>-1){break h}dc(v[e+288>>2]);break h}break a}U:{if(((f<<24>>24<0?g:h)|0)!=13){break U}v[299999]=0;f=ca(2608,e+168|0,0,-1,976200,13)|0;g=v[299999];v[299999]=0;if((g|0)!=1){if(f){g=v[e+172>>2];h=w[e+179|0];f=h;break U}v[299999]=0;V(4219,e+288|0,b|0);f=v[299999];v[299999]=0;V:{if((f|0)!=1){v[299999]=0;f=S(4220,e+288|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break V}t[e+263|0]=f;if(t[e+299|0]>-1){break s}dc(v[e+288>>2]);break s}b=P()|0;O()|0;break h}b=P()|0;O()|0;if(t[e+299|0]>-1){break h}dc(v[e+288>>2]);break h}break a}W:{if(((f<<24>>24<0?g:h)|0)!=16){break W}v[299999]=0;f=ca(2608,e+168|0,0,-1,976256,16)|0;g=v[299999];v[299999]=0;if((g|0)==1){break a}if(f){break W}v[299999]=0;V(4219,e+288|0,b|0);f=v[299999];v[299999]=0;X:{if((f|0)!=1){v[299999]=0;f=S(4220,e+288|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break X}t[e+261|0]=f;if(t[e+299|0]>-1){break s}dc(v[e+288>>2]);break s}b=P()|0;O()|0;break h}b=P()|0;O()|0;if(t[e+299|0]>-1){break h}dc(v[e+288>>2]);break h}if(Ii(976324,e+168|0)){v[299999]=0;V(4219,e+288|0,b|0);f=v[299999];v[299999]=0;Y:{if((f|0)!=1){v[299999]=0;f=S(4220,e+288|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break Y}t[e+262|0]=f;if(t[e+299|0]>-1){break s}dc(v[e+288>>2]);break s}b=P()|0;O()|0;break h}b=P()|0;O()|0;if(t[e+299|0]>-1){break h}dc(v[e+288>>2]);break h}if(Ii(976400,e+168|0)){v[299999]=0;V(4150,e+272|0,b|0);f=v[299999];v[299999]=0;Z:{_:{if((f|0)!=1){v[299999]=0;f=Q(4160,e+288|0,e+272|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break _}if(t[e+283|0]<=-1){dc(v[e+272>>2])}v[299999]=0;g=md(f,976460);h=v[299999];v[299999]=0;if((h|0)==1){break i}if(!g){break Z}t[e+260|0]=0;xc(f);break s}b=P()|0;O()|0;break h}b=P()|0;O()|0;if(t[e+283|0]>-1){break h}dc(v[e+272>>2]);break h}v[299999]=0;g=md(f,976484);h=v[299999];v[299999]=0;if((h|0)==1){break i}if(g){t[e+260|0]=1;xc(f);break s}v[299999]=0;g=md(f,976508);h=v[299999];v[299999]=0;if((h|0)==1){break i}if(g){t[e+260|0]=2}xc(f);break s}if(Ii(976532,e+168|0)){v[299999]=0;V(4150,e+288|0,b|0);f=v[299999];v[299999]=0;$:{if((f|0)!=1){v[299999]=0;I=+ha(4171,e+288|0);f=v[299999];v[299999]=0;if((f|0)==1){break $}if(t[e+299|0]>-1){break s}dc(v[e+288>>2]);break s}b=P()|0;O()|0;break h}b=P()|0;O()|0;if(t[e+299|0]>-1){break h}dc(v[e+288>>2]);break h}if(Ii(975152,e+168|0)){v[299999]=0;V(4150,e+288|0,b|0);f=v[299999];v[299999]=0;aa:{if((f|0)!=1){v[299999]=0;U(4204,r|0,e+288|0,1);f=v[299999];v[299999]=0;if((f|0)==1){break aa}if(t[e+299|0]>-1){break s}dc(v[e+288>>2]);break s}b=P()|0;O()|0;break h}b=P()|0;O()|0;if(t[e+299|0]>-1){break h}dc(v[e+288>>2]);break h}if(Ii(976600,e+168|0)){v[299999]=0;V(4150,e+288|0,b|0);f=v[299999];v[299999]=0;ba:{if((f|0)!=1){v[299999]=0;U(4204,p|0,e+288|0,1);f=v[299999];v[299999]=0;if((f|0)==1){break ba}if(t[e+299|0]>-1){break s}dc(v[e+288>>2]);break s}b=P()|0;O()|0;break h}b=P()|0;O()|0;if(t[e+299|0]>-1){break h}dc(v[e+288>>2]);break h}if(Ii(976620,e+168|0)){v[299999]=0;V(4150,e+288|0,b|0);f=v[299999];v[299999]=0;ca:{if((f|0)!=1){f=v[a+40>>2];g=v[f+4>>2];f=v[f>>2];da:{if(t[e+299|0]>=0){v[e+128>>2]=v[e+296>>2];l=v[e+292>>2];v[e+120>>2]=v[e+288>>2];v[e+124>>2]=l;break da}v[299999]=0;U(2345,e+120|0,v[e+288>>2],v[e+292>>2]);l=v[299999];v[299999]=0;if((l|0)==1){break ca}}l=e+120|0;ea:{if((f|0)==(g|0)){break ea}while(1){u=w[f+39|0];h=u<<24>>24<0;m=w[l+11|0];i=m<<24>>24<0;u=h?v[f+32>>2]:u;if((u|0)==((i?v[l+4>>2]:m)|0)){if(!u){break ea}m=f+28|0;if(!od(h?v[m>>2]:m,i?v[l>>2]:l,u)){break ea}}f=f+40|0;if((g|0)!=(f|0)){continue}break}f=g}l=f;if(t[e+131|0]<=-1){dc(v[e+120>>2])}if(t[e+299|0]>-1){break s}dc(v[e+288>>2]);break s}b=P()|0;O()|0;break h}b=P()|0;O()|0;if(t[e+299|0]>-1){break h}dc(v[e+288>>2]);break h}if(!Ii(976640,e+168|0)){break s}f=v[v[c>>2]+376>>2];v[299999]=0;ma(f|0,c|0,e+112|0,e+104|0,e+96|0,e+88|0,e+80|0,e+72|0)|0;f=v[299999];v[299999]=0;fa:{ga:{ha:{ia:{ja:{ka:{la:{ma:{if((f|0)!=1){v[299999]=0;g=Xa(4214,e- -64|0,+A[e+112>>3],+A[e+104>>3],+A[e+96>>3],+A[e+88>>3],+A[e+80>>3],+A[e+72>>3])|0;f=v[299999];v[299999]=0;if((f|0)==1){break ma}v[e+56>>2]=0;v[e+60>>2]=0;v[e+48>>2]=0;v[e+52>>2]=0;v[e+40>>2]=0;v[e+44>>2]=0;v[e+32>>2]=0;v[e+36>>2]=0;v[e+24>>2]=0;v[e+28>>2]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[e+312>>2]=0;v[e+316>>2]=0;v[e+304>>2]=0;v[e+308>>2]=0;v[e+296>>2]=0;v[e+300>>2]=0;v[299999]=0;v[e+288>>2]=0;v[e+292>>2]=0;u=Q(3111,ea|0,976728)|0;f=v[299999];v[299999]=0;if((f|0)==1){break la}v[299999]=0;V(4193,e+272|0,p|0);f=v[299999];v[299999]=0;if((f|0)==1){break ka}f=vs(e+272|0,976732,0);if((f|0)==-1){break fa}f=f+2|0;h=gj(e+272|0,44,f);if((h|0)==-1){break fa}v[299999]=0;i=e+272|0;f=ca(2654,e+152|0,i|0,f|0,h-f|0,i|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break ja}v[299999]=0;k=+ha(4171,f|0);f=v[299999];v[299999]=0;if((f|0)==1){break ia}A[e+56>>3]=k;if(t[e+163|0]<=-1){dc(v[e+152>>2])}f=h+1|0;h=gj(e+272|0,32,f);na:{if((h|0)==-1){break na}v[299999]=0;i=e+272|0;f=ca(2654,e+152|0,i|0,f|0,h-f|0,i|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break ha}v[299999]=0;k=+ha(4171,f|0);f=v[299999];v[299999]=0;if((f|0)==1){break ga}A[e+48>>3]=k;if(t[e+163|0]>-1){break na}dc(v[e+152>>2])}v[299999]=0;ke(g,e+56|0,e+48|0);f=v[299999];v[299999]=0;if((f|0)!=1){break fa}b=P()|0;O()|0;break k}b=P()|0;O()|0;break h}b=P()|0;O()|0;break h}b=P()|0;O()|0;Cd(g);break h}b=P()|0;O()|0;break j}b=P()|0;O()|0;break k}b=P()|0;O()|0;if(t[e+163|0]>-1){break k}dc(v[e+152>>2]);break k}b=P()|0;O()|0;break k}b=P()|0;O()|0;if(t[e+163|0]>-1){break k}dc(v[e+152>>2]);break k}h=-1;oa:{f=vs(e+272|0,976744,0);if((f|0)==-1){break oa}h=f+2|0;f=gj(e+272|0,44,h);if((f|0)==-1){break oa}v[299999]=0;i=e+272|0;i=ca(2654,e+152|0,i|0,h|0,f-h|0,i|0)|0;m=v[299999];v[299999]=0;pa:{qa:{ra:{if((m|0)!=1){v[299999]=0;k=+ha(4171,i|0);i=v[299999];v[299999]=0;if((i|0)==1){break ra}A[e+40>>3]=k;if(t[e+163|0]<=-1){dc(v[e+152>>2])}f=f+1|0;i=gj(e+272|0,32,f);sa:{if((i|0)==-1){break sa}v[299999]=0;m=e+272|0;f=ca(2654,e+152|0,m|0,f|0,i-f|0,m|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break qa}v[299999]=0;k=+ha(4171,f|0);f=v[299999];v[299999]=0;if((f|0)==1){break pa}A[e+32>>3]=k;if(t[e+163|0]>-1){break sa}dc(v[e+152>>2])}v[299999]=0;ke(g,e+40|0,e+32|0);f=v[299999];v[299999]=0;if((f|0)!=1){break oa}b=P()|0;O()|0;break k}b=P()|0;O()|0;break k}b=P()|0;O()|0;if(t[e+163|0]>-1){break k}dc(v[e+152>>2]);break k}b=P()|0;O()|0;break k}b=P()|0;O()|0;if(t[e+163|0]>-1){break k}dc(v[e+152>>2]);break k}ta:{f=vs(e+272|0,976744,h);if((f|0)==-1){break ta}f=f+2|0;h=gj(e+272|0,44,f);if((h|0)==-1){break ta}v[299999]=0;i=e+272|0;f=ca(2654,e+152|0,i|0,f|0,h-f|0,i|0)|0;i=v[299999];v[299999]=0;ua:{va:{wa:{if((i|0)!=1){v[299999]=0;k=+ha(4171,f|0);f=v[299999];v[299999]=0;if((f|0)==1){break wa}A[e+24>>3]=k;if(t[e+163|0]<=-1){dc(v[e+152>>2])}f=h+1|0;h=gj(e+272|0,32,f);xa:{if((h|0)==-1){break xa}v[299999]=0;i=e+272|0;f=ca(2654,e+152|0,i|0,f|0,h-f|0,i|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break va}v[299999]=0;k=+ha(4171,f|0);f=v[299999];v[299999]=0;if((f|0)==1){break ua}A[e+16>>3]=k;if(t[e+163|0]>-1){break xa}dc(v[e+152>>2])}v[299999]=0;ke(g,e+24|0,e+16|0);f=v[299999];v[299999]=0;if((f|0)!=1){break ta}b=P()|0;O()|0;break k}b=P()|0;O()|0;break k}b=P()|0;O()|0;if(t[e+163|0]>-1){break k}dc(v[e+152>>2]);break k}b=P()|0;O()|0;break k}b=P()|0;O()|0;if(t[e+163|0]>-1){break k}dc(v[e+152>>2]);break k}K=A[e+40>>3];X=A[e+56>>3];s=X;h=K==s;_=A[e+24>>3];k=h?_:K;f=e;o(+s);i=j(1)|0;i=i&2147483647;if(!(j(0)|0)&(i|0)==2146435072|i>>>0<2146435072){o(+k);i=j(1)|0;m=j(0)|0;i=i&2147483647;k=(i|0)==2146435072&(m|0)!=0|i>>>0>2146435072?s:F(s,k)}A[f+288>>3]=k;M=A[e+32>>3];aa=A[e+48>>3];s=aa;i=M==s;ba=A[e+16>>3];k=i?ba:M;o(+s);m=j(1)|0;m=m&2147483647;if(!(j(0)|0)&(m|0)==2146435072|m>>>0<2146435072){o(+k);m=j(1)|0;m=m&2147483647;k=(m|0)==2146435072&(j(0)|0)!=0|m>>>0>2146435072?s:F(s,k)}A[f+296>>3]=k;A[e+312>>3]=D(aa-(h?M:ba));A[e+304>>3]=D(X-(i?K:_));v[299999]=0;V(4150,e+152|0,b|0);f=v[299999];v[299999]=0;if((f|0)==1){break p}ya:{if(!vs(e+152|0,976756,0)){v[299999]=0;Q(2679,u|0,e+152|0)|0;f=v[299999];v[299999]=0;if((f|0)!=1){v[299999]=0;V(4221,n|0,e+288|0);f=v[299999];v[299999]=0;if((f|0)!=1){break ya}}b=P()|0;O()|0;break l}f=gj(e+152|0,35,0);if((f|0)==-1){break ya}h=v[a+40>>2];v[299999]=0;i=e+152|0;f=ca(2654,e+136|0,i|0,f+1|0,-1,i|0)|0;i=v[299999];v[299999]=0;za:{Aa:{Ba:{if((i|0)!=1){v[299999]=0;f=jm(h+12|0,f);h=v[299999];v[299999]=0;if((h|0)==1){break Ba}if(t[e+147|0]<=-1){dc(v[e+136>>2])}if((f|0)==(v[a+40>>2]+16|0)){break ya}f=v[f+28>>2];v[299999]=0;V(2726,e+136|0,f|0);f=v[299999];v[299999]=0;if((f|0)==1){break Aa}v[299999]=0;f=e+136|0;Y(4094,f|0,(t[e+147|0]<0?v[e+136>>2]:f)|0,35)|0;f=v[299999];v[299999]=0;if((f|0)==1){break za}f=J;h=w[f+3|0]|w[f+4|0]<<8|(w[f+5|0]<<16|w[f+6|0]<<24);f=v[f>>2];i=w[e+147|0];v[e+144>>2]=0;v[e+8>>2]=f;f=v[e+136>>2];v[e+136>>2]=0;v[e+140>>2]=0;t[e+11|0]=h;t[e+12|0]=h>>>8;t[e+13|0]=h>>>16;t[e+14|0]=h>>>24;Ca:{if(t[e+331|0]>=0){v[e+320>>2]=f;f=w[e+11|0]|w[e+12|0]<<8|(w[e+13|0]<<16|w[e+14|0]<<24);t[e+327|0]=f;t[e+328|0]=f>>>8;t[e+329|0]=f>>>16;t[e+330|0]=f>>>24;v[e+324>>2]=v[e+8>>2];t[e+331|0]=i;break Ca}dc(v[e+320>>2]);v[e+320>>2]=f;h=t[e+147|0];f=w[e+11|0]|w[e+12|0]<<8|(w[e+13|0]<<16|w[e+14|0]<<24);t[e+327|0]=f;t[e+328|0]=f>>>8;t[e+329|0]=f>>>16;t[e+330|0]=f>>>24;v[e+324>>2]=v[e+8>>2];t[e+331|0]=i;if((h|0)>-1){break Ca}dc(v[e+136>>2])}v[299999]=0;V(4221,n|0,e+288|0);f=v[299999];v[299999]=0;if((f|0)!=1){break ya}b=P()|0;O()|0;break l}b=P()|0;O()|0;break l}b=P()|0;O()|0;if(t[e+147|0]>-1){break l}dc(v[e+136>>2]);break l}b=P()|0;O()|0;break l}b=P()|0;O()|0;if(t[e+147|0]>-1){break l}dc(v[e+136>>2]);break l}if(t[e+163|0]<=-1){dc(v[e+152>>2])}if(t[e+283|0]<=-1){dc(v[e+272>>2])}if(t[e+331|0]<=-1){dc(v[e+320>>2])}Cd(g)}v[299999]=0;f=Ji(b);g=v[299999];v[299999]=0;if((g|0)==1){break r}if(f){break q}f=w[e+179|0]}if(f<<24>>24<=-1){dc(v[e+168>>2])}J=G&1;G=H;break o}b=P()|0;O()|0;break h}v[299999]=0;V(4145,e+288|0,b|0);f=v[299999];v[299999]=0;if((f|0)!=1){if(t[e+179|0]<=-1){dc(v[e+168>>2])}v[e+176>>2]=v[e+296>>2];f=v[e+292>>2];v[e+168>>2]=v[e+288>>2];v[e+172>>2]=f;continue}break}b=P()|0;O()|0;break h}b=P()|0;O()|0;break k}v[299999]=0;_i(b);f=v[299999];v[299999]=0;if((f|0)==1){break n}if(v[v[a+40>>2]+4>>2]==(l|0)){break m}v[299999]=0;V(4193,e+288|0,p|0);f=v[299999];v[299999]=0;if((f|0)!=1){Da:{Ea:{Fa:{f=gj(e+288|0,44,0);Ga:{if((f|0)==-1){break Ga}f=f+1|0;g=gj(e+288|0,32,f);if((g|0)==-1){break Ga}v[299999]=0;h=e+288|0;f=ca(2654,e+272|0,h|0,f|0,g-f|0,h|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break Fa}v[299999]=0;k=+ha(4171,f|0);g=v[299999];v[299999]=0;if((g|0)==1){break Ea}A[l+8>>3]=k;if(t[f+11|0]>-1){break Ga}dc(v[f>>2])}if(t[e+299|0]>-1){break m}dc(v[e+288>>2]);break m}b=P()|0;O()|0;break Da}b=P()|0;O()|0;if(t[f+11|0]>-1){break Da}dc(v[f>>2])}if(t[e+299|0]>-1){break f}dc(v[e+288>>2]);break f}b=P()|0;O()|0;break f}b=P()|0;O()|0;break f}l=0;v[299999]=0;g=!v[r+4>>2];f=v[299999];v[299999]=0;Ha:{if((f|0)==1){break Ha}f=0;Ia:{if(g){break Ia}v[299999]=0;f=v[r+4>>2];g=v[299999];v[299999]=0;if((g|0)==1){break Ha}Ja:{if(!f){break Ja}v[299999]=0;v[e+288>>2]=0;f=v[v[(w[r+8|0]?v[r>>2]:r)>>2]+(v[e+288>>2]<<2)>>2];g=v[299999];v[299999]=0;if((g|0)!=1){if((f|0)!=123){break Ja}f=0;v[299999]=0;l=Q(4207,d|0,r|0)|0;g=v[299999];v[299999]=0;if((g|0)!=1){break Ia}break Ha}b=P()|0;O()|0;break f}v[299999]=0;Ka:{La:{f=r;if(!w[f+8|0]){break La}f=v[f>>2];if(f){break La}f=0;break Ka}f=v[f>>2]}g=v[299999];v[299999]=0;if((g|0)==1){break Ha}v[299999]=0;k=A[d+48>>3];g=v[299999];v[299999]=0;if((g|0)!=1){v[299999]=0;A[e+288>>3]=k;l=Q(4209,f|0,e+288|0)|0;g=v[299999];v[299999]=0;f=1;if((g|0)!=1){break Ia}}b=P()|0;O()|0;break f}Ma:{Na:{Oa:{Pa:{Qa:{Ra:{Sa:{if(!G){break Sa}v[e+288>>2]=v[e+268>>2]&16777215;g=v[v[c>>2]+52>>2];v[299999]=0;Q(g|0,c|0,e+288|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break Ra}v[299999]=0;h=v[e+264>>2];k=A[d+48>>3];g=v[299999];v[299999]=0;if((g|0)!=1){g=e;k=k*+(h|0);Ta:{if(D(k)<2147483648){h=~~k;break Ta}h=-2147483648}v[g+288>>2]=h;g=v[v[c>>2]+60>>2];v[299999]=0;Q(g|0,c|0,e+288|0)|0;g=v[299999];v[299999]=0;if((g|0)!=1){break Sa}}b=P()|0;O()|0;break f}v[299999]=0;g=ph(b);h=v[299999];v[299999]=0;if((h|0)==1){break Ha}if(!g){v[299999]=0;g=e+288|0;v[g>>2]=0;v[g+4>>2]=0;t[g+8|0]=0;h=v[299999];v[299999]=0;if((h|0)==1){break Qa}v[299999]=0;H=wg(b);h=v[299999];v[299999]=0;Ua:{Va:{if((h|0)!=1){while(1){v[299999]=0;h=Q(4155,b|0,H|0)|0;n=v[299999];v[299999]=0;if((n|0)==1){break Ma}if(!h){break Ua}v[299999]=0;V(4145,e+168|0,b|0);h=v[299999];v[299999]=0;Wa:{Xa:{Ya:{Za:{if((h|0)!=1){v[299999]=0;h=Q(4160,e+272|0,e+168|0)|0;n=v[299999];v[299999]=0;if((n|0)==1){break Za}v[299999]=0;uf(g,h);n=v[299999];v[299999]=0;if((n|0)==1){break Ya}xc(h);if(t[e+179|0]<=-1){dc(v[e+168>>2])}v[299999]=0;h=md(g,976776);n=v[299999];v[299999]=0;if((n|0)==1){break Ma}if(!h){break Wa}v[299999]=0;U(4176,b|0,y|0,0);h=v[299999];v[299999]=0;if((h|0)!=1){continue}break Ma}b=P()|0;O()|0;xc(g);break f}b=P()|0;O()|0;break Xa}b=P()|0;O()|0;xc(h)}if(t[e+179|0]>-1){break Va}dc(v[e+168>>2]);xc(g);break f}v[299999]=0;h=md(g,976860);n=v[299999];v[299999]=0;if((n|0)==1){break Ma}if(h){v[299999]=0;V(4178,b|0,x|0);h=v[299999];v[299999]=0;if((h|0)!=1){continue}break Ma}v[299999]=0;h=md(g,976900);n=v[299999];v[299999]=0;if((n|0)==1){break Ma}if(!(l|!h)){v[299999]=0;k=A[d+48>>3];f=v[299999];v[299999]=0;_a:{if((f|0)==1){break _a}v[299999]=0;A[e+272>>3]=k;l=Y(4210,b|0,e+272|0,0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break _a}f=1;continue}b=P()|0;O()|0;xc(g);break f}v[299999]=0;h=md(g,976940);n=v[299999];v[299999]=0;if((n|0)==1){break Ma}if(!((h^-1|G)&1)){v[299999]=0;G=Z(4223,e|0,b|0,c|0,d|0)|0;h=v[299999];v[299999]=0;if((h|0)!=1){continue}b=P()|0;O()|0;xc(g);break f}v[299999]=0;h=md(g,976988);n=v[299999];v[299999]=0;if((n|0)==1){break Ma}if(!h){continue}v[299999]=0;h=v[p+4>>2];n=v[299999];v[299999]=0;if((n|0)==1){break Ma}if(h){continue}v[299999]=0;$(4224,e|0,b|0,p|0,z|0);h=v[299999];v[299999]=0;if((h|0)!=1){continue}break Ma}}b=P()|0;O()|0}xc(g);break f}xc(g)}g=0;$a:{ab:{bb:{cb:{db:{eb:{fb:{if(!l){break fb}b=v[v[l>>2]+12>>2];v[299999]=0;b=S(b|0,l|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break Ha}gb:{if(!b){break gb}b=v[a+28>>2];v[299999]=0;V(4148,e+288|0,a+16|0);a=v[299999];v[299999]=0;if((a|0)==1){break eb}v[299999]=0;U(4225,l|0,b|0,(t[e+299|0]<0?v[e+288>>2]:e+288|0)|0);a=v[299999];v[299999]=0;if((a|0)==1){break db}if(t[e+299|0]>-1){break gb}dc(v[e+288>>2])}a=v[v[l>>2]+8>>2];v[299999]=0;g=Q(a|0,l|0,c|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break Ha}if(!f){break fb}Ub[v[v[l>>2]+4>>2]](l)}v[299999]=0;a=v[y+4>>2];b=v[299999];v[299999]=0;if((b|0)==1){break Ha}l=0;if(a){v[299999]=0;hb:{ib:{a=y;if(!w[a+8|0]){break ib}a=v[a>>2];if(a){break ib}a=0;break hb}a=v[a>>2]}b=v[299999];v[299999]=0;if((b|0)==1){break Ha}v[299999]=0;l=Y(4170,e|0,a|0,d|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break Ha}}v[299999]=0;b=v[x+4>>2];a=v[299999];v[299999]=0;if((a|0)==1){break Ha}a=0;if(b){v[299999]=0;jb:{kb:{a=x;if(!w[a+8|0]){break kb}a=v[a>>2];if(a){break kb}a=0;break jb}a=v[a>>2]}b=v[299999];v[299999]=0;if((b|0)==1){break Ha}v[299999]=0;a=Y(4169,e|0,a|0,d|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Ha}}if(!E){break ab}lb:{if((q|0)<1){break lb}b=0;if((q|0)!=1){h=q&-2;while(1){f=b<<3;H=f+E|0;A[H>>3]=C*A[H>>3]*25.4/96;f=(f|8)+E|0;A[f>>3]=C*A[f>>3]*25.4/96;b=b+2|0;h=h-2|0;if(h){continue}break}}if(!(q&1)){break lb}b=(b<<3)+E|0;A[b>>3]=C*A[b>>3]*25.4/96}t[e+288|0]=5;b=v[v[c>>2]+76>>2];v[299999]=0;Q(b|0,c|0,e+288|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break cb}b=v[v[c>>2]+128>>2];v[299999]=0;Y(b|0,c|0,E|0,q|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Ha}A[e+288>>3]=fa*C*25.4/96;b=v[v[c>>2]+108>>2];v[299999]=0;Q(b|0,c|0,e+288|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break bb}b=v[v[c>>2]+84>>2];v[299999]=0;Q(b|0,c|0,e+263|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Ha}b=v[v[c>>2]+92>>2];v[299999]=0;Q(b|0,c|0,e+263|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Ha}dc(E);break $a}b=P()|0;O()|0;break f}b=P()|0;O()|0;if(t[e+299|0]>-1){break f}dc(v[e+288>>2]);break f}b=P()|0;O()|0;break f}b=P()|0;O()|0;break f}t[e+288|0]=0;b=v[v[c>>2]+76>>2];v[299999]=0;Q(b|0,c|0,e+288|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Pa}b=v[v[c>>2]+84>>2];v[299999]=0;Q(b|0,c|0,e+262|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Ha}b=v[v[c>>2]+92>>2];v[299999]=0;Q(b|0,c|0,e+261|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Ha}}b=v[v[c>>2]+100>>2];v[299999]=0;Q(b|0,c|0,e+260|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Ha}mb:{if(w[e+260|0]){break mb}A[e+288>>3]=I*25.4/96;b=v[v[c>>2]+124>>2];v[299999]=0;Q(b|0,c|0,e+288|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break mb}b=P()|0;O()|0;break f}A[e+288>>3]=C*25.4/96;b=v[v[c>>2]+68>>2];v[299999]=0;Q(b|0,c|0,e+288|0)|0;b=v[299999];v[299999]=0;nb:{ob:{pb:{if((b|0)!=1){v[e+288>>2]=4;b=v[v[c>>2]+288>>2];v[299999]=0;Q(b|0,c|0,e+288|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break pb}b=v[v[c>>2]+332>>2];v[299999]=0;S(b|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Ha}v[299999]=0;b=v[p+4>>2];f=v[299999];v[299999]=0;if((f|0)==1){break Ha}qb:{if(!b){break qb}v[299999]=0;v[e+288>>2]=0;b=v[v[(w[p+8|0]?v[p>>2]:p)>>2]+(v[e+288>>2]<<2)>>2];f=v[299999];v[299999]=0;if((f|0)==1){break ob}if((b|0)!=123){break qb}v[299999]=0;$(4187,d|0,p|0,p|0,z|0);b=v[299999];v[299999]=0;if((b|0)==1){break Ha}}b=0;v[299999]=0;f=!v[z+4>>2];q=v[299999];v[299999]=0;rb:{if((q|0)==1){break rb}if(f){break nb}v[299999]=0;sb:{tb:{b=z;if(!w[b+8|0]){break tb}b=v[b>>2];if(b){break tb}b=0;break sb}b=v[b>>2]}f=v[299999];v[299999]=0;if((f|0)==1){break rb}v[299999]=0;b=Y(4170,e|0,b|0,d|0)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break nb}}b=P()|0;O()|0;break f}b=P()|0;O()|0;break f}b=P()|0;O()|0;break f}b=P()|0;O()|0;break f}v[299999]=0;f=Q(4226,p|0,c|0)|0;q=v[299999];v[299999]=0;if((q|0)==1){break Oa}v[e+288>>2]=G&1|(g?f?256:512:0);f=v[v[c>>2]+328>>2];v[299999]=0;Q(f|0,c|0,e+288|0)|0;f=v[299999];v[299999]=0;ub:{vb:{if((f|0)!=1){v[e+288>>2]=4;f=v[v[c>>2]+292>>2];v[299999]=0;Q(f|0,c|0,e+288|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break vb}f=v[v[c>>2]+324>>2];v[299999]=0;S(f|0,c|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break Na}if(!b){break ub}v[299999]=0;R(4181,d|0);b=v[299999];v[299999]=0;if((b|0)!=1){break ub}break Na}b=P()|0;O()|0;break f}b=P()|0;O()|0;break f}if(l){v[299999]=0;R(4181,d|0);b=v[299999];v[299999]=0;if((b|0)==1){break Na}}if(a){v[299999]=0;R(4180,d|0);a=v[299999];v[299999]=0;if((a|0)==1){break Na}}if(J){v[299999]=0;St(d);a=v[299999];v[299999]=0;if((a|0)==1){break Na}}xc(z);xc(p);xc(y);xc(x);xc(r);Qb=e+432|0;return}b=P()|0;O()|0;break f}b=P()|0;O()|0;break f}b=P()|0;O()|0;break f}b=P()|0;O()|0;break f}b=P()|0;O()|0;break f}b=P()|0;O()|0;xc(g);break f}b=P()|0;O()|0;break f}if(t[e+163|0]>-1){break k}dc(v[e+152>>2])}if(t[e+283|0]>-1){break j}dc(v[e+272>>2])}if(t[e+331|0]<=-1){dc(v[e+320>>2])}Cd(g);break h}b=P()|0;O()|0;xc(f)}if(t[e+179|0]>-1){break f}dc(v[e+168>>2]);break f}b=P()|0;O()|0}xc(z);break e}b=P()|0;O()|0}xc(p);break d}b=P()|0;O()|0}xc(y);break c}b=P()|0;O()|0}xc(x);break b}b=P()|0;O()|0}xc(r);T(b|0);L()}W(0)|0;O()|0;lc();L()}function z0(a,b,c){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,p=0,q=0,r=0,s=0,A=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=C(0);d=Qb-368|0;Qb=d;E=x[a+25204>>1];h=d+6|0;Ub[v[v[a>>2]>>2]](v[a+4>>2],h,1,10)|0;a:{if(!Pc(h,60848,3)){break a}if(!Pc(d+6|0,60994,3)|(w[d+6|0]|w[d+7|0]<<8|(w[d+8|0]<<16|w[d+9|0]<<24))==1229539657|(w[d+6|0]|w[d+7|0]<<8|(w[d+8|0]<<16|w[d+9|0]<<24))==1296911693){break a}b:{c:{if((w[d+6|0]|w[d+7|0]<<8)!=17227){if(Pc(d+6|0,61683,3)){break c}}u[a+25204>>1]=19789;b=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;if(b>>>0>16383){break b}c=v[a+26052>>2];h=b>>31;if((c|0)<=(h|0)&b>>>0>=y[a+26048>>2]|(c|0)<(h|0)){break b}h=0;while(1){b=h;u[d+16>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+16|0,1,2)|0;c=w[d+16|0];if(x[a+25204>>1]==18761){c=c|w[d+17|0]<<8}else{c=w[d+17|0]|c<<8}d:{if((p|0)!=256){break d}h=c&65535;if((h|0)!=256|g>>>0<257|(b>>>0<257|g>>>0>639)){break d}if(b>>>0>639){break d}v[a+59272>>2]=1132462080;z[a+59276>>2]=b>>>0;z[a+59268>>2]=g>>>0;z[a+59280>>2]=h>>>0}e=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;if(e>>>0>16383){break b}h=p;g=b;p=c&65535;b=v[a+26052>>2];c=e>>31;if(e>>>0>2]&(b|0)>=(c|0)|(b|0)>(c|0)){continue}break}break b}e:{if(!Pc(d+6|0,61763,6)){b=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;u[d+16>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+16|0,1,2)|0;h=w[d+16|0];e=a;if(x[a+25204>>1]==18761){g=h|w[d+17|0]<<8}else{g=w[d+17|0]|h<<8}u[e+25204>>1]=g;u[d+16>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+16|0,1,2)|0;g=w[d+16|0];if(x[a+25204>>1]==18761){e=g|w[d+17|0]<<8}else{e=w[d+17|0]|g<<8}if((e&65535)!=42){break b}g=vm(a);Ub[v[v[a>>2]+8>>2]](v[a+4>>2],g-8|0,1)|0;break e}if((w[d+6|0]|w[d+7|0]<<8|(w[d+8|0]<<16|w[d+9|0]<<24))==1297697871&(w[d+10|0]|w[d+11|0]<<8|(w[d+12|0]<<16|w[d+13|0]<<24))==5461328){b=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],-2,1)|0;L=a,M=sl(a),u[L+25204>>1]=M;sl(a);b=b-10|0;break e}f:{e=w[d+6|0]|w[d+7|0]<<8|(w[d+8|0]<<16|w[d+9|0]<<24);if(!((e|0)==1229608262&(w[d+10|0]|w[d+11|0]<<8|(w[d+12|0]<<16|w[d+13|0]<<24))==1296845126|(e|0)==1498304339)){if(Pc(d+6|0,62422,10)){break f}}u[a+25204>>1]=18761;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],2,1)|0;break e}g:{h:{if(!Pc(d+6|0,62585,6)){break h}if(!Pc(d+6|0,62858,6)){break h}if(!Pc(d+6|0,62967,6)){break h}if(Pc(d+6|0,63133,6)){break g}}Ub[v[v[a>>2]+8>>2]](v[a+4>>2],-2,1)|0;break e}e=w[d+6|0]|w[d+7|0]<<8|(w[d+8|0]<<16|w[d+9|0]<<24);if(!((e|0)!=4411201&(e|0)!=4413009)){Ub[v[v[a>>2]+8>>2]](v[a+4>>2],-4,1)|0;break e}Ub[v[v[a>>2]+8>>2]](v[a+4>>2],-10,1)|0}u[d+16>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+16|0,1,2)|0;g=w[d+16|0];if(x[a+25204>>1]==18761){g=g|w[d+17|0]<<8}else{g=w[d+17|0]|g<<8}h=g&65535;if(h>>>0>1e3){break a}if(!h){break b}F=a+25797|0;G=a+25925|0;H=a+25861|0;r=a+25733|0;I=c<<16;J=b;K=b>>31;s=g&65535;n=a+59268|0;while(1){Ks(a,b,d+360|0,d+356|0,d+352|0,d+348|0);c=v[d+360>>2]|I;v[d+360>>2]=c;s=s-1|0;i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{if((c|0)==2){if(!yd(r,63686)){h=v[d+356>>2];i=(h|0)==4;e=v[d+352>>2];break t}u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;g=w[d+364|0];c=a;if(x[a+25204>>1]==18761){e=g|w[d+365|0]<<8}else{e=w[d+365|0]|g<<8}z[c+26e3>>2]=(e&65535)>>>0;c=v[d+360>>2]}e=v[d+352>>2];if(!((c|0)!=4|e>>>0<27|e>>>0>34)){v[d+364>>2]=-1;c=d+364|0;Ub[v[v[a>>2]>>2]](v[a+4>>2],c,1,4)|0;u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c,1,2)|0;c=w[d+364|0];if(x[a+25204>>1]==18761){c=c|w[d+365|0]<<8}else{c=w[d+365|0]|c<<8}c=c&65535;if(!((c|0)==32767|z[a+26e3>>2]!=C(0))){L=a,N=C(C(Cl(+(c>>>0)*.03125+-4))*C(50)),z[L+26e3>>2]=N}u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;c=w[d+364|0];if(x[a+25204>>1]==18761){c=c|w[d+365|0]<<8}else{c=w[d+365|0]|c<<8}c=c&65535;if(!((c|0)==32767|z[a+26008>>2]!=C(0))){L=a,N=C(Cl(+(c>>>0)*.015625)),z[L+26008>>2]=N}u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;c=w[d+364|0];if(x[a+25204>>1]==18761){c=c|w[d+365|0]<<8}else{c=w[d+365|0]|c<<8}if(!((c&65535)==65535|z[a+26004>>2]!=C(0))){L=a,N=C(Cl(+(c<<16>>16)*-.03125)),z[L+26004>>2]=N}u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;c=w[d+364|0];if(x[a+25204>>1]==18761){c=c|w[d+365|0]<<8}else{c=w[d+365|0]|c<<8}u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;g=w[d+364|0];A=c&65535;c=a;if(x[a+25204>>1]==18761){g=g|w[d+365|0]<<8}else{g=w[d+365|0]|g<<8}v[c+26020>>2]=g&65535;c=v[d+360>>2]}f=v[d+356>>2];l=(c|0)==7&(f|0)==2&e>>>0>20;u:{v:{if(l){Ub[v[v[a>>2]+16>>2]](v[a+4>>2],H,64)|0;h=2;break v}i=(f|0)==4;if((c|0)!=8){h=f;break u}h=f;if((f|0)!=4){break u}v[d+364>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,4)|0;g=w[d+364|0];c=a;if(x[a+25204>>1]==18761){g=g|w[d+365|0]<<8|w[d+366|0]<<16|w[d+367|0]<<24}else{g=w[d+367|0]|(w[d+365|0]<<16|g<<24|w[d+366|0]<<8)}v[c+26020>>2]=g;h=4}i=!l;c=v[d+360>>2]}if((c|0)!=9){break r}if(!mc(r,63884)){break s}}g=e;l=(g|0)==4;break q}Ub[v[v[a>>2]>>2]](v[a+4>>2],G,64,1)|0;c=v[d+360>>2]}w:{if((c|0)!=12){g=e;break w}g=e;if((e|0)!=4){break w}L=a,N=C(re(a,h)),z[L+59268>>2]=N;L=a,N=C(re(a,h)),z[L+59276>>2]=N;g=4;c=v[d+360>>2]}l=(e|0)==4;if((c|0)==16&i){v[d+364>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,4)|0;e=w[d+364|0];c=a;if(x[a+25204>>1]==18761){e=e|w[d+365|0]<<8|w[d+366|0]<<16|w[d+367|0]<<24}else{e=w[d+367|0]|(w[d+365|0]<<16|e<<24|w[d+366|0]<<8)}v[c+26036>>2]=e;c=v[d+360>>2]}if((c|0)==17){if(!v[a+26148>>2]){break q}if(Oc(r,63686,5)){break q}e=v[a>>2];j=v[e+8>>2];c=v[a+4>>2];v[d+364>>2]=-1;Ub[v[e>>2]](c,d+364|0,1,4)|0;e=w[d+364|0];if(x[a+25204>>1]==18761){e=e|w[d+365|0]<<8|w[d+366|0]<<16|w[d+367|0]<<24}else{e=w[d+367|0]|(w[d+365|0]<<16|e<<24|w[d+366|0]<<8)}Ub[j|0](c,e+b|0,0)|0;Js(a,b);c=v[d+360>>2]}if(!((c|0)!=20|(g|0)!=2560|(h|0)!=7)){g=2560;c=1248;break o}e=(h|0)==7;if(!v[a+26148>>2]|((c|0)!=21|(f|0)!=2)){break p}Ub[v[v[a>>2]>>2]](v[a+4>>2],F,64,1)|0;break p}e=(h|0)==7}c=v[d+360>>2];x:{y:{if(yd(r,64230)){z:{switch(c-27|0){case 0:v[d+360>>2]=4120;break x;case 2:break y;case 1:break z;default:break x}}v[d+360>>2]=4119;break x}if((c|0)!=29){break x}}c=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;if(c+1>>>0<2){break x}while(1){f=c-48|0;p=B(p,10)+(f>>>0<10?f:(c>>>0)%10|0)|0;c=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;if(c+1>>>0>1){continue}break}}c=v[d+360>>2];if((c|0)==129&i){v[d+364>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,4)|0;f=w[d+364|0];c=a;k=a;if(x[a+25204>>1]==18761){f=f|w[d+365|0]<<8|w[d+366|0]<<16|w[d+367|0]<<24}else{f=w[d+367|0]|(w[d+365|0]<<16|f<<24|w[d+366|0]<<8)}v[k+26048>>2]=f;v[c+26052>>2]=0;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],f+41|0,0)|0;u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;f=w[d+364|0];c=a;if(x[a+25204>>1]==18761){f=f|w[d+365|0]<<8}else{f=w[d+365|0]|f<<8}u[c+26304>>1]=f<<1;u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;c=w[d+364|0];if(x[a+25204>>1]==18761){c=c|w[d+365|0]<<8}else{c=w[d+365|0]|c<<8}v[a+26028>>2]=1633771873;u[a+26306>>1]=c;c=v[d+360>>2]}if(!((c|0)!=41|(h|0)!=1)){Ub[v[v[a>>2]+8>>2]](v[a+4>>2],(A>>>0<=17?t[A+64399|0]-48|0:0)<<5|8,1)|0;v[d+364>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,4)|0;f=w[d+364|0];c=a;if(x[a+25204>>1]==18761){f=f|w[d+365|0]<<8|w[d+366|0]<<16|w[d+367|0]<<24}else{f=w[d+367|0]|(w[d+365|0]<<16|f<<24|w[d+366|0]<<8)}z[c+59272>>2]=f>>>0;v[d+364>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,4)|0;f=w[d+364|0];c=a;if(x[a+25204>>1]!=18761){f=w[d+367|0]|(w[d+365|0]<<16|f<<24|w[d+366|0]<<8)}else{f=f|w[d+365|0]<<8|w[d+366|0]<<16|w[d+367|0]<<24}z[c+59268>>2]=f>>>0;v[d+364>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,4)|0;f=w[d+364|0];c=a;if(x[a+25204>>1]!=18761){f=w[d+367|0]|(w[d+365|0]<<16|f<<24|w[d+366|0]<<8)}else{f=f|w[d+365|0]<<8|w[d+366|0]<<16|w[d+367|0]<<24}z[c+59276>>2]=f>>>0;v[d+364>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,4)|0;f=w[d+364|0];c=a;if(x[a+25204>>1]!=18761){f=w[d+367|0]|(w[d+365|0]<<16|f<<24|w[d+366|0]<<8)}else{f=f|w[d+365|0]<<8|w[d+366|0]<<16|w[d+367|0]<<24}z[c+59280>>2]=f>>>0;c=v[d+360>>2]}if(!((c|0)!=640|(h|0)!=1?!((c|0)==129&e|(c|0)==256&e):0)){c=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[a+26080>>2]=g;v[a+26056>>2]=c;v[a+26060>>2]=c>>31;c=v[d+360>>2]}A:{if(!((c|0)==136&i)){break A}v[d+364>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,4)|0;c=w[d+364|0];f=a;k=a;if(x[a+25204>>1]==18761){e=c|w[d+365|0]<<8|w[d+366|0]<<16|w[d+367|0]<<24}else{e=w[d+367|0]|(w[d+365|0]<<16|c<<24|w[d+366|0]<<8)}c=e;v[k+26056>>2]=c;v[f+26060>>2]=0;if(!c){break A}e=K;j=c+J|0;e=c>>>0>j>>>0?e+1|0:e;v[a+26056>>2]=j;v[f+26060>>2]=e}c=v[d+360>>2];if((c|0)==137&i){v[d+364>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,4)|0;e=w[d+364|0];c=a;if(x[a+25204>>1]==18761){e=e|w[d+365|0]<<8|w[d+366|0]<<16|w[d+367|0]<<24}else{e=w[d+367|0]|(w[d+365|0]<<16|e<<24|w[d+366|0]<<8)}v[c+26080>>2]=e;c=v[d+360>>2]}B:{switch(c-140|0){case 0:case 10:c=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[a+26064>>2]=c;v[a+26068>>2]=c>>31;c=v[d+360>>2];break;default:break B}}C:{if((c|0)!=151){break C}i=B(B(B((Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0)+B(o,10)|0,10)+(Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0)|0,10)+(Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0)|0,10)+(Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0)|0;o=i-53328|0;e=6;c=a;f=a;D:{E:{F:{G:{H:{switch(i-53428|0){case 0:Ub[v[v[a>>2]+8>>2]](v[a+4>>2],68,1)|0;u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;f=w[d+364|0];e=a;if(x[a+25204>>1]==18761){f=f|w[d+365|0]<<8}else{f=w[d+365|0]|f<<8}z[e+59268>>2]=(f&65535)>>>0;u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];if(x[a+25204>>1]==18761){break E}e=w[d+365|0]|e<<8;break D;case 3:Ub[v[v[a>>2]+8>>2]](v[a+4>>2],16,1)|0;u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];c=a;if(x[a+25204>>1]==18761){e=e|w[d+365|0]<<8}else{e=w[d+365|0]|e<<8}z[c+59268>>2]=(e&65535)>>>0;u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;c=w[d+364|0];if(x[a+25204>>1]==18761){break G}c=w[d+365|0]|c<<8;break F;case 2:break k;default:break H}}if(o>>>0<200){break C}if((o|0)!=205){Ub[v[v[a>>2]+8>>2]](v[a+4>>2],280,1)|0}Ub[v[v[a>>2]>>2]](v[a+4>>2],d+16|0,324,1)|0;break C}c=c|w[d+365|0]<<8}z[f+59272>>2]=(c&65535)>>>0;u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+365|0]|e<<8}else{e=e|w[d+365|0]<<8}z[c+59276>>2]=(e&65535)>>>0;u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+365|0]|e<<8}else{e=e|w[d+365|0]<<8}z[c+59280>>2]=(e&65535)>>>0;o=103;break C}e=e|w[d+365|0]<<8}z[c+59276>>2]=(e&65535)>>>0;u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+365|0]|e<<8}else{e=e|w[d+365|0]<<8}z[c+59272>>2]=(e&65535)>>>0;u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+365|0]|e<<8}else{e=e|w[d+365|0]<<8}z[c+59280>>2]=(e&65535)>>>0;o=100}c=v[d+360>>2];if(!((c|0)!=164|(h|0)!=3)){Ub[v[v[a>>2]+8>>2]](v[a+4>>2],B(A,48),1)|0;u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];c=a;if(x[a+25204>>1]==18761){e=e|w[d+365|0]<<8}else{e=w[d+365|0]|e<<8}z[c+59268>>2]=(e&65535)>>>0;u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+365|0]|e<<8}else{e=e|w[d+365|0]<<8}z[c+59272>>2]=(e&65535)>>>0;u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+365|0]|e<<8}else{e=e|w[d+365|0]<<8}z[c+59276>>2]=(e&65535)>>>0;c=v[d+360>>2]}I:{J:{K:{if((c|0)==167){m=o-200|0;if(m>>>0>11|z[a+59268>>2]!=C(0)){break K}j=w[(Ub[v[v[a>>2]+28>>2]](v[a+4>>2])^Ub[v[v[a>>2]+28>>2]](v[a+4>>2])^Ub[v[v[a>>2]+28>>2]](v[a+4>>2])^Ub[v[v[a>>2]+28>>2]](v[a+4>>2]))+199056|0];i=w[(p&255)+198800|0];e=0;c=96;while(1){f=(d+16|0)+e|0;j=B(c,i)+j|0;t[f|0]=j^w[f|0];j=j+B(i,c+1|0)|0;t[f+1|0]=j^w[f+1|0];j=j+B(i,c+2|0)|0;t[f+2|0]=j^w[f+2|0];c=c+3|0;e=e+3|0;if((e|0)!=324){continue}break}c=t[m+64602|0];e=c&1;c=(d+16|0)+(c-48&-2)|0;f=w[c|0];k=((e<<2)+a|0)+59276|0;L:{if(x[a+25204>>1]!=18761){z[(e<<2)+n>>2]=(w[c+1|0]|f<<8)>>>0;f=x[c+2>>1];z[(!e<<2)+n>>2]=((f<<8|f>>>8)&65535)>>>0;f=((e^3)<<2)+n|0;e=x[c+4>>1];z[f>>2]=((e<<8|e>>>8)&65535)>>>0;c=x[c+6>>1];c=c<<8|c>>>8;break L}z[(e<<2)+n>>2]=(f|w[c+1|0]<<8)>>>0;z[(!e<<2)+n>>2]=x[c+2>>1];z[((e^3)<<2)+n>>2]=x[c+4>>1];c=x[c+6>>1]}z[k>>2]=(c&65535)>>>0;c=v[d+360>>2]}if(!((c|0)!=512|(g|0)!=3)){v[d+364>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,4)|0;v[d+364>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,4)|0;e=w[d+364|0];c=a;if(x[a+25204>>1]==18761){e=e|w[d+365|0]<<8|w[d+366|0]<<16|w[d+367|0]<<24}else{e=w[d+367|0]|(w[d+365|0]<<16|e<<24|w[d+366|0]<<8)}v[c+26020>>2]=e;l=0;break J}if(!((c|0)==512&l)){break K}u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;c=w[d+364|0];if(x[a+25204>>1]==18761){c=c|w[d+365|0]<<8}else{c=w[d+365|0]|c<<8}u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=c&65535;c=w[d+364|0];if(x[a+25204>>1]==18761){c=c|w[d+365|0]<<8}else{c=w[d+365|0]|c<<8}u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;i=e+(c&65535)|0;c=w[d+364|0];if(x[a+25204>>1]==18761){e=c|w[d+365|0]<<8}else{e=w[d+365|0]|c<<8}u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;f=w[d+364|0];c=a;e=i+(e&65535)|0;if(x[a+25204>>1]==18761){f=f|w[d+365|0]<<8}else{f=w[d+365|0]|f<<8}v[c+26120>>2]=e+(f&65535)>>>2;l=1}c=v[d+360>>2];if((c|0)==513&l){break j}if(!((c|0)!=544|(g|0)!=53)){Ub[v[v[a>>2]+8>>2]](v[a+4>>2],14,1)|0;i=0;j=0;f=Qb+-64|0;Qb=f;e=ic(a+232|0,0,24576);v[a+24812>>2]=e;while(1){u[f+62>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],f+62|0,1,2)|0;c=w[f+62|0];k=f+(i<<1)|0;if(x[a+25204>>1]==18761){c=c|w[f+63|0]<<8}else{c=w[f+63|0]|c<<8}u[k>>1]=c;i=i+1|0;if((i|0)!=13){continue}break}L=f,M=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])&15,u[L+26>>1]=M;L=f,M=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])&15,u[L+28>>1]=M;L=f,M=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])&15,u[L+30>>1]=M;L=f,M=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])&15,u[L+32>>1]=M;L=f,M=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])&15,u[L+34>>1]=M;L=f,M=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])&15,u[L+36>>1]=M;L=f,M=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])&15,u[L+38>>1]=M;L=f,M=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])&15,u[L+40>>1]=M;L=f,M=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])&15,u[L+42>>1]=M;L=f,M=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])&15,u[L+44>>1]=M;L=f,M=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])&15,u[L+46>>1]=M;L=f,M=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])&15,u[L+48>>1]=M;L=f,M=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])&15,u[L+50>>1]=M;while(1){c=e;i=f+(j<<1)|0;m=x[i+26>>1];M:{if(!m){break M}D=x[i>>1];i=0;if((m|0)!=1){k=m&65534;while(1){q=((D>>>11-i&1)<<2)+c|0;c=v[q>>2];if(!c){c=v[a+24812>>2]+12|0;v[a+24812>>2]=c;v[q>>2]=c}q=((D>>>10-i&1)<<2)+c|0;c=v[q>>2];if(!c){c=v[a+24812>>2]+12|0;v[a+24812>>2]=c;v[q>>2]=c}i=i+2|0;k=k-2|0;if(k){continue}break}}if(!(m&1)){break M}i=((D>>>11-i&1)<<2)+c|0;c=v[i>>2];if(c){break M}c=v[a+24812>>2]+12|0;v[a+24812>>2]=c;v[i>>2]=c}v[c+8>>2]=j;j=j+1|0;if((j|0)!=13){continue}break}Qb=f- -64|0;c=v[d+360>>2]}if(!((c|0)==1025&l)){break I}v[d+364>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,4)|0;c=w[d+364|0];if(x[a+25204>>1]==18761){c=c|w[d+365|0]<<8|w[d+366|0]<<16|w[d+367|0]<<24}else{c=w[d+367|0]|(w[d+365|0]<<16|c<<24|w[d+366|0]<<8)}v[d+364>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,4)|0;e=w[d+364|0];if(x[a+25204>>1]==18761){e=e|w[d+365|0]<<8|w[d+366|0]<<16|w[d+367|0]<<24}else{e=w[d+367|0]|(w[d+365|0]<<16|e<<24|w[d+366|0]<<8)}v[d+364>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,4)|0;e=c+e|0;c=w[d+364|0];if(x[a+25204>>1]==18761){c=c|w[d+365|0]<<8|w[d+366|0]<<16|w[d+367|0]<<24}else{c=w[d+367|0]|(w[d+365|0]<<16|c<<24|w[d+366|0]<<8)}v[d+364>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,4)|0;f=c+e|0;e=w[d+364|0];c=a;if(x[a+25204>>1]==18761){e=e|w[d+365|0]<<8|w[d+366|0]<<16|w[d+367|0]<<24}else{e=w[d+367|0]|(w[d+365|0]<<16|e<<24|w[d+366|0]<<8)}v[c+26120>>2]=e+f>>>2}c=v[d+360>>2]}if((c|0)==3585){h=u[a+25204>>1];v[d+356>>2]=h;u[a+25204>>1]=18761;e=22;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],22,1)|0;if(g>>>0>=45){while(1){v[d+364>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,4)|0;f=w[d+364|0];c=d;if(x[a+25204>>1]==18761){f=f|w[d+365|0]<<8|w[d+366|0]<<16|w[d+367|0]<<24}else{f=w[d+367|0]|(w[d+365|0]<<16|f<<24|w[d+366|0]<<8)}v[c+360>>2]=f;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],14,1)|0;v[d+364>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,4)|0;c=w[d+364|0];if(x[a+25204>>1]==18761){c=c|w[d+365|0]<<8|w[d+366|0]<<16|w[d+367|0]<<24}else{c=w[d+367|0]|(w[d+365|0]<<16|c<<24|w[d+366|0]<<8)}N:{if(v[d+360>>2]==1990472199){u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;i=w[d+364|0];f=a;if(x[a+25204>>1]==18761){k=i|w[d+365|0]<<8}else{k=w[d+365|0]|i<<8}v[f+26328>>2]=k&65535;break N}Ub[v[v[a>>2]+8>>2]](v[a+4>>2],c-4|0,1)|0}c=c+e|0;e=c+18|0;if(c+40>>>0>>0){continue}break}}u[a+25204>>1]=h;c=v[d+360>>2]}if(!((c|0)!=3712|(g|0)!=256|(h|0)!=7)){Ub[v[v[a>>2]+8>>2]](v[a+4>>2],48,1)|0;u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];c=a;if(x[a+25204>>1]==18761){e=e|w[d+365|0]<<8}else{e=w[d+365|0]|e<<8}z[c+59268>>2]=C(C(B(e&65535,508)|0)*C(1.0779999494552612))*C(152587890625e-16);u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];c=a;if(x[a+25204>>1]==18761){e=e|w[d+365|0]<<8}else{e=w[d+365|0]|e<<8}z[c+59276>>2]=C(C(B(e&65535,382)|0)*C(1.1729999780654907))*C(152587890625e-16);c=v[d+360>>2]}if((c|0)!=3840|(h|0)!=7){break n}if((g|0)==614){c=176}else{if((g|0)!=1502&(g|0)!=734){break i}c=148}}e=g;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],c,1)|0;h=7;break m}if(!((c|0)==4113&(g|0)==9?0:(c|0)!=541065728)){u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];c=a;if(x[a+25204>>1]==18761){e=e|w[d+365|0]<<8}else{e=w[d+365|0]|e<<8}z[c+59300>>2]=C(e<<16>>16)*C(.00390625);u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+365|0]|e<<8}else{e=e|w[d+365|0]<<8}z[c+59304>>2]=C(e<<16>>16)*C(.00390625);u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+365|0]|e<<8}else{e=e|w[d+365|0]<<8}z[c+59308>>2]=C(e<<16>>16)*C(.00390625);u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+365|0]|e<<8}else{e=e|w[d+365|0]<<8}z[c+59316>>2]=C(e<<16>>16)*C(.00390625);u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+365|0]|e<<8}else{e=e|w[d+365|0]<<8}z[c+59320>>2]=C(e<<16>>16)*C(.00390625);u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+365|0]|e<<8}else{e=e|w[d+365|0]<<8}z[c+59324>>2]=C(e<<16>>16)*C(.00390625);u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+365|0]|e<<8}else{e=e|w[d+365|0]<<8}z[c+59332>>2]=C(e<<16>>16)*C(.00390625);u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+365|0]|e<<8}else{e=e|w[d+365|0]<<8}z[c+59336>>2]=C(e<<16>>16)*C(.00390625);u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+365|0]|e<<8}else{e=e|w[d+365|0]<<8}z[c+59340>>2]=C(e<<16>>16)*C(.00390625);c=v[d+360>>2]}if(((c|0)==4114|(c|0)==541066752)&l){v[a+26120>>2]=0;u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];c=a;f=v[a+26120>>2];if(x[a+25204>>1]==18761){e=e|w[d+365|0]<<8}else{e=w[d+365|0]|e<<8}v[c+26120>>2]=f+((e&65535)<<2);u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];c=a;f=v[a+26120>>2];if(x[a+25204>>1]!=18761){e=w[d+365|0]|e<<8}else{e=e|w[d+365|0]<<8}v[c+26120>>2]=f+((e&65535)<<2);u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];c=a;f=v[a+26120>>2];if(x[a+25204>>1]!=18761){e=w[d+365|0]|e<<8}else{e=e|w[d+365|0]<<8}v[c+26120>>2]=f+((e&65535)<<2);u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];c=a;f=v[a+26120>>2];if(x[a+25204>>1]!=18761){e=w[d+365|0]|e<<8}else{e=e|w[d+365|0]<<8}v[c+26120>>2]=f+((e&65535)<<2);c=v[d+360>>2]}if(!((c|0)!=541065472&(c|0)!=4119)){u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];c=a;if(x[a+25204>>1]==18761){e=e|w[d+365|0]<<8}else{e=w[d+365|0]|e<<8}z[c+59268>>2]=C((e&65535)>>>0)*C(.00390625);c=v[d+360>>2]}if(!((c|0)!=541065472&(c|0)!=4120)){u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;e=w[d+364|0];c=a;if(x[a+25204>>1]==18761){e=e|w[d+365|0]<<8}else{e=w[d+365|0]|e<<8}z[c+59276>>2]=C((e&65535)>>>0)*C(.00390625);c=v[d+360>>2]}if((c|0)!=8209){break l}e=2;if((g|0)!=2){break l}}u[a+25204>>1]=19789;u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;g=w[d+364|0];c=a;if(x[a+25204>>1]==18761){g=g|w[d+365|0]<<8}else{g=w[d+365|0]|g<<8}z[c+59268>>2]=C((g&65535)>>>0)*C(.00390625);u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;g=w[d+364|0];c=a;if(x[a+25204>>1]==18761){g=g|w[d+365|0]<<8}else{g=w[d+365|0]|g<<8}z[c+59276>>2]=C((g&65535)>>>0)*C(.00390625);c=v[d+360>>2];g=e}if(!((c&-113)!=8192|(h|0)!=4)){e=v[a>>2];f=v[e+8>>2];c=v[a+4>>2];v[d+364>>2]=-1;Ub[v[e>>2]](c,d+364|0,1,4)|0;e=w[d+364|0];if(x[a+25204>>1]==18761){e=e|w[d+365|0]<<8|w[d+366|0]<<16|w[d+367|0]<<24}else{e=w[d+367|0]|(w[d+365|0]<<16|e<<24|w[d+366|0]<<8)}Ub[f|0](c,e+b|0,0)|0;c=v[d+360>>2]}if(!((h|0)==7|(c|0)!=8208)){v[a+190476>>2]=942;break i}if((c|0)==8224){A0(a,b,257,258);c=v[d+360>>2]}if((c|0)==8256){z0(a,b,8256);c=v[d+360>>2]}if((c|0)==45096){h=v[a>>2];e=v[h+8>>2];c=v[a+4>>2];v[d+364>>2]=-1;Ub[v[h>>2]](c,d+364|0,1,4)|0;h=w[d+364|0];if(x[a+25204>>1]==18761){h=h|w[d+365|0]<<8|w[d+366|0]<<16|w[d+367|0]<<24}else{h=w[d+367|0]|(w[d+365|0]<<16|h<<24|w[d+366|0]<<8)}Ub[e|0](c,h,0)|0;A0(a,b,136,137);c=v[d+360>>2]}if((c|0)!=16385|g>>>0<501){break i}if((g|0)==582){e=50;break k}if((g|0)!=653){e=(g|0)==5120?142:126;break k}e=68}Ub[v[v[a>>2]+8>>2]](v[a+4>>2],e,1)|0}u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;g=w[d+364|0];c=a;if(x[a+25204>>1]==18761){e=g|w[d+365|0]<<8}else{e=w[d+365|0]|g<<8}z[c+59268>>2]=(e&65535)>>>0;u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;g=w[d+364|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+365|0]|g<<8}else{e=g|w[d+365|0]<<8}z[c+59272>>2]=(e&65535)>>>0;u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;g=w[d+364|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+365|0]|g<<8}else{e=g|w[d+365|0]<<8}z[c+59280>>2]=(e&65535)>>>0;u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;g=w[d+364|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+365|0]|g<<8}else{e=g|w[d+365|0]<<8}z[c+59276>>2]=(e&65535)>>>0;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],22,1)|0;u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;g=w[d+364|0];c=a;if(x[a+25204>>1]==18761){e=g|w[d+365|0]<<8}else{e=w[d+365|0]|g<<8}u[c+59260>>1]=e;u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;g=w[d+364|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+365|0]|g<<8}else{e=g|w[d+365|0]<<8}u[c+59262>>1]=e;u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;g=w[d+364|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+365|0]|g<<8}else{e=g|w[d+365|0]<<8}u[c+59266>>1]=e;u[d+364>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+364|0,1,2)|0;c=w[d+364|0];if(x[a+25204>>1]!=18761){u[a+59264>>1]=w[d+365|0]|c<<8;break i}u[a+59264>>1]=c|w[d+365|0]<<8}Ub[v[v[a>>2]+8>>2]](v[a+4>>2],v[d+348>>2],0)|0;if(s){continue}break}}u[a+25204>>1]=E}Qb=d+368|0}function NQ(a,b){var 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=Qb-240|0;Qb=c;TD(a);v[a+24>>2]=b;f=ds(c+224|0);d=v[a+24>>2];v[299999]=0;b=S(1,48)|0;e=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{g:{h:{if((e|0)!=1){v[c+208>>2]=b;v[c+212>>2]=11;v[c+216>>2]=-2147483636;v[299999]=0;tc(b,972740,11);e=v[299999];v[299999]=0;if((e|0)==1){break a}v[b+44>>2]=0;v[299999]=0;U(4143,c+56|0,d|0,c+208|0);b=v[299999];v[299999]=0;if((b|0)==1){break h}v[299999]=0;b=Q(4096,f|0,c+56|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break g}if(t[c+67|0]<=-1){dc(v[c+56>>2])}if(t[c+219|0]<=-1){dc(v[c+208>>2])}if(b){break e}break b}e=P()|0;O()|0;break d}e=P()|0;O()|0;break f}e=P()|0;O()|0;if(t[c+67|0]>-1){break f}dc(v[c+56>>2])}if(t[c+219|0]>-1){break d}dc(v[c+208>>2]);break d}v[299999]=0;b=S(4144,f|0)|0;d=v[299999];v[299999]=0;i:{if((d|0)!=1){if(!b){break b}v[299999]=0;V(4145,c+208|0,f|0);b=v[299999];v[299999]=0;if((b|0)==1){break i}b=w[c+219|0];if(((b<<24>>24<0?v[c+212>>2]:b)|0)!=13){break c}v[299999]=0;b=ca(2608,c+208|0,0,-1,972788,13)|0;d=v[299999];v[299999]=0;if((d|0)!=1){if(b){break c}v[c+200>>2]=0;v[c+192>>2]=0;v[c+196>>2]=0;while(1){v[299999]=0;b=S(4144,f|0)|0;d=v[299999];v[299999]=0;j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{if((d|0)!=1){F:{if(!b){break F}v[299999]=0;V(4145,c+56|0,f|0);b=v[299999];v[299999]=0;G:{H:{if((b|0)!=1){if(t[c+219|0]<=-1){dc(v[c+208>>2])}b=c- -64|0;v[c+216>>2]=v[b>>2];d=v[c+60>>2];v[c+208>>2]=v[c+56>>2];v[c+212>>2]=d;d=t[c+219|0];if((((d|0)<0?v[c+212>>2]:d&255)|0)!=12){continue}v[299999]=0;d=ca(2608,c+208|0,0,-1,972844,12)|0;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(d){continue}v[b>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[299999]=0;U(4146,f|0,972896,c+56|0);b=v[299999];v[299999]=0;if((b|0)==1){break H}d=w[c+67|0];b=d<<24>>24<0;d=b?v[c+60>>2]:d;if((d|0)<19){break j}e=b?v[c+56>>2]:c+56|0;h=e+(d<<2)|0;b=e;while(1){d=d-18|0;if(!d){break j}b=sf(b,102,d);if(!b){break j}if(od(b,972916,19)){b=b+4|0;i=h-b|0;d=i>>2;if((i|0)>=76){continue}break j}break}if((b|0)==(h|0)|(b-e|0)==-4){break j}d=w[c+67|0];b=d<<24>>24<0;d=b?v[c+60>>2]:d;I:{J:{if((d|0)<5){break J}e=b?v[c+56>>2]:c+56|0;h=e+(d<<2)|0;b=e;while(1){d=d-4|0;if(!d){break J}b=sf(b,47,d);if(!b){break J}if(od(b,972996,5)){b=b+4|0;i=h-b|0;d=i>>2;if((i|0)>=20){continue}break J}break}if((b|0)==(h|0)){break J}if((b-e|0)!=-4){break I}}d=w[c+67|0];b=d<<24>>24<0;d=b?v[c+60>>2]:d;if((d|0)<6){break j}e=b?v[c+56>>2]:c+56|0;h=e+(d<<2)|0;b=e;while(1){d=d-5|0;if(!d){break j}b=sf(b,47,d);if(!b){break j}if(od(b,973020,6)){b=b+4|0;i=h-b|0;d=i>>2;if((i|0)<24){break j}continue}break}if((b|0)==(h|0)|(b-e|0)==-4){break j}}v[299999]=0;U(4146,f|0,973048,c+192|0);b=v[299999];v[299999]=0;if((b|0)!=1){break G}break H}e=P()|0;O()|0;break k}e=P()|0;O()|0;if(t[c+67|0]>-1){break k}dc(v[c+56>>2]);break k}if(t[c+67|0]>-1){break F}dc(v[c+56>>2])}b=w[c+203|0];if(!(b<<24>>24<0?v[c+196>>2]:b)){break m}v[299999]=0;R(4147,f|0);b=v[299999];v[299999]=0;if((b|0)==1){break l}b=v[a+24>>2];d=v[v[b>>2]+32>>2];v[299999]=0;b=Q(d|0,b|0,c+192|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break l}K:{if(b){break K}v[299999]=0;b=S(1,48)|0;d=v[299999];v[299999]=0;L:{M:{N:{if((d|0)!=1){v[c+176>>2]=b;v[c+180>>2]=11;v[c+184>>2]=-2147483636;v[299999]=0;tc(b,972740,11);d=v[299999];v[299999]=0;if((d|0)==1){break a}v[b+44>>2]=0;v[299999]=0;V(4148,c+56|0,c+176|0);b=v[299999];v[299999]=0;if((b|0)==1){break N}v[299999]=0;b=w[c+203|0];d=b<<24>>24<0;b=Y(2653,c+56|0,(d?v[c+192>>2]:c+192|0)|0,(d?v[c+196>>2]:b)|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break M}e=v[b>>2];v[c+160>>2]=v[b+4>>2];d=w[b+7|0]|w[b+8|0]<<8|(w[b+9|0]<<16|w[b+10|0]<<24);t[c+163|0]=d;t[c+164|0]=d>>>8;t[c+165|0]=d>>>16;t[c+166|0]=d>>>24;v[b>>2]=0;v[b+4>>2]=0;h=w[b+11|0];v[b+8>>2]=0;if(t[c+203|0]<=-1){dc(v[c+192>>2])}v[c+192>>2]=e;b=c+192|4;d=w[c+163|0]|w[c+164|0]<<8|(w[c+165|0]<<16|w[c+166|0]<<24);t[b+3|0]=d;t[b+4|0]=d>>>8;t[b+5|0]=d>>>16;t[b+6|0]=d>>>24;v[b>>2]=v[c+160>>2];t[c+203|0]=h;if(t[c+67|0]<=-1){dc(v[c+56>>2])}if(t[c+187|0]<=-1){dc(v[c+176>>2])}b=v[a+24>>2];d=v[v[b>>2]+32>>2];v[299999]=0;b=Q(d|0,b|0,c+192|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break l}if(b){break K}break m}e=P()|0;O()|0;break k}e=P()|0;O()|0;break L}e=P()|0;O()|0;if(t[c+67|0]>-1){break L}dc(v[c+56>>2])}if(t[c+187|0]>-1){break k}dc(v[c+176>>2]);break k}b=v[a+24>>2];v[299999]=0;U(4143,c+56|0,b|0,c+192|0);b=v[299999];v[299999]=0;O:{P:{Q:{R:{if((b|0)!=1){v[299999]=0;b=Q(4096,f|0,c+56|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break R}if(t[c+67|0]<=-1){dc(v[c+56>>2])}if(!b){break m}v[299999]=0;b=S(4144,f|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break l}if(!b){break m}v[299999]=0;V(4145,c+56|0,f|0);b=v[299999];v[299999]=0;if((b|0)==1){break E}if(t[c+219|0]<=-1){dc(v[c+208>>2])}b=c- -64|0;v[c+216>>2]=v[b>>2];d=v[c+60>>2];v[c+208>>2]=v[c+56>>2];v[c+212>>2]=d;if(ho(973076,c+208|0)){break m}v[c+184>>2]=0;v[c+176>>2]=0;v[c+180>>2]=0;while(1){v[299999]=0;d=S(4144,f|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break O}if(!d){break P}v[299999]=0;V(4145,c+56|0,f|0);d=v[299999];v[299999]=0;if((d|0)==1){break Q}if(t[c+219|0]<=-1){dc(v[c+208>>2])}v[c+216>>2]=v[b>>2];d=v[c+60>>2];v[c+208>>2]=v[c+56>>2];v[c+212>>2]=d;d=t[c+219|0];if((((d|0)<0?v[c+212>>2]:d&255)|0)!=17){continue}v[299999]=0;d=ca(2608,c+208|0,0,-1,973164,17)|0;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(d){continue}break}v[299999]=0;U(4146,f|0,973236,c+176|0);b=v[299999];v[299999]=0;if((b|0)!=1){break P}break o}e=P()|0;O()|0;break k}e=P()|0;O()|0;if(t[c+67|0]>-1){break k}dc(v[c+56>>2]);break k}e=P()|0;O()|0;break n}b=w[c+187|0];if(!(b<<24>>24<0?v[c+180>>2]:b)){break p}b=v[a+24>>2];d=v[v[b>>2]+32>>2];v[299999]=0;b=Q(d|0,b|0,c+176|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break o}S:{if(b){break S}v[299999]=0;V(4148,c+56|0,c+192|0);b=v[299999];v[299999]=0;T:{if((b|0)!=1){v[299999]=0;b=w[c+187|0];d=b<<24>>24<0;b=Y(2653,c+56|0,(d?v[c+176>>2]:c+176|0)|0,(d?v[c+180>>2]:b)|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break T}e=v[b>>2];v[c+160>>2]=v[b+4>>2];d=w[b+7|0]|w[b+8|0]<<8|(w[b+9|0]<<16|w[b+10|0]<<24);t[c+163|0]=d;t[c+164|0]=d>>>8;t[c+165|0]=d>>>16;t[c+166|0]=d>>>24;v[b>>2]=0;v[b+4>>2]=0;h=w[b+11|0];v[b+8>>2]=0;if(t[c+187|0]<=-1){dc(v[c+176>>2])}v[c+176>>2]=e;b=c+176|4;d=w[c+163|0]|w[c+164|0]<<8|(w[c+165|0]<<16|w[c+166|0]<<24);t[b+3|0]=d;t[b+4|0]=d>>>8;t[b+5|0]=d>>>16;t[b+6|0]=d>>>24;v[b>>2]=v[c+160>>2];t[c+187|0]=h;if(t[c+67|0]<=-1){dc(v[c+56>>2])}b=v[a+24>>2];d=v[v[b>>2]+32>>2];v[299999]=0;b=Q(d|0,b|0,c+176|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break o}if(b){break S}break p}e=P()|0;O()|0;break n}e=P()|0;O()|0;if(t[c+67|0]>-1){break n}dc(v[c+56>>2]);break n}v[299999]=0;V(4148,c+160|0,c+176|0);b=v[299999];v[299999]=0;if((b|0)==1){break q}v[299999]=0;R(4147,f|0);b=v[299999];v[299999]=0;if((b|0)==1){break s}v[299999]=0;U(2731,c+128|0,c+160|0,973264);b=v[299999];v[299999]=0;if((b|0)==1){break t}v[299999]=0;V(2655,c+112|0,c+176|0);b=v[299999];v[299999]=0;if((b|0)==1){break v}v[299999]=0;b=w[c+123|0];d=b<<24>>24<0;b=Y(2653,c+128|0,(d?v[c+112>>2]:c+112|0)|0,(d?v[c+116>>2]:b)|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break x}v[c- -64>>2]=v[b+8>>2];d=v[b+4>>2];v[c+56>>2]=v[b>>2];v[c+60>>2]=d;v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;v[299999]=0;b=Q(2725,c+56|0,973292)|0;d=v[299999];v[299999]=0;if((d|0)==1){break y}v[c+152>>2]=v[b+8>>2];d=v[b+4>>2];v[c+144>>2]=v[b>>2];v[c+148>>2]=d;v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;if(t[c+67|0]<=-1){dc(v[c+56>>2])}if(t[c+123|0]<=-1){dc(v[c+112>>2])}if(t[c+139|0]<=-1){dc(v[c+128>>2])}v[c+136>>2]=0;v[c+128>>2]=0;v[c+132>>2]=0;b=v[a+24>>2];d=v[v[b>>2]+32>>2];v[299999]=0;b=Q(d|0,b|0,c+144|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break A}if(!b){break D}b=v[a+24>>2];v[299999]=0;U(4143,c+56|0,b|0,c+144|0);b=v[299999];v[299999]=0;if((b|0)==1){break B}v[299999]=0;b=Q(4096,f|0,c+56|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break C}d=0;U:{if(!b){break U}v[299999]=0;b=S(4144,f|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break C}if(!b){break U}v[299999]=0;V(4145,c+112|0,f|0);b=v[299999];v[299999]=0;if((b|0)==1){break C}d=Lx(c+112|0,972788);if(t[c+123|0]>-1){break U}dc(v[c+112>>2])}if(t[c+67|0]<=-1){dc(v[c+56>>2])}if(!d){break D}e=c- -64|0;while(1){v[299999]=0;b=S(4144,f|0)|0;d=v[299999];v[299999]=0;V:{W:{X:{Y:{if((d|0)!=1){if(!b){break D}v[299999]=0;V(4145,c+56|0,f|0);b=v[299999];v[299999]=0;if((b|0)==1){break Y}d=0;h=w[c+67|0];b=h<<24>>24;if((((b|0)<0?v[c+60>>2]:h)|0)==12){v[299999]=0;b=ca(2608,c+56|0,0,-1,972844,12)|0;d=v[299999];v[299999]=0;if((d|0)==1){break a}d=!b;b=w[c+67|0]}if(b<<24>>24<=-1){dc(v[c+56>>2])}if(!d){continue}v[e>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[299999]=0;U(4146,f|0,972896,c+56|0);b=v[299999];v[299999]=0;if((b|0)==1){break X}if(!Ii(973316,c+56|0)){break V}v[299999]=0;U(4146,f|0,973048,c+128|0);b=v[299999];v[299999]=0;if((b|0)!=1){break W}break X}e=P()|0;O()|0;break z}e=P()|0;O()|0;break z}e=P()|0;O()|0;if(t[c+67|0]>-1){break z}dc(v[c+56>>2]);break z}if(t[c+67|0]>-1){break D}dc(v[c+56>>2]);break D}if(t[c+67|0]>-1){continue}dc(v[c+56>>2]);continue}}e=P()|0;O()|0;break n}e=P()|0;O()|0;break k}e=P()|0;O()|0;break k}v[c+120>>2]=0;v[c+112>>2]=0;v[c+116>>2]=0;Z:{_:{$:{aa:{b=t[c+139|0];ba:{if(!((b|0)<0?v[c+132>>2]:b&255)){break ba}b=v[a+24>>2];d=v[v[b>>2]+32>>2];v[299999]=0;b=Q(d|0,b|0,c+128|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break _}if(b){v[299999]=0;Q(2679,c+112|0,c+128|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break ba}break _}b=v[a+24>>2];v[299999]=0;U(2650,c+56|0,c+160|0,c+128|0);d=v[299999];v[299999]=0;ca:{da:{ea:{if((d|0)!=1){d=v[v[b>>2]+32>>2];v[299999]=0;b=Q(d|0,b|0,c+56|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break ea}if(t[c+67|0]<=-1){dc(v[c+56>>2])}if(!b){break ca}v[299999]=0;U(2650,c+56|0,c+160|0,c+128|0);b=v[299999];v[299999]=0;if((b|0)==1){break da}if(t[c+123|0]<=-1){dc(v[c+112>>2])}v[c+120>>2]=v[c- -64>>2];b=v[c+60>>2];v[c+112>>2]=v[c+56>>2];v[c+116>>2]=b;break ba}e=P()|0;O()|0;break Z}e=P()|0;O()|0;if(t[c+67|0]>-1){break Z}dc(v[c+56>>2]);break Z}e=P()|0;O()|0;break Z}v[299999]=0;V(4148,c+56|0,c+144|0);b=v[299999];v[299999]=0;if((b|0)==1){break $}v[299999]=0;b=w[c+139|0];d=b<<24>>24<0;b=Y(2653,c+56|0,(d?v[c+128>>2]:c+128|0)|0,(d?v[c+132>>2]:b)|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break aa}e=v[b>>2];v[c+96>>2]=v[b+4>>2];d=w[b+7|0]|w[b+8|0]<<8|(w[b+9|0]<<16|w[b+10|0]<<24);t[c+99|0]=d;t[c+100|0]=d>>>8;t[c+101|0]=d>>>16;t[c+102|0]=d>>>24;v[b>>2]=0;v[b+4>>2]=0;h=w[b+11|0];v[b+8>>2]=0;if(t[c+139|0]<=-1){dc(v[c+128>>2])}v[c+128>>2]=e;b=c+128|4;d=w[c+99|0]|w[c+100|0]<<8|(w[c+101|0]<<16|w[c+102|0]<<24);t[b+3|0]=d;t[b+4|0]=d>>>8;t[b+5|0]=d>>>16;t[b+6|0]=d>>>24;v[b>>2]=v[c+96>>2];t[c+139|0]=h;if(t[c+67|0]<=-1){dc(v[c+56>>2])}b=v[a+24>>2];d=v[v[b>>2]+32>>2];v[299999]=0;b=Q(d|0,b|0,c+128|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break _}if(!b){break ba}v[299999]=0;Q(2679,c+112|0,c+128|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break _}}fa:{ga:{ha:{ia:{ja:{ka:{la:{ma:{na:{b=w[c+123|0];if(!(b<<24>>24<0?v[c+116>>2]:b)){break na}v[299999]=0;R(4147,f|0);b=v[299999];v[299999]=0;if((b|0)==1){break _}b=v[a+24>>2];v[299999]=0;U(4143,c+56|0,b|0,c+112|0);b=v[299999];v[299999]=0;if((b|0)==1){break fa}d=0;v[299999]=0;b=Q(4096,f|0,c+56|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break ga}oa:{if(!b){break oa}v[299999]=0;b=S(4144,f|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break ga}if(!b){break oa}v[299999]=0;V(4145,c+96|0,f|0);b=v[299999];v[299999]=0;if((b|0)==1){break ga}d=Lx(c+96|0,973552);if(t[c+107|0]>-1){break oa}dc(v[c+96>>2])}if(t[c+67|0]<=-1){dc(v[c+56>>2])}if(!d){break na}pa:{qa:{ra:while(1){v[299999]=0;b=S(4144,f|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break qa}if(!b){break na}v[299999]=0;V(4145,c+56|0,f|0);b=v[299999];v[299999]=0;if((b|0)==1){break ha}d=0;sa:{if(!Ii(973624,c+56|0)){break sa}v[299999]=0;b=S(4144,f|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break ia}if(!b){break sa}v[299999]=0;V(4145,c+96|0,f|0);b=v[299999];v[299999]=0;if((b|0)==1){break ia}d=Lx(c+96|0,973728);if(t[c+107|0]>-1){break sa}dc(v[c+96>>2])}if(t[c+67|0]<=-1){dc(v[c+56>>2])}if(!d){continue}ta:while(1){v[299999]=0;b=S(4144,f|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break pa}if(!b){continue ra}v[299999]=0;V(4145,c+56|0,f|0);b=v[299999];v[299999]=0;if((b|0)==1){break ja}d=0;e=w[c+67|0];b=e<<24>>24;if((((b|0)<0?v[c+60>>2]:e)|0)==12){v[299999]=0;b=ca(2608,c+56|0,0,-1,973792,12)|0;d=v[299999];v[299999]=0;if((d|0)==1){break a}d=!b;b=w[c+67|0]}if(b<<24>>24<=-1){dc(v[c+56>>2])}if(!d){continue}v[c+72>>2]=0;v[c+76>>2]=0;v[c+88>>2]=0;v[c+92>>2]=0;v[c+80>>2]=0;v[c+84>>2]=0;v[c+64>>2]=0;v[c+68>>2]=0;v[c+56>>2]=1;v[c+60>>2]=0;while(1){ua:{v[299999]=0;b=Ji(f);d=v[299999];v[299999]=0;va:{wa:{xa:{ya:{za:{if((d|0)!=1){if(b){v[299999]=0;V(4145,c+96|0,f|0);b=v[299999];v[299999]=0;Aa:{Ba:{Ca:{if((b|0)!=1){v[299999]=0;V(4150,c+40|0,f|0);b=v[299999];v[299999]=0;if((b|0)==1){break Ca}d=w[c+107|0];e=d<<24>>24;Da:{b=v[c+100>>2];if((((e|0)<0?b:d)|0)==12){v[299999]=0;b=ca(2608,c+96|0,0,-1,973844,12)|0;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(!b){break Da}d=w[c+107|0];e=d;b=v[c+100>>2]}if(((e<<24>>24<0?b:d)|0)==11){break Ba}break wa}v[299999]=0;b=S(4151,c+40|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Aa}v[c+56>>2]=b;break va}e=P()|0;O()|0;break ka}e=P()|0;O()|0;break la}v[299999]=0;b=ca(2608,c+96|0,0,-1,973896,11)|0;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(b){b=v[c+100>>2];d=w[c+107|0];e=d;break wa}v[299999]=0;b=t[c+51|0];d=(b|0)<0;$(2656,c+24|0,(d?v[c+40>>2]:c+40|0)|0,(d?v[c+44>>2]:b&255)|0,0);b=v[299999];v[299999]=0;if((b|0)!=1){if(t[c+83|0]<=-1){dc(v[c+72>>2])}b=v[c+28>>2];v[c+72>>2]=v[c+24>>2];v[c+76>>2]=b;v[c+80>>2]=v[c+32>>2];break va}break ma}break ma}v[299999]=0;_i(f);b=v[299999];v[299999]=0;if((b|0)==1){break xa}b=v[a+4>>2];if((b|0)!=v[a+8>>2]){d=v[c+60>>2];v[b>>2]=v[c+56>>2];v[b+4>>2]=d;d=c- -64|0;e=v[d+4>>2];v[b+8>>2]=v[d>>2];v[b+12>>2]=e;d=b+16|0;Ea:{Fa:{Ga:{if(t[c+83|0]>=0){e=v[c+76>>2];v[d>>2]=v[c+72>>2];v[d+4>>2]=e;v[d+8>>2]=v[c+80>>2];break Ga}v[299999]=0;U(2534,d|0,v[c+72>>2],v[c+76>>2]);e=v[299999];v[299999]=0;if((e|0)==1){break Fa}}e=b+28|0;if(t[c+95|0]>=0){d=v[c+88>>2];v[e>>2]=v[c+84>>2];v[e+4>>2]=d;v[e+8>>2]=v[c+92>>2];break za}v[299999]=0;U(2345,e|0,v[c+84>>2],v[c+88>>2]);e=v[299999];v[299999]=0;if((e|0)!=1){break za}e=P()|0;O()|0;if(t[d+11|0]>-1){break Ea}dc(v[d>>2]);v[a+4>>2]=b;break ka}e=P()|0;O()|0}v[a+4>>2]=b;break ka}v[299999]=0;V(4153,a|0,c+56|0);b=v[299999];v[299999]=0;if((b|0)==1){break xa}break ya}e=P()|0;O()|0;break ka}v[a+4>>2]=b+40}if(t[c+95|0]<=-1){dc(v[c+84>>2])}if(t[c+83|0]>-1){continue ta}dc(v[c+72>>2]);continue ta}e=P()|0;O()|0;break ka}if(((e<<24>>24<0?b:d)|0)!=13){break va}v[299999]=0;b=ca(2608,c+96|0,0,-1,973944,13)|0;d=v[299999];v[299999]=0;if((d|0)==1){break ua}if(b){break va}b=gj(c+40|0,35,0);if((b|0)==-1){break va}v[299999]=0;d=c+40|0;ca(2654,c+24|0,d|0,b+1|0,-1,d|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break ma}if(t[c+95|0]<=-1){dc(v[c+84>>2])}b=v[c+28>>2];v[c+84>>2]=v[c+24>>2];v[c+88>>2]=b;v[c+92>>2]=v[c+32>>2]}if(t[c+51|0]<=-1){dc(v[c+40>>2])}if(t[c+107|0]>-1){continue}dc(v[c+96>>2]);continue}break}break}break}break a}e=P()|0;O()|0;break Z}e=P()|0;O()|0;break Z}v[299999]=0;R(4147,f|0);b=v[299999];v[299999]=0;if((b|0)==1){break _}b=v[a+24>>2];v[299999]=0;U(4143,c+56|0,b|0,c+176|0);b=v[299999];v[299999]=0;Ha:{Ia:{Ja:{if((b|0)!=1){v[299999]=0;b=Q(4096,f|0,c+56|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Ja}if(t[c+67|0]<=-1){dc(v[c+56>>2])}if(!b){break Ha}v[299999]=0;b=S(4144,f|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break _}if(b){break Ia}break Ha}e=P()|0;O()|0;break Z}e=P()|0;O()|0;if(t[c+67|0]>-1){break Z}dc(v[c+56>>2]);break Z}v[299999]=0;V(4145,c+56|0,f|0);b=v[299999];v[299999]=0;Ka:{La:{Ma:{Na:{Oa:{if((b|0)!=1){if(t[c+219|0]<=-1){dc(v[c+208>>2])}e=c- -64|0;v[c+216>>2]=v[e>>2];b=v[c+60>>2];v[c+208>>2]=v[c+56>>2];v[c+212>>2]=b;if(ho(974e3,c+208|0)){break Ha}v[c+104>>2]=0;v[c+96>>2]=0;v[c+100>>2]=0;m=a+40|0;n=a+28|0;i=a+12|0;h=0;Pa:{Qa:{while(1){v[299999]=0;b=S(4144,f|0)|0;d=v[299999];v[299999]=0;Ra:{Sa:{Ta:{Ua:{if((d|0)==1){break Ua}if(!b){break Ta}v[299999]=0;V(4145,c+56|0,f|0);b=v[299999];v[299999]=0;Va:{Wa:{Xa:{Ya:{if((b|0)!=1){if(t[c+219|0]<=-1){dc(v[c+208>>2])}v[c+216>>2]=v[e>>2];b=v[c+60>>2];v[c+208>>2]=v[c+56>>2];v[c+212>>2]=b;if(!Ii(974056,c+208|0)){continue}v[299999]=0;U(4146,f|0,973236,c+96|0);b=v[299999];v[299999]=0;if((b|0)==1){break Ua}Za:{if(t[c+107|0]>=0){v[c+48>>2]=v[c+104>>2];b=v[c+100>>2];v[c+40>>2]=v[c+96>>2];v[c+44>>2]=b;break Za}v[299999]=0;U(2345,c+40|0,v[c+96>>2],v[c+100>>2]);b=v[299999];v[299999]=0;if((b|0)==1){break Ya}}b=v[a+24>>2];d=v[v[b>>2]+32>>2];v[299999]=0;b=Q(d|0,b|0,c+40|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Xa}if(!b){v[299999]=0;U(2650,c+56|0,c+160|0,c+96|0);b=v[299999];v[299999]=0;if((b|0)==1){break Wa}if(t[c+51|0]<=-1){dc(v[c+40>>2])}v[c+48>>2]=v[e>>2];b=v[c+60>>2];v[c+40>>2]=v[c+56>>2];v[c+44>>2]=b;b=v[a+24>>2];d=v[v[b>>2]+32>>2];v[299999]=0;b=Q(d|0,b|0,c+40|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Xa}if(!b){break Sa}}v[299999]=0;o=wg(f);b=v[299999];v[299999]=0;if((b|0)!=1){break Va}e=P()|0;O()|0;break La}e=P()|0;O()|0;break Ka}e=P()|0;O()|0;break Ka}e=P()|0;O()|0;break La}e=P()|0;O()|0;break La}_a:while(1){v[299999]=0;b=Q(4155,f|0,o|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Ma}if(!b){break Ra}v[299999]=0;V(4145,c+56|0,f|0);b=v[299999];v[299999]=0;if((b|0)==1){break Na}d=0;g=w[c+67|0];b=g<<24>>24;$a:{if((((b|0)<0?v[c+60>>2]:g)|0)==23){v[299999]=0;b=ca(2608,c+56|0,0,-1,974104,23)|0;d=v[299999];v[299999]=0;if((d|0)==1){break $a}d=!b;b=w[c+67|0]}if(b<<24>>24<=-1){dc(v[c+56>>2])}if(!d){continue}v[299999]=0;p=wg(f);b=v[299999];v[299999]=0;if((b|0)==1){break Oa}while(1){v[299999]=0;b=Q(4155,f|0,p|0)|0;d=v[299999];v[299999]=0;ab:{bb:{cb:{db:{eb:{fb:{if((d|0)!=1){if(!b){continue _a}v[299999]=0;V(4145,c+56|0,f|0);b=v[299999];v[299999]=0;if((b|0)==1){break fb}d=0;g=w[c+67|0];b=g<<24>>24;if((((b|0)<0?v[c+60>>2]:g)|0)==10){v[299999]=0;b=ca(2608,c+56|0,0,-1,974200,10)|0;d=v[299999];v[299999]=0;if((d|0)==1){break a}d=!b;b=w[c+67|0]}if(b<<24>>24<=-1){dc(v[c+56>>2])}if(!d){continue}v[c+32>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[299999]=0;U(4146,f|0,974244,c+24|0);b=v[299999];v[299999]=0;if((b|0)==1){break cb}b=w[c+35|0];g=b<<24>>24<0;k=v[c+28>>2];if(!(g?k:b)){break ab}b=v[a+4>>2];d=v[a>>2];gb:{if(!g){v[c+16>>2]=v[c+32>>2];g=v[c+28>>2];v[c+8>>2]=v[c+24>>2];v[c+12>>2]=g;break gb}v[299999]=0;U(2345,c+8|0,v[c+24>>2],k|0);g=v[299999];v[299999]=0;if((g|0)==1){break eb}}hb:{if((b|0)==(d|0)){break hb}while(1){j=w[d+39|0];g=j<<24>>24<0;l=w[c+19|0];k=l<<24>>24<0;j=g?v[d+32>>2]:j;if((j|0)==((k?v[c+12>>2]:l)|0)){if(!j){break hb}l=d+28|0;if(!od(g?v[l>>2]:l,k?v[c+8>>2]:c+8|0,j)){break hb}}d=d+40|0;if((b|0)!=(d|0)){continue}break}d=b}if(t[c+19|0]<=-1){dc(v[c+8>>2])}if(v[a+4>>2]==(d|0)){break db}v[d+4>>2]=h;break ab}e=P()|0;O()|0;break La}e=P()|0;O()|0;break La}e=P()|0;O()|0;break bb}ib:{jb:{kb:{if(t[c+35|0]>=0){v[e>>2]=v[c+32>>2];b=v[c+28>>2];v[c+56>>2]=v[c+24>>2];v[c+60>>2]=b;break kb}v[299999]=0;U(2345,c+56|0,v[c+24>>2],v[c+28>>2]);b=v[299999];v[299999]=0;if((b|0)==1){break jb}}v[c+68>>2]=h;v[299999]=0;b=cg(i,c+236|0,c+56|0);d=v[299999];v[299999]=0;if((d|0)==1){break ib}if(!v[b>>2]){v[299999]=0;d=S(1,32)|0;g=v[299999];v[299999]=0;if((g|0)==1){break ib}g=v[c+60>>2];v[d+16>>2]=v[c+56>>2];v[d+20>>2]=g;v[d+24>>2]=v[e>>2];v[e>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[d+28>>2]=v[c+68>>2];v[d+8>>2]=v[c+236>>2];v[d>>2]=0;v[d+4>>2]=0;v[b>>2]=d;g=v[v[i>>2]>>2];if(g){v[i>>2]=g;d=v[b>>2]}Uc(v[a+16>>2],d);v[a+20>>2]=v[a+20>>2]+1}if(t[c+67|0]>-1){break ab}dc(v[c+56>>2]);break ab}e=P()|0;O()|0;break bb}e=P()|0;O()|0;if(t[c+67|0]>-1){break bb}dc(v[c+56>>2]);break bb}e=P()|0;O()|0}if(t[c+35|0]>-1){break La}dc(v[c+24>>2]);break La}if(t[c+35|0]>-1){continue}dc(v[c+24>>2]);continue}}break}break a}e=P()|0;O()|0;break Ka}if(t[c+107|0]<=-1){dc(v[c+96>>2])}break Ha}if(t[c+51|0]>-1){continue}dc(v[c+40>>2]);continue}v[299999]=0;b=S(1,44)|0;d=v[299999];v[299999]=0;if((d|0)!=1){d=v[a+56>>2];g=v[a+24>>2];v[299999]=0;aa(4156,b|0,c+40|0,g|0,m|0,d|0,a|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Qa}v[c+60>>2]=b;v[c+56>>2]=h;v[299999]=0;U(4157,c+24|0,n|0,c+56|0);b=v[299999];v[299999]=0;if((b|0)==1){break Pa}if(t[c+51|0]<=-1){dc(v[c+40>>2])}h=h+1|0;continue}break}e=P()|0;O()|0;break La}e=P()|0;O()|0;dc(b);break La}e=P()|0;O()|0;break La}e=P()|0;O()|0;break Z}e=P()|0;O()|0;break La}e=P()|0;O()|0;break La}e=P()|0;O()|0}if(t[c+51|0]>-1){break Ka}dc(v[c+40>>2])}if(t[c+107|0]>-1){break Z}dc(v[c+96>>2]);break Z}if(t[c+123|0]<=-1){dc(v[c+112>>2])}if(t[c+139|0]<=-1){dc(v[c+128>>2])}if(t[c+155|0]<=-1){dc(v[c+144>>2])}if(t[c+171|0]>-1){break p}dc(v[c+160>>2]);break p}e=P()|0;O()|0;if(t[c+51|0]>-1){break la}dc(v[c+40>>2])}if(t[c+107|0]>-1){break ka}dc(v[c+96>>2])}if(t[c+95|0]<=-1){dc(v[c+84>>2])}if(t[c+83|0]<=-1){dc(v[c+72>>2])}break Z}e=P()|0;O()|0;break Z}e=P()|0;O()|0;if(t[c+67|0]>-1){break Z}dc(v[c+56>>2]);break Z}e=P()|0;O()|0;break Z}e=P()|0;O()|0;if(t[c+67|0]>-1){break Z}dc(v[c+56>>2]);break Z}e=P()|0;O()|0;break Z}e=P()|0;O()|0;if(t[c+67|0]>-1){break Z}dc(v[c+56>>2]);break Z}e=P()|0;O()|0;break Z}e=P()|0;O()|0}if(t[c+123|0]>-1){break z}dc(v[c+112>>2]);break z}e=P()|0;O()|0;if(t[c+67|0]>-1){break z}dc(v[c+56>>2]);break z}e=P()|0;O()|0;break z}e=P()|0;O()|0}if(t[c+139|0]<=-1){dc(v[c+128>>2])}if(t[c+155|0]>-1){break r}dc(v[c+144>>2]);break r}e=P()|0;O()|0;if(t[c+67|0]>-1){break w}dc(v[c+56>>2]);break w}e=P()|0;O()|0}if(t[c+123|0]>-1){break u}dc(v[c+112>>2]);break u}e=P()|0;O()|0}if(t[c+139|0]>-1){break r}dc(v[c+128>>2]);break r}e=P()|0;O()|0;break r}e=P()|0;O()|0}if(t[c+171|0]>-1){break n}dc(v[c+160>>2]);break n}e=P()|0;O()|0;break n}if(t[c+187|0]>-1){break m}dc(v[c+176>>2]);break m}e=P()|0;O()|0}if(t[c+187|0]>-1){break k}dc(v[c+176>>2]);break k}if(t[c+203|0]>-1){break c}dc(v[c+192>>2]);break c}e=P()|0;O()|0}if(t[c+203|0]<=-1){dc(v[c+192>>2])}if(t[c+219|0]>-1){break d}dc(v[c+208>>2]);break d}if(t[c+67|0]>-1){continue}dc(v[c+56>>2]);continue}}break a}e=P()|0;O()|0;break d}e=P()|0;O()|0}v[f>>2]=878696;a=v[f+4>>2];if(a){Ub[v[v[a>>2]+4>>2]](a)}T(e|0);L()}if(t[c+219|0]>-1){break b}dc(v[c+208>>2])}v[f>>2]=878696;a=v[f+4>>2];if(a){Ub[v[v[a>>2]+4>>2]](a)}Qb=c+240|0;return}W(0)|0;O()|0;lc();L()}function vP(a){var 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,y=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;if(v[a+8>>2]){a:{if(!v[a+8>>2]){break a}d=v[a+12>>2];if(!(d&64)){break a}if(d&4096){v[a+12>>2]=d&-4097;if(!(Ub[v[a+536>>2]](a)|0)){break a}}if(!Ae(a)|!(w[a+12|0]&8)){break a}d=0;e=Qb-784|0;Qb=e;b=1;b:{if(!v[a+8>>2]){break b}c:{b=v[a+12>>2];if(!(b&4096)){break c}v[a+12>>2]=b&-4097;if(Ub[v[a+536>>2]](a)|0){break c}zc(v[a+628>>2],v[a>>2],15818,0);b=0;break b}Ub[v[a+564>>2]](a);d:{if(!(w[a+12|0]&64)|v[a+608>>2]<1){break d}if(Ae(a)){break d}zc(v[a+628>>2],v[a>>2],18346,0);b=0;break b}b=v[a+12>>2];e:{if(!(b&512)){break e}o=v[a+596>>2];if(!o){break e}dc(o);v[a+608>>2]=0;v[a+596>>2]=0;v[a+600>>2]=0;b=v[a+12>>2]}v[a+12>>2]=b&-81;b=0;while(1){c=b|1;o=v[((b>>>3&536870908)+a|0)+40>>2];d=(o>>>c&1?(c|0)!=65?b>>>0<4?2:1:0:0)+((0-(o>>>(b&30)&1)&(b>>>0<5?2:1))+d|0)|0;b=b+2|0;if((b|0)!=128){continue}break}q=v[a+236>>2]+d|0;r=B(q,12);o=jc(r);if(!o){zc(v[a+628>>2],v[a>>2],20837,0);b=0;break b}c=a;f:{d=v[a+16>>2];if(!d){d=(Ub[v[a+640>>2]](v[a+628>>2],0,2)|0)+1&-2;v[a+16>>2]=d;v[e+624>>2]=d;d=v[a+12>>2];if(d&128){Mn(e+624|0);d=v[a+12>>2]}g:{h:{if(d&8192){Ub[v[a+640>>2]](v[a+628>>2],v[a+496>>2],0)|0;if((Ub[v[a+636>>2]](v[a+628>>2],e+624|0,4)|0)!=4){d=v[a+628>>2];v[e+576>>2]=v[a>>2];zc(d,84400,26745,e+576|0);break f}d=x[a+492>>1]-1|0;u[a+492>>1]=d;if(!(d&65535)){break h}v[a+496>>2]=v[a+496>>2]+4;break g}b=v[a+460>>2];if(!b){v[a+460>>2]=v[a+16>>2];Ub[v[a+640>>2]](v[a+628>>2],4,0)|0;if((Ub[v[a+636>>2]](v[a+628>>2],e+624|0,4)|0)==4){break g}zc(v[a+628>>2],v[a>>2],28389,0);break f}v[e+704>>2]=b;while(1){i:{if((Ub[v[a+640>>2]](v[a+628>>2],b,0)|0)==v[e+704>>2]){if((Ub[v[a+632>>2]](v[a+628>>2],e+592|0,2)|0)==2){break i}}zc(v[a+628>>2],84400,5100,0);break f}if(w[a+12|0]&128){d=w[e+593|0];t[e+593|0]=w[e+592|0];t[e+592|0]=d}Ub[v[a+640>>2]](v[a+628>>2],B(x[e+592>>1],12),1)|0;if((Ub[v[a+632>>2]](v[a+628>>2],e+704|0,4)|0)!=4){zc(v[a+628>>2],84400,9774,0);break f}if(w[a+12|0]&128){Mn(e+704|0)}b=v[e+704>>2];if(b){continue}break}d=Ub[v[a+640>>2]](v[a+628>>2],0,1)|0;Ub[v[a+640>>2]](v[a+628>>2],d-4|0,0)|0;if((Ub[v[a+636>>2]](v[a+628>>2],e+624|0,4)|0)==4){break g}zc(v[a+628>>2],84400,13130,0);break f}v[a+12>>2]=v[a+12>>2]&-8193}d=v[a+16>>2]}d=(r|2)+d|0;d=((d&1)+d|0)+4|0;v[c+488>>2]=d;Ub[v[a+640>>2]](v[a+628>>2],d,0)|0;u[a+476>>1]=x[a+476>>1]+1;oe(e+592|0,a+40|0,16);d=v[e+592>>2];if(!(x[a+168>>1]|(d|0)>-1)){v[e+592>>2]=d&2147483647;r=r-12|0;q=q-1|0}y=v[a+660>>2];if((y|0)>=1){E=a+144|0;F=a+140|0;G=a+132|0;H=a+128|0;I=2-o|0;C=e+706|0;d=o;while(1){m=v[v[a+656>>2]+(s<<2)>>2];f=x[m+12>>1];j:{k:{if((f|0)==65){c=v[a+236>>2];if((c|0)<1){break j}n=c&3;k=v[a+240>>2];h=0;b=0;if(c-1>>>0>=3){l=c&-4;while(1){h=v[k+B(b,12)>>2]==(m|0)|h|v[k+B(b|1,12)>>2]==(m|0)|v[k+B(b|2,12)>>2]==(m|0)|v[k+B(b|3,12)>>2]==(m|0);b=b+4|0;l=l-4|0;if(l){continue}break}}if(n){while(1){h=v[k+B(b,12)>>2]==(m|0)|h;b=b+1|0;n=n-1|0;if(n){continue}break}}if(h){break k}break j}if(!(v[(e+592|0)+(f>>>3&8188)>>2]>>>f&1)){break j}}l:{m:{n:{o:{p:{q:{r:{switch(f-1|0){case 24:b=w[a+13|0]&4?324:273;if((b|0)!=v[m>>2]){break j}u[d+2>>1]=4;u[d>>1]=b;b=v[a+180>>2];v[d+4>>2]=b;c=v[a+184>>2];if((b|0)!=1){break q}v[d+8>>2]=v[c>>2];break l;case 23:b=w[a+13|0]&4?325:279;if((b|0)!=v[m>>2]){break j}u[d+2>>1]=4;u[d>>1]=b;b=v[a+180>>2];v[d+4>>2]=b;c=v[a+188>>2];if((b|0)==1){v[d+8>>2]=v[c>>2];break l}if(of(a,d,c)){break l}break f;case 16:b=v[a+100>>2];v[d+4>>2]=1;u[d>>1]=278;if(b>>>0>=65536){u[d+2>>1]=4;v[d+8>>2]=b;break l}u[d+2>>1]=3;c=b&v[v[a+468>>2]+12>>2];b=d;if(x[a+456>>1]==19789){c=c<>2]+12>>2]}v[b+8>>2]=c;break l;case 25:v[d>>2]=196928;v[d+4>>2]=1<>1];b=v[a+488>>2];if(!of(a,d,v[a+152>>2])){break f}if(!of(a,d,v[a+156>>2])){break f}if(!of(a,d,v[a+160>>2])){break f}v[d+8>>2]=b;v[d+4>>2]=B(v[d+4>>2],3);break l;case 0:b=v[a+56>>2];v[d+4>>2]=1;u[d>>1]=256;s:{if(b>>>0>=65536){u[d+2>>1]=4;break s}u[d+2>>1]=3;b=v[v[a+468>>2]+12>>2]&b;if(x[a+456>>1]!=19789){break s}b=b<>2]+12>>2]}v[d+8>>2]=b;b=v[a+60>>2];v[d+16>>2]=1;u[d+12>>1]=257;t:{if(b>>>0>=65536){u[d+14>>1]=4;break t}u[d+14>>1]=3;b=v[v[a+468>>2]+12>>2]&b;if(x[a+456>>1]!=19789){break t}b=b<>2]+12>>2]}v[d+20>>2]=b;d=d+12|0;break l;case 1:b=v[a+68>>2];v[d+4>>2]=1;u[d>>1]=322;u:{if(b>>>0>=65536){u[d+2>>1]=4;break u}u[d+2>>1]=3;b=v[v[a+468>>2]+12>>2]&b;if(x[a+456>>1]!=19789){break u}b=b<>2]+12>>2]}v[d+8>>2]=b;b=v[a+72>>2];v[d+16>>2]=1;u[d+12>>1]=323;v:{if(b>>>0>=65536){u[d+14>>1]=4;break v}u[d+14>>1]=3;b=v[v[a+468>>2]+12>>2]&b;if(x[a+456>>1]!=19789){break v}b=b<>2]+12>>2]}v[d+20>>2]=b;d=d+12|0;break l;case 6:b=x[a+88>>1];v[d>>2]=196867;v[d+4>>2]=1;c=b&v[v[a+468>>2]+12>>2];b=d;if(x[a+456>>1]==19789){c=c<>2]+12>>2]}v[b+8>>2]=c;break l;case 7:b=x[a+90>>1];v[d>>2]=196870;v[d+4>>2]=1;c=b&v[v[a+468>>2]+12>>2];b=d;if(x[a+456>>1]==19789){c=c<>2]+12>>2]}v[b+8>>2]=c;break l;case 3:v[d>>2]=327966;v[d+4>>2]=1;if(!jp(a,d,F)){break f}v[d+12>>2]=327967;v[d+16>>2]=1;d=d+12|0;if(jp(a,d,E)){break l}break f;case 2:v[d>>2]=327962;v[d+4>>2]=1;if(!jp(a,d,H)){break f}v[d+12>>2]=327963;v[d+16>>2]=1;d=d+12|0;if(jp(a,d,G)){break l}break f;case 5:case 17:case 18:case 31:f=v[m>>2];k=x[a+98>>1];w:{if(k>>>0>=11){i=jc(k<<1);if(i){v[e+496>>2]=e+624;Kd(a,f,e+496|0);break w}zc(v[a+628>>2],v[a>>2],34435,0);break f}v[e+512>>2]=e+624;Kd(a,f,e+512|0);i=e+704|0;if(!k){break p}}n=k&3;b=0;if(k-1>>>0>=3){l=k&65532;while(1){c=b<<1;u[c+i>>1]=x[e+624>>1];u[(c|2)+i>>1]=x[e+624>>1];u[(c|4)+i>>1]=x[e+624>>1];u[(c|6)+i>>1]=x[e+624>>1];b=b+4|0;l=l-4|0;if(l){continue}break}}if(n){while(1){u[(b<<1)+i>>1]=x[e+624>>1];b=b+1|0;n=n-1|0;if(n){continue}break}}v[d+4>>2]=k;u[d+2>>1]=3;u[d>>1]=f;x:{if(k>>>0<=2){c=x[i>>1];if(x[a+456>>1]==19789){c=c<<16;v[d+8>>2]=c;b=1;if((k|0)!=2){break x}v[d+8>>2]=c|x[i+2>>1];break x}v[d+8>>2]=c;b=1;if((k|0)!=2){break x}v[d+8>>2]=c|x[i+2>>1]<<16;break x}b=of(a,d,i)}if((e+704|0)!=(i|0)){dc(i)}if(b){break l}break f;case 32:case 33:b=7;c=x[a+84>>1];c=(c>>>3|0)+((c&7)!=0)|0;y:{z:{switch(x[a+86>>1]-1|0){case 2:b=(c|0)==4?11:12;break y;case 1:b=c>>>0<2?6:(c|0)==2?8:9;break y;case 0:break z;default:break y}}b=c>>>0>1?(c|0)==2?3:4:1}c=b;k=v[m>>2];j=x[a+98>>1];if(j>>>0>=11){b=jc(j<<3);if(b){v[e+528>>2]=e+616;Kd(a,k,e+528|0);break n}zc(v[a+628>>2],v[a>>2],35710,0);break f}v[e+544>>2]=e+616;Kd(a,k,e+544|0);b=e+624|0;if(j){break n}h=1;break m;case 22:case 36:case 38:b=v[m>>2];v[e+564>>2]=C;v[e+560>>2]=e+704;Kd(a,b,e+560|0);v[d+4>>2]=2;u[d+2>>1]=3;u[d>>1]=b;b=x[e+704>>1];if(x[a+456>>1]==19789){v[d+8>>2]=x[e+706>>1]|b<<16;break l}v[d+8>>2]=b|x[e+706>>1]<<16;break l;case 45:v[d>>2]=131405;c=v[a+228>>2];v[d+4>>2]=c;f=v[a+232>>2];if(c>>>0<=4){b=w[f|0]<<24;if(x[a+456>>1]==19789){v[d+8>>2]=b;if(c>>>0<2){break l}b=b|t[f+1|0]<<16;v[d+8>>2]=b;if((c|0)==2){break l}b=b|t[f+2|0]<<8;v[d+8>>2]=b;if((c|0)!=4){break l}v[d+8>>2]=b|t[f+3|0];break l}b=b>>24;v[d+8>>2]=b;if(c>>>0<2){break l}b=b|t[f+1|0]<<8;v[d+8>>2]=b;if((c|0)==2){break l}b=b|t[f+2|0]<<16;v[d+8>>2]=b;if((c|0)!=4){break l}v[d+8>>2]=b|w[f+3|0]<<24;break l}if(of(a,d,f)){break l}break f;case 43:b=2<>1];A:{B:{switch(x[a+98>>1]-x[a+168>>1]|0){default:c=3;if(V0(v[a+216>>2],v[a+224>>2],b)){break A}case 2:c=3;if(V0(v[a+216>>2],v[a+220>>2],b)){break A}break;case 0:case 1:break B}}c=1}v[d>>2]=196909;v[d+4>>2]=1<>1];f=v[a+488>>2];b=0;while(1){if(!of(a,d,v[((b<<2)+a|0)+216>>2])){break f}b=b+1|0;if((c|0)!=(b|0)){continue}break};v[d+8>>2]=f;v[d+4>>2]=B(c,v[d+4>>2]);break l;case 48:b=v[m>>2];u[d+2>>1]=4;u[d>>1]=b;c=x[a+196>>1];v[d+4>>2]=c;b=v[a+200>>2];if((c|0)==1){v[d+8>>2]=v[b>>2];u[a+492>>1]=c;v[a+12>>2]=v[a+12>>2]|8192;break o}if(!of(a,d,b)){break f}b=v[d+4>>2];if(!b){break l}u[a+492>>1]=b;v[a+12>>2]=v[a+12>>2]|8192;if((b|0)==1){break o}v[a+496>>2]=v[d+8>>2];break l;default:break r}}f=v[m>>2];if((f|0)==336){v[e+4>>2]=C;v[e>>2]=e+704;Kd(a,336,e);v[d>>2]=196944;v[d+4>>2]=2;b=x[e+704>>1];if(x[a+456>>1]==19789){v[d+8>>2]=x[e+706>>1]|b<<16;break l}v[d+8>>2]=b|x[e+706>>1]<<16;break l}c=x[m+6>>1];u[e+616>>1]=c;u[d>>1]=f;b=v[m+8>>2];v[d+4>>2]=c;u[d+2>>1]=b;C:{D:{switch(b-1|0){case 2:case 7:if(w[m+15|0]){b=d;E:{if((c|0)==65533){v[e+52>>2]=e+704;v[e+48>>2]=e+624;Kd(a,f,e+48|0);c=v[e+624>>2];break E}v[e+68>>2]=e+704;v[e+64>>2]=e+616;Kd(a,f,e- -64|0);c=x[e+616>>1]}v[b+4>>2]=c;f=v[e+704>>2];if(c>>>0>2){break C}b=x[f>>1];if(x[a+456>>1]==19789){b=b<<16;v[d+8>>2]=b;if((c|0)!=2){break l}v[d+8>>2]=b|x[f+2>>1];break l}v[d+8>>2]=b;if((c|0)!=2){break l}v[d+8>>2]=b|x[f+2>>1]<<16;break l}if((c|0)==1){v[e+16>>2]=e+704;Kd(a,f,e+16|0);f=x[d+2>>1]<<2;c=v[f+v[a+468>>2]>>2]&x[e+704>>1];b=d;if(x[a+456>>1]==19789){c=c<>2]>>2]}v[b+8>>2]=c;break l}v[e+32>>2]=e+704;Kd(a,f,e+32|0);f=v[e+704>>2];c=v[d+4>>2];if(c>>>0<=2){b=x[f>>1];if(x[a+456>>1]==19789){b=b<<16;v[d+8>>2]=b;if((c|0)!=2){break l}v[d+8>>2]=b|x[f+2>>1];break l}v[d+8>>2]=b;if((c|0)!=2){break l}v[d+8>>2]=b|x[f+2>>1]<<16;break l}if(of(a,d,f)){break l}break f;case 3:case 8:case 12:if(w[m+15|0]){b=d;F:{if((c|0)==65533){v[e+116>>2]=e+704;v[e+112>>2]=e+624;Kd(a,f,e+112|0);c=v[e+624>>2];break F}v[e+132>>2]=e+704;v[e+128>>2]=e+616;Kd(a,f,e+128|0);c=x[e+616>>1]}v[b+4>>2]=c;b=v[e+704>>2];if((c|0)==1){v[d+8>>2]=v[b>>2];break l}if(of(a,d,b)){break l}break f}if((c|0)==1){v[e+80>>2]=d+8;Kd(a,f,e+80|0);break l}v[e+96>>2]=e+704;Kd(a,f,e+96|0);b=v[e+704>>2];if(v[d+4>>2]==1){v[d+8>>2]=v[b>>2];break l}if(of(a,d,b)){break l}break f;case 4:case 9:if(w[m+15|0]){b=d;G:{if((c|0)==65533){v[e+180>>2]=e+704;v[e+176>>2]=e+624;Kd(a,f,e+176|0);c=v[e+624>>2];break G}v[e+196>>2]=e+704;v[e+192>>2]=e+616;Kd(a,f,e+192|0);c=x[e+616>>1]}v[b+4>>2]=c;if(jp(a,d,v[e+704>>2])){break l}break f}if((c|0)==1){b=e+704|0;v[e+144>>2]=b;Kd(a,f,e+144|0);if(jp(a,d,b)){break l}break f}v[e+160>>2]=e+704;Kd(a,f,e+160|0);if(jp(a,d,v[e+704>>2])){break l}break f;case 10:if(w[m+15|0]){b=d;H:{if((c|0)==65533){v[e+244>>2]=e+704;v[e+240>>2]=e+624;Kd(a,f,e+240|0);c=v[e+624>>2];break H}v[e+260>>2]=e+704;v[e+256>>2]=e+616;Kd(a,f,e+256|0);c=x[e+616>>1]}v[b+4>>2]=c;b=v[e+704>>2];if((c|0)==1){v[d+8>>2]=v[b>>2];break l}if(of(a,d,b)){break l}break f}if((c|0)==1){v[e+208>>2]=e+704;Kd(a,f,e+208|0);if(v[d+4>>2]==1){v[d+8>>2]=v[e+704>>2];break l}if(of(a,d,e+704|0)){break l}break f}v[e+224>>2]=e+704;Kd(a,f,e+224|0);b=v[e+704>>2];if(v[d+4>>2]==1){v[d+8>>2]=v[b>>2];break l}if(of(a,d,b)){break l}break f;case 11:if(w[m+15|0]){b=d;I:{if((c|0)==65533){v[e+308>>2]=e+704;v[e+304>>2]=e+624;Kd(a,f,e+304|0);c=v[e+624>>2];break I}v[e+324>>2]=e+704;v[e+320>>2]=e+616;Kd(a,f,e+320|0);c=x[e+616>>1]}v[b+4>>2]=c;if(of(a,d,v[e+704>>2])){break l}break f}if((c|0)==1){b=e+704|0;v[e+272>>2]=b;Kd(a,f,e+272|0);if(of(a,d,b)){break l}break f}v[e+288>>2]=e+704;Kd(a,f,e+288|0);if(of(a,d,v[e+704>>2])){break l}break f;case 1:J:{if(w[m+15|0]){if((c|0)==65533){v[e+356>>2]=e+704;v[e+352>>2]=e+624;Kd(a,f,e+352|0);break J}v[e+372>>2]=e+704;v[e+368>>2]=e+616;Kd(a,f,e+368|0);break J}v[e+336>>2]=e+704;Kd(a,f,e+336|0)}f=v[e+704>>2];c=Bc(f)+1|0;v[d+4>>2]=c;if(c>>>0<=4){b=w[f|0]<<24;if(x[a+456>>1]==19789){v[d+8>>2]=b;if(c>>>0<2){break l}b=b|t[f+1|0]<<16;v[d+8>>2]=b;if((c|0)==2){break l}b=b|t[f+2|0]<<8;v[d+8>>2]=b;if((c|0)!=4){break l}v[d+8>>2]=b|t[f+3|0];break l}b=b>>24;v[d+8>>2]=b;if(c>>>0<2){break l}b=b|t[f+1|0]<<8;v[d+8>>2]=b;if((c|0)==2){break l}b=b|t[f+2|0]<<16;v[d+8>>2]=b;if((c|0)!=4){break l}v[d+8>>2]=b|w[f+3|0]<<24;break l}if(of(a,d,f)){break l}break f;case 0:case 5:if(w[m+15|0]){b=d;K:{if((c|0)==65533){v[e+420>>2]=e+704;v[e+416>>2]=e+624;Kd(a,f,e+416|0);c=v[e+624>>2];break K}v[e+436>>2]=e+704;v[e+432>>2]=e+616;Kd(a,f,e+432|0);c=x[e+616>>1]}v[b+4>>2]=c;f=v[e+704>>2];if(c>>>0<=4){b=w[f|0]<<24;if(x[a+456>>1]==19789){v[d+8>>2]=b;if(c>>>0<2){break l}b=b|t[f+1|0]<<16;v[d+8>>2]=b;if((c|0)==2){break l}b=b|t[f+2|0]<<8;v[d+8>>2]=b;if((c|0)!=4){break l}v[d+8>>2]=b|t[f+3|0];break l}b=b>>24;v[d+8>>2]=b;if(c>>>0<2){break l}b=b|t[f+1|0]<<8;v[d+8>>2]=b;if((c|0)==2){break l}b=b|t[f+2|0]<<16;v[d+8>>2]=b;if((c|0)!=4){break l}v[d+8>>2]=b|w[f+3|0]<<24;break l}if(of(a,d,f)){break l}break f}if((c|0)==1){v[e+384>>2]=e+704;Kd(a,f,e+384|0);c=v[d+4>>2];if(c>>>0<=4){b=w[e+704|0]<<24;if(x[a+456>>1]==19789){v[d+8>>2]=b;if(c>>>0<2){break l}b=b|t[e+705|0]<<16;v[d+8>>2]=b;if((c|0)==2){break l}b=b|t[e+706|0]<<8;v[d+8>>2]=b;if((c|0)!=4){break l}v[d+8>>2]=b|t[e+707|0];break l}b=b>>24;v[d+8>>2]=b;if(c>>>0<2){break l}b=b|t[e+705|0]<<8;v[d+8>>2]=b;if((c|0)==2){break l}b=b|t[e+706|0]<<16;v[d+8>>2]=b;if((c|0)!=4){break l}v[d+8>>2]=b|w[e+707|0]<<24;break l}if(of(a,d,e+704|0)){break l}break f}v[e+400>>2]=e+704;Kd(a,f,e+400|0);f=v[e+704>>2];c=v[d+4>>2];if(c>>>0<=4){b=w[f|0]<<24;if(x[a+456>>1]==19789){v[d+8>>2]=b;if(c>>>0<2){break l}b=b|t[f+1|0]<<16;v[d+8>>2]=b;if((c|0)==2){break l}b=b|t[f+2|0]<<8;v[d+8>>2]=b;if((c|0)!=4){break l}v[d+8>>2]=b|t[f+3|0];break l}b=b>>24;v[d+8>>2]=b;if(c>>>0<2){break l}b=b|t[f+1|0]<<8;v[d+8>>2]=b;if((c|0)==2){break l}b=b|t[f+2|0]<<16;v[d+8>>2]=b;if((c|0)!=4){break l}v[d+8>>2]=b|w[f+3|0]<<24;break l}if(of(a,d,f)){break l}break f;case 6:break D;default:break l}}L:{M:{switch(c-65533|0){case 2:v[e+468>>2]=e+704;v[e+464>>2]=e+616;Kd(a,f,e+464|0);b=x[e+616>>1];v[d+4>>2]=b;break L;case 0:v[e+484>>2]=e+704;v[e+480>>2]=e+624;Kd(a,f,e+480|0);b=v[e+624>>2];v[d+4>>2]=b;break L;default:break M}}v[e+448>>2]=e+704;Kd(a,f,e+448|0);b=v[d+4>>2]}f=v[e+704>>2];if(b>>>0<=4){c=w[f|0]<<24;if(x[a+456>>1]==19789){v[d+8>>2]=c;if(b>>>0<2){break l}c=c|t[f+1|0]<<16;v[d+8>>2]=c;if((b|0)==2){break l}c=c|t[f+2|0]<<8;v[d+8>>2]=c;if((b|0)!=4){break l}v[d+8>>2]=c|t[f+3|0];break l}c=c>>24;v[d+8>>2]=c;if(b>>>0<2){break l}c=c|t[f+1|0]<<8;v[d+8>>2]=c;if((b|0)==2){break l}c=c|t[f+2|0]<<16;v[d+8>>2]=c;if((b|0)!=4){break l}v[d+8>>2]=c|w[f+3|0]<<24;break l}if(of(a,d,f)){break l}break f}if(!of(a,d,f)){break f}break l}if(of(a,d,c)){break l}break f}v[d+4>>2]=k;u[d+2>>1]=3;u[d>>1]=f;b=x[e+704>>1];v[d+8>>2]=x[a+456>>1]==19789?b<<16:b;break l}v[a+496>>2]=(v[a+16>>2]+(d+I|0)|0)+8;break l}n=j&3;h=0;i=0;if(j-1>>>0>=3){l=j&65532;while(1){f=i<<3;A[f+b>>3]=A[e+616>>3];A[(f|8)+b>>3]=A[e+616>>3];A[(f|16)+b>>3]=A[e+616>>3];A[(f|24)+b>>3]=A[e+616>>3];i=i+4|0;l=l-4|0;if(l){continue}break}}if(!n){break m}while(1){A[(i<<3)+b>>3]=A[e+616>>3];i=i+1|0;n=n-1|0;if(n){continue}break}}i=e+704|0;N:{O:{if(B(c>>>0<=13?v[(c<<2)+81924>>2]:0,j)>>>0<81){break O}i=jc(B(c>>>0<=13?v[(c<<2)+81924>>2]:0,j));if(i){break O}n=0;zc(v[a+628>>2],v[a>>2],37142,0);break N}v[d+4>>2]=j;u[d+2>>1]=c;u[d>>1]=k;n=0;P:{Q:{R:{switch(c-1|0){case 5:if(!h){l=j&3;h=0;if(j-1>>>0>=3){j=j&65532;while(1){f=h+i|0;g=A[(h<<3)+b>>3];S:{if(D(g)<2147483648){c=~~g;break S}c=-2147483648}t[f|0]=c;f=h|1;k=f+i|0;g=A[(f<<3)+b>>3];T:{if(D(g)<2147483648){c=~~g;break T}c=-2147483648}t[k|0]=c;f=h|2;k=f+i|0;g=A[(f<<3)+b>>3];U:{if(D(g)<2147483648){c=~~g;break U}c=-2147483648}t[k|0]=c;f=h|3;k=f+i|0;g=A[(f<<3)+b>>3];V:{if(D(g)<2147483648){c=~~g;break V}c=-2147483648}t[k|0]=c;h=h+4|0;j=j-4|0;if(j){continue}break}}if(l){while(1){f=h+i|0;g=A[(h<<3)+b>>3];W:{if(D(g)<2147483648){c=~~g;break W}c=-2147483648}t[f|0]=c;h=h+1|0;l=l-1|0;if(l){continue}break}}j=v[d+4>>2]}if(j>>>0<=4){c=w[i|0]<<24;if(x[a+456>>1]==19789){v[d+8>>2]=c;if(j>>>0<2){break Q}c=c|t[i+1|0]<<16;v[d+8>>2]=c;if((j|0)==2){break Q}c=c|t[i+2|0]<<8;v[d+8>>2]=c;if((j|0)!=4){break Q}v[d+8>>2]=c|t[i+3|0];break Q}c=c>>24;v[d+8>>2]=c;if(j>>>0<2){break Q}c=c|t[i+1|0]<<8;v[d+8>>2]=c;if((j|0)==2){break Q}c=c|t[i+2|0]<<16;v[d+8>>2]=c;if((j|0)!=4){break Q}v[d+8>>2]=c|w[i+3|0]<<24;break Q}if(of(a,d,i)){break Q}break P;case 2:X:{if(h){break X}l=j&3;h=0;if(j-1>>>0>=3){k=j&65532;while(1){f=(h<<1)+i|0;g=A[(h<<3)+b>>3];Y:{if(g<4294967296&g>=0){c=~~g>>>0;break Y}c=0}u[f>>1]=c;f=h|1;p=(f<<1)+i|0;g=A[(f<<3)+b>>3];Z:{if(g<4294967296&g>=0){c=~~g>>>0;break Z}c=0}u[p>>1]=c;f=h|2;p=(f<<1)+i|0;g=A[(f<<3)+b>>3];_:{if(g<4294967296&g>=0){c=~~g>>>0;break _}c=0}u[p>>1]=c;f=h|3;p=(f<<1)+i|0;g=A[(f<<3)+b>>3];$:{if(g<4294967296&g>=0){c=~~g>>>0;break $}c=0}u[p>>1]=c;h=h+4|0;k=k-4|0;if(k){continue}break}}if(!l){break X}while(1){f=(h<<1)+i|0;g=A[(h<<3)+b>>3];aa:{if(g<4294967296&g>=0){c=~~g>>>0;break aa}c=0}u[f>>1]=c;h=h+1|0;l=l-1|0;if(l){continue}break}}if(j>>>0<=2){c=x[i>>1];if(x[a+456>>1]==19789){c=c<<16;v[d+8>>2]=c;if((j|0)!=2){break Q}v[d+8>>2]=c|x[i+2>>1];break Q}v[d+8>>2]=c;if((j|0)!=2){break Q}v[d+8>>2]=c|x[i+2>>1]<<16;break Q}if(of(a,d,i)){break Q}break P;case 7:ba:{if(h){break ba}l=j&3;h=0;if(j-1>>>0>=3){k=j&65532;while(1){f=(h<<1)+i|0;g=A[(h<<3)+b>>3];ca:{if(D(g)<2147483648){c=~~g;break ca}c=-2147483648}u[f>>1]=c;f=h|1;p=(f<<1)+i|0;g=A[(f<<3)+b>>3];da:{if(D(g)<2147483648){c=~~g;break da}c=-2147483648}u[p>>1]=c;f=h|2;p=(f<<1)+i|0;g=A[(f<<3)+b>>3];ea:{if(D(g)<2147483648){c=~~g;break ea}c=-2147483648}u[p>>1]=c;f=h|3;p=(f<<1)+i|0;g=A[(f<<3)+b>>3];fa:{if(D(g)<2147483648){c=~~g;break fa}c=-2147483648}u[p>>1]=c;h=h+4|0;k=k-4|0;if(k){continue}break}}if(!l){break ba}while(1){f=(h<<1)+i|0;g=A[(h<<3)+b>>3];ga:{if(D(g)<2147483648){c=~~g;break ga}c=-2147483648}u[f>>1]=c;h=h+1|0;l=l-1|0;if(l){continue}break}}if(j>>>0<=2){c=x[i>>1];if(x[a+456>>1]==19789){c=c<<16;v[d+8>>2]=c;if((j|0)!=2){break Q}v[d+8>>2]=c|x[i+2>>1];break Q}v[d+8>>2]=c;if((j|0)!=2){break Q}v[d+8>>2]=c|x[i+2>>1]<<16;break Q}if(of(a,d,i)){break Q}break P;case 3:ha:{if(h){break ha}l=j&3;h=0;if(j-1>>>0>=3){j=j&65532;while(1){f=(h<<2)+i|0;g=A[(h<<3)+b>>3];ia:{if(g<4294967296&g>=0){c=~~g>>>0;break ia}c=0}v[f>>2]=c;f=h|1;k=(f<<2)+i|0;g=A[(f<<3)+b>>3];ja:{if(g<4294967296&g>=0){c=~~g>>>0;break ja}c=0}v[k>>2]=c;f=h|2;k=(f<<2)+i|0;g=A[(f<<3)+b>>3];ka:{if(g<4294967296&g>=0){c=~~g>>>0;break ka}c=0}v[k>>2]=c;f=h|3;k=(f<<2)+i|0;g=A[(f<<3)+b>>3];la:{if(g<4294967296&g>=0){c=~~g>>>0;break la}c=0}v[k>>2]=c;h=h+4|0;j=j-4|0;if(j){continue}break}}if(l){while(1){f=(h<<2)+i|0;g=A[(h<<3)+b>>3];ma:{if(g<4294967296&g>=0){c=~~g>>>0;break ma}c=0}v[f>>2]=c;h=h+1|0;l=l-1|0;if(l){continue}break}}if(v[d+4>>2]!=1){break ha}v[d+8>>2]=v[i>>2];break Q}if(of(a,d,i)){break Q}break P;case 8:na:{if(h){break na}l=j&3;h=0;if(j-1>>>0>=3){j=j&65532;while(1){f=(h<<2)+i|0;g=A[(h<<3)+b>>3];oa:{if(D(g)<2147483648){c=~~g;break oa}c=-2147483648}v[f>>2]=c;f=h|1;k=(f<<2)+i|0;g=A[(f<<3)+b>>3];pa:{if(D(g)<2147483648){c=~~g;break pa}c=-2147483648}v[k>>2]=c;f=h|2;k=(f<<2)+i|0;g=A[(f<<3)+b>>3];qa:{if(D(g)<2147483648){c=~~g;break qa}c=-2147483648}v[k>>2]=c;f=h|3;k=(f<<2)+i|0;g=A[(f<<3)+b>>3];ra:{if(D(g)<2147483648){c=~~g;break ra}c=-2147483648}v[k>>2]=c;h=h+4|0;j=j-4|0;if(j){continue}break}}if(l){while(1){f=(h<<2)+i|0;g=A[(h<<3)+b>>3];sa:{if(D(g)<2147483648){c=~~g;break sa}c=-2147483648}v[f>>2]=c;h=h+1|0;l=l-1|0;if(l){continue}break}}if(v[d+4>>2]!=1){break na}v[d+8>>2]=v[i>>2];break Q}if(of(a,d,i)){break Q}break P;case 10:ta:{if(h){break ta}l=j&3;h=0;if(j-1>>>0>=3){k=j&65532;while(1){z[(h<<2)+i>>2]=A[(h<<3)+b>>3];c=h|1;z[(c<<2)+i>>2]=A[(c<<3)+b>>3];c=h|2;z[(c<<2)+i>>2]=A[(c<<3)+b>>3];c=h|3;z[(c<<2)+i>>2]=A[(c<<3)+b>>3];h=h+4|0;k=k-4|0;if(k){continue}break}}if(l){while(1){z[(h<<2)+i>>2]=A[(h<<3)+b>>3];h=h+1|0;l=l-1|0;if(l){continue}break}}if((j|0)!=1){break ta}v[d+8>>2]=v[i>>2];break Q}if(of(a,d,i)){break Q}break P;case 11:if(!of(a,d,b)){break P}break Q;case 0:break R;default:break P}}if(!h){l=j&3;h=0;if(j-1>>>0>=3){j=j&65532;while(1){f=h+i|0;g=A[(h<<3)+b>>3];ua:{if(g<4294967296&g>=0){c=~~g>>>0;break ua}c=0}t[f|0]=c;f=h|1;k=f+i|0;g=A[(f<<3)+b>>3];va:{if(g<4294967296&g>=0){c=~~g>>>0;break va}c=0}t[k|0]=c;f=h|2;k=f+i|0;g=A[(f<<3)+b>>3];wa:{if(g<4294967296&g>=0){c=~~g>>>0;break wa}c=0}t[k|0]=c;f=h|3;k=f+i|0;g=A[(f<<3)+b>>3];xa:{if(g<4294967296&g>=0){c=~~g>>>0;break xa}c=0}t[k|0]=c;h=h+4|0;j=j-4|0;if(j){continue}break}}if(l){while(1){f=h+i|0;g=A[(h<<3)+b>>3];ya:{if(g<4294967296&g>=0){c=~~g>>>0;break ya}c=0}t[f|0]=c;h=h+1|0;l=l-1|0;if(l){continue}break}}j=v[d+4>>2]}if(j>>>0<=4){c=w[i|0]<<24;if(x[a+456>>1]==19789){v[d+8>>2]=c;if(j>>>0<2){break Q}c=c|t[i+1|0]<<16;v[d+8>>2]=c;if((j|0)==2){break Q}c=c|t[i+2|0]<<8;v[d+8>>2]=c;if((j|0)!=4){break Q}v[d+8>>2]=c|t[i+3|0];break Q}c=c>>24;v[d+8>>2]=c;if(j>>>0<2){break Q}c=c|t[i+1|0]<<8;v[d+8>>2]=c;if((j|0)==2){break Q}c=c|t[i+2|0]<<16;v[d+8>>2]=c;if((j|0)!=4){break Q}v[d+8>>2]=c|w[i+3|0]<<24;break Q}if(!of(a,d,i)){break P}}n=1}if((e+704|0)==(i|0)){break N}dc(i)}if((e+624|0)!=(b|0)){dc(b)}if(!n){break f}}d=d+12|0;f=x[m+12>>1];if((f|0)==65){break j}c=(e+592|0)+(f>>>3&8188)|0;b=v[c>>2];J=c,K=Gib(-2,f)&b,v[J>>2]=K}s=s+1|0;if((y|0)!=(s|0)){continue}break}}u[e+624>>1]=q;v[e+704>>2]=v[a+20>>2];if(w[a+12|0]&128){if(q&65535){d=q;b=o;while(1){_q(b,2);Kn(b+4|0,2);d=d-1|0;u[e+624>>1]=d;b=b+12|0;if(d&65535){continue}break}}u[e+624>>1]=q;d=w[e+625|0];t[e+625|0]=w[e+624|0];t[e+624|0]=d;Mn(e+704|0)}Ub[v[a+640>>2]](v[a+628>>2],v[a+16>>2],0)|0;if((Ub[v[a+636>>2]](v[a+628>>2],e+624|0,2)|0)!=2){zc(v[a+628>>2],v[a>>2],22436,0);break f}if((Ub[v[a+636>>2]](v[a+628>>2],o,r)|0)!=(r|0)){zc(v[a+628>>2],v[a>>2],24677,0);break f}if((Ub[v[a+636>>2]](v[a+628>>2],e+704|0,4)|0)!=4){zc(v[a+628>>2],v[a>>2],13130,0);break f}pD(a);v[a+12>>2]=v[a+12>>2]&-9;Ub[v[a+572>>2]](a);ux(a);v[a+16>>2]=0;v[a+20>>2]=0;v[a+480>>2]=-1;v[a+484>>2]=0;v[a+472>>2]=-1;dc(o);b=1;break b}dc(o);b=0}Qb=e+784|0;if(!b){break a}}}Ub[v[a+572>>2]](a);pD(a);d=v[a+24>>2];if(d){dc(d)}while(1){d=v[a+680>>2];if(d){v[a+680>>2]=v[d>>2];dc(v[d+8>>2]);dc(d);continue}break}d=v[a+596>>2];if(!(!d|!(w[a+13|0]&2))){dc(d)}if(w[a+13|0]&8){Ub[v[a+624>>2]](v[a+628>>2],v[a+612>>2],v[a+616>>2])}c=v[a+660>>2];if(c){d=0;while(1){o=v[v[a+656>>2]+(d<<2)>>2];za:{if(x[o+12>>1]!=65){break za}b=v[o+16>>2];if(Oc(4034,b,4)){break za}dc(b);dc(o);c=v[a+660>>2]}d=d+1|0;if(c>>>0>d>>>0){continue}break}dc(v[a+656>>2])}dc(a)}function axa(a){a=a|0;var 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,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;b=v[a+4>>2];Ub[v[v[b>>2]+20>>2]](b);v[a+3460>>2]=0;v[a+3464>>2]=0;v[a+720>>2]=0;v[a+188>>2]=0;v[a+204>>2]=0;v[a+196>>2]=0;v[a+200>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;if(!fE(a,1)){v[a+8>>2]=1;v[a+3504>>2]=v[a+20>>2];return}b=v[a+188>>2];a:{if((b|0)==1){v[a+44>>2]=1;v[a+48>>2]=1;d=1;f=1;break a}d=v[a+48>>2];f=v[a+44>>2];if((b|0)<2){break a}g=1;j=b-1|0;c=j&1;if((b|0)!=2){i=j&-2;while(1){j=B(g,20)+a|0;e=v[j+68>>2];h=v[j+48>>2];d=(d|0)<(h|0)?h:d;d=(d|0)<(e|0)?e:d;e=v[j- -64>>2];j=v[j+44>>2];f=(f|0)<(j|0)?j:f;f=(e|0)>(f|0)?e:f;g=g+2|0;i=i-2|0;if(i){continue}break}}if(!c){break a}g=B(g,20)+a|0;j=v[g+48>>2];d=(d|0)<(j|0)?j:d;g=v[g+44>>2];f=(g|0)>(f|0)?g:f}g=d<<3;v[a+28>>2]=g;f=f<<3;v[a+24>>2]=f;if(v[a+192>>2]==-1){d=a;i=0;b:{if((b|0)!=3){break b}i=1;if(v[a+196>>2]){break b}i=v[a+40>>2]!=82|v[a+60>>2]!=71|v[a+80>>2]!=66}v[d+192>>2]=i}c:{if(v[a+12>>2]?v[a+8>>2]:1){d=(f+v[a+16>>2]|0)-1|0;d=d-((d|0)%(f|0)|0)|0;v[a+32>>2]=d;f=(g+v[a+20>>2]|0)-1|0;f=f-((f|0)%(g|0)|0)|0;v[a+36>>2]=f;if((d|0)<1|(f|0)<1|(d|0)>(2147483647/(d>>>0)>>>2|0)){break c}d:{if((b|0)<1){break d}b=ed(B(d,f),4);v[a+3480>>2]=b;ic(b,0,B(v[a+32>>2],v[a+36>>2])<<2);b=v[a+188>>2];if((b|0)<=1){break d}d=1;while(1){b=ed(B(v[a+36>>2],v[a+32>>2]),4);v[((d<<2)+a|0)+3480>>2]=b;ic(b,0,B(v[a+32>>2],v[a+36>>2])<<2);b=v[a+188>>2];d=d+1|0;if((b|0)>(d|0)){continue}break}}p=a+40|0;while(1){v[a+3524>>2]=0;v[a+3512>>2]=208;v[a+3508>>2]=v[a+204>>2];e:{if((b|0)<1){break e}f=b&7;d=0;if(b-1>>>0>=7){b=b&-8;while(1){v[(p+B(d,20)|0)+16>>2]=0;v[(p+B(d|1,20)|0)+16>>2]=0;v[(p+B(d|2,20)|0)+16>>2]=0;v[(p+B(d|3,20)|0)+16>>2]=0;v[(p+B(d|4,20)|0)+16>>2]=0;v[(p+B(d|5,20)|0)+16>>2]=0;v[(p+B(d|6,20)|0)+16>>2]=0;v[(p+B(d|7,20)|0)+16>>2]=0;d=d+8|0;b=b-8|0;if(b){continue}break}}if(!f){break e}while(1){v[(B(d,20)+a|0)+56>>2]=0;d=d+1|0;f=f-1|0;if(f){continue}break}}v[a+3516>>2]=0;b=0;x=0;e=Qb-256|0;Qb=e;f:{g:{h:{i:{j:{k:{l:{m:{d=v[a+188>>2];if((d|0)>=1){g=v[a+720>>2];i=v[a+3464>>2];j=v[a+3460>>2];if(!v[a+8>>2]|v[a+176>>2]>=1){while(1){c=(b<<2)+a|0;if(v[c+120>>2]){f=221079;if((j|0)<=v[c+140>>2]|(i|0)<=v[((b<<2)+a|0)+156>>2]){break g}}if((g|0)>2]){break h}b=b+1|0;if((d|0)!=(b|0)){continue}break}break m}while(1){f=(b<<2)+a|0;if(!((j|0)<=v[f+140>>2]?v[f+120>>2]:0)){if((g|0)>2]){break h}b=b+1|0;if((d|0)!=(b|0)){continue}break m}break}f=221079;break g}if(v[a+136>>2]==1){break j}break l}if(v[a+136>>2]==1){break k}}t=v[a+28>>2];f=v[a+24>>2];break i}b=0;if((d|0)<1){break j}while(1){if(v[((b<<2)+a|0)+120>>2]){break j}b=b+1|0;if((d|0)!=(b|0)){continue}break}b=d}b=B(b,20)+a|0;t=v[a+28>>2]/v[b+48>>2]|0;f=v[a+24>>2]/v[b+44>>2]|0}n=v[a+20>>2];if((n|0)<1){break f}b=v[a+16>>2];if((b|0)<1){break f}g=f;G=(t|0)<1|(g|0)<1;l=a+40|0;while(1){if((b|0)>=1){f=v[a+3508>>2];u=0;while(1){if(!(f|v[a+204>>2]<1)){while(1){b=v[a+4>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)!=255&(b|0)!=-1){continue}while(1){b=v[a+4>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==255){continue}break}if(!b){continue}break}f=239678;if((b|0)!=v[a+3512>>2]){break g}v[a+3524>>2]=0;f=v[a+204>>2];v[a+3508>>2]=f;b=b+1|0;v[a+3512>>2]=(b|0)==216?208:b;d=v[a+188>>2];n:{if((d|0)<1){break n}n=d&7;b=0;if(d-1>>>0>=7){q=d&-8;while(1){v[(l+B(b,20)|0)+16>>2]=0;v[(l+B(b|1,20)|0)+16>>2]=0;v[(l+B(b|2,20)|0)+16>>2]=0;v[(l+B(b|3,20)|0)+16>>2]=0;v[(l+B(b|4,20)|0)+16>>2]=0;v[(l+B(b|5,20)|0)+16>>2]=0;v[(l+B(b|6,20)|0)+16>>2]=0;v[(l+B(b|7,20)|0)+16>>2]=0;b=b+8|0;q=q-8|0;if(q){continue}break}}if(!n){break n}while(1){v[(B(b,20)+a|0)+56>>2]=0;b=b+1|0;n=n-1|0;if(n){continue}break}}v[a+3516>>2]=0}n=0;j=a;if((d|0)>=1){while(1){y=(n<<2)+a|0;if(!(G|!v[y+120>>2])){b=B(n,20)+a|0;H=v[a+24>>2]/v[b+44>>2]|0;C=v[a+28>>2]/v[b+48>>2]|0;r=(C|0)/8|0;z=b+56|0;D=y+3480|0;m=0;while(1){E=m+x|0;q=0;while(1){F=q+u|0;d=v[a+32>>2];b=v[D>>2]+(F+B(d,E)<<2)|0;v[e>>2]=v[b>>2];v[e+4>>2]=v[b+4>>2];v[e+8>>2]=v[b+8>>2];v[e+12>>2]=v[b+12>>2];v[e+16>>2]=v[b+16>>2];v[e+20>>2]=v[b+20>>2];v[e+24>>2]=v[b+24>>2];v[e+28>>2]=v[b+28>>2];d=B(d,r)<<2;b=d+b|0;v[e+32>>2]=v[b>>2];v[e+36>>2]=v[b+4>>2];v[e+40>>2]=v[b+8>>2];v[e+44>>2]=v[b+12>>2];v[e+48>>2]=v[b+16>>2];v[e+52>>2]=v[b+20>>2];v[e+56>>2]=v[b+24>>2];v[e+60>>2]=v[b+28>>2];b=b+d|0;v[e+64>>2]=v[b>>2];v[e+68>>2]=v[b+4>>2];v[e+72>>2]=v[b+8>>2];v[e+76>>2]=v[b+12>>2];v[e+80>>2]=v[b+16>>2];v[e+84>>2]=v[b+20>>2];v[e+88>>2]=v[b+24>>2];v[e+92>>2]=v[b+28>>2];b=b+d|0;v[e+96>>2]=v[b>>2];v[e+100>>2]=v[b+4>>2];v[e+104>>2]=v[b+8>>2];v[e+108>>2]=v[b+12>>2];v[e+112>>2]=v[b+16>>2];v[e+116>>2]=v[b+20>>2];v[e+120>>2]=v[b+24>>2];v[e+124>>2]=v[b+28>>2];b=b+d|0;v[e+128>>2]=v[b>>2];v[e+132>>2]=v[b+4>>2];v[e+136>>2]=v[b+8>>2];v[e+140>>2]=v[b+12>>2];v[e+144>>2]=v[b+16>>2];v[e+148>>2]=v[b+20>>2];v[e+152>>2]=v[b+24>>2];v[e+156>>2]=v[b+28>>2];b=b+d|0;v[e+160>>2]=v[b>>2];v[e+164>>2]=v[b+4>>2];v[e+168>>2]=v[b+8>>2];v[e+172>>2]=v[b+12>>2];v[e+176>>2]=v[b+16>>2];v[e+180>>2]=v[b+20>>2];v[e+184>>2]=v[b+24>>2];v[e+188>>2]=v[b+28>>2];b=b+d|0;v[e+192>>2]=v[b>>2];v[e+196>>2]=v[b+4>>2];v[e+200>>2]=v[b+8>>2];v[e+204>>2]=v[b+12>>2];v[e+208>>2]=v[b+16>>2];v[e+212>>2]=v[b+20>>2];v[e+216>>2]=v[b+24>>2];v[e+220>>2]=v[b+28>>2];b=b+d|0;v[e+224>>2]=v[b>>2];v[e+228>>2]=v[b+4>>2];v[e+232>>2]=v[b+8>>2];v[e+236>>2]=v[b+12>>2];v[e+240>>2]=v[b+16>>2];v[e+244>>2]=v[b+20>>2];v[e+248>>2]=v[b+24>>2];v[e+252>>2]=v[b+28>>2];b=(B(v[y+156>>2],342)+a|0)+2092|0;d=(B(v[y+140>>2],342)+a|0)+724|0;o:{if(v[a+8>>2]){f=d;i=b;d=0;h=0;p:{q:{r:{b=v[a+172>>2];s:{if(b){break s}t:{if(!v[a+180>>2]){k=dE(a,f);if((k|0)==9999){break p}u:{if((k|0)<1){b=0;break u}b=v[a+3524>>2];f=0;while(1){c=a;v:{if(b){d=v[a+3520>>2];b=b-1|0;break v}w:{b=v[a+4>>2];d=Ub[v[v[b>>2]+28>>2]](b)|0;if((d|0)!=255){if((d|0)!=-1){break w}break q}while(1){b=v[a+4>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==255){continue}break}if(!b){break w}break r}v[a+3520>>2]=d;b=7}v[c+3524>>2]=b;f=d>>>b&1|f<<1;h=h+1|0;if((k|0)!=(h|0)){continue}break}d=0;b=(1<(f|0)?(-1<>2]+b|0;v[z>>2]=b;break t}b=a;d=v[a+3524>>2];x:{if(d){f=v[a+3520>>2];d=d-1|0;break x}d=v[a+4>>2];f=Ub[v[v[d>>2]+28>>2]](d)|0;if((f|0)==-1){b=1;break t}y:{if((f|0)!=255){break y}while(1){d=v[a+4>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((d|0)==255){continue}break}if(!d){break y}b=1;kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,273732,0);break t}v[a+3520>>2]=f;d=7}v[b+3524>>2]=d;b=1;if(!(f>>>d&1)){break s}}v[e>>2]=v[e>>2]+(b<>2]);b=1}d=1;c=v[a+176>>2];if(!c){break p}z:{f=v[a+3516>>2];if((f|0)>0){break z}if((b|0)>(c|0)){break p}while(1){A:{B:{o=dE(a,i);if((o|0)!=240){if((o|0)!=9999){break B}break q}k=0;d=b;f=v[a+176>>2];if((f|0)<(b|0)){break A}while(1){f=e+(v[(d<<2)+967440>>2]<<2)|0;C:{if(!v[f>>2]){k=k+1|0;break C}b=a;c=v[a+3524>>2];D:{if(c){h=v[a+3520>>2];c=c-1|0;break D}E:{c=v[a+4>>2];h=Ub[v[v[c>>2]+28>>2]](c)|0;if((h|0)!=255){if((h|0)!=-1){break E}break q}while(1){c=v[a+4>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;if((c|0)==255){continue}break}if(!c){break E}break r}v[a+3520>>2]=h;c=7}v[b+3524>>2]=c;if(!(h>>>c&1)){break C}b=v[a+184>>2];c=v[f>>2];if((c|0)>=0){v[f>>2]=c+(1<>2]=c+(-1<>2];if((k|0)>15){break A}c=(d|0)>=(f|0);d=b;if(!c){continue}break}break A}s=o&15;if(!s){f=0;v[a+3516>>2]=0;c=o>>4;if((o|0)>=16){o=(c|0)>1?c:1;d=v[a+3524>>2];h=0;while(1){i=a;F:{if(d){k=v[a+3520>>2];d=d-1|0;break F}G:{d=v[a+4>>2];k=Ub[v[v[d>>2]+28>>2]](d)|0;if((k|0)!=255){if((k|0)!=-1){break G}break q}while(1){d=v[a+4>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((d|0)==255){continue}break}if(!d){break G}break r}v[a+3520>>2]=k;f=v[a+3516>>2];d=7}v[i+3524>>2]=d;f=k>>>d&1|f<<1;v[a+3516>>2]=f;h=h+1|0;if((o|0)!=(h|0)){continue}break}}d=(1<>2]=d;f=a;if(v[a+176>>2]>=(b|0)){while(1){d=b;c=e+(v[(b<<2)+967440>>2]<<2)|0;H:{if(!v[c>>2]){break H}b=a;i=v[a+3524>>2];I:{if(i){k=v[a+3520>>2];i=i-1|0;break I}J:{i=v[a+4>>2];k=Ub[v[v[i>>2]+28>>2]](i)|0;if((k|0)!=255){if((k|0)!=-1){break J}break q}while(1){i=v[a+4>>2];i=Ub[v[v[i>>2]+28>>2]](i)|0;if((i|0)==255){continue}break}if(!i){break J}break r}v[a+3520>>2]=k;i=7}v[b+3524>>2]=i;if(!(k>>>i&1)){break H}b=v[c>>2];v[c>>2]=(((b|0)>-1?1:-1)<>2])+b}b=d+1|0;if((d|0)>2]){continue}break}d=v[a+3516>>2]}v[f+3516>>2]=d-1;d=1;break p}d=v[a+3524>>2];h=0;k=0;while(1){c=a;K:{if(d){f=v[a+3520>>2];d=d-1|0;break K}L:{d=v[a+4>>2];f=Ub[v[v[d>>2]+28>>2]](d)|0;if((f|0)!=255){if((f|0)!=-1){break L}break q}while(1){d=v[a+4>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((d|0)==255){continue}break}if(!d){break L}break r}v[a+3520>>2]=f;d=7}v[c+3524>>2]=d;k=f>>>d&1|k<<1;h=h+1|0;if((s|0)!=(h|0)){continue}break}d=0;s=(1<(k|0)?-1<>>4&15;h=0;o=0;f=v[a+176>>2];M:{if((f|0)<(b|0)){break M}while(1){d=b+1|0;o=v[(b<<2)+967440>>2];k=e+(o<<2)|0;N:{if(!v[k>>2]){b=d;break N}c=(b|0)>=(f|0);b=d;if(c){break N}while(1){b=a;c=v[a+3524>>2];O:{if(c){f=v[a+3520>>2];c=c-1|0;break O}P:{f=v[a+4>>2];f=Ub[v[v[f>>2]+28>>2]](f)|0;if((f|0)!=255){if((f|0)!=-1){break P}break q}while(1){c=v[a+4>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;if((c|0)==255){continue}break}if(!c){break P}break r}v[a+3520>>2]=f;c=7}v[b+3524>>2]=c;if(f>>>c&1){b=v[k>>2];v[k>>2]=(((b|0)>-1?1:-1)<>2])+b}b=d+1|0;f=v[a+176>>2];o=v[(d<<2)+967440>>2];k=e+(o<<2)|0;if(!v[k>>2]){break N}c=(d|0)<(f|0);d=b;if(c){continue}break}}if(h>>>0>=I>>>0){break M}h=h+1|0;if((b|0)<=(f|0)){continue}break}}v[e+(o<<2)>>2]=s<>2];f=v[a+176>>2]}d=1;if((b|0)<=(f|0)){continue}break}break p}i=a;if((b|0)<=(c|0)){while(1){d=b;c=e+(v[(b<<2)+967440>>2]<<2)|0;Q:{if(!v[c>>2]){break Q}b=a;f=v[a+3524>>2];R:{if(f){k=v[a+3520>>2];f=f-1|0;break R}S:{f=v[a+4>>2];k=Ub[v[v[f>>2]+28>>2]](f)|0;if((k|0)!=255){if((k|0)!=-1){break S}break q}while(1){f=v[a+4>>2];f=Ub[v[v[f>>2]+28>>2]](f)|0;if((f|0)==255){continue}break}if(!f){break S}break r}v[a+3520>>2]=k;f=7}v[b+3524>>2]=f;if(!(k>>>f&1)){break Q}b=v[c>>2];v[c>>2]=(((b|0)>-1?1:-1)<>2])+b}b=d+1|0;if((d|0)>2]){continue}break}f=v[a+3516>>2]}v[i+3516>>2]=f-1;d=1;break p}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,273732,0)}d=0}if(d){break o}break f}if(!PR(a,d,b,z,e)){break f}}b=v[D>>2]+(F+B(E,v[a+32>>2])<<2)|0;v[b>>2]=v[e>>2];v[b+4>>2]=v[e+4>>2];v[b+8>>2]=v[e+8>>2];v[b+12>>2]=v[e+12>>2];v[b+16>>2]=v[e+16>>2];v[b+20>>2]=v[e+20>>2];v[b+24>>2]=v[e+24>>2];v[b+28>>2]=v[e+28>>2];b=b+(B(r,v[a+32>>2])<<2)|0;v[b>>2]=v[e+32>>2];v[b+4>>2]=v[e+36>>2];v[b+8>>2]=v[e+40>>2];v[b+12>>2]=v[e+44>>2];v[b+16>>2]=v[e+48>>2];v[b+20>>2]=v[e+52>>2];v[b+24>>2]=v[e+56>>2];v[b+28>>2]=v[e+60>>2];b=b+(B(r,v[a+32>>2])<<2)|0;v[b>>2]=v[e+64>>2];v[b+4>>2]=v[e+68>>2];v[b+8>>2]=v[e+72>>2];v[b+12>>2]=v[e+76>>2];v[b+16>>2]=v[e+80>>2];v[b+20>>2]=v[e+84>>2];v[b+24>>2]=v[e+88>>2];v[b+28>>2]=v[e+92>>2];b=b+(B(r,v[a+32>>2])<<2)|0;v[b>>2]=v[e+96>>2];v[b+4>>2]=v[e+100>>2];v[b+8>>2]=v[e+104>>2];v[b+12>>2]=v[e+108>>2];v[b+16>>2]=v[e+112>>2];v[b+20>>2]=v[e+116>>2];v[b+24>>2]=v[e+120>>2];v[b+28>>2]=v[e+124>>2];b=b+(B(r,v[a+32>>2])<<2)|0;v[b>>2]=v[e+128>>2];v[b+4>>2]=v[e+132>>2];v[b+8>>2]=v[e+136>>2];v[b+12>>2]=v[e+140>>2];v[b+16>>2]=v[e+144>>2];v[b+20>>2]=v[e+148>>2];v[b+24>>2]=v[e+152>>2];v[b+28>>2]=v[e+156>>2];b=b+(B(r,v[a+32>>2])<<2)|0;v[b>>2]=v[e+160>>2];v[b+4>>2]=v[e+164>>2];v[b+8>>2]=v[e+168>>2];v[b+12>>2]=v[e+172>>2];v[b+16>>2]=v[e+176>>2];v[b+20>>2]=v[e+180>>2];v[b+24>>2]=v[e+184>>2];v[b+28>>2]=v[e+188>>2];b=b+(B(r,v[a+32>>2])<<2)|0;v[b>>2]=v[e+192>>2];v[b+4>>2]=v[e+196>>2];v[b+8>>2]=v[e+200>>2];v[b+12>>2]=v[e+204>>2];v[b+16>>2]=v[e+208>>2];v[b+20>>2]=v[e+212>>2];v[b+24>>2]=v[e+216>>2];v[b+28>>2]=v[e+220>>2];b=b+(B(r,v[a+32>>2])<<2)|0;v[b>>2]=v[e+224>>2];v[b+4>>2]=v[e+228>>2];v[b+8>>2]=v[e+232>>2];v[b+12>>2]=v[e+236>>2];v[b+16>>2]=v[e+240>>2];v[b+20>>2]=v[e+244>>2];v[b+24>>2]=v[e+248>>2];v[b+28>>2]=v[e+252>>2];q=q+H|0;if((g|0)>(q|0)){continue}break}m=m+C|0;if((t|0)>(m|0)){continue}break}d=v[a+188>>2]}n=n+1|0;if((n|0)<(d|0)){continue}break}f=v[a+3508>>2]}f=f-1|0;v[j+3508>>2]=f;b=v[a+16>>2];u=g+u|0;if((b|0)>(u|0)){continue}break}n=v[a+20>>2]}x=t+x|0;if((x|0)<(n|0)){continue}break}break f}f=221039}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,f,0)}Qb=e+256|0;if(fE(a,0)){b=v[a+188>>2];continue}break}c=Qb-320|0;Qb=c;j=a;g=v[a+36>>2];T:{if((g|0)<1){break T}h=v[j+32>>2];if((h|0)<1){break T}while(1){p=0;if((h|0)>=1){while(1){a=v[j+188>>2];if((a|0)>=1){g=v[j+28>>2];h=v[j+24>>2];o=0;while(1){d=j+B(o,20)|0;r=(g|0)/v[d+48>>2]|0;e=(r|0)/8|0;q=(h|0)/v[d+44>>2]|0;b=(q|0)/8|0;if(!((g|0)<1|(h|0)<1)){a=q&-8;f=r&-8;D=(a|0)==16&(f|0)==16;E=(a|0)==8&(f|0)==8;x=(j+(o<<2)|0)+3480|0;G=(j+(v[d+52>>2]<<7)|0)+208|0;H=(r|0)<8|(q|0)<8;d=b&-4;f=b&3;C=b-1|0;F=B(b,7);I=B(b,6);J=B(b,5);y=b<<2;K=B(b,3);L=b<<1;t=0;while(1){if((h|0)>=1){z=t+A|0;u=0;while(1){g=p+u|0;b=v[j+32>>2];a=v[x>>2]+(g+B(b,z)<<2)|0;v[c+64>>2]=v[a>>2];v[c+68>>2]=v[a+4>>2];v[c+72>>2]=v[a+8>>2];v[c+76>>2]=v[a+12>>2];v[c+80>>2]=v[a+16>>2];v[c+84>>2]=v[a+20>>2];v[c+88>>2]=v[a+24>>2];v[c+92>>2]=v[a+28>>2];b=B(b,e)<<2;a=b+a|0;v[c+96>>2]=v[a>>2];v[c+100>>2]=v[a+4>>2];v[c+104>>2]=v[a+8>>2];v[c+108>>2]=v[a+12>>2];v[c+112>>2]=v[a+16>>2];v[c+116>>2]=v[a+20>>2];v[c+120>>2]=v[a+24>>2];v[c+124>>2]=v[a+28>>2];a=a+b|0;v[c+128>>2]=v[a>>2];v[c+132>>2]=v[a+4>>2];v[c+136>>2]=v[a+8>>2];v[c+140>>2]=v[a+12>>2];v[c+144>>2]=v[a+16>>2];v[c+148>>2]=v[a+20>>2];v[c+152>>2]=v[a+24>>2];v[c+156>>2]=v[a+28>>2];a=a+b|0;v[c+160>>2]=v[a>>2];v[c+164>>2]=v[a+4>>2];v[c+168>>2]=v[a+8>>2];v[c+172>>2]=v[a+12>>2];v[c+176>>2]=v[a+16>>2];v[c+180>>2]=v[a+20>>2];v[c+184>>2]=v[a+24>>2];v[c+188>>2]=v[a+28>>2];a=a+b|0;v[c+192>>2]=v[a>>2];v[c+196>>2]=v[a+4>>2];v[c+200>>2]=v[a+8>>2];v[c+204>>2]=v[a+12>>2];v[c+208>>2]=v[a+16>>2];v[c+212>>2]=v[a+20>>2];v[c+216>>2]=v[a+24>>2];v[c+220>>2]=v[a+28>>2];a=a+b|0;v[c+224>>2]=v[a>>2];v[c+228>>2]=v[a+4>>2];v[c+232>>2]=v[a+8>>2];v[c+236>>2]=v[a+12>>2];v[c+240>>2]=v[a+16>>2];v[c+244>>2]=v[a+20>>2];v[c+248>>2]=v[a+24>>2];v[c+252>>2]=v[a+28>>2];a=a+b|0;v[c+256>>2]=v[a>>2];v[c+260>>2]=v[a+4>>2];v[c+264>>2]=v[a+8>>2];v[c+268>>2]=v[a+12>>2];v[c+272>>2]=v[a+16>>2];v[c+276>>2]=v[a+20>>2];v[c+280>>2]=v[a+24>>2];v[c+284>>2]=v[a+28>>2];a=a+b|0;v[c+288>>2]=v[a>>2];v[c+292>>2]=v[a+4>>2];v[c+296>>2]=v[a+8>>2];v[c+300>>2]=v[a+12>>2];v[c+304>>2]=v[a+16>>2];v[c+308>>2]=v[a+20>>2];v[c+312>>2]=v[a+24>>2];v[c+316>>2]=v[a+28>>2];OR(G,c- -64|0,c);a=v[j+32>>2];i=v[x>>2]+(g+B(a,z)<<2)|0;U:{if(E){v[i>>2]=w[c|0];v[i+4>>2]=w[c+1|0];v[i+8>>2]=w[c+2|0];v[i+12>>2]=w[c+3|0];v[i+16>>2]=w[c+4|0];v[i+20>>2]=w[c+5|0];v[i+24>>2]=w[c+6|0];v[i+28>>2]=w[c+7|0];a=(v[j+32>>2]<<2)+i|0;v[a>>2]=w[c+8|0];v[a+4>>2]=w[c+9|0];v[a+8>>2]=w[c+10|0];v[a+12>>2]=w[c+11|0];v[a+16>>2]=w[c+12|0];v[a+20>>2]=w[c+13|0];v[a+24>>2]=w[c+14|0];v[a+28>>2]=w[c+15|0];a=a+(v[j+32>>2]<<2)|0;v[a>>2]=w[c+16|0];v[a+4>>2]=w[c+17|0];v[a+8>>2]=w[c+18|0];v[a+12>>2]=w[c+19|0];v[a+16>>2]=w[c+20|0];v[a+20>>2]=w[c+21|0];v[a+24>>2]=w[c+22|0];v[a+28>>2]=w[c+23|0];a=a+(v[j+32>>2]<<2)|0;v[a>>2]=w[c+24|0];v[a+4>>2]=w[c+25|0];v[a+8>>2]=w[c+26|0];v[a+12>>2]=w[c+27|0];v[a+16>>2]=w[c+28|0];v[a+20>>2]=w[c+29|0];v[a+24>>2]=w[c+30|0];v[a+28>>2]=w[c+31|0];a=a+(v[j+32>>2]<<2)|0;v[a>>2]=w[c+32|0];v[a+4>>2]=w[c+33|0];v[a+8>>2]=w[c+34|0];v[a+12>>2]=w[c+35|0];v[a+16>>2]=w[c+36|0];v[a+20>>2]=w[c+37|0];v[a+24>>2]=w[c+38|0];v[a+28>>2]=w[c+39|0];a=a+(v[j+32>>2]<<2)|0;v[a>>2]=w[c+40|0];v[a+4>>2]=w[c+41|0];v[a+8>>2]=w[c+42|0];v[a+12>>2]=w[c+43|0];v[a+16>>2]=w[c+44|0];v[a+20>>2]=w[c+45|0];v[a+24>>2]=w[c+46|0];v[a+28>>2]=w[c+47|0];a=a+(v[j+32>>2]<<2)|0;v[a>>2]=w[c+48|0];v[a+4>>2]=w[c+49|0];v[a+8>>2]=w[c+50|0];v[a+12>>2]=w[c+51|0];v[a+16>>2]=w[c+52|0];v[a+20>>2]=w[c+53|0];v[a+24>>2]=w[c+54|0];v[a+28>>2]=w[c+55|0];a=a+(v[j+32>>2]<<2)|0;v[a>>2]=w[c+56|0];v[a+4>>2]=w[c+57|0];v[a+8>>2]=w[c+58|0];v[a+12>>2]=w[c+59|0];v[a+16>>2]=w[c+60|0];v[a+20>>2]=w[c+61|0];v[a+24>>2]=w[c+62|0];v[a+28>>2]=w[c+63|0];break U}if(!D){k=0;s=0;if(H){break U}while(1){l=c+k|0;g=i;m=0;while(1){h=0;a=d;n=C>>>0<3;if(!n){while(1){b=h<<2;v[b+g>>2]=w[l|0];v[(b|4)+g>>2]=w[l|0];v[(b|8)+g>>2]=w[l|0];v[(b|12)+g>>2]=w[l|0];h=h+4|0;a=a-4|0;if(a){continue}break}}b=f;if(b){while(1){v[(h<<2)+g>>2]=w[l|0];h=h+1|0;b=b-1|0;if(b){continue}break}}g=(v[j+32>>2]<<2)+g|0;m=m+1|0;if((e|0)!=(m|0)){continue}break}g=i+y|0;l=c+(k|1)|0;m=0;while(1){h=0;a=d;if(!n){while(1){b=h<<2;v[b+g>>2]=w[l|0];v[(b|4)+g>>2]=w[l|0];v[(b|8)+g>>2]=w[l|0];v[(b|12)+g>>2]=w[l|0];h=h+4|0;a=a-4|0;if(a){continue}break}}b=f;if(b){while(1){v[(h<<2)+g>>2]=w[l|0];h=h+1|0;b=b-1|0;if(b){continue}break}}g=(v[j+32>>2]<<2)+g|0;m=m+1|0;if((e|0)!=(m|0)){continue}break}g=(L<<2)+i|0;l=c+(k|2)|0;m=0;while(1){h=0;a=d;if(!n){while(1){b=h<<2;v[b+g>>2]=w[l|0];v[(b|4)+g>>2]=w[l|0];v[(b|8)+g>>2]=w[l|0];v[(b|12)+g>>2]=w[l|0];h=h+4|0;a=a-4|0;if(a){continue}break}}b=f;if(b){while(1){v[(h<<2)+g>>2]=w[l|0];h=h+1|0;b=b-1|0;if(b){continue}break}}g=(v[j+32>>2]<<2)+g|0;m=m+1|0;if((e|0)!=(m|0)){continue}break}g=(K<<2)+i|0;l=c+(k|3)|0;m=0;while(1){h=0;a=d;if(!n){while(1){b=h<<2;v[b+g>>2]=w[l|0];v[(b|4)+g>>2]=w[l|0];v[(b|8)+g>>2]=w[l|0];v[(b|12)+g>>2]=w[l|0];h=h+4|0;a=a-4|0;if(a){continue}break}}b=f;if(b){while(1){v[(h<<2)+g>>2]=w[l|0];h=h+1|0;b=b-1|0;if(b){continue}break}}g=(v[j+32>>2]<<2)+g|0;m=m+1|0;if((e|0)!=(m|0)){continue}break}g=(y<<2)+i|0;l=c+(k|4)|0;m=0;while(1){h=0;a=d;if(!n){while(1){b=h<<2;v[b+g>>2]=w[l|0];v[(b|4)+g>>2]=w[l|0];v[(b|8)+g>>2]=w[l|0];v[(b|12)+g>>2]=w[l|0];h=h+4|0;a=a-4|0;if(a){continue}break}}b=f;if(b){while(1){v[(h<<2)+g>>2]=w[l|0];h=h+1|0;b=b-1|0;if(b){continue}break}}g=(v[j+32>>2]<<2)+g|0;m=m+1|0;if((e|0)!=(m|0)){continue}break}g=(J<<2)+i|0;l=c+(k|5)|0;m=0;while(1){h=0;a=d;if(!n){while(1){b=h<<2;v[b+g>>2]=w[l|0];v[(b|4)+g>>2]=w[l|0];v[(b|8)+g>>2]=w[l|0];v[(b|12)+g>>2]=w[l|0];h=h+4|0;a=a-4|0;if(a){continue}break}}b=f;if(b){while(1){v[(h<<2)+g>>2]=w[l|0];h=h+1|0;b=b-1|0;if(b){continue}break}}g=(v[j+32>>2]<<2)+g|0;m=m+1|0;if((e|0)!=(m|0)){continue}break}g=(I<<2)+i|0;l=c+(k|6)|0;m=0;while(1){h=0;a=d;if(!n){while(1){b=h<<2;v[b+g>>2]=w[l|0];v[(b|4)+g>>2]=w[l|0];v[(b|8)+g>>2]=w[l|0];v[(b|12)+g>>2]=w[l|0];h=h+4|0;a=a-4|0;if(a){continue}break}}b=f;if(b){while(1){v[(h<<2)+g>>2]=w[l|0];h=h+1|0;b=b-1|0;if(b){continue}break}}g=(v[j+32>>2]<<2)+g|0;m=m+1|0;if((e|0)!=(m|0)){continue}break}g=(F<<2)+i|0;l=c+(k|7)|0;m=0;while(1){h=0;a=d;if(!n){while(1){b=h<<2;v[b+g>>2]=w[l|0];v[(b|4)+g>>2]=w[l|0];v[(b|8)+g>>2]=w[l|0];v[(b|12)+g>>2]=w[l|0];h=h+4|0;a=a-4|0;if(a){continue}break}}b=f;if(b){while(1){v[(h<<2)+g>>2]=w[l|0];h=h+1|0;b=b-1|0;if(b){continue}break}}a=v[j+32>>2];g=(a<<2)+g|0;m=m+1|0;if((e|0)!=(m|0)){continue}break}k=k+8|0;i=(B(a,e)<<2)+i|0;s=s+1|0;if((s|0)!=8){continue}break}break U}h=(a<<2)+i|0;g=0;b=0;while(1){a=w[c+g|0];v[h>>2]=a;v[h+4>>2]=a;v[i>>2]=a;v[i+4>>2]=a;a=w[c+(g|1)|0];v[h+8>>2]=a;v[h+12>>2]=a;v[i+8>>2]=a;v[i+12>>2]=a;a=w[c+(g|2)|0];v[h+16>>2]=a;v[h+20>>2]=a;v[i+16>>2]=a;v[i+20>>2]=a;a=w[c+(g|3)|0];v[h+24>>2]=a;v[h+28>>2]=a;v[i+24>>2]=a;v[i+28>>2]=a;a=w[c+(g|4)|0];v[h+32>>2]=a;v[h+36>>2]=a;v[i+32>>2]=a;v[i+36>>2]=a;a=w[c+(g|5)|0];v[h+40>>2]=a;v[h+44>>2]=a;v[i+40>>2]=a;v[i+44>>2]=a;a=w[c+(g|6)|0];v[h+48>>2]=a;v[h+52>>2]=a;v[i+48>>2]=a;v[i+52>>2]=a;a=w[c+(g|7)|0];v[h+56>>2]=a;v[h+60>>2]=a;v[i+56>>2]=a;v[i+60>>2]=a;g=g+8|0;a=v[j+32>>2]<<3;h=a+h|0;i=a+i|0;a=b>>>0<14;b=b+2|0;if(a){continue}break}}h=v[j+24>>2];u=q+u|0;if((h|0)>(u|0)){continue}break}g=v[j+28>>2]}t=r+t|0;if((t|0)<(g|0)){continue}break}a=v[j+188>>2]}o=o+1|0;if((o|0)<(a|0)){continue}break}}V:{if(!v[j+192>>2]){break V}W:{switch(a-3|0){case 1:h=v[j+28>>2];if((h|0)<1){break V}b=v[j+24>>2];if((b|0)<=0){break V}f=v[j+3488>>2];i=v[j+3484>>2];e=v[j+3480>>2];d=0;while(1){if((b|0)>=1){a=B(v[j+32>>2],d+A|0)+p<<2;h=a+e|0;g=a+i|0;m=a+f|0;a=0;while(1){k=v[g>>2];b=v[h>>2]<<16|32768;n=v[m>>2]-128|0;v[h>>2]=w[((b+B(n,91881)>>>16|0)+384&1023)+1177328|0]^255;k=k-128|0;v[g>>2]=w[(((b+B(k,-22553)|0)+B(n,-46802)>>>16|0)+384&1023)+1177328|0]^255;v[m>>2]=w[((b+B(k,116130)>>>16|0)+384&1023)+1177328|0]^255;m=m+4|0;g=g+4|0;h=h+4|0;a=a+1|0;b=v[j+24>>2];if((a|0)<(b|0)){continue}break}h=v[j+28>>2]}d=d+1|0;if((h|0)>(d|0)){continue}break};break V;case 0:break W;default:break V}}h=v[j+28>>2];if((h|0)<1){break V}f=v[j+3488>>2];i=v[j+3484>>2];e=v[j+3480>>2];b=v[j+24>>2];d=0;while(1){if((b|0)>=1){a=B(v[j+32>>2],d+A|0)+p<<2;h=a+e|0;g=a+i|0;m=a+f|0;a=0;while(1){k=v[g>>2];b=v[h>>2]<<16|32768;n=v[m>>2]-128|0;v[h>>2]=w[((b+B(n,91881)>>>16|0)+384&1023)+1177328|0];k=k-128|0;v[g>>2]=w[(((b+B(k,-22553)|0)+B(n,-46802)>>>16|0)+384&1023)+1177328|0];v[m>>2]=w[((b+B(k,116130)>>>16|0)+384&1023)+1177328|0];m=m+4|0;g=g+4|0;h=h+4|0;a=a+1|0;b=v[j+24>>2];if((a|0)<(b|0)){continue}break}h=v[j+28>>2]}d=d+1|0;if((h|0)>(d|0)){continue}break}}h=v[j+32>>2];p=v[j+24>>2]+p|0;if((h|0)>(p|0)){continue}break}g=v[j+36>>2]}A=v[j+28>>2]+A|0;if((A|0)<(g|0)){continue}break}}Qb=c+320|0;v[j+3504>>2]=0;v[j+3496>>2]=0;v[j+3500>>2]=0;return}if(v[a+136>>2]!=(b|0)){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,258116,0);v[a+3504>>2]=v[a+20>>2];return}d=(f+v[a+16>>2]|0)-1|0;d=d-((d|0)%(f|0)|0)|0;v[a+32>>2]=d;b=ed(B(b,g),d);v[a+3476>>2]=b;v[a+3468>>2]=b;v[a+3472>>2]=b;v[a+3524>>2]=0;v[a+3512>>2]=208;v[a+3508>>2]=v[a+204>>2];v[a+3504>>2]=0-v[a+28>>2];b=v[a+188>>2];X:{if((b|0)<1){break X}f=b&7;d=0;if(b-1>>>0>=7){b=b&-8;g=a+40|0;while(1){v[(g+B(d,20)|0)+16>>2]=0;v[(g+B(d|1,20)|0)+16>>2]=0;v[(g+B(d|2,20)|0)+16>>2]=0;v[(g+B(d|3,20)|0)+16>>2]=0;v[(g+B(d|4,20)|0)+16>>2]=0;v[(g+B(d|5,20)|0)+16>>2]=0;v[(g+B(d|6,20)|0)+16>>2]=0;v[(g+B(d|7,20)|0)+16>>2]=0;d=d+8|0;b=b-8|0;if(b){continue}break}}if(!f){break X}while(1){v[(B(d,20)+a|0)+56>>2]=0;d=d+1|0;f=f-1|0;if(f){continue}break}}v[a+3516>>2]=0;return}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,258052,0);v[a+3504>>2]=v[a+20>>2]}function Mj(a,b){var 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,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;s=Qb-16|0;Qb=s;E=-2;a:{if(!v[a+36>>2]|(!a|!v[a+32>>2])){break a}f=v[a+28>>2];if(!f|v[f>>2]!=(a|0)){break a}g=v[f+4>>2];if(g-16180>>>0>31){break a}o=v[a+12>>2];if(!o){break a}e=v[a>>2];if(!(v[a+4>>2]?e:1)){break a}if((g|0)==16191){v[f+4>>2]=16192;g=16192}S=b-5|0;T=f+92|0;H=f+756|0;J=f+116|0;K=f+88|0;I=f+112|0;F=f+1332|0;d=v[f+64>>2];L=v[a+4>>2];h=L;j=v[f+60>>2];p=v[a+16>>2];C=p;b:{c:{d:while(1){e:{c=-3;k=1;f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{V:{W:{X:{Y:{Z:{_:{$:{aa:{ba:{ca:{da:{ea:{fa:{ga:{ha:{ia:{ja:{ka:{la:{ma:{switch(g-16180|0){case 23:l=v[f+76>>2];c=e;g=h;break t;case 21:k=v[f+76>>2];break v;case 18:g=v[f+108>>2];break E;case 27:g=v[f+12>>2];break f;case 16:if(d>>>0>=14){break H}if(!h){break e}g=d+8|0;c=e+1|0;k=h-1|0;j=(w[e|0]<>>0<6){break ja}e=c;h=k;d=g;break H;case 9:if(d>>>0>=32){break L}if(!h){break e}c=e+1|0;g=h-1|0;j=(w[e|0]<>>0<24){break ha}e=c;h=g;break L;case 1:if(d>>>0>=16){break _}if(!h){break e}g=d+8|0;c=e+1|0;k=h-1|0;j=(w[e|0]<>>0<8){break ga}e=c;h=k;d=g;break _;case 0:l=v[f+12>>2];if(!l){break la}if(d>>>0>=16){g=j;break M}if(!h){break e}k=d+8|0;c=e+1|0;i=h-1|0;g=(w[e|0]<>>0<8){break fa}e=c;h=i;d=k;break M;case 2:if(d>>>0>31){break Y}break Z;case 3:if(d>>>0>15){break W}break X;case 4:c=v[f+20>>2];if(!(c&1024)){g=d;break V}g=j;if(d>>>0>15){break T}break U;case 13:j=j>>>(d&7)|0;d=d&-8;if(d>>>0>31){break ca}if(!h){break e}g=d+8|0;c=e+1|0;k=h-1|0;j=(w[e|0]<>>0<24){break ia}e=c;h=k;d=g;break ca;case 17:g=v[f+108>>2];i=v[f+96>>2];if(g>>>0>=i>>>0){break F}break G;case 25:if(!p){break r}t[o|0]=v[f+68>>2];v[f+4>>2]=16200;p=p-1|0;o=o+1|0;g=v[f+4>>2];continue;case 28:break p;case 24:break s;case 22:break u;case 20:break C;case 19:break D;case 12:break I;case 11:break J;case 10:break K;case 30:break b;case 8:break O;case 7:break P;case 6:break Q;case 5:break R;case 29:break c;case 15:break aa;case 14:break ba;case 26:break ma;default:break a}}g=v[f+12>>2];if(!g){g=0;break da}if(d>>>0>31){break ea}if(!h){break e}k=d+8|0;c=e+1|0;i=h-1|0;j=(w[e|0]<>>0<24){break ka}e=c;h=i;d=k;break ea}v[f+4>>2]=16192;break h}if(!i){e=c;h=0;d=k;c=n;break c}i=d+16|0;c=e+2|0;l=h-2|0;j=(w[e+1|0]<>>0>15){e=c;h=l;d=i;break ea}if(!l){e=c;h=0;d=i;c=n;break c}k=d+24|0;c=e+3|0;l=h-3|0;j=(w[e+2|0]<>>0>7){e=c;h=l;d=k;break ea}if(!l){e=c;h=0;d=k;c=n;break c}d=d+32|0;h=h-4|0;j=(w[e+3|0]<>>0>15){e=c;h=i;d=k;break ca}if(!i){e=c;h=0;d=k;c=n;break c}g=d+24|0;c=e+3|0;i=h-3|0;j=(w[e+2|0]<>>0>15){e=c;h=g;break L}k=d+16|0;if(!g){e=c;h=0;d=k;c=n;break c}c=e+3|0;g=h-3|0;j=(w[e+2|0]<>>0>7){e=c;h=g;break L}d=d+24|0;if(!g){e=c;h=0;c=n;break c}h=h-4|0;j=(w[e+3|0]<>2]=i+v[a+20>>2];v[f+32>>2]=i+v[f+32>>2];k=g&4;if(!(!k|!i)){k=o-i|0;g=v[f+28>>2];c=f;na:{if(v[f+20>>2]){g=Kf(g,k,i);break na}g=$m(g,k,i)}v[c+28>>2]=g;v[a+48>>2]=g;g=v[f+12>>2];k=g&4}if(!(!k|v[f+28>>2]==((v[f+20>>2]?j:j<<8&16711680|j<<24|(j>>>8&65280|j>>>24))|0))){v[a+24>>2]=263355;v[f+4>>2]=16209;C=p;g=v[f+4>>2];continue}j=0;d=0;C=p}v[f+4>>2]=16207;break f}c=j&65535;if((c|0)!=((j^-1)>>>16|0)){v[a+24>>2]=236252;v[f+4>>2]=16209;g=v[f+4>>2];continue}v[f+4>>2]=16194;v[f+68>>2]=c;j=0;d=0;if((b|0)!=6){break ba}break q}v[f+4>>2]=16195}c=v[f+68>>2];if(c){c=c>>>0>h>>>0?h:c;g=c>>>0>p>>>0?p:c;if(!g){break q}c=gc(o,e,g);v[f+68>>2]=v[f+68>>2]-g;o=c+g|0;p=p-g|0;e=e+g|0;h=h-g|0;g=v[f+4>>2];continue}v[f+4>>2]=16191;g=v[f+4>>2];continue}d=d+16|0;h=h-2|0;j=(w[e+1|0]<>2]=j;if((j&255)!=8){v[a+24>>2]=287558;v[f+4>>2]=16209;g=v[f+4>>2];continue}if(j&57344){v[a+24>>2]=233403;v[f+4>>2]=16209;g=v[f+4>>2];continue}c=v[f+36>>2];if(c){v[c>>2]=j>>>8&1}if(!(!(j&512)|!(w[f+12|0]&4))){t[s+12|0]=j;t[s+13|0]=j>>>8;Y=f,Z=Kf(v[f+28>>2],s+12|0,2),v[Y+28>>2]=Z}v[f+4>>2]=16182;d=0;j=0}if(!h){break e}c=e+1|0;g=h-1|0;j=(w[e|0]<>>0>=24){e=c;h=g;break Y}k=d+8|0;if(!g){e=c;h=0;d=k;c=n;break c}c=e+2|0;g=h-2|0;j=(w[e+1|0]<>>0>15){e=c;h=g;break Y}k=d+16|0;if(!g){e=c;h=0;d=k;c=n;break c}c=e+3|0;g=h-3|0;j=(w[e+2|0]<>>0>7){e=c;h=g;break Y}d=d+24|0;if(!g){e=c;h=0;c=n;break c}h=h-4|0;j=(w[e+3|0]<>2];if(c){v[c+4>>2]=j}if(!(!(w[f+21|0]&2)|!(w[f+12|0]&4))){t[s+12|0]=j;t[s+13|0]=j>>>8;t[s+14|0]=j>>>16;t[s+15|0]=j>>>24;Y=f,Z=Kf(v[f+28>>2],s+12|0,4),v[Y+28>>2]=Z}v[f+4>>2]=16183;d=0;j=0}if(!h){break e}c=e+1|0;g=h-1|0;j=(w[e|0]<>>0>=8){e=c;h=g;break W}d=d+8|0;if(!g){e=c;h=0;c=n;break c}h=h-2|0;j=(w[e+1|0]<>2];if(c){v[c+12>>2]=j>>>8;v[c+8>>2]=j&255}if(!(!(w[f+21|0]&2)|!(w[f+12|0]&4))){t[s+12|0]=j;t[s+13|0]=j>>>8;Y=f,Z=Kf(v[f+28>>2],s+12|0,2),v[Y+28>>2]=Z}v[f+4>>2]=16184;g=0;d=0;j=0;c=v[f+20>>2];if(c&1024){break U}}c=v[f+36>>2];if(c){v[c+16>>2]=0}d=g;break S}if(!h){h=0;j=g;c=n;break c}k=e+1|0;i=h-1|0;j=(w[e|0]<>>0>=8){e=k;h=i;break T}d=d+8|0;if(!i){e=k;h=0;c=n;break c}h=h-2|0;j=(w[e+1|0]<>2]=j;d=v[f+36>>2];if(d){v[d+20>>2]=j}d=0;if(!(!(c&512)|!(w[f+12|0]&4))){t[s+12|0]=j;t[s+13|0]=j>>>8;Y=f,Z=Kf(v[f+28>>2],s+12|0,2),v[Y+28>>2]=Z}j=0}v[f+4>>2]=16185}k=v[f+20>>2];if(k&1024){g=v[f+68>>2];l=g>>>0>h>>>0?h:g;if(l){i=v[f+36>>2];oa:{if(!i){break oa}c=v[i+16>>2];if(!c){break oa}g=v[i+20>>2]-g|0;k=g+c|0;c=v[i+24>>2];gc(k,e,c>>>0>>0?c-g|0:l);k=v[f+20>>2]}if(!(!(k&512)|!(w[f+12|0]&4))){Y=f,Z=Kf(v[f+28>>2],e,l),v[Y+28>>2]=Z}g=v[f+68>>2]-l|0;v[f+68>>2]=g;h=h-l|0;e=e+l|0}if(g){break q}}v[f+4>>2]=16186;v[f+68>>2]=0}pa:{if(w[f+21|0]&8){g=0;if(!h){break N}while(1){i=w[e+g|0];k=v[f+36>>2];qa:{if(!k){break qa}c=v[k+28>>2];if(!c){break qa}l=v[k+32>>2];k=v[f+68>>2];if(l>>>0<=k>>>0){break qa}v[f+68>>2]=k+1;t[c+k|0]=i}g=g+1|0;if(h>>>0>g>>>0?i:0){continue}break}if(!(!(w[f+21|0]&2)|!(w[f+12|0]&4))){Y=f,Z=Kf(v[f+28>>2],e,g),v[Y+28>>2]=Z}e=e+g|0;h=h-g|0;if(!i){break pa}break q}c=v[f+36>>2];if(!c){break pa}v[c+28>>2]=0}v[f+4>>2]=16187;v[f+68>>2]=0}ra:{if(w[f+21|0]&16){g=0;if(!h){break N}while(1){i=w[e+g|0];k=v[f+36>>2];sa:{if(!k){break sa}c=v[k+36>>2];if(!c){break sa}l=v[k+40>>2];k=v[f+68>>2];if(l>>>0<=k>>>0){break sa}v[f+68>>2]=k+1;t[c+k|0]=i}g=g+1|0;if(h>>>0>g>>>0?i:0){continue}break}if(!(!(w[f+21|0]&2)|!(w[f+12|0]&4))){Y=f,Z=Kf(v[f+28>>2],e,g),v[Y+28>>2]=Z}e=e+g|0;h=h-g|0;if(!i){break ra}break q}c=v[f+36>>2];if(!c){break ra}v[c+36>>2]=0}v[f+4>>2]=16188}i=v[f+20>>2];if(i&512){ta:{if(d>>>0>15){break ta}if(!h){break e}g=d+8|0;c=e+1|0;k=h-1|0;j=(w[e|0]<>>0>=8){e=c;h=k;d=g;break ta}if(!k){e=c;h=0;d=g;c=n;break c}d=d+16|0;h=h-2|0;j=(w[e+1|0]<>1]==(j|0))){v[a+24>>2]=270191;v[f+4>>2]=16209;g=v[f+4>>2];continue}j=0;d=0}c=v[f+36>>2];if(c){v[c+48>>2]=1;v[c+44>>2]=i>>>9&1}c=Kf(0,0,0);v[f+28>>2]=c;v[a+48>>2]=c;v[f+4>>2]=16191;g=v[f+4>>2];continue}h=0;break q}ua:{va:{if(!(l&2)){if(!(l&5)){break ua}if((g|0)==35615){break va}break ua}if((g|0)!=35615){break ua}}if(!v[f+40>>2]){v[f+40>>2]=15}j=0;c=Kf(0,0,0);v[f+28>>2]=c;t[s+12|0]=g;t[s+13|0]=g>>>8;Y=f,Z=Kf(c,s+12|0,2),v[Y+28>>2]=Z;v[f+4>>2]=16181;d=0;g=v[f+4>>2];continue}v[f+20>>2]=0;c=v[f+36>>2];if(c){v[c+48>>2]=-1}if(!(((g<<8&65280)+(g>>>8|0)>>>0)%31|0?0:l&1)){v[a+24>>2]=263309;v[f+4>>2]=16209;j=g;g=v[f+4>>2];continue}if((g&15)!=8){v[a+24>>2]=287558;v[f+4>>2]=16209;j=g;g=v[f+4>>2];continue}j=g>>>4|0;l=j&15;k=l+8|0;i=l>>>0<=7;c=v[f+40>>2];if(!c){v[f+40>>2]=k;c=k}if(!(c>>>0>=k>>>0&i)){d=d-4|0;v[a+24>>2]=273999;v[f+4>>2]=16209;g=v[f+4>>2];continue}v[f+24>>2]=256<>2]=c;v[a+48>>2]=c;v[f+4>>2]=g&8192?16189:16191;d=0;g=v[f+4>>2];continue}c=j<<8&16711680|j<<24|(j>>>8&65280|j>>>24);v[f+28>>2]=c;v[a+48>>2]=c;v[f+4>>2]=16190;j=0;d=0}if(!v[f+16>>2]){v[a+16>>2]=p;v[a+12>>2]=o;v[a+4>>2]=h;v[a>>2]=e;v[f+64>>2]=d;v[f+60>>2]=j;E=2;break a}c=$m(0,0,0);v[f+28>>2]=c;v[a+48>>2]=c;v[f+4>>2]=16191}if(S>>>0<2){break q}}wa:{xa:{if(!v[f+8>>2]){if(d>>>0<3){break xa}break wa}v[f+4>>2]=16206;j=j>>>(d&7)|0;d=d&-8;g=v[f+4>>2];continue}if(!h){break e}h=h-1|0;j=(w[e|0]<>2]=j&1;g=16193;ya:{za:{Aa:{switch((j>>>1&3)-1|0){case 0:v[f+80>>2]=873456;v[f+88>>2]=9;v[f+92>>2]=5;v[f+84>>2]=875504;v[f+4>>2]=16199;if((b|0)!=6){break ya}d=d-3|0;j=j>>>3|0;c=n;break c;case 1:g=16196;break za;case 2:break Aa;default:break za}}v[a+24>>2]=278973;g=16209}v[f+4>>2]=g}d=d-3|0;j=j>>>3|0;g=v[f+4>>2];continue}g=j&31;v[f+100>>2]=g+257;c=j>>>5&31;v[f+104>>2]=c+1;i=(j>>>10&15)+4|0;v[f+96>>2]=i;d=d-14|0;j=j>>>14|0;if(!(c>>>0<30&g>>>0<=29)){v[a+24>>2]=235744;v[f+4>>2]=16209;g=v[f+4>>2];continue}v[f+4>>2]=16197;g=0;v[f+108>>2]=0}c=g;while(1){if(d>>>0<=2){if(!h){break e}h=h-1|0;j=(w[e|0]<>2]=g;u[((x[(c<<1)+873408>>1]<<1)+f|0)+116>>1]=j&7;d=d-3|0;j=j>>>3|0;c=g;if(i>>>0>c>>>0){continue}break}}if(g>>>0<=18){n=18-g|0;c=3-g&3;if(c){while(1){u[((x[(g<<1)+873408>>1]<<1)+f|0)+116>>1]=0;g=g+1|0;c=c-1|0;if(c){continue}break}}if(n>>>0>=3){while(1){c=f+116|0;n=g<<1;u[c+(x[n+873408>>1]<<1)>>1]=0;u[c+(x[n+873410>>1]<<1)>>1]=0;u[c+(x[n+873412>>1]<<1)>>1]=0;u[c+(x[n+873414>>1]<<1)>>1]=0;g=g+4|0;if((g|0)!=19){continue}break}}v[f+108>>2]=19}v[f+88>>2]=7;v[f+80>>2]=F;v[f+112>>2]=F;g=0;n=fG(0,J,19,I,K,H);if(n){v[a+24>>2]=233378;v[f+4>>2]=16209;g=v[f+4>>2];continue}v[f+4>>2]=16198;v[f+108>>2]=0;n=0}r=v[f+100>>2];B=r+v[f+104>>2]|0;if(B>>>0>g>>>0){q=-1<>2]^-1;A=v[f+80>>2];while(1){l=d;k=h;i=e;z=j&q;m=w[(A+(z<<2)|0)+1|0];Ba:{if(m>>>0<=d>>>0){c=d;break Ba}while(1){if(!k){break B}m=w[i|0]<>>0>c>>>0){continue}break}e=i;h=k}d=x[(A+(z<<2)|0)+2>>1];Ca:{if(d>>>0<=15){k=g+1|0;v[f+108>>2]=k;u[((g<<1)+f|0)+116>>1]=d;d=c-m|0;j=j>>>m|0;g=k;break Ca}Da:{Ea:{Fa:{switch(d-16|0){case 0:d=m+2|0;if(d>>>0>c>>>0){while(1){if(!h){break g}h=h-1|0;j=(w[e|0]<>>0>c>>>0){continue}break}}d=c-m|0;c=j>>>m|0;if(!g){v[a+24>>2]=234114;v[f+4>>2]=16209;j=c;g=v[f+4>>2];continue d}d=d-2|0;j=c>>>2|0;k=(c&3)+3|0;c=x[((g<<1)+f|0)+114>>1];break Da;case 1:d=m+3|0;if(d>>>0>c>>>0){while(1){if(!h){break g}h=h-1|0;j=(w[e|0]<>>0>c>>>0){continue}break}}d=(c-m|0)-3|0;c=j>>>m|0;j=c>>>3|0;k=(c&7)+3|0;break Ea;default:break Fa}}d=m+7|0;if(d>>>0>c>>>0){while(1){if(!h){break g}h=h-1|0;j=(w[e|0]<>>0>c>>>0){continue}break}}d=(c-m|0)-7|0;c=j>>>m|0;j=c>>>7|0;k=(c&127)+11|0}c=0}if(B>>>0>>0){break y}l=k-1|0;i=k&3;if(i){while(1){u[((g<<1)+f|0)+116>>1]=c;g=g+1|0;k=k-1|0;i=i-1|0;if(i){continue}break}}if(l>>>0>=3){while(1){i=(g<<1)+f|0;u[i+118>>1]=c;u[i+116>>1]=c;u[i+120>>1]=c;u[i+122>>1]=c;g=g+4|0;k=k-4|0;if(k){continue}break}}v[f+108>>2]=g}if(g>>>0>>0){continue}break}}if(!x[f+628>>1]){v[a+24>>2]=263092;v[f+4>>2]=16209;g=v[f+4>>2];continue}v[f+88>>2]=9;v[f+80>>2]=F;v[f+112>>2]=F;n=fG(1,J,r,I,K,H);if(n){v[a+24>>2]=233350;v[f+4>>2]=16209;g=v[f+4>>2];continue}v[f+92>>2]=6;v[f+84>>2]=v[f+112>>2];n=fG(2,((v[f+100>>2]<<1)+f|0)+116|0,v[f+104>>2],I,T,H);if(n){v[a+24>>2]=233428;v[f+4>>2]=16209;g=v[f+4>>2];continue}v[f+4>>2]=16199;n=0;if((b|0)!=6){break D}c=0;break c}v[f+4>>2]=16200}if(!(h>>>0<6|p>>>0<258)){v[a+16>>2]=p;v[a+12>>2]=o;v[a+4>>2]=h;v[a>>2]=e;v[f+64>>2]=d;v[f+60>>2]=j;i=v[a+12>>2];e=v[a+16>>2];c=i+e|0;M=c+(C^-1)|0;q=v[a+28>>2];r=v[q+52>>2];U=(c+(r^-1)|0)-C|0;p=r&7;N=v[q+44>>2];V=r+N|0;O=c-257|0;W=(e-C|0)+i|0;g=v[a>>2];P=(g+v[a+4>>2]|0)-5|0;X=-1<>2]^-1;z=-1<>2]^-1;Q=v[q+84>>2];R=v[q+80>>2];h=v[q+64>>2];o=v[q+60>>2];j=v[q+56>>2];A=v[q+48>>2];B=r-1>>>0<7;while(1){if(h>>>0<=14){o=((w[g|0]<>>e|0;e=x[c+2>>1];Ga:{Ha:{Ia:{d=w[c|0];if(!d){break Ia}l=q;Ja:{Ka:{La:{while(1){if(d&16){m=e&65535;e=d&15;Ma:{if(!e){c=g;d=o;break Ma}Na:{if(e>>>0<=h>>>0){d=h;c=g;break Na}d=h+8|0;o=(w[g|0]<>>e|0}if(h>>>0<=14){d=((w[c|0]<>>e|0;e=x[g+2>>1];d=w[g|0];if(d&16){break La}while(1){if(!(d&64)){d=(((-1<>>e|0;e=x[d+2>>1];d=w[d|0];if(!(d&16)){continue}break La}break}m=284326;g=c;break Ka}c=d&255;if(!(c&64)){c=(((-1<>>e|0;e=x[c+2>>1];d=w[c|0];if(!d){break Ia}continue}break}m=284255;e=16191;if(d&32){break Ja}break Ka}G=e&65535;d=d&15;Oa:{if(d>>>0<=h>>>0){e=h;g=c;break Oa}o=(w[c|0]<>>0<=e>>>0){break Oa}o=(w[c+1|0]<>>d|0;Pa:{D=c+G|0;e=i-W|0;if(D>>>0>e>>>0){k=D-e|0;if(!(!v[q+7108>>2]|k>>>0<=A>>>0)){m=263551;break Ka}Qa:{Ra:{if(!r){d=j+(N-k|0)|0;if(k>>>0>=m>>>0){break Qa}l=(G+(c+M|0)|0)-i|0;e=k;c=e&7;if(c){while(1){t[i|0]=w[d|0];e=e-1|0;i=i+1|0;d=d+1|0;c=c-1|0;if(c){continue}break}}if(l>>>0<7){break Ra}while(1){t[i|0]=w[d|0];t[i+1|0]=w[d+1|0];t[i+2|0]=w[d+2|0];t[i+3|0]=w[d+3|0];t[i+4|0]=w[d+4|0];t[i+5|0]=w[d+5|0];t[i+6|0]=w[d+6|0];t[i+7|0]=w[d+7|0];i=i+8|0;d=d+8|0;e=e-8|0;if(e){continue}break}break Ra}if(k>>>0>r>>>0){d=j+(V-k|0)|0;k=k-r|0;if(k>>>0>=m>>>0){break Qa}l=(G+(c+U|0)|0)-i|0;e=k;c=e&7;if(c){while(1){t[i|0]=w[d|0];e=e-1|0;i=i+1|0;d=d+1|0;c=c-1|0;if(c){continue}break}}if(l>>>0>=7){while(1){t[i|0]=w[d|0];t[i+1|0]=w[d+1|0];t[i+2|0]=w[d+2|0];t[i+3|0]=w[d+3|0];t[i+4|0]=w[d+4|0];t[i+5|0]=w[d+5|0];t[i+6|0]=w[d+6|0];t[i+7|0]=w[d+7|0];i=i+8|0;d=d+8|0;e=e-8|0;if(e){continue}break}}m=m-k|0;if(r>>>0>=m>>>0){d=j;break Qa}e=r;d=j;c=p;if(c){while(1){t[i|0]=w[d|0];e=e-1|0;i=i+1|0;d=d+1|0;c=c-1|0;if(c){continue}break}}if(!B){while(1){t[i|0]=w[d|0];t[i+1|0]=w[d+1|0];t[i+2|0]=w[d+2|0];t[i+3|0]=w[d+3|0];t[i+4|0]=w[d+4|0];t[i+5|0]=w[d+5|0];t[i+6|0]=w[d+6|0];t[i+7|0]=w[d+7|0];i=i+8|0;d=d+8|0;e=e-8|0;if(e){continue}break}}d=i-D|0;m=m-r|0;break Qa}d=j+(r-k|0)|0;if(k>>>0>=m>>>0){break Qa}l=(G+(c+M|0)|0)-i|0;e=k;c=e&7;if(c){while(1){t[i|0]=w[d|0];e=e-1|0;i=i+1|0;d=d+1|0;c=c-1|0;if(c){continue}break}}if(l>>>0<7){break Ra}while(1){t[i|0]=w[d|0];t[i+1|0]=w[d+1|0];t[i+2|0]=w[d+2|0];t[i+3|0]=w[d+3|0];t[i+4|0]=w[d+4|0];t[i+5|0]=w[d+5|0];t[i+6|0]=w[d+6|0];t[i+7|0]=w[d+7|0];i=i+8|0;d=d+8|0;e=e-8|0;if(e){continue}break}}d=i-D|0;m=m-k|0}Sa:{if(m>>>0<3){break Sa}c=m-3|0;e=((c>>>0)/3|0)+1&3;if(e){while(1){t[i|0]=w[d|0];t[i+1|0]=w[d+1|0];t[i+2|0]=w[d+2|0];m=m-3|0;i=i+3|0;d=d+3|0;e=e-1|0;if(e){continue}break}}if(c>>>0<9){break Sa}while(1){t[i|0]=w[d|0];t[i+1|0]=w[d+1|0];t[i+2|0]=w[d+2|0];t[i+3|0]=w[d+3|0];t[i+4|0]=w[d+4|0];t[i+5|0]=w[d+5|0];t[i+6|0]=w[d+6|0];t[i+7|0]=w[d+7|0];t[i+8|0]=w[d+8|0];t[i+9|0]=w[d+9|0];t[i+10|0]=w[d+10|0];t[i+11|0]=w[d+11|0];i=i+12|0;d=d+12|0;m=m-12|0;if(m>>>0>2){continue}break}}if(!m){break Ha}t[i|0]=w[d|0];if((m|0)!=1){break Pa}i=i+1|0;break Ha}c=i-D|0;while(1){d=i;e=c;t[d|0]=w[c|0];t[d+1|0]=w[c+1|0];t[d+2|0]=w[c+2|0];i=d+3|0;c=c+3|0;m=m-3|0;if(m>>>0>2){continue}break}if(!m){break Ha}t[d+3|0]=w[c|0];if((m|0)==1){i=d+4|0;break Ha}t[d+4|0]=w[e+4|0];i=d+5|0;break Ha}t[i+1|0]=w[d+1|0];i=i+2|0;break Ha}v[a+24>>2]=m;e=16209}v[l+4>>2]=e;break Ga}t[i|0]=e;i=i+1|0}if(g>>>0>=P>>>0){break Ga}if(i>>>0>>0){continue}}break}v[a+12>>2]=i;e=g-(h>>>3|0)|0;v[a>>2]=e;v[a+16>>2]=(O-i|0)+257;v[a+4>>2]=(P-e|0)+5;e=h&7;v[q+64>>2]=e;v[q+60>>2]=(-1<>2];j=v[f+60>>2];h=v[a+4>>2];e=v[a>>2];p=v[a+16>>2];o=v[a+12>>2];if(v[f+4>>2]!=16191){break h}v[f+7112>>2]=-1;g=v[f+4>>2];continue}v[f+7112>>2]=0;k=d;g=h;c=e;q=v[f+80>>2];r=-1<>2]^-1;m=r&j;l=w[(q+(m<<2)|0)+1|0];Ta:{if(l>>>0<=d>>>0){i=d;break Ta}while(1){if(!g){break z}l=w[c|0]<>>0>i>>>0){continue}break}}e=q+(m<<2)|0;z=x[e+2>>1];k=w[e|0];if(!k|k&240){break x}h=g;e=c;d=i;r=-1<>>l|0)+z|0;m=w[(q+(A<<2)|0)+1|0];Ua:{if(d>>>0>=m+l>>>0){k=i;break Ua}while(1){if(!h){break A}m=w[e|0]<>>l|0)+z|0;m=w[(q+(A<<2)|0)+1|0];if(d>>>0>>0){continue}break}}i=k-l|0;j=j>>>l|0;c=q+(A<<2)|0;k=w[c|0];z=x[c+2>>1];break w}e=e+h|0;d=(h<<3)+d|0;break e}e=c+g|0;d=(g<<3)+i|0;break e}e=e+h|0;d=(h<<3)+d|0;break e}v[a+24>>2]=234114;v[f+4>>2]=16209;g=v[f+4>>2];continue}m=l;l=0;e=c;h=g}v[f+68>>2]=z&65535;v[f+7112>>2]=l+m;d=i-m|0;j=j>>>m|0;if(!k){v[f+4>>2]=16205;g=v[f+4>>2];continue}if(k&32){v[f+4>>2]=16191;v[f+7112>>2]=-1;g=v[f+4>>2];continue}if(k&64){v[a+24>>2]=284255;v[f+4>>2]=16209;g=v[f+4>>2];continue}v[f+4>>2]=16201;k=k&15;v[f+76>>2]=k}i=e;l=h;Va:{if(!k){c=v[f+68>>2];break Va}c=e;g=d;if(d>>>0>>0){while(1){if(!h){break k}h=h-1|0;j=(w[c|0]<>>0>g>>>0){continue}break}}v[f+7112>>2]=v[f+7112>>2]+k;c=v[f+68>>2]+((-1<>2]=c;d=g-k|0;j=j>>>k|0}v[f+4>>2]=16202;v[f+7116>>2]=c}k=d;g=h;c=e;B=v[f+84>>2];r=-1<>2]^-1;m=r&j;l=w[(B+(m<<2)|0)+1|0];Wa:{if(l>>>0<=d>>>0){i=d;break Wa}while(1){if(!g){break l}l=w[c|0]<>>0>i>>>0){continue}break}}e=B+(m<<2)|0;z=x[e+2>>1];r=f;m=w[e|0];Xa:{if(m&240){k=l;e=v[f+7112>>2];break Xa}h=g;e=c;d=i;q=-1<>>l|0)+z|0;k=w[(B+(A<<2)|0)+1|0];Ya:{if(d>>>0>=l+k>>>0){m=i;break Ya}while(1){if(!h){break m}k=w[e|0]<>>l|0)+z|0;k=w[(B+(A<<2)|0)+1|0];if(d>>>0>>0){continue}break}c=e;g=h}i=m-l|0;j=j>>>l|0;e=B+(A<<2)|0;m=w[e|0];z=x[e+2>>1];e=v[f+7112>>2]+l|0}v[r+7112>>2]=e+k;d=i-k|0;j=j>>>k|0;if(m&64){v[a+24>>2]=284326;v[f+4>>2]=16209;e=c;h=g;g=v[f+4>>2];continue}v[f+4>>2]=16203;l=m&15;v[f+76>>2]=l;v[f+72>>2]=z&65535}Za:{if(!l){e=c;h=g;break Za}k=d;h=g;i=c;_a:{if(d>>>0>=l>>>0){e=c;break _a}while(1){if(!h){break n}h=h-1|0;j=(w[i|0]<>>0>k>>>0){continue}break}}v[f+7112>>2]=v[f+7112>>2]+l;v[f+72>>2]=v[f+72>>2]+((-1<>>l|0}v[f+4>>2]=16204}if(p){break o}}p=0}k=n}c=k;break c}g=v[f+72>>2];c=C-p|0;$a:{if(g>>>0>c>>>0){c=g-c|0;if(!(!v[f+7108>>2]|c>>>0<=y[f+48>>2])){v[a+24>>2]=263551;v[f+4>>2]=16209;g=v[f+4>>2];continue}g=v[f+52>>2];ab:{if(g>>>0>>0){c=c-g|0;g=v[f+56>>2]+(v[f+44>>2]-c|0)|0;break ab}g=v[f+56>>2]+(g-c|0)|0}k=v[f+68>>2];c=c>>>0>k>>>0?k:c;break $a}g=o-g|0;k=v[f+68>>2];c=k}i=c>>>0>p>>>0?p:c;v[f+68>>2]=k-i;l=i-1|0;k=i&7;if(!k){break j}c=i;while(1){t[o|0]=w[g|0];c=c-1|0;o=o+1|0;g=g+1|0;k=k-1|0;if(k){continue}break}break i}e=c+g|0;d=(g<<3)+d|0;break e}e=c+g|0;d=(g<<3)+i|0;break e}e=e+h|0;d=(h<<3)+d|0;break e}e=i+l|0;d=(l<<3)+d|0;break e}c=i}if(l>>>0>=7){while(1){t[o|0]=w[g|0];t[o+1|0]=w[g+1|0];t[o+2|0]=w[g+2|0];t[o+3|0]=w[g+3|0];t[o+4|0]=w[g+4|0];t[o+5|0]=w[g+5|0];t[o+6|0]=w[g+6|0];t[o+7|0]=w[g+7|0];o=o+8|0;g=g+8|0;c=c-8|0;if(c){continue}break}}p=p-i|0;if(v[f+68>>2]){break h}v[f+4>>2]=16200;g=v[f+4>>2];continue}g=v[f+4>>2];continue}h=0;d=c;c=n;break c}bb:{c=j;cb:{if(!g){break cb}c=j;if(!v[f+20>>2]){break cb}db:{if(d>>>0>31){break db}if(!h){break e}g=d+8|0;c=e+1|0;k=h-1|0;j=(w[e|0]<>>0>=24){e=c;h=k;d=g;break db}if(!k){e=c;h=0;d=g;c=n;break c}k=d+16|0;c=e+2|0;i=h-2|0;j=(w[e+1|0]<>>0>15){e=c;h=i;d=k;break db}if(!i){e=c;h=0;d=k;c=n;break c}g=d+24|0;c=e+3|0;i=h-3|0;j=(w[e+2|0]<>>0>7){e=c;h=i;d=g;break db}if(!i){e=c;h=0;d=g;c=n;break c}d=d+32|0;h=h-4|0;j=(w[e+3|0]<>2]!=(j|0)){break bb}d=0;c=0}j=c;v[f+4>>2]=16208;c=1;break c}v[a+24>>2]=263332;v[f+4>>2]=16209;g=v[f+4>>2];continue}break}h=0;c=n}v[a+16>>2]=p;v[a+12>>2]=o;v[a+4>>2]=h;v[a>>2]=e;v[f+64>>2]=d;v[f+60>>2]=j;j=a;d=L;eb:{fb:{gb:{if(v[f+44>>2]){break gb}e=h;if((p|0)==(C|0)){break fb}g=v[f+4>>2];e=h;if(g>>>0>16208){break fb}if((b|0)!=4|g>>>0<16206){break gb}e=h;break fb}i=C-p|0;l=v[a+28>>2];n=v[l+56>>2];hb:{if(!n){g=1;n=Ub[v[a+32>>2]](v[a+40>>2],1<>2],1)|0;v[l+56>>2]=n;if(!n){break hb}}h=v[l+44>>2];if(!h){v[l+48>>2]=0;v[l+52>>2]=0;h=1<>2];v[l+44>>2]=h}ib:{if(h>>>0<=i>>>0){gc(n,o-h|0,h);v[l+52>>2]=0;break ib}e=h;h=v[l+52>>2];e=e-h|0;k=e>>>0>i>>>0?i:e;gc(h+n|0,o-i|0,k);e=i-k|0;if(e){gc(v[l+56>>2],o-e|0,e);v[l+52>>2]=e;break ib}g=0;e=k+v[l+52>>2]|0;h=e;e=v[l+44>>2];v[l+52>>2]=(h|0)==(e|0)?0:h;h=e;e=v[l+48>>2];if(h>>>0<=e>>>0){break hb}v[l+48>>2]=e+k;break hb}v[l+48>>2]=v[l+44>>2];g=0}if(g){break eb}p=v[a+16>>2];e=v[a+4>>2]}d=d-e|0;v[j+8>>2]=d+v[a+8>>2];n=C-p|0;v[a+20>>2]=n+v[a+20>>2];v[f+32>>2]=n+v[f+32>>2];if(!(!(w[f+12|0]&4)|!n)){g=v[a+12>>2]-n|0;h=v[f+28>>2];e=f;jb:{if(v[f+20>>2]){h=Kf(h,g,n);break jb}h=$m(h,g,n)}v[e+28>>2]=h;v[a+48>>2]=h}e=a;a=v[f+4>>2];v[e+44>>2]=((v[f+64>>2]+((v[f+8>>2]!=0)<<6)|0)+(((a|0)==16191)<<7)|0)+((a|0)==16199?256:((a|0)==16194)<<8);a=c?c:-5;E=d|n?(b|0)==4?a:c:a;break a}v[f+4>>2]=16210}E=-4}Qb=s+16|0;return E}function Ipa(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;d=Qb-208|0;Qb=d;BD(d+176|0,v[a+8>>2],1);v[299999]=0;e=v[c+24>>2];v[d+172>>2]=c;v[d+168>>2]=e;e=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{if((e|0)!=1){v[d+160>>2]=0;v[d+152>>2]=0;v[d+156>>2]=0;v[d+144>>2]=0;v[d+148>>2]=0;v[d+136>>2]=0;v[d+140>>2]=0;v[299999]=0;m=Q(4475,d+136|0,982916)|0;e=v[299999];v[299999]=0;if((e|0)!=1){g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{if(!v[d+168>>2]){l=d+176|0;h=0;break y}e=v[d+184>>2];v[d+168>>2]=e;l=d+176|0;v[d+172>>2]=l;h=0;if(!e){break y}v[d+128>>2]=e;v[d+132>>2]=d+176;while(1){h=0;z:{A:{B:{f=v[e+8>>2];if(f){v[299999]=0;v[f+4>>2]=v[f+4>>2]+1;h=v[299999];v[299999]=0;if((h|0)==1){break B}h=v[e+8>>2]}v[299999]=0;v[d+96>>2]=h;g=h+36|0;f=Fe(g);e=v[299999];v[299999]=0;if((e|0)==1){break A}v[299999]=0;e=v[v[c+12>>2]+((f>>>0)%y[c+8>>2]<<2)>>2];j=v[299999];v[299999]=0;if((j|0)==1){break A}C:{if(e){while(1){D:{if((f|0)!=v[e+12>>2]){break D}v[299999]=0;j=Y(4541,e+16|0,g|0,-1)|0;i=v[299999];v[299999]=0;if((i|0)==1){break A}if(j){break D}g=1;e=0;break C}e=v[e+8>>2];if(e){continue}break}}v[299999]=0;e=v[h+20>>2];if(!e|!v[e+8>>2]){e=h+36|0}else{e=h+20|0}f=v[299999];v[299999]=0;if((f|0)==1){break A}v[299999]=0;g=e;j=Fe(e);e=v[299999];v[299999]=0;if((e|0)==1){break A}v[299999]=0;e=v[v[c+12>>2]+((j>>>0)%y[c+8>>2]<<2)>>2];f=v[299999];v[299999]=0;if((f|0)==1){break A}f=0;E:{if(!e){break E}while(1){F:{if((j|0)!=v[e+12>>2]){break F}v[299999]=0;i=Y(4541,e+16|0,g|0,-1)|0;k=v[299999];v[299999]=0;if((k|0)==1){break A}if(i){break F}f=e;break E}e=v[e+8>>2];if(e){continue}break}}g=(f|0)!=0;e=!f}if(!h){break z}v[299999]=0;f=v[h+4>>2]-1|0;v[h+4>>2]=f;j=v[299999];v[299999]=0;if((j|0)!=1){if(f){break z}v[299999]=0;R(4338,h|0);h=v[299999];v[299999]=0;if((h|0)!=1){break z}}break a}g=P()|0;O()|0;break c}g=P()|0;O()|0;ec(d+96|0);break c}G:{if(!e){break G}e=v[d+168>>2];if(!e){break G}e=v[e>>2];v[d+168>>2]=e;if(!e){break G}h=v[d+172>>2];v[d+132>>2]=h;v[d+128>>2]=e;if((h|0)!=(d+176|0)){break f}continue}break}h=(g|0)!=0;if(!g){break y}H:{I:{J:{K:{while(1){L:{v[d+120>>2]=0;v[d+112>>2]=0;v[d+116>>2]=0;v[d+104>>2]=0;v[d+108>>2]=0;v[d+96>>2]=0;v[d+100>>2]=0;v[299999]=0;j=Q(4475,d+96|0,982708)|0;e=v[299999];v[299999]=0;M:{N:{O:{P:{if((e|0)!=1){e=v[d+184>>2];v[d+168>>2]=e;v[d+172>>2]=d+176;if(!e){break I}v[d+88>>2]=e;v[d+92>>2]=d+176;while(1){h=d;f=v[e+8>>2];if(f){v[299999]=0;v[f+4>>2]=v[f+4>>2]+1;f=v[299999];v[299999]=0;if((f|0)==1){break L}e=v[e+8>>2]}else{e=0}v[h+56>>2]=e;v[299999]=0;h=v[e+20>>2];if(!h|!v[h+8>>2]){h=e+36|0}else{h=e+20|0}f=v[299999];v[299999]=0;if((f|0)==1){break P}v[299999]=0;h=Q(4560,d+192|0,h|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break P}g=v[d+192>>2];Q:{if(g){f=h;if(v[g+8>>2]){break Q}}f=e+36|0}v[d+80>>2]=0;v[d+84>>2]=v[282402];R:{f=v[f>>2];S:{T:{if(f){g=v[v[f>>2]+28>>2];v[299999]=0;U(g|0,d- -64|0,f|0,1);f=v[299999];v[299999]=0;if((f|0)!=1){break T}g=P()|0;O()|0;break S}v[d+64>>2]=0}v[299999]=0;Q(4344,d+80|0,d- -64|0)|0;f=v[299999];v[299999]=0;if((f|0)!=1){f=v[d+64>>2];v[d+64>>2]=0;if(!f){break R}v[299999]=0;g=v[f+4>>2]-1|0;v[f+4>>2]=g;i=v[299999];v[299999]=0;if((i|0)!=1){if(g){break R}v[299999]=0;R(4338,f|0);f=v[299999];v[299999]=0;if((f|0)!=1){break R}}break a}g=P()|0;O()|0;ec(d- -64|0)}ec(d+80|0);ec(h);break N}f=v[d+80>>2];v[d+84>>2]=v[(f?f+12|0:1129608)>>2];ec(h);v[299999]=0;h=Q(4564,d+96|0,d+80|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break O}v[h+24>>2]=0;ec(d+80|0);v[299999]=0;h=v[e+4>>2]-1|0;v[e+4>>2]=h;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(!h){v[299999]=0;R(4338,e|0);e=v[299999];v[299999]=0;if((e|0)==1){break a}}e=v[d+168>>2];if(!e){break M}e=v[e>>2];v[d+168>>2]=e;if(!e){break M}h=v[d+172>>2];v[d+92>>2]=h;v[d+88>>2]=e;if((h|0)==(d+176|0)){continue}break}break g}g=P()|0;O()|0;break c}g=P()|0;O()|0;break N}g=P()|0;O()|0;ec(d+80|0)}ec(d+56|0);id(j);break c}e=v[d+184>>2];v[d+168>>2]=e;v[d+172>>2]=d+176;if(!e){break H}v[d+72>>2]=e;v[d+76>>2]=d+176;g=0;U:{while(1){h=0;f=v[e+8>>2];if(f){v[299999]=0;v[f+4>>2]=v[f+4>>2]+1;h=v[299999];v[299999]=0;if((h|0)==1){break s}h=v[e+8>>2]}v[299999]=0;f=h;e=v[f+20>>2];V:{if(!(!e|!v[e+8>>2])){e=f+20|0;break V}e=f+36|0}h=v[299999];v[299999]=0;if((h|0)==1){break t}v[299999]=0;e=Q(4560,d+192|0,e|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break t}i=v[d+192>>2];W:{if(i){h=e;if(v[i+8>>2]){break W}}h=f+36|0}v[d+80>>2]=0;v[d+84>>2]=v[282402];X:{h=v[h>>2];Y:{Z:{if(h){i=v[v[h>>2]+28>>2];v[299999]=0;U(i|0,d- -64|0,h|0,1);h=v[299999];v[299999]=0;if((h|0)!=1){break Z}g=P()|0;O()|0;break Y}v[d+64>>2]=0}v[299999]=0;Q(4344,d+80|0,d- -64|0)|0;h=v[299999];v[299999]=0;if((h|0)!=1){h=v[d+64>>2];v[d+64>>2]=0;if(!h){break X}v[299999]=0;i=v[h+4>>2]-1|0;v[h+4>>2]=i;k=v[299999];v[299999]=0;if((k|0)!=1){if(i){break X}v[299999]=0;R(4338,h|0);h=v[299999];v[299999]=0;if((h|0)!=1){break X}}break a}g=P()|0;O()|0;ec(d- -64|0)}ec(d+80|0);ec(e);break j}h=v[d+80>>2];v[d+84>>2]=v[(h?h+12|0:1129608)>>2];ec(e);v[299999]=0;h=Fe(d+80|0);e=v[299999];v[299999]=0;if((e|0)==1){break u}v[299999]=0;e=v[v[c+12>>2]+((h>>>0)%y[c+8>>2]<<2)>>2];i=v[299999];v[299999]=0;if((i|0)==1){break u}_:{$:{aa:{ba:{ca:{da:{ea:{fa:{if(!e){break fa}while(1){ga:{if((h|0)==v[e+12>>2]){v[299999]=0;i=Y(4541,e+16|0,d+80|0,-1)|0;k=v[299999];v[299999]=0;if((k|0)==1){break _}if(!i){break ga}}e=v[e+8>>2];if(e){continue}break fa}break}h=0;v[d+192>>2]=0;v[d+196>>2]=v[282402];ha:while(1){ia:{ja:{ka:{e=v[d+80>>2];if(!e){break ka}v[299999]=0;e=Y(4567,e|0,46,0)|0;g=v[299999];v[299999]=0;la:{ma:{na:{oa:{pa:{qa:{if((g|0)!=1){if((e|0)<1){break ka}v[299999]=0;$(4568,d+40|0,d+80|0,0,e|0);g=v[299999];v[299999]=0;if((g|0)==1){break qa}v[299999]=0;U(4546,d+48|0,d+40|0,307192);g=v[299999];v[299999]=0;if((g|0)==1){break pa}v[299999]=0;h=h+1|0;i=Q(4545,d+32|0,h|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break oa}v[299999]=0;U(4547,d+56|0,d+48|0,i|0);g=v[299999];v[299999]=0;if((g|0)==1){break na}v[299999]=0;$(4568,d+24|0,d+80|0,e|0,-1);e=v[299999];v[299999]=0;if((e|0)==1){break ma}v[299999]=0;U(4547,d- -64|0,d+56|0,d+24|0);e=v[299999];v[299999]=0;if((e|0)==1){break la}e=v[d+64>>2];ra:{if(e){g=v[v[e>>2]+28>>2];v[299999]=0;U(g|0,d+200|0,e|0,1);e=v[299999];v[299999]=0;if((e|0)!=1){break ra}g=P()|0;O()|0;break r}v[d+200>>2]=0}v[299999]=0;Q(4344,d+192|0,d+200|0)|0;e=v[299999];v[299999]=0;if((e|0)!=1){e=v[d+200>>2];v[d+200>>2]=0;if(!e){break ja}v[299999]=0;g=v[e+4>>2]-1|0;v[e+4>>2]=g;k=v[299999];v[299999]=0;if((k|0)!=1){if(g){break ja}v[299999]=0;R(4338,e|0);e=v[299999];v[299999]=0;if((e|0)!=1){break ja}}break a}g=P()|0;O()|0;a=v[d+200>>2];v[d+200>>2]=0;if(!a){break r}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break r}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break r}}break a}g=P()|0;O()|0;break l}g=P()|0;O()|0;break l}g=P()|0;O()|0;break m}g=P()|0;O()|0;break n}g=P()|0;O()|0;break o}g=P()|0;O()|0;break p}g=P()|0;O()|0;break q}v[299999]=0;U(4546,d+56|0,d+80|0,307192);e=v[299999];v[299999]=0;sa:{ta:{if((e|0)!=1){v[299999]=0;h=h+1|0;i=Q(4545,d+48|0,h|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break ta}v[299999]=0;U(4547,d- -64|0,d+56|0,i|0);e=v[299999];v[299999]=0;if((e|0)==1){break sa}e=v[d+64>>2];ua:{if(e){g=v[v[e>>2]+28>>2];v[299999]=0;U(g|0,d+40|0,e|0,1);e=v[299999];v[299999]=0;if((e|0)!=1){break ua}g=P()|0;O()|0;break x}v[d+40>>2]=0}v[299999]=0;Q(4344,d+192|0,d+40|0)|0;e=v[299999];v[299999]=0;va:{if((e|0)!=1){e=v[d+40>>2];v[d+40>>2]=0;if(!e){break va}v[299999]=0;g=v[e+4>>2]-1|0;v[e+4>>2]=g;k=v[299999];v[299999]=0;if((k|0)!=1){if(g){break va}v[299999]=0;R(4338,e|0);e=v[299999];v[299999]=0;if((e|0)!=1){break va}}break a}g=P()|0;O()|0;a=v[d+40>>2];v[d+40>>2]=0;if(!a){break x}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break x}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break x}}break a}e=v[d+192>>2];v[d+196>>2]=v[(e?e+12|0:1129608)>>2];ec(d- -64|0);ec(i);ec(d+56|0);break ia}g=P()|0;O()|0;break l}g=P()|0;O()|0;break v}g=P()|0;O()|0;break w}e=v[d+192>>2];v[d+196>>2]=v[(e?e+12|0:1129608)>>2];ec(d- -64|0);ec(d+24|0);ec(d+56|0);ec(i);ec(d+48|0);ec(d+40|0)}v[299999]=0;g=Fe(d+192|0);e=v[299999];v[299999]=0;if((e|0)==1){break da}v[299999]=0;e=v[v[c+12>>2]+((g>>>0)%y[c+8>>2]<<2)>>2];i=v[299999];v[299999]=0;if((i|0)==1){break da}if(e){while(1){if((g|0)==v[e+12>>2]){v[299999]=0;i=Y(4541,e+16|0,d+192|0,-1)|0;k=v[299999];v[299999]=0;if((k|0)==1){break ea}if(!i){continue ha}}e=v[e+8>>2];if(e){continue}break}}v[299999]=0;g=Fe(d+192|0);e=v[299999];v[299999]=0;if((e|0)==1){break ba}v[299999]=0;e=v[v[j+12>>2]+((g>>>0)%y[j+8>>2]<<2)>>2];i=v[299999];v[299999]=0;if((i|0)==1){break ba}if(e){while(1){if((g|0)==v[e+12>>2]){v[299999]=0;i=Y(4541,e+16|0,d+192|0,-1)|0;k=v[299999];v[299999]=0;if((k|0)==1){break ca}if(!i){continue ha}}e=v[e+8>>2];if(e){continue}break}}break}e=v[a+8>>2];v[299999]=0;U(4594,e|0,f+36|0,d+192|0);e=v[299999];v[299999]=0;if((e|0)==1){break aa}ec(d+192|0);g=1}ec(d+80|0);if(!f){break $}v[299999]=0;e=v[f+4>>2]-1|0;v[f+4>>2]=e;h=v[299999];v[299999]=0;if((h|0)!=1){if(e){break $}v[299999]=0;R(4338,f|0);e=v[299999];v[299999]=0;if((e|0)!=1){break $}}break a}g=P()|0;O()|0;break l}g=P()|0;O()|0;break l}g=P()|0;O()|0;break l}g=P()|0;O()|0;break l}g=P()|0;O()|0;break l}e=v[d+168>>2];if(!e){break U}e=v[e>>2];v[d+168>>2]=e;if(!e){break U}h=v[d+172>>2];v[d+76>>2]=h;v[d+72>>2]=e;if((h|0)!=(d+176|0)){break h}continue}break}g=P()|0;O()|0;break k}id(j);h=1;if(!g){break y}e=v[a+8>>2];v[299999]=0;U(4595,d+96|0,e|0,1);e=v[299999];v[299999]=0;if((e|0)==1){break K}v[299999]=0;Q(4467,d+176|0,d+96|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break J}Ic(d+96|0);continue}break}g=P()|0;O()|0;break i}g=P()|0;O()|0;break c}g=P()|0;O()|0;Ic(d+96|0);break c}v[d+168>>2]=0;v[d+172>>2]=d+176}id(j);h=1}v[d+172>>2]=l;e=v[d+184>>2];v[d+168>>2]=e;wa:{xa:{ya:{za:{Aa:{Ba:{Ca:{Da:{Ea:{Fa:{Ga:{Ha:{if(!e){break Ha}g=a+16|0;v[d+16>>2]=e;v[d+20>>2]=d+176;while(1){Ia:{c=0;Ja:{Ka:{La:{Ma:{Na:{Oa:{Pa:{Qa:{Ra:{Sa:{Ta:{Ua:{Va:{Wa:{Xa:{Ya:{Za:{f=v[e+8>>2];if(f){v[299999]=0;v[f+4>>2]=v[f+4>>2]+1;c=v[299999];v[299999]=0;if((c|0)==1){break Za}c=v[e+8>>2]}v[d+80>>2]=c;v[c+8>>2]=-1;v[299999]=0;j=c+36|0;f=Fe(j);e=v[299999];v[299999]=0;if((e|0)==1){break Ua}v[299999]=0;e=v[v[g+12>>2]+((f>>>0)%y[g+8>>2]<<2)>>2];i=v[299999];v[299999]=0;if((i|0)==1){break Ua}if(e){while(1){if((f|0)==v[e+12>>2]){v[299999]=0;i=Y(4541,e+16|0,j|0,-1)|0;k=v[299999];v[299999]=0;if((k|0)==1){break Ia}if(!i){break Va}}e=v[e+8>>2];if(e){continue}break}}v[299999]=0;U(4423,d+192|0,358249,c+36|0);a=v[299999];v[299999]=0;if((a|0)==1){break Ya}a=v[d+192>>2];a=v[(a?a+12|0:1129608)>>2];v[299999]=0;a=aa(4369,d+96|0,a|0,242181,360,344799,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Xa}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break e}g=P()|0;O()|0;qc(a);break Wa}g=P()|0;O()|0;break c}g=P()|0;O()|0;break xa}g=P()|0;O()|0}ec(d+192|0);break xa}_a:{if(!h){break _a}v[299999]=0;R(4473,d+96|0);f=v[299999];v[299999]=0;if((f|0)==1){break Ta}f=v[e+24>>2];v[299999]=0;V(4591,d- -64|0,f|0);f=v[299999];v[299999]=0;if((f|0)==1){break Sa}v[299999]=0;V(4503,d+192|0,d- -64|0);f=v[299999];v[299999]=0;if((f|0)==1){break Ra}f=v[d+64>>2];v[d+64>>2]=0;$a:{if(!f){break $a}v[299999]=0;j=v[f+4>>2]-1|0;v[f+4>>2]=j;i=v[299999];v[299999]=0;if((i|0)==1){break a}if(j){break $a}v[299999]=0;R(4338,f|0);f=v[299999];v[299999]=0;if((f|0)==1){break a}}v[299999]=0;V(4503,d- -64|0,d+96|0);f=v[299999];v[299999]=0;if((f|0)==1){break Qa}f=v[a+8>>2];v[299999]=0;$(4596,v[d+192>>2],v[d+64>>2],f|0,d+136|0);f=v[299999];v[299999]=0;if((f|0)==1){break Pa}f=v[d+64>>2];v[d+64>>2]=0;ab:{if(!f){break ab}v[299999]=0;j=v[f+4>>2]-1|0;v[f+4>>2]=j;i=v[299999];v[299999]=0;if((i|0)==1){break a}if(j){break ab}v[299999]=0;R(4338,f|0);f=v[299999];v[299999]=0;if((f|0)==1){break a}}f=v[d+192>>2];v[d+192>>2]=0;bb:{if(!f){break bb}v[299999]=0;j=v[f+4>>2]-1|0;v[f+4>>2]=j;i=v[299999];v[299999]=0;if((i|0)==1){break a}if(j){break bb}v[299999]=0;R(4338,f|0);f=v[299999];v[299999]=0;if((f|0)==1){break a}}f=v[d+96>>2];j=v[v[f>>2]+20>>2];v[299999]=0;Z(j|0,f|0,0,0,0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break Na}v[299999]=0;V(4597,d+192|0,d+96|0);f=v[299999];v[299999]=0;if((f|0)==1){break Ma}v[299999]=0;Q(4344,e+24|0,d+192|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break La}f=v[d+192>>2];v[d+192>>2]=0;cb:{if(!f){break cb}v[299999]=0;j=v[f+4>>2]-1|0;v[f+4>>2]=j;i=v[299999];v[299999]=0;if((i|0)==1){break a}if(j){break cb}v[299999]=0;R(4338,f|0);f=v[299999];v[299999]=0;if((f|0)==1){break a}}f=v[d+96>>2];v[d+96>>2]=0;if(!f){break _a}v[299999]=0;j=v[f+4>>2]-1|0;v[f+4>>2]=j;i=v[299999];v[299999]=0;if((i|0)==1){break a}if(j){break _a}v[299999]=0;R(4338,f|0);f=v[299999];v[299999]=0;if((f|0)==1){break a}}e=v[e+24>>2];v[299999]=0;e=ur(e);f=v[299999];v[299999]=0;if((f|0)!=1){break Ja}}g=P()|0;O()|0;break xa}g=P()|0;O()|0;break xa}g=P()|0;O()|0;break Ka}g=P()|0;O()|0;ec(d- -64|0);break Ka}g=P()|0;O()|0;break Oa}g=P()|0;O()|0;ec(d- -64|0)}ec(d+192|0);break Ka}g=P()|0;O()|0;break Ka}g=P()|0;O()|0;break Ka}g=P()|0;O()|0;ec(d+192|0)}ec(d+96|0);break xa}v[c+12>>2]=e;if(!e){v[299999]=0;a=aa(4369,d+96|0,280870,242181,375,344799,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Ga}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break e}g=P()|0;O()|0;qc(a);break xa}v[299999]=0;e=v[c+4>>2]-1|0;v[c+4>>2]=e;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(!e){v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}c=v[d+168>>2];if(!c){break Ha}e=v[c>>2];v[d+168>>2]=e;if(!e){break Ha}c=v[d+172>>2];v[d+20>>2]=c;v[d+16>>2]=e;if((c|0)==(d+176|0)){continue}break wa}break}g=P()|0;O()|0;break xa}v[299999]=0;R(4473,d+192|0);c=v[299999];v[299999]=0;db:{eb:{fb:{gb:{hb:{ib:{if((c|0)!=1){v[299999]=0;V(4503,d+80|0,d+192|0);c=v[299999];v[299999]=0;if((c|0)==1){break ib}v[299999]=0;c=v[d+80>>2];U(4599,c|0,316362,1);e=v[299999];v[299999]=0;if((e|0)==1){break Aa}v[299999]=0;U(4599,c|0,316387,0);e=v[299999];v[299999]=0;if((e|0)==1){break Aa}e=v[a+8>>2];v[299999]=0;v[d+96>>2]=0;Q(4336,d+96|0,c|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break hb}v[299999]=0;U(4600,e|0,d+96|0,h|0);e=v[299999];v[299999]=0;if((e|0)==1){break gb}e=v[d+96>>2];v[d+96>>2]=0;jb:{if(!e){break jb}v[299999]=0;f=v[e+4>>2]-1|0;v[e+4>>2]=f;g=v[299999];v[299999]=0;if((g|0)==1){break a}if(f){break jb}v[299999]=0;R(4338,e|0);e=v[299999];v[299999]=0;if((e|0)==1){break a}}v[299999]=0;R(4601,c|0);e=v[299999];v[299999]=0;if((e|0)==1){break Aa}if(!v[a+12>>2]){break db}v[299999]=0;U(4599,c|0,316372,0);e=v[299999];v[299999]=0;if((e|0)==1){break Aa}e=v[a+12>>2];v[299999]=0;v[d+96>>2]=0;Q(4336,d+96|0,c|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break fb}v[299999]=0;V(4602,e|0,d+96|0);e=v[299999];v[299999]=0;if((e|0)==1){break eb}e=v[d+96>>2];v[d+96>>2]=0;kb:{if(!e){break kb}v[299999]=0;f=v[e+4>>2]-1|0;v[e+4>>2]=f;g=v[299999];v[299999]=0;if((g|0)==1){break a}if(f){break kb}v[299999]=0;R(4338,e|0);e=v[299999];v[299999]=0;if((e|0)==1){break a}}v[299999]=0;R(4601,c|0);e=v[299999];v[299999]=0;if((e|0)!=1){break db}break Aa}g=P()|0;O()|0;break c}g=P()|0;O()|0;break ya}g=P()|0;O()|0;break za}g=P()|0;O()|0;ec(d+96|0);break za}g=P()|0;O()|0;break za}g=P()|0;O()|0;ec(d+96|0);break za}v[299999]=0;R(4601,c|0);e=v[299999];v[299999]=0;if((e|0)==1){break Aa}e=v[v[c>>2]+16>>2];v[299999]=0;c=S(e|0,c|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Fa}v[d+172>>2]=l;e=v[d+184>>2];v[d+168>>2]=e;if(e){while(1){f=v[e+8>>2];c=(c&1)+c|0;v[f+8>>2]=c;c=c+v[f+12>>2]|0;e=v[e>>2];if(e){continue}break}v[d+168>>2]=0}v[299999]=0;V(4503,d- -64|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break Ea}v[299999]=0;b=v[d+64>>2];U(4599,b|0,316362,1);c=v[299999];v[299999]=0;if((c|0)==1){break Ca}v[299999]=0;U(4599,b|0,316387,0);c=v[299999];v[299999]=0;if((c|0)==1){break Ca}c=v[a+8>>2];v[299999]=0;v[d+96>>2]=0;Q(4336,d+96|0,b|0)|0;e=v[299999];v[299999]=0;if((e|0)!=1){v[299999]=0;U(4600,c|0,d+96|0,h|0);c=v[299999];v[299999]=0;lb:{mb:{nb:{if((c|0)!=1){c=v[d+96>>2];v[d+96>>2]=0;ob:{if(!c){break ob}v[299999]=0;e=v[c+4>>2]-1|0;v[c+4>>2]=e;h=v[299999];v[299999]=0;if((h|0)==1){break a}if(e){break ob}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}v[299999]=0;R(4601,b|0);c=v[299999];v[299999]=0;if((c|0)==1){break Ca}if(!v[a+12>>2]){break lb}v[299999]=0;U(4599,b|0,316372,0);c=v[299999];v[299999]=0;if((c|0)==1){break Ca}c=v[a+12>>2];v[299999]=0;v[d+96>>2]=0;Q(4336,d+96|0,b|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break nb}v[299999]=0;V(4602,c|0,d+96|0);c=v[299999];v[299999]=0;if((c|0)==1){break mb}c=v[d+96>>2];v[d+96>>2]=0;pb:{if(!c){break pb}v[299999]=0;e=v[c+4>>2]-1|0;v[c+4>>2]=e;h=v[299999];v[299999]=0;if((h|0)==1){break a}if(e){break pb}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}v[299999]=0;R(4601,b|0);c=v[299999];v[299999]=0;if((c|0)!=1){break lb}break Ca}g=P()|0;O()|0;ec(d+96|0);break Ba}g=P()|0;O()|0;break Ba}g=P()|0;O()|0;ec(d+96|0);break Ba}v[d+172>>2]=l;c=v[d+184>>2];v[d+168>>2]=c;qb:{if(!c){break qb}v[d+8>>2]=c;v[d+12>>2]=d+176;rb:{sb:{while(1){tb:{c=v[c+8>>2];v[299999]=0;U(4603,d+56|0,a|0,c+36|0);c=v[299999];v[299999]=0;ub:{vb:{wb:{xb:{yb:{if((c|0)!=1){v[299999]=0;V(4591,d+48|0,v[d+56>>2]);c=v[299999];v[299999]=0;if((c|0)==1){break yb}c=v[v[b>>2]+16>>2];v[299999]=0;c=S(c|0,b|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break tb}zb:{if(!(c&1)){break zb}v[299999]=0;v[d+96>>2]=0;Q(4336,d+96|0,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break xb}v[299999]=0;V(4559,v[d+96>>2],0);c=v[299999];v[299999]=0;if((c|0)==1){break wb}c=v[d+96>>2];v[d+96>>2]=0;if(!c){break zb}v[299999]=0;e=v[c+4>>2]-1|0;v[c+4>>2]=e;h=v[299999];v[299999]=0;if((h|0)==1){break a}if(e){break zb}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}v[299999]=0;c=v[d+48>>2];v[d+96>>2]=0;Q(4336,d+96|0,b|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break tb}v[299999]=0;Y(4604,v[d+96>>2],c|0,0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break vb}c=v[d+96>>2];v[d+96>>2]=0;if(!c){break ub}v[299999]=0;e=v[c+4>>2]-1|0;v[c+4>>2]=e;h=v[299999];v[299999]=0;if((h|0)!=1){if(e){break ub}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)!=1){break ub}}break a}g=P()|0;O()|0;break Ba}g=P()|0;O()|0;break rb}g=P()|0;O()|0;break sb}g=P()|0;O()|0;ec(d+96|0);break sb}g=P()|0;O()|0;ec(d+96|0);break sb}c=v[d+48>>2];v[d+48>>2]=0;Ab:{if(!c){break Ab}v[299999]=0;e=v[c+4>>2]-1|0;v[c+4>>2]=e;h=v[299999];v[299999]=0;if((h|0)==1){break a}if(e){break Ab}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}c=v[d+56>>2];v[d+56>>2]=0;Bb:{if(!c){break Bb}v[299999]=0;e=v[c+4>>2]-1|0;v[c+4>>2]=e;h=v[299999];v[299999]=0;if((h|0)==1){break a}if(e){break Bb}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}c=v[d+168>>2];if(!c){break qb}c=v[c>>2];v[d+168>>2]=c;if(!c){break qb}e=v[d+172>>2];v[d+12>>2]=e;v[d+8>>2]=c;if((e|0)==(d+176|0)){continue}break Da}break}g=P()|0;O()|0}ec(d+48|0)}ec(d+56|0);break Ba}v[299999]=0;R(4601,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break Ca}a=v[v[b>>2]+24>>2];v[299999]=0;R(a|0,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break Ca}a=v[d+64>>2];v[d+64>>2]=0;Cb:{if(!a){break Cb}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break Cb}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}a=v[d+80>>2];v[d+80>>2]=0;Db:{if(!a){break Db}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break Db}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}a=v[d+192>>2];v[d+192>>2]=0;Eb:{if(!a){break Eb}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break Eb}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}id(m);Ic(d+176|0);Qb=d+208|0;return}g=P()|0;O()|0;break Ba}g=P()|0;O()|0;break xa}g=P()|0;O()|0;break za}g=P()|0;O()|0;break za}v[299999]=0;V(4468,d+8|0,d+176|0);a=v[299999];v[299999]=0;if((a|0)!=1){break e}g=P()|0;O()|0;break Ba}g=P()|0;O()|0}ec(d- -64|0);break za}g=P()|0;O()|0}ec(d+80|0)}ec(d+192|0);break c}ec(d+80|0);break c}v[299999]=0;V(4468,d+16|0,d+176|0);a=v[299999];v[299999]=0;if((a|0)!=1){break e}g=P()|0;O()|0;break c}ec(d- -64|0)}ec(i)}ec(d+56|0);break l}g=P()|0;O()|0;break k}g=P()|0;O()|0;break j}g=P()|0;O()|0;id(j);break c}ec(d- -64|0)}ec(d+24|0)}ec(d+56|0)}ec(i)}ec(d+48|0)}ec(d+40|0)}ec(d+192|0)}ec(d+80|0)}if(!f){break i}v[299999]=0;a=v[f+4>>2]-1|0;v[f+4>>2]=a;b=v[299999];v[299999]=0;if((b|0)!=1){if(a){break i}v[299999]=0;R(4338,f|0);a=v[299999];v[299999]=0;if((a|0)!=1){break i}}break a}id(j);break c}v[299999]=0;V(4468,d+72|0,d+176|0);a=v[299999];v[299999]=0;if((a|0)!=1){break e}g=P()|0;O()|0;id(j);break c}v[299999]=0;V(4468,d+88|0,d+176|0);a=v[299999];v[299999]=0;if((a|0)!=1){break e}g=P()|0;O()|0;id(j);break c}g=P()|0;O()|0;break b}g=P()|0;O()|0;break b}v[299999]=0;V(4468,d+128|0,d+176|0);a=v[299999];v[299999]=0;if((a|0)==1){break d}}L()}g=P()|0;O()|0}id(m)}Ic(d+176|0);T(g|0);L()}W(0)|0;O()|0;lc();L()}function nka(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=Qb-240|0;Qb=c;if(!w[b+88|0]){h=b,i=Ub[v[v[b>>2]+36>>2]](b)|0,v[h+72>>2]=i;h=b,i=Ub[v[v[b>>2]+44>>2]](b)|0,v[h+76>>2]=i;h=b,i=Ub[v[v[b>>2]+40>>2]](b)|0,v[h+80>>2]=i;d=Ub[v[v[b>>2]+48>>2]](b)|0;t[b+88|0]=1;v[b+84>>2]=d}d=989584;a:{if(v[b+76>>2]==v[b+72>>2]){break a}d=989616;if(v[b+84>>2]==v[b+80>>2]){break a}g=v[b+44>>2];f=v[b+32>>2];if(f-1>>>0<=1){d=989648;if((g|0)!=1){break a}}if(f-3>>>0<=3){d=989680;if(g-3>>>0>29){break a}}d=Ub[v[v[b>>2]+68>>2]](b)|0}b:{c:{if(w[d|0]){b=vc(c+216|0,d,241176,266,341864,0);v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}e=P()|0;O()|0;qc(b);break c}v[c+216>>2]=0;d=v[282402];v[c+220>>2]=d;v[c+212>>2]=d;v[c+208>>2]=0;v[c+204>>2]=d;v[c+200>>2]=0;v[c+196>>2]=d;v[c+192>>2]=0;v[c+188>>2]=d;v[c+184>>2]=0;f=v[b+8>>2];d:{e:{if(f){d=v[v[f>>2]+28>>2];v[299999]=0;U(d|0,c+176|0,f|0,1);d=v[299999];v[299999]=0;if((d|0)!=1){break e}e=P()|0;O()|0;break d}v[c+176>>2]=0}v[299999]=0;Q(4344,c+184|0,c+176|0)|0;d=v[299999];v[299999]=0;f:{if((d|0)!=1){g=v[c+176>>2];v[c+176>>2]=0;if(!g){break f}v[299999]=0;f=v[g+4>>2]-1|0;v[g+4>>2]=f;d=v[299999];v[299999]=0;if((d|0)!=1){if(f){break f}v[299999]=0;R(4338,g|0);d=v[299999];v[299999]=0;if((d|0)!=1){break f}}W(0)|0;O()|0;lc();L()}e=P()|0;O()|0;ec(c+176|0);break d}e=v[c+184>>2];v[c+188>>2]=v[(e?e+12|0:1129608)>>2];g=0;g:{while(1){if(((e?v[e+8>>2]:0)|0)<=(g|0)){g=0;while(1){f=v[b+16>>2];if(f){d=v[f+8>>2]}else{d=0}if((d|0)<=(g|0)){g=0;while(1){h:{i:{f=v[b+24>>2];if(f){d=v[f+8>>2]}else{d=0}if((d|0)>(g|0)){j:{if(g){if(v[f+8>>2]>=(g|0)?f:0){break j}v[299999]=0;ba(4543);a=v[299999];v[299999]=0;if((a|0)!=1){break b}e=P()|0;O()|0;break g}if(f){break j}e=0;break i}e=w[v[f+12>>2]+g|0];if((e|0)!=34){break i}v[299999]=0;Q(4584,c+192|0,92)|0;d=v[299999];v[299999]=0;e=34;if((d|0)!=1){break i}break h}v[c+176>>2]=0;v[c+180>>2]=v[282402];d=v[b+40>>2];v[299999]=0;v[c+56>>2]=d&255;v[c+52>>2]=d>>>8&255;v[c+48>>2]=d>>>16&255;Y(4635,c+176|0,309239,c+48|0)|0;d=v[299999];v[299999]=0;k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{if((d|0)!=1){z:{if(t[1179004]&1){break z}if(!Je(1179004)){break z}v[299999]=0;Q(4647,1178996,40)|0;d=v[299999];v[299999]=0;if((d|0)==1){break y}Ie(1179004)}A:{if(t[1179016]&1){break A}if(!Je(1179016)){break A}v[299999]=0;Q(4647,1179008,41)|0;d=v[299999];v[299999]=0;if((d|0)==1){break x}Ie(1179016)}B:{if(t[1179028]&1){break B}if(!Je(1179028)){break B}v[299999]=0;Q(4647,1179020,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break w}Ie(1179028)}C:{if(t[1179040]&1){break C}if(!Je(1179040)){break C}v[299999]=0;Q(4647,1179032,34)|0;d=v[299999];v[299999]=0;if((d|0)==1){break v}Ie(1179040)}v[c+168>>2]=0;v[c+172>>2]=v[282402];switch(v[b+32>>2]){case 6:break o;case 5:break p;case 4:break q;case 3:break r;case 2:break s;case 1:break t;case 0:break u;default:break n}}e=P()|0;O()|0;break k}e=P()|0;O()|0;Pf(1179004);break k}e=P()|0;O()|0;Pf(1179016);break k}e=P()|0;O()|0;Pf(1179028);break k}e=P()|0;O()|0;Pf(1179040);break k}v[299999]=0;U(4546,c+152|0,1178996,989259);d=v[299999];v[299999]=0;D:{E:{F:{if((d|0)!=1){v[299999]=0;U(4547,c+160|0,c+152|0,1179008);d=v[299999];v[299999]=0;if((d|0)==1){break F}v[299999]=0;Q(4535,c+168|0,c+160|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break E}ec(c+160|0);ec(c+152|0);break m}e=P()|0;O()|0;break l}e=P()|0;O()|0;break D}e=P()|0;O()|0;ec(c+160|0)}ec(c+152|0);break l}v[299999]=0;U(4546,c+152|0,1178996,989264);d=v[299999];v[299999]=0;G:{H:{I:{if((d|0)!=1){v[299999]=0;U(4547,c+160|0,c+152|0,1179008);d=v[299999];v[299999]=0;if((d|0)==1){break I}v[299999]=0;Q(4535,c+168|0,c+160|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break H}ec(c+160|0);ec(c+152|0);break m}e=P()|0;O()|0;break l}e=P()|0;O()|0;break G}e=P()|0;O()|0;ec(c+160|0)}ec(c+152|0);break l}v[299999]=0;U(4546,c+136|0,1178996,989268);d=v[299999];v[299999]=0;J:{K:{L:{M:{N:{O:{P:{if((d|0)!=1){v[299999]=0;U(4547,c+144|0,c+136|0,1179020);d=v[299999];v[299999]=0;if((d|0)==1){break P}v[299999]=0;U(4547,c+152|0,c+144|0,c+176|0);d=v[299999];v[299999]=0;if((d|0)==1){break O}v[299999]=0;U(4547,c+160|0,c+152|0,1179008);d=v[299999];v[299999]=0;if((d|0)==1){break N}v[299999]=0;Q(4535,c+168|0,c+160|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break M}ec(c+160|0);ec(c+152|0);ec(c+144|0);ec(c+136|0);break m}e=P()|0;O()|0;break l}e=P()|0;O()|0;break J}e=P()|0;O()|0;break K}e=P()|0;O()|0;break L}e=P()|0;O()|0;ec(c+160|0)}ec(c+152|0)}ec(c+144|0)}ec(c+136|0);break l}v[299999]=0;U(4546,c+136|0,1178996,989275);d=v[299999];v[299999]=0;Q:{R:{S:{T:{U:{V:{W:{X:{Y:{if((d|0)!=1){v[299999]=0;U(4547,c+144|0,c+136|0,1179020);d=v[299999];v[299999]=0;if((d|0)==1){break Y}d=v[b+44>>2];v[299999]=0;f=Q(4545,c+128|0,d|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break X}v[299999]=0;U(4547,c+152|0,c+144|0,f|0);d=v[299999];v[299999]=0;if((d|0)==1){break W}v[299999]=0;U(4547,c+160|0,c+152|0,1179008);d=v[299999];v[299999]=0;if((d|0)==1){break V}v[299999]=0;Q(4535,c+168|0,c+160|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break U}ec(c+160|0);ec(c+152|0);ec(f);ec(c+144|0);ec(c+136|0);break m}e=P()|0;O()|0;break l}e=P()|0;O()|0;break Q}e=P()|0;O()|0;break R}e=P()|0;O()|0;break S}e=P()|0;O()|0;break T}e=P()|0;O()|0;ec(c+160|0)}ec(c+152|0)}ec(f)}ec(c+144|0)}ec(c+136|0);break l}v[299999]=0;U(4546,c+136|0,1178996,989285);d=v[299999];v[299999]=0;Z:{_:{$:{aa:{ba:{ca:{da:{ea:{fa:{if((d|0)!=1){v[299999]=0;U(4547,c+144|0,c+136|0,1179020);d=v[299999];v[299999]=0;if((d|0)==1){break fa}d=v[b+44>>2];v[299999]=0;f=Q(4545,c+128|0,d|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break ea}v[299999]=0;U(4547,c+152|0,c+144|0,f|0);d=v[299999];v[299999]=0;if((d|0)==1){break da}v[299999]=0;U(4547,c+160|0,c+152|0,1179008);d=v[299999];v[299999]=0;if((d|0)==1){break ca}v[299999]=0;Q(4535,c+168|0,c+160|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break ba}ec(c+160|0);ec(c+152|0);ec(f);ec(c+144|0);ec(c+136|0);break m}e=P()|0;O()|0;break l}e=P()|0;O()|0;break Z}e=P()|0;O()|0;break _}e=P()|0;O()|0;break $}e=P()|0;O()|0;break aa}e=P()|0;O()|0;ec(c+160|0)}ec(c+152|0)}ec(f)}ec(c+144|0)}ec(c+136|0);break l}v[299999]=0;U(4546,c+136|0,1178996,989296);d=v[299999];v[299999]=0;ga:{ha:{ia:{ja:{ka:{la:{ma:{na:{oa:{if((d|0)!=1){v[299999]=0;U(4547,c+144|0,c+136|0,1179020);d=v[299999];v[299999]=0;if((d|0)==1){break oa}d=v[b+44>>2];v[299999]=0;f=Q(4545,c+128|0,d|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break na}v[299999]=0;U(4547,c+152|0,c+144|0,f|0);d=v[299999];v[299999]=0;if((d|0)==1){break ma}v[299999]=0;U(4547,c+160|0,c+152|0,1179008);d=v[299999];v[299999]=0;if((d|0)==1){break la}v[299999]=0;Q(4535,c+168|0,c+160|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break ka}ec(c+160|0);ec(c+152|0);ec(f);ec(c+144|0);ec(c+136|0);break m}e=P()|0;O()|0;break l}e=P()|0;O()|0;break ga}e=P()|0;O()|0;break ha}e=P()|0;O()|0;break ia}e=P()|0;O()|0;break ja}e=P()|0;O()|0;ec(c+160|0)}ec(c+152|0)}ec(f)}ec(c+144|0)}ec(c+136|0);break l}v[299999]=0;U(4546,c+136|0,1178996,989307);d=v[299999];v[299999]=0;pa:{qa:{ra:{sa:{ta:{ua:{va:{wa:{xa:{if((d|0)!=1){v[299999]=0;U(4547,c+144|0,c+136|0,1179020);d=v[299999];v[299999]=0;if((d|0)==1){break xa}d=v[b+44>>2];v[299999]=0;f=Q(4545,c+128|0,d|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break wa}v[299999]=0;U(4547,c+152|0,c+144|0,f|0);d=v[299999];v[299999]=0;if((d|0)==1){break va}v[299999]=0;U(4547,c+160|0,c+152|0,1179008);d=v[299999];v[299999]=0;if((d|0)==1){break ua}v[299999]=0;Q(4535,c+168|0,c+160|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break ta}ec(c+160|0);ec(c+152|0);ec(f);ec(c+144|0);ec(c+136|0);break m}e=P()|0;O()|0;break l}e=P()|0;O()|0;break pa}e=P()|0;O()|0;break qa}e=P()|0;O()|0;break ra}e=P()|0;O()|0;break sa}e=P()|0;O()|0;ec(c+160|0)}ec(c+152|0)}ec(f)}ec(c+144|0)}ec(c+136|0);break l}v[299999]=0;U(4546,c+152|0,1178996,989264);d=v[299999];v[299999]=0;ya:{za:{Aa:{if((d|0)!=1){v[299999]=0;U(4547,c+160|0,c+152|0,1179008);d=v[299999];v[299999]=0;if((d|0)==1){break Aa}v[299999]=0;Q(4535,c+168|0,c+160|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break za}ec(c+160|0);ec(c+152|0);break m}e=P()|0;O()|0;break l}e=P()|0;O()|0;break ya}e=P()|0;O()|0;ec(c+160|0)}ec(c+152|0);break l}v[c+160>>2]=0;f=v[282402];v[c+164>>2]=f;d=c;Ba:{Ca:{Da:{Ea:{Fa:{Ga:{Ha:{Ia:{g=v[b+48>>2];if((g|0)!=-1){v[c+32>>2]=989331;v[299999]=0;v[c+44>>2]=g&255;v[c+36>>2]=g>>>16&255;v[c+40>>2]=g>>>8&255;Y(4635,c+160|0,340304,c+32|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break Ia}f=v[282402]}v[d+156>>2]=f;v[c+152>>2]=0;v[299999]=0;f=Nc(c+200|0,989342,-1);d=v[299999];v[299999]=0;Ja:{Ka:{La:{Ma:{Na:{Oa:{Pa:{Qa:{Ra:{Sa:{Ta:{Ua:{Va:{Wa:{Xa:{Ya:{Za:{_a:{$a:{ab:{bb:{cb:{db:{eb:{fb:{gb:{hb:{ib:{jb:{kb:{lb:{mb:{nb:{ob:{pb:{qb:{rb:{sb:{tb:{ub:{vb:{wb:{xb:{yb:{zb:{Ab:{Bb:{Cb:{Db:{Eb:{Fb:{Gb:{Hb:{if((d|0)!=1){if(f){break Db}v[299999]=0;U(4547,c+136|0,1179032,c+208|0);d=v[299999];v[299999]=0;if((d|0)==1){break Hb}v[299999]=0;U(4547,c+144|0,c+136|0,1179032);d=v[299999];v[299999]=0;if((d|0)==1){break Gb}v[299999]=0;Q(4535,c+152|0,c+144|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Fb}ec(c+144|0);ec(c+136|0);break Cb}e=P()|0;O()|0;break Ca}e=P()|0;O()|0;break Ca}e=P()|0;O()|0;break Eb}e=P()|0;O()|0;ec(c+144|0)}ec(c+136|0);break Ca}v[299999]=0;U(4546,c+72|0,1178996,989338);d=v[299999];v[299999]=0;if((d|0)==1){break Bb}v[299999]=0;U(4547,c+80|0,c+72|0,1179020);d=v[299999];v[299999]=0;if((d|0)==1){break Ab}v[299999]=0;U(4547,c+88|0,c+80|0,1179032);d=v[299999];v[299999]=0;if((d|0)==1){break zb}v[299999]=0;U(4547,c+96|0,c+88|0,c+208|0);d=v[299999];v[299999]=0;if((d|0)==1){break yb}v[299999]=0;U(4547,c+104|0,c+96|0,1179032);d=v[299999];v[299999]=0;if((d|0)==1){break xb}v[299999]=0;U(4547,c+112|0,c+104|0,1179020);d=v[299999];v[299999]=0;if((d|0)==1){break wb}v[299999]=0;U(4547,c+120|0,c+112|0,1179032);d=v[299999];v[299999]=0;if((d|0)==1){break vb}v[299999]=0;U(4547,c+128|0,c+120|0,c+200|0);d=v[299999];v[299999]=0;if((d|0)==1){break ub}v[299999]=0;U(4547,c+136|0,c+128|0,1179032);d=v[299999];v[299999]=0;if((d|0)==1){break tb}v[299999]=0;U(4547,c+144|0,c+136|0,1179008);d=v[299999];v[299999]=0;if((d|0)==1){break sb}v[299999]=0;Q(4535,c+152|0,c+144|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break rb}ec(c+144|0);ec(c+136|0);ec(c+128|0);ec(c+120|0);ec(c+112|0);ec(c+104|0);ec(c+96|0);ec(c+88|0);ec(c+80|0);ec(c+72|0)}v[299999]=0;U(4546,c+80|0,1178996,989236);d=v[299999];v[299999]=0;if((d|0)==1){break hb}v[299999]=0;U(4547,c+88|0,c+80|0,1179020);d=v[299999];v[299999]=0;if((d|0)==1){break gb}v[299999]=0;U(4547,c+96|0,c+88|0,c+152|0);d=v[299999];v[299999]=0;if((d|0)==1){break fb}v[299999]=0;U(4547,c+104|0,c+96|0,1179020);d=v[299999];v[299999]=0;if((d|0)==1){break eb}v[299999]=0;U(4547,c+112|0,c+104|0,1179032);d=v[299999];v[299999]=0;if((d|0)==1){break db}v[299999]=0;U(4547,c+120|0,c+112|0,c+192|0);d=v[299999];v[299999]=0;if((d|0)==1){break cb}v[299999]=0;U(4547,c+128|0,c+120|0,1179032);d=v[299999];v[299999]=0;if((d|0)==1){break bb}v[299999]=0;U(4547,c+136|0,c+128|0,1179020);d=v[299999];v[299999]=0;if((d|0)==1){break ab}d=v[v[b>>2]+72>>2];v[299999]=0;V(d|0,c+72|0,b|0);d=v[299999];v[299999]=0;if((d|0)==1){break $a}v[299999]=0;U(4547,c+144|0,c+136|0,c+72|0);d=v[299999];v[299999]=0;if((d|0)==1){break _a}v[299999]=0;U(4547,a|0,c+144|0,c+168|0);d=v[299999];v[299999]=0;if((d|0)==1){break Za}ec(c+144|0);ec(c+72|0);ec(c+136|0);ec(c+128|0);ec(c+120|0);ec(c+112|0);ec(c+104|0);ec(c+96|0);ec(c+88|0);ec(c+80|0);if(w[b+36|0]){v[299999]=0;U(4547,c+128|0,1179020,1178996);d=v[299999];v[299999]=0;if((d|0)==1){break Pa}v[299999]=0;U(4546,c+136|0,c+128|0,989319);d=v[299999];v[299999]=0;if((d|0)==1){break Oa}v[299999]=0;U(4547,c+144|0,c+136|0,1179008);d=v[299999];v[299999]=0;if((d|0)==1){break Na}v[299999]=0;Q(4606,a|0,c+144|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Ma}ec(c+144|0);ec(c+136|0);ec(c+128|0)}v[c+144>>2]=0;v[c+148>>2]=v[282402];d=v[b+60>>2];v[299999]=0;v[c+24>>2]=d&255;v[c+20>>2]=d>>>8&255;v[c+16>>2]=d>>>16&255;Y(4635,c+144|0,309239,c+16|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){break Ja}break Fa}e=P()|0;O()|0;break Ca}e=P()|0;O()|0;break ib}e=P()|0;O()|0;break jb}e=P()|0;O()|0;break kb}e=P()|0;O()|0;break lb}e=P()|0;O()|0;break mb}e=P()|0;O()|0;break nb}e=P()|0;O()|0;break ob}e=P()|0;O()|0;break pb}e=P()|0;O()|0;break qb}e=P()|0;O()|0;ec(c+144|0)}ec(c+136|0)}ec(c+128|0)}ec(c+120|0)}ec(c+112|0)}ec(c+104|0)}ec(c+96|0)}ec(c+88|0)}ec(c+80|0)}ec(c+72|0);break Ca}e=P()|0;O()|0;break Ca}e=P()|0;O()|0;break Qa}e=P()|0;O()|0;break Ra}e=P()|0;O()|0;break Sa}e=P()|0;O()|0;break Ta}e=P()|0;O()|0;break Ua}e=P()|0;O()|0;break Va}e=P()|0;O()|0;break Wa}e=P()|0;O()|0;break Xa}e=P()|0;O()|0;break Ya}e=P()|0;O()|0;ec(c+144|0)}ec(c+72|0)}ec(c+136|0)}ec(c+128|0)}ec(c+120|0)}ec(c+112|0)}ec(c+104|0)}ec(c+96|0)}ec(c+88|0)}ec(c+80|0);break Ca}e=P()|0;O()|0;break Da}e=P()|0;O()|0;break Ka}e=P()|0;O()|0;break La}e=P()|0;O()|0;ec(c+144|0)}ec(c+136|0)}ec(c+128|0);break Da}if(w[b+56|0]){v[c+136>>2]=0;v[c+140>>2]=v[282402];Ib:{Jb:{d=v[b+48>>2];if((d|0)==-1){break Jb}v[299999]=0;v[c+8>>2]=d&255;v[c>>2]=d>>>16&255;v[c+4>>2]=d>>>8&255;Y(4635,c+136|0,309239,c|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){break Jb}e=P()|0;O()|0;break Ib}v[299999]=0;U(4547,c+96|0,1179020,1178996);d=v[299999];v[299999]=0;if((d|0)!=1){v[299999]=0;U(4546,c+104|0,c+96|0,989394);d=v[299999];v[299999]=0;Kb:{Lb:{Mb:{Nb:{Ob:{Pb:{Qb:{Rb:{Sb:{Tb:{Ub:{Vb:{Wb:{Xb:{Yb:{Zb:{_b:{$b:{ac:{if((d|0)!=1){v[299999]=0;U(4547,c+112|0,c+104|0,1179020);d=v[299999];v[299999]=0;if((d|0)==1){break ac}v[299999]=0;U(4547,c+120|0,c+112|0,c+144|0);d=v[299999];v[299999]=0;if((d|0)==1){break $b}v[299999]=0;U(4547,c+128|0,c+120|0,1179008);d=v[299999];v[299999]=0;if((d|0)==1){break _b}v[299999]=0;Q(4606,a|0,c+128|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Zb}ec(c+128|0);ec(c+120|0);ec(c+112|0);ec(c+104|0);ec(c+96|0);d=v[c+136>>2];if(!(!d|!v[d+8>>2])){v[299999]=0;U(4547,c+96|0,1179020,1178996);d=v[299999];v[299999]=0;if((d|0)==1){break Ub}v[299999]=0;U(4546,c+104|0,c+96|0,989386);d=v[299999];v[299999]=0;if((d|0)==1){break Tb}v[299999]=0;U(4547,c+112|0,c+104|0,1179020);d=v[299999];v[299999]=0;if((d|0)==1){break Sb}v[299999]=0;U(4547,c+120|0,c+112|0,c+136|0);d=v[299999];v[299999]=0;if((d|0)==1){break Rb}v[299999]=0;U(4547,c+128|0,c+120|0,1179008);d=v[299999];v[299999]=0;if((d|0)==1){break Qb}v[299999]=0;Q(4606,a|0,c+128|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Pb}ec(c+128|0);ec(c+120|0);ec(c+112|0);ec(c+104|0);ec(c+96|0)}if(w[b+57|0]){break Kb}break Ha}e=P()|0;O()|0;break Vb}e=P()|0;O()|0;break Wb}e=P()|0;O()|0;break Xb}e=P()|0;O()|0;break Yb}e=P()|0;O()|0;ec(c+128|0)}ec(c+120|0)}ec(c+112|0)}ec(c+104|0)}ec(c+96|0);break Ib}e=P()|0;O()|0;break Ib}e=P()|0;O()|0;break Lb}e=P()|0;O()|0;break Mb}e=P()|0;O()|0;break Nb}e=P()|0;O()|0;break Ob}e=P()|0;O()|0;ec(c+128|0)}ec(c+120|0)}ec(c+112|0)}ec(c+104|0)}ec(c+96|0);break Ib}v[299999]=0;U(4547,c+112|0,1179020,1178996);b=v[299999];v[299999]=0;bc:{cc:{dc:{ec:{fc:{if((b|0)!=1){v[299999]=0;U(4546,c+120|0,c+112|0,989402);b=v[299999];v[299999]=0;if((b|0)==1){break fc}v[299999]=0;U(4547,c+128|0,c+120|0,1179008);b=v[299999];v[299999]=0;if((b|0)==1){break ec}v[299999]=0;Q(4606,a|0,c+128|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break dc}ec(c+128|0);ec(c+120|0);ec(c+112|0);break Ha}e=P()|0;O()|0;break Ib}e=P()|0;O()|0;break bc}e=P()|0;O()|0;break cc}e=P()|0;O()|0;ec(c+128|0)}ec(c+120|0)}ec(c+112|0);break Ib}e=P()|0;O()|0}ec(c+136|0);break Ea}gc:{if(w[b+64|0]){v[299999]=0;U(4547,c+104|0,1179020,1178996);d=v[299999];v[299999]=0;if((d|0)==1){break gc}v[299999]=0;U(4546,c+112|0,c+104|0,989378);d=v[299999];v[299999]=0;hc:{ic:{jc:{kc:{lc:{mc:{nc:{oc:{pc:{qc:{rc:{sc:{tc:{uc:{vc:{wc:{xc:{yc:{zc:{Ac:{Bc:{Cc:{Dc:{Ec:{Fc:{Gc:{if((d|0)!=1){v[299999]=0;U(4547,c+120|0,c+112|0,1179020);d=v[299999];v[299999]=0;if((d|0)==1){break Gc}v[299999]=0;U(4547,c+128|0,c+120|0,c+144|0);d=v[299999];v[299999]=0;if((d|0)==1){break Fc}v[299999]=0;U(4547,c+136|0,c+128|0,1179008);d=v[299999];v[299999]=0;if((d|0)==1){break Ec}v[299999]=0;Q(4606,a|0,c+136|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Dc}ec(c+136|0);ec(c+128|0);ec(c+120|0);ec(c+112|0);d=c+104|0;ec(d);v[299999]=0;U(4547,d|0,1179020,1178996);d=v[299999];v[299999]=0;if((d|0)==1){break yc}v[299999]=0;U(4546,c+112|0,c+104|0,989372);d=v[299999];v[299999]=0;if((d|0)==1){break xc}v[299999]=0;U(4547,c+120|0,c+112|0,1179020);d=v[299999];v[299999]=0;if((d|0)==1){break wc}d=v[b+68>>2];v[299999]=0;f=Q(4545,c+96|0,d|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break vc}v[299999]=0;U(4547,c+128|0,c+120|0,f|0);d=v[299999];v[299999]=0;if((d|0)==1){break uc}v[299999]=0;U(4547,c+136|0,c+128|0,1179008);d=v[299999];v[299999]=0;if((d|0)==1){break tc}v[299999]=0;Q(4606,a|0,c+136|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break sc}ec(c+136|0);ec(c+128|0);ec(f);ec(c+120|0);ec(c+112|0);ec(c+104|0);if(!w[b+65|0]){break Ga}v[299999]=0;U(4547,c+120|0,1179020,1178996);b=v[299999];v[299999]=0;if((b|0)==1){break mc}v[299999]=0;U(4546,c+128|0,c+120|0,989366);b=v[299999];v[299999]=0;if((b|0)==1){break lc}v[299999]=0;U(4547,c+136|0,c+128|0,1179008);b=v[299999];v[299999]=0;if((b|0)==1){break kc}v[299999]=0;Q(4606,a|0,c+136|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break jc}ec(c+136|0);ec(c+128|0);ec(c+120|0);break Ga}e=P()|0;O()|0;break zc}e=P()|0;O()|0;break Ac}e=P()|0;O()|0;break Bc}e=P()|0;O()|0;break Cc}e=P()|0;O()|0;ec(c+136|0)}ec(c+128|0)}ec(c+120|0)}ec(c+112|0)}ec(c+104|0);break Ea}e=P()|0;O()|0;break Ea}e=P()|0;O()|0;break nc}e=P()|0;O()|0;break oc}e=P()|0;O()|0;break pc}e=P()|0;O()|0;break qc}e=P()|0;O()|0;break rc}e=P()|0;O()|0;ec(c+136|0)}ec(c+128|0)}ec(f)}ec(c+120|0)}ec(c+112|0)}ec(c+104|0);break Ea}e=P()|0;O()|0;break Ea}e=P()|0;O()|0;break hc}e=P()|0;O()|0;break ic}e=P()|0;O()|0;ec(c+136|0)}ec(c+128|0)}ec(c+120|0);break Ea}d=v[v[b>>2]+12>>2];v[299999]=0;f=S(d|0,b|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Fa}Hc:{Ic:{Jc:{Kc:{Lc:{Mc:{Nc:{Oc:{Pc:{Qc:{Rc:{Sc:{Tc:{Uc:{if((f|0)==1){v[299999]=0;U(4547,c+104|0,1179020,1178996);d=v[299999];v[299999]=0;if((d|0)==1){break Uc}v[299999]=0;U(4546,c+112|0,c+104|0,989358);d=v[299999];v[299999]=0;if((d|0)==1){break Tc}v[299999]=0;U(4547,c+120|0,c+112|0,1179020);d=v[299999];v[299999]=0;if((d|0)==1){break Sc}b=v[b+52>>2];v[299999]=0;d=Q(4545,c+96|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Rc}v[299999]=0;U(4547,c+128|0,c+120|0,d|0);b=v[299999];v[299999]=0;if((b|0)==1){break Qc}v[299999]=0;U(4547,c+136|0,c+128|0,1179008);b=v[299999];v[299999]=0;if((b|0)==1){break Pc}v[299999]=0;Q(4606,a|0,c+136|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Oc}ec(c+136|0);ec(c+128|0);ec(d);ec(c+120|0);ec(c+112|0);ec(c+104|0)}b=v[c+160>>2];if(!b|!v[b+8>>2]){break Ga}v[299999]=0;U(4547,c+136|0,1179020,c+160|0);b=v[299999];v[299999]=0;if((b|0)==1){break Ic}v[299999]=0;Q(4606,a|0,c+136|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Hc}ec(c+136|0);break Ga}e=P()|0;O()|0;break Ea}e=P()|0;O()|0;break Jc}e=P()|0;O()|0;break Kc}e=P()|0;O()|0;break Lc}e=P()|0;O()|0;break Mc}e=P()|0;O()|0;break Nc}e=P()|0;O()|0;ec(c+136|0)}ec(c+128|0)}ec(d)}ec(c+120|0)}ec(c+112|0)}ec(c+104|0);break Ea}e=P()|0;O()|0;break Ea}e=P()|0;O()|0;ec(c+136|0);break Ea}e=P()|0;O()|0;break Ea}e=P()|0;O()|0;break Ba}ec(c+136|0)}v[299999]=0;Q(4606,a|0,1179008)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Fa}ec(c+144|0);ec(c+152|0);ec(c+160|0);ec(c+168|0);ec(c+176|0);ec(c+184|0);ec(c+192|0);ec(c+200|0);ec(c+208|0);ec(c+216|0);Qb=c+240|0;return}e=P()|0;O()|0}ec(c+144|0)}ec(a)}ec(c+152|0)}ec(c+160|0)}ec(c+168|0)}ec(c+176|0);break g}v[299999]=0;Q(4584,c+192|0,e<<24>>24)|0;d=v[299999];v[299999]=0;if((d|0)==1){break h}g=g+1|0;continue}break}e=P()|0;O()|0;break g}Vc:{Wc:{Xc:{if(g){if(v[f+8>>2]>=(g|0)?f:0){break Xc}v[299999]=0;ba(4543);a=v[299999];v[299999]=0;if((a|0)!=1){break b}e=P()|0;O()|0;break g}if(f){break Xc}e=0;break Wc}e=w[v[f+12>>2]+g|0];if((e|0)!=34){break Wc}v[299999]=0;Q(4584,c+200|0,92)|0;d=v[299999];v[299999]=0;e=34;if((d|0)==1){break Vc}}v[299999]=0;Q(4584,c+200|0,e<<24>>24)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Vc}g=g+1|0;continue}break}e=P()|0;O()|0;break g}Yc:{Zc:{_c:{if(g){if(v[e+8>>2]>=(g|0)?e:0){break _c}v[299999]=0;ba(4543);a=v[299999];v[299999]=0;if((a|0)!=1){break b}e=P()|0;O()|0;break g}if(e){break _c}e=0;break Zc}e=w[v[e+12>>2]+g|0];if((e|0)!=34){break Zc}v[299999]=0;Q(4584,c+208|0,92)|0;d=v[299999];v[299999]=0;e=34;if((d|0)==1){break Yc}}v[299999]=0;Q(4584,c+208|0,e<<24>>24)|0;d=v[299999];v[299999]=0;if((d|0)==1){break Yc}g=g+1|0;e=v[c+184>>2];continue}break}e=P()|0;O()|0}}ec(c+184|0);ec(c+192|0);ec(c+200|0);ec(c+208|0);ec(c+216|0)}T(e|0)}L()}function oS(a){var 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,u=0,w=0,x=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,R=0;v[a+72>>2]=0;a:{b:{c:{d:{while(1){b=v[a+56>>2];c=Ub[v[v[b>>2]+28>>2]](b)|0;if((c|0)==-1){break d}b=v[a+56>>2];d=Ub[v[v[b>>2]+28>>2]](b)|0;if((d|0)==-1){break d}b=v[a+56>>2];h=Ub[v[v[b>>2]+28>>2]](b)|0;if((h|0)==-1){break d}b=v[a+56>>2];g=Ub[v[v[b>>2]+28>>2]](b)|0;if((g|0)==-1){break d}v[a+68>>2]=v[a+68>>2]+4;b=v[a+56>>2];e=Ub[v[v[b>>2]+28>>2]](b)|0;if((e|0)==-1){break b}v[a+68>>2]=v[a+68>>2]+1;b=v[a+56>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break b}v[a+68>>2]=v[a+68>>2]+1;f=b>>>5|0;if((f|0)==7){f=v[a+56>>2];f=Ub[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break b}l=v[a+56>>2];l=Ub[v[v[l>>2]+28>>2]](l)|0;if((l|0)==-1){break b}i=v[a+56>>2];i=Ub[v[v[i>>2]+28>>2]](i)|0;if((i|0)==-1){break b}j=v[a+56>>2];f=(i|(f<<16|b<<24|l<<8))&536870911;b=f+9>>>3|0;if((Ub[v[v[j>>2]+48>>2]](j,b)|0)!=(b|0)){break b}}s=ed(f,4);b=g|(d<<16|c<<24|h<<8);e:{if(b>>>0<=256){c=0;if(!f){break e}while(1){d=v[a+56>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break c}v[a+68>>2]=v[a+68>>2]+1;v[(c<<2)+s>>2]=d;c=c+1|0;if((f|0)!=(c|0)){continue}break}break e}if(b>>>0>=65537){c=0;if(!f){break e}while(1){d=v[a+56>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break c}h=v[a+56>>2];h=Ub[v[v[h>>2]+28>>2]](h)|0;if((h|0)==-1){break c}g=v[a+56>>2];g=Ub[v[v[g>>2]+28>>2]](g)|0;if((g|0)==-1){break c}l=v[a+56>>2];l=Ub[v[v[l>>2]+28>>2]](l)|0;if((l|0)==-1){break c}v[a+68>>2]=v[a+68>>2]+4;v[(c<<2)+s>>2]=l|(h<<16|d<<24|g<<8);c=c+1|0;if((f|0)!=(c|0)){continue}break}break e}c=0;if(!f){break e}while(1){d=v[a+56>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break c}h=v[a+56>>2];h=Ub[v[v[h>>2]+28>>2]](h)|0;if((h|0)==-1){break c}v[a+68>>2]=v[a+68>>2]+2;v[(c<<2)+s>>2]=h|d<<8;c=c+1|0;if((f|0)!=(c|0)){continue}break}}c=v[a+56>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;f:{if(e&64){if((c|0)==-1){break c}c=v[a+56>>2];if((Ub[v[v[c>>2]+28>>2]](c)|0)==-1){break c}c=v[a+56>>2];if((Ub[v[v[c>>2]+28>>2]](c)|0)==-1){break c}d=4;c=v[a+56>>2];if((Ub[v[v[c>>2]+28>>2]](c)|0)!=-1){break f}break c}d=1;if((c|0)==-1){break c}}v[a+68>>2]=v[a+68>>2]+d;c=v[a+56>>2];d=Ub[v[v[c>>2]+28>>2]](c)|0;if((d|0)==-1){break c}c=v[a+56>>2];h=Ub[v[v[c>>2]+28>>2]](c)|0;if((h|0)==-1){break c}c=v[a+56>>2];g=Ub[v[v[c>>2]+28>>2]](c)|0;if((g|0)==-1){break c}c=v[a+56>>2];l=Ub[v[v[c>>2]+28>>2]](c)|0;if((l|0)==-1){break c}v[a+68>>2]=v[a+68>>2]+4;g:{c=e&63;if(!(v[a+40>>2]|(e&60)!=4&c-20>>>0>23)){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229836,0);break g}z=l|(h<<16|d<<24|g<<8);v[v[a+76>>2]+28>>2]=0;v[v[a+144>>2]+12>>2]=0;v[v[a+148>>2]+16>>2]=0;v[a+68>>2]=0;h:{i:{j:{k:{l:{switch(c|0){case 4:yE(a,b,0,s,f);break i;case 6:yE(a,b,1,s,f);break i;case 7:yE(a,b,1,s,f);break i;case 16:e=Qb-32|0;Qb=e;m:{n:{c=v[a+56>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;if((c|0)==-1){break n}v[a+68>>2]=v[a+68>>2]+1;f=v[a+56>>2];f=Ub[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break n}v[a+68>>2]=v[a+68>>2]+1;d=v[a+56>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break n}v[a+68>>2]=v[a+68>>2]+1;h=v[a+56>>2];g=Ub[v[v[h>>2]+28>>2]](h)|0;if((g|0)==-1){break n}h=v[a+56>>2];l=Ub[v[v[h>>2]+28>>2]](h)|0;if((l|0)==-1){break n}h=v[a+56>>2];i=Ub[v[v[h>>2]+28>>2]](h)|0;if((i|0)==-1){break n}h=v[a+56>>2];j=Ub[v[v[h>>2]+28>>2]](h)|0;if((j|0)==-1){break n}v[a+68>>2]=v[a+68>>2]+4;if(!(d?f:0)){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,228936,0);break m}h=c>>>1&3;o:{p=c&1;if(!p){m=v[(h<<2)+936896>>2];c=v[a+80>>2];p:{if((m|0)==v[c+4>>2]){Rh(c);break p}dc(Vc(c));c=fc(8);v[299999]=0;Q(3695,c|0,1<>2]=c}Ul(v[a+76>>2])}v[e+20>>2]=-3;v[e>>2]=0;v[e+4>>2]=-1;v[e+24>>2]=2;v[e+28>>2]=-2;v[e+8>>2]=-2;v[e+12>>2]=-2;v[e+16>>2]=0-f;l=j|(l<<16|g<<24|i<<8);g=l+1|0;h=Ir(a,p,B(g,f),d,h,0,0,0,e+16|0,e,z-7|0);c=fc(16);v[c+8>>2]=g;v[c>>2]=936752;v[c+4>>2]=b;v[299999]=0;b=Q(3364,g|0,4)|0;g=v[299999];v[299999]=0;if((g|0)==1){break a}v[c+12>>2]=b;b=0;g=0;while(1){i=zE(h,g,0,f,d);v[v[c+12>>2]+(b<<2)>>2]=i;g=f+g|0;b=b+1|0;if(l>>>0>=b>>>0){continue}break}Ub[v[v[h>>2]+4>>2]](h);Tc(v[a+48>>2],c);break m}break a}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,258367,0)}Qb=e+32|0;break i;case 20:xE(a,b,0,s,f);break i;case 22:xE(a,b,1,s,f);break i;case 23:xE(a,b,1,s,f);break i;case 36:wE(a,b,0,z);break i;case 38:wE(a,b,1,z);break k;case 39:wE(a,b,1,z);break i;case 40:vE(a,b,0,s,f);break i;case 42:vE(a,b,1,s,f);break i;case 43:vE(a,b,1,s,f);break i;case 48:q:{r:{b=v[a+56>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break r}e=v[a+56>>2];e=Ub[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){break r}c=v[a+56>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;if((c|0)==-1){break r}f=v[a+56>>2];f=Ub[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break r}v[a+68>>2]=v[a+68>>2]+4;v[a+24>>2]=f|(e<<16|b<<24|c<<8);b=v[a+56>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break r}e=v[a+56>>2];e=Ub[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){break r}c=v[a+56>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;if((c|0)==-1){break r}f=v[a+56>>2];f=Ub[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break r}v[a+68>>2]=v[a+68>>2]+4;v[a+28>>2]=f|(e<<16|b<<24|c<<8);b=v[a+56>>2];if((Ub[v[v[b>>2]+28>>2]](b)|0)==-1){break r}b=v[a+56>>2];if((Ub[v[v[b>>2]+28>>2]](b)|0)==-1){break r}b=v[a+56>>2];if((Ub[v[v[b>>2]+28>>2]](b)|0)==-1){break r}b=v[a+56>>2];if((Ub[v[v[b>>2]+28>>2]](b)|0)==-1){break r}v[a+68>>2]=v[a+68>>2]+4;b=v[a+56>>2];if((Ub[v[v[b>>2]+28>>2]](b)|0)==-1){break r}b=v[a+56>>2];if((Ub[v[v[b>>2]+28>>2]](b)|0)==-1){break r}b=v[a+56>>2];if((Ub[v[v[b>>2]+28>>2]](b)|0)==-1){break r}b=v[a+56>>2];if((Ub[v[v[b>>2]+28>>2]](b)|0)==-1){break r}v[a+68>>2]=v[a+68>>2]+4;b=v[a+56>>2];e=Ub[v[v[b>>2]+28>>2]](b)|0;if((e|0)==-1){break r}v[a+68>>2]=v[a+68>>2]+1;b=v[a+56>>2];f=Ub[v[v[b>>2]+28>>2]](b)|0;if((f|0)==-1){break r}b=v[a+56>>2];d=Ub[v[v[b>>2]+28>>2]](b)|0;if((d|0)==-1){break r}v[a+68>>2]=v[a+68>>2]+2;s:{b=v[a+24>>2];t:{if(!b){break t}c=v[a+28>>2];if(!c){break t}if(b>>>0<=2147483647/(b>>>0)>>>0){break s}}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,258300,0);break q}v[a+44>>2]=e>>>3&3;v[a+36>>2]=e>>>2&1;c=(c|0)==-1?(d|f<<8)&32767:c;v[a+32>>2]=c;e=fc(24);v[299999]=0;b=Z(3698,e|0,0,b|0,c|0)|0;c=v[299999];v[299999]=0;u:{if((c|0)!=1){v[a+40>>2]=e;e=B(v[b+16>>2],v[b+12>>2]);b=v[b+20>>2];if(!v[a+36>>2]){break u}ic(b,255,e);break q}a=P()|0;O()|0;dc(e);T(a|0);L()}ic(b,0,e);break q}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,258367,0)}break i;case 50:b=v[a+56>>2];N=a,R=(Ub[v[v[b>>2]+48>>2]](b,z)|0)+v[a+68>>2]|0,v[N+68>>2]=R;break i;case 51:v[a+72>>2]=1;break i;case 52:b=v[a+56>>2];N=a,R=(Ub[v[v[b>>2]+48>>2]](b,z)|0)+v[a+68>>2]|0,v[N+68>>2]=R;break i;case 53:f=b;l=0;v:{w:{b=v[a+56>>2];k=Ub[v[v[b>>2]+28>>2]](b)|0;if((k|0)==-1){break w}v[a+68>>2]=v[a+68>>2]+1;b=v[a+56>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break w}e=v[a+56>>2];e=Ub[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){break w}c=v[a+56>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;if((c|0)==-1){break w}d=v[a+56>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break w}v[a+68>>2]=v[a+68>>2]+4;h=v[a+56>>2];g=Ub[v[v[h>>2]+28>>2]](h)|0;if((g|0)==-1){break w}h=v[a+56>>2];o=Ub[v[v[h>>2]+28>>2]](h)|0;if((o|0)==-1){break w}h=v[a+56>>2];r=Ub[v[v[h>>2]+28>>2]](h)|0;if((r|0)==-1){break w}h=v[a+56>>2];q=Ub[v[v[h>>2]+28>>2]](h)|0;if((q|0)==-1){break w}v[a+68>>2]=v[a+68>>2]+4;h=v[a+144>>2];v[h+4>>2]=0;v[h+8>>2]=0;m=8;j=k>>>1&7;i=j+1|0;p=-2<>>4&7;q=r+1|0;C=-2<>2]=b;g=v[a+144>>2];e=v[g+4>>2];d=v[g+8>>2];x:{if(d>>>0>j>>>0){d=d-i|0;v[g+8>>2]=d;e=p&e>>>d;break x}v[g+8>>2]=0;e=e&(-1<>>0>=8){while(1){n=v[g>>2];n=Ub[v[v[n>>2]+28>>2]](n)|0;v[g+12>>2]=v[g+12>>2]+1;e=n&255|e<<8;d=d-8|0;if(d>>>0>7){continue}break}}if(!d){break x}n=v[g>>2];n=Ub[v[v[n>>2]+28>>2]](n)|0;v[g+4>>2]=n;w=8-d|0;v[g+8>>2]=w;v[g+12>>2]=v[g+12>>2]+1;e=(-1<>>w|e<>2]=e;g=v[a+144>>2];e=v[g+4>>2];d=v[g+8>>2];y:{if(d>>>0>r>>>0){d=d-q|0;v[g+8>>2]=d;e=C&e>>>d;break y}v[g+8>>2]=0;e=e&(-1<>>0>=8){while(1){n=v[g>>2];n=Ub[v[v[n>>2]+28>>2]](n)|0;v[g+12>>2]=v[g+12>>2]+1;e=n&255|e<<8;d=d-8|0;if(d>>>0>7){continue}break}}if(!d){break y}n=v[g>>2];n=Ub[v[v[n>>2]+28>>2]](n)|0;v[g+4>>2]=n;w=8-d|0;v[g+8>>2]=w;v[g+12>>2]=v[g+12>>2]+1;e=(-1<>>w|e<>2]=e;l=l+1|0;b=(1<(b|0)){continue}break}}b=l+3|0;g=k&1;e=b+g|0;if(e>>>0>m>>>0){h=pd(h,e,16)}v[(l<<4)+h>>2]=c-1;c=v[a+144>>2];e=v[c+4>>2];d=v[c+8>>2];z:{if(d>>>0>j>>>0){k=c;c=d-i|0;v[k+8>>2]=c;e=p&e>>>c;break z}v[c+8>>2]=0;e=e&(-1<>>0>=8){while(1){m=v[c>>2];m=Ub[v[v[m>>2]+28>>2]](m)|0;v[c+12>>2]=v[c+12>>2]+1;e=m&255|e<<8;d=d-8|0;if(d>>>0>7){continue}break}}if(!d){break z}m=v[c>>2];m=Ub[v[v[m>>2]+28>>2]](m)|0;v[c+4>>2]=m;k=8-d|0;v[c+8>>2]=k;v[c+12>>2]=v[c+12>>2]+1;e=(-1<>>k|e<>2]=-3;v[c+4>>2]=e;m=l+1|0;v[(m<<4)+h>>2]=o;c=v[a+144>>2];e=v[c+4>>2];d=v[c+8>>2];A:{if(d>>>0>j>>>0){k=c;c=d-i|0;v[k+8>>2]=c;e=p&e>>>c;break A}v[c+8>>2]=0;e=e&(-1<>>0>=8){while(1){k=v[c>>2];k=Ub[v[v[k>>2]+28>>2]](k)|0;v[c+12>>2]=v[c+12>>2]+1;e=k&255|e<<8;d=d-8|0;if(d>>>0>7){continue}break}}if(!d){break A}k=v[c>>2];k=Ub[v[v[k>>2]+28>>2]](k)|0;v[c+4>>2]=k;o=8-d|0;v[c+8>>2]=o;v[c+12>>2]=v[c+12>>2]+1;e=(-1<>>o|e<>2]=32;v[c+4>>2]=e;c=l+2|0;B:{if(!g){b=c;break B}v[(c<<4)+h>>2]=0;g=v[a+144>>2];e=v[g+4>>2];d=v[g+8>>2];C:{if(d>>>0>j>>>0){d=d-i|0;v[g+8>>2]=d;e=p&e>>>d;break C}v[g+8>>2]=0;e=e&(-1<>>0>=8){while(1){l=v[g>>2];l=Ub[v[v[l>>2]+28>>2]](l)|0;v[g+12>>2]=v[g+12>>2]+1;e=l&255|e<<8;d=d-8|0;if(d>>>0>7){continue}break}}if(!d){break C}l=v[g>>2];l=Ub[v[v[l>>2]+28>>2]](l)|0;v[g+4>>2]=l;i=8-d|0;v[g+8>>2]=i;v[g+12>>2]=v[g+12>>2]+1;e=(-1<>>i|e<>2]=-2;v[c+4>>2]=e}e=(b<<4)+h|0;v[e+8>>2]=-1;v[e>>2]=0;v[e+4>>2]=0;AE(h,b);e=v[a+48>>2];b=fc(12);v[b+8>>2]=h;v[b>>2]=936772;v[b+4>>2]=f;Tc(e,b);break v}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,258367,0)}break i;case 62:b=v[a+56>>2];N=a,R=(Ub[v[v[b>>2]+48>>2]](b,z)|0)+v[a+68>>2]|0,v[N+68>>2]=R;break i;case 0:break j;default:break l}}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,258330,0);b=v[a+56>>2];if((Ub[v[v[b>>2]+48>>2]](b,z)|0)!=(z|0)){break c}}if((c|0)!=38){break i}if((z|0)==-1){break h}break i}l=b;k=0;r=0;H=0;i=Qb-80|0;Qb=i;D:{E:{F:{G:{H:{I:{J:{K:{b=v[a+56>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;L:{if((b|0)==-1){break L}e=v[a+56>>2];u=Ub[v[v[e>>2]+28>>2]](e)|0;if((u|0)==-1){break L}v[a+68>>2]=v[a+68>>2]+2;F=u|b<<8;g=F>>>10&3;h=u&1;M:{if(h){break M}b=v[a+56>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if(!g){if((b|0)==-1){break L}v[a+68>>2]=v[a+68>>2]+1;v[i+64>>2]=b&128?b|-256:b;b=v[a+56>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break L}v[a+68>>2]=v[a+68>>2]+1;v[i+48>>2]=b&128?b|-256:b;b=v[a+56>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break L}v[a+68>>2]=v[a+68>>2]+1;v[i+68>>2]=b&128?b|-256:b;b=v[a+56>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break L}v[a+68>>2]=v[a+68>>2]+1;v[i+52>>2]=b&128?b|-256:b;b=v[a+56>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break L}v[a+68>>2]=v[a+68>>2]+1;v[i+72>>2]=b&128?b|-256:b;b=v[a+56>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break L}v[a+68>>2]=v[a+68>>2]+1;v[i+56>>2]=b&128?b|-256:b;b=v[a+56>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break L}v[a+68>>2]=v[a+68>>2]+1;v[i+76>>2]=b&128?b|-256:b;b=v[a+56>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break L}v[a+68>>2]=v[a+68>>2]+1;v[i+60>>2]=b&128?b|-256:b;break M}if((b|0)==-1){break L}v[a+68>>2]=v[a+68>>2]+1;v[i+64>>2]=b&128?b|-256:b;b=v[a+56>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break L}v[a+68>>2]=v[a+68>>2]+1;v[i+48>>2]=b&128?b|-256:b}w=F>>>12&1;E=u>>>1&1;if(!(w|!E)){b=v[a+56>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break L}v[a+68>>2]=v[a+68>>2]+1;v[i+40>>2]=b&128?b|-256:b;b=v[a+56>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break L}v[a+68>>2]=v[a+68>>2]+1;v[i+32>>2]=b&128?b|-256:b;b=v[a+56>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break L}v[a+68>>2]=v[a+68>>2]+1;v[i+44>>2]=b&128?b|-256:b;b=v[a+56>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break L}v[a+68>>2]=v[a+68>>2]+1;v[i+36>>2]=b&128?b|-256:b}b=v[a+56>>2];I=Ub[v[v[b>>2]+28>>2]](b)|0;if((I|0)==-1){break L}b=v[a+56>>2];J=Ub[v[v[b>>2]+28>>2]](b)|0;if((J|0)==-1){break L}b=v[a+56>>2];K=Ub[v[v[b>>2]+28>>2]](b)|0;if((K|0)==-1){break L}b=v[a+56>>2];M=Ub[v[v[b>>2]+28>>2]](b)|0;if((M|0)==-1){break L}v[a+68>>2]=v[a+68>>2]+4;b=v[a+56>>2];e=Ub[v[v[b>>2]+28>>2]](b)|0;if((e|0)==-1){break L}b=v[a+56>>2];p=Ub[v[v[b>>2]+28>>2]](b)|0;if((p|0)==-1){break L}b=v[a+56>>2];m=Ub[v[v[b>>2]+28>>2]](b)|0;if((m|0)==-1){break L}b=v[a+56>>2];G=Ub[v[v[b>>2]+28>>2]](b)|0;if((G|0)==-1){break L}v[a+68>>2]=v[a+68>>2]+4;n=fc(16);v[299999]=0;d=S(3315,n|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break G}N:{if(f){while(1){b=v[(k<<2)+s>>2];O:{P:{c=v[a+52>>2];o=v[c+8>>2];if((o|0)>=1){q=v[c>>2];c=0;while(1){j=v[q+(c<<2)>>2];if((b|0)==v[j+4>>2]){break P}c=c+1|0;if((o|0)!=(c|0)){continue}break}}c=v[a+48>>2];o=v[c+8>>2];if((o|0)<1){break O}q=v[c>>2];c=0;while(1){j=v[q+(c<<2)>>2];if((b|0)==v[j+4>>2]){break P}c=c+1|0;if((o|0)!=(c|0)){continue}break}break O}if((Ub[v[v[j>>2]+8>>2]](j)|0)==1){b=v[j+8>>2];if((b|0)<0|2147483647-b>>>0>>0){break N}r=b+r|0;break O}if((Ub[v[v[j>>2]+8>>2]](j)|0)!=3){break O}Tc(d,j)}k=k+1|0;if((k|0)!=(f|0)){continue}break}}p=p<<16|e<<24|m<<8|G;if((p|0)<0|2147483647-p>>>0>>0){break N}C=p+r|0;Q:{if(C>>>0<=1){e=h;break Q}c=C-1|0;e=0;while(1){e=e+1|0;b=c>>>0>1;c=c>>>1|0;if(b){continue}break}}o=ed(C,4);if(C){ic(o,0,C<<2)}m=0;R:{if(!f){b=0;break R}q=0;b=0;while(1){k=v[(q<<2)+s>>2];S:{T:{c=v[a+52>>2];x=v[c+8>>2];if((x|0)>=1){A=v[c>>2];j=0;while(1){c=v[A+(j<<2)>>2];if((k|0)==v[c+4>>2]){break T}j=j+1|0;if((x|0)!=(j|0)){continue}break}}c=v[a+48>>2];x=v[c+8>>2];if((x|0)<1){break S}A=v[c>>2];j=0;while(1){c=v[A+(j<<2)>>2];if((k|0)==v[c+4>>2]){break T}j=j+1|0;if((x|0)!=(j|0)){continue}break}break S}if((Ub[v[v[c>>2]+8>>2]](c)|0)!=1){break S}b=v[c+8>>2];U:{if(!b){break U}k=b&3;j=0;if(b-1>>>0>=3){b=b&-4;while(1){x=o+(m<<2)|0;A=j<<2;v[x>>2]=v[A+v[c+12>>2]>>2];v[x+4>>2]=v[v[c+12>>2]+(A|4)>>2];v[x+8>>2]=v[v[c+12>>2]+(A|8)>>2];v[x+12>>2]=v[v[c+12>>2]+(A|12)>>2];j=j+4|0;m=m+4|0;b=b-4|0;if(b){continue}break}}if(!k){break U}while(1){v[o+(m<<2)>>2]=v[v[c+12>>2]+(j<<2)>>2];j=j+1|0;m=m+1|0;k=k-1|0;if(k){continue}break}}b=c}q=q+1|0;if((q|0)!=(f|0)){continue}break}}A=0;q=0;x=0;V:{if(!h){break V}x=1118816;W:{X:{Y:{c=u>>>2&3;switch(c|0){case 0:break W;case 1:break Y;default:break X}}c=0;x=1118928;break W}if(!v[d+8>>2]){break K}x=v[v[v[n>>2]>>2]+8>>2];c=1}q=1118528;Z:{_:{switch(u>>>4&3){case 1:q=1118656;break Z;case 0:break Z;default:break _}}if(y[d+8>>2]<=c>>>0){break K}q=v[v[v[d>>2]+(c<<2)>>2]+8>>2];c=c+1|0}A=1118448;$:{if(!(u&64)){H=1118448;break $}if(y[d+8>>2]<=c>>>0){break K}H=v[v[v[d>>2]+(c<<2)>>2]+8>>2];c=c+1|0}if(!(u&128)){break V}if(c>>>0>=y[d+8>>2]){break K}A=v[v[v[d>>2]+(c<<2)>>2]+8>>2]}j=F>>>8&1;Vc(d);dc(n);aa:{ba:{ca:{if(!h){m=0;c=a;f=g;d=0;da:{if(!j){break da}d=0;if(!b){break da}d=v[b+16>>2]}uE(c,f,d);nS(a,e);Ul(v[a+76>>2]);u=1;n=1;if(E){break ca}break aa}c=v[a+144>>2];v[c+4>>2]=0;v[c+8>>2]=0;if(!E){break ba}}ea:{if(!(!j|!b)){dy(a,w,v[b+20>>2]);break ea}dy(a,w,0)}u=0;n=1;m=0;break aa}n=0;u=1;m=ed(p,4)}if(p){b=0;j=0;while(1){f=b;fa:{if(h){Eh(v[a+144>>2],i+28|0,x);break fa}Gi(v[a+76>>2],i+28|0,v[a+88>>2])}c=218410;ga:{d=v[i+28>>2];if(!((d|0)<=0&0-d>>>0>=j>>>0|d>>>0>(j^-1)>>>0&(d|0)>=1)){j=d+j|0;if(j>>>0<=1e5){break ga}c=218460}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,c,0);break J}E=f>>>0>p>>>0?f:p;c=0;k=0;ha:{ia:{while(1){ja:{if(h){if(Eh(v[a+144>>2],i+24|0,q)){break ja}break ia}if(!Gi(v[a+76>>2],i+24|0,v[a+92>>2])){break ia}}d=v[i+24>>2];if(!((d|0)<=0&0-d>>>0>=c>>>0)){if((b|0)==(E|0)){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,218166,0);if(p){break J}break I}c=c+d|0;if(c>>>0>=100001){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,218513,0);if(p){break J}break I}if(!n){v[(b<<2)+m>>2]=c;k=c+k|0;b=b+1|0;continue}if(!u){ka:{la:{if(h){if(!Eh(v[a+144>>2],i+20|0,A)){break ha}d=v[i+20>>2];if((d|0)!=1){break ka}d=Kr(v[a+144>>2],e);Eh(v[a+144>>2],i+16|0,1121408);Eh(v[a+144>>2],i+12|0,1121408);Eh(v[a+144>>2],i+8|0,1118448);D=v[a+144>>2];v[D+4>>2]=0;v[D+8>>2]=0;Ul(v[a+76>>2]);break la}if(!Gi(v[a+76>>2],i+20|0,v[a+100>>2])){break ha}d=v[i+20>>2];if((d|0)!=1){break ka}d=sS(v[a+76>>2],e,v[a+140>>2]);Gi(v[a+76>>2],i+16|0,v[a+120>>2]);Gi(v[a+76>>2],i+12|0,v[a+124>>2])}D=b+r|0;if(D>>>0<=d>>>0){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,218611,0);if(p){break J}break I}N=o+(D<<2)|0,R=tE(a,c,j,w,0,v[o+(d<<2)>>2],v[i+16>>2],v[i+12>>2],i+40|0,i+32|0),v[N>>2]=R;b=b+1|0;continue}D=b+r|0;N=o+(D<<2)|0,R=sE(a,h,1,c,j,d,0,D,0,e,o,0,0,0,1,0,1119072,1119568,1120640,1121408,1121408,1121408,1121408,1118448,w,i+40|0,i+32|0),v[N>>2]=R;b=b+1|0;continue}N=o+(b+r<<2)|0,R=Ir(a,0,c,j,g,0,0,0,i- -64|0,i+48|0,0),v[N>>2]=R;b=b+1|0;continue}break}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,218410,0);if(p){break J}break I}if(n){break ha}if(!k){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,218356,0);if(p){break J}break I}Eh(v[a+144>>2],i+8|0,H);c=v[a+144>>2];v[c+4>>2]=0;v[c+8>>2]=0;c=v[i+8>>2];ma:{if(!c){c=fc(24);v[299999]=0;d=Z(3698,c|0,0,k|0,j|0)|0;E=v[299999];v[299999]=0;if((E|0)!=1){c=B(k+7>>>3|0,j);v[i+8>>2]=c;k=v[a+56>>2];N=a,R=(Ub[v[v[k>>2]+40>>2]](k,v[d+20>>2],c)|0)+v[a+68>>2]|0,v[N+68>>2]=R;break ma}f=P()|0;O()|0;dc(c);break E}d=Ir(a,1,k,j,0,0,0,0,0,0,c)}c=0;if(b>>>0>f>>>0){while(1){k=(f<<2)+m|0;N=o+(f+r<<2)|0,R=zE(d,c,0,v[k>>2],j),v[N>>2]=R;c=v[k>>2]+c|0;f=f+1|0;if((f|0)!=(b|0)){continue}break}}if(!d){break ha}Ub[v[v[d>>2]+4>>2]](d)}if(b>>>0

>>0){continue}break}}b=0;g=fc(24);v[299999]=0;j=J<<16|I<<24|K<<8|M;l=Y(3699,g|0,l|0,j|0)|0;c=v[299999];v[299999]=0;e=1;if((c|0)==1){break F}na:{oa:{if(C){d=0;q=0;while(1){pa:{if(h){Eh(v[a+144>>2],i+4|0,1118448);break pa}Gi(v[a+76>>2],i+4|0,v[a+96>>2])}c=e;e=v[i+4>>2];if(!(c|e)){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,218110,0);Ub[v[v[g>>2]+4>>2]](l);if(p){break J}break I}c=e+d|0;if(c>>>0>C>>>0){break oa}qa:{if(!q){d=c;break qa}if(j>>>0>>0){break oa}n=0;f=b;if((e|0)<=0){break qa}while(1){e=v[o+(d<<2)>>2];b=fc(24);v[b>>2]=936712;v[b+4>>2]=0;w=v[e+8>>2];v[b+8>>2]=w;c=v[e+12>>2];v[b+12>>2]=c;k=v[e+16>>2];v[b+16>>2]=k;ra:{if(!((w|0)<1|(c|0)<1|(k|0)<1)){if((2147483646/(k>>>0)|0)>(c|0)){break ra}}v[b+12>>2]=-1;v[b+16>>2]=2;c=-1;k=2}v[299999]=0;k=B(c,k);c=S(3693,k+1|0)|0;w=v[299999];v[299999]=0;if((w|0)==1){f=P()|0;O()|0;dc(b);break E}d=d+1|0;v[b+20>>2]=c;gc(c,v[e+20>>2],k);t[v[b+20>>2]+B(v[b+16>>2],v[b+12>>2])|0]=0;v[v[l+12>>2]+(f<<2)>>2]=b;b=f+1|0;f=b;e=v[i+4>>2];n=n+1|0;if((e|0)>(n|0)){continue}break}}q=q^1;if(d>>>0>>0){continue}break}}if((b|0)!=(j|0)){break na}sa:{if(!p){break sa}b=G&1;e=0;if((p|0)!=1){c=p-b|0;while(1){f=v[o+(e+r<<2)>>2];if(f){Ub[v[v[f>>2]+4>>2]](f)}f=v[o+((e|1)+r<<2)>>2];if(f){Ub[v[v[f>>2]+4>>2]](f)}e=e+2|0;c=c-2|0;if(c){continue}break}}if(!b){break sa}b=v[o+(e+r<<2)>>2];if(!b){break sa}Ub[v[v[b>>2]+4>>2]](b)}uc(o);if(m){uc(m)}ta:{if((F&513)!=512){break ta}N=l,R=hy(v[a+80>>2]),v[N+16>>2]=R;if(u){break ta}N=l,R=hy(v[a+84>>2]),v[N+20>>2]=R}Tc(v[a+48>>2],g);e=1;break H}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,218303,0);Ub[v[v[g>>2]+4>>2]](l);if(p){break J}break I}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,218210,0);Ub[v[v[g>>2]+4>>2]](l);if(p){break J}break I}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,218253,0);Vc(d);dc(n)}e=0;kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,258367,0);break H}m=0;kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,218565,0);Vc(d);dc(n);if(!p){break I}}e=G&1;f=0;if((p|0)!=1){b=p-e|0;while(1){c=v[o+(f+r<<2)>>2];if(c){Ub[v[v[c>>2]+4>>2]](c)}c=v[o+((f|1)+r<<2)>>2];if(c){Ub[v[v[c>>2]+4>>2]](c)}f=f+2|0;b=b-2|0;if(b){continue}break}}if(!e){break I}b=v[o+(f+r<<2)>>2];if(!b){break I}Ub[v[v[b>>2]+4>>2]](b)}uc(o);e=0;if(!m){break H}uc(m)}Qb=i+80|0;break D}f=P()|0;O()|0;dc(n);break E}f=P()|0;O()|0;dc(g)}T(f|0);L()}if(!e){break g}}b=v[v[a+148>>2]+16>>2]+(v[v[a+144>>2]+12>>2]+(v[a+68>>2]+v[v[a+76>>2]+28>>2]|0)|0)|0;v[a+68>>2]=b;ua:{if(b>>>0<=z>>>0){b=z-b|0;if(b>>>0<65537){break ua}}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,258261,0);break g}e=v[a+56>>2];N=a,R=(Ub[v[v[e>>2]+48>>2]](e,b)|0)+v[a+68>>2]|0,v[N+68>>2]=R}uc(s);if(!v[a+72>>2]){continue}break d}break}uc(s)}return}uc(s)}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,258367,0);return}a=P()|0;O()|0;dc(c);T(a|0);L()}function wF(a){var 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;a:{if(v[a+292>>2]){break a}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break a}nd(a)}e=v[v[a+36>>2]+16>>2];b:{if(w[e|0]!=60){break b}b=w[e+1|0];if((b|0)!=63){if((b|0)!=33){break b}c:{switch(w[e+2|0]-45|0){case 24:d:{switch(w[e+3|0]-76|0){case 0:d=Qb-16|0;Qb=d;v[d+12>>2]=0;f=v[a+36>>2];e=v[f+16>>2];e:{if(w[e|0]!=60|w[e+1|0]!=33|(w[e+2|0]!=69|w[e+3|0]!=76)){break e}if(w[e+4|0]!=69|w[e+5|0]!=77|(w[e+6|0]!=69|w[e+7|0]!=78)){break e}if(w[e+8|0]!=84){break e}v[a+200>>2]=v[a+200>>2]+9;v[f+16>>2]=e+9;v[f+32>>2]=v[f+32>>2]+9;b=f;e=w[e+9|0];if((e|0)==37){wd(a);b=v[a+36>>2];e=w[v[b+16>>2]]}f:{if(e){break f}if((cd(b)|0)>0){break f}vd(a)}b=w[v[v[a+36>>2]+16>>2]]-9|0;if(!(1<>>0<=23:0)){Nd(a,65,356357);break e}Bd(a);g:{h:{j=nh(a);if(j){while(1){b=w[v[v[a+36>>2]+16>>2]];if(b){b=b-9|0;if(b>>>0>23){break h}if(1<>2]<2){break h}vd(a);continue}}Nd(a,68,348166);break e}Nd(a,65,352498)}Bd(a);i:{j:{k:{l:{m:{n:{b=v[a+36>>2];e=v[b+16>>2];switch(w[e|0]-37|0){case 3:break j;case 0:break l;case 28:break m;case 32:break n;default:break k}}if(w[e+1|0]!=77|w[e+2|0]!=80|(w[e+3|0]!=84|w[e+4|0]!=89)){break k}v[a+200>>2]=v[a+200>>2]+5;v[b+16>>2]=e+5;v[b+32>>2]=v[b+32>>2]+5;c=1;e=w[e+5|0];if((e|0)==37){wd(a);b=v[a+36>>2];e=w[v[b+16>>2]]}if(e){break i}if((cd(b)|0)>0){break i}vd(a);break i}if(w[e+1|0]!=78|w[e+2|0]!=89){break k}v[a+200>>2]=v[a+200>>2]+3;v[b+16>>2]=e+3;v[b+32>>2]=v[b+32>>2]+3;c=2;e=w[e+3|0];if((e|0)==37){wd(a);b=v[a+36>>2];e=w[v[b+16>>2]]}if(e){break i}if((cd(b)|0)>0){break i}vd(a);break i}if(v[a+96>>2]|v[a+40>>2]!=1){break k}Nd(a,21,348785);break e}Nd(a,54,353447);break e}e=0;k=v[v[a+36>>2]+56>>2];v[d+12>>2]=0;o:{if(w[v[v[a+36>>2]+16>>2]]!=40){hf(a,54,353401,j);b=-1;break o}xd(a);p:{if(v[a+292>>2]){break p}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break p}nd(a)}b=-1;if(v[a+172>>2]!=-1){Bd(a);q:{r:{b=v[v[a+36>>2]+16>>2];if(w[b|0]!=35|w[b+1|0]!=80|(w[b+2|0]!=67|w[b+3|0]!=68)){break r}if(w[b+4|0]!=65|w[b+5|0]!=84|w[b+6|0]!=65){break r}h=Qb-32|0;Qb=h;s:{if(v[a+292>>2]){break s}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break s}nd(a)}t:{u:{c=v[a+36>>2];b=v[c+16>>2];if(w[b|0]!=35|w[b+1|0]!=80|(w[b+2|0]!=67|w[b+3|0]!=68)){break u}if(w[b+4|0]!=65|w[b+5|0]!=84|w[b+6|0]!=65){break u}v[a+200>>2]=v[a+200>>2]+7;v[c+16>>2]=b+7;v[c+32>>2]=v[c+32>>2]+7;b=w[b+7|0];if((b|0)==37){wd(a);c=v[a+36>>2];b=w[v[c+16>>2]]}v:{if(b&255){break v}if((cd(c)|0)>0){break v}vd(a)}Bd(a);w:{if(v[a+292>>2]){break w}c=v[a+36>>2];b=v[c+16>>2];if((b-v[c+12>>2]|0)<501|(v[c+20>>2]-b|0)>499){break w}Vr(a)}x:{y:{z:{A:{c=v[a+36>>2];b=w[v[c+16>>2]];switch(b-40|0){case 0:break y;case 1:break A;default:break z}}if(!(!v[a+104>>2]|(k|0)==v[c+56>>2])){Xi(a,90,347330,0,0)}xd(a);b=0;e=Xp(v[a+8>>2],0,1);if(!e){break t}if(w[v[v[a+36>>2]+16>>2]]!=42){b=e;break t}v[e+4>>2]=3;xd(a);b=e;break t}if((b|0)!=124){break x}}b=0;e=Xp(v[a+8>>2],0,1);if(!e){break t}}c=e;B:{while(1){C:{g=v[v[a+36>>2]+16>>2];b=w[g|0];if((b|0)!=124){if((b|0)!=41|w[g+1|0]!=42){break B}D:{if(!i){break D}b=Xp(v[a+8>>2],i,2);v[c+16>>2]=b;if(!b){break D}v[b+20>>2]=c}if(e){v[e+4>>2]=3}if(!(!v[a+104>>2]|(k|0)==v[v[a+36>>2]+56>>2])){Xi(a,90,347330,0,0)}v[a+200>>2]=v[a+200>>2]+2;b=v[a+36>>2];v[b+32>>2]=v[b+32>>2]+2;c=v[b+16>>2];v[b+16>>2]=c+2;c=w[c+2|0];if((c|0)==37){wd(a);b=v[a+36>>2];c=w[v[b+16>>2]]}if(!(c&255)){break C}b=e;break t}if(v[a+172>>2]==-1){break B}xd(a);E:{if(!i){b=0;e=Xp(v[a+8>>2],0,4);if(!e){break t}v[e+12>>2]=c;if(!c){b=e;break E}v[c+20>>2]=e;b=e;break E}b=Ub[v[259704]](28)|0;if(!b){v[h>>2]=291415;b=0;oc(0,0,0,0,0,23,2,3,291415,0,0,0,350051,h);break t}v[b>>2]=4;v[b+4>>2]=1;v[b+8>>2]=0;v[b+12>>2]=0;v[b+24>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;g=Xp(v[a+8>>2],i,2);v[b+12>>2]=g;if(g){v[g+20>>2]=b}v[c+16>>2]=b;v[b+20>>2]=c}Bd(a);i=nh(a);if(!i){Nd(a,68,353269);oh(v[a+8>>2],b);b=0;break t}Bd(a);c=b;if(v[a+292>>2]){continue}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){continue}nd(a);continue}break}if((cd(b)|0)>0){b=e;break t}vd(a);b=e;break t}oh(v[a+8>>2],e);b=0;te(a,52,0);break t}if(!(!v[a+212>>2]|v[a+172>>2]!=-1)){b=0;break t}v[a+84>>2]=69;v[h+16>>2]=289693;b=0;oc(0,0,0,a,0,1,69,3,0,0,0,0,350078,h+16|0);v[a+12>>2]=0;if(v[a+288>>2]){break t}v[a+212>>2]=1}Qb=h+32|0;e=b;b=3;break q}e=xF(a,k,1);b=4}Bd(a);v[d+12>>2]=e}}c=b}Bd(a);F:{if(w[v[v[a+36>>2]+16>>2]]){break F}while(1){if(v[a+40>>2]<2){break F}vd(a);if(!w[v[v[a+36>>2]+16>>2]]){continue}break}}Bd(a);b=v[a+36>>2];if(w[v[b+16>>2]]!=62){te(a,73,0);b=v[d+12>>2];if(!b){break e}oh(v[a+8>>2],b);break e}if((b|0)!=(f|0)){Nd(a,90,347401)}xd(a);G:{b=v[a>>2];if(v[a+212>>2]|!b){break G}b=v[b+36>>2];if(!b){break G}e=v[d+12>>2];if(!e){Ub[b|0](v[a+4>>2],j,c,0);break e}v[e+20>>2]=0;Ub[b|0](v[a+4>>2],j,c,e);if(v[e+20>>2]){break e}oh(v[a+8>>2],e);break e}b=v[d+12>>2];if(!b){break e}oh(v[a+8>>2],b)}Qb=d+16|0;break b;case 2:break d;default:break b}}d=Qb-16|0;Qb=d;v[d+12>>2]=0;v[d+8>>2]=0;e=v[a+36>>2];c=v[e+16>>2];H:{if(w[c|0]!=60|w[c+1|0]!=33|(w[c+2|0]!=69|w[c+3|0]!=78)){break H}if(w[c+4|0]!=84|w[c+5|0]!=73|(w[c+6|0]!=84|w[c+7|0]!=89)){break H}I:{if(v[a+292>>2]){b=e;break I}if((c-v[e+12>>2]|0)<501){b=e;break I}b=e;if((v[b+20>>2]-c|0)>499){break I}Vr(a);b=v[a+36>>2];c=v[b+16>>2]}v[a+200>>2]=v[a+200>>2]+8;v[b+16>>2]=c+8;v[b+32>>2]=v[b+32>>2]+8;c=w[c+8|0];if((c|0)==37){wd(a);b=v[a+36>>2];c=w[v[b+16>>2]]}J:{if(c&255){break J}if((cd(b)|0)>0){break J}vd(a)}if(!Bd(a)){Nd(a,65,356290)}k=w[v[v[a+36>>2]+16>>2]];K:{if((k|0)!=37){break K}xd(a);if(Bd(a)){break K}Nd(a,65,356672)}h=nh(a);if(!h){Nd(a,68,352577);break H}if(uo(h,58)){_l(a,205,355880,h,0)}if(!Bd(a)){Nd(a,65,352460)}v[a+172>>2]=10;b=w[v[v[a+36>>2]+16>>2]];L:{if((k|0)==37){M:{switch(b-34|0){case 0:case 5:c=BU(a,d+8|0);if(!c){b=0;c=0;break L}b=v[a>>2];if(!b){b=0;break L}if(v[a+212>>2]){b=0;break L}b=v[b+24>>2];if(!b){b=0;break L}Ub[b|0](v[a+4>>2],h,4,0,0,c);b=0;break L;default:break M}}b=Cy(a,d+12|0,1);j=v[d+12>>2];if(!(b|j)){te(a,84,0)}c=0;if(!b){b=0;break L}g=_r(b);if(!g){Wr(a,91,349986,b);break L}if(v[g+32>>2]){te(a,92,0);pj(g);break L}f=v[a>>2];N:{if(v[a+212>>2]|!f){break N}f=v[f+24>>2];if(!f){break N}Ub[f|0](v[a+4>>2],h,5,j,b,0)}pj(g);break L}O:{switch(b-34|0){case 0:case 5:c=BU(a,d+8|0);b=v[a>>2];P:{if(v[a+212>>2]|!b){break P}b=v[b+24>>2];if(!b){break P}Ub[b|0](v[a+4>>2],h,1,0,0,c)}b=v[a+8>>2];Q:{if(b){if(!ag(v[b+56>>2],228819)){b=0;break L}b=v[a+8>>2];if(b){break Q}}b=qo(228819);v[a+8>>2]=b;if(!b){Qd(a,291463);break H}v[b+92>>2]=64}if(!v[b+44>>2]){b=Yy(b,283061,0,0);v[v[a+8>>2]+44>>2]=b}YF(a,h,1,0,0,c);b=0;break L;default:break O}}b=Cy(a,d+12|0,1);j=v[d+12>>2];if(!(b|j)){te(a,84,0)}R:{if(!b){break R}c=_r(b);if(!c){Wr(a,91,349986,b);break R}if(v[c+32>>2]){te(a,92,0)}pj(c)}f=w[v[v[a+36>>2]+16>>2]];c=f-9|0;if(!((1<>>0<=23:0)|(f|0)==62)){Nd(a,65,356580)}Bd(a);S:{i=v[a+36>>2];c=v[i+16>>2];if(w[c|0]!=78|w[c+1|0]!=68|(w[c+2|0]!=65|w[c+3|0]!=84)){break S}if(w[c+4|0]!=65){break S}v[a+200>>2]=v[a+200>>2]+5;v[i+16>>2]=c+5;v[i+32>>2]=v[i+32>>2]+5;c=w[c+5|0];if((c|0)==37){wd(a);i=v[a+36>>2];c=w[v[i+16>>2]]}T:{if(c&255){break T}if((cd(i)|0)>0){break T}vd(a)}c=w[v[v[a+36>>2]+16>>2]]-9|0;if(!(1<>>0<=23:0)){Nd(a,65,356550)}Bd(a);g=nh(a);c=0;f=v[a>>2];if(v[a+212>>2]|!f){break L}f=v[f+40>>2];if(!f){break L}Ub[f|0](v[a+4>>2],h,j,b,g);break L}c=v[a>>2];U:{if(v[a+212>>2]|!c){break U}c=v[c+24>>2];if(!c){break U}Ub[c|0](v[a+4>>2],h,2,j,b,0)}c=0;if(!v[a+16>>2]){break L}f=v[a+8>>2];V:{if(f){if(!ag(v[f+56>>2],228819)){break L}c=v[a+8>>2];if(c){break V}}c=qo(228819);v[a+8>>2]=c;if(!c){Qd(a,291463);break H}v[c+92>>2]=64}if(!v[c+44>>2]){c=Yy(c,283061,0,0);v[v[a+8>>2]+44>>2]=c}c=0;YF(a,h,2,j,b,0)}if(v[a+172>>2]==-1){break H}Bd(a);f=v[a+36>>2];W:{if(w[v[f+16>>2]]!=62){hf(a,37,353615,h);el(a);break W}if((e|0)!=(f|0)){Nd(a,90,347198)}xd(a)}X:{if(!v[d+8>>2]){break X}e=v[a>>2];Y:{Z:{_:{if((k|0)==37){if(!e){break Y}e=v[e+96>>2];if(!e){break Y}e=Ub[e|0](v[a+4>>2],h)|0;break _}$:{if(!e){break $}e=v[e+20>>2];if(!e){break $}e=Ub[e|0](v[a+4>>2],h)|0;if(e){break Z}}if(v[a+4>>2]!=(a|0)){break Y}e=az(a,h)}if(!e){break Y}}if(v[e+36>>2]){Ub[v[259708]](v[d+8>>2]);break X}v[e+36>>2]=v[d+8>>2];break X}Ub[v[259708]](v[d+8>>2])}if(c){Ub[v[259708]](c)}if(b){Ub[v[259708]](b)}if(!j){break H}Ub[v[259708]](j)}Qb=d+16|0;break b;case 20:l=Qb-16|0;Qb=l;d=a;k=v[a+36>>2];e=v[k+16>>2];aa:{if(w[e|0]!=60|w[e+1|0]!=33|(w[e+2|0]!=65|w[e+3|0]!=84)){break aa}if(w[e+4|0]!=84|w[e+5|0]!=76|(w[e+6|0]!=73|w[e+7|0]!=83)){break aa}if(w[e+8|0]!=84){break aa}v[d+200>>2]=v[d+200>>2]+9;v[k+16>>2]=e+9;v[k+32>>2]=v[k+32>>2]+9;b=k;e=w[e+9|0];if((e|0)==37){wd(d);b=v[d+36>>2];e=w[v[b+16>>2]]}ba:{if(e&255){break ba}if((cd(b)|0)>0){break ba}vd(d)}b=w[v[v[d+36>>2]+16>>2]]-9|0;if(!(1<>>0<=23:0)){Nd(d,65,356323)}Bd(d);m=nh(d);if(!m){Nd(d,68,348208);break aa}Bd(d);ca:{if(v[d+292>>2]){break ca}b=v[d+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break ca}nd(d)}b=v[d+36>>2];i=v[b+16>>2];da:{if(w[i|0]==62){break da}while(1){if(v[d+172>>2]==-1){break da}v[l+8>>2]=0;if(!(v[d+292>>2]|(v[b+20>>2]-i|0)>249)){nd(d)}v[l+12>>2]=0;n=nh(d);if(!n){Nd(d,68,352171);break da}ea:{if(v[d+292>>2]){break ea}b=v[d+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break ea}nd(d)}b=w[v[v[d+36>>2]+16>>2]]-9|0;if(!(1<>>0<=23:0)){Nd(d,65,352764);break da}Bd(d);fa:{if(v[d+292>>2]){break fa}e=v[d+36>>2];b=v[e+16>>2];if((b-v[e+12>>2]|0)<501|(v[e+20>>2]-b|0)>499){break fa}bh(e);b=v[d+36>>2];if(w[v[b+16>>2]]){break fa}if((cd(b)|0)>0){break fa}vd(d)}ga:{ha:{ia:{ja:{ka:{la:{b=v[d+36>>2];c=v[b+16>>2];switch(w[c|0]-67|0){case 11:break ia;case 2:break ja;case 6:break ka;case 0:break la;default:break ha}}if(w[c+1|0]!=68|w[c+2|0]!=65|(w[c+3|0]!=84|w[c+4|0]!=65)){break ha}v[d+200>>2]=v[d+200>>2]+5;v[b+16>>2]=c+5;v[b+32>>2]=v[b+32>>2]+5;e=1;c=w[c+5|0];if((c|0)==37){wd(d);b=v[d+36>>2];c=w[v[b+16>>2]]}if(c){break ga}if((cd(b)|0)>0){break ga}vd(d);break ga}if(w[c+1|0]!=68){break ha}if(!(w[c+2|0]!=82|w[c+3|0]!=69|(w[c+4|0]!=70|w[c+5|0]!=83))){v[d+200>>2]=v[d+200>>2]+6;v[b+16>>2]=c+6;v[b+32>>2]=v[b+32>>2]+6;e=4;c=w[c+6|0];if((c|0)==37){wd(d);b=v[d+36>>2];c=w[v[b+16>>2]]}if(c){break ga}if((cd(b)|0)>0){break ga}vd(d);break ga}if(!(w[c+2|0]!=82|w[c+3|0]!=69|w[c+4|0]!=70)){v[d+200>>2]=v[d+200>>2]+5;v[b+16>>2]=c+5;v[b+32>>2]=v[b+32>>2]+5;e=3;c=w[c+5|0];if((c|0)==37){wd(d);b=v[d+36>>2];c=w[v[b+16>>2]]}if(c){break ga}if((cd(b)|0)>0){break ga}vd(d);break ga}e=2;v[d+200>>2]=v[d+200>>2]+2;v[b+16>>2]=c+2;v[b+32>>2]=v[b+32>>2]+2;c=w[c+2|0];if((c|0)==37){wd(d);b=v[d+36>>2];c=w[v[b+16>>2]]}if(c){break ga}if((cd(b)|0)>0){break ga}vd(d);break ga}if(w[c+1|0]!=78){break ha}if(!(w[c+2|0]!=84|w[c+3|0]!=73|(w[c+4|0]!=84|w[c+5|0]!=89))){v[d+200>>2]=v[d+200>>2]+6;v[b+16>>2]=c+6;v[b+32>>2]=v[b+32>>2]+6;e=5;c=w[c+6|0];if((c|0)==37){wd(d);b=v[d+36>>2];c=w[v[b+16>>2]]}if(c){break ga}if((cd(b)|0)>0){break ga}vd(d);break ga}if(w[c+2|0]!=84|w[c+3|0]!=73|(w[c+4|0]!=84|w[c+5|0]!=73)){break ha}if(w[c+6|0]!=69|w[c+7|0]!=83){break ha}v[d+200>>2]=v[d+200>>2]+8;v[b+16>>2]=c+8;v[b+32>>2]=v[b+32>>2]+8;e=6;c=w[c+8|0];if((c|0)==37){wd(d);b=v[d+36>>2];c=w[v[b+16>>2]]}if(c){break ga}if((cd(b)|0)>0){break ga}vd(d);break ga}if(w[c+1|0]!=77){break ha}ma:{if(w[c+2|0]!=84|w[c+3|0]!=79|(w[c+4|0]!=75|w[c+5|0]!=69)){break ma}if(w[c+6|0]!=78|w[c+7|0]!=83){break ma}e=8;v[d+200>>2]=v[d+200>>2]+8;v[b+16>>2]=c+8;v[b+32>>2]=v[b+32>>2]+8;c=w[c+8|0];if((c|0)==37){wd(d);b=v[d+36>>2];c=w[v[b+16>>2]]}if(c){break ga}if((cd(b)|0)>0){break ga}vd(d);break ga}if(w[c+2|0]!=84|w[c+3|0]!=79|(w[c+4|0]!=75|w[c+5|0]!=69)){break ha}if(w[c+6|0]!=78){break ha}e=7;v[d+200>>2]=v[d+200>>2]+7;v[b+16>>2]=c+7;v[b+32>>2]=v[b+32>>2]+7;c=w[c+7|0];if((c|0)==37){wd(d);b=v[d+36>>2];c=w[v[b+16>>2]]}if(c){break ga}if((cd(b)|0)>0){break ga}vd(d);break ga}na:{oa:{c=v[d+36>>2];b=v[c+16>>2];if(w[b|0]!=78|w[b+1|0]!=79|(w[b+2|0]!=84|w[b+3|0]!=65)){break oa}if(w[b+4|0]!=84|w[b+5|0]!=73|(w[b+6|0]!=79|w[b+7|0]!=78)){break oa}v[d+200>>2]=v[d+200>>2]+8;v[c+16>>2]=b+8;v[c+32>>2]=v[c+32>>2]+8;b=w[b+8|0];if((b|0)==37){wd(d);c=v[d+36>>2];b=w[v[c+16>>2]]}pa:{if(b){break pa}if((cd(c)|0)>0){break pa}vd(d)}b=w[v[v[d+36>>2]+16>>2]]-9|0;if(!(1<>>0<=23:0)){Nd(d,65,356389);e=0;break na}Bd(d);c=0;g=Qb-48|0;Qb=g;e=v[d+36>>2];b=v[e+16>>2];qa:{if(w[b|0]!=40){if(!(!v[d+212>>2]|v[d+172>>2]!=-1)){e=0;break qa}v[d+84>>2]=48;v[g+32>>2]=277520;e=0;oc(0,0,0,d,0,1,48,3,0,0,0,0,350078,g+32|0);v[d+12>>2]=0;if(v[d+288>>2]){break qa}v[d+212>>2]=1;break qa}ra:{if(v[d+292>>2]|(b-v[e+12>>2]|0)<501|(v[e+20>>2]-b|0)>499){break ra}bh(e);b=v[d+36>>2];if(w[v[b+16>>2]]){break ra}if((cd(b)|0)>0){break ra}vd(d)}b=0;sa:{ta:{while(1){xd(d);Bd(d);f=nh(d);if(!f){break ta}e=b;ua:{if(b){while(1){if(ag(f,v[e+4>>2])){Xi(d,541,353661,f,0);if(Kj(v[d+296>>2],f)){break ua}Ub[v[259708]](f);break ua}e=v[e>>2];if(e){continue}break}}e=Ub[v[259704]](8)|0;if(!e){v[g>>2]=291415;e=0;oc(0,0,0,0,0,23,2,3,291415,0,0,0,350051,g);Hj(b);break qa}v[e>>2]=0;v[e+4>>2]=0;o=e,p=we(f),v[o+4>>2]=p;va:{if(!c){b=e;break va}v[c>>2]=e}c=e}Bd(d);e=w[v[v[d+36>>2]+16>>2]];if((e|0)==124){continue}break}if((e|0)!=41){if(v[d+172>>2]==-1?v[d+212>>2]:0){break sa}v[d+84>>2]=49;v[g+16>>2]=247523;oc(0,0,0,d,0,1,49,3,0,0,0,0,350078,g+16|0);v[d+12>>2]=0;if(v[d+288>>2]){break sa}v[d+212>>2]=1;break sa}xd(d);e=b;break qa}Nd(d,68,350928)}Hj(b);e=0}Qb=g+48|0;v[l+12>>2]=e;e=e?10:0;break na}c=0;g=Qb+-64|0;Qb=g;e=v[d+36>>2];b=v[e+16>>2];wa:{if(w[b|0]!=40){if(!(!v[d+212>>2]|v[d+172>>2]!=-1)){e=0;break wa}v[d+84>>2]=50;v[g+48>>2]=247387;e=0;oc(0,0,0,d,0,1,50,3,0,0,0,0,350078,g+48|0);v[d+12>>2]=0;if(v[d+288>>2]){break wa}v[d+212>>2]=1;break wa}xa:{if(v[d+292>>2]|(b-v[e+12>>2]|0)<501|(v[e+20>>2]-b|0)>499){break xa}bh(e);b=v[d+36>>2];if(w[v[b+16>>2]]){break xa}if((cd(b)|0)>0){break xa}vd(d)}e=0;ya:{while(1){xd(d);Bd(d);f=CU(d);if(!f){break ya}b=e;za:{if(b){while(1){if(ag(f,v[b+4>>2])){Xi(d,541,353719,f,0);if(Kj(v[d+296>>2],f)){break za}Ub[v[259708]](f);break za}b=v[b>>2];if(b){continue}break}}b=Ub[v[259704]](8)|0;Aa:{if(!b){v[g+32>>2]=291415;b=0;oc(0,0,0,0,0,23,2,3,291415,0,0,0,350051,g+32|0);break Aa}v[b>>2]=0;v[b+4>>2]=0;o=b,p=we(f),v[o+4>>2]=p}if(!Kj(v[d+296>>2],f)){Ub[v[259708]](f)}if(!b){Hj(e);e=0;break wa}Ba:{if(!c){e=b;break Ba}v[c>>2]=b}c=b}Bd(d);b=w[v[v[d+36>>2]+16>>2]];if((b|0)==124){continue}break}if((b|0)!=41){if(v[d+172>>2]==-1?v[d+212>>2]:0){break wa}v[d+84>>2]=51;v[g+16>>2]=247469;oc(0,0,0,d,0,1,51,3,0,0,0,0,350078,g+16|0);v[d+12>>2]=0;if(v[d+288>>2]){break wa}v[d+212>>2]=1;break wa}xd(d);break wa}if(v[d+172>>2]==-1?v[d+212>>2]:0){break wa}v[d+84>>2]=67;v[g>>2]=247429;oc(0,0,0,d,0,1,67,3,0,0,0,0,350078,g);v[d+12>>2]=0;if(v[d+288>>2]){break wa}v[d+212>>2]=1}Qb=g- -64|0;v[l+12>>2]=e;e=e?9:0}}g=e;if((e|0)<1){break da}Ca:{if(v[d+292>>2]){break Ca}b=v[d+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break Ca}nd(d)}b=w[v[v[d+36>>2]+16>>2]]-9|0;if(!(1<>>0<=23:0)){Nd(d,65,352322);b=v[l+12>>2];if(!b){break da}Hj(b);break da}Bd(d);v[l+8>>2]=0;e=1;Da:{Ea:{Fa:{Ga:{b=v[d+36>>2];c=v[b+16>>2];if(w[c|0]!=35){break Ga}Ha:{switch(w[c+1|0]-70|0){case 12:if(w[c+2|0]!=69|w[c+3|0]!=81|(w[c+4|0]!=85|w[c+5|0]!=73)){break Ga}if(w[c+6|0]!=82|w[c+7|0]!=69|w[c+8|0]!=68){break Ga}v[d+200>>2]=v[d+200>>2]+9;v[b+16>>2]=c+9;v[b+32>>2]=v[b+32>>2]+9;e=2;c=w[c+9|0];if((c|0)==37){wd(d);b=v[d+36>>2];c=w[v[b+16>>2]]}if(c&255){break Da}if((cd(b)|0)>0){break Da}vd(d);break Da;case 3:if(w[c+2|0]!=77|w[c+3|0]!=80|(w[c+4|0]!=76|w[c+5|0]!=73)){break Ga}if(w[c+6|0]!=69|w[c+7|0]!=68){break Ga}v[d+200>>2]=v[d+200>>2]+8;v[b+16>>2]=c+8;v[b+32>>2]=v[b+32>>2]+8;e=3;c=w[c+8|0];if((c|0)==37){wd(d);b=v[d+36>>2];c=w[v[b+16>>2]]}if(c&255){break Da}if((cd(b)|0)>0){break Da}vd(d);break Da;case 0:break Ha;default:break Ga}}if(w[c+2|0]!=73|w[c+3|0]!=88|(w[c+4|0]!=69|w[c+5|0]!=68)){break Ga}v[d+200>>2]=v[d+200>>2]+6;v[b+16>>2]=c+6;v[b+32>>2]=v[b+32>>2]+6;e=w[c+6|0];if((e|0)==37){wd(d);b=v[d+36>>2];e=w[v[b+16>>2]]}Ia:{if(e){break Ia}if((cd(b)|0)>0){break Ia}vd(d)}b=w[v[v[d+36>>2]+16>>2]]-9|0;if(!(1<>>0<=23:0)){Nd(d,65,356488)}Bd(d);e=4;if(v[d+36>>2]){break Ga}v[d+172>>2]=3;break Fa}b=yF(d,0,0,0);v[d+172>>2]=3;if(b){break Ea}}Nd(d,v[d+84>>2],350304);break Da}v[l+8>>2]=b}f=e;j=v[l+8>>2];if(!(!j|(g|0)==1)){Ja:{b=j;e=b;if(!b){break Ja}while(1){h=e;e=e+1|0;c=w[h|0];if((c|0)==32){continue}break}while(1){Ka:{La:{Ma:{if((c|0)!=32){if(!c){break Ka}h=h+1|0;break Ma}while(1){e=c;c=32;if((e|0)==32){c=w[h+1|0];h=h+1|0;continue}break}if(!e){break La}}t[b|0]=c;b=b+1|0}c=w[h|0];continue}break}t[b|0]=0}}Na:{if(v[d+292>>2]){break Na}b=v[d+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break Na}nd(d)}Oa:{b=v[v[d+36>>2]+16>>2];c=w[b|0];e=c-9|0;if(!(e>>>0>23|!(1<>2]+16>>2];break Oa}if((c|0)==62){break Oa}Nd(d,65,351926);if(j){Ub[v[259708]](j)}b=v[l+12>>2];if(!b){break da}Hj(b);break da}if((b|0)==(i|0)){te(d,1,351310);if(j){Ub[v[259708]](j)}b=v[l+12>>2];if(!b){break da}Hj(b);break da}Pa:{Qa:{b=v[d>>2];if(v[d+212>>2]|!b){break Qa}b=v[b+32>>2];if(!b){break Qa}Ub[b|0](v[d+4>>2],m,n,g,f,j,v[l+12>>2]);break Pa}b=v[l+12>>2];if(!b){break Pa}Hj(b)}b=v[d+324>>2];if(!(!b|!j|((f|0)==3|(f|0)==2))){i=Qb-16|0;Qb=i;b=v[d+352>>2];Ra:{if(b){if(am(b,m,n)){break Ra}}Sa:{if(!v[d+348>>2]){b=oo(10,v[d+296>>2]);v[d+348>>2]=b;if(!b){break Sa}}e=LF(m,i+12|0);b=v[d+296>>2];Ta:{if(!e){h=Rd(b,m,-1);e=0;break Ta}h=Rd(b,e,-1);e=Rd(v[d+296>>2],m,v[i+12>>2])}Ua:{b=am(v[d+348>>2],h,e);Va:{if(!b){b=Ub[v[259704]](108)|0;if(!b){break Sa}v[b>>2]=0;v[b+4>>2]=4;if((kV(v[d+348>>2],h,e,b)|0)>=0){break Va}break Ua}c=v[b+4>>2];if((c|0)>v[b>>2]){break Va}b=Ub[v[259709]](b,B(c,40)+28|0)|0;if(!b){break Sa}v[b+4>>2]=v[b+4>>2]<<1;if((kV(v[d+348>>2],h,e,b)|0)<0){break Ua}}c=LF(n,i+12|0);e=v[d+296>>2];Wa:{if(!c){h=Rd(e,n,-1);f=0;break Wa}h=Rd(e,c,-1);f=Rd(v[d+296>>2],n,v[i+12>>2])}c=b+8|0;e=c+B(v[b>>2],20)|0;v[e>>2]=h;v[e+4>>2]=f;e=kl(j);v[i+12>>2]=e;f=Rd(v[d+296>>2],j,e);e=v[b>>2];c=c+B(e,20)|0;v[c+8>>2]=f;v[c+12>>2]=f+v[i+12>>2];v[c+16>>2]=v[d+96>>2]?261189:0;v[b>>2]=e+1;break Ra}Ub[v[259708]](b)}Qd(d,0)}Qb=i+16|0;b=v[d+324>>2]}if(b){Xa:{Ya:{b=v[d+352>>2];if(!b){b=oo(10,v[d+296>>2]);v[d+352>>2]=b;if(!b){break Ya}}if(am(b,m,n)){break Xa}RF(v[d+352>>2],m,n,g);break Xa}Qd(d,0)}}if(j){Ub[v[259708]](j)}Za:{if(v[d+292>>2]){break Za}b=v[d+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break Za}nd(d)}b=v[d+36>>2];i=v[b+16>>2];if(w[i|0]!=62){continue}break}}b=v[d+36>>2];if(w[v[b+16>>2]]!=62){break aa}if((b|0)!=(k|0)){Xi(d,90,347260,0,0)}xd(d)}Qb=l+16|0;break b;case 33:g=Qb-16|0;Qb=g;e=v[a+36>>2];c=v[e+16>>2];_a:{if(w[c|0]!=60|w[c+1|0]!=33|(w[c+2|0]!=78|w[c+3|0]!=79)){break _a}if(w[c+4|0]!=84|w[c+5|0]!=65|(w[c+6|0]!=84|w[c+7|0]!=73)){break _a}if(w[c+8|0]!=79|w[c+9|0]!=78){break _a}$a:{if(v[a+292>>2]){b=e;break $a}if((c-v[e+12>>2]|0)<501){b=e;break $a}b=e;if((v[b+20>>2]-c|0)>499){break $a}Vr(a);b=v[a+36>>2];c=v[b+16>>2]}v[a+200>>2]=v[a+200>>2]+10;v[b+16>>2]=c+10;v[b+32>>2]=v[b+32>>2]+10;c=w[c+10|0];if((c|0)==37){wd(a);b=v[a+36>>2];c=w[v[b+16>>2]]}ab:{if(c&255){break ab}if((cd(b)|0)>0){break ab}vd(a)}b=w[v[v[a+36>>2]+16>>2]]-9|0;if(!(1<>>0<=23:0)){Nd(a,65,356422);break _a}Bd(a);f=nh(a);if(!f){te(a,48,0);break _a}b=w[v[v[a+36>>2]+16>>2]]-9|0;if(!(1<>>0<=23:0)){Nd(a,65,356249);break _a}if(uo(f,58)){_l(a,205,355927,f,0)}Bd(a);c=Cy(a,g+12|0,0);Bd(a);b=v[a+36>>2];bb:{if(w[v[b+16>>2]]==62){if((b|0)!=(e|0)){Nd(a,65,347464)}xd(a);b=v[a>>2];if(v[a+212>>2]|!b){break bb}b=v[b+28>>2];if(!b){break bb}Ub[b|0](v[a+4>>2],f,v[g+12>>2],c);break bb}te(a,49,0)}if(c){Ub[v[259708]](c)}b=v[g+12>>2];if(!b){break _a}Ub[v[259708]](b)}Qb=g+16|0;break b;case 0:break c;default:break b}}Ur(a);break b}Tr(a)}if(v[a+172>>2]!=-1){cb:{if(v[a+96>>2]){break cb}b=v[a+40>>2];if((b|0)==1){By(a);if(v[a+96>>2]){break cb}b=v[a+40>>2]}if((b|0)<2){break cb}b=v[v[a+36>>2]+16>>2];if(w[b|0]!=60|w[b+1|0]!=33|w[b+2|0]!=91){break cb}vF(a)}v[a+172>>2]=3}}function NT(a,b){a=a|0;b=b|0;var 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,y=0,z=0,C=0,E=0,F=0,G=0;c=fc(1160);v[299999]=0;v[c+8>>2]=a;v[c>>2]=889e3;v[c+16>>2]=0;v[c+12>>2]=b;v[c+4>>2]=a;a=v[299999];v[299999]=0;if((a|0)!=1){a:{v[c+340>>2]=0;v[c+344>>2]=0;v[c+328>>2]=0;v[c+20>>2]=0;v[c+24>>2]=0;v[c>>2]=890308;a=c;v[a+352>>2]=1;n=a+352|0;c=v[a+12>>2];b:{if((c|0)<1){break b}b=v[a+8>>2];if(w[b|0]==1){break b}v[a+12>>2]=c-1;v[a+8>>2]=b+1}pu(a,mf(a,2,n),a+28|0,n);pu(a,v[a+44>>2],a+48|0,n);pu(a,v[a- -64>>2],a+68|0,n);pu(a,v[a+84>>2],a+88|0,n);k=0;c:{if(!v[a+352>>2]){break c}b=v[a+92>>2];v[a+348>>2]=(b|0)<1240?107:(b|0)<33900?1131:32768;b=0;if(v[a+32>>2]<=0){v[n>>2]=0;k=0;break c}g=v[a+40>>2];e=Zl(a,v[a+28>>2]+3|0,v[a+36>>2],n);i=v[a+40>>2];c=v[a+36>>2];h=Zl(a,(c+v[a+28>>2]|0)+3|0,c,n);d:{g=e+g|0;e=v[a+40>>2];if((g|0)<(e|0)){break d}c=v[a+44>>2];if((c|0)<(g|0)){break d}k=e;e=i+h|0;if((k|0)>=(e|0)|(c|0)<(e|0)|(e|0)<(g|0)){break d}e:{if(!v[n>>2]){break e}c=fc(8);b=v[a+8>>2];v[299999]=0;Y(3083,c|0,b+g|0,e-g|0)|0;b=v[299999];v[299999]=0;f:{g:{h:{if((b|0)!=1){v[a+20>>2]=c;v[a+128>>2]=-1;v[a+132>>2]=0;v[a+136>>2]=0;v[a+140>>2]=0;v[a+144>>2]=0;v[a+148>>2]=0;v[a+152>>2]=0;v[a+156>>2]=0;v[a+160>>2]=0;v[a+164>>2]=0;v[a+200>>2]=0;v[a+204>>2]=0;v[a+192>>2]=-755914244;v[a+196>>2]=1062232653;v[a+184>>2]=0;v[a+188>>2]=2;v[a+176>>2]=0;v[a+180>>2]=1078525952;v[a+168>>2]=0;v[a+172>>2]=-1067909120;v[a+208>>2]=0;v[a+212>>2]=0;v[a+216>>2]=-755914244;v[a+220>>2]=1062232653;ic(a+224|0,0,104);i:{if(v[a+52>>2]<=0){v[a+1144>>2]=0;v[a+352>>2]=0;break i}e=v[a+60>>2];h=a+352|0;c=Zl(a,v[a+48>>2]+3|0,v[a+56>>2],h);b=v[a+56>>2];i=v[a+60>>2]+Zl(a,(b+v[a+48>>2]|0)+3|0,b,h)|0;g=c+e|0;c=v[a+60>>2];j:{k:{if((g|0)<(c|0)){break k}b=v[a- -64>>2];if((b|0)<(g|0)|(c|0)>=(i|0)|(b|0)<(i|0)){break k}if((g|0)<=(i|0)){break j}}v[h>>2]=0}v[a+1144>>2]=0;l:{if((g|0)>=(i|0)){break l}while(1){g=kF(a,g,h);if(!v[a+352>>2]){break l}b=v[a+1144>>2]-1|0;c=a+(b<<4)|0;if(!v[c+360>>2]){v[a+1144>>2]=b;if(v[a+128>>2]<=-1){v[a+128>>2]=v[c+368>>2]}m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{b=v[c+368>>2];switch(b-3072|0){case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 31:case 32:case 33:case 34:case 35:break m;case 37:break n;case 36:break o;case 30:break p;case 8:break u;case 7:break x;case 6:break y;case 5:break z;case 4:break A;case 3:break B;case 2:break C;case 1:break D;case 0:break H;default:break I}}J:{switch(b|0){case 0:f=0;K:{L:{switch(v[a+360>>2]-1|0){case 0:v[a+132>>2]=v[a+368>>2];break m;case 1:d=A[a+368>>3];c=d>2e9;b=a;if(D(d)<2147483648){e=~~d}else{e=-2147483648}v[b+132>>2]=d<-2e9?0:c?0:e;break m;case 2:break L;default:break K}}b=v[a+372>>2];if(!b){break K}f=v[a+368>>2]/(b|0)|0}v[a+132>>2]=f;break m;case 18:break q;case 17:break r;case 16:break s;case 15:break t;case 5:break v;case 13:break w;case 4:break E;case 3:break F;case 2:break G;case 1:break J;default:break m}}f=0;M:{N:{switch(v[a+360>>2]-1|0){case 0:v[a+136>>2]=v[a+368>>2];break m;case 1:d=A[a+368>>3];c=d>2e9;b=a;if(D(d)<2147483648){e=~~d}else{e=-2147483648}v[b+136>>2]=d<-2e9?0:c?0:e;break m;case 2:break N;default:break M}}b=v[a+372>>2];if(!b){break M}f=v[a+368>>2]/(b|0)|0}v[a+136>>2]=f;break m}f=0;O:{P:{switch(v[a+360>>2]-1|0){case 0:v[a+140>>2]=v[a+368>>2];break m;case 1:d=A[a+368>>3];c=d>2e9;b=a;if(D(d)<2147483648){e=~~d}else{e=-2147483648}v[b+140>>2]=d<-2e9?0:c?0:e;break m;case 2:break P;default:break O}}b=v[a+372>>2];if(!b){break O}f=v[a+368>>2]/(b|0)|0}v[a+140>>2]=f;break m}f=0;Q:{R:{switch(v[a+360>>2]-1|0){case 0:v[a+144>>2]=v[a+368>>2];break m;case 1:d=A[a+368>>3];c=d>2e9;b=a;if(D(d)<2147483648){e=~~d}else{e=-2147483648}v[b+144>>2]=d<-2e9?0:c?0:e;break m;case 2:break R;default:break Q}}b=v[a+372>>2];if(!b){break Q}f=v[a+368>>2]/(b|0)|0}v[a+144>>2]=f;break m}f=0;S:{T:{switch(v[a+360>>2]-1|0){case 0:v[a+148>>2]=v[a+368>>2];break m;case 1:d=A[a+368>>3];c=d>2e9;b=a;if(D(d)<2147483648){e=~~d}else{e=-2147483648}v[b+148>>2]=d<-2e9?0:c?0:e;break m;case 2:break T;default:break S}}b=v[a+372>>2];if(!b){break S}f=v[a+368>>2]/(b|0)|0}v[a+148>>2]=f;break m}f=0;U:{V:{switch(v[a+360>>2]-1|0){case 0:v[a+152>>2]=v[a+368>>2];break m;case 1:d=A[a+368>>3];c=d>2e9;b=a;if(D(d)<2147483648){e=~~d}else{e=-2147483648}v[b+152>>2]=d<-2e9?0:c?0:e;break m;case 2:break V;default:break U}}b=v[a+372>>2];if(!b){break U}f=v[a+368>>2]/(b|0)|0}v[a+152>>2]=f;break m}f=0;W:{X:{switch(v[a+360>>2]-1|0){case 0:v[a+156>>2]=v[a+368>>2];break m;case 1:d=A[a+368>>3];c=d>2e9;b=a;if(D(d)<2147483648){e=~~d}else{e=-2147483648}v[b+156>>2]=d<-2e9?0:c?0:e;break m;case 2:break X;default:break W}}b=v[a+372>>2];if(!b){break W}f=v[a+368>>2]/(b|0)|0}v[a+156>>2]=f;break m}j=0;Y:{Z:{switch(v[a+360>>2]-1|0){case 0:A[a+160>>3]=v[a+368>>2];break m;case 1:A[a+160>>3]=A[a+368>>3];break m;case 2:break Z;default:break Y}}b=v[a+372>>2];if(!b){break Y}j=+v[a+368>>2]/+(b|0)}A[a+160>>3]=j;break m}j=0;_:{$:{switch(v[a+360>>2]-1|0){case 0:A[a+168>>3]=v[a+368>>2];break m;case 1:A[a+168>>3]=A[a+368>>3];break m;case 2:break $;default:break _}}b=v[a+372>>2];if(!b){break _}j=+v[a+368>>2]/+(b|0)}A[a+168>>3]=j;break m}j=0;aa:{ba:{switch(v[a+360>>2]-1|0){case 0:A[a+176>>3]=v[a+368>>2];break m;case 1:A[a+176>>3]=A[a+368>>3];break m;case 2:break ba;default:break aa}}b=v[a+372>>2];if(!b){break aa}j=+v[a+368>>2]/+(b|0)}A[a+176>>3]=j;break m}f=0;ca:{da:{switch(v[a+360>>2]-1|0){case 0:v[a+184>>2]=v[a+368>>2];break m;case 1:d=A[a+368>>3];c=d>2e9;b=a;if(D(d)<2147483648){e=~~d}else{e=-2147483648}v[b+184>>2]=d<-2e9?0:c?0:e;break m;case 2:break da;default:break ca}}b=v[a+372>>2];if(!b){break ca}f=v[a+368>>2]/(b|0)|0}v[a+184>>2]=f;break m}f=0;ea:{fa:{switch(v[a+360>>2]-1|0){case 0:v[a+188>>2]=v[a+368>>2];break m;case 1:d=A[a+368>>3];c=d>2e9;b=a;if(D(d)<2147483648){e=~~d}else{e=-2147483648}v[b+188>>2]=d<-2e9?0:c?0:e;break m;case 2:break fa;default:break ea}}b=v[a+372>>2];if(!b){break ea}f=v[a+368>>2]/(b|0)|0}v[a+188>>2]=f;break m}d=0;j=0;ga:{ha:{switch(v[a+360>>2]-1|0){case 0:j=+v[a+368>>2];break ga;case 1:j=A[a+368>>3];break ga;case 2:break ha;default:break ga}}b=v[a+372>>2];if(!b){break ga}j=+v[a+368>>2]/+(b|0)}A[a+192>>3]=j;ia:{ja:{switch(v[a+376>>2]-1|0){case 0:d=+v[a+384>>2];break ia;case 1:d=A[a+384>>3];break ia;case 2:break ja;default:break ia}}b=v[a+388>>2];if(!b){break ia}d=+v[a+384>>2]/+(b|0)}A[a+200>>3]=d;d=0;j=0;ka:{la:{switch(v[a+392>>2]-1|0){case 0:j=+v[a+400>>2];break ka;case 1:j=A[a+400>>3];break ka;case 2:break la;default:break ka}}b=v[a+404>>2];if(!b){break ka}j=+v[a+400>>2]/+(b|0)}A[a+208>>3]=j;ma:{na:{switch(v[a+408>>2]-1|0){case 0:d=+v[a+416>>2];break ma;case 1:d=A[a+416>>3];break ma;case 2:break na;default:break ma}}b=v[a+420>>2];if(!b){break ma}d=+v[a+416>>2]/+(b|0)}A[a+216>>3]=d;d=0;j=0;oa:{pa:{switch(v[a+424>>2]-1|0){case 0:j=+v[a+432>>2];break oa;case 1:j=A[a+432>>3];break oa;case 2:break pa;default:break oa}}b=v[a+436>>2];if(!b){break oa}j=+v[a+432>>2]/+(b|0)}A[a+224>>3]=j;qa:{ra:{switch(v[a+440>>2]-1|0){case 0:d=+v[a+448>>2];break qa;case 1:d=A[a+448>>3];break qa;case 2:break ra;default:break qa}}b=v[a+452>>2];if(!b){break qa}d=+v[a+448>>2]/+(b|0)}v[a+240>>2]=1;A[a+232>>3]=d;break m}f=0;sa:{ta:{switch(v[a+360>>2]-1|0){case 0:v[a+244>>2]=v[a+368>>2];break m;case 1:d=A[a+368>>3];c=d>2e9;b=a;if(D(d)<2147483648){e=~~d}else{e=-2147483648}v[b+244>>2]=d<-2e9?0:c?0:e;break m;case 2:break ta;default:break sa}}b=v[a+372>>2];if(!b){break sa}f=v[a+368>>2]/(b|0)|0}v[a+244>>2]=f;break m}d=0;j=0;ua:{va:{switch(v[a+360>>2]-1|0){case 0:j=+v[a+368>>2];break ua;case 1:j=A[a+368>>3];break ua;case 2:break va;default:break ua}}b=v[a+372>>2];if(!b){break ua}j=+v[a+368>>2]/+(b|0)}A[a+248>>3]=j;wa:{xa:{switch(v[a+376>>2]-1|0){case 0:d=+v[a+384>>2];break wa;case 1:d=A[a+384>>3];break wa;case 2:break xa;default:break wa}}b=v[a+388>>2];if(!b){break wa}d=+v[a+384>>2]/+(b|0)}A[a+256>>3]=d;d=0;j=0;ya:{za:{switch(v[a+392>>2]-1|0){case 0:j=+v[a+400>>2];break ya;case 1:j=A[a+400>>3];break ya;case 2:break za;default:break ya}}b=v[a+404>>2];if(!b){break ya}j=+v[a+400>>2]/+(b|0)}A[a+264>>3]=j;Aa:{Ba:{switch(v[a+408>>2]-1|0){case 0:A[a+272>>3]=v[a+416>>2];break m;case 1:A[a+272>>3]=A[a+416>>3];break m;case 2:break Ba;default:break Aa}}b=v[a+420>>2];if(!b){break Aa}d=+v[a+416>>2]/+(b|0)}A[a+272>>3]=d;break m}j=0;Ca:{Da:{switch(v[a+360>>2]-1|0){case 0:A[a+280>>3]=v[a+368>>2];break m;case 1:A[a+280>>3]=A[a+368>>3];break m;case 2:break Da;default:break Ca}}b=v[a+372>>2];if(!b){break Ca}j=+v[a+368>>2]/+(b|0)}A[a+280>>3]=j;break m}f=0;Ea:{Fa:{switch(v[a+360>>2]-1|0){case 0:v[a+288>>2]=v[a+368>>2];break m;case 1:d=A[a+368>>3];c=d>2e9;b=a;if(D(d)<2147483648){e=~~d}else{e=-2147483648}v[b+288>>2]=d<-2e9?0:c?0:e;break m;case 2:break Fa;default:break Ea}}b=v[a+372>>2];if(!b){break Ea}f=v[a+368>>2]/(b|0)|0}v[a+288>>2]=f;break m}f=0;Ga:{Ha:{switch(v[a+360>>2]-1|0){case 0:v[a+292>>2]=v[a+368>>2];break m;case 1:d=A[a+368>>3];c=d>2e9;b=a;if(D(d)<2147483648){e=~~d}else{e=-2147483648}v[b+292>>2]=d<-2e9?0:c?0:e;break m;case 2:break Ha;default:break Ga}}b=v[a+372>>2];if(!b){break Ga}f=v[a+368>>2]/(b|0)|0}v[a+292>>2]=f;break m}f=0;Ia:{Ja:{switch(v[a+360>>2]-1|0){case 0:v[a+296>>2]=v[a+368>>2];break m;case 1:d=A[a+368>>3];c=d>2e9;b=a;if(D(d)<2147483648){e=~~d}else{e=-2147483648}v[b+296>>2]=d<-2e9?0:c?0:e;break m;case 2:break Ja;default:break Ia}}b=v[a+372>>2];if(!b){break Ia}f=v[a+368>>2]/(b|0)|0}v[a+296>>2]=f;break m}c=0;f=0;Ka:{La:{switch(v[a+360>>2]-1|0){case 0:f=v[a+368>>2];break Ka;case 1:d=A[a+368>>3];b=d>2e9;if(D(d)<2147483648){e=~~d}else{e=-2147483648}f=d<-2e9?0:b?0:e;break Ka;case 2:break La;default:break Ka}}b=v[a+372>>2];if(!b){break Ka}f=v[a+368>>2]/(b|0)|0}v[a+300>>2]=f;Ma:{Na:{switch(v[a+376>>2]-1|0){case 0:v[a+304>>2]=v[a+384>>2];break m;case 1:d=A[a+384>>3];c=d>2e9;b=a;if(D(d)<2147483648){e=~~d}else{e=-2147483648}v[b+304>>2]=d<-2e9?0:c?0:e;break m;case 2:break Na;default:break Ma}}b=v[a+388>>2];if(!b){break Ma}c=v[a+384>>2]/(b|0)|0}v[a+304>>2]=c;break m}c=0;f=0;Oa:{Pa:{switch(v[a+360>>2]-1|0){case 0:f=v[a+368>>2];break Oa;case 1:d=A[a+368>>3];b=d>2e9;if(D(d)<2147483648){e=~~d}else{e=-2147483648}f=d<-2e9?0:b?0:e;break Oa;case 2:break Pa;default:break Oa}}b=v[a+372>>2];if(!b){break Oa}f=v[a+368>>2]/(b|0)|0}v[a+308>>2]=f;Qa:{Ra:{switch(v[a+376>>2]-1|0){case 0:c=v[a+384>>2];break Qa;case 1:d=A[a+384>>3];b=d>2e9;if(D(d)<2147483648){c=~~d}else{c=-2147483648}c=d<-2e9?0:b?0:c;break Qa;case 2:break Ra;default:break Qa}}b=v[a+388>>2];if(!b){break Qa}c=v[a+384>>2]/(b|0)|0}v[a+312>>2]=c;f=0;Sa:{Ta:{switch(v[a+392>>2]-1|0){case 0:v[a+316>>2]=v[a+400>>2];break m;case 1:d=A[a+400>>3];c=d>2e9;b=a;if(D(d)<2147483648){e=~~d}else{e=-2147483648}v[b+316>>2]=d<-2e9?0:c?0:e;break m;case 2:break Ta;default:break Sa}}b=v[a+404>>2];if(!b){break Sa}f=v[a+400>>2]/(b|0)|0}v[a+316>>2]=f;break m}f=0;Ua:{Va:{switch(v[a+360>>2]-1|0){case 0:v[a+320>>2]=v[a+368>>2];break m;case 1:d=A[a+368>>3];c=d>2e9;b=a;if(D(d)<2147483648){e=~~d}else{e=-2147483648}v[b+320>>2]=d<-2e9?0:c?0:e;break m;case 2:break Va;default:break Ua}}b=v[a+372>>2];if(!b){break Ua}f=v[a+368>>2]/(b|0)|0}v[a+320>>2]=f;break m}f=0;Wa:{Xa:{switch(v[a+360>>2]-1|0){case 0:f=v[a+368>>2];break Wa;case 1:d=A[a+368>>3];b=d>2e9;if(D(d)<2147483648){c=~~d}else{c=-2147483648}f=d<-2e9?0:b?0:c;break Wa;case 2:break Xa;default:break Wa}}b=v[a+372>>2];if(!b){break Wa}f=v[a+368>>2]/(b|0)|0}v[a+324>>2]=f}v[a+1144>>2]=0}if((g|0)<(i|0)){continue}break}}}if(v[a+128>>2]!=3102){break g}i=v[a+320>>2];if(i){break h}v[a+336>>2]=1;b=Fj(592);v[a+328>>2]=b;v[b+552>>2]=0;v[b+556>>2]=0;v[b+544>>2]=-343597384;v[b+548>>2]=1068415057;v[b+536>>2]=0;v[b+528>>2]=0;v[b+532>>2]=0;v[b+520>>2]=0;v[b+512>>2]=0;v[b+408>>2]=0;v[b+304>>2]=0;v[b+288>>2]=0;v[b+272>>2]=7;v[b+276>>2]=1;v[b+264>>2]=1580547965;v[b+268>>2]=1067731386;v[b+256>>2]=0;v[b+212>>2]=0;v[b+152>>2]=0;v[b+108>>2]=0;v[b+48>>2]=0;v[b+560>>2]=0;v[b+564>>2]=0;v[b+584>>2]=1;v[b+576>>2]=0;v[b+580>>2]=0;v[b+568>>2]=1;break f}break a}c=i+2|0;b=0;g=We(a,i,n);Ya:{if(!g){e=c;break Ya}p=mf(a,c,n);if(p-1>>>0>=4){v[n>>2]=0}e=i+3|0;h=e+B(g+1|0,p)|0;c=h-1|0;if(!((h|0)<=v[a+12>>2]&(h|0)>=1)){v[n>>2]=0}e=Zl(a,e+B(g,p)|0,p,n)+c|0;if((c|0)>(e|0)|v[a+12>>2]<(e|0)){break d}}if(!v[n>>2]){break e}v[a+336>>2]=g;F=a,G=ed(g,592),v[F+328>>2]=G;if(v[a+336>>2]<1){break f}m=i+3|0;q=(g|0)>0?g:0;while(1){if((b|0)==(q|0)){break d}g=Zl(a,m+B(b,p)|0,p,n);h=b+1|0;i=Zl(a,m+B(h,p)|0,p,n);g=c+g|0;if((c|0)>(g|0)|(e|0)<(g|0)){break d}f=c+i|0;if((f|0)<=(c|0)|(f|0)>(e|0)|(f|0)<(g|0)){break d}k=0;if(!v[n>>2]){break c}l=v[a+328>>2]+B(b,592)|0;r=0;s=0;y=0;z=0;C=0;E=0;j=0;v[a+1144>>2]=0;b=f-g|0;Za:{if((b|0)>0){k=a+352|0;f=b+g|0;_a:{$a:{while(1){g=kF(a,g,k);if(!v[a+352>>2]){break _a}i=v[a+1144>>2];b=a+(i-1<<4)|0;if(!v[b+360>>2]){b=v[b+368>>2];ab:{if((b|0)!=3079){if((b|0)!=18){break ab}if((i|0)<=2){v[k>>2]=0;break Za}f=0;g=0;bb:{cb:{switch(v[a+360>>2]-1|0){case 0:g=v[a+368>>2];break bb;case 1:d=A[a+368>>3];b=d>2e9;if(D(d)<2147483648){k=~~d}else{k=-2147483648}g=d<-2e9?0:b?0:k;break bb;case 2:break cb;default:break bb}}b=v[a+372>>2];if(!b){break bb}g=v[a+368>>2]/(b|0)|0}db:{switch(v[a+376>>2]-1|0){case 0:f=v[a+384>>2];break $a;case 1:d=A[a+384>>3];b=d>2e9;if(D(d)<2147483648){k=~~d}else{k=-2147483648}f=d<-2e9?0:b?0:k;break $a;case 2:break db;default:break $a}}b=v[a+388>>2];if(!b){break $a}f=v[a+384>>2]/(b|0)|0;break $a}C=0;s=0;eb:{fb:{switch(v[a+360>>2]-1|0){case 0:s=+v[a+368>>2];break eb;case 1:s=A[a+368>>3];break eb;case 2:break fb;default:break eb}}b=v[a+372>>2];if(!b){break eb}s=+v[a+368>>2]/+(b|0)}gb:{hb:{switch(v[a+376>>2]-1|0){case 0:C=+v[a+384>>2];break gb;case 1:C=A[a+384>>3];break gb;case 2:break hb;default:break gb}}b=v[a+388>>2];if(!b){break gb}C=+v[a+384>>2]/+(b|0)}E=0;y=0;ib:{jb:{switch(v[a+392>>2]-1|0){case 0:y=+v[a+400>>2];break ib;case 1:y=A[a+400>>3];break ib;case 2:break jb;default:break ib}}b=v[a+404>>2];if(!b){break ib}y=+v[a+400>>2]/+(b|0)}kb:{lb:{switch(v[a+408>>2]-1|0){case 0:E=+v[a+416>>2];break kb;case 1:E=A[a+416>>3];break kb;case 2:break lb;default:break kb}}b=v[a+420>>2];if(!b){break kb}E=+v[a+416>>2]/+(b|0)}j=0;z=0;mb:{nb:{switch(v[a+424>>2]-1|0){case 0:z=+v[a+432>>2];break mb;case 1:z=A[a+432>>3];break mb;case 2:break nb;default:break mb}}b=v[a+436>>2];if(!b){break mb}z=+v[a+432>>2]/+(b|0)}r=1;ob:{switch(v[a+440>>2]-1|0){case 0:j=+v[a+448>>2];break ab;case 1:j=A[a+448>>3];break ab;case 2:break ob;default:break ab}}b=v[a+452>>2];if(!b){break ab}j=+v[a+448>>2]/+(b|0)}v[a+1144>>2]=0}if((f|0)>(g|0)){continue}break}g=0;f=0}mF(a,f,g,l);if(!r){break _a}v[l+48>>2]=1;A[l+40>>3]=j;A[l+32>>3]=z;A[l+24>>3]=E;A[l+16>>3]=y;A[l+8>>3]=C;A[l>>3]=s}break Za}mF(a,0,0,l)}b=h;if((b|0)>2]){continue}break}break f}v[a+336>>2]=1;b=Fj(592);v[a+328>>2]=b;mF(a,v[a+304>>2],v[a+300>>2],b)}k=0;if(!v[n>>2]){break c}b=0;c=v[a+296>>2];if((c|0)<=0){break d}pu(a,c,a+108|0,n);if(!v[a+352>>2]){break e}v[a+332>>2]=v[a+112>>2];if(v[a+128>>2]==3102){e=Fj(v[a+332>>2]);v[a+340>>2]=e;c=1;pb:{if(v[a+332>>2]<1){break pb}t[e|0]=0;if(v[a+332>>2]<2){break pb}while(1){t[v[a+340>>2]+c|0]=0;c=c+1|0;if((c|0)>2]){continue}break}}h=v[a+324>>2];qb:{if(!h){break qb}q=a+352|0;c=mf(a,h,q);if(!v[a+352>>2]){break qb}i=h+1|0;rb:{sb:{switch(c|0){case 0:c=v[a+332>>2];if(!((c|0)<=(2147483647-i|0)&(c|i)>-1&v[a+12>>2]>=(c+i|0))){break rb}if(v[a+332>>2]<1){break qb}c=0;while(1){e=w[v[a+8>>2]+(c+i|0)|0];if((e|0)>=v[a+336>>2]){break rb}t[v[a+340>>2]+c|0]=e;c=c+1|0;if((c|0)>2]){continue}break};break qb;case 3:break sb;default:break qb}}f=We(a,i,q);e=We(a,h+3|0,q);if((f|0)<1){break qb}m=h+5|0;g=1;while(1){c=e;k=mf(a,m,q);e=We(a,m+1|0,q);if(!v[a+352>>2]){break qb}if(v[a+332>>2]<(e|0)|(c|0)>(e|0)|(k|0)>=v[a+336>>2]){break rb}h=g;tb:{if((c|0)>=(e|0)){break tb}i=(c^-1)+e|0;g=e-c&3;if(g){while(1){t[v[a+340>>2]+c|0]=k;c=c+1|0;g=g-1|0;if(g){continue}break}}if(i>>>0<3){break tb}while(1){t[v[a+340>>2]+c|0]=k;t[(v[a+340>>2]+c|0)+1|0]=k;t[(v[a+340>>2]+c|0)+2|0]=k;t[(v[a+340>>2]+c|0)+3|0]=k;c=c+4|0;if((c|0)!=(e|0)){continue}break}}m=m+3|0;g=h+1|0;if((f|0)!=(h|0)){continue}break}break qb}v[q>>2]=0}if(!v[a+352>>2]){break e}}ub:{vb:{wb:{switch(v[a+288>>2]){case 0:v[a+344>>2]=1042992;if(v[a+332>>2]<230){break vb}v[a+332>>2]=229;c=1;break ub;case 1:v[a+344>>2]=1043456;if(v[a+332>>2]<167){break vb}v[a+332>>2]=166;c=1;break ub;case 2:v[a+344>>2]=1043792;if(v[a+332>>2]<88){break vb}v[a+332>>2]=87;break vb;default:break wb}}e=ed(v[a+332>>2],2);v[a+344>>2]=e;c=v[a+332>>2];if((c|0)>=1){ic(e,0,c<<1)}c=v[a+288>>2];m=c+1|0;xb:{yb:{zb:{Ab:{Bb:{Cb:{Db:{i=a+352|0;switch(mf(a,c,i)|0){case 0:break Bb;case 1:break Cb;case 2:break Db;default:break yb}}o=1;if(v[a+332>>2]<=1){break yb}break zb}o=1;if(v[a+332>>2]<=1){break yb}break Ab}if(v[a+332>>2]<2){break yb}o=1;while(1){c=We(a,m,i);u[v[a+344>>2]+(o<<1)>>1]=c;if(!v[a+352>>2]){break xb}m=m+2|0;o=o+1|0;if((o|0)>2]){continue}break}break yb}while(1){f=We(a,m,i);h=mf(a,m+2|0,i);if(!v[a+352>>2]){break xb}c=0;g=v[a+332>>2];Eb:{if((h|0)<0|(g|0)<=(o|0)){break Eb}e=v[a+344>>2];while(1){u[e+(o<<1)>>1]=f;o=o+1|0;g=v[a+332>>2];if((c|0)>=(h|0)){break Eb}c=c+1|0;f=f+1|0;if((g|0)>(o|0)){continue}break}}m=m+3|0;if((g|0)>(o|0)){continue}break}break yb}while(1){f=We(a,m,i);h=We(a,m+2|0,i);if(!v[a+352>>2]){break xb}c=0;g=v[a+332>>2];Fb:{if((h|0)<0|(g|0)<=(o|0)){break Fb}e=v[a+344>>2];while(1){u[e+(o<<1)>>1]=f;o=o+1|0;g=v[a+332>>2];if((c|0)>=(h|0)){break Fb}c=c+1|0;f=f+1|0;if((g|0)>(o|0)){continue}break}}m=m+4|0;if((g|0)>(o|0)){continue}break}}if(v[i>>2]){break vb}}uc(v[a+344>>2]);v[a+344>>2]=0;c=0;break ub}c=1}if(!c){break d}Gb:{switch(v[a+128>>2]-3092|0){default:o=0;m=Qb-256|0;Qb=m;l=1039376;Hb:{Ib:{switch(v[a+292>>2]){default:c=ed(256,4);v[a+24>>2]=c;v[c>>2]=0;e=1;while(1){c=e<<2;v[c+v[a+24>>2]>>2]=0;v[(c+v[a+24>>2]|0)+4>>2]=0;v[(c+v[a+24>>2]|0)+8>>2]=0;v[(c+v[a+24>>2]|0)+12>>2]=0;v[(c+v[a+24>>2]|0)+16>>2]=0;e=e+5|0;if((e|0)!=256){continue}break};c=v[a+292>>2];p=a+352|0;k=mf(a,c,p);if(!v[a+352>>2]){break Hb}e=c+1|0;Jb:{Kb:{switch(k&127){case 0:h=mf(a,e,p);if(!v[a+352>>2]){break Hb}l=1;e=c+2|0;c=v[a+332>>2];i=(c|0)>(h|0)?h+1|0:c;if((i|0)<2){break Jb}while(1){c=mf(a,e,p);if(!v[a+352>>2]){break Hb}h=c<<2;c=v[h+v[a+24>>2]>>2];if(c){uc(c)}e=e+1|0;c=ud(lF(a,x[v[a+344>>2]+(l<<1)>>1],m,p));v[h+v[a+24>>2]>>2]=c;l=l+1|0;if((i|0)!=(l|0)){continue}break};break Jb;case 1:break Kb;default:break Jb}}q=mf(a,e,p);if(!v[a+352>>2]){break Hb}e=c+2|0;l=1;if((q|0)<1){break Jb}while(1){h=c;c=e;e=mf(a,c,p);f=mf(a,h+3|0,p);if(!v[a+352>>2]){break Hb}r=0;Lb:{if((f|0)<0){break Lb}g=v[a+332>>2];if((l|0)>=(g|0)){break Lb}while(1){if((e|0)<=255){i=e<<2;h=v[i+v[a+24>>2]>>2];if(h){uc(h)}h=ud(lF(a,x[v[a+344>>2]+(l<<1)>>1],m,p));v[i+v[a+24>>2]>>2]=h;g=v[a+332>>2]}l=l+1|0;if((f|0)<=(r|0)){break Lb}r=r+1|0;e=e+1|0;if((g|0)>(l|0)){continue}break}}e=c+2|0;o=o+1|0;if((q|0)!=(o|0)){continue}break}}if(!(k&128)){break Hb}g=mf(a,e,p);if(!v[a+352>>2]|(g|0)<1){break Hb}l=e+1|0;e=0;while(1){c=mf(a,l,p);if(!v[a+352>>2]){break Hb}i=We(a,l+1|0,p);if(!v[a+352>>2]){break Hb}h=c<<2;c=v[h+v[a+24>>2]>>2];if(c){uc(c)}l=l+3|0;c=ud(lF(a,i,m,p));v[h+v[a+24>>2]>>2]=c;e=e+1|0;if((g|0)!=(e|0)){continue}break};break Hb;case 1:l=1040400;break;case 0:break Ib}}v[a+24>>2]=l}Qb=m+256|0;if(!v[a+352>>2]){break e}break;case 0:case 10:break Gb}}b=v[n>>2]}k=b;break c}v[n>>2]=0;k=0}if(!k){Ub[v[v[a>>2]+4>>2]](a);a=0}return a|0}}a=P()|0;O()|0;dc(c);T(a|0);L()}function sib(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,p=0,q=0,r=0,s=0,w=0;s=Qb-4112|0;Qb=s;e=v[a+16>>2];a:{if((e|0)<2){break a}k=1;h=v[a+24>>2];f=v[h+4>>2];g=v[h>>2];i=v[g+28>>2];if(v[f+28>>2]!=(i|0)){g=1;break a}j=v[g+24>>2];g=1;while(1){if((j|0)!=v[f+24>>2]){break a}k=k+1|0;g=(e|0)>(k|0);if((e|0)==(k|0)){break a}f=v[h+(k<<2)>>2];if((i|0)==v[f+28>>2]){continue}break}}b:{c:{d:{k=Zo(1783636e3);e:{f:{if(!k){break f}v[k+20>>2]=218793738;g:{h:{i:{if(Yo(k,b)){break i}Vg(k);k=Zo(1718909296);if(!k){break f}v[k+20>>2]=1785737760;v[k+24>>2]=0;v[k+28>>2]=1;v[k+32>>2]=1785737760;if(Yo(k,b)){break i}Vg(k);q=di(0,0);if(!q){break f}k=Zo(1768449138);if(!k){break g}v[k+20>>2]=v[a+8>>2]-v[a>>2];v[k+24>>2]=v[a+12>>2]-v[a+4>>2];v[k+28>>2]=v[a+16>>2];f=255;if(!g){e=v[v[a+24>>2]>>2];f=v[e+28>>2]<<7&128|v[e+24>>2]-1&127}t[k+35|0]=0;t[k+33|0]=7;t[k+34|0]=0;t[k+32|0]=f;if(Yo(k,q)){break i}Vg(k);if(g){k=Zo(1651532643);if(!k){break g}e=v[a+16>>2];v[k+20>>2]=e;e=jc(e);v[k+24>>2]=e;if(!e){break i}j:{if(!v[k+20>>2]){break j}h=e;e=v[v[a+24>>2]>>2];t[h|0]=v[e+24>>2]-1&127|v[e+28>>2]<<7;if(y[k+20>>2]<2){break j}f=1;while(1){e=v[v[a+24>>2]+(f<<2)>>2];t[v[k+24>>2]+f|0]=v[e+24>>2]-1&127|v[e+28>>2]<<7;f=f+1|0;if(f>>>0>2]){continue}break}}if(Yo(k,q)){break i}Vg(k)}k=Zo(1668246642);if(!k){break h}k:{l:{m:{n:{e=v[a+28>>2];h=(e|0)==769;o:{if(!(!(h|(e|0)==1281)&(e|0)!=1025)){t[k+20|0]=1;p:{if(!h){h=16;if((e|0)==1025){break p}if((e|0)!=1281){break n}h=18;break p}h=17}t[k+21|0]=0;t[k+22|0]=0;v[k+24>>2]=h;break o}t[k+22|0]=0;u[k+20>>1]=2;l=qB(v[v[a+32>>2]+16>>2]);if(!l){break d}r=di(0,0);if(!r){break c}d=r;h=0;o=jc(B(v[v[l+112>>2]>>2],20));v[l+108>>2]=o;m=-1;q:{if(!o){break q}f=v[l+112>>2];j=v[f>>2];v[l+104>>2]=j;i=B(j,12)+132|0;r:{s:{if((j|0)<1){break s}while(1){e=v[f+8>>2]+(h<<3)|0;f=v[e>>2];e=v[e+4>>2];v[e>>2]=v[e>>2]+1;t:{u:{p=v[e+8>>2];if(v[p+12>>2]){g=B(h,20)+o|0;w=e+12|0;v[g+12>>2]=w;v[g>>2]=f;f=0;if(h){while(1){n=B(f,20)+o|0;if(v[n+12>>2]==(w|0)){break u}f=f+1|0;if((h|0)!=(f|0)){continue}break}}v[g+4>>2]=i;f=Ub[v[p+16>>2]](e)|0;v[g+16>>2]=0;f=f+8|0;v[g+8>>2]=f;i=f+i|0;j=v[l+104>>2];if((j-1|0)<=(h|0)){break t}i=(i+3|0)/4<<2;break t}X(15373,7738,385,188444);L()}v[g+4>>2]=v[n+4>>2];f=v[n+8>>2];v[g+16>>2]=n;v[g+8>>2]=f}f=v[e>>2];v[e>>2]=f-1;if((f|0)<=1){f=v[v[e+8>>2]>>2];if(f){Ub[f|0](e)}dc(e);j=v[l+104>>2]}h=h+1|0;if((j|0)<=(h|0)){break s}o=v[l+108>>2];f=v[l+112>>2];if(v[f>>2]>(h|0)){continue}break}break r}v[l>>2]=i;f=v[d+8>>2];if(f&7){break q}v:{n=d- -64|0;e=v[n>>2];if((e|0)>=0&(e|0)<=v[d+60>>2]){break v}e=i;h=e>>>24|0;v[d+4>>2]=v[d+4>>2]|32;f=v[d+28>>2];v[d+28>>2]=f-1;w:{if((f|0)>=1){v[d+60>>2]=v[d+60>>2]+1;f=v[d+24>>2];v[d+24>>2]=f+1;t[f|0]=h;break w}if((Fc(d,h)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break q}h=v[n>>2];if((h|0)>=0&(h|0)<=v[d+60>>2]){break v}h=e>>>16|0;v[d+4>>2]=v[d+4>>2]|32;f=v[d+28>>2];v[d+28>>2]=f-1;x:{if((f|0)>=1){v[d+60>>2]=v[d+60>>2]+1;f=v[d+24>>2];v[d+24>>2]=f+1;t[f|0]=h;break x}if((Fc(d,h&255)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break q}h=v[n>>2];if((h|0)>=0&(h|0)<=v[d+60>>2]){break v}e=e>>>8|0;v[d+4>>2]=v[d+4>>2]|32;h=v[d+28>>2];v[d+28>>2]=h-1;y:{if((h|0)>=1){v[d+60>>2]=v[d+60>>2]+1;h=v[d+24>>2];v[d+24>>2]=h+1;t[h|0]=e;break y}if((Fc(d,e&255)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break q}e=v[n>>2];if((e|0)>=0&(e|0)<=v[d+60>>2]){break v}v[d+4>>2]=v[d+4>>2]|32;e=v[d+28>>2];v[d+28>>2]=e-1;z:{if((e|0)>=1){v[d+60>>2]=v[d+60>>2]+1;e=v[d+24>>2];v[d+24>>2]=e+1;t[e|0]=i;break z}if((Fc(d,i&255)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break q}h=v[l+4>>2];e=v[n>>2];if((e|0)>=0&(e|0)<=v[d+60>>2]){break v}e=h;f=e>>>24|0;v[d+4>>2]=v[d+4>>2]|32;g=v[d+28>>2];v[d+28>>2]=g-1;A:{if((g|0)>=1){v[d+60>>2]=v[d+60>>2]+1;g=v[d+24>>2];v[d+24>>2]=g+1;t[g|0]=f;break A}if((Fc(d,f)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break q}g=v[n>>2];if((g|0)>=0&(g|0)<=v[d+60>>2]){break v}f=e>>>16|0;v[d+4>>2]=v[d+4>>2]|32;g=v[d+28>>2];v[d+28>>2]=g-1;B:{if((g|0)>=1){v[d+60>>2]=v[d+60>>2]+1;g=v[d+24>>2];v[d+24>>2]=g+1;t[g|0]=f;break B}if((Fc(d,f&255)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break q}g=v[n>>2];if((g|0)>=0&(g|0)<=v[d+60>>2]){break v}e=e>>>8|0;v[d+4>>2]=v[d+4>>2]|32;f=v[d+28>>2];v[d+28>>2]=f-1;C:{if((f|0)>=1){v[d+60>>2]=v[d+60>>2]+1;f=v[d+24>>2];v[d+24>>2]=f+1;t[f|0]=e;break C}if((Fc(d,e&255)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break q}e=v[n>>2];if((e|0)>=0&(e|0)<=v[d+60>>2]){break v}v[d+4>>2]=v[d+4>>2]|32;e=v[d+28>>2];v[d+28>>2]=e-1;D:{if((e|0)>=1){v[d+60>>2]=v[d+60>>2]+1;e=v[d+24>>2];v[d+24>>2]=e+1;t[e|0]=h;break D}if((Fc(d,h&255)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break q}h=v[l+8>>2];e=v[n>>2];if((e|0)>=0&(e|0)<=v[d+60>>2]){break v}e=h;f=e>>>24|0;v[d+4>>2]=v[d+4>>2]|32;g=v[d+28>>2];v[d+28>>2]=g-1;E:{if((g|0)>=1){v[d+60>>2]=v[d+60>>2]+1;g=v[d+24>>2];v[d+24>>2]=g+1;t[g|0]=f;break E}if((Fc(d,f)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break q}g=v[n>>2];if((g|0)>=0&(g|0)<=v[d+60>>2]){break v}f=e>>>16|0;v[d+4>>2]=v[d+4>>2]|32;g=v[d+28>>2];v[d+28>>2]=g-1;F:{if((g|0)>=1){v[d+60>>2]=v[d+60>>2]+1;g=v[d+24>>2];v[d+24>>2]=g+1;t[g|0]=f;break F}if((Fc(d,f&255)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break q}g=v[n>>2];if((g|0)>=0&(g|0)<=v[d+60>>2]){break v}e=e>>>8|0;v[d+4>>2]=v[d+4>>2]|32;f=v[d+28>>2];v[d+28>>2]=f-1;G:{if((f|0)>=1){v[d+60>>2]=v[d+60>>2]+1;f=v[d+24>>2];v[d+24>>2]=f+1;t[f|0]=e;break G}if((Fc(d,e&255)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break q}e=v[n>>2];if((e|0)>=0&(e|0)<=v[d+60>>2]){break v}v[d+4>>2]=v[d+4>>2]|32;e=v[d+28>>2];v[d+28>>2]=e-1;H:{if((e|0)>=1){v[d+60>>2]=v[d+60>>2]+1;e=v[d+24>>2];v[d+24>>2]=e+1;t[e|0]=h;break H}if((Fc(d,h&255)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break q}h=v[l+12>>2];e=v[n>>2];if((e|0)>=0&(e|0)<=v[d+60>>2]){break v}e=h;f=e>>>24|0;v[d+4>>2]=v[d+4>>2]|32;g=v[d+28>>2];v[d+28>>2]=g-1;I:{if((g|0)>=1){v[d+60>>2]=v[d+60>>2]+1;g=v[d+24>>2];v[d+24>>2]=g+1;t[g|0]=f;break I}if((Fc(d,f)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break q}g=v[n>>2];if((g|0)>=0&(g|0)<=v[d+60>>2]){break v}f=e>>>16|0;v[d+4>>2]=v[d+4>>2]|32;g=v[d+28>>2];v[d+28>>2]=g-1;J:{if((g|0)>=1){v[d+60>>2]=v[d+60>>2]+1;g=v[d+24>>2];v[d+24>>2]=g+1;t[g|0]=f;break J}if((Fc(d,f&255)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break q}g=v[n>>2];if((g|0)>=0&(g|0)<=v[d+60>>2]){break v}e=e>>>8|0;v[d+4>>2]=v[d+4>>2]|32;f=v[d+28>>2];v[d+28>>2]=f-1;K:{if((f|0)>=1){v[d+60>>2]=v[d+60>>2]+1;f=v[d+24>>2];v[d+24>>2]=f+1;t[f|0]=e;break K}if((Fc(d,e&255)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break q}e=v[n>>2];if((e|0)>=0&(e|0)<=v[d+60>>2]){break v}v[d+4>>2]=v[d+4>>2]|32;e=v[d+28>>2];v[d+28>>2]=e-1;L:{if((e|0)>=1){v[d+60>>2]=v[d+60>>2]+1;e=v[d+24>>2];v[d+24>>2]=e+1;t[e|0]=h;break L}if((Fc(d,h&255)|0)==-1){break q}}if(Hg(d,4,v[l+16>>2],0)){break q}if(Hg(d,4,v[l+20>>2],0)){break q}g=v[d+8>>2];M:{if(g&7){break M}j=v[l+24>>2];e=2;h=0;f=8;while(1){i=v[d+64>>2];if(!((i|0)<0|(i|0)>v[d+60>>2])){g=g|4;v[d+8>>2]=g;break M}i=j;o=f&31;f=(f&63)>>>0>=32?0:i>>>o|0;v[d+4>>2]=v[d+4>>2]|32;g=v[d+28>>2];v[d+28>>2]=g-1;N:{O:{if((g|0)>=1){v[d+60>>2]=v[d+60>>2]+1;g=v[d+24>>2];v[d+24>>2]=g+1;t[g|0]=f;if(e>>>0<2&(h|0)<=0|(h|0)<0){break N}break O}if((h|0)<=0&e>>>0<=1|(h|0)<0|(Fc(d,f&255)|0)==-1){break N}}f=h-(e>>>0<1)|0;e=e-1|0;h=f;f=(e<<3)-8|0;f=f&-8;g=v[d+8>>2];if(!(g&7)){continue}}break}g=v[d+8>>2]}P:{if(g&7){break P}j=v[l+28>>2];e=2;h=0;f=8;while(1){i=v[d+64>>2];if(!((i|0)<0|(i|0)>v[d+60>>2])){g=g|4;v[d+8>>2]=g;break P}i=j;o=f&31;f=(f&63)>>>0>=32?0:i>>>o|0;v[d+4>>2]=v[d+4>>2]|32;g=v[d+28>>2];v[d+28>>2]=g-1;Q:{R:{if((g|0)>=1){v[d+60>>2]=v[d+60>>2]+1;g=v[d+24>>2];v[d+24>>2]=g+1;t[g|0]=f;if(e>>>0<2&(h|0)<=0|(h|0)<0){break Q}break R}if((h|0)<=0&e>>>0<=1|(h|0)<0|(Fc(d,f&255)|0)==-1){break Q}}f=h-(e>>>0<1)|0;e=e-1|0;h=f;f=(e<<3)-8|0;f=f&-8;g=v[d+8>>2];if(!(g&7)){continue}}break}g=v[d+8>>2]}S:{if(g&7){break S}j=v[l+32>>2];e=2;h=0;f=8;while(1){i=v[d+64>>2];if(!((i|0)<0|(i|0)>v[d+60>>2])){g=g|4;v[d+8>>2]=g;break S}i=j;o=f&31;f=(f&63)>>>0>=32?0:i>>>o|0;v[d+4>>2]=v[d+4>>2]|32;g=v[d+28>>2];v[d+28>>2]=g-1;T:{U:{if((g|0)>=1){v[d+60>>2]=v[d+60>>2]+1;g=v[d+24>>2];v[d+24>>2]=g+1;t[g|0]=f;if(e>>>0<2&(h|0)<=0|(h|0)<0){break T}break U}if((h|0)<=0&e>>>0<=1|(h|0)<0|(Fc(d,f&255)|0)==-1){break T}}f=h-(e>>>0<1)|0;e=e-1|0;h=f;f=(e<<3)-8|0;f=f&-8;g=v[d+8>>2];if(!(g&7)){continue}}break}g=v[d+8>>2]}V:{if(g&7){break V}j=v[l+36>>2];e=2;h=0;f=8;while(1){i=v[d+64>>2];if(!((i|0)<0|(i|0)>v[d+60>>2])){g=g|4;v[d+8>>2]=g;break V}i=j;o=f&31;f=(f&63)>>>0>=32?0:i>>>o|0;v[d+4>>2]=v[d+4>>2]|32;g=v[d+28>>2];v[d+28>>2]=g-1;W:{X:{if((g|0)>=1){v[d+60>>2]=v[d+60>>2]+1;g=v[d+24>>2];v[d+24>>2]=g+1;t[g|0]=f;if(e>>>0<2&(h|0)<=0|(h|0)<0){break W}break X}if((h|0)<=0&e>>>0<=1|(h|0)<0|(Fc(d,f&255)|0)==-1){break W}}f=h-(e>>>0<1)|0;e=e-1|0;h=f;f=(e<<3)-8|0;f=f&-8;g=v[d+8>>2];if(!(g&7)){continue}}break}g=v[d+8>>2]}Y:{if(g&7){break Y}j=v[l+40>>2];e=2;h=0;f=8;while(1){i=v[d+64>>2];if(!((i|0)<0|(i|0)>v[d+60>>2])){g=g|4;v[d+8>>2]=g;break Y}i=j;o=f&31;f=(f&63)>>>0>=32?0:i>>>o|0;v[d+4>>2]=v[d+4>>2]|32;g=v[d+28>>2];v[d+28>>2]=g-1;Z:{_:{if((g|0)>=1){v[d+60>>2]=v[d+60>>2]+1;g=v[d+24>>2];v[d+24>>2]=g+1;t[g|0]=f;if(e>>>0<2&(h|0)<=0|(h|0)<0){break Z}break _}if((h|0)<=0&e>>>0<=1|(h|0)<0|(Fc(d,f&255)|0)==-1){break Z}}f=h-(e>>>0<1)|0;e=e-1|0;h=f;f=(e<<3)-8|0;f=f&-8;g=v[d+8>>2];if(!(g&7)){continue}}break}g=v[d+8>>2]}$:{if(g&7){break $}j=v[l+44>>2];e=2;h=0;f=8;while(1){i=v[d+64>>2];if(!((i|0)<0|(i|0)>v[d+60>>2])){v[d+8>>2]=g|4;break $}i=j;o=f&31;f=(f&63)>>>0>=32?0:i>>>o|0;v[d+4>>2]=v[d+4>>2]|32;g=v[d+28>>2];v[d+28>>2]=g-1;aa:{if((g|0)>=1){v[d+60>>2]=v[d+60>>2]+1;g=v[d+24>>2];v[d+24>>2]=g+1;t[g|0]=f;if(e>>>0<2&(h|0)<=0|(h|0)<0){break $}break aa}if((h|0)<=0&e>>>0<=1|(h|0)<0|(Fc(d,f&255)|0)==-1){break $}}f=h-(e>>>0<1)|0;e=e-1|0;h=f;f=(e<<3)-8|0;f=f&-8;g=v[d+8>>2];if(!(g&7)){continue}break}}if(Hg(d,4,v[l+48>>2],0)){break q}if(Hg(d,4,v[l+52>>2],0)){break q}if(Hg(d,4,v[l+56>>2],0)){break q}if(Hg(d,4,v[l+60>>2],0)){break q}if(Hg(d,4,v[l+64>>2],0)){break q}if(Hg(d,8,v[l+72>>2],v[l+76>>2])){break q}if(Hg(d,4,v[l+80>>2],0)){break q}i=v[d+8>>2];ba:{if(i&7){break ba}p=v[l+84>>2];h=p;e=h>>31;o=h;j=e;f=(e&16777215)<<8|h>>>24;g=h>>24;e=4;h=0;while(1){p=v[d+64>>2];if(!((p|0)<0|(p|0)>v[d+60>>2])){i=i|4;v[d+8>>2]=i;break ba}v[d+4>>2]=v[d+4>>2]|32;i=v[d+28>>2];v[d+28>>2]=i-1;ca:{da:{if((i|0)>=1){v[d+60>>2]=v[d+60>>2]+1;g=v[d+24>>2];v[d+24>>2]=g+1;t[g|0]=f;if(e>>>0<2&(h|0)<=0|(h|0)<0){break ca}break da}if((h|0)<=0&e>>>0<=1|(h|0)<0|(Fc(d,g&255)|0)==-1){break ca}}g=h-(e>>>0<1)|0;e=e-1|0;h=g;f=j;i=(e<<3)-8|0;g=i&-8;i=g&31;f=(g&63)>>>0>=32?f>>>i|0:((1<>>i;g=f;i=v[d+8>>2];if(!(i&7)){continue}}break}i=v[d+8>>2]}ea:{if(i&7){break ea}p=v[l+88>>2];h=p;e=h>>31;o=h;j=e;f=(e&16777215)<<8|h>>>24;g=h>>24;e=4;h=0;while(1){p=v[d+64>>2];if(!((p|0)<0|(p|0)>v[d+60>>2])){i=i|4;v[d+8>>2]=i;break ea}v[d+4>>2]=v[d+4>>2]|32;i=v[d+28>>2];v[d+28>>2]=i-1;fa:{ga:{if((i|0)>=1){v[d+60>>2]=v[d+60>>2]+1;g=v[d+24>>2];v[d+24>>2]=g+1;t[g|0]=f;if(e>>>0<2&(h|0)<=0|(h|0)<0){break fa}break ga}if((h|0)<=0&e>>>0<=1|(h|0)<0|(Fc(d,g&255)|0)==-1){break fa}}g=h-(e>>>0<1)|0;e=e-1|0;h=g;f=j;i=(e<<3)-8|0;g=i&-8;i=g&31;f=(g&63)>>>0>=32?f>>>i|0:((1<>>i;g=f;i=v[d+8>>2];if(!(i&7)){continue}}break}i=v[d+8>>2]}ha:{if(i&7){break ha}p=v[l+92>>2];h=p;e=h>>31;o=h;j=e;f=(e&16777215)<<8|h>>>24;g=h>>24;e=4;h=0;while(1){p=v[d+64>>2];if(!((p|0)<0|(p|0)>v[d+60>>2])){v[d+8>>2]=i|4;break ha}v[d+4>>2]=v[d+4>>2]|32;i=v[d+28>>2];v[d+28>>2]=i-1;ia:{if((i|0)>=1){v[d+60>>2]=v[d+60>>2]+1;g=v[d+24>>2];v[d+24>>2]=g+1;t[g|0]=f;if(e>>>0<2&(h|0)<=0|(h|0)<0){break ha}break ia}if((h|0)<=0&e>>>0<=1|(h|0)<0|(Fc(d,g&255)|0)==-1){break ha}}g=h-(e>>>0<1)|0;e=e-1|0;h=g;f=j;i=(e<<3)-8|0;g=i&-8;i=g&31;f=(g&63)>>>0>=32?f>>>i|0:((1<>>i;g=f;i=v[d+8>>2];if(!(i&7)){continue}break}}if(Hg(d,4,v[l+96>>2],0)){break q}if((cw(d,44)|0)!=44){break q}f=v[d+8>>2];if(f&7){break q}h=v[l+104>>2];e=v[n>>2];if((e|0)>=0&(e|0)<=v[d+60>>2]){break v}e=h;f=e>>>24|0;v[d+4>>2]=v[d+4>>2]|32;g=v[d+28>>2];v[d+28>>2]=g-1;ja:{if((g|0)>=1){v[d+60>>2]=v[d+60>>2]+1;g=v[d+24>>2];v[d+24>>2]=g+1;t[g|0]=f;break ja}if((Fc(d,f)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break q}g=v[n>>2];if((g|0)>=0&(g|0)<=v[d+60>>2]){break v}f=e>>>16|0;v[d+4>>2]=v[d+4>>2]|32;g=v[d+28>>2];v[d+28>>2]=g-1;ka:{if((g|0)>=1){v[d+60>>2]=v[d+60>>2]+1;g=v[d+24>>2];v[d+24>>2]=g+1;t[g|0]=f;break ka}if((Fc(d,f&255)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break q}g=v[n>>2];if((g|0)>=0&(g|0)<=v[d+60>>2]){break v}e=e>>>8|0;v[d+4>>2]=v[d+4>>2]|32;f=v[d+28>>2];v[d+28>>2]=f-1;la:{if((f|0)>=1){v[d+60>>2]=v[d+60>>2]+1;f=v[d+24>>2];v[d+24>>2]=f+1;t[f|0]=e;break la}if((Fc(d,e&255)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break q}e=v[n>>2];if((e|0)>=0&(e|0)<=v[d+60>>2]){break v}v[d+4>>2]=v[d+4>>2]|32;e=v[d+28>>2];v[d+28>>2]=e-1;ma:{if((e|0)>=1){v[d+60>>2]=v[d+60>>2]+1;e=v[d+24>>2];v[d+24>>2]=e+1;t[e|0]=h;break ma}if((Fc(d,h&255)|0)==-1){break q}}i=0;m=0;if(v[l+104>>2]<=0){break q}while(1){f=v[d+8>>2];if(f&7){break r}g=v[l+108>>2]+B(i,20)|0;h=v[g>>2];e=v[n>>2];if((e|0)>=0&(e|0)<=v[d+60>>2]){break v}e=h;f=e>>>24|0;v[d+4>>2]=v[d+4>>2]|32;j=v[d+28>>2];v[d+28>>2]=j-1;na:{if((j|0)>=1){v[d+60>>2]=v[d+60>>2]+1;j=v[d+24>>2];v[d+24>>2]=j+1;t[j|0]=f;break na}m=-1;if((Fc(d,f)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break r}j=v[n>>2];if((j|0)>=0&(j|0)<=v[d+60>>2]){break v}f=e>>>16|0;v[d+4>>2]=v[d+4>>2]|32;j=v[d+28>>2];v[d+28>>2]=j-1;oa:{if((j|0)>=1){v[d+60>>2]=v[d+60>>2]+1;j=v[d+24>>2];v[d+24>>2]=j+1;t[j|0]=f;break oa}m=-1;if((Fc(d,f&255)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break r}j=v[n>>2];if((j|0)>=0&(j|0)<=v[d+60>>2]){break v}e=e>>>8|0;v[d+4>>2]=v[d+4>>2]|32;f=v[d+28>>2];v[d+28>>2]=f-1;pa:{if((f|0)>=1){v[d+60>>2]=v[d+60>>2]+1;f=v[d+24>>2];v[d+24>>2]=f+1;t[f|0]=e;break pa}m=-1;if((Fc(d,e&255)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break r}e=v[n>>2];if((e|0)>=0&(e|0)<=v[d+60>>2]){break v}v[d+4>>2]=v[d+4>>2]|32;e=v[d+28>>2];v[d+28>>2]=e-1;qa:{if((e|0)>=1){v[d+60>>2]=v[d+60>>2]+1;e=v[d+24>>2];v[d+24>>2]=e+1;t[e|0]=h;break qa}m=-1;if((Fc(d,h&255)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break r}h=v[g+4>>2];e=v[n>>2];if((e|0)>=0&(e|0)<=v[d+60>>2]){break v}e=h;f=e>>>24|0;v[d+4>>2]=v[d+4>>2]|32;j=v[d+28>>2];v[d+28>>2]=j-1;ra:{if((j|0)>=1){v[d+60>>2]=v[d+60>>2]+1;j=v[d+24>>2];v[d+24>>2]=j+1;t[j|0]=f;break ra}m=-1;if((Fc(d,f)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break r}j=v[n>>2];if((j|0)>=0&(j|0)<=v[d+60>>2]){break v}f=e>>>16|0;v[d+4>>2]=v[d+4>>2]|32;j=v[d+28>>2];v[d+28>>2]=j-1;sa:{if((j|0)>=1){v[d+60>>2]=v[d+60>>2]+1;j=v[d+24>>2];v[d+24>>2]=j+1;t[j|0]=f;break sa}m=-1;if((Fc(d,f&255)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break r}j=v[n>>2];if((j|0)>=0&(j|0)<=v[d+60>>2]){break v}e=e>>>8|0;v[d+4>>2]=v[d+4>>2]|32;f=v[d+28>>2];v[d+28>>2]=f-1;ta:{if((f|0)>=1){v[d+60>>2]=v[d+60>>2]+1;f=v[d+24>>2];v[d+24>>2]=f+1;t[f|0]=e;break ta}m=-1;if((Fc(d,e&255)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break r}e=v[n>>2];if((e|0)>=0&(e|0)<=v[d+60>>2]){break v}v[d+4>>2]=v[d+4>>2]|32;e=v[d+28>>2];v[d+28>>2]=e-1;ua:{if((e|0)>=1){v[d+60>>2]=v[d+60>>2]+1;e=v[d+24>>2];v[d+24>>2]=e+1;t[e|0]=h;break ua}m=-1;if((Fc(d,h&255)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break r}h=v[g+8>>2];e=v[n>>2];if((e|0)>=0&(e|0)<=v[d+60>>2]){break v}e=h;f=e>>>24|0;v[d+4>>2]=v[d+4>>2]|32;g=v[d+28>>2];v[d+28>>2]=g-1;va:{if((g|0)>=1){v[d+60>>2]=v[d+60>>2]+1;g=v[d+24>>2];v[d+24>>2]=g+1;t[g|0]=f;break va}m=-1;if((Fc(d,f)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break r}g=v[n>>2];if((g|0)>=0&(g|0)<=v[d+60>>2]){break v}f=e>>>16|0;v[d+4>>2]=v[d+4>>2]|32;g=v[d+28>>2];v[d+28>>2]=g-1;wa:{if((g|0)>=1){v[d+60>>2]=v[d+60>>2]+1;g=v[d+24>>2];v[d+24>>2]=g+1;t[g|0]=f;break wa}m=-1;if((Fc(d,f&255)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break r}g=v[n>>2];if((g|0)>=0&(g|0)<=v[d+60>>2]){break v}e=e>>>8|0;v[d+4>>2]=v[d+4>>2]|32;f=v[d+28>>2];v[d+28>>2]=f-1;xa:{if((f|0)>=1){v[d+60>>2]=v[d+60>>2]+1;f=v[d+24>>2];v[d+24>>2]=f+1;t[f|0]=e;break xa}m=-1;if((Fc(d,e&255)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break r}e=v[n>>2];if((e|0)>=0&(e|0)<=v[d+60>>2]){break v}v[d+4>>2]=v[d+4>>2]|32;e=v[d+28>>2];v[d+28>>2]=e-1;ya:{if((e|0)>=1){v[d+60>>2]=v[d+60>>2]+1;e=v[d+24>>2];v[d+24>>2]=e+1;t[e|0]=h;break ya}m=-1;if((Fc(d,h&255)|0)==-1){break q}}i=i+1|0;e=v[l+104>>2];if((i|0)<(e|0)){continue}break}m=0;if((e|0)<1){break q}g=B(e,12)+132|0;i=0;za:{while(1){Aa:{o=v[l+108>>2]+B(i,20)|0;if(v[o+4>>2]==(g|0)){if((i|0)<0){break r}e=v[l+112>>2];if(v[e>>2]<=(i|0)){break r}j=v[(v[e+8>>2]+(i<<3)|0)+4>>2];v[j>>2]=v[j>>2]+1;f=v[d+8>>2];if(f&7){break r}h=v[j+4>>2];e=v[n>>2];if((e|0)>=0&(e|0)<=v[d+60>>2]){break v}e=h;f=e>>>24|0;v[d+4>>2]=v[d+4>>2]|32;m=v[d+28>>2];v[d+28>>2]=m-1;Ba:{if((m|0)>=1){v[d+60>>2]=v[d+60>>2]+1;m=v[d+24>>2];v[d+24>>2]=m+1;t[m|0]=f;break Ba}m=-1;if((Fc(d,f)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break r}m=v[n>>2];if((m|0)>=0&(m|0)<=v[d+60>>2]){break v}f=e>>>16|0;v[d+4>>2]=v[d+4>>2]|32;m=v[d+28>>2];v[d+28>>2]=m-1;Ca:{if((m|0)>=1){v[d+60>>2]=v[d+60>>2]+1;m=v[d+24>>2];v[d+24>>2]=m+1;t[m|0]=f;break Ca}m=-1;if((Fc(d,f&255)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break r}m=v[n>>2];if((m|0)>=0&(m|0)<=v[d+60>>2]){break v}e=e>>>8|0;v[d+4>>2]=v[d+4>>2]|32;f=v[d+28>>2];v[d+28>>2]=f-1;Da:{if((f|0)>=1){v[d+60>>2]=v[d+60>>2]+1;f=v[d+24>>2];v[d+24>>2]=f+1;t[f|0]=e;break Da}m=-1;if((Fc(d,e&255)|0)==-1){break q}}f=v[d+8>>2];if(f&7){break r}e=v[n>>2];if((e|0)>=0&(e|0)<=v[d+60>>2]){break v}v[d+4>>2]=v[d+4>>2]|32;e=v[d+28>>2];v[d+28>>2]=e-1;Ea:{if((e|0)>=1){v[d+60>>2]=v[d+60>>2]+1;e=v[d+24>>2];v[d+24>>2]=e+1;t[e|0]=h;break Ea}m=-1;if((Fc(d,h&255)|0)==-1){break q}}if((cw(d,4)|0)==4){break Aa}break r}X(19390,7738,420,188444);L()}if(Ub[v[v[j+8>>2]+12>>2]](j,d)|0){break r}e=v[j>>2];v[j>>2]=e-1;if((e|0)<=1){e=v[v[j+8>>2]>>2];if(e){Ub[e|0](j)}dc(j)}f=v[l+104>>2];e=i+1|0;e=(e|0)<(f|0)?f:e;g=v[o+8>>2]+g|0;Fa:{while(1){i=i+1|0;if((f|0)<=(i|0)){i=e;h=l;break Fa}h=v[l+108>>2]+B(i,20)|0;if(v[h+16>>2]){continue}break}h=h+4|0}e=v[h>>2];h=e-g|0;if((h|0)<=-1){break za}if(h){m=-1;if((cw(d,h)|0)!=(h|0)){break q}g=e;f=v[l+104>>2]}m=0;if((f|0)>(i|0)){continue}break}break q}X(21681,7738,437,188444);L()}v[d+8>>2]=f|4}m=-1}if(m){break n}e=ui(r);if((e|0)<=-1){break n}v[k+32>>2]=e;e=jc(e);v[k+28>>2]=e;if(!e){break b}Dm(r);if((Kh(r,v[k+28>>2],v[k+32>>2])|0)!=v[k+32>>2]){break n}Te(r);Bm(l)}if(Yo(k,q)){break i}Vg(k);Ga:{switch((v[a+28>>2]>>8)-3|0){case 1:e=v[a+24>>2];if(v[v[e>>2]+40>>2]|v[v[e+4>>2]+40>>2]!=1|v[v[e+8>>2]+40>>2]!=2){break l}break k;case 0:break m;case 2:break Ga;default:break n}}e=v[a+24>>2];if(v[v[e>>2]+40>>2]|v[v[e+4>>2]+40>>2]!=1|v[v[e+8>>2]+40>>2]!=2){break l}break k}ia();L()}if(!v[v[v[a+24>>2]>>2]+40>>2]){break k}}k=Zo(1667523942);if(!k){break h}e=v[a+16>>2];v[k+20>>2]=e;j=jc(B(e,12));v[k+24>>2]=j;d=v[a+16>>2];if((d|0)>=1){l=v[a+24>>2];m=v[a+28>>2];f=0;while(1){e=j+B(f,12)|0;v[e>>2]=f;h=e;r=v[v[l+(f<<2)>>2]+40>>2];g=65536;Ha:{if(r&32768){break Ha}g=65535;i=-65536;Ia:{switch((m>>8)-3|0){case 0:g=1;i=0;default:g=g|i;break Ha;case 1:case 2:break Ia}}i=r&32767;g=i>>>0<3;g=(g?i+1|0:65535)|(g?0:-65536)}v[h+8>>2]=g&32767;v[e+4>>2]=g>>>16;f=f+1|0;if((d|0)!=(f|0)){continue}break}}if(Yo(k,q)){break i}Vg(k)}e=ui(q);Dm(q);k=Zo(1785737832);if(!k){break h}v[k+12>>2]=e+8;if(Yo(k,b)){break i}Vg(k);if(Cm(b,q,e)){break h}Te(q);k=Zo(1785737827);if(!k){break f}q=0;v[k+12>>2]=0;if(Yo(k,b)){break i}Vg(k);v[s+4>>2]=v[b+60>>2];v[s>>2]=c?c:19977;c=s+16|0;zd(c,17164,s);if(H2(a,b,c)){break f}a=0;break e}Vg(k)}if(!q){break f}}Te(q)}a=-1}Qb=s+4112|0;return a|0}X(2053,7540,229,188652);L()}X(9714,7540,231,188652);L()}X(13063,7540,238,188652);L()}function Ir(a,b,c,d,e,f,g,h,i,j,k){var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,Q=0,R=0,U=0,V=0,W=0;G=Qb-160|0;Qb=G;z=fc(24);v[z+12>>2]=d;v[z+8>>2]=c;v[z>>2]=936712;v[z+4>>2]=0;l=c+7>>3;v[z+16>>2]=l;a:{if(!((c|0)<1|(d|0)<1)){o=d;if((o|0)<(2147483646/(l|0)|0)){break a}}v[z+12>>2]=-1;v[z+16>>2]=2;o=-1;l=2}v[299999]=0;n=B(l,o);l=S(3693,n+1|0)|0;o=v[299999];v[299999]=0;b:{c:{if((o|0)!=1){v[z+20>>2]=l;t[l+n|0]=0;ic(v[z+20>>2],0,B(v[z+16>>2],v[z+12>>2]));if(!b){break c}b=v[a+148>>2];v[b+12>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;if((c|0)>=2147483645){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,242589,0);c=-4}i=ed(c+1|0,4);x=ed(c+3|0,4);v[i>>2]=c;d:{if((d|0)<1){break d}o=c;b=0;while(1){l=0;if((c|0)>(o|0)){while(1){v[x+(l<<2)>>2]=o;l=l+1|0;o=v[i+(l<<2)>>2];if((o|0)<(c|0)){continue}break}}e=x+(l<<2)|0;v[e>>2]=c;v[e+8>>2]=c;v[e+4>>2]=c;g=0;v[i>>2]=0;l=0;q=i;s=0;o=0;m=0;if((c|0)>0){while(1){n=v[a+148>>2];h=v[n+8>>2];e:{if(!h){h=8;e=v[n>>2];e=Ub[v[v[e>>2]+28>>2]](e)|0;v[n+8>>2]=8;e=e&255;v[n+4>>2]=e;v[n+12>>2]=v[n+12>>2]+1;v[n+16>>2]=v[n+16>>2]+1;j=(e<<1&508)+932480|0;break e}f=v[n+4>>2];if(h>>>0>=7){j=((f>>>h-7&127)<<2)+932480|0;break e}j=((f<<7-h&127)<<2)+932480|0;e=u[j>>1];if((e|0)>=0&(e|0)<=(h|0)){break e}e=v[n>>2];f=Ub[v[v[e>>2]+28>>2]](e)&255|f<<8;v[n+4>>2]=f;e=v[n+8>>2];h=e+8|0;v[n+8>>2]=h;v[n+12>>2]=v[n+12>>2]+1;v[n+16>>2]=v[n+16>>2]+1;j=((f>>>e+1&127)<<2)+932480|0}f:{g:{e=u[j>>1];if((e|0)<=-1){e=v[n>>2];kc(1,Ub[v[v[e>>2]+52>>2]](e)|0,258154,0);break g}v[n+8>>2]=h-(e&65535);h:{i:{j:{switch(u[j+2>>1]+1|0){case 1:n=o+2|0;f=o;o=x+(o<<2)|0;e=v[o+4>>2];if((e|0)>v[q>>2]){m=((m&1)!=(s|0))+m|0;j=i+(m<<2)|0;if((c|0)<(e|0)){h=Ub[v[v[a>>2]+52>>2]](a)|0;v[G>>2]=e;kc(1,h,336237,G);e=c}v[j>>2]=e;e=v[o+4>>2]}o=(c|0)>(e|0)?n:f;break f;case 2:D=0;if(s){while(1){n=v[a+148>>2];h=v[n+8>>2];if(!h){e=v[n>>2];e=Ub[v[v[e>>2]+28>>2]](e)|0;v[n+8>>2]=8;v[n+4>>2]=e&255;v[n+12>>2]=v[n+12>>2]+1;v[n+16>>2]=v[n+16>>2]+1;h=8}k:{l:{while(1){m:{n:{o:{p:{q:{if(h>>>0>=10){j=v[n+4>>2];y=h-6|0;if(j>>>y&63){break q}e=(((h>>>0<14?j<<13-h:j>>>h-13|0)&127)<<2)+935168|0;break m}j=v[n+4>>2];if(h>>>0<7){break p}y=h-6|0}if(!(j>>>y&3)|j>>>h-4&15){break o}e=(((h>>>0<13?j<<12-h:j>>>h-12|0)&255)<<2)+935424|0;break m}e=j<<6-h;break n}e=j>>>y|0}e=((e&63)<<2)+936448|0}f=u[e>>1];if((f|0)>=1&(f|0)<=(h|0)){break l}if(h>>>0<=12){e=v[n>>2];V=n,W=Ub[v[v[e>>2]+28>>2]](e)&255|j<<8,v[V+4>>2]=W;h=v[n+8>>2]+8|0;v[n+8>>2]=h;v[n+12>>2]=v[n+12>>2]+1;v[n+16>>2]=v[n+16>>2]+1;continue}break}e=v[n>>2];kc(1,Ub[v[v[e>>2]+52>>2]](e)|0,258191,0);v[n+8>>2]=v[n+8>>2]-1;D=D+1|0;break k}v[n+8>>2]=h-f;e=u[e+2>>1];D=e+D|0;if((e|0)>63){continue}}break}r=0;while(1){l=v[a+148>>2];h=v[l+8>>2];if(!h){e=v[l>>2];e=Ub[v[v[e>>2]+28>>2]](e)|0;v[l+8>>2]=8;v[l+4>>2]=e&255;v[l+12>>2]=v[l+12>>2]+1;v[l+16>>2]=v[l+16>>2]+1;h=8}n=l+8|0;while(1){r:{s:{t:{if(h>>>0>=11){j=v[l+4>>2];if(j>>>h-7&127){break t}e=(((h>>>0<13?j<<12-h:j>>>h-12|0)&31)<<2)+932992|0;break r}j=v[l+4>>2];if((h|0)==10){break t}e=j<<9-h;break s}e=j>>>h-9|0}e=((e&511)<<2)+933120|0}f=u[e>>1];if(!((f|0)>=1&(f|0)<=(h|0))){if(h>>>0>11){h=258226;break i}e=v[l>>2];V=l,W=Ub[v[v[e>>2]+28>>2]](e)&255|j<<8,v[V+4>>2]=W;h=v[l+8>>2]+8|0;v[l+8>>2]=h;v[l+12>>2]=v[l+12>>2]+1;v[l+16>>2]=v[l+16>>2]+1;continue}break}v[l+8>>2]=h-f;e=u[e+2>>1];r=e+r|0;if((e|0)>63){continue}break}break h}while(1){n=v[a+148>>2];h=v[n+8>>2];if(!h){e=v[n>>2];e=Ub[v[v[e>>2]+28>>2]](e)|0;v[n+8>>2]=8;v[n+4>>2]=e&255;v[n+12>>2]=v[n+12>>2]+1;v[n+16>>2]=v[n+16>>2]+1;h=8}u:{v:{while(1){w:{x:{y:{if(h>>>0>=11){j=v[n+4>>2];if(j>>>h-7&127){break y}e=(((h>>>0<13?j<<12-h:j>>>h-12|0)&31)<<2)+932992|0;break w}j=v[n+4>>2];if((h|0)==10){break y}e=j<<9-h;break x}e=j>>>h-9|0}e=((e&511)<<2)+933120|0}f=u[e>>1];if((f|0)>=1&(f|0)<=(h|0)){break v}if(h>>>0<=11){e=v[n>>2];V=n,W=Ub[v[v[e>>2]+28>>2]](e)&255|j<<8,v[V+4>>2]=W;h=v[n+8>>2]+8|0;v[n+8>>2]=h;v[n+12>>2]=v[n+12>>2]+1;v[n+16>>2]=v[n+16>>2]+1;continue}break}e=v[n>>2];kc(1,Ub[v[v[e>>2]+52>>2]](e)|0,258226,0);v[n+8>>2]=v[n+8>>2]-1;D=D+1|0;break u}v[n+8>>2]=h-f;e=u[e+2>>1];D=e+D|0;if((e|0)>63){continue}}break};r=0;while(1){l=v[a+148>>2];h=v[l+8>>2];if(!h){e=v[l>>2];e=Ub[v[v[e>>2]+28>>2]](e)|0;v[l+8>>2]=8;v[l+4>>2]=e&255;v[l+12>>2]=v[l+12>>2]+1;v[l+16>>2]=v[l+16>>2]+1;h=8}n=l+8|0;while(1){z:{A:{B:{C:{D:{if(h>>>0>=10){j=v[l+4>>2];y=h-6|0;if(j>>>y&63){break D}e=(((h>>>0<14?j<<13-h:j>>>h-13|0)&127)<<2)+935168|0;break z}j=v[l+4>>2];if(h>>>0<7){break C}y=h-6|0}if(!(j>>>y&3)|j>>>h-4&15){break B}e=(((h>>>0<13?j<<12-h:j>>>h-12|0)&255)<<2)+935424|0;break z}e=j<<6-h;break A}e=j>>>y|0}e=((e&63)<<2)+936448|0}f=u[e>>1];if(!((f|0)>=1&(f|0)<=(h|0))){if(h>>>0>12){h=258191;break i}e=v[l>>2];V=l,W=Ub[v[v[e>>2]+28>>2]](e)&255|j<<8,v[V+4>>2]=W;h=v[l+8>>2]+8|0;v[l+8>>2]=h;v[l+12>>2]=v[l+12>>2]+1;v[l+16>>2]=v[l+16>>2]+1;continue}break}v[l+8>>2]=h-f;e=u[e+2>>1];r=e+r|0;if((e|0)>63){continue}break};break h;case 8:j=v[x+(o<<2)>>2]+3|0;E:{if((j|0)<=v[q>>2]){j=v[i+(m<<2)>>2];break E}if((c|0)<(j|0)){e=Ub[v[v[a>>2]+52>>2]](a)|0;v[G+48>>2]=j;kc(1,e,336237,G+48|0);j=c}m=((m&1)!=(s|0))+m|0;v[i+(m<<2)>>2]=j}s=s^1;if((c|0)<=(j|0)){break f}l=o+1|0;while(1){o=l;e=v[x+(l<<2)>>2];if((e|0)>(j|0)){break f}l=o+2|0;if((c|0)>(e|0)){continue}break};break f;case 6:j=v[x+(o<<2)>>2]+2|0;F:{if((j|0)<=v[q>>2]){j=v[i+(m<<2)>>2];break F}if((c|0)<(j|0)){e=Ub[v[v[a>>2]+52>>2]](a)|0;v[G+64>>2]=j;kc(1,e,336237,G- -64|0);j=c}m=((m&1)!=(s|0))+m|0;v[i+(m<<2)>>2]=j}s=s^1;if((c|0)<=(j|0)){break f}l=o+1|0;while(1){o=l;e=v[x+(l<<2)>>2];if((e|0)>(j|0)){break f}l=o+2|0;if((c|0)>(e|0)){continue}break};break f;case 4:e=v[x+(o<<2)>>2];G:{if((e|0)>2]){j=v[i+(m<<2)>>2];break G}j=e+1|0;if((c|0)<=(e|0)){e=Ub[v[v[a>>2]+52>>2]](a)|0;v[G+80>>2]=j;kc(1,e,336237,G+80|0);j=c}m=((m&1)!=(s|0))+m|0;v[i+(m<<2)>>2]=j}s=s^1;if((c|0)<=(j|0)){break f}l=o+1|0;while(1){o=l;e=v[x+(l<<2)>>2];if((e|0)>(j|0)){break f}l=o+2|0;if((c|0)>(e|0)){continue}break};break f;case 3:j=v[x+(o<<2)>>2];H:{if((j|0)<=v[q>>2]){j=v[i+(m<<2)>>2];break H}if((c|0)<(j|0)){e=Ub[v[v[a>>2]+52>>2]](a)|0;v[G+96>>2]=j;kc(1,e,336237,G+96|0);j=c}m=((m&1)!=(s|0))+m|0;v[i+(m<<2)>>2]=j}s=s^1;if((c|0)<=(j|0)){break f}l=o+1|0;while(1){o=l;e=v[x+(l<<2)>>2];if((e|0)>(j|0)){break f}l=o+2|0;if((c|0)>(e|0)){continue}break};break f;case 9:f=v[x+(o<<2)>>2];j=f-3|0;e=v[q>>2];I:{J:{if((j|0)>(e|0)){if((c|0)<(j|0)){e=Ub[v[v[a>>2]+52>>2]](a)|0;v[G+112>>2]=j;kc(1,e,336237,G+112|0);j=c}m=((m&1)!=(s|0))+m|0;break J}if((e|0)<=(j|0)){j=v[i+(m<<2)>>2];break I}if((f|0)<=2){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,284381,0);j=0}if((m|0)<1){break J}while(1){e=m-1|0;if(v[i+(e<<2)>>2]<(j|0)){break J}f=(m|0)>1;m=e;if(f){continue}break}m=0}v[i+(m<<2)>>2]=j}s=s^1;if((c|0)<=(j|0)){break f}l=((o|0)<1?1:-1)+o|0;while(1){o=l;e=v[x+(l<<2)>>2];if((e|0)>(j|0)){break f}l=o+2|0;if((c|0)>(e|0)){continue}break};break f;case 7:f=v[x+(o<<2)>>2];j=f-2|0;e=v[q>>2];K:{L:{if((j|0)>(e|0)){if((c|0)<(j|0)){e=Ub[v[v[a>>2]+52>>2]](a)|0;v[G+128>>2]=j;kc(1,e,336237,G+128|0);j=c}m=((m&1)!=(s|0))+m|0;break L}if((e|0)<=(j|0)){j=v[i+(m<<2)>>2];break K}if((f|0)<=1){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,284381,0);j=0}if((m|0)<1){break L}while(1){e=m-1|0;if(v[i+(e<<2)>>2]<(j|0)){break L}f=(m|0)>1;m=e;if(f){continue}break}m=0}v[i+(m<<2)>>2]=j}s=s^1;if((c|0)<=(j|0)){break f}l=((o|0)<1?1:-1)+o|0;while(1){o=l;e=v[x+(l<<2)>>2];if((e|0)>(j|0)){break f}l=o+2|0;if((c|0)>(e|0)){continue}break};break f;case 5:f=v[x+(o<<2)>>2];j=f-1|0;e=v[q>>2];M:{N:{if((j|0)>(e|0)){if((c|0)<(j|0)){e=Ub[v[v[a>>2]+52>>2]](a)|0;v[G+144>>2]=j;kc(1,e,336237,G+144|0);j=c}m=((m&1)!=(s|0))+m|0;break N}if((e|0)<(f|0)){j=v[i+(m<<2)>>2];break M}if((f|0)<=0){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,284381,0);j=0}if((m|0)<1){break N}while(1){e=m-1|0;if(v[i+(e<<2)>>2]<(j|0)){break N}f=(m|0)>1;m=e;if(f){continue}break}m=0}v[i+(m<<2)>>2]=j}s=s^1;if((c|0)<=(j|0)){break f}l=((o|0)<1?1:-1)+o|0;while(1){o=l;e=v[x+(l<<2)>>2];if((e|0)>(j|0)){break f}l=o+2|0;if((c|0)>(e|0)){continue}break};break f;case 0:break g;default:break j}}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,304134,0);if(v[q>>2]>=(c|0)){break f}m=(m&1)+m|0;v[i+(m<<2)>>2]=c;break f}e=v[l>>2];kc(1,Ub[v[v[e>>2]+52>>2]](e)|0,h,0);v[n>>2]=v[n>>2]-1;r=r+1|0}O:{if((D|0)<=0){j=v[i+(m<<2)>>2];break O}j=v[q>>2]+D|0;if((j|0)>(c|0)){e=Ub[v[v[a>>2]+52>>2]](a)|0;v[G+32>>2]=j;kc(1,e,336237,G+32|0);j=c}m=((m&1)!=(s|0))+m|0;v[i+(m<<2)>>2]=j}if(!((r|0)<1|(c|0)<=(j|0))){j=j+r|0;if((j|0)>(c|0)){e=Ub[v[v[a>>2]+52>>2]](a)|0;v[G+16>>2]=j;kc(1,e,336237,G+16|0);j=c}m=((m&1)!=(s^1))+m|0;v[i+(m<<2)>>2]=j}while(1){e=o;f=v[x+(e<<2)>>2];if((f|0)>(j|0)){break f}o=e+2|0;if((c|0)>(f|0)){continue}break}o=e;break f}if(v[q>>2]>=(c|0)){break f}m=(m&1)+m|0;v[i+(m<<2)>>2]=c}q=i+(m<<2)|0;if(v[q>>2]<(c|0)){continue}break}l=v[i>>2]}P:{if((c|0)<=(l|0)){break P}while(1){f=i+(g<<2|4)|0;o=v[f>>2];if((o|0)>(l|0)){while(1){e=v[z+20>>2]+(B(v[z+16>>2],b)+(l>>3)|0)|0;t[e|0]=w[e|0]|1<<((l^-1)&7);l=l+1|0;o=v[f>>2];if((l|0)<(o|0)){continue}break}}if((c|0)<=(o|0)){break P}g=g+2|0;l=v[i+(g<<2)>>2];if((l|0)<(c|0)){continue}break}}b=b+1|0;if((d|0)==(b|0)){break d}o=v[i>>2];continue}}d=v[a+148>>2];Q:{if((k|0)>=0){a=v[d>>2];a=Ub[v[v[a>>2]+48>>2]](a,k-v[d+12>>2]|0)|0;v[d+12>>2]=a+v[d+12>>2];v[d+16>>2]=a+v[d+16>>2];break Q}c=v[d+4>>2];o=v[d+8>>2];if(o>>>0<=23){while(1){b=v[d>>2];c=Ub[v[v[b>>2]+28>>2]](b)&255|c<<8;v[d+4>>2]=c;o=v[d+8>>2]+8|0;v[d+8>>2]=o;v[d+12>>2]=v[d+12>>2]+1;v[d+16>>2]=v[d+16>>2]+1;if(o>>>0<24){continue}break}}if((c>>>o-24&16777215)==4097){break Q}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,304172,0)}uc(x);uc(i);break b}a=P()|0;O()|0;dc(z);T(a|0);L()}b=0;R:{if(!f){break R}b=0;if(e>>>0>3){break R}b=v[(e<<2)+937096>>2]}U=b;if((d|0)<1){break b}o=0;while(1){S:{T:{U:{V:{W:{X:{Y:{Z:{if(f){K=Od(v[a+76>>2],U,v[a+80>>2])?!K:K;if(K){break Z}K=0}switch(e|0){case 3:break V;case 2:break W;case 1:break X;case 0:break Y;default:break S}}if(!o){break S}b=v[z+20>>2];k=v[z+16>>2];gc(b+B(k,o)|0,b+B(k,o-1|0)|0,k);break S}s=v[z+20>>2];H=v[z+16>>2];x=s+B(H,o)|0;n=w[x|0];_:{if(!o){k=0;E=0;q=0;y=0;break _}b=s+B(H,o-1|0)|0;E=b+1|0;q=w[b|0]<<8;k=0;y=0;if((o|0)==1){break _}b=s+B(H,o-2|0)|0;k=b+1|0;y=w[b|0]<<8}I=x+1|0;b=n<<8;$:{M=v[i>>2];if(M+8>>>0>16){break $}N=v[i+4>>2];if(N+8>>>0>16){break $}Q=v[i+8>>2];if(Q+8>>>0>16){break $}D=v[i+12>>2];if(D+8>>>0>16){break $}C=0;l=v[j>>2];aa:{if((l|0)>0){n=0;m=0;break aa}n=0;l=l+o|0;m=0;if((l|0)<0){break aa}l=s+B(l,H)|0;n=l+1|0;m=w[l|0]<<8}l=v[j+4>>2];p=0;ba:{if((l|0)>0){break ba}l=l+o|0;p=0;if((l|0)<0){break ba}l=s+B(l,H)|0;C=l+1|0;p=w[l|0]<<8}J=0;r=v[j+8>>2];ca:{if((r|0)>0){F=0;A=0;break ca}F=0;r=o+r|0;A=0;if((r|0)<0){break ca}l=s+B(r,H)|0;F=l+1|0;A=w[l|0]<<8}r=v[j+12>>2];l=0;da:{if((r|0)>0){break da}r=o+r|0;l=0;if((r|0)<0){break da}l=s+B(r,H)|0;J=l+1|0;l=w[l|0]<<8}s=l;if((c|0)<1){break S}H=15-M|0;M=15-N|0;N=15-Q|0;Q=15-D|0;R=0;l=0;while(1){R=R+8|0;ea:{if((R|0)>=(c|0)){break ea}D=0;if(k){y=w[k|0]|y;k=k+1|0}else{k=0}if(E){D=E+1|0;q=w[E|0]|q}r=0;if(n){m=w[n|0]|m;n=n+1|0}else{n=0}if(C){p=w[C|0]|p;r=C+1|0}C=w[I|0];if(F){A=w[F|0]|A;F=F+1|0}else{F=0}I=I+1|0;b=b|C;if(!J){E=D;C=r;J=0;break ea}s=w[J|0]|s;E=D;C=r;J=J+1|0}fa:{if((c|0)<=(l|0)){break fa}r=128;D=0;while(1){ga:{if(!(!g|(l|0)<0|(v[h+8>>2]<=(l|0)|v[h+12>>2]<=(o|0)))){if(w[v[h+20>>2]+(B(v[h+16>>2],o)+(l>>>3|0)|0)|0]>>>((l^-1)&7)&1){break ga}}if(!Od(v[a+76>>2],s>>>Q&1|(A>>>N<<1&2|(p>>>M<<2&4|(m>>>H<<3&8|(b>>>12&240|(q>>>5&7936|y>>>1&57344))))),v[a+80>>2])){break ga}t[x|0]=w[x|0]|r;s=v[j+12>>2]?s:s|32768;A=v[j+8>>2]?A:A|32768;p=v[j+4>>2]?p:p|32768;m=v[j>>2]?m:m|32768;b=b|32768}l=l+1|0;s=s<<1;A=A<<1;p=p<<1;m=m<<1;b=b<<1;q=q<<1;y=y<<1;if(D>>>0>6){break fa}D=D+1|0;r=(r&254)>>>1|0;if((c|0)>(l|0)){continue}break}}x=x+1|0;if((c|0)>(R|0)){continue}break}break S}F=0;l=0;if((c|0)<1){break S}while(1){F=F+8|0;if((F|0)<(c|0)){if(k){y=w[k|0]|y;k=k+1|0}else{k=0}b=w[I|0]|b;I=I+1|0;if(E){q=w[E|0]|q;E=E+1|0}else{E=0}}s=128;A=0;ha:{if((c|0)<=(l|0)){break ha}while(1){m=v[i>>2]+l|0;p=0;ia:{if((m|0)<0){break ia}p=0;if((m|0)>=v[z+8>>2]){break ia}n=v[j>>2]+o|0;p=0;if((n|0)<0){break ia}p=0;if((n|0)>=v[z+12>>2]){break ia}p=w[v[z+20>>2]+(B(n,v[z+16>>2])+(m>>>3|0)|0)|0]>>>((m^-1)&7)&1}r=0;C=v[i+4>>2]+l|0;m=0;ja:{if((C|0)<0){break ja}m=0;if((C|0)>=v[z+8>>2]){break ja}n=v[j+4>>2]+o|0;m=0;if((n|0)<0){break ja}m=0;if((n|0)>=v[z+12>>2]){break ja}m=w[v[z+20>>2]+(B(n,v[z+16>>2])+(C>>>3|0)|0)|0]>>>((C^-1)&7)&1}C=v[i+8>>2]+l|0;ka:{if((C|0)<0|(C|0)>=v[z+8>>2]){break ka}n=v[j+8>>2]+o|0;if((n|0)<0|(n|0)>=v[z+12>>2]){break ka}r=w[v[z+20>>2]+(B(n,v[z+16>>2])+(C>>>3|0)|0)|0]>>>((C^-1)&7)&1}n=0;D=v[i+12>>2]+l|0;la:{if((D|0)<0|(D|0)>=v[z+8>>2]){break la}C=v[j+12>>2]+o|0;if((C|0)<0|(C|0)>=v[z+12>>2]){break la}n=w[v[z+20>>2]+(B(C,v[z+16>>2])+(D>>>3|0)|0)|0]>>>((D^-1)&7)&1}ma:{if(!(!g|(l|0)<0|(v[h+8>>2]<=(l|0)|v[h+12>>2]<=(o|0)))){if(w[v[h+20>>2]+(B(v[h+16>>2],o)+(l>>>3|0)|0)|0]>>>((l^-1)&7)&1){break ma}}if(!Od(v[a+76>>2],b>>>12&240|(y>>>1&57344|q>>>5&7936)|p<<3|m<<2|r<<1|n,v[a+80>>2])){break ma}t[x|0]=w[x|0]|s;b=b|32768}l=l+1|0;b=b<<1;q=q<<1;y=y<<1;if(A>>>0>6){break ha}A=A+1|0;s=(s&254)>>>1|0;if((c|0)>(l|0)){continue}break}}x=x+1|0;if((c|0)>(F|0)){continue}break}break S}C=v[z+20>>2];D=v[z+16>>2];s=C+B(D,o)|0;l=w[s|0];na:{if(!o){n=0;k=0;m=0;b=0;break na}b=C+B(D,o-1|0)|0;k=b+1|0;m=w[b|0]<<8;n=0;b=0;if((o|0)==1){break na}b=C+B(D,o-2|0)|0;n=b+1|0;b=w[b|0]<<8}x=s+1|0;l=l<<8;E=v[i>>2];if(E+8>>>0<17){break T}F=0;p=0;if((c|0)<=0){break S}while(1){F=F+8|0;if((F|0)<(c|0)){if(n){b=w[n|0]|b;n=n+1|0}else{n=0}l=w[x|0]|l;x=x+1|0;if(k){m=w[k|0]|m;k=k+1|0}else{k=0}}A=128;q=0;oa:{if((c|0)<=(p|0)){break oa}while(1){C=v[i>>2]+p|0;r=0;pa:{if((C|0)<0){break pa}r=0;if((C|0)>=v[z+8>>2]){break pa}E=v[j>>2]+o|0;r=0;if((E|0)<0){break pa}r=0;if((E|0)>=v[z+12>>2]){break pa}r=w[v[z+20>>2]+(B(E,v[z+16>>2])+(C>>>3|0)|0)|0]>>>((C^-1)&7)&1}qa:{if(!(!g|(p|0)<0|(v[h+8>>2]<=(p|0)|v[h+12>>2]<=(o|0)))){if(w[v[h+20>>2]+(B(v[h+16>>2],o)+(p>>>3|0)|0)|0]>>>((p^-1)&7)&1){break qa}}if(!Od(v[a+76>>2],r|(l>>>15&14|(m>>>9&496|b>>>4&7680)),v[a+80>>2])){break qa}t[s|0]=w[s|0]|A;l=l|32768}p=p+1|0;l=l<<1;m=m<<1;b=b<<1;if(q>>>0>6){break oa}q=q+1|0;A=(A&254)>>>1|0;if((c|0)>(p|0)){continue}break}}s=s+1|0;if((c|0)>(F|0)){continue}break}break S}C=v[z+20>>2];D=v[z+16>>2];s=C+B(D,o)|0;l=w[s|0];ra:{if(!o){n=0;k=0;m=0;b=0;break ra}b=C+B(D,o-1|0)|0;k=b+1|0;m=w[b|0]<<8;n=0;b=0;if((o|0)==1){break ra}b=C+B(D,o-2|0)|0;n=b+1|0;b=w[b|0]<<8}x=s+1|0;l=l<<8;E=v[i>>2];if(E+8>>>0<17){break U}F=0;p=0;if((c|0)<=0){break S}while(1){F=F+8|0;if((F|0)<(c|0)){if(n){b=w[n|0]|b;n=n+1|0}else{n=0}l=w[x|0]|l;x=x+1|0;if(k){m=w[k|0]|m;k=k+1|0}else{k=0}}A=128;q=0;sa:{if((c|0)<=(p|0)){break sa}while(1){C=v[i>>2]+p|0;r=0;ta:{if((C|0)<0){break ta}r=0;if((C|0)>=v[z+8>>2]){break ta}E=v[j>>2]+o|0;r=0;if((E|0)<0){break ta}r=0;if((E|0)>=v[z+12>>2]){break ta}r=w[v[z+20>>2]+(B(E,v[z+16>>2])+(C>>>3|0)|0)|0]>>>((C^-1)&7)&1}ua:{if(!(!g|(p|0)<0|(v[h+8>>2]<=(p|0)|v[h+12>>2]<=(o|0)))){if(w[v[h+20>>2]+(B(v[h+16>>2],o)+(p>>>3|0)|0)|0]>>>((p^-1)&7)&1){break ua}}if(!Od(v[a+76>>2],r|(l>>>15&6|(m>>>11&120|b>>>7&896)),v[a+80>>2])){break ua}t[s|0]=w[s|0]|A;l=l|32768}p=p+1|0;l=l<<1;m=m<<1;b=b<<1;if(q>>>0>6){break sa}q=q+1|0;A=(A&254)>>>1|0;if((c|0)>(p|0)){continue}break}}s=s+1|0;if((c|0)>(F|0)){continue}break}break S}E=v[z+20>>2];p=v[z+16>>2];A=E+B(p,o)|0;k=w[A|0];va:{if(!o){r=0;b=0;break va}b=E+B(p,o-1|0)|0;r=b+1|0;b=w[b|0]<<8}n=A+1|0;l=k<<8;x=v[i>>2];if(x+8>>>0>=17){k=0;m=0;if((c|0)<=0){break S}while(1){k=k+8|0;if((k|0)<(c|0)){if(r){b=w[r|0]|b;r=r+1|0}else{r=0}l=w[n|0]|l;n=n+1|0}q=128;y=0;wa:{if((c|0)<=(m|0)){break wa}while(1){p=v[i>>2]+m|0;x=0;xa:{if((p|0)<0){break xa}x=0;if((p|0)>=v[z+8>>2]){break xa}E=v[j>>2]+o|0;x=0;if((E|0)<0){break xa}x=0;if((E|0)>=v[z+12>>2]){break xa}x=w[v[z+20>>2]+(B(E,v[z+16>>2])+(p>>>3|0)|0)|0]>>>((p^-1)&7)&1}ya:{if(!(!g|(m|0)<0|(v[h+8>>2]<=(m|0)|v[h+12>>2]<=(o|0)))){if(w[v[h+20>>2]+(B(v[h+16>>2],o)+(m>>>3|0)|0)|0]>>>((m^-1)&7)&1){break ya}}if(!Od(v[a+76>>2],x|(l>>>15&30|b>>>9&992),v[a+80>>2])){break ya}t[A|0]=w[A|0]|q;l=l|32768}m=m+1|0;l=l<<1;b=b<<1;if(y>>>0>6){break wa}y=y+1|0;q=(q&254)>>>1|0;if((c|0)>(m|0)){continue}break}}A=A+1|0;if((c|0)>(k|0)){continue}break}break S}D=0;q=v[j>>2];za:{if((q|0)>0){k=0;m=0;break za}k=0;q=o+q|0;m=0;if((q|0)<0){break za}q=E+B(q,p)|0;k=q+1|0;m=w[q|0]<<8}if((c|0)<1){break S}x=15-x|0;p=0;while(1){D=D+8|0;Aa:{if((D|0)>=(c|0)){break Aa}if(r){b=w[r|0]|b;r=r+1|0}else{r=0}q=n+1|0;l=w[n|0]|l;if(!k){n=q;k=0;break Aa}m=w[k|0]|m;n=q;k=k+1|0}Ba:{if((c|0)<=(p|0)){break Ba}q=128;y=0;if(!g){while(1){if(Od(v[a+76>>2],m>>>x&1|(l>>>15&30|b>>>9&992),v[a+80>>2])){t[A|0]=w[A|0]|q;m=v[j>>2]?m:m|32768;l=l|32768}p=p+1|0;m=m<<1;l=l<<1;b=b<<1;if(y>>>0>6){break Ba}y=y+1|0;q=(q&254)>>>1|0;if((c|0)>(p|0)){continue}break Ba}}while(1){Ca:{if(!((p|0)<0|v[h+8>>2]<=(p|0)|v[h+12>>2]<=(o|0))){if(w[v[h+20>>2]+(B(v[h+16>>2],o)+(p>>>3|0)|0)|0]>>>((p^-1)&7)&1){break Ca}}if(!Od(v[a+76>>2],m>>>x&1|(l>>>15&30|b>>>9&992),v[a+80>>2])){break Ca}t[A|0]=w[A|0]|q;m=v[j>>2]?m:m|32768;l=l|32768}p=p+1|0;m=m<<1;l=l<<1;b=b<<1;if(y>>>0>6){break Ba}y=y+1|0;q=(q&254)>>>1|0;if((c|0)>(p|0)){continue}break}}A=A+1|0;if((c|0)>(D|0)){continue}break}break S}r=0;q=v[j>>2];Da:{if((q|0)>0){F=0;p=0;break Da}F=0;q=o+q|0;p=0;if((q|0)<0){break Da}q=C+B(q,D)|0;F=q+1|0;p=w[q|0]<<8}if((c|0)<1){break S}C=15-E|0;y=0;while(1){r=r+8|0;Ea:{if((r|0)>=(c|0)){break Ea}q=0;if(n){b=w[n|0]|b;n=n+1|0}else{n=0}if(k){m=w[k|0]|m;q=k+1|0}E=x+1|0;l=w[x|0]|l;if(!F){F=0;k=q;x=E;break Ea}p=w[F|0]|p;k=q;x=E;F=F+1|0}Fa:{if((c|0)<=(y|0)){break Fa}A=128;q=0;if(!g){while(1){if(Od(v[a+76>>2],p>>>C&1|(l>>>15&6|(m>>>11&120|b>>>7&896)),v[a+80>>2])){t[s|0]=w[s|0]|A;p=v[j>>2]?p:p|32768;l=l|32768}y=y+1|0;p=p<<1;l=l<<1;m=m<<1;b=b<<1;if(q>>>0>6){break Fa}q=q+1|0;A=(A&254)>>>1|0;if((c|0)>(y|0)){continue}break Fa}}while(1){Ga:{if(!((y|0)<0|v[h+8>>2]<=(y|0)|v[h+12>>2]<=(o|0))){if(w[v[h+20>>2]+(B(v[h+16>>2],o)+(y>>>3|0)|0)|0]>>>((y^-1)&7)&1){break Ga}}if(!Od(v[a+76>>2],p>>>C&1|(l>>>15&6|(m>>>11&120|b>>>7&896)),v[a+80>>2])){break Ga}t[s|0]=w[s|0]|A;p=v[j>>2]?p:p|32768;l=l|32768}y=y+1|0;p=p<<1;l=l<<1;m=m<<1;b=b<<1;if(q>>>0>6){break Fa}q=q+1|0;A=(A&254)>>>1|0;if((c|0)>(y|0)){continue}break}}s=s+1|0;if((c|0)>(r|0)){continue}break}break S}r=0;q=v[j>>2];Ha:{if((q|0)>0){F=0;p=0;break Ha}F=0;q=o+q|0;p=0;if((q|0)<0){break Ha}q=C+B(q,D)|0;F=q+1|0;p=w[q|0]<<8}if((c|0)<1){break S}C=15-E|0;y=0;while(1){r=r+8|0;Ia:{if((r|0)>=(c|0)){break Ia}q=0;if(n){b=w[n|0]|b;n=n+1|0}else{n=0}if(k){m=w[k|0]|m;q=k+1|0}E=x+1|0;l=w[x|0]|l;if(!F){F=0;k=q;x=E;break Ia}p=w[F|0]|p;k=q;x=E;F=F+1|0}Ja:{if((c|0)<=(y|0)){break Ja}A=128;q=0;if(!g){while(1){if(Od(v[a+76>>2],p>>>C&1|(l>>>15&14|(m>>>9&496|b>>>4&7680)),v[a+80>>2])){t[s|0]=w[s|0]|A;p=v[j>>2]?p:p|32768;l=l|32768}y=y+1|0;p=p<<1;l=l<<1;m=m<<1;b=b<<1;if(q>>>0>6){break Ja}q=q+1|0;A=(A&254)>>>1|0;if((c|0)>(y|0)){continue}break Ja}}while(1){Ka:{if(!((y|0)<0|v[h+8>>2]<=(y|0)|v[h+12>>2]<=(o|0))){if(w[v[h+20>>2]+(B(v[h+16>>2],o)+(y>>>3|0)|0)|0]>>>((y^-1)&7)&1){break Ka}}if(!Od(v[a+76>>2],p>>>C&1|(l>>>15&14|(m>>>9&496|b>>>4&7680)),v[a+80>>2])){break Ka}t[s|0]=w[s|0]|A;p=v[j>>2]?p:p|32768;l=l|32768}y=y+1|0;p=p<<1;l=l<<1;m=m<<1;b=b<<1;if(q>>>0>6){break Ja}q=q+1|0;A=(A&254)>>>1|0;if((c|0)>(y|0)){continue}break}}s=s+1|0;if((c|0)>(r|0)){continue}break}}o=o+1|0;if((o|0)!=(d|0)){continue}break}}Qb=G+160|0;return z}function Lya(a,b,c,d,e,f,g,h,i,j,k){a=a|0;b=b|0;c=c|0;d=+d;e=+e;f=f|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,u=0,y=0,z=0,B=0,C=0,D=0,E=0,F=0,G=0,I=0,J=0,M=0,N=0,U=0,X=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;ca=Qb-16|0;Qb=ca;if(v[v[294330]+404>>2]){v[ca>>2]=c;hp(355768,ca)}D=go(v[a+28>>2],c);p=Qb-144|0;Qb=p;v[p+140>>2]=h;v[p+128>>2]=0;v[p+132>>2]=0;v[p+120>>2]=0;v[p+124>>2]=0;v[p+112>>2]=0;v[p+116>>2]=0;v[p+104>>2]=0;v[p+108>>2]=0;v[p+88>>2]=13;a:{b:{c:{d:{e:{if(Ub[v[v[b>>2]+40>>2]](b,D,d,e,f,g,h,-1,-1,-1,-1,i,j,k)|0){a=v[v[D+12>>2]+168>>2]+f|0;y=(a|0)>359?a-360|0:(a|0)<0?a+360|0:a;Ub[v[v[b>>2]+8>>2]](b)|0;f=v[D+12>>2];c=f;f:{if(g){a=v[f+4>>2];v[p+104>>2]=v[f>>2];v[p+108>>2]=a;a=v[f+28>>2];v[p+128>>2]=v[f+24>>2];v[p+132>>2]=a;a=v[f+20>>2];v[p+120>>2]=v[f+16>>2];v[p+124>>2]=a;a=v[f+12>>2];v[p+112>>2]=v[f+8>>2];v[p+116>>2]=a;break f}a=v[c+36>>2];v[p+104>>2]=v[c+32>>2];v[p+108>>2]=a;a=v[c+60>>2];v[p+128>>2]=v[c+56>>2];v[p+132>>2]=a;a=v[c+52>>2];v[p+120>>2]=v[c+48>>2];v[p+124>>2]=a;a=v[c+44>>2];v[p+112>>2]=v[c+40>>2];v[p+116>>2]=a;v[p+140>>2]=0}c=v[D+12>>2];C=c+32|0;if(v[v[294330]+404>>2]){a=v[D+12>>2];I=A[a>>3];F=A[a+8>>3];o=A[a+16>>3];A[p+72>>3]=A[a+24>>3];A[p- -64>>3]=o;A[p+56>>3]=F;A[p+48>>3]=I;hw(351704,p+48|0);I=A[c+40>>3];F=A[c+48>>3];o=A[c+32>>3];A[p+40>>3]=A[c+56>>3];A[p+32>>3]=F;A[p+24>>3]=I;A[p+16>>3]=o;hw(351669,p+16|0);v[p>>2]=v[v[D+12>>2]+168>>2];hp(354581,p)}h=fc(128);a=v[D+12>>2];g=v[a+288>>2];f=v[D+8>>2];c=v[D>>2];a=v[a+280>>2];v[299999]=0;s=yb(3792,h|0,c|0,b|0,f|0,((a|0)==7?g:0)|0,+d,+e,p+104|0,(v[p+140>>2]?C:0)|0,y|0,j|0,k|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break e}b=D+32|0;qf(b,v[D+4>>2],p+88|0,0);if(v[p+88>>2]!=5){a=v[s+8>>2];Ub[v[v[a>>2]+64>>2]](a,v[s+28>>2]);ja=s,ka=cu(v[s+28>>2]),v[ja+28>>2]=ka;TE(s,b);f=v[s+28>>2];if(v[f+668>>2]){while(1){b=_k(f);v[s+28>>2]=b;a=v[s+8>>2];Ub[v[v[a>>2]+68>>2]](a,b);f=v[s+28>>2];if(v[f+668>>2]){continue}break}}if(v[v[s+104>>2]+8>>2]>0){while(1){cT(s,s,s);if(v[v[s+104>>2]+8>>2]>0){continue}break}}}hc(p+88|0);if(v[v[294330]+332>>2]){f=fc(12);c=v[D>>2];a=v[D+4>>2];v[299999]=0;b=Z(3097,D+16|0,a|0,p+88|0,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break d}v[299999]=0;G=Y(3793,f|0,c|0,b|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break d}hc(p+88|0);if(v[G+8>>2]>=1){while(1){n=v[v[G+4>>2]+(z<<2)>>2];b=0;d=0;e=0;E=0;J=0;ga=0;da=0;ha=0;ea=0;ia=0;U=0;X=Qb-16|0;Qb=X;v[X>>2]=13;qf(n+24|0,v[v[n>>2]+24>>2],X,0);g:{h:{i:{if(v[X>>2]==8){break i}a=v[n+16>>2];if(!a){break i}if(!Ad(a,280201)){l=Qb-192|0;Qb=l;v[l+176>>2]=13;v[l+160>>2]=13;v[l+144>>2]=13;v[l+128>>2]=13;v[l+112>>2]=13;j:{a=v[n+8>>2];if((a|0)<=-1){v[l+176>>2]=5;break j}Sm(v[n+4>>2],a,v[n+12>>2],l+176|0,0);if(v[l+176>>2]!=7){break j}g=fc(8);v[299999]=0;S(3312,g|0)|0;a=v[299999];v[299999]=0;k:{l:{m:{n:{if((a|0)!=1){v[n+40>>2]=g;if(v[rc(v[l+184>>2],322491,l+128|0,0)>>2]-1>>>0<=1){Gf(l+160|0,v[v[n>>2]+24>>2]);c=ud(307136);a=zf(l+128|0,l+112|0);fe(v[l+168>>2],c,a);_c(v[n+40>>2],348960)}c=l+128|0;hc(c);bF(n,l+104|0);a=v[n+84>>2];ET(n,a+24|0,v[a+56>>2]);if(v[rc(v[l+184>>2],322078,c,0)>>2]==6){b=(DT(n,l+128|0)|0)!=0}a=l+128|0;hc(a);o:{p:{q:{if(v[rc(v[l+184>>2],320503,a,0)>>2]!=6){break q}a=v[l+136>>2];if(v[a+12>>2]!=4){break q}if(v[yc(a,0,l+112|0,0)>>2]-1>>>0>1){break n}M=A[l+120>>3];r=v[l+120>>2];q=v[l+112>>2];a=l+112|0;hc(a);if(v[yc(v[l+136>>2],1,a,0)>>2]-1>>>0>1){break m}I=A[l+120>>3];u=v[l+120>>2];N=v[l+112>>2];a=l+112|0;hc(a);if(v[yc(v[l+136>>2],2,a,0)>>2]-1>>>0>1){break l}o=A[l+120>>3];fa=v[l+120>>2];m=v[l+112>>2];a=l+112|0;hc(a);if(v[yc(v[l+136>>2],3,a,0)>>2]-1>>>0<=1){F=A[l+120>>3];y=v[l+120>>2];C=v[l+112>>2];hc(l+112|0);c=l+128|0;hc(c);g=0;a=0;r:{if(v[rc(v[l+184>>2],321480,c,0)>>2]!=6){break r}c=v[l+136>>2];if(v[c+12>>2]!=2){break r}a=c;c=l+112|0;g=CT(yc(a,0,c,0));hc(c);a=CT(yc(v[l+136>>2],1,c,0));hc(c)}c=l+128|0;hc(c);if(v[rc(v[l+184>>2],320472,c,0)>>2]-1>>>0<=1){J=v[l+128>>2]==1?+v[l+136>>2]:A[l+136>>3]}c=l+128|0;hc(c);if(v[rc(v[l+184>>2],321446,c,0)>>2]-1>>>0<=1){d=v[l+128>>2]==1?+v[l+136>>2]:A[l+136>>3]}c=l+128|0;hc(c);if(v[rc(v[l+184>>2],312010,c,0)>>2]-1>>>0<=1){e=v[l+128>>2]==1?+v[l+136>>2]:A[l+136>>3]}hc(l+128|0);B=(m|0)==1?+(fa|0):o;o=A[n+48>>3];_=B-o;$=((q|0)==1?+(r|0):M)-o;E=_-$;o=A[n+56>>3];aa=((C|0)==1?+(y|0):F)-o;ba=((N|0)==1?+(u|0):I)-o;B=aa-ba;o=K(E*E+B*B);if(o>0){E=E/o;B=B/o}M=0;if(J!=0){break p}e=0;break o}hc(l+112|0);hc(l+128|0);break j}hc(l+128|0);break j}U=e*E;da=aa-U;M=J*E;aa=da-M;I=d*E;ha=aa-I;F=d*B;o=J*B;d=e*B;ea=_+d;_=o+ea;ia=F+_;U=ba-U;ba=U-M;ga=ba-I;M=$+d;$=o+M;e=F+$}o=A[l+104>>3];d=o;s:{t:{switch(g|0){case 1:d=o*6;break s;case 2:d=o*6;break s;case 3:d=o*6;break s;case 5:d=o*8.660254037844387;break s;case 7:d=o*8.660254037844387;break s;case 8:d=o*8.660254037844387;break s;case 0:case 4:case 6:case 9:break t;default:break s}}d=0}I=B*d;F=E*d;d=o;u:{v:{switch(a|0){case 1:d=o*6;break u;case 2:d=o*6;break u;case 3:d=o*6;break u;case 5:d=o*8.660254037844387;break u;case 7:d=o*8.660254037844387;break u;case 8:d=o*8.660254037844387;break u;case 0:case 4:case 6:case 9:break v;default:break u}}d=0}if(J!=0){c=v[n+40>>2];A[l+88>>3]=ga;A[l+80>>3]=e;A[l+72>>3]=U;A[l+64>>3]=M;Jc(c,351340,l- -64|0);c=v[n+40>>2];A[l+56>>3]=ha;A[l+48>>3]=ia;A[l+40>>3]=da;A[l+32>>3]=ea;Jc(c,351340,l+32|0)}c=v[n+40>>2];A[l+24>>3]=aa-B*d;A[l+16>>3]=_-E*d;A[l+8>>3]=ba+I;A[l>>3]=$+F;Jc(c,351340,l);_c(v[n+40>>2],354898);if(v[v[n+84>>2]>>2]==1){_c(v[n+40>>2],354600)}BT(n,g,$,ba,E,B,o,b);BT(n,a,_,aa,-E,-B,o,b);Gf(l+144|0,v[v[n>>2]+24>>2]);a=ud(268438);v[l+136>>2]=v[v[n+40>>2]>>2];v[l+128>>2]=1;b=l+128|0;fe(v[l+152>>2],a,b);a=ud(278827);v[l+128>>2]=4;ja=l,ka=ud(255693),v[ja+136>>2]=ka;fe(v[l+152>>2],a,b);Hr(b,v[v[n>>2]+24>>2]);v[l+120>>2]=0;v[l+124>>2]=0;v[l+112>>2]=2;a=l+112|0;Cg(v[l+136>>2],a);v[l+120>>2]=0;v[l+124>>2]=0;v[l+112>>2]=2;Cg(v[l+136>>2],a);e=A[n+48>>3];d=A[n+64>>3];v[l+112>>2]=2;A[l+120>>3]=d-e;Cg(v[l+136>>2],a);e=A[n+56>>3];d=A[n+72>>3];v[l+112>>2]=2;A[l+120>>3]=d-e;Cg(v[l+136>>2],a);a=ud(220495);fe(v[l+152>>2],a,b);if(v[l+160>>2]==7){c=l+128|0;Gf(c,v[v[n>>2]+24>>2]);b=l+112|0;Gf(b,v[v[n>>2]+24>>2]);a=ud(333645);fe(v[l+120>>2],a,l+160|0);a=ud(277014);fe(v[l+136>>2],a,b);a=ud(236851);fe(v[l+152>>2],a,c)}g=fc(48);a=v[n+40>>2];b=v[a>>2];a=v[a+4>>2];v[299999]=0;b=$n(g,a,0,b,l+144|0);a=v[299999];v[299999]=0;if((a|0)!=1){hc(n+24|0);v[n+32>>2]=b;v[n+24>>2]=8;break j}break k}break k}hc(l+112|0);hc(l+128|0);break j}hc(l+112|0);hc(l+128|0);break j}hc(l+112|0);hc(l+128|0);break j}break h}hc(l+176|0);Qb=l+192|0;break i}if(!Ad(v[n+16>>2],280176)){m=Qb-112|0;Qb=m;v[m+96>>2]=13;v[m+80>>2]=13;v[m+64>>2]=13;v[m+48>>2]=13;v[m+32>>2]=13;w:{a=v[n+8>>2];if((a|0)<=-1){v[m+96>>2]=5;break w}Sm(v[n+4>>2],a,v[n+12>>2],m+96|0,0);if(v[m+96>>2]!=7){break w}g=fc(8);v[299999]=0;S(3312,g|0)|0;a=v[299999];v[299999]=0;x:{y:{if((a|0)!=1){v[n+40>>2]=g;if(v[rc(v[m+104>>2],322491,m+48|0,0)>>2]-1>>>0<=1){Gf(m+80|0,v[v[n>>2]+24>>2]);b=ud(307136);a=zf(m+48|0,m+32|0);fe(v[m+88>>2],b,a);_c(v[n+40>>2],348960)}b=m+48|0;hc(b);bF(n,m+24|0);a=v[n+84>>2];ET(n,a+24|0,v[a+56>>2]);if(v[rc(v[m+104>>2],236907,b,0)>>2]!=6){break y}b=1;a=v[m+56>>2];if(v[a+12>>2]>1){g=0;while(1){if(v[yc(a,g,m+32|0,0)>>2]-1>>>0>=2){hc(m+32|0);hc(m+48|0);break w}o=A[m+40>>3];y=v[m+40>>2];C=v[m+32>>2];a=m+32|0;hc(a);if(v[yc(v[m+56>>2],b,a,0)>>2]-1>>>0>=2){hc(m+32|0);hc(m+48|0);break w}c=v[m+32>>2];b=v[m+40>>2];e=A[m+40>>3];hc(m+32|0);a=v[n+40>>2];d=A[n+48>>3];A[m+8>>3]=((c|0)==1?+(b|0):e)-A[n+56>>3];A[m>>3]=((C|0)==1?+(y|0):o)-d;Jc(a,g?351377:351284,m);g=g+2|0;b=g|1;a=v[m+56>>2];if((b|0)>2]){continue}break}}_c(v[n+40>>2],354898);b=m+48|0;hc(b);Gf(m- -64|0,v[v[n>>2]+24>>2]);a=ud(268438);v[m+56>>2]=v[v[n+40>>2]>>2];v[m+48>>2]=1;fe(v[m+72>>2],a,b);a=ud(278827);v[m+48>>2]=4;ja=m,ka=ud(255693),v[ja+56>>2]=ka;fe(v[m+72>>2],a,b);Hr(b,v[v[n>>2]+24>>2]);v[m+40>>2]=0;v[m+44>>2]=0;v[m+32>>2]=2;a=m+32|0;Cg(v[m+56>>2],a);v[m+40>>2]=0;v[m+44>>2]=0;v[m+32>>2]=2;Cg(v[m+56>>2],a);e=A[n+48>>3];d=A[n+64>>3];v[m+32>>2]=2;A[m+40>>3]=d-e;Cg(v[m+56>>2],a);e=A[n+56>>3];d=A[n+72>>3];v[m+32>>2]=2;A[m+40>>3]=d-e;Cg(v[m+56>>2],a);a=ud(220495);fe(v[m+72>>2],a,b);if(v[m+80>>2]==7){c=m+48|0;Gf(c,v[v[n>>2]+24>>2]);b=m+32|0;Gf(b,v[v[n>>2]+24>>2]);a=ud(333645);fe(v[m+40>>2],a,m+80|0);a=ud(277014);fe(v[m+56>>2],a,b);a=ud(236851);fe(v[m+72>>2],a,c)}g=fc(48);a=v[n+40>>2];b=v[a>>2];a=v[a+4>>2];v[299999]=0;b=$n(g,a,0,b,m- -64|0);a=v[299999];v[299999]=0;if((a|0)!=1){hc(n+24|0);v[n+32>>2]=b;v[n+24>>2]=8;break w}break x}break x}hc(m+48|0);break w}break h}hc(m+96|0);Qb=m+112|0;break i}if(!Ad(v[n+16>>2],248067)){m=Qb-96|0;Qb=m;v[m+80>>2]=13;v[m+64>>2]=13;v[m+48>>2]=13;v[m+32>>2]=13;v[m+16>>2]=13;z:{a=v[n+8>>2];if((a|0)<=-1){v[m+80>>2]=5;break z}Sm(v[n+4>>2],a,v[n+12>>2],m+80|0,0);if(v[m+80>>2]!=7){break z}g=fc(8);v[299999]=0;S(3312,g|0)|0;a=v[299999];v[299999]=0;A:{B:{if((a|0)!=1){v[n+40>>2]=g;if(v[rc(v[m+88>>2],322491,m+32|0,0)>>2]-1>>>0<=1){Gf(m- -64|0,v[v[n>>2]+24>>2]);b=ud(307136);a=zf(m+32|0,m+16|0);fe(v[m+72>>2],b,a);_c(v[n+40>>2],348960)}a=m+32|0;hc(a);C:{if(v[rc(v[m+88>>2],322078,a,0)>>2]==6){if(DT(n,m+32|0)){break C}}hc(m+32|0);break z}a=m+32|0;hc(a);g=0;if(v[rc(v[m+88>>2],236907,a,0)>>2]!=6){break B}b=1;a=v[m+40>>2];if(v[a+12>>2]>1){while(1){if(v[yc(a,g,m+16|0,0)>>2]-1>>>0>=2){hc(m+16|0);hc(m+32|0);break z}o=A[m+24>>3];y=v[m+24>>2];C=v[m+16>>2];a=m+16|0;hc(a);if(v[yc(v[m+40>>2],b,a,0)>>2]-1>>>0>=2){hc(m+16|0);hc(m+32|0);break z}c=v[m+16>>2];b=v[m+24>>2];e=A[m+24>>3];hc(m+16|0);a=v[n+40>>2];d=A[n+48>>3];A[m+8>>3]=((c|0)==1?+(b|0):e)-A[n+56>>3];A[m>>3]=((C|0)==1?+(y|0):o)-d;Jc(a,g?351377:351284,m);g=g+2|0;b=g|1;a=v[m+40>>2];if((b|0)>2]){continue}break}}_c(v[n+40>>2],351923);b=m+32|0;hc(b);Gf(m+48|0,v[v[n>>2]+24>>2]);a=ud(268438);v[m+40>>2]=v[v[n+40>>2]>>2];v[m+32>>2]=1;fe(v[m+56>>2],a,b);a=ud(278827);v[m+32>>2]=4;ja=m,ka=ud(255693),v[ja+40>>2]=ka;fe(v[m+56>>2],a,b);Hr(b,v[v[n>>2]+24>>2]);v[m+24>>2]=0;v[m+28>>2]=0;v[m+16>>2]=2;a=m+16|0;Cg(v[m+40>>2],a);v[m+24>>2]=0;v[m+28>>2]=0;v[m+16>>2]=2;Cg(v[m+40>>2],a);e=A[n+48>>3];d=A[n+64>>3];v[m+16>>2]=2;A[m+24>>3]=d-e;Cg(v[m+40>>2],a);e=A[n+56>>3];d=A[n+72>>3];v[m+16>>2]=2;A[m+24>>3]=d-e;Cg(v[m+40>>2],a);a=ud(220495);fe(v[m+56>>2],a,b);if(v[m+64>>2]==7){c=m+32|0;Gf(c,v[v[n>>2]+24>>2]);b=m+16|0;Gf(b,v[v[n>>2]+24>>2]);a=ud(333645);fe(v[m+24>>2],a,m- -64|0);a=ud(277014);fe(v[m+40>>2],a,b);a=ud(236851);fe(v[m+56>>2],a,c)}g=fc(48);a=v[n+40>>2];b=v[a>>2];a=v[a+4>>2];v[299999]=0;b=$n(g,a,0,b,m+48|0);a=v[299999];v[299999]=0;if((a|0)!=1){hc(n+24|0);v[n+32>>2]=b;v[n+24>>2]=8;break z}break A}break A}hc(m+32|0);break z}break h}hc(m+80|0);Qb=m+96|0;break i}if(Ad(v[n+16>>2],225299)){break i}l=Qb-192|0;Qb=l;v[l+176>>2]=13;v[l+160>>2]=13;v[l+144>>2]=13;v[l+128>>2]=13;v[l+112>>2]=13;v[l+96>>2]=13;v[l+80>>2]=13;v[l+64>>2]=13;v[l+48>>2]=13;a=v[n+8>>2];D:{if((a|0)<=-1){v[l+176>>2]=5;break D}Sm(v[n+4>>2],a,v[n+12>>2],l+176|0,0);if(v[l+176>>2]!=7){break D}g=fc(8);v[299999]=0;S(3312,g|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break h}v[n+40>>2]=g;if(v[rc(v[l+184>>2],322491,l+128|0,0)>>2]-1>>>0<=1){Gf(l+160|0,v[v[n>>2]+24>>2]);b=ud(307136);a=zf(l+128|0,l+112|0);fe(v[l+168>>2],b,a);_c(v[n+40>>2],348960)}a=l+128|0;hc(a);E:{if(v[rc(v[l+184>>2],234499,a,0)>>2]==3){a=v[l+136>>2];g=fc(8);v[299999]=0;b=Q(3064,g|0,a|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break E}break h}g=fc(8);v[299999]=0;b=S(3312,g|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break E}break h}a=l+128|0;hc(a);m=v[rc(v[l+184>>2],311891,a,0)>>2];C=v[l+136>>2];hc(a);F:{if(v[rc(v[l+184>>2],322488,a,0)>>2]==3){a=v[l+136>>2];g=fc(8);v[299999]=0;a=Q(3064,g|0,a|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){break F}break h}g=fc(8);v[299999]=0;a=S(3312,g|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){break F}break h}y=l+128|0;hc(y);g=v[rc(v[l+184>>2],276842,y,0)>>2];c=v[l+136>>2];hc(y);y=a;fa=(m|0)==1?C:0;m=(g|0)==1?c:0;r=0;u=Qb-128|0;Qb=u;G:{H:{C=b;c=b;I:{if(v[b>>2]<2){break I}a=v[C+4>>2];if(w[a|0]!=254|w[a+1|0]!=255){break I}q=fc(8);v[299999]=0;c=S(3312,q|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break H}if(v[C>>2]<4){break I}a=2;q=3;while(1){b=c;g=v[C+4>>2];if(w[g+a|0]){g=63}else{g=w[g+q|0]}gd(b,g<<24>>24);a=a+2|0;q=a|1;if((q|0)>2]){continue}break}}N=-1;b=-1;J:{K:{if(!y){break K}a=0;q=fc(16);v[299999]=0;r=S(3315,q|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break H}q=v[y>>2];if((q|0)>=1){while(1){L:{if((a|0)>=(q|0)){break L}while(1){b=t[v[y+4>>2]+a|0];if(b>>>0<=255){b=w[b+937984|0]==1}else{b=0}if(!b){q=v[y>>2];break L}a=a+1|0;q=v[y>>2];if((a|0)<(q|0)){continue}break}}if((a|0)<(q|0)){b=a+1|0;M:{if((q|0)<=(b|0)){break M}while(1){g=t[v[y+4>>2]+b|0];if(g>>>0<=255){g=w[g+937984|0]==1}else{g=0}if(g){break M}b=b+1|0;if((b|0)>2]){continue}break}}q=fc(8);v[299999]=0;Z(3318,q|0,y|0,a|0,b-a|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break H}Tc(r,q);q=v[y>>2];a=b}if((a|0)<(q|0)){continue}break}}if(v[r+8>>2]<3){b=-1;break K}b=Ad(v[v[r>>2]+8>>2],273871)?-1:0;N:{if(v[r+8>>2]<4){break N}b=Ad(v[v[r>>2]+12>>2],273871)?b:1;if(v[r+8>>2]<5){break N}b=Ad(v[v[r>>2]+16>>2],273871)?b:2;a=6;if(v[r+8>>2]<6){break N}b=Ad(v[v[r>>2]+20>>2],273871)?b:3;if(v[r+8>>2]<=6){break N}while(1){g=a<<2;O:{if(!Ad(v[g+v[r>>2]>>2],273871)){b=a-2|0;break O}N=Ad(v[g+v[r>>2]>>2],258566)?N:a-6|0}a=a+1|0;if((a|0)>2]){continue}break}}if((b|0)<0){break K}g=b<<2;a=v[g+v[r>>2]>>2];$g(a);_c(a,227863);d=xf(v[v[(g+v[r>>2]|0)+4>>2]+4>>2]);g=1;break J}kc(1,-1,272417,0);q=fc(8);v[299999]=0;Q(3063,q|0,227863)|0;a=v[299999];v[299999]=0;if((a|0)==1){break H}Tc(r,q);q=fc(8);v[299999]=0;Q(3063,q|0,335026)|0;a=v[299999];v[299999]=0;if((a|0)==1){break H}Tc(r,q);q=fc(8);v[299999]=0;Q(3063,q|0,273871)|0;a=v[299999];v[299999]=0;if((a|0)==1){break H}Tc(r,q);g=0}_c(v[n+40>>2],350595);P:{Q:{if((m|0)!=270){if((m|0)!=180){if((m|0)!=90){break Q}a=v[n+40>>2];A[u+80>>3]=A[n+64>>3]-A[n+48>>3];Jc(a,351195,u+80|0);e=A[n+72>>3]-A[n+56>>3];B=A[n+64>>3];a=n+48|0;break P}a=v[n+40>>2];o=A[n+48>>3];e=A[n+64>>3];A[u+104>>3]=A[n+72>>3]-A[n+56>>3];A[u+96>>3]=e-o;Jc(a,351142,u+96|0);B=A[n+72>>3];e=A[n+64>>3]-B;a=n+56|0;break P}a=v[n+40>>2];A[u+112>>3]=A[n+72>>3]-A[n+56>>3];Jc(a,351172,u+112|0);e=A[n+72>>3]-A[n+56>>3];B=A[n+64>>3];a=n+48|0;break P}e=A[n+64>>3]-A[n+48>>3];B=A[n+72>>3];a=n+56|0}o=A[a>>3];_c(v[n+40>>2],354878);if(v[c>>2]>=1){a=0;while(1){J=.5;m=v[(w[v[C+4>>2]+a|0]<<2)+1096752>>2];R:{if(!m){break R}if(!Pr(v[261026],m,u+126|0)){break R}J=+x[u+126>>1]}E=E+J;a=a+1|0;if((a|0)>2]){continue}break}}F=B-o;S:{if(d!=0){break S}o=(e-0)/E;d=F-0;d=H(d>o?o:d);if(!g){break S}a=v[(v[r>>2]+(b<<2)|0)+4>>2];$g(a);A[u+64>>3]=d;Jc(a,217437,u- -64|0)}o=E*d;T:{U:{switch(fa-1|0){default:e=2;break T;case 0:e=(e-o)*.5;break T;case 1:break U}}e=e-0+-2-o}d=F*.5+d*-.4;a=0;if((N|0)>=0){g=N<<2;b=v[(g+v[r>>2]|0)+16>>2];$g(b);A[u+48>>3]=e;Jc(b,217437,u+48|0);b=v[(g+v[r>>2]|0)+20>>2];$g(b);A[u+32>>3]=d;Jc(b,217437,u+32|0)}if(v[r+8>>2]>=1){while(1){gd(Mg(v[n+40>>2],v[v[r>>2]+(a<<2)>>2]),32);a=a+1|0;if((a|0)>2]){continue}break}}if((N|0)<=-1){a=v[n+40>>2];A[u+24>>3]=d;A[u+16>>3]=e;Jc(a,351256,u+16|0)}gd(v[n+40>>2],40);if(v[c>>2]>=1){a=0;while(1){m=w[v[c+4>>2]+a|0];V:{if(!(m-40>>>0>=2&(m|0)!=92)){gd(v[n+40>>2],92);gd(v[n+40>>2],m<<24>>24);break V}g=v[n+40>>2];W:{if(m>>>0>=32){b=m<<24>>24;if((b|0)>-1){break W}}v[u>>2]=m;Jc(g,217427,u);break V}gd(g,b)}a=a+1|0;if((a|0)>2]){continue}break}}_c(v[n+40>>2],351495);_c(v[n+40>>2],354874);_c(v[n+40>>2],354944);b=v[r+8>>2];if((b|0)>=1){a=0;while(1){g=v[v[r>>2]+(a<<2)>>2];if(g){Dc(g);dc(g);b=v[r+8>>2]}a=a+1|0;if((b|0)>(a|0)){continue}break}}dc(Vc(r));if((c|0)!=(C|0)){dc(Dc(c))}Qb=u+128|0;break G}a=P()|0;O()|0;dc(q);T(a|0);L()}dc(Dc(C));dc(Dc(y));if(A[v[n+84>>2]+8>>3]!=0){bF(n,l+40|0);a=v[n+40>>2];e=A[n+56>>3];d=A[n+72>>3];o=A[l+40>>3];A[l+16>>3]=A[n+64>>3]-A[n+48>>3]-o;A[l+24>>3]=d-e-o;d=o*.5;A[l>>3]=d;A[l+8>>3]=d;Jc(a,350103,l)}Gf(l+144|0,v[v[n>>2]+24>>2]);a=ud(268438);v[l+136>>2]=v[v[n+40>>2]>>2];v[l+128>>2]=1;b=l+128|0;fe(v[l+152>>2],a,b);a=ud(278827);v[l+128>>2]=4;ja=l,ka=ud(255693),v[ja+136>>2]=ka;fe(v[l+152>>2],a,b);Hr(b,v[v[n>>2]+24>>2]);v[l+120>>2]=0;v[l+124>>2]=0;v[l+112>>2]=2;a=l+112|0;Cg(v[l+136>>2],a);v[l+120>>2]=0;v[l+124>>2]=0;v[l+112>>2]=2;Cg(v[l+136>>2],a);e=A[n+48>>3];d=A[n+64>>3];v[l+112>>2]=2;A[l+120>>3]=d-e;Cg(v[l+136>>2],a);e=A[n+56>>3];d=A[n+72>>3];v[l+112>>2]=2;A[l+120>>3]=d-e;Cg(v[l+136>>2],a);a=ud(220495);fe(v[l+152>>2],a,b);Gf(l+96|0,v[v[n>>2]+24>>2]);c=l+48|0;Gf(c,v[v[n>>2]+24>>2]);a=ud(279704);v[l+128>>2]=4;ja=l,ka=ud(228507),v[ja+136>>2]=ka;fe(v[l+56>>2],a,b);a=ud(278827);v[l+128>>2]=4;ja=l,ka=ud(333569),v[ja+136>>2]=ka;fe(v[l+56>>2],a,b);a=ud(228412);v[l+128>>2]=4;ja=l,ka=ud(307129),v[ja+136>>2]=ka;fe(v[l+56>>2],a,b);a=ud(272962);v[l+128>>2]=4;ja=l,ka=ud(272907),v[ja+136>>2]=ka;fe(v[l+56>>2],a,b);b=l- -64|0;Gf(b,v[v[n>>2]+24>>2]);a=ud(227864);fe(v[l+72>>2],a,c);a=ud(228507);fe(v[l+104>>2],a,b);if(v[l+160>>2]==7){b=l+80|0;Gf(b,v[v[n>>2]+24>>2]);a=ud(333645);fe(v[l+88>>2],a,l+160|0);a=ud(277014);fe(v[l+104>>2],a,b)}a=ud(236851);fe(v[l+152>>2],a,l+96|0);g=fc(48);a=v[n+40>>2];b=v[a>>2];a=v[a+4>>2];v[299999]=0;b=$n(g,a,0,b,l+144|0);a=v[299999];v[299999]=0;if((a|0)==1){break h}hc(n+24|0);v[n+32>>2]=b;v[n+24>>2]=8}hc(l+176|0);Qb=l+192|0}hc(X);Qb=X+16|0;break g}a=P()|0;O()|0;dc(g);T(a|0);L()}z=z+1|0;if((z|0)>2]){continue}break}}X:{if(v[G+8>>2]<1){break X}if(v[v[294330]+404>>2]){DB(235508)}if(v[G+8>>2]<1){break X}z=0;if(!j){while(1){AT(v[v[G+4>>2]+(z<<2)>>2],s,i);z=z+1|0;if((z|0)>2]){continue}break X}}while(1){if(Ub[j|0](k)|0){break X}AT(v[v[G+4>>2]+(z<<2)>>2],s,i);z=z+1|0;if((z|0)>2]){continue}break}}z=0;a=v[G+8>>2];if((a|0)>=1){while(1){b=v[v[G+4>>2]+(z<<2)>>2];if(b){dc(FT(b));a=v[G+8>>2]}z=z+1|0;if((z|0)<(a|0)){continue}break}}a=v[G+4>>2];v[299999]=0;uc(a);a=v[299999];v[299999]=0;if((a|0)==1){break b}dc(f)}Y:{if(!v[v[294330]+336>>2]){break Y}g=v[v[v[D>>2]+28>>2]+132>>2];if(!g){break Y}if(j){if(Ub[j|0](k)|0){break Y}}b=v[D+8>>2];c=0;a=v[g+32>>2];if(v[a+8>>2]>=1){while(1){j=v[v[a>>2]+(c<<2)>>2];f=0;k=Qb-48|0;Qb=k;v[k+32>>2]=13;v[k+16>>2]=13;v[k>>2]=13;Z:{if(v[rc(v[j+32>>2],236947,k+32|0,0)>>2]==6){z=v[k+40>>2];if(v[z+12>>2]<1){break Z}while(1){a=k+16|0;hg(z,f,a);qf(a,v[v[v[j>>2]>>2]+24>>2],k,0);GT(j,b,s,i,a,k);hc(k);hc(a);f=f+1|0;z=v[k+40>>2];if((f|0)>2]){continue}break}break Z}GT(j,b,s,i,j+8|0,j+24|0)}hc(k+32|0);Qb=k+48|0;c=c+1|0;a=v[g+32>>2];if((c|0)>2]){continue}break}}}if(!v[s+12>>2]){b=v[s+8>>2];a=v[v[b>>2]+48>>2];v[299999]=0;R(a|0,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break b}}_:{while(1){a=v[s+28>>2];if(!v[a+668>>2]){break _}v[299999]=0;c=S(3435,a|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break b}v[s+28>>2]=c;b=v[s+8>>2];a=v[v[b>>2]+68>>2];v[299999]=0;V(a|0,b|0,c|0);a=v[299999];v[299999]=0;if((a|0)!=1){continue}break}break b}dc(Kp(a));a=v[s+20>>2];if(a){while(1){b=v[a+104>>2];dc(UE(a));v[s+20>>2]=b;a=b;if(a){continue}break}}f=v[s+104>>2];a=v[f+8>>2];if((a|0)>=1){b=0;while(1){c=v[v[f>>2]+(b<<2)>>2];if(c){dc(c);a=v[f+8>>2]}b=b+1|0;if((b|0)<(a|0)){continue}break}}dc(Vc(f));a=v[s+112>>2];if(a){dc(Vc(a))}dc(h)}Qb=p+144|0;break a}a=P()|0;O()|0;f=h;break c}a=P()|0;O()|0}dc(f);T(a|0);L()}W(0)|0;O()|0;lc();L()}Qb=ca+16|0}function qy(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0,A=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;H=32;h=Qb-16368|0;Qb=h;_=h+15712|0;aa=(h+240|0)+c|0;while(1){gc(h+240|0,b,c);e=gc(aa,a,H);O=c+H|0;if(d){f=d;j=w[f+4|0]|w[f+5|0]<<8|(w[f+6|0]<<16|w[f+7|0]<<24);e=e+H|0;g=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);t[e|0]=g;t[e+1|0]=g>>>8;t[e+2|0]=g>>>16;t[e+3|0]=g>>>24;t[e+4|0]=j;t[e+5|0]=j>>>8;t[e+6|0]=j>>>16;t[e+7|0]=j>>>24;j=w[f+44|0]|w[f+45|0]<<8|(w[f+46|0]<<16|w[f+47|0]<<24);g=w[f+40|0]|w[f+41|0]<<8|(w[f+42|0]<<16|w[f+43|0]<<24);t[e+40|0]=g;t[e+41|0]=g>>>8;t[e+42|0]=g>>>16;t[e+43|0]=g>>>24;t[e+44|0]=j;t[e+45|0]=j>>>8;t[e+46|0]=j>>>16;t[e+47|0]=j>>>24;j=w[f+36|0]|w[f+37|0]<<8|(w[f+38|0]<<16|w[f+39|0]<<24);g=w[f+32|0]|w[f+33|0]<<8|(w[f+34|0]<<16|w[f+35|0]<<24);t[e+32|0]=g;t[e+33|0]=g>>>8;t[e+34|0]=g>>>16;t[e+35|0]=g>>>24;t[e+36|0]=j;t[e+37|0]=j>>>8;t[e+38|0]=j>>>16;t[e+39|0]=j>>>24;j=w[f+28|0]|w[f+29|0]<<8|(w[f+30|0]<<16|w[f+31|0]<<24);g=w[f+24|0]|w[f+25|0]<<8|(w[f+26|0]<<16|w[f+27|0]<<24);t[e+24|0]=g;t[e+25|0]=g>>>8;t[e+26|0]=g>>>16;t[e+27|0]=g>>>24;t[e+28|0]=j;t[e+29|0]=j>>>8;t[e+30|0]=j>>>16;t[e+31|0]=j>>>24;j=w[f+20|0]|w[f+21|0]<<8|(w[f+22|0]<<16|w[f+23|0]<<24);g=w[f+16|0]|w[f+17|0]<<8|(w[f+18|0]<<16|w[f+19|0]<<24);t[e+16|0]=g;t[e+17|0]=g>>>8;t[e+18|0]=g>>>16;t[e+19|0]=g>>>24;t[e+20|0]=j;t[e+21|0]=j>>>8;t[e+22|0]=j>>>16;t[e+23|0]=j>>>24;g=w[f+12|0]|w[f+13|0]<<8|(w[f+14|0]<<16|w[f+15|0]<<24);f=w[f+8|0]|w[f+9|0]<<8|(w[f+10|0]<<16|w[f+11|0]<<24);t[e+8|0]=f;t[e+9|0]=f>>>8;t[e+10|0]=f>>>16;t[e+11|0]=f>>>24;t[e+12|0]=g;t[e+13|0]=g>>>8;t[e+14|0]=g>>>16;t[e+15|0]=g>>>24;O=O+48|0}$=p;p=1;while(1){e=h+240|0;gc(e+B(p,O)|0,e,O);gc(e+B(p+1|0,O)|0,e,O);gc(e+B(p+2|0,O)|0,e,O);p=p+3|0;if((p|0)!=64){continue}break}e=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);v[h+8>>2]=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);e=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);v[h+12>>2]=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);e=w[a+8|0]|w[a+9|0]<<8|(w[a+10|0]<<16|w[a+11|0]<<24);v[h+16>>2]=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);e=w[a+12|0]|w[a+13|0]<<8|(w[a+14|0]<<16|w[a+15|0]<<24);g=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);v[h+20>>2]=g;p=4;while(1){f=(h+8|0)+(p<<2)|0;e=f;if(!(p&3)){n=v[(p&-4)+894640>>2];g=Gib(g,8);g=n^(w[(g>>>16&255)+894720|0]<<16|w[(g>>>24|0)+894720|0]<<24|w[(g>>>8&255)+894720|0]<<8|w[(g&255)+894720|0])}g=v[f-16>>2]^g;v[e>>2]=g;p=p+1|0;if((p|0)!=44){continue}break}f=w[a+20|0]|w[a+21|0]<<8|(w[a+22|0]<<16|w[a+23|0]<<24);e=w[a+16|0]|w[a+17|0]<<8|(w[a+18|0]<<16|w[a+19|0]<<24);t[h+200|0]=e;t[h+201|0]=e>>>8;t[h+202|0]=e>>>16;t[h+203|0]=e>>>24;t[h+204|0]=f;t[h+205|0]=f>>>8;t[h+206|0]=f>>>16;t[h+207|0]=f>>>24;f=w[a+28|0]|w[a+29|0]<<8|(w[a+30|0]<<16|w[a+31|0]<<24);e=w[a+24|0]|w[a+25|0]<<8|(w[a+26|0]<<16|w[a+27|0]<<24);t[h+208|0]=e;t[h+209|0]=e>>>8;t[h+210|0]=e>>>16;t[h+211|0]=e>>>24;t[h+212|0]=f;t[h+213|0]=f>>>8;t[h+214|0]=f>>>16;t[h+215|0]=f>>>24;Z=O<<6;p=0;if((O|0)>0){while(1){k=h+8|0;W=(h+240|0)+p|0;s=W;t[k+176|0]=w[k+192|0]^w[s|0];t[k+180|0]=w[k+193|0]^w[s+1|0];t[k+184|0]=w[k+194|0]^w[s+2|0];t[k+188|0]=w[k+195|0]^w[s+3|0];t[k+177|0]=w[k+196|0]^w[s+4|0];t[k+181|0]=w[k+197|0]^w[s+5|0];r=w[k+198|0]^w[s+6|0];t[k+185|0]=r;i=w[k+199|0]^w[s+7|0];t[k+189|0]=i;m=w[k+200|0]^w[s+8|0];t[k+178|0]=m;o=w[k+201|0]^w[s+9|0];t[k+182|0]=o;l=w[k+202|0]^w[s+10|0];t[k+186|0]=l;j=w[k+203|0]^w[s+11|0];t[k+190|0]=j;g=w[k+204|0]^w[s+12|0];t[k+179|0]=g;f=w[k+205|0]^w[s+13|0];t[k+183|0]=f;e=w[k+206|0]^w[s+14|0];t[k+187|0]=e;C=v[k+12>>2];J=e^C>>>8;K=f^C>>>16;n=g^C>>>24;x=v[k+8>>2];I=l^x>>>8;F=o^x>>>16;P=m^x>>>24;f=v[k+4>>2];g=r^f>>>8;q=w[k+181|0]^f>>>16;r=w[k+177|0]^f>>>24;e=v[k>>2];L=w[k+184|0]^e>>>8;G=w[k+180|0]^e>>>16;M=j^x;Q=f^i;N=e^w[k+188|0];m=C^(w[k+207|0]^w[s+15|0]);U=w[k+176|0]^e>>>24;V=1;while(1){X=t[(Q&255)+894720|0];e=X<<1;Y=(X|0)>-1?e:e^27;y=t[(K&255)+894720|0];o=t[(P&255)+894720|0];K=y^o;A=t[(L&255)+894720|0];e=A<<1;l=(A|0)>-1?e:e^27;P=Y^(K^(l^X));t[k+186|0]=P;u=t[(n&255)+894720|0];e=u<<1;Q=(u|0)>-1?e:e^27;E=t[(g&255)+894720|0];L=t[(G&255)+894720|0];g=L^u;S=t[(M&255)+894720|0];e=S<<1;f=(S|0)>-1?e:e^27;n=Q^E^g^f;t[k+191|0]=n;e=E<<1;j=(E|0)>-1?e:e^27;D=f^(j^S^g);t[k+187|0]=D;J=t[(J&255)+894720|0];R=t[(F&255)+894720|0];e=R<<1;f=J^((R|0)>-1?e:e^27);e=J<<1;z=(J|0)>-1?e:e^27;T=t[(N&255)+894720|0];F=t[(r&255)+894720|0];s=z^(T^(f^F));t[k+181|0]=s;e=F<<1;C=(F|0)>-1?e:e^27;x=T^(R^(f^C));t[k+177|0]=x;G=t[(I&255)+894720|0];N=t[(q&255)+894720|0];e=N<<1;q=G^((N|0)>-1?e:e^27);M=t[(U&255)+894720|0];e=M<<1;r=(M|0)>-1?e:e^27;I=t[(m&255)+894720|0];g=q^r^N^I;t[k+176|0]=g;e=y<<1;f=((y|0)>-1?e:e^27)^A;i=X^(l^(f^o));t[k+182|0]=i;e=o<<1;m=(o|0)>-1?e:e^27;o=X^(y^(f^m));t[k+178|0]=o;e=L<<1;e=E^((L|0)>-1?e:e^27);l=S^(j^(e^u));t[k+183|0]=l;j=S^(e^L^Q);t[k+179|0]=j;E=k+(V<<4)|0;U=g^w[E+3|0];t[k+176|0]=U;e=I<<1;f=(I|0)>-1?e:e^27;g=M^N;e=f^(g^(r^G));r=v[E>>2];N=e^r;t[k+188|0]=N;e=G<<1;e=(G|0)>-1?e:e^27;L=f^(e^I^g)^r>>>8;t[k+184|0]=L;G=I^(e^(q^M))^r>>>16;t[k+180|0]=G;e=v[E+4>>2];q=e>>>16^s;t[k+181|0]=q;r=e>>>24^x;t[k+177|0]=r;e=T<<1;f=(T|0)>-1?e:e^27;g=F^R;e=v[E+4>>2];Q=f^(g^(C^J))^e;t[k+189|0]=Q;g=f^(g^(z^T))^e>>>8;t[k+185|0]=g;e=v[E+8>>2];I=e>>>8^P;t[k+186|0]=I;F=e>>>16^i;t[k+182|0]=F;P=o^e>>>24;t[k+178|0]=P;M=w[E+8|0]^(m^A^K^Y);t[k+190|0]=M;e=v[E+12>>2];m=e^n;t[k+191|0]=m;J=e>>>8^D;t[k+187|0]=J;K=l^e>>>16;t[k+183|0]=K;n=j^e>>>24;t[k+179|0]=n;V=V+1|0;if((V|0)!=10){continue}break}e=v[k+160>>2];D=e^w[(m&255)+894720|0];t[k+188|0]=D;z=w[(I&255)+894720|0]^e>>>8;t[k+184|0]=z;s=w[(q&255)+894720|0]^e>>>16;t[k+180|0]=s;e=w[(U&255)+894720|0]^e>>>24;t[k+176|0]=e;f=v[k+164>>2];C=f^w[(N&255)+894720|0];t[k+189|0]=C;x=w[(J&255)+894720|0]^f>>>8;t[k+185|0]=x;q=w[(F&255)+894720|0]^f>>>16;t[k+181|0]=q;r=w[(r&255)+894720|0]^f>>>24;t[k+177|0]=r;f=v[k+168>>2];i=f^w[(Q&255)+894720|0];t[k+190|0]=i;m=w[(L&255)+894720|0]^f>>>8;t[k+186|0]=m;o=w[(K&255)+894720|0]^f>>>16;t[k+182|0]=o;l=w[(P&255)+894720|0]^f>>>24;t[k+178|0]=l;t[k+208|0]=e;t[k+192|0]=e;e=v[k+172>>2];j=e^w[(M&255)+894720|0];t[k+191|0]=j;g=w[(g&255)+894720|0]^e>>>8;t[k+187|0]=g;f=w[(G&255)+894720|0]^e>>>16;t[k+183|0]=f;e=w[(n&255)+894720|0]^e>>>24;t[k+179|0]=e;t[k+209|0]=s;t[k+193|0]=s;t[k+210|0]=z;t[k+194|0]=z;t[k+211|0]=D;t[k+195|0]=D;t[k+212|0]=r;t[k+196|0]=r;t[k+213|0]=q;t[k+197|0]=q;t[k+214|0]=x;t[k+198|0]=x;t[k+215|0]=C;t[k+199|0]=C;t[k+216|0]=l;t[k+200|0]=l;t[k+217|0]=o;t[k+201|0]=o;t[k+218|0]=m;t[k+202|0]=m;t[k+203|0]=i;t[k+219|0]=i;t[k+204|0]=e;t[k+220|0]=e;t[k+205|0]=f;t[k+221|0]=f;t[k+206|0]=g;t[k+222|0]=g;t[k+207|0]=j;t[k+223|0]=j;e=v[h+228>>2];v[W+8>>2]=v[h+224>>2];v[W+12>>2]=e;e=v[h+220>>2];v[W>>2]=v[h+216>>2];v[W+4>>2]=e;p=p+16|0;if((Z|0)>(p|0)){continue}break}}a:{b:{c:{d:{switch(((w[h+240|0]%3+w[h+241|0]%3+w[h+242|0]%3+w[h+243|0]%3+w[h+244|0]%3+w[h+245|0]%3+w[h+246|0]%3+w[h+247|0]%3+w[h+248|0]%3+w[h+249|0]%3+w[h+250|0]%3+w[h+251|0]%3+w[h+252|0]%3+w[h+253|0]%3+w[h+254|0]%3+w[h+255|0]%3&255)>>>0)%3|0){case 0:ou(h+240|0,Z,a);H=32;break a;case 1:T=-1090891868;E=1203062813;v[h+15592>>2]=-1090891868;v[h+15596>>2]=1203062813;I=1694076839;L=-619958771;v[h+15584>>2]=1694076839;v[h+15588>>2]=-619958771;R=1750603025;J=-1900787065;v[h+15576>>2]=1750603025;v[h+15580>>2]=-1900787065;F=-4191439;N=1731405415;v[h+15568>>2]=-4191439;v[h+15572>>2]=1731405415;G=-150054599;M=355462360;v[h+15560>>2]=-150054599;v[h+15564>>2]=355462360;U=812702999;Y=-1856437926;v[h+15552>>2]=812702999;v[h+15556>>2]=-1856437926;K=914150663;P=1654270250;v[h+15544>>2]=914150663;v[h+15548>>2]=1654270250;V=-1056596264;Q=-876896931;v[h+15536>>2]=-1056596264;v[h+15540>>2]=-876896931;p=128;g=0;e:{if((O|0)<2){H=0;break e}while(1){H=p;q=(h+240|0)+g|0;p=0;while(1){e=p<<3;j=e+(h+15728|0)|0;e=e+q|0;f=v[e+4>>2];l=v[e>>2];m=l<<24|l<<8&16711680;e=f<<24|l>>>8;r=0;i=e&65280|(f<<8|l>>>24)&255|m;e=f;g=j;v[g>>2]=((e&255)<<24|l>>>8)&-16777216|((e&16777215)<<8|l>>>24)&16711680|(e>>>8&65280|e>>>24)|r;v[g+4>>2]=i;p=p+1|0;if((p|0)!=16){continue}break}g=16;y=v[h+15728>>2];l=y;W=v[h+15732>>2];f=W;while(1){q=(h+15728|0)+(g<<3)|0;j=q;e=j-56|0;o=l+v[e>>2]|0;e=f+v[e+4>>2]|0;i=o;f=l>>>0>i>>>0?e+1|0:e;e=j-16|0;l=v[e+4>>2];r=v[e>>2];e=Hib(r,l,45);o=Tb;e=Hib(r,l,3)^e;m=Tb^o;n=e;e=l>>>6|0;l=n^((l&63)<<26|r>>>6);o=l+i|0;e=(e^m)+f|0;i=o;o=l>>>0>i>>>0?e+1|0:e;e=j-120|0;f=v[e+4>>2];l=v[e>>2];e=Hib(l,f,63);m=Tb;e=Hib(l,f,56)^e;r=Tb^m;n=e;e=f>>>7|0;m=n^((f&127)<<25|l>>>7);i=m+i|0;e=(e^r)+o|0;v[j>>2]=i;v[j+4>>2]=i>>>0>>0?e+1|0:e;g=g+1|0;if((g|0)!=80){continue}break}p=0;x=V;q=Q;C=K;s=P;n=T;e=E;j=I;m=L;g=R;o=J;l=F;f=N;D=G;z=M;r=U;i=Y;while(1){u=(p<<3)+895488|0;X=v[u>>2];S=v[u+4>>2];A=Hib(l,f,50);u=Tb;A=Hib(l,f,46)^A;u=Tb^u;e=e+W|0;n=n+y|0;e=n>>>0>>0?e+1|0:e;y=n;n=g&l;y=y+n|0;e=(f&o)+e|0;e=n>>>0>y>>>0?e+1|0:e;n=(l^-1)&j;y=n+y|0;e=((f^-1)&m)+e|0;e=n>>>0>y>>>0?e+1|0:e;n=Hib(l,f,23)^A;A=n+y|0;e=(Tb^u)+e|0;e=n>>>0>A>>>0?e+1|0:e;n=A;u=n+X|0;e=e+S|0;S=u;e=n>>>0>u>>>0?e+1|0:e;y=e;n=e;X=i^s;u=C;C=x;A=s;x=(u^r)&x^r&u;s=q;q=Hib(C,s,36);e=Tb;q=Hib(C,s,30)^q;e=Tb^e;q=Hib(C,s,25)^q;x=q+x|0;e=(s&X^i&A)+(Tb^e)|0;e=q>>>0>x>>>0?e+1|0:e;q=x;x=q+S|0;e=e+n|0;e=q>>>0>x>>>0?e+1|0:e;q=e;e=D;D=S;n=e+D|0;e=z+y|0;e=n>>>0>>0?e+1|0:e;D=n;z=e;p=p+1|0;if((p|0)!=80){e=(h+15728|0)+(p<<3)|0;y=v[e>>2];W=v[e+4>>2];n=j;e=m;j=g;m=o;g=l;o=f;l=D;f=z;D=r;z=i;r=u;i=A;continue}break}e=m+E|0;n=j+T|0;e=n>>>0>>0?e+1|0:e;T=n;E=e;e=o+L|0;j=g+I|0;e=j>>>0>>0?e+1|0:e;I=j;L=e;e=f+J|0;g=l+R|0;e=g>>>0>>0?e+1|0:e;R=g;J=e;e=z+N|0;f=D+F|0;e=f>>>0>>0?e+1|0:e;F=f;N=e;e=i+M|0;f=r+G|0;e=f>>>0>>0?e+1|0:e;G=f;M=e;e=A+Y|0;f=u+U|0;e=f>>>0>>0?e+1|0:e;U=f;Y=e;e=s+P|0;f=C+K|0;e=f>>>0>>0?e+1|0:e;K=f;P=e;e=q+Q|0;f=x+V|0;e=f>>>0>>0?e+1|0:e;V=f;Q=e;g=H;p=g+128|0;if((Z|0)>=(p|0)){continue}break}v[h+15592>>2]=T;v[h+15596>>2]=E;v[h+15584>>2]=I;v[h+15588>>2]=L;v[h+15576>>2]=R;v[h+15580>>2]=J;v[h+15568>>2]=F;v[h+15572>>2]=N;v[h+15560>>2]=G;v[h+15564>>2]=M;v[h+15552>>2]=U;v[h+15556>>2]=Y;v[h+15544>>2]=K;v[h+15548>>2]=P;v[h+15536>>2]=V;v[h+15540>>2]=Q}f=Z-H|0;if((f|0)<=0){t[f+(h+15600|0)|0]=128;break c}e=h+15600|0;gc(e,(h+240|0)+H|0,f);t[e+f|0]=128;if((f|0)<112){break c}if((f|0)<=126){ic(h+15600+((Z|1)-H)|0,0,(H-Z|0)+127|0)}py(h+15600|0,h+15536|0);f=0;break b;case 2:break d;default:break a}}T=327033209;E=1541459225;v[h+15592>>2]=327033209;v[h+15596>>2]=1541459225;I=-79577749;L=528734635;v[h+15584>>2]=-79577749;v[h+15588>>2]=528734635;R=725511199;J=-1694144372;v[h+15576>>2]=725511199;v[h+15580>>2]=-1694144372;F=-1377402159;N=1359893119;v[h+15568>>2]=-1377402159;v[h+15572>>2]=1359893119;G=1595750129;M=-1521486534;v[h+15560>>2]=1595750129;v[h+15564>>2]=-1521486534;U=-23791573;Y=1013904242;v[h+15552>>2]=-23791573;v[h+15556>>2]=1013904242;K=-2067093701;P=-1150833019;v[h+15544>>2]=-2067093701;v[h+15548>>2]=-1150833019;V=-205731576;Q=1779033703;v[h+15536>>2]=-205731576;v[h+15540>>2]=1779033703;p=128;g=0;f:{if((O|0)<2){H=0;break f}while(1){H=p;q=(h+240|0)+g|0;p=0;while(1){e=p<<3;j=e+(h+15728|0)|0;e=e+q|0;f=v[e+4>>2];l=v[e>>2];m=l<<24|l<<8&16711680;e=f<<24|l>>>8;r=0;i=e&65280|(f<<8|l>>>24)&255|m;e=f;g=j;v[g>>2]=((e&255)<<24|l>>>8)&-16777216|((e&16777215)<<8|l>>>24)&16711680|(e>>>8&65280|e>>>24)|r;v[g+4>>2]=i;p=p+1|0;if((p|0)!=16){continue}break}g=16;y=v[h+15728>>2];l=y;W=v[h+15732>>2];f=W;while(1){q=(h+15728|0)+(g<<3)|0;j=q;e=j-56|0;o=l+v[e>>2]|0;e=f+v[e+4>>2]|0;i=o;f=l>>>0>i>>>0?e+1|0:e;e=j-16|0;l=v[e+4>>2];r=v[e>>2];e=Hib(r,l,45);o=Tb;e=Hib(r,l,3)^e;m=Tb^o;n=e;e=l>>>6|0;l=n^((l&63)<<26|r>>>6);o=l+i|0;e=(e^m)+f|0;i=o;o=l>>>0>i>>>0?e+1|0:e;e=j-120|0;f=v[e+4>>2];l=v[e>>2];e=Hib(l,f,63);m=Tb;e=Hib(l,f,56)^e;r=Tb^m;n=e;e=f>>>7|0;m=n^((f&127)<<25|l>>>7);i=m+i|0;e=(e^r)+o|0;v[j>>2]=i;v[j+4>>2]=i>>>0>>0?e+1|0:e;g=g+1|0;if((g|0)!=80){continue}break}p=0;x=V;q=Q;C=K;s=P;n=T;e=E;j=I;m=L;g=R;o=J;l=F;f=N;D=G;z=M;r=U;i=Y;while(1){u=(p<<3)+895488|0;X=v[u>>2];S=v[u+4>>2];A=Hib(l,f,50);u=Tb;A=Hib(l,f,46)^A;u=Tb^u;e=e+W|0;n=n+y|0;e=n>>>0>>0?e+1|0:e;y=n;n=g&l;y=y+n|0;e=(f&o)+e|0;e=n>>>0>y>>>0?e+1|0:e;n=(l^-1)&j;y=n+y|0;e=((f^-1)&m)+e|0;e=n>>>0>y>>>0?e+1|0:e;n=Hib(l,f,23)^A;A=n+y|0;e=(Tb^u)+e|0;e=n>>>0>A>>>0?e+1|0:e;n=A;u=n+X|0;e=e+S|0;S=u;e=n>>>0>u>>>0?e+1|0:e;y=e;n=e;X=i^s;u=C;C=x;A=s;x=(u^r)&x^r&u;s=q;q=Hib(C,s,36);e=Tb;q=Hib(C,s,30)^q;e=Tb^e;q=Hib(C,s,25)^q;x=q+x|0;e=(s&X^i&A)+(Tb^e)|0;e=q>>>0>x>>>0?e+1|0:e;q=x;x=q+S|0;e=e+n|0;e=q>>>0>x>>>0?e+1|0:e;q=e;e=D;D=S;n=e+D|0;e=z+y|0;e=n>>>0>>0?e+1|0:e;D=n;z=e;p=p+1|0;if((p|0)!=80){e=(h+15728|0)+(p<<3)|0;y=v[e>>2];W=v[e+4>>2];n=j;e=m;j=g;m=o;g=l;o=f;l=D;f=z;D=r;z=i;r=u;i=A;continue}break}e=m+E|0;n=j+T|0;e=n>>>0>>0?e+1|0:e;T=n;E=e;e=o+L|0;j=g+I|0;e=j>>>0>>0?e+1|0:e;I=j;L=e;e=f+J|0;g=l+R|0;e=g>>>0>>0?e+1|0:e;R=g;J=e;e=z+N|0;f=D+F|0;e=f>>>0>>0?e+1|0:e;F=f;N=e;e=i+M|0;f=r+G|0;e=f>>>0>>0?e+1|0:e;G=f;M=e;e=A+Y|0;f=u+U|0;e=f>>>0>>0?e+1|0:e;U=f;Y=e;e=s+P|0;f=C+K|0;e=f>>>0>>0?e+1|0:e;K=f;P=e;e=q+Q|0;f=x+V|0;e=f>>>0>>0?e+1|0:e;V=f;Q=e;g=H;p=g+128|0;if((Z|0)>=(p|0)){continue}break}v[h+15592>>2]=T;v[h+15596>>2]=E;v[h+15584>>2]=I;v[h+15588>>2]=L;v[h+15576>>2]=R;v[h+15580>>2]=J;v[h+15568>>2]=F;v[h+15572>>2]=N;v[h+15560>>2]=G;v[h+15564>>2]=M;v[h+15552>>2]=U;v[h+15556>>2]=Y;v[h+15544>>2]=K;v[h+15548>>2]=P;v[h+15536>>2]=V;v[h+15540>>2]=Q}g:{h:{f=Z-H|0;if((f|0)<=0){t[f+(h+15600|0)|0]=128;break h}e=h+15600|0;gc(e,(h+240|0)+H|0,f);t[e+f|0]=128;if((f|0)<112){break h}if((f|0)<=126){ic(h+15600+((Z|1)-H)|0,0,(H-Z|0)+127|0)}py(h+15600|0,h+15536|0);f=0;break g}f=f|1}e=h+15600|0;ic(f+e|0,0,112-f|0);v[_+8>>2]=0;v[_>>2]=0;v[_+4>>2]=0;t[h+15727|0]=0;t[h+15726|0]=O<<1;t[h+15725|0]=O>>>7;t[h+15724|0]=O>>>15;py(e,h+15536|0);m=0;i=v[h+15536>>2];o=i<<24|i<<8&16711680;f=v[h+15540>>2];e=f<<24|i>>>8;j=0;l=e&65280;e=f<<8|i>>>24;j=j|m;m=e&255|l|o;e=f;g=a;f=((e&255)<<24|i>>>8)&-16777216|((e&16777215)<<8|i>>>24)&16711680|(e>>>8&65280|e>>>24)|j;t[g|0]=f;t[g+1|0]=f>>>8;t[g+2|0]=f>>>16;t[g+3|0]=f>>>24;z=0;e=z|m;t[g+4|0]=e;t[g+5|0]=e>>>8;t[g+6|0]=e>>>16;t[g+7|0]=e>>>24;m=0;i=v[h+15544>>2];o=i<<24|i<<8&16711680;f=v[h+15548>>2];e=f<<24|i>>>8;j=0;l=e&65280;e=f<<8|i>>>24;j=j|m;m=e&255|l|o;e=f;f=((e&255)<<24|i>>>8)&-16777216|((e&16777215)<<8|i>>>24)&16711680|(e>>>8&65280|e>>>24)|j;t[g+8|0]=f;t[g+9|0]=f>>>8;t[g+10|0]=f>>>16;t[g+11|0]=f>>>24;e=m|z;t[g+12|0]=e;t[g+13|0]=e>>>8;t[g+14|0]=e>>>16;t[g+15|0]=e>>>24;m=0;i=v[h+15552>>2];o=i<<24|i<<8&16711680;f=v[h+15556>>2];e=f<<24|i>>>8;j=0;l=e&65280;e=f<<8|i>>>24;j=j|m;m=e&255|l|o;e=f;f=((e&255)<<24|i>>>8)&-16777216|((e&16777215)<<8|i>>>24)&16711680|(e>>>8&65280|e>>>24)|j;t[g+16|0]=f;t[g+17|0]=f>>>8;t[g+18|0]=f>>>16;t[g+19|0]=f>>>24;e=m|z;t[g+20|0]=e;t[g+21|0]=e>>>8;t[g+22|0]=e>>>16;t[g+23|0]=e>>>24;m=0;i=v[h+15560>>2];o=i<<24|i<<8&16711680;f=v[h+15564>>2];e=f<<24|i>>>8;j=0;l=e&65280;e=f<<8|i>>>24;j=j|m;m=e&255|l|o;e=f;f=((e&255)<<24|i>>>8)&-16777216|((e&16777215)<<8|i>>>24)&16711680|(e>>>8&65280|e>>>24)|j;t[g+24|0]=f;t[g+25|0]=f>>>8;t[g+26|0]=f>>>16;t[g+27|0]=f>>>24;e=m|z;t[g+28|0]=e;t[g+29|0]=e>>>8;t[g+30|0]=e>>>16;t[g+31|0]=e>>>24;m=0;i=v[h+15568>>2];o=i<<24|i<<8&16711680;f=v[h+15572>>2];e=f<<24|i>>>8;j=0;l=e&65280;e=f<<8|i>>>24;j=j|m;m=e&255|l|o;e=f;f=((e&255)<<24|i>>>8)&-16777216|((e&16777215)<<8|i>>>24)&16711680|(e>>>8&65280|e>>>24)|j;t[g+32|0]=f;t[g+33|0]=f>>>8;t[g+34|0]=f>>>16;t[g+35|0]=f>>>24;e=m|z;t[g+36|0]=e;t[g+37|0]=e>>>8;t[g+38|0]=e>>>16;t[g+39|0]=e>>>24;m=0;i=v[h+15576>>2];o=i<<24|i<<8&16711680;f=v[h+15580>>2];e=f<<24|i>>>8;j=0;l=e&65280;e=f<<8|i>>>24;j=j|m;m=e&255|l|o;e=f;f=((e&255)<<24|i>>>8)&-16777216|((e&16777215)<<8|i>>>24)&16711680|(e>>>8&65280|e>>>24)|j;t[g+40|0]=f;t[g+41|0]=f>>>8;t[g+42|0]=f>>>16;t[g+43|0]=f>>>24;e=m|z;t[g+44|0]=e;t[g+45|0]=e>>>8;t[g+46|0]=e>>>16;t[g+47|0]=e>>>24;m=0;i=v[h+15584>>2];o=i<<24|i<<8&16711680;f=v[h+15588>>2];e=f<<24|i>>>8;j=0;l=e&65280;e=f<<8|i>>>24;j=j|m;m=e&255|l|o;e=f;f=((e&255)<<24|i>>>8)&-16777216|((e&16777215)<<8|i>>>24)&16711680|(e>>>8&65280|e>>>24)|j;t[g+48|0]=f;t[g+49|0]=f>>>8;t[g+50|0]=f>>>16;t[g+51|0]=f>>>24;e=m|z;t[g+52|0]=e;t[g+53|0]=e>>>8;t[g+54|0]=e>>>16;t[g+55|0]=e>>>24;m=0;i=v[h+15592>>2];o=i<<24|i<<8&16711680;f=v[h+15596>>2];e=f<<24|i>>>8;j=0;l=e&65280;e=f<<8|i>>>24;j=j|m;m=e&255|l|o;e=f;f=((e&255)<<24|i>>>8)&-16777216|((e&16777215)<<8|i>>>24)&16711680|(e>>>8&65280|e>>>24)|j;t[g+56|0]=f;t[g+57|0]=f>>>8;t[g+58|0]=f>>>16;t[g+59|0]=f>>>24;e=m|z;t[g+60|0]=e;t[g+61|0]=e>>>8;t[g+62|0]=e>>>16;t[g+63|0]=e>>>24;H=64;break a}f=f|1}e=h+15600|0;ic(f+e|0,0,112-f|0);v[_+8>>2]=0;v[_>>2]=0;v[_+4>>2]=0;t[h+15727|0]=0;t[h+15726|0]=O<<1;t[h+15725|0]=O>>>7;t[h+15724|0]=O>>>15;py(e,h+15536|0);m=0;i=v[h+15536>>2];o=i<<24|i<<8&16711680;f=v[h+15540>>2];e=f<<24|i>>>8;j=0;l=e&65280;e=f<<8|i>>>24;j=j|m;m=e&255|l|o;e=f;g=a;f=((e&255)<<24|i>>>8)&-16777216|((e&16777215)<<8|i>>>24)&16711680|(e>>>8&65280|e>>>24)|j;t[g|0]=f;t[g+1|0]=f>>>8;t[g+2|0]=f>>>16;t[g+3|0]=f>>>24;z=0;e=z|m;t[g+4|0]=e;t[g+5|0]=e>>>8;t[g+6|0]=e>>>16;t[g+7|0]=e>>>24;m=0;i=v[h+15544>>2];o=i<<24|i<<8&16711680;f=v[h+15548>>2];e=f<<24|i>>>8;j=0;l=e&65280;e=f<<8|i>>>24;j=j|m;m=e&255|l|o;e=f;f=((e&255)<<24|i>>>8)&-16777216|((e&16777215)<<8|i>>>24)&16711680|(e>>>8&65280|e>>>24)|j;t[g+8|0]=f;t[g+9|0]=f>>>8;t[g+10|0]=f>>>16;t[g+11|0]=f>>>24;e=m|z;t[g+12|0]=e;t[g+13|0]=e>>>8;t[g+14|0]=e>>>16;t[g+15|0]=e>>>24;m=0;i=v[h+15552>>2];o=i<<24|i<<8&16711680;f=v[h+15556>>2];e=f<<24|i>>>8;j=0;l=e&65280;e=f<<8|i>>>24;j=j|m;m=e&255|l|o;e=f;f=((e&255)<<24|i>>>8)&-16777216|((e&16777215)<<8|i>>>24)&16711680|(e>>>8&65280|e>>>24)|j;t[g+16|0]=f;t[g+17|0]=f>>>8;t[g+18|0]=f>>>16;t[g+19|0]=f>>>24;e=m|z;t[g+20|0]=e;t[g+21|0]=e>>>8;t[g+22|0]=e>>>16;t[g+23|0]=e>>>24;m=0;i=v[h+15560>>2];o=i<<24|i<<8&16711680;f=v[h+15564>>2];e=f<<24|i>>>8;j=0;l=e&65280;e=f<<8|i>>>24;j=j|m;m=e&255|l|o;e=f;f=((e&255)<<24|i>>>8)&-16777216|((e&16777215)<<8|i>>>24)&16711680|(e>>>8&65280|e>>>24)|j;t[g+24|0]=f;t[g+25|0]=f>>>8;t[g+26|0]=f>>>16;t[g+27|0]=f>>>24;e=m|z;t[g+28|0]=e;t[g+29|0]=e>>>8;t[g+30|0]=e>>>16;t[g+31|0]=e>>>24;m=0;i=v[h+15568>>2];o=i<<24|i<<8&16711680;f=v[h+15572>>2];e=f<<24|i>>>8;j=0;l=e&65280;e=f<<8|i>>>24;j=j|m;m=e&255|l|o;e=f;f=((e&255)<<24|i>>>8)&-16777216|((e&16777215)<<8|i>>>24)&16711680|(e>>>8&65280|e>>>24)|j;t[g+32|0]=f;t[g+33|0]=f>>>8;t[g+34|0]=f>>>16;t[g+35|0]=f>>>24;e=m|z;t[g+36|0]=e;t[g+37|0]=e>>>8;t[g+38|0]=e>>>16;t[g+39|0]=e>>>24;m=0;i=v[h+15576>>2];o=i<<24|i<<8&16711680;f=v[h+15580>>2];e=f<<24|i>>>8;j=0;l=e&65280;e=f<<8|i>>>24;j=j|m;m=e&255|l|o;e=f;f=((e&255)<<24|i>>>8)&-16777216|((e&16777215)<<8|i>>>24)&16711680|(e>>>8&65280|e>>>24)|j;t[g+40|0]=f;t[g+41|0]=f>>>8;t[g+42|0]=f>>>16;t[g+43|0]=f>>>24;e=m|z;t[g+44|0]=e;t[g+45|0]=e>>>8;t[g+46|0]=e>>>16;t[g+47|0]=e>>>24;H=48}p=$+1|0;if($>>>0<63|w[(h+Z|0)+239|0]>($-31|0)){continue}break}Qb=h+16368|0}function KM(a){var 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,C=0;e=Qb-784|0;Qb=e;v[e+700>>2]=0;c=v[a+20>>2];v[a+16>>2]=c;a:{if(!c){break a}b:{d=x[a+32>>1];if(!d){break b}h=v[a+24>>2];if(!h){break b}while(1){if((c|0)!=v[h+(b<<2)>>2]){b=b+1|0;if((d|0)!=(b|0)){continue}break b}break}break a}b=d+1|0;u[a+32>>1]=b;b=b&65535;c:{if((b|0)<=v[a+28>>2]){i=v[a+24>>2];break c}i=_O(a,v[a+24>>2],b,8,49340);if(!i){break a}v[a+24>>2]=i;b=x[a+32>>1];v[a+28>>2]=b<<1}v[((b<<2)+i|0)-4>>2]=c;Ub[v[a+572>>2]](a);u[a+476>>1]=x[a+476>>1]+1;d=v[a+20>>2];c=a+20|0;b=Qb-80|0;Qb=b;d:{if(e+700|0){v[a+16>>2]=d;if(c){v[c>>2]=0}e:{f:{g:{if(!(w[a+13|0]&8)){if((Ub[v[a+640>>2]](v[a+628>>2],v[a+16>>2],0)|0)!=v[a+16>>2]){c=v[a+628>>2];v[b+32>>2]=v[a>>2];zc(c,82592,51721,b+32|0);break e}if((Ub[v[a+632>>2]](v[a+628>>2],b+78|0,2)|0)!=2){c=v[a+628>>2];v[b+16>>2]=v[a>>2];zc(c,82592,52122,b+16|0);break e}if(w[a+12|0]&128){d=w[b+79|0];t[b+79|0]=w[b+78|0];t[b+78|0]=d}d=kg(a,x[b+78>>1],12,52563);if(!d){break e}if((Ub[v[a+632>>2]](v[a+628>>2],d,B(x[b+78>>1],12))|0)!=(B(x[b+78>>1],12)|0)){c=v[a+628>>2];v[b>>2]=v[a>>2];zc(c,82592,53084,b);dc(d);break e}if(!c){break f}Ub[v[a+632>>2]](v[a+628>>2],c,4)|0;break g}h:{d=v[a+616>>2];if(d>>>0>=2){h=v[a+16>>2];if(h>>>0<=d-2>>>0){break h}}c=v[a+628>>2];v[b+48>>2]=v[a>>2];zc(c,82592,52122,b+48|0);break e}oe(b+78|0,h+v[a+612>>2]|0,2);if(w[a+12|0]&128){d=w[b+79|0];t[b+79|0]=w[b+78|0];t[b+78|0]=d}d=kg(a,x[b+78>>1],12,52563);if(!d){break e}l=B(x[b+78>>1],12);h=h+2|0;if(y[a+616>>2]>>0){c=v[a+628>>2];v[b+64>>2]=v[a>>2];zc(c,82592,53545,b- -64|0);dc(d);break e}oe(d,h+v[a+612>>2]|0,l);if(!c){break f}f=h+B(x[b+78>>1],12)|0;if(y[a+616>>2]>>0){break g}oe(c,f+v[a+612>>2]|0,4)}if(!(w[a+12|0]&128)){break f}Mn(c)}v[e+700>>2]=d;f=x[b+78>>1]}Qb=b+80|0;break d}X(50920,51493,1108,82592);L()}l=f;if(!f){b=v[a+628>>2];c=v[a>>2];v[e+4>>2]=v[a+20>>2];v[e>>2]=c;zc(b,19984,1188,e);break a}v[a+12>>2]=v[a+12>>2]&-65;pD(a);ux(a);v[e+688>>2]=1;Id(a,284,e+688|0);b=v[e+700>>2];h=l;f=h;i:{while(1){if(w[a+12|0]&128){_q(b,2);Kn(b+4|0,2)}if(x[b>>1]==277){if(!Bw(a,b)){break i}u[b>>1]=0}b=b+12|0;c=(f|0)>1;f=f-1|0;if(c){continue}break}j=v[e+700>>2];b=h;c=0;while(1){m=b;d=x[j>>1];j:{if(!d){break j}f=v[a+660>>2];b=f>>>0>c>>>0?c:0;if(d>>>0>2]+(b<<2)>>2]>>2]){b=0;if(!n){c=v[a+628>>2];v[e+672>>2]=v[a>>2];Ld(c,19984,5386,e+672|0);f=v[a+660>>2]}n=1}k:{if(b>>>0>=f>>>0){break k}d=x[j>>1];o=v[a+656>>2];l:{while(1){i=v[o+(b<<2)>>2];c=v[i>>2];if(c>>>0>=d>>>0){break l}b=b+1|0;if((f|0)!=(b|0)){continue}break}c=f;q=1;break j}if((d|0)!=(c|0)){break k}if(!x[i+12>>1]){c=b;u[j>>1]=0;break j}c=b+1|0;g=c>>>0>>0?f:c;k=g-1|0;r=x[j+2>>1];m:{while(1){c=b;b=v[i+8>>2];if((r|0)==(b&65535)|c>>>0>=f>>>0|!b){break m}b=c+1|0;n:{if(f>>>0<=b>>>0){b=g;c=k;break n}i=v[o+(b<<2)>>2];if(v[i>>2]==(d|0)){continue}}break}d=v[a+628>>2];f=v[a>>2];v[e+664>>2]=v[v[o+(c<<2)>>2]+16>>2];v[e+660>>2]=r;v[e+656>>2]=f;Ld(d,19984,10286,e+656|0);c=b;u[j>>1]=0;break j}f=x[i+4>>1];b=f<<16>>16;o:{p:{q:{switch(f-65533|0){case 1:b=x[a+98>>1];break;case 0:case 2:break p;default:break q}}f=v[j+4>>2];if(f>>>0>>0){break o}if(b>>>0>=f>>>0){break p}f=v[a+628>>2];g=v[a>>2];d=v[tf(a,d)+16>>2];k=v[j+4>>2];v[e+648>>2]=b;v[e+644>>2]=k;v[e+640>>2]=d;Ld(f,g,50410,e+640|0);d=x[j>>1]}r:{s:{t:{u:{v:{b=d&65535;switch(b-256|0){case 2:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 18:case 19:case 20:case 21:case 24:case 25:case 26:case 27:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 65:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:break j;case 17:case 23:case 68:case 69:break s;case 3:break t;case 0:case 1:case 22:case 28:case 66:case 67:case 82:break u;default:break v}}if(b-32997>>>0>=2){break j}}if(!Bw(a,j)){break i}break r}if(v[j+4>>2]==1){b=v[j+8>>2];w:{if(x[a+456>>1]==19789){d=x[j+2>>1]<<2;f=d+v[a+468>>2]|0;b=b>>>v[d+v[a+464>>2]>>2]|0;break w}f=v[a+468>>2]+(x[j+2>>1]<<2)|0}b=v[f>>2]&b;v[e+692>>2]=b;v[e+592>>2]=b&65535;if(Id(a,259,e+592|0)){break j}break i}if(x[j+2>>1]==4){if(!EM(a,j,e+692|0)){break i}b=x[j>>1];v[e+608>>2]=x[e+692>>1];if(Id(a,b,e+608|0)){break r}break i}if(!yM(a,j,e+698|0)){break i}b=x[j>>1];v[e+624>>2]=x[e+698>>1];if(Id(a,b,e+624|0)){break r}break i}b=x[i+12>>1];d=(b>>>3&8188)+a|0;v[d+40>>2]=v[d+40>>2]|1<>1]=0;break j}f=v[a+628>>2];g=v[a>>2];d=v[tf(a,d)+16>>2];k=v[j+4>>2];v[e+584>>2]=b;v[e+580>>2]=k;v[e+576>>2]=d;Ld(f,g,49811,e+576|0);u[j>>1]=0;break j}c=b;q=1}j=j+12|0;b=m-1|0;if((m|0)>1){continue}break}if(q){g=v[e+700>>2];f=h;b=0;while(1){m=f;c=x[g>>1];x:{if(!c){break x}f=v[a+660>>2];b=f>>>0>b>>>0&c>>>0>=y[v[v[a+656>>2]+(b<<2)>>2]>>2]?b:0;y:{z:{A:{if(b>>>0>=f>>>0){break A}i=v[a+656>>2];B:{while(1){d=v[v[(b<<2)+i>>2]>>2];if(d>>>0>=c>>>0){break B}b=b+1|0;if((f|0)!=(b|0)){continue}break}b=f;break A}if((d|0)==(c|0)){break z}}d=v[a+628>>2];f=v[a>>2];v[e+568>>2]=c;v[e+564>>2]=c;v[e+560>>2]=f;Ld(d,19984,13559,e+560|0);f=a;j=x[g>>1];i=x[g+2>>1];c=0;k=Qb-16|0;Qb=k;d=jc(20);C:{if(!d){break C}eg(d,0,20);v[d+12>>2]=16842817;v[d+8>>2]=i;v[d+4>>2]=-131075;v[d>>2]=j;i=jc(32);v[d+16>>2]=i;if(!i){dc(d);break C}v[k>>2]=j;zd(i,37878,k);c=d}Qb=k+16|0;D:{if(Kl(f,c,1)){i=v[a+656>>2];f=v[a+660>>2];if(f){break D}f=0;b=0;break z}c=v[a+628>>2];d=x[g>>1];v[e+532>>2]=d;v[e+528>>2]=d;Ld(c,19984,16047,e+528|0);break y}c=x[g>>1];b=0;while(1){if(c>>>0<=y[v[(b<<2)+i>>2]>>2]){break z}b=b+1|0;if((f|0)!=(b|0)){continue}break}b=f}c=v[(b<<2)+i>>2];k=x[g+2>>1];while(1){d=b;b=v[c+8>>2];if((k|0)==(b&65535)){b=d;break x}if(d>>>0>=f>>>0){b=d;break x}if(!b){b=d;break x}b=d+1|0;if(f>>>0>b>>>0){c=v[(b<<2)+i>>2];if(v[c>>2]==x[g>>1]){continue}}break}c=v[a+628>>2];f=v[a>>2];v[e+552>>2]=v[v[(d<<2)+i>>2]+16>>2];v[e+548>>2]=k;v[e+544>>2]=f;Ld(c,19984,10286,e+544|0)}u[g>>1]=0}g=g+12|0;f=m-1|0;if((m|0)>1){continue}break}}E:{if(x[a+88>>1]!=6|x[a+138>>1]!=2){break E}f=0;i=v[e+700>>2];b=i;while(1){if(x[b>>1]!=273){b=b+12|0;f=f+1|0;if(l>>>0>(f&65535)>>>0){continue}break E}break}if(v[b+4>>2]!=1){break E}b=0;while(1){if(x[i>>1]!=279){i=i+12|0;b=b+1|0;if(l>>>0>(b&65535)>>>0){continue}break E}break}if(v[i+4>>2]!=1){break E}u[a+138>>1]=1;Ld(v[a+628>>2],19984,20020,0)}b=v[a+40>>2];if(!(b&2)){b=v[a+628>>2];a=v[a>>2];v[e+20>>2]=22768;v[e+16>>2]=a;zc(b,82576,49052,e+16|0);break i}d=a;F:{if(!(b&4)){b=kO(a);v[a+68>>2]=v[a+56>>2];v[a+72>>2]=v[a+100>>2];v[a+76>>2]=v[a- -64>>2];c=v[a+12>>2]&-1025;break F}b=cO(a);c=v[a+12>>2]|1024}v[d+12>>2]=c;v[a+180>>2]=b;if(!b){b=v[a+628>>2];a=v[a>>2];v[e+36>>2]=c&1024?26628:28245;v[e+32>>2]=a;zc(b,19984,24831,e+32|0);break i}v[a+176>>2]=b;if(x[a+138>>1]==2){v[a+176>>2]=(b>>>0)/x[a+98>>1]}G:{H:{d=v[a+40>>2];if(!(d&33554432)){c=c&1024;if(c|x[a+88>>1]!=6|(b|0)!=1){break H}v[a+40>>2]=d|33554432}i=a+184|0;j=a+188|0;f=v[e+700>>2];I:{while(1){m=h;J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{h=x[f>>1];U:{if(h>>>0<=529){switch(h-255|0){case 1:case 2:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 19:case 20:case 21:case 22:case 23:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 43:case 44:case 45:case 47:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 67:case 68:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 82:case 83:break L;case 0:break N;case 42:case 66:case 81:break P;case 46:case 65:break Q;case 24:case 70:break R;case 18:case 69:break S;case 85:case 86:break T;case 3:case 25:case 26:case 84:break U;default:break M}}V:{switch(h-530|0){case 1:break L;case 2:break O;case 0:break P;default:break V}}if((h|0)!=32996){break L}}if(v[f+4>>2]==1){d=v[f+8>>2];W:{if(x[a+456>>1]==19789){b=x[f+2>>1]<<2;g=b+v[a+468>>2]|0;d=d>>>v[b+v[a+464>>2]>>2]|0;break W}g=v[a+468>>2]+(x[f+2>>1]<<2)|0}b=v[g>>2]&d;v[e+692>>2]=b;v[e+256>>2]=b&65535;if(Id(a,h,e+256|0)){break J}break i}if(!((h|0)!=258|x[f+2>>1]!=4)){if(!EM(a,f,e+692|0)){break i}b=x[f>>1];v[e+272>>2]=x[e+692>>1];if(Id(a,b,e+272|0)){break J}break i}if(!yM(a,f,e+698|0)){break i}b=x[f>>1];v[e+288>>2]=x[e+698>>1];if(Id(a,b,e+288|0)){break J}break i}d=v[f+4>>2];k=x[a+98>>1];if(d>>>0>>0){break I}if(d>>>0>k>>>0){b=v[a+628>>2];c=v[a>>2];d=v[tf(a,h)+16>>2];h=v[f+4>>2];v[e+376>>2]=k;v[e+372>>2]=h;v[e+368>>2]=d;Ld(b,c,50410,e+368|0);d=v[f+4>>2]}b=e+704|0;if(d>>>0>=11){b=kg(a,d,8,56040);if(!b){break i}}X:{Y:{Z:{_:{$:{aa:{ba:{ca:{da:{ea:{d=x[f+2>>1];switch(d-1|0){case 11:break _;case 10:break aa;case 4:case 9:break ba;case 3:case 8:break ca;case 2:case 7:break da;case 0:case 5:break ea;default:break $}}if(!nC(a,f,b)){break Y}h=v[f+4>>2];c=h-1|0;if(x[f+2>>1]==1){if((c|0)<0){break Z}d=c;g=h&3;if(g){while(1){A[(d<<3)+b>>3]=w[b+d|0];d=d-1|0;g=g-1|0;if(g){continue}break}}if(c>>>0<3){break Z}while(1){A[(d<<3)+b>>3]=w[b+d|0];c=d-1|0;A[(c<<3)+b>>3]=w[b+c|0];c=d-2|0;A[(c<<3)+b>>3]=w[b+c|0];c=d-3|0;A[(c<<3)+b>>3]=w[b+c|0];c=(d|0)>3;d=d-4|0;if(c){continue}break}break Z}if((c|0)<0){break Z}d=c;g=h&3;if(g){while(1){A[(d<<3)+b>>3]=t[b+d|0];d=d-1|0;g=g-1|0;if(g){continue}break}}if(c>>>0<3){break Z}while(1){A[(d<<3)+b>>3]=t[b+d|0];c=d-1|0;A[(c<<3)+b>>3]=t[b+c|0];c=d-2|0;A[(c<<3)+b>>3]=t[b+c|0];c=d-3|0;A[(c<<3)+b>>3]=t[b+c|0];c=(d|0)>3;d=d-4|0;if(c){continue}break}break Z}fa:{ga:{ha:{c=v[f+4>>2];if(c>>>0<=2){if(x[a+456>>1]==19789){h=0;ia:{switch(c-1|0){case 0:g=v[f+8>>2]>>>16|0;break ga;case 1:break ia;default:break fa}}d=v[f+8>>2];u[b+2>>1]=d;g=d>>>16|0;break ga}h=0;ja:{switch(c-1|0){case 0:break ha;case 1:break ja;default:break fa}}g=v[f+8>>2];u[b+2>>1]=g>>>16;break ga}if(!jh(a,f,b)){break Y}h=v[f+4>>2];break fa}g=v[f+8>>2]}u[b>>1]=g;h=c}c=h-1|0;if(x[f+2>>1]==3){if((c|0)<0){break Z}d=c;g=h&3;if(g){while(1){A[(d<<3)+b>>3]=x[(d<<1)+b>>1];d=d-1|0;g=g-1|0;if(g){continue}break}}if(c>>>0<3){break Z}while(1){A[(d<<3)+b>>3]=x[(d<<1)+b>>1];c=d-1|0;A[(c<<3)+b>>3]=x[(c<<1)+b>>1];c=d-2|0;A[(c<<3)+b>>3]=x[(c<<1)+b>>1];c=d-3|0;A[(c<<3)+b>>3]=x[(c<<1)+b>>1];c=(d|0)>3;d=d-4|0;if(c){continue}break}break Z}if((c|0)<0){break Z}d=c;g=h&3;if(g){while(1){A[(d<<3)+b>>3]=u[(d<<1)+b>>1];d=d-1|0;g=g-1|0;if(g){continue}break}}if(c>>>0<3){break Z}while(1){A[(d<<3)+b>>3]=u[(d<<1)+b>>1];c=d-1|0;A[(c<<3)+b>>3]=u[(c<<1)+b>>1];c=d-2|0;A[(c<<3)+b>>3]=u[(c<<1)+b>>1];c=d-3|0;A[(c<<3)+b>>3]=u[(c<<1)+b>>1];c=(d|0)>3;d=d-4|0;if(c){continue}break}break Z}ka:{if(v[f+4>>2]==1){v[b>>2]=v[f+8>>2];break ka}if(!jh(a,f,b)){break Y}d=x[f+2>>1]}h=v[f+4>>2];c=h-1|0;if((d&65535)==4){if((c|0)<0){break Z}d=c;g=h&3;if(g){while(1){A[(d<<3)+b>>3]=y[(d<<2)+b>>2];d=d-1|0;g=g-1|0;if(g){continue}break}}if(c>>>0<3){break Z}while(1){A[(d<<3)+b>>3]=y[(d<<2)+b>>2];c=d-1|0;A[(c<<3)+b>>3]=y[(c<<2)+b>>2];c=d-2|0;A[(c<<3)+b>>3]=y[(c<<2)+b>>2];c=d-3|0;A[(c<<3)+b>>3]=y[(c<<2)+b>>2];c=(d|0)>3;d=d-4|0;if(c){continue}break}break Z}if((c|0)<0){break Z}d=c;g=h&3;if(g){while(1){A[(d<<3)+b>>3]=v[(d<<2)+b>>2];d=d-1|0;g=g-1|0;if(g){continue}break}}if(c>>>0<3){break Z}while(1){A[(d<<3)+b>>3]=v[(d<<2)+b>>2];c=d-1|0;A[(c<<3)+b>>3]=v[(c<<2)+b>>2];c=d-2|0;A[(c<<3)+b>>3]=v[(c<<2)+b>>2];c=d-3|0;A[(c<<3)+b>>3]=v[(c<<2)+b>>2];c=(d|0)>3;d=d-4|0;if(c){continue}break}break Z}if(!sM(a,f,b)){break Y}h=v[f+4>>2];c=h-1|0;if((c|0)<0){break Z}d=c;g=h&3;if(g){while(1){A[(d<<3)+b>>3]=z[(d<<2)+b>>2];d=d-1|0;g=g-1|0;if(g){continue}break}}if(c>>>0<3){break Z}while(1){A[(d<<3)+b>>3]=z[(d<<2)+b>>2];c=d-1|0;A[(c<<3)+b>>3]=z[(c<<2)+b>>2];c=d-2|0;A[(c<<3)+b>>3]=z[(c<<2)+b>>2];c=d-3|0;A[(c<<3)+b>>3]=z[(c<<2)+b>>2];c=(d|0)>3;d=d-4|0;if(c){continue}break}break Z}la:{if(v[f+4>>2]==1){z[b>>2]=z[f+8>>2];d=0;h=1;break la}if(!jh(a,f,b)){break Y}h=v[f+4>>2];d=h-1|0;if((d|0)<0){break Z}}while(1){A[(d<<3)+b>>3]=z[(d<<2)+b>>2];c=(d|0)>0;d=d-1|0;if(c){continue}break}break Z}c=v[a+628>>2];h=v[a>>2];s=e,C=v[tf(a,x[f>>1])+16>>2],v[s+340>>2]=C;v[e+336>>2]=d;zc(c,h,56799,e+336|0);break Y}if(!jh(a,f,b)){break Y}h=v[f+4>>2]}d=1;p=A[b>>3];n=0;g=1;c=(h|0)>(k|0)?k:h;if((c|0)<=1){break X}while(1){if(A[(d<<3)+b>>3]==p){g=g+1|0;d=g&65535;if((c|0)>(d|0)){continue}break X}break}c=v[a+628>>2];d=v[a>>2];s=e,C=v[tf(a,x[f>>1])+16>>2],v[s+352>>2]=C;zc(c,d,56434,e+352|0)}n=1;p=0}if((e+704|0)!=(b|0)){dc(b)}if(n){break i}b=x[f>>1];A[e+320>>3]=p;if(Id(a,b,e+320|0)){break J}break i}if(qM(a,f,v[a+180>>2],i)){break J}break i}if(qM(a,f,v[a+180>>2],j)){break J}break i}g=x[a+84>>1];d=1<>2]=d;b=v[f+4>>2];ma:{if((h|0)!=320){c=d;if((b|0)==(d|0)){break ma}}g=3<>>0>b>>>0){break K}c=b;if(g>>>0>=b>>>0){break ma}b=v[a+628>>2];c=v[a>>2];h=v[tf(a,h)+16>>2];k=v[f+4>>2];v[e+424>>2]=g;v[e+420>>2]=k;v[e+416>>2]=h;Ld(b,c,50410,e+416|0);c=v[f+4>>2]}d=d<<1;v[e+692>>2]=d;b=kg(a,c,2,33150);if(!b){break J}if(jh(a,f,b)){if(v[f+4>>2]==1<>1]){v[e+692>>2]=0;d=0}c=x[f>>1];v[e+384>>2]=b;v[e+392>>2]=b+(d<<1);v[e+388>>2]=b+d;Id(a,c,e+384|0)}dc(b);break J}b=v[f+4>>2];if(b>>>0>=3){b=v[a+628>>2];c=v[a>>2];d=v[tf(a,h)+16>>2];v[e+436>>2]=v[f+4>>2];v[e+432>>2]=d;Ld(b,c,55109,e+432|0);break J}na:{switch(x[f+2>>1]-1|0){case 0:case 5:if(!nC(a,f,e+704|0)){break J}b=x[f>>1];v[e+448>>2]=w[e+704|0];v[e+452>>2]=w[e+705|0];Id(a,b,e+448|0);break J;case 2:case 7:break na;default:break J}}oa:{if(x[a+456>>1]==19789){c=0;g=0;pa:{switch(b-1|0){case 0:g=v[f+8>>2]>>>16|0;break oa;case 1:break pa;default:break oa}}c=v[f+8>>2];g=c>>>16|0;break oa}c=0;g=0;qa:{switch(b-1|0){case 0:g=x[f+8>>1];break oa;case 1:break qa;default:break oa}}g=v[f+8>>2];c=g>>>16|0}v[e+468>>2]=c&65535;v[e+464>>2]=g&65535;Id(a,h,e+464|0);break J}if(x[f+2>>1]==5){Bw(a,f);break J}c=kg(a,v[f+4>>2],4,82656);if(!c){break J}ra:{sa:{if(v[f+4>>2]==1){v[c>>2]=v[f+8>>2];break sa}if(!jh(a,f,c)){break ra}}d=kg(a,v[f+4>>2],4,82656);if(!d){break ra}g=v[f+4>>2];ta:{if(!g){break ta}h=g&3;b=0;if(g-1>>>0>=3){n=g&-4;while(1){g=b<<2;z[g+d>>2]=y[c+g>>2];k=g|4;z[k+d>>2]=y[c+k>>2];k=g|8;z[k+d>>2]=y[c+k>>2];g=g|12;z[g+d>>2]=y[c+g>>2];b=b+4|0;n=n-4|0;if(n){continue}break}}if(!h){break ta}while(1){g=b<<2;z[g+d>>2]=y[c+g>>2];b=b+1|0;h=h-1|0;if(h){continue}break}}b=x[f>>1];v[e+480>>2]=d;Id(a,b,e+480|0);dc(d)}dc(c);break J}v[e+692>>2]=0;b=v[f+8>>2];ua:{if(x[a+456>>1]==19789){c=x[f+2>>1]<<2;g=c+v[a+468>>2]|0;b=b>>>v[c+v[a+464>>2]>>2]|0;break ua}g=v[a+468>>2]+(x[f+2>>1]<<2)|0}d=1;va:{switch((v[g>>2]&b)-2|0){case 1:d=2;break;case 0:break va;default:break J}}v[e+496>>2]=d;v[e+692>>2]=d;Id(a,254,e+496|0);break J}if(!h){break J}}Bw(a,f);break J}b=v[a+628>>2];c=v[a>>2];d=v[tf(a,h)+16>>2];h=v[f+4>>2];v[e+408>>2]=g;v[e+404>>2]=h;v[e+400>>2]=d;Ld(b,c,49811,e+400|0)}f=f+12|0;h=m-1|0;if((m|0)>1){continue}break}wa:{if(x[a+88>>1]!=6){break wa}xa:{if(!(t[a+41|0]&1)){Ld(v[a+628>>2],19984,34520,0);v[e+240>>2]=6;if(Id(a,262,e+240|0)){break xa}break i}if(x[a+90>>1]!=2){break xa}u[a+90>>1]=6;Ld(v[a+628>>2],19984,36656,0)}b=v[a+40>>2];if(!(b&64)){Ld(v[a+628>>2],19984,37699,0);v[e+224>>2]=8;if(!Id(a,258,e+224|0)){break i}b=v[a+40>>2]}if(b&65536){break wa}ya:{switch(x[a+90>>1]){case 2:case 6:Ld(v[a+628>>2],19984,38952,0);v[e+192>>2]=3;if(Id(a,277,e+192|0)){break wa}break i;case 0:case 1:break ya;default:break wa}}Ld(v[a+628>>2],19984,40496,0);v[e+208>>2]=1;if(!Id(a,277,e+208|0)){break i}}if(!(w[a+43|0]&4|x[a+90>>1]!=3)){b=v[a+628>>2];a=v[a>>2];v[e+52>>2]=41129;v[e+48>>2]=a;zc(b,82576,49052,e+48|0);break i}b=x[a+88>>1];za:{if((b|0)==6){break za}if(!(t[a+43|0]&1)){Aa:{Ba:{switch(x[a+138>>1]-1|0){case 1:if(v[a+180>>2]==x[a+98>>1]){break Aa}break G;case 0:break Ba;default:break Aa}}if(y[a+180>>2]>1){break G}}b=v[a+628>>2];c=v[a>>2];s=e,C=v[tf(a,279)+16>>2],v[s+132>>2]=C;v[e+128>>2]=c;Ld(b,19984,42910,e+128|0);if((jC(a,v[e+700>>2],l)|0)>=0){break za}break i}Ca:{if(!v[v[i>>2]>>2]|v[a+180>>2]!=1){break Ca}c=v[v[j>>2]>>2];Da:{if(!c){break Da}if((b|0)==1){if(c>>>0>(Ub[v[a+648>>2]](v[a+628>>2])|0)-v[v[a+184>>2]>>2]>>>0){break Da}}if(v[a+8>>2]|x[a+88>>1]!=1){break Ca}if(y[v[a+188>>2]>>2]>=B(Di(a),v[a+60>>2])>>>0){break Ca}}b=v[a+628>>2];c=v[a>>2];s=e,C=v[tf(a,279)+16>>2],v[s+180>>2]=C;v[e+176>>2]=c;Ld(b,19984,43868,e+176|0);if((jC(a,v[e+700>>2],l)|0)>=0){break za}break i}if(x[a+138>>1]!=1|y[a+180>>2]<3|x[a+88>>1]!=1){break za}b=v[j>>2];c=v[b+4>>2];if(!c){break za}b=v[b>>2];if(!b|(b|0)==(c|0)){break za}b=v[a+628>>2];c=v[a>>2];s=e,C=v[tf(a,279)+16>>2],v[s+164>>2]=C;v[e+160>>2]=c;Ld(b,19984,44727,e+160|0);if((jC(a,v[e+700>>2],l)|0)<0){break i}}b=v[e+700>>2];if(b){dc(b);v[e+700>>2]=0}h=v[a+40>>2];if(!(h&524288)){u[a+106>>1]=-1<>1]^-1}c=v[a+180>>2];Ea:{if(c>>>0<2){break Ea}v[a+192>>2]=1;l=v[a+184>>2];f=v[l>>2];b=1;while(1){d=f;f=v[l+(b<<2)>>2];if(d>>>0<=f>>>0){b=b+1|0;if((c|0)!=(b|0)){continue}break Ea}break}v[a+192>>2]=0}if(!(h&128)){v[e+112>>2]=1;Id(a,259,e+112|0);c=v[a+180>>2]}if(!((c|0)!=1|x[a+88>>1]!=1|(v[a+12>>2]&33792)!=32768)){l=0;k=Qb-16|0;Qb=k;m=v[v[a+184>>2]>>2];c=v[v[a+188>>2]>>2];j=1;b=_N(a,1);Fa:{if((b|0)<=8192){if((b|0)<1){break Fa}j=8192/((b&65535)>>>0)|0;b=B(j,b)}if(y[a+100>>2]<=j>>>0|0-b>>>0<=c>>>0){break Fa}f=c-1|0;d=f+b|0;if(d>>>0>>0){break Fa}h=(d>>>0)/(b>>>0)|0;d=kg(a,h,4,57879);f=kg(a,h,4,58252);if(!(!d|!f)){g=h>>>0>1?h:1;o=g&1;if(h>>>0>=2){i=g&-2;while(1){n=l<<2;g=b>>>0>c>>>0?c:b;v[n+d>>2]=g;v[f+n>>2]=m;n=n|4;c=c-g|0;b=c>>>0>>0?c:g;v[n+d>>2]=b;m=g+m|0;v[f+n>>2]=m;c=c-b|0;m=b+m|0;l=l+2|0;i=i-2|0;if(i){continue}break}}if(o){l=l<<2;v[l+d>>2]=b>>>0>c>>>0?c:b;v[f+l>>2]=m}v[a+176>>2]=h;v[a+180>>2]=h;v[k>>2]=j;Id(a,278,k);dc(v[a+188>>2]);dc(v[a+184>>2]);v[a+192>>2]=1;v[a+184>>2]=f;v[a+188>>2]=d;break Fa}if(d){dc(d)}if(!f){break Fa}dc(f)}Qb=k+16|0}v[a+508>>2]=-1;v[a+500>>2]=-1;v[a+504>>2]=-1;v[a+480>>2]=-1;v[a+472>>2]=-1;b=Di(a);v[a+588>>2]=b;if(!b){b=v[a+628>>2];v[e+64>>2]=v[a>>2];zc(b,19984,45433,e- -64|0);g=0;break a}if(w[a+13|0]&4){b=Uk(a);v[a+508>>2]=b;g=1;if(b){break a}b=v[a+628>>2];v[e+96>>2]=v[a>>2];zc(b,19984,46253,e+96|0);g=0;break a}g=1;if(ir(a)){break a}b=v[a+628>>2];v[e+80>>2]=v[a>>2];zc(b,19984,46909,e+80|0);g=0;break a}b=v[a+628>>2];c=v[a>>2];a=v[tf(a,h)+16>>2];d=v[f+4>>2];v[e+312>>2]=k;v[e+308>>2]=d;v[e+304>>2]=a;Ld(b,c,49811,e+304|0);break i}b=v[a+628>>2];a=v[a>>2];v[e+516>>2]=c?29924:31358;v[e+512>>2]=a;zc(b,82576,49052,e+512|0);break i}b=v[a+628>>2];a=v[a>>2];v[e+148>>2]=41820;v[e+144>>2]=a;zc(b,82576,49052,e+144|0)}g=0;a=v[e+700>>2];if(!a){break a}dc(a)}Qb=e+784|0;return g}function dF(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0,C=0;j=Qb-80|0;Qb=j;x=ed(8,8);C=8;while(1){a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{d=b;e=w[d|0];switch(e-123|0){case 1:break p;case 2:break A;case 0:break B;default:break z}}d=w[b+1|0];if((d|0)==123){b=b+2|0;e=a;d=v[e>>2];if((d|0)==2147483647){mh(342310);d=v[a>>2]}Ng(e,d+1|0);d=v[a>>2];v[a>>2]=d+1;t[d+v[a+4>>2]|0]=123;t[v[a+4>>2]+v[a>>2]|0]=0;continue}if((d-48&255)>>>0>9){break y}e=b+2|0;g=(d<<24>>24)-48|0;d=w[b+2|0];if((d-48&255)>>>0<=9){while(1){g=(B(g,10)+(d&255)|0)-48|0;d=w[e+1|0];e=e+1|0;if((d-48&255)>>>0<10){continue}break}}if((d&255)!=58){break y}q=w[e+1|0];m=(q|0)==45;d=m?e+2|0:e+1|0;k=0;i=0;o=0;r=w[(m?2:1)+e|0];e=r;if((e-48&255)>>>0<=9){while(1){i=(B(i,10)+(e&255)|0)-48|0;e=w[d+1|0];b=d+1|0;d=b;if((e-48&255)>>>0<10){continue}break}o=(i|0)>0?i:0;d=b}C:{if((e&255)!=46){break C}e=w[d+1|0];i=d+1|0;d=i;if((e-48&255)>>>0>9){break C}while(1){k=(B(k,10)+(e&255)|0)-48|0;e=w[i+1|0];d=i+1|0;i=d;if((e-48&255)>>>0<10){continue}break}}p=(q|0)!=45;i=0;e=292677;while(1){b=Bc(e);if(Oc(d,e,b)){i=i+1|0;e=v[(i<<2)+890368>>2];if((i|0)!=30){continue}break y}break}d=b+d|0;if(w[d|0]!=125|(g|0)>(y|0)){break y}if((g|0)==(y|0)){if((y|0)==(C|0)){C=C<<1;x=pd(x,C,8)}D:{E:{F:{switch(i|0){case 0:case 1:case 2:case 3:case 29:v[(y<<3)+x>>2]=v[c>>2];break E;case 4:case 5:case 6:case 7:v[(y<<3)+x>>2]=v[c>>2];break E;case 8:case 9:case 10:case 11:v[(y<<3)+x>>2]=v[c>>2];break E;case 12:case 13:case 14:case 15:v[(y<<3)+x>>2]=v[c>>2];break E;case 16:case 17:case 18:case 19:b=c+7&-8;c=v[b+4>>2];e=(y<<3)+x|0;v[e>>2]=v[b>>2];v[e+4>>2]=c;c=b+8|0;break D;case 20:case 21:case 22:case 23:b=c+7&-8;c=v[b+4>>2];e=(y<<3)+x|0;v[e>>2]=v[b>>2];v[e+4>>2]=c;c=b+8|0;break D;case 24:case 25:b=c+7&-8;A[(y<<3)+x>>3]=A[b>>3];c=b+8|0;break D;case 26:t[(y<<3)+x|0]=v[c>>2];break E;case 27:v[(y<<3)+x>>2]=v[c>>2];break E;case 28:break F;default:break D}}v[(y<<3)+x>>2]=v[c>>2]}c=c+4|0}y=y+1|0}b=d+1|0;d=(g<<3)+x|0;g=v[d+4>>2];e=v[d>>2];G:{switch(i|0){case 0:d=e>>31;f=d;p=d>>>31|0;d=65;i=f;f=f>>31;h=f;f=f+e|0;g=h;h=g+i|0;h=f>>>0>>0?h+1|0:h;f=f^g;h=g^h;g=h;H:{if(!(f|g)){t[j+64|0]=48;d=64;break H}while(1){i=Cib(f,g,10,0);h=Tb;m=h;k=Bib(i,h,10,0);d=d-1|0;t[j+d|0]=w[(f-k|0)+890496|0];if(d>>>0<=p>>>0){break H}h=g;g=f+9|0;h=g>>>0<9?h+1|0:h;k=g;f=i;g=m;if(!h&k>>>0>18|h){continue}break}}I:{if((r|0)!=48|(d|0)<=(p|0)){break I}g=65-d|0;f=o-p|0;if((g|0)>=(f|0)){break I}while(1){d=d-1|0;t[j+d|0]=48;if((d|0)<=(p|0)){break I}g=g+1|0;if((f|0)>(g|0)){continue}break}}if((e|0)<=-1){d=d-1|0;t[j+d|0]=45}f=65-d|0;h=d+j|0;if((q|0)==45){break e}break d;case 1:d=e>>31;f=d;k=d>>>31|0;d=65;h=f;f=f>>31;g=f;f=f+e|0;h=g+h|0;h=f>>>0>>0?h+1|0:h;f=f^g;h=g^h;g=h;J:{if(!(f|g)){t[j+64|0]=48;d=64;break J}while(1){i=Cib(f,g,16,0);p=Tb;d=d-1|0;t[j+d|0]=w[(f-(i<<4)|0)+890496|0];if(d>>>0<=k>>>0){break J}h=g;g=f+15|0;h=g>>>0<15?h+1|0:h;m=g;f=i;g=p;if(!h&m>>>0>30|h){continue}break}}K:{if((r|0)!=48|(d|0)<=(k|0)){break K}g=65-d|0;f=o-k|0;if((g|0)>=(f|0)){break K}while(1){d=d-1|0;t[j+d|0]=48;if((d|0)<=(k|0)){break K}g=g+1|0;if((f|0)>(g|0)){continue}break}}if((e|0)<=-1){d=d-1|0;t[j+d|0]=45}f=65-d|0;h=d+j|0;if((q|0)==45){break e}break d;case 2:d=e>>31;f=d;k=d>>>31|0;d=65;i=f;f=f>>31;h=f;f=f+e|0;g=h;h=g+i|0;h=f>>>0>>0?h+1|0:h;f=f^g;h=g^h;g=h;L:{if(!(f|g)){t[j+64|0]=48;d=64;break L}while(1){i=Cib(f,g,8,0);p=Tb;d=d-1|0;t[j+d|0]=w[(f-(i<<3)|0)+890496|0];if(d>>>0<=k>>>0){break L}h=g;g=f+7|0;h=g>>>0<7?h+1|0:h;m=g;f=i;g=p;if(!h&m>>>0>14|h){continue}break}}M:{if((r|0)!=48|(d|0)<=(k|0)){break M}g=65-d|0;f=o-k|0;if((g|0)>=(f|0)){break M}while(1){d=d-1|0;t[j+d|0]=48;if((d|0)<=(k|0)){break M}g=g+1|0;if((f|0)>(g|0)){continue}break}}if((e|0)<=-1){d=d-1|0;t[j+d|0]=45}f=65-d|0;h=d+j|0;if((q|0)==45){break e}break d;case 3:d=e>>31;f=d;k=d>>>31|0;d=65;h=f;f=f>>31;g=f;f=f+e|0;h=g+h|0;h=f>>>0>>0?h+1|0:h;f=f^g;h=g^h;g=h;N:{if(!(f|g)){t[j+64|0]=48;d=64;break N}while(1){i=Cib(f,g,2,0);p=Tb;d=d-1|0;t[j+d|0]=w[(f-(i<<1)|0)+890496|0];if(d>>>0<=k>>>0){break N}h=g;g=f+1|0;h=g>>>0<1?h+1|0:h;m=g;f=i;g=p;if(!h&m>>>0>2|h){continue}break}}O:{if((r|0)!=48|(d|0)<=(k|0)){break O}g=65-d|0;f=o-k|0;if((g|0)>=(f|0)){break O}while(1){d=d-1|0;t[j+d|0]=48;if((d|0)<=(k|0)){break O}g=g+1|0;if((f|0)>(g|0)){continue}break}}if((e|0)<=-1){d=d-1|0;t[j+d|0]=45}f=65-d|0;h=d+j|0;if((q|0)==45){break e}break d;case 4:if(!e){break x}f=e;g=0;e=65;while(1){h=Dib(f,g,10,0);m=Tb;i=m;p=Bib(h,i,10,0);d=e-1|0;t[j+d|0]=w[(f-p|0)+890496|0];if(e>>>0<2){break f}m=!g&f>>>0>9|(g|0)!=0;e=d;f=h;g=i;if(m){continue}break};break f;case 5:if(!e){break w}f=e;g=0;e=65;while(1){d=e-1|0;t[j+d|0]=w[(f&15)+890496|0];if((e|0)<2){break g}i=!g&f>>>0>15|(g|0)!=0;e=d;f=(g&15)<<28|f>>>4;g=g>>>4|0;if(i){continue}break};break g;case 6:if(!e){break v}f=e;g=0;e=65;while(1){d=e-1|0;t[j+d|0]=w[(f&7)+890496|0];if((e|0)<2){break h}i=!g&f>>>0>7|(g|0)!=0;e=d;f=(g&7)<<29|f>>>3;g=g>>>3|0;if(i){continue}break};break h;case 7:if(!e){break u}f=e;g=0;e=65;while(1){d=e-1|0;t[j+d|0]=w[(f&1)+890496|0];if((e|0)<2){break i}i=!g&f>>>0>1|(g|0)!=0;e=d;f=(g&1)<<31|f>>>1;g=g>>>1|0;if(i){continue}break};break i;case 8:d=e>>31;f=d;p=d>>>31|0;d=65;h=f;f=f>>31;g=f;f=f+e|0;h=g+h|0;h=f>>>0>>0?h+1|0:h;f=f^g;h=g^h;g=h;P:{if(!(f|g)){t[j+64|0]=48;d=64;break P}while(1){i=Cib(f,g,10,0);h=Tb;m=h;k=Bib(i,h,10,0);d=d-1|0;t[j+d|0]=w[(f-k|0)+890496|0];if(d>>>0<=p>>>0){break P}h=g;g=f+9|0;h=g>>>0<9?h+1|0:h;k=g;f=i;g=m;if(!h&k>>>0>18|h){continue}break}}Q:{if((r|0)!=48|(d|0)<=(p|0)){break Q}g=65-d|0;f=o-p|0;if((g|0)>=(f|0)){break Q}while(1){d=d-1|0;t[j+d|0]=48;if((d|0)<=(p|0)){break Q}g=g+1|0;if((f|0)>(g|0)){continue}break}}if((e|0)<=-1){d=d-1|0;t[j+d|0]=45}f=65-d|0;h=d+j|0;if((q|0)==45){break e}break d;case 9:d=e>>31;f=d;k=d>>>31|0;d=65;i=f;f=f>>31;h=f;f=f+e|0;g=h+i|0;g=f>>>0>>0?g+1|0:g;f=f^h;h=g^h;g=h;R:{if(!(f|g)){t[j+64|0]=48;d=64;break R}while(1){i=Cib(f,g,16,0);p=Tb;d=d-1|0;t[j+d|0]=w[(f-(i<<4)|0)+890496|0];if(d>>>0<=k>>>0){break R}h=g;g=f+15|0;h=g>>>0<15?h+1|0:h;m=g;f=i;g=p;if(!h&m>>>0>30|h){continue}break}}S:{if((r|0)!=48|(d|0)<=(k|0)){break S}g=65-d|0;f=o-k|0;if((g|0)>=(f|0)){break S}while(1){d=d-1|0;t[j+d|0]=48;if((d|0)<=(k|0)){break S}g=g+1|0;if((f|0)>(g|0)){continue}break}}if((e|0)<=-1){d=d-1|0;t[j+d|0]=45}f=65-d|0;h=d+j|0;if((q|0)==45){break e}break d;case 10:d=e>>31;f=d;k=d>>>31|0;d=65;i=f;f=f>>31;h=f;f=f+e|0;g=h+i|0;g=f>>>0>>0?g+1|0:g;f=f^h;h=g^h;g=h;T:{if(!(f|g)){t[j+64|0]=48;d=64;break T}while(1){i=Cib(f,g,8,0);p=Tb;d=d-1|0;t[j+d|0]=w[(f-(i<<3)|0)+890496|0];if(d>>>0<=k>>>0){break T}h=g;g=f+7|0;h=g>>>0<7?h+1|0:h;m=g;f=i;g=p;if(!h&m>>>0>14|h){continue}break}}U:{if((r|0)!=48|(d|0)<=(k|0)){break U}g=65-d|0;f=o-k|0;if((g|0)>=(f|0)){break U}while(1){d=d-1|0;t[j+d|0]=48;if((d|0)<=(k|0)){break U}g=g+1|0;if((f|0)>(g|0)){continue}break}}if((e|0)<=-1){d=d-1|0;t[j+d|0]=45}f=65-d|0;h=d+j|0;if((q|0)==45){break e}break d;case 11:d=e>>31;f=d;k=d>>>31|0;d=65;i=f;f=f>>31;h=f;f=f+e|0;g=h+i|0;g=f>>>0>>0?g+1|0:g;f=f^h;h=g^h;g=h;V:{if(!(f|g)){t[j+64|0]=48;d=64;break V}while(1){i=Cib(f,g,2,0);p=Tb;d=d-1|0;t[j+d|0]=w[(f-(i<<1)|0)+890496|0];if(d>>>0<=k>>>0){break V}h=g;g=f+1|0;h=g>>>0<1?h+1|0:h;m=g;f=i;g=p;if(!h&m>>>0>2|h){continue}break}}W:{if((r|0)!=48|(d|0)<=(k|0)){break W}g=65-d|0;f=o-k|0;if((g|0)>=(f|0)){break W}while(1){d=d-1|0;t[j+d|0]=48;if((d|0)<=(k|0)){break W}g=g+1|0;if((f|0)>(g|0)){continue}break}}if((e|0)<=-1){d=d-1|0;t[j+d|0]=45}f=65-d|0;h=d+j|0;if((q|0)==45){break e}break d;case 12:if(!e){break t}f=e;g=0;e=65;while(1){h=Dib(f,g,10,0);m=Tb;i=m;p=Bib(h,i,10,0);d=e-1|0;t[j+d|0]=w[(f-p|0)+890496|0];if(e>>>0<2){break j}m=!g&f>>>0>9|(g|0)!=0;e=d;f=h;g=i;if(m){continue}break};break j;case 13:if(!e){break s}f=e;g=0;e=65;while(1){d=e-1|0;t[j+d|0]=w[(f&15)+890496|0];if((e|0)<2){break k}i=!g&f>>>0>15|(g|0)!=0;e=d;f=(g&15)<<28|f>>>4;g=g>>>4|0;if(i){continue}break};break k;case 14:if(!e){break r}f=e;g=0;e=65;while(1){d=e-1|0;t[j+d|0]=w[(f&7)+890496|0];if((e|0)<2){break l}i=!g&f>>>0>7|(g|0)!=0;e=d;f=(g&7)<<29|f>>>3;g=g>>>3|0;if(i){continue}break};break l;case 15:if(!e){break q}f=e;g=0;e=65;while(1){d=e-1|0;t[j+d|0]=w[(f&1)+890496|0];if((e|0)<2){break m}i=!g&f>>>0>1|(g|0)!=0;e=d;f=(g&1)<<31|f>>>1;g=g>>>1|0;if(i){continue}break};break m;case 16:p=g>>>31|0;d=65;i=g;m=e;e=g;f=e>>31;h=f;f=m+f|0;e=h;h=g+e|0;h=f>>>0>>0?h+1|0:h;f=f^e;e=e^h;g=e;X:{if(!(e|f)){t[j+64|0]=48;d=64;break X}while(1){e=Cib(f,g,10,0);h=Tb;m=h;k=Bib(e,h,10,0);d=d-1|0;t[j+d|0]=w[(f-k|0)+890496|0];if(d>>>0<=p>>>0){break X}h=g;g=f+9|0;h=g>>>0<9?h+1|0:h;k=g;f=e;g=m;if(!h&k>>>0>18|h){continue}break}}Y:{if((r|0)!=48|(d|0)<=(p|0)){break Y}e=65-d|0;g=o-p|0;if((e|0)>=(g|0)){break Y}while(1){d=d-1|0;t[j+d|0]=48;if((d|0)<=(p|0)){break Y}e=e+1|0;if((g|0)>(e|0)){continue}break}}if((i|0)<-1|(i|0)<=-1){d=d-1|0;t[j+d|0]=45}f=65-d|0;h=d+j|0;if((q|0)==45){break e}break d;case 17:k=g>>>31|0;d=65;h=g;f=e;i=g;e=g>>31;f=e+f|0;h=e+h|0;h=f>>>0>>0?h+1|0:h;f=f^e;e=e^h;g=e;Z:{if(!(e|f)){t[j+64|0]=48;d=64;break Z}while(1){e=Cib(f,g,16,0);p=Tb;d=d-1|0;t[j+d|0]=w[(f-(e<<4)|0)+890496|0];if(d>>>0<=k>>>0){break Z}h=g;g=f+15|0;h=g>>>0<15?h+1|0:h;m=g;f=e;g=p;if(!h&m>>>0>30|h){continue}break}}_:{if((r|0)!=48|(d|0)<=(k|0)){break _}e=65-d|0;g=o-k|0;if((e|0)>=(g|0)){break _}while(1){d=d-1|0;t[j+d|0]=48;if((d|0)<=(k|0)){break _}e=e+1|0;if((g|0)>(e|0)){continue}break}}if((i|0)<-1|(i|0)<=-1){d=d-1|0;t[j+d|0]=45}f=65-d|0;h=d+j|0;if((q|0)==45){break e}break d;case 18:k=g>>>31|0;d=65;i=g;m=e;e=g;f=e>>31;h=f;f=m+f|0;e=h;h=g+e|0;h=f>>>0>>0?h+1|0:h;f=f^e;e=e^h;g=e;$:{if(!(e|f)){t[j+64|0]=48;d=64;break $}while(1){e=Cib(f,g,8,0);p=Tb;d=d-1|0;t[j+d|0]=w[(f-(e<<3)|0)+890496|0];if(d>>>0<=k>>>0){break $}h=g;g=f+7|0;h=g>>>0<7?h+1|0:h;m=g;f=e;g=p;if(!h&m>>>0>14|h){continue}break}}aa:{if((r|0)!=48|(d|0)<=(k|0)){break aa}e=65-d|0;g=o-k|0;if((e|0)>=(g|0)){break aa}while(1){d=d-1|0;t[j+d|0]=48;if((d|0)<=(k|0)){break aa}e=e+1|0;if((g|0)>(e|0)){continue}break}}if((i|0)<-1|(i|0)<=-1){d=d-1|0;t[j+d|0]=45}f=65-d|0;h=d+j|0;if((q|0)==45){break e}break d;case 19:k=g>>>31|0;d=65;i=g;m=e;e=g;f=e>>31;h=f;f=m+f|0;e=h;h=g+e|0;h=f>>>0>>0?h+1|0:h;f=f^e;e=e^h;g=e;ba:{if(!(e|f)){t[j+64|0]=48;d=64;break ba}while(1){e=Cib(f,g,2,0);p=Tb;d=d-1|0;t[j+d|0]=w[(f-(e<<1)|0)+890496|0];if(d>>>0<=k>>>0){break ba}h=g;g=f+1|0;h=g>>>0<1?h+1|0:h;m=g;f=e;g=p;if(!h&m>>>0>2|h){continue}break}}ca:{if((r|0)!=48|(d|0)<=(k|0)){break ca}e=65-d|0;g=o-k|0;if((e|0)>=(g|0)){break ca}while(1){d=d-1|0;t[j+d|0]=48;if((d|0)<=(k|0)){break ca}e=e+1|0;if((g|0)>(e|0)){continue}break}}if((i|0)<-1|(i|0)<=-1){d=d-1|0;t[j+d|0]=45}f=65-d|0;h=d+j|0;if((q|0)==45){break e}break d;case 20:i=65;f=e;da:{if(!(g|e)){t[j+64|0]=48;d=64;break da}while(1){e=Dib(f,g,10,0);m=Tb;h=m;p=Bib(e,h,10,0);d=i-1|0;t[j+d|0]=w[(f-p|0)+890496|0];if(i>>>0<2){break da}m=!g&f>>>0>9|(g|0)!=0;i=d;f=e;g=h;if(m){continue}break}}ea:{if((r|0)!=48){e=d;break ea}if((d|0)<1){e=d;break ea}e=d;i=65-d|0;if((o|0)<=(i|0)){break ea}while(1){e=d-1|0;t[j+e|0]=48;if((d|0)<2){break ea}d=e;i=i+1|0;if(o>>>0>i>>>0){continue}break}}f=65-e|0;h=e+j|0;if((q|0)==45){break e}break d;case 21:i=65;f=e;fa:{if(!(g|e)){t[j+64|0]=48;d=64;break fa}while(1){d=i-1|0;t[j+d|0]=w[(f&15)+890496|0];if((i|0)<2){break fa}e=!g&f>>>0>15|(g|0)!=0;i=d;f=(g&15)<<28|f>>>4;g=g>>>4|0;if(e){continue}break}}ga:{if((r|0)!=48){e=d;break ga}if((d|0)<1){e=d;break ga}e=d;i=65-d|0;if((o|0)<=(i|0)){break ga}while(1){e=d-1|0;t[j+e|0]=48;if((d|0)<2){break ga}d=e;i=i+1|0;if((o|0)>(i|0)){continue}break}}f=65-e|0;h=e+j|0;if((q|0)==45){break e}break d;case 22:i=65;f=e;ha:{if(!(g|e)){t[j+64|0]=48;d=64;break ha}while(1){d=i-1|0;t[j+d|0]=w[(f&7)+890496|0];if((i|0)<2){break ha}e=!g&f>>>0>7|(g|0)!=0;i=d;f=(g&7)<<29|f>>>3;g=g>>>3|0;if(e){continue}break}}ia:{if((r|0)!=48){e=d;break ia}if((d|0)<1){e=d;break ia}e=d;i=65-d|0;if((o|0)<=(i|0)){break ia}while(1){e=d-1|0;t[j+e|0]=48;if((d|0)<2){break ia}d=e;i=i+1|0;if((o|0)>(i|0)){continue}break}}f=65-e|0;h=e+j|0;if((q|0)==45){break e}break d;case 23:i=65;f=e;ja:{if(!(g|e)){t[j+64|0]=48;d=64;break ja}while(1){d=i-1|0;t[j+d|0]=w[(f&1)+890496|0];if((i|0)<2){break ja}h=!g&f>>>0>1|(g|0)!=0;i=d;e=g;g=e>>>1|0;f=(e&1)<<31|f>>>1;if(h){continue}break}}ka:{if((r|0)!=48){e=d;break ka}if((d|0)<1){e=d;break ka}e=d;i=65-d|0;if((o|0)<=(i|0)){break ka}while(1){e=d-1|0;t[j+e|0]=48;if((d|0)<2){break ka}d=e;i=i+1|0;if((o|0)>(i|0)){continue}break}}f=65-e|0;h=e+j|0;if((q|0)==45){break e}break d;case 24:i=65;f=0;u=de(10,+(k|0));l(0,e|0);l(1,g|0);z=+n();s=H(u*(z<0?-z:z)+.5);u=s;la:{if((k|0)>=1){while(1){e=i;i=e-1|0;d=i+j|0;u=H((s+.5)*.1);s=H(s+u*-10+.5);ma:{if(D(s)<2147483648){g=~~s;break ma}g=-2147483648}t[d|0]=g+48;d=1;f=f+1|0;if((k|0)>(f|0)){s=u;if((e|0)>2){continue}}break}if((e|0)<3){break la}}d=i-1|0;t[j+d|0]=46}e=d;na:{if((d|0)<2){break na}while(1){e=d-1|0;f=j+e|0;s=u;u=H((u+.5)*.1);s=H(s+u*-10+.5);oa:{if(D(s)<2147483648){g=~~s;break oa}g=-2147483648}t[f|0]=g+48;if((d|0)<3){break na}d=e;if(u!=0){continue}break}}if(z<0){e=e-1|0;t[j+e|0]=45}f=65-e|0;h=e+j|0;if((q|0)==45){break e}break d;case 25:d=65;i=0;f=0;u=de(10,+(k|0));l(0,e|0);l(1,g|0);z=+n();s=H(u*(z<0?-z:z)+.5);u=s;pa:{if((k|0)>=1){while(1){u=H((s+.5)*.1);s=H(s+u*-10+.5);qa:{if(D(s)<2147483648){e=~~s;break qa}e=-2147483648}g=e|f;if(g){d=d-1|0;t[j+d|0]=e+48;f=1}else{f=0}i=i+1|0;if((k|0)>(i|0)){s=u;if((d|0)>1){continue}}break}if((g|0)!=0&(d|0)>1){d=d-1|0;t[j+d|0]=46}if((d|0)<2){break pa}}e=d;while(1){d=e-1|0;f=j+d|0;s=u;u=H((u+.5)*.1);s=H(s+u*-10+.5);ra:{if(D(s)<2147483648){g=~~s;break ra}g=-2147483648}t[f|0]=g+48;if((e|0)<3){break pa}e=d;if(u!=0){continue}break}}if(z<0){d=d-1|0;t[j+d|0]=45}f=65-d|0;h=d+j|0;if((q|0)==45){break e}break d;case 26:t[j|0]=e;f=1;h=j;if((q|0)==45){break d}break c;case 27:if(!e){break o}f=Bc(e);if((q|0)!=45){h=e;break e}h=e;break d;case 28:if(!e){break o}f=v[e>>2];h=v[e+4>>2];if((q|0)!=45){break e}break d;case 29:break G;default:break n}}f=0;h=j;o=e;if((q|0)==45){break c}break d}b=w[b+1|0]==125?b+2|0:b+1|0;e=a;d=v[e>>2];if((d|0)==2147483647){mh(342310);d=v[a>>2]}Ng(e,d+1|0);d=v[a>>2];v[a>>2]=d+1;t[d+v[a+4>>2]|0]=125;t[v[a+4>>2]+v[a>>2]|0]=0;continue}if(e){break p}}uc(x);Qb=j+80|0;return a}t[j+64|0]=48;d=64;break f}t[j+64|0]=48;d=64;break g}t[j+64|0]=48;d=64;break h}t[j+64|0]=48;d=64;break i}t[j+64|0]=48;d=64;break j}t[j+64|0]=48;d=64;break k}t[j+64|0]=48;d=64;break l}t[j+64|0]=48;d=64;break m}while(1){sa:{e=w[d+1|0];g=d+1|0;d=g;ta:{switch(e-123|0){case 1:continue;case 0:case 2:break sa;default:break ta}}d=g;if(e){continue}}break}d=g-b|0;ua:{if((d|0)>=0){e=v[a>>2];if((e|0)<=(2147483647-d|0)){break ua}}mh(342310);e=v[a>>2]}Ng(a,d+e|0);gc(v[a+4>>2]+v[a>>2]|0,b,d);d=d+v[a>>2]|0;v[a>>2]=d;b=g;t[d+v[a+4>>2]|0]=0;continue}h=339731;f=6;m=p}if(m){break e}break d}va:{if((r|0)!=48){e=d;break va}if((d|0)<1){e=d;break va}e=d;i=65-d|0;if((o|0)<=(i|0)){break va}while(1){e=d-1|0;t[j+e|0]=48;if((d|0)<2){break va}d=e;i=i+1|0;if((o|0)>(i|0)){continue}break}}f=65-e|0;h=e+j|0;if((q|0)==45){break e}break d}wa:{if((r|0)!=48){e=d;break wa}if((d|0)<1){e=d;break wa}e=d;i=65-d|0;if((o|0)<=(i|0)){break wa}while(1){e=d-1|0;t[j+e|0]=48;if((d|0)<2){break wa}d=e;i=i+1|0;if((o|0)>(i|0)){continue}break}}f=65-e|0;h=e+j|0;if((q|0)==45){break e}break d}xa:{if((r|0)!=48){e=d;break xa}if((d|0)<1){e=d;break xa}e=d;i=65-d|0;if((o|0)<=(i|0)){break xa}while(1){e=d-1|0;t[j+e|0]=48;if((d|0)<2){break xa}d=e;i=i+1|0;if((o|0)>(i|0)){continue}break}}f=65-e|0;h=e+j|0;if((q|0)==45){break e}break d}ya:{if((r|0)!=48){e=d;break ya}if((d|0)<1){e=d;break ya}e=d;i=65-d|0;if((o|0)<=(i|0)){break ya}while(1){e=d-1|0;t[j+e|0]=48;if((d|0)<2){break ya}d=e;i=i+1|0;if(o>>>0>i>>>0){continue}break}}f=65-e|0;h=e+j|0;if((q|0)==45){break e}break d}za:{if((r|0)!=48){e=d;break za}if((d|0)<1){e=d;break za}e=d;i=65-d|0;if((o|0)<=(i|0)){break za}while(1){e=d-1|0;t[j+e|0]=48;if((d|0)<2){break za}d=e;i=i+1|0;if((o|0)>(i|0)){continue}break}}f=65-e|0;h=e+j|0;if((q|0)==45){break e}break d}Aa:{if((r|0)!=48){e=d;break Aa}if((d|0)<1){e=d;break Aa}e=d;i=65-d|0;if((o|0)<=(i|0)){break Aa}while(1){e=d-1|0;t[j+e|0]=48;if((d|0)<2){break Aa}d=e;i=i+1|0;if((o|0)>(i|0)){continue}break}}f=65-e|0;h=e+j|0;if((q|0)==45){break e}break d}Ba:{if((r|0)!=48){e=d;break Ba}if((d|0)<1){e=d;break Ba}e=d;i=65-d|0;if((o|0)<=(i|0)){break Ba}while(1){e=d-1|0;t[j+e|0]=48;if((d|0)<2){break Ba}d=e;i=i+1|0;if((o|0)>(i|0)){continue}break}}f=65-e|0;h=e+j|0;if((q|0)==45){break e}break d}Ca:{if((r|0)!=48){e=d;break Ca}if((d|0)<1){e=d;break Ca}e=d;i=65-d|0;if((o|0)<=(i|0)){break Ca}while(1){e=d-1|0;t[j+e|0]=48;if((d|0)<2){break Ca}d=e;i=i+1|0;if(o>>>0>i>>>0){continue}break}}f=65-e|0;h=e+j|0;if((q|0)!=45){break d}}if((f|0)>=0){break c}break b}e=f;if((o|0)>(e|0)){while(1){g=a;d=v[g>>2];if((d|0)==2147483647){mh(342310);d=v[a>>2]}Ng(g,d+1|0);d=v[a>>2];v[a>>2]=d+1;t[d+v[a+4>>2]|0]=32;t[v[a+4>>2]+v[a>>2]|0]=0;e=e+1|0;if((o|0)!=(e|0)){continue}break}}Da:{if((f|0)>=0){d=v[a>>2];if((d|0)<=(2147483647-f|0)){break Da}}mh(342310);d=v[a>>2]}Ng(a,d+f|0);gc(v[a+4>>2]+v[a>>2]|0,h,f);d=v[a>>2]+f|0;v[a>>2]=d;t[d+v[a+4>>2]|0]=0;continue}d=v[a>>2];if((d|0)<=(2147483647-f|0)){break a}}mh(342310);d=v[a>>2]}Ng(a,d+f|0);gc(v[a+4>>2]+v[a>>2]|0,h,f);d=v[a>>2]+f|0;v[a>>2]=d;t[d+v[a+4>>2]|0]=0;e=f;if((o|0)<=(e|0)){continue}while(1){g=a;d=v[g>>2];if((d|0)==2147483647){mh(342310);d=v[a>>2]}Ng(g,d+1|0);d=v[a>>2];v[a>>2]=d+1;t[d+v[a+4>>2]|0]=32;t[v[a+4>>2]+v[a>>2]|0]=0;e=e+1|0;if((o|0)!=(e|0)){continue}break}continue}}function V3a(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,n=0,o=0,p=0,q=0,r=0,s=0,z=0,A=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;z=Qb-16|0;Qb=z;f=11;g=v[v[b+96>>2]+4>>2];p=sm(g,228552);a:{if(!p){break a}H=Qj(v[b+96>>2],235201,1);K=sm(g,239287);k=sm(g,220369);if(!k){break a}v[b+556>>2]=k;L=Qj(v[b+96>>2],292236,1);f=Yc(a,0);if(f){break a}I=Ub[v[p+4>>2]](a,b,c,d,e)|0;b:{if(!I){f=2;if(v[b+148>>2]!=1330926671){break a}f=0;if((c|0)<0){break a}c:{if(!(Ub[v[b+516>>2]](b,1751474532,a,0)|0)){f=Ub[v[p+8>>2]](a,b,c,d,e)|0;if(!f){break c}break a}f=Ub[v[p+32>>2]](b,a)|0;if(f){break a}D=1}f=Ub[v[b+516>>2]](b,1128678962,a,0)|0;v[z+12>>2]=f;if(!f){d=1;t[b+732|0]=1;break b}if((f&255)!=142){break a}d=0;f=Ub[v[b+516>>2]](b,1128678944,a,0)|0;v[z+12>>2]=f;if(!f){break b}break a}d=0;f=Yc(a,0);if(f){break a}v[z+12>>2]=0;D=1}G=v[b+100>>2];k=Fd(G,3136,z+12|0);f=v[z+12>>2];if(f){break a}v[b+712>>2]=k;p=b;h=Qb-80|0;Qb=h;m=v[a+28>>2];j=ic(k,0,3136);v[h+72>>2]=0;b=h- -64|0;v[b>>2]=0;v[b+4>>2]=0;v[h+56>>2]=0;v[h+60>>2]=0;v[h+48>>2]=0;v[h+52>>2]=0;v[h+40>>2]=0;v[h+44>>2]=0;e=v[a+8>>2];t[j+32|0]=d;v[j+8>>2]=m;v[j+4>>2]=a;v[j>>2]=g;v[j+12>>2]=e;b=me(a,379088,j);v[h+76>>2]=b;d:{if(b){break d}e:{if(d){if(!(w[j+24|0]==2&w[j+26|0]>4)){v[h+76>>2]=2;break d}N=j,O=Ed(a,h+76|0),v[N+28>>2]=O;if(v[h+76>>2]){break d}f=w[j+26|0];break e}b=dg(a,h+76|0);if(v[h+76>>2]){break d}f:{if(w[j+24|0]!=1){break f}f=w[j+26|0];if(f>>>0<4){break f}if((b&255)>>>0<5){break e}}v[h+76>>2]=2;break d}b=Yc(a,e+(f&255)|0);v[h+76>>2]=b;if(b){if(!D){break d}v[h+76>>2]=2;break d}g:{if(d){v[j+1240>>2]=0;v[j+1244>>2]=0;v[j+1272>>2]=0;b=j+1264|0;v[b>>2]=0;v[b+4>>2]=0;f=j+1256|0;v[f>>2]=0;v[f+4>>2]=0;f=j+1248|0;v[f>>2]=0;v[f+4>>2]=0;v[j+1260>>2]=v[a+8>>2];f=b;b=v[j+28>>2];v[f>>2]=b;b=Bf(a,b);v[h+76>>2]=b;if(b){break d}b=Go(j+108|0,a,1,1);v[h+76>>2]=b;if(b){break d}break g}b=Go(j+36|0,a,0,0);v[h+76>>2]=b;if(b){if(!D){break d}v[h+76>>2]=2;break d}b=v[j+48>>2];if(!(b>>>0<2|b>>>0<=y[j+60>>2])){v[h+76>>2]=D?2:3;break d}b=Go(j+1240|0,a,0,0);v[h+76>>2]=b;if(b){break d}b=Go(h+40|0,a,1,0);v[h+76>>2]=b;if(b){break d}b=Go(j+108|0,a,1,0);v[h+76>>2]=b;if(b){break d}b=bI(h+40|0,j+1360|0,j+1364|0,j+1368|0);v[h+76>>2]=b;if(b){break d}if(y[j+48>>2]<=y[j+1252>>2]){break g}v[h+76>>2]=3;break d}v[j+1356>>2]=v[h+52>>2];h:{i:{if(D){F=c&65535;b=v[j+48>>2];if((c|0)<1|F>>>0>>0){break i}v[h+76>>2]=6;break d}if(y[j+48>>2]<2){break h}v[h+76>>2]=3;break d}v[j+16>>2]=b}if((c|0)<0){break d}b=$_(j+1372|0,j+1240|0,F,a,e,d?12288:4096,j,p);v[h+76>>2]=b;if(b){break d}b=Yc(a,e+v[j+1484>>2]|0);v[h+76>>2]=b;if(b){break d}b=Go(j+1204|0,a,0,d);v[h+76>>2]=b;if(b){break d}j:{if(!(d?0:v[j+1504>>2]==65535)){f=j+3112|0;b=Qb-16|0;Qb=b;o=v[a+28>>2];k:{l:{g=v[j+1552>>2];if(!g){break l}g=Yc(a,e+g|0);v[b+12>>2]=g;if(g){break k}g=Bf(a,2);v[b+12>>2]=g;if(g){break k}n=v[a+8>>2];g=Ed(a,b+12|0);if(v[b+12>>2]){break k}if((g|0)!=1){v[b+12>>2]=3;break k}q=kf(a,b+12|0);if(v[b+12>>2]){break k}i=Ed(a,b+12|0);v[f>>2]=i;if(v[b+12>>2]){break k}g=0;l=Cc(o,4,0,i,0,b+12|0);if(v[b+12>>2]){break k}if(v[f>>2]){while(1){N=(g<<2)+l|0,O=kf(a,b+12|0),v[N>>2]=O;if(v[b+12>>2]){break k}g=g+1|0;if(g>>>0>2]){continue}break}}g=Yc(a,n+q|0);v[b+12>>2]=g;if(g){break k}N=f,O=Ed(a,b+12|0),u[N+8>>1]=O;if(v[b+12>>2]){break k}g=Ed(a,b+12|0);v[f+12>>2]=g;if(v[b+12>>2]){break k}s=Cc(o,4,0,g,0,b+12|0);v[f+16>>2]=s;if(v[b+12>>2]){break k}m:{if(!v[f+12>>2]){break m}i=Cc(o,12,0,x[f+8>>1],0,b+12|0);v[s>>2]=i;if(v[b+12>>2]){break k}while(1){n:{if(!x[f+8>>1]){i=0;break n}q=Ed(a,b+12|0);if(v[b+12>>2]){break k}g=0;while(1){A=Ed(a,b+12|0);if(v[b+12>>2]){break k}C=Ed(a,b+12|0);if(v[b+12>>2]){break k}i=B(g,12)+i|0;v[i+8>>2]=C<<16>>16<<2;v[i+4>>2]=A<<16>>16<<2;v[i>>2]=q<<16>>16<<2;i=x[f+8>>1];g=g+1|0;if(i>>>0<=g>>>0){break n}i=v[s>>2];q=Ed(a,b+12|0);if(!v[b+12>>2]){continue}break}break k}r=r+1|0;if(r>>>0>=y[f+12>>2]){break m}s=v[f+16>>2]+(r<<2)|0;i=Cc(o,12,0,i,0,b+12|0);v[s>>2]=i;if(!v[b+12>>2]){continue}break}break k}g=Cc(o,8,0,v[f>>2],0,b+12|0);v[f+4>>2]=g;if(v[b+12>>2]){break k}if(!v[f>>2]){break l}q=Yc(a,n+v[l>>2]|0);v[b+12>>2]=q;if(q){break k}i=0;while(1){q=Bf(a,4);v[b+12>>2]=q;if(q){break k}q=(i<<3)+g|0;g=Ed(a,b+12|0);v[q>>2]=g;if(v[b+12>>2]){break k}N=q,O=Cc(o,4,0,g,0,b+12|0),v[N+4>>2]=O;if(v[b+12>>2]){break k}if(v[q>>2]){g=0;while(1){s=Ed(a,b+12|0);v[v[q+4>>2]+(g<<2)>>2]=s;if(v[b+12>>2]){break k}g=g+1|0;if(g>>>0>2]){continue}break}}i=i+1|0;if(i>>>0>=y[f>>2]){break l}g=v[f+4>>2];q=Yc(a,n+v[(i<<2)+l>>2]|0);v[b+12>>2]=q;if(!q){continue}break}break k}v[b+12>>2]=0}if(l){Ub[v[o+8>>2]](o,l)}if(v[b+12>>2]){j$(f,o);f=v[b+12>>2]}else{f=0}Qb=b+16|0;v[h+76>>2]=f;if(f){break d}b=Yc(a,e+v[j+1536>>2]|0);v[h+76>>2]=b;if(b){break d}b=Go(h,a,0,d);v[h+76>>2]=b;if(b){break d}b=v[h+12>>2];o:{if(b>>>0>256){break o}v[j+2024>>2]=b;f=0;b=Cc(m,652,0,b,0,h+76|0);if(v[h+76>>2]){break o}o=v[h+12>>2];p:{if(!o){break p}g=o&3;if(o-1>>>0>=3){l=o&-4;q=j+2028|0;while(1){v[q+(f<<2)>>2]=b+B(f,652);n=f|1;v[q+(n<<2)>>2]=b+B(n,652);n=f|2;v[q+(n<<2)>>2]=b+B(n,652);n=f|3;v[q+(n<<2)>>2]=b+B(n,652);f=f+4|0;l=l-4|0;if(l){continue}break}}if(g){while(1){v[(j+(f<<2)|0)+2028>>2]=b+B(f,652);f=f+1|0;g=g-1|0;if(g){continue}break}}f=0;if(!o){break p}b=d?16384:4096;while(1){g=$_(v[(j+(f<<2)|0)+2028>>2],h,f,a,e,b,j,p);v[h+76>>2]=g;if(g){break o}f=f+1|0;g=v[h+12>>2];if(f>>>0>>0){continue}break}f=g>>>0>1}if(f?0:d){break o}g=j+3052|0;i=v[j+1216>>2];f=Qb-16|0;Qb=f;b=Yc(a,e+v[j+1540>>2]|0);v[f+12>>2]=b;q:{if(b){break q}o=dg(a,f+12|0);b=v[f+12>>2];if(b){break q}v[g+20>>2]=0;t[g|0]=o;b=3;r:{switch(o&255){case 3:o=Ed(a,f+12|0);b=v[f+12>>2];if(b){break q}b=3;if(!o){break q}i=B(o,3)+2|0;break;case 0:break r;default:break q}}v[g+12>>2]=i;b=Xh(a,i,g+8|0)}Qb=f+16|0;v[h+76>>2]=b}b=v[h>>2];if(b){f=h+32|0;g=v[b+28>>2];if(v[h+32>>2]){nf(b,f)}b=v[h+28>>2];if(b){Ub[v[g+8>>2]](g,b)}v[f>>2]=0;v[h+24>>2]=0;v[h+28>>2]=0;v[h+16>>2]=0;v[h+20>>2]=0;v[h+8>>2]=0;v[h+12>>2]=0;v[h>>2]=0;v[h+4>>2]=0}if(!v[h+76>>2]){break j}break d}v[j+2024>>2]=0}if(!v[j+1484>>2]){v[h+76>>2]=3;break d}v[j+20>>2]=v[j+1216>>2];b=bI(j+108|0,j+1352|0,0,0);v[h+76>>2]=b;if(b){break d}s:{if(d){break s}f=v[j+20>>2];if(!f){break s}q=j+1180|0;g=q;l=v[j+1476>>2];n=v[j+1504>>2]!=65535&D;m=Qb-16|0;Qb=m;b=a;o=v[b+28>>2];v[m+8>>2]=0;t:{u:{v:{w:{if(l>>>0>=3){a=e+l|0;v[g+4>>2]=a;a=Yc(b,a);v[m+8>>2]=a;if(a){break u}N=g,O=dg(b,m+8|0)&255,v[N>>2]=O;if(v[m+8>>2]){break u}a=Cc(o,2,0,f,0,m+8|0);v[g+8>>2]=a;if(v[m+8>>2]){break u}u[a>>1]=0;x:{switch(v[g>>2]){case 0:a=1;l=ne(b,(f<<1)-2|0);v[m+8>>2]=l;if(l){break u}if(f>>>0>=2){while(1){l=He(b);u[v[g+8>>2]+(a<<1)>>1]=l;a=a+1|0;if((f|0)!=(a|0)){continue}break}}Vd(b);break w;case 1:case 2:a=1;if(f>>>0<=1){break w}while(1){i=Ed(b,m+8|0);if(v[m+8>>2]){break u}y:{if(v[g>>2]==2){r=Ed(b,m+8|0);if(!v[m+8>>2]){break y}break u}l=dg(b,m+8|0);if(v[m+8>>2]){break u}r=l&255}z:{if(a>>>0>=f>>>0){break z}l=(r^65535)>>>0>>0?i^65535:r;s=v[g+8>>2];r=0;while(1){u[s+(a<<1)>>1]=i;a=a+1|0;if(f>>>0<=a>>>0){break z}i=i+1|0;A=l>>>0>r>>>0;r=r+1|0;if(A){continue}break}}if(a>>>0>>0){continue}break};break w;default:break x}}v[m+8>>2]=3;break u}v[g+4>>2]=l;A:{switch(l|0){case 0:if(f>>>0>=230){v[m+8>>2]=3;break u}a=Cc(o,2,0,f,0,m+8|0);v[g+8>>2]=a;if(v[m+8>>2]){break u}gc(a,379120,f<<1);break w;case 1:if(f>>>0>=167){v[m+8>>2]=3;break u}a=Cc(o,2,0,f,0,m+8|0);v[g+8>>2]=a;if(v[m+8>>2]){break u}gc(a,379584,f<<1);break w;case 2:break A;default:break v}}if(f>>>0>=88){v[m+8>>2]=3;break u}a=Cc(o,2,0,f,0,m+8|0);v[g+8>>2]=a;if(v[m+8>>2]){break u}gc(a,379920,f<<1)}B:{if(!n){a=v[m+8>>2];break B}a=0;v[m+12>>2]=0;C:{if(v[g+16>>2]){break C}s=0;E=g;M=o;if(f){r=f&3;A=v[g+8>>2];D:{if(f-1>>>0<3){i=0;break D}s=f&-4;i=0;while(1){C=i<<1;l=x[A+(C|6)>>1];n=x[A+(C|4)>>1];J=x[A+(C|2)>>1];C=x[A+C>>1];a=C>>>0>(a&65535)>>>0?C:a;a=(a&65535)>>>0>>0?J:a;a=n>>>0>(a&65535)>>>0?n:a;a=l>>>0>(a&65535)>>>0?l:a;i=i+4|0;s=s-4|0;if(s){continue}break}}if(r){while(1){s=x[A+(i<<1)>>1];a=s>>>0>(a&65535)>>>0?s:a;i=i+1|0;r=r-1|0;if(r){continue}break}}s=a&65535}n=Cc(M,2,0,s+1|0,0,m+12|0);v[E+12>>2]=n;a=v[m+12>>2];if(a){break C}E:{if((f|0)<1){break E}r=v[g+8>>2];a=f;i=a&3;if(i){while(1){a=a-1|0;u[n+(x[r+(a<<1)>>1]<<1)>>1]=a;i=i-1|0;if(i){continue}break}}if(f-1>>>0<3){break E}while(1){l=a-1|0;u[n+(x[r+(l<<1)>>1]<<1)>>1]=l;l=a-2|0;u[n+(x[r+(l<<1)>>1]<<1)>>1]=l;l=a-3|0;u[n+(x[r+(l<<1)>>1]<<1)>>1]=l;l=a-4|0;u[n+(x[r+(l<<1)>>1]<<1)>>1]=l;i=(a|0)>4;a=l;if(i){continue}break}}v[g+20>>2]=f;v[g+16>>2]=s;a=0}v[m+8>>2]=a}if(a){break u}a=0;break t}v[m+8>>2]=3}a=v[g+8>>2];if(a){Ub[v[o+8>>2]](o,a)}v[g+8>>2]=0;a=v[g+12>>2];if(a){Ub[v[o+8>>2]](o,a)}v[g+8>>2]=0;v[g+12>>2]=0;v[g>>2]=0;v[g+4>>2]=0;a=v[m+8>>2]}Qb=m+16|0;v[h+76>>2]=a;if(a){break d}if(v[j+1504>>2]!=65535){break s}i=j+144|0;o=v[j+20>>2];l=b;b=v[j+1480>>2];s=0;n=Qb-16|0;Qb=n;v[n+8>>2]=0;a=3;f=q;F:{if(!v[f+8>>2]){break F}a=ic(i+12|0,0,1024);if(b>>>0>=2){a=b+e|0;v[i+4>>2]=a;a=Yc(l,a);v[n+8>>2]=a;if(a){break F}N=i,O=dg(l,n+8|0)&255,v[N>>2]=O;a=v[n+8>>2];if(a){break F}e=dg(l,n+8|0);a=v[n+8>>2];if(a){break F}q=e&255;a=3;G:{H:{switch(v[i>>2]&127){case 0:v[i+8>>2]=q+1;a=ne(l,q);v[n+8>>2]=a;if(a){break F}I:{if(!e){break I}a=1;b=v[l+32>>2];if((e|0)!=1){g=q&254;while(1){if(a>>>0>>0){e=i+(w[b|0]<<1)|0;u[e+524>>1]=a;u[e+12>>1]=x[v[f+8>>2]+(a<<1)>>1]}e=a+1|0;if(e>>>0>>0){m=i+(w[b+1|0]<<1)|0;u[m+524>>1]=e;u[m+12>>1]=x[v[f+8>>2]+(e<<1)>>1]}b=b+2|0;a=a+2|0;g=g-2|0;if(g){continue}break}}if(!(q&1)|a>>>0>=o>>>0){break I}b=i+(w[b|0]<<1)|0;u[b+524>>1]=a;u[b+12>>1]=x[v[f+8>>2]+(a<<1)>>1]}Vd(l);break G;case 1:break H;default:break F}}v[i+8>>2]=0;if(!e){break G}g=1;while(1){b=g;A=dg(l,n+8|0);a=v[n+8>>2];if(a){break F}m=dg(l,n+8|0);a=v[n+8>>2];if(a){break F}r=m&255;a=r+1|0;e=v[i+8>>2];if(r>>>0>=e>>>0){v[i+8>>2]=a;e=a}g=a+b|0;J:{if(g>>>0<=b>>>0){break J}a=A&255;if(!(r&1)){if(b>>>0>>0){r=i+(a<<1)|0;u[r+524>>1]=b;u[r+12>>1]=x[v[f+8>>2]+(b<<1)>>1]}b=b+1|0;a=a+1|0}if(!m){break J}while(1){if(!(a>>>0>255|b>>>0>=o>>>0)){m=i+(a<<1)|0;u[m+524>>1]=b;u[m+12>>1]=x[v[f+8>>2]+(b<<1)>>1]}m=b+1|0;K:{if(m>>>0>=o>>>0){break K}r=a+1|0;if(r>>>0>=256){break K}r=i+(r<<1)|0;u[r+524>>1]=m;u[r+12>>1]=x[v[f+8>>2]+(m<<1)>>1]}a=a+2|0;b=b+2|0;if((g|0)!=(b|0)){continue}break}}s=s+1|0;if((q|0)!=(s|0)){continue}break}if(e>>>0<257){break G}v[i+8>>2]=256}if(!(w[i|0]&128)){a=v[n+8>>2];break F}b=dg(l,n+8|0);a=v[n+8>>2];if(a){break F}if(!b){a=0;break F}g=b&255;e=0;while(1){q=dg(l,n+8|0);a=v[n+8>>2];if(a){break F}b=Ed(l,n+8|0);a=v[n+8>>2];if(a){break F}q=i+((q&255)<<1)|0;u[q+12>>1]=b;L:{if(!o){break L}m=v[f+8>>2];a=0;while(1){if((b|0)==x[m+(a<<1)>>1]){u[q+524>>1]=a;break L}a=a+1|0;if((o|0)!=(a|0)){continue}break}}e=e+1|0;if((g|0)!=(e|0)){continue}break}a=0;break F}M:{N:{O:{P:{switch(b|0){case 0:gc(a,376368,512);break O;case 1:break P;default:break N}}gc(a,380096,512)}v[i+8>>2]=0;a=v[l+28>>2];v[n+12>>2]=0;e=v[f+16>>2];if(!e){e=0;q=f;l=a;if(o){e=o&3;m=v[f+8>>2];Q:{if(o-1>>>0<3){a=0;b=0;break Q}g=o&-4;a=0;b=0;while(1){s=b<<1;r=x[m+(s|6)>>1];A=x[m+(s|4)>>1];C=x[m+(s|2)>>1];s=x[m+s>>1];a=s>>>0>(a&65535)>>>0?s:a;a=C>>>0>(a&65535)>>>0?C:a;a=A>>>0>(a&65535)>>>0?A:a;a=r>>>0>(a&65535)>>>0?r:a;b=b+4|0;g=g-4|0;if(g){continue}break}}if(e){while(1){g=x[m+(b<<1)>>1];a=g>>>0>(a&65535)>>>0?g:a;b=b+1|0;e=e-1|0;if(e){continue}break}}e=a&65535}l=Cc(l,2,0,e+1|0,0,n+12|0);v[q+12>>2]=l;a=v[n+12>>2];if(a){break M}R:{if((o|0)<1){break R}q=v[f+8>>2];a=o;g=a&3;if(g){while(1){a=a-1|0;u[l+(x[q+(a<<1)>>1]<<1)>>1]=a;g=g-1|0;if(g){continue}break}}if(o-1>>>0<3){break R}while(1){b=a-1|0;u[l+(x[q+(b<<1)>>1]<<1)>>1]=b;b=a-2|0;u[l+(x[q+(b<<1)>>1]<<1)>>1]=b;b=a-3|0;u[l+(x[q+(b<<1)>>1]<<1)>>1]=b;b=a-4|0;u[l+(x[q+(b<<1)>>1]<<1)>>1]=b;g=(a|0)>4;a=b;if(g){continue}break}}v[f+20>>2]=o;v[f+16>>2]=e}v[n+8>>2]=0;a=0;while(1){b=i+(a<<1)|0;o=b;S:{T:{g=x[b+12>>1];if(!g|e>>>0>>0){break T}g=x[v[f+12>>2]+(g<<1)>>1];if(!g){break T}u[b+524>>1]=g;a=a+1|0;v[i+8>>2]=a;break S}u[b+524>>1]=0;u[o+12>>1]=0;a=a+1|0}if((a|0)!=256){continue}break}a=0;break F}a=3}v[n+8>>2]=a}Qb=n+16|0;v[h+76>>2]=a;if(a){break d}}N=j,O=k$(j,F),v[N+1348>>2]=O}a=v[h+40>>2];if(a){b=v[a+28>>2];if(v[h+72>>2]){nf(a,h+72|0)}a=v[h+68>>2];if(a){Ub[v[b+8>>2]](b,a)}}Qb=h+80|0;f=v[h+76>>2];v[z+12>>2]=f;if(f){break a}if((c|0)<=-1){v[p>>2]=v[k+16>>2];f=0;break a}v[k+3088>>2]=L;v[k+3084>>2]=H;v[k+3080>>2]=K;l=c&65535;v[p+4>>2]=l;v[p+16>>2]=v[k+20>>2];if(!(H|v[k+1504>>2]!=65535)){f=11;v[z+12>>2]=11;break a}U:{if(!(t[p+9|0]&1)){break U}b=v[p+548>>2];if(!b|c>>>0<65536){break U}a=v[p+552>>2];f=Ub[v[b+28>>2]](p,c>>>16|0)|0;v[z+12>>2]=f;if(f){break a}if(!a){break U}Ub[v[a+28>>2]](p)}if(!w[k+1436|0]){v[k+1440>>2]=D?1e3:x[p+68>>1]}f=v[k+1432>>2];if(!f){f=v[k+1428>>2]}a=f>>31;a=a+f^a;V:{if((a|0)==65536){f=v[k+1448>>2];break V}N=k,O=ad(v[k+1440>>2],a),v[N+1440>>2]=O;N=k,O=ad(v[k+1420>>2],a),v[N+1420>>2]=O;N=k,O=ad(v[k+1428>>2],a),v[N+1428>>2]=O;N=k,O=ad(v[k+1424>>2],a),v[N+1424>>2]=O;N=k,O=ad(v[k+1432>>2],a),v[N+1432>>2]=O;N=k,O=ad(v[k+1444>>2],a),v[N+1444>>2]=O;f=ad(v[k+1448>>2],a);v[k+1448>>2]=f}v[k+1448>>2]=f>>16;v[k+1444>>2]=v[k+1444>>2]>>16;a=v[k+2024>>2];if(a){q=k+2028|0;f=k+1420|0;o=f;while(1){a=a-1|0;b=v[q+(a<<2)>>2];W:{if(w[b+64|0]){if(!w[k+1436|0]){break W}c=1;e=v[k+1440>>2];X:{if(e>>>0<2){break X}g=v[b+68>>2];if(g>>>0<2){break X}c=e>>>0>>0?e:g}e=b+48|0;if(!(!f|!e)){n=v[f>>2];h=v[e>>2];g=c<<16;j=jd(n,h,g);i=v[f+4>>2];m=v[e+8>>2];s=jd(i,m,g);E=n;n=v[e+4>>2];r=jd(E,n,g);E=i;i=v[e+12>>2];A=jd(E,i,g);F=v[f+8>>2];E=jd(F,h,g);h=v[f+12>>2];N=e,O=E+jd(h,m,g)|0,v[N+8>>2]=O;v[e+4>>2]=r+A;v[e>>2]=j+s;N=e,O=jd(F,n,g)+jd(h,i,g)|0,v[N+12>>2]=O}if(!(!f|(b|0)==-72)){g=v[f+8>>2];n=v[f+12>>2];h=v[b+72>>2];e=c<<16;i=jd(h,v[f>>2],e);j=v[b+76>>2];N=b,O=i+jd(j,v[f+4>>2],e)|0,v[N+72>>2]=O;N=b,O=jd(h,g,e)+jd(j,n,e)|0,v[N+76>>2]=O}N=b,O=jd(v[b+68>>2],v[k+1440>>2],c),v[N+68>>2]=O;break W}c=v[f+4>>2];v[b+48>>2]=v[f>>2];v[b+52>>2]=c;c=v[o+12>>2];v[b+56>>2]=v[o+8>>2];v[b+60>>2]=c;c=v[k+1448>>2];v[b+72>>2]=v[k+1444>>2];v[b+76>>2]=c;v[b+68>>2]=v[k+1440>>2]}e=b;c=v[b+60>>2];if(!c){c=v[b+56>>2]}g=c;c=c>>31;c=g+c^c;if((c|0)==65536){c=v[b+76>>2]}else{N=b,O=ad(v[b+68>>2],c),v[N+68>>2]=O;N=b,O=ad(v[b+48>>2],c),v[N+48>>2]=O;N=b,O=ad(v[b+56>>2],c),v[N+56>>2]=O;N=b,O=ad(v[b+52>>2],c),v[N+52>>2]=O;N=b,O=ad(v[b+60>>2],c),v[N+60>>2]=O;N=b,O=ad(v[b+72>>2],c),v[N+72>>2]=O;c=ad(v[b+76>>2],c)}v[e+76>>2]=c>>16;v[b+72>>2]=v[b+72>>2]>>16;if(a){continue}break}}if(D){v[p>>2]=v[k+16>>2];a=p;if(v[k+1504>>2]!=65535){b=v[k+1196>>2]+1|0}else{b=v[k+1216>>2]}v[a+16>>2]=b;v[p+52>>2]=v[k+1456>>2]>>16;a=v[k+1460>>2]>>16;v[p+56>>2]=a;v[p+60>>2]=v[k+1464>>2]+65535>>16;b=v[k+1468>>2]+65535>>16;v[p- -64>>2]=b;c=v[k+1440>>2];u[p+72>>1]=a;u[p+70>>1]=b;u[p+68>>1]=c;a=b-a|0;b=(B(c&65535,12)>>>0)/10|0;u[p+74>>1]=(a|0)>b<<16>>16?a:b;u[p+80>>1]=x[k+1406>>1];u[p+82>>1]=x[k+1410>>1];a=v[k+1388>>2];Y:{if(!a){break Y}a=mA(k,a);if(!a){break Y}N=p,O=uj(G,a,z),v[N+20>>2]=O}Z:{_:{$:{if(!v[p+20>>2]){c=k$(k,l);v[p+20>>2]=c;if(!c){break $}a=Bc(c);aa:{if((a|0)<6){break aa}e=c+7|0;b=a+1|0;while(1){if(w[c+6|0]!=43|(w[c+5|0]-65&255)>>>0>25|((w[c+4|0]-65&255)>>>0>25|(w[c+3|0]-65&255)>>>0>25)){break aa}if((w[c+2|0]-65&255)>>>0>25|(w[c+1|0]-65&255)>>>0>25|(w[c|0]-65&255)>>>0>25){break aa}a=b-7|0;if((b|0)>=8){Wd(c,e,a)}f=(b|0)>13;b=a;if(f){continue}break}}if(!v[p+20>>2]){break $}}b=mA(k,v[k+1384>>2]);if(!b){break _}a=v[p+20>>2];if(!a){break _}f=w[b|0];if(!f){break _}while(1){ba:{ca:{e=f&255;c=e-32|0;if(!((c|0)!=13?c:0)){if((e|0)==w[a|0]){break ca}break ba}c=a;f=w[a|0];if((e|0)==(f|0)){break ca}while(1){da:{ea:{a=f&255;switch(a-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break _;case 0:case 13:break ea;default:break da}}f=w[c+1|0];a=c+1|0;c=a;if((e|0)!=(f|0)){continue}break ca}break}if(a){break _}f=uj(G,b,z);if(!f){break _}c=v[p+20>>2];e=Bc(c);b=Bc(f);fa:{if((e|0)<=(b|0)){break fa}a=1;if((b|0)>=1){while(1){if(w[c+(e-a|0)|0]!=w[(b-a|0)+f|0]){break fa}g=(a|0)==(b|0);a=a+1|0;if(!g){continue}break}}a=e+(b^-1)|0;if((a|0)<1){break fa}while(1){b=a+c|0;e=w[b|0];g=e-32|0;if(!((1<>>0<=13:0)|(e|0)==95)){t[b+1|0]=0;break fa}b=(a|0)>1;a=a-1|0;if(b){continue}break}}break Z}a=a+1|0}f=w[b+1|0];b=b+1|0;if(f){continue}break}break _}a=mA(k,v[k+1544>>2]);if(!a){break _}N=p,O=uj(G,a,z),v[N+20>>2]=O}f=uj(G,240246,z)}v[p+24>>2]=f;a=I?2065:2073;v[p+8>>2]=v[p+8>>2]|(w[k+1396|0]?a|4:a);f=v[k+1400>>2]!=0;a=mA(k,v[k+1392>>2]);ga:{if(!a){break ga}if(mc(a,288795)){if(mc(a,263545)){break ga}}f=f|2}ha:{if(f&2){break ha}a=v[p+24>>2];if(!a){break ha}if(Oc(a,288795,4)){if(Oc(a,263545,5)){break ha}}f=f|2}v[p+12>>2]=f}b=v[k+1504>>2];if(!((b|0)!=65535|d)){v[p+8>>2]=v[p+8>>2]|512}if(!(!D|(b|0)==65535)){v[p+8>>2]=v[p+8>>2]|4096}a=v[p+36>>2];ia:{ja:{if(a){c=v[p+40>>2];f=0;while(1){ka:{la:{d=v[c+(f<<2)>>2];switch(x[d+8>>1]){case 0:break ja;case 3:break la;default:break ka}}if(x[d+10>>1]==1){break ja}}f=f+1|0;if((a|0)!=(f|0)){continue}break}}if((b|0)!=65535&D){break ia}v[z>>2]=p;v[z+4>>2]=1970170211;v[z+8>>2]=65539;b=Rj(375976,0,z,0);v[z+12>>2]=b;ma:{if(!b){break ma}b=b&255;if((b|0)==163){break ma}if((b|0)!=7){break ia}}v[z+12>>2]=0;if(v[p+92>>2]|(a|0)==v[p+36>>2]){break ja}v[p+92>>2]=v[v[p+40>>2]+(a<<2)>>2]}if(!v[k+152>>2]){break ia}u[z+8>>1]=7;v[z>>2]=p;b=1094995778;f=0;na:{oa:{switch(v[k+148>>2]){case 1:b=1094992453;f=1;break na;case 0:break na;default:break oa}}b=1094992451;f=2}v[z+4>>2]=b;u[z+10>>1]=f;N=z,O=Rj(375936,0,z,0),v[N+12>>2]=O}f=v[z+12>>2]}Qb=z+16|0;return f|0}function Pqa(a,b){a=a|0;b=b|0;var 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,y=0;a:{b:{if(!a|!b){break b}f=b;b=a;if(!(!b|!f|w[b+201|0]&4)){c=Qb-16|0;Qb=c;v[c+8>>2]=1196314761;v[c+12>>2]=169478669;v[b+744>>2]=18;d=w[b+407|0];ld(b,d+(c+8|0)|0,8-d|0);if(w[b+407|0]<=2){v[b+200>>2]=v[b+200>>2]|4096}Qb=c+16|0;if(!(!(w[b+201|0]&16)|!v[b+660>>2])){Gc(b,1966);v[b+660>>2]=0}j=v[f>>2];l=v[f+4>>2];h=w[f+24|0];g=w[f+26|0];k=w[f+27|0];d=w[f+28|0];e=Qb-32|0;Qb=e;c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{n=w[f+25|0];switch(n|0){case 6:break h;case 4:break i;case 3:break j;case 2:break k;case 0:break l;default:break g}}if(h>>>0<=16){c=1;if(1<>>0<8){break f}break d}c=2;n:{switch(h-8|0){case 0:case 8:break e;default:break n}}hd(b,13418);L()}c=4;o:{switch(h-8|0){case 0:case 8:break e;default:break o}}hd(b,15921);L()}hd(b,18738);L()}c=1;if(!(139>>>i&1)){break d}}t[b+405|0]=c;if(g){Gc(b,20913)}p:{q:{r:{if(!(!(w[b+660|0]&4)|w[b+201|0]&16)){if(!((n&-5)!=2|(k|0)!=64)){break p}if(k){break r}break p}if(!k){break q}}Gc(b,23148)}k=0}if(d>>>0>=2){Gc(b,25326);d=1}t[b+401|0]=n;t[b+402|0]=h;t[b+696|0]=0;t[b+664|0]=k;t[b+398|0]=d;v[b+324>>2]=l;v[b+320>>2]=j;c=w[b+405|0];g=B(c,h);t[b+404|0]=g;t[b+406|0]=c;t[b+403|0]=h;v[b+332>>2]=j;c=b;g=g&255;s:{if(g>>>0>=8){q=B(j,g>>>3|0);break s}q=B(g,j)+7>>>3|0}v[c+336>>2]=q;t[e+23|0]=d;t[e+22|0]=k;t[e+21|0]=0;t[e+20|0]=n;t[e+19|0]=h;t[e+14|0]=j;t[e+13|0]=j>>>8;t[e+12|0]=j>>>16;t[e+11|0]=j>>>24;t[e+18|0]=l;t[e+17|0]=l>>>8;t[e+16|0]=l>>>16;t[e+15|0]=l>>>24;v[b+744>>2]=34;t[e+24|0]=0;t[e+25|0]=0;t[e+26|0]=0;t[e+27|0]=13;t[e+28|0]=73;t[e+29|0]=72;t[e+30|0]=68;t[e+31|0]=82;d=e+24|0;ld(b,d,8);v[b+348>>2]=1229472850;_f(b);kd(b,e+28|0,4);v[b+744>>2]=66;c=e+11|0;ld(b,c,13);kd(b,c,13);v[b+744>>2]=130;c=v[b+384>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[e+24|0]=c;t[e+25|0]=c>>>8;t[e+26|0]=c>>>16;t[e+27|0]=c>>>24;ld(b,d,4);v[b+252>>2]=b;v[b+248>>2]=375;v[b+244>>2]=374;t:{u:{v:{d=w[b+400|0];if(!d){if(w[b+401|0]!=3&w[b+402|0]>7){break v}t[b+400|0]=8;d=8}c=v[b+204>>2];if(c&1){break t}d=(d|0)!=8;break u}t[b+400|0]=248;d=1;c=v[b+204>>2];if(c&1){break t}}v[b+296>>2]=d}if(!(c&2)){v[b+280>>2]=-1}if(!(c&4)){v[b+292>>2]=8}if(!(c&8)){v[b+288>>2]=15}if(c&16){c=v[b+284>>2]}else{v[b+284>>2]=8;c=8}v[b+316>>2]=0;v[b+304>>2]=c;v[b+276>>2]=0;v[b+200>>2]=1;v[b+300>>2]=v[b+280>>2];c=v[b+292>>2];v[b+308>>2]=v[b+288>>2];v[b+312>>2]=c;Qb=e+32|0;break c}hd(b,10220);L()}c=v[f+8>>2];if(c&1){c=Qb-16|0;Qb=c;d=v[f+40>>2];d=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);t[c+4|0]=d;t[c+5|0]=d>>>8;t[c+6|0]=d>>>16;t[c+7|0]=d>>>24;if(b){v[b+744>>2]=34;t[c+8|0]=0;t[c+9|0]=0;t[c+10|0]=0;t[c+11|0]=4;t[c+12|0]=103;t[c+13|0]=65;t[c+14|0]=77;t[c+15|0]=65;e=c+8|0;ld(b,e,8);v[b+348>>2]=1732332865;_f(b);kd(b,c+12|0,4);v[b+744>>2]=66;d=c+4|0;ld(b,d,4);kd(b,d,4);v[b+744>>2]=130;d=v[b+384>>2];d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);t[c+8|0]=d;t[c+9|0]=d>>>8;t[c+10|0]=d>>>16;t[c+11|0]=d>>>24;ld(b,e,4)}Qb=c+16|0;c=v[f+8>>2]}if(c&2048){c=Qb-16|0;Qb=c;d=w[f+44|0];if(d>>>0>=4){Gc(b,30192)}t[c+3|0]=d;if(b){v[b+744>>2]=34;t[c+8|0]=0;t[c+9|0]=0;t[c+10|0]=0;t[c+11|0]=1;t[c+12|0]=115;t[c+13|0]=82;t[c+14|0]=71;t[c+15|0]=66;ld(b,c+8|0,8);v[b+348>>2]=1934772034;_f(b);kd(b,c+12|0,4);v[b+744>>2]=66;d=c+3|0;ld(b,d,1);kd(b,d,1);v[b+744>>2]=130;d=v[b+384>>2];d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);t[c+4|0]=d;t[c+5|0]=d>>>8;t[c+6|0]=d>>>16;t[c+7|0]=d>>>24;ld(b,c+4|0,4)}Qb=c+16|0;c=v[f+8>>2]}if(c&4096){j=v[f+196>>2];h=v[f+200>>2];c=v[f+204>>2];d=0;e=Qb-32|0;Qb=e;v[e+16>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;v[e>>2]=0;v[e+4>>2]=0;k=Bc(j);w:{x:{c=h?c:0;if((c|0)<4){break x}d=w[h|0]|w[h+1|0]<<8|(w[h+2|0]<<16|w[h+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if((d|0)>-1){break x}Gc(b,33181);break w}if((c|0)<(d|0)){Gc(b,34665);break w}if((c|0)>(d|0)){Gc(b,36109);c=d}if(!c){c=0}else{c=yx(b,h,c,0,e)}if(b){v[b+744>>2]=34;t[e+28|0]=105;t[e+29|0]=67;t[e+30|0]=67;t[e+31|0]=80;d=(c+k|0)+2|0;t[e+27|0]=d;t[e+26|0]=d>>>8;t[e+25|0]=d>>>16;t[e+24|0]=d>>>24;ld(b,e+24|0,8);v[b+348>>2]=1766015824;_f(b);kd(b,e+28|0,4);v[b+744>>2]=66;if(!(!j|!k)){ld(b,j,k);kd(b,j,k)}t[e+24|0]=0;t[e+25|0]=0;d=e+24|0;ld(b,d,2);kd(b,d,2)}if(c){Kt(b,e,c)}if(!b){break w}v[b+744>>2]=130;c=v[b+384>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[e+24|0]=c;t[e+25|0]=c>>>8;t[e+26|0]=c>>>16;t[e+27|0]=c>>>24;ld(b,e+24|0,4)}Qb=e+32|0;c=v[f+8>>2]}if(c&2){c=Qb-16|0;Qb=c;e=w[f+25|0];y:{z:{if(e&2){d=8;A:{h=w[f+68|0];d=(e|0)!=3?w[b+403|0]:d;B:{if(!h|h>>>0>d>>>0){break B}j=w[f+69|0];if(!j|d>>>0>>0){break B}k=w[f+70|0];if(!k){break B}if(d>>>0>=k>>>0){break A}}Gc(b,37814);break y}t[c+6|0]=k;t[c+5|0]=j;t[c+4|0]=h;d=3;break z}d=w[f+71|0];if(!(d>>>0<=w[b+403|0]?d:0)){Gc(b,37814);break y}t[c+4|0]=d;d=1}C:{if(e&4){e=w[f+72|0];if(!(e>>>0<=w[b+403|0]?e:0)){Gc(b,37814);break y}t[(c+4|0)+d|0]=e;d=d+1|0;break C}if(!b){break y}}v[b+744>>2]=34;t[c+12|0]=115;t[c+13|0]=66;t[c+14|0]=73;t[c+15|0]=84;t[c+11|0]=d;t[c+10|0]=0;t[c+8|0]=0;t[c+9|0]=0;e=c+8|0;ld(b,e,8);v[b+348>>2]=1933723988;_f(b);kd(b,c+12|0,4);v[b+744>>2]=66;h=c+4|0;ld(b,h,d);kd(b,h,d);v[b+744>>2]=130;d=v[b+384>>2];d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);t[c+8|0]=d;t[c+9|0]=d>>>8;t[c+10|0]=d>>>16;t[c+11|0]=d>>>24;ld(b,e,4)}Qb=c+16|0;c=v[f+8>>2]}if(c&4){c=Qb-48|0;Qb=c;d=v[f+128>>2];e=v[f+132>>2];h=v[f+136>>2];j=v[f+140>>2];k=v[f+144>>2];l=v[f+148>>2];n=v[f+152>>2];g=v[f+156>>2];D:{if(!oE(b,d,e,h,j,k,l,n,g)){break D}t[c+31|0]=g;t[c+30|0]=g>>>8;t[c+29|0]=g>>>16;t[c+28|0]=g>>>24;t[c+27|0]=n;t[c+26|0]=n>>>8;t[c+25|0]=n>>>16;t[c+24|0]=n>>>24;t[c+23|0]=l;t[c+22|0]=l>>>8;t[c+21|0]=l>>>16;t[c+20|0]=l>>>24;t[c+19|0]=k;t[c+18|0]=k>>>8;t[c+17|0]=k>>>16;t[c+16|0]=k>>>24;t[c+15|0]=j;t[c+14|0]=j>>>8;t[c+13|0]=j>>>16;t[c+12|0]=j>>>24;t[c+11|0]=h;t[c+10|0]=h>>>8;t[c+9|0]=h>>>16;t[c+8|0]=h>>>24;t[c+7|0]=e;t[c+6|0]=e>>>8;t[c+5|0]=e>>>16;t[c+4|0]=e>>>24;t[c+3|0]=d;t[c+2|0]=d>>>8;t[c+1|0]=d>>>16;t[c|0]=d>>>24;if(!b){break D}v[b+744>>2]=34;t[c+40|0]=0;t[c+41|0]=0;t[c+42|0]=0;t[c+43|0]=32;t[c+44|0]=99;t[c+45|0]=72;t[c+46|0]=82;t[c+47|0]=77;e=c+40|0;ld(b,e,8);v[b+348>>2]=1665684045;_f(b);kd(b,c+44|0,4);v[b+744>>2]=66;ld(b,c,32);kd(b,c,32);v[b+744>>2]=130;d=v[b+384>>2];d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);t[c+40|0]=d;t[c+41|0]=d>>>8;t[c+42|0]=d>>>16;t[c+43|0]=d>>>24;ld(b,e,4)}Qb=c+48|0}c=v[f+192>>2];if(!(!c|(c|0)<1)){c=v[f+188>>2];while(1){e=pE(b,c);E:{if((e|0)==1){break E}d=w[c+16|0];if(!d|d&2|(d&4|d&8)){break E}if(!(t[b+206|0]&1?1:w[c+3|0]&32|(e|0)==3)){break E}d=v[c+12>>2];if(!d){Gc(b,5545);d=v[c+12>>2]}uD(b,c,v[c+8>>2],d)}c=c+20|0;if(c>>>0>2]+B(v[f+192>>2],20)>>>0){continue}break}}v[b+200>>2]=v[b+200>>2]|1024}e=v[f+8>>2];F:{if(e&8){d=v[f+16>>2];b=Qb-16|0;Qb=b;G:{H:{c=x[f+20>>1];e=w[a+401|0];I:{if(!(c>>>0<=((e|0)==3?1<>>0?c|v[a+660>>2]&1:0)){if((e|0)==3){break H}Gc(a,26807);break I}if(!(e&2)){Gc(a,29023);break I}u[a+392>>1]=c;v[a+744>>2]=34;t[b+8|0]=80;t[b+9|0]=76;t[b+10|0]=84;t[b+11|0]=69;e=B(c,3);t[b+7|0]=e;t[b+6|0]=e>>>8;t[b+5|0]=e>>>16;t[b+4|0]=e>>>24;ld(a,b+4|0,8);v[a+348>>2]=1347179589;_f(a);kd(a,b+8|0,4);v[a+744>>2]=66;if(c){while(1){t[b+1|0]=w[d|0];t[b+2|0]=w[d+1|0];t[b+3|0]=w[d+2|0];e=b+1|0;ld(a,e,3);kd(a,e,3);d=d+3|0;m=m+1|0;if((c|0)!=(m|0)){continue}break}}v[a+744>>2]=130;c=v[a+384>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[b+12|0]=c;t[b+13|0]=c>>>8;t[b+14|0]=c>>>16;t[b+15|0]=c>>>24;ld(a,b+12|0,4);v[a+200>>2]=v[a+200>>2]|2}Qb=b+16|0;break G}hd(a,26807);L()}e=v[f+8>>2];break F}if(w[f+25|0]==3){break a}}if(e&16){if(!(!x[f+22>>1]|(!(w[a+210|0]&8)|w[f+25|0]!=3))){e=0;while(1){b=v[f+76>>2]+e|0;t[b|0]=w[b|0]^-1;e=e+1|0;if(e>>>0>1]){continue}break}}d=v[f+76>>2];c=x[f+22>>1];b=Qb-16|0;Qb=b;J:{K:{switch(w[f+25|0]){case 3:if(!((c|0)<=x[a+392>>1]&c>>>0>=1)){Gc(a,38646);break J}v[a+744>>2]=34;t[b+12|0]=116;t[b+13|0]=82;t[b+14|0]=78;t[b+15|0]=83;t[b+11|0]=c;t[b+10|0]=c>>>8;t[b+9|0]=c>>>16;t[b+8|0]=c>>>24;ld(a,b+8|0,8);v[a+348>>2]=1951551059;_f(a);kd(a,b+12|0,4);v[a+744>>2]=66;if(d){ld(a,d,c);kd(a,d,c)}v[a+744>>2]=130;c=v[a+384>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[b+8|0]=c;t[b+9|0]=c>>>8;t[b+10|0]=c>>>16;t[b+11|0]=c>>>24;ld(a,b+8|0,4);break J;case 0:c=x[f+88>>1];if((c|0)>=1<>>8;t[b+2|0]=c;t[b+3|0]=c>>>8;v[a+744>>2]=34;t[b+8|0]=0;t[b+9|0]=0;t[b+10|0]=0;t[b+11|0]=2;t[b+12|0]=116;t[b+13|0]=82;t[b+14|0]=78;t[b+15|0]=83;d=b+8|0;ld(a,d,8);v[a+348>>2]=1951551059;_f(a);kd(a,b+12|0,4);v[a+744>>2]=66;c=b+2|0;ld(a,c,2);kd(a,c,2);v[a+744>>2]=130;c=v[a+384>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[b+8|0]=c;t[b+9|0]=c>>>8;t[b+10|0]=c>>>16;t[b+11|0]=c>>>24;ld(a,d,4);break J;case 2:d=x[f+82>>1];c=d>>>8|0;d=c|d<<8;t[b+2|0]=d;t[b+3|0]=d>>>8;e=x[f+84>>1];d=e>>>8|0;e=d|e<<8;t[b+4|0]=e;t[b+5|0]=e>>>8;h=x[f+86>>1];e=h>>>8|0;h=e|h<<8;t[b+6|0]=h;t[b+7|0]=h>>>8;if(!(!(e|(c|d))|w[a+402|0]!=8)){Gc(a,41375);break J}v[a+744>>2]=34;t[b+8|0]=0;t[b+9|0]=0;t[b+10|0]=0;t[b+11|0]=6;t[b+12|0]=116;t[b+13|0]=82;t[b+14|0]=78;t[b+15|0]=83;d=b+8|0;ld(a,d,8);v[a+348>>2]=1951551059;_f(a);kd(a,b+12|0,4);v[a+744>>2]=66;c=b+2|0;ld(a,c,6);kd(a,c,6);v[a+744>>2]=130;c=v[a+384>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[b+8|0]=c;t[b+9|0]=c>>>8;t[b+10|0]=c>>>16;t[b+11|0]=c>>>24;ld(a,d,4);break J;default:break K}}Gc(a,41921)}Qb=b+16|0;e=v[f+8>>2]}if(e&32){b=Qb-16|0;Qb=b;L:{M:{c=w[f+25|0];if((c|0)==3){d=x[a+392>>1];if(!(d|!(t[a+660|0]&1))){c=w[f+90|0];break M}c=w[f+90|0];if(d>>>0>c>>>0){break M}Gc(a,42630);break L}if(c&2){d=x[f+92>>1];c=d>>>8|0;d=c|d<<8;t[b+2|0]=d;t[b+3|0]=d>>>8;e=x[f+94>>1];d=e>>>8|0;e=d|e<<8;t[b+4|0]=e;t[b+5|0]=e>>>8;h=x[f+96>>1];e=h>>>8|0;h=e|h<<8;t[b+6|0]=h;t[b+7|0]=h>>>8;if(!(!(e|(c|d))|w[a+402|0]!=8)){Gc(a,44032);break L}v[a+744>>2]=34;t[b+8|0]=0;t[b+9|0]=0;t[b+10|0]=0;t[b+11|0]=6;t[b+12|0]=98;t[b+13|0]=75;t[b+14|0]=71;t[b+15|0]=68;d=b+8|0;ld(a,d,8);v[a+348>>2]=1649100612;_f(a);kd(a,b+12|0,4);v[a+744>>2]=66;c=b+2|0;ld(a,c,6);kd(a,c,6);v[a+744>>2]=130;c=v[a+384>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[b+8|0]=c;t[b+9|0]=c>>>8;t[b+10|0]=c>>>16;t[b+11|0]=c>>>24;ld(a,d,4);break L}c=x[f+98>>1];if((c|0)>=1<>>8;t[b+2|0]=c;t[b+3|0]=c>>>8;v[a+744>>2]=34;t[b+8|0]=0;t[b+9|0]=0;t[b+10|0]=0;t[b+11|0]=2;t[b+12|0]=98;t[b+13|0]=75;t[b+14|0]=71;t[b+15|0]=68;d=b+8|0;ld(a,d,8);v[a+348>>2]=1649100612;_f(a);kd(a,b+12|0,4);v[a+744>>2]=66;c=b+2|0;ld(a,c,2);kd(a,c,2);v[a+744>>2]=130;c=v[a+384>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[b+8|0]=c;t[b+9|0]=c>>>8;t[b+10|0]=c>>>16;t[b+11|0]=c>>>24;ld(a,d,4);break L}t[b+2|0]=c;v[a+744>>2]=34;t[b+8|0]=0;t[b+9|0]=0;t[b+10|0]=0;t[b+11|0]=1;t[b+12|0]=98;t[b+13|0]=75;t[b+14|0]=71;t[b+15|0]=68;d=b+8|0;ld(a,d,8);v[a+348>>2]=1649100612;_f(a);kd(a,b+12|0,4);v[a+744>>2]=66;c=b+2|0;ld(a,c,1);kd(a,c,1);v[a+744>>2]=130;c=v[a+384>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[b+8|0]=c;t[b+9|0]=c>>>8;t[b+10|0]=c>>>16;t[b+11|0]=c>>>24;ld(a,d,4)}Qb=b+16|0;e=v[f+8>>2]}if(e&64){e=v[f+124>>2];d=0;b=Qb-16|0;Qb=b;c=x[f+20>>1];N:{if((c|0)>x[a+392>>1]){Gc(a,45495);break N}v[a+744>>2]=34;t[b+8|0]=104;t[b+9|0]=73;t[b+10|0]=83;t[b+11|0]=84;t[b+7|0]=c<<1;t[b+6|0]=c>>>7;t[b+5|0]=c>>>15;t[b+4|0]=c>>>23;ld(a,b+4|0,8);v[a+348>>2]=1749635924;_f(a);kd(a,b+8|0,4);v[a+744>>2]=66;if(c>>>0>=1){while(1){h=x[e+(d<<1)>>1];h=h<<8|h>>>8;t[b+1|0]=h;t[b+2|0]=h>>>8;h=b+1|0;ld(a,h,2);kd(a,h,2);d=d+1|0;if((c|0)!=(d|0)){continue}break}}v[a+744>>2]=130;c=v[a+384>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[b+12|0]=c;t[b+13|0]=c>>>8;t[b+14|0]=c>>>16;t[b+15|0]=c>>>24;ld(a,b+12|0,4)}Qb=b+16|0;e=v[f+8>>2]}if(e&256){c=v[f+100>>2];d=v[f+104>>2];b=Qb-32|0;Qb=b;e=w[f+108|0];if(e>>>0>=2){Gc(a,46126)}t[b+23|0]=e;t[b+22|0]=d;t[b+21|0]=d>>>8;t[b+20|0]=d>>>16;t[b+19|0]=d>>>24;t[b+18|0]=c;t[b+17|0]=c>>>8;t[b+16|0]=c>>>16;t[b+15|0]=c>>>24;if(a){v[a+744>>2]=34;t[b+24|0]=0;t[b+25|0]=0;t[b+26|0]=0;t[b+27|0]=9;t[b+28|0]=111;t[b+29|0]=70;t[b+30|0]=70;t[b+31|0]=115;d=b+24|0;ld(a,d,8);v[a+348>>2]=1866876531;_f(a);kd(a,b+28|0,4);v[a+744>>2]=66;c=b+15|0;ld(a,c,9);kd(a,c,9);v[a+744>>2]=130;c=v[a+384>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[b+24|0]=c;t[b+25|0]=c>>>8;t[b+26|0]=c>>>16;t[b+27|0]=c>>>24;ld(a,d,4)}Qb=b+32|0;e=v[f+8>>2]}if(e&1024){e=v[f+160>>2];h=v[f+164>>2];j=v[f+168>>2];d=w[f+181|0];k=v[f+172>>2];g=v[f+176>>2];c=0;b=Qb-16|0;Qb=b;o=w[f+180|0];if(o>>>0>=4){Gc(a,46770)}p=Bc(e);l=Bc(k)+((d|0)!=0)|0;m=(p+l|0)+11|0;n=ug(a,d<<2);if(d>>>0>=1){s=d-1|0;while(1){r=c<<2;i=Bc(v[r+g>>2])+((c|0)!=(s|0))|0;v[n+r>>2]=i;m=i+m|0;c=c+1|0;if((d|0)!=(c|0)){continue}break}}O:{if(!a){c=0;break O}v[a+744>>2]=34;t[b+6|0]=112;t[b+7|0]=67;t[b+8|0]=65;t[b+9|0]=76;t[b+5|0]=m;t[b+4|0]=m>>>8;t[b+3|0]=m>>>16;t[b+2|0]=m>>>24;ld(a,b+2|0,8);v[a+348>>2]=1883455820;_f(a);kd(a,b+6|0,4);v[a+744>>2]=66;c=1;if(!e){break O}m=p+1|0;if(!m){break O}ld(a,e,m);kd(a,e,m)}t[b+11|0]=d;t[b+10|0]=o;t[b+9|0]=j;t[b+8|0]=j>>>8;t[b+7|0]=j>>>16;t[b+6|0]=j>>>24;t[b+5|0]=h;t[b+4|0]=h>>>8;t[b+3|0]=h>>>16;t[b+2|0]=h>>>24;P:{if(!c){break P}e=b+2|0;ld(a,e,10);kd(a,e,10);if(!(!k|!l)){ld(a,k,l);kd(a,k,l)}if(c^1|d>>>0<1){break P}c=0;while(1){h=c<<2;e=v[h+g>>2];Q:{if(!e){break Q}h=v[h+n>>2];if(!h){break Q}ld(a,e,h);kd(a,e,h)}c=c+1|0;if((d|0)!=(c|0)){continue}break}}Zc(a,n);if(a){v[a+744>>2]=130;c=v[a+384>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[b+12|0]=c;t[b+13|0]=c>>>8;t[b+14|0]=c>>>16;t[b+15|0]=c>>>24;ld(a,b+12|0,4)}Qb=b+16|0;e=v[f+8>>2]}if(e&16384){h=w[f+220|0];d=v[f+228>>2];b=Qb-80|0;Qb=b;j=v[f+224>>2];e=Bc(j);m=Bc(d);c=(e+m|0)+2|0;R:{if(c>>>0>=65){Gc(a,47638);break R}t[b|0]=h;gc(b|1,j,e+1|0);gc((b+e|0)+2|0,d,m);if(!a){break R}v[a+744>>2]=34;t[b+76|0]=115;t[b+77|0]=67;t[b+78|0]=65;t[b+79|0]=76;t[b+75|0]=c;t[b+74|0]=c>>>8;t[b+73|0]=c>>>16;t[b+72|0]=c>>>24;ld(a,b+72|0,8);v[a+348>>2]=1933787468;_f(a);kd(a,b+76|0,4);v[a+744>>2]=66;if(c){ld(a,b,c);kd(a,b,c)}v[a+744>>2]=130;c=v[a+384>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[b+72|0]=c;t[b+73|0]=c>>>8;t[b+74|0]=c>>>16;t[b+75|0]=c>>>24;ld(a,b+72|0,4)}Qb=b+80|0;e=v[f+8>>2]}if(e&128){c=v[f+112>>2];d=v[f+116>>2];b=Qb-32|0;Qb=b;e=w[f+120|0];if(e>>>0>=2){Gc(a,47869)}t[b+23|0]=e;t[b+22|0]=d;t[b+21|0]=d>>>8;t[b+20|0]=d>>>16;t[b+19|0]=d>>>24;t[b+18|0]=c;t[b+17|0]=c>>>8;t[b+16|0]=c>>>16;t[b+15|0]=c>>>24;if(a){v[a+744>>2]=34;t[b+24|0]=0;t[b+25|0]=0;t[b+26|0]=0;t[b+27|0]=9;t[b+28|0]=112;t[b+29|0]=72;t[b+30|0]=89;t[b+31|0]=115;d=b+24|0;ld(a,d,8);v[a+348>>2]=1883789683;_f(a);kd(a,b+28|0,4);v[a+744>>2]=66;c=b+15|0;ld(a,c,9);kd(a,c,9);v[a+744>>2]=130;c=v[a+384>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[b+24|0]=c;t[b+25|0]=c>>>8;t[b+26|0]=c>>>16;t[b+27|0]=c>>>24;ld(a,d,4)}Qb=b+32|0;e=v[f+8>>2]}if(e&512){yP(a,f+60|0);v[a+200>>2]=v[a+200>>2]|512;e=v[f+8>>2]}if(!(!(e&8192)|v[f+216>>2]<1)){e=0;while(1){g=Qb-16|0;Qb=g;o=v[f+212>>2]+(e<<4)|0;p=o+4|0;b=w[o+4|0];d=v[o+12>>2];c=Bc(v[o>>2]);S:{T:{if(a){v[a+744>>2]=34;t[g+6|0]=115;t[g+7|0]=80;t[g+8|0]=76;t[g+9|0]=84;s=(b|0)==8?6:10;b=(c+B(s,d)|0)+2|0;t[g+5|0]=b;t[g+4|0]=b>>>8;t[g+3|0]=b>>>16;t[g+2|0]=b>>>24;ld(a,g+2|0,8);v[a+348>>2]=1934642260;_f(a);kd(a,g+6|0,4);v[a+744>>2]=66;b=v[o>>2];U:{if(!b){break U}c=c+1|0;if(!c){break U}ld(a,b,c);kd(a,b,c)}ld(a,p,1);kd(a,p,1);if(v[o+12>>2]<1){break T}h=g+11|0;j=g+10|0;m=g+9|0;k=g+7|0;l=g+6|0;n=g+5|0;i=v[o+8>>2];while(1){b=x[i>>1];V:{if(w[p|0]!=8){b=b<<8|(b&65280)>>>8;t[g+2|0]=b;t[g+3|0]=b>>>8;b=x[i+2>>1];b=b<<8|b>>>8;t[g+4|0]=b;t[g+5|0]=b>>>8;b=x[i+4>>1];b=b<<8|b>>>8;t[g+6|0]=b;t[g+7|0]=b>>>8;r=x[i+6>>1];t[g+8|0]=r>>>8;c=h;d=m;q=j;break V}t[g+2|0]=b;t[g+3|0]=w[i+2|0];t[g+4|0]=w[i+4|0];r=w[i+6|0];c=k;d=n;q=l}t[d|0]=r;b=x[i+8>>1];t[q|0]=b>>>8;t[c|0]=b;b=g+2|0;ld(a,b,s);kd(a,b,s);i=i+10|0;if(i>>>0>2]+B(v[o+12>>2],10)>>>0){continue}break}break T}b=v[o+12>>2];if((b|0)<=0){break S}i=v[o+8>>2];b=i+B(b,10)|0;if(w[p|0]==8){while(1){t[g+2|0]=w[i|0];t[g+3|0]=w[i+2|0];t[g+4|0]=w[i+4|0];t[g+5|0]=w[i+6|0];c=x[i+8>>1];c=c<<8|c>>>8;t[g+6|0]=c;t[g+7|0]=c>>>8;i=i+10|0;if(b>>>0>i>>>0){continue}break T}}while(1){c=x[i>>1];c=c<<8|c>>>8;t[g+2|0]=c;t[g+3|0]=c>>>8;c=x[i+2>>1];c=c<<8|c>>>8;t[g+4|0]=c;t[g+5|0]=c>>>8;c=x[i+4>>1];c=c<<8|c>>>8;t[g+6|0]=c;t[g+7|0]=c>>>8;c=x[i+6>>1];c=c<<8|c>>>8;t[g+8|0]=c;t[g+9|0]=c>>>8;c=x[i+8>>1];c=c<<8|c>>>8;t[g+10|0]=c;t[g+11|0]=c>>>8;i=i+10|0;if(b>>>0>i>>>0){continue}break}}if(!a){break S}v[a+744>>2]=130;b=v[a+384>>2];b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);t[g+12|0]=b;t[g+13|0]=b>>>8;t[g+14|0]=b>>>16;t[g+15|0]=b>>>24;ld(a,g+12|0,4)}Qb=g+16|0;e=e+1|0;if((e|0)>2]){continue}break}}if(v[f+48>>2]>=1){c=v[f+56>>2];while(1){d=B(y,28);b=d+c|0;e=v[b>>2];W:{if((e|0)>=1){AP(a,e,v[b+4>>2],v[b+20>>2],v[b+24>>2],v[b+8>>2]);c=v[f+56>>2];b=d+c|0;if(v[b>>2]==-1){v[b>>2]=-3;break W}v[b>>2]=-2;break W}X:{switch(e+1|0){case 1:FP(a,v[b+4>>2],v[b+8>>2]);c=v[f+56>>2];v[d+c>>2]=-2;break W;case 0:break X;default:break W}}vx(a,v[b+4>>2],v[b+8>>2]);c=v[f+56>>2];v[d+c>>2]=-3}y=y+1|0;if((y|0)>2]){continue}break}}b=v[f+192>>2];if(!b|(b|0)<1){break b}e=v[f+188>>2];while(1){c=pE(a,e);Y:{if((c|0)==1){break Y}b=w[e+16|0];if(!b|!(b&2)|(b&4|b&8)){break Y}if(!(t[a+206|0]&1?1:w[e+3|0]&32|(c|0)==3)){break Y}uD(a,e,v[e+8>>2],v[e+12>>2])}e=e+20|0;if(e>>>0>2]+B(v[f+192>>2],20)>>>0){continue}break}}return}hd(a,9487);L()}function rqa(a,b){a=a|0;b=b|0;var 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,u=0,x=0,z=0,A=0;l=Qb-16|0;Qb=l;a:{b:{c:{if(!a){break c}if(!(v[a+344>>2]|w[a+399|0])){if(!(w[a+201|0]&4)){break b}e=v[a+320>>2];c=B(w[a+403|0],w[a+406|0]);d:{if(c>>>0>=8){e=B(e,c>>>3|0);break d}e=B(c,e)+7>>>3|0}t[a+408|0]=c;t[a+409|0]=w[a+404|0];e=e+1|0;c=ug(a,e);v[a+356>>2]=c;t[c|0]=0;c=w[a+400|0];if(c&16){c=ug(a,v[a+336>>2]+1|0);v[a+360>>2]=c;t[c|0]=1;c=w[a+400|0]}e:{if((c&255)>>>0<32){break e}z=a,A=gu(a,e),v[z+352>>2]=A;d=w[a+400|0];if(d&32){c=ug(a,v[a+336>>2]+1|0);v[a+364>>2]=c;t[c|0]=2;d=w[a+400|0]}if(d&64){c=ug(a,v[a+336>>2]+1|0);v[a+368>>2]=c;t[c|0]=3;d=w[a+400|0]}if(d<<24>>24>-1){break e}c=ug(a,v[a+336>>2]+1|0);v[a+372>>2]=c;t[c|0]=4}c=a;f:{g:{if(w[a+398|0]){e=v[a+324>>2];if(!(w[a+208|0]&2)){v[a+328>>2]=e+7>>>3;e=v[a+320>>2]+7>>>3|0;break f}v[a+328>>2]=e;break g}v[a+328>>2]=v[a+324>>2]}e=v[a+320>>2]}v[c+332>>2]=e;NP(a,1);c=v[a+272>>2];v[a+224>>2]=v[a+268>>2];v[a+228>>2]=c}h:{if(!w[a+398|0]|!(w[a+208|0]&2)){break h}i:{switch(w[a+399|0]){case 0:if(!(w[a+344|0]&7)){break h}Pm(a);break c;case 1:if(!(w[a+344|0]&7)&y[a+320>>2]>4){break h}Pm(a);break c;case 2:if((v[a+344>>2]&7)==4){break h}Pm(a);break c;case 3:if(!(w[a+344|0]&3)&y[a+320>>2]>2){break h}Pm(a);break c;case 4:if((v[a+344>>2]&3)==2){break h}Pm(a);break c;case 5:if(!(t[a+344|0]&1)&y[a+320>>2]>1){break h}Pm(a);break c;case 6:break i;default:break h}}if(t[a+344|0]&1){break h}Pm(a);break c}t[l+8|0]=w[a+401|0];e=v[a+332>>2];v[l>>2]=e;c=w[a+406|0];t[l+10|0]=c;d=w[a+403|0];t[l+9|0]=d;d=B(c,d);t[l+11|0]=d;c=l;d=d&255;j:{if(d>>>0>=8){e=B(e,d>>>3|0);break j}e=B(d,e)+7>>>3|0}v[c+4>>2]=e;gc(v[a+356>>2]+1|0,b,e);k:{if(!w[a+398|0]){break k}i=w[a+399|0];if(!(w[a+208|0]&2)|i>>>0>5){break k}d=v[a+356>>2]+1|0;if(i>>>0<=5){l:{m:{n:{o:{p:{q:{c=w[l+11|0];switch(c-1|0){case 3:break o;case 1:break p;case 0:break q;default:break m}}b=w[i+76656|0];h=v[l>>2];if(b>>>0>=h>>>0){break l}k=w[i+76663|0];e=d;g=7;c=b;while(1){f=(w[d+(c>>>3|0)|0]>>>((c^-1)&7)&1)<>>0>c>>>0){continue}break}if((g|0)!=7){break n}break l}b=w[i+76656|0];h=v[l>>2];if(b>>>0>=h>>>0){break l}k=w[i+76663|0];e=d;g=6;c=b;while(1){f=(w[d+(c>>>2|0)|0]>>>((c<<1^-1)&6)&3)<>>0>c>>>0){continue}break}if((g|0)!=6){break n}break l}b=w[i+76656|0];h=v[l>>2];if(b>>>0>=h>>>0){break l}k=w[i+76663|0];c=b;g=4;e=d;while(1){f=(w[d+(c>>>1|0)|0]>>>((c<<2^-1)&4)&15)<>>0>c>>>0){continue}break}if((g|0)==4){break l}}t[e|0]=f;break l}b=w[i+76656|0];g=v[l>>2];if(b>>>0>=g>>>0){break l}e=c>>>3|0;h=w[i+76663|0];c=b;f=d;while(1){k=d+B(c,e)|0;if((k|0)!=(f|0)){gc(f,k,e)}f=f+e|0;c=c+h|0;if(g>>>0>c>>>0){continue}break}}c=w[i+76663|0];c=((c+v[l>>2]|0)+(b^-1)>>>0)/(c>>>0)|0;v[l>>2]=c;b=l;d=b;e=w[b+11|0];u:{if(e>>>0>=8){b=B(c,e>>>3|0);break u}b=B(c,e)+7>>>3|0}v[d+4>>2]=b}if(v[l>>2]){break k}Pm(a);break c}if(v[a+208>>2]){v:{if(!a){break v}c=v[a+208>>2];w:{if(!(c&1048576)){break w}b=v[a+188>>2];if(!b){break w}Ub[b|0](a,l,v[a+356>>2]+1|0);c=v[a+208>>2]}x:{if(!(c&32768)){break x}if(w[a+401|0]&5){Gc(a,2675);c=v[a+208>>2]&-32769;v[a+208>>2]=c;break x}_D(l,v[a+356>>2]+1|0,(v[a+204>>2]>>>7^-1)&1);c=v[a+208>>2]}if(c&65536){AR(l,v[a+356>>2]+1|0);c=v[a+208>>2]}if(c&4){c=v[a+356>>2]+1|0;i=w[a+402|0];d=0;if(!(w[l+9|0]!=8|w[l+10|0]!=1)){y:{z:{A:{B:{switch(i-1|0){case 0:b=v[l>>2];if(!b){break y}g=b&1;if((b|0)==1){e=128;b=c;break A}f=b&-2;e=128;b=c;while(1){d=(w[c|0]?e:0)|d;if(e>>>0>=2){e=e>>>1|0}else{t[b|0]=d;b=b+1|0;d=0;e=128}d=(w[c+1|0]?e:0)|d;C:{if(e>>>0<=1){t[b|0]=d;b=b+1|0;d=0;e=128;break C}e=e>>>1|0}c=c+2|0;f=f-2|0;if(f){continue}break};break A;case 3:b=v[l>>2];if(!b){break y}g=b&1;D:{if((b|0)==1){e=4;b=c;break D}f=b&-2;e=4;b=c;while(1){d=(w[c|0]&15)<>2];if(!b){break y}g=b&1;G:{if((b|0)==1){e=6;b=c;break G}f=b&-2;e=6;b=c;while(1){d=(w[c|0]&3)<>>0<=1){t[b|0]=d;b=b+1|0;e=128;d=0;break J}e=e>>>1|0}if((e|0)==128){break y}}t[b|0]=d}t[l+9|0]=i;e=B(i,w[l+10|0]);t[l+11|0]=e;c=v[l>>2];b=l;e=e&255;K:{if(e>>>0>=8){c=B(c,e>>>3|0);break K}c=B(c,e)+7>>>3|0}v[b+4>>2]=c}c=v[a+208>>2]}if(c&16){GR(l,v[a+356>>2]+1|0);c=v[a+208>>2]}if(c&8){d=v[a+356>>2]+1|0;e=Qb-32|0;Qb=e;f=w[l+8|0];L:{if((f|0)==3){break L}b=w[l+9|0];M:{if(f&2){g=w[a+497|0];c=w[a+498|0];v[e+4>>2]=c;v[e+20>>2]=b-c;c=w[a+499|0];v[e+8>>2]=c;v[e+24>>2]=b-c;h=3;break M}g=w[a+500|0];h=1}v[e>>2]=g;c=b-g|0;v[e+16>>2]=c;if(f&4){f=h<<2;i=w[a+501|0];v[(f|e)>>2]=i;v[(f|e+16)>>2]=b-i;h=h+1|0}N:{if(b>>>0<=7){h=v[l+4>>2];if(!h){break L}if(!b){break N}f=w[a+500|0];i=(b|0)==4?(f|0)==3?17:255:255;j=(f|0)==1?(b|0)==2?85:i:i;o=(c|0)<1;i=0;while(1){k=w[d|0];b=c;f=0;if(!o){while(1){f=k<0){continue}break}}t[d|0]=j&k>>>0-b|f;d=d+1|0;i=i+1|0;if((h|0)!=(i|0)){continue}break}break L}c=B(v[l>>2],h);if((b|0)==8){if(!c){break L}i=0;while(1){g=w[d|0];t[d|0]=0;f=(i>>>0)%(h>>>0)<<2;b=v[f+(e+16|0)>>2];k=v[f+e>>2];if((b|0)>(0-k|0)){f=0;if((b|0)>=1){while(1){f=g<0){continue}break}}t[d|0]=g>>>0-b|f}d=d+1|0;i=i+1|0;if((c|0)!=(i|0)){continue}break}break L}if(!c){break L}g=0;while(1){f=0;i=0;k=(g>>>0)%(h>>>0)<<2;b=v[k+(e+16|0)>>2];k=v[e+k>>2];if((b|0)>(0-k|0)){i=w[d+1|0]|w[d|0]<<8;while(1){j=(b|0)>0;f=(j?i<>>0-b|0)|f;b=b-k|0;if(j){continue}break}i=(f&65280)>>>8|0}t[d+1|0]=f;t[d|0]=i;d=d+2|0;g=g+1|0;if((c|0)!=(g|0)){continue}break}break L}ic(d,0,h)}Qb=e+32|0;c=v[a+208>>2]}if(c&131072){b=v[a+356>>2]+1|0;O:{P:{switch(w[l+8|0]-4|0){case 2:e=v[l>>2];if(w[l+9|0]==8){if(!e){break O}if((e|0)!=1){c=e&-2;while(1){d=w[b|0];t[b|0]=w[b+1|0];f=w[b+2|0]|w[b+3|0]<<8;t[b+1|0]=f;t[b+2|0]=f>>>8;t[b+3|0]=d;d=w[b+4|0];t[b+4|0]=w[b+5|0];f=w[b+6|0]|w[b+7|0]<<8;t[b+5|0]=f;t[b+6|0]=f>>>8;t[b+7|0]=d;b=b+8|0;c=c-2|0;if(c){continue}break}}if(!(e&1)){break O}c=w[b|0];t[b|0]=w[b+1|0];e=w[b+2|0]|w[b+3|0]<<8;t[b+1|0]=e;t[b+2|0]=e>>>8;t[b+3|0]=c;break O}if(!e){break O}c=0;while(1){d=w[b|0]|w[b+1|0]<<8;t[b|0]=w[b+2|0];f=w[b+3|0]|w[b+4|0]<<8;t[b+3|0]=w[b+5|0];t[b+1|0]=f;t[b+2|0]=f>>>8;f=w[b+6|0]|w[b+7|0]<<8;t[b+4|0]=f;t[b+5|0]=f>>>8;t[b+6|0]=d;t[b+7|0]=d>>>8;b=b+8|0;c=c+1|0;if((e|0)!=(c|0)){continue}break};break O;case 0:break P;default:break O}}e=v[l>>2];if(w[l+9|0]==8){if(!e){break O}c=e&3;if(e-1>>>0>=3){d=e&-4;while(1){e=w[b+1|0];t[b+1|0]=w[b|0];t[b|0]=e;e=w[b+2|0];t[b+2|0]=w[b+3|0];t[b+3|0]=e;e=w[b+4|0];t[b+4|0]=w[b+5|0];t[b+5|0]=e;e=w[b+6|0];t[b+6|0]=w[b+7|0];t[b+7|0]=e;b=b+8|0;d=d-4|0;if(d){continue}break}}if(!c){break O}while(1){e=w[b+1|0];t[b+1|0]=w[b|0];t[b|0]=e;b=b+2|0;c=c-1|0;if(c){continue}break}break O}if(!e){break O}if((e|0)!=1){c=e&-2;while(1){d=Gib(w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24),16);t[b|0]=d;t[b+1|0]=d>>>8;t[b+2|0]=d>>>16;t[b+3|0]=d>>>24;d=Gib(w[b+4|0]|w[b+5|0]<<8|(w[b+6|0]<<16|w[b+7|0]<<24),16);t[b+4|0]=d;t[b+5|0]=d>>>8;t[b+6|0]=d>>>16;t[b+7|0]=d>>>24;b=b+8|0;c=c-2|0;if(c){continue}break}}if(!(e&1)){break O}c=Gib(w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24),16);t[b|0]=c;t[b+1|0]=c>>>8;t[b+2|0]=c>>>16;t[b+3|0]=c>>>24}c=v[a+208>>2]}Q:{if(!(c&524288)){break Q}c=v[a+356>>2]+1|0;R:{switch(w[l+8|0]-4|0){case 2:b=v[l>>2];if(w[l+9|0]==8){if(!b){break Q}d=b&3;if(b-1>>>0>=3){b=b&-4;while(1){t[c+3|0]=w[c+3|0]^-1;t[c+7|0]=w[c+7|0]^-1;t[c+11|0]=w[c+11|0]^-1;t[c+15|0]=w[c+15|0]^-1;c=c+16|0;b=b-4|0;if(b){continue}break}}if(!d){break Q}while(1){t[c+3|0]=w[c+3|0]^-1;c=c+4|0;d=d-1|0;if(d){continue}break}break Q}if(!b){break Q}d=b&3;if(b-1>>>0>=3){b=b&-4;while(1){t[c+6|0]=w[c+6|0]^-1;t[c+7|0]=w[c+7|0]^-1;t[c+14|0]=w[c+14|0]^-1;t[c+15|0]=w[c+15|0]^-1;t[c+22|0]=w[c+22|0]^-1;t[c+23|0]=w[c+23|0]^-1;t[c+30|0]=w[c+30|0]^-1;t[c+31|0]=w[c+31|0]^-1;c=c+32|0;b=b-4|0;if(b){continue}break}}if(!d){break Q}while(1){t[c+6|0]=w[c+6|0]^-1;t[c+7|0]=w[c+7|0]^-1;c=c+8|0;d=d-1|0;if(d){continue}break};break Q;case 0:break R;default:break Q}}b=v[l>>2];if(w[l+9|0]==8){if(!b){break Q}d=b&3;if(b-1>>>0>=3){b=b&-4;while(1){t[c+1|0]=w[c+1|0]^-1;t[c+3|0]=w[c+3|0]^-1;t[c+5|0]=w[c+5|0]^-1;t[c+7|0]=w[c+7|0]^-1;c=c+8|0;b=b-4|0;if(b){continue}break}}if(!d){break Q}while(1){t[c+1|0]=w[c+1|0]^-1;c=c+2|0;d=d-1|0;if(d){continue}break}break Q}if(!b){break Q}d=b&3;if(b-1>>>0>=3){b=b&-4;while(1){t[c+2|0]=w[c+2|0]^-1;t[c+3|0]=w[c+3|0]^-1;t[c+6|0]=w[c+6|0]^-1;t[c+7|0]=w[c+7|0]^-1;t[c+10|0]=w[c+10|0]^-1;t[c+11|0]=w[c+11|0]^-1;t[c+14|0]=w[c+14|0]^-1;t[c+15|0]=w[c+15|0]^-1;c=c+16|0;b=b-4|0;if(b){continue}break}}if(!d){break Q}while(1){t[c+2|0]=w[c+2|0]^-1;t[c+3|0]=w[c+3|0]^-1;c=c+4|0;d=d-1|0;if(d){continue}break}}b=v[a+208>>2];if(b&1){rR(l,v[a+356>>2]+1|0);b=v[a+208>>2]}if(!(b&32)){break v}KR(l,v[a+356>>2]+1|0)}}b=w[l+11|0];if((b|0)!=w[a+404|0]|(b|0)!=w[a+409|0]){break a}if(!(!(w[a+660|0]&4)|w[a+664|0]!=64)){f=v[a+356>>2]+1|0;d=w[l+8|0];S:{if(!(d&2)){break S}b=v[l>>2];T:{switch(w[l+9|0]-8|0){case 0:e=3;U:{switch(d-2|0){case 4:e=4;break;case 0:break U;default:break S}}if(!b){break S}if((b|0)!=1){d=b&-2;while(1){c=w[f+1|0];t[f|0]=w[f|0]-c;t[f+2|0]=w[f+2|0]-c;c=f+e|0;f=w[c+1|0];t[c+2|0]=w[c+2|0]-f;t[c|0]=w[c|0]-f;f=c+e|0;d=d-2|0;if(d){continue}break}}if(!(b&1)){break S}b=w[f+1|0];t[f|0]=w[f|0]-b;t[f+2|0]=w[f+2|0]-b;break S;case 8:break T;default:break S}}c=6;V:{switch(d-2|0){case 4:c=8;break;case 0:break V;default:break S}}if(!b){break S}e=0;while(1){d=w[f+3|0]|w[f+2|0]<<8;i=(w[f+5|0]|w[f+4|0]<<8)-d|0;t[f+5|0]=i;d=(w[f+1|0]|w[f|0]<<8)-d|0;t[f+1|0]=d;t[f+4|0]=i>>>8;t[f|0]=d>>>8;f=c+f|0;e=e+1|0;if((b|0)!=(e|0)){continue}break}}}r=w[l+11|0];c=r+7|0;j=a;i=v[a+356>>2];o=v[l+4>>2];e=2147483647;q=w[a+400|0];W:{if(!(q&8)|(q|0)==8){break W}if(!o){e=0;break W}a=o&3;X:{if(o-1>>>0<3){e=0;f=i;break X}b=o&-4;e=0;f=i;while(1){g=e;e=t[f+1|0];d=e&255;g=g+((e|0)>-1?d:256-d|0)|0;e=t[f+2|0];d=e&255;g=g+((e|0)>-1?d:256-d|0)|0;e=t[f+3|0];d=e&255;g=g+((e|0)>-1?d:256-d|0)|0;e=t[f+4|0];d=e&255;e=g+((e|0)>-1?d:256-d|0)|0;f=f+4|0;b=b-4|0;if(b){continue}break}}if(!a){break W}while(1){d=e;b=t[f+1|0];e=b&255;e=d+((b|0)>-1?e:256-e|0)|0;f=f+1|0;a=a-1|0;if(a){continue}break}}m=c>>>3|0;k=v[j+352>>2];Y:{Z:{_:{$:{if((q|0)==16){b=i+1|0;f=v[j+360>>2]+1|0;if(!r){d=0;a=b;break _}d=m>>>0>1?m:1;g=d&7;if(d-1>>>0<7){a=b;break $}c=d&56;a=b;while(1){t[f|0]=w[a|0];t[f+1|0]=w[a+1|0];t[f+2|0]=w[a+2|0];t[f+3|0]=w[a+3|0];t[f+4|0]=w[a+4|0];t[f+5|0]=w[a+5|0];t[f+6|0]=w[a+6|0];t[f+7|0]=w[a+7|0];f=f+8|0;a=a+8|0;c=c-8|0;if(c){continue}break}break $}f=i;if(!(q&16)){break Y}d=i+1|0;f=v[j+360>>2]+1|0;aa:{if(!r){c=0;b=0;a=d;break aa}c=m>>>0>1?m:1;n=c&3;ba:{if(c-1>>>0<3){b=0;a=d;break ba}g=c&60;b=0;a=d;while(1){h=t[a|0];t[f|0]=h;s=t[a+1|0];t[f+1|0]=s;u=t[a+2|0];t[f+2|0]=u;x=t[a+3|0];t[f+3|0]=x;p=b;b=h&255;h=p+((h|0)>-1?b:256-b|0)|0;b=s&255;h=h+((s|0)>-1?b:256-b|0)|0;b=u&255;h=h+((u|0)>-1?b:256-b|0)|0;b=x&255;b=h+((x|0)>-1?b:256-b|0)|0;f=f+4|0;a=a+4|0;g=g-4|0;if(g){continue}break}}if(!n){break aa}while(1){g=t[a|0];t[f|0]=g;h=b;b=g&255;b=h+((g|0)>-1?b:256-b|0)|0;f=f+1|0;a=a+1|0;n=n-1|0;if(n){continue}break}}ca:{if(c>>>0>=o>>>0){break ca}while(1){g=w[a|0]-w[d|0]|0;t[f|0]=g;h=b;b=g&255;b=h+(g<<24>>24>-1?b:256-b|0)|0;if(e>>>0>>0){break ca}f=f+1|0;d=d+1|0;a=a+1|0;c=c+1|0;if(o>>>0>c>>>0){continue}break}}f=i;if(b>>>0>=e>>>0){break Y}c=j+360|0;e=b;break Z}if(!g){break _}while(1){t[f|0]=w[a|0];f=f+1|0;a=a+1|0;g=g-1|0;if(g){continue}break}}c=j+360|0;if(d>>>0>=o>>>0){break Z}h=o+(d^-1)|0;g=o-d&3;if(g){while(1){t[f|0]=w[a|0]-w[b|0];f=f+1|0;b=b+1|0;a=a+1|0;d=d+1|0;g=g-1|0;if(g){continue}break}}if(h>>>0<3){break Z}while(1){t[f|0]=w[a|0]-w[b|0];t[f+1|0]=w[a+1|0]-w[b+1|0];t[f+2|0]=w[a+2|0]-w[b+2|0];t[f+3|0]=w[a+3|0]-w[b+3|0];f=f+4|0;b=b+4|0;a=a+4|0;d=d+4|0;if((o|0)!=(d|0)){continue}break}}f=v[c>>2]}da:{ea:{fa:{if((q|0)==32){f=v[j+364>>2];if(!o){break da}d=o&3;ga:{if(o-1>>>0<3){a=i;b=k;break ga}g=o&-4;a=i;b=k;while(1){t[f+1|0]=w[a+1|0]-w[b+1|0];t[f+2|0]=w[a+2|0]-w[b+2|0];t[f+3|0]=w[a+3|0]-w[b+3|0];t[f+4|0]=w[a+4|0]-w[b+4|0];a=a+4|0;f=f+4|0;b=b+4|0;g=g-4|0;if(g){continue}break}}n=j+364|0;if(d){while(1){t[f+1|0]=w[a+1|0]-w[b+1|0];a=a+1|0;f=f+1|0;b=b+1|0;d=d-1|0;if(d){continue}break}}c=e;break fa}if(!(q&32)){break ea}n=j+364|0;ha:{if(!o){c=0;break ha}b=v[j+364>>2];h=0;d=i;g=k;c=0;while(1){a=w[d+1|0]-w[g+1|0]|0;t[b+1|0]=a;p=c;c=a&255;c=p+(a<<24>>24>-1?c:256-c|0)|0;if(e>>>0>>0){break ha}d=d+1|0;b=b+1|0;g=g+1|0;h=h+1|0;if(o>>>0>h>>>0){continue}break}}if(c>>>0>=e>>>0){break ea}}f=v[n>>2];e=c}ia:{ja:{ka:{la:{if((q|0)==64){a=k+1|0;d=i+1|0;b=v[j+368>>2]+1|0;if(!r){h=0;f=d;break ka}h=m>>>0>1?m:1;g=h&3;if(h-1>>>0<3){f=d;break la}c=h&60;f=d;while(1){t[b|0]=w[f|0]-(w[a|0]>>>1|0);t[b+1|0]=w[f+1|0]-(w[a+1|0]>>>1|0);t[b+2|0]=w[f+2|0]-(w[a+2|0]>>>1|0);t[b+3|0]=w[f+3|0]-(w[a+3|0]>>>1|0);b=b+4|0;a=a+4|0;f=f+4|0;c=c-4|0;if(c){continue}break}break la}if(!(q&64)){break ia}b=k+1|0;c=i+1|0;d=v[j+368>>2]+1|0;ma:{if(!r){g=0;a=c;h=0;break ma}h=m>>>0>1?m:1;x=h&1;na:{if(r>>>0<9){g=0;a=c;break na}n=h&62;g=0;a=c;while(1){s=w[a|0]-(w[b|0]>>>1|0)|0;t[d|0]=s;u=w[a+1|0]-(w[b+1|0]>>>1|0)|0;t[d+1|0]=u;p=g;g=s&255;p=p+(s<<24>>24>-1?g:256-g|0)|0;g=u&255;g=p+(u<<24>>24>-1?g:256-g|0)|0;d=d+2|0;b=b+2|0;a=a+2|0;n=n-2|0;if(n){continue}break}}if(!x){break ma}n=w[a|0]-(w[b|0]>>>1|0)|0;t[d|0]=n;p=g;g=n&255;g=p+(n<<24>>24>-1?g:256-g|0)|0;d=d+1|0;b=b+1|0;a=a+1|0}oa:{if(h>>>0>=o>>>0){break oa}while(1){n=w[a|0]-(w[c|0]+w[b|0]>>>1|0)|0;t[d|0]=n;p=g;g=n&255;g=p+(n<<24>>24>-1?g:256-g|0)|0;if(g>>>0>e>>>0){break oa}a=a+1|0;b=b+1|0;c=c+1|0;d=d+1|0;h=h+1|0;if(o>>>0>h>>>0){continue}break}}if(e>>>0<=g>>>0){break ia}c=j+368|0;e=g;break ja}if(!g){break ka}while(1){t[b|0]=w[f|0]-(w[a|0]>>>1|0);b=b+1|0;a=a+1|0;f=f+1|0;g=g-1|0;if(g){continue}break}}c=j+368|0;if(h>>>0>=o>>>0){break ja}g=h+1|0;if(o-h&1){t[b|0]=w[f|0]-(w[i+1|0]+w[a|0]>>>1|0);b=b+1|0;d=i+2|0;f=f+1|0;h=g;a=a+1|0}if((g|0)==(o|0)){break ja}while(1){t[b|0]=w[f|0]-(w[d|0]+w[a|0]>>>1|0);t[b+1|0]=w[f+1|0]-(w[d+1|0]+w[a+1|0]>>>1|0);b=b+2|0;d=d+2|0;a=a+2|0;f=f+2|0;h=h+2|0;if((o|0)!=(h|0)){continue}break}}f=v[c>>2]}pa:{qa:{ra:{if((q|0)==128){e=k+1|0;d=i+1|0;f=v[j+372>>2]+1|0;if(!r){h=0;a=d;b=e;break qa}h=m>>>0>1?m:1;g=h&3;if(h-1>>>0<3){b=e;a=d;break ra}c=h&60;b=e;a=d;while(1){t[f|0]=w[a|0]-w[b|0];t[f+1|0]=w[a+1|0]-w[b+1|0];t[f+2|0]=w[a+2|0]-w[b+2|0];t[f+3|0]=w[a+3|0]-w[b+3|0];f=f+4|0;b=b+4|0;a=a+4|0;c=c-4|0;if(c){continue}break}break ra}if(!(q&128)){break da}c=k+1|0;h=i+1|0;d=v[j+372>>2]+1|0;sa:{if(!r){g=0;a=h;b=c;i=0;break sa}i=m>>>0>1?m:1;q=i&1;ta:{if(r>>>0<9){g=0;b=c;a=h;break ta}n=i&62;g=0;b=c;a=h;while(1){k=w[a|0]-w[b|0]|0;t[d|0]=k;m=w[a+1|0]-w[b+1|0]|0;t[d+1|0]=m;p=g;g=k&255;k=p+(k<<24>>24>-1?g:256-g|0)|0;g=m&255;g=k+(m<<24>>24>-1?g:256-g|0)|0;d=d+2|0;b=b+2|0;a=a+2|0;n=n-2|0;if(n){continue}break}}if(!q){break sa}k=w[a|0]-w[b|0]|0;t[d|0]=k;m=g;g=k&255;g=m+(k<<24>>24>-1?g:256-g|0)|0;d=d+1|0;b=b+1|0;a=a+1|0}ua:{if(i>>>0>=o>>>0){break ua}while(1){s=w[h|0];k=w[c|0];m=s-k|0;n=m>>31;u=w[b|0];q=u-k|0;x=q+m|0;r=x>>31;p=k;k=n^m+n;m=r^r+x;n=k>>>0>m>>>0?p:u;p=m;m=q>>31;m=m+q^m;k=w[a|0]-(k>>>0>>0?n:p>>>0>>0?n:s)|0;t[d|0]=k;m=g;g=k&255;g=m+(k<<24>>24>-1?g:256-g|0)|0;if(g>>>0>e>>>0){break ua}b=b+1|0;c=c+1|0;h=h+1|0;a=a+1|0;d=d+1|0;i=i+1|0;if(o>>>0>i>>>0){continue}break}}if(e>>>0<=g>>>0){break da}g=j+372|0;break pa}if(!g){break qa}while(1){t[f|0]=w[a|0]-w[b|0];f=f+1|0;b=b+1|0;a=a+1|0;g=g-1|0;if(g){continue}break}}g=j+372|0;if(h>>>0>=o>>>0){break pa}while(1){q=w[d|0];c=w[e|0];i=q-c|0;k=i>>31;r=w[b|0];m=r-c|0;s=m+i|0;n=s>>31;p=c;c=k^i+k;i=n^n+s;k=c>>>0>i>>>0?p:r;p=i;i=m>>31;i=i+m^i;t[f|0]=w[a|0]-(c>>>0>>0?k:p>>>0>>0?k:q);f=f+1|0;a=a+1|0;d=d+1|0;e=e+1|0;b=b+1|0;h=h+1|0;if((o|0)!=(h|0)){continue}break}}f=v[g>>2]}a=v[l+4>>2];v[j+216>>2]=0;v[j+212>>2]=f;b=j+212|0;a=a+1|0;f=0;va:{wa:{while(1){if(!f){v[j+216>>2]=a;a=0}if(Nj(b,0)){a=v[j+236>>2];if(a){break wa}hd(j,48900);L()}if(!v[j+228>>2]){Mt(j,v[j+268>>2],v[j+272>>2])}f=v[j+216>>2];if(f|a){continue}break}a=v[j+352>>2];if(a){b=v[j+356>>2];v[j+356>>2]=a;v[j+352>>2]=b}Pm(j);a=v[j+452>>2]+1|0;v[j+452>>2]=a;b=v[j+448>>2];if(!(!b|a>>>0>>0)){xa:{if(!j|y[j+344>>2]>=y[j+328>>2]){break xa}ya:{b=j+212|0;if(Nj(b,2)){break ya}while(1){a=v[j+228>>2];if(!a){Mt(j,v[j+268>>2],v[j+272>>2]);if(!Nj(b,2)){continue}break ya}break}b=v[j+272>>2];if((b|0)!=(a|0)){Mt(j,v[j+268>>2],b-a|0)}v[j+452>>2]=0;a=v[j+444>>2];if(a){Ub[a|0](j)}break xa}a=v[j+236>>2];if(!a){hd(j,20515);L()}hd(j,a);L()}}break va}hd(j,a);L()}a=v[j+524>>2];if(!a){break c}Ub[a|0](j,v[j+344>>2],w[j+399|0])}Qb=l+16|0;return}hd(a,15214);L()}hd(a,18023);L()}function ECa(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,j=0,k=0,l=0,m=0,n=0;i=Qb-1152|0;Qb=i;j=v[g>>2];g=v[g+4>>2];m=v[d>>2];l=v[d+4>>2];v[a+156>>2]=0;v[a>>2]=896644;d=fc(8);v[299999]=0;Q(3063,d|0,c|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=P()|0;O()|0;dc(d);T(a|0);L()}v[a+32>>2]=j;v[a+36>>2]=g;v[a+20>>2]=f;v[a+16>>2]=e;v[a+8>>2]=m;v[a+12>>2]=l;v[a+4>>2]=d;v[a+152>>2]=0;v[a+28>>2]=0;v[a+3528>>2]=13;v[a+3512>>2]=13;v[a>>2]=896736;v[i+56>>2]=13;v[i+40>>2]=13;v[i+24>>2]=13;v[a+160>>2]=0;v[a+1444>>2]=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{if(!e){break m}v[299999]=0;f=S(1,8)|0;c=v[299999];v[299999]=0;if((c|0)==1){break j}v[299999]=0;c=Q(3064,f|0,e|0)|0;d=v[299999];v[299999]=0;n:{if((d|0)!=1){e=0;d=v[c>>2];if((d|0)>0){while(1){o:{if(w[v[c+4>>2]+e|0]==32){v[299999]=0;Y(3511,c|0,e|0,1)|0;d=v[299999];v[299999]=0;if((d|0)!=1){d=v[c>>2];break o}e=P()|0;O()|0;break a}e=e+1|0}if((d|0)>(e|0)){continue}break}}d=65;e=0;while(1){g=(d+e|0)/2|0;j=v[(g<<3)+1111664>>2];v[299999]=0;j=Ad(c,j);m=v[299999];v[299999]=0;if((m|0)==1){break i}j=(j|0)>-1;d=j?d:g;e=j?g:e;if((d-e|0)>1){continue}break}d=(e<<3)+1111664|0;e=v[d>>2];v[299999]=0;e=Ad(c,e);g=v[299999];v[299999]=0;if((g|0)==1){break j}if(!e){v[a+160>>2]=d}Dc(c);dc(f);c=v[a+160>>2];if(!c){break m}m=0;d=0;g=1043968;c=v[c+4>>2];if(!mc(c,v[260992])){break l}if(mc(c,v[260999])){break n}g=1043996;d=1;break l}e=P()|0;O()|0;dc(f);break a}if(!mc(c,v[261006])){g=1044024;d=2;break l}if(!mc(c,v[261013])){g=1044052;d=3;break l}if(!mc(c,v[261020])){g=1044080;d=4;break l}if(!mc(c,v[261027])){g=1044108;d=5;break l}if(!mc(c,v[261034])){g=1044136;d=6;break l}if(!mc(c,v[261041])){g=1044164;d=7;break l}if(!mc(c,v[261048])){g=1044192;d=8;break l}if(!mc(c,v[261055])){g=1044220;d=9;break l}if(!mc(c,v[261062])){g=1044248;d=10;break l}if(!mc(c,v[261069])){g=1044276;d=11;break l}if(!mc(c,v[261076])){g=1044304;d=12;break l}if(mc(c,v[261083])){break m}g=1044332;d=13;break l}v[a+144>>2]=0;v[a+148>>2]=1072168960;v[a+136>>2]=0;v[a+140>>2]=-1076887552;v[a+128>>2]=0;v[a+132>>2]=1072168960;v[a+120>>2]=0;v[a+124>>2]=0;v[a+88>>2]=0;v[a+92>>2]=0;v[a+96>>2]=0;v[a+100>>2]=0;v[a+104>>2]=0;v[a+108>>2]=0;v[a+112>>2]=0;v[a+116>>2]=0;g=0;m=1;break k}c=B(d,28)+1043968|0;A[a+120>>3]=u[c+8>>1];k=+u[c+10>>1]*.001;A[a+128>>3]=k;d=u[c+12>>1];A[a+144>>3]=k;A[a+136>>3]=+(d|0)*.001;A[a+88>>3]=+u[c+14>>1]*.001;A[a+96>>3]=+u[c+16>>1]*.001;A[a+104>>3]=+u[c+18>>1]*.001;A[a+112>>3]=+u[c+20>>1]*.001}v[299999]=0;U(3513,a|0,a|0,h|0);c=v[299999];v[299999]=0;if((c|0)==1){break j}if(!m){k=+u[g+10>>1]*.001;A[a+128>>3]=k;c=u[g+12>>1];A[a+144>>3]=k;A[a+136>>3]=+(c|0)*.001;A[a+88>>3]=+u[g+14>>1]*.001;A[a+96>>3]=+u[g+16>>1]*.001;A[a+104>>3]=+u[g+18>>1]*.001;A[a+112>>3]=+u[g+20>>1]*.001}v[a+40>>2]=0;v[a+44>>2]=1072693248;v[a+48>>2]=0;v[a+52>>2]=0;c=a- -64|0;v[c>>2]=0;v[c+4>>2]=1072693248;v[a+56>>2]=0;v[a+60>>2]=0;v[a+72>>2]=0;v[a+76>>2]=0;v[a+80>>2]=0;v[a+84>>2]=0;v[299999]=0;c=Z(3101,h|0,220526,i+56|0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break j}p:{if(v[c>>2]!=6){break p}c=v[i+64>>2];if(v[c+12>>2]<1){break p}v[299999]=0;c=Z(3114,c|0,0,i+40|0,0)|0;d=v[299999];v[299999]=0;q:{if((d|0)==1){break q}if(v[c>>2]-1>>>0<=1){A[a+40>>3]=v[i+40>>2]==1?+v[i+48>>2]:A[i+48>>3]}v[299999]=0;R(3098,i+40|0);c=v[299999];v[299999]=0;if((c|0)==1){break q}c=v[i+64>>2];if(v[c+12>>2]<=1){break p}v[299999]=0;c=Z(3114,c|0,1,i+40|0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break q}if(v[c>>2]-1>>>0<=1){A[a+48>>3]=v[i+40>>2]==1?+v[i+48>>2]:A[i+48>>3]}v[299999]=0;R(3098,i+40|0);c=v[299999];v[299999]=0;if((c|0)==1){break q}c=v[i+64>>2];if(v[c+12>>2]<3){break p}v[299999]=0;c=Z(3114,c|0,2,i+40|0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break q}if(v[c>>2]-1>>>0<=1){A[a+56>>3]=v[i+40>>2]==1?+v[i+48>>2]:A[i+48>>3]}v[299999]=0;R(3098,i+40|0);c=v[299999];v[299999]=0;if((c|0)==1){break q}c=v[i+64>>2];if(v[c+12>>2]<4){break p}v[299999]=0;c=Z(3114,c|0,3,i+40|0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break q}if(v[c>>2]-1>>>0<=1){A[a+64>>3]=v[i+40>>2]==1?+v[i+48>>2]:A[i+48>>3]}v[299999]=0;R(3098,i+40|0);c=v[299999];v[299999]=0;if((c|0)==1){break q}c=v[i+64>>2];if(v[c+12>>2]<5){break p}v[299999]=0;c=Z(3114,c|0,4,i+40|0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break q}if(v[c>>2]-1>>>0<=1){A[a+72>>3]=v[i+40>>2]==1?+v[i+48>>2]:A[i+48>>3]}v[299999]=0;R(3098,i+40|0);c=v[299999];v[299999]=0;if((c|0)==1){break q}c=v[i+64>>2];if(v[c+12>>2]<6){break p}v[299999]=0;c=Z(3114,c|0,5,i+40|0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break q}if(v[c>>2]-1>>>0<=1){A[a+80>>3]=v[i+40>>2]==1?+v[i+48>>2]:A[i+48>>3]}v[299999]=0;R(3098,i+40|0);c=v[299999];v[299999]=0;if((c|0)!=1){break p}}e=P()|0;O()|0;break a}v[299999]=0;R(3098,i+56|0);c=v[299999];v[299999]=0;if((c|0)==1){break j}r:{if(v[a+20>>2]!=4){break r}v[299999]=0;c=Z(3101,h|0,220491,i+56|0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break j}s:{if(v[c>>2]!=6){break s}c=v[i+64>>2];if(v[c+12>>2]<1){break s}v[299999]=0;c=Z(3114,c|0,0,i+40|0,0)|0;d=v[299999];v[299999]=0;t:{if((d|0)==1){break t}if(v[c>>2]-1>>>0<=1){A[a+88>>3]=v[i+40>>2]==1?+v[i+48>>2]:A[i+48>>3]}v[299999]=0;R(3098,i+40|0);c=v[299999];v[299999]=0;if((c|0)==1){break t}c=v[i+64>>2];if(v[c+12>>2]<=1){break s}v[299999]=0;c=Z(3114,c|0,1,i+40|0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break t}if(v[c>>2]-1>>>0<=1){A[a+96>>3]=v[i+40>>2]==1?+v[i+48>>2]:A[i+48>>3]}v[299999]=0;R(3098,i+40|0);c=v[299999];v[299999]=0;if((c|0)==1){break t}c=v[i+64>>2];if(v[c+12>>2]<3){break s}v[299999]=0;c=Z(3114,c|0,2,i+40|0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break t}if(v[c>>2]-1>>>0<=1){A[a+104>>3]=v[i+40>>2]==1?+v[i+48>>2]:A[i+48>>3]}v[299999]=0;R(3098,i+40|0);c=v[299999];v[299999]=0;if((c|0)==1){break t}c=v[i+64>>2];if(v[c+12>>2]<4){break s}v[299999]=0;c=Z(3114,c|0,3,i+40|0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break t}if(v[c>>2]-1>>>0<=1){A[a+112>>3]=v[i+40>>2]==1?+v[i+48>>2]:A[i+48>>3]}v[299999]=0;R(3098,i+40|0);c=v[299999];v[299999]=0;if((c|0)!=1){break s}}e=P()|0;O()|0;break a}v[299999]=0;R(3098,i+56|0);c=v[299999];v[299999]=0;if((c|0)==1){break j}v[299999]=0;c=a+3512|0;d=Z(3101,h|0,236964,c|0,0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break j}if(v[d>>2]!=7){v[299999]=0;$(3514,1,-1,228074,0);d=v[299999];v[299999]=0;if((d|0)==1){break j}v[299999]=0;R(3098,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break j}}v[299999]=0;c=a+3528|0;d=Z(3101,h|0,236851,c|0,0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break j}if(v[d>>2]==7){break r}v[299999]=0;R(3098,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break j}}f=0;v[a+1456>>2]=0;v[a+1448>>2]=0;v[a+1452>>2]=0;v[299999]=0;Z(3101,h|0,272962,i+56|0,0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break j}u:{v:{switch(v[i+56>>2]-4|0){case 3:v[299999]=0;Z(3101,v[i+64>>2],272923,i+40|0,0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break j}w:{if(v[i+40>>2]!=4){break w}c=v[i+48>>2];if(!mc(c,272890)){v[a+1448>>2]=1;v[a+1452>>2]=1;f=1094704;break w}if(!mc(c,272872)){v[a+1448>>2]=1;f=1095728;break w}if(mc(c,272907)){break w}v[a+1448>>2]=1;f=1096752}v[299999]=0;R(3098,i+40|0);c=v[299999];v[299999]=0;if((c|0)!=1){break u}break j;case 0:break v;default:break u}}c=v[i+64>>2];if(!mc(c,272890)){v[a+1448>>2]=1;v[a+1452>>2]=1;f=1094704;break u}if(!mc(c,272872)){v[a+1448>>2]=1;f=1095728;break u}if(mc(c,272907)){break u}v[a+1448>>2]=1;f=1096752}x:{y:{z:{A:{d=v[a+20>>2];c=v[a+32>>2];if(!((d|0)!=1|(c|0)<0)){v[299999]=0;c=Y(3515,a|0,b|0,i+1148|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break j}if(!c){break y}v[299999]=0;j=Q(3516,c|0,v[i+1148>>2])|0;b=v[299999];v[299999]=0;if((b|0)==1){break j}B:{if(!j){break B}v[299999]=0;b=S(3517,j|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break j}if(b){b=v[a+28>>2];if(b){dc(Dc(b))}v[299999]=0;b=S(1,8)|0;d=v[299999];v[299999]=0;if((d|0)==1){break j}v[299999]=0;d=S(3517,j|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break A}v[299999]=0;Q(3063,b|0,d|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break A}v[a+28>>2]=b}if(f){break B}v[299999]=0;f=S(3518,j|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break j}v[a+1456>>2]=1}b=0;v[299999]=0;uc(c);c=v[299999];v[299999]=0;if((c|0)==1){break j}break x}j=0;if((d|0)!=2){b=0;break x}if((c|0)<0){b=0;break x}v[299999]=0;c=Y(3515,a|0,b|0,i+1148|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break j}if(!c){break y}v[299999]=0;b=Q(3519,c|0,v[i+1148>>2])|0;d=v[299999];v[299999]=0;if((d|0)==1){break j}C:{if(!b){break C}v[299999]=0;d=v[b+20>>2];if(d){d=v[d+4>>2]}else{d=0}e=v[299999];v[299999]=0;if((e|0)==1){break j}if(d){d=v[a+28>>2];if(d){dc(Dc(d))}v[299999]=0;d=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break j}v[299999]=0;e=v[b+20>>2];if(e){e=v[e+4>>2]}else{e=0}j=v[299999];v[299999]=0;if((j|0)==1){break z}v[299999]=0;Q(3063,d|0,e|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break z}v[a+28>>2]=d}if(f){break C}v[299999]=0;f=v[b+24>>2];d=v[299999];v[299999]=0;if((d|0)==1){break j}v[a+1456>>2]=1}j=0;v[299999]=0;uc(c);c=v[299999];v[299999]=0;if((c|0)==1){break j}break x}e=P()|0;O()|0;dc(b);break a}e=P()|0;O()|0;dc(d);break a}j=0;b=0}D:{if(f){break D}if(!(v[a+32>>2]>-1|m)){f=v[g+4>>2];v[a+1448>>2]=1;break D}f=v[a+20>>2]==5?1096752:1097776}e=0;while(1){d=e<<2;c=d+a|0;d=d+f|0;v[c+164>>2]=v[d>>2];l=w[a+1456|0];t[(a+e|0)+1188|0]=l;if(!(!l|!v[c+164>>2])){d=v[d>>2];v[299999]=0;d=S(3522,d|0)|0;l=v[299999];v[299999]=0;if((l|0)==1){break h}v[c+164>>2]=d}e=e+1|0;if((e|0)!=256){continue}break}if(!(!v[a+1456>>2]|(v[a+20>>2]!=2|v[a+32>>2]<0))){e=0;while(1){c=e<<2;d=c+a|0;E:{if(v[d+164>>2]){break E}c=v[c+1097776>>2];if(!c){break E}v[d+164>>2]=c;t[(a+e|0)+1188|0]=0}c=e|1;d=c<<2;f=d+a|0;F:{if(v[f+164>>2]){break F}d=v[d+1097776>>2];if(!d){break F}v[f+164>>2]=d;t[(a+c|0)+1188|0]=0}e=e+2|0;if((e|0)!=256){continue}break}}if(v[i+56>>2]==7){v[299999]=0;Z(3101,v[i+64>>2],236861,i+40|0,0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break j}G:{if(v[i+40>>2]!=6){break G}v[a+1448>>2]=1;c=v[i+48>>2];if(v[c+12>>2]<1){break G}e=0;d=0;while(1){v[299999]=0;Z(3114,c|0,e|0,i+24|0,0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break g}H:{I:{switch(v[i+24>>2]-1|0){case 0:d=v[i+32>>2];break H;case 3:if(d>>>0<=255){c=(a+d|0)+1188|0;if(w[c|0]){f=v[((d<<2)+a|0)+164>>2];v[299999]=0;uc(f);f=v[299999];v[299999]=0;if((f|0)==1){break g}}v[299999]=0;f=S(3522,v[i+32>>2])|0;l=v[299999];v[299999]=0;if((l|0)==1){break g}v[((d<<2)+a|0)+164>>2]=f;t[c|0]=1}d=d+1|0;break H;default:break I}}v[299999]=0;c=v[(v[i+24>>2]<<2)+1121632>>2];f=v[299999];v[299999]=0;if((f|0)==1){break g}v[i+16>>2]=c;v[299999]=0;$(3514,1,-1,335932,i+16|0);c=v[299999];v[299999]=0;if((c|0)==1){break g}}v[299999]=0;R(3098,i+24|0);c=v[299999];v[299999]=0;if((c|0)==1){break g}e=e+1|0;c=v[i+48>>2];if((e|0)>2]){continue}break}}v[299999]=0;R(3098,i+40|0);c=v[299999];v[299999]=0;if((c|0)==1){break j}}v[299999]=0;R(3098,i+56|0);c=v[299999];v[299999]=0;if((c|0)==1){break j}if(j){Ub[v[v[j>>2]+4>>2]](j)}if(b){Ub[v[v[b>>2]+4>>2]](b)}b=0;j=0;e=0;while(1){d=e<<2;c=v[(d+a|0)+164>>2];J:{if(c){v[299999]=0;f=iy(v[294330],c);l=v[299999];v[299999]=0;if((l|0)==1){break f}v[d+(i+112|0)>>2]=f;if(f){break J}if(!mc(c,273792)){break J}j=1;K:{L:{switch(Bc(c)-2|0){case 1:if((w[c|0]|32)-97>>>0>=26){break J}d=w[c+1|0];if(!(d-48>>>0<10|(d|32)-97>>>0<6)){break J}c=w[c+2|0];if(!(c-48>>>0<10|(c|32)-97>>>0<6)){break J}if(((d&223)-65&255)>>>0<6|(c-97&255)>>>0<6|(c-65&255)>>>0<6){break K}break J;case 0:break L;default:break J}}d=w[c|0];if(!(d-48>>>0<10|(d|32)-97>>>0<6)){break J}c=w[c+1|0];if(!(c-48>>>0<10|(c|32)-97>>>0<6)){break J}if(((d&223)-65&255)>>>0<6|(c-97&255)>>>0<6){break K}if((c-65&255)>>>0>5){break J}}b=1;break J}v[d+(i+112|0)>>2]=0}e=e+1|0;if((e|0)!=256){continue}break}v[a+1460>>2]=0;M:{if(!j){break M}v[299999]=0;c=v[v[294330]+376>>2];d=v[299999];v[299999]=0;if((d|0)==1){break j}if(c){e=0;while(1){c=e<<2;d=v[(c+a|0)+164>>2];N:{if(!d){break N}f=c+(i+112|0)|0;if(v[f>>2]){break N}if(!mc(d,273792)){break N}c=Bc(d);v[i+1144>>2]=-1;O:{P:{Q:{R:{S:{if(!(!b|(c|0)!=3)){if((w[d|0]|32)-97>>>0>=26){break S}j=w[d+1|0];if(!(j-48>>>0<10|(j|32)-97>>>0<6)){break S}j=w[d+2|0];if(!(j-48>>>0<10|(j|32)-97>>>0<6)){break S}d=d+1|0;break Q}if(!(!b|(c|0)!=2)){c=w[d|0];if(!(c-48>>>0<10|(c|32)-97>>>0<6)){break P}c=w[d+1|0];if(c-48>>>0<10|(c|32)-97>>>0<6){break Q}break P}T:{if((c|0)<2|b|((c|0)>4|w[d|0]-48>>>0>9)){break T}if(w[d+1|0]-48>>>0>9){break T}d=he(d);v[i+1144>>2]=d;break O}if(c-3>>>0>2){break R}}if(w[d+1|0]-48>>>0>9|w[d+2|0]-48>>>0>9){break R}d=he(d+1|0);v[i+1144>>2]=d;break O}if(c-4>>>0<=2){if(w[d+2|0]-48>>>0>9|w[d+3|0]-48>>>0>9){break P}d=he(d+2|0);v[i+1144>>2]=d;break O}if(w[d|0]!=117|(c|0)<7|(w[d+1|0]!=110|w[d+2|0]!=105)){break P}c=w[d+3|0];if(!(c-48>>>0<10|(c|32)-97>>>0<6)){break P}c=w[d+4|0];if(!(c-48>>>0<10|(c|32)-97>>>0<6)){break P}c=w[d+5|0];if(!(c-48>>>0<10|(c|32)-97>>>0<6)){break P}c=w[d+6|0];if(!(c-48>>>0<10|(c|32)-97>>>0<6)){break P}d=d+3|0}v[i>>2]=i+1144;ef(d,221178,i)}d=v[i+1144>>2]}if(d>>>0>65535){break N}v[f>>2]=d;v[a+1460>>2]=1}e=e+1|0;if((e|0)!=256){continue}break}break M}e=0;v[299999]=0;b=v[v[294330]+380>>2];c=v[299999];v[299999]=0;if((c|0)==1){break j}if(!b){break M}while(1){b=(i+112|0)+(e<<2)|0;if(!v[b>>2]){v[b>>2]=e}b=e|1;c=(i+112|0)+(b<<2)|0;if(!v[c>>2]){v[c>>2]=b}b=e|2;c=(i+112|0)+(b<<2)|0;if(!v[c>>2]){v[c>>2]=b}b=e|3;c=(i+112|0)+(b<<2)|0;if(!v[c>>2]){v[c>>2]=b}e=e+4|0;if((e|0)!=256){continue}break}}v[299999]=0;b=S(3527,i+112|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break j}v[a+1444>>2]=b;v[299999]=0;Z(3528,a|0,h|0,8,b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break j}b=v[a+16>>2];U:{if(!b){break U}v[299999]=0;b=Q(3529,v[294330],b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break j}if(!b){break U}c=i+112|0;ic(c,0,1024);v[299999]=0;c=S(3527,c|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break j}e=0;while(1){d=v[a+1444>>2];v[299999]=0;d=kk(d,e,i+80|0,8);f=v[299999];v[299999]=0;if((f|0)==1){break e}V:{if((d|0)<1){break V}v[299999]=0;d=kk(b,v[i+80>>2],i+80|0,8);f=v[299999];v[299999]=0;if((f|0)==1){break e}if((d|0)<1){break V}v[299999]=0;$(3530,c|0,e|0,i+80|0,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break e}}e=e+1|0;if((e|0)!=256){continue}break}v[299999]=0;R(3130,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break j}b=v[a+1444>>2];if(b){d=v[b>>2];if(d){dc(Dc(d))}d=v[b+4>>2];v[299999]=0;uc(d);d=v[299999];v[299999]=0;W:{X:{if((d|0)==1){break X}d=v[b+12>>2];v[299999]=0;uc(d);d=v[299999];v[299999]=0;if((d|0)==1){break X}break W}W(0)|0;O()|0;lc();L()}dc(b)}v[a+1444>>2]=c}k=A[a+120>>3]*.001;c=0;b=a+1464|0;while(1){d=c<<3;A[d+b>>3]=k;A[b+(d|8)>>3]=k;A[b+(d|16)>>3]=k;A[b+(d|24)>>3]=k;A[b+(d|32)>>3]=k;A[b+(d|40)>>3]=k;A[b+(d|48)>>3]=k;A[b+(d|56)>>3]=k;c=c+8|0;if((c|0)!=256){continue}break}v[299999]=0;Z(3101,h|0,240353,i+56|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break j}v[299999]=0;b=v[i+64>>2];c=v[i+56>>2];R(3098,i+56|0);d=v[299999];v[299999]=0;if((d|0)==1){break j}v[299999]=0;Z(3101,h|0,240363,i+56|0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break j}v[299999]=0;d=v[i+64>>2];e=v[i+56>>2];R(3098,i+56|0);f=v[299999];v[299999]=0;if((f|0)==1){break j}k=A[a+40>>3];f=v[a+20>>2];v[299999]=0;Z(3101,h|0,236281,i+56|0,0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break j}Y:{if(v[i+56>>2]==6){v[a+24>>2]=v[a+24>>2]|1;d=(e|0)==1?d:255;e=d>>>0<255?d:255;b=(c|0)==1?b:0;b=b>>>0>255?0:b;d=v[i+64>>2];c=v[d+12>>2];c=(c|0)>(e-b|0)?e:(b+c|0)-1|0;if((b|0)>(c|0)){break Y}k=(f|0)==4?k:.001;f=((b<<3)+a|0)+1464|0;e=b;while(1){v[299999]=0;Z(3114,d|0,e-b|0,i+40|0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break b}d=v[i+40>>2];Z:{if(d-1>>>0>1){break Z}n=k*((d|0)==1?+v[i+48>>2]:A[i+48>>3]);A[((e<<3)+a|0)+1464>>3]=n;if(!(D(n-A[f>>3])>1e-5)){break Z}v[a+24>>2]=v[a+24>>2]&-2}v[299999]=0;R(3098,i+40|0);d=v[299999];v[299999]=0;if((d|0)==1){break b}if((c|0)==(e|0)){break Y}e=e+1|0;d=v[i+64>>2];continue}}if(!m){b=v[g+24>>2];v[299999]=0;b=Pr(b,286563,i+78|0);c=v[299999];v[299999]=0;if((c|0)==1){break j}if(b){A[a+1720>>3]=+x[i+78>>1]*.001}e=0;while(1){b=v[((e<<2)+a|0)+164>>2];_:{if(!b){break _}c=v[g+24>>2];v[299999]=0;b=Pr(c,b,i+78|0);c=v[299999];v[299999]=0;if((c|0)==1){break d}if(!b){break _}A[((e<<3)+a|0)+1464>>3]=+x[i+78>>1]*.001}e=e+1|0;if((e|0)!=256){continue}break}break Y}b=v[a+24>>2];b=v[((b>>>6&1|b>>>17&2|(b&1?0:b&2?8:4))<<2)+1044368>>2];c=v[b+24>>2];v[299999]=0;c=Pr(c,286563,i+78|0);d=v[299999];v[299999]=0;if((d|0)==1){break j}if(c){A[a+1720>>3]=+x[i+78>>1]*.001}e=0;while(1){c=v[((e<<2)+a|0)+164>>2];$:{if(!c){break $}d=v[b+24>>2];v[299999]=0;c=Pr(d,c,i+78|0);d=v[299999];v[299999]=0;if((d|0)==1){break c}if(!c){break $}A[((e<<3)+a|0)+1464>>3]=+x[i+78>>1]*.001}e=e+1|0;if((e|0)!=256){continue}break}}v[299999]=0;R(3098,i+56|0);b=v[299999];v[299999]=0;if((b|0)==1){break j}v[a+156>>2]=1;Qb=i+1152|0;return a|0}e=P()|0;O()|0;break a}e=P()|0;O()|0;break a}e=P()|0;O()|0;break a}e=P()|0;O()|0;break a}e=P()|0;O()|0;break a}e=P()|0;O()|0;break a}e=P()|0;O()|0;break a}e=P()|0;O()|0;break a}e=P()|0;O()|0}hu(a);T(e|0);L()}function rea(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;d=Qb-192|0;Qb=d;a:{b:{c:{d:{e:{f:{if(!v[a+4>>2]){a=vc(d+168|0,311930,241135,193,343715,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break f}b=P()|0;O()|0;qc(a);T(b|0);L()}v[d+160>>2]=0;v[d+164>>2]=0;v[d+152>>2]=0;v[d+156>>2]=0;i=d+152|0;v[i>>2]=982500;v[i+4>>2]=0;v[i+8>>2]=0;v[i+12>>2]=0;v[d+144>>2]=0;v[d+148>>2]=v[282402];c=v[v[b>>2]+36>>2];v[299999]=0;fa(c|0,d+136|0,b|0,0,60,0);c=v[299999];v[299999]=0;g:{h:{i:{j:{k:{if((c|0)!=1){l=v[b+28>>2];c=v[d+136>>2];if(!c){break g}v[299999]=0;e=Y(4965,c|0,0,-1)|0;c=v[299999];v[299999]=0;if((c|0)==1){break k}c=v[d+136>>2];if(c){c=v[c+8>>2]}else{c=0}if((c|0)==(e|0)){break g}v[299999]=0;U(4423,d+128|0,357863,d+136|0);a=v[299999];v[299999]=0;if((a|0)==1){break j}a=v[d+128>>2];a=v[(a?a+12|0:1129608)>>2];v[299999]=0;a=aa(4369,d+168|0,a|0,241135,200,343715,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break i}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break f}b=P()|0;O()|0;qc(a);break h}b=P()|0;O()|0;break b}b=P()|0;O()|0;break c}b=P()|0;O()|0;break c}b=P()|0;O()|0}ec(d+128|0);break c}v[d+128>>2]=0;v[d+132>>2]=v[282402];m=a+8|0;j=a+16|0;l:{m:{n:{o:{p:{q:{r:{s:{t:{while(1){n=l+1|0;u:{v:{w:{x:{while(1){c=v[v[b>>2]+36>>2];v[299999]=0;fa(c|0,d+168|0,b|0,0,62,1);c=v[299999];v[299999]=0;y:{z:{if((c|0)!=1){v[299999]=0;c=Q(4535,d+144|0,d+168|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break z}c=v[c>>2];A:{if(!c){ec(d+168|0);break A}e=v[c+8>>2];ec(d+168|0);if(e){break y}}ec(d+128|0);ec(d+136|0);ec(d+144|0);Ic(i);Qb=d+192|0;return}b=P()|0;O()|0;break d}b=P()|0;O()|0;ec(d+168|0);break d}B:{g=e-1|0;C:{D:{if(g){c=v[d+144>>2];k=!c;h=g;E:{if((e|0)>0){break E}h=g;if(!c){break E}h=g+v[c+8>>2]|0}f=h;if(!(k|(f|0)<0|v[c+8>>2]<(f|0))){h=v[c+12>>2];break D}v[299999]=0;ba(4543);a=v[299999];v[299999]=0;if((a|0)!=1){break f}break e}c=v[d+144>>2];if(!c){break C}f=0;h=v[c+12>>2]}if(w[f+h|0]==62){break B}}v[299999]=0;U(4423,d+120|0,357905,d+144|0);a=v[299999];v[299999]=0;F:{G:{if((a|0)!=1){a=v[d+120>>2];a=v[(a?a+12|0:1129608)>>2];v[299999]=0;a=aa(4369,d+168|0,a|0,241135,207,343715,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break G}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break f}b=P()|0;O()|0;qc(a);break F}b=P()|0;O()|0;break d}b=P()|0;O()|0}ec(d+120|0);break d}h=v[c+8>>2];if((h|0)<=0){v[299999]=0;ba(4543);a=v[299999];v[299999]=0;if((a|0)==1){break e}break f}H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{k=v[c+12>>2];f=t[k+1|0];switch(f-47|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break Q;case 0:break S;case 16:break T;default:break R}}U:{V:{while(1){W:{X:{Y:{Z:{_:{$:{aa:{if((e|0)>=4){v[299999]=0;$(4568,d+168|0,d+144|0,e-2|0,e|0);c=v[299999];v[299999]=0;if((c|0)==1){break aa}v[299999]=0;c=Nc(d+168|0,322665,-1);e=v[299999];v[299999]=0;if((e|0)==1){break $}ec(d+168|0);if(!c){break U}}c=v[v[b>>2]+36>>2];v[299999]=0;fa(c|0,d+120|0,b|0,0,62,1);c=v[299999];v[299999]=0;if((c|0)==1){break _}c=v[d+120>>2];if(v[c+8>>2]?c:0){break W}v[299999]=0;U(4423,d+112|0,358291,d+144|0);a=v[299999];v[299999]=0;if((a|0)==1){break Z}a=v[d+112>>2];a=v[(a?a+12|0:1129608)>>2];v[299999]=0;a=aa(4369,d+168|0,a|0,241135,218,343715,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Y}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break f}b=P()|0;O()|0;qc(a);break X}b=P()|0;O()|0;break d}b=P()|0;O()|0;ec(d+168|0);break d}b=P()|0;O()|0;break d}b=P()|0;O()|0;break V}b=P()|0;O()|0}ec(d+112|0);break V}v[299999]=0;c=Q(4606,d+144|0,d+120|0)|0;e=v[299999];v[299999]=0;if((e|0)!=1){c=v[c>>2];if(c){e=v[c+8>>2]}else{e=0}ec(d+120|0);continue}break}b=P()|0;O()|0}ec(d+120|0);break d}v[299999]=0;$(4568,d+168|0,d+144|0,2,-1);c=v[299999];v[299999]=0;if((c|0)==1){break l}c=v[d+168>>2];c=v[(c?c+12|0:1129608)>>2];while(1){e=c;c=c+1|0;f=t[e|0];if((f|0)==32|f-9>>>0<5){continue}break}c=e;while(1){ba:{ca:{da:{g=f&255;switch(g-47|0){case 0:case 15:break ba;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:break ca;default:break da}}if(!g){break ba}}f=f<<24>>24;if((f|0)==32|f-9>>>0<5){break ba}f=w[c+1|0];c=c+1|0;continue}break}v[299999]=0;f=Y(4605,d+120|0,e|0,c-e|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break n}v[299999]=0;V(4563,d+112|0,f|0);e=v[299999];v[299999]=0;if((e|0)!=1){v[299999]=0;e=Nc(d+112|0,258814,-1);g=v[299999];v[299999]=0;if((g|0)==1){break p}ec(d+112|0);ea:{if(e){break ea}v[299999]=0;U(5374,c|0,j|0,1);c=v[299999];v[299999]=0;if((c|0)==1){break q}v[299999]=0;c=v[j+24>>2];v[d+116>>2]=j;v[d+112>>2]=c;c=v[299999];v[299999]=0;if((c|0)==1){break s}e=v[d+112>>2];if(!e){break ea}while(1){if(v[d+116>>2]!=(j|0)){v[299999]=0;V(4468,d+112|0,j|0);a=v[299999];v[299999]=0;if((a|0)!=1){break f}b=P()|0;O()|0;break o}v[299999]=0;c=Nc(e+16|0,272863,-1);e=v[299999];v[299999]=0;if((e|0)==1){break r}if(!c){c=v[d+112>>2];if(!(v[d+116>>2]==(j|0)?c:0)){v[299999]=0;V(4468,d+112|0,j|0);a=v[299999];v[299999]=0;if((a|0)!=1){break f}b=P()|0;O()|0;break o}fa:{ga:{c=v[c+24>>2];ha:{if(c){v[299999]=0;V(5223,d+96|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break ga}v[299999]=0;Q(4569,d+104|0,d+96|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){c=v[d+96>>2];v[d+96>>2]=0;if(!c){break ha}v[299999]=0;e=v[c+4>>2]-1|0;v[c+4>>2]=e;g=v[299999];v[299999]=0;if((g|0)!=1){if(e){break ha}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)!=1){break ha}}break a}b=P()|0;O()|0;ec(d+96|0);break o}v[d+104>>2]=0;v[d+108>>2]=v[282402];v[299999]=0;v[d+96>>2]=0;Q(4344,d+104|0,d+96|0)|0;c=v[299999];v[299999]=0;ia:{if((c|0)!=1){c=v[d+96>>2];v[d+96>>2]=0;if(!c){break ia}v[299999]=0;e=v[c+4>>2]-1|0;v[c+4>>2]=e;g=v[299999];v[299999]=0;if((g|0)!=1){if(e){break ia}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)!=1){break ia}}break a}b=P()|0;O()|0;ec(d+96|0);ec(d+104|0);break o}c=v[d+104>>2];v[d+108>>2]=v[(c?c+12|0:1129608)>>2]}v[299999]=0;c=Y(4541,d+104|0,d+128|0,-1)|0;e=v[299999];v[299999]=0;ja:{if((e|0)==1){break ja}if(!c){break fa}v[299999]=0;c=Q(4535,d+128|0,d+104|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break ja}v[299999]=0;V(5377,b|0,c|0);c=v[299999];v[299999]=0;if((c|0)!=1){break fa}}b=P()|0;O()|0;ec(d+104|0);break o}b=P()|0;O()|0;break o}ec(d+104|0)}c=v[d+112>>2];if(!c){break ea}e=v[c>>2];v[d+112>>2]=e;if(e){continue}break}}ec(f);ec(d+168|0);break H}b=P()|0;O()|0;break o}v[299999]=0;$(4568,d+168|0,d+144|0,2,-1);c=v[299999];v[299999]=0;ka:{la:{ma:{na:{oa:{pa:{qa:{ra:{sa:{ta:{ua:{va:{wa:{xa:{ya:{za:{Aa:{Ba:{Ca:{Da:{if((c|0)!=1){c=v[d+168>>2];c=v[(c?c+12|0:1129608)>>2];while(1){e=c;c=c+1|0;f=t[e|0];if((f|0)==32|f-9>>>0<5){continue}break}c=e;while(1){Ea:{Fa:{Ga:{g=f&255;switch(g-47|0){case 0:case 15:break Ea;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:break Fa;default:break Ga}}if(!g){break Ea}}f=f<<24>>24;if((f|0)==32|f-9>>>0<5){break Ea}f=w[c+1|0];c=c+1|0;continue}break}v[299999]=0;c=Y(4605,d+120|0,e|0,c-e|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Da}ec(d+168|0);v[d+116>>2]=i;e=v[d+164>>2];v[d+112>>2]=e;if(!e){break ka}e=v[e+8>>2];v[299999]=0;e=Y(4541,e+8|0,d+120|0,-1)|0;f=v[299999];v[299999]=0;if((f|0)==1){break la}if(!e){break ma}a=v[d+112>>2];v[d+72>>2]=a;b=v[d+116>>2];v[d+76>>2]=b;if(!((b|0)==(d+152|0)?a:0)){v[299999]=0;V(4468,d+72|0,d+152|0);a=v[299999];v[299999]=0;if((a|0)!=1){break f}break J}a=v[a+8>>2];v[299999]=0;U(4423,d+80|0,358188,a+8|0);a=v[299999];v[299999]=0;if((a|0)==1){break J}a=v[d+112>>2];v[d+48>>2]=a;b=v[d+116>>2];v[d+52>>2]=b;if(!((b|0)==(d+152|0)?a:0)){v[299999]=0;V(4468,d+48|0,d+152|0);a=v[299999];v[299999]=0;if((a|0)!=1){break f}break L}a=v[v[a+8>>2]+96>>2];v[299999]=0;a=Q(4545,d+56|0,a|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break L}v[299999]=0;U(4423,d- -64|0,358459,a|0);b=v[299999];v[299999]=0;if((b|0)==1){break Ca}v[299999]=0;U(4547,d+88|0,d+80|0,d- -64|0);b=v[299999];v[299999]=0;if((b|0)==1){break Ba}v[299999]=0;U(4423,d+40|0,358459,c|0);b=v[299999];v[299999]=0;if((b|0)==1){break Aa}v[299999]=0;U(4547,d+96|0,d+88|0,d+40|0);b=v[299999];v[299999]=0;if((b|0)==1){break za}v[299999]=0;e=Q(4545,d+24|0,l+1|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break ya}v[299999]=0;U(4423,d+32|0,358459,e|0);b=v[299999];v[299999]=0;if((b|0)==1){break xa}v[299999]=0;U(4547,d+104|0,d+96|0,d+32|0);b=v[299999];v[299999]=0;if((b|0)==1){break wa}b=v[d+104>>2];b=v[(b?b+12|0:1129608)>>2];v[299999]=0;f=aa(4369,d+168|0,b|0,241135,271,343715,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break va}v[299999]=0;R(4370,f|0);b=v[299999];v[299999]=0;if((b|0)!=1){break f}b=P()|0;O()|0;qc(f);break ua}b=P()|0;O()|0;break d}b=P()|0;O()|0;ec(d+168|0);break d}b=P()|0;O()|0;break na}b=P()|0;O()|0;break oa}b=P()|0;O()|0;break pa}b=P()|0;O()|0;break qa}b=P()|0;O()|0;break ra}b=P()|0;O()|0;break sa}b=P()|0;O()|0;break ta}b=P()|0;O()|0}ec(d+104|0)}ec(d+32|0)}ec(e)}ec(d+96|0)}ec(d+40|0)}ec(d+88|0)}ec(d- -64|0)}ec(a);break K}v[299999]=0;V(4460,i|0,d+112|0);e=v[299999];v[299999]=0;if((e|0)!=1){break P}}b=P()|0;O()|0;ec(c);break d}v[299999]=0;a=aa(4369,d+168|0,255636,241135,276,343715,0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break f}b=P()|0;O()|0;qc(a);ec(c);break d}b=P()|0;O()|0;ec(c);break d}if((f|0)==33){break I}}f=v[d+164>>2];v[d+112>>2]=0;Ha:{Ia:{Ja:{Ka:{La:{Ma:{Na:{Oa:{if(f){v[299999]=0;c=S(1,100)|0;h=v[299999];v[299999]=0;Pa:{Qa:{Ra:{if((h|0)==1){break Ra}v[299999]=0;$(4568,d+168|0,d+144|0,1,g|0);g=v[299999];v[299999]=0;if((g|0)==1){break Qa}g=v[d+168>>2];g=v[(g?g+12|0:1129608)>>2];v[299999]=0;g=Q(5378,c|0,g|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){b=P()|0;O()|0;ec(d+168|0);dc(c);break M}v[299999]=0;Q(4336,d+112|0,g|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break Ha}ec(d+168|0);f=v[f+8>>2];c=v[d+112>>2];if(c){v[299999]=0;v[c+4>>2]=v[c+4>>2]+1;c=v[299999];v[299999]=0;if((c|0)==1){break Ra}c=v[d+112>>2]}else{c=0}v[299999]=0;v[d+16>>2]=c;V(5379,f|0,d+16|0);c=v[299999];v[299999]=0;if((c|0)==1){break Pa}c=v[d+16>>2];v[d+16>>2]=0;Sa:{if(!c){break Sa}v[299999]=0;f=v[c+4>>2]-1|0;v[c+4>>2]=f;g=v[299999];v[299999]=0;if((g|0)==1){break a}if(f){break Sa}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}c=e-2|0;Ta:{Ua:{if(c){f=v[d+144>>2];if(!(!f|(e|0)>1)){c=v[f+8>>2]+c|0}if(!f|(c|0)<0|v[f+8>>2]<(c|0)){break N}e=v[f+12>>2];break Ua}c=v[d+144>>2];if(!c){break Ta}e=v[c+12>>2];c=0}if(w[c+e|0]==47){break Oa}}v[299999]=0;c=S(1,12)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Ra}v[c>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;e=c;f=v[d+112>>2];if(f){v[299999]=0;v[f+4>>2]=v[f+4>>2]+1;f=v[299999];v[299999]=0;if((f|0)==1){break Ra}h=v[d+112>>2]}else{h=0}v[e+8>>2]=h;v[299999]=0;Le(i,c);c=v[299999];v[299999]=0;if((c|0)!=1){break Oa}}b=P()|0;O()|0;break M}b=P()|0;O()|0;dc(c);break M}b=P()|0;O()|0;ec(d+16|0);break M}f=e-2|0;Va:{Wa:{if(f){if((e|0)<=1){f=f+h|0;if((f|0)<0){break N}}if((f|0)<=(h|0)){break Wa}break N}f=0;if(!c){break Va}}if(w[f+k|0]==47){break Ia}}v[299999]=0;$(4568,d+168|0,d+144|0,1,-1);c=v[299999];v[299999]=0;if((c|0)==1){break Na}c=v[d+168>>2];c=v[(c?c+12|0:1129608)>>2];while(1){e=c;c=c+1|0;f=t[e|0];if((f|0)==32|f-9>>>0<5){continue}break}c=e;while(1){Xa:{Ya:{Za:{g=f&255;switch(g-47|0){case 0:case 15:break Xa;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:break Ya;default:break Za}}if(!g){break Xa}}f=f<<24>>24;if((f|0)==32|f-9>>>0<5){break Xa}f=w[c+1|0];c=c+1|0;continue}break}v[299999]=0;e=Y(4605,d+120|0,e|0,c-e|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break Ma}v[299999]=0;Q(4535,m|0,e|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break La}ec(e);v[299999]=0;U(5374,c|0,j|0,1);c=v[299999];v[299999]=0;if((c|0)==1){break Ka}v[299999]=0;Q(4336,d+112|0,a|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break Ka}v[299999]=0;c=S(1,12)|0;e=v[299999];v[299999]=0;if((e|0)==1){break Ka}v[c>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;e=c;f=v[d+112>>2];if(f){v[299999]=0;v[f+4>>2]=v[f+4>>2]+1;f=v[299999];v[299999]=0;if((f|0)==1){break Ka}h=v[d+112>>2]}else{h=0}v[e+8>>2]=h;v[299999]=0;Le(i,c);c=v[299999];v[299999]=0;if((c|0)==1){break Ka}ec(d+168|0)}c=v[d+112>>2];v[c+96>>2]=n;v[299999]=0;v[d+112>>2]=0;e=v[c+4>>2]-1|0;v[c+4>>2]=e;f=v[299999];v[299999]=0;if((f|0)!=1){if(e){break H}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)!=1){break H}}break a}b=P()|0;O()|0;break M}b=P()|0;O()|0;break Ja}b=P()|0;O()|0;ec(e);break Ja}b=P()|0;O()|0}ec(d+168|0);break M}v[299999]=0;a=aa(4369,d+168|0,219593,241135,302,343715,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break O}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break f}b=P()|0;O()|0;qc(a);break M}b=P()|0;O()|0;ec(d+168|0);break M}ec(c);break H}b=P()|0;O()|0;break M}v[299999]=0;ba(4543);a=v[299999];v[299999]=0;if((a|0)!=1){break f}b=P()|0;O()|0}ec(d+112|0);break d}b=P()|0;O()|0}ec(d+80|0);ec(c);break d}b=P()|0;O()|0;ec(c);break d}if((h|0)<=1){v[299999]=0;ba(4543);a=v[299999];v[299999]=0;if((a|0)==1){break e}break f}if(w[k+2|0]!=45){break H}if((h|0)<=2){v[299999]=0;ba(4543);a=v[299999];v[299999]=0;if((a|0)==1){break e}break f}if(w[k+3|0]!=45){break H}_a:{while(1){$a:{ab:{bb:{cb:{db:{eb:{fb:{if((e|0)>=7){v[299999]=0;$(4568,d+168|0,d+144|0,e-3|0,-1);c=v[299999];v[299999]=0;if((c|0)==1){break fb}v[299999]=0;c=Nc(d+168|0,322675,-1);e=v[299999];v[299999]=0;if((e|0)==1){break eb}ec(d+168|0);if(!c){break H}}c=v[v[b>>2]+36>>2];v[299999]=0;fa(c|0,d+120|0,b|0,0,62,1);c=v[299999];v[299999]=0;if((c|0)==1){break db}c=v[d+120>>2];if(v[c+8>>2]?c:0){break $a}v[d+112>>2]=0;v[d+116>>2]=v[282402];a=v[d+144>>2];v[d>>2]=v[(a?a+12|0:1129608)>>2];v[299999]=0;Y(4635,d+112|0,237275,d|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break cb}a=v[d+112>>2];a=v[(a?a+12|0:1129608)>>2];v[299999]=0;a=aa(4369,d+168|0,a|0,241135,254,343715,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break bb}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break f}b=P()|0;O()|0;qc(a);break ab}b=P()|0;O()|0;break d}b=P()|0;O()|0;ec(d+168|0);break d}b=P()|0;O()|0;break d}b=P()|0;O()|0;break ab}b=P()|0;O()|0}ec(d+112|0);break _a}v[299999]=0;c=Q(4606,d+144|0,d+120|0)|0;e=v[299999];v[299999]=0;if((e|0)!=1){c=v[c>>2];if(c){e=v[c+8>>2]}else{e=0}ec(d+120|0);continue}break}b=P()|0;O()|0}ec(d+120|0);break d}c=v[v[b>>2]+36>>2];v[299999]=0;fa(c|0,d+168|0,b|0,0,60,0);c=v[299999];v[299999]=0;if((c|0)==1){break x}v[299999]=0;c=Q(4535,d+136|0,d+168|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break w}c=v[c>>2];if(!c){ec(d+168|0);continue}c=w[v[c+12>>2]];ec(d+168|0);if(!c){continue}break}l=v[b+28>>2];c=v[d+164>>2];if(!c){break u}e=v[c+8>>2];v[d+8>>2]=0;v[d+12>>2]=v[282402];gb:{c=v[d+136>>2];hb:{ib:{if(c){f=v[v[c>>2]+28>>2];v[299999]=0;U(f|0,d+168|0,c|0,1);c=v[299999];v[299999]=0;if((c|0)!=1){break ib}b=P()|0;O()|0;break hb}v[d+168>>2]=0}v[299999]=0;Q(4344,d+8|0,d+168|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){c=v[d+168>>2];v[d+168>>2]=0;if(!c){break gb}v[299999]=0;f=v[c+4>>2]-1|0;v[c+4>>2]=f;g=v[299999];v[299999]=0;if((g|0)!=1){if(f){break gb}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)!=1){break gb}}break a}b=P()|0;O()|0;ec(d+168|0)}ec(d+8|0);break d}c=v[d+8>>2];v[d+12>>2]=v[(c?c+12|0:1129608)>>2];c=v[e+52>>2];v[299999]=0;Q(4606,(c?c+12|0:e+60|0)|0,d+8|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break v}ec(d+8|0);continue}b=P()|0;O()|0;break d}b=P()|0;O()|0;ec(d+168|0);break d}b=P()|0;O()|0;ec(d+8|0);break d}c=v[d+136>>2];if(!c){continue}v[299999]=0;e=Y(4965,c|0,0,-1)|0;c=v[299999];v[299999]=0;if((c|0)==1){break t}c=v[d+136>>2];if(c){c=v[c+8>>2]}else{c=0}if((c|0)==(e|0)){continue}break}v[299999]=0;U(4423,d+120|0,357863,d+136|0);a=v[299999];v[299999]=0;jb:{kb:{if((a|0)!=1){a=v[d+120>>2];a=v[(a?a+12|0:1129608)>>2];v[299999]=0;a=aa(4369,d+168|0,a|0,241135,317,343715,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break kb}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break f}b=P()|0;O()|0;qc(a);break jb}b=P()|0;O()|0;break d}b=P()|0;O()|0}ec(d+120|0);break d}b=P()|0;O()|0;break d}b=P()|0;O()|0;break o}b=P()|0;O()|0;break o}b=P()|0;O()|0;break o}b=P()|0;O()|0;ec(d+112|0)}ec(f);break m}b=P()|0;O()|0}ec(d+168|0);break d}b=P()|0;O()|0;break d}L()}b=P()|0;O()|0}ec(d+128|0)}ec(d+136|0)}ec(d+144|0);Ic(i);T(b|0);L()}W(0)|0;O()|0;lc();L()}function Zva(a){a=a|0;var 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,x=0,y=0,z=0,B=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,Q=0,R=0;x=v[a+108>>2];if(x){a:{b=v[a+116>>2];z=v[a+104>>2];a=0;u=Qb-48|0;Qb=u;b:{y=DE(v[294330]);if(y){B=Dh(y,32,u+40|0,8);c:{d:{switch(v[v[294330]+204>>2]){case 0:i=Dh(y,10,u+16|0,16);break c;case 1:j=u+16|0;i=Dh(y,13,j,16);i=Dh(y,10,i+j|0,16-i|0)+i|0;break c;case 2:break d;default:break c}}i=Dh(y,13,u+16|0,16)}K=Dh(y,12,u+8|0,8);M=v[v[294330]+208>>2];e:{f:{switch(v[b>>2]){case 0:if(v[b+52>>2]){m=cE(b,v[b+204>>2])}q=u+40|0;l=u+16|0;h=Xt(b,v[b+204>>2]);f=1;j=b;a=v[b+204>>2];if(v[a+8>>2]>=1){while(1){f=v[v[a>>2]+(c<<2)>>2];if(hk(v[f>>2])){C=1}else{C=Dj(v[f>>2])?-1:0}g=C+g|0;c=c+1|0;if((c|0)>2]){continue}break}f=(g^-1)>>>31|0;a=v[b+204>>2]}g:{a=Vx(j,a);if(!a){Tm(b,v[b+204>>2],h);break g}j=fc(16);v[299999]=0;g=S(3315,j|0)|0;c=v[299999];v[299999]=0;h:{if((c|0)!=1){Ux(b,a,g,f);dc(Um(a));Tm(b,v[b+204>>2],h);if(v[b+24>>2]){bE(b,h);aE(b,g)}if(m){i:{if(v[m+8>>2]<1){break i}Tc(g,$D(m));s=v[m+8>>2];if((s|0)<1){break i}c=0;while(1){a=v[v[m>>2]+(c<<2)>>2];if(a){dc(a);s=v[m+8>>2]}c=c+1|0;if((s|0)>(c|0)){continue}break}}dc(Vc(m))}j:{if(v[g+8>>2]<=0){break j}while(1){k=0;r=v[v[g>>2]+(d<<2)>>2];c=v[r>>2];if(v[c+8>>2]>=1){while(1){s=0;k:{m=v[v[c>>2]+(k<<2)>>2];c=v[m>>2];h=v[c+8>>2];if((h|0)<1){break k}while(1){l:{c=v[v[c>>2]+(s<<2)>>2];H=v[c+60>>2];E=v[c+56>>2];a=fc(8);v[299999]=0;b=S(3312,a|0)|0;F=v[299999];v[299999]=0;if((F|0)==1){break l}s=s+1|0;Wt(v[c+48>>2],E-((H|0)!=0&(s|0)<(h|0))|0,y,f,b);if(!(v[c+60>>2]|v[v[m>>2]+8>>2]<=(s|0))){De(b,q,B)}Ub[z|0](x,v[b+4>>2],v[b>>2]);Dc(b);dc(a);c=v[m>>2];h=v[c+8>>2];if((s|0)<(h|0)){continue}break k}break}c=P()|0;O()|0;j=a;break h}Ub[z|0](x,l,i);k=k+1|0;c=v[r>>2];if((k|0)>2]){continue}break}}Ub[z|0](x,l,i);c=v[g+8>>2];d=d+1|0;if((c|0)>(d|0)){continue}break}s=0;if((c|0)<=0){break j}while(1){a=v[v[g>>2]+(s<<2)>>2];if(a){Hp(a);dc(a);c=v[g+8>>2]}s=s+1|0;if((s|0)<(c|0)){continue}break}}Vc(g);dc(j);break g}c=P()|0;O()|0}dc(j);T(c|0);L()}break e;case 1:case 4:if(v[b+52>>2]){s=cE(b,v[b+204>>2])}N=u+40|0;E=u+16|0;c=Xt(b,v[b+204>>2]);H=1;j=b;a=v[b+204>>2];if(v[a+8>>2]>=1){while(1){d=v[v[a>>2]+(f<<2)>>2];if(hk(v[d>>2])){C=1}else{C=Dj(v[d>>2])?-1:0}q=C+q|0;f=f+1|0;if((f|0)>2]){continue}break}H=(q^-1)>>>31|0;a=v[b+204>>2]}m:{a=Vx(j,a);if(!a){Tm(b,v[b+204>>2],c);break m}j=fc(16);v[299999]=0;g=S(3315,j|0)|0;d=v[299999];v[299999]=0;n:{if((d|0)!=1){Ux(b,a,g,1);dc(Um(a));Tm(b,v[b+204>>2],c);if(v[b+24>>2]){bE(b,c);aE(b,g)}J=Qb-16|0;Qb=J;F=DE(v[294330]);if(F){q=v[g+8>>2];if((q|0)>=1){while(1){f=v[v[g>>2]+(r<<2)>>2];v[f+48>>2]=0;v[f+52>>2]=0;h=0;m=0;a=v[f>>2];k=v[a+8>>2];if((k|0)>=1){while(1){d=0;I=v[v[a>>2]+(m<<2)>>2];k=v[I>>2];q=v[k+8>>2];if((q|0)>=1){while(1){a=v[v[k>>2]+(d<<2)>>2];o:{if(v[F+8>>2]){h=v[a+56>>2];v[a+68>>2]=h;break o}q=0;v[a+68>>2]=0;h=0;if(v[a+56>>2]<1){break o}while(1){h=Dh(F,v[v[a+48>>2]+(q<<2)>>2],J+8|0,8)+v[a+68>>2]|0;v[a+68>>2]=h;q=q+1|0;if((q|0)>2]){continue}break}}c=a;p:{q:{e=A[b+8>>3];if(e>0){e=(A[a+8>>3]-A[f+8>>3])/e;if(!(D(e)<2147483648)){break q}C=~~e;break p}e=A[a+40>>3];C=0;if(D(e)<.001){break p}e=(A[a+8>>3]-A[f+8>>3])/(e*.33);if(!(D(e)<2147483648)){break q}C=~~e;break p}C=-2147483648}k=C;v[c+64>>2]=k;a=h+k|0;if((a|0)>v[f+48>>2]){v[f+48>>2]=a}d=d+1|0;k=v[I>>2];q=v[k+8>>2];if((d|0)<(q|0)){continue}break}h=v[f+52>>2];a=v[f>>2]}h=h+q|0;v[f+52>>2]=h;k=v[a+8>>2];m=m+1|0;if((k|0)>(m|0)){continue}break}q=v[g+8>>2]}v[f+52>>2]=(h+k|0)-1;r=r+1|0;if((r|0)<(q|0)){continue}break}}Zn(F)}Qb=J+16|0;k=0;a=v[b>>2];mk(g,3969);o=(a|0)==4?.05:0;h=v[g+8>>2];r:{if((h|0)<1){break r}d=v[g>>2];e=A[b+8>>3];if(e==0){while(1){f=v[d+(k<<2)>>2];v[f+40>>2]=0;if(k){p=A[f+8>>3];a=0;r=0;while(1){b=v[d+(r<<2)>>2];n=A[b+16>>3];e=n-p;s:{t:{if(e>3])){c=(v[b+40>>2]+v[b+48>>2]|0)+2|0;if((c|0)>(a|0)){break t}break s}c=v[b+40>>2];n=A[f+32>>3];t=A[b+32>>3];G=n>3];t=A[b+24>>3];n=G-(n>t?n:t);if(!(!(n>0)|!(e>2]+c|0;if((c|0)>(a|0)){break t}break s}if((a|0)>=(c|0)){break s}}v[f+40>>2]=c;a=c}r=r+1|0;if((r|0)!=(k|0)){continue}break}}k=k+1|0;if((h|0)!=(k|0)){continue}break}break r}c=0;if((h|0)!=1){r=h&-2;while(1){b=c<<2;f=v[b+d>>2];p=A[f+8>>3]/e;u:{if(D(p)<2147483648){a=~~p;break u}a=-2147483648}v[f+40>>2]=a;b=v[d+(b|4)>>2];p=A[b+8>>3]/e;v:{if(D(p)<2147483648){a=~~p;break v}a=-2147483648}v[b+40>>2]=a;c=c+2|0;r=r-2|0;if(r){continue}break}}if(!(h&1)){break r}b=v[d+(c<<2)>>2];e=A[b+8>>3]/e;w:{if(D(e)<2147483648){a=~~e;break w}a=-2147483648}v[b+40>>2]=a}mk(g,3970);d=0;m=v[g+8>>2];if((m|0)>=1){f=v[g>>2];k=0;while(1){h=v[f+(k<<2)>>2];v[h+44>>2]=0;a=0;if(k){p=A[h+24>>3];r=0;while(1){b=v[f+(r<<2)>>2];n=A[b+32>>3];e=n-p;x:{y:{if(e>3])){b=v[b+52>>2]+v[b+44>>2]|0;if((b|0)<(a|0)){break x}c=b+1|0;break y}c=v[b+44>>2];n=A[h+16>>3];t=A[b+16>>3];G=n>3];t=A[b+8>>3];n=G-(n>t?n:t);if(!(!(n>0)|!(e>2]+c|0;if((c|0)>(a|0)){break y}break x}if((a|0)>=(c|0)){break x}}v[h+44>>2]=c;a=c}r=r+1|0;if((r|0)!=(k|0)){continue}break}}a=v[h+52>>2]+a|0;d=(a|0)>(d|0)?a:d;k=k+1|0;if((m|0)!=(k|0)){continue}break}}b=d;k=ed(b,4);m=ed(b,4);z:{if((b|0)<1){break z}a=b&3;f=0;if(b-1>>>0>=3){q=b&-4;while(1){c=f<<2;v[c+k>>2]=0;v[c+m>>2]=0;d=c|4;v[d+k>>2]=0;v[d+m>>2]=0;d=c|8;v[d+k>>2]=0;v[d+m>>2]=0;c=c|12;v[c+k>>2]=0;v[c+m>>2]=0;f=f+4|0;q=q-4|0;if(q){continue}break}}if(!a){break z}while(1){c=f<<2;v[c+k>>2]=0;v[c+m>>2]=0;f=f+1|0;a=a-1|0;if(a){continue}break}}mk(g,3960);A:{f=v[g+8>>2];if((f|0)>0){while(1){r=v[v[g>>2]+(l<<2)>>2];d=v[r>>2];B:{if(v[d+8>>2]<1){break B}c=0;q=v[r+44>>2];if((b|0)<=(q|0)){break B}while(1){J=v[v[d>>2]+(c<<2)>>2];f=v[J>>2];C:{if(v[f+8>>2]<1){break C}h=0;if((b|0)<=(q|0)){break C}while(1){f=v[v[f>>2]+(h<<2)>>2];I=q<<2;F=I+k|0;d=v[F>>2];if(!d){a=fc(8);v[299999]=0;d=S(3312,a|0)|0;C=v[299999];v[299999]=0;if((C|0)==1){break A}v[F>>2]=a}a=m+I|0;if(v[a>>2]<(v[f+64>>2]+v[r+40>>2]|0)){while(1){De(d,N,B);I=v[a>>2]+1|0;v[a>>2]=I;d=v[F>>2];if((I|0)<(v[f+64>>2]+v[r+40>>2]|0)){continue}break}}Wt(v[f+48>>2],v[f+56>>2],y,H,d);v[a>>2]=v[a>>2]+v[f+68>>2];h=h+1|0;f=v[J>>2];q=q+1|0;if((h|0)>2]&(b|0)>(q|0)){continue}break}d=v[r>>2]}c=c+1|0;a=v[d+8>>2];if((c|0)<(a|0)){q=((a|0)>(c|0))+q|0;if((b|0)>(q|0)){continue}}break}f=v[g+8>>2]}l=l+1|0;if((l|0)<(f|0)){continue}break}}f=0;if((b|0)>0){while(1){c=k+(f<<2)|0;a=v[c>>2];D:{if(!a){break D}Ub[z|0](x,v[a+4>>2],v[a>>2]);a=v[c>>2];if(!a){break D}dc(Dc(a))}Ub[z|0](x,E,i);f=f+1|0;if((b|0)!=(f|0)){continue}break}}uc(k);uc(m);a=v[g+8>>2];if((a|0)>=1){f=0;while(1){b=v[v[g>>2]+(f<<2)>>2];if(b){Hp(b);dc(b);a=v[g+8>>2]}f=f+1|0;if((f|0)<(a|0)){continue}break}}Vc(g);dc(j);if(s){E:{if(v[s+8>>2]<1){break E}c=$D(s);Ub[z|0](x,E,i);b=v[c>>2];a=v[b+8>>2];if((a|0)>=1){m=0;while(1){d=0;F:{g=v[v[b>>2]+(m<<2)>>2];f=v[g>>2];if(v[f+8>>2]<1){break F}G:{while(1){h=v[v[f>>2]+(d<<2)>>2];j=fc(8);v[299999]=0;a=S(3312,j|0)|0;l=v[299999];v[299999]=0;if((l|0)==1){break G}Wt(v[h+48>>2],v[h+56>>2],y,H,a);De(a,E,i);Ub[z|0](x,v[a+4>>2],v[a>>2]);Dc(a);dc(j);d=d+1|0;f=v[g>>2];if((d|0)>2]){continue}break}a=v[b+8>>2];break F}f=P()|0;O()|0;break n}if((a-1|0)>(m|0)){Ub[z|0](x,E,i);a=v[b+8>>2]}m=m+1|0;if((m|0)<(a|0)){continue}break}}dc(Hp(c));d=v[s+8>>2];if((d|0)<1){break E}f=0;while(1){a=v[v[s>>2]+(f<<2)>>2];if(a){dc(a);d=v[s+8>>2]}f=f+1|0;if((f|0)<(d|0)){continue}break}}dc(Vc(s))}break m}f=P()|0;O()|0;j=a;break n}f=P()|0;O()|0}dc(j);T(f|0);L()}break e;case 2:s=u+40|0;q=u+16|0;h=Xt(b,v[b+204>>2]);m=1;j=b;a=v[b+204>>2];if(v[a+8>>2]>=1){while(1){c=v[v[a>>2]+(d<<2)>>2];if(hk(v[c>>2])){c=1}else{c=Dj(v[c>>2])?-1:0}k=c+k|0;d=d+1|0;if((d|0)>2]){continue}break}m=(k^-1)>>>31|0;a=v[b+204>>2]}H:{a=Vx(j,a);if(!a){Tm(b,v[b+204>>2],h);break H}j=fc(16);v[299999]=0;c=S(3315,j|0)|0;d=v[299999];v[299999]=0;I:{J:{K:{if((d|0)!=1){zR(b,a,c);dc(Um(a));Tm(b,v[b+204>>2],h);k=Qb-16|0;Qb=k;f=fc(16);v[299999]=0;g=S(3315,f|0)|0;a=v[299999];v[299999]=0;L:{if((a|0)!=1){if(v[c+8>>2]>=1){while(1){gF(g,v[v[v[c>>2]+(l<<2)>>2]>>2]);l=l+1|0;if((l|0)>2]){continue}break}}mk(g,3971);M:{if(v[g+8>>2]<1){break M}l=v[v[g>>2]>>2];o=A[l+8>>3];while(1){N:{if(v[y+8>>2]){v[l+68>>2]=v[l+56>>2];break N}h=0;v[l+68>>2]=0;if(v[l+56>>2]<1){break N}while(1){Q=l,R=Dh(y,v[v[l+48>>2]+(h<<2)>>2],k+8|0,8)+v[l+68>>2]|0,v[Q+68>>2]=R;h=h+1|0;if((h|0)>2]){continue}break}}O:{if(!E){p=A[l+8>>3];h=0;e=o;break O}p=A[l+8>>3];a=v[g>>2];h=0;e=o;r=0;if((E|0)!=1){d=E&2147483646;while(1){F=r<<2;b=v[F+a>>2];n=A[b+16>>3];if(n>2]+v[b+64>>2]|0;h=(b|0)>(h|0)?b:h;e=e>2];n=A[b+16>>3];if(n>2]+v[b+64>>2]|0;h=(b|0)>(h|0)?b:h;e=e>2];n=A[a+16>>3];if(!(n>2]+v[a+64>>2]|0;h=(a|0)>(h|0)?a:h;e=e>3]*.5)+.5;P:{if(D(p)<2147483648){a=~~p;break P}a=-2147483648}v[C+64>>2]=((a|0)<1?e>o?1:a:a)+h;E=E+1|0;if((E|0)>=v[g+8>>2]){break M}l=v[v[g>>2]+(E<<2)>>2];continue}}Vc(g);dc(f);Qb=k+16|0;break L}a=P()|0;O()|0;dc(f);T(a|0);L()}Q:{if(v[c+8>>2]<=0){break Q}while(1){h=v[v[c>>2]+(H<<2)>>2];a=fc(8);v[299999]=0;b=S(3312,a|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break K}d=0;k=0;l=v[h>>2];if(v[l+8>>2]>=1){while(1){g=v[v[l>>2]+(k<<2)>>2];if(v[g+64>>2]>(d|0)){while(1){De(b,s,B);d=d+1|0;if((d|0)>2]){continue}break}}Wt(v[g+48>>2],v[g+56>>2],y,m,b);d=v[g+68>>2]+d|0;k=k+1|0;l=v[h>>2];if((k|0)>2]){continue}break}}Ub[z|0](x,v[b+4>>2],v[b>>2]);Dc(b);dc(a);Ub[z|0](x,q,i);d=v[c+8>>2];H=H+1|0;if(!((d|0)<=(H|0)|!(A[h+24>>3]>2]+(H<<2)>>2]+8>>3]-A[h+16>>3]))){Ub[z|0](x,q,i);d=v[c+8>>2]}if((d|0)>(H|0)){continue}break}g=0;if((d|0)<=0){break Q}while(1){B=v[v[c>>2]+(g<<2)>>2];if(B){k=0;h=v[B>>2];d=v[h+8>>2];if((d|0)>=1){while(1){b=v[v[h>>2]+(k<<2)>>2];if(b){l=0;d=v[b>>2];a=v[d+8>>2];if((a|0)>=1){while(1){i=v[v[d>>2]+(l<<2)>>2];if(i){a=v[i+32>>2];v[299999]=0;uc(a);a=v[299999];v[299999]=0;if((a|0)==1){break I}a=v[i+40>>2];v[299999]=0;uc(a);a=v[299999];v[299999]=0;if((a|0)==1){break I}a=v[i+36>>2];v[299999]=0;uc(a);a=v[299999];v[299999]=0;if((a|0)==1){break I}dc(i);a=v[d+8>>2]}l=l+1|0;if((l|0)<(a|0)){continue}break}}dc(Vc(d));a=v[b+48>>2];v[299999]=0;uc(a);a=v[299999];v[299999]=0;if((a|0)==1){break I}a=v[b+52>>2];v[299999]=0;uc(a);a=v[299999];v[299999]=0;if((a|0)==1){break I}dc(b);d=v[h+8>>2]}k=k+1|0;if((k|0)<(d|0)){continue}break}}dc(Vc(h));dc(B);d=v[c+8>>2]}g=g+1|0;if((g|0)<(d|0)){continue}break}}Vc(c);dc(j);break H}d=P()|0;O()|0;break J}d=P()|0;O()|0;j=a}dc(j);T(d|0);L()}W(0)|0;O()|0;lc();L()}break e;case 3:g=v[b+204>>2];R:{if(v[g+8>>2]>0){while(1){a=v[v[g>>2]+(m<<2)>>2];if(hk(v[a>>2])){a=1}else{a=Dj(v[a>>2])?-1:0}c=a+c|0;m=m+1|0;if((m|0)>2]){continue}break}d=(c^-1)>>>31|0;g=v[b+204>>2];j=v[g+8>>2];if((j|0)<1){break R}e=A[b+120>>3];o=A[b+112>>3];l=v[g>>2];c=0;while(1){S:{T:{U:{V:{a=v[l+(c<<2)>>2];switch(w[a+88|0]-1|0){case 2:break T;case 1:break U;case 0:break V;default:break S}}p=A[a+32>>3];A[a+32>>3]=A[a+40>>3];n=A[a+16>>3];A[a+16>>3]=A[a+24>>3];A[a+40>>3]=o-n;A[a+24>>3]=o-p;break S}p=A[a+32>>3];A[a+32>>3]=o-A[a+16>>3];A[a+16>>3]=o-p;p=A[a+40>>3];A[a+40>>3]=e-A[a+24>>3];A[a+24>>3]=e-p;break S}p=A[a+40>>3];A[a+40>>3]=A[a+32>>3];n=A[a+24>>3];A[a+24>>3]=A[a+16>>3];A[a+32>>3]=e-n;A[a+16>>3]=e-p}c=c+1|0;if((j|0)!=(c|0)){continue}break}break R}d=1}j=yR(b,g);a=v[b+204>>2];g=v[a+8>>2];if((g|0)>=1){e=A[b+120>>3];o=A[b+112>>3];l=v[a>>2];c=0;while(1){W:{X:{Y:{Z:{a=v[l+(c<<2)>>2];switch(w[a+88|0]-1|0){case 2:break X;case 1:break Y;case 0:break Z;default:break W}}p=A[a+40>>3];A[a+40>>3]=A[a+32>>3];n=A[a+24>>3];A[a+24>>3]=A[a+16>>3];A[a+32>>3]=o-n;A[a+16>>3]=o-p;break W}p=A[a+32>>3];A[a+32>>3]=o-A[a+16>>3];A[a+16>>3]=o-p;p=A[a+40>>3];A[a+40>>3]=e-A[a+24>>3];A[a+24>>3]=e-p;break W}p=A[a+32>>3];A[a+32>>3]=A[a+40>>3];n=A[a+16>>3];A[a+16>>3]=A[a+24>>3];A[a+40>>3]=e-n;A[a+24>>3]=e-p}c=c+1|0;if((g|0)!=(c|0)){continue}break}}B=u+16|0;xR(b,j);m=v[j+8>>2];_:{if((m|0)<=0){break _}while(1){a=0;f=v[v[j>>2]+(h<<2)>>2];g=v[f>>2];if(v[g+8>>2]>=1){while(1){c=0;k=v[v[g>>2]+(a<<2)>>2];m=v[k>>2];if(v[m+8>>2]>=1){while(1){l=v[v[m>>2]+(c<<2)>>2];g=fc(8);v[299999]=0;b=S(3312,g|0)|0;m=v[299999];v[299999]=0;if((m|0)==1){break b}Wt(v[l+48>>2],v[l+56>>2],y,d,b);Ub[z|0](x,v[b+4>>2],v[b>>2]);Dc(b);dc(g);Ub[z|0](x,B,i);c=c+1|0;m=v[k>>2];if((c|0)>2]){continue}break}g=v[f>>2]}a=a+1|0;if((a|0)>2]){continue}break}m=v[j+8>>2]}h=h+1|0;if((m|0)>(h|0)){continue}break}c=0;if((m|0)<=0){break _}while(1){a=v[v[j>>2]+(c<<2)>>2];if(a){Hp(a);dc(a);m=v[j+8>>2]}c=c+1|0;if((m|0)>(c|0)){continue}break}}dc(Vc(j));break e;case 5:m=u+40|0;q=u+16|0;c=i;k=Qb-16|0;Qb=k;s=Xt(b,v[b+204>>2]);mk(v[b+204>>2],3961);mk(v[b+204>>2],3962);n=A[b+8>>3];$:{if(n>0){break $}n=A[b+112>>3];a=v[b+204>>2];j=v[a+8>>2];if((j|0)<1){break $}d=v[a>>2];a=0;while(1){i=a;a=a+1|0;if((j|0)>(a|0)){h=v[d+(i<<2)>>2];e=A[h+24>>3];G=e;o=A[h+40>>3];e=o-e;p=G+e*0;o=o+e*-.35;i=a;while(1){g=v[d+(i<<2)>>2];e=A[g+24>>3];G=e;t=A[g+40>>3];e=t-e;if(!(!(o>G+e*0)|!(p>3]-A[h+16>>3]);n=e>.01?e>3];if(p>0){d=v[b+204>>2];g=v[d+8>>2];break ga}p=A[b+120>>3];d=v[b+204>>2];g=v[d+8>>2];if((g|0)<1){break ga}j=v[d>>2];i=0;while(1){a=i+1|0;ha:{if((a|0)>=(g|0)){e=0;i=a;break ha}i=v[j+(i<<2)>>2];e=A[i+40>>3];t=A[i+24>>3];G=e+(e-t)*-.35;e=0;i=a;while(1){a=i<<2;i=i+1|0;a=v[a+j>>2];o=A[a+24>>3];e=G>3]-o)*0?o-t:e;if(e!=0){break ha}if((g|0)>(i|0)){continue}break}}p=e>0?e(i|0)){continue}break}break fa}if(g){break fa}e=0;break ea}e=p*.5;o=A[v[v[d>>2]>>2]+24>>3];t=o/p+.5;ia:{if(D(t)<2147483648){a=~~t;break ia}a=-2147483648}e=o-p*+(a|0)-e}if(e>3]){t=n*.5;d=0;while(1){a=fc(16);v[299999]=0;l=S(3315,a|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break da}e=p+e;i=v[b+204>>2];ja:{if(v[i+8>>2]<=(d|0)){break ja}while(1){i=v[v[i>>2]+(d<<2)>>2];if(!(A[i+24>>3]>2];if((d|0)>2]){continue}break}}mk(l,3961);if(v[l+8>>2]){o=A[v[v[l>>2]>>2]+16>>3];G=o/n+.5;ka:{if(D(G)<2147483648){i=~~G;break ka}i=-2147483648}o=o-n*+(i|0)-t}else{o=0}j=fc(8);v[299999]=0;f=S(3312,j|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break ca}i=0;if(v[l+8>>2]>=1){while(1){g=v[v[l>>2]+(i<<2)>>2];la:{if(A[g+16>>3]>2],r,8);De(f,r,g);i=i+1|0;break la}De(f,m,B);g=B}o=o+n*+((v[y+8>>2]?1:g)|0);if(v[l+8>>2]>(i|0)){continue}break}}De(f,q,c);Ub[z|0](x,v[f+4>>2],v[f>>2]);Dc(f);dc(j);Vc(l);dc(a);if(A[b+120>>3]>e){continue}break}d=v[b+204>>2]}Tm(h,d,s);Qb=k+16|0;break aa}i=P()|0;O()|0;break ba}i=P()|0;O()|0;a=j}dc(a);T(i|0);L()}break e;case 6:break f;default:break e}}l=u+40|0;h=u+16|0;f=Qb-16|0;Qb=f;g=fc(8);v[299999]=0;j=S(3312,g|0)|0;c=v[299999];v[299999]=0;ma:{if((c|0)!=1){c=v[b+204>>2];if(v[c+8>>2]>=1){while(1){d=f+8|0;c=v[v[c>>2]+(a<<2)>>2];De(j,d,Dh(y,v[c>>2],d,8));a=a+1|0;d=v[b+204>>2];na:{if((a|0)>2]){d=v[v[d>>2]+(a<<2)>>2];k=w[d+88|0];if((k|0)!=w[c+88|0]){De(j,h,i);break na}oa:{switch(k-1|0){default:pa:{e=A[c+56>>3];if(!(D(A[d+24>>3]-A[c+24>>3])>e*.5)){o=A[d+16>>3]-A[c+32>>3];if(!(oe*.15?1:w[c+92|0])){break na}De(j,l,B);break na;case 0:qa:{e=A[c+56>>3];if(!(D(A[c+32>>3]-A[d+32>>3])>e*.5)){o=A[d+24>>3]-A[c+40>>3];if(!(oe*.15?1:w[c+92|0])){break na}De(j,l,B);break na;case 1:ra:{e=A[c+56>>3];if(!(D(A[c+40>>3]-A[d+40>>3])>e*.5)){o=A[c+16>>3]-A[d+32>>3];if(!(oe*.15?1:w[c+92|0])){break na}De(j,l,B);break na;case 2:break oa}}sa:{e=A[c+56>>3];if(!(D(A[d+16>>3]-A[c+16>>3])>e*.5)){o=A[c+24>>3]-A[d+40>>3];if(!(oe*.15?1:w[c+92|0])){break na}De(j,l,B);break na}De(j,h,i)}c=v[j>>2];if((c|0)>=1001){Ub[z|0](x,v[j+4>>2],c);$g(j)}c=v[b+204>>2];if(v[c+8>>2]>(a|0)){continue}break}}a=v[j>>2];if((a|0)>=1){Ub[z|0](x,v[j+4>>2],a)}Dc(j);dc(g);Qb=f+16|0;break ma}break b}}if(M){Ub[z|0](x,u+8|0,K)}Zn(y)}Qb=u+48|0;break a}a=P()|0;O()|0;dc(g);T(a|0);L()}}}function jhb(a,b){a=a|0;b=b|0;var 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,u=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,O=0,P=0,Q=0,R=0;m=Qb-2784|0;Qb=m;a:{n=v[a+52>>2];if(!n){d=-1;break a}b:{c:{d:{e:{f:{g:{if(!v[n+40>>2]){k=v[n+32>>2];if((v[k>>2]&3)!=3){d=-1;break a}c=v[k+20>>2];h:{if(!c){break h}d=v[k+24>>2];b=c;while(1){e=v[d+12>>2];i:{if(w[d+9|0]!=1){if((e|0)>=(B(w[d+5|0],3)-2|0)){break i}d=-1;break a}if((e|0)==1){break i}d=-1;break a}d=d+488|0;b=b-1|0;if(b){continue}break}if((c|0)<1){break h}b=v[k+24>>2];while(1){if(!(t[b+4|0]&1)){ic(b+419|0,15,66)}j:{if(w[b+9|0]!=1){break j}e=B(w[b+5|0],3);if(e>>>0<3){break j}c=v[b+16>>2];if(c>>>0>65535){break g}i=c&2047;c=c>>>11|0;e=e-2|0;d=0;while(1){j=0;if(d){j=(d+2>>>0)/3|0;if(c+j>>>0>31){break g}}v[((d<<2)+b|0)+16>>2]=i|c+j<<11&63488;d=d+1|0;if((e|0)!=(d|0)){continue}break}}b=b+488|0;o=o+1|0;if((o|0)>2]){continue}break}k=v[n+32>>2]}v[n+48>>2]=w[k+16|0]==1;k:{if(v[a+56>>2]<1){break k}q=v[n+36>>2];x=v[a+88>>2];while(1){p=v[k+24>>2]+B(H,488)|0;if(!w[p+8|0]){v[n+48>>2]=1}b=w[p+5|0];v[q+20>>2]=b;b=jc(B(b,60));v[q+24>>2]=b;if(!b){break c}b=v[x>>2];e=b-1|0;c=v[x+4>>2];i=c-1|0;b=xn((e+v[n+4>>2]>>>0)/(b>>>0)|0,(i+v[n+8>>2]>>>0)/(c>>>0)|0,(e+v[n+12>>2]>>>0)/(b>>>0)|0,(i+v[n+16>>2]>>>0)/(c>>>0)|0);v[q+16>>2]=b;if(!b){break c}b=SJ(w[p+8|0],v[q+20>>2]-1|0);v[q+28>>2]=b;if(!b){break c}c=b;b=v[q+16>>2];RJ(c,v[b+4>>2],v[b+8>>2],v[b+12>>2],v[b+16>>2],m+224|0);d=v[q+20>>2];if((d|0)>=1){f=v[q+24>>2];s=0;while(1){v[f+4>>2]=0;b=(s^-1)+d|0;c=-1<>2]>>>b|0;v[f+8>>2]=i;g=c+v[q+4>>2]>>>b|0;v[f+12>>2]=g;h=c+v[q+8>>2]>>>b|0;v[f+16>>2]=h;b=c+v[q+12>>2]>>>b|0;v[f+20>>2]=b;c=p+s|0;d=w[c+419|0];v[f+24>>2]=d;j=w[c+452|0];v[f+28>>2]=j;c=-1<>>d|0;v[f+32>>2]=c;k=-1<>>j|0;v[f+36>>2]=k;v[f+40>>2]=B(c,k);l:{if(!(h>>>0>i>>>0&b>>>0>g>>>0)){v[f+40>>2]=0;v[f+4>>2]=0;v[f+32>>2]=0;v[f+36>>2]=0;break l}if(s){j=j-1|0;d=d-1|0;y=y+1>>>1|0;l=l+1>>>1|0;e=e+1>>>1|0;b=3}else{b=1}v[f+48>>2]=j;v[f+44>>2]=d;c=w[p+6|0];v[f+52>>2]=(c|0)<(d|0)?c:d;c=w[p+7|0];v[f>>2]=b;v[f+56>>2]=(c|0)<(j|0)?c:j;o=jc(b<<5);v[f+4>>2]=o;if(!o){break c}if(v[f>>2]<1){break l}J=B(s,3)-2|0;C=0;while(1){c=s?C+J|0:0;b=(m+224|0)+B(c,40)|0;i=v[b+16>>2];v[o+8>>2]=i;v[o+12>>2]=v[(p+(c<<2)|0)+16>>2];c=hB(w[p+8|0],s,i);v[o+24>>2]=c;i=v[o+12>>2];d=i<<2&8188|8192;i=i>>11;c=(c+v[x+16>>2]|0)-i|0;v[o+16>>2]=(c|0)>-1?d<>>0-c|0;i=i+w[p+416|0]|0;d=i-1|0;v[o+20>>2]=d;c=w[p+417|0];v[o>>2]=0;v[o+4>>2]=0;v[o+28>>2]=(c+d|0)>31?32-i|0:c;m:{if(v[b>>2]==v[b+8>>2]|v[b+4>>2]==v[b+12>>2]){break m}c=xn(0,0,0,0);v[o+4>>2]=c;if(!c){break c}$v(c,v[q+16>>2],v[b+20>>2],v[b+24>>2],v[b+28>>2],v[b+32>>2]);c=v[o+4>>2];i=v[b>>2];v[c+4>>2]=i;b=v[(b|4)>>2];v[c+8>>2]=b;v[c+12>>2]=i+v[c+24>>2];v[c+16>>2]=b+v[c+20>>2];b=v[f+40>>2];if(!b){break f}d=jc(B(b,40));v[o>>2]=d;if(!d){break c}F=v[f+40>>2];if((F|0)<1){break m}h=v[f+44>>2];i=l;c=e;while(1){k=v[f+48>>2];b=v[o+4>>2];g=v[b+4>>2];g=c>>>0>g>>>0?c:g;v[d>>2]=g;j=v[b+8>>2];j=i>>>0>j>>>0?i:j;v[d+4>>2]=j;I=(1<>2];h=h>>>0>I>>>0?I:h;v[d+8>>2]=h;k=(1<>2];k=b>>>0>k>>>0?k:b;v[d+12>>2]=k;n:{if(!(g>>>0>=h>>>0|j>>>0>=k>>>0)){b=v[f+52>>2];r=v[f+56>>2];z=-1<>>r|0;v[d+20>>2]=j;u=(h+(1<>>b|0;v[d+16>>2]=b;g=B(b,j);v[d+24>>2]=g;if((g|0)<=0){break e}b=Vs(b,j);v[d+32>>2]=b;if(!b){break c}b=Vs(v[d+16>>2],v[d+20>>2]);v[d+36>>2]=b;if(!b){break c}j=jc(B(v[d+24>>2],44));v[d+28>>2]=j;if(!j){break c}k=v[d+24>>2];if((k|0)<1){break n}r=v[f+52>>2];g=i;b=c;while(1){h=(1<>2];z=h>>>0>>0?h:z;D=v[d>>2];D=b>>>0>D>>>0?b:D;o:{if(z>>>0<=D>>>0){break o}E=(1<>2])+g|0;A=v[d+12>>2];E=A>>>0>E>>>0?E:A;A=v[d+4>>2];A=g>>>0>A>>>0?g:A;if(E>>>0<=A>>>0){break o}v[j+28>>2]=0;v[j+32>>2]=0;v[j+20>>2]=3;v[j+24>>2]=-1;v[j>>2]=0;v[j+4>>2]=0;v[j+36>>2]=0;v[j+8>>2]=0;v[j+12>>2]=0;v[j+16>>2]=0;h=xn(0,0,0,0);v[j+40>>2]=h;if(!h){break c}$v(h,v[o+4>>2],D,A,z,E);k=k-1|0;j=j+44|0;r=v[f+52>>2];h=(1<>>0>>0){b=h}else{g=(1<>2])+g|0;b=c}if((k|0)>0){continue}break}break n}v[d+36>>2]=0;v[d+28>>2]=0;v[d+32>>2]=0}h=v[f+44>>2];c=(1<>>0<=c>>>0){i=(1<>2])+i|0;c=e}d=d+40|0;b=(F|0)>1;F=F-1|0;if(b){continue}break}}o=o+32|0;C=C+1|0;if((C|0)>2]){continue}break}}f=f+60|0;d=v[q+20>>2];s=s+1|0;if((d|0)>(s|0)){continue}break}}H=H+1|0;if((H|0)>=v[a+56>>2]){break k}q=q+32|0;x=x+32|0;k=v[n+32>>2];continue}}u=n;l=0;e=s2();b=0;p:{if(!e){break p}b=v[a+56>>2];v[e+8>>2]=b;i=jc(b<<4);v[e+12>>2]=i;q:{if(!i){break q}r:{s:{d=v[e+8>>2];if((d|0)<1){break s}c=d&7;b=i;if(d-1>>>0>=7){h=d&-8;while(1){v[b+4>>2]=0;v[b+116>>2]=0;v[b+100>>2]=0;v[b+84>>2]=0;v[b+68>>2]=0;v[b+52>>2]=0;v[b+36>>2]=0;v[b+20>>2]=0;b=b+128|0;h=h-8|0;if(h){continue}break}}if(c){while(1){v[b+4>>2]=0;b=b+16|0;c=c-1|0;if(c){continue}break}}if((d|0)<1){break s}g=v[n+36>>2];while(1){b=v[g+20>>2];v[i>>2]=b;c=jc(B(b,20));v[i+4>>2]=c;if(!c){break q}d=v[i>>2];f=(d|0)<1;t:{if(f){break t}h=d&7;b=c;if(d-1>>>0>=7){d=d&-8;while(1){v[b+4>>2]=0;v[b+144>>2]=0;v[b+124>>2]=0;v[b+104>>2]=0;v[b+84>>2]=0;v[b- -64>>2]=0;v[b+44>>2]=0;v[b+24>>2]=0;b=b+160|0;d=d-8|0;if(d){continue}break}}if(h){while(1){v[b+4>>2]=0;b=b+20|0;h=h-1|0;if(h){continue}break}}if(f){break t}b=v[g+24>>2];d=0;while(1){f=v[b+40>>2];v[c>>2]=f;f=jc(f<<2);v[c+4>>2]=f;if(!f){break q}b=b+60|0;c=c+20|0;d=d+1|0;if((d|0)>2]){continue}break}}i=i+16|0;g=g+32|0;d=v[e+8>>2];l=l+1|0;if((d|0)>(l|0)){continue}break}l=v[n+36>>2];c=0;v[e+4>>2]=0;if((d|0)<1){break r}g=v[e+12>>2];f=v[a+88>>2];j=0;while(1){v[g+8>>2]=v[f>>2];v[g+12>>2]=v[f+4>>2];b=v[g>>2];if((b|0)>=1){h=v[g+4>>2];d=v[l+24>>2];i=0;while(1){v[h+8>>2]=v[d+24>>2];v[h+12>>2]=v[d+28>>2];if(v[h>>2]>=1){b=v[h+4>>2];c=0;while(1){v[b>>2]=0;b=b+4|0;c=c+1|0;if((c|0)>2]){continue}break}b=v[g>>2]}v[h+16>>2]=v[d+32>>2];d=d+60|0;h=h+20|0;i=i+1|0;if((i|0)<(b|0)){continue}break}c=v[e+4>>2]}b=v[l+20>>2];if((b|0)>(c|0)){v[e+4>>2]=b;c=b}f=f+32|0;g=g+16|0;l=l+32|0;d=v[e+8>>2];j=j+1|0;if((d|0)>(j|0)){continue}break}break r}c=0;v[e+4>>2]=0}b=v[n+32>>2];i=v[b+12>>2];v[e>>2]=i;v[e+56>>2]=v[n+4>>2];v[e+60>>2]=v[n+8>>2];v[e+64>>2]=v[n+12>>2];f=v[n+16>>2];v[e+16>>2]=0;v[e+20>>2]=0;v[e+68>>2]=f;v[e+24>>2]=0;v[e+28>>2]=0;v[e+32>>2]=0;v[e+36>>2]=0;v[e+40>>2]=0;v[e+44>>2]=0;v[e+48>>2]=0;v[e+52>>2]=0;v[e+96>>2]=-1;b=w[b+8|0];v[e+88>>2]=d;v[e+84>>2]=0;t[e+80|0]=b;v[e+92>>2]=i;t[e+82|0]=c;t[e+81|0]=0;t[e+101|0]=0;v[e+72>>2]=0;b=e;break p}dB(e);b=0}v[u+52>>2]=b;if(!b){break c}if(v[v[v[n+32>>2]+4>>2]>>2]>=1){d=0;while(1){l=OJ(v[v[v[v[n+32>>2]+4>>2]+8>>2]+(d<<2)>>2]);if(!l){break d}b=v[v[n+52>>2]+76>>2];c=v[b>>2];h=c;e=v[b+4>>2];u:{v:{if((e|0)>(c|0)){break v}i=e+128|0;e=uh(v[b+8>>2],i<<2);if(!e){break u}v[b+8>>2]=e;v[b+4>>2]=i;h=v[b>>2];if((c|0)>=(h|0)){break v}i=h-1|0;v[e+(h<<2)>>2]=v[e+(i<<2)>>2];if((c|0)>=(i|0)){break v}g=(c^-1)+h&3;if(g){while(1){e=v[b+8>>2];f=e+(i<<2)|0;i=i-1|0;v[f>>2]=v[e+(i<<2)>>2];g=g-1|0;if(g){continue}break}}if((h-c|0)-2>>>0<3){break v}while(1){e=i<<2;f=e-4|0;g=v[b+8>>2];v[e+g>>2]=v[f+g>>2];g=f;f=v[b+8>>2];u=g+f|0;g=f;f=e-8|0;v[u>>2]=v[g+f>>2];g=f;f=v[b+8>>2];e=e-12|0;v[g+f>>2]=v[e+f>>2];f=e;e=v[b+8>>2];i=i-4|0;v[f+e>>2]=v[e+(i<<2)>>2];if((c|0)<(i|0)){continue}break}}v[v[b+8>>2]+(c<<2)>>2]=l;v[b>>2]=h+1}d=d+1|0;if((d|0)>2]+4>>2]>>2]){continue}break}}p2(v[n+52>>2])}c=v[a+96>>2];if(c){e=v[c>>2];if((e|0)<=0){break b}b=v[c+8>>2];i=v[b>>2];w:{if((e|0)==1){break w}v[b>>2]=v[b+4>>2];d=2;if((e|0)==2){break w}g=e-2|0;f=g&3;b=1;if(e-3>>>0>=3){h=g&-4;while(1){g=b<<2;b=v[c+8>>2];l=g+b|0;g=b;b=d<<2;v[l>>2]=v[g+b>>2];g=v[c+8>>2];u=g+b|0;l=g;g=b|4;v[u>>2]=v[l+g>>2];l=g;g=v[c+8>>2];b=b+8|0;v[l+g>>2]=v[b+g>>2];g=v[c+8>>2];l=g+b|0;b=d+3|0;v[l>>2]=v[g+(b<<2)>>2];d=d+4|0;h=h-4|0;if(h){continue}break}}if(!f){break w}while(1){g=v[c+8>>2];h=g+(b<<2)|0;b=d;v[h>>2]=v[g+(b<<2)>>2];d=b+1|0;f=f-1|0;if(f){continue}break}}d=-1;v[c>>2]=e-1;v[n+24>>2]=i;if(!i){break a}}if(v[n+20>>2]){x:{d=v[n+24>>2];if(d){break x}d=di(0,0);v[n+24>>2]=d;if(d){break x}d=-1;break a}e=ui(d);d=0;Df(v[n+24>>2],0,2);f=v[n+24>>2];b=v[n+20>>2];if(v[b>>2]>0){y:{while(1){c=v[v[b+8>>2]+(d<<2)>>2];if((zn(f,v[c+8>>2],v[c+4>>2])|0)==v[c+4>>2]){d=d+1|0;if((d|0)>2]){continue}break y}break}d=-1;break a}f=v[n+24>>2]}d=0;Df(f,e,0);b=v[n+20>>2];if(v[b>>2]>=1){while(1){c=v[v[b+8>>2]+(d<<2)>>2];e=v[c+8>>2];if(e){dc(e)}dc(c);d=d+1|0;if((d|0)>2]){continue}break}}c=v[b+8>>2];if(c){dc(c)}dc(b);v[n+20>>2]=0}z:{if(v[282952]<10){break z}b=v[a+44>>2];if((b|0)<1){break z}d=v[a+56>>2];if((d|0)<1){break z}e=v[252391];i=v[a+48>>2];o=0;while(1){if((d|0)>=1){c=v[i+36>>2];q=0;while(1){if(v[c+20>>2]>=1){k=v[c+24>>2];g=0;while(1){v[m+208>>2]=g;wc(e,44302,m+208|0);b=v[k+16>>2];d=v[k+8>>2];f=v[k+20>>2];h=v[k+12>>2];v[m+196>>2]=f-h;v[m+192>>2]=b-d;v[m+188>>2]=f;v[m+184>>2]=b;v[m+180>>2]=h;v[m+176>>2]=d;wc(e,45084,m+176|0);if(v[k>>2]>=1){b=v[k+4>>2];l=0;while(1){v[m+160>>2]=l;wc(e,45759,m+160|0);d=v[b+4>>2];f=v[d+12>>2];h=v[d+4>>2];j=v[d+16>>2];d=v[d+8>>2];v[m+148>>2]=j-d;v[m+144>>2]=f-h;v[m+140>>2]=j;v[m+136>>2]=f;v[m+132>>2]=d;v[m+128>>2]=h;wc(e,45084,m+128|0);if(v[k+40>>2]>=1){d=v[b>>2];r=0;while(1){v[m+112>>2]=r;wc(e,46580,m+112|0);f=v[d+8>>2];h=v[d>>2];j=v[d+12>>2];p=v[d+4>>2];v[m+100>>2]=j-p;v[m+96>>2]=f-h;v[m+92>>2]=j;v[m+88>>2]=f;v[m+84>>2]=p;v[m+80>>2]=h;wc(e,45084,m+80|0);if(v[d+24>>2]>=1){f=v[d+28>>2];h=0;while(1){v[m+64>>2]=h;wc(e,47249,m- -64|0);j=v[f+40>>2];p=v[j+12>>2];x=v[j+4>>2];s=v[j+16>>2];j=v[j+8>>2];v[m+52>>2]=s-j;v[m+48>>2]=p-x;v[m+44>>2]=s;v[m+40>>2]=p;v[m+36>>2]=j;v[m+32>>2]=x;wc(e,45084,m+32|0);f=f+44|0;h=h+1|0;if((h|0)>2]){continue}break}}d=d+40|0;r=r+1|0;if((r|0)>2]){continue}break}}b=b+32|0;l=l+1|0;if((l|0)>2]){continue}break}}k=k+60|0;g=g+1|0;if((g|0)>2]){continue}break}d=v[a+56>>2]}c=c+32|0;q=q+1|0;if((q|0)<(d|0)){continue}break}b=v[a+44>>2]}i=i+56|0;o=o+1|0;if((o|0)<(b|0)){continue}break}}b=v[n+24>>2];p=v[a+60>>2];s=b?b:p;k=Qb+-64|0;Qb=k;i=a;O=v[a+52>>2];o=v[O+52>>2];A:{while(1){B:{C:{D:{E:{F:{a=v[O+24>>2];if(a){if(v[a+28>>2]>0){break F}if((Hc(a,0)|0)!=-1){break F}}if(Of(p,k+60|0)){break E}if((dj(p,w[k+60|0])|0)==-1){break E}if((dj(p,v[k+60>>2]>>>8|0)|0)==-1){break E}a=v[k+60>>2];if((a&-128)!=65408|a-65425>>>0<2){break F}d=0;if((a|0)==65424){break B}b=-1;if((a|0)!=65497){break A}break B}d=QJ(o);if(d){break B}a=v[i+72>>2];if(!((a|0)<0|(a|0)>v[i+76>>2])){b=0;Sc(4532,0);break A}G:{if(v[282952]>=1){if(!w[o+101|0]){break G}a=v[p+60>>2];b=v[o+24>>2];c=v[o+28>>2];e=w[v[o+72>>2]];d=v[o+36>>2];v[k+48>>2]=v[o+32>>2];v[k+52>>2]=d;v[k+36>>2]=e;v[k+40>>2]=b;v[k+44>>2]=c;v[k+32>>2]=a;Sc(8652,k+32|0)}if(w[o+101|0]){H=v[i+68>>2];C=v[o+36>>2];I=v[o+32>>2];z=v[o+28>>2];F=v[o+24>>2];J=v[i+52>>2];D=v[J+32>>2];b=v[D+24>>2];H:{if(!(w[D+17|0]&2)){break H}if(Of(p,k+60|0)){break H}if((dj(p,w[k+60|0])|0)==-1){break H}if((dj(p,v[k+60>>2]>>>8|0)|0)==-1){break H}a=v[k+60>>2];if((a&-128)!=65408|(a|0)!=65425){break H}a=YJ(p,v[i+104>>2]);if(!a){b=-1;break A}c=v[a>>2];ai(a);if((c|0)==65425){break H}Sc(17185,0);b=-1;break A}Q=v[s+60>>2];d=-1;l=gB(s,18130);if(!l){break B}if(t[l+16|0]&1){a=v[l+8>>2];c=a-1|0;v[l+8>>2]=c;I:{if((a|0)>=1){a=v[l+4>>2]>>>c&1;break I}a=Wf(l);if((a|0)<0){break B}}if(!a){break D}J:{K:{E=v[(v[J+36>>2]+(F<<5)|0)+24>>2]+B(z,60)|0;j=v[E>>2];L:{if((j|0)<1){q=0;break L}R=C+1|0;A=b+B(F,488)|0;r=v[E+4>>2];q=0;M=0;while(1){M:{if(!v[r+4>>2]){break M}y=v[r>>2]+B(I,40)|0;g=v[y+28>>2];if(!g|v[y+24>>2]<1){break M}x=0;while(1){N:{if(!v[g>>2]){a=v[y+32>>2];a=LJ(a,v[a+12>>2]+(x<<4)|0,R,l);if((a|0)>=0){break N}b=-1;break A}if(t[l+16|0]&1){a=v[l+8>>2];b=a-1|0;v[l+8>>2]=b;if((a|0)>=1){a=v[l+4>>2]>>>b&1;break N}a=Wf(l);if((a|0)>=0){break N}b=-1;break A}X(21378,13808,258,189550);L()}if(a){if(!v[g>>2]){a=1;b=-1;e=v[y+36>>2];c=v[e+12>>2]+(x<<4)|0;j=LJ(e,c,1,l);if((j|0)<0){break A}while(1){if(!j){a=a+1|0;j=LJ(v[y+36>>2],c,a,l);if((j|0)>=0){continue}break A}break}a=a-1|0;v[g+16>>2]=a;v[g+24>>2]=B(a,3)}if(!(t[l+16|0]&1)){break J}a=v[l+8>>2];b=a-1|0;v[l+8>>2]=b;O:{P:{Q:{if((a|0)>=1){a=v[l+4>>2]>>>b&1}else{a=Wf(l)}if((a|0)>=1){if(!(t[l+16|0]&1)){break K}a=v[l+8>>2];b=a-1|0;v[l+8>>2]=b;if((a|0)>=1){a=v[l+4>>2]>>>b&1}else{a=Wf(l)}if((a|0)>=1){a=eB(l,2);if((a|0)==3){a=eB(l,5);if((a|0)!=31){break Q}a=eB(l,7);e=(a|0)>-1?a+37|0:a;break P}e=(a|0)>-1?a+3|0:a;break P}e=2;if(!a){break O}b=-1;break A}e=1;if(!a){break O}b=-1;break A}e=(a|0)>-1?a+6|0:a}if((e|0)>=0){break O}b=-1;break A}R:{if(t[l+16|0]&1){f=v[g+12>>2];j=0;while(1){a=v[l+8>>2];b=a-1|0;v[l+8>>2]=b;S:{if((a|0)>=1){a=v[l+4>>2]>>>b&1;break S}a=Wf(l);if((a|0)>=0){break S}b=-1;break A}b=-1;if(w[l|0]&2){break A}if(!a){break R}j=j+1|0;if(t[l+16|0]&1){continue}break}}X(32183,13808,114,189588);L()}v[g+20>>2]=v[g+20>>2]+j;if((e|0)>=1){P=g+4|0;j=0;a=e;while(1){G=v[g+24>>2];N=v[g>>2]+(G+j|0)|0;h=N;K=w[A+418|0];c=K&1;T:{U:{u=1;V:{if(K>>>2&1){break V}u=94;if(!c){break V}u=(G-h|0)+10|0;if((h|0)<(G+10|0)){break V}c=(h|0)%3|0;if(c>>>0>=3){break U}u=v[(c<<2)+189024>>2]}c=u;h=1e4-h|0;h=(c|0)<(h|0)?c:h;break T}X(3794,7464,130,188981);L()}K=(C|0)>=(H|0);if(!(f|K)){c=jc(40);if(c){v[c+12>>2]=0;v[c+16>>2]=0;v[c+8>>2]=-1;v[c>>2]=0;v[c+4>>2]=0;v[c+36>>2]=-1;v[c+20>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+32>>2]=0}else{c=0}f=c;if(!c){break A}W:{X:{c=v[g+8>>2];if(!c){v[f>>2]=0;v[f+4>>2]=0;v[P>>2]=f;break X}G=v[c>>2];v[f>>2]=G;v[f+4>>2]=c;v[c>>2]=f;if(!G){break X}v[G+4>>2]=f;break W}v[P+4>>2]=f}if(!v[g+12>>2]){v[g+12>>2]=f}v[f+8>>2]=N;c=y2(N,v[g+24>>2],t[A+418|0]&1);v[f+16>>2]=h;v[f+20>>2]=c}c=(a|0)<(h|0)?a:h;h=eB(l,v[g+20>>2]+Wo(c)|0);if((h|0)<0){break A}a=a-c|0;if(!K){v[f+36>>2]=C;v[f+28>>2]=h;v[f+12>>2]=c+v[f+12>>2];f=v[f>>2]}j=c+j|0;q=h+q|0;if((a|0)>0){continue}break}}v[g>>2]=v[g>>2]+e}g=g+44|0;x=x+1|0;if((x|0)>2]){continue}break}j=v[E>>2]}r=r+32|0;M=M+1|0;if((M|0)<(j|0)){continue}break}}fB(l,0,0);break C}X(32183,13808,134,189568);L()}X(32183,13808,133,189568);L()}X(21378,13808,227,189550);L()}X(10276,13808,454,189531);L()}X(10276,13808,451,189531);L()}b=-1;break A}q=0;if(!fB(l,127,0)){break C}Sc(24259,0);b=-1;break A}Xs(l);a=v[s+60>>2];if(v[282952]>=5){v[k+20>>2]=q;v[k+16>>2]=a-Q;Sc(26459,k+16|0)}Y:{if(!(w[D+17|0]&4)){break Y}if(Of(s,k+60|0)){break Y}if((dj(s,w[k+60|0])|0)==-1){break Y}if((dj(s,v[k+60>>2]>>>8|0)|0)==-1){break Y}a=v[k+60>>2];if((a&-128)!=65408|(a|0)!=65426){break Y}a=YJ(s,v[i+104>>2]);if(!a){Sc(27729,0);b=-1;break A}b=v[a>>2];ai(a);if((b|0)==65426){break Y}Sc(29439,0);b=-1;break A}if(v[282952]>=1){v[k>>2]=v[p+60>>2];Sc(31016,k)}Z:{if((C|0)<(H|0)){c=v[(v[J+36>>2]+(F<<5)|0)+24>>2]+B(z,60)|0;a=v[c>>2];if((a|0)<1){break Z}b=v[c+4>>2];f=0;while(1){_:{if(!v[b+4>>2]){break _}d=v[b>>2]+B(I,40)|0;g=v[d+28>>2];if(!g){break _}j=v[d+24>>2];if((j|0)<1){break _}r=0;while(1){e=v[g+12>>2];if(e){while(1){$:{a=v[e+24>>2];if(a){break $}a=di(0,0);v[e+24>>2]=a;if(a){break $}b=-1;break A}h=v[e+28>>2];if((h|0)>=1){if((Cm(a,p,h)|0)<0){b=-1;break A}v[e+28>>2]=0}if(v[e+12>>2]>=v[e+16>>2]){v[g+12>>2]=v[e>>2]}e=v[e>>2];if(e){continue}break}j=v[d+24>>2]}g=g+44|0;r=r+1|0;if((r|0)<(j|0)){continue}break}a=v[c>>2]}b=b+32|0;f=f+1|0;if((f|0)<(a|0)){continue}break}break Z}if((bt(p,q)|0)!=(q|0)){break B}}v[i+76>>2]=v[i+76>>2]+1;continue}break}b=d}Qb=k- -64|0;if(b){Sc(34066,0);d=-1;break a}a=v[i+100>>2];aa:{if((a|0)<1){break aa}b=v[v[i+60>>2]+60>>2];if((b|0)<(a|0)){j=a-b|0;v[m>>2]=j;Sc(35555,m);while(1){if(!j){break aa}a=v[i+60>>2];b=v[a+8>>2];ba:{if(b&7){break ba}c=v[a+64>>2];if(!((c|0)<0|(c|0)>v[a+60>>2])){v[a+8>>2]=b|4;break ba}b=v[a+28>>2];v[a+28>>2]=b-1;j=j-1|0;ca:{if((b|0)<=0){a=Hc(a,1);break ca}v[a+60>>2]=v[a+60>>2]+1;b=a;a=v[a+24>>2];v[b+24>>2]=a+1;a=w[a|0]}if((a|0)!=-1){continue}}break}Sc(37011,0);d=-1;break a}if((a|0)>=(b|0)){break aa}v[m+16>>2]=b-a;Sc(38211,m+16|0)}a=v[n+44>>2];da:{if((a|0)<1){break da}d=-1;if(v[n+40>>2]!=(a-1|0)){break da}if(E2(i,n)){break a}D2(i,n)}d=0;v[i+52>>2]=0;v[n+40>>2]=v[n+40>>2]+1;v[i+84>>2]=8;break a}X(40630,16151,1597,188916);L()}X(41062,16151,798,188930);L()}X(42361,16151,829,188930);L()}X(42994,16151,901,188930);L()}d=-1;break a}ia();L()}Qb=m+2784|0;return d|0}function Fta(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,p=0,q=0,r=0,s=0;d=Qb-128|0;Qb=d;e=d+96|0;Xu(e,a);v[299999]=0;j=Q(4160,d+112|0,e|0)|0;e=v[299999];v[299999]=0;a:{if((e|0)!=1){if(t[d+107|0]<=-1){dc(v[d+96>>2])}v[299999]=0;e=md(j,978116);f=v[299999];v[299999]=0;b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{if((f|0)==1){break I}if(e){v[d+56>>2]=0;v[d+48>>2]=255;v[299999]=0;v[d+8>>2]=0;v[d+12>>2]=1072693248;e=wo(a);f=v[299999];v[299999]=0;if((f|0)==1){break c}J:{K:{L:{M:{if((e|0)<1){break M}v[299999]=0;e=rj(a);f=v[299999];v[299999]=0;if((f|0)==1){break c}if(!e){break M}v[299999]=0;V(4145,d+80|0,a|0);e=v[299999];v[299999]=0;if((e|0)==1){break d}v[299999]=0;e=Q(4160,d+96|0,d+80|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break e}if(t[d+91|0]<=-1){dc(v[d+80>>2])}N:{O:{P:{Q:{while(1){v[299999]=0;f=v[e+4>>2];h=v[299999];v[299999]=0;if((h|0)==1){break L}if(!f){break N}v[299999]=0;f=md(e,978492);h=v[299999];v[299999]=0;if((h|0)==1){break L}R:{if(f){v[299999]=0;V(4150,d- -64|0,a|0);f=v[299999];v[299999]=0;S:{T:{U:{if((f|0)!=1){v[299999]=0;f=Q(4160,d+80|0,d- -64|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break U}v[299999]=0;U(4285,f|0,d+56|0,d+48|0);h=v[299999];v[299999]=0;if((h|0)==1){break T}xc(f);if(t[d+75|0]>-1){break R}dc(v[d+64>>2]);break R}a=P()|0;O()|0;xc(e);break b}a=P()|0;O()|0;break S}a=P()|0;O()|0;xc(f)}if(t[d+75|0]>-1){break K}dc(v[d+64>>2]);xc(e);break b}v[299999]=0;f=md(e,978516);h=v[299999];v[299999]=0;if((h|0)==1){break L}if(f){v[299999]=0;V(4150,d- -64|0,a|0);f=v[299999];v[299999]=0;V:{W:{X:{if((f|0)!=1){v[299999]=0;f=Q(4160,d+80|0,d- -64|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break X}v[299999]=0;Ar(f,d+8|0);h=v[299999];v[299999]=0;if((h|0)==1){break W}xc(f);if(t[d+75|0]>-1){break R}dc(v[d+64>>2]);break R}a=P()|0;O()|0;xc(e);break b}a=P()|0;O()|0;break V}a=P()|0;O()|0;xc(f)}if(t[d+75|0]>-1){break K}dc(v[d+64>>2]);xc(e);break b}v[299999]=0;f=md(e,978548);h=v[299999];v[299999]=0;if((h|0)==1){break L}if(!(f&(c|0)!=0)){break R}v[299999]=0;V(4150,d+80|0,a|0);f=v[299999];v[299999]=0;Y:{if((f|0)!=1){v[299999]=0;U(4204,c|0,d+80|0,1);f=v[299999];v[299999]=0;if((f|0)==1){break Y}if(t[d+91|0]>-1){break R}dc(v[d+80>>2]);break R}a=P()|0;O()|0;xc(e);break b}a=P()|0;O()|0;if(t[d+91|0]>-1){break K}dc(v[d+80>>2]);xc(e);break b}v[299999]=0;f=Ji(a);h=v[299999];v[299999]=0;if((h|0)==1){break L}if(!f){break N}v[299999]=0;V(4145,d- -64|0,a|0);f=v[299999];v[299999]=0;if((f|0)!=1){v[299999]=0;f=Q(4160,d+80|0,d- -64|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break Q}v[299999]=0;uf(e,f);h=v[299999];v[299999]=0;if((h|0)==1){break P}xc(f);if(t[d+75|0]>-1){continue}dc(v[d+64>>2]);continue}break}a=P()|0;O()|0;xc(e);break b}a=P()|0;O()|0;break O}a=P()|0;O()|0;xc(f)}if(t[d+75|0]>-1){break K}dc(v[d+64>>2]);xc(e);break b}v[299999]=0;_i(a);a=v[299999];v[299999]=0;if((a|0)==1){break f}xc(e)}v[299999]=0;e=S(1,12)|0;a=v[299999];v[299999]=0;if((a|0)==1){break c}k=A[b>>3];l=A[d+8>>3];a=v[d+48>>2];v[e+4>>2]=v[d+56>>2];v[e>>2]=979132;k=l*(k*+(a|0));if(!(D(k)<2147483648)){break J}v[e+8>>2]=~~k;break w}a=P()|0;O()|0}xc(e);break b}v[e+8>>2]=-2147483648;break w}v[299999]=0;e=md(j,978180);f=v[299999];v[299999]=0;if((f|0)==1){break I}if(e){e=0;v[299999]=0;b=wo(a);f=v[299999];v[299999]=0;if((f|0)==1){break I}if((b|0)<1){break w}v[299999]=0;b=rj(a);f=v[299999];v[299999]=0;if((f|0)==1){break I}if(!b){break w}v[299999]=0;V(4145,d+80|0,a|0);b=v[299999];v[299999]=0;if((b|0)==1){break g}v[299999]=0;b=Q(4160,d+96|0,d+80|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break h}if(t[d+91|0]<=-1){dc(v[d+80>>2])}e=0;Z:{_:{$:{aa:{ba:{ca:{while(1){v[299999]=0;f=v[b+4>>2];h=v[299999];v[299999]=0;if((h|0)==1){break _}if(!f){break $}v[299999]=0;f=md(b,978572);h=v[299999];v[299999]=0;if((h|0)==1){break _}da:{ea:{fa:{if(f){v[299999]=0;e=S(1,32)|0;f=v[299999];v[299999]=0;if((f|0)==1){break _}v[299999]=0;V(4150,d+80|0,a|0);f=v[299999];v[299999]=0;ga:{if((f|0)!=1){g=v[d+80>>2];m=t[d+91|0];v[e>>2]=979212;v[299999]=0;f=e+4|0;v[f>>2]=0;v[f+4>>2]=0;t[f+8|0]=0;h=v[299999];v[299999]=0;if((h|0)==1){break ga}v[299999]=0;h=e+20|0;v[h>>2]=0;v[h+4>>2]=0;t[h+8|0]=0;i=v[299999];v[299999]=0;if((i|0)==1){break fa}v[299999]=0;$(4184,f|0,((m|0)<0?g:d+80|0)|0,1,-1);g=v[299999];v[299999]=0;if((g|0)==1){a=P()|0;O()|0;xc(h);xc(f);break ea}if(t[d+91|0]>-1){break da}dc(v[d+80>>2]);break da}a=P()|0;O()|0;dc(e);xc(b);break b}a=P()|0;O()|0;break ea}v[299999]=0;f=md(b,978548);h=v[299999];v[299999]=0;if((h|0)==1){break _}if(!(f&(c|0)!=0)){break da}v[299999]=0;V(4150,d+80|0,a|0);f=v[299999];v[299999]=0;ha:{if((f|0)!=1){v[299999]=0;U(4204,c|0,d+80|0,1);f=v[299999];v[299999]=0;if((f|0)==1){break ha}if(t[d+91|0]>-1){break da}dc(v[d+80>>2]);break da}a=P()|0;O()|0;xc(b);break b}a=P()|0;O()|0;if(t[d+91|0]>-1){break Z}dc(v[d+80>>2]);xc(b);break b}a=P()|0;O()|0;xc(f)}if(t[d+91|0]<=-1){dc(v[d+80>>2])}dc(e);xc(b);break b}v[299999]=0;f=Ji(a);h=v[299999];v[299999]=0;if((h|0)==1){break _}if(!f){break $}v[299999]=0;V(4145,d- -64|0,a|0);f=v[299999];v[299999]=0;if((f|0)!=1){v[299999]=0;f=Q(4160,d+80|0,d- -64|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break ca}v[299999]=0;uf(b,f);h=v[299999];v[299999]=0;if((h|0)==1){break ba}xc(f);if(t[d+75|0]>-1){continue}dc(v[d+64>>2]);continue}break}a=P()|0;O()|0;xc(b);break b}a=P()|0;O()|0;break aa}a=P()|0;O()|0;xc(f)}if(t[d+75|0]>-1){break Z}dc(v[d+64>>2]);xc(b);break b}v[299999]=0;_i(a);a=v[299999];v[299999]=0;if((a|0)==1){break i}xc(b);break w}a=P()|0;O()|0}xc(b);break b}v[299999]=0;e=md(j,978224);f=v[299999];v[299999]=0;if((f|0)==1){break I}if(!e){e=0;v[299999]=0;f=md(j,978304);h=v[299999];v[299999]=0;if((h|0)==1){break I}if(!f){break w}}v[299999]=0;h=md(j,978224);e=v[299999];v[299999]=0;if((e|0)==1){break j}if(!h){break H}v[d+8>>2]=0;v[d+12>>2]=0;v[d+56>>2]=0;v[d+60>>2]=0;v[d+48>>2]=0;v[d+52>>2]=1072693248;v[299999]=0;v[d+40>>2]=0;v[d+44>>2]=1072693248;e=wo(a);f=v[299999];v[299999]=0;if((f|0)==1){break k}k=1;ia:{ja:{ka:{if((e|0)<1){break ka}v[299999]=0;e=rj(a);f=v[299999];v[299999]=0;if((f|0)==1){break k}if(!e){break ka}v[299999]=0;V(4145,d+80|0,a|0);e=v[299999];v[299999]=0;if((e|0)==1){break l}v[299999]=0;f=Q(4160,d+96|0,d+80|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break m}if(t[d+91|0]<=-1){dc(v[d+80>>2])}la:{ma:{na:{oa:{while(1){v[299999]=0;e=v[f+4>>2];g=v[299999];v[299999]=0;if((g|0)==1){break ja}if(!e){break la}v[299999]=0;e=md(f,978620);g=v[299999];v[299999]=0;if((g|0)==1){break ja}pa:{if(e){v[299999]=0;V(4150,d- -64|0,a|0);e=v[299999];v[299999]=0;qa:{ra:{sa:{if((e|0)!=1){v[299999]=0;e=Q(4160,d+80|0,d- -64|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break sa}v[299999]=0;U(4286,e|0,d+8|0,d+56|0);g=v[299999];v[299999]=0;if((g|0)==1){break ra}xc(e);if(t[d+75|0]>-1){break pa}dc(v[d+64>>2]);break pa}a=P()|0;O()|0;xc(f);break b}a=P()|0;O()|0;break qa}a=P()|0;O()|0;xc(e)}if(t[d+75|0]>-1){break ia}dc(v[d+64>>2]);xc(f);break b}v[299999]=0;e=md(f,978664);g=v[299999];v[299999]=0;if((g|0)==1){break ja}if(e){v[299999]=0;V(4150,d- -64|0,a|0);e=v[299999];v[299999]=0;ta:{ua:{va:{if((e|0)!=1){v[299999]=0;e=Q(4160,d+80|0,d- -64|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break va}v[299999]=0;U(4286,e|0,d+48|0,d+40|0);g=v[299999];v[299999]=0;if((g|0)==1){break ua}xc(e);if(t[d+75|0]>-1){break pa}dc(v[d+64>>2]);break pa}a=P()|0;O()|0;xc(f);break b}a=P()|0;O()|0;break ta}a=P()|0;O()|0;xc(e)}if(t[d+75|0]>-1){break ia}dc(v[d+64>>2]);xc(f);break b}v[299999]=0;e=md(f,978516);g=v[299999];v[299999]=0;if((g|0)==1){break ja}if(e){v[299999]=0;V(4150,d+80|0,a|0);e=v[299999];v[299999]=0;if((e|0)!=1){g=w[d+91|0];e=g<<24>>24;wa:{if((e|0)<0?v[d+84>>2]:g){v[299999]=0;k=+ha(4171,d+80|0);e=v[299999];v[299999]=0;if((e|0)==1){break wa}e=w[d+91|0]}if(e<<24>>24>-1){break pa}dc(v[d+80>>2]);break pa}a=P()|0;O()|0;if(t[d+91|0]>-1){break ia}dc(v[d+80>>2]);xc(f);break b}a=P()|0;O()|0;xc(f);break b}v[299999]=0;e=md(f,978548);g=v[299999];v[299999]=0;if((g|0)==1){break ja}if(!(e&(c|0)!=0)){break pa}v[299999]=0;V(4150,d+80|0,a|0);e=v[299999];v[299999]=0;xa:{if((e|0)!=1){v[299999]=0;U(4204,c|0,d+80|0,1);e=v[299999];v[299999]=0;if((e|0)==1){break xa}if(t[d+91|0]>-1){break pa}dc(v[d+80>>2]);break pa}a=P()|0;O()|0;xc(f);break b}a=P()|0;O()|0;if(t[d+91|0]>-1){break ia}dc(v[d+80>>2]);xc(f);break b}v[299999]=0;e=Ji(a);g=v[299999];v[299999]=0;if((g|0)==1){break ja}if(!e){break la}v[299999]=0;V(4145,d- -64|0,a|0);e=v[299999];v[299999]=0;if((e|0)!=1){v[299999]=0;e=Q(4160,d+80|0,d- -64|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break oa}v[299999]=0;uf(f,e);g=v[299999];v[299999]=0;if((g|0)==1){break na}xc(e);if(t[d+75|0]>-1){continue}dc(v[d+64>>2]);continue}break}a=P()|0;O()|0;xc(f);break b}a=P()|0;O()|0;break ma}a=P()|0;O()|0;xc(e)}if(t[d+75|0]>-1){break ia}dc(v[d+64>>2]);xc(f);break b}v[299999]=0;_i(a);c=v[299999];v[299999]=0;if((c|0)==1){break n}xc(f)}v[299999]=0;e=S(1,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){break k}l=A[d+8>>3];n=A[d+56>>3];o=A[d+48>>3];p=A[d+40>>3];v[e+12>>2]=0;v[e+4>>2]=0;v[e+8>>2]=0;v[e>>2]=979268;break G}a=P()|0;O()|0}xc(f);break b}a=P()|0;O()|0;break b}v[d+8>>2]=0;v[d+12>>2]=0;v[d+56>>2]=0;v[d+60>>2]=0;v[d+48>>2]=0;v[d+52>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=0;v[d+36>>2]=0;v[299999]=0;v[d+24>>2]=0;v[d+28>>2]=0;e=wo(a);f=v[299999];v[299999]=0;if((f|0)==1){break o}k=1;ya:{if((e|0)<1){break ya}v[299999]=0;e=rj(a);f=v[299999];v[299999]=0;if((f|0)==1){break o}if(!e){break ya}v[299999]=0;V(4145,d+80|0,a|0);e=v[299999];v[299999]=0;if((e|0)==1){break p}v[299999]=0;f=Q(4160,d+96|0,d+80|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break q}if(t[d+91|0]<=-1){dc(v[d+80>>2])}za:{Aa:{Ba:{Ca:{while(1){v[299999]=0;e=v[f+4>>2];g=v[299999];v[299999]=0;if((g|0)==1){break F}if(!e){break za}v[299999]=0;e=md(f,978700);g=v[299999];v[299999]=0;if((g|0)==1){break F}Da:{if(e){v[299999]=0;V(4150,d- -64|0,a|0);e=v[299999];v[299999]=0;Ea:{Fa:{Ga:{if((e|0)!=1){v[299999]=0;e=Q(4160,d+80|0,d- -64|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break Ga}v[299999]=0;U(4286,e|0,d+8|0,d+56|0);g=v[299999];v[299999]=0;if((g|0)==1){break Fa}xc(e);if(t[d+75|0]>-1){break Da}dc(v[d+64>>2]);break Da}a=P()|0;O()|0;xc(f);break b}a=P()|0;O()|0;break Ea}a=P()|0;O()|0;xc(e)}if(t[d+75|0]>-1){break E}dc(v[d+64>>2]);xc(f);break b}v[299999]=0;e=md(f,978728);g=v[299999];v[299999]=0;if((g|0)==1){break F}if(e){v[299999]=0;V(4150,d- -64|0,a|0);e=v[299999];v[299999]=0;Ha:{Ia:{Ja:{if((e|0)!=1){v[299999]=0;e=Q(4160,d+80|0,d- -64|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break Ja}v[299999]=0;U(4286,e|0,d+32|0,d+24|0);g=v[299999];v[299999]=0;if((g|0)==1){break Ia}xc(e);if(t[d+75|0]>-1){break Da}dc(v[d+64>>2]);break Da}a=P()|0;O()|0;xc(f);break b}a=P()|0;O()|0;break Ha}a=P()|0;O()|0;xc(e)}if(t[d+75|0]>-1){break E}dc(v[d+64>>2]);xc(f);break b}v[299999]=0;e=md(f,978516);g=v[299999];v[299999]=0;if((g|0)==1){break F}if(e){v[299999]=0;V(4150,d+80|0,a|0);e=v[299999];v[299999]=0;if((e|0)!=1){g=w[d+91|0];e=g<<24>>24;Ka:{if((e|0)<0?v[d+84>>2]:g){v[299999]=0;k=+ha(4171,d+80|0);e=v[299999];v[299999]=0;if((e|0)==1){break Ka}e=w[d+91|0]}if(e<<24>>24>-1){break Da}dc(v[d+80>>2]);break Da}a=P()|0;O()|0;if(t[d+91|0]>-1){break E}dc(v[d+80>>2]);xc(f);break b}a=P()|0;O()|0;xc(f);break b}v[299999]=0;e=md(f,978788);g=v[299999];v[299999]=0;if((g|0)==1){break F}if(e){v[299999]=0;V(4150,d- -64|0,a|0);e=v[299999];v[299999]=0;La:{Ma:{Na:{if((e|0)!=1){v[299999]=0;e=Q(4160,d+80|0,d- -64|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break Na}v[299999]=0;Ar(e,d+48|0);g=v[299999];v[299999]=0;if((g|0)==1){break Ma}xc(e);if(t[d+75|0]>-1){break Da}dc(v[d+64>>2]);break Da}a=P()|0;O()|0;xc(f);break b}a=P()|0;O()|0;break La}a=P()|0;O()|0;xc(e)}if(t[d+75|0]>-1){break E}dc(v[d+64>>2]);xc(f);break b}v[299999]=0;e=md(f,978820);g=v[299999];v[299999]=0;if((g|0)==1){break F}if(e){v[299999]=0;V(4150,d- -64|0,a|0);e=v[299999];v[299999]=0;Oa:{Pa:{Qa:{if((e|0)!=1){v[299999]=0;e=Q(4160,d+80|0,d- -64|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break Qa}v[299999]=0;Ar(e,d+40|0);g=v[299999];v[299999]=0;if((g|0)==1){break Pa}xc(e);if(t[d+75|0]>-1){break Da}dc(v[d+64>>2]);break Da}a=P()|0;O()|0;xc(f);break b}a=P()|0;O()|0;break Oa}a=P()|0;O()|0;xc(e)}if(t[d+75|0]>-1){break E}dc(v[d+64>>2]);xc(f);break b}v[299999]=0;e=md(f,978548);g=v[299999];v[299999]=0;if((g|0)==1){break F}if(!(e&(c|0)!=0)){break Da}v[299999]=0;V(4150,d+80|0,a|0);e=v[299999];v[299999]=0;Ra:{if((e|0)!=1){v[299999]=0;U(4204,c|0,d+80|0,1);e=v[299999];v[299999]=0;if((e|0)==1){break Ra}if(t[d+91|0]>-1){break Da}dc(v[d+80>>2]);break Da}a=P()|0;O()|0;xc(f);break b}a=P()|0;O()|0;if(t[d+91|0]>-1){break E}dc(v[d+80>>2]);xc(f);break b}v[299999]=0;e=Ji(a);g=v[299999];v[299999]=0;if((g|0)==1){break F}if(!e){break za}v[299999]=0;V(4145,d- -64|0,a|0);e=v[299999];v[299999]=0;if((e|0)!=1){v[299999]=0;e=Q(4160,d+80|0,d- -64|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break Ca}v[299999]=0;uf(f,e);g=v[299999];v[299999]=0;if((g|0)==1){break Ba}xc(e);if(t[d+75|0]>-1){continue}dc(v[d+64>>2]);continue}break}a=P()|0;O()|0;xc(f);break b}a=P()|0;O()|0;break Aa}a=P()|0;O()|0;xc(e)}if(t[d+75|0]>-1){break E}dc(v[d+64>>2]);xc(f);break b}v[299999]=0;_i(a);c=v[299999];v[299999]=0;if((c|0)==1){break r}xc(f)}v[299999]=0;e=S(1,64)|0;c=v[299999];v[299999]=0;if((c|0)==1){break o}l=A[d+8>>3];n=A[d+56>>3];o=A[d+32>>3];p=A[d+24>>3];r=A[d+48>>3];s=A[d+40>>3];v[e+12>>2]=0;v[e+4>>2]=0;v[e+8>>2]=0;v[e>>2]=979368;A[e+56>>3]=s*25.4/96;A[e+48>>3]=r*25.4/96}A[e+40>>3]=p*25.4/96;A[e+32>>3]=o*25.4/96;A[e+24>>3]=n*25.4/96;A[e+16>>3]=l*25.4/96;v[d+104>>2]=0;v[d+96>>2]=0;v[d+100>>2]=0;v[299999]=0;v[d+88>>2]=0;v[d+80>>2]=0;v[d+84>>2]=0;c=ph(a);f=v[299999];v[299999]=0;if((f|0)==1){break v}if(c){break x}v[299999]=0;f=wg(a);c=v[299999];v[299999]=0;if((c|0)==1){break C}while(1){v[299999]=0;c=Q(4155,a|0,f|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break D}if(!c){break x}v[299999]=0;V(4145,d+8|0,a|0);c=v[299999];v[299999]=0;if((c|0)==1){break B}v[299999]=0;c=Q(4160,d- -64|0,d+8|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break A}v[299999]=0;uf(j,c);g=v[299999];v[299999]=0;if((g|0)==1){break z}xc(c);if(t[d+19|0]<=-1){dc(v[d+8>>2])}v[299999]=0;c=md(j,978852);g=v[299999];v[299999]=0;if((g|0)==1){break D}if(!(c&h)){v[299999]=0;c=md(j,978988);g=v[299999];v[299999]=0;if((g|0)==1){break D}if(h|c^1){continue}}l=A[b>>3];v[299999]=0;A[d+64>>3]=k*l;$(4287,a|0,d+96|0,d+80|0,d- -64|0);c=v[299999];v[299999]=0;if((c|0)!=1){continue}break}a=P()|0;O()|0;break s}a=P()|0;O()|0}xc(f);break b}a=P()|0;O()|0;break s}a=P()|0;O()|0;break s}a=P()|0;O()|0;break s}a=P()|0;O()|0;break y}a=P()|0;O()|0;xc(c)}if(t[d+19|0]>-1){break s}dc(v[d+8>>2]);break s}f=v[d+80>>2];a=v[d+84>>2]-f>>3;m=v[d+96>>2];b=v[d+100>>2]-m>>2;b=a>>>0>>0?a:b;Sa:{Ta:{if((b|0)>=1){v[299999]=0;h=S(15,b<<2)|0;a=v[299999];v[299999]=0;if((a|0)==1){break u}v[299999]=0;g=S(15,b<<3)|0;a=v[299999];v[299999]=0;if((a|0)==1){break t}a=0;if((b|0)!=1){c=b&-2;while(1){i=a<<2;v[i+h>>2]=v[i+m>>2];i=a<<3;A[i+g>>3]=A[f+i>>3];i=a|1;q=i<<2;v[h+q>>2]=v[m+q>>2];i=i<<3;A[i+g>>3]=A[f+i>>3];a=a+2|0;c=c-2|0;if(c){continue}break}}if(b&1){c=a<<2;v[c+h>>2]=v[c+m>>2];a=a<<3;A[a+g>>3]=A[a+f>>3]}v[e+12>>2]=b;v[e+8>>2]=g;v[e+4>>2]=h;break Ta}Ub[v[v[e>>2]+4>>2]](e);f=v[d+80>>2];if(!f){break Sa}}v[d+84>>2]=f;dc(f)}a=v[d+96>>2];if(a){v[d+100>>2]=a;dc(a)}if((b|0)>=1){break w}e=0}xc(j);Qb=d+128|0;return e|0}a=P()|0;O()|0;break s}a=P()|0;O()|0;break s}a=P()|0;O()|0}b=v[d+80>>2];if(b){v[d+84>>2]=b;dc(b)}b=v[d+96>>2];if(!b){break b}v[d+100>>2]=b;dc(b);break b}a=P()|0;O()|0;xc(f);break b}a=P()|0;O()|0;if(t[d+91|0]>-1){break b}dc(v[d+80>>2]);break b}a=P()|0;O()|0;break b}a=P()|0;O()|0;break b}a=P()|0;O()|0;xc(f);break b}a=P()|0;O()|0;if(t[d+91|0]>-1){break b}dc(v[d+80>>2]);break b}a=P()|0;O()|0;break b}a=P()|0;O()|0;break b}a=P()|0;O()|0;break b}a=P()|0;O()|0;xc(b);break b}a=P()|0;O()|0;if(t[d+91|0]>-1){break b}dc(v[d+80>>2]);break b}a=P()|0;O()|0;break b}a=P()|0;O()|0;xc(e);break b}a=P()|0;O()|0;if(t[d+91|0]>-1){break b}dc(v[d+80>>2]);break b}a=P()|0;O()|0;break b}a=P()|0;O()|0}xc(j);break a}a=P()|0;O()|0;if(t[d+107|0]>-1){break a}dc(v[d+96>>2]);T(a|0);L()}T(a|0);L()}function hRa(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,x=0;a:{switch(a|0){case 0:if(!(!w[b+1160|0]|v[b+1172>>2]!=2)){qd(b+100|0,b,v[b+1164>>2],v[b+1168>>2]);v[b+1172>>2]=3}Dd(b);n=v[b+12>>2];b:{c:{if(n){a=v[b+84>>2];v[b+1176>>2]=a;v[c+120>>2]=0;m=v[c+60>>2]!=0;break c}v[c+120>>2]=0;if(!v[c+60>>2]){break b}a=v[b+84>>2];m=1}l=v[c+116>>2];k=v[c+112>>2];p=v[c+108>>2];o=v[c+104>>2];h=v[b+92>>2];j=v[b+88>>2];i=v[b+80>>2];d:{if(!(!n|!m)){a=(a|0)>(p|0)?p:a;i=(i|0)>(o|0)?o:i;h=(h|0)<(l|0)?l:h;j=(j|0)<(k|0)?k:j;break d}if(n){break d}h=l;j=k;a=p;i=o;if(!m){break b}}if((i|0)>(j|0)|(a|0)>(h|0)){break b}a=v[g+20>>2]-1|0;if((a|0)>=0){while(1){h=v[(v[v[g+32>>2]+(a>>>4&268435452)>>2]+((a&63)<<3)|0)+4>>2];if(h){dc(h)}a=a-1|0;if((a|0)>-1){continue}break}}v[g+60>>2]=0;v[g>>2]=0;v[g+20>>2]=0;v[g+120>>2]=0;v[g+112>>2]=-2147483647;v[g+116>>2]=-2147483647;v[g+104>>2]=2147483647;v[g+108>>2]=2147483647;v[g+40>>2]=0;a=(j-i|0)+3|0;e:{if(a>>>0<=y[f+24>>2]){break e}h=v[f+20>>2];if(h){dc(h)}v[f+24>>2]=a;s=f,x=fc((a|0)!=(a&536870911)?-1:a<<3),v[s+20>>2]=x;if((a|0)==v[f+12>>2]){break e}h=v[f+8>>2];if(h){dc(h)}v[f+12>>2]=a;s=f,x=fc(a),v[s+8>>2]=x}v[f>>2]=2147483632;v[f+16>>2]=v[f+8>>2];a=v[f+20>>2];v[f+28>>2]=a;h=0;u[a+2>>1]=0;a=0;if(n){a=(v[b+88>>2]-v[b+80>>2]|0)+3|0;f:{if(a>>>0<=y[d+24>>2]){break f}i=v[d+20>>2];if(i){dc(i)}v[d+24>>2]=a;s=d,x=fc((a|0)!=(a&536870911)?-1:a<<3),v[s+20>>2]=x;if((a|0)==v[d+12>>2]){break f}i=v[d+8>>2];if(i){dc(i)}v[d+12>>2]=a;s=d,x=fc(a),v[s+8>>2]=x}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];a=v[d+20>>2];v[d+28>>2]=a;u[a+2>>1]=0;a=Kc(b,d)}if(m){h=(v[c+112>>2]-v[c+104>>2]|0)+3|0;g:{if(h>>>0<=y[e+24>>2]){break g}i=v[e+20>>2];if(i){dc(i)}v[e+24>>2]=h;s=e,x=fc((h|0)!=(h&536870911)?-1:h<<3),v[s+20>>2]=x;if((h|0)==v[e+12>>2]){break g}i=v[e+8>>2];if(i){dc(i)}v[e+12>>2]=h;s=e,x=fc(h),v[s+8>>2]=x}v[e>>2]=2147483632;v[e+16>>2]=v[e+8>>2];h=v[e+20>>2];v[e+28>>2]=h;u[h+2>>1]=0;h=Pd(c,e)}if((a|h)!=1){break b}while(1){i=a&1;h:{i:{if(!(!i|!(h&1))){a=v[d+4>>2];h=v[e+4>>2];if((a|0)==(h|0)){HX(d,e,f);if(v[f+28>>2]!=v[f+20>>2]){v[f+4>>2]=v[d+4>>2];$i(g,f)}a=Kc(b,d);break i}if((a|0)<(h|0)){jf(d,f,g);a=Kc(b,d);i=1;break h}jf(e,f,g);a=1;break i}a=0;if(i){jf(d,f,g);a=Kc(b,d)}i=0;if(!(h&1)){break h}jf(e,f,g)}i=Pd(c,e)}h=i;if(h|a){continue}break}}return;case 1:if(!(!w[b+1160|0]|v[b+1172>>2]!=2)){qd(b+100|0,b,v[b+1164>>2],v[b+1168>>2]);v[b+1172>>2]=3}Dd(b);j:{if(!v[b+12>>2]){break j}a=v[b+84>>2];v[b+1176>>2]=a;v[c+120>>2]=0;if(!v[c+60>>2]){break j}h=v[c+112>>2];i=v[b+88>>2];h=(h|0)<(i|0)?h:i;i=v[c+104>>2];j=v[b+80>>2];i=(i|0)>(j|0)?i:j;if((h|0)<(i|0)){break j}j=v[c+108>>2];m=(a|0)<(j|0)?j:a;a=v[c+116>>2];j=v[b+92>>2];if((m|0)>(((a|0)<(j|0)?a:j)|0)){break j}a=(h-i|0)+3|0;k:{if(a>>>0<=y[f+24>>2]){break k}h=v[f+20>>2];if(h){dc(h)}v[f+24>>2]=a;s=f,x=fc((a|0)!=(a&536870911)?-1:a<<3),v[s+20>>2]=x;if((a|0)==v[f+12>>2]){break k}h=v[f+8>>2];if(h){dc(h)}v[f+12>>2]=a;s=f,x=fc(a),v[s+8>>2]=x}v[f>>2]=2147483632;v[f+16>>2]=v[f+8>>2];a=v[f+20>>2];v[f+28>>2]=a;u[a+2>>1]=0;a=(v[b+88>>2]-v[b+80>>2]|0)+3|0;l:{if(a>>>0<=y[d+24>>2]){break l}h=v[d+20>>2];if(h){dc(h)}v[d+24>>2]=a;s=d,x=fc((a|0)!=(a&536870911)?-1:a<<3),v[s+20>>2]=x;if((a|0)==v[d+12>>2]){break l}h=v[d+8>>2];if(h){dc(h)}v[d+12>>2]=a;s=d,x=fc(a),v[s+8>>2]=x}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];a=v[d+20>>2];v[d+28>>2]=a;u[a+2>>1]=0;a=(v[c+112>>2]-v[c+104>>2]|0)+3|0;m:{if(a>>>0<=y[e+24>>2]){break m}h=v[e+20>>2];if(h){dc(h)}v[e+24>>2]=a;s=e,x=fc((a|0)!=(a&536870911)?-1:a<<3),v[s+20>>2]=x;if((a|0)==v[e+12>>2]){break m}h=v[e+8>>2];if(h){dc(h)}v[e+12>>2]=a;s=e,x=fc(a),v[s+8>>2]=x}v[e>>2]=2147483632;v[e+16>>2]=v[e+8>>2];a=v[e+20>>2];v[e+28>>2]=a;u[a+2>>1]=0;if(!Kc(b,d)){break j}if(!Pd(c,e)){break j}a=v[g+20>>2]-1|0;if((a|0)>=0){while(1){h=v[(v[v[g+32>>2]+(a>>>4&268435452)>>2]+((a&63)<<3)|0)+4>>2];if(h){dc(h)}a=a-1|0;if((a|0)>-1){continue}break}}v[g+60>>2]=0;v[g>>2]=0;v[g+20>>2]=0;v[g+120>>2]=0;v[g+112>>2]=-2147483647;v[g+116>>2]=-2147483647;v[g+104>>2]=2147483647;v[g+108>>2]=2147483647;v[g+40>>2]=0;while(1){a=v[d+4>>2];h=v[e+4>>2];if((a|0)>=(h|0)){if((a|0)>(h|0)){while(1){if(!Pd(c,e)){break j}a=v[d+4>>2];h=v[e+4>>2];if((a|0)>(h|0)){continue}break}}if((a|0)!=(h|0)){continue}wf(d,e,f);if(v[f+28>>2]!=v[f+20>>2]){v[f+4>>2]=v[d+4>>2];$i(g,f)}if(!Kc(b,d)){break j}if(Pd(c,e)){continue}break j}if(Kc(b,d)){continue}break}}return;case 2:if(!(!w[b+1160|0]|v[b+1172>>2]!=2)){qd(b+100|0,b,v[b+1164>>2],v[b+1168>>2]);v[b+1172>>2]=3}Dd(b);n=v[b+12>>2];n:{o:{if(n){a=v[b+84>>2];v[b+1176>>2]=a;v[c+120>>2]=0;m=v[c+60>>2]!=0;break o}v[c+120>>2]=0;if(!v[c+60>>2]){break n}a=v[b+84>>2];m=1}l=v[c+116>>2];k=v[c+112>>2];p=v[c+108>>2];o=v[c+104>>2];h=v[b+92>>2];j=v[b+88>>2];i=v[b+80>>2];p:{if(!(!n|!m)){a=(a|0)>(p|0)?p:a;i=(i|0)>(o|0)?o:i;h=(h|0)<(l|0)?l:h;j=(j|0)<(k|0)?k:j;break p}if(n){break p}h=l;j=k;a=p;i=o;if(!m){break n}}if((i|0)>(j|0)|(a|0)>(h|0)){break n}a=v[g+20>>2]-1|0;if((a|0)>=0){while(1){h=v[(v[v[g+32>>2]+(a>>>4&268435452)>>2]+((a&63)<<3)|0)+4>>2];if(h){dc(h)}a=a-1|0;if((a|0)>-1){continue}break}}v[g+60>>2]=0;v[g>>2]=0;v[g+20>>2]=0;v[g+120>>2]=0;v[g+112>>2]=-2147483647;v[g+116>>2]=-2147483647;v[g+104>>2]=2147483647;v[g+108>>2]=2147483647;v[g+40>>2]=0;a=(j-i|0)+3|0;q:{if(a>>>0<=y[f+24>>2]){break q}h=v[f+20>>2];if(h){dc(h)}v[f+24>>2]=a;s=f,x=fc((a|0)!=(a&536870911)?-1:a<<3),v[s+20>>2]=x;if((a|0)==v[f+12>>2]){break q}h=v[f+8>>2];if(h){dc(h)}v[f+12>>2]=a;s=f,x=fc(a),v[s+8>>2]=x}v[f>>2]=2147483632;v[f+16>>2]=v[f+8>>2];a=v[f+20>>2];v[f+28>>2]=a;h=0;u[a+2>>1]=0;a=0;if(n){a=(v[b+88>>2]-v[b+80>>2]|0)+3|0;r:{if(a>>>0<=y[d+24>>2]){break r}i=v[d+20>>2];if(i){dc(i)}v[d+24>>2]=a;s=d,x=fc((a|0)!=(a&536870911)?-1:a<<3),v[s+20>>2]=x;if((a|0)==v[d+12>>2]){break r}i=v[d+8>>2];if(i){dc(i)}v[d+12>>2]=a;s=d,x=fc(a),v[s+8>>2]=x}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];a=v[d+20>>2];v[d+28>>2]=a;u[a+2>>1]=0;a=Kc(b,d)}if(m){h=(v[c+112>>2]-v[c+104>>2]|0)+3|0;s:{if(h>>>0<=y[e+24>>2]){break s}i=v[e+20>>2];if(i){dc(i)}v[e+24>>2]=h;s=e,x=fc((h|0)!=(h&536870911)?-1:h<<3),v[s+20>>2]=x;if((h|0)==v[e+12>>2]){break s}i=v[e+8>>2];if(i){dc(i)}v[e+12>>2]=h;s=e,x=fc(h),v[s+8>>2]=x}v[e>>2]=2147483632;v[e+16>>2]=v[e+8>>2];h=v[e+20>>2];v[e+28>>2]=h;u[h+2>>1]=0;h=Pd(c,e)}if((a|h)!=1){break n}while(1){i=a&1;t:{u:{if(!(!i|!(h&1))){a=v[d+4>>2];h=v[e+4>>2];if((a|0)==(h|0)){GX(d,e,f);if(v[f+28>>2]!=v[f+20>>2]){v[f+4>>2]=v[d+4>>2];$i(g,f)}a=Kc(b,d);break u}if((a|0)<(h|0)){jf(d,f,g);a=Kc(b,d);i=1;break t}jf(e,f,g);a=1;break u}a=0;if(i){jf(d,f,g);a=Kc(b,d)}i=0;if(!(h&1)){break t}jf(e,f,g)}i=Pd(c,e)}h=i;if(h|a){continue}break}}return;case 3:if(!(!w[b+1160|0]|v[b+1172>>2]!=2)){qd(b+100|0,b,v[b+1164>>2],v[b+1168>>2]);v[b+1172>>2]=3}Dd(b);n=v[b+12>>2];v:{w:{if(n){a=v[b+84>>2];v[b+1176>>2]=a;v[c+120>>2]=0;m=v[c+60>>2]!=0;break w}v[c+120>>2]=0;if(!v[c+60>>2]){break v}a=v[b+84>>2];m=1}l=v[c+116>>2];k=v[c+112>>2];p=v[c+108>>2];o=v[c+104>>2];h=v[b+92>>2];j=v[b+88>>2];i=v[b+80>>2];x:{if(!(!n|!m)){a=(a|0)>(p|0)?p:a;i=(i|0)>(o|0)?o:i;h=(h|0)<(l|0)?l:h;j=(j|0)<(k|0)?k:j;break x}if(n){break x}h=l;j=k;a=p;i=o;if(!m){break v}}if((i|0)>(j|0)|(a|0)>(h|0)){break v}a=v[g+20>>2]-1|0;if((a|0)>=0){while(1){h=v[(v[v[g+32>>2]+(a>>>4&268435452)>>2]+((a&63)<<3)|0)+4>>2];if(h){dc(h)}a=a-1|0;if((a|0)>-1){continue}break}}v[g+60>>2]=0;v[g>>2]=0;v[g+20>>2]=0;v[g+120>>2]=0;v[g+112>>2]=-2147483647;v[g+116>>2]=-2147483647;v[g+104>>2]=2147483647;v[g+108>>2]=2147483647;v[g+40>>2]=0;a=(j-i|0)+3|0;y:{if(a>>>0<=y[f+24>>2]){break y}h=v[f+20>>2];if(h){dc(h)}v[f+24>>2]=a;s=f,x=fc((a|0)!=(a&536870911)?-1:a<<3),v[s+20>>2]=x;if((a|0)==v[f+12>>2]){break y}h=v[f+8>>2];if(h){dc(h)}v[f+12>>2]=a;s=f,x=fc(a),v[s+8>>2]=x}v[f>>2]=2147483632;v[f+16>>2]=v[f+8>>2];a=v[f+20>>2];v[f+28>>2]=a;h=0;u[a+2>>1]=0;a=0;if(n){a=(v[b+88>>2]-v[b+80>>2]|0)+3|0;z:{if(a>>>0<=y[d+24>>2]){break z}i=v[d+20>>2];if(i){dc(i)}v[d+24>>2]=a;s=d,x=fc((a|0)!=(a&536870911)?-1:a<<3),v[s+20>>2]=x;if((a|0)==v[d+12>>2]){break z}i=v[d+8>>2];if(i){dc(i)}v[d+12>>2]=a;s=d,x=fc(a),v[s+8>>2]=x}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];a=v[d+20>>2];v[d+28>>2]=a;u[a+2>>1]=0;a=Kc(b,d)}if(m){h=(v[c+112>>2]-v[c+104>>2]|0)+3|0;A:{if(h>>>0<=y[e+24>>2]){break A}i=v[e+20>>2];if(i){dc(i)}v[e+24>>2]=h;s=e,x=fc((h|0)!=(h&536870911)?-1:h<<3),v[s+20>>2]=x;if((h|0)==v[e+12>>2]){break A}i=v[e+8>>2];if(i){dc(i)}v[e+12>>2]=h;s=e,x=fc(h),v[s+8>>2]=x}v[e>>2]=2147483632;v[e+16>>2]=v[e+8>>2];h=v[e+20>>2];v[e+28>>2]=h;u[h+2>>1]=0;h=Pd(c,e)}if((a|h)!=1){break v}while(1){i=a&1;B:{C:{if(!(!i|!(h&1))){a=v[d+4>>2];h=v[e+4>>2];if((a|0)==(h|0)){FX(d,e,f);if(v[f+28>>2]!=v[f+20>>2]){v[f+4>>2]=v[d+4>>2];$i(g,f)}a=Kc(b,d);break C}if((a|0)<(h|0)){jf(d,f,g);a=Kc(b,d);i=1;break B}jf(e,f,g);a=1;break C}a=0;if(i){jf(d,f,g);a=Kc(b,d)}i=0;if(!(h&1)){break B}jf(e,f,g)}i=Pd(c,e)}h=i;if(h|a){continue}break}}return;case 4:if(!(!w[b+1160|0]|v[b+1172>>2]!=2)){qd(b+100|0,b,v[b+1164>>2],v[b+1168>>2]);v[b+1172>>2]=3}Dd(b);n=v[b+12>>2];D:{E:{if(n){a=v[b+84>>2];v[b+1176>>2]=a;v[c+120>>2]=0;m=v[c+60>>2]!=0;break E}v[c+120>>2]=0;if(!v[c+60>>2]){break D}a=v[b+84>>2];m=1}l=v[c+116>>2];k=v[c+112>>2];p=v[c+108>>2];o=v[c+104>>2];h=v[b+92>>2];j=v[b+88>>2];i=v[b+80>>2];F:{if(!(!n|!m)){a=(a|0)>(p|0)?p:a;i=(i|0)>(o|0)?o:i;h=(h|0)<(l|0)?l:h;j=(j|0)<(k|0)?k:j;break F}if(n){break F}h=l;j=k;a=p;i=o;if(!m){break D}}if((i|0)>(j|0)|(a|0)>(h|0)){break D}a=v[g+20>>2]-1|0;if((a|0)>=0){while(1){h=v[(v[v[g+32>>2]+(a>>>4&268435452)>>2]+((a&63)<<3)|0)+4>>2];if(h){dc(h)}a=a-1|0;if((a|0)>-1){continue}break}}v[g+60>>2]=0;v[g>>2]=0;v[g+20>>2]=0;v[g+120>>2]=0;v[g+112>>2]=-2147483647;v[g+116>>2]=-2147483647;v[g+104>>2]=2147483647;v[g+108>>2]=2147483647;v[g+40>>2]=0;a=(j-i|0)+3|0;G:{if(a>>>0<=y[f+24>>2]){break G}h=v[f+20>>2];if(h){dc(h)}v[f+24>>2]=a;s=f,x=fc((a|0)!=(a&536870911)?-1:a<<3),v[s+20>>2]=x;if((a|0)==v[f+12>>2]){break G}h=v[f+8>>2];if(h){dc(h)}v[f+12>>2]=a;s=f,x=fc(a),v[s+8>>2]=x}v[f>>2]=2147483632;v[f+16>>2]=v[f+8>>2];a=v[f+20>>2];v[f+28>>2]=a;h=0;u[a+2>>1]=0;a=0;if(n){a=(v[b+88>>2]-v[b+80>>2]|0)+3|0;H:{if(a>>>0<=y[d+24>>2]){break H}i=v[d+20>>2];if(i){dc(i)}v[d+24>>2]=a;s=d,x=fc((a|0)!=(a&536870911)?-1:a<<3),v[s+20>>2]=x;if((a|0)==v[d+12>>2]){break H}i=v[d+8>>2];if(i){dc(i)}v[d+12>>2]=a;s=d,x=fc(a),v[s+8>>2]=x}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];a=v[d+20>>2];v[d+28>>2]=a;u[a+2>>1]=0;a=Kc(b,d)}if(m){h=(v[c+112>>2]-v[c+104>>2]|0)+3|0;I:{if(h>>>0<=y[e+24>>2]){break I}i=v[e+20>>2];if(i){dc(i)}v[e+24>>2]=h;s=e,x=fc((h|0)!=(h&536870911)?-1:h<<3),v[s+20>>2]=x;if((h|0)==v[e+12>>2]){break I}i=v[e+8>>2];if(i){dc(i)}v[e+12>>2]=h;s=e,x=fc(h),v[s+8>>2]=x}v[e>>2]=2147483632;v[e+16>>2]=v[e+8>>2];h=v[e+20>>2];v[e+28>>2]=h;u[h+2>>1]=0;h=Pd(c,e)}if((a|h)!=1){break D}while(1){i=a&1;J:{K:{if(!(!i|!(h&1))){a=v[d+4>>2];h=v[e+4>>2];if((a|0)==(h|0)){EX(d,e,f);if(v[f+28>>2]!=v[f+20>>2]){v[f+4>>2]=v[d+4>>2];$i(g,f)}a=Kc(b,d);break K}if((a|0)<(h|0)){jf(d,f,g);a=Kc(b,d);i=1;break J}jf(e,f,g);a=1;break K}a=0;if(i){jf(d,f,g);a=Kc(b,d)}i=0;if(!(h&1)){break J}jf(e,f,g)}i=Pd(c,e)}h=i;if(h|a){continue}break}}return;case 5:if(!(!w[b+1160|0]|v[b+1172>>2]!=2)){qd(b+100|0,b,v[b+1164>>2],v[b+1168>>2]);v[b+1172>>2]=3}Dd(b);L:{if(!v[b+12>>2]){break L}v[b+1176>>2]=v[b+84>>2];v[c+120>>2]=0;i=v[c+60>>2];a=(v[b+88>>2]-v[b+80>>2]|0)+3|0;M:{if(a>>>0<=y[f+24>>2]){break M}h=v[f+20>>2];if(h){dc(h)}v[f+24>>2]=a;s=f,x=fc((a|0)!=(a&536870911)?-1:a<<3),v[s+20>>2]=x;if((a|0)==v[f+12>>2]){break M}h=v[f+8>>2];if(h){dc(h)}v[f+12>>2]=a;s=f,x=fc(a),v[s+8>>2]=x}v[f>>2]=2147483632;v[f+16>>2]=v[f+8>>2];a=v[f+20>>2];v[f+28>>2]=a;u[a+2>>1]=0;a=(v[b+88>>2]-v[b+80>>2]|0)+3|0;N:{if(a>>>0<=y[d+24>>2]){break N}h=v[d+20>>2];if(h){dc(h)}v[d+24>>2]=a;s=d,x=fc((a|0)!=(a&536870911)?-1:a<<3),v[s+20>>2]=x;if((a|0)==v[d+12>>2]){break N}h=v[d+8>>2];if(h){dc(h)}v[d+12>>2]=a;s=d,x=fc(a),v[s+8>>2]=x}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];a=v[d+20>>2];v[d+28>>2]=a;u[a+2>>1]=0;a=(v[c+112>>2]-v[c+104>>2]|0)+3|0;O:{if(a>>>0<=y[e+24>>2]){break O}h=v[e+20>>2];if(h){dc(h)}v[e+24>>2]=a;s=e,x=fc((a|0)!=(a&536870911)?-1:a<<3),v[s+20>>2]=x;if((a|0)==v[e+12>>2]){break O}h=v[e+8>>2];if(h){dc(h)}v[e+12>>2]=a;s=e,x=fc(a),v[s+8>>2]=x}v[e>>2]=2147483632;v[e+16>>2]=v[e+8>>2];a=v[e+20>>2];v[e+28>>2]=a;u[a+2>>1]=0;if(!Kc(b,d)){break L}h=0;if(i){h=Pd(c,e)}i=v[g+20>>2]-1|0;if((i|0)>=0){while(1){a=v[(v[v[g+32>>2]+(i>>>4&268435452)>>2]+((i&63)<<3)|0)+4>>2];if(a){dc(a)}i=i-1|0;if((i|0)>-1){continue}break}}v[g+60>>2]=0;v[g>>2]=0;v[g+20>>2]=0;v[g+120>>2]=0;v[g+112>>2]=-2147483647;v[g+116>>2]=-2147483647;v[g+104>>2]=2147483647;v[g+108>>2]=2147483647;v[g+40>>2]=0;while(1){a=0;P:{Q:{if(!(h&1)){break Q}R:{while(1){h=v[e+4>>2];i=v[d+4>>2];if((h|0)<(i|0)){j=2147483632;v[e>>2]=2147483632;o=v[e+8>>2];v[e+16>>2]=o;a=v[e+20>>2];v[e+28>>2]=a;u[a+2>>1]=0;h=v[c+120>>2];while(1){m=h;r=v[c+60>>2];if(r>>>0<=h>>>0){break R}n=v[v[c+72>>2]+(m>>>6&67108860)>>2]+B(m&255,12)|0;i=v[n+8>>2];q=v[n+4>>2];while(1){k=v[v[c+52>>2]+(i>>>8&16777212)>>2]+B(i&1023,12)|0;l=v[k+8>>2];S:{if((l|0)>=0){h=0;if(l>>>0>=y[c>>2]){break S}h=v[v[c+12>>2]+(l>>>10&4194300)>>2]+(l&4095)|0;break S}l=l^-1;h=0;if(l>>>0>=y[c+20>>2]){break S}h=v[(v[v[c+32>>2]+(l>>>4&268435452)>>2]+((l&63)<<3)|0)+4>>2]}p=v[k>>2];i=i+1|0;l=e;k=v[k+4>>2];T:{if((k|0)<=-1){h=w[h|0];U:{V:{if((p|0)!=(j+1|0)){break V}j=u[a+2>>1];if((h|0)!=w[v[a+4>>2]]|(j|0)>-1){break V}u[a+2>>1]=j+k;break U}t[o|0]=h;h=v[e+28>>2];a=h+8|0;v[e+28>>2]=a;j=v[e+16>>2];o=j+1|0;v[e+16>>2]=o;u[h+10>>1]=k;u[h+8>>1]=p;v[h+12>>2]=j}j=p+(k^-1)|0;break T}gc(o,h,k);h=v[e+28>>2];W:{X:{if((p|0)!=(v[e>>2]+1|0)){break X}a=u[h+2>>1];if((a|0)<1){break X}u[h+2>>1]=a+k;j=v[e+16>>2];a=h;break W}a=h+8|0;v[e+28>>2]=a;j=v[e+16>>2];u[h+10>>1]=k;u[h+8>>1]=p;v[h+12>>2]=j}o=j+k|0;v[e+16>>2]=o;j=(k+p|0)-1|0}v[l>>2]=j;q=q-1|0;if(q){continue}break}h=v[c+120>>2]+1|0;v[c+120>>2]=h;if(v[e+20>>2]==(a|0)){continue}break}v[e+4>>2]=v[n>>2];if(m>>>0>>0){continue}break R}break}a=1;if((h|0)!=(i|0)){break Q}YG(d,e,f);h=1;if(v[f+28>>2]==v[f+20>>2]){break P}v[f+4>>2]=v[d+4>>2];$i(g,f);break P}a=0}h=a;jf(d,f,g)}if(Kc(b,d)){continue}break}}return;case 6:v[c+120>>2]=0;Y:{if(!v[c+60>>2]){break Y}if(!(!w[b+1160|0]|v[b+1172>>2]!=2)){qd(b+100|0,b,v[b+1164>>2],v[b+1168>>2]);v[b+1172>>2]=3}Dd(b);h=v[b+12>>2];if(h){v[b+1176>>2]=v[b+84>>2]}a=(v[c+112>>2]-v[c+104>>2]|0)+3|0;Z:{if(a>>>0<=y[f+24>>2]){break Z}i=v[f+20>>2];if(i){dc(i)}v[f+24>>2]=a;s=f,x=fc((a|0)!=(a&536870911)?-1:a<<3),v[s+20>>2]=x;if((a|0)==v[f+12>>2]){break Z}i=v[f+8>>2];if(i){dc(i)}v[f+12>>2]=a;s=f,x=fc(a),v[s+8>>2]=x}v[f>>2]=2147483632;v[f+16>>2]=v[f+8>>2];a=v[f+20>>2];v[f+28>>2]=a;u[a+2>>1]=0;a=(v[c+112>>2]-v[c+104>>2]|0)+3|0;_:{if(a>>>0<=y[e+24>>2]){break _}i=v[e+20>>2];if(i){dc(i)}v[e+24>>2]=a;s=e,x=fc((a|0)!=(a&536870911)?-1:a<<3),v[s+20>>2]=x;if((a|0)==v[e+12>>2]){break _}i=v[e+8>>2];if(i){dc(i)}v[e+12>>2]=a;s=e,x=fc(a),v[s+8>>2]=x}v[e>>2]=2147483632;v[e+16>>2]=v[e+8>>2];a=v[e+20>>2];v[e+28>>2]=a;u[a+2>>1]=0;a=(v[b+88>>2]-v[b+80>>2]|0)+3|0;$:{if(a>>>0<=y[d+24>>2]){break $}i=v[d+20>>2];if(i){dc(i)}v[d+24>>2]=a;s=d,x=fc((a|0)!=(a&536870911)?-1:a<<3),v[s+20>>2]=x;if((a|0)==v[d+12>>2]){break $}i=v[d+8>>2];if(i){dc(i)}v[d+12>>2]=a;s=d,x=fc(a),v[s+8>>2]=x}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];i=v[d+20>>2];v[d+28>>2]=i;a=0;u[i+2>>1]=0;if(!Pd(c,e)){break Y}if(h){a=Kc(b,d)}h=v[g+20>>2]-1|0;if((h|0)>=0){while(1){i=v[(v[v[g+32>>2]+(h>>>4&268435452)>>2]+((h&63)<<3)|0)+4>>2];if(i){dc(i)}h=h-1|0;if((h|0)>-1){continue}break}}v[g+60>>2]=0;v[g>>2]=0;v[g+20>>2]=0;v[g+120>>2]=0;v[g+112>>2]=-2147483647;v[g+116>>2]=-2147483647;v[g+104>>2]=2147483647;v[g+108>>2]=2147483647;v[g+40>>2]=0;while(1){h=a&1;a=0;aa:{ba:{if(!h){break ba}while(1){h=v[d+4>>2];i=v[e+4>>2];if((h|0)<(i|0)){if(Kc(b,d)){continue}break ba}break}a=1;if((h|0)!=(i|0)){break ba}YG(e,d,f);if(v[f+28>>2]==v[f+20>>2]){break aa}v[f+4>>2]=v[e+4>>2];$i(g,f);break aa}jf(e,f,g)}if(Pd(c,e)){continue}break}}break;default:break a}}}function CTa(a,b){a=a|0;b=b|0;var 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=C(0),r=0,s=0,x=0,E=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,Q=0,R=0,W=0;p=Qb-16|0;Qb=p;a:{b:{if(!b){break b}c:{if(!v[b+4>>2]){v[p>>2]=-16777216;v[p>>2]=v[b+8>>2];v[p+12>>2]=v[p>>2];v[p+8>>2]=a+1564;l=p+8|0;d=Qb-128|0;Qb=d;d:{e:{f:{g:{f=a+96|0;h:{if(!w[f+1432|0]){c=a+1596|0;f=a+1628|0;if(!(!w[f+1160|0]|v[f+1172>>2]!=2)){qd(f+100|0,f,v[f+1164>>2],v[f+1168>>2]);v[f+1172>>2]=3}Dd(f);i:{if(!v[f+12>>2]){break i}v[f+1176>>2]=v[f+84>>2];j=v[f+80>>2];e=(v[f+88>>2]-j|0)+2|0;j:{if(e>>>0<=y[c+24>>2]){break j}g=v[c+20>>2];if(g){dc(g)}v[c+24>>2]=e;R=c,W=fc((e|0)!=(e&536870911)?-1:e<<3),v[R+20>>2]=W;if((e|0)==v[c+16>>2]){break j}g=v[c+12>>2];if(g){dc(g)}v[c+16>>2]=e;R=c,W=fc(e),v[R+12>>2]=W}v[c>>2]=j;v[c+4>>2]=2147483632;v[c+28>>2]=v[c+20>>2];if(!Sf(f,c)){break i}e=l+4|0;while(1){qY(c,v[l>>2],e);if(Sf(f,c)){continue}break}}break h}if(!w[f+1433|0]){c=d;v[c+112>>2]=0;v[c+116>>2]=0;v[c+120>>2]=0;v[c+124>>2]=0;v[c+104>>2]=0;v[c+108>>2]=0;v[c+96>>2]=2147483632;v[c+80>>2]=0;v[c+84>>2]=0;v[c+88>>2]=0;v[c+92>>2]=0;v[c+72>>2]=0;v[c+76>>2]=0;v[c+64>>2]=2147483632;v[c+48>>2]=0;v[c+52>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[299999]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=2147483632;da(2391,a+1628|0,f|0,c- -64|0,c+32|0,c+96|0,l|0);c=v[299999];v[299999]=0;if((c|0)==1){break g}c=v[d+52>>2];if(c){dc(c)}c=v[d+40>>2];if(c){dc(c)}c=v[d+84>>2];if(c){dc(c)}c=v[d+72>>2];if(c){dc(c)}c=v[d+116>>2];if(c){dc(c)}c=v[d+104>>2];if(!c){break h}dc(c);break h}c=d;v[c+112>>2]=0;v[c+116>>2]=0;v[c+120>>2]=0;v[c+124>>2]=0;v[c+104>>2]=0;v[c+108>>2]=0;v[c+96>>2]=2147483632;v[c+80>>2]=0;v[c+84>>2]=0;v[c+88>>2]=0;v[c+92>>2]=0;v[c+72>>2]=0;v[c+76>>2]=0;v[c+64>>2]=2147483632;v[c+48>>2]=0;v[c+52>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=2147483632;v[c+16>>2]=0;v[c+20>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=2147483632;f=v[a+1524>>2];v[299999]=0;da(2392,a+1628|0,(((f|0)==1?1180:1304)+a|0)+96|0,c- -64|0,c+32|0,c+96|0,l|0);c=v[299999];v[299999]=0;if((c|0)==1){break f}c=v[d+52>>2];if(c){dc(c)}c=v[d+40>>2];if(c){dc(c)}c=v[d+84>>2];if(c){dc(c)}c=v[d+72>>2];if(c){dc(c)}c=v[d+116>>2];if(c){dc(c)}c=v[d+104>>2];if(!c){break h}dc(c)}Qb=d+128|0;break d}a=P()|0;O()|0;break e}a=P()|0;O()|0;Md(d)}Md(d+32|0);Md(d- -64|0);Md(d+96|0);T(a|0);L()}break c}if(v[b+4>>2]==1){e=Qb-256|0;Qb=e;v[e+248>>2]=v[b+20>>2];v[e+240>>2]=v[b+24>>2];d=b+8|0;l=fc(256);k:{while(1){c=B(f,12);i=w[c+1175595|0];j=i<<24>>24<0;m=w[b+19|0];g=m<<24>>24<0;l:{i=j?v[c+1175588>>2]:i;if((i|0)!=((g?v[b+12>>2]:m)|0)){break l}if(i){c=c+1175584|0;if(od(j?v[c>>2]:c,g?v[d>>2]:d,i)){break l}}d=f<<6;break k}f=f+1|0;if((f|0)!=54){continue}break}d=0}f=0;c=l;while(1){g=e+240|0;i=e+248|0;j=w[(d+f|0)+462352|0]==1?g:i;j=w[j|0]|w[j+1|0]<<8|(w[j+2|0]<<16|w[j+3|0]<<24);t[c|0]=j;t[c+1|0]=j>>>8;t[c+2|0]=j>>>16;t[c+3|0]=j>>>24;j=w[(d+(f|1)|0)+462352|0]==1?g:i;j=w[j|0]|w[j+1|0]<<8|(w[j+2|0]<<16|w[j+3|0]<<24);t[c+4|0]=j;t[c+5|0]=j>>>8;t[c+6|0]=j>>>16;t[c+7|0]=j>>>24;c=c+8|0;f=f+2|0;if((f|0)!=64){continue}break}c=v[a+52>>2];d=v[c+44>>2];v[e+232>>2]=v[c+40>>2];v[e+236>>2]=d;d=v[c+36>>2];v[e+224>>2]=v[c+32>>2];v[e+228>>2]=d;d=v[c+28>>2];v[e+216>>2]=v[c+24>>2];v[e+220>>2]=d;d=v[c+20>>2];v[e+208>>2]=v[c+16>>2];v[e+212>>2]=d;d=v[c+12>>2];v[e+200>>2]=v[c+8>>2];v[e+204>>2]=d;f=v[c+4>>2];d=e;v[d+192>>2]=v[c>>2];v[d+196>>2]=f;c=d+192|0;fn(c);v[d+184>>2]=0;v[d+188>>2]=0;v[d+136>>2]=c;v[d+128>>2]=32;v[d+120>>2]=8;v[d+124>>2]=8;v[d+112>>2]=l;v[d+116>>2]=l;v[d+104>>2]=d+112;v[d+92>>2]=1073741816;v[d+96>>2]=0;v[d+84>>2]=0;v[d+88>>2]=8;v[d+76>>2]=8;v[d+80>>2]=1073741816;v[d+64>>2]=d+104;v[d+56>>2]=128;v[d+60>>2]=128;v[d+48>>2]=0;v[d+52>>2]=1071644672;v[d+40>>2]=0;v[d+44>>2]=1071644672;f=0;v[d+32>>2]=0;v[d+28>>2]=d+136;v[d+24>>2]=d- -64;v[d+8>>2]=a+1564;v[d+16>>2]=d+24;v[d+12>>2]=d+184;m:{h=A[a+2824>>3];n:{if(!(D(h+-1)<1.1920928955078125e-7)){d=a+1760|0;while(1){g=d+(f<<2)|0;k=F(h*(+(f|0)/255),1)*255+.5;o:{if(k<4294967296&k>=0){c=~~k>>>0;break o}c=0}v[g>>2]=c;c=f|1;g=d+(c<<2)|0;k=F(h*(+(c|0)/255),1)*255+.5;p:{if(k<4294967296&k>=0){c=~~k>>>0;break p}c=0}v[g>>2]=c;f=f+2|0;if((f|0)!=256){continue}break}f=0;v[299999]=0;V(2393,a|0,e+8|0);d=v[299999];v[299999]=0;if((d|0)==1){break n}d=a+1760|0;while(1){g=d+(f<<2)|0;h=+(f|0)/255*255+.5;q:{if(h<4294967296&h>=0){c=~~h>>>0;break q}c=0}v[g>>2]=c;c=f|1;g=d+(c<<2)|0;h=+(c|0)/255*255+.5;r:{if(h<4294967296&h>=0){c=~~h>>>0;break r}c=0}v[g>>2]=c;f=f+2|0;if((f|0)!=256){continue}break}break m}v[299999]=0;V(2393,a|0,e+8|0);d=v[299999];v[299999]=0;if((d|0)!=1){break m}}a=P()|0;O()|0;b=v[e+184>>2];if(b){dc(b)}T(a|0);L()}dc(l);d=v[e+184>>2];if(d){dc(d)}Qb=e+256|0;break c}s:{t:{if(v[b+4>>2]==2){d=v[b+8>>2];c=v[d+24>>2];f=v[d+20>>2];if((f|0)<=-1){c=B(f,1-v[d+16>>2]|0)+c|0}if(!c){break c}d=v[b+8>>2];g=v[d+16>>2];e=v[d+20>>2];m=v[d+12>>2];if(!m|!g){break c}j=v[b+16>>2];i=kv(p+8|0,b+20|0);u:{if(v[b+24>>2]){j=0;v[299999]=0;f=m<<2;d=S(15,B(g,f)|0)|0;l=v[299999];v[299999]=0;if((l|0)==1){break a}E=e-f|0;e=v[b+28>>2];G=e&255;l=v[b+32>>2];H=l&255;I=l>>>24|0;J=e>>>24|0;K=e>>>8&255;M=l>>>8&255;N=e>>>16&255;Q=l>>>16&255;e=d;while(1){r=0;while(1){l=((B(w[c+2|0],77)+B(w[c+1|0],150)|0)+B(w[c|0],29)|0)+128>>>8|0;s=255-l|0;t[e+2|0]=B(B(H,s)+B(l,G)|0,32897)+4210816>>>23;t[e+1|0]=B(B(s,M)+B(l,K)|0,32897)+4210816>>>23;t[e|0]=B(B(s,Q)+B(l,N)|0,32897)+4210816>>>23;l=w[c+3|0];t[e+3|0]=B(B(l^255,I)+B(l,J)|0,32897)+4210816>>>23;e=e+4|0;c=c+4|0;r=r+1|0;if((m|0)!=(r|0)){continue}break}c=c+E|0;j=j+1|0;if((g|0)!=(j|0)){continue}break}j=0;v[299999]=0;ZG(i);c=v[299999];v[299999]=0;l=d;if((c|0)!=1){break u}break a}if((j|0)==4){break t}d=c;f=e}c=w[b+36|0];v:{if(!w[a+2832|0]){v[299999]=0;Ga(2388,a|0,i|0,d|0,m|0,g|0,f|0,j|0,c|0);d=v[299999];v[299999]=0;if((d|0)!=1){break v}break a}v[299999]=0;Ga(2389,a|0,i|0,d|0,m|0,g|0,f|0,j|0,c|0);d=v[299999];v[299999]=0;if((d|0)==1){break a}}if(!l){break s}dc(l);break s}if(v[b+4>>2]==4){d=Qb-2752|0;Qb=d;l=hm(d+2744|0);w:{x:{y:{n=A[b+304>>3];o=A[b+288>>3];z:{if(n-o>1.1920928955078125e-7){h=A[b+312>>3];k=A[b+296>>3];break z}h=A[b+312>>3];k=A[b+296>>3];if(!(h-k>1.1920928955078125e-7)){break y}}A[d+2736>>3]=h;A[d+2728>>3]=n;A[d+2720>>3]=k;A[d+2712>>3]=o;v[299999]=0;wk(l,a+56|0);c=v[299999];v[299999]=0;if((c|0)!=1){v[299999]=0;hq(l);c=v[299999];v[299999]=0;if((c|0)!=1){break x}}c=P()|0;O()|0;break w}c=v[a+1712>>2];e=v[a+1720>>2];j=v[a+1708>>2];A[d+2728>>3]=v[a+1716>>2];A[d+2712>>3]=j|0;A[d+2736>>3]=e|0;A[d+2720>>3]=c|0}v[d+56>>2]=0;v[d+60>>2]=0;c=d- -64|0;v[c>>2]=0;v[c+4>>2]=0;v[d+72>>2]=0;v[d+76>>2]=0;v[d+88>>2]=0;v[d+92>>2]=0;v[d+96>>2]=0;v[d+100>>2]=0;v[d+112>>2]=0;v[d+116>>2]=0;v[d+104>>2]=0;v[d+108>>2]=1072693248;v[d+120>>2]=0;v[d+124>>2]=0;v[d+128>>2]=0;v[d+132>>2]=0;v[d+136>>2]=0;v[d+48>>2]=0;v[d+52>>2]=0;v[d+24>>2]=0;v[d+80>>2]=0;v[d+84>>2]=1072693248;v[299999]=0;q=z[b+284>>2];c=v[299999];v[299999]=0;A:{if((c|0)==1){break A}A[d>>3]=q;c=v[l>>2];v[299999]=0;sY(d+24|0,d+2712|0,d,c);c=v[299999];v[299999]=0;if((c|0)==1){break A}j=0;v[299999]=0;e=v[b+272>>2]-v[b+268>>2]>>3;c=v[299999];v[299999]=0;B:{if((c|0)==1){break B}C:{D:{E:{F:{if((e|0)>=1){v[299999]=0;c=(e|0)!=(e&1073741823)?-1:e<<2;j=S(15,c|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break B}v[299999]=0;f=S(15,c|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break B}c=0;while(1){v[299999]=0;v[d>>2]=-16777216;g=v[b+268>>2]+(c<<3)|0;v[d>>2]=v[g>>2];i=c<<2;z[i+f>>2]=z[g+4>>2];g=v[299999];v[299999]=0;if((g|0)==1){break F}g=j+i|0;i=v[d>>2];t[g|0]=i;t[g+1|0]=i>>>8;t[g+2|0]=i>>>16;t[g+3|0]=i>>>24;c=c+1|0;if((e|0)!=(c|0)){continue}break}v[d+136>>2]=e;v[d+132>>2]=f;v[d+128>>2]=j}v[d+16>>2]=0;v[d+20>>2]=0;v[d>>2]=a+1564;v[d+8>>2]=d+24;v[d+4>>2]=d+16;h=A[a+2824>>3];if(D(h+-1)<1.1920928955078125e-7){break E}c=0;e=a+1760|0;while(1){i=e+(c<<2)|0;k=F(h*(+(c|0)/255),1)*255+.5;G:{if(k<4294967296&k>=0){g=~~k>>>0;break G}g=0}v[i>>2]=g;g=c|1;i=e+(g<<2)|0;k=F(h*(+(g|0)/255),1)*255+.5;H:{if(k<4294967296&k>=0){g=~~k>>>0;break H}g=0}v[i>>2]=g;c=c+2|0;if((c|0)!=256){continue}break}c=0;v[299999]=0;V(2407,a|0,d|0);e=v[299999];v[299999]=0;if((e|0)==1){break D}e=a+1760|0;while(1){i=e+(c<<2)|0;h=+(c|0)/255*255+.5;I:{if(h<4294967296&h>=0){g=~~h>>>0;break I}g=0}v[i>>2]=g;g=c|1;i=e+(g<<2)|0;h=+(g|0)/255*255+.5;J:{if(h<4294967296&h>=0){g=~~h>>>0;break J}g=0}v[i>>2]=g;c=c+2|0;if((c|0)!=256){continue}break}break C}c=P()|0;O()|0;break w}v[299999]=0;V(2407,a|0,d|0);c=v[299999];v[299999]=0;if((c|0)!=1){break C}}c=P()|0;O()|0;a=v[d+16>>2];if(!a){break w}dc(a);break w}if(j){dc(j)}if(f){dc(f)}c=v[d+16>>2];if(c){dc(c)}Cd(l);Qb=d+2752|0;break c}c=P()|0;O()|0;break w}c=P()|0;O()|0}Cd(l);T(c|0);L()}if(v[b+4>>2]!=3){break c}d=Qb-2704|0;Qb=d;j=hm(d+2696|0);K:{L:{M:{N:{n=A[b+304>>3];o=A[b+288>>3];O:{if(n-o>1.1920928955078125e-7){h=A[b+312>>3];k=A[b+296>>3];break O}h=A[b+312>>3];k=A[b+296>>3];if(!(h-k>1.1920928955078125e-7)){break N}}v[299999]=0;wk(j,a+56|0);c=v[299999];v[299999]=0;if((c|0)!=1){v[299999]=0;hq(j);c=v[299999];v[299999]=0;if((c|0)!=1){break M}}c=P()|0;O()|0;break L}h=+v[a+1720>>2];k=+v[a+1712>>2];n=+v[a+1716>>2];o=+v[a+1708>>2]}v[d+112>>2]=0;v[d+116>>2]=0;v[d+120>>2]=0;v[d+32>>2]=0;c=v[j>>2];e=v[c+44>>2];v[d+104>>2]=v[c+40>>2];v[d+108>>2]=e;e=v[c+36>>2];v[d+96>>2]=v[c+32>>2];v[d+100>>2]=e;e=v[c+28>>2];v[d+88>>2]=v[c+24>>2];v[d+92>>2]=e;e=v[c+20>>2];v[d+80>>2]=v[c+16>>2];v[d+84>>2]=e;e=v[c+12>>2];v[d+72>>2]=v[c+8>>2];v[d+76>>2]=e;e=v[c+4>>2];c=v[c>>2];A[d+48>>3]=(k+h)*.5;v[d+64>>2]=c;v[d+68>>2]=e;A[d+40>>3]=(o+n)*.5;v[299999]=0;h=D(k-h);k=D(o-n);h=h>k?h:k;A[d+56>>3]=h>1.1920928955078125e-7?2/h:0;e=v[b+272>>2]-v[b+268>>2]>>3;c=v[299999];v[299999]=0;P:{Q:{R:{S:{T:{if((c|0)==1){break T}if((e|0)>=1){v[299999]=0;c=(e|0)!=(e&1073741823)?-1:e<<2;l=S(15,c|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break T}v[299999]=0;f=S(15,c|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break T}c=0;while(1){v[299999]=0;v[d+8>>2]=-16777216;g=v[b+268>>2]+(c<<3)|0;v[d+8>>2]=v[g>>2];i=c<<2;z[i+f>>2]=z[g+4>>2];g=v[299999];v[299999]=0;if((g|0)==1){break S}g=l+i|0;i=v[d+8>>2];t[g|0]=i;t[g+1|0]=i>>>8;t[g+2|0]=i>>>16;t[g+3|0]=i>>>24;c=c+1|0;if((e|0)!=(c|0)){continue}break}v[d+120>>2]=e;v[d+116>>2]=f;v[d+112>>2]=l}v[d+24>>2]=0;v[d+28>>2]=0;v[d+8>>2]=a+1564;v[d+16>>2]=d+32;v[d+12>>2]=d+24;h=A[a+2824>>3];if(D(h+-1)<1.1920928955078125e-7){break R}c=0;e=a+1760|0;while(1){i=e+(c<<2)|0;k=F(h*(+(c|0)/255),1)*255+.5;U:{if(k<4294967296&k>=0){g=~~k>>>0;break U}g=0}v[i>>2]=g;g=c|1;i=e+(g<<2)|0;k=F(h*(+(g|0)/255),1)*255+.5;V:{if(k<4294967296&k>=0){g=~~k>>>0;break V}g=0}v[i>>2]=g;c=c+2|0;if((c|0)!=256){continue}break}c=0;v[299999]=0;V(2408,a|0,d+8|0);e=v[299999];v[299999]=0;if((e|0)==1){break Q}e=a+1760|0;while(1){i=e+(c<<2)|0;h=+(c|0)/255*255+.5;W:{if(h<4294967296&h>=0){g=~~h>>>0;break W}g=0}v[i>>2]=g;g=c|1;i=e+(g<<2)|0;h=+(g|0)/255*255+.5;X:{if(h<4294967296&h>=0){g=~~h>>>0;break X}g=0}v[i>>2]=g;c=c+2|0;if((c|0)!=256){continue}break}break P}c=P()|0;O()|0;break L}c=P()|0;O()|0;break L}v[299999]=0;V(2408,a|0,d+8|0);c=v[299999];v[299999]=0;if((c|0)!=1){break P}}c=P()|0;O()|0;a=v[d+24>>2];if(!a){break L}dc(a);break L}if(l){dc(l)}if(f){dc(f)}c=v[d+24>>2];if(c){dc(c)}Cd(j);Qb=d+2704|0;break K}Cd(j);T(c|0);L()}break c}d=w[b+36|0];v[299999]=0;la(2390,a|0,i|0,c|0,m|0,g|0,e|0,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break a}}Cd(i)}d=v[b+4>>2];if(d-5>>>0>=7&(d|0)!=100){break b}l=0;j=0;c=Qb-2992|0;Qb=c;g=hm(c+2984|0);Y:{Z:{_:{$:{aa:{n=A[b+304>>3];o=A[b+288>>3];ba:{if(n-o>1.1920928955078125e-7){h=A[b+312>>3];k=A[b+296>>3];break ba}h=A[b+312>>3];k=A[b+296>>3];if(!(h-k>1.1920928955078125e-7)){break aa}}v[299999]=0;wk(g,a+56|0);d=v[299999];v[299999]=0;if((d|0)==1){break _}v[299999]=0;hq(g);d=v[299999];v[299999]=0;if((d|0)!=1){break $}break _}h=+v[a+1720>>2];k=+v[a+1712>>2];n=+v[a+1716>>2];o=+v[a+1708>>2]}v[299999]=0;d=v[b+4>>2];f=v[299999];v[299999]=0;if((f|0)==1){break _}v[299999]=0;f=b+8|0;U(2412,a|0,d|0,f|0);d=v[299999];v[299999]=0;if((d|0)==1){break _}v[c+44>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+72>>2]=0;v[c+76>>2]=0;d=c- -64|0;v[d>>2]=0;v[d+4>>2]=1065353216;v[c+80>>2]=0;v[c+84>>2]=0;v[c+124>>2]=1;v[c+116>>2]=0;v[c+120>>2]=1;v[c+108>>2]=0;v[c+112>>2]=0;v[c+100>>2]=1056964608;v[c+104>>2]=1065353216;u[c+96>>1]=0;v[c+88>>2]=1065353216;v[c+92>>2]=1065353216;v[c+128>>2]=0;v[c+132>>2]=0;v[c+136>>2]=0;v[c+140>>2]=0;v[c+144>>2]=0;v[c+148>>2]=0;v[c+168>>2]=0;v[c+172>>2]=0;v[c+160>>2]=0;v[c+164>>2]=0;v[c+32>>2]=465816;v[c+36>>2]=0;v[c+40>>2]=0;v[299999]=0;d=S(1,24)|0;e=v[299999];v[299999]=0;if((e|0)!=1){e=d+24|0;v[c+180>>2]=e;v[c+172>>2]=d;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=0;v[d+4>>2]=0;v[c+176>>2]=e;ic(c+188|0,0,88);v[c+296>>2]=0;v[c+300>>2]=0;v[c+288>>2]=0;v[c+292>>2]=0;v[c+312>>2]=0;v[c+316>>2]=0;v[c+320>>2]=0;v[c+324>>2]=0;v[c+2956>>2]=0;v[c+328>>2]=0;v[c+332>>2]=1072693248;v[c+336>>2]=0;v[c+340>>2]=0;v[c+344>>2]=0;v[c+348>>2]=0;v[c+352>>2]=0;v[c+356>>2]=0;v[c+360>>2]=0;v[c+280>>2]=0;v[c+284>>2]=0;v[c+304>>2]=0;v[c+308>>2]=1072693248;v[c+2948>>2]=0;v[c+2952>>2]=0;d=v[g>>2];t[c+2945|0]=w[a+2832|0];e=v[d+12>>2];v[c+312>>2]=v[d+8>>2];v[c+316>>2]=e;e=v[d+20>>2];v[c+320>>2]=v[d+16>>2];v[c+324>>2]=e;e=v[d+28>>2];v[c+328>>2]=v[d+24>>2];v[c+332>>2]=e;e=v[d+36>>2];v[c+336>>2]=v[d+32>>2];v[c+340>>2]=e;e=v[d+44>>2];v[c+344>>2]=v[d+40>>2];v[c+348>>2]=e;e=v[d+4>>2];d=v[d>>2];x=k-h;q=C(D(C(o-n)));q=D(x)>+q?C(D(C(x))):q;z[c+296>>2]=q>C(1.1920928955078125e-7)?C(C(2)/q):C(0);A[c+288>>3]=(k+h)*.5;v[c+304>>2]=d;v[c+308>>2]=e;z[c+368>>2]=n>o?n:o;z[c+376>>2]=h>k?h:k;z[c+364>>2]=n>2]=h>3]=(o+n)*.5;v[299999]=0;d=v[b+4>>2];e=v[299999];v[299999]=0;ca:{da:{if((e|0)==1){break da}v[299999]=0;U(2413,c+32|0,f|0,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break da}v[299999]=0;f=v[b+272>>2]-v[b+268>>2]>>3;d=v[299999];v[299999]=0;ea:{if((d|0)==1){break ea}e=0;fa:{ga:{ha:{ia:{if((f|0)>=1){v[299999]=0;d=(f|0)!=(f&1073741823)?-1:f<<2;j=S(15,d|0)|0;l=v[299999];v[299999]=0;if((l|0)==1){break ea}v[299999]=0;l=S(15,d|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break ea}d=0;while(1){v[299999]=0;v[c+8>>2]=-16777216;i=v[b+268>>2]+(d<<3)|0;v[c+8>>2]=v[i>>2];m=d<<2;z[m+l>>2]=z[i+4>>2];i=v[299999];v[299999]=0;if((i|0)==1){break ia}i=j+m|0;m=v[c+8>>2];t[i|0]=m;t[i+1|0]=m>>>8;t[i+2|0]=m>>>16;t[i+3|0]=m>>>24;d=d+1|0;if((f|0)!=(d|0)){continue}break}v[c+360>>2]=f;v[c+356>>2]=l;v[c+352>>2]=j}v[c+24>>2]=0;v[c+28>>2]=0;v[c+8>>2]=a+1564;v[c+16>>2]=c+32;v[c+12>>2]=c+24;h=A[a+2824>>3];if(D(h+-1)<1.1920928955078125e-7){break ha}b=a+1760|0;while(1){f=b+(e<<2)|0;k=F(h*(+(e|0)/255),1)*255+.5;ja:{if(k<4294967296&k>=0){d=~~k>>>0;break ja}d=0}v[f>>2]=d;d=e|1;f=b+(d<<2)|0;k=F(h*(+(d|0)/255),1)*255+.5;ka:{if(k<4294967296&k>=0){d=~~k>>>0;break ka}d=0}v[f>>2]=d;e=e+2|0;if((e|0)!=256){continue}break}e=0;v[299999]=0;V(2414,a|0,c+8|0);b=v[299999];v[299999]=0;if((b|0)==1){break ga}a=a+1760|0;while(1){d=a+(e<<2)|0;h=+(e|0)/255*255+.5;la:{if(h<4294967296&h>=0){b=~~h>>>0;break la}b=0}v[d>>2]=b;b=e|1;d=a+(b<<2)|0;h=+(b|0)/255*255+.5;ma:{if(h<4294967296&h>=0){b=~~h>>>0;break ma}b=0}v[d>>2]=b;e=e+2|0;if((e|0)!=256){continue}break}break fa}e=P()|0;O()|0;break ca}v[299999]=0;V(2414,a|0,c+8|0);a=v[299999];v[299999]=0;if((a|0)!=1){break fa}}e=P()|0;O()|0;a=v[c+24>>2];if(!a){break ca}dc(a);break ca}if(j){dc(j)}if(l){dc(l)}a=v[c+24>>2];if(a){dc(a)}v[c+32>>2]=465816;a=v[c+2948>>2];if(a){d=v[c+2952>>2];if((a|0)==(d|0)){b=a}else{while(1){b=d-12|0;f=v[b>>2];if(f){v[d-8>>2]=f;dc(f)}d=b;if((a|0)!=(d|0)){continue}break}b=v[c+2948>>2]}v[c+2952>>2]=a;dc(b)}Ne(c+120|0);Cd(g);Qb=c+2992|0;break Y}e=P()|0;O()|0;break ca}e=P()|0;O()|0}v[c+32>>2]=465816;Vh(c+2948|0);Ne(c+120|0);break Z}e=P()|0;O()|0;break Z}e=P()|0;O()|0}Cd(g);T(e|0);L()}}Qb=p+16|0;return}a=P()|0;O()|0;Cd(i);T(a|0);L()}function cVa(a,b){a=a|0;b=b|0;var 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,u=0,x=0,y=0,z=0,B=0,C=0,E=0;g=Qb-96|0;Qb=g;a:{b:{if(!v[a+16>>2]){b=1;break b}c:{d:{e:{f:{g:{h:{i=v[b>>2];b=i&65280;if((b|0)!=512){if((b|0)!=256){break c}b=0;t[v[v[a+20>>2]+4>>2]+24|0]=0;if((v[a+96>>2]&-2)==3008){f=a+116|0;n=(v[a+132>>2]-1>>>0>1)<<2;i:{j:{k:{l:{m:{n:{b=v[a+660>>2];o:{if(b){b=Ub[v[v[b>>2]+20>>2]](b,f)|0;c=fc(40);d=v[v[b>>2]+16>>2];v[299999]=0;d=S(d|0,b|0)|0;e=v[299999];v[299999]=0;if((e|0)!=1){v[299999]=0;d=Y(2153,c|0,d|0,n|0)|0;e=v[299999];v[299999]=0;if((e|0)!=1){break o}}a=P()|0;O()|0;dc(c);break a}b=0;d=w[a+127|0];e=d<<24>>24<0;d=e?v[a+120>>2]:d;c=0;if((d|0)<5){break e}e=e?v[a+116>>2]:f;j=e+(d<<2)|0;b=e;while(1){c=d-4|0;if(!c){break f}d=sf(b,100,c);if(!d){break f}if(od(d,457436,5)){b=d+4|0;c=j-b|0;d=c>>2;if((c|0)>=20){continue}break f}break}b=0;c=0;if((d|0)==(j|0)){break e}c=0;if((d|0)!=(e|0)){break e}j=vs(f,457460,0);jH(f,0,gj(f,44,0)+1|0);b=w[a+127|0];c=b<<24>>24<0;d=c?v[a+116>>2]:f;e=IY(g+80|0,d,d+((c?v[a+120>>2]:b)<<2)|0);c=v[e+4>>2];b=w[e+11|0];v[299999]=0;d=v[299999];v[299999]=0;if((d|0)==1){break i}v[299999]=0;b=b<<24>>24<0?c:b;v[g+76>>2]=b;f=S(15,b- -64|0)|0;b=v[299999];v[299999]=0;p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{if((b|0)==1){break y}c=v[e>>2];k=v[e+4>>2];b=w[e+11|0];d=0;v[299999]=0;l=c;c=b<<24>>24<0;b=uz(c?l:g+80|0,c?k:b,f,g+76|0);c=v[299999];v[299999]=0;if((c|0)==1){break y}if((b|0)!=1){break p}v[299999]=0;c=g+24|0;v[c>>2]=0;v[c+4>>2]=0;t[c+40|0]=0;v[c+32>>2]=0;v[c+36>>2]=-1074790400;t[c+21|0]=0;t[c+22|0]=0;t[c+23|0]=0;t[c+24|0]=0;t[c+25|0]=0;t[c+26|0]=0;t[c+27|0]=0;t[c+28|0]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;b=v[299999];v[299999]=0;if((b|0)==1){break x}if((j|0)==-1){break u}b=g;d=b;h=K(+(v[b+76>>2]>>2));z:{if(D(h)<2147483648){b=~~h;break z}b=-2147483648}v[d+20>>2]=b;v[299999]=0;t[g+16|0]=1;t[c+40|0]=w[g+16|0];b=v[299999];v[299999]=0;if((b|0)==1){break w}v[299999]=0;v[c+16>>2]=f;b=v[299999];v[299999]=0;if((b|0)==1){break v}v[299999]=0;v[c+4>>2]=v[g+20>>2];b=v[299999];v[299999]=0;if((b|0)==1){break v}v[299999]=0;v[c+8>>2]=v[g+20>>2];b=v[299999];v[299999]=0;if((b|0)==1){break v}v[299999]=0;v[g+16>>2]=v[g+20>>2]<<2;v[c+12>>2]=v[g+16>>2];b=v[299999];v[299999]=0;if((b|0)!=1){break t}a=P()|0;O()|0;Ze(c);break g}a=P()|0;O()|0;break g}a=P()|0;O()|0;break g}a=P()|0;O()|0;Ze(c);break g}a=P()|0;O()|0;Ze(c);break g}v[299999]=0;t[g+20|0]=0;t[c+40|0]=w[g+20|0];b=v[299999];v[299999]=0;if((b|0)==1){break s}v[299999]=0;Z(2162,c|0,f|0,v[g+76>>2],0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break r}dc(f)}v[299999]=0;b=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)!=1){break q}break h}a=P()|0;O()|0;Ze(c);break g}a=P()|0;O()|0;Ze(c);break g}v[299999]=0;v[b+12>>2]=0;v[b+16>>2]=0;v[b+4>>2]=1;v[b+8>>2]=8;v[b>>2]=466676;v[b+20>>2]=0;v[b+24>>2]=0;t[b+28|0]=0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[299999]=0;d=v[c+16>>2];f=v[299999];v[299999]=0;if((f|0)==1){break h}v[299999]=0;f=v[c+4>>2];j=v[299999];v[299999]=0;if((j|0)==1){break m}v[g+20>>2]=f;v[299999]=0;f=v[c+8>>2];j=v[299999];v[299999]=0;if((j|0)==1){break l}v[g+16>>2]=f;v[299999]=0;f=v[c+12>>2];j=v[299999];v[299999]=0;if((j|0)==1){break k}v[299999]=0;v[g+12>>2]=f;gn(b,d,g+20|0,g+16|0,g+12|0);d=v[299999];v[299999]=0;if((d|0)==1){break k}v[299999]=0;v[c>>2]=0;v[c+4>>2]=0;t[c+40|0]=0;v[c+32>>2]=0;v[c+36>>2]=-1074790400;t[c+21|0]=0;t[c+22|0]=0;t[c+23|0]=0;t[c+24|0]=0;t[c+25|0]=0;t[c+26|0]=0;t[c+27|0]=0;t[c+28|0]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;d=v[299999];v[299999]=0;if((d|0)==1){break h}v[299999]=0;f=S(1,40)|0;d=v[299999];v[299999]=0;if((d|0)==1){break h}v[299999]=0;d=Y(2153,f|0,b|0,n|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break j}v[d+12>>2]=1;Ze(c)}if(t[e+11|0]<=-1){dc(v[e>>2])}b=0;c=0;if(!d){break e}}if(v[a+96>>2]==3009){v[d+24>>2]=1;v[d+28>>2]=v[a+100>>2]|v[a+108>>2]<<24;v[d+32>>2]=v[a+104>>2]|v[a+112>>2]<<24}t[d+36|0]=v[a+128>>2];c=d;break e}a=P()|0;O()|0;dc(b);Ze(c);break g}a=P()|0;O()|0;Ze(c);break g}a=P()|0;O()|0;Ze(c);break g}a=P()|0;O()|0;Ze(c);break g}a=P()|0;O()|0;dc(f);Ze(c);break g}a=P()|0;O()|0;break g}c=rv(a,a+88|0);break e}t[v[v[a+20>>2]+4>>2]+24|0]=1;A:{B:{C:{D:{if((v[a+96>>2]&-2)==3008){f=a+116|0;n=(v[a+132>>2]-1>>>0>1)<<2;E:{F:{G:{H:{I:{J:{b=v[a+660>>2];K:{if(b){b=Ub[v[v[b>>2]+20>>2]](b,f)|0;d=fc(40);c=v[v[b>>2]+16>>2];v[299999]=0;c=S(c|0,b|0)|0;e=v[299999];v[299999]=0;if((e|0)!=1){v[299999]=0;c=Y(2153,d|0,c|0,n|0)|0;e=v[299999];v[299999]=0;if((e|0)!=1){break K}}a=P()|0;O()|0;dc(d);break a}b=0;d=w[a+127|0];e=d<<24>>24<0;d=e?v[a+120>>2]:d;if((d|0)<5){break A}e=e?v[a+116>>2]:f;j=e+(d<<2)|0;b=e;while(1){c=d-4|0;if(!c){break B}d=sf(b,100,c);if(!d){break B}if(od(d,457436,5)){b=d+4|0;c=j-b|0;d=c>>2;if((c|0)>=20){continue}break B}break}c=0;if((d|0)==(j|0)){b=0;break A}b=0;if((d|0)!=(e|0)){break A}j=vs(f,457460,0);jH(f,0,gj(f,44,0)+1|0);b=w[a+127|0];d=b<<24>>24<0;e=d?v[a+116>>2]:f;e=IY(g+80|0,e,e+((d?v[a+120>>2]:b)<<2)|0);d=v[e+4>>2];b=w[e+11|0];v[299999]=0;f=v[299999];v[299999]=0;if((f|0)==1){break E}v[299999]=0;b=b<<24>>24<0?d:b;v[g+76>>2]=b;f=S(15,b- -64|0)|0;b=v[299999];v[299999]=0;L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{if((b|0)==1){break U}d=v[e>>2];k=v[e+4>>2];b=w[e+11|0];v[299999]=0;l=d;d=b<<24>>24<0;b=uz(d?l:g+80|0,d?k:b,f,g+76|0);d=v[299999];v[299999]=0;if((d|0)==1){break U}if((b|0)!=1){break L}v[299999]=0;d=g+24|0;v[d>>2]=0;v[d+4>>2]=0;t[d+40|0]=0;v[d+32>>2]=0;v[d+36>>2]=-1074790400;t[d+21|0]=0;t[d+22|0]=0;t[d+23|0]=0;t[d+24|0]=0;t[d+25|0]=0;t[d+26|0]=0;t[d+27|0]=0;t[d+28|0]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;b=v[299999];v[299999]=0;if((b|0)==1){break T}if((j|0)==-1){break Q}b=g;c=b;h=K(+(v[b+76>>2]>>2));V:{if(D(h)<2147483648){b=~~h;break V}b=-2147483648}v[c+20>>2]=b;v[299999]=0;t[g+16|0]=1;t[d+40|0]=w[g+16|0];b=v[299999];v[299999]=0;if((b|0)==1){break S}v[299999]=0;v[d+16>>2]=f;b=v[299999];v[299999]=0;if((b|0)==1){break R}v[299999]=0;v[d+4>>2]=v[g+20>>2];b=v[299999];v[299999]=0;if((b|0)==1){break R}v[299999]=0;v[d+8>>2]=v[g+20>>2];b=v[299999];v[299999]=0;if((b|0)==1){break R}v[299999]=0;v[g+16>>2]=v[g+20>>2]<<2;v[d+12>>2]=v[g+16>>2];b=v[299999];v[299999]=0;if((b|0)!=1){break P}a=P()|0;O()|0;Ze(d);break C}a=P()|0;O()|0;break C}a=P()|0;O()|0;break C}a=P()|0;O()|0;Ze(d);break C}a=P()|0;O()|0;Ze(d);break C}v[299999]=0;t[g+20|0]=0;t[d+40|0]=w[g+20|0];b=v[299999];v[299999]=0;if((b|0)==1){break O}v[299999]=0;Z(2162,d|0,f|0,v[g+76>>2],0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break N}dc(f)}v[299999]=0;c=S(1,32)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break M}break D}a=P()|0;O()|0;Ze(d);break C}a=P()|0;O()|0;Ze(d);break C}v[299999]=0;v[c+12>>2]=0;v[c+16>>2]=0;v[c+4>>2]=1;v[c+8>>2]=8;v[c>>2]=466676;v[c+20>>2]=0;v[c+24>>2]=0;t[c+28|0]=0;b=v[299999];v[299999]=0;if((b|0)==1){break J}v[299999]=0;b=v[d+16>>2];f=v[299999];v[299999]=0;if((f|0)==1){break D}v[299999]=0;f=v[d+4>>2];j=v[299999];v[299999]=0;if((j|0)==1){break I}v[g+20>>2]=f;v[299999]=0;f=v[d+8>>2];j=v[299999];v[299999]=0;if((j|0)==1){break H}v[g+16>>2]=f;v[299999]=0;f=v[d+12>>2];j=v[299999];v[299999]=0;if((j|0)==1){break G}v[299999]=0;v[g+12>>2]=f;gn(c,b,g+20|0,g+16|0,g+12|0);b=v[299999];v[299999]=0;if((b|0)==1){break G}v[299999]=0;v[d>>2]=0;v[d+4>>2]=0;t[d+40|0]=0;v[d+32>>2]=0;v[d+36>>2]=-1074790400;t[d+21|0]=0;t[d+22|0]=0;t[d+23|0]=0;t[d+24|0]=0;t[d+25|0]=0;t[d+26|0]=0;t[d+27|0]=0;t[d+28|0]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;b=v[299999];v[299999]=0;if((b|0)==1){break D}v[299999]=0;b=S(1,40)|0;f=v[299999];v[299999]=0;if((f|0)==1){break D}v[299999]=0;c=Y(2153,b|0,c|0,n|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break F}v[c+12>>2]=1;Ze(d)}if(t[e+11|0]<=-1){dc(v[e>>2])}b=0}if(!c|v[a+96>>2]!=3009){break A}v[c+24>>2]=1;v[c+28>>2]=v[a+100>>2]|v[a+108>>2]<<24;v[c+32>>2]=v[a+104>>2]|v[a+112>>2]<<24;break A}a=P()|0;O()|0;dc(c);Ze(d);break C}a=P()|0;O()|0;Ze(d);break C}a=P()|0;O()|0;Ze(d);break C}a=P()|0;O()|0;Ze(d);break C}a=P()|0;O()|0;dc(b);Ze(d);break C}a=P()|0;O()|0;break C}b=0;c=rv(a,a+88|0);break A}a=P()|0;O()|0;Ze(d)}if(t[e+11|0]>-1){break a}dc(v[e>>2]);break a}c=0;b=0}break d}a=P()|0;O()|0;Ze(c)}if(t[e+11|0]>-1){break a}dc(v[e>>2]);break a}b=0;c=0}}yY(v[a+16>>2],c,v[a+20>>2]);if(c){Ub[v[v[c>>2]+4>>2]](c)}if(!b){break c}Ub[v[v[b>>2]+12>>2]](b)|0}b=0;if(!(i&1)){break b}k=v[a+16>>2];c=Qb-1040|0;Qb=c;W:{X:{Y:{Z:{_:{f=v[a+20>>2];if(!(!f|(a|0)==-24)){v[k+2800>>2]=0;d=k+1716|0;v[d>>2]=-2147483647;v[d+4>>2]=-2147483647;d=k+1708|0;v[d>>2]=2147483647;v[d+4>>2]=2147483647;t[k+1724|0]=0;d=k+1700|0;v[d>>2]=0;v[d+4>>2]=0;d=k+1692|0;v[d>>2]=2147483647;v[d+4>>2]=2147483647;d=k+1684|0;v[d>>2]=0;v[d+4>>2]=0;d=k+1676|0;v[d>>2]=2147483647;v[d+4>>2]=2147483647;d=k+1636|0;v[d>>2]=0;v[d+4>>2]=0;j=2;d=a;e=t[d+51|0];if(e>>>0<=3){j=v[(e<<2)+466264>>2]}o=A[d+80>>3];h=A[d+40>>3];i=w[d+49|0];e=v[k+44>>2];y=A[e+24>>3];z=A[e>>3];B=A[e+16>>3];C=A[e+8>>3];e=v[f+4>>2];v[c+1032>>2]=0;f=c+1024|0;v[f>>2]=0;v[f+4>>2]=0;v[c+1016>>2]=0;v[c+1020>>2]=0;f=c+1016|0;xY(f,e);v[c+1036>>2]=v[e+20>>2];v[c+600>>2]=0;v[c+604>>2]=0;v[c+608>>2]=0;v[c+612>>2]=0;v[c+752>>2]=0;v[c+756>>2]=0;v[c+736>>2]=0;v[c+740>>2]=1072693248;v[c+616>>2]=0;v[c+620>>2]=1072693248;v[c+760>>2]=0;v[c+764>>2]=0;v[c+768>>2]=0;v[c+772>>2]=0;v[c+776>>2]=0;v[c+968>>2]=0;v[c+972>>2]=0;v[c+952>>2]=0;v[c+956>>2]=1072693248;v[c+800>>2]=0;v[c+804>>2]=1072693248;v[c+780>>2]=64;v[c+784>>2]=1;v[c+976>>2]=0;v[c+980>>2]=0;v[c+984>>2]=0;v[c+988>>2]=0;v[c+992>>2]=0;v[c+996>>2]=0;v[c+1e3>>2]=0;v[c+592>>2]=0;v[c+596>>2]=0;v[c+792>>2]=0;v[c+796>>2]=0;v[c+584>>2]=f;v[c+1004>>2]=64;v[c+1008>>2]=1;v[299999]=0;A[c+616>>3]=25;e=v[299999];v[299999]=0;if((e|0)==1){break Y}v[299999]=0;v[c+736>>2]=0;v[c+740>>2]=1077477376;A[c+800>>3]=25;e=v[299999];v[299999]=0;if((e|0)==1){break Y}n=a;v[c+1008>>2]=0;v[c+784>>2]=0;v[c+952>>2]=0;v[c+956>>2]=1077477376;a=w[d+48|0];$:{if((a|0)!=5){break $}e=v[d+56>>2];if(e){a=0;f=v[d+52>>2];if(!f|(e|0)<=0){break $}while(1){if(D(A[f+(a<<3)>>3])>1e-4){a=5;break $}a=a+1|0;if((e|0)!=(a|0)){continue}break}}a=0}aa:{ba:{ca:{da:{ea:{if(!w[k+2820|0]){f=v[k+56>>2];break ea}v[299999]=0;f=S(1,48)|0;e=v[299999];v[299999]=0;if((e|0)==1){break da}e=f;v[e+8>>2]=0;v[e+12>>2]=0;v[e>>2]=0;v[e+4>>2]=1072693248;v[e+32>>2]=0;v[e+36>>2]=0;v[e+24>>2]=0;v[e+28>>2]=1072693248;v[e+16>>2]=0;v[e+20>>2]=0;v[e+40>>2]=0;v[e+44>>2]=0}s=k+1628|0;u=i?(i|0)==1?1:2:0;if(!a){v[299999]=0;v[c+192>>2]=c+584;PG(c+200|0);a=v[299999];v[299999]=0;fa:{if((a|0)!=1){v[c+264>>2]=3;v[c+260>>2]=j;v[c+256>>2]=u;A[c+232>>3]=o;v[c+248>>2]=0;v[c+252>>2]=1077477376;h=h*.5;A[c+200>>3]=h;A[c+216>>3]=h*.0009765625;a=h<0;v[c+224>>2]=a?-1:1;A[c+208>>3]=a?-h:h;v[c+348>>2]=0;v[299999]=0;v[c+12>>2]=f;v[c+8>>2]=c+192;U(2382,s|0,c+8|0,0);a=v[299999];v[299999]=0;if((a|0)==1){break fa}e=v[c+296>>2];if(e){a=e-1|0;v[c+296>>2]=a;i=v[c+304>>2]+(e<<2)|0;while(1){l=c;i=i-4|0;e=v[i>>2];if(e){dc(e);a=v[c+296>>2]}e=a;a=e-1|0;v[l+296>>2]=a;if(e){continue}break}}a=v[c+304>>2];if(a){dc(a)}e=v[c+276>>2];if(e){a=e-1|0;v[c+276>>2]=a;i=v[c+284>>2]+(e<<2)|0;while(1){l=c;i=i-4|0;e=v[i>>2];if(e){dc(e);a=v[c+276>>2]}e=a;a=e-1|0;v[l+276>>2]=a;if(e){continue}break}}a=v[c+284>>2];if(!a){break aa}dc(a);break aa}a=P()|0;O()|0;break X}a=P()|0;O()|0;wY(c+192|0);break X}v[299999]=0;v[c+192>>2]=c+584;e=VW(c+200|0);i=v[299999];v[299999]=0;ga:{ha:{ia:{ja:{ka:{la:{ma:{if((i|0)!=1){v[c+556>>2]=0;v[299999]=0;v[c+8>>2]=c+192;PG(c+16|0);i=v[299999];v[299999]=0;if((i|0)==1){break ma}i=0;v[c+164>>2]=0;switch(a-1|0){case 2:break ja;case 1:break ka;case 0:break la;case 3:break ia;default:break ha}}a=P()|0;O()|0;break X}a=P()|0;O()|0;break ba}v[299999]=0;ml(e,h*3,h);a=v[299999];v[299999]=0;if((a|0)!=1){break ga}break ca}v[299999]=0;ml(e,h,h);a=v[299999];v[299999]=0;if((a|0)==1){break ca}break ga}v[299999]=0;ml(e,h*3,h);a=v[299999];v[299999]=0;if((a|0)==1){break ca}v[299999]=0;ml(e,h,h);a=v[299999];v[299999]=0;if((a|0)==1){break ca}break ga}v[299999]=0;ml(e,h*3,h);a=v[299999];v[299999]=0;if((a|0)==1){break ca}v[299999]=0;ml(e,h,h);a=v[299999];v[299999]=0;if((a|0)==1){break ca}v[299999]=0;ml(e,h,h);a=v[299999];v[299999]=0;if((a|0)==1){break ca}break ga}m=A[k+24>>3];m=w[k+2820|0]?1:m>1?25.4/m:.352777778;q=v[d+56>>2];x=(q|0)/2|0;a=v[d+52>>2];E=A[d+64>>3];if((q|0)>1){while(1){na:{if(!i){p=A[a>>3];r=A[a+8>>3];v[299999]=0;ml(e,m*p,m*r);l=v[299999];v[299999]=0;if((l|0)!=1){break na}break ca}l=a+(i<<4)|0;p=A[l+8>>3];r=A[l>>3];v[299999]=0;ml(e,m*r,m*p);l=v[299999];v[299999]=0;if((l|0)==1){break ca}}i=i+1|0;if((x|0)!=(i|0)){continue}break}}if((q-(x<<1)|0)==1){p=A[(a+(q<<3)|0)-8>>3];v[299999]=0;ml(e,m*p,0);a=v[299999];v[299999]=0;if((a|0)==1){break ca}}v[299999]=0;UW(e,E*m);a=v[299999];v[299999]=0;if((a|0)==1){break ca}}a=w[k+2820|0];v[c+76>>2]=j;v[c+72>>2]=u;A[c+48>>3]=o;m=1/K(z*y-C*B);o=h>3]=h;A[c+32>>3]=h*.0009765625;a=h<0;v[c+40>>2]=a?-1:1;A[c+24>>3]=a?-h:h;v[299999]=0;v[c+4>>2]=f;v[c>>2]=c+8;U(2386,s|0,c|0,0);a=v[299999];v[299999]=0;if((a|0)!=1){e=v[c+112>>2];if(e){a=e-1|0;v[c+112>>2]=a;i=v[c+120>>2]+(e<<2)|0;while(1){l=c;i=i-4|0;e=v[i>>2];if(e){dc(e);a=v[c+112>>2]}e=a;a=e-1|0;v[l+112>>2]=a;if(e){continue}break}}a=v[c+120>>2];if(a){dc(a)}e=v[c+92>>2];if(e){a=e-1|0;v[c+92>>2]=a;i=v[c+100>>2]+(e<<2)|0;while(1){l=c;i=i-4|0;e=v[i>>2];if(e){dc(e);a=v[c+92>>2]}e=a;a=e-1|0;v[l+92>>2]=a;if(e){continue}break}}a=v[c+100>>2];if(a){dc(a)}e=v[c+524>>2];if(e){a=e-1|0;v[c+524>>2]=a;i=v[c+532>>2]+(e<<2)|0;while(1){l=c;i=i-4|0;e=v[i>>2];if(e){dc(e);a=v[c+524>>2]}e=a;a=e-1|0;v[l+524>>2]=a;if(e){continue}break}}a=v[c+532>>2];if(!a){break aa}dc(a);break aa}break ca}a=P()|0;O()|0;break X}a=P()|0;O()|0;wY(c+8|0)}g=v[c+524>>2];if(g){b=g-1|0;v[c+524>>2]=b;d=v[c+532>>2]+(g<<2)|0;while(1){e=c;d=d-4|0;g=v[d>>2];if(g){dc(g);b=v[c+524>>2]}g=b;b=g-1|0;v[e+524>>2]=b;if(g){continue}break}}b=v[c+532>>2];if(b){dc(b)}break X}h=A[k+2824>>3]*+v[d+32>>2];oa:{if(h<4294967296&h>=0){a=~~h>>>0;break oa}a=0}d=v[d+28>>2];e=w[k+2832|0]?d<<16&16711680|(d>>>16&255|(d&65280|a<<24)):d|a<<24;a=0;v[299999]=0;d=c+192|0;v[d+8>>2]=e;v[d>>2]=466304;v[d+4>>2]=0;e=v[299999];v[299999]=0;if((e|0)==1){break _}v[k+2784>>2]=0;h=A[n+680>>3];if(h>=0){e=k+1760|0;while(1){i=e+(a<<2)|0;m=h>+(a|0)/255?.5:255.5;pa:{if(m<4294967296&m>=0){l=~~m>>>0;break pa}l=0}v[i>>2]=l;j=a|1;i=e+(j<<2)|0;m=h>+(j|0)/255?.5:255.5;qa:{if(m<4294967296&m>=0){l=~~m>>>0;break qa}l=0}v[i>>2]=l;a=a+2|0;if((a|0)!=256){continue}break}}a=0;v[299999]=0;V(2378,k|0,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break Z}if(A[n+680>>3]>=0){d=k+1760|0;while(1){n=d+(a<<2)|0;h=+(a|0)/255*255+.5;ra:{if(h<4294967296&h>=0){e=~~h>>>0;break ra}e=0}v[n>>2]=e;e=a|1;n=d+(e<<2)|0;h=+(e|0)/255*255+.5;sa:{if(h<4294967296&h>=0){e=~~h>>>0;break sa}e=0}v[n>>2]=e;a=a+2|0;if((a|0)!=256){continue}break}}if(!(!w[k+2820|0]|!f)){dc(f)}d=v[c+992>>2];if(d){a=d-1|0;v[c+992>>2]=a;i=v[c+1e3>>2]+(d<<2)|0;while(1){e=c;i=i-4|0;d=v[i>>2];if(d){dc(d);a=v[c+992>>2]}d=a;a=d-1|0;v[e+992>>2]=a;if(d){continue}break}}a=v[c+1e3>>2];if(a){dc(a)}d=v[c+768>>2];if(d){a=d-1|0;v[c+768>>2]=a;i=v[c+776>>2]+(d<<2)|0;while(1){e=c;i=i-4|0;d=v[i>>2];if(d){dc(d);a=v[c+768>>2]}d=a;a=d-1|0;v[e+768>>2]=a;if(d){continue}break}}a=v[c+776>>2];if(a){dc(a)}d=v[c+1020>>2];ta:{if(!d){break ta}a=d-1|0;v[c+1020>>2]=a;i=v[c+1028>>2]+(d<<2)|0;while(1){e=c;i=i-4|0;d=v[i>>2];if(d){dc(d);a=v[c+1020>>2]}d=a;a=d-1|0;v[e+1020>>2]=a;if(d){continue}break}a=v[c+1028>>2];if(!a){break ta}dc(a)}}Qb=c+1040|0;break W}a=P()|0;O()|0;break X}a=P()|0;O()|0;break X}a=P()|0;O()|0}dH(c+584|0);vY(c+1016|0);T(a|0);L()}}Qb=g+96|0;return b|0}T(a|0);L()}function cFa(a,b){a=a|0;b=b|0;var 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,u=0;j=Qb+-64|0;Qb=j;v[a+160>>2]=13;v[a+136>>2]=13;v[a+112>>2]=13;v[a+96>>2]=13;v[a+80>>2]=13;v[a+64>>2]=13;v[a+40>>2]=13;v[a+24>>2]=13;v[j+48>>2]=13;v[j+32>>2]=13;v[j+16>>2]=13;v[a>>2]=b;v[a+176>>2]=1;b=v[b+24>>2];v[a+152>>2]=0;v[a+156>>2]=0;v[a+132>>2]=0;v[a+56>>2]=0;v[a+4>>2]=b;v[a+8>>2]=0;v[a+12>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;Sm(b,v[b+20>>2],v[b+24>>2],j+48|0,0);a:{b:{c:{if(v[j+48>>2]!=7){v[j>>2]=v[(v[j+48>>2]<<2)+1121632>>2];kc(1,-1,336034,j);break c}b=Qb-80|0;Qb=b;v[b+64>>2]=13;v[b+48>>2]=13;v[b+32>>2]=13;d:{if(v[Ce(v[j+56>>2],236818,b- -64|0)>>2]!=9){c=b- -64|0;v[b+16>>2]=v[(v[c>>2]<<2)+1121632>>2];kc(1,-1,336110,b+16|0);hc(c);break d}if(v[qf(b- -64|0,v[a+4>>2],b+48|0,0)>>2]!=7){c=b+48|0;v[b>>2]=v[(v[c>>2]<<2)+1121632>>2];kc(1,-1,335989,b);hc(c);hc(b- -64|0);break d}e:{if(v[rc(v[b+56>>2],227850,b+32|0,0)>>2]==1){c=v[b+40>>2];v[a+20>>2]=c;if((c|0)<50001?c:0){break e}s=a,u=xT(a,b+48|0),v[s+20>>2]=u;break e}v[a+20>>2]=1}hc(b+32|0);f=v[a+20>>2];if((f|0)<=-1){kc(1,-1,227818,0);hc(b+48|0);hc(b- -64|0);v[a+20>>2]=0;break d}c=fc(24);i=v[b+72>>2];e=v[b+76>>2];v[c+20>>2]=0;v[c+12>>2]=0;v[c+16>>2]=0;v[c+8>>2]=f;v[c>>2]=i;v[c+4>>2]=e;v[a+8>>2]=c;hc(b+48|0);hc(b- -64|0);s=a,u=pd(v[a+12>>2],v[a+20>>2],4),v[s+12>>2]=u;s=a,u=pd(v[a+16>>2],v[a+20>>2],8),v[s+16>>2]=u;i=1;c=v[a+20>>2];if((c|0)<1){break d}if((c|0)!=1){f=c&-2;while(1){v[v[a+12>>2]+(d<<2)>>2]=0;e=v[a+16>>2]+(d<<3)|0;v[e>>2]=-1;v[e+4>>2]=-1;e=d|1;v[v[a+12>>2]+(e<<2)>>2]=0;e=v[a+16>>2]+(e<<3)|0;v[e>>2]=-1;v[e+4>>2]=-1;d=d+2|0;f=f-2|0;if(f){continue}break}}if(!(c&1)){break d}v[v[a+12>>2]+(d<<2)>>2]=0;c=v[a+16>>2]+(d<<3)|0;v[c>>2]=-1;v[c+4>>2]=-1}Qb=b+80|0;if(!i){break c}b=a+40|0;rc(v[j+56>>2],234432,a+24|0,0);f:{if(v[rc(v[j+56>>2],236677,j+32|0,0)>>2]==7){rc(v[j+40>>2],234432,b,0);break f}v[b>>2]=5}b=j+32|0;hc(b);if(v[rc(v[j+56>>2],320669,b,0)>>2]==7){if(v[rc(v[j+40>>2],277382,j+16|0,0)>>2]==3){c=v[j+24>>2];b=fc(8);v[299999]=0;Q(3064,b|0,c|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}v[a+56>>2]=b}hc(j+16|0)}hc(j+32|0);b=v[a+56>>2];g:{if(b){if(v[b>>2]){break g}dc(Dc(b))}h:{b=v[v[a>>2]>>2];if(b){c=v[b+4>>2];d=Jm(c,47);b=fc(8);i:{if(d){v[299999]=0;Y(3083,b|0,c|0,d-c|0)|0;break i}v[299999]=0;S(3312,b|0)|0}c=v[299999];v[299999]=0;if((c|0)==1){break a}i=Qb-4112|0;Qb=i;c=b;b=v[b+4>>2];d=w[b|0];j:{if((d|0)==47){break j}k:{if((d|0)==126){d=w[b+1|0];if((d|0)==47|v[c>>2]==1){break k}f=b+1|0;b=f;while(1){if(!(!d|(d|0)==47)){d=w[b+1|0];b=b+1|0;continue}break}b=b-f|0;d=(b|0)<4096?b:4096;f=Xc(i,f,d);t[d+i|0]=0;d=Oa(f|0)|0;if(!d){break j}lk(c,0,b+1|0);ty(c,v[d+20>>2]);break j}if(!mt(i,4097)){break j}d=c;b=v[c>>2];if((b|0)==2147483647){mh(341775);b=v[c>>2]}Ng(d,b+1|0);f=v[c>>2];l:{if((f|0)<0){break l}d=f+1|0;b=d&3;if(b){while(1){e=v[c+4>>2];l=e+d|0;d=d-1|0;t[l|0]=w[e+d|0];b=b-1|0;if(b){continue}break}}if(f>>>0<3){break l}while(1){b=v[c+4>>2];f=b+d|0;e=b;b=d-1|0;t[f|0]=w[e+b|0];e=b;b=v[c+4>>2];f=e+b|0;e=b;b=d-2|0;t[f|0]=w[e+b|0];e=b;b=v[c+4>>2];f=e+b|0;e=b;b=d-3|0;t[f|0]=w[e+b|0];e=b;b=v[c+4>>2];d=d-4|0;t[e+b|0]=w[b+d|0];if((d|0)>0){continue}break}}t[v[c+4>>2]]=47;v[c>>2]=v[c>>2]+1;ty(c,i);break j}lk(c,0,1);d=c;q=jF();l=q;f=v[l>>2];b=v[c>>2];if((2147483647-f|0)<(b|0)){mh(341775);b=v[c>>2]}Ng(d,b+f|0);b=v[c>>2];m:{if((b|0)<0){break m}d=b;e=b+1&3;if(e){while(1){h=v[c+4>>2];t[h+(b+f|0)|0]=w[b+h|0];b=b-1|0;e=e-1|0;if(e){continue}break}}if(d>>>0<3){break m}while(1){d=v[c+4>>2];t[d+(b+f|0)|0]=w[b+d|0];e=v[c+4>>2];d=b-1|0;t[e+(d+f|0)|0]=w[d+e|0];e=v[c+4>>2];d=b-2|0;t[e+(d+f|0)|0]=w[d+e|0];e=v[c+4>>2];d=b-3|0;t[e+(d+f|0)|0]=w[d+e|0];b=b-4|0;if((d|0)>0){continue}break}}gc(v[c+4>>2],v[l+4>>2],f);v[c>>2]=f+v[c>>2];dc(Dc(q))}Qb=i+4112|0;v[a+56>>2]=c;if(w[v[c+4>>2]]!=47){break h}ty(c,225636);break g}b=fc(8);v[299999]=0;Q(3063,b|0,335495)|0;c=v[299999];v[299999]=0;if((c|0)!=1){v[a+56>>2]=b;break g}break a}ty(c,335495)}rc(v[j+56>>2],304090,a- -64|0,0);rc(v[j+56>>2],227645,a+80|0,0);rc(v[j+56>>2],236653,a+96|0,0);o=a+112|0;rc(v[j+56>>2],255689,o,0);r=j+32|0;s=a,u=!v[rc(v[j+56>>2],272622,r,0)>>2]&v[j+40>>2]!=0,v[s+128>>2]=u;hc(r);q=a;b=v[a>>2];g=Qb-112|0;Qb=g;v[g+96>>2]=13;v[g+80>>2]=13;v[g+64>>2]=13;v[g+48>>2]=13;v[g+32>>2]=13;v[g+16>>2]=13;v[g>>2]=13;n:{o:{p:{q:{r:{s:{if(v[o>>2]==7){f=fc(48);v[f>>2]=b;v[f+8>>2]=13;v[299999]=0;Q(3314,o|0,f+8|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break p}v[f+24>>2]=0;v[299999]=0;b=S(1,16)|0;c=v[299999];v[299999]=0;if((c|0)==1){break p}v[299999]=0;S(3315,b|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){v[f+28>>2]=b;v[299999]=0;b=S(1,16)|0;c=v[299999];v[299999]=0;if((c|0)==1){break p}v[299999]=0;S(3315,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){i=P()|0;O()|0;dc(b);break o}v[f+36>>2]=0;v[f+40>>2]=0;v[f+32>>2]=b;t:{if(v[rc(v[o+8>>2],322484,g+80|0,0)>>2]==5){break t}l=f;i=0;n=Qb-16|0;Qb=n;e=Qb-4112|0;Qb=e;c=fc(8);v[299999]=0;d=S(3312,c|0)|0;b=v[299999];v[299999]=0;u:{v:{w:{if((b|0)!=1){x:{switch(v[g+80>>2]-6|0){case 0:k=1;b=v[g+88>>2];if(v[b+12>>2]>1){break w}c=d;break u;case 2:break x;default:break v}}b=v[g+88>>2];Ub[v[v[b>>2]+20>>2]](b);b=v[g+88>>2];b=Ub[v[v[b>>2]+40>>2]](b,e+16|0,4096)|0;c=d;if((b|0)<1){break u}while(1){c=e+16|0;De(d,c,b);b=v[g+88>>2];b=Ub[v[v[b>>2]+40>>2]](b,c,4096)|0;if((b|0)>0){continue}break}c=d;break u}a=P()|0;O()|0;dc(c);T(a|0);L()}while(1){v[e>>2]=13;if(v[yc(b,k,e,0)>>2]!=8){kc(1,-1,279067,0);hc(e);Dc(d);dc(c);c=0;break u}b=v[e+8>>2];Ub[v[v[b>>2]+20>>2]](b);b=v[e+8>>2];b=Ub[v[v[b>>2]+40>>2]](b,e+16|0,4096)|0;if((b|0)>=1){while(1){h=e+16|0;De(d,h,b);b=v[e+8>>2];b=Ub[v[v[b>>2]+40>>2]](b,h,4096)|0;if((b|0)>0){continue}break}}hc(e);k=k+2|0;b=v[g+88>>2];if((k|0)>2]){continue}break}c=d;break u}kc(1,-1,279170,0);c=0}Qb=e+4112|0;y:{z:{e=c;A:{if(!c){break A}b=v[e+4>>2];c=v[e>>2];d=fc(40);v[d+4>>2]=0;v[d+8>>2]=0;v[d+28>>2]=0;v[d+20>>2]=0;v[d+24>>2]=0;v[d>>2]=971232;v[d+12>>2]=0;v[d+16>>2]=0;v[d+32>>2]=b;h=b+c|0;v[d+36>>2]=h;B:{if((c|0)<1){break B}while(1){c=w[b|0]-9|0;if(c>>>0>23|!(1<>2]=b;if((b|0)!=(h|0)){continue}break}}C:{c=v[d+36>>2];b=v[d+32>>2];if((c-b|0)<5){break C}if(Oc(b,258812,5)){break C}b=b+5|0;v[d+32>>2]=b;D:{if(b>>>0>=c>>>0){break D}while(1){h=w[b|0]-9|0;if(h>>>0>23|!(1<>2]=b;if((b|0)!=(c|0)){continue}break}b=c}E:{F:{G:{if((c-b|0)<7){break G}if(Oc(b,247874,7)){break G}b=b+7|0;v[d+32>>2]=b;H:{if(b>>>0>=c>>>0){break H}while(1){h=w[b|0]-9|0;if(h>>>0>23|!(1<>2]=b;if((b|0)!=(c|0)){continue}break}b=c}if(w[b|0]!=61|(c-b|0)<1){break G}b=b+1|0;v[d+32>>2]=b;I:{if(b>>>0>=c>>>0){break I}while(1){h=w[b|0]-9|0;if(h>>>0>23|!(1<>2]=b;if((b|0)!=(c|0)){continue}break}}h=VD(d);break F}b=fc(8);v[299999]=0;h=Q(3063,b|0,335485)|0;c=v[299999];v[299999]=0;if((c|0)==1){break E}}b=v[d+32>>2];c=v[d+36>>2];J:{if(b>>>0>=c>>>0){break J}while(1){k=w[b|0]-9|0;if(k>>>0>23|!(1<>2]=b;if((b|0)!=(c|0)){continue}break}b=c}k=0;K:{if((c-b|0)<8){break K}if(Oc(b,272863,8)){break K}b=b+8|0;v[d+32>>2]=b;L:{if(b>>>0>=c>>>0){break L}while(1){m=w[b|0]-9|0;if(m>>>0>23|!(1<>2]=b;if((b|0)!=(c|0)){continue}break}b=c}if(w[b|0]!=61|(c-b|0)<1){break K}b=b+1|0;v[d+32>>2]=b;M:{if(b>>>0>=c>>>0){break M}while(1){k=w[b|0]-9|0;if(k>>>0>23|!(1<>2]=b;if((b|0)!=(c|0)){continue}break}}k=VD(d);b=v[d+32>>2];c=v[d+36>>2]}N:{if(b>>>0>=c>>>0){break N}while(1){m=w[b|0]-9|0;if(m>>>0>23|!(1<>2]=b;if((b|0)!=(c|0)){continue}break}b=c}m=0;O:{if((c-b|0)<10){break O}if(Oc(b,279838,10)){break O}b=b+10|0;v[d+32>>2]=b;P:{if(b>>>0>=c>>>0){break P}while(1){p=w[b|0]-9|0;if(p>>>0>23|!(1<>2]=b;if((b|0)!=(c|0)){continue}break}b=c}if(w[b|0]!=61|(c-b|0)<1){break O}b=b+1|0;v[d+32>>2]=b;Q:{if(b>>>0>=c>>>0){break Q}while(1){m=w[b|0]-9|0;if(m>>>0>23|!(1<>2]=b;if((b|0)!=(c|0)){continue}break}}b=VD(d);c=Ad(b,236363);dc(Dc(b));m=!c;b=v[d+32>>2];c=v[d+36>>2]}R:{if(b>>>0>=c>>>0){break R}while(1){p=w[b|0]-9|0;if(p>>>0>23|!(1<>2]=b;if((b|0)!=(c|0)){continue}break}b=c}S:{if((c-b|0)<2){break S}if(Oc(b,322665,2)){break S}v[d+32>>2]=b+2}b=fc(32);t[b+28|0]=m;v[b+24>>2]=k;v[b+20>>2]=h;v[b>>2]=971816;v[b+4>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b+16>>2]=0;Ub[v[v[d>>2]+48>>2]](d,b);break C}break a}while(1){T:{c=v[d+36>>2];b=v[d+32>>2];h=c-b|0;U:{if((h|0)>=4){if(Oc(b,335739,4)){break U}Px(d,d);continue}if((h|0)<2){break T}}if(Oc(b,322562,2)){break T}Ox(d,d);continue}V:{if(b>>>0>=c>>>0){break V}c=w[b|0]-9|0;if(c>>>0>23|!(1<>2]=b+1;continue}break}k=0;c=d;d=v[c+36>>2];b=v[c+32>>2];W:{if((d-b|0)<9){break W}if(Oc(b,321316,9)){break W}b=b+9|0;v[c+32>>2]=b;X:{if(b>>>0>=d>>>0){break X}while(1){h=w[b|0]-9|0;if(h>>>0>23|!(1<>2]=b;if((b|0)!=(d|0)){continue}break}}m=Nx(c);b=v[c+32>>2];d=v[c+36>>2];Y:{if(b>>>0>=d>>>0){break Y}while(1){h=w[b|0]-9|0;if(h>>>0>23|!(1<>2]=b;if((b|0)!=(d|0)){continue}break}b=d}Z:{if(b>>>0>=d>>>0){break Z}while(1){h=b;b=b+1|0;v[c+32>>2]=b;h=w[h|0];_:{$:{aa:{ba:{ca:{da:{ea:{switch(k|0){case 0:switch(h-34|0){case 28:break Z;case 0:case 5:break ba;case 1:case 2:case 3:case 4:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:break ca;default:break da};case 1:k=(h|0)!=0;break _;case 2:fa:{switch(h-34|0){case 1:case 2:case 3:case 4:break $;case 0:case 5:break fa;default:break aa}}k=3;break _;case 3:break ea;default:break _}}k=h?3:2;break _}k=2;if((h|0)==91){break _}}k=0;break _}k=1;break _}k=0;if((h|0)==93){break _}}k=2}if(b>>>0>>0){continue}break}}b=fc(24);v[b+20>>2]=m;v[b>>2]=971880;v[b+4>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b+16>>2]=0;Ub[v[v[c>>2]+48>>2]](c,b)}while(1){ga:{h=v[c+36>>2];b=v[c+32>>2];d=h-b|0;ha:{if((d|0)>=4){if(Oc(b,335739,4)){break ha}Px(c,c);continue}if((d|0)<2){break ga}}if(Oc(b,322562,2)){break ga}Ox(c,c);continue}ia:{if(b>>>0>=h>>>0){break ia}h=w[b|0]-9|0;if(h>>>0>23|!(1<>2]=b+1;continue}break}if(!(w[b|0]!=60|(d|0)<1)){aR(c,c)}while(1){ja:{d=v[c+36>>2];b=v[c+32>>2];h=d-b|0;ka:{if((h|0)>=4){if(Oc(b,335739,4)){break ka}Px(c,c);continue}if((h|0)<2){break ja}}if(Oc(b,322562,2)){break ja}Ox(c,c);continue}la:{if(b>>>0>=d>>>0){break la}d=w[b|0]-9|0;if(d>>>0>23|!(1<>2]=b+1;continue}break}if(!v[c+28>>2]){Ub[v[v[c>>2]+4>>2]](c);c=0}dc(Dc(e));if(!c){kc(1,-1,255654,0);break A}i=fc(8);v[i>>2]=971128;v[299999]=0;b=S(1,16)|0;d=v[299999];v[299999]=0;ma:{na:{oa:{if((d|0)!=1){v[299999]=0;Q(3304,b|0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){a=P()|0;O()|0;dc(b);break z}v[i+4>>2]=b;d=v[c+28>>2];if(!d){break ma}b=fc(16);v[299999]=0;e=Q(3304,b|0,1)|0;h=v[299999];v[299999]=0;if((h|0)!=1){d=Qh(d,255673);if(d){YD(i,d,0,e)}d=Qh(v[c+28>>2],234658);if(d){break oa}d=0;break na}a=P()|0;O()|0;i=b;break z}a=P()|0;O()|0;break z}d=Qh(d,304118)}h=Qh(v[c+28>>2],277052);if(h){jR(i,h,0,0,0,0,0,d,e)}d=n+12|0;hF(e,d);if(ki(e,d,n+8|0,n+4|0)){while(1){d=v[n+4>>2];if(d){Dc(d);dc(d)}if(ki(e,n+12|0,n+8|0,n+4|0)){continue}break}}ah(e);dc(b)}Ub[v[v[c>>2]+4>>2]](c)}Qb=n+16|0;break y}dc(i);T(a|0);L()}v[l+36>>2]=i;if(v[a+128>>2]){break t}v[f+40>>2]=1}hc(g+80|0);if(!v[rc(v[o+8>>2],236891,g+16|0,0)>>2]){v[f+24>>2]=v[g+24>>2]}b=g+16|0;hc(b);IT(f,a);if(v[rc(v[o+8>>2],236940,b,0)>>2]!=6){break s}c=0;i=v[g+24>>2];if(v[i+12>>2]>0){while(1){hg(i,c,g);sy(f,g);hc(g);c=c+1|0;i=v[g+24>>2];if((c|0)>2]){continue}break}}hc(g+16|0);c=1;if(v[a+20>>2]<1){break q}while(1){d=c;b=go(a,c);pa:{if(v[qf(b+16|0,v[b+4>>2],g- -64|0,0)>>2]!=6){break pa}b=0;c=v[g+72>>2];if(v[c+12>>2]<1){break pa}while(1){qa:{if(v[hg(c,b,g+48|0)>>2]!=9){break qa}ra:{sa:{c=v[f+32>>2];i=v[c+8>>2];if((i|0)<1){c=0;break sa}l=v[g+60>>2];h=v[g+56>>2];k=v[c>>2];c=0;while(1){e=v[k+(c<<2)>>2];if(!(v[e+8>>2]!=9|(h|0)!=v[e+16>>2])&(l|0)==v[e+20>>2]){break sa}c=c+1|0;if((i|0)!=(c|0)){continue}break}break ra}if((c|0)!=(i|0)){break qa}}qf(g+48|0,v[v[f>>2]+24>>2],g+32|0,0);if(v[g+32>>2]==7){c=rc(v[g+40>>2],278827,g+16|0,0);ta:{if(v[c>>2]!=4){break ta}if(mc(v[c+8>>2],233506)){break ta}sy(f,g+48|0)}hc(g+16|0)}hc(g+32|0)}hc(g+48|0);b=b+1|0;c=v[g+72>>2];if((b|0)>2]){continue}break}}c=d+1|0;hc(g- -64|0);if((d|0)>2]){continue}break}break q}i=P()|0;O()|0;dc(b);break o}c=g+96|0;Gf(c,v[b+24>>2]);f=fc(48);v[f>>2]=b;v[f+8>>2]=13;v[299999]=0;Q(3314,c|0,f+8|0)|0;b=v[299999];v[299999]=0;ua:{va:{if((b|0)==1){break va}v[f+24>>2]=0;v[299999]=0;b=S(1,16)|0;c=v[299999];v[299999]=0;if((c|0)==1){break va}v[299999]=0;S(3315,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break ua}v[f+28>>2]=b;v[299999]=0;b=S(1,16)|0;c=v[299999];v[299999]=0;if((c|0)==1){break va}v[299999]=0;S(3315,b|0)|0;d=v[299999];v[299999]=0;c=1;if((d|0)==1){i=P()|0;O()|0;dc(b);break o}v[f+36>>2]=0;v[f+40>>2]=0;v[f+32>>2]=b;hc(g+96|0);IT(f,a);if(v[a+20>>2]>=1){while(1){b=c;c=go(a,b);wa:{if(v[qf(c+16|0,v[c+4>>2],g- -64|0,0)>>2]!=6){break wa}c=0;i=v[g+72>>2];if(v[i+12>>2]<1){break wa}while(1){if(v[hg(i,c,g+48|0)>>2]==9){qf(g+48|0,v[v[f>>2]+24>>2],g+32|0,0);if(v[g+32>>2]==7){d=rc(v[g+40>>2],278827,g+16|0,0);xa:{if(v[d>>2]!=4){break xa}if(mc(v[d+8>>2],233506)){break xa}sy(f,g+48|0)}hc(g+16|0)}hc(g+32|0)}hc(g+48|0);c=c+1|0;i=v[g+72>>2];if((c|0)>2]){continue}break}}c=b+1|0;hc(g- -64|0);if((b|0)>2]){continue}break}}if(v[v[f+32>>2]+8>>2]){break q}break r}i=P()|0;O()|0;break o}i=P()|0;O()|0;dc(b);break o}if(v[g+16>>2]!=5){kc(1,-1,278992,0)}hc(g+16|0)}HT(f);dc(f);f=0}Qb=g+112|0;break n}i=P()|0;O()|0}dc(f);T(i|0);L()}v[q+132>>2]=f;rc(v[j+56>>2],236728,a+136|0,0);c=v[j+56>>2];b=Qb-32|0;Qb=b;v[b+16>>2]=13;v[b>>2]=13;if(v[rc(c,236677,b+16|0,0)>>2]==7){if(v[rc(v[b+24>>2],236703,b,0)>>2]==7){wT(a,b)}hc(b)}d=b+16|0;hc(d);f=ic(Fj(v[v[a+4>>2]+16>>2]+1|0),0,v[v[a+4>>2]+16>>2]+1|0);vT(a,Ce(c,236818,d),f);hc(d);uc(f);Qb=b+32|0;Ce(v[j+56>>2],236873,a+160|0);if(v[rc(v[j+56>>2],235800,r,0)>>2]==7){ya:{c=j+32|0;b=fc(16);v[299999]=0;S(3315,b|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){v[a+156>>2]=b;uT(a,c);b=v[a+156>>2];c=v[b+8>>2];if(!c){dc(Vc(b));v[a+156>>2]=0;break ya}f=v[b>>2];b=v[f>>2];za:{if((c|0)<2){break za}d=c-1|0;i=d&3;Aa:{if(c-2>>>0<3){c=1;break Aa}d=d&-4;c=1;while(1){l=b;b=f+(c<<2)|0;e=v[b>>2];v[l+4>>2]=v[e>>2]-1;l=e;e=v[b+4>>2];v[l+4>>2]=v[e>>2]-1;l=e;e=v[b+8>>2];v[l+4>>2]=v[e>>2]-1;b=v[b+12>>2];v[e+4>>2]=v[b>>2]-1;c=c+4|0;d=d-4|0;if(d){continue}break}}if(!i){break za}d=b;while(1){b=v[f+(c<<2)>>2];v[d+4>>2]=v[b>>2]-1;c=c+1|0;d=b;i=i-1|0;if(i){continue}break}}v[b+4>>2]=v[a+20>>2];break ya}break a}}hc(j+32|0);hc(j+48|0);break b}hc(j+48|0);v[a+176>>2]=0;v[a+40>>2]=5;v[a+24>>2]=5}Qb=j- -64|0;return a|0}a=P()|0;O()|0;dc(b);T(a|0);L()}function I5a(a){a=a|0;var b=0,c=0,d=0,e=C(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,w=0,E=0,F=0,G=0,H=C(0),I=0,J=0,M=0,N=0,O=0,P=C(0),Q=0,R=C(0),S=0,T=C(0),U=0,V=0,W=0,X=0,Y=0,Z=C(0),_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=C(0),ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0;h=Qb-176|0;Qb=h;if(z[a+60>>2]!=C(0)){b=v[a+64>>2];v[a+59284>>2]=v[a+60>>2];v[a+59288>>2]=b;b=v[a+72>>2];d=a+59292|0;v[d>>2]=v[a+68>>2];v[d+4>>2]=b}a:{b:{if(!v[a+216>>2]){if(!v[a+220>>2]){break a}if(z[a+59268>>2]!=C(-1)){break b}}b=v[a+204>>2];c=b+v[a+212>>2]|0;d=x[a+26308>>1];ba=c>>>0>>0?c:d;c:{if(b>>>0>=ba>>>0){break c}l=v[a+200>>2];d=l+v[a+208>>2]|0;fa=x[a+26310>>1];s=d>>>0>>0?d:fa;if(l>>>0>=s>>>0){break c}q=v[a+26124>>2]-25|0;t=v[a+26352>>2];U=v[a+26028>>2];while(1){o=b+8|0;f=l;while(1){v[h+168>>2]=0;v[h+172>>2]=0;v[h+160>>2]=0;v[h+164>>2]=0;v[h+152>>2]=0;v[h+156>>2]=0;v[h+144>>2]=0;v[h+148>>2]=0;c=f;f=c+8|0;d:{e:{if(!U){J=0;F=0;S=0;Y=0;Q=0;V=0;m=0;N=0;g=b;while(1){i=B(g,fa);d=c;while(1){k=t+(d+i<<3)|0;j=x[k>>1];if((j|0)>(q|0)){break d}G=v[a+26120>>2];m=m+1|0;v[h+160>>2]=m;j=j-G|0;N=((j|0)>0?j:0)+N|0;v[h+144>>2]=N;j=x[k+2>>1];if((j|0)>(q|0)){break d}Q=Q+1|0;v[h+164>>2]=Q;j=j-G|0;V=((j|0)>0?j:0)+V|0;v[h+148>>2]=V;j=x[k+4>>1];if((j|0)>(q|0)){break d}S=S+1|0;v[h+168>>2]=S;j=j-G|0;Y=((j|0)>0?j:0)+Y|0;v[h+152>>2]=Y;j=x[k+6>>1];if((j|0)>(q|0)){break d}J=J+1|0;v[h+172>>2]=J;j=j-G|0;F=((j|0)>0?j:0)+F|0;v[h+156>>2]=F;d=d+1|0;if(f>>>0>d>>>0&d>>>0>>0){continue}break}g=g+1|0;if(o>>>0<=g>>>0){break e}if(g>>>0>>0){continue}break}break e}N=c+7|0;ia=N>>>0>>0&s>>>0>N>>>0;j=c+6|0;ja=j>>>0>>0&j>>>0>>0;G=c+5|0;ka=G>>>0>>0&s>>>0>G>>>0;g=c+4|0;la=g>>>0>>0&g>>>0>>0;k=c+3|0;ma=k>>>0>>0&k>>>0>>0;d=c+2|0;na=d>>>0>>0&d>>>0>>0;i=c+1|0;oa=i>>>0>>0&i>>>0>>0;ga=c&1;M=x[a+26316>>1];pa=N>>>M|0;m=N&1;J=j>>>M|0;Y=G>>>M|0;F=G&1;S=g>>>M|0;Q=k>>>M|0;V=k&1;N=d>>>M|0;G=i>>>M|0;k=i&1;i=c>>>M|0;j=x[a+26320>>1];c=b;while(1){_=c<<1&14;g=U>>>((_|ga)<<1)&3;ca=g<<1;O=B(j,c>>>M|0);d=x[ca+(t+(O+i<<3)|0)>>1];if((d|0)>(q|0)){break d}r=h+144|g<<2;$=r;g=v[r+16>>2];d=d-v[a+26120>>2]|0;v[r>>2]=v[r>>2]+((d|0)>0?d:0);v[r+16>>2]=g+1;f:{if(!oa){break f}g=U>>>((k|_)<<1)&3;d=x[(t+(G+O<<3)|0)+(g<<1)>>1];if((d|0)>(q|0)){break d}w=h+144|g<<2;g=v[w+16>>2];d=d-v[a+26120>>2]|0;v[w>>2]=v[w>>2]+((d|0)>0?d:0);v[w+16>>2]=g+1;if(!na){break f}d=x[ca+(t+(N+O<<3)|0)>>1];if((d|0)>(q|0)){break d}g=v[$+16>>2];d=d-v[a+26120>>2]|0;v[r>>2]=v[r>>2]+((d|0)>0?d:0);v[$+16>>2]=g+1;if(!ma){break f}g=U>>>((V|_)<<1)&3;d=x[(t+(O+Q<<3)|0)+(g<<1)>>1];if((d|0)>(q|0)){break d}w=h+144|g<<2;g=v[w+16>>2];d=d-v[a+26120>>2]|0;v[w>>2]=v[w>>2]+((d|0)>0?d:0);v[w+16>>2]=g+1;if(!la){break f}d=x[ca+(t+(O+S<<3)|0)>>1];if((d|0)>(q|0)){break d}g=v[$+16>>2];d=d-v[a+26120>>2]|0;v[r>>2]=v[r>>2]+((d|0)>0?d:0);v[$+16>>2]=g+1;if(!ka){break f}g=U>>>((F|_)<<1)&3;d=x[(t+(O+Y<<3)|0)+(g<<1)>>1];if((d|0)>(q|0)){break d}w=h+144|g<<2;g=v[w+16>>2];d=d-v[a+26120>>2]|0;v[w>>2]=v[w>>2]+((d|0)>0?d:0);v[w+16>>2]=g+1;if(!ja){break f}d=x[ca+(t+(J+O<<3)|0)>>1];if((d|0)>(q|0)){break d}g=v[$+16>>2];d=d-v[a+26120>>2]|0;v[r>>2]=v[r>>2]+((d|0)>0?d:0);v[$+16>>2]=g+1;if(!ia){break f}g=U>>>((m|_)<<1)&3;d=x[(t+(O+pa<<3)|0)+(g<<1)>>1];if((d|0)>(q|0)){break d}w=h+144|g<<2;g=v[w+16>>2];d=d-v[a+26120>>2]|0;v[w>>2]=v[w>>2]+((d|0)>0?d:0);v[w+16>>2]=g+1}c=c+1|0;if(o>>>0>c>>>0&c>>>0>>0){continue}break}J=v[h+172>>2];S=v[h+168>>2];Q=v[h+164>>2];m=v[h+160>>2];F=v[h+156>>2];Y=v[h+152>>2];V=v[h+148>>2];N=v[h+144>>2]}da=da+ +(J>>>0);ea=ea+ +(S>>>0);W=W+ +(Q>>>0);n=n+ +(m>>>0);qa=qa+ +(F>>>0);ra=ra+ +(Y>>>0);X=X+ +(V>>>0);aa=aa+ +(N>>>0)}if(f>>>0>>0){continue}break}b=o;if(ba>>>0>b>>>0){continue}break}if(aa!=0){z[a+59284>>2]=n/aa}if(X!=0){z[a+59288>>2]=W/X}if(ra!=0){z[a+59292>>2]=ea/ra}if(qa==0){break c}z[a+59296>>2]=da/qa}if(!v[a+220>>2]){break a}}e=z[a+59268>>2];if(e==C(-1)){break a}o=a+59268|0;v[h+168>>2]=0;v[h+172>>2]=0;v[h+160>>2]=0;v[h+164>>2]=0;v[h+152>>2]=0;v[h+156>>2]=0;v[h+144>>2]=0;v[h+148>>2]=0;i=v[a+26120>>2];l=v[a+26028>>2];m=0;while(1){c=m<<2;f=l>>>c&3;g=(m<<4)+a|0;d=x[g+26356>>1]-i|0;if((d|0)>=1){b=h+144|f<<2;v[b>>2]=d+v[b>>2]}j=h+144|f<<2;f=j;v[f+16>>2]=v[f+16>>2]+1;c=l>>>(c|2)&3;d=x[g+26358>>1]-i|0;if((d|0)>0){b=h+144|c<<2;v[b>>2]=d+v[b>>2]}d=h+144|c<<2;c=d;v[c+16>>2]=v[c+16>>2]+1;b=x[g+26360>>1]-i|0;if((b|0)>=1){v[j>>2]=b+v[j>>2]}v[f+16>>2]=v[f+16>>2]+1;b=x[g+26362>>1]-i|0;if((b|0)>=1){v[d>>2]=b+v[d>>2]}v[c+16>>2]=v[c+16>>2]+1;b=x[g+26364>>1]-i|0;if((b|0)>=1){v[j>>2]=b+v[j>>2]}v[f+16>>2]=v[f+16>>2]+1;b=x[g+26366>>1]-i|0;if((b|0)>=1){v[d>>2]=b+v[d>>2]}v[c+16>>2]=v[c+16>>2]+1;b=x[g+26368>>1]-i|0;if((b|0)>=1){v[j>>2]=b+v[j>>2]}v[f+16>>2]=v[f+16>>2]+1;b=x[g+26370>>1]-i|0;if((b|0)>=1){v[d>>2]=b+v[d>>2]}v[c+16>>2]=v[c+16>>2]+1;m=m+1|0;if((m|0)!=8){continue}break}g:{f=v[h+144>>2];if(!f){break g}c=v[h+148>>2];if(!c){break g}d=v[h+152>>2];if(!d){break g}b=v[h+156>>2];if(!b){break g}z[a+59284>>2]=C(y[h+160>>2])/C(f>>>0);z[a+59288>>2]=C(y[h+164>>2])/C(c>>>0);z[a+59292>>2]=C(y[h+168>>2])/C(d>>>0);z[a+59296>>2]=C(y[h+172>>2])/C(b>>>0);break a}if(!(e==C(0)|z[a+59276>>2]==C(0))){b=v[o+4>>2];v[a+59284>>2]=v[o>>2];v[a+59288>>2]=b;b=v[o+12>>2];d=a+59292|0;v[d>>2]=v[o+8>>2];v[d+4>>2]=b;break a}v[h+112>>2]=v[a+25208>>2];wc(v[252391],55868,h+112|0)}R=z[a+59296>>2];if(R==C(0)){R=C(1);R=v[a+26336>>2]<=3?z[a+59288>>2]:R;z[a+59296>>2]=R}ca=v[a+26124>>2];c=ca;w=v[a+26120>>2];b=w;h:{if(z[a+52>>2]!=C(0)){M=0;q=Qb-32|0;Qb=q;if(v[a+188>>2]){Rc(55266,21,1,v[252391])}d=v[a+26124>>2];k=1;while(1){b=k;k=b+1|0;if(d<>>0<65536){continue}break}O=b-1|0;v[a+26124>>2]=d<>2]<>2]=U;i:{d=x[a+26320>>1];b=x[a+26318>>1];s=B(d,b);if(s>>>0<=357892095){m=jc((b+d|0)+B(s,3)<<2);if(m){break i}}d=v[a+190640>>2];j:{if(d){b=v[a+25208>>2];v[q+20>>2]=55580;v[q+16>>2]=b;zd(d,4338,q+16|0);break j}b=v[a+25208>>2];v[q+4>>2]=55580;v[q>>2]=b;wc(v[252391],4338,q)}break h}S=v[a+26336>>2];k:{l:{if((S|0)==3){Y=v[a+26028>>2]?4:3;break l}Y=S;if((S|0)<1){break k}}I=m+B(s,12)|0;o=s&-2;$=s&1;ba=s-1|0;T=z[a+52>>2];while(1){m:{if(!s){break m}c=v[a+26352>>2];k=0;i=o;if(ba){while(1){d=M<<1;z[m+(k<<2)>>2]=C(K(+(x[d+(c+(k<<3)|0)>>1]<>2]=C(K(+(x[d+(c+(b<<3)|0)>>1]<>2]=C(K(+(x[(c+(k<<3)|0)+(M<<1)>>1]<>1];Q=r&65534;fa=r&1;p=x[a+26320>>1];V=p&65532;N=p&3;ia=1-p|0;ja=p&1;ka=p-1|0;la=(r<<1)-2|0;ma=(p<<1)-2|0;j=0;t=0;n:{while(1){f=1<>2];z[b+I>>2]=C(C(e+e)+z[(f-c<<2)+E>>2])+z[(c+f<<2)+E>>2];_=c|1;b=_<<2;e=z[b+E>>2];z[b+I>>2]=C(C(e+e)+z[(f-_<<2)+E>>2])+z[(f+_<<2)+E>>2];c=c+2|0;d=d-2|0;if(d){continue}break}}if(!t){b=c<<2;e=z[b+E>>2];z[b+I>>2]=C(C(e+e)+z[(f-c<<2)+E>>2])+z[(c+f<<2)+E>>2]}c=f;o:{if((p|0)<=(F|0)){break o}d=F;b=f;if(ja){e=z[E+ga>>2];z[pa>>2]=C(C(e+e)+z[E>>2])+z[(F<<2)+E>>2];d=k;b=l}c=l;if((ia|0)==(oa|0)){break o}while(1){c=b<<2;e=z[c+E>>2];z[c+I>>2]=C(C(e+e)+z[(b-f<<2)+E>>2])+z[(d<<2)+E>>2];c=b+1|0;d=c<<2;e=z[d+E>>2];z[d+I>>2]=C(C(e+e)+z[(c-f<<2)+E>>2])+z[(c+f<<2)+E>>2];c=b+2|0;b=c;d=c+f|0;if((p|0)>(d|0)){continue}break}}if((c|0)<(p|0)){while(1){b=c<<2;e=z[b+E>>2];z[b+I>>2]=C(C(e+e)+z[(c-f<<2)+E>>2])+z[(ma-(c+f|0)<<2)+E>>2];c=c+1|0;if((p|0)!=(c|0)){continue}break}}p:{if(!p){break p}c=i+g|0;i=0;b=V;if(ka>>>0>=3){while(1){z[m+(c+i<<2)>>2]=z[I+(i<<2)>>2]*C(.25);d=i|1;z[m+(d+c<<2)>>2]=z[I+(d<<2)>>2]*C(.25);d=i|2;z[m+(d+c<<2)>>2]=z[I+(d<<2)>>2]*C(.25);d=i|3;z[m+(d+c<<2)>>2]=z[I+(d<<2)>>2]*C(.25);i=i+4|0;b=b-4|0;if(b){continue}break}}b=N;if(!b){break p}while(1){z[m+(c+i<<2)>>2]=z[I+(i<<2)>>2]*C(.25);i=i+1|0;b=b-1|0;if(b){continue}break}}J=J+1|0;if((r|0)!=(J|0)){continue}break}}if(p){k=m+(g<<2)|0;d=f<<1;l=0;while(1){i=k+(l<<2)|0;c=0;while(1){e=z[i+(B(c,p)<<2)>>2];z[I+(c<<2)>>2]=C(C(e+e)+z[i+(B(f-c|0,p)<<2)>>2])+z[i+(B(c+f|0,p)<<2)>>2];c=c+1|0;if((f|0)!=(c|0)){continue}break}c=f;b=d;if((r|0)>(b|0)){while(1){e=z[i+(B(c,p)<<2)>>2];z[I+(c<<2)>>2]=C(C(e+e)+z[i+(B(c-f|0,p)<<2)>>2])+z[i+(B(b,p)<<2)>>2];c=c+1|0;b=f+c|0;if((r|0)>(b|0)){continue}break}}if((c|0)<(r|0)){while(1){e=z[i+(B(c,p)<<2)>>2];z[I+(c<<2)>>2]=C(C(e+e)+z[i+(B(c-f|0,p)<<2)>>2])+z[i+(B(la-(c+f|0)|0,p)<<2)>>2];c=c+1|0;if((r|0)!=(c|0)){continue}break}}q:{if(!r){break q}G=g+l|0;i=0;b=Q;if((r|0)!=1){while(1){z[m+(G+B(i,p)<<2)>>2]=z[I+(i<<2)>>2]*C(.25);c=i|1;z[m+(G+B(c,p)<<2)>>2]=z[I+(c<<2)>>2]*C(.25);i=i+2|0;b=b-2|0;if(b){continue}break}}if(!fa){break q}z[m+(G+B(i,p)<<2)>>2]=z[I+(i<<2)>>2]*C(.25)}l=l+1|0;if((p|0)!=(l|0)){continue}break}}r:{if(s){P=C(T*z[(t<<2)+198064>>2]);Z=C(-P);k=0;while(1){b=m+(k+j<<2)|0;H=C(z[b>>2]-z[m+(g+k<<2)>>2]);s:{if(HP)){break s}e=C(H-P)}z[b>>2]=e;if(j){b=m+(k<<2)|0;z[b>>2]=e+z[b>>2]}k=k+1|0;if((s|0)!=(k|0)){continue}break}j=g;t=t+1|0;if((t|0)==5){break r}continue}j=g;t=t+1|0;if((t|0)!=5){continue}break n}break}if(!s){break n}l=v[a+26352>>2];k=0;c=o;if(ba){while(1){d=M<<1;f=d+(l+(k<<3)|0)|0;e=C(z[m+(k<<2)>>2]+z[m+(k+j<<2)>>2]);e=C(C(e*e)*C(152587890625e-16));e=e=C(0)){b=~~e>>>0;break t}b=0}u[f>>1]=b;f=k|1;e=C(z[m+(f<<2)>>2]+z[m+(f+j<<2)>>2]);e=C(C(e*e)*C(152587890625e-16));e=e=C(0)){b=~~e>>>0;break u}b=0}u[d+(l+(f<<3)|0)>>1]=b;k=k+2|0;c=c-2|0;if(c){continue}break}}if(!$){break n}c=(l+(k<<3)|0)+(M<<1)|0;e=C(z[m+(k<<2)>>2]+z[m+(k+j<<2)>>2]);e=C(C(e*e)*C(152587890625e-16));e=e=C(0)){b=~~e>>>0;break v}b=0}u[c>>1]=b}M=M+1|0;if((M|0)!=(Y|0)){continue}break}F=v[a+26028>>2];if(!F|(S|0)!=3){break k}b=a+59284|0;e=z[(b+(F>>>2&8)|0)+4>>2];z[q+24>>2]=C(e*C(.125))/z[(b+((F&2)<<2)|0)+4>>2];z[q+28>>2]=C(z[(b+(F>>>6&8)|0)+4>>2]*C(.125))/e;if(x[a+26308>>1]<3){break k}V=0-(U<<2)|0;H=C(U>>>0);j=x[a+26310>>1];l=m+(j<<1)|0;c=m+(j<<2)|0;ha=C(z[a+52>>2]*C(.001953125));T=C(-ha);d=m;J=2;i=-1;b=1;while(1){o=b;if((b|0)>=(i|0)){while(1){b=d;d=l;l=c;i=i+1|0;c=i<<1&14;k=F>>>(c<<1|2)&1;if(k>>>0>>0){g=F>>>((c|k)<<1)&3;f=v[a+26352>>2];while(1){c=x[a+26316>>1];u[b+(k<<1)>>1]=x[(f+(B(x[a+26320>>1],i>>c)+(k>>>c|0)<<3)|0)+(g<<1)>>1];j=x[a+26310>>1];k=k+2|0;if(j>>>0>k>>>0){continue}break}}c=b;if((i|0)!=(J|0)){continue}break}i=J}b=o+1|0;g=o<<1&14;f=F>>>(g<<1)&1;k=f+1|0;if((k|0)<(j-1|0)){N=F>>>((f|g)<<1^2)&3;Z=z[(q+24|0)+((o&1)<<2)>>2];G=v[a+26352>>2];while(1){f=x[a+26316>>1];f=(G+(B(x[a+26320>>1],o>>>f|0)+(k>>>f|0)<<3)|0)+(N<<1)|0;Q=k<<1;j=Q-2|0;g=Q+2|0;e=C(C(C(Z*C((((V+x[j+d>>1]|0)+x[g+d>>1]|0)+x[c+j>>1]|0)+x[c+g>>1]>>>0))+C(C(x[l+Q>>1]-U>>>0)*C(.5)))+H);e=e>1]))-e);w:{if(Rha)){break w}P=C(R-ha)}e=C(e+P);e=C(C(e*e)+C(.5));e=e=C(0)){g=~~e>>>0;break x}g=0}u[f>>1]=g;k=k+2|0;j=x[a+26310>>1];if((k|0)<(j-1|0)){continue}break}}J=J+1|0;if((x[a+26308>>1]-1|0)>(b|0)){continue}break}}dc(m);Qb=q+32|0;R=z[a+59296>>2];c=v[a+26124>>2];b=v[a+26120>>2]}c=c-b|0;v[a+26124>>2]=c;d=a+59292|0;T=z[d>>2];aa=+T;b=a+59288|0;Z=z[b>>2];da=+Z;e=z[a+59284>>2];ea=+e;n=ea>0?ea:0;n=nda?da:n;n=n>aa?aa:n;P=C(v[a+156>>2]?X:n>W?W:n);e=C(e/P);z[a+59284>>2]=e;H=C(c>>>0);z[h+128>>2]=C(e*C(65535))/H;e=C(Z/P);z[b>>2]=e;z[h+132>>2]=C(e*C(65535))/H;e=C(T/P);z[d>>2]=e;z[h+136>>2]=C(e*C(65535))/H;e=C(R/P);z[a+59296>>2]=e;z[h+140>>2]=C(e*C(65535))/H;if(v[a+188>>2]){v[h+100>>2]=ca;v[h+96>>2]=w;b=v[252391];wc(b,55983,h+96|0);A[h+80>>3]=z[a+59284>>2];Ph(b,56360,h+80|0);A[h+64>>3]=z[a+59288>>2];Ph(b,56360,h- -64|0);A[h+48>>3]=z[a+59292>>2];Ph(b,56360,h+48|0);A[h+32>>3]=z[a+59296>>2];Ph(b,56360,h+32|0);ff(10,b)}k=B(x[a+26320>>1],x[a+26318>>1]);l=k<<2;if(l){f=v[a+26352>>2];c=0;while(1){b=f+(c<<1)|0;d=x[b>>1];if(d){o=b;e=C(z[(h+128|(c&3)<<2)>>2]*C(d-v[a+26120>>2]|0));y:{if(C(D(e))>1]=(b|0)>0?b:0}c=c+1|0;if((l|0)!=(c|0)){continue}break}}z:{X=A[a+80>>3];A:{if(X==1&A[a+96>>3]==1|v[a+26336>>2]!=3){break A}g=k<<1;if(v[a+188>>2]){Rc(56948,35,1,v[252391]);X=A[a+80>>3]}if(X!=1){i=jc(g);if(!i){break z}B:{if(!k){break B}f=k&3;l=v[a+26352>>2];c=0;if(k-1>>>0>=3){d=k&-4;while(1){u[i+(c<<1)>>1]=x[l+(c<<3)>>1];b=c|1;u[i+(b<<1)>>1]=x[l+(b<<3)>>1];b=c|2;u[i+(b<<1)>>1]=x[l+(b<<3)>>1];b=c|3;u[i+(b<<1)>>1]=x[l+(b<<3)>>1];c=c+4|0;d=d-4|0;if(d){continue}break}}if(!f){break B}while(1){u[i+(c<<1)>>1]=x[l+(c<<3)>>1];c=c+1|0;f=f-1|0;if(f){continue}break}}c=x[a+26318>>1];if(c){j=0;b=c;while(1){n=+((c&65535)>>>0)*.5;e=C(n+X*(+(j>>>0)-n));C:{if(e=C(0)){l=~~e>>>0;break C}l=0}D:{if((l|0)>(b-2|0)){break D}d=x[a+26320>>1];if(!d){break D}T=C(e-C(l>>>0));Z=C(C(1)-T);c=0;b=d;while(1){n=+((d&65535)>>>0)*.5;e=C(n+X*(+(c>>>0)-n));E:{if(e=C(0)){f=~~e>>>0;break E}f=0}if((f|0)<=(b-2|0)){d=v[a+26352>>2]+(B(b,j)+c<<3)|0;o=(i+(B(b,l)<<1)|0)+(f<<1)|0;b=o+(b<<1)|0;H=C(e-C(f>>>0));e=C(C(1)-H);e=C(C(Z*C(C(e*C(x[o>>1]))+C(H*C(x[o+2>>1]))))+C(T*C(C(e*C(x[b>>1]))+C(H*C(x[b+2>>1])))));F:{if(e=C(0)){b=~~e>>>0;break F}b=0}u[d>>1]=b;d=x[a+26320>>1]}c=c+1|0;b=d&65535;if(c>>>0>>0){continue}break}c=x[a+26318>>1]}b=c&65535;j=j+1|0;if(b>>>0>j>>>0){continue}break}}dc(i)}W=A[a+96>>3];if(W==1){break A}g=jc(g);if(!g){break z}G:{if(!k){break G}f=k&3;l=v[a+26352>>2];c=0;if(k-1>>>0>=3){d=k&-4;while(1){u[g+(c<<1)>>1]=x[(l+(c<<3)|0)+4>>1];b=c|1;u[g+(b<<1)>>1]=x[(l+(b<<3)|0)+4>>1];b=c|2;u[g+(b<<1)>>1]=x[(l+(b<<3)|0)+4>>1];b=c|3;u[g+(b<<1)>>1]=x[(l+(b<<3)|0)+4>>1];c=c+4|0;d=d-4|0;if(d){continue}break}}if(!f){break G}while(1){u[g+(c<<1)>>1]=x[(l+(c<<3)|0)+4>>1];c=c+1|0;f=f-1|0;if(f){continue}break}}c=x[a+26318>>1];if(c){j=0;b=c;while(1){n=+((c&65535)>>>0)*.5;e=C(n+W*(+(j>>>0)-n));H:{if(e=C(0)){l=~~e>>>0;break H}l=0}I:{if((l|0)>(b-2|0)){break I}d=x[a+26320>>1];if(!d){break I}T=C(e-C(l>>>0));Z=C(C(1)-T);c=0;b=d;while(1){n=+((d&65535)>>>0)*.5;e=C(n+W*(+(c>>>0)-n));J:{if(e=C(0)){f=~~e>>>0;break J}f=0}if((f|0)<=(b-2|0)){d=v[a+26352>>2]+(B(b,j)+c<<3)|0;o=(g+(B(b,l)<<1)|0)+(f<<1)|0;b=o+(b<<1)|0;H=C(e-C(f>>>0));e=C(C(1)-H);e=C(C(Z*C(C(e*C(x[o>>1]))+C(H*C(x[o+2>>1]))))+C(T*C(C(e*C(x[b>>1]))+C(H*C(x[b+2>>1])))));K:{if(e=C(0)){b=~~e>>>0;break K}b=0}u[d+4>>1]=b;d=x[a+26320>>1]}c=c+1|0;b=d&65535;if(c>>>0>>0){continue}break}c=x[a+26318>>1]}b=c&65535;j=j+1|0;if(b>>>0>j>>>0){continue}break}}dc(g)}Qb=h+176|0;return}d=v[a+190640>>2];L:{if(d){b=v[a+25208>>2];v[h+20>>2]=57173;v[h+16>>2]=b;zd(d,4338,h+16|0);break L}b=v[a+25208>>2];v[h+4>>2]=57173;v[h>>2]=b;wc(v[252391],4338,h)}}sd(a+190484|0,1);L()}function roa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=Qb-128|0;Qb=d;i=Bh();b=d+120|0;Pl(b,v[a+44>>2]);v[299999]=0;V(4503,d+112|0,b|0);b=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{if((b|0)!=1){v[299999]=0;e=v[d+112>>2];v[d+104>>2]=0;v[d+108>>2]=v[282402];b=Z(4504,e|0,d+104|0,0,0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break f}if(b){break v}v[299999]=0;b=aa(4369,d- -64|0,v[282394],241010,336,342442,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break u}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break w}break b}a=P()|0;O()|0;break c}a=P()|0;O()|0;qc(b);break d}if((b|0)<=-1){v[299999]=0;b=aa(4369,d- -64|0,280889,241010,338,342442,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break t}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}a=P()|0;O()|0;qc(b);break d}if((b|0)<=7){v[299999]=0;b=aa(4369,d- -64|0,225105,241010,340,342442,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break s}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}a=P()|0;O()|0;qc(b);break d}v[299999]=0;b=Nc(d+104|0,316362,-1);c=v[299999];v[299999]=0;if((c|0)==1){break f}if(!b){v[299999]=0;Z(4504,e|0,d+104|0,0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break f}v[299999]=0;b=Nc(d+104|0,316387,-1);c=v[299999];v[299999]=0;if((c|0)==1){break f}if(!b){v[299999]=0;b=S(1,136)|0;c=v[299999];v[299999]=0;x:{y:{z:{A:{B:{C:{if((c|0)==1){break C}v[299999]=0;c=S(4589,b|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break r}v[299999]=0;v[d+64>>2]=0;Q(4336,d- -64|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break C}v[299999]=0;Q(4344,a+48|0,d- -64|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break B}b=v[d+64>>2];v[d+64>>2]=0;D:{if(!b){break D}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(c){break D}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a+48>>2];v[299999]=0;v[d+64>>2]=0;Q(4336,d- -64|0,e|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break A}v[299999]=0;V(4698,b|0,d- -64|0);b=v[299999];v[299999]=0;if((b|0)==1){break z}b=v[d+64>>2];v[d+64>>2]=0;E:{if(!b){break E}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(c){break E}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}v[299999]=0;R(4601,e|0);b=v[299999];v[299999]=0;if((b|0)==1){break f}c=v[a+48>>2];if(v[c+16>>2]){b=v[c+20>>2];c=c+12|0;v[d+68>>2]=c;v[d+64>>2]=b;if(!b){v[299999]=0;V(4468,d- -64|0,c|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}break f}b=v[b+8>>2];if(b){break y}}b=3;break x}a=P()|0;O()|0;break d}a=P()|0;O()|0;ec(d- -64|0);break d}a=P()|0;O()|0;break d}a=P()|0;O()|0;ec(d- -64|0);break d}b=v[b+8>>2]?3:4}v[a+56>>2]=b;v[299999]=0;sg(a+92|0,0,0,3,0);b=v[299999];v[299999]=0;if((b|0)==1){break f}b=v[v[i>>2]+44>>2];v[299999]=0;$(b|0,i|0,a|0,3,0);b=v[299999];v[299999]=0;if((b|0)==1){break f}v[299999]=0;R(4696,a|0);b=v[299999];v[299999]=0;if((b|0)==1){break f}v[299999]=0;b=Z(4504,e|0,d+104|0,0,0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break f}if(!b){break p}v[299999]=0;b=Nc(d+104|0,316372,-1);c=v[299999];v[299999]=0;if((c|0)==1){break f}if(b){break p}v[299999]=0;R(4699,d- -64|0);b=v[299999];v[299999]=0;F:{G:{H:{if((b|0)!=1){v[299999]=0;Q(4344,a+52|0,d- -64|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break H}b=v[d+64>>2];v[d+64>>2]=0;I:{if(!b){break I}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(c){break I}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a+52>>2];v[299999]=0;v[d+64>>2]=0;Q(4336,d- -64|0,e|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break G}v[299999]=0;V(4700,b|0,d- -64|0);b=v[299999];v[299999]=0;if((b|0)==1){break F}b=v[d+64>>2];v[d+64>>2]=0;J:{if(!b){break J}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(c){break J}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}v[299999]=0;R(4601,e|0);b=v[299999];v[299999]=0;if((b|0)==1){break f}break p}a=P()|0;O()|0;break d}a=P()|0;O()|0;ec(d- -64|0);break d}a=P()|0;O()|0;break d}a=P()|0;O()|0;ec(d- -64|0);break d}v[299999]=0;b=Nc(d+104|0,334404,-1);c=v[299999];v[299999]=0;if((c|0)==1){break f}if(!b){v[a+56>>2]=1;v[299999]=0;sg(a+92|0,0,0,1,0);b=v[299999];v[299999]=0;if((b|0)==1){break f}b=v[v[i>>2]+44>>2];v[299999]=0;$(b|0,i|0,a|0,1,0);b=v[299999];v[299999]=0;if((b|0)==1){break f}v[299999]=0;R(4696,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break p}break f}v[299999]=0;b=aa(4369,d- -64|0,234063,241010,385,342442,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break q}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}a=P()|0;O()|0;qc(b);break d}v[a+56>>2]=5;v[299999]=0;sg(a+92|0,0,0,1,0);b=v[299999];v[299999]=0;if((b|0)==1){break f}b=v[v[i>>2]+44>>2];v[299999]=0;$(b|0,i|0,a|0,1,0);b=v[299999];v[299999]=0;if((b|0)==1){break f}v[299999]=0;R(4696,a|0);b=v[299999];v[299999]=0;if((b|0)==1){break f}break o}a=P()|0;O()|0;break d}a=P()|0;O()|0;break d}a=P()|0;O()|0;break d}a=P()|0;O()|0;dc(b);break d}a=P()|0;O()|0;break d}if(v[a+56>>2]==1){v[299999]=0;b=S(1,60)|0;c=v[299999];v[299999]=0;if((c|0)==1){break e}v[299999]=0;c=S(4701,b|0)|0;f=v[299999];v[299999]=0;K:{L:{M:{N:{if((f|0)!=1){v[299999]=0;v[d+64>>2]=0;Q(4336,d- -64|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break e}v[299999]=0;Q(4344,a+108|0,d- -64|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break L}b=v[d+64>>2];v[d+64>>2]=0;O:{if(!b){break O}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(c){break O}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a+108>>2];v[299999]=0;v[d+64>>2]=0;Q(4336,d- -64|0,e|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break M}v[299999]=0;V(4702,b|0,v[d+64>>2]);b=v[299999];v[299999]=0;if((b|0)==1){break N}b=v[d+64>>2];v[d+64>>2]=0;P:{if(!b){break P}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(c){break P}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}v[299999]=0;R(4601,e|0);b=v[299999];v[299999]=0;if((b|0)==1){break f}while(1){v[299999]=0;b=Z(4504,e|0,d+104|0,d+8|0,0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break g}if(!b){v[299999]=0;b=aa(4369,d- -64|0,283451,241010,403,342442,0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}a=P()|0;O()|0;qc(b);break d}a=P()|0;O()|0;break d}v[299999]=0;b=Nc(d+104|0,309787,-1);c=v[299999];v[299999]=0;if((c|0)==1){break g}Q:{R:{if(!b){break R}v[299999]=0;b=Nc(d+104|0,326018,-1);c=v[299999];v[299999]=0;if((c|0)==1){break g}if(!b){break R}v[299999]=0;c=Nc(d+104|0,326052,-1);b=v[299999];v[299999]=0;if((b|0)==1){break g}b=0;if(c){break Q}}b=v[d+8>>2]}v[299999]=0;R(4601,e|0);c=v[299999];v[299999]=0;if((c|0)==1){break g}if(!b){continue}break}break K}a=P()|0;O()|0;dc(b);break d}a=P()|0;O()|0;ec(d- -64|0);break d}a=P()|0;O()|0;break d}a=P()|0;O()|0;ec(d- -64|0);break d}f=0;S:{c=v[a+108>>2];if(((v[c+56>>2]-v[c+52>>2]|0)+1|0)<=0){break S}T:{while(1){v[299999]=0;U(4703,d- -64|0,c|0,f|0);c=v[299999];v[299999]=0;if((c|0)==1){break T}c=v[d+64>>2];v[d+64>>2]=0;U:{if(!c){break U}v[299999]=0;h=v[c+4>>2]-1|0;v[c+4>>2]=h;g=v[299999];v[299999]=0;if((g|0)==1){break a}if(h){break U}v[299999]=0;R(4338,c|0);h=v[299999];v[299999]=0;if((h|0)==1){break a}}if((b|0)!=v[c+20>>2]){f=f+1|0;c=v[a+108>>2];if((f|0)>=((v[c+56>>2]-v[c+52>>2]|0)+1|0)){break S}continue}break}v[299999]=0;Q(4535,a+116|0,c+8|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break S}a=P()|0;O()|0;break d}a=P()|0;O()|0;break d}b=v[a+116>>2];if(!(v[b+8>>2]?b:0)){v[299999]=0;b=aa(4369,d- -64|0,283451,241010,425,342442,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break n}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}a=P()|0;O()|0;qc(b);break d}v[299999]=0;sg(a+92|0,0,0,2,0);b=v[299999];v[299999]=0;if((b|0)==1){break h}b=v[v[i>>2]+44>>2];v[299999]=0;$(b|0,i|0,a|0,2,0);b=v[299999];v[299999]=0;if((b|0)==1){break h}v[299999]=0;R(4696,a|0);b=v[299999];v[299999]=0;if((b|0)==1){break h}}while(1){V:{v[299999]=0;b=Z(4504,e|0,d+104|0,0,0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break V}if(!b){break o}v[299999]=0;b=Nc(d+104|0,316372,-1);c=v[299999];v[299999]=0;if((c|0)==1){break V}if(!b){v[299999]=0;R(4699,d- -64|0);b=v[299999];v[299999]=0;W:{X:{Y:{if((b|0)!=1){v[299999]=0;Q(4344,a+52|0,d- -64|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Y}b=v[d+64>>2];v[d+64>>2]=0;Z:{if(!b){break Z}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(c){break Z}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a+52>>2];v[299999]=0;v[d+64>>2]=0;Q(4336,d- -64|0,e|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break X}v[299999]=0;V(4700,b|0,d- -64|0);b=v[299999];v[299999]=0;if((b|0)==1){break W}b=v[d+64>>2];v[d+64>>2]=0;_:{if(!b){break _}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(c){break _}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}v[299999]=0;R(4601,e|0);b=v[299999];v[299999]=0;if((b|0)==1){break f}break o}a=P()|0;O()|0;break d}a=P()|0;O()|0;ec(d- -64|0);break d}a=P()|0;O()|0;break d}a=P()|0;O()|0;ec(d- -64|0);break d}v[299999]=0;R(4601,e|0);b=v[299999];v[299999]=0;if((b|0)!=1){continue}}break}a=P()|0;O()|0;break d}$:{switch(v[a+56>>2]-1|0){case 0:case 4:v[299999]=0;$(4704,d- -64|0,a|0,-1,0);b=v[299999];v[299999]=0;aa:{ba:{ca:{da:{ea:{fa:{ga:{ha:{ia:{ja:{if((b|0)!=1){v[299999]=0;e=a+124|0;Q(4344,e|0,d- -64|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break ja}b=v[d+64>>2];v[d+64>>2]=0;ka:{if(!b){break ka}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(c){break ka}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[e>>2];la:{if(!b){break la}v[299999]=0;V(4705,d- -64|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break ia}v[299999]=0;Q(4344,a+112|0,d- -64|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break ha}b=v[d+64>>2];v[d+64>>2]=0;if(!b){break la}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(c){break la}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}v[299999]=0;Q(4336,e|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break f}b=v[a+56>>2];if(v[a+112>>2]){break ba}f=a+112|0;if((b|0)!=1){break ca}v[299999]=0;e=Q(4340,d+8|0,217905)|0;b=v[299999];v[299999]=0;if((b|0)==1){break ga}v[299999]=0;b=Y(4612,d- -64|0,e|0,a+8|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break fa}v[299999]=0;c=S(1,128)|0;h=v[299999];v[299999]=0;if((h|0)==1){break ea}v[299999]=0;h=Q(4706,c|0,b|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break m}v[299999]=0;v[d+48>>2]=0;Q(4336,d+48|0,h|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break ea}v[299999]=0;Q(4344,f|0,d+48|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break da}c=v[d+48>>2];v[d+48>>2]=0;ma:{if(!c){break ma}v[299999]=0;f=v[c+4>>2]-1|0;v[c+4>>2]=f;h=v[299999];v[299999]=0;if((h|0)==1){break a}if(f){break ma}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}v[b+24>>2]=981312;v[b>>2]=981280;c=v[b+28>>2];if(c){f=v[c+4>>2]-1|0;v[c+4>>2]=f;if(!f){Ub[v[v[c>>2]+4>>2]](c)}v[b+28>>2]=0}v[b+16>>2]=981312;c=v[b+20>>2];if(c){f=v[c+4>>2]-1|0;v[c+4>>2]=f;if(!f){Ub[v[v[c>>2]+4>>2]](c)}v[b+20>>2]=0}ec(b+8|0);ec(e);b=v[a+116>>2];b=v[(b?b+12|0:1129608)>>2];e=v[a+112>>2];v[299999]=0;U(4707,e|0,-1,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break f}break aa}a=P()|0;O()|0;break d}a=P()|0;O()|0;ec(d- -64|0);break d}a=P()|0;O()|0;break d}a=P()|0;O()|0;ec(d- -64|0);break d}a=P()|0;O()|0;break d}a=P()|0;O()|0;ec(e);break d}a=P()|0;O()|0;break i}a=P()|0;O()|0;ec(d+48|0);break i}v[299999]=0;e=Q(4340,d+48|0,217905)|0;b=v[299999];v[299999]=0;na:{oa:{pa:{qa:{ra:{sa:{if((b|0)!=1){v[299999]=0;h=a+8|0;V(4708,d+8|0,h|0);b=v[299999];v[299999]=0;if((b|0)==1){break sa}v[299999]=0;b=Y(4612,d- -64|0,e|0,d+8|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break ra}v[299999]=0;c=S(1,128)|0;g=v[299999];v[299999]=0;if((g|0)==1){break qa}v[299999]=0;g=Q(4706,c|0,b|0)|0;j=v[299999];v[299999]=0;if((j|0)==1){break l}v[299999]=0;v[d+56>>2]=0;Q(4336,d+56|0,g|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break qa}v[299999]=0;Q(4344,f|0,d+56|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break pa}c=v[d+56>>2];v[d+56>>2]=0;ta:{if(!c){break ta}v[299999]=0;g=v[c+4>>2]-1|0;v[c+4>>2]=g;j=v[299999];v[299999]=0;if((j|0)==1){break a}if(g){break ta}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}v[b+24>>2]=981312;v[b>>2]=981280;c=v[b+28>>2];if(c){g=v[c+4>>2]-1|0;v[c+4>>2]=g;if(!g){Ub[v[v[c>>2]+4>>2]](c)}v[b+28>>2]=0}v[b+16>>2]=981312;c=v[b+20>>2];if(c){g=v[c+4>>2]-1|0;v[c+4>>2]=g;if(!g){Ub[v[v[c>>2]+4>>2]](c)}v[b+20>>2]=0}ec(b+8|0);v[d+32>>2]=981312;v[d+8>>2]=981280;b=v[d+36>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Ub[v[v[b>>2]+4>>2]](b)}v[d+36>>2]=0}v[d+24>>2]=981312;b=v[d+28>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Ub[v[v[b>>2]+4>>2]](b)}v[d+28>>2]=0}ec(d+16|0);ec(e);b=v[f>>2];v[299999]=0;V(4537,d- -64|0,h|0);e=v[299999];v[299999]=0;if((e|0)==1){break oa}e=v[d+64>>2];e=v[(e?e+12|0:1129608)>>2];v[299999]=0;U(4707,b|0,-1,e|0);b=v[299999];v[299999]=0;if((b|0)==1){break na}ec(d- -64|0);break aa}a=P()|0;O()|0;break d}a=P()|0;O()|0;ec(e);break d}a=P()|0;O()|0;break j}a=P()|0;O()|0;break k}a=P()|0;O()|0;ec(d+56|0);break k}a=P()|0;O()|0;break d}a=P()|0;O()|0;ec(d- -64|0);break d}if((b|0)!=5){break aa}v[a+56>>2]=2}v[299999]=0;sg(a+92|0,0,0,4,0);b=v[299999];v[299999]=0;if((b|0)==1){break f}b=v[v[i>>2]+44>>2];v[299999]=0;$(b|0,i|0,a|0,4,0);b=v[299999];v[299999]=0;if((b|0)==1){break f}v[299999]=0;R(4696,a|0);b=v[299999];v[299999]=0;if((b|0)==1){break f}break;default:break $}}v[299999]=0;sg(a+92|0,0,0,8,0);b=v[299999];v[299999]=0;if((b|0)==1){break f}b=v[v[i>>2]+44>>2];v[299999]=0;$(b|0,i|0,a|0,8,0);b=v[299999];v[299999]=0;if((b|0)==1){break f}v[299999]=0;R(4696,a|0);b=v[299999];v[299999]=0;if((b|0)==1){break f}v[299999]=0;sg(a+96|0,0,0,2,0);a=v[299999];v[299999]=0;if((a|0)==1){break f}ec(d+104|0);a=v[d+112>>2];v[d+112>>2]=0;ua:{if(!a){break ua}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(b){break ua}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}a=v[d+120>>2];v[d+120>>2]=0;va:{if(!a){break va}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(b){break va}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Qb=d+128|0;return}a=P()|0;O()|0;break d}a=P()|0;O()|0;dc(c);break i}a=P()|0;O()|0;dc(c)}$c(b)}$c(d+8|0);ec(e);break d}$c(b);ec(e);break d}a=P()|0;O()|0;break d}a=P()|0;O()|0;break d}a=P()|0;O()|0;break d}a=P()|0;O()|0}ec(d+104|0);ec(d+112|0)}ec(d+120|0);T(a|0);L()}L()}W(0)|0;O()|0;lc();L()}function zga(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=C(0),l=0,m=0,n=C(0),o=0,p=0,q=0,r=0,s=0,u=0,y=0;j=Qb-3088|0;Qb=j;Ub[v[v[a>>2]+48>>2]](a);g=v[a+12>>2];if(g){dc(Bt(g))}g=v[a+16>>2];if(g){dc(Bt(g))}g=v[a+20>>2];if(g){dc(Bt(g))}v[a+20>>2]=0;v[a+12>>2]=0;v[a+16>>2]=0;m=x[b+10>>1];q=x[b+8>>1];e=B(m,q);y=Bg(j,j+12|0,e,1);v[299999]=0;f=S(1,32)|0;g=v[299999];v[299999]=0;a:{b:{c:{d:{e:{if((g|0)!=1){v[299999]=0;l=Y(5248,f|0,m|0,q|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break e}v[a+12>>2]=l;if(d>>>0<4){d=d<<2;v[a+36>>2]=v[d+991312>>2];v[a+40>>2]=v[d+991296>>2]}d=0;g=v[c>>2];r=0;f:{if(!g){break f}if(!v[g+20>>2]){v[299999]=0;R(4368,g|0);c=v[299999];v[299999]=0;if((c|0)==1){break b}}g:{if(!x[g+8>>1]){s=x[g+14>>1];c=x[g+12>>1];if(v[282398]>=(s+c|0)){break g}v[299999]=0;b=aa(4369,j+2064|0,260231,271771,577,336631,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break b}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break d}a=P()|0;O()|0;qc(b);break a}s=x[g+14>>1];r=v[g+20>>2]+x[g+12>>1]|0;break f}r=c+v[282397]|0}l=x[b+8>>1]?v[b+16>>2]:0;h=x[b+12>>1];g=v[j+12>>2];while(1){p=d<<2;c=p+(j+1040|0)|0;n=C(d<<16);k=C(n*C(.6086959838867188));h:{if(C(D(k))>2]=i;c=p+(j+2064|0)|0;k=C(n*C(.3043479919433594));i:{if(C(D(k))>2]=i;c=p+(j+16|0)|0;k=C(n*C(.08695600181818008));j:{if(C(D(k))>2]=i;d=d+1|0;if((d|0)!=256){continue}break}break c}a=P()|0;O()|0;break a}a=P()|0;O()|0;dc(f);break a}L()}u=(q|0)!=0&(m|0)!=0;if(u){i=B(h,3);while(1){c=0;h=g;d=l;while(1){t[h|0]=(v[(j+16|0)+(w[d|0]<<2)>>2]+(v[(j+2064|0)+(w[d+2|0]<<2)>>2]+v[(j+1040|0)+(w[d+1|0]<<2)>>2]|0)|0)+32768>>>16^128;h=h+1|0;d=d+3|0;c=c+1|0;if((m|0)!=(c|0)){continue}break}g=g+m|0;l=l+i|0;o=o+1|0;if((o|0)!=(q|0)){continue}break}}if(!(!e|v[a+36>>2]>-1)){d=v[j+12>>2];c=e+d|0;while(1){t[d|0]=w[d|0]^-1;d=d+1|0;if(c>>>0>d>>>0){continue}break}}v[299999]=0;fa(5249,f|0,v[j+12>>2],m|0,r|0,s|0);c=v[299999];v[299999]=0;if((c|0)==1){break b}k:{if(v[a+36>>2]<0){break k}v[299999]=0;f=S(1,32)|0;c=v[299999];v[299999]=0;l:{m:{n:{o:{p:{q:{if((c|0)!=1){v[299999]=0;d=Y(5248,f|0,m|0,q|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break q}v[a+16>>2]=d;v[299999]=0;e=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){break n}v[299999]=0;d=Y(5248,e|0,m|0,q|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break p}v[a+20>>2]=d;d=0;g=x[b+8>>1]?v[b+16>>2]:0;h=x[b+12>>1];l=v[j+12>>2];while(1){p=d<<2;c=p+(j+1040|0)|0;n=C(d<<16);k=C(n*C(-.3478260040283203));r:{if(C(D(k))>2]=i;c=p+(j+2064|0)|0;k=C(n*C(-.17391300201416016));s:{if(C(D(k))>2]=i;c=p+(j+16|0)|0;k=C(n*C(.5217390060424805));t:{if(C(D(k))>2]=i;d=d+1|0;if((d|0)!=256){continue}break}break o}a=P()|0;O()|0;break a}a=P()|0;O()|0;dc(f);break a}a=P()|0;O()|0;dc(e);break a}if(u){o=0;p=B(h,3);while(1){c=0;h=l;d=g;while(1){i=(v[(j+16|0)+(w[d|0]<<2)>>2]+(v[(j+2064|0)+(w[d+2|0]<<2)>>2]+v[(j+1040|0)+(w[d+1|0]<<2)>>2]|0)|0)+32768>>16;i=(i|0)<127?i:127;t[h|0]=(i|0)>-128?i:-128;h=h+1|0;d=d+3|0;c=c+1|0;if((m|0)!=(c|0)){continue}break}l=l+m|0;g=g+p|0;o=o+1|0;if((o|0)!=(q|0)){continue}break}l=v[j+12>>2]}d=0;v[299999]=0;fa(5249,f|0,l|0,m|0,r|0,s|0);c=v[299999];v[299999]=0;if((c|0)==1){break n}g=x[b+8>>1]?v[b+16>>2]:0;c=x[b+12>>1];l=v[j+12>>2];while(1){i=d<<2;b=i+(j+1040|0)|0;n=C(d<<16);k=C(n*C(-.40579700469970703));u:{if(C(D(k))>2]=h;b=i+(j+2064|0)|0;k=C(n*C(.46376800537109375));v:{if(C(D(k))>2]=h;b=i+(j+16|0)|0;k=C(n*C(-.05797100067138672));w:{if(C(D(k))>2]=h;d=d+1|0;if((d|0)!=256){continue}break}if(u){o=0;i=B(c,3);while(1){c=0;h=l;d=g;while(1){b=(v[(j+16|0)+(w[d|0]<<2)>>2]+(v[(j+2064|0)+(w[d+2|0]<<2)>>2]+v[(j+1040|0)+(w[d+1|0]<<2)>>2]|0)|0)+32768>>16;b=(b|0)<127?b:127;t[h|0]=(b|0)>-128?b:-128;h=h+1|0;d=d+3|0;c=c+1|0;if((m|0)!=(c|0)){continue}break}l=l+m|0;g=g+i|0;o=o+1|0;if((o|0)!=(q|0)){continue}break}l=v[j+12>>2]}v[299999]=0;fa(5249,e|0,l|0,m|0,r|0,s|0);b=v[299999];v[299999]=0;if((b|0)==1){break n}if(!v[a+40>>2]){break k}if(v[f+20>>2]<1){break m}h=0;while(1){a=v[f>>2];v[299999]=0;b=h<<4;a=v[(b+a|0)+4>>2];if(a){v[a>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[f>>2];v[299999]=0;a=v[(a+b|0)+4>>2];if(a){v[a+4>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[f>>2];v[299999]=0;a=v[(a+b|0)+4>>2];if(a){v[a+8>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[f>>2];v[299999]=0;a=v[(a+b|0)+4>>2];if(a){v[a+12>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[f>>2];v[299999]=0;a=v[(a+b|0)+4>>2];if(a){v[a+16>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[f>>2];v[299999]=0;a=v[(a+b|0)+4>>2];if(a){v[a+20>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[f>>2];v[299999]=0;a=v[(a+b|0)+4>>2];if(a){v[a+24>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[f>>2];v[299999]=0;a=v[(a+b|0)+4>>2];if(a){v[a+28>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[f>>2];v[299999]=0;a=v[(a+b|0)+4>>2];if(a){v[a+32>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[f>>2];v[299999]=0;a=v[(a+b|0)+4>>2];if(a){v[a+36>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[f>>2];v[299999]=0;a=v[(a+b|0)+4>>2];if(a){v[a+40>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[f>>2];v[299999]=0;a=v[(a+b|0)+4>>2];if(a){v[a+44>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[f>>2];v[299999]=0;a=v[(a+b|0)+4>>2];if(a){v[a+48>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[f>>2];v[299999]=0;a=v[(a+b|0)+4>>2];if(a){v[a+52>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[f>>2];v[299999]=0;a=v[(a+b|0)+4>>2];if(a){v[a+56>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[f>>2];v[299999]=0;a=v[(a+b|0)+4>>2];if(a){v[a+60>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[f>>2];v[299999]=0;a=v[(a+b|0)+8>>2];if(a){v[a>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[f>>2];v[299999]=0;a=v[(a+b|0)+8>>2];if(a){v[a+4>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[f>>2];v[299999]=0;a=v[(a+b|0)+8>>2];if(a){v[a+8>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[f>>2];v[299999]=0;a=v[(a+b|0)+8>>2];if(a){v[a+12>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[f>>2];v[299999]=0;a=v[(a+b|0)+8>>2];if(a){v[a+16>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[f>>2];v[299999]=0;a=v[(a+b|0)+8>>2];if(a){v[a+20>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[f>>2];v[299999]=0;a=v[(a+b|0)+8>>2];if(a){v[a+24>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[f>>2];v[299999]=0;a=v[(a+b|0)+8>>2];if(a){v[a+28>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[f>>2];v[299999]=0;a=v[(a+b|0)+8>>2];if(a){v[a+32>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[f>>2];v[299999]=0;a=v[(a+b|0)+8>>2];if(a){v[a+36>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[f>>2];v[299999]=0;a=v[(a+b|0)+8>>2];if(a){v[a+40>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[f>>2];v[299999]=0;a=v[(a+b|0)+8>>2];if(a){v[a+44>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[f>>2];v[299999]=0;a=v[(a+b|0)+8>>2];if(a){v[a+48>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[f>>2];v[299999]=0;a=v[(a+b|0)+8>>2];if(a){v[a+52>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[f>>2];v[299999]=0;a=v[(a+b|0)+8>>2];if(a){v[a+56>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[f>>2];v[299999]=0;a=v[(a+b|0)+8>>2];if(a){v[a+60>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[f>>2];v[299999]=0;a=v[(a+b|0)+12>>2];if(a){v[a>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[f>>2];v[299999]=0;a=v[(a+b|0)+12>>2];if(a){v[a+4>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[f>>2];v[299999]=0;a=v[(a+b|0)+12>>2];if(a){v[a+8>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[f>>2];v[299999]=0;a=v[(a+b|0)+12>>2];if(a){v[a+12>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[f>>2];v[299999]=0;a=v[(a+b|0)+12>>2];if(a){v[a+16>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[f>>2];v[299999]=0;a=v[(a+b|0)+12>>2];if(a){v[a+20>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[f>>2];v[299999]=0;a=v[(a+b|0)+12>>2];if(a){v[a+24>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[f>>2];v[299999]=0;a=v[(a+b|0)+12>>2];if(a){v[a+28>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[f>>2];v[299999]=0;a=v[(a+b|0)+12>>2];if(a){v[a+32>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[f>>2];v[299999]=0;a=v[(a+b|0)+12>>2];if(a){v[a+36>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[f>>2];v[299999]=0;a=v[(a+b|0)+12>>2];if(a){v[a+40>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[f>>2];v[299999]=0;a=v[(a+b|0)+12>>2];if(a){v[a+44>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[f>>2];v[299999]=0;a=v[(a+b|0)+12>>2];if(a){v[a+48>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[f>>2];v[299999]=0;a=v[(a+b|0)+12>>2];if(a){v[a+52>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[f>>2];v[299999]=0;a=v[(a+b|0)+12>>2];if(a){v[a+56>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[f>>2];v[299999]=0;a=v[(a+b|0)+12>>2];if(a){v[a+60>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break l}h=h+1|0;if((h|0)>2]){continue}break}break m}a=P()|0;O()|0;break a}if(v[e+20>>2]<1){break k}h=0;while(1){x:{a=v[e>>2];v[299999]=0;b=h<<4;a=v[(b+a|0)+4>>2];if(a){v[a>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break x}a=v[e>>2];v[299999]=0;a=v[(a+b|0)+4>>2];if(a){v[a+4>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break x}a=v[e>>2];v[299999]=0;a=v[(a+b|0)+4>>2];if(a){v[a+8>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break x}a=v[e>>2];v[299999]=0;a=v[(a+b|0)+4>>2];if(a){v[a+12>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break x}a=v[e>>2];v[299999]=0;a=v[(a+b|0)+4>>2];if(a){v[a+16>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break x}a=v[e>>2];v[299999]=0;a=v[(a+b|0)+4>>2];if(a){v[a+20>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break x}a=v[e>>2];v[299999]=0;a=v[(a+b|0)+4>>2];if(a){v[a+24>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break x}a=v[e>>2];v[299999]=0;a=v[(a+b|0)+4>>2];if(a){v[a+28>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break x}a=v[e>>2];v[299999]=0;a=v[(a+b|0)+4>>2];if(a){v[a+32>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break x}a=v[e>>2];v[299999]=0;a=v[(a+b|0)+4>>2];if(a){v[a+36>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break x}a=v[e>>2];v[299999]=0;a=v[(a+b|0)+4>>2];if(a){v[a+40>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break x}a=v[e>>2];v[299999]=0;a=v[(a+b|0)+4>>2];if(a){v[a+44>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break x}a=v[e>>2];v[299999]=0;a=v[(a+b|0)+4>>2];if(a){v[a+48>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break x}a=v[e>>2];v[299999]=0;a=v[(a+b|0)+4>>2];if(a){v[a+52>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break x}a=v[e>>2];v[299999]=0;a=v[(a+b|0)+4>>2];if(a){v[a+56>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break x}a=v[e>>2];v[299999]=0;a=v[(a+b|0)+4>>2];if(a){v[a+60>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break x}a=v[e>>2];v[299999]=0;a=v[(a+b|0)+8>>2];if(a){v[a>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break x}a=v[e>>2];v[299999]=0;a=v[(a+b|0)+8>>2];if(a){v[a+4>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break x}a=v[e>>2];v[299999]=0;a=v[(a+b|0)+8>>2];if(a){v[a+8>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break x}a=v[e>>2];v[299999]=0;a=v[(a+b|0)+8>>2];if(a){v[a+12>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break x}a=v[e>>2];v[299999]=0;a=v[(a+b|0)+8>>2];if(a){v[a+16>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break x}a=v[e>>2];v[299999]=0;a=v[(a+b|0)+8>>2];if(a){v[a+20>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break x}a=v[e>>2];v[299999]=0;a=v[(a+b|0)+8>>2];if(a){v[a+24>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break x}a=v[e>>2];v[299999]=0;a=v[(a+b|0)+8>>2];if(a){v[a+28>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break x}a=v[e>>2];v[299999]=0;a=v[(a+b|0)+8>>2];if(a){v[a+32>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break x}a=v[e>>2];v[299999]=0;a=v[(a+b|0)+8>>2];if(a){v[a+36>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break x}a=v[e>>2];v[299999]=0;a=v[(a+b|0)+8>>2];if(a){v[a+40>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break x}a=v[e>>2];v[299999]=0;a=v[(a+b|0)+8>>2];if(a){v[a+44>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break x}a=v[e>>2];v[299999]=0;a=v[(a+b|0)+8>>2];if(a){v[a+48>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break x}a=v[e>>2];v[299999]=0;a=v[(a+b|0)+8>>2];if(a){v[a+52>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break x}a=v[e>>2];v[299999]=0;a=v[(a+b|0)+8>>2];if(a){v[a+56>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break x}a=v[e>>2];v[299999]=0;a=v[(a+b|0)+8>>2];if(a){v[a+60>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break x}a=v[e>>2];v[299999]=0;a=v[(a+b|0)+12>>2];if(a){v[a>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break x}a=v[e>>2];v[299999]=0;a=v[(a+b|0)+12>>2];if(a){v[a+4>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break x}a=v[e>>2];v[299999]=0;a=v[(a+b|0)+12>>2];if(a){v[a+8>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break x}a=v[e>>2];v[299999]=0;a=v[(a+b|0)+12>>2];if(a){v[a+12>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break x}a=v[e>>2];v[299999]=0;a=v[(a+b|0)+12>>2];if(a){v[a+16>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break x}a=v[e>>2];v[299999]=0;a=v[(a+b|0)+12>>2];if(a){v[a+20>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break x}a=v[e>>2];v[299999]=0;a=v[(a+b|0)+12>>2];if(a){v[a+24>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break x}a=v[e>>2];v[299999]=0;a=v[(a+b|0)+12>>2];if(a){v[a+28>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break x}a=v[e>>2];v[299999]=0;a=v[(a+b|0)+12>>2];if(a){v[a+32>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break x}a=v[e>>2];v[299999]=0;a=v[(a+b|0)+12>>2];if(a){v[a+36>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break x}a=v[e>>2];v[299999]=0;a=v[(a+b|0)+12>>2];if(a){v[a+40>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break x}a=v[e>>2];v[299999]=0;a=v[(a+b|0)+12>>2];if(a){v[a+44>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break x}a=v[e>>2];v[299999]=0;a=v[(a+b|0)+12>>2];if(a){v[a+48>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break x}a=v[e>>2];v[299999]=0;a=v[(a+b|0)+12>>2];if(a){v[a+52>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break x}a=v[e>>2];v[299999]=0;a=v[(a+b|0)+12>>2];if(a){v[a+56>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break x}a=v[e>>2];v[299999]=0;a=v[(a+b|0)+12>>2];if(a){v[a+60>>2]=0}a=v[299999];v[299999]=0;if((a|0)==1){break x}h=h+1|0;if((h|0)>2]){continue}break k}break}a=P()|0;O()|0;break a}a=P()|0;O()|0;break a}Lc(y);Qb=j+3088|0;return}a=P()|0;O()|0}Lc(y);T(a|0);L()}function PC(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,k=0,l=0,m=0,n=0,o=0,p=0,r=0,s=0,u=0,x=0,z=0,A=0,D=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,O=0;r=Qb-48|0;Qb=r;a:{if(c>>>0<=2){c=c<<2;H=v[c+1010188>>2];I=v[c+1010176>>2];while(1){c=v[b+4>>2];b:{if(c>>>0>2]){v[b+4>>2]=c+1;c=w[c|0];break b}c=Re(b)}if((c|0)==32|c-9>>>0<5){continue}break}n=1;c:{d:{switch(c-43|0){case 0:case 2:break d;default:break c}}n=(c|0)==45?-1:1;c=v[b+4>>2];if(c>>>0>2]){v[b+4>>2]=c+1;c=w[c|0];break c}c=Re(b)}e:{f:{while(1){if(t[g+217774|0]==(c|32)){g:{if(g>>>0>6){break g}c=v[b+4>>2];if(c>>>0>2]){v[b+4>>2]=c+1;c=w[c|0];break g}c=Re(b)}g=g+1|0;if((g|0)!=8){continue}break f}break}if((g|0)!=3){if((g|0)==8){break f}if(!d|g>>>0<4){break e}if((g|0)==8){break f}}c=v[b+104>>2];if(c){v[b+4>>2]=v[b+4>>2]-1}if(!d|g>>>0<4){break f}while(1){if(c){v[b+4>>2]=v[b+4>>2]-1}g=g-1|0;if(g>>>0>3){continue}break}}k=Qb-16|0;Qb=k;d=(q(C(C(n|0)*C(N))),j(2));b=d&2147483647;h:{if(b-8388608>>>0<=2130706431){c=b;b=b>>>7|0;l=c<<25;c=b+1065353216|0;break h}c=d;g=c>>>7|0;l=c<<25;c=g|2147418112;if(b>>>0>=2139095040){break h}l=0;c=0;if(!b){break h}c=b;b=E(b);Oh(k,c,0,0,0,b+81|0);i=v[k>>2];h=v[k+4>>2];l=v[k+8>>2];c=v[k+12>>2]^65536|16265-b<<16}v[r>>2]=i;v[r+4>>2]=h;i=r;v[i+8>>2]=l;v[i+12>>2]=d&-2147483648|c;Qb=k+16|0;i=v[i+8>>2];h=v[r+12>>2];l=v[r>>2];k=v[r+4>>2];break a}i:{j:{k:{if(g){break k}g=0;while(1){if(t[g+249636|0]!=(c|32)){break k}l:{if(g>>>0>1){break l}c=v[b+4>>2];if(c>>>0>2]){v[b+4>>2]=c+1;c=w[c|0];break l}c=Re(b)}g=g+1|0;if((g|0)!=3){continue}break}break j}m:{switch(g|0){case 0:n:{if((c|0)!=48){break n}g=v[b+4>>2];o:{if(g>>>0>2]){v[b+4>>2]=g+1;g=w[g|0];break o}g=Re(b)}if((g&-33)==88){f=Qb-432|0;Qb=f;c=v[b+4>>2];p:{if(c>>>0>2]){v[b+4>>2]=c+1;g=w[c|0];break p}g=Re(b)}q:{r:{while(1){if((g|0)!=48){s:{if((g|0)!=46){break q}c=v[b+4>>2];if(c>>>0>=y[b+104>>2]){break s}v[b+4>>2]=c+1;g=w[c|0];break r}}else{c=v[b+4>>2];if(c>>>0>2]){J=1;v[b+4>>2]=c+1;g=w[c|0]}else{J=1;g=Re(b)}continue}break}g=Re(b)}e=1;if((g|0)!=48){break q}while(1){c=u;u=c-1|0;x=x-(c>>>0<1)|0;c=v[b+4>>2];t:{if(c>>>0>2]){v[b+4>>2]=c+1;g=w[c|0];break t}g=Re(b)}if((g|0)==48){continue}break}J=1}k=1073676288;u:{while(1){v:{c=g|32;w:{x:{z=g-48|0;if(z>>>0<10){break x}if((g|0)!=46&c-97>>>0>=6){break u}if((g|0)!=46){break x}if(e){break v}e=1;u=i;x=h;break w}c=(g|0)>57?c-87|0:z;y:{if((h|0)<=0&i>>>0<=7|(h|0)<0){s=c+(s<<4)|0;break y}if((h|0)<=0&i>>>0<=28|(h|0)<0){ij(f+48|0,c);pf(f+32|0,F,G,l,k,0,0,0,1073414144);F=v[f+32>>2];G=v[f+36>>2];l=v[f+40>>2];k=v[f+44>>2];pf(f+16|0,F,G,l,k,v[f+48>>2],v[f+52>>2],v[f+56>>2],v[f+60>>2]);Pi(f,m,p,A,D,v[f+16>>2],v[f+20>>2],v[f+24>>2],v[f+28>>2]);A=v[f+8>>2];D=v[f+12>>2];m=v[f>>2];p=v[f+4>>2];break y}if(o|!c){break y}pf(f+80|0,F,G,l,k,0,0,0,1073610752);Pi(f- -64|0,m,p,A,D,v[f+80>>2],v[f+84>>2],v[f+88>>2],v[f+92>>2]);A=v[f+72>>2];D=v[f+76>>2];o=1;m=v[f+64>>2];p=v[f+68>>2]}c=i+1|0;h=c>>>0<1?h+1|0:h;i=c;J=1}c=v[b+4>>2];if(c>>>0>2]){v[b+4>>2]=c+1;g=w[c|0]}else{g=Re(b)}continue}break}g=46}z:{A:{B:{if(!J){if(!v[b+104>>2]){if(d){break A}break B}c=v[b+4>>2];v[b+4>>2]=c-1;if(!d){break B}v[b+4>>2]=c-2;if(!e){break A}v[b+4>>2]=c-3;break A}if((h|0)<=0&i>>>0<=7|(h|0)<0){l=i;k=h;while(1){s=s<<4;c=l+1|0;k=c>>>0<1?k+1|0:k;l=c;if((c|0)!=8|k){continue}break}}C:{D:{E:{if((g&-33)==80){l=uN(b,d);c=Tb;k=c;if(l|(c|0)!=-2147483648){break C}if(d){if(v[b+104>>2]){break E}break D}m=0;p=0;Bj(b,0,0);c=0;b=0;break z}if(!v[b+104>>2]){break D}}v[b+4>>2]=v[b+4>>2]-1}l=0;k=0}if(!s){Ok(f+112|0,+(n|0)*0);m=v[f+112>>2];p=v[f+116>>2];c=v[f+124>>2];b=v[f+120>>2];break z}c=e?u:i;b=(e?x:h)<<2|c>>>30;c=l+(c<<2)|0;b=b+k|0;b=c>>>0>>0?b+1|0:b;i=c-32|0;h=b-(c>>>0<32)|0;b=h;if(i>>>0>0-H>>>0&(b|0)>=0|(b|0)>0){v[299402]=68;ij(f+160|0,n);pf(f+144|0,v[f+160>>2],v[f+164>>2],v[f+168>>2],v[f+172>>2],-1,-1,-1,2147418111);pf(f+128|0,v[f+144>>2],v[f+148>>2],v[f+152>>2],v[f+156>>2],-1,-1,-1,2147418111);m=v[f+128>>2];p=v[f+132>>2];c=v[f+140>>2];b=v[f+136>>2];break z}b=H-226|0;c=b;b=b>>31;if(c>>>0<=i>>>0&(h|0)>=(b|0)|(b|0)<(h|0)){if((s|0)>-1){while(1){Pi(f+416|0,m,p,A,D,0,0,0,-1073807360);c=DC(m,p,A,D,1073610752);b=(c|0)<0;Pi(f+400|0,m,p,A,D,b?m:v[f+416>>2],b?p:v[f+420>>2],b?A:v[f+424>>2],b?D:v[f+428>>2]);b=i;i=b-1|0;h=h-(b>>>0<1)|0;A=v[f+408>>2];D=v[f+412>>2];m=v[f+400>>2];p=v[f+404>>2];s=s<<1|(c|0)>-1;if((s|0)>-1){continue}break}}b=i;c=H;d=(b-c|0)+32|0;b=h-((c>>31)+(b>>>0>>0)|0)|0;b=d>>>0<32?b+1|0:b;c=d;c=c>>>0>>0&(b|0)<=0|(b|0)<0?(c|0)>0?c:0:I;F:{if((c|0)>=113){ij(f+384|0,n);u=v[f+392>>2];x=v[f+396>>2];F=v[f+384>>2];G=v[f+388>>2];h=0;b=0;break F}Ok(f+352|0,Lk(1,144-c|0));ij(f+336|0,n);F=v[f+336>>2];G=v[f+340>>2];u=v[f+344>>2];x=v[f+348>>2];wN(f+368|0,v[f+352>>2],v[f+356>>2],v[f+360>>2],v[f+364>>2],F,G,u,x);K=v[f+376>>2];M=v[f+380>>2];h=v[f+372>>2];b=v[f+368>>2]}c=!(s&1)&((rp(m,p,A,D,0,0,0,0)|0)!=0&(c|0)<32);br(f+320|0,c+s|0);pf(f+304|0,F,G,u,x,v[f+320>>2],v[f+324>>2],v[f+328>>2],v[f+332>>2]);d=b;Pi(f+272|0,v[f+304>>2],v[f+308>>2],v[f+312>>2],v[f+316>>2],b,h,K,M);b=c;pf(f+288|0,b?0:m,b?0:p,b?0:A,b?0:D,F,G,u,x);Pi(f+256|0,v[f+288>>2],v[f+292>>2],v[f+296>>2],v[f+300>>2],v[f+272>>2],v[f+276>>2],v[f+280>>2],v[f+284>>2]);CC(f+240|0,v[f+256>>2],v[f+260>>2],v[f+264>>2],v[f+268>>2],d,h,K,M);b=v[f+240>>2];c=v[f+244>>2];d=v[f+248>>2];h=v[f+252>>2];if(!rp(b,c,d,h,0,0,0,0)){v[299402]=68}vN(f+224|0,b,c,d,h,i);m=v[f+224>>2];p=v[f+228>>2];c=v[f+236>>2];b=v[f+232>>2];break z}v[299402]=68;ij(f+208|0,n);pf(f+192|0,v[f+208>>2],v[f+212>>2],v[f+216>>2],v[f+220>>2],0,0,0,65536);pf(f+176|0,v[f+192>>2],v[f+196>>2],v[f+200>>2],v[f+204>>2],0,0,0,65536);m=v[f+176>>2];p=v[f+180>>2];c=v[f+188>>2];b=v[f+184>>2];break z}Bj(b,0,0)}Ok(f+96|0,+(n|0)*0);m=v[f+96>>2];p=v[f+100>>2];c=v[f+108>>2];b=v[f+104>>2]}v[r+16>>2]=m;v[r+20>>2]=p;v[r+24>>2]=b;v[r+28>>2]=c;Qb=f+432|0;i=v[r+24>>2];h=v[r+28>>2];l=v[r+16>>2];k=v[r+20>>2];break a}if(!v[b+104>>2]){break n}v[b+4>>2]=v[b+4>>2]-1}g=b;f=n;s=d;n=0;d=0;e=Qb-8976|0;Qb=e;J=H+I|0;K=0-J|0;G:{H:{while(1){if((c|0)!=48){I:{if((c|0)!=46){break G}b=v[g+4>>2];if(b>>>0>=y[g+104>>2]){break I}v[g+4>>2]=b+1;c=w[b|0];break H}}else{b=v[g+4>>2];if(b>>>0>2]){n=1;v[g+4>>2]=b+1;c=w[b|0]}else{n=1;c=Re(g)}continue}break}c=Re(g)}o=1;if((c|0)!=48){break G}while(1){b=i;i=b-1|0;h=h-(b>>>0<1)|0;b=v[g+4>>2];J:{if(b>>>0>2]){v[g+4>>2]=b+1;c=w[b|0];break J}c=Re(g)}if((c|0)==48){continue}break}n=1}v[e+784>>2]=0;K:{L:{b=(c|0)==46;m=c-48|0;M:{N:{O:{P:{if(!(!b&m>>>0>9)){while(1){Q:{if(b&1){if(!o){i=l;h=k;o=1;break Q}b=!n;break P}b=l+1|0;k=b>>>0<1?k+1|0:k;l=b;if((d|0)<=2044){L=(c|0)==48?L:l;b=(e+784|0)+(d<<2)|0;n=b;if(z){m=(B(v[b>>2],10)+c|0)-48|0}v[n>>2]=m;n=1;c=z+1|0;b=(c|0)==9;z=b?0:c;d=b+d|0;break Q}if((c|0)==48){break Q}v[e+8960>>2]=v[e+8960>>2]|1;L=18396}b=v[g+4>>2];R:{if(b>>>0>2]){v[g+4>>2]=b+1;c=w[b|0];break R}c=Re(g)}b=(c|0)==46;m=c-48|0;if(b|m>>>0<10){continue}break}}i=o?i:l;h=o?h:k;if(!(!n|(c&-33)!=69)){m=uN(g,s);b=Tb;p=b;S:{if(m|(b|0)!=-2147483648){break S}if(!s){break M}m=0;p=0;if(!v[g+104>>2]){break S}v[g+4>>2]=v[g+4>>2]-1}if(!n){break N}g=h+p|0;b=i+m|0;g=b>>>0>>0?g+1|0:g;i=b;h=g;break L}b=!n;if((c|0)<0){break O}}if(!v[g+104>>2]){break O}v[g+4>>2]=v[g+4>>2]-1}if(!b){break L}}v[299402]=28}l=0;k=0;Bj(g,0,0);c=0;b=0;break K}b=v[e+784>>2];if(!b){Ok(e,+(f|0)*0);l=v[e>>2];k=v[e+4>>2];c=v[e+12>>2];b=v[e+8>>2];break K}if(!(l>>>0>9&(k|0)>=0|(k|0)>0|((i|0)!=(l|0)|(h|0)!=(k|0))|(b>>>I|0?(I|0)<=30:0))){ij(e+48|0,f);br(e+32|0,b);pf(e+16|0,v[e+48>>2],v[e+52>>2],v[e+56>>2],v[e+60>>2],v[e+32>>2],v[e+36>>2],v[e+40>>2],v[e+44>>2]);l=v[e+16>>2];k=v[e+20>>2];c=v[e+28>>2];b=v[e+24>>2];break K}if(i>>>0>(H|0)/-2>>>0&(h|0)>=0|(h|0)>0){v[299402]=68;ij(e+96|0,f);pf(e+80|0,v[e+96>>2],v[e+100>>2],v[e+104>>2],v[e+108>>2],-1,-1,-1,2147418111);pf(e- -64|0,v[e+80>>2],v[e+84>>2],v[e+88>>2],v[e+92>>2],-1,-1,-1,2147418111);l=v[e+64>>2];k=v[e+68>>2];c=v[e+76>>2];b=v[e+72>>2];break K}b=H-226|0;c=i>>>0>>0;b=b>>31;if(c&(h|0)<=(b|0)|(b|0)>(h|0)){v[299402]=68;ij(e+144|0,f);pf(e+128|0,v[e+144>>2],v[e+148>>2],v[e+152>>2],v[e+156>>2],0,0,0,65536);pf(e+112|0,v[e+128>>2],v[e+132>>2],v[e+136>>2],v[e+140>>2],0,0,0,65536);l=v[e+112>>2];k=v[e+116>>2];c=v[e+124>>2];b=v[e+120>>2];break K}if(z){if((z|0)<=8){b=(e+784|0)+(d<<2)|0;g=v[b>>2];while(1){g=B(g,10);z=z+1|0;if((z|0)!=9){continue}break}v[b>>2]=g}d=d+1|0}T:{o=i;if((L|0)>(i|0)|(L|0)>=9|(i|0)>17){break T}if((o|0)==9){ij(e+192|0,f);br(e+176|0,v[e+784>>2]);pf(e+160|0,v[e+192>>2],v[e+196>>2],v[e+200>>2],v[e+204>>2],v[e+176>>2],v[e+180>>2],v[e+184>>2],v[e+188>>2]);l=v[e+160>>2];k=v[e+164>>2];c=v[e+172>>2];b=v[e+168>>2];break K}if((o|0)<=8){ij(e+272|0,f);br(e+256|0,v[e+784>>2]);pf(e+240|0,v[e+272>>2],v[e+276>>2],v[e+280>>2],v[e+284>>2],v[e+256>>2],v[e+260>>2],v[e+264>>2],v[e+268>>2]);ij(e+224|0,v[(0-o<<2)+1010176>>2]);hN(e+208|0,v[e+240>>2],v[e+244>>2],v[e+248>>2],v[e+252>>2],v[e+224>>2],v[e+228>>2],v[e+232>>2],v[e+236>>2]);l=v[e+208>>2];k=v[e+212>>2];c=v[e+220>>2];b=v[e+216>>2];break K}b=(B(o,-3)+I|0)+27|0;c=v[e+784>>2];if(c>>>b|0?(b|0)<=30:0){break T}ij(e+352|0,f);br(e+336|0,c);pf(e+320|0,v[e+352>>2],v[e+356>>2],v[e+360>>2],v[e+364>>2],v[e+336>>2],v[e+340>>2],v[e+344>>2],v[e+348>>2]);ij(e+304|0,v[(o<<2)+1010104>>2]);pf(e+288|0,v[e+320>>2],v[e+324>>2],v[e+328>>2],v[e+332>>2],v[e+304>>2],v[e+308>>2],v[e+312>>2],v[e+316>>2]);l=v[e+288>>2];k=v[e+292>>2];c=v[e+300>>2];b=v[e+296>>2];break K}while(1){c=d;d=c-1|0;if(!v[(e+784|0)+(d<<2)>>2]){continue}break}z=0;b=(o|0)%9|0;U:{if(!b){b=0;break U}d=(o|0)>-1?b:b+9|0;V:{if(!c){b=0;c=0;break V}i=v[(0-d<<2)+1010176>>2];k=1e9/(i|0)|0;m=0;g=0;b=0;while(1){h=m;l=(e+784|0)+(g<<2)|0;n=v[l>>2];m=(n>>>0)/(i>>>0)|0;h=h+m|0;v[l>>2]=h;h=!h&(b|0)==(g|0);b=h?b+1&2047:b;o=h?o-9|0:o;m=B(k,n-B(i,m)|0);g=g+1|0;if((g|0)!=(c|0)){continue}break}if(!m){break V}v[(e+784|0)+(c<<2)>>2]=m;c=c+1|0}o=(o-d|0)+9|0}while(1){s=(e+784|0)+(b<<2)|0;W:{while(1){if(((o|0)!=36|y[s>>2]>=10384593)&(o|0)>=36){break W}n=c+2047|0;m=0;while(1){l=n&2047;n=(e+784|0)+(l<<2)|0;d=v[n>>2];g=d>>>3|0;i=d<<29;d=i+m|0;k=d>>>0>>0?g+1|0:g;i=d;h=k;if(!h&i>>>0<1000000001){m=0}else{m=Dib(i,h,1e9,0);i=i-Bib(m,Tb,1e9,0)|0}v[n>>2]=i;c=(l|0)!=(c-1&2047)?c:(b|0)==(l|0)?c:i?c:l;n=l-1|0;if((b|0)!=(l|0)){continue}break}z=z-29|0;if(!m){continue}break}b=b-1&2047;if((c|0)==(b|0)){d=e+784|0;i=d+((c+2046&2047)<<2)|0;c=c-1&2047;v[i>>2]=v[i>>2]|v[d+(c<<2)>>2]}o=o+9|0;v[(e+784|0)+(b<<2)>>2]=m;continue}break}X:{Y:while(1){d=c+1&2047;h=(e+784|0)+((c-1&2047)<<2)|0;while(1){i=(o|0)>45?9:1;Z:{while(1){n=b;g=0;_:{while(1){$:{b=g+n&2047;if((b|0)==(c|0)){break $}b=v[(e+784|0)+(b<<2)>>2];k=v[(g<<2)+1010128>>2];if(b>>>0>>0){break $}if(b>>>0>k>>>0){break _}g=g+1|0;if((g|0)!=4){continue}}break}if((o|0)!=36){break _}i=0;h=0;g=0;l=0;k=0;while(1){b=g+n&2047;if((b|0)==(c|0)){c=c+1&2047;v[(e+(c<<2)|0)+780>>2]=0}pf(e+768|0,i,h,l,k,0,0,1342177280,1075633366);br(e+752|0,v[(e+784|0)+(b<<2)>>2]);Pi(e+736|0,v[e+768>>2],v[e+772>>2],v[e+776>>2],v[e+780>>2],v[e+752>>2],v[e+756>>2],v[e+760>>2],v[e+764>>2]);l=v[e+744>>2];k=v[e+748>>2];i=v[e+736>>2];h=v[e+740>>2];g=g+1|0;if((g|0)!=4){continue}break}ij(e+720|0,f);pf(e+704|0,i,h,l,k,v[e+720>>2],v[e+724>>2],v[e+728>>2],v[e+732>>2]);l=v[e+712>>2];k=v[e+716>>2];i=0;h=0;m=v[e+704>>2];p=v[e+708>>2];s=z+113|0;d=s-H|0;g=(d|0)<(I|0);b=g?(d|0)>0?d:0:I;if((b|0)<=112){break Z}break X}z=i+z|0;b=c;if((n|0)==(b|0)){continue}break}k=1e9>>>i|0;l=-1<>2];g=(s>>>i|0)+g|0;v[m>>2]=g;g=!g&(b|0)==(n|0);b=g?b+1&2047:b;o=g?o-9|0:o;g=B(k,l&s);n=n+1&2047;if((n|0)!=(c|0)){continue}break}if(!g){continue}if((b|0)!=(d|0)){v[(e+784|0)+(c<<2)>>2]=g;c=d;continue Y}v[h>>2]=v[h>>2]|1;b=d;continue}break}break}Ok(e+656|0,Lk(1,225-b|0));wN(e+688|0,v[e+656>>2],v[e+660>>2],v[e+664>>2],v[e+668>>2],m,p,l,k);F=v[e+696>>2];G=v[e+700>>2];A=v[e+688>>2];D=v[e+692>>2];Ok(e+640|0,Lk(1,113-b|0));YK(e+672|0,m,p,l,k,v[e+640>>2],v[e+644>>2],v[e+648>>2],v[e+652>>2]);i=v[e+672>>2];h=v[e+676>>2];u=v[e+680>>2];x=v[e+684>>2];CC(e+624|0,m,p,l,k,i,h,u,x);Pi(e+608|0,A,D,F,G,v[e+624>>2],v[e+628>>2],v[e+632>>2],v[e+636>>2]);l=v[e+616>>2];k=v[e+620>>2];m=v[e+608>>2];p=v[e+612>>2]}o=n+4&2047;aa:{if((o|0)==(c|0)){break aa}o=v[(e+784|0)+(o<<2)>>2];ba:{if(o>>>0<=499999999){if(!o&(n+5&2047)==(c|0)){break ba}Ok(e+496|0,+(f|0)*.25);Pi(e+480|0,i,h,u,x,v[e+496>>2],v[e+500>>2],v[e+504>>2],v[e+508>>2]);u=v[e+488>>2];x=v[e+492>>2];i=v[e+480>>2];h=v[e+484>>2];break ba}if((o|0)!=5e8){Ok(e+592|0,+(f|0)*.75);Pi(e+576|0,i,h,u,x,v[e+592>>2],v[e+596>>2],v[e+600>>2],v[e+604>>2]);u=v[e+584>>2];x=v[e+588>>2];i=v[e+576>>2];h=v[e+580>>2];break ba}O=+(f|0);if((n+5&2047)==(c|0)){Ok(e+528|0,O*.5);Pi(e+512|0,i,h,u,x,v[e+528>>2],v[e+532>>2],v[e+536>>2],v[e+540>>2]);u=v[e+520>>2];x=v[e+524>>2];i=v[e+512>>2];h=v[e+516>>2];break ba}Ok(e+560|0,O*.75);Pi(e+544|0,i,h,u,x,v[e+560>>2],v[e+564>>2],v[e+568>>2],v[e+572>>2]);u=v[e+552>>2];x=v[e+556>>2];i=v[e+544>>2];h=v[e+548>>2]}if((b|0)>111){break aa}YK(e+464|0,i,h,u,x,0,0,0,1073676288);if(rp(v[e+464>>2],v[e+468>>2],v[e+472>>2],v[e+476>>2],0,0,0,0)){break aa}Pi(e+448|0,i,h,u,x,0,0,0,1073676288);u=v[e+456>>2];x=v[e+460>>2];i=v[e+448>>2];h=v[e+452>>2]}Pi(e+432|0,m,p,l,k,i,h,u,x);CC(e+416|0,v[e+432>>2],v[e+436>>2],v[e+440>>2],v[e+444>>2],A,D,F,G);l=v[e+424>>2];k=v[e+428>>2];m=v[e+416>>2];p=v[e+420>>2];ca:{if((-2-J|0)>=(s&2147483647)){break ca}v[e+408>>2]=l;v[e+412>>2]=k&2147483647;v[e+400>>2]=m;v[e+404>>2]=p;pf(e+384|0,m,p,l,k,0,0,0,1073610752);o=v[e+400>>2];f=v[e+404>>2];H=v[e+408>>2];s=v[e+412>>2];c=DC(o,f,H,s,1081081856);n=(c|0)<0;l=n?l:v[e+392>>2];k=n?k:v[e+396>>2];m=n?m:v[e+384>>2];p=n?p:v[e+388>>2];z=((c|0)>-1)+z|0;if((z+110|0)<=(K|0)){if((((DC(o,f,H,s,1081081856)|0)<0?g:g&(b|0)!=(d|0))|0)!=1){break ca}if(!rp(i,h,u,x,0,0,0,0)){break ca}}v[299402]=68}vN(e+368|0,m,p,l,k,z);l=v[e+368>>2];k=v[e+372>>2];c=v[e+380>>2];b=v[e+376>>2]}v[r+32>>2]=l;v[r+36>>2]=k;v[r+40>>2]=b;v[r+44>>2]=c;Qb=e+8976|0;i=v[r+40>>2];h=v[r+44>>2];l=v[r+32>>2];k=v[r+36>>2];break a;case 3:break j;default:break m}}if(v[b+104>>2]){v[b+4>>2]=v[b+4>>2]-1}break i}da:{c=v[b+4>>2];ea:{if(c>>>0>2]){v[b+4>>2]=c+1;c=w[c|0];break ea}c=Re(b)}if((c|0)==40){g=1;break da}h=2147450880;if(!v[b+104>>2]){break a}v[b+4>>2]=v[b+4>>2]-1;break a}while(1){fa:{c=v[b+4>>2];ga:{if(c>>>0>2]){v[b+4>>2]=c+1;c=w[c|0];break ga}c=Re(b)}if(!(c-48>>>0<10|c-65>>>0<26|(c|0)==95)){if(c-97>>>0>=26){break fa}}g=g+1|0;continue}break}h=2147450880;if((c|0)==41){break a}c=v[b+104>>2];if(c){v[b+4>>2]=v[b+4>>2]-1}if(d){if(!g){break a}while(1){g=g-1|0;if(c){v[b+4>>2]=v[b+4>>2]-1}if(g){continue}break}break a}}v[299402]=28;Bj(b,0,0)}h=0}v[a>>2]=l;v[a+4>>2]=k;v[a+8>>2]=i;v[a+12>>2]=h;Qb=r+48|0}function H0(a){var b=0,c=0,d=0,e=0,f=0,g=C(0),h=0,i=0,j=0,k=0,m=0,n=0,o=0,q=0,r=0,s=0,y=0,A=C(0),E=0,F=0,H=C(0),I=0,J=0,K=0,M=C(0),N=0,O=C(0),P=0,Q=0,R=0,S=0,T=0,U=0;b=Qb-131200|0;Qb=b;a:{b:{if(v[a+180>>2]|!v[a+26084>>2]){break b}if(v[a+188>>2]){Rc(39182,24,1,v[252391])}Ub[v[v[a>>2]+8>>2]](v[a+4>>2],v[a+26064>>2],0)|0;u[b+32>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+32|0,1,2)|0;f=w[b+32|0];c=a;if(x[a+25204>>1]==18761){d=f|w[b+33|0]<<8}else{d=w[b+33|0]|f<<8}u[c+25204>>1]=d;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],6,1)|0;i=v[a+26064>>2];d=v[a>>2];f=v[d+8>>2];c=v[a+4>>2];v[b+32>>2]=-1;Ub[v[d>>2]](c,b+32|0,1,4)|0;d=w[b+32|0];if(x[a+25204>>1]==18761){d=d|w[b+33|0]<<8|w[b+34|0]<<16|w[b+35|0]<<24}else{d=w[b+35|0]|(w[b+33|0]<<16|d<<24|w[b+34|0]<<8)}Ub[f|0](c,d+i|0,0)|0;v[b+32>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+32|0,1,4)|0;c=w[b+32|0];if(x[a+25204>>1]==18761){c=c|w[b+33|0]<<8|w[b+34|0]<<16|w[b+35|0]<<24}else{c=w[b+35|0]|(w[b+33|0]<<16|c<<24|w[b+34|0]<<8)}v[b+32>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+32|0,1,4)|0;s=c;if(!c){break b}f=2147483647;while(1){v[b+131104>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+131104|0,1,4)|0;c=w[b+131104|0];if(x[a+25204>>1]==18761){h=c|w[b+131105|0]<<8|w[b+131106|0]<<16|w[b+131107|0]<<24}else{h=w[b+131107|0]|(w[b+131105|0]<<16|c<<24|w[b+131106|0]<<8)}v[b+131104>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+131104|0,1,4)|0;c=w[b+131104|0];if(x[a+25204>>1]==18761){c=c|w[b+131105|0]<<8|w[b+131106|0]<<16|w[b+131107|0]<<24}else{c=w[b+131107|0]|(w[b+131105|0]<<16|c<<24|w[b+131106|0]<<8)}v[b+131104>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+131104|0,1,4)|0;d=w[b+131104|0];if(x[a+25204>>1]==18761){d=d|w[b+131105|0]<<8|w[b+131106|0]<<16|w[b+131107|0]<<24}else{d=w[b+131107|0]|(w[b+131105|0]<<16|d<<24|w[b+131106|0]<<8)}s=s-1|0;U=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],d+v[a+26064>>2]|0,0)|0;c:{d:{e:{f:{g:{h:{switch(h-1024|0){case 26:v[b+131104>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+131104|0,1,4)|0;c=w[b+131104|0];if(x[a+25204>>1]==18761){break g}d=w[b+131107|0]|(w[b+131105|0]<<16|c<<24|w[b+131106|0]<<8);break f;case 0:if((c|0)<=7){break c}while(1){i=c;u[b+131104>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+131104|0,1,2)|0;c=w[b+131104|0];if(x[a+25204>>1]==18761){c=c|w[b+131105|0]<<8}else{c=w[b+131105|0]|c<<8}h=x[a+26314>>1];u[b+131104>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+131104|0,1,2)|0;c=c&65535;d=w[b+131104|0];if(x[a+25204>>1]==18761){d=d|w[b+131105|0]<<8}else{d=w[b+131105|0]|d<<8}E=c-h|0;h=x[a+26312>>1];u[b+131104>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+131104|0,1,2)|0;c=w[b+131104|0];if(x[a+25204>>1]==18761){c=c|w[b+131105|0]<<8}else{c=w[b+131105|0]|c<<8}u[b+131104>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+131104|0,1,2)|0;N=x[a+26310>>1];i:{if(N>>>0<=E>>>0){break i}j:{switch((c&65535)-129|0){case 2:n=x[a+26308>>1];if(!n){break i}P=E+2|0;Q=E-2|0;R=E&1;S=E-1|0;y=S&1;T=E+1|0;o=T&1;I=v[a+26028>>2];c=0;while(1){k:{l:{m:{n:{o:{e=I>>>((R|c<<1&14)<<1)&3;if((e|0)!=1){r=0;k=0;j=0;h=c-2|0;p:{if(h>>>0>=n>>>0){break p}if(Q>>>0>1]){d=x[a+26316>>1];k=x[(v[a+26352>>2]+(B(x[a+26320>>1],h>>>d|0)+(Q>>>d|0)<<3)|0)+((I>>>((R|h<<1&14)<<1)&3)<<1)>>1]}if(P>>>0>=x[a+26310>>1]){break p}d=x[a+26316>>1];j=x[(v[a+26352>>2]+(B(x[a+26320>>1],h>>>d|0)+(P>>>d|0)<<3)|0)+((I>>>((R|h<<1&14)<<1)&3)<<1)>>1]}j=j+k|0;k=x[a+26310>>1];h=c+2|0;q:{if(h>>>0>=n>>>0){break q}if(k>>>0>Q>>>0){d=x[a+26316>>1];d=x[(v[a+26352>>2]+(B(x[a+26320>>1],h>>>d|0)+(Q>>>d|0)<<3)|0)+((I>>>((R|h<<1&14)<<1)&3)<<1)>>1]}else{d=0}j=d+j|0;k=x[a+26310>>1];if(P>>>0>=k>>>0){break q}d=x[a+26316>>1];r=x[(v[a+26352>>2]+(B(x[a+26320>>1],h>>>d|0)+(P>>>d|0)<<3)|0)+((I>>>((R|h<<1&14)<<1)&3)<<1)>>1]}F=+(j+r|0)*.0732233;j=0;if(k>>>0>Q>>>0){d=x[a+26316>>1];j=x[(v[a+26352>>2]+(B(x[a+26320>>1],c>>>d|0)+(Q>>>d|0)<<3)|0)+(e<<1)>>1]}F=F+.5;m=x[a+26316>>1];d=v[a+26352>>2];if(k>>>0>P>>>0){break o}k=B(x[a+26320>>1],c>>>m|0);h=0;break n}e=c-1|0;if(e>>>0>=n>>>0){break m}d=0;j=0;if(S>>>0>1]){h=x[a+26316>>1];j=x[(v[a+26352>>2]+(B(x[a+26320>>1],e>>>h|0)+(S>>>h|0)<<3)|0)+((I>>>((e<<1&14|y)<<1)&3)<<1)>>1]}v[b+131168>>2]=j;if(T>>>0>=x[a+26310>>1]){break l}d=x[a+26316>>1];d=x[(v[a+26352>>2]+(B(x[a+26320>>1],e>>>d|0)+(T>>>d|0)<<3)|0)+((I>>>((e<<1&14|o)<<1)&3)<<1)>>1];break l}k=B(x[a+26320>>1],c>>>m|0);h=x[(d+(k+(P>>>m|0)<<3)|0)+(e<<1)>>1]}e=(d+((E>>>m|0)+k<<3)|0)+(e<<1)|0;F=F+ +(h+j|0)*.3535534;r:{if(F<4294967296&F>=0){d=~~F>>>0;break r}d=0}u[e>>1]=d;c=c+1|0;break k}j=0;v[b+131168>>2]=0;d=0}v[b+131172>>2]=d;m=d+j|0;h=c+1|0;s:{if(h>>>0>>0){k=0;r=0;if(S>>>0>1]){e=x[a+26316>>1];r=x[(v[a+26352>>2]+(B(x[a+26320>>1],h>>>e|0)+(S>>>e|0)<<3)|0)+((I>>>((h<<1&14|y)<<1)&3)<<1)>>1]}v[b+131176>>2]=r;m=m+r|0;if(T>>>0>=x[a+26310>>1]){break s}e=x[a+26316>>1];k=x[(v[a+26352>>2]+(B(x[a+26320>>1],h>>>e|0)+(T>>>e|0)<<3)|0)+((I>>>((h<<1&14|o)<<1)&3)<<1)>>1];break s}r=0;v[b+131176>>2]=0;k=0}v[b+131180>>2]=k;e=j<<2;j=k+m|0;e=e-j|0;m=e>>31;m=m^e+m;v[b+131152>>2]=m;d=(d<<2)-j|0;e=d>>31;e=e^d+e;v[b+131156>>2]=e;d=(r<<2)-j|0;q=d>>31;K=q^d+q;v[b+131160>>2]=K;q=b+131152|0;N=e>>>0>m>>>0;m=v[(q|N<<2)>>2];d=(k<<2)-j|0;e=d>>31;e=e^d+e;v[b+131164>>2]=e;d=c;c=x[a+26316>>1];d=v[a+26352>>2]+(B(x[a+26320>>1],d>>>c|0)+(E>>>c|0)<<3)|0;c=(m|0)<(K|0)?2:N;F=+(j-v[(b+131168|((e|0)>v[(q|c<<2)>>2]?3:c)<<2)>>2]|0)/3+.5;t:{if(F<4294967296&F>=0){c=~~F>>>0;break t}c=0}u[d+2>>1]=c;c=h}n=x[a+26308>>1];if(c>>>0>>0){continue}break};break i;case 0:break j;default:break i}}j=(d&65535)-h|0;q=x[a+26308>>1];if(j>>>0>=q>>>0){break i}m=v[a+26028>>2];e=m>>>((j<<1&14|E&1)<<1)&3;n=((e|0)!=1)<<2;h=n|8;d=0;while(1){c=n<<1;o=j+t[c+196192|0]|0;k=0;u:{if(o>>>0>=q>>>0){break u}K=E+t[c+196193|0]|0;k=0;if(K>>>0>=N>>>0){break u}c=x[a+26316>>1];k=x[(v[a+26352>>2]+(B(x[a+26320>>1],o>>>c|0)+(K>>>c|0)<<3)|0)+((m>>>((o<<1&14|K&1)<<1)&3)<<1)>>1]}d=k+d|0;n=n+1|0;if((h|0)!=(n|0)){continue}break}c=x[a+26316>>1];u[(v[a+26352>>2]+(B(x[a+26320>>1],j>>>c|0)+(E>>>c|0)<<3)|0)+(e<<1)>>1]=d+4>>>3}c=i-8|0;if((i|0)>15){continue}break};break c;case 25:v[b+131104>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+131104|0,1,4)|0;v[b+131104>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+131104|0,1,4)|0;v[b+131104>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+131104|0,1,4)|0;c=w[b+131104|0];if(x[a+25204>>1]!=18761){i=w[b+131107|0]|(w[b+131105|0]<<16|c<<24|w[b+131106|0]<<8)}else{i=c|w[b+131105|0]<<8|w[b+131106|0]<<16|w[b+131107|0]<<24}v[b+131104>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+131104|0,1,4)|0;v[b+131104>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+131104|0,1,4)|0;c=w[b+131104|0];if(x[a+25204>>1]!=18761){d=w[b+131107|0]|(w[b+131105|0]<<16|c<<24|w[b+131106|0]<<8)}else{d=c|w[b+131105|0]<<8|w[b+131106|0]<<16|w[b+131107|0]<<24}v[b+131104>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+131104|0,1,4)|0;v[b+131104>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+131104|0,1,4)|0;c=w[b+131104|0];if(x[a+25204>>1]!=18761){c=w[b+131107|0]|(w[b+131105|0]<<16|c<<24|w[b+131106|0]<<8)}else{c=c|w[b+131105|0]<<8|w[b+131106|0]<<16|w[b+131107|0]<<24}v[b+131104>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+131104|0,1,4)|0;e=w[b+131104|0];if(x[a+25204>>1]!=18761){e=w[b+131107|0]|(w[b+131105|0]<<16|e<<24|w[b+131106|0]<<8)}else{e=e|w[b+131105|0]<<8|w[b+131106|0]<<16|w[b+131107|0]<<24}A=(l(2,d),p());v[b+131104>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+131104|0,1,4)|0;M=(l(2,e),p());d=w[b+131104|0];H=(l(2,i),p());O=(l(2,c),p());g=z[a+25200>>2];if(x[a+25204>>1]!=18761){c=w[b+131107|0]|(w[b+131105|0]<<16|d<<24|w[b+131106|0]<<8)}else{c=d|w[b+131105|0]<<8|w[b+131106|0]<<16|w[b+131107|0]<<24}M=C(C(C(C(g-(l(2,c),p()))*M)+C(1))+A);c=0;break e;case 18:Ub[v[v[a>>2]+8>>2]](v[a+4>>2],36,1)|0;u[b+131104>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+131104|0,1,2)|0;d=w[b+131104|0];c=f;if(x[a+25204>>1]==18761){d=d|w[b+131105|0]<<8}else{d=w[b+131105|0]|d<<8}d=(d&65535)-v[a+25196>>2]|0;i=d>>31;h=c;c=i^d+i;if((h|0)<=(c|0)){break c}J=(Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0)-38|0;f=c;break c;case 11:XI(a,0,4);break c;case 16:case 22:XI(a,0,2);break c;case 1:break h;default:break c}}XI(a,1,2);break c}d=c|w[b+131105|0]<<8|w[b+131106|0]<<16|w[b+131107|0]<<24}v[b+131104>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+131104|0,1,4)|0;c=w[b+131104|0];if(x[a+25204>>1]!=18761){c=w[b+131107|0]|(w[b+131105|0]<<16|c<<24|w[b+131106|0]<<8)}else{c=c|w[b+131105|0]<<8|w[b+131106|0]<<16|w[b+131107|0]<<24}v[b+131104>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+131104|0,1,4)|0;i=w[b+131104|0];if(x[a+25204>>1]!=18761){e=w[b+131107|0]|(w[b+131105|0]<<16|i<<24|w[b+131106|0]<<8)}else{e=i|w[b+131105|0]<<8|w[b+131106|0]<<16|w[b+131107|0]<<24}v[b+131104>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+131104|0,1,4)|0;i=w[b+131104|0];H=(l(2,d),p());O=(l(2,c),p());A=(l(2,e),p());if(x[a+25204>>1]!=18761){c=w[b+131107|0]|(w[b+131105|0]<<16|i<<24|w[b+131106|0]<<8)}else{c=i|w[b+131105|0]<<8|w[b+131106|0]<<16|w[b+131107|0]<<24}M=(l(2,c),p());c=0;while(1){i=(b+32|0)+(c<<1)|0;g=C(c|0);g=C(C(C(C(C(C(C(C(C(g*C(0))+M)*g)+A)*g)+O)*g)+H)+g);g=C(G(g=C(0)){d=~~g>>>0;break v}d=0}u[i>>1]=d;c=c+1|0;if((c|0)!=65536){continue}break}break d}while(1){i=(b+32|0)+(c<<1)|0;g=C(c|0);g=C(C(C(M+C(O*g))*g)+H);g=C(G(g=C(0)){d=~~g>>>0;break w}d=0}u[i>>1]=d;d=c|1;g=C(d|0);g=C(C(C(M+C(O*g))*g)+H);g=C(G(g=C(0)){i=~~g>>>0;break x}i=0}u[(b+32|0)+(d<<1)>>1]=i;c=c+2|0;if((c|0)!=65536){continue}break}}c=x[a+26308>>1];if(!c){break c}d=B(v[a+25192>>2],h&1);n=x[a+26310>>1];q=0;while(1){if(d>>>0<(n&65535)>>>0){m=q<<1&14;e=v[a+26028>>2];h=v[a+26352>>2];c=d;while(1){i=x[a+26316>>1];i=(h+(B(x[a+26320>>1],q>>>i|0)+(c>>>i|0)<<3)|0)+((e>>>((m|c&1)<<1)&3)<<1)|0;u[i>>1]=x[(b+32|0)+(x[i>>1]<<1)>>1];c=c+1|0;n=x[a+26310>>1];if(c>>>0>>0){continue}break}c=x[a+26308>>1]}q=q+1|0;if(q>>>0<(c&65535)>>>0){continue}break}}Ub[v[v[a>>2]+8>>2]](v[a+4>>2],U,0)|0;if(s){continue}break}if(!J){break b}Ub[v[v[a>>2]+8>>2]](v[a+4>>2],J,0)|0;v[b+131196>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+131196|0,1,4)|0;f=w[b+131196|0];c=b;if(x[a+25204>>1]==18761){d=f|w[b+131197|0]<<8}else{d=w[b+131199|0]|(f<<24|w[b+131198|0]<<8)}v[c+131104>>2]=d&32767;v[b+131196>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+131196|0,1,4)|0;f=w[b+131196|0];c=b;if(x[a+25204>>1]!=18761){d=w[b+131199|0]|(f<<24|w[b+131198|0]<<8)}else{d=f|w[b+131197|0]<<8}v[c+131108>>2]=d&32767;v[b+131196>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+131196|0,1,4)|0;f=w[b+131196|0];c=b;if(x[a+25204>>1]!=18761){d=w[b+131199|0]|(f<<24|w[b+131198|0]<<8)}else{d=f|w[b+131197|0]<<8}v[c+131112>>2]=d&32767;v[b+131196>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+131196|0,1,4)|0;f=w[b+131196|0];c=b;if(x[a+25204>>1]!=18761){d=w[b+131199|0]|(f<<24|w[b+131198|0]<<8)}else{d=f|w[b+131197|0]<<8}v[c+131116>>2]=d&32767;v[b+131196>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+131196|0,1,4)|0;f=w[b+131196|0];c=b;if(x[a+25204>>1]!=18761){d=w[b+131199|0]|(f<<24|w[b+131198|0]<<8)}else{d=f|w[b+131197|0]<<8}v[c+131120>>2]=d&32767;v[b+131196>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+131196|0,1,4)|0;f=w[b+131196|0];c=b;if(x[a+25204>>1]!=18761){d=w[b+131199|0]|(f<<24|w[b+131198|0]<<8)}else{d=f|w[b+131197|0]<<8}v[c+131124>>2]=d&32767;v[b+131196>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+131196|0,1,4)|0;f=w[b+131196|0];c=b;if(x[a+25204>>1]!=18761){d=w[b+131199|0]|(f<<24|w[b+131198|0]<<8)}else{d=f|w[b+131197|0]<<8}v[c+131128>>2]=d&32767;v[b+131196>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+131196|0,1,4)|0;f=w[b+131196|0];c=b;if(x[a+25204>>1]!=18761){d=w[b+131199|0]|(f<<24|w[b+131198|0]<<8)}else{d=f|w[b+131197|0]<<8}v[c+131132>>2]=d&32767;v[b+131196>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+131196|0,1,4)|0;f=w[b+131196|0];c=b;if(x[a+25204>>1]!=18761){d=w[b+131199|0]|(f<<24|w[b+131198|0]<<8)}else{d=f|w[b+131197|0]<<8}v[c+131136>>2]=d&32767;s=B(v[b+131120>>2],v[b+131112>>2]);i=v[b+131116>>2];o=v[b+131108>>2];e=B(i,o);y=bd(s+e|0,6);if(!y){break a}u[b+131196>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+131196|0,1,2)|0;c=0;if((e|0)>0){while(1){v[b+131196>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+131196|0,1,4)|0;d=w[b+131196|0];f=y+(c<<2)|0;if(x[a+25204>>1]==18761){d=d|w[b+131197|0]<<8|w[b+131198|0]<<16|w[b+131199|0]<<24}else{d=w[b+131199|0]|(w[b+131197|0]<<16|d<<24|w[b+131198|0]<<8)}v[f>>2]=d;c=c+1|0;if((e|0)!=(c|0)){continue}break}}h=y+(e<<2)|0;c=0;if((s|0)>0){while(1){v[b+131196>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+131196|0,1,4)|0;d=w[b+131196|0];f=h+(c<<2)|0;if(x[a+25204>>1]!=18761){d=w[b+131199|0]|(w[b+131197|0]<<16|d<<24|w[b+131198|0]<<8)}else{d=d|w[b+131197|0]<<8|w[b+131198|0]<<16|w[b+131199|0]<<24}v[f>>2]=d;c=c+1|0;if((s|0)!=(c|0)){continue}break}}J=h+(s<<2)|0;c=0;if((e|0)>0){while(1){u[b+131196>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+131196|0,1,2)|0;d=w[b+131196|0];f=J+(c<<1)|0;if(x[a+25204>>1]==18761){d=d|w[b+131197|0]<<8}else{d=w[b+131197|0]|d<<8}u[f>>1]=d;c=c+1|0;if((e|0)!=(c|0)){continue}break}}c=0;if((s|0)>0){d=J+(e<<1)|0;while(1){u[b+131196>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+131196|0,1,2)|0;h=w[b+131196|0];e=d+(c<<1)|0;if(x[a+25204>>1]!=18761){f=w[b+131197|0]|h<<8}else{f=h|w[b+131197|0]<<8}u[e>>1]=f;c=c+1|0;if((s|0)!=(c|0)){continue}break}}k=x[a+26308>>1];if(k){U=y-4|0;M=C(i|0);c=x[a+26310>>1];j=0;while(1){f=c&65535;c=0;if(f){K=j<<1&14;N=v[a+26028>>2];q=v[a+26352>>2];r=0;while(1){g=C(C(M*C(r>>>0))/C(x[a+26306>>1]));if(C(D(g))>1];i=(q+(B(x[a+26320>>1],j>>>c|0)+(r>>>c|0)<<3)|0)+((N>>>((K|r&1)<<1)&3)<<1)|0;H=C(+x[i>>1]*.5);y:{z:{A:{if((o|0)>=1){m=B(h,o);e=B(o,h+1|0);f=e-1|0;c=0;B:{C:{while(1){d=c+m|0;s=J+(d<<1)|0;if(H>1])){break C}c=c+1|0;if((o|0)!=(c|0)){continue}break}d=f;break B}if(!c){break B}if((c|0)!=(o|0)){break A}}c=d-1|0;g=C(0);break z}A=C(C(z[U>>2]*C(0))+z[y>>2]);g=A;break y}c=x[s>>1];g=C(C(c>>>0)-H);f=c;c=d-1|0;g=C(g/C(f-x[J+(c<<1)>>1]|0))}g=C(C(g*z[y+(c<<2)>>2])+C(C(C(1)-g)*z[y+(d<<2)>>2]));f=B(o,h+2|0)-1|0;c=0;D:{E:{F:{G:{while(1){d=c+e|0;h=J+(d<<1)|0;if(H>1])){break G}c=c+1|0;if((o|0)!=(c|0)){continue}break}d=f;break F}if(!c){break F}if((c|0)!=(o|0)){break E}}c=d-1|0;A=C(0);break D}c=x[h>>1];A=C(C(c>>>0)-H);f=c;c=d-1|0;A=C(A/C(f-x[J+(c<<1)>>1]|0))}A=C(C(A*z[y+(c<<2)>>2])+C(C(C(1)-A)*z[y+(d<<2)>>2]))}g=C(C(C(C(C(C(1)-O)*g)+C(O*A))*C(x[a+26312>>1]+j>>>0))+H);g=C(g+g);H:{if(C(D(g))>1]=(c|0)>0?c:0;c=x[a+26310>>1];r=r+1|0;if(c>>>0>r>>>0){continue}break}k=x[a+26308>>1]}j=j+1|0;if(j>>>0<(k&65535)>>>0){continue}break}}dc(y)}Qb=b+131200|0;return}f=v[a+190640>>2];I:{if(f){c=v[a+25208>>2];v[b+20>>2]=40728;v[b+16>>2]=c;zd(f,4338,b+16|0);break I}c=v[a+25208>>2];v[b+4>>2]=40728;v[b>>2]=c;wc(v[252391],4338,b)}sd(a+190484|0,1);L()}function dK(a){var 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;n=Qb-16|0;Qb=n;p=jc(120);a:{if(!p){p=0;break a}b=jc(12);b:{if(b){v[b+8>>2]=0;v[b>>2]=0;v[b+4>>2]=0;c:{d:{e:{d=jc(256);if(!d){a=v[b+8>>2];if(!a){break c}c=v[b>>2];if((c|0)<1){break d}while(1){d=v[a+4>>2];a=v[d>>2];v[d>>2]=a-1;if((a|0)<=1){a=v[v[d+8>>2]>>2];if(a){Ub[a|0](d)}dc(d);c=v[b>>2]}d=c-1|0;if((d|0)<=0){v[b>>2]=d;break e}a=v[b+8>>2];Wd(a,a+8|0,d<<3);a=v[b>>2];c=a-1|0;v[b>>2]=c;if((a|0)<2){break e}a=v[b+8>>2];continue}}v[b+4>>2]=32;v[b+8>>2]=d;v[p+112>>2]=b;k=ic(p,0,112);d=12147;c=v[a+8>>2];f:{if(c&7){break f}e=a;j=a;g:{l=a- -64|0;a=v[l>>2];if((a|0)>=0&(a|0)<=v[e+60>>2]){break g}a=e;b=v[a+28>>2];v[a+28>>2]=b-1;h:{if((b|0)>=1){v[e+60>>2]=v[e+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;i=w[b|0];break h}i=Hc(a,1);if((i|0)==-1){break f}c=v[j+8>>2]}if(c&7){break f}h=a;b=v[l>>2];if((b|0)>=0&(b|0)<=v[e+60>>2]){break g}b=v[h+28>>2];v[h+28>>2]=b-1;i:{if((b|0)>=1){v[e+60>>2]=v[e+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;f=w[b|0];break i}f=Hc(a,1);if((f|0)==-1){break f}c=v[j+8>>2]}if(c&7){break f}b=v[l>>2];if((b|0)>=0&(b|0)<=v[e+60>>2]){break g}b=v[h+28>>2];v[h+28>>2]=b-1;j:{if((b|0)>=1){v[e+60>>2]=v[e+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;m=w[b|0];break j}m=Hc(a,1);if((m|0)==-1){break f}c=v[j+8>>2]}if(c&7){break f}b=v[l>>2];if((b|0)>=0&(b|0)<=v[e+60>>2]){break g}c=v[h+28>>2];v[h+28>>2]=c-1;k:{if((c|0)>=1){v[e+60>>2]=v[e+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;c=w[c|0];break k}c=Hc(a,1);if((c|0)==-1){break f}}v[k>>2]=(f<<8|i<<16|m)<<8|c;c=v[j+8>>2];if(c&7){break f}l:{b=v[l>>2];if((b|0)>=0&(b|0)<=v[e+60>>2]){break l}b=v[h+28>>2];v[h+28>>2]=b-1;m:{if((b|0)>=1){v[e+60>>2]=v[e+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;i=w[b|0];break m}i=Hc(a,1);if((i|0)==-1){break f}c=v[j+8>>2]}if(c&7){break f}b=v[l>>2];if((b|0)>=0&(b|0)<=v[e+60>>2]){break l}b=v[h+28>>2];v[h+28>>2]=b-1;n:{if((b|0)>=1){v[e+60>>2]=v[e+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;f=w[b|0];break n}f=Hc(a,1);if((f|0)==-1){break f}c=v[j+8>>2]}if(c&7){break f}b=v[l>>2];if((b|0)>=0&(b|0)<=v[e+60>>2]){break l}b=v[h+28>>2];v[h+28>>2]=b-1;o:{if((b|0)>=1){v[e+60>>2]=v[e+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;m=w[b|0];break o}m=Hc(a,1);if((m|0)==-1){break f}c=v[j+8>>2]}if(c&7){break f}b=v[l>>2];if((b|0)>=0&(b|0)<=v[e+60>>2]){break l}c=v[h+28>>2];v[h+28>>2]=c-1;p:{if((c|0)>=1){v[e+60>>2]=v[e+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;c=w[c|0];break p}c=Hc(a,1);if((c|0)==-1){break f}}v[k+4>>2]=(f<<8|i<<16|m)<<8|c;c=v[j+8>>2];if(c&7){break f}q:{b=v[l>>2];if((b|0)>=0&(b|0)<=v[e+60>>2]){break q}b=v[h+28>>2];v[h+28>>2]=b-1;r:{if((b|0)>=1){v[e+60>>2]=v[e+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;i=w[b|0];break r}i=Hc(a,1);if((i|0)==-1){break f}c=v[j+8>>2]}if(c&7){break f}b=v[l>>2];if((b|0)>=0&(b|0)<=v[e+60>>2]){break q}b=v[h+28>>2];v[h+28>>2]=b-1;s:{if((b|0)>=1){v[e+60>>2]=v[e+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;f=w[b|0];break s}f=Hc(a,1);if((f|0)==-1){break f}c=v[j+8>>2]}if(c&7){break f}b=v[l>>2];if((b|0)>=0&(b|0)<=v[e+60>>2]){break q}b=v[h+28>>2];v[h+28>>2]=b-1;t:{if((b|0)>=1){v[e+60>>2]=v[e+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;m=w[b|0];break t}m=Hc(a,1);if((m|0)==-1){break f}c=v[j+8>>2]}if(c&7){break f}b=v[l>>2];if((b|0)>=0&(b|0)<=v[e+60>>2]){break q}c=v[h+28>>2];v[h+28>>2]=c-1;u:{if((c|0)>=1){v[e+60>>2]=v[e+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;c=w[c|0];break u}c=Hc(a,1);if((c|0)==-1){break f}}v[k+8>>2]=(f<<8|i<<16|m)<<8|c;c=v[j+8>>2];if(c&7){break f}v:{b=v[l>>2];if((b|0)>=0&(b|0)<=v[e+60>>2]){break v}b=v[h+28>>2];v[h+28>>2]=b-1;w:{if((b|0)>=1){v[e+60>>2]=v[e+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;i=w[b|0];break w}i=Hc(a,1);if((i|0)==-1){break f}c=v[j+8>>2]}if(c&7){break f}b=v[l>>2];if((b|0)>=0&(b|0)<=v[e+60>>2]){break v}b=v[h+28>>2];v[h+28>>2]=b-1;x:{if((b|0)>=1){v[e+60>>2]=v[e+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;f=w[b|0];break x}f=Hc(a,1);if((f|0)==-1){break f}c=v[j+8>>2]}if(c&7){break f}b=v[l>>2];if((b|0)>=0&(b|0)<=v[e+60>>2]){break v}b=v[h+28>>2];v[h+28>>2]=b-1;y:{if((b|0)>=1){v[e+60>>2]=v[e+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;m=w[b|0];break y}m=Hc(a,1);if((m|0)==-1){break f}c=v[j+8>>2]}if(c&7){break f}b=v[l>>2];if((b|0)>=0&(b|0)<=v[e+60>>2]){break v}c=v[h+28>>2];v[h+28>>2]=c-1;z:{if((c|0)>=1){v[e+60>>2]=v[e+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;c=w[c|0];break z}c=Hc(a,1);if((c|0)==-1){break f}}v[k+12>>2]=(f<<8|i<<16|m)<<8|c;if(wh(a,4,n+8|0)){break f}v[k+16>>2]=v[n+8>>2];if(wh(a,4,n+8|0)){break f}v[k+20>>2]=v[n+8>>2];g=Qb-16|0;Qb=g;c=-1;b=v[a+8>>2];A:{if(b&7){break A}B:{c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break B}c=-1;f=v[a+28>>2];v[a+28>>2]=f-1;C:{if((f|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;i=w[c|0];break C}i=Hc(a,1);if((i|0)==-1){break A}b=v[a+8>>2]}c=-1;if(b&7){break A}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break B}c=-1;b=v[a+28>>2];v[a+28>>2]=b-1;D:{if((b|0)>=1){v[a+60>>2]=v[a+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;b=w[b|0];break D}b=Hc(a,1);if((b|0)==-1){break A}}v[k+24>>2]=i<<8|b;b=v[a+8>>2];if(b&7){break A}E:{c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break E}c=-1;f=v[a+28>>2];v[a+28>>2]=f-1;F:{if((f|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;i=w[c|0];break F}i=Hc(a,1);if((i|0)==-1){break A}b=v[a+8>>2]}c=-1;if(b&7){break A}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break E}c=-1;b=v[a+28>>2];v[a+28>>2]=b-1;G:{if((b|0)>=1){v[a+60>>2]=v[a+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;b=w[b|0];break G}b=Hc(a,1);if((b|0)==-1){break A}}v[k+28>>2]=i<<8|b;b=v[a+8>>2];if(b&7){break A}H:{c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break H}c=-1;f=v[a+28>>2];v[a+28>>2]=f-1;I:{if((f|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;i=w[c|0];break I}i=Hc(a,1);if((i|0)==-1){break A}b=v[a+8>>2]}c=-1;if(b&7){break A}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break H}c=-1;b=v[a+28>>2];v[a+28>>2]=b-1;J:{if((b|0)>=1){v[a+60>>2]=v[a+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;b=w[b|0];break J}b=Hc(a,1);if((b|0)==-1){break A}}v[k+32>>2]=i<<8|b;b=v[a+8>>2];if(b&7){break A}K:{c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break K}c=-1;f=v[a+28>>2];v[a+28>>2]=f-1;L:{if((f|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;i=w[c|0];break L}i=Hc(a,1);if((i|0)==-1){break A}b=v[a+8>>2]}c=-1;if(b&7){break A}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break K}c=-1;b=v[a+28>>2];v[a+28>>2]=b-1;M:{if((b|0)>=1){v[a+60>>2]=v[a+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;b=w[b|0];break M}b=Hc(a,1);if((b|0)==-1){break A}}v[k+36>>2]=i<<8|b;b=v[a+8>>2];if(b&7){break A}N:{c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break N}c=-1;f=v[a+28>>2];v[a+28>>2]=f-1;O:{if((f|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;i=w[c|0];break O}i=Hc(a,1);if((i|0)==-1){break A}b=v[a+8>>2]}c=-1;if(b&7){break A}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break N}c=-1;b=v[a+28>>2];v[a+28>>2]=b-1;P:{if((b|0)>=1){v[a+60>>2]=v[a+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;b=w[b|0];break P}b=Hc(a,1);if((b|0)==-1){break A}}v[k+40>>2]=i<<8|b;if(wh(a,2,g+8|0)){break A}v[k+44>>2]=v[g+8>>2];c=0;break A}v[a+8>>2]=b|4;c=-1;break A}v[a+8>>2]=b|4;c=-1;break A}v[a+8>>2]=b|4;c=-1;break A}v[a+8>>2]=b|4;c=-1;break A}v[a+8>>2]=b|4;c=-1}Qb=g+16|0;if(c){break f}if(wh(a,4,n+8|0)){break f}v[k+48>>2]=v[n+8>>2];if(wh(a,4,n+8|0)){break f}v[k+52>>2]=v[n+8>>2];if(wh(a,4,n+8|0)){break f}v[k+56>>2]=v[n+8>>2];if(wh(a,4,n+8|0)){break f}v[k+60>>2]=v[n+8>>2];if(wh(a,4,n+8|0)){break f}v[k+64>>2]=v[n+8>>2];if(wh(a,8,n+8|0)){break f}c=v[n+12>>2];v[k+72>>2]=v[n+8>>2];v[k+76>>2]=c;if(wh(a,4,n+8|0)){break f}v[k+80>>2]=v[n+8>>2];b=-1;g=a;a=k+84|0;Q:{if(og(g,a)){break Q}if(og(g,a+4|0)){break Q}b=og(g,a+8|0)?-1:0}if(b){break f}if(wh(g,4,n+8|0)){break f}v[k+96>>2]=v[n+8>>2];if((bt(g,44)|0)!=44){break f}a=v[k+108>>2];if(a){dc(a);v[k+108>>2]=0}d=v[j+8>>2];R:{S:{if(d&7){break S}T:{a=v[l>>2];if((a|0)>=0&(a|0)<=v[e+60>>2]){break T}a=v[h+28>>2];v[h+28>>2]=a-1;U:{if((a|0)>=1){v[e+60>>2]=v[e+60>>2]+1;a=v[g+24>>2];v[g+24>>2]=a+1;c=w[a|0];break U}c=Hc(g,1);if((c|0)==-1){break S}d=v[j+8>>2]}if(d&7){break S}a=v[l>>2];if((a|0)>=0&(a|0)<=v[e+60>>2]){break T}a=v[h+28>>2];v[h+28>>2]=a-1;V:{if((a|0)>=1){v[e+60>>2]=v[e+60>>2]+1;a=v[g+24>>2];v[g+24>>2]=a+1;i=w[a|0];break V}i=Hc(g,1);if((i|0)==-1){break S}d=v[j+8>>2]}if(d&7){break S}a=v[l>>2];if((a|0)>=0&(a|0)<=v[e+60>>2]){break T}a=v[h+28>>2];v[h+28>>2]=a-1;W:{if((a|0)>=1){v[e+60>>2]=v[e+60>>2]+1;a=v[g+24>>2];v[g+24>>2]=a+1;f=w[a|0];break W}f=Hc(g,1);if((f|0)==-1){break S}d=v[j+8>>2]}if(d&7){break S}a=v[l>>2];if((a|0)>=0&(a|0)<=v[e+60>>2]){break T}a=v[h+28>>2];v[h+28>>2]=a-1;X:{if((a|0)>=1){v[e+60>>2]=v[e+60>>2]+1;a=v[g+24>>2];v[g+24>>2]=a+1;d=w[a|0];break X}d=Hc(g,1);if((d|0)==-1){break S}}a=(i<<8|c<<16|f)<<8|d;v[k+104>>2]=a;c=jc(B(a,20));v[k+108>>2]=c;if(!c){break R}d=v[k+104>>2];if((d|0)>=1){i=0;while(1){d=v[j+8>>2];if(d&7){break S}a=v[l>>2];if((a|0)>=0&(a|0)<=v[e+60>>2]){break T}a=v[h+28>>2];v[h+28>>2]=a-1;Y:{if((a|0)>=1){v[e+60>>2]=v[e+60>>2]+1;a=v[g+24>>2];v[g+24>>2]=a+1;f=w[a|0];break Y}f=Hc(g,1);if((f|0)==-1){break S}d=v[j+8>>2]}if(d&7){break S}a=v[l>>2];if((a|0)>=0&(a|0)<=v[e+60>>2]){break T}a=v[h+28>>2];v[h+28>>2]=a-1;Z:{if((a|0)>=1){v[e+60>>2]=v[e+60>>2]+1;a=v[g+24>>2];v[g+24>>2]=a+1;m=w[a|0];break Z}m=Hc(g,1);if((m|0)==-1){break S}d=v[j+8>>2]}if(d&7){break S}a=v[l>>2];if((a|0)>=0&(a|0)<=v[e+60>>2]){break T}a=v[h+28>>2];v[h+28>>2]=a-1;_:{if((a|0)>=1){v[e+60>>2]=v[e+60>>2]+1;a=v[g+24>>2];v[g+24>>2]=a+1;o=w[a|0];break _}o=Hc(g,1);if((o|0)==-1){break S}d=v[j+8>>2]}if(d&7){break S}a=v[l>>2];if((a|0)>=0&(a|0)<=v[e+60>>2]){break T}a=v[h+28>>2];v[h+28>>2]=a-1;$:{if((a|0)>=1){v[e+60>>2]=v[e+60>>2]+1;a=v[g+24>>2];v[g+24>>2]=a+1;d=w[a|0];break $}d=Hc(g,1);if((d|0)==-1){break S}}v[c>>2]=(m<<8|f<<16|o)<<8|d;d=v[j+8>>2];if(d&7){break S}a=v[l>>2];if((a|0)>=0&(a|0)<=v[e+60>>2]){break T}a=v[h+28>>2];v[h+28>>2]=a-1;aa:{if((a|0)>=1){v[e+60>>2]=v[e+60>>2]+1;a=v[g+24>>2];v[g+24>>2]=a+1;f=w[a|0];break aa}f=Hc(g,1);if((f|0)==-1){break S}d=v[j+8>>2]}if(d&7){break S}a=v[l>>2];if((a|0)>=0&(a|0)<=v[e+60>>2]){break T}a=v[h+28>>2];v[h+28>>2]=a-1;ba:{if((a|0)>=1){v[e+60>>2]=v[e+60>>2]+1;a=v[g+24>>2];v[g+24>>2]=a+1;m=w[a|0];break ba}m=Hc(g,1);if((m|0)==-1){break S}d=v[j+8>>2]}if(d&7){break S}a=v[l>>2];if((a|0)>=0&(a|0)<=v[e+60>>2]){break T}a=v[h+28>>2];v[h+28>>2]=a-1;ca:{if((a|0)>=1){v[e+60>>2]=v[e+60>>2]+1;a=v[g+24>>2];v[g+24>>2]=a+1;o=w[a|0];break ca}o=Hc(g,1);if((o|0)==-1){break S}d=v[j+8>>2]}if(d&7){break S}a=v[l>>2];if((a|0)>=0&(a|0)<=v[e+60>>2]){break T}a=v[h+28>>2];v[h+28>>2]=a-1;da:{if((a|0)>=1){v[e+60>>2]=v[e+60>>2]+1;a=v[g+24>>2];v[g+24>>2]=a+1;d=w[a|0];break da}d=Hc(g,1);if((d|0)==-1){break S}}v[c+4>>2]=(m<<8|f<<16|o)<<8|d;d=v[j+8>>2];if(d&7){break S}a=v[l>>2];if((a|0)>=0&(a|0)<=v[e+60>>2]){break T}a=v[h+28>>2];v[h+28>>2]=a-1;ea:{if((a|0)>=1){v[e+60>>2]=v[e+60>>2]+1;a=v[g+24>>2];v[g+24>>2]=a+1;f=w[a|0];break ea}f=Hc(g,1);if((f|0)==-1){break S}d=v[j+8>>2]}if(d&7){break S}a=v[l>>2];if((a|0)>=0&(a|0)<=v[e+60>>2]){break T}a=v[h+28>>2];v[h+28>>2]=a-1;fa:{if((a|0)>=1){v[e+60>>2]=v[e+60>>2]+1;a=v[g+24>>2];v[g+24>>2]=a+1;m=w[a|0];break fa}m=Hc(g,1);if((m|0)==-1){break S}d=v[j+8>>2]}if(d&7){break S}a=v[l>>2];if((a|0)>=0&(a|0)<=v[e+60>>2]){break T}a=v[h+28>>2];v[h+28>>2]=a-1;ga:{if((a|0)>=1){v[e+60>>2]=v[e+60>>2]+1;a=v[g+24>>2];v[g+24>>2]=a+1;o=w[a|0];break ga}o=Hc(g,1);if((o|0)==-1){break S}d=v[j+8>>2]}if(d&7){break S}a=v[l>>2];if((a|0)>=0&(a|0)<=v[e+60>>2]){break T}a=v[h+28>>2];v[h+28>>2]=a-1;ha:{if((a|0)>=1){v[e+60>>2]=v[e+60>>2]+1;a=v[g+24>>2];v[g+24>>2]=a+1;d=w[a|0];break ha}d=Hc(g,1);if((d|0)==-1){break S}}v[c+8>>2]=(m<<8|f<<16|o)<<8|d;c=c+20|0;d=v[k+104>>2];i=i+1|0;if((d|0)>(i|0)){continue}break}c=v[k+108>>2]}Pk(c,d,20,620);r=v[k+104>>2];if((r|0)<1){break a}c=B(r,12)+132|0;o=0;d=0;a=0;i=0;ia:{ja:{ka:{while(1){la:{q=v[k+108>>2]+B(o,20)|0;b=v[q+4>>2];ma:{if((i|0)==(b|0)){if(!d){d=0;break ma}v[d>>2]=v[d>>2]+1;if(cK(k,v[q>>2],d)){break la}a=v[d>>2];v[d>>2]=a-1;if((a|0)>1){a=d;break ma}a=v[v[d+8>>2]>>2];if(a){Ub[a|0](d)}dc(d);a=d;break ma}na:{oa:{d=b-c|0;pa:{if((d|0)>=1){if((bt(g,d)|0)==(d|0)){break pa}break ja}b=c;if((d|0)<=-1){break oa}}d=v[j+8>>2];if(d&7){break ja}c=v[l>>2];if((c|0)>=0&(c|0)<=v[e+60>>2]){break ka}c=v[h+28>>2];v[h+28>>2]=c-1;qa:{if((c|0)>=1){v[e+60>>2]=v[e+60>>2]+1;c=v[g+24>>2];v[g+24>>2]=c+1;c=w[c|0];break qa}c=Hc(g,1);if((c|0)==-1){break ja}d=v[j+8>>2]}if(d&7){break ja}f=v[l>>2];if((f|0)>=0&(f|0)<=v[e+60>>2]){break ka}f=v[h+28>>2];v[h+28>>2]=f-1;ra:{if((f|0)>=1){v[e+60>>2]=v[e+60>>2]+1;f=v[g+24>>2];v[g+24>>2]=f+1;i=w[f|0];break ra}i=Hc(g,1);if((i|0)==-1){break ja}d=v[j+8>>2]}if(d&7){break ja}f=v[l>>2];if((f|0)>=0&(f|0)<=v[e+60>>2]){break ka}f=v[h+28>>2];v[h+28>>2]=f-1;sa:{if((f|0)>=1){v[e+60>>2]=v[e+60>>2]+1;f=v[g+24>>2];v[g+24>>2]=f+1;m=w[f|0];break sa}m=Hc(g,1);if((m|0)==-1){break ja}d=v[j+8>>2]}if(d&7){break ja}f=v[l>>2];if((f|0)>=0&(f|0)<=v[e+60>>2]){break ka}d=v[h+28>>2];v[h+28>>2]=d-1;ta:{if((d|0)>=1){v[e+60>>2]=v[e+60>>2]+1;d=v[g+24>>2];v[g+24>>2]=d+1;d=w[d|0];break ta}d=Hc(g,1);if((d|0)==-1){break ja}}if((bt(g,4)|0)==4){break na}break ja}ia();L()}ua:{va:{f=v[257036];if(f){m=(c<<16|i<<8|m)<<8|d;i=1028144;d=f;c=1028144;while(1){if((d|0)==(m|0)){break va}d=v[c+28>>2];c=c+28|0;if(d){continue}break}}c=b+8|0;d=0;break ua}while(1){if((f|0)!=(m|0)){f=v[i+28>>2];i=i+28|0;if(f){continue}break b}break}d=jc(108);if(!d){break b}v[d+4>>2]=m;v[d>>2]=1;v[d+8>>2]=i+4;ic(d+12|0,0,96);a=v[q+8>>2];if(Ub[v[i+12>>2]](d,g,a-8|0)|0){break la}if(cK(k,v[q>>2],d)){break la}f=v[d>>2];v[d>>2]=f-1;c=a+b|0;a=0;if((f|0)>1){break ua}f=v[v[d+8>>2]>>2];if(f){Ub[f|0](d)}dc(d)}i=b}o=o+1|0;if((r|0)!=(o|0)){continue}break a}break}a=d;Bm(k);break ia}v[j+8>>2]=d|4}Bm(k);if(a){break ia}p=0;break a}d=v[a>>2];v[a>>2]=d-1;p=0;if((d|0)>1){break a}d=v[v[a+8>>2]>>2];if(d){Ub[d|0](a)}dc(a);break a}v[j+8>>2]=d|4}c=v[k+108>>2]}d=14827;if(!c){break f}dc(c);v[k+108>>2]=0;break f}v[j+8>>2]=c|4;break f}v[j+8>>2]=c|4;break f}v[j+8>>2]=c|4;break f}v[j+8>>2]=c|4}Sc(d,0);break b}a=v[b+8>>2]}dc(a)}dc(b)}v[p+112>>2]=0}Bm(p);p=0}Qb=n+16|0;return p}function pY(a,b){var c=0,d=C(0),e=0,f=C(0),g=C(0),h=C(0),i=0,j=0,k=C(0),l=C(0),m=0,n=0,o=C(0),p=C(0),q=C(0),r=C(0),s=C(0),u=C(0),x=0,y=0,A=0,E=C(0),F=C(0),G=C(0),H=C(0),I=C(0),J=C(0),K=0,M=0,N=0,Q=0,V=C(0),W=C(0),X=0,Z=C(0),_=C(0),$=C(0),aa=C(0);n=Qb-32|0;Qb=n;v[a+2928>>2]=4;if(b){a:{m=Qb-16|0;Qb=m;K=a+208|0;j=aH(m,K);b=v[j>>2];e=v[b+36>>2];d=z[e+28>>2];i=v[b+12>>2];g=z[i+28>>2];k=z[e+12>>2];h=z[e+4>>2];c=v[b>>2];f=z[c+28>>2];l=z[c+4>>2];r=z[i+4>>2];u=z[c+12>>2];s=C(z[c+24>>2]+z[e>>2]);z[i+8>>2]=C(C(C(C(C(C(z[c+8>>2]+z[i>>2])*C(6))-C(z[c>>2]*C(4)))-C(s+s))+C(C(z[e+8>>2]+z[i+24>>2])*C(3)))-z[e+24>>2])*C(.1111111119389534);h=C(f+h);z[i+12>>2]=C(C(C(C(C(C(u+r)*C(6))-C(l*C(4)))-C(h+h))+C(C(k+g)*C(3)))-d)*C(.1111111119389534);e=v[b+36>>2];d=z[e+4>>2];i=v[b+12>>2];g=z[i+4>>2];k=z[e+20>>2];c=v[b>>2];h=z[c+4>>2];f=z[e+28>>2];l=z[c+28>>2];r=z[i+28>>2];u=z[c+20>>2];s=C(z[c>>2]+z[e+24>>2]);z[i+16>>2]=C(C(C(C(C(C(z[c+16>>2]+z[i+24>>2])*C(6))-C(z[c+24>>2]*C(4)))-C(s+s))+C(C(z[e+16>>2]+z[i>>2])*C(3)))-z[e>>2])*C(.1111111119389534);h=C(h+f);z[i+20>>2]=C(C(C(C(C(C(u+r)*C(6))-C(l*C(4)))-C(h+h))+C(C(k+g)*C(3)))-d)*C(.1111111119389534);e=v[b>>2];d=z[e+28>>2];i=v[b+24>>2];g=z[i+28>>2];k=z[e+12>>2];h=z[e+4>>2];c=v[b+36>>2];f=z[c+28>>2];l=z[c+4>>2];r=z[i+4>>2];u=z[c+12>>2];s=C(z[c+24>>2]+z[e>>2]);z[i+8>>2]=C(C(C(C(C(C(z[c+8>>2]+z[i>>2])*C(6))-C(z[c>>2]*C(4)))-C(s+s))+C(C(z[e+8>>2]+z[i+24>>2])*C(3)))-z[e+24>>2])*C(.1111111119389534);h=C(f+h);z[i+12>>2]=C(C(C(C(C(C(u+r)*C(6))-C(l*C(4)))-C(h+h))+C(C(k+g)*C(3)))-d)*C(.1111111119389534);e=v[b>>2];d=z[e+4>>2];i=v[b+24>>2];g=z[i+4>>2];k=z[e+20>>2];c=v[b+36>>2];h=z[c+4>>2];f=z[e+28>>2];l=z[c+28>>2];r=z[i+28>>2];u=z[c+20>>2];s=C(z[c>>2]+z[e+24>>2]);z[i+16>>2]=C(C(C(C(C(C(z[c+16>>2]+z[i+24>>2])*C(6))-C(z[c+24>>2]*C(4)))-C(s+s))+C(C(z[e+16>>2]+z[i>>2])*C(3)))-z[e>>2])*C(.1111111119389534);h=C(h+f);z[i+20>>2]=C(C(C(C(C(C(u+r)*C(6))-C(l*C(4)))-C(h+h))+C(C(k+g)*C(3)))-d)*C(.1111111119389534);b:{if((j|0)!=(K|0)){e=v[j+4>>2];v[299999]=0;U(2465,K|0,b|0,e|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}}b=v[j>>2];if(b){e=v[j+4>>2];if((b|0)==(e|0)){e=b}else{while(1){i=e-12|0;c=v[i>>2];if(c){v[e-8>>2]=c;dc(c)}e=i;if((b|0)!=(e|0)){continue}break}e=v[j>>2]}v[j+4>>2]=b;dc(e)}Qb=m+16|0;break a}a=P()|0;O()|0;Vh(j);T(a|0);L()}}b=a;m=b;c=v[b+208>>2];e=v[c+36>>2];d=z[e+28>>2];g=z[e+20>>2];k=z[e+12>>2];h=z[e+4>>2];i=v[c+24>>2];f=z[i+28>>2];l=z[i+20>>2];r=z[i+12>>2];u=z[i+4>>2];j=v[c+12>>2];s=z[j+28>>2];E=z[j+20>>2];F=z[j+12>>2];G=z[j+4>>2];c=v[c>>2];H=z[c+28>>2];I=z[c+20>>2];J=z[c+12>>2];q=z[c+4>>2];o=qo?l:o;o=f>o?f:o;o=h>o?h:o;o=k>o?k:o;o=g>o?g:o;J=q>J?J:q;I=Ih?h:f;k=h>k?k:h;g=go?d:o)-(d>2];g=z[e+16>>2];k=z[e+8>>2];h=z[e>>2];f=z[i+24>>2];l=z[i+16>>2];r=z[i+8>>2];u=z[i>>2];s=z[j+24>>2];E=z[j+16>>2];F=z[j+8>>2];G=z[j>>2];H=z[c+24>>2];I=z[c+16>>2];J=z[c+8>>2];q=z[c>>2];p=qp?l:p;p=f>p?f:p;p=h>p?h:p;p=k>p?k:p;p=g>p?g:p;J=q>J?J:q;I=Ih?h:f;k=h>k?k:h;g=gp?d:p)-(dC(1)?d:C(1);c:{if(d=C(0)){e=~~d>>>0;break c}e=0}v[m+2948>>2]=e;g=C(0);i=v[a+2928>>2];d:{if(!i){k=C(0);break d}j=v[a+208>>2];c=0;k=C(0);while(1){d=z[(c<<2)+466280>>2];m=v[j+B(c,12)>>2];b=0;while(1){K=m+(b<<3)|0;h=z[(b<<2)+466280>>2];g=C(g+C(C(d*z[K+4>>2])*h));k=C(k+C(C(d*z[K>>2])*h));b=b+1|0;if((i|0)!=(b|0)){continue}break}c=c+1|0;if((i|0)!=(c|0)){continue}break}}z[a+2944>>2]=g;z[a+2940>>2]=g;z[a+2936>>2]=k;z[a+2932>>2]=k;v[n+8>>2]=0;v[n>>2]=0;v[n+4>>2]=0;e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{if(e){if(e>>>0>=1073741824){v[299999]=0;R(2185,n|0);a=v[299999];v[299999]=0;if((a|0)==1){break o}break g}v[299999]=0;i=e<<2;b=S(1,i|0)|0;j=v[299999];v[299999]=0;if((j|0)==1){break o}v[n>>2]=b;j=b+i|0;v[n+8>>2]=j;ic(b,0,i);v[n+4>>2]=j}v[299999]=0;j=Y(2460,n+16|0,e|0,n|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break k}b=v[a+2916>>2];if(!b){break l}e=v[a+2920>>2];if((b|0)!=(e|0)){break n}e=b;break m}e=P()|0;O()|0;a=v[n>>2];if(!a){break h}v[n+4>>2]=a;dc(a);break h}while(1){i=e-12|0;c=v[i>>2];if(c){v[e-8>>2]=c;dc(c)}e=i;if((b|0)!=(e|0)){continue}break}e=v[a+2916>>2]}v[a+2920>>2]=b;dc(e);v[a+2924>>2]=0;v[a+2916>>2]=0;v[a+2920>>2]=0}v[a+2916>>2]=v[j>>2];v[a+2920>>2]=v[j+4>>2];v[a+2924>>2]=v[j+8>>2];v[j+8>>2]=0;v[j>>2]=0;v[j+4>>2]=0;b=v[n>>2];if(b){v[n+4>>2]=b;dc(b)}d=z[a+2936>>2];c=v[a+208>>2];j=v[c>>2];h=z[j>>2];if(d>2]=h;d=h}b=a+2944|0;g=z[b>>2];f=z[j+4>>2];if(g>2]=f;g=f}e=a+2932|0;k=z[e>>2];if(h>2]=h;k=h}i=a+2940|0;h=z[i>>2];if(f>2]=f;h=f}f=z[j+8>>2];if(f>d){z[a+2936>>2]=f;d=f}l=z[j+12>>2];if(l>g){z[b>>2]=l;g=l}if(f>2]=f;k=f}if(h>l){z[i>>2]=l;h=l}f=z[j+16>>2];if(f>d){z[a+2936>>2]=f;d=f}l=z[j+20>>2];if(l>g){z[b>>2]=l;g=l}if(f>2]=f;k=f}if(h>l){z[i>>2]=l;h=l}f=z[j+24>>2];if(f>d){z[a+2936>>2]=f;d=f}l=g;g=z[j+28>>2];if(l>2]=g}if(f>2]=f}if(g>2]=g}j=v[c+12>>2];h=z[j>>2];if(h>d){z[a+2936>>2]=h;d=h}g=z[b>>2];f=z[j+4>>2];if(g>2]=f;g=f}k=z[e>>2];if(h>2]=h;k=h}h=z[i>>2];if(f>2]=f;h=f}f=z[j+8>>2];if(f>d){z[a+2936>>2]=f;d=f}l=z[j+12>>2];if(l>g){z[b>>2]=l;g=l}if(f>2]=f;k=f}if(h>l){z[i>>2]=l;h=l}f=z[j+16>>2];if(f>d){z[a+2936>>2]=f;d=f}l=z[j+20>>2];if(l>g){z[b>>2]=l;g=l}if(f>2]=f;k=f}if(h>l){z[i>>2]=l;h=l}f=z[j+24>>2];if(f>d){z[a+2936>>2]=f;d=f}l=g;g=z[j+28>>2];if(l>2]=g}if(f>2]=f}if(g>2]=g}j=v[c+24>>2];h=z[j>>2];if(h>d){z[a+2936>>2]=h;d=h}g=z[b>>2];f=z[j+4>>2];if(g>2]=f;g=f}k=z[e>>2];if(h>2]=h;k=h}h=z[i>>2];if(f>2]=f;h=f}f=z[j+8>>2];if(f>d){z[a+2936>>2]=f;d=f}l=z[j+12>>2];if(l>g){z[b>>2]=l;g=l}if(f>2]=f;k=f}if(h>l){z[i>>2]=l;h=l}f=z[j+16>>2];if(f>d){z[a+2936>>2]=f;d=f}l=z[j+20>>2];if(l>g){z[b>>2]=l;g=l}if(f>2]=f;k=f}if(h>l){z[i>>2]=l;h=l}f=z[j+24>>2];if(f>d){z[a+2936>>2]=f;d=f}l=g;g=z[j+28>>2];if(l>2]=g}if(f>2]=f}if(g>2]=g}j=v[c+36>>2];h=z[j>>2];if(h>d){z[a+2936>>2]=h;d=h}g=z[b>>2];f=z[j+4>>2];if(g>2]=f;g=f}k=z[e>>2];if(h>2]=h;k=h}h=z[i>>2];if(f>2]=f;h=f}f=z[j+8>>2];if(f>d){z[a+2936>>2]=f;d=f}l=z[j+12>>2];if(l>g){z[b>>2]=l;g=l}if(f>2]=f;k=f}if(h>l){z[i>>2]=l;h=l}f=z[j+16>>2];if(f>d){z[a+2936>>2]=f;d=f}l=z[j+20>>2];if(l>g){z[b>>2]=l;g=l}if(f>2]=f;k=f}if(h>l){z[i>>2]=l;h=l}f=d;d=z[j+24>>2];if(f>2]=d}f=g;g=z[j+28>>2];if(f>2]=g}if(d>2]=d}if(g>2]=g}d=C(z[a+336>>2]-z[a+332>>2]);g=C(z[a+344>>2]-z[a+340>>2]);d=d>g?d:g;if(!(C(D(d))>2];if(!a){break h}break f}b=-2147483648}b=(b|0)>1?b:1;v[a+2948>>2]=b;v[n+8>>2]=0;v[n>>2]=0;v[n+4>>2]=0;p:{if(b>>>0<=1073741823){v[299999]=0;i=b<<2;e=S(1,i|0)|0;j=v[299999];v[299999]=0;if((j|0)==1){break p}v[n>>2]=e;j=e+i|0;v[n+8>>2]=j;ic(e,0,i);v[299999]=0;v[n+4>>2]=j;j=Y(2460,n+16|0,b|0,n|0)|0;b=v[299999];v[299999]=0;q:{r:{s:{if((b|0)!=1){b=v[a+2916>>2];if(b){e=v[a+2920>>2];if((b|0)==(e|0)){e=b}else{while(1){i=e-12|0;c=v[i>>2];if(c){v[e-8>>2]=c;dc(c)}e=i;if((b|0)!=(e|0)){continue}break}e=v[a+2916>>2]}v[a+2920>>2]=b;dc(e);v[a+2924>>2]=0;v[a+2916>>2]=0;v[a+2920>>2]=0}v[a+2916>>2]=v[j>>2];v[a+2920>>2]=v[j+4>>2];v[a+2924>>2]=v[j+8>>2];v[j+8>>2]=0;v[j>>2]=0;v[j+4>>2]=0;b=v[n>>2];if(b){v[n+4>>2]=b;dc(b)}m=v[a+2948>>2];v[n+24>>2]=0;v[n+16>>2]=0;v[n+20>>2]=0;b=m+1|0;if(b>>>0>=m>>>0){t:{u:{if(b>>>0>=536870912){v[299999]=0;R(2185,n+16|0);a=v[299999];v[299999]=0;if((a|0)!=1){break g}break u}v[299999]=0;e=b<<3;b=S(1,e|0)|0;i=v[299999];v[299999]=0;if((i|0)!=1){break t}}e=P()|0;O()|0;a=v[n+16>>2];if(!a){break h}break e}v[n+16>>2]=b;i=b+e|0;v[n+24>>2]=i;ic(b,0,e);v[n+20>>2]=i;if(!m){break r}}W=C(C(1)/C(m>>>0));_=C(W*C(.5));l=C(0);v:{while(1){v[n+8>>2]=0;v[n>>2]=0;v[n+4>>2]=0;b=0;e=0;w:{i=m+1|0;if(i>>>0>>0){break w}if(i>>>0>=536870912){v[299999]=0;R(2185,n|0);a=v[299999];v[299999]=0;if((a|0)!=1){break g}e=P()|0;O()|0;a=v[n>>2];if(!a){break v}v[n+4>>2]=a;dc(a);break v}v[299999]=0;i=i<<3;b=S(1,i|0)|0;e=v[299999];v[299999]=0;if((e|0)!=1){v[n>>2]=b;e=b+i|0;v[n+8>>2]=e;ic(b,0,i);v[n+4>>2]=e;break w}e=P()|0;O()|0;break v}h=C(W+l);if(m){u=C(h*C(h*h));d=C(_+l);s=C(d*C(d*d));g=C(C(1)-h);E=C(g*C(g*g));k=C(h*C(3));F=C(g*C(g*k));G=C(g*C(h*k));g=C(C(1)-d);H=C(g*C(g*g));k=C(d*C(3));I=C(g*C(g*k));J=C(g*C(d*k));$=C(C(1)-l);r=C(0);K=0;while(1){x:{if(!(K?X:0)){A=v[a+208>>2];g=C(0);k=C(0);e=v[a+2928>>2];if(e){d=C(_+r);f=C(d*C(d*d));g=C(C(1)-d);q=C(g*C(g*g));p=C(d*C(3));o=C(g*C(g*p));p=C(g*C(d*p));i=0;g=C(0);while(1){j=v[B(i,12)+A>>2];b=0;while(1){d=H;y:{z:{switch(i-1|0){case 0:d=I;break y;case 1:d=J;break y;case 2:break z;default:break y}}d=s}c=j+(b<<3)|0;V=C(d*z[c+4>>2]);Z=C(d*z[c>>2]);d=q;A:{B:{switch(b-1|0){case 0:d=o;break A;case 1:d=p;break A;case 2:break B;default:break A}}d=f}k=C(k+C(V*d));g=C(g+C(Z*d));b=b+1|0;if((e|0)!=(b|0)){continue}break}i=i+1|0;if((i|0)!=(e|0)){continue}break}}d=z[a+2940>>2];f=C(k-d);k=C(m-1>>>0);d=C(C(f*k)/C(z[a+2944>>2]-d));C:{if(d=C(0)){i=~~d>>>0;break C}i=0}d=z[a+2932>>2];d=C(C(C(g-d)*k)/C(z[a+2936>>2]-d));if(d=C(0)){j=~~d>>>0;break x}j=0;break x}b=v[n+16>>2]+(K<<3)|0;i=v[b+4>>2];A=v[a+208>>2];e=v[a+2928>>2];j=v[b>>2]}f=C(W+r);g=C(0);k=C(0);if(e){q=C(f*C(f*f));d=C(C(1)-f);o=C(d*C(d*d));V=C(f*C(3));p=C(d*C(d*V));V=C(d*C(f*V));c=0;while(1){Q=v[B(c,12)+A>>2];b=0;while(1){d=E;D:{E:{switch(c-1|0){case 0:d=F;break D;case 1:d=G;break D;case 2:break E;default:break D}}d=u}y=Q+(b<<3)|0;Z=C(d*z[y+4>>2]);aa=C(d*z[y>>2]);d=o;F:{G:{switch(b-1|0){case 0:d=p;break F;case 1:d=V;break F;case 2:break G;default:break F}}d=q}k=C(k+C(Z*d));g=C(g+C(aa*d));b=b+1|0;if((e|0)!=(b|0)){continue}break}c=c+1|0;if((c|0)!=(e|0)){continue}break}}q=z[a+2936>>2];d=z[a+2932>>2];K=K+1|0;e=v[n>>2]+(K<<3)|0;c=e;p=k;k=z[a+2940>>2];o=C(m-1>>>0);k=C(C(C(p-k)*o)/C(z[a+2944>>2]-k));H:{if(k=C(0)){b=~~k>>>0;break H}b=0}v[c+4>>2]=b;c=e;d=C(C(C(g-d)*o)/C(q-d));I:{if(d=C(0)){e=~~d>>>0;break I}e=0}v[c>>2]=e;d=C($*r);Q=v[a+220>>2];c=v[Q+12>>2];m=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);g=C(d*C(m>>>24>>>0));J:{if(C(D(g))0?A:0;g=C(l*r);A=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);k=C(g*C(A>>>24>>>0));K:{if(C(D(k))0?c:0)|0;c=c>>>0<255?c:255;x=(c|0)>0?c:0;r=C(C(1)-r);k=C(l*r);c=v[Q>>2];Q=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);q=C(k*C(Q>>>24>>>0));L:{if(C(D(q))0?y:0)|0;N=M>>>0<255;M=N?M:255;N=(M|0)>0;r=C($*r);y=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);q=C(r*C(y>>>24>>>0));M:{if(C(D(q))0;M=(N?M:0)+(c?x:0)|0;N=M>>>0<255;M=N?M:255;q=C(d*C((m>>>16&255)>>>0));N:{if(C(D(q))0?c:0;q=C(g*C((A>>>16&255)>>>0));O:{if(C(D(q))0?c:0)|0;c=c>>>0<255?c:255;x=(c|0)>0?c:0;q=C(k*C((Q>>>16&255)>>>0));P:{if(C(D(q))0?c:0)|0;c=c>>>0<255?c:255;x=(c|0)>0?c:0;q=C(r*C((y>>>16&255)>>>0));Q:{if(C(D(q))0?c:0)|0;N=c>>>0<255?c:255;c=(N|0)>0;M=((M|0)>0?M:0)<<24;N=(c?N:0)<<16;q=C(d*C((m>>>8&255)>>>0));R:{if(C(D(q))0?c:0;q=C(g*C((A>>>8&255)>>>0));S:{if(C(D(q))0?c:0)|0;c=c>>>0<255?c:255;x=(c|0)>0?c:0;q=C(k*C((Q>>>8&255)>>>0));T:{if(C(D(q))0?c:0)|0;c=c>>>0<255?c:255;x=(c|0)>0?c:0;q=C(r*C((y>>>8&255)>>>0));U:{if(C(D(q))0?c:0)|0;c=c>>>0<255?c:255;x=(c|0)>0?c:0;d=C(d*C((m&255)>>>0));V:{if(C(D(d))0?c:0;x=M|N|x<<8;d=C(g*C((A&255)>>>0));W:{if(C(D(d))0?m:0)+c|0;m=m>>>0<255?m:255;c=(m|0)>0?m:0;d=C(k*C((Q&255)>>>0));X:{if(C(D(d))0?m:0)|0;m=m>>>0<255?m:255;A=(m|0)>0?m:0;d=C(r*C((y&255)>>>0));Y:{if(C(D(d))0?c:0)|0;c=c>>>0<255?c:255;m=x|((c|0)>0?c:0);A=(e|0)>(j|0)?e:j;c=(e|0)<(j|0)?e:j;while(1){e=(b|0)<(i|0)?b:i;while(1){j=e;e=v[a+2948>>2];if(!(e>>>0<=c>>>0|e>>>0<=j>>>0)){e=v[v[a+2916>>2]+B(c,12)>>2]+(j<<2)|0;t[e|0]=m;t[e+1|0]=m>>>8;t[e+2|0]=m>>>16;t[e+3|0]=m>>>24}e=j+1|0;if((j|0)<(((b|0)>(i|0)?b:i)|0)){continue}break}e=(c|0)==(A|0);c=c+1|0;if(!e){continue}break}r=f;m=v[a+2948>>2];if(K>>>0>>0){continue}break}e=v[n+4>>2];b=v[n>>2]}v[299999]=0;U(2461,n+16|0,b|0,e|0);e=v[299999];v[299999]=0;if((e|0)!=1){if(b){v[n+4>>2]=b;dc(b)}l=h;m=v[a+2948>>2];X=X+1|0;if(m>>>0<=X>>>0){break s}continue}break}e=P()|0;O()|0;if(!b){break v}v[n+4>>2]=b;dc(b)}a=v[n+16>>2];if(!a){break h}break e}e=P()|0;O()|0;a=v[n>>2];if(!a){break h}break f}b=v[n+16>>2];if(!b){break q}}v[n+20>>2]=b;dc(b)}Qb=n+32|0;return}v[299999]=0;R(2185,n|0);a=v[299999];v[299999]=0;if((a|0)!=1){break g}}e=P()|0;O()|0;a=v[n>>2];if(!a){break h}break f}T(e|0);L()}L()}v[n+4>>2]=a;dc(a);T(e|0);L()}v[n+20>>2]=a;dc(a);T(e|0);L()}function Yx(a){var 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,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;a:{if(v[a+34092>>2]){f=v[a+34068>>2];if((f|0)!=v[282356]){uc(f)}v[a+34068>>2]=0;f=v[a+34076>>2];if((f|0)!=v[282392]){uc(f)}v[a+34076>>2]=0;f=v[a+32792>>2];b:{c:{d:{if((f|0)<3){while(1){f=-1;b=v[a+4>>2];e=Ub[v[v[b>>2]+28>>2]](b)|0;if((e|0)==-1){break c}d=v[a+32792>>2];f=d+8|0;v[a+32792>>2]=f;b=v[a+34108>>2];g=v[a+34104>>2]+1|0;b=g>>>0<1?b+1|0:b;v[a+34104>>2]=g;v[a+34108>>2]=b;b=v[a+32788>>2]|(e&255)<>2]=b;if((d|0)<-5){continue}break d}}b=v[a+32788>>2]}v[a+32792>>2]=f-3;v[a+32788>>2]=b>>3;f=b&7;if(!(b&1)){break b}}v[a+34096>>2]=1}F=a;e:{f:{g:{if(f>>>0<=1){v[a+34084>>2]=0;f=v[a+4>>2];f=Ub[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break g}v[a+34088>>2]=f&255;f=v[a+4>>2];f=Ub[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break g}v[a+34088>>2]=v[a+34088>>2]|f<<8&65280;f=v[a+4>>2];f=Ub[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break g}b=v[a+4>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break g}if((b<<8&65280|f&255)!=(x[a+34088>>1]^65535)){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,257133,0)}v[a+32788>>2]=0;v[a+32792>>2]=0;i=v[a+34108>>2];b=v[a+34104>>2]+4|0;i=b>>>0<4?i+1|0:i;v[a+34104>>2]=b;v[a+34108>>2]=i;v[a+34092>>2]=0;f=1;break e}h:{switch((f>>1)-1|0){case 0:v[a+34084>>2]=1;v[a+34068>>2]=v[282356];v[a+34072>>2]=v[282357];v[a+34076>>2]=v[282392];v[a+34080>>2]=v[282393];v[a+34092>>2]=0;f=1;break e;case 1:break h;default:break g}}f=1;v[a+34084>>2]=1;C=Qb-80|0;Qb=C;i:{j:{b=v[a+32792>>2];k:{if((b|0)<5){while(1){b=v[a+4>>2];g=Ub[v[v[b>>2]+28>>2]](b)|0;if((g|0)==-1){break j}e=v[a+32792>>2];b=e+8|0;v[a+32792>>2]=b;d=v[a+34108>>2];h=v[a+34104>>2]+1|0;d=h>>>0<1?d+1|0:d;v[a+34104>>2]=h;v[a+34108>>2]=d;h=v[a+32788>>2]|(g&255)<>2]=h;if((e|0)<-3){continue}break k}}h=v[a+32788>>2]}n=b-5|0;v[a+32792>>2]=n;c=h>>5;v[a+32788>>2]=c;if((b|0)<=9){while(1){b=v[a+4>>2];e=Ub[v[v[b>>2]+28>>2]](b)|0;if((e|0)==-1){break j}d=v[a+32792>>2];n=d+8|0;v[a+32792>>2]=n;b=v[a+34108>>2];g=v[a+34104>>2]+1|0;b=g>>>0<1?b+1|0:b;v[a+34104>>2]=g;v[a+34108>>2]=b;c=v[a+32788>>2]|(e&255)<>2]=c;if((d|0)<-3){continue}break}}b=n-5|0;v[a+32792>>2]=b;e=c>>5;v[a+32788>>2]=e;if((n|0)<=8){while(1){b=v[a+4>>2];e=Ub[v[v[b>>2]+28>>2]](b)|0;if((e|0)==-1){break j}g=v[a+32792>>2];b=g+8|0;v[a+32792>>2]=b;i=v[a+34108>>2];j=v[a+34104>>2]+1|0;i=j>>>0<1?i+1|0:i;v[a+34104>>2]=j;v[a+34108>>2]=i;e=v[a+32788>>2]|(e&255)<>2]=e;if((g|0)<-4){continue}break}}b=b-4|0;v[a+32792>>2]=b;d=e>>4;v[a+32788>>2]=d;c=c&31;if(c>>>0>29){break j}D=(h&31)+257|0;E=c+1|0;h=0;m=ic(C,0,76);g=(e&15)+3|0;while(1){if((b|0)<=2){while(1){b=v[a+4>>2];i=Ub[v[v[b>>2]+28>>2]](b)|0;if((i|0)==-1){v[m+(v[(h<<2)+1126800>>2]<<2)>>2]=-1;break j}e=v[a+32792>>2];b=e+8|0;v[a+32792>>2]=b;d=v[a+34108>>2];j=v[a+34104>>2]+1|0;d=j>>>0<1?d+1|0:d;v[a+34104>>2]=j;v[a+34108>>2]=d;d=v[a+32788>>2]|(i&255)<>2]=d;if((e|0)<-5){continue}break}}b=b-3|0;v[a+32792>>2]=b;c=d>>3;v[a+32788>>2]=c;v[m+(v[(h<<2)+1126800>>2]<<2)>>2]=d&7;e=(h|0)!=(g|0);d=c;h=h+1|0;if(e){continue}break}b=v[m+72>>2];c=v[m+68>>2];d=v[m+64>>2];e=v[m+60>>2];g=v[m+56>>2];h=v[m+52>>2];i=v[m+48>>2];j=v[m+44>>2];l=v[m+40>>2];n=v[m+36>>2];o=v[m+32>>2];p=v[m+28>>2];q=v[m+24>>2];r=v[m+20>>2];s=v[m+16>>2];y=v[m+12>>2];z=v[m+8>>2];A=v[m+4>>2];B=v[m>>2];B=(B|0)>0?B:0;A=(A|0)>(B|0)?A:B;z=(z|0)>(A|0)?z:A;y=(y|0)>(z|0)?y:z;s=(s|0)>(y|0)?s:y;r=(r|0)>(s|0)?r:s;q=(q|0)>(r|0)?q:r;p=(p|0)>(q|0)?p:q;o=(o|0)>(p|0)?o:p;n=(n|0)>(o|0)?n:o;l=(l|0)>(n|0)?l:n;j=(j|0)>(l|0)?j:l;i=(i|0)>(j|0)?i:j;h=(h|0)>(i|0)?h:i;g=(h|0)<(g|0)?g:h;e=(e|0)>(g|0)?e:g;d=(d|0)>(e|0)?d:e;c=(c|0)>(d|0)?c:d;o=(b|0)>(c|0)?b:c;p=1<1?p:1)<<2);if((o|0)<1){break l}}e=2;g=0;n=1;while(1){i=k+1|0;j=i&-4;l=i&3;h=0;while(1){if(v[m+(h<<2)>>2]==(n|0)){d=0;c=g;b=j;if(k>>>0>=3){while(1){d=c>>>3&1|(c>>>2&1|(c&2|(c<<2&4|d<<3)))<<1;c=c>>4;b=b-4|0;if(b){continue}break}}b=l;if(b){while(1){d=c&1|d<<1;c=c>>1;b=b-1|0;if(b){continue}break}}if((d|0)<(p|0)){while(1){b=(d<<2)+q|0;u[b+2>>1]=h;u[b>>1]=n;d=d+e|0;if((p|0)>(d|0)){continue}break}}g=g+1|0}h=h+1|0;if((h|0)!=19){continue}break}e=e<<1;g=g<<1;b=(n|0)!=(o|0);k=i;n=n+1|0;if(b){continue}break}}l=a+32796|0;g=D+E|0;m=-1<>2];m:{if((o|0)<=(c|0)){break m}while(1){b=v[a+4>>2];k=Ub[v[v[b>>2]+28>>2]](b)|0;if((k|0)==-1){c=v[a+32792>>2];break m}i=v[a+32792>>2];c=i+8|0;v[a+32792>>2]=c;b=v[a+34108>>2];j=v[a+34104>>2]+1|0;b=j>>>0<1?b+1|0:b;v[a+34104>>2]=j;v[a+34108>>2]=b;v[a+32788>>2]=v[a+32788>>2]|(k&255)<>2];i=((d&m)<<2)+q|0;b=x[i>>1];if(!b|(b|0)>(c|0)){break j}c=c-b|0;v[a+32792>>2]=c;d=d>>b;v[a+32788>>2]=d;k=g;n:{o:{p:{q:{r:{s:{b=x[i+2>>1];switch(b-16|0){case 2:break q;case 1:break r;case 0:break s;default:break p}}if((c|0)<=1){while(1){b=v[a+4>>2];d=Ub[v[v[b>>2]+28>>2]](b)|0;if((d|0)==-1){break j}j=v[a+32792>>2];c=j+8|0;v[a+32792>>2]=c;i=v[a+34108>>2];n=v[a+34104>>2]+1|0;i=n>>>0<1?i+1|0:i;v[a+34104>>2]=n;v[a+34108>>2]=i;d=v[a+32788>>2]|(d&255)<>2]=d;if((j|0)<-6){continue}break}}v[a+32792>>2]=c-2;v[a+32788>>2]=d>>2;c=d&3;if((g|0)<((c+h|0)+3|0)){break j}b=(h<<2)+a|0;v[b+32800>>2]=e;v[b+32796>>2]=e;v[b+32804>>2]=e;b=h+3|0;if(c){break o}break n}if((c|0)<=2){while(1){b=v[a+4>>2];i=Ub[v[v[b>>2]+28>>2]](b)|0;if((i|0)==-1){break j}e=v[a+32792>>2];c=e+8|0;v[a+32792>>2]=c;d=v[a+34108>>2];j=v[a+34104>>2]+1|0;d=j>>>0<1?d+1|0:d;v[a+34104>>2]=j;v[a+34108>>2]=d;d=v[a+32788>>2]|(i&255)<>2]=d;if((e|0)<-5){continue}break}}v[a+32792>>2]=c-3;v[a+32788>>2]=d>>3;c=d&7;b=(c+h|0)+3|0;if((b|0)>(g|0)){break j}e=0;ic(((h<<2)+a|0)+32796|0,0,(c<<2)+12|0);break n}if((c|0)<=6){while(1){b=v[a+4>>2];i=Ub[v[v[b>>2]+28>>2]](b)|0;if((i|0)==-1){break j}e=v[a+32792>>2];c=e+8|0;v[a+32792>>2]=c;b=v[a+34108>>2];j=v[a+34104>>2]+1|0;b=j>>>0<1?b+1|0:b;v[a+34104>>2]=j;v[a+34108>>2]=b;d=v[a+32788>>2]|(i&255)<>2]=d;if((e|0)<-1){continue}break}}v[a+32792>>2]=c-7;v[a+32788>>2]=d>>7;c=d&127;b=(c+h|0)+11|0;if((b|0)>(g|0)){break j}e=0;ic(((h<<2)+a|0)+32796|0,0,(c<<2)+44|0);break n}v[((h<<2)+a|0)+32796>>2]=b;e=b;b=h+1|0;break n}v[((b<<2)+a|0)+32796>>2]=e;d=h+4|0;b=d;if((c|0)==1){break n}v[((d<<2)+a|0)+32796>>2]=e;d=h+5|0;b=d;if((c|0)!=3){break n}v[((d<<2)+a|0)+32796>>2]=e;b=h+6|0}h=b;if((k|0)>(b|0)){continue}break}LR(l,D,a+34068|0);LR(((D<<2)+a|0)+32796|0,E,a+34076|0);b=1;break i}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,257218,0);b=0}uc(q);Qb=C+80|0;c=0;if(b){break f}}f=0;kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,257100,0);v[a+34096>>2]=1;c=1}v[F+34092>>2]=c}if(!f){break a}}t:{u:{if(v[a+34084>>2]){c=v[a+32792>>2];f=v[a+34072>>2];v:{if((c|0)>=(f|0)){break v}while(1){f=v[a+4>>2];b=Ub[v[v[f>>2]+28>>2]](f)|0;if((b|0)==-1){c=v[a+32792>>2];f=v[a+34072>>2];break v}d=v[a+32792>>2];c=d+8|0;v[a+32792>>2]=c;i=v[a+34108>>2];e=v[a+34104>>2]+1|0;i=e>>>0<1?i+1|0:i;v[a+34104>>2]=e;v[a+34108>>2]=i;v[a+32788>>2]=v[a+32788>>2]|(b&255)<>2];if((f|0)>(c|0)){continue}break}}e=257179;if(!c){break t}g=v[a+34068>>2];b=v[a+32788>>2];d=b&(-1<>1];if(!f|(c|0)<(f|0)){break t}c=c-f|0;v[a+32792>>2]=c;f=b>>f;v[a+32788>>2]=f;b=x[(g+(d<<2)|0)+2>>1];if(b>>>0<=255){t[(v[a+32780>>2]+a|0)+12|0]=b;f=1;v[a+32784>>2]=1;break u}if((b|0)==256){f=0;v[a+32784>>2]=0;v[a+34092>>2]=1;break u}g=b-257<<3;k=v[g+1126880>>2];w:{if((k|0)<1){b=f;break w}if((c|0)<(k|0)){while(1){f=v[a+4>>2];b=Ub[v[v[f>>2]+28>>2]](f)|0;if((b|0)==-1){break t}h=v[a+32792>>2];c=h+8|0;v[a+32792>>2]=c;d=v[a+34108>>2];i=v[a+34104>>2]+1|0;d=i>>>0<1?d+1|0:d;v[a+34104>>2]=i;v[a+34108>>2]=d;f=v[a+32788>>2]|(b&255)<>2]=f;if((c|0)<(k|0)){continue}break}}c=c-k|0;v[a+32792>>2]=c;b=f>>k;v[a+32788>>2]=b;k=(-1<>2];f=v[a+34080>>2];x:{if((f|0)<=(c|0)){break x}while(1){f=v[a+4>>2];d=Ub[v[v[f>>2]+28>>2]](f)|0;if((d|0)==-1){b=v[a+32788>>2];c=v[a+32792>>2];f=v[a+34080>>2];break x}g=v[a+32792>>2];c=g+8|0;v[a+32792>>2]=c;b=v[a+34108>>2];h=v[a+34104>>2]+1|0;b=h>>>0<1?b+1|0:b;v[a+34104>>2]=h;v[a+34108>>2]=b;b=v[a+32788>>2]|(d&255)<>2]=b;f=v[a+34080>>2];if((f|0)>(c|0)){continue}break}}if(!c){break t}g=v[a+34076>>2];d=(-1<>1];if(!f|(c|0)<(f|0)){break t}c=c-f|0;v[a+32792>>2]=c;f=b>>f;v[a+32788>>2]=f;b=x[(g+(d<<2)|0)+2>>1]<<3;d=v[b+1127136>>2];if((d|0)>=1){if((c|0)<(d|0)){while(1){f=v[a+4>>2];g=Ub[v[v[f>>2]+28>>2]](f)|0;if((g|0)==-1){break t}h=v[a+32792>>2];c=h+8|0;v[a+32792>>2]=c;i=v[a+34108>>2];j=v[a+34104>>2]+1|0;i=j>>>0<1?i+1|0:i;v[a+34104>>2]=j;v[a+34108>>2]=i;f=v[a+32788>>2]|(g&255)<>2]=f;if((c|0)<(d|0)){continue}break}}v[a+32792>>2]=c-d;v[a+32788>>2]=f>>d;d=(-1<>2];l=c-(v[b+1127140>>2]+d|0)|0;e=l&32767;i=f+e|0;j=c+f|0;y:{if((j|0)<=32768){if((i|0)<=32768){if((f|0)<1){break y}d=f&3;b=0;if(f-1>>>0>=3){g=f&-4;h=a+12|0;while(1){t[h+(b+c|0)|0]=w[h+(b+e|0)|0];k=b|1;t[h+(k+c|0)|0]=w[h+(e+k|0)|0];k=b|2;t[h+(k+c|0)|0]=w[h+(e+k|0)|0];k=b|3;t[h+(k+c|0)|0]=w[h+(e+k|0)|0];b=b+4|0;g=g-4|0;if(g){continue}break}}if(!d){break y}g=a+12|0;while(1){t[g+(b+c|0)|0]=w[g+(b+e|0)|0];b=b+1|0;d=d-1|0;if(d){continue}break}break y}j=32768-e|0;g=j&3;b=0;if((e^32767)>>>0>=3){d=j&65532;h=a+12|0;while(1){t[h+(b+c|0)|0]=w[h+(b+e|0)|0];l=b|1;t[h+(l+c|0)|0]=w[h+(e+l|0)|0];l=b|2;t[h+(l+c|0)|0]=w[h+(e+l|0)|0];l=b|3;t[h+(l+c|0)|0]=w[h+(e+l|0)|0];b=b+4|0;d=d-4|0;if(d){continue}break}}if(g){d=a+12|0;while(1){t[d+(b+c|0)|0]=w[d+(b+e|0)|0];b=b+1|0;g=g-1|0;if(g){continue}break}}if((f|0)<=(j|0)){break y}g=c+j|0;d=i&3;c=0;if((e+(k+o|0)|0)-32769>>>0>=3){k=i-32768&-4;b=a+12|0;while(1){t[b+(c+g|0)|0]=w[b+c|0];e=c|1;t[b+(e+g|0)|0]=w[b+e|0];e=c|2;t[b+(e+g|0)|0]=w[b+e|0];e=c|3;t[b+(e+g|0)|0]=w[b+e|0];c=c+4|0;k=k-4|0;if(k){continue}break}}if(!d){break y}b=a+12|0;while(1){t[b+(c+g|0)|0]=w[b+c|0];c=c+1|0;d=d-1|0;if(d){continue}break}break y}if((i|0)<=32768){i=32768-c|0;z:{if((c|0)>32767){break z}d=(i|0)>1?i:1;g=d&3;b=0;if(d-1>>>0>=3){d=d&2147483644;h=a+12|0;while(1){t[h+(b+c|0)|0]=w[h+(b+e|0)|0];l=b|1;t[h+(l+c|0)|0]=w[h+(e+l|0)|0];l=b|2;t[h+(l+c|0)|0]=w[h+(e+l|0)|0];l=b|3;t[h+(l+c|0)|0]=w[h+(e+l|0)|0];b=b+4|0;d=d-4|0;if(d){continue}break}}if(!g){break z}d=a+12|0;while(1){t[d+(b+c|0)|0]=w[d+(b+e|0)|0];b=b+1|0;g=g-1|0;if(g){continue}break}}if((f|0)<=(i|0)){break y}g=e+i|0;d=j&3;e=0;if((c+(k+o|0)|0)-32769>>>0>=3){k=j-32768&-4;b=a+12|0;while(1){t[b+e|0]=w[b+(e+g|0)|0];c=e|1;t[c+b|0]=w[b+(c+g|0)|0];c=e|2;t[c+b|0]=w[b+(c+g|0)|0];c=e|3;t[c+b|0]=w[b+(c+g|0)|0];e=e+4|0;k=k-4|0;if(k){continue}break}}if(!d){break y}b=a+12|0;while(1){t[b+e|0]=w[b+(e+g|0)|0];e=e+1|0;d=d-1|0;if(d){continue}break}break y}if((c|0)>(e|0)){h=c-e|0;l=j-h|0;j=32768-c|0;A:{if((c|0)>32767){break A}g=(j|0)>1?j:1;d=g&3;b=0;if(g-1>>>0>=3){g=g&2147483644;i=a+12|0;while(1){t[i+(b+c|0)|0]=w[i+(b+e|0)|0];m=b|1;t[i+(m+c|0)|0]=w[i+(e+m|0)|0];m=b|2;t[i+(m+c|0)|0]=w[i+(e+m|0)|0];m=b|3;t[i+(m+c|0)|0]=w[i+(e+m|0)|0];b=b+4|0;g=g-4|0;if(g){continue}break}}if(!d){break A}g=a+12|0;while(1){t[g+(b+c|0)|0]=w[g+(b+e|0)|0];b=b+1|0;d=d-1|0;if(d){continue}break}}l=l-32768|0;B:{if((h|0)<1){break B}i=e+j|0;d=h&3;b=0;if(c+(e^-1)>>>0>=3){g=h&-4;c=a+12|0;while(1){t[b+c|0]=w[c+(b+i|0)|0];j=b|1;t[j+c|0]=w[c+(i+j|0)|0];j=b|2;t[j+c|0]=w[c+(i+j|0)|0];j=b|3;t[j+c|0]=w[c+(i+j|0)|0];b=b+4|0;g=g-4|0;if(g){continue}break}}if(!d){break B}c=a+12|0;while(1){t[b+c|0]=w[c+(b+i|0)|0];b=b+1|0;d=d-1|0;if(d){continue}break}}if((l|0)<1){break y}b=l&3;c=0;if((e+(k+o|0)|0)-32769>>>0>=3){k=l&-4;d=a+12|0;while(1){t[d+(c+h|0)|0]=w[c+d|0];e=c|1;t[d+(e+h|0)|0]=w[d+e|0];e=c|2;t[d+(e+h|0)|0]=w[d+e|0];e=c|3;t[d+(e+h|0)|0]=w[d+e|0];c=c+4|0;k=k-4|0;if(k){continue}break}}if(!b){break y}d=a+12|0;while(1){t[d+(c+h|0)|0]=w[c+d|0];c=c+1|0;b=b-1|0;if(b){continue}break}break y}i=32768-e|0;d=i&3;b=0;if((e^32767)>>>0>=3){g=i&65532;h=a+12|0;while(1){t[h+(b+c|0)|0]=w[h+(b+e|0)|0];j=b|1;t[h+(j+c|0)|0]=w[h+(e+j|0)|0];j=b|2;t[h+(j+c|0)|0]=w[h+(e+j|0)|0];j=b|3;t[h+(j+c|0)|0]=w[h+(e+j|0)|0];b=b+4|0;g=g-4|0;if(g){continue}break}}if(d){g=a+12|0;while(1){t[g+(b+c|0)|0]=w[g+(b+e|0)|0];b=b+1|0;d=d-1|0;if(d){continue}break}}m=l|-32768;h=e-c|0;j=m+(f-h|0)|0;C:{if((h|0)<1){break C}i=c+i|0;g=h&3;b=0;if(e+(c^-1)>>>0>=3){l=h&-4;d=a+12|0;while(1){t[d+(b+i|0)|0]=w[b+d|0];n=b|1;t[d+(n+i|0)|0]=w[d+n|0];n=b|2;t[d+(n+i|0)|0]=w[d+n|0];n=b|3;t[d+(n+i|0)|0]=w[d+n|0];b=b+4|0;l=l-4|0;if(l){continue}break}}if(!g){break C}d=a+12|0;while(1){t[d+(b+i|0)|0]=w[b+d|0];b=b+1|0;g=g-1|0;if(g){continue}break}}if((j|0)<1){break y}d=j&3;b=0;if((m+(c+(k+o|0)|0)|0)+(e^-1)>>>0>=3){e=j&-4;c=a+12|0;while(1){t[b+c|0]=w[c+(b+h|0)|0];g=b|1;t[g+c|0]=w[c+(h+g|0)|0];g=b|2;t[g+c|0]=w[c+(h+g|0)|0];g=b|3;t[g+c|0]=w[c+(h+g|0)|0];b=b+4|0;e=e-4|0;if(e){continue}break}}if(!d){break y}c=a+12|0;while(1){t[b+c|0]=w[c+(b+h|0)|0];b=b+1|0;d=d-1|0;if(d){continue}break}}v[a+32784>>2]=f;break u}f=v[a+34088>>2];d=(f|0)<32768?f:32768;D:{if((f|0)<1){f=0;break D}b=(d|0)>1?d:1;c=v[a+32780>>2];f=0;while(1){e=v[a+4>>2];e=Ub[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){v[a+34092>>2]=1;v[a+34096>>2]=1;break D}t[(a+c|0)+12|0]=e;c=c+1&32767;f=f+1|0;if((b|0)!=(f|0)){continue}break}f=b}v[a+32784>>2]=f;b=v[a+34088>>2]-d|0;v[a+34088>>2]=b;if(!b){v[a+34092>>2]=1}d=v[a+34108>>2];c=f;e=c+v[a+34104>>2]|0;v[a+34104>>2]=e;v[a+34108>>2]=c>>>0>e>>>0?d+1|0:d}d=f;e=d+v[a+34112>>2]|0;b=v[a+34116>>2]+(d>>31)|0;b=d>>>0>e>>>0?b+1|0:b;d=e;f=b;v[a+34112>>2]=d;v[a+34116>>2]=b;if(!b&d>>>0<50000001){break a}e=257300;c=v[a+34104>>2];b=v[a+34108>>2];f=Dib(d,f,250,0);d=Tb;if((d|0)==(b|0)&c>>>0>=f>>>0|b>>>0>d>>>0){break a}}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,e,0);v[a+34092>>2]=1;v[a+34096>>2]=1;v[a+32784>>2]=0}}function Hra(a,b){a=a|0;b=b|0;var 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,u=0,x=0,y=0,z=0,A=0,B=0,C=0;C=Qb-32|0;Qb=C;a:{b:{c=v[a>>2];c:{if((c|0)<=0){a=vc(C+8|0,291647,241690,649,342856,0);break c}if(w[(c+v[a+4>>2]|0)-1|0]){a=vc(C+8|0,291673,241690,650,342856,0);break c}d:{if((c|0)>=32769){c=0;p=Qb-48|0;Qb=p;k=Bg(p+32|0,p+44|0,65536,4);f=ic(v[p+44>>2],0,262144);j=1;h=v[a+4>>2];if(v[a>>2]>1){d=w[h|0];while(1){e=(d&255)<<10;c=c+1|0;d=w[h+c|0];e=f+(e|d<<2)|0;v[e>>2]=v[e>>2]+1;if((v[a>>2]-1|0)>(c|0)){continue}break}d=v[f>>2]}while(1){c=d;d=f+(j<<2)|0;c=c+v[d>>2]|0;v[d>>2]=c;c=c+v[d+4>>2]|0;v[d+4>>2]=c;c=c+v[d+8>>2]|0;v[d+8>>2]=c;c=c+v[d+12>>2]|0;v[d+12>>2]=c;e=d;d=c+v[d+16>>2]|0;v[e+16>>2]=d;j=j+5|0;if((j|0)!=65536){continue}break}g=v[a+20>>2];n=v[p+44>>2];f=v[a>>2];e:{if((f|0)<=2){j=v[a+8>>2];break e}d=w[h|0];c=0;while(1){e=g+(c<<2)|0;j=(d&255)<<10;c=c+1|0;d=w[h+c|0];v[e>>2]=v[(j|d<<2)+n>>2];f=v[a>>2];e=f-2|0;if((e|0)>(c|0)){continue}break}j=v[a+8>>2];n=v[p+44>>2];if((f|0)<3){break e}c=f-3|0;d=w[e+h|0];if(f&1){e=d<<2;d=w[c+h|0];e=(e|d<<10)+n|0;i=v[e>>2];v[e>>2]=i-1;v[(i<<2)+j>>2]=c;c=f-4|0}if((f|0)!=3){while(1){e=w[c+h|0];d=(e<<10|(d&255)<<2)+n|0;f=v[d>>2];v[d>>2]=f-1;v[(f<<2)+j>>2]=c;f=c-1|0;d=w[f+h|0];e=(d<<10|e<<2)+n|0;i=v[e>>2];v[e>>2]=i-1;v[(i<<2)+j>>2]=f;e=(c|0)>1;c=c-2|0;if(e){continue}break}}f=v[a>>2]}d=f-1|0;if(w[d+h|0]){v[299999]=0;b=aa(4369,p+8|0,291673,241690,631,342614,0)|0;a=v[299999];v[299999]=0;f:{g:{if((a|0)!=1){v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break g}L()}j=P()|0;O()|0;break f}j=P()|0;O()|0;qc(b)}Lc(k);T(j|0);L()}c=w[(f+h|0)-2|0];v[j>>2]=d;c=(c<<10)+n|0;v[(v[c>>2]<<2)+j>>2]=v[a>>2]-2;v[(g+(v[a>>2]<<2)|0)-4>>2]=0;v[(g+(v[a>>2]<<2)|0)-8>>2]=v[c>>2];v[g+(v[a>>2]<<2)>>2]=-1;Lc(k);Qb=p+48|0;p=2;break d}c=Qb-2048|0;Qb=c;ic(c+1024|0,0,1024);h=ic(c,0,1024);i=1;p=v[a+4>>2];k=v[a>>2];h:{if((k|0)<=1){break h}c=k-1|0;n=c&3;if(k-2>>>0>=3){g=c&-4;while(1){c=h+(w[d+p|0]<<2)|0;v[c>>2]=v[c>>2]+1;c=h+(w[p+(d|1)|0]<<2)|0;v[c>>2]=v[c>>2]+1;c=h+(w[p+(d|2)|0]<<2)|0;v[c>>2]=v[c>>2]+1;c=h+(w[p+(d|3)|0]<<2)|0;v[c>>2]=v[c>>2]+1;d=d+4|0;g=g-4|0;if(g){continue}break}}if(!n){break h}while(1){c=h+(w[d+p|0]<<2)|0;v[c>>2]=v[c>>2]+1;d=d+1|0;n=n-1|0;if(n){continue}break}}while(1){e=j<<2;d=h+1024|0;v[e+d>>2]=i;c=e+h|0;f=v[c>>2]+i|0;v[c>>2]=f-1;c=e|4;v[c+d>>2]=f;c=c+h|0;i=f+v[c>>2]|0;v[c>>2]=i-1;j=j+2|0;if((j|0)!=256){continue}break}n=v[a+20>>2];f=v[a+8>>2];i:{if((k|0)<=1){i=k-1|0;break i}j=0;while(1){d=j+p|0;c=(h+1024|0)+(w[d|0]<<2)|0;e=v[c>>2];v[c>>2]=e+1;v[f+(e<<2)>>2]=j;v[n+(j<<2)>>2]=v[h+(w[d|0]<<2)>>2];i=v[a>>2]-1|0;j=j+1|0;if((i|0)>(j|0)){continue}break}}v[f>>2]=i;v[(n+(v[a>>2]<<2)|0)-4>>2]=0;v[n+(v[a>>2]<<2)>>2]=-1;Qb=h+2048|0;p=1}g=v[a>>2];if((g|0)>=1){while(1){A=v[v[a+20>>2]+(v[v[a+8>>2]+(m<<2)>>2]<<2)>>2];if((A|0)>(m|0)){i=0;y=Qb-6176|0;Qb=y;v[y+4128>>2]=m;d=A;v[y+2080>>2]=d;n=p;v[y+32>>2]=n;j=1;while(1){j:{if((n|0)>=8){if((d|0)<(m|0)){j=i;break j}e=v[a+8>>2];j=v[a+20>>2];c=d-m|0;f=c+1&3;if(f){while(1){v[j+(v[e+(m<<2)>>2]<<2)>>2]=d;m=m+1|0;f=f-1|0;if(f){continue}break}}if(c>>>0<3){j=i;break j}while(1){c=e+(m<<2)|0;v[j+(v[c>>2]<<2)>>2]=d;v[j+(v[c+4>>2]<<2)>>2]=d;v[j+(v[c+8>>2]<<2)>>2]=d;c=m+3|0;v[j+(v[e+(c<<2)>>2]<<2)>>2]=d;m=m+4|0;if((c|0)!=(d|0)){continue}break}j=i;break j}k:{l:{if((d-m|0)<=9){r=v[a+8>>2];c=m;h=r;if((d|0)<=(c|0)){break k}while(1){k=c+1|0;x=v[r+(k<<2)>>2];if((c|0)>=(m|0)){g=n+x|0;while(1){j=c;B=r+(c<<2)|0;o=v[B>>2];c=o+n|0;q=v[a+4>>2];e=g;f=n;m:{n:{o:{while(1){if((f|0)>7){break o}u=c+q|0;z=w[u|0];s=e+q|0;l=w[s|0];if((z|0)!=(l|0)){if(l>>>0>>0){break n}c=j;break m}f=f+2|0;e=e+2|0;c=c+2|0;z=w[u+1|0];l=w[s+1|0];if((z|0)==(l|0)){continue}break}if(l>>>0>>0){break n}c=j;break m}f=v[a>>2];if(!((f|0)<=(c|0)|(e|0)>=(f|0))){c=j;break m}if((c|0)<(e|0)){break n}c=j;break m}v[B+4>>2]=o;c=j-1|0;if((j|0)>(m|0)){continue}}break}c=c+1|0}else{c=k}v[(c<<2)+r>>2]=x;c=k;if((d|0)!=(c|0)){continue}break}break l}c=i<<2;u=c+(y+32|0)|0;s=c+(y+2080|0)|0;z=c+(y+4128|0)|0;o=v[a+4>>2]+n|0;B=Dx(a,o,m,d);q=v[a+8>>2];c=m;while(1){g=c;if((B|0)==w[o+v[q+(c<<2)>>2]|0]){c=g+1|0;if((d|0)>(g|0)){continue}}break}c=d;while(1){k=c;if((B|0)==w[o+v[q+(c<<2)>>2]|0]){c=k-1|0;if((g|0)<(k|0)){continue}}break}e=g;c=k;while(1){p:{if((c|0)<(e|0)){break p}f=c+1|0;while(1){l=q+(e<<2)|0;r=v[l>>2];h=w[r+o|0]-B|0;if((h|0)>0){break p}if(!h){h=q+(g<<2)|0;v[l>>2]=v[h>>2];v[h>>2]=r;g=g+1|0}h=(c|0)!=(e|0);e=e+1|0;if(h){continue}break}e=f}f=c;q:{if((c|0)<(e|0)){break q}while(1){r=q+(c<<2)|0;h=v[r>>2];f=w[h+o|0]-B|0;if((f|0)<0){f=c;break q}if(!f){f=q+(k<<2)|0;v[r>>2]=v[f>>2];v[f>>2]=h;k=k-1|0}h=(c|0)>(e|0);f=c-1|0;c=f;if(h){continue}break}}if((e|0)<=(f|0)){c=q+(e<<2)|0;h=v[c>>2];r=c;c=q+(f<<2)|0;v[r>>2]=v[c>>2];v[c>>2]=h;c=f;continue}break}r=e-g|0;c=g-m|0;g=(c|0)>(r|0)?r:c;r:{if((g|0)<1){break r}c=e-g|0;s:{if(!(g&1)){h=g;e=m;break s}e=q+(m<<2)|0;h=v[e>>2];l=e;e=q+(c<<2)|0;v[l>>2]=v[e>>2];v[e>>2]=h;c=c+1|0;h=g-1|0;e=m+1|0}if((g|0)==1){break r}while(1){o=q+(e<<2)|0;g=v[o>>2];l=q+(c<<2)|0;v[o>>2]=v[l>>2];v[l>>2]=g;g=v[o+4>>2];v[o+4>>2]=v[l+4>>2];v[l+4>>2]=g;c=c+2|0;e=e+2|0;g=(h|0)>2;h=h-2|0;if(g){continue}break}}h=k-f|0;c=d-k|0;k=(c|0)>(h|0)?h:c;t:{if((k|0)<1){break t}c=d-k|0;if(k&1){c=c+1|0;e=q+(c<<2)|0;g=v[e>>2];l=e;f=f+1|0;e=q+(f<<2)|0;v[l>>2]=v[e>>2];v[e>>2]=g;e=k-1|0}else{e=k}if((k|0)==1){break t}while(1){k=q+(c<<2)|0;g=v[k+4>>2];l=k;k=q+(f<<2)|0;v[l+4>>2]=v[k+4>>2];v[k+4>>2]=g;c=c+2|0;k=q+(c<<2)|0;g=v[k>>2];l=k;f=f+2|0;k=q+(f<<2)|0;v[l>>2]=v[k>>2];v[k>>2]=g;k=(e|0)>2;e=e-2|0;if(k){continue}break}}u:{if((j|0)>=510){a=vc(y+8|0,291567,241690,523,337251,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break u}break a}h=d-h|0;e=m+r|0;c=e;v:{if(B){break v}c=e;if((h|0)<(c|0)){break v}k=v[a>>2]-1|0;w:{while(1){f=q+(c<<2)|0;g=v[f>>2];if((k|0)==(g+n|0)){break w}f=(c|0)>=(h|0);c=c+1|0;if(!f){continue}break}c=e;break v}c=q+(e<<2)|0;v[f>>2]=v[c>>2];v[c>>2]=g;v[v[a+20>>2]+(g<<2)>>2]=e;c=e+1|0}x:{if((c|0)<(h|0)){v[z>>2]=c;v[s>>2]=h;v[u>>2]=n+1;break x}if((c|0)==(h|0)){v[v[a+20>>2]+(v[q+(h<<2)>>2]<<2)>>2]=h}j=i}e=e-1|0;y:{if((e|0)>(m|0)){c=j<<2;v[c+(y+2080|0)>>2]=e;v[c+(y+4128|0)>>2]=m;v[c+(y+32|0)>>2]=n;j=j+1|0;break y}if((e|0)!=(m|0)){break y}v[v[a+20>>2]+(v[q+(m<<2)>>2]<<2)>>2]=m}e=h+1|0;if((e|0)<(d|0)){c=j<<2;v[c+(y+2080|0)>>2]=d;v[c+(y+4128|0)>>2]=e;v[c+(y+32|0)>>2]=n;j=j+1|0;break j}if((d|0)!=(e|0)){break j}v[v[a+20>>2]+(v[q+(d<<2)>>2]<<2)>>2]=d;break j}L()}h=v[a+8>>2]}if((d|0)<(m|0)){j=i;break j}o=v[a+20>>2];while(1){g=d;c=v[h+(d<<2)>>2];v[o+(c<<2)>>2]=d;d=d-1|0;z:{if((g|0)<=(m|0)){break z}k=c+n|0;while(1){j=d;s=v[h+(d<<2)>>2];c=s+n|0;u=v[a+4>>2];e=k;f=n;A:{B:{while(1){if((f|0)>7){break B}z=e+u|0;r=w[z|0];l=c+u|0;d=w[l|0];if((r|0)!=(d|0)){if(d>>>0>=r>>>0){break A}d=j;break z}f=f+2|0;c=c+2|0;e=e+2|0;r=w[z+1|0];d=w[l+1|0];if((r|0)==(d|0)){continue}break}if(d>>>0>=r>>>0){break A}d=j;break z}d=v[a>>2];if(!((d|0)<=(e|0)|(c|0)>=(d|0))|(c|0)<=(e|0)){break A}d=j;break z}v[o+(s<<2)>>2]=g;d=j-1|0;if((j|0)>(m|0)){continue}break}}if((d|0)>=(m|0)){continue}break}j=i}if((j|0)>=1){i=j-1|0;c=i<<2;n=v[c+(y+32|0)>>2];d=v[c+(y+2080|0)>>2];m=v[c+(y+4128|0)>>2];continue}break}Qb=y+6176|0;g=v[a>>2]}m=A+1|0;if((m|0)<(g|0)){continue}break}}m=8;while(1){A=m<<1;B=0;k=0;f=0;if((g|0)>0){while(1){g=v[a+20>>2];h=v[a+8>>2];c=v[h+(f<<2)>>2];r=v[g+((c&16777215)<<2)>>2];C:{if((r|0)==(f|0)){r=(c>>>24|0)+f|0;break C}D:{E:{o=r-f|0;if((o|0)<=9){if((f|0)>=(r|0)){break D}c=f;while(1){i=c+1|0;n=v[(i<<2)+h>>2];if((c|0)>=(f|0)){while(1){e=n;d=c;s=(c<<2)+h|0;z=v[s>>2];c=z;F:{G:{while(1){l=v[(c+m<<2)+g>>2];p=v[(e+m<<2)+g>>2];if((l|0)!=(p|0)){if((l|0)>(p|0)){break G}c=d;break F}l=c+A|0;p=v[(l<<2)+g>>2];u=e+A|0;c=v[(u<<2)+g>>2];if((p|0)!=(c|0)){if((c|0)<(p|0)){break G}c=d;break F}e=v[(m+l<<2)+g>>2];c=v[(m+u<<2)+g>>2];if((e|0)!=(c|0)){if((c|0)<(e|0)){break G}c=d;break F}l=l+A|0;e=v[(l<<2)+g>>2];p=u+A|0;c=v[(p<<2)+g>>2];if((e|0)!=(c|0)){if((c|0)<(e|0)){break G}c=d;break F}e=v[(m+l<<2)+g>>2];c=v[(m+p<<2)+g>>2];if((e|0)!=(c|0)){if((c|0)<(e|0)){break G}c=d;break F}l=l+A|0;e=v[(l<<2)+g>>2];p=p+A|0;c=v[(p<<2)+g>>2];if((e|0)!=(c|0)){if((c|0)<(e|0)){break G}c=d;break F}e=v[(m+l<<2)+g>>2];c=v[(m+p<<2)+g>>2];if((e|0)!=(c|0)){if((c|0)<(e|0)){break G}c=d;break F}c=l+A|0;l=v[(c<<2)+g>>2];e=p+A|0;p=v[(e<<2)+g>>2];if((l|0)==(p|0)){continue}break}if((l|0)>(p|0)){break G}c=d;break F}v[s+4>>2]=z;c=d-1|0;if((d|0)>(f|0)){continue}}break}c=c+1|0}else{c=i}v[(c<<2)+h>>2]=n;if((i|0)==(r|0)){break E}g=v[a+20>>2];c=i;continue}}d=f-1|0;if((d|0)>(k|0)){while(1){c=d-k|0;c=(c|0)<255?c:255;t[((k<<2)+h|0)+3|0]=c;k=(c+k|0)+1|0;if((d|0)>(k|0)){continue}break}}B=B+1|0;p=0;q=Qb-4128|0;Qb=q;c=f;v[q+2080>>2]=c;j=r;v[q+32>>2]=j;k=1;H:{I:{while(1){J:{if((j-c|0)<=9){k=v[a+8>>2];d=c;g=j;if((c|0)<(g|0)){o=m<<1;while(1){f=c+1|0;n=v[(f<<2)+k>>2];if((c|0)>=(d|0)){x=v[a+20>>2];while(1){i=n;e=c;s=(c<<2)+k|0;z=v[s>>2];c=z;K:{L:{while(1){l=v[x+(c+m<<2)>>2];h=v[x+(i+m<<2)>>2];if((l|0)!=(h|0)){if((h|0)<(l|0)){break L}c=e;break K}l=c+o|0;h=v[x+(l<<2)>>2];u=i+o|0;c=v[x+(u<<2)>>2];if((h|0)!=(c|0)){if((c|0)<(h|0)){break L}c=e;break K}i=v[x+(m+l<<2)>>2];c=v[x+(m+u<<2)>>2];if((i|0)!=(c|0)){if((c|0)<(i|0)){break L}c=e;break K}l=o+l|0;i=v[x+(l<<2)>>2];h=o+u|0;c=v[x+(h<<2)>>2];if((i|0)!=(c|0)){if((c|0)<(i|0)){break L}c=e;break K}i=v[x+(m+l<<2)>>2];c=v[x+(h+m<<2)>>2];if((i|0)!=(c|0)){if((c|0)<(i|0)){break L}c=e;break K}l=o+l|0;i=v[x+(l<<2)>>2];h=h+o|0;c=v[x+(h<<2)>>2];if((i|0)!=(c|0)){if((c|0)<(i|0)){break L}c=e;break K}i=v[x+(m+l<<2)>>2];c=v[x+(h+m<<2)>>2];if((i|0)!=(c|0)){if((c|0)<(i|0)){break L}c=e;break K}c=o+l|0;l=v[x+(c<<2)>>2];i=h+o|0;h=v[x+(i<<2)>>2];if((l|0)==(h|0)){continue}break}if((h|0)<(l|0)){break L}c=e;break K}v[s+4>>2]=z;c=e-1|0;if((d|0)<(e|0)){continue}}break}c=c+1|0}else{c=f}v[(c<<2)+k>>2]=n;c=f;if((g|0)!=(c|0)){continue}break}k=v[a+8>>2]}M:{if((d|0)>(g|0)){break M}e=v[a+20>>2];c=g-d|0;j=c+1&3;if(j){while(1){v[e+(v[(d<<2)+k>>2]<<2)>>2]=d;d=d+1|0;j=j-1|0;if(j){continue}break}}if(c>>>0<3){break M}while(1){v[e+(v[(d<<2)+k>>2]<<2)>>2]=d;c=d+1|0;v[e+(v[(c<<2)+k>>2]<<2)>>2]=c;c=d+2|0;v[e+(v[(c<<2)+k>>2]<<2)>>2]=c;c=d+3|0;v[e+(v[(c<<2)+k>>2]<<2)>>2]=c;d=d+4|0;if((c|0)!=(g|0)){continue}break}}break J}z=(q+32|0)+(p<<2)|0;u=v[a+20>>2]+(m<<2)|0;s=Ex(a,u,c,j);o=v[a+8>>2];d=c;while(1){i=d;if((s|0)==v[u+(v[o+(d<<2)>>2]<<2)>>2]){d=i+1|0;if((i|0)<(j|0)){continue}}break}d=j;while(1){n=d;if((s|0)==v[u+(v[o+(d<<2)>>2]<<2)>>2]){d=n-1|0;if((i|0)<(n|0)){continue}}break}e=i;d=n;while(1){N:{if((d|0)<(e|0)){break N}f=d+1|0;while(1){l=o+(e<<2)|0;h=v[l>>2];g=v[u+(h<<2)>>2]-s|0;if((g|0)>0){break N}if(!g){g=o+(i<<2)|0;v[l>>2]=v[g>>2];v[g>>2]=h;i=i+1|0}g=(d|0)!=(e|0);e=e+1|0;if(g){continue}break}e=f}f=d;O:{if((d|0)<(e|0)){break O}while(1){h=o+(d<<2)|0;g=v[h>>2];f=v[u+(g<<2)>>2]-s|0;if((f|0)<0){f=d;break O}if(!f){f=o+(n<<2)|0;v[h>>2]=v[f>>2];v[f>>2]=g;n=n-1|0}g=(d|0)>(e|0);f=d-1|0;d=f;if(g){continue}break}}if((e|0)<=(f|0)){d=o+(e<<2)|0;g=v[d>>2];h=d;d=o+(f<<2)|0;v[h>>2]=v[d>>2];v[d>>2]=g;d=f;continue}break}s=e-i|0;d=i-c|0;i=(d|0)>(s|0)?s:d;P:{if((i|0)<1){break P}d=e-i|0;Q:{if(!(i&1)){g=i;e=c;break Q}e=o+(c<<2)|0;g=v[e>>2];h=e;e=o+(d<<2)|0;v[h>>2]=v[e>>2];v[e>>2]=g;d=d+1|0;g=i-1|0;e=c+1|0}if((i|0)==1){break P}while(1){l=o+(e<<2)|0;i=v[l>>2];h=o+(d<<2)|0;v[l>>2]=v[h>>2];v[h>>2]=i;i=v[l+4>>2];v[l+4>>2]=v[h+4>>2];v[h+4>>2]=i;d=d+2|0;e=e+2|0;i=(g|0)>2;g=g-2|0;if(i){continue}break}}g=n-f|0;d=j-n|0;i=(d|0)>(g|0)?g:d;R:{if((i|0)<1){break R}d=j-i|0;if(i&1){d=d+1|0;e=o+(d<<2)|0;n=v[e>>2];h=e;f=f+1|0;e=o+(f<<2)|0;v[h>>2]=v[e>>2];v[e>>2]=n;e=i-1|0}else{e=i}if((i|0)==1){break R}while(1){i=o+(d<<2)|0;n=v[i+4>>2];h=i;i=o+(f<<2)|0;v[h+4>>2]=v[i+4>>2];v[i+4>>2]=n;d=d+2|0;i=o+(d<<2)|0;n=v[i>>2];h=i;f=f+2|0;i=o+(f<<2)|0;v[h>>2]=v[i>>2];v[i>>2]=n;i=(e|0)>2;e=e-2|0;if(i){continue}break}}S:{if((k|0)<=510){e=c+s|0;n=j-g|0;if((e|0)<=(n|0)){i=v[a+20>>2];d=e;while(1){v[i+(v[o+(d<<2)>>2]<<2)>>2]=n;f=(d|0)<(n|0);d=d+1|0;if(f){continue}break}}if((s|0)>=1){i=e-1|0;f=v[a+20>>2];d=c;while(1){v[f+(v[o+(d<<2)>>2]<<2)>>2]=i;d=d+1|0;if((e|0)>(d|0)){continue}break}v[z>>2]=i;p=(c|0)<(i|0)?k:p}if((g|0)>=1){break S}break J}a=vc(q+8|0,291607,241690,347,337211,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break I}break a}c=p<<2;v[c+(q+32|0)>>2]=j;d=c+(q+2080|0)|0;c=n+1|0;v[d>>2]=c;p=((c|0)<(j|0))+p|0}k=p;if((k|0)>=1){p=k-1|0;c=p<<2;j=v[c+(q+32|0)>>2];c=v[c+(q+2080|0)>>2];continue}break}Qb=q+4128|0;break H}L()}k=r+1|0;break C}g=v[a+20>>2];h=v[a+8>>2]}if((f|0)>(r|0)){break C}e=o+1&3;if(e){while(1){v[(v[(f<<2)+h>>2]<<2)+g>>2]=f;f=f+1|0;e=e-1|0;if(e){continue}break}}if(o>>>0<3){break C}while(1){v[(v[(f<<2)+h>>2]<<2)+g>>2]=f;c=f+1|0;v[(v[(c<<2)+h>>2]<<2)+g>>2]=c;c=f+2|0;v[(v[(c<<2)+h>>2]<<2)+g>>2]=c;c=f+3|0;v[(v[(c<<2)+h>>2]<<2)+g>>2]=c;f=f+4|0;if((c|0)!=(r|0)){continue}break}}f=r+1|0;if((f|0)>2]){continue}break}}e=v[a+8>>2];d=f-1|0;if((d|0)>(k|0)){while(1){c=d-k|0;c=(c|0)<255?c:255;t[((k<<2)+e|0)+3|0]=c;k=(c+k|0)+1|0;if((d|0)>(k|0)){continue}break}}if(B){g=v[a>>2];m=A;continue}break}v[b>>2]=-1;g=0;T:{m=v[a>>2];if((m|0)<=0){break T}d=v[a+20>>2];c=v[a+4>>2];while(1){v[d+(g<<2)>>2]=w[c+g|0];g=g+1|0;m=v[a>>2];if((g|0)<(m|0)){continue}break}g=0;if((m|0)<=0){break T}while(1){c=v[(g<<2)+e>>2]&16777215;U:{if(c){t[v[a+4>>2]+g|0]=v[(v[a+20>>2]+(c<<2)|0)-4>>2];break U}t[v[a+4>>2]+g|0]=0;v[b>>2]=g}g=g+1|0;m=v[a>>2];if((g|0)>=(m|0)){break T}e=v[a+8>>2];continue}}a=v[b>>2];if((a|0)>=0&(a|0)<(m|0)){break b}a=vc(C+8|0,291517,241690,740,342856,0)}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)==1){b=P()|0;O()|0;qc(a);T(b|0)}L()}Qb=C+32|0;return}b=P()|0;O()|0;qc(a);T(b|0);L()}function kNa(a,b){a=a|0;b=b|0;var 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,u=0,w=0,x=0;c=v[a+20>>2];if((c|0)!=100){d=v[a>>2];v[d+24>>2]=c;v[d+20>>2]=21;Ub[v[v[a>>2]>>2]](a)}if(b){IG(a,0)}Ub[v[v[a>>2]+16>>2]](a);Ub[v[v[a+24>>2]+8>>2]](a);k=Qb-2608|0;Qb=k;i=Ub[v[v[a+4>>2]>>2]](a,1,36)|0;v[a+388>>2]=i;v[i+16>>2]=0;v[i+8>>2]=281;v[i+4>>2]=282;v[i>>2]=283;if(!(y[a+32>>2]<16777216&y[a+28>>2]<=16777215)){b=v[a>>2];v[b+20>>2]=42;v[b+24>>2]=65500;Ub[v[v[a>>2]>>2]](a)}d=v[a+56>>2];c=v[a+376>>2];e=B(c,v[a+60>>2]);a:{if(d>>>0>=e>>>0){v[a+64>>2]=B(c,v[a+28>>2]);b=1;c=B(c,v[a+32>>2]);break a}if(e>>>0<=d<<1>>>0){b=2;v[a+64>>2]=(B(c,v[a+28>>2])+1|0)/2;c=(B(v[a+376>>2],v[a+32>>2])+1|0)/2|0;break a}b=3;if(e>>>0<=B(d,3)>>>0){v[a+64>>2]=(B(c,v[a+28>>2])+2|0)/3;c=(B(v[a+376>>2],v[a+32>>2])+2|0)/3|0;break a}if(e>>>0<=d<<2>>>0){b=4;v[a+64>>2]=(B(c,v[a+28>>2])+3|0)/4;c=(B(v[a+376>>2],v[a+32>>2])+3|0)/4|0;break a}b=5;if(e>>>0<=B(d,5)>>>0){v[a+64>>2]=(B(c,v[a+28>>2])+4|0)/5;c=(B(v[a+376>>2],v[a+32>>2])+4|0)/5|0;break a}b=6;if(e>>>0<=B(d,6)>>>0){v[a+64>>2]=(B(c,v[a+28>>2])+5|0)/6;c=(B(v[a+376>>2],v[a+32>>2])+5|0)/6|0;break a}b=7;if(e>>>0<=B(d,7)>>>0){v[a+64>>2]=(B(c,v[a+28>>2])+6|0)/7;c=(B(v[a+376>>2],v[a+32>>2])+6|0)/7|0;break a}if(e>>>0<=d<<3>>>0){b=8;v[a+64>>2]=(B(c,v[a+28>>2])+7|0)/8;c=(B(v[a+376>>2],v[a+32>>2])+7|0)/8|0;break a}b=9;if(e>>>0<=B(d,9)>>>0){v[a+64>>2]=(B(c,v[a+28>>2])+8|0)/9;c=(B(v[a+376>>2],v[a+32>>2])+8|0)/9|0;break a}b=10;if(e>>>0<=B(d,10)>>>0){v[a+64>>2]=(B(c,v[a+28>>2])+9|0)/10;c=(B(v[a+376>>2],v[a+32>>2])+9|0)/10|0;break a}b=11;if(e>>>0<=B(d,11)>>>0){v[a+64>>2]=(B(c,v[a+28>>2])+10|0)/11;c=(B(v[a+376>>2],v[a+32>>2])+10|0)/11|0;break a}b=12;if(e>>>0<=B(d,12)>>>0){v[a+64>>2]=(B(c,v[a+28>>2])+11|0)/12;c=(B(v[a+376>>2],v[a+32>>2])+11|0)/12|0;break a}b=13;if(e>>>0<=B(d,13)>>>0){v[a+64>>2]=(B(c,v[a+28>>2])+12|0)/13;c=(B(v[a+376>>2],v[a+32>>2])+12|0)/13|0;break a}b=14;if(e>>>0<=B(d,14)>>>0){v[a+64>>2]=(B(c,v[a+28>>2])+13|0)/14;c=(B(v[a+376>>2],v[a+32>>2])+13|0)/14|0;break a}c=B(c,v[a+28>>2]);b=15;if(e>>>0<=B(d,15)>>>0){v[a+64>>2]=(c+14|0)/15;c=(B(v[a+376>>2],v[a+32>>2])+14|0)/15|0;break a}b=16;v[a+64>>2]=(c+15|0)/16;c=(B(v[a+376>>2],v[a+32>>2])+15|0)/16|0}v[a+280>>2]=b;v[a+276>>2]=b;v[a+68>>2]=c;c=a;b=v[a+376>>2];if(b-1>>>0>=16){d=v[a>>2];v[d+24>>2]=b;v[d+20>>2]=7;v[v[a>>2]+28>>2]=v[a+376>>2];Ub[v[v[a>>2]>>2]](a);b=v[a+376>>2]}d=b-2|0;if(d>>>0<=5){d=v[(d<<2)+74180>>2]}else{d=70032}v[c+380>>2]=d;v[a+384>>2]=(b|0)<8?B(b,b)-1|0:63;b=v[a+68>>2];b:{if(!(!b|!v[a+64>>2]|v[a+76>>2]<1)){if(v[a+36>>2]>0){break b}}b=v[a>>2];v[b+20>>2]=33;Ub[v[b>>2]](a);b=v[a+68>>2]}if(!(v[a+64>>2]<65501&(b|0)<=65500)){b=v[a>>2];v[b+20>>2]=42;v[b+24>>2]=65500;Ub[v[v[a>>2]>>2]](a)}b=v[a+72>>2];if((b|0)!=8){c=v[a>>2];v[c+24>>2]=b;v[c+20>>2]=16;Ub[v[v[a>>2]>>2]](a)}e=v[a+76>>2];if((e|0)>=11){b=v[a>>2];v[b+24>>2]=e;v[b+20>>2]=27;v[v[a>>2]+28>>2]=10;Ub[v[v[a>>2]>>2]](a);e=v[a+76>>2]}v[a+268>>2]=1;v[a+272>>2]=1;f=1;c:{if((e|0)<1){break c}b=v[a+84>>2];h=1;while(1){d=v[b+8>>2];d:{if(d-1>>>0<=3){c=v[b+12>>2];if(c-1>>>0<4){break d}}c=v[a>>2];v[c+20>>2]=19;Ub[v[c>>2]](a);e=v[a+76>>2];c=v[b+12>>2];f=v[a+272>>2];d=v[b+8>>2];h=v[a+268>>2]}f=(c|0)<(f|0)?f:c;v[a+272>>2]=f;h=(d|0)<(h|0)?h:d;v[a+268>>2]=h;b=b+88|0;g=g+1|0;if((g|0)<(e|0)){continue}break}if((e|0)<1){break c}b=v[a+84>>2];h=0;while(1){v[b+4>>2]=h;c=v[a+276>>2];g=v[a+224>>2]?8:4;e:{if((c|0)>(g|0)){d=c;break e}e=v[a+268>>2];j=v[b+8>>2];if((e|0)%(j<<1)|0){d=c;break e}f=2;while(1){d=B(c,f);if((g|0)<(d|0)){break e}f=f<<1;if(!((e|0)%(B(j,f)|0)|0)){continue}break}}v[b+36>>2]=d;e=v[a+280>>2];f:{if((e|0)>(g|0)){c=e;break f}j=v[a+272>>2];n=v[b+12>>2];if((j|0)%(n<<1)|0){c=e;break f}f=2;while(1){c=B(e,f);if((g|0)<(c|0)){break f}f=f<<1;if(!((j|0)%(B(n,f)|0)|0)){continue}break}}v[b+40>>2]=c;e=c<<1;g:{if((e|0)<(d|0)){v[b+36>>2]=e;break g}e=c;c=d<<1;if((e|0)<=(c|0)){break g}v[b+40>>2]=c}c=B(v[a+376>>2],v[a+268>>2]);v[b+28>>2]=((c+B(v[b+8>>2],v[a+64>>2])|0)-1|0)/(c|0);c=B(v[a+376>>2],v[a+272>>2]);v[b+32>>2]=((c+B(v[b+12>>2],v[a+68>>2])|0)-1|0)/(c|0);c=B(v[a+376>>2],v[a+268>>2]);v[b+44>>2]=((c+B(v[b+36>>2],B(v[b+8>>2],v[a+64>>2]))|0)-1|0)/(c|0);c=B(v[a+376>>2],v[a+272>>2]);c=((c+B(v[b+40>>2],B(v[b+12>>2],v[a+68>>2]))|0)-1|0)/(c|0)|0;v[b+52>>2]=1;v[b+48>>2]=c;b=b+88|0;h=h+1|0;if((h|0)>2]){continue}break}f=v[a+272>>2]}b=B(v[a+376>>2],f);v[a+284>>2]=((b+v[a+68>>2]|0)-1|0)/(b|0);g=v[a+204>>2];h:{if(g){if(v[a+200>>2]<=0){b=v[a>>2];v[b+20>>2]=20;v[b+24>>2]=0;Ub[v[v[a>>2]>>2]](a);g=v[a+204>>2]}i:{if(!(v[g+24>>2]==63?!v[g+20>>2]:0)){h=1;v[a+264>>2]=1;f=v[a+76>>2];if((f|0)<1){break i}ic(k,255,f<<8);break i}h=0;v[a+264>>2]=0;f=v[a+76>>2];if((f|0)<1){break i}ic(k+2560|0,0,f<<2)}b=1;if(v[a+200>>2]>=1){while(1){d=b;j:{k:{n=v[g>>2];if(n-1>>>0<4){break k}b=v[a>>2];v[b+24>>2]=n;v[b+20>>2]=27;v[v[a>>2]+28>>2]=4;Ub[v[v[a>>2]>>2]](a);if((n|0)>=1){break k}h=0;break j}b=v[g+4>>2];if(!((b|0)>=0&(b|0)>2])){b=v[a>>2];v[b+24>>2]=d;v[b+20>>2]=20;Ub[v[v[a>>2]>>2]](a)}b=1;h=1;if((n|0)==1){break j}while(1){e=(b<<2)+g|0;c=v[e+4>>2];if(!((c|0)>=0&(c|0)>2])){f=v[a>>2];v[f+24>>2]=d;v[f+20>>2]=20;Ub[v[v[a>>2]>>2]](a)}if((c|0)<=v[e>>2]){c=v[a>>2];v[c+24>>2]=d;v[c+20>>2]=20;Ub[v[v[a>>2]>>2]](a)}b=b+1|0;if((n|0)!=(b|0)){continue}break}}f=v[g+32>>2];q=v[g+28>>2];j=v[g+24>>2];e=v[g+20>>2];l:{if(v[a+264>>2]){m:{n:{if((e|0)>(j|0)|e>>>0>63|((q|0)<0|(j|0)>63)){break n}if((f|0)<0|(q|0)>10){break n}if((f|0)<11){break m}}b=v[a>>2];v[b+24>>2]=d;v[b+20>>2]=18;Ub[v[v[a>>2]>>2]](a)}o:{p:{if(!e){if(j){break p}break o}if((n|0)==1){break o}}b=v[a>>2];v[b+24>>2]=d;v[b+20>>2]=18;Ub[v[v[a>>2]>>2]](a)}if(!h){break l}r=q-1|0;c=e+1|0;p=j-e|0;u=p+1&1;s=0;while(1){h=v[((s<<2)+g|0)+4>>2];if(!(!e|v[k+(h<<8)>>2]>-1)){b=v[a>>2];v[b+24>>2]=d;v[b+20>>2]=18;Ub[v[v[a>>2]>>2]](a)}q:{if((e|0)>(j|0)){break q}b=e;if(!q){if((f|0)!=(r|0)){if(u){b=(k+(h<<8)|0)+(e<<2)|0;if(v[b>>2]>=0){l=v[a>>2];v[l+24>>2]=d;v[l+20>>2]=18;Ub[v[v[a>>2]>>2]](a)}v[b>>2]=f;b=c}if(!p){break q}while(1){l=k+(h<<8)|0;m=l+(b<<2)|0;if(v[m>>2]>=0){o=v[a>>2];v[o+24>>2]=d;v[o+20>>2]=18;Ub[v[v[a>>2]>>2]](a)}v[m>>2]=f;m=b+1|0;l=l+(m<<2)|0;if(v[l>>2]>=0){o=v[a>>2];v[o+24>>2]=d;v[o+20>>2]=18;Ub[v[v[a>>2]>>2]](a)}v[l>>2]=f;b=b+2|0;if((j|0)!=(m|0)){continue}break}break q}if(u){b=(k+(h<<8)|0)+(e<<2)|0;if(v[b>>2]>=1){l=v[a>>2];v[l+24>>2]=d;v[l+20>>2]=18;Ub[v[v[a>>2]>>2]](a)}v[b>>2]=f;b=c}if(!p){break q}while(1){l=k+(h<<8)|0;m=l+(b<<2)|0;if(v[m>>2]>=1){o=v[a>>2];v[o+24>>2]=d;v[o+20>>2]=18;Ub[v[v[a>>2]>>2]](a)}v[m>>2]=f;m=b+1|0;l=l+(m<<2)|0;if(v[l>>2]>=1){o=v[a>>2];v[o+24>>2]=d;v[o+20>>2]=18;Ub[v[v[a>>2]>>2]](a)}v[l>>2]=f;b=b+2|0;if((j|0)!=(m|0)){continue}break}break q}while(1){l=(k+(h<<8)|0)+(b<<2)|0;m=v[l>>2];if(!(!((m|0)<0|(m|0)!=(q|0))&(f|0)==(r|0))){m=v[a>>2];v[m+24>>2]=d;v[m+20>>2]=18;Ub[v[v[a>>2]>>2]](a)}v[l>>2]=f;l=(b|0)!=(j|0);b=b+1|0;if(l){continue}break}}s=s+1|0;if((n|0)!=(s|0)){continue}break}break l}r:{if(!(q|((j|0)!=63|e))){if(!f){break r}}b=v[a>>2];v[b+24>>2]=d;v[b+20>>2]=18;Ub[v[v[a>>2]>>2]](a)}b=0;if(!h){break l}while(1){c=(k+2560|0)+(v[((b<<2)+g|0)+4>>2]<<2)|0;if(v[c>>2]){e=v[a>>2];v[e+24>>2]=d;v[e+20>>2]=20;Ub[v[v[a>>2]>>2]](a)}v[c>>2]=1;b=b+1|0;if((n|0)!=(b|0)){continue}break}}b=d+1|0;g=g+36|0;if((d|0)>2]){continue}break}h=v[a+264>>2];f=v[a+76>>2]}s:{if(h){b=0;if((f|0)<=0){break s}while(1){if(v[k+(b<<8)>>2]<=-1){c=v[a>>2];v[c+20>>2]=46;Ub[v[c>>2]](a);f=v[a+76>>2]}b=b+1|0;if((f|0)>(b|0)){continue}break}break s}b=0;if((f|0)<=0){break s}while(1){if(!v[(k+2560|0)+(b<<2)>>2]){c=v[a>>2];v[c+20>>2]=46;Ub[v[c>>2]](a);f=v[a+76>>2]}b=b+1|0;if((f|0)>(b|0)){continue}break}}if(v[a+376>>2]>7){break h}f=0;if(v[a+200>>2]<1){v[a+200>>2]=0;break h}e=v[a+204>>2];b=0;while(1){if((b|0)!=(f|0)){d=e+B(f,36)|0;g=v[d+4>>2];c=e+B(b,36)|0;v[c>>2]=v[d>>2];v[c+4>>2]=g;v[c+32>>2]=v[d+32>>2];g=v[d+28>>2];v[c+24>>2]=v[d+24>>2];v[c+28>>2]=g;g=v[d+20>>2];v[c+16>>2]=v[d+16>>2];v[c+20>>2]=g;g=v[d+12>>2];v[c+8>>2]=v[d+8>>2];v[c+12>>2]=g}d=v[a+384>>2];c=e+B(b,36)|0;if((d|0)>=v[c+20>>2]){if((d|0)>2]){v[c+24>>2]=d}b=b+1|0}f=f+1|0;if((f|0)>2]){continue}break}v[a+200>>2]=b;break h}v[a+200>>2]=1;v[a+264>>2]=0}if(!(v[a+212>>2]|!v[a+264>>2]&v[a+376>>2]>7)){v[a+216>>2]=1}b=i;d=b;v[b+20>>2]=0;c=v[a+216>>2];v[b+24>>2]=0;v[b+32>>2]=0;b=v[a+200>>2]<<1;t:{if(c){break t}b=v[a+200>>2]}v[d+28>>2]=b;Qb=k+2608|0;if(!v[a+208>>2]){b=Ub[v[v[a+4>>2]>>2]](a,1,12)|0;v[a+408>>2]=b;v[b>>2]=284;u:{v:{w:{switch(v[a+40>>2]-1|0){case 0:if(v[a+36>>2]!=1){break v}break u;case 1:case 2:if(v[a+36>>2]!=3){break v}break u;case 3:case 4:if(v[a+36>>2]!=4){break v}break u;default:break w}}if(v[a+36>>2]>0){break u}}c=v[a>>2];v[c+20>>2]=10;Ub[v[c>>2]](a)}x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{c=v[a+80>>2];switch(c-1|0){case 4:break C;case 3:break D;case 2:break E;case 1:break F;case 0:break G;default:break B}}if(v[a+76>>2]!=1){c=v[a>>2];v[c+20>>2]=11;Ub[v[c>>2]](a)}H:{switch(v[a+40>>2]-1|0){case 0:v[b+4>>2]=285;break x;case 1:v[b+4>>2]=286;break A;case 2:v[b+4>>2]=285;break x;default:break H}}break z}if(v[a+76>>2]!=3){c=v[a>>2];v[c+20>>2]=11;Ub[v[c>>2]](a)}if(v[a+40>>2]==2){break y}break z}if(v[a+76>>2]!=3){c=v[a>>2];v[c+20>>2]=11;Ub[v[c>>2]](a)}I:{switch(v[a+40>>2]-2|0){case 0:v[b+4>>2]=289;break A;case 1:break y;default:break I}}break z}if(v[a+76>>2]!=4){c=v[a>>2];v[c+20>>2]=11;Ub[v[c>>2]](a)}if(v[a+40>>2]==4){break y}break z}if(v[a+76>>2]!=4){c=v[a>>2];v[c+20>>2]=11;Ub[v[c>>2]](a)}J:{switch(v[a+40>>2]-4|0){case 0:v[b+4>>2]=290;break A;case 1:break y;default:break J}}break z}if(!((c|0)==v[a+40>>2]&v[a+76>>2]==v[a+36>>2])){c=v[a>>2];v[c+20>>2]=28;Ub[v[c>>2]](a)}v[b+4>>2]=288;break x}v[b>>2]=287;break x}b=v[a>>2];v[b+20>>2]=28;Ub[v[b>>2]](a);break x}v[b+4>>2]=288}e=0;b=Ub[v[v[a+4>>2]>>2]](a,1,112)|0;v[a+412>>2]=b;v[b+8>>2]=0;v[b+4>>2]=298;v[b>>2]=299;if(v[a+220>>2]){c=v[a>>2];v[c+20>>2]=26;Ub[v[c>>2]](a)}K:{if(v[a+76>>2]<1){break K}n=b+102|0;q=b+92|0;g=b+12|0;s=b+52|0;c=v[a+84>>2];f=1;while(1){d=v[a+272>>2];h=v[a+268>>2];j=v[a+276>>2];r=v[c+36>>2];p=v[c+8>>2];k=e<<2;i=(B(v[c+40>>2],v[c+12>>2])|0)/v[a+280>>2]|0;v[k+s>>2]=i;j=(B(r,p)|0)/(j|0)|0;L:{if(!((j|0)!=(h|0)|(d|0)!=(i|0))){d=g+k|0;if(v[a+228>>2]){v[d>>2]=300;v[b+8>>2]=1;break L}v[d>>2]=301;break L}r=(h|0)!=j<<1;if(!(r|(d|0)!=(i|0))){v[g+k>>2]=302;f=0;break L}if(!((d|0)!=i<<1|r)){d=g+k|0;if(v[a+228>>2]){v[d>>2]=303;v[b+8>>2]=1;break L}v[d>>2]=304;break L}M:{u=h;h=(h|0)/(j|0)|0;if(u-B(h,j)|0){break M}j=d;d=(d|0)/(i|0)|0;if(j-B(d,i)|0){break M}v[g+k>>2]=305;t[e+q|0]=h;t[e+n|0]=d;f=0;break L}d=v[a>>2];v[d+20>>2]=39;Ub[v[d>>2]](a)}c=c+88|0;e=e+1|0;if((e|0)>2]){continue}break}if(f|!v[a+228>>2]){break K}b=v[a>>2];v[b+20>>2]=101;Ub[v[b+4>>2]](a,0)}c=0;e=0;f=0;h=Ub[v[v[a+4>>2]>>2]](a,1,64)|0;v[a+396>>2]=h;v[h>>2]=306;N:{if(v[v[a+412>>2]+8>>2]){v[h+4>>2]=307;i=v[a+272>>2];e=Ub[v[v[a+4>>2]>>2]](a,1,B(B(i,v[a+76>>2]),20))|0;if(v[a+76>>2]<1){break N}q=B(i,5);s=B(i,12);r=B(i,3);g=v[a+84>>2];if((i|0)<1){while(1){w=h+(c<<2)|0,x=gc((i<<2)+e|0,Ub[v[v[a+4>>2]+8>>2]](a,1,(B(v[a+268>>2],B(v[a+276>>2],v[g+28>>2]))|0)/v[g+8>>2]|0,r)|0,s),v[w+8>>2]=x;g=g+88|0;e=(q<<2)+e|0;c=c+1|0;if((c|0)>2]){continue}break}break N}u=i<<2;j=u;n=i<<1;d=i&-2;l=i&1;while(1){k=Ub[v[v[a+4>>2]+8>>2]](a,1,(B(v[a+268>>2],B(v[a+276>>2],v[g+28>>2]))|0)/v[g+8>>2]|0,r)|0;m=gc(e+u|0,k,s);c=0;b=d;if((i|0)!=1){while(1){p=c<<2;v[p+e>>2]=v[k+(c+n<<2)>>2];v[(c+j<<2)+e>>2]=v[k+p>>2];p=c|1;o=p<<2;v[o+e>>2]=v[k+(n+p<<2)>>2];v[(j+p<<2)+e>>2]=v[k+o>>2];c=c+2|0;b=b-2|0;if(b){continue}break}}if(l){b=c<<2;v[b+e>>2]=v[k+(c+n<<2)>>2];v[(c+j<<2)+e>>2]=v[b+k>>2]}v[(h+(f<<2)|0)+8>>2]=m;g=g+88|0;e=(q<<2)+e|0;f=f+1|0;if((f|0)>2]){continue}break}break N}v[h+4>>2]=308;if(v[a+76>>2]<1){break N}b=h+8|0;c=v[a+84>>2];while(1){w=b+(e<<2)|0,x=Ub[v[v[a+4>>2]+8>>2]](a,1,(B(v[a+268>>2],B(v[a+276>>2],v[c+28>>2]))|0)/v[c+8>>2]|0,v[a+272>>2])|0,v[w>>2]=x;c=c+88|0;e=e+1|0;if((e|0)>2]){continue}break}}}b=Ub[v[v[a+4>>2]>>2]](a,1,156)|0;v[a+416>>2]=b;v[b+84>>2]=0;v[b+88>>2]=0;v[b>>2]=309;v[b+92>>2]=0;v[b+96>>2]=0;v[b+140>>2]=0;v[b+144>>2]=0;v[b+148>>2]=0;v[b+152>>2]=0;O:{if(v[a+212>>2]){b=Ub[v[v[a+4>>2]>>2]](a,1,208)|0;v[a+420>>2]=b;v[b+8>>2]=346;v[b>>2]=347;ic(b+76|0,0,128);t[b+204|0]=113;break O}b=Ub[v[v[a+4>>2]>>2]](a,1,140)|0;v[a+420>>2]=b;v[b+44>>2]=0;v[b+48>>2]=0;v[b>>2]=353;v[b+52>>2]=0;v[b+56>>2]=0;v[b+60>>2]=0;v[b+64>>2]=0;v[b+68>>2]=0;v[b+72>>2]=0;v[b+76>>2]=0;v[b+80>>2]=0;v[b+84>>2]=0;v[b+88>>2]=0;v[b+92>>2]=0;v[b+96>>2]=0;v[b+100>>2]=0;v[b+104>>2]=0;if(v[a+264>>2]){v[b+136>>2]=0}}c=v[a+200>>2]<=1?v[a+216>>2]!=0:1;b=Ub[v[v[a+4>>2]>>2]](a,1,104)|0;v[a+400>>2]=b;v[b>>2]=362;P:{if(c){if(v[a+76>>2]<1){break P}e=b- -64|0;b=v[a+84>>2];d=0;while(1){c=v[b+8>>2];i=(c+v[b+28>>2]|0)-1|0;h=i-((i|0)%(c|0)|0)|0;c=v[b+12>>2];i=(c+v[b+32>>2]|0)-1|0;w=e+(d<<2)|0,x=Ub[v[v[a+4>>2]+20>>2]](a,1,0,h,i-((i|0)%(c|0)|0)|0,c)|0,v[w>>2]=x;b=b+88|0;d=d+1|0;if((d|0)>2]){continue}break}break P}c=Ub[v[v[a+4>>2]+4>>2]](a,1,1280)|0;v[b+64>>2]=0;v[b+24>>2]=c;v[b+60>>2]=c+1152;v[b+56>>2]=c+1024;v[b+52>>2]=c+896;v[b+48>>2]=c+768;v[b+44>>2]=c+640;v[b+40>>2]=c+512;v[b+36>>2]=c+384;v[b+32>>2]=c+256;v[b+28>>2]=c+128}d=0;b=Ub[v[v[a+4>>2]>>2]](a,1,64)|0;v[a+392>>2]=b;v[b>>2]=366;if(!(v[a+208>>2]|v[a+76>>2]<1)){c=b+24|0;b=v[a+84>>2];while(1){w=c+(d<<2)|0,x=Ub[v[v[a+4>>2]+8>>2]](a,1,B(v[b+36>>2],v[b+28>>2]),B(v[b+40>>2],v[b+12>>2]))|0,v[w>>2]=x;b=b+88|0;d=d+1|0;if((d|0)>2]){continue}break}}WV(a);Ub[v[v[a+4>>2]+24>>2]](a);Ub[v[v[a+404>>2]>>2]](a);Ub[v[v[a+388>>2]>>2]](a);v[a+260>>2]=0;v[a+20>>2]=v[a+208>>2]?102:101}function pIa(a,b){a=a|0;b=b|0;var 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,w=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;A=Qb-256|0;Qb=A;e=v[a+420>>2];c=v[a+24>>2];v[e+112>>2]=v[c>>2];v[e+116>>2]=v[c+4>>2];if(!(v[e+36>>2]|!v[a+236>>2])){xy(e,v[e+40>>2])}a:{b:{c:{d=v[a+360>>2];G=v[a+364>>2];h=(d|0)>(G|0);if(!h){H=v[b>>2];I=v[a+380>>2];r=v[a+372>>2];b=(G-d|0)+1|0;B=b&1;if((d|0)!=(G|0)){break c}b=d;break b}y=e+12|0;C=e+16|0;D=e+108|0;K=e+124|0;m=e+120|0;E=e+128|0;F=e+132|0;L=e+136|0;break a}m=b&-2;b=d;while(1){f=b<<2;c=u[(v[f+I>>2]<<1)+H>>1];g=c>>31;k=((g^c+g)&65535)>>>r|0;v[f+A>>2]=k;g=b+1|0;f=g<<2;c=u[(v[f+I>>2]<<1)+H>>1];w=c>>31;c=((w^c+w)&65535)>>>r|0;v[f+A>>2]=c;J=(c|0)==1?g:(k|0)==1?b:J;b=b+2|0;m=m-2|0;if(m){continue}break}}if(B){f=b<<2;c=u[(v[f+I>>2]<<1)+H>>1];g=c>>31;c=((g^c+g)&65535)>>>r|0;v[f+A>>2]=c;J=(c|0)==1?b:J}l=e;y=e+12|0;o=e;C=e+16|0;n=e;D=e+108|0;B=e;K=e+124|0;i=e;m=e+120|0;r=e;E=e+128|0;w=e;F=e+132|0;L=e+136|0;if(h){f=0;break a}s=v[e+136>>2]+v[w+132>>2]|0;f=0;while(1){k=d;M=d<<2;q=v[M+A>>2];d:{if(q){if(!((f|0)<16|(k|0)>(J|0))){while(1){g=f;b=0;e:{f:{g:{d=v[r+128>>2];switch(d|0){case 0:break e;case 1:break f;default:break g}}while(1){c=b;b=c+1|0;d=d>>1;if(d>>>0>1){continue}break}if(c>>>0<14){break f}d=v[i+120>>2];c=v[d>>2];v[c+20>>2]=41;Ub[v[c>>2]](d)}d=b<<4;c=v[B+124>>2];h:{if(v[n+108>>2]){c=v[((c<<2)+e|0)+92>>2]+(d<<2)|0;v[c>>2]=v[c>>2]+1;break h}c=v[((c<<2)+e|0)+60>>2];h=v[c+(d<<2)>>2];f=v[e+16>>2];j=t[(c+d|0)+1024|0];if(!j){d=v[i+120>>2];c=v[d>>2];v[c+20>>2]=41;Ub[v[c>>2]](d);if(v[n+108>>2]){break h}}f=f+j|0;d=v[l+12>>2]|(h&(-1<=8){while(1){c=v[e+112>>2];v[e+112>>2]=c+1;t[c|0]=d>>>16;c=v[e+116>>2]-1|0;v[e+116>>2]=c;if(!c){c=v[i+120>>2];j=v[c+24>>2];if(!(Ub[v[j+12>>2]](c)|0)){h=v[i+120>>2];c=v[h>>2];v[c+20>>2]=25;Ub[v[c>>2]](h)}v[e+112>>2]=v[j>>2];v[e+116>>2]=v[j+4>>2]}c=f;i:{if((d&16711680)!=16711680){break i}f=v[e+112>>2];v[e+112>>2]=f+1;t[f|0]=0;f=v[e+116>>2]-1|0;v[e+116>>2]=f;if(f){break i}f=v[i+120>>2];j=v[f+24>>2];if(!(Ub[v[j+12>>2]](f)|0)){h=v[i+120>>2];f=v[h>>2];v[f+20>>2]=25;Ub[v[f>>2]](h)}v[e+112>>2]=v[j>>2];v[e+116>>2]=v[j+4>>2]}f=c-8|0;d=d<<8;if((c|0)>15){continue}break}}v[l+12>>2]=d;v[o+16>>2]=f}if(!(v[n+108>>2]|!b)){c=v[o+16>>2]+b|0;b=v[l+12>>2]|(v[r+128>>2]&(-1<=8){while(1){d=v[e+112>>2];v[e+112>>2]=d+1;t[d|0]=b>>>16;d=v[e+116>>2]-1|0;v[e+116>>2]=d;if(!d){d=v[i+120>>2];h=v[d+24>>2];if(!(Ub[v[h+12>>2]](d)|0)){f=v[i+120>>2];d=v[f>>2];v[d+20>>2]=25;Ub[v[d>>2]](f)}v[e+112>>2]=v[h>>2];v[e+116>>2]=v[h+4>>2]}d=c;j:{if((b&16711680)!=16711680){break j}c=v[e+112>>2];v[e+112>>2]=c+1;t[c|0]=0;c=v[e+116>>2]-1|0;v[e+116>>2]=c;if(c){break j}c=v[i+120>>2];h=v[c+24>>2];if(!(Ub[v[h+12>>2]](c)|0)){f=v[i+120>>2];c=v[f>>2];v[c+20>>2]=25;Ub[v[c>>2]](f)}v[e+112>>2]=v[h>>2];v[e+116>>2]=v[h+4>>2]}c=d-8|0;b=b<<8;if((d|0)>15){continue}break}}v[l+12>>2]=b;v[o+16>>2]=c}v[r+128>>2]=0;k:{if(v[n+108>>2]){break k}h=v[w+132>>2];if(!h){break k}f=v[e+136>>2];b=0;while(1){if(!b){d=v[o+16>>2];b=v[l+12>>2]|(t[f|0]&1)<<23-d;c=d+1|0;if((d|0)>=7){while(1){d=v[e+112>>2];v[e+112>>2]=d+1;t[d|0]=b>>>16;d=v[e+116>>2]-1|0;v[e+116>>2]=d;if(!d){d=v[i+120>>2];z=v[d+24>>2];if(!(Ub[v[z+12>>2]](d)|0)){j=v[i+120>>2];d=v[j>>2];v[d+20>>2]=25;Ub[v[d>>2]](j)}v[e+112>>2]=v[z>>2];v[e+116>>2]=v[z+4>>2]}d=c;l:{if((b&16711680)!=16711680){break l}c=v[e+112>>2];v[e+112>>2]=c+1;t[c|0]=0;c=v[e+116>>2]-1|0;v[e+116>>2]=c;if(c){break l}c=v[i+120>>2];z=v[c+24>>2];if(!(Ub[v[z+12>>2]](c)|0)){j=v[i+120>>2];c=v[j>>2];v[c+20>>2]=25;Ub[v[c>>2]](j)}v[e+112>>2]=v[z>>2];v[e+116>>2]=v[z+4>>2]}c=d-8|0;b=b<<8;if((d|0)>15){continue}break}}v[l+12>>2]=b;v[o+16>>2]=c}h=h-1|0;if(!h){break k}f=f+1|0;b=v[n+108>>2];continue}}v[w+132>>2]=0}b=v[B+124>>2];m:{if(v[n+108>>2]){b=v[((b<<2)+e|0)+92>>2];v[b+960>>2]=v[b+960>>2]+1;break m}b=v[((b<<2)+e|0)+60>>2];f=v[b+960>>2];d=v[e+16>>2];h=t[b+1264|0];if(!h){c=v[i+120>>2];b=v[c>>2];v[b+20>>2]=41;Ub[v[b>>2]](c);if(v[n+108>>2]){break m}}c=d+h|0;b=v[l+12>>2]|(f&(-1<=8){while(1){d=v[e+112>>2];v[e+112>>2]=d+1;t[d|0]=b>>>16;d=v[e+116>>2]-1|0;v[e+116>>2]=d;if(!d){d=v[i+120>>2];j=v[d+24>>2];if(!(Ub[v[j+12>>2]](d)|0)){h=v[i+120>>2];d=v[h>>2];v[d+20>>2]=25;Ub[v[d>>2]](h)}v[e+112>>2]=v[j>>2];v[e+116>>2]=v[j+4>>2]}d=c;n:{if((b&16711680)!=16711680){break n}c=v[e+112>>2];v[e+112>>2]=c+1;t[c|0]=0;c=v[e+116>>2]-1|0;v[e+116>>2]=c;if(c){break n}c=v[i+120>>2];j=v[c+24>>2];if(!(Ub[v[j+12>>2]](c)|0)){h=v[i+120>>2];c=v[h>>2];v[c+20>>2]=25;Ub[v[c>>2]](h)}v[e+112>>2]=v[j>>2];v[e+116>>2]=v[j+4>>2]}c=d-8|0;b=b<<8;if((d|0)>15){continue}break}d=v[n+108>>2]}v[l+12>>2]=b;v[o+16>>2]=c;if(!p|d){break m}while(1){if(!f){d=v[o+16>>2];b=v[l+12>>2]|(t[s|0]&1)<<23-d;c=d+1|0;if((d|0)>=7){while(1){d=v[e+112>>2];v[e+112>>2]=d+1;t[d|0]=b>>>16;d=v[e+116>>2]-1|0;v[e+116>>2]=d;if(!d){d=v[i+120>>2];h=v[d+24>>2];if(!(Ub[v[h+12>>2]](d)|0)){f=v[i+120>>2];d=v[f>>2];v[d+20>>2]=25;Ub[v[d>>2]](f)}v[e+112>>2]=v[h>>2];v[e+116>>2]=v[h+4>>2]}d=c;o:{if((b&16711680)!=16711680){break o}c=v[e+112>>2];v[e+112>>2]=c+1;t[c|0]=0;c=v[e+116>>2]-1|0;v[e+116>>2]=c;if(c){break o}c=v[i+120>>2];h=v[c+24>>2];if(!(Ub[v[h+12>>2]](c)|0)){f=v[i+120>>2];c=v[f>>2];v[c+20>>2]=25;Ub[v[c>>2]](f)}v[e+112>>2]=v[h>>2];v[e+116>>2]=v[h+4>>2]}c=d-8|0;b=b<<8;if((d|0)>15){continue}break}}v[l+12>>2]=b;v[o+16>>2]=c}p=p-1|0;if(!p){break m}s=s+1|0;f=v[n+108>>2];continue}}f=g-16|0;s=v[e+136>>2];p=0;if((g|0)>31){continue}break}}if((q|0)>=2){t[p+s|0]=q&1;p=p+1|0;break d}b=0;p:{q:{r:{d=v[r+128>>2];switch(d|0){case 0:break p;case 1:break q;default:break r}}while(1){c=b;b=c+1|0;d=d>>1;if(d>>>0>1){continue}break}if(c>>>0<14){break q}d=v[i+120>>2];c=v[d>>2];v[c+20>>2]=41;Ub[v[c>>2]](d)}d=b<<4;c=v[B+124>>2];s:{if(v[n+108>>2]){c=v[((c<<2)+e|0)+92>>2]+(d<<2)|0;v[c>>2]=v[c>>2]+1;break s}c=v[((c<<2)+e|0)+60>>2];h=v[c+(d<<2)>>2];g=v[e+16>>2];j=t[(c+d|0)+1024|0];if(!j){d=v[i+120>>2];c=v[d>>2];v[c+20>>2]=41;Ub[v[c>>2]](d);if(v[n+108>>2]){break s}}c=h&(-1<>2]|c<<24-h;if((h|0)>=8){while(1){c=v[e+112>>2];v[e+112>>2]=c+1;t[c|0]=d>>>16;c=v[e+116>>2]-1|0;v[e+116>>2]=c;if(!c){c=v[i+120>>2];j=v[c+24>>2];if(!(Ub[v[j+12>>2]](c)|0)){g=v[i+120>>2];c=v[g>>2];v[c+20>>2]=25;Ub[v[c>>2]](g)}v[e+112>>2]=v[j>>2];v[e+116>>2]=v[j+4>>2]}c=h;t:{if((d&16711680)!=16711680){break t}g=v[e+112>>2];v[e+112>>2]=g+1;t[g|0]=0;g=v[e+116>>2]-1|0;v[e+116>>2]=g;if(g){break t}g=v[i+120>>2];j=v[g+24>>2];if(!(Ub[v[j+12>>2]](g)|0)){h=v[i+120>>2];g=v[h>>2];v[g+20>>2]=25;Ub[v[g>>2]](h)}v[e+112>>2]=v[j>>2];v[e+116>>2]=v[j+4>>2]}h=c-8|0;d=d<<8;if((c|0)>15){continue}break}}v[l+12>>2]=d;v[o+16>>2]=h}if(!(v[n+108>>2]|!b)){c=v[o+16>>2]+b|0;b=v[l+12>>2]|(v[r+128>>2]&(-1<=8){while(1){d=v[e+112>>2];v[e+112>>2]=d+1;t[d|0]=b>>>16;d=v[e+116>>2]-1|0;v[e+116>>2]=d;if(!d){d=v[i+120>>2];h=v[d+24>>2];if(!(Ub[v[h+12>>2]](d)|0)){g=v[i+120>>2];d=v[g>>2];v[d+20>>2]=25;Ub[v[d>>2]](g)}v[e+112>>2]=v[h>>2];v[e+116>>2]=v[h+4>>2]}d=c;u:{if((b&16711680)!=16711680){break u}c=v[e+112>>2];v[e+112>>2]=c+1;t[c|0]=0;c=v[e+116>>2]-1|0;v[e+116>>2]=c;if(c){break u}c=v[i+120>>2];h=v[c+24>>2];if(!(Ub[v[h+12>>2]](c)|0)){g=v[i+120>>2];c=v[g>>2];v[c+20>>2]=25;Ub[v[c>>2]](g)}v[e+112>>2]=v[h>>2];v[e+116>>2]=v[h+4>>2]}c=d-8|0;b=b<<8;if((d|0)>15){continue}break}}v[l+12>>2]=b;v[o+16>>2]=c}v[r+128>>2]=0;v:{if(v[n+108>>2]){break v}j=v[w+132>>2];if(!j){break v}h=v[e+136>>2];b=0;while(1){if(!b){d=v[o+16>>2];b=v[l+12>>2]|(t[h|0]&1)<<23-d;c=d+1|0;if((d|0)>=7){while(1){d=v[e+112>>2];v[e+112>>2]=d+1;t[d|0]=b>>>16;d=v[e+116>>2]-1|0;v[e+116>>2]=d;if(!d){d=v[i+120>>2];q=v[d+24>>2];if(!(Ub[v[q+12>>2]](d)|0)){g=v[i+120>>2];d=v[g>>2];v[d+20>>2]=25;Ub[v[d>>2]](g)}v[e+112>>2]=v[q>>2];v[e+116>>2]=v[q+4>>2]}d=c;w:{if((b&16711680)!=16711680){break w}c=v[e+112>>2];v[e+112>>2]=c+1;t[c|0]=0;c=v[e+116>>2]-1|0;v[e+116>>2]=c;if(c){break w}c=v[i+120>>2];q=v[c+24>>2];if(!(Ub[v[q+12>>2]](c)|0)){g=v[i+120>>2];c=v[g>>2];v[c+20>>2]=25;Ub[v[c>>2]](g)}v[e+112>>2]=v[q>>2];v[e+116>>2]=v[q+4>>2]}c=d-8|0;b=b<<8;if((d|0)>15){continue}break}}v[l+12>>2]=b;v[o+16>>2]=c}j=j-1|0;if(!j){break v}h=h+1|0;b=v[n+108>>2];continue}}v[w+132>>2]=0}c=f<<4|1;b=v[B+124>>2];x:{if(v[n+108>>2]){b=v[((b<<2)+e|0)+92>>2]+(c<<2)|0;v[b>>2]=v[b>>2]+1;break x}b=v[((b<<2)+e|0)+60>>2];f=v[b+(c<<2)>>2];d=v[e+16>>2];g=t[(b+c|0)+1024|0];if(!g){c=v[i+120>>2];b=v[c>>2];v[b+20>>2]=41;Ub[v[b>>2]](c);if(v[n+108>>2]){break x}}c=d+g|0;b=v[l+12>>2]|(f&(-1<>2]=b;v[o+16>>2]=c;break y}while(1){d=v[e+112>>2];v[e+112>>2]=d+1;t[d|0]=b>>>16;d=v[e+116>>2]-1|0;v[e+116>>2]=d;if(!d){d=v[i+120>>2];g=v[d+24>>2];if(!(Ub[v[g+12>>2]](d)|0)){f=v[i+120>>2];d=v[f>>2];v[d+20>>2]=25;Ub[v[d>>2]](f)}v[e+112>>2]=v[g>>2];v[e+116>>2]=v[g+4>>2]}d=c;z:{if((b&16711680)!=16711680){break z}c=v[e+112>>2];v[e+112>>2]=c+1;t[c|0]=0;c=v[e+116>>2]-1|0;v[e+116>>2]=c;if(c){break z}c=v[i+120>>2];g=v[c+24>>2];if(!(Ub[v[g+12>>2]](c)|0)){f=v[i+120>>2];c=v[f>>2];v[c+20>>2]=25;Ub[v[c>>2]](f)}v[e+112>>2]=v[g>>2];v[e+116>>2]=v[g+4>>2]}c=d-8|0;b=b<<8;if((d|0)>15){continue}break}d=v[n+108>>2];v[l+12>>2]=b;v[o+16>>2]=c;if(d){break x}}d=v[l+12>>2]|((x[(v[I+M>>2]<<1)+H>>1]^-1)&32768)>>>15<<23-c;b=0;A:{if((c|0)<7){f=0;c=c+1|0;break A}c=v[e+112>>2];v[e+112>>2]=c+1;t[c|0]=d>>>16;c=v[e+116>>2]-1|0;v[e+116>>2]=c;if(!c){c=v[i+120>>2];g=v[c+24>>2];if(!(Ub[v[g+12>>2]](c)|0)){f=v[i+120>>2];c=v[f>>2];v[c+20>>2]=25;Ub[v[c>>2]](f)}v[e+112>>2]=v[g>>2];v[e+116>>2]=v[g+4>>2]}B:{if((d&16711680)!=16711680){break B}c=v[e+112>>2];v[e+112>>2]=c+1;t[c|0]=0;c=v[e+116>>2]-1|0;v[e+116>>2]=c;if(c){break B}c=v[i+120>>2];g=v[c+24>>2];if(!(Ub[v[g+12>>2]](c)|0)){f=v[i+120>>2];c=v[f>>2];v[c+20>>2]=25;Ub[v[c>>2]](f)}v[e+112>>2]=v[g>>2];v[e+116>>2]=v[g+4>>2]}d=d<<8;f=v[n+108>>2];c=0}v[l+12>>2]=d;v[o+16>>2]=c;if(!p|f){break x}while(1){if(!b){d=v[o+16>>2];b=v[l+12>>2]|(t[s|0]&1)<<23-d;c=d+1|0;if((d|0)>=7){while(1){d=v[e+112>>2];v[e+112>>2]=d+1;t[d|0]=b>>>16;d=v[e+116>>2]-1|0;v[e+116>>2]=d;if(!d){d=v[i+120>>2];g=v[d+24>>2];if(!(Ub[v[g+12>>2]](d)|0)){f=v[i+120>>2];d=v[f>>2];v[d+20>>2]=25;Ub[v[d>>2]](f)}v[e+112>>2]=v[g>>2];v[e+116>>2]=v[g+4>>2]}d=c;C:{if((b&16711680)!=16711680){break C}c=v[e+112>>2];v[e+112>>2]=c+1;t[c|0]=0;c=v[e+116>>2]-1|0;v[e+116>>2]=c;if(c){break C}c=v[i+120>>2];g=v[c+24>>2];if(!(Ub[v[g+12>>2]](c)|0)){f=v[i+120>>2];c=v[f>>2];v[c+20>>2]=25;Ub[v[c>>2]](f)}v[e+112>>2]=v[g>>2];v[e+116>>2]=v[g+4>>2]}c=d-8|0;b=b<<8;if((d|0)>15){continue}break}}v[l+12>>2]=b;v[o+16>>2]=c}p=p-1|0;if(!p){break x}s=s+1|0;b=v[n+108>>2];continue}}s=v[e+136>>2];p=0;f=0;break d}f=f+1|0}d=k+1|0;if((k|0)!=(G|0)){continue}break}}D:{if(p?0:(f|0)<=0){break D}f=v[E>>2];b=f+1|0;v[E>>2]=b;c=v[F>>2]+p|0;v[F>>2]=c;if((b|0)!=32767&c>>>0<938){break D}d=0;E:{switch(f+1|0){default:while(1){c=d;d=c+1|0;b=b>>1;if(b>>>0>1){continue}break};if(c>>>0>=14){c=v[m>>2];b=v[c>>2];v[b+20>>2]=41;Ub[v[b>>2]](c)}f=d;break;case 0:break D;case 1:break E}}c=f<<4;b=v[K>>2];F:{if(v[D>>2]){b=v[((b<<2)+e|0)+92>>2]+(c<<2)|0;v[b>>2]=v[b>>2]+1;break F}b=v[((b<<2)+e|0)+60>>2];g=v[b+(c<<2)>>2];d=v[e+16>>2];k=t[(b+c|0)+1024|0];if(!k){c=v[m>>2];b=v[c>>2];v[b+20>>2]=41;Ub[v[b>>2]](c);if(v[D>>2]){break F}}c=d+k|0;b=v[y>>2]|(g&(-1<=8){while(1){d=v[e+112>>2];v[e+112>>2]=d+1;t[d|0]=b>>>16;d=v[e+116>>2]-1|0;v[e+116>>2]=d;if(!d){d=v[m>>2];k=v[d+24>>2];if(!(Ub[v[k+12>>2]](d)|0)){g=v[m>>2];d=v[g>>2];v[d+20>>2]=25;Ub[v[d>>2]](g)}v[e+112>>2]=v[k>>2];v[e+116>>2]=v[k+4>>2]}d=c;G:{if((b&16711680)!=16711680){break G}c=v[e+112>>2];v[e+112>>2]=c+1;t[c|0]=0;c=v[e+116>>2]-1|0;v[e+116>>2]=c;if(c){break G}c=v[m>>2];k=v[c+24>>2];if(!(Ub[v[k+12>>2]](c)|0)){g=v[m>>2];c=v[g>>2];v[c+20>>2]=25;Ub[v[c>>2]](g)}v[e+112>>2]=v[k>>2];v[e+116>>2]=v[k+4>>2]}c=d-8|0;b=b<<8;if((d|0)>15){continue}break}}v[y>>2]=b;v[C>>2]=c}if(!(v[D>>2]|!f)){c=v[C>>2]+f|0;b=v[y>>2]|(v[E>>2]&(-1<=8){while(1){d=v[e+112>>2];v[e+112>>2]=d+1;t[d|0]=b>>>16;d=v[e+116>>2]-1|0;v[e+116>>2]=d;if(!d){d=v[m>>2];g=v[d+24>>2];if(!(Ub[v[g+12>>2]](d)|0)){f=v[m>>2];d=v[f>>2];v[d+20>>2]=25;Ub[v[d>>2]](f)}v[e+112>>2]=v[g>>2];v[e+116>>2]=v[g+4>>2]}d=c;H:{if((b&16711680)!=16711680){break H}c=v[e+112>>2];v[e+112>>2]=c+1;t[c|0]=0;c=v[e+116>>2]-1|0;v[e+116>>2]=c;if(c){break H}c=v[m>>2];g=v[c+24>>2];if(!(Ub[v[g+12>>2]](c)|0)){f=v[m>>2];c=v[f>>2];v[c+20>>2]=25;Ub[v[c>>2]](f)}v[e+112>>2]=v[g>>2];v[e+116>>2]=v[g+4>>2]}c=d-8|0;b=b<<8;if((d|0)>15){continue}break}}v[y>>2]=b;v[C>>2]=c}v[E>>2]=0;I:{if(v[D>>2]){break I}h=v[F>>2];if(!h){break I}f=v[L>>2];b=0;while(1){if(!b){d=v[C>>2];b=v[y>>2]|(t[f|0]&1)<<23-d;c=d+1|0;if((d|0)>=7){while(1){d=v[e+112>>2];v[e+112>>2]=d+1;t[d|0]=b>>>16;d=v[e+116>>2]-1|0;v[e+116>>2]=d;if(!d){d=v[m>>2];k=v[d+24>>2];if(!(Ub[v[k+12>>2]](d)|0)){g=v[m>>2];d=v[g>>2];v[d+20>>2]=25;Ub[v[d>>2]](g)}v[e+112>>2]=v[k>>2];v[e+116>>2]=v[k+4>>2]}d=c;J:{if((b&16711680)!=16711680){break J}c=v[e+112>>2];v[e+112>>2]=c+1;t[c|0]=0;c=v[e+116>>2]-1|0;v[e+116>>2]=c;if(c){break J}c=v[m>>2];k=v[c+24>>2];if(!(Ub[v[k+12>>2]](c)|0)){g=v[m>>2];c=v[g>>2];v[c+20>>2]=25;Ub[v[c>>2]](g)}v[e+112>>2]=v[k>>2];v[e+116>>2]=v[k+4>>2]}c=d-8|0;b=b<<8;if((d|0)>15){continue}break}}v[y>>2]=b;v[C>>2]=c}h=h-1|0;if(!h){break I}f=f+1|0;b=v[D>>2];continue}}v[F>>2]=0}b=v[a+24>>2];v[b>>2]=v[e+112>>2];v[b+4>>2]=v[e+116>>2];c=v[a+236>>2];if(c){b=e;a=v[e+36>>2];if(!a){v[e+36>>2]=c;v[e+40>>2]=v[e+40>>2]+1&7;a=c}v[b+36>>2]=a-1}Qb=A+256|0;return 1}function lU(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;i=Qb-176|0;Qb=i;h=v[a+36>>2];f=v[h+16>>2];e=0;a:{if(w[f|0]!=60){break a}J=v[a+328>>2];u=v[a+304>>2];p=v[a+300>>2];v[h+16>>2]=f+1;v[h+32>>2]=v[h+32>>2]+1;v[a+200>>2]=v[a+200>>2]+1;if(!w[f+1|0]){cd(h)}F=a+320|0;b:{while(1){c:{if(v[a+292>>2]){break c}f=v[a+36>>2];e=v[f+16>>2];if((e-v[f+12>>2]|0)<501|(v[f+20>>2]-e|0)>499){break c}bh(f);e=v[a+36>>2];if(w[v[e+16>>2]]){break c}if((cd(e)|0)>0){break c}while(1){e=v[a+40>>2];if((e|0)<2){break c}d:{e:{f:{if(!v[294256]){f=e-1|0;v[a+40>>2]=f;g=v[a+48>>2];break f}v[i+144>>2]=e;g=0;Ub[v[259806]](v[294239],354269,i+144|0);e=v[a+40>>2];if((e|0)<1){break d}f=e-1|0;v[a+40>>2]=f;g=v[a+48>>2];k=0;h=0;if((e|0)==1){break e}}k=v[((e<<2)+g|0)-8>>2];h=f}v[a+36>>2]=k;e=(h<<2)+g|0;g=v[e>>2];v[e>>2]=0}Sh(g);e=v[a+36>>2];if(w[v[e+16>>2]]){break c}if((cd(e)|0)<1){continue}break}}e=v[a+36>>2];r=v[e+32>>2];x=v[e+28>>2];f=v[e+16>>2];A=v[e+12>>2];v[a+328>>2]=J;C=v[a+40>>2];q=tF(a,i+172|0);g:{if(!q){Nd(a,68,352545);break g}e=v[a+36>>2];z=f-A|0;v[d>>2]=v[e+16>>2]-(z+v[e+12>>2]|0);Bd(a);h:{if(v[a+292>>2]){break h}e=v[a+36>>2];if((v[e+20>>2]-v[e+16>>2]|0)>249){break h}nd(a)}e=v[a+36>>2];i:{if((A|0)!=v[e+12>>2]){break i}H=0;n=0;o=0;D=0;if((C|0)!=v[a+40>>2]){break i}while(1){j:{k:{I=v[e+16>>2];h=w[I|0];f=h-47|0;if(f){if((f|0)==15){break b}else{break k}}if(w[I+1|0]!=62){break j}break b}if((h|0)==13|(h-9&255)>>>0<2){break j}if(h>>>0<32){break b}}if(v[a+172>>2]==-1){break b}G=v[e+36>>2];v[i+164>>2]=-1;v[i+160>>2]=0;f=v[i+172>>2];if(!(v[a+292>>2]|(v[e+20>>2]-I|0)>249)){nd(a)}l:{m:{n:{o:{p:{q:{l=tF(a,i+168|0);if(!l){if(v[a+172>>2]==-1?v[a+212>>2]:0){break m}v[a+84>>2]=68;v[i+80>>2]=352734;f=0;oc(0,0,0,a,0,1,68,3,0,0,0,0,237306,i+80|0);v[a+12>>2]=0;if(!v[a+288>>2]){break q}l=0;break l}m=v[a+352>>2];if(m){k=v[i+168>>2];j=l;e=f;s=e;h=q;r:{s:{if(!m|!h){break s}g=B(w[(s?s:h)|0],30);if(s){f=w[s|0];if(f){while(1){g=((f<<24>>24)+(g>>>3|0)|0)+(g<<5)^g;f=w[e+1|0];e=e+1|0;if(f){continue}break}}g=((g<<5)+(g>>>3|0)|0)+58^g}f=w[h|0];if(f){e=h;while(1){g=((f<<24>>24)+(g>>>3|0)|0)+(g<<5)^g;f=w[e+1|0];e=e+1|0;if(f){continue}break}}g=(g<<5)+(g>>>3|0)^g;if(k){f=w[k|0];if(f){e=k;while(1){g=((f<<24>>24)+(g>>>3|0)|0)+(g<<5)^g;f=w[e+1|0];e=e+1|0;if(f){continue}break}}g=((g<<5)+(g>>>3|0)|0)+58^g}t:{if(!j){break t}f=w[j|0];if(!f){break t}e=j;while(1){g=((f<<24>>24)+(g>>>3|0)|0)+(g<<5)^g;f=w[e+1|0];e=e+1|0;if(f){continue}break}}f=v[m>>2];e=(((g<<5)+(g>>>3|0)^g)>>>0)%y[m+4>>2]|0;if(!v[(f+B(e,24)|0)+20>>2]|!f){break s}E=f+B(e,24)|0;while(1){g=v[E+4>>2];u:{v:{if(!s){if((g|0)==(h|0)){break v}f=h;if(!g){break u}while(1){e=w[f|0];if((e|0)!=w[g|0]){break u}g=g+1|0;f=f+1|0;if(e){continue}break}break v}if(!g){break u}f=w[s|0];e=s;while(1){m=g;f=f&255;if((f|0)!=w[g|0]){break u}g=m+1|0;if(f){e=e+1|0;f=w[e|0];if(f){continue}}break}if(w[g|0]!=58){break u}g=m+2|0;f=h;while(1){e=w[f|0];if((e|0)!=w[g|0]){break u}g=g+1|0;f=f+1|0;if(e){continue}break}}g=v[E+8>>2];w:{if(!k){if((g|0)==(j|0)){break w}if(!j){break u}f=j;if(!g){break u}while(1){e=w[f|0];if((e|0)!=w[g|0]){break u}g=g+1|0;f=f+1|0;if(e){continue}break}break w}if(!j|!g){break u}f=w[k|0];e=k;while(1){m=g;f=f&255;if((f|0)!=w[g|0]){break u}g=m+1|0;if(f){e=e+1|0;f=w[e|0];if(f){continue}}break}if(w[g|0]!=58){break u}g=m+2|0;f=j;while(1){e=w[f|0];if((e|0)!=w[g|0]){break u}g=g+1|0;f=f+1|0;if(e){continue}break}}if(v[E+12>>2]){break u}e=v[E+16>>2];break r}E=v[E>>2];if(E){continue}break}}e=0}e=(e|0)!=0}else{e=0}Bd(a);if(w[v[v[a+36>>2]+16>>2]]==61){xd(a);Bd(a);f=yF(a,i+164|0,i+160|0,e);x:{if(!e|!v[i+160>>2]){break x}if(!f){f=0;break x}k=v[i+164>>2];if((k|0)<1){break x}h=0;e=f;g=w[e|0];if((g|0)==32){while(1){h=h+1|0;g=w[e+1|0];e=e+1|0;if((g|0)==32){continue}break}}y:{z:{while(1){j=g&255;if((j|0)!=32){if(!j){break z}g=w[e+1|0];e=e+1|0;continue}g=w[e+1|0];e=e+1|0;if((g|32)!=32){continue}break}j=rk(f+h|0,(k-h|0)+1|0);h=j;if(!h){Qd(a,0);break x}while(1){e=h;h=e+1|0;g=w[e|0];if((g|0)==32){continue}break}h=j;while(1){k=g&255;A:{if((k|0)!=32){if(!k){break y}e=e+1|0;k=g;break A}while(1){k=32;m=g&255;if((m|0)==32){g=w[e+1|0];e=e+1|0;continue}break}if(!m){continue}}t[h|0]=k;h=h+1|0;g=w[e|0];continue}}if(!h){break x}e=k-h|0;v[i+164>>2]=e;Wd(f,f+h|0,e+1|0);break x}t[h|0]=0;K=i,L=Bc(j),v[K+164>>2]=L;if((f|0)==(j|0)){break x}Ub[v[259708]](f);f=j}v[a+172>>2]=7;if(v[i+168>>2]!=v[a+312>>2]){break l}e=0;if(!v[a+268>>2]){break n}if(!ag(l,273076)){break n}e=rk(f,v[i+164>>2]);if(HU(e)|(v[a+172>>2]==-1?v[a+212>>2]:0)){break n}h=v[a>>2];if(h){break p}k=0;h=0;break o}if(v[a+172>>2]==-1?v[a+212>>2]:0){break m}v[a+84>>2]=41;v[i+128>>2]=l;f=0;oc(0,0,0,a,0,1,41,3,l,0,0,0,349680,i+128|0);v[a+12>>2]=0;if(!v[a+288>>2]){break q}l=0;break l}v[a+212>>2]=1;l=0;break l}k=v[h+84>>2];h=v[h+108>>2]==-554844497?v[h+124>>2]:0}j=v[a+4>>2];v[i+116>>2]=0;v[i+112>>2]=e;oc(h,k,j,a,0,1,98,1,e,0,0,0,350016,i+112|0)}B:{if(!ag(l,286563)){break B}e=rk(f,v[i+164>>2]);if(ag(e,231542)){v[v[a+232>>2]>>2]=0;break B}if(ag(e,274191)){v[v[a+232>>2]>>2]=1;break B}if(v[a+172>>2]==-1?v[a+212>>2]:0){break B}h=v[a>>2];C:{if(!h){g=0;h=0;break C}g=v[h+84>>2];h=v[h+108>>2]==-554844497?v[h+124>>2]:0}j=v[a+4>>2];v[i+100>>2]=0;v[i+96>>2]=e;oc(h,g,j,a,0,1,102,1,e,0,0,0,353522,i+96|0)}if(!e){break l}Ub[v[259708]](e);break l}f=0;l=0}D:{if(!((A|0)==v[v[a+36>>2]+12>>2]&(C|0)==v[a+40>>2])){if(!f|!v[i+160>>2]){break D}Ub[v[259708]](f);break D}E:{F:{G:{H:{I:{if(!(!l|!f)){g=v[i+164>>2];if((g|0)<=-1){g=kl(f);v[i+164>>2]=g}e=v[i+168>>2];k=v[a+316>>2];if(!(e|(k|0)!=(l|0))){k=Rd(v[a+296>>2],f,g);if(!k){Qd(a,277428);if(!v[i+160>>2]){break g}Ub[v[259708]](f);break g}J:{K:{if(!w[k|0]){break K}e=_r(k);L:{if(!e){if(v[a+172>>2]==-1?v[a+212>>2]:0){break L}v[a+84>>2]=99;v[i+68>>2]=0;v[i+72>>2]=0;v[i+64>>2]=k;oc(0,0,0,a,0,3,99,2,k,0,0,0,355216,i- -64|0);v[a+356>>2]=0;break L}if(!v[e>>2]){iU(a,352106,k,0)}pj(e)}if((k|0)==v[F>>2]){if(v[a+312>>2]==(l|0)){break J}_l(a,200,352952,0,0);break J}if(v[i+164>>2]!=29){break K}if(!ag(k,335513)){break K}_l(a,200,351014,0,0);break J}M:{if((n|0)<1){break M}g=v[a+328>>2];j=v[a+336>>2];e=1;while(1){if(v[j+(g-(e<<1)<<2)>>2]){h=(e|0)==(n|0);e=e+1|0;if(!h){continue}break M}break}uF(a,0,l);break J}n=((wu(a,0,k)|0)>0)+n|0}if(v[i+160>>2]){Ub[v[259708]](f)}N:{O:{P:{e=v[v[a+36>>2]+16>>2];switch(w[e|0]-9|0){case 0:case 1:case 4:case 23:break N;case 38:break P;case 53:break b;default:break O}}if(w[e+1|0]==62){break b}}Nd(a,65,350211);break b}Bd(a);e=v[a+36>>2];if((A|0)!=v[e+12>>2]){break D}if((C|0)==v[a+40>>2]){continue}break D}if((e|0)==(k|0)){m=Rd(v[a+296>>2],f,g);e=v[a+320>>2];Q:{if(v[a+312>>2]==(l|0)){if((e|0)==(m|0)){break Q}_l(a,200,355162,0,0);break Q}if((e|0)==(m|0)){_l(a,200,347717,0,0);break Q}if(v[a+316>>2]==(l|0)){_l(a,200,350967,0,0);break Q}R:{if(v[i+164>>2]!=29){break R}if(!ag(m,335513)){break R}_l(a,200,351014,0,0);break Q}if(!(w[m|0]?m:0)){_l(a,200,353223,l,0);break Q}e=_r(m);S:{if(!e){_l(a,99,355248,l,m);break S}if(!(v[e>>2]|!v[a+268>>2])){iU(a,352137,l,m)}pj(e)}T:{if((n|0)<1){break T}g=v[a+328>>2];j=v[a+336>>2];e=1;while(1){if(v[j+(g-(e<<1)<<2)>>2]!=(l|0)){h=(e|0)==(n|0);e=e+1|0;if(!h){continue}break T}break}uF(a,k,l);break Q}n=((wu(a,l,m)|0)>0)+n|0}if(v[i+160>>2]){Ub[v[259708]](f)}U:{V:{W:{e=v[v[a+36>>2]+16>>2];switch(w[e|0]-9|0){case 0:case 1:case 4:case 23:break U;case 38:break W;case 53:break b;default:break V}}if(w[e+1|0]==62){break b}}Nd(a,65,350211);break b}Bd(a);e=v[a+36>>2];if((A|0)!=v[e+12>>2]){break D}if((C|0)==v[a+40>>2]){continue}break D}h=o+5|0;if((h|0)<=(u|0)?p:0){break F}j=v[a+300>>2];if(!j){e=Ub[v[259704]](220)|0;if(!e){break I}v[a+300>>2]=e;j=Ub[v[259704]](44)|0;if(!j){break I}e=55;v[a+304>>2]=55;v[a+340>>2]=j;break G}e=v[a+304>>2];g=o+10|0;if((e|0)<(g|0)){e=Ub[v[259709]](j,g<<3)|0;if(!e){break I}v[a+300>>2]=e;e=g<<1;j=Ub[v[259709]](v[a+340>>2],(e|0)/5<<2)|0;if(!j){break I}v[a+304>>2]=e;v[a+340>>2]=j}if((e|0)>-1){break G}break H}if(!f){f=0;break E}if(w[v[i+164>>2]+f|0]){break E}Ub[v[259708]](f);break E}Qd(a,0)}if(w[v[i+164>>2]+f|0]){break E}Ub[v[259708]](f);break E}p=v[a+300>>2];u=e}v[v[a+340>>2]+(D<<2)>>2]=v[i+160>>2];j=(o<<2)+p|0;v[j>>2]=l;e=v[i+168>>2];v[j+12>>2]=f;v[j+8>>2]=0;v[j+4>>2]=e;f=v[i+164>>2]+f|0;v[j+16>>2]=f;H=v[i+160>>2]?1:H;D=D+1|0;o=h}X:{if(v[a+292>>2]){break X}e=v[a+36>>2];if((v[e+20>>2]-v[e+16>>2]|0)>249){break X}nd(a)}if(v[a+172>>2]==-1){break b}e=v[a+36>>2];if((A|0)!=v[e+12>>2]|(C|0)!=v[a+40>>2]){break D}Y:{Z:{_:{e=v[e+16>>2];switch(w[e|0]-9|0){case 0:case 1:case 4:case 23:break Y;case 38:break _;case 53:break b;default:break Z}}if(w[e+1|0]==62){break b}}Nd(a,65,350211);break b}Bd(a);e=v[a+36>>2];if(!(v[e+36>>2]!=(G|0)|(I|0)!=v[e+16>>2]|(f|l))){te(a,1,349025);break b}if(!(v[a+292>>2]|(v[e+20>>2]-v[e+16>>2]|0)>249)){nd(a);e=v[a+36>>2]}if((A|0)!=v[e+12>>2]){break D}if((C|0)==v[a+40>>2]){continue}}break}if(!H|(D|0)<1){break i}e=0;g=3;while(1){$:{if(!v[v[a+340>>2]+(e<<2)>>2]){break $}f=v[(g<<2)+p>>2];if(!f){break $}Ub[v[259708]](f)}g=g+5|0;e=e+1|0;if((D|0)!=(e|0)){continue}break}}if((C|0)!=v[a+40>>2]){Nd(a,90,347586);break g}e=v[a+36>>2];v[e+32>>2]=r;v[e+28>>2]=x;v[e+16>>2]=v[e+12>>2]+z;if(v[a+12>>2]==1){continue}}break}e=0;break a}g=0;aa:{ba:{ca:{d=v[a+348>>2];da:{if(!d){k=0;break da}z=am(d,q,v[i+172>>2]);if(!z){k=0;break da}k=0;if(v[z>>2]<1){break da}m=z+8|0;l=0;while(1){x=m+(B(l,5)<<2)|0;r=v[x>>2];f=v[x+4>>2];v[i+168>>2]=f;d=v[a+316>>2];ea:{if(!(f|(d|0)!=(r|0))){if((n|0)>=1){h=v[a+328>>2];f=v[a+336>>2];e=1;while(1){if(!v[f+(h-(e<<1)<<2)>>2]){break ea}d=(e|0)==(n|0);e=e+1|0;if(!d){continue}break}}h=v[F>>2];fa:{if(!v[a+312>>2]){break fa}e=v[a+328>>2];while(1){d=e;h=0;if((e|0)<2){break fa}f=v[a+336>>2];e=d-2|0;if(v[f+(e<<2)>>2]){continue}break}d=v[(f+(d<<2)|0)-4>>2];h=w[d|0]?d:0}d=v[x+8>>2];if((h|0)==(d|0)){break ea}n=((wu(a,0,d)|0)>0)+n|0;break ea}ga:{ha:{ia:{if((d|0)!=(f|0)){e=0;if((o|0)>0){while(1){d=(e<<2)+p|0;if((r|0)==v[d>>2]&(f|0)==v[d+4>>2]){break ea}e=e+5|0;if((o|0)>(e|0)){continue}break}}f=o+5|0;if((f|0)<=(u|0)?p:0){break ga}d=v[a+300>>2];if(d){break ia}d=Ub[v[259704]](220)|0;if(!d){break ca}v[a+300>>2]=d;d=Ub[v[259704]](44)|0;if(!d){break ca}u=55;v[a+304>>2]=55;v[a+340>>2]=d;break ha}if((n|0)>=1){h=v[a+328>>2];f=v[a+336>>2];e=1;while(1){if((r|0)==v[f+(h-(e<<1)<<2)>>2]){break ea}d=(e|0)==(n|0);e=e+1|0;if(!d){continue}break}}ja:{if((r|0)==v[a+312>>2]){f=v[F>>2];break ja}e=v[a+328>>2];while(1){f=0;d=e;if((e|0)<2){break ja}h=v[a+336>>2];e=d-2|0;if((r|0)!=v[h+(e<<2)>>2]){continue}break}d=v[(h+(d<<2)|0)-4>>2];if(!(w[d|0]?1:r)){break ja}f=d}if(v[z+16>>2]==(f|0)){break ea}n=((wu(a,r,v[x+8>>2])|0)>0)+n|0;break ea}u=v[a+304>>2];e=o+10|0;if((u|0)<(e|0)){d=Ub[v[259709]](d,e<<3)|0;if(!d){break ca}v[a+300>>2]=d;u=e<<1;d=Ub[v[259709]](v[a+340>>2],(u|0)/5<<2)|0;if(!d){break ca}v[a+304>>2]=u;v[a+340>>2]=d}e=0;if((u|0)<0){break a}}p=v[a+300>>2]}G=(o<<2)+p|0;v[G>>2]=r;v[G+4>>2]=v[i+168>>2];o=o+2|0;d=0;s=v[i+168>>2];ka:{if(!s){break ka}if((s|0)!=v[a+312>>2]){e=v[a+328>>2];while(1){h=e;if((e|0)<2){break ka}j=v[a+336>>2];e=h-2|0;if((s|0)!=v[j+(e<<2)>>2]){continue}break}d=(j+(h<<2)|0)-4|0}else{d=F}d=v[d>>2]}v[(o<<2)+p>>2]=d;v[G+12>>2]=v[x+8>>2];v[G+16>>2]=v[x+12>>2];if(!(!v[x+16>>2]|v[a+28>>2]!=1)){Xi(a,538,348671,r,q)}k=k+1|0;o=f}l=l+1|0;if((l|0)>2]){continue}break}}if((o|0)>=1){while(1){la:{ma:{m=(g<<2)+p|0;j=m;h=v[j+4>>2];na:{if(h){oa:{pa:{if((h|0)!=v[a+312>>2]){e=v[a+328>>2];while(1){d=e;if((e|0)<2){break pa}f=v[a+336>>2];e=d-2|0;if((h|0)!=v[f+(e<<2)>>2]){continue}break}d=(f+(d<<2)|0)-4|0}else{d=F}l=v[d>>2];if(l){break oa}}d=v[m>>2];if(!(!v[a+212>>2]|v[a+172>>2]!=-1)){l=0;break oa}v[a+84>>2]=201;v[i+56>>2]=q;v[i+52>>2]=d;v[i+48>>2]=h;l=0;oc(0,0,0,a,0,3,201,2,h,d,q,0,353982,i+48|0);v[a+356>>2]=0}v[m+8>>2]=l;if(!g){break la}e=0;h=v[m>>2];d=h;if(!l){break na}while(1){qa:{d=(e<<2)+p|0;if(v[d>>2]!=(h|0)){break qa}f=v[j+4>>2];if((f|0)==v[d+4>>2]){break ma}if(v[d+8>>2]!=(l|0)){break qa}if(a){if(v[a+172>>2]==-1?v[a+212>>2]:0){break la}v[a+84>>2]=203;v[i+40>>2]=0;v[i+36>>2]=l;v[i+32>>2]=h;oc(0,0,0,a,0,3,203,2,h,l,0,0,353861,i+32|0);v[a+356>>2]=0;break la}v[i+24>>2]=0;v[i+20>>2]=l;v[i+16>>2]=h;oc(0,0,0,0,0,3,203,2,h,l,0,0,353861,i+16|0);break la}e=e+5|0;if(g>>>0>e>>>0){continue}break}break la}if(!g){break la}d=v[m>>2]}h=d;e=0;while(1){d=(e<<2)+p|0;if(v[d>>2]==(h|0)){f=v[j+4>>2];if((f|0)==v[d+4>>2]){break ma}}e=e+5|0;if(g>>>0>e>>>0){continue}break}break la}uF(a,f,h)}g=g+5|0;if((o|0)>(g|0)){continue}break}}h=v[i+172>>2];if((h|0)==v[a+312>>2]){e=v[F>>2];break ba}e=v[a+328>>2];while(1){d=e;if((e|0)<2){e=0;break ba}f=v[a+336>>2];e=d-2|0;if((h|0)!=v[f+(e<<2)>>2]){continue}break}e=v[(f+(d<<2)|0)-4>>2];if(h){break ba}e=w[e|0]?e:0;break aa}Qd(a,0);e=0;break a}if(e|!h){break aa}if(!(!v[a+212>>2]|v[a+172>>2]!=-1)){e=0;break aa}v[a+84>>2]=201;e=0;v[i+8>>2]=0;v[i+4>>2]=q;v[i>>2]=h;oc(0,0,0,a,0,3,201,2,h,q,0,0,353940,i);v[a+356>>2]=0}v[b>>2]=h;v[c>>2]=e;b=v[a>>2];ra:{if(!b){break ra}c=v[b+116>>2];if(v[a+212>>2]|!c){break ra}b=v[a+4>>2];if((n|0)>=1){Ub[c|0](b,q,h,e,n,v[a+336>>2]+(v[a+328>>2]-(n<<1)<<2)|0,(o|0)/5|0,k,p);break ra}Ub[c|0](b,q,h,e,0,0,(o|0)/5|0,k,p)}e=q;if(!H){break a}e=q;if((D|0)<1){break a}e=0;g=3;while(1){sa:{if(!v[v[a+340>>2]+(e<<2)>>2]){break sa}b=v[(g<<2)+p>>2];if(!b){break sa}Ub[v[259708]](b)}g=g+5|0;e=e+1|0;if((D|0)!=(e|0)){continue}break}e=q}Qb=i+176|0;return e}function Bma(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,y=0,z=0;f=Qb-176|0;Qb=f;a:{b:{if(!b){break b}h=a+8|0;c:{if(v[a+8>>2]){Ch(f+136|0,a,h);break c}v[f+136>>2]=0;Wc(f+136|0,0)}d:{e:{f:{if(v[h>>2]){v[299999]=0;U(4888,f+152|0,a|0,h|0);k=v[299999];v[299999]=0;if((k|0)!=1){break f}break e}v[299999]=0;v[f+152>>2]=0;Q(4336,f+152|0,0)|0;k=v[299999];v[299999]=0;if((k|0)==1){break e}}k=v[f+152>>2];g:{if(!k){break g}m=v[k+8>>2];v[299999]=0;v[f+152>>2]=0;g=v[k+4>>2]-1|0;v[k+4>>2]=g;i=v[299999];v[299999]=0;if((i|0)==1){break a}if(g){break g}v[299999]=0;R(4338,k|0);k=v[299999];v[299999]=0;if((k|0)==1){break a}}h:{i:{if(v[h>>2]){v[299999]=0;U(4888,f+152|0,a|0,h|0);k=v[299999];v[299999]=0;if((k|0)!=1){break i}break h}v[299999]=0;v[f+152>>2]=0;Q(4336,f+152|0,0)|0;k=v[299999];v[299999]=0;if((k|0)==1){break h}}j:{k=v[f+152>>2];if(!k){i=0;break j}l=v[k+12>>2];v[299999]=0;v[f+152>>2]=0;g=v[k+4>>2]-1|0;v[k+4>>2]=g;i=v[299999];v[299999]=0;k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{if((i|0)==1){break F}if(!g){v[299999]=0;R(4338,k|0);k=v[299999];v[299999]=0;if((k|0)==1){break F}}i=0;if(!v[f+136>>2]|((m|0)<1|(l|0)<1)){break j}G:{if(v[h>>2]){v[299999]=0;U(4891,f+128|0,a|0,h|0);k=v[299999];v[299999]=0;if((k|0)!=1){break G}break k}v[299999]=0;v[f+128>>2]=0;Q(4336,f+128|0,0)|0;k=v[299999];v[299999]=0;if((k|0)==1){break k}}H:{if(v[h>>2]){v[299999]=0;U(4892,f+120|0,a|0,h|0);k=v[299999];v[299999]=0;if((k|0)!=1){break H}break m}v[299999]=0;v[f+120>>2]=0;Q(4336,f+120|0,0)|0;k=v[299999];v[299999]=0;if((k|0)==1){break m}}I:{if(v[h>>2]){v[299999]=0;U(4893,f+112|0,a|0,h|0);h=v[299999];v[299999]=0;if((h|0)!=1){break I}break o}v[299999]=0;v[f+112>>2]=0;Q(4336,f+112|0,0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break o}}q=1;J:{if(!(e>0)){break J}q=.1;e=e/A[v[f+136>>2]+24>>3];if(e<.1){break J}q=e;if(!(e>10)){break J}q=10}v[f+104>>2]=0;v[f+108>>2]=0;v[f+96>>2]=0;v[f+100>>2]=0;v[299999]=0;h=f+96|0;v[h>>2]=982408;v[h+4>>2]=0;v[h+8>>2]=0;v[h+12>>2]=0;k=h;h=v[299999];v[299999]=0;K:{if((h|0)!=1){v[f+88>>2]=0;h=v[f+128>>2];if(!h){break p}if(v[h+72>>2]!=(m|0)){break r}if((l|0)==v[h+76>>2]){break K}break r}g=P()|0;O()|0;break s}g=v[c+4>>2];i=v[c+12>>2];n=v[c>>2];j=v[c+8>>2];v[299999]=0;$(4909,f+152|0,i-g|0,j-n|0,0);g=v[299999];v[299999]=0;L:{M:{N:{O:{if((g|0)!=1){v[299999]=0;Q(4344,f+88|0,f+152|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break O}ec(f+152|0);g=0;v[299999]=0;o=B(d,d);V(4910,v[f+88>>2],o+1|0);i=v[299999];v[299999]=0;if((i|0)==1){break u}n=v[c>>2];p=v[c+4>>2];v[f+64>>2]=0;j=v[h+100>>2];i=v[h+96>>2];if(((j-i|0)+1|0)>0){r=B(d,p);s=B(d,n);while(1){if((g|0)<(i|0)|(g|0)>(j|0)){break N}g=v[h+84>>2]+(g-v[h+88>>2]<<3)|0;i=v[g+4>>2];v[299999]=0;p=Q(4911,h|0,i|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break M}i=v[p+4>>2];P:{if(!i){break P}n=x[g>>1];if((n|0)>(B(v[c+8>>2],d)|0)){break P}j=x[g+2>>1];if((x[i+10>>1]+n|0)<(B(v[c>>2],d)|0)|(j|0)>(B(v[c+12>>2],d)|0)|(x[i+8>>1]+j|0)<(B(v[c+4>>2],d)|0)){break P}if(v[f+112>>2]){v[299999]=0;V(4912,f+96|0,f- -64|0);i=v[299999];v[299999]=0;if((i|0)==1){break M}j=x[g+2>>1];n=x[g>>1];i=v[p+4>>2]}v[299999]=0;fa(4913,v[f+88>>2],i|0,n-s|0,j-r|0,d|0);g=v[299999];v[299999]=0;if((g|0)==1){break M}}g=v[f+64>>2]+1|0;v[f+64>>2]=g;j=v[h+100>>2];i=v[h+96>>2];if(((j-i|0)+1|0)>(g|0)){continue}break}}g=v[f+88>>2];if(g){break L}i=0;break q}g=P()|0;O()|0;break t}g=P()|0;O()|0;ec(f+152|0);break t}v[299999]=0;a=aa(4369,f+152|0,227445,271729,619,307488,0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break E}g=P()|0;O()|0;qc(a);break t}g=P()|0;O()|0;break t}g=P()|0;O()|0;break t}if(!v[f+112>>2]){break C}i=0;v[299999]=0;$(4914,b|0,g|0,0,0);a=v[299999];v[299999]=0;if((a|0)==1){break D}n=v[f+128>>2];g=v[f+112>>2];if((v[n+100>>2]-v[n+96>>2]|0)!=(v[g+28>>2]-v[g+24>>2]|0)){break r}h=v[g+56>>2];m=v[g+60>>2];a=0;v[299999]=0;h=m-h|0;l=Z(4658,f- -64|0,984004,0,h|0)|0;m=v[299999];v[299999]=0;if((m|0)==1){break x}r=h+1|0;if((r|0)>0){while(1){if(!(v[f+80>>2]<=(a|0)&v[f+84>>2]>=(a|0))){v[299999]=0;a=aa(4369,f+152|0,227445,271729,619,307846,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break v}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break E}g=P()|0;O()|0;qc(a);fd(l);break t}if(!(v[g+56>>2]<=(a|0)&v[g+60>>2]>=(a|0))){v[299999]=0;a=aa(4369,f+152|0,227445,271729,632,307646,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break v}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break E}g=P()|0;O()|0;qc(a);fd(l);break t}h=v[f+68>>2]+B(a-v[f+72>>2]|0,3)|0;m=v[g+44>>2]+(a-v[g+48>>2]<<2)|0;t[h|0]=w[m|0];t[h+1|0]=w[m+1|0];t[h+2|0]=w[m+2|0];a=a+1|0;if((r|0)!=(a|0)){continue}break}}v[299999]=0;tb(4915,+q,v[f+68>>2]+B(v[f+72>>2],-3)|0,r|0);a=v[299999];v[299999]=0;Q:{R:{S:{if((a|0)!=1){T:{if(v[f+100>>2]>=1){s=d-1|0;z=o+1|0;while(1){v[f+60>>2]=k;a=v[f+104>>2];v[f+56>>2]=a;v[f+48>>2]=a;v[f+52>>2]=f+96;if(!a){v[299999]=0;V(4468,f+48|0,f+96|0);a=v[299999];v[299999]=0;if((a|0)!=1){break E}break w}a=v[a+8>>2];if(!((a|0)>=v[g+24>>2]&(a|0)<=v[g+28>>2])){v[299999]=0;a=aa(4369,f+152|0,227445,271729,619,307204,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break w}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break E}g=P()|0;O()|0;qc(a);fd(l);break t}p=u[v[g+12>>2]+(a-v[g+16>>2]<<1)>>1];if((p|0)>=(r|0)){v[299999]=0;a=aa(4369,f+152|0,289518,242053,910,226532,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break S}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break E}g=P()|0;O()|0;qc(a);fd(l);break t}v[f+40>>2]=0;v[f+44>>2]=0;v[f+32>>2]=0;v[f+36>>2]=0;v[299999]=0;h=f+32|0;v[h>>2]=982408;v[h+4>>2]=0;v[h+8>>2]=0;v[h+12>>2]=0;a=v[299999];v[299999]=0;if((a|0)==1){break y}v[f+24>>2]=0;v[f+28>>2]=0;v[f+16>>2]=0;v[f+20>>2]=0;m=0;a=0;j=0;o=0;i=v[f+56>>2];if(i){while(1){v[f+8>>2]=i;a=v[f+60>>2];v[f+12>>2]=a;if((a|0)!=(f+96|0)){v[299999]=0;V(4468,f+8|0,f+96|0);a=v[299999];v[299999]=0;if((a|0)!=1){break E}g=P()|0;O()|0;Ic(h);fd(l);break t}j=v[i+8>>2];if(!((j|0)>=v[n+96>>2]&(j|0)<=v[n+100>>2])){v[299999]=0;a=aa(4369,f+152|0,227445,271729,619,307488,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break z}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break E}g=P()|0;O()|0;qc(a);Ic(h);fd(l);break t}a=m;o=v[n+84>>2]+(j-v[n+88>>2]<<3)|0;m=x[o>>1];if(a>>>0<=m>>>0){if(!((j|0)<=v[g+28>>2]&(j|0)>=v[g+24>>2])){v[299999]=0;a=aa(4369,f+152|0,227445,271729,619,307204,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break z}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break E}g=P()|0;O()|0;qc(a);Ic(h);fd(l);break t}U:{if(x[v[g+12>>2]+(j-v[g+16>>2]<<1)>>1]==(p&65535)){a=v[o+4>>2];v[299999]=0;i=Q(4911,n|0,a|0)|0;a=v[299999];v[299999]=0;V:{if((a|0)!=1){a=x[o+2>>1];i=v[i+4>>2];j=x[i+8>>1];y=x[i+10>>1];i=x[o>>1];v[f+160>>2]=y+i;v[f+156>>2]=a;v[f+152>>2]=i;v[299999]=0;v[f+164>>2]=a+j;a=f+16|0;GO(a,a,f+152|0);a=v[299999];v[299999]=0;if((a|0)==1){break V}v[f+144>>2]=0;v[f+148>>2]=0;v[299999]=0;$(4917,h|0,f+144|0,k|0,f+56|0);a=v[299999];v[299999]=0;if((a|0)==1){break V}i=v[f+56>>2];break U}g=P()|0;O()|0;Ic(h);fd(l);break t}g=P()|0;O()|0;Ic(h);fd(l);break t}i=v[i>>2];v[f+56>>2]=i}if(i){continue}}break}m=v[f+28>>2];j=v[f+20>>2];o=v[f+16>>2];a=v[f+24>>2]}v[299999]=0;v[f+20>>2]=(j|0)/(d|0);v[f+16>>2]=(o|0)/(d|0);v[f+28>>2]=(m+s|0)/(d|0);v[f+24>>2]=(a+s|0)/(d|0);a=f+16|0;mr(a,a,c);a=v[299999];v[299999]=0;if((a|0)==1){break T}v[299999]=0;Q(4336,f+88|0,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break T}v[299999]=0;m=v[f+28>>2];i=v[f+20>>2];j=v[f+24>>2];o=v[f+16>>2];a=S(1,72)|0;y=v[299999];v[299999]=0;W:{X:{Y:{Z:{_:{if((y|0)==1){break _}v[299999]=0;m=Z(4919,a|0,m-i|0,j-o|0,0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break R}v[299999]=0;v[f+152>>2]=0;Q(4336,f+152|0,m|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break _}v[299999]=0;Q(4344,f+88|0,f+152|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break Z}a=v[f+152>>2];v[f+152>>2]=0;$:{if(!a){break $}v[299999]=0;m=v[a+4>>2]-1|0;v[a+4>>2]=m;i=v[299999];v[299999]=0;if((i|0)==1){break Q}if(m){break $}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break Q}}v[299999]=0;V(4910,v[f+88>>2],z|0);a=v[299999];v[299999]=0;if((a|0)==1){break T}a=v[f+40>>2];v[f+56>>2]=a;m=v[f+20>>2];i=v[f+16>>2];v[f+60>>2]=f+32;if(!a){break W}m=B(d,m);i=B(d,i);v[f>>2]=a;v[f+4>>2]=f+32;aa:{while(1){a=v[a+8>>2];if((a|0)>2]|(a|0)>v[n+100>>2]){break aa}a=v[n+84>>2]+(a-v[n+88>>2]<<3)|0;j=v[a+4>>2];v[299999]=0;j=Q(4911,n|0,j|0)|0;o=v[299999];v[299999]=0;if((o|0)==1){break X}o=x[a>>1];a=x[a+2>>1];j=v[j+4>>2];v[299999]=0;fa(4913,v[f+88>>2],j|0,o-i|0,a-m|0,d|0);a=v[299999];v[299999]=0;if((a|0)==1){break X}a=v[f+56>>2];if(!a){break W}a=v[a>>2];v[f+56>>2]=a;if(!a){break W}j=v[f+60>>2];v[f+4>>2]=j;v[f>>2]=a;if((j|0)==(f+32|0)){continue}break}v[299999]=0;V(4468,f|0,f+32|0);a=v[299999];v[299999]=0;if((a|0)!=1){break E}g=P()|0;O()|0;Ic(h);fd(l);break t}v[299999]=0;a=aa(4369,f+152|0,227445,271729,619,307488,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Y}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break E}g=P()|0;O()|0;qc(a);Ic(h);fd(l);break t}g=P()|0;O()|0;Ic(h);fd(l);break t}g=P()|0;O()|0;ec(f+152|0);Ic(h);fd(l);break t}g=P()|0;O()|0;Ic(h);fd(l);break t}g=P()|0;O()|0;Ic(h);fd(l);break t}if(!((p|0)<=v[f+84>>2]&(p|0)>=v[f+80>>2])){v[299999]=0;a=aa(4369,f+152|0,227445,271729,619,307846,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break B}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break E}g=P()|0;O()|0;qc(a);Ic(h);fd(l);break t}a=v[c>>2];m=v[c+4>>2];v[299999]=0;fa(4920,b|0,v[f+88>>2],v[f+16>>2]-a|0,v[f+20>>2]-m|0,v[f+68>>2]+B(p-v[f+72>>2]|0,3)|0);a=v[299999];v[299999]=0;if((a|0)==1){break A}Ic(h);if(v[f+100>>2]>0){continue}break}}fd(l);i=1;break r}g=P()|0;O()|0;Ic(h);fd(l);break t}g=P()|0;O()|0;fd(l);break t}g=P()|0;O()|0;fd(l);break t}g=P()|0;O()|0;dc(a);Ic(h);fd(l);break t}break a}W(0)|0;O()|0;lc()}L()}g=P()|0;O()|0;break t}i=0;n=v[f+120>>2];if(!n){break r}h=m;j=l;m=x[n+10>>1];l=x[n+8>>1];h=qr(h,j,m,l);if(h-1>>>0>11){break r}i=1;i=(d|0)<(h|0)?(h|0)/(d|0)|0:i;d=B(i,d);if((d|0)==(h|0)){v[299999]=0;Ka(4921,b|0,g|0,n|0,i|0,c|0,+q);a=v[299999];v[299999]=0;i=1;if((a|0)!=1){break r}g=P()|0;O()|0;break t}n=d-1|0;g=(n+B(h,l)|0)/(d|0)|0;n=(n+B(h,m)|0)/(d|0)|0;v[f+32>>2]=0;ba:{ca:{da:{ea:{if(t[1178412]&1){break ea}if(!Je(1178412)){break ea}v[299999]=0;v[294602]=0;Q(4336,1178408,0)|0;j=v[299999];v[299999]=0;if((j|0)==1){break da}Ie(1178412)}fa:{ga:{ha:{ia:{ja:{ka:{la:{ma:{j=v[294602];if(!j|v[294600]!=(a|0)|(v[f+120>>2]!=v[294601]|(n|0)!=x[j+10>>1])){break ma}if((g|0)!=x[j+8>>1]){break ma}v[299999]=0;Q(4344,f+32|0,1178408)|0;d=v[299999];v[299999]=0;if((d|0)!=1){break la}break ca}v[299999]=0;fa(4901,f+16|0,m|0,l|0,n|0,g|0);j=v[299999];v[299999]=0;if((j|0)==1){break ka}v[299999]=0;j=v[f+16>>2];U(4902,j|0,h|0,d|0);p=v[299999];v[299999]=0;if((p|0)==1){break ja}v[299999]=0;U(4903,j|0,h|0,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break ja}v[299999]=0;R(4897,f+152|0);d=v[299999];v[299999]=0;if((d|0)==1){break ia}v[299999]=0;Q(4344,f+32|0,f+152|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break ha}d=f+152|0;ec(d);v[f+164>>2]=l;v[f+160>>2]=m;v[f+152>>2]=0;v[f+156>>2]=0;v[299999]=0;v[f+76>>2]=g;v[f+72>>2]=n;v[f+64>>2]=0;v[f+68>>2]=0;fa(4904,j|0,d|0,v[f+120>>2],f- -64|0,v[f+32>>2]);d=v[299999];v[299999]=0;if((d|0)==1){break ga}ec(f+16|0)}v[299999]=0;Ka(4921,b|0,v[f+88>>2],v[f+32>>2],i|0,c|0,+q);b=v[299999];v[299999]=0;if((b|0)==1){break ca}v[294600]=a;v[294601]=v[f+120>>2];v[299999]=0;Q(4344,1178408,f+32|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break ca}ec(f+32|0);i=1;break r}g=P()|0;O()|0;break ba}g=P()|0;O()|0;break fa}g=P()|0;O()|0;break fa}g=P()|0;O()|0;ec(f+152|0);break fa}g=P()|0;O()|0}ec(f+16|0);break ba}g=P()|0;O()|0;Pf(1178412);break ba}g=P()|0;O()|0}ec(f+32|0);break t}g=P()|0;O()|0;Ic(h);fd(l);break t}g=P()|0;O()|0;Ic(h);fd(l);break t}g=P()|0;O()|0;Ic(h);fd(l);break t}g=P()|0;O()|0;fd(l);break t}g=P()|0;O()|0;break t}g=P()|0;O()|0;fd(l);break t}g=P()|0;O()|0;fd(l);break t}g=P()|0;O()|0}ec(f+88|0);Ic(k)}ec(f+112|0);break n}g=v[f+88>>2]}v[f+88>>2]=0;if(!g){break p}v[299999]=0;a=v[g+4>>2]-1|0;v[g+4>>2]=a;b=v[299999];v[299999]=0;if((b|0)!=1){if(a){break p}v[299999]=0;R(4338,g|0);a=v[299999];v[299999]=0;if((a|0)!=1){break p}}break a}Ic(k);a=v[f+112>>2];v[f+112>>2]=0;na:{if(!a){break na}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break na}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}a=v[f+120>>2];v[f+120>>2]=0;oa:{pa:{if(!a){break pa}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break oa}if(b){break pa}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break oa}}a=v[f+128>>2];v[f+128>>2]=0;if(!a){break j}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break j}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break j}}break a}break a}g=P()|0;O()|0}ec(f+120|0);break l}g=P()|0;O()|0}ec(f+128|0);break d}g=P()|0;O()|0;break d}a=v[f+136>>2];v[f+136>>2]=0;if(!a){break b}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break b}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}}break a}g=P()|0;O()|0;break d}g=P()|0;O()|0}ec(f+136|0);T(g|0);L()}Qb=f+176|0;return i|0}W(0)|0;O()|0;lc();L()}function nW(a,b){a=a|0;b=b|0;var 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,z=0,A=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;e=Qb-16|0;Qb=e;l=v[a+4>>2];a:{if(v[l+180>>2]>=0){f=Qb-48|0;Qb=f;v[f+12>>2]=0;g=l+184|0;c=v[a+8>>2];c=oG(v[v[l+24>>2]+224>>2],v[l+180>>2],g,t[l+253|0],c,v[a+12>>2]-c>>1,f+12|0,t[l+35|0],t[a+2|0]);b:{if((c|0)>=2){c=c-2|0;d=t[l+253|0];c:{if((c|0)>=(d|0)){v[a+8>>2]=v[a+8>>2]+(c-d<<1);c=0;break c}m=((c<<1)+l|0)+184|0;c=d-c|0;d=c;if((c|0)>=1){Wd(g,m,d<<1)}c=0-c|0}v[l+180>>2]=-1;t[l+253|0]=c;g=v[f+12>>2];m=g>>>24&31;d:{if(m>>>0<=3){d=f+16|1;h=d;c=d;e:{switch(m-1|0){case 2:t[f+17|0]=g>>>16;h=f+16|2;case 1:t[h|0]=g>>>8;c=h+1|0;break;case 0:break e;default:break d}}t[c|0]=g;break d}c=v[v[l+24>>2]+224>>2];d=(v[c+32>>2]+c|0)+(g&16777215)|0}q=a+24|0;r=a+16|0;z=v[a+20>>2];g=v[l+52>>2];f:{if(!g){break f}c=2;g:{if(!((m|0)!=1|(g|0)<2)){h=15;c=1;break g}if((g|0)!=1){break f}h=14;if(m>>>0<2){break f}}v[l+52>>2]=c;t[f+16|0]=h;c=f+16|1;if((c|0)!=(d|0)){gc(c,d,m)}m=m+1|0;d=f+16|0}Fh(l,d,m,r,z,q,-1,b);break b}if((c|0)<=-1){m=v[a+8>>2];d=t[l+253|0];h=-2-c|0;h:{if((d|0)>=(h|0)){break h}c=c+d|0;q=-3-c|0;g=2-c&3;if(g){while(1){u[((d<<1)+l|0)+184>>1]=x[m>>1];d=d+1|0;m=m+2|0;g=g-1|0;if(g){continue}break}}if(q>>>0<3){break h}while(1){c=(d<<1)+l|0;u[c+184>>1]=x[m>>1];u[c+186>>1]=x[m+2>>1];u[c+188>>1]=x[m+4>>1];u[c+190>>1]=x[m+6>>1];m=m+8|0;d=d+4|0;if((h|0)!=(d|0)){continue}break}}v[a+8>>2]=m;t[l+253|0]=h;break b}if((c|0)==1){t[l+67|0]=1}c=v[l+180>>2];v[l+180>>2]=-1;v[l+56>>2]=c;t[l+253|0]=0-w[l+253|0];v[b>>2]=10}Qb=f+48|0;if(t[l+253|0]<0|v[b>>2]>0){break a}}c=v[l+24>>2];I=w[c+201|0];i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{A=w[c+200|0];switch(A|0){case 1:break s;case 0:break t;default:break r}}if(I&2){break r}if(!(I&1)){c=v[a+4>>2];d=v[a+12>>2];m=v[a+8>>2];j=v[a+16>>2];v[e+8>>2]=j;i=v[a+20>>2];v[e+4>>2]=v[a+24>>2];k=d-m>>1;j=i-j|0;g=(j|0)>(k|0)?k:j;k=v[c+56>>2];f=k?-1:0;s=w[c+35|0];j=v[c+24>>2];h=v[j+208>>2];o=v[j+52>>2];l=v[(j+(w[c+28|0]&16?164:160)|0)+28>>2];if(k){n=m;if((g|0)>0){break q}}i=0;break j}o=v[a+12>>2];g=v[a+8>>2];i=v[a+4>>2];n=v[a+16>>2];v[e+8>>2]=n;m=v[a+20>>2];v[e+4>>2]=v[a+24>>2];f=v[i+56>>2];c=f?-1:0;h=w[i+35|0];d=v[i+24>>2];p=w[d+201|0];s=v[d+52>>2];l=v[(d+(w[i+28|0]&16?164:160)|0)+28>>2];n=m-n|0;if((n|0)>0?f:0){break p}break k}if(!w[c+202|0]){break r}i=v[a+4>>2];c=v[i+24>>2];s=w[c+201|0];o=v[a+12>>2];f=v[a+8>>2];d=v[a+16>>2];v[e+8>>2]=d;k=v[a+20>>2];v[e+4>>2]=v[a+24>>2];g=v[i+56>>2];j=g?-1:0;l=v[c+208>>2];q=v[c+56>>2];m=v[c+52>>2];h=v[c+(w[i+28|0]&16?192:188)>>2];k=k-d|0;if((k|0)>0?g:0){break o}break l}g=v[a+8>>2];v[e+12>>2]=g;G=v[a+12>>2];h=v[a+16>>2];v[e+8>>2]=h;p=v[a+20>>2];r=v[a+24>>2];v[e+4>>2]=r;J=w[c+202|0]?v[c+56>>2]:J;d=v[l+28>>2];k=d&16?192:188;if((A|0)==12){o=v[l+52>>2];o=o?o:1}q=c+k|0;f=v[l+56>>2];m=-1;u:{if(d&4096){z=10;K=4325376;F=65;C=2;D=10;H=2;break u}if(d&8192){D=40;z=41;C=1;H=1;break u}H=1;k=d&16384;C=k?2:1;D=26;z=k?26:15;F=d<<17>>31&113;if(k){K=7340032;H=2;break u}D=14}k=p-h|0;L=v[c+52>>2];M=v[c+208>>2];q=v[q>>2];h=f?-1:0;v:{if(!f){d=0;break v}d=0;j=h;s=o;if((k|0)>0){break n}}c=0;break m}i=1;break j}j=1;break k}p=1;break l}c=1}w:while(1){x:{y:{z:{A:{B:{C:{if(!c){if(g>>>0>=G>>>0){c=k;break y}c=k>>31&k;E=15;if((k|0)<=0){break z}j=h;while(1){v[e+12>>2]=g+2;n=n+1|0;D:{f=x[g>>1];if(!(f>>>0>127|!(M>>>(f>>>2)&1))){g=v[e+8>>2];v[e+8>>2]=g+1;t[g|0]=f;f=0;g=v[e+4>>2];E:{if(!g){r=0;break E}r=g+4|0;v[e+4>>2]=r;v[g>>2]=j;m=j;j=n}p=k-1|0;g=v[e+12>>2];if(G>>>0>g>>>0){break D}c=p;break y}g=g+2|0;F:{G:{H:{if(!(!J|f>>>0>55295)){p=x[(f>>>5&2046)+J>>1];h=0;c=0;I:{J:{K:{L:{M:{N:{O:{P:{switch(A-1|0){default:if((A|0)==219){break O}break A;case 0:h=x[(p+(f&63)<<1)+q>>1];if(h>>>0<=255){break J}break G;case 3:case 4:case 5:case 6:case 9:case 10:break A;case 8:break K;case 7:break L;case 2:break M;case 1:break N;case 11:break P}}v[l+52>>2]=o;h=x[(p+(f&63)<<1)+q>>1];if(h>>>0<=255){if(!h){i=d;break B}c=1;if((o|0)<2){break A}o=1;c=d;Q:{switch(C-1|0){case 0:break H;case 1:break Q;default:break A}}h=F<<8|h|z<<16;c=3;break A}c=2;if((o|0)==2){o=2;break A}c=d;o=2;R:{switch(H-1|0){case 0:h=D<<16|h;c=3;break A;case 1:break R;default:break A}}h=h|K|D<<24;c=4;break A}h=x[(p+(f&63)<<1)+q>>1];if(h>>>0>=256){break G}i=d;break B}c=B(p+(f&63)|0,3)+q|0;h=w[c+1|0]<<8|w[c|0]<<16|w[c+2|0];if(h>>>0<=255){break J}c=h>>>0<65536?2:3;break A}c=2;h=v[(p+(f&63)<<2)+q>>2];if(h>>>0<=255){break J}if(h>>>0<65536){break A}c=h>>>0<16777216?3:4;break A}h=x[(p+(f&63)<<1)+q>>1];if(h>>>0<=255){break J}if(!(h&32768)){h=h|9338880;c=3;break A}c=h&128;h=c?h:h|9371776;c=c?2:3;break A}c=B(p+(f&63)|0,3)+q|0;p=w[c+1|0];E=w[c|0];h=p<<8|E<<16|w[c+2|0];if(h>>>0>255){break I}}c=1;i=d;if(!h){break B}break A}c=2;if(h>>>0<65536){break A}if(!(E&128)){h=h|-1904214016;c=4;break A}c=p&128;h=c?h:h|-1895792640;c=c?3:4;break A}if(!(I&2?0:(f&63488)==55296)){i=d;s=o;break C}if(f&1024){break F}i=d;s=o;c=1;continue w}h=z<<8|h}c=2;break A}E=12;c=k;break z}N=(k|0)<2;k=p;if(!N){continue}break}break z}if(g>>>0>=G>>>0){o=s;c=k;break y}c=x[g>>1];if((c&64512)!=56320){E=12;o=s;c=k;break z}g=g+2|0;v[e+12>>2]=g;n=n+1|0;f=(c+(f<<10)|0)-56613888|0;if(I&1){c=0}else{v[l+52>>2]=s;c=6}switch(c|0){case 6:break B;case 0:break C;default:break a}}c=v[L+(x[L+(f>>10<<1)>>1]+(f>>>4&63)<<2)>>2];S:{T:{U:{V:{W:{X:{Y:{Z:{_:{$:{aa:{ba:{ca:{switch(A-1|0){default:if((A|0)==219){break _}case 3:case 4:case 5:case 6:case 9:case 10:d=f&15;c=0;break ba;case 0:d=f&15;h=x[((d|c<<4&1048560)<<1)+q>>1];i=h>>>0<256?1:2;break T;case 8:break W;case 7:break X;case 2:break Y;case 1:break Z;case 11:break ca}}v[l+52>>2]=s;d=f&15;h=x[((d|c<<4&1048560)<<1)+q>>1];if(h>>>0>255){break $}if(c>>>(d|16)&1|h){break aa}}h=0;i=0;break T}if((s|0)<2){break V}o=1;da:{switch(C-1|0){case 0:h=z<<8|h;i=2;break S;case 1:break da;default:break S}}h=F<<8|h|z<<16;i=3;break S}o=2;if((s|0)==2){i=2;break S}ea:{switch(H-1|0){case 0:h=D<<16|h;i=3;break S;case 1:break ea;default:break S}}h=h|K|D<<24;i=4;break S}i=0;d=f&15;h=x[((d|c<<4&1048560)<<1)+q>>1];if(h>>>0<256){c=0;h=0;break T}i=2;break T}d=f&15;i=B(d|c<<4&1048560,3)+q|0;h=w[i+1|0]<<8|w[i|0]<<16|w[i+2|0];if(h>>>0<256){break V}i=h>>>0<65536?2:3;break T}d=f&15;h=v[((d|c<<4&1048560)<<2)+q>>2];if(h>>>0<256){break V}i=2;if(h>>>0<65536){break T}i=h>>>0<16777216?3:4;break T}i=1;d=f&15;h=x[((d|c<<4&1048560)<<1)+q>>1];if(h>>>0<256){break T}if(!(h&32768)){h=h|9338880;i=3;break T}i=h&128;h=i?h:h|9371776;i=i?2:3;break T}d=f&15;i=B(d|c<<4&1048560,3)+q|0;o=w[i+1|0];p=w[i|0];h=o<<8|p<<16|w[i+2|0];if(h>>>0>=256){break U}}i=1;break T}i=2;if(h>>>0<65536){break T}if(!(p&128)){h=h|-1904214016;i=4;break T}i=o&128;h=i?h:h|-1895792640;i=i?3:4}o=s}if(c>>>(d|16)&1){c=i;break A}if(!(w[l+35|0]|f-57344>>>0<6400)&f-983040>>>0>131071){break B}c=i;if(h){break A}}v[a+8>>2]=g;f=is(l,v[v[l+24>>2]+224>>2],f,e+12|0,G,e+8|0,v[e+8>>2]+k|0,e+4|0,j,t[a+2|0],b);o=v[l+52>>2];if(v[b>>2]>0){c=k;break y}g=v[e+12>>2];n=(g-v[a+8>>2]>>1)+n|0;r=v[e+4>>2];h=r?n:j;m=r?j:m;k=v[a+20>>2]-v[e+8>>2]|0;d=i;break x}if((c|0)<=(k|0)){fa:{if(!r){r=0;ga:{switch(c-1|0){case 3:d=v[e+8>>2];v[e+8>>2]=d+1;t[d|0]=h>>>24;case 2:d=v[e+8>>2];v[e+8>>2]=d+1;t[d|0]=h>>>16;case 1:d=v[e+8>>2];v[e+8>>2]=d+1;t[d|0]=h>>>8;break;case 0:break ga;default:break fa}}d=v[e+8>>2];v[e+8>>2]=d+1;t[d|0]=h;r=v[e+4>>2];break fa}ha:{switch(c-1|0){case 3:d=v[e+8>>2];v[e+8>>2]=d+1;t[d|0]=h>>>24;d=v[e+4>>2];v[e+4>>2]=d+4;v[d>>2]=j;case 2:d=v[e+8>>2];v[e+8>>2]=d+1;t[d|0]=h>>>16;d=v[e+4>>2];v[e+4>>2]=d+4;v[d>>2]=j;case 1:d=v[e+8>>2];v[e+8>>2]=d+1;t[d|0]=h>>>8;d=v[e+4>>2];v[e+4>>2]=d+4;v[d>>2]=j;break;case 0:break ha;default:break fa}}d=v[e+8>>2];v[e+8>>2]=d+1;t[d|0]=h;d=v[e+4>>2];r=d+4|0;v[e+4>>2]=r;v[d>>2]=j}h=r?n:j;m=r?j:m;k=k-c|0;f=0;g=v[e+12>>2];d=c;break x}f=l+76|0;ia:{ja:{ka:{la:{c=c-k|0;switch(c-1|0){case 0:break ja;case 1:break ka;case 2:break la;default:break ia}}t[l+76|0]=h>>>16;f=l+77|0}t[f|0]=h>>>8;f=f+1|0}t[f|0]=h}t[l+63|0]=c;d=h>>>(c<<3)|0;f=0;E=15;c=0;ma:{na:{oa:{switch(k-1|0){case 0:break ma;case 1:break na;case 2:break oa;default:break z}}i=v[e+8>>2];v[e+8>>2]=i+1;t[i|0]=d>>>16;i=v[e+4>>2];if(!i){break na}v[e+4>>2]=i+4;v[i>>2]=j}i=v[e+8>>2];v[e+8>>2]=i+1;t[i|0]=d>>>8;i=v[e+4>>2];if(!i){break ma}v[e+4>>2]=i+4;v[i>>2]=j}i=v[e+8>>2];v[e+8>>2]=i+1;t[i|0]=d;d=v[e+4>>2];if(d){v[e+4>>2]=d+4;v[d>>2]=j}}v[b>>2]=E}pa:{if((A|0)!=12|v[b>>2]>0|(o|0)!=2){break pa}if(!w[a+2|0]){o=2;break pa}if(y[e+12>>2]>>0){o=2;break pa}o=2;if(f){break pa}if((c|0)>=1){d=v[e+8>>2];v[e+8>>2]=d+1;t[d|0]=z;qa:{if((C|0)!=2){break qa}if((c|0)<=1){t[l+63|0]=1;t[l+76|0]=F;v[b>>2]=15;break qa}b=v[e+8>>2];v[e+8>>2]=b+1;t[b|0]=F}o=1;b=v[e+4>>2];if(!b){break pa}v[e+4>>2]=b+4;v[b>>2]=m;break pa}t[l+76|0]=z;if((C|0)==2){t[l+77|0]=F}t[l+63|0]=C;v[b>>2]=15;o=1}v[l+52>>2]=o;v[l+56>>2]=f;v[a+8>>2]=v[e+12>>2];v[a+16>>2]=v[e+8>>2];v[a+24>>2]=v[e+4>>2];break a}c=0;continue}}while(1){d=e;ra:{sa:{ta:{ua:{va:{wa:{xa:{ya:{za:{Aa:{Ba:{Ca:{Da:{if(!p){if(f>>>0>=o>>>0){break i}Ea:{Fa:{if((k|0)>0){while(1){v[e+12>>2]=f+2;n=n+1|0;g=x[f>>1];if(g>>>0>127){break Ea}if(!(l>>>(g>>>2)&1)){break Ca}c=v[e+8>>2];v[e+8>>2]=c+1;t[c|0]=g;c=v[e+4>>2];if(c){v[e+4>>2]=c+4;v[c>>2]=j;j=n}f=v[e+12>>2];if(o>>>0<=f>>>0){break Fa}c=(k|0)<2;k=k-1|0;if(!c){continue}break}g=0}v[b>>2]=15;break i}g=0;break i}f=f+2|0;c=f;if(g>>>0<55296){break Ba}if(s&2|(g&63488)!=55296){break Da}if(g&1024){break za}p=1;continue}if(f>>>0>=o>>>0){break i}c=x[f>>1];if((c&64512)!=56320){break Aa}f=f+2|0;v[e+12>>2]=f;n=n+1|0;g=(c+(g<<10)|0)-56613888|0;if(!(s&1)){break wa}}r=g&15;c=v[m+(x[m+(g>>10<<1)>>1]+(g>>>4&63)<<2)>>2];p=x[h+((r|c<<4&1048560)<<1)>>1];if(c>>>(r|16)&1){break xa}if(w[i+35|0]|g-57344>>>0<6400){break ya}if(!(p&65535)|g-983040>>>0>131071){break wa}break xa}c=f+2|0}f=c;p=x[h+(x[q+(g>>>5&2046)>>1]+(g&63)<<1)>>1];if(p){break xa}break wa}v[b>>2]=12;break i}v[b>>2]=12;break i}if(!(p&65535)){break wa}}if((p&65535)>>>0>255){break va}c=v[e+8>>2];v[e+8>>2]=c+1;t[c|0]=p;g=v[e+4>>2];if(g){break ua}f=-1;break sa}v[a+8>>2]=f;g=is(i,v[v[i+24>>2]+224>>2],g,e+12|0,o,e+8|0,v[e+8>>2]+k|0,e+4|0,j,t[a+2|0],b);f=v[e+12>>2];if(v[b>>2]>0){break i}k=v[a+20>>2]-v[e+8>>2]|0;n=(f-v[a+8>>2]>>1)+n|0;j=n;break ra}c=v[e+8>>2];v[e+8>>2]=c+1;t[c|0]=p>>>8;if((k|0)>=2){c=v[e+8>>2];v[e+8>>2]=c+1;t[c|0]=p;c=v[e+4>>2];if(!c){f=-2;break sa}v[c>>2]=j;g=c+4|0;f=-2;c=c+8|0;break ta}c=v[e+4>>2];if(c){v[e+4>>2]=c+4;v[c>>2]=j}t[i+63|0]=1;t[i+76|0]=p;v[b>>2]=15;g=0;f=v[e+12>>2];break i}f=-1;c=g+4|0}v[d+4>>2]=c;v[g>>2]=j}k=f+k|0;g=0;f=v[e+12>>2];j=n}p=0;continue}}while(1){d=b;Ga:{Ha:{Ia:{Ja:{Ka:{La:{if(!j){if(g>>>0>=o>>>0){break Ha}j=15;if((n|0)<1){break Ia}j=g+2|0;v[e+12>>2]=j;k=k+1|0;f=x[g>>1];if((f&63488)!=55296){break La}if(f&1024){break Ja}g=j;j=1;continue}if(g>>>0>=o>>>0){break Ha}m=x[g>>1];j=12;if((m&64512)!=56320){break Ia}j=g+2|0;v[e+12>>2]=j;k=k+1|0;f=(m+(f<<10)|0)-56613888|0;if(!(p&1)){break Ka}}d=x[l+(x[s+(x[s+(f>>10<<1)>>1]+(f>>>4&63)<<1)>>1]+(f&15)<<1)>>1];if(d>>>0<(h?2048:3072)>>>0){break Ka}j=v[e+8>>2];v[e+8>>2]=j+1;t[j|0]=d;d=v[e+4>>2];if(d){v[e+4>>2]=d+4;v[d>>2]=c}n=n-1|0;f=0;g=v[e+12>>2];c=k;break Ga}v[a+8>>2]=j;f=is(i,v[v[i+24>>2]+224>>2],f,e+12|0,o,e+8|0,v[e+8>>2]+n|0,e+4|0,c,t[a+2|0],b);g=v[e+12>>2];if(v[b>>2]>0){break Ha}n=v[a+20>>2]-v[e+8>>2]|0;c=(g-v[a+8>>2]>>1)+k|0;k=c;break Ga}g=j;j=12}v[d>>2]=j}v[i+56>>2]=f;v[a+8>>2]=g;v[a+16>>2]=v[e+8>>2];v[a+24>>2]=v[e+4>>2];break a}j=0;continue}}Ma:while(1){Na:{Oa:{Pa:{if(!i){if((g|0)<1){n=m;break Oa}j=s?2048:3072;n=m;while(1){v[e+12>>2]=n+2;Qa:{k=x[n>>1];if(!(k>>>0>127|!(h>>>(k>>>2)&1))){i=v[e+8>>2];v[e+8>>2]=i+1;t[i|0]=k;break Qa}i=x[l+(x[o+(x[o+(k>>>9&126)>>1]+(k>>>4&63)<<1)>>1]+(k&15)<<1)>>1];if(i>>>0>=j>>>0){k=v[e+8>>2];v[e+8>>2]=k+1;t[k|0]=i;break Qa}n=n+2|0;if((k&63488)!=55296){break Pa}if(!(k&1024)){i=1;continue Ma}v[b>>2]=12;break Oa}if((g|0)>=2){g=g-1|0;n=v[e+12>>2];continue}break}k=0;n=v[e+12>>2];break Oa}Ra:{if(d>>>0>n>>>0){j=x[n>>1];if((j&64512)==56320){break Ra}v[b>>2]=12;break Oa}if(!w[a+2|0]){break Oa}v[b>>2]=11;break Oa}n=n+2|0;v[e+12>>2]=n;k=(j+(k<<10)|0)-56613888|0}j=k>>>0<65536?1:2;g=v[e+4>>2];Sa:{if(!g){break Sa}i=n-m>>1;p=i-j|0;if((p|0)<1){break Sa}m=i-j&7;if(m){while(1){v[g>>2]=f;p=p-1|0;g=g+4|0;f=f+1|0;m=m-1|0;if(m){continue}break}}if(i+(j^-1)>>>0>=7){while(1){v[g>>2]=f;v[g+28>>2]=f+7;v[g+24>>2]=f+6;v[g+20>>2]=f+5;v[g+16>>2]=f+4;v[g+12>>2]=f+3;v[g+8>>2]=f+2;v[g+4>>2]=f+1;g=g+32|0;f=f+8|0;i=(p|0)>8;p=p-8|0;if(i){continue}break}}v[e+4>>2]=g}k=is(c,v[v[c+24>>2]+224>>2],k,e+12|0,d,e+8|0,v[a+20>>2],e+4|0,f,t[a+2|0],b);m=v[e+12>>2];f=(f+j|0)+(m-n>>1)|0;if(v[b>>2]>0){n=m;break Oa}j=d-m>>1;i=v[a+20>>2]-v[e+8>>2]|0;g=(i|0)>(j|0)?j:i;break Na}g=0;j=v[b>>2];if(!(d>>>0<=n>>>0|(j|0)>0|y[e+8>>2]>2])){j=15;v[b>>2]=15}b=v[e+4>>2];Ta:{if(!b){break Ta}d=n-m|0;if(!d){g=b;break Ta}d=d>>1;i=(j|0)==11;j=d-i|0;if(!j){g=b;break Ta}d=d+(i?-1:0)|0;o=d-1|0;i=d&7;Ua:{if(!i){g=b;break Ua}g=b;while(1){v[g>>2]=f;j=j-1|0;g=g+4|0;f=f+1|0;i=i-1|0;if(i){continue}break}}if(o>>>0<7){break Ta}while(1){v[g>>2]=f;v[g+28>>2]=f+7;v[g+24>>2]=f+6;v[g+20>>2]=f+5;v[g+16>>2]=f+4;v[g+12>>2]=f+3;v[g+8>>2]=f+2;v[g+4>>2]=f+1;g=g+32|0;f=f+8|0;j=j-8|0;if(j){continue}break}}v[c+56>>2]=k;v[a+8>>2]=n;b=v[e+8>>2];v[a+24>>2]=g;v[a+16>>2]=b;break a}i=0;continue}}v[i+56>>2]=g;v[a+8>>2]=f;v[a+16>>2]=v[e+8>>2];v[a+24>>2]=v[e+4>>2]}Qb=e+16|0}function DCa(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,j=0,k=0;i=Qb-176|0;Qb=i;j=v[g>>2];g=v[g+4>>2];k=v[d>>2];d=v[d+4>>2];v[a+156>>2]=0;v[a>>2]=896644;b=fc(8);v[299999]=0;Q(3063,b|0,c|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=P()|0;O()|0;dc(b);T(a|0);L()}v[a+32>>2]=j;v[a+36>>2]=g;v[a+20>>2]=f;v[a+16>>2]=e;v[a+8>>2]=k;v[a+12>>2]=d;v[a+4>>2]=b;v[a+152>>2]=0;v[a+28>>2]=0;v[a>>2]=896768;v[i+160>>2]=13;v[i+144>>2]=13;v[i+128>>2]=13;v[i+112>>2]=13;v[i+96>>2]=13;v[i+80>>2]=13;v[i+64>>2]=13;v[a+160>>2]=0;v[a+164>>2]=0;v[a+144>>2]=1717986918;v[a+148>>2]=1072588390;v[a+136>>2]=1717986918;v[a+140>>2]=-1076468122;v[a+128>>2]=1717986918;v[a+132>>2]=1072588390;v[a+120>>2]=0;v[a+124>>2]=0;v[a+88>>2]=0;v[a+92>>2]=0;v[a+96>>2]=0;v[a+100>>2]=0;v[a+104>>2]=0;v[a+108>>2]=0;v[a+112>>2]=0;v[a+116>>2]=0;v[a+200>>2]=0;v[a+204>>2]=0;v[a+192>>2]=-1030792151;v[a+196>>2]=1072441589;v[a+184>>2]=0;v[a+188>>2]=-1074790400;v[a+176>>2]=0;v[a+180>>2]=1072693248;v[a+168>>2]=0;v[a+172>>2]=1;v[a+208>>2]=0;v[a+212>>2]=0;v[a+216>>2]=0;v[a+220>>2]=0;v[299999]=0;b=Z(3101,h|0,234476,i+144|0,0)|0;c=v[299999];v[299999]=0;a:{b:{if((c|0)==1){break b}c:{d:{e:{f:{g:{h:{i:{if(v[b>>2]==6){b=v[i+152>>2];if(v[b+12>>2]){break i}}v[299999]=0;$(3514,1,-1,228129,0);b=v[299999];v[299999]=0;if((b|0)==1){break b}v[299999]=0;R(3098,i+144|0);b=v[299999];v[299999]=0;if((b|0)!=1){break h}break b}v[299999]=0;b=Z(3114,b|0,0,i+160|0,0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}j:{if(v[b>>2]!=7){v[299999]=0;$(3514,1,-1,228290,0);b=v[299999];v[299999]=0;if((b|0)==1){break b}break j}v[299999]=0;R(3098,i+144|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}v[299999]=0;e=v[i+168>>2];U(3513,a|0,a|0,e|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}v[299999]=0;b=Z(3101,e|0,244432,i+144|0,0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}if(v[b>>2]!=7){v[299999]=0;$(3514,1,-1,227882,0);b=v[299999];v[299999]=0;if((b|0)==1){break b}break j}v[299999]=0;Z(3101,v[i+152>>2],217813,i+128|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}v[299999]=0;Z(3101,v[i+152>>2],272613,i+112|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}if(!(v[i+128>>2]==3&v[i+112>>2]==3)){v[299999]=0;$(3514,1,-1,227941,0);b=v[299999];v[299999]=0;if((b|0)==1){break b}v[299999]=0;R(3098,i+112|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}v[299999]=0;R(3098,i+128|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}break j}v[299999]=0;b=v[i+136>>2];c=S(1,8)|0;d=v[299999];v[299999]=0;if((d|0)==1){break b}v[299999]=0;b=Q(3064,c|0,b|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){b=P()|0;O()|0;dc(c);break a}v[299999]=0;b=Q(3532,b|0,45)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}v[299999]=0;b=Q(3533,b|0,v[i+120>>2])|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+160>>2]=b;v[299999]=0;R(3098,i+112|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}v[299999]=0;R(3098,i+128|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}v[299999]=0;R(3098,i+144|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}v[a+224>>2]=0;v[299999]=0;b=Z(3528,a|0,h|0,16,0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+168>>2]=b;k:{if(b){break k}v[a+172>>2]=0;b=v[a+160>>2];v[299999]=0;b=Ad(b,217748);c=v[299999];v[299999]=0;if((c|0)==1){break b}l:{if(b){b=v[a+160>>2];v[299999]=0;b=Ad(b,310862);c=v[299999];v[299999]=0;if((c|0)==1){break b}if(b){break l}}v[299999]=0;b=ga(3534)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+168>>2]=b;break k}b=v[a+160>>2];v[299999]=0;b=Q(3535,v[294330],b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+168>>2]=b;if(b){v[a+224>>2]=1;break k}v[i+16>>2]=v[a+160>>2];v[299999]=0;$(3514,1,-1,345258,i+16|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}v[299999]=0;b=ga(3534)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+168>>2]=b}b=v[a+16>>2];m:{if(!b){break m}v[299999]=0;b=Q(3529,v[294330],b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}if(!b){break m}c=v[a+168>>2];if(c){if(v[c+4>>2]){if(v[c+8>>2]){d=0;while(1){v[299999]=0;c=kk(c,d,i+32|0,8);f=v[299999];v[299999]=0;if((f|0)==1){break f}n:{if((c|0)<1){break n}v[299999]=0;c=kk(b,v[i+32>>2],i+32|0,8);f=v[299999];v[299999]=0;if((f|0)==1){break f}if((c|0)<1){break n}f=v[a+168>>2];v[299999]=0;$(3530,f|0,d|0,i+32|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break f}}d=d+1|0;c=v[a+168>>2];if(d>>>0>2]){continue}break}}v[299999]=0;R(3130,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}break m}v[299999]=0;R(3130,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break b}}v[a+168>>2]=b}v[299999]=0;b=Z(3101,h|0,272962,i+144|0,0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}if(v[b>>2]==5){v[299999]=0;$(3514,1,-1,228183,0);b=v[299999];v[299999]=0;if((b|0)==1){break b}break j}b=v[a+160>>2];v[299999]=0;b=Y(3536,0,b|0,i+144|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+164>>2]=b;if(!b){break j}b=a;c=0;o:{if(v[i+144>>2]!=4){break o}c=0;if(mc(v[i+152>>2],320870)){break o}c=v[a+160>>2];v[299999]=0;c=Ad(c,217748);d=v[299999];v[299999]=0;if((d|0)==1){break b}c=!c}v[b+232>>2]=c;v[299999]=0;R(3098,i+144|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}v[a+228>>2]=0;v[299999]=0;Z(3101,e|0,242689,i+144|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}p:{q:{r:{switch(v[i+144>>2]-4|0){case 4:v[a+220>>2]=0;v[299999]=0;f=64;b=Q(3364,64,4)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+216>>2]=b;b=v[i+152>>2];c=v[v[b>>2]+20>>2];v[299999]=0;R(c|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}while(1){b=v[i+152>>2];c=v[v[b>>2]+28>>2];v[299999]=0;b=S(c|0,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break e}s:{if((b|0)==-1){break s}c=v[i+152>>2];d=v[v[c>>2]+28>>2];v[299999]=0;c=S(d|0,c|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break e}if((c|0)==-1){break s}d=v[a+220>>2];t:{if((f|0)!=(d|0)){g=v[a+216>>2];break t}d=v[a+216>>2];v[299999]=0;f=f<<1;g=Y(3537,d|0,f|0,4)|0;d=v[299999];v[299999]=0;if((d|0)==1){break e}v[a+216>>2]=g;d=v[a+220>>2]}v[a+220>>2]=d+1;v[(d<<2)+g>>2]=c+(b<<8);continue}break};b=v[i+152>>2];c=v[v[b>>2]+24>>2];v[299999]=0;R(c|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}v[a+232>>2]=0;break p;case 1:break p;case 0:break r;default:break q}}if(mc(v[i+152>>2],217754)){break q}v[a+228>>2]=1;break p}v[299999]=0;$(3514,1,-1,228036,0);b=v[299999];v[299999]=0;if((b|0)==1){break b}}v[299999]=0;R(3098,i+144|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}v[299999]=0;b=Z(3101,e|0,309707,i+144|0,0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}if(v[b>>2]==1){A[a+176>>3]=+v[i+152>>2]*.001}v[299999]=0;R(3098,i+144|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}v[299999]=0;b=Z(3101,e|0,309708,i+144|0,0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}u:{if(v[b>>2]!=6){break u}g=0;f=0;while(1){d=f+1|0;b=v[i+152>>2];if((d|0)>=v[b+12>>2]){break u}v[299999]=0;Z(3114,b|0,f|0,i+128|0,0)|0;b=v[299999];v[299999]=0;v:{if((b|0)==1){break v}v[299999]=0;Z(3114,v[i+152>>2],d|0,i+112|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break v}w:{x:{if(v[i+128>>2]!=1){break x}y:{switch(v[i+112>>2]-1|0){case 0:c=f+2|0;b=v[i+152>>2];if((c|0)>=v[b+12>>2]){break x}v[299999]=0;b=Z(3114,b|0,c|0,i+96|0,0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break v}z:{if(v[b>>2]-1>>>0<=1){d=v[a+204>>2];A:{if((g|0)!=(d|0)){h=v[a+200>>2];break A}b=v[a+200>>2];v[299999]=0;g=g+16|0;h=Y(3537,b|0,g|0,16)|0;b=v[299999];v[299999]=0;if((b|0)==1){break v}v[a+200>>2]=h;d=v[a+204>>2]}b=(d<<4)+h|0;v[b>>2]=v[i+136>>2];v[b+4>>2]=v[i+120>>2];A[b+8>>3]=(v[i+96>>2]==1?+v[i+104>>2]:A[i+104>>3])*.001;v[a+204>>2]=d+1;break z}v[299999]=0;$(3514,1,-1,228221,0);b=v[299999];v[299999]=0;if((b|0)==1){break v}}v[299999]=0;R(3098,i+96|0);b=v[299999];v[299999]=0;if((b|0)==1){break v}d=f+3|0;break w;case 5:break y;default:break x}}h=v[i+120>>2];b=v[h+12>>2];c=b+v[a+204>>2]|0;if((c|0)>(g|0)){b=v[a+200>>2];v[299999]=0;g=c+15&-16;b=Y(3537,b|0,g|0,16)|0;c=v[299999];v[299999]=0;if((c|0)==1){break v}v[a+200>>2]=b;h=v[i+120>>2];b=v[h+12>>2]}if((b|0)>=1){d=0;c=v[i+136>>2];while(1){v[299999]=0;b=Z(3114,h|0,d|0,i+96|0,0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break d}B:{if(v[b>>2]-1>>>0<=1){h=v[a+204>>2];b=v[a+200>>2]+(h<<4)|0;v[b+4>>2]=c;v[b>>2]=c;A[b+8>>3]=(v[i+96>>2]==1?+v[i+104>>2]:A[i+104>>3])*.001;v[a+204>>2]=h+1;c=c+1|0;break B}v[299999]=0;$(3514,1,-1,228221,0);b=v[299999];v[299999]=0;if((b|0)==1){break d}}v[299999]=0;R(3098,i+96|0);b=v[299999];v[299999]=0;if((b|0)==1){break d}d=d+1|0;h=v[i+120>>2];if((d|0)>2]){continue}break}}d=f+2|0;break w}v[299999]=0;$(3514,1,-1,228221,0);b=v[299999];v[299999]=0;if((b|0)==1){break v}}v[299999]=0;R(3098,i+112|0);b=v[299999];v[299999]=0;if((b|0)==1){break v}v[299999]=0;R(3098,i+128|0);b=v[299999];v[299999]=0;f=d;if((b|0)!=1){continue}}break}b=P()|0;O()|0;break a}v[299999]=0;R(3098,i+144|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}v[299999]=0;b=Z(3101,e|0,329324,i+144|0,0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}C:{if(v[b>>2]!=6){break C}b=v[i+152>>2];if(v[b+12>>2]!=2){break C}v[299999]=0;b=Z(3114,b|0,0,i+128|0,0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}if(v[b>>2]-1>>>0<=1){A[a+192>>3]=(v[i+128>>2]==1?+v[i+136>>2]:A[i+136>>3])*.001}v[299999]=0;R(3098,i+128|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}v[299999]=0;b=Z(3114,v[i+152>>2],1,i+128|0,0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}if(v[b>>2]-1>>>0<=1){A[a+184>>3]=(v[i+128>>2]==1?+v[i+136>>2]:A[i+136>>3])*.001}v[299999]=0;R(3098,i+128|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}}v[299999]=0;R(3098,i+144|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}v[299999]=0;b=Z(3101,e|0,329325,i+144|0,0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}D:{if(v[b>>2]!=6){break D}g=0;e=0;while(1){d=e+1|0;b=v[i+152>>2];if((d|0)>=v[b+12>>2]){break D}v[299999]=0;Z(3114,b|0,e|0,i+128|0,0)|0;b=v[299999];v[299999]=0;E:{if((b|0)==1){break E}v[299999]=0;Z(3114,v[i+152>>2],d|0,i+112|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break E}F:{G:{if(v[i+128>>2]!=1){break G}H:{switch(v[i+112>>2]-1|0){case 0:c=e+4|0;b=v[i+152>>2];if((c|0)>=v[b+12>>2]){break G}v[299999]=0;b=Z(3114,b|0,e+2|0,i+96|0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break E}I:{J:{if(v[b>>2]-1>>>0>1){break J}v[299999]=0;b=Z(3114,v[i+152>>2],e+3|0,i+80|0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break E}if(v[b>>2]-1>>>0>1){break J}v[299999]=0;b=Z(3114,v[i+152>>2],c|0,i- -64|0,0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break E}if(v[b>>2]-1>>>0>1){break J}h=v[a+212>>2];K:{if((h|0)!=(g|0)){d=v[a+208>>2];break K}b=v[a+208>>2];v[299999]=0;g=g+16|0;d=Y(3537,b|0,g|0,32)|0;b=v[299999];v[299999]=0;if((b|0)==1){break E}v[a+208>>2]=d;h=v[a+212>>2]}b=(h<<5)+d|0;v[b>>2]=v[i+136>>2];v[b+4>>2]=v[i+120>>2];A[b+8>>3]=(v[i+96>>2]==1?+v[i+104>>2]:A[i+104>>3])*.001;A[b+16>>3]=(v[i+80>>2]==1?+v[i+88>>2]:A[i+88>>3])*.001;A[b+24>>3]=(v[i+64>>2]==1?+v[i+72>>2]:A[i+72>>3])*.001;v[a+212>>2]=h+1;break I}v[299999]=0;$(3514,1,-1,228253,0);b=v[299999];v[299999]=0;if((b|0)==1){break E}}v[299999]=0;R(3098,i- -64|0);b=v[299999];v[299999]=0;if((b|0)==1){break E}v[299999]=0;R(3098,i+80|0);b=v[299999];v[299999]=0;if((b|0)==1){break E}v[299999]=0;R(3098,i+96|0);b=v[299999];v[299999]=0;if((b|0)==1){break E}d=e+5|0;break F;case 5:break H;default:break G}}c=v[i+120>>2];b=v[c+12>>2];d=v[a+212>>2]+((b|0)/3|0)|0;if((d|0)>(g|0)){b=v[a+208>>2];v[299999]=0;g=d+15&-16;b=Y(3537,b|0,g|0,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){break E}v[a+208>>2]=b;c=v[i+120>>2];b=v[c+12>>2]}if((b|0)>=3){d=0;h=2;f=v[i+136>>2];while(1){v[299999]=0;b=Z(3114,c|0,d|0,i+96|0,0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break c}L:{M:{if(v[b>>2]-1>>>0>1){break M}v[299999]=0;b=Z(3114,v[i+120>>2],d+1|0,i+80|0,0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break c}if(v[b>>2]-1>>>0>1){break M}v[299999]=0;b=Z(3114,v[i+120>>2],h|0,i- -64|0,0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break c}if(v[b>>2]-1>>>0>1){break M}c=v[a+212>>2];b=v[a+208>>2]+(c<<5)|0;v[b+4>>2]=f;v[b>>2]=f;A[b+8>>3]=(v[i+96>>2]==1?+v[i+104>>2]:A[i+104>>3])*.001;A[b+16>>3]=(v[i+80>>2]==1?+v[i+88>>2]:A[i+88>>3])*.001;A[b+24>>3]=(v[i+64>>2]==1?+v[i+72>>2]:A[i+72>>3])*.001;v[a+212>>2]=c+1;f=f+1|0;break L}v[299999]=0;$(3514,1,-1,228253,0);b=v[299999];v[299999]=0;if((b|0)==1){break c}}v[299999]=0;R(3098,i- -64|0);b=v[299999];v[299999]=0;if((b|0)==1){break c}v[299999]=0;R(3098,i+80|0);b=v[299999];v[299999]=0;if((b|0)==1){break c}v[299999]=0;R(3098,i+96|0);b=v[299999];v[299999]=0;if((b|0)==1){break c}h=d+5|0;d=d+3|0;c=v[i+120>>2];if(v[c+12>>2]>(h|0)){continue}break}}d=e+2|0;break F}v[299999]=0;$(3514,1,-1,228253,0);b=v[299999];v[299999]=0;if((b|0)==1){break E}}v[299999]=0;R(3098,i+112|0);b=v[299999];v[299999]=0;if((b|0)==1){break E}v[299999]=0;R(3098,i+128|0);b=v[299999];v[299999]=0;e=d;if((b|0)!=1){continue}}break}b=P()|0;O()|0;break a}v[299999]=0;R(3098,i+144|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}v[299999]=0;R(3098,i+160|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}v[a+156>>2]=1;break g}v[299999]=0;R(3098,i+144|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}v[299999]=0;R(3098,i+160|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}}v[i>>2]=v[a+16>>2];v[299999]=0;$(3514,1,-1,345218,i|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}}Qb=i+176|0;return a|0}b=P()|0;O()|0;break a}b=P()|0;O()|0;break a}b=P()|0;O()|0;break a}b=P()|0;O()|0;break a}b=P()|0;O()|0}hu(a);T(b|0);L()}function x4a(a){a=a|0;var 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,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0;n=Qb-256|0;Qb=n;c=v[a+436>>2];while(1){a:{b:{if(c){break b}if(!v[v[a+460>>2]+12>>2]){d=v[a+24>>2];c=v[d+4>>2];if(!c){if(!(Ub[v[d+12>>2]](a)|0)){c=0;break a}c=v[d+4>>2]}b=v[d>>2];e=w[b|0];f=c-1|0;if(f){c=b+1|0}else{if(!(Ub[v[d+12>>2]](a)|0)){c=0;break a}f=v[d+4>>2];c=v[d>>2]}b=c+1|0;c=w[c|0];if(!((e|0)==255&(c|0)==216)){h=v[a>>2];v[h+24>>2]=e;v[h+20>>2]=55;v[v[a>>2]+28>>2]=c;Ub[v[v[a>>2]>>2]](a)}v[a+436>>2]=c;v[d+4>>2]=f-1;v[d>>2]=b;break b}if(!jI(a)){c=0;break a}c=v[a+436>>2]}c:{d:{switch(c-1|0){case 215:c=v[a>>2];v[c+20>>2]=104;Ub[v[c+4>>2]](a,1);c=v[a+460>>2];if(v[c+12>>2]){c=v[a>>2];v[c+20>>2]=63;Ub[v[c>>2]](a);c=v[a+460>>2]}t[a+232|0]=0;t[a+233|0]=0;t[a+234|0]=0;t[a+235|0]=0;t[a+236|0]=0;t[a+237|0]=0;t[a+238|0]=0;t[a+239|0]=0;t[a+240|0]=0;t[a+241|0]=0;t[a+242|0]=0;t[a+243|0]=0;t[a+244|0]=0;t[a+245|0]=0;t[a+246|0]=0;t[a+247|0]=0;t[a+256|0]=1;t[a+257|0]=1;t[a+258|0]=1;t[a+259|0]=1;t[a+260|0]=1;t[a+261|0]=1;t[a+262|0]=1;t[a+263|0]=1;t[a+248|0]=1;t[a+249|0]=1;t[a+250|0]=1;t[a+251|0]=1;t[a+252|0]=1;t[a+253|0]=1;t[a+254|0]=1;t[a+255|0]=1;t[a+272|0]=5;t[a+273|0]=5;t[a+274|0]=5;t[a+275|0]=5;t[a+276|0]=5;t[a+277|0]=5;t[a+278|0]=5;t[a+279|0]=5;t[a+264|0]=5;t[a+265|0]=5;t[a+266|0]=5;t[a+267|0]=5;t[a+268|0]=5;t[a+269|0]=5;t[a+270|0]=5;t[a+271|0]=5;v[a+304>>2]=0;v[a+40>>2]=0;v[a+280>>2]=0;v[a+284>>2]=0;t[a+300|0]=0;v[a+292>>2]=65537;v[a+296>>2]=0;t[a+290|0]=0;u[a+288>>1]=257;v[c+12>>2]=1;break c;case 192:c=0;if(Bv(a,0,0,0)){break c}break a;case 193:c=0;if(Bv(a,0,1,0)){break c}break a;case 200:c=0;if(Bv(a,0,0,1)){break c}break a;case 201:c=0;if(Bv(a,0,1,1)){break c}break a;case 194:case 196:case 197:case 198:case 199:case 202:case 204:case 205:case 206:d=v[a>>2];v[d+24>>2]=c;v[d+20>>2]=62;Ub[v[v[a>>2]>>2]](a);break c;case 217:g=v[a+24>>2];c=v[g+4>>2];b=v[g>>2];if(!v[v[a+460>>2]+16>>2]){d=v[a>>2];v[d+20>>2]=64;Ub[v[d>>2]](a)}if(!c){if(!(Ub[v[g+12>>2]](a)|0)){c=0;break a}b=v[g>>2];c=v[g+4>>2]}d=w[b|0];e=c-1|0;if(e){c=b+1|0}else{if(!(Ub[v[g+12>>2]](a)|0)){c=0;break a}e=v[g+4>>2];c=v[g>>2]}f=w[c|0];e=e-1|0;if(e){c=c+1|0}else{if(!(Ub[v[g+12>>2]](a)|0)){c=0;break a}e=v[g+4>>2];c=v[g>>2]}b=v[a>>2];i=w[c|0];v[b+24>>2]=i;v[b+20>>2]=105;h=1;Ub[v[v[a>>2]+4>>2]](a,1);e:{f:{g:{if(((i<<1)+6|0)!=(f|d<<8)|i>>>0>4){break g}if(i){v[a+336>>2]=i;b=c+1|0;c=e-1|0;j=g+12|0;break f}if(!v[a+224>>2]){break g}v[a+336>>2]=i;b=c+1|0;c=e-1|0;j=g+12|0;break e}d=v[a>>2];v[d+20>>2]=12;Ub[v[d>>2]](a);v[a+336>>2]=i;b=c+1|0;c=e-1|0;j=g+12|0;if(!i){break e}}h=0;while(1){if(!c){if(!(Ub[v[j>>2]](a)|0)){c=0;break a}b=v[g>>2];c=v[g+4>>2]}k=w[b|0];d=c-1|0;if(d){e=b+1|0}else{if(!(Ub[v[j>>2]](a)|0)){c=0;break a}d=v[g+4>>2];e=v[g>>2]}c=v[a+216>>2];m=w[e|0];l=v[a+36>>2];h:{if((l|0)>=1){f=B(l,88)+c|0;b=0;while(1){if((k|0)==v[c>>2]){break h}c=c+88|0;b=b+1|0;if((l|0)!=(b|0)){continue}break}c=f}f=v[a>>2];v[f+24>>2]=k;v[f+20>>2]=4;Ub[v[v[a>>2]>>2]](a)}v[((h<<2)+a|0)+340>>2]=c;v[c+24>>2]=m&15;v[c+20>>2]=m>>>4;f=v[a>>2];v[f+24>>2]=k;v[f+28>>2]=v[c+20>>2];c=v[c+24>>2];v[f+20>>2]=106;v[f+32>>2]=c;Ub[v[f+4>>2]](a,1);b=e+1|0;c=d-1|0;h=h+1|0;if((i|0)!=(h|0)){continue}break}h=0}if(!c){if(!(Ub[v[j>>2]](a)|0)){c=0;break a}b=v[g>>2];c=v[g+4>>2]}v[a+408>>2]=w[b|0];d=a;e=c-1|0;if(e){c=b+1|0}else{if(!(Ub[v[j>>2]](a)|0)){c=0;break a}e=v[g+4>>2];c=v[g>>2]}v[d+412>>2]=w[c|0];b=a;f=e-1|0;if(f){d=c+1|0}else{if(!(Ub[v[j>>2]](a)|0)){c=0;break a}f=v[g+4>>2];d=v[g>>2]}c=w[d|0];v[b+420>>2]=c&15;v[a+416>>2]=c>>>4;e=v[a>>2];v[e+24>>2]=v[a+408>>2];v[e+28>>2]=v[a+412>>2];v[e+32>>2]=v[a+416>>2];v[e+36>>2]=v[a+420>>2];v[e+20>>2]=107;c=1;Ub[v[e+4>>2]](a,1);v[v[a+460>>2]+20>>2]=0;if(!h){v[a+144>>2]=v[a+144>>2]+1}v[g+4>>2]=f-1;v[g>>2]=d+1;v[a+436>>2]=0;break a;case 216:c=v[a>>2];v[c+20>>2]=87;Ub[v[c+4>>2]](a,1);v[a+436>>2]=0;c=2;break a;case 203:f=v[a+24>>2];c=v[f+4>>2];if(!c){if(!(Ub[v[f+12>>2]](a)|0)){c=0;break a}c=v[f+4>>2]}d=v[f>>2];h=w[d|0];b=c-1|0;if(b){c=d+1|0}else{if(!(Ub[v[f+12>>2]](a)|0)){c=0;break a}b=v[f+4>>2];c=v[f>>2]}e=c+1|0;b=b-1|0;d=w[c|0]|h<<8;c=d-2|0;if(d>>>0>=3){while(1){d=c;if(!b){if(!(Ub[v[f+12>>2]](a)|0)){c=0;break a}b=v[f+4>>2];e=v[f>>2]}h=w[e|0];j=b-1|0;if(j){c=e+1|0}else{if(!(Ub[v[f+12>>2]](a)|0)){c=0;break a}j=v[f+4>>2];c=v[f>>2]}e=w[c|0];b=v[a>>2];v[b+24>>2]=h;v[b+20>>2]=81;v[v[a>>2]+28>>2]=e;Ub[v[v[a>>2]+4>>2]](a,1);i:{j:{k:{if(h>>>0>=32){b=v[a>>2];v[b+24>>2]=h;v[b+20>>2]=29;Ub[v[v[a>>2]>>2]](a);break k}if(h>>>0<16){break j}}t[(a+h|0)+248|0]=e;break i}b=a+h|0;h=e>>>4|0;t[b+248|0]=h;g=b;b=e&15;t[g+232|0]=b;if(b>>>0<=h>>>0){break i}b=v[a>>2];v[b+24>>2]=e;v[b+20>>2]=30;Ub[v[v[a>>2]>>2]](a)}e=c+1|0;b=j-1|0;c=d-2|0;if((d|0)>2){continue}break}}if(c){c=v[a>>2];v[c+20>>2]=12;Ub[v[c>>2]](a)}v[f+4>>2]=b;v[f>>2]=e;break c;case 195:l:{d=v[a+24>>2];c=v[d+4>>2];if(!c){if(!(Ub[v[d+12>>2]](a)|0)){break l}c=v[d+4>>2]}e=v[d>>2];f=w[e|0];c=c-1|0;if(c){e=e+1|0}else{if(!(Ub[v[d+12>>2]](a)|0)){break l}c=v[d+4>>2];e=v[d>>2]}b=e+1|0;c=c-1|0;e=w[e|0]|f<<8;h=e-2|0;if(e>>>0>=19){while(1){if(!c){if(!(Ub[v[d+12>>2]](a)|0)){break l}b=v[d>>2];c=v[d+4>>2]}e=v[a>>2];g=w[b|0];v[e+24>>2]=g;v[e+20>>2]=82;Ub[v[v[a>>2]+4>>2]](a,1);e=c-1|0;if(e){c=b+1|0}else{if(!(Ub[v[d+12>>2]](a)|0)){break l}e=v[d+4>>2];c=v[d>>2]}j=w[c|0];b=e-1|0;if(b){c=c+1|0}else{if(!(Ub[v[d+12>>2]](a)|0)){break l}b=v[d+4>>2];c=v[d>>2]}i=w[c|0];b=b-1|0;if(b){c=c+1|0}else{if(!(Ub[v[d+12>>2]](a)|0)){break l}b=v[d+4>>2];c=v[d>>2]}k=w[c|0];b=b-1|0;if(b){c=c+1|0}else{if(!(Ub[v[d+12>>2]](a)|0)){break l}b=v[d+4>>2];c=v[d>>2]}m=w[c|0];b=b-1|0;if(b){c=c+1|0}else{if(!(Ub[v[d+12>>2]](a)|0)){break l}b=v[d+4>>2];c=v[d>>2]}l=w[c|0];b=b-1|0;if(b){c=c+1|0}else{if(!(Ub[v[d+12>>2]](a)|0)){break l}b=v[d+4>>2];c=v[d>>2]}o=w[c|0];b=b-1|0;if(b){c=c+1|0}else{if(!(Ub[v[d+12>>2]](a)|0)){break l}b=v[d+4>>2];c=v[d>>2]}p=w[c|0];b=b-1|0;if(b){c=c+1|0}else{if(!(Ub[v[d+12>>2]](a)|0)){break l}b=v[d+4>>2];c=v[d>>2]}q=w[c|0];b=b-1|0;if(b){c=c+1|0}else{if(!(Ub[v[d+12>>2]](a)|0)){break l}b=v[d+4>>2];c=v[d>>2]}r=w[c|0];b=b-1|0;if(b){c=c+1|0}else{if(!(Ub[v[d+12>>2]](a)|0)){break l}b=v[d+4>>2];c=v[d>>2]}s=w[c|0];b=b-1|0;if(b){c=c+1|0}else{if(!(Ub[v[d+12>>2]](a)|0)){break l}b=v[d+4>>2];c=v[d>>2]}y=w[c|0];b=b-1|0;if(b){c=c+1|0}else{if(!(Ub[v[d+12>>2]](a)|0)){break l}b=v[d+4>>2];c=v[d>>2]}z=w[c|0];b=b-1|0;if(b){c=c+1|0}else{if(!(Ub[v[d+12>>2]](a)|0)){break l}b=v[d+4>>2];c=v[d>>2]}A=w[c|0];b=b-1|0;if(b){c=c+1|0}else{if(!(Ub[v[d+12>>2]](a)|0)){break l}b=v[d+4>>2];c=v[d>>2]}C=w[c|0];b=b-1|0;if(b){c=c+1|0}else{if(!(Ub[v[d+12>>2]](a)|0)){break l}b=v[d+4>>2];c=v[d>>2]}D=w[c|0];e=b-1|0;if(e){c=c+1|0}else{if(!(Ub[v[d+12>>2]](a)|0)){break l}e=v[d+4>>2];c=v[d>>2]}E=w[c|0];f=v[a>>2];v[f+24>>2]=j;v[f+20>>2]=88;v[f+52>>2]=q;v[f+48>>2]=p;v[f+44>>2]=o;v[f+40>>2]=l;v[f+36>>2]=m;v[f+32>>2]=k;v[f+28>>2]=i;Ub[v[f+4>>2]](a,2);f=v[a>>2];v[f+24>>2]=r;v[f+20>>2]=88;v[f+52>>2]=E;v[f+48>>2]=D;v[f+44>>2]=C;v[f+40>>2]=A;v[f+36>>2]=z;v[f+32>>2]=y;v[f+28>>2]=s;Ub[v[f+4>>2]](a,2);f=(((((((((((l+(m+(k+(i+j|0)|0)|0)|0)+o|0)+p|0)+q|0)+r|0)+s|0)+y|0)+z|0)+A|0)+C|0)+D|0)+E|0;h=h-17|0;if(!(f>>>0<=256&(h|0)>=(f|0))){b=v[a>>2];v[b+20>>2]=9;Ub[v[b>>2]](a)}b=c+1|0;c=e-1|0;e=0;if(f){while(1){if(!c){if(!(Ub[v[d+12>>2]](a)|0)){break l}b=v[d>>2];c=v[d+4>>2]}t[e+n|0]=w[b|0];b=b+1|0;c=c-1|0;e=e+1|0;if(f>>>0>e>>>0){continue}break}}e=g-16|0;G=g&16;F=G?((e<<2)+a|0)+196|0:((g<<2)+a|0)+180|0;e=G?e:g;if(e>>>0>=4){g=v[a>>2];v[g+24>>2]=e;v[g+20>>2]=31;Ub[v[v[a>>2]>>2]](a)}h=h-f|0;e=v[F>>2];if(!e){e=Ub[v[v[a+4>>2]>>2]](a,0,280)|0;v[e+276>>2]=0;v[F>>2]=e}t[e+16|0]=E;t[e+15|0]=D;t[e+14|0]=C;t[e+13|0]=A;t[e+12|0]=z;t[e+11|0]=y;t[e+10|0]=s;t[e+9|0]=r;t[e+8|0]=q;t[e+7|0]=p;t[e+6|0]=o;t[e+5|0]=l;t[e+4|0]=m;t[e+3|0]=k;t[e+2|0]=i;t[e+1|0]=j;t[e|0]=0;gc(v[F>>2]+17|0,n,256);if((h|0)>16){continue}break}}if(h){e=v[a>>2];v[e+20>>2]=12;Ub[v[e>>2]](a)}v[d+4>>2]=c;v[d>>2]=b;break c}c=0;break a;case 191:c=0;if(Bv(a,1,0,0)){break c}break a;default:d=v[a>>2];v[d+24>>2]=c;v[d+20>>2]=70;Ub[v[v[a>>2]>>2]](a);break c;case 219:c=v[a+24>>2];b=v[c+4>>2];if(!b){if(!(Ub[v[c+12>>2]](a)|0)){c=0;break a}b=v[c+4>>2]}d=v[c>>2];f=w[d|0];e=b-1|0;if(e){d=d+1|0}else{if(!(Ub[v[c+12>>2]](a)|0)){c=0;break a}e=v[c+4>>2];d=v[c>>2]}b=w[d|0];h=v[a>>2];v[h+20>>2]=93;v[h+24>>2]=v[a+436>>2];f=b|f<<8;b=f-2|0;v[v[a>>2]+28>>2]=b;Ub[v[v[a>>2]+4>>2]](a,1);v[c+4>>2]=e-1;v[c>>2]=d+1;if(f>>>0<3){break c}Ub[v[v[a+24>>2]+16>>2]](a,b);break c;case 0:case 207:case 208:case 209:case 210:case 211:case 212:case 213:case 214:d=v[a>>2];v[d+24>>2]=c;v[d+20>>2]=94;Ub[v[v[a>>2]+4>>2]](a,1);break c;case 253:if(Ub[v[v[a+460>>2]+28>>2]](a)|0){break c}c=0;break a;case 223:case 224:case 225:case 226:case 227:case 228:case 229:case 230:case 231:case 232:case 233:case 234:case 235:case 236:case 237:case 238:if(Ub[v[(v[a+460>>2]+(c<<2)|0)-864>>2]](a)|0){break c}c=0;break a;case 220:d=v[a+24>>2];b=v[d+4>>2];if(!b){if(!(Ub[v[d+12>>2]](a)|0)){c=0;break a}b=v[d+4>>2]}c=v[d>>2];e=w[c|0];b=b-1|0;if(b){c=c+1|0}else{if(!(Ub[v[d+12>>2]](a)|0)){c=0;break a}b=v[d+4>>2];c=v[d>>2]}b=b-1|0;if((w[c|0]|e<<8)!=4){e=v[a>>2];v[e+20>>2]=12;Ub[v[e>>2]](a)}if(b){c=c+1|0}else{if(!(Ub[v[d+12>>2]](a)|0)){c=0;break a}b=v[d+4>>2];c=v[d>>2]}e=w[c|0];f=b-1|0;if(f){c=c+1|0}else{if(!(Ub[v[d+12>>2]](a)|0)){c=0;break a}f=v[d+4>>2];c=v[d>>2]}b=w[c|0];h=v[a>>2];v[h+20>>2]=84;e=b|e<<8;v[h+24>>2]=e;Ub[v[v[a>>2]+4>>2]](a,1);v[a+280>>2]=e;v[d+4>>2]=f-1;v[d>>2]=c+1;break c;case 218:break d}}g=v[a+24>>2];c=v[g+4>>2];if(!c){if(!(Ub[v[g+12>>2]](a)|0)){c=0;break a}c=v[g+4>>2]}d=v[g>>2];e=w[d|0];b=c-1|0;if(b){c=d+1|0}else{if(!(Ub[v[g+12>>2]](a)|0)){c=0;break a}b=v[g+4>>2];c=v[g>>2]}h=c+1|0;f=b-1|0;d=w[c|0]|e<<8;c=d-2|0;if(d>>>0>=3){while(1){if(!f){if(!(Ub[v[g+12>>2]](a)|0)){c=0;break a}h=v[g>>2];f=v[g+4>>2]}i=w[h|0];d=v[a>>2];v[d+20>>2]=83;e=d;d=i&15;v[e+24>>2]=d;v[v[a>>2]+28>>2]=i>>>4;Ub[v[v[a>>2]+4>>2]](a,1);if(d>>>0>=4){e=v[a>>2];v[e+24>>2]=d;v[e+20>>2]=32;Ub[v[v[a>>2]>>2]](a)}d=(d<<2)+a|0;b=v[d+164>>2];if(!b){b=Ub[v[v[a+4>>2]>>2]](a,0,132)|0;v[b+128>>2]=0;v[d+164>>2]=b}e=c-1|0;m:{n:{o:{p:{k=i>>>0<16;q:{if(!k){if((c|0)>128){break p}u[b+120>>1]=1;u[b+122>>1]=1;u[b+124>>1]=1;u[b+126>>1]=1;u[b+112>>1]=1;u[b+114>>1]=1;u[b+116>>1]=1;u[b+118>>1]=1;u[b+104>>1]=1;u[b+106>>1]=1;u[b+108>>1]=1;u[b+110>>1]=1;u[b+96>>1]=1;u[b+98>>1]=1;u[b+100>>1]=1;u[b+102>>1]=1;u[b+88>>1]=1;u[b+90>>1]=1;u[b+92>>1]=1;u[b+94>>1]=1;u[b+80>>1]=1;u[b+82>>1]=1;u[b+84>>1]=1;u[b+86>>1]=1;u[b+72>>1]=1;u[b+74>>1]=1;u[b+76>>1]=1;u[b+78>>1]=1;u[b+64>>1]=1;u[b+66>>1]=1;u[b+68>>1]=1;u[b+70>>1]=1;u[b+56>>1]=1;u[b+58>>1]=1;u[b+60>>1]=1;u[b+62>>1]=1;u[b+48>>1]=1;u[b+50>>1]=1;u[b+52>>1]=1;u[b+54>>1]=1;u[b+40>>1]=1;u[b+42>>1]=1;u[b+44>>1]=1;u[b+46>>1]=1;u[b+32>>1]=1;u[b+34>>1]=1;u[b+36>>1]=1;u[b+38>>1]=1;u[b+24>>1]=1;u[b+26>>1]=1;u[b+28>>1]=1;u[b+30>>1]=1;u[b+16>>1]=1;u[b+18>>1]=1;u[b+20>>1]=1;u[b+22>>1]=1;u[b+8>>1]=1;u[b+10>>1]=1;u[b+12>>1]=1;u[b+14>>1]=1;u[b>>1]=1;u[b+2>>1]=1;u[b+4>>1]=1;u[b+6>>1]=1;c=e>>1;break q}if((c|0)>64){break p}u[b+120>>1]=1;u[b+122>>1]=1;u[b+124>>1]=1;u[b+126>>1]=1;u[b+112>>1]=1;u[b+114>>1]=1;u[b+116>>1]=1;u[b+118>>1]=1;u[b+104>>1]=1;u[b+106>>1]=1;u[b+108>>1]=1;u[b+110>>1]=1;u[b+96>>1]=1;u[b+98>>1]=1;u[b+100>>1]=1;u[b+102>>1]=1;u[b+88>>1]=1;u[b+90>>1]=1;u[b+92>>1]=1;u[b+94>>1]=1;u[b+80>>1]=1;u[b+82>>1]=1;u[b+84>>1]=1;u[b+86>>1]=1;u[b+72>>1]=1;u[b+74>>1]=1;u[b+76>>1]=1;u[b+78>>1]=1;u[b+64>>1]=1;u[b+66>>1]=1;u[b+68>>1]=1;u[b+70>>1]=1;u[b+56>>1]=1;u[b+58>>1]=1;u[b+60>>1]=1;u[b+62>>1]=1;u[b+48>>1]=1;u[b+50>>1]=1;u[b+52>>1]=1;u[b+54>>1]=1;u[b+40>>1]=1;u[b+42>>1]=1;u[b+44>>1]=1;u[b+46>>1]=1;u[b+32>>1]=1;u[b+34>>1]=1;u[b+36>>1]=1;u[b+38>>1]=1;u[b+24>>1]=1;u[b+26>>1]=1;u[b+28>>1]=1;u[b+30>>1]=1;u[b+16>>1]=1;u[b+18>>1]=1;u[b+20>>1]=1;u[b+22>>1]=1;u[b+8>>1]=1;u[b+10>>1]=1;u[b+12>>1]=1;u[b+14>>1]=1;u[b>>1]=1;u[b+2>>1]=1;u[b+4>>1]=1;u[b+6>>1]=1;c=e}j=71248;r:{s:{t:{u:{v:{w:{d=c;switch(c-4|0){case 0:break r;case 45:break s;case 32:break t;case 21:break u;case 12:break v;case 5:break w;default:break o}}j=71136;break r}j=71008;break r}j=70832;break r}j=70624;break r}j=70352}h=h+1|0;f=f-1|0;break n}h=h+1|0;f=f-1|0;d=64;j=70032;break n}h=h+1|0;f=f-1|0;j=70032;if((d|0)<1){break m}}c=0;if(i>>>0<=15){while(1){if(!f){if(!(Ub[v[g+12>>2]](a)|0)){c=0;break a}h=v[g>>2];f=v[g+4>>2]}u[(v[(c<<2)+j>>2]<<1)+b>>1]=w[h|0];h=h+1|0;f=f-1|0;c=c+1|0;if((d|0)!=(c|0)){continue}break m}}while(1){if(!f){if(!(Ub[v[g+12>>2]](a)|0)){c=0;break a}h=v[g>>2];f=v[g+4>>2]}i=w[h|0];f=f-1|0;if(f){h=h+1|0}else{if(!(Ub[v[g+12>>2]](a)|0)){c=0;break a}f=v[g+4>>2];h=v[g>>2]}u[(v[(c<<2)+j>>2]<<1)+b>>1]=w[h|0]|i<<8;h=h+1|0;f=f-1|0;c=c+1|0;if((d|0)!=(c|0)){continue}break}}j=0;x:{c=v[a>>2];if(v[c+104>>2]<2){break x}while(1){i=j<<1;v[c+24>>2]=x[i+b>>1];v[c+28>>2]=x[(i|2)+b>>1];v[c+32>>2]=x[(i|4)+b>>1];v[c+36>>2]=x[(i|6)+b>>1];v[c+40>>2]=x[(i|8)+b>>1];v[c+44>>2]=x[(i|10)+b>>1];v[c+48>>2]=x[(i|12)+b>>1];i=x[(i|14)+b>>1];v[c+20>>2]=95;v[c+52>>2]=i;Ub[v[c+4>>2]](a,2);if(j>>>0>55){break x}j=j+8|0;c=v[a>>2];continue}}c=e-((k?0:d)+d|0)|0;if((c|0)>0){continue}break}}if(c){c=v[a>>2];v[c+20>>2]=12;Ub[v[c>>2]](a)}v[g+4>>2]=f;v[g>>2]=h}c=0;v[a+436>>2]=0;continue}break}Qb=n+256|0;return c|0}function zP(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=Qb-1136|0;Qb=c;a:{b:{c:{h=v[a+156>>2];if(h){j=a+148|0;k=c+1112|0;while(1){g=0;b=v[h+8>>2];if(b){v[b+4>>2]=v[b+4>>2]+1;g=v[h+8>>2]}v[c+1096>>2]=g;f=0;d:{b=v[g+24>>2];if(!b){break d}v[299999]=0;d=v[b+148>>2];b=v[299999];v[299999]=0;e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{if((b|0)==1){break o}if(!(d&16)){break d}d=v[v[c+1096>>2]+24>>2];b=v[d+108>>2];if(b){v[299999]=0;v[b+4>>2]=v[b+4>>2]+1;b=v[299999];v[299999]=0;if((b|0)==1){break o}b=v[d+108>>2]}else{b=0}v[299999]=0;v[c+64>>2]=b;V(4591,c|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break n}e=v[c+64>>2];v[c+64>>2]=0;p:{if(!e){break p}v[299999]=0;d=v[e+4>>2]-1|0;v[e+4>>2]=d;b=v[299999];v[299999]=0;if((b|0)==1){break a}if(d){break p}v[299999]=0;R(4338,e|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}v[299999]=0;V(4503,c+1088|0,c|0);b=v[299999];v[299999]=0;if((b|0)==1){break m}v[299999]=0;e=v[c+1088>>2];v[c+16>>2]=0;v[c+20>>2]=v[282402];d=Z(4504,e|0,c+16|0,0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break h}q:{if(!d){break q}v[299999]=0;d=Nc(c+16|0,316377,-1);b=v[299999];v[299999]=0;if((b|0)==1){break h}if(d){break q}if(v[v[c+1096>>2]+20>>2]>0){break l}break j}v[299999]=0;d=aa(4369,c- -64|0,301725,241010,1146,341919,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break h}v[299999]=0;R(4370,d|0);b=v[299999];v[299999]=0;if((b|0)==1){break k}break i}f=W(989228)|0;g=O()|0;break e}f=W(989228)|0;g=O()|0;ec(c- -64|0);break e}f=W(989228)|0;g=O()|0;break f}while(1){v[299999]=0;d=Z(4504,e|0,c+16|0,0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break h}if(!d){v[299999]=0;d=aa(4369,c- -64|0,301725,241010,1150,341919,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break h}v[299999]=0;R(4370,d|0);b=v[299999];v[299999]=0;if((b|0)!=1){break i}f=W(989228)|0;g=O()|0;qc(d);break g}v[299999]=0;R(4601,e|0);b=v[299999];v[299999]=0;if((b|0)==1){break h}f=f+1|0;if((f|0)>2]+20>>2]){continue}break}break j}f=W(989228)|0;g=O()|0;qc(d);break g}v[299999]=0;d=Z(4504,e|0,c+16|0,0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break h}r:{if(d){v[299999]=0;d=Nc(c+16|0,326062,-1);b=v[299999];v[299999]=0;if((b|0)==1){break h}if(!d){break r}}v[299999]=0;d=aa(4369,c- -64|0,301725,241010,1154,341919,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break h}v[299999]=0;R(4370,d|0);b=v[299999];v[299999]=0;if((b|0)!=1){break i}f=W(989228)|0;g=O()|0;qc(d);break g}while(1){b=v[v[e>>2]+8>>2];v[299999]=0;d=Y(b|0,e|0,c- -64|0,1024)|0;b=v[299999];v[299999]=0;if((b|0)==1){break h}b=v[v[c+1096>>2]+12>>2];if(d){v[299999]=0;U(4739,b|0,c- -64|0,d|0);b=v[299999];v[299999]=0;if((b|0)==1){break h}continue}break}v[299999]=0;R(4714,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break h}g=v[c+1096>>2];s:{t:{if(v[a+100>>2]){v[c+1128>>2]=0;b=c+1120|0;v[b>>2]=0;v[b+4>>2]=0;v[k>>2]=0;v[k+4>>2]=0;v[c+1104>>2]=0;v[c+1108>>2]=0;v[299999]=0;d=Q(4475,c+1104|0,983320)|0;b=v[299999];v[299999]=0;if((b|0)==1){break h}b=v[a+100>>2];v[299999]=0;U(4740,g+24|0,c+1104|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break t}id(d);g=v[c+1096>>2]}v[299999]=0;Q(4336,g+24|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break h}v[299999]=0;Q(4336,v[c+1096>>2]+16|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break h}ec(c+16|0);e=v[c+1088>>2];v[c+1088>>2]=0;u:{if(!e){break u}v[299999]=0;d=v[e+4>>2]-1|0;v[e+4>>2]=d;b=v[299999];v[299999]=0;if((b|0)==1){break a}if(d){break u}v[299999]=0;R(4338,e|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}e=v[c>>2];v[c>>2]=0;v:{if(!e){break v}v[299999]=0;d=v[e+4>>2]-1|0;v[e+4>>2]=d;b=v[299999];v[299999]=0;if((b|0)==1){break s}if(d){break v}v[299999]=0;R(4338,e|0);b=v[299999];v[299999]=0;if((b|0)==1){break s}}f=1;break d}f=W(989228)|0;g=O()|0;id(d);break g}break a}L()}f=W(989228)|0;g=O()|0}ec(c+16|0);ec(c+1088|0)}ec(c)}if((ja(989228)|0)!=(g|0)){break b}d=ea(f|0)|0;v[299999]=0;e=Q(4340,c- -64|0,348898)|0;b=v[299999];v[299999]=0;w:{x:{y:{z:{A:{if((b|0)!=1){v[299999]=0;d=v[d+4>>2];b=v[299999];v[299999]=0;if((b|0)==1){break A}v[299999]=0;Q(4644,e|0,(d?d:246399)|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break A}v[299999]=0;d=ga(4695)|0;b=v[299999];v[299999]=0;if((b|0)==1){break A}b=v[v[d>>2]+20>>2];v[299999]=0;Y(b|0,d|0,a|0,e|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break A}b=v[v[c+1096>>2]+8>>2];v[299999]=0;$(4704,c+16|0,a|0,b|0,0);b=v[299999];v[299999]=0;if((b|0)==1){break z}v[299999]=0;Q(4344,v[c+1096>>2]+16|0,c+16|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break y}ec(c+16|0);v[299999]=0;Q(4336,v[c+1096>>2]+24|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break A}b=v[v[c+1096>>2]+12>>2];v[299999]=0;R(4714,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break A}ec(e);v[299999]=0;ba(4230);b=v[299999];v[299999]=0;f=1;if((b|0)!=1){break d}f=P()|0;O()|0;break b}f=P()|0;O()|0;break w}f=P()|0;O()|0;break x}f=P()|0;O()|0;break x}f=P()|0;O()|0;ec(c+16|0)}ec(e)}break c}B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{b=v[v[c+1096>>2]+16>>2];if(!b){break U}v[299999]=0;d=v[b+148>>2];b=v[299999];v[299999]=0;V:{if((b|0)==1){break V}if(d&1){break U}b=v[v[c+1096>>2]+16>>2];v[299999]=0;d=v[b+148>>2];b=v[299999];v[299999]=0;if((b|0)==1){break V}if(d&2){v[299999]=0;d=v[c+1096>>2];e=S(4735,20)|0;b=v[299999];v[299999]=0;if((b|0)==1){break V}v[299999]=0;S(4736,e|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){f=W(989228)|0;g=O()|0;Wk(e);break D}v[299999]=0;v[c+1088>>2]=0;Q(4336,c+1088|0,e|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break V}v[299999]=0;V(4737,v[c+1088>>2],d+16|0);b=v[299999];v[299999]=0;if((b|0)==1){f=W(989228)|0;g=O()|0;ec(c+1088|0);break D}v[299999]=0;S(4352,v[c+1088>>2])|0;b=v[299999];v[299999]=0;W:{X:{Y:{Z:{_:{$:{if((b|0)==1){break $}v[299999]=0;d=S(4741,v[c+1088>>2])|0;b=v[299999];v[299999]=0;if((b|0)==1){break $}aa:{if(!d){f=160;break aa}v[299999]=0;f=S(4741,v[c+1088>>2])|0;b=v[299999];v[299999]=0;if((b|0)==1){break $}}v[299999]=0;d=S(4358,v[c+1088>>2])|0;b=v[299999];v[299999]=0;if((b|0)==1){break $}ba:{if(!d){g=160;break ba}v[299999]=0;g=S(4358,v[c+1088>>2])|0;b=v[299999];v[299999]=0;if((b|0)==1){break $}}v[c+64>>2]=0;v[c+68>>2]=0;v[c+72>>2]=160;v[c+76>>2]=(B(g,160)|0)/(f|0);v[299999]=0;b=c- -64|0;xa(4365,c+56|0,v[c+1088>>2],b|0,b|0,2.200000047683716);b=v[299999];v[299999]=0;if((b|0)==1){break $}g=v[c+56>>2];if(g){break Q}v[299999]=0;b=c- -64|0;fa(4367,c+16|0,v[c+1088>>2],b|0,b|0,4);b=v[299999];v[299999]=0;if((b|0)==1){break P}d=v[c+16>>2];if(!d){break Z}v[299999]=0;e=S(1,24)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Y}v[299999]=0;d=Q(4742,e|0,d|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break W}v[299999]=0;v[c>>2]=0;Q(4336,c|0,d|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Y}v[299999]=0;Q(4344,c+56|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break _}e=v[c>>2];v[c>>2]=0;if(!e){break R}v[299999]=0;d=v[e+4>>2]-1|0;v[e+4>>2]=d;b=v[299999];v[299999]=0;if((b|0)==1){break a}if(d){break R}v[299999]=0;R(4338,e|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}break R}f=W(989228)|0;g=O()|0;break E}f=W(989228)|0;g=O()|0;ec(c);break S}v[299999]=0;i=v[c+76>>2];f=v[c+68>>2];e=v[c+72>>2];d=v[c+64>>2];l=S(1,24)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Y}v[299999]=0;d=Z(4743,l|0,i-f|0,e-d|0,990184)|0;b=v[299999];v[299999]=0;if((b|0)==1){break T}v[299999]=0;v[c>>2]=0;Q(4336,c|0,d|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Y}v[299999]=0;Q(4344,c+56|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break X}e=v[c>>2];v[c>>2]=0;if(!e){break R}v[299999]=0;d=v[e+4>>2]-1|0;v[e+4>>2]=d;b=v[299999];v[299999]=0;if((b|0)!=1){if(d){break R}v[299999]=0;R(4338,e|0);b=v[299999];v[299999]=0;if((b|0)!=1){break R}}break a}f=W(989228)|0;g=O()|0;break S}f=W(989228)|0;g=O()|0;ec(c);break S}f=W(989228)|0;g=O()|0;dc(e);break S}b=v[v[c+1096>>2]+16>>2];v[299999]=0;d=v[b+148>>2];b=v[299999];v[299999]=0;if((b|0)==1){break V}b=v[c+1096>>2];if(d&4){v[299999]=0;Q(4336,b+24|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break V}v[299999]=0;Q(4336,v[c+1096>>2]+16|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break V}b=v[v[c+1096>>2]+12>>2];v[299999]=0;R(4714,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break V}break C}b=v[b+16>>2];v[299999]=0;R(4744,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break U}}f=W(989228)|0;g=O()|0;break D}if(f){break C}h=v[h>>2];break B}f=W(989228)|0;g=O()|0;dc(l)}ec(c+16|0);break F}e=v[c+16>>2];v[c+16>>2]=0;ca:{if(!e){break ca}v[299999]=0;d=v[e+4>>2]-1|0;v[e+4>>2]=d;b=v[299999];v[299999]=0;if((b|0)!=1){if(d){break ca}v[299999]=0;R(4338,e|0);b=v[299999];v[299999]=0;if((b|0)!=1){break ca}}break a}g=v[c+56>>2]}v[c+40>>2]=0;v[299999]=0;Q(4336,c+40|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break P}v[299999]=0;$(4745,c+48|0,g|0,c+40|0,2);b=v[299999];v[299999]=0;if((b|0)==1){break O}e=v[c+40>>2];v[c+40>>2]=0;da:{if(!e){break da}v[299999]=0;d=v[e+4>>2]-1|0;v[e+4>>2]=d;b=v[299999];v[299999]=0;if((b|0)==1){break a}if(d){break da}v[299999]=0;R(4338,e|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}v[299999]=0;R(4473,c+32|0);b=v[299999];v[299999]=0;if((b|0)==1){break N}v[299999]=0;d=c+16|0;v[d>>2]=0;v[d+4>>2]=0;v[d+8>>2]=0;b=v[299999];v[299999]=0;if((b|0)==1){break L}v[c+24>>2]=0;v[c+16>>2]=97;v[c+20>>2]=0;f=v[c+48>>2];b=c;e=v[c+32>>2];if(e){v[299999]=0;v[e+4>>2]=v[e+4>>2]+1;e=v[299999];v[299999]=0;if((e|0)==1){break L}e=v[c+32>>2]}else{e=0}v[b+8>>2]=e;b=v[v[f>>2]+32>>2];v[299999]=0;Y(b|0,f|0,c+8|0,d|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break M}e=v[c+8>>2];v[c+8>>2]=0;ea:{if(!e){break ea}v[299999]=0;d=v[e+4>>2]-1|0;v[e+4>>2]=d;b=v[299999];v[299999]=0;if((b|0)==1){break a}if(d){break ea}v[299999]=0;R(4338,e|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}v[299999]=0;V(4747,c|0,v[c+32>>2]);b=v[299999];v[299999]=0;if((b|0)==1){break L}i=v[v[c+1096>>2]+12>>2];g=v[c+4>>2];if(v[g+4>>2]>=2){v[299999]=0;d=S(1,52)|0;b=v[299999];v[299999]=0;if((b|0)==1){break K}v[299999]=0;g=Q(4748,d|0,g|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break J}v[g+4>>2]=v[g+4>>2]+1;d=v[c+4>>2];fa:{if(!d){break fa}b=v[d+4>>2]-1|0;v[d+4>>2]=b;if(b){break fa}Ub[v[v[d>>2]+4>>2]](d)}v[c+4>>2]=g}f=v[g+12>>2];e=v[g+8>>2];d=v[g+20>>2];b=v[g+24>>2];v[299999]=0;U(4739,i|0,e-f|0,(b-d|0)+1|0);b=v[299999];v[299999]=0;if((b|0)==1){break K}b=v[v[c+1096>>2]+12>>2];v[299999]=0;R(4714,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break K}v[299999]=0;Q(4336,v[c+1096>>2]+24|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break K}v[299999]=0;Q(4336,v[c+1096>>2]+16|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break K}v[c>>2]=981312;d=v[c+4>>2];ga:{if(!d){break ga}b=v[d+4>>2]-1|0;v[d+4>>2]=b;if(b){break ga}Ub[v[v[d>>2]+4>>2]](d)}e=v[c+32>>2];v[c+32>>2]=0;ha:{if(!e){break ha}v[299999]=0;d=v[e+4>>2]-1|0;v[e+4>>2]=d;b=v[299999];v[299999]=0;if((b|0)==1){break a}if(d){break ha}v[299999]=0;R(4338,e|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}e=v[c+48>>2];v[c+48>>2]=0;ia:{if(!e){break ia}v[299999]=0;d=v[e+4>>2]-1|0;v[e+4>>2]=d;b=v[299999];v[299999]=0;if((b|0)==1){break a}if(d){break ia}v[299999]=0;R(4338,e|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}e=v[c+56>>2];v[c+56>>2]=0;ja:{if(!e){break ja}v[299999]=0;d=v[e+4>>2]-1|0;v[e+4>>2]=d;b=v[299999];v[299999]=0;if((b|0)==1){break a}if(d){break ja}v[299999]=0;R(4338,e|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}e=v[c+1088>>2];v[c+1088>>2]=0;if(!e){break C}v[299999]=0;d=v[e+4>>2]-1|0;v[e+4>>2]=d;b=v[299999];v[299999]=0;if((b|0)!=1){if(d){break C}v[299999]=0;R(4338,e|0);b=v[299999];v[299999]=0;if((b|0)!=1){break C}}break a}f=W(989228)|0;g=O()|0;break F}f=W(989228)|0;g=O()|0;ec(c+40|0);break F}f=W(989228)|0;g=O()|0;break G}f=W(989228)|0;g=O()|0;ec(c+8|0);break H}f=W(989228)|0;g=O()|0;break H}f=W(989228)|0;g=O()|0;break I}f=W(989228)|0;g=O()|0;dc(d)}v[c>>2]=981312;d=v[c+4>>2];if(!d){break H}b=v[d+4>>2]-1|0;v[d+4>>2]=b;if(b){break H}Ub[v[v[d>>2]+4>>2]](d)}ec(c+32|0)}ec(c+48|0)}ec(c+56|0)}ec(c+1088|0)}if((ja(989228)|0)!=(g|0)){break b}d=ea(f|0)|0;v[299999]=0;e=Q(4340,c- -64|0,355684)|0;b=v[299999];v[299999]=0;ka:{la:{if((b|0)!=1){v[299999]=0;d=v[d+4>>2];b=v[299999];v[299999]=0;if((b|0)==1){break la}v[299999]=0;Q(4644,e|0,(d?d:246399)|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break la}v[299999]=0;d=ga(4695)|0;b=v[299999];v[299999]=0;if((b|0)==1){break la}b=v[v[d>>2]+20>>2];v[299999]=0;Y(b|0,d|0,a|0,e|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break la}v[299999]=0;Q(4336,v[c+1096>>2]+16|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break la}v[299999]=0;Q(4336,v[c+1096>>2]+24|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break la}b=v[v[c+1096>>2]+12>>2];v[299999]=0;R(4714,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break la}ec(e);v[299999]=0;ba(4230);b=v[299999];v[299999]=0;if((b|0)!=1){break C}f=P()|0;O()|0;break b}f=P()|0;O()|0;break ka}f=P()|0;O()|0;ec(e)}break c}v[c+68>>2]=j;v[c+64>>2]=h;h=v[h>>2];v[299999]=0;V(4460,j|0,c- -64|0);b=v[299999];v[299999]=0;if((b|0)!=1){break B}f=P()|0;O()|0;break b}e=v[c+1096>>2];v[c+1096>>2]=0;ma:{if(!e){break ma}v[299999]=0;d=v[e+4>>2]-1|0;v[e+4>>2]=d;b=v[299999];v[299999]=0;if((b|0)==1){break a}if(d){break ma}v[299999]=0;R(4338,e|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}if(h){continue}break}}Qb=c+1136|0;return}v[299999]=0;ba(4230);a=v[299999];v[299999]=0;if((a|0)!=1){break b}break a}ec(c+1096|0);T(f|0);L()}W(0)|0;O()|0;lc();L()}function iE(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=Qb-192|0;Qb=i;b=0;a:{if(v[a+40>>2]){break a}v[a+76>>2]=0;e=v[a+60>>2];b:{if(v[a+44>>2]){c=v[a+64>>2];b=v[e>>2];f=v[a+20>>2];if((b|0)<(f|0)){while(1){v[c+(d<<2)>>2]=b;d=d+1|0;b=v[e+(d<<2)>>2];f=v[a+20>>2];if((b|0)<(f|0)){continue}break}}d=c+(d<<2)|0;v[d>>2]=f;v[d+4>>2]=v[a+20>>2];v[d+8>>2]=v[a+20>>2];v[e>>2]=0;v[a+72>>2]=0;if(v[e>>2]>=v[a+20>>2]){break b}d=0;while(1){f=Qb-16|0;Qb=f;b=v[a+56>>2];c:{d:{if(!v[a+28>>2]){e=1;while(1){e:{f:{if((b|0)>=(e|0)){c=v[a+52>>2];break f}while(1){b=v[a+4>>2];c=Ub[v[v[b>>2]+28>>2]](b)|0;if((c|0)==-1){b=v[a+56>>2];if(!b){c=-1;break d}g=v[a+52>>2]<>2]+8|0;v[a+56>>2]=b;c=c+(v[a+52>>2]<<8)|0;v[a+52>>2]=c;if((b|0)<(e|0)){continue}break}}g=c>>>b-e|0}c=-1;g=g&-1>>>32-e;if((g&65535)==65535){break d}c=g<<16>>16<<7-e;if(u[(c<<2)+963104>>1]==(e|0)){b=b-e|0;v[a+56>>2]=(b|0)>0?b:0;b=x[(c<<2)+963106>>1];break c}e=e+1|0;if((e|0)!=8){continue}break}break d}g:{h:{if((b|0)<7){while(1){b=v[a+4>>2];c=Ub[v[v[b>>2]+28>>2]](b)|0;if((c|0)==-1){b=v[a+56>>2];if(!b){c=-1;break d}c=v[a+52>>2]<<7-b;break g}e=v[a+56>>2];b=e+8|0;v[a+56>>2]=b;c=c+(v[a+52>>2]<<8)|0;v[a+52>>2]=c;if((e|0)<-1){continue}break h}}c=v[a+52>>2]}c=c>>>b-7|0}c=c&127;if(c>>>0<2){break d}e=b;b=c<<2;c=e-u[b+963104>>1]|0;v[a+56>>2]=(c|0)>0?c:0;b=x[b+963106>>1];break c}b=Ub[v[v[a>>2]+52>>2]](a)|0;v[f>>2]=c;kc(1,b,256249,f);v[a+80>>2]=v[a+80>>2]+1;b=65535}Qb=f+16|0;i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{b=b<<16>>16;switch(b+1|0){case 0:break k;case 5:break l;case 7:break m;case 9:break n;case 3:break o;case 4:break p;case 6:break q;case 8:break r;case 2:break s;case 1:break t;default:break j}}h=d+2|0;g=d;f=d+1<<2;b=v[f+v[a+64>>2]>>2];e=v[a+60>>2];c=v[a+72>>2];if((b|0)>v[e+(c<<2)>>2]){if(v[a+20>>2]<(b|0)){c=Ub[v[v[a>>2]+52>>2]](a)|0;v[i+32>>2]=b;kc(1,c,336200,i+32|0);v[a+76>>2]=1;v[a+80>>2]=v[a+80>>2]+1;c=v[a+72>>2];b=v[a+20>>2]}if((c&1)!=(j|0)){c=c+1|0;v[a+72>>2]=c}e=v[a+60>>2];v[e+(c<<2)>>2]=b;b=v[f+v[a+64>>2]>>2]}d=(b|0)>2]?h:g;break i}b=0;c=0;e=0;u:{if(j){while(1){e=hE(a);c=e+c|0;if((e|0)>63){continue}break}while(1){e=gE(a);b=e+b|0;if((e|0)>63){continue}break}break u}while(1){c=gE(a);e=c+e|0;if((c|0)>63){continue}break}while(1){c=hE(a);b=c+b|0;if((c|0)>63){continue}break}c=e}e=v[a+60>>2];g=v[a+72>>2];f=v[e+(g<<2)>>2];if((c|0)>=1){c=c+f|0;if((c|0)>v[a+20>>2]){e=Ub[v[v[a>>2]+52>>2]](a)|0;v[i+64>>2]=c;kc(1,e,336200,i- -64|0);v[a+76>>2]=1;v[a+80>>2]=v[a+80>>2]+1;g=v[a+72>>2];c=v[a+20>>2]}if((g&1)!=(j|0)){g=g+1|0;v[a+72>>2]=g}e=v[a+60>>2];v[e+(g<<2)>>2]=c;g=v[a+72>>2];f=v[(g<<2)+e>>2]}h=v[a+20>>2];if(!((b|0)<1|(h|0)<=(f|0))){b=b+f|0;if((h|0)<(b|0)){c=Ub[v[v[a>>2]+52>>2]](a)|0;v[i+48>>2]=b;kc(1,c,336200,i+48|0);v[a+76>>2]=1;v[a+80>>2]=v[a+80>>2]+1;g=v[a+72>>2];b=v[a+20>>2]}if((g&1)!=(j^1)){g=g+1|0;v[a+72>>2]=g}e=v[a+60>>2];v[e+(g<<2)>>2]=b;h=v[a+20>>2];f=v[(v[a+72>>2]<<2)+e>>2]}c=v[a+64>>2];while(1){b=d;g=v[c+(b<<2)>>2];if((g|0)>(f|0)){break i}d=b+2|0;if((g|0)<(h|0)){continue}break}d=b;break i}c=v[v[a+64>>2]+(d<<2)>>2]+3|0;e=v[a+60>>2];b=v[a+72>>2];f=v[e+(b<<2)>>2];if((c|0)>(f|0)){if(v[a+20>>2]<(c|0)){b=Ub[v[v[a>>2]+52>>2]](a)|0;v[i+80>>2]=c;kc(1,b,336200,i+80|0);v[a+76>>2]=1;v[a+80>>2]=v[a+80>>2]+1;c=v[a+20>>2];b=v[a+72>>2]}if((b&1)!=(j|0)){b=b+1|0;v[a+72>>2]=b}e=v[a+60>>2];v[e+(b<<2)>>2]=c;f=v[(v[a+72>>2]<<2)+e>>2]}j=j^1;c=v[a+20>>2];if((c|0)<=(f|0)){break i}b=d+1|0;g=v[a+64>>2];while(1){d=b;h=v[g+(b<<2)>>2];if((h|0)>(f|0)){break i}b=d+2|0;if((c|0)>(h|0)){continue}break}break i}c=v[v[a+64>>2]+(d<<2)>>2]+2|0;e=v[a+60>>2];b=v[a+72>>2];f=v[e+(b<<2)>>2];if((c|0)>(f|0)){if(v[a+20>>2]<(c|0)){b=Ub[v[v[a>>2]+52>>2]](a)|0;v[i+96>>2]=c;kc(1,b,336200,i+96|0);v[a+76>>2]=1;v[a+80>>2]=v[a+80>>2]+1;c=v[a+20>>2];b=v[a+72>>2]}if((b&1)!=(j|0)){b=b+1|0;v[a+72>>2]=b}e=v[a+60>>2];v[e+(b<<2)>>2]=c;f=v[(v[a+72>>2]<<2)+e>>2]}j=j^1;c=v[a+20>>2];if((c|0)<=(f|0)){break i}b=d+1|0;g=v[a+64>>2];while(1){d=b;h=v[g+(b<<2)>>2];if((h|0)>(f|0)){break i}b=d+2|0;if((c|0)>(h|0)){continue}break}break i}e=v[a+60>>2];b=v[a+72>>2];f=v[e+(b<<2)>>2];c=v[v[a+64>>2]+(d<<2)>>2];if((f|0)<=(c|0)){f=c+1|0;if((c|0)>=v[a+20>>2]){b=Ub[v[v[a>>2]+52>>2]](a)|0;v[i+112>>2]=f;kc(1,b,336200,i+112|0);v[a+76>>2]=1;v[a+80>>2]=v[a+80>>2]+1;f=v[a+20>>2];b=v[a+72>>2]}if((b&1)!=(j|0)){b=b+1|0;v[a+72>>2]=b}e=v[a+60>>2];v[e+(b<<2)>>2]=f;f=v[(v[a+72>>2]<<2)+e>>2]}j=j^1;c=v[a+20>>2];if((c|0)<=(f|0)){break i}b=d+1|0;g=v[a+64>>2];while(1){d=b;h=v[g+(b<<2)>>2];if((h|0)>(f|0)){break i}b=d+2|0;if((c|0)>(h|0)){continue}break}break i}c=v[v[a+64>>2]+(d<<2)>>2];e=v[a+60>>2];b=v[a+72>>2];f=v[e+(b<<2)>>2];if((c|0)>(f|0)){if(v[a+20>>2]<(c|0)){b=Ub[v[v[a>>2]+52>>2]](a)|0;v[i+128>>2]=c;kc(1,b,336200,i+128|0);v[a+76>>2]=1;v[a+80>>2]=v[a+80>>2]+1;c=v[a+20>>2];b=v[a+72>>2]}if((b&1)!=(j|0)){b=b+1|0;v[a+72>>2]=b}e=v[a+60>>2];v[e+(b<<2)>>2]=c;f=v[(v[a+72>>2]<<2)+e>>2]}j=j^1;c=v[a+20>>2];if((c|0)<=(f|0)){break i}b=d+1|0;g=v[a+64>>2];while(1){d=b;h=v[g+(b<<2)>>2];if((h|0)>(f|0)){break i}b=d+2|0;if((c|0)>(h|0)){continue}break}break i}c=v[v[a+64>>2]+(d<<2)>>2];f=c-3|0;e=v[a+60>>2];b=v[a+72>>2];g=v[e+(b<<2)>>2];v:{if((f|0)>(g|0)){if(v[a+20>>2]<(f|0)){b=Ub[v[v[a>>2]+52>>2]](a)|0;v[i+144>>2]=f;kc(1,b,336200,i+144|0);v[a+76>>2]=1;v[a+80>>2]=v[a+80>>2]+1;f=v[a+20>>2];b=v[a+72>>2]}if((b&1)!=(j|0)){b=b+1|0;v[a+72>>2]=b}e=v[a+60>>2];v[e+(b<<2)>>2]=f;break v}if((f|0)>=(g|0)){break v}if((c|0)<=2){f=0;kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,284233,0);v[a+76>>2]=1;v[a+80>>2]=v[a+80>>2]+1;e=v[a+60>>2];b=v[a+72>>2]}w:{if((b|0)<1){break w}while(1){c=b-1|0;if(v[(c<<2)+e>>2]<(f|0)){break w}v[a+72>>2]=c;g=(b|0)>1;b=c;if(g){continue}break}b=0}v[(b<<2)+e>>2]=f}j=j^1;c=v[(v[a+72>>2]<<2)+e>>2];f=v[a+20>>2];if((c|0)>=(f|0)){break i}b=((d|0)<1?1:-1)+d|0;g=v[a+64>>2];while(1){d=b;h=v[g+(b<<2)>>2];if((h|0)>(c|0)){break i}b=d+2|0;if((f|0)>(h|0)){continue}break}break i}c=v[v[a+64>>2]+(d<<2)>>2];f=c-2|0;e=v[a+60>>2];b=v[a+72>>2];g=v[e+(b<<2)>>2];x:{if((f|0)>(g|0)){if(v[a+20>>2]<(f|0)){b=Ub[v[v[a>>2]+52>>2]](a)|0;v[i+160>>2]=f;kc(1,b,336200,i+160|0);v[a+76>>2]=1;v[a+80>>2]=v[a+80>>2]+1;f=v[a+20>>2];b=v[a+72>>2]}if((b&1)!=(j|0)){b=b+1|0;v[a+72>>2]=b}e=v[a+60>>2];v[e+(b<<2)>>2]=f;break x}if((f|0)>=(g|0)){break x}if((c|0)<=1){f=0;kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,284233,0);v[a+76>>2]=1;v[a+80>>2]=v[a+80>>2]+1;e=v[a+60>>2];b=v[a+72>>2]}y:{if((b|0)<1){break y}while(1){c=b-1|0;if(v[(c<<2)+e>>2]<(f|0)){break y}v[a+72>>2]=c;g=(b|0)>1;b=c;if(g){continue}break}b=0}v[(b<<2)+e>>2]=f}j=j^1;c=v[(v[a+72>>2]<<2)+e>>2];f=v[a+20>>2];if((c|0)>=(f|0)){break i}b=((d|0)<1?1:-1)+d|0;g=v[a+64>>2];while(1){d=b;h=v[g+(b<<2)>>2];if((h|0)>(c|0)){break i}b=d+2|0;if((f|0)>(h|0)){continue}break}break i}c=v[v[a+64>>2]+(d<<2)>>2];f=c-1|0;e=v[a+60>>2];b=v[a+72>>2];g=v[e+(b<<2)>>2];z:{if((f|0)>(g|0)){if(v[a+20>>2]<(f|0)){b=Ub[v[v[a>>2]+52>>2]](a)|0;v[i+176>>2]=f;kc(1,b,336200,i+176|0);v[a+76>>2]=1;v[a+80>>2]=v[a+80>>2]+1;f=v[a+20>>2];b=v[a+72>>2]}if((b&1)!=(j|0)){b=b+1|0;v[a+72>>2]=b}e=v[a+60>>2];v[e+(b<<2)>>2]=f;break z}if((c|0)>(g|0)){break z}if((c|0)<=0){f=0;kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,284233,0);v[a+76>>2]=1;v[a+80>>2]=v[a+80>>2]+1;e=v[a+60>>2];b=v[a+72>>2]}A:{if((b|0)<1){break A}while(1){c=b-1|0;if(v[(c<<2)+e>>2]<(f|0)){break A}v[a+72>>2]=c;g=(b|0)>1;b=c;if(g){continue}break}b=0}v[(b<<2)+e>>2]=f}j=j^1;c=v[(v[a+72>>2]<<2)+e>>2];f=v[a+20>>2];if((c|0)>=(f|0)){break i}b=((d|0)<1?1:-1)+d|0;g=v[a+64>>2];while(1){d=b;h=v[g+(b<<2)>>2];if((h|0)>(c|0)){break i}b=d+2|0;if((f|0)>(h|0)){continue}break}break i}c=v[a+20>>2];e=v[a+60>>2];b=v[a+72>>2];if((c|0)>v[e+(b<<2)>>2]){if(b&1){b=b+1|0;v[a+72>>2]=b}v[(b<<2)+e>>2]=c}v[a+76>>2]=1;break i}c=Ub[v[v[a>>2]+52>>2]](a)|0;v[i+16>>2]=b;kc(1,c,256178,i+16|0);c=v[a+20>>2];e=v[a+60>>2];b=v[a+72>>2];if((c|0)>v[e+(b<<2)>>2]){if(b&1){b=b+1|0;v[a+72>>2]=b}v[(b<<2)+e>>2]=c}v[a+76>>2]=1;v[a+80>>2]=v[a+80>>2]+1}if(v[(v[a+72>>2]<<2)+e>>2]>2]){continue}break}break b}v[e>>2]=0;v[a+72>>2]=0;if(v[e>>2]>=v[a+20>>2]){break b}while(1){d=0;B:{if(c){while(1){b=hE(a);d=b+d|0;if((b|0)>63){continue}break B}}while(1){b=gE(a);d=b+d|0;if((b|0)>63){continue}break}}e=v[a+72>>2];b=v[v[a+60>>2]+(e<<2)>>2];if((d|0)>=1){d=b+d|0;if((d|0)>v[a+20>>2]){b=Ub[v[v[a>>2]+52>>2]](a)|0;v[i>>2]=d;kc(1,b,336200,i);v[a+76>>2]=1;v[a+80>>2]=v[a+80>>2]+1;e=v[a+72>>2];d=v[a+20>>2]}if((e&1)!=(c|0)){e=e+1|0;v[a+72>>2]=e}b=v[a+60>>2];v[b+(e<<2)>>2]=d;b=v[b+(v[a+72>>2]<<2)>>2]}c=c^1;if(v[a+20>>2]>(b|0)){continue}break}}C:{D:{if(!(v[a+28>>2]|v[a+48>>2]!=(v[a+24>>2]-1|0))){v[a+40>>2]=1;break D}if(!(v[a+16>>2]?v[a+12>>2]:1)){break D}E:{F:{d=v[a+56>>2];G:{H:{I:{if((d|0)<12){while(1){J:{d=v[a+4>>2];b=Ub[v[v[d>>2]+28>>2]](d)|0;if((b|0)==-1){d=v[a+56>>2];if(!d){break J}b=v[a+52>>2]<<12-d;break H}c=v[a+56>>2];d=c+8|0;v[a+56>>2]=d;b=b+(v[a+52>>2]<<8)|0;v[a+52>>2]=b;if((c|0)<4){continue}break I}break}if(!v[a+12>>2]){break D}b=-1;d=0;break G}b=v[a+52>>2]}b=b>>>d-12|0}b=b&4095;if(!v[a+12>>2]){break F}}K:while(1){L:{switch(b+1|0){case 0:case 2:break E;default:break L}}d=d-1|0;b=(d|0)>0?d:0;v[a+56>>2]=b;M:{if((b|0)>=12){b=v[a+52>>2];break M}while(1){d=v[a+4>>2];b=Ub[v[v[d>>2]+28>>2]](d)|0;if((b|0)==-1){b=-1;d=0;c=v[a+56>>2];if(!c){continue K}b=v[a+52>>2]<<12-c&4095;d=c;continue K}c=v[a+56>>2];d=c+8|0;v[a+56>>2]=d;b=b+(v[a+52>>2]<<8)|0;v[a+52>>2]=b;if((c|0)<4){continue}break}}b=b>>>d-12&4095;continue}}if(b){break E}while(1){d=d-1|0;b=(d|0)>0?d:0;v[a+56>>2]=b;N:{O:{if((b|0)>=12){b=v[a+52>>2];break O}while(1){d=v[a+4>>2];b=Ub[v[v[d>>2]+28>>2]](d)|0;if((b|0)==-1){d=v[a+56>>2];if(!d){break D}b=v[a+52>>2]<<12-d;break N}c=v[a+56>>2];d=c+8|0;v[a+56>>2]=d;b=b+(v[a+52>>2]<<8)|0;v[a+52>>2]=b;if((c|0)<4){continue}break}}b=b>>>d-12|0}b=b&4095;if(!b){continue}break}}h=1;if((b|0)!=1){break D}c=((d|0)>12?d:12)-12|0;v[a+56>>2]=c;break C}c=v[a+56>>2];if(v[a+16>>2]){c=c&-8;v[a+56>>2]=c}h=0}P:{Q:{if((c|0)>0){break Q}while(1){d=v[a+4>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){c=v[a+56>>2];if(c){break Q}v[a+40>>2]=1;g=a+8|0;c=0;break P}v[a+52>>2]=d+(v[a+52>>2]<<8);d=v[a+56>>2];c=d+8|0;v[a+56>>2]=c;if((d|0)<-7){continue}break}}g=a+8|0;if(v[a+40>>2]|v[a+8>>2]<=0){break P}b=a;d=a;R:{S:{T:{if((c|0)<1){while(1){c=v[a+4>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;if((c|0)==-1){c=v[a+56>>2];if(!c){v[a+44>>2]=0;d=1;break R}e=v[a+52>>2]<<1-c;break S}f=c+(v[a+52>>2]<<8)|0;v[a+52>>2]=f;e=v[a+56>>2];c=e+8|0;v[a+56>>2]=c;if((e|0)<-7){continue}break T}}f=v[a+52>>2]}e=f>>>c-1|0}v[d+44>>2]=(e^-1)&1;d=(c|0)>1?c:1}c=d-1|0;v[b+56>>2]=c}U:{V:{W:{X:{Y:{Z:{_:{$:{aa:{ba:{if(!v[a+16>>2]|(v[a+12>>2]|!v[a+28>>2])){break ba}ca:{da:{if((c|0)<24){while(1){ea:{d=v[a+4>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){c=v[a+56>>2];if(!c){break ea}b=v[a+52>>2]<<24-c&16777215;break ca}f=d+(v[a+52>>2]<<8)|0;v[a+52>>2]=f;d=v[a+56>>2];c=d+8|0;v[a+56>>2]=c;if((d|0)<16){continue}break da}break}c=0;if(v[a+28>>2]!=0&h){break aa}break Z}f=v[a+52>>2]}b=f>>>c-24|0}if((b&65535)!=4097){break ba}c=((c|0)>12?c:12)-12|0;v[a+56>>2]=c;h=1}if(!h|!v[a+28>>2]){break Z}if((c|0)<=11){break aa}f=v[a+52>>2];break $}while(1){d=v[a+4>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){c=v[a+56>>2];if(!c){break U}b=v[a+52>>2]<<12-c;break _}f=d+(v[a+52>>2]<<8)|0;v[a+52>>2]=f;d=v[a+56>>2];c=d+8|0;v[a+56>>2]=c;if((d|0)<4){continue}break}}b=f>>>c-12|0}if((b&4095)!=1){break U}b=(c|0)>12?c:12;d=b-12|0;v[a+56>>2]=d;if(v[g>>2]<1){break V}if((b|0)>=13){break Y}while(1){fa:{d=v[a+4>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){e=v[a+56>>2];break fa}v[a+52>>2]=d+(v[a+52>>2]<<8);d=v[a+56>>2];e=d+8|0;v[a+56>>2]=e;if((d|0)<-7){continue}}break}d=v[g>>2];c=((e|0)>1?e:1)-1|0;v[a+56>>2]=c;if((d|0)<1){break V}break W}if(!v[a+76>>2]|!v[a+12>>2]){break U}while(1){ga:{ha:{if((c|0)>=13){f=v[a+52>>2];break ha}while(1){d=v[a+4>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){c=v[a+56>>2];if(!c){break X}d=v[a+52>>2]<<13-c;break ga}f=d+(v[a+52>>2]<<8)|0;v[a+52>>2]=f;d=v[a+56>>2];c=d+8|0;v[a+56>>2]=c;if((d|0)<5){continue}break}}d=f>>>c-13|0}if((d&8190)!=2){c=((c|0)>1?c:1)-1|0;v[a+56>>2]=c;continue}break}b=(c|0)>12?c:12;v[a+56>>2]=b-12;if(v[g>>2]<1){break U}v[a+44>>2]=(d^-1)&1;v[a+56>>2]=(b|0)>13?c-13|0:0;break U}c=((d|0)>1?d:1)-1|0;v[a+56>>2]=c;break W}v[a+40>>2]=1;b=0;break a}h=0;while(1){ia:{ja:{ka:{la:{if((c|0)>=12){f=v[a+52>>2];break la}while(1){d=v[a+4>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){c=v[a+56>>2];if(!c){break ja}b=v[a+52>>2]<<12-c;break ka}f=d+(v[a+52>>2]<<8)|0;v[a+52>>2]=f;d=v[a+56>>2];c=d+8|0;v[a+56>>2]=c;if((d|0)<4){continue}break}}b=f>>>c-12|0}if((b&4095)==1){break ia}}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,256217,0);v[a+80>>2]=v[a+80>>2]+1;c=v[a+56>>2]}d=(c|0)>12?c:12;c=d-12|0;v[a+56>>2]=c;if(v[g>>2]>=1){ma:{if((d|0)>12){break ma}while(1){d=v[a+4>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){c=v[a+56>>2];break ma}v[a+52>>2]=d+(v[a+52>>2]<<8);d=v[a+56>>2];c=d+8|0;v[a+56>>2]=c;if((d|0)<-7){continue}break}}c=((c|0)>1?c:1)-1|0;v[a+56>>2]=c}h=h+1|0;if((h|0)!=4){continue}break}}v[a+40>>2]=1}if(v[a+80>>2]>=1001){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,284067,0);v[a+40>>2]=1;b=0;break a}v[a+68>>2]=0;d=v[v[a+60>>2]>>2];v[a+48>>2]=v[a+48>>2]+1;v[a+72>>2]=(d|0)<1;b=1}Qb=i+192|0;return b}function Nj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;d=-2;a:{b:{c:{d:{if(!v[a+36>>2]|(!a|!v[a+32>>2])){break d}c=v[a+28>>2];if(!c|v[c>>2]!=(a|0)){break d}e:{f:{e=v[c+4>>2];switch(e-57|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 13:case 14:case 15:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 47:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:break d;case 0:case 12:case 16:case 34:case 46:case 56:break e;default:break f}}if((e|0)==666){break e}if((e|0)!=42){break d}}if(b>>>0>5){break d}g:{h:{if(!v[a+12>>2]){break h}f=v[a+4>>2];if(v[a>>2]?0:f){break h}if((b|0)==4|(e|0)!=666){break g}}v[a+24>>2]=v[219660];return-2}if(!v[a+16>>2]){break b}d=v[c+40>>2];v[c+40>>2]=b;i:{if(v[c+20>>2]){qh(c);e=v[a+16>>2];h=v[c+20>>2];d=e>>>0>>0?e:h;j:{if(!d){break j}gc(v[a+12>>2],v[c+16>>2],d);v[a+12>>2]=d+v[a+12>>2];v[c+16>>2]=d+v[c+16>>2];v[a+20>>2]=d+v[a+20>>2];e=v[a+16>>2]-d|0;v[a+16>>2]=e;h=v[c+20>>2]-d|0;v[c+20>>2]=h;if(h){break j}v[c+16>>2]=v[c+8>>2];h=0}if(e){e=v[c+4>>2];break i}break a}if(((b<<1)+((b|0)>4?-9:0)|0)>((d<<1)+((d|0)>4?-9:0)|0)|f|(b|0)==4){break i}break b}k:{l:{m:{n:{if((e|0)!=42){if((e|0)!=666){break n}if(!v[a+4>>2]){break m}break b}f=(v[c+48>>2]<<12)-30720|0;d=0;o:{if(v[c+136>>2]>1){break o}e=v[c+132>>2];if((e|0)<2){break o}d=64;if((e|0)<6){break o}d=(e|0)==6?128:192}v[c+20>>2]=h+1;d=d|f;d=v[c+108>>2]?d|32:d;t[v[c+8>>2]+h|0]=d>>>8;e=v[c+20>>2];v[c+20>>2]=e+1;t[e+v[c+8>>2]|0]=(d|(d>>>0)%31)^31;if(v[c+108>>2]){d=v[a+48>>2];e=v[c+20>>2];v[c+20>>2]=e+1;t[e+v[c+8>>2]|0]=d>>>24;e=v[c+20>>2];v[c+20>>2]=e+1;t[e+v[c+8>>2]|0]=d>>>16;d=v[a+48>>2];e=v[c+20>>2];v[c+20>>2]=e+1;t[e+v[c+8>>2]|0]=d>>>8;e=v[c+20>>2];v[c+20>>2]=e+1;t[e+v[c+8>>2]|0]=d}m=a,n=$m(0,0,0),v[m+48>>2]=n;v[c+4>>2]=113;es(a);if(v[c+20>>2]){break a}e=v[c+4>>2]}p:{q:{r:{s:{t:{u:{if((e|0)==57){m=a,n=Kf(0,0,0),v[m+48>>2]=n;d=v[c+20>>2];v[c+20>>2]=d+1;t[d+v[c+8>>2]|0]=31;d=v[c+20>>2];v[c+20>>2]=d+1;t[d+v[c+8>>2]|0]=139;d=v[c+20>>2];v[c+20>>2]=d+1;t[d+v[c+8>>2]|0]=8;d=v[c+28>>2];if(d){break u}d=v[c+20>>2];v[c+20>>2]=d+1;t[d+v[c+8>>2]|0]=0;d=v[c+20>>2];v[c+20>>2]=d+1;t[d+v[c+8>>2]|0]=0;d=v[c+20>>2];v[c+20>>2]=d+1;t[d+v[c+8>>2]|0]=0;d=v[c+20>>2];v[c+20>>2]=d+1;t[d+v[c+8>>2]|0]=0;d=v[c+20>>2];v[c+20>>2]=d+1;t[d+v[c+8>>2]|0]=0;d=2;e=v[c+132>>2];if((e|0)!=9){d=v[c+136>>2]>1?4:((e|0)<2)<<2}e=v[c+20>>2];v[c+20>>2]=e+1;t[e+v[c+8>>2]|0]=d;d=v[c+20>>2];v[c+20>>2]=d+1;t[d+v[c+8>>2]|0]=3;v[c+4>>2]=113;es(a);if(v[c+20>>2]){break a}e=v[c+4>>2]}switch(e-69|0){case 34:break q;case 22:break r;case 4:break s;case 0:break t;default:break p}}e=v[d+36>>2];f=v[d+28>>2];g=v[d+16>>2];h=v[d+44>>2];i=v[d>>2];j=v[c+20>>2];v[c+20>>2]=j+1;d=2;t[j+v[c+8>>2]|0]=((h|0)!=0)<<1|(i|0)!=0|((g|0)!=0)<<2|((f|0)!=0)<<3|((e|0)!=0)<<4;e=v[v[c+28>>2]+4>>2];f=v[c+20>>2];v[c+20>>2]=f+1;t[f+v[c+8>>2]|0]=e;e=v[v[c+28>>2]+4>>2];f=v[c+20>>2];v[c+20>>2]=f+1;t[f+v[c+8>>2]|0]=e>>>8;e=x[v[c+28>>2]+6>>1];f=v[c+20>>2];v[c+20>>2]=f+1;t[f+v[c+8>>2]|0]=e;e=w[v[c+28>>2]+7|0];f=v[c+20>>2];v[c+20>>2]=f+1;t[f+v[c+8>>2]|0]=e;e=v[c+132>>2];if((e|0)!=9){d=v[c+136>>2]>1?4:((e|0)<2)<<2}e=v[c+20>>2];v[c+20>>2]=e+1;t[e+v[c+8>>2]|0]=d;d=v[v[c+28>>2]+12>>2];e=v[c+20>>2];v[c+20>>2]=e+1;t[e+v[c+8>>2]|0]=d;d=v[c+28>>2];if(v[d+16>>2]){d=v[d+20>>2];e=v[c+20>>2];v[c+20>>2]=e+1;t[e+v[c+8>>2]|0]=d;d=v[v[c+28>>2]+20>>2];e=v[c+20>>2];v[c+20>>2]=e+1;t[e+v[c+8>>2]|0]=d>>>8;d=v[c+28>>2]}if(v[d+44>>2]){m=a,n=Kf(v[a+48>>2],v[c+8>>2],v[c+20>>2]),v[m+48>>2]=n}v[c+4>>2]=69;v[c+32>>2]=0}f=v[c+28>>2];e=v[f+16>>2];if(e){h=v[c+12>>2];d=v[c+20>>2];g=v[c+32>>2];f=x[f+20>>1]-g|0;if(h>>>0>>0){while(1){h=h-d|0;gc(v[c+8>>2]+d|0,e+g|0,h);e=v[c+12>>2];v[c+20>>2]=e;if(!(!v[v[c+28>>2]+44>>2]|d>>>0>=e>>>0)){m=a,n=Kf(v[a+48>>2],v[c+8>>2]+d|0,e-d|0),v[m+48>>2]=n}v[c+32>>2]=h+v[c+32>>2];d=v[a+28>>2];qh(d);e=v[a+16>>2];g=v[d+20>>2];e=e>>>0>>0?e:g;v:{if(!e){break v}gc(v[a+12>>2],v[d+16>>2],e);v[a+12>>2]=e+v[a+12>>2];v[d+16>>2]=e+v[d+16>>2];v[a+20>>2]=e+v[a+20>>2];v[a+16>>2]=v[a+16>>2]-e;e=v[d+20>>2]-e|0;v[d+20>>2]=e;if(e){break v}v[d+16>>2]=v[d+8>>2]}if(v[c+20>>2]){break a}g=v[c+32>>2];e=v[v[c+28>>2]+16>>2];d=0;f=f-h|0;h=v[c+12>>2];if(f>>>0>h>>>0){continue}break}}gc(v[c+8>>2]+d|0,e+g|0,f);e=v[c+20>>2]+f|0;v[c+20>>2]=e;if(!(!v[v[c+28>>2]+44>>2]|d>>>0>=e>>>0)){m=a,n=Kf(v[a+48>>2],v[c+8>>2]+d|0,e-d|0),v[m+48>>2]=n}v[c+32>>2]=0}v[c+4>>2]=73}if(v[v[c+28>>2]+28>>2]){d=v[c+20>>2];f=d;while(1){w:{if(v[c+12>>2]!=(d|0)){break w}if(!(!v[v[c+28>>2]+44>>2]|d>>>0<=f>>>0)){m=a,n=Kf(v[a+48>>2],v[c+8>>2]+f|0,d-f|0),v[m+48>>2]=n}d=v[a+28>>2];qh(d);e=v[a+16>>2];f=v[d+20>>2];e=e>>>0>>0?e:f;x:{if(!e){break x}gc(v[a+12>>2],v[d+16>>2],e);v[a+12>>2]=e+v[a+12>>2];v[d+16>>2]=e+v[d+16>>2];v[a+20>>2]=e+v[a+20>>2];v[a+16>>2]=v[a+16>>2]-e;e=v[d+20>>2]-e|0;v[d+20>>2]=e;if(e){break x}v[d+16>>2]=v[d+8>>2]}d=0;f=0;if(!v[c+20>>2]){break w}break a}e=v[v[c+28>>2]+28>>2];g=v[c+32>>2];v[c+32>>2]=g+1;e=w[e+g|0];v[c+20>>2]=d+1;t[v[c+8>>2]+d|0]=e;if(e){d=v[c+20>>2];continue}break}y:{if(!v[v[c+28>>2]+44>>2]){break y}d=v[c+20>>2];if(d>>>0<=f>>>0){break y}m=a,n=Kf(v[a+48>>2],v[c+8>>2]+f|0,d-f|0),v[m+48>>2]=n}v[c+32>>2]=0}v[c+4>>2]=91}z:{if(!v[v[c+28>>2]+36>>2]){break z}d=v[c+20>>2];f=d;while(1){A:{if(v[c+12>>2]!=(d|0)){break A}if(!(!v[v[c+28>>2]+44>>2]|d>>>0<=f>>>0)){m=a,n=Kf(v[a+48>>2],v[c+8>>2]+f|0,d-f|0),v[m+48>>2]=n}d=v[a+28>>2];qh(d);e=v[a+16>>2];f=v[d+20>>2];e=e>>>0>>0?e:f;B:{if(!e){break B}gc(v[a+12>>2],v[d+16>>2],e);v[a+12>>2]=e+v[a+12>>2];v[d+16>>2]=e+v[d+16>>2];v[a+20>>2]=e+v[a+20>>2];v[a+16>>2]=v[a+16>>2]-e;e=v[d+20>>2]-e|0;v[d+20>>2]=e;if(e){break B}v[d+16>>2]=v[d+8>>2]}d=0;f=0;if(!v[c+20>>2]){break A}break a}e=v[v[c+28>>2]+36>>2];g=v[c+32>>2];v[c+32>>2]=g+1;e=w[e+g|0];v[c+20>>2]=d+1;t[v[c+8>>2]+d|0]=e;if(e){d=v[c+20>>2];continue}break}if(!v[v[c+28>>2]+44>>2]){break z}d=v[c+20>>2];if(d>>>0<=f>>>0){break z}m=a,n=Kf(v[a+48>>2],v[c+8>>2]+f|0,d-f|0),v[m+48>>2]=n}v[c+4>>2]=103}if(v[v[c+28>>2]+44>>2]){d=v[c+20>>2];if(y[c+12>>2]>>0){es(a);if(v[c+20>>2]){break c}d=0}e=v[a+48>>2];v[c+20>>2]=d+1;t[v[c+8>>2]+d|0]=e;d=v[a+48>>2];e=v[c+20>>2];v[c+20>>2]=e+1;t[e+v[c+8>>2]|0]=d>>>8;m=a,n=Kf(0,0,0),v[m+48>>2]=n}v[c+4>>2]=113;es(a);if(!v[c+20>>2]){break p}break a}if(v[a+4>>2]){break l}}if(v[c+116>>2]){break l}if(!b|v[c+4>>2]==666){break k}}d=v[c+132>>2];C:{if(!d){d=MV(c,b);break C}D:{switch(v[c+136>>2]-2|0){case 0:E:{F:{while(1){G:{if(v[c+116>>2]){break G}iz(c);if(v[c+116>>2]){break G}if(b){break F}d=0;break E}v[c+96>>2]=0;d=w[v[c+56>>2]+v[c+108>>2]|0];e=v[c+5792>>2];u[v[c+5796>>2]+(e<<1)>>1]=0;v[c+5792>>2]=e+1;t[e+v[c+5784>>2]|0]=d;d=(d<<2)+c|0;u[d+148>>1]=x[d+148>>1]+1;v[c+116>>2]=v[c+116>>2]-1;g=v[c+108>>2]+1|0;v[c+108>>2]=g;if(v[c+5792>>2]!=(v[c+5788>>2]-1|0)){continue}d=c;e=v[c+92>>2];if((e|0)>=0){f=e+v[c+56>>2]|0}else{f=0}Lj(d,f,g-e|0,0);v[c+92>>2]=v[c+108>>2];d=v[c>>2];e=v[d+28>>2];qh(e);f=v[d+16>>2];g=v[e+20>>2];f=f>>>0>>0?f:g;H:{if(!f){break H}gc(v[d+12>>2],v[e+16>>2],f);v[d+12>>2]=f+v[d+12>>2];v[e+16>>2]=f+v[e+16>>2];v[d+20>>2]=f+v[d+20>>2];v[d+16>>2]=v[d+16>>2]-f;d=v[e+20>>2]-f|0;v[e+20>>2]=d;if(d){break H}v[e+16>>2]=v[e+8>>2]}if(v[v[c>>2]+16>>2]){continue}break}d=0;break E}v[c+5812>>2]=0;if((b|0)==4){d=c;e=v[c+92>>2];if((e|0)>=0){f=e+v[c+56>>2]|0}else{f=0}Lj(d,f,v[c+108>>2]-e|0,1);v[c+92>>2]=v[c+108>>2];d=v[c>>2];e=v[d+28>>2];qh(e);f=v[d+16>>2];g=v[e+20>>2];f=f>>>0>>0?f:g;I:{if(!f){break I}gc(v[d+12>>2],v[e+16>>2],f);v[d+12>>2]=f+v[d+12>>2];v[e+16>>2]=f+v[e+16>>2];v[d+20>>2]=f+v[d+20>>2];v[d+16>>2]=v[d+16>>2]-f;d=v[e+20>>2]-f|0;v[e+20>>2]=d;if(d){break I}v[e+16>>2]=v[e+8>>2]}d=v[v[c>>2]+16>>2]?3:2;break E}J:{if(!v[c+5792>>2]){break J}d=c;e=v[c+92>>2];if((e|0)>=0){f=e+v[c+56>>2]|0}else{f=0}Lj(d,f,v[c+108>>2]-e|0,0);v[c+92>>2]=v[c+108>>2];d=v[c>>2];e=v[d+28>>2];qh(e);f=v[d+16>>2];g=v[e+20>>2];f=f>>>0>>0?f:g;K:{if(!f){break K}gc(v[d+12>>2],v[e+16>>2],f);v[d+12>>2]=f+v[d+12>>2];v[e+16>>2]=f+v[e+16>>2];v[d+20>>2]=f+v[d+20>>2];v[d+16>>2]=v[d+16>>2]-f;d=v[e+20>>2]-f|0;v[e+20>>2]=d;if(d){break K}v[e+16>>2]=v[e+8>>2]}if(v[v[c>>2]+16>>2]){break J}d=0;break E}d=1}break C;case 1:L:{while(1){M:{N:{O:{j=v[c+116>>2];if(j>>>0>=259){v[c+96>>2]=0;break O}iz(c);j=v[c+116>>2];d=0;if(!(b|j>>>0>258)){break L}if(j){v[c+96>>2]=0;if(j>>>0>2){break O}i=v[c+108>>2];break N}v[c+5812>>2]=0;if((b|0)==4){d=c;e=v[c+92>>2];if((e|0)>=0){f=e+v[c+56>>2]|0}else{f=0}Lj(d,f,v[c+108>>2]-e|0,1);v[c+92>>2]=v[c+108>>2];d=v[c>>2];e=v[d+28>>2];qh(e);f=v[d+16>>2];g=v[e+20>>2];f=f>>>0>>0?f:g;P:{if(!f){break P}gc(v[d+12>>2],v[e+16>>2],f);v[d+12>>2]=f+v[d+12>>2];v[e+16>>2]=f+v[e+16>>2];v[d+20>>2]=f+v[d+20>>2];v[d+16>>2]=v[d+16>>2]-f;d=v[e+20>>2]-f|0;v[e+20>>2]=d;if(d){break P}v[e+16>>2]=v[e+8>>2]}d=v[v[c>>2]+16>>2]?3:2;break L}Q:{if(!v[c+5792>>2]){break Q}d=c;e=v[c+92>>2];if((e|0)>=0){f=e+v[c+56>>2]|0}else{f=0}Lj(d,f,v[c+108>>2]-e|0,0);v[c+92>>2]=v[c+108>>2];d=v[c>>2];e=v[d+28>>2];qh(e);f=v[d+16>>2];g=v[e+20>>2];f=f>>>0>>0?f:g;R:{if(!f){break R}gc(v[d+12>>2],v[e+16>>2],f);v[d+12>>2]=f+v[d+12>>2];v[e+16>>2]=f+v[e+16>>2];v[d+20>>2]=f+v[d+20>>2];v[d+16>>2]=v[d+16>>2]-f;d=v[e+20>>2]-f|0;v[e+20>>2]=d;if(d){break R}v[e+16>>2]=v[e+8>>2]}if(v[v[c>>2]+16>>2]){break Q}d=0;break L}d=1;break L}i=v[c+108>>2];if(!i){i=0;break N}k=v[c+56>>2]+i|0;d=k-1|0;h=w[d|0];if((h|0)!=w[k|0]|(h|0)!=w[d+2|0]|(h|0)!=w[d+3|0]){break N}l=k+258|0;d=-1;S:{T:{U:{V:{W:{X:{while(1){f=d+k|0;if((h|0)==w[f+4|0]){if((h|0)!=w[f+5|0]){break X}if((h|0)!=w[f+6|0]){break W}if((h|0)!=w[f+7|0]){break V}e=d+8|0;g=e+k|0;if((h|0)!=w[g|0]){break S}if((h|0)!=w[f+9|0]){break U}if((h|0)!=w[f+10|0]){break T}g=f+11|0;if((h|0)!=w[g|0]){break S}f=(d|0)<247;d=e;if(f){continue}break S}break}g=f+4|0;break S}g=f+5|0;break S}g=f+6|0;break S}g=f+7|0;break S}g=f+9|0;break S}g=f+10|0}d=(g-l|0)+258|0;d=d>>>0>j>>>0?j:d;v[c+96>>2]=d;if(d>>>0<3){break N}e=v[c+5792>>2];u[v[c+5796>>2]+(e<<1)>>1]=1;v[c+5792>>2]=e+1;d=d-3|0;t[e+v[c+5784>>2]|0]=d;d=((w[(d&255)+876400|0]<<2)+c|0)+1176|0;u[d>>1]=x[d>>1]+1;d=((w[875888]<<2)+c|0)+2440|0;u[d>>1]=x[d>>1]+1;d=v[c+96>>2];v[c+96>>2]=0;v[c+116>>2]=v[c+116>>2]-d;i=d+v[c+108>>2]|0;v[c+108>>2]=i;break M}d=w[v[c+56>>2]+i|0];e=v[c+5792>>2];u[v[c+5796>>2]+(e<<1)>>1]=0;v[c+5792>>2]=e+1;t[e+v[c+5784>>2]|0]=d;d=(d<<2)+c|0;u[d+148>>1]=x[d+148>>1]+1;v[c+116>>2]=v[c+116>>2]-1;i=v[c+108>>2]+1|0;v[c+108>>2]=i}if(v[c+5792>>2]!=(v[c+5788>>2]-1|0)){continue}d=c;e=v[c+92>>2];if((e|0)>=0){f=e+v[c+56>>2]|0}else{f=0}Lj(d,f,i-e|0,0);v[c+92>>2]=v[c+108>>2];d=v[c>>2];e=v[d+28>>2];qh(e);f=v[d+16>>2];g=v[e+20>>2];f=f>>>0>>0?f:g;Y:{if(!f){break Y}gc(v[d+12>>2],v[e+16>>2],f);v[d+12>>2]=f+v[d+12>>2];v[e+16>>2]=f+v[e+16>>2];v[d+20>>2]=f+v[d+20>>2];v[d+16>>2]=v[d+16>>2]-f;d=v[e+20>>2]-f|0;v[e+20>>2]=d;if(d){break Y}v[e+16>>2]=v[e+8>>2]}if(v[v[c>>2]+16>>2]){continue}break}d=0}break C;default:break D}}d=Ub[v[B(d,12)+873288>>2]](c,b)|0}if((d&-2)==2){v[c+4>>2]=666}if(!(d&-3)){d=0;if(v[a+16>>2]){break d}break a}if((d|0)!=1){break k}Z:{_:{switch(b-1|0){case 0:e=v[c+5820>>2];d=x[c+5816>>1]|2<>1]=d;f=c;$:{if((e|0)>=14){e=v[c+20>>2];v[c+20>>2]=e+1;t[e+v[c+8>>2]|0]=d;d=v[c+20>>2];v[c+20>>2]=d+1;t[d+v[c+8>>2]|0]=w[c+5817|0];e=v[c+5820>>2];d=2>>>16-e|0;u[c+5816>>1]=d;e=e-13|0;break $}e=e+3|0}v[f+5820>>2]=e;f=c;aa:{if((e|0)>=10){e=v[c+20>>2];v[c+20>>2]=e+1;t[e+v[c+8>>2]|0]=d;d=v[c+20>>2];v[c+20>>2]=d+1;t[d+v[c+8>>2]|0]=w[c+5817|0];d=0;u[c+5816>>1]=0;e=v[c+5820>>2]-9|0;break aa}e=e+7|0}v[f+5820>>2]=e;f=c;ba:{ca:{if((e|0)==16){e=v[c+20>>2];v[c+20>>2]=e+1;t[e+v[c+8>>2]|0]=d;d=v[c+20>>2];v[c+20>>2]=d+1;t[d+v[c+8>>2]|0]=w[c+5817|0];u[c+5816>>1]=0;d=0;break ca}if((e|0)<8){break ba}e=v[c+20>>2];v[c+20>>2]=e+1;t[e+v[c+8>>2]|0]=d;u[c+5816>>1]=w[c+5817|0];d=v[c+5820>>2]-8|0}v[f+5820>>2]=d}break Z;case 4:break Z;default:break _}}hz(c,0,0,0);if((b|0)!=3){break Z}d=v[c+68>>2];e=(v[c+76>>2]<<1)-2|0;u[d+e>>1]=0;ic(d,0,e);if(v[c+116>>2]){break Z}v[c+5812>>2]=0;v[c+92>>2]=0;v[c+108>>2]=0}es(a);if(v[a+16>>2]){break k}break a}d=0;if((b|0)!=4){break d}d=1;e=v[c+24>>2];if((e|0)<1){break d}b=v[a+48>>2];da:{if((e|0)==2){d=v[c+20>>2];v[c+20>>2]=d+1;t[d+v[c+8>>2]|0]=b;b=v[a+48>>2];d=v[c+20>>2];v[c+20>>2]=d+1;t[d+v[c+8>>2]|0]=b>>>8;b=x[a+50>>1];d=v[c+20>>2];v[c+20>>2]=d+1;t[d+v[c+8>>2]|0]=b;b=w[a+51|0];d=v[c+20>>2];v[c+20>>2]=d+1;t[d+v[c+8>>2]|0]=b;b=v[a+8>>2];d=v[c+20>>2];v[c+20>>2]=d+1;t[d+v[c+8>>2]|0]=b;b=v[a+8>>2];d=v[c+20>>2];v[c+20>>2]=d+1;t[d+v[c+8>>2]|0]=b>>>8;b=x[a+10>>1];d=v[c+20>>2];v[c+20>>2]=d+1;t[d+v[c+8>>2]|0]=b;b=w[a+11|0];break da}d=v[c+20>>2];v[c+20>>2]=d+1;t[d+v[c+8>>2]|0]=b>>>24;d=v[c+20>>2];v[c+20>>2]=d+1;t[d+v[c+8>>2]|0]=b>>>16;b=v[a+48>>2];d=v[c+20>>2];v[c+20>>2]=d+1;t[d+v[c+8>>2]|0]=b>>>8}d=v[c+20>>2];v[c+20>>2]=d+1;t[d+v[c+8>>2]|0]=b;es(a);a=v[c+24>>2];if((a|0)>=1){v[c+24>>2]=0-a}d=!v[c+20>>2]}return d}v[c+40>>2]=-1;return 0}v[a+24>>2]=v[219663];return-5}v[c+40>>2]=-1;return 0}function Wl(a,b){var 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;j=Qb-32|0;Qb=j;v[j+16>>2]=13;a:{b:{if((b|0)>=9){kc(1,-1,234717,0);break b}c:{d:{switch(v[a>>2]-4|0){case 0:e:{a=v[a+8>>2];if(mc(a,220215)){if(mc(a,320946)){break e}}c=fc(12);v[c+4>>2]=15;v[c+8>>2]=0;v[c>>2]=896936;break b}f:{if(mc(a,322325)){if(mc(a,322331)){break f}}c=fc(12);v[c+4>>2]=15;v[c+8>>2]=0;v[c>>2]=897040;break b}g:{if(mc(a,320505)){if(mc(a,320511)){break g}}c=fc(12);v[c+4>>2]=15;v[c+8>>2]=0;v[c>>2]=897144;break b}if(!mc(a,245536)){c=fc(16);v[c+4>>2]=15;v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=897456;break b}v[j>>2]=a;kc(1,-1,345617,j);break b;case 2:break d;default:break c}}d=v[a+8>>2];if(v[d+12>>2]<1){break c}yc(d,0,j+16|0,0);h:{i:{if(v[j+16>>2]!=4){break i}j:{d=v[j+24>>2];if(mc(d,220215)){if(mc(d,320946)){break j}}c=fc(12);v[c+4>>2]=15;v[c+8>>2]=0;v[c>>2]=896936;break h}k:{if(mc(d,322325)){if(mc(d,322331)){break k}}c=fc(12);v[c+4>>2]=15;v[c+8>>2]=0;v[c>>2]=897040;break h}l:{if(mc(d,320505)){if(mc(d,320511)){break l}}c=fc(12);v[c+4>>2]=15;v[c+8>>2]=0;v[c>>2]=897144;break h}if(!mc(d,220207)){c=v[a+8>>2];b=0;a=Qb-48|0;Qb=a;v[a+32>>2]=13;v[a+16>>2]=13;v[a>>2]=13;m:{if(v[c+12>>2]<=1){kc(1,-1,286312,0);break m}yc(c,1,a+32|0,0);if(v[a+32>>2]!=7){kc(1,-1,286312,0);hc(a+32|0);break m}b=fc(72);v[b+4>>2]=15;v[b+8>>2]=0;v[b+32>>2]=0;v[b+36>>2]=1072693248;v[b>>2]=896988;v[b+24>>2]=0;v[b+28>>2]=1072693248;v[b+40>>2]=0;v[b+44>>2]=0;v[b+16>>2]=0;v[b+20>>2]=1072693248;v[b+64>>2]=0;v[b+68>>2]=1072693248;v[b+48>>2]=0;v[b+52>>2]=0;v[b+56>>2]=0;v[b+60>>2]=0;n:{if(v[rc(v[a+40>>2],228541,a+16|0,0)>>2]!=6){break n}c=v[a+24>>2];if(v[c+12>>2]!=3){break n}yc(c,0,a,0);A[b+16>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];hc(a);yc(v[a+24>>2],1,a,0);A[b+24>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];hc(a);yc(v[a+24>>2],2,a,0);A[b+32>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];hc(a)}c=a+16|0;hc(c);o:{if(v[rc(v[a+40>>2],228530,c,0)>>2]!=6){break o}c=v[a+24>>2];if(v[c+12>>2]!=3){break o}yc(c,0,a,0);A[b+40>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];hc(a);yc(v[a+24>>2],1,a,0);A[b+48>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];hc(a);yc(v[a+24>>2],2,a,0);A[b+56>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];hc(a)}c=a+16|0;hc(c);if(v[rc(v[a+40>>2],306468,c,0)>>2]-1>>>0<=1){A[b+64>>3]=v[a+16>>2]==1?+v[a+24>>2]:A[a+24>>3]}hc(a+16|0);hc(a+32|0)}Qb=a+48|0;c=b;break h}if(!mc(d,322318)){c=v[a+8>>2];b=0;a=Qb-48|0;Qb=a;v[a+32>>2]=13;v[a+16>>2]=13;v[a>>2]=13;p:{if(v[c+12>>2]<=1){kc(1,-1,286529,0);break p}yc(c,1,a+32|0,0);if(v[a+32>>2]!=7){kc(1,-1,286529,0);hc(a+32|0);break p}b=fc(160);v[b+4>>2]=15;v[b+8>>2]=0;v[b+32>>2]=0;v[b+36>>2]=1072693248;v[b>>2]=897092;v[b+24>>2]=0;v[b+28>>2]=1072693248;v[b+40>>2]=0;v[b+44>>2]=0;v[b+16>>2]=0;v[b+20>>2]=1072693248;v[b+80>>2]=0;v[b+84>>2]=1072693248;v[b+72>>2]=0;v[b+76>>2]=1072693248;v[b+88>>2]=0;v[b+92>>2]=1072693248;v[b+64>>2]=0;v[b+68>>2]=1072693248;v[b+48>>2]=0;v[b+52>>2]=0;v[b+56>>2]=0;v[b+60>>2]=0;v[b+96>>2]=0;v[b+100>>2]=0;v[b+104>>2]=0;v[b+108>>2]=0;v[b+112>>2]=0;v[b+116>>2]=0;v[b+128>>2]=0;v[b+132>>2]=0;v[b+120>>2]=0;v[b+124>>2]=1072693248;v[b+136>>2]=0;v[b+140>>2]=0;v[b+144>>2]=0;v[b+148>>2]=0;v[b+152>>2]=0;v[b+156>>2]=1072693248;q:{if(v[rc(v[a+40>>2],228541,a+16|0,0)>>2]!=6){break q}c=v[a+24>>2];if(v[c+12>>2]!=3){break q}yc(c,0,a,0);A[b+16>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];hc(a);yc(v[a+24>>2],1,a,0);A[b+24>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];hc(a);yc(v[a+24>>2],2,a,0);A[b+32>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];hc(a)}c=a+16|0;hc(c);r:{if(v[rc(v[a+40>>2],228530,c,0)>>2]!=6){break r}c=v[a+24>>2];if(v[c+12>>2]!=3){break r}yc(c,0,a,0);A[b+40>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];hc(a);yc(v[a+24>>2],1,a,0);A[b+48>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];hc(a);yc(v[a+24>>2],2,a,0);A[b+56>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];hc(a)}c=a+16|0;hc(c);s:{if(v[rc(v[a+40>>2],306468,c,0)>>2]!=6){break s}c=v[a+24>>2];if(v[c+12>>2]!=3){break s}yc(c,0,a,0);A[b+64>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];hc(a);yc(v[a+24>>2],1,a,0);A[b+72>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];hc(a);yc(v[a+24>>2],2,a,0);A[b+80>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];hc(a)}c=a+16|0;hc(c);t:{if(v[rc(v[a+40>>2],220530,c,0)>>2]!=6){break t}c=v[a+24>>2];if(v[c+12>>2]!=9){break t}yc(c,0,a,0);A[b+88>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];hc(a);yc(v[a+24>>2],1,a,0);A[b+96>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];hc(a);yc(v[a+24>>2],2,a,0);A[b+104>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];hc(a);yc(v[a+24>>2],3,a,0);A[b+112>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];hc(a);yc(v[a+24>>2],4,a,0);A[b+120>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];hc(a);yc(v[a+24>>2],5,a,0);A[b+128>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];hc(a);yc(v[a+24>>2],6,a,0);A[b+136>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];hc(a);yc(v[a+24>>2],7,a,0);A[b+144>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];hc(a);yc(v[a+24>>2],8,a,0);A[b+152>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];hc(a)}hc(a+16|0);hc(a+32|0)}Qb=a+48|0;c=b;break h}if(!mc(d,303032)){c=v[a+8>>2];b=0;a=Qb-48|0;Qb=a;v[a+32>>2]=13;v[a+16>>2]=13;v[a>>2]=13;u:{if(v[c+12>>2]<=1){kc(1,-1,286485,0);break u}yc(c,1,a+32|0,0);if(v[a+32>>2]!=7){kc(1,-1,286485,0);hc(a+32|0);break u}b=fc(120);v[b+4>>2]=15;v[b+8>>2]=0;v[b+32>>2]=0;v[b+36>>2]=1072693248;v[b>>2]=897196;v[b+24>>2]=0;v[b+28>>2]=1072693248;v[b+40>>2]=0;v[b+44>>2]=0;v[b+16>>2]=0;v[b+20>>2]=1072693248;v[b+80>>2]=0;v[b+84>>2]=-1067909120;v[b+88>>2]=0;v[b+92>>2]=1079574528;v[b+64>>2]=0;v[b+68>>2]=-1067909120;v[b+72>>2]=0;v[b+76>>2]=1079574528;v[b+48>>2]=0;v[b+52>>2]=0;v[b+56>>2]=0;v[b+60>>2]=0;n=1;v:{if(v[rc(v[a+40>>2],228541,a+16|0,0)>>2]!=6){l=1;m=1;break v}l=1;m=1;c=v[a+24>>2];if(v[c+12>>2]!=3){break v}yc(c,0,a,0);m=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];A[b+16>>3]=m;hc(a);yc(v[a+24>>2],1,a,0);l=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];A[b+24>>3]=l;hc(a);yc(v[a+24>>2],2,a,0);n=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];A[b+32>>3]=n;hc(a)}c=a+16|0;hc(c);w:{if(v[rc(v[a+40>>2],228530,c,0)>>2]!=6){break w}c=v[a+24>>2];if(v[c+12>>2]!=3){break w}yc(c,0,a,0);A[b+40>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];hc(a);yc(v[a+24>>2],1,a,0);A[b+48>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];hc(a);yc(v[a+24>>2],2,a,0);A[b+56>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];hc(a)}c=a+16|0;hc(c);x:{if(v[rc(v[a+40>>2],283389,c,0)>>2]!=6){break x}c=v[a+24>>2];if(v[c+12>>2]!=4){break x}yc(c,0,a,0);A[b+64>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];hc(a);yc(v[a+24>>2],1,a,0);A[b+72>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];hc(a);yc(v[a+24>>2],2,a,0);A[b+80>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];hc(a);yc(v[a+24>>2],3,a,0);A[b+88>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];hc(a)}hc(a+16|0);hc(a+32|0);A[b+112>>3]=1/(m*.055643+l*-.204026+n*1.057229);A[b+104>>3]=1/(l*1.876011+m*-.969265+n*.041556);A[b+96>>3]=1/(m*3.240449+l*-1.537136+n*-.498531)}Qb=a+48|0;c=b;break h}if(!mc(d,290811)){e=v[a+8>>2];a=Qb+-64|0;Qb=a;v[a+48>>2]=13;v[a+32>>2]=13;v[a+16>>2]=13;y:{if(v[e+12>>2]<=1){kc(1,-1,286444,0);break y}d=a+48|0;hg(e,1,d);f=v[a+56>>2];h=v[a+60>>2];g=v[a+48>>2];hc(d);yc(e,1,d,0);if(v[a+48>>2]!=8){kc(1,-1,339218,0);hc(a+48|0);break y}e=v[a+56>>2];e=Ub[v[v[e>>2]+76>>2]](e)|0;if(v[rc(e,316328,a+32|0,0)>>2]!=1){kc(1,-1,340350,0);hc(a+32|0);hc(a+48|0);break y}d=v[a+40>>2];hc(a+32|0);if((d|0)>=5){v[a>>2]=d;kc(1,-1,234569,a);d=4}z:{if(v[rc(e,277024,a+32|0,0)>>2]!=5){b=Wl(a+32|0,b+1|0);if(b){break z}}A:{switch(d-1|0){case 2:b=fc(12);v[b+4>>2]=15;v[b+8>>2]=0;v[b>>2]=897040;break z;case 3:b=fc(12);v[b+4>>2]=15;v[b+8>>2]=0;v[b>>2]=897144;break z;default:kc(1,-1,316293,0);hc(a+32|0);hc(a+48|0);break y;case 0:break A}}b=fc(12);v[b+4>>2]=15;v[b+8>>2]=0;v[b>>2]=896936}i=a+32|0;hc(i);c=fc(96);v[c+4>>2]=15;v[c+8>>2]=0;v[c+16>>2]=b;v[c+12>>2]=d;v[c>>2]=897248;v[c+24>>2]=0;v[c+28>>2]=0;v[c+56>>2]=0;v[c+60>>2]=1072693248;b=(g|0)==9;v[c+88>>2]=b?f:0;v[c+92>>2]=b?h:0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+80>>2]=0;v[c+84>>2]=1072693248;v[c+72>>2]=0;v[c+76>>2]=1072693248;b=c- -64|0;v[b>>2]=0;v[b+4>>2]=1072693248;B:{if(v[rc(e,283389,i,0)>>2]!=6){break B}b=v[a+40>>2];if(v[b+12>>2]!=d<<1|(d|0)<1){break B}e=0;while(1){h=b;f=e<<1;b=a+16|0;yc(h,f,b,0);h=(e<<3)+c|0;A[h+24>>3]=v[a+16>>2]==1?+v[a+24>>2]:A[a+24>>3];hc(b);yc(v[a+40>>2],f|1,b,0);A[h+56>>3]=v[a+16>>2]==1?+v[a+24>>2]:A[a+24>>3];hc(b);e=e+1|0;if((e|0)==(d|0)){break B}b=v[a+40>>2];continue}}hc(a+32|0);hc(a+48|0)}Qb=a- -64|0;break h}C:{if(mc(d,289197)){if(mc(d,320692)){break C}}a=v[a+8>>2];h=Qb-16|0;Qb=h;v[h>>2]=13;D:{E:{F:{if(v[a+12>>2]!=4){kc(1,-1,286420,0);break F}yc(a,1,h,0);f=Wl(h,b+1|0);G:{if(!f){kc(1,-1,340261,0);break G}hc(h);if(v[yc(a,2,h,0)>>2]!=1){kc(1,-1,339761,0);Ub[v[v[f>>2]+4>>2]](f);break G}b=v[h+8>>2];if(b>>>0>=256){kc(1,-1,339793,0);Ub[v[v[f>>2]+4>>2]](f);break G}hc(h);e=fc(24);v[e+4>>2]=15;v[e+8>>2]=0;v[e+16>>2]=b;v[e+12>>2]=f;v[e>>2]=897300;c=v[v[f>>2]+28>>2];v[299999]=0;c=S(c|0,f|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break a}v[299999]=0;d=c;c=b+1|0;d=Q(3364,B(d,c)|0,1)|0;g=v[299999];v[299999]=0;if((g|0)==1){break a}v[e+20>>2]=d;v[e+4>>2]=v[f+4>>2];yc(a,3,h,0);i=Ub[v[v[f>>2]+28>>2]](f)|0;H:{I:{J:{K:{switch(v[h>>2]-3|0){case 5:a=v[h+8>>2];Ub[v[v[a>>2]+20>>2]](a);if((i|0)>=1){while(1){c=B(i,k);a=k-1|0;g=0;L:{if(k){while(1){d=v[h+8>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){kc(1,-1,336428,0);v[e+16>>2]=a;b=a}t[v[e+20>>2]+(c+g|0)|0]=d;g=g+1|0;if((i|0)!=(g|0)){continue}break}break L}while(1){d=v[h+8>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((d|0)!=-1){t[v[e+20>>2]+(c+g|0)|0]=d;g=g+1|0;if((i|0)!=(g|0)){continue}break L}break}kc(1,-1,336428,0);v[e+16>>2]=a;v[e>>2]=897300;f=v[e+12>>2];if(!f){break H}break I}a=(b|0)>(k|0);k=k+1|0;if(a){continue}break}}a=v[h+8>>2];Ub[v[v[a>>2]+24>>2]](a);hc(h);break F;default:kc(1,-1,340049,0);break J;case 0:break K}}g=v[h+8>>2];if(v[g>>2]<(B(c,i)|0)){kc(1,-1,336484,0);g=v[h+8>>2];a=v[g>>2]/(i|0)|0;b=a-1|0;v[e+16>>2]=b;if((a|0)<1){break J}}if((i|0)>=1){c=i&-4;d=i&3;f=v[g+4>>2];p=i-1>>>0<3;while(1){o=B(i,k);g=0;a=c;if(!p){while(1){t[v[e+20>>2]+(g+o|0)|0]=w[f|0];t[v[e+20>>2]+((g|1)+o|0)|0]=w[f+1|0];t[v[e+20>>2]+((g|2)+o|0)|0]=w[f+2|0];t[v[e+20>>2]+((g|3)+o|0)|0]=w[f+3|0];g=g+4|0;f=f+4|0;a=a-4|0;if(a){continue}break}}a=d;if(a){while(1){t[v[e+20>>2]+(g+o|0)|0]=w[f|0];g=g+1|0;f=f+1|0;a=a-1|0;if(a){continue}break}}a=(b|0)==(k|0);k=k+1|0;if(!a){continue}break}}hc(h);break F}v[e>>2]=897300}Ub[v[v[f>>2]+4>>2]](f)}a=v[e+20>>2];v[299999]=0;uc(a);a=v[299999];v[299999]=0;if((a|0)==1){break E}dc(e)}hc(h);e=0}Qb=h+16|0;c=e;break D}W(0)|0;O()|0;lc();L()}break h}if(!mc(d,247512)){e=v[a+8>>2];a=Qb-32|0;Qb=a;v[a+16>>2]=13;v[a>>2]=13;M:{N:{O:{if(v[e+12>>2]!=4){b=0;kc(1,-1,286393,0);break O}P:{if(v[yc(e,1,a+16|0,0)>>2]!=4){kc(1,-1,339843,0);break P}c=fc(8);v[299999]=0;d=Q(3063,c|0,v[a+24>>2])|0;f=v[299999];v[299999]=0;if((f|0)==1){break N}f=a+16|0;hc(f);yc(e,2,f,0);Q:{if(v[a+16>>2]!=8){break Q}f=v[a+24>>2];if(v[rc(Ub[v[v[f>>2]+76>>2]](f)|0,277024,a,0)>>2]==5){break Q}hc(a+16|0);f=v[a+12>>2];v[a+24>>2]=v[a+8>>2];v[a+28>>2]=f;f=v[a+4>>2];v[a+16>>2]=v[a>>2];v[a+20>>2]=f}b=Wl(a+16|0,b+1|0);R:{if(!b){kc(1,-1,340162,0);break R}f=a+16|0;hc(f);yc(e,3,f,0);e=vg(f,1,Ub[v[v[b>>2]+28>>2]](b)|0,0);if(e){hc(a+16|0);c=fc(28);v[299999]=0;b=SS(c,d,b,e);e=v[299999];v[299999]=0;if((e|0)!=1){break O}break N}Ub[v[v[b>>2]+4>>2]](b)}Dc(d);dc(c)}hc(a+16|0);b=0}Qb=a+32|0;break M}a=P()|0;O()|0;dc(c);T(a|0);L()}c=b;break h}if(!mc(d,312037)){f=v[a+8>>2];d=0;c=Qb-192|0;Qb=c;v[c+48>>2]=13;v[c+32>>2]=13;v[c+16>>2]=13;S:{T:{if((v[f+12>>2]&-2)!=4){kc(1,-1,286505,0);break T}U:{if(v[yc(f,1,c+32|0,0)>>2]!=6){kc(1,-1,339140,0);break U}a=v[v[c+40>>2]+12>>2];V:{W:{if((a|0)>=33){v[c+4>>2]=32;v[c>>2]=a;kc(1,-1,234508,c);a=32;h=c+24|0;break W}if((a|0)<1){break V}h=c+24|0}while(1){if(v[yc(v[c+40>>2],d,c+16|0,0)>>2]!=4){kc(1,-1,339140,0);hc(c+16|0);break U}e=fc(8);g=v[h>>2];v[299999]=0;Q(3063,e|0,g|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break a}v[(c- -64|0)+(d<<2)>>2]=e;e=1;hc(c+16|0);d=d+1|0;if((d|0)!=(a|0)){continue}break}}d=c+32|0;hc(d);yc(f,2,d,0);X:{if(v[c+32>>2]!=8){break X}d=v[c+40>>2];if(v[rc(Ub[v[v[d>>2]+76>>2]](d)|0,277024,c+16|0,0)>>2]==5){break X}hc(c+32|0);d=v[c+28>>2];v[c+40>>2]=v[c+24>>2];v[c+44>>2]=d;d=v[c+20>>2];v[c+32>>2]=v[c+16>>2];v[c+36>>2]=d}b=Wl(c+32|0,b+1|0);Y:{if(!b){kc(1,-1,340213,0);break Y}d=c+32|0;hc(d);yc(f,3,d,0);d=vg(d,a,Ub[v[v[b>>2]+28>>2]](b)|0,0);if(d){hc(c+32|0);Z:{if(v[f+12>>2]==5){yc(f,4,c+48|0,0);break Z}v[c+48>>2]=5}e=fc(176);v[299999]=0;d=aa(3554,e|0,a|0,c- -64|0,b|0,d|0,c+48|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){hc(c+48|0);break T}break a}Ub[v[v[b>>2]+4>>2]](b)}if(!e){break U}d=0;while(1){b=v[(c- -64|0)+(d<<2)>>2];if(b){dc(Dc(b))}d=d+1|0;if((d|0)!=(a|0)){continue}break}}hc(c+32|0);d=0}Qb=c+192|0;c=d;break S}break h}if(mc(d,245536)){break i}d=v[a+8>>2];a=Qb-16|0;Qb=a;v[a>>2]=13;_:{$:{switch(v[d+12>>2]-1|0){default:kc(1,-1,286336,0);break _;case 1:yc(d,1,a,0);e=Wl(a,b+1|0);if(!e){kc(1,-1,340113,0);hc(a);break _}hc(a);break;case 0:break $}}c=fc(16);v[c+4>>2]=15;v[c+8>>2]=0;v[c+12>>2]=e;v[c>>2]=897456}Qb=a+16|0;break h}kc(1,-1,286469,0)}hc(j+16|0);break b}kc(1,-1,219706,0)}Qb=j+32|0;return c}a=P()|0;O()|0;dc(e);T(a|0);L()}function JS(a,b,c){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,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0,y=0,z=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,Q=0,S=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;e=Qb-1952|0;Qb=e;v[e+16>>2]=13;v[e>>2]=13;g=219174;a:{b:{c:{if(v[rc(b,277034,e+16|0,0)>>2]!=1){break c}g=219233;r=v[e+24>>2];if(r-1>>>0>31){break c}f=e+16|0;hc(f);g=218887;if(v[rc(b,228703,f,0)>>2]!=1){break c}g=218945;z=v[e+24>>2];if(z-1>>>0>15){break c}f=e+16|0;hc(f);g=219079;if(v[rc(b,273215,f,0)>>2]!=1){break c}g=219132;E=v[e+24>>2];if(E-2>>>0>6){break c}f=e+16|0;hc(f);g=218701;if(v[rc(b,284226,f,0)>>2]!=6){break c}f=v[e+24>>2];if(v[f+12>>2]<6){break c}f=yc(f,0,e,0);F=A[f+8>>3];w=v[f+8>>2];G=v[f>>2];hc(e);f=yc(v[e+24>>2],1,e,0);C=A[f+8>>3];D=v[f+8>>2];H=v[f>>2];hc(e);I=rt(r);f=yc(v[e+24>>2],2,e,0);J=v[f>>2];x=A[f+8>>3];K=v[f+8>>2];hc(e);f=yc(v[e+24>>2],3,e,0);d=v[f>>2];s=A[f+8>>3];M=v[f+8>>2];hc(e);_=-1<>2];d:{if(v[i+12>>2]<6){break d}u=+(_|0);k=5;g=0;while(1){h=g<<3;f=yc(i,j+4|0,e,0);o=v[f>>2]==1?+v[f+8>>2]:A[f+8>>3];A[h+(e+1568|0)>>3]=o;hc(e);f=yc(v[e+24>>2],k,e,0);k=v[f>>2];m=A[f+8>>3];f=v[f+8>>2];hc(e);A[h+(e+1312|0)>>3]=(((k|0)==1?+(f|0):m)-o)/u;n=g+1|0;j=n<<1;k=j+5|0;i=v[e+24>>2];if((k|0)>=v[i+12>>2]){break d}f=g>>>0<31;g=n;if(f){continue}break}}f=e+16|0;hc(f);e:{if(v[rc(b,247024,f,0)>>2]==5){break e}if(v[e+16>>2]==6){f=v[e+24>>2];y=v[f+12>>2];if((y|0)<=32){if((y|0)<1){break e}g=0;yc(f,0,e,0);f=vg(e,1,1,0);v[e+1824>>2]=f;if(f){while(1){hc(e);g=g+1|0;if((y|0)==(g|0)){break e}yc(v[e+24>>2],g,e,0);f=vg(e,1,1,0);v[(e+1824|0)+(g<<2)>>2]=f;if(f){continue}break}}hc(e+16|0);hc(e);i=0;break b}i=0;kc(1,-1,218656,0);break b}i=0;y=1;f=vg(e+16|0,1,-1,0);v[e+1824>>2]=f;if(f){break e}hc(e+16|0);break b}hc(e+16|0);l=fc(12);v[l>>2]=c;f=v[v[c>>2]+20>>2];v[299999]=0;R(f|0,c|0);c=v[299999];v[299999]=0;if((c|0)!=1){o=(d|0)==1?+(M|0):s;s=(J|0)==1?+(K|0):x;m=I+-1;u=(o-s)/m;o=(G|0)==1?+(w|0):F;m=(((H|0)==1?+(D|0):C)-o)/m;v[l+4>>2]=0;M=0-E|0;G=-1<>2]=0;f=M;j=0;g:{h:{i:{j:{k:{if(J){break k}i=v[l>>2];c=E;while(1){g=Ub[v[v[i>>2]+28>>2]](i)|0;v[l+4>>2]=g;if((g|0)==-1){break i}if((c|0)<=7){f=8-c|0;j=j<>f;break k}j=j<<8|g;f=(c|0)==8;c=c-8|0;if(!f){continue}break}f=0;break j}v[l+8>>2]=f}w=j&3;if(!(p|!w)){i=0;kc(1,-1,272980,0);b=v[l>>2];a=v[v[b>>2]+24>>2];v[299999]=0;R(a|0,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break h}break a}d=K?w?8:12:w?12:16;H=w?2:4;t=0;while(1){l:{if((f|0)>=(r|0)){h=f-r|0;j=G&g>>h;v[l+8>>2]=h;break l}j=0;m:{if((f|0)<1){h=f;c=r;break m}h=0;v[l+8>>2]=0;j=(-1<>2];while(1){g=Ub[v[v[i>>2]+28>>2]](i)|0;v[l+4>>2]=g;if((g|0)==-1){break i}if((c|0)<=7){h=8-c|0;j=j<>h;v[l+8>>2]=h;break l}j=j<<8|g;f=(c|0)==8;c=c-8|0;if(!f){continue}break}}n:{if((h|0)>=(r|0)){f=h-r|0;k=G&g>>f;v[l+8>>2]=f;break n}k=0;o:{if((h|0)<1){f=h;c=r;break o}f=0;v[l+8>>2]=0;k=(-1<>2];while(1){g=Ub[v[v[i>>2]+28>>2]](i)|0;v[l+4>>2]=g;if((g|0)==-1){break i}if((c|0)<=7){f=8-c|0;k=k<>f;v[l+8>>2]=f;break n}k=k<<8|g;h=(c|0)==8;c=c-8|0;if(!h){continue}break}}c=t<<3;A[c+(e+1056|0)>>3]=s+u*+(k>>>0);A[c+(e+1184|0)>>3]=o+m*+(j>>>0);t=t+1|0;if((d|0)!=(t|0)){continue}break}break g}v[l+8>>2]=0;break f}dc(l);if(!q){break b}uc(q);break b}t=0;d=1;p:{if(!n){break p}while(1){h=0;q:{while(1){r:{if((f|0)>=(z|0)){f=f-z|0;j=g>>f&_;v[l+8>>2]=f;break r}j=0;s:{if((f|0)<1){k=f;c=z;break s}k=0;v[l+8>>2]=0;j=(-1<=1){i=v[l>>2];while(1){g=Ub[v[v[i>>2]+28>>2]](i)|0;v[l+4>>2]=g;if((g|0)==-1){break q}if((c|0)<=7){f=8-c|0;j=j<>f;v[l+8>>2]=f;break r}j=j<<8|g;f=(c|0)!=8;c=c-8|0;if(f){continue}break}}f=k}c=h<<3;A[c+((e+32|0)+(t<<8)|0)>>3]=A[c+(e+1568|0)>>3]+A[c+(e+1312|0)>>3]*+(j>>>0);h=h+1|0;if((n|0)!=(h|0)){continue}break}t=t+1|0;d=H>>>0>t>>>0;if((t|0)!=(H|0)){continue}break p}break}v[l+8>>2]=0;if(d){break f}}if((p|0)==(D|0)){D=p?p<<1:16;q=pd(q,D,1280)}d=B(p,1280)+q|0;t:{if((a|0)==6){u:{switch(w-1|0){default:A[d>>3]=A[e+1184>>3];A[d+128>>3]=A[e+1056>>3];A[d+8>>3]=A[e+1192>>3];A[d+136>>3]=A[e+1064>>3];A[d+16>>3]=A[e+1200>>3];A[d+144>>3]=A[e+1072>>3];A[d+24>>3]=A[e+1208>>3];A[d+152>>3]=A[e+1080>>3];A[d+56>>3]=A[e+1216>>3];A[d+184>>3]=A[e+1088>>3];A[d+88>>3]=A[e+1224>>3];A[d+216>>3]=A[e+1096>>3];A[d+120>>3]=A[e+1232>>3];A[d+248>>3]=A[e+1104>>3];A[d+112>>3]=A[e+1240>>3];A[d+240>>3]=A[e+1112>>3];A[d+104>>3]=A[e+1248>>3];A[d+232>>3]=A[e+1120>>3];A[d+96>>3]=A[e+1256>>3];A[d+224>>3]=A[e+1128>>3];A[d+64>>3]=A[e+1264>>3];A[d+192>>3]=A[e+1136>>3];A[d+32>>3]=A[e+1272>>3];A[d+160>>3]=A[e+1144>>3];j=0;if(!n){break t}while(1){c=j<<3;f=c+d|0;c=c+(e+32|0)|0;A[f+256>>3]=A[c>>3];A[f+512>>3]=A[c+256>>3];A[f+1024>>3]=A[c+512>>3];A[f+768>>3]=A[c+768>>3];j=j+1|0;if((n|0)!=(j|0)){continue}break};break t;case 0:A[d>>3]=A[d-1256>>3];A[d+128>>3]=A[d-1128>>3];A[d+8>>3]=A[d-1224>>3];A[d+136>>3]=A[d-1096>>3];A[d+16>>3]=A[d-1192>>3];A[d+144>>3]=A[d-1064>>3];A[d+24>>3]=A[d-1160>>3];A[d+152>>3]=A[d-1032>>3];A[d+56>>3]=A[e+1184>>3];A[d+184>>3]=A[e+1056>>3];A[d+88>>3]=A[e+1192>>3];A[d+216>>3]=A[e+1064>>3];A[d+120>>3]=A[e+1200>>3];A[d+248>>3]=A[e+1072>>3];A[d+112>>3]=A[e+1208>>3];A[d+240>>3]=A[e+1080>>3];A[d+104>>3]=A[e+1216>>3];A[d+232>>3]=A[e+1088>>3];A[d+96>>3]=A[e+1224>>3];A[d+224>>3]=A[e+1096>>3];A[d+64>>3]=A[e+1232>>3];A[d+192>>3]=A[e+1104>>3];A[d+32>>3]=A[e+1240>>3];A[d+160>>3]=A[e+1112>>3];if(!n){break t}k=p-1|0;c=0;while(1){h=c<<3;g=h+d|0;f=h+(B(k,1280)+q|0)|0;A[g+256>>3]=A[f+512>>3];A[g+512>>3]=A[f+1024>>3];f=h+(e+32|0)|0;A[g+1024>>3]=A[f>>3];A[g+768>>3]=A[f+256>>3];c=c+1|0;if((n|0)!=(c|0)){continue}break};break t;case 1:A[d>>3]=A[d-1160>>3];A[d+128>>3]=A[d-1032>>3];A[d+8>>3]=A[d-1168>>3];A[d+136>>3]=A[d-1040>>3];A[d+16>>3]=A[d-1176>>3];A[d+144>>3]=A[d-1048>>3];A[d+24>>3]=A[d-1184>>3];A[d+152>>3]=A[d-1056>>3];A[d+56>>3]=A[e+1184>>3];A[d+184>>3]=A[e+1056>>3];A[d+88>>3]=A[e+1192>>3];A[d+216>>3]=A[e+1064>>3];A[d+120>>3]=A[e+1200>>3];A[d+248>>3]=A[e+1072>>3];A[d+112>>3]=A[e+1208>>3];A[d+240>>3]=A[e+1080>>3];A[d+104>>3]=A[e+1216>>3];A[d+232>>3]=A[e+1088>>3];A[d+96>>3]=A[e+1224>>3];A[d+224>>3]=A[e+1096>>3];A[d+64>>3]=A[e+1232>>3];A[d+192>>3]=A[e+1104>>3];A[d+32>>3]=A[e+1240>>3];A[d+160>>3]=A[e+1112>>3];if(!n){break t}k=p-1|0;c=0;while(1){h=c<<3;g=h+d|0;f=h+(B(k,1280)+q|0)|0;A[g+256>>3]=A[f+1024>>3];A[g+512>>3]=A[f+768>>3];f=h+(e+32|0)|0;A[g+1024>>3]=A[f>>3];A[g+768>>3]=A[f+256>>3];c=c+1|0;if((n|0)!=(c|0)){continue}break};break t;case 2:break u}}c=d-1280|0;A[d>>3]=A[c+96>>3];A[d+8>>3]=A[c+64>>3];A[d+128>>3]=A[c+224>>3];A[d+136>>3]=A[c+192>>3];A[d+16>>3]=A[c+32>>3];A[d+144>>3]=A[c+160>>3];A[d+24>>3]=A[c>>3];A[d+152>>3]=A[c+128>>3];A[d+56>>3]=A[e+1184>>3];A[d+184>>3]=A[e+1056>>3];A[d+88>>3]=A[e+1192>>3];A[d+216>>3]=A[e+1064>>3];A[d+120>>3]=A[e+1200>>3];A[d+248>>3]=A[e+1072>>3];A[d+112>>3]=A[e+1208>>3];A[d+240>>3]=A[e+1080>>3];A[d+104>>3]=A[e+1216>>3];A[d+232>>3]=A[e+1088>>3];A[d+96>>3]=A[e+1224>>3];A[d+224>>3]=A[e+1096>>3];A[d+64>>3]=A[e+1232>>3];A[d+192>>3]=A[e+1104>>3];A[d+32>>3]=A[e+1240>>3];A[d+160>>3]=A[e+1112>>3];if(!n){break t}k=p-1|0;c=0;while(1){h=c<<3;g=h+d|0;f=h+(B(k,1280)+q|0)|0;A[g+256>>3]=A[f+768>>3];A[g+512>>3]=A[f+256>>3];f=h+(e+32|0)|0;A[g+1024>>3]=A[f>>3];A[g+768>>3]=A[f+256>>3];c=c+1|0;if((n|0)!=(c|0)){continue}break}break t}v:{switch(w-1|0){default:A[d>>3]=A[e+1184>>3];A[d+128>>3]=A[e+1056>>3];A[d+8>>3]=A[e+1192>>3];A[d+136>>3]=A[e+1064>>3];A[d+16>>3]=A[e+1200>>3];A[d+144>>3]=A[e+1072>>3];A[d+24>>3]=A[e+1208>>3];A[d+152>>3]=A[e+1080>>3];A[d+56>>3]=A[e+1216>>3];A[d+184>>3]=A[e+1088>>3];A[d+88>>3]=A[e+1224>>3];A[d+216>>3]=A[e+1096>>3];A[d+120>>3]=A[e+1232>>3];A[d+248>>3]=A[e+1104>>3];A[d+112>>3]=A[e+1240>>3];A[d+240>>3]=A[e+1112>>3];A[d+104>>3]=A[e+1248>>3];A[d+232>>3]=A[e+1120>>3];A[d+96>>3]=A[e+1256>>3];A[d+224>>3]=A[e+1128>>3];A[d+64>>3]=A[e+1264>>3];A[d+192>>3]=A[e+1136>>3];A[d+32>>3]=A[e+1272>>3];A[d+160>>3]=A[e+1144>>3];A[d+40>>3]=A[e+1280>>3];A[d+168>>3]=A[e+1152>>3];A[d+48>>3]=A[e+1288>>3];A[d+176>>3]=A[e+1160>>3];A[d+80>>3]=A[e+1296>>3];A[d+208>>3]=A[e+1168>>3];A[d+72>>3]=A[e+1304>>3];A[d+200>>3]=A[e+1176>>3];j=0;if(!n){break t}while(1){c=j<<3;f=c+d|0;c=c+(e+32|0)|0;A[f+256>>3]=A[c>>3];A[f+512>>3]=A[c+256>>3];A[f+1024>>3]=A[c+512>>3];A[f+768>>3]=A[c+768>>3];j=j+1|0;if((n|0)!=(j|0)){continue}break};break t;case 0:A[d>>3]=A[d-1256>>3];A[d+128>>3]=A[d-1128>>3];A[d+8>>3]=A[d-1224>>3];A[d+136>>3]=A[d-1096>>3];A[d+16>>3]=A[d-1192>>3];A[d+144>>3]=A[d-1064>>3];A[d+24>>3]=A[d-1160>>3];A[d+152>>3]=A[d-1032>>3];A[d+56>>3]=A[e+1184>>3];A[d+184>>3]=A[e+1056>>3];A[d+88>>3]=A[e+1192>>3];A[d+216>>3]=A[e+1064>>3];A[d+120>>3]=A[e+1200>>3];A[d+248>>3]=A[e+1072>>3];A[d+112>>3]=A[e+1208>>3];A[d+240>>3]=A[e+1080>>3];A[d+104>>3]=A[e+1216>>3];A[d+232>>3]=A[e+1088>>3];A[d+96>>3]=A[e+1224>>3];A[d+224>>3]=A[e+1096>>3];A[d+64>>3]=A[e+1232>>3];A[d+192>>3]=A[e+1104>>3];A[d+32>>3]=A[e+1240>>3];A[d+160>>3]=A[e+1112>>3];A[d+40>>3]=A[e+1248>>3];A[d+168>>3]=A[e+1120>>3];A[d+48>>3]=A[e+1256>>3];A[d+176>>3]=A[e+1128>>3];A[d+80>>3]=A[e+1264>>3];A[d+208>>3]=A[e+1136>>3];A[d+72>>3]=A[e+1272>>3];A[d+200>>3]=A[e+1144>>3];if(!n){break t}k=p-1|0;c=0;while(1){h=c<<3;g=h+d|0;f=h+(B(k,1280)+q|0)|0;A[g+256>>3]=A[f+512>>3];A[g+512>>3]=A[f+1024>>3];f=h+(e+32|0)|0;A[g+1024>>3]=A[f>>3];A[g+768>>3]=A[f+256>>3];c=c+1|0;if((n|0)!=(c|0)){continue}break};break t;case 1:A[d>>3]=A[d-1160>>3];A[d+128>>3]=A[d-1032>>3];A[d+8>>3]=A[d-1168>>3];A[d+136>>3]=A[d-1040>>3];A[d+16>>3]=A[d-1176>>3];A[d+144>>3]=A[d-1048>>3];A[d+24>>3]=A[d-1184>>3];A[d+152>>3]=A[d-1056>>3];A[d+56>>3]=A[e+1184>>3];A[d+184>>3]=A[e+1056>>3];A[d+88>>3]=A[e+1192>>3];A[d+216>>3]=A[e+1064>>3];A[d+120>>3]=A[e+1200>>3];A[d+248>>3]=A[e+1072>>3];A[d+112>>3]=A[e+1208>>3];A[d+240>>3]=A[e+1080>>3];A[d+104>>3]=A[e+1216>>3];A[d+232>>3]=A[e+1088>>3];A[d+96>>3]=A[e+1224>>3];A[d+224>>3]=A[e+1096>>3];A[d+64>>3]=A[e+1232>>3];A[d+192>>3]=A[e+1104>>3];A[d+32>>3]=A[e+1240>>3];A[d+160>>3]=A[e+1112>>3];A[d+40>>3]=A[e+1248>>3];A[d+168>>3]=A[e+1120>>3];A[d+48>>3]=A[e+1256>>3];A[d+176>>3]=A[e+1128>>3];A[d+80>>3]=A[e+1264>>3];A[d+208>>3]=A[e+1136>>3];A[d+72>>3]=A[e+1272>>3];A[d+200>>3]=A[e+1144>>3];if(!n){break t}k=p-1|0;c=0;while(1){h=c<<3;g=h+d|0;f=h+(B(k,1280)+q|0)|0;A[g+256>>3]=A[f+1024>>3];A[g+512>>3]=A[f+768>>3];f=h+(e+32|0)|0;A[g+1024>>3]=A[f>>3];A[g+768>>3]=A[f+256>>3];c=c+1|0;if((n|0)!=(c|0)){continue}break};break t;case 2:break v}}c=d-1280|0;A[d>>3]=A[c+96>>3];A[d+8>>3]=A[c+64>>3];A[d+128>>3]=A[c+224>>3];A[d+136>>3]=A[c+192>>3];A[d+16>>3]=A[c+32>>3];A[d+144>>3]=A[c+160>>3];A[d+24>>3]=A[c>>3];A[d+152>>3]=A[c+128>>3];A[d+56>>3]=A[e+1184>>3];A[d+184>>3]=A[e+1056>>3];A[d+88>>3]=A[e+1192>>3];A[d+216>>3]=A[e+1064>>3];A[d+120>>3]=A[e+1200>>3];A[d+248>>3]=A[e+1072>>3];A[d+112>>3]=A[e+1208>>3];A[d+240>>3]=A[e+1080>>3];A[d+104>>3]=A[e+1216>>3];A[d+232>>3]=A[e+1088>>3];A[d+96>>3]=A[e+1224>>3];A[d+224>>3]=A[e+1096>>3];A[d+64>>3]=A[e+1232>>3];A[d+192>>3]=A[e+1104>>3];A[d+32>>3]=A[e+1240>>3];A[d+160>>3]=A[e+1112>>3];A[d+40>>3]=A[e+1248>>3];A[d+168>>3]=A[e+1120>>3];A[d+48>>3]=A[e+1256>>3];A[d+176>>3]=A[e+1128>>3];A[d+80>>3]=A[e+1264>>3];A[d+208>>3]=A[e+1136>>3];A[d+72>>3]=A[e+1272>>3];A[d+200>>3]=A[e+1144>>3];if(!n){break t}k=p-1|0;c=0;while(1){h=c<<3;g=h+d|0;f=h+(B(k,1280)+q|0)|0;A[g+256>>3]=A[f+768>>3];A[g+512>>3]=A[f+256>>3];f=h+(e+32|0)|0;A[g+1024>>3]=A[f>>3];A[g+768>>3]=A[f+256>>3];c=c+1|0;if((n|0)!=(c|0)){continue}break}}v[l+4>>2]=0;p=p+1|0;continue}break}f=v[v[i>>2]+24>>2];c=0;v[299999]=0;R(f|0,i|0);f=v[299999];v[299999]=0;if((f|0)!=1){dc(l);if(!(!p|(a|0)!=6)){while(1){f=B(c,1280)+q|0;$=A[f+8>>3];x=A[f+32>>3];N=A[f>>3];Q=A[f+24>>3];S=A[f+96>>3];m=Q+S;aa=m+m;ba=A[f+104>>3];o=A[f+56>>3];U=A[f+120>>3];A[f+40>>3]=(($+x)*6-N*4-aa+(ba+o)*3-U)/9;ca=A[f+136>>3];s=A[f+160>>3];V=A[f+128>>3];X=A[f+152>>3];Y=A[f+224>>3];m=X+Y;da=m+m;ea=A[f+232>>3];u=A[f+184>>3];Z=A[f+248>>3];A[f+168>>3]=((ca+s)*6-V*4-da+(ea+u)*3-Z)/9;fa=A[f+112>>3];F=A[f+16>>3];C=(o+F)*6-Q*4;m=N+U;o=m+m;A[f+48>>3]=((x+fa)*3+(C-o)-S)/9;C=A[f+240>>3];I=A[f+144>>3];m=V+Z;x=m+m;A[f+176>>3]=((s+C)*3+((u+I)*6-X*4-x)-Y)/9;s=A[f+88>>3];u=A[f+64>>3];A[f+72>>3]=(($+s)*3+((ba+u)*6-S*4-o)-Q)/9;o=A[f+216>>3];m=A[f+192>>3];A[f+200>>3]=((ca+o)*3+((ea+m)*6-Y*4-x)-X)/9;A[f+80>>3]=((F+u)*3+((fa+s)*6-U*4-aa)-N)/9;A[f+208>>3]=((I+m)*3+((C+o)*6-Z*4-da)-V)/9;c=c+1|0;if((p|0)!=(c|0)){continue}break}}i=fc(328);v[i+8>>2]=0;v[i+4>>2]=a;v[i+320>>2]=y;v[i+316>>2]=n;v[i+184>>2]=p;v[i+180>>2]=q;v[i>>2]=897648;if((y|0)>=1){gc(i+188|0,e+1824|0,y<<2)}w:{if(fu(i,b)){a=v[i+320>>2];if((a|0)<1){break b}b=v[i+8>>2];g=0;break w}Ub[v[v[i>>2]+4>>2]](i);i=0;break b}while(1){if(v[v[((g<<2)+i|0)+188>>2]+8>>2]==(Ub[v[v[b>>2]+28>>2]](b)|0)){g=g+1|0;if((a|0)>(g|0)){continue}break b}break}kc(1,-1,219040,0);Ub[v[v[i>>2]+4>>2]](i);i=0;break b}break a}a=P()|0;O()|0;dc(l);T(a|0);L()}kc(1,-1,g,0);hc(e+16|0)}Qb=e+1952|0;return i}W(0)|0;O()|0;lc();L()}function a2(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,x=0,z=0,A=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;I=Qb-128|0;Qb=I;Y=v[a+4>>2];D=d;E=v[a+8>>2];l=E;h=v[l+88>>2];s=h+B(d,1876)|0;d=B(v[s+420>>2],112)+112|0;i=jc(d);k=0;a:{if(!i){break a}t=Y;i=ic(i,0,d);b:{if(v[s+420>>2]>=0){V=s+8|0;N=s+12|0;F=s+1872|0;g=v[t+4>>2];k=v[l+32>>2];j=v[l+40>>2];n=v[l+48>>2];d=(D|0)/(n|0)|0;o=k+B(j,d)|0;J=(g|0)>(o|0)?g:o;g=v[t+12>>2];j=k+B(j,d+1|0)|0;O=(g|0)<(j|0)?g:j;g=v[t>>2];j=v[l+36>>2];d=D-B(d,n)|0;n=v[l+28>>2];k=B(j,d)+n|0;K=(g|0)>(k|0)?g:k;g=v[t+8>>2];d=n+B(j,d+1|0)|0;P=(d|0)>(g|0)?g:d;n=v[t+16>>2];z=n<<4;u=h+B(D,1876)|0;while(1){o=i+B(m,112)|0;v[o+92>>2]=O;v[o+88>>2]=P;v[o+84>>2]=J;v[o+80>>2]=K;v[o+72>>2]=n;d=jc(z);if(!d){v[o+76>>2]=0;break b}v[o+76>>2]=d;j=0;C=ic(d,0,z);d=0;L=v[i+72>>2];if((L|0)>=1){Q=v[t+24>>2];f=0;while(1){q=v[F>>2];g=C+(f<<4)|0;k=Q+B(f,48)|0;h=v[k>>2];v[g>>2]=h;k=v[k+4>>2];v[g+4>>2]=k;A=q+B(f,1076)|0;q=v[A+4>>2];v[g+8>>2]=q;p=q<<4;r=jc(p);if(!r){v[(C+(f<<4)|0)+12>>2]=0;break b}R=ic(r,0,p);v[g+12>>2]=R;g=k-1|0;S=(g+v[i+92>>2]|0)/(k|0)|0;p=h-1|0;W=(p+v[i+88>>2]|0)/(h|0)|0;T=(g+v[i+84>>2]|0)/(k|0)|0;U=(p+v[i+80>>2]|0)/(h|0)|0;if((q|0)>=1){X=v[A>>2]&1;g=0;while(1){p=R+(g<<4)|0;M=p;c:{if(X){k=A+(g<<2)|0;h=v[k+812>>2];v[p>>2]=h;k=v[k+944>>2];break c}h=15;v[p>>2]=15;k=15}v[M+4>>2]=k;M=-1<>r;Z=x+T>>r;k=(G|0)==(Z|0)?0:(M&(G+(1<>k;v[p+12>>2]=k;M=p;G=-1<>r;r=x+U>>r;h=(p|0)==(r|0)?0:(G&(p+(1<>h;v[M+8>>2]=h;h=B(h,k);d=(d|0)<(h|0)?h:d;g=g+1|0;if((q|0)!=(g|0)){continue}break}}j=(j|0)<(q|0)?q:j;f=f+1|0;if((L|0)!=(f|0)){continue}break}}v[o+12>>2]=d;v[o+16>>2]=1;d=B(d,n);v[o+8>>2]=d;d=B(d,j);v[o+4>>2]=d;d:{if(!m){d=B(d,v[N>>2])<<1;g=jc(d);if(g){_=o,$=ic(g,0,d),v[_>>2]=$;break d}v[o>>2]=0;break b}v[o>>2]=v[o-112>>2]}e:{if(!v[s+424>>2]){f=0;d=N;g=n;h=V;k=0;break e}k=u+(m<<5)|0;h=k+448|0;d=k+436|0;g=v[k+444>>2];j=v[k+440>>2];f=v[k+432>>2];k=v[k+428>>2]}d=v[d>>2];h=v[h>>2];v[o+40>>2]=k;v[o+36>>2]=1;v[o+60>>2]=h;v[o+56>>2]=g;v[o+52>>2]=j;v[o+48>>2]=d;v[o+44>>2]=f;d=v[s+420>>2]>(m|0);m=m+1|0;if(d){continue}break}}k=i;break a}GJ(i,l,D);k=0}f:{if(!k){break f}L=B(D,1876);g:{if(v[(L+v[E+88>>2]|0)+420>>2]>-1){W=b+c|0;c=0;V=e;o=a;t=b;while(1){N=c;r=k+B(c,112)|0;h:{if(!b2(r)){break h}while(1){x=v[r+32>>2];i:{j:{a=v[E+16>>2];if(a){H=0;if((a|0)<=(x|0)){break j}}J=v[r+20>>2];h=v[(v[V+20>>2]+(J<<5)|0)+20>>2];p=v[o+8>>2];O=v[r+28>>2];j=v[r+24>>2];m=v[E+88>>2];k:{if(x){break k}l=0;n=h+B(j,124)|0;s=v[n+24>>2];if((s|0)<1){break k}while(1){a=n+(l<<5)|0;l:{if(v[a+36>>2]==v[a+28>>2]|v[a+40>>2]==v[a+32>>2]){break l}d=v[a+48>>2]+B(O,36)|0;a=v[d+28>>2];m:{if(!a){break m}e=v[a+8>>2];if((e|0)<1){break m}b=e&3;a=v[a+12>>2];c=0;if(e-1>>>0>=3){g=e&-4;while(1){e=c<<4;i=e+a|0;v[i+12>>2]=0;v[i+4>>2]=999;v[i+8>>2]=0;i=a+(e|16)|0;v[i+4>>2]=999;v[i+8>>2]=0;v[i+12>>2]=0;i=a+(e|32)|0;v[i+4>>2]=999;v[i+8>>2]=0;v[i+12>>2]=0;e=a+(e|48)|0;v[e+4>>2]=999;v[e+8>>2]=0;v[e+12>>2]=0;c=c+4|0;g=g-4|0;if(g){continue}break}}if(!b){break m}while(1){e=a+(c<<4)|0;v[e+12>>2]=0;v[e+4>>2]=999;v[e+8>>2]=0;c=c+1|0;b=b-1|0;if(b){continue}break}}a=v[d+32>>2];n:{if(!a){break n}e=v[a+8>>2];if((e|0)<1){break n}b=e&3;a=v[a+12>>2];c=0;if(e-1>>>0>=3){g=e&-4;while(1){e=c<<4;i=e+a|0;v[i+12>>2]=0;v[i+4>>2]=999;v[i+8>>2]=0;i=a+(e|16)|0;v[i+4>>2]=999;v[i+8>>2]=0;v[i+12>>2]=0;i=a+(e|32)|0;v[i+4>>2]=999;v[i+8>>2]=0;v[i+12>>2]=0;e=a+(e|48)|0;v[e+4>>2]=999;v[e+8>>2]=0;v[e+12>>2]=0;c=c+4|0;g=g-4|0;if(g){continue}break}}if(!b){break n}while(1){e=a+(c<<4)|0;v[e+12>>2]=0;v[e+4>>2]=999;v[e+8>>2]=0;c=c+1|0;b=b-1|0;if(b){continue}break}}b=B(v[d+20>>2],v[d+16>>2]);if((b|0)<1){break l}e=b&7;a=v[d+24>>2];c=0;if(b-1>>>0>=7){b=b&-8;while(1){v[(a+B(c,15448)|0)+36>>2]=0;v[(a+B(c|1,15448)|0)+36>>2]=0;v[(a+B(c|2,15448)|0)+36>>2]=0;v[(a+B(c|3,15448)|0)+36>>2]=0;v[(a+B(c|4,15448)|0)+36>>2]=0;v[(a+B(c|5,15448)|0)+36>>2]=0;v[(a+B(c|6,15448)|0)+36>>2]=0;v[(a+B(c|7,15448)|0)+36>>2]=0;c=c+8|0;b=b-8|0;if(b){continue}break}}if(!e){break l}while(1){v[(a+B(c,15448)|0)+36>>2]=0;c=c+1|0;e=e-1|0;if(e){continue}break}}l=l+1|0;if((s|0)!=(l|0)){continue}break}}q=m+L|0;Q=v[q+4>>2];a=t;o:{if(!(Q&2)){break o}i=t;a=i;if(w[i|0]!=255){break o}a=(w[t+1|0]==145?6:0)+t|0}i=a;H=-999;f=jc(20);if(!f){break j}R=W-t|0;v[f>>2]=0;v[f+4>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;S=v[p+72>>2]!=1;p:{if(!S){a=v[p+84>>2];c=v[p+64>>2];v[f>>2]=c;a=a+c|0;break p}if(v[q+1460>>2]==1){a=v[q+1468>>2];c=v[q+1452>>2];v[f>>2]=c;a=a+c|0;break p}v[f>>2]=i;c=i;a=t+R|0}v[f+12>>2]=0;v[f+16>>2]=8;v[f+8>>2]=c;v[f+4>>2]=a;q:{r:{if(a>>>0<=c>>>0){break r}b=c+1|0;v[f+8>>2]=b;e=w[c|0];v[f+12>>2]=e;v[f+16>>2]=7;if(e&128){K=0;C=h+B(j,124)|0;T=v[C+24>>2];if((T|0)>0){P=q+1872|0;c=7;d=b;while(1){z=C+(K<<5)|0;s:{if(v[z+36>>2]==v[z+28>>2]|v[z+40>>2]==v[z+32>>2]){break s}A=v[z+48>>2]+B(O,36)|0;U=B(v[A+20>>2],v[A+16>>2]);if((U|0)<1){break s}X=v[A+24>>2];F=0;while(1){t:{u:{v:{w:{x:{n=X+B(F,15448)|0;u=v[n+36>>2];if(!u){g=0;l=0;j=F<<4;h=j+v[v[A+28>>2]+12>>2]|0;a=v[h>>2];if(a){while(1){v[(l<<2)+I>>2]=h;l=l+1|0;h=a;a=v[a>>2];if(a){continue}break}}while(1){a=v[h+8>>2];if((g|0)>(a|0)){v[h+8>>2]=g;a=g}y:{if((a|0)>(x|0)){g=a;break y}m=v[h+4>>2];if((m|0)<=(a|0)){g=a;break y}s=v[f+4>>2];while(1){z:{if(c){break z}e=e<<8&65280;v[f+12>>2]=e;c=(e|0)==65280?7:8;v[f+16>>2]=c;if(d>>>0>=s>>>0){break z}b=d+1|0;v[f+8>>2]=b;e=w[d|0]|e;v[f+12>>2]=e;d=b}c=c-1|0;v[f+16>>2]=c;if(e>>>c&1){v[h+4>>2]=a;g=a;break y}g=a+1|0;if((a|0)>=(x|0)){break y}a=g;if((m|0)>(a|0)){continue}break}}v[h+8>>2]=g;if(!l){break x}l=l-1|0;h=v[(l<<2)+I>>2];continue}}A:{if(c){break A}a=v[f+4>>2];e=e<<8&65280;v[f+12>>2]=e;c=(e|0)==65280?7:8;v[f+16>>2]=c;if(a>>>0<=d>>>0){break A}b=d+1|0;v[f+8>>2]=b;e=w[d|0]|e;v[f+12>>2]=e;d=b}c=c-1|0;v[f+16>>2]=c;if(!(e>>>c&1)){break w}break u}if((x|0)>=v[h+4>>2]){break v}}v[n+32>>2]=0;break t}l=j+v[v[A+32>>2]+12>>2]|0;s=v[l>>2];a=0;while(1){m=a;h=l;j=0;a=s;if(a){while(1){v[(j<<2)+I>>2]=h;j=j+1|0;h=a;a=v[a>>2];if(a){continue}break}}g=0;while(1){a=v[h+8>>2];if((g|0)>(a|0)){v[h+8>>2]=g;a=g}B:{if((a|0)>=(m|0)){break B}G=v[f+4>>2];g=v[h+4>>2];while(1){if((a|0)>=(g|0)){break B}C:{if(c){break C}e=e<<8&65280;v[f+12>>2]=e;c=(e|0)==65280?7:8;v[f+16>>2]=c;if(d>>>0>=G>>>0){break C}b=d+1|0;v[f+8>>2]=b;e=w[d|0]|e;v[f+12>>2]=e;d=b}c=c-1|0;v[f+16>>2]=c;D:{if(e>>>c&1){v[h+4>>2]=a;g=a;break D}a=a+1|0}if((a|0)<(m|0)){continue}break}}v[h+8>>2]=a;if(j){j=j-1|0;h=v[(j<<2)+I>>2];g=a;continue}break}a=m+1|0;if((m|0)<=v[h+4>>2]){continue}break}a=v[z+52>>2];v[n+20>>2]=3;v[n+16>>2]=(a-m|0)+1}E:{if(c){break E}e=e<<8&65280;v[f+12>>2]=e;c=(e|0)==65280?7:8;v[f+16>>2]=c;if(y[f+4>>2]<=d>>>0){break E}b=d+1|0;v[f+8>>2]=b;e=w[d|0]|e;v[f+12>>2]=e;d=b}a=n;c=c-1|0;m=1;F:{if(!(e>>>c&1)){break F}G:{if(c){break G}e=e<<8&65280;v[f+12>>2]=e;c=(e|0)==65280?7:8;v[f+16>>2]=c;if(y[f+4>>2]<=d>>>0){break G}b=d+1|0;v[f+8>>2]=b;e=w[d|0]|e;v[f+12>>2]=e;d=b}c=c-1|0;m=2;if(!(e>>>c&1)){break F}H:{if(c){break H}e=e<<8&65280;v[f+12>>2]=e;c=(e|0)==65280?7:8;v[f+16>>2]=c;if(y[f+4>>2]<=d>>>0){break H}b=d+1|0;v[f+8>>2]=b;e=w[d|0]|e;v[f+12>>2]=e;d=b}c=c-1|0;g=e>>>c<<1&2;I:{if(c){break I}e=e<<8&65280;v[f+12>>2]=e;c=(e|0)==65280?7:8;v[f+16>>2]=c;if(y[f+4>>2]<=d>>>0){break I}b=d+1|0;v[f+8>>2]=b;e=w[d|0]|e;v[f+12>>2]=e;d=b}J:{c=c-1|0;g=g|e>>>c&1;if((g|0)==3){K:{if(c){break K}e=e<<8&65280;v[f+12>>2]=e;c=(e|0)==65280?7:8;v[f+16>>2]=c;if(y[f+4>>2]<=d>>>0){break K}b=d+1|0;v[f+8>>2]=b;e=w[d|0]|e;v[f+12>>2]=e;d=b}c=c-1|0;g=e>>>c<<4&16;L:{if(c){break L}e=e<<8&65280;v[f+12>>2]=e;c=(e|0)==65280?7:8;v[f+16>>2]=c;if(y[f+4>>2]<=d>>>0){break L}b=d+1|0;v[f+8>>2]=b;e=w[d|0]|e;v[f+12>>2]=e;d=b}c=c-1|0;g=g|e>>>c<<3&8;M:{if(c){break M}e=e<<8&65280;v[f+12>>2]=e;c=(e|0)==65280?7:8;v[f+16>>2]=c;if(y[f+4>>2]<=d>>>0){break M}b=d+1|0;v[f+8>>2]=b;e=w[d|0]|e;v[f+12>>2]=e;d=b}c=c-1|0;g=g|e>>>c<<2&4;N:{if(c){break N}e=e<<8&65280;v[f+12>>2]=e;c=(e|0)==65280?7:8;v[f+16>>2]=c;if(y[f+4>>2]<=d>>>0){break N}b=d+1|0;v[f+8>>2]=b;e=w[d|0]|e;v[f+12>>2]=e;d=b}c=c-1|0;g=g|e>>>c<<1&2;O:{if(c){break O}e=e<<8&65280;v[f+12>>2]=e;c=(e|0)==65280?7:8;v[f+16>>2]=c;if(y[f+4>>2]<=d>>>0){break O}b=d+1|0;v[f+8>>2]=b;e=w[d|0]|e;v[f+12>>2]=e;d=b}c=c-1|0;g=g|e>>>c&1;if((g|0)!=31){break J}P:{if(c){break P}e=e<<8&65280;v[f+12>>2]=e;c=(e|0)==65280?7:8;v[f+16>>2]=c;if(y[f+4>>2]<=d>>>0){break P}b=d+1|0;v[f+8>>2]=b;e=w[d|0]|e;v[f+12>>2]=e;d=b}c=c-1|0;g=e>>>c<<6;Q:{if(c){break Q}e=e<<8&65280;v[f+12>>2]=e;c=(e|0)==65280?7:8;v[f+16>>2]=c;if(y[f+4>>2]<=d>>>0){break Q}b=d+1|0;v[f+8>>2]=b;e=w[d|0]|e;v[f+12>>2]=e;d=b}g=g&64;c=c-1|0;h=e>>>c<<5&32;R:{if(c){break R}e=e<<8&65280;v[f+12>>2]=e;c=(e|0)==65280?7:8;v[f+16>>2]=c;if(y[f+4>>2]<=d>>>0){break R}b=d+1|0;v[f+8>>2]=b;e=w[d|0]|e;v[f+12>>2]=e;d=b}g=g|h;c=c-1|0;h=e>>>c<<4&16;S:{if(c){break S}e=e<<8&65280;v[f+12>>2]=e;c=(e|0)==65280?7:8;v[f+16>>2]=c;if(y[f+4>>2]<=d>>>0){break S}b=d+1|0;v[f+8>>2]=b;e=w[d|0]|e;v[f+12>>2]=e;d=b}g=g|h;c=c-1|0;h=e>>>c<<3&8;T:{if(c){break T}e=e<<8&65280;v[f+12>>2]=e;c=(e|0)==65280?7:8;v[f+16>>2]=c;if(y[f+4>>2]<=d>>>0){break T}b=d+1|0;v[f+8>>2]=b;e=w[d|0]|e;v[f+12>>2]=e;d=b}g=g|h;c=c-1|0;h=e>>>c<<2&4;U:{if(c){break U}e=e<<8&65280;v[f+12>>2]=e;c=(e|0)==65280?7:8;v[f+16>>2]=c;if(y[f+4>>2]<=d>>>0){break U}b=d+1|0;v[f+8>>2]=b;e=w[d|0]|e;v[f+12>>2]=e;d=b}g=g|h;c=c-1|0;h=e>>>c<<1&2;V:{if(c){break V}e=e<<8&65280;v[f+12>>2]=e;c=(e|0)==65280?7:8;v[f+16>>2]=c;if(y[f+4>>2]<=d>>>0){break V}b=d+1|0;v[f+8>>2]=b;e=w[d|0]|e;v[f+12>>2]=e;d=b}c=c-1|0;m=(e>>>c&1)+(h|g+37)|0;break F}m=g+3|0;break F}m=g+6|0}v[a+32>>2]=m;h=v[f+4>>2];a=0;while(1){g=a;W:{if(c){break W}e=e<<8&65280;v[f+12>>2]=e;c=(e|0)==65280?7:8;v[f+16>>2]=c;if(d>>>0>=h>>>0){break W}b=d+1|0;v[f+8>>2]=b;e=w[d|0]|e;v[f+12>>2]=e;d=b}c=c-1|0;v[f+16>>2]=c;a=g+1|0;if(e>>>c&1){continue}break}s=g+v[n+20>>2]|0;v[n+20>>2]=s;l=n+B(u,24)|0;X:{Y:{if(!u){a=v[(v[P>>2]+B(J,1076)|0)+16>>2];v[n+40>>2]=0;v[n+44>>2]=0;j=n+40|0;g=a&4?1:a&1?10:109;break Y}g=n+B(u,24)|0;j=g+16|0;a=v[j>>2];if((a|0)!=v[g+28>>2]){break X}h=v[(v[P>>2]+B(J,1076)|0)+16>>2];j=g+40|0;v[j>>2]=0;v[j+4>>2]=0;g=1;if(h&4){break Y}g=109;if(!(h&1)){break Y}g=(a|0)==1?2:(a|0)==10?2:1}v[l+52>>2]=g;a=0}while(1){l=v[j+12>>2];a=l-a|0;n=(a|0)>(m|0)?m:a;v[j+16>>2]=n;g=0;h=0;a=n;if((a|0)>=2){while(1){h=h+1|0;u=a>>>0>3;a=a>>>1|0;if(u){continue}break}}a=h+s|0;if((a|0)>=1){u=v[f+4>>2];while(1){h=a;a=a-1|0;Z:{if(c){break Z}e=e<<8&65280;v[f+12>>2]=e;c=(e|0)==65280?7:8;v[f+16>>2]=c;if(b>>>0>=u>>>0){d=b;break Z}d=b+1|0;v[f+8>>2]=d;e=w[b|0]|e;v[f+12>>2]=e;b=d}c=c-1|0;v[f+16>>2]=c;g=((e>>>c&1)<1){continue}break}}v[j+20>>2]=g;m=m-n|0;if((m|0)<1){break t}h=v[(v[P>>2]+B(J,1076)|0)+16>>2];v[j+24>>2]=0;v[j+28>>2]=0;a=j;g=1;_:{if(h&4){break _}g=109;if(!(h&1)){break _}g=(l|0)==1?2:(l|0)==10?2:1}v[a+36>>2]=g;a=0;j=j+24|0;continue}}F=F+1|0;if((U|0)!=(F|0)){continue}break}}K=K+1|0;if((T|0)!=(K|0)){continue}break}}v[f+16>>2]=0;$:{if((e&255)==255){a=e<<8&65280;v[f+12>>2]=a;v[f+16>>2]=(a|0)==65280?7:8;if(y[f+4>>2]<=b>>>0){break $}b=b+1|0}dc(f);b=!(Q&4)|w[b|0]!=255?b:((w[b+1|0]==146)<<1)+b|0;aa:{ba:{if(!S){c=p+84|0;e=v[p+64>>2]-b|0;a=p- -64|0;break ba}if(v[q+1460>>2]!=1){i=b;break aa}c=q+1468|0;e=v[q+1452>>2]-b|0;a=q+1452|0}v[c>>2]=v[c>>2]+e;v[a>>2]=b}a=v[C+24>>2];if((a|0)<1){break q}h=t+R|0;j=0;while(1){b=C+(j<<5)|0;ca:{if(v[b+36>>2]==v[b+28>>2]|v[b+40>>2]==v[b+32>>2]){break ca}g=v[b+48>>2]+B(O,36)|0;e=v[g+20>>2];b=v[g+16>>2];if((B(e,b)|0)<1){break ca}m=0;while(1){d=v[g+24>>2]+B(m,15448)|0;a=v[d+36>>2];if((a|0)>=0){if(v[d+32>>2]){da:{if(!a){v[d+36>>2]=1;v[d+24>>2]=0;c=d+40|0;break da}b=d+B(a,24)|0;c=b+16|0;if(v[c>>2]!=v[b+28>>2]){break da}v[d+36>>2]=a+1;c=b+40|0}l=v[c+20>>2];if(h>>>0>>0){break j}a=c+20|0;e=v[d+24>>2];while(1){gc((d+e|0)+2440|0,i,l);b=v[d+24>>2];n=v[c>>2];if(!n){v[c+8>>2]=(b+d|0)+2440}a=v[a>>2];e=a+b|0;v[d+24>>2]=e;v[c+4>>2]=a+v[c+4>>2];b=v[c+16>>2];v[c>>2]=b+n;b=v[d+32>>2]-b|0;v[d+32>>2]=b;i=a+i|0;if((b|0)>=1){v[d+36>>2]=v[d+36>>2]+1;b=c;a=c+44|0;c=c+24|0;l=v[b+44>>2];if(h>>>0>=i+l>>>0){continue}break j}break}e=v[g+20>>2];b=v[g+16>>2]}m=m+1|0;if((m|0)<(B(b,e)|0)){continue}}break}a=v[C+24>>2]}j=j+1|0;if((j|0)<(a|0)){continue}break}break q}dc(f);break j}if((e|0)!=255){c=b;break r}v[f+12>>2]=e<<8;c=a>>>0>b>>>0?c+2|0:b}dc(f);c=!(Q&4)|w[c|0]!=255?c:((w[c+1|0]==146)<<1)+c|0;ea:{if(!S){e=p- -64|0;b=v[p+64>>2]-c|0;a=p+84|0;break ea}if(v[q+1460>>2]!=1){i=c;break q}e=q+1452|0;b=v[q+1452>>2]-c|0;a=q+1468|0}v[a>>2]=v[a>>2]+b;v[e>>2]=c}H=i-t|0;if((H|0)<1){break j}b=v[Y+24>>2]+B(v[r+20>>2],48)|0;a=v[b+36>>2];c=b;b=v[r+24>>2];v[c+36>>2]=(a|0)>(b|0)?a:b;break i}if((H|0)!=-999){break i}H=-999;break h}t=t+H|0;if(b2(r)){continue}break}}c=N+1|0;if((N|0)>2]|0)+420>>2]){continue}break}GJ(k,E,D);if((H|0)!=-999){break g}break f}GJ(k,E,D)}}Qb=I+128|0}function ky(a,b,c,d,e,f,g){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,u=0,x=0,A=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=C(0);j=Qb-48|0;Qb=j;a:{if((g|0)>=5){t[a+60|0]=w[36909];b=w[36905]|w[36906]<<8|(w[36907]<<16|w[36908]<<24);c=w[36901]|w[36902]<<8|(w[36903]<<16|w[36904]<<24);t[a+52|0]=c;t[a+53|0]=c>>>8;t[a+54|0]=c>>>16;t[a+55|0]=c>>>24;t[a+56|0]=b;t[a+57|0]=b>>>8;t[a+58|0]=b>>>16;t[a+59|0]=b>>>24;b=w[36897]|w[36898]<<8|(w[36899]<<16|w[36900]<<24);c=w[36893]|w[36894]<<8|(w[36895]<<16|w[36896]<<24);t[a+44|0]=c;t[a+45|0]=c>>>8;t[a+46|0]=c>>>16;t[a+47|0]=c>>>24;t[a+48|0]=b;t[a+49|0]=b>>>8;t[a+50|0]=b>>>16;t[a+51|0]=b>>>24;b=w[36889]|w[36890]<<8|(w[36891]<<16|w[36892]<<24);c=w[36885]|w[36886]<<8|(w[36887]<<16|w[36888]<<24);t[a+36|0]=c;t[a+37|0]=c>>>8;t[a+38|0]=c>>>16;t[a+39|0]=c>>>24;t[a+40|0]=b;t[a+41|0]=b>>>8;t[a+42|0]=b>>>16;t[a+43|0]=b>>>24;b=w[36881]|w[36882]<<8|(w[36883]<<16|w[36884]<<24);c=w[36877]|w[36878]<<8|(w[36879]<<16|w[36880]<<24);t[a+28|0]=c;t[a+29|0]=c>>>8;t[a+30|0]=c>>>16;t[a+31|0]=c>>>24;t[a+32|0]=b;t[a+33|0]=b>>>8;t[a+34|0]=b>>>16;t[a+35|0]=b>>>24;b=w[36873]|w[36874]<<8|(w[36875]<<16|w[36876]<<24);c=w[36869]|w[36870]<<8|(w[36871]<<16|w[36872]<<24);t[a+20|0]=c;t[a+21|0]=c>>>8;t[a+22|0]=c>>>16;t[a+23|0]=c>>>24;t[a+24|0]=b;t[a+25|0]=b>>>8;t[a+26|0]=b>>>16;t[a+27|0]=b>>>24;b=w[36865]|w[36866]<<8|(w[36867]<<16|w[36868]<<24);c=w[36861]|w[36862]<<8|(w[36863]<<16|w[36864]<<24);t[a+12|0]=c;t[a+13|0]=c>>>8;t[a+14|0]=c>>>16;t[a+15|0]=c>>>24;t[a+16|0]=b;t[a+17|0]=b>>>8;t[a+18|0]=b>>>16;t[a+19|0]=b>>>24;b=w[36857]|w[36858]<<8|(w[36859]<<16|w[36860]<<24);c=w[36853]|w[36854]<<8|(w[36855]<<16|w[36856]<<24);t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+8|0]=b;t[a+9|0]=b>>>8;t[a+10|0]=b>>>16;t[a+11|0]=b>>>24;break a}b:{c:{k=v[b>>2];q=k;i=v[b+4>>2];if(i>>>0>=2){p=v[a+264>>2];s=w[!p+k|0]<<8|w[((p|0)!=0)+k|0]}u=B(s,12);x=u+4|0;if(q+x>>>0<=v[c>>2]+d>>>0){A=g+1|0;h=a+4|0;p=0;if(s){break c}break b}k=0;b=w[37108]|w[37109]<<8;t[a+28|0]=b;t[a+29|0]=b>>>8;b=w[37104]|w[37105]<<8|(w[37106]<<16|w[37107]<<24);c=w[37100]|w[37101]<<8|(w[37102]<<16|w[37103]<<24);t[a+20|0]=c;t[a+21|0]=c>>>8;t[a+22|0]=c>>>16;t[a+23|0]=c>>>24;t[a+24|0]=b;t[a+25|0]=b>>>8;t[a+26|0]=b>>>16;t[a+27|0]=b>>>24;b=w[37096]|w[37097]<<8|(w[37098]<<16|w[37099]<<24);c=w[37092]|w[37093]<<8|(w[37094]<<16|w[37095]<<24);t[a+12|0]=c;t[a+13|0]=c>>>8;t[a+14|0]=c>>>16;t[a+15|0]=c>>>24;t[a+16|0]=b;t[a+17|0]=b>>>8;t[a+18|0]=b>>>16;t[a+19|0]=b>>>24;b=w[37088]|w[37089]<<8|(w[37090]<<16|w[37091]<<24);c=w[37084]|w[37085]<<8|(w[37086]<<16|w[37087]<<24);t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+8|0]=b;t[a+9|0]=b>>>8;t[a+10|0]=b>>>16;t[a+11|0]=b>>>24;break a}H=e+5|0;I=e+37|0;J=e+77|0;E=e+196|0;while(1){v[j+40>>2]=0;v[j+44>>2]=0;g=B(p,12)|2;m=g>>>0>i>>>0?i:g;o=m+k|0;n=0;k=0;g=0;d:{i=i-m|0;if(i>>>0<2){break d}m=v[a+264>>2];g=!m;F=(m|0)!=0;k=w[g+o|0]<<8|w[o+F|0];if(i>>>0<4){g=0;break d}q=g;g=o+2|0;g=w[q+g|0]<<8|w[g+F|0];if(i>>>0>=8){n=o+4|0;e:{if(m){m=w[n+1|0]<<16|w[n|0]<<24|w[n+2|0]<<8;n=n+3|0;break e}m=w[n+2|0]<<16|w[n+3|0]<<24|w[n+1|0]<<8}n=w[n|0]|m}if(g>>>0<13){break d}k=0;a=w[38447]|w[38448]<<8|(w[38449]<<16|w[38450]<<24);b=w[38443]|w[38444]<<8|(w[38445]<<16|w[38446]<<24);t[h+24|0]=b;t[h+25|0]=b>>>8;t[h+26|0]=b>>>16;t[h+27|0]=b>>>24;t[h+28|0]=a;t[h+29|0]=a>>>8;t[h+30|0]=a>>>16;t[h+31|0]=a>>>24;a=w[38439]|w[38440]<<8|(w[38441]<<16|w[38442]<<24);b=w[38435]|w[38436]<<8|(w[38437]<<16|w[38438]<<24);t[h+16|0]=b;t[h+17|0]=b>>>8;t[h+18|0]=b>>>16;t[h+19|0]=b>>>24;t[h+20|0]=a;t[h+21|0]=a>>>8;t[h+22|0]=a>>>16;t[h+23|0]=a>>>24;a=w[38431]|w[38432]<<8|(w[38433]<<16|w[38434]<<24);b=w[38427]|w[38428]<<8|(w[38429]<<16|w[38430]<<24);t[h+8|0]=b;t[h+9|0]=b>>>8;t[h+10|0]=b>>>16;t[h+11|0]=b>>>24;t[h+12|0]=a;t[h+13|0]=a>>>8;t[h+14|0]=a>>>16;t[h+15|0]=a>>>24;a=w[38423]|w[38424]<<8|(w[38425]<<16|w[38426]<<24);b=w[38419]|w[38420]<<8|(w[38421]<<16|w[38422]<<24);t[h|0]=b;t[h+1|0]=b>>>8;t[h+2|0]=b>>>16;t[h+3|0]=b>>>24;t[h+4|0]=a;t[h+5|0]=a>>>8;t[h+6|0]=a>>>16;t[h+7|0]=a>>>24;break a}n=B(v[(g<<2)+39792>>2],n);f:{if((n|0)>=5){m=0;if(i>>>0>=12){i=o+8|0;g:{if(v[a+264>>2]){m=w[i+1|0]<<16|w[i|0]<<24|w[i+2|0]<<8;i=i+3|0;break g}m=w[i+2|0]<<16|w[i+3|0]<<24|w[i+1|0]<<8}m=w[i|0]|m}if(m+n>>>0>d>>>0){k=0;a=w[40626]|w[40627]<<8|(w[40628]<<16|w[40629]<<24);b=w[40622]|w[40623]<<8|(w[40624]<<16|w[40625]<<24);t[h+30|0]=b;t[h+31|0]=b>>>8;t[h+32|0]=b>>>16;t[h+33|0]=b>>>24;t[h+34|0]=a;t[h+35|0]=a>>>8;t[h+36|0]=a>>>16;t[h+37|0]=a>>>24;a=w[40620]|w[40621]<<8|(w[40622]<<16|w[40623]<<24);b=w[40616]|w[40617]<<8|(w[40618]<<16|w[40619]<<24);t[h+24|0]=b;t[h+25|0]=b>>>8;t[h+26|0]=b>>>16;t[h+27|0]=b>>>24;t[h+28|0]=a;t[h+29|0]=a>>>8;t[h+30|0]=a>>>16;t[h+31|0]=a>>>24;a=w[40612]|w[40613]<<8|(w[40614]<<16|w[40615]<<24);b=w[40608]|w[40609]<<8|(w[40610]<<16|w[40611]<<24);t[h+16|0]=b;t[h+17|0]=b>>>8;t[h+18|0]=b>>>16;t[h+19|0]=b>>>24;t[h+20|0]=a;t[h+21|0]=a>>>8;t[h+22|0]=a>>>16;t[h+23|0]=a>>>24;a=w[40604]|w[40605]<<8|(w[40606]<<16|w[40607]<<24);b=w[40600]|w[40601]<<8|(w[40602]<<16|w[40603]<<24);t[h+8|0]=b;t[h+9|0]=b>>>8;t[h+10|0]=b>>>16;t[h+11|0]=b>>>24;t[h+12|0]=a;t[h+13|0]=a>>>8;t[h+14|0]=a>>>16;t[h+15|0]=a>>>24;a=w[40596]|w[40597]<<8|(w[40598]<<16|w[40599]<<24);b=w[40592]|w[40593]<<8|(w[40594]<<16|w[40595]<<24);t[h|0]=b;t[h+1|0]=b>>>8;t[h+2|0]=b>>>16;t[h+3|0]=b>>>24;t[h+4|0]=a;t[h+5|0]=a>>>8;t[h+6|0]=a>>>16;t[h+7|0]=a>>>24;break a}i=v[c+4>>2];o=i>>>0>>0?i:m;m=i-o|0;i=o+v[c>>2]|0;break f}q=i;i=i>>>0<8?i:8;m=q-i|0;i=i+o|0}v[j+44>>2]=m;v[j+40>>2]=i;o=i+n|0;if(o>>>0>y[f>>2]){v[f>>2]=o}h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{if((k|0)<=37376){if((k|0)<=33433){Q:{switch(k-271|0){case 2:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:break h;case 12:break o;case 11:break p;case 25:break x;case 3:break B;case 1:break O;case 0:break P;default:break Q}}switch(k-513|0){case 1:break m;case 0:break n;default:break h}}if((k|0)<=34849){R:{switch(k-33434|0){case 1:case 2:break h;case 0:break E;case 3:break J;default:break R}}if((k|0)!=34665){break h}break i}S:{switch(k-34850|0){case 1:case 2:case 3:case 4:break h;case 5:break r;case 0:break s;default:break S}}T:{switch(k-36864|0){case 1:case 2:break h;case 3:break M;case 0:break N;default:break T}}if((k|0)!=37122){break h}l=tg(a,j+40|0,g);if(!(D(l)<2147483648)){break q}v[e+164>>2]=~~l;break h}if((k|0)<=37509){switch(k-37377|0){case 6:break t;case 7:break u;case 3:break v;case 8:break C;case 0:break D;case 5:break F;case 9:break G;case 2:break H;case 1:case 4:break I;default:break h}}U:{switch(k-40962|0){case 2:break h;case 3:break i;case 0:case 1:break A;default:break U}}V:{switch(k-41486|0){case 2:break w;case 1:break y;case 0:break z;default:break V}}if((k|0)!=37510){break h}W:{if(m>>>0>>0){break W}g=n-1|0;if(w[i+g|0]!=32){break W}while(1){X:{t[g+i|0]=0;if(!g){break X}g=g-1|0;i=v[j+40>>2];if(w[g+i|0]==32){continue}}break}m=v[j+44>>2]}if(m>>>0<5){break j}g=v[j+40>>2];if(Pc(g,41369,5)){break K}if(!(w[g+5|0]&223)){break L}i=204;g=g+5|0;break k}if(m>>>0<31){break h}Xc(H,i,31);break h}if(m>>>0<39){break h}Xc(I,i,39);break h}if(m>>>0<4){break h}Xc(e,i,4);break h}if(m>>>0<19){break h}Xc(J,i,19);break h}if(!(w[g+6|0]&223)){break l}i=205;g=g+6|0;break k}if(m>>>0<199){break j}Xc(E,g,199);break j}K=e,L=C(tg(a,j+40|0,g)),z[K+132>>2]=L;break h}if(z[e+132>>2]!=C(0)){break j}K=e,L=C(wp(tg(a,j+40|0,g)*.6931471824645996*.5)),z[K+132>>2]=L;break j}K=e,L=C(tg(a,j+40|0,g)),z[K+192>>2]=L;break h}K=e,L=C(tg(a,j+40|0,g)),z[K+124>>2]=L;break h}K=e,L=C(tg(a,j+40|0,g)),z[K+136>>2]=L;break h}K=e,L=C(tg(a,j+40|0,g)),z[K+128>>2]=L;break h}if(z[e+128>>2]!=C(0)){break h}K=e,L=C(1/wp(tg(a,j+40|0,g)*.6931471824645996)),z[K+128>>2]=L;break h}l=tg(a,j+40|0,g);Y:{if(D(l)<2147483648){g=~~l;break Y}g=-2147483648}if(g&7){v[e+120>>2]=1;break h}v[e+120>>2]=0;break h}i=e;l=tg(a,j+40|0,g);Z:{if(D(l)<2147483648){g=~~l;break Z}g=-2147483648}v[i+108>>2]=g;if(g-1>>>0<8){break h}t[h+24|0]=w[42004];g=w[42e3]|w[42001]<<8|(w[42002]<<16|w[42003]<<24);i=w[41996]|w[41997]<<8|(w[41998]<<16|w[41999]<<24);t[h+16|0]=i;t[h+17|0]=i>>>8;t[h+18|0]=i>>>16;t[h+19|0]=i>>>24;t[h+20|0]=g;t[h+21|0]=g>>>8;t[h+22|0]=g>>>16;t[h+23|0]=g>>>24;g=w[41992]|w[41993]<<8|(w[41994]<<16|w[41995]<<24);i=w[41988]|w[41989]<<8|(w[41990]<<16|w[41991]<<24);t[h+8|0]=i;t[h+9|0]=i>>>8;t[h+10|0]=i>>>16;t[h+11|0]=i>>>24;t[h+12|0]=g;t[h+13|0]=g>>>8;t[h+14|0]=g>>>16;t[h+15|0]=g>>>24;g=w[41984]|w[41985]<<8|(w[41986]<<16|w[41987]<<24);i=w[41980]|w[41981]<<8|(w[41982]<<16|w[41983]<<24);t[h|0]=i;t[h+1|0]=i>>>8;t[h+2|0]=i>>>16;t[h+3|0]=i>>>24;t[h+4|0]=g;t[h+5|0]=g>>>8;t[h+6|0]=g>>>16;t[h+7|0]=g>>>24;v[e+108>>2]=0;break h}l=tg(a,j+40|0,g);_:{if(D(l)<2147483648){g=~~l;break _}g=-2147483648}if((g|0)<=v[a+260>>2]){break j}v[a+260>>2]=g;break j}K=e,L=C(tg(a,j+40|0,g)),z[K+168>>2]=L;break h}K=e,L=C(tg(a,j+40|0,g)),z[K+172>>2]=L;break h}$:{aa:{ba:{ca:{l=tg(a,j+40|0,g);da:{if(D(l)<2147483648){g=~~l;break da}g=-2147483648}switch(g-1|0){case 4:break $;case 3:break aa;case 2:break ba;case 0:case 1:break ca;default:break h}}v[e+188>>2]=1065353216;break h}v[e+188>>2]=1053397798;break h}v[e+188>>2]=1025589893;break h}v[e+188>>2]=941957453;break h}ea:{fa:{ga:{ha:{l=tg(a,j+40|0,g);ia:{if(D(l)<2147483648){g=~~l;break ia}g=-2147483648}switch(g-1|0){case 4:break ea;case 3:break fa;case 2:break ga;case 0:case 1:break ha;default:break h}}v[e+176>>2]=1065353216;break h}v[e+176>>2]=1053397798;break h}v[e+176>>2]=1025589893;break h}v[e+176>>2]=941957453;break h}K=e,L=C(tg(a,j+40|0,g)),z[K+144>>2]=L;break h}l=tg(a,j+40|0,g);if(D(l)<2147483648){v[e+148>>2]=~~l;break h}v[e+148>>2]=-2147483648;break h}l=tg(a,j+40|0,g);if(D(l)<2147483648){v[e+152>>2]=~~l;break h}v[e+152>>2]=-2147483648;break h}l=tg(a,j+40|0,g);if(D(l)<2147483648){v[e+156>>2]=~~l;break h}v[e+156>>2]=-2147483648;break h}i=e;l=tg(a,j+40|0,g);ja:{if(D(l)<2147483648){g=~~l;break ja}g=-2147483648}v[i+160>>2]=g;if((g|0)>49){break h}v[e+160>>2]=B(g,200);break h}v[e+164>>2]=-2147483648;break h}K=e,L=C(tg(a,j+40|0,g)),z[K+180>>2]=L;break h}K=e,L=C(tg(a,j+40|0,g)),z[K+184>>2]=L;break h}l=tg(a,j+40|0,g);if(l<4294967296&l>=0){r=~~l>>>0;break h}r=0;break h}l=tg(a,j+40|0,g);if(l<4294967296&l>=0){G=~~l>>>0;break h}G=0;break h}if(w[g+7|0]&223){i=206;g=g+7|0;break k}if(w[g+8|0]&223){i=207;g=g+8|0;break k}if(!(w[g+9|0]&223)){break j}i=208;g=g+9|0}if(i>>>0>m>>>0){break j}Xc(E,g,199)}if((k|0)==40965){break i}if((k|0)!=34665){break h}}if(m>>>0<4){break h}k=v[j+40>>2];ka:{if(v[a+264>>2]){i=w[k+1|0]<<16|w[k|0]<<24|w[k+2|0]<<8;k=k+3|0;break ka}i=w[k+2|0]<<16|w[k+3|0]<<24|w[k+1|0]<<8}g=w[k|0]|i;if(g>>>0<9){break h}i=v[c+4>>2];if(i>>>0>>0){k=0;a=w[42874]|w[42875]<<8;t[h+24|0]=a;t[h+25|0]=a>>>8;a=w[42870]|w[42871]<<8|(w[42872]<<16|w[42873]<<24);b=w[42866]|w[42867]<<8|(w[42868]<<16|w[42869]<<24);t[h+16|0]=b;t[h+17|0]=b>>>8;t[h+18|0]=b>>>16;t[h+19|0]=b>>>24;t[h+20|0]=a;t[h+21|0]=a>>>8;t[h+22|0]=a>>>16;t[h+23|0]=a>>>24;a=w[42862]|w[42863]<<8|(w[42864]<<16|w[42865]<<24);b=w[42858]|w[42859]<<8|(w[42860]<<16|w[42861]<<24);t[h+8|0]=b;t[h+9|0]=b>>>8;t[h+10|0]=b>>>16;t[h+11|0]=b>>>24;t[h+12|0]=a;t[h+13|0]=a>>>8;t[h+14|0]=a>>>16;t[h+15|0]=a>>>24;a=w[42854]|w[42855]<<8|(w[42856]<<16|w[42857]<<24);b=w[42850]|w[42851]<<8|(w[42852]<<16|w[42853]<<24);t[h|0]=b;t[h+1|0]=b>>>8;t[h+2|0]=b>>>16;t[h+3|0]=b>>>24;t[h+4|0]=a;t[h+5|0]=a>>>8;t[h+6|0]=a>>>16;t[h+7|0]=a>>>24;break a}k=v[c>>2];v[j+24>>2]=k;v[j+32>>2]=g+k;v[j+28>>2]=i;v[j+36>>2]=i-g;ky(a,j+32|0,j+24|0,d,e,f,A)}i=v[b+4>>2];p=p+1|0;if((s|0)==(p|0)){g=G}else{k=v[b>>2];continue}break}p=g}la:{if(i>>>0>>0){break la}b=v[b>>2]+(u|2)|0;g=v[a+264>>2];b=w[b+!g|0]<<8|w[b+((g|0)!=0)|0];if(!b){break la}g=v[c+4>>2];if(g>>>0>>0){k=0;a=w[42874]|w[42875]<<8;t[h+24|0]=a;t[h+25|0]=a>>>8;a=w[42870]|w[42871]<<8|(w[42872]<<16|w[42873]<<24);b=w[42866]|w[42867]<<8|(w[42868]<<16|w[42869]<<24);t[h+16|0]=b;t[h+17|0]=b>>>8;t[h+18|0]=b>>>16;t[h+19|0]=b>>>24;t[h+20|0]=a;t[h+21|0]=a>>>8;t[h+22|0]=a>>>16;t[h+23|0]=a>>>24;a=w[42862]|w[42863]<<8|(w[42864]<<16|w[42865]<<24);b=w[42858]|w[42859]<<8|(w[42860]<<16|w[42861]<<24);t[h+8|0]=b;t[h+9|0]=b>>>8;t[h+10|0]=b>>>16;t[h+11|0]=b>>>24;t[h+12|0]=a;t[h+13|0]=a>>>8;t[h+14|0]=a>>>16;t[h+15|0]=a>>>24;a=w[42854]|w[42855]<<8|(w[42856]<<16|w[42857]<<24);b=w[42850]|w[42851]<<8|(w[42852]<<16|w[42853]<<24);t[h|0]=b;t[h+1|0]=b>>>8;t[h+2|0]=b>>>16;t[h+3|0]=b>>>24;t[h+4|0]=a;t[h+5|0]=a>>>8;t[h+6|0]=a>>>16;t[h+7|0]=a>>>24;break a}i=v[c>>2];v[j+8>>2]=i;v[j+16>>2]=b+i;v[j+12>>2]=g;v[j+20>>2]=g-b;ky(a,j+16|0,j+8|0,d,e,f,A)}k=1;if(!p|!r|p+r>>>0>d>>>0){break a}a=v[c>>2];v[e+456>>2]=p;v[e+452>>2]=a+r}Qb=j+48|0;return k}function V2a(a){a=a|0;var 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,u=0,w=0,x=0,y=0;u=a;a:{b:{c:{d:{e:{f:{g:{b=v[a+20>>2];switch(b-202|0){case 2:break c;case 1:break f;case 0:break g;default:break e}}l=Ub[v[v[a+4>>2]>>2]](a,1,28)|0;v[a+440>>2]=l;v[l+8>>2]=0;v[l+4>>2]=171;v[l>>2]=172;a$(a);e=Ub[v[v[a+4>>2]>>2]](a,1,1408)|0;b=e+256|0;v[a+332>>2]=b;e=ic(e,0,256);while(1){t[b+c|0]=c;d=c|1;t[d+b|0]=d;d=c|2;t[d+b|0]=d;d=c|3;t[d+b|0]=d;d=c|4;t[d+b|0]=d;d=c|5;t[d+b|0]=d;d=c|6;t[d+b|0]=d;d=c|7;t[d+b|0]=d;c=c+8|0;if((c|0)!=256){continue}break}ic(e+512|0,255,384);ic(e+896|0,0,384);gc(e+1280|0,v[a+332>>2],128);v[l+12>>2]=0;b=Z_(a);v[l+20>>2]=0;v[l+24>>2]=0;v[l+16>>2]=b;h:{if(!v[a+84>>2]){v[a+108>>2]=0;v[a+100>>2]=0;v[a+104>>2]=0;break h}if(!v[a+64>>2]){v[a+108>>2]=0;v[a+100>>2]=0;v[a+104>>2]=0}if(v[a+68>>2]){b=v[a>>2];v[b+20>>2]=48;Ub[v[b>>2]](a)}i:{if(v[a+120>>2]!=3){v[a+136>>2]=0;v[a+108>>2]=0;v[a+100>>2]=1;v[a+104>>2]=0;break i}if(v[a+136>>2]){v[a+104>>2]=1;break i}if(v[a+92>>2]){v[a+108>>2]=1;break i}v[a+100>>2]=1}if(v[a+100>>2]){b=Ub[v[v[a+4>>2]>>2]](a,1,88)|0;v[a+480>>2]=b;v[b+68>>2]=0;v[b+12>>2]=192;v[b+8>>2]=193;v[b>>2]=194;v[b+52>>2]=0;if(v[a+120>>2]>=5){b=v[a>>2];v[b+20>>2]=57;v[b+24>>2]=4;Ub[v[v[a>>2]>>2]](a)}d=v[a+96>>2];if((d|0)>=257){b=v[a>>2];v[b+20>>2]=59;v[b+24>>2]=256;Ub[v[v[a>>2]>>2]](a);d=v[a+96>>2]}i=v[a+120>>2];j:{if((i|0)>=2){b=i-1|0;e=b&-8;g=b&7;j=i-2>>>0<7;f=1;while(1){b=f;f=b+1|0;h=f;c=e;if(!j){while(1){h=B(B(B(B(B(B(B(B(f,h),f),f),f),f),f),f),f);c=c-8|0;if(c){continue}break}}c=g;if(c){while(1){h=B(f,h);c=c-1|0;if(c){continue}break}}if((d|0)>=(h|0)){continue}break}break j}b=(d|0)>1?d:1;h=b+1|0}j=v[a+480>>2];e=1;if(b>>>0<=1){c=v[a>>2];v[c+24>>2]=h;v[c+20>>2]=58;Ub[v[v[a>>2]>>2]](a)}k:{if((i|0)<1){break k}g=i&3;l:{if(i-1>>>0<3){f=0;break l}c=i&-4;f=0;h=j+32|0;while(1){k=f<<2;v[k+h>>2]=b;v[h+(k|4)>>2]=b;v[h+(k|8)>>2]=b;v[h+(k|12)>>2]=b;f=f+4|0;e=B(B(B(B(b,e),b),b),b);c=c-4|0;if(c){continue}break}}if(g){while(1){v[(j+(f<<2)|0)+32>>2]=b;f=f+1|0;e=B(b,e);g=g-1|0;if(g){continue}break}}i=i-1|0;m:{if(v[a+44>>2]!=2){g=j+32|0;b=v[g>>2];h=b+1|0;c=B(h,(e|0)/(b|0)|0);if((d|0)<(c|0)){break k}f=0;b=g;break m}g=j+36|0;b=v[g>>2];h=b+1|0;c=B(h,(e|0)/(b|0)|0);if((d|0)<(c|0)){break k}f=0;b=g;while(1){e=c;v[b>>2]=h;if((f|0)!=(i|0)){f=f+1|0;b=(j+(v[(f<<2)+71600>>2]<<2)|0)+32|0;c=v[b>>2];h=c+1|0;c=B(h,(e|0)/(c|0)|0);if((d|0)>=(c|0)){continue}}f=0;b=g;c=v[b>>2];h=c+1|0;c=B(h,(e|0)/(c|0)|0);if((d|0)>=(c|0)){continue}break}break k}while(1){e=c;v[b>>2]=h;if((f|0)!=(i|0)){f=f+1|0;b=(j+(f<<2)|0)+32|0;c=v[b>>2];h=c+1|0;c=B(h,(e|0)/(c|0)|0);if((d|0)>=(c|0)){continue}}f=0;b=g;c=v[b>>2];h=c+1|0;c=B(h,(e|0)/(c|0)|0);if((d|0)>=(c|0)){continue}break}}c=v[a+120>>2];b=v[a>>2];v[b+24>>2]=e;n:{if((c|0)==3){v[b+28>>2]=v[j+32>>2];v[b+32>>2]=v[j+36>>2];v[b+36>>2]=v[j+40>>2];h=96;c=b;break n}h=97;c=v[a>>2]}v[b+20>>2]=h;Ub[v[c+4>>2]](a,1);q=Ub[v[v[a+4>>2]+8>>2]](a,1,e,v[a+120>>2])|0;f=v[a+120>>2];if((f|0)>=1){b=e;while(1){c=b;d=r<<2;m=v[(d+j|0)+32>>2];b=(b|0)/(m|0)|0;s=m-1|0;w=(s|0)/2|0;if(!((m|0)<1|(b|0)<1)){n=d+q|0;g=b&-4;i=b&3;o=b-1|0;k=0;while(1){p=(B(k,255)+w|0)/(s|0)|0;h=B(b,k);if((h|0)<(e|0)){while(1){f=0;d=g;if(o>>>0>=3){while(1){t[v[n>>2]+(f+h|0)|0]=p;t[v[n>>2]+((f|1)+h|0)|0]=p;t[v[n>>2]+((f|2)+h|0)|0]=p;t[v[n>>2]+((f|3)+h|0)|0]=p;f=f+4|0;d=d-4|0;if(d){continue}break}}d=i;if(d){while(1){t[v[n>>2]+(f+h|0)|0]=p;f=f+1|0;d=d-1|0;if(d){continue}break}}h=c+h|0;if((h|0)<(e|0)){continue}break}}k=k+1|0;if((m|0)!=(k|0)){continue}break}f=v[a+120>>2]}r=r+1|0;if((r|0)<(f|0)){continue}break}}v[j+20>>2]=e;v[j+16>>2]=q;HZ(a);if(!(v[a+88>>2]!=2|v[a+120>>2]<1)){b=(v[a+112>>2]<<1)+4|0;c=v[a+480>>2];f=0;while(1){x=c+(f<<2)|0,y=Ub[v[v[a+4>>2]+4>>2]](a,1,b)|0,v[x+68>>2]=y;f=f+1|0;if((f|0)>2]){continue}break}}v[l+20>>2]=v[a+480>>2]}if(!(v[a+104>>2]?1:v[a+108>>2])){break h}e=0;b=Ub[v[v[a+4>>2]>>2]](a,1,44)|0;v[a+480>>2]=b;v[b+40>>2]=0;v[b+32>>2]=0;v[b+12>>2]=200;v[b>>2]=201;if(v[a+120>>2]!=3){c=v[a>>2];v[c+20>>2]=48;Ub[v[c>>2]](a)}x=b,y=Ub[v[v[a+4>>2]>>2]](a,1,128)|0,v[x+24>>2]=y;while(1){c=Ub[v[v[a+4>>2]+4>>2]](a,1,4096)|0;d=e<<2;v[d+v[b+24>>2]>>2]=c;c=Ub[v[v[a+4>>2]+4>>2]](a,1,4096)|0;v[v[b+24>>2]+(d|4)>>2]=c;e=e+2|0;if((e|0)!=32){continue}break}v[b+28>>2]=1;o:{if(v[a+108>>2]){e=8;c=58;d=v[a+96>>2];p:{if((d|0)>=8){if((d|0)<257){break p}e=256;c=59}g=v[a>>2];v[g+24>>2]=e;v[g+20>>2]=c;Ub[v[v[a>>2]>>2]](a)}c=Ub[v[v[a+4>>2]+8>>2]](a,1,d,3)|0;v[b+20>>2]=d;v[b+16>>2]=c;break o}v[b+16>>2]=0}if(v[a+88>>2]){v[a+88>>2]=2;x=b,y=Ub[v[v[a+4>>2]+4>>2]](a,1,B(v[a+112>>2],6)+12|0)|0,v[x+32>>2]=y;sZ(a)}v[l+24>>2]=v[a+480>>2]}if(!v[a+68>>2]){q:{if(v[l+16>>2]){f=Ub[v[v[a+4>>2]>>2]](a,1,48)|0;v[a+472>>2]=f;v[f+8>>2]=0;v[f>>2]=207;b=B(v[a+120>>2],v[a+112>>2]);v[f+40>>2]=b;r:{if(v[a+316>>2]==2){v[f+12>>2]=208;v[f+4>>2]=209;x=f,y=Ub[v[v[a+4>>2]+4>>2]](a,1,b)|0,v[x+32>>2]=y;f=v[a+472>>2];break r}v[f+32>>2]=0;v[f+12>>2]=210;v[f+4>>2]=211}x=f,y=Ub[v[v[a+4>>2]>>2]](a,1,1024)|0,v[x+16>>2]=y;x=f,y=Ub[v[v[a+4>>2]>>2]](a,1,1024)|0,v[x+20>>2]=y;x=f,y=Ub[v[v[a+4>>2]>>2]](a,1,1024)|0,v[x+24>>2]=y;c=Ub[v[v[a+4>>2]>>2]](a,1,1024)|0;v[f+28>>2]=c;e=v[f+24>>2];d=v[f+20>>2];i=v[f+16>>2];f=0;g=-128;while(1){b=f<<2;v[b+i>>2]=B(g,91881)+32768>>16;v[b+d>>2]=B(g,116130)+32768>>16;v[b+e>>2]=B(g,-46802);v[b+c>>2]=B(g,-22554)+32768;g=g+1|0;f=f+1|0;if((f|0)!=256){continue}break}break q}b=Ub[v[v[a+4>>2]>>2]](a,1,24)|0;v[a+476>>2]=b;v[b>>2]=212;s:{t:{u:{switch(v[a+40>>2]-1|0){case 0:if(v[a+36>>2]!=1){break t}break s;case 1:case 2:if(v[a+36>>2]!=3){break t}break s;case 3:case 4:if(v[a+36>>2]!=4){break t}break s;default:break u}}if(v[a+36>>2]>0){break s}}c=v[a>>2];v[c+20>>2]=11;Ub[v[c>>2]](a)}v:{w:{x:{y:{z:{c=v[a+44>>2];switch(c-1|0){case 3:break x;case 1:break y;case 0:break z;default:break w}}v[a+120>>2]=1;A:{switch(v[a+40>>2]-1|0){case 0:case 2:v[b+4>>2]=213;c=v[a+36>>2];if((c|0)<2){break v}e=c-1|0;f=e&7;d=v[a+216>>2];b=1;if(c-2>>>0>=7){c=e&-8;while(1){e=d+B(b,88)|0;v[e+52>>2]=0;v[e+140>>2]=0;v[e+228>>2]=0;v[e+316>>2]=0;v[e+404>>2]=0;v[e+492>>2]=0;v[e+580>>2]=0;v[e+668>>2]=0;b=b+8|0;c=c-8|0;if(c){continue}break}}if(!f){break v}while(1){v[(d+B(b,88)|0)+52>>2]=0;b=b+1|0;f=f-1|0;if(f){continue}break};break v;default:break A}}b=v[a>>2];v[b+20>>2]=28;Ub[v[b>>2]](a);break v}v[a+120>>2]=3;B:{switch(v[a+40>>2]-1|0){case 2:v[b+4>>2]=214;b=v[a+476>>2];x=b,y=Ub[v[v[a+4>>2]>>2]](a,1,1024)|0,v[x+8>>2]=y;x=b,y=Ub[v[v[a+4>>2]>>2]](a,1,1024)|0,v[x+12>>2]=y;x=b,y=Ub[v[v[a+4>>2]>>2]](a,1,1024)|0,v[x+16>>2]=y;e=Ub[v[v[a+4>>2]>>2]](a,1,1024)|0;v[b+20>>2]=e;d=v[b+16>>2];g=v[b+12>>2];i=v[b+8>>2];f=0;b=-128;while(1){c=f<<2;v[c+i>>2]=B(b,91881)+32768>>16;v[c+g>>2]=B(b,116130)+32768>>16;v[c+d>>2]=B(b,-46802);v[c+e>>2]=B(b,-22554)+32768;b=b+1|0;f=f+1|0;if((f|0)!=256){continue}break};break v;case 0:v[b+4>>2]=215;break v;case 1:v[b+4>>2]=216;break v;default:break B}}b=v[a>>2];v[b+20>>2]=28;Ub[v[b>>2]](a);break v}v[a+120>>2]=4;C:{switch(v[a+40>>2]-4|0){case 1:v[b+4>>2]=217;b=v[a+476>>2];x=b,y=Ub[v[v[a+4>>2]>>2]](a,1,1024)|0,v[x+8>>2]=y;x=b,y=Ub[v[v[a+4>>2]>>2]](a,1,1024)|0,v[x+12>>2]=y;x=b,y=Ub[v[v[a+4>>2]>>2]](a,1,1024)|0,v[x+16>>2]=y;e=Ub[v[v[a+4>>2]>>2]](a,1,1024)|0;v[b+20>>2]=e;d=v[b+16>>2];g=v[b+12>>2];i=v[b+8>>2];f=0;b=-128;while(1){c=f<<2;v[c+i>>2]=B(b,91881)+32768>>16;v[c+g>>2]=B(b,116130)+32768>>16;v[c+d>>2]=B(b,-46802);v[c+e>>2]=B(b,-22554)+32768;b=b+1|0;f=f+1|0;if((f|0)!=256){continue}break};break v;case 0:v[b+4>>2]=216;break v;default:break C}}b=v[a>>2];v[b+20>>2]=28;Ub[v[b>>2]](a);break v}if((c|0)==v[a+40>>2]){v[a+120>>2]=v[a+36>>2];v[b+4>>2]=216;break v}b=v[a>>2];v[b+20>>2]=28;Ub[v[b>>2]](a)}v[a+124>>2]=v[a+84>>2]?1:v[a+120>>2];c=0;b=Ub[v[v[a+4>>2]>>2]](a,1,160)|0;v[a+472>>2]=b;v[b+8>>2]=0;v[b+4>>2]=218;v[b>>2]=219;if(v[a+304>>2]){e=v[a>>2];v[e+20>>2]=26;Ub[v[e>>2]](a)}if(v[a+36>>2]>=1){h=b+12|0;j=b+150|0;n=b+140|0;e=b+52|0;p=b+100|0;k=v[a+216>>2];while(1){d=v[a+316>>2];f=v[a+312>>2];i=v[a+320>>2];m=v[k+36>>2];q=v[k+8>>2];b=c<<2;g=(B(v[k+40>>2],v[k+12>>2])|0)/v[a+324>>2]|0;v[b+p>>2]=g;i=(B(m,q)|0)/(i|0)|0;D:{if(!v[k+52>>2]){v[b+e>>2]=220;break D}if(!((f|0)!=(i|0)|(d|0)!=(g|0))){v[b+e>>2]=221;break D}m=(f|0)!=i<<1;E:{if(!(m|(d|0)!=(g|0))){v[b+e>>2]=222;break E}if(!((d|0)!=g<<1|m)){v[b+e>>2]=223;break E}F:{o=f;f=(f|0)/(i|0)|0;if(o-B(f,i)|0){break F}o=d;d=(d|0)/(g|0)|0;if(o-B(d,g)|0){break F}v[b+e>>2]=224;t[c+n|0]=f;t[c+j|0]=d;break E}d=v[a>>2];v[d+20>>2]=39;Ub[v[d>>2]](a)}g=b+h|0;b=v[a+312>>2];d=(b+v[a+112>>2]|0)-1|0;x=g,y=Ub[v[v[a+4>>2]+8>>2]](a,1,d-((d|0)%(b|0)|0)|0,v[a+316>>2])|0,v[x>>2]=y}k=k+88|0;c=c+1|0;if((c|0)>2]){continue}break}}}d=v[a+108>>2];b=Ub[v[v[a+4>>2]>>2]](a,1,28)|0;v[a+452>>2]=b;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=225;if(v[a+84>>2]){G:{c=v[a+316>>2];v[b+16>>2]=c;e=v[a+4>>2];if(d){d=(c+v[a+116>>2]|0)-1|0;x=b,y=Ub[v[e+16>>2]](a,1,0,B(v[a+120>>2],v[a+112>>2]),d-((d|0)%(c|0)|0)|0,v[b+16>>2])|0,v[x+8>>2]=y;break G}x=b,y=Ub[v[e+8>>2]](a,1,B(v[a+120>>2],v[a+112>>2]),c)|0,v[x+12>>2]=y}}}d=0;b=Ub[v[v[a+4>>2]>>2]](a,1,84)|0;v[a+468>>2]=b;v[b>>2]=229;if(v[a+36>>2]>=1){b=b+44|0;c=v[a+216>>2];while(1){e=Ub[v[v[a+4>>2]>>2]](a,1,256)|0;v[c+84>>2]=e;ic(e,0,256);v[b+(d<<2)>>2]=-1;c=c+88|0;d=d+1|0;if((d|0)>2]){continue}break}}H:{if(v[a+228>>2]){c=0;b=Ub[v[v[a+4>>2]>>2]](a,1,188)|0;v[a+464>>2]=b;v[b>>2]=261;ic(b+56|0,0,128);t[b+184|0]=113;I:{if(!v[a+224>>2]){break I}b=Ub[v[v[a+4>>2]>>2]](a,1,v[a+36>>2]<<8)|0;v[a+160>>2]=b;if(v[a+36>>2]<1){break I}while(1){b=ic(b,255,256)+256|0;c=c+1|0;if((c|0)>2]){continue}break}}break H}c=0;e=Ub[v[v[a+4>>2]>>2]](a,1,216)|0;v[a+464>>2]=e;v[e>>2]=267;J:{if(!v[a+224>>2]){v[e+64>>2]=0;v[e+68>>2]=0;v[e+88>>2]=0;v[e+92>>2]=0;v[e+80>>2]=0;v[e+84>>2]=0;v[e+72>>2]=0;v[e+76>>2]=0;break J}b=Ub[v[v[a+4>>2]>>2]](a,1,v[a+36>>2]<<8)|0;v[a+160>>2]=b;if(v[a+36>>2]>=1){while(1){b=ic(b,255,256)+256|0;c=c+1|0;if((c|0)>2]){continue}break}}v[e+44>>2]=0;v[e+48>>2]=0;v[e+52>>2]=0;v[e+56>>2]=0}}c=v[v[a+456>>2]+16>>2]?1:v[a+64>>2]!=0;d=0;b=Ub[v[v[a+4>>2]>>2]](a,1,116)|0;v[a+448>>2]=b;v[b+112>>2]=0;v[b+8>>2]=274;v[b>>2]=275;K:{if(c){e=b+72|0;if(v[a+36>>2]>=1){g=v[a+216>>2];while(1){c=v[g+8>>2];f=(c+v[g+28>>2]|0)-1|0;o=f-((f|0)%(c|0)|0)|0;c=v[g+12>>2];f=(c+v[g+32>>2]|0)-1|0;x=e+(d<<2)|0,y=Ub[v[v[a+4>>2]+20>>2]](a,1,1,o,f-((f|0)%(c|0)|0)|0,v[a+224>>2]?B(c,3):c)|0,v[x>>2]=y;g=g+88|0;d=d+1|0;if((d|0)>2]){continue}break}}v[b+16>>2]=e;v[b+12>>2]=276;v[b+4>>2]=277;break K}c=Ub[v[v[a+4>>2]+4>>2]](a,1,1280)|0;v[b+32>>2]=c;v[b+16>>2]=0;v[b+12>>2]=278;v[b+4>>2]=279;v[b+68>>2]=c+1152;v[b+64>>2]=c+1024;v[b+60>>2]=c+896;v[b+56>>2]=c+768;v[b+52>>2]=c+640;v[b+48>>2]=c+512;v[b+44>>2]=c+384;v[b+40>>2]=c+256;v[b+36>>2]=c+128}if(!v[a+68>>2]){b=0;f=Ub[v[v[a+4>>2]>>2]](a,1,80)|0;v[a+444>>2]=f;v[f>>2]=177;c=v[a+324>>2];L:{if(v[v[a+472>>2]+8>>2]){if((c|0)<=1){c=v[a>>2];v[c+20>>2]=48;Ub[v[c>>2]](a);c=v[a+324>>2]}g=v[a+444>>2];d=Ub[v[v[a+4>>2]>>2]](a,1,v[a+36>>2]<<3)|0;v[g+56>>2]=d;e=v[a+36>>2];v[g+60>>2]=d+(e<<2);if((e|0)>=1){c=c+4|0;d=v[a+216>>2];while(1){e=(B(v[d+40>>2],v[d+12>>2])|0)/v[a+324>>2]|0;i=B(e,c);h=Ub[v[v[a+4>>2]>>2]](a,1,i<<3)|0;j=b<<2;e=h+(e<<2)|0;v[j+v[g+56>>2]>>2]=e;v[j+v[g+60>>2]>>2]=e+(i<<2);d=d+88|0;b=b+1|0;e=v[a+36>>2];if((b|0)<(e|0)){continue}break}}c=v[a+324>>2];g=c+2|0;break L}e=v[a+36>>2];g=c}M:{if((e|0)<1){break M}e=f+8|0;d=v[a+216>>2];b=0;while(1){x=e+(b<<2)|0,y=Ub[v[v[a+4>>2]+8>>2]](a,1,B(v[d+36>>2],v[d+28>>2]),B(g,(B(v[d+40>>2],v[d+12>>2])|0)/(c|0)|0))|0,v[x>>2]=y;b=b+1|0;if((b|0)>=v[a+36>>2]){break M}d=d+88|0;c=v[a+324>>2];continue}}}Ub[v[v[a+4>>2]+24>>2]](a);Ub[v[v[a+456>>2]+8>>2]](a);b=v[a+8>>2];if(!(!v[v[a+456>>2]+16>>2]|(v[a+64>>2]|!b))){e=v[a+224>>2];c=v[a+36>>2];v[b+4>>2]=0;d=v[a+328>>2];v[b+12>>2]=0;v[b+8>>2]=B(d,e?B(c,3)+2|0:c);v[b+16>>2]=v[a+108>>2]?3:2;v[l+12>>2]=v[l+12>>2]+1}b=207;if(v[a+64>>2]){break b}v[a+20>>2]=203}N:{if(!v[v[a+456>>2]+16>>2]){break N}b=v[a+8>>2];while(1){if(b){Ub[v[b>>2]](a)}O:{c=Ub[v[v[a+456>>2]>>2]](a)|0;switch(c|0){case 0:break a;case 2:break N;default:break O}}b=v[a+8>>2];if(!b|(c&-3)!=1){continue}c=v[b+4>>2]+1|0;v[b+4>>2]=c;g=c;c=v[b+8>>2];if((g|0)<(c|0)){continue}v[b+8>>2]=c+v[a+328>>2];continue}}v[a+152>>2]=v[a+144>>2];break d}c=v[a>>2];v[c+24>>2]=b;v[c+20>>2]=21;Ub[v[v[a>>2]>>2]](a)}if(v[a+20>>2]==204){break c}Ub[v[v[a+440>>2]>>2]](a);v[a+20>>2]=204;v[a+140>>2]=0}if(v[v[a+440>>2]+8>>2]){d=a+140|0;b=v[d>>2];while(1){e=v[a+116>>2];if(e>>>0>b>>>0){c=v[a+8>>2];if(c){v[c+8>>2]=e;v[c+4>>2]=b;Ub[v[c>>2]](a);b=v[a+140>>2]}c=0;Ub[v[v[a+444>>2]+4>>2]](a,0,d,0);e=b;b=v[a+140>>2];if((e|0)!=(b|0)){continue}break a}Ub[v[v[a+440>>2]+4>>2]](a);Ub[v[v[a+440>>2]>>2]](a);b=0;v[a+140>>2]=0;if(v[v[a+440>>2]+8>>2]){continue}break}}b=v[a+68>>2]?206:205}v[u+20>>2]=b;c=1}return c|0}function hqa(a,b){a=a|0;b=b|0;var 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;e=Qb-1120|0;Qb=e;m=v[b>>2];f=a+12|0;Cp(f);q=a+28|0;Vk(q,0,-1);n=a+52|0;mx(n);o=a+80|0;mx(o);p=a+108|0;mx(p);a:{b:{c:{c=xr(m);l=c&127;if(l>>>0>=2){v[299999]=0;h=Q(4545,e+1080|0,1)|0;a=v[299999];v[299999]=0;if((a|0)==1){break b}v[299999]=0;U(4423,e+1088|0,357692,h|0);a=v[299999];v[299999]=0;d:{e:{f:{g:{h:{i:{j:{k:{l:{if((a|0)!=1){v[299999]=0;U(4546,e+1024|0,e+1088|0,358459);a=v[299999];v[299999]=0;if((a|0)==1){break l}v[299999]=0;f=Q(4545,e+1072|0,l|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break k}v[299999]=0;U(4547,e+1096|0,e+1024|0,f|0);a=v[299999];v[299999]=0;if((a|0)==1){break j}a=v[e+1096>>2];a=v[(a?a+12|0:1129608)>>2];v[299999]=0;b=aa(4369,e|0,a|0,241263,238,344604,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break i}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break h}break c}a=P()|0;O()|0;ec(h);T(a|0);L()}c=P()|0;O()|0;break d}c=P()|0;O()|0;break e}c=P()|0;O()|0;break f}c=P()|0;O()|0;break g}c=P()|0;O()|0;qc(b)}ec(e+1096|0)}ec(f)}ec(e+1024|0)}ec(e+1088|0);ec(h);T(c|0);L()}m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{k=Cj(m);H:{if(!k){break H}I:{if((k|0)<=0){break I}j=c&128;while(1){v[299999]=0;g=S(1,60)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}v[g+20>>2]=0;v[g>>2]=982652;v[g+4>>2]=0;v[g+8>>2]=0;v[g+12>>2]=0;t[g+16|0]=0;c=v[282402];v[g+56>>2]=-1;t[g+52|0]=0;v[g+48>>2]=c;v[g+44>>2]=0;v[g+40>>2]=c;v[g+36>>2]=0;v[g+32>>2]=c;v[g+28>>2]=0;v[g+24>>2]=c;v[299999]=0;v[e+1096>>2]=0;Q(4336,e+1096|0,g|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}v[299999]=0;g=S(1,12)|0;c=v[299999];v[299999]=0;if((c|0)==1){break n}v[g>>2]=0;v[g+4>>2]=0;v[g+8>>2]=0;c=g;i=v[e+1096>>2];if(i){v[299999]=0;v[i+4>>2]=v[i+4>>2]+1;i=v[299999];v[299999]=0;if((i|0)==1){break n}d=v[e+1096>>2]}else{d=0}v[c+8>>2]=d;v[299999]=0;Le(f,g);c=v[299999];v[299999]=0;if((c|0)==1){break n}J:{K:{if(j){v[299999]=0;c=S(4548,m|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break n}d=v[e+1096>>2];v[d+8>>2]=c;if(!l){v[299999]=0;g=S(4549,m|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break n}d=v[e+1096>>2];v[d+12>>2]=g;c=v[d+8>>2]}if(c){break K}v[299999]=0;b=aa(4369,e|0,233626,241263,259,344604,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break J}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break c}d=P()|0;O()|0;qc(b);break m}d=v[e+1096>>2];v[d+8>>2]=0;v[d+12>>2]=0}v[299999]=0;v[e+1096>>2]=0;g=v[d+4>>2]-1|0;v[d+4>>2]=g;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(!g){v[299999]=0;R(4338,d|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}h=h+1|0;if((k|0)!=(h|0)){continue}break I}break}d=P()|0;O()|0;break m}d=0;c=v[b>>2];if(c){v[299999]=0;v[c+4>>2]=v[c+4>>2]+1;c=v[299999];v[299999]=0;if((c|0)==1){break b}d=v[b>>2]}v[299999]=0;v[e+1064>>2]=d;V(4550,e+1080|0,e+1064|0);b=v[299999];v[299999]=0;L:{M:{N:{O:{P:{if((b|0)!=1){h=v[e+1064>>2];v[e+1064>>2]=0;Q:{if(!h){break Q}v[299999]=0;c=v[h+4>>2]-1|0;v[h+4>>2]=c;b=v[299999];v[299999]=0;if((b|0)==1){break a}if(c){break Q}v[299999]=0;R(4338,h|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}j=v[e+1080>>2];R:{if(!l){break R}h=v[a+20>>2];if(!h){break R}b=v[e+1060>>2];c=v[e+1056>>2];while(1){v[299999]=0;i=S(4549,j|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break O}v[v[h+8>>2]+12>>2]=i;b=f;c=h;h=v[c>>2];if(h){continue}break}v[e+1060>>2]=f;v[e+1056>>2]=c}h=v[a+20>>2];if(h){b=v[e+1052>>2];c=v[e+1048>>2];while(1){v[299999]=0;i=S(4551,j|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break P}t[v[h+8>>2]+52|0]=i;b=f;c=h;h=v[c>>2];if(h){continue}break}v[e+1052>>2]=f;v[e+1048>>2]=c}S:{if(l){break S}d=v[a+20>>2];if(!d){break S}while(1){b=v[d+8>>2];c=w[b+52|0];t[b+52|0]=c<<4&64|(c<<6&128|c&1);d=v[d>>2];if(d){continue}break}}v[299999]=0;h=e+1024|0;v[h+20>>2]=-1;v[h+12>>2]=-1;v[h+16>>2]=0;v[h+4>>2]=0;v[h+8>>2]=0;v[h>>2]=982688;b=v[299999];v[299999]=0;if((b|0)==1){break N}while(1){b=v[v[j>>2]+8>>2];v[299999]=0;f=Y(b|0,j|0,e|0,1024)|0;b=v[299999];v[299999]=0;if((b|0)==1){break G}if(!f){break L}v[299999]=0;c=(v[e+1044>>2]-v[e+1040>>2]|0)+1|0;U(4553,h|0,0,(c+f|0)-1|0);b=v[299999];v[299999]=0;if((b|0)==1){break M}gc(c+(v[e+1028>>2]-v[e+1032>>2]|0)|0,e,f);continue}}a=P()|0;O()|0;ec(e+1064|0);T(a|0);L()}d=P()|0;O()|0;v[e+1052>>2]=b;v[e+1048>>2]=c;break o}d=P()|0;O()|0;v[e+1060>>2]=b;v[e+1056>>2]=c;break o}d=P()|0;O()|0;break o}d=P()|0;O()|0;break p}d=0;b=v[a+20>>2];T:{if(!b){break T}c=v[e+1028>>2]-v[e+1032>>2]|0;while(1){d=0;U:{V:{W:{X:{f=v[b+8>>2];if(f){v[299999]=0;v[f+4>>2]=v[f+4>>2]+1;f=v[299999];v[299999]=0;if((f|0)==1){break X}d=v[b+8>>2]}v[299999]=0;v[e+1088>>2]=d;i=d+36|0;Q(4433,i|0,c|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break r}g=v[d+36>>2];Y:{if(g){j=d+52|0;c=(v[g+8>>2]+c|0)+1|0;if(t[d+52|0]<=-1){break Y}f=v[v[g>>2]+28>>2];v[299999]=0;U(f|0,e+1096|0,g|0,1);f=v[299999];v[299999]=0;if((f|0)!=1){break V}break r}j=d+52|0;c=c+1|0;if(t[d+52|0]>-1){break W}}v[299999]=0;Q(4433,d+20|0,c|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break r}f=v[d+20>>2];if(f){f=v[f+8>>2]}else{f=0}c=(f+c|0)+1|0;break U}d=P()|0;O()|0;break p}v[e+1096>>2]=0}v[299999]=0;Q(4344,d+20|0,e+1096|0)|0;f=v[299999];v[299999]=0;Z:{if((f|0)!=1){k=v[e+1096>>2];v[e+1096>>2]=0;if(!k){break Z}v[299999]=0;f=v[k+4>>2]-1|0;v[k+4>>2]=f;g=v[299999];v[299999]=0;if((g|0)!=1){if(f){break Z}v[299999]=0;R(4338,k|0);f=v[299999];v[299999]=0;if((f|0)!=1){break Z}}break a}d=P()|0;O()|0;c=v[e+1096>>2];v[e+1096>>2]=0;if(!c){break q}v[299999]=0;a=v[c+4>>2]-1|0;v[c+4>>2]=a;b=v[299999];v[299999]=0;if((b|0)!=1){if(a){break q}v[299999]=0;R(4338,c|0);a=v[299999];v[299999]=0;if((a|0)!=1){break q}}break a}f=v[d+20>>2];v[d+24>>2]=v[(f?f+12|0:1129608)>>2]}_:{if(w[j|0]&64){v[299999]=0;Q(4433,d+44|0,c|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break r}f=v[d+44>>2];if(f){f=v[f+8>>2]}else{f=0}c=(f+c|0)+1|0;break _}v[299999]=0;Q(4535,d+44|0,i|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break r}}v[299999]=0;g=v[d+4>>2]-1|0;v[d+4>>2]=g;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(!g){v[299999]=0;R(4338,d|0);f=v[299999];v[299999]=0;if((f|0)==1){break a}}b=v[b>>2];if(b){continue}break}d=0;b=v[a+20>>2];if(!b){break T}c=b;while(1){d=((w[v[c+8>>2]+52|0]&63)==3)+d|0;c=v[c>>2];if(c){continue}break}if(d>>>0>1){break s}d=0;if(!b){break T}while(1){d=((w[v[b+8>>2]+52|0]&63)==1)+d|0;b=v[b>>2];if(b){continue}break}}v[299999]=0;U(4553,q|0,0,d-1|0);b=v[299999];v[299999]=0;if((b|0)==1){break t}c=v[a+20>>2];$:{if(!c){break $}b=0;while(1){d=0;aa:{ba:{ca:{da:{ea:{f=v[c+8>>2];if(f){v[299999]=0;v[f+4>>2]=v[f+4>>2]+1;f=v[299999];v[299999]=0;if((f|0)==1){break ea}d=v[c+8>>2]}v[e+1088>>2]=d;if((w[d+52|0]&63)==1){if(!(v[a+44>>2]<=(b|0)&v[a+48>>2]>=(b|0))){v[299999]=0;b=aa(4369,e+1096|0,227445,271729,619,308557,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break ca}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break c}d=P()|0;O()|0;qc(b);break ba}g=v[a+32>>2];f=v[a+36>>2];v[299999]=0;Q(4344,g+(b-f<<2)|0,e+1088|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break da}d=v[e+1088>>2];v[d+56>>2]=b;b=b+1|0}v[e+1088>>2]=0;if(!d){break aa}v[299999]=0;f=v[d+4>>2]-1|0;v[d+4>>2]=f;g=v[299999];v[299999]=0;if((g|0)!=1){if(f){break aa}v[299999]=0;R(4338,d|0);f=v[299999];v[299999]=0;if((f|0)!=1){break aa}}break a}d=P()|0;O()|0;break p}d=P()|0;O()|0;break ba}d=P()|0;O()|0}ec(e+1088|0);break p}c=v[c>>2];if(c){continue}break}b=v[a+20>>2];if(!b){break $}while(1){d=0;c=v[b+8>>2];if(c){v[299999]=0;v[c+4>>2]=v[c+4>>2]+1;c=v[299999];v[299999]=0;if((c|0)==1){break w}d=v[b+8>>2]}v[299999]=0;v[e+1072>>2]=d;g=d+20|0;i=Fe(g);c=v[299999];v[299999]=0;if((c|0)==1){break y}v[299999]=0;d=v[v[n+12>>2]+((i>>>0)%y[n+8>>2]<<2)>>2];c=v[299999];v[299999]=0;if((c|0)==1){break y}if(d){while(1){if((i|0)==v[d+12>>2]){v[299999]=0;f=Y(4541,d+16|0,g|0,-1)|0;c=v[299999];v[299999]=0;if((c|0)==1){break x}if(!f){break v}}d=v[d+8>>2];if(d){continue}break}}v[299999]=0;f=Q(4555,n|0,v[e+1072>>2]+20|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break z}v[299999]=0;Q(4344,f+24|0,e+1072|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break z}g=v[e+1072>>2];v[e+1072>>2]=0;fa:{if(!g){break fa}v[299999]=0;c=v[g+4>>2]-1|0;v[g+4>>2]=c;f=v[299999];v[299999]=0;if((f|0)!=1){if(c){break fa}v[299999]=0;R(4338,g|0);c=v[299999];v[299999]=0;if((c|0)!=1){break fa}}break a}b=v[b>>2];if(b){continue}break}b=v[a+20>>2];if(!b){break $}while(1){d=0;c=v[b+8>>2];if(c){v[299999]=0;v[c+4>>2]=v[c+4>>2]+1;c=v[299999];v[299999]=0;if((c|0)==1){break C}d=v[b+8>>2]}v[299999]=0;v[e+1072>>2]=d;g=d+36|0;i=Fe(g);c=v[299999];v[299999]=0;if((c|0)==1){break E}v[299999]=0;d=v[v[o+12>>2]+((i>>>0)%y[o+8>>2]<<2)>>2];c=v[299999];v[299999]=0;if((c|0)==1){break E}if(d){while(1){if((i|0)==v[d+12>>2]){v[299999]=0;f=Y(4541,d+16|0,g|0,-1)|0;c=v[299999];v[299999]=0;if((c|0)==1){break D}if(!f){break B}}d=v[d+8>>2];if(d){continue}break}}v[299999]=0;f=Q(4555,o|0,v[e+1072>>2]+36|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break F}v[299999]=0;Q(4344,f+24|0,e+1072|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break F}g=v[e+1072>>2];v[e+1072>>2]=0;ga:{if(!g){break ga}v[299999]=0;c=v[g+4>>2]-1|0;v[g+4>>2]=c;f=v[299999];v[299999]=0;if((f|0)!=1){if(c){break ga}v[299999]=0;R(4338,g|0);c=v[299999];v[299999]=0;if((c|0)!=1){break ga}}break a}b=v[b>>2];if(b){continue}break}a=v[a+20>>2];if(!a){break $}while(1){b=v[a+8>>2];v[299999]=0;v[b+4>>2]=v[b+4>>2]+1;b=v[299999];v[299999]=0;ha:{ia:{ja:{ka:{la:{ma:{na:{oa:{if((b|0)!=1){d=v[a+8>>2];v[e+1072>>2]=d;pa:{b=v[d+44>>2];if(!(!b|!v[b+8>>2])){v[299999]=0;f=d+44|0;g=Fe(f);b=v[299999];v[299999]=0;if((b|0)==1){break na}v[299999]=0;d=v[v[p+12>>2]+((g>>>0)%y[p+8>>2]<<2)>>2];b=v[299999];v[299999]=0;if((b|0)==1){break na}if(d){while(1){if((g|0)==v[d+12>>2]){v[299999]=0;c=Y(4541,d+16|0,f|0,-1)|0;b=v[299999];v[299999]=0;if((b|0)==1){break oa}if(!c){break pa}}d=v[d+8>>2];if(d){continue}break}}v[299999]=0;c=Q(4555,p|0,v[e+1072>>2]+44|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break ja}v[299999]=0;Q(4344,c+24|0,e+1072|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break ja}d=v[e+1072>>2]}v[e+1072>>2]=0;if(!d){break ha}v[299999]=0;b=v[d+4>>2]-1|0;v[d+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break ha}v[299999]=0;R(4338,d|0);b=v[299999];v[299999]=0;if((b|0)!=1){break ha}}break a}v[299999]=0;U(4423,e+1088|0,358039,v[e+1072>>2]+44|0);a=v[299999];v[299999]=0;if((a|0)==1){break ma}a=v[e+1088>>2];a=v[(a?a+12|0:1129608)>>2];v[299999]=0;b=aa(4369,e+1096|0,a|0,241263,389,344604,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break la}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break c}d=P()|0;O()|0;qc(b);break ka}d=P()|0;O()|0;break p}d=P()|0;O()|0;break ia}d=P()|0;O()|0;break ia}d=P()|0;O()|0;break ia}d=P()|0;O()|0}ec(e+1088|0);break ia}d=P()|0;O()|0}ec(e+1072|0);break p}a=v[a>>2];if(a){continue}break}}fd(h);c=v[e+1080>>2];v[e+1080>>2]=0;if(!c){break H}v[299999]=0;b=v[c+4>>2]-1|0;v[c+4>>2]=b;a=v[299999];v[299999]=0;if((a|0)==1){break a}if(b){break H}v[299999]=0;R(4338,c|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Qb=e+1120|0;return}d=P()|0;O()|0;break p}d=P()|0;O()|0;break A}d=P()|0;O()|0;break A}d=P()|0;O()|0;break A}d=P()|0;O()|0;break p}v[299999]=0;U(4423,e+1088|0,358212,v[e+1072>>2]+36|0);a=v[299999];v[299999]=0;qa:{ra:{if((a|0)!=1){a=v[e+1088>>2];a=v[(a?a+12|0:1129608)>>2];v[299999]=0;b=aa(4369,e+1096|0,a|0,241263,378,344604,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break ra}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break c}d=P()|0;O()|0;qc(b);break qa}d=P()|0;O()|0;break A}d=P()|0;O()|0}ec(e+1088|0)}ec(e+1072|0);break p}d=P()|0;O()|0;break u}d=P()|0;O()|0;break u}d=P()|0;O()|0;break u}d=P()|0;O()|0;break p}v[299999]=0;U(4423,e+1088|0,357989,v[e+1072>>2]+20|0);a=v[299999];v[299999]=0;sa:{ta:{if((a|0)!=1){a=v[e+1088>>2];a=v[(a?a+12|0:1129608)>>2];v[299999]=0;b=aa(4369,e+1096|0,a|0,241263,369,344604,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break ta}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break c}d=P()|0;O()|0;qc(b);break sa}d=P()|0;O()|0;break u}d=P()|0;O()|0}ec(e+1088|0)}ec(e+1072|0);break p}d=P()|0;O()|0;break p}v[299999]=0;b=aa(4369,e+1096|0,227400,241263,345,344604,0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break c}d=P()|0;O()|0;qc(b);break p}d=P()|0;O()|0;break p}d=P()|0;O()|0}ec(e+1088|0)}fd(h)}ec(e+1080|0);T(d|0);L()}d=P()|0;O()|0}ec(e+1096|0);T(d|0);L()}L()}a=P()|0;O()|0;T(a|0);L()}W(0)|0;O()|0;lc();L()}function HA(a,b,c){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,p=0;v[a+980>>2]=0;e=v[a+20>>2];v[a+984>>2]=e-1;v[a+988>>2]=B(e,v[a+16>>2]);Ub[v[v[b>>2]+44>>2]](b,44)|0;e=v[a+392>>2];Ub[v[v[b>>2]+44>>2]](b,e&255)|0;Ub[v[v[b>>2]+44>>2]](b,e>>>8&255)|0;e=v[a+396>>2];Ub[v[v[b>>2]+44>>2]](b,e&255)|0;Ub[v[v[b>>2]+44>>2]](b,e>>>8&255)|0;e=v[a+16>>2];Ub[v[v[b>>2]+44>>2]](b,e&255)|0;Ub[v[v[b>>2]+44>>2]](b,e>>>8&255)|0;e=v[a+20>>2];Ub[v[v[b>>2]+44>>2]](b,e&255)|0;Ub[v[v[b>>2]+44>>2]](b,e>>>8&255)|0;Ub[v[v[b>>2]+44>>2]](b,(c?w[a+26|0]-1|128:0)&255)|0;a:{if(!c){break a}c=v[a+44>>2];if(!c){break a}e=v[a+4>>2];e=e?c?e+40|0:0:0;while(1){c=e+(h<<2)|0;Ub[v[v[b>>2]+44>>2]](b,w[c+2|0])|0;Ub[v[v[b>>2]+44>>2]](b,w[c+1|0])|0;Ub[v[v[b>>2]+44>>2]](b,w[c|0])|0;h=h+1|0;if(h>>>0>2]){continue}break}}c=x[a+26>>1];c=c>>>0>2?c:2;Ub[v[v[b>>2]+44>>2]](b,c&255)|0;b:{c:{switch(Fm(a,2)-1|0){case 0:v[a+1096>>2]=b;c=c+1|0;v[a+1092>>2]=c;v[a+1088>>2]=0;v[a+1080>>2]=c;v[a+992>>2]=0;v[a+996>>2]=0;v[a+1108>>2]=0;e=1<>2]=e;u[a+1084>>1]=-1<>2]=e+1;u[a+1086>>1]=e+2;c=v[a+988>>2];d:{if(c){v[a+988>>2]=c-1;c=yl(a,v[a+980>>2],v[a+984>>2]);e=v[a+980>>2]+1|0;v[a+980>>2]=e;if((e|0)==v[a+16>>2]){v[a+980>>2]=0;v[a+984>>2]=v[a+984>>2]-1}wm(a,u[a+1100>>1]);while(1){h=-1;e=v[a+988>>2];e:{if(!e){break e}v[a+988>>2]=e-1;h=yl(a,v[a+980>>2],v[a+984>>2]);e=v[a+980>>2]+1|0;v[a+980>>2]=e;if((e|0)!=v[a+16>>2]){break e}v[a+980>>2]=0;v[a+984>>2]=v[a+984>>2]-1}wm(a,c<<16>>16);c=u[a+1086>>1];f:{if((c|0)<=4095){u[a+1086>>1]=c+1;break f}v[a+1088>>2]=1;c=u[a+1100>>1];u[a+1086>>1]=c+2;wm(a,c)}c=h;if((c|0)!=-1){continue}break}break d}wm(a,u[a+1100>>1])}wm(a,u[a+1104>>1]);break b;case 1:d=Qb-336|0;Qb=d;v[a+1096>>2]=b;c=c+1|0;v[a+1092>>2]=c;g=1<>2]=g;v[d+28>>2]=c;v[d+24>>2]=c;h=0;v[d+8>>2]=0;v[d+32>>2]=0;v[d+328>>2]=0;v[d+16>>2]=0;v[d+20>>2]=1;v[d+68>>2]=c;v[d+64>>2]=g;v[d+60>>2]=g+1;e=g-1|0;v[d+40>>2]=e;v[d+4>>2]=g+2;v[d+52>>2]=4093-g;v[d+36>>2]=e;e=(c|0)<4?9:g-2|0;v[d+48>>2]=e;v[d+44>>2]=e;p=d+72|0;if((c|0)>=8){while(1){v[d+328>>2]=h+1;t[(d+h|0)+72|0]=g;h=v[d+328>>2];if((h|0)>=255){c=v[a+1096>>2];Ub[v[v[c>>2]+44>>2]](c,h&255)|0;c=v[a+1096>>2];Ub[v[v[c>>2]+16>>2]](c,p,1,v[d+328>>2])|0;v[d+328>>2]=0;h=0}g=v[d+64>>2]>>>8|0;v[d+64>>2]=g;c=v[d+68>>2];v[d+68>>2]=c-8;if((c|0)>15){continue}break}}while(1){c=v[a+988>>2];g:{if(!c){h=-1;break g}v[a+988>>2]=c-1;h=yl(a,v[a+980>>2],v[a+984>>2]);c=v[a+980>>2]+1|0;v[a+980>>2]=c;if((c|0)!=v[a+16>>2]){break g}v[a+980>>2]=0;v[a+984>>2]=v[a+984>>2]-1}g=v[d+8>>2];h:{if((g|0)<1){break h}c=v[d>>2];if((c|0)==(h|0)){break h}i:{if((g|0)==1){sn(a,c,d);break i}if(v[d+20>>2]){GA(a,g,d);break i}if(!((c|0)==v[d+12>>2]&v[d+16>>2]>=2)){j=0;f=1;e=w[d+52|0]|w[d+53|0]<<8|(w[d+54|0]<<16|w[d+55|0]<<24);i=B(e+1|0,e)>>>1|0;j:{if(i>>>0>g>>>0){c=g;break j}c=g;while(1){j=e+j|0;c=c-i|0;if(i>>>0<=c>>>0){continue}break}}i=c;e=c;k:{l:{m:{switch(c|0){case 0:break k;case 1:break l;default:break m}}while(1){f=f<<1;e=i>>>0>3;i=i>>>2|0;if(e){continue}break}while(1){e=f;f=e+((c>>>0)/(e>>>0)|0)>>>1|0;if((e|0)==(f|0)){break l}if((e+1|0)!=(f|0)){continue}break}}f=c<<1;while(1){c=e;e=c-1|0;if(f>>>0<=B(c+1|0,c)>>>0){continue}break}while(1){e=c;c=c+1|0;if(f>>>0>B(e,c)>>>0){continue}break}j=e+j|0}n:{if((j+1|0)>=(g|0)){if((g|0)<=0){break n}while(1){sn(a,w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24),d);c=(g|0)>1;g=g-1|0;if(c){continue}break}break n}e=w[d+68|0]|w[d+69|0]<<8|(w[d+70|0]<<16|w[d+71|0]<<24);c=e+(w[d+24|0]|w[d+25|0]<<8|(w[d+26|0]<<16|w[d+27|0]<<24))|0;t[d+68|0]=c;t[d+69|0]=c>>>8;t[d+70|0]=c>>>16;t[d+71|0]=c>>>24;e=w[d+64|0]|w[d+65|0]<<8|(w[d+66|0]<<16|w[d+67|0]<<24)|(w[d+56|0]|w[d+57|0]<<8|(w[d+58|0]<<16|w[d+59|0]<<24))<>>8;t[d+66|0]=e>>>16;t[d+67|0]=e>>>24;if((c|0)>=8){i=d+72|0;c=w[d+328|0]|w[d+329|0]<<8|(w[d+330|0]<<16|w[d+331|0]<<24);while(1){f=c+1|0;t[d+328|0]=f;t[d+329|0]=f>>>8;t[d+330|0]=f>>>16;t[d+331|0]=f>>>24;t[(c+d|0)+72|0]=e;c=w[d+328|0]|w[d+329|0]<<8|(w[d+330|0]<<16|w[d+331|0]<<24);if((c|0)>=255){e=v[a+1096>>2];Ub[v[v[e>>2]+44>>2]](e,c&255)|0;c=v[a+1096>>2];Ub[v[v[c>>2]+16>>2]](c,i,1,w[d+328|0]|w[d+329|0]<<8|(w[d+330|0]<<16|w[d+331|0]<<24))|0;t[d+328|0]=0;t[d+329|0]=0;t[d+330|0]=0;t[d+331|0]=0;c=0}e=(w[d+64|0]|w[d+65|0]<<8|(w[d+66|0]<<16|w[d+67|0]<<24))>>>8|0;t[d+64|0]=e;t[d+65|0]=e>>>8;t[d+66|0]=e>>>16;t[d+67|0]=e>>>24;j=w[d+68|0]|w[d+69|0]<<8|(w[d+70|0]<<16|w[d+71|0]<<24);f=j-8|0;t[d+68|0]=f;t[d+69|0]=f>>>8;t[d+70|0]=f>>>16;t[d+71|0]=f>>>24;if((j|0)>15){continue}break}}t[d+32|0]=0;t[d+33|0]=0;t[d+34|0]=0;t[d+35|0]=0;t[d+16|0]=0;t[d+17|0]=0;t[d+18|0]=0;t[d+19|0]=0;t[d+20|0]=1;t[d+21|0]=0;t[d+22|0]=0;t[d+23|0]=0;c=w[d+28|0]|w[d+29|0]<<8|(w[d+30|0]<<16|w[d+31|0]<<24);t[d+24|0]=c;t[d+25|0]=c>>>8;t[d+26|0]=c>>>16;t[d+27|0]=c>>>24;c=w[d+40|0]|w[d+41|0]<<8|(w[d+42|0]<<16|w[d+43|0]<<24);t[d+36|0]=c;t[d+37|0]=c>>>8;t[d+38|0]=c>>>16;t[d+39|0]=c>>>24;c=w[d+48|0]|w[d+49|0]<<8|(w[d+50|0]<<16|w[d+51|0]<<24);t[d+44|0]=c;t[d+45|0]=c>>>8;t[d+46|0]=c>>>16;t[d+47|0]=c>>>24;GA(a,g,d)}break i}k=0;l=w[d+52|0]|w[d+53|0]<<8|(w[d+54|0]<<16|w[d+55|0]<<24);o=w[d+16|0]|w[d+17|0]<<8|(w[d+18|0]<<16|w[d+19|0]<<24);n=(g|0)/(o|0)|0;i=g-B(n,o)|0;j=(i|0)!=0;c=w[d+32|0]|w[d+33|0]<<8|(w[d+34|0]<<16|w[d+35|0]<<24);o:{if((l|0)>=(j+(c+n|0)|0)){f=B(l+1|0,l)>>>1|0;break o}m=1;f=B(l+1|0,l)>>>1|0;n=l-c|0;i=g-B(o,n)|0;p:{if(f>>>0>i>>>0){c=i;break p}c=i;while(1){k=k+l|0;c=c-f|0;if(f>>>0<=c>>>0){continue}break}}j=c;e=c;q:{r:{s:{switch(c|0){case 0:break q;case 1:break r;default:break s}}while(1){m=m<<1;e=j>>>0>3;j=j>>>2|0;if(e){continue}break}while(1){e=m;m=e+((c>>>0)/(e>>>0)|0)>>>1|0;if((e|0)==(m|0)){break r}if((e+1|0)!=(m|0)){continue}break}}j=c<<1;while(1){c=e;e=c-1|0;if(j>>>0<=B(c+1|0,c)>>>0){continue}break}while(1){e=c;c=c+1|0;if(j>>>0>B(e,c)>>>0){continue}break}k=e+k|0}j=k+1|0}m=0;t:{if(f>>>0>g>>>0){c=g;break t}c=g;while(1){m=m+l|0;c=c-f|0;if(f>>>0<=c>>>0){continue}break}}e=1;k=c;f=c;u:{v:{w:{switch(c|0){case 0:break u;case 1:break v;default:break w}}while(1){e=e<<1;f=k>>>0>3;k=k>>>2|0;if(f){continue}break}while(1){f=e;e=e+((c>>>0)/(e>>>0)|0)>>>1|0;if((e|0)==(f|0)){break v}if((f+1|0)!=(e|0)){continue}break}}k=c<<1;while(1){c=f;f=c-1|0;if(k>>>0<=B(c+1|0,c)>>>0){continue}break}while(1){e=c;c=c+1|0;if(k>>>0>B(e,c)>>>0){continue}break}m=e+m|0}x:{if(m+1>>>0>>0){e=w[d+68|0]|w[d+69|0]<<8|(w[d+70|0]<<16|w[d+71|0]<<24);c=e+(w[d+24|0]|w[d+25|0]<<8|(w[d+26|0]<<16|w[d+27|0]<<24))|0;t[d+68|0]=c;t[d+69|0]=c>>>8;t[d+70|0]=c>>>16;t[d+71|0]=c>>>24;f=w[d+64|0]|w[d+65|0]<<8|(w[d+66|0]<<16|w[d+67|0]<<24)|(w[d+56|0]|w[d+57|0]<<8|(w[d+58|0]<<16|w[d+59|0]<<24))<>>8;t[d+66|0]=f>>>16;t[d+67|0]=f>>>24;if((c|0)>=8){i=d+72|0;c=w[d+328|0]|w[d+329|0]<<8|(w[d+330|0]<<16|w[d+331|0]<<24);while(1){e=c+1|0;t[d+328|0]=e;t[d+329|0]=e>>>8;t[d+330|0]=e>>>16;t[d+331|0]=e>>>24;t[(c+d|0)+72|0]=f;c=w[d+328|0]|w[d+329|0]<<8|(w[d+330|0]<<16|w[d+331|0]<<24);if((c|0)>=255){e=v[a+1096>>2];Ub[v[v[e>>2]+44>>2]](e,c&255)|0;c=v[a+1096>>2];Ub[v[v[c>>2]+16>>2]](c,i,1,w[d+328|0]|w[d+329|0]<<8|(w[d+330|0]<<16|w[d+331|0]<<24))|0;t[d+328|0]=0;t[d+329|0]=0;t[d+330|0]=0;t[d+331|0]=0;c=0}f=(w[d+64|0]|w[d+65|0]<<8|(w[d+66|0]<<16|w[d+67|0]<<24))>>>8|0;t[d+64|0]=f;t[d+65|0]=f>>>8;t[d+66|0]=f>>>16;t[d+67|0]=f>>>24;j=w[d+68|0]|w[d+69|0]<<8|(w[d+70|0]<<16|w[d+71|0]<<24);e=j-8|0;t[d+68|0]=e;t[d+69|0]=e>>>8;t[d+70|0]=e>>>16;t[d+71|0]=e>>>24;if((j|0)>15){continue}break}}t[d+32|0]=0;t[d+33|0]=0;t[d+34|0]=0;t[d+35|0]=0;t[d+16|0]=0;t[d+17|0]=0;t[d+18|0]=0;t[d+19|0]=0;t[d+20|0]=1;t[d+21|0]=0;t[d+22|0]=0;t[d+23|0]=0;c=w[d+28|0]|w[d+29|0]<<8|(w[d+30|0]<<16|w[d+31|0]<<24);t[d+24|0]=c;t[d+25|0]=c>>>8;t[d+26|0]=c>>>16;t[d+27|0]=c>>>24;c=w[d+40|0]|w[d+41|0]<<8|(w[d+42|0]<<16|w[d+43|0]<<24);t[d+36|0]=c;t[d+37|0]=c>>>8;t[d+38|0]=c>>>16;t[d+39|0]=c>>>24;c=w[d+48|0]|w[d+49|0]<<8|(w[d+50|0]<<16|w[d+51|0]<<24);t[d+44|0]=c;t[d+45|0]=c>>>8;t[d+46|0]=c>>>16;t[d+47|0]=c>>>24;GA(a,g,d);break x}t[d+44|0]=l;t[d+45|0]=l>>>8;t[d+46|0]=l>>>16;t[d+47|0]=l>>>24;y:{if((n|0)<1){break y}sn(a,((w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24))+o|0)-2|0,d);if((n|0)==1){break y}while(1){sn(a,((w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24))+(w[d+16|0]|w[d+17|0]<<8|(w[d+18|0]<<16|w[d+19|0]<<24))|0)-2|0,d);c=(n|0)>2;n=n-1|0;if(c){continue}break}}z:{if(!i){break z}if(w[d+20|0]|w[d+21|0]<<8|(w[d+22|0]<<16|w[d+23|0]<<24)){GA(a,i,d);break z}if((i|0)==1){sn(a,w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24),d);break z}sn(a,((w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24))+i|0)-2|0,d)}c=w[d+48|0]|w[d+49|0]<<8|(w[d+50|0]<<16|w[d+51|0]<<24);t[d+44|0]=c;t[d+45|0]=c>>>8;t[d+46|0]=c>>>16;t[d+47|0]=c>>>24;if((c|0)<=(w[d+32|0]|w[d+33|0]<<8|(w[d+34|0]<<16|w[d+35|0]<<24))){e=w[d+68|0]|w[d+69|0]<<8|(w[d+70|0]<<16|w[d+71|0]<<24);g=e+(w[d+24|0]|w[d+25|0]<<8|(w[d+26|0]<<16|w[d+27|0]<<24))|0;t[d+68|0]=g;t[d+69|0]=g>>>8;t[d+70|0]=g>>>16;t[d+71|0]=g>>>24;f=w[d+64|0]|w[d+65|0]<<8|(w[d+66|0]<<16|w[d+67|0]<<24)|(w[d+56|0]|w[d+57|0]<<8|(w[d+58|0]<<16|w[d+59|0]<<24))<>>8;t[d+66|0]=f>>>16;t[d+67|0]=f>>>24;e=d;if((g|0)>=8){i=d+72|0;c=w[d+328|0]|w[d+329|0]<<8|(w[d+330|0]<<16|w[d+331|0]<<24);while(1){g=c+1|0;t[d+328|0]=g;t[d+329|0]=g>>>8;t[d+330|0]=g>>>16;t[d+331|0]=g>>>24;t[(c+d|0)+72|0]=f;c=w[d+328|0]|w[d+329|0]<<8|(w[d+330|0]<<16|w[d+331|0]<<24);if((c|0)>=255){f=v[a+1096>>2];Ub[v[v[f>>2]+44>>2]](f,c&255)|0;c=v[a+1096>>2];Ub[v[v[c>>2]+16>>2]](c,i,1,w[d+328|0]|w[d+329|0]<<8|(w[d+330|0]<<16|w[d+331|0]<<24))|0;t[d+328|0]=0;t[d+329|0]=0;t[d+330|0]=0;t[d+331|0]=0;c=0}f=(w[d+64|0]|w[d+65|0]<<8|(w[d+66|0]<<16|w[d+67|0]<<24))>>>8|0;t[d+64|0]=f;t[d+65|0]=f>>>8;t[d+66|0]=f>>>16;t[d+67|0]=f>>>24;j=w[d+68|0]|w[d+69|0]<<8|(w[d+70|0]<<16|w[d+71|0]<<24);g=j-8|0;t[d+68|0]=g;t[d+69|0]=g>>>8;t[d+70|0]=g>>>16;t[d+71|0]=g>>>24;if((j|0)>15){continue}break}c=w[d+48|0]|w[d+49|0]<<8|(w[d+50|0]<<16|w[d+51|0]<<24)}t[e+44|0]=c;t[e+45|0]=c>>>8;t[e+46|0]=c>>>16;t[e+47|0]=c>>>24;t[d+32|0]=0;t[d+33|0]=0;t[d+34|0]=0;t[d+35|0]=0;t[d+16|0]=0;t[d+17|0]=0;t[d+18|0]=0;t[d+19|0]=0;t[d+20|0]=1;t[d+21|0]=0;t[d+22|0]=0;t[d+23|0]=0;c=w[d+28|0]|w[d+29|0]<<8|(w[d+30|0]<<16|w[d+31|0]<<24);t[d+24|0]=c;t[d+25|0]=c>>>8;t[d+26|0]=c>>>16;t[d+27|0]=c>>>24;c=w[d+40|0]|w[d+41|0]<<8|(w[d+42|0]<<16|w[d+43|0]<<24);t[d+36|0]=c;t[d+37|0]=c>>>8;t[d+38|0]=c>>>16;t[d+39|0]=c>>>24}}}g=0;v[d+8>>2]=0}if((h|0)!=-1){if(v[d>>2]==(h|0)){v[d+8>>2]=g+1;continue}v[d>>2]=h;v[d+8>>2]=1;continue}break};c=v[d+68>>2];e=c+v[d+24>>2]|0;v[d+68>>2]=e;g=v[d+64>>2]|v[d+60>>2]<>2]=g;if((e|0)>=8){h=v[d+328>>2];while(1){v[d+328>>2]=h+1;t[(d+h|0)+72|0]=g;h=v[d+328>>2];if((h|0)>=255){c=v[a+1096>>2];Ub[v[v[c>>2]+44>>2]](c,h&255)|0;c=v[a+1096>>2];Ub[v[v[c>>2]+16>>2]](c,p,1,v[d+328>>2])|0;v[d+328>>2]=0;h=0}g=v[d+64>>2]>>>8|0;v[d+64>>2]=g;c=v[d+68>>2];e=c-8|0;v[d+68>>2]=e;if((c|0)>15){continue}break}}A:{B:{C:{if((e|0)<=0){h=v[d+328>>2];break C}c=v[d+328>>2];v[d+328>>2]=c+1;t[(c+d|0)+72|0]=g;h=v[d+328>>2];if((h|0)>254){break B}}if((h|0)<1){break A}}c=v[a+1096>>2];Ub[v[v[c>>2]+44>>2]](c,h&255)|0;a=v[a+1096>>2];Ub[v[v[a>>2]+16>>2]](a,p,1,v[d+328>>2])|0}Qb=d+336|0;break b;default:break c}}v[a+1096>>2]=b;c=c+1|0;v[a+1092>>2]=c;v[a+1088>>2]=0;v[a+1080>>2]=c;v[a+992>>2]=0;v[a+996>>2]=0;v[a+1108>>2]=0;h=-1;e=1<>2]=e;u[a+1084>>1]=-1<>2]=e+1;u[a+1086>>1]=e+2;c=v[a+988>>2];D:{if(!c){break D}v[a+988>>2]=c-1;h=yl(a,v[a+980>>2],v[a+984>>2]);c=v[a+980>>2]+1|0;v[a+980>>2]=c;if((c|0)!=v[a+16>>2]){break D}v[a+980>>2]=0;v[a+984>>2]=v[a+984>>2]-1}ic(v[a+1072>>2],255,20012);wm(a,u[a+1100>>1]);c=v[a+988>>2];if(c){while(1){v[a+988>>2]=c-1;e=yl(a,v[a+980>>2],v[a+984>>2]);c=v[a+980>>2]+1|0;v[a+980>>2]=c;if((c|0)==v[a+16>>2]){v[a+980>>2]=0;v[a+984>>2]=v[a+984>>2]-1}g=v[a+1072>>2];c=e<<4^h;i=v[g+(c<<2)>>2];f=(e<<12)+h|0;E:{if((i|0)==(f|0)){e=x[v[a+1076>>2]+(c<<1)>>1];break E}if((i|0)>=0){i=c?c-5003|0:-1;while(1){c=c+i|0;c=(c|0)<0?c+5003|0:c;d=v[g+(c<<2)>>2];if((d|0)==(f|0)){e=x[v[a+1076>>2]+(c<<1)>>1];break E}if((d|0)>0){continue}break}}wm(a,h<<16>>16);g=u[a+1086>>1];if((g|0)<=4095){u[a+1086>>1]=g+1;u[v[a+1076>>2]+(c<<1)>>1]=g;v[v[a+1072>>2]+(c<<2)>>2]=f;break E}ic(v[a+1072>>2],255,20012);v[a+1088>>2]=1;c=u[a+1100>>1];u[a+1086>>1]=c+2;wm(a,c)}h=e;c=v[a+988>>2];if(c){continue}break}}wm(a,h<<16>>16);wm(a,u[a+1104>>1])}Ub[v[v[b>>2]+44>>2]](b,0)|0}function k_(a,b,c){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,p=0,q=0,r=0,s=0,z=0,A=0;f=Qb-32|0;Qb=f;o=v[b+100>>2];d=1;a:{b:{c:{d:{e:{f:{g:{if(Yc(a,0)){break g}g=me(a,381056,b+184|0);v[f+28>>2]=g;if(g){break g}d=3;if(v[b+184>>2]!=1885562369){break g}e=v[b+188>>2];if(!e){break g}g=v[a+4>>2];if(g>>>0<16){break g}d=g>>>4|0;if(!(e>>>0<=9&d>>>0>=e>>>0)){e=g>>>0<144?d:9;v[b+188>>2]=e}g=0;e=Cc(o,16,0,e,0,f+28|0);v[b+192>>2]=e;d=v[f+28>>2];if(d){break g}if(v[b+188>>2]){while(1){d=me(a,381072,e);v[f+28>>2]=d;if(d){break d}e=e+16|0;g=g+1|0;d=v[b+188>>2];if(g>>>0>>0){continue}break}e=v[b+192>>2];if((d|0)==1){break f}g=d}d=0;h:{i:{while(1){n=d+1|0;if((n|0)==(g|0)){k=g-1|0;g=v[a+4>>2];e=v[b+192>>2];break i}i=d^-1;h=v[e+12>>2];l=0;k=0;while(1){m=(k<<4)+e|0;k=k+1|0;j=(k<<4)+e|0;g=v[j+12>>2];if(h>>>0>g>>>0){d=v[m+12>>2];v[f+16>>2]=v[m+8>>2];v[f+20>>2]=d;d=v[m+4>>2];v[f+8>>2]=v[m>>2];v[f+12>>2]=d;d=v[j+12>>2];v[m+8>>2]=v[j+8>>2];v[m+12>>2]=d;d=v[j+4>>2];v[m>>2]=v[j>>2];v[m+4>>2]=d;d=v[f+20>>2];v[j+8>>2]=v[f+16>>2];v[j+12>>2]=d;d=v[f+12>>2];v[j>>2]=v[f+8>>2];v[j+4>>2]=d;l=1;g=v[j+12>>2]}d=v[m+8>>2];if(d>>>0>g>>>0|y[m+12>>2]>g-d>>>0){break h}h=g;g=v[b+188>>2];if(i+g>>>0>k>>>0){continue}break}k=g-1|0;if(l){d=n;if(k>>>0>d>>>0){continue}}break}g=v[a+4>>2];e=v[b+192>>2];n=e;if(!k){break e}}n=(k<<4)+e|0;h=0;d=e;while(1){i=v[d+8>>2];if(!(i>>>0<=g>>>0&y[d+12>>2]<=g-i>>>0)){v[f+28>>2]=8;break d}d=d+16|0;h=h+1|0;if((k|0)!=(h|0)){continue}break}break e}v[f+28>>2]=9;break d}v[f+4>>2]=d;break b}g=v[a+4>>2];n=e}d=v[n+12>>2];if(d>>>0>g>>>0){v[f+28>>2]=8;break d}d=g-d|0;if(d>>>0>2]){v[n+8>>2]=d}v[f+4>>2]=0;break c}d=v[b+192>>2];if(d){Ub[v[o+8>>2]](o,d)}e=0;v[b+192>>2]=0;d=v[f+28>>2];v[f+4>>2]=d;if(d){break b}}v[b>>2]=1;v[b+4>>2]=0;d=0;if((c|0)<0){break a}m=v[b+100>>2];k=3;j:{k:{c=v[b+188>>2];l:{if(!c){break l}d=0;while(1){if(v[(d<<4)+e>>2]==1){k=83;g=v[((d<<4)+e|0)+12>>2];c=v[a+8>>2];if(g>>>0>>0){break l}if(Bf(a,g-c|0)){break l}n=v[((d<<4)+e|0)+8>>2];c=0;v[f+8>>2]=0;d=pi(a,f+8|0);if(!v[f+8>>2]){break k}d=0;break j}d=d+1|0;if((c|0)!=(d|0)){continue}break}}v[f+8>>2]=k;c=0;d=0;break j}if(d>>>0>255){d=0;break j}e=d&4;m:{if(e){h=kf(a,f+8|0);break m}h=pi(a,f+8|0)}if(v[f+8>>2]){d=0;break j}if(h>>>0>(n>>>0)/9>>>0){v[f+8>>2]=8;d=0;break j}j=h>>>0<256?h:256;v[b+280>>2]=j;d=Cc(m,12,0,j,0,f+8|0);if(v[f+8>>2]){break j}n:{if(!j){break n}k=0;if(!e){while(1){g=me(a,381136,B(k,12)+d|0);v[f+8>>2]=g;if(g){break j}k=k+1|0;if((j|0)!=(k|0)){continue}break n}}while(1){g=me(a,381104,B(k,12)+d|0);v[f+8>>2]=g;if(g){break j}k=k+1|0;if((j|0)!=(k|0)){continue}break}}g=Bf(a,B(h-j|0,9));v[f+8>>2]=g;if(g){v[f+8>>2]=83;break j}o:{g=h&3;if(!g){break o}g=Bf(a,4-g|0);v[f+8>>2]=g;if(!g){break o}v[f+8>>2]=83;break j}p:{if(e){g=kf(a,f+8|0);break p}g=pi(a,f+8|0)}if(v[f+8>>2]){break j}if(g>>>0>n+B(h,-9)>>>0){v[f+8>>2]=8;break j}l=g>>>0<16777472?g:16777472;c=Cc(m,1,0,l+1|0,0,f+8|0);if(v[f+8>>2]){break j}g=Lf(a,c,l);v[f+8>>2]=g;if(g){break j}k=0;n=Cc(m,12,0,j,0,f+8|0);if(v[f+8>>2]){break j}v[b+284>>2]=n;if(j){while(1){g=B(k,12);e=g+d|0;h=v[e>>2];if(!((h|0)>=0&h>>>0<=l>>>0)){v[f+8>>2]=9;break j}i=g+n|0;z=i,A=uj(m,c+h|0,f+8|0),v[z>>2]=A;if(v[f+8>>2]){break j}g=w[e+4|0];t[i+4|0]=g;h=v[e+8>>2];q:{if(g){if(!(h>>>0<=l>>>0&(h|0)>=0)){v[f+8>>2]=9;break j}z=i,A=uj(m,c+h|0,f+8|0),v[z+8>>2]=A;if(!v[f+8>>2]){break q}break j}v[i+8>>2]=h}k=k+1|0;if((j|0)!=(k|0)){continue}break}}v[f+8>>2]=0}if(d){Ub[v[m+8>>2]](m,d)}if(c){Ub[v[m+8>>2]](m,c)}c=v[f+8>>2];v[f+4>>2]=c;if(c){break b}r:{s:{c=v[b+188>>2];if(!c){break s}e=v[b+192>>2];d=0;while(1){if(v[(d<<4)+e>>2]!=256){d=d+1|0;if((d|0)!=(c|0)){continue}break s}break}n=0;break r}c=j_(a,b,2);v[f+4>>2]=c;if(c){break b}c=v[b+188>>2];e=v[b+192>>2];n=1}if(!c){v[f+4>>2]=3;break b}i=v[b+100>>2];d=0;t:{u:{while(1){if(v[(d<<4)+e>>2]==4){c=83;h=v[((d<<4)+e|0)+12>>2];g=v[a+8>>2];if(h>>>0>>0){break t}if(Bf(a,h-g|0)){break t}g=v[((d<<4)+e|0)+8>>2];v[f+28>>2]=0;l=pi(a,f+28|0);c=v[f+28>>2];if(c){break t}if(((l|256)&-256)==256){break u}v[f+4>>2]=3;break b}d=d+1|0;if((d|0)!=(c|0)){continue}break}v[f+4>>2]=3;break b}h=l&4;v:{if(l>>>0<=255){if(h){d=kf(a,f+28|0);break v}d=pi(a,f+28|0);break v}if(h){d=Ed(a,f+28|0);break v}d=E_(a,f+28|0)}c=3;if(v[f+28>>2]){break t}w:{if(l>>>0<=255){c=8;if(d-1>>>0<(g>>>0)/12>>>0){break w}break t}c=8;if(d-1>>>0>=(g>>>0)/5>>>0){break t}}c=(d>>>0<65534?d:65534)+1|0;v[b+288>>2]=c;d=Cc(i,16,0,c,0,f+28|0);v[b+292>>2]=d;c=v[f+28>>2];if(c){break t}x:{y:{z:{A:{if(y[b+288>>2]<2){break A}c=d+16|0;e=1;if(l>>>0<=255){g=h?381296:381328;while(1){d=me(a,g,c);v[f+28>>2]=d;v[c+12>>2]=0;if(d){break y}if(!(u[c+2>>1]>=u[c>>1]&u[c+6>>1]>=(0-u[c+8>>1]|0))){v[c>>2]=0;v[c+4>>2]=0;u[c+8>>1]=0}c=c+16|0;e=e+1|0;if(e>>>0>2]){continue}break}break A}while(1){d=me(a,381360,f+8|0);if(d){break z}u[c>>1]=w[f+8|0]-128;u[c+2>>1]=w[f+9|0]-128;u[c+4>>1]=w[f+10|0]-128;d=w[f+11|0]-128|0;u[c+6>>1]=d;g=w[f+12|0];u[c+10>>1]=0;u[c+8>>1]=g-128;v[f+28>>2]=0;v[c+12>>2]=0;if(!((d|0)>=(128-g|0)&u[c+2>>1]>=u[c>>1])){v[c>>2]=0;v[c+4>>2]=0;u[c+8>>1]=0}c=c+16|0;e=e+1|0;if(e>>>0>2]){continue}break}}v[f+4>>2]=0;break x}v[f+28>>2]=d;v[c+12>>2]=0}c=v[b+292>>2];if(c){Ub[v[i+8>>2]](i,c)}v[b+292>>2]=0;c=v[f+28>>2];v[f+4>>2]=c;if(c){break b}}c=v[b+188>>2];if(!c){v[f+4>>2]=3;break b}h=v[b+192>>2];d=0;B:{C:{D:{E:{while(1){if(v[h+(d<<4)>>2]==8){e=83;g=v[(h+(d<<4)|0)+12>>2];c=v[a+8>>2];if(g>>>0>>0){break C}if(Bf(a,g-c|0)){break C}l=v[(h+(d<<4)|0)+8>>2];e=ne(a,8);v[f+8>>2]=e;if(e){break C}i=F_(a);h=i&4;if(!h){break E}c=Sg(a);break D}d=d+1|0;if((c|0)!=(d|0)){continue}break}v[f+4>>2]=3;break b}c=F_(a)}Vd(a);if(i>>>0>255){v[f+4>>2]=3;break b}e=3;j=c>>>0<65534?c:65534;if((j|0)!=(v[b+288>>2]-1|0)){break C}F:{if(!j){break F}g=(v[a+8>>2]+(j<<2)|0)+16|0;d=1;if(!h){while(1){c=pi(a,f+8|0);v[(v[b+292>>2]+(d<<4)|0)+12>>2]=g+(c>>>0>l>>>0?0:c);c=(d|0)==(j|0);d=d+1|0;if(!c){continue}break F}}while(1){c=kf(a,f+8|0);v[(v[b+292>>2]+(d<<4)|0)+12>>2]=g+(c>>>0>l>>>0?0:c);c=(d|0)!=(j|0);d=d+1|0;if(c){continue}break}}e=v[f+8>>2];if(e){break C}G:{if(h){kf(a,f+8|0);e=v[f+8>>2];if(e){break C}kf(a,f+8|0);e=v[f+8>>2];if(e){break C}kf(a,f+8|0);e=v[f+8>>2];if(e){break C}kf(a,f+8|0);break G}pi(a,f+8|0);e=v[f+8>>2];if(e){break C}pi(a,f+8|0);e=v[f+8>>2];if(e){break C}pi(a,f+8|0);e=v[f+8>>2];if(e){break C}pi(a,f+8|0)}e=v[f+8>>2];if(!e){break B}}v[f+4>>2]=e;break b}v[b+312>>2]=i;v[f+4>>2]=0;e=0;i=Qb-16|0;Qb=i;h=3;c=v[b+188>>2];H:{if(!c){break H}m=b+296|0;d=v[b+192>>2];j=v[b+100>>2];while(1){if(v[d+(e<<4)>>2]==32){h=83;d=v[(d+(e<<4)|0)+12>>2];c=v[a+8>>2];if(d>>>0>>0){break H}if(Bf(a,d-c|0)){break H}v[i+12>>2]=0;d=pi(a,i+12|0);h=v[i+12>>2];if(h){break H}h=3;if(d>>>0>255){break H}c=i;l=d&4;I:{if(l){h=me(a,381392,m);break I}h=me(a,381424,m)}v[c+12>>2]=h;if(h){break H}h=8;e=x[b+298>>1];d=x[b+296>>1];if(e>>>0>>0|e>>>0>255){break H}g=x[b+302>>1];c=x[b+300>>1];if(g>>>0>>0|g>>>0>255){break H}c=B((g-c|0)+1|0,(e-d|0)+1|0);z=b,A=Cc(j,2,0,c,0,i+12|0),v[z+308>>2]=A;h=v[i+12>>2];if(h){break H}c=ne(a,c<<1);v[i+12>>2]=c;J:{if(!c){g=x[b+304>>1];c=g>>>8|0;e=x[b+300>>1];K:{L:{if(c>>>0>>0|x[b+302>>1]>>0){break L}d=x[m>>1];g=g&255;if(d>>>0>g>>>0){break L}k=x[b+298>>1];if(k>>>0>=g>>>0){break K}}d=x[b+296>>1];u[b+304>>1]=d+(e<<8);k=x[b+298>>1];c=e;g=d}h=1;c=v[a+32>>2]+(((g&65535)-d|0)+B((k-d|0)+1|0,c-e|0)<<1)|0;c=w[c+!l|0]<<8|w[c+((l|0)!=0)|0];if((c|0)!=65535){c=c+1&65535;h=c>>>0>2]?c:1}g=v[b+292>>2];d=(h<<4)+g|0;c=v[d+4>>2];v[g>>2]=v[d>>2];v[g+4>>2]=c;c=v[d+12>>2];v[g+8>>2]=v[d+8>>2];v[g+12>>2]=c;M:{h=x[b+300>>1];if(h>>>0>x[b+302>>1]){break M}c=x[b+296>>1];d=x[b+298>>1];if(c>>>0>d>>>0){break M}e=v[b+308>>2];while(1){N:{if((c&65535)>>>0>d>>>0){break N}if(!l){while(1){d=oq(a);u[e>>1]=(d|0)==65535?-1:d+1|0;e=e+2|0;d=x[b+298>>1];c=c+1|0;if(d>>>0>=(c&65535)>>>0){continue}break N}}while(1){d=He(a);u[e>>1]=(d|0)==65535?-1:d+1|0;e=e+2|0;d=x[b+298>>1];c=c+1|0;if(d>>>0>=(c&65535)>>>0){continue}break}}h=h+1|0;if(x[b+302>>1]<(h&65535)>>>0){break M}c=x[m>>1];continue}}Vd(a);break J}c=v[b+308>>2];if(c){Ub[v[j+8>>2]](j,c)}v[b+308>>2]=0}h=v[i+12>>2];break H}e=e+1|0;if((c|0)!=(e|0)){continue}break}}Qb=i+16|0;v[f+4>>2]=h;if(h){break b}if(!n){a=j_(a,b,256);v[f+4>>2]=a;if(a){break b}}a=v[b+8>>2];v[b+8>>2]=a|18;if(w[b+199|0]){v[b+8>>2]=a|22}a=0;d=0;n=0;k=0;m=0;p=Qb-16|0;Qb=p;v[p+12>>2]=0;i=b;v[b+12>>2]=0;h=1;l=v[b+100>>2];e=v[b+280>>2];O:{P:{if((e|0)<1){g=1;j=1;break P}j=v[i+284>>2];while(1){Q:{b=a;c=mc(v[j+B(b,12)>>2],309981);a=b+1|0;if((e|0)<=(a|0)){break Q}if(c){continue}}break}a=0;d=2;R:{if(c){h=0;break R}b=j+B(b,12)|0;if(!w[b+4|0]){h=0;break R}h=0;S:{switch(w[v[b+8>>2]]-73|0){case 0:case 6:case 32:case 38:break S;default:break R}}v[i+12>>2]=1;h=(w[v[b+8>>2]]&223)==79?275543:297042;d=3}while(1){T:{b=a;c=mc(v[j+B(b,12)>>2],321385);a=b+1|0;if((e|0)<=(a|0)){break T}if(c){continue}}break}a=0;g=1;U:{if(c){break U}b=j+B(b,12)|0;g=1;if(!w[b+4|0]){break U}g=1;if((w[v[b+8>>2]]|32)!=98){break U}v[i+12>>2]=d;k=288795;g=0}while(1){V:{b=a;d=mc(v[j+B(b,12)>>2],321407);a=b+1|0;if((e|0)<=(a|0)){break V}if(d){continue}}break}a=0;c=0;W:{if(d){break W}b=j+B(b,12)|0;c=0;if(!w[b+4|0]){break W}b=v[b+8>>2];d=w[b|0];c=0;if(!d){break W}c=0;if((d|0)==78){break W}c=0;if((d|0)==110){break W}c=b}while(1){X:{d=a;r=mc(v[j+B(d,12)>>2],321421);a=d+1|0;if((e|0)<=(a|0)){break X}if(r){continue}}break}b=0;e=0;Y:{if(r){break Y}Z:{a=j+B(d,12)|0;if(!w[a+4|0]){break Z}a=v[a+8>>2];d=w[a|0];if(!d|(d|0)==78){break Z}e=0;if((d|0)==110){break Y}b=a;n=Bc(b);e=n+1|0;break Y}e=0}_:{if(g){k=0;break _}m=Bc(k);e=(m+e|0)+1|0}d=0;if(h){s=Bc(h);e=(s+e|0)+1|0;a=h}else{a=0}r=a;$:{if(!c){a=0;break $}a=Bc(c);e=(e+a|0)+1|0;d=c}h=!h;j=!c;if(e){break O}}e=8;n=7;b=240246}c=Fd(l,e,p+12|0);v[i+24>>2]=c;e=v[p+12>>2];if(!e){if(b){q=gc(c,b,n);aa:{if(!n){break aa}e=n&3;c=0;if(n-1>>>0>=3){b=n&-4;while(1){l=c+q|0;if(w[l|0]==32){t[l|0]=45}l=q+(c|1)|0;if(w[l|0]==32){t[l|0]=45}l=q+(c|2)|0;if(w[l|0]==32){t[l|0]=45}l=q+(c|3)|0;if(w[l|0]==32){t[l|0]=45}c=c+4|0;b=b-4|0;if(b){continue}break}}if(!e){break aa}while(1){b=c+q|0;if(w[b|0]==32){t[b|0]=45}c=c+1|0;e=e-1|0;if(e){continue}break}}c=n+q|0}if(!g){if(v[i+24>>2]!=(c|0)){t[c|0]=32;c=c+1|0}c=gc(c,k,m)+m|0}if(!h){if(v[i+24>>2]!=(c|0)){t[c|0]=32;c=c+1|0}c=gc(c,r,s)+s|0}if(!j){if(v[i+24>>2]!=(c|0)){t[c|0]=32;c=c+1|0}g=gc(c,d,a);ba:{if(!a){a=0;break ba}e=a&3;c=0;if(a-1>>>0>=3){b=a&-4;while(1){d=c+g|0;if(w[d|0]==32){t[d|0]=45}d=g+(c|1)|0;if(w[d|0]==32){t[d|0]=45}d=g+(c|2)|0;if(w[d|0]==32){t[d|0]=45}d=g+(c|3)|0;if(w[d|0]==32){t[d|0]=45}c=c+4|0;b=b-4|0;if(b){continue}break}}if(!e){break ba}while(1){b=c+g|0;if(w[b|0]==32){t[b|0]=45}c=c+1|0;e=e-1|0;if(e){continue}break}}c=a+g|0}t[c|0]=0;e=v[p+12>>2]}Qb=p+16|0;v[f+4>>2]=e;if(e){break b}a=Co(i,321356);ca:{if(!(!a|!w[a+4|0])){z=i,A=uj(o,v[a+8>>2],f+4|0),v[z+20>>2]=A;if(!v[f+4>>2]){break ca}break b}v[i+20>>2]=0}v[i+28>>2]=1;v[i+16>>2]=v[i+288>>2];a=Cc(o,16,0,1,0,f+4|0);v[i+32>>2]=a;if(v[f+4>>2]){break b}v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;c=32767;b=v[i+208>>2]+v[i+204>>2]|0;g=b&32768?0-b|0:b;d=b;b=b>>31;d=d+b^b;u[a>>1]=d>>>0>32767?32767:g;b=Co(i,320786);da:{if(b){d=v[b+8>>2];b=d>>31;if((b^b+d)>>>0>327665){break da}b=(d+5|0)/10|0;c=b&32768?0-b|0:b;break da}c=jd(d>>>0>32767?32767:g<<16>>16,2,3)}u[a+2>>1]=c;c=Co(i,321159);if(c){c=v[c+8>>2];d=c>>31;b=a;c=d^c+d;if(c>>>0<=328898){c=jd(c,460800,72270)}else{c=32767}v[b+4>>2]=c}c=Co(i,321193);if(c){d=v[c+8>>2];c=d>>31;b=a;if((c^c+d)>>>0<=32767){d=d<<16;c=d>>16;c=((d|0)<0?0-c|0:c)<<6}else{c=2097088}v[b+12>>2]=c}c=Co(i,309106);b=0;ea:{if(!c){break ea}d=v[c+8>>2];c=d>>31;b=32767;if((c^c+d)>>>0>32767){break ea}b=(d&32768?0-d|0:d)<<16>>16}fa:{ga:{ha:{ia:{c=Co(i,308980);if(c){e=32767;d=v[c+8>>2];c=d>>31;if((c^c+d)>>>0>32767){break ia}e=d&32768?0-d|0:d;d=v[a+12>>2];if(d){break ga}d=v[a+4>>2];v[a+12>>2]=d;if(!(e&65535)){break fa}c=a+12|0;break ha}d=v[a+12>>2];if(d){break fa}d=v[a+4>>2];v[a+12>>2]=d;break fa}d=v[a+12>>2];if(d){break ga}d=v[a+4>>2];v[a+12>>2]=d;c=a+12|0}d=jd(d,e<<16>>16,72);v[c>>2]=d}if(!b|!(e&65535)){break fa}d=jd(d,b,e<<16>>16)}v[a+8>>2]=d;b=Co(i,308996);a=Co(i,320884);if(!(!b|!w[b+4|0]|(!a|!w[a+4|0]))){z=i,A=uj(o,v[a+8>>2],f+4|0),v[z+176>>2]=A;if(v[f+4>>2]){break b}z=i,A=uj(o,v[b+8>>2],f+4|0),v[z+180>>2]=A}if(v[f+4>>2]){break b}d=0;break a}v[f+4>>2]=c}d=3}Qb=f+32|0;return d}function Dr(a,b,c){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,p=0,q=0,r=0,s=0,t=0,u=0,x=0,y=0,z=0,B=0,C=0,E=0,F=0,I=0,J=0,K=0,M=0,N=0,R=0,U=0,V=0,X=0,Y=0,Z=0;F=Qb-48|0;Qb=F;d=fc(12);v[d>>2]=0;v[d+4>>2]=16;v[299999]=0;m=Q(3364,16,16)|0;z=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{if((z|0)!=1){v[d+8>>2]=m;z=fc(12);m=z;v[m>>2]=0;v[m+4>>2]=16;v[299999]=0;m=Q(3364,16,16)|0;C=v[299999];v[299999]=0;if((C|0)!=1){v[z+8>>2]=m;y=c;C=d;c=1;m=b;d=v[b+8>>2];g:{if((d|0)<1){break g}l=v[m>>2];b=v[l>>2];f=A[b+56>>3];u=f+0;k=A[b+40>>3];i=A[b+32>>3];e=A[b+24>>3];g=A[b+16>>3];if((d|0)==1){break g}while(1){b=v[l+(c<<2)>>2];q=A[b+56>>3];f=f>q?q:f;s=A[b+40>>3];k=k>3];i=i>3];e=e>s?s:e;s=A[b+16>>3];g=g>s?s:g;u=u+q;c=c+1|0;if((d|0)!=(c|0)){continue}break}}A[F+40>>3]=g;A[F+32>>3]=e;A[F+24>>3]=i;A[F+16>>3]=k;A[F+8>>3]=u/+(d|0);u=G(f*.05,.01);f=1/u;g=f*g;h:{if(g<-1073741824){break h}i=i*f;if(i>1073741823.5){break h}e=e*f;if(e<-1073741824){break h}k=k*f;if(k>1073741823.5){break h}g=H(g);i:{if(D(g)<2147483648){n=~~g;break i}n=-2147483648}g=H(i);j:{if(D(g)<2147483648){d=~~g;break j}d=-2147483648}b=d-n|0;e=H(e);k:{if(D(e)<2147483648){o=~~e;break k}o=-2147483648}b=b+3|0;c=0;e=H(k);l:{if(D(e)<2147483648){l=~~e;break l}l=-2147483648}r=(l-o|0)+3|0;B=Fj(r);x=Fj(b);J=ic(B,0,r);K=ic(x,0,b);if(v[m+8>>2]>=1){U=(K-n|0)+1|0;V=(J-o|0)+1|0;X=y-1|0;while(1){b=v[v[m>>2]+(c<<2)>>2];m:{n:{o:{switch(X|0){default:g=A[b+40>>3];q=A[b+24>>3];e=g-q;k=g+e*-.35;g=H(f*A[b+32>>3]);i=H(f*A[b+16>>3]);e=H(f*(q+e*0));break m;case 0:g=A[b+32>>3];k=A[b+16>>3];i=g-k;g=H(f*(g+i*-0));i=H(f*(k+i*.35));e=H(f*A[b+24>>3]);break n;case 1:g=A[b+40>>3];q=A[b+24>>3];e=g-q;k=g+e*-0;g=H(f*A[b+32>>3]);i=H(f*A[b+16>>3]);e=H(f*(q+e*.35));break m;case 2:break o}}g=A[b+32>>3];k=A[b+16>>3];i=g-k;g=H(f*(g+i*-.35));i=H(f*(k+i*0));e=H(f*A[b+24>>3])}k=A[b+40>>3]}k=H(f*k);p:{if(D(k)<2147483648){B=~~k;break p}B=-2147483648}if(D(e)<2147483648){b=~~e}else{b=-2147483648}if(D(i)<2147483648){r=~~i}else{r=-2147483648}Y=(b|0)>(B|0);if(D(g)<2147483648){x=~~g}else{x=-2147483648}if(!Y){ic(b+V|0,1,(B-b|0)+1|0)}if((r|0)<=(x|0)){ic(r+U|0,1,(x-r|0)+1|0)}c=c+1|0;if((c|0)>2]){continue}break}}r=o-1|0;c=r;q:{if((l|0)<(c|0)){break q}b=l+1|0;c=r;while(1){if(w[J+(c-r|0)|0]){break q}B=(c|0)!=(l|0);c=c+1|0;if(B){continue}break}c=b}if((c|0)<=(l|0)){b=c;while(1){x=w[(J+(c-o|0)|0)+2|0];B=c;r:{if(w[J+(c-r|0)|0]){b=x?b:B;break r}if(!x){break r}f=u*+(B-b|0);e=u*+(b+1|0)+f*.5;c=v[C>>2];s:{if((c|0)!=v[C+4>>2]){x=v[C+8>>2];break s}c=c<<1;v[C+4>>2]=c;x=pd(v[C+8>>2],c,16);v[C+8>>2]=x;c=v[C>>2]}x=(c<<4)+x|0;A[x+8>>3]=f;A[x>>3]=e;v[C>>2]=c+1}c=B+1|0;if((l|0)!=(B|0)){continue}break}}l=n-1|0;c=l;t:{if((d|0)<(c|0)){break t}b=d+1|0;c=l;while(1){if(w[K+(c-l|0)|0]){break t}o=(c|0)!=(d|0);c=c+1|0;if(o){continue}break}c=b}if((c|0)<=(d|0)){b=c;while(1){r=w[(K+(c-n|0)|0)+2|0];o=c;u:{if(w[K+(c-l|0)|0]){b=r?b:o;break u}if(!r){break u}f=u*+(o-b|0);e=u*+(b+1|0)+f*.5;c=v[z>>2];v:{if((c|0)!=v[z+4>>2]){x=v[z+8>>2];break v}c=c<<1;v[z+4>>2]=c;x=pd(v[z+8>>2],c,16);v[z+8>>2]=x;c=v[z>>2]}r=(c<<4)+x|0;A[r+8>>3]=f;A[r>>3]=e;v[z>>2]=c+1}c=o+1|0;if((d|0)!=(o|0)){continue}break}}uc(J);uc(K)}l=v[C>>2];if((l|0)<1){break e}b=l&3;c=v[C+8>>2];if(l-1>>>0<3){break f}d=l&-4;while(1){n=h<<4;f=A[(c+(n|48)|0)+8>>3];e=A[(c+(n|32)|0)+8>>3];g=A[(c+(n|16)|0)+8>>3];i=A[(c+n|0)+8>>3];p=i>p?i:p;g=g>p?g:p;e=e>g?e:g;p=e>3];p=f>p?f:p;h=h+1|0;b=b-1|0;if(b){continue}break}}n=v[z>>2];w:{if((n|0)<1){break w}b=n&3;c=v[z+8>>2];x:{if(n-1>>>0<3){h=0;break x}d=n&-4;h=0;while(1){o=h<<4;f=A[(c+(o|48)|0)+8>>3];e=A[(c+(o|32)|0)+8>>3];g=A[(c+(o|16)|0)+8>>3];i=A[(c+o|0)+8>>3];j=i>j?i:j;j=g>j?g:j;j=e>j?e:j;j=f>j?f:j;h=h+4|0;d=d-4|0;if(d){continue}break}}if(!b){break w}while(1){f=A[(c+(h<<4)|0)+8>>3];j=f>j?f:j;h=h+1|0;b=b-1|0;if(b){continue}break}}d=0;I=A[F+16>>3];i=A[F+32>>3];g=I-i;k=g;y:{if((l|0)<1){break y}u=p+A[F+8>>3]*-.2;b=v[C+8>>2];h=0;e=i;f=g;while(1){c=b+(h<<4)|0;k=A[c+8>>3];if(k>u){q=A[c>>3]+k*-.5;e=q-e;f=e>3];M=A[F+24>>3];u=A[F+40>>3];q=M-u;e=q;z:{if((n|0)<1){break z}Z=j+s*-.2;b=v[z+8>>2];h=0;e=u;f=q;while(1){c=b+(h<<4)|0;N=A[c+8>>3];if(Z>3]+N*-.5;e=R-e;f=ee){break z}e=f}f=1;A:{if(D(s)<.001){break A}f=q/s;if(y&1){break A}f=g/s}g=f;f=.7;B:{C:{D:{b=v[a>>2];switch(b-2|0){case 0:break B;case 2:break D;default:break C}}f=g*-.02+.5;if(!(f<.2)){break B}f=.2;break B}f=g*-.5+3;if(!(f<.8)){break B}f=.8}x=(b|0)==4;q=s+s;E:{if(!v[a+56>>2]){g=0;break E}g=s*1.5*256;F:{if(D(g)<2147483648){c=~~g;break F}c=-2147483648}g=+(c|0)*.00390625;c=v[m+8>>2];if((c|0)<1){break E}r=c&3;o=v[m>>2];G:{if(c-1>>>0<3){h=0;break G}c=c&-4;h=0;while(1){B=h<<2;t=((((A[v[B+o>>2]+56>>3]>g)+t|0)+(A[v[o+(B|4)>>2]+56>>3]>g)|0)+(A[v[o+(B|8)>>2]+56>>3]>g)|0)+(A[v[o+(B|12)>>2]+56>>3]>g)|0;h=h+4|0;c=c-4|0;if(c){continue}break}}if(!r){break E}while(1){t=(A[v[o+(h<<2)>>2]+56>>3]>g)+t|0;h=h+1|0;r=r-1|0;if(r){continue}break}}q=x?0:q;f=s*f;H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{if(y&1){if((b|0)==2){h=0;if((d|0)>0){break R}if((E|0)<1){break Q}h=f>=p;break L}if(!(!(fq){break L}}h=0;if((d|0)>0){break R}if(t){break Q}h=1;if((E|0)<=0){break Q}break L}if((b|0)==2){h=0;if((E|0)>0){break L}if((d|0)<=0){break Q}h=f>=j;break R}if(!(!(fp)|(d|0)<1))){h=0;if(!E|e>q){break R}}h=0;if((E|0)>0){break L}if(t){break Q}h=1;if((d|0)<1){break Q}}d=fc(56);v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=y;v[d>>2]=0;v[d+4>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+32>>2]=0;v[d+36>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+48>>2]=0;v[299999]=0;c=S(1,16)|0;b=v[299999];v[299999]=0;if((b|0)==1){break P}v[299999]=0;l=S(3315,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){b=P()|0;O()|0;dc(c);break d}v[d+48>>2]=h;v[d+52>>2]=c;q=I+1;I=i+-1;g=u+-1;S:{if((n|0)<1){j=0;i=0;p=0;f=0;break S}u=j+s*-.2;r=v[z+8>>2];j=0;i=0;p=0;f=0;c=0;while(1){b=r+(c<<4)|0;if(u>3]){k=A[b>>3];E=fc(16);v[299999]=0;o=S(3315,E|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}h=0;t=v[m+8>>2];if((t|0)>=1){while(1){b=v[v[m>>2]+(h<<2)>>2];e=(A[b+16>>3]+A[b+32>>3])*.5;T:{if(!(e>g)|!(e>3]+A[b+40>>3])*.5;if(!(e>I)|!(e>2]}h=h+1|0;if((t|0)>(h|0)){continue}break}}b=Dr(a,o,y);e=A[b+16>>3];U:{V:{if(!v[l+8>>2]){A[d+16>>3]=e;p=A[b+24>>3];A[d+24>>3]=p;i=A[b+32>>3];A[d+32>>3]=i;g=A[b+40>>3];f=e;break V}if(e>3]=e;f=e}e=A[b+24>>3];if(e>3]=e;p=e}e=A[b+32>>3];if(e>i){A[d+32>>3]=e;i=e}g=A[b+40>>3];if(!(j>3]=g;j=g}Tc(l,b);Vc(o);dc(E);g=k}c=c+1|0;if((n|0)>(c|0)){continue}break}}h=0;c=fc(16);v[299999]=0;t=S(3315,c|0)|0;b=v[299999];v[299999]=0;W:{X:{Y:{if((b|0)!=1){b=v[m+8>>2];if((b|0)>=1){e=M+1;while(1){n=v[v[m>>2]+(h<<2)>>2];k=(A[n+16>>3]+A[n+32>>3])*.5;Z:{if(!(k>g)|!(e>k)){break Z}k=(A[n+24>>3]+A[n+40>>3])*.5;if(!(k>I)|!(k>2]}h=h+1|0;if((h|0)<(b|0)){continue}break}}b=Dr(a,t,y);e=A[b+16>>3];if(v[l+8>>2]){break Y}A[d+16>>3]=e;A[d+24>>3]=A[b+24>>3];A[d+32>>3]=A[b+32>>3];j=A[b+40>>3];break X}break c}if(e>3]=e}f=A[b+24>>3];if(f>3]=f}f=A[b+32>>3];if(f>i){A[d+32>>3]=f}f=j;j=A[b+40>>3];if(!(f>3]=j}Tc(l,b);break K}if((t|0)>=1){l=fc(16);v[299999]=0;n=S(3315,l|0)|0;b=v[299999];v[299999]=0;_:{$:{if((b|0)!=1){c=fc(16);v[299999]=0;t=S(3315,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break $}if(v[m+8>>2]>=1){h=0;while(1){b=v[v[m>>2]+(h<<2)>>2];Tc(A[b+56>>3]>g?n:t,b);h=h+1|0;if((h|0)>2]){continue}break}}d=Dr(a,t,y);y=v[n+8>>2];if((y|0)<2){break O}o=v[n>>2];h=v[o>>2];f=A[h+40>>3];j=A[h+56>>3];b=1;break _}b=P()|0;O()|0;d=l;break d}b=P()|0;O()|0;d=c;break d}while(1){aa:{m=v[o+(b<<2)>>2];e=A[m+56>>3];j=(e>j?j:e)*.5;if(j>f-A[m+24>>3]){break aa}f=A[m+40>>3];if(j>f-A[h+24>>3]){break aa}j=e;h=m;b=b+1|0;if((y|0)!=(b|0)){continue}break O}break}if((y|0)<1){break M}h=y-1|0;Sx(a,v[o+(h<<2)>>2],d);if((y|0)==1){break M}while(1){b=h-1|0;Sx(a,v[v[n>>2]+(b<<2)>>2],d);m=(h|0)>1;h=b;if(m){continue}break}break M}d=fc(56);v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=y;v[d>>2]=2;v[d+4>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+32>>2]=0;v[d+36>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+48>>2]=0;v[299999]=0;c=S(1,16)|0;b=v[299999];v[299999]=0;if((b|0)==1){break N}v[299999]=0;y=S(3315,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){b=P()|0;O()|0;dc(c);break d}v[d+52>>2]=c;if(v[m+8>>2]<1){break J}h=0;f=0;e=0;p=0;j=0;while(1){b=v[v[m>>2]+(h<<2)>>2];i=A[b+16>>3];ba:{ca:{if(!v[y+8>>2]){A[d+16>>3]=i;p=A[b+24>>3];A[d+24>>3]=p;e=A[b+32>>3];A[d+32>>3]=e;g=A[b+40>>3];j=i;break ca}if(i>3]=i;j=i}g=A[b+24>>3];if(g>3]=g;p=g}g=A[b+32>>3];if(g>e){A[d+32>>3]=g;e=g}g=A[b+40>>3];if(!(g>f)){break ba}}A[d+40>>3]=g;f=g}Tc(y,b);h=h+1|0;if((h|0)>2]){continue}break}break J}b=P()|0;O()|0;break d}wR(a,n,d);break M}b=P()|0;O()|0;break d}Vc(n);dc(l);break K}d=fc(56);v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=y;v[d>>2]=1;v[d+4>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+32>>2]=0;v[d+36>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+48>>2]=0;v[299999]=0;c=S(1,16)|0;b=v[299999];v[299999]=0;if((b|0)==1){break I}v[299999]=0;n=S(3315,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){b=P()|0;O()|0;dc(c);break d}v[d+48>>2]=h;v[d+52>>2]=c;q=M+1;u=u+-1;e=i+-1;da:{if((l|0)<1){j=0;i=0;p=0;f=0;break da}s=p+s*-.2;r=v[C+8>>2];j=0;i=0;p=0;f=0;c=0;while(1){b=r+(c<<4)|0;if(s>3]){k=A[b>>3];E=fc(16);v[299999]=0;o=S(3315,E|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}h=0;t=v[m+8>>2];if((t|0)>=1){while(1){b=v[v[m>>2]+(h<<2)>>2];g=(A[b+16>>3]+A[b+32>>3])*.5;ea:{if(!(g>u)|!(g>3]+A[b+40>>3])*.5;if(!(g>e)|!(g>2]}h=h+1|0;if((t|0)>(h|0)){continue}break}}b=Dr(a,o,y);g=A[b+16>>3];fa:{ga:{if(!v[n+8>>2]){A[d+16>>3]=g;p=A[b+24>>3];A[d+24>>3]=p;i=A[b+32>>3];A[d+32>>3]=i;e=A[b+40>>3];f=g;break ga}if(f>g){A[d+16>>3]=g;f=g}e=A[b+24>>3];if(e>3]=e;p=e}e=A[b+32>>3];if(e>i){A[d+32>>3]=e;i=e}e=A[b+40>>3];if(!(j>3]=e;j=e}Tc(n,b);Vc(o);dc(E);e=k}c=c+1|0;if((l|0)>(c|0)){continue}break}}h=0;c=fc(16);v[299999]=0;t=S(3315,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break c}b=v[m+8>>2];if((b|0)>=1){g=I+1;while(1){l=v[v[m>>2]+(h<<2)>>2];k=(A[l+16>>3]+A[l+32>>3])*.5;ha:{if(!(k>u)|!(k>3]+A[l+40>>3])*.5;if(!(k>e)|!(g>k)){break ha}Tc(t,l);b=v[m+8>>2]}h=h+1|0;if((h|0)<(b|0)){continue}break}}b=Dr(a,t,y);e=A[b+16>>3];ia:{ja:{if(!v[n+8>>2]){A[d+16>>3]=e;A[d+24>>3]=A[b+24>>3];A[d+32>>3]=A[b+32>>3];j=A[b+40>>3];break ja}if(e>3]=e}f=A[b+24>>3];if(f>3]=f}f=A[b+32>>3];if(f>i){A[d+32>>3]=f}f=j;j=A[b+40>>3];if(!(f>3]=j}Tc(n,b)}Vc(t);dc(c)}b=v[C+8>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break b}dc(C);b=v[z+8>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break H}dc(z);ka:{la:{ma:{na:{switch(v[a>>2]-2|0){case 2:a=v[d>>2];if((a|0)==2){break ma}if(!(!v[d+48>>2]|(a|0)!=(v[d+8>>2]&1))){v[d+4>>2]=3;a=v[d+52>>2];b=v[a+8>>2];if((b|0)<1){break ka}c=v[a>>2];a=0;while(1){if(v[v[c+(a<<2)>>2]+4>>2]==3){a=a+1|0;if((b|0)!=(a|0)){continue}break ka}break}break la}break la;case 0:a=v[d>>2];if((a|0)==2){break ma}if((a|0)==(v[d+8>>2]&1)){v[d+4>>2]=v[d+48>>2]?3:2;break ka}v[d+4>>2]=1;break ka;default:break na}}a=v[d>>2];if((a|0)==2){break ma}if((a|0)==((v[d+8>>2]^-1)&1)){v[d+4>>2]=1;a=v[d+52>>2];b=v[a+8>>2];if((b|0)<1){break ka}c=v[a>>2];a=0;while(1){oa:{switch(v[v[c+(a<<2)>>2]+4>>2]-1|0){case 0:case 2:break oa;default:break la}}a=a+1|0;if((b|0)!=(a|0)){continue}break}break ka}if(v[d+48>>2]){v[d+4>>2]=3;a=v[d+52>>2];b=v[a+8>>2];if((b|0)<1){break ka}c=v[a>>2];a=0;while(1){if(v[v[c+(a<<2)>>2]+4>>2]==3){a=a+1|0;if((b|0)!=(a|0)){continue}break ka}break}break la}v[d+4>>2]=0;break ka}v[d+4>>2]=3;break ka}v[d+4>>2]=0}Qb=F+48|0;return d}b=P()|0;O()|0;break d}break b}dc(d);T(b|0);L()}a=P()|0;O()|0;dc(c);T(a|0);L()}W(0)|0;O()|0;lc();L()}a=P()|0;O()|0;dc(E);T(a|0);L()}function G2(a,b,c){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,p=0,q=0,r=0,s=0,u=0,x=0,z=0,A=0,C=0;x=Qb-4e3|0;Qb=x;l=jc(56);a:{if(l){v[l+40>>2]=0;v[l+48>>2]=0;e=v[a+48>>2];v[l+32>>2]=0;v[l+44>>2]=e;v[l>>2]=c;f=v[a+36>>2];e=(c>>>0)/(f>>>0)|0;h=v[a+28>>2];c=c-B(e,f)|0;f=v[a+20>>2];i=B(h,c)+f|0;g=v[a+4>>2];v[l+4>>2]=g>>>0>>0?i:g;g=v[a+24>>2];i=v[a+32>>2];j=g+B(i,e)|0;k=v[a+8>>2];v[l+8>>2]=j>>>0>k>>>0?j:k;c=f+B(h,c+1|0)|0;f=v[a+12>>2];v[l+12>>2]=c>>>0>>0?c:f;c=g+B(i,e+1|0)|0;e=v[a+16>>2];v[l+16>>2]=c>>>0>>0?c:e;t[l+36|0]=w[a+56|0];t[l+20|0]=w[a+57|0];t[l+21|0]=w[a+58|0];t[l+28|0]=w[a+59|0];c=v[a+60>>2];v[l+24>>2]=c;c=jc(c<<2);v[l+40>>2]=c;b:{if(!c){break b}if(v[l+24>>2]){while(1){v[c+(d<<2)>>2]=0;d=d+1|0;if(d>>>0>2]){continue}break}}e=jc(B(v[a+48>>2],716));v[l+48>>2]=e;if(!e){break b}c:{d:{f=v[a+48>>2];if(!f){break d}c=f&3;d=e;if(f-1>>>0>=3){h=f&-4;while(1){v[d+20>>2]=0;v[d+4>>2]=0;v[d+8>>2]=0;v[d+736>>2]=0;v[d+1452>>2]=0;v[d+720>>2]=0;v[d+724>>2]=0;v[d+2168>>2]=0;i=d+1436|0;v[i>>2]=0;v[i+4>>2]=0;i=d+2152|0;v[i>>2]=0;v[i+4>>2]=0;d=d+2864|0;h=h-4|0;if(h){continue}break}}if(c){while(1){v[d+20>>2]=0;v[d+4>>2]=0;v[d+8>>2]=0;d=d+716|0;c=c-1|0;if(c){continue}break}}if(!f){break d}j=e;e:{f:{g:{h:{i:{j:{while(1){v[j+20>>2]=0;v[j+712>>2]=l;v[j+4>>2]=0;v[j+8>>2]=0;i=(j-e|0)/716|0;c=v[a+52>>2]+B(i,412)|0;d=w[c|0];g=d-1|0;e=(g+v[l+4>>2]>>>0)/(d>>>0)|0;f=w[c+1|0];k=f-1|0;h=(k+v[l+8>>2]>>>0)/(f>>>0)|0;g=(g+v[l+12>>2]>>>0)/(d>>>0)|0;f=(k+v[l+16>>2]>>>0)/(f>>>0)|0;d=xn(e,h,g,f);v[j+8>>2]=d;if(!d){break f}n=i;i=w[c|0];c=w[c+1|0];if(Zj(b,n,e-(((i+v[a+4>>2]|0)-1>>>0)/(i>>>0)|0)|0,h-(((c+v[a+8>>2]|0)-1>>>0)/(c>>>0)|0)|0,g-e|0,f-h|0,d)){break f}v[j+24>>2]=0;d=w[a+81|0];v[j+12>>2]=d;c=w[a+69|0];v[j>>2]=c;v[j+16>>2]=B(c,3)-2;c=SJ(d,c-1|0);v[j+20>>2]=c;if(!c){break f}d=0;if(v[j>>2]){while(1){e=d<<2;f=e+j|0;e=a+e|0;v[f+28>>2]=v[e+84>>2];v[f+160>>2]=v[e+216>>2];d=d+1|0;if(d>>>0>2]){continue}break}}v[j+292>>2]=v[a+72>>2];v[j+296>>2]=v[a+76>>2];v[j+304>>2]=w[a+80|0];v[j+300>>2]=w[a+68|0];d=v[j+16>>2];v[j+308>>2]=d;if((d|0)<101){v[j+312>>2]=0;d=c;c=v[j+8>>2];RJ(d,v[c+4>>2],v[c+8>>2],v[c+12>>2],v[c+16>>2],x);e=jc(v[j>>2]<<6);v[j+4>>2]=e;if(!e){break e}k:{f=v[j>>2];if(!f){break k}c=f&7;d=e;if(f-1>>>0>=7){h=f&-8;while(1){v[d+60>>2]=j;v[d+56>>2]=0;v[d+508>>2]=j;v[d+504>>2]=0;v[d+444>>2]=j;v[d+440>>2]=0;v[d+380>>2]=j;v[d+376>>2]=0;v[d+316>>2]=j;v[d+312>>2]=0;v[d+252>>2]=j;v[d+248>>2]=0;v[d+188>>2]=j;v[d+184>>2]=0;v[d+124>>2]=j;v[d+120>>2]=0;d=d+512|0;h=h-8|0;if(h){continue}break}}if(c){while(1){v[d+60>>2]=j;v[d+56>>2]=0;d=d- -64|0;c=c-1|0;if(c){continue}break}}z=0;i=e;while(1){v[i+60>>2]=j;v[i+56>>2]=0;g=i-e|0;h=g>>6;c=(h^-1)+f|0;f=-1<>2];k=f+v[d+4>>2]>>c;v[i>>2]=k;r=f+v[d+8>>2]>>c;v[i+4>>2]=r;e=f+v[d+12>>2]>>c;v[i+8>>2]=e;c=f+v[d+16>>2]>>c;v[i+12>>2]=c;l:{if(!(c>>>0>r>>>0&e>>>0>k>>>0)){v[i+32>>2]=0;v[i+24>>2]=0;v[i+28>>2]=0;break l}s=g?3:1;v[i+52>>2]=s;d=(h<<2)+a|0;h=v[d+84>>2];v[i+16>>2]=h;f=v[d+216>>2];g=(g|0)!=0;d=h-g|0;v[i+36>>2]=d;v[i+20>>2]=f;g=f-g|0;v[i+40>>2]=g;m=v[a+72>>2];v[i+44>>2]=d>>>0>m>>>0?m:d;d=v[a+76>>2];v[i+48>>2]=d>>>0>>0?d:g;if((h|0)>=1){d=1<=1){g=c;c=1<0?-1<>>f|0;v[d+28>>2]=c;d=e-(k&((h|0)>0?-1<>>h|0;v[i+24>>2]=d;v[i+32>>2]=B(c,d);h=jc(B(s,36));v[i+56>>2]=h;if(!h){break f}e=v[i+52>>2];if(!e){break l}c=e&3;d=h;if(e-1>>>0>=3){e=e&-4;while(1){v[d+108>>2]=0;v[d+112>>2]=0;v[d+72>>2]=0;v[d+76>>2]=0;v[d+36>>2]=0;v[d+40>>2]=0;v[d+32>>2]=i;v[d>>2]=0;v[d+4>>2]=0;v[d+140>>2]=i;v[d+104>>2]=i;v[d+68>>2]=i;d=d+144|0;e=e-4|0;if(e){continue}break}}if(c){while(1){v[d+32>>2]=i;v[d>>2]=0;v[d+4>>2]=0;d=d+36|0;c=c-1|0;if(c){continue}break}}r=0;while(1){e=v[i+60>>2];v[h+32>>2]=i;v[h>>2]=0;v[h+4>>2]=0;d=i-v[e+4>>2]|0;f=d>>6;c=B(d?(B(f,3)+((h-v[i+56>>2]|0)/36|0)|0)-2|0:0,40)+x|0;if(!(v[c>>2]==v[c+8>>2]|v[c+4>>2]==v[c+12>>2])){d=xn(0,0,0,0);v[h+4>>2]=d;if(!d){break h}$v(d,v[e+8>>2],v[c+20>>2],v[c+24>>2],v[c+28>>2],v[c+32>>2]);d=v[h+4>>2];g=v[c>>2];v[d+4>>2]=g;k=v[(c|4)>>2];v[d+8>>2]=k;v[d+12>>2]=g+v[d+24>>2];v[d+16>>2]=k+v[d+20>>2]}d=v[c+16>>2];v[h+8>>2]=d;d=hB(w[a+81|0],f,d);v[h+20>>2]=0;v[h+12>>2]=0;v[h+16>>2]=0;v[h+28>>2]=d;v[h+24>>2]=v[c+36>>2];m:{if(!v[h+4>>2]){break m}f=jc(B(v[i+32>>2],52));v[h>>2]=f;if(!f){break g}e=v[i+32>>2];if(!e){break m}c=e&3;d=f;if(e-1>>>0>=3){e=e&-4;while(1){v[d+44>>2]=0;v[d+48>>2]=0;v[d+36>>2]=0;v[d+28>>2]=0;v[d+32>>2]=0;v[d+40>>2]=h;v[d+96>>2]=0;v[d+100>>2]=0;v[d+88>>2]=0;v[d+80>>2]=0;v[d+84>>2]=0;v[d+148>>2]=0;v[d+152>>2]=0;v[d+140>>2]=0;v[d+132>>2]=0;v[d+136>>2]=0;v[d+92>>2]=h;v[d+200>>2]=0;v[d+204>>2]=0;v[d+192>>2]=0;v[d+184>>2]=0;v[d+188>>2]=0;v[d+144>>2]=h;v[d+196>>2]=h;d=d+208|0;e=e-4|0;if(e){continue}break}}if(c){while(1){v[d+44>>2]=0;v[d+48>>2]=0;v[d+36>>2]=0;v[d+28>>2]=0;v[d+32>>2]=0;v[d+40>>2]=h;d=d+52|0;c=c-1|0;if(c){continue}break}}s=0;c=f;while(1){v[c+28>>2]=0;v[c+32>>2]=0;v[c+44>>2]=0;v[c+48>>2]=0;v[c+36>>2]=0;e=v[h+32>>2];g=v[e+24>>2];p=v[v[e+60>>2]+4>>2];v[c+40>>2]=h;k=v[e+40>>2];q=v[e+4>>2];m=v[e+20>>2];o=(c-f|0)/52|0;f=(o>>>0)/(g>>>0)|0;d=v[h+4>>2];n=v[d+4>>2];A=o-B(f,g)|0;o=v[e+36>>2];g=v[e+16>>2];g=v[e>>2]&((g|0)>0?-1<>>1|0)|0;p=g>>>0>>0?n:g;v[c>>2]=p;n=v[d+8>>2];A=f<0?-1<>>1|0)|0;q=m>>>0>>0?n:m;v[c+4>>2]=q;f=v[d+12>>2];g=g+(1<>>0>>0?f:g;v[c+8>>2]=f;d=v[d+16>>2];g=m+(1<>>0>>0?d:g;v[c+12>>2]=d;n:{if(!(f>>>0<=p>>>0|d>>>0<=q>>>0)){g=v[e+48>>2];m=-1<>2];o=-1<>>g|0;v[e+20>>2]=d;e=f-(o&p)>>>k|0;v[c+16>>2]=e;v[c+24>>2]=B(d,e);d=Vs(e,d);v[c+32>>2]=d;if(!d){break i}d=Vs(v[c+16>>2],v[c+20>>2]);v[c+36>>2]=d;if(!d){break i}d=Vs(v[c+16>>2],v[c+20>>2]);v[c+44>>2]=d;if(!d){break i}d=Vs(v[c+16>>2],v[c+20>>2]);v[c+48>>2]=d;if(!d){break i}g=jc(B(v[c+24>>2],60));v[c+28>>2]=g;if(!g){break i}f=v[c+24>>2];if(!f){break n}e=f&3;d=g;if(f-1>>>0>=3){f=f&-4;while(1){v[d+20>>2]=0;v[d+24>>2]=0;v[d+4>>2]=0;v[d+44>>2]=c;v[d+28>>2]=0;v[d+32>>2]=0;v[d+80>>2]=0;v[d+84>>2]=0;v[d- -64>>2]=0;v[d+88>>2]=0;v[d+92>>2]=0;v[d+140>>2]=0;v[d+144>>2]=0;v[d+124>>2]=0;v[d+104>>2]=c;v[d+148>>2]=0;v[d+152>>2]=0;v[d+200>>2]=0;v[d+204>>2]=0;v[d+184>>2]=0;v[d+164>>2]=c;v[d+208>>2]=0;v[d+212>>2]=0;v[d+224>>2]=c;d=d+240|0;f=f-4|0;if(f){continue}break}}if(e){while(1){v[d+20>>2]=0;v[d+24>>2]=0;v[d+4>>2]=0;v[d+44>>2]=c;v[d+28>>2]=0;v[d+32>>2]=0;d=d+60|0;e=e-1|0;if(e){continue}break}}e=0;d=g;while(1){n=v[c+40>>2];k=v[n+32>>2];m=v[c+16>>2];v[d+56>>2]=0;v[d+48>>2]=0;v[d+52>>2]=0;v[d+44>>2]=c;v[d>>2]=0;v[d+4>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+32>>2]=0;v[d+36>>2]=0;v[d+40>>2]=0;q=v[c>>2];p=v[k+44>>2];o=q&-1<>>0)/(m>>>0)|0;g=g-B(f,m)|0;m=o+(g<>>0>q>>>0?m:q;g=o+(g+1<>2];p=g>>>0>>0?g:m;if(q>>>0>=p>>>0){break j}g=v[k+48>>2];k=v[c+4>>2];m=-1<>>0>>0?o:k;f=m+(f+1<>2];g=f>>>0>>0?f:g;if(k>>>0>=g>>>0){break j}f=xn(0,0,0,0);v[d+28>>2]=f;if(!f){a=v[d+4>>2];if(a){dc(a)}a=v[d+20>>2];if(a){Te(a)}a=v[d+24>>2];if(a){Us(a)}a=v[d+28>>2];if(a){$e(a)}a=v[d+32>>2];if(!a){break i}$e(a);break i}$v(f,v[n+4>>2],q,k,p,g);e=e+1|0;if(e>>>0>=y[c+24>>2]){break n}d=d+60|0;g=v[c+28>>2];continue}}v[c+44>>2]=0;v[c+48>>2]=0;v[c+4>>2]=d;v[c>>2]=f;v[c+16>>2]=0;v[c+20>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0}s=s+1|0;if(s>>>0>=y[i+32>>2]){break m}c=c+52|0;f=v[h>>2];continue}}h=h+36|0;r=r+1|0;if(r>>>0>2]){continue}break}}f=v[j>>2];z=z+1|0;if(f>>>0<=z>>>0){break k}i=i- -64|0;e=v[j+4>>2];continue}}e=v[a+48>>2];u=u+1|0;if(e>>>0<=u>>>0){break c}j=j+716|0;e=v[l+48>>2];continue}break}X(66090,52387,2104,188871);L()}X(66135,52387,2535,188884);L()}F2(c)}d=v[h>>2];if(!d){break g}a=v[h+32>>2];if(v[a+32>>2]){c=0;while(1){F2(d);d=d+52|0;c=c+1|0;if(c>>>0>2]){continue}break}d=v[h>>2]}dc(d)}a=v[h+4>>2];if(a){$e(a)}b=v[i+56>>2];if(!b){break f}if(v[i+52>>2]){h=0;while(1){a=v[b>>2];if(a){e=0;f=v[b+32>>2];if(v[f+32>>2]){while(1){d=v[a+28>>2];if(d){c=0;if(v[a+24>>2]){while(1){g=v[d+4>>2];if(g){dc(g)}g=v[d+20>>2];if(g){Te(g)}g=v[d+24>>2];if(g){Us(g)}g=v[d+28>>2];if(g){$e(g)}g=v[d+32>>2];if(g){$e(g)}d=d+60|0;c=c+1|0;if(c>>>0>2]){continue}break}d=v[a+28>>2]}dc(d)}c=v[a+32>>2];if(c){$h(c)}c=v[a+36>>2];if(c){$h(c)}c=v[a+44>>2];if(c){$h(c)}c=v[a+48>>2];if(c){$h(c)}a=a+52|0;e=e+1|0;if(e>>>0>2]){continue}break}a=v[b>>2]}dc(a)}a=v[b+4>>2];if(a){$e(a)}b=b+36|0;h=h+1|0;if(h>>>0>2]){continue}break}b=v[i+56>>2]}dc(b)}h=v[j+4>>2];if(!h){break e}d=v[j>>2];if(d){g=0;while(1){f=v[h+56>>2];if(f){b=0;if(v[h+52>>2]){while(1){a=v[f>>2];if(a){e=0;i=v[f+32>>2];if(v[i+32>>2]){while(1){d=v[a+28>>2];if(d){c=0;if(v[a+24>>2]){while(1){k=v[d+4>>2];if(k){dc(k)}k=v[d+20>>2];if(k){Te(k)}k=v[d+24>>2];if(k){Us(k)}k=v[d+28>>2];if(k){$e(k)}k=v[d+32>>2];if(k){$e(k)}d=d+60|0;c=c+1|0;if(c>>>0>2]){continue}break}d=v[a+28>>2]}dc(d)}c=v[a+32>>2];if(c){$h(c)}c=v[a+36>>2];if(c){$h(c)}c=v[a+44>>2];if(c){$h(c)}c=v[a+48>>2];if(c){$h(c)}a=a+52|0;e=e+1|0;if(e>>>0>2]){continue}break}a=v[f>>2]}dc(a)}a=v[f+4>>2];if(a){$e(a)}f=f+36|0;b=b+1|0;if(b>>>0>2]){continue}break}f=v[h+56>>2]}dc(f);d=v[j>>2]}h=h- -64|0;g=g+1|0;if(g>>>0>>0){continue}break}h=v[j+4>>2]}dc(h)}a=v[j+8>>2];if(a){$e(a)}a=v[j+20>>2];if(!a){break b}dc(a);break b}e=0}c=6792;h=6792;o:{p:{switch(w[l+28|0]-1|0){default:if(!e){break o}c=e&7;d=v[l+48>>2];if(e-1>>>0>=7){h=e&-8;while(1){v[d+24>>2]=8192;v[d+5036>>2]=8192;v[d+4320>>2]=8192;v[d+3604>>2]=8192;v[d+2888>>2]=8192;v[d+2172>>2]=8192;v[d+1456>>2]=8192;v[d+740>>2]=8192;d=d+5728|0;h=h-8|0;if(h){continue}break}}if(!c){break o}while(1){v[d+24>>2]=8192;d=d+716|0;c=c-1|0;if(c){continue}break};break o;case 0:h=12889;c=14787;break;case 1:break p}}b=v[l+48>>2];v[b+24>>2]=14188;v[b+1456>>2]=h;v[b+740>>2]=c}n=l;i=0;e=s2();b=0;q:{if(!e){break q}v[e+104>>2]=-1;d=a;a=v[d+48>>2];v[e+8>>2]=a;c=jc(a<<4);v[e+12>>2]=c;r:{if(!c){break r}s:{t:{f=v[e+8>>2];if((f|0)<1){break t}b=f&7;a=c;if(f-1>>>0>=7){g=f&-8;while(1){v[a+4>>2]=0;v[a+116>>2]=0;v[a+100>>2]=0;v[a+84>>2]=0;v[a+68>>2]=0;v[a+52>>2]=0;v[a+36>>2]=0;v[a+20>>2]=0;a=a+128|0;g=g-8|0;if(g){continue}break}}if(b){while(1){v[a+4>>2]=0;a=a+16|0;b=b-1|0;if(b){continue}break}}if((f|0)<1){break t}h=v[l+48>>2];while(1){a=v[h>>2];v[c>>2]=a;b=jc(B(a,20));v[c+4>>2]=b;if(!b){break r}j=v[c>>2];u=(j|0)<1;u:{if(u){break u}g=j&7;a=b;if(j-1>>>0>=7){f=j&-8;while(1){v[a+4>>2]=0;v[a+144>>2]=0;v[a+124>>2]=0;v[a+104>>2]=0;v[a+84>>2]=0;v[a- -64>>2]=0;v[a+44>>2]=0;v[a+24>>2]=0;a=a+160|0;f=f-8|0;if(f){continue}break}}if(g){while(1){v[a+4>>2]=0;a=a+20|0;g=g-1|0;if(g){continue}break}}if(u){break u}a=v[h+4>>2];f=0;while(1){g=v[a+32>>2];v[b>>2]=g;v:{if(g){g=jc(g<<2);v[b+4>>2]=g;if(!g){break r}j=v[c>>2];break v}v[b+4>>2]=0}a=a- -64|0;b=b+20|0;f=f+1|0;if((j|0)>(f|0)){continue}break}}c=c+16|0;h=h+716|0;f=v[e+8>>2];i=i+1|0;if((f|0)>(i|0)){continue}break}b=0;v[e+4>>2]=0;if((f|0)<1){break s}i=v[d+52>>2];h=v[l+48>>2];c=v[e+12>>2];d=0;while(1){a=i+B(d,412)|0;v[c+8>>2]=w[a|0];v[c+12>>2]=w[a+1|0];a=v[c>>2];if((a|0)>=1){g=v[c+4>>2];f=v[h+4>>2];j=0;while(1){v[g+8>>2]=v[f+16>>2];v[g+12>>2]=v[f+20>>2];if(v[g>>2]>=1){a=v[g+4>>2];b=0;while(1){v[a>>2]=0;a=a+4|0;b=b+1|0;if((b|0)>2]){continue}break}a=v[c>>2]}v[g+16>>2]=v[f+24>>2];f=f- -64|0;g=g+20|0;j=j+1|0;if((j|0)<(a|0)){continue}break}b=v[e+4>>2]}a=v[h>>2];if((a|0)>(b|0)){v[e+4>>2]=a;b=a}c=c+16|0;h=h+716|0;d=d+1|0;f=v[e+8>>2];if((d|0)<(f|0)){continue}break}break s}b=0;v[e+4>>2]=0}a=v[l+24>>2];v[e>>2]=a;v[e+56>>2]=v[l+4>>2];v[e+60>>2]=v[l+8>>2];v[e+64>>2]=v[l+12>>2];c=v[l+16>>2];v[e+16>>2]=0;v[e+20>>2]=0;v[e+68>>2]=c;v[e+24>>2]=0;v[e+28>>2]=0;v[e+32>>2]=0;v[e+36>>2]=0;v[e+40>>2]=0;v[e+44>>2]=0;v[e+48>>2]=0;v[e+52>>2]=0;v[e+96>>2]=-1;c=w[l+21|0];v[e+88>>2]=f;v[e+84>>2]=0;t[e+80|0]=c;v[e+92>>2]=a;t[e+82|0]=b;t[e+81|0]=0;t[e+101|0]=0;v[e+72>>2]=0;b=e;break q}dB(e);b=0}v[n+32>>2]=b;if(b){break a}}TJ(l)}l=0}Qb=x+4e3|0;return l}function wH(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;e=Qb-176|0;Qb=e;v[e+172>>2]=0;q=v[a+12>>2];m=v[a>>2];if(x[m+290>>1]>>0){u[m+290>>1]=c}v[a+20>>2]=b;s=65536;o=65536;if(!(t[a+16|0]&1)){f=v[v[a+4>>2]+44>>2];s=v[f+8>>2];o=v[f+4>>2]}B=v[v[m+128>>2]+52>>2];a:{b:{if(B){f=Ub[v[v[B>>2]>>2]](v[B+4>>2],b,e+120|0)|0;v[e+172>>2]=f;if(f){break a}g=v[e+124>>2];v[a+28>>2]=g;v[e+160>>2]=0;v[e+164>>2]=0;v[e+152>>2]=0;v[e+156>>2]=0;v[e+144>>2]=0;v[e+148>>2]=0;v[e+136>>2]=0;v[e+140>>2]=0;v[e+128>>2]=0;v[e+132>>2]=0;i=v[e+120>>2];f=e+128|0;v[f+32>>2]=0;v[f+8>>2]=0;v[f+4>>2]=g;v[f>>2]=i;v[f+20>>2]=0;v[f+24>>2]=0;v[a+24>>2]=f;f=0;break b}f=oH(m,b,a+28|0)}g=v[a+28>>2];c:{if((g|0)>=1){i=v[m+728>>2];if(!(i|v[v[m+128>>2]+52>>2])){v[e+172>>2]=8;break c}g=Ub[v[m+520>>2]](a,b,f+i|0,g)|0;v[e+172>>2]=g;if(g){break c}I=e,J=Ub[v[m+528>>2]](a)|0,v[I+172>>2]=J;Ub[v[m+524>>2]](a);if(v[e+172>>2]){break c}g=v[a+28>>2]}if(!(x[a+32>>1]?g:0)){v[a+36>>2]=0;v[a+40>>2]=0;v[a+44>>2]=0;v[a+48>>2]=0}g=v[a>>2];i=v[a+24>>2];u[e+80>>1]=0;u[e>>1]=0;u[e+40>>1]=0;u[e+64>>1]=0;k=v[i+8>>2];Ub[v[v[g+540>>2]+140>>2]](g,0,b,e+80|0,e+40|0);d:{if(w[g+292|0]){Ub[v[v[g+540>>2]+140>>2]](g,1,b,e,e- -64|0);break d}j=v[a+48>>2];if(x[g+372>>1]!=65535){l=u[g+442>>1];u[e>>1]=l-j;j=l-u[g+444>>1]|0;g=j>>31;u[e+64>>1]=g^g+j;break d}l=u[g+220>>1];u[e>>1]=l-j;j=l-u[g+222>>1]|0;g=j>>31;u[e+64>>1]=g^g+j}g=Yc(i,k);if(g){v[e+172>>2]=g;break c}i=u[e+80>>1];v[a+52>>2]=i;g=x[e+40>>1];v[a+56>>2]=g;k=u[e>>1];v[a+172>>2]=k;l=x[e+64>>1];v[a+176>>2]=l;if(!w[a+64|0]){v[a+60>>2]=g;t[a+64|0]=1}v[e+172>>2]=0;if(d){break c}d=v[a+28>>2];if(!(x[a+32>>1]?d:0)){f=v[a>>2];c=0;e:{if(v[v[f+96>>2]+64>>2]!=40){break e}d=v[a+156>>2];c=0;if(!d){break e}c=w[d+613|0]!=0&w[d+618|0]!=0}v[a+80>>2]=0;v[a+72>>2]=0;c=c?g>>>1|0:0;v[a+188>>2]=c;d=k+v[a+48>>2]|0;v[a+184>>2]=d;v[a+180>>2]=c;c=v[a+36>>2]-i|0;v[a+68>>2]=c;v[a+192>>2]=d-l;v[a+76>>2]=c+g;c=v[v[f+128>>2]+52>>2];f:{if(!c){break f}d=v[v[c>>2]+8>>2];if(!d){break f}v[e+92>>2]=0;v[e+88>>2]=g;v[e+84>>2]=0;v[e+80>>2]=i;if(Ub[d|0](v[c+4>>2],b,0,e+80|0)|0){break f}d=u[e+80>>1];c=x[e+88>>1];v[a+172>>2]=0;v[a+176>>2]=0;v[a+56>>2]=c;v[a+52>>2]=d;if(w[a+64|0]){break f}v[a+60>>2]=c;t[a+64|0]=1}g:{if(!(w[m+9|0]&128?1:x[m+6>>1]&32767)){break g}v[e+76>>2]=16843009;v[e+64>>2]=65536;v[e+68>>2]=196610;v[e+24>>2]=0;v[e+28>>2]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;v[e>>2]=0;v[e+4>>2]=0;v[e+80>>2]=v[a+68>>2];v[e+84>>2]=v[a+72>>2];v[e+88>>2]=v[a+76>>2];v[e+92>>2]=v[a+80>>2];v[e+96>>2]=v[a+180>>2];v[e+100>>2]=v[a+184>>2];v[e+104>>2]=v[a+188>>2];v[e+108>>2]=v[a+192>>2];v[e+40>>2]=262148;v[e+52>>2]=e- -64;v[e+48>>2]=e+76;v[e+44>>2]=e+80;b=nH(v[a>>2],b,e+40|0,e,4);v[e+172>>2]=b;if(b){break c}v[a+68>>2]=v[e+80>>2];v[a+72>>2]=v[e+84>>2];v[a+76>>2]=v[e+88>>2];v[a+80>>2]=v[e+92>>2];v[a+180>>2]=v[e+96>>2];v[a+184>>2]=v[e+100>>2];v[a+188>>2]=v[e+104>>2];v[a+192>>2]=v[e+108>>2];b=v[v[a>>2]+740>>2];if(!(b&2)){v[a+60>>2]=((v[e+8>>2]-v[e>>2]|0)+32&-64)/64}if(b&16){break g}v[a+176>>2]=((v[e+24>>2]-v[e+16>>2]|0)+32&-64)/64}if(!(t[a+16|0]&1)){I=a,J=Ac(v[a+68>>2],o),v[I+68>>2]=J;I=a,J=Ac(v[a+76>>2],o),v[I+76>>2]=J;I=a,J=Ac(v[a+180>>2],o),v[I+180>>2]=J;I=a,J=Ac(v[a+184>>2],s),v[I+184>>2]=J;I=a,J=Ac(v[a+188>>2],o),v[I+188>>2]=J;I=a,J=Ac(v[a+192>>2],s),v[I+192>>2]=J}v[e+172>>2]=0;break c}p=v[a>>2];j=0;h:{if(v[v[p+96>>2]+64>>2]!=40){break h}n=v[a+156>>2];j=0;if(!n){break h}j=w[n+613|0]!=0&w[n+618|0]!=0}v[a+80>>2]=0;v[a+72>>2]=0;j=j?g>>>1|0:0;v[a+188>>2]=j;k=k+v[a+48>>2]|0;v[a+184>>2]=k;v[a+180>>2]=j;j=v[a+36>>2]-i|0;v[a+68>>2]=j;v[a+192>>2]=k-l;v[a+76>>2]=g+j;j=v[v[p+128>>2]+52>>2];i:{if(!j){break i}k=v[v[j>>2]+8>>2];if(!k){break i}v[e+92>>2]=0;v[e+88>>2]=g;v[e+84>>2]=0;v[e+80>>2]=i;j:{if(Ub[k|0](v[j+4>>2],b,0,e+80|0)|0){break j}g=u[e+80>>1];d=x[e+88>>1];v[a+172>>2]=0;v[a+176>>2]=0;v[a+56>>2]=d;v[a+52>>2]=g;if(w[a+64|0]){break j}v[a+60>>2]=d;t[a+64|0]=1}d=v[a+28>>2]}d=Ub[v[m+520>>2]](a,b,(f+v[m+728>>2]|0)+10|0,d-10|0)|0;v[e+172>>2]=d;if(d){break c}k:{d=u[a+32>>1];if((d|0)>=1){b=Ub[v[m+532>>2]](a)|0;v[e+172>>2]=b;if(b){break k}Ub[v[m+524>>2]](a);b=0;j=Qb-16|0;Qb=j;h=v[a+12>>2];v[j+12>>2]=0;d=v[v[a>>2]+100>>2];f=v[a+72>>2];i=u[h+58>>1];c=v[h+60>>2]+(i<<3)|0;v[c>>2]=v[a+68>>2];v[c+4>>2]=f;f=v[a+80>>2];k=i+1|0;c=v[h+60>>2]+(k<<3)|0;v[c>>2]=v[a+76>>2];v[c+4>>2]=f;f=v[a+184>>2];l=i+2|0;c=v[h+60>>2]+(l<<3)|0;v[c>>2]=v[a+180>>2];v[c+4>>2]=f;f=v[a+192>>2];n=i+3|0;c=v[h+60>>2]+(n<<3)|0;v[c>>2]=v[a+188>>2];v[c+4>>2]=f;c=h- -64|0;t[i+v[c>>2]|0]=0;t[k+v[c>>2]|0]=0;t[l+v[c>>2]|0]=0;t[n+v[c>>2]|0]=0;p=i+4|0;c=v[a>>2];l:{if(w[c+9|0]&128?1:x[c+6>>1]&32767){b=Cc(d,8,0,p,0,j+12|0);if(v[j+12>>2]){break l}c=nH(v[a>>2],v[a+20>>2],h+56|0,b,p);v[j+12>>2]=c;f=v[v[a>>2]+740>>2];if(!(f&2)){v[a+60>>2]=((v[(k<<3)+b>>2]-v[(i<<3)+b>>2]|0)+32&-64)/64}if(!(f&16)){v[a+176>>2]=((v[(n<<3)+b>>2]-v[(l<<3)+b>>2]|0)+32&-64)/64}if(c){break l}}o=0;g=0;c=v[a+16>>2];if(!(c&2)){c=x[h+58>>1];u[a+128>>1]=c;u[a+130>>1]=x[h+56>>1];v[a+132>>2]=v[h+76>>2];f=v[h+60>>2];v[a+136>>2]=f;s=v[h+80>>2];v[a+140>>2]=s;v[a+144>>2]=v[h+64>>2];C=v[h+68>>2];u[a+152>>1]=0;v[a+148>>2]=C;gc(s,f,(c<<3)+32|0);c=v[a+16>>2]}m:{if(c&1){break m}f=v[h+60>>2];p=f+(p<<3)|0;c=v[v[a+4>>2]+44>>2];o=v[c+8>>2];g=v[c+4>>2];c=v[a>>2];if(!(x[c+6>>1]&32767|w[c+9|0]&128)){if((i|0)<=-4){break m}while(1){I=f,J=Ac(v[f>>2],g),v[I>>2]=J;I=f,J=Ac(v[f+4>>2],o),v[I+4>>2]=J;f=f+8|0;if(p>>>0>f>>>0){continue}break}break m}if((i|0)<-3){break m}c=b;while(1){I=f,J=Ac(v[c>>2],g)+32>>6,v[I>>2]=J;I=f,J=Ac(v[c+4>>2],o)+32>>6,v[I+4>>2]=J;c=c+8|0;f=f+8|0;if(p>>>0>f>>>0){continue}break}}f=v[a>>2];n:{if(!(!(w[f+740|0]&2)|w[a+16|0]&2)){I=a,J=Ac(v[a+68>>2],g),v[I+68>>2]=J;I=a,J=Ac(v[a+76>>2],g),v[I+76>>2]=J;f=v[a>>2];break n}c=v[h+60>>2]+(i<<3)|0;i=v[c+4>>2];v[a+68>>2]=v[c>>2];v[a+72>>2]=i;c=v[h+60>>2]+(k<<3)|0;i=v[c+4>>2];v[a+76>>2]=v[c>>2];v[a+80>>2]=i}o:{if(!(!(w[f+740|0]&16)|w[a+16|0]&2)){I=a,J=Ac(v[a+180>>2],g),v[I+180>>2]=J;I=a,J=Ac(v[a+184>>2],o),v[I+184>>2]=J;I=a,J=Ac(v[a+188>>2],g),v[I+188>>2]=J;I=a,J=Ac(v[a+192>>2],o),v[I+192>>2]=J;break o}c=v[h+60>>2]+(l<<3)|0;f=v[c+4>>2];v[a+180>>2]=v[c>>2];v[a+184>>2]=f;c=v[h+60>>2]+(n<<3)|0;f=v[c+4>>2];v[a+188>>2]=v[c>>2];v[a+192>>2]=f}if(w[a+16|0]&2){break l}u[a+128>>1]=x[a+128>>1]+4;I=j,J=WY(a,0),v[I+12>>2]=J}if(b){Ub[v[d+8>>2]](d,b)}Qb=j+16|0;a=v[j+12>>2];v[e+172>>2]=a;if(a){break c}Av(q);break c}if((d|0)>-1){break k}n=v[m+100>>2];u[a+32>>1]=65535;g=a+204|0;p:{q:{d=v[a+204>>2];r:{if(d){f=c;while(1){if(!f){f=d;while(1){v[f+8>>2]=-1;f=v[f+4>>2];if(f){continue}break}if(VH(g,b)){break r}v[d+8>>2]=b;break p}f=f-1|0;d=v[d+4>>2];if(d){continue}break}}if(!VH(g,b)){break q}}v[e+172>>2]=21;break k}d=Fd(n,12,e+172|0);if(v[e+172>>2]){break k}v[d+8>>2]=b;if(!(!g|!d)){f=v[g+4>>2];v[d>>2]=f;v[d+4>>2]=0;v[(f?f+4|0:g)>>2]=d;v[g+4>>2]=d}}j=u[q+22>>1];C=u[q+20>>1];d=Ub[v[m+536>>2]](a)|0;v[e+172>>2]=d;if(d){break k}F=v[a+164>>2];Ub[v[m+524>>2]](a);if(w[m+9|0]&128?1:x[m+6>>1]&32767){z=v[q+84>>2];d=z+4|0;u[e+80>>1]=d;u[e+82>>1]=d;p=d<<16>>16;i=Cc(n,8,0,p,0,e+172|0);g=0;f=0;d=0;s:{if(v[e+172>>2]){break s}k=Cc(n,1,0,p,0,e+172|0);d=0;if(v[e+172>>2]){break s}l=Cc(n,2,0,p,0,e+172|0);d=0;if(v[e+172>>2]){break s}f=Cc(n,8,0,p,0,e+172|0);d=0;if(v[e+172>>2]){break s}z=z<<16;A=z>>16;if((z|0)>=1){d=v[q+88>>2];while(1){r=i+(h<<3)|0;v[r>>2]=v[d+8>>2];v[r+4>>2]=v[d+12>>2];t[h+k|0]=1;u[l+(h<<1)>>1]=g;d=d+32|0;g=g+1|0;h=g<<16>>16;if((A|0)>(h|0)){continue}break}}d=i+(h<<3)|0;v[d>>2]=v[a+68>>2];v[d+4>>2]=v[a+72>>2];t[h+k|0]=1;u[l+(h<<1)>>1]=g;h=g+1|0;d=h<<16>>16;r=i+(d<<3)|0;v[r>>2]=v[a+76>>2];v[r+4>>2]=v[a+80>>2];t[d+k|0]=1;u[l+(d<<1)>>1]=h;h=g+2|0;d=h<<16>>16;r=i+(d<<3)|0;v[r>>2]=v[a+180>>2];v[r+4>>2]=v[a+184>>2];t[d+k|0]=1;u[l+(d<<1)>>1]=h;h=g+3|0;d=h<<16>>16;g=i+(d<<3)|0;v[g>>2]=v[a+188>>2];v[g+4>>2]=v[a+192>>2];t[d+k|0]=1;u[l+(d<<1)>>1]=h;v[e+92>>2]=l;v[e+88>>2]=k;v[e+84>>2]=i;b=nH(m,b,e+80|0,f,p);v[e+172>>2]=b;t:{if(b){break t}u:{if((z|0)<1){d=0;break u}b=v[q+88>>2];d=0;h=0;while(1){if(w[b+4|0]&2){d=i+(d<<3)|0;v[b+8>>2]=u[d>>1];v[b+12>>2]=u[d+4>>1]}b=b+32|0;h=h+1|0;d=h<<16>>16;if((A|0)>(d|0)){continue}break}}b=i+(d<<3)|0;v[a+68>>2]=v[b>>2];v[a+72>>2]=v[b+4>>2];v[a+76>>2]=v[b+8>>2];v[a+80>>2]=v[b+12>>2];v[a+180>>2]=v[b+16>>2];v[a+184>>2]=v[b+20>>2];v[a+188>>2]=v[b+24>>2];v[a+192>>2]=v[b+28>>2];b=v[m+740>>2];if(!(b&2)){d=(p<<3)+f|0;v[a+60>>2]=((v[d-24>>2]-v[d-32>>2]|0)+32&-64)/64}if(b&16){break t}b=(p<<3)+f|0;v[a+176>>2]=((v[b-8>>2]-v[b-16>>2]|0)+32&-64)/64}h=l;g=i;d=k}if(g){Ub[v[n+8>>2]](n,g)}if(d){Ub[v[n+8>>2]](n,d)}if(h){Ub[v[n+8>>2]](n,h)}if(f){Ub[v[n+8>>2]](n,f)}if(v[e+172>>2]){break c}}b=v[a+16>>2];if(!(b&1)){I=a,J=Ac(v[a+68>>2],o),v[I+68>>2]=J;I=a,J=Ac(v[a+76>>2],o),v[I+76>>2]=J;I=a,J=Ac(v[a+180>>2],o),v[I+180>>2]=J;I=a,J=Ac(v[a+184>>2],s),v[I+184>>2]=J;I=a,J=Ac(v[a+188>>2],o),v[I+188>>2]=J;I=a,J=Ac(v[a+192>>2],s),v[I+192>>2]=J;b=v[a+16>>2]}if(b&1024){Av(q);v[v[a+8>>2]+72>>2]=1668246896;break c}n=v[q+48>>2];l=v[q+84>>2];p=v[a+28>>2];s=v[a+24>>2];Av(q);b=0;if(l){z=c+1|0;while(1){d=u[q+22>>1];f=v[a+176>>2];h=v[a+60>>2];g=v[a+188>>2];i=v[a+192>>2];k=v[a+180>>2];o=v[a+184>>2];A=v[a+76>>2];r=v[a+80>>2];G=v[a+68>>2];H=v[a+72>>2];D=b<<5;c=n<<5;E=wH(a,v[D+(c+v[q+52>>2]|0)>>2],z,0);v[e+172>>2]=E;if(E){break c}c=D+(c+v[q+52>>2]|0)|0;if(!(w[c+5|0]&2)){v[a+188>>2]=g;v[a+192>>2]=i;v[a+180>>2]=k;v[a+184>>2]=o;v[a+76>>2]=A;v[a+80>>2]=r;v[a+68>>2]=G;v[a+72>>2]=H;v[a+176>>2]=f;v[a+60>>2]=h}A=x[q+22>>1];if((A|0)!=(d&65535)){o=0;g=Qb-32|0;Qb=g;i=v[a+12>>2];v[g+12>>2]=v[i+24>>2]+(d<<3);u[g+10>>1]=x[i+22>>1]-d;k=x[c+4>>1];r=k&200;if(r){ln(g+8|0,c+16|0);k=x[c+4>>1]}h=v[c+12>>2];f=v[c+8>>2];v:{w:{if(!(k&2)){o=21;f=f+j|0;if(f>>>0>=d>>>0){break v}d=d+h|0;if(d>>>0>=u[i+22>>1]>>>0){break v}h=f<<3;f=v[i+24>>2];i=h+f|0;d=f+(d<<3)|0;h=v[i+4>>2]-v[d+4>>2]|0;f=v[i>>2]-v[d>>2]|0;break w}if(!(f|h)){break v}if(!(!r|!(k&2048))){d=$H(v[c+16>>2],v[c+20>>2]);i=$H(v[c+28>>2],v[c+24>>2]);f=Ac(f,d);h=Ac(h,i)}if(t[a+16|0]&1){break w}d=v[v[a+4>>2]+44>>2];i=v[d+8>>2];f=Ac(f,v[d+4>>2]);h=Ac(h,i);if(!(w[c+4|0]&4)|w[a+16|0]&2){break w}f=v[v[v[a>>2]+96>>2]+64>>2]==35?f+32&-64:f;h=h+32&-64}o=0;if(!(f|h)){break v}dh(g+8|0,f,h)}Qb=g+32|0;v[e+172>>2]=o;if(o){break c}}b=b+1|0;if((l|0)!=(b|0)){continue}break}b=c;c=A<<16>>16}else{c=j}v[a+164>>2]=F;v[a+28>>2]=p;v[a+24>>2]=s;if(!(!b|w[a+16|0]&2|(!(t[b+5|0]&1)|c>>>0<=j>>>0))){f=Qb-16|0;Qb=f;b=v[a+12>>2];d=u[b+22>>1];c=d+4|0;x:{if(!(!c|y[b+4>>2]>=u[b+58>>1]+(c+d|0)>>>0)){d=xg(b,c,0);if(d){break x}d=u[b+22>>1]}c=v[b+24>>2]+(d<<3)|0;d=v[a+72>>2];v[c>>2]=v[a+68>>2];v[c+4>>2]=d;d=v[a+80>>2];c=v[b+24>>2]+(u[b+22>>1]<<3)|0;v[c+8>>2]=v[a+76>>2];v[c+12>>2]=d;d=v[a+184>>2];c=v[b+24>>2]+(u[b+22>>1]<<3)|0;v[c+16>>2]=v[a+180>>2];v[c+20>>2]=d;d=v[a+192>>2];c=v[b+24>>2]+(u[b+22>>1]<<3)|0;v[c+24>>2]=v[a+188>>2];v[c+28>>2]=d;t[v[b+28>>2]+u[b+22>>1]|0]=0;t[(u[b+22>>1]+v[b+28>>2]|0)+1|0]=0;t[(u[b+22>>1]+v[b+28>>2]|0)+2|0]=0;t[(u[b+22>>1]+v[b+28>>2]|0)+3|0]=0;c=v[a+24>>2];d=Yc(c,v[a+164>>2]);v[f+12>>2]=d;if(d){break x}b=Ed(c,f+12|0);d=v[f+12>>2];if(d){break x}y:{if(b>>>0>x[v[a>>2]+286>>1]){d=22;if((b|0)>v[a+28>>2]){break x}d=v[a+156>>2];v[f+8>>2]=v[d+392>>2];d=YY(v[d+8>>2],f+8|0,d+396|0,b);v[f+12>>2]=d;g=v[a+156>>2];v[g+392>>2]=x[f+8>>1];if(!d){break y}break x}if(!b){d=0;break x}g=v[a+156>>2]}d=Lf(c,v[g+396>>2],b);v[f+12>>2]=d;if(d){break x}c=v[v[a+156>>2]+396>>2];d=v[a+8>>2];v[d+140>>2]=b;v[d+136>>2]=c;b=v[a+12>>2];h=x[b+22>>1]-j|0;u[a+128>>1]=h;u[a+130>>1]=x[b+20>>1]-C;c=j<<3;v[a+132>>2]=c+v[b+40>>2];v[a+136>>2]=c+v[b+24>>2];v[a+140>>2]=c+v[b+44>>2];d=j+v[b+28>>2]|0;v[a+144>>2]=d;b=v[b+32>>2];u[a+152>>1]=j;c=1;v[a+148>>2]=b+(C<<1);b=a;if(h&65535){t[d|0]=w[d|0]&231;d=x[a+128>>1];if(d>>>0>=2){while(1){d=v[a+144>>2]+c|0;t[d|0]=w[d|0]&231;c=c+1|0;d=x[a+128>>1];if(c>>>0>>0){continue}break}}c=d+4|0}else{c=4}u[b+128>>1]=c;d=WY(a,1)}Qb=f+16|0;v[e+172>>2]=d;if(d){break c}}if(!v[q+48>>2]|!(w[v[q+52>>2]+5|0]&4)){break c}v[q+36>>2]=v[q+36>>2]|64;break c}Ub[v[m+524>>2]](a)}if(!B){break a}a=v[v[m+128>>2]+52>>2];Ub[v[v[a>>2]+4>>2]](v[a+4>>2],e+120|0)}Qb=e+176|0;return v[e+172>>2]}function _S(a,b){var 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,w=0,x=0,y=0,z=0,C=0,E=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;R=Qb-512|0;Qb=R;c=v[a+8>>2];a:{if(Ub[v[v[c>>2]+216>>2]](c,v[a+28>>2],b)|0){break a}b:{switch(v[b+4>>2]-1|0){case 0:f=A[b+200>>3];d=A[b+208>>3];h=A[b+184>>3];g=A[b+192>>3];al(b,h,g,R);al(b,h,d,R+128|0);al(b,f,g,R+256|0);al(b,f,d,R+384|0);lu(a,b,h,g,f,d,R,0);break a;case 1:k=Qb-32800|0;Qb=k;c=a;du(v[a+28>>2],k+32792|0,k+32784|0,k+32776|0,k+32768|0);w=A[b+184>>3];n=A[b+200>>3]-w;E=D(n);z=A[b+192>>3];o=A[b+208>>3]-z;H=D(o);I=E<1e-4&H<1e-4;c:{if(I){p=z+o*0;t=w+n*0;a=v[b+364>>2];O=A[b+224>>3];f=A[b+216>>3];break c}g=1/(n*n+o*o);i=A[k+32792>>3];f=n*(i-w);l=A[k+32768>>3];s=o*(l-z);d=g*(f+s);y=A[k+32784>>3];p=o*(y-z);f=g*(f+p);d:{if(df)){h=f;break d}h=d}d=p;u=A[k+32776>>3];p=n*(u-w);d=g*(d+p);e:{if(dh)){break e}h=d}d=g*(s+p);f:{if(dh)){break f}h=d}P=F(h,1);e=v[b+368>>2];a=v[b+364>>2];s=G(f,0);p=z+o*s;t=w+n*s;g:{if(E>H){d=(l-p)/n;l=(y-p)/n;break g}g=-o;d=(u-t)/g;l=(i-t)/g}L=e?h:P;i=a?f:s;O=A[b+224>>3];f=A[b+216>>3];if(!(dH){i=(A[k+32768>>3]-y)/n;g=(A[k+32784>>3]-y)/n;break i}d=-o;i=(A[k+32776>>3]-u)/d;g=(A[k+32792>>3]-u)/d}if(!(g>i)){d=g;g=i;break h}d=i}gc(v[c+28>>2]+124|0,k,128);a=v[c+8>>2];Ub[v[v[a>>2]+116>>2]](a,v[c+28>>2]);a=v[c+28>>2];i=y+n*d;A[a+608>>3]=i;d=u-o*d;A[a+600>>3]=d;a=v[a+596>>2];A[a+16>>3]=i;A[a+8>>3]=d;v[a>>2]=1;a=v[c+28>>2];d=y+n*g;A[a+608>>3]=d;g=u-o*g;A[a+600>>3]=g;Ud(v[a+596>>2],g,d);a=v[c+28>>2];A[a+608>>3]=h;A[a+600>>3]=l;Ud(v[a+596>>2],l,h);a=v[c+28>>2];A[a+608>>3]=p;A[a+600>>3]=t;Ud(v[a+596>>2],t,p);a=v[c+28>>2];Hf(v[a+596>>2]);e=v[a+596>>2];e=v[((v[e+28>>2]<<2)+v[e+24>>2]|0)-4>>2];q=(v[e+12>>2]<<3)-8|0;A[a+600>>3]=A[q+v[e>>2]>>3];A[a+608>>3]=A[q+v[e+4>>2]>>3];a=v[c+8>>2];Ub[v[v[a>>2]+204>>2]](a,v[c+28>>2]);vf(v[c+28>>2])}d=O-f;M=P-s;a=0;while(1){ly(b,f+d*(s+M*(+(a|0)+.5)*.00390625),k+(a<<7)|0);a=a+1|0;if((a|0)!=256){continue}break};g=-o;a=0;e=v[b+8>>2];m=Ub[v[v[e>>2]+28>>2]](e)|0;while(1){j:{q=a;a=v[c+116>>2];k:{if(!a){break k}if((V|0)<100){V=V+1|0;break k}V=0;if(Ub[a|0](v[c+120>>2])|0){break j}}e=q+1|0;j=(q|0)>254;a=j?e:256;l:{if((m|0)<1|j){break l}while(1){a=0;m:{while(1){j=a<<2;C=v[j+(k+(e<<7)|0)>>2]-v[j+(k+(q<<7)|0)>>2]|0;j=C>>31;if((j^j+C)>>>0<=256){a=a+1|0;if((m|0)!=(a|0)){continue}break m}break}a=e;break l}a=256;e=e+1|0;if((e|0)!=256){continue}break}}f=s+M*+(a|0)*.00390625;y=z+o*f;u=w+n*f;d=0;f=0;n:{if(I){break n}o:{if(E>H){i=(A[k+32768>>3]-y)/n;f=(A[k+32784>>3]-y)/n;break o}i=(A[k+32776>>3]-u)/g;f=(A[k+32792>>3]-u)/g}if(!(f>i)){d=f;f=i;break n}d=i}gc(v[c+28>>2]+124|0,k+(q<<7)|0,128);e=v[c+8>>2];Ub[v[v[e>>2]+116>>2]](e,v[c+28>>2]);e=v[c+28>>2];A[e+608>>3]=p;A[e+600>>3]=t;e=v[e+596>>2];A[e+16>>3]=p;A[e+8>>3]=t;v[e>>2]=1;e=v[c+28>>2];A[e+608>>3]=h;A[e+600>>3]=l;Ud(v[e+596>>2],l,h);e=v[c+28>>2];h=y+n*f;A[e+608>>3]=h;l=u-o*f;A[e+600>>3]=l;Ud(v[e+596>>2],l,h);e=v[c+28>>2];p=y+n*d;A[e+608>>3]=p;t=u-o*d;A[e+600>>3]=t;Ud(v[e+596>>2],t,p);e=v[c+28>>2];Hf(v[e+596>>2]);q=v[e+596>>2];q=v[((v[q+28>>2]<<2)+v[q+24>>2]|0)-4>>2];j=(v[q+12>>2]<<3)-8|0;A[e+600>>3]=A[j+v[q>>2]>>3];A[e+608>>3]=A[j+v[q+4>>2]>>3];e=v[c+8>>2];Ub[v[v[e>>2]+204>>2]](e,v[c+28>>2]);vf(v[c+28>>2]);if((a|0)<256){continue}}break};if(!(!v[b+368>>2]|!(L>P))){ly(b,O,k);i=z+o*L;w=w+n*L;d=0;f=0;p:{if(I){break p}q:{if(E>H){s=(A[k+32768>>3]-i)/n;f=(A[k+32784>>3]-i)/n;break q}s=(A[k+32776>>3]-w)/g;f=(A[k+32792>>3]-w)/g}if(!(f>s)){d=f;f=s;break p}d=s}gc(v[c+28>>2]+124|0,k,128);a=v[c+8>>2];Ub[v[v[a>>2]+116>>2]](a,v[c+28>>2]);a=v[c+28>>2];A[a+608>>3]=p;A[a+600>>3]=t;a=v[a+596>>2];A[a+16>>3]=p;A[a+8>>3]=t;v[a>>2]=1;a=v[c+28>>2];A[a+608>>3]=h;A[a+600>>3]=l;Ud(v[a+596>>2],l,h);a=v[c+28>>2];h=i+n*f;A[a+608>>3]=h;f=w-o*f;A[a+600>>3]=f;Ud(v[a+596>>2],f,h);a=v[c+28>>2];f=i+n*d;A[a+608>>3]=f;d=w-o*d;A[a+600>>3]=d;Ud(v[a+596>>2],d,f);a=v[c+28>>2];Hf(v[a+596>>2]);b=v[a+596>>2];b=v[((v[b+28>>2]<<2)+v[b+24>>2]|0)-4>>2];e=(v[b+12>>2]<<3)-8|0;A[a+600>>3]=A[e+v[b>>2]>>3];A[a+608>>3]=A[e+v[b+4>>2]>>3];a=v[c+8>>2];Ub[v[v[a>>2]+204>>2]](a,v[c+28>>2]);vf(v[c+28>>2])}Qb=k+32800|0;break a;case 2:e=a;c=0;m=Qb-288|0;Qb=m;w=A[b+192>>3];E=A[b+216>>3];z=A[b+184>>3];H=A[b+208>>3];y=A[b+240>>3];t=A[b+232>>3];p=A[b+224>>3];o=A[b+200>>3];a=v[b+8>>2];q=Ub[v[v[a>>2]+28>>2]](a)|0;r:{s:{O=H-z;P=E-w;f=K(O*O+P*P);if(f==0){break s}n=p-o;if(n!=0){if(D(n)>=f+-1e-4){break s}M=st(n/f)}s=Ff(P,O);du(v[e+28>>2],m+280|0,m+272|0,m+264|0,m+256|0);f=0;d=z+o;i=H+p-d;L=D(i);if(L>1e-6){f=(A[m+280>>3]-d)/i}d=z-o;i=H-p-d;r=D(i);if(r>1e-6){h=(A[m+264>>3]-d)/i}i=0;d=w+o;l=E+p-d;x=D(l);if(x>1e-6){i=(A[m+272>>3]-d)/l}d=w-o;l=E-p-d;S=D(l);if(S>1e-6){g=(A[m+256>>3]-d)/l}d=0;l=0;T=D(n);if(T>1e-6){u=-o/n;l=A[m+264>>3]-A[m+280>>3];J=l*l;l=A[m+256>>3]-A[m+272>>3];l=(K(J+l*l)-o)/n}t:{if(!v[b+380>>2]){break t}u:{if(!(!(f<0)|(!(z1e-6)))){c=1;d=f;break u}j=1;if(!(h<0)|(!(z>H)|!(r>1e-6))){break u}c=1;j=0;d=h}v:{w:{if(!(!(i<0)|(!(w1e-6)))){d=j?i:dE)|!(S>1e-6))){break v}d=j?g:d1e-6)|!(u<=0)){break t}d=c?d>2]){f=1;W=1;break r}x:{if(!(!(f>1)|(!(z>H)|!(L>1e-6)))){c=1;j=0;break x}c=0;j=1;f=1;if(!(h>1)|(!(z1e-6))){break x}c=1;j=0;f=h}y:{z:{if(!(!(i>1)|(!(w>E)|!(x>1e-6)))){f=j?i:f>i?i:f;break z}if(!(g>1)|(!(w1e-6))){break y}f=j?g:f>g?g:f}c=1}W=1;if(!(T>1e-6)|!(l>1)){break r}f=c?f>l?l:f:l;break r}du(v[e+28>>2],m+280|0,m+272|0,m+264|0,m+256|0);C=e+28|0;f=1}U=o>p;L=U?o:p;a=v[C>>2];h=D(A[a+40>>3]);g=D(A[a+32>>3]);i=D(A[a+24>>3]);l=D(A[a+16>>3]);i=i>l?i:l;g=g>i?g:i;h=L*(gy?y:h,m+128|0);h=t+S*f;$=hy?y:h;V=q&-2;aa=q&1;ba=f-d;h=M+M;ca=3.141592653589793-h;da=h+-3.141592653589793;T=s-M+-1.5707963267948966;Y=h+3.141592653589793;g=w+P*d;l=z+O*d;Z=p-o;i=o+Z*d;u=+(k|0);a=0;M=s+M+1.5707963267948966;ea=Ee(M);fa=Ve(M);while(1){C:{c=v[e+116>>2];D:{if(!c){break D}if((X|0)<100){X=X+1|0;break D}X=0;if(Ub[c|0](v[e+120>>2])|0){break C}}Mr(b,$,m);I=256;s=f;E:{if((a|0)>254){break E}while(1){c=0;F:{if((q|0)<1){break F}while(1){j=c<<2;N=v[j+m>>2]-v[j+(m+128|0)>>2]|0;j=N>>31;if((j^j+N)>>>0>256){break F}c=c+1|0;if((q|0)!=(c|0)){continue}break}c=q}if((c|0)==(q|0)&(I|0)<256){break E}I=(a+I|0)/2|0;s=d+ba*(+(I|0)*.00390625);h=t+S*s;Mr(b,hy?y:h,m);if((I-a|0)>1){continue}break}}h=Z*s;n=P*s;r=O*s;G:{if((q|0)<1){break G}c=0;a=V;if((q|0)!=1){while(1){j=c<<2;N=m+128|0;_=j+N|0;v[_>>2]=(v[j+m>>2]+v[_>>2]|0)/2;j=j|4;N=j+N|0;v[N>>2]=(v[j+m>>2]+v[N>>2]|0)/2;c=c+2|0;a=a-2|0;if(a){continue}break}}if(!aa){break G}a=c<<2;c=a+(m+128|0)|0;v[c>>2]=(v[a+m>>2]+v[c>>2]|0)/2}h=o+h;s=w+n;n=z+r;gc(v[e+28>>2]+124|0,m+128|0,128);a=v[e+8>>2];Ub[v[v[a>>2]+116>>2]](a,v[e+28>>2]);a=v[e+28>>2];H:{if(!W){A[a+608>>3]=g;r=i+l;A[a+600>>3]=r;a=v[a+596>>2];A[a+16>>3]=g;A[a+8>>3]=r;v[a>>2]=1;c=1;while(1){r=+(c|0)/u;r=(r+r)*3.141592653589793;x=Ee(r);a=v[C>>2];x=g+i*x;A[a+608>>3]=x;r=l+i*Ve(r);A[a+600>>3]=r;Ud(v[a+596>>2],r,x);c=c+1|0;if((k|0)!=(c|0)){continue}break}a=v[C>>2];Hf(v[a+596>>2]);c=v[a+596>>2];c=v[((v[c+28>>2]<<2)+v[c+24>>2]|0)-4>>2];j=(v[c+12>>2]<<3)-8|0;A[a+600>>3]=A[j+v[c>>2]>>3];A[a+608>>3]=A[j+v[c+4>>2]>>3];a=v[C>>2];A[a+608>>3]=s;g=n+h;A[a+600>>3]=g;a=v[a+596>>2];A[a+16>>3]=s;A[a+8>>3]=g;v[a>>2]=1;c=1;while(1){g=+(c|0)/u;g=(g+g)*-3.141592653589793;i=Ee(g);a=v[C>>2];i=s+h*i;A[a+608>>3]=i;g=n+h*Ve(g);A[a+600>>3]=g;Ud(v[a+596>>2],g,i);c=c+1|0;if((k|0)!=(c|0)){continue}break}c=v[C>>2];Hf(v[c+596>>2]);a=v[c+596>>2];j=v[((v[a+28>>2]<<2)+v[a+24>>2]|0)-4>>2];a=v[j+12>>2]-1|0;N=v[j>>2]+(a<<3)|0;break H}r=g+ea*i;A[a+608>>3]=r;x=fa*i+l;A[a+600>>3]=x;a=v[a+596>>2];A[a+16>>3]=r;A[a+8>>3]=x;v[a>>2]=1;c=0;j=0;while(1){J=M-Y*(+(j|0)/u);Q=Ee(J);a=v[C>>2];Q=s+h*Q;A[a+608>>3]=Q;J=n+h*Ve(J);A[a+600>>3]=J;Ud(v[a+596>>2],J,Q);j=j+1|0;if((k|0)!=(j|0)){continue}break}while(1){J=T+da*(+(c|0)/u);Q=Ee(J);a=v[C>>2];Q=g+i*Q;A[a+608>>3]=Q;J=l+i*Ve(J);A[a+600>>3]=J;Ud(v[a+596>>2],J,Q);c=c+1|0;if((k|0)!=(c|0)){continue}break}a=v[C>>2];Hf(v[a+596>>2]);c=v[a+596>>2];c=v[((v[c+28>>2]<<2)+v[c+24>>2]|0)-4>>2];j=(v[c+12>>2]<<3)-8|0;A[a+600>>3]=A[j+v[c>>2]>>3];A[a+608>>3]=A[j+v[c+4>>2]>>3];a=v[C>>2];A[a+608>>3]=r;A[a+600>>3]=x;a=v[a+596>>2];A[a+16>>3]=r;A[a+8>>3]=x;v[a>>2]=1;c=0;j=0;while(1){r=M+ca*(+(j|0)/u);x=Ee(r);a=v[C>>2];x=s+h*x;A[a+608>>3]=x;r=n+h*Ve(r);A[a+600>>3]=r;Ud(v[a+596>>2],r,x);j=j+1|0;if((k|0)!=(j|0)){continue}break}while(1){r=T+Y*(+(c|0)/u);x=Ee(r);a=v[C>>2];x=g+i*x;A[a+608>>3]=x;r=l+i*Ve(r);A[a+600>>3]=r;Ud(v[a+596>>2],r,x);c=c+1|0;if((k|0)!=(c|0)){continue}break}c=v[C>>2];Hf(v[c+596>>2]);a=v[c+596>>2];j=v[((v[a+28>>2]<<2)+v[a+24>>2]|0)-4>>2];a=v[j+12>>2]-1|0;N=v[j>>2]+(a<<3)|0}A[c+600>>3]=A[N>>3];A[c+608>>3]=A[v[j+4>>2]+(a<<3)>>3];a=v[e+8>>2];Ub[v[v[a>>2]+204>>2]](a,v[e+28>>2]);vf(v[e+28>>2]);gc(m+128|0,m,128);l=n;g=s;i=h;a=I;if((a|0)<256){continue}}break};I:{if(W){break I}J:{K:{c=v[b+380>>2];L:{if(!(o<=p?c:0)){if(!v[b+384>>2]){break L}if(!U){break K}}a=o<=p;c=m+128|0;Mr(b,a?t:y,c);gc(v[e+28>>2]+124|0,c,128);c=v[e+8>>2];Ub[v[v[c>>2]+116>>2]](c,v[e+28>>2]);c=v[e+28>>2];f=a?w:E;A[c+608>>3]=f;h=a?z:H;d=a?o:p;g=h+d;A[c+600>>3]=g;a=v[c+596>>2];A[a+16>>3]=f;A[a+8>>3]=g;v[a>>2]=1;c=1;while(1){g=+(c|0)/u;g=(g+g)*3.141592653589793;i=Ee(g);a=v[C>>2];i=f+d*i;A[a+608>>3]=i;g=h+d*Ve(g);A[a+600>>3]=g;Ud(v[a+596>>2],g,i);c=c+1|0;if((k|0)!=(c|0)){continue}break}a=v[e+28>>2];Hf(v[a+596>>2]);c=v[a+596>>2];c=v[((v[c+28>>2]<<2)+v[c+24>>2]|0)-4>>2];q=(v[c+12>>2]<<3)-8|0;A[a+600>>3]=A[q+v[c>>2]>>3];A[a+608>>3]=A[q+v[c+4>>2]>>3];a=v[e+8>>2];Ub[v[v[a>>2]+204>>2]](a,v[e+28>>2]);vf(v[e+28>>2]);c=v[b+380>>2]}if(U?c:0){break J}if(!v[b+384>>2]){break I}if(o<=p){break J}break I}if(!(o<=p)){break I}}a=m+128|0;Mr(b,U?t:y,a);gc(v[e+28>>2]+124|0,a,128);a=v[e+8>>2];Ub[v[v[a>>2]+116>>2]](a,v[e+28>>2]);f=A[m+280>>3];a=v[e+28>>2];d=A[m+272>>3];A[a+608>>3]=d;A[a+600>>3]=f;a=v[a+596>>2];A[a+16>>3]=d;A[a+8>>3]=f;v[a>>2]=1;f=A[m+280>>3];a=v[e+28>>2];d=A[m+256>>3];A[a+608>>3]=d;A[a+600>>3]=f;Ud(v[a+596>>2],f,d);f=A[m+264>>3];a=v[e+28>>2];d=A[m+256>>3];A[a+608>>3]=d;A[a+600>>3]=f;Ud(v[a+596>>2],f,d);f=A[m+264>>3];a=v[e+28>>2];d=A[m+272>>3];A[a+608>>3]=d;A[a+600>>3]=f;Ud(v[a+596>>2],f,d);a=v[e+28>>2];Hf(v[a+596>>2]);b=v[a+596>>2];b=v[((v[b+28>>2]<<2)+v[b+24>>2]|0)-4>>2];c=(v[b+12>>2]<<3)-8|0;A[a+600>>3]=A[c+v[b>>2]>>3];A[a+608>>3]=A[c+v[b+4>>2]>>3];a=v[e+28>>2];f=U?w:E;A[a+608>>3]=f;d=U?z:H;h=d+L;A[a+600>>3]=h;a=v[a+596>>2];A[a+16>>3]=f;A[a+8>>3]=h;v[a>>2]=1;c=1;while(1){h=+(c|0)/u;h=(h+h)*3.141592653589793;g=Ee(h);a=v[C>>2];g=f+L*g;A[a+608>>3]=g;h=d+L*Ve(h);A[a+600>>3]=h;Ud(v[a+596>>2],h,g);c=c+1|0;if((k|0)!=(c|0)){continue}break}a=v[e+28>>2];Hf(v[a+596>>2]);b=v[a+596>>2];b=v[((v[b+28>>2]<<2)+v[b+24>>2]|0)-4>>2];c=(v[b+12>>2]<<3)-8|0;A[a+600>>3]=A[c+v[b>>2]>>3];A[a+608>>3]=A[c+v[b+4>>2]>>3];a=v[e+8>>2];Ub[v[v[a>>2]+204>>2]](a,v[e+28>>2]);vf(v[e+28>>2])}Qb=m+288|0;break a;case 3:case 4:c=Qb-816|0;Qb=c;M:{if(v[b+192>>2]<1){break M}while(1){k=v[a+116>>2];N:{if(!k){break N}if((q|0)<25){q=q+1|0;break N}q=0;if(Ub[k|0](v[a+120>>2])|0){break M}}k=c+512|0;I=c+256|0;HS(b,e,c+808|0,c+800|0,k,c+792|0,c+784|0,I,c+776|0,c+768|0,c);ju(a,A[c+808>>3],A[c+800>>3],k,A[c+792>>3],A[c+784>>3],I,A[c+776>>3],A[c+768>>3],c,b,0);e=e+1|0;if((e|0)>2]){continue}break}}Qb=c+816|0;break a;case 5:case 6:break b;default:break a}}e=v[b+184>>2];c=3;O:{if((e|0)>128){break O}c=2;if((e|0)>64){break O}if((e|0)<1){break a}c=(e|0)>16}e=c;c=0;while(1){k=v[a+116>>2];P:{if(!k){break P}if((c|0)<25){c=c+1|0;break P}c=0;if(Ub[k|0](v[a+120>>2])|0){break a}}ku(a,v[b+180>>2]+B(q,1280)|0,b,e);q=q+1|0;if((q|0)>2]){continue}break}}Qb=R+512|0}function tE(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,Q=0,R=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;u=fc(24);v[u+12>>2]=c;v[u+8>>2]=b;v[u>>2]=936712;v[u+4>>2]=0;U=b+7>>3;v[u+16>>2]=U;a:{if(!((b|0)<1|(c|0)<1)){n=c;if((n|0)<(2147483646/(U|0)|0)){break a}}v[u+12>>2]=-1;v[u+16>>2]=2;n=-1;U=2}v[299999]=0;A=B(n,U);s=S(3693,A+1|0)|0;l=v[299999];v[299999]=0;if((l|0)!=1){v[u+20>>2]=s;t[s+A|0]=0;ic(v[u+20>>2],0,B(v[u+16>>2],v[u+12>>2]));if((c|0)>=1){la=g&7;ja=(g|0)>-1;$=ja?7:la;qa=$-1|0;wa=$?qa:7;Ba=d?8:16;xa=!$;ua=2-g|0;A=1-g|0;va=g-1&7;l=(g|0)>0;ra=l?7:va;Ca=ra?ra-1|0:7;ia=g^-1;ma=ja?0:ia>>>3|0;s=0-g|0;Da=s>>>3|0;Ea=l?0:Da;Fa=!ra;while(1){l=ba-1|0;q=v[u+12>>2];m=v[u+8>>2];k=l>>>0>>0&(q|0)>=(ba|0)&(m|0)>0;b:{c:{d:{e:{f:{g:{h:{if(d){N=0;ea=0;Q=0;na=0;D=0;i:{if(!k){break i}k=v[u+20>>2];if(!k){ea=7;D=0;break i}k=k+B(l,v[u+16>>2])|0;o=(m|0)==1;Q=o?0:k;ea=o?7:6;na=w[k|0]>>>7|0;D=1}j:{if((q|0)<=(ba|0)){Y=0;q=0;break j}Y=0;q=0;if((m|0)<0){break j}N=v[u+20>>2]+B(v[u+16>>2],ba)|0;Y=7;q=-1}k=v[f+8>>2];x=0;o=l-h|0;l=v[f+12>>2];r=(o|0)>-1&(l|0)>(o|0);k:{if(!r){J=0;R=0;y=0;break k}J=0;R=0;y=0;if((k|0)<=(s|0)){break k}y=B(o,v[f+16>>2]);m=v[f+20>>2];R=s;l:{if((g|0)>=1){J=m+y|0;y=7;break l}J=m+(y+Da|0)|0;y=va}}aa=y;m:{z=(k|0)>(ia|0);m=ba-h|0;C=z&((m|0)>-1&(l|0)>(m|0));n:{if(!C){Z=0;V=0;break n}Z=$;y=v[f+20>>2];V=ia;if(!y){break n}F=y+(B(m,v[f+16>>2])+ma|0)|0;if(ja){break m}x=w[F|0]>>>$&1;if((k|0)!=(s|0)){break h}Z=la;V=s}ka=x<<1;F=0;fa=0;break c}ka=0;Z=7;ga=0;V=A;fa=0;if((s|0)<0){break c}break d}Z=0;ka=0;fa=0;na=0;C=0;o:{if(!k){break o}k=v[u+20>>2];if(!k){ka=7;C=0;break o}k=k+B(l,v[u+16>>2])|0;o=(m|0)==1;fa=o?0:k;ka=o?7:6;na=w[k|0]>>>7|0;C=1}p:{if((q|0)<=(ba|0)){sa=0;G=0;break p}sa=0;G=0;if((m|0)<0){break p}Z=v[u+20>>2]+B(v[u+16>>2],ba)|0;sa=7;G=-1}k=v[f+8>>2];Q=0;r=l-h|0;N=v[f+12>>2];K=(r|0)>-1&(N|0)>(r|0);q:{if(!K){oa=0;_=0;ga=0;y=0;break q}oa=0;_=0;ga=0;y=0;if((k|0)<=(s|0)){break q}l=v[f+20>>2];if(!l){oa=ra;y=s;break q}l=l+(B(r,v[f+16>>2])+Ea|0)|0;oa=7;if((g|0)>0){_=l;y=A;break q}o=(k|0)==(A|0);_=o?0:l+Fa|0;oa=o?va:Ca;ga=w[l|0]>>>ra&1;y=A}r:{x=(k|0)>(ia|0);z=ba-h|0;J=x&((z|0)>-1&(z|0)<(N|0));s:{if(!J){aa=0;o=0;break s}aa=$;l=v[f+20>>2];o=ia;if(!l){break s}W=l+(B(z,v[f+16>>2])+ma|0)|0;if(ja){break r}Q=w[W|0]>>>$&1;if((k|0)!=(s|0)){break g}aa=la;o=s}ya=Q<<1;W=0;ha=0;break e}ya=0;aa=7;o=A;ha=0;if((s|0)<0){break e}break f}ka=x<<1;F=F+xa|0;Z=wa;ga=s;break d}ya=Q<<1;W=W+xa|0;aa=wa;Q=s}ha=w[W|0]>>>aa&1;o=Q+1|0;if((k|0)==(o|0)){o=k;W=0;break e}if(!aa){W=W+1|0;aa=7;break e}aa=aa-1|0}V=0;Y=0;D=0;t:{u:{v:{w:{Ga=ba+1|0;R=Ga-h|0;E=x&((R|0)>-1&(N|0)>(R|0));M=0;x:{if(!E){break x}Y=$;l=v[f+20>>2];M=ia;if(!l){break x}l=l+(B(R,v[f+16>>2])+ma|0)|0;if(ja){break w}D=w[l|0]>>>$&1;if((k|0)!=(s|0)){break v}Y=la;M=s}za=D<<1;Aa=0;break t}za=0;Y=7;M=A;V=l;Aa=0;if((s|0)<0){break t}break u}za=D<<1;l=l+xa|0;Y=wa;D=s}Aa=w[l|0]>>>Y&1;V=0;M=D+1|0;if((k|0)==(M|0)){M=k;break t}if(!Y){V=l+1|0;Y=7;break t}Y=Y-1|0;V=l}ca=0;p=v[j>>2]+ba|0;y:{if(!((p|0)<0|(p|0)>=(q|0))){ea=0;ta=0;l=v[i>>2];H=0;if((l|0)>=(m|0)){break y}q=B(p,v[u+16>>2]);m=v[u+20>>2];z:{if((l|0)<=-1){ea=m+q|0;q=7;break z}ea=m+(q+(l>>>3|0)|0)|0;q=(l^-1)&7}ta=q;H=l;break y}ea=0;ta=0;H=0}q=z+v[j+4>>2]|0;A:{if(!((q|0)<0|(q|0)>=(N|0))){pa=0;l=v[i+4>>2]-g|0;I=0;if((l|0)>=(k|0)){break A}q=B(q,v[f+16>>2]);m=v[f+20>>2];B:{if((l|0)<=-1){pa=7;ca=m+q|0;break B}pa=(l^-1)&7;ca=m+(q+(l>>>3|0)|0)|0}I=l;break A}pa=0;I=0}U=0;C:{if(!e){N=0;p=0;l=0;q=0;K=0;r=0;R=0;z=0;J=0;n=0;E=0;m=0;break C}l=0;N=0;p=0;n=0;D:{E:{if(!(x&K)){break E}N=ia;p=$;q=v[f+20>>2];if(!q){break E}m=q+(B(r,v[f+16>>2])+ma|0)|0;F:{G:{H:{I:{J:{if(!ja){N=s;p=la;if((k|0)==(s|0)){break E}p=qa;X=s;if($){break J}p=7;n=w[m+1|0]>>>7|0;if((k|0)!=(A|0)){break I}N=A;break E}X=0;p=7;if((s|0)<0){break G}}n=w[m|0]>>>p&1;D=X+1|0;if((k|0)==(D|0)){N=k;break E}if(p){break H}m=m+1|0;p=7;F=n<<1;break F}m=m+1|0;D=A}p=p-1|0;F=n<<1;break F}F=0;D=0;N=ua;l=m;if((A|0)<0){break D}}X=w[m|0]>>>p&1;l=0;N=D+1|0;if((k|0)==(N|0)){N=k;break D}if(!p){l=m+1|0;p=7;break D}p=p-1|0;l=m;break D}F=n<<1;X=0}r=0;q=0;K=0;n=0;K:{L:{if(!J){break L}q=ia;K=$;m=v[f+20>>2];if(!m){break L}m=m+(B(z,v[f+16>>2])+ma|0)|0;M:{N:{O:{P:{Q:{if(!ja){q=s;K=la;if((k|0)==(s|0)){break L}K=qa;x=s;if($){break Q}K=7;n=w[m+1|0]>>>7|0;if((k|0)!=(A|0)){break P}q=A;break L}x=0;K=7;if((s|0)<0){break N}}n=w[m|0]>>>K&1;J=x+1|0;if((k|0)==(J|0)){q=k;break L}if(K){break O}m=m+1|0;K=7;D=n<<1;break M}m=m+1|0;J=A}K=K-1|0;D=n<<1;break M}D=0;J=0;q=ua;r=m;if((A|0)<0){break K}}x=w[m|0]>>>K&1;r=0;q=J+1|0;if((k|0)==(q|0)){q=k;break K}if(!K){r=m+1|0;K=7;break K}K=K-1|0;r=m;break K}D=n<<1;x=0}J=0;z=0;n=0;R:{S:{T:{U:{V:{W:{m=0;X:{if(!E){break X}z=$;E=v[f+20>>2];m=ia;if(!E){break X}da=E+(B(R,v[f+16>>2])+ma|0)|0;Y:{if(!ja){z=la;m=s;if((k|0)==(s|0)){break X}z=qa;m=s;if($){break Y}z=7;n=w[da+1|0]>>>7|0;if((k|0)!=(A|0)){break V}m=A;break X}m=0;z=7;if((s|0)<0){break T}}n=w[da|0]>>>z&1;E=m+1|0;if((k|0)!=(E|0)){break W}m=k}R=m;Q=n<<1;m=0;break R}if(z){break U}da=da+1|0;z=7;Q=n<<1;break S}da=da+1|0;E=A}z=z-1|0;Q=n<<1;break S}Q=0;E=0;R=ua;J=da;if((A|0)<0){break R}}m=w[da|0]>>>z&1;J=0;R=E+1|0;if((k|0)==(R|0)){R=k;break R}if(!z){J=da+1|0;z=7;break R}z=z-1|0;J=da}n=F|X;E=x|D;m=m|Q}if((b|0)>=1){X=ha|ya;x=za|Aa;while(1){F=0;Z:{if(!fa){fa=0;D=0;break Z}if((C|0)<=-1){C=C+1|0;D=0;break Z}D=w[fa|0]>>>ka&1;C=C+1|0;if((C|0)==v[u+8>>2]){fa=0;break Z}if(!ka){fa=fa+1|0;ka=7;break Z}ka=ka-1|0}_:{if(!_){_=0;break _}if((y|0)<=-1){y=y+1|0;break _}F=w[_|0]>>>oa&1;y=y+1|0;if((y|0)==v[f+8>>2]){_=0;break _}if(!oa){_=_+1|0;oa=7;break _}oa=oa-1|0}k=na<<1;da=ga<<1;X=X<<1;Q=0;$:{if(!W){W=0;ha=0;break $}if((o|0)<=-1){o=o+1|0;ha=0;break $}ha=w[W|0]>>>aa&1;o=o+1|0;if((o|0)==v[f+8>>2]){W=0;break $}if(!aa){W=W+1|0;aa=7;break $}aa=aa-1|0}k=k&2;da=da&2;x=x<<1;X=X&6;aa:{if(!V){V=0;break aa}if((M|0)<=-1){M=M+1|0;break aa}Q=w[V|0]>>>Y&1;M=M+1|0;if((M|0)==v[f+8>>2]){V=0;break aa}if(!Y){V=V+1|0;Y=7;break aa}Y=Y-1|0}na=k|D;ga=F|da;X=X|ha;x=x&6|Q;ba:{ca:{if(!e){break ca}k=n<<1;F=0;da:{if(!l){l=0;n=0;break da}if((N|0)<=-1){N=N+1|0;n=0;break da}n=w[l|0]>>>p&1;N=N+1|0;if((N|0)==v[f+8>>2]){l=0;break da}if(!p){l=l+1|0;p=7;break da}p=p-1|0}D=E<<1;k=k&6;ea:{if(!r){r=0;break ea}if((q|0)<=-1){q=q+1|0;break ea}F=w[r|0]>>>K&1;q=q+1|0;if((q|0)==v[f+8>>2]){r=0;break ea}if(!K){r=r+1|0;K=7;break ea}K=K-1|0}n=k|n;k=m<<1;D=D&6;m=0;fa:{if(!J){J=0;break fa}if((R|0)<=-1){R=R+1|0;break fa}m=w[J|0]>>>z&1;R=R+1|0;if((R|0)==v[f+8>>2]){J=0;break fa}if(!z){J=J+1|0;z=7;break fa}z=z-1|0}Od(v[a+76>>2],Ba,v[a+84>>2]);m=k&6|m;E=F|D;if(!(m|(E|n))){k=v[u+20>>2]+(B(v[u+16>>2],ba)+(U>>>3|0)|0)|0;t[k|0]=w[k|0]&32639>>>(U&7);n=0;E=0;m=0;break ba}if((n|0)!=7|(E|0)!=7|(m|0)!=7){break ca}n=7;k=v[u+20>>2]+(B(v[u+16>>2],ba)+(U>>>3|0)|0)|0;t[k|0]=w[k|0]|1<<((U^-1)&7);E=7;m=7;break ba}k=na<<11;F=0;ga:{if(!Z){Z=0;Q=0;break ga}if((G|0)<=-1){G=G+1|0;Q=0;break ga}Q=w[Z|0]>>>sa&1;G=G+1|0;if((G|0)==v[u+8>>2]){Z=0;break ga}if(!sa){Z=Z+1|0;sa=7;break ga}sa=sa-1|0}k=k|Q<<10|ga<<8|X<<5|x<<2;ha:{if(!ea){ea=0;break ha}if((H|0)<=-1){H=H+1|0;break ha}F=w[ea|0]>>>ta&1;H=H+1|0;if((H|0)==v[u+8>>2]){ea=0;break ha}if(!ta){ea=ea+1|0;ta=7;break ha}ta=ta-1|0}k=k|F<<1;F=0;ia:{if(!ca){ca=0;break ia}if((I|0)<=-1){I=I+1|0;break ia}F=w[ca|0]>>>pa&1;I=I+1|0;if((I|0)==v[f+8>>2]){ca=0;break ia}if(!pa){ca=ca+1|0;pa=7;break ia}pa=pa-1|0}if(!Od(v[a+76>>2],k|F,v[a+84>>2])){break ba}k=v[u+20>>2]+(B(v[u+16>>2],ba)+(U>>>3|0)|0)|0;t[k|0]=w[k|0]|1<<((U^-1)&7)}U=U+1|0;if((U|0)!=(b|0)){continue}break}}k=Ga;break b}fa=w[F|0]>>>Z&1;V=ga+1|0;if((k|0)==(V|0)){V=k;F=0;break c}if(!Z){F=F+1|0;Z=7;break c}Z=Z-1|0}y=0;da=ba+1|0;p=da-h|0;x=(p|0)>-1&(l|0)>(p|0);ja:{if(!x){ca=0;W=0;ga=0;l=0;break ja}ca=0;W=0;ga=0;l=0;if((k|0)<=(s|0)){break ja}l=v[f+20>>2];if(!l){ca=ra;l=s;break ja}l=l+(B(p,v[f+16>>2])+Ea|0)|0;ca=7;if((g|0)>0){W=l;l=A;break ja}M=(k|0)==(A|0);W=M?0:l+Fa|0;ca=M?va:Ca;ga=w[l|0]>>>ra&1;l=A}ha=l;ka:{if(!e){G=0;M=0;l=0;H=0;o=0;r=0;I=0;C=0;n=0;E=0;x=0;break ka}M=0;G=0;n=0;la:{ma:{if(!(z&r)){break ma}y=ia;G=$;l=v[f+20>>2];if(!l){break ma}o=l+(B(o,v[f+16>>2])+ma|0)|0;na:{oa:{pa:{qa:{ra:{if(!ja){y=s;G=la;if((k|0)==(s|0)){break ma}G=qa;E=s;if($){break ra}G=7;n=w[o+1|0]>>>7|0;if((k|0)!=(A|0)){break qa}y=A;break ma}E=0;G=7;if((s|0)<0){break oa}}n=w[o|0]>>>G&1;l=E+1|0;if((k|0)==(l|0)){y=k;break ma}if(G){break pa}o=o+1|0;G=7;_=n<<1;break na}o=o+1|0;l=A}G=G-1|0;_=n<<1;break na}_=0;l=0;y=ua;M=o;if((A|0)<0){break la}}E=w[o|0]>>>G&1;M=0;y=l+1|0;if((k|0)==(y|0)){y=k;break la}if(!G){M=o+1|0;G=7;break la}G=G-1|0;M=o;break la}_=n<<1;E=0}o=0;l=0;H=0;n=0;sa:{ta:{if(!C){break ta}l=ia;H=$;r=v[f+20>>2];if(!r){break ta}C=r+(B(m,v[f+16>>2])+ma|0)|0;ua:{va:{wa:{xa:{ya:{if(!ja){H=la;l=s;if((k|0)==(l|0)){break ta}H=qa;X=s;if($){break ya}H=7;n=w[C+1|0]>>>7|0;if((k|0)!=(A|0)){break xa}l=A;break ta}X=0;H=7;if((s|0)<0){break va}}n=w[C|0]>>>H&1;r=X+1|0;if((k|0)==(r|0)){l=k;break ta}if(H){break wa}C=C+1|0;H=7;K=n<<1;break ua}C=C+1|0;r=A}H=H-1|0;K=n<<1;break ua}K=0;r=0;l=ua;o=C;if((A|0)<0){break sa}}X=w[C|0]>>>H&1;o=0;l=r+1|0;if((k|0)==(l|0)){l=k;break sa}if(!H){o=C+1|0;H=7;break sa}H=H-1|0;o=C;break sa}K=n<<1;X=0}C=0;I=0;n=0;za:{Aa:{Ba:{Ca:{Da:{Ea:{r=0;Fa:{if(!(x&z)){break Fa}I=$;m=v[f+20>>2];r=ia;if(!m){break Fa}p=m+(B(p,v[f+16>>2])+ma|0)|0;Ga:{if(!ja){I=la;r=s;if((k|0)==(s|0)){break Fa}I=qa;x=s;if($){break Ga}I=7;n=w[p+1|0]>>>7|0;if((k|0)!=(A|0)){break Da}r=A;break Fa}x=0;I=7;if((s|0)<0){break Ba}}n=w[p|0]>>>I&1;z=x+1|0;if((k|0)!=(z|0)){break Ea}r=k}m=n<<1;x=0;break za}if(I){break Ca}p=p+1|0;I=7;m=n<<1;break Aa}p=p+1|0;z=A}I=I-1|0;m=n<<1;break Aa}m=0;z=0;r=ua;C=p;if((A|0)<0){break za}}x=w[p|0]>>>I&1;C=0;r=z+1|0;if((k|0)==(r|0)){r=k;break za}if(!I){C=p+1|0;I=7;break za}I=I-1|0;C=p}n=E|_;E=K|X;x=m|x}k=da;if((b|0)<1){break b}X=fa|ka;U=0;while(1){Ha:{if(!Q){Q=0;fa=0;break Ha}if((D|0)<=-1){D=D+1|0;fa=0;break Ha}fa=w[Q|0]>>>ea&1;D=D+1|0;if((D|0)==v[u+8>>2]){Q=0;break Ha}if(!ea){Q=Q+1|0;ea=7;break Ha}ea=ea-1|0}k=na<<1;p=X<<1;m=0;Ia:{if(!F){F=0;_=0;break Ia}if((V|0)<=-1){V=V+1|0;_=0;break Ia}_=w[F|0]>>>Z&1;V=V+1|0;if((V|0)==v[f+8>>2]){F=0;break Ia}if(!Z){F=F+1|0;Z=7;break Ia}Z=Z-1|0}k=k&6;z=ga<<1;p=p&6;Ja:{if(!W){W=0;break Ja}if((ha|0)<=-1){ha=ha+1|0;break Ja}m=w[W|0]>>>ca&1;ha=ha+1|0;if((ha|0)==v[f+8>>2]){W=0;break Ja}if(!ca){W=W+1|0;ca=7;break Ja}ca=ca-1|0}na=k|fa;X=p|_;ga=z&2|m;Ka:{La:{if(!e){break La}k=n<<1;m=0;Ma:{if(!M){M=0;n=0;break Ma}if((y|0)<=-1){y=y+1|0;n=0;break Ma}n=w[M|0]>>>G&1;y=y+1|0;if((y|0)==v[f+8>>2]){M=0;break Ma}if(!G){M=M+1|0;G=7;break Ma}G=G-1|0}p=E<<1;k=k&6;Na:{if(!o){o=0;break Na}if((l|0)<=-1){l=l+1|0;break Na}m=w[o|0]>>>H&1;l=l+1|0;if((l|0)==v[f+8>>2]){o=0;break Na}if(!H){o=o+1|0;H=7;break Na}H=H-1|0}n=k|n;k=x<<1;p=p&6;x=0;Oa:{if(!C){C=0;break Oa}if((r|0)<=-1){r=r+1|0;break Oa}x=w[C|0]>>>I&1;r=r+1|0;if((r|0)==v[f+8>>2]){C=0;break Oa}if(!I){C=C+1|0;I=7;break Oa}I=I-1|0}Od(v[a+76>>2],Ba,v[a+84>>2]);x=k&6|x;E=m|p;if(!(x|(E|n))){k=v[u+20>>2]+(B(v[u+16>>2],ba)+(U>>>3|0)|0)|0;t[k|0]=w[k|0]&32639>>>(U&7);n=0;E=0;x=0;break Ka}if((n|0)!=7|(E|0)!=7|(x|0)!=7){break La}n=7;k=v[u+20>>2]+(B(v[u+16>>2],ba)+(U>>>3|0)|0)|0;t[k|0]=w[k|0]|1<<((U^-1)&7);E=7;x=7;break Ka}k=na<<7;m=0;Pa:{if(!N){N=0;_=0;break Pa}if((q|0)<=-1){q=q+1|0;_=0;break Pa}_=w[N|0]>>>Y&1;q=q+1|0;if((q|0)==v[u+8>>2]){N=0;break Pa}if(!Y){N=N+1|0;Y=7;break Pa}Y=Y-1|0}k=k|_<<6;Qa:{if(!J){J=0;break Qa}if((R|0)<=-1){R=R+1|0;break Qa}m=w[J|0]>>>aa&1;R=R+1|0;if((R|0)==v[f+8>>2]){J=0;break Qa}if(!aa){J=J+1|0;aa=7;break Qa}aa=aa-1|0}if(!Od(v[a+76>>2],k|m<<5|X<<2|ga,v[a+84>>2])){break Ka}k=v[u+20>>2]+(B(v[u+16>>2],ba)+(U>>>3|0)|0)|0;t[k|0]=w[k|0]|1<<((U^-1)&7)}U=U+1|0;if((U|0)!=(b|0)){continue}break}k=da}ba=k;if((ba|0)!=(c|0)){continue}break}}return u}a=P()|0;O()|0;dc(u);T(a|0);L()}function BG(a,b){a=a|0;b=b|0;var 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,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;e=Qb-16|0;Qb=e;j=v[a+4>>2];a:{if(t[j+254|0]>=1){g=Qb-16|0;Qb=g;v[g+12>>2]=0;c=v[j+24>>2];l=v[c+224>>2];c=w[c+200|0];if((c|0)==12){d=v[j+48>>2]}else{d=(c|0)==219?1:-1}h=j+222|0;c=v[a+8>>2];d=pG(l,d<<24>>24,h,t[j+254|0],c,v[a+12>>2]-c|0,g+12|0,t[a+2|0]);b:{if((d|0)>=1){c=j;l=c;i=t[c+254|0];c:{if((i|0)<=(d|0)){v[a+8>>2]=v[a+8>>2]+(d-i|0);c=0;break c}c=h;h=i-d|0;Wd(c,(d+j|0)+222|0,h);c=0-h|0}t[l+254|0]=c;h=a+24|0;d=a+16|0;i=v[a+20>>2];c=v[g+12>>2];if(c>>>0<=3145727){rG(j,c-2031616|0,d,i,h,-1,b);break b}l=v[v[j+24>>2]+224>>2];sG(j,(v[l+12>>2]+l|0)+((c&262143)<<1)|0,(c>>>18|0)-12|0,d,i,h,-1,b);break b}if((d|0)<=-1){c=v[a+8>>2];h=t[j+254|0];i=0-d|0;d:{if((h|0)>=(i|0)){break d}l=(d^-1)-h|0;d=i-h&3;if(d){while(1){t[(h+j|0)+222|0]=w[c|0];h=h+1|0;c=c+1|0;d=d-1|0;if(d){continue}break}}if(l>>>0<3){break d}while(1){d=h+j|0;t[d+222|0]=w[c|0];t[d+223|0]=w[c+1|0];t[d+224|0]=w[c+2|0];t[d+225|0]=w[c+3|0];c=c+4|0;h=h+4|0;if((i|0)!=(h|0)){continue}break}}v[a+8>>2]=c;t[j+254|0]=i;break b}gc(j+37|0,h,t[j+255|0]);c=t[j+255|0];t[j+36|0]=c;d=t[j+254|0]-c|0;if((d|0)>=1){Wd(h,(c+j|0)+222|0,d)}t[j+254|0]=0-d;v[b>>2]=10}Qb=g+16|0;if(t[j+254|0]<0|v[b>>2]>0){break a}}e:{d=v[j+24>>2];if(w[d+28|0]==1){if(t[d+201|0]&1){break e}j=v[a+4>>2];c=v[a+8>>2];v[e+12>>2]=c;o=v[a+12>>2];g=v[a+16>>2];v[e+8>>2]=g;h=v[a+20>>2];v[e+4>>2]=v[a+24>>2];d=o-c|0;h=h-g>>1;i=(d|0)<(h|0)?d:h;m=v[v[j+24>>2]+(w[j+28|0]&16?40:36)>>2];h=c;f:{g:while(1){h:{if((i|0)<16){d=h;break h}s=i>>>4|0;k=s;i:{while(1){v[e+12>>2]=c+1;n=v[m+(w[c|0]<<2)>>2];v[e+8>>2]=g+2;u[g>>1]=n;v[e+12>>2]=c+2;p=v[m+(w[c+1|0]<<2)>>2];v[e+8>>2]=g+4;u[g+2>>1]=p;v[e+12>>2]=c+3;q=v[m+(w[c+2|0]<<2)>>2];v[e+8>>2]=g+6;u[g+4>>1]=q;v[e+12>>2]=c+4;z=v[m+(w[c+3|0]<<2)>>2];u[g+6>>1]=z;A=v[m+(w[c+4|0]<<2)>>2];u[g+8>>1]=A;C=v[m+(w[c+5|0]<<2)>>2];u[g+10>>1]=C;D=v[m+(w[c+6|0]<<2)>>2];u[g+12>>1]=D;E=v[m+(w[c+7|0]<<2)>>2];u[g+14>>1]=E;F=v[m+(w[c+8|0]<<2)>>2];u[g+16>>1]=F;G=v[m+(w[c+9|0]<<2)>>2];u[g+18>>1]=G;H=v[m+(w[c+10|0]<<2)>>2];u[g+20>>1]=H;I=v[m+(w[c+11|0]<<2)>>2];u[g+22>>1]=I;J=v[m+(w[c+12|0]<<2)>>2];u[g+24>>1]=J;K=v[m+(w[c+13|0]<<2)>>2];u[g+26>>1]=K;L=v[m+(w[c+14|0]<<2)>>2];u[g+28>>1]=L;d=c+16|0;v[e+12>>2]=d;r=v[m+(w[c+15|0]<<2)>>2];l=g+32|0;v[e+8>>2]=l;u[g+30>>1]=r;if((r|(q|(n|p)|z|A|C|D|E|F|G|H|I|J|K|L))>=-2146435072){v[e+8>>2]=g;v[e+12>>2]=c;break i}n=(k|0)>1;g=l;c=d;k=k-1|0;if(n){continue}break}k=0}k=s-k|0;d=k<<4;i=i-d|0;c=v[e+4>>2];if(!c){d=h;break h}d=d+h|0;if((k|0)<1){break h}while(1){v[c>>2]=f;v[c+60>>2]=f+15;v[c+56>>2]=f+14;v[c+52>>2]=f+13;v[c+48>>2]=f+12;v[c+44>>2]=f+11;v[c+40>>2]=f+10;v[c+36>>2]=f+9;v[c+32>>2]=f+8;v[c+28>>2]=f+7;v[c+24>>2]=f+6;v[c+20>>2]=f+5;v[c+16>>2]=f+4;v[c+12>>2]=f+3;v[c+8>>2]=f+2;v[c+4>>2]=f+1;c=c- -64|0;f=f+16|0;h=(k|0)>1;k=k-1|0;if(h){continue}break}v[e+4>>2]=c}if((i|0)<1){h=d;break f}while(1){c=g;n=i;h=v[e+12>>2];j:{k:{while(1){l=h;if(h>>>0>=o>>>0){h=d;break f}h=l+1|0;v[e+12>>2]=h;i=v[m+(w[l|0]<<2)>>2];if((i|0)<=-2146435073){break j}l:{switch((i>>>20&15)-2|0){case 0:break j;case 4:break k;case 5:break l;default:continue}}break}v[b>>2]=12}c=v[e+4>>2];m:{if(!c){break m}g=h-d|0;if((g|0)<2){break m}i=(d^-1)+h&7;if(i){while(1){v[c>>2]=f;c=c+4|0;f=f+1|0;g=g-1|0;i=i-1|0;if(i){continue}break}}if((h-d|0)-2>>>0>=7){while(1){v[c>>2]=f;v[c+28>>2]=f+7;v[c+24>>2]=f+6;v[c+20>>2]=f+5;v[c+16>>2]=f+4;v[c+12>>2]=f+3;v[c+8>>2]=f+2;v[c+4>>2]=f+1;c=c+32|0;f=f+8|0;i=(g|0)>9;g=g-8|0;if(i){continue}break}}v[e+4>>2]=c}if(v[b>>2]>0){h=d;break f}t[j+37|0]=w[l|0];n:{c=v[v[j+24>>2]+224>>2];if(c){if(qG(j,c,1,e+12|0,o,e+8|0,v[a+20>>2],e+4|0,f,t[a+2|0],b)){break n}}v[b>>2]=10;t[j+36|0]=1;f=(v[e+12>>2]+(f-h|0)|0)+1|0;break f}d=v[b>>2];t[j+36|0]=0;c=v[e+12>>2];f=(c+(f-h|0)|0)+1|0;if((d|0)>0){break f}d=o-c|0;g=v[e+8>>2];i=v[a+20>>2]-g>>1;i=(d|0)<(i|0)?d:i;continue g}g=c+2|0;v[e+8>>2]=g;u[c>>1]=i;i=n-1|0;if((n|0)>1){continue}break}break}h=d}c=0;d=v[e+12>>2];if(!(v[b>>2]>0|d>>>0>=o>>>0|y[e+8>>2]>2])){v[b>>2]=15}b=v[e+4>>2];o:{if(!b){break o}g=d-h|0;if(!g){c=b;break o}i=d+(h^-1)|0;h=g&7;p:{if(!h){c=b;break p}c=b;while(1){v[c>>2]=f;g=g-1|0;c=c+4|0;f=f+1|0;h=h-1|0;if(h){continue}break}}if(i>>>0<7){break o}while(1){v[c>>2]=f;v[c+28>>2]=f+7;v[c+24>>2]=f+6;v[c+20>>2]=f+5;v[c+16>>2]=f+4;v[c+12>>2]=f+3;v[c+8>>2]=f+2;v[c+4>>2]=f+1;c=c+32|0;f=f+8|0;g=g-8|0;if(g){continue}break}}v[a+8>>2]=d;b=v[e+8>>2];v[a+24>>2]=c;v[a+16>>2]=b;break a}c=v[a+8>>2];v[e+12>>2]=c;p=v[a+12>>2];g=v[a+16>>2];v[e+8>>2]=g;o=v[a+20>>2];v[e+4>>2]=v[a+24>>2];h=w[j+48|0];if(!h){h=w[d+29|0]}i=w[j+36|0];k=v[j+44>>2];q:{if(c>>>0>=p>>>0){break q}if(g>>>0>>0){q=v[d+44>>2];r=v[d+(w[j+28|0]&16?40:36)>>2];l=i&255?-1:0;while(1){r:{s:{t:{u:{if(!(i&255)){d=v[e+4>>2];if(!d){break u}m=d;while(1){v:{f=v[(r+((h&255)<<10)|0)+(w[c|0]<<2)>>2];w:{if((f|0)>=0){i=c+1|0;v[e+12>>2]=i;k=f&16777215;h=f>>>24|0;if(i>>>0>=p>>>0){break v}f=v[(r+(h<<10)|0)+(w[i|0]<<2)>>2];if((f&-2131755008)!=-2143289344){break v}m=x[q+((f&65535)+k<<1)>>1];if(m>>>0>65533){break v}v[e+8>>2]=g+2;c=c+2|0;v[e+12>>2]=c;u[g>>1]=m;k=0;h=f>>>24&127;if(d){g=d+4|0;v[e+4>>2]=g;v[d>>2]=l;l=n+2|0;n=l;d=g}else{d=0}g=d;break w}if((f|0)>-2146435073){i=0;break s}v[e+8>>2]=g+2;c=c+1|0;v[e+12>>2]=c;u[g>>1]=f;h=0;g=0;if(!m){break w}d=m+4|0;v[e+4>>2]=d;v[m>>2]=l;l=n+1|0;n=l;g=d}m=g;i=0;g=v[e+8>>2];if(c>>>0>=p>>>0){break s}if(g>>>0>>0){continue}break s}break}n=n+1|0;d=c;break t}v[e+12>>2]=c+1;c=w[c|0];t[(j+(i<<24>>24)|0)+37|0]=c;f=v[(r+((h&255)<<10)|0)+(c<<2)>>2];break r}while(1){x:{f=v[(r+((h&255)<<10)|0)+(w[c|0]<<2)>>2];y:{if((f|0)>=0){i=c+1|0;v[e+12>>2]=i;k=f&16777215;h=f>>>24|0;if(i>>>0>=p>>>0){break x}f=v[(r+(h<<10)|0)+(w[i|0]<<2)>>2];if((f&-2131755008)!=-2143289344){break x}d=x[q+((f&65535)+k<<1)>>1];if(d>>>0>65533){break x}v[e+8>>2]=g+2;c=c+2|0;v[e+12>>2]=c;u[g>>1]=d;k=0;h=f>>>24&127;break y}if((f|0)>-2146435073){i=0;break s}v[e+8>>2]=g+2;c=c+1|0;v[e+12>>2]=c;u[g>>1]=f;h=0}i=0;g=v[e+8>>2];if(c>>>0>=p>>>0){break s}if(g>>>0>>0){continue}break s}break}d=c}c=i;t[j+37|0]=w[d|0];i=1}if(c>>>0>=p>>>0){break q}if(g>>>0>=o>>>0){v[b>>2]=15;break q}v[e+12>>2]=c+1;t[(i+j|0)+37|0]=w[c|0]}m=l;d=h;n=n+1|0;g=(i<<24)+16777216>>24;z:{if((f|0)>=0){h=f>>>24|0;k=(f&16777215)+k|0;i=g;break z}v[j+48>>2]=d&255;h=f>>>24&127;A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{s=f>>>20&15;switch(s|0){case 5:break H;case 0:break I;case 4:break J;default:break G}}c=(f&65535)+k|0;d=x[q+(c<<1)>>1];if(d>>>0<=65533){c=v[e+8>>2];v[e+8>>2]=c+2;u[c>>1]=d;c=v[e+4>>2];if(!c){break A}v[e+4>>2]=c+4;v[c>>2]=m;break A}if((d|0)!=65534){c=h;break C}d=v[j+24>>2];f=v[d+32>>2];if(!f){break B}d=v[d+48>>2];k=0;if((f|0)!=1){while(1){i=f+k>>>1|0;l=c>>>0>2];k=l?k:i;f=l?i:f;if(k>>>0>>0){continue}break}}d=d+(k<<3)|0;if((c|0)!=v[d>>2]){break B}c=v[d+4>>2];if((c|0)==65534){break B}d=v[e+8>>2];v[e+8>>2]=d+2;u[d>>1]=c;c=v[e+4>>2];if(!c){break A}v[e+4>>2]=c+4;v[c>>2]=m;break A}c=v[e+8>>2];v[e+8>>2]=c+2;u[c>>1]=f;c=v[e+4>>2];if(!c){break A}v[e+4>>2]=c+4;v[c>>2]=m;break A}c=(f&65535)+k|0;d=x[q+(c<<1)>>1];if(d>>>0<=55295){c=v[e+8>>2];v[e+8>>2]=c+2;u[c>>1]=d;c=v[e+4>>2];if(!c){break A}v[e+4>>2]=c+4;v[c>>2]=m;break A}i=c+1|0;if(d>>>0<=57343){c=v[e+8>>2];g=c+2|0;v[e+8>>2]=g;u[c>>1]=d&56319;K:{d=v[e+4>>2];if(d){v[e+4>>2]=d+4;v[d>>2]=m;if(g>>>0>=o>>>0){break K}g=x[q+(i<<1)>>1];v[e+8>>2]=c+4;u[c+2>>1]=g;v[e+4>>2]=d+8;v[d+4>>2]=m;break A}if(g>>>0>=o>>>0){break K}d=x[q+(i<<1)>>1];v[e+8>>2]=c+4;u[c+2>>1]=d;break A}c=x[q+(i<<1)>>1];t[j+65|0]=1;u[j+116>>1]=c;break F}if((d&65534)!=57344){break D}c=x[q+(i<<1)>>1];d=v[e+8>>2];v[e+8>>2]=d+2;u[d>>1]=c;c=v[e+4>>2];if(!c){break A}v[e+4>>2]=c+4;v[c>>2]=m;break A}if((f&13631488)!=1048576){break E}c=v[e+8>>2];g=c+2|0;v[e+8>>2]=g;u[c>>1]=f>>>10&1023|55296;L:{d=v[e+4>>2];if(d){v[e+4>>2]=d+4;v[d>>2]=m;f=f&1023|-9216;if(g>>>0>=o>>>0){break L}v[e+8>>2]=c+4;u[c+2>>1]=f;v[e+4>>2]=d+8;v[d+4>>2]=m;break A}f=f&1023|-9216;if(g>>>0>=o>>>0){break L}v[e+8>>2]=c+4;u[c+2>>1]=f;break A}t[j+65|0]=1;u[j+116>>1]=f}v[b>>2]=15;i=0;k=0;break q}i=0;l=n;k=0;c=h;M:{switch(s-2|0){case 6:c=d;if(!w[v[j+24>>2]+29|0]){break A}break C;case 4:break B;case 5:break C;case 0:break M;default:break z}}c=v[e+8>>2];v[e+8>>2]=c+2;u[c>>1]=f;c=v[e+4>>2];if(!c){break A}v[e+4>>2]=c+4;v[c>>2]=m;break A}c=h;if((d|0)!=65535){break B}}v[b>>2]=12;h=c}if(!g){break A}if(v[b>>2]>=1){k=0;if((g|0)<2){i=g;break q}c=g&255;d=r+((h&255)<<10)|0;l=!w[v[j+24>>2]+29|0];i=1;N:{while(1){n=(i+j|0)+37|0;b=v[d+(w[n|0]<<2)>>2];O:{if((b|0)>=0){b=AG(r,b>>>24|0);break O}b=b>>>20&15;b=(b|0)!=7&(l|(b|0)!=8)}if(b){break N}i=i+1|0;if((c|0)!=(i|0)){continue}break}i=g;break q}b=e;c=v[e+12>>2];d=c-v[a+8>>2]|0;g=g-i|0;l=g<<24>>24;P:{if((d|0)>=(l|0)){c=c-l|0;break P}c=d-g|0;t[j+254|0]=c;gc(j+222|0,n,0-(c<<24>>24)|0);c=v[a+8>>2]}v[b+12>>2]=c;break q}v[a+8>>2]=v[e+12>>2];c=v[v[j+24>>2]+224>>2];Q:{if(c){i=0;if(qG(j,c,g,e+12|0,p,e+8|0,o,e+4|0,m,t[a+2|0],b)){break Q}}R:{S:{if(!(w[j+29|0]&128)|(g|0)!=4){break S}c=w[j+40|0]+B(w[j+39|0]+B(w[j+38|0]+B(w[j+37|0],10)|0,126)|0,10)|0;if(c>>>0>=1876218){if(c>>>0>2924793){break S}k=-1876218;d=846608;break R}T:{U:{V:{W:{X:{if(c>>>0>=1706261){if(c>>>0>1720686){break X}k=-1706261;d=846624;break R}if(c>>>0<1688038){break S}if(c>>>0<1694675){k=-1688038;d=846640;break R}if((c|0)==1694675){break S}if(c>>>0>1695139){break W}k=-1694676;d=846656;break R}if(c>>>0<1720768){break S}if(c>>>0>1725062){break V}k=-1720768;d=846672;break R}if(c>>>0<1696437){break S}if(c>>>0>1698546){break U}k=-1696437;d=846688;break R}if(c>>>0<1725296){break S}if(c>>>0>1726325){break T}k=-1725296;d=846704;break R}Y:{if(c>>>0>=1701916){if(c>>>0>1702800){break Y}k=-1701916;d=846720;break R}k=-1700191;d=846736;if(c-1700191>>>0<=764){break R}break S}if(c>>>0>=1705179){if(c>>>0>1705881){break S}k=-1705179;d=846752;break R}if(c>>>0<1703065){break S}if(c>>>0<1703536){k=-1703065;d=846768;break R}if(c>>>0>=1704636){if(c>>>0>1705076){break S}k=-1704636;d=846784;break R}k=-1703947;d=846800;if(c-1703947>>>0<=372){break R}break S}k=-1726612;d=846816;if(c-1726612>>>0<=25){break R}}v[b>>2]=10;i=g;break Q}v[b>>2]=0;rG(j,v[d>>2]+(c+k|0)|0,e+8|0,o,e+4|0,m,b);i=0}k=0;if(v[b>>2]>=1){break q}l=(v[e+12>>2]+n|0)-v[a+8>>2]|0;n=l;break z}i=0;l=n;k=0}c=v[e+12>>2];if(p>>>0<=c>>>0){break q}g=v[e+8>>2];if(o>>>0>g>>>0){continue}break}}v[b>>2]=15}v[j+44>>2]=k;t[j+36|0]=i;v[j+48>>2]=h&255;v[a+8>>2]=v[e+12>>2];v[a+16>>2]=v[e+8>>2];v[a+24>>2]=v[e+4>>2];break a}d=v[a+4>>2];n=v[a+12>>2];c=v[a+8>>2];f=v[a+16>>2];v[e+8>>2]=f;i=v[a+20>>2];v[e+4>>2]=v[a+24>>2];Z:{if(c>>>0>=n>>>0){g=c;break Z}_:{if(f>>>0>=i>>>0){g=c;break _}m=v[v[d+24>>2]+(w[d+28|0]&16?40:36)>>2];while(1){$:{g=c+1|0;v[e+12>>2]=g;aa:{ba:{h=v[m+(w[c|0]<<2)>>2];if((h|0)<=-2146435073){v[e+8>>2]=f+2;u[f>>1]=h;c=v[e+4>>2];if(!c){break ba}v[e+4>>2]=c+4;v[c>>2]=k;break ba}ca:{if((h&13631488)==1048576){u[f>>1]=h>>>10&1023|55296;c=f+2|0;l=v[e+4>>2];if(l){v[e+4>>2]=l+4;v[l>>2]=k;h=h&1023|-9216;if(c>>>0>=i>>>0){break ca}v[e+8>>2]=f+4;u[f+2>>1]=h;v[e+4>>2]=l+8;v[l+4>>2]=k;break ba}h=h&1023|-9216;if(c>>>0>=i>>>0){break ca}v[e+8>>2]=f+4;u[f+2>>1]=h;break ba}da:{switch((h>>>20&15)-2|0){case 0:v[e+8>>2]=f+2;u[f>>1]=h;c=v[e+4>>2];if(!c){break ba}v[e+4>>2]=c+4;v[c>>2]=k;break ba;case 5:v[b>>2]=12;break Z;case 4:break da;default:break ba}}if(v[b>>2]>0){break $}v[a+8>>2]=g;t[d+37|0]=w[c|0];c=d;g=c;ea:{fa:{h=v[v[c+24>>2]+224>>2];if(!h){break fa}if(!qG(d,h,1,e+12|0,n,e+8|0,i,e+4|0,k,t[a+2|0],b)){break fa}f=v[b>>2];c=0;break ea}f=10;v[b>>2]=10;c=1}t[g+36|0]=c;g=v[e+12>>2];if((f|0)>=1){break $}k=((g+k|0)-v[a+8>>2]|0)+1|0;break aa}t[d+65|0]=1;u[d+116>>1]=h;v[b>>2]=15;f=c;break Z}k=k+1|0}if(g>>>0>=n>>>0){break $}c=g;f=v[e+8>>2];if(i>>>0>f>>>0){continue}break _}break}f=v[e+8>>2];break Z}v[b>>2]=15}v[a+16>>2]=f;v[a+8>>2]=g;v[a+24>>2]=v[e+4>>2]}Qb=e+16|0}function ffa(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;h=Qb-48|0;Qb=h;v[h+16>>2]=0;v[h+8>>2]=0;f=v[v[a>>2]+16>>2];v[299999]=0;V(f|0,a|0,b|0);f=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{if((f|0)==1){break f}g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{f=v[b>>2];if(!(f-1>>>0>=6&(f|0)!=8)){if(!d){v[299999]=0;b=aa(4369,h+24|0,240130,242139,1115,340913,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break x}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break h}a=P()|0;O()|0;qc(b);break b}y:{z:{A:{if(!w[a+4|0]){v[299999]=0;f=S(1,72)|0;g=v[299999];v[299999]=0;if((g|0)==1){break A}v[299999]=0;g=S(5306,f|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break w}v[299999]=0;v[h+24>>2]=0;Q(4336,h+24|0,g|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break A}v[299999]=0;Q(4344,d+4|0,h+24|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break z}f=v[h+24>>2];v[h+24>>2]=0;B:{if(!f){break B}v[299999]=0;g=v[f+4>>2]-1|0;v[f+4>>2]=g;i=v[299999];v[299999]=0;if((i|0)==1){break a}if(g){break B}v[299999]=0;R(4338,f|0);f=v[299999];v[299999]=0;if((f|0)==1){break a}}v[d>>2]=-1;v[d>>2]=v[b>>2]==8?-2:-1}v[299999]=0;Q(4344,h+16|0,d+4|0)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break y}a=P()|0;O()|0;break b}a=P()|0;O()|0;break b}a=P()|0;O()|0;ec(h+24|0);break b}f=v[b>>2]}C:{D:{E:{switch(f|0){case 0:f=v[c>>2];if(!f){v[299999]=0;b=aa(4369,h+24|0,240130,242139,1136,340913,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break v}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break h}a=P()|0;O()|0;qc(b);break b}g=v[v[a>>2]+32>>2];v[299999]=0;V(g|0,a|0,f|0);g=v[299999];v[299999]=0;F:{if((g|0)==1){break F}g=w[a+48|0];i=v[v[a>>2]+8>>2];v[299999]=0;g=Y(i|0,a|0,g|0,a+68|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break F}t[a+48|0]=g;if(w[a+4|0]){break C}v[299999]=0;V(5309,a|0,f|0);f=v[299999];v[299999]=0;if((f|0)!=1){break C}}a=P()|0;O()|0;break b;case 1:f=v[v[a>>2]+40>>2];v[299999]=0;U(f|0,a|0,v[h+16>>2],4);f=v[299999];v[299999]=0;if((f|0)==1){break f}v[299999]=0;V(5310,a|0,v[h+16>>2]);f=v[299999];v[299999]=0;if((f|0)==1){break f}f=v[h+16>>2];g=x[f+10>>1];f=x[f+8>>1];v[299999]=0;$(5314,a|0,e|0,f|0,g|0);f=v[299999];v[299999]=0;if((f|0)==1){break f}break C;case 2:f=v[v[a>>2]+40>>2];v[299999]=0;U(f|0,a|0,v[h+16>>2],4);f=v[299999];v[299999]=0;if((f|0)==1){break f}v[299999]=0;V(5310,a|0,v[h+16>>2]);f=v[299999];v[299999]=0;if((f|0)==1){break f}break C;case 3:f=v[v[a>>2]+40>>2];v[299999]=0;U(f|0,a|0,v[h+16>>2],3);f=v[299999];v[299999]=0;if((f|0)==1){break f}v[299999]=0;V(5310,a|0,v[h+16>>2]);f=v[299999];v[299999]=0;if((f|0)==1){break f}f=v[h+16>>2];g=x[f+10>>1];f=x[f+8>>1];v[299999]=0;$(5314,a|0,e|0,f|0,g|0);f=v[299999];v[299999]=0;if((f|0)==1){break f}break C;case 4:G:{if(d){g=v[c>>2];if(g){break G}}v[299999]=0;b=aa(4369,h+24|0,240130,242139,1169,340913,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break u}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break h}a=P()|0;O()|0;qc(b);break b}f=v[v[a>>2]+20>>2];v[299999]=0;f=Y(f|0,a|0,d|0,g|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break t}i=v[d>>2];v[299999]=0;g=Q(4911,g|0,i|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break t}v[299999]=0;Q(4344,h+8|0,g+4|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break t}H:{if(!((f|0)<=v[a+140>>2]&(f|0)>=v[a+136>>2])){v[299999]=0;b=aa(4369,h+24|0,227445,271729,619,307558,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break H}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break h}a=P()|0;O()|0;qc(b);break b}g=v[a+124>>2]+(f-v[a+128>>2]<<4)|0;i=v[g+4>>2];j=v[g+8>>2];k=v[g+12>>2];g=v[g>>2];l=v[v[a>>2]+44>>2];v[299999]=0;fa(l|0,a|0,v[h+16>>2],(j-i|0)+1|0,(g-k|0)+1|0,4);g=v[299999];v[299999]=0;if((g|0)==1){break H}v[299999]=0;$(5311,a|0,v[h+16>>2],h+8|0,f|0);f=v[299999];v[299999]=0;if((f|0)==1){break H}f=v[h+16>>2];g=x[f+10>>1];f=x[f+8>>1];v[299999]=0;$(5314,a|0,e|0,f|0,g|0);f=v[299999];v[299999]=0;if((f|0)!=1){break C}}a=P()|0;O()|0;break b;case 5:I:{if(d){g=v[c>>2];if(g){break I}}v[299999]=0;b=aa(4369,h+24|0,240130,242139,1185,340913,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break s}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break h}a=P()|0;O()|0;qc(b);break b}f=v[v[a>>2]+20>>2];v[299999]=0;f=Y(f|0,a|0,d|0,g|0)|0;i=v[299999];v[299999]=0;J:{if((i|0)==1){break J}i=v[d>>2];v[299999]=0;g=Q(4911,g|0,i|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break J}v[299999]=0;Q(4344,h+8|0,g+4|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break J}if((f|0)<=v[a+140>>2]&(f|0)>=v[a+136>>2]){break D}v[299999]=0;b=aa(4369,h+24|0,227445,271729,619,307558,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break c}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break h}a=P()|0;O()|0;qc(b);break b}a=P()|0;O()|0;break b;case 6:K:{if(d){g=v[c>>2];if(g){break K}}v[299999]=0;b=aa(4369,h+24|0,240130,242139,1199,340913,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break r}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break h}a=P()|0;O()|0;qc(b);break b}f=v[v[a>>2]+20>>2];v[299999]=0;f=Y(f|0,a|0,d|0,g|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break q}i=v[d>>2];v[299999]=0;g=Q(4911,g|0,i|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break q}v[299999]=0;Q(4344,h+8|0,g+4|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break q}L:{if(!((f|0)<=v[a+140>>2]&(f|0)>=v[a+136>>2])){v[299999]=0;b=aa(4369,h+24|0,227445,271729,619,307558,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break L}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break h}a=P()|0;O()|0;qc(b);break b}g=v[a+124>>2]+(f-v[a+128>>2]<<4)|0;i=v[g+4>>2];j=v[g+8>>2];k=v[g+12>>2];g=v[g>>2];l=v[v[a>>2]+44>>2];v[299999]=0;fa(l|0,a|0,v[h+16>>2],(j-i|0)+1|0,(g-k|0)+1|0,4);g=v[299999];v[299999]=0;if((g|0)==1){break L}v[299999]=0;$(5311,a|0,v[h+16>>2],h+8|0,f|0);f=v[299999];v[299999]=0;if((f|0)==1){break L}f=v[h+16>>2];g=x[f+10>>1];f=x[f+8>>1];v[299999]=0;$(5314,a|0,e|0,f|0,g|0);f=v[299999];v[299999]=0;if((f|0)!=1){break C}}a=P()|0;O()|0;break b;case 7:if(w[a+4|0]){v[h+4>>2]=v[e+4>>2]}g=v[c>>2];if(!g){v[299999]=0;b=aa(4369,h+24|0,240130,242139,1217,340913,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break p}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break h}a=P()|0;O()|0;qc(b);break b}f=v[v[a>>2]+20>>2];v[299999]=0;f=Y(f|0,a|0,h+4|0,g|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break d}M:{if(w[a+4|0]){i=v[e+4>>2];break M}i=v[h+4>>2];v[e+4>>2]=i}v[299999]=0;i=Q(4911,g|0,i|0)|0;j=v[299999];v[299999]=0;if((j|0)==1){break d}v[299999]=0;Q(4344,h+16|0,i+4|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break d}if(!((f|0)<=v[a+140>>2]&(f|0)>=v[a+136>>2])){v[299999]=0;b=aa(4369,h+24|0,227445,271729,619,307558,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break e}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break h}a=P()|0;O()|0;qc(b);break b}f=v[a+124>>2]+(f-v[a+128>>2]<<4)|0;i=v[f+4>>2];u[e>>1]=i+x[e>>1];j=v[f+12>>2];u[e+2>>1]=j+x[e+2>>1];N:{if(w[g+104|0]){g=v[h+16>>2];i=x[g+10>>1];g=x[g+8>>1];v[299999]=0;$(5314,a|0,e|0,g|0,i|0);g=v[299999];v[299999]=0;if((g|0)!=1){break N}break e}g=v[f>>2];k=v[f+8>>2];v[299999]=0;$(5314,a|0,e|0,(g-j|0)+1|0,(k-i|0)+1|0);g=v[299999];v[299999]=0;if((g|0)==1){break e}}u[e>>1]=x[e>>1]-x[f+4>>1];u[e+2>>1]=x[e+2>>1]-x[f+12>>1];break C;case 8:f=v[v[a>>2]+40>>2];v[299999]=0;U(f|0,a|0,v[h+16>>2],3);f=v[299999];v[299999]=0;if((f|0)==1){break f}v[299999]=0;V(5310,a|0,v[h+16>>2]);f=v[299999];v[299999]=0;if((f|0)==1){break f}f=v[h+16>>2];g=x[f+10>>1];f=x[f+8>>1];i=v[v[a>>2]+36>>2];v[299999]=0;$(i|0,a|0,e|0,f|0,g|0);f=v[299999];v[299999]=0;if((f|0)!=1){break C}break f;case 10:f=v[c>>2];if(!f){v[299999]=0;b=aa(4369,h+24|0,240130,242139,1245,340913,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break o}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break h}a=P()|0;O()|0;qc(b);break b}g=v[v[a>>2]+12>>2];v[299999]=0;V(g|0,a|0,f+8|0);f=v[299999];v[299999]=0;if((f|0)!=1){break C}a=P()|0;O()|0;break b;case 9:f=v[c>>2];if(!f){v[299999]=0;b=aa(4369,h+24|0,240130,242139,1255,340913,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break n}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break h}a=P()|0;O()|0;qc(b);break b}if(!w[a+49|0]){g=v[v[a>>2]+24>>2];v[299999]=0;V(g|0,a|0,f|0);f=v[299999];v[299999]=0;if((f|0)!=1){break C}break g}v[a+52>>2]=0;v[a+56>>2]=0;v[a+144>>2]=0;v[a+148>>2]=0;v[a+172>>2]=0;v[a+176>>2]=0;v[a+60>>2]=0;v[a+64>>2]=0;v[a+152>>2]=0;v[a+156>>2]=0;v[a+160>>2]=0;v[a+164>>2]=0;v[a+180>>2]=0;v[a+184>>2]=0;v[a+188>>2]=0;v[a+192>>2]=0;v[299999]=0;Ah(a+16|0,1,0);f=v[299999];v[299999]=0;if((f|0)==1){break g}v[299999]=0;Ah(a+28|0,4,0);f=v[299999];v[299999]=0;if((f|0)==1){break g}v[299999]=0;Ah(a+40|0,4,0);f=v[299999];v[299999]=0;if((f|0)==1){break g}v[a+8>>2]=1;break C;case 11:break C;default:break E}}v[299999]=0;b=aa(4369,h+24|0,278835,242139,1272,340913,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break m}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break h}a=P()|0;O()|0;qc(b);break b}f=v[a+124>>2]+(f-v[a+128>>2]<<4)|0;g=v[f+4>>2];i=v[f+8>>2];j=v[f+12>>2];f=v[f>>2];k=v[v[a>>2]+44>>2];v[299999]=0;fa(k|0,a|0,v[h+16>>2],(i-g|0)+1|0,(f-j|0)+1|0,4);f=v[299999];v[299999]=0;if((f|0)==1){break c}}O:{if(w[a+4|0]){break O}f=-1;g=v[b>>2];if(!(g-1>>>0>=6&(g|0)!=8)){P:{if(d){f=v[c>>2];if(f){break P}}v[299999]=0;b=aa(4369,h+24|0,240130,242139,1292,340913,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break l}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break h}a=P()|0;O()|0;qc(b);break b}v[299999]=0;f=Q(5312,f|0,d|0)|0;g=v[299999];v[299999]=0;Q:{R:{if((g|0)==1){break R}g=v[a+88>>2];S:{if((g|0)<=(f|0)){i=v[a+92>>2];if((i|0)>=(f|0)){break S}}v[299999]=0;V(5315,a+72|0,f|0);g=v[299999];v[299999]=0;if((g|0)==1){break R}i=v[a+92>>2];g=v[a+88>>2]}if((f|0)<=(i|0)&(f|0)>=(g|0)){break Q}v[299999]=0;b=aa(4369,h+24|0,227445,271729,619,307344,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break R}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break h}a=P()|0;O()|0;qc(b);break b}a=P()|0;O()|0;break b}v[v[a+76>>2]+(f-v[a+80>>2]<<2)>>2]=-1;g=v[b>>2]}if(!(!(1<>>0>5)){if(!d){v[299999]=0;b=aa(4369,h+24|0,240130,242139,1310,340913,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break k}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break h}a=P()|0;O()|0;qc(b);break b}v[299999]=0;Y(5313,a|0,f|0,d|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break f}}a=v[h+16>>2];if(a){v[299999]=0;R(5066,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break f}}a=v[b>>2];if(a>>>0>8){break O}T:{if(!(1<>2]=f}a=v[c>>2];if(!a){v[299999]=0;b=aa(4369,h+24|0,240130,242139,1331,340913,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break j}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break h}a=P()|0;O()|0;qc(b);break b}v[299999]=0;Q(5316,a|0,e|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break f}}a=v[h+8>>2];v[h+8>>2]=0;U:{if(!a){break U}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break U}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}a=v[h+16>>2];v[h+16>>2]=0;V:{if(!a){break V}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break i}if(b){break V}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break i}}Qb=h+48|0;return}a=P()|0;O()|0;break b}a=P()|0;O()|0;dc(f);break b}a=P()|0;O()|0;break b}a=P()|0;O()|0;break b}a=P()|0;O()|0;break b}a=P()|0;O()|0;break b}a=P()|0;O()|0;break b}a=P()|0;O()|0;break b}a=P()|0;O()|0;break b}a=P()|0;O()|0;break b}a=P()|0;O()|0;break b}a=P()|0;O()|0;break b}a=P()|0;O()|0;break b}a=P()|0;O()|0;break b}a=P()|0;O()|0;break b}W(0)|0;O()|0;lc()}L()}a=P()|0;O()|0;break b}a=P()|0;O()|0;break b}a=P()|0;O()|0;break b}a=P()|0;O()|0;break b}a=P()|0;O()|0}ec(h+8|0);ec(h+16|0);T(a|0);L()}W(0)|0;O()|0;lc();L()}function jRa(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;a:{switch(a|0){case 0:if(!(!w[b+1160|0]|v[b+1172>>2]!=2)){qd(b+100|0,b,v[b+1164>>2],v[b+1168>>2]);v[b+1172>>2]=3}Dd(b);k=v[b+12>>2];if(k){v[b+1176>>2]=v[b+84>>2]}if(!(!w[c+1160|0]|v[c+1172>>2]!=2)){qd(c+100|0,c,v[c+1164>>2],v[c+1168>>2]);v[c+1172>>2]=3}Dd(c);m=v[c+12>>2];b:{c:{if(m){l=v[c+84>>2];v[c+1176>>2]=l;break c}if(!k){break b}l=v[c+84>>2]}o=v[c+92>>2];p=v[c+88>>2];n=v[c+80>>2];a=v[b+92>>2];i=v[b+88>>2];h=v[b+84>>2];j=v[b+80>>2];d:{if(!(!k|!m)){h=(h|0)>(l|0)?l:h;j=(j|0)>(n|0)?n:j;a=(a|0)<(o|0)?o:a;i=(i|0)<(p|0)?p:i;break d}if(k){break d}a=o;i=p;h=l;j=n;if(!m){break b}}if((i|0)<(j|0)|(a|0)<(h|0)){break b}a=v[g+20>>2]-1|0;if((a|0)>=0){while(1){h=v[(v[v[g+32>>2]+(a>>>4&268435452)>>2]+((a&63)<<3)|0)+4>>2];if(h){dc(h)}a=a-1|0;if((a|0)>-1){continue}break}}v[g+60>>2]=0;v[g>>2]=0;v[g+20>>2]=0;v[g+120>>2]=0;v[g+112>>2]=-2147483647;v[g+116>>2]=-2147483647;v[g+104>>2]=2147483647;v[g+108>>2]=2147483647;v[g+40>>2]=0;a=(i-j|0)+3|0;e:{if(a>>>0<=y[f+24>>2]){break e}h=v[f+20>>2];if(h){dc(h)}v[f+24>>2]=a;q=f,r=fc((a|0)!=(a&536870911)?-1:a<<3),v[q+20>>2]=r;if((a|0)==v[f+12>>2]){break e}h=v[f+8>>2];if(h){dc(h)}v[f+12>>2]=a;q=f,r=fc(a),v[q+8>>2]=r}v[f>>2]=2147483632;v[f+16>>2]=v[f+8>>2];a=v[f+20>>2];v[f+28>>2]=a;h=0;u[a+2>>1]=0;a=0;if(k){a=(v[b+88>>2]-v[b+80>>2]|0)+3|0;f:{if(a>>>0<=y[d+24>>2]){break f}i=v[d+20>>2];if(i){dc(i)}v[d+24>>2]=a;q=d,r=fc((a|0)!=(a&536870911)?-1:a<<3),v[q+20>>2]=r;if((a|0)==v[d+12>>2]){break f}i=v[d+8>>2];if(i){dc(i)}v[d+12>>2]=a;q=d,r=fc(a),v[q+8>>2]=r}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];a=v[d+20>>2];v[d+28>>2]=a;u[a+2>>1]=0;a=Kc(b,d)}if(m){h=(v[c+88>>2]-v[c+80>>2]|0)+3|0;g:{if(h>>>0<=y[e+24>>2]){break g}i=v[e+20>>2];if(i){dc(i)}v[e+24>>2]=h;q=e,r=fc((h|0)!=(h&536870911)?-1:h<<3),v[q+20>>2]=r;if((h|0)==v[e+12>>2]){break g}i=v[e+8>>2];if(i){dc(i)}v[e+12>>2]=h;q=e,r=fc(h),v[q+8>>2]=r}v[e>>2]=2147483632;v[e+16>>2]=v[e+8>>2];h=v[e+20>>2];v[e+28>>2]=h;u[h+2>>1]=0;h=Kc(c,e)}if((a|h)!=1){break b}while(1){i=a&1;h:{i:{if(!(!i|!(h&1))){a=v[d+4>>2];h=v[e+4>>2];if((a|0)==(h|0)){HX(d,e,f);if(v[f+28>>2]!=v[f+20>>2]){v[f+4>>2]=v[d+4>>2];$i(g,f)}a=Kc(b,d);break i}if((a|0)<(h|0)){jf(d,f,g);a=Kc(b,d);i=1;break h}jf(e,f,g);a=1;break i}a=0;if(i){jf(d,f,g);a=Kc(b,d)}i=0;if(!(h&1)){break h}jf(e,f,g)}i=Kc(c,e)}h=i;if(h|a){continue}break}}return;case 1:if(!(!w[b+1160|0]|v[b+1172>>2]!=2)){qd(b+100|0,b,v[b+1164>>2],v[b+1168>>2]);v[b+1172>>2]=3}Dd(b);j:{if(!v[b+12>>2]){break j}v[b+1176>>2]=v[b+84>>2];if(!(!w[c+1160|0]|v[c+1172>>2]!=2)){qd(c+100|0,c,v[c+1164>>2],v[c+1168>>2]);v[c+1172>>2]=3}Dd(c);if(!v[c+12>>2]){break j}a=v[c+84>>2];v[c+1176>>2]=a;h=v[c+88>>2];i=v[b+88>>2];h=(h|0)<(i|0)?h:i;i=v[c+80>>2];j=v[b+80>>2];i=(i|0)>(j|0)?i:j;if((h|0)<(i|0)){break j}j=v[b+84>>2];n=(a|0)>(j|0)?a:j;a=v[c+92>>2];j=v[b+92>>2];if((n|0)>(((a|0)<(j|0)?a:j)|0)){break j}a=(h-i|0)+3|0;k:{if(a>>>0<=y[f+24>>2]){break k}h=v[f+20>>2];if(h){dc(h)}v[f+24>>2]=a;q=f,r=fc((a|0)!=(a&536870911)?-1:a<<3),v[q+20>>2]=r;if((a|0)==v[f+12>>2]){break k}h=v[f+8>>2];if(h){dc(h)}v[f+12>>2]=a;q=f,r=fc(a),v[q+8>>2]=r}v[f>>2]=2147483632;v[f+16>>2]=v[f+8>>2];a=v[f+20>>2];v[f+28>>2]=a;u[a+2>>1]=0;a=(v[b+88>>2]-v[b+80>>2]|0)+3|0;l:{if(a>>>0<=y[d+24>>2]){break l}h=v[d+20>>2];if(h){dc(h)}v[d+24>>2]=a;q=d,r=fc((a|0)!=(a&536870911)?-1:a<<3),v[q+20>>2]=r;if((a|0)==v[d+12>>2]){break l}h=v[d+8>>2];if(h){dc(h)}v[d+12>>2]=a;q=d,r=fc(a),v[q+8>>2]=r}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];a=v[d+20>>2];v[d+28>>2]=a;u[a+2>>1]=0;a=(v[c+88>>2]-v[c+80>>2]|0)+3|0;m:{if(a>>>0<=y[e+24>>2]){break m}h=v[e+20>>2];if(h){dc(h)}v[e+24>>2]=a;q=e,r=fc((a|0)!=(a&536870911)?-1:a<<3),v[q+20>>2]=r;if((a|0)==v[e+12>>2]){break m}h=v[e+8>>2];if(h){dc(h)}v[e+12>>2]=a;q=e,r=fc(a),v[q+8>>2]=r}v[e>>2]=2147483632;v[e+16>>2]=v[e+8>>2];a=v[e+20>>2];v[e+28>>2]=a;u[a+2>>1]=0;if(!Kc(b,d)){break j}if(!Kc(c,e)){break j}a=v[g+20>>2]-1|0;if((a|0)>=0){while(1){h=v[(v[v[g+32>>2]+(a>>>4&268435452)>>2]+((a&63)<<3)|0)+4>>2];if(h){dc(h)}a=a-1|0;if((a|0)>-1){continue}break}}v[g+60>>2]=0;v[g>>2]=0;v[g+20>>2]=0;v[g+120>>2]=0;v[g+112>>2]=-2147483647;v[g+116>>2]=-2147483647;v[g+104>>2]=2147483647;v[g+108>>2]=2147483647;v[g+40>>2]=0;while(1){a=v[d+4>>2];h=v[e+4>>2];if((a|0)>=(h|0)){if((a|0)>(h|0)){while(1){if(!Kc(c,e)){break j}a=v[d+4>>2];h=v[e+4>>2];if((a|0)>(h|0)){continue}break}}if((a|0)!=(h|0)){continue}wf(d,e,f);if(v[f+28>>2]!=v[f+20>>2]){v[f+4>>2]=v[d+4>>2];$i(g,f)}if(!Kc(b,d)){break j}if(Kc(c,e)){continue}break j}if(Kc(b,d)){continue}break}}return;case 2:if(!(!w[b+1160|0]|v[b+1172>>2]!=2)){qd(b+100|0,b,v[b+1164>>2],v[b+1168>>2]);v[b+1172>>2]=3}Dd(b);k=v[b+12>>2];if(k){v[b+1176>>2]=v[b+84>>2]}if(!(!w[c+1160|0]|v[c+1172>>2]!=2)){qd(c+100|0,c,v[c+1164>>2],v[c+1168>>2]);v[c+1172>>2]=3}Dd(c);m=v[c+12>>2];n:{o:{if(m){l=v[c+84>>2];v[c+1176>>2]=l;break o}if(!k){break n}l=v[c+84>>2]}o=v[c+92>>2];p=v[c+88>>2];n=v[c+80>>2];a=v[b+92>>2];i=v[b+88>>2];h=v[b+84>>2];j=v[b+80>>2];p:{if(!(!k|!m)){h=(h|0)>(l|0)?l:h;j=(j|0)>(n|0)?n:j;a=(a|0)<(o|0)?o:a;i=(i|0)<(p|0)?p:i;break p}if(k){break p}a=o;i=p;h=l;j=n;if(!m){break n}}if((i|0)<(j|0)|(a|0)<(h|0)){break n}a=v[g+20>>2]-1|0;if((a|0)>=0){while(1){h=v[(v[v[g+32>>2]+(a>>>4&268435452)>>2]+((a&63)<<3)|0)+4>>2];if(h){dc(h)}a=a-1|0;if((a|0)>-1){continue}break}}v[g+60>>2]=0;v[g>>2]=0;v[g+20>>2]=0;v[g+120>>2]=0;v[g+112>>2]=-2147483647;v[g+116>>2]=-2147483647;v[g+104>>2]=2147483647;v[g+108>>2]=2147483647;v[g+40>>2]=0;a=(i-j|0)+3|0;q:{if(a>>>0<=y[f+24>>2]){break q}h=v[f+20>>2];if(h){dc(h)}v[f+24>>2]=a;q=f,r=fc((a|0)!=(a&536870911)?-1:a<<3),v[q+20>>2]=r;if((a|0)==v[f+12>>2]){break q}h=v[f+8>>2];if(h){dc(h)}v[f+12>>2]=a;q=f,r=fc(a),v[q+8>>2]=r}v[f>>2]=2147483632;v[f+16>>2]=v[f+8>>2];a=v[f+20>>2];v[f+28>>2]=a;h=0;u[a+2>>1]=0;a=0;if(k){a=(v[b+88>>2]-v[b+80>>2]|0)+3|0;r:{if(a>>>0<=y[d+24>>2]){break r}i=v[d+20>>2];if(i){dc(i)}v[d+24>>2]=a;q=d,r=fc((a|0)!=(a&536870911)?-1:a<<3),v[q+20>>2]=r;if((a|0)==v[d+12>>2]){break r}i=v[d+8>>2];if(i){dc(i)}v[d+12>>2]=a;q=d,r=fc(a),v[q+8>>2]=r}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];a=v[d+20>>2];v[d+28>>2]=a;u[a+2>>1]=0;a=Kc(b,d)}if(m){h=(v[c+88>>2]-v[c+80>>2]|0)+3|0;s:{if(h>>>0<=y[e+24>>2]){break s}i=v[e+20>>2];if(i){dc(i)}v[e+24>>2]=h;q=e,r=fc((h|0)!=(h&536870911)?-1:h<<3),v[q+20>>2]=r;if((h|0)==v[e+12>>2]){break s}i=v[e+8>>2];if(i){dc(i)}v[e+12>>2]=h;q=e,r=fc(h),v[q+8>>2]=r}v[e>>2]=2147483632;v[e+16>>2]=v[e+8>>2];h=v[e+20>>2];v[e+28>>2]=h;u[h+2>>1]=0;h=Kc(c,e)}if((a|h)!=1){break n}while(1){i=a&1;t:{u:{if(!(!i|!(h&1))){a=v[d+4>>2];h=v[e+4>>2];if((a|0)==(h|0)){GX(d,e,f);if(v[f+28>>2]!=v[f+20>>2]){v[f+4>>2]=v[d+4>>2];$i(g,f)}a=Kc(b,d);break u}if((a|0)<(h|0)){jf(d,f,g);a=Kc(b,d);i=1;break t}jf(e,f,g);a=1;break u}a=0;if(i){jf(d,f,g);a=Kc(b,d)}i=0;if(!(h&1)){break t}jf(e,f,g)}i=Kc(c,e)}h=i;if(h|a){continue}break}}return;case 3:if(!(!w[b+1160|0]|v[b+1172>>2]!=2)){qd(b+100|0,b,v[b+1164>>2],v[b+1168>>2]);v[b+1172>>2]=3}Dd(b);k=v[b+12>>2];if(k){v[b+1176>>2]=v[b+84>>2]}if(!(!w[c+1160|0]|v[c+1172>>2]!=2)){qd(c+100|0,c,v[c+1164>>2],v[c+1168>>2]);v[c+1172>>2]=3}Dd(c);m=v[c+12>>2];v:{w:{if(m){l=v[c+84>>2];v[c+1176>>2]=l;break w}if(!k){break v}l=v[c+84>>2]}o=v[c+92>>2];p=v[c+88>>2];n=v[c+80>>2];a=v[b+92>>2];i=v[b+88>>2];h=v[b+84>>2];j=v[b+80>>2];x:{if(!(!k|!m)){h=(h|0)>(l|0)?l:h;j=(j|0)>(n|0)?n:j;a=(a|0)<(o|0)?o:a;i=(i|0)<(p|0)?p:i;break x}if(k){break x}a=o;i=p;h=l;j=n;if(!m){break v}}if((i|0)<(j|0)|(a|0)<(h|0)){break v}a=v[g+20>>2]-1|0;if((a|0)>=0){while(1){h=v[(v[v[g+32>>2]+(a>>>4&268435452)>>2]+((a&63)<<3)|0)+4>>2];if(h){dc(h)}a=a-1|0;if((a|0)>-1){continue}break}}v[g+60>>2]=0;v[g>>2]=0;v[g+20>>2]=0;v[g+120>>2]=0;v[g+112>>2]=-2147483647;v[g+116>>2]=-2147483647;v[g+104>>2]=2147483647;v[g+108>>2]=2147483647;v[g+40>>2]=0;a=(i-j|0)+3|0;y:{if(a>>>0<=y[f+24>>2]){break y}h=v[f+20>>2];if(h){dc(h)}v[f+24>>2]=a;q=f,r=fc((a|0)!=(a&536870911)?-1:a<<3),v[q+20>>2]=r;if((a|0)==v[f+12>>2]){break y}h=v[f+8>>2];if(h){dc(h)}v[f+12>>2]=a;q=f,r=fc(a),v[q+8>>2]=r}v[f>>2]=2147483632;v[f+16>>2]=v[f+8>>2];a=v[f+20>>2];v[f+28>>2]=a;h=0;u[a+2>>1]=0;a=0;if(k){a=(v[b+88>>2]-v[b+80>>2]|0)+3|0;z:{if(a>>>0<=y[d+24>>2]){break z}i=v[d+20>>2];if(i){dc(i)}v[d+24>>2]=a;q=d,r=fc((a|0)!=(a&536870911)?-1:a<<3),v[q+20>>2]=r;if((a|0)==v[d+12>>2]){break z}i=v[d+8>>2];if(i){dc(i)}v[d+12>>2]=a;q=d,r=fc(a),v[q+8>>2]=r}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];a=v[d+20>>2];v[d+28>>2]=a;u[a+2>>1]=0;a=Kc(b,d)}if(m){h=(v[c+88>>2]-v[c+80>>2]|0)+3|0;A:{if(h>>>0<=y[e+24>>2]){break A}i=v[e+20>>2];if(i){dc(i)}v[e+24>>2]=h;q=e,r=fc((h|0)!=(h&536870911)?-1:h<<3),v[q+20>>2]=r;if((h|0)==v[e+12>>2]){break A}i=v[e+8>>2];if(i){dc(i)}v[e+12>>2]=h;q=e,r=fc(h),v[q+8>>2]=r}v[e>>2]=2147483632;v[e+16>>2]=v[e+8>>2];h=v[e+20>>2];v[e+28>>2]=h;u[h+2>>1]=0;h=Kc(c,e)}if((a|h)!=1){break v}while(1){i=a&1;B:{C:{if(!(!i|!(h&1))){a=v[d+4>>2];h=v[e+4>>2];if((a|0)==(h|0)){FX(d,e,f);if(v[f+28>>2]!=v[f+20>>2]){v[f+4>>2]=v[d+4>>2];$i(g,f)}a=Kc(b,d);break C}if((a|0)<(h|0)){jf(d,f,g);a=Kc(b,d);i=1;break B}jf(e,f,g);a=1;break C}a=0;if(i){jf(d,f,g);a=Kc(b,d)}i=0;if(!(h&1)){break B}jf(e,f,g)}i=Kc(c,e)}h=i;if(h|a){continue}break}}return;case 4:if(!(!w[b+1160|0]|v[b+1172>>2]!=2)){qd(b+100|0,b,v[b+1164>>2],v[b+1168>>2]);v[b+1172>>2]=3}Dd(b);k=v[b+12>>2];if(k){v[b+1176>>2]=v[b+84>>2]}if(!(!w[c+1160|0]|v[c+1172>>2]!=2)){qd(c+100|0,c,v[c+1164>>2],v[c+1168>>2]);v[c+1172>>2]=3}Dd(c);m=v[c+12>>2];D:{E:{if(m){l=v[c+84>>2];v[c+1176>>2]=l;break E}if(!k){break D}l=v[c+84>>2]}o=v[c+92>>2];p=v[c+88>>2];n=v[c+80>>2];a=v[b+92>>2];i=v[b+88>>2];h=v[b+84>>2];j=v[b+80>>2];F:{if(!(!k|!m)){h=(h|0)>(l|0)?l:h;j=(j|0)>(n|0)?n:j;a=(a|0)<(o|0)?o:a;i=(i|0)<(p|0)?p:i;break F}if(k){break F}a=o;i=p;h=l;j=n;if(!m){break D}}if((i|0)<(j|0)|(a|0)<(h|0)){break D}a=v[g+20>>2]-1|0;if((a|0)>=0){while(1){h=v[(v[v[g+32>>2]+(a>>>4&268435452)>>2]+((a&63)<<3)|0)+4>>2];if(h){dc(h)}a=a-1|0;if((a|0)>-1){continue}break}}v[g+60>>2]=0;v[g>>2]=0;v[g+20>>2]=0;v[g+120>>2]=0;v[g+112>>2]=-2147483647;v[g+116>>2]=-2147483647;v[g+104>>2]=2147483647;v[g+108>>2]=2147483647;v[g+40>>2]=0;a=(i-j|0)+3|0;G:{if(a>>>0<=y[f+24>>2]){break G}h=v[f+20>>2];if(h){dc(h)}v[f+24>>2]=a;q=f,r=fc((a|0)!=(a&536870911)?-1:a<<3),v[q+20>>2]=r;if((a|0)==v[f+12>>2]){break G}h=v[f+8>>2];if(h){dc(h)}v[f+12>>2]=a;q=f,r=fc(a),v[q+8>>2]=r}v[f>>2]=2147483632;v[f+16>>2]=v[f+8>>2];a=v[f+20>>2];v[f+28>>2]=a;h=0;u[a+2>>1]=0;a=0;if(k){a=(v[b+88>>2]-v[b+80>>2]|0)+3|0;H:{if(a>>>0<=y[d+24>>2]){break H}i=v[d+20>>2];if(i){dc(i)}v[d+24>>2]=a;q=d,r=fc((a|0)!=(a&536870911)?-1:a<<3),v[q+20>>2]=r;if((a|0)==v[d+12>>2]){break H}i=v[d+8>>2];if(i){dc(i)}v[d+12>>2]=a;q=d,r=fc(a),v[q+8>>2]=r}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];a=v[d+20>>2];v[d+28>>2]=a;u[a+2>>1]=0;a=Kc(b,d)}if(m){h=(v[c+88>>2]-v[c+80>>2]|0)+3|0;I:{if(h>>>0<=y[e+24>>2]){break I}i=v[e+20>>2];if(i){dc(i)}v[e+24>>2]=h;q=e,r=fc((h|0)!=(h&536870911)?-1:h<<3),v[q+20>>2]=r;if((h|0)==v[e+12>>2]){break I}i=v[e+8>>2];if(i){dc(i)}v[e+12>>2]=h;q=e,r=fc(h),v[q+8>>2]=r}v[e>>2]=2147483632;v[e+16>>2]=v[e+8>>2];h=v[e+20>>2];v[e+28>>2]=h;u[h+2>>1]=0;h=Kc(c,e)}if((a|h)!=1){break D}while(1){i=a&1;J:{K:{if(!(!i|!(h&1))){a=v[d+4>>2];h=v[e+4>>2];if((a|0)==(h|0)){EX(d,e,f);if(v[f+28>>2]!=v[f+20>>2]){v[f+4>>2]=v[d+4>>2];$i(g,f)}a=Kc(b,d);break K}if((a|0)<(h|0)){jf(d,f,g);a=Kc(b,d);i=1;break J}jf(e,f,g);a=1;break K}a=0;if(i){jf(d,f,g);a=Kc(b,d)}i=0;if(!(h&1)){break J}jf(e,f,g)}i=Kc(c,e)}h=i;if(h|a){continue}break}}return;case 5:IX(b,c,d,e,f,g);return;case 6:IX(c,b,e,d,f,g);break;default:break a}}}function fE(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;i=Qb-96|0;Qb=i;a:{b:{while(1){c=v[a+4>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;if((c|0)!=255&(c|0)!=-1){continue}while(1){c=v[a+4>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;if((c|0)==255){continue}break}j=0;c:{d:{e:{switch(c-192|0){case 26:c=-4;b=v[a+4>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;f:{if((b|0)==-1){break f}d=v[a+4>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break f}c=(d+(b<<8)|0)-3|0}b=v[a+4>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;v[a+136>>2]=b;g:{if(b-1>>>0>=4){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,258013,0);v[a+136>>2]=0;b=0;break g}if(((b<<1)+3|0)!=(c|0)){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,263260,0);b=0;break g}c=v[a+188>>2];v[a+12>>2]=(c|0)==(b|0);b=0;h:{if((c|0)>0){while(1){v[((b<<2)+a|0)+120>>2]=0;b=b+1|0;if((b|0)>2]){continue}break}if(v[a+136>>2]<1){break h}}c=0;while(1){b=v[a+4>>2];d=Ub[v[v[b>>2]+28>>2]](b)|0;i:{b=c;if((d|0)==v[(B(c,20)+a|0)+40>>2]){break i}b=0;j:{k:{f=v[a+188>>2];if((f|0)<1){break k}while(1){if((d|0)==v[(B(b,20)+a|0)+40>>2]){break k}b=b+1|0;if((f|0)!=(b|0)){continue}break}break j}if((b|0)!=(f|0)){break i}}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,263220,0);b=0;break g}b=(b<<2)+a|0;d=b;if(v[d+120>>2]){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,263176,0);b=0;break g}v[d+120>>2]=1;d=v[a+4>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;v[b+156>>2]=d&15;v[b+140>>2]=d>>>4&15;c=c+1|0;if((c|0)>2]){continue}break}}b=v[a+4>>2];l=a,m=Ub[v[v[b>>2]+28>>2]](b)|0,v[l+172>>2]=m;b=v[a+4>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;v[a+176>>2]=b;c=v[a+172>>2];if(!(!((c|0)<0|(b|0)>63)&(b|0)>=(c|0))){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,263129,0);b=0;break g}b=v[a+4>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;v[a+184>>2]=b&15;v[a+180>>2]=b>>>4&15;b=1}if(!b){break a}b=v[a+188>>2];if((b|0)>0){break b}j=1;break a;default:switch(c+1|0){case 1:continue;case 0:break d;default:break c};case 0:case 1:if(!b){a=Ub[v[v[a>>2]+52>>2]](a)|0;v[i+16>>2]=c;kc(1,a,322594,i+16|0);break a}f=Qb-16|0;Qb=f;c=-1;d=v[a+4>>2];if((Ub[v[v[d>>2]+28>>2]](d)|0)!=-1){d=v[a+4>>2];Ub[v[v[d>>2]+28>>2]](d)|0}d=v[a+4>>2];e=Ub[v[v[d>>2]+28>>2]](d)|0;d=v[a+4>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;l:{if((d|0)==-1){break l}g=v[a+4>>2];g=Ub[v[v[g>>2]+28>>2]](g)|0;if((g|0)==-1){break l}c=g+(d<<8)|0}v[a+20>>2]=c;c=a;g=v[a+4>>2];g=Ub[v[v[g>>2]+28>>2]](g)|0;d=-1;m:{if((g|0)==-1){break m}h=v[a+4>>2];h=Ub[v[v[h>>2]+28>>2]](h)|0;d=-1;if((h|0)==-1){break m}d=h+(g<<8)|0}v[c+16>>2]=d;c=v[a+4>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;v[a+188>>2]=c;n:{if(c-1>>>0>=4){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,258013,0);v[a+188>>2]=0;c=0;break n}o:{if((e|0)==8){d=0;break o}c=Ub[v[v[a>>2]+52>>2]](a)|0;v[f>>2]=e;kc(1,c,217482,f);c=0;break n}p:{while(1){c=B(d,20)+a|0;e=v[a+4>>2];l=c,m=Ub[v[v[e>>2]+28>>2]](e)|0,v[l+40>>2]=m;e=v[a+4>>2];e=Ub[v[v[e>>2]+28>>2]](e)|0;v[c+48>>2]=e&15;v[c+44>>2]=e>>>4&15;e=v[a+4>>2];e=Ub[v[v[e>>2]+28>>2]](e)|0;v[c+52>>2]=e;q:{g=v[c+44>>2];r:{if(g>>>0>4|!(1<>2];if(c>>>0>4){break r}if(1<>2]+52>>2]](a)|0,237655,0);c=0;break n}if(e>>>0<4){d=d+1|0;if((d|0)>=v[a+188>>2]){break p}continue}break}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,237567,0);c=0;break n}v[a+8>>2]=0;c=1}Qb=f+16|0;if(c){continue}break a;case 2:if(!b){a=Ub[v[v[a>>2]+52>>2]](a)|0;v[i+32>>2]=194;kc(1,a,322594,i+32|0);break a}f=Qb-16|0;Qb=f;c=-1;d=v[a+4>>2];if((Ub[v[v[d>>2]+28>>2]](d)|0)!=-1){d=v[a+4>>2];Ub[v[v[d>>2]+28>>2]](d)|0}d=v[a+4>>2];e=Ub[v[v[d>>2]+28>>2]](d)|0;d=v[a+4>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;s:{if((d|0)==-1){break s}g=v[a+4>>2];g=Ub[v[v[g>>2]+28>>2]](g)|0;if((g|0)==-1){break s}c=g+(d<<8)|0}v[a+20>>2]=c;c=a;g=v[a+4>>2];g=Ub[v[v[g>>2]+28>>2]](g)|0;d=-1;t:{if((g|0)==-1){break t}h=v[a+4>>2];h=Ub[v[v[h>>2]+28>>2]](h)|0;d=-1;if((h|0)==-1){break t}d=h+(g<<8)|0}v[c+16>>2]=d;c=v[a+4>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;v[a+188>>2]=c;u:{if(c-1>>>0>=4){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,258013,0);v[a+188>>2]=0;c=0;break u}v:{if((e|0)==8){d=0;break v}c=Ub[v[v[a>>2]+52>>2]](a)|0;v[f>>2]=e;kc(1,c,217482,f);c=0;break u}w:{while(1){c=B(d,20)+a|0;e=v[a+4>>2];l=c,m=Ub[v[v[e>>2]+28>>2]](e)|0,v[l+40>>2]=m;e=v[a+4>>2];e=Ub[v[v[e>>2]+28>>2]](e)|0;v[c+48>>2]=e&15;v[c+44>>2]=e>>>4&15;e=v[a+4>>2];e=Ub[v[v[e>>2]+28>>2]](e)|0;v[c+52>>2]=e;x:{g=v[c+44>>2];y:{if(g>>>0>4|!(1<>2];if(c>>>0>4){break y}if(1<>2]+52>>2]](a)|0,237655,0);c=0;break u}if(e>>>0<4){d=d+1|0;if((d|0)>=v[a+188>>2]){break w}continue}break}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,237567,0);c=0;break u}v[a+8>>2]=1;c=1}Qb=f+16|0;if(c){continue}break a;case 4:c=v[a+4>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;z:{A:{if((c|0)==-1){break A}d=v[a+4>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break A}d=(d+(c<<8)|0)-2|0;if((d|0)<1){break A}while(1){c=v[a+4>>2];f=Ub[v[v[c>>2]+28>>2]](c)|0;c=f&15;if(c>>>0>=4){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,282677,0);c=0;break z}B:{if(f&16){if((c|0)>=v[a+3464>>2]){v[a+3464>>2]=c+1}c=(B(c,342)+a|0)+2092|0;break B}if((c|0)>=v[a+3460>>2]){v[a+3460>>2]=c+1}c=(B(c,342)+a|0)+724|0}f=v[a+4>>2];f=Ub[v[v[f>>2]+28>>2]](f)|0;u[c+54>>1]=f;u[c+20>>1]=0;t[c+1|0]=0;e=v[a+4>>2];e=Ub[v[v[e>>2]+28>>2]](e)|0;u[c+56>>1]=e;h=f<<1;u[c+22>>1]=h;t[c+2|0]=f;g=v[a+4>>2];g=Ub[v[v[g>>2]+28>>2]](g)|0;u[c+58>>1]=g;h=e+h<<1;u[c+24>>1]=h;e=e+f|0;t[c+3|0]=e;f=v[a+4>>2];f=Ub[v[v[f>>2]+28>>2]](f)|0;u[c+60>>1]=f;h=g+h<<1;u[c+26>>1]=h;g=e+g|0;t[c+4|0]=g;e=v[a+4>>2];e=Ub[v[v[e>>2]+28>>2]](e)|0;u[c+62>>1]=e;h=f+h<<1;u[c+28>>1]=h;g=f+g|0;t[c+5|0]=g;f=v[a+4>>2];f=Ub[v[v[f>>2]+28>>2]](f)|0;u[c- -64>>1]=f;h=e+h<<1;u[c+30>>1]=h;g=e+g|0;t[c+6|0]=g;e=v[a+4>>2];e=Ub[v[v[e>>2]+28>>2]](e)|0;u[c+66>>1]=e;h=f+h<<1;u[c+32>>1]=h;g=f+g|0;t[c+7|0]=g;f=v[a+4>>2];f=Ub[v[v[f>>2]+28>>2]](f)|0;u[c+68>>1]=f;h=e+h<<1;u[c+34>>1]=h;g=e+g|0;t[c+8|0]=g;e=v[a+4>>2];e=Ub[v[v[e>>2]+28>>2]](e)|0;u[c+70>>1]=e;h=f+h<<1;u[c+36>>1]=h;g=f+g|0;t[c+9|0]=g;f=v[a+4>>2];f=Ub[v[v[f>>2]+28>>2]](f)|0;u[c+72>>1]=f;h=e+h<<1;u[c+38>>1]=h;g=e+g|0;t[c+10|0]=g;e=v[a+4>>2];e=Ub[v[v[e>>2]+28>>2]](e)|0;u[c+74>>1]=e;h=f+h<<1;u[c+40>>1]=h;g=f+g|0;t[c+11|0]=g;f=v[a+4>>2];f=Ub[v[v[f>>2]+28>>2]](f)|0;u[c+76>>1]=f;h=e+h<<1;u[c+42>>1]=h;g=e+g|0;t[c+12|0]=g;e=v[a+4>>2];e=Ub[v[v[e>>2]+28>>2]](e)|0;u[c+78>>1]=e;h=f+h<<1;u[c+44>>1]=h;g=f+g|0;t[c+13|0]=g;f=v[a+4>>2];f=Ub[v[v[f>>2]+28>>2]](f)|0;u[c+80>>1]=f;h=e+h<<1;u[c+46>>1]=h;g=e+g|0;t[c+14|0]=g;e=v[a+4>>2];e=Ub[v[v[e>>2]+28>>2]](e)|0;u[c+82>>1]=e;h=f+h<<1;u[c+48>>1]=h;f=f+g|0;t[c+15|0]=f;g=v[a+4>>2];g=Ub[v[v[g>>2]+28>>2]](g)|0;u[c+84>>1]=g;u[c+50>>1]=e+h<<1;f=e+f|0;t[c+16|0]=f;h=d-17|0;e=f+g&255;C:{if(!e){break C}f=0;if((e|0)!=1){d=e&254;while(1){g=c+86|0;k=v[a+4>>2];l=g+f|0,m=Ub[v[v[k>>2]+28>>2]](k)|0,t[l|0]=m;k=g+(f|1)|0;g=v[a+4>>2];l=k,m=Ub[v[v[g>>2]+28>>2]](g)|0,t[l|0]=m;f=f+2|0;d=d-2|0;if(d){continue}break}}if(!(e&1)){break C}d=c+f|0;c=v[a+4>>2];l=d,m=Ub[v[v[c>>2]+28>>2]](c)|0,t[l+86|0]=m}d=h-e|0;if((d|0)>0){continue}break}}c=1}if(c){continue}break a;case 24:if(b){continue}a=Ub[v[v[a>>2]+52>>2]](a)|0;v[i+48>>2]=216;kc(1,a,322594,i+48|0);break a;case 27:c=v[a+4>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;D:{E:{if((c|0)==-1){break E}d=v[a+4>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break E}d=(d+(c<<8)|0)-2|0;if((d|0)<1){break E}while(1){F:{c=v[a+4>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;e=c>>>4&15;if(e>>>0<=1){f=c&15;if(f>>>0<4){break F}}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,282650,0);c=0;break D}if((f|0)>=v[a+720>>2]){v[a+720>>2]=f+1}c=0;G:{if(!e){while(1){g=((f<<7)+a|0)+208|0;e=c<<2;h=v[a+4>>2];l=g+(v[e+967440>>2]<<1)|0,m=Ub[v[v[h>>2]+28>>2]](h)|0,u[l>>1]=m;g=g+(v[(e|4)+967440>>2]<<1)|0;e=v[a+4>>2];l=g,m=Ub[v[v[e>>2]+28>>2]](e)|0,u[l>>1]=m;c=c+2|0;if((c|0)!=64){continue}break}c=-65;break G}while(1){g=v[a+4>>2];g=Ub[v[v[g>>2]+28>>2]](g)|0;e=-1;H:{if((g|0)==-1){break H}h=v[a+4>>2];h=Ub[v[v[h>>2]+28>>2]](h)|0;e=-1;if((h|0)==-1){break H}e=h+(g<<8)|0}u[(((f<<7)+a|0)+(v[(c<<2)+967440>>2]<<1)|0)+208>>1]=e;c=c+1|0;if((c|0)!=64){continue}break}c=-129}d=c+d|0;if((d|0)>0){continue}break}}c=1}if(c){continue}break a;case 29:I:{c=v[a+4>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;J:{if((c|0)==-1){break J}d=v[a+4>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break J}if((d+(c<<8)|0)==4){break I}}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,260815,0);break a}c=a;f=v[a+4>>2];f=Ub[v[v[f>>2]+28>>2]](f)|0;d=-1;K:{if((f|0)==-1){break K}j=v[a+4>>2];j=Ub[v[v[j>>2]+28>>2]](j)|0;d=-1;if((j|0)==-1){break K}d=j+(f<<8)|0}v[c+204>>2]=d;continue;case 32:if(!b){a=Ub[v[v[a>>2]+52>>2]](a)|0;v[i+64>>2]=224;kc(1,a,322594,i- -64|0);break a}c=Qb-16|0;Qb=c;d=1;f=v[a+4>>2];f=Ub[v[v[f>>2]+28>>2]](f)|0;L:{if((f|0)==-1){break L}e=v[a+4>>2];e=Ub[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){break L}M:{f=e+(f<<8)|0;N:{if((f|0)<7){f=f-2|0;break N}e=v[a+4>>2];e=Ub[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){break M}t[c+11|0]=e;e=v[a+4>>2];e=Ub[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){break M}t[c+12|0]=e;e=v[a+4>>2];e=Ub[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){break M}t[c+13|0]=e;e=v[a+4>>2];e=Ub[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){break M}t[c+14|0]=e;e=v[a+4>>2];e=Ub[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){break M}t[c+15|0]=e;f=f-7|0;if(Pc(c+11|0,967952,5)){break N}v[a+196>>2]=1}if((f|0)<=0){break L}while(1){e=v[a+4>>2];if((Ub[v[v[e>>2]+28>>2]](e)|0)==-1){break M}e=(f|0)<2;f=f-1|0;if(!e){continue}break}break L}d=0;kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,239744,0)}Qb=c+16|0;if(d){continue}break a;case 25:break a;case 3:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 28:case 30:case 31:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:break c;case 46:break e}}if(!b){a=Ub[v[v[a>>2]+52>>2]](a)|0;v[i+80>>2]=238;kc(1,a,322594,i+80|0);break a}c=Qb-16|0;Qb=c;O:{P:{d=v[a+4>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break P}f=v[a+4>>2];f=Ub[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break P}e=f+(d<<8)|0;if((e|0)<14){break P}d=v[a+4>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break P}t[c+4|0]=d;d=v[a+4>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break P}t[c+5|0]=d;d=v[a+4>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break P}t[c+6|0]=d;d=v[a+4>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break P}t[c+7|0]=d;d=v[a+4>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break P}t[c+8|0]=d;d=v[a+4>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break P}t[c+9|0]=d;d=v[a+4>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break P}t[c+10|0]=d;d=v[a+4>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break P}t[c+11|0]=d;d=v[a+4>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break P}t[c+12|0]=d;d=v[a+4>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break P}t[c+13|0]=d;d=v[a+4>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break P}t[c+14|0]=d;d=v[a+4>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break P}t[c+15|0]=d;if(!Pc(c+4|0,286674,5)){v[a+200>>2]=1;v[a+192>>2]=d<<24>>24}d=14;f=1;if((e|0)<=14){break O}while(1){f=v[a+4>>2];if((Ub[v[v[f>>2]+28>>2]](f)|0)==-1){break P}f=1;d=d+1|0;if((e|0)!=(d|0)){continue}break}break O}f=0;kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,239717,0)}Qb=c+16|0;if(f){continue}break a}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,240107,0);break a}if((c|0)>=224){d=v[a+4>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;c=-1;Q:{if((d|0)==-1){break Q}f=v[a+4>>2];f=Ub[v[v[f>>2]+28>>2]](f)|0;c=-1;if((f|0)==-1){break Q}c=f+(d<<8)|0}d=v[a+4>>2];Ub[v[v[d>>2]+48>>2]](d,c-2|0)|0;continue}break}a=Ub[v[v[a>>2]+52>>2]](a)|0;v[i>>2]=c;kc(1,a,322565,i);break a}c=v[a+720>>2];R:{while(1){if((c|0)<=v[(B(j,20)+a|0)+52>>2]){break R}j=j+1|0;if((b|0)!=(j|0)){continue}break}j=1;break a}j=0;kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,237534,0)}Qb=i+96|0;return j}function vma(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;f=Qb-160|0;Qb=f;v[f+156>>2]=c;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{switch(b-254|0){default:switch(b-32995|0){case 2:break p;case 1:break r;case 3:break s;case 0:break v;default:break h};case 0:v[f+156>>2]=c+4;v[a+80>>2]=v[c>>2];d=1;break g;case 2:v[f+156>>2]=c+4;v[a+56>>2]=v[c>>2];d=1;break g;case 3:v[f+156>>2]=c+4;v[a+60>>2]=v[c>>2];d=1;break g;case 4:v[f+156>>2]=c+4;c=v[c>>2];u[a+84>>1]=c;d=1;if(!(w[a+12|0]&128)){break g}x:{y:{z:{A:{B:{c=c&65535;switch(c-16|0){case 16:break y;case 8:break z;case 0:break A;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break g;default:break B}}if((c|0)==64){break x}if((c|0)!=128){break g}v[a+652>>2]=391;break g}v[a+652>>2]=392;break g}v[a+652>>2]=393;break g}v[a+652>>2]=394;break g}v[a+652>>2]=391;break g;case 5:v[f+156>>2]=c+4;c=x[c>>1];if(w[a+40|0]&128){d=1;if((c|0)==x[a+88>>1]){break g}Ub[v[a+572>>2]](a);v[a+12>>2]=v[a+12>>2]&-33}d=v[282620];C:{if(d){while(1){e=v[d+4>>2];if((c|0)==x[e+4>>1]){break C}d=v[d>>2];if(d){continue}break}}if(v[256968]){e=1027872;while(1){if((c|0)==x[e+4>>1]){break C}d=v[e+12>>2];e=e+12|0;if(d){continue}break}}e=0}v[a+556>>2]=434;v[a+548>>2]=435;v[a+540>>2]=436;v[a+520>>2]=437;v[a+516>>2]=438;v[a+512>>2]=1;v[a+528>>2]=1;v[a+580>>2]=439;v[a+576>>2]=440;v[a+572>>2]=441;v[a+568>>2]=442;v[a+564>>2]=441;v[a+560>>2]=443;v[a+552>>2]=444;v[a+544>>2]=445;v[a+536>>2]=438;v[a+532>>2]=437;v[a+524>>2]=438;v[a+12>>2]=v[a+12>>2]&-131329;if(e){d=Ub[v[e+8>>2]](a,c)|0}else{d=1}if(!d){break c}u[a+88>>1]=c;break g;case 8:v[f+156>>2]=c+4;u[a+90>>1]=v[c>>2];d=1;break g;case 9:v[f+156>>2]=c+4;u[a+92>>1]=v[c>>2];d=1;break g;case 12:v[f+156>>2]=c+4;d=1;e=v[c>>2];if(e-1>>>0>1){break b}u[a+94>>1]=e;break g;case 20:v[f+156>>2]=c+4;e=v[c>>2];if(e-1>>>0>7){break b}u[a+96>>1]=e;d=1;break g;case 23:v[f+156>>2]=c+4;c=v[c>>2];if(!c){break b}u[a+98>>1]=c;d=1;break g;case 24:v[f+156>>2]=c+4;c=v[c>>2];if(!c){break e}v[a+100>>2]=c;d=1;if(w[a+40|0]&4){break g}v[a+72>>2]=c;v[a+68>>2]=v[a+56>>2];break g;case 26:v[f+156>>2]=c+4;u[a+104>>1]=v[c>>2];d=1;break g;case 27:v[f+156>>2]=c+4;u[a+106>>1]=v[c>>2];d=1;break g;case 86:c=c+7&-8;v[f+156>>2]=c+8;A[a+112>>3]=A[c>>3];d=1;break g;case 87:c=c+7&-8;v[f+156>>2]=c+8;A[a+120>>3]=A[c>>3];d=1;break g;case 28:c=c+7&-8;v[f+156>>2]=c+8;z[a+128>>2]=A[c>>3];d=1;break g;case 29:c=c+7&-8;v[f+156>>2]=c+8;z[a+132>>2]=A[c>>3];d=1;break g;case 30:v[f+156>>2]=c+4;d=1;e=v[c>>2];if(e-1>>>0>1){break b}u[a+138>>1]=e;break g;case 32:c=c+7&-8;v[f+156>>2]=c+8;z[a+140>>2]=A[c>>3];d=1;break g;case 33:c=c+7&-8;v[f+156>>2]=c+8;z[a+144>>2]=A[c>>3];d=1;break g;case 42:v[f+156>>2]=c+4;e=v[c>>2];if(e-1>>>0>2){break b}u[a+136>>1]=e;d=1;break g;case 43:u[a+148>>1]=v[c>>2];v[f+156>>2]=c+8;u[a+150>>1]=v[c+4>>2];d=1;break g;case 67:u[a+164>>1]=v[c>>2];v[f+156>>2]=c+8;u[a+166>>1]=v[c+4>>2];d=1;break g;case 66:e=x[a+84>>1];v[f+156>>2]=c+4;d=v[c>>2];g=v[a+152>>2];if(g){dc(g);v[a+152>>2]=0}e=1<>>0>>0){break D}h=jc(g);v[a+152>>2]=h;if(!h){break D}oe(h,d,g)}d=v[c+4>>2];g=v[a+156>>2];if(g){dc(g);v[a+156>>2]=0}E:{if(!d){break E}g=e+e|0;if(g>>>0>>0){break E}h=jc(g);v[a+156>>2]=h;if(!h){break E}oe(h,d,g)}v[f+156>>2]=c+12;c=v[c+8>>2];d=v[a+160>>2];if(d){dc(d);v[a+160>>2]=0}d=1;if(!c){break g}g=e;e=e+e|0;if(g>>>0>e>>>0){break g}g=jc(e);v[a+160>>2]=g;if(!g){break g}oe(g,c,e);break g;case 278:break j;case 47:break l;case 276:break m;case 277:break n;case 76:break o;case 85:break q;case 69:break t;case 68:break u;case 84:break w;case 1:case 6:case 7:case 10:case 11:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 21:case 22:case 25:case 31:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 44:case 45:case 46:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 65:case 70:case 71:case 72:case 73:case 74:case 75:case 77:case 78:case 80:case 81:case 82:case 83:case 88:case 89:case 90:case 91:case 92:case 93:case 94:case 95:case 96:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:case 123:case 124:case 125:case 126:case 127:case 128:case 129:case 130:case 131:case 132:case 133:case 134:case 135:case 136:case 137:case 138:case 139:case 140:case 141:case 142:case 143:case 144:case 145:case 146:case 147:case 148:case 149:case 150:case 151:case 152:case 153:case 154:case 155:case 156:case 157:case 158:case 159:case 160:case 161:case 162:case 163:case 164:case 165:case 166:case 167:case 168:case 169:case 170:case 171:case 172:case 173:case 174:case 175:case 176:case 177:case 178:case 179:case 180:case 181:case 182:case 183:case 184:case 185:case 186:case 187:case 188:case 189:case 190:case 191:case 192:case 193:case 194:case 195:case 196:case 197:case 198:case 199:case 200:case 201:case 202:case 203:case 204:case 205:case 206:case 207:case 208:case 209:case 210:case 211:case 212:case 213:case 214:case 215:case 216:case 217:case 218:case 219:case 220:case 221:case 222:case 223:case 224:case 225:case 226:case 227:case 228:case 229:case 230:case 231:case 232:case 233:case 234:case 235:case 236:case 237:case 238:case 239:case 240:case 241:case 242:case 243:case 244:case 245:case 246:case 247:case 248:case 249:case 250:case 251:case 252:case 253:case 254:case 255:case 256:case 257:case 258:case 259:case 260:case 261:case 262:case 263:case 264:case 265:case 266:case 267:case 268:case 269:case 270:case 271:case 272:case 273:case 274:case 275:break h;case 79:break i}}e=v[c>>2];h=e&65535;if(h>>>0>x[a+98>>1]){break b}g=v[c+4>>2];if(g?0:e){break b}if(e){c=0;while(1){d=g+(c<<1)|0;j=x[d>>1];if(j>>>0>=3){if((j|0)!=999){break b}u[d>>1]=2}c=c+1|0;if((e|0)!=(c|0)){continue}break}}u[a+168>>1]=e;c=v[a+172>>2];if(c){dc(c);v[a+172>>2]=0}if(!g){break k}d=1;e=h<<1;c=jc(e);v[a+172>>2]=c;if(!c){break g}oe(c,g,e);break g}v[f+156>>2]=c+4;c=v[c>>2];u[a+168>>1]=(c|0)!=0;if(!c){break k}d=1;u[f+144>>1]=1;c=f+144|0;e=v[a+172>>2];if(e){dc(e);v[a+172>>2]=0}F:{if(!c){break F}e=jc(2);v[a+172>>2]=e;if(!e){break F}oe(e,c,2)}break g}v[f+156>>2]=c+4;c=v[c>>2];if(c&15){if(v[a+8>>2]){break d}e=v[a>>2];d=v[a+628>>2];v[f+80>>2]=c;Ld(d,e,25196,f+80|0)}v[a+68>>2]=c;v[a+12>>2]=v[a+12>>2]|1024;d=1;break g}v[f+156>>2]=c+4;c=v[c>>2];if(c&15){if(v[a+8>>2]){break d}e=v[a>>2];d=v[a+628>>2];v[f+96>>2]=c;Ld(d,e,26875,f+96|0)}v[a+72>>2]=c;v[a+12>>2]=v[a+12>>2]|1024;d=1;break g}v[f+156>>2]=c+4;c=v[c>>2];if(!c){break e}v[a+76>>2]=c;d=1;break g}v[f+156>>2]=c+4;e=v[c>>2];if(e>>>0>3){break b}e=e<<4;c=e&31;u[a+86>>1]=(e&63)>>>0>=32?196609>>>c|0:((1<>>c;d=1;break g}v[f+156>>2]=c+4;e=v[c>>2];if(e-1>>>0>5){break b}u[a+86>>1]=e;G:{if((e|0)==5){if(x[a+84>>1]!=32|v[a+652>>2]!=394){break G}v[a+652>>2]=392;d=1;break g}d=1;if((e-5&65535)>>>0>1){break g}}d=1;if(x[a+84>>1]!=64|v[a+652>>2]!=391){break g}v[a+652>>2]=394;break g}v[f+156>>2]=c+4;v[a- -64>>2]=v[c>>2];d=1;break g}if(!(w[a+13|0]&32)){e=v[c>>2];u[a+196>>1]=e;v[f+156>>2]=c+8;c=v[c+4>>2];e=e&65535;d=v[a+200>>2];if(d){dc(d);v[a+200>>2]=0}H:{if(!c){break H}d=e<<2;e=jc(d);v[a+200>>2]=e;if(!e){break H}oe(e,c,d)}d=1;break g}b=v[a+628>>2];v[f+112>>2]=v[a>>2];zc(b,76712,28262,f+112|0);break a}v[f+156>>2]=c+4;u[a+208>>1]=v[c>>2];d=1;break g}u[a+204>>1]=v[c>>2];v[f+156>>2]=c+8;u[a+206>>1]=v[c+4>>2];d=1;break g}i=(x[a+98>>1]-x[a+168>>1]|0)>1?3:1;while(1){e=x[a+84>>1];g=v[c>>2];h=(d<<2)+a|0;j=v[h+216>>2];if(j){dc(j);v[h+216>>2]=0}I:{if(!g){break I}j=1<>>0>>0){break I}j=h;h=jc(e);v[j+216>>2]=h;if(!h){break I}oe(h,g,e)}c=c+4|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}v[f+156>>2]=c}d=1;break g}v[f+156>>2]=c+4;c=v[c>>2];e=v[a+212>>2];if(e){dc(e);v[a+212>>2]=0}d=1;if(!c){break g}e=jc(24);v[a+212>>2]=e;if(!e){break g}oe(e,c,24);break g}h=v[c>>2];v[f+156>>2]=c+8;d=x[a+98>>1];e=d;if(!h){break f}g=v[c+4>>2];c=g;if(d){h=g+h|0;c=g;e=d;while(1){if(w[c|0]){while(1){if(c>>>0>=h>>>0){break f}j=w[c+1|0];c=c+1|0;if(j){continue}break}}c=c+1|0;e=e-1|0;if(e&65535){continue}break}}c=c-g|0;if(!c){break c}pP(a+232|0,g,c);v[a+228>>2]=c;d=1;break g}J:{K:{L:{h=cr(a,b);M:{if(!h){c=b>>>0>65535?19338:22352;b=31573;break M}if(x[h+12>>1]==65){c=0;g=v[a+236>>2];if((g|0)>0){break L}d=v[a+240>>2];break K}c=b>>>0>65535?19338:22352;b=v[h+16>>2]}e=v[a+628>>2];a=v[a>>2];v[f+8>>2]=b;v[f+4>>2]=c;v[f>>2]=a;zc(e,76712,30614,f);break a}d=v[a+240>>2];while(1){e=B(c,12)+d|0;if(v[v[e>>2]>>2]==(b|0)){c=B(c,12)+d|0;d=v[c+8>>2];if(!d){break J}dc(d);v[c+8>>2]=0;break J}c=c+1|0;if((g|0)!=(c|0)){continue}break}}c=g+1|0;v[a+236>>2]=c;c=uh(d,B(c,12));if(!c){b=v[a+628>>2];v[f+32>>2]=v[a>>2];zc(b,76712,32922,f+32|0);d=0;break a}v[a+240>>2]=c;e=(c+B(v[a+236>>2],12)|0)-12|0;v[e>>2]=h;v[e+4>>2]=0;v[e+8>>2]=0}c=v[h+8>>2]-1|0;if(c>>>0<=12){g=v[(c<<2)+81980>>2]}else{g=0}if(!g){b=v[a+628>>2];a=v[a>>2];c=v[h+8>>2];v[f+24>>2]=v[h+16>>2];v[f+20>>2]=c;v[f+16>>2]=a;zc(b,76712,35363,f+16|0);d=0;break a}N:{if(w[h+15|0]){c=v[f+156>>2];v[f+156>>2]=c+4;c=v[c>>2];break N}c=1;O:{P:{d=u[h+6>>1];switch((d&65535)-65533|0){case 0:case 2:break N;case 1:break P;default:break O}}c=x[a+98>>1];break N}c=d}v[e+4>>2]=c;if(v[h+8>>2]==2){c=v[f+156>>2];v[f+156>>2]=c+4;Ht(e+8|0,v[c>>2]);d=1;break g}c=kg(a,g,c,36225);v[e+8>>2]=c;if(!c){break c}Q:{if(!(w[h+15|0]|x[h+6>>1]>65532)){j=v[e+4>>2];if((j|0)<2){break Q}}R:{S:{T:{d=v[h>>2];switch(d-321|0){case 0:case 15:break R;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:break S;default:break T}}if((d|0)==297|(d|0)==530){break R}}d=v[f+156>>2];v[f+156>>2]=d+4;oe(c,v[d>>2],B(g,v[e+4>>2]));d=1;break g}j=v[e+4>>2]}d=1;if((j|0)<1){break g}j=0;while(1){U:{V:{switch(v[h+8>>2]-1|0){case 0:case 6:i=v[f+156>>2];v[f+156>>2]=i+4;t[f+144|0]=v[i>>2];oe(c,f+144|0,g);break U;case 5:i=v[f+156>>2];v[f+156>>2]=i+4;t[f+144|0]=v[i>>2];oe(c,f+144|0,g);break U;case 2:i=v[f+156>>2];v[f+156>>2]=i+4;u[f+144>>1]=v[i>>2];oe(c,f+144|0,g);break U;case 7:i=v[f+156>>2];v[f+156>>2]=i+4;u[f+144>>1]=v[i>>2];oe(c,f+144|0,g);break U;case 3:case 12:i=v[f+156>>2];v[f+156>>2]=i+4;v[f+144>>2]=v[i>>2];oe(c,f+144|0,g);break U;case 8:i=v[f+156>>2];v[f+156>>2]=i+4;v[f+144>>2]=v[i>>2];oe(c,f+144|0,g);break U;case 4:case 9:case 10:i=v[f+156>>2]+7&-8;v[f+156>>2]=i+8;z[f+144>>2]=A[i>>3];oe(c,f+144|0,g);break U;case 11:i=v[f+156>>2]+7&-8;v[f+156>>2]=i+8;A[f+144>>3]=A[i>>3];oe(c,f+144|0,g);break U;default:break V}}d=0;eg(c,0,g)}c=c+g|0;j=j+1|0;if((j|0)>2]){continue}break}if(!d){break c}}c=x[tf(a,b)+12>>1];b=(x[tf(a,b)+12>>1]>>>3&8188)+a|0;v[b+40>>2]=v[b+40>>2]|1<>2]=v[a+12>>2]|8;break a}b=v[a+628>>2];v[f+128>>2]=v[a>>2];v[f+132>>2]=d;v[f+136>>2]=d-(e&65535);zc(b,13501,40313,f+128|0);d=0;break a}c=0}e=v[a+628>>2];d=v[a>>2];k=f,l=v[tf(a,b)+16>>2],v[k+72>>2]=l;v[f+68>>2]=c;v[f+64>>2]=d;zc(e,76712,38526,f- -64|0)}d=0;break a}c=v[a+628>>2];d=v[a>>2];k=f,l=v[tf(a,b)+16>>2],v[k+56>>2]=l;v[f+52>>2]=e;v[f+48>>2]=d;zc(c,76712,37624,f+48|0);d=0}Qb=f+160|0;return d|0}function RI(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,q=0,r=0,s=0,y=0,A=0,B=C(0),D=0,E=0,F=0,G=0,H=0,I=0,J=C(0);d=Qb-16|0;Qb=d;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],(b+c|0)-4|0,0)|0;v[d+12>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,4)|0;e=w[d+12|0];g=v[a+4>>2];if(x[a+25204>>1]==18761){c=e|w[d+13|0]<<8|w[d+14|0]<<16|w[d+15|0]<<24}else{c=w[d+15|0]|(w[d+13|0]<<16|e<<24|w[d+14|0]<<8)}Ub[v[v[a>>2]+8>>2]](g,c+b|0,0)|0;u[d+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;c=w[d+12|0];if(x[a+25204>>1]==18761){c=c|w[d+13|0]<<8}else{c=w[d+13|0]|c<<8}e=c&65535;if(!(e>>>0>100|!e)){D=a+25925|0;y=a+25733|0;A=a+25797|0;r=c&65535;q=1040;s=17907;k=-1;while(1){u[d+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;c=w[d+12|0];if(x[a+25204>>1]==18761){g=c|w[d+13|0]<<8}else{g=w[d+13|0]|c<<8}v[d+12>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,4)|0;c=w[d+12|0];if(x[a+25204>>1]==18761){h=c|w[d+13|0]<<8|w[d+14|0]<<16|w[d+15|0]<<24}else{h=w[d+15|0]|(w[d+13|0]<<16|c<<24|w[d+14|0]<<8)}j=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;i=v[a>>2];e=v[i+8>>2];c=v[a+4>>2];v[d+12>>2]=-1;Ub[v[i>>2]](c,d+12|0,1,4)|0;i=w[d+12|0];if(x[a+25204>>1]==18761){i=i|w[d+13|0]<<8|w[d+14|0]<<16|w[d+15|0]<<24}else{i=w[d+15|0]|(w[d+13|0]<<16|i<<24|w[d+14|0]<<8)}Ub[e|0](c,i+b|0,0)|0;if((((g&65280)>>>8|0)+8&503)==48){RI(a,Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0,h)}r=r-1|0;E=j+4|0;n=a;m=a;a:{b:{c:{j=a;d:{e:{f:{i=a;g:{h:{e=a;i:{j:{c=a;k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{g=g&65535;if(g>>>0<=6157){if(g>>>0<=4137){switch(g-2058|0){case 1:case 2:case 3:case 4:case 5:break a;case 0:break D;case 6:break E;default:break w}}F:{switch(g-4138|0){case 1:case 3:case 4:case 5:break a;case 7:break s;case 6:break t;case 2:break x;case 0:break y;default:break F}}if((g|0)!=4265){break a}k=(h|0)>=67?t[k+76631|0]-48|0:k;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],k<<3|2,1)|0;u[d+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;e=w[d+12|0];if(x[a+25204>>1]!=18761){break v}e=e|w[d+13|0]<<8;break u}if(g>>>0<=22541){G:{switch(g-6158|0){case 1:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:break a;case 0:break m;case 10:break z;case 39:break B;case 2:break C;default:break G}}if((g|0)==8199){break A}if((g|0)!=20521){break a}B=C(h>>16);z[a+26012>>2]=B;if((h&65535)!=2){break a}z[a+26012>>2]=B*C(.03125);break a}switch(g-22542|0){case 0:break n;case 38:break o;case 9:break p;case 6:break q;case 5:break r;default:break a}}Ub[v[v[a>>2]>>2]](v[a+4>>2],D,64,1)|0;break a}Ub[v[v[a>>2]>>2]](v[a+4>>2],y,64,1)|0;G=v[a+4>>2],H=Bc(y)-63|0,I=1,F=v[v[a>>2]+8>>2],Ub[F](G|0,H|0,I|0)|0;Ub[v[v[a>>2]>>2]](v[a+4>>2],A,64,1)|0;break a}Ub[v[v[a>>2]+8>>2]](v[a+4>>2],12,1)|0;v[d+12>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,4)|0;c=w[d+12|0];if(x[a+25204>>1]==18761){v[a+26328>>2]=c|w[d+13|0]<<8|w[d+14|0]<<16|w[d+15|0]<<24;break a}v[a+26328>>2]=w[d+15|0]|(w[d+13|0]<<16|c<<24|w[d+14|0]<<8);break a}v[d+12>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,4)|0;c=w[d+12|0];if(x[a+25204>>1]==18761){v[a+26116>>2]=c|w[d+13|0]<<8|w[d+14|0]<<16|w[d+15|0]<<24;break a}v[a+26116>>2]=w[d+15|0]|(w[d+13|0]<<16|c<<24|w[d+14|0]<<8);break a}c=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[a+26080>>2]=h;v[a+26056>>2]=c;v[a+26060>>2]=c>>31;break a}v[d+12>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,4)|0;v[d+12>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,4)|0;e=w[d+12|0];c=a;if(x[a+25204>>1]==18761){e=e|w[d+13|0]<<8|w[d+14|0]<<16|w[d+15|0]<<24}else{e=w[d+15|0]|(w[d+13|0]<<16|e<<24|w[d+14|0]<<8)}F=c,J=C(Cl(+(l(2,e^-2147483648),p()))),z[F+26004>>2]=J;v[d+12>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,4)|0;e=w[d+12|0];c=a;if(x[a+25204>>1]==18761){e=e|w[d+13|0]<<8|w[d+14|0]<<16|w[d+15|0]<<24}else{e=w[d+15|0]|(w[d+13|0]<<16|e<<24|w[d+14|0]<<8)}F=c,J=C(Cl(+C((l(2,e),p())*C(.5)))),z[F+26008>>2]=J;break a}v[d+12>>2]=-1;c=d+12|0;Ub[v[v[a>>2]>>2]](v[a+4>>2],c,1,4)|0;u[d+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c,1,2)|0;e=w[d+12|0];c=a;if(x[a+25204>>1]==18761){e=e|w[d+13|0]<<8}else{e=w[d+13|0]|e<<8}F=c,J=C(C(Cl(+C(C(C((e&65535)>>>0)*C(.03125))+C(-4))))*C(50)),z[F+26e3>>2]=J;u[d+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;u[d+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;e=w[d+12|0];c=a;if(x[a+25204>>1]==18761){e=e|w[d+13|0]<<8}else{e=w[d+13|0]|e<<8}F=c,J=C(Cl(+C(C(e<<16>>16)*C(.015625)))),z[F+26008>>2]=J;u[d+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;e=w[d+12|0];c=a;if(x[a+25204>>1]==18761){e=e|w[d+13|0]<<8}else{e=w[d+13|0]|e<<8}F=c,J=C(Cl(+C(C(0-(e<<16>>16)|0)*C(.03125)))),z[F+26004>>2]=J;u[d+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;u[d+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;c=w[d+12|0];if(x[a+25204>>1]==18761){c=c|w[d+13|0]<<8}else{c=w[d+13|0]|c<<8}Ub[v[v[a>>2]+8>>2]](v[a+4>>2],32,1)|0;k=((c&65535)>>>0>17?0:c)&65535;if(!(z[a+26004>>2]>C(1e6))){break a}u[d+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;e=w[d+12|0];c=a;if(x[a+25204>>1]==18761){e=e|w[d+13|0]<<8}else{e=w[d+13|0]|e<<8}z[c+26004>>2]=C((e&65535)>>>0)/C(10);break a}u[d+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;c=w[d+12|0];m=v[a+4>>2];j=v[v[a>>2]+8>>2];if(x[a+25204>>1]==18761){c=c|w[d+13|0]<<8}else{c=w[d+13|0]|c<<8}if((c&65535)>>>0>=513){Ub[j|0](m,118,1)|0;u[d+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;e=w[d+12|0];c=a;if(x[a+25204>>1]==18761){e=e|w[d+13|0]<<8}else{e=w[d+13|0]|e<<8}z[c+59276>>2]=(e&65535)>>>0;u[d+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;c=w[d+12|0];if(x[a+25204>>1]==18761){break j}c=w[d+13|0]|c<<8;break i}Ub[j|0](m,98,1)|0;u[d+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;i=w[d+12|0];c=a;if(x[a+25204>>1]==18761){g=i|w[d+13|0]<<8}else{g=w[d+13|0]|i<<8}z[c+59272>>2]=(g&65535)>>>0;u[d+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;c=w[d+12|0];if(x[a+25204>>1]==18761){break l}c=w[d+13|0]|c<<8;break k}if((g|0)!=50){break a}if((h|0)==768){Ub[v[v[a>>2]+8>>2]](v[a+4>>2],72,1)|0;u[d+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;e=w[d+12|0];c=a;if(x[a+25204>>1]==18761){e=e|w[d+13|0]<<8}else{e=w[d+13|0]|e<<8}z[c+59268>>2]=C(1024)/C((e&65535)>>>0);u[d+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;c=w[d+12|0];if(x[a+25204>>1]==18761){break f}c=w[d+13|0]|c<<8;break e}if(z[a+59268>>2]!=C(0)){break a}u[d+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;e=w[d+12|0];if(x[a+25204>>1]==18761){c=e|w[d+13|0]<<8}else{c=w[d+13|0]|e<<8}H:{if((c&65535)==(q|0)){e=(yd(A,76343)?76427:76495)+k|0;c=-46;break H}s=0;q=0;e=k+76562|0;c=-48}Ub[v[v[a>>2]+8>>2]](v[a+4>>2],(t[e|0]+c<<3)+78|0,1)|0;u[d+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;e=w[d+12|0];c=a;if(x[a+25204>>1]==18761){e=e|w[d+13|0]<<8}else{e=w[d+13|0]|e<<8}z[c+59272>>2]=((e^q)&65535)>>>0;u[d+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;c=w[d+12|0];if(x[a+25204>>1]==18761){break h}c=w[d+13|0]|c<<8;break g}e=w[d+13|0]|e<<8}z[c+59268>>2]=(e&65535)>>>0;u[d+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;c=w[d+12|0];if(x[a+25204>>1]==18761){break c}c=w[d+13|0]|c<<8;break b}if(!(98368>>>k&1)){break a}e=0;h=0;g=0;f=Qb-16|0;Qb=f;u[f+2>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],f+2|0,1,2)|0;v[f+4>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],f+4|0,1,4)|0;c=w[f+4|0];if(x[a+25204>>1]==18761){c=c|w[f+5|0]<<8|w[f+6|0]<<16|w[f+7|0]<<24}else{c=w[f+7|0]|(w[f+5|0]<<16|c<<24|w[f+6|0]<<8)}I:{if((c|0)!=524296){break I}v[f+8>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],f+8|0,1,4)|0;c=w[f+8|0];if(x[a+25204>>1]==18761){c=c|w[f+9|0]<<8|w[f+10|0]<<16|w[f+11|0]<<24}else{c=w[f+11|0]|(w[f+9|0]<<16|c<<24|w[f+10|0]<<8)}if(!c){break I}u[f+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],f+12|0,1,2)|0;c=w[f+12|0];J:{if(x[a+25204>>1]==18761){c=c|w[f+13|0]<<8}else{c=w[f+13|0]|c<<8}n=c&65535;switch(n-10|0){case 0:case 2:break J;default:break I}}i=32-n|0;o=0;while(1){m=0;while(1){if((o|0)<(n|0)){u[f+14>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],f+14|0,1,2)|0;j=w[f+14|0];c=x[((g&1)<<1)+199440>>1];g=g+1|0;o=o+16|0;if(x[a+25204>>1]==18761){j=j|w[f+15|0]<<8}else{j=w[f+15|0]|j<<8}e=j&65535^c|e<<16}u[(((h<<4)+a|0)+(m<<1)|0)+26356>>1]=e<<32-o>>>i;o=o-n|0;m=m+1|0;if((m|0)!=8){continue}break}h=h+1|0;if((h|0)!=8){continue}break}}Qb=f+16|0;break a}u[d+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;u[d+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;e=w[d+12|0];c=a;if(x[a+25204>>1]==18761){e=e|w[d+13|0]<<8}else{e=w[d+13|0]|e<<8}u[c+26306>>1]=e;u[d+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;c=w[d+12|0];if(x[a+25204>>1]==18761){u[a+26304>>1]=c|w[d+13|0]<<8;break a}u[a+26304>>1]=w[d+13|0]|c<<8;break a}v[a+25992>>2]=h;break a}v[a+25996>>2]=h;break a}v[a+26020>>2]=h;break a}v[a+26036>>2]=h;break a}v[a+26016>>2]=h;break a}v[d+12>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,4)|0;e=w[d+12|0];c=a;if(x[a+25204>>1]==18761){e=e|w[d+13|0]<<8|w[d+14|0]<<16|w[d+15|0]<<24}else{e=w[d+15|0]|(w[d+13|0]<<16|e<<24|w[d+14|0]<<8)}v[c+26016>>2]=e;break a}c=c|w[d+13|0]<<8}z[e+59268>>2]=(c&65535)>>>0;u[d+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;e=w[d+12|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+13|0]|e<<8}else{e=e|w[d+13|0]<<8}z[c+59276>>2]=(e&65535)>>>0;u[d+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;e=w[d+12|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+13|0]|e<<8}else{e=e|w[d+13|0]<<8}z[c+59280>>2]=(e&65535)>>>0;break a}c=c|w[d+13|0]<<8}z[i+59280>>2]=(c&65535)>>>0;u[d+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;e=w[d+12|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+13|0]|e<<8}else{e=e|w[d+13|0]<<8}z[c+59268>>2]=(e&65535)>>>0;u[d+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;e=w[d+12|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+13|0]|e<<8}else{e=e|w[d+13|0]<<8}z[c+59272>>2]=(e&65535)>>>0;break a}c=c|w[d+13|0]<<8}z[j+59268>>2]=((c^s)&65535)>>>0;u[d+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;e=w[d+12|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+13|0]|e<<8}else{e=e|w[d+13|0]<<8}z[c+59276>>2]=((e^q)&65535)>>>0;u[d+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;e=w[d+12|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+13|0]|e<<8}else{e=e|w[d+13|0]<<8}z[c+59280>>2]=((e^s)&65535)>>>0;break d}c=c|w[d+13|0]<<8}z[m+59272>>2]=C(1024)/C((c&65535)>>>0);u[d+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;e=w[d+12|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+13|0]|e<<8}else{e=e|w[d+13|0]<<8}z[c+59280>>2]=C(1024)/C((e&65535)>>>0);u[d+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;e=w[d+12|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+13|0]|e<<8}else{e=e|w[d+13|0]<<8}z[c+59276>>2]=C(1024)/C((e&65535)>>>0)}if(k){break a}v[a+59268>>2]=-1082130432;k=0;break a}c=c|w[d+13|0]<<8}z[n+59272>>2]=(c&65535)>>>0;u[d+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;e=w[d+12|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+13|0]|e<<8}else{e=e|w[d+13|0]<<8}z[c+59280>>2]=(e&65535)>>>0;u[d+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+12|0,1,2)|0;e=w[d+12|0];c=a;if(x[a+25204>>1]!=18761){e=w[d+13|0]|e<<8}else{e=e|w[d+13|0]<<8}z[c+59276>>2]=(e&65535)>>>0}Ub[v[v[a>>2]+8>>2]](v[a+4>>2],E,0)|0;if(r){continue}break}}Qb=d+16|0}function G4a(a,b){a=a|0;b=b|0;var 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,z=0,A=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;k=Qb-26352|0;Qb=k;S=v[b+92>>2];v[a+40>>2]=x[b+68>>1];c=0;a:{if(bA(b)){break a}c=v[b+100>>2];ic(k+19664|4,0,2756);v[k+19664>>2]=c;v[a+9856>>2]=0;v[a+52>>2]=0;i=v[v[(v[v[a>>2]+8>>2]<<2)+369232>>2]+16>>2];c=w[i|0];b:{if(!c){break b}while(1){if((c&255)==32){while(1){c=w[i+1|0];i=i+1|0;if((c|0)==32){continue}break}}l=c&255;d=i+1|0;h=v[a+36>>2];if(c<<24>>24<=-1){c=l>>>0<240;e=l>>>0<224;f=e?1:c?2:3;g=f-1|0;l=(e?31:c?15:7)&l;c=f;e=c;while(1){l=w[d|0]&63|l<<6;c=c-1|0;d=d+1|0;e=e-1|0;if(e){continue}break}if(g>>>0>=3){while(1){l=w[d+3|0]&63|((w[d+1|0]&63|(l<<12|(w[d|0]&63)<<6))<<12|(w[d+2|0]&63)<<6);d=d+4|0;c=c-4|0;if(c){continue}break}}d=(f+i|0)+1|0}i=d;h=v[h>>2];d=0;while(1){c=w[i|0];if((c|32)!=32){i=i+1|0;d=c;if(c<<24>>24>-1){continue}c=d>>>0<240;e=d>>>0<224;f=e?1:c?2:3;j=f-1|0;d=(e?31:c?15:7)&d;c=i;e=f;g=e;while(1){d=w[c|0]&63|d<<6;e=e-1|0;c=c+1|0;g=g-1|0;if(g){continue}break}if(j>>>0>=3){while(1){d=w[c+3|0]&63|((w[c+1|0]&63|(d<<12|(w[c|0]&63)<<6))<<12|(w[c+2|0]&63)<<6);c=c+4|0;e=e-4|0;if(e){continue}break}}i=f+i|0;continue}break}c:{if(!d){c=Fg(h,l);if(c){break c}c=w[i|0]}if(c&255){continue}break b}break}if(mn(b,c,1)){break b}c=v[b+84>>2];if(u[c+110>>1]<1){break b}d=ic(k,0,19652);e=v[a+40>>2];v[d+16>>2]=0;v[d+20>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+8>>2]=65536;v[d+12>>2]=65536;v[d+40>>2]=e;v[d+4>>2]=b;v[d+22404>>2]=0;v[d+22412>>2]=d;if(Fv(d+19664|0,c+108|0)){break b}if(uq(d+19664|0,0)){break b}g=0;Ev(d+19664|0,0,0,0);e=v[d+19708>>2];if((e|0)>=1){c=v[d+19716>>2];f=c+B(e,44)|0;while(1){e=v[c+20>>2];if(!(!e|v[e+20>>2]!=(c|0)|(g>>>0>15|c>>>0>=e>>>0))){h=u[c+2>>1]-u[e+2>>1]|0;e=h>>31;v[(B(g,12)+a|0)+56>>2]=e^e+h;g=g+1|0}c=c+44|0;if(f>>>0>c>>>0){continue}break}}v[d+26304>>2]=g;pA(d+26304|0,a+56|0,y[d+40>>2]/100|0);v[a+52>>2]=v[d+26304>>2];if(uq(d+19664|0,1)){break b}g=0;Ev(d+19664|0,0,0,1);e=v[d+21056>>2];if((e|0)>=1){c=v[d+21064>>2];f=c+B(e,44)|0;while(1){e=v[c+20>>2];if(!(!e|v[e+20>>2]!=(c|0)|(g>>>0>15|c>>>0>=e>>>0))){h=u[c+2>>1]-u[e+2>>1]|0;e=h>>31;v[(B(g,12)+a|0)+9860>>2]=e^e+h;g=g+1|0}c=c+44|0;if(f>>>0>c>>>0){continue}break}}v[d+26304>>2]=g;pA(d+26304|0,a+9860|0,y[d+40>>2]/100|0);v[a+9856>>2]=v[d+26304>>2]}if(v[a+52>>2]){c=v[a+56>>2]}else{c=(B(v[a+40>>2],50)|0)/2048|0}t[a+256|0]=0;v[a+252>>2]=c;v[a+248>>2]=(c|0)/5;if(v[a+9856>>2]){c=v[a+9860>>2]}else{c=(B(v[a+40>>2],50)|0)/2048|0}t[a+10060|0]=0;v[a+10056>>2]=c;v[a+10052>>2]=(c|0)/5;gI(k+19664|0);T=y[a+40>>2]/14|0;P=v[a>>2];c=(v[P+12>>2]<<3)+364e3|0;d=v[c>>2];if((d|0)!=5531){while(1){s=c;C=0;A=0;l=0;p=0;i=d+358464|0;d=w[i|0];d:{if(!d){break d}while(1){if((d&255)==32){while(1){d=w[i+1|0];i=i+1|0;if((d|0)==32){continue}break}}f=d&255;c=i+1|0;g=v[a+36>>2];if(d<<24>>24<=-1){d=f>>>0<240;e=f>>>0<224;h=e?1:d?2:3;j=h-1|0;f=(e?31:d?15:7)&f;d=h;e=d;while(1){f=w[c|0]&63|f<<6;d=d-1|0;c=c+1|0;e=e-1|0;if(e){continue}break}if(j>>>0>=3){while(1){f=w[c+3|0]&63|((w[c+1|0]&63|(f<<12|(w[c|0]&63)<<6))<<12|(w[c+2|0]&63)<<6);c=c+4|0;d=d-4|0;if(d){continue}break}}c=(i+h|0)+1|0}i=c;j=v[g>>2];d=0;while(1){c=w[i|0];if((c|32)!=32){i=i+1|0;d=c;if(c<<24>>24>-1){continue}c=d>>>0<240;e=d>>>0<224;h=e?1:c?2:3;o=h-1|0;d=(e?31:c?15:7)&d;c=i;e=h;g=e;while(1){d=w[c|0]&63|d<<6;e=e-1|0;c=c+1|0;g=g-1|0;if(g){continue}break}if(o>>>0>=3){while(1){d=w[c+3|0]&63|((w[c+1|0]&63|(d<<12|(w[c|0]&63)<<6))<<12|(w[c+2|0]&63)<<6);c=c+4|0;e=e-4|0;if(e){continue}break}}i=i+h|0;continue}break}e:{if(d){break e}c=Fg(j,f);H=t[s+4|0]&1?-2147483648:2147483647;n=0;f:{if(!c){break f}if(mn(b,c,1)){break f}c=v[b+84>>2];if(u[c+110>>1]<3){break f}N=0;n=u[c+108>>1];g:{if((n|0)<1){j=0;J=x[s+4>>1];break g}J=v[c+120>>2];I=v[c+116>>2];q=v[c+112>>2];h=-1;D=0;E=0;f=0;j=0;d=0;while(1){m=u[J+(j<<1)>>1];h:{if((m|0)<=(f|0)){e=h;break h}i:{if(w[s+4|0]&3){j:{if(!((m-f|0)+1&1)){g=f;c=d;e=h;break j}g=f+1|0;c=v[((f<<3)+q|0)+4>>2];k:{if(!((h|0)<0|(d|0)<(c|0))){p=(c|0)>(p|0)?p:c;c=d;e=h;break k}l=(c|0)<(l|0)?l:c;d=c;e=f}}if((f|0)==(m|0)){break i}while(1){d=v[((g<<3)+q|0)+4>>2];l:{if(!((d|0)<=(c|0)&(e|0)>=0)){l=(d|0)<(l|0)?l:d;e=g;break l}p=(d|0)>(p|0)?p:d;d=c}o=g+1|0;c=v[((o<<3)+q|0)+4>>2];m:{if(!((e|0)<0|(d|0)<(c|0))){p=(c|0)>(p|0)?p:c;c=d;break m}l=(c|0)<(l|0)?l:c;e=o}g=g+2|0;d=c;if((m|0)!=(o|0)){continue}break}break i}n:{if(!((m-f|0)+1&1)){g=f;c=d;e=h;break n}g=f+1|0;c=v[((f<<3)+q|0)+4>>2];o:{if(!((h|0)<0|(d|0)>(c|0))){l=(c|0)<(l|0)?l:c;c=d;e=h;break o}p=(c|0)>(p|0)?p:c;d=c;e=f}}if((f|0)==(m|0)){break i}while(1){d=v[((g<<3)+q|0)+4>>2];p:{if(!((d|0)>=(c|0)&(e|0)>=0)){p=(d|0)>(p|0)?p:d;e=g;break p}l=(d|0)<(l|0)?l:d;d=c}o=g+1|0;c=v[((o<<3)+q|0)+4>>2];q:{if(!((e|0)<0|(d|0)>(c|0))){l=(c|0)<(l|0)?l:c;c=d;break q}p=(c|0)>(p|0)?p:c;e=o}g=g+2|0;d=c;if((m|0)!=(o|0)){continue}break}}c=(e|0)==(h|0);D=c?D:f;E=c?E:m;h=e}f=m+1|0;j=j+1|0;if((n|0)!=(j|0)){continue}break}if((e|0)<=-1){j=d;J=x[s+4>>1];break g}M=v[(e<<3)+q>>2];h=e;c=(w[e+I|0]&3)==1?e:-1;g=c;r:{while(1){f=(h|0)>(D|0)?h-1|0:E;o=(f<<3)+q|0;m=v[o+4>>2]-d|0;j=m>>31;m=j^j+m;if(m>>>0>=6){o=v[o>>2]-M|0;j=o>>31;if(B(m,20)>>>0>=(j^j+o)>>>0){break r}}h=(w[f+I|0]&3)==1;g=h?(g|0)<0?f:g:g;c=h?f:c;h=f;if((f|0)!=(e|0)){continue}break}h=e}f=e;s:{while(1){j=(f|0)<(E|0)?f+1|0:D;O=(j<<3)+q|0;m=v[O+4>>2]-d|0;o=m>>31;m=o^m+o;if(m>>>0>=6){n=v[O>>2]-M|0;o=n>>31;if(B(m,20)>>>0>=(o^n+o)>>>0){break s}}f=(w[j+I|0]&3)==1;c=f?(c|0)<0?j:c:c;g=f?j:g;f=j;if((f|0)!=(e|0)){continue}break}f=e}J=x[s+4>>1];t:{u:{if(!(J&16)){break u}o=v[(f<<3)+q>>2]-v[(h<<3)+q>>2]|0;j=o>>31;m=v[a+40>>2];Q=(m>>>0)/25|0;if((Q|0)<=(j^j+o)){break u}j=e;if(((f-h|0)+2|0)>(E-D|0)){break u}while(1){j=(j|0)>(D|0)?j-1|0:E;R=v[(j<<3)+q>>2];if((R|0)==(M|0)&(e|0)!=(j|0)){continue}break}n=0;if((e|0)==(j|0)){break f}U=m>>>2|0;K=0;o=f;e=f;m=0;while(1){if(!K){n=(w[e+I|0]&3)==1?e:-1;m=n;o=e}e=(e|0)<(E|0)?e+1|0:D;K=0;F=(o<<3)+q|0;j=v[F+4>>2];G=d-j|0;z=G>>31;v:{if((z^z+G)>>>0>U>>>0){break v}z=(e<<3)+q|0;r=v[z+4>>2]-j|0;G=r>>31;G=G^r+G;w:{if(G>>>0<=5){z=v[z>>2];F=v[F>>2];r=z-F|0;K=r>>31;r=K^r+K;break w}z=v[z>>2];F=v[F>>2];L=z-F|0;r=L>>31;r=r^r+L;if(r>>>0<=B(G,20)>>>0){break v}}K=1;L=(w[e+I|0]&3)==1;n=L?(n|0)<0?e:n:n;m=L?e:m;if((M|0)>(R|0)^(z|0)>(F|0)|(r|0)<(Q|0)){break v}d=B(G,20);while(1){e=(e|0)<(E|0)?e+1|0:D;f=v[((e<<3)+q|0)+4>>2]-j|0;c=f>>31;x:{if((c^c+f)>>>0<6){break x}f=v[O>>2]-F|0;c=f>>31;if(d>>>0<(c^c+f)>>>0){break x}f=(e|0)>(D|0)?e-1|0:E;break t}n=(w[e+I|0]&3)==1?(n|0)<0?e:n:n;m=e;if((e|0)!=(h|0)){continue}break}f=h;m=f;break t}if((e|0)!=(h|0)){continue}break}}j=d;o=h;n=c;m=g}if(!((n|0)<0|(m|0)<0)){d=v[(m<<3)+q>>2]-v[(n<<3)+q>>2]|0;c=d>>31;if((c^c+d)>>>0>T>>>0){break g}}if((w[o+I|0]&3)==1&(w[f+I|0]&3)==1){break g}n=0;N=1;if(J&4){break f}}if(J&1){c=(j|0)>(H|0);H=c?j:H;n=c&N;break f}c=(j|0)<(H|0);H=c?j:H;n=c&N}if(H-2147483647>>>0<2){break e}v[(n?(k+19664|0)+(A<<2)|0:(C<<2)+k|0)>>2]=H;A=n+A|0;C=!n+C|0}d=w[i|0];if(d){continue}break}if(!(A|C)){break d}y:{if(A>>>0<2){break y}f=1;c=A-1|0;h=c&1;if((A|0)!=2){n=c&-2;while(1){e=v[(k+19664|0)+(f<<2)>>2];c=f;while(1){d=c-1|0;i=(k+19664|0)+(d<<2)|0;g=v[i>>2];if((g|0)>(e|0)){v[(k+19664|0)+(c<<2)>>2]=g;v[i>>2]=e;c=d;if(c){continue}}break}c=f+1|0;e=v[(k+19664|0)+(c<<2)>>2];while(1){d=c-1|0;i=(k+19664|0)+(d<<2)|0;g=v[i>>2];if((g|0)>(e|0)){v[(k+19664|0)+(c<<2)>>2]=g;v[i>>2]=e;c=d;if(c){continue}}break}f=f+2|0;n=n-2|0;if(n){continue}break}}if(!h){break y}d=v[(k+19664|0)+(f<<2)>>2];while(1){c=f-1|0;e=(k+19664|0)+(c<<2)|0;h=v[e>>2];if((h|0)<=(d|0)){break y}v[(k+19664|0)+(f<<2)>>2]=h;v[e>>2]=d;f=c;if(c){continue}break}}z:{if(C>>>0<2){break z}f=1;c=C-1|0;h=c&1;if((C|0)!=2){n=c&-2;while(1){e=v[(f<<2)+k>>2];c=f;while(1){d=c-1|0;i=(d<<2)+k|0;g=v[i>>2];if((g|0)>(e|0)){v[(c<<2)+k>>2]=g;v[i>>2]=e;c=d;if(c){continue}}break}c=f+1|0;e=v[(c<<2)+k>>2];while(1){d=c-1|0;i=(d<<2)+k|0;g=v[i>>2];if((g|0)>(e|0)){v[(c<<2)+k>>2]=g;v[i>>2]=e;c=d;if(c){continue}}break}f=f+2|0;n=n-2|0;if(n){continue}break}}if(!h){break z}d=v[(f<<2)+k>>2];while(1){c=f-1|0;e=(c<<2)+k|0;h=v[e>>2];if((h|0)<=(d|0)){break z}v[(f<<2)+k>>2]=h;v[e>>2]=d;f=c;if(c){continue}break}}c=v[a+10064>>2];v[a+10064>>2]=c+1;c=B(c,36)+a|0;e=c+10080|0;f=c+10068|0;A:{B:{if(!C){d=v[(k+19664|0)+(A<<1&-4)>>2];break B}d=v[(C<<1&-4)+k>>2];if(!A){break B}v[f>>2]=d;h=v[(k+19664|0)+(A<<1&-4)>>2];v[e>>2]=h;if((d|0)==(h|0)){i=x[s+4>>1];break A}i=x[s+4>>1];if(((i&3)!=0|0)==((d|0)<(h|0)|0)){break A}d=(d+h|0)/2|0;v[e>>2]=d;v[f>>2]=d;break A}v[e>>2]=d;v[f>>2]=d;i=x[s+4>>1]}d=c+10100|0;e=i<<1&2;v[d>>2]=e;v[c+10096>>2]=p;v[c+10092>>2]=l;c=x[s+4>>1];if(!(c&14)){break d}c=c<<1;v[d>>2]=e|c&4|c&8|c&16}c=s+8|0;d=v[s+8>>2];if((d|0)!=5531){continue}break}}f=v[a+10064>>2];if(f){e=f&3;c=0;if(f-1>>>0>=3){g=f&-4;d=a+10068|0;while(1){h=k+26304|0;v[h+(c<<2)>>2]=d+B(c,36);i=c|1;v[h+(i<<2)>>2]=d+B(i,36);i=c|2;v[h+(i<<2)>>2]=d+B(i,36);i=c|3;v[h+(i<<2)>>2]=d+B(i,36);c=c+4|0;g=g-4|0;if(g){continue}break}}if(e){while(1){v[(k+26304|0)+(c<<2)>>2]=(B(c,36)+a|0)+10068;c=c+1|0;e=e-1|0;if(e){continue}break}}if(f>>>0>=2){p=1;while(1){e=v[(k+26304|0)+(p<<2)>>2];i=v[(w[e+32|0]&6?0:12)+e>>2];c=p;while(1){d=c-1|0;g=(k+26304|0)+(d<<2)|0;h=v[g>>2];if((i|0)>2]){v[(k+26304|0)+(c<<2)>>2]=h;v[g>>2]=e;c=d;if(c){continue}}break}p=p+1|0;if((f|0)!=(p|0)){continue}break}}f=f-1|0;if(f){d=v[k+26304>>2];e=v[d+32>>2];c=0;while(1){h=(e&6?12:0)+d|0;c=c+1|0;d=v[(k+26304|0)+(c<<2)>>2];e=v[d+32>>2];i=v[(e&6?12:0)+d>>2];if(v[h>>2]>(i|0)){v[h>>2]=i}if((c|0)!=(f|0)){continue}break}}v[k+19664>>2]=0;v[k+16>>2]=v[93536];c=v[93535];v[k+8>>2]=v[93534];v[k+12>>2]=c;c=v[93533];v[k>>2]=v[93532];v[k+4>>2]=c;d=48;i=k;h=0;f=0;o=a;C:{while(1){c=i+1|0;if((d&255)==32){while(1){i=c;c=c+1|0;d=w[i|0];if((d|0)==32){continue}break}}j=v[a+36>>2];l=d&255;if(d<<24>>24<=-1){d=l>>>0<240;e=l>>>0<224;g=e?1:d?2:3;m=g-1|0;l=(e?31:d?15:7)&l;d=g;e=d;while(1){l=w[c|0]&63|l<<6;d=d-1|0;c=c+1|0;e=e-1|0;if(e){continue}break}if(m>>>0>=3){while(1){l=w[c+3|0]&63|((w[c+1|0]&63|(l<<12|(w[c|0]&63)<<6))<<12|(w[c+2|0]&63)<<6);c=c+4|0;d=d-4|0;if(d){continue}break}}c=(g+i|0)+1|0}i=c;m=v[j>>2];d=0;while(1){c=w[i|0];if((c|32)!=32){i=i+1|0;d=c;if(c<<24>>24>-1){continue}c=d>>>0<240;e=d>>>0<224;j=e?1:c?2:3;n=j-1|0;d=(e?31:c?15:7)&d;c=i;e=j;g=e;while(1){d=w[c|0]&63|d<<6;e=e-1|0;c=c+1|0;g=g-1|0;if(g){continue}break}if(n>>>0>=3){while(1){d=w[c+3|0]&63|((w[c+1|0]&63|(d<<12|(w[c|0]&63)<<6))<<12|(w[c+2|0]&63)<<6);c=c+4|0;e=e-4|0;if(e){continue}break}}i=i+j|0;continue}break}D:{if(d){c=k+19664|0;if(c?m:0){Pq(m,0,c)}break D}c=Fg(m,l);d=c;e=v[v[a+36>>2]>>2];g=k+19664|0;if(g?e:0){Pq(e,d,g)}if(!c){break D}d=h&255;h=1;c=v[k+19664>>2];if(!d){f=c;break D}if((c|0)==(f|0)){break D}a=0;break C}d=w[i|0];if(d){continue}break}a=1}t[o+32|0]=a;c=0;break a}c=v[a+36>>2];a=v[c+4>>2];E:{if((a|0)<1){break E}d=v[c+8>>2];e=v[P>>2];c=0;if((a|0)!=1){g=a&-2;while(1){f=c<<1;h=f+d|0;if((e|0)==(x[h>>1]&16383)){u[h>>1]=66}f=d+(f|2)|0;if((e|0)==(x[f>>1]&16383)){u[f>>1]=66}c=c+2|0;g=g-2|0;if(g){continue}break}}if(!(a&1)){break E}a=d+(c<<1)|0;if((e|0)!=(x[a>>1]&16383)){break E}u[a>>1]=66}c=-1}qq(b,S);Qb=k+26352|0;return c|0}function $Ca(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,p=0;c=Qb-240|0;Qb=c;v[c+224>>2]=13;v[c+208>>2]=13;v[c+192>>2]=13;v[c+176>>2]=13;v[c+160>>2]=13;v[c+144>>2]=13;v[c+128>>2]=13;v[c+112>>2]=13;v[c+96>>2]=13;e=v[b+8>>2];f=v[a+20>>2];a:{b:{while(1){if(v[f+72>>2]==7){if(v[rc(v[f+80>>2],e,c+224|0,0)>>2]!=5){break b}hc(c+224|0)}f=v[f+104>>2];if(f){continue}break}v[c>>2]=e;kc(1,-1,244536,c);break a}if(v[c+224>>2]!=7){f=-1;a=v[a+108>>2];c:{if(!a){break c}a=v[a+4>>2];if(v[a+8>>2]==13){break c}a=v[a+16>>2];f=Ub[v[v[a>>2]+52>>2]](a)|0}v[c+48>>2]=v[b+8>>2];kc(1,f,279453,c+48|0);hc(c+224|0);break a}if(v[a+16>>2]){hp(346569,0);Tl(c+224|0,v[252393]);Nn(10)}if(v[rc(v[c+232>>2],309281,c+208|0,0)>>2]-1>>>0<=1){f=v[a+28>>2];A[f+440>>3]=v[c+208>>2]==1?+v[c+216>>2]:A[c+216>>3];b=v[a+8>>2];Ub[v[v[b>>2]+100>>2]](b,f)}b=c+208|0;hc(b);if(v[rc(v[c+232>>2],322064,b,0)>>2]==1){f=v[a+28>>2];b=v[c+216>>2];v[f+476>>2]=b>>>0>2?0:b;b=v[a+8>>2];Ub[v[v[b>>2]+92>>2]](b,f)}b=c+208|0;hc(b);if(v[rc(v[c+232>>2],320553,b,0)>>2]==1){f=v[a+28>>2];b=v[c+216>>2];v[f+472>>2]=b>>>0>2?0:b;b=v[a+8>>2];Ub[v[v[b>>2]+88>>2]](b,f)}b=c+208|0;hc(b);if(v[rc(v[c+232>>2],316499,b,0)>>2]-1>>>0<=1){f=v[a+28>>2];A[f+480>>3]=v[c+208>>2]==1?+v[c+216>>2]:A[c+216>>3];b=v[a+8>>2];Ub[v[v[b>>2]+96>>2]](b,f)}b=c+208|0;hc(b);d:{if(v[rc(v[c+232>>2],321761,b,0)>>2]!=6){break d}f=v[c+216>>2];if(v[f+12>>2]!=2){break d}yc(f,0,c+96|0,0);f=c+112|0;yc(v[c+216>>2],1,f,0);if(!(v[c+96>>2]!=6|v[c+112>>2]-1>>>0>1)){$S(a,c+96|0,f)}hc(c+96|0);hc(f)}b=c+208|0;hc(b);if(v[rc(v[c+232>>2],320475,b,0)>>2]-1>>>0<=1){e=v[a+28>>2];b=e;i=v[c+208>>2]==1?+v[c+216>>2]:A[c+216>>3];e:{if(D(i)<2147483648){g=~~i;break e}g=-2147483648}A[b+464>>3]=g|0;f=v[a+8>>2];Ub[v[v[f>>2]+84>>2]](f,e)}b=c+208|0;hc(b);if(v[rc(v[c+232>>2],320670,b,0)>>2]==4){VE(a,c+208|0,f)}b=c+208|0;hc(b);f:{if(v[rc(v[c+232>>2],228507,b,0)>>2]!=6){break f}b=v[c+216>>2];if(v[b+12>>2]!=2){break f}hg(b,0,c+192|0);hg(v[c+216>>2],1,c+160|0);g:{if(v[c+192>>2]!=9|v[c+160>>2]-1>>>0>1){break g}b=v[c+204>>2];k=b;g=b;f=v[a+20>>2];d=v[c+200>>2];h=d;h:{while(1){b=v[f+4>>2];if(b){v[c+40>>2]=d;v[c+44>>2]=k;v[c+64>>2]=d;v[c+68>>2]=k;b=v[b+4>>2];l=v[b+8>>2];i:{if((l|0)>=1){j=v[c+44>>2];m=v[c+40>>2];n=v[b>>2];b=0;while(1){e=v[n+(b<<2)>>2];if((m|0)==v[e+8>>2]&(j|0)==v[e+12>>2]){break i}b=b+1|0;if((l|0)!=(b|0)){continue}break}}e=0}b=e;if(b){break h}}f=v[f+104>>2];if(f){continue}break}v[c+36>>2]=g;v[c+32>>2]=h;kc(1,-1,217453,c+32|0);b=0}if(!b){b=v[a+28>>2];v[b+496>>2]=0;v[b+500>>2]=0;v[b+492>>2]=0;break g}i=v[c+160>>2]==1?+v[c+168>>2]:A[c+168>>3];if(v[a+16>>2]){d=v[v[b+4>>2]+4>>2];e=v[b+16>>2];if(e){e=v[e+4>>2]}else{e=322558}A[c+24>>3]=i;v[c+20>>2]=e;v[c+16>>2]=d;hw(351740,c+16|0);Qi(v[252393])}e=v[a+28>>2];A[e+496>>3]=i;v[e+492>>2]=b;v[a+32>>2]=1}hc(c+192|0);hc(c+160|0)}b=c+208|0;hc(b);j:{if(v[rc(v[c+232>>2],316413,b,0)>>2]==5){break j}e=0;f=Qb-16|0;Qb=f;v[f>>2]=13;b=0;k:{l:{m:{n:{switch(v[c+208>>2]-4|0){case 2:b=v[c+216>>2];if(v[b+12>>2]>0){while(1){yc(b,e,f,0);o:{if(v[f>>2]==4){b=v[f+8>>2];if(!mc(b,261233)){b=0;break m}if(!mc(b,282628)){b=1;break m}if(!mc(b,219503)){b=2;break m}if(!mc(b,249560)){b=3;break m}if(!mc(b,220226)){b=4;break m}if(!mc(b,249509)){b=5;break m}if(!mc(b,248358)){b=6;break m}if(!mc(b,283395)){b=7;break m}if(!mc(b,244768)){b=8;break m}if(!mc(b,232256)){b=9;break m}if(!mc(b,232246)){b=10;break m}if(!mc(b,284832)){b=11;break m}if(!mc(b,247647)){b=12;break m}if(!mc(b,275694)){b=13;break m}if(!mc(b,247340)){b=14;break m}if(!mc(b,238373)){b=15;break m}if(mc(b,217763)){break o}b=16;break m}hc(f);b=0;break k}hc(f);e=e+1|0;b=v[c+216>>2];if((e|0)>2]){continue}break}}v[c+92>>2]=0;break l;case 0:break n;default:break k}}e=c;h=v[c+216>>2];g=0;p:{if(!mc(h,261233)){break p}g=1;if(!mc(h,282628)){break p}g=2;if(!mc(h,219503)){break p}g=3;if(!mc(h,249560)){break p}g=4;if(!mc(h,220226)){break p}g=5;if(!mc(h,249509)){break p}g=6;if(!mc(h,248358)){break p}g=7;if(!mc(h,283395)){break p}g=8;if(!mc(h,244768)){break p}g=9;if(!mc(h,232256)){break p}g=10;if(!mc(h,232246)){break p}g=11;if(!mc(h,284832)){break p}g=12;if(!mc(h,247647)){break p}g=13;if(!mc(h,275694)){break p}g=14;if(!mc(h,247340)){break p}g=15;if(!mc(h,238373)){break p}if(mc(h,217763)){break k}g=16}v[e+92>>2]=v[(g<<3)+897668>>2];break l}hc(f);v[c+92>>2]=v[(b<<3)+897668>>2]}b=1}Qb=f+16|0;if(b){b=v[a+28>>2];v[b+388>>2]=v[c+92>>2];e=v[a+8>>2];Ub[v[v[e>>2]+124>>2]](e,b);break j}f=-1;b=v[a+108>>2];q:{if(!b){break q}b=v[b+4>>2];if(v[b+8>>2]==13){break q}b=v[b+16>>2];f=Ub[v[v[b>>2]+52>>2]](b)|0}kc(1,f,276992,0)}b=c+208|0;hc(b);if(v[rc(v[c+232>>2],307136,b,0)>>2]-1>>>0<=1){b=v[a+28>>2];i=v[c+208>>2]==1?+v[c+216>>2]:A[c+216>>3];A[b+392>>3]=i<0?0:F(i,1);e=v[a+8>>2];Ub[v[v[e>>2]+128>>2]](e,b)}b=c+208|0;hc(b);if(v[rc(v[c+232>>2],322491,b,0)>>2]-1>>>0<=1){b=v[a+28>>2];i=v[c+208>>2]==1?+v[c+216>>2]:A[c+216>>3];A[b+400>>3]=i<0?0:F(i,1);e=v[a+8>>2];Ub[v[v[e>>2]+132>>2]](e,b)}b=c+208|0;hc(b);e=v[rc(v[c+232>>2],242499,b,0)>>2];r:{if(e){break r}b=v[a+28>>2];if(!v[b+664>>2]){v[b+408>>2]=v[c+216>>2];d=v[a+8>>2];Ub[v[v[d>>2]+136>>2]](d,b);break r}b=-1;d=v[a+108>>2];s:{if(!d){break s}d=v[d+4>>2];if(v[d+8>>2]==13){break s}b=v[d+16>>2];b=Ub[v[v[b>>2]+52>>2]](b)|0}kc(0,b,245115,0)}b=c+208|0;hc(b);t:{if(v[rc(v[c+232>>2],311896,b,0)>>2]){break t}b=v[a+28>>2];if(!v[b+664>>2]){v[b+412>>2]=v[c+216>>2];d=v[a+8>>2];Ub[v[v[d>>2]+140>>2]](d,b);if(!e){break t}b=v[a+28>>2];v[b+408>>2]=v[c+216>>2];e=v[a+8>>2];Ub[v[v[e>>2]+136>>2]](e,b);break t}f=-1;b=v[a+108>>2];u:{if(!b){break u}b=v[b+4>>2];if(v[b+8>>2]==13){break u}b=v[b+16>>2];f=Ub[v[v[b>>2]+52>>2]](b)|0}kc(0,f,245115,0)}b=c+208|0;hc(b);v:{if(v[rc(v[c+232>>2],316392,b,0)>>2]!=1){break v}b=v[a+28>>2];if(!v[b+664>>2]){v[b+416>>2]=v[c+216>>2];e=v[a+8>>2];Ub[v[v[e>>2]+144>>2]](e,b);break v}f=-1;b=v[a+108>>2];w:{if(!b){break w}b=v[b+4>>2];if(v[b+8>>2]==13){break w}b=v[b+16>>2];f=Ub[v[v[b>>2]+52>>2]](b)|0}kc(0,f,245115,0)}b=c+208|0;hc(b);if(!v[rc(v[c+232>>2],322481,b,0)>>2]){b=v[a+28>>2];v[b+488>>2]=v[c+216>>2];e=v[a+8>>2];Ub[v[v[e>>2]+104>>2]](e,b)}b=c+208|0;hc(b);if(v[rc(v[c+232>>2],329339,b,0)>>2]==5){b=c+208|0;hc(b);rc(v[c+232>>2],310919,b,0)}b=v[c+208>>2];x:{if((b|0)==5){break x}e=v[a+28>>2];if(!v[e+664>>2]){y:{z:{A:{switch(b-4|0){case 0:b=v[c+216>>2];if(mc(b,231550)){if(mc(b,217754)){break z}}v[c+72>>2]=0;v[c+76>>2]=0;v[c+64>>2]=0;v[c+68>>2]=0;LE(e,c- -64|0);b=v[a+8>>2];Ub[v[v[b>>2]+152>>2]](b,v[a+28>>2]);break x;case 3:case 4:break z;case 2:break A;default:break y}}b=v[c+216>>2];if(v[b+12>>2]!=4){break y}e=b;b=c+192|0;yc(e,0,b,0);o=c,p=vg(b,1,1,0),v[o+64>>2]=p;hc(b);if(!v[c+64>>2]){break x}b=c+192|0;yc(v[c+216>>2],1,b,0);o=c,p=vg(b,1,1,0),v[o+68>>2]=p;hc(b);if(!v[c+68>>2]){break x}b=c+192|0;yc(v[c+216>>2],2,b,0);o=c,p=vg(b,1,1,0),v[o+72>>2]=p;hc(b);if(!v[c+72>>2]){break x}b=c+192|0;yc(v[c+216>>2],3,b,0);o=c,p=vg(b,1,1,0),v[o+76>>2]=p;hc(b);if(!v[c+76>>2]){break x}LE(v[a+28>>2],c- -64|0);b=v[a+8>>2];Ub[v[v[b>>2]+152>>2]](b,v[a+28>>2]);break x}b=vg(c+208|0,1,1,0);v[c+64>>2]=b;if(!b){break x}v[c+76>>2]=0;v[c+68>>2]=0;v[c+72>>2]=0;LE(v[a+28>>2],c- -64|0);b=v[a+8>>2];Ub[v[v[b>>2]+152>>2]](b,v[a+28>>2]);break x}f=-1;b=v[a+108>>2];B:{if(!b){break B}b=v[b+4>>2];if(v[b+8>>2]==13){break B}b=v[b+16>>2];f=Ub[v[v[b>>2]+52>>2]](b)|0}kc(1,f,276870,0);break x}f=-1;b=v[a+108>>2];C:{if(!b){break C}b=v[b+4>>2];if(v[b+8>>2]==13){break C}b=v[b+16>>2];f=Ub[v[v[b>>2]+52>>2]](b)|0}kc(0,f,245328,0)}b=c+208|0;hc(b);D:{if(v[rc(v[c+232>>2],261874,b,0)>>2]==5){break D}E:{F:{switch(v[c+208>>2]-4|0){case 0:if(mc(v[c+216>>2],279892)){break E}b=v[a+8>>2];Ub[v[v[b>>2]+332>>2]](b,v[a+28>>2]);break D;case 1:break D;case 3:break F;default:break E}}rc(v[c+216>>2],310906,c+192|0,0);G:{H:{if(v[c+192>>2]!=4){break H}e=v[c+200>>2];b=1;if(!mc(e,307052)){break G}if(mc(e,217763)){break H}b=0;break G}f=-1;b=v[a+108>>2];I:{if(!b){break I}b=v[b+4>>2];if(v[b+8>>2]==13){break I}b=v[b+16>>2];f=Ub[v[v[b>>2]+52>>2]](b)|0}kc(1,f,261825,0);b=0}e=c+192|0;hc(e);v[c+64>>2]=0;J:{if(v[rc(v[c+216>>2],310919,e,0)>>2]==5){break J}K:{if(v[c+192>>2]!=4){break K}e=v[c+200>>2];if(mc(e,231550)){if(mc(e,217754)){break K}}v[c+64>>2]=0;break J}e=vg(c+192|0,1,1,0);v[c+64>>2]=e;if(e){break J}f=-1;e=v[a+108>>2];L:{if(!e){break L}e=v[e+4>>2];if(v[e+8>>2]==13){break L}e=v[e+16>>2];f=Ub[v[v[e>>2]+52>>2]](e)|0}kc(1,f,276909,0);e=v[c+64>>2];if(e){Ub[v[v[e>>2]+4>>2]](e)}v[c+64>>2]=0}e=c+192|0;hc(e);rc(v[c+216>>2],322085,c+128|0,0);M:{if(v[rc(v[c+216>>2],320946,e,0)>>2]==8){e=v[c+200>>2];N:{if(v[rc(Ub[v[v[e>>2]+76>>2]](e)|0,240654,c+160|0,0)>>2]==7){e=c+144|0;d=v[rc(v[c+168>>2],320548,e,0)>>2];f=v[c+152>>2];hc(e);h=c+176|0;Ce(v[c+216>>2],320946,h);k=d?0:f;g=v[c+64>>2];l=c+128|0;d=Qb-112|0;Qb=d;v[d+16>>2]=13;v[d>>2]=13;O:{if(v[a+96>>2]>20){break O}e=v[c+200>>2];e=Ub[v[v[e>>2]+76>>2]](e)|0;rc(e,279660,d+16|0,0);f=v[d+16>>2];if(!((f|0)==5|(f|0)==1&v[d+24>>2]==1)){f=-1;j=v[a+108>>2];P:{if(!j){break P}j=v[j+4>>2];if(v[j+8>>2]==13){break P}f=v[j+16>>2];f=Ub[v[v[f>>2]+52>>2]](f)|0}kc(1,f,278955,0)}f=d+16|0;hc(f);rc(e,220495,f,0);Q:{R:{if(v[d+16>>2]==6){yc(v[d+24>>2],0,d,0);A[d+32>>3]=v[d>>2]==1?+v[d+8>>2]:A[d+8>>3];hc(d);yc(v[d+24>>2],1,d,0);A[d+40>>3]=v[d>>2]==1?+v[d+8>>2]:A[d+8>>3];hc(d);yc(v[d+24>>2],2,d,0);A[d+48>>3]=v[d>>2]==1?+v[d+8>>2]:A[d+8>>3];hc(d);yc(v[d+24>>2],3,d,0);A[d+56>>3]=v[d>>2]==1?+v[d+8>>2]:A[d+8>>3];hc(d);f=d+16|0;hc(f);rc(e,220530,f,0);if(v[d+16>>2]!=6){break R}yc(v[d+24>>2],0,d,0);A[d+64>>3]=v[d>>2]==1?+v[d+8>>2]:A[d+8>>3];hc(d);yc(v[d+24>>2],1,d,0);A[d+72>>3]=v[d>>2]==1?+v[d+8>>2]:A[d+8>>3];hc(d);yc(v[d+24>>2],2,d,0);A[d+80>>3]=v[d>>2]==1?+v[d+8>>2]:A[d+8>>3];hc(d);yc(v[d+24>>2],3,d,0);A[d+88>>3]=v[d>>2]==1?+v[d+8>>2]:A[d+8>>3];hc(d);yc(v[d+24>>2],4,d,0);A[d+96>>3]=v[d>>2]==1?+v[d+8>>2]:A[d+8>>3];hc(d);yc(v[d+24>>2],5,d,0);A[d+104>>3]=v[d>>2]==1?+v[d+8>>2]:A[d+8>>3];hc(d);break Q}hc(d+16|0);e=-1;a=v[a+108>>2];S:{if(!a){break S}a=v[a+4>>2];if(v[a+8>>2]==13){break S}a=v[a+16>>2];e=Ub[v[v[a>>2]+52>>2]](a)|0}kc(1,e,220428,0);break O}v[d+80>>2]=0;v[d+84>>2]=0;v[d+104>>2]=0;v[d+108>>2]=0;v[d+72>>2]=0;v[d+76>>2]=0;v[d+64>>2]=0;v[d+68>>2]=1072693248;v[d+96>>2]=0;v[d+100>>2]=0;v[d+88>>2]=0;v[d+92>>2]=1072693248}f=d+16|0;hc(f);rc(e,236851,f,0);e=v[d+24>>2];j=v[d+16>>2];v[a+96>>2]=v[a+96>>2]+1;my(a,h,(j|0)==7?e:0,d- -64|0,d+32|0,1,1,1,k,b,g,l);v[a+96>>2]=v[a+96>>2]-1;hc(f)}Qb=d+112|0;hc(h);a=v[c+64>>2];if(!a){break N}Ub[v[v[a>>2]+4>>2]](a);break N}f=-1;a=v[a+108>>2];T:{if(!a){break T}a=v[a+4>>2];if(v[a+8>>2]==13){break T}a=v[a+16>>2];f=Ub[v[v[a>>2]+52>>2]](a)|0}kc(1,f,240589,0)}hc(c+160|0);break M}f=-1;a=v[a+108>>2];U:{if(!a){break U}a=v[a+4>>2];if(v[a+8>>2]==13){break U}a=v[a+16>>2];f=Ub[v[v[a>>2]+52>>2]](a)|0}kc(1,f,240589,0)}hc(c+192|0);hc(c+128|0);break D}f=-1;a=v[a+108>>2];V:{if(!a){break V}a=v[a+4>>2];if(v[a+8>>2]==13){break V}a=v[a+16>>2];f=Ub[v[v[a>>2]+52>>2]](a)|0}kc(1,f,276961,0)}hc(c+208|0);hc(c+224|0)}Qb=c+240|0}function NK(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=Qb-32|0;Qb=f;g=v[a+584>>2];b=v[g+168>>2];if(!b){b=Ub[v[a+648>>2]](v[a+628>>2])|0;v[g+168>>2]=b}c=v[g+196>>2];a:{if(!c){break a}if(b>>>0<=c>>>0){v[g+196>>2]=0;v[g+200>>2]=0;break a}d=v[g+200>>2];if(c+d>>>0<=b>>>0?d:0){break a}v[g+200>>2]=b-c}v[g+1124>>2]=0;v[g+1128>>2]=0;b=v[a+180>>2];v[g+1144>>2]=0;u[g+1148>>1]=0;v[g+1132>>2]=b;b=0;b:{c:{while(1){d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{if(!(b&65535)){if(!fj(g)){c=0;break f}b=x[g+1148>>1];if(!b){break t}}c=v[g+1152>>2];if(w[c|0]!=255){break q}b=b-1|0;u[g+1148>>1]=b;c=c+1|0;v[g+1152>>2]=c;u:{v:{w:{x:{y:{while(1){if(!(b&65535)){if(!fj(g)){c=0;break f}b=x[g+1148>>1];if(!b){break u}c=v[g+1152>>2]}i=w[c|0];b=b-1|0;u[g+1148>>1]=b;c=c+1|0;v[g+1152>>2]=c;z:{switch(i-192|0){case 26:break r;case 0:case 1:case 3:break v;case 4:break w;case 27:break x;case 29:break y;case 63:continue;case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 62:break z;case 24:break e;default:break s}}break}c=0;if(!Em(g,f+10|0)){break f}b=x[f+10>>1];if(b>>>0<=1){if(w[g+205|0]){break f}zc(v[a+628>>2],87024,40373,0);break f}if((b|0)==2){break e}c=x[g+1148>>1];d=b-2|0;b=c>>>0<(d&65535)>>>0?c:d;c=c-b|0;u[g+1148>>1]=c;v[g+1152>>2]=v[g+1152>>2]+(b&65535);d=d-b|0;e=d&65535;if(!e){break e}if(c&65535){break b}t[g+1140|0]=0;b=v[g+1144>>2];c=(b>>>0>>0?b:d)&65535;v[g+1144>>2]=b-c;v[g+1136>>2]=c+v[g+1136>>2];break e}A:{b=v[a+584>>2];if(!Em(b,f+16|0)){break A}if(x[f+16>>1]!=4){zc(v[a+628>>2],87120,48113,0);c=0;break f}if(!Em(b,f+16|0)){break A}u[b+300>>1]=x[f+16>>1];break e}c=0;break f}b=v[a+584>>2];if(!Em(b,f+16|0)){break g}c=w[b+205|0];d=x[f+16>>1];if(d>>>0<=2){if(c){break g}j=48589;break h}i=d-2|0;if(c){d=x[b+1148>>1];c=d>>>0<(i&65535)>>>0?d:i;d=d-c|0;u[b+1148>>1]=d;v[b+1152>>2]=v[b+1152>>2]+(c&65535);e=i-c|0;i=e&65535;if(!i){break e}if(d&65535){break b}t[b+1140|0]=0;c=v[b+1144>>2];d=(c>>>0>>0?c:e)&65535;v[b+1144>>2]=c-d;v[b+1136>>2]=d+v[b+1136>>2];break e}while(1){j=48589;if((i&65535)>>>0<65){break h}h=jc(73);if(!h){j=48831;break h}v[h>>2]=73;v[h+4>>2]=1124129791;c=x[b+1148>>1];e=65;d=h+8|0;while(1){if(!(c&65535)){if(!fj(b)){break g}c=x[b+1148>>1];if(!c){break c}}k=(e&65535)>>>0>(c&65535)>>>0?c:e;l=k&65535;oe(d,v[b+1152>>2],l);v[b+1152>>2]=v[b+1152>>2]+l;c=x[b+1148>>1]-k|0;u[b+1148>>1]=c;d=d+l|0;e=e-k|0;if(e&65535){continue}break}c=w[h+8|0]&15;if(c>>>0>3){break h}c=b+(c<<2)|0;d=v[c+252>>2];if(d){dc(d)}v[c+252>>2]=h;i=i-65|0;if(i&65535){continue}break}break e}b=v[a+584>>2];if(!Em(b,f+16|0)){break i}d=w[b+205|0];c=x[f+16>>1];if(c>>>0<=2){if(d){break i}e=49933;break j}if(d){d=x[b+1148>>1];e=c-2|0;c=d>>>0<(e&65535)>>>0?d:e;d=d-c|0;u[b+1148>>1]=d;v[b+1152>>2]=v[b+1152>>2]+(c&65535);e=e-c|0;i=e&65535;if(!i){break e}if(d&65535){break b}t[b+1140|0]=0;c=v[b+1144>>2];d=(c>>>0>>0?c:e)&65535;v[b+1144>>2]=c-d;v[b+1136>>2]=d+v[b+1136>>2];break e}d=c+6|0;i=jc(d);if(!i){e=48831;break j}t[i+7|0]=c;t[i+4|0]=255;t[i+5|0]=196;v[i>>2]=d;t[i+6|0]=c>>>8;e=c-2|0;c=x[b+1148>>1];d=i+8|0;while(1){if(!(c&65535)){if(!fj(b)){break i}c=x[b+1148>>1];if(!c){break c}}j=(e&65535)>>>0>(c&65535)>>>0?c:e;h=j&65535;oe(d,v[b+1152>>2],h);v[b+1152>>2]=h+v[b+1152>>2];c=x[b+1148>>1]-j|0;u[b+1148>>1]=c;d=d+h|0;e=e-j|0;if(e&65535){continue}break}e=49933;B:{c=w[i+8|0];d=c&240;if(d){if((d|0)==16){break B}break j}if(c>>>0>3){break j}b=b+(c<<2)|0;c=v[b+268>>2];if(c){dc(c)}v[b+268>>2]=i;break e}c=c&15;if(c>>>0>3){break j}b=b+(c<<2)|0;c=v[b+284>>2];if(c){dc(c)}v[b+284>>2]=i;break e}b=v[a+584>>2];if(w[b+303|0]){b=40373;break k}if(!w[b+205|0]){t[b+304|0]=i}if(!Em(b,f+16|0)){break l}c=x[f+16>>1];if(c>>>0<=10){if(w[b+205|0]){break l}b=50530;break k}c=c-8|0;e=((c&65535)>>>0)/3|0;if(c-B(e,3)&65535){if(w[b+205|0]){break l}b=50530;break k}c=w[b+205|0];if(!(c|(e|0)==w[b+192|0])){b=50860;break k}C:{d=x[b+1148>>1];if(!d){if(!fj(b)){break l}d=x[b+1148>>1];if(!d){break C}c=w[b+205|0]}j=v[b+1152>>2];h=w[j|0];t[f+15|0]=h;u[b+1148>>1]=d-1;v[b+1152>>2]=j+1;if((h|0)!=8){if(c&255){break l}b=51304;break k}D:{if(c&255){c=x[b+1148>>1];d=c>>>0<4?c:4;v[b+1152>>2]=d+v[b+1152>>2];c=c-d|0;u[b+1148>>1]=c;E:{d=4-d|0;j=d&65535;if(j){if(c&65535){break E}t[b+1140|0]=0;c=v[b+1144>>2];d=(c>>>0>>0?c:d)&65535;v[b+1144>>2]=c-d;v[b+1136>>2]=d+v[b+1136>>2]}break D}break b}if(!Em(b,f+12|0)){break l}c=x[f+12>>1];if(!(c>>>0>=y[b+176>>2]|c>>>0>=y[b+188>>2])){b=51813;break k}v[b+312>>2]=c;if(!Em(b,f+12|0)){break l}c=x[f+12>>1];if(!(c>>>0>=y[b+172>>2]|c>>>0>=y[b+180>>2])){b=52255;break k}v[b+308>>2]=c}if(!dt(b,f+15|0)){break l}if((e|0)!=w[f+15|0]){break m}c=0;if(!dt(b,f+15|0)){break l}while(1){if(!w[b+205|0]){t[(b+c|0)+316|0]=w[f+15|0]}if(!dt(b,f+15|0)){break l}F:{G:{H:{if(w[b+205|0]){d=w[f+15|0];if(c){break H}j=d&15;t[b+209|0]=j;d=d>>>4|0;t[b+208|0]=d;if(!(1<>>0>4|(!(1<>>0>4)){break G}break F}d=w[f+15|0];t[(b+c|0)+319|0]=d;if(w[b+210|0]){break F}if(!c){if((d|0)==(w[b+209|0]|w[b+208|0]<<4)){break F}b=52674;break k}if((d|0)==17){break F}b=52674;break k}if((d|0)==17){break F}}t[b+210|0]=1}if(!dt(b,f+15|0)){break l}I:{J:{if(w[b+205|0]){c=c+1|0;if((e|0)==(c|0)){break J}break I}t[(b+c|0)+322|0]=w[f+15|0];c=c+1|0;if((e|0)!=(c|0)){break I}t[b+303|0]=1}if(w[g+205|0]){c=1;break f}if((i|0)!=218){break e}break p}if(dt(b,f+15|0)){continue}break}break l}break d}break d}X(43294,7087,1964,87047);L()}a=v[a+628>>2];v[f>>2]=i;zc(a,87024,42255,f);c=0;break f}c=1;if(w[g+205|0]){break f}if(w[g+193|0]){break o}if(MK(a)){break q}c=0;break f}c=1;if(w[g+205|0]){break f}}c=1;if(w[g+303|0]){break f}h=v[a+584>>2];c=v[h+216>>2];if(!c){j=a+628|0;b=54561;break n}b=0;t[h+1140|0]=0;j=a+628|0;K:{d=w[h+192|0];if(!d){break K}k=h+322|0;while(1){L:{M:{if(!c){e=b-1|0;break M}N:{if(!b){break N}e=b-1|0;if(v[(h+(e<<2)|0)+216>>2]==(c|0)){break M}d=0;i=0;if(b>>>0<=1){break N}while(1){if(v[(h+(d<<2)|0)+216>>2]!=(c|0)){i=i+1|0;d=i&255;if((e|0)>(d|0)){continue}break N}break}b=55020;break n}d=jc(73);if(!d){b=48831;break n}t[d+8|0]=b;v[d>>2]=73;v[d+4>>2]=1124129791;c=0;e=h+(b<<2)|0;Ub[v[a+640>>2]](v[a+628>>2],v[e+216>>2],0)|0;if((Ub[v[a+632>>2]](v[a+628>>2],d+9|0,64)|0)!=64){break f}v[e+252>>2]=d;t[(b+h|0)+322|0]=b;d=w[h+192|0];break L}t[b+k|0]=w[e+k|0]}b=b+1|0;if(b>>>0>=(d&255)>>>0){break K}c=v[(h+(b<<2)|0)+216>>2];continue}}t[g+304|0]=192;i=w[g+192|0];O:{if(!i){t[g+319|0]=w[g+209|0]|w[g+208|0]<<4;break O}e=i&7;b=0;j=i-1|0;if(j>>>0>=7){d=i&248;c=g+316|0;while(1){t[b+c|0]=b;h=b|1;t[h+c|0]=h;h=b|2;t[h+c|0]=h;h=b|3;t[h+c|0]=h;h=b|4;t[h+c|0]=h;h=b|5;t[h+c|0]=h;h=b|6;t[h+c|0]=h;h=b|7;t[h+c|0]=h;b=b+8|0;d=d-8|0;if(d){continue}break}}if(e){while(1){t[(b+g|0)+316|0]=b;b=b+1|0;e=e-1|0;if(e){continue}break}}t[g+319|0]=w[g+209|0]|w[g+208|0]<<4;if(i>>>0<2){break O}c=j&7;b=1;if(i-2>>>0>=7){e=j&-8;while(1){d=b+g|0;t[d+319|0]=17;t[d+320|0]=17;t[d+321|0]=17;t[d+322|0]=17;t[d+323|0]=17;t[d+324|0]=17;t[d+325|0]=17;t[d+326|0]=17;b=b+8|0;e=e-8|0;if(e){continue}break}}if(!c){break O}while(1){t[(b+g|0)+319|0]=17;b=b+1|0;c=c-1|0;if(c){continue}break}}t[g+303|0]=1;v[g+308>>2]=v[g+180>>2];v[g+312>>2]=v[g+188>>2];j=v[a+584>>2];b=v[j+228>>2];if(!b){zc(v[a+628>>2],87344,54561,0);c=0;break f}t[j+1140|0]=0;P:{d=w[j+192|0];if(!d){break P}h=j+328|0;c=0;while(1){Q:{R:{if(!b){e=c-1|0;break R}S:{T:{if(!c){break T}e=c-1|0;if(v[(j+(e<<2)|0)+228>>2]==(b|0)){break R}d=0;i=0;if(c>>>0<=1){break T}while(1){if(v[(j+(d<<2)|0)+228>>2]!=(b|0)){i=i+1|0;d=i&255;if((e|0)>(d|0)){continue}break T}break}zc(v[a+628>>2],87344,55462,0);break S}Ub[v[a+640>>2]](v[a+628>>2],b,0)|0;if((Ub[v[a+632>>2]](v[a+628>>2],f+16|0,16)|0)!=16){break S}d=w[f+31|0]+(w[f+30|0]+(w[f+29|0]+(w[f+28|0]+(w[f+27|0]+(w[f+26|0]+(w[f+25|0]+(w[f+24|0]+(w[f+23|0]+(w[f+22|0]+(w[f+21|0]+(w[f+20|0]+(w[f+19|0]+(w[f+18|0]+(w[f+17|0]+w[f+16|0]|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0;e=d+25|0;b=jc(e);if(!b){zc(v[a+628>>2],87344,48831,0);c=0;break f}t[b+8|0]=c;t[b+4|0]=255;t[b+5|0]=196;v[b>>2]=e;e=d+19|0;t[b+7|0]=e;t[b+6|0]=e>>>8;t[b+9|0]=w[f+16|0];t[b+10|0]=w[f+17|0];t[b+11|0]=w[f+18|0];t[b+12|0]=w[f+19|0];t[b+13|0]=w[f+20|0];t[b+14|0]=w[f+21|0];t[b+15|0]=w[f+22|0];t[b+16|0]=w[f+23|0];t[b+17|0]=w[f+24|0];t[b+18|0]=w[f+25|0];t[b+19|0]=w[f+26|0];t[b+20|0]=w[f+27|0];t[b+21|0]=w[f+28|0];t[b+22|0]=w[f+29|0];t[b+23|0]=w[f+30|0];t[b+24|0]=w[f+31|0];if((Ub[v[a+632>>2]](v[a+628>>2],b+25|0,d)|0)!=(d|0)){break S}v[(j+(c<<2)|0)+268>>2]=b;t[(c+j|0)+328|0]=c<<4;d=w[j+192|0];break Q}c=0;break f}t[c+h|0]=w[e+h|0]}c=c+1|0;if(c>>>0>=(d&255)>>>0){break P}b=v[(j+(c<<2)|0)+228>>2];continue}}d=0;i=0;b=Qb-16|0;Qb=b;U:{h=v[a+584>>2];c=v[h+240>>2];if(!c){zc(v[a+628>>2],87392,54561,0);break U}t[h+1140|0]=0;e=w[h+192|0];if(!e){i=1;break U}k=h+328|0;while(1){V:{W:{if(!c){j=d-1|0;break W}X:{if(!d){break X}j=d-1|0;if(v[(h+(j<<2)|0)+240>>2]==(c|0)){break W}i=0;e=0;if(d>>>0<=1){break X}while(1){if(v[(h+(i<<2)|0)+240>>2]!=(c|0)){e=e+1|0;i=e&255;if((j|0)>(i|0)){continue}break X}break}i=0;zc(v[a+628>>2],87392,55666,0);break U}i=0;Ub[v[a+640>>2]](v[a+628>>2],c,0)|0;if((Ub[v[a+632>>2]](v[a+628>>2],b,16)|0)!=16){break U}e=w[b+15|0]+(w[b+14|0]+(w[b+13|0]+(w[b+12|0]+(w[b+11|0]+(w[b+10|0]+(w[b+9|0]+(w[b+8|0]+(w[b+7|0]+(w[b+6|0]+(w[b+5|0]+(w[b+4|0]+(w[b+3|0]+(w[b+2|0]+(w[b|0]+w[b+1|0]|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0;j=e+25|0;c=jc(j);if(!c){zc(v[a+628>>2],87392,48831,0);break U}t[c+4|0]=255;t[c+5|0]=196;v[c>>2]=j;t[c+8|0]=d|16;j=e+19|0;t[c+7|0]=j;t[c+6|0]=j>>>8;t[c+9|0]=w[b|0];t[c+10|0]=w[b+1|0];t[c+11|0]=w[b+2|0];t[c+12|0]=w[b+3|0];t[c+13|0]=w[b+4|0];t[c+14|0]=w[b+5|0];t[c+15|0]=w[b+6|0];t[c+16|0]=w[b+7|0];t[c+17|0]=w[b+8|0];t[c+18|0]=w[b+9|0];t[c+19|0]=w[b+10|0];t[c+20|0]=w[b+11|0];t[c+21|0]=w[b+12|0];t[c+22|0]=w[b+13|0];t[c+23|0]=w[b+14|0];t[c+24|0]=w[b+15|0];if((Ub[v[a+632>>2]](v[a+628>>2],c+25|0,e)|0)!=(e|0)){break U}v[(h+(d<<2)|0)+284>>2]=c;c=d+h|0;t[c+328|0]=w[c+328|0]|d;e=w[h+192|0];break V}c=d+k|0;t[c|0]=w[c|0]|w[j+k|0]&15}i=1;d=d+1|0;if(d>>>0>=(e&255)>>>0){break U}c=v[(h+(d<<2)|0)+240>>2];continue}}Qb=b+16|0;if(!i){c=0;break f}c=1;a=w[g+192|0];if(a>>>0<2){break f}e=a-1|0;d=e&7;b=1;if(a-2>>>0>=7){i=e&-8;a=g+325|0;while(1){e=b+7|0;t[e+a|0]=e;e=b+6|0;t[e+a|0]=e;e=b+5|0;t[e+a|0]=e;e=b+4|0;t[e+a|0]=e;e=b+3|0;t[e+a|0]=e;e=b+2|0;t[e+a|0]=e;e=b+1|0;t[e+a|0]=e;t[a+b|0]=b;b=b+8|0;i=i-8|0;if(i){continue}break}}if(!d){break f}while(1){t[(b+g|0)+325|0]=b;b=b+1|0;d=d-1|0;if(d){continue}break}break f}X(41439,7087,1298,87024);L()}c=0;zc(v[j>>2],87296,b,0);break f}if(w[b+205|0]){break l}b=50530;break k}c=0;break f}zc(v[a+628>>2],87232,b,0);c=0;break f}zc(v[a+628>>2],87200,e,0)}c=0;break f}zc(v[a+628>>2],87152,j,0)}c=0}Qb=f+32|0;return c}b=x[g+1148>>1];continue}break}X(43294,7087,1949,87085);L()}X(43294,7087,2006,87184);L()}X(47616,7087,2034,87099);L()}function O5(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,x=0;j=Qb-416|0;Qb=j;f=v[a+608>>2];d=v[a+604>>2];x=1;q=v[a+584>>2];e=v[q+72>>2];h=v[q+68>>2];m=v[q+64>>2];a:{b:{c:{if((c|0)<1){b=d}else{s=d+f|0;t=v[q+60>>2];n=v[q+12>>2];r=v[q+88>>2];while(1){d:{e:{f:{g:{h:{i:{if(e){break i}while(1){j:{k:{l:{if((h|0)>10){f=d;break l}if(d>>>0>=s>>>0){if(!h){break k}h=11;f=d;break l}i=h+8|0;f=d+1|0;m=w[w[d|0]+t|0]<2){h=i;break l}if(f>>>0>=s>>>0){h=11;break l}h=h+16|0;f=d+2|0;m=w[w[d+1|0]+t|0]<>>1|0;h=h-1|0;d=f;continue}}while(1){f=h;m:{if((h|0)>7){break m}if(d>>>0>=s>>>0){f=8;if(h){break m}break h}m=w[w[d|0]+t|0]<>>1|0;if(!e){continue}break}}l=m>>>1|0;e=f-1|0;n:{if((f|0)>1){h=e;i=d;break n}if(d>>>0>=s>>>0){h=1;i=d;if(e){break n}e=0;m=l;break h}h=f+7|0;l=w[w[d|0]+t|0]<>>1|0;h=h-1|0;k=0;if(!(l&1)){break f}d=i;g=r;o:{p:{while(1){p=0;q:{while(1){r:{if((h|0)>11){f=h;break r}if(d>>>0>=s>>>0){f=12;if(h){break r}break g}i=h+8|0;e=d+1|0;m=w[w[d|0]+t|0]<3){f=i;d=e;break r}f=12;if(e>>>0>=s>>>0){d=e;break r}f=h+16|0;m=w[w[d+1|0]+t|0]<>>e|0;h=f-e|0;e=1;f=g;s:{t:{switch(w[i|0]-7|0){case 0:i=v[i+4>>2];u=i+p|0;v[g>>2]=u;f=g+4|0;p=0;k=i+k|0;if((n|0)>(k|0)){break s}e=0;break o;case 5:break p;case 2:case 4:break t;default:break q}}e=v[i+4>>2];p=e+p|0;k=e+k|0;continue}break}while(1){u:{if((h|0)>12){i=h;break u}if(d>>>0>=s>>>0){i=13;if(h){break u}g=f;break g}o=h+8|0;l=d+1|0;m=w[w[d|0]+t|0]<4){i=o;d=l;break u}i=13;if(l>>>0>=s>>>0){d=l;break u}i=h+16|0;m=w[w[d+1|0]+t|0]<>>h|0;h=i-h|0;i=w[l|0];if(i-10>>>0<2){i=v[l+4>>2];p=i+p|0;k=i+k|0;continue}break}v:{w:{switch(i-8|0){case 0:e=v[l+4>>2];i=e+p|0;v[g+4>>2]=i;f=g+8|0;k=e+k|0;if((n|0)>(k|0)){break v}e=0;break o;case 4:break p;default:break w}}e=v[a+12>>2]&1024;i=v[(e?504:480)+a>>2];g=v[a+628>>2];l=v[a>>2];o=v[q+108>>2];v[j+304>>2]=k;v[j+300>>2]=i;v[j+296>>2]=e?56103:56298;v[j+292>>2]=o;v[j+288>>2]=l;zc(g,86117,55737,j+288|0);e=0;break p}g=i|u?f:g;continue}break}e=v[a+12>>2]&1024;i=v[(e?504:480)+a>>2];f=v[a+628>>2];l=v[a>>2];o=v[q+108>>2];v[j+272>>2]=k;v[j+268>>2]=i;v[j+264>>2]=e?56103:56298;v[j+260>>2]=o;v[j+256>>2]=l;zc(f,86117,55737,j+256|0);e=0;f=g}if(!p){break o}v[f>>2]=p;f=f+4|0}if((k|0)==(n|0)){break d}i=v[a+12>>2]&1024;g=v[(i?504:480)+a>>2];l=v[a+628>>2];o=v[a>>2];u=v[q+108>>2];v[j+248>>2]=n;v[j+244>>2]=k;v[j+240>>2]=g;v[j+236>>2]=i?56103:56298;v[j+232>>2]=u;v[j+228>>2]=k>>>0>>0?57394:57552;v[j+224>>2]=o;Ld(l,86117,57124,j+224|0);l=(k|0)>(n|0);x:{if((k|0)<=(n|0)|f>>>0<=r>>>0){break x}while(1){f=f-4|0;k=k-v[f>>2]|0;l=(n|0)<(k|0);if((k|0)<=(n|0)){break x}if(f>>>0>r>>>0){continue}break}}if((k|0)<(n|0)){if(f-r&4){v[f>>2]=0;f=f+4|0}v[f>>2]=n-((k|0)>0?k:0);f=f+4|0;break d}if(l){break e}break d}else{m=m>>>8|0;h=f-8|0;continue}}}if(!n){g=r;break b}c=v[a+12>>2]&1024;i=v[(c?504:480)+a>>2];f=v[a+628>>2];g=v[a>>2];h=v[q+108>>2];v[j+408>>2]=n;v[j+404>>2]=0;v[j+400>>2]=i;v[j+396>>2]=c?56103:56298;v[j+392>>2]=h;v[j+388>>2]=57394;v[j+384>>2]=g;Ld(f,86117,57124,j+384|0);v[r>>2]=n;if((n|0)>0){g=r+4|0;break b}v[r+4>>2]=0;g=r+8|0;break b}c=v[a+12>>2]&1024;e=v[(c?504:480)+a>>2];i=v[a+628>>2];f=v[a>>2];h=v[q+108>>2];v[j+368>>2]=k;v[j+364>>2]=e;v[j+360>>2]=c?56103:56298;v[j+356>>2]=h;v[j+352>>2]=f;Ld(i,86117,56754,j+352|0);if(p){v[g>>2]=p;g=g+4|0}e=0;if((k|0)==(n|0)){break b}c=v[a+12>>2]&1024;i=v[(c?504:480)+a>>2];f=v[a+628>>2];h=v[a>>2];l=v[q+108>>2];v[j+344>>2]=n;v[j+340>>2]=k;v[j+336>>2]=i;v[j+332>>2]=c?56103:56298;v[j+328>>2]=l;v[j+324>>2]=k>>>0>>0?57394:57552;v[j+320>>2]=h;Ld(f,86117,57124,j+320|0);h=(k|0)>(n|0);y:{if((k|0)<=(n|0)|g>>>0<=r>>>0){break y}while(1){g=g-4|0;k=k-v[g>>2]|0;h=(n|0)<(k|0);if((k|0)<=(n|0)){break y}if(g>>>0>r>>>0){continue}break}}if((k|0)<(n|0)){if(g-r&4){v[g>>2]=0;g=g+4|0}v[g>>2]=n-((k|0)>0?k:0);g=g+4|0;break b}if(!h){break b}v[g+4>>2]=0;v[g>>2]=n;g=g+8|0;break b}z:{if((n|0)<1){e=0;g=0;d=i;f=r;break z}e=v[q+84>>2];d=e+4|0;l=v[e>>2];o=0;g=0;f=r;p=0;A:{B:{C:{D:{E:{F:{G:{H:{I:{while(1){k=g;e=h;J:{if((h|0)>6){break J}if(i>>>0>=s>>>0){e=7;if(h){break J}break c}m=w[w[i|0]+t|0]<>>h|0;h=e-h|0;K:{L:{M:{N:{O:{switch(w[g|0]-1|0){case 0:P:{if((f|0)==(r|0)){e=d;break P}if((k|0)<(l|0)){e=d;break P}e=d;if((l|0)>=(n|0)){break P}while(1){e=d+8|0;l=v[d+4>>2]+(v[d>>2]+l|0)|0;if((l|0)>(k|0)){break P}d=e;if((l|0)<(n|0)){continue}break}}g=v[e>>2]+l|0;p=g+(o+p|0)|0;d=e+8|0;l=v[e+4>>2]+g|0;break K;case 1:if(!(f-r&4)){break M}while(1){Q:{if((h|0)>12){e=h;break Q}if(i>>>0>=s>>>0){e=13;if(!h){break c}break Q}o=h+8|0;g=i+1|0;m=w[w[i|0]+t|0]<4){e=o;i=g;break Q}e=13;if(g>>>0>=s>>>0){i=g;break Q}e=h+16|0;m=w[w[i+1|0]+t|0]<>>h|0;h=e-h|0;e=w[g|0];if(e-10>>>0>=2){if((e|0)!=8){break D}e=v[g+4>>2];v[f>>2]=e+p;o=f+4|0;k=e+k|0;p=0;while(1){R:{if((h|0)>11){e=h;break R}if(i>>>0>=s>>>0){e=12;if(h){break R}f=o;break c}u=h+8|0;g=i+1|0;m=w[w[i|0]+t|0]<3){e=u;i=g;break R}e=12;if(g>>>0>=s>>>0){i=g;break R}e=h+16|0;m=w[w[i+1|0]+t|0]<>>h|0;h=e-h|0;S:{switch(w[g|0]-7|0){case 2:case 4:e=v[g+4>>2];p=e+p|0;k=e+k|0;continue;case 0:break S;default:break I}}break}e=v[g+4>>2];v[o>>2]=e+p;g=e+k|0;break L}else{e=v[g+4>>2];p=e+p|0;k=e+k|0;continue}};case 5:v[f>>2]=n-k;d=v[a+12>>2]&1024;e=v[(d?504:480)+a>>2];g=v[a+628>>2];l=v[a>>2];o=v[q+108>>2];v[j+208>>2]=k;v[j+204>>2]=e;v[j+200>>2]=d?56103:56298;v[j+196>>2]=o;v[j+192>>2]=l;zc(g,86117,58059,j+192|0);f=f+4|0;break C;case 11:v[f>>2]=n-k;f=f+4|0;T:{if((h|0)>3){d=h;break T}if(i>>>0>=s>>>0){d=4;if(!h){break c}break T}d=h+8|0;m=w[w[i|0]+t|0]<>2];e=Qb-32|0;Qb=e;h=v[a+12>>2]&1024;l=v[(h?504:480)+a>>2];o=v[a+628>>2];u=v[a>>2];v[e+16>>2]=k;v[e+12>>2]=l;v[e+8>>2]=h?56103:56298;v[e+4>>2]=g;v[e>>2]=u;zc(o,86117,55737,e);Qb=e+32|0}m=m>>>4|0;h=d-4|0;e=1;break B;case 4:U:{if((f|0)==(r|0)){e=d;break U}if((k|0)<(l|0)){e=d;break U}e=d;if((l|0)>=(n|0)){break U}while(1){e=d+8|0;l=v[d+4>>2]+(v[d>>2]+l|0)|0;if((l|0)>(k|0)){break U}d=e;if((l|0)<(n|0)){continue}break}}d=(l+o|0)-v[g+4>>2]|0;v[f>>2]=d+p;g=d+k|0;d=e-4|0;l=l-v[d>>2]|0;f=f+4|0;break N;case 3:V:{if((f|0)==(r|0)){e=d;break V}if((k|0)<(l|0)){e=d;break V}e=d;if((l|0)>=(n|0)){break V}while(1){e=d+8|0;l=v[d+4>>2]+(v[d>>2]+l|0)|0;if((l|0)>(k|0)){break V}d=e;if((l|0)<(n|0)){continue}break}}g=v[g+4>>2];v[f>>2]=g+((o+p|0)+l|0);d=e+4|0;g=g+l|0;l=v[e>>2]+l|0;f=f+4|0;break N;case 2:break O;default:break G}}W:{if(!((f|0)==(r|0)|(k|0)<(l|0))){e=d;g=l;if((n|0)<=(g|0)){break W}while(1){e=d+8|0;g=v[d+4>>2]+(v[d>>2]+g|0)|0;if((k|0)<(g|0)){break W}d=e;if((g|0)<(n|0)){continue}break}break W}g=l;e=d}v[f>>2]=(o+p|0)+g;d=e+4|0;l=v[e>>2]+g|0;f=f+4|0}p=0;break K}while(1){X:{if((h|0)>11){e=h;break X}if(i>>>0>=s>>>0){e=12;if(!h){break c}break X}o=h+8|0;g=i+1|0;m=w[w[i|0]+t|0]<3){e=o;i=g;break X}e=12;if(g>>>0>=s>>>0){i=g;break X}e=h+16|0;m=w[w[i+1|0]+t|0]<>>h|0;h=e-h|0;o=f;Y:{switch(w[g|0]-7|0){case 2:case 4:e=v[g+4>>2];p=e+p|0;k=e+k|0;continue;case 0:break Y;default:break I}}break}e=v[g+4>>2];v[f>>2]=e+p;g=f+4|0;k=e+k|0;p=0;while(1){Z:{if((h|0)>12){e=h;break Z}if(i>>>0>=s>>>0){e=13;if(h){break Z}f=g;break c}u=h+8|0;o=i+1|0;m=w[w[i|0]+t|0]<4){e=u;i=o;break Z}e=13;if(o>>>0>=s>>>0){i=o;break Z}e=h+16|0;m=w[w[i+1|0]+t|0]<>>h|0;h=e-h|0;e=w[o|0];if(e-10>>>0>=2){if((e|0)!=8){f=g;break D}e=v[o+4>>2];v[g>>2]=e+p;g=e+k|0}else{e=v[o+4>>2];p=e+p|0;k=e+k|0;continue}break}}p=0;f=f+8|0;if((r|0)==(f|0)){f=r;break K}if((g|0)<(l|0)|(l|0)>=(n|0)){break K}while(1){e=d+8|0;l=v[d+4>>2]+(v[d>>2]+l|0)|0;if((l|0)>(g|0)){d=e;break K}d=e;if((l|0)<(n|0)){continue}break}}o=0-g|0;if((g|0)<(n|0)){continue}break}e=0;if(!p){break A}if((g+p|0)<(n|0)){break H}d=i;break E}d=v[a+12>>2]&1024;e=v[(d?504:480)+a>>2];f=v[a+628>>2];g=v[a>>2];l=v[q+108>>2];v[j+144>>2]=k;v[j+140>>2]=e;v[j+136>>2]=d?56103:56298;v[j+132>>2]=l;v[j+128>>2]=g;zc(f,86117,55737,j+128|0);f=o;e=0;break B}_:{if((h|0)>0){l=h;d=i;break _}if(i>>>0>=s>>>0){l=1;d=i;if(h){break _}k=g;break c}l=h+8|0;m=w[w[i|0]+t|0]<>2]&1024;e=v[(d?504:480)+a>>2];g=v[a+628>>2];l=v[a>>2];o=v[q+108>>2];v[j+48>>2]=k;v[j+44>>2]=e;v[j+40>>2]=d?56103:56298;v[j+36>>2]=o;v[j+32>>2]=l;zc(g,86117,55737,j+32|0);break C}m=m>>>1|0;h=l-1|0}v[f>>2]=p;f=f+4|0;break z}d=v[a+12>>2]&1024;e=v[(d?504:480)+a>>2];g=v[a+628>>2];l=v[a>>2];o=v[q+108>>2];v[j+176>>2]=k;v[j+172>>2]=e;v[j+168>>2]=d?56103:56298;v[j+164>>2]=o;v[j+160>>2]=l;zc(g,86117,55737,j+160|0)}e=0}if(p){v[f>>2]=p;f=f+4|0}g=k}d=i}if((g|0)==(n|0)){break d}i=v[a+12>>2]&1024;l=v[(i?504:480)+a>>2];k=v[a+628>>2];o=v[a>>2];u=v[q+108>>2];v[j+24>>2]=n;v[j+20>>2]=g;v[j+16>>2]=l;v[j+12>>2]=i?56103:56298;v[j+8>>2]=u;v[j+4>>2]=g>>>0>>0?57394:57552;v[j>>2]=o;Ld(k,86117,57124,j);k=(g|0)>(n|0);$:{if((g|0)<=(n|0)|f>>>0<=r>>>0){break $}while(1){f=f-4|0;g=g-v[f>>2]|0;k=(n|0)<(g|0);if((g|0)<=(n|0)){break $}if(f>>>0>r>>>0){continue}break}}if((g|0)<(n|0)){if(f-r&4){v[f>>2]=0;f=f+4|0}v[f>>2]=n-((g|0)>0?g:0);f=f+4|0;break d}if(!k){break d}}v[f+4>>2]=0;v[f>>2]=n;f=f+8|0}Ub[v[q+76>>2]](b,r,f,n);v[f>>2]=0;i=v[q+88>>2];r=v[q+84>>2];v[q+88>>2]=r;v[q+84>>2]=i;v[q+108>>2]=v[q+108>>2]+1;i=v[q+8>>2];b=i+b|0;c=c-i|0;if((c|0)>0){continue}break}f=v[a+608>>2];b=v[a+604>>2]}v[q+72>>2]=e;v[q+64>>2]=m;v[q+68>>2]=h;b=(b-d|0)+f|0;break a}d=i;c=v[a+12>>2]&1024;e=v[(c?504:480)+a>>2];i=v[a+628>>2];g=v[a>>2];h=v[q+108>>2];v[j+112>>2]=k;v[j+108>>2]=e;v[j+104>>2]=c?56103:56298;v[j+100>>2]=h;v[j+96>>2]=g;Ld(i,86117,56754,j+96|0);if(p){v[f>>2]=p;f=f+4|0}e=0;if((k|0)==(n|0)){g=f;break b}c=v[a+12>>2]&1024;i=v[(c?504:480)+a>>2];g=v[a+628>>2];h=v[a>>2];l=v[q+108>>2];v[j+88>>2]=n;v[j+84>>2]=k;v[j+80>>2]=i;v[j+76>>2]=c?56103:56298;v[j+72>>2]=l;v[j+68>>2]=k>>>0>>0?57394:57552;v[j+64>>2]=h;Ld(g,86117,57124,j- -64|0);h=(k|0)>(n|0);aa:{if((k|0)<=(n|0)|f>>>0<=r>>>0){break aa}while(1){f=f-4|0;k=k-v[f>>2]|0;h=(n|0)<(k|0);if((k|0)<=(n|0)){break aa}if(f>>>0>r>>>0){continue}break}}if((k|0)<(n|0)){if(f-r&4){v[f>>2]=0;f=f+4|0}v[f>>2]=n-((k|0)>0?k:0);g=f+4|0;break b}if(!h){g=f;break b}v[f+4>>2]=0;v[f>>2]=n;g=f+8|0}Ub[v[q+76>>2]](b,r,g,n);v[q+72>>2]=e;v[q+64>>2]=m;v[q+68>>2]=0;x=-1;b=v[a+608>>2]+(v[a+604>>2]-d|0)|0}v[a+604>>2]=d;v[a+608>>2]=b;Qb=j+416|0;return x|0}function Ui(a,b){var 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;n=Qb-32|0;Qb=n;a:{b:{if(v[a+8>>2]==13){break b}f=a+8|0;c=a;while(1){a=v[c+16>>2];e=Ub[v[v[a>>2]+28>>2]](a)|0;if((e|0)==-1){a=v[c+16>>2];Ub[v[v[a>>2]+24>>2]](a);hc(f);e=v[c+4>>2]+1|0;v[c+4>>2]=e;a=v[c>>2];if((e|0)>2]){yc(a,e,f,0);a=v[c+16>>2];Ub[v[v[a>>2]+20>>2]](a)}if(v[f>>2]!=13){continue}break b}c:{d:{if(h){h=(e|0)!=13&(e|0)!=10;break d}h=1;if((e|0)==37){break d}h=0;if(w[e+937984|0]!=1){break c}}if(v[f>>2]!=13){continue}break b}break}k=1;i=1;a=0;e:{f:{g:{h:{i:{j:{k:{l:{switch(e-40|0){case 5:if(v[c+8>>2]==13){break i}a=v[c+16>>2];if((Ub[v[v[a>>2]+32>>2]](a)|0)!=45){break i}if(v[f>>2]==13){k=0;j=1;break j}while(1){a=v[c+16>>2];if((Ub[v[v[a>>2]+28>>2]](a)|0)==-1){a=v[c+16>>2];Ub[v[v[a>>2]+24>>2]](a);hc(f);e=v[c+4>>2]+1|0;v[c+4>>2]=e;a=v[c>>2];if((e|0)>2]){yc(a,e,f,0);a=v[c+16>>2];Ub[v[v[a>>2]+20>>2]](a)}k=0;j=1;if(v[f>>2]!=13){continue}break j}j=1;if(v[c+8>>2]==13){k=0;break j}k=0;a=v[c+16>>2];if((Ub[v[v[a>>2]+32>>2]](a)|0)!=45){break j}if(v[f>>2]!=13){continue}break};break j;case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:a=e-48|0;m=+(a|0);break h;case 0:e=c+28|0;m:{n:{if(v[c+8>>2]==13){i=0;break n}j=1;i=0;a=e;while(1){d=v[c+16>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((d|0)!=-1){o:{p:{q:{switch(d-13|0){default:if((d|0)!=92){break p}if(v[f>>2]==13){break n}r:{s:{t:{u:{v:{w:{while(1){x:{y:{d=v[c+16>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;switch(d+1|0){case 11:break o;case 103:break r;case 99:break s;case 117:break t;case 115:break u;case 111:break v;case 14:break w;case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:break x;case 0:break y;default:break p}}d=v[c+16>>2];Ub[v[v[d>>2]+24>>2]](d);hc(f);g=v[c+4>>2]+1|0;v[c+4>>2]=g;d=v[c>>2];if((g|0)>2]){yc(d,g,f,0);d=v[c+16>>2];Ub[v[v[d>>2]+20>>2]](d)}if(v[f>>2]!=13){continue}break n}break}d=d-48|0;if(v[c+8>>2]==13){break p}g=v[c+16>>2];g=Ub[v[v[g>>2]+32>>2]](g)|0;if((g&-8)!=48){break p}d=(g+(d<<3)|0)-48|0;ii(c);if(v[c+8>>2]==13){break p}g=v[c+16>>2];g=Ub[v[v[g>>2]+32>>2]](g)|0;if((g&-8)!=48){break p}ii(c);d=(g+(d<<3)|0)-48|0;break p}if(v[c+8>>2]==13){break o}d=v[c+16>>2];if((Ub[v[v[d>>2]+32>>2]](d)|0)!=10){break o}ii(c);break o}d=10;break p}d=13;break p}d=9;break p}d=8;break p}d=12;break p;case 0:d=10;if(v[c+8>>2]==13){break p}g=v[c+16>>2];if((Ub[v[v[g>>2]+32>>2]](g)|0)!=10){break p}ii(c);break p;case 28:d=41;j=j-1|0;if(j){break p}break m;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:break p;case 27:break q}}j=j+1|0;d=40}z:{if((h|0)!=128){break z}if(!i){h=0;l=fc(8);v[299999]=0;i=Y(3083,l|0,e|0,128)|0;g=v[299999];v[299999]=0;a=e;if((g|0)!=1){break z}break k}De(i,e,128);h=0;a=e}t[a|0]=d;h=h+1|0;a=a+1|0}if(v[f>>2]!=13){continue}break n}d=v[c+16>>2];Ub[v[v[d>>2]+24>>2]](d);hc(f);g=v[c+4>>2]+1|0;v[c+4>>2]=g;d=v[c>>2];if((g|0)>2]){yc(d,g,f,0);d=v[c+16>>2];Ub[v[v[d>>2]+20>>2]](d)}if(v[f>>2]!=13){continue}break}}kc(1,-1,272397,0)}A:{if(!i){l=fc(8);v[299999]=0;i=Y(3083,l|0,e|0,h|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break A}break k}De(i,e,h)}v[b+8>>2]=i;v[b>>2]=3;break a;default:t[c+28|0]=e;h=c+29|0;g=c+28|0;B:{if(v[c+8>>2]==13){break B}while(1){a=v[c+16>>2];d=Ub[v[v[a>>2]+32>>2]](a)|0;if((d|0)==-1|w[d+937984|0]){break B}C:{if(v[f>>2]==13){break C}while(1){a=v[c+16>>2];if((Ub[v[v[a>>2]+28>>2]](a)|0)!=-1){break C}a=v[c+16>>2];Ub[v[v[a>>2]+24>>2]](a);hc(f);e=v[c+4>>2]+1|0;v[c+4>>2]=e;a=v[c>>2];if((e|0)>2]){yc(a,e,f,0);a=v[c+16>>2];Ub[v[v[a>>2]+20>>2]](a)}if(v[f>>2]!=13){continue}break}}i=i+1|0;if((i|0)==128){if(v[c+8>>2]!=13){a=v[c+16>>2];a=Ub[v[v[a>>2]+52>>2]](a)|0}else{a=-1}kc(1,a,272047,0);break B}t[h|0]=d;h=h+1|0;if(v[c+8>>2]!=13){continue}break}}t[h|0]=0;D:{E:{switch(w[g|0]-102|0){case 14:if(Pc(g,275456,5)){break D}v[b+8>>2]=1;v[b>>2]=0;break a;case 0:if(Pc(g,277254,6)){break D}v[b+8>>2]=0;v[b>>2]=0;break a;case 8:break E;default:break D}}if(Pc(g,258898,5)){break D}v[b>>2]=5;break a}v[b>>2]=10;q=b,r=ud(g),v[q+8>>2]=r;break a;case 1:case 83:case 85:d=-1;if(v[c+8>>2]!=13){a=v[c+16>>2];d=Ub[v[v[a>>2]+52>>2]](a)|0}v[n>>2]=e;kc(1,d,345668,n);v[b>>2]=11;break a;case 22:d=-1;F:{if(v[c+8>>2]==13){break F}a=v[c+16>>2];if((Ub[v[v[a>>2]+32>>2]](a)|0)==62){ii(c);t[c+30|0]=0;u[c+28>>1]=15934;v[b>>2]=10;q=b,r=ud(c+28|0),v[q+8>>2]=r;break a}if(v[c+8>>2]==13){break F}a=v[c+16>>2];d=Ub[v[v[a>>2]+52>>2]](a)|0}kc(1,d,345752,0);v[b>>2]=11;break a;case 20:G:{H:{if(v[c+8>>2]==13){a=c+28|0;k=0;i=0;break H}a=v[c+16>>2];if((Ub[v[v[a>>2]+32>>2]](a)|0)==60){ii(c);t[c+30|0]=0;u[c+28>>1]=15420;v[b>>2]=10;q=b,r=ud(c+28|0),v[q+8>>2]=r;break a}a=c+28|0;i=0;if(v[c+8>>2]==13){k=0;break H}k=0;e=a;while(1){I:{J:{K:{d=v[c+16>>2];g=Ub[v[v[d>>2]+28>>2]](d)|0;if((g|0)!=-1){if((g|0)==62){break G}if(w[g+937984|0]==1){break I}j=j<<4;d=g-48|0;if(d>>>0>9){break K}j=d+j|0;break J}d=v[c+16>>2];Ub[v[v[d>>2]+24>>2]](d);hc(f);g=v[c+4>>2]+1|0;v[c+4>>2]=g;d=v[c>>2];if((g|0)>2]){yc(d,g,f,0);d=v[c+16>>2];Ub[v[v[d>>2]+20>>2]](d)}if(v[f>>2]!=13){continue}break H}if(g-65>>>0<=5){j=(g+j|0)-55|0;break J}if(g-97>>>0<=5){j=(g+j|0)-87|0;break J}l=-1;if(v[c+8>>2]!=13){d=v[c+16>>2];l=Ub[v[v[d>>2]+52>>2]](d)|0}v[n+16>>2]=g;kc(1,l,272278,n+16|0)}if((i|0)!=1){i=1;break I}L:{if((k|0)!=128){break L}if(!h){k=0;l=fc(8);v[299999]=0;h=Y(3083,l|0,a|0,128)|0;d=v[299999];v[299999]=0;e=a;if((d|0)!=1){break L}break k}De(h,a,128);k=0;e=a}t[e|0]=j;k=k+1|0;e=e+1|0;j=0;i=0}if(v[f>>2]!=13){continue}break}}kc(1,-1,272320,0)}M:{if(!h){l=fc(8);v[299999]=0;h=Y(3083,l|0,a|0,k|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break M}break k}De(h,a,k)}if((i|0)==1){gd(h,j<<28>>24)}v[b+8>>2]=h;v[b>>2]=3;break a;case 51:case 53:t[c+28|0]=e;t[c+29|0]=0;v[b>>2]=10;q=b,r=ud(c+28|0),v[q+8>>2]=r;break a;case 6:break g;case 3:break h;case 7:break l}}g=c+28|0;i=g;N:{if(v[c+8>>2]!=13){k=0;i=g;while(1){a=v[c+16>>2];h=Ub[v[v[a>>2]+32>>2]](a)|0;if(!((h|0)==-1|w[h+937984|0])){a=d;O:{if(v[f>>2]==13){break O}while(1){e=v[c+16>>2];if((Ub[v[v[e>>2]+28>>2]](e)|0)!=-1){break O}e=v[c+16>>2];Ub[v[v[e>>2]+24>>2]](e);hc(f);d=v[c+4>>2]+1|0;v[c+4>>2]=d;e=v[c>>2];if((d|0)>2]){yc(e,d,f,0);e=v[c+16>>2];Ub[v[v[e>>2]+20>>2]](e)}if(v[f>>2]!=13){continue}break}}P:{if((h|0)!=35){break P}d=-1;Q:{R:{S:{if(v[c+8>>2]==13){break S}T:{e=v[c+16>>2];e=Ub[v[v[e>>2]+32>>2]](e)|0;h=e-48|0;U:{if(h>>>0<10){break U}if(e-65>>>0<=5){h=e-55|0;break U}if(e-97>>>0>5){break T}h=e-87|0}e=-1;if(v[f>>2]==13){break Q}while(1){d=v[c+16>>2];if((Ub[v[v[d>>2]+28>>2]](d)|0)!=-1){break R}d=v[c+16>>2];Ub[v[v[d>>2]+24>>2]](d);hc(f);l=v[c+4>>2]+1|0;v[c+4>>2]=l;d=v[c>>2];if((l|0)>2]){yc(d,l,f,0);d=v[c+16>>2];Ub[v[v[d>>2]+20>>2]](d)}if(v[f>>2]!=13){continue}break}break Q}if(v[c+8>>2]==13){break S}e=v[c+16>>2];d=Ub[v[v[e>>2]+52>>2]](e)|0}kc(1,d,280380,0);h=35;break P}if(v[c+8>>2]==13){break Q}V:{d=v[c+16>>2];l=Ub[v[v[d>>2]+32>>2]](d)|0;d=l-48|0;W:{if(d>>>0<=9){d=d+(h<<4)|0;break W}d=(l+(h<<4)|0)-55|0;if(l-65>>>0<=5){break W}if(l-97>>>0>5){break V}d=(l+(h<<4)|0)-87|0}h=d;X:{if(v[f>>2]==13){break X}while(1){e=v[c+16>>2];if((Ub[v[v[e>>2]+28>>2]](e)|0)!=-1){break X}e=v[c+16>>2];Ub[v[v[e>>2]+24>>2]](e);hc(f);d=v[c+4>>2]+1|0;v[c+4>>2]=d;e=v[c>>2];if((d|0)>2]){yc(e,d,f,0);e=v[c+16>>2];Ub[v[v[e>>2]+20>>2]](e)}if(v[f>>2]!=13){continue}break}}j=h?j:1;break P}if(v[c+8>>2]==13){break Q}e=v[c+16>>2];e=Ub[v[v[e>>2]+52>>2]](e)|0}kc(1,e,280380,0)}d=a+1|0;Y:{if(a>>>0<=126){t[i|0]=h;i=i+1|0;break Y}if((d|0)==128){t[i|0]=h;l=fc(8);v[299999]=0;k=Y(3083,l|0,g|0,128)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break Y}break k}gd(k,h<<24>>24)}if(v[c+8>>2]!=13){continue}}break}if(j){if(v[c+8>>2]!=13){a=v[c+16>>2];a=Ub[v[v[a>>2]+52>>2]](a)|0}else{a=-1}kc(1,a,280357,0);v[b>>2]=11;if(!k){break a}dc(Dc(k));break a}if(d>>>0>127){break N}}t[i|0]=0;v[b>>2]=4;q=b,r=ud(g),v[q+8>>2]=r;break a}a=v[k+4>>2];v[b>>2]=4;q=b,r=ud(a),v[q+8>>2]=r;dc(Dc(k));break a}a=P()|0;O()|0;dc(l);T(a|0);L()}i=0;a=0;break h}k=0;j=1;a=0}Z:{_:{if(v[c+8>>2]==13){break _}while(1){e=v[c+16>>2];e=Ub[v[v[e>>2]+32>>2]](e)|0;g=e-48|0;if(g>>>0<=9){d=13;$:{if(v[f>>2]==13){break $}while(1){e=v[c+16>>2];if((Ub[v[v[e>>2]+28>>2]](e)|0)!=-1){d=v[c+8>>2];break $}e=v[c+16>>2];Ub[v[v[e>>2]+24>>2]](e);hc(f);d=v[c+4>>2]+1|0;v[c+4>>2]=d;e=v[c>>2];if((d|0)>2]){yc(e,d,f,0);e=v[c+16>>2];Ub[v[v[e>>2]+20>>2]](e)}d=13;if(v[f>>2]!=13){continue}break}}m=m<1e20?m*10+ +(g|0):m;a=g+B(a,10)|0;if((d|0)!=13){continue}break _}break}if((e|0)==46){break Z}}aa:while(1){d=-1;if(v[c+8>>2]!=13){e=v[c+16>>2];d=Ub[v[v[e>>2]+32>>2]](e)|0}if((d|0)!=45&d-48>>>0>9){break f}if(v[f>>2]==13){continue}while(1){e=v[c+16>>2];if((Ub[v[v[e>>2]+28>>2]](e)|0)!=-1){continue aa}e=v[c+16>>2];Ub[v[v[e>>2]+24>>2]](e);hc(f);d=v[c+4>>2]+1|0;v[c+4>>2]=d;e=v[c>>2];if((d|0)>2]){yc(e,d,f,0);e=v[c+16>>2];Ub[v[v[e>>2]+20>>2]](e)}if(v[f>>2]!=13){continue}break}continue}}if(v[f>>2]==13){break g}while(1){a=v[c+16>>2];if((Ub[v[v[a>>2]+28>>2]](a)|0)!=-1){break g}a=v[c+16>>2];Ub[v[v[a>>2]+24>>2]](a);hc(f);e=v[c+4>>2]+1|0;v[c+4>>2]=e;a=v[c>>2];if((e|0)>2]){yc(a,e,f,0);a=v[c+16>>2];Ub[v[v[a>>2]+20>>2]](a)}if(v[f>>2]!=13){continue}break}}if(v[c+8>>2]==13){break e}o=.1;while(1){p=o;while(1){a=v[c+16>>2];a=Ub[v[v[a>>2]+32>>2]](a)|0;if((a|0)==45){if(v[c+8>>2]!=13){a=v[c+16>>2];a=Ub[v[v[a>>2]+52>>2]](a)|0}else{a=-1}kc(0,a,240151,0);if(v[f>>2]==13){break e}while(1){a=v[c+16>>2];if((Ub[v[v[a>>2]+28>>2]](a)|0)==-1){a=v[c+16>>2];Ub[v[v[a>>2]+24>>2]](a);hc(f);e=v[c+4>>2]+1|0;v[c+4>>2]=e;a=v[c>>2];if((e|0)>2]){yc(a,e,f,0);a=v[c+16>>2];Ub[v[v[a>>2]+20>>2]](a)}if(v[f>>2]!=13){continue}break e}break}if(v[c+8>>2]!=13){continue}break e}break}e=a-48|0;if(e>>>0>=10){break e}ba:{if(v[f>>2]==13){break ba}while(1){a=v[c+16>>2];if((Ub[v[v[a>>2]+28>>2]](a)|0)!=-1){break ba}a=v[c+16>>2];Ub[v[v[a>>2]+24>>2]](a);hc(f);d=v[c+4>>2]+1|0;v[c+4>>2]=d;a=v[c>>2];if((d|0)>2]){yc(a,d,f,0);a=v[c+16>>2];Ub[v[v[a>>2]+20>>2]](a)}if(v[f>>2]!=13){continue}break}}o=p*.1;m=m+p*+(e|0);if(v[c+8>>2]!=13){continue}break}break e}v[b>>2]=1;v[b+8>>2]=i?k?a:0-a|0:0;break a}ca:while(1){d=-1;if(v[c+8>>2]!=13){a=v[c+16>>2];d=Ub[v[v[a>>2]+32>>2]](a)|0}if(!((d|0)!=45&d-48>>>0>9)){if(v[f>>2]==13){continue}while(1){a=v[c+16>>2];if((Ub[v[v[a>>2]+28>>2]](a)|0)!=-1){continue ca}a=v[c+16>>2];Ub[v[v[a>>2]+24>>2]](a);hc(f);e=v[c+4>>2]+1|0;v[c+4>>2]=e;a=v[c>>2];if((e|0)>2]){yc(a,e,f,0);a=v[c+16>>2];Ub[v[v[a>>2]+20>>2]](a)}if(v[f>>2]!=13){continue}break}continue}break}v[b>>2]=2;A[b+8>>3]=j?-m:m;break a}v[b>>2]=12}Qb=n+32|0}function Fdb(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,p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0,A=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;k=Qb-1008|0;Qb=k;v[a>>2]=c;if(!c){a:{if(t[b+11|0]>=0){v[k+1e3>>2]=v[b+8>>2];c=v[b+4>>2];v[k+992>>2]=v[b>>2];v[k+996>>2]=c;break a}Ke(k+992|0,v[b>>2],v[b+4>>2])}v[k>>2]=0;u=Qb-32|0;Qb=u;v[k>>2]=0;s=u+16|0;v[s+12>>2]=0;v[s+4>>2]=0;v[s+8>>2]=0;v[s>>2]=530160;i=k+992|0;b:{if(!js(s,i,0)){break b}h=fc(4096);v[u+12>>2]=0;if(!MG(s,h,4096,u+12|0)){dc(h);break b}vk(s);d=1;l=v[u+12>>2];c:{d:{if(F0(k,h,l)){break d}c=v[k>>2];if(c){break c}e:{f:{g:{h:{if(l>>>0>=4){d=2;if((w[h|0]|w[h+1|0]<<8|(w[h+2|0]<<16|w[h+3|0]<<24))==944130375){break d}i:{j:{if(l>>>0>=6){if(!Pc(h,7905,6)){break d}if(!Pc(h,11005,6)){break d}if(l>>>0>15){break j}}c=w[h+1|0];e=w[h|0];break i}g=w[h+2|0];e=w[h|0];f=w[h+1|0];k:{if((e|0)!=137|(f|0)!=80|((g|0)!=78|w[h+3|0]!=71)){break k}if(w[h+4|0]!=13|w[h+5|0]!=10|(w[h+6|0]!=26|w[h+7|0]!=10)){break k}if(w[h+8|0]|w[h+9|0]|(w[h+10|0]|w[h+11|0]!=13)){break k}if(w[h+12|0]!=73|w[h+13|0]!=72|w[h+14|0]!=68){break k}d=4;if(w[h+15|0]==82){break d}}if(l>>>0<17){c=f;break i}l:{m:{n:{c=f;switch(c|0){case 0:break m;case 1:break n;default:break i}}c=1;switch(g-1|0){case 0:case 8:break l;default:break i}}c=0;if(!(1<>>0>11){break i}}d=7;c=f;f=w[h+16|0]-8|0;if(((f<<5|(f&248)>>>3)&255)>>>0<4){break d}}if((e|0)!=10|(c&255)>>>0>5){break h}d=8;e=10;c=w[h+3|0]-1&255;if(c>>>0>=8|!(139>>>c&1)){break f}break d}e=w[h|0];if((l|0)!=3|(e|0)!=255){break e}c=w[h+1|0];break g}if((e|0)!=255){break f}}e=255;if((c&255)!=216){break f}d=3;if(w[h+2|0]==255){break d}}o:{if((e|0)!=1|l>>>0<44|(w[h+1|0]|w[h+2|0])){break o}if(w[h+3|0]|w[h+40|0]!=32|(w[h+41|0]!=69|w[h+42|0]!=77)){break o}d=21;if(w[h+43|0]==70){break d}}if((e|0)!=215|l>>>0<6){break e}c=0;if(w[h+1|0]!=205|w[h+2|0]!=198|(w[h+4|0]|w[h+3|0]!=154)){break c}d=10;if(!w[h+5|0]){break d}break c}j=w[h+3|0];g=w[h+2|0];f=w[h+1|0];p:{if(f|(e|0)!=1|(j|(g|0)!=9)){break p}if(w[h+4|0]){break p}d=10;if(w[h+5|0]==3){break d}}q:{if(!((e|0)!=73|l>>>0<4)){if((f|0)!=73|(g|0)!=42){break q}d=6;if(!j){break d}break q}c=0;r:{switch(e-73|0){case 0:break q;case 4:break r;default:break c}}if(g|(f|0)!=77){break c}d=6;if((j|0)!=42){break c}break d}c=0;if((f|0)!=73|(g|0)!=42){break c}d=6;if(j){break c}}v[k>>2]=d;c=d}j=w[h+1|0];g=w[h|0];s:{t:{u:{v:{if(l>>>0<16|c|(g|j)){break v}c=0;d=v[h+18>>2];if(d>>>0>=l-40>>>0){break v}f=v[(d+h|0)+4>>2];d=w[h+6|0];if((f|0)==((d?d:256)|0)){break u}}f=22;if(zA(k,h,l)){break t}if(c){break s}w:{if(l>>>0<=11){e=w[h+3|0];d=w[h+2|0];break w}e=w[h+3|0];d=w[h+2|0];if((g|0)!=56|(j|0)!=66|((d|0)!=80|(e|0)!=83)){break w}if(w[h+6|0]|w[h+7|0]|(w[h+9|0]|w[h+8|0]!=24)){break w}if(w[h+10|0]){break w}f=20;if(w[h+11|0]==24){break t}}x:{if((g|0)!=89|l>>>0<16|((j|0)!=166|(d|0)!=106)){break x}if(w[h+5|0]|(w[h+4|0]|(e|0)!=149)){break x}f=15;if(w[h+15|0]==24){break t}}c=0;if((g|0)!=255|l>>>0<52|((j|0)!=79|(d|0)!=255)){break s}f=11;if((e|0)!=81){break s}break t}c=5;v[k>>2]=5;f=22;if(!zA(k,h,l)){break s}}v[k>>2]=f;c=f}if(H$(k,h,l)){v[k>>2]=11;c=11}y:{z:{A:{if(!h$(k,h,l)){if(cA(k,h,l)){break A}if(!c){break z}break y}v[k>>2]=11;if(!cA(k,h,l)){break y}}v[k>>2]=0}d=w[h+9|0];c=w[h+2|0];B:{C:{if((g|0)!=86|l>>>0<6|((j|0)!=67|(c|0)!=76)){break C}if(w[h+3|0]!=77|w[h+4|0]!=84|(d|w[h+5|0]!=70)){break C}if(w[h+10|0]){break C}if(!w[h+11|0]){break B}}if(l>>>0<10){break y}D:{switch(g-67|0){case 3:if((j|0)!=87|(c|0)!=83){break y}if(!d){break B}break y;case 0:break D;default:break y}}if((j|0)!=87|(c|0)!=83|(w[h+8|0]!=120|(d|0)!=156)){break y}}v[k>>2]=0}d=0;q=Qb-32|0;Qb=q;g=q+16|0;v[g+12>>2]=0;v[g+4>>2]=0;v[g+8>>2]=0;v[g>>2]=530160;E:{if(!js(g,i,0)){break E}c=v[g+12>>2];f=c>>>0<100?c:100;p=fc(f);v[q+12>>2]=0;F:{if(!MG(g,p,f,q+12|0)){break F}vk(g);if(w[p|0]!=60){break F}c=w[p+1|0];if((c|0)!=63){if((c|0)!=115|w[p+2|0]!=118|w[p+3|0]!=103){break F}dc(p);d=1;break E}if(w[p+2|0]!=120|w[p+3|0]!=109|w[p+4|0]!=108){break F}o=o_(q,p,f);j=o;i=v[j>>2];r=Bc(15770);c=w[j+11|0];e=c<<24>>24<0;f=e?v[j+4>>2]:c;c=0;G:{if(!r){break G}c=f;f=e?i:j;i=c+f|0;e=f;c=i-e|0;H:{I:{if((r|0)>(c|0)){break I}j=w[15770];while(1){c=c-r|0;l=c+1|0;if(c>>>0>l>>>0){break I}c=fi(e,j,l);if(!c){break I}if(!Pc(c,15770,r)){break H}e=c+1|0;c=i-e|0;if((r|0)<=(c|0)){continue}break}}c=i}c=(c|0)==(i|0)?-1:c-f|0}if((c|0)!=-1){dc(p);if(t[o+11|0]<=-1){dc(v[o>>2])}d=1;break E}if(t[o+11|0]>-1){break F}dc(v[o>>2])}dc(p)}lg(g);Qb=q+32|0;if(d){v[k>>2]=24}dc(h)}lg(s);Qb=u+32|0;if(t[k+1003|0]<=-1){dc(v[k+992>>2])}c=v[k>>2];v[a>>2]=c}J:{if((c|0)==11){t[k+11|0]=0;v[k>>2]=0;y=!w[a+40|0];c=0;n=Qb-8256|0;Qb=n;ic(n+40|0,0,8212);x=n+24|0;v[x+12>>2]=0;v[x+4>>2]=0;v[x+8>>2]=0;v[x>>2]=530160;K:{if(!js(x,b,0)){break K}z=v[x+4>>2];if(z){m=fc(1024);A=qg(m,1,1024,z);O=w[m+15|0];P=w[m+28|0];Q=w[m+29|0];R=w[m+30|0];S=w[m+31|0];C=w[m+27|0];D=w[m+26|0];E=w[m+25|0];F=w[m+24|0];G=w[m+23|0];H=w[m+22|0];I=w[m+21|0];J=w[m+20|0];T=w[m+19|0];h=w[m+18|0];p=w[m+17|0];s=w[m+16|0];u=w[m+14|0];q=w[m+13|0];r=w[m+12|0];o=w[m+11|0];l=w[m+10|0];j=w[m+9|0];e=w[m+8|0];g=w[m+7|0];i=w[m+6|0];f=w[m+5|0];d=w[m+4|0];K=w[m+3|0];L=w[m+2|0];M=w[m+1|0];N=w[m|0];dc(m);zg(z,0,0);e=!u&(!q&(!r&(!L&(!M&(!N&A>>>0>31))&(K|0)==12&(d|0)==106&(f|0)==80&(i|0)==32&(g|0)==32&(e|0)==13&(j|0)==10&(l|0)==135&(o|0)==10)));g=(s|0)==102;i=(p|0)==116;f=(h|0)==121;d=(T|0)==112;j=!C&(!D&(!E&(!F&(e&g&i&f&d&(J|0)==106&(I|0)==112&(H|0)==50&(G|0)==32))));j=A>>>0>3?(N|0)==255?(M|0)==79?(L|0)==255?(K|0)==81?2:j:j:j:j:j;d=e?(O|0)==24?g?i?f?d?(J|0)==109?(I|0)==106?(H|0)==112?(G|0)==50?F|(E|(C|D))?j:(P|0)==109?(Q|0)==106?(R|0)==112?(S|0)==50?3:j:j:j:j:j:j:j:j:j:j:j:j:j:j}else{d=0}vk(x);L:{M:{switch(d-1|0){case 0:g=jc(24);f=0;N:{if(!g){break N}v[g>>2]=0;v[g+4>>2]=0;v[g+16>>2]=0;v[g+20>>2]=0;v[g+8>>2]=0;v[g+12>>2]=0;t[g|0]=1;e=Y1(g);v[g+12>>2]=e;if(!e){dc(g);f=0;break N}v[g+4>>2]=2;v[g+8>>2]=0;f=v[e+4>>2];i=n+40|0;O:{if(!f|!i){break O}d=jc(96);if(!d){v[v[f>>2]+20>>2]=1;break O}d=ic(d,0,96);v[d+12>>2]=v[i>>2];v[d+16>>2]=v[i+4>>2];v[d+20>>2]=v[i+8>>2];v[f+44>>2]=d}P:{Q:{R:{if(v[g+20>>2]){un(f);b=v[e+80>>2];if(b){dc(b);v[e+80>>2]=0}b=v[e+68>>2];if(b){dc(b);v[e+68>>2]=0}f=0;b=v[e+64>>2];if(b){break R}break Q}d=fc(36);b=DJ(d,b);f=X1(v[g+12>>2],b);Ub[v[v[d>>2]+4>>2]](b);e=v[g+12>>2];if(!e){break P}un(v[e+4>>2]);b=v[e+80>>2];if(b){dc(b);v[e+80>>2]=0}b=v[e+68>>2];if(b){dc(b);v[e+68>>2]=0}b=v[e+64>>2];if(!b){break Q}}dc(b)}dc(e)}dc(g)}d=f;if(d){break L}break K;case 2:d=0;e=jc(24);S:{if(!e){break S}v[e>>2]=0;v[e+4>>2]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;t[e|0]=1;d=jc(104);if(!d){dc(e);d=0;break S}f=n+40|0;i=ic(d,0,104);v[i>>2]=e;T:{g=jc(56);if(g){v[g>>2]=0;v[g+4>>2]=0;v[g+48>>2]=0;v[g+52>>2]=0;v[g+40>>2]=0;v[g+44>>2]=0;v[g+32>>2]=0;v[g+36>>2]=0;v[g+24>>2]=0;v[g+28>>2]=0;v[g+16>>2]=0;v[g+20>>2]=0;v[g+8>>2]=0;v[g+12>>2]=0;v[g>>2]=e;d=jc(1876);if(d){break T}dc(g)}v[i+4>>2]=0;v[e+20>>2]=1;Ts(i);dc(e);d=0;break S}U=g,V=ic(d,0,1876),v[U+36>>2]=V;v[i+4>>2]=g;v[e+8>>2]=g;v[e+16>>2]=i;v[e+4>>2]=3;v[i+52>>2]=0;v[i+44>>2]=0;v[i+48>>2]=0;U:{if(f){d=jc(96);if(!d){break U}d=ic(d,0,96);v[d+12>>2]=v[f>>2];v[d+16>>2]=v[f+4>>2];v[d+20>>2]=v[f+8>>2];v[g+44>>2]=d}f=fc(36);b=DJ(f,b);d=V1(v[e+16>>2],b);Ub[v[v[f>>2]+4>>2]](b);Ts(v[e+16>>2]);dc(e);break S}v[e+20>>2]=1;Ts(i);dc(e);d=0}if(d){break L}break K;case 1:break M;default:break K}}f=0;g=jc(24);d=0;V:{if(!g){break V}i=n+40|0;v[g>>2]=0;v[g+4>>2]=0;v[g+16>>2]=0;v[g+20>>2]=0;v[g+8>>2]=0;v[g+12>>2]=0;t[g|0]=1;W:{e=jc(56);if(e){v[e>>2]=0;v[e+4>>2]=0;v[e+48>>2]=0;v[e+52>>2]=0;v[e+40>>2]=0;v[e+44>>2]=0;v[e+32>>2]=0;v[e+36>>2]=0;v[e+24>>2]=0;v[e+28>>2]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;v[e>>2]=g;d=jc(1876);if(!d){dc(e);dc(g);d=0;break V}U=e,V=ic(d,0,1876),v[U+36>>2]=V;v[g+12>>2]=0;v[g+8>>2]=e;v[g+4>>2]=0;if(i){d=jc(96);if(!d){break W}d=ic(d,0,96);v[d+12>>2]=v[i>>2];v[d+16>>2]=v[i+4>>2];v[d+20>>2]=v[i+8>>2];v[e+44>>2]=d}d=fc(36);b=DJ(d,b);f=_A(v[g+8>>2],b);Ub[v[v[d>>2]+4>>2]](b);un(v[g+8>>2])}dc(g);d=f;break V}v[g+20>>2]=1;un(e);dc(g);d=0}if(!d){break K}}b=v[d+24>>2];i=v[b+8>>2];v[n+20>>2]=i;f=v[b+12>>2];v[n+16>>2]=f;r=B(f,i)<<2;X:{Y:{if((r|0)<=0){a=v[d+16>>2];if((a|0)<=0){break Y}while(1){i=B(c,48)+b|0;f=v[i+44>>2];if(f){dc(f);v[i+44>>2]=0;b=v[d+24>>2];a=v[d+16>>2]}c=c+1|0;if((c|0)<(a|0)){continue}break}if(b){break Y}break X}v[a+4>>2]=v[n+20>>2];v[a+8>>2]=v[n+16>>2];v[n+12>>2]=v[n+20>>2]<<2;v[a+12>>2]=v[n+12>>2];b=fc(r);v[a+16>>2]=b;Z:{_:{c=v[d+16>>2];if((c|0)==3){a=v[d+24>>2];c=v[a>>2];if((c|0)!=v[a+48>>2]|(c|0)!=v[a+96>>2]){break _}c=v[a+4>>2];if((c|0)!=v[a+52>>2]|(c|0)!=v[a+100>>2]){break _}c=v[a+24>>2];if((c|0)!=v[a+72>>2]|(c|0)!=v[a+120>>2]){break _}f=v[a+40>>2];c=-1<>2]>>f;o=c+v[a+8>>2]>>f;g=B(e,o);if((g|0)<1){break Z}c=0;i=v[n+20>>2];while(1){f=(c|0)/(o|0)|0;l=B(i,e+(f^-1)|0)+(c-B(f,o)|0)<<2;j=w[l+v[a+140>>2]|0];f=w[l+v[a+44>>2]|0];a=v[l+v[a+92>>2]>>2];t[b+3|0]=255;t[b+1|0]=a;t[b+2|0]=y?f:j;t[b|0]=y?j:f;c=c+1|0;if((g|0)==(c|0)){break Z}b=b+4|0;a=v[d+24>>2];continue}}a=v[d+24>>2];if((c|0)<4){break _}c=v[a>>2];if((c|0)!=v[a+48>>2]|(c|0)!=v[a+96>>2]|(c|0)!=v[a+144>>2]){break _}c=v[a+4>>2];if((c|0)!=v[a+52>>2]|(c|0)!=v[a+100>>2]|(c|0)!=v[a+148>>2]){break _}c=v[a+24>>2];if((c|0)!=v[a+72>>2]|(c|0)!=v[a+120>>2]|(c|0)!=v[a+168>>2]){break _}f=v[a+40>>2];c=-1<>2]>>f;o=c+v[a+8>>2]>>f;g=B(e,o);if((g|0)<1){break Z}c=0;i=v[n+20>>2];while(1){f=(c|0)/(o|0)|0;q=B(i,e+(f^-1)|0)+(c-B(f,o)|0)<<2;l=w[q+v[a+140>>2]|0];j=w[q+v[a+44>>2]|0];f=v[q+v[a+92>>2]>>2];t[b+3|0]=v[q+v[a+188>>2]>>2];t[b+1|0]=f;t[b+2|0]=y?j:l;t[b|0]=y?l:j;c=c+1|0;if((g|0)==(c|0)){break Z}b=b+4|0;a=v[d+24>>2];continue}}f=v[a+40>>2];c=-1<>2]>>f;e=c+v[a+8>>2]>>f;i=B(g,e);if((i|0)<1){break Z}c=0;f=v[n+20>>2];while(1){j=v[a+44>>2];a=(c|0)/(e|0)|0;a=w[j+(B(f,g+(a^-1)|0)+(c-B(a,e)|0)<<2)|0];t[b+3|0]=255;t[b+2|0]=a;t[b+1|0]=a;t[b|0]=a;c=c+1|0;if((i|0)==(c|0)){break Z}b=b+4|0;a=v[d+24>>2];continue}}b=v[d+24>>2];if(!b){break X}c=0;a=v[d+16>>2];if((a|0)<=0){break Y}while(1){i=B(c,48)+b|0;f=v[i+44>>2];if(f){dc(f);v[i+44>>2]=0;b=v[d+24>>2];a=v[d+16>>2]}c=c+1|0;if((c|0)<(a|0)){continue}break}if(!b){break X}}dc(b)}dc(d);c=(r|0)>0}lg(x);Qb=n+8256|0;if(t[k+11|0]>-1){break J}dc(v[k>>2]);break J}c=0;f=k+976|0;v[f+12>>2]=0;v[f+4>>2]=0;v[f+8>>2]=0;v[f>>2]=530160;if(js(f,b,0)){d=gf(k,0);c=v[f+4>>2];b=v[a>>2];i=Qb-16|0;Qb=i;v[i>>2]=39232;v[i+4>>2]=c;t[i+8|0]=!c;c=Mz(d,i,b);v[i>>2]=39232;b=v[i+4>>2];if(!(!b|!w[i+8|0])){Be(b)}Qb=i+16|0;if(c){V2(d,a);U=a,V=Uo(d),t[U+28|0]=V}v[d>>2]=1032;_g(d);Jg(d)}lg(f)}Qb=k+1008|0;return c|0}function jc(a){a=a|0;var 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;l=Qb-16|0;Qb=l;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{if(a>>>0<=244){e=v[300508];h=a>>>0<11?16:a+11&-8;c=h>>>3|0;b=e>>>c|0;if(b&3){d=c+((b^-1)&1)|0;b=d<<3;f=v[b+1202080>>2];a=f+8|0;c=v[f+8>>2];b=b+1202072|0;l:{if((c|0)==(b|0)){m=1202032,n=Gib(-2,d)&e,v[m>>2]=n;break l}v[c+12>>2]=b;v[b+8>>2]=c}b=d<<3;v[f+4>>2]=b|3;b=b+f|0;v[b+4>>2]=v[b+4>>2]|1;break a}k=v[300510];if(k>>>0>=h>>>0){break k}if(b){a=2<>>12&16;c=a;b=b>>>a|0;a=b>>>5&8;c=c|a;b=b>>>a|0;a=b>>>2&4;c=c|a;b=b>>>a|0;a=b>>>1&2;c=c|a;b=b>>>a|0;a=b>>>1&1;c=(c|a)+(b>>>a|0)|0;a=c<<3;g=v[a+1202080>>2];b=v[g+8>>2];a=a+1202072|0;m:{if((b|0)==(a|0)){e=Gib(-2,c)&e;v[300508]=e;break m}v[b+12>>2]=a;v[a+8>>2]=b}a=g+8|0;v[g+4>>2]=h|3;d=g+h|0;b=c<<3;f=b-h|0;v[d+4>>2]=f|1;v[b+g>>2]=f;if(k){b=k>>>3|0;c=(b<<3)+1202072|0;g=v[300513];b=1<>2]}v[c+8>>2]=g;v[b+12>>2]=g;v[g+12>>2]=c;v[g+8>>2]=b}v[300513]=d;v[300510]=f;break a}j=v[300509];if(!j){break k}b=(j&0-j)-1|0;a=b>>>12&16;c=a;b=b>>>a|0;a=b>>>5&8;c=c|a;b=b>>>a|0;a=b>>>2&4;c=c|a;b=b>>>a|0;a=b>>>1&2;c=c|a;b=b>>>a|0;a=b>>>1&1;b=v[((c|a)+(b>>>a|0)<<2)+1202336>>2];d=(v[b+4>>2]&-8)-h|0;c=b;while(1){o:{a=v[c+16>>2];if(!a){a=v[c+20>>2];if(!a){break o}}c=(v[a+4>>2]&-8)-h|0;f=c>>>0>>0;d=f?c:d;b=f?a:b;c=a;continue}break}i=v[b+24>>2];f=v[b+12>>2];if((f|0)!=(b|0)){a=v[b+8>>2];v[a+12>>2]=f;v[f+8>>2]=a;break b}c=b+20|0;a=v[c>>2];if(!a){a=v[b+16>>2];if(!a){break j}c=b+16|0}while(1){g=c;f=a;c=a+20|0;a=v[c>>2];if(a){continue}c=f+16|0;a=v[f+16>>2];if(a){continue}break}v[g>>2]=0;break b}h=-1;if(a>>>0>4294967231){break k}a=a+11|0;h=a&-8;j=v[300509];if(!j){break k}d=0-h|0;e=0;p:{if(h>>>0<256){break p}e=31;if(h>>>0>16777215){break p}a=a>>>8|0;g=a+1048320>>>16&8;a=a<>>16&4;a=a<>>16&2;a=(a<>>15|0)-(b|(c|g))|0;e=(a<<1|h>>>a+21&1)+28|0}c=v[(e<<2)+1202336>>2];q:{r:{s:{if(!c){a=0;break s}a=0;b=h<<((e|0)==31?0:25-(e>>>1|0)|0);while(1){t:{g=(v[c+4>>2]&-8)-h|0;if(g>>>0>=d>>>0){break t}f=c;d=g;if(d){break t}d=0;a=c;break r}g=v[c+20>>2];c=v[((b>>>29&4)+c|0)+16>>2];a=g?(g|0)==(c|0)?a:g:a;b=b<<1;if(c){continue}break}}if(!(a|f)){f=0;a=2<>>12&16;c=a;b=b>>>a|0;a=b>>>5&8;c=c|a;b=b>>>a|0;a=b>>>2&4;c=c|a;b=b>>>a|0;a=b>>>1&2;c=c|a;b=b>>>a|0;a=b>>>1&1;a=v[((c|a)+(b>>>a|0)<<2)+1202336>>2]}if(!a){break q}}while(1){b=(v[a+4>>2]&-8)-h|0;c=b>>>0>>0;d=c?b:d;f=c?a:f;b=v[a+16>>2];if(b){a=b}else{a=v[a+20>>2]}if(a){continue}break}}if(!f|v[300510]-h>>>0<=d>>>0){break k}e=v[f+24>>2];b=v[f+12>>2];if((f|0)!=(b|0)){a=v[f+8>>2];v[a+12>>2]=b;v[b+8>>2]=a;break c}c=f+20|0;a=v[c>>2];if(!a){a=v[f+16>>2];if(!a){break i}c=f+16|0}while(1){g=c;b=a;c=a+20|0;a=v[c>>2];if(a){continue}c=b+16|0;a=v[b+16>>2];if(a){continue}break}v[g>>2]=0;break c}c=v[300510];if(c>>>0>=h>>>0){d=v[300513];b=c-h|0;u:{if(b>>>0>=16){v[300510]=b;a=d+h|0;v[300513]=a;v[a+4>>2]=b|1;v[c+d>>2]=b;v[d+4>>2]=h|3;break u}v[300513]=0;v[300510]=0;v[d+4>>2]=c|3;a=c+d|0;v[a+4>>2]=v[a+4>>2]|1}a=d+8|0;break a}i=v[300511];if(i>>>0>h>>>0){b=i-h|0;v[300511]=b;c=v[300514];a=c+h|0;v[300514]=a;v[a+4>>2]=b|1;v[c+4>>2]=h|3;a=c+8|0;break a}a=0;j=h+47|0;b=j;if(v[300626]){c=v[300628]}else{v[300629]=-1;v[300630]=-1;v[300627]=4096;v[300628]=4096;v[300626]=l+12&-16^1431655768;v[300631]=0;v[300619]=0;c=4096}g=b+c|0;f=0-c|0;c=g&f;if(c>>>0<=h>>>0){break a}d=v[300618];if(d){b=v[300616];e=b+c|0;if(d>>>0>>0|b>>>0>=e>>>0){break a}}if(w[1202476]&4){break f}v:{w:{d=v[300514];if(d){a=1202480;while(1){b=v[a>>2];if(b>>>0<=d>>>0&d>>>0>2]>>>0){break w}a=v[a+8>>2];if(a){continue}break}}b=ip(0);if((b|0)==-1){break g}e=c;d=v[300627];a=d-1|0;if(a&b){e=(c-b|0)+(a+b&0-d)|0}if(e>>>0<=h>>>0|e>>>0>2147483646){break g}d=v[300618];if(d){a=v[300616];f=a+e|0;if(d>>>0>>0|a>>>0>=f>>>0){break g}}a=ip(e);if((b|0)!=(a|0)){break v}break e}e=f&g-i;if(e>>>0>2147483646){break g}b=ip(e);if((b|0)==(v[a>>2]+v[a+4>>2]|0)){break h}a=b}if(!((a|0)==-1|h+48>>>0<=e>>>0)){b=v[300628];b=b+(j-e|0)&0-b;if(b>>>0>2147483646){b=a;break e}if((ip(b)|0)!=-1){e=b+e|0;b=a;break e}ip(0-e|0);break g}b=a;if((a|0)!=-1){break e}break g}f=0;break b}b=0;break c}if((b|0)!=-1){break e}}v[300619]=v[300619]|4}if(c>>>0>2147483646){break d}b=ip(c);a=ip(0);if((b|0)==-1|(a|0)==-1|a>>>0<=b>>>0){break d}e=a-b|0;if(e>>>0<=h+40>>>0){break d}}a=v[300616]+e|0;v[300616]=a;if(a>>>0>y[300617]){v[300617]=a}x:{y:{z:{g=v[300514];if(g){a=1202480;while(1){d=v[a>>2];c=v[a+4>>2];if((d+c|0)==(b|0)){break z}a=v[a+8>>2];if(a){continue}break}break y}a=v[300512];if(!(a>>>0<=b>>>0?a:0)){v[300512]=b}a=0;v[300621]=e;v[300620]=b;v[300516]=-1;v[300517]=v[300626];v[300623]=0;while(1){d=a<<3;c=d+1202072|0;v[d+1202080>>2]=c;v[d+1202084>>2]=c;a=a+1|0;if((a|0)!=32){continue}break}d=e-40|0;a=b+8&7?-8-b&7:0;c=d-a|0;v[300511]=c;a=a+b|0;v[300514]=a;v[a+4>>2]=c|1;v[(b+d|0)+4>>2]=40;v[300515]=v[300630];break x}if(w[a+12|0]&8|d>>>0>g>>>0|b>>>0<=g>>>0){break y}v[a+4>>2]=c+e;a=g+8&7?-8-g&7:0;c=a+g|0;v[300514]=c;b=v[300511]+e|0;a=b-a|0;v[300511]=a;v[c+4>>2]=a|1;v[(b+g|0)+4>>2]=40;v[300515]=v[300630];break x}if(y[300512]>b>>>0){v[300512]=b}c=b+e|0;a=1202480;A:{B:{C:{D:{E:{F:{while(1){if((c|0)!=v[a>>2]){a=v[a+8>>2];if(a){continue}break F}break}if(!(w[a+12|0]&8)){break E}}a=1202480;while(1){c=v[a>>2];if(c>>>0<=g>>>0){f=c+v[a+4>>2]|0;if(f>>>0>g>>>0){break D}}a=v[a+8>>2];continue}}v[a>>2]=b;v[a+4>>2]=v[a+4>>2]+e;j=(b+8&7?-8-b&7:0)+b|0;v[j+4>>2]=h|3;e=c+(c+8&7?-8-c&7:0)|0;i=h+j|0;c=e-i|0;if((e|0)==(g|0)){v[300514]=i;a=v[300511]+c|0;v[300511]=a;v[i+4>>2]=a|1;break B}if(v[300513]==(e|0)){v[300513]=i;a=v[300510]+c|0;v[300510]=a;v[i+4>>2]=a|1;v[a+i>>2]=a;break B}a=v[e+4>>2];if((a&3)==1){g=a&-8;G:{if(a>>>0<=255){d=v[e+8>>2];a=a>>>3|0;b=v[e+12>>2];if((b|0)==(d|0)){m=1202032,n=v[300508]&Gib(-2,a),v[m>>2]=n;break G}v[d+12>>2]=b;v[b+8>>2]=d;break G}h=v[e+24>>2];b=v[e+12>>2];H:{if((e|0)!=(b|0)){a=v[e+8>>2];v[a+12>>2]=b;v[b+8>>2]=a;break H}I:{a=e+20|0;d=v[a>>2];if(d){break I}a=e+16|0;d=v[a>>2];if(d){break I}b=0;break H}while(1){f=a;b=d;a=b+20|0;d=v[a>>2];if(d){continue}a=b+16|0;d=v[b+16>>2];if(d){continue}break}v[f>>2]=0}if(!h){break G}d=v[e+28>>2];a=(d<<2)+1202336|0;J:{if(v[a>>2]==(e|0)){v[a>>2]=b;if(b){break J}m=1202036,n=v[300509]&Gib(-2,d),v[m>>2]=n;break G}v[h+(v[h+16>>2]==(e|0)?16:20)>>2]=b;if(!b){break G}}v[b+24>>2]=h;a=v[e+16>>2];if(a){v[b+16>>2]=a;v[a+24>>2]=b}a=v[e+20>>2];if(!a){break G}v[b+20>>2]=a;v[a+24>>2]=b}e=e+g|0;c=c+g|0}v[e+4>>2]=v[e+4>>2]&-2;v[i+4>>2]=c|1;v[c+i>>2]=c;if(c>>>0<=255){a=c>>>3|0;b=(a<<3)+1202072|0;c=v[300508];a=1<>2]}v[b+8>>2]=i;v[a+12>>2]=i;v[i+12>>2]=b;v[i+8>>2]=a;break B}a=31;if(c>>>0<=16777215){a=c>>>8|0;f=a+1048320>>>16&8;a=a<>>16&4;a=a<>>16&2;a=(a<>>15|0)-(b|(d|f))|0;a=(a<<1|c>>>a+21&1)+28|0}v[i+28>>2]=a;v[i+16>>2]=0;v[i+20>>2]=0;f=(a<<2)+1202336|0;d=v[300509];b=1<>2]=i;v[i+24>>2]=f;break L}a=c<<((a|0)==31?0:25-(a>>>1|0)|0);b=v[f>>2];while(1){d=b;if((v[b+4>>2]&-8)==(c|0)){break C}b=a>>>29|0;a=a<<1;f=d+(b&4)|0;b=v[f+16>>2];if(b){continue}break}v[f+16>>2]=i;v[i+24>>2]=d}v[i+12>>2]=i;v[i+8>>2]=i;break B}d=e-40|0;a=b+8&7?-8-b&7:0;c=d-a|0;v[300511]=c;a=a+b|0;v[300514]=a;v[a+4>>2]=c|1;v[(b+d|0)+4>>2]=40;v[300515]=v[300630];a=(f+(f-39&7?39-f&7:0)|0)-47|0;c=a>>>0>>0?g:a;v[c+4>>2]=27;a=v[300623];v[c+16>>2]=v[300622];v[c+20>>2]=a;a=v[300621];v[c+8>>2]=v[300620];v[c+12>>2]=a;v[300622]=c+8;v[300621]=e;v[300620]=b;v[300623]=0;a=c+24|0;while(1){v[a+4>>2]=7;b=a+8|0;a=a+4|0;if(b>>>0>>0){continue}break}if((c|0)==(g|0)){break x}v[c+4>>2]=v[c+4>>2]&-2;f=c-g|0;v[g+4>>2]=f|1;v[c>>2]=f;if(f>>>0<=255){a=f>>>3|0;b=(a<<3)+1202072|0;c=v[300508];a=1<>2]}v[b+8>>2]=g;v[a+12>>2]=g;v[g+12>>2]=b;v[g+8>>2]=a;break x}a=31;v[g+16>>2]=0;v[g+20>>2]=0;if(f>>>0<=16777215){a=f>>>8|0;d=a+1048320>>>16&8;a=a<>>16&4;a=a<>>16&2;a=(a<>>15|0)-(b|(c|d))|0;a=(a<<1|f>>>a+21&1)+28|0}v[g+28>>2]=a;d=(a<<2)+1202336|0;c=v[300509];b=1<>2]=g;v[g+24>>2]=d;break N}a=f<<((a|0)==31?0:25-(a>>>1|0)|0);b=v[d>>2];while(1){c=b;if((f|0)==(v[b+4>>2]&-8)){break A}b=a>>>29|0;a=a<<1;d=c+(b&4)|0;b=v[d+16>>2];if(b){continue}break}v[d+16>>2]=g;v[g+24>>2]=c}v[g+12>>2]=g;v[g+8>>2]=g;break x}a=v[d+8>>2];v[a+12>>2]=i;v[d+8>>2]=i;v[i+24>>2]=0;v[i+12>>2]=d;v[i+8>>2]=a}a=j+8|0;break a}a=v[c+8>>2];v[a+12>>2]=g;v[c+8>>2]=g;v[g+24>>2]=0;v[g+12>>2]=c;v[g+8>>2]=a}a=v[300511];if(a>>>0<=h>>>0){break d}b=a-h|0;v[300511]=b;c=v[300514];a=c+h|0;v[300514]=a;v[a+4>>2]=b|1;v[c+4>>2]=h|3;a=c+8|0;break a}v[299402]=48;a=0;break a}O:{if(!e){break O}c=v[f+28>>2];a=(c<<2)+1202336|0;P:{if(v[a>>2]==(f|0)){v[a>>2]=b;if(b){break P}j=Gib(-2,c)&j;v[300509]=j;break O}v[e+(v[e+16>>2]==(f|0)?16:20)>>2]=b;if(!b){break O}}v[b+24>>2]=e;a=v[f+16>>2];if(a){v[b+16>>2]=a;v[a+24>>2]=b}a=v[f+20>>2];if(!a){break O}v[b+20>>2]=a;v[a+24>>2]=b}Q:{if(d>>>0<=15){a=d+h|0;v[f+4>>2]=a|3;a=a+f|0;v[a+4>>2]=v[a+4>>2]|1;break Q}v[f+4>>2]=h|3;e=f+h|0;v[e+4>>2]=d|1;v[d+e>>2]=d;if(d>>>0<=255){a=d>>>3|0;b=(a<<3)+1202072|0;c=v[300508];a=1<>2]}v[b+8>>2]=e;v[a+12>>2]=e;v[e+12>>2]=b;v[e+8>>2]=a;break Q}a=31;if(d>>>0<=16777215){a=d>>>8|0;g=a+1048320>>>16&8;a=a<>>16&4;a=a<>>16&2;a=(a<>>15|0)-(b|(c|g))|0;a=(a<<1|d>>>a+21&1)+28|0}v[e+28>>2]=a;v[e+16>>2]=0;v[e+20>>2]=0;b=(a<<2)+1202336|0;S:{c=1<>2]=e;break T}a=d<<((a|0)==31?0:25-(a>>>1|0)|0);h=v[b>>2];while(1){b=h;if((v[b+4>>2]&-8)==(d|0)){break S}c=a>>>29|0;a=a<<1;c=(c&4)+b|0;h=v[c+16>>2];if(h){continue}break}v[c+16>>2]=e}v[e+24>>2]=b;v[e+12>>2]=e;v[e+8>>2]=e;break Q}a=v[b+8>>2];v[a+12>>2]=e;v[b+8>>2]=e;v[e+24>>2]=0;v[e+12>>2]=b;v[e+8>>2]=a}a=f+8|0;break a}U:{if(!i){break U}c=v[b+28>>2];a=(c<<2)+1202336|0;V:{if(v[a>>2]==(b|0)){v[a>>2]=f;if(f){break V}m=1202036,n=Gib(-2,c)&j,v[m>>2]=n;break U}v[i+(v[i+16>>2]==(b|0)?16:20)>>2]=f;if(!f){break U}}v[f+24>>2]=i;a=v[b+16>>2];if(a){v[f+16>>2]=a;v[a+24>>2]=f}a=v[b+20>>2];if(!a){break U}v[f+20>>2]=a;v[a+24>>2]=f}W:{if(d>>>0<=15){a=d+h|0;v[b+4>>2]=a|3;a=a+b|0;v[a+4>>2]=v[a+4>>2]|1;break W}v[b+4>>2]=h|3;f=b+h|0;v[f+4>>2]=d|1;v[d+f>>2]=d;if(k){a=k>>>3|0;c=(a<<3)+1202072|0;g=v[300513];a=1<>2]}v[c+8>>2]=g;v[a+12>>2]=g;v[g+12>>2]=c;v[g+8>>2]=a}v[300513]=f;v[300510]=d}a=b+8|0}Qb=l+16|0;return a|0}function XBa(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=C(0);a:{b:{if((Ub[v[v[b>>2]+48>>2]](b)|0)!=255){break b}if((Ub[v[v[b>>2]+48>>2]](b)|0)!=216){break b}if(v[a+508>>2]<=19){n=c&1;while(1){c:{g=Ub[v[v[b>>2]+48>>2]](b)|0;if((g|0)!=255){break c}g=Ub[v[v[b>>2]+48>>2]](b)|0;if((g|0)!=255){break c}g=Ub[v[v[b>>2]+48>>2]](b)|0;if((g|0)!=255){break c}g=Ub[v[v[b>>2]+48>>2]](b)|0;if((g|0)!=255){break c}g=Ub[v[v[b>>2]+48>>2]](b)|0;if((g|0)!=255){break c}g=Ub[v[v[b>>2]+48>>2]](b)|0;if((g|0)!=255){break c}g=Ub[v[v[b>>2]+48>>2]](b)|0;if((g|0)!=255){break c}DB(44406);break a}v[(B(v[a+508>>2],12)+a|0)+272>>2]=g;e=Ub[v[v[b>>2]+48>>2]](b)|0;i=Ub[v[v[b>>2]+48>>2]](b)|0;f=e<<8|i;if((f|0)<=1){b=w[13024]|w[13025]<<8|(w[13026]<<16|w[13027]<<24);c=w[13020]|w[13021]<<8|(w[13022]<<16|w[13023]<<24);t[a+11|0]=c;t[a+12|0]=c>>>8;t[a+13|0]=c>>>16;t[a+14|0]=c>>>24;t[a+15|0]=b;t[a+16|0]=b>>>8;t[a+17|0]=b>>>16;t[a+18|0]=b>>>24;b=w[13017]|w[13018]<<8|(w[13019]<<16|w[13020]<<24);c=w[13013]|w[13014]<<8|(w[13015]<<16|w[13016]<<24);t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+8|0]=b;t[a+9|0]=b>>>8;t[a+10|0]=b>>>16;t[a+11|0]=b>>>24;break a}h=B(v[a+508>>2],12)+a|0;v[h+276>>2]=f;d=jc(f);if(!d){b=w[15131]|w[15132]<<8;t[a+28|0]=b;t[a+29|0]=b>>>8;b=w[15127]|w[15128]<<8|(w[15129]<<16|w[15130]<<24);c=w[15123]|w[15124]<<8|(w[15125]<<16|w[15126]<<24);t[a+20|0]=c;t[a+21|0]=c>>>8;t[a+22|0]=c>>>16;t[a+23|0]=c>>>24;t[a+24|0]=b;t[a+25|0]=b>>>8;t[a+26|0]=b>>>16;t[a+27|0]=b>>>24;b=w[15119]|w[15120]<<8|(w[15121]<<16|w[15122]<<24);c=w[15115]|w[15116]<<8|(w[15117]<<16|w[15118]<<24);t[a+12|0]=c;t[a+13|0]=c>>>8;t[a+14|0]=c>>>16;t[a+15|0]=c>>>24;t[a+16|0]=b;t[a+17|0]=b>>>8;t[a+18|0]=b>>>16;t[a+19|0]=b>>>24;b=w[15111]|w[15112]<<8|(w[15113]<<16|w[15114]<<24);c=w[15107]|w[15108]<<8|(w[15109]<<16|w[15110]<<24);t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+8|0]=b;t[a+9|0]=b>>>8;t[a+10|0]=b>>>16;t[a+11|0]=b>>>24;break a}v[h+268>>2]=d;t[d+1|0]=i;t[d|0]=e;e=d+2|0;i=f-2|0;if((Ub[v[v[b>>2]+12>>2]](b,e,1,i,0,0)|0)!=(i|0)){b=w[19027]|w[19028]<<8|(w[19029]<<16|w[19030]<<24);c=w[19023]|w[19024]<<8|(w[19025]<<16|w[19026]<<24);t[a+19|0]=c;t[a+20|0]=c>>>8;t[a+21|0]=c>>>16;t[a+22|0]=c>>>24;t[a+23|0]=b;t[a+24|0]=b>>>8;t[a+25|0]=b>>>16;t[a+26|0]=b>>>24;b=w[19020]|w[19021]<<8|(w[19022]<<16|w[19023]<<24);c=w[19016]|w[19017]<<8|(w[19018]<<16|w[19019]<<24);t[a+12|0]=c;t[a+13|0]=c>>>8;t[a+14|0]=c>>>16;t[a+15|0]=c>>>24;t[a+16|0]=b;t[a+17|0]=b>>>8;t[a+18|0]=b>>>16;t[a+19|0]=b>>>24;b=w[19012]|w[19013]<<8|(w[19014]<<16|w[19015]<<24);c=w[19008]|w[19009]<<8|(w[19010]<<16|w[19011]<<24);t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+8|0]=b;t[a+9|0]=b>>>8;t[a+10|0]=b>>>16;t[a+11|0]=b>>>24;break a}j=v[a+508>>2];h=j+1|0;v[a+508>>2]=h;d:{e:{f:{switch(g-192|0){case 26:d=1;if(!(c&2)){break b}c=Ub[v[v[b>>2]+24>>2]](b)|0;Ub[v[v[b>>2]+20>>2]](b,0,2)|0;d=Ub[v[v[b>>2]+24>>2]](b)|0;Ub[v[v[b>>2]+20>>2]](b,c,0)|0;c=d-c|0;d=jc(c);if(!d){t[a+44|0]=w[20795];b=w[20791]|w[20792]<<8|(w[20793]<<16|w[20794]<<24);c=w[20787]|w[20788]<<8|(w[20789]<<16|w[20790]<<24);t[a+36|0]=c;t[a+37|0]=c>>>8;t[a+38|0]=c>>>16;t[a+39|0]=c>>>24;t[a+40|0]=b;t[a+41|0]=b>>>8;t[a+42|0]=b>>>16;t[a+43|0]=b>>>24;b=w[20783]|w[20784]<<8|(w[20785]<<16|w[20786]<<24);c=w[20779]|w[20780]<<8|(w[20781]<<16|w[20782]<<24);t[a+28|0]=c;t[a+29|0]=c>>>8;t[a+30|0]=c>>>16;t[a+31|0]=c>>>24;t[a+32|0]=b;t[a+33|0]=b>>>8;t[a+34|0]=b>>>16;t[a+35|0]=b>>>24;b=w[20775]|w[20776]<<8|(w[20777]<<16|w[20778]<<24);c=w[20771]|w[20772]<<8|(w[20773]<<16|w[20774]<<24);t[a+20|0]=c;t[a+21|0]=c>>>8;t[a+22|0]=c>>>16;t[a+23|0]=c>>>24;t[a+24|0]=b;t[a+25|0]=b>>>8;t[a+26|0]=b>>>16;t[a+27|0]=b>>>24;b=w[20767]|w[20768]<<8|(w[20769]<<16|w[20770]<<24);c=w[20763]|w[20764]<<8|(w[20765]<<16|w[20766]<<24);t[a+12|0]=c;t[a+13|0]=c>>>8;t[a+14|0]=c>>>16;t[a+15|0]=c>>>24;t[a+16|0]=b;t[a+17|0]=b>>>8;t[a+18|0]=b>>>16;t[a+19|0]=b>>>24;b=w[20759]|w[20760]<<8|(w[20761]<<16|w[20762]<<24);c=w[20755]|w[20756]<<8|(w[20757]<<16|w[20758]<<24);t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+8|0]=b;t[a+9|0]=b>>>8;t[a+10|0]=b>>>16;t[a+11|0]=b>>>24;break a}if((Ub[v[v[b>>2]+12>>2]](b,d,1,c,0,0)|0)!=(c|0)){b=w[22917]|w[22918]<<8|(w[22919]<<16|w[22920]<<24);c=w[22913]|w[22914]<<8|(w[22915]<<16|w[22916]<<24);t[a+33|0]=c;t[a+34|0]=c>>>8;t[a+35|0]=c>>>16;t[a+36|0]=c>>>24;t[a+37|0]=b;t[a+38|0]=b>>>8;t[a+39|0]=b>>>16;t[a+40|0]=b>>>24;b=w[22912]|w[22913]<<8|(w[22914]<<16|w[22915]<<24);c=w[22908]|w[22909]<<8|(w[22910]<<16|w[22911]<<24);t[a+28|0]=c;t[a+29|0]=c>>>8;t[a+30|0]=c>>>16;t[a+31|0]=c>>>24;t[a+32|0]=b;t[a+33|0]=b>>>8;t[a+34|0]=b>>>16;t[a+35|0]=b>>>24;b=w[22904]|w[22905]<<8|(w[22906]<<16|w[22907]<<24);c=w[22900]|w[22901]<<8|(w[22902]<<16|w[22903]<<24);t[a+20|0]=c;t[a+21|0]=c>>>8;t[a+22|0]=c>>>16;t[a+23|0]=c>>>24;t[a+24|0]=b;t[a+25|0]=b>>>8;t[a+26|0]=b>>>16;t[a+27|0]=b>>>24;b=w[22896]|w[22897]<<8|(w[22898]<<16|w[22899]<<24);c=w[22892]|w[22893]<<8|(w[22894]<<16|w[22895]<<24);t[a+12|0]=c;t[a+13|0]=c>>>8;t[a+14|0]=c>>>16;t[a+15|0]=c>>>24;t[a+16|0]=b;t[a+17|0]=b>>>8;t[a+18|0]=b>>>16;t[a+19|0]=b>>>24;b=w[22888]|w[22889]<<8|(w[22890]<<16|w[22891]<<24);c=w[22884]|w[22885]<<8|(w[22886]<<16|w[22887]<<24);t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+8|0]=b;t[a+9|0]=b>>>8;t[a+10|0]=b>>>16;t[a+11|0]=b>>>24;break a}g=v[a+508>>2];b=B(g,12)+a|0;v[b+276>>2]=c;v[b+268>>2]=d;v[b+272>>2]=291;v[a+508>>2]=g+1;return 1;case 25:DB(44388);break a;case 62:if(!(!k&n)){v[a+508>>2]=j;d=a+268|0;dc(v[d+B(j,12)>>2]);h=v[a+508>>2];v[d+B(h,12)>>2]=0;break d}g=0;e=Qb-256|0;Qb=e;h=(f|0)<255?f:255;if((h|0)>=3){j=h-1|0;f=2;while(1){k=d+f|0;i=w[k|0];if(!(!((i|0)!=13|(f|0)>=(j|0))&w[k+1|0]==10)){t[e+g|0]=i-32>>>0<95?i:(i-9&255)>>>0<2?i:63;g=g+1|0}f=f+1|0;if((h|0)!=(f|0)){continue}break}}t[e+g|0]=0;ce(v[a>>2]+196|0,e);Qb=e+256|0;k=1;break e;case 32:v[a+508>>2]=j;d=a+268|0;dc(v[d+B(j,12)>>2]);h=v[a+508>>2];v[d+B(h,12)>>2]=0;break d;case 33:if(!(!n|(f|0)<6|(w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24))!=1718188101)){g=0;f=Qb-48|0;Qb=f;d=v[a>>2];t[d+196|0]=0;v[d+120>>2]=0;g:{if(i>>>0<6){break g}v[a+260>>2]=0;if(Pc(e,39772,6)){d=w[28385]|w[28386]<<8|(w[28387]<<16|w[28388]<<24);e=w[28381]|w[28382]<<8|(w[28383]<<16|w[28384]<<24);t[a+18|0]=e;t[a+19|0]=e>>>8;t[a+20|0]=e>>>16;t[a+21|0]=e>>>24;t[a+22|0]=d;t[a+23|0]=d>>>8;t[a+24|0]=d>>>16;t[a+25|0]=d>>>24;d=w[28379]|w[28380]<<8|(w[28381]<<16|w[28382]<<24);e=w[28375]|w[28376]<<8|(w[28377]<<16|w[28378]<<24);t[a+12|0]=e;t[a+13|0]=e>>>8;t[a+14|0]=e>>>16;t[a+15|0]=e>>>24;t[a+16|0]=d;t[a+17|0]=d>>>8;t[a+18|0]=d>>>16;t[a+19|0]=d>>>24;d=w[28371]|w[28372]<<8|(w[28373]<<16|w[28374]<<24);e=w[28367]|w[28368]<<8|(w[28369]<<16|w[28370]<<24);t[a+4|0]=e;t[a+5|0]=e>>>8;t[a+6|0]=e>>>16;t[a+7|0]=e>>>24;t[a+8|0]=d;t[a+9|0]=d>>>8;t[a+10|0]=d>>>16;t[a+11|0]=d>>>24;break g}if(i>>>0<8){break g}j=e+6|0;h:{m=a;l=w[e+6|0]|w[e+7|0]<<8;if((l|0)!=18761){if((w[e+6|0]|w[e+7|0]<<8)!=19789){break h}d=1}else{d=0}v[m+264>>2]=d;if(i>>>0<14){break g}d=(l|0)!=18761;if((w[e+(d?8:9)|0]<<8|w[e+(d?9:8)|0])!=42){d=w[35294]|w[35295]<<8|(w[35296]<<16|w[35297]<<24);e=w[35290]|w[35291]<<8|(w[35292]<<16|w[35293]<<24);t[a+19|0]=e;t[a+20|0]=e>>>8;t[a+21|0]=e>>>16;t[a+22|0]=e>>>24;t[a+23|0]=d;t[a+24|0]=d>>>8;t[a+25|0]=d>>>16;t[a+26|0]=d>>>24;d=w[35287]|w[35288]<<8|(w[35289]<<16|w[35290]<<24);e=w[35283]|w[35284]<<8|(w[35285]<<16|w[35286]<<24);t[a+12|0]=e;t[a+13|0]=e>>>8;t[a+14|0]=e>>>16;t[a+15|0]=e>>>24;t[a+16|0]=d;t[a+17|0]=d>>>8;t[a+18|0]=d>>>16;t[a+19|0]=d>>>24;d=w[35279]|w[35280]<<8|(w[35281]<<16|w[35282]<<24);e=w[35275]|w[35276]<<8|(w[35277]<<16|w[35278]<<24);t[a+4|0]=e;t[a+5|0]=e>>>8;t[a+6|0]=e>>>16;t[a+7|0]=e>>>24;t[a+8|0]=d;t[a+9|0]=d>>>8;t[a+10|0]=d>>>16;t[a+11|0]=d>>>24;break g}d=e+10|0;i:{if(v[a+264>>2]){h=w[d+1|0]<<16|w[d|0]<<24|w[d+2|0]<<8;d=d+3|0;break i}h=w[d+2|0]<<16|w[d+3|0]<<24|w[d+1|0]<<8}l=w[d|0];v[f+36>>2]=i-14;v[f+32>>2]=e+14;d=i-6|0;v[f+28>>2]=d;v[f+24>>2]=j;v[f+44>>2]=e;if(!ky(a,f+32|0,f+24|0,d,v[a>>2],f+44|0,0)){break g}h=h|l;if((h|0)>=9){v[f+12>>2]=d;v[f+8>>2]=j;m=i;h=h+6|0;i=i>>>0>>0?i:h;v[f+20>>2]=m-i;v[f+16>>2]=e+i;if(!ky(a,f+16|0,f+8|0,d,v[a>>2],f+44|0,0)){break g}}g=1;d=v[a>>2];o=z[d+168>>2];if(o==C(0)){break g}z[d+140>>2]=C(z[d+176>>2]*C(v[a+260>>2]))/o;break g}d=w[33900]|w[33901]<<8|(w[33902]<<16|w[33903]<<24);e=w[33896]|w[33897]<<8|(w[33898]<<16|w[33899]<<24);t[a+27|0]=e;t[a+28|0]=e>>>8;t[a+29|0]=e>>>16;t[a+30|0]=e>>>24;t[a+31|0]=d;t[a+32|0]=d>>>8;t[a+33|0]=d>>>16;t[a+34|0]=d>>>24;d=w[33893]|w[33894]<<8|(w[33895]<<16|w[33896]<<24);e=w[33889]|w[33890]<<8|(w[33891]<<16|w[33892]<<24);t[a+20|0]=e;t[a+21|0]=e>>>8;t[a+22|0]=e>>>16;t[a+23|0]=e>>>24;t[a+24|0]=d;t[a+25|0]=d>>>8;t[a+26|0]=d>>>16;t[a+27|0]=d>>>24;d=w[33885]|w[33886]<<8|(w[33887]<<16|w[33888]<<24);e=w[33881]|w[33882]<<8|(w[33883]<<16|w[33884]<<24);t[a+12|0]=e;t[a+13|0]=e>>>8;t[a+14|0]=e>>>16;t[a+15|0]=e>>>24;t[a+16|0]=d;t[a+17|0]=d>>>8;t[a+18|0]=d>>>16;t[a+19|0]=d>>>24;d=w[33877]|w[33878]<<8|(w[33879]<<16|w[33880]<<24);e=w[33873]|w[33874]<<8|(w[33875]<<16|w[33876]<<24);t[a+4|0]=e;t[a+5|0]=e>>>8;t[a+6|0]=e>>>16;t[a+7|0]=e>>>24;t[a+8|0]=d;t[a+9|0]=d>>>8;t[a+10|0]=d>>>16;t[a+11|0]=d>>>24}Qb=f+48|0;t[v[a>>2]+460|0]=g;break e}v[a+508>>2]=j;d=a+268|0;dc(v[d+B(j,12)>>2]);h=v[a+508>>2];v[d+B(h,12)>>2]=0;break d;case 0:case 1:case 2:case 3:case 5:case 6:case 7:case 9:case 10:case 11:case 13:case 14:case 15:break f;default:break d}}if((f|0)<8){break a}e=v[a>>2];v[e+100>>2]=w[d+4|0]|w[d+3|0]<<8;v[e+104>>2]=w[d+6|0]|w[d+5|0]<<8;d=w[d+7|0];v[e+116>>2]=g;v[e+112>>2]=(d|0)==3}h=v[a+508>>2]}if((h|0)<=19){continue}break}}d=0;b=w[2277]|w[2278]<<8|(w[2279]<<16|w[2280]<<24);c=w[2273]|w[2274]<<8|(w[2275]<<16|w[2276]<<24);t[a+26|0]=c;t[a+27|0]=c>>>8;t[a+28|0]=c>>>16;t[a+29|0]=c>>>24;t[a+30|0]=b;t[a+31|0]=b>>>8;t[a+32|0]=b>>>16;t[a+33|0]=b>>>24;b=w[2271]|w[2272]<<8|(w[2273]<<16|w[2274]<<24);c=w[2267]|w[2268]<<8|(w[2269]<<16|w[2270]<<24);t[a+20|0]=c;t[a+21|0]=c>>>8;t[a+22|0]=c>>>16;t[a+23|0]=c>>>24;t[a+24|0]=b;t[a+25|0]=b>>>8;t[a+26|0]=b>>>16;t[a+27|0]=b>>>24;b=w[2263]|w[2264]<<8|(w[2265]<<16|w[2266]<<24);c=w[2259]|w[2260]<<8|(w[2261]<<16|w[2262]<<24);t[a+12|0]=c;t[a+13|0]=c>>>8;t[a+14|0]=c>>>16;t[a+15|0]=c>>>24;t[a+16|0]=b;t[a+17|0]=b>>>8;t[a+18|0]=b>>>16;t[a+19|0]=b>>>24;b=w[2255]|w[2256]<<8|(w[2257]<<16|w[2258]<<24);c=w[2251]|w[2252]<<8|(w[2253]<<16|w[2254]<<24);t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+8|0]=b;t[a+9|0]=b>>>8;t[a+10|0]=b>>>16;t[a+11|0]=b>>>24}return d|0}return 0}function OGa(a,b,c,d,e,f,g,h,i,j,k,l,m){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=+g;h=+h;i=+i;j=+j;k=+k;l=+l;m=m|0;var n=0;n=Qb+-64|0;Qb=n;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{V:{W:{if(w[a+208|0]){break W}Ub[v[v[a>>2]+444>>2]](a,b);a=v[a+104>>2];v[n+48>>2]=8193;Ub[v[v[a>>2]+288>>2]](a,n+48|0)|0;v[n+40>>2]=0;v[n+32>>2]=0;v[n+36>>2]=0;v[299999]=0;a=S(1,48)|0;b=v[299999];v[299999]=0;if((b|0)==1){break S}v[n+16>>2]=a;v[n+20>>2]=10;v[n+24>>2]=-2147483636;v[299999]=0;tc(a,888364,10);b=v[299999];v[299999]=0;if((b|0)==1){break a}v[a+40>>2]=0;v[299999]=0;U(3132,n+48|0,888816,n+16|0);a=v[299999];v[299999]=0;if((a|0)==1){break R}v[299999]=0;a=w[n+59|0];b=a<<24>>24<0;Y(2653,n+32|0,(b?v[n+48>>2]:n+48|0)|0,(b?v[n+52>>2]:a)|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break V}if(t[n+59|0]<=-1){dc(v[n+48>>2])}if(t[n+27|0]<=-1){dc(v[n+16>>2])}t[n+59|0]=1;v[299999]=0;tc(n+48|0,888408,1);a=v[299999];v[299999]=0;if((a|0)==1){break a}v[n+52>>2]=0;t[n+27|0]=0;v[n+16>>2]=0;t[n+11|0]=0;v[299999]=0;v[n>>2]=0;da(3113,n+32|0,n+48|0,c|0,10,n+16|0,n|0);a=v[299999];v[299999]=0;if((a|0)==1){break P}if(t[n+11|0]<=-1){dc(v[n>>2])}if(t[n+27|0]<=-1){dc(v[n+16>>2])}if(t[n+59|0]<=-1){dc(v[n+48>>2])}t[n+59|0]=1;v[299999]=0;tc(n+48|0,888416,1);a=v[299999];v[299999]=0;if((a|0)==1){break a}v[n+52>>2]=0;t[n+27|0]=0;v[n+16>>2]=0;t[n+11|0]=0;v[299999]=0;v[n>>2]=0;da(3113,n+32|0,n+48|0,d|0,10,n+16|0,n|0);a=v[299999];v[299999]=0;if((a|0)==1){break O}if(t[n+11|0]<=-1){dc(v[n>>2])}if(t[n+27|0]<=-1){dc(v[n+16>>2])}if(t[n+59|0]<=-1){dc(v[n+48>>2])}v[299999]=0;a=S(1,32)|0;b=v[299999];v[299999]=0;if((b|0)==1){break N}v[n+48>>2]=a;v[n+52>>2]=6;v[n+56>>2]=-2147483640;v[299999]=0;tc(a,888424,6);b=v[299999];v[299999]=0;if((b|0)==1){break a}v[a+24>>2]=0;t[n+27|0]=0;v[n+16>>2]=0;t[n+11|0]=0;v[299999]=0;v[n>>2]=0;da(3113,n+32|0,n+48|0,e-c|0,10,n+16|0,n|0);a=v[299999];v[299999]=0;if((a|0)==1){break M}if(t[n+11|0]<=-1){dc(v[n>>2])}if(t[n+27|0]<=-1){dc(v[n+16>>2])}if(t[n+59|0]<=-1){dc(v[n+48>>2])}v[299999]=0;a=S(1,32)|0;b=v[299999];v[299999]=0;if((b|0)==1){break L}v[n+48>>2]=a;v[n+52>>2]=6;v[n+56>>2]=-2147483640;v[299999]=0;tc(a,888452,6);b=v[299999];v[299999]=0;if((b|0)==1){break a}v[a+24>>2]=0;t[n+27|0]=0;v[n+16>>2]=0;t[n+11|0]=0;v[299999]=0;v[n>>2]=0;da(3113,n+32|0,n+48|0,f-d|0,10,n+16|0,n|0);a=v[299999];v[299999]=0;if((a|0)==1){break K}if(t[n+11|0]<=-1){dc(v[n>>2])}if(t[n+27|0]<=-1){dc(v[n+16>>2])}if(t[n+59|0]<=-1){dc(v[n+48>>2])}v[299999]=0;a=S(1,32)|0;b=v[299999];v[299999]=0;if((b|0)==1){break J}v[n+48>>2]=a;v[n+52>>2]=5;v[n+56>>2]=-2147483640;v[299999]=0;tc(a,888480,5);b=v[299999];v[299999]=0;if((b|0)==1){break a}v[a+20>>2]=0;v[299999]=0;na(3152,n+32|0,n+48|0,+g);a=v[299999];v[299999]=0;if((a|0)==1){break I}if(t[n+59|0]<=-1){dc(v[n+48>>2])}v[299999]=0;a=S(1,32)|0;b=v[299999];v[299999]=0;if((b|0)==1){break H}v[n+48>>2]=a;v[n+52>>2]=5;v[n+56>>2]=-2147483640;v[299999]=0;tc(a,888504,5);b=v[299999];v[299999]=0;if((b|0)==1){break a}v[a+20>>2]=0;v[299999]=0;na(3152,n+32|0,n+48|0,+h);a=v[299999];v[299999]=0;if((a|0)==1){break G}if(t[n+59|0]<=-1){dc(v[n+48>>2])}v[299999]=0;a=S(1,48)|0;b=v[299999];v[299999]=0;if((b|0)==1){break F}v[299999]=0;tc(a,888364,10);b=v[299999];v[299999]=0;if((b|0)==1){break a}v[a+40>>2]=0;v[299999]=0;Q(2725,n+32|0,888824)|0;b=v[299999];v[299999]=0;if((b|0)==1){break E}dc(a);v[299999]=0;a=S(1,32)|0;b=v[299999];v[299999]=0;if((b|0)==1){break D}v[n+16>>2]=a;v[n+20>>2]=4;v[n+24>>2]=-2147483640;v[299999]=0;tc(a,888528,4);b=v[299999];v[299999]=0;if((b|0)==1){break a}v[a+16>>2]=0;v[299999]=0;U(3132,n+48|0,888816,n+16|0);a=v[299999];v[299999]=0;if((a|0)==1){break C}v[299999]=0;a=w[n+59|0];b=a<<24>>24<0;Y(2653,n+32|0,(b?v[n+48>>2]:n+48|0)|0,(b?v[n+52>>2]:a)|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break U}if(t[n+59|0]<=-1){dc(v[n+48>>2])}if(t[n+27|0]<=-1){dc(v[n+16>>2])}t[n+59|0]=1;v[299999]=0;tc(n+48|0,888408,1);a=v[299999];v[299999]=0;if((a|0)==1){break a}v[299999]=0;v[n+52>>2]=0;na(3152,n+32|0,n+48|0,+i);a=v[299999];v[299999]=0;if((a|0)==1){break A}if(t[n+59|0]<=-1){dc(v[n+48>>2])}t[n+59|0]=1;v[299999]=0;tc(n+48|0,888416,1);a=v[299999];v[299999]=0;if((a|0)==1){break a}v[299999]=0;v[n+52>>2]=0;na(3152,n+32|0,n+48|0,+j);a=v[299999];v[299999]=0;if((a|0)==1){break z}if(t[n+59|0]<=-1){dc(v[n+48>>2])}t[n+59|0]=1;v[299999]=0;tc(n+48|0,888548,1);a=v[299999];v[299999]=0;if((a|0)==1){break a}v[299999]=0;v[n+52>>2]=0;na(3152,n+32|0,n+48|0,+k);a=v[299999];v[299999]=0;if((a|0)==1){break y}if(t[n+59|0]<=-1){dc(v[n+48>>2])}t[n+59|0]=1;v[299999]=0;tc(n+48|0,888556,1);a=v[299999];v[299999]=0;if((a|0)==1){break a}v[299999]=0;v[n+52>>2]=0;na(3152,n+32|0,n+48|0,+l);a=v[299999];v[299999]=0;if((a|0)==1){break x}if(t[n+59|0]<=-1){dc(v[n+48>>2])}v[299999]=0;a=S(1,32)|0;b=v[299999];v[299999]=0;if((b|0)==1){break w}v[299999]=0;tc(a,888528,4);b=v[299999];v[299999]=0;if((b|0)==1){break a}v[a+16>>2]=0;v[299999]=0;Q(2725,n+32|0,888856)|0;b=v[299999];v[299999]=0;if((b|0)==1){break v}dc(a);v[299999]=0;a=S(1,48)|0;b=v[299999];v[299999]=0;if((b|0)==1){break u}v[n+16>>2]=a;v[n+20>>2]=9;v[n+24>>2]=-2147483636;v[299999]=0;tc(a,888564,9);b=v[299999];v[299999]=0;if((b|0)==1){break a}v[a+36>>2]=0;v[299999]=0;U(3132,n+48|0,888816,n+16|0);a=v[299999];v[299999]=0;if((a|0)==1){break t}v[299999]=0;a=w[n+59|0];b=a<<24>>24<0;Y(2653,n+32|0,(b?v[n+48>>2]:n+48|0)|0,(b?v[n+52>>2]:a)|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break T}if(t[n+59|0]<=-1){dc(v[n+48>>2])}if(t[n+27|0]<=-1){dc(v[n+16>>2])}v[299999]=0;a=S(1,16)|0;b=v[299999];v[299999]=0;if((b|0)==1){break r}v[n+48>>2]=a;v[n+52>>2]=2;v[n+56>>2]=-2147483644;v[299999]=0;tc(a,888604,2);b=v[299999];v[299999]=0;if((b|0)==1){break a}v[a+8>>2]=0;g=A[m>>3];v[299999]=0;na(3152,n+32|0,n+48|0,+g);a=v[299999];v[299999]=0;if((a|0)==1){break q}if(t[n+59|0]<=-1){dc(v[n+48>>2])}v[299999]=0;a=S(1,16)|0;b=v[299999];v[299999]=0;if((b|0)==1){break p}v[n+48>>2]=a;v[n+52>>2]=2;v[n+56>>2]=-2147483644;v[299999]=0;tc(a,888616,2);b=v[299999];v[299999]=0;if((b|0)==1){break a}v[a+8>>2]=0;g=A[m+8>>3];v[299999]=0;na(3152,n+32|0,n+48|0,+g);a=v[299999];v[299999]=0;if((a|0)==1){break o}if(t[n+59|0]<=-1){dc(v[n+48>>2])}v[299999]=0;a=S(1,16)|0;b=v[299999];v[299999]=0;if((b|0)==1){break n}v[n+48>>2]=a;v[n+52>>2]=2;v[n+56>>2]=-2147483644;v[299999]=0;tc(a,888628,2);b=v[299999];v[299999]=0;if((b|0)==1){break a}v[a+8>>2]=0;g=A[m+16>>3];v[299999]=0;na(3152,n+32|0,n+48|0,+g);a=v[299999];v[299999]=0;if((a|0)==1){break m}if(t[n+59|0]<=-1){dc(v[n+48>>2])}v[299999]=0;a=S(1,16)|0;b=v[299999];v[299999]=0;if((b|0)==1){break l}v[n+48>>2]=a;v[n+52>>2]=2;v[n+56>>2]=-2147483644;v[299999]=0;tc(a,888640,2);b=v[299999];v[299999]=0;if((b|0)==1){break a}v[a+8>>2]=0;g=A[m+24>>3];v[299999]=0;na(3152,n+32|0,n+48|0,+g);a=v[299999];v[299999]=0;if((a|0)==1){break k}if(t[n+59|0]<=-1){dc(v[n+48>>2])}v[299999]=0;a=S(1,16)|0;b=v[299999];v[299999]=0;if((b|0)==1){break j}v[n+48>>2]=a;v[n+52>>2]=2;v[n+56>>2]=-2147483644;v[299999]=0;tc(a,888652,2);b=v[299999];v[299999]=0;if((b|0)==1){break a}v[a+8>>2]=0;g=A[m+32>>3];v[299999]=0;na(3152,n+32|0,n+48|0,+g);a=v[299999];v[299999]=0;if((a|0)==1){break i}if(t[n+59|0]<=-1){dc(v[n+48>>2])}v[299999]=0;a=S(1,16)|0;b=v[299999];v[299999]=0;if((b|0)==1){break h}v[n+48>>2]=a;v[n+52>>2]=2;v[n+56>>2]=-2147483644;v[299999]=0;tc(a,888664,2);b=v[299999];v[299999]=0;if((b|0)==1){break a}v[a+8>>2]=0;g=A[m+40>>3];v[299999]=0;na(3152,n+32|0,n+48|0,+g);a=v[299999];v[299999]=0;if((a|0)==1){break g}if(t[n+59|0]<=-1){dc(v[n+48>>2])}v[299999]=0;a=S(1,48)|0;b=v[299999];v[299999]=0;if((b|0)==1){break f}v[299999]=0;tc(a,888564,9);b=v[299999];v[299999]=0;if((b|0)==1){break a}v[a+36>>2]=0;v[299999]=0;Q(2725,n+32|0,888856)|0;b=v[299999];v[299999]=0;if((b|0)==1){break e}dc(a);v[299999]=0;a=S(1,48)|0;b=v[299999];v[299999]=0;if((b|0)==1){break d}v[n+48>>2]=a;v[n+52>>2]=10;v[n+56>>2]=-2147483636;v[299999]=0;tc(a,888364,10);b=v[299999];v[299999]=0;if((b|0)==1){break a}v[a+40>>2]=0;v[299999]=0;$(3117,n+32|0,n+48|0,0,1);a=v[299999];v[299999]=0;if((a|0)==1){break c}if(t[n+59|0]<=-1){dc(v[n+48>>2])}if(t[n+43|0]>-1){break W}dc(v[n+32>>2])}Qb=n- -64|0;return}c=P()|0;O()|0;if(t[n+59|0]>-1){break Q}dc(v[n+48>>2]);break Q}c=P()|0;O()|0;if(t[n+59|0]>-1){break B}dc(v[n+48>>2]);break B}c=P()|0;O()|0;if(t[n+59|0]>-1){break s}dc(v[n+48>>2]);break s}c=P()|0;O()|0;break b}c=P()|0;O()|0}if(t[n+27|0]>-1){break b}dc(v[n+16>>2]);break b}c=P()|0;O()|0;if(t[n+11|0]<=-1){dc(v[n>>2])}if(t[n+27|0]<=-1){dc(v[n+16>>2])}if(t[n+59|0]>-1){break b}dc(v[n+48>>2]);break b}c=P()|0;O()|0;if(t[n+11|0]<=-1){dc(v[n>>2])}if(t[n+27|0]<=-1){dc(v[n+16>>2])}if(t[n+59|0]>-1){break b}dc(v[n+48>>2]);break b}c=P()|0;O()|0;break b}c=P()|0;O()|0;if(t[n+11|0]<=-1){dc(v[n>>2])}if(t[n+27|0]<=-1){dc(v[n+16>>2])}if(t[n+59|0]>-1){break b}dc(v[n+48>>2]);break b}c=P()|0;O()|0;break b}c=P()|0;O()|0;if(t[n+11|0]<=-1){dc(v[n>>2])}if(t[n+27|0]<=-1){dc(v[n+16>>2])}if(t[n+59|0]>-1){break b}dc(v[n+48>>2]);break b}c=P()|0;O()|0;break b}c=P()|0;O()|0;if(t[n+59|0]>-1){break b}dc(v[n+48>>2]);break b}c=P()|0;O()|0;break b}c=P()|0;O()|0;if(t[n+59|0]>-1){break b}dc(v[n+48>>2]);break b}c=P()|0;O()|0;break b}c=P()|0;O()|0;dc(a);break b}c=P()|0;O()|0;break b}c=P()|0;O()|0}if(t[n+27|0]>-1){break b}dc(v[n+16>>2]);break b}c=P()|0;O()|0;if(t[n+59|0]>-1){break b}dc(v[n+48>>2]);break b}c=P()|0;O()|0;if(t[n+59|0]>-1){break b}dc(v[n+48>>2]);break b}c=P()|0;O()|0;if(t[n+59|0]>-1){break b}dc(v[n+48>>2]);break b}c=P()|0;O()|0;if(t[n+59|0]>-1){break b}dc(v[n+48>>2]);break b}c=P()|0;O()|0;break b}c=P()|0;O()|0;dc(a);break b}c=P()|0;O()|0;break b}c=P()|0;O()|0}if(t[n+27|0]>-1){break b}dc(v[n+16>>2]);break b}c=P()|0;O()|0;break b}c=P()|0;O()|0;if(t[n+59|0]>-1){break b}dc(v[n+48>>2]);break b}c=P()|0;O()|0;break b}c=P()|0;O()|0;if(t[n+59|0]>-1){break b}dc(v[n+48>>2]);break b}c=P()|0;O()|0;break b}c=P()|0;O()|0;if(t[n+59|0]>-1){break b}dc(v[n+48>>2]);break b}c=P()|0;O()|0;break b}c=P()|0;O()|0;if(t[n+59|0]>-1){break b}dc(v[n+48>>2]);break b}c=P()|0;O()|0;break b}c=P()|0;O()|0;if(t[n+59|0]>-1){break b}dc(v[n+48>>2]);break b}c=P()|0;O()|0;break b}c=P()|0;O()|0;if(t[n+59|0]>-1){break b}dc(v[n+48>>2]);break b}c=P()|0;O()|0;break b}c=P()|0;O()|0;dc(a);break b}c=P()|0;O()|0;break b}c=P()|0;O()|0;if(t[n+59|0]>-1){break b}dc(v[n+48>>2])}if(t[n+43|0]<=-1){dc(v[n+32>>2])}T(c|0);L()}W(0)|0;O()|0;lc();L()}function A4a(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,n=0,o=0,p=0,q=0,r=0,s=0,z=0,A=0,C=0,D=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;f=Qb-6768|0;Qb=f;g=v[v[a+4>>2]>>2];c=f- -64|0;ic(c|4,0,2756);v[f+16>>2]=0;v[f+20>>2]=0;v[f+24>>2]=0;v[f+28>>2]=0;v[f+32>>2]=0;v[f+36>>2]=0;v[f+40>>2]=0;v[f+44>>2]=0;v[f+48>>2]=0;v[f+52>>2]=0;v[f+56>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;v[f>>2]=0;v[f+4>>2]=0;v[f+64>>2]=g;v[f+8>>2]=c;k=v[b+4>>2];n=v[k+84>>2];A=v[n+156>>2];O=v[A>>2];j=v[k+88>>2];m=v[j+40>>2];g=v[m+12>>2];a:{b:{if(!g){c=e>>>16&15;break b}b=v[m+4>>2];c=e>>>16&15;if((b|0)==(c|0)){break a}}v[m+4>>2]=c;v[m+32>>2]=v[j+36>>2];b=v[j+32>>2];v[m+24>>2]=v[j+28>>2];v[m+28>>2]=b;b=v[j+24>>2];v[m+16>>2]=v[j+20>>2];v[m+20>>2]=b;b=v[j+16>>2];v[m+8>>2]=v[j+12>>2];v[m+12>>2]=b;g=v[m+12>>2];b=c}v[f+6724>>2]=0;v[f+6716>>2]=g;v[f+6712>>2]=k;c=v[m+16>>2];v[f+6736>>2]=0;v[f+6732>>2]=b;v[f+6728>>2]=0;v[f+6720>>2]=c;v[f>>2]=k;b=v[k+116>>2];v[f+4>>2]=b;c:{if(!b){g=oA(k,f|4,a);if(g){break c}b=v[f+4>>2];v[k+116>>2]=b;v[k+120>>2]=1570}v[f+6744>>2]=0;g=6;if(y[b+4>>2]<=d>>>0){break c}q=d<<1;g=x[q+v[b+8>>2]>>1]&16383;c=((g<<2)+b|0)+16|0;o=v[c>>2];d:{if(o){break d}e:{f:{while(1){j=v[v[b>>2]+100>>2];m=v[(g<<2)+369488>>2];i=v[(v[m+4>>2]<<2)+369200>>2];o=Fd(j,v[i+4>>2],f+6744|0);g=v[f+6744>>2];if(g){break c}v[o+36>>2]=b;v[o>>2]=m;g=v[i+8>>2];if(!g){break f}g=Ub[g|0](o,v[b>>2])|0;v[f+6744>>2]=g;if(!g){break f}c=v[i+16>>2];if(c){Ub[c|0](o)}if(o){Ub[v[j+8>>2]](j,o)}g=v[f+6744>>2];if((g|0)!=-1){break e}g=x[q+v[b+8>>2]>>1]&16383;c=((g<<2)+b|0)+16|0;if(!v[c>>2]){continue}break}g=-1;break c}v[c>>2]=o;break d}if(g){break c}o=0}b=v[v[o>>2]+4>>2];v[f+12>>2]=o;U=v[(b<<2)+369200>>2];b=v[U+12>>2];g:{if(b){Ub[b|0](o,f+6712|0);break g}b=v[f+6716>>2];v[o+4>>2]=v[f+6712>>2];v[o+8>>2]=b;v[o+28>>2]=v[f+6736>>2];c=f+6728|0;b=v[c+4>>2];v[o+20>>2]=v[c>>2];v[o+24>>2]=b;c=f+6720|0;b=v[c+4>>2];v[o+12>>2]=v[c>>2];v[o+16>>2]=b}b=v[U+24>>2];if(b){g=Ub[b|0](f- -64|0,o)|0;if(g){break c}}g=mn(k,d,e&-10246|10241);if(g){break c}h:{if(v[f+6732>>2]!=1){break h}b=t[v[k+128>>2]+56|0];if(w[a+21|0]|(b|0)>-1?b:0){break h}q=v[v[k+88>>2]+40>>2];e=v[k+84>>2];J=v[f+4>>2];v[f+6704>>2]=0;v[f+6764>>2]=0;m=x[q+8>>1];c=x[J+364>>1];j=x[k+68>>1]<<16;g=ad(65536e3,j);v[f+6752>>2]=v[93539];a=v[93538];v[f+6744>>2]=v[93537];v[f+6748>>2]=a;if(!x[k+68>>1]){break h}a=v[v[(v[v[o>>2]+4>>2]<<2)+369200>>2]+20>>2];if(!a){break h}Ub[a|0](o,f+6764|0,f+6704|0);a=v[f+6704>>2];i:{j:{k:{if(((a|0)==v[J+368>>2]|(a|0)<1)&(c|0)==(m|0)){break k}b=ad(Ac(s$(v[v[f+4>>2]+388>>2],x[k+68>>1],x[v[k+88>>2]+12>>1],a)<<16,v[q+12>>2]),g);v[J+368>>2]=v[f+6704>>2];a=x[q+8>>1];v[J+376>>2]=b+32768>>16;u[J+364>>1]=a;if((c|0)==(m|0)){break k}a=v[f+6764>>2];break j}a=v[f+6764>>2];if((a|0)<1|v[J+372>>2]==(a|0)){break i}}c=s$(v[v[f+4>>2]+388>>2],x[k+68>>1],x[v[k+88>>2]+12>>1],a)<<16;b=ad(Ac(c,v[q+16>>2]),g);v[J+372>>2]=v[f+6764>>2];a=x[q+8>>1];v[J+380>>2]=b+32768>>16;u[J+364>>1]=a;ea=J,fa=ad((j-c|0)-524288|0,j),v[ea+384>>2]=fa}b=v[J+376>>2];a=v[J+380>>2];X=e+108|0;c=X;l:{if(!c){break l}P=(a|0)/2|0;Q=(b|0)/2|0;m:{if(a+1>>>0<3&b+1>>>0<=2){break m}R=H_(c);if((R|0)==2){break l}Y=u[c>>1];if((Y|0)<1){break m}Z=(a|0)<-1;S=Z?0-P|0:P;ba=S>>>16|0;_=S&65535;$=(b|0)<-1;T=$?0-Q|0:Q;ca=T>>>16|0;aa=T&65535;V=v[c+4>>2];da=v[c+12>>2];while(1){D=u[(W<<1)+da>>1];n:{if((D|0)==(H|0)|(D|0)==-1){break n}I=-1;g=H;b=D;q=0;i=0;m=0;j=0;k=0;r=0;while(1){e=j;c=m;a=q;o:{p:{if((g|0)==(I|0)){break p}l=(g<<3)+V|0;c=(b<<3)+V|0;e=v[l+4>>2]-v[c+4>>2]|0;a=e>>31;a=a^a+e;c=v[l>>2]-v[c>>2]|0;l=c>>31;l=l^c+l;if(!l){if(!a){break o}e=(e|0)<0?-65536:65536;break p}M=(c|0)<0;if(!a){c=M?-65536:65536;a=l;break p}z=a>>>0>>0?l+(a>>>1|0)|0:(l>>>1|0)+a|0;c=E(z);p=(-1431655766>>>c>>>0>z>>>0?-15:-16)+c|0;h=(p|0)<1;q:{if(!h){F=l<>>0>G>>>0?F+(G>>>1|0)|0:(F>>>1|0)+G|0;break q}c=z;z=0-p|0;c=c>>>z|0;G=a>>>z|0;F=l>>>z|0}a=65536-c|0;while(1){z=(B(a,F)>>16)+F|0;l=(B(a,G)>>16)+G|0;c=B((B(z,z)+B(l,l)|0)/-512|0,a+65536>>8);a=((c|0)/65536|0)+a|0;if((c|0)>65535){continue}break}a=((B(z,F)+B(l,G)|0)/65536|0)+65536|0;a=h?a<<0-p:a+(1<>>p|0;if(!a){break o}e=(e|0)<0?0-l|0:l;c=M?0-z|0:z}r:{if(!i){break r}if((I|0)<=-1){m=k;I=b;q=i;j=r}l=0;h=c>>31;K=h+c^h;h=k>>31;s=h+k^h;s:{if((K>>>8|0)+s>>>0<=8190){h=B(s,K)+32768>>>16|0;break s}h=s&65535;h=B(h,K>>>16|0)+B(K,s>>>16|0)+(B(h,K&65535)+32768>>>16)|0}G=(c|0)<0;M=(k|0)<0;z=G^M?0-h|0:h;h=e>>31;C=h+e^h;h=r>>31;p=h+r^h;t:{if((C>>>8|0)+p>>>0<=8190){F=B(p,C)+32768>>>16|0;break t}h=p&65535;F=B(h,C>>>16|0)+B(C,p>>>16|0)+(B(h,C&65535)+32768>>>16)|0}F=((r|0)<0^(e|0)<0?0-F|0:F)+z|0;h=0;u:{if((F|0)<-61439){break u}L=F+65536|0;N=(a|0)>(i|0)?i:a;i=e+r|0;l=R?i:0-i|0;if(K+(p>>>8|0)>>>0<=8190){i=B(p,K)+32768>>>16|0}else{i=K&65535;i=B(i,p>>>16|0)+B(p,K>>>16|0)+(B(i,p&65535)+32768>>>16)|0}h=(r|0)<0^G?0-i|0:i;if(C+(s>>>8|0)>>>0<=8190){i=B(s,C)+32768>>>16|0}else{i=C&65535;i=B(i,s>>>16|0)+B(s,C>>>16|0)+(B(i,s&65535)+32768>>>16)|0}i=h+(M^(e|0)<0?i:0-i|0)|0;p=R?i:0-i|0;i=p>>31;s=i^i+p;M=s>>>8|0;v:{if(M+T>>>0<=8190){i=B(s,T)+32768>>>16|0;break v}i=B(s>>>16|0,aa)+B(s,ca)+(B(s&65535,aa)+32768>>>16)|0}z=(p|0)<0;G=z^$?0-i|0:i;i=N>>31;C=i+N^i;h=C+(L>>>8|0)>>>0>8190;w:{if(!h){i=B(C,L)+32768>>>16|0;break w}i=C&65535;i=B(i,L>>>16|0)+B(L,C>>>16|0)+(B(i,F&65535)+32768>>>16)|0}r=(N|0)<0;x:{if((G|0)<=((r?0-i|0:i)|0)){l=jd(l,Q,L);break x}l=jd(l,N,p)}i=c+k|0;G=R?0-i|0:i;i=M+S>>>0<=8190?B(s,S)+32768>>>16|0:B(s>>>16|0,_)+B(s,ba)+(B(s&65535,_)+32768>>>16)|0;k=z^Z?0-i|0:i;if(h){i=C&65535;i=B(i,L>>>16|0)+B(L,C>>>16|0)+(B(i,F&65535)+32768>>>16)|0}else{i=B(C,L)+32768>>>16|0}if((k|0)<=((r?0-i|0:i)|0)){h=jd(G,P,L);break u}h=jd(G,N,p)}if((b|0)==(g|0)){break r}k=h+P|0;i=l+Q|0;while(1){r=(b<<3)+V|0;v[r>>2]=i+v[r>>2];v[r+4>>2]=k+v[r+4>>2];b=(b|0)<(D|0)?b+1|0:H;if((g|0)!=(b|0)){continue}break}}r=e;k=c;i=a;b=g}g=(g|0)<(D|0)?g+1|0:H;if((g|0)==(b|0)){break n}if((b|0)!=(I|0)){continue}break}}H=D+1|0;W=W+1|0;if((Y|0)!=(W|0)){continue}break}}}v[f+6756>>2]=v[J+384>>2];ln(X,f+6744|0)}a=w[A+8|0];t[f+16|0]=a;y:{if(!a){break y}m=v[A+24>>2];g=v[A+20>>2];v[f+28>>2]=g;v[f+32>>2]=m;j=v[A+16>>2];e=v[A+12>>2];v[f+20>>2]=e;v[f+24>>2]=j;c=v[A+28>>2];b=v[A+32>>2];a=f+6752|0;v[a>>2]=g;v[a+4>>2]=m;v[f+6744>>2]=e;v[f+6748>>2]=j;v[f+36>>2]=c;v[f+40>>2]=b;e=6;D=f+6744|0;z:{if(!D){break z}r=v[D>>2];b=r>>31;k=v[D+12>>2];a=k>>31;A=b^b+r;H=a^a+k;A:{if(A+(H>>>8|0)>>>0<=8190){a=B(A,H)+32768>>>16|0;break A}a=A&65535;a=B(a,H>>>16|0)+B(H,A>>>16|0)+(B(a,H&65535)+32768>>>16)|0}b=(r|0)<0^(k|0)<0?0-a|0:a;i=v[D+4>>2];c=i>>31;q=v[D+8>>2];a=q>>31;c=c^c+i;I=a^a+q;B:{if(c+(I>>>8|0)>>>0<=8190){a=B(c,I)+32768>>>16|0;break B}a=c&65535;a=B(a,I>>>16|0)+B(I,c>>>16|0)+(B(a,I&65535)+32768>>>16)|0}l=b+((i|0)<0^(q|0)<0?a:0-a|0)|0;if(!l){break z}a=l>>31;h=a+l^a;m=h>>>17^65535;C:{if(m>>>0>=c>>>0){b=((c<<16)+(h>>>1|0)>>>0)/(h>>>0)|0;break C}b=2147483647;a=h>>>1|0;j=a+(c<<16)|0;a=(c>>>16|0)+(a>>>0>j>>>0)|0;if(a>>>0>=h>>>0){break C}c=E(a);e=32-c|0;a=j>>>e|a<>>0)/(h>>>0)|0;g=a-B(b,h)|0;c=j<>>31;g=a-(a>>>0>>0?0:h)|0;b=b<<1|a>>>0>=h>>>0;c=c<<1;e=e-1|0;if(e){continue}break}}v[D+4>>2]=(i|0)<0^(l|0)<0?b:0-b|0;D:{if(m>>>0>=I>>>0){b=((I<<16)+(h>>>1|0)>>>0)/(h>>>0)|0;break D}b=2147483647;a=h>>>1|0;j=a+(I<<16)|0;a=(I>>>16|0)+(a>>>0>j>>>0)|0;if(a>>>0>=h>>>0){break D}c=E(a);e=32-c|0;a=j>>>e|a<>>0)/(h>>>0)|0;g=a-B(b,h)|0;c=j<>>31;g=a-(a>>>0>>0?0:h)|0;b=b<<1|a>>>0>=h>>>0;c=c<<1;e=e-1|0;if(e){continue}break}}v[D+8>>2]=(q|0)<0^(l|0)<0?b:0-b|0;E:{if(m>>>0>=H>>>0){b=((H<<16)+(h>>>1|0)>>>0)/(h>>>0)|0;break E}b=2147483647;a=h>>>1|0;j=a+(H<<16)|0;a=(H>>>16|0)+(a>>>0>j>>>0)|0;if(a>>>0>=h>>>0){break E}c=E(a);e=32-c|0;a=j>>>e|a<>>0)/(h>>>0)|0;g=a-B(b,h)|0;c=j<>>31;g=a-(a>>>0>>0?0:h)|0;b=b<<1|a>>>0>=h>>>0;c=c<<1;e=e-1|0;if(e){continue}break}}v[D>>2]=(k|0)<0^(l|0)<0?0-b|0:b;F:{if(m>>>0>=A>>>0){b=((A<<16)+(h>>>1|0)>>>0)/(h>>>0)|0;break F}b=2147483647;a=h>>>1|0;j=a+(A<<16)|0;a=(A>>>16|0)+(a>>>0>j>>>0)|0;if(a>>>0>=h>>>0){break F}c=E(a);e=32-c|0;a=j>>>e|a<>>0)/(h>>>0)|0;g=a-B(b,h)|0;c=j<>>31;g=a-(a>>>0>>0?0:h)|0;b=b<<1|a>>>0>=h>>>0;c=c<<1;e=e-1|0;if(e){continue}break}}e=0;v[D+12>>2]=(r|0)<0^(l|0)<0?0-b|0:b}if(e){break y}jA(f+36|0,f+6744|0)}c=7;G:{if(v[n+72>>2]!=1869968492){break G}if(w[f+16|0]){dh(n+108|0,v[f+36>>2],v[f+40>>2])}v[f+48>>2]=v[f+80>>2];v[f+44>>2]=v[f+72>>2];a=Ac(v[n+40>>2],v[f+68>>2]);v[f+56>>2]=v[f+80>>2];v[f+52>>2]=a+v[f+72>>2];c=0;if(!x[n+110>>1]){break G}a=v[U+28>>2];if(a){g=Ub[a|0](d,f- -64|0,O+20|0,o)|0;if(g){break c}}e=n;H:{if(v[f+6732>>2]!=1){a=v[f+120>>2];if(!(w[f+2804|0]&4|(a|0)<2)){b=v[f+128>>2];a=b+B(a,44)|0;k=v[a-36>>2];g=v[a-40>>2];m=v[b+8>>2];i=v[b+4>>2];a=m-i|0;j=(i|0)<24?a-8|0:a;b=j+32&-64;v[f+44>>2]=b;q=v[f+52>>2]-g|0;a=q+k|0;g=(q|0)<24?a+8|0:a;a=g+32&-64;v[f+52>>2]=a;if(!((b|0)<(m|0)|(i|0)<1)){b=b+-64|0;v[f+44>>2]=b}if(!((q|0)<1|(a|0)>(k|0))){a=a- -64|0;v[f+52>>2]=a}v[n+144>>2]=b-j;a=a-g|0;break H}j=v[f+52>>2];g=(j+v[f+2820>>2]|0)+32&-64;v[f+52>>2]=g;b=v[f+44>>2];a=(b+v[f+2816>>2]|0)+32&-64;v[f+44>>2]=a;v[n+144>>2]=a-b;a=g-j|0;break H}j=v[f+52>>2];g=j+32&-64;v[f+52>>2]=g;b=v[f+44>>2];a=b+32&-64;v[f+44>>2]=a;v[n+144>>2]=a-b;a=g-j|0}v[e+148>>2]=a}b=v[n+36>>2];a=v[n+48>>2];ea=f,fa=Ac(v[n+44>>2]-v[n+32>>2]|0,v[o+8>>2]),v[ea+6704>>2]=fa;ea=f,fa=Ac(a-b|0,v[o+12>>2]),v[ea+6708>>2]=fa;if(w[f+16|0]){a=f+20|0;ln(O+20|0,a);jA(f+6704|0,a)}a=v[f+44>>2];if(a){dh(O+20|0,0-a|0,0)}Eo(O+20|0,f+6744|0);g=v[f+6744>>2]&-64;v[f+6744>>2]=g;e=v[f+6756>>2]+63&-64;v[f+6756>>2]=e;b=v[f+6752>>2]+63&-64;v[f+6752>>2]=b;a=v[f+6748>>2]&-64;v[f+6748>>2]=a;v[n+36>>2]=e;v[n+32>>2]=g;v[n+28>>2]=e-a;v[n+24>>2]=b-g;v[n+44>>2]=g+v[f+6704>>2]&-64;v[n+48>>2]=e+v[f+6708>>2]&-64;I:{J:{if(v[f+6732>>2]==1){break J}if(!(w[v[n+4>>2]+8|0]&4)){a=v[f+4>>2];if(!w[o+32|0]|(y[a+4>>2]<=d>>>0|u[v[a+8>>2]+(d<<1)>>1]>-1)){break J}}a=Ac(v[n+40>>2],v[o+8>>2]);v[n+144>>2]=0;v[n+148>>2]=0;v[n+40>>2]=a;break I}if(!v[n+40>>2]){break I}v[n+40>>2]=v[f+52>>2]-v[f+44>>2]}a=Ac(v[n+52>>2],v[o+12>>2]);v[n+72>>2]=1869968492;v[n+52>>2]=a+32&-64;v[n+40>>2]=v[n+40>>2]+32&-64;g=c}v[f+8>>2]=0;v[f>>2]=0;v[f+4>>2]=0;gI(f- -64|0);Qb=f+6768|0;return g|0}function rD(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=Qb-128|0;Qb=c;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{if(!w[b+89|0]){a=vc(c- -64|0,231584,241010,286,226767,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break r}break d}if(!(v[b+92>>2]&24)){a=vc(c- -64|0,279864,241010,1714,342483,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break r}break d}k=a;a=fc(44);v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=982804;v[a+4>>2]=0;d=a+16|0;v[d>>2]=0;v[d+4>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;v[a+40>>2]=0;v[299999]=0;Q(4475,d|0,982896)|0;d=v[299999];v[299999]=0;if((d|0)==1){b=P()|0;O()|0;ec(a+12|0);ec(a+8|0);Qc(a);dc(a);T(b|0);L()}v[k>>2]=0;Wc(k,a);v[299999]=0;R(4590,a|0);a=v[299999];v[299999]=0;if((a|0)==1){a=P()|0;O()|0;break a}s:{switch(v[b+56>>2]-3|0){case 0:case 1:a=v[b+48>>2];v[299999]=0;V(4752,c+16|0,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){d=v[c+24>>2];if(!d){break h}j=c+72|0;h=v[c+116>>2];e=v[c+112>>2];t:{while(1){v[299999]=0;g=S(1,60)|0;a=v[299999];v[299999]=0;if((a|0)==1){break f}a=v[d+8>>2];v[299999]=0;a=Q(4765,g|0,a|0)|0;e=v[299999];v[299999]=0;u:{v:{w:{x:{y:{z:{if((e|0)!=1){v[299999]=0;v[c+120>>2]=0;Q(4336,c+120|0,a|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){h=c+16|0;e=d;break f}v[299999]=0;U(4711,c- -64|0,b|0,v[c+120>>2]+36|0);a=v[299999];v[299999]=0;if((a|0)==1){break z}a=v[v[b>>2]+84>>2];v[299999]=0;$(a|0,c+104|0,b|0,c- -64|0,0);a=v[299999];v[299999]=0;if((a|0)==1){break y}v[c+88>>2]=981312;v[c+64>>2]=981280;a=v[c+92>>2];if(a){e=v[a+4>>2]-1|0;v[a+4>>2]=e;if(!e){Ub[v[v[a>>2]+4>>2]](a)}v[c+92>>2]=0}v[c+80>>2]=981312;a=v[c+84>>2];if(a){e=v[a+4>>2]-1|0;v[a+4>>2]=e;if(!e){Ub[v[v[a>>2]+4>>2]](a)}v[c+84>>2]=0}ec(j);v[299999]=0;v[c+64>>2]=0;a=v[v[c+104>>2]+148>>2];e=v[299999];v[299999]=0;if((e|0)==1){break l}if(!(a&128)){break v}v[299999]=0;$(4766,c+56|0,v[c+104>>2],0,1);a=v[299999];v[299999]=0;if((a|0)==1){break x}v[299999]=0;Q(4344,c- -64|0,c+56|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break w}a=v[c+56>>2];v[c+56>>2]=0;if(!a){break u}v[299999]=0;e=v[a+4>>2]-1|0;v[a+4>>2]=e;g=v[299999];v[299999]=0;if((g|0)==1){break c}if(e){break u}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break c}break u}a=P()|0;O()|0;v[c+112>>2]=d;v[c+116>>2]=c+16;dc(g);break e}a=P()|0;O()|0;v[c+112>>2]=d;v[c+116>>2]=c+16;break j}a=P()|0;O()|0;v[c+112>>2]=d;v[c+116>>2]=c+16;$c(c- -64|0);break j}a=P()|0;O()|0;v[c+112>>2]=d;v[c+116>>2]=c+16;break k}a=P()|0;O()|0;v[c+112>>2]=d;v[c+116>>2]=c+16;ec(c+56|0);break k}A:{B:{e=v[c+104>>2];a=v[e+108>>2];if(a){v[299999]=0;v[a+4>>2]=v[a+4>>2]+1;a=v[299999];v[299999]=0;if((a|0)==1){break B}a=v[e+108>>2]}else{a=0}v[299999]=0;v[c+56>>2]=a;Q(4344,c- -64|0,c+56|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break A}a=v[c+56>>2];v[c+56>>2]=0;if(!a){break u}v[299999]=0;e=v[a+4>>2]-1|0;v[a+4>>2]=e;g=v[299999];v[299999]=0;if((g|0)!=1){if(e){break u}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break u}}break c}a=P()|0;O()|0;v[c+112>>2]=d;v[c+116>>2]=c+16;break k}a=P()|0;O()|0;v[c+112>>2]=d;v[c+116>>2]=c+16;ec(c+56|0);break k}e=v[k>>2];a=v[c+64>>2];if(a){v[299999]=0;v[a+4>>2]=v[a+4>>2]+1;a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[c+64>>2]}else{a=0}v[299999]=0;v[c+48>>2]=a;$(4767,e|0,c+120|0,c+48|0,-1);a=v[299999];v[299999]=0;if((a|0)!=1){a=v[c+48>>2];v[c+48>>2]=0;C:{if(!a){break C}v[299999]=0;e=v[a+4>>2]-1|0;v[a+4>>2]=e;g=v[299999];v[299999]=0;if((g|0)==1){break c}if(e){break C}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break c}}a=v[c+64>>2];v[c+64>>2]=0;D:{if(!a){break D}v[299999]=0;e=v[a+4>>2]-1|0;v[a+4>>2]=e;g=v[299999];v[299999]=0;if((g|0)==1){break c}if(e){break D}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break c}}a=v[c+104>>2];v[c+104>>2]=0;E:{if(!a){break E}v[299999]=0;e=v[a+4>>2]-1|0;v[a+4>>2]=e;g=v[299999];v[299999]=0;if((g|0)==1){break c}if(e){break E}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break c}}a=v[c+120>>2];v[c+120>>2]=0;F:{if(!a){break F}v[299999]=0;e=v[a+4>>2]-1|0;v[a+4>>2]=e;g=v[299999];v[299999]=0;if((g|0)==1){break t}if(e){break F}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break t}}h=c+16|0;e=d;d=v[d>>2];if(!d){break i}continue}break}a=P()|0;O()|0;v[c+112>>2]=d;v[c+116>>2]=c+16;ec(c+48|0);break k}break c}a=P()|0;O()|0;break a;case 2:break m;default:break s}}v[c+40>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[299999]=0;j=Q(4475,c+16|0,983320)|0;a=v[299999];v[299999]=0;if((a|0)==1){break q}if(!v[b+84>>2]){break p}e=b+61|0;g=b+60|0;i=c+72|0;G:{H:{I:{J:{K:{L:{M:{N:{while(1){a=v[b+112>>2];v[299999]=0;d=v[a+68>>2];a=v[a- -64>>2];f=v[299999];v[299999]=0;if((f|0)==1){break H}if(((d-a|0)+1|0)<=(h|0)){break n}a=v[b+112>>2];v[299999]=0;U(4729,c- -64|0,a|0,h|0);a=v[299999];v[299999]=0;O:{P:{Q:{if((a|0)!=1){a=v[v[b>>2]+84>>2];v[299999]=0;$(a|0,c+120|0,b|0,c- -64|0,0);a=v[299999];v[299999]=0;if((a|0)==1){break Q}v[c+88>>2]=981312;v[c+64>>2]=981280;a=v[c+92>>2];if(a){d=v[a+4>>2]-1|0;v[a+4>>2]=d;if(!d){Ub[v[v[a>>2]+4>>2]](a)}v[c+92>>2]=0}v[c+80>>2]=981312;a=v[c+84>>2];if(a){d=v[a+4>>2]-1|0;v[a+4>>2]=d;if(!d){Ub[v[v[a>>2]+4>>2]](a)}v[c+84>>2]=0}ec(i);d=v[k>>2];R:{if(w[g|0]){break R}v[299999]=0;a=v[v[c+120>>2]+148>>2];f=v[299999];v[299999]=0;if((f|0)==1){break P}S:{if(a&4096){t[e|0]=1;a=g;break S}v[299999]=0;f=v[v[c+120>>2]+148>>2];a=v[299999];v[299999]=0;if((a|0)==1){break P}a=e;if(!(f&2048)){break R}}t[a|0]=1}v[299999]=0;$(4768,c+120|0,1,d|0,c+16|0);a=v[299999];v[299999]=0;if((a|0)==1){break P}a=v[c+120>>2];v[c+120>>2]=0;T:{if(!a){break T}v[299999]=0;d=v[a+4>>2]-1|0;v[a+4>>2]=d;f=v[299999];v[299999]=0;if((f|0)==1){break G}if(d){break T}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break G}}h=h+1|0;continue}a=W(989228)|0;d=O()|0;break O}a=W(989228)|0;d=O()|0;$c(c- -64|0);break O}a=W(989228)|0;d=O()|0;ec(c+120|0)}if((ja(989228)|0)!=(d|0)){break o}a=ea(a|0)|0;v[299999]=0;d=ga(4695)|0;f=v[299999];v[299999]=0;if((f|0)==1){break N}v[299999]=0;a=v[a+4>>2];f=v[299999];v[299999]=0;if((f|0)==1){break M}v[299999]=0;a=Q(4340,c- -64|0,(a?a:246399)|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break M}f=v[v[d>>2]+20>>2];v[299999]=0;Y(f|0,d|0,b|0,a|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break L}ec(a);v[299999]=0;a=Q(4340,c- -64|0,h+358061|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break K}v[299999]=0;d=ga(4695)|0;f=v[299999];v[299999]=0;if((f|0)==1){break J}f=v[v[d>>2]+20>>2];v[299999]=0;Y(f|0,d|0,b|0,a|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break J}h=h+1|0;ec(a);v[299999]=0;ba(4230);a=v[299999];v[299999]=0;if((a|0)!=1){continue}break}a=P()|0;O()|0;id(j);break a}b=W(0)|0;O()|0;break I}b=W(0)|0;O()|0;break I}b=W(0)|0;O()|0;ec(a);break I}b=W(0)|0;O()|0;break I}b=W(0)|0;O()|0;ec(a)}ea(b|0)|0;v[299999]=0;ba(4483);a=v[299999];v[299999]=0;if((a|0)!=1){break r}a=P()|0;O()|0;v[299999]=0;ba(4230);b=v[299999];v[299999]=0;if((b|0)!=1){v[299999]=0;ba(4230);b=v[299999];v[299999]=0;if((b|0)!=1){break o}}break b}a=P()|0;O()|0;id(j);break a}W(0)|0;O()|0;lc()}L()}a=P()|0;O()|0;break a}d=b+61|0;e=b+60|0;g=c+72|0;U:{V:{W:{while(1){a=v[b+112>>2];v[299999]=0;i=v[a+68>>2];a=v[a- -64>>2];f=v[299999];v[299999]=0;if((f|0)==1){break U}if(((i-a|0)+1|0)<=(h|0)){break n}a=v[b+112>>2];v[299999]=0;U(4729,c- -64|0,a|0,h|0);a=v[299999];v[299999]=0;if((a|0)!=1){a=v[v[b>>2]+84>>2];v[299999]=0;$(a|0,c+120|0,b|0,c- -64|0,0);a=v[299999];v[299999]=0;if((a|0)==1){break W}v[c+88>>2]=981312;v[c+64>>2]=981280;a=v[c+92>>2];if(a){i=v[a+4>>2]-1|0;v[a+4>>2]=i;if(!i){Ub[v[v[a>>2]+4>>2]](a)}v[c+92>>2]=0}v[c+80>>2]=981312;a=v[c+84>>2];if(a){i=v[a+4>>2]-1|0;v[a+4>>2]=i;if(!i){Ub[v[v[a>>2]+4>>2]](a)}v[c+84>>2]=0}ec(g);i=v[k>>2];X:{if(w[e|0]){break X}v[299999]=0;a=v[v[c+120>>2]+148>>2];f=v[299999];v[299999]=0;if((f|0)==1){break V}Y:{if(a&4096){t[d|0]=1;a=e;break Y}v[299999]=0;f=v[v[c+120>>2]+148>>2];a=v[299999];v[299999]=0;if((a|0)==1){break V}a=d;if(!(f&2048)){break X}}t[a|0]=1}v[299999]=0;$(4768,c+120|0,1,i|0,c+16|0);a=v[299999];v[299999]=0;if((a|0)==1){break V}a=v[c+120>>2];v[c+120>>2]=0;Z:{if(!a){break Z}v[299999]=0;i=v[a+4>>2]-1|0;v[a+4>>2]=i;f=v[299999];v[299999]=0;if((f|0)==1){break b}if(i){break Z}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break b}}h=h+1|0;continue}break}a=P()|0;O()|0;id(j);break a}a=P()|0;O()|0;$c(c- -64|0);id(j);break a}a=P()|0;O()|0;ec(c+120|0);id(j);break a}a=P()|0;O()|0}id(j);break a}id(j);break g}v[c+88>>2]=0;v[c+80>>2]=0;v[c+84>>2]=0;v[c+72>>2]=0;v[c+76>>2]=0;v[c+64>>2]=0;v[c+68>>2]=0;v[299999]=0;d=Q(4475,c- -64|0,983320)|0;a=v[299999];v[299999]=0;_:{$:{aa:{if((a|0)!=1){v[299999]=0;$(4704,c+16|0,b|0,0,0);a=v[299999];v[299999]=0;if((a|0)==1){break aa}e=v[k>>2];ba:{if(w[b+60|0]){break ba}v[299999]=0;g=v[v[c+16>>2]+148>>2];a=v[299999];v[299999]=0;if((a|0)==1){break $}a=b+61|0;ca:{if(g&4096){t[b+61|0]=1;a=b+60|0;break ca}v[299999]=0;g=v[v[c+16>>2]+148>>2];h=v[299999];v[299999]=0;if((h|0)==1){break $}if(!(g&2048)){break ba}}t[a|0]=1}v[299999]=0;$(4768,c+16|0,1,e|0,c- -64|0);a=v[299999];v[299999]=0;if((a|0)==1){break $}a=v[c+16>>2];v[c+16>>2]=0;da:{if(!a){break da}v[299999]=0;e=v[a+4>>2]-1|0;v[a+4>>2]=e;g=v[299999];v[299999]=0;if((g|0)==1){break _}if(e){break da}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break _}}id(d);break g}a=P()|0;O()|0;break a}a=P()|0;O()|0;id(d);break a}a=P()|0;O()|0;ec(c+16|0);id(d);break a}break b}a=P()|0;O()|0;v[c+112>>2]=d;v[c+116>>2]=c+16}ec(c- -64|0);ec(c+104|0)}ec(c+120|0);break e}v[c+112>>2]=e;v[c+116>>2]=c+16}Ic(c+16|0)}ea:{a=v[b+52>>2];if(!a){break ea}d=v[k>>2];v[299999]=0;v[a+4>>2]=v[a+4>>2]+1;a=v[299999];v[299999]=0;fa:{if((a|0)!=1){a=v[b+52>>2];v[299999]=0;v[c+8>>2]=a;V(4769,d|0,c+8|0);a=v[299999];v[299999]=0;if((a|0)==1){break fa}a=v[c+8>>2];v[c+8>>2]=0;if(!a){break ea}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;d=v[299999];v[299999]=0;if((d|0)!=1){if(b){break ea}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break ea}}break b}a=P()|0;O()|0;break a}a=P()|0;O()|0;ec(c+8|0);break a}Qb=c+128|0;return}a=P()|0;O()|0;v[c+116>>2]=h;v[c+112>>2]=e}Ic(c+16|0);break a}b=P()|0;O()|0;qc(a);T(b|0);L()}W(0)|0;O()|0;v[c+112>>2]=d;v[c+116>>2]=c+16;lc();L()}W(0)|0;O()|0;lc();L()}ec(k);T(a|0);L()}function xma(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;k=Qb-16|0;Qb=k;h=k+8|0;p=e;g=Qb-80|0;Qb=g;v[g+72>>2]=0;Wc(g+72|0,0);f=b+8|0;a:{b:{c:{d:{e:{if(v[b+8>>2]){v[299999]=0;U(4888,g- -64|0,b|0,f|0);i=v[299999];v[299999]=0;if((i|0)!=1){break e}break d}v[299999]=0;v[g+64>>2]=0;Q(4336,g- -64|0,0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break d}}f:{g:{h:{if(v[f>>2]){v[299999]=0;U(4888,g+40|0,b|0,f|0);i=v[299999];v[299999]=0;if((i|0)!=1){break h}break g}v[299999]=0;v[g+40>>2]=0;Q(4336,g+40|0,0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break g}}o=h;i:{j:{k:{l:{i=v[g+40>>2];m:{if(!i){break m}m=v[i+8>>2];v[299999]=0;v[g+40>>2]=0;j=v[i+4>>2]-1|0;v[i+4>>2]=j;n=v[299999];v[299999]=0;if((n|0)==1){break a}if(j){break m}v[299999]=0;R(4338,i|0);i=v[299999];v[299999]=0;if((i|0)==1){break a}}n:{o:{p:{if(v[f>>2]){v[299999]=0;U(4888,g+40|0,b|0,f|0);i=v[299999];v[299999]=0;if((i|0)!=1){break p}break o}v[299999]=0;v[g+40>>2]=0;Q(4336,g+40|0,0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break o}}i=v[g+40>>2];q:{if(!i){break q}n=v[i+12>>2];v[299999]=0;v[g+40>>2]=0;j=v[i+4>>2]-1|0;v[i+4>>2]=j;l=v[299999];v[299999]=0;if((l|0)==1){break a}if(!j){v[299999]=0;R(4338,i|0);i=v[299999];v[299999]=0;if((i|0)==1){break a}}if((m|0)<1|(n|0)<1){break q}i=v[g+64>>2];if(i){break n}}v[h>>2]=0;v[299999]=0;Q(4336,h|0,0)|0;h=v[299999];v[299999]=0;if((h|0)!=1){break l}}f=P()|0;O()|0;break f}e=1;r:{if(!(p>0)){break r}e=.1;q=p/A[i+24>>3];if(q<.1){break r}e=q;if(!(e>10)){break r}e=10}s:{if(v[f>>2]){v[299999]=0;U(4889,g+56|0,b|0,f|0);i=v[299999];v[299999]=0;if((i|0)!=1){break s}break i}v[299999]=0;v[g+56>>2]=0;Q(4336,g+56|0,0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break i}}t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{i=v[g+56>>2];if(i){v[299999]=0;f=v[i+12>>2];if(f){f=v[f+4>>2]}else{f=0}i=v[299999];v[299999]=0;if((i|0)==1){break M}v[299999]=0;i=v[v[g+56>>2]+12>>2];if(i){i=v[i+8>>2]}else{i=0}j=v[299999];v[299999]=0;N:{if((j|0)!=1){if(i?f:0){break N}v[h>>2]=0;v[299999]=0;Q(4336,h|0,0)|0;h=v[299999];v[299999]=0;if((h|0)!=1){break t}}f=P()|0;O()|0;break j}j=qr(m,n,f,i);if(j-1>>>0>=12){v[h>>2]=0;v[299999]=0;Q(4336,h|0,0)|0;h=v[299999];v[299999]=0;if((h|0)!=1){break t}break k}if((d|0)==(j|0)){h=v[g+56>>2];f=v[v[h>>2]+20>>2];v[299999]=0;$(f|0,g+40|0,h|0,1,c|0);h=v[299999];v[299999]=0;O:{if((h|0)!=1){v[299999]=0;Q(4344,g+72|0,g+40|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break O}ec(g+40|0);break F}f=P()|0;O()|0;break j}f=P()|0;O()|0;ec(g+40|0);break j}if(j<<1==(d|0)){h=v[g+56>>2];f=v[v[h>>2]+20>>2];v[299999]=0;$(f|0,g+40|0,h|0,2,c|0);h=v[299999];v[299999]=0;P:{if((h|0)!=1){v[299999]=0;Q(4344,g+72|0,g+40|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break P}ec(g+40|0);break F}f=P()|0;O()|0;break j}f=P()|0;O()|0;ec(g+40|0);break j}h=j<<2;if((h|0)==(d|0)){h=v[g+56>>2];f=v[v[h>>2]+20>>2];v[299999]=0;$(f|0,g+40|0,h|0,4,c|0);h=v[299999];v[299999]=0;Q:{if((h|0)!=1){v[299999]=0;Q(4344,g+72|0,g+40|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break Q}ec(g+40|0);break F}f=P()|0;O()|0;break j}f=P()|0;O()|0;ec(g+40|0);break j}if(j<<3==(d|0)){h=v[g+56>>2];f=v[v[h>>2]+20>>2];v[299999]=0;$(f|0,g+40|0,h|0,8,c|0);h=v[299999];v[299999]=0;R:{if((h|0)!=1){v[299999]=0;Q(4344,g+72|0,g+40|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break R}ec(g+40|0);break F}f=P()|0;O()|0;break j}f=P()|0;O()|0;ec(g+40|0);break j}if((h|0)==(B(d,3)|0)){h=v[c+12>>2];v[g+48>>2]=v[c+8>>2];v[g+52>>2]=h;h=v[c+4>>2];v[g+40>>2]=v[c>>2];v[g+44>>2]=h;h=v[c+12>>2];j=v[c+8>>2];v[g+32>>2]=j;v[g+36>>2]=h;h=v[c>>2];m=v[c+4>>2];v[g+32>>2]=(j+2|0)/3<<2;v[g+24>>2]=h;v[g+28>>2]=m;v[299999]=0;h=(h|0)/3|0;v[g+24>>2]=h<<2;j=v[g+28>>2]/3|0;v[g+28>>2]=j<<2;v[g+36>>2]=(v[g+36>>2]+2|0)/3<<2;Lm(g+40|0,(B(h,-12)|0)/4|0,(B(j,-12)|0)/4|0);h=v[299999];v[299999]=0;if((h|0)==1){break K}if((f|0)>2]){v[g+32>>2]=f}if((i|0)>2]){v[g+36>>2]=i}h=v[g+56>>2];f=v[v[h>>2]+20>>2];v[299999]=0;$(f|0,g+16|0,h|0,1,g+24|0);h=v[299999];v[299999]=0;S:{T:{U:{V:{if((h|0)!=1){v[299999]=0;R(4897,g+8|0);h=v[299999];v[299999]=0;if((h|0)==1){break V}v[299999]=0;Q(4344,g+72|0,g+8|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break U}ec(g+8|0);v[299999]=0;U(4898,v[g+72>>2],v[g+16>>2],g+40|0);h=v[299999];v[299999]=0;if((h|0)==1){break T}ec(g+16|0);break F}f=P()|0;O()|0;break j}f=P()|0;O()|0;break S}f=P()|0;O()|0;ec(g+8|0);break S}f=P()|0;O()|0}ec(g+16|0);break j}h=16;l=j<<4;if((l|0)>(d|0)){break L}break G}W:{if(v[f>>2]){v[299999]=0;U(4890,g+24|0,b|0,f|0);f=v[299999];v[299999]=0;if((f|0)!=1){break W}break H}v[299999]=0;v[g+24>>2]=0;Q(4336,g+24|0,0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break H}}X:{f=v[g+24>>2];Y:{if(f){Z:{i=x[f+10>>1];if(i){o=x[f+8>>1];if(o){break Z}}v[h>>2]=0;v[299999]=0;Q(4336,h|0,0)|0;h=v[299999];v[299999]=0;if((h|0)!=1){break Y}f=P()|0;O()|0;break I}f=qr(m,n,i,o);if(f-1>>>0>=12){v[h>>2]=0;v[299999]=0;Q(4336,h|0,0)|0;h=v[299999];v[299999]=0;if((h|0)!=1){break Y}f=P()|0;O()|0;break I}_:{$:{aa:{ba:{ca:{da:{ea:{j=(d|0)/(f|0)|0;fa:{if(!((j|0)<1|(B(f,j)|0)!=(d|0))){v[299999]=0;R(4897,g+40|0);f=v[299999];v[299999]=0;ga:{ha:{if((f|0)!=1){v[299999]=0;Q(4344,g+72|0,g+40|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break ha}ec(g+40|0);f=v[g+24>>2];i=v[g+72>>2];if((j|0)!=1){break ga}v[299999]=0;U(4899,i|0,f|0,c|0);f=v[299999];v[299999]=0;if((f|0)==1){break J}break fa}f=P()|0;O()|0;break I}f=P()|0;O()|0;ec(g+40|0);break I}v[299999]=0;$(4900,i|0,f|0,j|0,c|0);f=v[299999];v[299999]=0;if((f|0)!=1){break fa}break J}v[299999]=0;j=d-1|0;fa(4901,g+16|0,i|0,o|0,(j+m|0)/(d|0)|0,(j+n|0)/(d|0)|0);j=v[299999];v[299999]=0;if((j|0)==1){break ea}v[299999]=0;j=v[g+16>>2];U(4902,j|0,f|0,d|0);m=v[299999];v[299999]=0;if((m|0)==1){break da}v[299999]=0;U(4903,j|0,f|0,d|0);f=v[299999];v[299999]=0;if((f|0)==1){break da}v[299999]=0;R(4897,g+40|0);f=v[299999];v[299999]=0;if((f|0)==1){break ca}v[299999]=0;Q(4344,g+72|0,g+40|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break ba}f=g+40|0;ec(f);v[299999]=0;v[g+52>>2]=o;v[g+48>>2]=i;v[g+40>>2]=0;v[g+44>>2]=0;fa(4904,j|0,f|0,v[g+24>>2],c|0,v[g+72>>2]);f=v[299999];v[299999]=0;if((f|0)==1){break aa}ec(g+16|0)}f=v[g+72>>2];if(!(!f|e==1)){v[299999]=0;Wa(4905,f|0,+e);f=v[299999];v[299999]=0;if((f|0)==1){break J}f=v[g+72>>2]}if(f){break _}v[h>>2]=0;break Y}f=P()|0;O()|0;break I}f=P()|0;O()|0;break $}f=P()|0;O()|0;break $}f=P()|0;O()|0;ec(g+40|0);break $}f=P()|0;O()|0}ec(g+16|0);break I}v[299999]=0;v[f+4>>2]=v[f+4>>2]+1;f=v[299999];v[299999]=0;if((f|0)==1){break J}v[h>>2]=v[g+72>>2];break Y}v[h>>2]=0;v[299999]=0;Q(4336,h|0,0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break X}}h=v[g+24>>2];v[g+24>>2]=0;if(!h){break t}v[299999]=0;f=v[h+4>>2]-1|0;v[h+4>>2]=f;i=v[299999];v[299999]=0;if((i|0)!=1){if(f){break t}v[299999]=0;R(4338,h|0);h=v[299999];v[299999]=0;if((h|0)!=1){break t}}break a}f=P()|0;O()|0;break I}f=P()|0;O()|0;break j}h=8;l=j<<3;if((l|0)<=(d|0)){break G}h=4;l=j<<2;if((l|0)<=(d|0)){break G}l=j<<1;h=(l|0)>(d|0);l=h?j:l;h=h?1:2;break G}f=P()|0;O()|0;break j}f=P()|0;O()|0}ec(g+24|0);break j}f=P()|0;O()|0;break j}v[299999]=0;j=f;f=h-1|0;j=(j+f|0)/(h|0)|0;i=(f+i|0)/(h|0)|0;f=d-1|0;fa(4901,g+24|0,j|0,i|0,(f+m|0)/(d|0)|0,(f+n|0)/(d|0)|0);f=v[299999];v[299999]=0;if((f|0)==1){break E}v[299999]=0;f=v[g+24>>2];U(4902,f|0,l|0,d|0);i=v[299999];v[299999]=0;if((i|0)==1){break D}v[299999]=0;U(4903,f|0,l|0,d|0);i=v[299999];v[299999]=0;if((i|0)==1){break D}v[g+48>>2]=0;v[g+52>>2]=0;v[g+40>>2]=0;v[g+44>>2]=0;v[299999]=0;U(4906,f|0,c|0,g+40|0);i=v[299999];v[299999]=0;if((i|0)==1){break C}i=v[g+56>>2];j=v[v[i>>2]+20>>2];v[299999]=0;$(j|0,g+16|0,i|0,h|0,g+40|0);h=v[299999];v[299999]=0;if((h|0)==1){break B}v[299999]=0;R(4897,g+8|0);h=v[299999];v[299999]=0;if((h|0)==1){break A}v[299999]=0;Q(4344,g+72|0,g+8|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break z}ec(g+8|0);v[299999]=0;fa(4904,f|0,g+40|0,v[g+16>>2],c|0,v[g+72>>2]);h=v[299999];v[299999]=0;if((h|0)==1){break y}ec(g+16|0);ec(g+24|0)}f=v[g+72>>2];if(!(!f|e==1)){v[299999]=0;Wa(4905,f|0,+e);h=v[299999];v[299999]=0;if((h|0)==1){break k}f=v[g+72>>2]}if(f){break v}h=0;break u}f=P()|0;O()|0;break j}f=P()|0;O()|0;break w}f=P()|0;O()|0;break w}f=P()|0;O()|0;break w}f=P()|0;O()|0;break x}f=P()|0;O()|0;ec(g+8|0);break x}f=P()|0;O()|0}ec(g+16|0)}ec(g+24|0);break j}v[299999]=0;v[f+4>>2]=v[f+4>>2]+1;h=v[299999];v[299999]=0;if((h|0)==1){break k}h=v[g+72>>2]}v[o>>2]=h}h=v[g+56>>2];v[g+56>>2]=0;if(!h){break l}v[299999]=0;f=v[h+4>>2]-1|0;v[h+4>>2]=f;i=v[299999];v[299999]=0;if((i|0)!=1){if(f){break l}v[299999]=0;R(4338,h|0);h=v[299999];v[299999]=0;if((h|0)!=1){break l}}break a}h=v[g+64>>2];v[g+64>>2]=0;ia:{if(!h){break ia}v[299999]=0;f=v[h+4>>2]-1|0;v[h+4>>2]=f;i=v[299999];v[299999]=0;if((i|0)==1){break a}if(f){break ia}v[299999]=0;R(4338,h|0);h=v[299999];v[299999]=0;if((h|0)==1){break a}}h=v[g+72>>2];v[g+72>>2]=0;ja:{ka:{if(!h){break ka}v[299999]=0;f=v[h+4>>2]-1|0;v[h+4>>2]=f;i=v[299999];v[299999]=0;if((i|0)==1){break ja}if(f){break ka}v[299999]=0;R(4338,h|0);h=v[299999];v[299999]=0;if((h|0)==1){break ja}}Qb=g+80|0;break b}break a}f=P()|0;O()|0}ec(g+56|0);break f}f=P()|0;O()|0;break f}f=P()|0;O()|0}ec(g- -64|0);break c}f=P()|0;O()|0}ec(g+72|0);T(f|0);L()}v[299999]=0;c=sb(4923,b|0,v[k+8>>2],c|0,d|0,+p)|0;d=v[299999];v[299999]=0;la:{ma:{if((d|0)==1){break ma}na:{oa:{if(c){break oa}pa:{if(v[b+8>>2]){v[299999]=0;U(4891,k|0,b|0,b+8|0);b=v[299999];v[299999]=0;if((b|0)!=1){break pa}break ma}v[299999]=0;v[k>>2]=0;Q(4336,k|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break ma}}b=v[k>>2];v[k>>2]=0;if(!b){break oa}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break la}if(!c){v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break la}}v[a>>2]=0;v[299999]=0;Q(4336,a|0,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break ma}b=v[k+8>>2];break na}b=v[k+8>>2];if(b){v[299999]=0;v[b+4>>2]=v[b+4>>2]+1;b=v[299999];v[299999]=0;if((b|0)==1){break ma}b=v[k+8>>2]}else{b=0}v[a>>2]=b}v[k+8>>2]=0;qa:{if(!b){break qa}v[299999]=0;a=v[b+4>>2]-1|0;v[b+4>>2]=a;c=v[299999];v[299999]=0;if((c|0)==1){break la}if(a){break qa}v[299999]=0;R(4338,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break la}}Qb=k+16|0;return}a=P()|0;O()|0;ec(k+8|0);T(a|0);L()}}W(0)|0;O()|0;lc();L()}function Cya(a,b){a=a|0;b=b|0;var 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,u=0,x=0,y=0,z=0,A=0;if(!v[a+88>>2]){return 0}o=v[a+56>>2];d=v[a+48>>2];q=v[a+68>>2];p=v[a+72>>2];m=v[a+76>>2];n=v[a+80>>2];s=v[a+8>>2];u=v[a+84>>2];if(b){c=v[b+4>>2];b=v[b>>2]}else{b=0}k=c;g=a+16|0;x=v[a+64>>2];e=Qb-896|0;Qb=e;v[a+12>>2]=0;a:{if(o-5>>>0<=1){b:{if(!b){break b}l=e+304|0;c=v[b>>2];j=(c|0)<127?c:127;gc(l,v[b+4>>2],j);f=v[q+4>>2];h=w[f+36|0]|w[f+37|0]<<8|(w[f+38|0]<<16|w[f+39|0]<<24);d=j+l|0;c=d;f=w[f+32|0]|w[f+33|0]<<8|(w[f+34|0]<<16|w[f+35|0]<<24);t[c|0]=f;t[c+1|0]=f>>>8;t[c+2|0]=f>>>16;t[c+3|0]=f>>>24;t[c+4|0]=h;t[c+5|0]=h>>>8;t[c+6|0]=h>>>16;t[c+7|0]=h>>>24;c=v[p+4>>2];f=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);h=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);t[d+8|0]=h;t[d+9|0]=h>>>8;t[d+10|0]=h>>>16;t[d+11|0]=h>>>24;t[d+12|0]=f;t[d+13|0]=f>>>8;t[d+14|0]=f>>>16;t[d+15|0]=f>>>24;f=w[c+44|0]|w[c+45|0]<<8|(w[c+46|0]<<16|w[c+47|0]<<24);h=w[c+40|0]|w[c+41|0]<<8|(w[c+42|0]<<16|w[c+43|0]<<24);t[d+48|0]=h;t[d+49|0]=h>>>8;t[d+50|0]=h>>>16;t[d+51|0]=h>>>24;t[d+52|0]=f;t[d+53|0]=f>>>8;t[d+54|0]=f>>>16;t[d+55|0]=f>>>24;f=w[c+36|0]|w[c+37|0]<<8|(w[c+38|0]<<16|w[c+39|0]<<24);h=w[c+32|0]|w[c+33|0]<<8|(w[c+34|0]<<16|w[c+35|0]<<24);t[d+40|0]=h;t[d+41|0]=h>>>8;t[d+42|0]=h>>>16;t[d+43|0]=h>>>24;t[d+44|0]=f;t[d+45|0]=f>>>8;t[d+46|0]=f>>>16;t[d+47|0]=f>>>24;f=w[c+28|0]|w[c+29|0]<<8|(w[c+30|0]<<16|w[c+31|0]<<24);h=w[c+24|0]|w[c+25|0]<<8|(w[c+26|0]<<16|w[c+27|0]<<24);t[d+32|0]=h;t[d+33|0]=h>>>8;t[d+34|0]=h>>>16;t[d+35|0]=h>>>24;t[d+36|0]=f;t[d+37|0]=f>>>8;t[d+38|0]=f>>>16;t[d+39|0]=f>>>24;f=w[c+20|0]|w[c+21|0]<<8|(w[c+22|0]<<16|w[c+23|0]<<24);h=w[c+16|0]|w[c+17|0]<<8|(w[c+18|0]<<16|w[c+19|0]<<24);t[d+24|0]=h;t[d+25|0]=h>>>8;t[d+26|0]=h>>>16;t[d+27|0]=h>>>24;t[d+28|0]=f;t[d+29|0]=f>>>8;t[d+30|0]=f>>>16;t[d+31|0]=f>>>24;f=w[c+12|0]|w[c+13|0]<<8|(w[c+14|0]<<16|w[c+15|0]<<24);c=w[c+8|0]|w[c+9|0]<<8|(w[c+10|0]<<16|w[c+11|0]<<24);t[d+16|0]=c;t[d+17|0]=c>>>8;t[d+18|0]=c>>>16;t[d+19|0]=c>>>24;t[d+20|0]=f;t[d+21|0]=f>>>8;t[d+22|0]=f>>>16;t[d+23|0]=f>>>24;i=j+56|0;ou(l,i,l);if((o|0)==6){qy(e+304|0,v[b+4>>2],j,v[p+4>>2])}c=v[q+4>>2];if(Pc(e+304|0,c,32)){break b}h=e+304|0;gc(h,v[b+4>>2],j);f=w[c+44|0]|w[c+45|0]<<8|(w[c+46|0]<<16|w[c+47|0]<<24);c=w[c+40|0]|w[c+41|0]<<8|(w[c+42|0]<<16|w[c+43|0]<<24);t[d|0]=c;t[d+1|0]=c>>>8;t[d+2|0]=c>>>16;t[d+3|0]=c>>>24;t[d+4|0]=f;t[d+5|0]=f>>>8;t[d+6|0]=f>>>16;t[d+7|0]=f>>>24;c=v[p+4>>2];f=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);k=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);t[d+8|0]=k;t[d+9|0]=k>>>8;t[d+10|0]=k>>>16;t[d+11|0]=k>>>24;t[d+12|0]=f;t[d+13|0]=f>>>8;t[d+14|0]=f>>>16;t[d+15|0]=f>>>24;f=w[c+44|0]|w[c+45|0]<<8|(w[c+46|0]<<16|w[c+47|0]<<24);k=w[c+40|0]|w[c+41|0]<<8|(w[c+42|0]<<16|w[c+43|0]<<24);t[d+48|0]=k;t[d+49|0]=k>>>8;t[d+50|0]=k>>>16;t[d+51|0]=k>>>24;t[d+52|0]=f;t[d+53|0]=f>>>8;t[d+54|0]=f>>>16;t[d+55|0]=f>>>24;f=w[c+36|0]|w[c+37|0]<<8|(w[c+38|0]<<16|w[c+39|0]<<24);k=w[c+32|0]|w[c+33|0]<<8|(w[c+34|0]<<16|w[c+35|0]<<24);t[d+40|0]=k;t[d+41|0]=k>>>8;t[d+42|0]=k>>>16;t[d+43|0]=k>>>24;t[d+44|0]=f;t[d+45|0]=f>>>8;t[d+46|0]=f>>>16;t[d+47|0]=f>>>24;f=w[c+28|0]|w[c+29|0]<<8|(w[c+30|0]<<16|w[c+31|0]<<24);k=w[c+24|0]|w[c+25|0]<<8|(w[c+26|0]<<16|w[c+27|0]<<24);t[d+32|0]=k;t[d+33|0]=k>>>8;t[d+34|0]=k>>>16;t[d+35|0]=k>>>24;t[d+36|0]=f;t[d+37|0]=f>>>8;t[d+38|0]=f>>>16;t[d+39|0]=f>>>24;f=w[c+20|0]|w[c+21|0]<<8|(w[c+22|0]<<16|w[c+23|0]<<24);k=w[c+16|0]|w[c+17|0]<<8|(w[c+18|0]<<16|w[c+19|0]<<24);t[d+24|0]=k;t[d+25|0]=k>>>8;t[d+26|0]=k>>>16;t[d+27|0]=k>>>24;t[d+28|0]=f;t[d+29|0]=f>>>8;t[d+30|0]=f>>>16;t[d+31|0]=f>>>24;f=w[c+12|0]|w[c+13|0]<<8|(w[c+14|0]<<16|w[c+15|0]<<24);c=w[c+8|0]|w[c+9|0]<<8|(w[c+10|0]<<16|w[c+11|0]<<24);t[d+16|0]=c;t[d+17|0]=c>>>8;t[d+18|0]=c>>>16;t[d+19|0]=c>>>24;t[d+20|0]=f;t[d+21|0]=f>>>8;t[d+22|0]=f>>>16;t[d+23|0]=f>>>24;ou(h,i,h);if((o|0)==6){qy(e+304|0,v[b+4>>2],j,v[p+4>>2])}d=e+496|0;YE(d,e+304|0);v[e+760>>2]=0;v[e+764>>2]=0;v[e+752>>2]=0;v[e+756>>2]=0;Or(d,v[m+4>>2],0);b=v[e+780>>2];c=v[e+776>>2];t[g+8|0]=c;t[g+9|0]=c>>>8;t[g+10|0]=c>>>16;t[g+11|0]=c>>>24;t[g+12|0]=b;t[g+13|0]=b>>>8;t[g+14|0]=b>>>16;t[g+15|0]=b>>>24;b=v[e+772>>2];c=v[e+768>>2];t[g|0]=c;t[g+1|0]=c>>>8;t[g+2|0]=c>>>16;t[g+3|0]=c>>>24;t[g+4|0]=b;t[g+5|0]=b>>>8;t[g+6|0]=b>>>16;t[g+7|0]=b>>>24;Or(d,v[m+4>>2]+16|0,0);b=v[e+780>>2];c=v[e+776>>2];t[g+24|0]=c;t[g+25|0]=c>>>8;t[g+26|0]=c>>>16;t[g+27|0]=c>>>24;t[g+28|0]=b;t[g+29|0]=b>>>8;t[g+30|0]=b>>>16;t[g+31|0]=b>>>24;b=v[e+772>>2];c=v[e+768>>2];t[g+16|0]=c;t[g+17|0]=c>>>8;t[g+18|0]=c>>>16;t[g+19|0]=c>>>24;t[g+20|0]=b;t[g+21|0]=b>>>8;t[g+22|0]=b>>>16;t[g+23|0]=b>>>24;v[a+12>>2]=1;d=1;break a}c:{if(!k){i=358460;c=0;break c}i=v[k+4>>2];a=v[k>>2];c=(a|0)<127?a:127}j=e+304|0;gc(j,i,c);d=v[p+4>>2];f=w[d+36|0]|w[d+37|0]<<8|(w[d+38|0]<<16|w[d+39|0]<<24);a=c+j|0;b=a;d=w[d+32|0]|w[d+33|0]<<8|(w[d+34|0]<<16|w[d+35|0]<<24);t[b|0]=d;t[b+1|0]=d>>>8;t[b+2|0]=d>>>16;t[b+3|0]=d>>>24;t[b+4|0]=f;t[b+5|0]=f>>>8;t[b+6|0]=f>>>16;t[b+7|0]=f>>>24;k=c+8|0;ou(j,k,j);if((o|0)==6){qy(e+304|0,i,c,0)}b=v[p+4>>2];d=0;if(Pc(e+304|0,b,32)){break a}f=e+304|0;gc(f,i,c);d=w[b+44|0]|w[b+45|0]<<8|(w[b+46|0]<<16|w[b+47|0]<<24);b=w[b+40|0]|w[b+41|0]<<8|(w[b+42|0]<<16|w[b+43|0]<<24);t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;t[a+4|0]=d;t[a+5|0]=d>>>8;t[a+6|0]=d>>>16;t[a+7|0]=d>>>24;ou(f,k,f);if((o|0)==6){qy(e+304|0,i,c,0)}c=e+496|0;YE(c,e+304|0);v[e+760>>2]=0;v[e+764>>2]=0;v[e+752>>2]=0;v[e+756>>2]=0;Or(c,v[n+4>>2],0);a=v[e+780>>2];b=v[e+776>>2];t[g+8|0]=b;t[g+9|0]=b>>>8;t[g+10|0]=b>>>16;t[g+11|0]=b>>>24;t[g+12|0]=a;t[g+13|0]=a>>>8;t[g+14|0]=a>>>16;t[g+15|0]=a>>>24;a=v[e+772>>2];b=v[e+768>>2];t[g|0]=b;t[g+1|0]=b>>>8;t[g+2|0]=b>>>16;t[g+3|0]=b>>>24;t[g+4|0]=a;t[g+5|0]=a>>>8;t[g+6|0]=a>>>16;t[g+7|0]=a>>>24;Or(c,v[n+4>>2]+16|0,0);a=v[e+780>>2];b=v[e+776>>2];t[g+24|0]=b;t[g+25|0]=b>>>8;t[g+26|0]=b>>>16;t[g+27|0]=b>>>24;t[g+28|0]=a;t[g+29|0]=a>>>8;t[g+30|0]=a>>>16;t[g+31|0]=a>>>24;a=v[e+772>>2];b=v[e+768>>2];t[g+16|0]=b;t[g+17|0]=b>>>8;t[g+18|0]=b>>>16;t[g+19|0]=b>>>24;t[g+20|0]=a;t[g+21|0]=a>>>8;t[g+22|0]=a>>>16;t[g+23|0]=a>>>24;d=1;break a}if(b){c=v[b+4>>2];b=v[b>>2];d:{if((b|0)<=31){j=e+304|0;gc(j,c,b);gc(b+j|0,1094640,32-b|0);break d}b=c;c=w[b+28|0]|w[b+29|0]<<8|(w[b+30|0]<<16|w[b+31|0]<<24);v[e+328>>2]=w[b+24|0]|w[b+25|0]<<8|(w[b+26|0]<<16|w[b+27|0]<<24);v[e+332>>2]=c;c=w[b+20|0]|w[b+21|0]<<8|(w[b+22|0]<<16|w[b+23|0]<<24);v[e+320>>2]=w[b+16|0]|w[b+17|0]<<8|(w[b+18|0]<<16|w[b+19|0]<<24);v[e+324>>2]=c;c=w[b+4|0]|w[b+5|0]<<8|(w[b+6|0]<<16|w[b+7|0]<<24);v[e+304>>2]=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);v[e+308>>2]=c;c=w[b+12|0]|w[b+13|0]<<8|(w[b+14|0]<<16|w[b+15|0]<<24);v[e+312>>2]=w[b+8|0]|w[b+9|0]<<8|(w[b+10|0]<<16|w[b+11|0]<<24);v[e+316>>2]=c}b=v[e+316>>2];v[e+816>>2]=v[e+312>>2];v[e+820>>2]=b;b=v[e+324>>2];v[e+824>>2]=v[e+320>>2];v[e+828>>2]=b;b=v[e+332>>2];v[e+832>>2]=v[e+328>>2];v[e+836>>2]=b;v[e+800>>2]=-1732584194;v[e+804>>2]=271733878;v[e+792>>2]=1732584193;v[e+796>>2]=-271733879;b=v[e+308>>2];v[e+808>>2]=v[e+304>>2];v[e+812>>2]=b;v[e+872>>2]=32;v[e+876>>2]=32;Rp(e+792|0);b=v[e+892>>2];v[e+312>>2]=v[e+888>>2];v[e+316>>2]=b;b=v[e+884>>2];v[e+304>>2]=v[e+880>>2];v[e+308>>2]=b;c=0;b=0;e:{f:{g:{h:{switch(o-2|0){case 0:break f;case 1:break h;default:break g}}j=0;if((d|0)<0){break g}l=(d|0)<64;while(1){v[e+872>>2]=0;v[e+876>>2]=0;v[e+800>>2]=-1732584194;v[e+804>>2]=271733878;v[e+792>>2]=1732584193;v[e+796>>2]=-271733879;b=0;c=e+304|0;f=d;if(!l){while(1){h=64-b|0;gc((b+e|0)+808|0,c,h);v[e+872>>2]=64;c=c+h|0;eo(e+792|0);b=v[e+872>>2];f=f-h|0;if((b+f|0)>63){continue}break}}if((f|0)>=1){gc((b+e|0)+808|0,c,f);v[e+872>>2]=v[e+872>>2]+f}v[e+876>>2]=d+v[e+876>>2];Rp(e+792|0);b=v[e+892>>2];v[e+312>>2]=v[e+888>>2];v[e+316>>2]=b;b=v[e+884>>2];v[e+304>>2]=v[e+880>>2];v[e+308>>2]=b;j=j+1|0;if((j|0)!=50){continue}break}}b=v[q+4>>2];c=w[b+28|0]|w[b+29|0]<<8|(w[b+30|0]<<16|w[b+31|0]<<24);v[e+296>>2]=w[b+24|0]|w[b+25|0]<<8|(w[b+26|0]<<16|w[b+27|0]<<24);v[e+300>>2]=c;c=w[b+20|0]|w[b+21|0]<<8|(w[b+22|0]<<16|w[b+23|0]<<24);v[e+288>>2]=w[b+16|0]|w[b+17|0]<<8|(w[b+18|0]<<16|w[b+19|0]<<24);v[e+292>>2]=c;c=w[b+4|0]|w[b+5|0]<<8|(w[b+6|0]<<16|w[b+7|0]<<24);v[e+272>>2]=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);v[e+276>>2]=c;c=w[b+12|0]|w[b+13|0]<<8|(w[b+14|0]<<16|w[b+15|0]<<24);v[e+280>>2]=w[b+8|0]|w[b+9|0]<<8|(w[b+10|0]<<16|w[b+11|0]<<24);v[e+284>>2]=c;h=d&-4;l=d&3;b=19;r=(d|0)<1;A=d-1>>>0<3;while(1){j=b;i:{if(r){break i}b=0;c=h;if(!A){while(1){f=e+304|0;t[b+e|0]=j^w[f+b|0];i=b|1;t[i+e|0]=j^w[f+i|0];i=b|2;t[i+e|0]=j^w[f+i|0];i=b|3;t[i+e|0]=j^w[f+i|0];b=b+4|0;c=c-4|0;if(c){continue}break}}c=l;if(!c){break i}while(1){t[b+e|0]=j^w[(e+304|0)+b|0];b=b+1|0;c=c-1|0;if(c){continue}break}}c=0;b=0;while(1){f=e+16|0;t[f+b|0]=b;i=b|1;t[i+f|0]=i;i=b|2;t[i+f|0]=i;i=b|3;t[i+f|0]=i;i=b|4;t[i+f|0]=i;i=b|5;t[i+f|0]=i;i=b|6;t[i+f|0]=i;i=f;f=b|7;t[i+f|0]=f;b=b+8|0;if((b|0)!=256){continue}break}b=0;i=0;while(1){f=b&255;b=e+16|0;m=b+c|0;n=w[m|0];i=(w[f+e|0]+(i&255)|0)+n|0;b=(i&255)+b|0;t[m|0]=w[b|0];t[b|0]=n;b=(f+1|0)%(d|0)|0;c=c+1|0;if((c|0)!=256){continue}break}b=0;f=0;while(1){c=b+1|0;i=e+16|0;y=c+i|0;m=w[y|0];f=m+f|0;z=(f&255)+i|0;n=w[z|0];t[y|0]=n;t[z|0]=m;b=(e+272|0)+b|0;t[b|0]=w[i+(m+n&255)|0]^w[b|0];b=c;if((b|0)!=32){continue}break}b=j-1|0;if(j){continue}break}break e}while(1){j=e+16|0;t[j+b|0]=b;h=b|1;t[h+j|0]=h;h=b|2;t[h+j|0]=h;h=b|3;t[h+j|0]=h;h=b|4;t[h+j|0]=h;h=b|5;t[h+j|0]=h;h=b|6;t[h+j|0]=h;h=j;j=b|7;t[h+j|0]=j;b=b+8|0;if((b|0)!=256){continue}break}b=0;while(1){j=b&255;b=e+16|0;h=b+c|0;l=w[h|0];i=(w[j+(e+304|0)|0]+(i&255)|0)+l|0;b=(i&255)+b|0;t[h|0]=w[b|0];t[b|0]=l;b=(j+1|0)%(d|0)|0;c=c+1|0;if((c|0)!=256){continue}break}i=v[q+4>>2];b=0;while(1){m=w[b+i|0];c=b+1|0;j=e+16|0;n=c+j|0;h=w[n|0];f=h+f|0;r=(f&255)+j|0;l=w[r|0];t[n|0]=l;t[r|0]=h;t[(e+272|0)+b|0]=m^w[j+(h+l&255)|0];b=c;if((b|0)!=32){continue}break}}b=fc(8);v[299999]=0;c=Y(3083,b|0,e+272|0,32)|0;f=v[299999];v[299999]=0;j:{if((f|0)!=1){if(!iT(o,d,q,p,s,u,c,g,x)){break j}v[a+12>>2]=1;Dc(c);dc(b);d=1;break a}a=P()|0;O()|0;dc(b);T(a|0);L()}Dc(c);dc(b)}d=iT(o,d,q,p,s,u,k,g,x)}Qb=e+896|0;return(d|0)!=0|0}function S_(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,z=0;h=Qb-240|0;Qb=h;v[h+8>>2]=0;f=6;a:{if(!b|!d&(c|0)>-1){break a}r=w[b|0]&2?v[b+16>>2]!=0:r;v[h+12>>2]=0;b:{if(!a){f=33;break b}i=v[a>>2];g=Ub[v[i+4>>2]](i,40)|0;c:{if(!g){f=64;break c}t[g+24|0]=0;t[g+25|0]=0;t[g+26|0]=0;t[g+27|0]=0;t[g+28|0]=0;t[g+29|0]=0;t[g+30|0]=0;t[g+31|0]=0;t[g|0]=0;t[g+1|0]=0;t[g+2|0]=0;t[g+3|0]=0;t[g+4|0]=0;t[g+5|0]=0;t[g+6|0]=0;t[g+7|0]=0;t[g+32|0]=0;t[g+33|0]=0;t[g+34|0]=0;t[g+35|0]=0;t[g+36|0]=0;t[g+37|0]=0;t[g+38|0]=0;t[g+39|0]=0;t[g+16|0]=0;t[g+17|0]=0;t[g+18|0]=0;t[g+19|0]=0;t[g+20|0]=0;t[g+21|0]=0;t[g+22|0]=0;t[g+23|0]=0;t[g+8|0]=0;t[g+9|0]=0;t[g+10|0]=0;t[g+11|0]=0;t[g+12|0]=0;t[g+13|0]=0;t[g+14|0]=0;t[g+15|0]=0;v[g+28>>2]=i;d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{l=v[b>>2];if(l&1){l=v[b+4>>2];m=v[b+8>>2];v[g+32>>2]=0;v[g+8>>2]=0;v[g+20>>2]=0;v[g+24>>2]=0;v[g>>2]=l;v[g+4>>2]=m;break m}n:{if(!(l&4)){if(!(l&2)|!v[b+16>>2]){break n}Ub[v[i+8>>2]](i,g);g=v[b+16>>2];break m}f=yv(g,v[b+12>>2]);v[g+16>>2]=v[b+12>>2];if(!f){break m}}Ub[v[i+8>>2]](i,g);v[h+12>>2]=0;l=0;break l}v[g+28>>2]=i;v[h+12>>2]=g;s=v[a>>2];o:{m=v[b>>2];if(!(m&8)){break o}l=v[b+20>>2];if(!l){break o}f=32;if(t[v[l>>2]]&1){g=0;a=l;f=h+12|0;e=r;i=c;if(m&16){g=v[b+28>>2];b=v[b+24>>2]}else{b=0}f=R_(a,f,e,i,b,g,h+8|0);if(!f){break j}g=v[h+12>>2];if(!g){break b}i=v[g+28>>2]}a=v[g+24>>2];if(a){Ub[a|0](g)}if(r){break b}Ub[v[i+8>>2]](i,g);break b}l=v[a+16>>2];if((l|0)<1){f=11;l=0;break c}m=((l<<2)+a|0)+20|0;g=a+20|0;f=11;i=0;while(1){l=v[g>>2];if(t[v[l>>2]]&1){f=0;i=0;if(w[b|0]&16){f=v[b+24>>2];i=v[b+28>>2]}f=R_(l,h+12|0,r,c,f,i,h+8|0);if(!f){break j}p:{if(!e){break p}if(mc(v[v[v[g>>2]>>2]+8>>2],278818)|(f&255)!=142){break p}i=v[h+12>>2];f=v[i+20>>2];if(f){if(Ub[f|0](i,0,0,0)|0){break k}}v[i+8>>2]=0;f=Q_(a,i,c,d);if(f){break p}a=v[i+28>>2];b=v[i+24>>2];if(b){Ub[b|0](i)}f=0;if(r){break a}Ub[v[a+8>>2]](a,i);break a}if((f&255)!=2){break l}i=l}g=g+4|0;if(m>>>0>g>>>0){continue}break}l=i}q:{r:{i=f&255;switch(i-81|0){case 0:case 4:break q;case 1:case 2:case 3:break c;default:break r}}if((i|0)!=2){break c}}if(!e){break e}i=v[h+12>>2];if(i){break k}i=0;x=1;break i}e=v[i+20>>2];if(e){if(Ub[e|0](i,0,0,0)|0){break i}}v[i+8>>2]=0;e=v[i+4>>2];if(!e){break i}g=v[i+20>>2];s:{if(g){f=Ub[g|0](i,0,h+112|0,128)|0;break s}f=e>>>0<128?e:128;gc(h+112|0,v[i>>2],f)}v[i+8>>2]=f;if(f>>>0<128){break i}t:{u:{if(w[h+194|0]|(w[h+112|0]|w[h+186|0])){break u}e=w[h+113|0];if(!e|e>>>0>33|(w[h+175|0]|w[(e+h|0)+114|0])){break u}e=t[h+195|0];if((e|0)<0){break u}f=XH(a,i,(w[h+198|0]|(w[h+196|0]<<16|(e&255)<<24|w[h+197|0]<<8))+255&-128,c,d);if((f&255)!=2){break t}}f=XH(a,i,0,c,d)}e=f&255;if((e|0)==85){break h}if((e|0)!=2){break g}break h}b=Ub[v[s+4>>2]](s,12)|0;if(!b){f=64;break b}t[b|0]=0;t[b+1|0]=0;t[b+2|0]=0;t[b+3|0]=0;t[b+4|0]=0;t[b+5|0]=0;t[b+6|0]=0;t[b+7|0]=0;a=v[h+8>>2];v[b+8>>2]=a;e=v[a+96>>2];l=v[e+20>>2];v[b>>2]=l;v[b+4>>2]=0;v[(l?l+4|0:e+16|0)>>2]=b;v[e+20>>2]=b;v:{if((c|0)>=0){f=YH(a,0);if(f){break v}f=P_(a,h+112|0);if(f){break v}v[a+88>>2]=v[h+112>>2]}b=v[a+8>>2];w:{if(!(b&1)){break w}f=u[a+74>>1];if((f|0)<=-1){f=0-f|0;u[a+74>>1]=f}if(b&32){break w}u[a+78>>1]=f}x:{if(!(b&2)){break x}c=v[a+28>>2];if((c|0)<1){break x}e=v[a+32>>2];f=0;while(1){b=e+(f<<4)|0;l=u[b>>1];if((l|0)<=-1){l=0-l|0;u[b>>1]=l}i=v[b+8>>2];if((i|0)<=-1){v[b+8>>2]=0-i}i=v[b+12>>2];if((i|0)<=-1){v[b+12>>2]=0-i}if(l<<16>>16<=-1){v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0}f=f+1|0;if((c|0)!=(f|0)){continue}break}}b=v[a+128>>2];v[b+64>>2]=1;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=65536;v[b>>2]=65536;v[b+4>>2]=0;t[b+56|0]=255;if(d){v[d>>2]=a;f=0;break a}dA(a);f=0;break a}c=v[a+96>>2];if(!c){break a}d=v[a+128>>2];b=v[d+64>>2];v[d+64>>2]=b-1;if((b|0)>1){break a}b=v[c+16>>2];if(!b){break a}l=c+16|0;d=v[c+8>>2];while(1){if((a|0)!=v[b+8>>2]){b=v[b+4>>2];if(b){continue}break a}break}e=v[b>>2];i=e?e+4|0:l;l=v[b+4>>2];v[i>>2]=l;v[(l?l:c+20|0)>>2]=e;Ub[v[d+8>>2]](d,b);As(d,a,c);break a}f=85}if(!(w[b|0]&4)){break g}p=v[a>>2];m=v[b+12>>2];n=h- -64|0;g=h+112|0;v[g>>2]=0;y:{if(i){e=h;j=v[i+20>>2];z:{if(j){f=85;if(Ub[j|0](i,0,0,0)|0){break z}}v[i+8>>2]=0;v[h+16>>2]=0;v[g>>2]=0;f=pq(i,333319,n)}v[e+16>>2]=f;v[g+4>>2]=0;A:{B:{e=v[i+20>>2];if(!e){break B}if(!(Ub[e|0](i,0,0,0)|0)){break B}v[h+20>>2]=85;break A}v[i+8>>2]=0;v[h+20>>2]=0;v[g+4>>2]=0;y=h,z=pq(i,333312,n+4|0),v[y+20>>2]=z}v[g+8>>2]=0;C:{D:{e=v[i+20>>2];if(!e){break D}if(!(Ub[e|0](i,0,0,0)|0)){break D}v[h+24>>2]=85;break C}v[i+8>>2]=0;v[h+24>>2]=0;y=h,z=UH(a,i,m,g+8|0,n+8|0),v[y+24>>2]=z}v[g+12>>2]=0;E:{F:{e=v[i+20>>2];if(!e){break F}if(!(Ub[e|0](i,0,0,0)|0)){break F}v[h+28>>2]=85;break E}v[i+8>>2]=0;v[h+28>>2]=0;f=Bc(m);j=f+18|0;e=h;G:{H:{if((f|0)<=-18){o=6;if(j){break G}break H}k=v[a>>2];k=Ub[v[k+4>>2]](k,j)|0;o=64;if(!k){break G}ic(k,0,j)}o=gc(k,m,f);f=o+f|0;j=w[292848]|w[292849]<<8;t[f+16|0]=j;t[f+17|0]=j>>>8;j=w[292844]|w[292845]<<8|(w[292846]<<16|w[292847]<<24);k=w[292840]|w[292841]<<8|(w[292842]<<16|w[292843]<<24);t[f+8|0]=k;t[f+9|0]=k>>>8;t[f+10|0]=k>>>16;t[f+11|0]=k>>>24;t[f+12|0]=j;t[f+13|0]=j>>>8;t[f+14|0]=j>>>16;t[f+15|0]=j>>>24;j=w[292836]|w[292837]<<8|(w[292838]<<16|w[292839]<<24);k=w[292832]|w[292833]<<8|(w[292834]<<16|w[292835]<<24);t[f|0]=k;t[f+1|0]=k>>>8;t[f+2|0]=k>>>16;t[f+3|0]=k>>>24;t[f+4|0]=j;t[f+5|0]=j>>>8;t[f+6|0]=j>>>16;t[f+7|0]=j>>>24;v[g+12>>2]=o;v[n+12>>2]=0;o=0}v[e+28>>2]=o}v[g+16>>2]=0;I:{J:{e=v[i+20>>2];if(!e){break J}if(!(Ub[e|0](i,0,0,0)|0)){break J}v[h+32>>2]=85;break I}v[i+8>>2]=0;v[h+32>>2]=0;o=6;e=Bc(m);f=e+6|0;K:{L:{if((e|0)<=-6){if(f){break K}k=0;break L}j=v[a>>2];k=Ub[v[j+4>>2]](j,f)|0;if(!k){o=64;break K}ic(k,0,f)}o=0;j=gc(k,m,e);e=j+e|0;f=w[292848]|w[292849]<<8;t[e+4|0]=f;t[e+5|0]=f>>>8;f=w[292844]|w[292845]<<8|(w[292846]<<16|w[292847]<<24);t[e|0]=f;t[e+1|0]=f>>>8;t[e+2|0]=f>>>16;t[e+3|0]=f>>>24;v[g+16>>2]=j;v[n+16>>2]=0}v[h+32>>2]=o}v[g+20>>2]=0;M:{N:{e=v[i+20>>2];if(!e){break N}if(!(Ub[e|0](i,0,0,0)|0)){break N}v[h+36>>2]=85;break M}v[i+8>>2]=0;v[h+36>>2]=0;e=h;f=kn(v[a>>2],m,335543);if(f){v[g+20>>2]=f;v[n+20>>2]=0;f=0}else{f=64}v[e+36>>2]=f}v[g+24>>2]=0;O:{P:{e=v[i+20>>2];if(!e){break P}if(!(Ub[e|0](i,0,0,0)|0)){break P}v[h+40>>2]=85;break O}v[i+8>>2]=0;v[h+40>>2]=0;e=h;f=kn(v[a>>2],m,335571);if(f){v[g+24>>2]=f;v[n+24>>2]=0;f=0}else{f=64}v[e+40>>2]=f}v[g+28>>2]=0;Q:{R:{e=v[i+20>>2];if(!e){break R}if(!(Ub[e|0](i,0,0,0)|0)){break R}v[h+44>>2]=85;break Q}v[i+8>>2]=0;v[h+44>>2]=0;y=h,z=TH(a,i,m,g+28|0,n+28|0),v[y+44>>2]=z}v[g+32>>2]=0;S:{e=v[i+20>>2];if(!e){break S}if(!(Ub[e|0](i,0,0,0)|0)){break S}v[h+48>>2]=85;break y}v[i+8>>2]=0;v[h+48>>2]=0;y=h,z=SH(a,i,m,g+32|0,n+32|0),v[y+48>>2]=z;break y}v[g>>2]=0;v[h+16>>2]=81;v[g+4>>2]=0;v[h+20>>2]=81;v[g+8>>2]=0;v[h+24>>2]=0;y=h,z=UH(a,0,m,g+8|0,n+8|0),v[y+24>>2]=z;v[g+12>>2]=0;v[h+28>>2]=0;f=Bc(m);k=f+18|0;e=h;T:{U:{if((f|0)<=-18){q=6;if(k){break T}break U}j=v[a>>2];j=Ub[v[j+4>>2]](j,k)|0;q=64;if(!j){break T}ic(j,0,k)}q=gc(j,m,f);f=q+f|0;j=w[292848]|w[292849]<<8;t[f+16|0]=j;t[f+17|0]=j>>>8;j=w[292844]|w[292845]<<8|(w[292846]<<16|w[292847]<<24);k=w[292840]|w[292841]<<8|(w[292842]<<16|w[292843]<<24);t[f+8|0]=k;t[f+9|0]=k>>>8;t[f+10|0]=k>>>16;t[f+11|0]=k>>>24;t[f+12|0]=j;t[f+13|0]=j>>>8;t[f+14|0]=j>>>16;t[f+15|0]=j>>>24;j=w[292836]|w[292837]<<8|(w[292838]<<16|w[292839]<<24);k=w[292832]|w[292833]<<8|(w[292834]<<16|w[292835]<<24);t[f|0]=k;t[f+1|0]=k>>>8;t[f+2|0]=k>>>16;t[f+3|0]=k>>>24;t[f+4|0]=j;t[f+5|0]=j>>>8;t[f+6|0]=j>>>16;t[f+7|0]=j>>>24;v[g+12>>2]=q;v[n+12>>2]=0;q=0}v[e+28>>2]=q;v[g+16>>2]=0;v[h+32>>2]=0;j=6;e=Bc(m);f=e+6|0;V:{W:{if((e|0)<=-6){if(!f){break W}break V}j=v[a>>2];o=Ub[v[j+4>>2]](j,f)|0;if(!o){j=64;break V}ic(o,0,f)}j=0;k=gc(o,m,e);e=k+e|0;f=w[292848]|w[292849]<<8;t[e+4|0]=f;t[e+5|0]=f>>>8;f=w[292844]|w[292845]<<8|(w[292846]<<16|w[292847]<<24);t[e|0]=f;t[e+1|0]=f>>>8;t[e+2|0]=f>>>16;t[e+3|0]=f>>>24;v[g+16>>2]=k;v[n+16>>2]=0}v[h+32>>2]=j;v[g+20>>2]=0;v[h+36>>2]=0;e=h;f=kn(v[a>>2],m,335543);if(f){v[g+20>>2]=f;v[n+20>>2]=0;f=0}else{f=64}v[e+36>>2]=f;v[g+24>>2]=0;v[h+40>>2]=0;e=h;f=kn(v[a>>2],m,335571);if(f){v[g+24>>2]=f;v[n+24>>2]=0;f=0}else{f=64}v[e+40>>2]=f;v[g+28>>2]=0;v[h+44>>2]=0;y=h,z=TH(a,0,m,g+28|0,n+28|0),v[y+44>>2]=z;v[g+32>>2]=0;v[h+48>>2]=0;y=h,z=SH(a,0,m,g+32|0,n+32|0),v[y+48>>2]=z}e=0;j=2;f=0;while(1){X:{o=v[(f<<3)+380612>>2]-3|0;Y:{if(e&255?o>>>0<=1:0){break Y}q=f<<2;if(v[q+(h+16|0)>>2]){break Y}k=v[(h+112|0)+q>>2];if(!k){k=v[b+12>>2]}Z:{n=v[a>>2];m=Ub[v[n+4>>2]](n,40)|0;_:{if(!m){j=64;break _}g=m;t[g+24|0]=0;t[g+25|0]=0;t[g+26|0]=0;t[g+27|0]=0;t[g+28|0]=0;t[g+29|0]=0;t[g+30|0]=0;t[g+31|0]=0;t[g|0]=0;t[g+1|0]=0;t[g+2|0]=0;t[g+3|0]=0;t[g+4|0]=0;t[g+5|0]=0;t[g+6|0]=0;t[g+7|0]=0;t[g+32|0]=0;t[g+33|0]=0;t[g+34|0]=0;t[g+35|0]=0;t[g+36|0]=0;t[g+37|0]=0;t[g+38|0]=0;t[g+39|0]=0;t[g+16|0]=0;t[g+17|0]=0;t[g+18|0]=0;t[g+19|0]=0;t[g+20|0]=0;t[g+21|0]=0;t[g+22|0]=0;t[g+23|0]=0;t[g+8|0]=0;t[g+9|0]=0;t[g+10|0]=0;t[g+11|0]=0;t[g+12|0]=0;t[g+13|0]=0;t[g+14|0]=0;t[g+15|0]=0;v[g+28>>2]=n;j=yv(g,k);v[g+16>>2]=k;if(!j){break Z}Ub[v[n+8>>2]](n,m)}e=o>>>0<2?(j&255)==81?1:e:e;break Y}v[m+28>>2]=n;j=XH(a,m,v[(h- -64|0)+q>>2],c,d);g=v[m+28>>2];n=v[m+24>>2];if(n){Ub[n|0](m)}Ub[v[g+8>>2]](g,m);if(!j){j=0;break X}e=o>>>0<2?1:e}f=f+1|0;if((f|0)!=9){continue}}break}a=v[h+112>>2];if(a){Ub[v[p+8>>2]](p,a);v[h+112>>2]=0}a=v[h+116>>2];if(a){Ub[v[p+8>>2]](p,a);v[h+116>>2]=0}a=v[h+120>>2];if(a){Ub[v[p+8>>2]](p,a);v[h+120>>2]=0}a=v[h+124>>2];if(a){Ub[v[p+8>>2]](p,a)}a=v[h+128>>2];if(a){Ub[v[p+8>>2]](p,a)}a=v[h+132>>2];if(a){Ub[v[p+8>>2]](p,a)}a=v[h+136>>2];if(a){Ub[v[p+8>>2]](p,a)}a=v[h+140>>2];if(a){Ub[v[p+8>>2]](p,a)}a=v[h+144>>2];if(a){Ub[v[p+8>>2]](p,a)}if(!j){break f}break d}if(f){break e}}f=0;if(x){break a}a=v[i+28>>2];b=v[i+24>>2];if(b){Ub[b|0](i)}if(r){break a}Ub[v[a+8>>2]](a,i);break a}if((f&255)!=2){break c}}f=2}a=v[h+12>>2];if(!a){break b}b=v[a+28>>2];c=v[a+24>>2];if(c){Ub[c|0](a)}if(r){break b}Ub[v[b+8>>2]](b,a)}a=v[h+8>>2];if(!a){break a}As(s,a,l)}Qb=h+240|0;return f}function lsa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0,B=0,C=0,D=0;p=Qb-16|0;Qb=p;v[p+8>>2]=d;v[p+12>>2]=c;a=v[a+4>>2];if(a){a:{e=Qb-208|0;Qb=e;c=v[a+12>>2];v[e+16>>2]=0;v[e+136>>2]=0;v[e+112>>2]=0;It(c,b,e+16|0,e+136|0,e+112|0);d=v[e+16>>2];m=v[e+136>>2];j=v[e+112>>2];a=v[a+12>>2];v[299999]=0;fa(4351,e+200|0,a|0,b|0,1,0);a=v[299999];v[299999]=0;b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{if((a|0)!=1){v[299999]=0;a=S(1,12)|0;b=v[299999];v[299999]=0;P:{if((b|0)==1){break P}v[a+8>>2]=0;v[a>>2]=981352;v[a+4>>2]=0;v[299999]=0;v[e+192>>2]=0;Q(4336,e+192|0,a|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break P}v[299999]=0;V(4356,e+184|0,v[e+200>>2]);a=v[299999];v[299999]=0;if((a|0)!=1){b=0;Q:{R:{if(!v[e+184>>2]){break R}v[299999]=0;V(4357,v[e+192>>2],e+184|0);a=v[299999];v[299999]=0;if((a|0)==1){break Q}v[299999]=0;a=v[e+192>>2];b=S(4358,v[e+200>>2])|0;c=v[299999];v[299999]=0;if((c|0)==1){break h}v[299999]=0;U(4359,e+176|0,a|0,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break h}v[299999]=0;q=e+168|0;v[q>>2]=0;a=v[299999];v[299999]=0;if((a|0)==1){break j}v[299999]=0;r=e+160|0;v[r>>2]=0;a=v[299999];v[299999]=0;if((a|0)==1){break l}v[299999]=0;s=e+152|0;v[s>>2]=0;a=v[299999];v[299999]=0;if((a|0)==1){break n}v[299999]=0;b=Q(4361,e+176|0,-1)|0;a=v[299999];v[299999]=0;if((a|0)==1){break p}a=Bc(b);if(a>>>0>=4294967280){v[299999]=0;R(2530,e+16|0);a=v[299999];v[299999]=0;if((a|0)==1){break p}L()}S:{T:{if(a>>>0>=11){v[299999]=0;c=a+16&-16;g=S(1,c|0)|0;k=v[299999];v[299999]=0;if((k|0)==1){break p}v[e+16>>2]=g;v[e+20>>2]=a;v[e+24>>2]=c|-2147483648;break T}t[e+27|0]=a;g=e+16|0;if(!a){break S}}gc(g,b,a)}t[a+g|0]=0;v[299999]=0;Q(4095,q|0,e+16|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break q}if(t[e+27|0]<=-1){dc(v[e+16>>2])}v[299999]=0;a=S(1,48)|0;b=v[299999];v[299999]=0;if((b|0)==1){break r}v[e+16>>2]=a;v[e+20>>2]=10;v[e+24>>2]=-2147483636;v[299999]=0;tc(a,981036,10);b=v[299999];v[299999]=0;if((b|0)==1){break b}v[a+40>>2]=0;v[299999]=0;Y(4362,q|0,e+16|0,r|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break s}if(t[e+27|0]<=-1){dc(v[e+16>>2])}v[299999]=0;a=S(1,32)|0;b=v[299999];v[299999]=0;if((b|0)==1){break t}v[e+16>>2]=a;v[e+20>>2]=6;v[e+24>>2]=-2147483640;v[299999]=0;tc(a,981080,6);b=v[299999];v[299999]=0;if((b|0)==1){break b}v[a+24>>2]=0;v[299999]=0;Y(4362,r|0,e+16|0,s|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break u}if(t[e+27|0]<=-1){dc(v[e+16>>2])}b=jc(1e3);v[b>>2]=0;v[299999]=0;k=S(4384,v[e+200>>2])|0;a=v[299999];v[299999]=0;if((a|0)==1){break w}n=v[p+12>>2];o=v[p+8>>2];v[299999]=0;c=e+136|0;v[c+8>>2]=0;v[c>>2]=0;v[c+4>>2]=0;a=v[299999];v[299999]=0;if((a|0)==1){break x}v[299999]=0;a=S(1,48)|0;f=v[299999];v[299999]=0;if((f|0)==1){break y}v[e+16>>2]=a;v[e+20>>2]=9;v[e+24>>2]=-2147483636;v[299999]=0;tc(a,981108,9);f=v[299999];v[299999]=0;if((f|0)==1){break b}v[a+36>>2]=0;v[299999]=0;Y(4373,s|0,e+16|0,c|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break z}u=+(j|0);x=u*+(o|0)/25.4;if(t[e+27|0]<=-1){dc(v[e+16>>2])}h=b+4|0;C=25.4/+(k|0);x=x/+(m|0);u=u*+(n|0)/25.4/+(d|0);d=1e3;g=4;U:{V:{W:{X:{Y:{Z:{_:while(1){v[299999]=0;a=v[c+4>>2]-v[c>>2]>>2;m=v[299999];v[299999]=0;$:{if((m|0)!=1){if((a|0)>(B|0)){break $}t[b|0]=g;t[b+1|0]=g>>>8;t[b+2|0]=g>>>16;t[b+3|0]=g>>>24;qj(c);Nf(s);Nf(r);Nf(q);ec(e+176|0);a=v[e+184>>2];v[e+184>>2]=0;if(!a){break R}v[299999]=0;c=v[a+4>>2]-1|0;v[a+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)!=1){if(c){break R}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break R}}break b}d=W(0)|0;O()|0;break A}v[299999]=0;n=e+128|0;v[n>>2]=0;a=v[299999];v[299999]=0;if((a|0)==1){break B}v[299999]=0;Y(4375,c|0,B|0,n|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break D}v[299999]=0;m=e+112|0;v[m+8>>2]=0;v[m>>2]=0;v[m+4>>2]=0;a=v[299999];v[299999]=0;if((a|0)==1){break E}v[299999]=0;a=S(1,32)|0;j=v[299999];v[299999]=0;if((j|0)==1){break G}v[e+16>>2]=a;v[e+20>>2]=4;v[e+24>>2]=-2147483640;v[299999]=0;tc(a,981148,4);j=v[299999];v[299999]=0;if((j|0)==1){break b}v[a+16>>2]=0;v[299999]=0;Y(4373,n|0,e+16|0,m|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break H}if(t[e+27|0]<=-1){dc(v[e+16>>2])}y=0;aa:while(1){v[299999]=0;a=v[m+4>>2]-v[m>>2]>>2;j=v[299999];v[299999]=0;ba:{if((j|0)!=1){if((a|0)>(y|0)){break ba}qj(m);Nf(n);B=B+1|0;continue _}d=W(0)|0;O()|0;break F}v[299999]=0;o=e+104|0;v[o>>2]=0;a=v[299999];v[299999]=0;if((a|0)==1){break I}v[299999]=0;Y(4375,m|0,y|0,o|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break K}v[299999]=0;j=e+88|0;v[j+8>>2]=0;v[j>>2]=0;v[j+4>>2]=0;a=v[299999];v[299999]=0;if((a|0)==1){break L}v[299999]=0;a=S(1,32)|0;k=v[299999];v[299999]=0;if((k|0)==1){break N}v[e+16>>2]=a;v[e+20>>2]=4;v[e+24>>2]=-2147483640;v[299999]=0;tc(a,981168,4);k=v[299999];v[299999]=0;if((k|0)==1){break b}v[a+16>>2]=0;v[299999]=0;Y(4373,o|0,e+16|0,j|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break O}if(t[e+27|0]<=-1){dc(v[e+16>>2])}z=0;while(1){v[299999]=0;a=v[j+4>>2]-v[j>>2]>>2;k=v[299999];v[299999]=0;ca:{if((k|0)!=1){if((a|0)>(z|0)){break ca}qj(j);Nf(o);y=y+1|0;continue aa}d=W(0)|0;O()|0;break M}v[299999]=0;k=e+80|0;v[k>>2]=0;a=v[299999];v[299999]=0;if((a|0)!=1){v[299999]=0;Y(4375,j|0,z|0,k|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break Z}v[299999]=0;V(4377,e- -64|0,k|0);a=v[299999];v[299999]=0;if((a|0)==1){break Y}v[299999]=0;v[e+16>>2]=0;t[e+27|0]=0;$(4378,e+48|0,k|0,981188,e+16|0);a=v[299999];v[299999]=0;if((a|0)==1){break X}if(t[e+27|0]<=-1){dc(v[e+16>>2])}v[299999]=0;La(4379,e|0,e+48|0,e+16|0,+C);a=v[299999];v[299999]=0;if((a|0)==1){break W}v[299999]=0;a=t[e+75|0];f=(a|0)<0;$(2656,e|0,(f?v[e+64>>2]:e- -64|0)|0,(f?v[e+68>>2]:a&255)|0,0);a=v[299999];v[299999]=0;if((a|0)==1){break W}a=w[e+11|0];f=a<<24>>24<0;D=f?v[e>>2]:e;f=f?v[e+4>>2]:a;i=f+4|0;da:{if(!b){g=0;d=i>>>0>1e3?i:1e3;a=jc(d);h=a;break da}a=g+i|0;if(a>>>0<=d>>>0){a=b;break da}while(1){d=d<<1;if(a>>>0>d>>>0){continue}break}a=be(b,d);if(!a){a=jc(d);gc(a,b,g);dc(b)}h=a+g|0}t[h|0]=f;t[h+1|0]=f>>>8;t[h+2|0]=f>>>16;t[h+3|0]=f>>>24;h=gc(h+4|0,D,f);l=u*A[e+16>>3]*100;ea:{if(l<4294967296&l>=0){b=~~l>>>0;break ea}b=0}fa:{if(!a){h=0;d=1e3;a=jc(1e3);f=a;break fa}f=f+h|0;h=g+i|0;i=h+4|0;if(i>>>0<=d>>>0){break fa}while(1){d=d<<1;if(i>>>0>d>>>0){continue}break}f=be(a,d);if(f){a=f;f=h+a|0;break fa}f=gc(jc(d),a,h);dc(a);a=f;f=h+a|0}t[f|0]=b;t[f+1|0]=b>>>8;t[f+2|0]=b>>>16;t[f+3|0]=b>>>24;l=x*A[e+40>>3]*100;ga:{if(l<4294967296&l>=0){b=~~l>>>0;break ga}b=0}ha:{if(!a){g=0;d=1e3;a=jc(1e3);f=a;break ha}g=h+4|0;i=h+8|0;f=f+4|0;if(i>>>0<=d>>>0){break ha}while(1){d=d<<1;if(i>>>0>d>>>0){continue}break}f=be(a,d);if(f){a=f;f=g+a|0;break ha}f=gc(jc(d),a,g);dc(a);a=f;f=g+a|0}t[f|0]=b;t[f+1|0]=b>>>8;t[f+2|0]=b>>>16;t[f+3|0]=b>>>24;l=u*(A[e+32>>3]-A[e+16>>3])*100;ia:{if(l<4294967296&l>=0){b=~~l>>>0;break ia}b=0}ja:{if(!a){h=0;d=1e3;a=jc(1e3);f=a;break ja}h=g+4|0;i=g+8|0;f=f+4|0;if(i>>>0<=d>>>0){break ja}while(1){d=d<<1;if(i>>>0>d>>>0){continue}break}f=be(a,d);if(f){a=f;f=h+a|0;break ja}f=gc(jc(d),a,h);dc(a);a=f;f=h+a|0}t[f|0]=b;t[f+1|0]=b>>>8;t[f+2|0]=b>>>16;t[f+3|0]=b>>>24;l=x*(A[e+24>>3]-A[e+40>>3])*100;ka:{if(l<4294967296&l>=0){i=~~l>>>0;break ka}i=0}la:{if(!a){g=0;d=1e3;b=jc(1e3);a=b;break la}g=h+4|0;b=h+8|0;if(b>>>0<=d>>>0){b=a;a=f+4|0;break la}while(1){d=d<<1;if(b>>>0>d>>>0){continue}break}b=be(a,d);if(!b){b=jc(d);gc(b,a,g);dc(a)}a=b+g|0}t[a|0]=i;t[a+1|0]=i>>>8;t[a+2|0]=i>>>16;t[a+3|0]=i>>>24;if(t[e+11|0]<=-1){dc(v[e>>2])}if(t[e+59|0]<=-1){dc(v[e+48>>2])}if(t[e+75|0]<=-1){dc(v[e+64>>2])}g=g+4|0;h=a+4|0;Nf(k);z=z+1|0;continue}break}break}break}d=W(0)|0;O()|0;break M}d=W(0)|0;O()|0;break U}d=W(0)|0;O()|0;break U}d=W(0)|0;O()|0;if(t[e+27|0]>-1){break V}dc(v[e+16>>2]);break V}d=W(0)|0;O()|0;if(t[e+59|0]>-1){break V}dc(v[e+48>>2])}if(t[e+75|0]>-1){break U}dc(v[e+64>>2])}Nf(k);break M}a=v[e+192>>2];v[e+192>>2]=0;ma:{if(!a){break ma}v[299999]=0;c=v[a+4>>2]-1|0;v[a+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break b}if(c){break ma}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break b}}a=v[e+200>>2];v[e+200>>2]=0;if(!a){break c}v[299999]=0;c=v[a+4>>2]-1|0;v[a+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)!=1){if(c){break c}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break c}}break b}d=W(0)|0;O()|0;break g}d=W(0)|0;O()|0;break f}d=W(0)|0;O()|0;break e}d=W(0)|0;O()|0;break d}d=W(0)|0;O()|0;if(t[e+27|0]>-1){break M}dc(v[e+16>>2]);break M}d=W(0)|0;O()|0}qj(j);break J}d=W(0)|0;O()|0;break J}d=W(0)|0;O()|0}Nf(o);break F}d=W(0)|0;O()|0;break F}d=W(0)|0;O()|0;if(t[e+27|0]>-1){break F}dc(v[e+16>>2]);break F}d=W(0)|0;O()|0}qj(m);break C}d=W(0)|0;O()|0;break C}d=W(0)|0;O()|0}Nf(n);break A}d=W(0)|0;O()|0}qj(c);if(!b){break o}break v}d=W(0)|0;O()|0;if(t[e+27|0]<=-1){dc(v[e+16>>2])}qj(c);break v}d=W(0)|0;O()|0;qj(c);break v}d=W(0)|0;O()|0;break v}d=W(0)|0;O()|0}dc(b);break o}d=W(0)|0;O()|0;if(t[e+27|0]>-1){break o}dc(v[e+16>>2]);break o}d=W(0)|0;O()|0;break o}d=W(0)|0;O()|0;if(t[e+27|0]>-1){break o}dc(v[e+16>>2]);break o}d=W(0)|0;O()|0;break o}d=W(0)|0;O()|0;if(t[e+27|0]>-1){break o}dc(v[e+16>>2]);break o}d=W(0)|0;O()|0}Nf(s);break m}d=W(0)|0;O()|0}Nf(r);break k}d=W(0)|0;O()|0}Nf(q);break i}d=W(0)|0;O()|0}ec(e+176|0);break g}d=W(0)|0;O()|0}a=v[e+184>>2];v[e+184>>2]=0;if(!a){break f}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break f}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break f}}break b}a=v[e+192>>2];v[e+192>>2]=0;if(!a){break e}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break e}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break e}}break b}a=v[e+200>>2];v[e+200>>2]=0;if(!a){break d}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break d}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break d}}break b}ea(d|0)|0;ka();b=0}Qb=e+208|0;break a}W(0)|0;O()|0;lc();L()}}else{b=0}Qb=p+16|0;return b|0}function U9a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;n=Qb-992|0;Qb=n;v[a>>2]=d;if(!d){j=n+8|0;v[j>>2]=0;v[j>>2]=0;a:{if(!b|!c){break a}d=1;b:{c:{d:{e:{f:{if(F0(j,b,c)){break f}g:{h:{i:{j:{k:{l:{if(c>>>0>=4){d=2;if(!Oc(b,3238,4)){break f}m:{n:{if(c>>>0>=6){if(!Oc(b,7905,6)){break f}if(!Oc(b,11005,6)){break f}if(c>>>0>15){break n}}e=w[b|0];break m}e=w[b|0];o:{if((e|0)!=137|w[b+1|0]!=80|(w[b+2|0]!=78|w[b+3|0]!=71)){break o}if(w[b+4|0]!=13|w[b+5|0]!=10|(w[b+6|0]!=26|w[b+7|0]!=10)){break o}if(w[b+8|0]|w[b+9|0]|(w[b+10|0]|w[b+11|0]!=13)){break o}if(w[b+12|0]!=73|w[b+13|0]!=72|w[b+14|0]!=68){break o}d=4;if(w[b+15|0]==82){break f}}if(c>>>0<17){break m}p:{q:{switch(w[b+1|0]){case 1:switch(w[b+2|0]-1|0){case 0:case 8:break p;default:break m};case 0:break q;default:break m}}d=w[b+2|0];if(d>>>0>11|!(1<>>3)&255)>>>0<4){break f}}if((e|0)!=10|w[b+1|0]>5){break l}d=8;e=w[b+3|0]-1&255;if(e>>>0>=8|!(139>>>e&1)){break l}break f}if((c|0)!=3){break k}}if(!(w[b|0]!=255|w[b+1|0]!=216|w[b+2|0]!=255)){d=3;break f}if(c>>>0>43){break j}}d=w[b|0];break i}d=w[b|0];if((d|0)!=1){break i}if(w[b+1|0]|w[b+2|0]|(w[b+3|0]|w[b+40|0]!=32)){break h}if(w[b+41|0]!=69|w[b+42|0]!=77){break h}d=21;if(w[b+43|0]!=70){break h}break f}if(!((d&255)!=215|c>>>0<6)){if(w[b+1|0]!=205|w[b+2|0]!=198|(w[b+4|0]|w[b+3|0]!=154)){break e}if(w[b+5|0]){break e}d=10;break f}if((d&255)!=1){break g}}if(w[b+1|0]|w[b+2|0]!=9|(w[b+3|0]|w[b+4|0])){break e}d=10;if(w[b+5|0]!=3){break e}break f}r:{s:{if(!((d&255)!=73|c>>>0<4)){if(w[b+1|0]!=73){break e}if(w[b+3|0]|w[b+2|0]!=42){break s}break r}t:{switch((d&255)-73|0){case 4:if(w[b+2|0]|w[b+1|0]!=77){break e}d=6;if(w[b+3|0]==42){break f}break e;case 0:break t;default:break e}}if(w[b+1|0]!=73){break e}}if(w[b+3|0]|w[b+2|0]!=42){break e}}d=6}v[j>>2]=d;f=c>>>0>15;break d}f=c>>>0>15;d=0;if(w[b+1|0]|(w[b|0]|c>>>0<16)){break d}e=v[b+18>>2];if(e>>>0>=c-40>>>0){break d}k=v[(b+e|0)+4>>2];e=w[b+6|0];if((k|0)!=((e?e:256)|0)){break d}d=5;v[j>>2]=5;e=22;if(zA(j,b,c)){break c}break b}e=22;if(zA(j,b,c)){break c}if(d){break b}u:{if(w[b|0]!=56|c>>>0<12|(w[b+1|0]!=66|w[b+2|0]!=80)){break u}if(w[b+6|0]|w[b+3|0]!=83|(w[b+7|0]|w[b+8|0]!=24)){break u}if(w[b+9|0]|w[b+10|0]){break u}e=20;if(w[b+11|0]==24){break c}}v:{if(!f|w[b|0]!=89|(w[b+1|0]!=166|w[b+2|0]!=106)){break v}if(w[b+5|0]|(w[b+4|0]|w[b+3|0]!=149)){break v}e=15;if(w[b+15|0]==24){break c}}d=0;if(w[b|0]!=255|c>>>0<52|(w[b+1|0]!=79|w[b+2|0]!=255)){break b}e=11;if(w[b+3|0]!=81){break b}}v[j>>2]=e;d=e}if(H$(j,b,c)){v[j>>2]=11;d=11}w:{x:{y:{if(!h$(j,b,c)){if(cA(j,b,c)){break y}if(d){break w}if(c>>>0>=6){break x}break w}v[j>>2]=11;if(!cA(j,b,c)){break w}}v[j>>2]=0;if(c>>>0<=5){break w}}z:{A:{if(w[b|0]!=86|w[b+1|0]!=67|(w[b+2|0]!=76|w[b+3|0]!=77)){break A}if(w[b+4|0]!=84|w[b+5|0]!=70|(w[b+9|0]|w[b+10|0])){break A}if(w[b+11|0]){break A}v[j>>2]=0;if(c>>>0>9){break z}break w}if(c>>>0<10){break w}}B:{C:{switch(w[b|0]-67|0){case 3:if(w[b+1|0]!=87|w[b+2|0]!=83){break w}if(!w[b+9|0]){break B}break w;case 0:break C;default:break w}}if(w[b+1|0]!=87|w[b+2|0]!=83|(w[b+8|0]!=120|w[b+9|0]!=156)){break w}}v[j>>2]=0}l=Qb-32|0;Qb=l;e=0;D:{if(v[j>>2]){break D}E:{if(w[b|0]!=60|c>>>0<6|(w[b+1|0]!=63|w[b+2|0]!=120)){break E}if(w[b+3|0]!=109|w[b+4|0]!=108|w[b+5|0]!=32){break E}m=o_(l+16|0,b,c);e=m;o=nm(l,13289);h=o;d=w[e+11|0];f=d<<24>>24<0;k=f?v[e+4>>2]:d;i=w[h+11|0];p=i<<24>>24<0;i=p?v[h+4>>2]:i;d=0;F:{if(!i){break F}d=k;k=f?v[e>>2]:e;e=d+k|0;f=k;d=e-f|0;G:{H:{if((i|0)>(d|0)){break H}h=p?v[h>>2]:h;p=w[h|0];while(1){q=d-i|0;d=q+1|0;if(d>>>0>>0){break H}d=fi(f,p,d);if(!d){break H}if(!Pc(d,h,i)){break G}f=d+1|0;d=e-f|0;if((i|0)<=(d|0)){continue}break}}d=e}d=(d|0)==(e|0)?-1:d-k|0}if(t[o+11|0]<=-1){dc(v[o>>2])}if(t[m+11|0]<=-1){dc(v[m>>2])}e=1;if((d|0)!=-1){break D}}e=0}Qb=l+32|0;if(!e){break a}v[j>>2]=24}d=v[j>>2];v[a>>2]=d}I:{if((d|0)==11){t[n+19|0]=0;v[n+8>>2]=0;j=!w[a+40|0];d=0;k=Qb-8240|0;Qb=k;ic(k+24|0,0,8212);e=0;J:{if(!b){break J}K:{L:{if((c|0)>=32){f=w[b|0];if(f){break L}if(w[b+1|0]|w[b+2|0]|(w[b+3|0]!=12|w[b+4|0]!=106)){break K}if(w[b+5|0]!=80|w[b+6|0]!=32|(w[b+7|0]!=32|w[b+8|0]!=13)){break K}if(w[b+9|0]!=10|w[b+10|0]!=135|(w[b+12|0]|w[b+11|0]!=10)){break K}if(w[b+13|0]|w[b+14|0]|(w[b+16|0]!=102|w[b+17|0]!=116)){break K}if(w[b+18|0]!=121|w[b+19|0]!=112|(w[b+20|0]!=106|w[b+21|0]!=112)){break K}if(w[b+22|0]!=50|w[b+23|0]!=32|(w[b+24|0]|w[b+25|0])){break K}if(w[b+26|0]){break K}e=!w[b+27|0];break K}if((c|0)<4){break J}f=w[b|0]}M:{if((f|0)!=255){break M}if(w[b+1|0]!=79){f=255;break M}f=255;if(w[b+2|0]!=255){break M}e=(w[b+3|0]==81)<<1}if(f|(c|0)<32){break J}}if(w[b+1|0]|w[b+2|0]|(w[b+3|0]!=12|w[b+4|0]!=106)){break J}if(w[b+5|0]!=80|w[b+6|0]!=32|(w[b+7|0]!=32|w[b+8|0]!=13)){break J}if(w[b+9|0]!=10|w[b+10|0]!=135|(w[b+12|0]|w[b+11|0]!=10)){break J}if(w[b+13|0]|w[b+14|0]|(w[b+15|0]!=24|w[b+16|0]!=102)){break J}if(w[b+17|0]!=116|w[b+18|0]!=121|(w[b+19|0]!=112|w[b+20|0]!=109)){break J}if(w[b+21|0]!=106|w[b+22|0]!=112|(w[b+24|0]|w[b+23|0]!=50)){break J}if(w[b+25|0]|w[b+26|0]|(w[b+27|0]|w[b+28|0]!=109)){break J}if(w[b+29|0]!=106|w[b+30|0]!=112){break J}e=w[b+31|0]==50?3:e}N:{O:{P:{switch(e-1|0){case 0:f=jc(24);e=0;Q:{if(!f){break Q}v[f>>2]=0;v[f+4>>2]=0;v[f+16>>2]=0;v[f+20>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;t[f|0]=1;e=Y1(f);v[f+12>>2]=e;if(!e){dc(f);e=0;break Q}v[f+4>>2]=2;v[f+8>>2]=0;h=v[e+4>>2];g=k+24|0;R:{if(!h|!g){break R}i=jc(96);if(!i){v[v[h>>2]+20>>2]=1;break R}i=ic(i,0,96);v[i+12>>2]=v[g>>2];v[i+16>>2]=v[g+4>>2];v[i+20>>2]=v[g+8>>2];v[h+44>>2]=i}S:{T:{U:{if(v[f+20>>2]){un(h);b=v[e+80>>2];if(b){dc(b);v[e+80>>2]=0}b=v[e+68>>2];if(b){dc(b);v[e+68>>2]=0}b=0;c=v[e+64>>2];if(c){break U}break T}e=fc(20);c=EJ(e,b,c);b=X1(v[f+12>>2],c);Ub[v[v[e>>2]+4>>2]](c);e=v[f+12>>2];if(!e){break S}un(v[e+4>>2]);c=v[e+80>>2];if(c){dc(c);v[e+80>>2]=0}c=v[e+68>>2];if(c){dc(c);v[e+68>>2]=0}c=v[e+64>>2];if(!c){break T}}dc(c)}dc(e)}dc(f);e=b}if(e){break O}break N;case 2:e=0;f=jc(24);V:{if(!f){break V}v[f>>2]=0;v[f+4>>2]=0;v[f+16>>2]=0;v[f+20>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;t[f|0]=1;e=jc(104);if(!e){dc(f);e=0;break V}h=k+24|0;g=ic(e,0,104);v[g>>2]=f;W:{e=jc(56);if(e){v[e>>2]=0;v[e+4>>2]=0;v[e+48>>2]=0;v[e+52>>2]=0;v[e+40>>2]=0;v[e+44>>2]=0;v[e+32>>2]=0;v[e+36>>2]=0;v[e+24>>2]=0;v[e+28>>2]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;v[e>>2]=f;i=jc(1876);if(i){break W}dc(e)}v[g+4>>2]=0;v[f+20>>2]=1;Ts(g);dc(f);e=0;break V}r=e,s=ic(i,0,1876),v[r+36>>2]=s;v[g+4>>2]=e;v[f+8>>2]=e;v[f+16>>2]=g;v[f+4>>2]=3;v[g+52>>2]=0;v[g+44>>2]=0;v[g+48>>2]=0;X:{if(h){i=jc(96);if(!i){break X}g=ic(i,0,96);v[g+12>>2]=v[h>>2];v[g+16>>2]=v[h+4>>2];v[g+20>>2]=v[h+8>>2];v[e+44>>2]=g}g=fc(20);b=EJ(g,b,c);e=V1(v[f+16>>2],b);Ub[v[v[g>>2]+4>>2]](b);Ts(v[f+16>>2]);dc(f);break V}v[f+20>>2]=1;Ts(g);dc(f);e=0}if(e){break O}break N;case 1:break P;default:break N}}f=jc(24);e=0;Y:{if(!f){break Y}h=k+24|0;v[f>>2]=0;v[f+4>>2]=0;v[f+16>>2]=0;v[f+20>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;t[f|0]=1;Z:{e=jc(56);if(e){v[e>>2]=0;v[e+4>>2]=0;v[e+48>>2]=0;v[e+52>>2]=0;v[e+40>>2]=0;v[e+44>>2]=0;v[e+32>>2]=0;v[e+36>>2]=0;v[e+24>>2]=0;v[e+28>>2]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;v[e>>2]=f;g=jc(1876);if(!g){dc(e);dc(f);e=0;break Y}r=e,s=ic(g,0,1876),v[r+36>>2]=s;v[f+12>>2]=0;v[f+8>>2]=e;v[f+4>>2]=0;if(h){g=jc(96);if(!g){break Z}g=ic(g,0,96);v[g+12>>2]=v[h>>2];v[g+16>>2]=v[h+4>>2];v[g+20>>2]=v[h+8>>2];v[e+44>>2]=g}e=fc(20);b=EJ(e,b,c);g=_A(v[f+8>>2],b);Ub[v[v[e>>2]+4>>2]](b);un(v[f+8>>2])}dc(f);e=g;break Y}v[f+20>>2]=1;un(e);dc(f);e=0}if(!e){break N}}b=v[e+24>>2];d=v[b+8>>2];v[k+20>>2]=d;f=v[b+12>>2];v[k+16>>2]=f;c=0;f=B(d,f)<<2;_:{$:{if((f|0)<=0){d=v[e+16>>2];if((d|0)<=0){break $}while(1){a=B(c,48)+b|0;g=v[a+44>>2];if(g){dc(g);v[a+44>>2]=0;d=v[e+16>>2];b=v[e+24>>2]}c=c+1|0;if((d|0)>(c|0)){continue}break}if(b){break $}break _}v[a+4>>2]=v[k+20>>2];v[a+8>>2]=v[k+16>>2];v[k+12>>2]=v[k+20>>2]<<2;v[a+12>>2]=v[k+12>>2];b=fc(f);v[a+16>>2]=b;aa:{ba:{a=v[e+16>>2];if((a|0)==3){d=v[e+24>>2];a=v[d>>2];if((a|0)!=v[d+48>>2]|(a|0)!=v[d+96>>2]){break ba}a=v[d+4>>2];if((a|0)!=v[d+52>>2]|(a|0)!=v[d+100>>2]){break ba}a=v[d+24>>2];if((a|0)!=v[d+72>>2]|(a|0)!=v[d+120>>2]){break ba}a=v[d+40>>2];c=-1<>2]>>a;a=c+v[d+8>>2]>>a;m=B(l,a);if((m|0)<1){break aa}c=0;o=v[k+20>>2];while(1){g=(c|0)/(a|0)|0;g=B(o,l+(g^-1)|0)+(c-B(a,g)|0)<<2;h=w[g+v[d+140>>2]|0];i=w[g+v[d+44>>2]|0];d=v[g+v[d+92>>2]>>2];t[b+3|0]=255;t[b+1|0]=d;t[b+2|0]=j?i:h;t[b|0]=j?h:i;c=c+1|0;if((m|0)==(c|0)){break aa}b=b+4|0;d=v[e+24>>2];continue}}d=v[e+24>>2];if((a|0)<4){break ba}a=v[d>>2];if((a|0)!=v[d+48>>2]|(a|0)!=v[d+96>>2]|(a|0)!=v[d+144>>2]){break ba}a=v[d+4>>2];if((a|0)!=v[d+52>>2]|(a|0)!=v[d+100>>2]|(a|0)!=v[d+148>>2]){break ba}a=v[d+24>>2];if((a|0)!=v[d+72>>2]|(a|0)!=v[d+120>>2]|(a|0)!=v[d+168>>2]){break ba}a=v[d+40>>2];c=-1<>2]>>a;g=c+v[d+8>>2]>>a;m=B(l,g);if((m|0)<1){break aa}c=0;o=v[k+20>>2];while(1){a=(c|0)/(g|0)|0;a=B(o,l+(a^-1)|0)+(c-B(a,g)|0)<<2;h=w[a+v[d+140>>2]|0];i=w[a+v[d+44>>2]|0];p=v[a+v[d+92>>2]>>2];t[b+3|0]=v[a+v[d+188>>2]>>2];t[b+1|0]=p;t[b+2|0]=j?i:h;t[b|0]=j?h:i;c=c+1|0;if((m|0)==(c|0)){break aa}b=b+4|0;d=v[e+24>>2];continue}}a=v[d+40>>2];c=-1<>2]>>a;g=c+v[d+8>>2]>>a;h=B(j,g);if((h|0)<1){break aa}c=0;i=v[k+20>>2];while(1){a=(c|0)/(g|0)|0;a=w[v[d+44>>2]+(B(i,j+(a^-1)|0)+(c-B(a,g)|0)<<2)|0];t[b+3|0]=255;t[b+2|0]=a;t[b+1|0]=a;t[b|0]=a;c=c+1|0;if((h|0)==(c|0)){break aa}b=b+4|0;d=v[e+24>>2];continue}}b=v[e+24>>2];if(!b){break _}c=0;d=v[e+16>>2];if((d|0)<=0){break $}while(1){a=B(c,48)+b|0;g=v[a+44>>2];if(g){dc(g);v[a+44>>2]=0;d=v[e+16>>2];b=v[e+24>>2]}c=c+1|0;if((d|0)>(c|0)){continue}break}if(!b){break _}}dc(b)}dc(e);d=(f|0)>0}Qb=k+8240|0;b=d;if(t[n+19|0]>-1){break I}dc(v[n+8>>2]);break I}d=gf(n+8|0,0);f=v[a>>2];e=Qb-32|0;Qb=e;c=wJ(e,b,c);b=Mz(d,c,f);UA(c);Qb=e+32|0;if(b){V2(d,a);r=a,s=Uo(d),t[r+28|0]=s}v[d>>2]=1032;_g(d);Jg(d)}Qb=n+992|0;return b|0}function Ay(a){var 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;j=Qb-48|0;Qb=j;a:{if(v[a+292>>2]){break a}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break a}nd(a)}c=v[a+36>>2];b:{while(1){c:{d:{i=v[c+16>>2];b=w[i|0];if((b|0)!=60){if(!b|v[a+172>>2]==-1){break b}m=v[c+36>>2];if((b|0)!=38){break d}tU(a);break c}b=w[i+1|0];if((b|0)==47|v[a+172>>2]==-1){break b}m=v[c+36>>2];e:{if((b|0)!=33){if((b|0)!=63){break e}Tr(a);break c}f:{if(w[i+2|0]!=91|w[i+3|0]!=67|(w[i+4|0]!=68|w[i+5|0]!=65)){break f}if(w[i+6|0]!=84|w[i+7|0]!=65|w[i+8|0]!=91){break f}h=0;k=0;g=Qb-16|0;Qb=g;e=v[a+36>>2];b=v[e+16>>2];g:{if(w[b|0]!=60|w[b+1|0]!=33|(w[b+2|0]!=91|w[b+3|0]!=67)){break g}if(w[b+4|0]!=68|w[b+5|0]!=65|(w[b+6|0]!=84|w[b+7|0]!=65)){break g}if(w[b+8|0]!=91){break g}v[a+200>>2]=v[a+200>>2]+9;v[e+16>>2]=b+9;v[e+32>>2]=v[e+32>>2]+9;b=w[b+9|0];if((b|0)==37){wd(a);e=v[a+36>>2];b=w[v[e+16>>2]]}h:{if(b&255){break h}if((cd(e)|0)>0){break h}vd(a)}v[a+172>>2]=8;i:{e=bf(a,g+12|0);j:{if((e|0)<=255){if((e|0)>31){break i}if(!(1<>>0>13){break j}break i}if((e|0)<55296|e-65536>>>0<1048576|e-57344>>>0<8190){break i}}te(a,63,0);v[a+172>>2]=7;break g}b=v[a+36>>2];c=v[b+16>>2];k:{if(w[c|0]==10){v[b+32>>2]=1;v[b+28>>2]=v[b+28>>2]+1;break k}v[b+32>>2]=v[b+32>>2]+1}d=b;b=c+v[g+12>>2]|0;v[d+16>>2]=b;if(w[b|0]==37){wd(a)}l:{c=bf(a,g+8|0);m:{if((c|0)<=255){if((c|0)>31){break l}if(!(1<>>0>13){break m}break l}if((c|0)<55296|c-65536>>>0<1048576|c-57344>>>0<8190){break l}}te(a,63,0);v[a+172>>2]=7;break g}b=v[a+36>>2];d=v[b+16>>2];n:{if(w[d|0]==10){v[b+32>>2]=1;v[b+28>>2]=v[b+28>>2]+1;break n}v[b+32>>2]=v[b+32>>2]+1}f=b;b=d+v[g+8>>2]|0;v[f+16>>2]=b;if(w[b|0]==37){wd(a)}f=bf(a,g+4|0);l=100;d=Ub[v[259707]](100)|0;if(d){while(1){o:{p:{q:{r:{s:{if((f|0)<=255){if((f|0)>31){break r}if(!(1<>>0>13){break s}break q}if((f|0)<55296|f-65536>>>0<1048576|f-57344>>>0<8190){break q}}t[d+h|0]=0;v[a+172>>2]=7;hf(a,63,349243,d);Ub[v[259708]](d);break g}if((e|0)!=93|(c|0)!=93){break q}if((f|0)==62){break p}}if((h+5|0)<(l|0)){b=d;break o}if(!(w[a+362|0]&8|(l|0)<10000001)){hf(a,63,287682,0);Ub[v[259708]](d);break g}l=l<<1;b=Ub[v[259709]](d,l)|0;if(b){break o}Ub[v[259708]](d);Qd(a,0);break g}t[d+h|0]=0;v[a+172>>2]=7;b=v[a+36>>2];c=v[b+16>>2];t:{if(w[c|0]==10){v[b+32>>2]=1;v[b+28>>2]=v[b+28>>2]+1;break t}v[b+32>>2]=v[b+32>>2]+1}f=b;b=c+v[g+4>>2]|0;v[f+16>>2]=b;if(w[b|0]==37){wd(a)}b=v[a>>2];u:{if(v[a+212>>2]|!b){break u}e=v[b+100>>2];if(!e){e=v[b+68>>2];if(!e){break u}}Ub[e|0](v[a+4>>2],d,h)}Ub[v[259708]](d);break g}v:{if(v[g+12>>2]==1){t[b+h|0]=e;h=h+1|0;break v}h=li(b+h|0,e)+h|0}v[g+12>>2]=v[g+8>>2];v[g+8>>2]=v[g+4>>2];w:{if((k|0)<50){k=k+1|0;break w}x:{if(v[a+292>>2]){break x}d=v[a+36>>2];if((v[d+20>>2]-v[d+16>>2]|0)>249){break x}nd(a)}k=0;if(v[a+172>>2]!=-1){break w}Ub[v[259708]](b);break g}d=v[a+36>>2];e=v[d+16>>2];y:{if(w[e|0]==10){v[d+32>>2]=1;v[d+28>>2]=v[d+28>>2]+1;break y}v[d+32>>2]=v[d+32>>2]+1}n=d;d=e+v[g+4>>2]|0;v[n+16>>2]=d;if(w[d|0]==37){wd(a)}e=c;c=f;f=bf(a,g+4|0);d=b;continue}}Qd(a,0)}Qb=g+16|0;break c}if(w[i+2|0]!=45|w[i+3|0]!=45){break e}Ur(a);v[a+172>>2]=7;break c}d=Qb+-64|0;Qb=d;v[d+60>>2]=0;v[d+56>>2]=0;v[d+28>>2]=0;f=v[a+328>>2];b=v[259842];z:{if(!(w[a+362|0]&8|b>>>0>=y[a+188>>2])){ok(a,1,350621,b);v[a+212>>2]=1;v[a+172>>2]=-1;c=v[a+36>>2];if(!c){break z}b=v[c+40>>2];if(b){Ub[b|0](v[c+12>>2]);c=v[a+36>>2];v[c+40>>2]=0}v[c+12>>2]=358460;v[c+16>>2]=358460;break z}if(v[a+68>>2]){b=v[a+36>>2];v[d+36>>2]=(v[b+36>>2]+v[b+16>>2]|0)-v[b+12>>2];v[d+40>>2]=v[b+28>>2]}c=v[a+236>>2];A:{if(!c){b=v[a+240>>2];B:{if((b|0)>=1){c=v[a+244>>2];b=0;break B}v[a+240>>2]=b<<1;c=Ub[v[259709]](v[a+244>>2],b<<3)|0;if(!c){Qd(a,0);v[a+240>>2]=v[a+240>>2]/2;break A}v[a+244>>2]=c;b=v[a+236>>2]}v[(b<<2)+c>>2]=-1;b=v[a+236>>2];v[a+236>>2]=b+1;v[a+232>>2]=(b<<2)+c;break A}b=v[a+240>>2];e=v[v[a+232>>2]>>2];if((e|0)==-2){C:{if((b|0)>(c|0)){b=v[a+244>>2];break C}v[a+240>>2]=b<<1;b=Ub[v[259709]](v[a+244>>2],b<<3)|0;if(!b){Qd(a,0);v[a+240>>2]=v[a+240>>2]/2;break A}v[a+244>>2]=b;c=v[a+236>>2]}v[(c<<2)+b>>2]=-1;c=v[a+236>>2];v[a+236>>2]=c+1;v[a+232>>2]=(c<<2)+b;break A}D:{if((b|0)>(c|0)){b=v[a+244>>2];break D}v[a+240>>2]=b<<1;b=Ub[v[259709]](v[a+244>>2],b<<3)|0;if(!b){Qd(a,0);v[a+240>>2]=v[a+240>>2]/2;break A}v[a+244>>2]=b;c=v[a+236>>2]}v[(c<<2)+b>>2]=e;c=v[a+236>>2];v[a+236>>2]=c+1;v[a+232>>2]=(c<<2)+b}g=v[v[a+36>>2]+28>>2];E:{if(v[a+324>>2]){c=lU(a,d+60|0,d+56|0,d+28|0);break E}c=pU(a)}if(v[a+172>>2]==-1){break z}if(!c){b=v[a+236>>2];if((b|0)<1){break z}c=b-1|0;v[a+236>>2]=c;f=((b|0)==1?0:b-2|0)<<2;b=v[a+244>>2];v[a+232>>2]=f+b;v[b+(c<<2)>>2]=-1;break z}F:{G:{e=v[a+188>>2];b=v[a+192>>2];H:{if((e|0)<(b|0)){b=v[a+196>>2];break H}b=Ub[v[259709]](v[a+196>>2],b<<3)|0;if(!b){break G}v[a+196>>2]=b;v[a+192>>2]=v[a+192>>2]<<1;e=v[a+188>>2]}v[(e<<2)+b>>2]=c;v[a+188>>2]=e+1;v[a+184>>2]=c;break F}Qd(a,0)}h=v[a+52>>2];I:{J:{K:{e=v[a+36>>2];b=v[e+16>>2];k=w[b|0]-47|0;if(k){if((k|0)==15){break K}else{break J}}if(w[b+1|0]!=62){break J}v[a+200>>2]=v[a+200>>2]+2;v[e+16>>2]=b+2;v[e+32>>2]=v[e+32>>2]+2;b=w[b+2|0];if((b|0)==37){wd(a);e=v[a+36>>2];b=w[v[e+16>>2]]}L:{if(b&255){break L}if((cd(e)|0)>0){break L}vd(a)}b=v[a>>2];M:{if(v[a+324>>2]){if(!b){break M}b=v[b+120>>2];if(v[a+212>>2]|!b){break M}Ub[b|0](v[a+4>>2],c,v[d+60>>2],v[d+56>>2]);break M}if(!b){break M}b=v[b+60>>2];if(v[a+212>>2]|!b){break M}Ub[b|0](v[a+4>>2],c)}c=v[a+188>>2];if((c|0)>=1){g=c-1|0;v[a+188>>2]=g;e=v[a+196>>2];v[a+184>>2]=(c|0)!=1?v[(e+(c<<2)|0)-8>>2]:0;v[e+(g<<2)>>2]=0}b=v[a+236>>2];if((b|0)>=1){c=b-1|0;v[a+236>>2]=c;e=((b|0)==1?0:b-2|0)<<2;b=v[a+244>>2];v[a+232>>2]=e+b;v[b+(c<<2)>>2]=-1}c=v[a+328>>2];N:{if(!v[a+336>>2]|(f|0)==(c|0)){break N}b=c-f|0;if((f|0)<=-1){v[d+16>>2]=b;Ub[v[259806]](v[294239],354882,d+16|0);c=v[a+328>>2];b=c}if((c|0)<1|(b|0)<1){break N}f=b&3;if(b-1>>>0>=3){e=b&-4;while(1){b=c<<2;v[(b+v[a+336>>2]|0)-4>>2]=0;v[(b+v[a+336>>2]|0)-8>>2]=0;v[(b+v[a+336>>2]|0)-12>>2]=0;c=c-4|0;v[v[a+336>>2]+(c<<2)>>2]=0;e=e-4|0;if(e){continue}break}}if(f){while(1){c=c-1|0;v[v[a+336>>2]+(c<<2)>>2]=0;f=f-1|0;if(f){continue}break}}v[a+328>>2]=c}if(!h|!v[a+68>>2]){break z}b=v[a+36>>2];v[d+44>>2]=(v[b+36>>2]+v[b+16>>2]|0)-v[b+12>>2];b=v[b+28>>2];v[d+32>>2]=h;v[d+48>>2]=b;Pu(a,d+32|0);break z}v[e+16>>2]=b+1;v[e+32>>2]=v[e+32>>2]+1;v[a+200>>2]=v[a+200>>2]+1;if(!w[b+1|0]){cd(e)}Ay(a);if(v[a+172>>2]==-1){break z}b=w[v[v[a+36>>2]+16>>2]];if((b-9&255)>>>0<2|(b|0)==13|b>>>0>31){break I}zy(a,77,354497,c,g,0);Fy(a);O:{if(!a){break O}c=v[a+188>>2];if((c|0)<1){break O}h=c-1|0;v[a+188>>2]=h;e=v[a+196>>2];v[a+184>>2]=(c|0)!=1?v[(e+(c<<2)|0)-8>>2]:0;v[e+(h<<2)>>2]=0}b=v[a+236>>2];if((b|0)>=1){c=b-1|0;v[a+236>>2]=c;e=((b|0)==1?0:b-2|0)<<2;b=v[a+244>>2];v[a+232>>2]=e+b;v[b+(c<<2)>>2]=-1}b=v[a+328>>2];if((b|0)==(f|0)){break z}kU(a,b-f|0);break z}zy(a,73,354538,c,g,0);c=v[a+56>>2];if((c|0)>=1){g=c-1|0;v[a+56>>2]=g;e=v[a+64>>2];v[a+52>>2]=(c|0)!=1?v[(e+(c<<2)|0)-8>>2]:0;v[e+(g<<2)>>2]=0}c=v[a+188>>2];if((c|0)>=1){g=c-1|0;v[a+188>>2]=g;e=v[a+196>>2];v[a+184>>2]=(c|0)!=1?v[(e+(c<<2)|0)-8>>2]:0;v[e+(g<<2)>>2]=0}b=v[a+236>>2];if((b|0)>=1){c=b-1|0;v[a+236>>2]=c;e=((b|0)==1?0:b-2|0)<<2;b=v[a+244>>2];v[a+232>>2]=e+b;v[b+(c<<2)>>2]=-1}c=v[a+328>>2];P:{if(!v[a+336>>2]|(f|0)==(c|0)){break P}b=c-f|0;if((f|0)<=-1){v[d>>2]=b;Ub[v[259806]](v[294239],354882,d);c=v[a+328>>2];b=c}if((c|0)<1|(b|0)<1){break P}f=b&3;if(b-1>>>0>=3){e=b&-4;while(1){b=c<<2;v[(b+v[a+336>>2]|0)-4>>2]=0;v[(b+v[a+336>>2]|0)-8>>2]=0;v[(b+v[a+336>>2]|0)-12>>2]=0;c=c-4|0;v[v[a+336>>2]+(c<<2)>>2]=0;e=e-4|0;if(e){continue}break}}if(f){while(1){c=c-1|0;v[v[a+336>>2]+(c<<2)>>2]=0;f=f-1|0;if(f){continue}break}}v[a+328>>2]=c}if(!h|!v[a+68>>2]){break z}b=v[a+36>>2];v[d+44>>2]=(v[b+36>>2]+v[b+16>>2]|0)-v[b+12>>2];b=v[b+28>>2];v[d+32>>2]=h;v[d+48>>2]=b;Pu(a,d+32|0);break z}Q:{if(v[a+324>>2]){jU(a,v[d+60>>2],v[d+56>>2],g,v[a+328>>2]-f|0,v[d+28>>2]);c=v[a+188>>2];if((c|0)<1){break Q}f=c-1|0;v[a+188>>2]=f;e=v[a+196>>2];v[a+184>>2]=(c|0)!=1?v[(e+(c<<2)|0)-8>>2]:0;v[e+(f<<2)>>2]=0;break Q}nU(a,g)}if(!h|!v[a+68>>2]){break z}b=v[a+36>>2];v[d+44>>2]=(v[b+36>>2]+v[b+16>>2]|0)-v[b+12>>2];b=v[b+28>>2];v[d+32>>2]=h;v[d+48>>2]=b;Pu(a,d+32|0)}Qb=d- -64|0;break c}xU(a)}R:{if(v[a+292>>2]){break R}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break R}nd(a)}d=v[a+36>>2];b=v[d+16>>2];S:{if(w[b|0]){break S}c=v[a+40>>2];if((c|0)<=1){break S}while(1){e=a;T:{U:{V:{if(!v[294256]){b=c-1|0;v[a+40>>2]=b;d=v[a+48>>2];break V}v[j+32>>2]=c;d=0;Ub[v[259806]](v[294239],354269,j+32|0);c=v[a+40>>2];if((c|0)<1){break T}b=c-1|0;v[a+40>>2]=b;d=v[a+48>>2];f=0;h=0;if((c|0)==1){break U}}f=b;h=v[((c<<2)+d|0)-8>>2]}v[e+36>>2]=h;b=(f<<2)+d|0;d=v[b>>2];v[b>>2]=0}Sh(d);b=v[a+36>>2];W:{if(w[v[b+16>>2]]){break W}if((cd(b)|0)>=1){break W}c=v[a+40>>2];if((c|0)>=2){continue}}d=v[a+36>>2];b=v[d+16>>2];if(w[b|0]){break S}c=v[a+40>>2];if((c|0)>1){continue}break}}X:{if(v[a+292>>2]|(b-v[d+12>>2]|0)<501|(v[d+20>>2]-b|0)>499){break X}bh(d);b=v[a+36>>2];if(w[v[b+16>>2]]){break X}if((cd(b)|0)>0){break X}while(1){c=v[a+40>>2];if((c|0)<2){break X}e=a;Y:{Z:{_:{if(!v[294256]){b=c-1|0;v[a+40>>2]=b;d=v[a+48>>2];break _}v[j+16>>2]=c;d=0;Ub[v[259806]](v[294239],354269,j+16|0);c=v[a+40>>2];if((c|0)<1){break Y}b=c-1|0;v[a+40>>2]=b;d=v[a+48>>2];f=0;h=0;if((c|0)==1){break Z}}f=b;h=v[((c<<2)+d|0)-8>>2]}v[e+36>>2]=h;b=(f<<2)+d|0;d=v[b>>2];v[b>>2]=0}Sh(d);b=v[a+36>>2];if(w[v[b+16>>2]]){break X}if((cd(b)|0)<1){continue}break}}c=v[a+36>>2];if(v[c+36>>2]!=(m|0)|v[c+16>>2]!=(i|0)){continue}break}if(!(v[a+172>>2]==-1?v[a+212>>2]:0)){v[a+84>>2]=1;v[j+4>>2]=347957;v[j>>2]=238159;oc(0,0,0,a,0,1,1,3,347957,0,0,0,349936,j);v[a+12>>2]=0}v[a+212>>2]=1;v[a+172>>2]=-1;c=v[a+36>>2];if(!c){break b}b=v[c+40>>2];if(b){Ub[b|0](v[c+12>>2]);c=v[a+36>>2];v[c+40>>2]=0}v[c+12>>2]=358460;v[c+16>>2]=358460}Qb=j+48|0}function CGa(a,b,c,d,e,f,g,h,i,j,k,l){a=a|0;b=b|0;c=+c;d=+d;e=+e;f=+f;g=+g;h=+h;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,u=0,z=0,C=0,D=0,E=0,F=0,G=0;j=Qb-272|0;Qb=j;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{if(w[a+203|0]){break k}m=v[a+168>>2];if(!m){break k}v[j+240>>2]=0;v[j+244>>2]=0;v[j+232>>2]=0;v[j+236>>2]=0;v[j+224>>2]=0;v[j+228>>2]=0;n=v[b+492>>2];v[299999]=0;m=Y(3154,m|0,n+8|0,j+216|0)|0;n=v[299999];v[299999]=0;l:{m:{n:{o:{p:{if((n|0)!=1){if(!m){break l}u=v[b+592>>2];if((u|0)==3){break l}g=A[b+512>>3];h=A[b+520>>3];o=A[b+528>>3];r=A[b+504>>3];v[j+152>>2]=0;v[j+156>>2]=1076101120;m=v[a+104>>2];n=v[v[m>>2]+232>>2];v[299999]=0;Q(n|0,m|0,j+152|0)|0;m=v[299999];v[299999]=0;q:{r:{s:{if((m|0)!=1){m=v[a+104>>2];g=K(r*r+g*g);h=K(h*h+o*o);g=g>3];o=g*h;if(!(o>0)){break r}A[j>>3]=o;n=v[v[m>>2]+236>>2];v[299999]=0;Q(n|0,m|0,j|0)|0;m=v[299999];v[299999]=0;if((m|0)==1){break s}p=-A[b+528>>3];q=-A[b+520>>3];break q}a=P()|0;O()|0;break a}a=P()|0;O()|0;break a}A[j>>3]=g*-h;n=v[v[m>>2]+236>>2];v[299999]=0;Q(n|0,m|0,j|0)|0;m=v[299999];v[299999]=0;if((m|0)==1){break p}p=A[b+528>>3];q=A[b+520>>3]}g=1/g;z=g*A[b+504>>3];C=A[b+16>>3];E=g*A[b+512>>3];D=A[b+32>>3];h=z*C+E*D;A[j+160>>3]=h;o=A[b+24>>3];r=A[b+40>>3];q=g*q;p=g*p;g=C*q+D*p;A[j+176>>3]=g;q=q*o+p*r;F=-q;A[j+184>>3]=F;p=z*o+E*r;z=-p;A[j+168>>3]=z;A[j+192>>3]=C*c+D*d+A[b+48>>3];A[j+200>>3]=A[b+104>>3]-(o*c+r*d+A[b+56>>3]);t:{c=K(g*g+q*q);d=K(h*h+p*p);c=c.001)){break t}A[j+184>>3]=F/c;A[j+176>>3]=g/c;A[j+168>>3]=z/c;A[j+160>>3]=h/c;v[j>>2]=0;v[j+4>>2]=1072693248;m=v[a+104>>2];n=v[v[m>>2]+232>>2];v[299999]=0;Q(n|0,m|0,j|0)|0;m=v[299999];v[299999]=0;if((m|0)==1){break o}m=v[a+104>>2];A[j+120>>3]=c*A[j>>3];n=v[v[m>>2]+236>>2];v[299999]=0;Q(n|0,m|0,j+120|0)|0;m=v[299999];v[299999]=0;if((m|0)!=1){break t}a=P()|0;O()|0;break a}v[j+144>>2]=0;v[j+148>>2]=0;v[299999]=0;v[j+136>>2]=0;v[j+140>>2]=0;fa(3156,a|0,j+160|0,j+144|0,j+136|0,1);m=v[299999];v[299999]=0;if((m|0)==1){break n}v[j+128>>2]=0;v[j+120>>2]=0;v[j+124>>2]=0;m=v[j+252>>2];u:{if(!(!m|y[j+260>>2]<=i>>>0)){m=x[m+(i<<2)>>1];v[299999]=0;SB(j+120|0,m);m=v[299999];v[299999]=0;if((m|0)!=1){break u}a=P()|0;O()|0;break b}m=v[b+492>>2];n=v[v[m>>2]+8>>2];v[299999]=0;m=S(n|0,m|0)|0;n=v[299999];v[299999]=0;if((n|0)==1){break c}if(m){v[299999]=0;SB(j+120|0,i);m=v[299999];v[299999]=0;if((m|0)!=1){break u}break c}v[299999]=0;Q(3095,j+120|0,885380)|0;m=v[299999];v[299999]=0;if((m|0)==1){break c}}v[j+116>>2]=0;m=v[j+248>>2];v:{if(!(!m|y[j+256>>2]<=i>>>0)){m=v[m+(i<<2)>>2];v[j+116>>2]=m;m=(m|0)!=0;break v}v[j+116>>2]=i?i:65534;m=1}v[j+112>>2]=0;v[j+104>>2]=0;v[j+108>>2]=0;if(v[a+108>>2]!=1){break m}b=v[b+492>>2];n=v[v[b>>2]+8>>2];v[299999]=0;b=S(n|0,b|0)|0;n=v[299999];v[299999]=0;if((n|0)!=1){s=i?i:65534;if(b){v[j+8>>2]=0;v[j>>2]=0;v[j+4>>2]=0;v[299999]=0;b=Q(3111,j+88|0,888676)|0;i=v[299999];v[299999]=0;w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{if((i|0)!=1){v[299999]=0;U(3112,j|0,b|0,1);i=v[299999];v[299999]=0;if((i|0)==1){break S}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,j+88|0,888712)|0;i=v[299999];v[299999]=0;if((i|0)==1){break R}v[299999]=0;i=Q(3111,j+72|0,885380)|0;n=v[299999];v[299999]=0;if((n|0)==1){break Q}v[299999]=0;n=Q(3111,j+56|0,885380)|0;G=v[299999];v[299999]=0;if((G|0)==1){break P}v[299999]=0;da(3113,j|0,b|0,s|0,10,i|0,n|0);s=v[299999];v[299999]=0;if((s|0)==1){break O}if(t[n+11|0]<=-1){dc(v[n>>2])}if(t[i+11|0]<=-1){dc(v[i>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,j+88|0,888728)|0;i=v[299999];v[299999]=0;if((i|0)==1){break L}n=x[k>>1];v[299999]=0;i=Q(3111,j+72|0,885380)|0;k=v[299999];v[299999]=0;if((k|0)==1){break K}v[299999]=0;k=Q(3111,j+56|0,885380)|0;s=v[299999];v[299999]=0;if((s|0)==1){break J}v[299999]=0;da(3113,j|0,b|0,n|0,10,i|0,k|0);n=v[299999];v[299999]=0;if((n|0)==1){break I}if(t[k+11|0]<=-1){dc(v[k>>2])}if(t[i+11|0]<=-1){dc(v[i>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,j+88|0,888748)|0;i=v[299999];v[299999]=0;if((i|0)==1){break F}v[299999]=0;i=Q(3111,j+72|0,885380)|0;k=v[299999];v[299999]=0;if((k|0)==1){break E}v[299999]=0;k=Q(3111,j+56|0,885380)|0;n=v[299999];v[299999]=0;if((n|0)==1){break D}v[299999]=0;da(3113,j|0,b|0,l|0,10,i|0,k|0);l=v[299999];v[299999]=0;if((l|0)==1){break C}if(t[k+11|0]<=-1){dc(v[k>>2])}if(t[i+11|0]<=-1){dc(v[i>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,j+88|0,888676)|0;i=v[299999];v[299999]=0;if((i|0)==1){break z}v[299999]=0;Q(2725,j|0,888856)|0;i=v[299999];v[299999]=0;if((i|0)==1){break y}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;Q(3095,j+104|0,(t[j+11|0]<0?v[j>>2]:j)|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break x}if(t[j+11|0]>-1){break m}dc(v[j>>2]);break m}a=P()|0;O()|0;break w}a=P()|0;O()|0;if(t[b+11|0]>-1){break w}dc(v[b>>2]);break w}a=P()|0;O()|0;break w}a=P()|0;O()|0;break M}a=P()|0;O()|0;break N}a=P()|0;O()|0;if(t[n+11|0]>-1){break N}dc(v[n>>2])}if(t[i+11|0]>-1){break M}dc(v[i>>2])}if(t[b+11|0]>-1){break w}dc(v[b>>2]);break w}a=P()|0;O()|0;break w}a=P()|0;O()|0;break G}a=P()|0;O()|0;break H}a=P()|0;O()|0;if(t[k+11|0]>-1){break H}dc(v[k>>2])}if(t[i+11|0]>-1){break G}dc(v[i>>2])}if(t[b+11|0]>-1){break w}dc(v[b>>2]);break w}a=P()|0;O()|0;break w}a=P()|0;O()|0;break A}a=P()|0;O()|0;break B}a=P()|0;O()|0;if(t[k+11|0]>-1){break B}dc(v[k>>2])}if(t[i+11|0]>-1){break A}dc(v[i>>2])}if(t[b+11|0]>-1){break w}dc(v[b>>2]);break w}a=P()|0;O()|0;break w}a=P()|0;O()|0;if(t[b+11|0]>-1){break w}dc(v[b>>2]);break w}a=P()|0;O()|0}if(t[j+11|0]>-1){break d}dc(v[j>>2]);break d}v[j+8>>2]=0;v[j>>2]=0;v[j+4>>2]=0;v[299999]=0;b=Q(3111,j+88|0,888676)|0;i=v[299999];v[299999]=0;T:{U:{V:{W:{X:{Y:{Z:{_:{$:{aa:{ba:{if((i|0)!=1){v[299999]=0;U(3112,j|0,b|0,1);i=v[299999];v[299999]=0;if((i|0)==1){break ba}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,j+88|0,888728)|0;i=v[299999];v[299999]=0;if((i|0)==1){break aa}v[299999]=0;i=Q(3111,j+72|0,885380)|0;k=v[299999];v[299999]=0;if((k|0)==1){break $}v[299999]=0;k=Q(3111,j+56|0,885380)|0;l=v[299999];v[299999]=0;if((l|0)==1){break _}v[299999]=0;da(3113,j|0,b|0,s|0,10,i|0,k|0);l=v[299999];v[299999]=0;if((l|0)==1){break Z}if(t[k+11|0]<=-1){dc(v[k>>2])}if(t[i+11|0]<=-1){dc(v[i>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;b=Q(3111,j+88|0,888676)|0;i=v[299999];v[299999]=0;if((i|0)==1){break W}v[299999]=0;Q(2725,j|0,888856)|0;i=v[299999];v[299999]=0;if((i|0)==1){break V}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;Q(3095,j+104|0,(t[j+11|0]<0?v[j>>2]:j)|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break U}if(t[j+11|0]>-1){break m}dc(v[j>>2]);break m}a=P()|0;O()|0;break T}a=P()|0;O()|0;if(t[b+11|0]>-1){break T}dc(v[b>>2]);break T}a=P()|0;O()|0;break T}a=P()|0;O()|0;break X}a=P()|0;O()|0;break Y}a=P()|0;O()|0;if(t[k+11|0]>-1){break Y}dc(v[k>>2])}if(t[i+11|0]>-1){break X}dc(v[i>>2])}if(t[b+11|0]>-1){break T}dc(v[b>>2]);break T}a=P()|0;O()|0;break T}a=P()|0;O()|0;if(t[b+11|0]>-1){break T}dc(v[b>>2]);break T}a=P()|0;O()|0}if(t[j+11|0]>-1){break d}dc(v[j>>2]);break d}a=P()|0;O()|0;break d}a=P()|0;O()|0;break a}a=P()|0;O()|0;break a}a=P()|0;O()|0;break a}a=P()|0;O()|0;break a}ca:{if(!(1<>>0>6|v[a+108>>2]==1){break ca}b=v[a+104>>2];A[j>>3]=(A[j+144>>3]+0)/72*25.4;A[j+88>>3]=A[j+136>>3]/72*25.4;A[j+72>>3]=e/72*25.4;A[j+56>>3]=f/72*25.4;i=v[v[b>>2]+284>>2];v[299999]=0;sa(i|0,b|0,j+120|0,j+116|0,m|0,j|0,j+88|0,j+72|0,j+56|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break ca}a=P()|0;O()|0;break d}da:{if((u&-5)-1>>>0>1){break da}b=v[a+104>>2];v[j>>2]=256;i=v[v[b>>2]+288>>2];v[299999]=0;Q(i|0,b|0,j|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){b=v[a+104>>2];v[j>>2]=256;i=v[v[b>>2]+292>>2];v[299999]=0;Q(i|0,b|0,j|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break da}a=P()|0;O()|0;break d}a=P()|0;O()|0;break d}ea:{if((u|0)<4){break ea}v[j+96>>2]=0;v[j+88>>2]=0;v[j+92>>2]=0;v[j+80>>2]=0;v[j+72>>2]=0;v[j+76>>2]=0;v[j- -64>>2]=0;v[299999]=0;v[j+56>>2]=0;v[j+60>>2]=0;V(3155,j+56|0,v[j+116>>2]);b=v[299999];v[299999]=0;if((b|0)==1){break i}b=v[a+104>>2];i=v[v[b>>2]+216>>2];v[299999]=0;Q(i|0,b|0,j+88|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break f}b=v[a+104>>2];i=v[v[b>>2]+224>>2];v[299999]=0;Q(i|0,b|0,j+72|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break f}b=v[a+104>>2];i=v[v[b>>2]+232>>2];v[299999]=0;Q(i|0,b|0,j+48|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break f}b=v[a+104>>2];i=v[v[b>>2]+240>>2];v[299999]=0;Q(i|0,b|0,j+44|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break f}b=v[a+196>>2];if(!b){v[j+32>>2]=0;v[j+24>>2]=0;v[j+28>>2]=0;v[j+16>>2]=0;v[j+20>>2]=0;v[j+8>>2]=0;v[j+12>>2]=0;v[j>>2]=0;v[j+4>>2]=0;v[299999]=0;b=S(1,16)|0;i=v[299999];v[299999]=0;if((i|0)==1){break h}v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[299999]=0;v[j+40>>2]=b;V(3158,a+176|0,j|0);b=v[299999];v[299999]=0;if((b|0)==1){break g}uu(j);b=v[a+196>>2]}b=(v[a+192>>2]+b|0)-1|0;i=(b>>>0)/93|0;b=v[(v[v[a+180>>2]+(i<<2)>>2]+B(b-B(i,93)|0,44)|0)+40>>2];v[299999]=0;Bb(3159,b|0,j+88|0,j+72|0,+A[j+48>>3],v[j+44>>2],j+160|0,j+56|0,+(A[j+144>>3]+0),+A[j+136>>3],0,0,0);b=v[299999];v[299999]=0;if((b|0)==1){break f}t[a+200|0]=1;if(t[j+67|0]<=-1){dc(v[j+56>>2])}if(t[j+83|0]<=-1){dc(v[j+72>>2])}if(t[j+99|0]>-1){break ea}dc(v[j+88>>2])}a=v[a+104>>2];b=v[v[a>>2]+236>>2];v[299999]=0;Q(b|0,a|0,j+152|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break j}if(t[j+115|0]<=-1){dc(v[j+104>>2])}if(t[j+131|0]>-1){break l}dc(v[j+120>>2])}if(t[j+247|0]<=-1){dc(v[j+236>>2])}if(t[j+235|0]>-1){break k}dc(v[j+224>>2])}Qb=j+272|0;return}a=P()|0;O()|0;break d}a=P()|0;O()|0;break e}a=P()|0;O()|0;break e}a=P()|0;O()|0;uu(j);break e}a=P()|0;O()|0}if(t[j+67|0]<=-1){dc(v[j+56>>2])}if(t[j+83|0]<=-1){dc(v[j+72>>2])}if(t[j+99|0]>-1){break d}dc(v[j+88>>2])}if(t[j+115|0]>-1){break b}dc(v[j+104>>2]);break b}a=P()|0;O()|0}if(t[j+131|0]>-1){break a}dc(v[j+120>>2])}$T(j+216|0);T(a|0);L()}function wYa(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,n=0,o=0,p=0,q=0,r=0;e=Qb-1536|0;Qb=e;v[b>>2]=1;n=Qj(v[b+96>>2],235201,1);v[b+488>>2]=n;l=sm(v[v[b+96>>2]+4>>2],220369);v[b+492>>2]=l;a:{if(!l){a=11;break a}q=b,r=sm(v[v[b+96>>2]+4>>2],239287),v[q+552>>2]=r;i=v[b+492>>2];a=e+8|0;ic(a,0,380);v[b+544>>2]=0;v[b+536>>2]=-1;v[b+540>>2]=-1;v[b+284>>2]=1;v[b+348>>2]=3932;v[b+172>>2]=4;v[b+276>>2]=2596864;v[b+280>>2]=7;f=v[b+104>>2];g=v[b+100>>2];Ub[v[v[i+4>>2]>>2]](a,0,0,g);v[e+92>>2]=0;v[e+96>>2]=0;t[e+99|0]=0;t[e+100|0]=0;t[e+101|0]=0;t[e+102|0]=0;v[e+84>>2]=0;v[e+88>>2]=0;v[e+80>>2]=f;a=UY(f,228439,14);v[e+4>>2]=a;b:{c:{d:{if(a){if((a&255)!=2){break d}a=UY(f,279596,10);v[e+4>>2]=a;if(a){break d}}a=Yc(f,0);v[e+4>>2]=a;if(a){break d}h=Ed(f,e+1528|0);e:{f:{g:{h:{a=v[e+1528>>2];if(!a){if((h+32767&65535)>>>0>=2){break g}d=pi(f,e+1528|0);a=v[e+1528>>2];if(!a){break h}}v[e+4>>2]=a;break d}v[e+4>>2]=0;if((h|0)==32769){break f}}a=Yc(f,0);v[e+4>>2]=a;if(a){break d}d=v[f+4>>2];break e}t[e+100|0]=1}i:{if(!v[f+20>>2]){a=v[f+8>>2];h=v[f>>2];t[e+101|0]=1;v[e+88>>2]=d;v[e+84>>2]=a+h;a=Bf(f,d);v[e+4>>2]=a;if(a){break d}d=v[e+88>>2];break i}h=Fd(g,d,e+4|0);v[e+84>>2]=h;a=v[e+4>>2];if(a){break d}a=Lf(f,h,d);v[e+4>>2]=a;if(a){break d}v[e+88>>2]=d}f=v[e+84>>2];v[e+12>>2]=f;v[e+8>>2]=f;v[e+16>>2]=d+f;break c}if(w[e+101|0]){v[e>>2]=a;break b}a=v[e+84>>2];if(a){Ub[v[g+8>>2]](g,a)}f=0;v[e+84>>2]=0;a=v[e+4>>2];v[e>>2]=a;if(a){break b}d=v[e+88>>2]}a=TY(b,e+8|0,f,d);v[e>>2]=a;if(a){break b}j=v[e+24>>2];a=v[e+80>>2];v[e+4>>2]=0;j:{k:{l:{m:{if(w[e+100|0]){h=v[a+8>>2];v[e+96>>2]=0;while(1){f=Ed(a,e+1528|0);n:{d=v[e+1528>>2];if(!d){if((f+32767&65535)>>>0>=2){v[e+4>>2]=0;break m}g=pi(a,e+1528|0);d=v[e+1528>>2];if(!d){break n}}v[e+4>>2]=d;v[e>>2]=d;break b}v[e+4>>2]=0;if((f|0)!=32770){break m}v[e+96>>2]=g+v[e+96>>2];g=Bf(a,g);v[e+4>>2]=g;if(!g){continue}break}break k}d=v[e+84>>2];h=v[e+88>>2];f=d+h|0;a=d;while(1){o:{p:{if(w[a|0]!=101|a+9>>>0>=f>>>0|(w[a+1|0]!=101|w[a+2|0]!=120)){break p}if(w[a+3|0]!=101){break p}if(w[a+4|0]==99){break o}}a=a+1|0;if(f>>>0>a>>>0){continue}v[e>>2]=3;break b}a=a+10|0;v[e+16>>2]=a;v[e+8>>2]=d;q:{if(a>>>0>d>>>0){while(1){r:{if(w[d|0]!=101|d+5>>>0>=a>>>0|(w[d+1|0]!=101|w[d+2|0]!=120)){break r}if(w[d+3|0]!=101){break r}if(w[d+4|0]==99){break q}}Ub[v[e+40>>2]](e+8|0);if(!v[e+20>>2]){Ub[v[e+36>>2]](e+8|0);d=v[e+8>>2];if(d>>>0>>0){continue}}break}h=v[e+88>>2];d=v[e+84>>2]}g=3;f=d+h|0;if(f>>>0>a>>>0){continue}break k}break}v[e+16>>2]=v[e+84>>2]+v[e+88>>2];Ub[v[e+40>>2]](e+8|0);h=v[e+16>>2];a=v[e+8>>2];f=h-a|0;d=fi(a,10,f);if(d){d=fi(a,13,f)>>>0>>0}else{d=1}g=3;if(a>>>0>=h>>>0){break k}k=a+f|0;while(1){s:{f=w[a|0];if(!((f|0)==9|(f|0)==32|d&(f|0)==13)){if((f|0)!=10){break s}}a=a+1|0;if((k|0)!=(a|0)){continue}break k}break}d=v[e+84>>2];f=v[e+88>>2]+(d-a|0)|0;t:{if(w[e+101|0]){d=Fd(j,f+1|0,e+4|0);v[e+92>>2]=d;g=v[e+4>>2];if(g){break k}v[e+96>>2]=f;break t}v[e+96>>2]=f;v[e+92>>2]=d;t[e+102|0]=1;v[e+84>>2]=0;v[e+88>>2]=0}u:{if(h>>>0<=a+3>>>0){break u}v:{g=w[a|0];if(g-48>>>0<10){break v}switch(g-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break v;default:break u}}w:{g=w[a+1|0];if(g-48>>>0<10){break w}switch(g-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break w;default:break u}}x:{g=w[a+2|0];if(g-48>>>0<10){break x}switch(g-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break x;default:break u}}y:{g=w[a+3|0];if(g-48>>>0<10){break y}switch(g-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break y;default:break u}}v[e+8>>2]=a;Ub[v[v[i+4>>2]+24>>2]](e+8|0,d,f,e+1528|0,0)|0;a=v[e+1528>>2];v[e+96>>2]=a;t[a+v[e+92>>2]|0]=0;break l}Wd(d,a,f);break l}if(!v[e+96>>2]){v[e>>2]=3;break b}g=Yc(a,h);v[e+4>>2]=g;if(g){break k}q=e,r=Fd(j,v[e+96>>2],e+4|0),v[q+92>>2]=r;g=v[e+4>>2];if(g){break k}v[e+96>>2]=0;f=Ed(a,e+1528|0);z:{if(v[e+1528>>2]){break z}while(1){if((f+32767&65535)>>>0>1){break z}d=pi(a,e+1528|0);if(v[e+1528>>2]){break z}v[e+4>>2]=0;if((f&65535)!=32770){break z}g=Lf(a,v[e+92>>2]+v[e+96>>2]|0,d);v[e+4>>2]=g;if(g){break k}v[e+96>>2]=d+v[e+96>>2];f=Ed(a,e+1528|0);if(!v[e+1528>>2]){continue}break}}v[e+4>>2]=0}Ub[v[i+16>>2]](v[e+92>>2],v[e+96>>2],55665);g=3;if(y[e+96>>2]>3){break j}}v[e>>2]=g;break b}t[v[e+92>>2]]=32;t[v[e+92>>2]+1|0]=32;t[v[e+92>>2]+2|0]=32;t[v[e+92>>2]+3|0]=32;a=v[e+92>>2];v[e+12>>2]=a;v[e+8>>2]=a;d=v[e+96>>2];v[e+16>>2]=d+a;f=v[e+4>>2];v[e>>2]=f;if(f){break b}a=TY(b,e+8|0,a,d);v[e>>2]=a;if(a){break b}t[b+176|0]=w[b+176|0]&254;A:{B:{f=v[b+532>>2];if(!f){break B}if(v[f>>2]!=1<>2]){tv(b);f=v[b+532>>2];if(!f){break B}}a=v[f+416>>2];if(!(!a|(a|0)==v[f+4>>2])){v[f+416>>2]=0}C:{D:{if(v[f>>2]){d=v[f+4>>2];if(d){break D}}tv(b);f=v[b+532>>2];if(!f){break B}d=v[f+4>>2];if(!d){break C}}a=0;while(1){if(w[(B(a,12)+f|0)+88|0]){a=a+1|0;if((d|0)!=(a|0)){continue}break C}break}tv(b);if(!v[b+532>>2]){break B}}a=v[b+544>>2];if(!a){break A}q=b,r=Cc(v[b+100>>2],4,0,a,0,e),v[q+548>>2]=r;if(!v[e>>2]){break A}v[b+544>>2]=0;break b}v[b+544>>2]=0}f=v[e+160>>2];v[b+420>>2]=f;if(v[e+336>>2]){v[b+404>>2]=v[e+320>>2];v[b+392>>2]=v[e+324>>2];v[b+408>>2]=v[e+348>>2];v[b+412>>2]=v[e+352>>2];v[b+416>>2]=v[e+376>>2];v[e+376>>2]=0;v[e+336>>2]=0}if(!(v[v[b+128>>2]+52>>2]|v[e+228>>2])){v[e>>2]=3}g=0;v[e+228>>2]=0;v[b+396>>2]=v[e+216>>2];v[b+428>>2]=v[e+240>>2];v[b+432>>2]=v[e+244>>2];v[b+400>>2]=v[e+164>>2];v[b+424>>2]=v[e+188>>2];v[e+188>>2]=0;v[e+164>>2]=0;if(v[b+368>>2]==1){h=0;i=v[e+124>>2];E:{if((i|0)<1){break E}if((f|0)>0){d=0;while(1){j=d<<2;k=v[j+v[e+132>>2]>>2];o=d<<1;u[o+v[b+384>>2]>>1]=0;v[j+v[b+388>>2]>>2]=273792;F:{if(!k){break F}p=v[b+424>>2];a=0;while(1){m=v[(a<<2)+p>>2];if(mc(k,m)){a=a+1|0;if((f|0)!=(a|0)){continue}break F}break}u[v[b+384>>2]+o>>1]=a;v[j+v[b+388>>2]>>2]=m;if(!mc(273792,m)){break F}h=(d|0)<(h|0)?h:d+1|0;g=(d|0)<(g|0)?d:g}d=d+1|0;if((i|0)!=(d|0)){continue}break}break E}f=i&3;a=0;if(i-1>>>0>=3){d=i&-4;while(1){u[v[b+384>>2]+(a<<1)>>1]=0;v[v[b+388>>2]+(a<<2)>>2]=273792;h=a|1;u[v[b+384>>2]+(h<<1)>>1]=0;v[v[b+388>>2]+(h<<2)>>2]=273792;h=a|2;u[v[b+384>>2]+(h<<1)>>1]=0;v[v[b+388>>2]+(h<<2)>>2]=273792;h=a|3;u[v[b+384>>2]+(h<<1)>>1]=0;v[v[b+388>>2]+(h<<2)>>2]=273792;a=a+4|0;d=d-4|0;if(d){continue}break}}h=0;if(!f){break E}while(1){u[v[b+384>>2]+(a<<1)>>1]=0;v[v[b+388>>2]+(a<<2)>>2]=273792;a=a+1|0;f=f-1|0;if(f){continue}break}}v[b+380>>2]=h;v[b+376>>2]=g;v[b+372>>2]=v[e+104>>2]}if(y[b+280>>2]>=1001){v[b+280>>2]=7}if(y[b+284>>2]<1001){break b}v[b+284>>2]=1}a=v[e+24>>2];d=v[e+156>>2];if(d){Ub[d|0](e+108|0)}d=v[e+264>>2];if(d){Ub[d|0](e+216|0)}d=v[e+212>>2];if(d){Ub[d|0](e+164|0)}d=v[e+316>>2];if(d){Ub[d|0](e+268|0)}d=v[e+372>>2];if(d){Ub[d|0](e+324|0)}hA(v[e+376>>2],a);d=v[e+376>>2];if(d){Ub[v[a+8>>2]](a,d)}v[e+376>>2]=0;a=v[e+24>>2];d=a;f=v[e+92>>2];if(f){Ub[v[d+8>>2]](d,f)}v[e+92>>2]=0;if(!w[e+101|0]){d=v[e+84>>2];if(d){Ub[v[a+8>>2]](a,d)}v[e+84>>2]=0}Ub[v[e+32>>2]](e+8|0);a=v[e>>2];if(a|(c|0)<0){break a}a=6;if(c&65535){break a}v[b+4>>2]=0;v[b+16>>2]=v[b+420>>2];c=v[b+8>>2];a=c|2577;v[b+8>>2]=a;if(w[b+156|0]){a=c|2581;v[b+8>>2]=a}g=v[b+532>>2];if(g){v[b+8>>2]=a|256}v[b+24>>2]=0;f=v[b+144>>2];v[b+20>>2]=f;G:{H:{if(f){a=v[b+140>>2];if(!a){break H}c=w[a|0];if(!c){a=240246;break G}while(1){I:{J:{d=c&255;c=w[f|0];if((d|0)==(c|0)){a=a+1|0;break J}d=d-32|0;if(!((d|0)!=13?d:0)){a=a+1|0;break I}K:{switch(c-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break H;case 0:case 13:break J;default:break K}}if(c){break H}break G}f=f+1|0}c=w[a|0];if(c){continue}break}a=240246;break G}a=v[b+364>>2];if(!a){break H}v[b+20>>2]=a}a=v[b+148>>2];a=a?a:240246}v[b+24>>2]=a;c=v[b+152>>2]!=0;v[b+12>>2]=c;a=v[b+148>>2];L:{if(!a){break L}if(mc(a,288795)){if(mc(a,263545)){break L}}v[b+12>>2]=c|2}v[b+28>>2]=0;v[b+32>>2]=0;v[b+52>>2]=v[b+464>>2]>>16;a=v[b+468>>2]>>16;v[b+56>>2]=a;f=v[b+472>>2]+65535>>16;v[b+60>>2]=f;d=v[b+476>>2]+65535>>16;v[b- -64>>2]=d;c=x[b+68>>1];if(!c){u[b+68>>1]=1e3;c=1e3}u[b+76>>1]=f;u[b+72>>1]=a;u[b+70>>1]=d;a=d-a|0;c=(B(c,12)>>>0)/10|0;u[b+74>>1]=(a|0)>c<<16>>16?a:c;a=0;d=v[b+492>>2];if(!(Ub[v[v[d+12>>2]>>2]](e+8|0,b,0,0,v[b+424>>2],g,0,0,2045)|0)){t[e+76|0]=0;t[e+78|0]=1;v[e+1372>>2]=v[b+404>>2];v[e+1376>>2]=v[b+408>>2];v[e+1380>>2]=v[b+412>>2];v[e+1384>>2]=v[b+416>>2];v[e+1504>>2]=v[b+548>>2];v[e+1508>>2]=v[b+544>>2];M:{if(v[b+420>>2]<1){break M}t[e+4|0]=0;N:{if(sv(e+8|0,0,e+1528|0,e+4|0)){break N}a=v[v[v[e+12>>2]+128>>2]+52>>2];if(!a){break N}Ub[v[v[a>>2]+4>>2]](v[a+4>>2],e+1528|0)}a=v[e+48>>2];if(v[b+420>>2]<2){break M}f=1;while(1){t[e+4|0]=0;O:{if(sv(e+8|0,f,e+1528|0,e+4|0)){break O}c=v[v[v[e+12>>2]+128>>2]+52>>2];if(!c){break O}Ub[v[v[c>>2]+4>>2]](v[c+4>>2],e+1528|0)}c=v[e+48>>2];a=(a|0)<(c|0)?c:a;f=f+1|0;if((f|0)>2]){continue}break}}Ub[v[v[d+12>>2]+4>>2]](e+8|0);u[b+76>>1]=(((a>>31)+a|0)+32768&-65536)>>>16}u[b+78>>1]=x[b+74>>1];v[b+80>>2]=x[b+158>>1]|x[b+160>>1]<<16;if(!n){a=0;break a}f=v[l+32>>2];v[e+8>>2]=b;v[e+12>>2]=1970170211;v[e+16>>2]=65539;a=Rj(v[f+12>>2],0,e+8|0,0);P:{if(!a){break P}c=a&255;if((c|0)==163){break P}if((c|0)!=7){break a}}u[e+16>>1]=7;a=0;Q:{R:{switch(v[b+368>>2]-1|0){case 1:u[e+18>>1]=0;v[e+12>>2]=1094995778;break Q;case 3:u[e+18>>1]=1;v[e+12>>2]=1094992453;f=f+4|0;break Q;case 0:u[e+18>>1]=2;v[e+12>>2]=1094992451;f=f+8|0;break Q;case 2:break R;default:break a}}f=f+12|0;u[e+18>>1]=3;v[e+12>>2]=1818326065}b=v[f>>2];if(!b){break a}a=Rj(b,0,e+8|0,0)}Qb=e+1536|0;return a|0}function gX(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,p=0,q=0,r=0,s=0,y=0,z=0,A=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,R=0,W=0,X=0,_=0,ba=0,ca=0,ea=0,fa=0;e=Qb-160|0;Qb=e;f=v[b>>2];h=v[b+4>>2];v[e+156>>2]=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{if(!u_(e+156|0)){F=jc(32);d=F;v[d+24>>2]=1768386675;v[d+28>>2]=0;v[d+16>>2]=1768386662;v[d+20>>2]=0;v[d+8>>2]=1768386675;v[d+12>>2]=0;v[d>>2]=1768386662;v[d+4>>2]=0;d=h-f|0;if(d){y=(d|0)/12|0;while(1){d=e+104|0;v[d+12>>2]=0;v[d+4>>2]=0;v[d+8>>2]=0;v[d>>2]=530160;f=v[b>>2];v[299999]=0;h=d;j=f;f=B(g,12);d=Y(2523,d|0,j+f|0,0)|0;k=v[299999];v[299999]=0;if((k|0)==1){break a}if(d){v[299999]=0;d=v[h+12>>2];k=v[299999];v[299999]=0;if((k|0)==1){break a}p=(d|0)>(p|0)?d:p;if((d|0)>=100000001){d=f+v[b>>2]|0;f=d+12|0;k=v[b+4>>2];l:{if((f|0)!=(k|0)){while(1){if(t[d+11|0]<=-1){dc(v[d>>2])}i=v[f+4>>2];v[d>>2]=v[f>>2];v[d+4>>2]=i;v[d+8>>2]=v[f+8>>2];t[f+11|0]=0;v[f>>2]=0;d=d+12|0;f=f+12|0;if((k|0)!=(f|0)){continue}break}f=v[b+4>>2];if((f|0)==(d|0)){break l}}while(1){k=f-12|0;if(t[f-1|0]<=-1){dc(v[k>>2])}f=k;if((f|0)!=(d|0)){continue}break}}v[b+4>>2]=d;y=y-1|0;g=g-1|0}}lg(h);g=g+1|0;if(y>>>0>g>>>0){continue}break}}I=fc(p);if(y){ca=c&1;ea=c&2;p=0;while(1){m:{n:{if(!ea){break n}h=B(p,12);c=h+v[b>>2]|0;g=w[c+11|0];d=g<<24>>24<0;f=d?v[c+4>>2]:g;if((f|0)<6){break n}c=d?v[c>>2]:c;g=c+(f<<2)|0;d=c;while(1){f=f-5|0;if(!f){break n}d=sf(d,46,f);if(!d){break n}if(od(d,467744,6)){d=d+4|0;k=g-d|0;f=k>>2;if((k|0)>=24){continue}break n}break}if((d|0)==(g|0)){break n}d=d-c|0;if((d|0)==-4){break n}g=h+v[b>>2]|0;c=w[g+11|0];if(((c<<24>>24<0?v[g+4>>2]:c)-6|0)==d>>2){break m}}c=e+136|0;v[c+4>>2]=1;v[c>>2]=459608;v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=466844;t[c+16|0]=0;J=c;d=v[b>>2];v[299999]=0;K=B(p,12);c=Y(2550,c|0,d+K|0,I|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break i}o:{if(!c){break o}v[e+104>>2]=17;v[e+132>>2]=F;v[e+128>>2]=4;c=v[e+148>>2];v[e+108>>2]=v[e+144>>2];v[e+112>>2]=c;v[299999]=0;v[e+100>>2]=0;c=Z(2668,v[e+156>>2],e+104|0,0,e+100|0)|0;d=v[299999];v[299999]=0;p:{if((d|0)!=1){if(c){break o}c=v[e+100>>2];if(t[c+8|0]&1){break p}v[299999]=0;S(2669,c|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){break o}}f=P()|0;O()|0;break b}M=v[c>>2];v[299999]=0;c=S(2669,c|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break h}if(c){break o}z=0;if((M|0)<=0){break o}while(1){v[299999]=0;c=Z(2668,v[e+156>>2],e+104|0,z|0,e+100|0)|0;d=v[299999];v[299999]=0;q:{r:{s:{if((d|0)!=1){if(c){break q}c=v[e+100>>2];o=v[c+12>>2];v[299999]=0;c=S(2670,c|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break s}t[e+88|0]=0;t[e+99|0]=0;t:{if(!c){break t}v[299999]=0;c=S(2670,v[e+100>>2])|0;d=v[299999];v[299999]=0;if((d|0)!=1){v[299999]=0;Q(2671,e+88|0,c|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){break t}}f=P()|0;O()|0;break c}c=v[e+100>>2];fa=v[c+8>>2];v[299999]=0;d=Q(2616,c|0,2)|0;c=v[299999];v[299999]=0;u:{v:{if((c|0)!=1){if(!d){q=0;c=v[e+100>>2];s=0;A=0;f=0;N=0;R=0;W=0;X=0;g=0;k=0;i=0;m=0;l=0;_=0;ba=0;d=0;break u}ba=d+32|0;X=u[d+30>>1];R=x[d+6>>1];W=x[d+4>>1];N=v[d+84>>2];f=v[d+80>>2];A=v[d+56>>2];s=v[d+52>>2];q=v[d+48>>2];_=v[d+44>>2];c=v[e+100>>2];g=x[c+68>>1];if(!g){break v}r=1e3/+(g>>>0);n=r*+u[d+90>>1];w:{if(D(n)<2147483648){l=~~n;break w}l=-2147483648}n=r*+u[d+88>>1];x:{if(D(n)<2147483648){m=~~n;break x}m=-2147483648}n=r*+u[d+74>>1];y:{if(D(n)<2147483648){i=~~n;break y}i=-2147483648}n=r*+u[d+72>>1];z:{if(D(n)<2147483648){k=~~n;break z}k=-2147483648}n=r*+u[d+70>>1];A:{if(D(n)<2147483648){g=~~n;break A}g=-2147483648}r=r*+u[d+2>>1];if(D(r)<2147483648){d=~~r;break u}d=-2147483648;break u}f=P()|0;O()|0;break c}l=u[d+90>>1];m=u[d+88>>1];i=u[d+74>>1];k=u[d+72>>1];g=u[d+70>>1];d=u[d+2>>1]}G=d;d=0;h=v[c+36>>2];if((h|0)<=0){break r}while(1){B:{if((f|0)<0){break B}j=v[v[c+40>>2]+(d<<2)>>2];if(x[j+10>>1]){break B}f=x[j+8>>1]==3?f|-2147483648:f}C:{if(f&131072){break C}j=v[v[c+40>>2]+(d<<2)>>2];if(x[j+10>>1]!=2){break C}f=x[j+8>>1]==3?f|131072:f}D:{if(f&262144){break D}j=v[v[c+40>>2]+(d<<2)>>2];if(x[j+10>>1]!=3){break D}f=x[j+8>>1]==3?f|262144:f}E:{if(f&1048576){break E}j=v[v[c+40>>2]+(d<<2)>>2];if(x[j+10>>1]!=4){break E}f=x[j+8>>1]==3?f|1048576:f}F:{if(f&524288){break F}j=v[v[c+40>>2]+(d<<2)>>2];if(x[j+10>>1]!=5){break F}f=x[j+8>>1]==3?f|524288:f}G:{if(f&2097152){break G}j=v[v[c+40>>2]+(d<<2)>>2];if(x[j+10>>1]!=6){break G}f=x[j+8>>1]==3?f|2097152:f}d=d+1|0;if((h|0)!=(d|0)){continue}break}break r}f=P()|0;O()|0;break b}f=P()|0;O()|0;break b}v[299999]=0;C=S(2672,c|0)|0;c=v[299999];v[299999]=0;H:{I:{if((c|0)!=1){if((C|0)==2&ca|(C|0)==1){break I}v[299999]=0;S(2669,v[e+100>>2])|0;c=v[299999];v[299999]=0;if((c|0)!=1){break H}f=P()|0;O()|0;break c}f=P()|0;O()|0;break c}h=v[v[e+100>>2]+20>>2];J:{if(h){c=0;K:{d=h;E=w[d|0];if(!E){break K}while(1){j=c;c=c+1|0;H=w[d+1|0];d=d+1|0;if(H){continue}break}if((E|0)!=60|j>>>0<6|(w[h+1|0]!=117|w[h+2|0]!=116)){break K}if(w[h+3|0]!=102|w[h+4|0]!=56|w[h+5|0]!=62){break K}v[299999]=0;U(1564,e+72|0,h+6|0,j-5|0);c=v[299999];v[299999]=0;if((c|0)!=1){break J}break d}v[299999]=0;$(2543,e+72|0,h|0,c|0,0);c=v[299999];v[299999]=0;if((c|0)==1){break d}break J}v[e+72>>2]=0;t[e+83|0]=0}h=v[v[e+100>>2]+24>>2];L:{if(h){c=0;M:{d=h;E=w[d|0];if(!E){break M}while(1){j=c;c=c+1|0;H=w[d+1|0];d=d+1|0;if(H){continue}break}if((E|0)!=60|j>>>0<6|(w[h+1|0]!=117|w[h+2|0]!=116)){break M}if(w[h+3|0]!=102|w[h+4|0]!=56|w[h+5|0]!=62){break M}v[299999]=0;U(1564,e+56|0,h+6|0,j-5|0);c=v[299999];v[299999]=0;if((c|0)!=1){break L}break f}v[299999]=0;$(2543,e+56|0,h|0,c|0,0);c=v[299999];v[299999]=0;if((c|0)==1){break f}break L}v[e+56>>2]=0;t[e+67|0]=0}d=gj(e+72|0,63,0);v[299999]=0;c=S(1,124)|0;h=v[299999];v[299999]=0;if((h|0)==1){break k}h=v[b>>2];v[299999]=0;h=Ta(2651,c|0,e+72|0,e+56|0,h+K|0,z|0,o>>>1&1,o&1,fa>>>2&1,ba|0,_|0,q|0,s|0,A|0,f|0,N|0,W|0,R|0,X<<16>>16,C|0,G<<16>>16,g<<16>>16,k<<16>>16,i<<16>>16,m<<16>>16,l<<16>>16)|0;g=v[299999];v[299999]=0;if((g|0)==1){break j}k=v[e+100>>2];N:{if(!k|!(w[k+8|0]&8)){break N}j=x[k+340>>1];if(!j){break N}A=(d|0)!=-1;G=h+112|0;C=v[k+356>>2];f=0;while(1){c=C+B(f,20)|0;O:{if(x[c+6>>1]!=1|!x[c+8>>1]){break O}t[e+40|0]=0;t[e+51|0]=0;P:{Q:{switch(x[c>>1]){case 0:break P;case 3:break Q;default:break O}}switch(x[c+2>>1]){case 0:case 1:case 10:break P;default:break O}}v[e+40>>2]=759583829;v[e+44>>2]=1161967153;t[e+51|0]=8;t[e+48|0]=0;d=v[k+368>>2];g=v[v[e+100>>2]+100>>2];v[e+36>>2]=0;i=x[c+8>>1];v[299999]=0;i=aa(2673,g|0,1,0,i|0,0,e+36|0)|0;m=v[299999];v[299999]=0;R:{S:{T:{U:{if((m|0)==1){break U}v[c+16>>2]=i;V:{if(v[e+36>>2]){break V}i=v[c+12>>2];v[299999]=0;i=Q(2674,d|0,i|0)|0;m=v[299999];v[299999]=0;if((m|0)==1){break U}v[e+36>>2]=i;if(i){break V}i=x[c+8>>1];m=v[c+16>>2];v[299999]=0;d=Y(2675,d|0,m|0,i|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break U}v[e+36>>2]=d;if(!d){break T}}d=v[c+16>>2];v[299999]=0;V(2676,g|0,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break U}v[c+16>>2]=0;u[c+8>>1]=0;break R}f=P()|0;O()|0;break S}v[299999]=0;m=S(2677,e+32|0)|0;d=v[299999];v[299999]=0;W:{X:{Y:{Z:{if((d|0)!=1){d=v[c+16>>2];v[e+12>>2]=x[c+8>>1];v[299999]=0;da(2678,e+16|0,m|0,d|0,e+12|0,(t[e+51|0]<0?v[e+40>>2]:e+40|0)|0,0);c=v[299999];v[299999]=0;if((c|0)!=1){d=t[e+83|0];c=(d|0)<0;i=c?v[e+76>>2]:d&255;if(!i){break Y}g=w[e+27|0];d=g<<24>>24<0;g=d?v[e+20>>2]:g;_:{if((i|0)>(g|0)){break _}d=d?v[e+16>>2]:e+16|0;l=d+(g<<2)|0;o=c?v[e+72>>2]:e+72|0;q=v[o>>2];c=d;while(1){s=g-i|0;g=s+1|0;if(g>>>0>>0){break _}c=sf(c,q,g);if(!c){break _}if(od(c,o,i)){c=c+4|0;g=l-c>>2;if((i|0)<=(g|0)){continue}break _}break}if((c|0)==(l|0)){break _}if((c-d|0)!=-4){break Y}}d=w[e+27|0];c=d<<24>>24<0;i=c?v[e+20>>2]:d;if(!i){break Y}g=w[e+83|0];d=g<<24>>24<0;g=d?v[e+76>>2]:g;$:{if((i|0)>(g|0)){break $}d=d?v[e+72>>2]:e+72|0;l=d+(g<<2)|0;o=c?v[e+16>>2]:e+16|0;q=v[o>>2];c=d;while(1){s=g-i|0;g=s+1|0;if(g>>>0>>0){break $}c=sf(c,q,g);if(!c){break $}if(od(c,o,i)){c=c+4|0;g=l-c>>2;if((i|0)<=(g|0)){continue}break $}break}if((c|0)==(l|0)){break $}if((c-d|0)!=-4){break Y}}o=v[h+112>>2];d=o;g=v[h+116>>2];aa:{if((d|0)==(g|0)){break aa}while(1){l=w[d+11|0];c=l<<24>>24<0;q=w[e+27|0];i=q<<24>>24<0;l=c?v[d+4>>2]:l;if((l|0)==((i?v[e+20>>2]:q)|0)){if(!l){break aa}if(!od(c?v[d>>2]:d,i?v[e+16>>2]:e+16|0,l)){break aa}g=v[h+116>>2]}d=d+12|0;if((g|0)!=(d|0)){continue}break}}if(!(A&1)){d=v[h+116>>2];break Z}d=v[h+116>>2];if((d|0)!=v[h+112>>2]){break Z}v[299999]=0;Q(2679,e+72|0,e+16|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break X}A=0;v[299999]=0;Q(2679,h|0,e+72|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){break Y}break X}f=P()|0;O()|0;break W}f=P()|0;O()|0;break S}if((d|0)!=(o|0)){break Y}v[299999]=0;V(2680,G|0,e+16|0);c=v[299999];v[299999]=0;if((c|0)==1){break X}}if(t[e+27|0]<=-1){dc(v[e+16>>2])}TN(m);break R}f=P()|0;O()|0;if(t[e+27|0]>-1){break W}dc(v[e+16>>2])}TN(m)}if(t[e+51|0]>=0){break g}dc(v[e+40>>2]);break g}if(t[e+51|0]>-1){break O}dc(v[e+40>>2])}f=f+1|0;if((j|0)!=(f|0)){continue}break}}v[299999]=0;V(2681,a|0,h|0);c=v[299999];v[299999]=0;if((c|0)==1){break k}v[299999]=0;S(2669,v[e+100>>2])|0;c=v[299999];v[299999]=0;if((c|0)==1){break k}if(t[e+67|0]<=-1){dc(v[e+56>>2])}if(t[e+83|0]>-1){break H}dc(v[e+72>>2])}if(t[e+99|0]>-1){break q}dc(v[e+88>>2])}z=z+1|0;if((M|0)!=(z|0)){continue}break}}VG(J)}p=p+1|0;if((y|0)!=(p|0)){continue}break}}dc(I);dc(F);t_(v[e+156>>2])}Qb=e+160|0;return}f=P()|0;O()|0;break g}f=P()|0;O()|0;dc(c);break g}f=P()|0;O()|0;break b}f=P()|0;O()|0;break b}if(t[e+67|0]>-1){break e}dc(v[e+56>>2]);break e}f=P()|0;O()|0}if(t[e+83|0]>-1){break c}dc(v[e+72>>2]);break c}f=P()|0;O()|0}if(t[e+99|0]>-1){break b}dc(v[e+88>>2])}VG(J);T(f|0);L()}a=P()|0;O()|0;lg(h);T(a|0);L()}function Ey(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,z=0;i=Qb-144|0;Qb=i;a:{if(!a|!b|(c|0)<0){break a}j=v[a+248>>2];if(!((j|0)<41|((j|0)<1025?w[a+362|0]&8:0))){if(!(!v[a+212>>2]|v[a+172>>2]!=-1)){break a}v[a+84>>2]=89;v[i>>2]=242468;oc(0,0,0,a,0,1,89,3,0,0,0,0,350078,i);v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1;break a}b:{c:{d:{g=Ub[v[259707]](300)|0;if(!g){break d}if((c|0)>=1){e=fl(a,b,i+136|0)}e:{if(!e){break e}u=b+c|0;x=d&1;z=d&2;c=300;l=g;while(1){f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{if((e|0)==38){if(w[b+1|0]==35){if(w[b|0]==38){j=b+2|0;f=0;g=w[b+2|0];t:{u:{if((g|0)==59){m=1;break u}e=0;if((g|0)==120){j=b+3|0;m=1;b=w[b+3|0];v:{if((b|0)==59){break v}while(1){g=j;j=-48;w:{if((b-48&255)>>>0<10){break w}j=-87;if((b-97&255)>>>0<6){break w}j=-55;if((b-65&255)>>>0<6){break w}m=0;te(a,6,0);j=g;e=0;break v}e=((b&255)+(e<<4)|0)+j|0;f=e>>>0>1114111?e:f;j=g+1|0;b=w[g+1|0];if((b|0)!=59){continue}break}}j=j+m|0;break i}while(1){if((g-48&255)>>>0<=9){e=(B(e,10)+(g&255)|0)-48|0;f=e>>>0>1114111?e:f;m=1;g=w[j+1|0];b=j+1|0;j=b;if((g|0)!=59){continue}break t}break}if(!(!v[a+212>>2]|v[a+172>>2]!=-1)){m=0;break u}v[a+84>>2]=7;v[i+16>>2]=275614;m=0;oc(0,0,0,a,0,1,7,3,0,0,0,0,350078,i+16|0);v[a+12>>2]=0;if(v[a+288>>2]){break u}v[a+212>>2]=1}b=j;e=0}j=b+m|0;break i}if(!(!v[a+212>>2]|v[a+172>>2]!=-1)){j=b;break h}v[a+84>>2]=8;v[i+32>>2]=275645;oc(0,0,0,a,0,1,8,3,0,0,0,0,350078,i+32|0);v[a+12>>2]=0;if(v[a+288>>2]){j=b;break h}v[a+212>>2]=1;j=b;break h}if(!x){break s}if(v[294256]){v[i+64>>2]=b;Ub[v[259806]](v[294239],349277,i- -64|0)}v[i+140>>2]=b;e=0;if(w[b|0]!=38){j=b;break j}v[i+140>>2]=b+1;g=AF(a,i+140|0);if(!g){Nd(a,68,352606);j=v[i+140>>2];break j}j=v[i+140>>2];if(w[j|0]!=59){x:{if(v[a+172>>2]==-1?v[a+212>>2]:0){break x}v[a+84>>2]=23;v[i+48>>2]=345800;oc(0,0,0,a,0,1,23,3,0,0,0,0,350078,i+48|0);v[a+12>>2]=0;if(v[a+288>>2]){break x}v[a+212>>2]=1}Ub[v[259708]](g);break j}j=j+1|0;y:{if(w[a+362|0]&16){break y}e=mi(g);if(!e){break y}Ub[v[259708]](g);break j}v[a+440>>2]=v[a+440>>2]+1;e=0;f=v[a>>2];z:{if(!f){break z}f=v[f+20>>2];if(f){e=Ub[f|0](v[a+4>>2],g)|0;if(e){break z}}if(w[a+362|0]&16){e=mi(g);if(e){break z}}e=0;if(v[a+4>>2]!=(a|0)){break z}e=az(a,g)}f=v[a+172>>2];if((f|0)==-1){e=0;Ub[v[259708]](g);j=b;break j}if(!e){if(!(v[a+88>>2]|v[a+92>>2]?v[a+28>>2]!=1:0)){hf(a,26,354083,g);oj(a,0,0,0);break k}Wr(a,27,354083,g);oj(a,0,0,0);break k}b=v[e+48>>2];if((b|0)==3){hf(a,28,349435,g);break k}f=(f|0)!=12;if(!(f|(b|0)!=2)){hf(a,29,355837,g);break k}A:{if(f){break A}f=v[e+40>>2];if(!f|(b|0)==6){break A}if(uo(f,60)){break r}b=v[e+48>>2]}if((b&-2)!=4){break k}hf(a,30,355789,g);break k}if(!z|(e|0)!=37){break s}if(v[294256]){v[i+128>>2]=b;Ub[v[259806]](v[294239],349318,i+128|0)}g=0;B:{if(!b){j=0;break B}v[i+140>>2]=b;if(w[b|0]!=37){j=b;break B}v[i+140>>2]=b+1;f=AF(a,i+140|0);if(!f){Nd(a,68,352668);j=v[i+140>>2];break B}j=v[i+140>>2];if(w[j|0]!=59){C:{if(v[a+172>>2]==-1?v[a+212>>2]:0){break C}v[a+84>>2]=23;v[i+112>>2]=345800;oc(0,0,0,a,0,1,23,3,0,0,0,0,350078,i+112|0);v[a+12>>2]=0;if(v[a+288>>2]){break C}v[a+212>>2]=1}Ub[v[259708]](f);break B}j=j+1|0;v[i+140>>2]=j;v[a+440>>2]=v[a+440>>2]+1;e=v[a>>2];D:{if(!e){break D}e=v[e+96>>2];if(!e){break D}g=Ub[e|0](v[a+4>>2],f)|0}if(v[a+172>>2]==-1){g=0;Ub[v[259708]](f);j=b;break B}E:{if(!g){if(!(v[a+88>>2]|v[a+92>>2]?v[a+28>>2]!=1:0)){hf(a,26,353078,f);oj(a,0,0,0);break E}$l(a,27,353078,f);v[a+100>>2]=0;oj(a,0,0,0);break E}if((v[g+48>>2]&-2)==4){break E}$l(a,27,346959,f)}v[a+92>>2]=1;Ub[v[259708]](f)}if(v[a+388>>2]==89){break b}oj(a,0,g,0);if(!g){break g}v[a+440>>2]=v[a+440>>2]+(v[g+72>>2]/2|0);e=v[g+40>>2];if(e){v[a+248>>2]=v[a+248>>2]+1;break l}if(v[a+104>>2]?1:w[a+360|0]&18){F:{switch(v[g+48>>2]-2|0){default:if(v[a+172>>2]==-1?v[a+212>>2]:0){break m}v[a+84>>2]=1;v[i+84>>2]=238069;v[i+80>>2]=238159;oc(0,0,0,a,0,1,1,3,238069,0,0,0,349936,i+80|0);v[a+12>>2]=0;if(v[a+288>>2]){break m}v[a+212>>2]=1;break m;case 0:case 3:break F}}if(v[294256]){v[i+96>>2]=v[g+8>>2];Ub[v[259806]](v[294239],347861,i+96|0)}f=0;e=Qb-32|0;Qb=e;b=Ub[v[259704]](20)|0;G:{if(!b){v[e>>2]=239852;oc(0,0,0,0,0,2,2,3,239852,0,0,0,350051,e);break G}v[b+4>>2]=0;f=v[259705];v[b+8>>2]=f;v[b+12>>2]=v[259706];f=Ub[v[259707]](f)|0;v[b>>2]=f;if(!f){v[e+16>>2]=239852;f=0;oc(0,0,0,0,0,2,2,3,239852,0,0,0,350051,e+16|0);Ub[v[259708]](b);break G}t[f|0]=0;v[b+16>>2]=0;f=b}Qb=e+32|0;k=f;if(!f){te(a,1,238069);break m}o=NF(a,g);if(!o){te(a,1,238002);ez(k);break m}if((Xr(a,o)|0)<=-1){break n}H:{if(v[a+292>>2]){break H}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break H}nd(a)}e=bf(a,i+140|0);I:{J:{if(v[a+36>>2]==(o|0)){m=0;while(1){b=v[o+16>>2];if(b>>>0>=y[o+20>>2]){break I}K:{if((e|0)<=255){if((e|0)>31|(1<>>0<=13:0)){break K}break q}if((e|0)<55296){break K}f=e-57344|0;if(f>>>0<8190){break K}p=e-65536|0;if(p>>>0>1048575){break J}}n=v[i+140>>2];q=0;L:{if(!b|!k|(v[k+12>>2]==2|(n|0)<-1)){break L}if(!n){break L}p=b;if((n|0)<=-1){n=0;if(!w[p|0]){break L}while(1){n=n+1|0;f=w[b+1|0];b=b+1|0;if(f){continue}break}}M:{b=v[k+4>>2];f=(b+n|0)+2|0;if(f>>>0>y[k+8>>2]){r=Qb-32|0;Qb=r;N:{if(!k){break N}s=v[k+12>>2];if((s|0)==2){break N}q=1;e=v[k+8>>2];if(e>>>0>f>>>0){break N}O:{P:{Q:{R:{S:{T:{switch(s|0){case 0:case 3:b=e?e<<1:f+10|0;if(f>>>0<=b>>>0){break S}while(1){if((b|0)<=-1){v[r+16>>2]=239837;q=0;oc(0,0,0,0,0,2,2,3,239837,0,0,0,350051,r+16|0);break N}b=b<<1;if(f>>>0>b>>>0){continue}break};break S;case 4:if(y[k+4>>2]<4096){b=f;break Q}b=e;while(1){b=b<<1;if(f>>>0<=b>>>0){break S}if((b|0)>-1){continue}break};q=0;so(2,2,0,239837);break N;case 1:break R;default:break T}}b=f+10|0}if((s|0)!=3){break Q}f=v[k+16>>2];if(!f){break Q}s=v[k>>2];e=s-f|0;if(e>>>0>b>>>0){Wd(f,s,v[k+4>>2]);f=v[k+16>>2];v[k>>2]=f;t[f+v[k+4>>2]|0]=0;break P}f=Ub[v[259709]](f,b+e|0)|0;if(!f){so(2,2,0,239837);q=0;break N}v[k+16>>2]=f;v[k>>2]=e+f;break P}b=f+10|0}U:{V:{f=v[k>>2];W:{if(!f){e=Ub[v[259707]](b)|0;break W}if(e-v[k+4>>2]>>>0>99){break V}e=Ub[v[259709]](f,b)|0}if(e){break U}break O}e=Ub[v[259707]](b)|0;if(!e){break O}f=gc(e,v[k>>2],v[k+4>>2]);Ub[v[259708]](v[k>>2]);t[f+v[k+4>>2]|0]=0}v[k>>2]=e}v[k+8>>2]=b;break N}v[r>>2]=239837;q=0;oc(0,0,0,0,0,2,2,3,239837,0,0,0,350051,r)}Qb=r+32|0;if(!q){break M}b=v[k+4>>2]}Wd(v[k>>2]+b|0,p,n);b=v[k+4>>2]+n|0;v[k+4>>2]=b;t[b+v[k>>2]|0]=0;break L}so(2,2,0,239837)}X:{if((m|0)<101){m=m+1|0;break X}Y:{if(v[a+292>>2]){break Y}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break Y}nd(a)}m=0;if(v[a+172>>2]==-1){break n}}b=v[a+36>>2];f=v[b+16>>2];Z:{if(w[f|0]==10){v[b+32>>2]=1;v[b+28>>2]=v[b+28>>2]+1;break Z}v[b+32>>2]=v[b+32>>2]+1}e=b;b=f+v[i+140>>2]|0;v[e+16>>2]=b;if(w[b|0]==37){wd(a)}e=bf(a,i+140|0);if(!e){_:{if(v[a+292>>2]){break _}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break _}nd(a)}if(v[a+172>>2]==-1){break n}m=0;e=bf(a,i+140|0)}if(v[a+36>>2]==(o|0)){continue}break}}if((e|0)<256){break q}p=e-65536|0;f=e-57344|0}if((e|0)<55296|p>>>0<1048576|f>>>0<8190){break o}break p}vd(a);break o}$l(a,104,349475,v[g+8>>2]);break m}$:{if(v[i+136>>2]==1){t[h+l|0]=e;h=h+1|0;break $}h=li(h+l|0,e)+h|0}j=v[i+136>>2]+b|0;if(h+100>>>0<=c>>>0){break g}f=0;b=(c<<1)+100|0;if(c>>>0>b>>>0){break d}g=Ub[v[259709]](l,b)|0;if(!g){break d}break f}hf(a,38,348969,g);break k}if((e|0)>31){break o}if(e>>>0>13){break p}if(1<>2]=v[k>>2];v[k>>2]=0}ez(k)}e=v[g+40>>2];b=v[a+248>>2];v[a+248>>2]=b+1;if(e){break l}v[a+248>>2]=b;break g}f=Ey(a,e,kl(e),d);v[a+248>>2]=v[a+248>>2]-1;if(!f){break g}b=f;e=w[b|0];if(e){while(1){t[h+l|0]=e;e=h+1|0;aa:{if(h+101>>>0<=c>>>0){h=l;break aa}if(oj(a,e,g,0)){break c}h=c;c=(h<<1)+100|0;if(h>>>0>c>>>0){break d}h=Ub[v[259709]](l,c)|0;if(!h){break d}}l=h;h=e;b=b+1|0;e=w[b|0];if(e){continue}break}}Ub[v[259708]](f);break g}Ub[v[259708]](g)}b=v[a+388>>2];if((b|0)==1|(b|0)==89){break b}oj(a,0,e,0);if(!e){break g}v[a+440>>2]=v[a+440>>2]+(v[e+72>>2]/2|0);b=v[e+40>>2];if(v[e+48>>2]==6){if(b){h=li(h+l|0,w[b|0])+h|0;if(h+100>>>0<=c>>>0){break g}f=0;b=(c<<1)+100|0;if(c>>>0>b>>>0){break d}g=Ub[v[259709]](l,b)|0;if(g){break f}break d}Nd(a,1,347995);break g}if(b){v[a+248>>2]=v[a+248>>2]+1;f=Ey(a,b,kl(b),d);v[a+248>>2]=v[a+248>>2]-1;b=v[a+388>>2];if((b|0)==1|(b|0)==89){break c}if(!f){break g}g=f;b=w[f|0];if(b){while(1){t[h+l|0]=b;b=h+1|0;ba:{if(h+101>>>0<=c>>>0){h=l;break ba}if(oj(a,b,e,0)){break c}h=c;c=(h<<1)+100|0;if(h>>>0>c>>>0){break d}h=Ub[v[259709]](l,c)|0;if(!h){break d}}l=h;h=b;g=g+1|0;b=w[g|0];if(b){continue}break}}Ub[v[259708]](f);break g}m=kl(v[e+8>>2]);e=v[e+8>>2];t[h+l|0]=38;h=h+1|0;b=m+100|0;ca:{if(h+b>>>0<=c>>>0){b=c;g=l;break ca}f=0;b=b+(c<<1)|0;if(c>>>0>b>>>0){break d}g=Ub[v[259709]](l,b)|0;if(!g){break d}}da:{if((m|0)<1){break da}c=m-1|0;l=m&3;if(l){while(1){t[g+h|0]=w[e|0];m=m-1|0;h=h+1|0;e=e+1|0;l=l-1|0;if(l){continue}break}}if(c>>>0<3){break da}while(1){c=g+h|0;t[c|0]=w[e|0];t[c+1|0]=w[e+1|0];t[c+2|0]=w[e+2|0];t[c+3|0]=w[e+3|0];h=h+4|0;e=e+4|0;c=(m|0)>4;m=m-4|0;if(c){continue}break}}t[g+h|0]=59;h=h+1|0;break f}ea:{fa:{if(e>>>0<=255){if(f|(!(1<>>0>13)&e>>>0<=31){break fa}if(!e){break h}break ea}if(e>>>0>55295&e-57344>>>0>8189&e-65536>>>0>1048575){break fa}if(!f){break ea}}ok(a,9,354375,e);break h}h=li(h+l|0,e)+h|0}if(h+100>>>0<=c>>>0){break g}f=0;b=(c<<1)+100|0;if(c>>>0>b>>>0){break d}g=Ub[v[259709]](l,b)|0;if(!g){break d}break f}b=c;g=l}e=0;if(j>>>0>>0){e=fl(a,j,i+136|0)}if(!e){break e}l=g;c=b;b=j;if(e){continue}break}}t[g+h|0]=0;break a}Qd(a,0)}if(!f){break b}Ub[v[259708]](f)}g=0;if(!l){break a}Ub[v[259708]](l)}Qb=i+144|0;return g}function rZa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,z=0;g=Qb-256|0;Qb=g;a:{if(!b){e=36;break a}h=v[a+4>>2];if(!h){e=35;break a}if(!(v[v[h+128>>2]+52>>2]|y[h+16>>2]>c>>>0)){e=6;break a}e=b;f=e;if(d&2){d=w[h+9|0]&32?d&-3:d;d=d>>>14&2|d}if(d&1025){d=(w[h+9|0]&32?9:11)|d}o=d&2;v[f+44>>2]=(o?12:48)+e;e=v[b+116>>2];b:{if(d&8|(e|0)==-1|(x[h+6>>1]&32767|w[h+9|0]&128)){break b}f=v[b+20>>2];i=v[b+16>>2];c:{e=Ub[v[v[h+540>>2]+72>>2]](h,e,c,d,v[h+104>>2],a+76|0,g+8|0)|0;if(e){h=v[a+4>>2];k=v[h+8>>2]&1;if((e&255)!=157){break c}if(k){break b}u[g+8>>1]=0;u[g+240>>1]=0;u[g+224>>1]=0;u[g+6>>1]=0;if(!v[h+752>>2]){break a}Ub[v[v[h+540>>2]+140>>2]](h,0,c,g+8|0,g+224|0);b=g+240|0;d=g+6|0;d:{if(w[h+292|0]){Ub[v[v[h+540>>2]+140>>2]](h,1,c,b,d);break d}if(x[h+372>>1]!=65535){u[b>>1]=x[h+442>>1];c=u[h+442>>1]-u[h+444>>1]|0;b=c>>31;u[d>>1]=b^b+c;break d}u[b>>1]=x[h+220>>1];c=u[h+220>>1]-u[h+222>>1]|0;b=c>>31;u[d>>1]=b^b+c}v[a+108>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;b=Ac(u[g+8>>1],i);v[a+36>>2]=0;v[a+32>>2]=b;b=Ac(x[g+224>>1],i);v[a+44>>2]=0;v[a+40>>2]=b;s=a,z=Ac(u[g+240>>1],f),v[s+48>>2]=z;b=Ac(x[g+6>>1],f);v[a+100>>2]=0;v[a+104>>2]=0;t[a+94|0]=1;v[a+72>>2]=1651078259;v[a+52>>2]=b;e=0;break a}e=0;v[a+108>>2]=0;v[a+24>>2]=x[g+10>>1]<<6;v[a+28>>2]=x[g+8>>1]<<6;h=u[g+12>>1];v[a+32>>2]=h<<6;k=u[g+14>>1];v[a+36>>2]=k<<6;v[a+40>>2]=x[g+16>>1]<<6;j=u[g+18>>1];v[a+44>>2]=j<<6;n=u[g+20>>1];v[a+48>>2]=n<<6;o=x[g+22>>1];l=k;k=d&16;v[a+104>>2]=k?n:l;v[a+100>>2]=k?j:h;v[a+72>>2]=1651078259;v[a+52>>2]=o<<6;h=v[a+4>>2];if(!(t[h+8|0]&1)){break a}k=v[h+104>>2];ic(g+20|0,0,192);v[g+212>>2]=0;v[g+216>>2]=0;v[g+32>>2]=k;v[g+16>>2]=a;v[g+12>>2]=b;v[g+8>>2]=h;v[g+24>>2]=d;wH(g+8|0,c,0,1);B_(g+212|0,v[v[g+8>>2]+100>>2]);b=v[g+68>>2];v[a+56>>2]=b;v[a+60>>2]=v[g+184>>2];if(!(v[a+40>>2]|!b)){s=a,z=Ac(b,i),v[s+40>>2]=z}if(v[a+52>>2]){break a}b=v[a+60>>2];if(!b){break a}s=a,z=Ac(b,f),v[s+52>>2]=z;break a}if(!k){break a}}r=d&1;if(!(r|w[b+112|0])){e=36;break a}e=6;if(d&16384){break a}q=v[h+104>>2];p=v[h+96>>2];ic(g+8|0,0,212);if(!o){n=d>>>7&1;e=v[b+304>>2];e:{f:{if((e|0)>=0){f=v[b+308>>2];if((f|0)<0){break f}if(e){break a}e=f;if(!e){break e}break a}k=v[b>>2];i=v[k+100>>2];e=i;f=v[b+132>>2];if(f){Ub[v[e+8>>2]](e,f)}v[b+132>>2]=0;e=v[b+144>>2];if(e){Ub[v[i+8>>2]](i,e)}v[b+144>>2]=0;e=v[b+252>>2];if(e){Ub[v[i+8>>2]](i,e)}v[b+252>>2]=0;e=v[b+260>>2];if(e){Ub[v[i+8>>2]](i,e)}v[b+260>>2]=0;e=v[b+300>>2];if(e){v[e+444>>2]=0;f=v[e+8>>2];j=f;l=v[e+24>>2];if(l){Ub[v[j+8>>2]](j,l)}v[e+20>>2]=0;v[e+24>>2]=0;j=v[e+440>>2];if(j){Ub[v[f+8>>2]](f,j)}v[e+440>>2]=0;v[e+432>>2]=0;v[e+436>>2]=0;j=v[e+396>>2];if(j){Ub[v[f+8>>2]](f,j)}v[e+392>>2]=0;v[e+396>>2]=0;v[e>>2]=0;v[e+4>>2]=0;if(e){Ub[v[f+8>>2]](f,e)}}e=v[b+264>>2];if(e){f=v[b+292>>2];if(f){Ub[v[e+8>>2]](e,f)}v[b+292>>2]=0;f=v[b+288>>2];if(f){Ub[v[e+8>>2]](e,f)}v[b+288>>2]=0;f=v[b+280>>2];if(f){Ub[v[e+8>>2]](e,f)}v[b+280>>2]=0;f=v[b+276>>2];if(f){Ub[v[e+8>>2]](e,f)}v[b+276>>2]=0;f=v[b+284>>2];if(f){Ub[v[e+8>>2]](e,f)}v[b+284>>2]=0;v[b+272>>2]=0;v[b+264>>2]=0;v[b+268>>2]=0}v[b+304>>2]=-1;v[b+308>>2]=-1;f=Qb-16|0;Qb=f;e=v[k+96>>2];g:{h:{if(!e){break h}j=v[e+8>>2];e=Fd(j,636,f+8|0);if(v[f+8>>2]){break h}v[e+436>>2]=32;v[e+8>>2]=j;s=e,z=Cc(j,16,0,32,0,f+12|0),v[s+440>>2]=z;if(!v[f+12>>2]){v[e+444>>2]=0;v[e+392>>2]=0;v[e+396>>2]=0;v[e+20>>2]=0;v[e+24>>2]=0;v[e>>2]=0;v[e+4>>2]=0;break g}v[e+444>>2]=0;j=v[e+8>>2];l=j;m=v[e+24>>2];if(m){Ub[v[l+8>>2]](l,m)}v[e+20>>2]=0;v[e+24>>2]=0;l=v[e+440>>2];if(l){Ub[v[j+8>>2]](j,l)}v[e+440>>2]=0;v[e+432>>2]=0;v[e+436>>2]=0;l=v[e+396>>2];if(l){Ub[v[j+8>>2]](j,l)}v[e+392>>2]=0;v[e+396>>2]=0;v[e>>2]=0;v[e+4>>2]=0;if(e){Ub[v[j+8>>2]](j,e)}if(!v[f+12>>2]){break g}}e=0}Qb=f+16|0;v[b+300>>2]=e;e=x[k+280>>1];v[b+128>>2]=e;f=x[k+282>>1];v[b+148>>2]=0;v[b+152>>2]=0;v[b+136>>2]=0;v[b+124>>2]=0;v[b+140>>2]=f;v[b+248>>2]=v[k+700>>2];f=x[k+278>>1];t[b+113|0]=0;t[b+114|0]=0;u[b+256>>1]=f;v[b+96>>2]=0;v[b+100>>2]=0;v[b+104>>2]=0;v[b+108>>2]=0;s=b,z=Cc(i,24,0,e,0,g+224|0),v[s+132>>2]=z;i:{if(v[g+224>>2]){break i}s=b,z=Cc(i,24,0,v[b+140>>2],0,g+224|0),v[s+144>>2]=z;if(v[g+224>>2]){break i}s=b,z=Cc(i,4,0,v[b+248>>2],0,g+224|0),v[s+252>>2]=z;if(v[g+224>>2]){break i}s=b,z=Cc(i,4,0,x[b+256>>1],0,g+224|0),v[s+260>>2]=z;if(v[g+224>>2]){break i}e=x[k+276>>1];v[b+292>>2]=0;v[b+296>>2]=0;v[b+284>>2]=0;v[b+288>>2]=0;v[b+276>>2]=0;v[b+280>>2]=0;v[b+268>>2]=0;v[b+272>>2]=0;v[b+264>>2]=i;j=e+4|0;e=j&65535;s=b,z=Cc(i,8,0,e,0,g+240|0),v[s+276>>2]=z;j:{k:{l:{f=v[g+240>>2];m:{if(f){break m}s=b,z=Cc(i,8,0,e,0,g+240|0),v[s+280>>2]=z;f=v[g+240>>2];if(f){break m}s=b,z=Cc(i,8,0,e,0,g+240|0),v[s+284>>2]=z;f=v[g+240>>2];if(f){break m}s=b,z=Cc(i,1,0,e,0,g+240|0),v[s+288>>2]=z;f=v[g+240>>2];if(f){break m}s=b,z=Cc(i,2,0,0,0,g+240|0),v[s+292>>2]=z;f=v[g+240>>2];if(!f){break l}}e=v[b+264>>2];if(e){break k}v[g+224>>2]=f;break i}u[b+268>>1]=j;u[b+270>>1]=0;v[g+224>>2]=0;break j}f=v[b+292>>2];if(f){Ub[v[e+8>>2]](e,f)}v[b+292>>2]=0;f=v[b+288>>2];if(f){Ub[v[e+8>>2]](e,f)}v[b+288>>2]=0;f=v[b+280>>2];if(f){Ub[v[e+8>>2]](e,f)}v[b+280>>2]=0;f=v[b+276>>2];if(f){Ub[v[e+8>>2]](e,f)}v[b+276>>2]=0;f=v[b+284>>2];if(f){Ub[v[e+8>>2]](e,f)}v[b+284>>2]=0;v[b+272>>2]=0;v[b+264>>2]=0;v[b+268>>2]=0;e=v[g+240>>2];v[g+224>>2]=e;if(e){break i}}u[b+272>>1]=j;gc(b+180|0,447508,68);e=v[v[v[k+96>>2]+4>>2]+164>>2];v[k+708>>2]=e?e:1990;e=v[b+300>>2];i=v[b>>2];f=vH(e,i,b);n:{if(f){break n}v[e+484>>2]=0;v[e+488>>2]=0;v[e+480>>2]=64;v[e+16>>2]=0;v[e+432>>2]=0;v[e+568>>2]=16384;t[e+565|0]=n;v[e+220>>2]=0;v[e+224>>2]=0;t[e+492|0]=0;u[e+256>>1]=0;v[e+228>>2]=0;v[e+260>>2]=65536;v[e+264>>2]=0;k=v[i+688>>2];f=v[i+684>>2];v[e+456>>2]=0;v[e+460>>2]=0;v[e+452>>2]=f;v[e+448>>2]=k;v[e+464>>2]=0;v[e+468>>2]=0;o:{if(!f){v[b+304>>2]=0;break o}v[e+368>>2]=f;v[e+360>>2]=k;v[e+364>>2]=0;v[e+356>>2]=1;f=Ub[v[i+708>>2]](e)|0;v[b+304>>2]=f;if(f){break n}}v[b+124>>2]=v[e+400>>2];v[b+136>>2]=v[e+412>>2];v[b+148>>2]=v[e+424>>2];v[b+152>>2]=v[e+428>>2];f=v[e+452>>2];v[b+156>>2]=v[e+448>>2];v[b+160>>2]=f;f=v[e+460>>2];v[b+164>>2]=v[e+456>>2];v[b+168>>2]=f;f=v[e+468>>2];v[b+172>>2]=v[e+464>>2];v[b+176>>2]=f;f=0}e=f;break f}hZ(b);e=v[g+224>>2]}if(e){break a}e=v[b+308>>2];if((e|0)<=-1){i=x[b+272>>1];p:{if(!i){break p}k=v[b+280>>2];j=v[b+276>>2];e=0;if((i|0)!=1){f=i&65534;while(1){l=e<<3;m=l+j|0;v[m>>2]=0;v[m+4>>2]=0;m=k+l|0;v[m>>2]=0;v[m+4>>2]=0;l=l|8;m=l+j|0;v[m>>2]=0;v[m+4>>2]=0;l=k+l|0;v[l>>2]=0;v[l+4>>2]=0;e=e+2|0;f=f-2|0;if(f){continue}break}}if(!(i&1)){break p}e=e<<3;f=e+j|0;v[f>>2]=0;v[f+4>>2]=0;e=e+k|0;v[e>>2]=0;v[e+4>>2]=0}e=x[b+256>>1];if(e){ic(v[b+260>>2],0,e<<2)}gc(b+180|0,447508,68);e=gZ(b,n)}if(e){break a}}i=v[b+300>>2];if(!i){e=153;break a}e=d&983040;q:{if(v[p+64>>2]!=40){k=(e|0)!=131072;e=0;j=0;f=0;break q}j=(e|0)!=131072;e=j&(d&262144)>>>18;k=0;f=!(d&458752)&j}t[i+614|0]=e;e=vH(i,h,b);if(e){break a}r:{s:{t:{u:{if(v[p+64>>2]==40){e=w[i+613|0]==(j|0);if(!e){t[i+613|0]=j}if((f|0)!=w[i+618|0]){break u}if(w[i+612|0]==(k|0)){break t}t[i+612|0]=k;break s}if(w[i+612|0]==(k|0)){break r}t[i+612|0]=k;break s}t[i+618|0]=f;if(w[i+612|0]==(k|0)){break s}t[i+612|0]=k;break s}if(e){break r}}e=gZ(b,n);if(e){break a}}e=w[i+340|0];f=e<<1&2;if(e&2){gc(i+288|0,447508,68)}t[i+565|0]=n;v[g+164>>2]=i;v[g+168>>2]=v[i+396>>2];d=d|f}e=v[v[a+156>>2]>>2];Fo(e);v[g+24>>2]=d;v[g+20>>2]=e;v[g+212>>2]=0;v[g+216>>2]=0;v[g+32>>2]=q;v[g+16>>2]=a;v[g+12>>2]=b;v[g+8>>2]=h;v[a+124>>2]=0;v[a+128>>2]=0;v[a+72>>2]=1869968492;e=wH(g+8|0,c,0,0);v:{if(e){break v}d=v[g+20>>2];w:{if(v[a+72>>2]==1668246896){v[a+128>>2]=v[d+48>>2];v[a+132>>2]=v[d+52>>2];break w}h=v[d+24>>2];e=a+108|0;v[e>>2]=v[d+20>>2];v[e+4>>2]=h;v[e+16>>2]=v[d+36>>2];h=v[d+32>>2];v[e+8>>2]=v[d+28>>2];v[e+12>>2]=h;v[a+124>>2]=v[a+124>>2]&-513;d=v[g+76>>2];if(!d){break w}dh(e,0-d|0,0)}x:{if(o){break x}d=8;e=v[g+164>>2];y:{if(!w[e+341|0]){break y}d=32;z:{switch(v[e+344>>2]){case 4:d=48;break y;case 5:d=16;break y;case 1:break x;case 0:break y;default:break z}}d=8}v[a+124>>2]=v[a+124>>2]|d}e=v[g+8>>2];k=65536;f=v[g+12>>2];d=v[g+16>>2];k=t[g+24|0]&1?k:v[v[f+44>>2]+8>>2];h=v[e+96>>2];A:{if(v[d+72>>2]!=1668246896){Eo(d+108|0,g+240|0);break A}i=v[g+56>>2];v[g+248>>2]=v[g+52>>2];v[g+252>>2]=i;i=v[g+48>>2];v[g+240>>2]=v[g+44>>2];v[g+244>>2]=i}v[d+56>>2]=v[g+68>>2];o=v[g+240>>2];v[d+32>>2]=o;i=v[g+252>>2];v[d+36>>2]=i;v[d+40>>2]=v[g+84>>2]-v[g+76>>2];B:{C:{if(v[h+64>>2]!=40){break C}h=v[g+164>>2];if(!h){break C}if(w[h+615|0]){break B}}if(v[e+488>>2]|v[g+24>>2]&2097154){break B}p=v[e+776>>2];if(!p){break B}h=0;j=v[e+768>>2];l=j?j+8|0:0;n=v[e+780>>2];q=v[e+784>>2];f=x[v[f+44>>2]>>1];while(1){if((f|0)==w[h+q|0]){f=c+2|0;if(!j|f>>>0>=n>>>0){break B}v[d+40>>2]=w[f+(l+B(h,n)|0)|0]<<6;break B}h=h+1|0;if((p|0)!=(h|0)){continue}break}}v[d+24>>2]=v[g+248>>2]-o;h=i-v[g+244>>2]|0;v[d+28>>2]=h;D:{if(!(!w[e+292|0]|!x[e+330>>1])){f=ad(v[g+192>>2]-i|0,k)<<16>>16;h=0;i=v[g+192>>2];j=v[g+200>>2];if((i|0)<=(j|0)){break D}h=ad(i-j|0,k)&65535;break D}f=ad(h,k);h=x[e+372>>1]==65535;h=u[e+(h?220:442)>>1]-u[e+(h?222:444)>>1]|0;f=(h-(f<<16>>16)|0)/2|0}e=v[v[e+128>>2]+52>>2];E:{if(!e){break E}i=v[v[e>>2]+8>>2];if(!i){break E}v[g+232>>2]=h;v[g+228>>2]=f;v[g+224>>2]=0;e=Ub[i|0](v[e+4>>2],c,1,g+224|0)|0;if(e){break v}h=v[g+232>>2];f=v[g+228>>2]}v[d+60>>2]=h;c=d;if(!(t[g+24|0]&1)){f=Ac(f,k);h=Ac(h,k)}v[c+52>>2]=h;v[d+48>>2]=f;v[d+44>>2]=v[d+32>>2]+(v[d+40>>2]/-2|0);e=0}if(!(x[v[b+44>>2]+2>>1]>23|r)){v[a+124>>2]=v[a+124>>2]|256}B_(g+212|0,v[v[g+8>>2]+100>>2])}Qb=g+256|0;return e|0}function qoa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=Qb-144|0;Qb=c;a:{b:{c:{d:{e:{f:{g:{j=a+92|0;if(v[j>>2]&16){h:{b=v[a+136>>2];if(b){while(1){e=0;f=v[b+8>>2];d=v[f+60>>2];if(d){v[299999]=0;v[d+4>>2]=v[d+4>>2]+1;d=v[299999];v[299999]=0;if((d|0)==1){break g}e=v[f+60>>2]}v[299999]=0;v[c+88>>2]=e;V(4709,e|0,1);d=v[299999];v[299999]=0;if((d|0)==1){break h}v[299999]=0;V(4710,e|0,0);d=v[299999];v[299999]=0;if((d|0)==1){break h}v[299999]=0;f=v[e+4>>2]-1|0;v[e+4>>2]=f;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(!f){v[299999]=0;R(4338,e|0);d=v[299999];v[299999]=0;if((d|0)==1){break a}}b=v[b>>2];if(b){continue}break}}Cp(a+128|0);break e}a=P()|0;O()|0;ec(c+88|0);T(a|0);L()}if(!(v[j>>2]&1)){break e}f=a+128|0;k=c+96|0;l=c+32|0;i:{j:{k:{while(1){h=Bh();v[c+128>>2]=0;v[299999]=0;g=S(4477,c+88|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break d}e=v[a+136>>2];v[c+84>>2]=f;v[c+80>>2]=e;b=f;l:{if(!e){break l}while(1){v[c+64>>2]=e;v[c+68>>2]=b;m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{if((b|0)!=(f|0)){v[299999]=0;V(4468,c- -64|0,f|0);b=v[299999];v[299999]=0;if((b|0)==1){break F}break b}b=c;d=v[e+8>>2];if(d){v[299999]=0;v[d+4>>2]=v[d+4>>2]+1;d=v[299999];v[299999]=0;if((d|0)==1){break F}d=v[e+8>>2]}else{d=0}v[b+72>>2]=d;if(v[d+8>>2]){break E}v[299999]=0;U(4711,c+24|0,a|0,d+12|0);b=v[299999];v[299999]=0;if((b|0)==1){break z}v[299999]=0;Q(4478,g|0,c+24|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break C}break D}e=W(989228)|0;b=O()|0;break n}b=v[d+20>>2];v[299999]=0;U(4712,c+24|0,a|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break z}v[299999]=0;Q(4478,g|0,c+24|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break B}}v[c+48>>2]=981312;v[c+24>>2]=981280;d=v[c+52>>2];if(d){b=v[d+4>>2]-1|0;v[d+4>>2]=b;if(!b){Ub[v[v[d>>2]+4>>2]](d)}v[c+52>>2]=0}v[c+40>>2]=981312;d=v[c+44>>2];if(d){b=v[d+4>>2]-1|0;v[d+4>>2]=b;if(!b){Ub[v[v[d>>2]+4>>2]](d)}v[c+44>>2]=0}ec(l);b=v[c+96>>2];if(!b|!v[b+8>>2]){break A}v[299999]=0;U(4713,c+136|0,g|0,0);b=v[299999];v[299999]=0;if((b|0)==1){break z}b=v[c+136>>2];if(!b){ec(c+136|0);break A}b=v[b+8>>2];ec(c+136|0);if(!b){break A}v[299999]=0;Q(4344,c+128|0,c+72|0)|0;b=v[299999];v[299999]=0;e=1;if((b|0)!=1){break r}break z}e=W(989228)|0;b=O()|0;$c(c+24|0);break o}e=W(989228)|0;b=O()|0;$c(c+24|0);break o}v[299999]=0;d=v[j>>2];b=v[299999];v[299999]=0;if((b|0)==1){break z}if(!(d&24)){break s}b=v[v[c+72>>2]+64>>2];v[299999]=0;R(4714,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break z}v[c+16>>2]=0;v[c+20>>2]=v[282402];b=v[c+72>>2];if(v[b+8>>2]){break x}v[299999]=0;U(4423,c+24|0,358009,b+12|0);b=v[299999];v[299999]=0;if((b|0)==1){break q}v[299999]=0;Q(4535,c+16|0,c+24|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break y}ec(c+24|0);break w}e=W(989228)|0;b=O()|0;break o}e=W(989228)|0;b=O()|0;ec(c+24|0);break p}b=v[b+20>>2];v[299999]=0;d=Q(4545,c+8|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break q}v[299999]=0;U(4423,c+24|0,357815,d|0);b=v[299999];v[299999]=0;if((b|0)==1){break v}v[299999]=0;Q(4535,c+16|0,c+24|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break u}ec(c+24|0);ec(d)}b=v[c+16>>2];b=v[(b?b+12|0:1129608)>>2];v[299999]=0;d=aa(4369,c+24|0,b|0,241010,633,341955,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break q}v[299999]=0;R(4370,d|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}e=W(989228)|0;b=O()|0;qc(d);break p}e=W(989228)|0;b=O()|0;break t}e=W(989228)|0;b=O()|0;ec(c+24|0)}ec(d);break p}e=0;b=v[c+80>>2];if(!b){break r}v[c+80>>2]=v[b>>2]}i=v[c+72>>2];v[c+72>>2]=0;G:{if(!i){break G}v[299999]=0;d=v[i+4>>2]-1|0;v[i+4>>2]=d;b=v[299999];v[299999]=0;if((b|0)==1){break a}if(d){break G}v[299999]=0;R(4338,i|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=e;e=v[c+80>>2];if(b|!e){break l}break m}e=W(989228)|0;b=O()|0}ec(c+16|0)}ec(c+72|0)}if((ja(989228)|0)!=(b|0)){break j}b=ea(e|0)|0;v[299999]=0;b=v[b+4>>2];d=b?b:246399;b=v[299999];v[299999]=0;H:{I:{J:{K:{L:{if((b|0)==1){break L}v[299999]=0;d=Q(4340,c+24|0,d|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break L}b=v[v[h>>2]+20>>2];v[299999]=0;Y(b|0,h|0,a|0,d|0)|0;b=v[299999];v[299999]=0;M:{if((b|0)!=1){ec(d);d=v[c+80>>2];v[c>>2]=d;b=v[c+84>>2];v[c+4>>2]=b;if(!((b|0)==(f|0)?d:0)){v[299999]=0;V(4468,c|0,f|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}e=P()|0;O()|0;break H}d=v[d+8>>2];b=v[d+64>>2];if(!b){v[c+16>>2]=0;break K}v[299999]=0;v[b+4>>2]=v[b+4>>2]+1;b=v[299999];v[299999]=0;if((b|0)==1){break M}b=v[d+64>>2];v[c+16>>2]=b;if(!b){break K}v[299999]=0;V(4715,b|0,0);b=v[299999];v[299999]=0;if((b|0)!=1){break K}break J}e=P()|0;O()|0;ec(d);break H}e=P()|0;O()|0;break H}e=P()|0;O()|0;break H}b=v[c+80>>2];v[c+24>>2]=b;v[c+28>>2]=v[c+84>>2];if(b){v[c+80>>2]=v[b>>2]}v[299999]=0;V(4460,f|0,c+24|0);b=v[299999];v[299999]=0;if((b|0)!=1){ec(c+16|0);v[299999]=0;ba(4230);b=v[299999];v[299999]=0;if((b|0)==1){break I}e=v[c+80>>2];if(e){break m}break l}}e=P()|0;O()|0;ec(c+16|0);break H}e=P()|0;O()|0;break j}v[299999]=0;ba(4230);a=v[299999];v[299999]=0;if((a|0)!=1){break j}break a}b=v[c+84>>2];continue}}if(!v[c+128>>2]){break i}b=v[c+96>>2];if(!b|!v[b+8>>2]){break f}v[299999]=0;U(4713,c+24|0,g|0,0);b=v[299999];v[299999]=0;if((b|0)==1){break k}b=v[c+24>>2];if(!b){ec(c+24|0);break f}b=v[b+8>>2];ec(c+24|0);if(!b){break f}N:{O:{P:{Q:{R:{S:{b=v[c+128>>2];T:{if(v[b+64>>2]){d=v[b+60>>2];b=v[v[h>>2]+16>>2];v[299999]=0;$(b|0,c+72|0,h|0,d|0,g|0);b=v[299999];v[299999]=0;if((b|0)==1){break T}if(!v[c+72>>2]){v[299999]=0;U(4713,c+8|0,g|0,0);b=v[299999];v[299999]=0;if((b|0)==1){break S}v[299999]=0;U(4423,c+16|0,358267,c+8|0);b=v[299999];v[299999]=0;U:{V:{W:{if((b|0)!=1){b=v[c+16>>2];b=v[(b?b+12|0:1129608)>>2];v[299999]=0;d=aa(4369,c+24|0,b|0,241010,664,341955,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break W}v[299999]=0;R(4370,d|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}e=W(989228)|0;b=O()|0;qc(d);break V}e=W(989228)|0;b=O()|0;break U}e=W(989228)|0;b=O()|0}ec(c+16|0)}ec(c+8|0);break R}b=v[v[c+128>>2]+64>>2];v[299999]=0;$(4490,b|0,c+72|0,0,-1);b=v[299999];v[299999]=0;if((b|0)==1){break S}e=v[c+72>>2];v[c+72>>2]=0;X:{if(!e){break X}v[299999]=0;d=v[e+4>>2]-1|0;v[e+4>>2]=d;b=v[299999];v[299999]=0;if((b|0)==1){break a}if(d){break X}v[299999]=0;R(4338,e|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[c+128>>2]}d=v[b+60>>2];v[299999]=0;V(4537,c+24|0,g|0);b=v[299999];v[299999]=0;if((b|0)==1){break T}v[299999]=0;V(4716,d|0,c+24|0);b=v[299999];v[299999]=0;if((b|0)==1){break Q}b=c+24|0;ec(b);d=v[v[c+128>>2]+60>>2];v[299999]=0;V(4708,b|0,g|0);b=v[299999];v[299999]=0;if((b|0)==1){break T}v[299999]=0;V(4717,d|0,c+24|0);b=v[299999];v[299999]=0;if((b|0)==1){break P}v[c+48>>2]=981312;v[c+24>>2]=981280;d=v[c+52>>2];if(d){b=v[d+4>>2]-1|0;v[d+4>>2]=b;if(!b){Ub[v[v[d>>2]+4>>2]](d)}v[c+52>>2]=0}v[c+40>>2]=981312;d=v[c+44>>2];if(d){b=v[d+4>>2]-1|0;v[d+4>>2]=b;if(!b){Ub[v[v[d>>2]+4>>2]](d)}v[c+44>>2]=0}ec(l);b=v[v[c+128>>2]+60>>2];v[299999]=0;V(4718,a|0,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break N}}e=W(989228)|0;b=O()|0;break O}e=W(989228)|0;b=O()|0}ec(c+72|0);break O}e=W(989228)|0;b=O()|0;ec(c+24|0);break O}e=W(989228)|0;b=O()|0;$c(c+24|0)}if((ja(989228)|0)!=(b|0)){break j}b=ea(e|0)|0;v[299999]=0;b=v[b+4>>2];d=b?b:246399;b=v[299999];v[299999]=0;Y:{Z:{_:{if((b|0)==1){break _}v[299999]=0;d=Q(4340,c+24|0,d|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break _}b=v[v[h>>2]+20>>2];v[299999]=0;Y(b|0,h|0,a|0,d|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Z}ec(d);v[299999]=0;ba(4230);b=v[299999];v[299999]=0;if((b|0)!=1){break N}e=P()|0;O()|0;break j}e=P()|0;O()|0;break Y}e=P()|0;O()|0;ec(d)}v[299999]=0;ba(4230);a=v[299999];v[299999]=0;if((a|0)==1){break a}break j}b=v[a+136>>2];v[c+84>>2]=f;v[c+80>>2]=b;$:{if(!b){break $}d=v[c+128>>2];while(1){if((d|0)!=v[b+8>>2]){b=v[b>>2];v[c+80>>2]=b;if(b){continue}break $}break}v[299999]=0;V(4460,f|0,c+80|0);b=v[299999];v[299999]=0;if((b|0)==1){break k}}v[c+112>>2]=981312;v[c+88>>2]=981280;d=v[c+116>>2];if(d){b=v[d+4>>2]-1|0;v[d+4>>2]=b;if(!b){Ub[v[v[d>>2]+4>>2]](d)}v[c+116>>2]=0}v[c+104>>2]=981312;d=v[c+108>>2];if(d){b=v[d+4>>2]-1|0;v[d+4>>2]=b;if(!b){Ub[v[v[d>>2]+4>>2]](d)}v[c+108>>2]=0}ec(k);e=v[c+128>>2];v[c+128>>2]=0;if(!e){continue}v[299999]=0;d=v[e+4>>2]-1|0;v[e+4>>2]=d;b=v[299999];v[299999]=0;if((b|0)!=1){if(d){continue}v[299999]=0;R(4338,e|0);b=v[299999];v[299999]=0;if((b|0)!=1){continue}}break}break a}e=P()|0;O()|0}$c(g);break c}v[c+112>>2]=981312;v[c+88>>2]=981280;b=v[c+116>>2];if(b){a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(!a){Ub[v[v[b>>2]+4>>2]](b)}v[c+116>>2]=0}v[c+104>>2]=981312;b=v[c+108>>2];if(b){a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(!a){Ub[v[v[b>>2]+4>>2]](b)}v[c+108>>2]=0}ec(k);d=v[c+128>>2];v[c+128>>2]=0;if(!d){break e}v[299999]=0;b=v[d+4>>2]-1|0;v[d+4>>2]=b;a=v[299999];v[299999]=0;aa:{if((a|0)==1){break aa}if(b){break e}v[299999]=0;R(4338,d|0);a=v[299999];v[299999]=0;if((a|0)==1){break aa}break e}break a}a=P()|0;O()|0;T(a|0);L()}v[c+112>>2]=981312;v[c+88>>2]=981280;b=v[c+116>>2];if(b){a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(!a){Ub[v[v[b>>2]+4>>2]](b)}v[c+116>>2]=0}v[c+104>>2]=981312;b=v[c+108>>2];if(b){a=v[b+4>>2]-1|0;v[b+4>>2]=a;if(!a){Ub[v[v[b>>2]+4>>2]](b)}v[c+108>>2]=0}ec(k);d=v[c+128>>2];v[c+128>>2]=0;if(!d){break e}v[299999]=0;b=v[d+4>>2]-1|0;v[d+4>>2]=b;a=v[299999];v[299999]=0;if((a|0)!=1){if(b){break e}v[299999]=0;R(4338,d|0);a=v[299999];v[299999]=0;if((a|0)!=1){break e}}break a}Qb=c+144|0;return}e=P()|0;O()|0}ec(c+128|0);T(e|0);L()}L()}W(0)|0;O()|0;lc();L()}function FTa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;if(!b){return 2}i=b;k=d;b=0;e=Qb-1728|0;Qb=e;a:{b:{g=a+96|0;c:{if(!w[g+1432|0]){d=Qb-448|0;Qb=d;d:{e:{if(!i){break e}t[g+96|0]=0;v[g+64>>2]=2147483647;v[g+68>>2]=2147483647;v[g+48>>2]=2147483647;v[g+52>>2]=2147483647;v[g+8>>2]=0;v[g+12>>2]=0;v[g+1172>>2]=0;v[g+88>>2]=-2147483647;v[g+92>>2]=-2147483647;v[g+80>>2]=2147483647;v[g+84>>2]=2147483647;v[g+72>>2]=0;v[g+76>>2]=0;v[g+56>>2]=0;v[g+60>>2]=0;b=v[i+4>>2];v[d+444>>2]=v[c>>2];v[d+440>>2]=b;b=d;v[b+24>>2]=0;v[b+28>>2]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+176>>2]=0;v[b+180>>2]=0;v[b+160>>2]=0;v[b+164>>2]=1072693248;v[b+40>>2]=0;v[b+44>>2]=1072693248;v[b+184>>2]=0;v[b+188>>2]=0;v[b+192>>2]=0;v[b+196>>2]=0;v[b+200>>2]=0;v[b+392>>2]=0;v[b+396>>2]=0;v[b+376>>2]=0;v[b+380>>2]=1072693248;v[b+224>>2]=0;v[b+228>>2]=1072693248;v[b+204>>2]=64;v[b+208>>2]=1;v[b+400>>2]=0;v[b+404>>2]=0;v[b+408>>2]=0;v[b+412>>2]=0;v[b+416>>2]=0;v[b+420>>2]=0;v[b+424>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+216>>2]=0;v[b+220>>2]=0;v[b+8>>2]=b+440;v[b+428>>2]=64;v[b+432>>2]=1;v[299999]=0;U(2370,g|0,b+8|0,0);b=v[299999];v[299999]=0;if((b|0)==1){break d}b=w[v[i+4>>2]+24|0];u[g+1432>>1]=1;v[g+1156>>2]=b;f=v[d+416>>2];if(f){b=f-1|0;v[d+416>>2]=b;h=v[d+424>>2]+(f<<2)|0;while(1){g=d;h=h-4|0;f=v[h>>2];if(f){dc(f);b=v[d+416>>2]}f=b;b=f-1|0;v[g+416>>2]=b;if(f){continue}break}}b=v[d+424>>2];if(b){dc(b)}f=v[d+192>>2];if(f){b=f-1|0;v[d+192>>2]=b;h=v[d+200>>2]+(f<<2)|0;while(1){g=d;h=h-4|0;f=v[h>>2];if(f){dc(f);b=v[d+192>>2]}f=b;b=f-1|0;v[g+192>>2]=b;if(f){continue}break}}b=v[d+200>>2];if(!b){break e}dc(b)}Qb=d+448|0;break c}a=P()|0;O()|0;dH(d+8|0);T(a|0);L()}f:{if(!w[g+1433|0]){v[e+584>>2]=0;v[e+588>>2]=0;v[e+576>>2]=0;v[e+580>>2]=0;v[e+568>>2]=0;v[e+572>>2]=0;v[e+560>>2]=0;v[e+564>>2]=0;v[e+552>>2]=0;v[e+556>>2]=0;v[e+616>>2]=0;v[e+620>>2]=0;v[e+600>>2]=0;v[e+604>>2]=0;v[e+652>>2]=0;v[e+656>>2]=0;v[e+660>>2]=0;v[e+664>>2]=0;t[e+665|0]=0;t[e+666|0]=0;t[e+667|0]=0;t[e+668|0]=0;t[e+669|0]=0;t[e+670|0]=0;t[e+671|0]=0;t[e+672|0]=0;v[e+544>>2]=0;v[e+548>>2]=0;t[e+640|0]=0;v[e+632>>2]=-2147483647;v[e+636>>2]=-2147483647;v[e+624>>2]=2147483647;v[e+628>>2]=2147483647;v[e+608>>2]=2147483647;v[e+612>>2]=2147483647;v[e+592>>2]=2147483647;v[e+596>>2]=2147483647;v[e+644>>2]=0;v[e+648>>2]=0;v[e+1716>>2]=0;v[e+1708>>2]=0;v[e+1712>>2]=0;t[e+1704|0]=1;v[e+1700>>2]=0;d=e+676|0;while(1){v[d+(b<<2)>>2]=b;f=b|1;v[d+(f<<2)>>2]=f;f=b|2;v[d+(f<<2)>>2]=f;f=b|3;v[d+(f<<2)>>2]=f;f=b|4;v[d+(f<<2)>>2]=f;f=b|5;v[d+(f<<2)>>2]=f;f=b|6;v[d+(f<<2)>>2]=f;f=b|7;v[d+(f<<2)>>2]=f;b=b+8|0;if((b|0)!=256){continue}break}b=v[i+4>>2];v[e+540>>2]=v[c>>2];v[e+536>>2]=b;v[e+120>>2]=0;v[e+124>>2]=0;v[e+128>>2]=0;v[e+132>>2]=0;v[e+272>>2]=0;v[e+276>>2]=0;v[e+256>>2]=0;v[e+260>>2]=1072693248;v[e+136>>2]=0;v[e+140>>2]=1072693248;v[e+280>>2]=0;v[e+284>>2]=0;v[e+288>>2]=0;v[e+292>>2]=0;v[e+296>>2]=0;v[e+488>>2]=0;v[e+492>>2]=0;v[e+472>>2]=0;v[e+476>>2]=1072693248;v[e+320>>2]=0;v[e+324>>2]=1072693248;v[e+300>>2]=64;v[e+304>>2]=1;v[e+496>>2]=0;v[e+500>>2]=0;v[e+504>>2]=0;v[e+508>>2]=0;v[e+512>>2]=0;v[e+516>>2]=0;v[e+520>>2]=0;v[e+112>>2]=0;v[e+116>>2]=0;v[e+312>>2]=0;v[e+316>>2]=0;v[e+104>>2]=e+536;v[e+524>>2]=64;v[e+528>>2]=1;v[299999]=0;U(2370,e+544|0,e+104|0,0);b=v[299999];v[299999]=0;g:{h:{if((b|0)!=1){v[e+1700>>2]=w[v[i+4>>2]+24|0];v[e+88>>2]=0;v[e+92>>2]=0;v[e+96>>2]=0;v[e+100>>2]=0;v[e+80>>2]=0;v[e+84>>2]=0;v[e+72>>2]=2147483632;v[e+56>>2]=0;v[e+60>>2]=0;b=e- -64|0;v[b>>2]=0;v[b+4>>2]=0;v[e+48>>2]=0;v[e+52>>2]=0;v[e+40>>2]=2147483632;v[e+24>>2]=0;v[e+28>>2]=0;v[e+32>>2]=0;v[e+36>>2]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=2147483632;v[299999]=0;la(2517,k|0,g|0,e+544|0,e+72|0,e+40|0,e+8|0,g+1180|0);b=v[299999];v[299999]=0;if((b|0)==1){break h}v[g+1428>>2]=1;b=v[e+28>>2];if(b){dc(b)}b=v[e+16>>2];if(b){dc(b)}b=v[e+60>>2];if(b){dc(b)}b=v[e+48>>2];if(b){dc(b)}b=v[e+92>>2];if(b){dc(b)}b=v[e+80>>2];if(b){dc(b)}d=v[e+512>>2];if(d){b=d-1|0;v[e+512>>2]=b;h=v[e+520>>2]+(d<<2)|0;while(1){f=e;h=h-4|0;d=v[h>>2];if(d){dc(d);b=v[e+512>>2]}d=b;b=d-1|0;v[f+512>>2]=b;if(d){continue}break}}b=v[e+520>>2];if(b){dc(b)}d=v[e+288>>2];if(d){b=d-1|0;v[e+288>>2]=b;h=v[e+296>>2]+(d<<2)|0;while(1){f=e;h=h-4|0;d=v[h>>2];if(d){dc(d);b=v[e+288>>2]}d=b;b=d-1|0;v[f+288>>2]=b;if(d){continue}break}}b=v[e+296>>2];if(b){dc(b)}d=v[e+544>>2];i:{if(!d){break i}b=d-1|0;v[e+544>>2]=b;h=v[e+560>>2]+(d<<2)|0;while(1){f=e;h=h-4|0;d=v[h>>2];if(d){dc(d);b=v[e+544>>2]}d=b;b=d-1|0;v[f+544>>2]=b;if(d){continue}break}b=v[e+560>>2];if(!b){break i}dc(b)}b=v[e+588>>2];if(b){dc(b)}b=v[e+576>>2];if(!b){break f}dc(b);break f}b=P()|0;O()|0;break g}b=P()|0;O()|0;Md(e+8|0);Md(e+40|0);Md(e+72|0)}break b}v[e+584>>2]=0;v[e+588>>2]=0;v[e+576>>2]=0;v[e+580>>2]=0;v[e+568>>2]=0;v[e+572>>2]=0;v[e+560>>2]=0;v[e+564>>2]=0;v[e+552>>2]=0;v[e+556>>2]=0;v[e+616>>2]=0;v[e+620>>2]=0;v[e+600>>2]=0;v[e+604>>2]=0;v[e+652>>2]=0;v[e+656>>2]=0;v[e+660>>2]=0;v[e+664>>2]=0;t[e+665|0]=0;t[e+666|0]=0;t[e+667|0]=0;t[e+668|0]=0;t[e+669|0]=0;t[e+670|0]=0;t[e+671|0]=0;t[e+672|0]=0;v[e+544>>2]=0;v[e+548>>2]=0;t[e+640|0]=0;v[e+632>>2]=-2147483647;v[e+636>>2]=-2147483647;v[e+624>>2]=2147483647;v[e+628>>2]=2147483647;v[e+608>>2]=2147483647;v[e+612>>2]=2147483647;v[e+592>>2]=2147483647;v[e+596>>2]=2147483647;v[e+644>>2]=0;v[e+648>>2]=0;v[e+1716>>2]=0;v[e+1708>>2]=0;v[e+1712>>2]=0;t[e+1704|0]=1;v[e+1700>>2]=0;d=e+676|0;while(1){v[d+(b<<2)>>2]=b;f=b|1;v[d+(f<<2)>>2]=f;f=b|2;v[d+(f<<2)>>2]=f;f=b|3;v[d+(f<<2)>>2]=f;f=b|4;v[d+(f<<2)>>2]=f;f=b|5;v[d+(f<<2)>>2]=f;f=b|6;v[d+(f<<2)>>2]=f;f=b|7;v[d+(f<<2)>>2]=f;b=b+8|0;if((b|0)!=256){continue}break}b=v[i+4>>2];v[e+540>>2]=v[c>>2];v[e+536>>2]=b;v[e+120>>2]=0;v[e+124>>2]=0;v[e+128>>2]=0;v[e+132>>2]=0;v[e+272>>2]=0;v[e+276>>2]=0;v[e+256>>2]=0;v[e+260>>2]=1072693248;v[e+136>>2]=0;v[e+140>>2]=1072693248;v[e+280>>2]=0;v[e+284>>2]=0;v[e+288>>2]=0;v[e+292>>2]=0;v[e+296>>2]=0;v[e+488>>2]=0;v[e+492>>2]=0;v[e+472>>2]=0;v[e+476>>2]=1072693248;v[e+320>>2]=0;v[e+324>>2]=1072693248;v[e+300>>2]=64;v[e+304>>2]=1;v[e+496>>2]=0;v[e+500>>2]=0;v[e+504>>2]=0;v[e+508>>2]=0;v[e+512>>2]=0;v[e+516>>2]=0;v[e+520>>2]=0;v[e+112>>2]=0;v[e+116>>2]=0;v[e+312>>2]=0;v[e+316>>2]=0;v[e+104>>2]=e+536;v[e+524>>2]=64;v[e+528>>2]=1;v[299999]=0;U(2370,e+544|0,e+104|0,0);b=v[299999];v[299999]=0;j:{k:{if((b|0)!=1){v[e+1700>>2]=w[v[i+4>>2]+24|0];v[e+88>>2]=0;v[e+92>>2]=0;v[e+96>>2]=0;v[e+100>>2]=0;v[e+80>>2]=0;v[e+84>>2]=0;v[e+72>>2]=2147483632;v[e+56>>2]=0;v[e+60>>2]=0;b=e- -64|0;v[b>>2]=0;v[b+4>>2]=0;v[e+48>>2]=0;v[e+52>>2]=0;v[e+40>>2]=2147483632;v[e+24>>2]=0;v[e+28>>2]=0;v[e+32>>2]=0;v[e+36>>2]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=2147483632;b=v[g+1428>>2];v[299999]=0;d=g+1180|0;f=g+1304|0;b=(b|0)==1;la(2518,k|0,e+544|0,(b?d:f)|0,e+72|0,e+40|0,e+8|0,(b?f:d)|0);b=v[299999];v[299999]=0;if((b|0)==1){break k}v[g+1428>>2]=v[g+1428>>2]==1?2:1;b=v[e+28>>2];if(b){dc(b)}b=v[e+16>>2];if(b){dc(b)}b=v[e+60>>2];if(b){dc(b)}b=v[e+48>>2];if(b){dc(b)}b=v[e+92>>2];if(b){dc(b)}b=v[e+80>>2];if(b){dc(b)}d=v[e+512>>2];if(d){b=d-1|0;v[e+512>>2]=b;h=v[e+520>>2]+(d<<2)|0;while(1){f=e;h=h-4|0;d=v[h>>2];if(d){dc(d);b=v[e+512>>2]}d=b;b=d-1|0;v[f+512>>2]=b;if(d){continue}break}}b=v[e+520>>2];if(b){dc(b)}d=v[e+288>>2];if(d){b=d-1|0;v[e+288>>2]=b;h=v[e+296>>2]+(d<<2)|0;while(1){f=e;h=h-4|0;d=v[h>>2];if(d){dc(d);b=v[e+288>>2]}d=b;b=d-1|0;v[f+288>>2]=b;if(d){continue}break}}b=v[e+296>>2];if(b){dc(b)}d=v[e+544>>2];l:{if(!d){break l}b=d-1|0;v[e+544>>2]=b;h=v[e+560>>2]+(d<<2)|0;while(1){f=e;h=h-4|0;d=v[h>>2];if(d){dc(d);b=v[e+544>>2]}d=b;b=d-1|0;v[f+544>>2]=b;if(d){continue}break}b=v[e+560>>2];if(!b){break l}dc(b)}b=v[e+588>>2];if(b){dc(b)}b=v[e+576>>2];if(!b){break f}dc(b);break f}b=P()|0;O()|0;break j}b=P()|0;O()|0;Md(e+8|0);Md(e+40|0);Md(e+72|0)}break b}t[g+1433|0]=1}Qb=e+1728|0;break a}dH(e+104|0);a=v[e+544>>2];m:{if(!a){break m}c=a-1|0;v[e+544>>2]=c;d=v[e+560>>2]+(a<<2)|0;while(1){f=e;d=d-4|0;a=v[d>>2];if(a){dc(a);a=v[e+544>>2]}else{a=c}c=a-1|0;v[f+544>>2]=c;if(a){continue}break}a=v[e+560>>2];if(!a){break m}dc(a)}a=v[e+588>>2];if(a){dc(a)}a=v[e+576>>2];if(a){dc(a)}T(b|0);L()}e=fc(12);v[e+8>>2]=1;v[e>>2]=0;v[e+4>>2]=0;m=e;h=fc(8);v[h>>2]=466572;v[299999]=0;g=S(1,32)|0;b=v[299999];v[299999]=0;n:{if((b|0)!=1){b=g;v[b+4>>2]=0;v[b+8>>2]=0;v[b+28>>2]=0;v[b+12>>2]=0;v[b+16>>2]=0;u[b+18>>1]=0;u[b+20>>1]=0;u[b+22>>1]=0;u[b+24>>1]=0;v[h+4>>2]=b;f=v[i+4>>2];v[b>>2]=0;d=f;if(v[d>>2]){while(1){b=j>>>6&67108860;d=j&255;l=v[b+v[f+12>>2]>>2]+(d<<4)|0;ze(g,A[l>>3],A[l+8>>3],w[v[b+v[f+16>>2]>>2]+d|0]);j=j+1|0;if(j>>>0>2]){continue}break}d=v[i+4>>2]}v[g+20>>2]=v[f+20>>2];t[g+24|0]=w[d+24|0];t[g+25|0]=w[d+25|0];break n}a=P()|0;O()|0;dc(h);T(a|0);L()}v[m>>2]=h;b=fc(4);o:{p:{if(c){v[299999]=0;Q(2369,b|0,c|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){break p}break o}v[299999]=0;S(2366,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break o}}v[e+8>>2]=k;v[e+4>>2]=b;b=a+2848|0;a=v[b+4>>2];q:{if((a|0)!=v[b+8>>2]){v[a>>2]=e;v[b+4>>2]=a+4;break q}r:{c=v[b>>2];d=a-c|0;f=d>>2;a=f+1|0;if(a>>>0<1073741824){i=d>>1;i=f>>>0<536870911?a>>>0>i>>>0?a:i:1073741823;if(i){if(i>>>0>=1073741824){break r}a=fc(i<<2)}else{a=0}f=a+(f<<2)|0;v[f>>2]=e;if((d|0)>=1){gc(a,c,d)}v[b+8>>2]=a+(i<<2);v[b+4>>2]=f+4;v[b>>2]=a;if(c){dc(c)}break q}ue(b);L()}cf(274079);L()}return 0}a=P()|0;O()|0;dc(b);T(a|0);L()}function XV(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,z=0,A=0,C=0;e=Qb-1472|0;Qb=e;n=a;if(a){v[e+8>>2]=v[n+56>>2];v[e+12>>2]=v[n+64>>2];o=0}else{o=-102}a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{if(!v[e+8>>2]){break k}while(1){k=e+160|0;v[k+12>>2]=0;v[k+4>>2]=0;v[k+8>>2]=0;v[k>>2]=530160;v[299999]=0;a=sa(2900,n|0,e+80|0,e+1200|0,256,0,0,0,0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break c}v[299999]=0;V(2901,e- -64|0,e+1200|0);f=v[299999];v[299999]=0;if((f|0)==1){break d}v[299999]=0;GC(e+176|0,t[e+75|0]<0?v[e+64>>2]:e- -64|0);f=v[299999];v[299999]=0;l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{if((f|0)==1){break z}if(a){break l}f=0;a=-104;r=jc(8192);if(!r){break l}while(1){a=f;A:{while(1){g=v[(e+176|0)+(a<<2)>>2];if(!g){break A}if(!((g|0)==47|(g|0)==92)){a=a+1|0;continue}break}f=a+1|0;continue}break}q=(e+176|0)+(f<<2)|0;if(!v[q>>2]){a=0;if(b){break m}g=ve(e+176|0);if(g>>>0>=1073741808){v[299999]=0;R(2530,e+1456|0);a=v[299999];v[299999]=0;if((a|0)==1){break f}break g}B:{C:{if(g>>>0>=2){v[299999]=0;h=g+4&-4;f=S(1,h<<2)|0;i=v[299999];v[299999]=0;if((i|0)==1){break z}v[e+1456>>2]=f;v[e+1460>>2]=g;v[e+1464>>2]=h|-2147483648;break C}t[e+1467|0]=g;f=e+1456|0;if(!g){break B}}v[299999]=0;tc(f,e+176|0,g);h=v[299999];v[299999]=0;if((h|0)==1){break a}}v[(g<<2)+f>>2]=0;v[299999]=0;S(2903,e+1456|0)|0;f=v[299999];v[299999]=0;if((f|0)!=1){if(t[e+1467|0]>-1){break m}dc(v[e+1456>>2]);break m}a=P()|0;O()|0;if(t[e+1467|0]>-1){break e}dc(v[e+1456>>2]);break e}v[299999]=0;a=Q(2904,n|0,c|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break i}if(a){break q}p=b?q:e+176|0;a=ve(p);if(a>>>0>=1073741808){v[299999]=0;R(2530,e+1456|0);a=v[299999];v[299999]=0;if((a|0)!=1){break g}a=P()|0;O()|0;break e}D:{E:{F:{G:{H:{if(a>>>0>=2){v[299999]=0;h=a+4&-4;g=S(1,h<<2)|0;i=v[299999];v[299999]=0;if((i|0)==1){break F}v[e+1456>>2]=g;v[e+1460>>2]=a;v[e+1464>>2]=h|-2147483648;break H}t[e+1467|0]=a;g=e+1456|0;if(!a){break G}}v[299999]=0;tc(g,p,a);h=v[299999];v[299999]=0;if((h|0)==1){break a}}v[(a<<2)+g>>2]=0;v[299999]=0;a=Q(2905,k|0,e+1456|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break E}if(t[e+1467|0]<=-1){dc(v[e+1456>>2])}if(a){v[299999]=0;g=v[k+4>>2];a=v[299999];v[299999]=0;if((a|0)==1){break i}if(g){break r}}if(b){break n}if(f){break D}break n}a=P()|0;O()|0;break e}a=P()|0;O()|0;if(t[e+1467|0]>-1){break e}dc(v[e+1456>>2]);break e}v[299999]=0;f=Q(2907,0,0)|0;a=v[299999];v[299999]=0;I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{if((a|0)!=1){if(f){a=Bc(f);if(a>>>0>=4294967280){v[299999]=0;R(2530,e+1456|0);a=v[299999];v[299999]=0;if((a|0)!=1){break g}a=P()|0;O()|0;break e}V:{W:{if(a>>>0>=11){v[299999]=0;h=a+16&-16;g=S(1,h|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break U}v[e+1456>>2]=g;v[e+1460>>2]=a;v[e+1464>>2]=h|-2147483648;break W}t[e+1467|0]=a;g=e+1456|0;if(!a){break V}}gc(g,f,a)}t[a+g|0]=0;dc(f);v[299999]=0;Q(2730,e+1456|0,335628)|0;a=v[299999];v[299999]=0;if((a|0)==1){break T}u[e+48>>1]=47;t[e+59|0]=1;v[299999]=0;u[e+32>>1]=47;t[e+43|0]=1;U(2908,e+1456|0,e+48|0,e+32|0);a=v[299999];v[299999]=0;if((a|0)==1){break S}if(t[e+43|0]<=-1){dc(v[e+32>>2])}u[e+48>>1]=92;t[e+59|0]=1;v[299999]=0;u[e+32>>1]=47;t[e+43|0]=1;U(2908,e+1456|0,e+48|0,e+32|0);a=v[299999];v[299999]=0;if((a|0)==1){break R}if(t[e+43|0]<=-1){dc(v[e+32>>2])}a=Bc(e+1200|0);if(a>>>0>=4294967280){v[299999]=0;R(2530,e+48|0);a=v[299999];v[299999]=0;if((a|0)!=1){break g}a=P()|0;O()|0;break J}X:{Y:{if(a>>>0>=11){v[299999]=0;g=a+16&-16;f=S(1,g|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break Q}v[e+48>>2]=f;v[e+52>>2]=a;v[e+56>>2]=g|-2147483648;break Y}t[e+59|0]=a;f=e+48|0;if(!a){break X}}gc(f,e+1200|0,a)}t[a+f|0]=0;u[e+32>>1]=47;t[e+43|0]=1;v[299999]=0;u[e+16>>1]=47;t[e+27|0]=1;U(2908,e+48|0,e+32|0,e+16|0);a=v[299999];v[299999]=0;if((a|0)==1){break P}if(t[e+27|0]<=-1){dc(v[e+16>>2])}u[e+32>>1]=92;t[e+43|0]=1;v[299999]=0;u[e+16>>1]=47;t[e+27|0]=1;U(2908,e+48|0,e+32|0,e+16|0);a=v[299999];v[299999]=0;if((a|0)==1){break O}if(t[e+27|0]<=-1){dc(v[e+16>>2])}v[299999]=0;U(2909,e+16|0,e+1456|0,e+48|0);a=v[299999];v[299999]=0;if((a|0)==1){break N}v[299999]=0;V(2910,e+32|0,e+16|0);a=v[299999];v[299999]=0;if((a|0)==1){break M}if(t[e+27|0]<=-1){dc(v[e+16>>2])}v[299999]=0;V(2910,e+16|0,e+1456|0);a=v[299999];v[299999]=0;if((a|0)==1){break L}g=0;j=v[e+16>>2];a=w[e+43|0];i=a<<24>>24;f=w[e+27|0];z=f<<24>>24;l=(z|0)<0;m=l?v[e+20>>2]:f;if(m){g=(i|0)<0;f=g?v[e+32>>2]:e+32|0;a=g?v[e+36>>2]:a;h=f+a|0;Z:{_:{if((a|0)<(m|0)){break _}l=l?j:e+16|0;C=w[l|0];g=f;while(1){a=a-m|0;A=a+1|0;if(A>>>0>>0){break _}a=fi(g,C,A);if(!a){break _}if(!Pc(a,l,m)){break Z}g=a+1|0;a=h-g|0;if((m|0)<=(a|0)){continue}break}}a=h}g=(a|0)==(h|0)?-1:a-f|0}if((z|0)<=-1){dc(j);i=w[e+43|0]}if(i<<24>>24<=-1){dc(v[e+32>>2])}if(t[e+59|0]<=-1){dc(v[e+48>>2])}if(t[e+1467|0]<=-1){dc(v[e+1456>>2])}a=-104;if((g|0)==-1){break l}}m=q-4|0;q=v[m>>2];v[m>>2]=0;a=ve(p);if((a|0)<1){break w}v[299999]=0;f=a+1|0;h=S(15,((f|0)!=(f&1073741823)?-1:f<<2)|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break v}v[299999]=0;GC(h,p);f=v[299999];v[299999]=0;if((f|0)==1){break v}a=(h+(a<<2)|0)-4|0;if(v[a>>2]==47){v[a>>2]=0}f=ve(h);if(f>>>0<1073741808){break I}break p}a=P()|0;O()|0;break e}a=P()|0;O()|0;break e}a=P()|0;O()|0;break J}a=P()|0;O()|0;if(t[e+43|0]>-1){break J}dc(v[e+32>>2]);break J}a=P()|0;O()|0;if(t[e+43|0]>-1){break J}dc(v[e+32>>2]);break J}a=P()|0;O()|0;break J}a=P()|0;O()|0;if(t[e+27|0]>-1){break K}dc(v[e+16>>2]);break K}a=P()|0;O()|0;if(t[e+27|0]>-1){break K}dc(v[e+16>>2]);break K}a=P()|0;O()|0;break K}a=P()|0;O()|0;if(t[e+27|0]>-1){break K}dc(v[e+16>>2]);break K}a=P()|0;O()|0;if(t[e+43|0]>-1){break K}dc(v[e+32>>2])}if(t[e+59|0]>-1){break J}dc(v[e+48>>2])}if(t[e+1467|0]>-1){break e}dc(v[e+1456>>2]);break e}$:{aa:{if(f>>>0>=2){v[299999]=0;g=f+4&-4;a=S(1,g<<2)|0;i=v[299999];v[299999]=0;if((i|0)==1){break v}v[e+1456>>2]=a;v[e+1460>>2]=f;v[e+1464>>2]=g|-2147483648;break aa}t[e+1467|0]=f;a=e+1456|0;if(!f){break $}}v[299999]=0;tc(a,h,f);g=v[299999];v[299999]=0;if((g|0)==1){break a}}v[(f<<2)+a>>2]=0;v[299999]=0;f=S(2903,e+1456|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break o}if(t[e+1467|0]<=-1){dc(v[e+1456>>2])}a=h;if(f){break x}while(1){f=a+4|0;i=v[a+4>>2];if(!(!i|(i|0)==92)){a=f;if((i|0)!=47){continue}}v[f>>2]=0;a=ve(h);if(a>>>0>=1073741808){break p}ba:{ca:{if(a>>>0>=2){v[299999]=0;j=a+4&-4;g=S(1,j<<2)|0;l=v[299999];v[299999]=0;if((l|0)==1){break y}v[e+1456>>2]=g;v[e+1460>>2]=a;v[e+1464>>2]=j|-2147483648;break ca}t[e+1467|0]=a;g=e+1456|0;if(!a){break ba}}v[299999]=0;tc(g,h,a);j=v[299999];v[299999]=0;if((j|0)==1){break a}}v[(a<<2)+g>>2]=0;v[299999]=0;a=S(2903,e+1456|0)|0;g=v[299999];v[299999]=0;da:{ea:{fa:{if((g|0)!=1){if(t[e+1467|0]<=-1){dc(v[e+1456>>2])}if(a){break ea}a=ve(h);if(a>>>0<1073741808){break fa}break p}a=P()|0;O()|0;if(t[e+1467|0]>-1){break e}dc(v[e+1456>>2]);break e}ga:{ha:{if(a>>>0>=2){v[299999]=0;j=a+4&-4;g=S(1,j<<2)|0;l=v[299999];v[299999]=0;if((l|0)==1){break y}v[e+1456>>2]=g;v[e+1460>>2]=a;v[e+1464>>2]=j|-2147483648;break ha}t[e+1467|0]=a;g=e+1456|0;if(!a){break ga}}v[299999]=0;tc(g,h,a);j=v[299999];v[299999]=0;if((j|0)==1){break a}}v[(a<<2)+g>>2]=0;v[299999]=0;a=S(2911,e+1456|0)|0;g=v[299999];v[299999]=0;if((g|0)!=1){if(t[e+1467|0]<=-1){dc(v[e+1456>>2])}if(!a){break x}if(i){break da}break x}a=P()|0;O()|0;if(t[e+1467|0]>-1){break e}dc(v[e+1456>>2]);break e}if(!i){break x}}v[f>>2]=i;a=f;continue}}a=P()|0;O()|0;break e}a=P()|0;O()|0;break e}dc(h)}v[m>>2]=q<<24>>24;f=ve(p);if(f>>>0>=1073741808){v[299999]=0;R(2530,e+1456|0);a=v[299999];v[299999]=0;if((a|0)!=1){break g}a=P()|0;O()|0;break e}ia:{ja:{if(f>>>0>=2){v[299999]=0;g=f+4&-4;a=S(1,g<<2)|0;h=v[299999];v[299999]=0;if((h|0)==1){break u}v[e+1456>>2]=a;v[e+1460>>2]=f;v[e+1464>>2]=g|-2147483648;break ja}t[e+1467|0]=f;a=e+1456|0;if(!f){break ia}}v[299999]=0;tc(a,p,f);g=v[299999];v[299999]=0;if((g|0)==1){break a}}v[(f<<2)+a>>2]=0;v[299999]=0;a=Q(2905,k|0,e+1456|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break t}if(t[e+1467|0]<=-1){dc(v[e+1456>>2])}if(!a){break n}v[299999]=0;g=v[k+4>>2];a=v[299999];v[299999]=0;if((a|0)!=1){break s}}a=P()|0;O()|0;break e}a=P()|0;O()|0;break e}a=P()|0;O()|0;if(t[e+1467|0]>-1){break e}dc(v[e+1456>>2]);break e}if(!g){break n}}while(1){v[299999]=0;a=Y(2912,n|0,r|0,8192)|0;f=v[299999];v[299999]=0;if((f|0)==1){break h}if((a|0)<0){break q}if(!a){break n}if((Rc(r,a,1,g)|0)==1){continue}break}a=-1}v[299999]=0;S(2913,n|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break i}break m}v[299999]=0;R(2530,e+1456|0);a=v[299999];v[299999]=0;if((a|0)!=1){break g}a=P()|0;O()|0;break e}a=P()|0;O()|0;if(t[e+1467|0]>-1){break e}dc(v[e+1456>>2]);break e}v[299999]=0;a=S(2913,n|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break i}}dc(r)}if(t[e+75|0]<=-1){dc(v[e+64>>2])}lg(k);if(a){o=-1;break k}if(d){u[e+176>>1]=0;Ub[v[d>>2]](0,B(1e6/y[e+8>>2]|0,s),e+176|0);if(x[e+176>>1]){break j}}s=s+1|0;a=v[e+8>>2];if(s>>>0>>0){o=kG(n);if(o){break k}o=0;a=v[e+8>>2]}if(a>>>0>s>>>0){continue}break}}if(!d){break j}u[e+176>>1]=0;Ub[v[d>>2]](0,1e6,e+176|0)}Qb=e+1472|0;return o|0}a=P()|0;O()|0;break e}a=P()|0;O()|0;break e}L()}a=P()|0;O()|0}if(t[e+75|0]>-1){break b}dc(v[e+64>>2]);break b}a=P()|0;O()|0;break b}a=P()|0;O()|0}lg(k);T(a|0);L()}W(0)|0;O()|0;lc();L()}function _y(a,b,c){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;h=Qb-96|0;Qb=h;a:{b:{c:{d:{e:{f:{g:{if(v[a+32>>2]){h:{if(!b){break h}e=b;while(1){d=e;e=d+1|0;if(w[d|0]){continue}break}d=d-b|0;if((d|0)<0){break h}g=Ub[v[259707]](d+1|0)|0;if(g){break e}oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0)}v[h+92>>2]=0;break g}g=zF(a,b,h+92|0);if(!g){break g}if(w[g|0]){break d}e=235579;i:{j:{k:{l:{d=v[h+92>>2];m:{if((d|0)!=235579){if(!d){break k}while(1){f=w[d|0];if((f|0)!=w[e|0]){break l}e=e+1|0;d=d+1|0;if(f){continue}break}if(!a){break m}}if(v[a+172>>2]==-1?v[a+212>>2]:0){break i}v[a+84>>2]=35}v[h+68>>2]=0;v[h+64>>2]=b;oc(0,0,0,a,0,3,35,2,b,0,0,0,356015,h- -64|0);break i}if(!a){break j}}if(v[a+172>>2]==-1?v[a+212>>2]:0){break i}v[a+84>>2]=106}v[h+84>>2]=0;v[h+80>>2]=b;oc(0,0,0,a,0,3,106,1,b,0,0,0,356105,h+80|0)}d=v[h+92>>2];if(d){Ub[v[259708]](d)}v[h+92>>2]=0;Ub[v[259708]](g);if(!b){break g}d=b;while(1){e=d;d=d+1|0;if(w[e|0]){continue}break}d=e-b|0;if((d|0)<0){break g}g=Ub[v[259707]](d+1|0)|0;if(g){break f}oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0)}Jj(a,230764);break c}n=gc(g,b,d)+d|0,o=0,t[n|0]=o;break d}n=gc(g,b,d)+d|0,o=0,t[n|0]=o;v[h+92>>2]=0}n:{if(c|!v[a+32>>2]){break n}c=b;d=0;o:{if(!b){break o}e=291811;p:{if((b|0)==291811){break p}d=b;while(1){f=w[d|0];if(w[w[e|0]+883952|0]==w[f+883952|0]){d=d+1|0;e=e+1|0;if(f){continue}break p}break}e=233940;if((c|0)==233940){break p}d=c;while(1){f=w[d|0];if(w[w[e|0]+883952|0]==w[f+883952|0]){d=d+1|0;e=e+1|0;if(f){continue}break p}break}e=278792;if((c|0)==278792){break p}d=c;while(1){f=w[d|0];if(w[w[e|0]+883952|0]==w[f+883952|0]){d=d+1|0;e=e+1|0;if(f){continue}break p}break}e=239906;if((c|0)==239906){break p}d=c;while(1){f=w[d|0];if(w[w[e|0]+883952|0]==w[f+883952|0]){d=d+1|0;e=e+1|0;if(f){continue}break p}break}e=291802;if((c|0)==291802){break p}d=c;while(1){f=w[d|0];if(w[w[e|0]+883952|0]==w[f+883952|0]){d=d+1|0;e=e+1|0;if(f){continue}break p}break}e=242623;if((c|0)==242623){break p}d=c;while(1){f=w[d|0];if(w[w[e|0]+883952|0]==w[f+883952|0]){d=d+1|0;e=e+1|0;if(f){continue}break p}break}e=280772;if((c|0)==280772){break p}d=c;while(1){f=w[d|0];if(w[w[e|0]+883952|0]==w[f+883952|0]){d=d+1|0;e=e+1|0;if(f){continue}break p}break}e=273776;if((c|0)==273776){break p}d=c;while(1){f=w[d|0];if(w[w[e|0]+883952|0]==w[f+883952|0]){d=d+1|0;e=e+1|0;if(f){continue}break p}break}e=273936;if((c|0)==273936){break p}d=c;while(1){f=w[d|0];if(w[w[e|0]+883952|0]==w[f+883952|0]){d=d+1|0;e=e+1|0;if(f){continue}break p}break}e=284816;if((c|0)==284816){break p}d=c;while(1){f=w[d|0];if(w[w[e|0]+883952|0]==w[f+883952|0]){d=d+1|0;e=e+1|0;if(f){continue}break p}break}e=242575;if((c|0)==242575){break p}d=c;while(1){f=w[d|0];if(w[w[e|0]+883952|0]==w[f+883952|0]){d=d+1|0;e=e+1|0;if(f){continue}break p}break}e=219512;if((c|0)==219512){break p}d=c;while(1){f=w[d|0];if(w[w[e|0]+883952|0]==w[f+883952|0]){d=d+1|0;e=e+1|0;if(f){continue}break p}break}e=290033;if((c|0)==290033){break p}while(1){f=w[c|0];d=0;if(w[w[e|0]+883952|0]!=w[f+883952|0]){break o}c=c+1|0;e=e+1|0;if(f){continue}break}}d=1}if(!d){c=0;break n}c=0;if(!b){break n}d=b;while(1){e=d;d=d+1|0;if(w[e|0]){continue}break}d=e-b|0;if((d|0)<0){break n}c=Ub[v[259707]](d+1|0)|0;if(!c){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);c=0;break n}l=gc(c,b,d);t[d+l|0]=0}q:{e=v[a+32>>2];d=v[h+92>>2];if(!(e|d)){if(w[g|0]!=120|w[g+1|0]!=109|(w[g+2|0]!=108|w[g+3|0]!=110)){break q}if(w[g+5|0]|w[g+4|0]!=115){break q}d=c;r:{if(v[a+16>>2]){break r}v[a+248>>2]=v[a+248>>2]+1;d=yu(a,c);v[a+248>>2]=v[a+248>>2]-1;if(d){break r}Jj(a,230764);d=g;break b}s:{if(!w[d|0]){break s}b=_r(d);if(!b){b=v[a>>2];if(!b){break s}b=v[b+84>>2];if(!b){break s}e=v[a+4>>2];v[h>>2]=d;Ub[b|0](e,355283,h);break s}t:{if(v[b>>2]){break t}e=v[a>>2];if(!e){break t}e=v[e+84>>2];if(!e){break t}f=v[a+4>>2];v[h+16>>2]=d;Ub[e|0](f,352106,h+16|0)}pj(b)}qk(v[a+52>>2],d,0);Ub[v[259708]](g);if(l){Ub[v[259708]](l)}if((c|0)!=(d|0)){break b}break a}if(!d|e|(w[d|0]!=120|w[d+1|0]!=109)){break q}if(w[d+2|0]!=108|w[d+3|0]!=110|(w[d+5|0]|w[d+4|0]!=115)){break q}d=c;u:{if(v[a+16>>2]){break u}v[a+248>>2]=v[a+248>>2]+1;d=yu(a,c);v[a+248>>2]=v[a+248>>2]-1;if(d){break u}Jj(a,230764);Ub[v[259708]](v[h+92>>2]);d=g;break b}if(!w[d|0]){b=Qb-16|0;Qb=b;v:{if(a){if(v[a+172>>2]==-1?v[a+212>>2]:0){break v}v[a+84>>2]=204}v[b+4>>2]=0;v[b>>2]=g;oc(0,0,0,a,0,3,204,2,g,0,0,0,349530,b)}Qb=b+16|0}w:{if(!v[a+268>>2]|!w[d|0]){break w}b=_r(d);if(!b){My(a,99,355310,g,c);break w}if(!v[b>>2]){My(a,100,352137,g,c)}pj(b)}qk(v[a+52>>2],d,g);Ub[v[259708]](v[h+92>>2]);Ub[v[259708]](g);if(l){Ub[v[259708]](l)}if((c|0)!=(d|0)){break b}break a}x:{y:{if(!d){break y}j=sk(v[a+8>>2],v[a+52>>2],d);if(!j){d=v[h+92>>2];if(v[a+212>>2]){j=0;if(v[a+172>>2]==-1){break y}}v[a+84>>2]=201;v[h+36>>2]=g;v[h+32>>2]=d;j=0;oc(0,0,0,a,0,3,201,2,d,g,0,0,354031,h+32|0);break y}i=v[v[a+52>>2]+44>>2];if(!i){break y}while(1){z:{k=v[i+36>>2];if(!k){break z}d=v[i+8>>2];if((g|0)!=(d|0)){e=g;if(!d){break z}while(1){f=w[e|0];if((f|0)!=w[d|0]){break z}d=d+1|0;e=e+1|0;if(f){continue}break}}f=v[j+8>>2];A:{if((j|0)==(k|0)){break A}d=v[k+8>>2];if((f|0)==(d|0)){break A}if(!f){break z}e=f;if(!d){break z}while(1){k=w[e|0];if((k|0)!=w[d|0]){break z}d=d+1|0;e=e+1|0;if(k){continue}break}}B:{if(a){if(v[a+172>>2]==-1?v[a+212>>2]:0){break B}v[a+84>>2]=42}v[h+52>>2]=f;v[h+48>>2]=g;oc(0,0,0,a,0,3,42,2,g,f,0,0,353807,h+48|0)}v[a+12>>2]=0;if(v[a+288>>2]){break x}v[a+212>>2]=1;break x}i=v[i+24>>2];if(i){continue}break}}j=hV(v[a+52>>2],j,g,1);C:{if(!j){break C}if(!(v[a+16>>2]|v[a+32>>2])){d=Py(v[a+8>>2],c);v[j+12>>2]=d;if(!d){break C}while(1){e=d;v[d+20>>2]=j;d=v[d+24>>2];if(d){continue}break}v[j+16>>2]=e;break C}if(!c){break C}e=v[a+8>>2];d=eV(c);if(!d){v[j+12>>2]=0;v[j+16>>2]=0;break C}v[d+32>>2]=e;v[j+16>>2]=d;v[j+12>>2]=d;v[d+20>>2]=j}if(w[a+276|0]&8){break x}D:{if(!v[a+16>>2]){if(v[a+96>>2]!=2){break D}break x}if(v[a+216>>2]){break x}}d=289123;E:{if((b|0)!=289123){if(!b){break E}while(1){e=w[b|0];if((e|0)!=w[d|0]){break E}d=d+1|0;b=b+1|0;if(e){continue}break}}f=Qb-16|0;Qb=f;b=c;F:{if(!b){d=-1;break F}e=b;while(1){d=w[e|0];g=d-9|0;if(!(g>>>0>23|!(1<>>0<26)&(d-65&255)>>>0>25){break G}while(1){g=w[e+1|0];d=e+1|0;e=d;if(((g&223)-65&255)>>>0<26){continue}e=d;if((g-48&255)>>>0<10|g-45>>>0<2|(g|0)==95){continue}break}while(1){e=(g&255)-9|0;if(!(e>>>0>23|!(1<255){break I}J:{while(1){d=e-9|0;if(d>>>0>23|!(1<>2]+b|0;e=fl(0,b,f+12|0);if((e|0)<256){continue}break}break I}if((e&-33)-65>>>0<26|e-192>>>0<23|((e|0)==95|(e|0)>247)){break H}d=1;if(e-216>>>0<31){break H}break F}if(e>>>0<=65535){d=196;g=0;while(1){i=(d+g|0)/2|0;k=i<<2;K:{if(x[k+879280>>1]>e>>>0){d=i-1|0;break K}if(x[k+879282>>1]>=e>>>0){break H}g=i+1|0}if((d|0)>=(g|0)){continue}break}}if((e|0)==12295|e-12321>>>0<9){break H}d=1;if(e-19968>>>0>20901){break F}}d=v[f+12>>2]+b|0;e=fl(0,d,f+12|0);L:{while(1){M:{b=d;N:{O:{if((e|0)<=255){if((e&-33)-65>>>0<26|e-192>>>0<23|(e-48>>>0<10|(e|0)>247)){break N}if(e-216>>>0>=31){break O}break N}k=e>>>0>65535;if(!k){d=196;g=0;while(1){i=(d+g|0)/2|0;m=i<<2;P:{if(x[m+879280>>1]>e>>>0){d=i-1|0;break P}if(x[m+879282>>1]>=e>>>0){break N}g=i+1|0}if((d|0)>=(g|0)){continue}break}}if((e|0)==12295|e-12321>>>0<9|e-19968>>>0<20902){break N}if(k){break O}d=13;g=0;while(1){i=(d+g|0)/2|0;k=i<<2;Q:{if(x[k+880496>>1]>e>>>0){d=i-1|0;break Q}if(x[k+880498>>1]>=e>>>0){break N}g=i+1|0}if((d|0)>=(g|0)){continue}break}}if((e|0)==95|e-45>>>0<2){break N}if((e|0)>=256){if(e>>>0>65535){e=1;break L}d=94;g=0;while(1){i=(d+g|0)/2|0;k=i<<2;R:{if(x[k+880096>>1]>e>>>0){d=i-1|0;break R}if(x[k+880098>>1]>=e>>>0){break N}g=i+1|0}if((d|0)>=(g|0)){continue}break}d=9;g=0;while(1){i=(d+g|0)/2|0;k=i<<2;S:{if(x[k+880576>>1]>e>>>0){d=i-1|0;break S}if(x[k+880578>>1]>=e>>>0){break N}g=i+1|0}if((d|0)>=(g|0)){continue}break}break M}if((e|0)!=183){break M}}d=v[f+12>>2]+b|0;e=0;if(!b){continue}T:{b=w[d|0];if(b&128){if((w[d+1|0]&192)!=128){break T}U:{if((b&224)==224){if((w[d+2|0]&192)!=128){break T}if((b&240)==240){if((b&248)!=240|(w[d+3|0]&192)!=128){break T}v[f+12>>2]=4;g=(w[d+1|0]&63)<<12|(w[d|0]&7)<<18|(w[d+2|0]&63)<<6;b=d+3|0;break U}v[f+12>>2]=3;g=(w[d+1|0]&63)<<6|(w[d|0]&15)<<12;b=d+2|0;break U}v[f+12>>2]=2;g=(w[d|0]&31)<<6;b=d+1|0}e=w[b|0]&63|g;V:{if(e>>>0<=255){if(e>>>0>31){continue}if(e>>>0>13){break V}if(1<>>0<55296|e-57344>>>0<8190|e-65536>>>0<1048576){continue}}v[f>>2]=e;oc(0,0,0,0,0,1,9,3,0,0,0,e,352889,f);continue}v[f+12>>2]=1;e=w[d|0];continue}v[f+12>>2]=0;continue}break}if((e|0)>255){break L}while(1){d=e-9|0;if(d>>>0>23|!(1<>2]+b|0;e=fl(0,b,f+12|0);if((e|0)<256){continue}break}}d=(e|0)!=0}Qb=f+16|0;if(d){Xi(a,539,352805,c,0)}Bu(a+108|0,v[a+8>>2],c,j);break x}if(Iy(v[a+8>>2],v[a+52>>2],j)){Bu(a+108|0,v[a+8>>2],c,j);break x}if(!IU(v[a+8>>2],v[a+52>>2],j)){break x}KU(a+108|0,v[a+8>>2],c,j)}if(!l){break c}Ub[v[259708]](l)}d=v[h+92>>2];if(!d){break a}}Ub[v[259708]](d)}Qb=h+96|0}function JXa(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,n=0,o=0,p=0,q=0,r=0,s=0,z=0,A=0,C=0,D=0,E=0,F=0;f=Qb-384|0;Qb=f;v[b>>2]=1;a:{if(!v[b+136>>2]){d=sm(v[v[b+96>>2]+4>>2],220369);if(!d){a=11;break a}v[b+136>>2]=d}if(!v[b+320>>2]){E=b,F=sm(v[v[b+96>>2]+4>>2],239287),v[E+320>>2]=F}a=Yc(a,0);if(a){break a}k=v[b+100>>2];v[f+108>>2]=0;g=v[b+104>>2];a=v[b+136>>2];d=f+8|0;ic(d,0,100);Ub[v[v[a+4>>2]>>2]](d,0,0,k);v[f+80>>2]=g;n=v[g+8>>2];b:{c:{d:{d=ne(g,31);e:{if(d){break e}a=Oc(v[g+32>>2],228464,31);Vd(g);if(a){v[f+4>>2]=2;break b}j=f+106|0;o=f+84|0;l=f+112|9;while(1){d=v[g+8>>2];h=d;a=0;d=v[g+4>>2]-d|0;e=d>>>0<265?d:265;d=Lf(g,f+112|0,e);if(d){break e}while(1){f:{d=f+112|0;i=(d+a|0)+e|0;t[i|0]=0;e=a+e|0;if(d>>>0>>0){m=e+j|0;d=w[f+112|0];a=f+112|0;while(1){g:{if((d&255)!=83){break g}if(Oc(a,304258,9)){break g}e=10;break f}h:{d=w[a+1|0];if((d|0)!=115){break h}if(Oc(a,234492,6)){break h}e=7;break f}a=a+1|0;if((m|0)!=(a|0)){continue}break}}if(e>>>0<9){v[f+4>>2]=3;break b}a=i-9|0;d=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);e=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);t[f+120|0]=w[a+8|0];v[f+112>>2]=e;v[f+116>>2]=d;h=h+256|0;a=9;d=v[g+4>>2]-v[g+8>>2]|0;e=d>>>0<256?d:256;d=Lf(g,l,e);if(!d){continue}break e}break}d=Yc(g,n);if(d){break e}i=((h-(f+112|0)|0)+a|0)+e|0;a=i-n|0;d=Xh(g,a,o);if(d){break e}v[f+92>>2]=i;h=v[f+84>>2];v[f+12>>2]=h;v[f+104>>2]=-1;v[f+8>>2]=h;v[f+88>>2]=a;v[f+16>>2]=a+h;d=f+8|0;Ub[v[f+40>>2]](d);Ub[v[f+36>>2]](d);a=v[f+8>>2];Ub[v[f+40>>2]](d);Ub[v[f+36>>2]](d);d=v[f+8>>2];e=v[f+16>>2];m=e-6|0;if(d>>>0<=m>>>0){p=e-9|0;while(1){e=a;a=d;d=v[f+20>>2];if(d){break e}i:{if(w[a|0]!=83|a>>>0>p>>>0){break i}if(Oc(a,304258,9)){break i}if(Oc(h,336422,5)){break c}a=Yf(e,0,10);if((a|0)>=0){break d}v[f+4>>2]=3;break b}j:{if(w[a+1|0]!=115){break j}if(Oc(a,234492,6)){break j}v[f+4>>2]=2;break b}d=f+8|0;Ub[v[f+40>>2]](d);Ub[v[f+36>>2]](d);h=e;d=v[f+8>>2];if(m>>>0>=d>>>0){continue}break}}nf(g,o);d=Yc(g,i);if(!d){continue}break}}v[f+4>>2]=d;break b}v[f+96>>2]=a}v[f+4>>2]=0;v[f+20>>2]=0;a=v[f+84>>2];j=a+v[f+88>>2]|0;v[f+16>>2]=j;g=b+164|0;n=b+312|0;o=b+196|0;i=b+140|0;q=j-1|0;k:{l:{m:while(1){v[f+8>>2]=a;Ub[v[f+36>>2]](f+8|0);d=v[f+8>>2];e=(d>>>0>>0?d:q)-17|0;if(e>>>0>a>>>0){while(1){n:{if(w[a|0]!=37){break n}if(Oc(a,233603,17)|v[b+300>>2]<1){break n}v[f+104>>2]=v[f+104>>2]+1}a=a+1|0;if((e|0)!=(a|0)){continue}break}}o:{if(d>>>0>=j>>>0){break o}Ub[v[f+40>>2]](f+8|0);a=v[f+8>>2];if(v[f+20>>2]|j>>>0<=a>>>0){break o}if(w[d|0]!=47|j>>>0<=d+2>>>0){continue}m=d+1|0;l=a-m|0;if(l-1>>>0>20){continue}p=w[m|0];e=451840;d=280460;p:{if(l>>>0>=2){while(1){h=e;q:{if((p|0)!=w[d|0]){break q}e=1;if((Bc(d)|0)!=(l|0)){break q}while(1){if(w[e+m|0]!=w[d+e|0]){break q}e=e+1|0;if((l|0)!=(e|0)){continue}break}e=h;break p}e=h+36|0;d=v[h+36>>2];if(d){continue}continue m}}while(1){if((p|0)==w[d|0]){if((Bc(d)|0)==(l|0)){break p}}d=v[e+36>>2];e=e+36|0;if(d){continue}break}continue}h=f;l=v[e+8>>2];r:{if((l|0)==11){Ub[v[e+12>>2]](b,f+8|0);a=v[f+20>>2];break r}d=i;s:{t:{u:{v:{switch(v[e+4>>2]){case 3:d=g;break u;case 2:d=n;break u;case 5:d=o;break u;case 0:break u;default:break v}}a=v[f+104>>2];if((a|0)<0|(a|0)>=v[b+300>>2]){break t}d=v[b+304>>2]+B(a,252)|0}v[f+112>>2]=d;if(l-9>>>0>1){break s}a=Ub[v[f+76>>2]](f+8|0,e,f+112|0,0,0)|0;break r}v[f+20>>2]=160;v[f+4>>2]=160;break b}a=Ub[v[f+72>>2]](f+8|0,e,f+112|0,0,0)|0}v[h+20>>2]=a;if(a){break l}a=v[f+8>>2];continue}break}if(v[b+300>>2]){break k}a=3}v[f+4>>2]=a;break b}a=v[f+20>>2];v[f+4>>2]=a;if((c|0)<0|a){break b}d=Fd(k,40,f+4|0);v[b+328>>2]=d;if(v[f+4>>2]){break b}h=b;a=v[f+96>>2];w:{if(a){e=b;d=v[v[b+104>>2]+4>>2]-v[f+92>>2]|0;if(d>>>0>>0){v[f+96>>2]=d;a=d}d=e;e=Fd(k,a,f+4|0);v[d+324>>2]=e;if(v[f+4>>2]){break b}a=v[f+96>>2];d=Qb-256|0;Qb=d;o=v[b+104>>2];k=Yc(o,v[f+92>>2]);x:{if(k){break x}j=1;if((a|0)>=1){m=a+e|0;a=d;i=a;while(1){if(a>>>0>=i>>>0){g=v[o+8>>2];a=v[o+4>>2]-g|0;if(!a){k=160;break x}k=Lf(o,d,a>>>0<256?a:256);if(k){break x}i=(d+v[o+8>>2]|0)-g|0;a=d}g=w[a|0];n=g-48|0;y:{z:{if(n>>>0<10){break z}A:{if((g-97&255)>>>0>=6){if((g-65&255)>>>0<6){break A}n=0;k=160;l=0;B:{switch(g|0){case 62:break y;case 0:case 9:case 10:case 12:case 13:case 32:break B;default:break x}}a=a+1|0;continue}n=g-87|0;break z}n=g-55|0}l=1}C:{if(j&255){t[e|0]=n<<4;break C}t[e|0]=w[e|0]+n;e=e+1|0}a=a+1|0;j=1-j|0;if(e>>>0>>0&l){continue}break}}k=0}Qb=d+256|0;v[f+4>>2]=k;if(k){break b}d=v[b+324>>2];e=v[f+96>>2];a=v[b+328>>2];v[a+32>>2]=0;v[a+8>>2]=0;v[a+4>>2]=e;v[a>>2]=d;v[a+20>>2]=0;v[a+24>>2]=0;a=0;break w}a=v[b+104>>2];e=v[a+4>>2];v[d>>2]=v[a>>2];v[d+4>>2]=e;e=v[a+36>>2];v[d+32>>2]=v[a+32>>2];v[d+36>>2]=e;e=v[a+28>>2];v[d+24>>2]=v[a+24>>2];v[d+28>>2]=e;e=v[a+20>>2];v[d+16>>2]=v[a+16>>2];v[d+20>>2]=e;e=v[a+12>>2];v[d+8>>2]=v[a+8>>2];v[d+12>>2]=e;a=v[f+92>>2]}v[h+308>>2]=a;D:{k=v[b+288>>2];if((k|0)>=0){g=v[b+292>>2];if((g|0)>0){break D}}v[f+4>>2]=3;break b}if(!((g|0)<5&(k|0)<=4)){v[f+4>>2]=3;break b}d=v[v[b+328>>2]+4>>2]-a|0;o=v[b+300>>2];if((o|0)>=1){i=v[b+304>>2];e=0;while(1){a=i+B(e,252)|0;if(y[a+112>>2]>=1001){v[a+112>>2]=7}if(y[a+116>>2]>=1001){v[a+116>>2]=1}E:{h=v[a+248>>2];if((h|0)>=0){n=v[a+240>>2];if(h|!n){break E}}v[f+4>>2]=3;break b}if((h|0)>=5){v[f+4>>2]=3;break b}a=v[a+244>>2];if(a>>>0>d>>>0){v[f+4>>2]=3;break b}if(!((!h|n>>>0<=(d-a>>>0)/(h>>>0)>>>0)&(n|0)>=0)){v[f+4>>2]=3;break b}e=e+1|0;if((o|0)!=(e|0)){continue}break}}a=v[b+284>>2];if(a>>>0>d>>>0){v[f+4>>2]=3;break b}if(y[b+296>>2]>(d-a>>>0)/(g+k>>>0)>>>0){v[f+4>>2]=3;break b}i=0;h=0;q=0;j=Qb-16|0;Qb=j;p=v[b+328>>2];s=v[b+136>>2];g=v[b+100>>2];m=Cc(g,8,0,v[b+300>>2],0,j+12|0);v[b+316>>2]=m;F:{if(v[j+12>>2]){break F}d=v[b+300>>2];if((d|0)<1){break F}while(1){G:{e=v[b+304>>2]+B(q,252)|0;l=v[e+240>>2];if(l){C=v[e+4>>2];z=l+1|0;if(z>>>0>h>>>0){a=l+4&-4;if(a>>>0<=h>>>0){v[j+12>>2]=160;break G}i=Cc(g,4,h,a,i,j+12|0);h=a;if(v[j+12>>2]){break G}}a=Yc(p,v[e+244>>2]+v[b+308>>2]|0);v[j+12>>2]=a;if(a){break G}a=ne(p,B(v[e+248>>2],z));v[j+12>>2]=a;if(a){break G}a=v[e+248>>2];H:{if(!(a&255)){a=0;while(1){v[(a<<2)+i>>2]=0;a=a+1|0;if(l>>>0>=a>>>0){continue}break}break H}A=a-1&255;D=A+1|0;n=a&252;o=a&3;k=v[p+32>>2];r=0;while(1){a=k;e=n;d=0;if(A>>>0>=3){while(1){d=a;a=a+4|0;e=e-4|0;if(e&255){continue}break}d=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24)}e=o;if(e){while(1){d=w[a|0]|d<<8;a=a+1|0;e=e-1|0;if(e&255){continue}break}}v[(r<<2)+i>>2]=d;k=k+D|0;r=r+1|0;if(l>>>0>=r>>>0){continue}break}}Vd(p);d=v[i>>2];a=1;I:{while(1){e=d;d=v[(a<<2)+i>>2];if(e>>>0<=d>>>0){a=a+1|0;if(l>>>0>=a>>>0){continue}break I}break}v[j+12>>2]=3;break G}a=v[(l<<2)+i>>2];if(a>>>0>v[p+4>>2]-v[b+308>>2]>>>0){v[j+12>>2]=3;break G}d=v[i>>2];E=m,F=Cc(g,4,0,z,0,j+12|0),v[E+4>>2]=F;if(v[j+12>>2]){break G}a=a-d|0;d=Fd(g,a,j+12|0);v[v[m+4>>2]>>2]=d;if(v[j+12>>2]){break G}d=Yc(p,v[i>>2]+v[b+308>>2]|0);v[j+12>>2]=d;if(d){break G}a=Lf(p,v[v[m+4>>2]>>2],a);v[j+12>>2]=a;if(a){break G}d=v[i>>2];a=1;while(1){e=a<<2;k=e+v[m+4>>2]|0;e=v[e+i>>2];v[k>>2]=v[k-4>>2]+(e-d|0);d=e;a=a+1|0;if(l>>>0>=a>>>0){continue}break}J:{if((C|0)<0){break J}d=l>>>0>1?l:1;n=d&1;a=0;if(l>>>0>=2){e=d&-2;while(1){d=a<<2;o=d|4;k=o+i|0;Ub[v[s+16>>2]](v[d+v[m+4>>2]>>2],v[k>>2]-v[d+i>>2]|0,4330);a=a+2|0;Ub[v[s+16>>2]](v[o+v[m+4>>2]>>2],v[(a<<2)+i>>2]-v[k>>2]|0,4330);e=e-2|0;if(e){continue}break}}if(!n){break J}d=a<<2;a=d+i|0;Ub[v[s+16>>2]](v[d+v[m+4>>2]>>2],v[a+4>>2]-v[a>>2]|0,4330)}v[m>>2]=l;d=v[b+300>>2]}m=m+8|0;q=q+1|0;if((q|0)<(d|0)){continue}break F}break}a=v[b+316>>2];if(!a){break F}if(v[b+300>>2]>=1){e=0;while(1){d=g;h=e<<3;k=v[(h+a|0)+4>>2];if(k){a=v[k>>2];if(a){Ub[v[g+8>>2]](g,a)}v[v[(h+v[b+316>>2]|0)+4>>2]>>2]=0;a=v[b+316>>2]}a=v[(a+h|0)+4>>2];if(a){Ub[v[d+8>>2]](d,a)}a=v[b+316>>2];v[(h+a|0)+4>>2]=0;e=e+1|0;if((e|0)>2]){continue}break}}if(a){Ub[v[g+8>>2]](g,a)}v[b+316>>2]=0}if(i){Ub[v[g+8>>2]](g,i)}Qb=j+16|0;v[f+4>>2]=v[j+12>>2]}if(v[f+84>>2]){nf(v[f+80>>2],f+84|0)}Ub[v[f+32>>2]](f+8|0);a=v[f+4>>2];if(a|(c|0)<0){break a}a=6;if(c&65535){break a}v[b+36>>2]=0;v[b+4>>2]=0;v[b+16>>2]=v[b+296>>2];a=v[b+8>>2];v[b+8>>2]=a|2065;if(w[b+188|0]){v[b+8>>2]=a|2069}v[b+24>>2]=240246;d=v[b+176>>2];v[b+20>>2]=d;K:{if(d){a=v[b+172>>2];if(!a){break K}e=w[a|0];if(!e){break K}while(1){e=e&255;c=w[d|0];L:{if((e|0)==(c|0)){a=a+1|0;d=d+1|0;break L}e=e-32|0;if(!(!e|(e|0)==13)){M:{switch(c-32|0){case 0:case 13:d=d+1|0;break L;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break K;default:break M}}if(c){break K}v[b+24>>2]=a;break K}a=a+1|0}e=w[a|0];if(e){continue}break}break K}a=v[b+140>>2];if(!a){break K}v[b+20>>2]=a}c=v[b+184>>2]!=0;v[b+12>>2]=c;a=v[b+180>>2];N:{if(!a){break N}if(mc(a,288795)){if(mc(a,263545)){break N}}v[b+12>>2]=c|2}v[b+28>>2]=0;v[b+32>>2]=0;v[b+52>>2]=v[b+196>>2]>>16;a=v[b+200>>2]>>16;v[b+56>>2]=a;v[b+60>>2]=v[b+204>>2]+65535>>16;c=v[b+208>>2]+65535>>16;v[b- -64>>2]=c;e=x[b+68>>1];if(!e){u[b+68>>1]=1e3;e=1e3}u[b+72>>1]=a;u[b+70>>1]=c;v[b+80>>2]=x[b+190>>1]|x[b+192>>1]<<16;d=b;a=c-a|0;b=(B(e,12)>>>0)/10|0;u[d+74>>1]=(a|0)>b<<16>>16?a:b;a=0}Qb=f+384|0;return a|0}function IZ(a,b){var 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;j=Qb-16|0;Qb=j;c=v[a+1008>>2];e=0;a:{if((c|0)<0){break a}b:{while(1){d=v[a+4>>2];e=(c<<2)+a|0;v[a+72>>2]=B(d,u[e+946>>1]);e=u[e+944>>1];v[a+40>>2]=0;v[a+44>>2]=0;v[a+84>>2]=0;c=v[a+24>>2];v[a+36>>2]=c;u[a+78>>1]=0;v[a+80>>2]=c;g=v[a+28>>2]-32|0;v[a+32>>2]=g;v[a+68>>2]=B(d,e);v[c+8>>2]=c;u[a+76>>1]=0;c:{d:{e:{f:{g:{if(u[a+120>>1]<1){break g}d=v[a+8>>2];f=v[a+132>>2];i=0;q=0;while(1){v[a+88>>2]=0;v[a+92>>2]=0;e=v[a+12>>2];h=v[a+124>>2];l=i&65535;c=h+(l<<3)|0;g=B(e,v[c+4>>2])-d|0;k=B(e,v[c>>2])-d|0;r=q<<1;i=x[r+f>>1];n=h+(i<<3)|0;f=B(e,v[n+4>>2])-d|0;e=B(e,v[n>>2])-d|0;h:{if(!b){h=k;k=g;g=e;e=f;break h}h=g;g=f}d=l;l=v[a+128>>2];d=d+l|0;f=w[d|0];if(f&4){t[a+164|0]=f>>>5;f=w[d|0]}f=f&3;i:{if((f|0)==3){break i}j:{switch(f-1|0){case 0:break i;case 1:break b;default:break j}}k:{if((w[i+l|0]&3)==1){n=n-8|0;break k}g=(g+h|0)/2|0;e=(e+k|0)/2|0}k=e;h=g;d=d-1|0;c=c-8|0}v[a+64>>2]=k;v[a+60>>2]=h;l:{if(c>>>0>>0){while(1){i=d+1|0;g=c+8|0;m:{n:{o:{switch(w[d+1|0]&3){case 1:f=v[c+8>>2];e=c;d=i;c=g;l=v[e+12>>2];e=v[a+12>>2];g=v[a+8>>2];l=B(l,e)-g|0;e=B(e,f)-g|0;if(GZ(a,b?l:e,b?e:l)){break f}break m;case 0:e=v[a+12>>2];d=v[a+8>>2];f=B(e,v[c+8>>2])-d|0;d=B(e,v[c+12>>2])-d|0;e=b?f:d;f=b?d:f;c=g;while(1){if(c>>>0>=n>>>0){break n}d=v[a+12>>2];g=v[a+8>>2];l=B(d,v[c+8>>2])-g|0;d=B(d,v[c+12>>2])-g|0;g=b?l:d;l=b?d:l;d=i+1|0;c=c+8|0;i=w[i+1|0]&3;if(i){if((i|0)!=1){break b}if(!CH(a,f,e,l,g)){break m}break f}m=CH(a,f,e,(f+l|0)/2|0,(e+g|0)/2|0);i=d;f=l;e=g;if(!m){continue}break};break f;default:break o}}if((w[d+2|0]&3)!=2|c+16>>>0>n>>>0){break b}m=c+24|0;o=v[a+12>>2];p=v[a+8>>2];e=B(o,v[c+16>>2])-p|0;g=B(o,v[c+8>>2])-p|0;i=B(o,v[c+20>>2])-p|0;f=B(o,v[c+12>>2])-p|0;p:{if(!b){l=g;g=f;f=e;e=i;break p}l=f;f=i}if(m>>>0<=n>>>0){i=e;e=B(o,v[c+28>>2])-p|0;c=B(o,v[c+24>>2])-p|0;if(FZ(a,l,g,f,i,b?e:c,b?c:e)){break f}d=d+3|0;c=m;break m}if(!FZ(a,l,g,f,e,h,k)){break l}break f}if(CH(a,f,e,h,k)){break f}break l}if(c>>>0>>0){continue}break}}if(GZ(a,h,k)){break f}}f=v[a+132>>2];l=x[r+f>>1];g=v[a+4>>2];k=g-1|0;c=v[a+64>>2];i=k&c;q:{if(i|(c|0)>2]|(c|0)>v[a+72>>2]){break q}e=v[a+88>>2];if(!e|(x[v[a+80>>2]+12>>1]^x[e+12>>1])&8){break q}v[a+36>>2]=v[a+36>>2]-4}e=v[a+36>>2];h=v[a+80>>2];m=v[h+8>>2];r:{if(!((e|0)==(m|0)|!(w[h+12|0]&8))){d=v[a+8>>2];c=(i|0)>=(d|0);break r}d=v[a+8>>2];c=(d|0)<=((c+k&0-g)-c|0)}g=e-m|0;if((g|0)<=-1){v[a+40>>2]=99;e=1;break a}s:{if(!g){c=e;break s}v[h+16>>2]=g>>2;if(c){c=x[h+12>>1];u[h+12>>1]=(c&8?16:32)|c}v[a+80>>2]=e;c=e+32|0;v[a+36>>2]=c;v[e+8>>2]=c;v[e+16>>2]=0;v[h+28>>2]=e;u[a+76>>1]=x[a+76>>1]+1}g=v[a+32>>2];if(g>>>0<=c>>>0){break e}t[a+79|0]=0;e=v[a+88>>2];if(e){v[h+28>>2]=e}i=l+1|0;q=q+1|0;if((q|0)>1]){continue}break}q=x[a+76>>1];if(q>>>0<2){break g}n=v[a+84>>2];if(!n){break g}p=v[a+28>>2];d=n;while(1){t:{if((q&65535)>>>0>=2){e=v[d+16>>2];l=v[d+8>>2]+(e<<2)|0;v[d+4>>2]=l;break t}l=0;v[d+4>>2]=0;e=v[d+16>>2]}h=v[d+20>>2];u:{if(w[d+12|0]&8){f=h;h=(f+e|0)-1|0;break u}f=(h-e|0)+1|0;v[d+20>>2]=f;v[d+8>>2]=(v[d+8>>2]+(e<<2)|0)-4}o=h;k=v[a+44>>2];m=0-k|0;r=p-(k<<2)|0;d=k;v:{w:{while(1){h=d;if((d|0)<1){break w}d=h-1|0;i=r+(d<<2)|0;e=v[i>>2];if((f|0)<(e|0)){continue}break}if((e|0)>=(f|0)){h=k;break v}v[i>>2]=f;if((h|0)<2){f=e;break w}m=h-2|0;d=m;i=h-1&3;if(i){while(1){h=r+(d<<2)|0;f=v[h>>2];v[h>>2]=e;d=d-1|0;e=f;i=i-1|0;if(i){continue}break}}if(m>>>0<3){break w}while(1){f=r+(d<<2)|0;h=v[f>>2];v[f>>2]=e;e=f-8|0;i=v[e+4>>2];m=v[e>>2];v[f-4>>2]=h;f=f-12|0;e=v[f>>2];v[f>>2]=m;v[f+4>>2]=i;h=(d|0)>3;d=d-4|0;f=e;if(h){continue}break}}g=g-4|0;v[a+32>>2]=g;if(c>>>0>=g>>>0){break e}h=k+1|0;v[a+44>>2]=h;m=k^-1;v[p+(m<<2)>>2]=f}f=o+1|0;m=p+(m<<2)|0;d=h;x:{y:{while(1){k=d;if((d|0)<1){break y}d=k-1|0;i=m+(d<<2)|0;e=v[i>>2];if((f|0)<(e|0)){continue}break}if((e|0)>(o|0)){break x}v[i>>2]=f;if((k|0)<2){f=e;break y}o=k-2|0;d=o;i=k-1&3;if(i){while(1){k=m+(d<<2)|0;f=v[k>>2];v[k>>2]=e;d=d-1|0;e=f;i=i-1|0;if(i){continue}break}}if(o>>>0<3){break y}while(1){f=m+(d<<2)|0;k=v[f>>2];v[f>>2]=e;e=f-8|0;i=v[e+4>>2];o=v[e>>2];v[f-4>>2]=k;f=f-12|0;e=v[f>>2];v[f>>2]=o;v[f+4>>2]=i;k=(d|0)>3;d=d-4|0;f=e;if(k){continue}break}}g=g-4|0;v[a+32>>2]=g;if(c>>>0>=g>>>0){break e}v[a+44>>2]=h+1;v[p+((h^-1)<<2)>>2]=f}d=l;q=q-1|0;if(q&65535){continue}break}if(c>>>0>=g>>>0){break f}v[j+8>>2]=0;v[j+4>>2]=0;v[j>>2]=0;d=v[a>>2];e=v[a+68>>2]>>d;u[j+12>>1]=e;f=v[a+72>>2]>>d;u[j+14>>1]=f;while(1){d=n;c=v[d+20>>2];g=(c+v[d+16>>2]<<16)-65536>>16;if(c<<16>>16>16){u[j+14>>1]=c;f=c}if((g|0)>e<<16>>16){u[j+12>>1]=g;e=g}n=v[d+4>>2];v[d>>2]=0;i=j+8|0;c=v[j+8>>2];z:{if(!c){c=0;break z}if(v[c>>2]>0){break z}A:{while(1){g=c;c=v[c+4>>2];if(c){if(v[c>>2]<=0){continue}break A}break}c=0}i=g+4|0}v[d+4>>2]=c;v[i>>2]=d;if(n){continue}break}B:{if(v[a+44>>2]){Ub[v[a+148>>2]](a,j+14|0,j+12|0);l=u[j+14>>1];c=v[j+8>>2];d=c;if(c){while(1){v[d+24>>2]=v[d+20>>2]-l;d=v[d+4>>2];if(d){continue}break}}e=v[a+44>>2];if((e|0)<1){break B}C:{if(v[v[a+28>>2]-(e<<2)>>2]!=(l|0)){g=e;break C}g=e-1|0;v[a+44>>2]=g;if((e|0)<2){break B}}d=0;while(1){if(c){k=d<<16>>16;while(1){e=v[c+24>>2]-k|0;v[c+24>>2]=e;f=v[c+4>>2];if(!e){d=v[j+8>>2];D:{if(!d){break D}if((c|0)==(d|0)){v[j+8>>2]=f;break D}while(1){e=d;d=v[d+4>>2];if(!d){break D}if((c|0)!=(d|0)){continue}break}v[e+4>>2]=f}h=v[c>>2];E:{if(w[c+12|0]&8){e=j+4|0;d=v[j+4>>2];if(!d){d=0;break E}if((h|0)>2]){break E}F:{while(1){e=d;d=v[d+4>>2];if(d){if((h|0)>=v[d>>2]){continue}break F}break}d=0}e=e+4|0;break E}e=j;d=v[e>>2];if(!d){d=0;break E}if((h|0)>2]){break E}G:{while(1){e=d;d=v[d+4>>2];if(d){if((h|0)>=v[d>>2]){continue}break G}break}d=0}e=e+4|0}v[c+4>>2]=d;v[e>>2]=c}c=f;if(c){continue}break}}d=v[j+4>>2];c=d;H:{if(!c){break H}while(1){e=v[c+8>>2];v[c>>2]=v[e>>2];v[c+16>>2]=v[c+16>>2]-1;v[c+8>>2]=e+(x[c+12>>1]&8?4:-4);c=v[c+4>>2];if(c){continue}break}c=v[d+4>>2];if(!c){break H}i=d+4|0;e=j+4|0;while(1){I:{if(v[d>>2]<=v[c>>2]){d=c;e=i;break I}v[e>>2]=c;v[i>>2]=v[c+4>>2];v[c+4>>2]=d;d=v[j+4>>2];e=j+4|0}i=d+4|0;c=v[d+4>>2];if(c){continue}break}}h=v[j>>2];c=h;J:{if(!c){h=0;break J}while(1){e=v[c+8>>2];v[c>>2]=v[e>>2];v[c+16>>2]=v[c+16>>2]-1;v[c+8>>2]=e+(x[c+12>>1]&8?4:-4);c=v[c+4>>2];if(c){continue}break}d=v[h+4>>2];if(!d){break J}i=h+4|0;e=j;c=h;while(1){K:{if(v[c>>2]<=v[d>>2]){e=i;break K}v[e>>2]=d;v[i>>2]=v[d+4>>2];v[d+4>>2]=c;e=j;h=v[e>>2];d=h}c=d;i=c+4|0;d=v[c+4>>2];if(d){continue}break}}v[a+44>>2]=g-1;r=v[v[a+28>>2]-(g<<2)>>2];s=r<<16>>16;L:{if((s|0)>l<<16>>16){m=h;g=h;k=l;while(1){d=v[j+4>>2];M:{if(!d){break M}q=0;c=d;i=g;if(!g){break M}while(1){f=v[c>>2];n=v[i>>2];o=(f|0)>(n|0);N:{O:{e=o?f:n;f=o?n:f;n=v[a+4>>2];if((e-f|0)>(n|0)){break O}p=0-n|0;o=p&f;if((o|0)==(f|0)){break O}p=p&(e+n|0)-1;if((p|0)==(e|0)|(p|0)!=(n+o|0)&(o|0)<=(p|0)){break O}if((x[c+12>>1]&7)==2){break N}v[c>>2]=f;v[i>>2]=e;v[c+24>>2]=1;q=q+1|0;break N}Ub[v[a+152>>2]](a,k<<16>>16,f,e,c,i)}c=v[c+4>>2];if(c){i=v[i+4>>2];if(i){continue}}break}c=d;if(q<<16>>16<=0){break M}while(1){if(v[c+24>>2]){v[c+24>>2]=0;Ub[v[a+156>>2]](a,k<<16>>16,v[c>>2],v[g>>2],c,g)}c=v[c+4>>2];if(!c){break M}g=v[g+4>>2];if(g){continue}break}}Ub[v[a+160>>2]](a);k=k+1|0;if((s|0)<=k<<16>>16){break L}c=d;f=m;P:{if(!c){break P}while(1){e=v[c+8>>2];v[c>>2]=v[e>>2];v[c+16>>2]=v[c+16>>2]-1;v[c+8>>2]=e+(x[c+12>>1]&8?4:-4);c=v[c+4>>2];if(c){continue}break}c=v[d+4>>2];f=m;if(!c){break P}i=d+4|0;e=j+4|0;while(1){Q:{if(v[d>>2]<=v[c>>2]){d=c;e=i;break Q}v[e>>2]=c;v[i>>2]=v[c+4>>2];v[c+4>>2]=d;d=v[j+4>>2];e=j+4|0}i=d+4|0;c=v[d+4>>2];if(c){continue}break}h=v[j>>2];f=h}m=0;g=0;c=f;if(!c){continue}while(1){e=v[c+8>>2];v[c>>2]=v[e>>2];v[c+16>>2]=v[c+16>>2]-1;v[c+8>>2]=e+(x[c+12>>1]&8?4:-4);c=v[c+4>>2];if(c){continue}break}i=f+4|0;e=j;m=f;g=f;c=f;d=v[c+4>>2];if(!d){continue}while(1){R:{if(v[c>>2]<=v[d>>2]){e=i;break R}v[e>>2]=d;v[i>>2]=v[d+4>>2];v[d+4>>2]=c;e=j;h=v[e>>2];f=h;d=f}c=d;i=c+4|0;d=v[c+4>>2];if(d){continue}break}m=f;g=f;continue}}d=v[j+4>>2];k=l}S:{c=d;if(!c){break S}while(1){e=v[c+4>>2];T:{if(v[c+16>>2]|!d){break T}if((c|0)==(d|0)){v[j+4>>2]=e;break T}while(1){f=d;d=v[d+4>>2];if(!d){break T}if((c|0)!=(d|0)){continue}break}v[f+4>>2]=e}if(!e){break S}d=v[j+4>>2];c=e;continue}}U:{if(!h){break U}while(1){e=h;h=v[e+4>>2];V:{if(v[e+16>>2]){break V}c=v[j>>2];if(!c){break V}if((c|0)==(e|0)){v[j>>2]=h;if(!h){break U}continue}while(1){d=c;c=v[c+4>>2];if(!c){break V}if((c|0)!=(e|0)){continue}break}v[d+4>>2]=h;if(!h){break U}continue}if(h){continue}break}}g=v[a+44>>2];if((g|0)<1){l=k;break B}else{d=r-l|0;c=v[j+8>>2];l=k;continue}}}v[a+40>>2]=20;e=20;break a}if(u[j+12>>1]>16){break d}while(1){Ub[v[a+160>>2]](a);l=(l<<16)+65536>>16;if((l|0)<=u[j+12>>1]){continue}break}break d}v[a+84>>2]=0;if(c>>>0>>0){break d}}if(v[a+40>>2]==98){break e}e=1;break a}v[a+40>>2]=0;d=v[a+1008>>2];e=(d<<2)+a|0;f=e;g=u[e+946>>1];c=u[e+944>>1];e=(g+c|0)/2|0;if(!((d|0)<=6&(c|0)<=(e|0))){v[a+40>>2]=20;v[a+1008>>2]=0;e=20;break a}c=d+1|0;d=(c<<2)+a|0;u[d+946>>1]=g;u[d+944>>1]=e;u[f+946>>1]=e-1;break c}c=v[a+1008>>2]-1|0}v[a+1008>>2]=c;if((c|0)>-1){continue}break}e=0;break a}v[a+40>>2]=20;e=1}Qb=j+16|0;return e}function Ysa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=Qb-208|0;Qb=d;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{if(ph(a)){break l}if(!c){lp(b,979936)}v[d+200>>2]=0;v[d+192>>2]=0;v[d+196>>2]=0;v[d+184>>2]=0;v[299999]=0;v[d+176>>2]=0;v[d+180>>2]=0;U(4146,a|0,979952,d+192|0);c=v[299999];v[299999]=0;if((c|0)==1){break c}v[299999]=0;U(4146,a|0,979996,d+176|0);c=v[299999];v[299999]=0;if((c|0)==1){break c}v[299999]=0;U(3132,d+160|0,980032,d+192|0);c=v[299999];v[299999]=0;if((c|0)==1){break d}v[299999]=0;c=w[d+171|0];e=c<<24>>24<0;Y(2653,b|0,(e?v[d+160>>2]:d+160|0)|0,(e?v[d+164>>2]:c)|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break e}if(t[d+171|0]<=-1){dc(v[d+160>>2])}v[d+168>>2]=0;v[d+160>>2]=0;v[d+164>>2]=0;v[d+152>>2]=0;v[299999]=0;v[d+144>>2]=0;v[d+148>>2]=0;g=wg(a);c=v[299999];v[299999]=0;if((c|0)==1){break g}m:{while(1){v[299999]=0;c=Q(4155,a|0,g|0)|0;e=v[299999];v[299999]=0;n:{o:{if((e|0)==1){break o}p:{if(c){v[299999]=0;V(4145,d+128|0,a|0);c=v[299999];v[299999]=0;q:{r:{s:{if((c|0)!=1){if(t[d+171|0]<=-1){dc(v[d+160>>2])}v[d+168>>2]=v[d+136>>2];c=v[d+132>>2];v[d+160>>2]=v[d+128>>2];v[d+164>>2]=c;t:{f=v[d+164>>2];c=t[d+171|0];e=c&255;if((((c|0)<0?f:e)|0)==15){v[299999]=0;c=ca(2608,d+160|0,0,-1,980048,15)|0;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(!c){break t}f=v[d+164>>2];e=w[d+171|0];c=e}if(((c<<24>>24<0?f:e)|0)==17){break q}break p}v[299999]=0;U(4146,a|0,980112,d+144|0);c=v[299999];v[299999]=0;if((c|0)==1){break o}v[299999]=0;U(3132,d+128|0,980140,d+144|0);c=v[299999];v[299999]=0;if((c|0)==1){break s}v[299999]=0;c=w[d+139|0];e=c<<24>>24<0;Y(2653,b|0,(e?v[d+128>>2]:d+128|0)|0,(e?v[d+132>>2]:c)|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break r}if(t[d+139|0]>-1){continue}dc(v[d+128>>2]);continue}a=P()|0;O()|0;break f}a=P()|0;O()|0;break f}a=P()|0;O()|0;if(t[d+139|0]>-1){break f}dc(v[d+128>>2]);break f}v[299999]=0;c=ca(2608,d+160|0,0,-1,980156,17)|0;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(c){f=v[d+164>>2];e=w[d+171|0];c=e;break p}v[299999]=0;U(4146,a|0,980112,d+144|0);c=v[299999];v[299999]=0;if((c|0)==1){break o}v[299999]=0;U(3132,d+128|0,980228,d+144|0);c=v[299999];v[299999]=0;u:{if((c|0)!=1){v[299999]=0;c=w[d+139|0];e=c<<24>>24<0;Y(2653,b|0,(e?v[d+128>>2]:d+128|0)|0,(e?v[d+132>>2]:c)|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break u}if(t[d+139|0]>-1){continue}dc(v[d+128>>2]);continue}a=P()|0;O()|0;break f}a=P()|0;O()|0;if(t[d+139|0]>-1){break f}dc(v[d+128>>2]);break f}v[299999]=0;a=S(4206,d+176|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break g}if(a){v[299999]=0;Q(2725,b|0,980732)|0;a=v[299999];v[299999]=0;if((a|0)==1){break g}}if(t[d+155|0]<=-1){dc(v[d+144>>2])}if(t[d+171|0]<=-1){dc(v[d+160>>2])}if(t[d+187|0]<=-1){dc(v[d+176>>2])}if(t[d+203|0]>-1){break l}dc(v[d+192>>2]);break l}if(((c<<24>>24<0?f:e)|0)!=26){break n}v[299999]=0;c=ca(2608,d+160|0,0,-1,980244,26)|0;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(c){f=v[d+164>>2];e=w[d+171|0];c=e;break n}v[299999]=0;U(4146,a|0,980112,d+144|0);c=v[299999];v[299999]=0;if((c|0)==1){break o}v[299999]=0;U(3132,d+128|0,980352,d+144|0);c=v[299999];v[299999]=0;v:{if((c|0)!=1){v[299999]=0;c=w[d+139|0];e=c<<24>>24<0;Y(2653,b|0,(e?v[d+128>>2]:d+128|0)|0,(e?v[d+132>>2]:c)|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break v}if(t[d+139|0]>-1){continue}dc(v[d+128>>2]);continue}a=P()|0;O()|0;break f}a=P()|0;O()|0;if(t[d+139|0]>-1){break f}dc(v[d+128>>2]);break f}a=P()|0;O()|0;break f}if(((c<<24>>24<0?f:e)|0)!=10){continue}v[299999]=0;c=ca(2608,d+160|0,0,-1,980368,10)|0;e=v[299999];v[299999]=0;if((e|0)==1){break m}if(c){continue}v[d+136>>2]=0;v[d+128>>2]=0;v[d+132>>2]=0;v[d+120>>2]=0;v[d+112>>2]=0;v[d+116>>2]=0;v[d+104>>2]=0;v[d+96>>2]=0;v[d+100>>2]=0;v[d+88>>2]=0;v[d+80>>2]=0;v[d+84>>2]=0;v[d+72>>2]=0;v[d+64>>2]=0;v[d+68>>2]=0;v[299999]=0;c=rj(a);e=v[299999];v[299999]=0;if((e|0)==1){break k}w:{x:{if(!c){break x}v[299999]=0;V(4145,d+48|0,a|0);c=v[299999];v[299999]=0;if((c|0)==1){break i}y:{while(1){c=w[d+59|0];e=c<<24>>24;z:{A:{B:{C:{D:{E:{f=v[d+52>>2];switch(((e|0)<0?f:c)|0){case 0:break y;case 4:break E;default:break D}}v[299999]=0;c=ca(2608,d+48|0,0,-1,980412,4)|0;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(!c){break C}f=v[d+52>>2];c=w[d+59|0];e=c}if(((e<<24>>24<0?f:c)|0)==13){break B}break A}v[299999]=0;V(4150,d+32|0,a|0);c=v[299999];v[299999]=0;if((c|0)==1){break j}if(t[d+139|0]<=-1){dc(v[d+128>>2])}v[d+136>>2]=v[d+40>>2];c=v[d+36>>2];v[d+128>>2]=v[d+32>>2];v[d+132>>2]=c;break z}v[299999]=0;c=ca(2608,d+48|0,0,-1,980432,13)|0;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(c){f=v[d+52>>2];c=w[d+59|0];e=c;break A}v[299999]=0;V(4150,d+32|0,a|0);c=v[299999];v[299999]=0;if((c|0)!=1){if(t[d+123|0]<=-1){dc(v[d+112>>2])}v[d+120>>2]=v[d+40>>2];c=v[d+36>>2];v[d+112>>2]=v[d+32>>2];v[d+116>>2]=c;break z}break j}F:{if(((e<<24>>24<0?f:c)|0)!=10){break F}v[299999]=0;c=ca(2608,d+48|0,0,-1,980488,10)|0;e=v[299999];v[299999]=0;if((e|0)!=1){if(c){f=v[d+52>>2];c=w[d+59|0];e=c;break F}v[299999]=0;V(4150,d+32|0,a|0);c=v[299999];v[299999]=0;if((c|0)!=1){if(t[d+107|0]<=-1){dc(v[d+96>>2])}v[d+104>>2]=v[d+40>>2];c=v[d+36>>2];v[d+96>>2]=v[d+32>>2];v[d+100>>2]=c;break z}break j}break a}G:{if(((e<<24>>24<0?f:c)|0)!=14){break G}v[299999]=0;c=ca(2608,d+48|0,0,-1,980532,14)|0;e=v[299999];v[299999]=0;if((e|0)!=1){if(c){f=v[d+52>>2];c=w[d+59|0];e=c;break G}v[299999]=0;V(4150,d+32|0,a|0);c=v[299999];v[299999]=0;if((c|0)!=1){if(t[d+91|0]<=-1){dc(v[d+80>>2])}v[d+88>>2]=v[d+40>>2];c=v[d+36>>2];v[d+80>>2]=v[d+32>>2];v[d+84>>2]=c;break z}break j}break a}if(((e<<24>>24<0?f:c)|0)!=5){break z}v[299999]=0;c=ca(2608,d+48|0,0,-1,980592,5)|0;e=v[299999];v[299999]=0;if((e|0)==1){break w}if(c){break z}v[299999]=0;V(4150,d+32|0,a|0);c=v[299999];v[299999]=0;if((c|0)==1){break j}if(t[d+75|0]<=-1){dc(v[d+64>>2])}v[d+72>>2]=v[d+40>>2];c=v[d+36>>2];v[d+64>>2]=v[d+32>>2];v[d+68>>2]=c}v[299999]=0;c=Ji(a);e=v[299999];v[299999]=0;if((e|0)!=1){if(!c){break y}v[299999]=0;V(4145,d+32|0,a|0);c=v[299999];v[299999]=0;if((c|0)==1){break j}if(t[d+59|0]<=-1){dc(v[d+48>>2])}v[d+56>>2]=v[d+40>>2];c=v[d+36>>2];v[d+48>>2]=v[d+32>>2];v[d+52>>2]=c;continue}break}break j}v[299999]=0;_i(a);c=v[299999];v[299999]=0;if((c|0)==1){break j}if(t[d+59|0]>-1){break x}dc(v[d+48>>2])}v[299999]=0;U(3132,d|0,980616,d+128|0);c=v[299999];v[299999]=0;H:{I:{J:{K:{L:{M:{N:{O:{P:{if((c|0)!=1){v[299999]=0;c=Q(2725,d|0,980632)|0;e=v[299999];v[299999]=0;if((e|0)==1){break P}v[d+24>>2]=v[c+8>>2];e=v[c+4>>2];v[d+16>>2]=v[c>>2];v[d+20>>2]=e;v[c>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;v[299999]=0;c=w[d+123|0];e=c<<24>>24<0;c=Y(2653,d+16|0,(e?v[d+112>>2]:d+112|0)|0,(e?v[d+116>>2]:c)|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break O}v[d+40>>2]=v[c+8>>2];e=v[c+4>>2];v[d+32>>2]=v[c>>2];v[d+36>>2]=e;v[c>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;v[299999]=0;c=Q(2725,d+32|0,980632)|0;e=v[299999];v[299999]=0;if((e|0)==1){break N}v[d+56>>2]=v[c+8>>2];e=v[c+4>>2];v[d+48>>2]=v[c>>2];v[d+52>>2]=e;v[c>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;v[299999]=0;c=w[d+59|0];e=c<<24>>24<0;Y(2653,b|0,(e?v[d+48>>2]:d+48|0)|0,(e?v[d+52>>2]:c)|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break M}if(t[d+59|0]<=-1){dc(v[d+48>>2])}if(t[d+43|0]<=-1){dc(v[d+32>>2])}if(t[d+27|0]<=-1){dc(v[d+16>>2])}if(t[d+11|0]<=-1){dc(v[d>>2])}v[299999]=0;c=S(4206,d+96|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break k}if(!c){break I}v[299999]=0;Q(2725,b|0,980640)|0;c=v[299999];v[299999]=0;if((c|0)!=1){break H}break k}a=P()|0;O()|0;break h}a=P()|0;O()|0;break J}a=P()|0;O()|0;break K}a=P()|0;O()|0;break L}a=P()|0;O()|0;if(t[d+59|0]>-1){break L}dc(v[d+48>>2])}if(t[d+43|0]>-1){break K}dc(v[d+32>>2])}if(t[d+27|0]>-1){break J}dc(v[d+16>>2])}if(t[d+11|0]>-1){break h}dc(v[d>>2]);break h}v[299999]=0;Q(2725,b|0,980652)|0;c=v[299999];v[299999]=0;if((c|0)==1){break k}}Q:{R:{c=w[d+91|0];if(((c<<24>>24<0?v[d+84>>2]:c)|0)!=16){break R}v[299999]=0;c=ca(2608,d+80|0,0,-1,980664,16)|0;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(c){break R}v[299999]=0;Q(2725,b|0,980640)|0;break Q}v[299999]=0;Q(2725,b|0,980652)|0}c=v[299999];v[299999]=0;if((c|0)==1){break k}v[299999]=0;c=w[d+75|0];e=c<<24>>24<0;Y(2653,b|0,(e?v[d+64>>2]:d- -64|0)|0,(e?v[d+68>>2]:c)|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break k}if(t[d+75|0]<=-1){dc(v[d+64>>2])}if(t[d+91|0]<=-1){dc(v[d+80>>2])}if(t[d+107|0]<=-1){dc(v[d+96>>2])}if(t[d+123|0]<=-1){dc(v[d+112>>2])}if(t[d+139|0]>-1){continue}dc(v[d+128>>2]);continue}break}break a}break a}Qb=d+208|0;return}a=P()|0;O()|0;break h}a=P()|0;O()|0;if(t[d+59|0]>-1){break h}dc(v[d+48>>2]);break h}a=P()|0;O()|0}if(t[d+75|0]<=-1){dc(v[d+64>>2])}if(t[d+91|0]<=-1){dc(v[d+80>>2])}if(t[d+107|0]<=-1){dc(v[d+96>>2])}if(t[d+123|0]<=-1){dc(v[d+112>>2])}if(t[d+139|0]>-1){break f}dc(v[d+128>>2]);break f}a=P()|0;O()|0}if(t[d+155|0]<=-1){dc(v[d+144>>2])}if(t[d+171|0]>-1){break b}dc(v[d+160>>2]);break b}a=P()|0;O()|0;if(t[d+171|0]>-1){break b}dc(v[d+160>>2]);break b}a=P()|0;O()|0;break b}a=P()|0;O()|0}if(t[d+187|0]<=-1){dc(v[d+176>>2])}if(t[d+203|0]<=-1){dc(v[d+192>>2])}T(a|0);L()}W(0)|0;O()|0;lc();L()}function y_a(a){a=a|0;var 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;e=Qb-48|0;Qb=e;f=v[a+720>>2];a:{if(f){break a}b:{c:{if(!(!v[a+736>>2]|!(w[a+9|0]&128?1:x[a+6>>1]&32767))){n=v[a+548>>2];d=v[a+100>>2];if(!v[a+744>>2]){v[e+16>>2]=-1;v[e+20>>2]=-1;i=x[a+340>>1];if(!i){f=0;break b}h=v[a+356>>2];while(1){c=h+B(b,20)|0;d:{if(x[c+6>>1]!=25|!x[c+8>>1]){break d}e:{f:{switch(x[c>>1]-1|0){case 2:if(x[c+2>>1]>1){break d}f=e+20|0;if(x[c+4>>1]==1033|v[e+20>>2]==-1){break e}break d;case 0:break f;default:break d}}if(x[c+2>>1]){break d}f=e+16|0;if(!x[c+4>>1]){break e}if(v[e+16>>2]!=-1){break d}}v[f>>2]=b}b=b+1|0;if((i|0)!=(b|0)){continue}break}g:{h:{b=v[e+20>>2];if((b|0)>-1){break h}c=v[e+16>>2];i:{if((c|0)>-1){break i}v[e+16>>2]=-1;v[e+20>>2]=-1;b=0;while(1){c=h+B(b,20)|0;j:{if(x[c+6>>1]!=16|!x[c+8>>1]){break j}k:{l:{switch(x[c>>1]-1|0){case 2:if(x[c+2>>1]>1){break j}f=e+20|0;if(x[c+4>>1]==1033|v[e+20>>2]==-1){break k}break j;case 0:break l;default:break j}}if(x[c+2>>1]){break j}f=e+16|0;if(!x[c+4>>1]){break k}if(v[e+16>>2]!=-1){break j}}v[f>>2]=b}b=b+1|0;if((i|0)!=(b|0)){continue}break}b=v[e+20>>2];if((b|0)>-1){break h}c=v[e+16>>2];if((c|0)>-1){break i}v[e+16>>2]=-1;v[e+20>>2]=-1;b=0;while(1){c=h+B(b,20)|0;m:{if(x[c+6>>1]!=1|!x[c+8>>1]){break m}n:{o:{switch(x[c>>1]-1|0){case 2:if(x[c+2>>1]>1){break m}f=e+20|0;if(x[c+4>>1]==1033|v[e+20>>2]==-1){break n}break m;case 0:break o;default:break m}}if(x[c+2>>1]){break m}f=e+16|0;if(!x[c+4>>1]){break n}if(v[e+16>>2]!=-1){break m}}v[f>>2]=b}b=b+1|0;if((i|0)!=(b|0)){continue}break}b=v[e+20>>2];if((b|0)>-1){break h}f=0;c=v[e+16>>2];if((c|0)<0){break b}}if((b|0)!=-1){break h}b=0;break g}b=tZ(d,v[a+368>>2],h+B(b,20)|0,1876);c=v[e+16>>2]}p:{if((c|0)==-1|b){break p}i=v[a+368>>2];g=v[a+100>>2];l=v[a+356>>2];b=0;v[e+40>>2]=0;j=l+B(c,20)|0;f=Fd(g,x[j+8>>1]+1|0,e+40|0);if(v[e+40>>2]){break p}b=Yc(i,v[j+12>>2]);v[e+40>>2]=b;q:{if(b){break q}b=ne(i,x[j+8>>1]);v[e+40>>2]=b;if(b){break q}b=f;r:{k=x[j+8>>1];if(k){h=v[i+32>>2];while(1){m=t[h|0];if(m-48>>>0>=10&(m&-33)-65>>>0>25){break r}t[b|0]=m;h=h+1|0;b=b+1|0;k=k-1|0;if(k){continue}break}}t[b|0]=0;Vd(i);b=f;break p}Vd(i)}if(f){Ub[v[g+8>>2]](g,f)}b=0;v[j+12>>2]=0;u[j+8>>1]=0;f=l+B(c,20)|0;c=v[f+16>>2];if(c){Ub[v[g+8>>2]](g,c)}v[f+16>>2]=0}if(!b){f=0;break b}c=a;f=Bc(b);if(f>>>0>=92){t[b+91|0]=0;f=91}v[c+748>>2]=f;v[a+744>>2]=b}f=0;Ub[v[n+40>>2]](a,e+32|0,e+28|0,0,e+24|0)|0;s:{t:{u:{b=v[a+4>>2];if(!(b&2147418112)|w[a+9|0]&128){break u}g=(b>>>16&32767)-1|0;b=v[v[e+24>>2]+16>>2];h=v[(B(g,12)+b|0)+8>>2];i=v[a+540>>2];v[e+40>>2]=0;c=a;if(!((h|0)!=6&h-256>>>0>32511)){Ub[v[i+144>>2]](a,h&65535,e+40|0)|0;b=v[e+40>>2];if(b){break t}b=v[v[e+24>>2]+16>>2]}Ub[v[i+144>>2]](c,x[(B(g,12)+b|0)+4>>1],e+12|0)|0;b=v[e+12>>2];if(!b){break u}b=Fd(d,(v[a+748>>2]+Bc(b)|0)+2|0,e+36|0);if(v[e+36>>2]){break b}f=ce(b,v[a+744>>2]);b=f+v[a+748>>2]|0;t[b|0]=45;h=b+1|0;c=v[e+12>>2];b=w[c|0];if(b){while(1){i=b<<24>>24;if(!(!(i-48>>>0<10|i-65>>>0<26)&i-97>>>0>25)){t[h|0]=b;h=h+1|0}b=w[c+1|0];c=c+1|0;if(b){continue}break}}t[h|0]=0;b=v[e+12>>2];if(b){Ub[v[d+8>>2]](d,b)}d=h+1|0;break s}j=v[v[e+24>>2]+12>>2];b=Fd(d,(v[a+748>>2]+B(v[e+32>>2],17)|0)+1|0,e+36|0);if(v[e+36>>2]){break b}f=ce(b,v[a+744>>2]);d=f+v[a+748>>2]|0;if(!v[e+32>>2]){break s}b=v[e+28>>2];h=0;while(1){v:{if(v[b>>2]==v[j+8>>2]){break v}t[d|0]=95;b=v[v[e+28>>2]>>2];w:{if(!b){t[d+1|0]=48;d=d+2|0;break w}if((b|0)>-1){d=d+1|0}else{t[d+1|0]=45;b=0-b|0;d=d+2|0}g=b&65535;if(b>>>0>=65536){c=b>>>16|0;b=0;while(1){i=(c>>>0)/10|0;t[(e+40|0)+b|0]=c-B(i,10)|48;b=b+1|0;k=c>>>0>9;c=i;if(k){continue}break}while(1){c=b-1|0;t[d|0]=w[c+(e+40|0)|0];d=d+1|0;i=(b|0)>1;b=c;if(i){continue}break}}if(!g){break w}t[d|0]=46;b=B(g,10)+5|0;t[d+1|0]=(b>>>16|0)+48;b=B(b&65535,10);t[d+2|0]=b>>>16|48;b=B(b&65534,10);c=b>>>16|48;t[d+3|0]=c;x:{y:{z:{A:{B:{C:{D:{b=b&65532;if(!b){b=d+3|0;break D}b=B(b,10);c=b>>>16|48;t[d+4|0]=c;b=b&65528;if(!b){b=d+4|0;break D}g=B(b,10);i=g>>>16|0;c=i|48;t[d+5|0]=c;b=d+5|0;g=g&65520;if(!g){break D}d=B(g,10);if(d>>>0>=344800){break z}if((c|0)==49){break C}if((g|0)==17232){if(!(i&1)){break z}c=i+47|0;break A}if(d>>>0>172319){break z}break B}if((b-d|0)!=5){break z}if((c|0)!=49){break B}}t[b|0]=48;break y}if((c|0)==48){break y}c=c-1|0}t[b|0]=c}if((c|0)!=48){break x}}while(1){t[b|0]=0;b=b-1|0;if(w[b|0]==48){continue}break}}d=b+1|0}b=v[j+16>>2];c=b>>24;if(!((c|0)==32|!(c-48>>>0<10|c-65>>>0<26)&c-97>>>0>25)){t[d|0]=b>>>24;d=d+1|0;b=v[j+16>>2]}i=b>>>16|0;c=i<<24;E:{if((c|0)==536870912){break E}c=c>>24;if(!(c-48>>>0<10|c-65>>>0<26)&c-97>>>0>25){break E}t[d|0]=i;d=d+1|0;b=v[j+16>>2]}i=b>>>8|0;c=i<<24;F:{if((c|0)==536870912){break F}c=c>>24;if(!(c-48>>>0<10|c-65>>>0<26)&c-97>>>0>25){break F}t[d|0]=i;d=d+1|0;b=v[j+16>>2]}c=b<<24;if((c|0)==536870912){break v}c=c>>24;if(!(c-48>>>0<10|c-65>>>0<26)&c-97>>>0>25){break v}t[d|0]=b;d=d+1|0}b=v[e+28>>2]+4|0;v[e+28>>2]=b;j=j+24|0;h=h+1|0;if(h>>>0>2]){continue}break}break s}d=(Bc(b)+b|0)+1|0;f=b}l=d-f|0;if((l|0)<128){break b}b=0-(l>>>4|0)|0;g=(l&-16)+f|0;j=123456789;d=123456789;h=123456789;m=123456789;break c}v[e+32>>2]=-1;v[e+36>>2]=-1;c=x[a+340>>1];G:{if(c){d=v[a+356>>2];while(1){f=d+B(b,20)|0;H:{if(x[f+6>>1]!=6|!x[f+8>>1]){break H}I:{J:{switch(x[f>>1]-1|0){case 2:if(x[f+2>>1]>1){break H}m=e+36|0;if(x[f+4>>1]==1033|v[e+36>>2]==-1){break I}break H;case 0:break J;default:break H}}if(x[f+2>>1]){break H}m=e+32|0;if(!x[f+4>>1]){break I}if(v[e+32>>2]!=-1){break H}}v[m>>2]=b}b=b+1|0;if((c|0)!=(b|0)){continue}break}b=v[e+32>>2];K:{c=v[e+36>>2];if((c|0)>-1){break K}f=0;if((b|0)<0){break a}if((c|0)!=-1){break K}break G}f=tZ(v[a+100>>2],v[a+368>>2],v[a+356>>2]+B(c,20)|0,1877);break G}f=0;b=v[e+32>>2];if((b|0)<0){break a}}if((b|0)==-1|f){break b}d=v[a+368>>2];l=v[a+356>>2];i=v[a+100>>2];f=0;v[e+40>>2]=0;g=l+B(b,20)|0;c=Fd(i,x[g+8>>1]+1|0,e+40|0);if(v[e+40>>2]){break b}f=Yc(d,v[g+12>>2]);v[e+40>>2]=f;L:{if(f){break L}f=ne(d,x[g+8>>1]);v[e+40>>2]=f;if(f){break L}h=c;M:{k=x[g+8>>1];if(k){f=v[d+32>>2];while(1){j=t[f|0];if((j|0)<0|!(w[(j>>>3|0)+446e3|0]>>>(j&7)&1)){break M}t[h|0]=j;f=f+1|0;h=h+1|0;k=k-1|0;if(k){continue}break}}t[h|0]=0;Vd(d);f=c;break b}Vd(d)}if(c){Ub[v[i+8>>2]](i,c)}f=0;v[g+12>>2]=0;u[g+8>>1]=0;b=l+B(b,20)|0;c=v[b+16>>2];if(c){Ub[v[i+8>>2]](i,c)}v[b+16>>2]=0;break b}while(1){c=g+(b<<4)|0;i=v[c>>2];i=Gib(B(B(i,597399067)>>>17|B(i,-888307712),-1425107063)^j,19)+d|0;k=d;d=v[c+4>>2];d=B(Gib(k^B(B(d,-1425107063)>>>16|B(d,-1752629248),951274213),17)+h|0,5)+197830471|0;k=h;h=v[c+8>>2];k=B(Gib(k^B(B(h,951274213)>>>15|B(h,-1781923840),-1578923117),15)+m|0,5)-1764942795|0;h=k;c=v[c+12>>2];j=B(i,5)+1444728091|0;c=B(Gib(B(B(c,-1578923117)>>>14|B(c,776732672),597399067)^m,13)+j|0,5)+850148119|0;m=c;i=b;b=b+1|0;if(i>>>0<=b>>>0){continue}break}b=0;N:{switch((l&15)-1|0){case 14:b=w[g+14|0]<<16;case 13:b=w[g+13|0]<<8|b;case 12:b=w[g+12|0]^b;c=B(B(b,-1578923117)>>>14|B(b,776732672),597399067)^c;case 11:b=w[g+11|0]<<24;case 10:b=w[g+10|0]<<16|b;case 9:b=w[g+9|0]<<8^b;case 8:b=w[g+8|0]^b;k=B(B(b,951274213)>>>15|B(b,-1781923840),-1578923117)^k;case 7:b=w[g+7|0]<<24;case 6:b=w[g+6|0]<<16|b;case 5:b=w[g+5|0]<<8^b;case 4:b=w[g+4|0]^b;d=B(B(b,-1425107063)>>>16|B(b,-1752629248),951274213)^d;case 3:b=w[g+3|0]<<24;case 2:b=w[g+2|0]<<16|b;case 1:b=w[g+1|0]<<8^b;case 0:b=w[g|0]^b;j=B(B(b,597399067)>>>17|B(b,-888307712),-1425107063)^j;break;default:break N}}b=v[a+748>>2]+f|0;t[b|0]=45;t[b+33|0]=46;t[b+34|0]=46;t[b+35|0]=46;t[b+36|0]=0;d=d^l;h=l^k;i=c^l;c=(d+(h+i|0)|0)+(j^l)|0;g=B(c>>>16^c,-2048144789);g=B(g>>>13^g,-1028477387);k=g>>>16^g;d=c+d|0;d=B(d>>>16^d,-2048144789);d=B(d>>>13^d,-1028477387);g=d>>>16^d;d=c+h|0;d=B(d>>>16^d,-2048144789);d=B(d>>>13^d,-1028477387);h=d>>>16^d;c=c+i|0;c=B(c>>>16^c,-2048144789);c=B(c>>>13^c,-1028477387);d=c>>>16^c;c=((k+g|0)+h|0)+d|0;d=c+d|0;t[b+32|0]=w[(d&15)+445984|0];t[b+25|0]=w[(d>>>28|0)+445984|0];h=c+h|0;t[b+24|0]=w[(h&15)+445984|0];t[b+31|0]=w[(d>>>4&15)+445984|0];t[b+30|0]=w[(d>>>8&15)+445984|0];t[b+29|0]=w[(d>>>12&15)+445984|0];t[b+28|0]=w[(d>>>16&15)+445984|0];t[b+27|0]=w[(d>>>20&15)+445984|0];t[b+26|0]=w[(d>>>24&15)+445984|0];t[b+23|0]=w[(h>>>4&15)+445984|0];t[b+22|0]=w[(h>>>8&15)+445984|0];t[b+21|0]=w[(h>>>12&15)+445984|0];t[b+20|0]=w[(h>>>16&15)+445984|0];t[b+19|0]=w[(h>>>20&15)+445984|0];t[b+18|0]=w[(h>>>24&15)+445984|0];d=c+g|0;t[b+16|0]=w[(d&15)+445984|0];t[b+17|0]=w[(h>>>28|0)+445984|0];t[b+15|0]=w[(d>>>4&15)+445984|0];t[b+14|0]=w[(d>>>8&15)+445984|0];t[b+13|0]=w[(d>>>12&15)+445984|0];t[b+12|0]=w[(d>>>16&15)+445984|0];t[b+11|0]=w[(d>>>20&15)+445984|0];t[b+10|0]=w[(d>>>24&15)+445984|0];t[b+9|0]=w[(d>>>28|0)+445984|0];t[b+8|0]=w[(c&15)+445984|0];t[b+7|0]=w[(c>>>4&15)+445984|0];t[b+6|0]=w[(c>>>8&15)+445984|0];t[b+5|0]=w[(c>>>12&15)+445984|0];t[b+4|0]=w[(c>>>16&15)+445984|0];t[b+3|0]=w[(c>>>20&15)+445984|0];t[b+2|0]=w[(c>>>24&15)+445984|0];t[b+1|0]=w[(c>>>28|0)+445984|0]}v[a+720>>2]=f}Qb=e+48|0;return f|0}function no(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Qb-448|0;Qb=e;a:{if(!a){break a}v[e+444>>2]=80;c=Ub[v[259707]](81)|0;if(!c){v[e>>2]=355204;oc(0,0,0,0,0,30,2,3,355204,0,0,0,350051,e);break a}b:{d=v[a>>2];c:{if(d){g=w[d|0];d:{if(!g){break d}h=80;while(1){if((f|0)>=(h|0)){if((h|0)>=1048577){v[e+416>>2]=348278;oc(0,0,0,0,0,30,2,3,348278,0,0,0,350051,e+416|0);break c}g=h<<1;b=Ub[v[259709]](c,g|1)|0;if(!b){v[e+432>>2]=355204;oc(0,0,0,0,0,30,2,3,355204,0,0,0,350051,e+432|0);break c}v[e+444>>2]=g;g=w[d|0];c=b}t[c+f|0]=g;f=f+1|0;g=w[d+1|0];h=v[e+444>>2];d=d+1|0;if(g){continue}break}if((f|0)<(h|0)){break d}if((h|0)>=1048577){v[e+384>>2]=348278;oc(0,0,0,0,0,30,2,3,348278,0,0,0,350051,e+384|0);break c}g=h<<1;b=Ub[v[259709]](c,g|1)|0;if(!b){v[e+400>>2]=355204;oc(0,0,0,0,0,30,2,3,355204,0,0,0,350051,e+400|0);break c}v[e+444>>2]=g;c=b}t[c+f|0]=58;f=f+1|0}h=v[a+4>>2];e:{if(h){d=w[h|0];if(!d){g=f;break e}while(1){g=f+3|0;b=v[e+444>>2];if((g|0)>=(b|0)){if((b|0)>=1048577){v[e+352>>2]=348278;oc(0,0,0,0,0,30,2,3,348278,0,0,0,350051,e+352|0);break c}d=b<<1;b=Ub[v[259709]](c,d|1)|0;if(!b){v[e+368>>2]=355204;oc(0,0,0,0,0,30,2,3,355204,0,0,0,350051,e+368|0);break c}v[e+444>>2]=d;d=w[h|0];c=b}f:{g:{h:{i:{b=d&255;switch(b-36|0){case 0:case 2:case 7:case 8:case 11:case 22:case 23:case 25:case 27:case 28:case 55:case 57:break h;default:break i}}if(((d&223)-65&255)>>>0<26|(d-48&255)>>>0<10){break h}j:{switch(b-33|0){case 1:case 2:case 3:case 4:case 5:case 10:case 11:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 58:case 59:case 60:case 61:break g;case 0:case 6:case 7:case 8:case 9:case 12:case 13:case 62:break h;default:break j}}if((b|0)!=126){break g}}g=f+1|0;break f}i=c+f|0;t[i|0]=37;t[i+1|0]=(b>>>4|0)+(b>>>0>159?55:48);b=d&15;d=(b>>>0>9?55:48)+b|0;f=f+2|0}t[c+f|0]=d;d=w[h+1|0];h=h+1|0;f=g;if(d){continue}break}break e}k:{if(!(!v[a+12>>2]&v[a+20>>2]!=-1)){b=v[e+444>>2];l:{if((b|0)>(f+3|0)){b=c;break l}if((b|0)>=1048577){v[e+288>>2]=348278;oc(0,0,0,0,0,30,2,3,348278,0,0,0,350051,e+288|0);break c}g=b<<1;b=Ub[v[259709]](c,g|1)|0;if(!b){v[e+304>>2]=355204;oc(0,0,0,0,0,30,2,3,355204,0,0,0,350051,e+304|0);break c}v[e+444>>2]=g}c=b+f|0;t[c|0]=47;t[c+1|0]=47;f=f+2|0;g=v[a+16>>2];if(g){d=w[g|0];m:{if(!d){h=f;c=b;break m}c=b;while(1){h=f+3|0;b=v[e+444>>2];if((h|0)>=(b|0)){if((b|0)>=1048577){v[e+256>>2]=348278;oc(0,0,0,0,0,30,2,3,348278,0,0,0,350051,e+256|0);break c}d=b<<1;b=Ub[v[259709]](c,d|1)|0;if(!b){v[e+272>>2]=355204;oc(0,0,0,0,0,30,2,3,355204,0,0,0,350051,e+272|0);break c}v[e+444>>2]=d;d=w[g|0];c=b}n:{o:{p:{if(((d&223)-65&255)>>>0<26|(d-48&255)>>>0<10){break p}b=d&255;switch(b-33|0){case 0:case 3:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 25:case 26:case 28:case 62:case 93:break p;default:break o}}h=f+1|0;break n}i=c+f|0;t[i|0]=37;t[i+1|0]=(b>>>4|0)+(b>>>0>159?55:48);b=d&15;d=(b>>>0>9?55:48)+b|0;f=f+2|0}t[c+f|0]=d;d=w[g+1|0];g=g+1|0;f=h;if(d){continue}break}}q:{if(v[e+444>>2]>(h+3|0)){b=c;break q}b=Zp(c,e+444|0);if(!b){break c}}t[b+h|0]=64;f=h+1|0}d=v[a+12>>2];if(!d){break k}g=w[d|0];r:{if(!g){c=b;break r}c=b;while(1){b=v[e+444>>2];if((b|0)<=(f|0)){if((b|0)>=1048577){v[e+224>>2]=348278;oc(0,0,0,0,0,30,2,3,348278,0,0,0,350051,e+224|0);break c}g=b<<1;b=Ub[v[259709]](c,g|1)|0;if(!b){v[e+240>>2]=355204;oc(0,0,0,0,0,30,2,3,355204,0,0,0,350051,e+240|0);break c}v[e+444>>2]=g;g=w[d|0];c=b}t[c+f|0]=g;f=f+1|0;g=w[d+1|0];d=d+1|0;if(g){continue}break}}d=v[a+20>>2];if((d|0)<1){b=c;break k}g=v[e+444>>2];s:{if((g|0)>(f+10|0)){b=c;break s}b=Zp(c,e+444|0);if(!b){break c}d=v[a+20>>2];g=v[e+444>>2]}v[e+208>>2]=d;f=Ai(b+f|0,g-f|0,292318,e+208|0)+f|0;break k}if(v[a+8>>2]){t:{if(v[e+444>>2]>(f+3|0)){b=c;break t}b=Zp(c,e+444|0);if(!b){break c}}c=b+f|0;t[c|0]=47;t[c+1|0]=47;d=f+2|0;g=v[a+8>>2];c=w[g|0];if(!c){f=d;break k}while(1){f=d+3|0;h=v[e+444>>2];if((f|0)>=(h|0)){if((h|0)>=1048577){v[e+320>>2]=348278;oc(0,0,0,0,0,30,2,3,348278,0,0,0,350051,e+320|0);c=b;break c}h=h<<1;c=Ub[v[259709]](b,h|1)|0;if(!c){v[e+336>>2]=355204;oc(0,0,0,0,0,30,2,3,355204,0,0,0,350051,e+336|0);c=b;break c}v[e+444>>2]=h;b=c;c=w[g|0]}u:{v:{w:{if(((c&223)-65&255)>>>0<26|(c-48&255)>>>0<10){break w}h=c&255;switch(h-33|0){case 0:case 3:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 25:case 26:case 28:case 31:case 62:case 93:break w;default:break v}}f=d+1|0;break u}i=b+d|0;t[i|0]=37;t[i+1|0]=(h>>>4|0)+(h>>>0>159?55:48);c=c&15;c=(c>>>0>9?55:48)+c|0;d=d+2|0}t[b+d|0]=c;c=w[g+1|0];g=g+1|0;d=f;if(c){continue}break}break k}if(!v[a>>2]){b=c;break k}if(v[e+444>>2]>(f+3|0)){b=c;break k}b=Zp(c,e+444|0);if(!b){break c}}h=v[a+24>>2];x:{if(!h){c=b;break x}y:{z:{A:{c=v[a>>2];if(!c){break A}d=w[h|0];if((d|0)!=47){g=f;break y}if(w[h+2|0]!=58|((w[h+1|0]&223)-65&255)>>>0>25){break A}d=280956;if((c|0)!=280956){while(1){g=w[c|0];if((g|0)!=w[d|0]){break A}d=d+1|0;c=c+1|0;if(g){continue}break}}d=47;g=f+3|0;if((g|0)>=v[e+444>>2]){c=b;b=Zp(b,e+444|0);if(!b){break c}d=w[h|0]}c=b+f|0;t[c|0]=d;t[c+1|0]=w[h+1|0];t[c+2|0]=w[h+2|0];h=h+3|0;break z}g=f}d=w[h|0]}if(!(d&255)){f=g;c=b;break x}c=b;while(1){f=g+3|0;b=v[e+444>>2];if((f|0)>=(b|0)){if((b|0)>=1048577){v[e+176>>2]=348278;oc(0,0,0,0,0,30,2,3,348278,0,0,0,350051,e+176|0);break c}d=b<<1;b=Ub[v[259709]](c,d|1)|0;if(!b){v[e+192>>2]=355204;oc(0,0,0,0,0,30,2,3,355204,0,0,0,350051,e+192|0);break c}v[e+444>>2]=d;d=w[h|0];c=b}B:{C:{D:{if(((d&223)-65&255)>>>0<26|(d-48&255)>>>0<10){break D}b=d&255;switch(b-33|0){case 0:case 3:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 26:case 28:case 31:case 62:case 93:break D;default:break C}}f=g+1|0;break B}i=c+g|0;t[i|0]=37;t[i+1|0]=(b>>>4|0)+(b>>>0>159?55:48);b=d&15;d=(b>>>0>9?55:48)+b|0;g=g+2|0}t[c+g|0]=d;d=w[h+1|0];h=h+1|0;g=f;if(d){continue}break}}if(v[a+40>>2]){h=f+1|0;E:{if((h|0)>2]){b=c;break E}b=Zp(c,e+444|0);if(!b){break c}}t[b+f|0]=63;f=v[a+40>>2];d=w[f|0];if(!d){g=h;c=b;break e}c=b;while(1){g=h+1|0;b=v[e+444>>2];if((g|0)>=(b|0)){if((b|0)>=1048577){v[e+144>>2]=348278;oc(0,0,0,0,0,30,2,3,348278,0,0,0,350051,e+144|0);break c}d=b<<1;b=Ub[v[259709]](c,d|1)|0;if(!b){v[e+160>>2]=355204;oc(0,0,0,0,0,30,2,3,355204,0,0,0,350051,e+160|0);break c}v[e+444>>2]=d;d=w[f|0];c=b}t[c+h|0]=d;d=w[f+1|0];f=f+1|0;h=g;if(d){continue}break}break e}if(!v[a+28>>2]){g=f;break e}F:{if(v[e+444>>2]>(f+3|0)){b=c;break F}b=Zp(c,e+444|0);if(!b){break c}}t[b+f|0]=63;d=f+1|0;h=v[a+28>>2];f=w[h|0];if(!f){g=d;c=b;break e}c=b;while(1){g=d+3|0;b=v[e+444>>2];if((g|0)>=(b|0)){if((b|0)>=1048577){v[e+112>>2]=348278;oc(0,0,0,0,0,30,2,3,348278,0,0,0,350051,e+112|0);break c}f=b<<1;b=Ub[v[259709]](c,f|1)|0;if(!b){v[e+128>>2]=355204;oc(0,0,0,0,0,30,2,3,355204,0,0,0,350051,e+128|0);break c}v[e+444>>2]=f;f=w[h|0];c=b}G:{H:{I:{if(((f&223)-65&255)>>>0<26|(f-48&255)>>>0<10){break I}b=f&255;switch(b-33|0){case 0:case 3:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 25:case 26:case 28:case 30:case 31:case 58:case 60:case 62:case 93:break I;default:break H}}g=d+1|0;break G}i=c+d|0;t[i|0]=37;t[i+1|0]=(b>>>4|0)+(b>>>0>159?55:48);b=f&15;f=(b>>>0>9?55:48)+b|0;d=d+2|0}t[c+d|0]=f;f=w[h+1|0];h=h+1|0;d=g;if(f){continue}break}}J:{K:{if(!v[a+32>>2]){h=c;break K}b=v[e+444>>2];L:{if((b|0)>(g+3|0)){h=c;break L}if((b|0)>=1048577){v[e+80>>2]=348278;oc(0,0,0,0,0,30,2,3,348278,0,0,0,350051,e+80|0);break c}b=b<<1;h=Ub[v[259709]](c,b|1)|0;if(!h){v[e+96>>2]=355204;oc(0,0,0,0,0,30,2,3,355204,0,0,0,350051,e+96|0);break c}v[e+444>>2]=b}t[g+h|0]=35;f=g+1|0;d=v[a+32>>2];c=w[d|0];if(!c){g=f;break K}while(1){g=f+3|0;a=v[e+444>>2];if((g|0)>=(a|0)){if((a|0)>=1048577){v[e+48>>2]=348278;oc(0,0,0,0,0,30,2,3,348278,0,0,0,350051,e+48|0);break J}c=a<<1;a=Ub[v[259709]](h,c|1)|0;if(!a){v[e+64>>2]=355204;oc(0,0,0,0,0,30,2,3,355204,0,0,0,350051,e- -64|0);break J}v[e+444>>2]=c;h=a;c=w[d|0]}M:{N:{O:{if(((c&223)-65&255)>>>0<26|(c-48&255)>>>0<10){break O}a=c&255;switch(a-33|0){case 0:case 3:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 25:case 26:case 28:case 30:case 31:case 58:case 60:case 62:case 93:break O;default:break N}}g=f+1|0;break M}b=f+h|0;t[b|0]=37;t[b+1|0]=(a>>>4|0)+(a>>>0>159?55:48);a=c&15;c=(a>>>0>9?55:48)+a|0;f=f+2|0}t[f+h|0]=c;c=w[d+1|0];d=d+1|0;f=g;if(c){continue}break}}a=v[e+444>>2];if((a|0)>(g|0)){f=h;break b}if((a|0)>=1048577){v[e+16>>2]=348278;oc(0,0,0,0,0,30,2,3,348278,0,0,0,350051,e+16|0);break J}f=Ub[v[259709]](h,a<<1|1)|0;if(f){break b}v[e+32>>2]=355204;oc(0,0,0,0,0,30,2,3,355204,0,0,0,350051,e+32|0)}c=h}f=0;Ub[v[259708]](c);break a}t[f+g|0]=0}Qb=e+448|0;return f}function m0a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,z=0,A=0,C=0;g=Qb-144|0;Qb=g;e=u[b+2>>1];if(!(!e|!x[b>>1])){ic(g+8|0,0,128);s=v[c>>2];v[g+24>>2]=s;A=g,C=Cc(s,40,0,e,0,g+140|0),v[A+16>>2]=C;m=v[g+140>>2];a:{if(m){break a}f=Cc(s,8,0,u[b>>1],0,g+140|0);v[g+20>>2]=f;m=v[g+140>>2];if(m){break a}p=u[b+2>>1];v[g+8>>2]=p;e=u[b>>1];v[g+12>>2]=e;l=v[g+16>>2];if(e){q=e>>>0>1?e:1;n=v[b+12>>2];m=0;while(1){o=u[n+(m<<1)>>1];j=l+B(k,40)|0;v[f>>2]=j;r=o+1|0;h=r-k|0;v[f+4>>2]=h;if(h){v[j>>2]=l+B(o,40);v[j+8>>2]=f;i=j;b:{if((h|0)==1){break b}z=o+(k^-1)|0;e=j;k=o-k&3;if(k){while(1){v[e+48>>2]=f;i=e+40|0;v[e+4>>2]=i;v[e+40>>2]=e;h=h-1|0;e=i;k=k-1|0;if(k){continue}break}}if(z>>>0<3){break b}while(1){v[e+48>>2]=f;i=e+40|0;v[e+4>>2]=i;v[e+88>>2]=f;v[e+80>>2]=i;i=e+80|0;v[e+44>>2]=i;v[e+128>>2]=f;v[e+120>>2]=i;i=e+120|0;v[e+84>>2]=i;v[e+168>>2]=f;v[e+160>>2]=i;i=e+160|0;v[e+124>>2]=i;v[e+40>>2]=e;e=i;h=h-4|0;if(h>>>0>1){continue}break}}v[i+4>>2]=j}f=f+8|0;k=r;m=m+1|0;if((q|0)!=(m|0)){continue}break}}c:{if(p){k=v[b+4>>2];f=0;e=l;while(1){o=(v[e+4>>2]-l|0)/40|0;h=(v[e>>2]-l|0)/40|0;if(!(t[v[b+8>>2]+f|0]&1)){v[e+12>>2]=1}z=e;j=k+(f<<3)|0;p=v[j+4>>2];m=k+(h<<3)|0;r=p-v[m+4>>2]|0;h=r>>31;q=v[j>>2];m=q-v[m>>2]|0;j=m>>31;j=j^j+m;n=h^h+r;i=(m|0)>-1?2:-2;d:{if(j>>>0>B(n,12)>>>0){break d}i=4;if(n>>>0<=B(j,12)>>>0){break d}i=(r|0)>-1?-1:1}t[z+20|0]=i;j=e;n=k+(o<<3)|0;o=v[n+4>>2]-p|0;h=o>>31;p=v[n>>2]-q|0;q=p>>31;q=q^p+q;n=h^h+o;h=(p|0)>-1?2:-2;e:{if(q>>>0>B(n,12)>>>0){break e}h=4;if(n>>>0<=B(q,12)>>>0){break e}h=(o|0)>-1?-1:1}t[j+21|0]=h;j=v[e+12>>2];f:{g:{if(j&1){break g}if((h|0)!=(i|0)){break f}if((h|0)!=4){break g}if(!X_(m,r,p,o)){break f}j=v[e+12>>2]}v[e+12>>2]=j|2}e=e+40|0;f=f+1|0;i=v[g+8>>2];if(f>>>0>>0){continue}break}f=v[b+4>>2];v[g+32>>2]=c;v[g+28>>2]=b;if(!i){break c}e=v[g+16>>2];b=i-1|0;h=i&3;if(h){while(1){v[e+24>>2]=0;v[e+16>>2]=0;v[e+28>>2]=v[f>>2];v[e+32>>2]=v[f+4>>2];f=f+8|0;e=e+40|0;i=i-1|0;h=h-1|0;if(h){continue}break}}if(b>>>0<3){break c}while(1){v[e+24>>2]=0;v[e+16>>2]=0;v[e+28>>2]=v[f>>2];b=v[f+4>>2];v[e- -64>>2]=0;v[e+56>>2]=0;v[e+32>>2]=b;v[e+68>>2]=v[f+8>>2];b=v[f+12>>2];v[e+104>>2]=0;v[e+96>>2]=0;v[e+72>>2]=b;v[e+108>>2]=v[f+16>>2];b=v[f+20>>2];v[e+144>>2]=0;v[e+136>>2]=0;v[e+112>>2]=b;v[e+148>>2]=v[f+24>>2];v[e+152>>2]=v[f+28>>2];f=f+32|0;e=e+160|0;i=i-4|0;if(i){continue}break}break c}v[g+32>>2]=c;v[g+28>>2]=b}if(v[g+12>>2]){z=0;while(1){b=v[g+20>>2]+(z<<3)|0;h:{if(y[b+4>>2]<4){break h}b=v[b>>2];e=b;while(1){e=v[e+4>>2];if((b|0)==(e|0)){break h}j=v[e+28>>2]-v[b+28>>2]|0;k=v[e+32>>2]-v[b+32>>2]|0;if(!(j|k)){continue}break}l=b;while(1){r=l;l=v[l>>2];if((b|0)==(l|0)){break h}f=v[r+28>>2]-v[l+28>>2]|0;h=v[r+32>>2]-v[l+32>>2]|0;if(!(f|h)){continue}i=Y_(j,k,f,h);if(!i){continue}break}b=r;while(1){m=i;o=h;p=f;j=b;l=0;while(1){i=v[e+32>>2];k=v[e+28>>2];while(1){b=e;e=v[e+4>>2];q=v[e+32>>2];h=q-i|0;n=v[e+28>>2];f=n-k|0;l=(e|0)==(r|0)?1:l;i=q;k=n;if(!(f|h)){continue}break}i=Y_(p,o,f,h);if(!i){continue}break}if((i^m)<=-1){while(1){v[j+12>>2]=v[j+12>>2]|4;j=v[j+4>>2];if((j|0)!=(b|0)){continue}break}v[b+12>>2]=v[b+12>>2]|4}if(!l){continue}break}}z=z+1|0;if(z>>>0>2]){continue}break}}m=UZ(g+36|0,a+16|0,a+28|0,s);v[g+140>>2]=m;if(m){break a}m=UZ(g+76|0,a+52|0,a- -64|0,s);if(m){break a}a=v[g+32>>2];o=v[a+200>>2];r=c+416|0;p=v[a+404>>2];a=Ac(v[r>>2],p);b=a+32&-64;q=!b|(a|0)==(b|0);if(!q){e=jd(p,b,a);EH(v[g+32>>2],(a|0)>(b|0)?o+((o|0)/-50|0)|0:o,e,0,0)}u[g+128>>1]=257;t[g+132|0]=(d|0)!=1;t[g+131|0]=(d|0)==2|(d|0)==4;t[g+130|0]=(d&-2)==2;m=1;k=0;while(1){j=v[g+16>>2];a=v[g+8>>2];i:{if(!a){break i}e=v[v[g+28>>2]+4>>2];if(!(m&1)){f=j;h=a;i=a&3;if(i){while(1){v[f+24>>2]=0;v[f+16>>2]=0;v[f+28>>2]=v[e+4>>2];v[f+32>>2]=v[e>>2];e=e+8|0;f=f+40|0;h=h-1|0;i=i-1|0;if(i){continue}break}}if(a-1>>>0<3){break i}while(1){v[f+24>>2]=0;v[f+16>>2]=0;v[f+28>>2]=v[e+4>>2];b=v[e>>2];v[f- -64>>2]=0;v[f+56>>2]=0;v[f+32>>2]=b;v[f+68>>2]=v[e+12>>2];b=v[e+8>>2];v[f+104>>2]=0;v[f+96>>2]=0;v[f+72>>2]=b;v[f+108>>2]=v[e+20>>2];b=v[e+16>>2];v[f+144>>2]=0;v[f+136>>2]=0;v[f+112>>2]=b;v[f+148>>2]=v[e+28>>2];v[f+152>>2]=v[e+24>>2];e=e+32|0;f=f+160|0;h=h-4|0;if(h){continue}break}break i}f=j;h=a;i=a&3;if(i){while(1){v[f+24>>2]=0;v[f+16>>2]=0;v[f+28>>2]=v[e>>2];v[f+32>>2]=v[e+4>>2];e=e+8|0;f=f+40|0;h=h-1|0;i=i-1|0;if(i){continue}break}}if(a-1>>>0<3){break i}while(1){v[f+24>>2]=0;v[f+16>>2]=0;v[f+28>>2]=v[e>>2];b=v[e+4>>2];v[f- -64>>2]=0;v[f+56>>2]=0;v[f+32>>2]=b;v[f+68>>2]=v[e+8>>2];b=v[e+12>>2];v[f+104>>2]=0;v[f+96>>2]=0;v[f+72>>2]=b;v[f+108>>2]=v[e+16>>2];b=v[e+20>>2];v[f+144>>2]=0;v[f+136>>2]=0;v[f+112>>2]=b;v[f+148>>2]=v[e+24>>2];v[f+152>>2]=v[e+28>>2];e=e+32|0;f=f+160|0;h=h-4|0;if(h){continue}break}}l=v[g+12>>2];j:{if(!l){b=0;break j}d=0;n=v[g+20>>2];while(1){k:{b=n+(d<<3)|0;if(!v[b+4>>2]){break k}b=v[b>>2];f=b;while(1){f=v[f>>2];if((b|0)==(f|0)){b=d+1|0;break j}if(v[f+28>>2]==v[b+28>>2]){continue}break}s=v[f+4>>2];e=s;while(1){h=e;while(1){e=v[e+4>>2];if((s|0)==(e|0)){break k}i=v[e+28>>2];b=v[h+28>>2];if((i|0)==(b|0)){continue}break}l:{m:{if((b|0)>v[f+28>>2]){if((b|0)>(i|0)){break m}break l}if((b|0)>=(i|0)){break l}}while(1){v[h+16>>2]=v[h+16>>2]|64;h=v[h+4>>2];if((h|0)!=(e|0)){continue}break}}f=v[e>>2];continue}}b=0;d=d+1|0;if((l|0)!=(d|0)){continue}break}}while(1){if(a>>>0>b>>>0){e=B(b,40);d=e+j|0;l=v[d+16>>2];n:{if(!(l&64)){break n}f=e+j|0;e=d;while(1){e=v[e>>2];if((d|0)==(e|0)){break n}i=v[e+32>>2];h=v[f+32>>2];if((i|0)==(h|0)){continue}break}e=d;while(1){e=v[e+4>>2];if((d|0)==(e|0)){break n}f=v[e+32>>2];if((f|0)==(h|0)){continue}break}o:{if((h|0)>(i|0)){e=128;if((f|0)>(h|0)){break o}}if((h|0)>=(i|0)){break n}e=256;if((f|0)>=(h|0)){break n}}v[d+16>>2]=e|l}b=b+1|0;continue}break}h=v[g+32>>2];b=(g+8|0)+B(k,40)|0;d=b+28|0;f=v[d>>2];if(f){e=v[b+36>>2];while(1){TZ(e,h,k,g+8|0);e=e+28|0;f=f-1|0;if(f){continue}break}h=v[g+32>>2]}a=v[b+60>>2];e=v[a+8>>2];l=v[a>>2];a=ad(32,v[(B(k,204)+h|0)+200>>2]);i=(a|0)<30?a:30;j=m&1?1:2;p:{q:{r:{if(l>>>0>=2){f=v[g+8>>2];if(!f){j=0;break p}a=v[e+12>>2];h=a>>>0>f>>>0?f:a;while(1){a=v[e+28>>2];a=a>>>0>>0?a:f;if(a>>>0>h>>>0){f=v[g+16>>2];SZ(d,v[e+16>>2],v[e+24>>2]);RZ(v[b+32>>2],v[b+40>>2],f+B(h,40)|0,a-h|0,i,j)}l=l-1|0;if(l>>>0<2){break r}e=e+16|0;f=v[g+8>>2];h=a;continue}}if((l|0)!=1){break q}}a=v[g+16>>2];e=v[g+8>>2];h=d;d=v[v[b+60>>2]+8>>2];SZ(h,v[d>>2],v[d+8>>2]);RZ(v[b+32>>2],v[b+40>>2],a,e,i,j)}j=v[g+8>>2];if(!j){j=0;break p}e=v[g+16>>2];if(j&1){s:{if(!v[e+24>>2]){break s}a=v[e+16>>2];if(a&16){break s}v[e+16>>2]=a|16}e=e+40|0;f=j-1|0}else{f=j}if((j|0)==1){break p}while(1){t:{if(!v[e+24>>2]){break t}a=v[e+16>>2];if(a&16){break t}v[e+16>>2]=a|16}u:{if(!v[e- -64>>2]){break u}a=v[e+56>>2];if(a&16){break u}v[e+56>>2]=a|16}e=e+80|0;f=f-2|0;if(f){continue}break}}a=v[g+16>>2];v:{if(!(k&1)){QZ(j,a,v[g+32>>2],0);PZ(g+8|0,0);OZ(v[g+12>>2],v[g+20>>2],v[g+32>>2],0);h=v[g+8>>2];if(!h){break v}a=v[g+28>>2];b=v[a+8>>2];a=v[a+4>>2];f=0;e=v[g+16>>2];while(1){v[a+(f<<3)>>2]=v[e+36>>2];if(w[e+16|0]&16){d=b+f|0;t[d|0]=w[d|0]|32;h=v[g+8>>2]}e=e+40|0;f=f+1|0;if(h>>>0>f>>>0){continue}break}break v}h=a;b=j;if(b){while(1){d=w[h+20|0];w:{x:{if((d|0)==2|(d|0)==254){break x}d=w[h+21|0];if((d|0)==254){break x}if((d|0)!=2){break w}}k=v[h+16>>2];if(k&16){break w}d=v[h+28>>2];i=v[c+412>>2];y:{if(!i){break y}f=v[c+2488>>2];l=0-f|0;e=r;while(1){n=d-v[e+12>>2]|0;if((n|0)<(l|0)){break y}if(!(!w[c+2492|0]&(n|0)>v[c+2484>>2]|(d|0)>(f+v[e+8>>2]|0))){n=v[e+24>>2];k=k|48;v[h+16>>2]=k;v[h+36>>2]=n}e=e+32|0;i=i-1|0;if(i){continue}break}}i=v[c+928>>2];if(!i){break w}f=v[c+2488>>2];l=0-f|0;e=((i<<5)+c|0)+932|0;while(1){n=v[e-24>>2]-d|0;if((n|0)<(l|0)){break w}if(!(!w[c+2492|0]&(n|0)>=v[c+2484>>2]|(d|0)<(v[e-20>>2]-f|0))){n=v[e-4>>2];k=k|48;v[h+16>>2]=k;v[h+36>>2]=n}e=e-32|0;i=i-1|0;if(i){continue}break}}h=h+40|0;b=b-1|0;if(b){continue}break}}QZ(j,a,v[g+32>>2],1);PZ(g+8|0,1);OZ(v[g+12>>2],v[g+20>>2],v[g+32>>2],1);h=v[g+8>>2];if(!h){break v}a=v[g+28>>2];b=v[a+8>>2];a=v[a+4>>2];f=0;e=v[g+16>>2];while(1){v[(a+(f<<3)|0)+4>>2]=v[e+36>>2];if(w[e+16|0]&16){d=b+f|0;t[d|0]=w[d|0]|64;h=v[g+8>>2]}e=e+40|0;f=f+1|0;if(h>>>0>f>>>0){continue}break}}if(!q){EH(v[g+32>>2],o,p,0,0)}k=1;a=m&1;m=0;if(a){continue}break}}a=v[g+24>>2];b=a;c=v[g+100>>2];if(c){Ub[v[b+8>>2]](b,c)}v[g+104>>2]=0;v[g+96>>2]=0;v[g+100>>2]=0;b=v[g+88>>2];if(b){Ub[v[a+8>>2]](a,b)}v[g+88>>2]=0;b=v[g+84>>2];if(b){Ub[v[a+8>>2]](a,b)}v[g+84>>2]=0;v[g+92>>2]=0;v[g+76>>2]=0;v[g+80>>2]=0;b=v[g+60>>2];if(b){Ub[v[a+8>>2]](a,b)}v[g- -64>>2]=0;v[g+56>>2]=0;v[g+60>>2]=0;b=v[g+48>>2];if(b){Ub[v[a+8>>2]](a,b)}v[g+48>>2]=0;b=v[g+44>>2];if(b){Ub[v[a+8>>2]](a,b)}v[g+44>>2]=0;v[g+52>>2]=0;v[g+36>>2]=0;v[g+40>>2]=0;b=v[g+16>>2];if(b){Ub[v[a+8>>2]](a,b)}v[g+16>>2]=0;b=v[g+20>>2];if(b){Ub[v[a+8>>2]](a,b)}}Qb=g+144|0;return m|0}function Ygb(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,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((e|0)>=1){m=b&1;o=f<<2;b=a;while(1){i=b;a:{if((d|0)>=2){l=(d-m|0)+1>>1;h=(l<<2)+i|0;g=i;if(!m){v[i>>2]=v[i>>2]-(v[h>>2]+1>>1);g=i+4|0}p=d&1;n=(p|0)!=(m|0);j=(l-!m|0)-n|0;b:{if((j|0)<1){k=h;break b}q=(l+(m?0:-1)|0)+(n?-1:0)|0;if(q&1){v[g>>2]=v[g>>2]-((v[h>>2]+v[h+4>>2]|0)+2>>2);g=g+4|0;j=j-1|0;k=h+4|0}else{k=h}if((q|0)==1){break b}while(1){v[g>>2]=v[g>>2]-((v[k>>2]+v[k+4>>2]|0)+2>>2);v[g+4>>2]=v[g+4>>2]-((v[k+4>>2]+v[k+8>>2]|0)+2>>2);g=g+8|0;k=k+8|0;q=(j|0)>2;j=j-2|0;if(q){continue}break}}j=(m|0)==(p|0);if(!j){v[g>>2]=v[g>>2]-(v[k>>2]+1>>1)}if(m){v[h>>2]=v[h>>2]+v[i>>2];h=h+4|0}k=l+m|0;g=(d-k|0)-j|0;c:{if((g|0)<1){break c}if(g&1){v[h>>2]=v[h>>2]+(v[i+4>>2]+v[i>>2]>>1);g=g-1|0;h=h+4|0;i=i+4|0}if((k+1|0)==((j?-1:0)+d|0)){break c}while(1){v[h>>2]=v[h>>2]+(v[i+4>>2]+v[i>>2]>>1);v[h+4>>2]=v[h+4>>2]+(v[i+8>>2]+v[i+4>>2]>>1);h=h+8|0;i=i+8|0;k=(g|0)>2;g=g-2|0;if(k){continue}break}}if(n){break a}v[h>>2]=v[h>>2]+v[i>>2];break a}if(!m){break a}v[i>>2]=v[i>>2]>>1}h2(b,d,m);b=b+o|0;r=r+1|0;if((r|0)!=(e|0)){continue}break}}l=c&1;j=(d|0)/16<<4;if((d|0)>=16){m=0;while(1){b=a;d:{if((e|0)>=2){o=(e-l|0)+1>>1;c=(B(o,f)<<2)+b|0;g=b;if(!l){v[b>>2]=v[b>>2]-(v[c>>2]+1>>1);v[b+4>>2]=v[b+4>>2]-(v[c+4>>2]+1>>1);v[b+8>>2]=v[b+8>>2]-(v[c+8>>2]+1>>1);v[b+12>>2]=v[b+12>>2]-(v[c+12>>2]+1>>1);v[b+16>>2]=v[b+16>>2]-(v[c+16>>2]+1>>1);v[b+20>>2]=v[b+20>>2]-(v[c+20>>2]+1>>1);v[b+24>>2]=v[b+24>>2]-(v[c+24>>2]+1>>1);v[b+28>>2]=v[b+28>>2]-(v[c+28>>2]+1>>1);v[b+32>>2]=v[b+32>>2]-(v[c+32>>2]+1>>1);v[b+36>>2]=v[b+36>>2]-(v[c+36>>2]+1>>1);v[b+40>>2]=v[b+40>>2]-(v[c+40>>2]+1>>1);v[b+44>>2]=v[b+44>>2]-(v[c+44>>2]+1>>1);v[b+48>>2]=v[b+48>>2]-(v[c+48>>2]+1>>1);v[b+52>>2]=v[b+52>>2]-(v[c+52>>2]+1>>1);v[b+56>>2]=v[b+56>>2]-(v[c+56>>2]+1>>1);v[b+60>>2]=v[b+60>>2]-(v[c+60>>2]+1>>1);g=(f<<2)+b|0}p=e&1;q=(p|0)!=(l|0);n=(o-!l|0)-q|0;e:{if((n|0)<1){i=c;break e}h=c;while(1){k=f<<2;i=k+h|0;v[g>>2]=v[g>>2]-((v[h>>2]+v[i>>2]|0)+2>>2);v[g+4>>2]=v[g+4>>2]-((v[h+4>>2]+v[k+(h+4|0)>>2]|0)+2>>2);v[g+8>>2]=v[g+8>>2]-((v[h+8>>2]+v[k+(h+8|0)>>2]|0)+2>>2);v[g+12>>2]=v[g+12>>2]-((v[h+12>>2]+v[k+(h+12|0)>>2]|0)+2>>2);v[g+16>>2]=v[g+16>>2]-((v[h+16>>2]+v[k+(h+16|0)>>2]|0)+2>>2);v[g+20>>2]=v[g+20>>2]-((v[h+20>>2]+v[k+(h+20|0)>>2]|0)+2>>2);v[g+24>>2]=v[g+24>>2]-((v[h+24>>2]+v[k+(h+24|0)>>2]|0)+2>>2);v[g+28>>2]=v[g+28>>2]-((v[h+28>>2]+v[k+(h+28|0)>>2]|0)+2>>2);v[g+32>>2]=v[g+32>>2]-((v[h+32>>2]+v[k+(h+32|0)>>2]|0)+2>>2);v[g+36>>2]=v[g+36>>2]-((v[h+36>>2]+v[k+(h+36|0)>>2]|0)+2>>2);v[g+40>>2]=v[g+40>>2]-((v[h+40>>2]+v[k+(h+40|0)>>2]|0)+2>>2);v[g+44>>2]=v[g+44>>2]-((v[h+44>>2]+v[k+(h+44|0)>>2]|0)+2>>2);v[g+48>>2]=v[g+48>>2]-((v[h+48>>2]+v[k+(h+48|0)>>2]|0)+2>>2);v[g+52>>2]=v[g+52>>2]-((v[h+52>>2]+v[k+(h+52|0)>>2]|0)+2>>2);v[g+56>>2]=v[g+56>>2]-((v[h+56>>2]+v[k+(h+56|0)>>2]|0)+2>>2);v[g+60>>2]=v[g+60>>2]-((v[h+60>>2]+v[k+(h+60|0)>>2]|0)+2>>2);g=g+k|0;k=(n|0)>1;n=n-1|0;h=i;if(k){continue}break}}h=(l|0)==(p|0);if(!h){v[g>>2]=v[g>>2]-(v[i>>2]+1>>1);v[g+4>>2]=v[g+4>>2]-(v[i+4>>2]+1>>1);v[g+8>>2]=v[g+8>>2]-(v[i+8>>2]+1>>1);v[g+12>>2]=v[g+12>>2]-(v[i+12>>2]+1>>1);v[g+16>>2]=v[g+16>>2]-(v[i+16>>2]+1>>1);v[g+20>>2]=v[g+20>>2]-(v[i+20>>2]+1>>1);v[g+24>>2]=v[g+24>>2]-(v[i+24>>2]+1>>1);v[g+28>>2]=v[g+28>>2]-(v[i+28>>2]+1>>1);v[g+32>>2]=v[g+32>>2]-(v[i+32>>2]+1>>1);v[g+36>>2]=v[g+36>>2]-(v[i+36>>2]+1>>1);v[g+40>>2]=v[g+40>>2]-(v[i+40>>2]+1>>1);v[g+44>>2]=v[g+44>>2]-(v[i+44>>2]+1>>1);v[g+48>>2]=v[g+48>>2]-(v[i+48>>2]+1>>1);v[g+52>>2]=v[g+52>>2]-(v[i+52>>2]+1>>1);v[g+56>>2]=v[g+56>>2]-(v[i+56>>2]+1>>1);v[g+60>>2]=v[g+60>>2]-(v[i+60>>2]+1>>1)}if(l){v[c>>2]=v[c>>2]+v[b>>2];v[c+4>>2]=v[c+4>>2]+v[b+4>>2];v[c+8>>2]=v[c+8>>2]+v[b+8>>2];v[c+12>>2]=v[c+12>>2]+v[b+12>>2];v[c+16>>2]=v[c+16>>2]+v[b+16>>2];v[c+20>>2]=v[c+20>>2]+v[b+20>>2];v[c+24>>2]=v[c+24>>2]+v[b+24>>2];v[c+28>>2]=v[c+28>>2]+v[b+28>>2];v[c+32>>2]=v[c+32>>2]+v[b+32>>2];v[c+36>>2]=v[c+36>>2]+v[b+36>>2];v[c+40>>2]=v[c+40>>2]+v[b+40>>2];v[c+44>>2]=v[c+44>>2]+v[b+44>>2];v[c+48>>2]=v[c+48>>2]+v[b+48>>2];v[c+52>>2]=v[c+52>>2]+v[b+52>>2];v[c+56>>2]=v[c+56>>2]+v[b+56>>2];v[c+60>>2]=v[c+60>>2]+v[b+60>>2];c=(f<<2)+c|0}h=(e-(l+o|0)|0)-h|0;f:{if((h|0)<1){i=b;break f}g=f<<2;while(1){i=b+g|0;v[c>>2]=v[c>>2]+(v[i>>2]+v[b>>2]>>1);v[c+4>>2]=v[c+4>>2]+(v[g+(b+4|0)>>2]+v[b+4>>2]>>1);v[c+8>>2]=v[c+8>>2]+(v[g+(b+8|0)>>2]+v[b+8>>2]>>1);v[c+12>>2]=v[c+12>>2]+(v[g+(b+12|0)>>2]+v[b+12>>2]>>1);v[c+16>>2]=v[c+16>>2]+(v[g+(b+16|0)>>2]+v[b+16>>2]>>1);v[c+20>>2]=v[c+20>>2]+(v[g+(b+20|0)>>2]+v[b+20>>2]>>1);v[c+24>>2]=v[c+24>>2]+(v[g+(b+24|0)>>2]+v[b+24>>2]>>1);v[c+28>>2]=v[c+28>>2]+(v[g+(b+28|0)>>2]+v[b+28>>2]>>1);v[c+32>>2]=v[c+32>>2]+(v[g+(b+32|0)>>2]+v[b+32>>2]>>1);v[c+36>>2]=v[c+36>>2]+(v[g+(b+36|0)>>2]+v[b+36>>2]>>1);v[c+40>>2]=v[c+40>>2]+(v[g+(b+40|0)>>2]+v[b+40>>2]>>1);v[c+44>>2]=v[c+44>>2]+(v[g+(b+44|0)>>2]+v[b+44>>2]>>1);v[c+48>>2]=v[c+48>>2]+(v[g+(b+48|0)>>2]+v[b+48>>2]>>1);v[c+52>>2]=v[c+52>>2]+(v[g+(b+52|0)>>2]+v[b+52>>2]>>1);v[c+56>>2]=v[c+56>>2]+(v[g+(b+56|0)>>2]+v[b+56>>2]>>1);v[c+60>>2]=v[c+60>>2]+(v[g+(b+60|0)>>2]+v[b+60>>2]>>1);c=c+g|0;k=(h|0)>1;h=h-1|0;b=i;if(k){continue}break}}if(q){break d}v[c>>2]=v[c>>2]+v[i>>2];v[c+4>>2]=v[c+4>>2]+v[i+4>>2];v[c+8>>2]=v[c+8>>2]+v[i+8>>2];v[c+12>>2]=v[c+12>>2]+v[i+12>>2];v[c+16>>2]=v[c+16>>2]+v[i+16>>2];v[c+20>>2]=v[c+20>>2]+v[i+20>>2];v[c+24>>2]=v[c+24>>2]+v[i+24>>2];v[c+28>>2]=v[c+28>>2]+v[i+28>>2];v[c+32>>2]=v[c+32>>2]+v[i+32>>2];v[c+36>>2]=v[c+36>>2]+v[i+36>>2];v[c+40>>2]=v[c+40>>2]+v[i+40>>2];v[c+44>>2]=v[c+44>>2]+v[i+44>>2];v[c+48>>2]=v[c+48>>2]+v[i+48>>2];v[c+52>>2]=v[c+52>>2]+v[i+52>>2];v[c+56>>2]=v[c+56>>2]+v[i+56>>2];v[c+60>>2]=v[c+60>>2]+v[i+60>>2];break d}if(!l){break d}v[b>>2]=v[b>>2]>>1;v[b+4>>2]=v[b+4>>2]>>1;v[b+8>>2]=v[b+8>>2]>>1;v[b+12>>2]=v[b+12>>2]>>1;v[b+16>>2]=v[b+16>>2]>>1;v[b+20>>2]=v[b+20>>2]>>1;v[b+24>>2]=v[b+24>>2]>>1;v[b+28>>2]=v[b+28>>2]>>1;v[b+32>>2]=v[b+32>>2]>>1;v[b+36>>2]=v[b+36>>2]>>1;v[b+40>>2]=v[b+40>>2]>>1;v[b+44>>2]=v[b+44>>2]>>1;v[b+48>>2]=v[b+48>>2]>>1;v[b+52>>2]=v[b+52>>2]>>1;v[b+56>>2]=v[b+56>>2]>>1;v[b+60>>2]=v[b+60>>2]>>1}g2(a,e,f,l);a=a- -64|0;m=m+16|0;if((j|0)>(m|0)){continue}break}}if((d|0)>(j|0)){b=a;r=d-j|0;j=r;g=f;m=0;k=e;g:{if((e|0)>=2){p=(k-l|0)+1>>1;c=(B(p,g)<<2)+b|0;h=b;if(!l){h:{if((j|0)<1){break h}f=j&3;e=c;d=b;if(j-1>>>0>=3){i=j&-4;while(1){v[d>>2]=v[d>>2]-(v[e>>2]+1>>1);v[d+4>>2]=v[d+4>>2]-(v[e+4>>2]+1>>1);v[d+8>>2]=v[d+8>>2]-(v[e+8>>2]+1>>1);v[d+12>>2]=v[d+12>>2]-(v[e+12>>2]+1>>1);e=e+16|0;d=d+16|0;i=i-4|0;if(i){continue}break}}if(!f){break h}while(1){v[d>>2]=v[d>>2]-(v[e>>2]+1>>1);e=e+4|0;d=d+4|0;f=f-1|0;if(f){continue}break}}h=(g<<2)+b|0}q=k&1;o=(p-!l|0)-((q|0)!=(l|0))|0;i:{j:{if((o|0)<1){f=c;break j}if((j|0)<1){break i}m=j&-2;s=j&1;n=g<<2;f=c;while(1){d=f;e=h;i=m;if((j|0)!=1){while(1){v[e>>2]=v[e>>2]-((v[d>>2]+v[d+n>>2]|0)+2>>2);v[e+4>>2]=v[e+4>>2]-((v[d+4>>2]+v[n+(d+4|0)>>2]|0)+2>>2);d=d+8|0;e=e+8|0;i=i-2|0;if(i){continue}break}}if(s){v[e>>2]=v[e>>2]-((v[d>>2]+v[d+n>>2]|0)+2>>2)}f=f+n|0;h=h+n|0;d=(o|0)>1;o=o-1|0;if(d){continue}break}}m=(j|0)>0;if((l|0)==(q|0)|(j|0)<1){break i}d=j&3;if(j-1>>>0>=3){e=j&-4;while(1){v[h>>2]=v[h>>2]-(v[f>>2]+1>>1);v[h+4>>2]=v[h+4>>2]-(v[f+4>>2]+1>>1);v[h+8>>2]=v[h+8>>2]-(v[f+8>>2]+1>>1);v[h+12>>2]=v[h+12>>2]-(v[f+12>>2]+1>>1);f=f+16|0;h=h+16|0;e=e-4|0;if(e){continue}break}}if(!d){break i}while(1){v[h>>2]=v[h>>2]-(v[f>>2]+1>>1);f=f+4|0;h=h+4|0;d=d-1|0;if(d){continue}break}}if(l){k:{if(!m){break k}f=j&3;d=c;e=b;if(j-1>>>0>=3){i=j&-4;while(1){v[d>>2]=v[d>>2]+v[e>>2];v[d+4>>2]=v[d+4>>2]+v[e+4>>2];v[d+8>>2]=v[d+8>>2]+v[e+8>>2];v[d+12>>2]=v[d+12>>2]+v[e+12>>2];e=e+16|0;d=d+16|0;i=i-4|0;if(i){continue}break}}if(!f){break k}while(1){v[d>>2]=v[d>>2]+v[e>>2];e=e+4|0;d=d+4|0;f=f-1|0;if(f){continue}break}}c=(g<<2)+c|0}o=(l|0)==(q|0);h=(k-(l+p|0)|0)-o|0;if((h|0)>=1){if(!m){break g}f=j&-2;p=j&1;n=g<<2;while(1){d=c;e=b;i=f;if((j|0)!=1){while(1){v[d>>2]=v[d>>2]+(v[e+n>>2]+v[e>>2]>>1);v[d+4>>2]=v[d+4>>2]+(v[n+(e+4|0)>>2]+v[e+4>>2]>>1);d=d+8|0;e=e+8|0;i=i-2|0;if(i){continue}break}}if(p){v[d>>2]=v[d>>2]+(v[e+n>>2]+v[e>>2]>>1)}b=b+n|0;c=c+n|0;d=(h|0)>1;h=h-1|0;if(d){continue}break}}if(!(m&o)){break g}d=j&3;if(j-1>>>0>=3){e=j&-4;while(1){v[c>>2]=v[c>>2]+v[b>>2];v[c+4>>2]=v[c+4>>2]+v[b+4>>2];v[c+8>>2]=v[c+8>>2]+v[b+8>>2];v[c+12>>2]=v[c+12>>2]+v[b+12>>2];c=c+16|0;b=b+16|0;e=e-4|0;if(e){continue}break}}if(!d){break g}while(1){v[c>>2]=v[c>>2]+v[b>>2];c=c+4|0;b=b+4|0;d=d-1|0;if(d){continue}break}break g}if(!l|(j|0)<1){break g}d=j&3;if(j-1>>>0>=3){e=j&-4;while(1){v[b>>2]=v[b>>2]>>1;v[b+4>>2]=v[b+4>>2]>>1;v[b+8>>2]=v[b+8>>2]>>1;v[b+12>>2]=v[b+12>>2]>>1;b=b+16|0;e=e-4|0;if(e){continue}break}}if(!d){break g}while(1){v[b>>2]=v[b>>2]>>1;b=b+4|0;d=d-1|0;if(d){continue}break}}f2(a,k,r,g,l)}return 0}function Zgb(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,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;j=c&1;o=(d|0)/16<<4;c=a;if((d|0)>=16){while(1){k2(c,e,f,j);g=c;a:{if((e|0)>=2){p=(e-j|0)+1>>1;i=(B(p,f)<<2)+g|0;h=i;if(j){v[i>>2]=v[i>>2]-v[g>>2];v[i+4>>2]=v[i+4>>2]-v[g+4>>2];v[i+8>>2]=v[i+8>>2]-v[g+8>>2];v[i+12>>2]=v[i+12>>2]-v[g+12>>2];v[i+16>>2]=v[i+16>>2]-v[g+16>>2];v[i+20>>2]=v[i+20>>2]-v[g+20>>2];v[i+24>>2]=v[i+24>>2]-v[g+24>>2];v[i+28>>2]=v[i+28>>2]-v[g+28>>2];v[i+32>>2]=v[i+32>>2]-v[g+32>>2];v[i+36>>2]=v[i+36>>2]-v[g+36>>2];v[i+40>>2]=v[i+40>>2]-v[g+40>>2];v[i+44>>2]=v[i+44>>2]-v[g+44>>2];v[i+48>>2]=v[i+48>>2]-v[g+48>>2];v[i+52>>2]=v[i+52>>2]-v[g+52>>2];v[i+56>>2]=v[i+56>>2]-v[g+56>>2];v[i+60>>2]=v[i+60>>2]-v[g+60>>2];h=(f<<2)+i|0}q=e&1;r=(q|0)==(j|0);n=(e-(j+p|0)|0)-r|0;b:{if((n|0)<1){k=g;break b}m=f<<2;l=g;while(1){k=l+m|0;v[h>>2]=v[h>>2]-(v[k>>2]+v[l>>2]>>1);v[h+4>>2]=v[h+4>>2]-(v[m+(l+4|0)>>2]+v[l+4>>2]>>1);v[h+8>>2]=v[h+8>>2]-(v[m+(l+8|0)>>2]+v[l+8>>2]>>1);v[h+12>>2]=v[h+12>>2]-(v[m+(l+12|0)>>2]+v[l+12>>2]>>1);v[h+16>>2]=v[h+16>>2]-(v[m+(l+16|0)>>2]+v[l+16>>2]>>1);v[h+20>>2]=v[h+20>>2]-(v[m+(l+20|0)>>2]+v[l+20>>2]>>1);v[h+24>>2]=v[h+24>>2]-(v[m+(l+24|0)>>2]+v[l+24>>2]>>1);v[h+28>>2]=v[h+28>>2]-(v[m+(l+28|0)>>2]+v[l+28>>2]>>1);v[h+32>>2]=v[h+32>>2]-(v[m+(l+32|0)>>2]+v[l+32>>2]>>1);v[h+36>>2]=v[h+36>>2]-(v[m+(l+36|0)>>2]+v[l+36>>2]>>1);v[h+40>>2]=v[h+40>>2]-(v[m+(l+40|0)>>2]+v[l+40>>2]>>1);v[h+44>>2]=v[h+44>>2]-(v[m+(l+44|0)>>2]+v[l+44>>2]>>1);v[h+48>>2]=v[h+48>>2]-(v[m+(l+48|0)>>2]+v[l+48>>2]>>1);v[h+52>>2]=v[h+52>>2]-(v[m+(l+52|0)>>2]+v[l+52>>2]>>1);v[h+56>>2]=v[h+56>>2]-(v[m+(l+56|0)>>2]+v[l+56>>2]>>1);v[h+60>>2]=v[h+60>>2]-(v[m+(l+60|0)>>2]+v[l+60>>2]>>1);h=h+m|0;s=(n|0)>1;n=n-1|0;l=k;if(s){continue}break}}l=(j|0)!=(q|0);if(!l){v[h>>2]=v[h>>2]-v[k>>2];v[h+4>>2]=v[h+4>>2]-v[k+4>>2];v[h+8>>2]=v[h+8>>2]-v[k+8>>2];v[h+12>>2]=v[h+12>>2]-v[k+12>>2];v[h+16>>2]=v[h+16>>2]-v[k+16>>2];v[h+20>>2]=v[h+20>>2]-v[k+20>>2];v[h+24>>2]=v[h+24>>2]-v[k+24>>2];v[h+28>>2]=v[h+28>>2]-v[k+28>>2];v[h+32>>2]=v[h+32>>2]-v[k+32>>2];v[h+36>>2]=v[h+36>>2]-v[k+36>>2];v[h+40>>2]=v[h+40>>2]-v[k+40>>2];v[h+44>>2]=v[h+44>>2]-v[k+44>>2];v[h+48>>2]=v[h+48>>2]-v[k+48>>2];v[h+52>>2]=v[h+52>>2]-v[k+52>>2];v[h+56>>2]=v[h+56>>2]-v[k+56>>2];v[h+60>>2]=v[h+60>>2]-v[k+60>>2]}if(!j){v[g>>2]=v[g>>2]+(v[i>>2]+1>>1);v[g+4>>2]=v[g+4>>2]+(v[i+4>>2]+1>>1);v[g+8>>2]=v[g+8>>2]+(v[i+8>>2]+1>>1);v[g+12>>2]=v[g+12>>2]+(v[i+12>>2]+1>>1);v[g+16>>2]=v[g+16>>2]+(v[i+16>>2]+1>>1);v[g+20>>2]=v[g+20>>2]+(v[i+20>>2]+1>>1);v[g+24>>2]=v[g+24>>2]+(v[i+24>>2]+1>>1);v[g+28>>2]=v[g+28>>2]+(v[i+28>>2]+1>>1);v[g+32>>2]=v[g+32>>2]+(v[i+32>>2]+1>>1);v[g+36>>2]=v[g+36>>2]+(v[i+36>>2]+1>>1);v[g+40>>2]=v[g+40>>2]+(v[i+40>>2]+1>>1);v[g+44>>2]=v[g+44>>2]+(v[i+44>>2]+1>>1);v[g+48>>2]=v[g+48>>2]+(v[i+48>>2]+1>>1);v[g+52>>2]=v[g+52>>2]+(v[i+52>>2]+1>>1);v[g+56>>2]=v[g+56>>2]+(v[i+56>>2]+1>>1);v[g+60>>2]=v[g+60>>2]+(v[i+60>>2]+1>>1);g=(f<<2)+g|0}l=(p-!j|0)-l|0;c:{if((l|0)<1){k=i;break c}while(1){h=f<<2;k=h+i|0;v[g>>2]=v[g>>2]+((v[i>>2]+v[k>>2]|0)+2>>2);v[g+4>>2]=v[g+4>>2]+((v[i+4>>2]+v[h+(i+4|0)>>2]|0)+2>>2);v[g+8>>2]=v[g+8>>2]+((v[i+8>>2]+v[h+(i+8|0)>>2]|0)+2>>2);v[g+12>>2]=v[g+12>>2]+((v[i+12>>2]+v[h+(i+12|0)>>2]|0)+2>>2);v[g+16>>2]=v[g+16>>2]+((v[i+16>>2]+v[h+(i+16|0)>>2]|0)+2>>2);v[g+20>>2]=v[g+20>>2]+((v[i+20>>2]+v[h+(i+20|0)>>2]|0)+2>>2);v[g+24>>2]=v[g+24>>2]+((v[i+24>>2]+v[h+(i+24|0)>>2]|0)+2>>2);v[g+28>>2]=v[g+28>>2]+((v[i+28>>2]+v[h+(i+28|0)>>2]|0)+2>>2);v[g+32>>2]=v[g+32>>2]+((v[i+32>>2]+v[h+(i+32|0)>>2]|0)+2>>2);v[g+36>>2]=v[g+36>>2]+((v[i+36>>2]+v[h+(i+36|0)>>2]|0)+2>>2);v[g+40>>2]=v[g+40>>2]+((v[i+40>>2]+v[h+(i+40|0)>>2]|0)+2>>2);v[g+44>>2]=v[g+44>>2]+((v[i+44>>2]+v[h+(i+44|0)>>2]|0)+2>>2);v[g+48>>2]=v[g+48>>2]+((v[i+48>>2]+v[h+(i+48|0)>>2]|0)+2>>2);v[g+52>>2]=v[g+52>>2]+((v[i+52>>2]+v[h+(i+52|0)>>2]|0)+2>>2);v[g+56>>2]=v[g+56>>2]+((v[i+56>>2]+v[h+(i+56|0)>>2]|0)+2>>2);v[g+60>>2]=v[g+60>>2]+((v[i+60>>2]+v[h+(i+60|0)>>2]|0)+2>>2);g=g+h|0;h=(l|0)>1;l=l-1|0;i=k;if(h){continue}break}}if(r){break a}v[g>>2]=v[g>>2]+(v[k>>2]+1>>1);v[g+4>>2]=v[g+4>>2]+(v[k+4>>2]+1>>1);v[g+8>>2]=v[g+8>>2]+(v[k+8>>2]+1>>1);v[g+12>>2]=v[g+12>>2]+(v[k+12>>2]+1>>1);v[g+16>>2]=v[g+16>>2]+(v[k+16>>2]+1>>1);v[g+20>>2]=v[g+20>>2]+(v[k+20>>2]+1>>1);v[g+24>>2]=v[g+24>>2]+(v[k+24>>2]+1>>1);v[g+28>>2]=v[g+28>>2]+(v[k+28>>2]+1>>1);v[g+32>>2]=v[g+32>>2]+(v[k+32>>2]+1>>1);v[g+36>>2]=v[g+36>>2]+(v[k+36>>2]+1>>1);v[g+40>>2]=v[g+40>>2]+(v[k+40>>2]+1>>1);v[g+44>>2]=v[g+44>>2]+(v[k+44>>2]+1>>1);v[g+48>>2]=v[g+48>>2]+(v[k+48>>2]+1>>1);v[g+52>>2]=v[g+52>>2]+(v[k+52>>2]+1>>1);v[g+56>>2]=v[g+56>>2]+(v[k+56>>2]+1>>1);v[g+60>>2]=v[g+60>>2]+(v[k+60>>2]+1>>1);break a}if(!j){break a}v[g>>2]=v[g>>2]<<1;v[g+4>>2]=v[g+4>>2]<<1;v[g+8>>2]=v[g+8>>2]<<1;v[g+12>>2]=v[g+12>>2]<<1;v[g+16>>2]=v[g+16>>2]<<1;v[g+20>>2]=v[g+20>>2]<<1;v[g+24>>2]=v[g+24>>2]<<1;v[g+28>>2]=v[g+28>>2]<<1;v[g+32>>2]=v[g+32>>2]<<1;v[g+36>>2]=v[g+36>>2]<<1;v[g+40>>2]=v[g+40>>2]<<1;v[g+44>>2]=v[g+44>>2]<<1;v[g+48>>2]=v[g+48>>2]<<1;v[g+52>>2]=v[g+52>>2]<<1;v[g+56>>2]=v[g+56>>2]<<1;v[g+60>>2]=v[g+60>>2]<<1}c=c- -64|0;t=t+16|0;if((o|0)>(t|0)){continue}break}}if((d|0)>(o|0)){m=d-o|0;j2(c,e,m,f,j);o=j;n=0;d:{if((e|0)>=2){r=(e-o|0)+1>>1;l=(B(r,f)<<2)+c|0;h=l;if(o){e:{if((m|0)<1){break e}k=m&3;j=l;g=c;if(m-1>>>0>=3){i=m&-4;while(1){v[j>>2]=v[j>>2]-v[g>>2];v[j+4>>2]=v[j+4>>2]-v[g+4>>2];v[j+8>>2]=v[j+8>>2]-v[g+8>>2];v[j+12>>2]=v[j+12>>2]-v[g+12>>2];g=g+16|0;j=j+16|0;i=i-4|0;if(i){continue}break}}if(!k){break e}while(1){v[j>>2]=v[j>>2]-v[g>>2];g=g+4|0;j=j+4|0;k=k-1|0;if(k){continue}break}}h=(f<<2)+l|0}s=e&1;q=(e-(o+r|0)|0)-((s|0)==(o|0))|0;f:{g:{if((q|0)<1){k=c;break g}if((m|0)<1){break f}n=m&-2;t=m&1;p=f<<2;k=c;while(1){j=h;g=k;i=n;if((m|0)!=1){while(1){v[j>>2]=v[j>>2]-(v[g+p>>2]+v[g>>2]>>1);v[j+4>>2]=v[j+4>>2]-(v[p+(g+4|0)>>2]+v[g+4>>2]>>1);j=j+8|0;g=g+8|0;i=i-2|0;if(i){continue}break}}if(t){v[j>>2]=v[j>>2]-(v[g+p>>2]+v[g>>2]>>1)}k=k+p|0;h=h+p|0;g=(q|0)>1;q=q-1|0;if(g){continue}break}}n=(m|0)>0;if((o|0)!=(s|0)|(m|0)<1){break f}j=m&3;if(m-1>>>0>=3){g=m&-4;while(1){v[h>>2]=v[h>>2]-v[k>>2];v[h+4>>2]=v[h+4>>2]-v[k+4>>2];v[h+8>>2]=v[h+8>>2]-v[k+8>>2];v[h+12>>2]=v[h+12>>2]-v[k+12>>2];h=h+16|0;k=k+16|0;g=g-4|0;if(g){continue}break}}if(!j){break f}while(1){v[h>>2]=v[h>>2]-v[k>>2];h=h+4|0;k=k+4|0;j=j-1|0;if(j){continue}break}}if(!o){h:{if(!n){break h}k=m&3;g=l;j=c;if(m-1>>>0>=3){i=m&-4;while(1){v[j>>2]=v[j>>2]+(v[g>>2]+1>>1);v[j+4>>2]=v[j+4>>2]+(v[g+4>>2]+1>>1);v[j+8>>2]=v[j+8>>2]+(v[g+8>>2]+1>>1);v[j+12>>2]=v[j+12>>2]+(v[g+12>>2]+1>>1);g=g+16|0;j=j+16|0;i=i-4|0;if(i){continue}break}}if(!k){break h}while(1){v[j>>2]=v[j>>2]+(v[g>>2]+1>>1);g=g+4|0;j=j+4|0;k=k-1|0;if(k){continue}break}}c=(f<<2)+c|0}p=(o|0)!=(s|0);h=(r-!o|0)-p|0;if((h|0)>=1){if(!n){break d}k=m&-2;q=m&1;o=f<<2;while(1){j=l;g=c;i=k;if((m|0)!=1){while(1){v[g>>2]=v[g>>2]+((v[j>>2]+v[j+o>>2]|0)+2>>2);v[g+4>>2]=v[g+4>>2]+((v[j+4>>2]+v[o+(j+4|0)>>2]|0)+2>>2);j=j+8|0;g=g+8|0;i=i-2|0;if(i){continue}break}}if(q){v[g>>2]=v[g>>2]+((v[j>>2]+v[j+o>>2]|0)+2>>2)}l=l+o|0;c=c+o|0;g=(h|0)>1;h=h-1|0;if(g){continue}break}}if(!(n&p)){break d}j=m&3;if(m-1>>>0>=3){g=m&-4;while(1){v[c>>2]=v[c>>2]+(v[l>>2]+1>>1);v[c+4>>2]=v[c+4>>2]+(v[l+4>>2]+1>>1);v[c+8>>2]=v[c+8>>2]+(v[l+8>>2]+1>>1);v[c+12>>2]=v[c+12>>2]+(v[l+12>>2]+1>>1);l=l+16|0;c=c+16|0;g=g-4|0;if(g){continue}break}}if(!j){break d}while(1){v[c>>2]=v[c>>2]+(v[l>>2]+1>>1);l=l+4|0;c=c+4|0;j=j-1|0;if(j){continue}break}break d}if(!o|(m|0)<1){break d}j=m&3;if(m-1>>>0>=3){g=m&-4;while(1){v[c>>2]=v[c>>2]<<1;v[c+4>>2]=v[c+4>>2]<<1;v[c+8>>2]=v[c+8>>2]<<1;v[c+12>>2]=v[c+12>>2]<<1;c=c+16|0;g=g-4|0;if(g){continue}break}}if(!j){break d}while(1){v[c>>2]=v[c>>2]<<1;c=c+4|0;j=j-1|0;if(j){continue}break}}}if((e|0)>=1){k=b&1;c=0;m=f<<2;while(1){i2(a,d,k);b=a;i:{if((d|0)>=2){l=(d-k|0)+1>>1;g=(l<<2)+b|0;n=g;if(k){v[g>>2]=v[g>>2]-v[b>>2];n=g+4|0}f=k+l|0;j=d&1;i=(j|0)==(k|0);h=(d-f|0)-i|0;j:{if((h|0)<1){f=b;break j}o=f+1|0;p=(i?-1:0)+d|0;if(h&1){v[n>>2]=v[n>>2]-(v[b+4>>2]+v[b>>2]>>1);n=n+4|0;h=h-1|0;f=b+4|0}else{f=b}if((o|0)==(p|0)){break j}while(1){v[n>>2]=v[n>>2]-(v[f+4>>2]+v[f>>2]>>1);v[n+4>>2]=v[n+4>>2]-(v[f+8>>2]+v[f+4>>2]>>1);n=n+8|0;f=f+8|0;o=(h|0)>2;h=h-2|0;if(o){continue}break}}j=(j|0)!=(k|0);if(!j){v[n>>2]=v[n>>2]-v[f>>2]}if(!k){v[b>>2]=v[b>>2]+(v[g>>2]+1>>1);b=b+4|0}n=(l-!k|0)-j|0;k:{if((n|0)<1){break k}if(n&1){v[b>>2]=v[b>>2]+((v[g>>2]+v[g+4>>2]|0)+2>>2);g=g+4|0;n=n-1|0;b=b+4|0}if(((l+(k?0:-1)|0)+(j?-1:0)|0)==1){break k}while(1){v[b>>2]=v[b>>2]+((v[g>>2]+v[g+4>>2]|0)+2>>2);v[b+4>>2]=v[b+4>>2]+((v[g+4>>2]+v[g+8>>2]|0)+2>>2);b=b+8|0;g=g+8|0;f=(n|0)>2;n=n-2|0;if(f){continue}break}}if(i){break i}v[b>>2]=v[b>>2]+(v[g>>2]+1>>1);break i}if(!k){break i}v[b>>2]=v[b>>2]<<1}a=a+m|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}return 0}function lEa(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,k=0,m=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0,y=0,z=0,B=0,C=0,E=0,F=0,G=0,J=0,L=0;h=Qb-800|0;Qb=h;a:{b:{c:{d:{e:{i=v[a+4>>2];if((i|0)>=1){while(1){e=d<<3;if(A[e+b>>3]!=A[(a+e|0)+1064>>3]){break e}d=d+1|0;if((i|0)!=(d|0)){continue}break}break d}if(!i){break d}break b}if((d|0)!=(i|0)){break c}}d=v[a+8>>2];if((d|0)<1){break a}i=d&3;b=0;if(d-1>>>0>=3){e=d&-4;d=a+1320|0;while(1){g=b<<3;A[g+c>>3]=A[d+g>>3];p=g|8;A[p+c>>3]=A[d+p>>3];p=g|16;A[p+c>>3]=A[d+p>>3];g=g|24;A[g+c>>3]=A[d+g>>3];b=b+4|0;e=e-4|0;if(e){continue}break}}if(!i){break a}while(1){d=b<<3;A[d+c>>3]=A[(a+d|0)+1320>>3];b=b+1|0;i=i-1|0;if(i){continue}break}break a}if((i|0)<1){break b}e=i&3;d=0;if(i-1>>>0>=3){k=i&-4;while(1){g=d<<3;A[(99-d<<3)+h>>3]=A[g+b>>3];A[(98-d<<3)+h>>3]=A[(g|8)+b>>3];A[(97-d<<3)+h>>3]=A[(g|16)+b>>3];A[(96-d<<3)+h>>3]=A[(g|24)+b>>3];d=d+4|0;k=k-4|0;if(k){continue}break}}if(!e){break b}while(1){A[(99-d<<3)+h>>3]=A[(d<<3)+b>>3];d=d+1|0;e=e-1|0;if(e){continue}break}}d=100-i|0;t=Qb-800|0;Qb=t;p=a;z=v[a+1052>>2];f:{if((z|0)<1){break f}r=v[p+1048>>2];G=h+16|0;i=0;g:{while(1){h:{a=i;i=a+1|0;i:{j:{switch(v[r+(a<<4)>>2]){case 0:if((d|0)>99){break h}a=(d<<3)+h|0;A[a>>3]=D(A[a>>3]);break i;case 1:if((d|0)>98){break h}a=d+1|0;e=(a<<3)+h|0;A[e>>3]=A[e>>3]+A[(d<<3)+h>>3];d=a;break i;case 2:if((d|0)>98){break h}e=d+1|0;g=(e<<3)+h|0;f=A[g>>3];k:{if(D(f)<2147483648){a=~~f;break k}a=-2147483648}f=A[(d<<3)+h>>3];l:{if(D(f)<2147483648){d=~~f;break l}d=-2147483648}A[g>>3]=d&a;d=e;break i;case 3:if((d|0)>98){break h}a=d+1|0;e=(a<<3)+h|0;J=e,L=Ff(A[e>>3],A[(d<<3)+h>>3]),A[J>>3]=L;d=a;break i;case 4:if((d|0)>98){break h}a=d+1|0;f=A[(d<<3)+h>>3];m:{if(D(f)<2147483648){d=~~f;break m}d=-2147483648}k=(d|0)<1;g=(a<<3)+h|0;f=A[g>>3];n:{if(D(f)<2147483648){e=~~f;break n}e=-2147483648}if(!k){A[g>>3]=e<>3]=e>>0-d;d=a;break i}A[g>>3]=e|0;d=a;break i;case 5:if((d|0)>99){break h}a=(d<<3)+h|0;A[a>>3]=I(A[a>>3]);break i;case 6:e=246542;if((d|0)>99){break g}a=d+1|0;f=A[(d<<3)+h>>3];o:{if(D(f)<2147483648){g=~~f;break o}g=-2147483648}if((g|0)<0){e=246581;d=a;break g}if((a+g|0)>100){d=a;break g}d=a-g|0;if((d|0)<0){e=246504;d=a;break g}if((g|0)<1){break i}e=g&3;k=0;if(g-1>>>0>=3){g=g&-4;while(1){A[(d+k<<3)+h>>3]=A[(a+k<<3)+h>>3];m=k|1;A[(m+d<<3)+h>>3]=A[(a+m<<3)+h>>3];m=k|2;A[(m+d<<3)+h>>3]=A[(a+m<<3)+h>>3];m=k|3;A[(m+d<<3)+h>>3]=A[(a+m<<3)+h>>3];k=k+4|0;g=g-4|0;if(g){continue}break}}if(!e){break i}while(1){A[(d+k<<3)+h>>3]=A[(a+k<<3)+h>>3];k=k+1|0;e=e-1|0;if(e){continue}break};break i;case 7:if((d|0)>99){break h}a=(d<<3)+h|0;J=a,L=Ve(A[a>>3]),A[J>>3]=L;break i;case 8:if((d|0)>99){break h}e=(d<<3)+h|0;f=A[e>>3];p:{if(D(f)<2147483648){a=~~f;break p}a=-2147483648}A[e>>3]=a|0;break i;case 9:if((d|0)>99){break h}break i;case 10:if((d|0)>98){break h}f=A[(d<<3)+h>>3];if(f==0){e=246581;break g}d=d+1|0;a=(d<<3)+h|0;A[a>>3]=A[a>>3]/f;break i;case 11:if((d|0)>99){break h}if((d|0)<1){e=246504;break g}a=d-1|0;A[(a<<3)+h>>3]=A[(d<<3)+h>>3];d=a;break i;case 12:if((d|0)>98){break h}a=d+1|0;e=(a<<3)+h|0;A[e>>3]=A[e>>3]==A[(d<<3)+h>>3]?1:0;d=a;break i;case 13:if((d|0)>98){break h}a=(d<<3)+h|0;f=A[a>>3];A[a>>3]=A[a+8>>3];A[a+8>>3]=f;break i;case 14:if((d|0)>98){break h}a=d+1|0;e=(a<<3)+h|0;J=e,L=de(A[e>>3],A[(d<<3)+h>>3]),A[J>>3]=L;d=a;break i;case 15:if((d|0)<1){e=246504;break g}d=d-1|0;a=(d<<3)+h|0;v[a>>2]=0;v[a+4>>2]=0;break i;case 16:if((d|0)>99){break h}a=(d<<3)+h|0;A[a>>3]=H(A[a>>3]);break i;case 17:if((d|0)>98){break h}a=d+1|0;e=(a<<3)+h|0;A[e>>3]=A[e>>3]>=A[(d<<3)+h>>3]?1:0;d=a;break i;case 18:if((d|0)>98){break h}a=d+1|0;e=(a<<3)+h|0;A[e>>3]=A[e>>3]>A[(d<<3)+h>>3]?1:0;d=a;break i;case 19:if((d|0)>98){break h}f=A[(d<<3)+h>>3];q:{if(D(f)<2147483648){a=~~f;break q}a=-2147483648}if(!a){e=246581;break g}d=d+1|0;g=(d<<3)+h|0;f=A[g>>3];r:{if(D(f)<2147483648){e=~~f;break r}e=-2147483648}A[g>>3]=(e|0)/(a|0)|0;break i;case 20:e=246542;if((d|0)>99){break g}g=(d<<3)+h|0;f=A[g>>3];s:{if(D(f)<2147483648){a=~~f;break s}a=-2147483648}if((a|0)<0){e=246581;break g}a=(a+d|0)+1|0;if((a|0)>99){break g}A[g>>3]=A[(a<<3)+h>>3];break i;case 21:if((d|0)>98){break h}a=d+1|0;e=(a<<3)+h|0;A[e>>3]=A[e>>3]<=A[(d<<3)+h>>3]?1:0;d=a;break i;case 22:if((d|0)>99){break h}a=(d<<3)+h|0;J=a,L=er(A[a>>3]),A[J>>3]=L;break i;case 23:if((d|0)>99){break h}a=(d<<3)+h|0;m=a;f=A[a>>3];o(+f);g=j(1)|0;a=j(0)|0;t:{u:{v:{w:{e=g;g=e;if(!(e>>>0>=1048576&(e|0)>-1)){s=-1/(f*f);if(!(e&2147483647|a)){break t}if((e|0)>-1){break w}s=(f-f)/0;break t}if(g>>>0>2146435071){break u}e=1072693248;k=-1023;if((g|0)!=1072693248){e=g;break v}if(a){break v}s=0;break t}o(+(f*0x40000000000000));e=j(1)|0;a=j(0)|0;k=-1077}e=e+614242|0;B=+((e>>>20|0)+k|0);u=B*.30102999566361177;l(0,a|0);l(1,(e&1048575)+1072079006|0);q=+n()+-1;w=q*(q*.5);x=q/(q+2);y=x*x;f=y*y;o(+(q-w));a=j(1)|0;j(0)|0;l(0,0);l(1,a|0);s=+n();C=s*.4342944818781689;E=u+C;f=q-s-w+x*(w+(f*(f*(f*.15313837699209373+.22222198432149784)+.3999999999940942)+y*(f*(f*(f*.14798198605116586+.1818357216161805)+.2857142874366239)+.6666666666666735)));f=E+(C+(u-E)+(f*.4342944818781689+(B*3.694239077158931e-13+(f+s)*2.5082946711645275e-11)))}s=f}A[m>>3]=s;break i;case 24:if((d|0)>98){break h}a=d+1|0;e=(a<<3)+h|0;A[e>>3]=A[e>>3]>3]?1:0;d=a;break i;case 25:if((d|0)>98){break h}f=A[(d<<3)+h>>3];x:{if(D(f)<2147483648){a=~~f;break x}a=-2147483648}if(!a){e=246581;break g}d=d+1|0;g=(d<<3)+h|0;f=A[g>>3];y:{if(D(f)<2147483648){e=~~f;break y}e=-2147483648}A[g>>3]=(e|0)%(a|0)|0;break i;case 26:if((d|0)>98){break h}a=d+1|0;e=(a<<3)+h|0;A[e>>3]=A[e>>3]*A[(d<<3)+h>>3];d=a;break i;case 27:if((d|0)>98){break h}a=d+1|0;e=(a<<3)+h|0;A[e>>3]=A[e>>3]!=A[(d<<3)+h>>3]?1:0;d=a;break i;case 28:if((d|0)>99){break h}a=(d<<3)+h|0;A[a>>3]=-A[a>>3];break i;case 29:if((d|0)>99){break h}a=(d<<3)+h|0;A[a>>3]=A[a>>3]==0?1:0;break i;case 30:if((d|0)>98){break h}e=d+1|0;g=(e<<3)+h|0;f=A[g>>3];z:{if(D(f)<2147483648){a=~~f;break z}a=-2147483648}f=A[(d<<3)+h>>3];A:{if(D(f)<2147483648){d=~~f;break A}d=-2147483648}A[g>>3]=d|a;d=e;break i;case 31:if((d|0)>99){break h}d=d+1|0;break i;case 32:e=246542;if((d|0)>98){break g}a=(d<<3)+h|0;f=A[a+8>>3];B:{if(D(f)<2147483648){g=~~f;break B}g=-2147483648}m=(g|0)<0;f=A[a>>3];C:{if(D(f)<2147483648){k=~~f;break C}k=-2147483648}a=d+2|0;if(m){e=246581;d=a;break g}D:{if(!g){break D}if((a+g|0)>100){d=a;break g}if((k|0)>=0){e=(k>>>0)%(g>>>0)|0}else{e=(0-k>>>0)%(g>>>0)|0;e=e?g-e|0:0}k=gc(t,(d<<3)+G|0,g<<3);d=0;if((g|0)!=1){m=g&-2;while(1){A[(a+d<<3)+h>>3]=A[k+((d+e|0)%(g|0)<<3)>>3];F=d|1;A[(a+F<<3)+h>>3]=A[k+((e+F|0)%(g|0)<<3)>>3];d=d+2|0;m=m-2|0;if(m){continue}break}}if(!(g&1)){break D}A[(a+d<<3)+h>>3]=A[k+((d+e|0)%(g|0)<<3)>>3]}d=a;break i;case 33:if((d|0)>99){break h}a=(d<<3)+h|0;f=A[a>>3];A[a>>3]=f>=0?H(f+.5):I(f+-.5);break i;case 34:if((d|0)>99){break h}a=(d<<3)+h|0;J=a,L=Ee(A[a>>3]),A[J>>3]=L;break i;case 35:if((d|0)>99){break h}a=(d<<3)+h|0;A[a>>3]=K(A[a>>3]);break i;case 36:if((d|0)>98){break h}a=d+1|0;e=(a<<3)+h|0;A[e>>3]=A[e>>3]-A[(d<<3)+h>>3];d=a;break i;case 37:if((d|0)<1){e=246504;break g}d=d-1|0;a=(d<<3)+h|0;v[a>>2]=0;v[a+4>>2]=1072693248;break i;case 38:if((d|0)>99){break h}a=(d<<3)+h|0;f=A[a>>3];A[a>>3]=f>=0?H(f):I(f);break i;case 39:if((d|0)>98){break h}e=d+1|0;g=(e<<3)+h|0;f=A[g>>3];E:{if(D(f)<2147483648){a=~~f;break E}a=-2147483648}f=A[(d<<3)+h>>3];F:{if(D(f)<2147483648){d=~~f;break F}d=-2147483648}A[g>>3]=d^a;d=e;break i;case 40:if((d|0)<1){e=246504;break g}d=d-1|0;A[(d<<3)+h>>3]=A[(r+(a<<4)|0)+8>>3];break i;case 41:i=v[(r+(a<<4)|0)+8>>2];break i;case 42:break j;default:break i}}if((d|0)>99){break h}f=A[(d<<3)+h>>3];G:{if(D(f)<2147483648){e=~~f;break G}e=-2147483648}d=d+1|0;if(e){break i}i=v[(r+(a<<4)|0)+8>>2]}if((i|0)<(z|0)){continue}break f}break}e=246542}kc(1,-1,e,0)}Qb=t+800|0;e=d;i=v[p+8>>2];if((d|0)>(100-i|0)){kc(1,-1,246542,0);i=v[p+8>>2];e=100-i|0}d=0;if((i|0)>0){while(1){f=A[(((d^-1)+e|0)+i<<3)+h>>3];g=p+(d<<4)|0;q=A[g+528>>3];H:{if(f>3]=q;break H}a=(d<<3)+c|0;q=A[g+536>>3];if(q>3]=q;break H}A[a>>3]=f}d=d+1|0;if((i|0)!=(d|0)){continue}break}}a=v[p+4>>2];I:{if((a|0)<1){break I}k=a&3;d=0;if(a-1>>>0>=3){g=a&-4;a=p+1064|0;while(1){e=d<<3;A[e+a>>3]=A[b+e>>3];r=e|8;A[r+a>>3]=A[b+r>>3];r=e|16;A[r+a>>3]=A[b+r>>3];e=e|24;A[e+a>>3]=A[b+e>>3];d=d+4|0;g=g-4|0;if(g){continue}break}}if(!k){break I}while(1){a=d<<3;A[(a+p|0)+1064>>3]=A[a+b>>3];d=d+1|0;k=k-1|0;if(k){continue}break}}if((i|0)<1){break a}e=i&3;b=0;if(i-1>>>0>=3){i=i&-4;a=p+1320|0;while(1){d=b<<3;A[d+a>>3]=A[c+d>>3];g=d|8;A[g+a>>3]=A[c+g>>3];g=d|16;A[g+a>>3]=A[c+g>>3];d=d|24;A[d+a>>3]=A[c+d>>3];b=b+4|0;i=i-4|0;if(i){continue}break}}if(!e){break a}while(1){a=b<<3;A[(a+p|0)+1320>>3]=A[a+c>>3];b=b+1|0;e=e-1|0;if(e){continue}break}}Qb=h+800|0}function $5a(a){a=a|0;var 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,w=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;i=Qb-7072|0;Qb=i;u[i+7068>>1]=x[98954];v[i+7064>>2]=x[98952]|x[98953]<<16;K=a,L=ic(a+232|0,0,24576),v[K+24812>>2]=L;v[289140]=0;v[289141]=0;v[289139]=0;while(1){d=(i+96|0)+(b<<1)|0;u[d>>1]=2048;u[d+2>>1]=2048;u[d+4>>1]=2048;u[d+6>>1]=2048;u[d+16>>1]=2048;u[d+8>>1]=2048;u[d+10>>1]=2048;u[d+12>>1]=2048;u[d+14>>1]=2048;b=b+9|0;if((b|0)!=3474){continue}break}a:{if(!x[a+26308>>1]){break a}o=v[252391];b=0;while(1){b:{if(b){m=0;u[i+7060>>1]=0;v[i+7056>>2]=0;break b}c:{d:{e:{c=v[289140];if((c|0)>=6){b=v[289139];break e}while(1){f:{b=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;g:{if((b|0)==-1){if(!v[a+26160>>2]){v[i+80>>2]=v[a+25208>>2];wc(o,8292,i+80|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,o);v[a+26160>>2]=1;v[289141]=0;break g}d=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[i+64>>2]=d;v[i+68>>2]=d>>31;wc(o,14622,i- -64|0)}v[a+26160>>2]=1;v[289141]=0;break g}if(!((b|0)==255?v[a+26144>>2]:0)){v[289141]=0;break g}d=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[289141]=(d|0)!=0;if(d){break f}}d=v[289140];c=d+8|0;v[289140]=c;b=b&255|v[289139]<<8;v[289139]=b;if((d|0)<-2){continue}break e}break}m=0;u[i+7056>>1]=0;break d}e=c-6|0;v[289140]=e;m=b<<32-c>>>26|0;u[i+7056>>1]=m;if((c|0)>=12){b=v[289139];break c}while(1){b=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;h:{i:{if((b|0)!=-1){if(!v[a+26144>>2]|(b|0)!=255){break i}d=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[289141]=(d|0)!=0;if(!d){break h}break d}j:{if(v[a+26160>>2]){break j}v[i+48>>2]=v[a+25208>>2];wc(o,8292,i+48|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,o);break j}d=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[i+32>>2]=d;v[i+36>>2]=d>>31;wc(o,14622,i+32|0)}v[a+26160>>2]=1}v[289141]=0}d=v[289140];e=d+8|0;v[289140]=e;b=b&255|v[289139]<<8;v[289139]=b;if((d|0)<-2){continue}break}break c}u[i+7058>>1]=0;u[i+7060>>1]=0;break b}c=e-6|0;v[289140]=c;u[i+7058>>1]=b<<32-e>>>26;k:{l:{if((e|0)>=12){b=v[289139];break l}while(1){b=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;m:{n:{if((b|0)!=-1){if(!v[a+26144>>2]|(b|0)!=255){break n}c=0;d=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[289141]=(d|0)!=0;if(!d){break m}break k}o:{if(v[a+26160>>2]){break o}v[i+16>>2]=v[a+25208>>2];wc(o,8292,i+16|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,o);break o}d=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[i>>2]=d;v[i+4>>2]=d>>31;wc(o,14622,i)}v[a+26160>>2]=1}v[289141]=0}d=v[289140];c=d+8|0;v[289140]=c;b=b&255|v[289139]<<8;v[289139]=b;if((d|0)<-2){continue}break}}v[289140]=c-6;c=b<<32-c>>>26|0}u[i+7060>>1]=c}E=p-1|0;w=0;l=0;while(1){q=m<<16>>16;e=(i+7064|0)+(l<<1)|0;d=B(q,(16777216/u[e>>1]|0)+2047>>12);b=(d|0)>65564?10:12;c=d<<12-b;g=-1<>1]=g+B(c,u[f>>1])>>b;u[f+2>>1]=g+B(c,u[f+2>>1])>>b;u[f+4>>1]=g+B(c,u[f+4>>1])>>b;d=d+3|0;if((d|0)!=1158){continue}break}u[e>>1]=m;F=l?1:2;G=l?772:770;H=!l<<1|k;A=2-l|0;C=m<<7;y=k+1544|0;z=l+E|0;I=(h|z<<1&14)<<1;D=z+2|0;J=(h|D<<1&14)<<1;c=x[a+26310>>1];t=0;while(1){r=1;d=c&65535;b=d>>>1|0;f=(b<<1)+k|0;u[f+772>>1]=C;u[f+1544>>1]=C;if(d>>>0>1){while(1){r=rl(a,r);p:{if(!r){if(!l){while(1){d=1;if((b|0)>=3){d=rl(a,9)+1|0}h=0;f=b;while(1){q:{if((d|0)<=(h|0)){b=f;break q}if((f|0)<1){b=f;break q}b=f-2|0;j=(i+96|0)+(f<<1)|0;e=x[j>>1];g=x[j+772>>1];c=f;while(1){n=e<<16;c=c-1|0;s=(i+96|0)+(c<<1)|0;e=u[s>>1];g=(((e<<1)+(n>>16)|0)+(g<<16>>16)|0)/4|0;u[s+772>>1]=g;if((b|0)<(c|0)){continue}break}e=x[j+1544>>1];g=x[j+772>>1];c=f;while(1){j=g<<16;c=c-1|0;n=(i+96|0)+(c<<1)|0;g=u[n+772>>1];e=(((g<<1)+(j>>16)|0)+(e<<16>>16)|0)/4|0;u[n+1544>>1]=e;if((b|0)<(c|0)){continue}break}if(h&1){g=rl(a,10)<<4;c=f;while(1){c=c-1|0;e=(c<<1)+i|0;u[e+868>>1]=g+x[e+868>>1];if((b|0)<(c|0)){continue}break}while(1){f=f-1|0;c=((f<<1)+i|0)+1640|0;u[c>>1]=g+x[c>>1];if((b|0)<(f|0)){continue}break}}f=b;h=h+1|0;if((h|0)!=8){continue}}break}if((d|0)==9){continue}break p}}while(1){j=1;if((b|0)>=3){j=rl(a,9)+1|0}f=0;d=b;while(1){r:{if((f|0)>=(j|0)){b=d;break r}if((d|0)<1){b=d;break r}g=(d<<1)+k|0;e=x[g+772>>1];b=d-2|0;c=d;while(1){c=c-1|0;h=(c<<1)+k|0;e=(u[h>>1]+(e<<16>>16)|0)/2|0;u[h+772>>1]=e;if((b|0)<(c|0)){continue}break}e=x[g+1544>>1];c=d;while(1){c=c-1|0;g=(c<<1)+k|0;e=(u[g+772>>1]+(e<<16>>16)|0)/2|0;u[g+1544>>1]=e;if((b|0)<(c|0)){continue}break}if(f&1){g=rl(a,10)<<4;c=d;while(1){c=c-1|0;h=(c<<1)+k|0;u[h+772>>1]=g+x[h+772>>1];if((b|0)<(c|0)){continue}break}while(1){d=d-1|0;c=((d<<1)+k|0)+1544|0;u[c>>1]=g+x[c>>1];if((b|0)<(d|0)){continue}break}}d=b;f=f+1|0;if((f|0)!=8){continue}}break}if((j|0)==9){continue}break}break p}c=b-2|0;e=b;s:{if((r|0)!=8){e=r+10|0;g=b-1|0;j=g;f=g;d=b;h=b;if(l){break s}while(1){n=rl(a,e);h=i+868|0;f=j;s=f<<1;d=d<<1;j=i+96|0;u[h+s>>1]=(((u[d+j>>1]+(u[j+s>>1]<<1)|0)+u[d+h>>1]|0)/4|0)+(n<<4);j=f-1|0;d=f;if((d|0)>(c|0)){continue}break}while(1){f=rl(a,e);j=i+1640|0;d=g;n=d<<1;b=b<<1;u[j+n>>1]=(((u[b+h>>1]+(u[h+n>>1]<<1)|0)+u[b+j>>1]|0)/4|0)+(f<<4);g=d-1|0;b=d;if((c|0)<(b|0)){continue}break}b=c;break p}while(1){e=e-1|0;K=(e<<1)+k|0,L=B(rl(a,18),m),u[K+772>>1]=L;if((c|0)<(e|0)){continue}break}while(1){b=b-1|0;K=((b<<1)+k|0)+1544|0,L=B(rl(a,18),m),u[K>>1]=L;if((b|0)>(c|0)){continue}break}b=c;break p}while(1){d=rl(a,e);j=k+772|0;n=f<<1;u[j+n>>1]=((u[j+(h<<1)>>1]+u[k+n>>1]|0)/2|0)+(d<<4);h=f;f=f-1|0;if((c|0)<(h|0)){continue}break}while(1){f=rl(a,e);d=g;h=d<<1;u[h+y>>1]=((u[(b<<1)+y>>1]+u[(h+k|0)+772>>1]|0)/2|0)+(f<<4);g=d-1|0;b=d;if((c|0)<(b|0)){continue}break}b=c}if((b|0)>0){continue}break}}c=x[a+26310>>1];t:{u:{if(l){if((c&65535)>>>0<2){break t}f=v[a+26028>>2]>>>I&3;g=v[a+26352>>2];b=0;while(1){c=b<<1;d=(u[(c+k|0)+772>>1]<<4)/(q|0)|0;h=x[a+26316>>1];u[(g+(B(x[a+26320>>1],z>>h)+(c+A>>h)<<3)|0)+(f<<1)>>1]=(d|0)>0?d:0;b=b+1|0;c=x[a+26310>>1];if(b>>>0>>1>>>0){continue}break}if(c>>>0>1){break u}break t}if((c&65535)>>>0<2){break t}d=(t<<1)+p|0;g=v[a+26028>>2]>>>(d<<2&24)&3;h=v[a+26352>>2];b=0;while(1){c=b<<1;f=(u[(c+i|0)+868>>1]<<4)/(q|0)|0;e=x[a+26316>>1];u[(h+(B(x[a+26320>>1],d>>>e|0)+(c>>>e|0)<<3)|0)+(g<<1)>>1]=(f|0)>0?f:0;b=b+1|0;c=x[a+26310>>1];if(b>>>0>>1>>>0){continue}break}if(c>>>0<2){break t}f=d|1;g=v[a+26028>>2]>>>(f<<2&28|2)&3;h=v[a+26352>>2];b=0;while(1){c=b<<1;d=(u[(c+i|0)+1640>>1]<<4)/(q|0)|0;e=x[a+26316>>1];u[(h+(B(x[a+26320>>1],f>>>e|0)+((c|1)>>>e|0)<<3)|0)+(g<<1)>>1]=(d|0)>0?d:0;b=b+1|0;c=x[a+26310>>1];if(b>>>0>>1>>>0){continue}break}break t}f=v[a+26028>>2]>>>J&3;g=v[a+26352>>2];b=0;while(1){c=b<<1;d=(u[(c+k|0)+1544>>1]<<4)/(q|0)|0;h=x[a+26316>>1];u[(g+(B(x[a+26320>>1],D>>h)+(c+A>>h)<<3)|0)+(f<<1)>>1]=(d|0)>0?d:0;b=b+1|0;c=x[a+26310>>1];if(b>>>0>>1>>>0){continue}break}}gc(H,y,G);t=t+1|0;if((F|0)!=(t|0)){continue}break}l=l+1|0;if((l|0)!=3){w=w^1;m=x[(i+7056|0)+(l<<1)>>1];continue}break}e=c&65535;v:{if(!e){break v}f=p<<1&8;b=0;while(1){d=b&1;if(d){c=x[a+26316>>1];g=B(x[a+26320>>1],p>>>c|0);h=v[a+26352>>2];j=v[a+26028>>2];k=(h+(g+(b>>>c|0)<<3)|0)+((j>>>((d|f)<<1)&3)<<1)|0;d=b+1|0;b=b-1|0;e=d>>>0>>0?d:b;b=((x[k>>1]<<1)+(x[(h+(g+(e>>c)<<3)|0)+((j>>>((f|e&1)<<1)&3)<<1)>>1]+x[(h+(g+(b>>c)<<3)|0)+((j>>>((f|b&1)<<1)&3)<<1)>>1]>>>1|0)|0)-4096|0;u[k>>1]=(b|0)>0?b:0;c=x[a+26310>>1];b=d}else{b=b+1|0}e=c&65535;if(b>>>0>>0){continue}break}e=c&65535;if(!e){break v}k=p|1;f=k<<1&10;b=0;while(1){d=b&1;if(d){b=b+1|0}else{c=x[a+26316>>1];g=B(x[a+26320>>1],k>>>c|0);h=v[a+26352>>2];j=v[a+26028>>2];l=(h+(g+(b>>>c|0)<<3)|0)+((j>>>((d|f)<<1)&3)<<1)|0;d=b+1|0;m=b-1|0;e=d>>>0>>0?d:m;b=b?m:1;b=((x[l>>1]<<1)+(x[(h+(g+(e>>c)<<3)|0)+((j>>>((f|e&1)<<1)&3)<<1)>>1]+x[(h+(g+(b>>c)<<3)|0)+((j>>>((f|b&1)<<1)&3)<<1)>>1]>>>1|0)|0)-4096|0;u[l>>1]=(b|0)>0?b:0;c=x[a+26310>>1];b=d}e=c&65535;if(b>>>0>>0){continue}break}e=c&65535;if(!e){break v}k=p|2;f=k<<1&12;b=0;while(1){d=b&1;if(d){c=x[a+26316>>1];g=B(x[a+26320>>1],k>>>c|0);h=v[a+26352>>2];j=v[a+26028>>2];l=(h+(g+(b>>>c|0)<<3)|0)+((j>>>((d|f)<<1)&3)<<1)|0;d=b+1|0;b=b-1|0;e=d>>>0>>0?d:b;b=((x[l>>1]<<1)+(x[(h+(g+(e>>c)<<3)|0)+((j>>>((f|e&1)<<1)&3)<<1)>>1]+x[(h+(g+(b>>c)<<3)|0)+((j>>>((f|b&1)<<1)&3)<<1)>>1]>>>1|0)|0)-4096|0;u[l>>1]=(b|0)>0?b:0;c=x[a+26310>>1];b=d}else{b=b+1|0}e=c&65535;if(b>>>0>>0){continue}break}e=c&65535;if(!e){break v}k=p|3;f=k<<1&14;b=0;while(1){d=b&1;if(d){b=b+1|0}else{c=x[a+26316>>1];g=B(x[a+26320>>1],k>>>c|0);h=v[a+26352>>2];j=v[a+26028>>2];l=(h+(g+(b>>>c|0)<<3)|0)+((j>>>((d|f)<<1)&3)<<1)|0;d=b+1|0;m=b-1|0;e=d>>>0>>0?d:m;b=b?m:1;b=((x[l>>1]<<1)+(x[(h+(g+(e>>c)<<3)|0)+((j>>>((f|e&1)<<1)&3)<<1)>>1]+x[(h+(g+(b>>c)<<3)|0)+((j>>>((f|b&1)<<1)&3)<<1)>>1]>>>1|0)|0)-4096|0;u[l>>1]=(b|0)>0?b:0;c=x[a+26310>>1];b=d}e=c&65535;if(b>>>0>>0){continue}break}}p=p+4|0;if(p>>>0>=x[a+26308>>1]){break a}b=v[289141];continue}}v[a+26136>>2]=0;v[a+26124>>2]=4095;Qb=i+7072|0}function Sm(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0;k=Qb+-64|0;Qb=k;v[k+48>>2]=13;v[k+32>>2]=13;v[k+16>>2]=13;a:{b:{c:{d:{e:{if((b|0)<0){break e}i=v[a+12>>2];if((i|0)<=(b|0)){break e}f:{g:{if(!(v[a+1168>>2]==(b|0)&v[a+1172>>2]==(c|0))){h=a+1192|0;if(v[h>>2]==(b|0)){f=1;if(v[a+1196>>2]==(c|0)){break c}}h:{o=a+1216|0;if(v[o>>2]!=(b|0)){break h}f=2;if(v[a+1220>>2]!=(c|0)){break h}h=o;break c}i:{p=a+1240|0;if(v[p>>2]!=(b|0)){break i}f=3;if(v[a+1244>>2]!=(c|0)){break i}h=p;break c}j:{q=a+1264|0;if(v[q>>2]!=(b|0)){break j}f=4;if(v[a+1268>>2]!=(c|0)){break j}h=q;break c}k:{m=a+1288|0;if(v[m>>2]!=(b|0)){break k}f=5;if(v[a+1292>>2]!=(c|0)){break k}h=m;break c}l:{l=a+1312|0;if(v[l>>2]!=(b|0)){break l}f=6;if(v[a+1316>>2]!=(c|0)){break l}h=l;break c}m:{r=a+1336|0;if(v[r>>2]!=(b|0)){break m}f=7;if(v[a+1340>>2]!=(c|0)){break m}h=r;break c}n:{s=a+1360|0;if(v[s>>2]!=(b|0)){break n}f=8;if(v[a+1364>>2]!=(c|0)){break n}h=s;break c}o:{t=a+1384|0;if(v[t>>2]!=(b|0)){break o}f=9;if(v[a+1388>>2]!=(c|0)){break o}h=t;break c}p:{u=a+1408|0;if(v[u>>2]!=(b|0)){break p}f=10;if(v[a+1412>>2]!=(c|0)){break p}h=u;break c}q:{w=a+1432|0;if(v[w>>2]!=(b|0)){break q}f=11;if(v[a+1436>>2]!=(c|0)){break q}h=w;break c}r:{x=a+1456|0;if(v[x>>2]!=(b|0)){break r}f=12;if(v[a+1460>>2]!=(c|0)){break r}h=x;break c}s:{y=a+1480|0;if(v[y>>2]!=(b|0)){break s}f=13;if(v[a+1484>>2]!=(c|0)){break s}h=y;break c}t:{z=a+1504|0;if(v[z>>2]!=(b|0)){break t}f=14;if(v[a+1508>>2]!=(c|0)){break t}h=z;break c}u:{D=a+1528|0;if(v[D>>2]!=(b|0)){break u}f=15;if(v[a+1532>>2]!=(c|0)){break u}h=D;break c}g=v[a+8>>2];f=g+B(b,12)|0;switch(v[f+8>>2]-1|0){case 0:break f;case 1:break g;default:break e}}zf(a+1176|0,d);break b}f=v[f>>2];if(!((f|0)<(i|0)&v[(g+B(f,12)|0)+8>>2]==1)){kc(1,-1,256666,0);break e}E=v[(g+B(b,12)|0)+4>>2];e=v[a+80>>2];v:{if(!(!e|(f|0)!=v[e>>2])){f=v[a+1108>>2];v[a+596>>2]=f;v[a+1108>>2]=f+1;break v}w:{i=v[a+592>>2];if((i|0)>=2){e=1;while(1){g=v[((e<<2)+a|0)+80>>2];if(!(!g|(f|0)!=v[g>>2])){f=e;if(e&1){f=a+80|0;i=e<<2;n=f+i|0;C=f;f=e-1|0;j=f<<2;v[n>>2]=v[C+j>>2];C=i;i=a+596|0;v[C+i>>2]=v[i+j>>2]}if((e|0)!=1){i=a+80|0;j=a+596|0;while(1){e=f<<2;n=e-4|0;A=n+i|0;v[e+i>>2]=v[A>>2];n=j+n|0;v[e+j>>2]=v[n>>2];C=A;e=f-2|0;A=e<<2;v[C>>2]=v[A+i>>2];v[n>>2]=v[j+A>>2];A=(f|0)>2;f=e;if(A){continue}break}}v[a+80>>2]=g;break w}e=e+1|0;if((i|0)!=(e|0)){continue}break}}A=fc(20);v[299999]=0;g=Y(4034,A|0,a|0,f|0)|0;e=v[299999];v[299999]=0;x:{y:{if((e|0)!=1){if(v[g+16>>2]){break y}f=v[g+8>>2];z:{if(!f){break z}if(v[g+4>>2]>=1){e=0;while(1){v[299999]=0;R(3098,(e<<4)+f|0);f=v[299999];v[299999]=0;if((f|0)==1){break x}f=v[g+8>>2];e=e+1|0;if((e|0)>2]){continue}break}if(!f){break z}}dc(f)}e=v[g+12>>2];v[299999]=0;uc(e);e=v[299999];v[299999]=0;if((e|0)==1){break x}dc(A);e=0;break v}a=P()|0;O()|0;dc(A);T(a|0);L()}f=v[a+592>>2];if((f|0)==128){i=a;j=v[a+588>>2];if(j){f=v[j+8>>2];A:{if(!f){break A}if(v[j+4>>2]>=1){e=0;while(1){v[299999]=0;R(3098,(e<<4)+f|0);f=v[299999];v[299999]=0;if((f|0)==1){break x}f=v[j+8>>2];e=e+1|0;if((e|0)>2]){continue}break}if(!f){break A}}dc(f)}e=v[j+12>>2];v[299999]=0;uc(e);e=v[299999];v[299999]=0;if((e|0)==1){break x}dc(j);f=v[a+592>>2]-1|0}else{f=127}v[i+592>>2]=f}if((f|0)>=1){e=f;if(e&1){e=a+80|0;i=f<<2;n=e+i|0;C=e;e=f-1|0;j=e<<2;v[n>>2]=v[C+j>>2];C=i;i=a+596|0;v[C+i>>2]=v[i+j>>2]}if((f|0)!=1){i=a+80|0;j=a+596|0;while(1){f=e<<2;F=f-4|0;n=F+i|0;v[f+i>>2]=v[n>>2];F=j+F|0;v[f+j>>2]=v[F>>2];C=n;f=e-2|0;n=f<<2;v[C>>2]=v[n+i>>2];v[F>>2]=v[j+n>>2];n=(e|0)>2;e=f;if(n){continue}break}}f=v[a+592>>2]}v[a+80>>2]=A;v[a+592>>2]=f+1;break w}break a}e=v[a+1108>>2];v[a+596>>2]=e;v[a+1108>>2]=e+1;e=g}f=e;g=0;B:{if(!e){break B}C:{e=v[a+592>>2];if((e|0)<2){break C}e=e-1|0;if(v[a+1108>>2]-v[((e<<2)+a|0)+596>>2]>>>0<1001){break C}D:{i=v[((e<<2)+a|0)+80>>2];if(i){g=v[i+8>>2];E:{if(!g){break E}if(v[i+4>>2]>=1){e=0;while(1){v[299999]=0;R(3098,(e<<4)+g|0);g=v[299999];v[299999]=0;if((g|0)==1){break D}g=v[i+8>>2];e=e+1|0;if((e|0)>2]){continue}break}if(!g){break E}}dc(g)}e=v[i+12>>2];v[299999]=0;uc(e);e=v[299999];v[299999]=0;if((e|0)==1){break D}dc(i);e=v[a+592>>2]-1|0}v[((e<<2)+a|0)+80>>2]=0;v[a+592>>2]=e;break C}break a}if(!(!((E|0)<0|(E|0)>=v[f+4>>2])&v[v[f+12>>2]+(E<<2)>>2]==(b|0))){v[d>>2]=5;g=1;break B}zf(v[f+8>>2]+(E<<4)|0,d);g=1}if(!g){break e}break d}if(v[f+4>>2]!=(c|0)){break e}v[k+48>>2]=5;g=fc(56);v[299999]=0;i=S(1,160)|0;j=v[299999];v[299999]=0;F:{G:{H:{I:{if((j|0)==1){break I}j=v[a>>2];E=v[v[j>>2]+92>>2];f=v[f>>2];A=v[a+4>>2];v[299999]=0;f=ca(E|0,j|0,f+A|0,0,0,k+48|0)|0;j=v[299999];v[299999]=0;if((j|0)==1){break H}v[299999]=0;f=Y(4033,i|0,a|0,f|0)|0;j=v[299999];v[299999]=0;if((j|0)==1){break H}v[299999]=0;f=Z(3437,g|0,a|0,f|0,1)|0;i=v[299999];v[299999]=0;if((i|0)==1){break I}Kg(f,k+48|0,1,0,0,0,0,0,0);Kg(f,k+32|0,1,0,0,0,0,0,0);Kg(f,k+16|0,1,0,0,0,0,0,0);J:{if(v[k+48>>2]!=1|v[k+56>>2]!=(b|0)|(v[k+32>>2]!=1|v[k+40>>2]!=(c|0))){break J}if(v[k+16>>2]!=10){break J}if(!mc(v[k+24>>2],263615)){break F}}hc(k+48|0);hc(k+32|0);hc(k+16|0);Zk(f);dc(g);break e}b=P()|0;O()|0;break G}b=P()|0;O()|0;dc(i)}dc(g);T(b|0);L()}Kg(f,d,0,v[a+1112>>2]?a+1124|0:0,v[a+1164>>2],v[a+1156>>2],b,c,e);hc(k+48|0);hc(k+32|0);hc(k+16|0);Zk(f);dc(g);break d}v[d>>2]=5;break b}if(v[a+1528>>2]>=0){hc(a+1536|0)}e=v[z+4>>2];v[D>>2]=v[z>>2];v[D+4>>2]=e;e=v[z+20>>2];v[D+16>>2]=v[z+16>>2];v[D+20>>2]=e;e=v[z+12>>2];v[D+8>>2]=v[z+8>>2];v[D+12>>2]=e;e=v[y+20>>2];v[z+16>>2]=v[y+16>>2];v[z+20>>2]=e;e=v[y+12>>2];v[z+8>>2]=v[y+8>>2];v[z+12>>2]=e;e=v[y+4>>2];v[z>>2]=v[y>>2];v[z+4>>2]=e;e=v[x+20>>2];v[y+16>>2]=v[x+16>>2];v[y+20>>2]=e;e=v[x+12>>2];v[y+8>>2]=v[x+8>>2];v[y+12>>2]=e;e=v[x+4>>2];v[y>>2]=v[x>>2];v[y+4>>2]=e;e=v[w+20>>2];v[x+16>>2]=v[w+16>>2];v[x+20>>2]=e;e=v[w+12>>2];v[x+8>>2]=v[w+8>>2];v[x+12>>2]=e;e=v[w+4>>2];v[x>>2]=v[w>>2];v[x+4>>2]=e;e=v[u+20>>2];v[w+16>>2]=v[u+16>>2];v[w+20>>2]=e;e=v[u+12>>2];v[w+8>>2]=v[u+8>>2];v[w+12>>2]=e;e=v[u+4>>2];v[w>>2]=v[u>>2];v[w+4>>2]=e;e=v[t+20>>2];v[u+16>>2]=v[t+16>>2];v[u+20>>2]=e;e=v[t+12>>2];v[u+8>>2]=v[t+8>>2];v[u+12>>2]=e;e=v[t+4>>2];v[u>>2]=v[t>>2];v[u+4>>2]=e;e=v[s+20>>2];v[t+16>>2]=v[s+16>>2];v[t+20>>2]=e;e=v[s+12>>2];v[t+8>>2]=v[s+8>>2];v[t+12>>2]=e;e=v[s+4>>2];v[t>>2]=v[s>>2];v[t+4>>2]=e;e=v[r+20>>2];v[s+16>>2]=v[r+16>>2];v[s+20>>2]=e;e=v[r+12>>2];v[s+8>>2]=v[r+8>>2];v[s+12>>2]=e;e=v[r+4>>2];v[s>>2]=v[r>>2];v[s+4>>2]=e;e=v[l+20>>2];v[r+16>>2]=v[l+16>>2];v[r+20>>2]=e;e=v[l+12>>2];v[r+8>>2]=v[l+8>>2];v[r+12>>2]=e;e=v[l+4>>2];v[r>>2]=v[l>>2];v[r+4>>2]=e;e=v[m+20>>2];v[l+16>>2]=v[m+16>>2];v[l+20>>2]=e;e=v[m+12>>2];v[l+8>>2]=v[m+8>>2];v[l+12>>2]=e;e=v[m+4>>2];v[l>>2]=v[m>>2];v[l+4>>2]=e;e=v[q+20>>2];v[m+16>>2]=v[q+16>>2];v[m+20>>2]=e;e=v[q+12>>2];v[m+8>>2]=v[q+8>>2];v[m+12>>2]=e;e=v[q+4>>2];v[m>>2]=v[q>>2];v[m+4>>2]=e;e=v[p+20>>2];v[q+16>>2]=v[p+16>>2];v[q+20>>2]=e;e=v[p+12>>2];v[q+8>>2]=v[p+8>>2];v[q+12>>2]=e;e=v[p+4>>2];v[q>>2]=v[p>>2];v[q+4>>2]=e;e=v[o+20>>2];v[p+16>>2]=v[o+16>>2];v[p+20>>2]=e;e=v[o+12>>2];v[p+8>>2]=v[o+8>>2];v[p+12>>2]=e;e=v[o+4>>2];v[p>>2]=v[o>>2];v[p+4>>2]=e;e=v[h+20>>2];v[o+16>>2]=v[h+16>>2];v[o+20>>2]=e;e=v[h+12>>2];v[o+8>>2]=v[h+8>>2];v[o+12>>2]=e;e=v[h+4>>2];v[o>>2]=v[h>>2];v[o+4>>2]=e;e=v[a+1172>>2];v[h>>2]=v[a+1168>>2];v[h+4>>2]=e;e=a+1176|0;g=v[e+4>>2];v[h+8>>2]=v[e>>2];v[h+12>>2]=g;f=a+1184|0;g=v[f+4>>2];v[h+16>>2]=v[f>>2];v[h+20>>2]=g;v[a+1172>>2]=c;v[a+1168>>2]=b;zf(d,e);break b}o=v[(B(f,24)+a|0)+1176>>2];p=v[h>>2];q=v[h+4>>2];v[k+8>>2]=v[h+20>>2];b=v[h+16>>2];v[k>>2]=v[h+12>>2];v[k+4>>2]=b;e=f-1|0;c=f&3;if(c){while(1){b=B(f,24)+a|0;h=b+1184|0;g=b+1160|0;m=v[g+4>>2];v[h>>2]=v[g>>2];v[h+4>>2]=m;g=b+1152|0;m=v[g+4>>2];h=b+1176|0;v[h>>2]=v[g>>2];v[h+4>>2]=m;h=b+1168|0;b=b+1144|0;g=v[b+4>>2];v[h>>2]=v[b>>2];v[h+4>>2]=g;f=f-1|0;c=c-1|0;if(c){continue}break}}if(e>>>0>=3){while(1){b=B(f,24)+a|0;c=b+1160|0;h=v[c+4>>2];e=b+1184|0;v[e>>2]=v[c>>2];v[e+4>>2]=h;e=b+1152|0;m=v[e+4>>2];h=b+1176|0;v[h>>2]=v[e>>2];v[h+4>>2]=m;h=b+1144|0;l=v[h+4>>2];g=b+1168|0;v[g>>2]=v[h>>2];v[g+4>>2]=l;g=b+1136|0;l=v[g+4>>2];v[c>>2]=v[g>>2];v[c+4>>2]=l;c=b+1128|0;l=v[c+4>>2];v[e>>2]=v[c>>2];v[e+4>>2]=l;e=b+1120|0;l=v[e+4>>2];v[h>>2]=v[e>>2];v[h+4>>2]=l;h=b+1112|0;l=v[h+4>>2];v[g>>2]=v[h>>2];v[g+4>>2]=l;g=b+1104|0;l=v[g+4>>2];v[c>>2]=v[g>>2];v[c+4>>2]=l;c=b+1096|0;l=v[c+4>>2];v[e>>2]=v[c>>2];v[e+4>>2]=l;e=b+1072|0;m=v[e+4>>2];v[c>>2]=v[e>>2];v[c+4>>2]=m;c=b+1088|0;e=v[c+4>>2];v[h>>2]=v[c>>2];v[h+4>>2]=e;b=b+1080|0;c=v[b+4>>2];v[g>>2]=v[b>>2];v[g+4>>2]=c;b=(f|0)>4;f=f-4|0;if(b){continue}break}}v[a+1168>>2]=p;v[a+1172>>2]=q;b=a+1176|0;v[b>>2]=o;c=v[k+4>>2];v[a+1180>>2]=v[k>>2];v[a+1184>>2]=c;v[a+1188>>2]=v[k+8>>2];zf(b,d)}Qb=k- -64|0;return d}W(0)|0;O()|0;lc();L()}function CJ(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=2;if(!(!a|v[a>>2]!=1381173770)){c=v[a+548>>2];a:{if(!c){break a}b=v[c+1120>>2];b:{if(!b){break b}d=v[c+1124>>2];if(!d){break b}Ub[v[a+156>>2]](d,b);c=v[a+548>>2];if(!c){break a}}Ub[v[a+156>>2]](c,1136);v[a+548>>2]=0}c=jc(40);v[c>>2]=0;e=Ue(a+2568|0,1,c,4);f=O()|0;g=a+2532|0;c=0;c:{d:{while(1){e:{f:{g:{if(c){v[299999]=0;Z(755,a|0,6,c|0,0)|0;c=v[299999];v[299999]=0;b=-1;h:{if(!c){break h}d=v[3e5];if(!d){break h}b=sc(v[c>>2],e,f);if(!b){break g}_(d|0)}c=O()|0;if((b|0)==1){continue}break c}if(w[a+2533|0]){c=v[a+2452>>2];v[299999]=0;R(35,c|0);c=v[299999];v[299999]=0;b=-1;i:{if(!c){break i}d=v[3e5];if(!d){break i}b=sc(v[c>>2],e,f);if(!b){break g}_(d|0)}c=O()|0;if((b|0)==1){continue}}if(w[a+2539|0]){c=v[a+2464>>2];v[299999]=0;R(35,c|0);c=v[299999];v[299999]=0;b=-1;j:{if(!c){break j}d=v[3e5];if(!d){break j}b=sc(v[c>>2],e,f);if(!b){break g}_(d|0)}c=O()|0;if((b|0)==1){continue}}if(w[a+2532|0]){c=v[a+2444>>2];v[299999]=0;R(40,c|0);c=v[299999];v[299999]=0;b=-1;k:{if(!c){break k}d=v[3e5];if(!d){break k}b=sc(v[c>>2],e,f);if(!b){break g}_(d|0)}c=O()|0;if((b|0)==1){continue}}c=v[a+2496>>2];if(c){b=v[a+2500>>2];d=v[a+156>>2];v[299999]=0;V(d|0,c|0,b|0);c=v[299999];v[299999]=0;b=-1;l:{if(!c){break l}d=v[3e5];if(!d){break l}b=sc(v[c>>2],e,f);if(!b){break g}_(d|0)}c=O()|0;if((b|0)==1){continue}v[a+2496>>2]=0}c=v[a+2476>>2];if(c){b=v[a+2480>>2];d=v[a+156>>2];v[299999]=0;V(d|0,c|0,b|0);c=v[299999];v[299999]=0;b=-1;m:{if(!c){break m}d=v[3e5];if(!d){break m}b=sc(v[c>>2],e,f);if(!b){break g}_(d|0)}c=O()|0;if((b|0)==1){continue}v[a+2476>>2]=0}c=v[a+2444>>2];if(c){b=v[a+156>>2];v[299999]=0;V(b|0,c|0,432);c=v[299999];v[299999]=0;b=-1;n:{if(!c){break n}d=v[3e5];if(!d){break n}b=sc(v[c>>2],e,f);if(!b){break g}_(d|0)}c=O()|0;if((b|0)==1){continue}v[a+2444>>2]=0}c=v[a+2448>>2];if(c){b=v[a+156>>2];v[299999]=0;V(b|0,c|0,132);c=v[299999];v[299999]=0;b=-1;o:{if(!c){break o}d=v[3e5];if(!d){break o}b=sc(v[c>>2],e,f);if(!b){break g}_(d|0)}c=O()|0;if((b|0)==1){continue}v[a+2448>>2]=0}c=v[a+2452>>2];if(c){b=v[a+156>>2];v[299999]=0;V(b|0,c|0,488);c=v[299999];v[299999]=0;b=-1;p:{if(!c){break p}d=v[3e5];if(!d){break p}b=sc(v[c>>2],e,f);if(!b){break g}_(d|0)}c=O()|0;if((b|0)==1){continue}v[a+2452>>2]=0}c=v[a+2460>>2];if(c){b=v[a+156>>2];v[299999]=0;V(b|0,c|0,28);c=v[299999];v[299999]=0;b=-1;q:{if(!c){break q}d=v[3e5];if(!d){break q}b=sc(v[c>>2],e,f);if(!b){break g}_(d|0)}c=O()|0;if((b|0)==1){continue}v[a+2460>>2]=0}c=v[a+2456>>2];if(c){b=v[a+156>>2];v[299999]=0;V(b|0,c|0,132);c=v[299999];v[299999]=0;b=-1;r:{if(!c){break r}d=v[3e5];if(!d){break r}b=sc(v[c>>2],e,f);if(!b){break g}_(d|0)}c=O()|0;if((b|0)==1){continue}v[a+2456>>2]=0}c=v[a+2464>>2];if(c){b=v[a+156>>2];v[299999]=0;V(b|0,c|0,488);c=v[299999];v[299999]=0;b=-1;s:{if(!c){break s}d=v[3e5];if(!d){break s}b=sc(v[c>>2],e,f);if(!b){break g}_(d|0)}c=O()|0;if((b|0)==1){continue}v[a+2464>>2]=0}c=v[a+2472>>2];if(c){b=v[a+156>>2];v[299999]=0;V(b|0,c|0,28);c=v[299999];v[299999]=0;b=-1;t:{if(!c){break t}d=v[3e5];if(!d){break t}b=sc(v[c>>2],e,f);if(!b){break g}_(d|0)}c=O()|0;if((b|0)==1){continue}v[a+2472>>2]=0}c=v[a+2468>>2];if(c){b=v[a+156>>2];v[299999]=0;V(b|0,c|0,132);c=v[299999];v[299999]=0;b=-1;u:{if(!c){break u}d=v[3e5];if(!d){break u}b=sc(v[c>>2],e,f);if(!b){break g}_(d|0)}c=O()|0;if((b|0)==1){continue}v[a+2468>>2]=0}c=v[a+2524>>2];if(c){b=v[a+2528>>2];d=v[a+156>>2];v[299999]=0;V(d|0,c|0,b|0);c=v[299999];v[299999]=0;b=-1;v:{if(!c){break v}d=v[3e5];if(!d){break v}b=sc(v[c>>2],e,f);if(!b){break g}_(d|0)}c=O()|0;if((b|0)==1){continue}v[a+2524>>2]=0}c=v[a+2516>>2];if(!c){break d}b=v[a+2520>>2];d=v[a+156>>2];v[299999]=0;V(d|0,c|0,b|0);c=v[299999];v[299999]=0;b=-1;if(!c){break e}d=v[3e5];if(!d){break e}b=sc(v[c>>2],e,f);if(b){break f}}dc(e);sd(c,d);L()}_(d|0)}c=O()|0;if((b|0)==1){continue}break}v[a+2516>>2]=0}v[g>>2]=0;u[g+4>>1]=0;t[a+2539|0]=0;t[a+2540|0]=0;t[a+2541|0]=0;t[a+2542|0]=0}dc(e);if(w[a+2420|0]){QA(a);uJ(a)}if(!(w[a+346|0]|!w[a+344|0])){s1(a)}c=v[a+352>>2];if(c){Ub[v[a+156>>2]](c,v[a+348>>2]);v[a+352>>2]=0}c=v[a+360>>2];if(c){Ub[v[a+156>>2]](c,v[a+356>>2]);v[a+360>>2]=0}c=v[a+376>>2];if(c){Ub[v[a+156>>2]](c,v[a+372>>2]);v[a+376>>2]=0}if(v[a+408>>2]){while(1){r1(a);if(v[a+408>>2]){continue}break}}if(v[a+400>>2]){while(1){c=v[a+400>>2];b=v[c>>2];v[a+400>>2]=b;if(!b){v[a+404>>2]=0}w:{x:{if(!w[c+12|0]){break x}b=v[a+160>>2];if(!b){break x}Ub[b|0](a,v[c+4>>2],v[c+8>>2]);break w}b=v[c+4>>2];if(!b){break w}Ub[v[a+156>>2]](b,v[c+8>>2])}Ub[v[a+156>>2]](c,24);if(v[a+400>>2]){continue}break}}c=v[a+428>>2];if(c){Ub[v[a+156>>2]](c,v[a+424>>2]);v[a+428>>2]=0}b=a;a=v[b+276>>2];if(a){while(1){c=v[a+24>>2];Ub[v[a+8>>2]](b,a)|0;a=c;if(a){continue}break}}v[b+276>>2]=0;v[b+280>>2]=0;c=v[b+688>>2];if(c){while(1){a=v[c+8>>2];Ub[v[c>>2]](b,c)|0;c=a;if(a){continue}break}}v[b+688>>2]=0;v[b+692>>2]=0;c=v[b+696>>2];if(c){while(1){a=v[c+8>>2];Ub[v[c>>2]](b,c)|0;c=a;if(a){continue}break}}v[b+696>>2]=0;v[b+700>>2]=0;d=b+2232|0;a=v[b+2232>>2];y:{if(!a){break y}c=v[b+2236>>2];if(!c){break y}Ub[v[b+156>>2]](c,a)}v[b+8>>2]=0;v[b+12>>2]=0;t[b+264|0]=0;v[b+148>>2]=0;v[b+140>>2]=0;v[b+144>>2]=0;t[b+136|0]=0;v[b+132>>2]=0;t[b+60|0]=0;v[b+48>>2]=0;t[b+44|0]=16;v[b+64>>2]=0;v[b+68>>2]=0;v[b+268>>2]=1077952576;v[b+272>>2]=0;v[b+276>>2]=0;v[b+40>>2]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+72>>2]=0;v[b+76>>2]=0;v[b+304>>2]=0;v[b+308>>2]=0;v[b+296>>2]=0;v[b+300>>2]=0;v[b+288>>2]=0;v[b+292>>2]=0;v[b+280>>2]=0;v[b+284>>2]=0;t[b+321|0]=0;t[b+322|0]=0;t[b+323|0]=0;t[b+324|0]=0;t[b+325|0]=0;t[b+326|0]=0;t[b+327|0]=0;t[b+328|0]=0;v[b+316>>2]=0;v[b+320>>2]=0;v[b+336>>2]=0;v[b+340>>2]=0;t[b+343|0]=0;t[b+344|0]=0;t[b+345|0]=0;t[b+346|0]=0;v[b+348>>2]=0;v[b+352>>2]=0;v[b+356>>2]=0;v[b+360>>2]=0;u[b+362>>1]=0;u[b+364>>1]=0;u[b+366>>1]=0;u[b+368>>1]=0;v[b+384>>2]=0;u[b+416>>1]=0;v[b+420>>2]=0;v[b+424>>2]=0;t[b+425|0]=0;t[b+426|0]=0;t[b+427|0]=0;t[b+428|0]=0;t[b+429|0]=0;t[b+430|0]=0;t[b+431|0]=0;t[b+432|0]=0;v[b+436>>2]=0;v[b+440>>2]=0;v[b+444>>2]=0;v[b+448>>2]=0;v[b+452>>2]=0;v[b+456>>2]=0;t[b+460|0]=0;u[b+470>>1]=0;u[b+472>>1]=0;u[b+474>>1]=0;u[b+476>>1]=0;v[b+464>>2]=0;v[b+468>>2]=0;v[b+380>>2]=v[b+376>>2];t[b+504|0]=0;v[b+496>>2]=0;v[b+500>>2]=0;v[b+488>>2]=0;v[b+492>>2]=0;v[b+480>>2]=0;v[b+484>>2]=0;v[b+516>>2]=0;v[b+520>>2]=0;v[b+508>>2]=0;v[b+512>>2]=0;v[b+564>>2]=0;v[b+556>>2]=0;v[b+560>>2]=0;v[b+548>>2]=0;v[b+552>>2]=0;v[b+540>>2]=0;v[b+544>>2]=0;v[b+532>>2]=0;v[b+536>>2]=0;t[b+568|0]=255;v[b+580>>2]=0;v[b+584>>2]=1;v[b+572>>2]=0;v[b+576>>2]=1;v[b+612>>2]=0;v[b+604>>2]=0;v[b+608>>2]=0;v[b+596>>2]=0;v[b+600>>2]=0;v[b+588>>2]=0;v[b+592>>2]=0;v[b+616>>2]=1;v[b+644>>2]=0;v[b+636>>2]=0;v[b+640>>2]=0;v[b+628>>2]=0;v[b+632>>2]=0;v[b+620>>2]=0;v[b+624>>2]=0;v[b+652>>2]=1;u[b+648>>1]=257;t[b+1062|0]=0;u[b+1060>>1]=0;v[b+332>>2]=0;v[b+696>>2]=0;v[b+700>>2]=0;v[b+688>>2]=0;v[b+692>>2]=0;v[b+680>>2]=0;v[b+684>>2]=0;v[b+672>>2]=0;v[b+676>>2]=0;v[b+664>>2]=0;v[b+668>>2]=0;v[b+656>>2]=0;v[b+660>>2]=0;t[b+1015|0]=0;t[b+1016|0]=0;t[b+1017|0]=0;t[b+1018|0]=0;t[b+1019|0]=0;t[b+1020|0]=0;t[b+1021|0]=0;t[b+1022|0]=0;v[b+1008>>2]=0;v[b+1012>>2]=0;v[b+1e3>>2]=0;v[b+1004>>2]=0;v[b+992>>2]=0;v[b+996>>2]=0;v[b+984>>2]=0;v[b+988>>2]=0;v[b+976>>2]=0;v[b+980>>2]=0;v[b+968>>2]=0;v[b+972>>2]=0;t[b+1032|0]=0;v[b+1024>>2]=0;v[b+1028>>2]=0;a=b+1051|0;t[a|0]=0;t[a+1|0]=0;t[a+2|0]=0;t[a+3|0]=0;t[a+4|0]=0;t[a+5|0]=0;t[a+6|0]=0;t[a+7|0]=0;a=b+1044|0;v[a>>2]=0;v[a+4>>2]=0;v[b+1036>>2]=0;v[b+1040>>2]=0;t[b+1092|0]=0;v[b+1084>>2]=1;v[b+1088>>2]=2147483647;t[b+1080|0]=1;a=b+1104|0;v[a>>2]=0;v[a+4>>2]=0;v[b+1096>>2]=0;v[b+1100>>2]=0;t[b+1124|0]=0;v[b+1116>>2]=1;v[b+1120>>2]=2147483647;t[b+1112|0]=1;a=b+1136|0;v[a>>2]=0;v[a+4>>2]=0;v[b+1128>>2]=0;v[b+1132>>2]=0;u[b+2420>>1]=0;v[b+2336>>2]=0;v[b+2328>>2]=0;v[b+2332>>2]=0;u[b+2324>>1]=0;u[b+2252>>1]=0;v[b+2248>>2]=0;v[b+1932>>2]=0;v[b+1160>>2]=0;t[b+1148|0]=0;v[b+1144>>2]=1;u[b+1150>>1]=0;u[b+1152>>1]=0;u[b+1154>>1]=0;u[b+1156>>1]=0;a=b+2221|0;t[a|0]=0;t[a+1|0]=0;t[a+2|0]=0;t[a+3|0]=0;t[a+4|0]=0;t[a+5|0]=0;t[a+6|0]=0;t[a+7|0]=0;a=b+2216|0;v[a>>2]=0;v[a+4>>2]=0;a=b+2208|0;v[a>>2]=0;v[a+4>>2]=0;a=b+2200|0;v[a>>2]=0;v[a+4>>2]=0;v[b+2192>>2]=0;v[b+2196>>2]=0;u[d+6>>1]=0;u[d+8>>1]=0;u[d+10>>1]=0;u[d+12>>1]=0;v[d>>2]=0;v[d+4>>2]=0;t[b+2272|0]=0;a=b+2264|0;v[a>>2]=0;v[a+4>>2]=0;v[b+2256>>2]=0;v[b+2260>>2]=0;v[b+2276>>2]=0;v[b+2280>>2]=0;a=b+2284|0;v[a>>2]=0;v[a+4>>2]=0;a=b+2292|0;v[a>>2]=0;v[a+4>>2]=0;a=b+2299|0;t[a|0]=0;t[a+1|0]=0;t[a+2|0]=0;t[a+3|0]=0;t[a+4|0]=0;t[a+5|0]=0;t[a+6|0]=0;t[a+7|0]=0;v[b+2308>>2]=0;v[b+2312>>2]=0;a=b+2314|0;u[a>>1]=0;u[a+2>>1]=0;u[a+4>>1]=0;u[a+6>>1]=0;n1(b);c=0}return c}function Jz(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;k=Qb-1312|0;Qb=k;if(c>>>0>=4){l=v[a>>2];v[l+24>>2]=c;v[l+20>>2]=52;Ub[v[v[a>>2]>>2]](a)}i=v[((b?180:196)+a|0)+(c<<2)>>2];if(!i){l=v[a>>2];v[l+24>>2]=c;v[l+20>>2]=52;Ub[v[v[a>>2]>>2]](a)}l=v[d>>2];if(!l){l=Ub[v[v[a+4>>2]>>2]](a,1,1424)|0;v[d>>2]=l}v[l+140>>2]=i;c=w[i+1|0];a:{if(!c){c=0;break a}ic(k+1040|0,1,c)}j=w[i+2|0];d=j+c|0;if(d>>>0>256){f=v[a>>2];v[f+20>>2]=9;Ub[v[f>>2]](a)}b:{if(!j){d=c;break b}ic((k+1040|0)+c|0,2,j)}j=w[i+3|0];c=j+d|0;if((c|0)>=257){f=v[a>>2];v[f+20>>2]=9;Ub[v[f>>2]](a)}c:{if(!j){c=d;break c}ic((k+1040|0)+d|0,3,j)}j=w[i+4|0];d=j+c|0;if((d|0)>=257){f=v[a>>2];v[f+20>>2]=9;Ub[v[f>>2]](a)}d:{if(!j){d=c;break d}ic((k+1040|0)+c|0,4,j)}j=w[i+5|0];c=j+d|0;if((c|0)>=257){f=v[a>>2];v[f+20>>2]=9;Ub[v[f>>2]](a)}e:{if(!j){c=d;break e}ic((k+1040|0)+d|0,5,j)}j=w[i+6|0];d=j+c|0;if((d|0)>=257){f=v[a>>2];v[f+20>>2]=9;Ub[v[f>>2]](a)}f:{if(!j){d=c;break f}ic((k+1040|0)+c|0,6,j)}j=w[i+7|0];c=j+d|0;if((c|0)>=257){f=v[a>>2];v[f+20>>2]=9;Ub[v[f>>2]](a)}g:{if(!j){c=d;break g}ic((k+1040|0)+d|0,7,j)}j=w[i+8|0];d=j+c|0;if((d|0)>=257){f=v[a>>2];v[f+20>>2]=9;Ub[v[f>>2]](a)}h:{if(!j){d=c;break h}ic((k+1040|0)+c|0,8,j)}j=w[i+9|0];c=j+d|0;if((c|0)>=257){f=v[a>>2];v[f+20>>2]=9;Ub[v[f>>2]](a)}i:{if(!j){c=d;break i}ic((k+1040|0)+d|0,9,j)}j=w[i+10|0];d=j+c|0;if((d|0)>=257){f=v[a>>2];v[f+20>>2]=9;Ub[v[f>>2]](a)}j:{if(!j){d=c;break j}ic((k+1040|0)+c|0,10,j)}j=w[i+11|0];c=j+d|0;if((c|0)>=257){f=v[a>>2];v[f+20>>2]=9;Ub[v[f>>2]](a)}k:{if(!j){c=d;break k}ic((k+1040|0)+d|0,11,j)}j=w[i+12|0];d=j+c|0;if((d|0)>=257){f=v[a>>2];v[f+20>>2]=9;Ub[v[f>>2]](a)}l:{if(!j){d=c;break l}ic((k+1040|0)+c|0,12,j)}j=w[i+13|0];c=j+d|0;if((c|0)>=257){f=v[a>>2];v[f+20>>2]=9;Ub[v[f>>2]](a)}m:{if(!j){c=d;break m}ic((k+1040|0)+d|0,13,j)}j=w[i+14|0];d=j+c|0;if((d|0)>=257){f=v[a>>2];v[f+20>>2]=9;Ub[v[f>>2]](a)}n:{if(!j){d=c;break n}ic((k+1040|0)+c|0,14,j)}j=w[i+15|0];c=j+d|0;if((c|0)>=257){f=v[a>>2];v[f+20>>2]=9;Ub[v[f>>2]](a)}o:{if(!j){c=d;break o}ic((k+1040|0)+d|0,15,j)}d=w[i+16|0];j=d+c|0;if((j|0)>=257){f=v[a>>2];v[f+20>>2]=9;Ub[v[f>>2]](a)}p:{if(!d){j=c;break p}ic((k+1040|0)+c|0,16,d)}d=0;t[(k+1040|0)+j|0]=0;g=w[k+1040|0];if(g){f=g<<24>>24;c=0;while(1){if(g<<24>>24==(f|0)){while(1){v[(d<<2)+k>>2]=c;c=c+1|0;d=d+1|0;g=t[d+(k+1040|0)|0];if((g|0)==(f|0)){continue}break}}if(1<>2];v[h+20>>2]=9;Ub[v[h>>2]](a)}f=f+1|0;c=c<<1;if(g&255){continue}break}}d=-1;e=l;q:{if(!w[i+1|0]){c=0;f=-1;break q}v[l+76>>2]=0-v[k>>2];c=w[i+1|0];f=v[((c<<2)+k|0)-4>>2]}v[e+4>>2]=f;e=l;if(w[i+2|0]){v[l+80>>2]=c-v[(c<<2)+k>>2];c=w[i+2|0]+c|0;f=v[((c<<2)+k|0)-4>>2]}else{f=-1}v[e+8>>2]=f;e=l;if(w[i+3|0]){v[l+84>>2]=c-v[(c<<2)+k>>2];c=w[i+3|0]+c|0;f=v[((c<<2)+k|0)-4>>2]}else{f=-1}v[e+12>>2]=f;e=l;if(w[i+4|0]){v[l+88>>2]=c-v[(c<<2)+k>>2];c=w[i+4|0]+c|0;f=v[((c<<2)+k|0)-4>>2]}else{f=-1}v[e+16>>2]=f;e=l;if(w[i+5|0]){v[l+92>>2]=c-v[(c<<2)+k>>2];c=w[i+5|0]+c|0;f=v[((c<<2)+k|0)-4>>2]}else{f=-1}v[e+20>>2]=f;e=l;if(w[i+6|0]){v[l+96>>2]=c-v[(c<<2)+k>>2];c=w[i+6|0]+c|0;f=v[((c<<2)+k|0)-4>>2]}else{f=-1}v[e+24>>2]=f;e=l;if(w[i+7|0]){v[l+100>>2]=c-v[(c<<2)+k>>2];c=w[i+7|0]+c|0;f=v[((c<<2)+k|0)-4>>2]}else{f=-1}v[e+28>>2]=f;e=l;if(w[i+8|0]){v[l+104>>2]=c-v[(c<<2)+k>>2];c=w[i+8|0]+c|0;f=v[((c<<2)+k|0)-4>>2]}else{f=-1}v[e+32>>2]=f;e=l;if(w[i+9|0]){v[l+108>>2]=c-v[(c<<2)+k>>2];c=w[i+9|0]+c|0;f=v[((c<<2)+k|0)-4>>2]}else{f=-1}v[e+36>>2]=f;e=l;if(w[i+10|0]){v[l+112>>2]=c-v[(c<<2)+k>>2];c=w[i+10|0]+c|0;f=v[((c<<2)+k|0)-4>>2]}else{f=-1}v[e+40>>2]=f;e=l;if(w[i+11|0]){v[l+116>>2]=c-v[(c<<2)+k>>2];c=w[i+11|0]+c|0;f=v[((c<<2)+k|0)-4>>2]}else{f=-1}v[e+44>>2]=f;e=l;if(w[i+12|0]){v[l+120>>2]=c-v[(c<<2)+k>>2];c=w[i+12|0]+c|0;f=v[((c<<2)+k|0)-4>>2]}else{f=-1}v[e+48>>2]=f;e=l;if(w[i+13|0]){v[l+124>>2]=c-v[(c<<2)+k>>2];c=w[i+13|0]+c|0;f=v[((c<<2)+k|0)-4>>2]}else{f=-1}v[e+52>>2]=f;e=l;if(w[i+14|0]){v[l+128>>2]=c-v[(c<<2)+k>>2];c=w[i+14|0]+c|0;f=v[((c<<2)+k|0)-4>>2]}else{f=-1}v[e+56>>2]=f;e=l;if(w[i+15|0]){v[l+132>>2]=c-v[(c<<2)+k>>2];c=w[i+15|0]+c|0;f=v[((c<<2)+k|0)-4>>2]}else{f=-1}v[e+60>>2]=f;if(w[i+16|0]){v[l+136>>2]=c-v[(c<<2)+k>>2];d=v[((w[i+16|0]+c<<2)+k|0)-4>>2]}v[l+68>>2]=1048575;v[l+64>>2]=d;d=0;g=ic(l+144|0,0,1024);if(w[i+1|0]){f=1;h=l+1168|0;while(1){e=d+i|0;c=v[(d<<2)+k>>2]<<7;m=128;while(1){v[g+(c<<2)>>2]=1;t[c+h|0]=w[e+17|0];n=c|1;v[g+(n<<2)>>2]=1;t[h+n|0]=w[e+17|0];n=c|2;v[g+(n<<2)>>2]=1;t[h+n|0]=w[e+17|0];n=c|3;v[g+(n<<2)>>2]=1;t[h+n|0]=w[e+17|0];c=c+4|0;n=(m|0)!=4;m=m-4|0;if(n){continue}break}d=d+1|0;c=w[i+1|0]>f>>>0;f=f+1|0;if(c){continue}break}}if(w[i+2|0]){f=1;g=l+144|0;h=l+1168|0;while(1){e=d+i|0;c=v[(d<<2)+k>>2]<<6;m=64;while(1){v[g+(c<<2)>>2]=2;t[c+h|0]=w[e+17|0];n=c|1;v[g+(n<<2)>>2]=2;t[h+n|0]=w[e+17|0];n=c|2;v[g+(n<<2)>>2]=2;t[h+n|0]=w[e+17|0];n=c|3;v[g+(n<<2)>>2]=2;t[h+n|0]=w[e+17|0];c=c+4|0;n=(m|0)!=4;m=m-4|0;if(n){continue}break}d=d+1|0;c=w[i+2|0]>f>>>0;f=f+1|0;if(c){continue}break}}if(w[i+3|0]){m=1;c=l+144|0;f=l+1168|0;while(1){g=v[(d<<2)+k>>2];v[c+(g<<7)>>2]=3;g=g<<5;h=d+i|0;t[g+f|0]=w[h+17|0];e=g|1;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|2;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|3;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|4;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|5;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|6;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|7;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|8;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|9;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|10;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|11;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|12;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|13;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|14;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|15;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|16;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|17;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|18;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|19;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|20;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|21;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|22;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|23;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|24;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|25;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|26;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|27;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|28;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|29;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];e=g|30;v[c+(e<<2)>>2]=3;t[f+e|0]=w[h+17|0];g=g|31;v[c+(g<<2)>>2]=3;t[f+g|0]=w[h+17|0];d=d+1|0;g=w[i+3|0]>m>>>0;m=m+1|0;if(g){continue}break}}if(w[i+4|0]){m=1;c=l+144|0;f=l+1168|0;while(1){g=v[(d<<2)+k>>2];v[c+(g<<6)>>2]=4;g=g<<4;h=d+i|0;t[g+f|0]=w[h+17|0];e=g|1;v[c+(e<<2)>>2]=4;t[f+e|0]=w[h+17|0];e=g|2;v[c+(e<<2)>>2]=4;t[f+e|0]=w[h+17|0];e=g|3;v[c+(e<<2)>>2]=4;t[f+e|0]=w[h+17|0];e=g|4;v[c+(e<<2)>>2]=4;t[f+e|0]=w[h+17|0];e=g|5;v[c+(e<<2)>>2]=4;t[f+e|0]=w[h+17|0];e=g|6;v[c+(e<<2)>>2]=4;t[f+e|0]=w[h+17|0];e=g|7;v[c+(e<<2)>>2]=4;t[f+e|0]=w[h+17|0];e=g|8;v[c+(e<<2)>>2]=4;t[f+e|0]=w[h+17|0];e=g|9;v[c+(e<<2)>>2]=4;t[f+e|0]=w[h+17|0];e=g|10;v[c+(e<<2)>>2]=4;t[f+e|0]=w[h+17|0];e=g|11;v[c+(e<<2)>>2]=4;t[f+e|0]=w[h+17|0];e=g|12;v[c+(e<<2)>>2]=4;t[f+e|0]=w[h+17|0];e=g|13;v[c+(e<<2)>>2]=4;t[f+e|0]=w[h+17|0];e=g|14;v[c+(e<<2)>>2]=4;t[f+e|0]=w[h+17|0];g=g|15;v[c+(g<<2)>>2]=4;t[f+g|0]=w[h+17|0];d=d+1|0;g=w[i+4|0]>m>>>0;m=m+1|0;if(g){continue}break}}if(w[i+5|0]){m=1;c=l+144|0;f=l+1168|0;while(1){g=v[(d<<2)+k>>2];v[c+(g<<5)>>2]=5;g=g<<3;h=d+i|0;t[g+f|0]=w[h+17|0];e=g|1;v[c+(e<<2)>>2]=5;t[f+e|0]=w[h+17|0];e=g|2;v[c+(e<<2)>>2]=5;t[f+e|0]=w[h+17|0];e=g|3;v[c+(e<<2)>>2]=5;t[f+e|0]=w[h+17|0];e=g|4;v[c+(e<<2)>>2]=5;t[f+e|0]=w[h+17|0];e=g|5;v[c+(e<<2)>>2]=5;t[f+e|0]=w[h+17|0];e=g|6;v[c+(e<<2)>>2]=5;t[f+e|0]=w[h+17|0];g=g|7;v[c+(g<<2)>>2]=5;t[f+g|0]=w[h+17|0];d=d+1|0;g=w[i+5|0]>m>>>0;m=m+1|0;if(g){continue}break}}if(w[i+6|0]){m=1;c=l+144|0;f=l+1168|0;while(1){g=v[(d<<2)+k>>2];v[c+(g<<4)>>2]=6;g=g<<2;h=d+i|0;t[g+f|0]=w[h+17|0];e=g|1;v[c+(e<<2)>>2]=6;t[f+e|0]=w[h+17|0];e=g|2;v[c+(e<<2)>>2]=6;t[f+e|0]=w[h+17|0];g=g|3;v[c+(g<<2)>>2]=6;t[f+g|0]=w[h+17|0];d=d+1|0;g=w[i+6|0]>m>>>0;m=m+1|0;if(g){continue}break}}if(w[i+7|0]){c=1;f=l+144|0;g=l+1168|0;while(1){h=v[(d<<2)+k>>2];v[f+(h<<3)>>2]=7;h=h<<1;m=d+i|0;t[h+g|0]=w[m+17|0];h=h|1;v[f+(h<<2)>>2]=7;t[g+h|0]=w[m+17|0];d=d+1|0;h=w[i+7|0]>c>>>0;c=c+1|0;if(h){continue}break}}if(w[i+8|0]){c=1;while(1){f=v[(d<<2)+k>>2];v[((f<<2)+l|0)+144>>2]=8;t[(f+l|0)+1168|0]=w[(d+i|0)+17|0];d=d+1|0;f=w[i+8|0]>c>>>0;c=c+1|0;if(f){continue}break}}r:{if(!b|(j|0)<1){break r}c=0;if((j|0)!=1){d=j&8388606;while(1){if(w[(c+i|0)+17|0]>=16){b=v[a>>2];v[b+20>>2]=9;Ub[v[b>>2]](a)}if(w[((c|1)+i|0)+17|0]>15){b=v[a>>2];v[b+20>>2]=9;Ub[v[b>>2]](a)}c=c+2|0;d=d-2|0;if(d){continue}break}}if(!(j&1)|w[(c+i|0)+17|0]<16){break r}b=v[a>>2];v[b+20>>2]=9;Ub[v[b>>2]](a)}Qb=k+1312|0}function NLa(a,b){a=a|0;b=b|0;var 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,u=0,y=0;m=Qb-16|0;Qb=m;u=v[a+4>>2];d=v[u+56>>2];r=d?-1:0;j=v[a+16>>2];n=v[a+20>>2]-j|0;g=v[u+8>>2];o=w[g+73|0];i=v[((o<<2)+g|0)+32>>2];k=v[a+24>>2];s=v[a+12>>2];l=v[a+8>>2];p=w[g+72|0];a:{b:{while(1){c:{f=(d|0)!=0&(n|0)>0;d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{if(p){c=l;q=r;if(f){break q}f=0;break p}r:{s:{t:{u:{if(f){q=r;break u}if(l>>>0>=s>>>0){break l}p=0;f=15;c=l;q=r;r=e;if((n|0)<1){break b}v:{w:{while(1){r=r+1|0;l=c+2|0;d=x[c>>1];c=d-13312|0;if(c>>>0>41983){break v}if((n|0)<2){break r}c=d<<8|d>>>8;t[j|0]=c;t[j+1|0]=c>>>8;d=0;if(k){v[k+4>>2]=q;v[k>>2]=q;d=k+8|0}j=j+2|0;if(l>>>0>=s>>>0){break w}e=(n|0)<3;c=l;n=n-2|0;k=d;q=r;if(!e){continue}break}d=0;break b}c=l;k=d;d=0;break a}if(c>>>0>=48896){f=2;if(!(l>>>0>=s>>>0|x[l>>1]-13312>>>0>=41984)){break d}if(!(!(d-48>>>0<10|d-97>>>0<26)&d-65>>>0>25)){d=((o&255)<<8)+57344|d;p=1;f=2;break d}f=0;x:{h=v[g+32>>2];y:{if(d-h>>>0<128){break y}f=1;h=v[g+36>>2];if(d-h>>>0<128){break y}f=2;h=v[g+40>>2];if(d-h>>>0<128){break y}f=3;h=v[g+44>>2];if(d-h>>>0<128){break y}f=4;h=v[g+48>>2];if(d-h>>>0<128){break y}f=5;h=v[g+52>>2];if(d-h>>>0<128){break y}f=6;h=v[g+56>>2];if(d-h>>>0<128){break y}f=7;h=v[g+60>>2];if(d-h>>>0>127){break x}}i=t[g+75|0];c=i;while(1){c=(c|0)<1?7:c-1|0;if(w[(g+c|0)+76|0]!=(f|0)){continue}break}e=c+1|0;e=(e|0)==8?0:e;if((i|0)!=(e|0)){while(1){i=c;c=g+76|0;t[i+c|0]=w[c+e|0];c=e;e=c+1|0;e=(e|0)==8?0:e;if((e|0)!=t[g+75|0]){continue}break}}t[(c+g|0)+76|0]=f;d=d-h|f<<8|57472;p=1;o=f;i=h;f=2;break d}c=nz(d,m+12|0);if((c|0)<0){break e}p=1;e=t[g+75|0];o=t[(e+g|0)+76|0];e=e+1|0;t[g+75|0]=(e&255)==8?0:e;e=o&255;i=v[m+12>>2];v[((e<<2)+g|0)+32>>2]=i;mz(g,o);d=d-i|((e<<16)+15204352|c<<8)|128;f=3;break d}if(d>>>0>57343){break t}if(d&1024){break s}e=r}if(l>>>0>=s>>>0){break l}p=x[l>>1];if((p&64512)!=56320){p=0;break f}r=e+1|0;l=l+2|0;e=0;z:{c=p+(d<<10)|0;h=c-56613888|0;f=v[g+32>>2];A:{if(h-f>>>0<128){break A}e=1;f=v[g+36>>2];if(h-f>>>0<128){break A}e=2;f=v[g+40>>2];if(h-f>>>0<128){break A}e=3;f=v[g+44>>2];if(h-f>>>0<128){break A}e=4;f=v[g+48>>2];if(h-f>>>0<128){break A}e=5;f=v[g+52>>2];if(h-f>>>0<128){break A}e=6;f=v[g+56>>2];if(h-f>>>0<128){break A}e=7;f=v[g+60>>2];if(h-f>>>0>127){break z}}if(l>>>0>>0&x[l>>1]-13312>>>0<41984){break z}i=t[g+75|0];d=i;while(1){d=(d|0)<1?7:d-1|0;if(w[(g+d|0)+76|0]!=(e|0)){continue}break}c=d+1|0;c=(c|0)==8?0:c;if((i|0)!=(c|0)){while(1){i=d;d=g+76|0;t[i+d|0]=w[d+c|0];d=c;c=d+1|0;c=(c|0)==8?0:c;if((c|0)!=t[g+75|0]){continue}break}}t[(d+g|0)+76|0]=e;d=h-f|e<<8|57472;p=1;o=e;i=f;f=2;break d}if(x[l>>1]!=(d&65535)|l>>>0>=s>>>0){break m}if(c-56614080>>>0<=127){i=192;v[m+12>>2]=192;e=249;break n}if(c-56614480>>>0<128){i=592;v[m+12>>2]=592;e=250;break n}if(c-56614768>>>0<128){i=880;v[m+12>>2]=880;e=251;break n}if(c-56615216>>>0<128){i=1328;v[m+12>>2]=1328;e=252;break n}if(c-56626240>>>0<128){i=12352;v[m+12>>2]=12352;e=253;break n}if(c-56626336>>>0<128){i=12448;v[m+12>>2]=12448;e=254;break n}if(c-56679264>>>0<128){i=65376;v[m+12>>2]=65376;e=255;break n}if(h>>>0>=128){break o}break m}d=d|15728640;break k}f=12;c=l;break b}n=1;f=2;break c}f=1}while(1){B:{C:{D:{E:{F:{G:{if(!f){if(c>>>0>=s>>>0){break a}if((n|0)<1){f=15;break b}r=e+1|0;l=c+2|0;H:{I:{d=x[c>>1];if(d-32>>>0>95){if(d>>>0>31){break H}if(!(1<>>0<=127){t[j|0]=e|128;if(!k){break G}break F}if((d&63488)!=55296){break C}if(d&1024){break f}e=r;f=1;continue}if(l>>>0>=s>>>0){c=l;break a}y=x[l>>1];if((y&64512)!=56320){break f}r=e+1|0;l=l+2|0;c=y+(d<<10)|0;f=c-56613888|0;e=f-i|0;if(e>>>0>=128){break D}t[j|0]=e|128;if(k){break F}}k=0;break E}v[k>>2]=q;k=k+4|0}c=l;j=j+1|0;n=n-1|0;d=0;q=r;e=q;break B}e=0;J:{h=v[g+32>>2];K:{if(f-h>>>0<128){break K}e=1;h=v[g+36>>2];if(f-h>>>0<128){break K}e=2;h=v[g+40>>2];if(f-h>>>0<128){break K}e=3;h=v[g+44>>2];if(f-h>>>0<128){break K}e=4;h=v[g+48>>2];if(f-h>>>0<128){break K}e=5;h=v[g+52>>2];if(f-h>>>0<128){break K}e=6;h=v[g+56>>2];if(f-h>>>0<128){break K}e=7;h=v[g+60>>2];if(f-h>>>0>127){break J}}i=t[g+75|0];d=i;while(1){d=(d|0)<1?7:d-1|0;if(w[(g+d|0)+76|0]!=(e|0)){continue}break}c=d+1|0;c=(c|0)==8?0:c;if((i|0)!=(c|0)){while(1){i=d;d=g+76|0;t[i+d|0]=w[d+c|0];d=c;c=d+1|0;c=(c|0)==8?0:c;if((c|0)!=t[g+75|0]){continue}break}}t[(d+g|0)+76|0]=e;d=f-h|e<<8|4224;o=e;i=h;f=2;break d}if(c-56614080>>>0<=127){i=192;v[m+12>>2]=192;e=249;break h}if(c-56614480>>>0<128){i=592;v[m+12>>2]=592;e=250;break h}if(c-56614768>>>0<128){i=880;v[m+12>>2]=880;e=251;break h}if(c-56615216>>>0<128){i=1328;v[m+12>>2]=1328;e=252;break h}if(c-56626240>>>0<128){i=12352;v[m+12>>2]=12352;e=253;break h}if(c-56626336>>>0<128){i=12448;v[m+12>>2]=12448;e=254;break h}if(c-56679264>>>0<128){i=65376;v[m+12>>2]=65376;e=255;break h}if(f>>>0>=128){break i}break g}if(d>>>0<=159){d=d&127|512;f=2;break d}if((d|0)==65279|d>>>0>=65520){break j}f=0;L:{h=v[g+32>>2];M:{if(d-h>>>0<128){break M}f=1;h=v[g+36>>2];if(d-h>>>0<128){break M}f=2;h=v[g+40>>2];if(d-h>>>0<128){break M}f=3;h=v[g+44>>2];if(d-h>>>0<128){break M}f=4;h=v[g+48>>2];if(d-h>>>0<128){break M}f=5;h=v[g+52>>2];if(d-h>>>0<128){break M}f=6;h=v[g+56>>2];if(d-h>>>0<128){break M}f=7;h=v[g+60>>2];if(d-h>>>0>127){break L}}N:{O:{if(l>>>0>=s>>>0){break O}c=x[l>>1];if(c>>>0>h+127>>>0){break N}if(c>>>0>=h>>>0){break O}if(c>>>0>127){break N}if(c>>>0>31){break O}if(!(1<=0){d=(c<<8)+256|d-v[(c<<2)+862416>>2];f=2;break d}c=nz(d,m+12|0);if((c|0)>=0){e=t[g+75|0];o=t[(e+g|0)+76|0];e=e+1|0;t[g+75|0]=(e&255)==8?0:e;e=o&255;i=v[m+12>>2];v[((e<<2)+g|0)+32>>2]=i;mz(g,o);d=d-i|((e<<16)+1572864|c<<8)|128;f=3;break d}if(l>>>0>>0&x[l>>1]-13312>>>0>41983|d-13312>>>0>41983){break j}d=d|983040;break k}f=0;continue}}if(!(!(c-56732672>>>0<12288|h>>>0<13312)&(h&-16384)!=65536)){i=h&2147483520;v[m+12>>2]=i;e=h>>>7|0;break n}if((h|0)==65279|c-56671232>>>0>8175){break m}i=h&2147483520;v[m+12>>2]=i;e=c-56657920>>>7|0}c=t[g+75|0];o=w[(c+g|0)+76|0];c=c+1|0;c=(c&255)==8?0:c;t[g+75|0]=c;v[((o<<2)+g|0)+32>>2]=i;f=c<<24>>24;d=f;while(1){d=(d|0)<1?7:d-1|0;if(w[(g+d|0)+76|0]!=(o|0)){continue}break}c=d+1|0;c=(c|0)==8?0:c;if((f|0)!=(c|0)){while(1){f=d;d=g+76|0;t[f+d|0]=w[d+c|0];d=c;c=d+1|0;c=(c|0)==8?0:c;if((c|0)!=t[g+75|0]){continue}break}}t[(d+g|0)+76|0]=o;d=h-i|((e<<8)+268304384|o<<21)|-251658112;p=1;f=4;break d}d=p|d<<16;p=0;f=4;break d}p=0;c=l;break a}p=0;f=3;break d}d=d|917504;f=3;break d}if(!(!(c-56732672>>>0<12288|f>>>0<13312)&(f&-16384)!=65536)){i=f&2147483520;v[m+12>>2]=i;e=f>>>7|0;break h}if((f|0)==65279|c-56671232>>>0>8175){break g}i=f&2147483520;v[m+12>>2]=i;e=c-56657920>>>7|0}c=t[g+75|0];o=w[(c+g|0)+76|0];c=c+1|0;c=(c&255)==8?0:c;t[g+75|0]=c;v[((o<<2)+g|0)+32>>2]=i;h=c<<24>>24;d=h;while(1){d=(d|0)<1?7:d-1|0;if(w[(g+d|0)+76|0]!=(o|0)){continue}break}c=d+1|0;c=(c|0)==8?0:c;if((h|0)!=(c|0)){while(1){h=d;d=g+76|0;t[h+d|0]=w[d+c|0];d=c;c=d+1|0;c=(c|0)==8?0:c;if((c|0)!=t[g+75|0]){continue}break}}t[(d+g|0)+76|0]=o;d=f-i|((e<<8)-131072|o<<21)|184549504;f=4;break d}t[j|0]=15;p=0;j=j+1|0;n=n-1|0;d=y|d<<16;if(k){v[k>>2]=q;k=k+4|0}else{k=0}f=4;break d}f=12;c=l;break b}f=2}if((f|0)>(n|0)){break c}P:{Q:{if(!k){k=0;R:{switch(f-2|0){case 2:t[j|0]=d>>>24;j=j+1|0;case 1:t[j|0]=d>>>16;j=j+1|0;break;case 0:break R;default:break P}}c=d<<8|(d&65280)>>>8;t[j|0]=c;t[j+1|0]=c>>>8;break Q}S:{switch(f-2|0){case 2:t[j|0]=d>>>24;v[k>>2]=q;k=k+4|0;j=j+1|0;case 1:t[j|0]=d>>>16;v[k>>2]=q;k=k+4|0;j=j+1|0;break;case 0:break S;default:break P}}t[j|0]=d>>>8;v[k>>2]=q;t[j+1|0]=d;v[k+4>>2]=q;k=k+8|0}j=j+2|0}n=n-f|0;d=0;e=r;continue}break}c=l;e=u+76|0;T:{U:{V:{W:{X:{l=f-n|0;switch(l-1|0){case 0:break U;case 1:break V;case 2:break W;case 3:break X;default:break T}}t[u+76|0]=d>>>24;e=u+77|0}t[e|0]=d>>>16;e=e+1|0}t[e|0]=d>>>8;e=e+1|0}t[e|0]=d}t[u+63|0]=l;l=d>>>(l<<3)|0;d=0;f=15;Y:{Z:{_:{$:{aa:{ba:{switch(n-1|0){case 2:t[j|0]=l>>>16;if(!k){t[j+1|0]=l>>>8;n=j+2|0;break Z}v[k>>2]=q;t[j+1|0]=l>>>8;n=j+2|0;k=k+4|0;break aa;case 0:break $;case 1:break ba;default:break b}}t[j|0]=l>>>8;n=j+1|0;if(!k){break Z}}v[k>>2]=q;t[n|0]=l;j=n+1|0;k=k+4|0;break _}t[j|0]=l;j=j+1|0;e=j;if(!k){break Y}}v[k>>2]=q;k=k+4|0;break b}t[n|0]=l;e=n+1|0}j=e;k=0}v[b>>2]=f}t[g+73|0]=o;t[g+72|0]=p;v[u+56>>2]=d;v[a+24>>2]=k;v[a+16>>2]=j;v[a+8>>2]=c;Qb=m+16|0}function yna(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=Qb-1168|0;Qb=d;c=Bh();Ub[v[v[c>>2]+8>>2]](d+16|0,c,a,b);a:{b:{c:{d:{e:{f:{g:{h:{c=v[d+24>>2];i:{j:{if(!c|!v[c+8>>2]){break j}v[299999]=0;U(4713,d+1120|0,d+16|0,0);c=v[299999];v[299999]=0;if((c|0)==1){break c}c=v[d+1120>>2];if(!c){ec(d+1120|0);break j}c=v[c+8>>2];ec(d+1120|0);if(c){break i}}v[299999]=0;V(4708,d+1080|0,a+72|0);c=v[299999];v[299999]=0;if((c|0)==1){break h}v[299999]=0;c=Y(4612,d+1120|0,b|0,d+1080|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break g}v[299999]=0;Q(4478,d+16|0,c|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break f}v[c+24>>2]=981312;v[c>>2]=981280;e=v[c+28>>2];if(e){f=v[e+4>>2]-1|0;v[e+4>>2]=f;if(!f){Ub[v[v[e>>2]+4>>2]](e)}v[c+28>>2]=0}v[c+16>>2]=981312;e=v[c+20>>2];if(e){f=v[e+4>>2]-1|0;v[e+4>>2]=f;if(!f){Ub[v[v[e>>2]+4>>2]](e)}v[c+20>>2]=0}ec(c+8|0);v[d+1104>>2]=981312;v[d+1080>>2]=981280;c=v[d+1108>>2];if(c){e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(!e){Ub[v[v[c>>2]+4>>2]](c)}v[d+1108>>2]=0}v[d+1096>>2]=981312;c=v[d+1100>>2];if(c){e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(!e){Ub[v[v[c>>2]+4>>2]](c)}v[d+1100>>2]=0}ec(d+1088|0)}c=v[a+120>>2];if(!c){break a}f=a+112|0;g=d+1128|0;break d}e=P()|0;O()|0;break b}e=P()|0;O()|0;break e}e=P()|0;O()|0;$c(c)}$c(d+1080|0);break b}k:{l:{while(1){m:{e=v[c+8>>2];v[299999]=0;h=Q(4342,d+1120|0,e+72|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break m}v[299999]=0;i=Q(4461,h|0,d+16|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break l}v[d+1144>>2]=981312;v[d+1120>>2]=981280;e=v[d+1148>>2];if(e){h=v[e+4>>2]-1|0;v[e+4>>2]=h;if(!h){Ub[v[v[e>>2]+4>>2]](e)}v[d+1148>>2]=0}v[d+1136>>2]=981312;e=v[d+1140>>2];if(e){h=v[e+4>>2]-1|0;v[e+4>>2]=h;if(!h){Ub[v[v[e>>2]+4>>2]](e)}v[d+1140>>2]=0}ec(g);if(!i){c=v[c>>2];if(!c){break a}continue}v[d+1124>>2]=f;v[d+1120>>2]=c;c=v[c>>2];v[299999]=0;V(4460,f|0,d+1120|0);e=v[299999];v[299999]=0;if((e|0)==1){break k}if(c){continue}break a}break}e=P()|0;O()|0;break b}e=P()|0;O()|0;$c(h);break b}e=P()|0;O()|0;break b}e=P()|0;O()|0}$c(d+16|0);T(e|0);L()}v[d+40>>2]=981312;v[d+16>>2]=981280;c=v[d+44>>2];if(c){e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(!e){Ub[v[v[c>>2]+4>>2]](c)}v[d+44>>2]=0}v[d+32>>2]=981312;c=v[d+36>>2];if(c){e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(!e){Ub[v[v[c>>2]+4>>2]](c)}v[d+36>>2]=0}ec(d+24|0);c=d+1072|0;Pl(c,v[a+108>>2]);v[299999]=0;V(4503,d+1064|0,c|0);c=v[299999];v[299999]=0;n:{o:{if((c|0)==1){c=P()|0;O()|0;break o}v[299999]=0;h=v[d+1064>>2];R(4473,d+1056|0);c=v[299999];v[299999]=0;p:{q:{r:{s:{if((c|0)!=1){v[299999]=0;V(4503,d+1048|0,d+1056|0);c=v[299999];v[299999]=0;if((c|0)!=1){v[299999]=0;f=v[d+1048>>2];v[d+1120>>2]=0;v[d+1124>>2]=v[282402];c=Z(4504,h|0,d+1120|0,0,0)|0;e=v[299999];v[299999]=0;t:{if((e|0)==1){break t}u:{v:{w:{x:{if(c){c=v[d+1120>>2];c=v[(c?c+12|0:1129608)>>2];v[299999]=0;U(4599,f|0,c|0,0);c=v[299999];v[299999]=0;if((c|0)==1){break t}while(1){v[299999]=0;c=Z(4504,h|0,d+1120|0,0,0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break s}if(c){v[299999]=0;c=Nc(d+1120|0,320500,-1);e=v[299999];v[299999]=0;if((e|0)==1){break s}y:{if(c){c=v[d+1120>>2];c=v[(c?c+12|0:1129608)>>2];v[299999]=0;U(4599,f|0,c|0,0);c=v[299999];v[299999]=0;if((c|0)==1){break s}v[299999]=0;v[d+1080>>2]=0;Q(4336,d+1080|0,h|0)|0;c=v[299999];v[299999]=0;z:{A:{if((c|0)!=1){v[299999]=0;c=v[d+1080>>2];v[d+16>>2]=0;Q(4336,d+16|0,f|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break A}v[299999]=0;Y(4604,v[d+16>>2],c|0,0)|0;c=v[299999];v[299999]=0;B:{if((c|0)!=1){c=v[d+16>>2];v[d+16>>2]=0;if(!c){break B}v[299999]=0;e=v[c+4>>2]-1|0;v[c+4>>2]=e;g=v[299999];v[299999]=0;if((g|0)!=1){if(e){break B}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)!=1){break B}}break n}c=P()|0;O()|0;ec(d+16|0);break z}c=v[d+1080>>2];v[d+1080>>2]=0;C:{if(!c){break C}v[299999]=0;e=v[c+4>>2]-1|0;v[c+4>>2]=e;g=v[299999];v[299999]=0;if((g|0)==1){break n}if(e){break C}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break n}}v[299999]=0;R(4601,f|0);c=v[299999];v[299999]=0;if((c|0)!=1){break y}break s}c=P()|0;O()|0;break r}c=P()|0;O()|0}ec(d+1080|0);break r}v[d+1080>>2]=0;v[d+1084>>2]=v[282402];D:{E:{F:{G:{H:{while(1){I:{c=v[v[h>>2]+8>>2];v[299999]=0;c=Y(c|0,h|0,d+16|0,1024)|0;e=v[299999];v[299999]=0;if((e|0)==1){break I}if(!c){c=v[d+1080>>2];if(!c){break E}e=c;if(v[c+8>>2]){break F}break D}v[299999]=0;e=Y(4605,d+8|0,d+16|0,c|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break H}v[299999]=0;Q(4606,d+1080|0,d+8|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break G}ec(e);continue}break}c=P()|0;O()|0;break v}c=P()|0;O()|0;break v}c=P()|0;O()|0;ec(e);break v}J:{K:{while(1){if(w[v[c+12>>2]]!=10){break D}v[299999]=0;$(4568,d+8|0,d+1080|0,1,-1);c=v[299999];v[299999]=0;if((c|0)==1){break J}c=v[d+8>>2];L:{if(c){e=v[v[c>>2]+28>>2];v[299999]=0;U(e|0,d+1160|0,c|0,1);c=v[299999];v[299999]=0;if((c|0)!=1){break L}c=P()|0;O()|0;break x}v[d+1160>>2]=0}v[299999]=0;Q(4344,d+1080|0,d+1160|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break K}c=v[d+1160>>2];v[d+1160>>2]=0;M:{N:{if(!c){break N}v[299999]=0;e=v[c+4>>2]-1|0;v[c+4>>2]=e;g=v[299999];v[299999]=0;if((g|0)==1){break M}if(e){break N}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break M}}c=v[d+1080>>2];v[d+1084>>2]=v[(c?c+12|0:1129608)>>2];ec(d+8|0);c=v[d+1080>>2];if(!c){break E}e=c;if(!v[c+8>>2]){break D}continue}break}break n}c=P()|0;O()|0;a=v[d+1160>>2];v[d+1160>>2]=0;if(!a){break x}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;e=v[299999];v[299999]=0;if((e|0)!=1){if(b){break x}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break x}}break n}c=P()|0;O()|0;break v}e=c;c=0}O:{P:{Q:{if(!c){break Q}while(1){g=v[c+8>>2];if(!g){break Q}i=g-1|0;R:{if(i){c=i+((g|0)>0?0:e?g:0)|0;if(!(!e|(c|0)<0|(c|0)>(g|0))){e=e+12|0;break R}v[299999]=0;ba(4543);a=v[299999];v[299999]=0;if((a|0)==1){break w}L()}e=c+12|0;c=0}if(w[v[e>>2]+c|0]!=10){break Q}v[299999]=0;U(4607,d+1080|0,i|0,0);c=v[299999];v[299999]=0;if((c|0)==1){break P}c=v[d+1080>>2];e=c;if(c){continue}break}}v[299999]=0;c=Y(4541,d+1080|0,b|0,-1)|0;e=v[299999];v[299999]=0;S:{T:{U:{if((e|0)==1){break U}if(!c){break O}v[299999]=0;U(4599,f|0,320500,0);c=v[299999];v[299999]=0;if((c|0)==1){break U}v[299999]=0;v[d+8>>2]=0;Q(4336,d+8|0,f|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break T}v[299999]=0;Q(4437,v[d+8>>2],d+1080|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break S}c=v[d+8>>2];v[d+8>>2]=0;V:{if(!c){break V}v[299999]=0;e=v[c+4>>2]-1|0;v[c+4>>2]=e;g=v[299999];v[299999]=0;if((g|0)==1){break n}if(e){break V}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break n}}v[299999]=0;R(4601,f|0);c=v[299999];v[299999]=0;if((c|0)!=1){break O}}c=P()|0;O()|0;break v}c=P()|0;O()|0;break v}c=P()|0;O()|0;ec(d+8|0);break v}c=P()|0;O()|0;break v}ec(d+1080|0)}v[299999]=0;R(4601,h|0);c=v[299999];v[299999]=0;if((c|0)!=1){continue}break s}break}v[299999]=0;R(4601,f|0);b=v[299999];v[299999]=0;if((b|0)==1){break u}}b=v[d+1056>>2];c=v[v[b>>2]+20>>2];v[299999]=0;Z(c|0,b|0,0,0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break t}v[299999]=0;V(4597,d+16|0,d+1056|0);b=v[299999];v[299999]=0;W:{if((b|0)!=1){v[299999]=0;Q(4344,a+108|0,d+16|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break W}b=v[d+16>>2];v[d+16>>2]=0;X:{if(!b){break X}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;e=v[299999];v[299999]=0;if((e|0)==1){break n}if(c){break X}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break n}}v[a+140>>2]=-1;v[299999]=0;sg(a+148|0,0,0,128,0);a=v[299999];v[299999]=0;if((a|0)==1){break t}ec(d+1120|0);a=v[d+1048>>2];v[d+1048>>2]=0;Y:{if(!a){break Y}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break n}if(b){break Y}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break n}}a=v[d+1056>>2];v[d+1056>>2]=0;Z:{if(!a){break Z}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break n}if(b){break Z}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break n}}a=v[d+1064>>2];v[d+1064>>2]=0;_:{if(!a){break _}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break n}if(b){break _}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break n}}a=v[d+1072>>2];v[d+1072>>2]=0;$:{if(!a){break $}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break n}if(b){break $}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break n}}Qb=d+1168|0;return}c=P()|0;O()|0;break r}c=P()|0;O()|0;ec(d+16|0);break r}ec(d+8|0);break v}c=P()|0;O()|0}ec(d+1080|0);break r}c=P()|0;O()|0;break r}c=P()|0;O()|0;break r}c=P()|0;O()|0;break q}c=P()|0;O()|0;break p}c=P()|0;O()|0}ec(d+1120|0);ec(d+1048|0)}ec(d+1056|0)}ec(d+1064|0)}ec(d+1072|0);T(c|0);L()}W(0)|0;O()|0;lc();L()}function sIa(a,b){a=a|0;b=b|0;var 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;c=v[a+420>>2];d=v[a+24>>2];v[c+112>>2]=v[d>>2];v[c+116>>2]=v[d+4>>2];if(!(v[c+36>>2]|!v[a+236>>2])){xy(c,v[c+40>>2])}f=v[a+360>>2];m=v[a+364>>2];a:{if((f|0)>(m|0)){break a}r=v[b>>2];s=v[a+380>>2];n=v[a+372>>2];while(1){k=f;d=u[(v[(f<<2)+s>>2]<<1)+r>>1];b=g+1|0;b:{if(!d){break b}o=0-d>>n;p=d>>n;q=(d|0)<0;i=q?o:p;b=g+1|0;if(!i){break b}f=0;c:{d:{e:{b=v[c+128>>2];switch(b|0){case 0:break c;case 1:break d;default:break e}}while(1){d=f;f=d+1|0;b=b>>1;if(b>>>0>1){continue}break}if(d>>>0<14){break d}b=v[c+120>>2];d=v[b>>2];v[d+20>>2]=41;Ub[v[d>>2]](b)}b=f<<4;d=v[c+124>>2];f:{if(v[c+108>>2]){b=v[((d<<2)+c|0)+92>>2]+(b<<2)|0;v[b>>2]=v[b>>2]+1;break f}d=v[((d<<2)+c|0)+60>>2];e=v[d+(b<<2)>>2];h=v[c+16>>2];b=t[(b+d|0)+1024|0];if(!b){d=v[c+120>>2];j=v[d>>2];v[j+20>>2]=41;Ub[v[j>>2]](d);if(v[c+108>>2]){break f}}d=e&(-1<>2]|d<<24-e;if((e|0)>=8){while(1){d=v[c+112>>2];v[c+112>>2]=d+1;t[d|0]=b>>>16;d=v[c+116>>2]-1|0;v[c+116>>2]=d;if(!d){h=v[c+120>>2];d=v[h+24>>2];if(!(Ub[v[d+12>>2]](h)|0)){h=v[c+120>>2];j=v[h>>2];v[j+20>>2]=25;Ub[v[j>>2]](h)}v[c+112>>2]=v[d>>2];v[c+116>>2]=v[d+4>>2]}d=e;g:{if((b&16711680)!=16711680){break g}e=v[c+112>>2];v[c+112>>2]=e+1;t[e|0]=0;e=v[c+116>>2]-1|0;v[c+116>>2]=e;if(e){break g}h=v[c+120>>2];e=v[h+24>>2];if(!(Ub[v[e+12>>2]](h)|0)){h=v[c+120>>2];j=v[h>>2];v[j+20>>2]=25;Ub[v[j>>2]](h)}v[c+112>>2]=v[e>>2];v[c+116>>2]=v[e+4>>2]}e=d-8|0;b=b<<8;if((d|0)>15){continue}break}}v[c+16>>2]=e;v[c+12>>2]=b}if(!(v[c+108>>2]|!f)){d=v[c+16>>2]+f|0;f=v[c+12>>2]|(v[c+128>>2]&(-1<=8){while(1){b=v[c+112>>2];v[c+112>>2]=b+1;t[b|0]=f>>>16;b=v[c+116>>2]-1|0;v[c+116>>2]=b;if(!b){e=v[c+120>>2];b=v[e+24>>2];if(!(Ub[v[b+12>>2]](e)|0)){e=v[c+120>>2];h=v[e>>2];v[h+20>>2]=25;Ub[v[h>>2]](e)}v[c+112>>2]=v[b>>2];v[c+116>>2]=v[b+4>>2]}b=d;h:{if((f&16711680)!=16711680){break h}d=v[c+112>>2];v[c+112>>2]=d+1;t[d|0]=0;d=v[c+116>>2]-1|0;v[c+116>>2]=d;if(d){break h}e=v[c+120>>2];d=v[e+24>>2];if(!(Ub[v[d+12>>2]](e)|0)){e=v[c+120>>2];h=v[e>>2];v[h+20>>2]=25;Ub[v[h>>2]](e)}v[c+112>>2]=v[d>>2];v[c+116>>2]=v[d+4>>2]}d=b-8|0;f=f<<8;if((b|0)>15){continue}break}}v[c+16>>2]=d;v[c+12>>2]=f}v[c+128>>2]=0;i:{if(v[c+108>>2]){break i}h=v[c+132>>2];if(!h){break i}e=v[c+136>>2];f=0;while(1){if(!f){b=v[c+16>>2];f=v[c+12>>2]|(t[e|0]&1)<<23-b;d=b+1|0;if((b|0)>=7){while(1){b=v[c+112>>2];v[c+112>>2]=b+1;t[b|0]=f>>>16;b=v[c+116>>2]-1|0;v[c+116>>2]=b;if(!b){j=v[c+120>>2];b=v[j+24>>2];if(!(Ub[v[b+12>>2]](j)|0)){j=v[c+120>>2];l=v[j>>2];v[l+20>>2]=25;Ub[v[l>>2]](j)}v[c+112>>2]=v[b>>2];v[c+116>>2]=v[b+4>>2]}b=d;j:{if((f&16711680)!=16711680){break j}d=v[c+112>>2];v[c+112>>2]=d+1;t[d|0]=0;d=v[c+116>>2]-1|0;v[c+116>>2]=d;if(d){break j}j=v[c+120>>2];d=v[j+24>>2];if(!(Ub[v[d+12>>2]](j)|0)){j=v[c+120>>2];l=v[j>>2];v[l+20>>2]=25;Ub[v[l>>2]](j)}v[c+112>>2]=v[d>>2];v[c+116>>2]=v[d+4>>2]}d=b-8|0;f=f<<8;if((b|0)>15){continue}break}}v[c+16>>2]=d;v[c+12>>2]=f}h=h-1|0;if(!h){break i}e=e+1|0;f=v[c+108>>2];continue}}v[c+132>>2]=0}if((g|0)>15){while(1){b=g;d=v[c+124>>2];k:{if(v[c+108>>2]){d=v[((d<<2)+c|0)+92>>2];v[d+960>>2]=v[d+960>>2]+1;break k}d=v[((d<<2)+c|0)+60>>2];f=v[d+960>>2];e=v[c+16>>2];d=t[d+1264|0];if(!d){g=v[c+120>>2];h=v[g>>2];v[h+20>>2]=41;Ub[v[h>>2]](g);if(v[c+108>>2]){break k}}f=f&(-1<>2]|f<<24-d;if((d|0)>=8){while(1){e=v[c+112>>2];v[c+112>>2]=e+1;t[e|0]=f>>>16;e=v[c+116>>2]-1|0;v[c+116>>2]=e;if(!e){g=v[c+120>>2];e=v[g+24>>2];if(!(Ub[v[e+12>>2]](g)|0)){g=v[c+120>>2];h=v[g>>2];v[h+20>>2]=25;Ub[v[h>>2]](g)}v[c+112>>2]=v[e>>2];v[c+116>>2]=v[e+4>>2]}e=d;l:{if((f&16711680)!=16711680){break l}d=v[c+112>>2];v[c+112>>2]=d+1;t[d|0]=0;d=v[c+116>>2]-1|0;v[c+116>>2]=d;if(d){break l}g=v[c+120>>2];d=v[g+24>>2];if(!(Ub[v[d+12>>2]](g)|0)){g=v[c+120>>2];h=v[g>>2];v[h+20>>2]=25;Ub[v[h>>2]](g)}v[c+112>>2]=v[d>>2];v[c+116>>2]=v[d+4>>2]}d=e-8|0;f=f<<8;if((e|0)>15){continue}break}}v[c+16>>2]=d;v[c+12>>2]=f}g=b-16|0;if((b|0)>31){continue}break}}f=1;m:{if(i>>>0<2){break m}while(1){b=f;f=b+1|0;i=i>>1;if(i>>>0>1){continue}break}if(b>>>0<10){break m}b=v[a>>2];v[b+20>>2]=6;Ub[v[b>>2]](a)}b=(g<<4)+f|0;d=v[c+124>>2];n:{if(v[c+108>>2]){b=v[((d<<2)+c|0)+92>>2]+(b<<2)|0;v[b>>2]=v[b>>2]+1;break n}d=v[((d<<2)+c|0)+60>>2];e=v[d+(b<<2)>>2];g=v[c+16>>2];d=t[(b+d|0)+1024|0];if(!d){b=v[c+120>>2];i=v[b>>2];v[i+20>>2]=41;Ub[v[i>>2]](b);b=0;if(v[c+108>>2]){break b}}b=e&(-1<>2]|b<<24-e;o:{if((e|0)<=7){v[c+16>>2]=e;v[c+12>>2]=b;break o}while(1){d=v[c+112>>2];v[c+112>>2]=d+1;t[d|0]=b>>>16;d=v[c+116>>2]-1|0;v[c+116>>2]=d;if(!d){g=v[c+120>>2];d=v[g+24>>2];if(!(Ub[v[d+12>>2]](g)|0)){g=v[c+120>>2];i=v[g>>2];v[i+20>>2]=25;Ub[v[i>>2]](g)}v[c+112>>2]=v[d>>2];v[c+116>>2]=v[d+4>>2]}d=e;p:{if((b&16711680)!=16711680){break p}e=v[c+112>>2];v[c+112>>2]=e+1;t[e|0]=0;e=v[c+116>>2]-1|0;v[c+116>>2]=e;if(e){break p}g=v[c+120>>2];e=v[g+24>>2];if(!(Ub[v[e+12>>2]](g)|0)){g=v[c+120>>2];i=v[g>>2];v[i+20>>2]=25;Ub[v[i>>2]](g)}v[c+112>>2]=v[e>>2];v[c+116>>2]=v[e+4>>2]}e=d-8|0;b=b<<8;if((d|0)>15){continue}break}v[c+16>>2]=e;v[c+12>>2]=b;b=0;if(v[c+108>>2]){break b}}d=v[c+16>>2]+f|0;f=v[c+12>>2]|((-1<=8){while(1){b=v[c+112>>2];v[c+112>>2]=b+1;t[b|0]=f>>>16;b=v[c+116>>2]-1|0;v[c+116>>2]=b;if(!b){e=v[c+120>>2];b=v[e+24>>2];if(!(Ub[v[b+12>>2]](e)|0)){e=v[c+120>>2];g=v[e>>2];v[g+20>>2]=25;Ub[v[g>>2]](e)}v[c+112>>2]=v[b>>2];v[c+116>>2]=v[b+4>>2]}b=d;q:{if((f&16711680)!=16711680){break q}d=v[c+112>>2];v[c+112>>2]=d+1;t[d|0]=0;d=v[c+116>>2]-1|0;v[c+116>>2]=d;if(d){break q}e=v[c+120>>2];d=v[e+24>>2];if(!(Ub[v[d+12>>2]](e)|0)){e=v[c+120>>2];g=v[e>>2];v[g+20>>2]=25;Ub[v[g>>2]](e)}v[c+112>>2]=v[d>>2];v[c+116>>2]=v[d+4>>2]}d=b-8|0;f=f<<8;if((b|0)>15){continue}break}}v[c+16>>2]=d;v[c+12>>2]=f}b=0}g=b;f=k+1|0;if((k|0)!=(m|0)){continue}break}if((g|0)<1){break a}b=v[c+128>>2]+1|0;v[c+128>>2]=b;if((b|0)!=32767){break a}b=v[c+124>>2];r:{s:{if(v[c+108>>2]){b=v[((b<<2)+c|0)+92>>2];v[b+896>>2]=v[b+896>>2]+1;break s}b=v[((b<<2)+c|0)+60>>2];d=v[b+896>>2];f=v[c+16>>2];b=t[b+1248|0];if(!b){e=v[c+120>>2];g=v[e>>2];v[g+20>>2]=41;Ub[v[g>>2]](e);if(v[c+108>>2]){break s}}e=d&(-1<>2]|e<<24-d;t:{if((d|0)>7){while(1){b=v[c+112>>2];v[c+112>>2]=b+1;t[b|0]=f>>>16;b=v[c+116>>2]-1|0;v[c+116>>2]=b;if(!b){e=v[c+120>>2];b=v[e+24>>2];if(!(Ub[v[b+12>>2]](e)|0)){e=v[c+120>>2];g=v[e>>2];v[g+20>>2]=25;Ub[v[g>>2]](e)}v[c+112>>2]=v[b>>2];v[c+116>>2]=v[b+4>>2]}b=d;u:{if((f&16711680)!=16711680){break u}d=v[c+112>>2];v[c+112>>2]=d+1;t[d|0]=0;d=v[c+116>>2]-1|0;v[c+116>>2]=d;if(d){break u}e=v[c+120>>2];d=v[e+24>>2];if(!(Ub[v[d+12>>2]](e)|0)){e=v[c+120>>2];g=v[e>>2];v[g+20>>2]=25;Ub[v[g>>2]](e)}v[c+112>>2]=v[d>>2];v[c+116>>2]=v[d+4>>2]}d=b-8|0;f=f<<8;if((b|0)>15){continue}break}v[c+16>>2]=d;v[c+12>>2]=f;if(v[c+108>>2]){break s}break t}v[c+16>>2]=d;v[c+12>>2]=f}f=v[c+12>>2]|(v[c+128>>2]&16383)<<10-d;e=d+14|0;b=1;if((d|0)>=-6){while(1){b=v[c+112>>2];v[c+112>>2]=b+1;t[b|0]=f>>>16;b=v[c+116>>2]-1|0;v[c+116>>2]=b;if(!b){d=v[c+120>>2];b=v[d+24>>2];if(!(Ub[v[b+12>>2]](d)|0)){d=v[c+120>>2];g=v[d>>2];v[g+20>>2]=25;Ub[v[g>>2]](d)}v[c+112>>2]=v[b>>2];v[c+116>>2]=v[b+4>>2]}b=e;v:{if((f&16711680)!=16711680){break v}d=v[c+112>>2];v[c+112>>2]=d+1;t[d|0]=0;d=v[c+116>>2]-1|0;v[c+116>>2]=d;if(d){break v}e=v[c+120>>2];d=v[e+24>>2];if(!(Ub[v[d+12>>2]](e)|0)){e=v[c+120>>2];g=v[e>>2];v[g+20>>2]=25;Ub[v[g>>2]](e)}v[c+112>>2]=v[d>>2];v[c+116>>2]=v[d+4>>2]}e=b-8|0;f=f<<8;if((b|0)>15){continue}break}b=!v[c+108>>2]}v[c+128>>2]=0;v[c+16>>2]=e;v[c+12>>2]=f;if(!b){break r}g=v[c+132>>2];if(!g){break r}e=v[c+136>>2];f=0;while(1){if(!f){b=v[c+16>>2];f=v[c+12>>2]|(t[e|0]&1)<<23-b;d=b+1|0;if((b|0)>=7){while(1){b=v[c+112>>2];v[c+112>>2]=b+1;t[b|0]=f>>>16;b=v[c+116>>2]-1|0;v[c+116>>2]=b;if(!b){k=v[c+120>>2];b=v[k+24>>2];if(!(Ub[v[b+12>>2]](k)|0)){k=v[c+120>>2];i=v[k>>2];v[i+20>>2]=25;Ub[v[i>>2]](k)}v[c+112>>2]=v[b>>2];v[c+116>>2]=v[b+4>>2]}b=d;w:{if((f&16711680)!=16711680){break w}d=v[c+112>>2];v[c+112>>2]=d+1;t[d|0]=0;d=v[c+116>>2]-1|0;v[c+116>>2]=d;if(d){break w}k=v[c+120>>2];d=v[k+24>>2];if(!(Ub[v[d+12>>2]](k)|0)){k=v[c+120>>2];i=v[k>>2];v[i+20>>2]=25;Ub[v[i>>2]](k)}v[c+112>>2]=v[d>>2];v[c+116>>2]=v[d+4>>2]}d=b-8|0;f=f<<8;if((b|0)>15){continue}break}}v[c+16>>2]=d;v[c+12>>2]=f}g=g-1|0;if(!g){break r}e=e+1|0;f=v[c+108>>2];continue}}v[c+128>>2]=0}v[c+132>>2]=0}b=v[a+24>>2];v[b>>2]=v[c+112>>2];v[b+4>>2]=v[c+116>>2];a=v[a+236>>2];if(a){b=c;d=v[c+36>>2];if(d){a=d}else{v[c+36>>2]=a;v[c+40>>2]=v[c+40>>2]+1&7}v[b+36>>2]=a-1}return 1}function dT(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0;e=Qb-608|0;Qb=e;v[e+584>>2]=13;v[e+568>>2]=13;v[e+552>>2]=13;v[e+16>>2]=13;v[e>>2]=13;f=1;a:{b:{c:{d:{if(!(v[a+100>>2]|d)){break d}v[e+600>>2]=0;v[e+604>>2]=0;Ub[v[v[c>>2]+84>>2]](c,e+604|0,e+600|0);k=Ub[v[v[c>>2]+76>>2]](c)|0;s=v[v[a+28>>2]+420>>2];rc(k,269643,e+16|0,0);h=v[e+16>>2];if((h|0)==5){h=e+16|0;hc(h);rc(k,309708,h,0);h=v[e+16>>2]}e:{f:{if((h|0)!=1){break f}o=v[e+24>>2];hc(e+16|0);if((o|0)<1){break e}rc(k,232219,e+16|0,0);h=v[e+16>>2];if((h|0)==5){h=e+16|0;hc(h);rc(k,320879,h,0);h=v[e+16>>2]}if((h|0)!=1){break f}p=v[e+24>>2];hc(e+16|0);if((p|0)<1){break e}h=0;rc(k,261864,e+16|0,0);f=v[e+16>>2];if((f|0)==5){f=e+16|0;hc(f);rc(k,316396,f,0);f=v[e+16>>2]}g:{switch(f|0){case 0:h=v[e+24>>2];break;case 5:break g;default:break f}}hc(e+16|0);if(!v[e+604>>2]){rc(k,228703,e+16|0,0);f=v[e+16>>2];if((f|0)==5){f=e+16|0;hc(f);rc(k,322057,f,0);f=v[e+16>>2]}h:{if((f|0)==1){f=v[e+24>>2];v[e+604>>2]=f;if(f-1>>>0<=15){break h}break f}if(!h){break f}v[e+604>>2]=1}hc(e+16|0)}rc(k,277061,e+16|0,0);f=v[e+16>>2];if((f|0)==5){f=e+16|0;hc(f);rc(k,320692,f,0);f=v[e+16>>2]}r=!f&v[e+24>>2]!=0;hc(e+16|0);i:{j:{if(h){if(v[e+604>>2]!=1){break e}h=0;rc(k,284226,e+16|0,0);f=v[e+16>>2];if((f|0)==5){f=e+16|0;hc(f);rc(k,321761,f,0);f=v[e+16>>2]}k:{switch(f-5|0){case 1:yc(v[e+24>>2],0,e,0);f=v[e>>2];if(f-1>>>0<=1){h=((f|0)==1?+v[e+8>>2]:A[e+8>>3])==1}hc(e);break;case 0:break k;default:break f}}hc(e+16|0);if(!v[a+100>>2]){Ub[v[v[c>>2]+20>>2]](c);b=B(o+7>>>3|0,p);l:{if((b|0)<1){break l}f=b&3;if(b-1>>>0>=3){d=b&-4;while(1){Ub[v[v[c>>2]+28>>2]](c)|0;Ub[v[v[c>>2]+28>>2]](c)|0;Ub[v[v[c>>2]+28>>2]](c)|0;Ub[v[v[c>>2]+28>>2]](c)|0;d=d-4|0;if(d){continue}break}}if(!f){break l}while(1){Ub[v[v[c>>2]+28>>2]](c)|0;f=f-1|0;if(f){continue}break}}Ub[v[v[c>>2]+24>>2]](c);break j}f=v[v[a+28>>2]+116>>2];if((Ub[v[v[f>>2]+12>>2]](f)|0)==10){f=v[a+8>>2];Ub[v[v[f>>2]+64>>2]](f,v[a+28>>2]);f=cu(v[a+28>>2]);v[a+28>>2]=f;g=v[a+8>>2];Ub[v[v[g>>2]+284>>2]](g,f,b,c,o,p,h,d,r);vf(v[a+28>>2]);b=v[a+28>>2];v[b+600>>2]=0;v[b+604>>2]=0;v[b+608>>2]=0;v[b+612>>2]=0;b=v[b+596>>2];A[b+16>>3]=0;A[b+8>>3]=0;v[b>>2]=1;b=v[a+28>>2];v[b+608>>2]=0;v[b+612>>2]=0;v[b+600>>2]=0;v[b+604>>2]=1072693248;Ud(v[b+596>>2],1,0);b=v[a+28>>2];v[b+608>>2]=0;v[b+612>>2]=1072693248;v[b+600>>2]=0;v[b+604>>2]=1072693248;Ud(v[b+596>>2],1,1);b=v[a+28>>2];v[b+608>>2]=0;v[b+612>>2]=1072693248;v[b+600>>2]=0;v[b+604>>2]=0;Ud(v[b+596>>2],0,1);b=v[a+28>>2];Hf(v[b+596>>2]);c=v[b+596>>2];c=v[((v[c+28>>2]<<2)+v[c+24>>2]|0)-4>>2];d=(v[c+12>>2]<<3)-8|0;A[b+600>>3]=A[d+v[c>>2]>>3];A[b+608>>3]=A[d+v[c+4>>2]>>3];Op(a,1);vf(v[a+28>>2]);b=_k(v[a+28>>2]);v[a+28>>2]=b;c=v[a+8>>2];Ub[v[v[c>>2]+68>>2]](c,b);break j}f=v[a+8>>2];Ub[v[v[f>>2]+280>>2]](f,v[a+28>>2],b,c,o,p,h,d,r);break j}if(v[rc(k,228611,e+16|0,0)>>2]==4){VE(a,e+16|0,e)}h=e+16|0;hc(h);rc(k,286569,h,0);h=v[e+16>>2];if((h|0)==5){h=e+16|0;hc(h);rc(k,310883,h,0);h=v[e+16>>2]}m:{if((h|0)!=4){break m}ZS(v[a+20>>2],v[e+24>>2],e);if(v[e>>2]!=5){hc(e+16|0);h=v[e+12>>2];v[e+24>>2]=v[e+8>>2];v[e+28>>2]=h;h=v[e+4>>2];v[e+16>>2]=v[e>>2];v[e+20>>2]=h;break m}hc(e)}n:{if(v[e+16>>2]!=5){f=Wl(e+16|0,0);break n}o:{switch(v[e+600>>2]-1|0){default:hc(e+16|0);break e;case 0:f=jk(0);break n;case 1:f=jk(2);break n;case 2:break o}}f=jk(4)}hc(e+16|0);if(!f){break e}if((Ub[v[v[f>>2]+12>>2]](f)|0)==10){c=-1;b=v[a+108>>2];p:{if(!b){break p}b=v[b+4>>2];if(v[b+8>>2]==13){break p}b=v[b+16>>2];c=Ub[v[v[b>>2]+52>>2]](b)|0}kc(1,c,286360,0);Ub[v[v[f>>2]+4>>2]](f);break e}rc(k,284226,e+16|0,0);if(v[e+16>>2]==5){h=e+16|0;hc(h);rc(k,321761,h,0)}h=fc(800);v[299999]=0;m=ca(3432,h|0,v[e+604>>2],e+16|0,f|0,8)|0;g=v[299999];v[299999]=0;if((g|0)==1){break c}hc(e+16|0);if(!v[m+792>>2]){Vl(m);dc(h);break e}rc(k,261875,e+584|0,0);rc(k,261874,e+568|0,0);q:{r:{s:{if(v[e+568>>2]==8){if(d){Vl(m);dc(h);hc(e+584|0);hc(e+568|0);break e}q=v[e+576>>2];j=Ub[v[v[q>>2]+76>>2]](q)|0;rc(j,269643,e+16|0,0);g=v[e+16>>2];if((g|0)==5){g=e+16|0;hc(g);rc(j,309708,g,0);g=v[e+16>>2]}if((g|0)!=1){break i}t=v[e+24>>2];g=e+16|0;hc(g);rc(j,232219,g,0);g=v[e+16>>2];if((g|0)==5){g=e+16|0;hc(g);rc(j,320879,g,0);g=v[e+16>>2]}if((g|0)!=1){break i}u=v[e+24>>2];hc(e+16|0);if(!((u|0)>0&(t|0)>=1)){Vl(m);dc(h);hc(e+584|0);hc(e+568|0);break e}rc(j,228703,e+16|0,0);g=v[e+16>>2];if((g|0)==5){g=e+16|0;hc(g);rc(j,322057,g,0);g=v[e+16>>2]}if((g|0)!=1){break i}n=v[e+24>>2];hc(e+16|0);if(n-1>>>0>=16){Vl(m);dc(h);hc(e+584|0);hc(e+568|0);break e}rc(j,286569,e+16|0,0);g=v[e+16>>2];if((g|0)==5){g=e+16|0;hc(g);rc(j,310883,g,0);g=v[e+16>>2]}if((g|0)!=4){break i}ZS(v[a+20>>2],v[e+24>>2],e);t:{if(v[e>>2]!=5){hc(e+16|0);g=v[e+12>>2];v[e+24>>2]=v[e+8>>2];v[e+28>>2]=g;g=v[e+4>>2];v[e+16>>2]=v[e>>2];v[e+20>>2]=g;break t}hc(e)}if(v[e+16>>2]!=4){break i}if(mc(v[e+24>>2],220215)){break i}g=fc(12);v[299999]=0;v[g+4>>2]=15;v[g+8>>2]=0;v[g>>2]=896936;i=v[299999];v[299999]=0;if((i|0)==1){break b}i=e+16|0;hc(i);rc(j,284226,i,0);if(v[e+16>>2]==5){i=e+16|0;hc(i);rc(j,321761,i,0)}i=fc(800);v[299999]=0;n=ca(3432,i|0,n|0,e+16|0,g|0,8)|0;g=v[299999];v[299999]=0;u:{if((g|0)!=1){hc(e+16|0);if(v[n+792>>2]){break u}Vl(n);dc(i);Vl(m);dc(h);hc(e+584|0);hc(e+568|0);break e}a=P()|0;O()|0;h=i;break a}l=1;v:{if(v[rc(j,276438,e+16|0,0)>>2]!=6){break v}if(v[v[e+24>>2]+12>>2]==(Ub[v[v[f>>2]+28>>2]](f)|0)){j=0;g=v[e+24>>2];l=0;if(v[g+12>>2]<1){break v}while(1){f=(e+32|0)+(j<<3)|0;w:{if(v[yc(g,j,e,0)>>2]-1>>>0<=1){w=v[e>>2]==1?+v[e+8>>2]:A[e+8>>3];break w}g=-1;l=v[a+108>>2];x:{if(!l){break x}l=v[l+4>>2];if(v[l+8>>2]==13){break x}g=v[l+16>>2];g=Ub[v[v[g>>2]+52>>2]](g)|0}kc(1,g,261792,0);w=0}A[f>>3]=w;hc(e);j=j+1|0;g=v[e+24>>2];if((j|0)>2]){continue}break}l=0;break v}g=-1;f=v[a+108>>2];y:{if(!f){break y}f=v[f+4>>2];if(v[f+8>>2]==13){break y}f=v[f+16>>2];g=Ub[v[v[f>>2]+52>>2]](f)|0}kc(1,g,261792,0);l=1}hc(e+16|0);j=v[v[a+28>>2]+664>>2];if(j|!v[a+100>>2]){break s}d=e+552|0;Ce(k,261875,d);f=v[a+8>>2];Ub[v[v[f>>2]+296>>2]](f,v[a+28>>2],b,c,o,p,m,d,q,t,u,n,l?0:e+32|0,r);hc(d);Vl(n);dc(i);break q}g=1;z:{A:{B:{C:{switch(v[e+584>>2]-6|0){case 0:j=1;f=0;i=v[e+592>>2];if(v[i+12>>2]<=1){g=0;break z}while(1){yc(i,f,e+16|0,0);if(v[e+16>>2]!=1){break B}i=v[e+24>>2];v[(e+288|0)+(f<<2)>>2]=i;hc(e+16|0);if((i|0)<0){break A}g=1;if((i|0)>=1<>2]){break z}yc(v[e+592>>2],j,e+16|0,0);if(v[e+16>>2]!=1){break B}k=v[e+24>>2];v[(e+288|0)+(j<<2)>>2]=k;hc(e+16|0);if((k|0)<0|(k|0)>=1<>2]|(i|0)>(k|0)){break z}g=0;f=f+2|0;j=f|1;if(j>>>0>63){break z}i=v[e+592>>2];if(v[i+12>>2]>(j|0)){continue}break};break z;case 2:break C;default:break z}}if(d){Vl(m);dc(h);hc(e+584|0);hc(e+568|0);break e}n=v[e+592>>2];i=Ub[v[v[n>>2]+76>>2]](n)|0;rc(i,269643,e+16|0,0);f=v[e+16>>2];if((f|0)==5){f=e+16|0;hc(f);rc(i,309708,f,0);f=v[e+16>>2]}if((f|0)!=1){break i}l=v[e+24>>2];f=e+16|0;hc(f);rc(i,232219,f,0);f=v[e+16>>2];if((f|0)==5){f=e+16|0;hc(f);rc(i,320879,f,0);f=v[e+16>>2]}if((f|0)!=1){break i}q=v[e+24>>2];hc(e+16|0);if((l|0)<1|(q|0)<1){break i}rc(i,261864,e+16|0,0);f=v[e+16>>2];if((f|0)==5){f=e+16|0;hc(f);rc(i,316396,f,0);f=v[e+16>>2]}if(!v[e+24>>2]|f){break i}f=e+16|0;hc(f);g=0;rc(i,284226,f,0);f=v[e+16>>2];if((f|0)==5){f=e+16|0;hc(f);rc(i,321761,f,0);f=v[e+16>>2]}D:{switch(f-5|0){case 1:yc(v[e+24>>2],0,e,0);f=v[e>>2];if(f-1>>>0<=1){g=((f|0)==1?+v[e+8>>2]:A[e+8>>3])==1}hc(e);break;case 0:break D;default:break i}}hc(e+16|0);j=v[v[a+28>>2]+664>>2];if(j|!v[a+100>>2]){break s}d=e+552|0;Ce(k,261875,d);f=v[a+8>>2];Ub[v[v[f>>2]+292>>2]](f,v[a+28>>2],b,c,o,p,m,d,n,l,q,g,r);hc(d);break q}hc(e+16|0)}g=1}f=v[a+28>>2];j=v[f+664>>2];if(j){break s}if(v[a+100>>2]){break r}}if(j){f=-1;b=v[a+108>>2];E:{if(!b){break E}b=v[b+4>>2];if(v[b+8>>2]==13){break E}b=v[b+16>>2];f=Ub[v[v[b>>2]+52>>2]](b)|0}kc(0,f,245478,0)}if(!d){break q}Ub[v[v[c>>2]+20>>2]](c);Ub[v[v[c>>2]+48>>2]](c,B((B(v[m+4>>2],B(v[m+8>>2],o))+7|0)/8|0,p))|0;Ub[v[v[c>>2]+24>>2]](c);break q}i=v[a+8>>2];Ub[v[v[i>>2]+288>>2]](i,f,b,c,o,p,m,g?0:e+288|0,d,r)}Vl(m);dc(h);hc(e+584|0);hc(e+568|0)}b=v[a+28>>2];if(v[b+420>>2]!=(s|0)){v[b+420>>2]=s;c=v[a+8>>2];Ub[v[v[c>>2]+148>>2]](c,b)}b=a;c=v[a+24>>2];a=B(o,p);v[b+24>>2]=c+((a|0)<1e3?a:1e3);f=1;break d}Vl(m);dc(h);hc(e+584|0);hc(e+568|0)}hc(e+16|0)}c=-1;b=v[a+108>>2];F:{if(!b){break F}b=v[b+4>>2];if(v[b+8>>2]==13){break F}b=v[b+16>>2];c=Ub[v[v[b>>2]+52>>2]](b)|0}f=0;kc(1,c,235123,0);b=v[a+28>>2];if(v[b+420>>2]==(s|0)){break d}v[b+420>>2]=s;a=v[a+8>>2];Ub[v[v[a>>2]+148>>2]](a,b)}Qb=e+608|0;return f}a=P()|0;O()|0;break a}a=P()|0;O()|0;h=g}dc(h);T(a|0);L()}function uma(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,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0,y=0,z=0;f=Qb-128|0;Qb=f;g=v[c+12>>2];v[f+120>>2]=v[c+8>>2];v[f+124>>2]=g;g=v[c+4>>2];v[f+112>>2]=v[c>>2];v[f+116>>2]=g;c=v[d+12>>2];v[f+104>>2]=v[d+8>>2];v[f+108>>2]=c;c=v[d+4>>2];v[f+96>>2]=v[d>>2];v[f+100>>2]=c;d=b+8|0;a:{if(v[b+8>>2]){Ch(f+40|0,b,d);break a}v[f+40>>2]=0;Wc(f+40|0,0)}c=v[f+40>>2];v[f+40>>2]=0;b:{c:{d:{e:{f:{g:{h:{if(c){v[299999]=0;g=v[c+4>>2]-1|0;v[c+4>>2]=g;i=v[299999];v[299999]=0;if((i|0)==1){break b}if(!g){v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break b}}if(v[b+12>>2]>=1){c=jx(f+40|0);g=v[b+12>>2];ix(c,0-((g|0)>0?g:0)|0);lr(c,f+112|0);lr(c,f+96|0)}i:{c=v[f+96>>2];g=v[f+112>>2];j:{if((c|0)>(g|0)){break j}h=g;g=v[f+104>>2];if((h|0)>=(g|0)){break j}i=v[f+100>>2];h=v[f+116>>2];if((i|0)>(h|0)){break j}j=h;h=v[f+108>>2];if((j|0)>=(h|0)){break j}j=c;c=v[f+120>>2];if((j|0)>=(c|0)|(c|0)>(g|0)){break j}c=v[f+124>>2];if((c|0)<=(i|0)){break j}if((c|0)<=(h|0)){break i}}a=vc(f+40|0,233680,242053,1106,338298,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break h}b=P()|0;O()|0;qc(a);T(b|0);L()}k:{if(v[d>>2]){Ch(f+40|0,b,d);break k}v[f+40>>2]=0;Wc(f+40|0,0)}g=v[f+40>>2];l:{if(!g){c=0;break l}c=v[g+8>>2];v[299999]=0;v[f+40>>2]=0;i=v[g+4>>2]-1|0;v[g+4>>2]=i;h=v[299999];v[299999]=0;if((h|0)==1){break b}if(i){break l}v[299999]=0;R(4338,g|0);g=v[299999];v[299999]=0;if((g|0)==1){break b}}m:{if(v[d>>2]){Ch(f+40|0,b,d);break m}v[f+40>>2]=0;Wc(f+40|0,0)}d=0;g=v[f+40>>2];n:{if(!g){break n}d=v[g+12>>2];v[299999]=0;v[f+40>>2]=0;i=v[g+4>>2]-1|0;v[g+4>>2]=i;h=v[299999];v[299999]=0;if((h|0)==1){break b}if(i){break n}v[299999]=0;R(4338,g|0);g=v[299999];v[299999]=0;if((g|0)==1){break b}}h=v[f+104>>2];j=v[f+108>>2];i=v[f+96>>2];g=v[f+100>>2];k=v[f+124>>2];v[f+48>>2]=v[f+120>>2];v[f+52>>2]=k;k=v[f+116>>2];v[f+40>>2]=v[f+112>>2];v[f+44>>2]=k;Lm(f+40|0,0-i|0,0-g|0);g=j-g|0;i=h-i|0;if((i|0)==(c|0)){j=1;if((d|0)==(g|0)){break f}}r=i<<1;o:{if((r|0)<=(c-2|0)|(r|0)>=(c+2|0)){break o}h=g<<1;if((h|0)<=(d-2|0)){break o}j=2;if((h|0)<(d+2|0)){break f}}s=B(i,3);p:{if((s|0)<=(c-3|0)|(c+3|0)<=(s|0)){break p}j=3;h=B(g,3);if((h|0)<=(d-3|0)){break p}if((h|0)<(d+3|0)){break f}}t=i<<2;q:{if((t|0)<=(c-4|0)|(c+4|0)<=(t|0)){break q}h=g<<2;if((h|0)<=(d-4|0)){break q}j=4;if((h|0)<(d+4|0)){break f}}u=B(i,5);r:{if((u|0)<=(c-5|0)|(c+5|0)<=(u|0)){break r}j=5;h=B(g,5);if((h|0)<=(d-5|0)){break r}if((h|0)<(d+5|0)){break f}}l=B(i,6);s:{if((l|0)<=(c-6|0)|(l|0)>=(c+6|0)){break s}j=6;h=B(g,6);if((h|0)<=(d-6|0)){break s}if((h|0)<(d+6|0)){break f}}m=B(i,7);t:{if((m|0)<=(c-7|0)|(m|0)>=(c+7|0)){break t}j=7;h=B(g,7);if((h|0)<=(d-7|0)){break t}if((h|0)<(d+7|0)){break f}}w=i<<3;u:{if((w|0)<=(c-8|0)|(c+8|0)<=(w|0)){break u}h=g<<3;if((h|0)<=(d-8|0)){break u}j=8;if((h|0)<(d+8|0)){break f}}n=B(i,9);v:{if((n|0)<=(c-9|0)|(n|0)>=(c+9|0)){break v}j=9;h=B(g,9);if((h|0)<=(d-9|0)){break v}if((h|0)<(d+9|0)){break f}}o=B(i,10);w:{if((o|0)<=(c-10|0)|(o|0)>=(c+10|0)){break w}j=10;h=B(g,10);if((h|0)<=(d-10|0)){break w}if((h|0)<(d+10|0)){break f}}x=B(i,11);x:{if((x|0)<=(c-11|0)|(c+11|0)<=(x|0)){break x}j=11;h=B(g,11);if((h|0)<=(d-11|0)){break x}if((h|0)<(d+11|0)){break f}}p=B(i,12);y:{if((p|0)<=(c-12|0)|(p|0)>=(c+12|0)){break y}j=12;h=B(g,12);if((h|0)<=(d-12|0)){break y}if((h|0)<(d+12|0)){break f}}q=B(i,13);z:{if((q|0)<=(c-13|0)|(q|0)>=(c+13|0)){break z}j=13;h=B(g,13);if((h|0)<=(d-13|0)){break z}if((h|0)<(d+13|0)){break f}}y=B(i,14);A:{if((y|0)<=(c-14|0)|(c+14|0)<=(y|0)){break A}j=14;h=B(g,14);if((h|0)<=(d-14|0)){break A}if((h|0)<(d+14|0)){break f}}h=15;k=B(g,15);z=B(i,15);if(!((z|0)<=(c-15|0)|(c+15|0)<=(z|0)|(k|0)<=(d-15|0))){j=15;if((k|0)<(d+15|0)){break f}}j=(c|0)>(z|0);k=(d|0)>(k|0);if(j&k|(B(i,45)|0)<(c|0)|(B(g,45)|0)<(d|0)){break g}h=14;if((B(g,14)|0)<(d|0)&(c|0)>(y|0)|(B(i,42)|0)<(c|0)|(B(g,42)|0)<(d|0)){break g}h=13;if((B(g,13)|0)<(d|0)&(c|0)>(q|0)|(B(i,39)|0)<(c|0)|(B(g,39)|0)<(d|0)){break g}h=12;p=(c|0)>(p|0);q=(B(g,12)|0)<(d|0);if(p&q|(B(i,36)|0)<(c|0)|(B(g,36)|0)<(d|0)){break g}h=11;if((B(g,11)|0)<(d|0)&(c|0)>(x|0)|(B(i,33)|0)<(c|0)|(B(g,33)|0)<(d|0)){break g}h=10;if((B(g,10)|0)<(d|0)&(c|0)>(o|0)|(B(i,30)|0)<(c|0)|(B(g,30)|0)<(d|0)){break g}h=9;n=(c|0)>(n|0);o=(B(g,9)|0)<(d|0);if(n&o|(B(i,27)|0)<(c|0)|(B(g,27)|0)<(d|0)){break g}h=8;if(g<<3<(d|0)&(c|0)>(w|0)|(B(i,24)|0)<(c|0)|(B(g,24)|0)<(d|0)){break g}h=7;if((B(g,7)|0)<(d|0)&(c|0)>(m|0)|(B(i,21)|0)<(c|0)|(B(g,21)|0)<(d|0)){break g}h=6;l=(c|0)>(l|0);m=(B(g,6)|0)<(d|0);if(l&m|(B(i,18)|0)<(c|0)|(B(g,18)|0)<(d|0)){break g}h=5;if(k|(j|(B(g,5)|0)<(d|0)&(c|0)>(u|0))){break g}h=4;if(q|(p|g<<2<(d|0)&(c|0)>(t|0))){break g}h=3;if(o|(n|(B(g,3)|0)<(d|0)&(c|0)>(s|0))){break g}h=l?2:m?2:1;h=(c|0)>(r|0)?g<<1<(d|0)?2:h:h;break g}v[a>>2]=0;Wc(a,0);break e}L()}if(!((d|0)>0&(c|0)>=1)){v[a>>2]=0;Wc(a,0);break e}j=fc(120);v[299999]=0;k=S(4929,j|0)|0;r=v[299999];v[299999]=0;if((r|0)!=1){v[f+32>>2]=0;Wc(f+32|0,k);v[299999]=0;j=v[f+32>>2];k=h-1|0;U(4926,j|0,(k+c|0)/(h|0)|0,(d+k|0)/(h|0)|0);k=v[299999];v[299999]=0;B:{C:{D:{E:{F:{if((k|0)==1){break F}v[299999]=0;U(4927,j|0,i|0,g|0);k=v[299999];v[299999]=0;if((k|0)==1){break F}v[299999]=0;U(4902,j|0,B(h,i)|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break F}v[299999]=0;U(4903,j|0,B(g,h)|0,d|0);c=v[299999];v[299999]=0;if((c|0)==1){break F}v[f+24>>2]=0;v[f+28>>2]=0;v[f+16>>2]=0;v[f+20>>2]=0;v[299999]=0;U(4906,j|0,f+40|0,f+16|0);c=v[299999];v[299999]=0;if((c|0)==1){d=P()|0;O()|0;break B}v[299999]=0;fa(4930,f+8|0,b|0,f+16|0,h|0,1);c=v[299999];v[299999]=0;if((c|0)!=1){G:{H:{I:{if(!v[f+8>>2]){v[a>>2]=0;v[299999]=0;Q(4336,a|0,0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break I}d=P()|0;O()|0;break C}v[299999]=0;d=v[f+40>>2];g=v[f+48>>2];i=v[f+52>>2];h=v[f+44>>2];c=S(1,72)|0;k=v[299999];v[299999]=0;if((k|0)==1){break E}v[299999]=0;d=g-d|0;d=Z(4919,c|0,i-h|0,d|0,((d+e|0)-1&0-e)-d|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break H}v[299999]=0;v[f>>2]=0;Q(4336,f|0,d|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break E}v[299999]=0;fa(4931,j|0,f+16|0,v[f+8>>2],f+40|0,v[f>>2]);c=v[299999];v[299999]=0;if((c|0)==1){break D}c=v[f>>2];J:{if(c){b=v[b+12>>2];v[299999]=0;U(4932,a|0,c|0,((b|0)>0?b:0)|0);a=v[299999];v[299999]=0;if((a|0)!=1){break J}break D}v[a>>2]=0;v[299999]=0;Q(4336,a|0,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break D}}a=v[f>>2];v[f>>2]=0;if(!a){break I}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break b}if(b){break I}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break b}}a=v[f+8>>2];v[f+8>>2]=0;if(!a){break G}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break G}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break G}}break b}d=P()|0;O()|0;dc(c);break C}a=v[f+32>>2];v[f+32>>2]=0;if(!a){break e}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break e}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break e}}break b}d=P()|0;O()|0;break B}d=P()|0;O()|0;break B}d=P()|0;O()|0;break C}d=P()|0;O()|0;a=v[f>>2];v[f>>2]=0;if(!a){break C}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break C}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break C}}break b}a=v[f+8>>2];v[f+8>>2]=0;if(!a){break B}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break B}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break B}}break b}a=v[f+32>>2];v[f+32>>2]=0;if(!a){break c}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break c}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break c}}break b}d=P()|0;O()|0;dc(j);break c}bP(f+16|0,b,f+40|0,j,e);c=v[f+16>>2];K:{if(c){b=v[b+12>>2];v[299999]=0;U(4932,a|0,c|0,((b|0)>0?b:0)|0);a=v[299999];v[299999]=0;if((a|0)!=1){break K}break d}v[a>>2]=0;v[299999]=0;Q(4336,a|0,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break d}}a=v[f+16>>2];v[f+16>>2]=0;if(!a){break e}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break e}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break e}}break b}Qb=f+128|0;return}d=P()|0;O()|0;a=v[f+16>>2];v[f+16>>2]=0;if(!a){break c}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break c}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break c}}break b}T(d|0);L()}W(0)|0;O()|0;lc();L()}function w5a(a){a=a|0;var 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=C(0),r=C(0),s=C(0),y=0,B=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=C(0),T=0,U=0,V=0,W=0;e=Qb-320|0;Qb=e;v[e+184>>2]=0;v[e+188>>2]=0;v[e+176>>2]=0;v[e+180>>2]=0;gc(e+48|0,213696,124);l=A[a+120>>3];b=e+176|(l>=1)<<3;v[b>>2]=0;v[b+4>>2]=1072693248;a:{if(l==0){j=A[a+112>>3];break a}j=A[a+112>>3];if(!((l+-1)*(j+-1)<=0)){break a}y=-j;while(1){o=(A[e+176>>3]+A[e+184>>3])*.5;F=o/l;U=e+176|((de(F,y)+-1)/j+-1/o>-1)<<3,V=o,A[U>>3]=V;f=f+1|0;if((f|0)!=36){continue}break}A[a+128>>3]=F;A[a+136>>3]=(1/j+-1)*o}k=l*.5;l=A[a+128>>3];o=A[a+136>>3];j=j+1;j=1/(k*(l*l)-o*(1-l)+(o+1)*(1-de(l,j))/j)+-1;A[a+144>>3]=j;b=a+59388|0;c=v[b+4>>2];v[e+312>>2]=v[b>>2];v[e+316>>2]=c;b=a+59380|0;c=v[b+4>>2];v[e+304>>2]=v[b>>2];v[e+308>>2]=c;b=a+59372|0;c=v[b+4>>2];v[e+296>>2]=v[b>>2];v[e+300>>2]=c;b=a+59364|0;c=v[b+4>>2];v[e+288>>2]=v[b>>2];v[e+292>>2]=c;b=a+59356|0;c=v[b+4>>2];v[e+280>>2]=v[b>>2];v[e+284>>2]=c;b=v[a+59352>>2];v[e+272>>2]=v[a+59348>>2];v[e+276>>2]=b;f=1;b=v[a+26132>>2]|(v[a+192>>2]|v[a+26336>>2]==1?f:v[a+168>>2]-1>>>0>4);v[a+26132>>2]=b;b:{if(b){break b}b=bd(1024,1);v[a+26096>>2]=b;if(!b){b=v[a+190640>>2];c:{if(b){c=v[a+25208>>2];v[e+20>>2]=213856;v[e+16>>2]=c;zd(b,4338,e+16|0);break c}b=v[a+25208>>2];v[e+4>>2]=213856;v[e>>2]=b;wc(v[252391],4338,e)}sd(a+190484|0,1);L()}g=gc(b,213616,80);b=v[a+168>>2];if((b|0)==5){v[g+16>>2]=1482250784}v[g+252>>2]=1952807028;v[g>>2]=252;v[e+56>>2]=252;c=(v[e+60>>2]+3&-4)+252|0;v[g>>2]=c;v[c+g>>2]=1684370275;c=v[e+72>>2];d=v[g>>2];v[e+68>>2]=d;c=d+(c+3&-4)|0;v[g>>2]=c;v[g+(c&-4)>>2]=1482250784;c=v[e+84>>2];d=v[g>>2];v[e+80>>2]=d;c=d+(c+3&-4)|0;v[g>>2]=c;v[g+(c&-4)>>2]=1482250784;c=v[e+96>>2];d=v[g>>2];v[e+92>>2]=d;c=d+(c+3&-4)|0;v[g>>2]=c;v[g+(c&-4)>>2]=1482250784;c=v[e+108>>2];d=v[g>>2];v[e+104>>2]=d;c=d+(c+3&-4)|0;v[g>>2]=c;v[g+(c&-4)>>2]=1482250784;c=v[e+120>>2];d=v[g>>2];v[e+116>>2]=d;c=d+(c+3&-4)|0;v[g>>2]=c;v[g+(c&-4)>>2]=1482250784;c=v[e+132>>2];d=v[g>>2];v[e+128>>2]=d;c=d+(c+3&-4)|0;v[g>>2]=c;v[g+(c&-4)>>2]=1482250784;c=v[e+144>>2];d=v[g>>2];v[e+140>>2]=d;c=d+(c+3&-4)|0;v[g>>2]=c;v[g+(c&-4)>>2]=1482250784;c=v[e+156>>2];d=v[g>>2];v[e+152>>2]=d;c=d+(c+3&-4)|0;v[g>>2]=c;v[g+(c&-4)>>2]=1482250784;c=v[e+168>>2];d=v[g>>2];v[e+164>>2]=d;v[g>>2]=d+(c+3&-4);c=v[e+80>>2];B=v[e+68>>2];gc(g+128|0,e+48|0,124);i=b-1<<2;U=g+(B&-4)|0,W=Bc(v[i+213536>>2])+1|0,v[U+8>>2]=W;f=0;b=c+g|0;c=v[53457];t[b+16|0]=c;t[b+17|0]=c>>>8;t[b+18|0]=c>>>16;t[b+19|0]=c>>>24;c=v[53456];d=v[53455];t[b+8|0]=d;t[b+9|0]=d>>>8;t[b+10|0]=d>>>16;t[b+11|0]=d>>>24;t[b+12|0]=c;t[b+13|0]=c>>>8;t[b+14|0]=c>>>16;t[b+15|0]=c>>>24;b=16777216;if(v[a+172>>2]==8){j=256/j+.5;d:{if(D(j)<2147483648){b=~~j;break d}b=-2147483648}b=b<<16}p=v[53461];d=g+v[e+104>>2]|0;c=v[53460];t[d|0]=c;t[d+1|0]=c>>>8;t[d+2|0]=c>>>16;t[d+3|0]=c>>>24;t[d+4|0]=p;n=p>>>8|0;t[d+5|0]=n;G=p>>>16|0;t[d+6|0]=G;H=p>>>24|0;t[d+7|0]=H;t[d+12|0]=b;I=b>>>8|0;t[d+13|0]=I;J=b>>>16|0;t[d+14|0]=J;K=b>>>24|0;t[d+15|0]=K;m=v[53462];t[d+8|0]=m;M=m>>>8|0;t[d+9|0]=M;N=m>>>16|0;t[d+10|0]=N;O=m>>>24|0;t[d+11|0]=O;h=g+v[e+116>>2]|0;t[h|0]=c;t[h+1|0]=c>>>8;t[h+2|0]=c>>>16;t[h+3|0]=c>>>24;t[h+4|0]=p;t[h+5|0]=n;t[h+6|0]=G;t[h+7|0]=H;t[h+12|0]=b;t[h+13|0]=I;t[h+14|0]=J;t[h+15|0]=K;t[h+8|0]=m;t[h+9|0]=M;t[h+10|0]=N;t[h+11|0]=O;d=g+v[e+128>>2]|0;t[d|0]=c;t[d+1|0]=c>>>8;t[d+2|0]=c>>>16;t[d+3|0]=c>>>24;t[d+4|0]=p;t[d+5|0]=n;t[d+6|0]=G;t[d+7|0]=H;t[d+12|0]=b;t[d+13|0]=I;t[d+14|0]=J;t[d+15|0]=K;t[d+8|0]=m;t[d+9|0]=M;t[d+10|0]=N;t[d+11|0]=O;D0(v[i+213504>>2],e+192|0,3);d=v[a+26096>>2];b=d+(v[e+140>>2]&-4)|0;c=b;j=A[e+192>>3];l=A[e+200>>3];o=A[e+208>>3];y=(j*.436083+0+l*.385083+o*.143055)*65536+.5;e:{if(y<4294967296&y>=0){h=~~y>>>0;break e}h=0}v[c+8>>2]=h;c=d+(v[e+152>>2]&-4)|0;h=c;y=A[e+216>>3];F=A[e+224>>3];P=A[e+232>>3];E=(y*.436083+0+F*.385083+P*.143055)*65536+.5;f:{if(E<4294967296&E>=0){i=~~E>>>0;break f}i=0}v[h+8>>2]=i;d=d+(v[e+164>>2]&-4)|0;h=d;E=A[e+240>>3];Q=A[e+248>>3];R=A[e+256>>3];k=(E*.436083+0+Q*.385083+R*.143055)*65536+.5;g:{if(k<4294967296&k>=0){i=~~k>>>0;break g}i=0}v[h+8>>2]=i;h=b;k=(j*.222507+0+l*.716888+o*.060608)*65536+.5;h:{if(k<4294967296&k>=0){i=~~k>>>0;break h}i=0}v[h+12>>2]=i;h=c;k=(y*.222507+0+F*.716888+P*.060608)*65536+.5;i:{if(k<4294967296&k>=0){i=~~k>>>0;break i}i=0}v[h+12>>2]=i;h=d;k=(E*.222507+0+Q*.716888+R*.060608)*65536+.5;j:{if(k<4294967296&k>=0){i=~~k>>>0;break j}i=0}v[h+12>>2]=i;j=(j*.01393+0+l*.097097+o*.714022)*65536+.5;k:{if(j<4294967296&j>=0){h=~~j>>>0;break k}h=0}v[b+16>>2]=h;j=(y*.01393+0+F*.097097+P*.714022)*65536+.5;l:{if(j<4294967296&j>=0){b=~~j>>>0;break l}b=0}v[c+16>>2]=b;j=(E*.01393+0+Q*.097097+R*.714022)*65536+.5;m:{if(j<4294967296&j>=0){b=~~j>>>0;break m}b=0}v[d+16>>2]=b;c=v[a+26096>>2];while(1){d=c+(f<<2)|0;b=v[d>>2];v[d>>2]=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);f=f+1|0;if((f|0)!=256){continue}break}f=0;b=c+v[e+56>>2]|0;c=w[213877]|w[213878]<<8|(w[213879]<<16|w[213880]<<24);d=w[213873]|w[213874]<<8|(w[213875]<<16|w[213876]<<24);t[b+8|0]=d;t[b+9|0]=d>>>8;t[b+10|0]=d>>>16;t[b+11|0]=d>>>24;t[b+12|0]=c;t[b+13|0]=c>>>8;t[b+14|0]=c>>>16;t[b+15|0]=c>>>24;c=w[213893]|w[213894]<<8|(w[213895]<<16|w[213896]<<24);d=w[213889]|w[213890]<<8|(w[213891]<<16|w[213892]<<24);t[b+24|0]=d;t[b+25|0]=d>>>8;t[b+26|0]=d>>>16;t[b+27|0]=d>>>24;t[b+28|0]=c;t[b+29|0]=c>>>8;t[b+30|0]=c>>>16;t[b+31|0]=c>>>24;c=w[213885]|w[213886]<<8|(w[213887]<<16|w[213888]<<24);d=w[213881]|w[213882]<<8|(w[213883]<<16|w[213884]<<24);t[b+16|0]=d;t[b+17|0]=d>>>8;t[b+18|0]=d>>>16;t[b+19|0]=d>>>24;t[b+20|0]=c;t[b+21|0]=c>>>8;t[b+22|0]=c>>>16;t[b+23|0]=c>>>24;ce((B+v[a+26096>>2]|0)+12|0,v[(v[a+168>>2]<<2)+213532>>2]);c=v[a+26336>>2];if((c|0)<1){break b}b=v[(v[a+168>>2]<<2)+213500>>2];q=C(A[b+16>>3]);r=C(A[b+8>>3]);s=C(A[b>>3]);while(1){g=f<<2;d=g+a|0;z[g+(e+272|0)>>2]=C(C(C(z[d+59348>>2]*s)+C(0))+C(z[d+59364>>2]*r))+C(z[d+59380>>2]*q);f=f+1|0;if((c|0)!=(f|0)){continue}break}q=C(A[b+40>>3]);r=C(A[b+32>>3]);s=C(A[b+24>>3]);f=0;while(1){g=f<<2;d=g+a|0;z[(e+g|0)+288>>2]=C(C(C(z[d+59348>>2]*s)+C(0))+C(z[d+59364>>2]*r))+C(z[d+59380>>2]*q);f=f+1|0;if((c|0)!=(f|0)){continue}break}q=C(A[b- -64>>3]);r=C(A[b+56>>3]);s=C(A[b+48>>3]);f=0;while(1){d=f<<2;b=d+a|0;z[(d+e|0)+304>>2]=C(C(C(z[b+59348>>2]*s)+C(0))+C(z[b+59364>>2]*r))+C(z[b+59380>>2]*q);f=f+1|0;if((c|0)!=(f|0)){continue}break}}if(v[a+188>>2]){b=v[a+26132>>2];v[e+32>>2]=v[(v[a+168>>2]<<2)+213532>>2];wc(v[252391],b?213897:213921,e+32|0)}p=ic(a+59396|0,0,131072);if(x[a+26308>>1]){c=v[a+26352>>2];f=x[a+26310>>1];b=f;while(1){n:{if(!(b&65535)){b=0;break n}g=v[a+26336>>2];if(!v[a+26132>>2]){m=g-1|0;d=m&-2;B=m&1;h=0;while(1){q=C(0);f=0;r=C(0);s=C(0);if((g|0)>0){while(1){b=(e+272|0)+(f<<2)|0;S=C(x[(f<<1)+c>>1]);s=C(s+C(z[b+32>>2]*S));r=C(r+C(z[b+16>>2]*S));q=C(q+C(z[b>>2]*S));f=f+1|0;if((g|0)!=(f|0)){continue}break}}i=c;if(C(D(s))>1]=(b|0)>0?b:0;i=c;if(C(D(r))>1]=(b|0)>0?b:0;i=c;if(C(D(q))0?b:0;u[i>>1]=b;o:{if((g|0)<1){break o}f=1;b=((b>>>1&32764)+a|0)+59396|0;v[b>>2]=v[b>>2]+1;b=d;p:{switch(m|0){default:while(1){i=(p+(f<<15)|0)+(x[(f<<1)+c>>1]>>>1&32764)|0;v[i>>2]=v[i>>2]+1;i=f+1|0;i=(p+(i<<15)|0)+(x[(i<<1)+c>>1]>>>1&32764)|0;v[i>>2]=v[i>>2]+1;f=f+2|0;b=b-2|0;if(b){continue}break};break;case 0:break o;case 1:break p}}if(!B){break o}b=(((f<<15)+a|0)+(x[(f<<1)+c>>1]>>>1&32764)|0)+59396|0;v[b>>2]=v[b>>2]+1}c=c+8|0;f=x[a+26310>>1];b=f;h=h+1|0;if(b>>>0>h>>>0){continue}break}break n}m=T<<1&14;B=v[a+192>>2];if((g|0)>=1){d=g&-2;i=g&1;h=0;while(1){if(B){u[c>>1]=x[((v[a+26028>>2]>>>((m|h&1)<<1)&3)<<1)+c>>1]}f=0;b=d;if((g|0)!=1){while(1){n=(p+(f<<15)|0)+(x[(f<<1)+c>>1]>>>1&32764)|0;v[n>>2]=v[n>>2]+1;n=f|1;n=(p+(n<<15)|0)+(x[(n<<1)+c>>1]>>>1&32764)|0;v[n>>2]=v[n>>2]+1;f=f+2|0;b=b-2|0;if(b){continue}break}}if(i){b=(((f<<15)+a|0)+(x[(f<<1)+c>>1]>>>1&32764)|0)+59396|0;v[b>>2]=v[b>>2]+1}c=c+8|0;f=x[a+26310>>1];b=f;h=h+1|0;if(b>>>0>h>>>0){continue}break}break n}if(!B){b=f&65535;c=((b>>>0>1?b:1)<<3)+c|0;b=f;break n}g=v[a+26028>>2];d=0;while(1){u[c>>1]=x[((g>>>((m|d&1)<<1)&3)<<1)+c>>1];c=c+8|0;f=x[a+26310>>1];b=f;d=d+1|0;if(b>>>0>d>>>0){continue}break}}T=T+1|0;if(T>>>0>1]){continue}break}}if(!(!v[a+168>>2]|v[a+26336>>2]!=4)){v[a+26336>>2]=3}if(!(!v[a+192>>2]|!v[a+26028>>2])){v[a+26336>>2]=1}Qb=e+320|0}function NSa(a,b,c){a=a|0;b=b|0;c=c|0;var d=C(0),e=0,f=0,g=0,h=0,i=C(0),j=C(0),k=C(0),l=C(0),m=C(0),n=0,o=C(0),p=C(0),q=0,r=C(0),s=0,t=C(0),w=C(0),x=0,y=C(0),A=0,E=C(0),F=C(0),G=0,H=0,I=0,J=0,K=0,M=C(0),N=0,V=C(0),W=C(0),X=C(0),Y=C(0),Z=C(0),_=C(0),$=0,aa=C(0),ba=0,ca=C(0),da=0,ea=0,fa=0,ga=0,ha=0,ia=C(0),ja=0;f=Qb-32|0;Qb=f;v[a>>2]=466168;v[a+12>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;v[a+44>>2]=0;v[a+48>>2]=0;v[a+36>>2]=0;v[a+40>>2]=1065353216;v[a+52>>2]=0;v[a+56>>2]=0;v[a+96>>2]=1;v[a+88>>2]=0;v[a+92>>2]=1;v[a+80>>2]=0;v[a+84>>2]=0;v[a+72>>2]=1056964608;v[a+76>>2]=1065353216;u[a+68>>1]=0;v[a+60>>2]=1065353216;v[a+64>>2]=1065353216;v[a+100>>2]=0;v[a+104>>2]=0;v[a+108>>2]=0;v[a+112>>2]=0;v[a+116>>2]=0;v[a+120>>2]=0;v[a+148>>2]=0;v[a+152>>2]=0;v[a+140>>2]=0;v[a+144>>2]=0;v[a+132>>2]=0;v[a+136>>2]=0;e=fc(24);v[a+144>>2]=e;g=e+24|0;v[a+152>>2]=g;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;v[e>>2]=0;v[e+4>>2]=0;v[a+148>>2]=g;ic(a+160|0,0,100);v[a+260>>2]=4;gc(a+12|0,b,80);v[299999]=0;ba=a+92|0;Q(2454,ba|0,b+80|0)|0;b=v[299999];v[299999]=0;N=a+248|0;a:{b:{c:{if((b|0)!=1){if(!c){break c}v[299999]=0;R(2464,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break c}}b=P()|0;O()|0;break b}b=v[a+100>>2];v[a+280>>2]=b;w=C(1/+(b>>>0));g=v[a+260>>2];d:{e:{if(g){q=v[a+212>>2];c=0;while(1){d=z[(c<<2)+466280>>2];b=v[q+B(c,12)>>2];e=0;while(1){x=b+(e<<3)|0;i=z[(e<<2)+466280>>2];j=C(j+C(C(d*z[x+4>>2])*i));k=C(k+C(C(d*z[x>>2])*i));e=e+1|0;if((g|0)!=(e|0)){continue}break}c=c+1|0;if((g|0)!=(c|0)){continue}break}z[a+276>>2]=j;z[a+272>>2]=j;z[a+268>>2]=k;z[a+264>>2]=k;I=a+276|0;G=a+272|0;J=a+268|0;x=a+264|0;b=x;if(!g){break e}b=a;c=a;m=j;i=k;while(1){d=C(C(1)-o);V=C(d*C(d*d));E=C(o*C(3));W=C(d*C(d*E));E=C(d*C(o*E));X=C(o*C(o*o));l=C(0);while(1){d=C(C(1)-l);Y=C(d*C(d*d));F=C(l*C(3));Z=C(d*C(d*F));F=C(d*C(l*F));_=C(l*C(l*l));h=0;p=C(0);r=C(0);while(1){n=v[q+B(h,12)>>2];e=0;while(1){d=V;f:{g:{switch(h-1|0){case 0:d=W;break f;case 1:d=E;break f;case 2:break g;default:break f}}d=X}s=n+(e<<3)|0;y=C(d*z[s+4>>2]);t=C(d*z[s>>2]);d=Y;h:{i:{switch(e-1|0){case 0:d=Z;break h;case 1:d=F;break h;case 2:break i;default:break h}}d=_}p=C(p+C(y*d));r=C(r+C(t*d));e=e+1|0;if((g|0)!=(e|0)){continue}break}h=h+1|0;if((g|0)!=(h|0)){continue}break}i=i>r?i:r;z[a+268>>2]=i;m=m>p?m:p;z[b+276>>2]=m;k=k>2]=k;j=j>2]=j;l=C(l+w);if(l<=C(1)){continue}break}o=C(o+w);if(o<=C(1)){continue}break}break d}v[a+264>>2]=0;v[a+268>>2]=0;G=a+272|0;b=G;v[b>>2]=0;v[b+4>>2]=0;I=a+276|0;J=a+268|0;b=a+264|0}x=b;m=j;i=k;while(1){d=C(0);while(1){j=jC(0)?m:C(0);i=i>C(0)?i:C(0);d=C(d+w);if(d<=C(1)){continue}break}p=C(p+w);if(p<=C(1)){continue}break}z[J>>2]=i;z[I>>2]=m;z[x>>2]=k;z[G>>2]=j}b=a;d=C(i-k);j=C(m-j);d=d>j?d:j;j:{if(C(D(d))1?c:1;v[b+280>>2]=c;v[f+8>>2]=0;v[f>>2]=0;v[f+4>>2]=0;k:{l:{m:{n:{if(c>>>0>=1073741824){v[299999]=0;R(2185,f|0);a=v[299999];v[299999]=0;if((a|0)==1){break n}break a}v[299999]=0;b=c<<2;g=S(1,b|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break n}v[f>>2]=g;v[f+4>>2]=g;h=b+g|0;v[f+8>>2]=h;q=b-4|0;b=(q>>>2|0)+1&7;o:{if(!b){e=g;break o}e=g;while(1){v[e>>2]=2143289344;e=e+4|0;b=b-1|0;if(b){continue}break}}if(q>>>0>=28){while(1){v[e+24>>2]=2143289344;v[e+28>>2]=2143289344;v[e+16>>2]=2143289344;v[e+20>>2]=2143289344;v[e+8>>2]=2143289344;v[e+12>>2]=2143289344;v[e>>2]=2143289344;v[e+4>>2]=2143289344;e=e+32|0;if((h|0)!=(e|0)){continue}break}}v[f+24>>2]=0;v[f+16>>2]=0;v[f+20>>2]=0;if(c>>>0<357913942){break m}v[299999]=0;R(2185,f+16|0);a=v[299999];v[299999]=0;if((a|0)!=1){break a}break l}b=P()|0;O()|0;a=v[f>>2];if(!a){break b}v[f+4>>2]=a;dc(a);break b}v[299999]=0;b=B(c,12);c=S(1,b|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break l}v[f+16>>2]=c;v[f+20>>2]=c;q=b+c|0;v[f+24>>2]=q;p:{q:{r:{s:{t:{u:{v:{w:{x:{n=h-g|0;y:{if(!n){b=b-12|0;ic(c,0,(b-((b>>>0)%12|0)|0)+12|0);break y}if((n|0)<=-1){break x}s=n>>2<<2;A=n>>>2<<2;e=c;while(1){v[e+8>>2]=0;v[e>>2]=0;v[e+4>>2]=0;v[299999]=0;b=S(1,n|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break t}v[e>>2]=b;v[e+4>>2]=b;v[e+8>>2]=b+s;h=e;if((n|0)>=1){b=gc(b,g,n)+A|0}v[h+4>>2]=b;e=e+12|0;if((q|0)!=(e|0)){continue}break}}e=q;h=v[N>>2];if(!h){break u}b=v[a+252>>2];if((h|0)!=(b|0)){break w}b=h;break v}v[c+8>>2]=0;v[c>>2]=0;v[c+4>>2]=0;v[299999]=0;R(2185,c|0);a=v[299999];v[299999]=0;if((a|0)!=1){break a}b=P()|0;O()|0;a=v[c>>2];if(a){v[c+4>>2]=a;dc(a)}e=c;break p}while(1){e=b-12|0;n=v[e>>2];if(n){v[b-8>>2]=n;dc(n)}b=e;if((e|0)!=(h|0)){continue}break}e=v[f+24>>2];b=v[N>>2]}v[a+252>>2]=h;dc(b);v[a+256>>2]=0;v[a+248>>2]=0;v[a+252>>2]=0}v[a+256>>2]=e;v[a+252>>2]=q;v[a+248>>2]=c;dc(g);e=v[a+280>>2];v[f+24>>2]=0;v[f+16>>2]=0;v[f+20>>2]=0;b=e+1|0;z:{if(b>>>0>=e>>>0){A:{B:{if(b>>>0>=536870912){v[299999]=0;R(2185,f+16|0);a=v[299999];v[299999]=0;if((a|0)!=1){break a}break B}v[299999]=0;c=b<<3;b=S(1,c|0)|0;g=v[299999];v[299999]=0;if((g|0)!=1){break A}}b=P()|0;O()|0;break z}v[f+16>>2]=b;g=b+c|0;v[f+24>>2]=g;ic(b,0,c);v[f+20>>2]=g;if(!e){break r}}ca=C(C(1)/C(e>>>0));j=C(0);while(1){A=0;v[f+8>>2]=0;v[f>>2]=0;v[f+4>>2]=0;K=0;H=0;C:{b=e+1|0;if(b>>>0>>0){break C}if(b>>>0>=536870912){v[299999]=0;R(2185,f|0);a=v[299999];v[299999]=0;if((a|0)!=1){break a}b=P()|0;O()|0;a=v[f>>2];if(!a){break z}v[f+4>>2]=a;dc(a);break z}v[299999]=0;b=b<<3;H=S(1,b|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){v[f>>2]=H;K=b+H|0;v[f+8>>2]=K;ic(H,0,b);v[f+4>>2]=K;break C}b=P()|0;O()|0;break z}m=C(ca+j);V=C(m*C(m*m));t=C(C(1)-j);W=C(t*C(t*t));d=C(j*C(3));E=C(t*C(t*d));X=C(t*C(j*d));d=C(C(1)-m);Y=C(d*C(d*d));i=C(m*C(3));Z=C(d*C(d*i));F=C(d*C(m*i));ga=e>>>0>1?e:1;_=C(j*C(j*j));M=C(e-1|0);da=v[a+236>>2];s=v[a+260>>2];i=C(0);ha=v[f+16>>2];while(1){D:{if(!(A?$:0)){h=v[a+212>>2];p=C(0);r=C(0);if(s){d=C(C(1)-i);k=C(d*C(d*d));o=C(i*C(3));l=C(d*C(d*o));o=C(d*C(i*o));w=C(i*C(i*i));b=0;while(1){c=v[B(b,12)+h>>2];e=0;while(1){d=W;E:{F:{switch(b-1|0){case 0:d=E;break E;case 1:d=X;break E;case 2:break F;default:break E}}d=_}g=c+(e<<3)|0;y=C(d*z[g+4>>2]);aa=C(d*z[g>>2]);d=k;G:{H:{switch(e-1|0){case 0:d=l;break G;case 1:d=o;break G;case 2:break H;default:break G}}d=w}p=C(p+C(y*d));r=C(r+C(aa*d));e=e+1|0;if((s|0)!=(e|0)){continue}break}b=b+1|0;if((s|0)!=(b|0)){continue}break}}d=z[G>>2];d=C(C(C(p-d)*M)/C(z[I>>2]-d));I:{if(d=C(0)){c=~~d>>>0;break I}c=0}d=z[x>>2];d=C(C(C(r-d)*M)/C(z[J>>2]-d));if(d=C(0)){g=~~d>>>0;break D}g=0;break D}b=(A<<3)+ha|0;c=v[b+4>>2];h=v[a+212>>2];g=v[b>>2]}k=C(ca+i);p=C(0);r=C(0);if(s){l=C(k*C(k*k));d=C(C(1)-k);o=C(d*C(d*d));y=C(k*C(3));w=C(d*C(d*y));y=C(d*C(k*y));b=0;while(1){q=v[B(b,12)+h>>2];e=0;while(1){d=Y;J:{K:{switch(b-1|0){case 0:d=Z;break J;case 1:d=F;break J;case 2:break K;default:break J}}d=V}n=q+(e<<3)|0;aa=C(d*z[n+4>>2]);ia=C(d*z[n>>2]);d=o;L:{M:{switch(e-1|0){case 0:d=w;break L;case 1:d=y;break L;case 2:break M;default:break L}}d=l}p=C(p+C(aa*d));r=C(r+C(ia*d));e=e+1|0;if((s|0)!=(e|0)){continue}break}b=b+1|0;if((s|0)!=(b|0)){continue}break}}o=z[J>>2];d=z[x>>2];A=A+1|0;e=(A<<3)+H|0;h=e;l=z[G>>2];l=C(C(C(p-l)*M)/C(z[I>>2]-l));N:{if(l=C(0)){b=~~l>>>0;break N}b=0}v[h+4>>2]=b;d=C(C(C(r-d)*M)/C(o-d));O:{if(d=C(0)){h=~~d>>>0;break O}h=0}v[e>>2]=h;ea=(b|0)>(c|0)?b:c;q=(b|0)<(c|0)?b:c;fa=ea-q|0;n=fa+1&3;e=(g|0)>(h|0)?h:g;ja=(g|0)<(h|0)?h:g;d=C(C(1)-i);b=v[da>>2];d=C(C(t*C(d*z[b>>2]))+C(j*C(d*z[b+4>>2])));b=v[da+12>>2];d=C(C(d+C(t*C(i*z[b>>2])))+C(j*C(i*z[b+4>>2])));while(1){b=e;g=v[a+280>>2];P:{if(g>>>0<=e>>>0){break P}h=v[a+248>>2]+B(b,12)|0;e=q;c=n;if(c){while(1){if(e>>>0>>0){z[v[h>>2]+(e<<2)>>2]=d}e=e+1|0;c=c-1|0;if(c){continue}break}}if(fa>>>0<=2){break P}while(1){if(e>>>0>>0){z[v[h>>2]+(e<<2)>>2]=d}c=e+1|0;if(c>>>0>>0){z[v[h>>2]+(c<<2)>>2]=d}c=e+2|0;if(c>>>0>>0){z[v[h>>2]+(c<<2)>>2]=d}c=e+3|0;if(c>>>0>>0){z[v[h>>2]+(c<<2)>>2]=d}e=e+4|0;if((c|0)!=(ea|0)){continue}break}}e=b+1|0;if((b|0)!=(ja|0)){continue}break}i=k;if((A|0)!=(ga|0)){continue}break}v[299999]=0;c=v[f>>2];U(2461,f+16|0,c|0,K|0);b=v[299999];v[299999]=0;if((b|0)!=1){if(c){v[f+4>>2]=c;dc(c)}j=m;e=v[a+280>>2];$=$+1|0;if(e>>>0<=$>>>0){break s}continue}break}b=P()|0;O()|0;if(!c){break z}v[f+4>>2]=c;dc(c)}a=v[f+16>>2];if(!a){break b}v[f+20>>2]=a;dc(a);break b}b=P()|0;O()|0;break p}b=v[f+16>>2];if(!b){break q}}v[f+20>>2]=b;dc(b)}Qb=f+32|0;return a|0}v[f+20>>2]=e;break k}b=P()|0;O()|0}Vh(f+16|0);dc(g)}Vh(N);Ne(ba);T(b|0);L()}L()}function Q0a(a){a=a|0;var 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;f=Qb-80|0;Qb=f;k=v[a+8>>2];a:{if(!k){b=6;break a}m=v[a>>2];h=v[a+4>>2];b:{if(v[h+12>>2]>1){break b}jn(h);if(v[h+12>>2]>1){break b}i=v[h+8>>2];b=v[h>>2];c:{while(1){g=3;if(b>>>0>=i>>>0){break c}e=b+1|0;v[h>>2]=e;d=w[b|0];b=e;d:{switch(d-10|0){case 16:break c;case 0:case 3:break d;default:continue}}break}g=2}v[h+12>>2]=g}while(1){e:{v[h+12>>2]=0;e=wv(h);if(e){break e}b=2;if(v[h+12>>2]==2){continue}break a}break}b=2;if((v[h>>2]+(e^-1)|0)!=16){break a}if(Oc(e,236986,16)){break a}i=160;f:while(1){c=v[a+4>>2];g:{if(v[c+12>>2]>1){break g}jn(c);if(v[c+12>>2]>1){break g}h=v[c+8>>2];b=v[c>>2];h:{while(1){g=3;if(b>>>0>=h>>>0){break h}e=b+1|0;v[c>>2]=e;d=w[b|0];b=e;i:{switch(d-10|0){case 16:break h;case 0:case 3:break i;default:continue}}break}g=2}v[c+12>>2]=g}j:{while(1){k:{v[c+12>>2]=0;j=wv(c);if(j){break k}if(v[c+12>>2]==2){continue}break j}break}h=v[c>>2]+(j^-1)|0;c=w[j|0];e=0;while(1){l:{g=v[(e<<2)+382224>>2];if((c|0)==w[g|0]){d=e;break l}d=e|1;g=v[(d<<2)+382224>>2];if((c|0)==w[g|0]){break l}e=e+2|0;if((e|0)!=74){continue}continue f}break}b=(d|0)>73?d:73;while(1){if(Oc(g,j,h)){if((b|0)==(d|0)){continue f}d=d+1|0;g=v[(d<<2)+382224>>2];if((c|0)==w[g|0]){continue}continue f}break}b=0;m:{n:{o:{switch(d|0){case 40:v[f+32>>2]=3;if((om(a,f+32|0,1)|0)!=1){break j}if(!(v[f+36>>2]&-3)){continue}i=7;break j;case 30:v[f>>2]=4;if((om(a,f,1)|0)!=1){break j}t[k|0]=w[f+4|0];continue;case 26:v[f+24>>2]=2;v[f+16>>2]=2;v[f+8>>2]=2;v[f>>2]=2;if((om(a,f,4)|0)!=4){break j}v[k+4>>2]=v[f+4>>2];v[k+8>>2]=v[f+12>>2];v[k+12>>2]=v[f+20>>2];v[k+16>>2]=v[f+28>>2];continue;case 0:v[f>>2]=2;if((om(a,f,1)|0)!=1){break j}v[k+20>>2]=v[f+4>>2];continue;case 14:v[f>>2]=2;if((om(a,f,1)|0)!=1){break j}v[k+24>>2]=v[f+4>>2];continue;case 45:v[f+32>>2]=3;if((om(a,f+32|0,1)|0)!=1){break j}i=v[f+36>>2];if((i|0)<1){break m}p:{q:while(1){j=v[a+4>>2];r:{if(v[j+12>>2]>1){break r}jn(j);if(v[j+12>>2]>1){break r}h=v[j+8>>2];e=v[j>>2];s:{while(1){t:{if(e>>>0>=h>>>0){break t}b=e+1|0;v[j>>2]=b;d=w[e|0];g=2;e=b;switch(d-10|0){case 0:case 3:break s;case 16:break t;default:continue}}break}g=3}v[j+12>>2]=g}e=v[j>>2];c=v[j+8>>2];if(e>>>0>=c>>>0){break n}h=i-1|0;v[j+12>>2]=0;while(1){u:{d=1;b=e+1|0;v[j>>2]=b;v:{switch(w[e|0]-9|0){default:w:{x:{y:{while(1){d=3;if(b>>>0>=c>>>0){break x}e=b;b=b+1|0;v[j>>2]=b;z:{switch(w[e|0]-9|0){case 0:case 23:break w;case 17:break x;case 50:break y;case 1:case 4:break z;default:continue}}break}d=2;break x}d=1}v[j+12>>2]=d}b=(i|0)>1;i=h;if(b){continue q}break m;case 1:case 4:v[j+12>>2]=0;e=b;if(b>>>0>>0){continue}break u;case 50:break p;case 17:break u;case 0:case 23:break v}}e=b;if((b|0)!=(c|0)){continue}}break}break}d=3}v[j+12>>2]=d;b=160;break a;case 20:break a;case 49:break o;default:continue}}A:while(1){c=v[a+4>>2];B:{if(v[c+12>>2]>1){break B}jn(c);if(v[c+12>>2]>1){break B}d=v[c+8>>2];e=v[c>>2];while(1){if(d>>>0<=e>>>0){break B}b=e+1|0;v[c>>2]=b;i=w[e|0];e=b;if(!(1<>>0>26){continue}break}}v[c+12>>2]=0;g=3;C:{D:{e=v[c>>2];h=v[c+8>>2];E:{if(e>>>0>=h>>>0){break E}while(1){F:{b=e+1|0;v[c>>2]=b;G:{switch(w[e|0]-9|0){case 0:case 23:e=b;if((b|0)!=(h|0)){continue}break E;default:H:{I:{J:{while(1){i=3;d=b;if(b>>>0>=h>>>0){break I}b=d+1|0;v[c>>2]=b;K:{switch(w[d|0]-9|0){case 0:case 23:break H;case 17:break I;case 50:break J;case 1:case 4:break K;default:continue}}break}i=2;break I}i=1}v[c+12>>2]=i}i=(e^-1)+b|0;h=w[e|0];b=0;while(1){g=v[(b<<2)+382224>>2];if((h|0)==w[g|0]){d=b;break D}d=b|1;g=v[(d<<2)+382224>>2];if((h|0)==w[g|0]){break D}b=b+2|0;if((b|0)!=74){continue}break};continue A;case 17:break E;case 50:break F;case 1:case 4:break G}}v[c+12>>2]=0;e=b;if(b>>>0>>0){continue}break E}break}g=1}v[c+12>>2]=g;break C}b=(d|0)>73?d:73;while(1){if(Oc(g,e,i)){if((b|0)==(d|0)){continue A}d=d+1|0;g=v[(d<<2)+382224>>2];if((h|0)==w[g|0]){continue}continue A}break}b=0;i=160;L:{switch(d-20|0){case 33:l=v[a+8>>2];v[f+32>>2]=3;if((om(a,f+32|0,1)|0)!=1){break C}b=v[f+36>>2];if((b|0)<0){break C}v[l+32>>2]=b;if(b){n=l,o=Cc(v[a>>2],20,0,b,0,f+32|0),v[n+28>>2]=o;i=v[f+32>>2];if(i){break j}}i=-1;M:while(1){c=v[a+4>>2];N:{if(v[c+12>>2]>1){break N}jn(c);if(v[c+12>>2]>1){break N}h=v[c+8>>2];b=v[c>>2];O:{while(1){g=3;if(b>>>0>=h>>>0){break O}e=b+1|0;v[c>>2]=e;d=w[b|0];b=e;P:{switch(d-10|0){case 16:break O;case 0:case 3:break P;default:continue}}break}g=2}v[c+12>>2]=g}while(1){Q:{v[c+12>>2]=0;j=wv(c);if(j){break Q}if(v[c+12>>2]==2){continue}break C}break}h=v[c>>2]+(j^-1)|0;c=w[j|0];e=0;while(1){R:{g=v[(e<<2)+382224>>2];if((c|0)==w[g|0]){d=e;break R}d=e|1;g=v[(d<<2)+382224>>2];if((c|0)==w[g|0]){break R}e=e+2|0;if((e|0)!=74){continue}continue M}break}b=(d|0)>73?d:73;while(1){if(Oc(g,j,h)){if((b|0)==(d|0)){continue M}d=d+1|0;g=v[(d<<2)+382224>>2];if((c|0)==w[g|0]){continue}continue M}break}S:{switch(d-20|0){case 36:i=i+1|0;if((i|0)>=v[l+32>>2]){break C}b=v[l+28>>2];v[f+64>>2]=2;v[f+56>>2]=2;v[f+48>>2]=2;v[f+40>>2]=2;v[f+32>>2]=3;if((om(a,f+32|0,5)|0)!=5){break C}b=b+B(i,20)|0;v[b>>2]=v[f+36>>2];v[b+4>>2]=v[f+44>>2];v[b+8>>2]=v[f+52>>2];v[b+12>>2]=v[f+60>>2];v[b+16>>2]=v[f+68>>2];continue;default:if((d|0)==75){continue}break C;case 2:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:break C;case 0:case 1:case 3:break S}}break};v[l+32>>2]=i+1;continue;case 0:case 1:break a;case 55:continue;case 30:case 31:break L;default:break j}}l=v[a+8>>2];v[f+32>>2]=3;if((om(a,f+32|0,1)|0)!=1){break C}b=v[f+36>>2];if((b|0)<0){break C}v[l+40>>2]=b;if(b){n=l,o=Cc(v[a>>2],16,0,b,0,f+32|0),v[n+36>>2]=o;i=v[f+32>>2];if(i){break j}}i=-1;T:while(1){c=v[a+4>>2];U:{if(v[c+12>>2]>1){break U}jn(c);if(v[c+12>>2]>1){break U}h=v[c+8>>2];b=v[c>>2];V:{while(1){g=3;if(b>>>0>=h>>>0){break V}e=b+1|0;v[c>>2]=e;d=w[b|0];b=e;W:{switch(d-10|0){case 16:break V;case 0:case 3:break W;default:continue}}break}g=2}v[c+12>>2]=g}while(1){X:{v[c+12>>2]=0;j=wv(c);if(j){break X}if(v[c+12>>2]==2){continue}break C}break}h=v[c>>2]+(j^-1)|0;c=w[j|0];e=0;while(1){Y:{g=v[(e<<2)+382224>>2];if((c|0)==w[g|0]){d=e;break Y}d=e|1;g=v[(d<<2)+382224>>2];if((c|0)==w[g|0]){break Y}e=e+2|0;if((e|0)!=74){continue}continue T}break}b=(d|0)>73?d:73;while(1){if(Oc(g,j,h)){if((b|0)==(d|0)){continue T}d=d+1|0;g=v[(d<<2)+382224>>2];if((c|0)==w[g|0]){continue}continue T}break}if((d|0)==75){continue}b=d-20|0;if(b>>>0>17){break C}b=1<=v[l+40>>2]){break C}b=v[l+36>>2];v[f+56>>2]=3;v[f+48>>2]=3;v[f+40>>2]=5;v[f+32>>2]=5;j=om(a,f+32|0,4);if((j|0)<3){break C}c=b+(i<<4)|0;v[c>>2]=v[f+36>>2];v[c+4>>2]=v[f+44>>2];b=0;e=v[f+52>>2];h=c;if((d|0)!=37){b=e;e=(d|0)==34?(j|0)==4?v[f+60>>2]:0:0}v[h+12>>2]=e;v[c+8>>2]=b;continue}break}b=i+1|0;v[l+40>>2]=b;Pk(v[l+36>>2],b,16,1766);continue}break}i=160;break j}v[j+12>>2]=3;b=160;break a}Z:while(1){c=v[a+4>>2];_:{if(v[c+12>>2]>1){break _}jn(c);if(v[c+12>>2]>1){break _}i=v[c+8>>2];e=v[c>>2];$:{while(1){aa:{if(e>>>0>=i>>>0){break aa}b=e+1|0;v[c>>2]=b;d=w[e|0];g=2;e=b;switch(d-10|0){case 0:case 3:break $;case 16:break aa;default:continue}}break}g=3}v[c+12>>2]=g}ba:{e=v[c>>2];h=v[c+8>>2];if(e>>>0>>0){v[c+12>>2]=0;ca:{while(1){da:{d=1;b=e+1|0;v[c>>2]=b;ea:{switch(w[e|0]-9|0){default:fa:{ga:{ha:{while(1){i=3;d=b;if(b>>>0>=h>>>0){break ga}b=d+1|0;v[c>>2]=b;ia:{switch(w[d|0]-9|0){case 0:case 23:break fa;case 17:break ga;case 50:break ha;case 1:case 4:break ia;default:continue}}break}i=2;break ga}i=1}v[c+12>>2]=i}i=(e^-1)+b|0;h=w[e|0];b=0;while(1){g=v[(b<<2)+382224>>2];if((h|0)==w[g|0]){d=b;break ba}d=b|1;g=v[(d<<2)+382224>>2];if((h|0)==w[g|0]){break ba}b=b+2|0;if((b|0)!=74){continue}break};continue Z;case 1:case 4:v[c+12>>2]=0;e=b;if(b>>>0>>0){continue}break da;case 50:break ca;case 17:break da;case 0:case 23:break ea}}e=b;if((b|0)!=(h|0)){continue}}break}d=3}v[c+12>>2]=d;b=160;break a}v[c+12>>2]=3;b=160;break a}b=(d|0)>73?d:73;while(1){if(Oc(g,e,i)){if((b|0)==(d|0)){continue Z}d=d+1|0;g=v[(d<<2)+382224>>2];if((h|0)==w[g|0]){continue}continue Z}break}i=0;if(!((d|0)==20^(d|0)==17)){continue}break}continue}break}a=v[k+28>>2];if(a){Ub[v[m+8>>2]](m,a)}v[k+28>>2]=0;v[k+32>>2]=0;a=v[k+36>>2];if(a){Ub[v[m+8>>2]](m,a)}v[k+36>>2]=0;v[k+40>>2]=0;t[k|0]=0;b=i}Qb=f+80|0;return b|0}function Gv(a,b){var 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;d=Qb-128|0;Qb=d;a:{if(!a|!b){break a}h=bd(1,16);b:{if(!h){break b}e=bd(50,4);v[h+12>>2]=e;if(!e){break b}v[h+8>>2]=1;v[h>>2]=50;c=h}j=c;v[d+84>>2]=c;q=Qb-16|0;Qb=q;if(!(!c|!b)){h=0;c:{if(!b){break c}g=Bc(b);c=bd(g+1|0,1);if(!c){break c}d:{if((g|0)<1){break d}while(1){e=w[b+h|0];if(e){t[c+h|0]=e;h=h+1|0;if((g|0)!=(h|0)){continue}break d}break}if((g|0)<=(h|0)){break d}ic(c+h|0,0,g-h|0)}h=c}e=h;h=tI(e,q+12|0);if(h){g=j+12|0;c=v[j+4>>2];b=v[j>>2];e:{if((c|0)<(b|0)){b=v[g>>2];break e}b=vj(g,b<<2,b<<3);v[g>>2]=b;if(!b){break e}v[j>>2]=v[j>>2]<<1}v[(c<<2)+b>>2]=h;v[j+4>>2]=v[j+4>>2]+1}l=tI(0,q+12|0);if(l){h=j+12|0;while(1){c=v[j+4>>2];b=v[j>>2];f:{if((c|0)<(b|0)){b=v[h>>2];break f}b=vj(h,b<<2,b<<3);v[h>>2]=b;if(!b){break f}v[j>>2]=v[j>>2]<<1}v[(c<<2)+b>>2]=l;v[j+4>>2]=v[j+4>>2]+1;l=tI(0,q+12|0);if(l){continue}break}}dc(e)}Qb=q+16|0;q=j?v[j+4>>2]:0;l=0;f=Qb-400|0;Qb=f;g:{if(j){n=1;e=j?v[j+4>>2]:0;if((e|0)<1){break g}k=v[252391];h:{i:{j:{k:{l:{m:{n:{o:{b=sI(lI(j,0));switch(t[b|0]-66|0){case 1:case 2:case 3:case 13:case 33:case 34:case 35:case 45:break l;case 16:case 48:break m;case 22:case 54:break n;case 0:case 32:break o;default:break k}}v[f+384>>2]=f+396;if((ef(b+1|0,13805,f+384|0)|0)!=1){v[f+368>>2]=b;wc(k,26086,f+368|0);break j}p=v[f+396>>2];if((p|0)>0){break h}v[f+356>>2]=p;v[f+352>>2]=b;wc(k,27896,f+352|0);break j}v[f+336>>2]=f+396;if((ef(b+1|0,13805,f+336|0)|0)!=1){v[f+320>>2]=b;wc(k,26086,f+320|0);break j}h=v[f+396>>2];c=Gib(h-2|0,31);if(!(c>>>0>7|!(1<>2]|0;break h}v[f+308>>2]=h;v[f+304>>2]=b;wc(k,27896,f+304|0);break j}c=Bc(b);o=c-1|0;if(c-2>>>0<=3){if((o|0)<1){break h}n=0;m=w[b+1|0];p:{if((m-49&255)>>>0>3){break p}c=(o|0)>0?o:0;if((c|0)==1){n=1;break h}m=w[b+2|0];if((m-49&255)>>>0>3){l=1;break p}l=2;if((c|0)==2){n=1;break h}m=w[b+3|0];if((m-49&255)>>>0>3){break p}if((c|0)==3){n=1;break h}l=3;m=w[b+4|0];if((m-49&255)>>>0>3){break p}l=4;if((c|0)==4){n=1;break h}m=t[b+5|0]}v[f+292>>2]=l;v[f+288>>2]=b;v[f+296>>2]=(m<<24>>24)-48;wc(k,24219,f+288|0);break i}v[f+276>>2]=o;v[f+272>>2]=b;wc(k,21939,f+272|0);n=0;break i}v[f+260>>2]=f+388;v[f+256>>2]=f+392;if((ef(b+1|0,10611,f+256|0)|0)!=2){v[f+240>>2]=b;wc(k,17345,f+240|0);break j}h=v[f+388>>2];c=v[f+392>>2];if((h|0)>0&(c|0)>=1){break h}v[f+232>>2]=h;v[f+228>>2]=c;v[f+224>>2]=b;wc(k,19798,f+224|0);break j}v[f+208>>2]=b;wc(k,30954,f+208|0)}n=0}p=0}dc(b);g=1;if((e|0)!=1){while(1){q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{b=sI(lI(j,g));switch(t[b|0]-66|0){case 0:case 32:break w;case 22:case 54:break x;case 16:case 48:break y;case 1:case 2:case 3:case 13:case 33:case 34:case 35:case 45:break z;default:break v}}v[f+68>>2]=f+388;v[f+64>>2]=f+392;if((ef(b+1|0,10611,f- -64|0)|0)!=2){v[f+48>>2]=b;wc(k,17345,f+48|0);break r}h=v[f+388>>2];c=v[f+392>>2];if((h|0)>0&(c|0)>=1){break q}v[f+40>>2]=h;v[f+36>>2]=c;v[f+32>>2]=b;wc(k,19798,f+32|0);break r}c=Bc(b);h=c-1|0;o=h+o|0;if(c-2>>>0>3){break t}if((h|0)<1){break q}m=0;l=w[b+1|0];if((l-49&255)>>>0<4){break u}break s}v[f+144>>2]=f+396;if((ef(b+1|0,13805,f+144|0)|0)!=1){v[f+128>>2]=b;wc(k,26086,f+128|0);break r}h=v[f+396>>2];c=Gib(h-2|0,31);if(!(1<>>0<=7:0)){v[f+116>>2]=h;v[f+112>>2]=b;wc(k,27896,f+112|0);break r}o=o-v[((h|0)/4<<2)+215040>>2]|0;break q}v[f+192>>2]=f+396;if((ef(b+1|0,13805,f+192|0)|0)!=1){v[f+176>>2]=b;wc(k,26086,f+176|0);break r}v[f+160>>2]=b;wc(k,29498,f+160|0);break r}v[f+16>>2]=b;wc(k,30954,f+16|0);break r}c=(h|0)>0?h:0;if((c|0)==1){break q}l=w[b+2|0];if((l-49&255)>>>0>3){m=1;break s}if((c|0)==2){break q}l=w[b+3|0];if((l-49&255)>>>0>3){m=2;break s}if((c|0)==3){break q}m=3;l=w[b+4|0];if((l-49&255)>>>0>3){break s}if((c|0)==4){break q}l=w[b+5|0];m=4;break s}v[f+84>>2]=h;v[f+80>>2]=b;wc(k,21939,f+80|0);break r}v[f+100>>2]=m;v[f+96>>2]=b;v[f+104>>2]=(l<<24>>24)-48;wc(k,24219,f+96|0)}n=0}dc(b);g=g+1|0;if((e|0)!=(g|0)){continue}break}}if(!p|!o){break g}v[f>>2]=b;wc(k,32560,f)}n=0}Qb=f+400|0;if(!n){mI(d+84|0);break a}v[d+112>>2]=0;a=Xe(0,a);v[d+88>>2]=0;v[d+92>>2]=a;A:{if((q|0)<1){break A}h=d+92|0;b=0;while(1){B:{C:{D:{E:{F:{G:{H:{I:{m=sI(lI(j,b));switch(t[m|0]-66|0){case 0:case 32:break C;case 22:case 54:break D;case 16:case 48:break E;case 1:case 33:break F;case 13:case 45:break G;case 3:case 35:break H;case 2:case 34:break I;default:break B}}v[d+4>>2]=d+116;v[d>>2]=d+120;ef(m+1|0,10611,d);l=0;e=Qb-16|0;Qb=e;i=v[d+92>>2];a=v[d+120>>2];c=v[d+116>>2];J:{if(!i|(((i?v[i+8>>2]:-1)|0)!=1|(a|0)<1)|(c|0)<1){break J}if(!((a|0)!=1|(c|0)!=1)){l=Xe(0,i);break J}if(!((a|0)!=1&(c|0)!=1)){a=qi(c,a,c>>>1|0,a>>>1|0);v[e+12>>2]=a;l=Ek(0,i,a);Li(e+12|0);break J}a=qi(1,a,0,a>>>1|0);v[e+8>>2]=a;c=qi(c,1,c>>>1|0,0);v[e+4>>2]=c;a=Ek(0,i,a);v[e+12>>2]=a;l=Ek(0,a,c);dd(e+12|0);Li(e+8|0);Li(e+4|0)}Qb=e+16|0;v[d+88>>2]=l;dd(d+92|0);a=v[d+88>>2];if(a){v[a+16>>2]=v[a+16>>2]+1}v[d+92>>2]=a;dd(d+88|0);break B}v[d+20>>2]=d+116;v[d+16>>2]=d+120;ef(m+1|0,10611,d+16|0);l=0;e=Qb-16|0;Qb=e;i=v[d+92>>2];a=v[d+120>>2];c=v[d+116>>2];K:{if(!i|(((i?v[i+8>>2]:-1)|0)!=1|(a|0)<1)|(c|0)<1){break K}if(!((a|0)!=1|(c|0)!=1)){l=Xe(0,i);break K}if(!((a|0)!=1&(c|0)!=1)){a=qi(c,a,c>>>1|0,a>>>1|0);v[e+12>>2]=a;l=Dk(0,i,a);Li(e+12|0);break K}a=qi(1,a,0,a>>>1|0);v[e+8>>2]=a;c=qi(c,1,c>>>1|0,0);v[e+4>>2]=c;a=Dk(0,i,a);v[e+12>>2]=a;l=Dk(0,a,c);dd(e+12|0);Li(e+8|0);Li(e+4|0)}Qb=e+16|0;v[d+88>>2]=l;dd(d+92|0);a=v[d+88>>2];if(a){v[a+16>>2]=v[a+16>>2]+1}v[d+92>>2]=a;dd(d+88|0);break B}v[d+36>>2]=d+116;v[d+32>>2]=d+120;ef(m+1|0,10611,d+32|0);e=v[d+92>>2];j=e;g=Qb-16|0;Qb=g;c=v[d+120>>2];a=v[d+116>>2];L:{if(!e|(((e?v[e+8>>2]:-1)|0)!=1|(c|0)<1)|(a|0)<1){break L}if(!((c|0)!=1|(a|0)!=1)){Xe(j,e);break L}if(!((c|0)!=1&(a|0)!=1)){c=qi(a,c,a>>>1|0,c>>>1|0);v[g+12>>2]=c;i=Qb-16|0;Qb=i;M:{N:{O:{P:{if(!e|!c|((e?v[e+8>>2]:-1)|0)!=1){break P}vq(c,i+12|0,i+8|0,0,0);if(!v[i+12>>2]|!v[i+8>>2]){break P}if(j){break O}j=Hs(e)}if(j){break N}break M}BI(j,e)}a=Dk(0,e,c);v[i+4>>2]=a;if(!a){break M}Ek(j,a,c);dd(i+4|0)}Qb=i+16|0;Li(g+12|0);break L}i=qi(1,c,0,c>>>1|0);v[g+8>>2]=i;c=qi(a,1,a>>>1|0,0);v[g+4>>2]=c;e=Dk(0,e,i);v[g+12>>2]=e;a=Dk(j,e,c);Ek(e,a,i);Ek(a,e,c);dd(g+12|0);Li(g+8|0);Li(g+4|0)}Qb=g+16|0;break B}v[d+52>>2]=d+116;v[d+48>>2]=d+120;ef(m+1|0,10611,d+48|0);e=v[d+92>>2];p=e;k=Qb-32|0;Qb=k;n=v[d+120>>2];o=v[d+116>>2];Q:{if(!e|(((e?v[e+8>>2]:-1)|0)!=1|(n|0)<1)|(o|0)<1){break Q}if(!((n|0)!=1|(o|0)!=1)){Xe(p,e);break Q}if(!v[259697]){g=Qb-16|0;Qb=g;R:{if(!e|(((e?v[e+8>>2]:-1)|0)!=1|(n|0)<1)|(o|0)<1){break R}if(!((n|0)!=1|(o|0)!=1)){Xe(p,e);break R}if(!((n|0)!=1&(o|0)!=1)){a=qi(o,n,o>>>1|0,n>>>1|0);v[g+12>>2]=a;J$(p,e,a);Li(g+12|0);break R}i=qi(1,n,0,n>>>1|0);v[g+8>>2]=i;c=qi(o,1,o>>>1|0,0);v[g+4>>2]=c;e=Ek(0,e,i);v[g+12>>2]=e;a=Ek(p,e,c);Dk(e,a,i);Dk(a,e,c);dd(g+12|0);Li(g+8|0);Li(g+4|0)}Qb=g+16|0;break Q}i=n>>>1|0;a=o>>>1|0;c=(a>>>0>>0?i:a)+31&-32;g=b0(e,c);v[k+28>>2]=g;S:{if(!((n|0)!=1&(o|0)!=1)){a=qi(o,n,a,i);v[k+16>>2]=a;a=J$(0,g,a);v[k+20>>2]=a;e=k+16|0;break S}e=qi(1,n,0,i);v[k+16>>2]=e;i=qi(o,1,a,0);v[k+12>>2]=i;g=Ek(0,g,e);v[k+24>>2]=g;a=Ek(0,g,i);v[k+20>>2]=a;Dk(g,a,e);Dk(a,g,i);dd(k+24|0);Li(k+16|0);e=k+12|0}Li(e);r=k,s=yI(a,c),v[r+24>>2]=s;dd(k+28|0);dd(k+20|0);if(!p){break Q}Xe(p,v[k+24>>2]);dd(k+24|0)}Qb=k+32|0;break B}i=Bc(m);g=i-1|0;T:{if((g|0)>=1){a=g&3;j=0;if(i-2>>>0>=3){l=g&-4;while(1){e=d+96|0;c=j|1;v[e+(j<<2)>>2]=t[c+m|0]-48;p=e+(c<<2)|0;c=j|2;v[p>>2]=t[c+m|0]-48;p=e+(c<<2)|0;c=j|3;v[p>>2]=t[c+m|0]-48;j=j+4|0;v[e+(c<<2)>>2]=t[m+j|0]-48;l=l-4|0;if(l){continue}break}}if(a){while(1){e=(d+96|0)+(j<<2)|0;j=j+1|0;v[e>>2]=t[m+j|0]-48;a=a-1|0;if(a){continue}break}}if((g|0)>3){break T}}a=i<<2;ic(a+h|0,0,20-a|0)}r=d,s=nI(v[d+92>>2],v[d+96>>2],v[d+100>>2],v[d+104>>2],v[d+108>>2]),v[r+88>>2]=s;dd(d+92|0);a=v[d+88>>2];if(a){v[a+16>>2]=v[a+16>>2]+1}v[d+92>>2]=a;dd(d+88|0);break B}v[d+64>>2]=d+124;ef(m+1|0,13805,d- -64|0);r=d,s=e0(v[d+92>>2],v[d+124>>2]),v[r+88>>2]=s;dd(d+92|0);a=v[d+88>>2];if(a){v[a+16>>2]=v[a+16>>2]+1}v[d+92>>2]=a;dd(d+88|0);break B}v[d+80>>2]=d+112;ef(m+1|0,13805,d+80|0);r=d,s=b0(v[d+92>>2],v[d+112>>2]),v[r+88>>2]=s;dd(d+92|0);a=v[d+88>>2];if(a){v[a+16>>2]=v[a+16>>2]+1}v[d+92>>2]=a;dd(d+88|0)}dc(m);b=b+1|0;if((q|0)!=(b|0)){j=v[d+84>>2];continue}break}a=v[d+112>>2];if((a|0)<1){break A}r=d,s=yI(v[d+92>>2],a),v[r+88>>2]=s;dd(d+92|0);a=v[d+88>>2];if(a){v[a+16>>2]=v[a+16>>2]+1}v[d+92>>2]=a;dd(d+88|0)}mI(d+84|0);i=v[d+92>>2]}Qb=d+128|0;return i}function Sp(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){var q=0,r=0,s=0,t=0,u=0,x=0,y=0,z=0,B=0,C=0,D=0,E=0,G=0;q=Qb-368|0;Qb=q;a:{b:{c:{t=a;d:{e:{if(v[t>>2]<2){break e}s=v[a+4>>2];if(w[s|0]!=254|w[s+1|0]!=255){break e}r=fc(8);v[299999]=0;t=S(3312,r|0)|0;s=v[299999];v[299999]=0;if((s|0)==1){break d}if(v[a>>2]<4){break e}r=2;z=3;while(1){s=t;D=v[a+4>>2];if(w[D+r|0]){D=63}else{D=w[z+D|0]}gd(s,D<<24>>24);r=r+2|0;z=r|1;if((z|0)>2]){continue}break}}if(!v[t>>2]){if((a|0)!=(t|0)){break b}break a}f:{g:{if(b){z=-1;s=cF(b);if(v[s+8>>2]<3){break g}b=Ad(v[v[s>>2]+8>>2],273871)?-1:0;h:{if(v[s+8>>2]<4){break h}b=Ad(v[v[s>>2]+12>>2],273871)?b:1;if(v[s+8>>2]<5){break h}b=Ad(v[v[s>>2]+16>>2],273871)?b:2;r=6;if(v[s+8>>2]<6){break h}b=Ad(v[v[s>>2]+20>>2],273871)?b:3;if(v[s+8>>2]<7){break h}while(1){D=r<<2;i:{if(!Ad(v[D+v[s>>2]>>2],273871)){b=r-2|0;break i}z=Ad(v[v[s>>2]+D>>2],258566)?z:r-6|0}r=r+1|0;if((r|0)>2]){continue}break}}j:{k:{if(!i|(b|0)<0){break k}i=v[v[s>>2]+(b<<2)>>2];if(!Ad(i,303036)){break k}$g(i);_c(i,303036);break j}if((b|0)<0){break g}}l:{m:{r=v[v[s>>2]+(b<<2)>>2];if(v[r>>2]<1){break m}i=v[r+4>>2];if(w[i|0]!=47){break m}if(c){i=OE(c,i+1|0);if(i){break l}}i=0;kc(1,-1,272465,0);$g(r);_c(r,227863);break l}i=0;kc(1,-1,272499,0)}u=xf(v[v[(v[s>>2]+(b<<2)|0)+4>>2]+4>>2]);break c}z=-1;kc(1,-1,272555,0);r=fc(16);v[299999]=0;s=S(3315,r|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break f}break d}kc(1,-1,272555,0)}b=v[s+8>>2];r=fc(8);v[299999]=0;Q(3063,r|0,227863)|0;c=v[299999];v[299999]=0;if((c|0)!=1){n:{Tc(s,r);r=fc(8);v[299999]=0;Q(3063,r|0,335026)|0;c=v[299999];v[299999]=0;if((c|0)==1){break n}Tc(s,r);i=0;r=fc(8);v[299999]=0;Q(3063,r|0,273871)|0;c=v[299999];v[299999]=0;if((c|0)==1){break n}Tc(s,r);break c}}}a=P()|0;O()|0;dc(r);T(a|0);L()}if(h){_c(p,355671)}_c(p,350595);o:{p:{q:{if((j|0)!=270){if((j|0)!=180){if((j|0)!=90){break p}A[q+304>>3]=l;Jc(p,351195,q+304|0);break q}A[q+328>>3]=m;A[q+320>>3]=l;Jc(p,351142,q+320|0);break p}A[q+336>>3]=m;Jc(p,351172,q+336|0)}C=m;break o}C=l;l=m}r:{s:{t:{u:{v:{w:{x:{if(d){E=m>15?5:2;B=C-(n+n)+-4;if(u!=0){break s}x=l-E;m=x;r=v[t>>2];if((r|0)>=1){c=0;m=x;while(1){bl(t,c,i,10,B,q+356|0,q+360|0,q+352|0);m=m+-10;c=v[q+352>>2];r=v[t>>2];if((c|0)<(r|0)){continue}break}}y=A[q+360>>3];if(m>=2.5){u=10;if(y<=B){break t}}c=0;m=x;if((r|0)>0){while(1){bl(t,c,i,9,B,q+356|0,q+360|0,q+352|0);m=m+-9;c=v[q+352>>2];r=v[t>>2];if((c|0)<(r|0)){continue}break}y=A[q+360>>3]}if(!(m>=2.25)){break x}u=9;if(!(y<=B)){break x}break t}if((e|0)>=1){x=C/+(e|0);A[q+360>>3]=x;m=0;y:{if(u!=0){break y}n=l-(n+n);u=F(H(n>x?x:n),10);if((b|0)<0){break y}b=v[(v[s>>2]+(b<<2)|0)+4>>2];$g(b);A[q+80>>3]=u;Jc(b,217437,q+80|0)}z:{A:{switch(f-1|0){case 0:m=x*+((e-v[t>>2]|0)/2|0);break z;case 1:break A;default:break z}}m=x*+(e-v[t>>2]|0)}n=u;B:{if(!i){y=-.25;C=.75;break B}y=A[i+136>>3];C=A[i+144>>3]}n=n*C;C=u*y;C:{D:{switch(g-1|0){default:l=l-n;break C;case 0:l=(l-n-C)*.5;break C;case 1:l=(l-n)*.5;break C;case 2:break D}}l=-C}_c(p,354878);r=0;if((z|0)>=0){b=z<<2;c=v[(b+v[s>>2]|0)+16>>2];$g(c);A[q+64>>3]=m+0;Jc(c,217437,q- -64|0);b=v[(b+v[s>>2]|0)+20>>2];$g(b);A[q+48>>3]=l+k;Jc(b,217437,q+48|0)}if(v[s+8>>2]>=1){while(1){gd(Mg(p,v[v[s>>2]+(r<<2)>>2]),32);r=r+1|0;if((r|0)>2]){continue}break}}if((z|0)<=-1){A[q+40>>3]=l+k;A[q+32>>3]=m+0;Jc(p,351256,q+32|0)}b=354874;z=v[t>>2];if((z|0)<1){break u}m=0;c=0;while(1){d=w[v[t+4>>2]+c|0];E:{if(!(d>>>0<32|d<<24>>24<0)){l=.5;F:{if(!i){break F}if(Ub[v[v[i>>2]+8>>2]](i)|0){break F}l=A[((d<<3)+i|0)+1464>>3]}k=(x-u*l)*.5;A[q+16>>3]=m+k;Jc(p,354255,q+16|0);z=351476;v[q>>2]=d;Jc(p,(d|0)==92|d-40>>>0<2?z:351489,q);z=v[t>>2];m=x-k;break E}m=m+x}c=c+1|0;if((z|0)>(c|0)){continue}break}break u}if(!i){break w}if(Ub[v[v[i>>2]+8>>2]](i)|0){break w}v[q+360>>2]=0;v[q+364>>2]=0;e=v[t>>2];if((e|0)<1){m=0;break v}d=e&3;c=v[t+4>>2];G:{if(e-1>>>0<3){r=0;m=0;break G}e=e&-4;r=0;m=0;j=i+1464|0;while(1){m=A[j+(w[c+r|0]<<3)>>3]+m;A[q+360>>3]=m;m=A[j+(w[c+(r|1)|0]<<3)>>3]+m;A[q+360>>3]=m;m=A[j+(w[c+(r|2)|0]<<3)>>3]+m;A[q+360>>3]=m;m=A[j+(w[c+(r|3)|0]<<3)>>3]+m;A[q+360>>3]=m;r=r+4|0;e=e-4|0;if(e){continue}break}}if(!d){break v}while(1){m=A[((w[c+r|0]<<3)+i|0)+1464>>3]+m;A[q+360>>3]=m;r=r+1|0;d=d-1|0;if(d){continue}break}break v}m=x;if((r|0)>=1){c=0;while(1){bl(t,c,i,8,B,q+356|0,q+360|0,q+352|0);m=m+-8;c=v[q+352>>2];r=v[t>>2];if((c|0)<(r|0)){continue}break}y=A[q+360>>3]}if(m>=2){u=8;if(y<=B){break t}}m=x;if((r|0)>=1){c=0;while(1){bl(t,c,i,7,B,q+356|0,q+360|0,q+352|0);m=m+-7;c=v[q+352>>2];r=v[t>>2];if((c|0)<(r|0)){continue}break}y=A[q+360>>3]}if(m>=1.75){u=7;if(y<=B){break t}}m=x;if((r|0)>=1){c=0;while(1){bl(t,c,i,6,B,q+356|0,q+360|0,q+352|0);m=m+-6;c=v[q+352>>2];r=v[t>>2];if((c|0)<(r|0)){continue}break}y=A[q+360>>3]}if(m>=1.5){u=6;if(y<=B){break t}}m=x;if((r|0)>=1){c=0;while(1){bl(t,c,i,5,B,q+356|0,q+360|0,q+352|0);m=m+-5;c=v[q+352>>2];r=v[t>>2];if((c|0)<(r|0)){continue}break}y=A[q+360>>3]}if(m>=1.25){u=5;if(y<=B){break t}}m=x;if((r|0)>=1){c=0;while(1){bl(t,c,i,4,B,q+356|0,q+360|0,q+352|0);m=m+-4;c=v[q+352>>2];r=v[t>>2];if((c|0)<(r|0)){continue}break}y=A[q+360>>3]}if(m>=1){u=4;if(y<=B){break t}}m=x;if((r|0)>=1){c=0;while(1){bl(t,c,i,3,B,q+356|0,q+360|0,q+352|0);m=m+-3;c=v[q+352>>2];r=v[t>>2];if((c|0)<(r|0)){continue}break}y=A[q+360>>3]}if(m>=.75){u=3;if(y<=B){break t}}if((r|0)>=1){r=0;while(1){bl(t,r,i,2,B,q+356|0,q+360|0,q+352|0);x=x+-2;r=v[q+352>>2];if((r|0)>2]){continue}break}y=A[q+360>>3]}u=x>=.5?y<=B?2:1:1;break t}m=+v[t>>2]*.5}H:{if(u!=0){break H}x=n+n;u=(C+-4-x)/m;x=l-x;u=F(H(u>2]+(b<<2)|0)+4>>2];$g(b);A[q+192>>3]=u;Jc(b,217437,q+192|0)}y=u*m;A[q+360>>3]=y;I:{J:{switch(f-1|0){default:m=n+2;break I;case 0:m=(C-y)*.5;break I;case 1:break J}}m=C-n+-2-y}n=u;K:{if(!i){C=.75;x=-.25;break K}C=A[i+144>>3];x=A[i+136>>3]}n=n*C;x=u*x;L:{M:{switch(g-1|0){default:l=l-n;break L;case 0:l=(l-n-x)*.5;break L;case 1:l=(l-n)*.5;break L;case 2:break M}}l=-x}if(o){A[q+184>>3]=u*1.2;A[q+176>>3]=u*.5+y;A[q+168>>3]=l+u*-.35;A[q+160>>3]=m+u*-.25;Jc(p,354901,q+160|0)}_c(p,354878);r=0;if((z|0)>=0){b=z<<2;c=v[(b+v[s>>2]|0)+16>>2];$g(c);A[q+144>>3]=m+0;Jc(c,217437,q+144|0);b=v[(b+v[s>>2]|0)+20>>2];$g(b);A[q+128>>3]=l+k;Jc(b,217437,q+128|0)}if(v[s+8>>2]>=1){while(1){gd(Mg(p,v[v[s>>2]+(r<<2)>>2]),32);r=r+1|0;if((r|0)>2]){continue}break}}if((z|0)<=-1){A[q+120>>3]=l+k;A[q+112>>3]=m+0;Jc(p,351256,q+112|0)}gd(p,40);b=351495;if(v[t>>2]<1){break u}r=0;while(1){c=w[v[t+4>>2]+r|0];N:{if(!(c-40>>>0>=2&(c|0)!=92)){gd(p,92);gd(p,c<<24>>24);break N}O:{if(c>>>0>=32){d=c<<24>>24;if((d|0)>-1){break O}}v[q+96>>2]=c;Jc(p,217427,q+96|0);break N}gd(p,d)}r=r+1|0;if((r|0)>2]){continue}break}}_c(p,b);break r}if((b|0)<0){break s}b=v[(v[s>>2]+(b<<2)|0)+4>>2];$g(b);A[q+288>>3]=u;Jc(b,217445,q+288|0)}c=0;P:{if(v[t>>2]<1){r=0;break P}r=0;while(1){bl(t,c,i,u,B,q+356|0,q+360|0,q+352|0);r=r+1|0;c=v[q+352>>2];if((c|0)>2]){continue}break}}m=u;Q:{if(!i){y=-.25;x=.75;break Q}y=A[i+136>>3];x=A[i+144>>3]}_c(p,354878);G=u;m=m*y;y=2-m;R:{S:{switch(g-1|0){default:m=l-u*x-E;break R;case 0:m=u*+(r-1|0)+(l-u*+(r|0))*.5-m;break R;case 1:m=u*+(r-1|0)+(l-u*+(r|0))*.5;break R;case 2:break S}}m=u*+(r-1|0)-m}l=G+(E+u>l?y:m);r=0;if((z|0)>=0){b=z<<2;c=v[(b+v[s>>2]|0)+16>>2];$g(c);A[q+272>>3]=0;Jc(c,217437,q+272|0);b=v[(b+v[s>>2]|0)+20>>2];$g(b);A[q+256>>3]=l+k;Jc(b,217437,q+256|0)}if(v[s+8>>2]>=1){while(1){gd(Mg(p,v[v[s>>2]+(r<<2)>>2]),32);r=r+1|0;if((r|0)>2]){continue}break}}if((z|0)<=-1){A[q+240>>3]=0;A[q+248>>3]=l+k;Jc(p,351256,q+240|0)}if(v[t>>2]<1){break r}k=n+2;n=C-n+-2;x=-u;l=0;r=0;c=f-1|0;while(1){bl(t,r,i,u,B,q+356|0,q+360|0,q+352|0);m=k;T:{U:{switch(c|0){case 0:m=(C-A[q+360>>3])*.5;break T;case 1:break U;default:break T}}m=n-A[q+360>>3]}A[q+232>>3]=x;A[q+224>>3]=m-l;Jc(p,354235,q+224|0);gd(p,40);d=v[q+356>>2];if((d|0)>(r|0)){while(1){b=w[v[t+4>>2]+r|0];V:{if(!(b-40>>>0>=2&(b|0)!=92)){gd(p,92);gd(p,b<<24>>24);break V}W:{if(b>>>0>=32){e=b<<24>>24;if((e|0)>-1){break W}}v[q+208>>2]=b;Jc(p,217427,q+208|0);break V}gd(p,e)}r=r+1|0;if((d|0)!=(r|0)){continue}break}}_c(p,351495);l=m;r=v[q+352>>2];if((r|0)>2]){continue}break}}_c(p,354874);_c(p,354944);if(h){_c(p,355666)}p=v[s+8>>2];if((p|0)>=1){r=0;while(1){b=v[v[s>>2]+(r<<2)>>2];if(b){Dc(b);dc(b);p=v[s+8>>2]}r=r+1|0;if((r|0)<(p|0)){continue}break}}dc(Vc(s));if((a|0)==(t|0)){break a}}dc(Dc(t))}Qb=q+368|0}function s4a(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,n=0,o=0,p=0,q=0,r=0,s=0,y=0,z=0,A=0;g=Qb-48|0;Qb=g;p=v[b+100>>2];d=Yc(a,0);v[g+36>>2]=d;a:{if(d){break a}v[g+24>>2]=0;v[g+28>>2]=8;v[g+16>>2]=1;v[g+20>>2]=1;v[g+40>>2]=0;h=Fd(p,64,g+40|0);b:{c:{d:{d=v[g+40>>2];if(!d){u[h+12>>1]=32767;v[h+36>>2]=g+16;d=v[a+4>>2];v[h+56>>2]=p;v[h+60>>2]=d;v[h+40>>2]=0;v[h+44>>2]=0;v[h+48>>2]=0;v[h+52>>2]=p;q=v[a+28>>2];v[g+44>>2]=0;d=1024;n=Cc(q,1,0,1024,0,g+44|0);if(v[g+44>>2]){break d}v[g>>2]=1594;t[n|0]=0;j=256;e=0;r=1;e:while(1){i=d;f:while(1){f=0;d=0;while(1){if(!(f&1)){l=RH(a,e+n|0,i-e|0);k=l+e|0;e=0}g:{h:{i:{j:{if((d|0)>=(k|0)){break j}s=d+n|0;f=t[s|0];if((j|0)==(f|0)){break g}m=d;while(1){k:{o=f&255;switch(o-10|0){case 0:case 3:break i;default:break k}}m=m+1|0;if((m|0)==(k|0)){break j}f=w[m+n|0];continue}}if(!l){break d}if(!d){if(i>>>0<65536){break h}v[g+44>>2]=6;break d}l=k-d|0;Wd(n,d+n|0,l);e=l;k=d;continue f}j=m+n|0;t[j|0]=0;l:{m:{switch(w[s|0]-26|0){case 0:case 9:break l;default:break m}}if((d|0)>=(m|0)){break l}y=m-d|0;d=Ub[v[g>>2]](s,y,r,g,h)|0;v[g+44>>2]=d;if((d|0)==-1){d=Ub[v[g>>2]](s,y,r,g,h)|0;v[g+44>>2]=d}if(d){break d}}t[j|0]=f;j=(o|0)==10?13:(o|0)==13?10:256;f=1;d=m+1|0;r=r+1|0;continue}d=i<<1;n=Cc(q,1,i,d,n,g+44|0);e=i;if(!v[g+44>>2]){continue e}break d}f=1;d=d+1|0;j=256;continue}}}}e=0;if(!h){break b}break c}if(n){Ub[v[q+8>>2]](q,n)}a=v[g+44>>2];v[g+40>>2]=a;e=v[h+32>>2];n:{if(a){break n}o:{p:{q:{if(e){if(v[e+28>>2]!=8){u[e+32>>1]=x[e+4>>1]}r:{if(!v[v[h+36>>2]>>2]|!(v[e+52>>2]|v[e+64>>2])){break r}a=u[h+12>>1];d=u[h+16>>1]-a|0;if((d|0)!=x[e+4>>1]){u[e+4>>1]=d}if(x[e+8>>1]!=(a&65535)){u[e+8>>1]=a}a=x[h+18>>1];d=a<<16;if((a|0)!=x[e+12>>1]){u[e+12>>1]=a}a=x[h+20>>1];f=a<<16>>16;if((a|0)!=x[e+14>>1]){u[e+14>>1]=a;u[e+10>>1]=0-a}a=f+(d>>16)|0;if((a|0)==x[e+6>>1]){break r}u[e+6>>1]=a}d=v[h>>2];if(d&1){break q}a=v[e+88>>2];if(!a){break c}a=Cc(v[e+100>>2],1,a,a+1|0,v[e+84>>2],g+40|0);e=v[h+32>>2];v[e+84>>2]=a;if(v[g+40>>2]){break n}t[a+v[e+88>>2]|0]=0;e=v[h+32>>2];break c}d=v[h>>2];if(!(d&1)){break p}}if(d&32){break o}v[g+40>>2]=185;break n}v[g+40>>2]=3;e=0;break c}v[g+40>>2]=186}q$(e);a=v[h+32>>2];if(a){Ub[v[p+8>>2]](p,a)}e=0;v[h+32>>2]=0}a=v[h+52>>2];if(a){d=v[h+40>>2];if(d){Ub[v[a+8>>2]](a,d)}v[h+48>>2]=0;v[h+52>>2]=0;v[h+40>>2]=0;v[h+44>>2]=0}a=p;d=v[h+24>>2];if(d){Ub[v[a+8>>2]](a,d)}v[h+24>>2]=0;if(h){Ub[v[p+8>>2]](p,h)}d=v[g+40>>2]}v[g+36>>2]=d;s:{t:{u:{v:{w:{x:{y:{z:{if((d&255)!=176){if(d){break a}v[b+140>>2]=e;if(!(!(c&65535)|(c|0)<1)){fI(b);d=6;break a}v[b>>2]=1;v[b+4>>2]=0;v[b+8>>2]=v[b+8>>2]|18;A:{B:{if(!e|!v[e+72>>2]){break B}a=Yh(320901,v[e+92>>2]);C:{if(!a){break C}c=v[e+80>>2];if(!c){break C}a=c+(v[a>>2]<<4)|0;if(v[a+4>>2]!=1){break C}a=v[a+12>>2];if(!a){break C}D:{E:{a=w[a|0];switch(a-67|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break C;case 0:case 10:break D;default:break E}}switch(a-99|0){case 0:case 10:break D;default:break C}}v[b+8>>2]=v[b+8>>2]|4}if(!v[e+72>>2]){break B}a=Yh(321356,v[e+92>>2]);if(!a){break B}c=v[e+80>>2];if(!c){break B}a=v[(c+(v[a>>2]<<4)|0)+12>>2];if(!a){break B}z=b,A=uj(p,a,g+36|0),v[z+20>>2]=A;d=v[g+36>>2];if(!d){break A}break a}v[b+20>>2]=0}m=0;v[g>>2]=0;v[b+12>>2]=0;o=v[b+100>>2];s=1;c=v[b+140>>2];if(!c|!v[c+72>>2]){break u}a=0;q=0;d=Yh(309981,v[c+92>>2]);F:{if(!d){break F}f=v[c+80>>2];if(!f){break F}d=f+(v[d>>2]<<4)|0;if(v[d+4>>2]!=1){break F}f=v[d+12>>2];if(!f){break F}G:{switch(w[f|0]-73|0){case 0:case 6:case 32:case 38:break G;default:break F}}v[b+12>>2]=v[b+12>>2]|1;q=(w[v[d+12>>2]]&223)==79?275543:297042}if(!v[c+72>>2]){j=0;l=0;i=0;n=0;d=0;c=1;break v}l=0;k=1;d=Yh(321385,v[c+92>>2]);i=0;H:{if(!d){break H}f=v[c+80>>2];i=0;if(!f){break H}d=f+(v[d>>2]<<4)|0;i=0;if(v[d+4>>2]!=1){break H}d=v[d+12>>2];i=0;if(!d){break H}i=0;if((w[d|0]|32)!=98){break H}v[b+12>>2]=v[b+12>>2]|2;k=0;i=288795}if(!v[c+72>>2]){break y}j=0;a=Yh(321407,v[c+92>>2]);l=0;I:{if(!a){break I}d=v[c+80>>2];l=0;if(!d){break I}a=d+(v[a>>2]<<4)|0;l=0;if(v[a+4>>2]!=1){break I}a=v[a+12>>2];l=0;if(!a){break I}d=w[a|0];l=0;if(!d){break I}l=0;if((d|0)==78){break I}l=0;if((d|0)==110){break I}l=a}if(!v[c+72>>2]){break x}a=Yh(321421,v[c+92>>2]);if(!a){break y}c=v[c+80>>2];if(!c){break y}a=c+(v[a>>2]<<4)|0;if(v[a+4>>2]!=1){break x}j=v[a+12>>2];if(!j){break y}a=0;c=w[j|0];if(!c|(c|0)==78|(c|0)==110){break z}a=Bc(j);d=a+1|0;break w}fI(b);d=2;break a}j=0;d=0;break w}j=0}a=0;d=0}if(k){i=0;n=0;c=1;break v}n=Bc(i);d=(n+d|0)+1|0;c=0}r=c;J:{if(!q){c=0;break J}c=Bc(q);d=(d+c|0)+1|0}s=!q;if(l){m=Bc(l);d=(m+d|0)+1|0}h=!l;k=h;if(!d){break t}break s}l=0;n=0;i=0;r=1;q=0;c=0;k=1}h=k;d=8;a=7;j=240246}f=Fd(o,d,g);v[b+24>>2]=f;d=v[g>>2];if(d){v[g+36>>2]=d;break a}if(j){f=gc(f,j,a);K:{if(!a){break K}j=a&3;d=0;if(a-1>>>0>=3){k=a&-4;while(1){o=d+f|0;if(w[o|0]==32){t[o|0]=45}o=f+(d|1)|0;if(w[o|0]==32){t[o|0]=45}o=f+(d|2)|0;if(w[o|0]==32){t[o|0]=45}o=f+(d|3)|0;if(w[o|0]==32){t[o|0]=45}d=d+4|0;k=k-4|0;if(k){continue}break}}if(!j){break K}while(1){k=d+f|0;if(w[k|0]==32){t[k|0]=45}d=d+1|0;j=j-1|0;if(j){continue}break}}f=a+f|0}if(!r){if(v[b+24>>2]!=(f|0)){t[f|0]=32;f=f+1|0}f=gc(f,i,n)+n|0}if(!s){if(v[b+24>>2]!=(f|0)){t[f|0]=32;f=f+1|0}f=gc(f,q,c)+c|0}if(!h){if(v[b+24>>2]!=(f|0)){t[f|0]=32;f=f+1|0}a=gc(f,l,m);L:{if(!m){break L}j=m&3;d=0;if(m-1>>>0>=3){k=m&-4;while(1){c=a+d|0;if(w[c|0]==32){t[c|0]=45}c=a+(d|1)|0;if(w[c|0]==32){t[c|0]=45}c=a+(d|2)|0;if(w[c|0]==32){t[c|0]=45}c=a+(d|3)|0;if(w[c|0]==32){t[c|0]=45}d=d+4|0;k=k-4|0;if(k){continue}break}}if(!j){break L}while(1){c=a+d|0;if(w[c|0]==32){t[c|0]=45}d=d+1|0;j=j-1|0;if(j){continue}break}}f=a+m|0}t[f|0]=0;d=v[g>>2];v[g+36>>2]=d;if(d){break a}a=v[e+48>>2];v[b+28>>2]=1;v[b+16>>2]=a+1;a=Cc(p,16,0,1,0,g+36|0);v[b+32>>2]=a;d=v[g+36>>2];if(d){break a}v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;d=v[e+40>>2];if(d+32767>>>0>=65535){d=(d|0)<0?-32767:32767;v[e+40>>2]=d}j=v[e+44>>2];if(j+32767>>>0>=65535){j=(j|0)<0?-32767:32767;v[e+44>>2]=j}u[a>>1]=d+j;c=a;f=tq(e,320786);M:{if(f){f=v[f+12>>2];d=32767;if(f+327665>>>0>655330){break M}f=(f+5|0)/10|0;d=f>>31;d=d^d+f;break M}d=jd(u[a>>1],2,3)}u[c+2>>1]=d;c=a;f=tq(e,321159);N:{if(f){f=v[f+12>>2];d=32767;if(f+328898>>>0>657796){break N}d=f>>31;d=jd(d+f^d,460800,72270);break N}d=v[e+16>>2];if(d){d=d>>>0>32767?32767:d<<6;break N}d=u[a+2>>1]<<6}v[c+4>>2]=d;c=tq(e,321193);if(c){c=v[c+12>>2];d=c>>31;v[a+12>>2]=c+32767>>>0>65534?2097088:(d^c+d)<<6}d=tq(e,309106);d=v[(d?d+12|0:e+20|0)>>2];c=0;O:{if(!d){break O}c=2147418112;if(d+32767>>>0>65534){break O}c=d>>31;c=(c+d^c)<<16}P:{Q:{R:{S:{d=tq(e,308980);d=v[(d?d+12|0:e+24|0)>>2];if(d){k=32767;if(d+32767>>>0>65534){break S}i=d;d=d>>31;k=i+d^d;d=v[a+12>>2];if(d){break Q}d=v[a+4>>2];v[a+12>>2]=d;if(!(k&65535)){break P}i=a+12|0;break R}d=v[a+12>>2];if(d){break P}d=v[a+4>>2];v[a+12>>2]=d;break P}d=v[a+12>>2];if(d){break Q}d=v[a+4>>2];v[a+12>>2]=d;i=a+12|0}d=jd(d,k&65535,72);v[i>>2]=d}if(!c){break P}f=k&65535;if(!f){break P}d=jd(d,c>>>16|0,f)}v[a+8>>2]=d;a=v[e+56>>2];c=Cc(p,8,0,v[e+48>>2],0,g+36|0);v[b+144>>2]=c;d=v[g+36>>2];if(d){break a}v[b+148>>2]=0;f=v[e+48>>2];T:{if(!f){break T}l=v[e+36>>2];d=0;if((f|0)!=1){m=f&-2;while(1){i=v[(a+B(d,36)|0)+4>>2];k=c+(d<<3)|0;u[k+4>>1]=d;v[k>>2]=i;if((i|0)==(l|0)){v[b+148>>2]=d}i=d|1;k=v[(a+B(i,36)|0)+4>>2];r=c+(i<<3)|0;u[r+4>>1]=i;v[r>>2]=k;if((k|0)==(l|0)){v[b+148>>2]=i}d=d+2|0;m=m-2|0;if(m){continue}break}}if(!(f&1)){break T}a=v[(a+B(d,36)|0)+4>>2];c=c+(d<<3)|0;u[c+4>>1]=d;v[c>>2]=a;if((a|0)!=(l|0)){break T}v[b+148>>2]=d}U:{a=tq(e,308996);c=tq(e,320884);if(!a|!c|(v[a+4>>2]!=1|v[c+4>>2]!=1)){break U}if(!v[a+12>>2]){break U}c=v[c+12>>2];if(!c){break U}z=b,A=uj(p,c,g+36|0),v[z+132>>2]=A;d=v[g+36>>2];if(d){break a}a=uj(p,v[a+12>>2],g+36|0);v[b+136>>2]=a;d=v[g+36>>2];if(d){break a}V:{W:{X:{Y:{if(!((w[a|0]|32)!=105|(w[a+1|0]|32)!=115|(w[a+2|0]|32)!=111)){a=a+3|0;if(!mc(a,324724)){break Y}if(!mc(a,323043)){if(!mc(v[b+132>>2],334370)){break Y}}if(!mc(a,333835)){break X}}v[g+4>>2]=0;v[g+8>>2]=0;v[g>>2]=b;break V}v[g+4>>2]=0;v[g+8>>2]=0;v[g>>2]=b;break W}a=mc(v[b+132>>2],309743);v[g+4>>2]=0;v[g+8>>2]=0;v[g>>2]=b;if(a){break V}}v[g+4>>2]=1970170211;v[g+8>>2]=65539}d=Rj(374336,0,g,0);v[g+36>>2]=d;break a}v[g+4>>2]=1094995778;v[g+8>>2]=7;v[g>>2]=b;d=Rj(374336,0,g,0);v[g+36>>2]=d;if(!v[b+36>>2]){break a}v[b+92>>2]=v[v[b+40>>2]>>2]}Qb=g+48|0;return d|0}function hna(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,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,x=0,z=0,A=0;g=Qb+-64|0;Qb=g;a:{b:{c:{d:{e:{if(!w[a+144|0]){a=vc(g+40|0,231625,242011,164,226800,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break e}b=P()|0;O()|0;qc(a);T(b|0);L()}j=a+72|0;l=dk(j);f:{i=v[v[c+12>>2]+((l>>>0)%y[c+8>>2]<<2)>>2];g:{if(i){while(1){if((l|0)==v[i+12>>2]){if(Sk(i+16|0,j)){break g}}i=v[i+8>>2];if(i){continue}break}}t=v[c+4>>2];z=Jt(c,j),A=0,v[z+52>>2]=A;j=g+32|0;Pl(j,v[a+108>>2]);v[g+24>>2]=0;v[g+28>>2]=v[282402];v[299999]=0;V(4503,g+16|0,j|0);j=v[299999];v[299999]=0;h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{if((j|0)!=1){v[299999]=0;m=v[g+16>>2];j=Z(4504,m|0,g+24|0,0,0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break q}if(j){break r}v[299999]=0;l=aa(4369,g+40|0,v[282394],242011,2281,339280,0)|0;j=v[299999];v[299999]=0;if((j|0)==1){break t}v[299999]=0;R(4370,l|0);j=v[299999];v[299999]=0;if((j|0)!=1){break e}i=W(989228)|0;j=O()|0;qc(l);break s}i=P()|0;O()|0;break b}i=W(989228)|0;j=O()|0}if((ja(989228)|0)!=(j|0)){break c}j=ea(i|0)|0;i=v[v[a>>2]+64>>2];v[299999]=0;U(i|0,a|0,j|0,1);j=v[299999];v[299999]=0;if((j|0)==1){break i}v[299999]=0;ba(4230);j=v[299999];v[299999]=0;if((j|0)!=1){break r}i=P()|0;O()|0;break c}if(!t){j=v[g+24>>2];j=v[(j?j+12|0:1129608)>>2];v[299999]=0;U(4599,b|0,j|0,0);j=v[299999];v[299999]=0;if((j|0)==1){break q}}u=e^1;n=a+44|0;o=a+40|0;p=a+36|0;x=d^1;j=0;l=v[a+132>>2]>1?v[a+140>>2]:-1;i=l;while(1){d=j;u:{if(i){v[299999]=0;j=Z(4504,m|0,g+24|0,0,0)|0;f=v[299999];v[299999]=0;if((f|0)==1){j=d;break o}if(j){break u}l=d}if(v[a+140>>2]>-1){break l}v[a+140>>2]=l;if(!q){break k}break h}v[299999]=0;f=Nc(g+24|0,312032,-1);h=v[299999];v[299999]=0;j=d+1|0;if((h|0)==1){break o}v:{w:{if(!(!v[a+8>>2]|f)){f=v[g+24>>2];f=v[(f?f+12|0:1129608)>>2];v[299999]=0;U(4599,b|0,f|0,0);f=v[299999];v[299999]=0;if((f|0)==1){break o}f=v[a+8>>2];v[299999]=0;v[g+40>>2]=0;Q(4336,g+40|0,b|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break w}v[299999]=0;V(4862,f|0,v[g+40>>2]);f=v[299999];v[299999]=0;if((f|0)!=1){f=v[g+40>>2];v[g+40>>2]=0;x:{if(!f){break x}v[299999]=0;h=v[f+4>>2]-1|0;v[f+4>>2]=h;k=v[299999];v[299999]=0;if((k|0)==1){break a}if(h){break x}v[299999]=0;R(4338,f|0);f=v[299999];v[299999]=0;if((f|0)==1){break a}}v[299999]=0;R(4601,b|0);f=v[299999];v[299999]=0;if((f|0)!=1){break v}break o}i=W(989228)|0;c=O()|0;ec(g+40|0);break m}v[299999]=0;f=Nc(g+24|0,320500,-1);h=v[299999];v[299999]=0;if((h|0)==1){break o}if(!((f|0)!=0|x)){v[299999]=0;v[g+8>>2]=0;Q(4336,g+8|0,m|0)|0;f=v[299999];v[299999]=0;y:{z:{A:{if((f|0)!=1){v[299999]=0;$(4823,g+40|0,a|0,v[g+8>>2],-1);f=v[299999];v[299999]=0;if((f|0)==1){break A}f=v[g+8>>2];v[g+8>>2]=0;B:{if(!f){break B}v[299999]=0;h=v[f+4>>2]-1|0;v[f+4>>2]=h;k=v[299999];v[299999]=0;if((k|0)==1){break a}if(h){break B}v[299999]=0;R(4338,f|0);f=v[299999];v[299999]=0;if((f|0)==1){break a}}f=v[g+40>>2];if(!f){break y}h=v[a+132>>2];if(!h){break z}k=v[v[f>>2]+56>>2];v[299999]=0;V(k|0,f|0,h|0);f=v[299999];v[299999]=0;if((f|0)!=1){break z}break p}i=W(989228)|0;break n}i=W(989228)|0;c=O()|0;ec(g+8|0);break m}if(w[a+136|0]){f=v[g+40>>2];h=v[v[f>>2]+60>>2];v[299999]=0;V(h|0,f|0,1);f=v[299999];v[299999]=0;if((f|0)==1){break p}}v[299999]=0;fa(4863,v[g+40>>2],b|0,c|0,1,e|0);f=v[299999];v[299999]=0;if((f|0)==1){break p}f=v[g+40>>2]}v[g+40>>2]=0;if(!f){break v}v[299999]=0;h=v[f+4>>2]-1|0;v[f+4>>2]=h;k=v[299999];v[299999]=0;if((k|0)!=1){if(h){break v}v[299999]=0;R(4338,f|0);f=v[299999];v[299999]=0;if((f|0)!=1){break v}}break a}v[299999]=0;f=Nc(g+24|0,307144,-1);h=v[299999];v[299999]=0;if((h|0)==1){break o}C:{D:{if(!f){break D}v[299999]=0;f=Nc(g+24|0,217592,-1);h=v[299999];v[299999]=0;if((h|0)==1){break o}if(!f){break D}v[299999]=0;f=Nc(g+24|0,312e3,-1);h=v[299999];v[299999]=0;if((h|0)==1){break o}if(f){break C}}f=v[p>>2];if(!f){break C}h=v[v[f>>2]+28>>2];v[299999]=0;f=S(h|0,f|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break o}if(!f){break C}if(q){q=1;break v}v[299999]=0;V(4864,p|0,b|0);f=v[299999];v[299999]=0;q=1;if((f|0)!=1){break v}i=W(989228)|0;break n}v[299999]=0;f=Nc(g+24|0,307139,-1);h=v[299999];v[299999]=0;if((h|0)==1){break o}E:{if(f){v[299999]=0;f=Nc(g+24|0,217587,-1);h=v[299999];v[299999]=0;if((h|0)==1){break o}if(f){break E}}f=v[o>>2];if(!f){break E}h=v[v[f>>2]+28>>2];v[299999]=0;f=S(h|0,f|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break o}if(!f){break E}if(r){r=1;break v}v[299999]=0;V(4864,o|0,b|0);f=v[299999];v[299999]=0;r=1;if((f|0)!=1){break v}i=W(989228)|0;break n}v[299999]=0;f=Nc(g+24|0,307149,-1);h=v[299999];v[299999]=0;if((h|0)==1){break o}F:{if(f){v[299999]=0;f=Nc(g+24|0,217597,-1);h=v[299999];v[299999]=0;if((h|0)==1){break o}if(f){break F}}f=v[n>>2];if(!f){break F}h=v[v[f>>2]+28>>2];v[299999]=0;f=S(h|0,f|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break o}if(!f){break F}if(s){s=1;break v}v[299999]=0;V(4864,n|0,b|0);f=v[299999];v[299999]=0;s=1;if((f|0)!=1){break v}i=W(989228)|0;break n}v[299999]=0;f=Nc(g+24|0,311734,-1);h=v[299999];v[299999]=0;if((h|0)==1){break o}if(!(!v[a+48>>2]&u?1:f)){break v}f=v[g+24>>2];f=v[(f?f+12|0:1129608)>>2];v[299999]=0;U(4599,b|0,f|0,0);f=v[299999];v[299999]=0;if((f|0)==1){break o}v[299999]=0;v[g+8>>2]=0;Q(4336,g+8|0,m|0)|0;f=v[299999];v[299999]=0;G:{H:{if((f|0)!=1){v[299999]=0;f=v[g+8>>2];v[g+40>>2]=0;Q(4336,g+40|0,b|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break H}v[299999]=0;Y(4604,v[g+40>>2],f|0,0)|0;f=v[299999];v[299999]=0;I:{if((f|0)!=1){f=v[g+40>>2];v[g+40>>2]=0;if(!f){break I}v[299999]=0;h=v[f+4>>2]-1|0;v[f+4>>2]=h;k=v[299999];v[299999]=0;if((k|0)!=1){if(h){break I}v[299999]=0;R(4338,f|0);f=v[299999];v[299999]=0;if((f|0)!=1){break I}}break a}i=W(989228)|0;c=O()|0;ec(g+40|0);break G}f=v[g+8>>2];v[g+8>>2]=0;J:{if(!f){break J}v[299999]=0;h=v[f+4>>2]-1|0;v[f+4>>2]=h;k=v[299999];v[299999]=0;if((k|0)==1){break a}if(h){break J}v[299999]=0;R(4338,f|0);f=v[299999];v[299999]=0;if((f|0)==1){break a}}v[299999]=0;R(4601,b|0);f=v[299999];v[299999]=0;if((f|0)==1){break o}break v}i=W(989228)|0;break n}i=W(989228)|0;c=O()|0}ec(g+8|0);break m}i=W(989228)|0;break n}i=i-1|0;v[299999]=0;R(4781,m|0);f=v[299999];v[299999]=0;if((f|0)!=1){continue}break}break o}i=P()|0;O()|0;break c}i=W(989228)|0;c=O()|0;ec(g+40|0);break m}i=W(989228)|0}c=O()|0}if((ja(989228)|0)!=(c|0)){break c}c=ea(i|0)|0;v[299999]=0;e=Nl(c,v[282394]);i=v[299999];v[299999]=0;if((i|0)==1){break i}K:{if(!e){e=v[a+132>>2];if(v[a+140>>2]<=-1){v[a+140>>2]=(e|0)>2?j:d}d=v[v[a>>2]+64>>2];v[299999]=0;U(d|0,a|0,c|0,(e|0)<2|0);c=v[299999];v[299999]=0;if((c|0)!=1){break K}break i}d=v[v[a>>2]+64>>2];v[299999]=0;U(d|0,a|0,c|0,1);c=v[299999];v[299999]=0;if((c|0)==1){break i}}v[299999]=0;ba(4230);c=v[299999];v[299999]=0;if((c|0)==1){break j}}if(q){break h}}c=v[p>>2];if(!c){break h}d=v[v[c>>2]+28>>2];v[299999]=0;c=S(d|0,c|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break d}if(!c){break h}v[299999]=0;V(4864,p|0,b|0);c=v[299999];v[299999]=0;if((c|0)!=1){break h}i=P()|0;O()|0;break c}i=P()|0;O()|0;break c}i=P()|0;O()|0;v[299999]=0;ba(4230);a=v[299999];v[299999]=0;if((a|0)!=1){break c}break a}L:{if(r){break L}c=v[o>>2];if(!c){break L}d=v[v[c>>2]+28>>2];v[299999]=0;c=S(d|0,c|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break d}if(!c){break L}v[299999]=0;V(4864,o|0,b|0);c=v[299999];v[299999]=0;if((c|0)!=1){break L}i=P()|0;O()|0;break c}M:{if(s){break M}c=v[n>>2];if(!c){break M}d=v[v[c>>2]+28>>2];v[299999]=0;c=S(d|0,c|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break d}if(!c){break M}v[299999]=0;V(4864,n|0,b|0);c=v[299999];v[299999]=0;if((c|0)!=1){break M}i=P()|0;O()|0;break c}if(!t){v[299999]=0;R(4601,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break d}}a=v[a+108>>2];v[299999]=0;V(4494,a|0,1);a=v[299999];v[299999]=0;if((a|0)==1){break d}a=v[g+16>>2];v[g+16>>2]=0;N:{if(!a){break N}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break N}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}ec(g+24|0);a=v[g+32>>2];v[g+32>>2]=0;if(!a){break g}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break f}if(b){break g}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break f}}Qb=g- -64|0;return}W(0)|0;O()|0;lc()}L()}i=P()|0;O()|0}ec(g+16|0)}ec(g+24|0);ec(g+32|0);T(i|0);L()}W(0)|0;O()|0;lc();L()}function QJ(a){var 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,u=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0;I=a+16|0;J=a+12|0;ca=a+80|0;h=v[a+72>>2];while(1){t[a+101|0]=0;if(!h){b=v[a+96>>2]+1|0;v[a+96>>2]=b;v[a+32>>2]=0;v[a+36>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;t[a+100|0]=1;a:{c=v[a+76>>2];d=v[c>>2];if((d|0)>(b|0)){h=v[v[c+8>>2]+(b<<2)>>2];break a}h=ca;if((b|0)==(d|0)){break a}return 1}v[a+72>>2]=h}b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{switch(w[h|0]){case 0:if(!w[a+100|0]){O=v[a+20>>2];K=v[a+32>>2];n=v[O+4>>2]+(K<<2)|0;break m}S=0;t[a+100|0]=0;b=0;break d;case 1:if(!w[a+100|0]){y=v[a+32>>2];M=v[a+20>>2];if((y|0)>=v[M>>2]){break n}n=v[M+4>>2]+(y<<2)|0;break l}t[a+100|0]=0;T=w[h+1|0];b=0;break e;case 2:if(!w[a+100|0]){z=v[a+36>>2]+1|0;break k}v[a+48>>2]=0;v[a+52>>2]=0;k=v[a+8>>2];if((k|0)>=1){e=v[J>>2];b=0;c=0;l=0;while(1){q=v[e>>2];if((q|0)>=1){j=v[e+12>>2];i=v[e+8>>2];d=v[e+4>>2];f=0;while(1){m=q+(f^-1)|0;g=j<>2];b=b?(b|0)<(g|0)?b:g:g;g=i<>2];c=c?(c|0)<(g|0)?c:g:g;d=d+20|0;f=f+1|0;if((q|0)!=(f|0)){continue}break}v[a+52>>2]=b;v[a+48>>2]=c}e=e+16|0;l=l+1|0;if((k|0)!=(l|0)){continue}break}}t[a+100|0]=0;q=w[h+1|0];b=0;break f;case 3:if(!w[a+100|0]){A=v[a+36>>2]+1|0;break j}v[a+48>>2]=0;v[a+52>>2]=0;U=v[a+8>>2];if((U|0)>=1){e=v[J>>2];b=0;c=0;l=0;while(1){C=v[e>>2];if((C|0)>=1){k=v[e+12>>2];j=v[e+8>>2];d=v[e+4>>2];f=0;while(1){i=C+(f^-1)|0;g=k<>2];b=b?(b|0)<(g|0)?b:g:g;g=j<>2];c=c?(c|0)<(g|0)?c:g:g;d=d+20|0;f=f+1|0;if((C|0)!=(f|0)){continue}break}v[a+52>>2]=b;v[a+48>>2]=c}e=e+16|0;l=l+1|0;if((U|0)!=(l|0)){continue}break}}t[a+100|0]=0;C=v[a+60>>2];b=0;break g;case 4:break o;default:break b}}if(!w[a+100|0]){D=v[a+36>>2]+1|0;break i}t[a+100|0]=0;P=v[h+4>>2];v[a+24>>2]=P;o=v[a+12>>2]+(P<<4)|0;b=0;break h}X(9530,7424,190,189382);L()}b=1;break d}b=1;break e}b=1;break f}b=1;break g}b=1}p:while(1){q:{r:{if(!b){v[I>>2]=o;if(v[h+8>>2]<=(P|0)){break b}l=v[o+8>>2];e=v[o>>2];r=e-1|0;b=v[o+4>>2];d=l<>2];v[a+48>>2]=d;g=v[o+12>>2];f=g<>2];v[a+52>>2]=f;if((e|0)>=2){c=1;if((e|0)!=2){k=r&-2;while(1){j=e+(c^-1)|0;i=g<>2];f=(f|0)<(i|0)?f:i;i=(e-c|0)-2|0;m=g<>2];f=(f|0)<(m|0)?f:m;j=l<>2];d=(d|0)<(j|0)?d:j;j=l<>2];d=(d|0)<(j|0)?d:j;c=c+2|0;b=b+40|0;k=k-2|0;if(k){continue}break}}if(r&1){c=e+(c^-1)|0;e=g<>2];f=(e|0)>(f|0)?f:e;b=l<>2];d=(b|0)>(d|0)?d:b}v[a+52>>2]=f;v[a+48>>2]=d}r=v[a+60>>2];b=0;break r}v[a+36>>2]=D;if(!(v[a>>2]<=(D|0)|v[h+12>>2]<=(D|0))){n=v[v[a+20>>2]+4>>2]+(v[a+32>>2]<<2)|0;b=v[n>>2];if((D|0)>=(b|0)){break c}D=D+1|0;break q}b=1}s:while(1){t:{u:{v:{if(!b){v[a+44>>2]=r;if(v[a+68>>2]<=(r|0)){break v}Y=v[a+56>>2];b=0;break t}E=v[a+28>>2]+1|0;v[a+28>>2]=E;F=v[a+20>>2]+20|0;v[a+20>>2]=F;o=v[a+16>>2];break u}P=v[a+24>>2]+1|0;v[a+24>>2]=P;o=o+16|0;b=0;continue p}b=1}while(1){w:{x:{y:{z:{A:{if(!b){v[a+40>>2]=Y;if(v[a+64>>2]<=(Y|0)){break A}E=w[h+1|0];v[a+28>>2]=E;F=v[o+4>>2]+B(E,20)|0;v[a+20>>2]=F;b=1;continue}b=v[o>>2];if(!((b|0)<=(E|0)|w[h+2|0]<=(E|0))){m=v[F>>2];if(!m){break x}s=v[o+12>>2];b=b+(E^-1)|0;d=s<>2];f=(u+i|0)/(d|0)|0;x=v[o+8>>2];e=x<>2];l=(Q+j|0)/(e|0)|0;c=v[F+12>>2];p=j;j=v[a+40>>2];g=v[F+8>>2];k=g+b|0;if(!((j|0)%(x<>2];k=b+c|0;if(!((i|0)%(s<>g)-(l>>>g|0)|0)+B(v[F+16>>2],((i+u|0)/(d|0)>>c)-(f>>>c|0)|0)|0;v[a+32>>2]=b;D=0;if((b|0)>=(m|0)){break z}break q}b=v[a+40>>2];c=v[a+48>>2];Y=b+c-(b|0)%(c|0)|0;break w}b=v[a+44>>2];c=v[a+52>>2];r=b+c-(b|0)%(c|0)|0;break y}X(9530,7424,478,189430);L()}b=0;continue s}b=1;continue s}b=0;continue}}}b=1;continue}}B:while(1){C:{D:{if(!b){v[a+44>>2]=C;if(v[a+68>>2]<=(C|0)){break b}Z=v[a+56>>2];b=0;break D}v[a+36>>2]=A;if(!(v[a>>2]<=(A|0)|v[h+12>>2]<=(A|0))){n=v[v[a+20>>2]+4>>2]+(v[a+32>>2]<<2)|0;b=v[n>>2];if((A|0)>=(b|0)){break c}A=A+1|0;break C}b=1}E:while(1){F:{G:{H:{if(!b){v[a+40>>2]=Z;if(v[a+64>>2]<=(Z|0)){break H}N=v[h+4>>2];v[a+24>>2]=N;b=v[J>>2]+(N<<4)|0;v[I>>2]=b;c=0;break F}G=v[a+28>>2]+1|0;v[a+28>>2]=G;H=v[a+20>>2]+20|0;v[a+20>>2]=H;b=v[a+16>>2];break G}b=v[a+44>>2];c=v[a+52>>2];C=b+c-(b|0)%(c|0)|0;b=0;continue B}c=1}while(1){I:{J:{K:{L:{M:{if(!c){if(v[h+8>>2]<=(N|0)|(N|0)>=(U|0)){break M}G=w[h+1|0];v[a+28>>2]=G;H=v[b+4>>2]+B(G,20)|0;v[a+20>>2]=H;c=1;continue}c=v[b>>2];if(!((c|0)<=(G|0)|w[h+2|0]<=(G|0))){m=v[H>>2];if(!m){break J}s=v[b+12>>2];c=c+(G^-1)|0;d=s<>2];f=(u+i|0)/(d|0)|0;x=v[b+8>>2];e=x<>2];l=(Q+j|0)/(e|0)|0;b=v[H+12>>2];p=j;j=v[a+40>>2];g=v[H+8>>2];k=g+c|0;if(!((j|0)%(x<>2];k=b+c|0;if(!((i|0)%(s<>g)-(l>>>g|0)|0)+B(v[H+16>>2],((i+u|0)/(d|0)>>b)-(f>>>b|0)|0)|0;v[a+32>>2]=b;A=0;if((b|0)>=(m|0)){break L}break C}b=b+16|0;v[a+16>>2]=b;N=v[a+24>>2]+1|0;v[a+24>>2]=N;U=v[a+8>>2];break I}b=v[a+40>>2];c=v[a+48>>2];Z=b+c-(b|0)%(c|0)|0;break K}X(9530,7424,391,189414);L()}b=0;continue E}b=1;continue E}c=0;continue}}}b=1;continue}}N:while(1){O:{P:{if(!b){v[a+28>>2]=q;if(w[h+2|0]<=(q|0)|v[a+4>>2]<=(q|0)){break b}_=v[a+60>>2];b=0;break P}v[a+36>>2]=z;if(!(v[a>>2]<=(z|0)|v[h+12>>2]<=(z|0))){n=v[v[a+20>>2]+4>>2]+(v[a+32>>2]<<2)|0;b=v[n>>2];if((z|0)>=(b|0)){break c}z=z+1|0;break O}b=1}Q:while(1){R:{S:{T:{if(!b){v[a+44>>2]=_;if(v[a+68>>2]<=(_|0)){break T}$=v[a+56>>2];b=0;break R}aa=1;R=v[a+24>>2]+1|0;ba=I;break S}q=v[a+28>>2]+1|0;b=0;continue N}b=1}while(1){U:{V:{W:{X:{Y:{if(!b){v[a+40>>2]=$;if(v[a+64>>2]<=($|0)){break Y}ba=J;R=v[h+4>>2];aa=R;b=1;continue}v[a+24>>2]=R;c=v[ba>>2]+(aa<<4)|0;v[I>>2]=c;if(!(v[h+8>>2]<=(R|0)|v[a+8>>2]<=(R|0))){b=v[a+28>>2];f=v[c>>2];if((b|0)>=(f|0)){break V}d=v[c+4>>2]+B(b,20)|0;v[a+20>>2]=d;s=v[d>>2];if(!s){break V}b=f+(b^-1)|0;e=v[c+12>>2]<>2];l=(u+m|0)/(e|0)|0;g=v[c+8>>2]<>2];k=(x+i|0)/(g|0)|0;f=v[d+12>>2];j=v[d+8>>2];c=j+b|0;p=i;i=v[a+40>>2];Z:{_:{if((p|0)!=(i|0)){c=-1<>2];$:{aa:{if((p|0)!=(m|0)){c=-1<>j)-(k>>>j|0)|0)+B(v[d+16>>2],((m+u|0)/(e|0)>>f)-(l>>>f|0)|0)|0;v[a+32>>2]=b;z=0;if((b|0)>=(s|0)){break X}break O}b=v[a+40>>2];c=v[a+48>>2];$=b+c-(b|0)%(c|0)|0;break U}b=v[a+44>>2];c=v[a+52>>2];_=b+c-(b|0)%(c|0)|0;break W}X(9530,7424,297,189398);L()}b=0;continue Q}b=1;continue Q}b=0;continue}}}b=1;continue}}ba:while(1){ca:{if(!b){v[a+28>>2]=T;if(v[a+4>>2]<=(T|0)){break b}V=0;if(w[h+2|0]<=(T|0)){break b}b=0;break ca}y=y+1|0;v[a+32>>2]=y;n=n+4|0;b=1}da:while(1){ea:{fa:{if(!b){v[a+36>>2]=V;if(v[a>>2]<=(V|0)|v[h+12>>2]<=(V|0)){break fa}b=v[h+4>>2];v[a+24>>2]=b;c=v[J>>2]+(b<<4)|0;d=0;break ea}if(v[M>>2]<=(y|0)){c=v[I>>2];b=v[a+24>>2];d=1;break ea}b=v[a+36>>2];if((b|0)>=v[n>>2]){break c}b=1;continue ba}T=v[a+28>>2]+1|0;b=0;continue ba}while(1){ga:{ha:{ia:{if(!d){v[a+16>>2]=c;if(v[a+8>>2]<=(b|0)|v[h+8>>2]<=(b|0)){break ia}d=v[a+28>>2];if((d|0)>=v[c>>2]){break ga}b=v[c+4>>2];y=0;v[a+32>>2]=0;M=b+B(d,20)|0;v[a+20>>2]=M;n=v[M+4>>2];b=1;continue da}b=b+1|0;v[a+24>>2]=b;c=c+16|0;break ha}V=v[a+36>>2]+1|0;b=0;continue da}d=0;continue}d=1;continue}}}}ja:while(1){ka:{if(!b){v[a+36>>2]=S;if(v[a>>2]<=(S|0)|v[h+12>>2]<=(S|0)){break b}W=w[h+1|0];b=0;break ka}K=K+1|0;v[a+32>>2]=K;n=n+4|0;b=1}la:while(1){ma:{na:{if(!b){v[a+28>>2]=W;if(v[a+4>>2]<=(W|0)|w[h+2|0]<=(W|0)){break na}b=v[h+4>>2];v[a+24>>2]=b;c=v[J>>2]+(b<<4)|0;d=0;break ma}if(v[O>>2]<=(K|0)){c=v[I>>2];b=v[a+24>>2];d=1;break ma}b=v[a+36>>2];if((b|0)>=v[n>>2]){break c}b=1;continue ja}S=v[a+36>>2]+1|0;b=0;continue ja}while(1){oa:{pa:{qa:{if(!d){v[a+16>>2]=c;if(v[a+8>>2]<=(b|0)|v[h+8>>2]<=(b|0)){break qa}d=v[a+28>>2];if((d|0)>=v[c>>2]){break oa}b=v[c+4>>2];K=0;v[a+32>>2]=0;O=b+B(d,20)|0;v[a+20>>2]=O;n=v[O+4>>2];b=1;continue la}b=b+1|0;v[a+24>>2]=b;c=c+16|0;break pa}W=v[a+28>>2]+1|0;b=0;continue la}d=0;continue}d=1;continue}}}}v[n>>2]=b+1;t[a+101|0]=1;v[a+104>>2]=v[a+104>>2]+1;return 0}h=0;v[a+72>>2]=0;continue}}function yF(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;n=Qb+-64|0;Qb=n;a:{if(v[a+292>>2]){break a}e=v[a+36>>2];if((v[e+20>>2]-v[e+16>>2]|0)>249){break a}nd(a)}b:{c:{d:{k=v[a+36>>2];i=v[k+16>>2];switch(w[i|0]-34|0){case 0:case 5:break c;default:break d}}if(!(!v[a+212>>2]|v[a+172>>2]!=-1)){e=0;break b}v[a+84>>2]=39;v[n>>2]=289989;e=0;oc(0,0,0,a,0,1,39,3,0,0,0,0,350078,n);v[a+12>>2]=0;if(v[a+288>>2]){break b}v[a+212>>2]=1;break b}l=v[k+28>>2];h=v[k+32>>2];v[a+172>>2]=12;q=w[i|0];f=i+1|0;j=v[k+20>>2];if(f>>>0>=j>>>0){e=v[k+12>>2];g=e;e:{if(v[a+292>>2]){break e}g=e;if((j-i|0)>249){break e}nd(a);k=v[a+36>>2];j=v[k+20>>2];g=v[k+12>>2]}f=((e|0)==(g|0)?0:g-e|0)+f|0}o=h+1|0;f:{g:{if(d){h:{if(f>>>0>=j>>>0){break h}while(1){h=w[f|0];if((h|0)==(q|0)){break h}e=h-9|0;if(e>>>0>23|!(1<>>0<=f>>>0){g=v[k+12>>2];if(!(v[a+292>>2]|(v[k+20>>2]-v[k+16>>2]|0)>249)){nd(a)}if(v[a+172>>2]==-1){e=0;break b}k=v[a+36>>2];e=v[k+12>>2];f=((e|0)==(g|0)?0:e-g|0)+f|0;j=v[k+20>>2]}e=(h|0)==10;o=e?1:o+1|0;l=e+l|0;if(f>>>0>>0){continue}break}}i:{if(f>>>0>=j>>>0){h=f;g=f;break i}g=f;h=f;while(1){e=t[g|0];f=e&255;if(!((f|0)!=(q|0)&f>>>0>31&(e|0)>-1)|(f|0)==38|(f|0)==60){break i}o=o+1|0;g=g+1|0;if((e|0)==32&w[g|0]==32){break i}j:{if(g>>>0>>0){break j}i=v[k+12>>2];if(!(v[a+292>>2]|(v[k+20>>2]-v[k+16>>2]|0)>249)){nd(a)}e=0;if(v[a+172>>2]==-1){break b}k=v[a+36>>2];j=v[k+20>>2];f=v[k+12>>2];f=(f|0)==(i|0)?0:f-i|0;g=f+g|0;h=f+h|0;if(w[a+362|0]&8|(g-h|0)<10000001){break j}Nd(a,40,351583);break b}if(g>>>0>>0){continue}break}}i=g;while(1){f=i;i=f-1|0;if(w[i|0]==32&f>>>0>h>>>0){continue}break}k:{if(g>>>0>=j>>>0){break k}while(1){m=w[g|0];if((m|0)==(q|0)){break k}e=m-9|0;if(e>>>0>23|!(1<>>0>g>>>0){break l}i=v[k+12>>2];if(!(v[a+292>>2]|(v[k+20>>2]-v[k+16>>2]|0)>249)){nd(a)}e=0;if(v[a+172>>2]==-1){break b}j=f;k=v[a+36>>2];f=v[k+12>>2];i=(f|0)==(i|0)?0:f-i|0;f=j+i|0;j=v[k+20>>2];g=g+i|0;h=h+i|0;if(w[a+362|0]&8|(g-h|0)<10000001){break l}Nd(a,40,351583);break b}e=(m|0)==10;o=e?1:o+1|0;l=e+l|0;if(g>>>0>>0){continue}break}}if(!(w[a+362|0]&8|(g-h|0)<10000001)){Nd(a,40,351583);e=0;break b}if((q|0)==w[g|0]){break g}break f}m:{if(f>>>0>=j>>>0){h=f;break m}h=f;while(1){e=t[f|0];g=e&255;if(!((g|0)!=(q|0)&g>>>0>31&(e|0)>-1)|(g|0)==38|(g|0)==60){break m}n:{f=f+1|0;if(j>>>0>f>>>0){break n}g=v[k+12>>2];if(!(v[a+292>>2]|(v[k+20>>2]-v[k+16>>2]|0)>249)){nd(a)}e=0;if(v[a+172>>2]==-1){break b}k=v[a+36>>2];j=v[k+20>>2];i=f;f=v[k+12>>2];g=(f|0)==(g|0)?0:f-g|0;f=i+g|0;h=g+h|0;if(w[a+362|0]&8|(f-h|0)<10000001){break n}Nd(a,40,351583);break b}o=o+1|0;if(f>>>0>>0){continue}break}}if(!(w[a+362|0]&8|(f-h|0)<10000001)){Nd(a,40,351583);e=0;break b}g=f;if((q|0)!=w[f|0]){break f}}e=o+1|0;d=g+1|0;o:{if(b){v[b>>2]=f-h;break o}if(c){v[c>>2]=1}h=rk(h,f-h|0);k=v[a+36>>2]}v[k+32>>2]=e;v[k+28>>2]=l;v[k+16>>2]=d;if(!c){e=h;break b}v[c>>2]=0;e=h;break b}if(c){v[c>>2]=1}o=34;p:{switch(w[v[k+16>>2]]-34|0){default:if(!(!v[a+212>>2]|v[a+172>>2]!=-1)){e=0;break b}v[a+84>>2]=39;v[n+16>>2]=289989;e=0;oc(0,0,0,a,0,1,39,3,0,0,0,0,350078,n+16|0);v[a+12>>2]=0;if(v[a+288>>2]){break b}v[a+212>>2]=1;break b;case 5:o=39;break;case 0:break p}}v[a+172>>2]=12;xd(a);f=100;j=0;g=0;q:{r:{e=Ub[v[259707]](100)|0;s:{if(!e){break s}g=bf(a,n+60|0);t:{u:{j=v[v[a+36>>2]+16>>2];v:{if(w[j|0]==(o|0)){k=0;i=0;break v}i=0;k=0;while(1){w:{x:{if((g|0)<=255){if((g|0)>31){break x}if(g>>>0>13){break v}if(1<>>0<1048576){break w}if(g-57344>>>0>=8190){break v}break w}if((g|0)!=60){break w}g=60;break v}if(v[a+172>>2]==-1){break r}if(w[a+362|0]&8?0:i>>>0>=10000001){break t}y:{z:{A:{B:{C:{switch(g|0){case 38:if(w[j+1|0]==35){h=FU(a);if(!h){k=h;break y}if((h|0)==38){c=i+10|0;if(v[a+16>>2]){D:{if(c>>>0<=f>>>0){l=f;h=e;break D}l=(f<<1)+10|0;if(l>>>0>>0){break u}j=0;g=e;h=Ub[v[259709]](g,l)|0;if(!h){break s}}t[h+i|0]=38;i=i+1|0;k=0;f=l;e=h;break y}E:{if(c>>>0<=f>>>0){l=f;h=e;break E}l=(f<<1)+10|0;if(l>>>0>>0){break u}j=0;g=e;h=Ub[v[259709]](g,l)|0;if(!h){break s}}c=h+i|0;t[c|0]=38;t[c+1|0]=35;t[c+2|0]=51;t[c+3|0]=56;t[c+4|0]=59;i=i+5|0;k=0;f=l;e=h;break y}F:{if(i+10>>>0<=f>>>0){c=f;l=e;break F}c=(f<<1)+10|0;if(f>>>0>c>>>0){break u}j=0;g=e;l=Ub[v[259709]](g,c)|0;if(!l){break s}}k=0;f=0;g=0;q=Qb-16|0;Qb=q;p=i+l|0;j=0;G:{if(!p){break G}H:{I:{if((h|0)>=128){J:{if((h|0)<2048){j=192;m=6;e=0;break J}if((h|0)<65536){f=1;j=224;m=12;e=6;break J}if((h|0)>=1114112){break H}f=1;j=240;m=18;g=1;e=12}t[p|0]=h>>>m|j;t[p+1|0]=h>>e&63|128;if(f){break I}j=(p+2|0)-p|0;break G}t[p|0]=h;j=1;break G}t[p+2|0]=h>>e-6&63|128;j=(p+3|0)-p|0;if(!g){break G}t[p+3|0]=h>>e-12&63|128;j=(p+4|0)-p|0;break G}v[q>>2]=h;oc(0,0,0,0,0,1,9,3,0,0,0,h,353167,q);j=0}Qb=q+16|0;i=i+j|0;f=c;e=l;break y}m=zU(a);c=v[a+440>>2]+1|0;v[a+440>>2]=c;k=0;if(!m){break y}v[a+440>>2]=c+v[m+68>>2];if(v[m+48>>2]==6){K:{if(i+10>>>0<=f>>>0){c=f;l=e;break K}c=(f<<1)+10|0;if(f>>>0>c>>>0){break u}j=0;g=e;l=Ub[v[259709]](g,c)|0;if(!l){break s}}g=i+l|0;e=i+1|0;f=w[v[m+40>>2]];if(!(v[a+16>>2]|(f|0)!=38)){t[g|0]=38;t[e+l|0]=35;t[g+4|0]=59;t[g+2|0]=51;t[g+3|0]=56;i=i+5|0;f=c;e=l;break y}t[g|0]=f;f=c;i=e;e=l;break y}if(v[a+16>>2]){v[a+248>>2]=v[a+248>>2]+1;j=yu(a,v[m+40>>2]);v[a+248>>2]=v[a+248>>2]-1;h=j;if(!h){break y}while(1){g=e;L:{while(1){k=32;M:{N:{c=w[h|0];switch(c|0){case 0:break L;case 9:case 10:case 13:break M;default:break N}}k=c}t[g+i|0]=k;h=h+1|0;c=i+11|0;e=i+1|0;i=e;if(c>>>0<=f>>>0){continue}break}c=f;f=(f<<1)+10|0;if(c>>>0>f>>>0){break s}i=e;e=Ub[v[259709]](g,f)|0;if(e){continue}break s}break}k=0;Ub[v[259708]](j);e=g;break y}c=kl(v[m+8>>2]);l=v[m+8>>2];O:{if(v[m+48>>2]==6){break O}h=v[m+40>>2];if(v[m+72>>2]|!h){break O}v[a+248>>2]=v[a+248>>2]+1;g=v[a+440>>2];h=yu(a,h);v[a+248>>2]=v[a+248>>2]-1;v[m+72>>2]=(v[a+440>>2]-g<<1)+2;if(!h){break O}if(uo(h,60)){v[m+72>>2]=v[m+72>>2]|1}Ub[v[259708]](h)}t[e+i|0]=38;h=i+1|0;m=c+10|0;i=h+m|0;while(1){g=e;if(f>>>0>=i>>>0){P:{if((c|0)<1){break P}e=c-1|0;i=c&3;if(i){while(1){t[g+h|0]=w[l|0];c=c-1|0;h=h+1|0;l=l+1|0;i=i-1|0;if(i){continue}break}}if(e>>>0<3){break P}while(1){e=g+h|0;t[e|0]=w[l|0];t[e+1|0]=w[l+1|0];t[e+2|0]=w[l+2|0];t[e+3|0]=w[l+3|0];h=h+4|0;l=l+4|0;e=(c|0)>4;c=c-4|0;if(e){continue}break}}t[g+h|0]=59;i=h+1|0;e=g;break y}j=0;e=f;f=m+(f<<1)|0;if(e>>>0>f>>>0){break s}e=Ub[v[259709]](g,f)|0;if(e){continue}break};break s;case 9:case 10:case 13:case 32:if(!(!d|i)){j=k;h=f;i=0;l=e;break z}if(!(!d|!k)){j=1;break B}Q:{if(v[n+60>>2]==1){t[e+i|0]=32;i=i+1|0;break Q}i=li(e+i|0,32)+i|0}h=i+10|0;while(1){g=e;if(f>>>0>=h>>>0){j=1;h=f;l=g;break z}j=0;c=f;f=(f<<1)+10|0;if(c>>>0>f>>>0){break s}e=Ub[v[259709]](g,f)|0;if(e){continue}break};break s;case 0:break v;default:break C}}j=0;R:{if(v[n+60>>2]==1){t[e+i|0]=g;i=i+1|0;break R}i=li(e+i|0,g)+i|0}if(i+10>>>0>f>>>0){break A}}h=f;l=e;break z}h=(f<<1)+10|0;if(h>>>0>>0){break u}g=e;l=Ub[v[259709]](g,h)|0;if(!l){break s}}e=v[a+36>>2];c=v[e+16>>2];S:{if(w[c|0]==10){v[e+32>>2]=1;v[e+28>>2]=v[e+28>>2]+1;break S}v[e+32>>2]=v[e+32>>2]+1}c=c+v[n+60>>2]|0;v[e+16>>2]=c;if(w[c|0]==37){wd(a)}k=j;f=h;e=l}T:{if(v[a+292>>2]){break T}c=v[a+36>>2];if((v[c+20>>2]-v[c+16>>2]|0)>249){break T}nd(a)}g=bf(a,n+60|0);j=v[v[a+36>>2]+16>>2];if(w[j|0]!=(o|0)){continue}break}}if(v[a+172>>2]==-1){break r}U:{if(!i|(!k|!d)){break U}while(1){c=i-1|0;if(w[c+e|0]!=32){break U}i=c;if(i){continue}break}i=0}t[e+i|0]=0;c=w[v[v[a+36>>2]+16>>2]];V:{if((c|0)==60){if(v[a+172>>2]==-1?v[a+212>>2]:0){break V}v[a+84>>2]=38;v[n+48>>2]=236367;oc(0,0,0,a,0,1,38,3,0,0,0,0,350078,n+48|0);v[a+12>>2]=0;if(v[a+288>>2]){break V}v[a+212>>2]=1;break V}W:{if((c|0)!=(o|0)){if(!g){break W}X:{if((g|0)<=255){if((g|0)>31){break W}if(!(1<>>0>13){break X}break W}if((g|0)<55296|g-65536>>>0<1048576|g-57344>>>0<8190){break W}}Nd(a,9,352046);break V}xd(a);break V}Nd(a,40,353500)}if(i>>>0>2147483646){break t}if(!b){break b}v[b>>2]=i;break b}j=0;g=e;break s}g=e;if(!(!v[a+212>>2]|v[a+172>>2]!=-1)){j=0;break s}v[a+84>>2]=40;v[n+32>>2]=351583;j=0;oc(0,0,0,a,0,1,40,3,0,0,0,0,237306,n+32|0);v[a+12>>2]=0;if(v[a+288>>2]){break s}v[a+212>>2]=1}Qd(a,0);break q}j=0;g=e}if(g){Ub[v[259708]](g)}e=0;if(!j){break b}Ub[v[259708]](j)}Qb=n- -64|0;return e}function Hna(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;e=Qb-1168|0;Qb=e;a:{b:{c:{d:{e:{f:{g:{h:{i:{if(!w[b+144|0]){a=vc(e+128|0,231625,242011,164,226800,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break i}b=P()|0;O()|0;qc(a);T(b|0);L()}h=Bh();v[e+1160>>2]=0;v[e+1164>>2]=v[282402];j:{k:{l:{m:{while(1){n:{f=v[v[c>>2]+8>>2];v[299999]=0;f=Y(f|0,c|0,e+128|0,1024)|0;g=v[299999];v[299999]=0;if((g|0)==1){break n}if(!f){c=v[e+1160>>2];if(!c){f=0;break j}if(!v[c+8>>2]){f=c;break j}f=c;break k}v[299999]=0;f=Y(4605,e+88|0,e+128|0,f|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break m}v[299999]=0;Q(4606,e+1160|0,e+88|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break l}ec(f);continue}break}g=P()|0;O()|0;break b}g=P()|0;O()|0;break b}g=P()|0;O()|0;ec(f);break b}o:{p:{q:{while(1){if(w[v[f+12>>2]]!=10){break j}v[299999]=0;$(4568,e+88|0,e+1160|0,1,-1);c=v[299999];v[299999]=0;if((c|0)==1){break q}v[299999]=0;Q(4535,e+1160|0,e+88|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break p}ec(e+88|0);f=v[e+1160>>2];if(f){c=f;if(!v[c+8>>2]){break o}continue}break}c=f;f=0;break j}g=P()|0;O()|0;break b}g=P()|0;O()|0;ec(e+88|0);break b}}r:{s:{if(!f){break s}while(1){i=v[f+8>>2];if(!i){break s}j=i-1|0;t:{if(j){g=((i|0)>0?0:c?i:0)+j|0;if(!(!c|(g|0)<0|(g|0)>(i|0))){c=c+12|0;break t}v[299999]=0;ba(4543);a=v[299999];v[299999]=0;if((a|0)!=1){break i}break d}g=0;c=f+12|0}if(w[v[c>>2]+g|0]!=10){break r}v[299999]=0;U(4607,e+1160|0,j|0,0);c=v[299999];v[299999]=0;if((c|0)==1){break c}f=v[e+1160>>2];c=f;if(c){continue}break}}v[a>>2]=0;v[299999]=0;Q(4336,a|0,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break d}break e}u:{v:{if(af(v[f+12>>2],47)){v[299999]=0;a=aa(4369,e+88|0,291216,242011,577,338575,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break v}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break i}g=P()|0;O()|0;qc(a);break b}c=v[v[h>>2]+8>>2];v[299999]=0;$(c|0,e+88|0,h|0,b|0,e+1160|0);c=v[299999];v[299999]=0;if((c|0)!=1){w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{c=v[e+96>>2];V:{W:{if(!c|!v[c+8>>2]){break W}v[299999]=0;U(4713,e+48|0,e+88|0,0);c=v[299999];v[299999]=0;if((c|0)==1){break w}c=v[e+48>>2];if(!c){ec(e+48|0);break W}c=v[c+8>>2];ec(e+48|0);if(c){break V}}v[299999]=0;V(4708,e+8|0,b+72|0);c=v[299999];v[299999]=0;if((c|0)==1){break U}v[299999]=0;c=Y(4612,e+48|0,e+1160|0,e+8|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break T}v[299999]=0;Q(4478,e+88|0,c|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break S}v[c+24>>2]=981312;v[c>>2]=981280;f=v[c+28>>2];if(f){g=v[f+4>>2]-1|0;v[f+4>>2]=g;if(!g){Ub[v[v[f>>2]+4>>2]](f)}v[c+28>>2]=0}v[c+16>>2]=981312;f=v[c+20>>2];if(f){g=v[f+4>>2]-1|0;v[f+4>>2]=g;if(!g){Ub[v[v[f>>2]+4>>2]](f)}v[c+20>>2]=0}ec(c+8|0);v[e+32>>2]=981312;v[e+8>>2]=981280;c=v[e+36>>2];if(c){f=v[c+4>>2]-1|0;v[c+4>>2]=f;if(!f){Ub[v[v[c>>2]+4>>2]](c)}v[e+36>>2]=0}v[e+24>>2]=981312;c=v[e+28>>2];if(c){f=v[c+4>>2]-1|0;v[c+4>>2]=f;if(!f){Ub[v[v[c>>2]+4>>2]](c)}v[e+28>>2]=0}ec(e+16|0)}f=v[b+120>>2];if(f){while(1){c=v[f+8>>2];v[299999]=0;V(4537,e+48|0,c+72|0);c=v[299999];v[299999]=0;if((c|0)==1){break Q}v[299999]=0;V(4537,e+8|0,e+88|0);c=v[299999];v[299999]=0;if((c|0)==1){break P}v[299999]=0;c=Y(4541,e+48|0,e+8|0,-1)|0;g=v[299999];v[299999]=0;if((g|0)==1){break O}ec(e+8|0);ec(e+48|0);if(!c){break M}f=v[f>>2];if(f){continue}break}}v[e>>2]=0;c=v[v[h>>2]+12>>2];v[299999]=0;$(c|0,e+48|0,h|0,b|0,e+1160|0);c=v[299999];v[299999]=0;if((c|0)==1){break L}v[299999]=0;Q(4344,e|0,e+48|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break K}c=v[e+48>>2];v[e+48>>2]=0;X:{if(!c){break X}v[299999]=0;f=v[c+4>>2]-1|0;v[c+4>>2]=f;g=v[299999];v[299999]=0;if((g|0)==1){break u}if(f){break X}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break u}}c=v[e>>2];if(!c){break I}f=v[b+132>>2];if(f){g=v[v[c>>2]+56>>2];v[299999]=0;V(g|0,c|0,f|0);c=v[299999];v[299999]=0;if((c|0)==1){break y}}if(w[b+136|0]){c=v[e>>2];f=v[v[c>>2]+60>>2];v[299999]=0;V(f|0,c|0,1);c=v[299999];v[299999]=0;if((c|0)==1){break y}}v[299999]=0;U(4726,h|0,v[e>>2],b|0);c=v[299999];v[299999]=0;if((c|0)==1){break y}v[299999]=0;c=b+148|0;f=v[c>>2];g=v[299999];v[299999]=0;if((g|0)==1){break y}if(f&512){v[299999]=0;V(4710,v[e>>2],0);f=v[299999];v[299999]=0;if((f|0)==1){break y}}v[299999]=0;c=v[c>>2];f=v[299999];v[299999]=0;if((f|0)==1){break y}if(c&1024){v[299999]=0;V(4710,v[e>>2],1);c=v[299999];v[299999]=0;if((c|0)==1){break y}}f=v[b+120>>2];if(f){while(1){c=v[f+8>>2];v[299999]=0;V(4537,e+48|0,c+72|0);c=v[299999];v[299999]=0;if((c|0)==1){break z}v[299999]=0;V(4537,e+8|0,e+88|0);c=v[299999];v[299999]=0;if((c|0)==1){break H}v[299999]=0;c=Y(4541,e+48|0,e+8|0,-1)|0;g=v[299999];v[299999]=0;if((g|0)==1){break G}ec(e+8|0);ec(e+48|0);if(!c){break E}f=v[f>>2];if(f){continue}break}}f=b+112|0;if((d|0)>=0){v[299999]=0;ox(e+48|0,f,d);b=v[299999];v[299999]=0;if((b|0)==1){break D}b=v[e+48>>2];if(b){break C}}v[299999]=0;b=S(1,12)|0;c=v[299999];v[299999]=0;if((c|0)==1){break h}v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;c=b;d=v[e>>2];if(d){v[299999]=0;v[d+4>>2]=v[d+4>>2]+1;d=v[299999];v[299999]=0;if((d|0)==1){break h}d=v[e>>2]}else{d=0}v[c+8>>2]=d;v[299999]=0;Le(f,b);b=v[299999];v[299999]=0;if((b|0)==1){break h}break B}g=P()|0;O()|0;break g}g=P()|0;O()|0;break R}g=P()|0;O()|0;$c(c)}$c(e+8|0);break g}g=P()|0;O()|0;break g}g=P()|0;O()|0;break N}g=P()|0;O()|0;ec(e+8|0)}ec(e+48|0);break g}Y:{b=v[f+8>>2];if(b){v[299999]=0;v[b+4>>2]=v[b+4>>2]+1;b=v[299999];v[299999]=0;if((b|0)==1){break Y}b=v[f+8>>2]}else{b=0}v[a>>2]=b;break f}g=P()|0;O()|0;break g}g=W(989228)|0;f=O()|0;break J}g=W(989228)|0;f=O()|0;ec(e+48|0)}if((ja(989228)|0)!=(f|0)){break x}c=ea(g|0)|0;v[299999]=0;V(4824,b|0,e+1160|0);d=v[299999];v[299999]=0;Z:{_:{if((d|0)==1){break _}v[299999]=0;d=ga(4695)|0;f=v[299999];v[299999]=0;if((f|0)==1){break _}v[299999]=0;c=v[c+4>>2];c=c?c:246399;f=v[299999];v[299999]=0;$:{aa:{ba:{if((f|0)==1){break ba}v[299999]=0;c=Q(4340,e+48|0,c|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break ba}f=v[v[d>>2]+20>>2];v[299999]=0;Y(f|0,d|0,b|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break aa}ec(c);v[a>>2]=0;v[299999]=0;Q(4336,a|0,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break _}v[299999]=0;ba(4230);a=v[299999];v[299999]=0;if((a|0)==1){break $}f=v[e>>2];break A}g=P()|0;O()|0;break Z}g=P()|0;O()|0;ec(c);break Z}g=P()|0;O()|0;ec(e);break g}g=P()|0;O()|0}v[299999]=0;ba(4230);a=v[299999];v[299999]=0;if((a|0)!=1){break x}break a}v[299999]=0;U(4423,e+8|0,357946,e+1160|0);a=v[299999];v[299999]=0;ca:{da:{if((a|0)!=1){a=v[e+8>>2];a=v[(a?a+12|0:1129608)>>2];v[299999]=0;a=aa(4369,e+48|0,a|0,242011,622,338575,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break da}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break i}g=P()|0;O()|0;qc(a);break ca}g=P()|0;O()|0;ec(e);break g}g=P()|0;O()|0}ec(e+8|0);ec(e);break g}g=P()|0;O()|0;break F}g=P()|0;O()|0;ec(e+8|0)}ec(e+48|0);ec(e);break g}v[299999]=0;Q(4344,e|0,f+8|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break B}break h}g=P()|0;O()|0;ec(e);break g}v[e+52>>2]=v[e+52>>2];v[e+48>>2]=b;v[299999]=0;b=S(1,12)|0;c=v[299999];v[299999]=0;if((c|0)==1){break h}v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;c=b;d=v[e>>2];if(d){v[299999]=0;v[d+4>>2]=v[d+4>>2]+1;d=v[299999];v[299999]=0;if((d|0)==1){break h}d=v[e>>2]}else{d=0}v[c+8>>2]=d;v[299999]=0;U(4825,f|0,e+48|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break h}}b=v[e>>2];if(b){v[299999]=0;v[b+4>>2]=v[b+4>>2]+1;b=v[299999];v[299999]=0;if((b|0)==1){break y}f=v[e>>2]}else{f=0}v[a>>2]=f}v[e>>2]=0;if(!f){break f}v[299999]=0;a=v[f+4>>2]-1|0;v[f+4>>2]=a;b=v[299999];v[299999]=0;if((b|0)!=1){if(a){break f}v[299999]=0;R(4338,f|0);a=v[299999];v[299999]=0;if((a|0)!=1){break f}}break a}g=P()|0;O()|0;ec(e);break g}g=P()|0;O()|0}ec(e);break g}g=P()|0;O()|0;break g}g=P()|0;O()|0;break b}g=P()|0;O()|0;break b}W(0)|0;O()|0;lc()}L()}g=P()|0;O()|0;ec(e)}$c(e+88|0);break b}v[e+112>>2]=981312;v[e+88>>2]=981280;a=v[e+116>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Ub[v[v[a>>2]+4>>2]](a)}v[e+116>>2]=0}v[e+104>>2]=981312;a=v[e+108>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Ub[v[v[a>>2]+4>>2]](a)}v[e+108>>2]=0}ec(e+96|0)}ec(e+1160|0);Qb=e+1168|0;return}g=P()|0;O()|0;break b}g=P()|0;O()|0}ec(e+1160|0);T(g|0);L()}W(0)|0;O()|0;lc();L()}function ku(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0,y=0,z=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;f=Qb-5632|0;Qb=f;eu(c,b+256|0,f+384|0);a:{b:{c:{if((d|0)==6){break c}n=v[c+8>>2];Z=Ub[v[v[n>>2]+28>>2]](n)|0;eu(c,b+512|0,f+256|0);eu(c,b+768|0,f+128|0);eu(c,b+1024|0,f);d:{if((Z|0)<1){break d}while(1){G=F<<2;R=v[G+(f+384|0)>>2];o=v[G+(f+256|0)>>2];n=R-o|0;r=n>>31;if((r^n+r)>>>0>256){break d}r=o;o=v[f+G>>2];n=r-o|0;r=n>>31;if((r^n+r)>>>0>256){break d}r=o;o=v[G+(f+128|0)>>2];n=r-o|0;r=n>>31;if((r^n+r)>>>0>256){break d}n=o-R|0;o=n>>31;if((o^o+n)>>>0>256){break d}F=F+1|0;if((Z|0)!=(F|0)){continue}break}break c}if((F|0)==(Z|0)){break c}t=A[b+32>>3];n=v[a+28>>2];p=A[n+24>>3];H=A[b+160>>3];q=A[n+40>>3];e=t*p+H*q;u=A[b>>3];w=A[b+128>>3];g=u*p+w*q;l=A[n+16>>3];m=A[n+32>>3];i=t*l+H*m;k=u*l+w*m;e:{if(ik)){j=k;break e}j=i}f:{if(eg)){i=g;e=g;break f}i=g}I=A[b+64>>3];J=A[b+192>>3];g=I*p+J*q;h=I*l+J*m;g:{if(hj)){break g}j=h}h:{i:{if(g>3];z=A[b+224>>3];e=s*p+z*q;h=s*l+z*m;j:{if(hj)){break j}j=h}k:{l:{if(eg){break k}}e=g}x=A[b+8>>3];E=A[b+136>>3];g=x*p+E*q;h=x*l+E*m;m:{if(hj)){break m}j=h}n:{o:{if(g>3];C=A[b+168>>3];e=B*p+C*q;h=B*l+C*m;p:{if(hj)){break p}j=h}q:{r:{if(eg){break q}}e=g}K=A[b+72>>3];L=A[b+200>>3];g=K*p+L*q;h=K*l+L*m;s:{if(hj)){break s}j=h}t:{u:{if(g>3];h=A[b+232>>3];e=M*p+h*q;h=M*l+h*m;v:{if(hj)){break v}j=h}w:{x:{if(eg){break w}}e=g}y=A[b+16>>3];N=A[b+144>>3];g=y*p+N*q;h=y*l+N*m;y:{if(hj)){break y}j=h}z:{A:{if(g>3];P=A[b+176>>3];e=O*p+P*q;h=O*l+P*m;B:{if(hj)){break B}j=h}C:{D:{if(eg){break C}}e=g}Q=A[b+80>>3];Y=A[b+208>>3];g=Q*p+Y*q;h=Q*l+Y*m;E:{if(hj)){break E}j=h}F:{G:{if(g>3];h=A[b+240>>3];e=D*p+h*q;h=D*l+h*m;H:{if(hj)){break H}j=h}I:{J:{if(eg){break I}}e=g}S=A[b+24>>3];T=A[b+152>>3];g=S*p+T*q;h=S*l+T*m;K:{if(hj)){break K}j=h}L:{M:{if(g>3];V=A[b+184>>3];e=U*p+V*q;h=U*l+V*m;N:{if(hj)){break N}j=h}O:{P:{if(eg){break O}}e=g}W=A[b+88>>3];X=A[b+216>>3];g=W*p+X*q;h=W*l+X*m;Q:{if(hj)){break Q}j=h}R:{S:{if(g>3];h=A[b+248>>3];e=D*p+h*q;h=D*l+h*m;T:{if(hj)){break T}j=h}U:{V:{if(eg){break U}}e=g}if(!(j-k<1)|!(e-i<1)){break b}}gc(v[a+28>>2]+124|0,f+384|0,128);c=v[a+8>>2];Ub[v[v[c>>2]+116>>2]](c,v[a+28>>2]);g=A[b>>3];c=v[a+28>>2];e=A[b+128>>3];A[c+608>>3]=e;A[c+600>>3]=g;c=v[c+596>>2];A[c+16>>3]=e;A[c+8>>3]=g;v[c>>2]=1;k=A[b+144>>3];j=A[b+136>>3];i=A[b+16>>3];g=A[b+8>>3];h=A[b+24>>3];c=v[a+28>>2];e=A[b+152>>3];A[c+608>>3]=e;A[c+600>>3]=h;$k(v[c+596>>2],g,j,i,k,h,e);k=A[b+216>>3];j=A[b+88>>3];i=A[b+184>>3];g=A[b+56>>3];h=A[b+120>>3];c=v[a+28>>2];e=A[b+248>>3];A[c+608>>3]=e;A[c+600>>3]=h;$k(v[c+596>>2],g,i,j,k,h,e);k=A[b+232>>3];j=A[b+104>>3];i=A[b+240>>3];g=A[b+112>>3];h=A[b+96>>3];c=v[a+28>>2];e=A[b+224>>3];A[c+608>>3]=e;A[c+600>>3]=h;$k(v[c+596>>2],g,i,j,k,h,e);k=A[b+160>>3];j=A[b+192>>3];i=A[b+32>>3];g=A[b+64>>3];h=A[b>>3];c=v[a+28>>2];e=A[b+128>>3];A[c+608>>3]=e;A[c+600>>3]=h;$k(v[c+596>>2],g,j,i,k,h,e);d=v[a+28>>2];Hf(v[d+596>>2]);b=v[d+596>>2];c=v[((v[b+28>>2]<<2)+v[b+24>>2]|0)-4>>2];b=(v[c+12>>2]<<3)-8|0;A[d+600>>3]=A[b+v[c>>2]>>3];A[d+608>>3]=A[b+v[c+4>>2]>>3];b=v[a+8>>2];Ub[v[v[b>>2]+204>>2]](b,v[a+28>>2]);vf(v[a+28>>2]);break a}_=A[b+248>>3];$=A[b+120>>3];ea=A[b+112>>3];fa=A[b+240>>3];l=A[b+232>>3];e=(J+z)*.5;A[f+1984>>3]=e;A[f+2016>>3]=z;i=(H+J)*.5;g=(i+e)*.5;A[f+1952>>3]=g;A[f+4480>>3]=w;e=(w+H)*.5;A[f+4512>>3]=e;e=(e+i)*.5;A[f+4544>>3]=e;e=(e+g)*.5;A[f+4576>>3]=e;A[f+1920>>3]=e;A[f+4352>>3]=u;j=(u+x)*.5;A[f+4360>>3]=j;e=(x+y)*.5;m=(j+e)*.5;A[f+4368>>3]=m;aa=(y+S)*.5;ba=(e+aa)*.5;ca=(m+ba)*.5;A[f+4376>>3]=ca;A[f+1888>>3]=s;e=(I+s)*.5;A[f+1856>>3]=e;i=(t+I)*.5;g=(i+e)*.5;A[f+1824>>3]=g;e=(u+t)*.5;A[f+4384>>3]=e;e=(e+i)*.5;A[f+4416>>3]=e;e=(e+g)*.5;A[f+4448>>3]=e;A[f+1792>>3]=e;t=(t+B)*.5;g=(j+t)*.5;A[f+4392>>3]=g;u=(w+E)*.5;A[f+4488>>3]=u;w=(H+C)*.5;e=(u+w)*.5;A[f+4520>>3]=e;x=(I+K)*.5;s=(s+M)*.5;h=(x+s)*.5;A[f+1864>>3]=h;y=(J+L)*.5;D=(z+l)*.5;k=(y+D)*.5;A[f+1992>>3]=k;i=g;g=(t+x)*.5;i=(i+g)*.5;A[f+4424>>3]=i;j=e;e=(w+y)*.5;j=(j+e)*.5;A[f+4552>>3]=j;g=(g+h)*.5;A[f+1832>>3]=g;e=(e+k)*.5;A[f+1960>>3]=e;i=(i+g)*.5;A[f+4456>>3]=i;e=(j+e)*.5;A[f+4584>>3]=e;A[f+1928>>3]=e;A[f+1896>>3]=s;A[f+2024>>3]=D;E=(E+N)*.5;z=(u+E)*.5;A[f+4496>>3]=z;g=m;m=(B+O)*.5;B=(t+m)*.5;g=(g+B)*.5;A[f+4400>>3]=g;t=(C+P)*.5;C=(w+t)*.5;e=(z+C)*.5;A[f+4528>>3]=e;A[f+1800>>3]=i;u=(L+Y)*.5;p=(y+u)*.5;w=(l+fa)*.5;q=(D+w)*.5;k=(p+q)*.5;A[f+2e3>>3]=k;h=x;x=(K+Q)*.5;l=(h+x)*.5;y=(M+ea)*.5;s=(s+y)*.5;j=(l+s)*.5;A[f+1872>>3]=j;i=(B+l)*.5;D=(g+i)*.5;A[f+4432>>3]=D;g=e;e=(C+p)*.5;g=(g+e)*.5;A[f+4560>>3]=g;h=(i+j)*.5;A[f+1840>>3]=h;e=(e+k)*.5;A[f+1968>>3]=e;e=(g+e)*.5;A[f+4592>>3]=e;A[f+1936>>3]=e;A[f+1904>>3]=s;A[f+2032>>3]=q;H=(N+T)*.5;I=(E+H)*.5;J=(z+I)*.5;K=(P+V)*.5;L=(t+K)*.5;g=(C+L)*.5;M=(J+g)*.5;A[f+4536>>3]=M;A[f+4504>>3]=J;N=(O+U)*.5;O=(m+N)*.5;k=(B+O)*.5;P=(ca+k)*.5;A[f+4408>>3]=P;Q=(Q+W)*.5;z=(x+Q)*.5;j=(l+z)*.5;B=(ea+$)*.5;C=(y+B)*.5;l=(s+C)*.5;s=(j+l)*.5;A[f+1880>>3]=s;E=(Y+X)*.5;m=(u+E)*.5;e=(p+m)*.5;t=(fa+_)*.5;u=(w+t)*.5;w=(q+u)*.5;x=(e+w)*.5;A[f+2008>>3]=x;i=(g+e)*.5;y=(M+i)*.5;A[f+4568>>3]=y;g=(D+h)*.5;A[f+4464>>3]=g;e=(k+j)*.5;j=(P+e)*.5;A[f+4440>>3]=j;A[f+1808>>3]=g;g=(i+x)*.5;A[f+1976>>3]=g;e=(e+s)*.5;A[f+1848>>3]=e;k=(y+g)*.5;A[f+4600>>3]=k;i=(j+e)*.5;A[f+4472>>3]=i;A[f+1944>>3]=k;A[f+1816>>3]=i;A[f+2040>>3]=w;A[f+1912>>3]=l;A[f+3200>>3]=J;A[f+3072>>3]=ca;A[f+3232>>3]=M;A[f+3104>>3]=P;A[f+704>>3]=x;A[f+576>>3]=s;A[f+3264>>3]=y;A[f+3136>>3]=j;A[f+672>>3]=g;A[f+544>>3]=e;A[f+3296>>3]=k;A[f+3168>>3]=i;A[f+640>>3]=k;A[f+512>>3]=i;A[f+736>>3]=w;A[f+608>>3]=l;A[f+3208>>3]=I;A[f+3080>>3]=ba;g=(I+L)*.5;A[f+3240>>3]=g;e=(ba+O)*.5;A[f+3112>>3]=e;h=(m+u)*.5;A[f+712>>3]=h;k=(z+C)*.5;A[f+584>>3]=k;i=g;g=(L+m)*.5;j=(i+g)*.5;A[f+3272>>3]=j;i=e;e=(O+z)*.5;i=(i+e)*.5;A[f+3144>>3]=i;g=(g+h)*.5;A[f+680>>3]=g;e=(e+k)*.5;A[f+552>>3]=e;g=(j+g)*.5;A[f+3304>>3]=g;e=(i+e)*.5;A[f+3176>>3]=e;A[f+648>>3]=g;A[f+520>>3]=e;A[f+744>>3]=u;A[f+616>>3]=C;A[f+3216>>3]=H;A[f+3088>>3]=aa;g=(H+K)*.5;A[f+3248>>3]=g;e=(aa+N)*.5;A[f+3120>>3]=e;h=(E+t)*.5;A[f+720>>3]=h;k=(Q+B)*.5;A[f+592>>3]=k;i=g;g=(K+E)*.5;j=(i+g)*.5;A[f+3280>>3]=j;i=e;e=(N+Q)*.5;i=(i+e)*.5;A[f+3152>>3]=i;g=(g+h)*.5;A[f+688>>3]=g;e=(e+k)*.5;A[f+560>>3]=e;g=(j+g)*.5;A[f+3312>>3]=g;e=(i+e)*.5;A[f+3184>>3]=e;A[f+656>>3]=g;A[f+528>>3]=e;A[f+752>>3]=t;A[f+624>>3]=B;A[f+3224>>3]=T;A[f+3096>>3]=S;g=(T+V)*.5;A[f+3256>>3]=g;e=(S+U)*.5;A[f+3128>>3]=e;h=(X+_)*.5;A[f+728>>3]=h;k=(W+$)*.5;A[f+600>>3]=k;i=g;g=(V+X)*.5;j=(i+g)*.5;A[f+3288>>3]=j;i=e;e=(U+W)*.5;i=(i+e)*.5;A[f+3160>>3]=i;g=(g+h)*.5;A[f+696>>3]=g;e=(e+k)*.5;A[f+568>>3]=e;g=(j+g)*.5;A[f+3320>>3]=g;e=(i+e)*.5;A[f+3192>>3]=e;A[f+664>>3]=g;A[f+536>>3]=e;A[f+760>>3]=_;A[f+632>>3]=$;n=v[c+316>>2];if((n|0)>0){while(1){o=da<<3;F=o+(f+4352|0)|0;G=b+o|0;j=A[G+256>>3];A[F+256>>3]=j;r=o+(f+3072|0)|0;g=A[G+512>>3];A[r+512>>3]=g;e=(j+g)*.5;A[r+256>>3]=e;A[F+512>>3]=e;R=o+(f+512|0)|0;e=A[G+1024>>3];A[R+1024>>3]=e;i=(g+e)*.5;A[R+512>>3]=i;A[r+1024>>3]=i;o=o+(f+1792|0)|0;g=A[G+768>>3];A[o+768>>3]=g;e=(e+g)*.5;A[o+1024>>3]=e;A[R+768>>3]=e;e=(j+g)*.5;A[o+256>>3]=e;A[F+768>>3]=e;e=(i+e)*.5;A[F+1024>>3]=e;A[r+768>>3]=e;A[R+256>>3]=e;A[o+512>>3]=e;da=da+1|0;if((n|0)!=(da|0)){continue}break}}b=d+1|0;ku(a,f+4352|0,c,b);ku(a,f+1792|0,c,b);ku(a,f+3072|0,c,b);ku(a,f+512|0,c,b)}Qb=f+5632|0}function Oea(a,b){a=a|0;b=b|0;var 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,y=0,z=0,A=0;s=Qb-32|0;Qb=s;a:{b:{c=0;c:{if(v[a+16>>2]>=v[a+12>>2]){break c}if(v[a+20>>2]==v[a+24>>2]){v[a+20>>2]=0;c=x[a+8>>1];u[v[a+52>>2]>>1]=c;u[v[a+40>>2]>>1]=c;d=v[a+64>>2];j=d+16|0;e=v[d+96>>2];if((e|0)>=1){while(1){c=(e|0)<64?e:64;Wn(v[d+12>>2],j,c);e=v[d+96>>2]-c|0;v[d+96>>2]=e;if((e|0)>0){continue}break}}v[d+88>>2]=0;v[d+92>>2]=0;c=j;v[c+56>>2]=0;v[c+60>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;k=32;v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=0;v[c+4>>2]=0;h=JD(v[d+12>>2]);v[d+80>>2]=0;v[d+84>>2]=32;v[d+96>>2]=h;g=v[d+92>>2];c=v[d+88>>2];while(1){d:{l=d;e:{if((c|0)<(g|0)){i=k;break e}v[d+88>>2]=0;v[d+92>>2]=0;c=h>>>0<64?h:64;if((c|0)<1){break d}e=v[d+12>>2];g=Ub[v[v[e>>2]+8>>2]](e,j,c)|0;v[d+92>>2]=g;h=v[d+96>>2]-g|0;v[d+96>>2]=h;if((g|0)<1){break d}f=v[d+80>>2];i=v[d+84>>2];c=v[d+88>>2]}e=c;c=e+1|0;v[l+88>>2]=c;k=i-8|0;v[d+84>>2]=k;f=w[(d+e|0)+16|0]<>2]=f;if((i|0)>15){continue}}break}}l=v[a+52>>2];c=v[a+40>>2];v[a+52>>2]=c;v[a+40>>2]=l;e=v[a+8>>2];f:{if((e|0)<1){break f}y=a+72|0;z=a+76|0;k=c+2|0;j=x[c>>1];while(1){c=v[a+68>>2];d=v[a+64>>2];e=v[d+80>>2];p=v[c+8>>2]+B(w[v[c+16>>2]+(e>>>v[c+12>>2]|0)|0],6)|0;c=u[p+2>>1];g=e<>2]=g;c=c+v[d+84>>2]|0;v[d+84>>2]=c;g:{if((c|0)<16){break g}r=d+16|0;h=v[d+92>>2];e=v[d+88>>2];while(1){if((e|0)>=(h|0)){v[d+88>>2]=0;v[d+92>>2]=0;c=v[d+96>>2];c=c>>>0<64?c:64;if((c|0)<1){break g}e=v[d+12>>2];h=Ub[v[v[e>>2]+8>>2]](e,r,c)|0;v[d+92>>2]=h;v[d+96>>2]=v[d+96>>2]-h;if((h|0)<1){break g}g=v[d+80>>2];e=v[d+88>>2];c=v[d+84>>2]}i=e+1|0;v[d+88>>2]=i;f=c-8|0;v[d+84>>2]=f;g=w[(d+e|0)+16|0]<>2]=g;t=(c|0)>15;c=f;e=i;if(t){continue}break}}h:{i:{j:{k:{l:{switch(u[p+4>>1]){case 1:p=q&1;m=v[(p?z:y)>>2];while(1){d=v[a+64>>2];e=v[d+80>>2];r=v[m+8>>2]+B(w[v[m+16>>2]+(e>>>v[m+12>>2]|0)|0],6)|0;c=u[r+2>>1];g=e<>2]=g;c=c+v[d+84>>2]|0;v[d+84>>2]=c;m:{if((c|0)<16){break m}t=d+16|0;h=v[d+92>>2];e=v[d+88>>2];while(1){if((e|0)>=(h|0)){v[d+88>>2]=0;v[d+92>>2]=0;c=v[d+96>>2];c=c>>>0<64?c:64;if((c|0)<1){break m}e=v[d+12>>2];h=Ub[v[v[e>>2]+8>>2]](e,t,c)|0;v[d+92>>2]=h;v[d+96>>2]=v[d+96>>2]-h;if((h|0)<1){break m}g=v[d+80>>2];e=v[d+88>>2];c=v[d+84>>2]}i=e+1|0;v[d+88>>2]=i;f=c-8|0;v[d+84>>2]=f;g=w[(d+e|0)+16|0]<>2]=g;A=(c|0)>15;c=f;e=i;if(A){continue}break}}c=u[r+4>>1];n=c+n|0;o=c+o|0;if((c|0)>63){continue}break};u[l>>1]=n;d=v[(p?y:z)>>2];m=0;while(1){i=v[a+64>>2];e=v[i+80>>2];p=v[d+8>>2]+B(w[v[d+16>>2]+(e>>>v[d+12>>2]|0)|0],6)|0;c=u[p+2>>1];g=e<>2]=g;c=c+v[i+84>>2]|0;v[i+84>>2]=c;n:{if((c|0)<16){break n}r=i+16|0;h=v[i+92>>2];e=v[i+88>>2];while(1){if((e|0)>=(h|0)){v[i+88>>2]=0;v[i+92>>2]=0;c=v[i+96>>2];c=c>>>0<64?c:64;if((c|0)<1){break n}e=v[i+12>>2];h=Ub[v[v[e>>2]+8>>2]](e,r,c)|0;v[i+92>>2]=h;v[i+96>>2]=v[i+96>>2]-h;if((h|0)<1){break n}g=v[i+80>>2];e=v[i+88>>2];c=v[i+84>>2]}n=e+1|0;v[i+88>>2]=n;f=c-8|0;v[i+84>>2]=f;g=w[(e+i|0)+16|0]<>2]=g;t=(c|0)>15;c=f;e=n;if(t){continue}break}}c=u[p+4>>1];m=c+m|0;o=c+o|0;if((c|0)>63){continue}break};u[l+2>>1]=m;l=l+4|0;n=0;c=j;break h;case 2:c=x[k>>1]+j|0;k=k+2|0;break k;case 5:c=x[k>>1]+j|0;k=k+2|0;j=j+3|0;break k;case 4:c=x[k>>1]+j|0;k=k+2|0;j=j+2|0;break k;case 3:c=x[k>>1]+j|0;k=k+2|0;j=j+1|0;break k;case 8:k=k-2|0;c=j-x[k>>1]|0;j=j-3|0;break k;case 7:k=k-2|0;c=j-x[k>>1]|0;j=j-2|0;break k;case 0:break i;case 6:break l;default:break j}}k=k-2|0;c=j-x[k>>1]|0;j=j-1|0}o=j;u[l>>1]=j+(m+n|0);q=q^1;l=l+2|0;n=0;break h}f=v[a+64>>2];c=v[f+84>>2];if((c|0)>=8){h=f+16|0;g=v[f+92>>2];e=v[f+88>>2];while(1){o:{if((e|0)>=(g|0)){v[f+88>>2]=0;v[f+92>>2]=0;c=v[f+96>>2];c=c>>>0<64?c:64;if((c|0)<1){break o}e=v[f+12>>2];g=Ub[v[v[e>>2]+8>>2]](e,h,c)|0;v[f+92>>2]=g;v[f+96>>2]=v[f+96>>2]-g;if((g|0)<1){break o}e=v[f+88>>2];c=v[f+84>>2]}d=e+1|0;v[f+88>>2]=d;i=c-8|0;v[f+84>>2]=i;v[f+80>>2]=v[f+80>>2]|w[(e+f|0)+16|0]<15;c=i;e=d;if(m){continue}}break}f=v[a+64>>2]}c=v[f+80>>2];if((c&-256)==1048832){v[a+16>>2]=v[a+12>>2];c=0;break c}if((c&-4194304)==62914560){g=c<<10;v[f+80>>2]=g;e=v[f+84>>2];c=e+10|0;v[f+84>>2]=c;p:{if((e|0)<6){break p}m=f+16|0;h=v[f+92>>2];e=v[f+88>>2];while(1){if((e|0)>=(h|0)){v[f+88>>2]=0;v[f+92>>2]=0;c=v[f+96>>2];c=c>>>0<64?c:64;if((c|0)<1){break p}e=v[f+12>>2];h=Ub[v[v[e>>2]+8>>2]](e,m,c)|0;v[f+92>>2]=h;v[f+96>>2]=v[f+96>>2]-h;if((h|0)<1){break p}g=v[f+80>>2];e=v[f+88>>2];c=v[f+84>>2]}d=e+1|0;v[f+88>>2]=d;i=c-8|0;v[f+84>>2]=i;g=w[(e+f|0)+16|0]<>2]=g;p=(c|0)>15;c=i;e=d;if(p){continue}break}}q:{while(1){d=v[a+64>>2];m=v[d+80>>2];c=m&-67108864;r:{if((c|0)!=67108864){if(!c){break q}g=m<<1;v[d+80>>2]=g;e=v[d+84>>2];c=e+1|0;v[d+84>>2]=c;s:{if((e|0)<15){break s}p=d+16|0;h=v[d+92>>2];e=v[d+88>>2];while(1){if((e|0)>=(h|0)){v[d+88>>2]=0;v[d+92>>2]=0;c=v[d+96>>2];c=c>>>0<64?c:64;if((c|0)<1){break s}e=v[d+12>>2];h=Ub[v[v[e>>2]+8>>2]](e,p,c)|0;v[d+92>>2]=h;v[d+96>>2]=v[d+96>>2]-h;if((h|0)<1){break s}g=v[d+80>>2];e=v[d+88>>2];c=v[d+84>>2]}i=e+1|0;v[d+88>>2]=i;f=c-8|0;v[d+84>>2]=f;g=w[(d+e|0)+16|0]<>2]=g;r=(c|0)>15;c=f;e=i;if(r){continue}break}}if((q&1)==((m^-1)>>>31|0)){u[l>>1]=n;l=l+2|0;q=q^1;n=0}n=n+1|0;c=1;break r}g=m<<6;v[d+80>>2]=g;e=v[d+84>>2];c=e+6|0;v[d+84>>2]=c;t:{if((e|0)<10){break t}m=d+16|0;h=v[d+92>>2];e=v[d+88>>2];while(1){if((e|0)>=(h|0)){v[d+88>>2]=0;v[d+92>>2]=0;c=v[d+96>>2];c=c>>>0<64?c:64;if((c|0)<1){break t}e=v[d+12>>2];h=Ub[v[v[e>>2]+8>>2]](e,m,c)|0;v[d+92>>2]=h;v[d+96>>2]=v[d+96>>2]-h;if((h|0)<1){break t}g=v[d+80>>2];e=v[d+88>>2];c=v[d+84>>2]}i=e+1|0;v[d+88>>2]=i;f=c-8|0;v[d+84>>2]=f;g=w[(d+e|0)+16|0]<>2]=g;p=(c|0)>15;c=f;e=i;if(p){continue}break}}if(q&1){u[l>>1]=n;l=l+2|0;n=0}n=n+5|0;q=0;c=5}o=c+o|0;if((o|0)<=v[a+8>>2]){continue}break}b=vc(s+8|0,996336,241436,721,340787,0);v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}break a}g=m<<8;v[d+80>>2]=g;e=v[d+84>>2];c=e+8|0;v[d+84>>2]=c;u:{if((e|0)<8){break u}p=d+16|0;h=v[d+92>>2];e=v[d+88>>2];while(1){if((e|0)>=(h|0)){v[d+88>>2]=0;v[d+92>>2]=0;c=v[d+96>>2];c=c>>>0<64?c:64;if((c|0)<1){break u}e=v[d+12>>2];h=Ub[v[v[e>>2]+8>>2]](e,p,c)|0;v[d+92>>2]=h;v[d+96>>2]=v[d+96>>2]-h;if((h|0)<1){break u}g=v[d+80>>2];e=v[d+88>>2];c=v[d+84>>2]}i=e+1|0;v[d+88>>2]=i;f=c-8|0;v[d+84>>2]=f;g=w[(d+e|0)+16|0]<>2]=g;r=(c|0)>15;c=f;e=i;if(r){continue}break}}if((m&-33554432)!=33554432){b=vc(s+8|0,996336,241436,727,340787,0);v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}break a}if(n){u[l>>1]=n;q=q^1;l=l+2|0}n=0;if(((m>>>24^-1)&1)!=(q&1)){c=j;break h}u[l>>1]=0;q=q^1;l=l+2|0;c=j;break h}b=vc(s+8|0,996336,241436,747,340787,0);v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}break a}o=x[k>>1]+j|0;n=o+(m+n|0)|0;c=x[k+2>>1]+o|0;k=k+4|0}e=v[a+8>>2];v:{if((c|0)>(o|0)){j=c;break v}f=k;j=c;if((c|0)>=(e|0)){break v}while(1){k=f+4|0;j=x[f+2>>1]+(x[f>>1]+j|0)|0;if((o|0)<(j|0)){break v}f=k;if((e|0)>(j|0)){continue}break}}m=0-o|0;if((e|0)>(o|0)){continue}break}if((n|0)<1){break f}c=v[a+68>>2];f=v[a+64>>2];e=v[f+80>>2];i=v[c+8>>2]+B(w[v[c+16>>2]+(e>>>v[c+12>>2]|0)|0],6)|0;c=u[i+2>>1];g=e<>2]=g;c=c+v[f+84>>2]|0;v[f+84>>2]=c;w:{if((c|0)<16){break w}d=f+16|0;h=v[f+92>>2];e=v[f+88>>2];while(1){if((e|0)>=(h|0)){v[f+88>>2]=0;v[f+92>>2]=0;c=v[f+96>>2];c=c>>>0<64?c:64;if((c|0)<1){break w}e=v[f+12>>2];h=Ub[v[v[e>>2]+8>>2]](e,d,c)|0;v[f+92>>2]=h;v[f+96>>2]=v[f+96>>2]-h;if((h|0)<1){break w}g=v[f+80>>2];e=v[f+88>>2];c=v[f+84>>2]}k=e+1|0;v[f+88>>2]=k;j=c-8|0;v[f+84>>2]=j;g=w[(e+f|0)+16|0]<>2]=g;q=(c|0)>15;c=j;e=k;if(q){continue}break}}if(x[i+4>>1]!=2){b=vc(s+8|0,996336,241436,761,340787,0);v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}break a}u[l>>1]=n;l=l+2|0;e=v[a+8>>2]}x:{if((e|0)>=(o|0)){break x}c=v[a+40>>2];y:{if(c>>>0>=l>>>0){break y}while(1){l=l-2|0;o=o-x[l>>1]|0;if((o|0)<=(e|0)){break y}if(c>>>0>>0){continue}break}}if((e|0)<=(o|0)){break x}u[l>>1]=e-o;l=l+2|0}if(b){v[b>>2]=l}u[l>>1]=0;u[l+2>>1]=0;v[a+20>>2]=v[a+20>>2]+1;v[a+16>>2]=v[a+16>>2]+1;c=v[a+40>>2]}Qb=s+32|0;return c|0}L()}a=P()|0;O()|0;qc(b);T(a|0);L()}function GP(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=Qb-128|0;Qb=f;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{if(!w[b+89|0]){a=vc(f+88|0,231584,241010,286,226767,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break l}b=P()|0;O()|0;qc(a);T(b|0);L()}l=Bh();i=Tk(f+88|0);v[299999]=0;U(4712,f+48|0,b|0,c|0);e=v[299999];v[299999]=0;m:{n:{if((e|0)!=1){v[299999]=0;Q(4478,i|0,f+48|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break n}v[f+72>>2]=981312;v[f+48>>2]=981280;e=v[f+76>>2];if(e){h=v[e+4>>2]-1|0;v[e+4>>2]=h;if(!h){Ub[v[v[e>>2]+4>>2]](e)}v[f+76>>2]=0}v[f+64>>2]=981312;e=v[f+68>>2];if(e){h=v[e+4>>2]-1|0;v[e+4>>2]=h;if(!h){Ub[v[v[e>>2]+4>>2]](e)}v[f+68>>2]=0}ec(f+56|0);o:{p:{q:{e=v[i+8>>2];r:{s:{if(!e|!v[e+8>>2]){break s}v[299999]=0;U(4713,f+48|0,i|0,0);e=v[299999];v[299999]=0;if((e|0)==1){break r}e=v[f+48>>2];if(!e){ec(f+48|0);break s}e=v[e+8>>2];ec(f+48|0);if(e){break p}}v[299999]=0;e=v[b+92>>2];h=v[299999];v[299999]=0;if((h|0)==1){break r}if(!(e&24)){break q}v[a>>2]=0;v[299999]=0;Q(4336,a|0,0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break o}}b=P()|0;O()|0;break b}v[f+40>>2]=0;t:{u:{v:{w:{x:{y:{z:{if(!v[b+100>>2]){break z}v[299999]=0;U(4713,f+16|0,b+8|0,0);e=v[299999];v[299999]=0;if((e|0)==1){break u}v[299999]=0;U(4546,f+24|0,f+16|0,345893);e=v[299999];v[299999]=0;A:{B:{C:{D:{E:{F:{G:{H:{I:{if((e|0)!=1){v[299999]=0;h=Q(4545,f+8|0,c|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break I}v[299999]=0;U(4547,f+48|0,f+24|0,h|0);e=v[299999];v[299999]=0;if((e|0)==1){break H}v[299999]=0;U(4723,f+32|0,l|0,f+48|0);e=v[299999];v[299999]=0;if((e|0)==1){break G}v[299999]=0;Q(4344,f+40|0,f+32|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break F}e=v[f+32>>2];v[f+32>>2]=0;if(!e){break A}v[299999]=0;g=v[e+4>>2]-1|0;v[e+4>>2]=g;j=v[299999];v[299999]=0;if((j|0)!=1){if(g){break A}v[299999]=0;R(4338,e|0);e=v[299999];v[299999]=0;if((e|0)!=1){break A}}break a}b=P()|0;O()|0;break B}b=P()|0;O()|0;break C}b=P()|0;O()|0;break D}b=P()|0;O()|0;break E}b=P()|0;O()|0;ec(f+32|0)}ec(f+48|0)}ec(h)}ec(f+24|0)}ec(f+16|0);break c}ec(f+48|0);ec(h);ec(f+24|0);ec(f+16|0);h=v[f+40>>2];if(!h){break z}v[299999]=0;e=Q(4340,f+48|0,280961)|0;g=v[299999];v[299999]=0;if((g|0)==1){break d}g=v[v[h>>2]+8>>2];v[299999]=0;h=Q(g|0,h|0,e|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break e}ec(e);if(h){break y}}v[299999]=0;h=Q(4340,f+24|0,283512)|0;e=v[299999];v[299999]=0;if((e|0)==1){break f}v[299999]=0;e=Q(4545,f+48|0,c|0)|0;g=v[299999];v[299999]=0;J:{if((g|0)!=1){v[299999]=0;Q(4606,h|0,e|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break g}ec(e);v[299999]=0;Q(4644,h|0,224923)|0;e=v[299999];v[299999]=0;if((e|0)==1){break h}v[299999]=0;U(4690,f+48|0,b|0,h|0);e=v[299999];v[299999]=0;if((e|0)==1){break i}v[299999]=0;Q(4478,i|0,f+48|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break j}v[f+72>>2]=981312;v[f+48>>2]=981280;e=v[f+76>>2];if(e){g=v[e+4>>2]-1|0;v[e+4>>2]=g;if(!g){Ub[v[v[e>>2]+4>>2]](e)}v[f+76>>2]=0}v[f+64>>2]=981312;e=v[f+68>>2];if(e){g=v[e+4>>2]-1|0;v[e+4>>2]=g;if(!g){Ub[v[v[e>>2]+4>>2]](e)}v[f+68>>2]=0}ec(f+56|0);K:{L:{M:{N:{O:{P:{Q:{R:{S:{g=v[b+136>>2];T:{if(g){while(1){e=0;U:{V:{W:{j=v[g+8>>2];if(j){v[299999]=0;v[j+4>>2]=v[j+4>>2]+1;e=v[299999];v[299999]=0;if((e|0)==1){break W}e=v[g+8>>2]}v[299999]=0;v[f+48>>2]=e;j=Q(4461,e+24|0,i|0)|0;k=v[299999];v[299999]=0;if((k|0)==1){break V}if(!j){break U}c=a;g=v[e+60>>2];if(g){v[299999]=0;v[g+4>>2]=v[g+4>>2]+1;g=v[299999];v[299999]=0;if((g|0)==1){break V}g=v[e+60>>2]}else{g=0}v[c>>2]=g;v[299999]=0;c=v[e+4>>2]-1|0;v[e+4>>2]=c;g=v[299999];v[299999]=0;if((g|0)!=1){if(c){break T}v[299999]=0;R(4338,e|0);c=v[299999];v[299999]=0;if((c|0)!=1){break T}}break a}b=P()|0;O()|0;ec(h);break c}b=P()|0;O()|0;ec(f+48|0);ec(h);break c}X:{if(!e){break X}v[299999]=0;j=v[e+4>>2]-1|0;v[e+4>>2]=j;k=v[299999];v[299999]=0;if((k|0)==1){break a}if(j){break X}v[299999]=0;R(4338,e|0);e=v[299999];v[299999]=0;if((e|0)==1){break a}}g=v[g>>2];if(g){continue}break}}v[299999]=0;e=S(1,68)|0;g=v[299999];v[299999]=0;if((g|0)==1){break S}v[299999]=0;g=Q(4545,f+48|0,0)|0;j=v[299999];v[299999]=0;if((j|0)==1){break R}v[299999]=0;v[f+8>>2]=0;Q(4336,f+8|0,0)|0;k=v[299999];v[299999]=0;j=1;if((k|0)==1){break Q}v[299999]=0;c=aa(4724,e|0,1,g|0,c|0,i|0,f+8|0)|0;k=v[299999];v[299999]=0;if((k|0)==1){break P}j=0;v[299999]=0;v[f+16>>2]=0;Q(4336,f+16|0,c|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break P}c=v[f+8>>2];v[f+8>>2]=0;Y:{if(!c){break Y}v[299999]=0;e=v[c+4>>2]-1|0;v[c+4>>2]=e;j=v[299999];v[299999]=0;if((j|0)==1){break a}if(e){break Y}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}ec(g);v[299999]=0;c=S(1,12)|0;e=v[299999];v[299999]=0;if((e|0)==1){break O}v[c>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;e=c;g=v[f+16>>2];if(g){v[299999]=0;v[g+4>>2]=v[g+4>>2]+1;g=v[299999];v[299999]=0;if((g|0)==1){break O}g=v[f+16>>2]}else{g=0}v[e+8>>2]=g;v[299999]=0;Le(b+128|0,c);c=v[299999];v[299999]=0;if((c|0)==1){break O}v[f>>2]=0;v[299999]=0;Q(4336,f|0,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break N}c=w[b+88|0];e=v[b+84>>2];v[299999]=0;fa(4725,f+48|0,i|0,f|0,e|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break M}c=v[f>>2];v[f>>2]=0;Z:{if(!c){break Z}v[299999]=0;e=v[c+4>>2]-1|0;v[c+4>>2]=e;g=v[299999];v[299999]=0;if((g|0)==1){break a}if(e){break Z}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}v[299999]=0;Q(4344,v[f+16>>2]+60|0,f+48|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break L}c=v[f+48>>2];_:{if(!c){v[a>>2]=0;break _}v[299999]=0;v[c+4>>2]=v[c+4>>2]+1;c=v[299999];v[299999]=0;if((c|0)==1){break L}c=v[f+48>>2];v[a>>2]=c;v[f+48>>2]=0;if(!c){break _}v[299999]=0;e=v[c+4>>2]-1|0;v[c+4>>2]=e;g=v[299999];v[299999]=0;if((g|0)==1){break a}if(e){break _}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}c=v[f+16>>2];v[f+16>>2]=0;if(!c){break T}v[299999]=0;e=v[c+4>>2]-1|0;v[c+4>>2]=e;g=v[299999];v[299999]=0;if((g|0)==1){break a}if(e){break T}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}ec(h);c=1;break x}b=P()|0;O()|0;ec(h);break c}b=P()|0;O()|0;dc(e);ec(h);break c}b=P()|0;O()|0;ec(g);dc(e);ec(h);break c}b=P()|0;O()|0;ec(f+8|0);ec(g);if(!j){break J}dc(e);ec(h);break c}b=P()|0;O()|0;break K}b=P()|0;O()|0;break K}b=P()|0;O()|0;ec(f);break K}b=P()|0;O()|0;ec(f+48|0)}ec(f+16|0);ec(h);break c}b=P()|0;O()|0}ec(h);break c}v[299999]=0;c=Q(4342,f+48|0,v[f+40>>2]+72|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break w}v[299999]=0;Q(4478,i|0,c|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break v}v[c+24>>2]=981312;v[c>>2]=981280;e=v[c+28>>2];if(e){h=v[e+4>>2]-1|0;v[e+4>>2]=h;if(!h){Ub[v[v[e>>2]+4>>2]](e)}v[c+28>>2]=0}v[c+16>>2]=981312;e=v[c+20>>2];if(e){h=v[e+4>>2]-1|0;v[e+4>>2]=h;if(!h){Ub[v[v[e>>2]+4>>2]](e)}v[c+20>>2]=0}ec(c+8|0);c=0}e=v[f+40>>2];v[f+40>>2]=0;if(!e){break t}v[299999]=0;h=v[e+4>>2]-1|0;v[e+4>>2]=h;g=v[299999];v[299999]=0;if((g|0)!=1){if(h){break t}v[299999]=0;R(4338,e|0);e=v[299999];v[299999]=0;if((e|0)!=1){break t}}break a}b=P()|0;O()|0;break c}b=P()|0;O()|0;$c(c);break c}b=P()|0;O()|0;break c}if(c){break o}}c=v[v[b>>2]+84>>2];v[299999]=0;$(c|0,f+48|0,b|0,i|0,d|0);c=v[299999];v[299999]=0;$:{if((c|0)!=1){e=v[f+48>>2];if(e){v[299999]=0;U(4726,l|0,e|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break k}e=v[f+48>>2]}if(e){break $}v[a>>2]=0;break o}b=P()|0;O()|0;break b}v[299999]=0;v[e+4>>2]=v[e+4>>2]+1;b=v[299999];v[299999]=0;if((b|0)==1){break k}b=a;a=v[f+48>>2];v[b>>2]=a;v[f+48>>2]=0;if(!a){break o}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break m}if(b){break o}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break m}}v[i+24>>2]=981312;v[i>>2]=981280;a=v[i+28>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Ub[v[v[a>>2]+4>>2]](a)}v[i+28>>2]=0}v[i+16>>2]=981312;a=v[i+20>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Ub[v[v[a>>2]+4>>2]](a)}v[i+20>>2]=0}ec(i+8|0);Qb=f+128|0;return}b=P()|0;O()|0;break b}b=P()|0;O()|0;$c(f+48|0);break b}W(0)|0;O()|0;lc()}L()}b=P()|0;O()|0;ec(f+48|0);break b}b=P()|0;O()|0;$c(f+48|0);ec(h);break c}b=P()|0;O()|0;ec(h);break c}b=P()|0;O()|0;ec(h);break c}b=P()|0;O()|0;ec(e);ec(h);break c}b=P()|0;O()|0;break c}b=P()|0;O()|0;ec(e);break c}b=P()|0;O()|0}ec(f+40|0)}$c(i);T(b|0);L()}W(0)|0;O()|0;lc();L()}function $2(a,b){a=a|0;b=b|0;var 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,x=0,y=0,z=0,A=0,C=0,D=0,E=0;h=Qb-112|0;Qb=h;if(b){Sc(4311,0)}b=v[a+8>>2];a:{b:{if(b&7){break b}g=a;c:{d:{e:{a=v[a+64>>2];if((a|0)>=0&(a|0)<=v[g+60>>2]){break e}a=v[g+28>>2];v[g+28>>2]=a-1;f:{if((a|0)>=1){v[g+60>>2]=v[g+60>>2]+1;a=v[g+24>>2];v[g+24>>2]=a+1;a=w[a|0];break f}a=Hc(g,1);if((a|0)==-1){break b}b=v[g+8>>2]}if(b&7){break b}c=v[g+64>>2];if((c|0)>=0&(c|0)<=v[g+60>>2]){break e}b=g;c=v[b+28>>2];v[b+28>>2]=c-1;g:{if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;c=w[c|0];break g}c=Hc(b,1);if((c|0)==-1){break b}}if(pB(b,h+100|0)){break b}if(pB(b,h+96|0)){break b}r=v[h+96>>2];j=v[h+100>>2];k=c&255|a<<8&65280;if((nB(k)|0)==2){break d}if(pB(b,h)){break b}a=v[h>>2];c=a>>31;e=c^a+c;q=a>>>31|0;break c}v[g+8>>2]=b|4;break b}e=1;v[h>>2]=1;q=0}c=0;s=1;o=1;h:{i:{j:{k:{l:{m:{a=nB(k);if(a-1>>>0>=2){if(a){break m}o=3;s=0;f=1}a=h;while(1){v[a+20>>2]=r;v[a+16>>2]=j;v[a+8>>2]=1;v[a+12>>2]=1;v[a>>2]=0;v[a+4>>2]=0;p=mB(e);v[a+28>>2]=q;v[a+24>>2]=p;a=a+32|0;c=c+1|0;if((o|0)!=(c|0)){continue}break}p=Lq(o,h);if(!p){break b}a=0;d=v[p+24>>2];v[v[d>>2]+40>>2]=0;c=p;if(f){v[v[d+4>>2]+40>>2]=1;v[v[d+8>>2]+40>>2]=2;d=1025}else{d=769}v[c+28>>2]=d;f=_J(k);l=nB(k);k=mB(e);v[h+108>>2]=0;v[h+100>>2]=0;v[h+104>>2]=0;while(1){c=yj(1,j);v[(h+100|0)+(a<<2)>>2]=c;if(!c){break k}a=a+1|0;if((o|0)!=(a|0)){continue}break}e=1;if((r|0)<1){break h}c=b;d=c;if((l|0)!=2){break l}q=v[h+100>>2];l=(f|0)==1;break j}ia();L()}if((j|0)>=1){break i}b=0;while(1){e=0;a=0;while(1){if(cj(p,a,0,b,j,1,v[(h+100|0)+(a<<2)>>2])){break h}a=a+1|0;if((o|0)!=(a|0)){continue}break}e=1;b=b+1|0;if((r|0)!=(b|0)){continue}break}break h}e=0;break h}while(1){n:{if(!l){f=0;if((j|0)<=0){break n}o:while(1){e=0;a=ri(d);if((a|0)!=35){if((a|0)==-1){break h}if((a&-2)!=48){continue}v[v[v[q+28>>2]>>2]+(f<<2)>>2]=49-a;f=f+1|0;if((j|0)!=(f|0)){continue}break n}while(1)switch(ri(d)+1|0){case 0:break h;case 11:continue o;default:continue}}}e=0;a=0;if((j|0)<=0){break n}while(1){b=v[g+8>>2];if(b&7){break h}p:{q:{k=v[d+64>>2];if(!((k|0)>=0&(k|0)<=v[d+60>>2])){b=v[c+28>>2];v[c+28>>2]=b-1;r:{if((b|0)>=1){v[d+60>>2]=v[d+60>>2]+1;b=v[c+24>>2];v[c+24>>2]=b+1;f=w[b|0];break r}f=Hc(d,1);if((f|0)==-1){break h}}if((a|0)>=(j|0)){break p}k=v[v[q+28>>2]>>2];v[k+(a<<2)>>2]=(f>>>7^-1)&1;b=a+1|0;if((b|0)<(j|0)){break q}a=b;break p}v[g+8>>2]=b|4;break h}v[k+(b<<2)>>2]=(f>>>6^-1)&1;b=a+2|0;if((b|0)>=(j|0)){a=b;break p}v[k+(b<<2)>>2]=(f>>>5^-1)&1;b=a+3|0;if((b|0)>=(j|0)){a=b;break p}v[k+(b<<2)>>2]=(f>>>4^-1)&1;b=a+4|0;if((b|0)>=(j|0)){a=b;break p}v[k+(b<<2)>>2]=(f>>>3^-1)&1;b=a+5|0;if((b|0)>=(j|0)){a=b;break p}v[k+(b<<2)>>2]=(f>>>2^-1)&1;b=a+6|0;if((b|0)>=(j|0)){a=b;break p}v[k+(b<<2)>>2]=(f>>>1^-1)&1;b=a+7|0;if((b|0)>=(j|0)){a=b;break p}v[k+(b<<2)>>2]=(f^-1)&1;a=a+8|0}if((a|0)<(j|0)){continue}break}}e=0;a=0;while(1){if(cj(p,a,0,i,j,1,v[(h+100|0)+(a<<2)>>2])){break h}a=a+1|0;if((o|0)!=(a|0)){continue}break}e=1;i=i+1|0;if((r|0)!=(i|0)){continue}break}break h}D=1<>>3|0;a=k;x=((a&63)>>>0>=32?0:-1<>2];z=v[h+104>>2];A=v[h+100>>2];E=(f|0)==1;while(1){s:{if(!E){l=0;if(q){while(1){i=0;t:while(1){f=0;e=v[g+8>>2];u:{if(e&7){break u}v:{w:{while(1){a=v[d+64>>2];if(!((a|0)<0|(a|0)>v[d+60>>2])){v[g+8>>2]=e|4;break u}a=v[c+28>>2];v[c+28>>2]=a-1;x:{y:{if((a|0)>=1){v[d+60>>2]=v[d+60>>2]+1;a=v[c+24>>2];v[c+24>>2]=a+1;a=w[a|0];break y}a=Hc(d,1)}if((a|0)!=35){if((a|0)==-1){break u}if((a|0)==32|a-9>>>0<5){continue t}e=1;switch(a-43|0){case 0:break w;case 2:break x;default:break v}}while(1){a=v[g+8>>2];if(a&7){break u}e=v[d+64>>2];if(!((e|0)<0|(e|0)>v[d+60>>2])){v[g+8>>2]=a|4;break u}a=v[c+28>>2];v[c+28>>2]=a-1;z:{A:{if((a|0)>=1){v[d+60>>2]=v[d+60>>2]+1;a=v[c+24>>2];v[c+24>>2]=a+1;a=w[a|0];break A}a=Hc(d,1)}switch(a+1|0){case 0:break u;case 11:case 14:break z;default:continue}}break}e=v[g+8>>2];if(!(e&7)){continue}break u}break}a=ri(d);if((a|0)==-1){break u}e=0;break v}a=ri(d);if((a|0)==-1){break u}}n=0;B:while(1){C=a-48|0;if(C>>>0>=10){if(!((a|0)==32|a-9>>>0<5)){break u}f=e?n:0-n|0;break u}m=v[g+8>>2];if(m&7){break u}n=B(n,10)+C|0;while(1){a=v[d+64>>2];if(!((a|0)<0|(a|0)>v[d+60>>2])){v[g+8>>2]=m|4;break u}a=v[c+28>>2];v[c+28>>2]=a-1;C:{if((a|0)>=1){v[d+60>>2]=v[d+60>>2]+1;a=v[c+24>>2];v[c+24>>2]=a+1;a=w[a|0];break C}a=Hc(d,1)}if((a|0)!=35){if((a|0)==-1){break u}if((a|0)>-1){continue B}break u}while(1){a=v[g+8>>2];if(a&7){break u}m=v[d+64>>2];if(!((m|0)<0|(m|0)>v[d+60>>2])){v[g+8>>2]=a|4;break u}a=v[c+28>>2];v[c+28>>2]=a-1;D:{E:{if((a|0)>=1){v[d+60>>2]=v[d+60>>2]+1;a=v[c+24>>2];v[c+24>>2]=a+1;a=w[a|0];break E}a=Hc(d,1)}switch(a+1|0){case 0:break u;case 11:case 14:break D;default:continue}}break}m=v[g+8>>2];if(!(m&7)){continue}break}break}}v[v[v[v[(h+100|0)+(i<<2)>>2]+28>>2]>>2]+(l<<2)>>2]=f;i=i+1|0;if((o|0)!=(i|0)){continue}break}l=l+1|0;if((j|0)!=(l|0)){continue}break s}}while(1){i=0;F:while(1){e=v[g+8>>2];G:{H:{if(e&7){break H}while(1){I:{a=v[d+64>>2];if((a|0)>=0&(a|0)<=v[d+60>>2]){break I}a=v[c+28>>2];v[c+28>>2]=a-1;J:{if((a|0)>=1){v[d+60>>2]=v[d+60>>2]+1;a=v[c+24>>2];v[c+24>>2]=a+1;a=w[a|0];break J}a=Hc(d,1)}if((a|0)!=35){if((a|0)==-1){break H}if((a|0)==32|a-9>>>0<5){continue F}f=0;K:while(1){n=a-48|0;if(n>>>0>=10){if(!((a|0)==32|a-9>>>0<5)){break H}break G}e=v[g+8>>2];if(e&7){break H}f=n+B(f,10)|0;while(1){a=v[d+64>>2];if((a|0)>=0&(a|0)<=v[d+60>>2]){break I}a=v[c+28>>2];v[c+28>>2]=a-1;L:{if((a|0)>=1){v[d+60>>2]=v[d+60>>2]+1;a=v[c+24>>2];v[c+24>>2]=a+1;a=w[a|0];break L}a=Hc(d,1)}if((a|0)!=35){if((a|0)==-1){break H}if((a|0)>-1){continue K}break H}while(1){e=v[g+8>>2];if(e&7){break H}a=v[d+64>>2];if((a|0)>=0&(a|0)<=v[d+60>>2]){break I}a=v[c+28>>2];v[c+28>>2]=a-1;M:{N:{if((a|0)>=1){v[d+60>>2]=v[d+60>>2]+1;a=v[c+24>>2];v[c+24>>2]=a+1;a=w[a|0];break N}a=Hc(d,1)}switch(a+1|0){case 0:break H;case 11:case 14:break M;default:continue}}break}e=v[g+8>>2];if(!(e&7)){continue}break}break}break H}while(1){e=v[g+8>>2];if(e&7){break H}a=v[d+64>>2];if((a|0)>=0&(a|0)<=v[d+60>>2]){break I}a=v[c+28>>2];v[c+28>>2]=a-1;O:{P:{if((a|0)>=1){v[d+60>>2]=v[d+60>>2]+1;a=v[c+24>>2];v[c+24>>2]=a+1;a=w[a|0];break P}a=Hc(d,1)}switch(a+1|0){case 11:case 14:break O;case 0:break H;default:continue}}break}e=v[g+8>>2];if(!(e&7)){continue}break H}break}v[g+8>>2]=e|4}f=0}v[v[v[v[(h+100|0)+(i<<2)>>2]+28>>2]>>2]+(l<<2)>>2]=f;i=i+1|0;if((o|0)!=(i|0)){continue}break}l=l+1|0;if((j|0)!=(l|0)){continue}break}break s}Q:{R:{if(q){m=0;if((k|0)>0){break R}f=v[v[A+28>>2]>>2];a=0;break Q}m=0;if((k|0)<=0){f=v[v[A+28>>2]>>2];a=0;while(1){e=a<<2;v[e+f>>2]=0;if(!s){v[e+v[v[z+28>>2]>>2]>>2]=0;v[e+v[v[y+28>>2]>>2]>>2]=0}a=a+1|0;if((j|0)!=(a|0)){continue}break}break s}while(1){l=0;while(1){n=0;a=b;e=0;S:{while(1){f=v[g+8>>2];if(f&7){break S}i=v[d+64>>2];if(!((i|0)<0|(i|0)>v[d+60>>2])){v[g+8>>2]=f|4;break S}f=v[c+28>>2];v[c+28>>2]=f-1;T:{if((f|0)>=1){v[d+60>>2]=v[d+60>>2]+1;f=v[c+24>>2];v[c+24>>2]=f+1;i=w[f|0];break T}i=Hc(d,1);if((i|0)==-1){break S}}e=e<<8|i;f=(a|0)>1;a=a-1|0;if(f){continue}break}n=e&x}v[v[v[v[(h+100|0)+(l<<2)>>2]+28>>2]>>2]+(m<<2)>>2]=n;l=l+1|0;if((o|0)!=(l|0)){continue}break}m=m+1|0;if((m|0)!=(j|0)){continue}break}break s}while(1){l=0;while(1){n=0;a=b;e=0;U:{while(1){f=v[g+8>>2];if(f&7){break U}i=v[d+64>>2];if(!((i|0)<0|(i|0)>v[d+60>>2])){v[g+8>>2]=f|4;break U}f=v[c+28>>2];v[c+28>>2]=f-1;V:{if((f|0)>=1){v[d+60>>2]=v[d+60>>2]+1;f=v[c+24>>2];v[c+24>>2]=f+1;i=w[f|0];break V}i=Hc(d,1);if((i|0)==-1){break U}}e=e<<8|i;f=(a|0)>1;a=a-1|0;if(f){continue}break}n=e&x;if(!(D&n)){break U}X(8092,10893,397,188498);L()}v[v[v[v[(h+100|0)+(l<<2)>>2]+28>>2]>>2]+(m<<2)>>2]=n;l=l+1|0;if((o|0)!=(l|0)){continue}break}m=m+1|0;if((m|0)!=(j|0)){continue}break}break s}while(1){e=a<<2;v[e+f>>2]=0;if(!s){v[e+v[v[z+28>>2]>>2]>>2]=0;v[e+v[v[y+28>>2]>>2]>>2]=0}a=a+1|0;if((j|0)!=(a|0)){continue}break}}e=0;a=0;while(1){if(cj(p,a,0,t,j,1,v[(h+100|0)+(a<<2)>>2])){break h}a=a+1|0;if((o|0)!=(a|0)){continue}break}e=1;t=t+1|0;if((t|0)!=(r|0)){continue}break}}while(1){a=v[(h+100|0)+(u<<2)>>2];if(a){$e(a)}u=u+1|0;if((u|0)<(o|0)){continue}break}if(e){break a}Wg(p)}p=0}Qb=h+112|0;return p|0}function HLa(a,b){a=a|0;b=b|0;var 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=v[a+4>>2];if(!k){v[b>>2]=1;return}h=v[k+8>>2];e=v[a+16>>2];f=v[b>>2];j=v[a+8>>2];l=v[a+12>>2];a:{b:{if((f|0)>0|j>>>0>=l>>>0){break b}n=v[a+20>>2];while(1){c:{d:{e:{if(e>>>0>>0){i=x[h>>1];c=j;f:{g:{h:{i:{while(1){j:{j=c+1|0;c=w[c|0];d=i&65535;if((d|0)!=239){if((d|0)==217){break g}if((d|0)!=240){break f}if((-18-c&255)>>>0>=78){break h}switch(c-184|0){case 0:case 7:break j;default:break i}}d=h;k:{l:{if((75-c&255)>>>0>=10){if((c|0)!=64){if((c-33&255)>>>0<31){break k}v[b>>2]=12;u[h>>1]=65534;break e}u[h+8>>1]=x[h+4>>1];c=v[h+20>>2];break l}c=(c&15)<<2;u[h+8>>1]=x[c+862992>>1]<<7;c=x[c+862994>>1]}v[d+16>>2]=c}i=65534;u[h>>1]=65534;f=v[b>>2];if((f|0)>0){break b}c=j;if(l>>>0>c>>>0){continue}break b}break}f=(c|0)==191?2416:2386;if(!(v[h+16>>2]&w[(f&114)+863616|0])){break i}u[h>>1]=65534;c=v[h+44>>2];if(c){m:{if(y[a+20>>2]>e>>>0){u[e>>1]=c;e=e+2|0;c=v[a+24>>2];if(!c){break m}v[a+24>>2]=c+4;v[c>>2]=(v[a+8>>2]^-1)+j;break m}d=v[a+4>>2];g=t[d+65|0];t[d+65|0]=g+1;u[(d+(g<<1)|0)+116>>1]=c;v[b>>2]=15}v[h+44>>2]=0}c=f+x[h+8>>1]|0;if(y[a+20>>2]>e>>>0){u[e>>1]=c;e=e+2|0;c=v[a+24>>2];if(!c){break c}v[a+24>>2]=c+4;v[c>>2]=(j-v[a+8>>2]|0)-2;break c}d=v[a+4>>2];g=t[d+65|0];t[d+65|0]=g+1;u[(d+(g<<1)|0)+116>>1]=c;break d}v[b>>2]=10;break e}u[h>>1]=65534;v[b>>2]=12;break e}d=v[h+44>>2];if(d){n:{if(y[a+20>>2]>e>>>0){u[e>>1]=d;e=e+2|0;d=v[a+24>>2];if(!d){break n}v[a+24>>2]=d+4;v[d>>2]=(v[a+8>>2]^-1)+j;break n}g=v[a+4>>2];f=t[g+65|0];t[g+65|0]=f+1;u[(g+(f<<1)|0)+116>>1]=d;v[b>>2]=15}v[h+44>>2]=0}d=(c|0)==232?32:8205;o:{if(y[a+20>>2]>e>>>0){u[e>>1]=d;e=e+2|0;d=v[a+24>>2];if(!d){break o}v[a+24>>2]=d+4;v[d>>2]=(j-v[a+8>>2]|0)-2;break o}g=v[a+4>>2];f=t[g+65|0];t[g+65|0]=f+1;u[(g+(f<<1)|0)+116>>1]=d;v[b>>2]=15}i=65534;u[h>>1]=65534}g=h;p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{switch(c-217|0){default:switch(c-10|0){case 0:case 3:break y;default:break v};case 0:case 22:case 23:u[h>>1]=c;c=v[k+44>>2];if((c|0)==65535){break c}d=v[h+44>>2];if(d){A:{if(y[a+20>>2]>e>>>0){u[e>>1]=d;e=e+2|0;c=v[a+24>>2];if(!c){break A}v[a+24>>2]=c+4;v[c>>2]=(v[a+8>>2]^-1)+j;break A}c=v[a+4>>2];g=t[c+65|0];t[c+65|0]=g+1;u[(c+(g<<1)|0)+116>>1]=d;v[b>>2]=15}v[h+44>>2]=0;c=v[k+44>>2]}if(!((c|0)<161|c-2404>>>0<2|c-8204>>>0<2)){c=x[h+8>>1]+c|0}B:{if(y[a+20>>2]>e>>>0){u[e>>1]=c;e=e+2|0;c=v[a+24>>2];if(!c){break B}v[a+24>>2]=c+4;v[c>>2]=(j-v[a+8>>2]|0)-2;v[k+44>>2]=65535;break c}d=v[a+4>>2];g=t[d+65|0];t[d+65|0]=g+1;u[(d+(g<<1)|0)+116>>1]=c;v[b>>2]=15}v[k+44>>2]=65535;break c;case 17:f=2405;if((i&65535)==234){break q}f=w[h+16|0]&128?2404:65535;d=234;break s;case 1:case 2:case 3:case 4:case 5:case 6:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 18:case 19:case 20:case 21:break v;case 16:break w;case 7:break x;case 15:break z}}if((i&65535)==232){f=8204;d=65534;break s}f=w[h+16|0]?2381:65535;d=232;break s}t[h+25|0]=1;f=x[(c<<1)+863040>>1];break t}d=v[h+16>>2];if((i&255)==164){f=2308;if(d&128){break q}}f=d&135?2374:65535;d=224;break s}d=i&65535;if((d|0)==232){f=8205;d=65534;break s}C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{m=x[h+8>>1]!=256;if(!(!m&(d|0)==192)){f=1;switch((i&255)-161|0){case 5:break D;case 59:break E;case 58:break F;case 6:break G;case 9:break H;case 40:break I;case 31:break J;case 30:break K;case 25:break L;case 20:break M;case 19:break N;case 18:break O;case 0:break P;case 62:break Q;case 73:break R;default:break C}}c=v[h+44>>2];if(c){S:{if(y[a+20>>2]>e>>>0){u[e>>1]=c;e=e+2|0;c=v[a+24>>2];if(!c){break S}v[a+24>>2]=c+4;v[c>>2]=(v[a+8>>2]^-1)+j;break S}d=v[a+4>>2];g=t[d+65|0];t[d+65|0]=g+1;u[(d+(g<<1)|0)+116>>1]=c;v[b>>2]=15}v[h+44>>2]=0}g=v[a+20>>2];T:{U:{if(g>>>0>e>>>0){u[e>>1]=2652;c=v[a+24>>2];V:{if(!c){f=0;break V}f=c+4|0;v[a+24>>2]=f;v[c>>2]=(j-v[a+8>>2]|0)-2}c=e+2|0;if(v[b>>2]>0){e=c;break U}W:{if(c>>>0>>0){u[e+2>>1]=2637;X:{if(!f){i=0;break X}i=f+4|0;v[a+24>>2]=i;v[f>>2]=(j-v[a+8>>2]|0)-2}d=e+4|0;c=d;if(v[b>>2]>0){break W}if(d>>>0>>0){u[e+4>>1]=2617;e=e+6|0;if(!i){break T}v[a+24>>2]=i+4;v[i>>2]=(j-v[a+8>>2]|0)-2;break T}e=v[a+4>>2];c=t[e+65|0];t[e+65|0]=c+1;u[(e+(c<<1)|0)+116>>1]=2617;v[b>>2]=15;e=d;break T}e=v[a+4>>2];d=t[e+65|0];t[e+65|0]=d+1;u[(e+(d<<1)|0)+116>>1]=2637;v[b>>2]=15}e=c;c=v[a+4>>2];d=t[c+65|0];t[c+65|0]=d+1;u[(c+(d<<1)|0)+116>>1]=2617;break T}c=v[a+4>>2];d=t[c+65|0];t[c+65|0]=d+1;u[(c+(d<<1)|0)+116>>1]=2652;v[b>>2]=15}c=v[a+4>>2];d=c+116|0;g=t[c+65|0];u[d+(g<<1)>>1]=2637;t[c+65|0]=g+2;u[d+((g<<24)+16777216>>24<<1)>>1]=2617}v[k+44>>2]=65535;u[h>>1]=65534;break c}f=2;break D}f=3;break D}f=4;break D}f=5;break D}f=6;break D}f=7;break D}f=8;break D}f=9;break D}f=10;break D}f=11;break D}f=12;break D}f=13;break D}f=14;break D}f=15}f=x[(f<<2)+863554>>1];if(!(v[h+16>>2]&w[(f&255)+863616|0])){break C}u[h>>1]=65534;v[k+44>>2]=65535;if(m){break r}c=v[h+44>>2];if(c){Y:{if(y[a+20>>2]>e>>>0){u[e>>1]=c;e=e+2|0;c=v[a+24>>2];if(!c){break Y}v[a+24>>2]=c+4;v[c>>2]=(v[a+8>>2]^-1)+j;break Y}d=v[a+4>>2];g=t[d+65|0];t[d+65|0]=g+1;u[(d+(g<<1)|0)+116>>1]=c;v[b>>2]=15}v[h+44>>2]=0}f=f-2404>>>0<2|f-8204>>>0<2?f:x[h+8>>1]+f|0;if(y[a+20>>2]>e>>>0){u[e>>1]=f;e=e+2|0;c=v[a+24>>2];if(!c){break c}v[a+24>>2]=c+4;v[c>>2]=(j-v[a+8>>2]|0)-2;break c}c=v[a+4>>2];d=t[c+65|0];t[c+65|0]=d+1;u[(c+(d<<1)|0)+116>>1]=f;break d}f=x[(c<<1)+863040>>1];break u}f=x[(c<<1)+863040>>1];if(c>>>0<161){break t}}if(v[h+16>>2]&w[(f&127)+863616|0]){break t}f=x[h+8>>1]!=768?65535:(c|0)!=208?65535:2353}d=c}u[g>>1]=d;g=v[k+44>>2];if((g|0)==65535){break r}d=v[h+44>>2];Z:{_:{$:{i=x[h+8>>1];if((i|0)!=256){break $}if(!d){i=256;break Z}m=d-2560|0;if(m>>>0>79){break $}if(!(t[m+863744|0]&1)|(g|0)!=2381|(d|0)!=(f+256|0)){break _}d=(j-v[a+8>>2]|0)-3|0;c=v[a+20>>2];aa:{if(e>>>0>>0){u[e>>1]=2673;e=e+2|0;g=v[a+24>>2];if(!g){break aa}v[a+24>>2]=g+4;v[g>>2]=d;break aa}c=v[a+4>>2];g=t[c+65|0];t[c+65|0]=g+1;u[(c+(g<<1)|0)+116>>1]=2673;v[b>>2]=15;c=v[a+20>>2]}g=v[h+44>>2];ba:{if(c>>>0>e>>>0){u[e>>1]=g;e=e+2|0;c=v[a+24>>2];if(!c){break ba}v[a+24>>2]=c+4;v[c>>2]=d;break ba}c=v[a+4>>2];d=t[c+65|0];t[c+65|0]=d+1;u[(c+(d<<1)|0)+116>>1]=g;v[b>>2]=15}v[h+44>>2]=0;v[k+44>>2]=65535;break c}if(!d){break Z}}ca:{if(y[a+20>>2]>e>>>0){u[e>>1]=d;e=e+2|0;d=v[a+24>>2];if(!d){break ca}v[a+24>>2]=d+4;v[d>>2]=(v[a+8>>2]^-1)+j;break ca}g=v[a+4>>2];i=t[g+65|0];t[g+65|0]=i+1;u[(g+(i<<1)|0)+116>>1]=d;v[b>>2]=15}v[h+44>>2]=0;i=x[h+8>>1]}da:{ea:{d=i&65535;g=(d|0)!=256;if(!(g|(f|0)!=2306)){f=2306;i=v[k+44>>2];g=i-2304|0;if(g>>>0>79|w[g+863744|0]<2){break ea}if(!((i|0)<161|i-2404>>>0<2|i-8204>>>0<2)){i=i+256|0;v[k+44>>2]=i}if(y[a+20>>2]>e>>>0){u[e>>1]=i;e=e+2|0;f=2416;d=v[a+24>>2];if(!d){break da}v[a+24>>2]=d+4;v[d>>2]=(j-v[a+8>>2]|0)-2;break da}d=v[a+4>>2];g=t[d+65|0];t[d+65|0]=g+1;u[(d+(g<<1)|0)+116>>1]=i;v[b>>2]=15;f=2416;break da}i=v[k+44>>2];if((f|0)!=2381|g){break ea}f=2381;g=i-2304|0;if(g>>>0>79|!(t[g+863744|0]&1)){break ea}v[h+44>>2]=i+256;break da}if(!((i|0)<161|i-2404>>>0<2|i-8204>>>0<2)){i=d+i|0;v[k+44>>2]=i}if(y[a+20>>2]>e>>>0){u[e>>1]=i;e=e+2|0;d=v[a+24>>2];if(!d){break da}v[a+24>>2]=d+4;v[d>>2]=(j-v[a+8>>2]|0)-2;break da}d=v[a+4>>2];g=t[d+65|0];t[d+65|0]=g+1;u[(d+(g<<1)|0)+116>>1]=i;v[b>>2]=15}v[k+44>>2]=65535}if((f|0)!=65535){break p}v[b>>2]=10;break e}u[h>>1]=65534}v[k+44>>2]=f;if(w[h+25|0]!=1){break c}t[h+25|0]=0;u[h+8>>1]=x[h+4>>1];v[h+16>>2]=v[h+20>>2];break c}v[b>>2]=15;l=j;break a}t[v[a+4>>2]+37|0]=c;t[v[a+4>>2]+36|0]=1;f=v[b>>2];break b}v[b>>2]=15}f=v[b>>2];if((f|0)>0){break b}if(j>>>0>>0){continue}break}}if((f|0)>0){l=j;break a}if(!w[a+2|0]){l=j;break a}if((j|0)!=(l|0)){l=j;break a}j=v[a+4>>2];c=x[h>>1];d=c-217|0;fa:{if(!(d>>>0>23|!(1<>1]=65534;break fa}t[j+36|0]=0}c=v[k+44>>2];if((c|0)==65535){break a}if(!((c|0)<161|c-2404>>>0<2|c-8204>>>0<2)){c=x[h+8>>1]+c|0;v[k+44>>2]=c}ga:{if(y[a+20>>2]>e>>>0){u[e>>1]=c;e=e+2|0;b=v[a+24>>2];if(!b){break ga}v[a+24>>2]=b+4;v[b>>2]=(v[a+8>>2]^-1)+l;break ga}j=v[a+4>>2];h=t[j+65|0];t[j+65|0]=h+1;u[(j+(h<<1)|0)+116>>1]=c;v[b>>2]=15}v[k+44>>2]=65535}v[a+8>>2]=l;v[a+16>>2]=e}function Kg(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;p=Qb-16|0;Qb=p;v[p>>2]=13;j=v[a+48>>2];if((j|0)==2){k=a+16|0;hc(k);j=a+32|0;hc(j);Ui(v[a+4>>2],k);Ui(v[a+4>>2],j);v[a+48>>2]=0;j=0}a:{b:{c:{if(!(!c&(i|0)<500)){c=v[a+16>>2];break c}c=v[a+16>>2];if((c|0)!=10){break c}k=a+16|0;c=v[a+24>>2];if(!mc(c,308937)){c=a;d:{if((j|0)>=1){j=((j|0)==1)<<1}else{if(v[a+32>>2]!=10){break d}if(mc(v[a+40>>2],321617)){break d}ii(v[a+4>>2]);j=1}v[c+48>>2]=j}hc(k);c=v[a+44>>2];v[k+8>>2]=v[a+40>>2];v[k+12>>2]=c;c=v[a+36>>2];v[k>>2]=v[a+32>>2];v[k+4>>2]=c;j=a+32|0;e:{if(v[a+48>>2]>=1){v[j>>2]=5;break e}Ui(v[a+4>>2],j)}Hr(b,v[a>>2]);c=i+1|0;f:{while(1){g:{switch(v[k>>2]-10|0){case 0:if(!mc(v[a+24>>2],308909)){break f}default:i=Kg(a,p,0,d,e,f,g,h,c);Cg(v[b+8>>2],i);continue;case 2:break g}}break}c=v[a+4>>2];if(v[c+8>>2]!=13){c=v[c+16>>2];c=Ub[v[v[c>>2]+52>>2]](c)|0}else{c=-1}kc(1,c,220066,0)}c=a;d=v[a+48>>2];h:{i:{if((d|0)>=1){d=((d|0)==1)<<1;break i}if(v[a+32>>2]!=10){break h}if(mc(v[a+40>>2],321617)){break h}ii(v[a+4>>2]);d=1}v[c+48>>2]=d}hc(k);c=v[j+12>>2];v[k+8>>2]=v[j+8>>2];v[k+12>>2]=c;c=v[j+4>>2];v[k>>2]=v[j>>2];v[k+4>>2]=c;if(v[a+48>>2]>=1){v[j>>2]=5;break a}Ui(v[a+4>>2],j);break a}if(mc(c,322755)){i=a+16|0;break b}c=a;j:{if((j|0)>=1){j=((j|0)==1)<<1}else{if(v[a+32>>2]!=10){break j}if(mc(v[a+40>>2],321617)){break j}ii(v[a+4>>2]);j=1}v[c+48>>2]=j}hc(k);c=v[a+44>>2];v[k+8>>2]=v[a+40>>2];v[k+12>>2]=c;c=v[a+36>>2];v[k>>2]=v[a+32>>2];v[k+4>>2]=c;j=a+32|0;k:{if(v[a+48>>2]>=1){v[j>>2]=5;break k}Ui(v[a+4>>2],j)}Gf(b,v[a>>2]);n=i+1|0;l:{m:{while(1){n:{switch(v[k>>2]-4|0){case 6:if(!mc(v[a+24>>2],322669)){break l}default:c=v[a+4>>2];if(v[c+8>>2]!=13){c=v[c+16>>2];c=Ub[v[v[c>>2]+52>>2]](c)|0}else{c=-1}kc(1,c,233890,0);c=a;i=v[a+48>>2];o:{p:{if((i|0)>=1){i=((i|0)==1)<<1;break p}if(v[a+32>>2]!=10){break o}if(mc(v[a+40>>2],321617)){break o}ii(v[a+4>>2]);i=1}v[c+48>>2]=i}hc(k);c=v[j+12>>2];v[k+8>>2]=v[j+8>>2];v[k+12>>2]=c;c=v[j+4>>2];v[k>>2]=v[j>>2];v[k+4>>2]=c;if(v[a+48>>2]>=1){v[j>>2]=5;continue}Ui(v[a+4>>2],j);continue;case 8:break m;case 0:break n}}i=ud(v[a+24>>2]);c=a;l=v[a+48>>2];q:{r:{if((l|0)>=1){l=((l|0)==1)<<1;break r}if(v[a+32>>2]!=10){break q}if(mc(v[a+40>>2],321617)){break q}ii(v[a+4>>2]);l=1}v[c+48>>2]=l}hc(k);c=v[j+12>>2];v[k+8>>2]=v[j+8>>2];v[k+12>>2]=c;c=v[j+4>>2];v[k>>2]=v[j>>2];v[k+4>>2]=c;s:{if(v[a+48>>2]>=1){v[j>>2]=5;break s}Ui(v[a+4>>2],j)}if(v[k>>2]-11>>>0>=2){c=Kg(a,p,0,d,e,f,g,h,n);fe(v[b+8>>2],i,c);continue}break}uc(i);if(v[k>>2]!=12){break l}}c=v[a+4>>2];if(v[c+8>>2]!=13){c=v[c+16>>2];c=Ub[v[v[c>>2]+52>>2]](c)|0}else{c=-1}kc(1,c,219398,0)}t:{i=v[a+32>>2];if(!v[a+8>>2]|(i|0)!=10){break t}if(mc(v[a+40>>2],258391)){break t}k=0;c=Qb-32|0;Qb=c;v[c+16>>2]=13;i=v[a+4>>2];u:{if(v[i+8>>2]==13){break u}j=i+8|0;while(1){v:{w:{x:{l=v[i+16>>2];switch((Ub[v[v[l>>2]+28>>2]](l)|0)+1|0){case 11:break u;case 14:break v;case 0:break w;default:break x}}if(v[j>>2]==13){break u}continue}l=v[i+16>>2];Ub[v[v[l>>2]+24>>2]](l);hc(j);l=v[i+4>>2]+1|0;v[i+4>>2]=l;m=v[i>>2];if((l|0)>2]){yc(m,l,j,0);l=v[i+16>>2];Ub[v[v[l>>2]+20>>2]](l)}if(v[j>>2]!=13){continue}break u}break}if(v[i+8>>2]==13){break u}l=v[i+16>>2];if((Ub[v[v[l>>2]+32>>2]](l)|0)!=10|v[i+8>>2]==13){break u}while(1){l=v[i+16>>2];if((Ub[v[v[l>>2]+28>>2]](l)|0)!=-1){break u}l=v[i+16>>2];Ub[v[v[l>>2]+24>>2]](l);hc(j);l=v[i+4>>2]+1|0;v[i+4>>2]=l;m=v[i>>2];if((l|0)>2]){yc(m,l,j,0);l=v[i+16>>2];Ub[v[v[l>>2]+20>>2]](l)}if(v[j>>2]!=13){continue}break}}y:{z:{i=v[a+4>>2];A:{if(v[i+8>>2]==13){break A}i=v[i+16>>2];if(!i){break A}o=Ub[v[v[i>>2]+52>>2]](i)|0;B:{C:{j=v[a>>2];if(!j){break C}l=0;q=v[j+76>>2];D:{if(!q){break D}m=-1;r=v[j+72>>2];i=q-1|0;j=v[r+(i<<2)>>2];if((o|0)>(j|0)){break D}l=c;if((q|0)>=2){while(1){j=(i+m|0)/2|0;q=(o|0)>v[r+(j<<2)>>2];i=q?i:j;m=q?j:m;if((i-m|0)>1){continue}break}j=v[r+(i<<2)>>2]}v[l+12>>2]=j;l=1}if(!l){break C}m=v[c+12>>2]-o|0;break B}rc(v[b+8>>2],268438,c+16|0,n);if(v[c+16>>2]==1){m=v[c+24>>2];hc(c+16|0);break B}a=v[a+4>>2];if(v[a+8>>2]!=13){a=v[a+16>>2];a=Ub[v[v[a>>2]+52>>2]](a)|0}else{a=-1}kc(1,a,257037,0);hc(c+16|0);break A}i=v[a+4>>2];if(v[i+8>>2]==13){break A}i=v[i+16>>2];if(!i){break A}i=Ub[v[v[i>>2]+68>>2]](i)|0;i=Ub[v[v[i>>2]+8>>2]](i)|0;k=Ub[v[v[i>>2]+92>>2]](i,o,1,m,b)|0;E:{F:{G:{j=v[a+4>>2];H:{if(v[j+8>>2]==13){break H}j=v[j+16>>2];Ub[v[v[j>>2]+56>>2]](j,m+o|0,0);j=v[a+4>>2];if(v[j+8>>2]==13){break H}j=v[j+16>>2];if(!j){break H}while(1){l=Ub[v[v[j>>2]+28>>2]](j)|0;if(w[l+937984|0]==1&l>>>0<=255){s=s+1|0;if((s|0)!=100){continue}}break}if((l|0)!=101){break H}if((Ub[v[v[j>>2]+40>>2]](j,c+4|0,8)|0)==8|(w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24))==1953719406&(w[c+8|0]|w[c+9|0]<<8|(w[c+10|0]<<16|w[c+11|0]<<24))==1835099506){break G}}a=v[a+4>>2];if(v[a+8>>2]!=13){a=v[a+16>>2];a=Ub[v[v[a>>2]+52>>2]](a)|0}else{a=-1}kc(1,a,345732,0);zf(b,c+16|0);if(k){Ub[v[v[k>>2]+4>>2]](k)}k=Ub[v[v[i>>2]+92>>2]](i,o,1,m+5e3|0,c+16|0)|0;break F}if(!i){break E}}Ub[v[v[i>>2]+4>>2]](i)}if(d){a=fc(384);v[299999]=0;k=ma(3371,a|0,k|0,d|0,e|0,f|0,g|0,h|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break z}}k=VR(k,b,n)}Qb=c+32|0;a=k;break y}b=P()|0;O()|0;dc(a);T(b|0);L()}if(a){v[b+8>>2]=a;v[b>>2]=8;break a}hc(b);v[b>>2]=11;break a}c=a;d=v[a+48>>2];I:{J:{if((d|0)>=1){d=((d|0)==1)<<1;break J}if((i|0)!=10){break I}if(mc(v[a+40>>2],321617)){break I}ii(v[a+4>>2]);d=1}v[c+48>>2]=d}hc(k);c=v[j+12>>2];v[k+8>>2]=v[j+8>>2];v[k+12>>2]=c;c=v[j+4>>2];v[k>>2]=v[j>>2];v[k+4>>2]=c;if(v[a+48>>2]>=1){v[j>>2]=5;break a}Ui(v[a+4>>2],j);break a}i=a+16|0;if((c|0)==1){e=v[a+24>>2];c=a;K:{if((j|0)>=1){d=((j|0)==1)<<1}else{if(v[a+32>>2]!=10){break K}if(mc(v[a+40>>2],321617)){break K}ii(v[a+4>>2]);d=1}v[c+48>>2]=d}hc(i);c=v[a+44>>2];v[i+8>>2]=v[a+40>>2];v[i+12>>2]=c;c=v[a+36>>2];v[i>>2]=v[a+32>>2];v[i+4>>2]=c;d=a+32|0;L:{if(v[a+48>>2]>=1){v[d>>2]=5;break L}Ui(v[a+4>>2],d)}M:{if(v[i>>2]!=1|v[d>>2]!=10){break M}if(mc(v[a+40>>2],311880)){break M}v[b+12>>2]=v[a+24>>2];v[b+8>>2]=e;v[b>>2]=9;c=a;e=v[a+48>>2];N:{O:{if((e|0)>=1){e=((e|0)==1)<<1;break O}if(v[a+32>>2]!=10){break N}if(mc(v[a+40>>2],321617)){break N}ii(v[a+4>>2]);e=1}v[c+48>>2]=e}hc(i);c=v[d+12>>2];v[i+8>>2]=v[d+8>>2];v[i+12>>2]=c;c=v[d+4>>2];v[i>>2]=v[d>>2];v[i+4>>2]=c;c=a;P:{Q:{R:{j=v[a+48>>2];S:{if((j|0)>=1){v[d>>2]=5;break S}Ui(v[a+4>>2],d);j=v[a+48>>2];if((j|0)<1){break R}}e=((j|0)==1)<<1;break Q}if(v[a+32>>2]!=10){break P}if(mc(v[a+40>>2],321617)){break P}ii(v[a+4>>2]);e=1}v[c+48>>2]=e}hc(i);c=v[d+12>>2];v[i+8>>2]=v[d+8>>2];v[i+12>>2]=c;c=v[d+4>>2];v[i>>2]=v[d>>2];v[i+4>>2]=c;if(v[a+48>>2]>=1){v[d>>2]=5;break a}Ui(v[a+4>>2],d);break a}v[b+8>>2]=e;v[b>>2]=1;break a}if(!d|(c|0)!=3){break b}c=v[a+24>>2];l=fc(8);v[299999]=0;o=S(3312,l|0)|0;k=v[299999];v[299999]=0;if((k|0)!=1){v[p>>2]=5;j=fc(384);v[299999]=0;m=S(1,48)|0;n=v[299999];v[299999]=0;k=a;T:{U:{V:{W:{X:{if((n|0)==1){break X}n=v[c>>2];c=v[c+4>>2];v[299999]=0;c=$n(m,c,0,n,p);n=v[299999];v[299999]=0;if((n|0)==1){break W}v[299999]=0;d=ma(3371,j|0,c|0,d|0,e|0,f|0,g|0,h|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break X}Ub[v[v[j>>2]+20>>2]](d);c=Ub[v[v[j>>2]+28>>2]](d)|0;if((c|0)!=-1){while(1){gd(o,c<<24>>24);c=Ub[v[v[j>>2]+28>>2]](d)|0;if((c|0)!=-1){continue}break}}Ub[v[v[j>>2]+4>>2]](d);v[b+8>>2]=l;v[b>>2]=3;c=v[a+48>>2];if((c|0)<1){break V}c=((c|0)==1)<<1;break U}a=P()|0;O()|0;dc(j);T(a|0);L()}a=P()|0;O()|0;dc(m);dc(j);T(a|0);L()}if(v[a+32>>2]!=10){break T}if(mc(v[a+40>>2],321617)){break T}ii(v[a+4>>2]);c=1}v[k+48>>2]=c}hc(i);c=v[a+44>>2];v[i+8>>2]=v[a+40>>2];v[i+12>>2]=c;c=v[a+36>>2];v[i>>2]=v[a+32>>2];v[i+4>>2]=c;c=a+32|0;if(v[a+48>>2]>=1){v[c>>2]=5;break a}Ui(v[a+4>>2],c);break a}a=P()|0;O()|0;dc(l);T(a|0);L()}zf(i,b);c=a;d=v[a+48>>2];Y:{Z:{if((d|0)>=1){d=((d|0)==1)<<1;break Z}if(v[a+32>>2]!=10){break Y}if(mc(v[a+40>>2],321617)){break Y}ii(v[a+4>>2]);d=1}v[c+48>>2]=d}hc(i);c=v[a+44>>2];v[i+8>>2]=v[a+40>>2];v[i+12>>2]=c;c=v[a+36>>2];v[i>>2]=v[a+32>>2];v[i+4>>2]=c;c=a+32|0;if(v[a+48>>2]>=1){v[c>>2]=5;break a}Ui(v[a+4>>2],c)}Qb=p+16|0;return b}function DMa(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;h=Qb-272|0;Qb=h;u[h+268>>1]=8224;v[h+264>>2]=538976288;d=Pg(104);v[a+8>>2]=d;a:{b:{if(d){v[h+32>>2]=v[213330];g=v[213329];v[h+24>>2]=v[213328];v[h+28>>2]=g;g=v[213327];v[h+16>>2]=v[213326];v[h+20>>2]=g;g=v[213325];v[h+8>>2]=v[213324];v[h+12>>2]=g;f=w[b+8|0];t[h+16|0]=f;d=ic(d,0,104);v[a+52>>2]=0;g=v[b+24>>2];if(!g){v[d+64>>2]=v[b+12>>2]&15;break b}g=w[Xc(h+264|0,g,6)|0];e=v[b+12>>2]&15;v[d+64>>2]=e;c:{d:{switch(g-106|0){case 0:g=w[h+265|0]-97|0;if(!(!g|(g|0)==15)){break b}g=w[h+266|0];if(g?(g|0)!=95:0){break b}if(e>>>0>=5){v[c>>2]=2;break a}e:{f:{if(e>>>0<=1){i=d,j=Af(310733,h+40|0,h+8|0,c),v[i+16>>2]=j;if(!e){break e}e=20;g=329856;break f}g=h+40|0;e=h+8|0;i=d,j=Af(323908,g,e,c),v[i+8>>2]=j;i=d,j=Af(310733,g,e,c),v[i+16>>2]=j;i=d,j=Af(329856,g,e,c),v[i+20>>2]=j;i=d,j=Af(323492,g,e,c),v[i+24>>2]=j;e=28;g=334250}i=d+e|0,j=Af(g,h+40|0,h+8|0,c),v[i>>2]=j}g=853336;v[a+24>>2]=853336;t[d+101|0]=w[306752];e=w[306750]|w[306751]<<8;t[d+99|0]=e;t[d+100|0]=e>>>8;e=w[322683]|w[322684]<<8|(w[322685]<<16|w[322686]<<24);f=w[322679]|w[322680]<<8|(w[322681]<<16|w[322682]<<24);t[d+69|0]=f;t[d+70|0]=f>>>8;t[d+71|0]=f>>>16;t[d+72|0]=f>>>24;t[d+73|0]=e;t[d+74|0]=e>>>8;t[d+75|0]=e>>>16;t[d+76|0]=e>>>24;e=w[322691]|w[322692]<<8|(w[322693]<<16|w[322694]<<24);f=w[322687]|w[322688]<<8|(w[322689]<<16|w[322690]<<24);t[d+77|0]=f;t[d+78|0]=f>>>8;t[d+79|0]=f>>>16;t[d+80|0]=f>>>24;t[d+81|0]=e;t[d+82|0]=e>>>8;t[d+83|0]=e>>>16;t[d+84|0]=e>>>24;e=w[322699]|w[322700]<<8|(w[322701]<<16|w[322702]<<24);f=w[322695]|w[322696]<<8|(w[322697]<<16|w[322698]<<24);t[d+85|0]=f;t[d+86|0]=f>>>8;t[d+87|0]=f>>>16;t[d+88|0]=f>>>24;t[d+89|0]=e;t[d+90|0]=e>>>8;t[d+91|0]=e>>>16;t[d+92|0]=e>>>24;e=w[322703]|w[322704]<<8|(w[322705]<<16|w[322706]<<24);t[d+93|0]=e;t[d+94|0]=e>>>8;t[d+95|0]=e>>>16;t[d+96|0]=e>>>24;e=w[d+64|0];d=d+69|0;d=Bc(d)+d|0;t[d+1|0]=0;t[d|0]=e+48;break c;case 1:g:{switch(w[h+265|0]-111|0){case 0:case 3:break g;default:break b}}g=w[h+266|0];if(g?(g|0)!=95:0){break b}if(e>>>0>=2){v[c>>2]=2;break a}g=324730;if((e|0)!=1){v[d+64>>2]=0;g=323079}if(f){yW(g,c);_e(v[a+8>>2]);v[a+8>>2]=0;break a}g=tz(g,c);v[d+40>>2]=g;if(v[c>>2]>=1){vG(a);break a}h:{if((e|0)==1){e=w[333727]|w[333728]<<8|(w[333729]<<16|w[333730]<<24);f=w[333723]|w[333724]<<8|(w[333725]<<16|w[333726]<<24);t[d+90|0]=f;t[d+91|0]=f>>>8;t[d+92|0]=f>>>16;t[d+93|0]=f>>>24;t[d+94|0]=e;t[d+95|0]=e>>>8;t[d+96|0]=e>>>16;t[d+97|0]=e>>>24;e=w[333722]|w[333723]<<8|(w[333724]<<16|w[333725]<<24);f=w[333718]|w[333719]<<8|(w[333720]<<16|w[333721]<<24);t[d+85|0]=f;t[d+86|0]=f>>>8;t[d+87|0]=f>>>16;t[d+88|0]=f>>>24;t[d+89|0]=e;t[d+90|0]=e>>>8;t[d+91|0]=e>>>16;t[d+92|0]=e>>>24;e=w[333714]|w[333715]<<8|(w[333716]<<16|w[333717]<<24);f=w[333710]|w[333711]<<8|(w[333712]<<16|w[333713]<<24);t[d+77|0]=f;t[d+78|0]=f>>>8;t[d+79|0]=f>>>16;t[d+80|0]=f>>>24;t[d+81|0]=e;t[d+82|0]=e>>>8;t[d+83|0]=e>>>16;t[d+84|0]=e>>>24;e=w[333706]|w[333707]<<8|(w[333708]<<16|w[333709]<<24);f=w[333702]|w[333703]<<8|(w[333704]<<16|w[333705]<<24);t[d+69|0]=f;t[d+70|0]=f>>>8;t[d+71|0]=f>>>16;t[d+72|0]=f>>>24;t[d+73|0]=e;t[d+74|0]=e>>>8;t[d+75|0]=e>>>16;t[d+76|0]=e>>>24;e=v[a+20>>2];g=v[g+20>>2];g=w[g|0]|w[g+1|0]<<8|(w[g+2|0]<<16|w[g+3|0]<<24);t[e|0]=g;t[e+1|0]=g>>>8;t[e+2|0]=g>>>16;t[e+3|0]=g>>>24;g=v[d+40>>2];t[a+61|0]=w[g+61|0];break h}e=w[334437]|w[334438]<<8|(w[334439]<<16|w[334440]<<24);f=w[334433]|w[334434]<<8|(w[334435]<<16|w[334436]<<24);t[d+90|0]=f;t[d+91|0]=f>>>8;t[d+92|0]=f>>>16;t[d+93|0]=f>>>24;t[d+94|0]=e;t[d+95|0]=e>>>8;t[d+96|0]=e>>>16;t[d+97|0]=e>>>24;e=w[334432]|w[334433]<<8|(w[334434]<<16|w[334435]<<24);f=w[334428]|w[334429]<<8|(w[334430]<<16|w[334431]<<24);t[d+85|0]=f;t[d+86|0]=f>>>8;t[d+87|0]=f>>>16;t[d+88|0]=f>>>24;t[d+89|0]=e;t[d+90|0]=e>>>8;t[d+91|0]=e>>>16;t[d+92|0]=e>>>24;e=w[334424]|w[334425]<<8|(w[334426]<<16|w[334427]<<24);f=w[334420]|w[334421]<<8|(w[334422]<<16|w[334423]<<24);t[d+77|0]=f;t[d+78|0]=f>>>8;t[d+79|0]=f>>>16;t[d+80|0]=f>>>24;t[d+81|0]=e;t[d+82|0]=e>>>8;t[d+83|0]=e>>>16;t[d+84|0]=e>>>24;e=w[334416]|w[334417]<<8|(w[334418]<<16|w[334419]<<24);f=w[334412]|w[334413]<<8|(w[334414]<<16|w[334415]<<24);t[d+69|0]=f;t[d+70|0]=f>>>8;t[d+71|0]=f>>>16;t[d+72|0]=f>>>24;t[d+73|0]=e;t[d+74|0]=e>>>8;t[d+75|0]=e>>>16;t[d+76|0]=e>>>24}e=v[d+64>>2];if((e|0)==1){v[g+44>>2]=0;v[g+48>>2]=0;t[g+36|0]=0}if(!w[a+63|0]){v[a+76>>2]=1126769691;t[a+63|0]=4}if((e|0)==1){v[g+52>>2]=1;v[g+56>>2]=0}g=853564;v[a+24>>2]=853564;t[d+101|0]=w[243949];e=w[243947]|w[243948]<<8;t[d+99|0]=e;t[d+100|0]=e>>>8;break c;default:break d}}f=w[h+265|0];if(!((g|0)==122&(f|0)==104)&((g|0)!=99|(f|0)!=110)){break b}g=w[h+266|0];if(g?(g|0)!=95:0){break b}if(e>>>0>=3){v[c>>2]=2;break a}i=d,j=Af(323492,h+40|0,h+8|0,c),v[i+4>>2]=j;if((e|0)==1){i=d,j=Af(325334,h+40|0,h+8|0,c),v[i+8>>2]=j}i=d,j=Af(329404,h+40|0,h+8|0,c),v[i+12>>2]=j;g=853792;v[a+24>>2]=853792;t[d+101|0]=w[249602];f=w[249600]|w[249601]<<8;t[d+99|0]=f;t[d+100|0]=f>>>8;if(!e){v[d+64>>2]=0;e=w[334445]|w[334446]<<8|(w[334447]<<16|w[334448]<<24);f=w[334441]|w[334442]<<8|(w[334443]<<16|w[334444]<<24);t[d+69|0]=f;t[d+70|0]=f>>>8;t[d+71|0]=f>>>16;t[d+72|0]=f>>>24;t[d+73|0]=e;t[d+74|0]=e>>>8;t[d+75|0]=e>>>16;t[d+76|0]=e>>>24;e=w[334453]|w[334454]<<8|(w[334455]<<16|w[334456]<<24);f=w[334449]|w[334450]<<8|(w[334451]<<16|w[334452]<<24);t[d+77|0]=f;t[d+78|0]=f>>>8;t[d+79|0]=f>>>16;t[d+80|0]=f>>>24;t[d+81|0]=e;t[d+82|0]=e>>>8;t[d+83|0]=e>>>16;t[d+84|0]=e>>>24;e=w[334461]|w[334462]<<8|(w[334463]<<16|w[334464]<<24);f=w[334457]|w[334458]<<8|(w[334459]<<16|w[334460]<<24);t[d+85|0]=f;t[d+86|0]=f>>>8;t[d+87|0]=f>>>16;t[d+88|0]=f>>>24;t[d+89|0]=e;t[d+90|0]=e>>>8;t[d+91|0]=e>>>16;t[d+92|0]=e>>>24;e=w[334466]|w[334467]<<8|(w[334468]<<16|w[334469]<<24);f=w[334462]|w[334463]<<8|(w[334464]<<16|w[334465]<<24);t[d+90|0]=f;t[d+91|0]=f>>>8;t[d+92|0]=f>>>16;t[d+93|0]=f>>>24;t[d+94|0]=e;t[d+95|0]=e>>>8;t[d+96|0]=e>>>16;t[d+97|0]=e>>>24;break c}i:{if((e|0)==1){v[d+64>>2]=1;e=w[333735]|w[333736]<<8|(w[333737]<<16|w[333738]<<24);f=w[333731]|w[333732]<<8|(w[333733]<<16|w[333734]<<24);t[d+69|0]=f;t[d+70|0]=f>>>8;t[d+71|0]=f>>>16;t[d+72|0]=f>>>24;t[d+73|0]=e;t[d+74|0]=e>>>8;t[d+75|0]=e>>>16;t[d+76|0]=e>>>24;e=w[333743]|w[333744]<<8|(w[333745]<<16|w[333746]<<24);f=w[333739]|w[333740]<<8|(w[333741]<<16|w[333742]<<24);t[d+77|0]=f;t[d+78|0]=f>>>8;t[d+79|0]=f>>>16;t[d+80|0]=f>>>24;t[d+81|0]=e;t[d+82|0]=e>>>8;t[d+83|0]=e>>>16;t[d+84|0]=e>>>24;e=w[333751]|w[333752]<<8|(w[333753]<<16|w[333754]<<24);f=w[333747]|w[333748]<<8|(w[333749]<<16|w[333750]<<24);t[d+85|0]=f;t[d+86|0]=f>>>8;t[d+87|0]=f>>>16;t[d+88|0]=f>>>24;t[d+89|0]=e;t[d+90|0]=e>>>8;t[d+91|0]=e>>>16;t[d+92|0]=e>>>24;e=w[333756]|w[333757]<<8|(w[333758]<<16|w[333759]<<24);f=w[333752]|w[333753]<<8|(w[333754]<<16|w[333755]<<24);t[d+90|0]=f;t[d+91|0]=f>>>8;t[d+92|0]=f>>>16;t[d+93|0]=f>>>24;t[d+94|0]=e;t[d+95|0]=e>>>8;t[d+96|0]=e>>>16;t[d+97|0]=e>>>24;break i}v[d+64>>2]=2;e=w[329358]|w[329359]<<8|(w[329360]<<16|w[329361]<<24);f=w[329354]|w[329355]<<8|(w[329356]<<16|w[329357]<<24);t[d+69|0]=f;t[d+70|0]=f>>>8;t[d+71|0]=f>>>16;t[d+72|0]=f>>>24;t[d+73|0]=e;t[d+74|0]=e>>>8;t[d+75|0]=e>>>16;t[d+76|0]=e>>>24;e=w[329366]|w[329367]<<8|(w[329368]<<16|w[329369]<<24);f=w[329362]|w[329363]<<8|(w[329364]<<16|w[329365]<<24);t[d+77|0]=f;t[d+78|0]=f>>>8;t[d+79|0]=f>>>16;t[d+80|0]=f>>>24;t[d+81|0]=e;t[d+82|0]=e>>>8;t[d+83|0]=e>>>16;t[d+84|0]=e>>>24;e=w[329374]|w[329375]<<8|(w[329376]<<16|w[329377]<<24);f=w[329370]|w[329371]<<8|(w[329372]<<16|w[329373]<<24);t[d+85|0]=f;t[d+86|0]=f>>>8;t[d+87|0]=f>>>16;t[d+88|0]=f>>>24;t[d+89|0]=e;t[d+90|0]=e>>>8;t[d+91|0]=e>>>16;t[d+92|0]=e>>>24;e=w[329379]|w[329380]<<8|(w[329381]<<16|w[329382]<<24);f=w[329375]|w[329376]<<8|(w[329377]<<16|w[329378]<<24);t[d+90|0]=f;t[d+91|0]=f>>>8;t[d+92|0]=f>>>16;t[d+93|0]=f>>>24;t[d+94|0]=e;t[d+95|0]=e>>>8;t[d+96|0]=e>>>16;t[d+97|0]=e>>>24}}t[a+60|0]=w[v[g+12>>2]+71|0];if(w[b+8|0]?0:v[c>>2]<=0){break a}vG(a);break a}v[c>>2]=7;break a}v[c>>2]=2}Qb=h+272|0}function iT(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;k=Qb-416|0;Qb=k;j=Fj(v[f>>2]+72|0);a:{if(g){l=v[g+4>>2];g=v[g>>2];if((g|0)<=31){gc(gc(j,l,g)+g|0,1094640,32-g|0);break a}m=w[l+4|0]|w[l+5|0]<<8|(w[l+6|0]<<16|w[l+7|0]<<24);g=w[l|0]|w[l+1|0]<<8|(w[l+2|0]<<16|w[l+3|0]<<24);t[j|0]=g;t[j+1|0]=g>>>8;t[j+2|0]=g>>>16;t[j+3|0]=g>>>24;t[j+4|0]=m;t[j+5|0]=m>>>8;t[j+6|0]=m>>>16;t[j+7|0]=m>>>24;m=w[l+28|0]|w[l+29|0]<<8|(w[l+30|0]<<16|w[l+31|0]<<24);g=w[l+24|0]|w[l+25|0]<<8|(w[l+26|0]<<16|w[l+27|0]<<24);t[j+24|0]=g;t[j+25|0]=g>>>8;t[j+26|0]=g>>>16;t[j+27|0]=g>>>24;t[j+28|0]=m;t[j+29|0]=m>>>8;t[j+30|0]=m>>>16;t[j+31|0]=m>>>24;m=w[l+20|0]|w[l+21|0]<<8|(w[l+22|0]<<16|w[l+23|0]<<24);g=w[l+16|0]|w[l+17|0]<<8|(w[l+18|0]<<16|w[l+19|0]<<24);t[j+16|0]=g;t[j+17|0]=g>>>8;t[j+18|0]=g>>>16;t[j+19|0]=g>>>24;t[j+20|0]=m;t[j+21|0]=m>>>8;t[j+22|0]=m>>>16;t[j+23|0]=m>>>24;m=w[l+12|0]|w[l+13|0]<<8|(w[l+14|0]<<16|w[l+15|0]<<24);g=w[l+8|0]|w[l+9|0]<<8|(w[l+10|0]<<16|w[l+11|0]<<24);t[j+8|0]=g;t[j+9|0]=g>>>8;t[j+10|0]=g>>>16;t[j+11|0]=g>>>24;t[j+12|0]=m;t[j+13|0]=m>>>8;t[j+14|0]=m>>>16;t[j+15|0]=m>>>24;break a}l=v[273667];g=v[273666];t[j+24|0]=g;t[j+25|0]=g>>>8;t[j+26|0]=g>>>16;t[j+27|0]=g>>>24;t[j+28|0]=l;t[j+29|0]=l>>>8;t[j+30|0]=l>>>16;t[j+31|0]=l>>>24;l=v[273665];g=v[273664];t[j+16|0]=g;t[j+17|0]=g>>>8;t[j+18|0]=g>>>16;t[j+19|0]=g>>>24;t[j+20|0]=l;t[j+21|0]=l>>>8;t[j+22|0]=l>>>16;t[j+23|0]=l>>>24;l=v[273663];g=v[273662];t[j+8|0]=g;t[j+9|0]=g>>>8;t[j+10|0]=g>>>16;t[j+11|0]=g>>>24;t[j+12|0]=l;t[j+13|0]=l>>>8;t[j+14|0]=l>>>16;t[j+15|0]=l>>>24;l=v[273661];g=v[273660];t[j|0]=g;t[j+1|0]=g>>>8;t[j+2|0]=g>>>16;t[j+3|0]=g>>>24;t[j+4|0]=l;t[j+5|0]=l>>>8;t[j+6|0]=l>>>16;t[j+7|0]=l>>>24}l=v[c+4>>2];g=w[l+4|0]|w[l+5|0]<<8|(w[l+6|0]<<16|w[l+7|0]<<24);c=w[l|0]|w[l+1|0]<<8|(w[l+2|0]<<16|w[l+3|0]<<24);t[j+32|0]=c;t[j+33|0]=c>>>8;t[j+34|0]=c>>>16;t[j+35|0]=c>>>24;t[j+36|0]=g;t[j+37|0]=g>>>8;t[j+38|0]=g>>>16;t[j+39|0]=g>>>24;g=w[l+28|0]|w[l+29|0]<<8|(w[l+30|0]<<16|w[l+31|0]<<24);c=w[l+24|0]|w[l+25|0]<<8|(w[l+26|0]<<16|w[l+27|0]<<24);t[j+56|0]=c;t[j+57|0]=c>>>8;t[j+58|0]=c>>>16;t[j+59|0]=c>>>24;t[j+60|0]=g;t[j+61|0]=g>>>8;t[j+62|0]=g>>>16;t[j+63|0]=g>>>24;g=w[l+20|0]|w[l+21|0]<<8|(w[l+22|0]<<16|w[l+23|0]<<24);c=w[l+16|0]|w[l+17|0]<<8|(w[l+18|0]<<16|w[l+19|0]<<24);t[j+48|0]=c;t[j+49|0]=c>>>8;t[j+50|0]=c>>>16;t[j+51|0]=c>>>24;t[j+52|0]=g;t[j+53|0]=g>>>8;t[j+54|0]=g>>>16;t[j+55|0]=g>>>24;g=w[l+12|0]|w[l+13|0]<<8|(w[l+14|0]<<16|w[l+15|0]<<24);c=w[l+8|0]|w[l+9|0]<<8|(w[l+10|0]<<16|w[l+11|0]<<24);t[j+40|0]=c;t[j+41|0]=c>>>8;t[j+42|0]=c>>>16;t[j+43|0]=c>>>24;t[j+44|0]=g;t[j+45|0]=g>>>8;t[j+46|0]=g>>>16;t[j+47|0]=g>>>24;t[j+64|0]=e;t[j+65|0]=e>>>8;t[j+66|0]=e>>>16;t[j+67|0]=e>>>24;gc(j+68|0,v[f+4>>2],v[f>>2]);e=v[f>>2];c=e+68|0;g=0;if(!i){t[c+j|0]=255;c=e+j|0;t[c+71|0]=255;t[c+69|0]=255;t[c+70|0]=255;c=e+72|0}if((c|0)>=0){v[k+96>>2]=0;v[k+100>>2]=0;v[k+24>>2]=-1732584194;v[k+28>>2]=271733878;v[k+16>>2]=1732584193;v[k+20>>2]=-271733879;b:{if((c|0)<64){e=c;i=j;break b}i=j;e=c;while(1){l=(g+k|0)+32|0;g=64-g|0;gc(l,i,g);v[k+96>>2]=64;i=g+i|0;eo(k+16|0);e=e-g|0;g=v[k+96>>2];if((e+g|0)>63){continue}break}}if((e|0)>=1){gc((g+k|0)+32|0,i,e);v[k+96>>2]=v[k+96>>2]+e}v[k+100>>2]=v[k+100>>2]+c;Rp(k+16|0);e=v[k+116>>2];c=v[k+112>>2];t[h+8|0]=c;t[h+9|0]=c>>>8;t[h+10|0]=c>>>16;t[h+11|0]=c>>>24;t[h+12|0]=e;t[h+13|0]=e>>>8;t[h+14|0]=e>>>16;t[h+15|0]=e>>>24;e=v[k+108>>2];c=v[k+104>>2];t[h|0]=c;t[h+1|0]=c>>>8;t[h+2|0]=c>>>16;t[h+3|0]=c>>>24;t[h+4|0]=e;t[h+5|0]=e>>>8;t[h+6|0]=e>>>16;t[h+7|0]=e>>>24}i=0;g=0;c:{d:{e:{f:{g:{switch(a-2|0){case 1:c=0;if((b|0)>=0){a=(b|0)<64;while(1){v[k+96>>2]=0;v[k+100>>2]=0;v[k+24>>2]=-1732584194;v[k+28>>2]=271733878;v[k+16>>2]=1732584193;v[k+20>>2]=-271733879;g=0;i=h;e=b;if(!a){while(1){l=(g+k|0)+32|0;g=64-g|0;gc(l,i,g);v[k+96>>2]=64;i=g+i|0;eo(k+16|0);e=e-g|0;g=v[k+96>>2];if((e+g|0)>63){continue}break}}if((e|0)>=1){gc((g+k|0)+32|0,i,e);v[k+96>>2]=v[k+96>>2]+e}v[k+100>>2]=v[k+100>>2]+b;Rp(k+16|0);g=w[k+116|0]|w[k+117|0]<<8|(w[k+118|0]<<16|w[k+119|0]<<24);e=w[k+112|0]|w[k+113|0]<<8|(w[k+114|0]<<16|w[k+115|0]<<24);t[h+8|0]=e;t[h+9|0]=e>>>8;t[h+10|0]=e>>>16;t[h+11|0]=e>>>24;t[h+12|0]=g;t[h+13|0]=g>>>8;t[h+14|0]=g>>>16;t[h+15|0]=g>>>24;g=w[k+108|0]|w[k+109|0]<<8|(w[k+110|0]<<16|w[k+111|0]<<24);e=w[k+104|0]|w[k+105|0]<<8|(w[k+106|0]<<16|w[k+107|0]<<24);t[h|0]=e;t[h+1|0]=e>>>8;t[h+2|0]=e>>>16;t[h+3|0]=e>>>24;t[h+4|0]=g;t[h+5|0]=g>>>8;t[h+6|0]=g>>>16;t[h+7|0]=g>>>24;c=c+1|0;if((c|0)!=50){continue}break}}q=j+32|0;c=v[d+4>>2];a=w[c+28|0]|w[c+29|0]<<8|(w[c+30|0]<<16|w[c+31|0]<<24);v[k+296>>2]=w[c+24|0]|w[c+25|0]<<8|(w[c+26|0]<<16|w[c+27|0]<<24);v[k+300>>2]=a;a=w[c+20|0]|w[c+21|0]<<8|(w[c+22|0]<<16|w[c+23|0]<<24);v[k+288>>2]=w[c+16|0]|w[c+17|0]<<8|(w[c+18|0]<<16|w[c+19|0]<<24);v[k+292>>2]=a;a=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);v[k+272>>2]=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);v[k+276>>2]=a;a=w[c+12|0]|w[c+13|0]<<8|(w[c+14|0]<<16|w[c+15|0]<<24);v[k+280>>2]=w[c+8|0]|w[c+9|0]<<8|(w[c+10|0]<<16|w[c+11|0]<<24);v[k+284>>2]=a;l=b&-4;d=b&3;g=19;r=(b|0)<1;s=b-1>>>0<3;while(1){m=g;h:{if(r){break h}g=0;i=l;if(!s){while(1){t[g+k|0]=m^w[g+h|0];a=g|1;t[a+k|0]=m^w[a+h|0];a=g|2;t[a+k|0]=m^w[a+h|0];a=g|3;t[a+k|0]=m^w[a+h|0];g=g+4|0;i=i-4|0;if(i){continue}break}}i=d;if(!i){break h}while(1){t[g+k|0]=m^w[g+h|0];g=g+1|0;i=i-1|0;if(i){continue}break}}i=0;g=0;while(1){c=k+16|0;t[c+g|0]=g;a=g|1;t[a+c|0]=a;a=g|2;t[a+c|0]=a;a=g|3;t[a+c|0]=a;a=g|4;t[a+c|0]=a;a=g|5;t[a+c|0]=a;a=g|6;t[a+c|0]=a;a=g|7;t[a+c|0]=a;g=g+8|0;if((g|0)!=256){continue}break}g=0;c=0;while(1){n=g&255;g=k+16|0;a=g+i|0;e=w[a|0];c=(w[n+k|0]+(c&255)|0)+e|0;o=a;a=(c&255)+g|0;t[o|0]=w[a|0];t[a|0]=e;g=(n+1|0)%(b|0)|0;i=i+1|0;if((i|0)!=256){continue}break}g=0;e=0;while(1){a=g+1|0;o=k+16|0;i=a+o|0;p=w[i|0];e=p+e|0;c=(e&255)+o|0;n=w[c|0];t[i|0]=n;t[c|0]=p;c=(k+272|0)+g|0;t[c|0]=w[o+(n+p&255)|0]^w[c|0];g=a;if((g|0)!=32){continue}break}g=m-1|0;if(m){continue}break};g=0;b=v[273667];a=v[273666];t[j+24|0]=a;t[j+25|0]=a>>>8;t[j+26|0]=a>>>16;t[j+27|0]=a>>>24;t[j+28|0]=b;t[j+29|0]=b>>>8;t[j+30|0]=b>>>16;t[j+31|0]=b>>>24;b=v[273665];a=v[273664];t[j+16|0]=a;t[j+17|0]=a>>>8;t[j+18|0]=a>>>16;t[j+19|0]=a>>>24;t[j+20|0]=b;t[j+21|0]=b>>>8;t[j+22|0]=b>>>16;t[j+23|0]=b>>>24;b=v[273663];a=v[273662];t[j+8|0]=a;t[j+9|0]=a>>>8;t[j+10|0]=a>>>16;t[j+11|0]=a>>>24;t[j+12|0]=b;t[j+13|0]=b>>>8;t[j+14|0]=b>>>16;t[j+15|0]=b>>>24;b=v[273661];a=v[273660];t[j|0]=a;t[j+1|0]=a>>>8;t[j+2|0]=a>>>16;t[j+3|0]=a>>>24;t[j+4|0]=b;t[j+5|0]=b>>>8;t[j+6|0]=b>>>16;t[j+7|0]=b>>>24;gc(q,v[f+4>>2],v[f>>2]);b=v[f>>2];if((b|0)<-32){break d}a=b+32|0;v[k+392>>2]=0;v[k+396>>2]=0;v[k+320>>2]=-1732584194;v[k+324>>2]=271733878;v[k+312>>2]=1732584193;v[k+316>>2]=-271733879;if((b|0)>=32){break f}e=a;i=j;break e;case 0:break g;default:break c}}while(1){c=k+16|0;t[c+g|0]=g;a=g|1;t[a+c|0]=a;a=g|2;t[a+c|0]=a;a=g|3;t[a+c|0]=a;a=g|4;t[a+c|0]=a;a=g|5;t[a+c|0]=a;a=g|6;t[a+c|0]=a;a=g|7;t[a+c|0]=a;g=g+8|0;if((g|0)!=256){continue}break}g=0;c=0;while(1){f=k+16|0;e=f+i|0;a=w[e|0];g=g&255;c=a+(w[g+h|0]+(c&255)|0)|0;f=(c&255)+f|0;t[e|0]=w[f|0];t[f|0]=a;g=(g+1|0)%(b|0)|0;i=i+1|0;if((i|0)!=256){continue}break}f=v[d+4>>2];g=0;e=0;while(1){d=w[f+g|0];a=g+1|0;l=k+16|0;c=a+l|0;i=w[c|0];e=i+e|0;b=(e&255)+l|0;h=w[b|0];t[c|0]=h;t[b|0]=i;t[(k+272|0)+g|0]=d^w[l+(h+i&255)|0];g=a;if((g|0)!=32){continue}break}i=!Pc(k+272|0,1094640,32);break c}i=j;e=a;while(1){b=64-g|0;gc((g+k|0)+328|0,i,b);v[k+392>>2]=64;i=b+i|0;eo(k+312|0);e=e-b|0;g=v[k+392>>2];if((e+g|0)>63){continue}break}}if((e|0)>=1){gc((g+k|0)+328|0,i,e);v[k+392>>2]=v[k+392>>2]+e}v[k+396>>2]=a+v[k+396>>2];Rp(k+312|0);b=v[k+412>>2];a=v[k+408>>2];t[j+8|0]=a;t[j+9|0]=a>>>8;t[j+10|0]=a>>>16;t[j+11|0]=a>>>24;t[j+12|0]=b;t[j+13|0]=b>>>8;t[j+14|0]=b>>>16;t[j+15|0]=b>>>24;b=v[k+404>>2];a=v[k+400>>2];t[j|0]=a;t[j+1|0]=a>>>8;t[j+2|0]=a>>>16;t[j+3|0]=a>>>24;t[j+4|0]=b;t[j+5|0]=b>>>8;t[j+6|0]=b>>>16;t[j+7|0]=b>>>24}i=!Pc(k+272|0,j,16)}uc(j);Qb=k+416|0;return i}function BD(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,p=0,q=0;d=Qb-176|0;Qb=d;v[d+152>>2]=0;v[d+156>>2]=0;v[d+144>>2]=0;v[d+136>>2]=0;v[d+140>>2]=0;v[d+128>>2]=0;v[d+132>>2]=0;v[d+120>>2]=0;v[d+124>>2]=0;k=Un(d+120|0,982708);v[d+112>>2]=0;v[d+104>>2]=0;v[d+108>>2]=0;v[d+96>>2]=0;v[d+100>>2]=0;v[299999]=0;v[d+88>>2]=0;v[d+92>>2]=0;l=Q(4475,d+88|0,982728)|0;f=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{g:{if((f|0)!=1){g=v[b+20>>2];m=b+12|0;v[d+156>>2]=m;v[d+152>>2]=g;if(!g){break e}while(1){b=v[g+8>>2];v[299999]=0;b=Q(4562,b|0,c|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break g}v[299999]=0;V(4563,d+80|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break g}v[299999]=0;f=Fe(d+80|0);b=v[299999];v[299999]=0;if((b|0)==1){break f}v[299999]=0;b=v[v[k+12>>2]+((f>>>0)%y[k+8>>2]<<2)>>2];e=v[299999];v[299999]=0;if((e|0)==1){break f}h:{i:{if(b){while(1){if((f|0)==v[b+12>>2]){v[299999]=0;e=Y(4541,b+16|0,d+80|0,-1)|0;i=v[299999];v[299999]=0;if((i|0)==1){break f}if(!e){break i}}b=v[b+8>>2];if(b){continue}break}}v[299999]=0;b=Q(4564,d+120|0,d+80|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break f}v[b+24>>2]=0;ec(d+80|0);if(g){break h}break e}v[299999]=0;i=Q(4565,d+88|0,d+80|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break f}v[d+76>>2]=m;v[d+72>>2]=g;if(!g){v[299999]=0;V(4468,d+72|0,m|0);a=v[299999];v[299999]=0;if((a|0)==1){break f}break b}v[299999]=0;b=S(1,12)|0;f=v[299999];v[299999]=0;if((f|0)==1){break f}v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;f=b;e=v[g+8>>2];if(e){v[299999]=0;v[e+4>>2]=v[e+4>>2]+1;e=v[299999];v[299999]=0;if((e|0)==1){break f}e=v[g+8>>2]}else{e=0}v[f+8>>2]=e;v[299999]=0;Le(i+24|0,b);b=v[299999];v[299999]=0;if((b|0)==1){break f}ec(d+80|0)}g=v[g>>2];v[d+152>>2]=g;if(g){continue}break}break e}b=P()|0;O()|0;break c}b=P()|0;O()|0;break d}b=P()|0;O()|0;ec(d+80|0);break d}v[299999]=0;b=v[l+24>>2];v[d+84>>2]=l;v[d+80>>2]=b;b=v[299999];v[299999]=0;if((b|0)!=1){f=v[d+84>>2];c=f;b=v[d+80>>2];v[d+152>>2]=b;v[d+156>>2]=f;j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{f=b;if(b){o=c;b=c;while(1){if((d+88|0)!=(b|0)){v[299999]=0;V(4468,d+152|0,d+88|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}b=P()|0;O()|0;break d}b=v[f+16>>2];w:{if(!b){g=-1;break w}v[299999]=0;g=Y(4567,b|0,46,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break j}}if((d+88|0)!=(o|0)){v[299999]=0;V(4468,d+152|0,d+88|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}b=P()|0;O()|0;break d}c=v[f+32>>2];if(c){n=f+16|0;i=1;while(1){b=v[c+8>>2];v[d+80>>2]=0;v[d+84>>2]=v[282402];x:{b=v[b+36>>2];y:{z:{if(b){e=v[v[b>>2]+28>>2];v[299999]=0;U(e|0,d- -64|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break z}b=P()|0;O()|0;break y}v[d+64>>2]=0}v[299999]=0;Q(4344,d+80|0,d- -64|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){b=v[d+64>>2];v[d+64>>2]=0;if(!b){break x}v[299999]=0;e=v[b+4>>2]-1|0;v[b+4>>2]=e;h=v[299999];v[299999]=0;if((h|0)!=1){if(e){break x}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break x}}break a}b=P()|0;O()|0;ec(d- -64|0)}ec(d+80|0);break d}b=v[d+80>>2];v[d+84>>2]=v[(b?b+12|0:1129608)>>2];v[299999]=0;h=Q(4539,d+56|0,d+80|0)|0;b=v[299999];v[299999]=0;A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{if((b|0)!=1){b=0;v[d+64>>2]=0;v[d+68>>2]=v[282402];M:{N:{e=v[d+56>>2];O:{if(e){if(v[e+8>>2]){b=v[v[e>>2]+28>>2];v[299999]=0;U(b|0,d+160|0,e|0,1);b=v[299999];v[299999]=0;if((b|0)==1){break N}b=v[d+160>>2];break O}v[299999]=0;v[e+4>>2]=v[e+4>>2]+1;b=v[299999];v[299999]=0;if((b|0)==1){break N}b=v[d+56>>2]}v[d+160>>2]=b}P:{if(b){e=v[v[b>>2]+28>>2];v[299999]=0;U(e|0,d+168|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break P}b=P()|0;O()|0;break m}v[d+168>>2]=0}v[299999]=0;Q(4344,d- -64|0,d+168|0)|0;b=v[299999];v[299999]=0;Q:{if((b|0)!=1){b=v[d+168>>2];v[d+168>>2]=0;if(!b){break Q}v[299999]=0;e=v[b+4>>2]-1|0;v[b+4>>2]=e;j=v[299999];v[299999]=0;if((j|0)!=1){if(e){break Q}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break Q}}break a}b=P()|0;O()|0;ec(d+168|0);break m}b=v[d+64>>2];v[d+68>>2]=v[(b?b+12|0:1129608)>>2];b=v[d+160>>2];v[d+160>>2]=0;if(!b){break M}v[299999]=0;e=v[b+4>>2]-1|0;v[b+4>>2]=e;j=v[299999];v[299999]=0;if((j|0)!=1){if(e){break M}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break M}}break a}b=P()|0;O()|0;break l}v[299999]=0;b=Y(4541,d+80|0,d- -64|0,-1)|0;e=v[299999];v[299999]=0;if((e|0)==1){break L}R:{if(!b){v[299999]=0;j=Fe(d+80|0);b=v[299999];v[299999]=0;if((b|0)==1){break L}v[299999]=0;b=v[v[l+12>>2]+((j>>>0)%y[l+8>>2]<<2)>>2];e=v[299999];v[299999]=0;if((e|0)==1){break L}e=0;S:{if(!b){break S}while(1){T:{if((j|0)!=v[b+12>>2]){break T}v[299999]=0;p=Y(4541,b+16|0,d+80|0,-1)|0;q=v[299999];v[299999]=0;if((q|0)==1){break L}if(p){break T}e=b;break S}b=v[b+8>>2];if(b){continue}break}}ec(d- -64|0);ec(h);if(e){break R}break A}ec(d- -64|0);ec(h)}while(1){U:{if((g|0)<=-1){v[299999]=0;U(4546,d+48|0,n|0,335742);b=v[299999];v[299999]=0;if((b|0)==1){break K}v[299999]=0;b=Q(4545,d+40|0,i|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break J}v[299999]=0;U(4547,d- -64|0,d+48|0,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break U}b=P()|0;O()|0;break s}v[299999]=0;$(4568,d+16|0,n|0,0,g|0);b=v[299999];v[299999]=0;if((b|0)==1){break I}v[299999]=0;U(4546,d+24|0,d+16|0,335742);b=v[299999];v[299999]=0;if((b|0)==1){break H}v[299999]=0;b=Q(4545,d+8|0,i|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break G}v[299999]=0;U(4547,d+32|0,d+24|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break F}v[299999]=0;$(4568,d|0,n|0,g|0,-1);b=v[299999];v[299999]=0;if((b|0)==1){break E}v[299999]=0;U(4547,d- -64|0,d+32|0,d|0);b=v[299999];v[299999]=0;if((b|0)==1){break D}}b=v[d+64>>2];V:{if(b){e=v[v[b>>2]+28>>2];v[299999]=0;U(e|0,d+56|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break V}b=P()|0;O()|0;break t}v[d+56>>2]=0}v[299999]=0;Q(4344,d+80|0,d+56|0)|0;b=v[299999];v[299999]=0;W:{if((b|0)!=1){b=v[d+56>>2];v[d+56>>2]=0;if(!b){break W}v[299999]=0;e=v[b+4>>2]-1|0;v[b+4>>2]=e;h=v[299999];v[299999]=0;if((h|0)!=1){if(e){break W}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break W}}break a}b=P()|0;O()|0;a=v[d+56>>2];v[d+56>>2]=0;if(!a){break t}v[299999]=0;c=v[a+4>>2]-1|0;v[a+4>>2]=c;f=v[299999];v[299999]=0;if((f|0)!=1){if(c){break t}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break t}}break a}b=v[d+80>>2];v[d+84>>2]=v[(b?b+12|0:1129608)>>2];ec(d- -64|0);X:{if((g|0)>=0){ec(d);ec(d+32|0);ec(d+8|0);ec(d+24|0);ec(d+16|0);break X}ec(d+40|0);ec(d+48|0)}v[299999]=0;V(4563,d- -64|0,d+80|0);b=v[299999];v[299999]=0;if((b|0)==1){break C}v[299999]=0;e=Fe(d- -64|0);b=v[299999];v[299999]=0;if((b|0)==1){break B}v[299999]=0;b=v[v[k+12>>2]+((e>>>0)%y[k+8>>2]<<2)>>2];h=v[299999];v[299999]=0;if((h|0)==1){break B}i=i+1|0;Y:{if(b){while(1){if((e|0)==v[b+12>>2]){v[299999]=0;h=Y(4541,b+16|0,d- -64|0,-1)|0;j=v[299999];v[299999]=0;if((j|0)==1){break B}if(!h){break Y}}b=v[b+8>>2];if(b){continue}break}}ec(d- -64|0);break A}ec(d- -64|0);continue}}b=P()|0;O()|0;break k}b=P()|0;O()|0;ec(d- -64|0);ec(h);break k}b=P()|0;O()|0;break k}b=P()|0;O()|0;break r}b=P()|0;O()|0;break k}b=P()|0;O()|0;ec(d+16|0);break k}b=P()|0;O()|0;break n}b=P()|0;O()|0;break o}b=P()|0;O()|0;break p}b=P()|0;O()|0;break q}b=P()|0;O()|0;break k}b=P()|0;O()|0;ec(d- -64|0);break k}b=v[c+8>>2];v[299999]=0;V(4534,b|0,d+80|0);b=v[299999];v[299999]=0;if((b|0)==1){break v}v[299999]=0;b=Q(4564,d+120|0,d+80|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break v}v[b+24>>2]=0;ec(d+80|0);c=v[c>>2];if(c){continue}break}}f=v[f>>2];v[d+152>>2]=f;b=d+88|0;if(f){continue}break}}v[299999]=0;Q(4387,a|0,m|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break u}b=P()|0;O()|0;break d}b=P()|0;O()|0;break k}id(l);id(k);Qb=d+176|0;return}ec(d- -64|0);if((g|0)>=0){break q}}ec(d+40|0)}ec(d+48|0);break k}ec(d)}ec(d+32|0)}ec(d+8|0)}ec(d+24|0);ec(d+16|0);break k}ec(d+160|0)}ec(d- -64|0);ec(h)}ec(d+80|0);break d}b=P()|0;O()|0;break d}b=P()|0;O()|0}id(l)}id(k);T(b|0);L()}L()}W(0)|0;O()|0;lc();L()}function zQ(a,b){a=a|0;b=b|0;var 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,x=0,y=0,z=0,B=0,C=0,E=0;c=Qb-128|0;Qb=c;a:{b:{e=a;if(!w[a+8|0]){break b}e=v[e>>2];if(e){break b}e=0;break a}e=v[e>>2]}i=v[a+4>>2];v[c+12>>2]=i;a=0;c:{d:{e:{if((i|0)<1){break e}while(1){r=v[(a<<2)+e>>2];g=r-32|0;if(!g|(g|0)==12){a=a+1|0;if(!g|(g|0)==12){if((a|0)<(i|0)){continue}break e}r=v[(a<<2)+e>>2]}a=a+1|0;v[c+8>>2]=a;f:{g:{h:{i:{j:{k:{l:{switch(r-65|0){case 5:if((a|0)>=(i|0)){break f}while(1){m:{g=v[(a<<2)+e>>2]-32|0;if(!(!g|(g|0)==12)){break m}a=a+1|0;v[c+8>>2]=a;if(!(!g|(g|0)==12)){break m}if((a|0)!=(i|0)){continue}break f}break};s=0;C=QD(e,c+8|0,c+12|0);break f;case 44:o=se(e,c+8|0,c+12|0);l=se(e,c+8|0,c+12|0);f=f+o;A[c+120>>3]=f*25.4/96;d=d+l;A[c+112>>3]=d*25.4/96;Ub[v[v[b>>2]+296>>2]](b,c+120|0,c+112|0)|0;break k;case 12:f=se(e,c+8|0,c+12|0);d=se(e,c+8|0,c+12|0);A[c+120>>3]=f*25.4/96;A[c+112>>3]=d*25.4/96;Ub[v[v[b>>2]+296>>2]](b,c+120|0,c+112|0)|0;break k;case 7:case 11:case 21:case 39:case 43:case 53:s=0;if((a|0)>=(i|0)){break f}while(1){h=v[(a<<2)+e>>2];g=h-32|0;if(!g|(g|0)==12){a=a+1|0;v[c+8>>2]=a;if(!g|(g|0)==12){if((a|0)<(i|0)){continue}break f}h=v[(a<<2)+e>>2]}n:{if(h-48>>>0<10){break n}a=h-45|0;if(1<>>0<=24:0){break n}if((h|0)!=101){break f}}o:{p:{switch(r-72|0){case 4:f=se(e,c+8|0,c+12|0);d=se(e,c+8|0,c+12|0);break o;case 36:f=f+se(e,c+8|0,c+12|0);d=d+se(e,c+8|0,c+12|0);break o;case 0:f=se(e,c+8|0,c+12|0);break o;case 32:f=f+se(e,c+8|0,c+12|0);break o;case 14:d=se(e,c+8|0,c+12|0);break o;case 46:break p;default:break o}}d=d+se(e,c+8|0,c+12|0)}A[c+120>>3]=f*25.4/96;A[c+112>>3]=d*25.4/96;Ub[v[v[b>>2]+300>>2]](b,c+120|0,c+112|0)|0;a=v[c+8>>2];i=v[c+12>>2];if((a|0)<(i|0)){continue}break};break f;case 0:case 32:break g;case 2:case 34:break h;case 16:case 48:break i;case 18:case 50:break j;case 25:case 57:break l;default:break f}}Ub[v[v[b>>2]+320>>2]](b)|0}s=0;break f}if((a|0)>=(i|0)){break f}while(1){h=v[(a<<2)+e>>2];g=h-32|0;if(!g|(g|0)==12){a=a+1|0;v[c+8>>2]=a;if(!g|(g|0)==12){if((a|0)<(i|0)){continue}break f}h=v[(a<<2)+e>>2]}q:{if(h-48>>>0<10){break q}a=h-45|0;if(1<>>0<=24:0){break q}if((h|0)!=101){break f}}o=s?d+d-x:d;l=s?f+f-t:f;t=se(e,c+8|0,c+12|0);r:{if((r|0)==115){t=f+t;x=f+se(e,c+8|0,c+12|0);f=f+se(e,c+8|0,c+12|0);d=d+se(e,c+8|0,c+12|0);break r}x=se(e,c+8|0,c+12|0);f=se(e,c+8|0,c+12|0);d=se(e,c+8|0,c+12|0)}A[c+120>>3]=l*25.4/96;A[c+112>>3]=o*25.4/96;A[c+104>>3]=t*25.4/96;A[c+96>>3]=x*25.4/96;A[c+88>>3]=f*25.4/96;A[c+80>>3]=d*25.4/96;Ub[v[v[b>>2]+308>>2]](b,c+120|0,c+112|0,c+104|0,c+96|0,c+88|0,c+80|0)|0;s=1;a=v[c+8>>2];i=v[c+12>>2];if((a|0)<(i|0)){continue}break}break f}s=0;if((a|0)>=(i|0)){break f}while(1){l=f;s:{t:{while(1){h=v[(a<<2)+e>>2];g=h-32|0;if(!(!g|(g|0)==12)){break t}a=a+1|0;v[c+8>>2]=a;if(!g|(g|0)==12){if((a|0)<(i|0)){continue}break s}break}h=v[(a<<2)+e>>2]}u:{if(h-48>>>0<10){break u}a=h-45|0;if(1<>>0<=24:0){break u}if((h|0)!=101){break s}}n=se(e,c+8|0,c+12|0);v:{if((r|0)==113){n=l+n;k=d+se(e,c+8|0,c+12|0);f=l+se(e,c+8|0,c+12|0);o=d+se(e,c+8|0,c+12|0);break v}k=se(e,c+8|0,c+12|0);f=se(e,c+8|0,c+12|0);o=se(e,c+8|0,c+12|0)}j=l/3;l=(n+n)/3;A[c+120>>3]=(j+l)*25.4/96;j=d/3;d=(k+k)/3;A[c+112>>3]=(j+d)*25.4/96;A[c+104>>3]=(l+f/3)*25.4/96;l=d;d=o;A[c+96>>3]=(l+d/3)*25.4/96;A[c+88>>3]=f*25.4/96;A[c+80>>3]=d*25.4/96;Ub[v[v[b>>2]+308>>2]](b,c+120|0,c+112|0,c+104|0,c+96|0,c+88|0,c+80|0)|0;a=v[c+8>>2];i=v[c+12>>2];if((a|0)<(i|0)){continue}break f}break}f=l;break f}if((a|0)>=(i|0)){break f}while(1){h=v[(a<<2)+e>>2];g=h-32|0;if(!g|(g|0)==12){a=a+1|0;v[c+8>>2]=a;if(!g|(g|0)==12){if((a|0)<(i|0)){continue}break f}h=v[(a<<2)+e>>2]}w:{if(h-48>>>0<10){break w}a=h-45|0;if(1<>>0<=24:0){break w}if((h|0)!=101){break f}}o=se(e,c+8|0,c+12|0);x:{if((r|0)==99){o=f+o;l=d+se(e,c+8|0,c+12|0);t=f+se(e,c+8|0,c+12|0);x=d+se(e,c+8|0,c+12|0);f=f+se(e,c+8|0,c+12|0);d=d+se(e,c+8|0,c+12|0);break x}l=se(e,c+8|0,c+12|0);t=se(e,c+8|0,c+12|0);x=se(e,c+8|0,c+12|0);f=se(e,c+8|0,c+12|0);d=se(e,c+8|0,c+12|0)}A[c+120>>3]=o*25.4/96;A[c+112>>3]=l*25.4/96;A[c+104>>3]=t*25.4/96;A[c+96>>3]=x*25.4/96;A[c+88>>3]=f*25.4/96;A[c+80>>3]=d*25.4/96;Ub[v[v[b>>2]+308>>2]](b,c+120|0,c+112|0,c+104|0,c+96|0,c+88|0,c+80|0)|0;s=1;a=v[c+8>>2];i=v[c+12>>2];if((a|0)<(i|0)){continue}break}break f}s=0;if((a|0)>=(i|0)){break f}while(1){h=v[(a<<2)+e>>2];g=h-32|0;if(!g|(g|0)==12){a=a+1|0;v[c+8>>2]=a;if(!g|(g|0)==12){if((a|0)<(i|0)){continue}break f}h=v[(a<<2)+e>>2]}y:{if(h-48>>>0<10){break y}a=h-45|0;if(1<>>0<=24:0){break y}if((h|0)!=101){break f}}h=c+8|0;i=c+12|0;a=i;j=se(e,h,a);A[c+120>>3]=j;m=se(e,h,a);A[c+112>>3]=m;p=se(e,h,a);i=QD(e,h,a);g=QD(e,h,a);o=se(e,c+8|0,c+12|0);A[c+104>>3]=o;l=se(e,c+8|0,c+12|0);A[c+96>>3]=l;if((r|0)==97){l=d+l;A[c+96>>3]=l;o=f+o;A[c+104>>3]=o}A[c+88>>3]=o;A[c+80>>3]=l;z:{if(D(j)<.001|D(m)<.001){Ub[v[v[b>>2]+300>>2]](b,c+88|0,c+80|0)|0;d=A[c+96>>3];f=A[c+104>>3];break z}h=hm(c+72|0);v[299999]=0;u=S(2366,c- -64|0)|0;a=v[299999];v[299999]=0;A:{B:{C:{if((a|0)!=1){v[299999]=0;Ez(h,-p,0);a=v[299999];v[299999]=0;if((a|0)==1){break d}v[299999]=0;qs(h,-f,-d,0);a=v[299999];v[299999]=0;if((a|0)==1){break d}v[299999]=0;qs(u,f,d,0);a=v[299999];v[299999]=0;if((a|0)==1){break d}v[299999]=0;Ez(u,p,0);a=v[299999];v[299999]=0;if((a|0)==1){break d}v[c+56>>2]=0;v[c+60>>2]=0;v[299999]=0;v[c+48>>2]=0;v[c+52>>2]=0;ke(h,c+104|0,c+96|0);a=v[299999];v[299999]=0;if((a|0)==1){break d}v[299999]=0;ke(u,c+56|0,c+48|0);a=v[299999];v[299999]=0;if((a|0)==1){break d}D:{if(D(A[c+96>>3])>.001){v[299999]=0;E=yQ(c+104|0,c+96|0,c+120|0,c+112|0,c+40|0,c+32|0,c+24|0,c+16|0);a=v[299999];v[299999]=0;if((a|0)==1){break d}if(!E){break D}d=A[c+32>>3];f=A[c+40>>3];break B}d=A[c+104>>3];if(D(d)<.001){break D}f=d*.5;A[c+24>>3]=f;A[c+40>>3]=f;n=A[c+112>>3];d=n*n;m=f*f;j=A[c+120>>3];d=d-m*(d/(j*j));E:{if(!(d<0)){break E}p=f/j;if(!(p>1)){break E}j=j*p;A[c+120>>3]=j;d=n*p;A[c+112>>3]=d;d=d*d;d=d-m*(d/(j*j))}if(d<-.001){break D}if(!(d<0)){break C}v[c+32>>2]=0;v[c+36>>2]=0;d=0;A[c+16>>3]=0;break B}a=v[v[b>>2]+300>>2];v[299999]=0;Y(a|0,b|0,c+88|0,c+80|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break d}f=A[c+88>>3];l=A[c+80>>3];break A}i=P()|0;O()|0;break c}d=K(d);A[c+32>>3]=d;A[c+16>>3]=-d}m=0-d;j=D(m);n=m*m;m=0-f;n=st(j/K(n+m*m))*180/3.141592653589793;F:{G:{H:{I:{J:{if(f<=0){a=3;if(d>=0){break J}a=0;break J}a=2;if(d>=0){break J}a=1}switch(a-1|0){case 2:break G;case 1:break H;case 0:break I;default:break F}}n=180-n;break F}n=n+180;break F}n=360-n}y=A[c+96>>3];z=A[c+104>>3];K:{if(z>=f){a=3;if(d>=y){break K}a=0;break K}a=2;if(d>=y){break K}a=1}j=y-d;m=z-f;k=st(D(j)/K(m*m+j*j))*180/3.141592653589793;L:{M:{switch(a-1|0){case 0:k=180-k;break L;case 1:k=k+180;break L;case 2:break M;default:break L}}k=360-k}j=A[c+16>>3];m=A[c+24>>3];N:{if(m<=0){a=3;if(j>=0){break N}a=0;break N}a=2;if(j>=0){break N}a=1}q=0-j;p=0-m;p=st(D(q)/K(p*p+q*q))*180/3.141592653589793;O:{P:{switch(a-1|0){case 0:p=180-p;break O;case 1:p=p+180;break O;case 2:break P;default:break O}}p=360-p}B=k=y){break U}a=0;break U}a=2;if(j>=y){break U}a=1}switch(a-1|0){case 2:break R;case 1:break S;case 0:break T;default:break Q}}k=180-k;break Q}k=k+180;break Q}k=360-k}a=g^1;q=B-n;if(!(((a|i)!=1|(g|i^1)!=1)&q>180|(i&g|(i|g)!=1?q<=180:0))){B=k>3];if(j<=0){break V}m=A[c+112>>3];if(m<=0){break V}W:{if(D(B-n)>=360){v[299999]=0;wb(4309,b|0,u|0,+f,+d,+j,+m);break W}v[299999]=0;vb(4310,b|0,u|0,+f,+d,+j,+m,+n,+B,a|0)}a=v[299999];v[299999]=0;f=o;if((a|0)!=1){break A}break d}f=o}d=l;Cd(u);Cd(h)}a=v[c+8>>2];i=v[c+12>>2];if((a|0)<(i|0)){continue}break}}a=v[c+8>>2];i=v[c+12>>2];if((a|0)<(i|0)){continue}break}}Qb=c+128|0;return C&1}i=P()|0;O()|0;Cd(u)}Cd(h);T(i|0);L()}function FW(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=Qb-16|0;Qb=k;e=-1;f=c+1|0;h=fc((f|0)!=(f&1073741823)?-1:f<<2);a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{switch(d-128|0){default:switch(d|0){case 0:break n;case 2:break i;default:break h};case 35:if((c|0)<1){break a}e=0;if((c|0)!=1){d=c&-2;while(1){g=(e<<2)+h|0;f=w[b+e|0];if(f>>>0>=32){f=x[(f<<1)+534720>>1]}v[g>>2]=f;g=e|1;f=w[g+b|0];if(f>>>0>=32){f=x[(f<<1)+534720>>1]}v[(g<<2)+h>>2]=f;e=e+2|0;d=d-2|0;if(d){continue}break}}if(!(c&1)){break a}d=(e<<2)+h|0;b=w[b+e|0];if(b>>>0>=32){b=x[(b<<1)+534720>>1]}v[d>>2]=b;break a;case 58:if((c|0)<1){break a}e=0;if((c|0)!=1){d=c&-2;while(1){g=(e<<2)+h|0;f=w[b+e|0];if(f>>>0>=32){f=x[(f<<1)+534272>>1]}v[g>>2]=f;g=e|1;f=w[g+b|0];if(f>>>0>=32){f=x[(f<<1)+534272>>1]}v[(g<<2)+h>>2]=f;e=e+2|0;d=d-2|0;if(d){continue}break}}if(!(c&1)){break a}d=(e<<2)+h|0;b=w[b+e|0];if(b>>>0>=32){b=x[(b<<1)+534272>>1]}v[d>>2]=b;break a;case 50:if((c|0)<1){break a}e=0;if((c|0)!=1){d=c&-2;while(1){g=(e<<2)+h|0;f=w[b+e|0];if(f>>>0>=32){f=x[(f<<1)+533824>>1]}v[g>>2]=f;g=e|1;f=w[g+b|0];if(f>>>0>=32){f=x[(f<<1)+533824>>1]}v[(g<<2)+h>>2]=f;e=e+2|0;d=d-2|0;if(d){continue}break}}if(!(c&1)){break a}d=(e<<2)+h|0;b=w[b+e|0];if(b>>>0>=32){b=x[(b<<1)+533824>>1]}v[d>>2]=b;break a;case 49:if((c|0)<1){break a}e=0;if((c|0)!=1){d=c&-2;while(1){g=(e<<2)+h|0;f=w[b+e|0];if(f>>>0>=32){f=x[(f<<1)+533376>>1]}v[g>>2]=f;g=e|1;f=w[g+b|0];if(f>>>0>=32){f=x[(f<<1)+533376>>1]}v[(g<<2)+h>>2]=f;e=e+2|0;d=d-2|0;if(d){continue}break}}if(!(c&1)){break a}d=(e<<2)+h|0;b=w[b+e|0];if(b>>>0>=32){b=x[(b<<1)+533376>>1]}v[d>>2]=b;break a;case 34:if((c|0)<1){break a}e=0;if((c|0)!=1){d=c&-2;while(1){g=(e<<2)+h|0;f=w[b+e|0];if(f>>>0>=32){f=x[(f<<1)+532928>>1]}v[g>>2]=f;g=e|1;f=w[g+b|0];if(f>>>0>=32){f=x[(f<<1)+532928>>1]}v[(g<<2)+h>>2]=f;e=e+2|0;d=d-2|0;if(d){continue}break}}if(!(c&1)){break a}d=(e<<2)+h|0;b=w[b+e|0];if(b>>>0>=32){b=x[(b<<1)+532928>>1]}v[d>>2]=b;break a;case 127:break j;case 94:break k;case 110:break l;case 76:break m;case 33:break o;case 6:break c;case 1:break d;case 8:break e;case 2:break f;case 0:break g;case 3:case 4:case 5:case 7:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 48:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 59:case 60:case 61:case 62:case 63:case 64:case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 91:case 92:case 93:case 95:case 96:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:case 123:case 124:case 125:case 126:break h}}if((c|0)<1){break a}e=0;if((c|0)!=1){d=c&-2;while(1){g=(e<<2)+h|0;f=w[b+e|0];if(f>>>0>=32){f=x[(f<<1)+532480>>1]}v[g>>2]=f;g=e|1;f=w[g+b|0];if(f>>>0>=32){f=x[(f<<1)+532480>>1]}v[(g<<2)+h>>2]=f;e=e+2|0;d=d-2|0;if(d){continue}break}}if(!(c&1)){break a}d=(e<<2)+h|0;b=w[b+e|0];if(b>>>0>=32){b=x[(b<<1)+532480>>1]}v[d>>2]=b;break a}if((c|0)<1){break a}e=0;if((c|0)!=1){d=c&-2;while(1){g=(e<<2)+h|0;f=w[b+e|0];if(f>>>0>=32){f=x[(f<<1)+532032>>1]}v[g>>2]=f;g=e|1;f=w[g+b|0];if(f>>>0>=32){f=x[(f<<1)+532032>>1]}v[(g<<2)+h>>2]=f;e=e+2|0;d=d-2|0;if(d){continue}break}}if(!(c&1)){break a}d=(e<<2)+h|0;b=w[b+e|0];if(b>>>0>=32){b=x[(b<<1)+532032>>1]}v[d>>2]=b;break a}if((c|0)<1){break a}e=0;if((c|0)!=1){d=c&-2;while(1){g=(e<<2)+h|0;f=w[b+e|0];if(f>>>0>=32){f=x[(f<<1)+531584>>1]}v[g>>2]=f;g=e|1;f=w[g+b|0];if(f>>>0>=32){f=x[(f<<1)+531584>>1]}v[(g<<2)+h>>2]=f;e=e+2|0;d=d-2|0;if(d){continue}break}}if(!(c&1)){break a}d=(e<<2)+h|0;b=w[b+e|0];if(b>>>0>=32){b=x[(b<<1)+531584>>1]}v[d>>2]=b;break a}if((c|0)<1){break a}e=0;if((c|0)!=1){d=c&-2;while(1){g=(e<<2)+h|0;f=w[b+e|0];if(f>>>0>=32){f=x[(f<<1)+531136>>1]}v[g>>2]=f;g=e|1;f=w[g+b|0];if(f>>>0>=32){f=x[(f<<1)+531136>>1]}v[(g<<2)+h>>2]=f;e=e+2|0;d=d-2|0;if(d){continue}break}}if(!(c&1)){break a}d=(e<<2)+h|0;b=w[b+e|0];if(b>>>0>=32){b=x[(b<<1)+531136>>1]}v[d>>2]=b;break a}if((c|0)<1){break a}e=0;if((c|0)!=1){d=c&-2;while(1){g=(e<<2)+h|0;f=w[b+e|0];if(f>>>0>=32){f=x[(f<<1)+530688>>1]}v[g>>2]=f;g=e|1;f=w[g+b|0];if(f>>>0>=32){f=x[(f<<1)+530688>>1]}v[(g<<2)+h>>2]=f;e=e+2|0;d=d-2|0;if(d){continue}break}}if(!(c&1)){break a}d=(e<<2)+h|0;b=w[b+e|0];if(b>>>0>=32){b=x[(b<<1)+530688>>1]}v[d>>2]=b;break a}if((c|0)<1){break a}e=0;if((c|0)!=1){d=c&-2;while(1){g=(e<<2)+h|0;f=w[b+e|0];if(f>>>0>=32){f=x[(f<<1)+530240>>1]}v[g>>2]=f;g=e|1;f=w[g+b|0];if(f>>>0>=32){f=x[(f<<1)+530240>>1]}v[(g<<2)+h>>2]=f;e=e+2|0;d=d-2|0;if(d){continue}break}}if(!(c&1)){break a}d=(e<<2)+h|0;b=w[b+e|0];if(b>>>0>=32){b=x[(b<<1)+530240>>1]}v[d>>2]=b;break a}if((c|0)<1){break a}f=c&3;e=0;if(c-1>>>0>=3){d=c&-4;while(1){v[(e<<2)+h>>2]=w[b+e|0]|61440;g=e|1;v[(g<<2)+h>>2]=w[b+g|0]|61440;g=e|2;v[(g<<2)+h>>2]=w[b+g|0]|61440;g=e|3;v[(g<<2)+h>>2]=w[b+g|0]|61440;e=e+4|0;d=d-4|0;if(d){continue}break}}if(!f){break a}while(1){v[(e<<2)+h>>2]=w[b+e|0]|61440;e=e+1|0;f=f-1|0;if(f){continue}break}break a}if((c|0)<1){break a}f=c&3;e=0;if(c-1>>>0>=3){d=c&-4;while(1){v[(e<<2)+h>>2]=w[b+e|0];g=e|1;v[(g<<2)+h>>2]=w[b+g|0];g=e|2;v[(g<<2)+h>>2]=w[b+g|0];g=e|3;v[(g<<2)+h>>2]=w[b+g|0];e=e+4|0;d=d-4|0;if(d){continue}break}}if(!f){break a}while(1){v[(e<<2)+h>>2]=w[b+e|0];e=e+1|0;f=f-1|0;if(f){continue}break}break a}if((c|0)<1){break b}while(1){d=w[b+i|0];p:{q:{r:{if((e|0)==-1){e=x[(d<<1)+535232>>1];if((e|0)!=65535){break r}break p}d=d|e<<8&65280;e=535744;f=33088;while(1){if((d|0)==(f&65535)){e=x[e+2>>1];break r}f=x[e+4>>1];e=e+4|0;if((f|0)!=65535){continue}break}break q}v[(g<<2)+h>>2]=e&65535;g=g+1|0}d=-1}e=d;i=i+1|0;if((i|0)!=(c|0)){continue}break}break b}if((c|0)<1){break b}while(1){d=w[b+i|0];l=(g<<2)+h|0;s:{t:{u:{v:{if((e|0)==-1){if(d-129>>>0>=126){break v}break s}d=d|e<<8&65280;e=777072;f=33089;while(1){j=e+2|0;if((d|0)==(f&65535)){break u}f=x[e+4>>1];e=e+4|0;if((f|0)!=65535){continue}break}break t}j=(d<<1)+776560|0}v[l>>2]=x[j>>1];g=g+1|0}d=-1}e=d;i=i+1|0;if((i|0)!=(c|0)){continue}break}break b}if((c|0)<1){break b}while(1){d=w[b+i|0];l=(g<<2)+h|0;w:{x:{y:{z:{if((e|0)==-1){if(d-129>>>0>=126){break z}break w}d=d|e<<8&65280;e=722544;f=41280;while(1){j=e+2|0;if((d|0)==(f&65535)){break y}f=x[e+4>>1];e=e+4|0;if((f|0)!=65535){continue}break}break x}j=(d<<1)+776560|0}v[l>>2]=x[j>>1];g=g+1|0}d=-1}e=d;i=i+1|0;if((i|0)!=(c|0)){continue}break}break b}if((c|0)<1){break b}while(1){d=w[b+i|0];l=(g<<2)+h|0;A:{B:{C:{D:{if((e|0)==-1){if(d-129>>>0>=126){break D}break A}d=d|e<<8&65280;e=654336;f=33089;while(1){j=e+2|0;if((d|0)==(f&65535)){break C}f=x[e+4>>1];e=e+4|0;if((f|0)!=65535){continue}break}break B}j=(d<<1)+776560|0}v[l>>2]=x[j>>1];g=g+1|0}d=-1}e=d;i=i+1|0;if((i|0)!=(c|0)){continue}break}break b}if((c|0)<1){break b}while(1){d=w[b+i|0];l=(g<<2)+h|0;E:{F:{G:{H:{if((e|0)==-1){if(d-129>>>0>=126){break H}break E}d=d|e<<8&65280;e=567168;f=33088;while(1){j=e+2|0;if((d|0)==(f&65535)){break G}f=x[e+4>>1];e=e+4|0;if((f|0)!=65535){continue}break}break F}j=(d<<1)+566656|0}v[l>>2]=x[j>>1];g=g+1|0}d=-1}e=d;i=i+1|0;if((i|0)!=(c|0)){continue}break}}v[(g<<2)+h>>2]=0}v[(c<<2)+h>>2]=0;I:{b=ve(h);if(b>>>0<1073741808){J:{K:{if(b>>>0>=2){c=b+4&-4;f=fc(c<<2);v[k+8>>2]=c|-2147483648;v[k>>2]=f;v[k+4>>2]=b;break K}t[k+11|0]=b;f=k;if(!b){break J}}v[299999]=0;tc(f,h,b);c=v[299999];v[299999]=0;if((c|0)==1){break I}}v[(b<<2)+f>>2]=0;dc(h);v[a+8>>2]=v[k+8>>2];b=v[k+4>>2];v[a>>2]=v[k>>2];v[a+4>>2]=b;Qb=k+16|0;return}$d(k);L()}W(0)|0;O()|0;lc();L()}function OLa(a,b){a=a|0;b=b|0;var 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;n=Qb-16|0;Qb=n;l=v[a+16>>2];p=v[a+20>>2]-l|0;r=v[a+4>>2];g=v[r+8>>2];i=w[g+73|0];j=v[((i<<2)+g|0)+32>>2];q=v[a+12>>2];c=v[a+8>>2];d=v[r+56>>2];m=w[g+72|0];a:{b:{while(1){c:{k=(d|0)!=0&(p|0)>0;d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{if(m){if(k){break q}e=0;break p}r:{s:{if(!k){if(c>>>0>=q>>>0){m=0;break a}m=0;e=15;if((p|0)<1){break b}t:{u:{while(1){k=c+2|0;d=x[c>>1];c=d-13312|0;if(c>>>0>41983){break t}if((p|0)<2){break r}c=d<<8|d>>>8;t[l|0]=c;t[l+1|0]=c>>>8;l=l+2|0;if(k>>>0>=q>>>0){break u}d=(p|0)<3;c=k;p=p-2|0;if(!d){continue}break}d=0;break b}c=k;d=0;break a}if(c>>>0>=48896){f=2;if(!(k>>>0>=q>>>0|x[k>>1]-13312>>>0>=41984)){break d}if(!(!(d-48>>>0<10|d-97>>>0<26)&d-65>>>0>25)){d=((i&255)<<8)+57344|d;m=1;f=2;break d}h=0;v:{f=v[g+32>>2];w:{if(d-f>>>0<128){break w}h=1;f=v[g+36>>2];if(d-f>>>0<128){break w}h=2;f=v[g+40>>2];if(d-f>>>0<128){break w}h=3;f=v[g+44>>2];if(d-f>>>0<128){break w}h=4;f=v[g+48>>2];if(d-f>>>0<128){break w}h=5;f=v[g+52>>2];if(d-f>>>0<128){break w}h=6;f=v[g+56>>2];if(d-f>>>0<128){break w}h=7;f=v[g+60>>2];if(d-f>>>0>127){break v}}i=t[g+75|0];c=i;while(1){c=(c|0)<1?7:c-1|0;if(w[(g+c|0)+76|0]!=(h|0)){continue}break}e=c+1|0;e=(e|0)==8?0:e;if((i|0)!=(e|0)){while(1){i=c;c=g+76|0;t[i+c|0]=w[c+e|0];c=e;e=c+1|0;e=(e|0)==8?0:e;if((e|0)!=t[g+75|0]){continue}break}}t[(c+g|0)+76|0]=h;d=d-f|h<<8|57472;m=1;i=h;j=f;f=2;break d}e=nz(d,n+12|0);if((e|0)<0){break o}m=1;c=t[g+75|0];i=t[(c+g|0)+76|0];c=c+1|0;t[g+75|0]=(c&255)==8?0:c;c=i&255;j=v[n+12>>2];v[((c<<2)+g|0)+32>>2]=j;mz(g,i);d=d-j|((c<<16)+15204352|e<<8)|128;f=3;break d}if(d>>>0>57343){break s}if(d&1024){break n}c=k}if(c>>>0>=q>>>0){m=0;break a}f=x[c>>1];if((f&64512)!=56320){m=0;e=12;break b}k=c+2|0;e=0;x:{c=f+(d<<10)|0;m=c-56613888|0;h=v[g+32>>2];y:{if(m-h>>>0<128){break y}e=1;h=v[g+36>>2];if(m-h>>>0<128){break y}e=2;h=v[g+40>>2];if(m-h>>>0<128){break y}e=3;h=v[g+44>>2];if(m-h>>>0<128){break y}e=4;h=v[g+48>>2];if(m-h>>>0<128){break y}e=5;h=v[g+52>>2];if(m-h>>>0<128){break y}e=6;h=v[g+56>>2];if(m-h>>>0<128){break y}e=7;h=v[g+60>>2];if(m-h>>>0>127){break x}}if(k>>>0>>0&x[k>>1]-13312>>>0<41984){break x}i=t[g+75|0];d=i;while(1){d=(d|0)<1?7:d-1|0;if(w[(g+d|0)+76|0]!=(e|0)){continue}break}c=d+1|0;c=(c|0)==8?0:c;if((i|0)!=(c|0)){while(1){i=d;d=g+76|0;t[i+d|0]=w[c+d|0];d=c;c=c+1|0;c=(c|0)==8?0:c;if((c|0)!=t[g+75|0]){continue}break}}t[(d+g|0)+76|0]=e;d=m-h|e<<8|57472;m=1;i=e;j=h;f=2;break d}if(x[k>>1]!=(d&65535)|k>>>0>=q>>>0){break k}if(c-56614080>>>0<=127){j=192;v[n+12>>2]=192;e=249;break l}if(c-56614480>>>0<128){j=592;v[n+12>>2]=592;e=250;break l}if(c-56614768>>>0<128){j=880;v[n+12>>2]=880;e=251;break l}if(c-56615216>>>0<128){j=1328;v[n+12>>2]=1328;e=252;break l}if(c-56626240>>>0<128){j=12352;v[n+12>>2]=12352;e=253;break l}if(c-56626336>>>0<128){j=12448;v[n+12>>2]=12448;e=254;break l}if(c-56679264>>>0<128){j=65376;v[n+12>>2]=65376;e=255;break l}if(m>>>0>=128){break m}break k}d=d|15728640;break j}p=1;f=2;break c}e=1}while(1){z:{A:{B:{C:{D:{if(!e){if(c>>>0>=q>>>0){break a}if((p|0)<1){e=15;break b}k=c+2|0;E:{F:{d=x[c>>1];if(d-32>>>0>95){if(d>>>0>31){break E}if(!(1<>>0<128){break D}if((d&63488)!=55296){break A}if(d&1024){break n}c=k;e=1;continue}if(c>>>0>=q>>>0){break a}h=x[c>>1];if((h&64512)!=56320){e=12;break b}k=c+2|0;c=h+(d<<10)|0;o=c-56613888|0;e=o-j|0;if(e>>>0>=128){break B}}t[l|0]=e|128}c=k;l=l+1|0;p=p-1|0;d=0;break z}e=0;G:{f=v[g+32>>2];H:{if(o-f>>>0<128){break H}e=1;f=v[g+36>>2];if(o-f>>>0<128){break H}e=2;f=v[g+40>>2];if(o-f>>>0<128){break H}e=3;f=v[g+44>>2];if(o-f>>>0<128){break H}e=4;f=v[g+48>>2];if(o-f>>>0<128){break H}e=5;f=v[g+52>>2];if(o-f>>>0<128){break H}e=6;f=v[g+56>>2];if(o-f>>>0<128){break H}e=7;f=v[g+60>>2];if(o-f>>>0>127){break G}}i=t[g+75|0];d=i;while(1){d=(d|0)<1?7:d-1|0;if(w[(g+d|0)+76|0]!=(e|0)){continue}break}c=d+1|0;c=(c|0)==8?0:c;if((i|0)!=(c|0)){while(1){i=d;d=g+76|0;t[i+d|0]=w[c+d|0];d=c;c=c+1|0;c=(c|0)==8?0:c;if((c|0)!=t[g+75|0]){continue}break}}t[(d+g|0)+76|0]=e;d=o-f|e<<8|4224;i=e;j=f;f=2;break d}if(c-56614080>>>0<=127){j=192;v[n+12>>2]=192;e=249;break g}if(c-56614480>>>0<128){j=592;v[n+12>>2]=592;e=250;break g}if(c-56614768>>>0<128){j=880;v[n+12>>2]=880;e=251;break g}if(c-56615216>>>0<128){j=1328;v[n+12>>2]=1328;e=252;break g}if(c-56626240>>>0<128){j=12352;v[n+12>>2]=12352;e=253;break g}if(c-56626336>>>0<128){j=12448;v[n+12>>2]=12448;e=254;break g}if(c-56679264>>>0<128){j=65376;v[n+12>>2]=65376;e=255;break g}if(o>>>0>=128){break h}break f}if(d>>>0<=159){d=d&127|512;break o}if((d|0)==65279|d>>>0>=65520){break i}h=0;I:{J:{f=v[g+32>>2];K:{if(d-f>>>0<128){break K}h=1;f=v[g+36>>2];if(d-f>>>0<128){break K}h=2;f=v[g+40>>2];if(d-f>>>0<128){break K}h=3;f=v[g+44>>2];if(d-f>>>0<128){break K}h=4;f=v[g+48>>2];if(d-f>>>0<128){break K}h=5;f=v[g+52>>2];if(d-f>>>0<128){break K}h=6;f=v[g+56>>2];if(d-f>>>0<128){break K}h=7;f=v[g+60>>2];if(d-f>>>0>127){break J}}L:{if(k>>>0>=q>>>0){break L}c=x[k>>1];if(c>>>0>f+127>>>0){break I}if(c>>>0>=f>>>0){break L}if(c>>>0>127){break I}if(c>>>0>31){break L}if(!(1<=0){d=(c<<8)+256|d-v[(c<<2)+862416>>2];f=2;break d}e=nz(d,n+12|0);if((e|0)>=0){c=t[g+75|0];i=t[(c+g|0)+76|0];c=c+1|0;t[g+75|0]=(c&255)==8?0:c;c=i&255;j=v[n+12>>2];v[((c<<2)+g|0)+32>>2]=j;mz(g,i);d=d-j|((c<<16)+1572864|e<<8)|128;f=3;break d}if(k>>>0>>0&x[k>>1]-13312>>>0>41983|d-13312>>>0>41983){break i}d=d|983040;break j}d=(h<<8)+256|d-f|128;break o}e=0;continue}}f=2;break d}e=12;c=k;break b}if(!(!(c-56732672>>>0<12288|m>>>0<13312)&(m&-16384)!=65536)){j=m&2147483520;v[n+12>>2]=j;e=m>>>7|0;break l}if((m|0)==65279|c-56671232>>>0>8175){break k}j=m&2147483520;v[n+12>>2]=j;e=c-56657920>>>7|0}c=t[g+75|0];i=w[(c+g|0)+76|0];c=c+1|0;c=(c&255)==8?0:c;t[g+75|0]=c;v[((i<<2)+g|0)+32>>2]=j;f=c<<24>>24;d=f;while(1){d=(d|0)<1?7:d-1|0;if(w[(g+d|0)+76|0]!=(i|0)){continue}break}c=d+1|0;c=(c|0)==8?0:c;if((f|0)!=(c|0)){while(1){f=d;d=g+76|0;t[f+d|0]=w[c+d|0];d=c;c=c+1|0;c=(c|0)==8?0:c;if((c|0)!=t[g+75|0]){continue}break}}t[(d+g|0)+76|0]=i;d=m-j|((e<<8)+268304384|i<<21)|-251658112;m=1;f=4;break d}d=f|d<<16;break e}m=0;f=3;break d}d=d|917504;f=3;break d}if(!(!(c-56732672>>>0<12288|o>>>0<13312)&(o&-16384)!=65536)){j=o&2147483520;v[n+12>>2]=j;e=o>>>7|0;break g}if((o|0)==65279|c-56671232>>>0>8175){break f}j=o&2147483520;v[n+12>>2]=j;e=c-56657920>>>7|0}c=t[g+75|0];i=w[(c+g|0)+76|0];c=c+1|0;c=(c&255)==8?0:c;t[g+75|0]=c;v[((i<<2)+g|0)+32>>2]=j;f=c<<24>>24;d=f;while(1){d=(d|0)<1?7:d-1|0;if(w[(g+d|0)+76|0]!=(i|0)){continue}break}c=d+1|0;c=(c|0)==8?0:c;if((f|0)!=(c|0)){while(1){f=d;d=g+76|0;t[f+d|0]=w[c+d|0];d=c;c=c+1|0;c=(c|0)==8?0:c;if((c|0)!=t[g+75|0]){continue}break}}t[(d+g|0)+76|0]=i;d=o-j|((e<<8)-131072|i<<21)|184549504;f=4;break d}t[l|0]=15;p=p-1|0;l=l+1|0;d=h|d<<16}m=0;f=4}if((f|0)>(p|0)){break c}M:{switch(f-2|0){case 2:t[l|0]=d>>>24;l=l+1|0;case 1:t[l|0]=d>>>16;l=l+1|0;case 0:c=d<<8|(d&65280)>>>8;t[l|0]=c;t[l+1|0]=c>>>8;l=l+2|0;break;default:break M}}p=p-f|0;d=0;c=k;continue}break}c=k;e=r+76|0;N:{O:{P:{Q:{R:{k=f-p|0;switch(k-1|0){case 0:break O;case 1:break P;case 2:break Q;case 3:break R;default:break N}}t[r+76|0]=d>>>24;e=r+77|0}t[e|0]=d>>>16;e=e+1|0}t[e|0]=d>>>8;e=e+1|0}t[e|0]=d}t[r+63|0]=k;k=d>>>(k<<3)|0;d=0;e=15;S:{switch(p-1|0){case 2:t[l|0]=k>>>16;l=l+1|0;case 1:t[l|0]=k>>>8;l=l+1|0;break;case 0:break S;default:break b}}t[l|0]=k;l=l+1|0}v[b>>2]=e}t[g+73|0]=i;t[g+72|0]=m;v[r+56>>2]=d;v[a+16>>2]=l;v[a+8>>2]=c;Qb=n+16|0}function Roa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Qb-1072|0;Qb=f;i=f+48|0;d=Qb-96|0;Qb=d;v[d+88>>2]=0;v[d+92>>2]=v[282402];v[d+72>>2]=0;v[d+76>>2]=0;v[299999]=0;v[d+64>>2]=0;v[d+68>>2]=0;g=d- -64|0;v[g>>2]=982500;v[g+4>>2]=0;v[g+8>>2]=0;v[g+12>>2]=0;c=v[299999];v[299999]=0;a:{b:{c:{d:{e:{if((c|0)!=1){v[299999]=0;t[d+80|0]=0;V(4663,287589,d- -64|0);c=v[299999];v[299999]=0;if((c|0)==1){break d}c=v[a+8>>2];if((c|0)!=-1){v[299999]=0;v[d+8>>2]=c&255;v[d>>2]=c>>>16&255;v[d+4>>2]=c>>>8&255;Y(4635,d+88|0,340323,d|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break d}c=v[d+88>>2];c=v[(c?c+12|0:1129608)>>2];v[299999]=0;V(4661,d- -64|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break d}}v[299999]=0;V(4663,255740,d- -64|0);c=v[299999];v[299999]=0;if((c|0)==1){break d}f:{g:{h:{i:{c=v[a+12>>2];if(!((c|0)<=0&(!c|(c|0)<-4))){v[299999]=0;Q(4433,d+88|0,346375)|0;c=v[299999];v[299999]=0;if((c|0)==1){break d}c=v[a+12>>2];j:{if((c|0)<=-1){v[299999]=0;Q(4644,d+88|0,v[983104-(c<<2)>>2])|0;c=v[299999];v[299999]=0;if((c|0)==1){break d}break j}v[299999]=0;c=Q(4545,d+48|0,c|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break i}v[299999]=0;U(4423,d+56|0,292677,c|0);e=v[299999];v[299999]=0;if((e|0)==1){break h}v[299999]=0;Q(4606,d+88|0,d+56|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break g}ec(d+56|0);ec(c)}v[299999]=0;Q(4644,d+88|0,344941)|0;c=v[299999];v[299999]=0;if((c|0)==1){break d}c=v[d+88>>2];c=v[(c?c+12|0:1129608)>>2];v[299999]=0;V(4661,d- -64|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break d}}v[299999]=0;V(4663,283880,d- -64|0);c=v[299999];v[299999]=0;if((c|0)==1){break d}c=v[a+16>>2];if(c-1>>>0<=3){break f}break e}a=P()|0;O()|0;break c}a=P()|0;O()|0;ec(c);break c}a=P()|0;O()|0;ec(d+56|0);ec(c);break c}v[299999]=0;c=Q(4340,d+40|0,v[(c<<2)+983136>>2])|0;e=v[299999];v[299999]=0;k:{l:{m:{n:{if((e|0)!=1){v[299999]=0;U(4423,d+48|0,346502,c|0);e=v[299999];v[299999]=0;if((e|0)==1){break n}v[299999]=0;U(4546,d+56|0,d+48|0,344941);e=v[299999];v[299999]=0;if((e|0)==1){break m}v[299999]=0;Q(4535,d+88|0,d+56|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break l}ec(d+56|0);ec(d+48|0);ec(c);c=v[d+88>>2];c=v[(c?c+12|0:1129608)>>2];v[299999]=0;V(4661,d- -64|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break d}break e}a=P()|0;O()|0;break c}a=P()|0;O()|0;ec(c);break c}a=P()|0;O()|0;break k}a=P()|0;O()|0;ec(d+56|0)}ec(d+48|0);ec(c);break c}a=P()|0;O()|0;break b}v[299999]=0;V(4663,248311,d- -64|0);c=v[299999];v[299999]=0;if((c|0)==1){break d}o:{if(!(v[a+20>>2]|v[a+24>>2])){break o}v[299999]=0;c=Q(4340,d+24|0,346367)|0;e=v[299999];v[299999]=0;p:{q:{r:{s:{t:{u:{v:{w:{if((e|0)!=1){e=v[a+20>>2];v[299999]=0;U(4546,d+32|0,c|0,v[((e>>>0>5?0:e)<<2)+983168>>2]);e=v[299999];v[299999]=0;if((e|0)==1){break w}v[299999]=0;U(4546,d+40|0,d+32|0,346799);e=v[299999];v[299999]=0;if((e|0)==1){break v}e=v[a+24>>2];v[299999]=0;U(4546,d+48|0,d+40|0,v[((e>>>0>5?0:e)<<2)+983168>>2]);e=v[299999];v[299999]=0;if((e|0)==1){break u}v[299999]=0;U(4546,d+56|0,d+48|0,344941);e=v[299999];v[299999]=0;if((e|0)==1){break t}v[299999]=0;Q(4535,d+88|0,d+56|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break s}ec(d+56|0);ec(d+48|0);ec(d+40|0);ec(d+32|0);ec(c);c=v[d+88>>2];c=v[(c?c+12|0:1129608)>>2];v[299999]=0;V(4661,d- -64|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break d}break o}a=P()|0;O()|0;break c}a=P()|0;O()|0;ec(c);break c}a=P()|0;O()|0;break p}a=P()|0;O()|0;break q}a=P()|0;O()|0;break r}a=P()|0;O()|0;ec(d+56|0)}ec(d+48|0)}ec(d+40|0)}ec(d+32|0);ec(c);break c}v[299999]=0;V(4663,304074,d- -64|0);c=v[299999];v[299999]=0;if((c|0)==1){break d}x:{if(!v[a+48>>2]){break x}v[299999]=0;e=Q(4340,d+56|0,344944)|0;c=v[299999];v[299999]=0;y:{z:{if((c|0)!=1){v[299999]=0;Q(4644,e|0,304074)|0;c=v[299999];v[299999]=0;if((c|0)==1){break z}v[299999]=0;h=a+44|0;c=h;j=v[c+24>>2];v[d+52>>2]=c;v[d+48>>2]=j;c=v[299999];v[299999]=0;if((c|0)!=1){A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{c=v[d+48>>2];K:{if(!c){break K}while(1){if((h|0)!=v[d+52>>2]){v[299999]=0;V(4468,d+48|0,h|0);a=v[299999];v[299999]=0;if((a|0)==1){break I}break y}v[299999]=0;U(4423,d+16|0,344943,c+16|0);c=v[299999];v[299999]=0;if((c|0)==1){break J}v[299999]=0;U(4546,d+24|0,d+16|0,346079);c=v[299999];v[299999]=0;if((c|0)==1){break H}c=v[d+48>>2];if(!((h|0)==v[d+52>>2]?c:0)){v[299999]=0;V(4468,d+48|0,h|0);a=v[299999];v[299999]=0;if((a|0)!=1){break y}a=P()|0;O()|0;break C}v[299999]=0;U(4547,d+32|0,d+24|0,c+24|0);c=v[299999];v[299999]=0;if((c|0)==1){break G}v[299999]=0;U(4546,d+40|0,d+32|0,344937);c=v[299999];v[299999]=0;if((c|0)==1){break F}v[299999]=0;Q(4606,e|0,d+40|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break E}ec(d+40|0);ec(d+32|0);ec(d+24|0);ec(d+16|0);c=v[d+48>>2];if(!c){break K}c=v[c>>2];v[d+48>>2]=c;if(c){continue}break}}v[299999]=0;Q(4644,e|0,344940)|0;c=v[299999];v[299999]=0;if((c|0)!=1){break A}break z}a=P()|0;O()|0;ec(e);break c}a=P()|0;O()|0;ec(e);break c}a=P()|0;O()|0;break B}a=P()|0;O()|0;break C}a=P()|0;O()|0;break D}a=P()|0;O()|0;ec(d+40|0)}ec(d+32|0)}ec(d+24|0)}ec(d+16|0);ec(e);break c}c=v[e>>2];c=v[(c?c+12|0:1129608)>>2];v[299999]=0;V(4661,d- -64|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break z}ec(e);break x}a=P()|0;O()|0;ec(e);break c}a=P()|0;O()|0;break c}a=P()|0;O()|0;ec(e);break c}L()}v[299999]=0;V(4663,989236,d- -64|0);c=v[299999];v[299999]=0;if((c|0)==1){break d}L:{M:{N:{O:{P:{Q:{R:{c=v[a+36>>2];if(c){while(1){e=v[c+8>>2];v[299999]=0;V(4664,d+56|0,e|0);e=v[299999];v[299999]=0;if((e|0)==1){break R}e=v[d+56>>2];e=v[(e?e+12|0:1129608)>>2];v[299999]=0;V(4661,d- -64|0,e|0);e=v[299999];v[299999]=0;if((e|0)==1){break Q}ec(d+56|0);c=v[c>>2];if(c){continue}break}}v[299999]=0;R(4473,d+56|0);c=v[299999];v[299999]=0;if((c|0)==1){break P}e=v[d+56>>2];c=v[d+72>>2];if(c){while(1){h=v[c+8>>2];v[299999]=0;fa(4646,h|0,e|0,1,0,0);h=v[299999];v[299999]=0;if((h|0)==1){break N}c=v[c>>2];if(c){continue}break}}v[i>>2]=0;v[i+4>>2]=v[282402];c=v[v[e>>2]+28>>2];v[299999]=0;c=S(c|0,e|0)|0;h=v[299999];v[299999]=0;S:{if((h|0)==1){break S}h=v[v[e>>2]+20>>2];v[299999]=0;Z(h|0,e|0,0,0,0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break S}v[299999]=0;h=Q(4361,i|0,c|0)|0;j=v[299999];v[299999]=0;if((j|0)==1){break S}j=v[v[e>>2]+8>>2];v[299999]=0;Y(j|0,e|0,h|0,c|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){break O}}a=P()|0;O()|0;ec(i);break M}a=P()|0;O()|0;break c}a=P()|0;O()|0;ec(d+56|0);break c}a=P()|0;O()|0;break c}c=v[d+56>>2];v[d+56>>2]=0;T:{if(!c){break T}v[299999]=0;e=v[c+4>>2]-1|0;v[c+4>>2]=e;i=v[299999];v[299999]=0;if((i|0)==1){break L}if(e){break T}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break L}}Ic(g);ec(d+88|0);Qb=d+96|0;break a}a=P()|0;O()|0}ec(d+56|0);break c}W(0)|0;O()|0;lc();L()}a=P()|0;O()|0}Ic(g)}ec(d+88|0);T(a|0);L()}g=v[f+48>>2];d=v[(g?g+12|0:1129608)>>2];v[f+24>>2]=0;v[f+28>>2]=0;v[f+16>>2]=0;v[f+20>>2]=0;v[299999]=0;g=f+16|0;v[g>>2]=982500;v[g+4>>2]=0;v[g+8>>2]=0;v[g+12>>2]=0;c=v[299999];v[299999]=0;U:{V:{W:{if((c|0)!=1){v[299999]=0;t[f+32|0]=0;V(4661,f+16|0,d|0);d=v[299999];v[299999]=0;if((d|0)==1){a=P()|0;O()|0;Ic(g);break W}ec(f+48|0);v[f+8>>2]=0;v[f+12>>2]=v[282402];X:{Y:{Z:{while(1){_:{d=v[v[b>>2]+8>>2];v[299999]=0;d=Y(d|0,b|0,f+48|0,1024)|0;c=v[299999];v[299999]=0;if((c|0)==1){break _}if(!d){break X}v[299999]=0;d=Y(4605,f+40|0,f+48|0,d|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break Z}v[299999]=0;Q(4606,f+8|0,f+40|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break Y}ec(d);continue}break}a=P()|0;O()|0;break U}a=P()|0;O()|0;break U}a=P()|0;O()|0;ec(d);break U}b=v[f+8>>2];b=v[(b?b+12|0:1129608)>>2];v[299999]=0;V(4661,f+16|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break V}v[299999]=0;V(4662,a|0,f+16|0);a=v[299999];v[299999]=0;if((a|0)==1){break V}ec(f+8|0);Ic(g);Qb=f+1072|0;return}a=P()|0;O()|0}ec(f+48|0);T(a|0);L()}a=P()|0;O()|0}ec(f+8|0);Ic(g);T(a|0);L()}function $na(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;c=Qb-80|0;Qb=c;a:{b:{h=b+8|0;if(Sk(d,h)){d=v[b+44>>2];if(d){v[d+4>>2]=v[d+4>>2]+1;b=v[b+44>>2]}else{b=0}v[a>>2]=b;break b}c:{d:{e:{f:{if(!w[b+89|0]){a=vc(c+32|0,231584,241010,286,226767,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break f}b=P()|0;O()|0;qc(a);T(b|0);L()}g:{h:{i:{j:{k:{f=v[b+136>>2];if(f){while(1){e=0;l:{m:{n:{o:{p:{g=v[f+8>>2];if(g){v[299999]=0;v[g+4>>2]=v[g+4>>2]+1;e=v[299999];v[299999]=0;if((e|0)==1){break p}e=v[f+8>>2]}v[299999]=0;v[c+32>>2]=e;g=Q(4461,e+24|0,d|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break k}if(!g){break l}v[299999]=0;R(4751,c+24|0);b=v[299999];v[299999]=0;if((b|0)==1){break n}v[299999]=0;Q(4344,e- -64|0,c+24|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break m}b=v[c+24>>2];v[c+24>>2]=0;q:{if(!b){break q}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(d){break q}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[e+64>>2];if(b){v[299999]=0;v[b+4>>2]=v[b+4>>2]+1;b=v[299999];v[299999]=0;if((b|0)==1){break o}b=v[e+64>>2]}else{b=0}v[a>>2]=b;v[299999]=0;a=v[e+4>>2]-1|0;v[e+4>>2]=a;b=v[299999];v[299999]=0;if((b|0)!=1){if(a){break b}v[299999]=0;R(4338,e|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}}break a}a=P()|0;O()|0;T(a|0);L()}e=P()|0;O()|0;break j}e=P()|0;O()|0;break j}e=P()|0;O()|0;ec(c+24|0);break j}r:{if(!e){break r}v[299999]=0;g=v[e+4>>2]-1|0;v[e+4>>2]=g;i=v[299999];v[299999]=0;if((i|0)==1){break a}if(g){break r}v[299999]=0;R(4338,e|0);e=v[299999];v[299999]=0;if((e|0)==1){break a}}f=v[f>>2];if(f){continue}break}}v[299999]=0;v[c+72>>2]=0;e=b+92|0;f=v[e>>2];g=v[299999];v[299999]=0;if((g|0)==1){break d}if(!(f&1)){break e}switch(v[b+56>>2]-1|0){case 1:case 3:case 4:break g;case 2:break h;case 0:break i;default:break e}}e=P()|0;O()|0}ec(c+32|0);T(e|0);L()}v[299999]=0;e=v[e>>2];f=v[299999];v[299999]=0;if((f|0)==1){break d}if(!(e&2)){break e}v[299999]=0;V(4708,c+32|0,d|0);e=v[299999];v[299999]=0;s:{t:{u:{v:{w:{x:{y:{if((e|0)!=1){v[299999]=0;e=Q(4461,c+32|0,h|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break y}$c(c+32|0);if(e){break s}v[299999]=0;U(4713,c+16|0,d|0,0);a=v[299999];v[299999]=0;if((a|0)==1){break x}v[299999]=0;U(4423,c+24|0,358141,c+16|0);a=v[299999];v[299999]=0;if((a|0)==1){break w}a=v[c+24>>2];a=v[(a?a+12|0:1129608)>>2];v[299999]=0;a=aa(4369,c+32|0,a|0,241010,1511,344153,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break v}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break f}e=P()|0;O()|0;qc(a);break u}e=P()|0;O()|0;break c}e=P()|0;O()|0;$c(c+32|0);break c}e=P()|0;O()|0;break c}e=P()|0;O()|0;break t}e=P()|0;O()|0}ec(c+24|0)}ec(c+16|0);break c}e=v[b+108>>2];v[299999]=0;V(4537,c+32|0,d|0);f=v[299999];v[299999]=0;z:{A:{B:{C:{D:{E:{F:{G:{if((f|0)!=1){v[299999]=0;U(4756,c+8|0,e|0,c+32|0);e=v[299999];v[299999]=0;if((e|0)==1){break G}ec(c+32|0);e=v[c+8>>2];if(e){break A}v[299999]=0;V(4537,c+16|0,d|0);a=v[299999];v[299999]=0;if((a|0)==1){break F}v[299999]=0;U(4423,c+24|0,358113,c+16|0);a=v[299999];v[299999]=0;if((a|0)==1){break E}a=v[c+24>>2];a=v[(a?a+12|0:1129608)>>2];v[299999]=0;a=aa(4369,c+32|0,a|0,241010,1516,344153,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break D}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break f}e=P()|0;O()|0;qc(a);break C}e=P()|0;O()|0;break c}e=P()|0;O()|0;ec(c+32|0);break c}e=P()|0;O()|0;break z}e=P()|0;O()|0;break B}e=P()|0;O()|0}ec(c+24|0)}ec(c+16|0);break z}d=v[e+20>>2];e=v[e+24>>2];v[299999]=0;$(4757,c+32|0,b+44|0,d|0,e|0);b=v[299999];v[299999]=0;H:{if((b|0)!=1){v[299999]=0;Q(4344,c+72|0,c+32|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break H}ec(c+32|0);ec(c+8|0);break e}e=P()|0;O()|0;break z}e=P()|0;O()|0;ec(c+32|0)}ec(c+8|0);break c}v[299999]=0;e=v[e>>2];f=v[299999];v[299999]=0;if((f|0)==1){break d}if(!(e&2)){break e}v[299999]=0;V(4708,c+32|0,d|0);e=v[299999];v[299999]=0;I:{J:{K:{L:{M:{N:{O:{if((e|0)!=1){v[299999]=0;e=Q(4461,c+32|0,h|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break O}$c(c+32|0);if(e){break I}v[299999]=0;U(4713,c+16|0,d|0,0);a=v[299999];v[299999]=0;if((a|0)==1){break N}v[299999]=0;U(4423,c+24|0,358141,c+16|0);a=v[299999];v[299999]=0;if((a|0)==1){break M}a=v[c+24>>2];a=v[(a?a+12|0:1129608)>>2];v[299999]=0;a=aa(4369,c+32|0,a|0,241010,1530,344153,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break L}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break f}e=P()|0;O()|0;qc(a);break K}e=P()|0;O()|0;break c}e=P()|0;O()|0;$c(c+32|0);break c}e=P()|0;O()|0;break c}e=P()|0;O()|0;break J}e=P()|0;O()|0}ec(c+24|0)}ec(c+16|0);break c}e=v[b+48>>2];v[299999]=0;V(4537,c+32|0,d|0);f=v[299999];v[299999]=0;P:{Q:{R:{S:{T:{U:{V:{W:{if((f|0)!=1){v[299999]=0;U(4608,c+8|0,e|0,c+32|0);e=v[299999];v[299999]=0;if((e|0)==1){break W}ec(c+32|0);e=v[c+8>>2];if(e){break Q}v[299999]=0;V(4537,c+16|0,d|0);a=v[299999];v[299999]=0;if((a|0)==1){break V}v[299999]=0;U(4423,c+24|0,358113,c+16|0);a=v[299999];v[299999]=0;if((a|0)==1){break U}a=v[c+24>>2];a=v[(a?a+12|0:1129608)>>2];v[299999]=0;a=aa(4369,c+32|0,a|0,241010,1536,344153,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break T}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break f}e=P()|0;O()|0;qc(a);break S}e=P()|0;O()|0;break c}e=P()|0;O()|0;ec(c+32|0);break c}e=P()|0;O()|0;break P}e=P()|0;O()|0;break R}e=P()|0;O()|0}ec(c+24|0)}ec(c+16|0);break P}d=v[e+12>>2];e=v[e+8>>2];v[299999]=0;$(4757,c+32|0,b+44|0,e|0,d|0);b=v[299999];v[299999]=0;X:{if((b|0)!=1){v[299999]=0;Q(4344,c+72|0,c+32|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break X}ec(c+32|0);ec(c+8|0);break e}e=P()|0;O()|0;break P}e=P()|0;O()|0;ec(c+32|0)}ec(c+8|0);break c}v[299999]=0;e=v[e>>2];f=v[299999];v[299999]=0;if((f|0)==1){break d}Y:{Z:{_:{$:{aa:{ba:{ca:{da:{ea:{fa:{ga:{if(!(!(e&2)|v[b+56>>2]!=4)){b=v[b+48>>2];v[299999]=0;V(4537,c+32|0,d|0);e=v[299999];v[299999]=0;if((e|0)==1){break fa}v[299999]=0;U(4608,c+24|0,b|0,c+32|0);b=v[299999];v[299999]=0;if((b|0)==1){break ea}b=v[c+24>>2];v[c+24>>2]=0;if(!b){break ga}v[299999]=0;e=v[b+4>>2]-1|0;v[b+4>>2]=e;f=v[299999];v[299999]=0;if((f|0)==1){break Y}if(!e){v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break Y}}ec(c+32|0)}v[299999]=0;b=S(4469,d|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break d}if(!b){break e}v[299999]=0;$(4758,c+32|0,d|0,0,-1);b=v[299999];v[299999]=0;if((b|0)==1){break _}v[299999]=0;Q(4344,c+72|0,c+32|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Z}b=v[c+32>>2];v[c+32>>2]=0;if(!b){break e}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)!=1){if(d){break e}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break e}}break a}ec(c+32|0);v[299999]=0;U(4713,c+16|0,d|0,0);a=v[299999];v[299999]=0;if((a|0)==1){break da}v[299999]=0;U(4423,c+24|0,358384,c+16|0);a=v[299999];v[299999]=0;if((a|0)==1){break ca}a=v[c+24>>2];a=v[(a?a+12|0:1129608)>>2];v[299999]=0;a=aa(4369,c+32|0,a|0,241010,1549,344153,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break ba}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break f}e=P()|0;O()|0;qc(a);break aa}e=P()|0;O()|0;break c}e=P()|0;O()|0;ec(c+32|0);break c}e=P()|0;O()|0;break c}e=P()|0;O()|0;break $}e=P()|0;O()|0}ec(c+24|0)}ec(c+16|0);break c}e=P()|0;O()|0;break c}e=P()|0;O()|0;ec(c+32|0);break c}W(0)|0;O()|0;lc()}L()}b=v[c+72>>2];if(!b){v[a>>2]=0;break b}v[299999]=0;v[b+4>>2]=v[b+4>>2]+1;b=v[299999];v[299999]=0;if((b|0)==1){break d}b=a;a=v[c+72>>2];v[b>>2]=a;v[c+72>>2]=0;if(!a){break b}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;d=v[299999];v[299999]=0;if((d|0)!=1){if(b){break b}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}}break a}e=P()|0;O()|0}ec(c+72|0);T(e|0);L()}Qb=c+80|0;return}W(0)|0;O()|0;lc();L()}function Dga(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,n=0,o=0,p=0,q=0,r=0,s=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,Q=0,R=0,S=0,V=0,W=0,X=0,Y=0,_=0,$=0;o=Qb-2080|0;Qb=o;K=Bg(o+2048|0,o+2060|0,B(v[a+16>>2],v[a+12>>2]),2);q=v[a+12>>2];y=v[o+2060>>2];s=v[a+8>>2];a:{if((s|0)<1){g=y;break a}k=v[a+4>>2];b:{if((k|0)>=1){m=k&-4;j=k&3;p=q-k<<1;n=k-1>>>0<3;g=y;while(1){f=0;h=m;if(!n){while(1){u[g>>1]=t[b+f|0]<<6;u[g+2>>1]=t[(f|1)+b|0]<<6;u[g+4>>1]=t[(f|2)+b|0]<<6;u[g+6>>1]=t[(f|3)+b|0]<<6;f=f+4|0;g=g+8|0;h=h-4|0;if(h){continue}break}}h=j;if(h){while(1){u[g>>1]=t[b+f|0]<<6;f=f+1|0;g=g+2|0;h=h-1|0;if(h){continue}break}}if((k|0)<(q|0)){g=ic(g,0,p)+p|0}b=b+c|0;i=i+1|0;if((s|0)!=(i|0)){continue}break}break b}g=y;if((k|0)>=(q|0)){break b}b=q-k|0;c=b<<1;g=(ic(y,0,B(c,s))+c|0)+(B(b,s-1|0)<<1)|0}q=v[a+12>>2]}b=v[a+16>>2];if(!((q|0)<1|(b|0)<=(s|0))){ic(g,0,B(b-s|0,q)<<1)}H=v[a+12>>2];r=v[a+4>>2];c:{d:{e:{f:{if(d){v[299999]=0;j=B(r,s);M=Z(4407,o|0,o+2076|0,j|0,2)|0;b=v[299999];v[299999]=0;if((b|0)==1){break e}k=(s|0)>0&(r|0)>0;if(k){c=r&-4;i=r&3;m=0;f=v[o+2076>>2];p=r-1>>>0<3;b=d;while(1){g=0;h=c;if(!p){while(1){u[(g<<1)+f>>1]=!w[b+g|0]<<12;n=g|1;u[(n<<1)+f>>1]=!w[b+n|0]<<12;n=g|2;u[(n<<1)+f>>1]=!w[b+n|0]<<12;n=g|3;u[(n<<1)+f>>1]=!w[b+n|0]<<12;g=g+4|0;h=h-4|0;if(h){continue}break}}h=i;if(h){while(1){u[(g<<1)+f>>1]=!w[b+g|0]<<12;g=g+1|0;h=h-1|0;if(h){continue}break}}b=b+e|0;f=(r<<1)+f|0;m=m+1|0;if((s|0)!=(m|0)){continue}break}}v[299999]=0;S=Z(4407,o+2064|0,o+2072|0,j|0,2)|0;b=v[299999];v[299999]=0;if((b|0)!=1){g:{if(!k){break g}m=r&-4;j=r&3;c=0;k=r-1>>>0<3;f=y;N=v[o+2072>>2];b=N;while(1){g=0;i=m;if(!k){while(1){h=g<<1;u[h+b>>1]=x[f+h>>1];p=h|2;u[p+b>>1]=x[f+p>>1];p=h|4;u[p+b>>1]=x[f+p>>1];h=h|6;u[h+b>>1]=x[f+h>>1];g=g+4|0;i=i-4|0;if(i){continue}break}}h=j;if(h){while(1){i=g<<1;u[i+b>>1]=x[f+i>>1];g=g+1|0;h=h-1|0;if(h){continue}break}}f=(H<<1)+f|0;b=(r<<1)+b|0;c=c+1|0;if((s|0)!=(c|0)){continue}break}if((r|0)<3|(s|0)<3){break g}A=1;g=2;V=v[o+2076>>2];while(1){f=g;W=B(f,H);X=B(r,A);Q=B(f,r);Y=0-Q|0;k=0;p=N;C=y;j=0;b=V;while(1){h=0;c=(j+A|0)>(s|0);D=j-(c?f:0)|0;E=f+j|0;h:{if(!((D|0)>=(E|0)|(s|0)<=(D|0))){c=(c?Y:0)<<1;_=c+b|0;$=c+p|0;while(1){G=k;I=0;k=1;n=h;F=h-((h+A|0)>(r|0)?f:0)|0;h=f+h|0;g=b;i:{if((F|0)>=(h|0)){break i}l=$;c=_;i=0;q=0;m=0;z=D;g=b;if((r|0)<=(F|0)){break i}while(1){g=F;while(1){R=g<<1;J=u[R+c>>1];j:{if((J|0)<=0){m=(j|0)>(z|0)?m:(g|0)<(n|0)?m:1;break j}i=i+J|0;q=B(u[l+R>>1],J)+q|0}g=g+A|0;if((h|0)>(g|0)&(g|0)<(r|0)){continue}break}z=A+z|0;if((E|0)>(z|0)){g=X<<1;l=g+l|0;c=c+g|0;if((s|0)>(z|0)){continue}}break}g=b;if(!i){break i}I=(q|0)/(i|0)|0;k:{if(!m){break k}m=C;q=b;c=j;if((f|0)<1){break k}while(1){g=n;while(1){k=g<<1;z=k+q|0;if(!x[z>>1]){u[k+m>>1]=I;u[z>>1]=1}g=g+1|0;if((h|0)>(g|0)&(g|0)<(r|0)){continue}break}c=c+1|0;if((E|0)<=(c|0)){break k}m=(H<<1)+m|0;q=(r<<1)+q|0;if((c|0)<(s|0)){continue}break}}u[(n<<1)+b>>1]=i>>>2;k=G;g=p}u[g+(n<<1)>>1]=I;if((h|0)<(r|0)){continue}break}break h}while(1){k=1;u[(h<<1)+b>>1]=0;h=f+h|0;if((r|0)>(h|0)){continue}break}}C=(W<<1)+C|0;c=Q<<1;p=c+p|0;b=b+c|0;j=E;if((s|0)>(j|0)){continue}break}if(!k){break g}g=f<<1;if((r|0)<=(g|0)){break g}A=f;if((g|0)<(s|0)){continue}break}}Lc(S);Lc(M);E=v[a+12>>2];k=v[a+8>>2];j=v[a+4>>2];v[299999]=0;y=v[o+2060>>2];b=B(j,k);G=Z(4407,o|0,o+2076|0,b|0,2)|0;c=v[299999];v[299999]=0;if((c|0)==1){break e}v[299999]=0;z=Z(4407,o+2064|0,o+2072|0,b|0,1)|0;b=v[299999];v[299999]=0;if((b|0)==1){break d}F=(k|0)<1;l:{if(F){break l}f=k&3;g=v[o+2072>>2];if(k-1>>>0>=3){b=k&-4;while(1){c=gc(g,d,j);h=d+e|0;g=h+e|0;i=g+e|0;d=i+e|0;g=gc(gc(gc(c+j|0,h,j)+j|0,g,j)+j|0,i,j)+j|0;b=b-4|0;if(b){continue}break}}if(!f){break l}while(1){b=gc(g,d,j);d=d+e|0;g=b+j|0;f=f-1|0;if(f){continue}break}}q=(k|0)>0&(j|0)>0;C=j-1|0;m=1;while(1){e=m;p=B(e,j);A=B(e,E);g=v[o+2076>>2];if(q){n=(C>>>0)/(e>>>0)|0;b=n+1|0;i=b&-4;m=b&3;c=0;b=g;h=y;while(1){f=0;d=i;if(n>>>0>=3){while(1){l=f<<1;u[l+b>>1]=x[h+l>>1];f=e+f|0;l=f<<1;u[l+b>>1]=x[h+l>>1];f=e+f|0;l=f<<1;u[l+b>>1]=x[h+l>>1];f=e+f|0;l=f<<1;u[l+b>>1]=x[h+l>>1];f=e+f|0;d=d-4|0;if(d){continue}break}}d=m;if(d){while(1){l=f<<1;u[l+b>>1]=x[h+l>>1];f=e+f|0;d=d-1|0;if(d){continue}break}}b=(p<<1)+b|0;h=(A<<1)+h|0;c=c+e|0;if((k|0)>(c|0)){continue}break}}v[299999]=0;m=e<<1;_w(g,j,k,j,e,m);b=v[299999];v[299999]=0;m:{n:{if((b|0)==1){break n}c=v[o+2076>>2];if(!F){b=((C>>>0)/(e>>>0)|0)+1|0;g=b&-2;n=b&1;i=0;b=v[o+2072>>2];h=c;while(1){f=e;if((j|0)>(f|0)){while(1){if(w[b+f|0]){u[(f<<1)+h>>1]=0}f=f+m|0;if((j|0)>(f|0)){continue}break}}b=b+p|0;l=p<<1;h=l+h|0;if((k|0)>(e+i|0)){o:{if((j|0)<1){break o}f=0;d=g;if(e>>>0<=C>>>0){while(1){if(w[b+f|0]){u[(f<<1)+h>>1]=0}f=e+f|0;if(w[f+b|0]){u[(f<<1)+h>>1]=0}f=e+f|0;d=d-2|0;if(d){continue}break}}if(!n|!w[b+f|0]){break o}u[(f<<1)+h>>1]=0}h=h+l|0;b=b+p|0}i=i+m|0;if((k|0)>(i|0)){continue}break}}v[299999]=0;At(c,j,k,j,m,e);b=v[299999];v[299999]=0;if((b|0)==1){break n}c=v[o+2076>>2];if(q){b=((C>>>0)/(e>>>0)|0)+1|0;g=b&-2;l=b&1;n=0;b=v[o+2072>>2];d=c;i=y;while(1){f=0;h=g;if(e>>>0<=C>>>0){while(1){if(!w[b+f|0]){D=f<<1;u[D+d>>1]=x[i+D>>1]}f=e+f|0;if(!w[f+b|0]){D=f<<1;u[D+d>>1]=x[i+D>>1]}f=e+f|0;h=h-2|0;if(h){continue}break}}if(!(w[b+f|0]|!l)){h=f<<1;u[h+d>>1]=x[h+i>>1]}b=b+p|0;d=(p<<1)+d|0;i=(A<<1)+i|0;n=e+n|0;if((k|0)>(n|0)){continue}break}}v[299999]=0;_w(c,j,k,j,e,m);b=v[299999];v[299999]=0;if((b|0)==1){break n}if(!q){break m}i=(C>>>0)/(e>>>0)|0;b=i+1|0;c=b&-4;g=b&3;n=0;b=v[o+2076>>2];h=y;while(1){f=0;d=c;if(i>>>0>=3){while(1){l=f<<1;u[l+h>>1]=x[b+l>>1];f=e+f|0;l=f<<1;u[l+h>>1]=x[b+l>>1];f=e+f|0;l=f<<1;u[l+h>>1]=x[b+l>>1];f=e+f|0;l=f<<1;u[l+h>>1]=x[b+l>>1];f=e+f|0;d=d-4|0;if(d){continue}break}}d=g;if(g){while(1){l=f<<1;u[l+h>>1]=x[b+l>>1];f=e+f|0;d=d-1|0;if(d){continue}break}}b=(p<<1)+b|0;h=(A<<1)+h|0;n=e+n|0;if((k|0)>(n|0)){continue}break}if((j|0)<1){break m}n=0;i=v[o+2072>>2];d=i;while(1){c=(k|0)>(e+n|0)?d+p|0:i;b=d;p:{if(!(!w[c|0]|(!w[d|0]|!w[i|0]))){g=1;if(w[d+e|0]|(e|0)>=(j|0)){break p}}g=0}t[b|0]=g;f=m;if((j|0)>(f|0)){while(1){h=d+f|0;q:{if(!(!w[h|0]|!w[f+i|0]|(!w[c+f|0]|!w[(f-e|0)+d|0]))){g=e+f|0;b=1;if((g|0)>=(j|0)|w[d+g|0]){break q}}b=0}t[h|0]=b;f=f+m|0;if((j|0)>(f|0)){continue}break}}d=c+p|0;i=c;n=m+n|0;if((k|0)>(n|0)){continue}break}break m}g=P()|0;O()|0;Lc(z);Lc(G);break c}if((m|0)<=31){continue}break}Lc(z);Lc(G);break f}g=P()|0;O()|0;Lc(M);break c}v[299999]=0;_w(y,r,s,H,1,32);b=v[299999];v[299999]=0;if((b|0)==1){break e}}r:{g=v[a+16>>2];s:{if((g|0)<1){break s}h=v[a+12>>2];if((h|0)<1){break s}i=v[a>>2];q=v[o+2060>>2];m=0;while(1){d=0;if((h|0)>=1){while(1){g=(d<<1)+q|0;b=0;f=o;while(1){u[f>>1]=x[g>>1];u[f+2>>1]=x[g+2>>1];u[f+4>>1]=x[g+4>>1];u[f+6>>1]=x[g+6>>1];u[f+8>>1]=x[g+8>>1];u[f+10>>1]=x[g+10>>1];u[f+12>>1]=x[g+12>>1];u[f+14>>1]=x[g+14>>1];u[f+16>>1]=x[g+16>>1];u[f+18>>1]=x[g+18>>1];u[f+20>>1]=x[g+20>>1];u[f+22>>1]=x[g+22>>1];u[f+24>>1]=x[g+24>>1];u[f+26>>1]=x[g+26>>1];u[f+28>>1]=x[g+28>>1];u[f+30>>1]=x[g+30>>1];u[f+32>>1]=x[g+32>>1];u[f+34>>1]=x[g+34>>1];u[f+36>>1]=x[g+36>>1];u[f+38>>1]=x[g+38>>1];u[f+40>>1]=x[g+40>>1];u[f+42>>1]=x[g+42>>1];u[f+44>>1]=x[g+44>>1];u[f+46>>1]=x[g+46>>1];u[f+48>>1]=x[g+48>>1];u[f+50>>1]=x[g+50>>1];u[f+52>>1]=x[g+52>>1];u[f+54>>1]=x[g+54>>1];u[f+56>>1]=x[g+56>>1];u[f+58>>1]=x[g+58>>1];u[f+60>>1]=x[g+60>>1];u[f+62>>1]=x[g+62>>1];f=f- -64|0;g=(h<<1)+g|0;b=b+1|0;if((b|0)!=32){continue}break}v[299999]=0;U(5245,i|0,o|0,a|0);b=v[299999];v[299999]=0;if((b|0)==1){break r}i=i+16|0;d=d+32|0;h=v[a+12>>2];if((d|0)<(h|0)){continue}break}g=v[a+16>>2]}q=(h<<6)+q|0;m=m+32|0;if((m|0)<(g|0)){continue}break}}Lc(K);Qb=o+2080|0;return}g=P()|0;O()|0;break c}g=P()|0;O()|0;break c}g=P()|0;O()|0;Lc(G)}Lc(K);T(g|0);L()}function SO(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;f=Qb-96|0;Qb=f;v[f+20>>2]=c;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{if(d){k=e-1|0;while(1){g=f+88|0;PO(g,f+20|0,v[d+8>>2]);v[299999]=0;Q(4437,a|0,g|0)|0;g=v[299999];v[299999]=0;q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{if((g|0)!=1){ec(f+88|0);g=v[d+8>>2];v[f+40>>2]=0;v[f+44>>2]=v[282402];if((g|0)>=0){h=g<<1|1;g=0;while(1){v[299999]=0;Q(4584,f+40|0,32)|0;i=v[299999];v[299999]=0;if((i|0)==1){break L}i=(g|0)==(h|0);g=g+1|0;if(!i){continue}break}}g=v[d+44>>2];if(!g){v[f+32>>2]=0;v[f+36>>2]=v[282402];g=v[d+20>>2];h=v[d+24>>2];i=v[d+16>>2];v[f>>2]=v[d+12>>2];v[f+8>>2]=g;v[299999]=0;v[f+4>>2]=k-i;v[f+12>>2]=k-h;Y(4635,f+32|0,345912,f|0)|0;g=v[299999];v[299999]=0;N:{if((g|0)!=1){i=v[d+28>>2];g=v[b>>2];O:{if(!g){l=0;break O}h=v[d+32>>2];v[299999]=0;l=Y(4966,g|0,i|0,h|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break N}}h=v[d+8>>2];v[f+24>>2]=0;g=v[282402];v[f+28>>2]=g;if(h-1>>>0>6){break H}P:{switch(h-6|0){case 1:v[299999]=0;g=Q(4340,f+56|0,311751)|0;h=v[299999];v[299999]=0;Q:{R:{S:{T:{U:{V:{W:{X:{if((h|0)!=1){v[299999]=0;U(4423,f- -64|0,322756,g|0);h=v[299999];v[299999]=0;if((h|0)==1){break X}v[299999]=0;U(4546,f+72|0,f- -64|0,346799);h=v[299999];v[299999]=0;if((h|0)==1){break W}v[299999]=0;U(4547,f+80|0,f+72|0,f+32|0);h=v[299999];v[299999]=0;if((h|0)==1){break V}v[299999]=0;U(4546,f+88|0,f+80|0,322677);h=v[299999];v[299999]=0;if((h|0)==1){break U}v[299999]=0;Q(4535,f+24|0,f+88|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break T}ec(f+88|0);ec(f+80|0);ec(f+72|0);ec(f- -64|0);ec(g);break H}a=P()|0;O()|0;break e}a=P()|0;O()|0;ec(g);break e}a=P()|0;O()|0;break Q}a=P()|0;O()|0;break R}a=P()|0;O()|0;break S}a=P()|0;O()|0;ec(f+88|0)}ec(f+80|0)}ec(f+72|0)}ec(f- -64|0);ec(g);break e;case 0:v[299999]=0;v[f+52>>2]=g;v[f+48>>2]=0;Q(4584,f+48|0,32)|0;g=v[299999];v[299999]=0;if((g|0)==1){break g}v[299999]=0;Q(4584,f+48|0,32)|0;g=v[299999];v[299999]=0;if((g|0)!=1){break M}break g;default:break P}}v[f+52>>2]=g;g=0;v[f+48>>2]=0;m=h<<1|1;while(1){v[299999]=0;Q(4584,f+48|0,32)|0;j=v[299999];v[299999]=0;if((j|0)==1){break K}j=(g|0)==(m|0);g=g+1|0;if(!j){continue}break}v[299999]=0;U(4546,f+56|0,f+48|0,322756);g=v[299999];v[299999]=0;Y:{Z:{_:{$:{aa:{ba:{ca:{da:{ea:{if((g|0)!=1){v[299999]=0;U(4546,f- -64|0,f+56|0,v[(h<<2)+984912>>2]);g=v[299999];v[299999]=0;if((g|0)==1){break ea}v[299999]=0;U(4546,f+72|0,f- -64|0,346799);g=v[299999];v[299999]=0;if((g|0)==1){break da}v[299999]=0;U(4547,f+80|0,f+72|0,f+32|0);g=v[299999];v[299999]=0;if((g|0)==1){break ca}v[299999]=0;U(4546,f+88|0,f+80|0,355681);g=v[299999];v[299999]=0;if((g|0)==1){break ba}v[299999]=0;Q(4535,f+24|0,f+88|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break aa}ec(f+88|0);ec(f+80|0);ec(f+72|0);ec(f- -64|0);ec(f+56|0);ec(f+48|0);break H}a=P()|0;O()|0;break J}a=P()|0;O()|0;break Y}a=P()|0;O()|0;break Z}a=P()|0;O()|0;break _}a=P()|0;O()|0;break $}a=P()|0;O()|0;ec(f+88|0)}ec(f+80|0)}ec(f+72|0)}ec(f- -64|0)}ec(f+56|0);break J}a=P()|0;O()|0;break d}a=P()|0;O()|0;break d}h=v[d+8>>2];v[299999]=0;fa(5043,a|0,b|0,h|0,g|0,e|0);g=v[299999];v[299999]=0;if((g|0)!=1){break q}a=P()|0;O()|0;break b}break c}v[299999]=0;Q(4584,f+48|0,32)|0;g=v[299999];v[299999]=0;if((g|0)==1){break g}v[299999]=0;Q(4584,f+48|0,32)|0;g=v[299999];v[299999]=0;if((g|0)==1){break g}v[299999]=0;Q(4584,f+48|0,32)|0;g=v[299999];v[299999]=0;if((g|0)==1){break g}v[299999]=0;Q(4584,f+48|0,32)|0;g=v[299999];v[299999]=0;if((g|0)==1){break g}v[299999]=0;Q(4584,f+48|0,32)|0;g=v[299999];v[299999]=0;if((g|0)==1){break g}v[299999]=0;Q(4584,f+48|0,32)|0;g=v[299999];v[299999]=0;if((g|0)==1){break g}v[299999]=0;Q(4584,f+48|0,32)|0;g=v[299999];v[299999]=0;if((g|0)==1){break g}v[299999]=0;Q(4584,f+48|0,32)|0;g=v[299999];v[299999]=0;if((g|0)==1){break g}v[299999]=0;Q(4584,f+48|0,32)|0;g=v[299999];v[299999]=0;if((g|0)==1){break g}v[299999]=0;Q(4584,f+48|0,32)|0;g=v[299999];v[299999]=0;if((g|0)==1){break g}v[299999]=0;Q(4584,f+48|0,32)|0;g=v[299999];v[299999]=0;if((g|0)==1){break g}v[299999]=0;Q(4584,f+48|0,32)|0;g=v[299999];v[299999]=0;if((g|0)==1){break g}v[299999]=0;U(4546,f+56|0,f+48|0,322756);g=v[299999];v[299999]=0;if((g|0)!=1){break I}a=P()|0;O()|0;break f}a=P()|0;O()|0;break b}a=P()|0;O()|0}ec(f+48|0);break e}v[299999]=0;U(4546,f- -64|0,f+56|0,321577);g=v[299999];v[299999]=0;if((g|0)==1){break G}v[299999]=0;U(4546,f+72|0,f- -64|0,346799);g=v[299999];v[299999]=0;if((g|0)==1){break F}v[299999]=0;U(4547,f+80|0,f+72|0,f+32|0);g=v[299999];v[299999]=0;if((g|0)==1){break E}v[299999]=0;U(4546,f+88|0,f+80|0,322677);g=v[299999];v[299999]=0;if((g|0)==1){break D}v[299999]=0;Q(4535,f+24|0,f+88|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break C}ec(f+88|0);ec(f+80|0);ec(f+72|0);ec(f- -64|0);ec(f+56|0);ec(f+48|0)}v[299999]=0;Q(4437,a|0,f+24|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break p}ec(f+24|0);v[299999]=0;$(4568,f+80|0,b|0,i|0,l-i|0);g=v[299999];v[299999]=0;if((g|0)==1){break o}g=v[f+80>>2];if(!g){break t}v[299999]=0;U(5044,f+56|0,g|0,0);g=v[299999];v[299999]=0;if((g|0)==1){break n}v[f+88>>2]=0;v[f+92>>2]=v[282402];g=v[f+56>>2];if(!g){break x}h=v[v[g>>2]+28>>2];v[299999]=0;U(h|0,f- -64|0,g|0,1);g=v[299999];v[299999]=0;if((g|0)==1){break u}g=v[f+64>>2];if(!g){break w}h=v[v[g>>2]+28>>2];v[299999]=0;U(h|0,f+72|0,g|0,1);g=v[299999];v[299999]=0;if((g|0)!=1){break v}a=P()|0;O()|0;break j}a=P()|0;O()|0;break y}a=P()|0;O()|0;break z}a=P()|0;O()|0;break A}a=P()|0;O()|0;break B}a=P()|0;O()|0;ec(f+88|0)}ec(f+80|0)}ec(f+72|0)}ec(f- -64|0)}ec(f+56|0);break f}v[f+64>>2]=0}v[f+72>>2]=0}v[299999]=0;Q(4344,f+88|0,f+72|0)|0;g=v[299999];v[299999]=0;fa:{if((g|0)!=1){g=v[f+72>>2];v[f+72>>2]=0;if(!g){break fa}v[299999]=0;h=v[g+4>>2]-1|0;v[g+4>>2]=h;i=v[299999];v[299999]=0;if((i|0)!=1){if(h){break fa}v[299999]=0;R(4338,g|0);g=v[299999];v[299999]=0;if((g|0)!=1){break fa}}break a}a=P()|0;O()|0;ec(f+72|0);break j}g=v[f+88>>2];v[f+92>>2]=v[(g?g+12|0:1129608)>>2];g=v[f+64>>2];v[f+64>>2]=0;if(!g){break s}v[299999]=0;h=v[g+4>>2]-1|0;v[g+4>>2]=h;i=v[299999];v[299999]=0;if((i|0)!=1){if(h){break s}v[299999]=0;R(4338,g|0);g=v[299999];v[299999]=0;if((g|0)!=1){break s}}break a}a=P()|0;O()|0;break i}v[f+88>>2]=0;v[f+92>>2]=v[282402];v[299999]=0;v[f+72>>2]=0;Q(4344,f+88|0,f+72|0)|0;g=v[299999];v[299999]=0;ga:{if((g|0)!=1){g=v[f+72>>2];v[f+72>>2]=0;if(!g){break ga}v[299999]=0;h=v[g+4>>2]-1|0;v[g+4>>2]=h;i=v[299999];v[299999]=0;if((i|0)!=1){if(h){break ga}v[299999]=0;R(4338,g|0);g=v[299999];v[299999]=0;if((g|0)!=1){break ga}}break a}a=P()|0;O()|0;ec(f+72|0);ec(f+88|0);break h}g=v[f+88>>2];v[f+92>>2]=v[(g?g+12|0:1129608)>>2];break r}g=v[f+56>>2];v[f+56>>2]=0;if(!g){break r}v[299999]=0;h=v[g+4>>2]-1|0;v[g+4>>2]=h;i=v[299999];v[299999]=0;if((i|0)==1){break a}if(h){break r}v[299999]=0;R(4338,g|0);g=v[299999];v[299999]=0;if((g|0)==1){break a}}v[299999]=0;Q(4437,a|0,f+88|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break m}g=f+88|0;ec(g);ec(f+80|0);h=v[d+8>>2];v[299999]=0;V(5045,g|0,h|0);g=v[299999];v[299999]=0;if((g|0)==1){break l}v[299999]=0;Q(4437,a|0,f+88|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break k}ec(f+88|0);ec(f+32|0)}ec(f+40|0);d=v[d>>2];if(d){continue}break}}b=f+88|0;PO(b,f+20|0,c);v[299999]=0;Q(4437,a|0,b|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break c}ec(f+88|0);Qb=f+96|0;return}a=P()|0;O()|0;break e}a=P()|0;O()|0;break d}a=P()|0;O()|0;break h}a=P()|0;O()|0;ec(f+88|0);break h}a=P()|0;O()|0;break d}a=P()|0;O()|0;ec(f+88|0);break d}ec(f- -64|0)}ec(f+88|0);ec(f+56|0)}ec(f+80|0);break d}a=P()|0;O()|0}ec(f+48|0)}ec(f+24|0)}ec(f+32|0);break b}a=P()|0;O()|0;ec(f+88|0);T(a|0);L()}ec(f+40|0);T(a|0);L()}W(0)|0;O()|0;lc();L()}function e9a(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,n=0,o=0,p=0,q=0,r=0,s=0,x=0,z=0;o=Qb-16|0;Qb=o;v[o+12>>2]=0;a:{if(!(w[a+289|0]|w[a+288|0])){b=1029;pc(a,1029,0,0);break a}if(!c){b=1028;pc(a,1028,0,0);break a}t[a+292|0]=1;q=c;s=d;g=a;b:{if(w[g+477|0]){t[g+477|0]=0;f=Ro(g);v[g+440>>2]=v[g+440>>2]+1;if(f){break b}}if(!w[g+2533|0]){f=v[g+1012>>2];if(f){f=Ub[f|0](g)|0;v[g+1012>>2]=0;if(f){break b}}i=jc(40);v[i>>2]=0;f=v[g+2456>>2];v[299999]=0;k=Ko(f);h=v[299999];v[299999]=0;j=-1;p=4;c:{d:{e:{if(!h){break e}f=v[3e5];if(!f){break e}j=sc(v[h>>2],i,4);if(!j){break d}_(f|0)}h=O()|0;if((j|0)!=1){v[v[g+2452>>2]>>2]=k;f=v[g+2456>>2];v[f+8>>2]=756;v[f>>2]=757;i=Ue(g+2568|0,1,i,4);p=O()|0;h=0;k=g+2452|0}while(1){if(h){v[299999]=0;Z(755,g|0,6,h|0,0)|0;h=v[299999];v[299999]=0;j=-1;f:{if(!h){break f}f=v[3e5];if(!f){break f}j=sc(v[h>>2],i,p);if(!j){break d}_(f|0)}h=O()|0;if((j|0)==1){continue}dc(i);f=6;break c}f=v[k>>2];v[299999]=0;U(16,f|0,80,488);h=v[299999];v[299999]=0;j=-1;g:{if(!h){break g}f=v[3e5];if(!f){break g}j=sc(v[h>>2],i,p);if(!j){break d}_(f|0)}h=O()|0;if((j|0)==1){continue}break}t[g+2533|0]=1;f=v[g+2460>>2];v[v[k>>2]+24>>2]=f;v[f+24>>2]=758;v[f+16>>2]=759;v[f+12>>2]=760;v[f+8>>2]=761;v[f+20>>2]=8;v[f>>2]=v[g+2484>>2];v[f+4>>2]=v[g+2488>>2];dc(i);f=0;break c}dc(i);sd(h,f);L()}if(f){break b}}f=0;r=Qb-16|0;Qb=r;k=jc(40);v[k>>2]=0;l=Ue(g+2568|0,1,k,4);m=O()|0;h:{i:{j:{k:while(1){if(f){v[299999]=0;Z(755,g|0,6,f|0,0)|0;f=v[299999];v[299999]=0;h=-1;l:{if(!f){break l}j=v[3e5];if(!j){break l}h=sc(v[f>>2],l,m);if(!h){break i}_(j|0)}f=O()|0;if((h|0)==1){continue}i=6;break j}k=q;p=s;m:{n:{f=v[g+2492>>2];if(f){v[g+2484>>2]=v[g+2476>>2];k=f-q|0;v[g+2492>>2]=f>>>0>>0?0:k;p=(f>>>0>>0?f:0)+s|0;f=q-f|0;k=f>>>0>q>>>0?0:f}if(k){while(1){f=v[g+2476>>2];i=v[g+2484>>2];o:{if(f>>>0>=i>>>0){f=i;break o}h=v[g+2488>>2];if(y[g+2480>>2]>=h+((i+k|0)-f|0)>>>0){f=i;break o}if(h){gc(f,i,h);f=v[g+2476>>2]}v[g+2484>>2]=f}i=v[g+2480>>2];h=v[g+2488>>2];p:{if(i>>>0>=h+k>>>0){gc(f+h|0,p,k);n=v[g+2488>>2]+k|0;v[g+2488>>2]=n;k=0;break p}i=i-h|0;if(!i){v[299999]=0;Z(755,g|0,13,0,0)|0;f=v[299999];v[299999]=0;h=-1;q:{if(!f){break q}j=v[3e5];if(!j){break q}h=sc(v[f>>2],l,m);if(!h){break i}_(j|0)}f=O()|0;if((h|0)==1){continue k}i=13;break j}gc(f+h|0,p,i);n=i+v[g+2488>>2]|0;v[g+2488>>2]=n;p=i+p|0;k=k-i|0}i=v[g+2484>>2];f=v[g+2452>>2];h=v[f+24>>2];v[h+4>>2]=n;v[h>>2]=i;r:{if(!w[g+2534|0]){v[299999]=0;i=Q(17,f|0,1)|0;f=v[299999];v[299999]=0;h=-1;s:{if(!f){break s}j=v[3e5];if(!j){break s}h=sc(v[f>>2],l,m);if(!h){break i}_(j|0)}f=O()|0;if((h|0)==1){continue k}if(i){t[g+2534|0]=1;f=v[g+2452>>2];if(!(v[f+28>>2]==v[g+316>>2]&v[f+32>>2]==v[g+320>>2])){v[299999]=0;Z(755,g|0,1056,0,0)|0;f=v[299999];v[299999]=0;h=-1;t:{if(!f){break t}j=v[3e5];if(!j){break t}h=sc(v[f>>2],l,m);if(!h){break i}_(j|0)}f=O()|0;if((h|0)==1){continue k}i=1056;break j}u:{v:{w:{i=w[g+336|0];switch(i-8|0){case 2:case 6:break v;case 0:case 4:break w;default:break u}}if(v[f+40>>2]!=1){v[299999]=0;Z(755,g|0,1056,0,0)|0;f=v[299999];v[299999]=0;h=-1;x:{if(!f){break x}j=v[3e5];if(!j){break x}h=sc(v[f>>2],l,m);if(!h){break i}_(j|0)}f=O()|0;if((h|0)==1){continue k}i=1056;break j}if((i|0)!=10){break u}}if(v[f+40>>2]==3){break u}v[299999]=0;Z(755,g|0,1056,0,0)|0;f=v[299999];v[299999]=0;h=-1;y:{if(!f){break y}j=v[3e5];if(!j){break y}h=sc(v[f>>2],l,m);if(!h){break i}_(j|0)}f=O()|0;if((h|0)==1){continue k}i=1056;break j}v[299999]=0;i=S(762,f|0)|0;f=v[299999];v[299999]=0;n=-1;z:{if(!f){break z}j=v[3e5];if(!j){break z}n=sc(v[f>>2],l,m);if(!n){break i}_(j|0)}f=O()|0;if((n|0)==1){continue k}t[g+2538|0]=i;A:{if(!(i&255)){break A}B:{switch(w[g+336|0]-12|0){case 0:case 2:break B;default:break A}}v[g+968>>2]=0}f=v[g+2452>>2];i=v[f+28>>2];f=v[f+40>>2]==3?B(i,3):i;v[g+2520>>2]=f;i=v[g+152>>2];v[299999]=0;i=S(i|0,f|0)|0;f=v[299999];v[299999]=0;n=-1;C:{if(!f){break C}j=v[3e5];if(!j){break C}n=sc(v[f>>2],l,m);if(!n){break i}_(j|0)}f=O()|0;if((n|0)==1){continue k}v[g+2516>>2]=i;if(!i){v[299999]=0;Z(755,g|0,1,0,0)|0;f=v[299999];v[299999]=0;h=-1;D:{if(!f){break D}j=v[3e5];if(!j){break D}h=sc(v[f>>2],l,m);if(!h){break i}_(j|0)}f=O()|0;if((h|0)==1){continue k}i=1;break j}v[g+2560>>2]=0}f=v[g+2452>>2];i=v[f+24>>2];v[g+2484>>2]=v[i>>2];v[g+2488>>2]=v[i+4>>2];if(!w[g+2534|0]){break r}}if(!w[g+2535|0]){if(w[g+2538|0]){v[f+64>>2]=1}v[299999]=0;i=S(22,f|0)|0;f=v[299999];v[299999]=0;h=-1;E:{if(!f){break E}j=v[3e5];if(!j){break E}h=sc(v[f>>2],l,m);if(!h){break i}_(j|0)}f=O()|0;if((h|0)==1){continue k}if((i|0)==1){t[g+2535|0]=1}f=v[g+2452>>2];i=v[f+24>>2];v[g+2484>>2]=v[i>>2];v[g+2488>>2]=v[i+4>>2];if(!w[g+2534|0]|!w[g+2535|0]){break r}}v[299999]=0;i=S(763,f|0)|0;f=v[299999];v[299999]=0;h=-1;F:{if(!f){break F}j=v[3e5];if(!j){break F}h=sc(v[f>>2],l,m);if(!h){break i}_(j|0)}f=O()|0;if((h|0)==1){continue k}G:{H:{if(!i){break H}f=v[g+2452>>2];if(y[f+140>>2]>2]){break H}if(!w[g+2538|0]|!w[g+2537|0]){break G}}n=0;while(1){v[r+12>>2]=v[g+2516>>2];I:{J:{K:{if(!w[g+2538|0]){break K}if(!w[g+2536|0]){t[g+2536|0]=1;f=v[g+2452>>2];i=v[f+144>>2];v[299999]=0;Q(764,f|0,i|0)|0;f=v[299999];v[299999]=0;h=-1;L:{if(!f){break L}j=v[3e5];if(!j){break L}h=sc(v[f>>2],l,m);if(!h){break i}_(j|0)}f=O()|0;if((h|0)==1){continue k}v[g+2552>>2]=0;if(!w[g+2538|0]){break K}}if(w[g+2537|0]){break J}}f=v[g+2452>>2];while(1){v[299999]=0;n=Y(32,f|0,r+12|0,1)|0;f=v[299999];v[299999]=0;h=-1;M:{if(!f){break M}j=v[3e5];if(!j){break M}h=sc(v[f>>2],l,m);if(!h){break i}_(j|0)}f=O()|0;if((h|0)==1){continue k}f=v[g+2452>>2];i=v[f+24>>2];v[g+2484>>2]=v[i>>2];v[g+2488>>2]=v[i+4>>2];if((n|0)>=1){i=v[g+2544>>2];if(i){v[299999]=0;i=S(i|0,g|0)|0;f=v[299999];v[299999]=0;h=-1;N:{if(!f){break N}j=v[3e5];if(!j){break N}h=sc(v[f>>2],l,m);if(!h){break i}_(j|0)}f=O()|0;if((h|0)==1){continue k}if(i){break j}f=v[g+2452>>2]}if(y[f+140>>2]>2]){continue}}break}if(!w[g+2538|0]){break I}}f=v[g+2452>>2];if(y[f+140>>2]>2]){break I}v[299999]=0;i=S(765,f|0)|0;f=v[299999];v[299999]=0;h=-1;O:{if(!f){break O}j=v[3e5];if(!j){break O}h=sc(v[f>>2],l,m);if(!h){break i}_(j|0)}f=O()|0;if((h|0)==1){continue k}f=g;if(i){t[g+2536|0]=0;i=0}else{i=1}t[f+2537|0]=i}f=v[g+2452>>2];v[299999]=0;i=S(763,f|0)|0;f=v[299999];v[299999]=0;h=-1;P:{if(!f){break P}j=v[3e5];if(!j){break P}h=sc(v[f>>2],l,m);if(!h){break i}_(j|0)}f=O()|0;if((h|0)==1){continue k}if((n|0)<1|i){break G}if(!w[g+2537|0]){continue}break}}if(w[g+2537|0]|(!w[g+2534|0]|!w[g+2535|0])){break r}f=v[g+2452>>2];v[299999]=0;i=S(763,f|0)|0;f=v[299999];v[299999]=0;h=-1;Q:{if(!f){break Q}j=v[3e5];if(!j){break Q}h=sc(v[f>>2],l,m);if(!h){break i}_(j|0)}f=O()|0;if((h|0)==1){continue k}if(!i){break r}f=v[g+2452>>2];if(v[f+144>>2]!=v[f+152>>2]){break r}v[299999]=0;i=S(33,f|0)|0;f=v[299999];v[299999]=0;h=-1;R:{if(!f){break R}j=v[3e5];if(!j){break R}h=sc(v[f>>2],l,m);if(!h){break i}_(j|0)}f=O()|0;if((h|0)==1){continue k}if((i|0)!=1){break r}i=0;u[g+2534>>1]=0;f=v[v[g+2452>>2]+24>>2];v[g+2484>>2]=v[f>>2];f=v[f+4>>2];v[g+2488>>2]=f;if(!(f|k)){break j}v[299999]=0;Z(755,g|0,1055,0,0)|0;f=v[299999];v[299999]=0;h=-1;if(!f){break m}j=v[3e5];if(!j){break m}h=sc(v[f>>2],l,m);if(h){break n}break i}if(k){continue}break}}i=0;break j}_(j|0)}f=O()|0;if((h|0)==1){continue}break}i=1055}dc(l);Qb=r+16|0;f=i;break h}dc(l);sd(f,j);L()}}v[o+12>>2]=f;if(v[o+12>>2]){b=v[o+12>>2];break a}if(!w[a+112|0]){b=0;break a}x=o,z=Ub[v[b+4>>2]](a,b,e)|0,v[x+12>>2]=z;if(v[o+12>>2]){b=v[o+12>>2];break a}f=v[e>>2];v[f+36>>2]=c;b=0;t[f+32|0]=0;f=Ub[v[a+152>>2]](c)|0;v[v[e>>2]+40>>2]=f;e=v[v[e>>2]+40>>2];if(!e){b=1;pc(a,1,0,0);break a}gc(e,d,c)}Qb=o+16|0;return b|0}function fsa(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,n=0,o=0,p=0,q=0,r=0,s=0,u=0,y=0,z=0;g=Qb-144|0;Qb=g;eP(v[c>>2]);dP(v[c>>2]);u=cP(v[c>>2]);v[g+112>>2]=0;v[g+116>>2]=0;v[g+104>>2]=0;v[g+108>>2]=0;Ub[v[v[b>>2]+40>>2]](b,g+112|0)|0;Ub[v[v[b>>2]+44>>2]](b,g+104|0)|0;if(A[g+112>>3]<=0){v[g+112>>2]=0;v[g+116>>2]=1079115776}if(A[g+104>>3]<=0){v[g+104>>2]=0;v[g+108>>2]=1079115776}v[g+96>>2]=0;v[g+100>>2]=0;v[g+88>>2]=0;v[g+92>>2]=0;Ub[v[v[b>>2]+32>>2]](b,g+96|0)|0;Ub[v[v[b>>2]+24>>2]](b,g+88|0)|0;p=A[g+96>>3];if(p<=0){v[g+96>>2]=0;v[g+100>>2]=1080623104;p=200}s=A[g+88>>3];if(s<=0){v[g+88>>2]=0;v[g+92>>2]=1081262080;s=300}y=A[g+104>>3];z=A[g+112>>3];v[g+84>>2]=0;Ub[v[v[b>>2]+16>>2]](b,g+84|0)|0;a:{if(v[g+84>>2]==1){k=eP(v[c>>2]);d=dP(v[c>>2]);break a}p=z*p/25.4;b:{if(D(p)<2147483648){k=~~p;break b}k=-2147483648}p=y*s/25.4;if(D(p)<2147483648){d=~~p;break a}d=-2147483648}h=fc(B(d,k)<<2);r=g+48|0;f=r;v[f+12>>2]=0;v[f+16>>2]=0;v[f+4>>2]=1;v[f+8>>2]=8;v[f>>2]=466676;v[f+20>>2]=0;v[f+24>>2]=0;t[f+28|0]=0;v[g+120>>2]=k;v[g+24>>2]=d;v[299999]=0;v[g+40>>2]=k<<2;gn(f,h,g+120|0,g+24|0,g+40|0);f=v[299999];v[299999]=0;c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{if((f|0)!=1){f=v[c>>2];v[299999]=0;f=S(4363,f|0)|0;l=v[299999];v[299999]=0;if((l|0)==1){break f}if(!f){f=v[c>>2];v[299999]=0;f=S(4364,f|0)|0;l=v[299999];v[299999]=0;if((l|0)==1){break f}if(!f){break n}}v[g+132>>2]=d;v[g+128>>2]=k;v[g+120>>2]=0;v[g+124>>2]=0;c=v[c>>2];v[299999]=0;f=c;c=g+120|0;xa(4365,g+24|0,f|0,c|0,c|0,0);c=v[299999];v[299999]=0;if((c|0)==1){break o}if(!((d|0)<1|(k|0)<1)){l=k&-2;o=k&1;while(1){m=d-1|0;c=0;f=v[g+24>>2];p:{if(x[f+8>>1]<(d|0)){break p}i=v[f+16>>2];if(!i){break p}c=i+B(B(m,x[f+12>>1]),3)|0}f=l;if((k|0)!=1){while(1){t[h|0]=w[c|0];t[h+1|0]=w[c+1|0];i=w[c+2|0];t[h+3|0]=255;t[h+2|0]=i;t[h+4|0]=w[c+3|0];t[h+5|0]=w[c+4|0];i=w[c+5|0];t[h+7|0]=255;t[h+6|0]=i;c=c+6|0;h=h+8|0;f=f-2|0;if(f){continue}break}}if(o){t[h|0]=w[c|0];t[h+1|0]=w[c+1|0];c=w[c+2|0];t[h+3|0]=255;t[h+2|0]=c;h=h+4|0}c=(d|0)>1;d=m;if(c){continue}break}}c=v[g+24>>2];v[g+24>>2]=0;if(!c){break m}v[299999]=0;d=v[c+4>>2]-1|0;v[c+4>>2]=d;f=v[299999];v[299999]=0;if((f|0)!=1){if(d){break m}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)!=1){break m}}break c}c=P()|0;O()|0;break e}c=P()|0;O()|0;break e}f=v[c>>2];v[299999]=0;f=S(4366,f|0)|0;l=v[299999];v[299999]=0;if((l|0)==1){break f}if(f){v[g+36>>2]=d;v[g+32>>2]=k;v[g+24>>2]=0;v[g+28>>2]=0;c=v[c>>2];v[299999]=0;f=c;c=g+24|0;fa(4367,g+40|0,f|0,c|0,c|0,4);c=v[299999];v[299999]=0;q:{r:{if((c|0)!=1){c=v[g+40>>2];i=x[c+16>>1];v[299999]=0;n=S(15,i<<2)|0;f=v[299999];v[299999]=0;if((f|0)==1){break h}f=16711680;o=16711680/(i-1|0)|0;s:{if(!i){break s}if((i|0)!=1){l=i&65534;while(1){q=m<<2;v[q+n>>2]=B(f>>>16&255,65793)-16777216;f=f-o|0;v[n+(q|4)>>2]=B(f>>>16&255,65793)-16777216;m=m+2|0;f=f-o|0;l=l-2|0;if(l){continue}break}}if(!(i&1)){break s}v[n+(m<<2)>>2]=B(f>>>16&255,65793)-16777216}if((d|0)<1){break q}l=k&-4;o=k&3;q=k-1>>>0<3;break r}c=P()|0;O()|0;break e}while(1){t:{u:{v:{w:{if(!v[c+20>>2]){v[299999]=0;R(4368,c|0);f=v[299999];v[299999]=0;if((f|0)==1){break w}}m=d-1|0;x:{if(x[c+8>>1]<(d|0)){f=x[c+14>>1];c=x[c+12>>1];if(v[282398]<(f+c|0)){v[299999]=0;a=aa(4369,g+120|0,260231,271810,577,336631,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break v}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break d}c=P()|0;O()|0;qc(a);break g}c=c+v[282397]|0;break x}c=v[c+20>>2]+(x[c+12>>1]+B(m,x[c+14>>1])|0)|0}if((k|0)<1){break t}f=l;if(q){break u}while(1){j=w[c|0];v[h>>2]=v[n+((i>>>0>j>>>0?j:0)<<2)>>2];j=w[c+1|0];v[h+4>>2]=v[n+((i>>>0>j>>>0?j:0)<<2)>>2];j=w[c+2|0];v[h+8>>2]=v[n+((i>>>0>j>>>0?j:0)<<2)>>2];j=w[c+3|0];v[h+12>>2]=v[n+((i>>>0>j>>>0?j:0)<<2)>>2];c=c+4|0;h=h+16|0;f=f-4|0;if(f){continue}break}break u}c=P()|0;O()|0;break g}c=P()|0;O()|0;break g}f=o;if(!f){break t}while(1){j=w[c|0];v[h>>2]=v[n+((i>>>0>j>>>0?j:0)<<2)>>2];c=c+1|0;h=h+4|0;f=f-1|0;if(f){continue}break}}if((d|0)<2){break q}c=v[g+40>>2];d=m;continue}}dc(n);c=v[g+40>>2];v[g+40>>2]=0;if(!c){break m}v[299999]=0;d=v[c+4>>2]-1|0;v[c+4>>2]=d;f=v[299999];v[299999]=0;if((f|0)!=1){if(d){break m}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)!=1){break m}}break c}v[g+36>>2]=d;v[g+32>>2]=k;v[g+24>>2]=0;v[g+28>>2]=0;f=v[c>>2];v[299999]=0;l=f;f=g+24|0;xa(4365,g+40|0,l|0,f|0,f|0,0);f=v[299999];v[299999]=0;y:{z:{if((f|0)!=1){f=v[g+40>>2];if(!f){break z}if((d|0)<1|(k|0)<1){break y}l=k&-2;o=k&1;while(1){m=d-1|0;c=0;A:{if(x[f+8>>1]<(d|0)){break A}i=v[f+16>>2];if(!i){break A}c=i+B(B(m,x[f+12>>1]),3)|0}f=l;if((k|0)!=1){while(1){t[h|0]=w[c|0];t[h+1|0]=w[c+1|0];i=w[c+2|0];t[h+3|0]=255;t[h+2|0]=i;t[h+4|0]=w[c+3|0];t[h+5|0]=w[c+4|0];i=w[c+5|0];t[h+7|0]=255;t[h+6|0]=i;c=c+6|0;h=h+8|0;f=f-2|0;if(f){continue}break}}if(o){t[h|0]=w[c|0];t[h+1|0]=w[c+1|0];c=w[c+2|0];t[h+3|0]=255;t[h+2|0]=c;h=h+4|0}if((d|0)<2){break y}f=v[g+40>>2];d=m;continue}}c=P()|0;O()|0;break e}c=v[c>>2];v[299999]=0;f=c;c=g+24|0;fa(4367,g+16|0,f|0,c|0,c|0,4);c=v[299999];v[299999]=0;if((c|0)==1){break l}c=v[g+16>>2];if(c){i=x[c+16>>1];v[299999]=0;n=S(15,i<<2)|0;f=v[299999];v[299999]=0;if((f|0)==1){break k}f=16711680;o=16711680/(i-1|0)|0;B:{if(!i){break B}if((i|0)!=1){l=i&65534;while(1){q=m<<2;v[q+n>>2]=B(f>>>16&255,65793)-16777216;f=f-o|0;v[n+(q|4)>>2]=B(f>>>16&255,65793)-16777216;m=m+2|0;f=f-o|0;l=l-2|0;if(l){continue}break}}if(!(i&1)){break B}v[n+(m<<2)>>2]=B(f>>>16&255,65793)-16777216}C:{if((d|0)<1){break C}l=k&-4;o=k&3;q=k-1>>>0<3;while(1){D:{E:{F:{G:{if(!v[c+20>>2]){v[299999]=0;R(4368,c|0);f=v[299999];v[299999]=0;if((f|0)==1){break G}}m=d-1|0;H:{if(x[c+8>>1]<(d|0)){f=x[c+14>>1];c=x[c+12>>1];if(v[282398]<(f+c|0)){v[299999]=0;a=aa(4369,g+120|0,260231,271810,577,336631,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break F}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break d}c=P()|0;O()|0;qc(a);break j}c=c+v[282397]|0;break H}c=v[c+20>>2]+(x[c+12>>1]+B(m,x[c+14>>1])|0)|0}if((k|0)<1){break D}f=l;if(q){break E}while(1){j=w[c|0];v[h>>2]=v[n+((i>>>0>j>>>0?j:0)<<2)>>2];j=w[c+1|0];v[h+4>>2]=v[n+((i>>>0>j>>>0?j:0)<<2)>>2];j=w[c+2|0];v[h+8>>2]=v[n+((i>>>0>j>>>0?j:0)<<2)>>2];j=w[c+3|0];v[h+12>>2]=v[n+((i>>>0>j>>>0?j:0)<<2)>>2];c=c+4|0;h=h+16|0;f=f-4|0;if(f){continue}break}break E}c=P()|0;O()|0;break j}c=P()|0;O()|0;break j}f=o;if(!f){break D}while(1){j=w[c|0];v[h>>2]=v[n+((i>>>0>j>>>0?j:0)<<2)>>2];c=c+1|0;h=h+4|0;f=f-1|0;if(f){continue}break}}if((d|0)<2){break C}c=v[g+16>>2];d=m;continue}}dc(n)}ec(g+16|0)}c=v[g+40>>2];v[g+40>>2]=0;if(!c){break m}v[299999]=0;d=v[c+4>>2]-1|0;v[c+4>>2]=d;f=v[299999];v[299999]=0;if((f|0)!=1){if(d){break m}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)!=1){break m}}break c}v[g+120>>2]=1;c=v[v[b>>2]+288>>2];v[299999]=0;Q(c|0,b|0,g+120|0)|0;c=v[299999];v[299999]=0;I:{J:{K:{if((c|0)!=1){c=v[g+84>>2];if(!(1<>>0<=16:0)){v[299999]=0;d=Q(4371,g+8|0,e|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break f}v[299999]=0;ub(4372,a|0,b|0,d|0,+(25.4/+(u|0)),0);a=v[299999];v[299999]=0;if((a|0)==1){break K}Nf(d)}v[g+120>>2]=0;v[g+124>>2]=0;v[g+24>>2]=0;v[g+28>>2]=0;a=v[v[b>>2]+356>>2];v[299999]=0;aa(a|0,b|0,r|0,g+120|0,g+24|0,g+96|0,g+88|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break J}v[g+120>>2]=1;a=v[v[b>>2]+292>>2];v[299999]=0;Q(a|0,b|0,g+120|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break I}sj(r);Qb=g+144|0;return}c=P()|0;O()|0;break e}c=P()|0;O()|0;Nf(d);break e}c=P()|0;O()|0;break e}c=P()|0;O()|0;break e}c=P()|0;O()|0;break i}c=P()|0;O()|0}ec(g+16|0)}ec(g+40|0);break e}c=P()|0;O()|0}ec(g+40|0);break e}c=P()|0;O()|0}sj(r);T(c|0)}L()}W(0)|0;O()|0;lc();L()}function iZ(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0;o=Qb-1408|0;Qb=o;e=d<<3;q=e&-32|4;f=c<<2;r=f&-32|2;g=b<<3;s=g&-32|4;D=v[v[a+480>>2]+24>>2];j=v[a+132>>2];a:{if((j|0)<1){j=0;break a}m=e|28;y=m+q>>1;n=f|30;x=n+r>>1;p=g|28;z=p+s>>1;e=v[a+136>>2];h=v[e+8>>2];A=v[e+4>>2];C=v[e>>2];f=0;l=2147483647;while(1){e=w[f+C|0];b:{if((e|0)<(s|0)){g=e-p<<1;g=B(g,g);e=e-s<<1;e=B(e,e);break b}if((e|0)>(p|0)){g=e-s<<1;g=B(g,g);e=e-p<<1;e=B(e,e);break b}c:{if((e|0)<=(z|0)){e=e-p<<1;g=B(e,e);break c}e=e-s<<1;g=B(e,e)}e=0}i=w[f+A|0];d:{if((i|0)<(r|0)){k=e;e=B(i-r|0,3);e=k+B(e,e)|0;i=B(i-n|0,3);k=B(i,i);break d}if((i|0)>(n|0)){k=e;e=B(i-n|0,3);e=k+B(e,e)|0;i=B(i-r|0,3);k=B(i,i);break d}if((i|0)<=(x|0)){i=B(i-n|0,3);k=B(i,i);break d}i=B(i-r|0,3);k=B(i,i)}i=k+g|0;g=w[f+h|0];e:{if((g|0)<(q|0)){k=e;e=g-q|0;e=k+B(e,e)|0;g=g-m|0;g=B(g,g);break e}if((g|0)>(m|0)){k=e;e=g-m|0;e=k+B(e,e)|0;g=g-q|0;g=B(g,g);break e}if((g|0)<=(y|0)){g=g-m|0;g=B(g,g);break e}g=g-q|0;g=B(g,g)}v[(o+384|0)+(f<<2)>>2]=e;e=g+i|0;l=(e|0)<(l|0)?e:l;f=f+1|0;if((j|0)!=(f|0)){continue}break}g=j&1;f:{if((j|0)==1){j=0;f=0;break f}e=j&-2;j=0;f=0;while(1){if(v[(o+384|0)+(f<<2)>>2]<=(l|0)){t[(o+128|0)+j|0]=f;j=j+1|0}i=f|1;if(v[(o+384|0)+(i<<2)>>2]<=(l|0)){t[(o+128|0)+j|0]=i;j=j+1|0}f=f+2|0;e=e-2|0;if(e){continue}break}}if(!g|v[(o+384|0)+(f<<2)>>2]>(l|0)){break a}t[(o+128|0)+j|0]=f;j=j+1|0}e=o;v[e+888>>2]=2147483647;v[e+892>>2]=2147483647;v[e+880>>2]=2147483647;v[e+884>>2]=2147483647;v[e+872>>2]=2147483647;v[e+876>>2]=2147483647;v[e+864>>2]=2147483647;v[e+868>>2]=2147483647;v[e+856>>2]=2147483647;v[e+860>>2]=2147483647;v[e+848>>2]=2147483647;v[e+852>>2]=2147483647;v[e+840>>2]=2147483647;v[e+844>>2]=2147483647;v[e+832>>2]=2147483647;v[e+836>>2]=2147483647;v[e+824>>2]=2147483647;v[e+828>>2]=2147483647;v[e+816>>2]=2147483647;v[e+820>>2]=2147483647;v[e+808>>2]=2147483647;v[e+812>>2]=2147483647;v[e+800>>2]=2147483647;v[e+804>>2]=2147483647;v[e+792>>2]=2147483647;v[e+796>>2]=2147483647;v[e+784>>2]=2147483647;v[e+788>>2]=2147483647;v[e+776>>2]=2147483647;v[e+780>>2]=2147483647;v[e+768>>2]=2147483647;v[e+772>>2]=2147483647;v[e+760>>2]=2147483647;v[e+764>>2]=2147483647;v[e+752>>2]=2147483647;v[e+756>>2]=2147483647;v[e+744>>2]=2147483647;v[e+748>>2]=2147483647;v[e+736>>2]=2147483647;v[e+740>>2]=2147483647;v[e+728>>2]=2147483647;v[e+732>>2]=2147483647;v[e+720>>2]=2147483647;v[e+724>>2]=2147483647;v[e+712>>2]=2147483647;v[e+716>>2]=2147483647;v[e+704>>2]=2147483647;v[e+708>>2]=2147483647;v[e+696>>2]=2147483647;v[e+700>>2]=2147483647;v[e+688>>2]=2147483647;v[e+692>>2]=2147483647;v[e+680>>2]=2147483647;v[e+684>>2]=2147483647;v[e+672>>2]=2147483647;v[e+676>>2]=2147483647;v[e+664>>2]=2147483647;v[e+668>>2]=2147483647;v[e+656>>2]=2147483647;v[e+660>>2]=2147483647;v[e+648>>2]=2147483647;v[e+652>>2]=2147483647;v[e+640>>2]=2147483647;v[e+644>>2]=2147483647;v[e+632>>2]=2147483647;v[e+636>>2]=2147483647;v[e+624>>2]=2147483647;v[e+628>>2]=2147483647;v[e+616>>2]=2147483647;v[e+620>>2]=2147483647;v[e+608>>2]=2147483647;v[e+612>>2]=2147483647;v[e+600>>2]=2147483647;v[e+604>>2]=2147483647;v[e+592>>2]=2147483647;v[e+596>>2]=2147483647;v[e+584>>2]=2147483647;v[e+588>>2]=2147483647;v[e+576>>2]=2147483647;v[e+580>>2]=2147483647;v[e+568>>2]=2147483647;v[e+572>>2]=2147483647;v[e+560>>2]=2147483647;v[e+564>>2]=2147483647;v[e+552>>2]=2147483647;v[e+556>>2]=2147483647;v[e+544>>2]=2147483647;v[e+548>>2]=2147483647;v[e+536>>2]=2147483647;v[e+540>>2]=2147483647;v[e+528>>2]=2147483647;v[e+532>>2]=2147483647;v[e+520>>2]=2147483647;v[e+524>>2]=2147483647;v[e+512>>2]=2147483647;v[e+516>>2]=2147483647;v[e+504>>2]=2147483647;v[e+508>>2]=2147483647;v[e+496>>2]=2147483647;v[e+500>>2]=2147483647;v[e+488>>2]=2147483647;v[e+492>>2]=2147483647;v[e+480>>2]=2147483647;v[e+484>>2]=2147483647;v[e+472>>2]=2147483647;v[e+476>>2]=2147483647;v[e+464>>2]=2147483647;v[e+468>>2]=2147483647;v[e+456>>2]=2147483647;v[e+460>>2]=2147483647;v[e+448>>2]=2147483647;v[e+452>>2]=2147483647;v[e+440>>2]=2147483647;v[e+444>>2]=2147483647;v[e+432>>2]=2147483647;v[e+436>>2]=2147483647;v[e+424>>2]=2147483647;v[e+428>>2]=2147483647;v[e+416>>2]=2147483647;v[e+420>>2]=2147483647;v[e+408>>2]=2147483647;v[e+412>>2]=2147483647;v[e+400>>2]=2147483647;v[e+404>>2]=2147483647;v[e+392>>2]=2147483647;v[e+396>>2]=2147483647;v[e+384>>2]=2147483647;v[e+388>>2]=2147483647;if((j|0)>=1){y=v[a+136>>2];x=0;while(1){a=3;i=w[(o+128|0)+x|0];e=r-w[i+v[y+4>>2]|0]|0;f=B(e,3);k=B(f,f);g=s-w[i+v[y>>2]|0]|0;f=g<<1;k=k+B(f,f)|0;f=q-w[i+v[y+8>>2]|0]|0;p=k+B(f,f)|0;e=B(e,72);A=e+1872|0;C=e+1584|0;E=e+1296|0;F=e+1008|0;G=e+720|0;H=e+432|0;f=f<<4;l=f+320|0;m=f+192|0;n=f- -64|0;k=e+144|0;z=(g<<6)+256|0;e=o;f=e+384|0;while(1){if(v[f>>2]>(p|0)){v[f>>2]=p;t[e|0]=i}g=n+p|0;if((g|0)>2]){v[f+4>>2]=g;t[e+1|0]=i}g=g+m|0;if((g|0)>2]){v[f+8>>2]=g;t[e+2|0]=i}g=g+l|0;if((g|0)>2]){v[f+12>>2]=g;t[e+3|0]=i}g=p+k|0;if((g|0)>2]){v[f+16>>2]=g;t[e+4|0]=i}h=g+n|0;if((h|0)>2]){v[f+20>>2]=h;t[e+5|0]=i}h=h+m|0;if((h|0)>2]){v[f+24>>2]=h;t[e+6|0]=i}h=h+l|0;if((h|0)>2]){v[f+28>>2]=h;t[e+7|0]=i}g=g+H|0;if((g|0)>2]){v[f+32>>2]=g;t[e+8|0]=i}h=g+n|0;if((h|0)>2]){v[f+36>>2]=h;t[e+9|0]=i}h=h+m|0;if((h|0)>2]){v[f+40>>2]=h;t[e+10|0]=i}h=h+l|0;if((h|0)>2]){v[f+44>>2]=h;t[e+11|0]=i}g=g+G|0;if((g|0)>2]){v[f+48>>2]=g;t[e+12|0]=i}h=g+n|0;if((h|0)>2]){v[f+52>>2]=h;t[e+13|0]=i}h=h+m|0;if((h|0)>2]){v[f+56>>2]=h;t[e+14|0]=i}h=h+l|0;if((h|0)>2]){v[f+60>>2]=h;t[e+15|0]=i}g=g+F|0;if((g|0)>2]){v[f+64>>2]=g;t[e+16|0]=i}h=g+n|0;if((h|0)>2]){v[f+68>>2]=h;t[e+17|0]=i}h=h+m|0;if((h|0)>2]){v[f+72>>2]=h;t[e+18|0]=i}h=h+l|0;if((h|0)>2]){v[f+76>>2]=h;t[e+19|0]=i}g=g+E|0;if((g|0)>2]){v[f+80>>2]=g;t[e+20|0]=i}h=g+n|0;if((h|0)>2]){v[f+84>>2]=h;t[e+21|0]=i}h=h+m|0;if((h|0)>2]){v[f+88>>2]=h;t[e+22|0]=i}h=h+l|0;if((h|0)>2]){v[f+92>>2]=h;t[e+23|0]=i}g=g+C|0;if((g|0)>2]){v[f+96>>2]=g;t[e+24|0]=i}h=g+n|0;if((h|0)>2]){v[f+100>>2]=h;t[e+25|0]=i}h=h+m|0;if((h|0)>2]){v[f+104>>2]=h;t[e+26|0]=i}h=h+l|0;if((h|0)>2]){v[f+108>>2]=h;t[e+27|0]=i}g=g+A|0;if((g|0)>2]){v[f+112>>2]=g;t[e+28|0]=i}g=g+n|0;if((g|0)>2]){v[f+116>>2]=g;t[e+29|0]=i}g=g+m|0;if((g|0)>2]){v[f+120>>2]=g;t[e+30|0]=i}g=g+l|0;if((g|0)>2]){v[f+124>>2]=g;t[e+31|0]=i}g=a;a=g-1|0;p=p+z|0;e=e+32|0;f=f+128|0;z=z+512|0;if(g){continue}break}x=x+1|0;if((x|0)!=(j|0)){continue}break}}e=b&-4;g=0;f=o;a=(d&-4)<<1;d=c&-8;i=(d|1)<<6;j=(d|2)<<6;l=(d|3)<<6;m=(d|4)<<6;n=(d|5)<<6;q=(d|6)<<6;r=(c|7)<<6;while(1){b=v[(e+g<<2)+D>>2];c=a+(b+(d<<6)|0)|0;u[c>>1]=w[f|0]+1;u[c+2>>1]=w[f+1|0]+1;u[c+4>>1]=w[f+2|0]+1;u[c+6>>1]=w[f+3|0]+1;c=a+(b+i|0)|0;u[c>>1]=w[f+4|0]+1;u[c+2>>1]=w[f+5|0]+1;u[c+4>>1]=w[f+6|0]+1;u[c+6>>1]=w[f+7|0]+1;c=a+(b+j|0)|0;u[c>>1]=w[f+8|0]+1;u[c+2>>1]=w[f+9|0]+1;u[c+4>>1]=w[f+10|0]+1;u[c+6>>1]=w[f+11|0]+1;c=a+(b+l|0)|0;u[c>>1]=w[f+12|0]+1;u[c+2>>1]=w[f+13|0]+1;u[c+4>>1]=w[f+14|0]+1;u[c+6>>1]=w[f+15|0]+1;c=a+(b+m|0)|0;u[c>>1]=w[f+16|0]+1;u[c+2>>1]=w[f+17|0]+1;u[c+4>>1]=w[f+18|0]+1;u[c+6>>1]=w[f+19|0]+1;c=a+(b+n|0)|0;u[c>>1]=w[f+20|0]+1;u[c+2>>1]=w[f+21|0]+1;u[c+4>>1]=w[f+22|0]+1;u[c+6>>1]=w[f+23|0]+1;c=a+(b+q|0)|0;u[c>>1]=w[f+24|0]+1;u[c+2>>1]=w[f+25|0]+1;u[c+4>>1]=w[f+26|0]+1;u[c+6>>1]=w[f+27|0]+1;b=a+(b+r|0)|0;u[b>>1]=w[f+28|0]+1;u[b+2>>1]=w[f+29|0]+1;u[b+4>>1]=w[f+30|0]+1;u[b+6>>1]=w[f+31|0]+1;f=f+32|0;g=g+1|0;if((g|0)!=4){continue}break}Qb=o+1408|0}function Hpa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;f=Qb-1072|0;Qb=f;v[f+1056>>2]=0;v[299999]=0;v[f+1060>>2]=v[282402];e=Z(4504,a|0,f+1056|0,0,0)|0;g=v[299999];v[299999]=0;a:{b:{c:{d:{e:{if((g|0)==1){break e}f:{g:{h:{if(e){e=v[f+1056>>2];e=v[(e?e+12|0:1129608)>>2];v[299999]=0;U(4599,b|0,e|0,1);e=v[299999];v[299999]=0;if((e|0)==1){break e}v[299999]=0;e=Nc(f+1056|0,322822,5);g=v[299999];v[299999]=0;if((g|0)==1){break e}i:{if(!e){while(1){j:{v[299999]=0;e=Z(4504,a|0,f+1056|0,0,0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break j}if(!e){break i}e=v[f+1056>>2];e=v[(e?e+12|0:1129608)>>2];v[299999]=0;U(4599,b|0,e|0,0);e=v[299999];v[299999]=0;if((e|0)==1){break j}v[299999]=0;e=Nc(f+1056|0,320500,-1);g=v[299999];v[299999]=0;if((g|0)==1){break j}k:{l:{m:{if(!e){v[f+1048>>2]=0;v[f+1052>>2]=v[282402];n:{o:{p:{q:{r:{s:{t:{while(1){u:{e=v[v[a>>2]+8>>2];v[299999]=0;e=Y(e|0,a|0,f+16|0,1024)|0;g=v[299999];v[299999]=0;if((g|0)==1){break u}if(!e){e=v[f+1048>>2];if(!e){break q}g=e;if(v[e+8>>2]){break r}break n}v[299999]=0;g=Y(4605,f+8|0,f+16|0,e|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break t}v[299999]=0;Q(4606,f+1048|0,f+8|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break s}ec(g);continue}break}e=P()|0;O()|0;break c}e=P()|0;O()|0;break c}e=P()|0;O()|0;ec(g);break c}while(1){if(w[v[e+12>>2]]!=10){break n}v[299999]=0;$(4568,f+8|0,f+1048|0,1,-1);e=v[299999];v[299999]=0;if((e|0)==1){break p}v[299999]=0;Q(4535,f+1048|0,f+8|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break o}ec(f+8|0);e=v[f+1048>>2];if(!e){break q}g=e;if(v[e+8>>2]){continue}break}break n}g=e;e=0;break n}e=P()|0;O()|0;break c}e=P()|0;O()|0;ec(f+8|0);break c}v:{w:{if(!e){break w}while(1){h=v[e+8>>2];if(!h){break w}i=h-1|0;x:{if(i){e=i+((h|0)>0?0:g?h:0)|0;if(!(!g|(e|0)<0|(e|0)>(h|0))){g=g+12|0;break x}v[299999]=0;ba(4543);a=v[299999];v[299999]=0;if((a|0)==1){break d}L()}g=e+12|0;e=0}if(w[v[g>>2]+e|0]!=10){break w}v[299999]=0;U(4607,f+1048|0,i|0,0);e=v[299999];v[299999]=0;if((e|0)==1){break v}e=v[f+1048>>2];g=e;if(e){continue}break}}v[299999]=0;g=Fe(f+1048|0);e=v[299999];v[299999]=0;y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{if((e|0)==1){break L}v[299999]=0;e=v[v[d+12>>2]+((g>>>0)%y[d+8>>2]<<2)>>2];h=v[299999];v[299999]=0;if((h|0)==1){break L}M:{N:{if(e){while(1){if((g|0)==v[e+12>>2]){v[299999]=0;h=Y(4541,e+16|0,f+1048|0,-1)|0;i=v[299999];v[299999]=0;if((i|0)==1){break M}if(!h){break N}}e=v[e+8>>2];if(e){continue}break}}v[299999]=0;U(4608,f|0,c|0,f+1048|0);e=v[299999];v[299999]=0;if((e|0)==1){break E}e=v[f>>2];if(!e){break z}v[299999]=0;g=v[e+20>>2];if(!g|!v[g+8>>2]){e=e+36|0}else{e=e+20|0}g=v[299999];v[299999]=0;if((g|0)==1){break y}v[f+8>>2]=0;v[f+12>>2]=v[282402];e=v[e>>2];if(!e){break I}g=v[v[e>>2]+28>>2];v[299999]=0;U(g|0,f+1064|0,e|0,1);e=v[299999];v[299999]=0;if((e|0)!=1){break H}e=P()|0;O()|0;break G}v[299999]=0;v[f+8>>2]=0;Q(4336,f+8|0,b|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break K}v[299999]=0;Q(4437,v[f+8>>2],e+24|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break J}e=v[f+8>>2];v[f+8>>2]=0;if(!e){break l}v[299999]=0;g=v[e+4>>2]-1|0;v[e+4>>2]=g;h=v[299999];v[299999]=0;if((h|0)==1){break a}if(g){break l}v[299999]=0;R(4338,e|0);e=v[299999];v[299999]=0;if((e|0)==1){break a}break l}e=P()|0;O()|0;break c}e=P()|0;O()|0;break c}e=P()|0;O()|0;break c}e=P()|0;O()|0;ec(f+8|0);break c}v[f+1064>>2]=0}v[299999]=0;Q(4344,f+8|0,f+1064|0)|0;e=v[299999];v[299999]=0;if((e|0)!=1){e=v[f+1064>>2];v[f+1064>>2]=0;if(!e){break F}v[299999]=0;g=v[e+4>>2]-1|0;v[e+4>>2]=g;h=v[299999];v[299999]=0;if((h|0)!=1){if(g){break F}v[299999]=0;R(4338,e|0);e=v[299999];v[299999]=0;if((e|0)!=1){break F}}break a}e=P()|0;O()|0;ec(f+1064|0)}ec(f+8|0);ec(f);break c}e=v[f+8>>2];v[f+12>>2]=v[(e?e+12|0:1129608)>>2];v[299999]=0;e=Q(4609,d|0,f+1048|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break D}v[299999]=0;Q(4535,e+24|0,f+8|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break D}v[299999]=0;v[f+1064>>2]=0;Q(4336,f+1064|0,b|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break C}v[299999]=0;Q(4437,v[f+1064>>2],f+8|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break B}e=v[f+1064>>2];v[f+1064>>2]=0;O:{if(!e){break O}v[299999]=0;g=v[e+4>>2]-1|0;v[e+4>>2]=g;h=v[299999];v[299999]=0;if((h|0)==1){break a}if(g){break O}v[299999]=0;R(4338,e|0);e=v[299999];v[299999]=0;if((e|0)==1){break a}}ec(f+8|0);break m}e=P()|0;O()|0;break c}e=P()|0;O()|0;break A}e=P()|0;O()|0;break A}e=P()|0;O()|0;ec(f+1064|0)}ec(f+8|0);ec(f);break c}v[299999]=0;v[f+1064>>2]=0;Q(4336,f+1064|0,a|0)|0;e=v[299999];v[299999]=0;P:{Q:{if((e|0)!=1){v[299999]=0;e=v[f+1064>>2];v[f+8>>2]=0;Q(4336,f+8|0,b|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break Q}v[299999]=0;Y(4604,v[f+8>>2],e|0,0)|0;e=v[299999];v[299999]=0;R:{if((e|0)!=1){e=v[f+8>>2];v[f+8>>2]=0;if(!e){break R}v[299999]=0;g=v[e+4>>2]-1|0;v[e+4>>2]=g;h=v[299999];v[299999]=0;if((h|0)!=1){if(g){break R}v[299999]=0;R(4338,e|0);e=v[299999];v[299999]=0;if((e|0)!=1){break R}}break a}e=P()|0;O()|0;ec(f+8|0);break P}e=v[f+1064>>2];v[f+1064>>2]=0;if(!e){break m}v[299999]=0;g=v[e+4>>2]-1|0;v[e+4>>2]=g;h=v[299999];v[299999]=0;if((h|0)!=1){if(g){break m}v[299999]=0;R(4338,e|0);e=v[299999];v[299999]=0;if((e|0)!=1){break m}}break a}e=P()|0;O()|0;ec(f);break c}e=P()|0;O()|0}ec(f+1064|0);ec(f);break c}e=P()|0;O()|0;ec(f);break c}e=P()|0;O()|0;break c}v[299999]=0;v[f+1048>>2]=0;Q(4336,f+1048|0,a|0)|0;e=v[299999];v[299999]=0;S:{T:{if((e|0)!=1){v[299999]=0;e=v[f+1048>>2];v[f+16>>2]=0;Q(4336,f+16|0,b|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break T}v[299999]=0;Y(4604,v[f+16>>2],e|0,0)|0;e=v[299999];v[299999]=0;U:{if((e|0)!=1){e=v[f+16>>2];v[f+16>>2]=0;if(!e){break U}v[299999]=0;g=v[e+4>>2]-1|0;v[e+4>>2]=g;h=v[299999];v[299999]=0;if((h|0)!=1){if(g){break U}v[299999]=0;R(4338,e|0);e=v[299999];v[299999]=0;if((e|0)!=1){break U}}break a}e=P()|0;O()|0;ec(f+16|0);break S}e=v[f+1048>>2];v[f+1048>>2]=0;if(!e){break k}v[299999]=0;g=v[e+4>>2]-1|0;v[e+4>>2]=g;h=v[299999];v[299999]=0;if((h|0)!=1){if(g){break k}v[299999]=0;R(4338,e|0);e=v[299999];v[299999]=0;if((e|0)!=1){break k}}break a}e=P()|0;O()|0;break b}e=P()|0;O()|0}ec(f+1048|0);break b}e=v[f>>2];v[f>>2]=0;if(!e){break l}v[299999]=0;g=v[e+4>>2]-1|0;v[e+4>>2]=g;h=v[299999];v[299999]=0;if((h|0)!=1){if(g){break l}v[299999]=0;R(4338,e|0);e=v[299999];v[299999]=0;if((e|0)!=1){break l}}break a}ec(f+1048|0)}v[299999]=0;R(4601,b|0);e=v[299999];v[299999]=0;if((e|0)==1){break j}v[299999]=0;R(4601,a|0);e=v[299999];v[299999]=0;if((e|0)!=1){continue}}break}e=P()|0;O()|0;break b}v[299999]=0;v[f+1048>>2]=0;Q(4336,f+1048|0,a|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break h}v[299999]=0;c=v[f+1048>>2];v[f+16>>2]=0;Q(4336,f+16|0,b|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break g}v[299999]=0;Y(4604,v[f+16>>2],c|0,0)|0;c=v[299999];v[299999]=0;V:{if((c|0)!=1){c=v[f+16>>2];v[f+16>>2]=0;if(!c){break V}v[299999]=0;d=v[c+4>>2]-1|0;v[c+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)!=1){if(d){break V}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)!=1){break V}}break a}e=P()|0;O()|0;ec(f+16|0);break f}c=v[f+1048>>2];v[f+1048>>2]=0;if(!c){break i}v[299999]=0;d=v[c+4>>2]-1|0;v[c+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(d){break i}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}v[299999]=0;R(4601,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break e}v[299999]=0;R(4601,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break e}}ec(f+1056|0);Qb=f+1072|0;return}e=P()|0;O()|0;break b}e=P()|0;O()|0}ec(f+1048|0);break b}e=P()|0;O()|0;break b}e=P()|0;O()|0}ec(f+1048|0)}ec(f+1056|0);T(e|0);L()}W(0)|0;O()|0;lc();L()} +function H1a(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,n=0,o=0,p=0,q=0,r=0,s=0;g=Qb-16|0;Qb=g;a:{b:{d=Yc(a,0);if(!d){d=me(a,381648,b+132|0);if(!d){break b}}v[g+12>>2]=d;break a}v[b+168>>2]=v[b+168>>2]+(v[b+204>>2]<<16);c:{if(!(v[b+132>>2]!=1346785840|y[b+136>>2]>4|y[b+144>>2]<58)){if(v[b+140>>2]==3338){break c}}d=2;v[g+12>>2]=2;break a}i=v[b+152>>2];d=Yc(a,i);v[g>>2]=d;d:{e:{if(d){break e}e=Ed(a,g);d=v[g>>2];if(d){break e}d=8;if(e>>>0>13106){break e}f=v[a+4>>2];if(B(e,5)+2>>>0>=f-i>>>0){break e}if(f>>>0>B(e,23)+95>>>0){break d}}v[g+12>>2]=d;break a}d=0;v[g+12>>2]=0;v[b>>2]=e;if((c|0)<0){break a}q=c&65535;if(e>>>0<=q>>>0){d=6;v[g+12>>2]=6;break a}h=v[b+204>>2];d=Yc(a,v[b+152>>2]);v[g>>2]=d;f:{g:{h:{if(d){break h}c=Ed(a,g);d=v[g>>2];if(d){break h}d=6;if(c>>>0<=q>>>0){break h}d=Bf(a,B(q,5));v[g>>2]=d;if(d){break h}e=Ed(a,g);d=v[g>>2];if(d){break h}c=0;i=Qb-16|0;Qb=i;v[g>>2]=0;i:{j:{k:{l:{d=v[a+8>>2];if(y[a+4>>2]<=d+2>>>0){break l}f=v[a+20>>2];m:{if(f){if((Ub[f|0](a,d,i+13|0,3)|0)!=3){break l}d=v[a+8>>2];c=i+13|0;break m}c=v[a>>2];if(!c){break k}c=c+d|0}c=w[c+2|0]|(w[c+1|0]<<8|w[c|0]<<16);break j}v[g>>2]=85;break i}c=0}v[a+8>>2]=d+3}Qb=i+16|0;d=v[g>>2];if(d){break h}v[b+240>>2]=e;v[b+244>>2]=c;d=Yc(a,c);v[g>>2]=d;if(d){break h}d=ne(a,e);v[g>>2]=d;if(d){break h}n:{if(e>>>0<13){break n}d=v[a+32>>2];f=d+e|0;v[b+248>>2]=w[d+2|0]|(w[d+1|0]<<8|w[d|0]<<16);v[b+252>>2]=w[d+5|0]|(w[d+4|0]<<8|w[d+3|0]<<16);v[b+256>>2]=w[d+8|0]|(w[d+7|0]<<8|w[d+6|0]<<16);v[b+260>>2]=w[d+11|0]|(w[d+10|0]<<8|w[d+9|0]<<16);c=0;k=f;e=d+13|0;l=e;i=w[d+12|0];j=i&4;if(j){c=i&8?2:1;o=i&3?c:c+3|0}else{o=c}c=i&32;if(k>>>0>31&(c?2:1))|0)>>>0){break n}k=i&16;o:{if(!j){break o}p:{if(i&8){e=w[d+13|0]|w[d+14|0]<<8;j=(e<<8|e>>>8)<<16>>16;e=d+15|0;break p}j=w[d+13|0];e=d+14|0}v[b+268>>2]=j;if(i&3){break o}v[b+276>>2]=w[e+2|0]|(w[e+1|0]<<8|w[e|0]<<16);e=e+3|0}q:{if(!k){c=e;break q}r:{if(c){c=w[e|0]|w[e+1|0]<<8;d=(c<<8|c>>>8)<<16>>16;c=e+2|0;break r}d=w[e|0];c=e+1|0}v[b+272>>2]=d}s:{if(!(i&64)){d=c;break s}d=c+1|0;if(f>>>0>>0){break g}c=w[c|0];if(c){while(1){e=d+2|0;if(e>>>0>f>>>0){break g}d=e+w[d|0]|0;if(f>>>0>>0){break g}c=c-1|0;if(c){continue}break}}v[g>>2]=0}if(f>>>0>>0){break n}c=w[d+1|0]|w[d|0]<<8;v[b+280>>2]=c;v[b+284>>2]=w[d+4|0]|(w[d+3|0]<<8|w[d+2|0]<<16);if(!h){break f}if(f>>>0>>0){break n}v[b+280>>2]=c|w[d+5|0]<<16;break f}v[g>>2]=8;break f}v[g+12>>2]=d;break a}v[g>>2]=8}Vd(a);d=v[g>>2];v[g+12>>2]=d;if(d){break a}e=v[b+280>>2];p=v[b+284>>2];m=v[a+28>>2];v[b+428>>2]=b+424;v[b+424>>2]=0;v[b+292>>2]=p;f=b+288|0;v[f>>2]=m;t:{u:{v:{w:{x:{d=Yc(a,p);if(d){break x}d=ne(a,e);v[g>>2]=d;if(d){break x}d=v[a+32>>2];v[f+148>>2]=d;if((e|0)<15){break w}v[f+8>>2]=w[d+1|0]|w[d|0]<<8;v[f+12>>2]=w[d+3|0]|w[d+2|0]<<8;v[f+16>>2]=w[d+5|0]|w[d+4|0]<<8;c=w[d+6|0]|w[d+7|0]<<8;v[f+20>>2]=(c<<8|c>>>8)<<16>>16;c=w[d+8|0]|w[d+9|0]<<8;v[f+24>>2]=(c<<8|c>>>8)<<16>>16;c=w[d+10|0]|w[d+11|0]<<8;v[f+28>>2]=(c<<8|c>>>8)<<16>>16;c=w[d+12|0]|w[d+13|0]<<8;v[f+32>>2]=(c<<8|c>>>8)<<16>>16;k=w[d+14|0];v[f+36>>2]=k;s=k&4;if(s){c=d+15|0}else{if((e|0)<17){break w}c=w[d+15|0]|w[d+16|0]<<8;v[f+40>>2]=(c<<8|c>>>8)<<16>>16;c=d+17|0}j=d+e|0;if(k&128){d=c+1|0;if(j>>>0>>0){break v}h=w[c|0];y:{if(!h){c=d;break y}while(1){e=d+2|0;if(e>>>0>j>>>0){break v}c=e+w[d|0]|0;if(j>>>0>>0){break v}d=w[d+1|0]-1|0;if((d&255)>>>0<=3){d=Ub[v[(d<<24>>24<<2)+381764>>2]](e,c,f)|0;if(d){break u}}d=c;h=h-1|0;if(h){continue}break}}v[g>>2]=0}e=c+3|0;if(j>>>0>>0){break w}h=w[c+2|0]|(w[c+1|0]<<8|w[c|0]<<16);if(h){c=e+h|0;if(c>>>0>j>>>0){break w}n=f+84|0;r=f+88|0;while(1){z:{d=e+4|0;if(d>>>0>c>>>0){break z}l=w[e+1|0]|w[e|0]<<8;if(l>>>0<4|h>>>0>>0){break z}o=g;A:{B:{C:{D:{E:{i=w[e+2|0]|w[e+3|0]<<8;switch(((i<<8|i>>>8)&65535)-1|0){case 2:break C;case 1:break D;case 0:break E;default:break A}}d=i_(d,l-4|0,m,n);break B}if(l>>>0<36){break A}d=w[e+14|0]|w[e+15|0]<<8;v[f+44>>2]=(d<<8|d>>>8)<<16>>16;d=w[e+16|0]|w[e+17|0]<<8;v[f+48>>2]=(d<<8|d>>>8)<<16>>16;d=w[e+18|0]|w[e+19|0]<<8;v[f+52>>2]=(d<<8|d>>>8)<<16>>16;break A}d=i_(d,l-4|0,m,r)}v[o>>2]=d;if(d){break x}}e=e+l|0;h=h-l|0;if(h){continue}}break}e=c}d=e+1|0;if(j>>>0>>0){break w}c=w[e|0];v[f+104>>2]=c;if(j>>>0<(c<<1)+d>>>0){break w}i=Cc(m,4,0,c,0,g);v[f+108>>2]=i;if(v[g>>2]){break t}F:{if(!c){break F}l=c&1;G:{if((c|0)==1){e=0;break G}h=c&254;e=0;while(1){c=e<<2;n=w[d|0]|w[d+1|0]<<8;v[c+i>>2]=(n<<8|n>>>8)<<16>>16;o=i+(c|4)|0;c=w[d+2|0]|w[d+3|0]<<8;v[o>>2]=(c<<8|c>>>8)<<16>>16;e=e+2|0;d=d+4|0;h=h-2|0;if(h){continue}break}}if(!l){break F}c=w[d|0]|w[d+1|0]<<8;v[i+(e<<2)>>2]=(c<<8|c>>>8)<<16>>16;d=d+2|0}e=d+8|0;if(j>>>0>>0){break w}v[f+112>>2]=w[d|0];v[f+116>>2]=w[d+1|0];v[f+68>>2]=w[d+3|0]|w[d+2|0]<<8;v[f+56>>2]=w[d+5|0]|w[d+4|0]<<8;i=w[d+7|0]|w[d+6|0]<<8;v[f+120>>2]=i;v[f+124>>2]=(e+p|0)-v[a+32>>2];l=k>>>3&1;p=k&2;n=k&16;r=k&32;if(j>>>0>>1)+(p?5:4)+(n>>>4)+(r>>>5)|0)+e>>>0){break w}c=0;m=Cc(m,16,0,i,0,g);v[f+128>>2]=m;if(v[g>>2]|!i){break t}while(1){H:{if(p){h=w[e+1|0]|w[e|0]<<8;d=e+2|0;break H}h=w[e|0];d=e+1|0}k=m+(c<<4)|0;v[k>>2]=h;I:{if(s){e=w[d|0]|w[d+1|0]<<8;h=(e<<8|e>>>8)<<16>>16;d=d+2|0;break I}h=v[f+40>>2]}v[k+4>>2]=h;d=d+l|0;J:{if(n){h=w[d+1|0]|w[d|0]<<8;d=d+2|0;break J}h=w[d|0];d=d+1|0}v[k+8>>2]=h;K:{if(r){h=w[d+1|0]<<8|w[d|0]<<16;j=2;e=d+3|0;break K}h=w[d|0]<<8;j=1;e=d+2|0}v[k+12>>2]=w[d+j|0]|h;c=c+1|0;if((i|0)!=(c|0)){continue}break}break t}v[g+12>>2]=d;break a}v[g>>2]=8;break t}d=8}v[g>>2]=d}Vd(a);e=0;a=v[a+8>>2];v[f+148>>2]=0;v[f+144>>2]=a;d=v[g>>2];v[g+12>>2]=d;if(d){break a}v[b+4>>2]=q;a=v[b+408>>2];v[b+16>>2]=a+1;c=v[b+8>>2]|1;v[b+8>>2]=c;L:{M:{N:{if(!a){break N}d=v[f+128>>2];while(1){if(v[(d+(e<<4)|0)+12>>2]){break N}e=e+1|0;if((a|0)!=(e|0)){continue}break}break M}if((a|0)!=(e|0)){break L}}c=0;if(v[f+92>>2]){break L}d=3;v[g+12>>2]=3;break a}a=v[b+324>>2];d=(a^-1)&4|c|(a&1?32:16);v[b+8>>2]=d;c=v[b+380>>2];if(c){d=d|2;v[b+8>>2]=d}if(v[f+132>>2]){v[b+8>>2]=d|64}d=v[b+372>>2];v[b+20>>2]=d;if(!d){v[b+20>>2]=v[b+368>>2]}v[b+28>>2]=0;v[b+32>>2]=0;v[b+24>>2]=v[b+376>>2];d=v[f+28>>2];e=v[f+32>>2];i=v[f+24>>2];h=v[f+20>>2];j=v[b+300>>2];u[b+68>>1]=j;k=v[b+320>>2];u[b+70>>1]=k;l=v[b+312>>2];u[b+72>>1]=l;v[b+52>>2]=h;v[b+56>>2]=i;v[b+60>>2]=d;v[b+64>>2]=e;d=(k<<16>>16)-(l<<16>>16)|0;e=(B(j&65535,12)>>>0)/10|0;u[b+74>>1]=(d|0)>e<<16>>16?d:e;if(c){a=Cc(v[v[b+104>>2]+28>>2],16,0,c,0,g+12|0);v[b+32>>2]=a;d=v[g+12>>2];if(d){break a}d=v[f+100>>2];if((c|0)!=1){e=c&-2;while(1){h=v[d+4>>2];u[a>>1]=h;i=v[d>>2];h=h<<6;v[a+12>>2]=h;v[a+4>>2]=h;u[a+2>>1]=i;v[a+8>>2]=i<<6;h=v[d+40>>2];u[a+16>>1]=h;i=v[d+36>>2];h=h<<6;v[a+28>>2]=h;v[a+20>>2]=h;u[a+18>>1]=i;v[a+24>>2]=i<<6;d=d+72|0;a=a+32|0;e=e-2|0;if(e){continue}break}}if(c&1){e=v[d+4>>2];u[a>>1]=e;d=v[d>>2];e=e<<6;v[a+12>>2]=e;v[a+4>>2]=e;u[a+2>>1]=d;v[a+8>>2]=d<<6}v[b+28>>2]=c;a=v[b+324>>2]}O:{if(!(a&4)){a=v[f+40>>2];break O}a=v[f+120>>2];if(!a){a=0;break O}c=a&3;d=v[f+128>>2];P:{if(a-1>>>0<3){a=0;break P}e=a&-4;a=0;while(1){i=v[d+52>>2];f=v[d+36>>2];h=v[d+20>>2];j=v[d+4>>2];a=(a|0)<(j|0)?j:a;a=(a|0)<(h|0)?h:a;a=(a|0)<(f|0)?f:a;a=(a|0)<(i|0)?i:a;d=d- -64|0;e=e-4|0;if(e){continue}break}}if(!c){break O}while(1){e=v[d+4>>2];a=(a|0)<(e|0)?e:a;d=d+16|0;c=c-1|0;if(c){continue}break}}u[b+76>>1]=a;u[b+78>>1]=x[b+74>>1];a=x[b+68>>1];u[b+82>>1]=(a>>>0)/30;u[b+80>>1]=0-((a>>>0)/10|0);v[g>>2]=b;v[g+4>>2]=1970170211;v[g+8>>2]=65539;d=Rj(381452,0,g,0);v[g+12>>2]=d;if(!v[b+420>>2]){break a}v[b+8>>2]=v[b+8>>2]|64}Qb=g+16|0;return d|0}function f9a(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,n=0,o=0,p=0,q=0,r=0,s=0,x=0,z=0;n=Qb-16|0;Qb=n;v[n+12>>2]=0;a:{if(!(w[a+289|0]|w[a+288|0])){b=1029;pc(a,1029,0,0);break a}if(w[a+290|0]){b=1029;pc(a,1029,0,0);break a}if(w[a+341|0]!=8){b=1029;pc(a,1029,0,0);break a}if(!c){b=1028;pc(a,1028,0,0);break a}t[a+291|0]=1;p=c;r=d;i=a;b:{if(!w[i+2539|0]){f=v[i+1012>>2];if(f){f=Ub[f|0](i)|0;v[i+1012>>2]=0;if(f){break b}}j=jc(40);v[j>>2]=0;f=v[i+2468>>2];v[299999]=0;k=Ko(f);h=v[299999];v[299999]=0;g=-1;o=4;c:{d:{e:{if(!h){break e}f=v[3e5];if(!f){break e}g=sc(v[h>>2],j,4);if(!g){break d}_(f|0)}h=O()|0;if((g|0)!=1){v[v[i+2464>>2]>>2]=k;f=v[i+2468>>2];v[f+8>>2]=756;v[f>>2]=757;j=Ue(i+2568|0,1,j,4);o=O()|0;h=0;k=i+2464|0}while(1){if(h){v[299999]=0;Z(755,i|0,6,h|0,0)|0;h=v[299999];v[299999]=0;g=-1;f:{if(!h){break f}f=v[3e5];if(!f){break f}g=sc(v[h>>2],j,o);if(!g){break d}_(f|0)}h=O()|0;if((g|0)==1){continue}dc(j);f=6;break c}f=v[k>>2];v[299999]=0;U(16,f|0,80,488);h=v[299999];v[299999]=0;g=-1;g:{if(!h){break g}f=v[3e5];if(!f){break g}g=sc(v[h>>2],j,o);if(!g){break d}_(f|0)}h=O()|0;if((g|0)==1){continue}break}t[i+2539|0]=1;f=v[i+2472>>2];v[v[k>>2]+24>>2]=f;v[f+24>>2]=758;v[f+16>>2]=766;v[f+12>>2]=760;v[f+8>>2]=761;v[f+20>>2]=8;v[f>>2]=v[i+2504>>2];v[f+4>>2]=v[i+2508>>2];dc(j);f=0;break c}dc(j);sd(h,f);L()}if(f){break b}}f=0;q=Qb-16|0;Qb=q;k=jc(40);v[k>>2]=0;h=i;l=Ue(h+2568|0,1,k,4);m=O()|0;h:{i:{j:{k:while(1){if(f){v[299999]=0;Z(755,h|0,6,f|0,0)|0;f=v[299999];v[299999]=0;g=-1;l:{if(!f){break l}j=v[3e5];if(!j){break l}g=sc(v[f>>2],l,m);if(!g){break i}_(j|0)}f=O()|0;if((g|0)==1){continue}i=6;break j}k=p;o=r;f=v[h+2512>>2];if(f){v[h+2504>>2]=v[h+2496>>2];k=f-p|0;v[h+2512>>2]=f>>>0>>0?0:k;o=(f>>>0

>>0?f:0)+r|0;f=p-f|0;k=f>>>0>p>>>0?0:f}if(k){while(1){f=v[h+2496>>2];i=v[h+2504>>2];m:{if(f>>>0>=i>>>0){f=i;break m}g=v[h+2508>>2];if(y[h+2500>>2]>=g+((i+k|0)-f|0)>>>0){f=i;break m}if(g){gc(f,i,g);f=v[h+2496>>2]}v[h+2504>>2]=f}g=v[h+2500>>2];i=v[h+2508>>2];n:{if(g>>>0>=i+k>>>0){gc(f+i|0,o,k);i=v[h+2508>>2]+k|0;v[h+2508>>2]=i;k=0;break n}g=g-i|0;if(!g){v[299999]=0;Z(755,h|0,13,0,0)|0;f=v[299999];v[299999]=0;g=-1;o:{if(!f){break o}j=v[3e5];if(!j){break o}g=sc(v[f>>2],l,m);if(!g){break i}_(j|0)}f=O()|0;if((g|0)==1){continue k}i=13;break j}gc(f+i|0,o,g);i=g+v[h+2508>>2]|0;v[h+2508>>2]=i;o=g+o|0;k=k-g|0}g=v[h+2504>>2];f=v[h+2464>>2];j=v[f+24>>2];v[j+4>>2]=i;v[j>>2]=g;p:{if(!w[h+2540|0]){v[299999]=0;i=Q(17,f|0,1)|0;f=v[299999];v[299999]=0;g=-1;q:{if(!f){break q}j=v[3e5];if(!j){break q}g=sc(v[f>>2],l,m);if(!g){break i}_(j|0)}f=O()|0;if((g|0)==1){continue k}if(i){t[h+2540|0]=1;f=v[h+2464>>2];if(!(v[f+28>>2]==v[h+316>>2]&v[f+32>>2]==v[h+320>>2])){v[299999]=0;Z(755,h|0,1056,0,0)|0;f=v[299999];v[299999]=0;g=-1;r:{if(!f){break r}j=v[3e5];if(!j){break r}g=sc(v[f>>2],l,m);if(!g){break i}_(j|0)}f=O()|0;if((g|0)==1){continue k}i=1056;break j}if(v[f+40>>2]!=1){v[299999]=0;Z(755,h|0,1056,0,0)|0;f=v[299999];v[299999]=0;g=-1;s:{if(!f){break s}j=v[3e5];if(!j){break s}g=sc(v[f>>2],l,m);if(!g){break i}_(j|0)}f=O()|0;if((g|0)==1){continue k}i=1056;break j}v[299999]=0;g=S(762,f|0)|0;f=v[299999];v[299999]=0;i=-1;t:{if(!f){break t}j=v[3e5];if(!j){break t}i=sc(v[f>>2],l,m);if(!i){break i}_(j|0)}f=O()|0;if((i|0)==1){continue k}t[h+2543|0]=g;if(g&255){v[299999]=0;Z(755,h|0,1056,0,0)|0;f=v[299999];v[299999]=0;g=-1;u:{if(!f){break u}j=v[3e5];if(!j){break u}g=sc(v[f>>2],l,m);if(!g){break i}_(j|0)}f=O()|0;if((g|0)==1){continue k}i=1056;break j}f=v[h+2464>>2];i=v[f+28>>2];f=v[f+40>>2]==3?B(i,3):i;v[h+2528>>2]=f;i=v[h+152>>2];v[299999]=0;g=S(i|0,f|0)|0;f=v[299999];v[299999]=0;i=-1;v:{if(!f){break v}j=v[3e5];if(!j){break v}i=sc(v[f>>2],l,m);if(!i){break i}_(j|0)}f=O()|0;if((i|0)==1){continue k}v[h+2524>>2]=g;if(!g){v[299999]=0;Z(755,h|0,1,0,0)|0;f=v[299999];v[299999]=0;g=-1;w:{if(!f){break w}j=v[3e5];if(!j){break w}g=sc(v[f>>2],l,m);if(!g){break i}_(j|0)}f=O()|0;if((g|0)==1){continue k}i=1;break j}v[h+2556>>2]=0}f=v[h+2464>>2];i=v[f+24>>2];v[h+2504>>2]=v[i>>2];v[h+2508>>2]=v[i+4>>2];if(!w[h+2540|0]){break p}}if(!w[h+2541|0]){if(w[h+2543|0]){v[f+64>>2]=1}v[299999]=0;i=S(22,f|0)|0;f=v[299999];v[299999]=0;g=-1;x:{if(!f){break x}j=v[3e5];if(!j){break x}g=sc(v[f>>2],l,m);if(!g){break i}_(j|0)}f=O()|0;if((g|0)==1){continue k}if((i|0)==1){t[h+2541|0]=1}f=v[h+2464>>2];i=v[f+24>>2];v[h+2504>>2]=v[i>>2];v[h+2508>>2]=v[i+4>>2];if(!w[h+2540|0]|!w[h+2541|0]){break p}}v[299999]=0;i=S(763,f|0)|0;f=v[299999];v[299999]=0;g=-1;y:{if(!f){break y}j=v[3e5];if(!j){break y}g=sc(v[f>>2],l,m);if(!g){break i}_(j|0)}f=O()|0;if((g|0)==1){continue k}z:{if(i){f=v[h+2464>>2];if(y[f+140>>2]>=y[f+116>>2]){break z}}while(1){v[q+12>>2]=v[h+2524>>2];A:{if(!w[h+2543|0]){break A}f=v[h+2464>>2];if(y[f+140>>2]>2]?w[h+2542|0]:0){break A}t[h+2542|0]=1;i=v[f+144>>2];v[299999]=0;Q(764,f|0,i|0)|0;f=v[299999];v[299999]=0;g=-1;B:{if(!f){break B}j=v[3e5];if(!j){break B}g=sc(v[f>>2],l,m);if(!g){break i}_(j|0)}f=O()|0;if((g|0)==1){continue k}v[h+2552>>2]=0}f=v[h+2464>>2];C:{while(1){v[299999]=0;i=Y(32,f|0,q+12|0,1)|0;f=v[299999];v[299999]=0;g=-1;D:{if(!f){break D}j=v[3e5];if(!j){break D}g=sc(v[f>>2],l,m);if(!g){break i}_(j|0)}f=O()|0;if((g|0)==1){continue k}f=v[h+2464>>2];g=v[f+24>>2];v[h+2504>>2]=v[g>>2];v[h+2508>>2]=v[g+4>>2];s=(i|0)>0;i=y[f+140>>2]>2];if(!s){break C}i=v[h+2548>>2];if(i){v[299999]=0;i=S(i|0,h|0)|0;f=v[299999];v[299999]=0;g=-1;E:{if(!f){break E}j=v[3e5];if(!j){break E}g=sc(v[f>>2],l,m);if(!g){break i}_(j|0)}f=O()|0;if((g|0)==1){continue k}if(i){break j}f=v[h+2464>>2]}if(y[f+140>>2]>2]){continue}break}i=0}if(!(i|!w[h+2543|0])){v[299999]=0;i=S(765,f|0)|0;f=v[299999];v[299999]=0;g=-1;F:{if(!f){break F}j=v[3e5];if(!j){break F}g=sc(v[f>>2],l,m);if(!g){break i}_(j|0)}f=O()|0;if((g|0)==1){continue k}if(!i){f=v[h+2464>>2];v[299999]=0;S(765,f|0)|0;f=v[299999];v[299999]=0;g=-1;G:{if(!f){break G}j=v[3e5];if(!j){break G}g=sc(v[f>>2],l,m);if(!g){break i}_(j|0)}f=O()|0;if((g|0)==1){continue k}}t[h+2542|0]=0;f=v[h+2464>>2]}v[299999]=0;i=S(763,f|0)|0;f=v[299999];v[299999]=0;g=-1;H:{if(!f){break H}j=v[3e5];if(!j){break H}g=sc(v[f>>2],l,m);if(!g){break i}_(j|0)}f=O()|0;if((g|0)==1){continue k}if(i){break z}if(s){continue}break}}if(!w[h+2540|0]|!w[h+2541|0]){break p}f=v[h+2464>>2];v[299999]=0;i=S(763,f|0)|0;f=v[299999];v[299999]=0;g=-1;I:{if(!f){break I}j=v[3e5];if(!j){break I}g=sc(v[f>>2],l,m);if(!g){break i}_(j|0)}f=O()|0;if((g|0)==1){continue k}if(!i){break p}f=v[h+2464>>2];if(v[f+144>>2]!=v[f+152>>2]){break p}v[299999]=0;i=S(33,f|0)|0;f=v[299999];v[299999]=0;g=-1;J:{if(!f){break J}j=v[3e5];if(!j){break J}g=sc(v[f>>2],l,m);if(!g){break i}_(j|0)}f=O()|0;if((g|0)==1){continue k}if((i|0)!=1){break p}i=0;u[h+2540>>1]=0;f=v[v[h+2464>>2]+24>>2];v[h+2504>>2]=v[f>>2];f=v[f+4>>2];v[h+2508>>2]=f;if(!(f|k)){break j}v[299999]=0;Z(755,h|0,1055,0,0)|0;f=v[299999];v[299999]=0;g=-1;K:{if(!f){break K}j=v[3e5];if(!j){break K}g=sc(v[f>>2],l,m);if(!g){break i}_(j|0)}f=O()|0;if((g|0)==1){continue k}i=1055;break j}if(k){continue}break}}break}i=0}dc(l);Qb=q+16|0;f=i;break h}dc(l);sd(f,j);L()}}v[n+12>>2]=f;if(v[n+12>>2]){b=v[n+12>>2];break a}if(!w[a+112|0]){b=0;break a}x=n,z=Ub[v[b+4>>2]](a,b,e)|0,v[x+12>>2]=z;if(v[n+12>>2]){b=v[n+12>>2];break a}f=v[e>>2];v[f+36>>2]=c;b=0;t[f+32|0]=0;f=Ub[v[a+152>>2]](c)|0;v[v[e>>2]+40>>2]=f;e=v[v[e>>2]+40>>2];if(!e){b=1;pc(a,1,0,0);break a}gc(e,d,c)}Qb=n+16|0;return b|0}function zx(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,n=0;g=Qb-48|0;Qb=g;m=v[a+12>>2];v[m>>2]=v[m>>2]+1;a:{b:{c:{d:{if(w[a+9|0]){v[299999]=0;a=aa(4369,g+24|0,v[282395],241879,1127,337465,0)|0;b=v[299999];v[299999]=0;e:{if((b|0)!=1){v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)==1){break e}break b}h=P()|0;O()|0;break d}h=P()|0;O()|0;qc(a);break d}f:{if(w[a+8|0]|!w[a+10|0]){break f}f=v[a+84>>2];i=(d|0)<0?(f|0)>0?f-c|0:d:d;f=v[a+16>>2];g:{if(!f){h=a;j=c;break g}j=c;k=a;while(1){h=v[f+84>>2];j=v[k+80>>2]+j|0;i=(i|0)<0?(h|0)>0?h-j|0:i:i;h=f;k=f;f=v[f+16>>2];if(f){continue}break}}v[299999]=0;f=S(4469,h+20|0)|0;k=v[299999];v[299999]=0;h:{i:{if((k|0)==1){break i}j:{if(f){if(v[h+84>>2]>=(v[h+80>>2]+(i+j|0)|0)){break f}break j}if((i|0)<=-1){if(!w[h+8|0]){break j}break f}f=v[h+72>>2];v[299999]=0;f=Y(4481,f|0,j|0,i|0)|0;j=v[299999];v[299999]=0;if((j|0)==1){break i}if((f|0)==(i|0)){break f}}v[299999]=0;a=aa(4369,g+24|0,v[282395],241879,1130,337465,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break h}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}h=P()|0;O()|0;qc(a);break d}h=P()|0;O()|0;break d}h=P()|0;O()|0;break d}k:{l:{m:{n:{o:{p:{q:{r:{s:{if((d|0)<=-1){v[299999]=0;a=aa(4369,g+24|0,273980,241879,1133,337465,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break s}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}h=P()|0;O()|0;qc(a);break d}if(!d){i=0;break c}f=v[a+16>>2];if(!f){v[g+16>>2]=0;break l}v[299999]=0;v[f+4>>2]=v[f+4>>2]+1;f=v[299999];v[299999]=0;if((f|0)==1){break q}l=v[a+16>>2];v[g+16>>2]=l;if(!l){break l}t:{if(w[a+9|0]){break t}f=v[a+84>>2];d=(f|0)>0?(f|0)<(c+d|0)?f-c|0:d:d;h=(d|0)>0?d:0;if(w[a+8|0]|!w[a+10|0]){break p}f=l;i=h;j=c;k=a;while(1){d=f;n=v[f+84>>2];j=v[k+80>>2]+j|0;i=(i|0)<0?(n|0)>0?n-j|0:i:i;k=f;f=v[f+16>>2];if(f){continue}break}v[299999]=0;f=S(4469,d+20|0)|0;k=v[299999];v[299999]=0;if((k|0)==1){break o}if(f){if(v[d+84>>2]>=(v[d+80>>2]+(i+j|0)|0)){break p}break t}if((i|0)<=-1){if(!w[d+8|0]){break t}break p}d=v[d+72>>2];v[299999]=0;d=Y(4481,d|0,j|0,i|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break o}if((d|0)==(i|0)){break p}}v[299999]=0;a=aa(4369,g+24|0,v[282395],241879,1161,337465,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break r}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}h=W(989228)|0;i=O()|0;qc(a);break n}h=P()|0;O()|0;break d}h=W(989228)|0;i=O()|0;break n}h=P()|0;O()|0;break d}a=v[a+80>>2];v[299999]=0;i=ca(4497,l|0,b|0,a+c|0,h|0,e+1|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break m}}h=W(989228)|0;i=O()|0}if((ja(989228)|0)!=(i|0)){break k}a=ea(h|0)|0;v[299999]=0;a=v[a+4>>2];b=a?a:246399;a=v[299999];v[299999]=0;u:{v:{w:{x:{if((a|0)!=1){v[299999]=0;a=Q(4340,g+24|0,239296)|0;c=v[299999];v[299999]=0;if((c|0)==1){break v}v[299999]=0;b=Nc(a,b,-1);c=v[299999];v[299999]=0;if((c|0)==1){break x}ec(a);if(!(b|e)){break w}v[299999]=0;ba(4483);a=v[299999];v[299999]=0;if((a|0)!=1){break b}}h=P()|0;O()|0;break u}h=P()|0;O()|0;ec(a);break u}i=0;v[299999]=0;ba(4230);a=v[299999];v[299999]=0;if((a|0)!=1){break m}h=P()|0;O()|0;break k}h=P()|0;O()|0}v[299999]=0;ba(4230);a=v[299999];v[299999]=0;if((a|0)!=1){break k}break a}v[299999]=0;a=v[l+4>>2]-1|0;v[l+4>>2]=a;b=v[299999];v[299999]=0;if((b|0)!=1){if(a){break c}v[299999]=0;R(4338,l|0);a=v[299999];v[299999]=0;if((a|0)!=1){break c}}break a}v[299999]=0;k=a+20|0;f=S(4469,k|0)|0;j=v[299999];v[299999]=0;y:{z:{if((j|0)!=1){A:{B:{C:{if(f){j=v[a+84>>2];v[299999]=0;v[g+24>>2]=0;h=a+56|0;Q(4344,g+24|0,h|0)|0;e=v[299999];v[299999]=0;D:{E:{F:{G:{H:{if((e|0)!=1){e=v[g+24>>2];if(!e){f=v[294588];if(!f){v[299999]=0;f=S(1,28)|0;e=v[299999];v[299999]=0;if((e|0)==1){break H}v[f+4>>2]=0;v[f+24>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;v[f>>2]=982456;v[f+16>>2]=0;v[f+20>>2]=0;v[299999]=0;e=f+8|0;v[e>>2]=982500;v[e+4>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;e=v[299999];v[299999]=0;if((e|0)==1){h=P()|0;O()|0;Qc(f);dc(f);break D}v[294588]=f}v[299999]=0;v[g>>2]=0;Q(4336,g|0,a|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break H}v[299999]=0;$(4472,g+8|0,f|0,k|0,g|0);e=v[299999];v[299999]=0;if((e|0)==1){break G}v[299999]=0;e=Q(4344,g+24|0,g+8|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break F}v[299999]=0;Q(4344,h|0,e|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break F}e=v[g+8>>2];v[g+8>>2]=0;I:{if(!e){break I}v[299999]=0;f=v[e+4>>2]-1|0;v[e+4>>2]=f;k=v[299999];v[299999]=0;if((k|0)==1){break a}if(f){break I}v[299999]=0;R(4338,e|0);e=v[299999];v[299999]=0;if((e|0)==1){break a}}e=v[g>>2];v[g>>2]=0;J:{if(!e){break J}v[299999]=0;f=v[e+4>>2]-1|0;v[e+4>>2]=f;k=v[299999];v[299999]=0;if((k|0)==1){break a}if(f){break J}v[299999]=0;R(4338,e|0);e=v[299999];v[299999]=0;if((e|0)==1){break a}}e=v[g+24>>2]}e=v[e+44>>2];f=v[v[e>>2]+20>>2];a=v[a+80>>2];v[299999]=0;Z(f|0,e|0,a+c|0,0,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break E}a=v[v[g+24>>2]+44>>2];v[299999]=0;e=a;a=(j|0)>0?(j|0)<(c+d|0)?j-c|0:d:d;i=Y(4498,e|0,b|0,((a|0)>0?a:0)|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break E}b=v[g+24>>2];v[g+24>>2]=0;if(!b){break C}v[299999]=0;a=v[b+4>>2]-1|0;v[b+4>>2]=a;c=v[299999];v[299999]=0;if((c|0)!=1){if(a){break C}v[299999]=0;R(4338,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break C}}break a}h=P()|0;O()|0;break D}h=P()|0;O()|0;break D}h=P()|0;O()|0;ec(g);break D}h=P()|0;O()|0;ec(g+8|0);ec(g);break D}h=P()|0;O()|0}ec(g+24|0);break k}f=v[a+72>>2];v[299999]=0;f=Y(4499,f|0,c|0,d|0)|0;j=v[299999];v[299999]=0;if((j|0)==1){break z}if((f|0)>=1){d=v[a+64>>2];e=v[v[d>>2]+20>>2];v[299999]=0;Z(e|0,d|0,c|0,0,0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){a=v[a+64>>2];v[299999]=0;i=Y(4498,a|0,b|0,f|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break C}}h=P()|0;O()|0;break k}if(w[a+8|0]){i=0;a=v[a+84>>2];if((a|0)<1|(a|0)<=(c|0)){break C}v[299999]=0;a=aa(4369,g+24|0,v[282394],241879,1234,337465,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break y}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}h=P()|0;O()|0;qc(a);break k}v[299999]=0;f=S(1,24)|0;j=v[299999];v[299999]=0;K:{L:{M:{if((j|0)==1){break M}v[f+20>>2]=d;v[f+16>>2]=c;t[f+12|0]=0;v[f+8>>2]=0;v[f>>2]=982528;v[f+4>>2]=0;v[299999]=0;v[g+8>>2]=0;Q(4336,g+8|0,f|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break M}v[299999]=0;d=S(4500,g+8|0)|0;f=v[299999];v[299999]=0;c=a+88|0;if((f|0)==1){break L}v[299999]=0;Le(c,d);d=v[299999];v[299999]=0;if((d|0)==1){break L}v[299999]=0;V(4501,c|0,c|0);d=v[299999];v[299999]=0;if((d|0)!=1){break K}break L}h=P()|0;O()|0;break k}a=W(0)|0;O()|0;ea(a|0)|0;v[299999]=0;v[g+24>>2]=0;v[g+28>>2]=0;a=Y(4502,c|0,g+8|0,g+24|0)|0;b=v[299999];v[299999]=0;N:{O:{if((b|0)!=1){if(!a){break O}v[299999]=0;V(4460,c|0,g+24|0);a=v[299999];v[299999]=0;if((a|0)!=1){break O}}break N}v[299999]=0;ba(4483);a=v[299999];v[299999]=0;if((a|0)!=1){break b}}h=P()|0;O()|0;v[299999]=0;ba(4230);a=v[299999];v[299999]=0;if((a|0)==1){break a}break A}v[g+24>>2]=0;v[g+28>>2]=0;v[299999]=0;d=Y(4502,c|0,g+8|0,g+24|0)|0;f=v[299999];v[299999]=0;P:{if((f|0)!=1){if(!d){break P}v[299999]=0;V(4460,c|0,g+24|0);c=v[299999];v[299999]=0;if((c|0)!=1){break P}}h=P()|0;O()|0;break A}c=v[g+8>>2];d=v[c+20>>2];c=v[c+16>>2];v[299999]=0;i=ca(4497,a|0,b|0,c|0,d|0,e|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break B}ec(g+8|0)}v[g+16>>2]=0;break c}h=P()|0;O()|0}ec(g+8|0);break k}h=P()|0;O()|0;break k}h=P()|0;O()|0;break k}h=P()|0;O()|0}ec(g+16|0)}v[m>>2]=v[m>>2]-1;T(h|0);L()}v[m>>2]=v[m>>2]-1;Qb=g+48|0;return i|0}L()}W(0)|0;O()|0;lc();L()}function b2(a){var 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,w=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{switch(v[a+60>>2]){case 0:if(!v[a+36>>2]){c=v[a+20>>2];d=v[a+24>>2];r=v[(v[a+76>>2]+(c<<4)|0)+12>>2]+(d<<4)|0;l=v[a+28>>2];break l}v[a+32>>2]=0;v[a+36>>2]=0;break c;case 1:if(!v[a+36>>2]){b=v[a+20>>2];d=v[a+24>>2];s=v[(v[a+76>>2]+(b<<4)|0)+12>>2]+(d<<4)|0;i=v[a+28>>2];break k}v[a+36>>2]=0;d=v[a+40>>2];break d;case 2:if(!v[a+36>>2]){n=v[a+32>>2];break j}v[a+104>>2]=0;v[a+108>>2]=0;v[a+36>>2]=0;f=v[a+72>>2];if((f|0)>=1){m=v[a+76>>2];while(1){e=m+(g<<4)|0;j=v[e+8>>2];if((j|0)>=1){l=v[e+4>>2];i=v[e>>2];q=v[e+12>>2];d=0;while(1){h=j+(d^-1)|0;o=q+(d<<4)|0;e=l<>2];b=b?(b|0)>(e|0)?e:b:e;e=i<>2];c=c?(c|0)>(e|0)?e:c:e;d=d+1|0;if((j|0)!=(d|0)){continue}break}v[a+108>>2]=b;v[a+104>>2]=c}g=g+1|0;if((f|0)!=(g|0)){continue}break}}y=v[a+40>>2];b=0;break e;case 3:if(!v[a+36>>2]){f=v[a+20>>2];j=v[a+76>>2]+(f<<4)|0;q=v[a+32>>2];break i}v[a+104>>2]=0;v[a+108>>2]=0;v[a+36>>2]=0;g=v[a+72>>2];if((g|0)>=1){l=v[a+76>>2];while(1){e=l+(p<<4)|0;k=v[e+8>>2];if((k|0)>=1){i=v[e+4>>2];n=v[e>>2];o=v[e+12>>2];d=0;while(1){r=k+(d^-1)|0;h=o+(d<<4)|0;e=i<>2];b=b?(b|0)>(e|0)?e:b:e;e=n<>2];c=c?(c|0)>(e|0)?e:c:e;d=d+1|0;if((k|0)!=(d|0)){continue}break}v[a+108>>2]=b;v[a+104>>2]=c}p=p+1|0;if((g|0)!=(p|0)){continue}break}}w=v[a+84>>2];b=0;break f;case 4:break m;default:break a}}if(!v[a+36>>2]){j=v[a+20>>2];g=v[a+76>>2]+(j<<4)|0;o=v[a+32>>2];break h}v[a+36>>2]=0;j=v[a+44>>2];b=0;break g}b=1;break c}c=1;break d}b=1;break e}b=1;break f}b=1}n:while(1){o:{if(!b){v[a+20>>2]=j;if(v[a+56>>2]<=(j|0)){break a}v[a+104>>2]=0;v[a+108>>2]=0;g=v[a+76>>2]+(j<<4)|0;k=v[g+8>>2];if((k|0)>=1){m=v[g+4>>2];p=v[g+12>>2];l=v[g>>2];b=0;c=0;d=0;while(1){n=k+(d^-1)|0;i=p+(d<<4)|0;f=m<>2];b=b?(b|0)>(f|0)?f:b:f;f=l<>2];c=c?(c|0)>(f|0)?f:c:f;d=d+1|0;if((k|0)!=(d|0)){continue}break}v[a+108>>2]=b;v[a+104>>2]=c}t=v[a+84>>2];b=0;break o}o=o+1|0;v[a+32>>2]=o;b=1}p:while(1){q:{r:{if(!b){v[a+100>>2]=t;if(v[a+92>>2]<=(t|0)){break r}z=v[a+80>>2];b=0;break q}if(v[a+48>>2]<=(o|0)){e=v[a+24>>2];b=1;break q}h=v[a>>2]+(((B(v[a+8>>2],v[a+24>>2])+B(v[a+4>>2],o)|0)+B(v[a+12>>2],j)|0)+B(v[a+16>>2],v[a+28>>2])<<1)|0;if(!x[h>>1]){break b}b=1;continue n}j=j+1|0;b=0;continue n}while(1){s:{t:{u:{c=a;v:{if(!b){v[a+96>>2]=z;if(v[a+88>>2]<=(z|0)){break u}e=v[a+40>>2];break v}e=e+1|0}v[c+24>>2]=e;b=v[g+8>>2];c=v[a+52>>2];if((((b|0)<(c|0)?b:c)|0)>(e|0)){p=v[a+96>>2];c=v[g>>2];b=b+(e^-1)|0;r=v[g+12>>2];d=r+(e<<4)|0;l=v[d>>2];i=b+l|0;if((p|0)%(c<>2];c=c<>2];k=(n+m|0)/(c|0)|0;d=v[d+4>>2];if((-1<>2];if((q|0)%(f<>2]|0)/(f|0)|0;y=(n+v[a+88>>2]|0)/(c|0)|0;w=v[a+84>>2];m=(w+h|0)/(f|0)|0;if((-1<>2];if(!b|(k|0)==(y|0)|(m|0)==(s|0)){break s}o=0;v[a+32>>2]=0;v[a+28>>2]=(((n+p|0)/(c|0)>>l)-(k>>l)|0)+B(b,((h+q|0)/(f|0)>>d)-(m>>d)|0);b=1;continue p}b=v[a+96>>2];c=v[a+104>>2];z=b+c-(b|0)%(c|0)|0;break t}b=v[a+100>>2];c=v[a+108>>2];t=b+c-(b|0)%(c|0)|0;b=0;continue p}b=0;continue}b=1;continue}}}}w:while(1){x:{if(!b){v[a+100>>2]=w;if(v[a+92>>2]<=(w|0)){break a}A=v[a+80>>2];b=0;break x}q=q+1|0;v[a+32>>2]=q;b=1}y:while(1){z:{A:{if(!b){v[a+96>>2]=A;if(v[a+88>>2]<=(A|0)){break A}f=v[a+44>>2];b=0;break z}if(v[a+48>>2]<=(q|0)){m=v[a+24>>2];b=1;break z}h=v[a>>2]+(((B(v[a+8>>2],v[a+24>>2])+B(v[a+4>>2],q)|0)+B(v[a+12>>2],f)|0)+B(v[a+16>>2],v[a+28>>2])<<1)|0;if(!x[h>>1]){break b}b=1;continue w}b=v[a+100>>2];c=v[a+108>>2];w=b+c-(b|0)%(c|0)|0;b=0;continue w}while(1){B:{C:{D:{E:{if(!b){v[a+20>>2]=f;if(v[a+56>>2]<=(f|0)){break D}m=v[a+40>>2];v[a+24>>2]=m;j=v[a+76>>2]+(f<<4)|0;break E}m=m+1|0;v[a+24>>2]=m}b=v[j+8>>2];c=v[a+52>>2];if((((b|0)<(c|0)?b:c)|0)>(m|0)){p=v[a+96>>2];c=v[j>>2];b=b+(m^-1)|0;r=v[j+12>>2];k=r+(m<<4)|0;l=v[k>>2];i=b+l|0;if((p|0)%(c<>2];c=c<>2];e=(n+g|0)/(c|0)|0;k=v[k+4>>2];if((-1<>2];if((o|0)%(d<>2]|0)/(d|0)|0;y=(n+v[a+88>>2]|0)/(c|0)|0;t=v[a+84>>2];g=(t+h|0)/(d|0)|0;if((-1<>2];if(!b|(e|0)==(y|0)|(g|0)==(s|0)){break B}q=0;v[a+32>>2]=0;v[a+28>>2]=(((n+p|0)/(c|0)>>l)-(e>>l)|0)+B(b,((h+o|0)/(d|0)>>k)-(g>>k)|0);b=1;continue y}f=f+1|0;break C}b=v[a+96>>2];c=v[a+104>>2];A=b+c-(b|0)%(c|0)|0;b=0;continue y}b=0;continue}b=1;continue}}}}F:while(1){G:{if(!b){v[a+24>>2]=y;if(v[a+52>>2]<=(y|0)){break a}C=v[a+84>>2];b=0;break G}n=n+1|0;v[a+32>>2]=n;b=1}H:while(1){I:{J:{if(!b){v[a+100>>2]=C;if(v[a+92>>2]<=(C|0)){break J}p=v[a+80>>2];b=0;break I}if(v[a+48>>2]<=(n|0)){k=v[a+20>>2];b=1;break I}h=v[a>>2]+(((B(v[a+8>>2],v[a+24>>2])+B(v[a+4>>2],n)|0)+B(v[a+12>>2],v[a+20>>2])|0)+B(v[a+16>>2],v[a+28>>2])<<1)|0;if(!x[h>>1]){break b}b=1;continue F}y=v[a+24>>2]+1|0;b=0;continue F}while(1){K:{L:{M:{c=a;N:{if(!b){v[a+96>>2]=p;if(v[a+88>>2]<=(p|0)){break M}k=v[a+44>>2];break N}k=k+1|0}v[c+20>>2]=k;if(v[a+56>>2]>(k|0)){c=v[a+24>>2];e=v[a+76>>2]+(k<<4)|0;b=v[e+8>>2];if((c|0)>=(b|0)){break K}m=v[a+96>>2];d=v[e>>2];b=b+(c^-1)|0;r=v[e+12>>2];j=r+(c<<4)|0;l=v[j>>2];i=b+l|0;if((m|0)%(d<>2];e=d<>2];d=(q+f|0)/(e|0)|0;j=v[j+4>>2];if((-1<>2];if((o|0)%(g<>2]|0)/(g|0)|0;w=(q+v[a+88>>2]|0)/(e|0)|0;t=v[a+84>>2];f=(t+h|0)/(g|0)|0;if((-1<>2];if(!b|(d|0)==(w|0)|(f|0)==(s|0)){break K}n=0;v[a+32>>2]=0;v[a+28>>2]=(((m+q|0)/(e|0)>>l)-(d>>l)|0)+B(b,((h+o|0)/(g|0)>>j)-(f>>j)|0);b=1;continue H}b=v[a+96>>2];c=v[a+104>>2];p=b+c-(b|0)%(c|0)|0;break L}b=v[a+100>>2];c=v[a+108>>2];C=b+c-(b|0)%(c|0)|0;b=0;continue H}b=0;continue}b=1;continue}}}}O:while(1){P:{if(!c){v[a+24>>2]=d;if(v[a+52>>2]<=(d|0)){break a}D=0;c=0;break P}i=i+1|0;v[a+28>>2]=i;c=1}Q:while(1){R:{S:{T:{if(!c){v[a+32>>2]=D;if(v[a+48>>2]<=(D|0)){break T}b=v[a+44>>2];c=0;break R}if((B(v[s+12>>2],v[s+8>>2])|0)<=(i|0)){break S}h=v[a>>2]+(((B(v[a+8>>2],d)+B(v[a+4>>2],v[a+32>>2])|0)+B(v[a+12>>2],b)|0)+B(v[a+16>>2],i)<<1)|0;if(!x[h>>1]){break b}c=1;continue O}d=d+1|0;c=0;continue O}c=1}while(1){U:{V:{W:{if(!c){v[a+20>>2]=b;if(v[a+56>>2]<=(b|0)){break W}c=v[a+76>>2]+(b<<4)|0;if(v[c+8>>2]<=(d|0)){break U}c=v[c+12>>2];i=0;v[a+28>>2]=0;s=c+(d<<4)|0;c=1;continue Q}b=b+1|0;break V}D=v[a+32>>2]+1|0;c=0;continue Q}c=0;continue}c=1;continue}}}}X:while(1){Y:{if(!b){if(v[a+48>>2]<=(E|0)){break a}d=v[a+40>>2];b=0;break Y}l=l+1|0;v[a+28>>2]=l;b=1}Z:while(1){_:{$:{aa:{if(!b){v[a+24>>2]=d;if(v[a+52>>2]<=(d|0)){break aa}c=v[a+44>>2];b=0;break _}if((B(v[r+12>>2],v[r+8>>2])|0)<=(l|0)){break $}h=v[a>>2]+(((B(v[a+8>>2],d)+B(v[a+4>>2],v[a+32>>2])|0)+B(v[a+12>>2],c)|0)+B(v[a+16>>2],l)<<1)|0;if(!x[h>>1]){break b}b=1;continue X}E=v[a+32>>2]+1|0;v[a+32>>2]=E;b=0;continue X}b=1}while(1){ba:{ca:{da:{if(!b){v[a+20>>2]=c;if(v[a+56>>2]<=(c|0)){break da}b=v[a+76>>2]+(c<<4)|0;if(v[b+8>>2]<=(d|0)){break ba}b=v[b+12>>2];l=0;v[a+28>>2]=0;r=b+(d<<4)|0;b=1;continue Z}c=c+1|0;break ca}d=d+1|0;b=0;continue Z}b=0;continue}b=1;continue}}}}F=1;u[h>>1]=1}return F}function o_a(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,n=0,o=0,p=0,q=0;f=Qb-240|0;Qb=f;o=1;j=v[b+540>>2];a:{if((d|0)<1){c=0;break a}h=d&3;b:{if(d-1>>>0<3){c=0;d=0;break b}m=d&-4;c=0;d=0;while(1){i=1;n=d<<3;l=v[n+e>>2]-1768386662|0;if(l){if((l|0)==13){k=1}}else{c=1}g=c;c=v[(n|8)+e>>2]-1768386662|0;if(c){if((c|0)==13){k=1}i=g}c=1;l=v[(n|16)+e>>2]-1768386662|0;if(l){if((l|0)==13){k=1}g=i}else{g=1}i=v[(n|24)+e>>2]-1768386662|0;if(i){if((i|0)==13){k=1}c=g}d=d+4|0;m=m-4|0;if(m){continue}break}}if(!h){break a}g=c;while(1){i=v[(d<<3)+e>>2]-1768386662|0;if(i){if((i|0)==13){k=1}c=g}else{c=1}d=d+1|0;g=c;h=h-1|0;if(h){continue}break}}c:{if(v[v[b+128>>2]+52>>2]){break c}g=0;d=x[b+152>>1];d:{if(!d){break d}g=v[b+156>>2];e=g+(d<<4)|0;d=g;while(1){if(v[d+12>>2]?v[d>>2]==1735162214:0){break c}d=d+16|0;if(e>>>0>d>>>0){continue}break}d=g;while(1){if(v[d+12>>2]?v[d>>2]==1128678944:0){break c}d=d+16|0;if(e>>>0>d>>>0){continue}break}while(1){if(v[g+12>>2]?v[g>>2]==1128678962:0){break d}g=g+16|0;if(e>>>0>g>>>0){continue}break}g=0}o=(g|0)!=0}d=1;e=Ub[v[b+516>>2]](b,1935829368,a,0)|0;i=(e|0)!=0&o;e:{f:{g:{if(i){break g}h=v[j+68>>2];if(!h){break g}g=0;h=Ub[h|0](b,a)|0;d=(h|0)!=0;if(h){break g}if(e){break f}}e=Ub[v[j+24>>2]](b,a)|0;v[f+12>>2]=e;g=d;if(e){break e}}d=Ub[v[b+516>>2]](b,1128418371,a,0)|0;e=Ub[v[b+516>>2]](b,1128416340,a,0)|0;if((x[b+178>>1]-16&65535)>>>0>=16369){v[f+12>>2]=8;break e}d=i&((d|0)!=0&(e|0)!=0);Ub[v[j+36>>2]](b,a)|0;Ub[v[j+32>>2]](b,a)|0;Ub[v[j+48>>2]](b,a)|0;h=Ub[v[j+44>>2]](b,a)|0;h:{if(!g){e=d;break h}e=Ub[v[j+28>>2]](b,a,0)|0;v[f+12>>2]=e;i:{j:{k:{if(!e){g=Ub[v[j+92>>2]](b,a,0)|0;v[f+12>>2]=g;if((g&255)!=142){break j}v[f+12>>2]=147;e=v[v[b+128>>2]+52>>2];if(!e){break e}if(v[v[e>>2]+8>>2]){break k}break e}if((e&255)!=142){break e}e=0;if(v[b+148>>2]==1953658213){break i}v[f+12>>2]=143;e=v[v[b+128>>2]+52>>2];if(!e|!v[v[e>>2]+8>>2]){break e}}u[b+250>>1]=0;e=d;break i}e=d;if(g){break e}}d=Ub[v[j+28>>2]](b,a,1)|0;v[f+12>>2]=d;l:{m:{if(d){break m}d=Ub[v[j+92>>2]](b,a,1)|0;v[f+12>>2]=d;if(d){break m}t[b+292|0]=1;break l}if((d&255)!=142){break e}}if(!(Ub[v[j+40>>2]](b,a)|0)){break h}u[b+372>>1]=65535}d=v[j+96>>2];if(d){Ub[d|0](b,a)|0}d=v[j+112>>2];if(d){Ub[d|0](b,a)|0;Ub[v[j+116>>2]](b,a)|0}Ub[v[j+64>>2]](b,a)|0;Ub[v[j+60>>2]](b,a)|0;Ub[v[j+56>>2]](b,a)|0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+16>>2]=x[b+264>>1];a=b+24|0;d=b+20|0;n:{if(!(!(t[b+437|0]&1)|x[b+372>>1]==65535)){o:{if(!(c&255)){c=nl(b,16,d);v[f+12>>2]=c;if(c){break e}if(v[d>>2]){break o}}c=nl(b,1,d);v[f+12>>2]=c;if(c){break e}}if(!(k&255)){c=nl(b,17,a);v[f+12>>2]=c;if(c){break e}}if(v[a>>2]){break n}a=nl(b,2,a);v[f+12>>2]=a;if(!a){break n}break e}g=nl(b,21,d);v[f+12>>2]=g;if(g){break e}i=v[d>>2];if(!(i|c&255)){c=nl(b,16,d);v[f+12>>2]=c;if(c){break e}i=v[d>>2]}if(!i){c=nl(b,1,d);v[f+12>>2]=c;if(c){break e}}c=nl(b,22,a);v[f+12>>2]=c;if(c){break e}d=v[a>>2];if(!(d|k&255)){c=nl(b,17,a);v[f+12>>2]=c;if(c){break e}d=v[a>>2]}if(d){break n}a=nl(b,2,a);v[f+12>>2]=a;if(a){break e}}d=v[b+8>>2];a=e|((v[b+872>>2]?0:(v[b+796>>2]&-2)!=2)?d:d|16384);d=a|24;d=h?d:v[b+476>>2]==196608?d:a|536;a=v[b+488>>2]?d|4:d;a=w[b+292|0]?a|32:a;h=v[b+820>>2]?a|64:a;a=b;if(t[b+740|0]&1){k=0;c=x[b+152>>1];p:{if(!c){break p}d=v[b+156>>2];g=d+(c<<4)|0;c=d;while(1){q:{if(!(!v[c+12>>2]|v[c>>2]!=1735162214)){c=d;r:{while(1){if(v[c+12>>2]?v[c>>2]==1735811442:0){break r}c=c+16|0;if(g>>>0>c>>>0){continue}break}c=0}h=c?h|256:h;break q}c=c+16|0;if(g>>>0>c>>>0){continue}}break}while(1){if(!(!v[d+12>>2]|v[d>>2]!=1128678962)){k=d;break p}d=d+16|0;if(g>>>0>d>>>0){continue}break}}h=k?h|256:h}v[a+8>>2]=h;a=b;s:{if(!(!e|x[b+372>>1]==65535)){c=x[b+436>>1];c=c>>>4&2|(c&513)!=0;break s}c=x[b+204>>1];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=c>>>4&252645135|(c&252645135)<<4;c=c>>>2&858993459|(c&858993459)<<2;c=(c>>>1|(c&1073741824)<<1)>>>30|0}v[a+12>>2]=c|v[b+12>>2];c=v[b+508>>2];v[f+232>>2]=c;t:{if(!v[f+232>>2]){break t}a=v[b+512>>2];if(a>>>0<4){break t}v[f+232>>2]=v[f+232>>2]+2;v[f+232>>2]=v[f+232>>2]+2;v[f+236>>2]=w[v[f+232>>2]-1|0]|w[v[f+232>>2]-2|0]<<8;if(!v[f+236>>2]){break t}d=a+c|0;while(1){if(d>>>0>2]+8>>>0){break t}v[f+232>>2]=v[f+232>>2]+2;a=w[v[f+232>>2]-2|0];e=w[v[f+232>>2]-1|0];v[f+232>>2]=v[f+232>>2]+2;u[f+224>>1]=e|a<<8;a=w[v[f+232>>2]-2|0];e=w[v[f+232>>2]-1|0];v[f+232>>2]=v[f+232>>2]+4;v[f+216>>2]=b;v[f+220>>2]=0;u[f+226>>1]=e|a<<8;a=w[v[f+232>>2]-1|0]|(w[v[f+232>>2]-3|0]<<16|w[v[f+232>>2]-4|0]<<24|w[v[f+232>>2]-2|0]<<8);if(!(!a|a>>>0>v[b+512>>2]-2>>>0)){v[f+212>>2]=a+c;a=v[f+212>>2];v[f+208>>2]=w[a+1|0]|w[a|0]<<8;v[f+204>>2]=446416;u:{if(!v[v[f+204>>2]>>2]){break u}while(1){v[f+200>>2]=v[v[f+204>>2]>>2];if(v[v[f+200>>2]+40>>2]==v[f+208>>2]){v[f+20>>2]=0;e=f+24|0;a=e;v[a+156>>2]=v[f+212>>2];v[a+160>>2]=d;v[a+164>>2]=0;v[a+168>>2]=0;v[f+196>>2]=x[b+264>>1];a=v[v[f+200>>2]+44>>2];v[299999]=0;a=Q(a|0,v[f+212>>2],e|0)|0;e=v[299999];v[299999]=0;v:{w:{if((e|0)!=1){v[f+20>>2]=a;break w}a=W(1023344)|0;if((O()|0)!=(ja(1023344)|0)){break v}ea(a|0)|0;ka()}if(v[f+192>>2]){break u}if(Rj(v[f+200>>2],v[f+212>>2],f+216|0,f+16|0)){break u}v[v[f+16>>2]+20>>2]=v[f+20>>2];break u}T(a|0);L()}v[f+204>>2]=v[f+204>>2]+4;if(v[v[f+204>>2]>>2]){continue}break}}}v[f+236>>2]=v[f+236>>2]-1;if(v[f+236>>2]){continue}break}}g=v[b+36>>2];x:{if((g|0)>=1){h=v[b+40>>2];i=0;d=0;while(1){a=v[h+(d<<2)>>2];c=u[a+10>>1];e=446464;y:{z:{A:{B:{switch(x[a+8>>1]){case 0:e=446476;break A;case 1:if(c){break z}e=446488;break A;case 2:break A;case 3:break B;default:break z}}e=c&65535;if(e>>>0>=11|!(1151>>>e&1)){break z}e=v[(c<<2)+447368>>2]}c=a;a=v[e+8>>2];v[c+4>>2]=a;if((a|0)!=1970170211&(a|0)!=1937337698){break y}i=1;break y}v[a+4>>2]=0}d=d+1|0;if((g|0)!=(d|0)){continue}break}if(i&255){break x}}v[f+24>>2]=b;v[f+28>>2]=1970170211;v[f+32>>2]=65539;a=Rj(445888,0,f+24|0,0);v[f+12>>2]=a;C:{if(!a){break C}a=a&255;if((a|0)==163){break C}if((a|0)!=7){break e}}v[f+12>>2]=0}a=v[b+800>>2];D:{if(!a){break D}e=v[v[b+104>>2]+28>>2];k=x[b+178>>1];if(!k|x[b+372>>1]==65535){k=1;c=1}else{c=x[b+374>>1]}p=b,q=Cc(e,16,0,a,0,f+12|0),v[p+32>>2]=q;if(v[f+12>>2]){break e}g=Cc(e,4,0,a,0,f+12|0);if(v[f+12>>2]){break e}n=k>>>1|0;o=c<<16>>16;h=0;d=0;while(1){c=v[b+32>>2];i=Ub[v[j+108>>2]](b,d,f+24|0)|0;v[f+12>>2]=i;E:{if(i){break E}c=c+(h<<4)|0;u[c>>1]=v[f+44>>2]>>>6;i=x[f+24>>1];v[c+8>>2]=i<<6;u[c+2>>1]=(n+B(i,o)|0)/(k|0);m=x[f+26>>1];l=m<<6;v[c+4>>2]=l;v[c+12>>2]=l;if(!i|!m){break E}v[g+(h<<2)>>2]=d;h=h+1|0}d=d+1|0;if((a|0)!=(d|0)){continue}break}a=Cc(e,4,a,h,g,f+12|0);if(!h){break D}v[b+804>>2]=a;v[b+28>>2]=h;v[b+8>>2]=v[b+8>>2]|2}d=v[b+8>>2];if(!(d&3)){d=d|1;v[b+8>>2]=d}if(!(d&1)){break e}u[b+68>>1]=x[b+178>>1];v[b+52>>2]=u[b+196>>1];v[b+56>>2]=u[b+198>>1];v[b+60>>2]=u[b+200>>1];v[b- -64>>2]=u[b+202>>1];d=x[b+372>>1];F:{if(!(!(w[b+436|0]&128)|(d|0)==65535)){a=x[b+442>>1];u[b+70>>1]=a;c=x[b+444>>1];u[b+72>>1]=c;u[b+74>>1]=x[b+446>>1]+(a-c|0);break F}a=x[b+220>>1];u[b+70>>1]=a;c=x[b+222>>1];u[b+72>>1]=c;u[b+74>>1]=x[b+224>>1]+(a-c|0);if(a|c|(d|0)==65535){break F}a=x[b+442>>1];c=x[b+444>>1];if(a|c){u[b+72>>1]=c;u[b+70>>1]=a;u[b+74>>1]=x[b+446>>1]+(a-c|0);break F}a=x[b+448>>1];u[b+70>>1]=a;c=a;a=x[b+450>>1];u[b+74>>1]=c+a;u[b+72>>1]=0-a}u[b+76>>1]=x[b+226>>1];u[b+78>>1]=x[(w[b+292|0]?306:74)+b>>1];a=u[b+486>>1];u[b+82>>1]=a;u[b+80>>1]=x[b+484>>1]+((a|0)/-2|0)}Qb=f+240|0;return v[f+12>>2]}function _za(a){a=a|0;var 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;v[a+144>>2]=0;b=v[a+8>>2];Ub[v[v[b>>2]+20>>2]](b);h=Qb-16|0;Qb=h;v[a+32>>2]=0;b=v[a+8>>2];a:{if((Ub[v[v[b>>2]+32>>2]](b)|0)!=255){b:{if(by(a,h+12|0,h+8|0,h+4|0)){while(1){c:{d:{e:{f:{g:{h:{i:{j:{k:{b=v[h+12>>2];if((b|0)<=1768449137){if((b|0)<=1668112751){if((b|0)==1651532643){break k}if((b|0)!=1667523942){break f}b=v[a+8>>2];c=Ub[v[v[b>>2]+28>>2]](b)|0;if((c|0)!=-1){b=v[a+8>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)!=-1){break h}}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,257984,0);c=2;break a}if((b|0)==1668112752){break i}if((b|0)!=1668246642){break f}i=v[h+4>>2];d=Qb-48|0;Qb=d;l:{m:{n:{b=v[a+8>>2];c=Ub[v[v[b>>2]+28>>2]](b)|0;o:{if((c|0)==-1){break o}v[d+8>>2]=c;b=v[a+8>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break o}v[d+12>>2]=b&128?b|-256:b;b=v[a+8>>2];if((Ub[v[v[b>>2]+28>>2]](b)|0)==-1){break o}e=1;p:{switch(c-1|0){case 0:b=v[a+8>>2];f=Ub[v[v[b>>2]+28>>2]](b)|0;if((f|0)==-1){break o}b=v[a+8>>2];e=Ub[v[v[b>>2]+28>>2]](b)|0;if((e|0)==-1){break o}b=v[a+8>>2];c=Ub[v[v[b>>2]+28>>2]](b)|0;if((c|0)==-1){break o}b=v[a+8>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break o}b=b|(e<<16|f<<24|c<<8);v[d+16>>2]=b;if(b>>>0>24){break o}if(1<>>0<4){break l}c=v[a+8>>2];b=i-3|0;if((Ub[v[v[c>>2]+48>>2]](c,b)|0)==(b|0)){break l}}e=0;kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,300848,0);break l}v[d+44>>2]=4470064;v[d+36>>2]=255;v[d+40>>2]=96;v[d+28>>2]=255;v[d+32>>2]=128;v[d+20>>2]=100;v[d+24>>2]=0}if(v[a+76>>2]){e=1;if(v[d+12>>2]<=v[a+40>>2]){break l}}b=v[d+12>>2];v[a+36>>2]=v[d+8>>2];v[a+40>>2]=b;b=v[d+44>>2];v[a+68>>2]=v[d+40>>2];v[a+72>>2]=b;b=v[d+36>>2];v[a+60>>2]=v[d+32>>2];v[a+64>>2]=b;b=v[d+28>>2];v[a+52>>2]=v[d+24>>2];v[a+56>>2]=b;b=v[d+20>>2];v[a+44>>2]=v[d+16>>2];v[a+48>>2]=b;e=1;v[a+76>>2]=1}Qb=d+48|0;if(e){break c}c=2;break a}q:{switch(b-1785737827|0){case 0:break g;case 5:break c;case 1:case 2:case 3:case 4:break f;default:break q}}if((b|0)==1885564018){break j}if((b|0)!=1768449138){break f}r:{b=v[a+8>>2];m=Ub[v[v[b>>2]+28>>2]](b)|0;s:{if((m|0)==-1){break s}b=v[a+8>>2];n=Ub[v[v[b>>2]+28>>2]](b)|0;if((n|0)==-1){break s}b=v[a+8>>2];o=Ub[v[v[b>>2]+28>>2]](b)|0;if((o|0)==-1){break s}b=v[a+8>>2];g=Ub[v[v[b>>2]+28>>2]](b)|0;if((g|0)==-1){break s}b=v[a+8>>2];j=Ub[v[v[b>>2]+28>>2]](b)|0;if((j|0)==-1){break s}b=v[a+8>>2];k=Ub[v[v[b>>2]+28>>2]](b)|0;if((k|0)==-1){break s}b=v[a+8>>2];l=Ub[v[v[b>>2]+28>>2]](b)|0;if((l|0)==-1){break s}b=v[a+8>>2];d=Ub[v[v[b>>2]+28>>2]](b)|0;if((d|0)==-1){break s}b=v[a+8>>2];i=Ub[v[v[b>>2]+28>>2]](b)|0;if((i|0)==-1){break s}b=v[a+8>>2];f=Ub[v[v[b>>2]+28>>2]](b)|0;if((f|0)==-1){break s}b=v[a+8>>2];e=Ub[v[v[b>>2]+28>>2]](b)|0;if((e|0)==-1){break s}b=v[a+8>>2];c=Ub[v[v[b>>2]+28>>2]](b)|0;if((c|0)==-1){break s}b=v[a+8>>2];if((Ub[v[v[b>>2]+28>>2]](b)|0)==-1){break s}b=v[a+8>>2];if((Ub[v[v[b>>2]+28>>2]](b)|0)!=-1){break r}}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,257984,0);c=2;break a}if((c|0)!=7){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,257945,0);c=2;break a}v[a+20>>2]=d|(k<<16|j<<24|l<<8);v[a+24>>2]=g|(n<<16|m<<24|o<<8);b=f|i<<8;v[a+12>>2]=b;b=ed(b,4);v[a+16>>2]=b;c=0;if(v[a+12>>2]){while(1){v[b+(c<<2)>>2]=e;c=c+1|0;if(c>>>0>2]){continue}break}}v[a+32>>2]=1;break c}if(!v[a+32>>2]){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,257549,0);c=2;break a}b=v[h+4>>2];if((b|0)!=v[a+12>>2]){break e}c=0;if(!b){break c}while(1){e=v[a+16>>2];b=v[a+8>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,257984,0);c=2;break a}v[e+(c<<2)>>2]=b;c=c+1|0;if(c>>>0>2]){continue}break}break c}t:{b=v[a+8>>2];c=Ub[v[v[b>>2]+28>>2]](b)|0;u:{if((c|0)==-1){break u}b=v[a+8>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break u}v[a+80>>2]=b|c<<8;b=v[a+8>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)!=-1){break t}}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,257984,0);c=2;break a}v[a+96>>2]=1;v[a+84>>2]=b;q=a,r=ed(b,4),v[q+88>>2]=r;q=a,r=ed(B(v[a+84>>2],v[a+80>>2]),4),v[q+92>>2]=r;if(!v[a+84>>2]){break c}g=v[a+88>>2];c=0;while(1){b=v[a+8>>2];e=Ub[v[v[b>>2]+28>>2]](b)|0;if((e|0)!=-1){b=c<<2;v[b+g>>2]=e;g=v[a+88>>2];b=b+g|0;v[b>>2]=v[b>>2]+1;c=c+1|0;j=v[a+84>>2];if(c>>>0>>0){continue}break d}break}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,257984,0);c=2;break a}v[a+116>>2]=1;b=v[h+4>>2]>>>2|0;v[a+100>>2]=b;q=a,r=ed(b,4),v[q+104>>2]=r;q=a,r=ed(v[a+100>>2],4),v[q+108>>2]=r;q=a,r=ed(v[a+100>>2],4),v[q+112>>2]=r;c=0;if(!v[a+100>>2]){break c}while(1){f=v[a+104>>2];v:{b=v[a+8>>2];e=Ub[v[v[b>>2]+28>>2]](b)|0;w:{if((e|0)==-1){break w}b=v[a+8>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break w}d=f;f=c<<2;v[d+f>>2]=b|e<<8;e=v[a+108>>2];b=v[a+8>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break w}v[e+f>>2]=b;e=v[a+112>>2];b=v[a+8>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)!=-1){break v}}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,257984,0);c=2;break a}v[e+f>>2]=b;c=c+1|0;if(c>>>0>2]){continue}break}break c}v[a+136>>2]=1;b=b|c<<8;v[a+120>>2]=b;q=a,r=ed(b,4),v[q+124>>2]=r;q=a,r=ed(v[a+120>>2],4),v[q+128>>2]=r;q=a,r=ed(v[a+120>>2],4),v[q+132>>2]=r;c=0;if(!v[a+120>>2]){break c}while(1){f=v[a+124>>2];x:{b=v[a+8>>2];e=Ub[v[v[b>>2]+28>>2]](b)|0;y:{if((e|0)==-1){break y}b=v[a+8>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break y}i=c<<2;v[i+f>>2]=b|e<<8;f=v[a+128>>2];b=v[a+8>>2];e=Ub[v[v[b>>2]+28>>2]](b)|0;if((e|0)==-1){break y}b=v[a+8>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break y}v[f+i>>2]=b|e<<8;f=v[a+132>>2];b=v[a+8>>2];e=Ub[v[v[b>>2]+28>>2]](b)|0;if((e|0)==-1){break y}b=v[a+8>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)!=-1){break x}}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,257984,0);c=2;break a}v[f+i>>2]=b|e<<8;c=c+1|0;if(c>>>0>2]){continue}break}break c}if(!v[a+16>>2]){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,220385,0)}if(!v[a+76>>2]){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,300809,0)}p=1;c=lS(a);if(c){break a}break c}c=v[a+8>>2];b=v[h+4>>2];if((Ub[v[v[c>>2]+48>>2]](c,b)|0)==(b|0)){break c}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,257984,0);c=p?1:2;break a}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,257504,0);c=2;break a}c=v[a+80>>2];if(!c){break c}k=0;if(!j){break c}while(1){g=0;z:{if(!j){j=0;break z}while(1){i=v[a+92>>2];f=v[v[a+88>>2]+(g<<2)>>2];b=f&127;l=b+7|0;c=0;if(b){e=l>>>3|0;d=0;while(1){b=v[a+8>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break b}c=b+(c<<8)|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}}e=i+(B(j,k)+g<<2)|0;A:{if(!(f&128)){break A}b=l&248;if(!(c>>>b-1&1)){break A}c=-1<>2]=c;g=g+1|0;j=v[a+84>>2];if(g>>>0>>0){continue}break}c=v[a+80>>2]}k=k+1|0;if(k>>>0>>0){continue}break}}if(by(a,h+12|0,h+8|0,h+4|0)){continue}break}}c=0;break a}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,257984,0);c=2;break a}kc(0,Ub[v[v[a>>2]+52>>2]](a)|0,239430,0);c=2;b=lS(a);if((b|0)==2){break a}c=v[a+188>>2];v[a+12>>2]=c;e=ed(c,4);v[a+16>>2]=e;if(v[a+12>>2]){c=v[v[a+200>>2]+60>>2];while(1){v[e+(g<<2)>>2]=v[(c+B(g,88)|0)+4>>2];g=g+1|0;if(g>>>0>2]){continue}break}}v[a+20>>2]=v[a+140>>2]-v[a+148>>2];v[a+24>>2]=v[a+144>>2]-v[a+152>>2];c=b}Qb=h+16|0;v[a+236>>2]=0;v[a+228>>2]=0;v[a+220>>2]=v[a+180>>2];v[a+224>>2]=(c|0)==2?v[a+144>>2]>>>v[a+28>>2]|0:v[a+184>>2]}function E5a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=C(0),m=0,n=0,o=0,p=0,q=0,r=0,s=0,y=0,A=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,O=0,P=C(0),Q=0,R=0,S=0,T=0,U=0,V=0,W=C(0),X=C(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;p=Qb-262224|0;Qb=p;if(v[a+188>>2]){Rc(59036,21,1,v[252391])}while(1){d=(p+80|0)+(g<<2)|0;l=C(C(g|0)/C(65535));a:{if(l>C(.008856000378727913)){l=C(de(+l,.3333333432674408));break a}l=C(C(l*C(7.7870001792907715))+C(.13793103396892548))}z[d>>2]=l;g=g+1|0;if((g|0)!=65536){continue}break}b=v[a+26336>>2];if((b|0)>=1){while(1){i=c<<2;d=i+a|0;z[i+(p+32|0)>>2]=C(C(C(+z[d+59348>>2]*.412453/.9504560232162476)+C(0))+C(+z[d+59364>>2]*.35758/.9504560232162476))+C(+z[d+59380>>2]*.180423/.9504560232162476);c=c+1|0;if((b|0)!=(c|0)){continue}break}c=0;while(1){i=c<<2;d=i+a|0;z[(i+p|0)+48>>2]=C(C(C(+z[d+59348>>2]*.212671)+C(0))+C(+z[d+59364>>2]*.71516))+C(+z[d+59380>>2]*.072169);c=c+1|0;if((b|0)!=(c|0)){continue}break}c=0;while(1){i=c<<2;d=i+a|0;z[(i+p|0)- -64>>2]=C(C(C(+z[d+59348>>2]*.019334/1.0887540578842163)+C(0))+C(+z[d+59364>>2]*.119193/1.0887540578842163))+C(+z[d+59380>>2]*.950227/1.0887540578842163);c=c+1|0;if((b|0)!=(c|0)){continue}break}}UI(a,5);O=jc(1703936);if(!O){i=v[a+190640>>2];b:{if(i){c=v[a+25208>>2];v[p+20>>2]=59264;v[p+16>>2]=c;zd(i,4338,p+16|0);break b}c=v[a+25208>>2];v[p+4>>2]=59264;v[p>>2]=c;wc(v[252391],4338,p)}sd(a+190484|0,1);L()}g=x[a+26308>>1];if(g>>>0>=8){ma=O+1572864|0;ka=O+786432|0;c=x[a+26310>>1];ba=258;ca=257;da=255;ea=256;F=2;while(1){i=c&65535;if(i>>>0>=8){na=F+3|0;oa=F+2|0;pa=F|1;r=2;fa=255;while(1){R=0-i|0;n=i-2|0;A=r+256|0;S=g&65535;I=S-2|0;s=i<<1;K=0-s|0;d=F;while(1){if((d|0)<(I|0)){j=v[a+26028>>2];e=d<<1&14;b=j>>>(e<<1)&1;c=b|r;c:{if(A>>>0<=c>>>0|(c|0)>=(n|0)){break c}g=j>>>((b|e)<<1)&3;f=d-F|0;j=v[a+26352>>2]+(B(d,i)<<3)|0;while(1){G=j+(c<<3)|0;q=g<<1;b=G+q|0;e=x[b>>1];o=x[G-6>>1];k=x[G+10>>1];b=((e+o|0)+k<<1)-(x[b+16>>1]+x[b-16>>1]|0)>>2;d:{if(k>>>0>o>>>0){b=(b|0)<(k|0)?b:k;k=(b|0)<(o|0)?o:b;break d}b=(b|0)<(o|0)?b:o;k=(b|0)<(k|0)?k:b}b=(B(f,1536)+O|0)+B(c-r|0,6)|0;u[b+2>>1]=k;o=x[(G+(i<<3)|0)+2>>1];J=x[(G+(R<<3)|0)+2>>1];k=(o+(J+e|0)<<1)-(x[q+(G+(s<<3)|0)>>1]+x[q+(G+(K<<3)|0)>>1]|0)>>2;e=b+393218|0;e:{if(o>>>0>J>>>0){b=(k|0)<(o|0)?k:o;b=(b|0)<(J|0)?J:b;break e}b=(k|0)<(J|0)?k:J;b=(b|0)<(o|0)?o:b}u[e>>1]=b;c=c+2|0;if(A>>>0<=c>>>0){break c}if((c|0)<(n|0)){continue}break}}d=d+1|0;if((ba|0)!=(d|0)){continue}}break}e=1;b=r|1;h=i-3|0;if((b|0)<(h|0)){H=S-3|0;V=i+1|0;ga=i-1|0;ha=1-i|0;ia=i^-1;G=r+255|0;T=0;while(1){j=pa;while(1){if((j|0)<(H|0)){J=j-F|0;c=j<<1;o=c&14;n=v[a+26352>>2]+(B(i,j)<<3)|0;A=c+2&14;y=v[a+26336>>2];M=v[a+26028>>2];f=b;while(1){I=B(f-r|0,6);k=B(J,1536);q=B(T,393216);m=I+(k+(q+O|0)|0)|0;E=n+(f<<3)|0;c=f&1;s=M>>>((c|o)<<1)&3;d=2-s|0;f:{if((d|0)!=1){c=d<<1;c=x[m+2>>1]+((((x[c+(E+(ia<<3)|0)>>1]+x[c+(E+(ha<<3)|0)>>1]|0)+x[c+(E+(ga<<3)|0)>>1]|0)+x[c+(E+(V<<3)|0)>>1]-(x[m+1544>>1]+(x[m+1532>>1]+(x[m-1540>>1]+x[m-1528>>1]|0)|0))|0)+1>>2)|0;break f}g=x[E+2>>1];d=M>>>((c|A)<<1)&3;K=2-d<<1;c=K+E|0;c=g+(x[c+8>>1]+x[c-8>>1]-(x[m-4>>1]+x[m+8>>1])>>1)|0;c=(c|0)<65535?c:65535;u[m+K>>1]=(c|0)>0?c:0;c=d<<1;c=g+(x[c+(E+(i<<3)|0)>>1]+x[c+(E+(R<<3)|0)>>1]-(x[m-1534>>1]+x[m+1538>>1])>>1)|0}g=0;c=(c|0)<65535?c:65535;u[m+(d<<1)>>1]=(c|0)>0?c:0;c=s<<1;u[c+m>>1]=x[c+E>>1];W=C(.5);P=C(.5);X=C(.5);if((y|0)>0){while(1){c=(p+32|0)+(g<<2)|0;l=C(x[m+(g<<1)>>1]);W=C(W+C(z[c+32>>2]*l));P=C(P+C(z[c+16>>2]*l));X=C(X+C(z[c>>2]*l));g=g+1|0;if((y|0)!=(g|0)){continue}break}}g=p+80|0;if(C(D(W))0?c:0)<<2)>>2];g=p+80|0;if(C(D(P))0?c:0)<<2)>>2];l=C(C(P-l)*C(12800));g:{if(C(D(l))0?c:0)<<2)>>2];c=I+(k+(q+ka|0)|0)|0;u[c+4>>1]=d;d=c;l=C(C(l-P)*C(32e3));h:{if(C(D(l))>1]=g;l=C(C(C(P*C(116))+C(-16))*C(64));i:{if(C(D(l))>1]=d;f=f+1|0;if(G>>>0>f>>>0&(f|0)<(h|0)){continue}break}j=j+1|0;if((ca|0)!=(j|0)){continue}}break}T=1;c=e;e=0;if(c){continue}break}}U=ic(ma,0,131072);d=r+2|0;V=i-4|0;j:{if((d|0)>=(V|0)){break j}ga=S-4|0;ha=r+254|0;c=oa;while(1){if((c|0)>=(ga|0)){break j}la=c-F|0;i=d;while(1){j=i-r|0;h=(B(la,1536)+ka|0)+B(j,6)|0;Y=u[h+4>>1];f=h-6|0;b=Y-u[f+4>>1]|0;e=B(b,b);Z=u[h+2>>1];b=Z-u[f+2>>1]|0;ja=e+B(b,b)|0;b=Y-u[h+10>>1]|0;e=B(b,b);b=Z-u[h+8>>1]|0;m=e+B(b,b)|0;e=m>>>0>>0?ja:m;_=u[h+393220>>1];b=_-u[h+391684>>1]|0;g=B(b,b);$=u[h+393218>>1];b=$-u[h+391682>>1]|0;E=g+B(b,b)|0;b=_-u[h+394756>>1]|0;g=B(b,b);b=$-u[h+394754>>1]|0;R=g+B(b,b)|0;b=E>>>0>R>>>0?E:R;Q=b>>>0>e>>>0?e:b;ia=u[h+393224>>1];G=u[h+393226>>1];J=u[h+393212>>1];o=u[h+393214>>1];n=u[h+1538>>1];A=u[h+1540>>1];e=u[h>>1];q=e-u[h+1536>>1]|0;S=q>>31;b=h-1536|0;k=u[b+2>>1];I=u[b+4>>1];s=u[h+393222>>1];aa=u[h+393216>>1];T=aa-u[h+393210>>1]|0;b=e-u[b>>1]|0;K=b>>31;g=K+b|0;N=j+(U+(la<<8)|0)|0;f=e-u[f>>1]|0;H=f>>31;e=e-u[h+6>>1]|0;y=e>>31;j=aa-u[h+391680>>1]|0;M=j>>31;b=aa-u[h+394752>>1]|0;h=b>>31;H=H^f+H;f=y^e+y;e=f>>>0>>0?H:f;M=M^j+M;h=h^b+h;b=h>>>0>>0?M:h;y=b>>>0>e>>>0?e:b;if(!(y>>>0>>0|Q>>>0>>0)){t[N|0]=w[N|0]+1}H=aa-s|0;s=T>>31;e=q+S|0;b=g^K;if(!(f>>>0>y>>>0|m>>>0>Q>>>0)){t[N|0]=w[N|0]+1}g=H>>31;j=s+T|0;f=e^S;k:{if(b>>>0>y>>>0){break k}b=Y-I|0;e=B(b,b);b=Z-k|0;if(Q>>>0>>0){break k}t[N|0]=w[N|0]+1}e=g+H|0;j=j^s;l:{if(f>>>0>y>>>0){break l}b=Y-A|0;f=B(b,b);b=Z-n|0;if(Q>>>0>>0){break l}t[N|0]=w[N|0]+1}e=e^g;f=N+65536|0;m:{if(j>>>0>y>>>0){break m}b=_-o|0;g=B(b,b);b=$-J|0;if(Q>>>0>>0){break m}t[f|0]=w[f|0]+1}n:{if(e>>>0>y>>>0){break n}b=_-G|0;e=B(b,b);b=$-ia|0;if(Q>>>0>>0){break n}t[f|0]=w[f|0]+1}if(!(y>>>0>>0|E>>>0>Q>>>0)){t[f|0]=w[f|0]+1}if(!(Q>>>0>>0|h>>>0>y>>>0)){t[f|0]=w[f|0]+1}i=i+1|0;if(ha>>>0>i>>>0&(i|0)<(V|0)){continue}break}c=c+1|0;if((ea|0)!=(c|0)){continue}break}}i=r+3|0;d=na;while(1){if((x[a+26308>>1]-5|0)>(d|0)){k=d-F|0;K=k+1|0;g=k-1|0;c=i;while(1){I=x[a+26310>>1];if((I-5|0)>(c|0)){f=g<<8;b=f+U|0;n=c-r|0;A=n-1|0;q=n+1|0;e=(t[b+A|0]+t[b+n|0]|0)+t[q+b|0]|0;j=k<<8;b=j+U|0;h=((e+t[b+A|0]|0)+t[b+n|0]|0)+t[b+q|0]|0;b=K<<8;e=b+U|0;e=((h+t[e+A|0]|0)+t[e+n|0]|0)+t[e+q|0]|0;s=U+65536|0;f=s+f|0;j=j+s|0;b=b+s|0;b=(((((((t[f+A|0]+t[f+n|0]|0)+t[f+q|0]|0)+t[j+A|0]|0)+t[j+n|0]|0)+t[j+q|0]|0)+t[b+A|0]|0)+t[b+n|0]|0)+t[b+q|0]|0;o:{if((e|0)==(b|0)){f=v[a+26352>>2];b=(B(k,1536)+O|0)+B(n,6)|0;u[f+(B(d,I)+c<<3)>>1]=x[b+393216>>1]+x[b>>1]>>>1;u[((B(x[a+26310>>1],d)+c<<3)+f|0)+2>>1]=x[b+393218>>1]+x[b+2>>1]>>>1;b=x[b+393220>>1]+x[b+4>>1]>>>1|0;break o}f=v[a+26352>>2];b=((B((b|0)>(e|0),393216)+O|0)+B(k,1536)|0)+B(n,6)|0;u[f+(B(d,I)+c<<3)>>1]=x[b>>1];u[((B(x[a+26310>>1],d)+c<<3)+f|0)+2>>1]=x[b+2>>1];b=x[b+4>>1]}u[((B(x[a+26310>>1],d)+c<<3)+f|0)+4>>1]=b;c=c+1|0;if((fa|0)!=(c|0)){continue}}break}d=d+1|0;if((da|0)!=(d|0)){continue}}break}r=r+250|0;i=x[a+26310>>1];if((r|0)<(i-5|0)){fa=fa+250|0;g=x[a+26308>>1];continue}break}g=x[a+26308>>1];c=i}da=da+250|0;ea=ea+250|0;ca=ca+250|0;ba=ba+250|0;F=F+250|0;if((F|0)<((g&65535)-5|0)){continue}break}}dc(O);Qb=p+262224|0}function hN(a,b,c,d,e,f,g,h,i){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,w=0,x=0,z=0,A=0,B=0,C=0,D=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;k=Qb-336|0;Qb=k;m=h;n=i&65535;o=d;q=e&65535;t=(e^i)&-2147483648;B=i>>>16&32767;F=e>>>16&32767;a:{b:{if(B-1>>>0<32766&F-1>>>0<=32765){break b}u=e&2147483647;l=u;j=d;if(!(!j&(l|0)==2147418112?!(b|c):l>>>0<2147418112)){G=d;t=e|32768;break a}u=i&2147483647;e=u;d=h;if(!(!d&(e|0)==2147418112?!(f|g):e>>>0<2147418112)){G=h;t=i|32768;b=f;c=g;break a}if(!(b|j|(l^2147418112|c))){if(!(d|f|(e^2147418112|g))){b=0;c=0;t=2147450880;break a}t=t|2147418112;b=0;c=0;break a}if(!(d|f|(e^2147418112|g))){b=0;c=0;break a}if(!(b|j|(c|l))){b=!(d|f|(e|g));G=b?0:G;t=b?2147450880:t;b=0;c=0;break a}if(!(d|f|(e|g))){t=t|2147418112;b=0;c=0;break a}if((l|0)==65535|l>>>0<65535){i=b;d=!(o|q);h=d<<6;j=E(d?b:o)+32|0;b=E(d?c:q);b=h+((b|0)==32?j:b)|0;Oh(k+320|0,i,c,o,q,b-15|0);p=16-b|0;o=v[k+328>>2];q=v[k+332>>2];c=v[k+324>>2];b=v[k+320>>2]}if(e>>>0>65535){break b}d=!(m|n);e=d<<6;h=E(d?f:m)+32|0;d=E(d?g:n);d=e+((d|0)==32?h:d)|0;Oh(k+304|0,f,g,m,n,d-15|0);p=(d+p|0)-16|0;m=v[k+312>>2];n=v[k+316>>2];f=v[k+304>>2];g=v[k+308>>2]}e=n|65536;D=e;u=m;d=m;j=e<<15|d>>>17;d=d<<15|g>>>17;h=0-d|0;e=j;i=1963258675-(j+((d|0)!=0)|0)|0;xh(k+288|0,d,j,0,0,h,i,0,0);j=v[k+296>>2];xh(k+272|0,0-j|0,0-(v[k+300>>2]+((j|0)!=0)|0)|0,0,0,h,i,0,0);h=v[k+280>>2];i=h<<1|v[k+276>>2]>>>31;h=v[k+284>>2]<<1|h>>>31;xh(k+256|0,i,h,0,0,d,e,0,0);j=h;h=v[k+264>>2];xh(k+240|0,i,j,0,0,0-h|0,0-(v[k+268>>2]+((h|0)!=0)|0)|0,0,0);h=v[k+248>>2];l=v[k+252>>2]<<1|h>>>31;i=h<<1|v[k+244>>2]>>>31;h=l;xh(k+224|0,i,h,0,0,d,e,0,0);h=v[k+232>>2];xh(k+208|0,i,l,0,0,0-h|0,0-(v[k+236>>2]+((h|0)!=0)|0)|0,0,0);h=v[k+216>>2];i=h<<1|v[k+212>>2]>>>31;h=v[k+220>>2]<<1|h>>>31;xh(k+192|0,i,h,0,0,d,e,0,0);j=h;h=v[k+200>>2];xh(k+176|0,i,j,0,0,0-h|0,0-(v[k+204>>2]+((h|0)!=0)|0)|0,0,0);j=d;h=v[k+184>>2];l=v[k+188>>2]<<1|h>>>31;d=h<<1|v[k+180>>2]>>>31;i=d-1|0;l=l-(d>>>0<1)|0;xh(k+160|0,j,e,0,0,i,l,0,0);e=f;xh(k+144|0,e<<15,g<<15|e>>>17,0,0,i,l,0,0);h=v[k+172>>2];n=v[k+160>>2];e=v[k+152>>2];d=n+e|0;m=v[k+164>>2];j=m+v[k+156>>2]|0;j=d>>>0>>0?j+1|0:j;e=d;d=j;n=(m|0)==(j|0)&n>>>0>e>>>0|j>>>0>>0;m=n+v[k+168>>2]|0;j=h;j=m>>>0>>0?j+1|0:j;h=m;m=!d&e>>>0>1|(d|0)!=0;h=h+m|0;j=h>>>0>>0?j+1|0:j;xh(k+112|0,i,l,0,0,0-h|0,0-(((h|0)!=0)+j|0)|0,0,0);xh(k+128|0,1-e|0,0-((e>>>0>1)+d|0)|0,0,0,i,l,0,0);P=(F-B|0)+p|0;e=v[k+116>>2];z=e;d=v[k+112>>2];j=e<<1|d>>>31;m=d<<1;n=j;e=j;i=v[k+140>>2];H=i;h=v[k+136>>2];j=i<<1|h>>>31;i=h<<1|v[k+132>>2]>>>31;d=i+m|0;l=e+j|0;l=d>>>0>>0?l+1|0:l;i=d;d=l;e=i;j=d-(e>>>0<13927)|0;e=e-13927|0;l=j;I=j;h=0;p=h;j=q|65536;B=j;F=o;w=(j&2147483647)<<1|o>>>31;A=Bib(l,h,w,0);h=Tb;r=A;s=h;h=c;L=(h&2147483647)<<1|b>>>31;J=L;x=0;l=(d|0)==(l|0)&e>>>0>>0|d>>>0>l>>>0;m=(d|0)==(n|0)&i>>>0>>0|d>>>0>>0;d=v[k+120>>2];j=v[k+124>>2]<<1|d>>>31;i=H>>>31|0;d=i+(d<<1|z>>>31)|0;j=d>>>0>>0?j+1|0:j;h=d;d=m+d|0;j=d>>>0>>0?j+1|0:j;i=d;d=l+d|0;h=d>>>0>>0?j+1|0:j;i=d-1|0;C=h-(d>>>0<1)|0;m=0;h=Bib(J,x,C,m);d=h+r|0;j=Tb+s|0;j=d>>>0>>0?j+1|0:j;h=j;r=(s|0)==(j|0)&d>>>0>>0|j>>>0>>0;j=0;A=j;z=j;R=0;j=o;Q=c>>>31|0;J=Q|j<<1;M=0;q=Bib(i,z,J,M);l=q+d|0;j=Tb+h|0;j=l>>>0>>0?j+1|0:j;n=l;q=j;j=(h|0)==(j|0)&d>>>0>l>>>0|h>>>0>j>>>0;d=j+r|0;h=0;h=d>>>0>>0?1:h;l=Bib(w,K,C,m);d=l+d|0;j=Tb+h|0;h=d>>>0>>0?j+1|0:j;o=Bib(w,K,i,z);l=Tb;s=d;z=Bib(C,m,J,M);d=z+o|0;j=Tb+l|0;j=d>>>0>>0?j+1|0:j;r=d;d=j;j=(l|0)==(j|0)&o>>>0>r>>>0|j>>>0>>0;o=s+d|0;l=h+j|0;l=o>>>0>>0?l+1|0:l;s=o;o=0;d=o+n|0;j=q+r|0;j=d>>>0>>0?j+1|0:j;h=j;o=(q|0)==(j|0)&n>>>0>d>>>0|j>>>0>>0;q=s+o|0;j=l;N=q;l=o>>>0>q>>>0?j+1|0:j;s=d;n=h;o=b<<1;q=c<<1|b>>>31;O=o&-2;r=Bib(i,A,O,0);h=Tb;z=e;e=Bib(e,0,J,M);d=e+r|0;j=Tb+h|0;j=d>>>0>>0?j+1|0:j;r=(h|0)==(j|0)&d>>>0>>0|h>>>0>j>>>0;h=d;e=j;S=r;H=Bib(I,p,L,x);d=H+d|0;j=Tb+j|0;j=d>>>0>>0?j+1|0:j;H=d;r=d;d=j;j=(j|0)==(e|0)&h>>>0>r>>>0|e>>>0>j>>>0;e=S+j|0;h=0;h=e>>>0>>0?1:h;r=e;e=s+e|0;j=h+n|0;j=e>>>0>>0?j+1|0:j;r=e;h=e;e=j;n=(j|0)==(n|0)&h>>>0>>0|j>>>0>>0;h=n+N|0;j=l;N=h;n=h>>>0>>0?j+1|0:j;K=Bib(w,K,z,T);w=Tb;l=Bib(C,m,O,U);h=l+K|0;j=Tb+w|0;j=h>>>0>>0?j+1|0:j;C=h;l=Bib(L,x,i,A);i=h+l|0;h=j;j=j+Tb|0;j=i>>>0>>0?j+1|0:j;m=i;A=Bib(I,p,J,M);i=i+A|0;l=j+Tb|0;l=i>>>0>>0?l+1|0:l;A=i;i=l;l=0;s=(i|0)==(j|0)&A>>>0>>0|i>>>0>>0;m=(h|0)==(j|0)&C>>>0>m>>>0|h>>>0>j>>>0;j=m+((h|0)==(w|0)&K>>>0>C>>>0|h>>>0>>0)|0;h=0;m=s+j|0;j=m;h=r+i|0;j=(j|l)+e|0;j=h>>>0>>0?j+1|0:j;s=h;m=j;h=(e|0)==(j|0)&h>>>0>>0|e>>>0>j>>>0;e=h+N|0;j=n;C=e;n=e>>>0>>0?j+1|0:j;r=s;w=H;I=Bib(I,p,O,U);p=Tb;h=Bib(L,x,z,T);e=h+I|0;j=Tb+p|0;j=e>>>0>>0?j+1|0:j;l=j;j=0;h=(l|0)==(p|0)&e>>>0>>0|l>>>0

>>0;e=l+w|0;j=(h|j)+d|0;j=e>>>0>>0?j+1|0:j;h=e;s=(d|0)==(j|0)&h>>>0>>0|d>>>0>j>>>0;l=j+A|0;p=0;i=p+h|0;d=i;l=d>>>0

>>0?l+1|0:l;e=(j|0)==(l|0)&d>>>0>>0|j>>>0>l>>>0;d=s+e|0;j=0;j=d>>>0>>0?1:j;e=d;d=d+r|0;j=j+m|0;j=d>>>0>>0?j+1|0:j;e=j;i=(m|0)==(j|0)&d>>>0>>0|j>>>0>>0;h=i+C|0;l=n;l=h>>>0>>0?l+1|0:l;i=l;c:{if((i|0)==131071|i>>>0<131071){j=F;l=B<<1|j>>>31;F=Q|j<<1;B=l|R;xh(k+80|0,d,e,h,i,f,g,u,D);l=b<<17;b=0;c=v[k+88>>2];m=b-c|0;j=v[k+80>>2];s=(j|0)!=0;n=v[k+84>>2];p=s|(n|0)!=0;x=m-p|0;p=(l-(v[k+92>>2]+(b>>>0>>0)|0)|0)-(m>>>0

>>0)|0;m=0-j|0;n=0-(n+s|0)|0;b=P+16382|0;break c}d=(e&1)<<31|d>>>1;j=h<<31|e>>>1;e=j;h=(i&1)<<31|h>>>1;i=i>>>1|0;xh(k+96|0,d,j,h,i,f,g,u,D);o=0;m=v[k+104>>2];n=o-m|0;j=v[k+96>>2];l=(j|0)!=0;q=v[k+100>>2];p=l|(q|0)!=0;x=n-p|0;p=((b<<16)-(v[k+108>>2]+(m>>>0>o>>>0)|0)|0)-(n>>>0

>>0)|0;m=0-j|0;n=0-(l+q|0)|0;o=b;q=c;b=P+16383|0}if((b|0)>=32767){t=t|2147418112;b=0;c=0;break a}d:{if((b|0)>=1){c=x;j=p<<1|c>>>31;x=c<<1|n>>>31;p=j;o=h;q=i&65535|b<<16;b=m;j=n<<1|b>>>31;b=b<<1;break d}if((b|0)<=-113){b=0;c=0;break a}qp(k- -64|0,d,e,h,i,1-b|0);Oh(k+48|0,o,q,F,B,b+112|0);d=v[k+64>>2];e=v[k+68>>2];o=v[k+72>>2];q=v[k+76>>2];xh(k+32|0,f,g,u,D,d,e,o,q);c=v[k+40>>2];i=c<<1;c=v[k+44>>2]<<1|c>>>31;m=v[k+36>>2];h=m;b=v[k+56>>2];m=h>>>31|i;i=b-m|0;l=v[k+60>>2]-((b>>>0>>0)+c|0)|0;c=v[k+32>>2];h=h<<1|c>>>31;c=c<<1;B=v[k+52>>2];j=B;b=v[k+48>>2];j=(h|0)==(j|0)&c>>>0>b>>>0|h>>>0>j>>>0;x=i-j|0;p=l-(i>>>0>>0)|0;i=b;b=i-c|0;j=B-((c>>>0>i>>>0)+h|0)|0}xh(k+16|0,f,g,u,D,3,0,0,0);xh(k,f,g,u,D,5,0,0,0);i=d;c=e;l=f;f=g;r=o;m=0;h=j+m|0;n=d&1;d=b+n|0;h=d>>>0>>0?h+1|0:h;o=d;g=h;l=(h|0)==(f|0)&d>>>0>l>>>0|f>>>0>>0;d=(h|0)==(m|0)&n>>>0>d>>>0|h>>>0>>0;b=d+x|0;j=p;j=b>>>0>>0?j+1|0:j;h=b;f=j;d=(h|0)==(u|0)&(j|0)==(D|0)?l:(D|0)==(j|0)&h>>>0>u>>>0|j>>>0>D>>>0;b=i+d|0;j=e;j=b>>>0>>0?j+1|0:j;d=b;b=j;e=(j|0)==(c|0)&d>>>0>>0|c>>>0>j>>>0;c=r+e|0;j=q;i=c;j=i>>>0>>0?j+1|0:j;c=j;e=d;l=i;d=v[k+20>>2];m=(d|0)==(g|0)&y[k+16>>2]>>0|d>>>0>>0;d=v[k+28>>2];i=v[k+24>>2];i=j>>>0<2147418112&((h|0)==(i|0)&(d|0)==(f|0)?m:(d|0)==(f|0)&i>>>0>>0|d>>>0>>0);d=e+i|0;j=b;j=d>>>0>>0?j+1|0:j;i=d;d=j;e=(j|0)==(b|0)&e>>>0>i>>>0|b>>>0>j>>>0;b=l+e|0;j=c;j=b>>>0>>0?j+1|0:j;e=j;l=b;b=v[k+4>>2];g=(b|0)==(g|0)&y[k>>2]>>0|b>>>0>>0;b=v[k+12>>2];c=v[k+8>>2];c=j>>>0<2147418112&((c|0)==(h|0)&(b|0)==(f|0)?g:(b|0)==(f|0)&c>>>0>>0|b>>>0>>0);b=c+i|0;j=d;j=b>>>0>>0?j+1|0:j;c=j;f=(d|0)==(j|0)&b>>>0>>0|d>>>0>j>>>0;d=l+f|0;j=e;G=d|G;t=t|(d>>>0>>0?j+1|0:j)}v[a>>2]=b;v[a+4>>2]=c;v[a+8>>2]=G;v[a+12>>2]=t;Qb=k+336|0}function fR(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;m=Qb-128|0;Qb=m;k=v[b>>2];a:{b:{g=v[c+8>>2];if((g|0)<1){break b}j=v[c>>2];i=-1;e=g;while(1){c:{f=(e+i|0)/2|0;l=v[j+(f<<2)>>2];d:{if((l|0)<(k|0)){i=f;break d}e=f;if((k|0)>=(l|0)){break c}}if((e-i|0)>1){continue}}break}if((k|0)!=v[j+(e<<2)>>2]|(e|0)>=(g|0)){break b}d=0;kc(0,-1,282699,0);break a}j=v[c>>2];g=v[c+8>>2];e=g;e:{f:{if((e|0)<1){break f}i=-1;e=g;while(1){g:{f=(e+i|0)/2|0;l=v[(f<<2)+j>>2];h:{if((l|0)<(k|0)){i=f;break h}e=f;if((k|0)>=(l|0)){break g}}if((e-i|0)>1){continue}}break}if((e|0)>=(g|0)){break f}if((k|0)==v[(e<<2)+j>>2]){break e}}if(v[c+4>>2]==(g|0)){f=c;if((g|0)>=1073741824){mh(342380);j=v[c>>2];g=v[c+4>>2]}i=f;f=g<<1;v[i+4>>2]=f;j=pd(j,f,4);v[c>>2]=j;g=v[c+8>>2]}if((e|0)<(g|0)){f=(e<<2)+j|0;Wd(f+4|0,f,g-e<<2);j=v[c>>2];g=v[c+8>>2]}v[(e<<2)+j>>2]=k;v[c+8>>2]=g+1}e=0;f=v[a>>2];Ub[v[v[f>>2]+56>>2]](f,v[b>>2]+v[a+4>>2]|0,0);f=v[a>>2];f=Ub[v[v[f>>2]+40>>2]](f,m,100)|0;i:{if((f|0)<1){break i}while(1){g=t[e+m|0];if(g>>>0<=255){g=w[g+937984|0]==1}else{g=0}if(!g){break i}e=e+1|0;if((f|0)!=(e|0)){continue}break}e=f}j:{if(d){break j}d=e+4|0;if(w[e+m|0]!=120|(d|0)>=(f|0)){break j}f=e+m|0;if(w[f+1|0]!=114|w[f+2|0]!=101|w[f+3|0]!=102){break j}d=t[d+m|0];if(d>>>0<=255){d=w[d+937984|0]==1}else{d=0}if(!d){break j}g=c;h=Qb-48|0;Qb=h;v[h+16>>2]=13;f=b;c=v[a>>2];Ub[v[v[c>>2]+56>>2]](c,v[b>>2]+(v[a+4>>2]+(e+5|0)|0)|0,0);k:{l:{m:{n:{o:{p:{q:{r:{while(1){b=v[a>>2];e=Ub[v[v[b>>2]+28>>2]](b)|0;if(w[e+937984|0]==1&e>>>0<=255){continue}s:{if((e|0)==116){b=v[a>>2];if((Ub[v[v[b>>2]+40>>2]](b,h+10|0,6)|0)!=6){break m}if(Pc(h+10|0,239556,6)){break m}v[h+32>>2]=5;i=fc(56);v[299999]=0;d=S(1,160)|0;b=v[299999];v[299999]=0;if((b|0)==1){break s}e=v[a>>2];b=v[v[e>>2]+52>>2];v[299999]=0;c=S(b|0,e|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break r}b=v[v[e>>2]+92>>2];v[299999]=0;c=ca(b|0,e|0,c|0,0,0,h+32|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break r}v[299999]=0;c=Y(4033,d|0,0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break r}v[299999]=0;c=Z(3437,i|0,0,c|0,1)|0;b=v[299999];v[299999]=0;if((b|0)==1){break s}Kg(c,h+32|0,0,0,0,0,0,0,0);Zk(c);dc(i);if(v[h+32>>2]!=7){break n}Ce(v[h+40>>2],224856,h+16|0);e=0;switch(v[h+16>>2]-1|0){case 0:case 8:break p;default:break o}}b=0;if(e-48>>>0>9){break m}while(1){b=(B(b,10)+e|0)-48|0;c=v[a>>2];e=Ub[v[v[c>>2]+28>>2]](c)|0;if(e-48>>>0<10){continue}break}if(!(w[e+937984|0]==1&e>>>0<=255)){break m}while(1){c=v[a>>2];e=Ub[v[v[c>>2]+28>>2]](c)|0;c=e;if(e>>>0<=255){c=w[c+937984|0]==1}else{c=0}if(c){continue}break}i=0;while(1){i=(B(i,10)+e|0)-48|0;c=v[a>>2];e=Ub[v[v[c>>2]+28>>2]](c)|0;if(e-48>>>0<10){continue}break}if(!(w[e+937984|0]==1&e>>>0<=255)|(b|0)<0|((i|0)<0|(2147483647-i|0)<(b|0))){break m}e=b+i|0;c=v[a+12>>2];if((e|0)>(c|0)){c=c?c<<1:1024;while(1){d=c;if((c|0)<(e|0)){c=d<<1;if((d|0)>0){continue}}break}if((d|0)<0){break m}l=pd(v[a+8>>2],d,12);v[a+8>>2]=l;c=v[a+12>>2];t:{if((d|0)<=(c|0)){break t}k=d+(c^-1)|0;j=d-c&3;if(j){while(1){e=l+B(c,12)|0;v[e+8>>2]=0;v[e>>2]=-1;c=c+1|0;j=j-1|0;if(j){continue}break}}if(k>>>0<3){break t}while(1){e=l+B(c,12)|0;v[e>>2]=-1;v[e+8>>2]=0;v[e+12>>2]=-1;v[e+20>>2]=0;v[e+24>>2]=-1;v[e+44>>2]=0;v[e+32>>2]=0;v[e+36>>2]=-1;c=c+4|0;if((d|0)!=(c|0)){continue}break}}v[a+12>>2]=d}d=b;if((i|0)<1){continue}while(1){c=v[a>>2];e=Ub[v[v[c>>2]+28>>2]](c)|0;if(w[e+937984|0]==1&e>>>0<=255){continue}c=0;while(1){c=(B(c,10)+e|0)-48|0;e=v[a>>2];e=Ub[v[v[e>>2]+28>>2]](e)|0;if(e-48>>>0<10){continue}break}if(!(w[e+937984|0]==1&e>>>0<=255)){break m}while(1){e=v[a>>2];e=Ub[v[v[e>>2]+28>>2]](e)|0;if(w[e+937984|0]==1&e>>>0<=255){continue}break}j=0;while(1){j=(B(j,10)+e|0)-48|0;e=v[a>>2];e=Ub[v[v[e>>2]+28>>2]](e)|0;if(e-48>>>0<10){continue}break}if(!(w[e+937984|0]==1&e>>>0<=255)){break m}while(1){e=v[a>>2];l=Ub[v[v[e>>2]+28>>2]](e)|0;e=l;if(w[e+937984|0]==1&e>>>0<=255){continue}break}k=1;u:{switch(l-102|0){case 0:k=0;break;case 8:break u;default:break m}}e=v[a>>2];e=Ub[v[v[e>>2]+28>>2]](e)|0;if(e>>>0<=255){e=w[e+937984|0]==1}else{e=0}if(!e){break m}e=v[a+8>>2]+B(b,12)|0;v:{if(v[e>>2]!=-1){break v}v[e>>2]=c;v[e+8>>2]=k;v[e+4>>2]=j;w:{if((b|0)!=1|(d|0)!=1){break w}d=1;c=v[a+8>>2];if(v[c+12>>2]){b=1;break w}if(v[c+16>>2]!=65535){b=1;break w}b=1;if(v[c+20>>2]){break w}b=v[c+16>>2];v[c>>2]=v[c+12>>2];v[c+4>>2]=b;v[c+8>>2]=v[c+20>>2];v[v[a+8>>2]+12>>2]=-1;d=0;b=0}if(v[a+16>>2]>=(b|0)){break v}v[a+16>>2]=b}b=b+1|0;if((b|0)<(d+i|0)){continue}break}continue}break}a=P()|0;O()|0;break q}a=P()|0;O()|0;dc(d)}dc(i);T(a|0);L()}v[f>>2]=v[h+24>>2];e=1}hc(h+16|0);if(v[a+40>>2]==13){zf(h+32|0,a+40|0)}if(v[rc(v[h+40>>2],255580,h+16|0,0)>>2]!=1){break l}v[h+4>>2]=v[h+24>>2];fR(a,h+4|0,g,1);if(v[a+28>>2]){break l}hc(h+16|0)}hc(h+32|0)}e=0;v[a+28>>2]=0;break k}hc(h+16|0);hc(h+32|0)}Qb=h+48|0;d=e;break a}v[m+112>>2]=5;l=fc(56);v[299999]=0;g=S(1,160)|0;c=v[299999];v[299999]=0;x:{y:{z:{A:{if((c|0)==1){break A}f=v[a>>2];e=v[v[f>>2]+92>>2];d=v[b>>2];c=v[a+4>>2];v[299999]=0;d=ca(e|0,f|0,c+d|0,0,0,m+112|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break z}v[299999]=0;d=Y(4033,g|0,0,d|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break z}v[299999]=0;o=Z(3437,l|0,0,d|0,1)|0;c=v[299999];v[299999]=0;if((c|0)==1){break A}d=0;if(v[Kg(o,m+112|0,1,0,0,0,0,0,0)>>2]!=1){break x}c=m+112|0;hc(c);if(v[Kg(o,c,1,0,0,0,0,0,0)>>2]!=1){break x}c=m+112|0;hc(c);c=Kg(o,c,1,0,0,0,0,0,0);if(v[c>>2]!=10){break x}if(mc(v[c+8>>2],263615)){break x}c=m+112|0;hc(c);if(v[Kg(o,c,0,0,0,0,0,0,0)>>2]!=8){break x}f=a;h=v[m+120>>2];e=b;a=Qb+-64|0;Qb=a;v[a+32>>2]=13;v[a+16>>2]=13;v[a>>2]=13;b=a+32|0;c=b;j=Ub[v[v[h>>2]+76>>2]](h)|0;B:{C:{D:{E:{if(v[Ce(j,274154,c)>>2]!=1){break E}n=v[a+40>>2];hc(a+32|0);if((n|0)<0){break E}if((n|0)>v[f+12>>2]){k=pd(v[f+8>>2],n,12);v[f+8>>2]=k;b=v[f+12>>2];F:{if((n|0)<=(b|0)){break F}i=n+(b^-1)|0;d=n-b&3;if(d){while(1){g=k+B(b,12)|0;v[g+8>>2]=0;v[g>>2]=-1;b=b+1|0;d=d-1|0;if(d){continue}break}}if(i>>>0<3){break F}while(1){d=k+B(b,12)|0;v[d>>2]=-1;v[d+8>>2]=0;v[d+12>>2]=-1;v[d+20>>2]=0;v[d+24>>2]=-1;v[d+44>>2]=0;v[d+32>>2]=0;v[d+36>>2]=-1;b=b+4|0;if((n|0)!=(b|0)){continue}break}}v[f+12>>2]=n}if(v[Ce(j,309708,a+32|0)>>2]!=6){break E}b=v[a+40>>2];if(v[b+12>>2]<3){break E}G:{d=a+16|0;if(v[yc(b,0,d,0)>>2]!=1){break G}g=v[a+24>>2];v[a+52>>2]=g;b=a+16|0;hc(b);if(v[yc(v[a+40>>2],1,b,0)>>2]!=1){break G}i=v[a+24>>2];v[a+56>>2]=i;b=a+16|0;hc(b);if(v[yc(v[a+40>>2],2,b,0)>>2]!=1){break G}b=v[a+24>>2];v[a+60>>2]=b;hc(a+16|0);hc(a+32|0);if((i|0)<0|g>>>0>8|((b|0)<0|(i|0)>8)){break C}if((b|0)>8){break C}Ub[v[v[h>>2]+20>>2]](h);Ce(j,221121,a);H:{if(v[a>>2]==6){k=1;b=v[a+8>>2];if(v[b+12>>2]<=1){break H}g=0;while(1){d=a;if(v[yc(b,g,a+32|0,0)>>2]!=1){break G}i=v[a+40>>2];b=a+32|0;hc(b);if(v[yc(v[a+8>>2],k,b,0)>>2]!=1){break G}d=v[a+40>>2];hc(a+32|0);b=a;if((i|0)<0|(d|0)<0){break D}if(!dR(f,h,a+52|0,i,d)){break D}g=g+2|0;k=g|1;b=v[a+8>>2];if((k|0)>2]){continue}break}break H}if(dR(f,h,a+52|0,0,n)){break H}b=a;break D}hc(a);Ce(j,224856,a+32|0);b=0;if(v[a+32>>2]==1){v[e>>2]=v[a+40>>2];b=1}hc(a+32|0);if(v[f+40>>2]!=13){break B}v[f+48>>2]=j;v[f+40>>2]=7;v[j+20>>2]=v[j+20>>2]+1;break B}hc(d)}b=c}hc(b)}b=0;v[f+28>>2]=0}Qb=a- -64|0;d=b;hc(m+112|0);Zk(o);dc(l);break a}e=P()|0;O()|0;break y}e=P()|0;O()|0;dc(g)}dc(l);T(e|0);L()}hc(m+112|0);Zk(o);dc(l);v[a+28>>2]=0}Qb=m+128|0;return d}function nH(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,z=0,A=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;m=Qb-16|0;Qb=m;q=v[a+736>>2];l=v[a+104>>2];n=v[l+28>>2];v[m+4>>2]=0;s=6;a:{if(!w[a+733|0]|!q){break a}b:{if(!e){break b}h=v[c+4>>2];s=0;if((e|0)!=1){f=e&-2;while(1){j=s<<3;k=j+d|0;i=h+j|0;v[k>>2]=v[i>>2]<<6;v[k+4>>2]=v[i+4>>2]<<6;j=j|8;k=j+d|0;j=h+j|0;v[k>>2]=v[j>>2]<<6;v[k+4>>2]=v[j+4>>2]<<6;s=s+2|0;f=f-2|0;if(f){continue}break}}if(!(e&1)){break b}f=s<<3;j=f+d|0;f=f+h|0;v[j>>2]=v[f>>2]<<6;v[j+4>>2]=v[f+4>>2]<<6}s=0;if(y[q+68>>2]<=b>>>0){break a}f=v[q+72>>2];h=b+1|0;if(v[f+(b<<2)>>2]==v[f+(h<<2)>>2]){break a}r=Cc(n,8,0,e,0,m+12|0);c:{if(v[m+12>>2]){break c}p=Cc(n,8,0,e,0,m+12|0);if(v[m+12>>2]){break c}s=Cc(n,1,0,e,0,m+12|0);if(v[m+12>>2]){break c}f=v[q+72>>2];h=v[f+(h<<2)>>2];b=v[f+(b<<2)>>2];f=Yc(l,b);v[m+12>>2]=f;if(f){break c}f=h-b|0;b=ne(l,f);v[m+12>>2]=b;if(b){break c}j=v[l>>2];k=v[l+32>>2];I=Cc(n,4,0,v[q>>2],0,m+12|0);b=0;d:{e:{if(v[m+12>>2]){break e}R=Cc(n,4,0,v[q>>2],0,m+12|0);if(v[m+12>>2]){break e}S=Cc(n,4,0,v[q>>2],0,m+12|0);if(v[m+12>>2]){break e}h=He(l);f:{i=He(l);if(i>>>0<=f>>>0){V=h&4095;if(f>>>0>=V<<2>>>0){break f}}v[m+12>>2]=8;break e}F=i+(k-j|0)|0;if(h&32768){j=v[l+32>>2];f=v[l>>2];b=v[l+36>>2];v[l+32>>2]=b-f>>>0>F>>>0?f+F|0:b;b=Rz(l,v[q+76>>2],m+4|0);k=v[l+32>>2];h=v[l>>2];f=j-f|0;j=v[l+36>>2];v[l+32>>2]=f>>>0>>0?h+f|0:j;F=k-h|0}J=Cc(n,4,0,e,0,m+12|0);g:{if(v[m+12>>2]){break g}K=Cc(n,4,0,e,0,m+12|0);if(v[m+12>>2]){break g}h:{if(!e){break h}h=v[c+4>>2];if((e|0)!=1){f=e&-2;while(1){j=g<<3;k=j+r|0;i=h+j|0;v[k>>2]=v[i>>2]<<16;v[k+4>>2]=v[i+4>>2]<<16;j=j|8;k=j+r|0;j=h+j|0;v[k>>2]=v[j>>2]<<16;v[k+4>>2]=v[j+4>>2]<<16;g=g+2|0;f=f-2|0;if(f){continue}break}}if(!(e&1)){break h}f=g<<3;g=f+r|0;f=f+h|0;v[g>>2]=v[f>>2]<<16;v[g+4>>2]=v[f+4>>2]<<16}if(V){_=e-2|0;$=e-3|0;T=e-4|0;aa=v[m+4>>2];ea=e&-4;fa=e&3;W=e-1|0;ga=W>>>0<3;i=0;while(1){ha=He(l);i:{j:{k:{l:{m:{f=He(l);n:{if(f&32768){g=0;if(!v[q>>2]){break n}while(1){la=(g<<2)+I|0,ma=He(l)<<16>>16<<2,v[la>>2]=ma;g=g+1|0;if(g>>>0>2]){continue}break}break n}h=f&4095;if(h>>>0>=y[q+60>>2]){break m}g=h;h=v[q>>2];gc(I,v[q+64>>2]+(B(g,h)<<2)|0,h<<2)}o:{if(!(f&16384)){break o}g=0;if(!v[q>>2]){break o}while(1){la=(g<<2)+R|0,ma=He(l)<<16>>16<<2,v[la>>2]=ma;g=g+1|0;h=v[q>>2];if(g>>>0>>0){continue}break}g=0;if(!h){break o}while(1){la=(g<<2)+S|0,ma=He(l)<<16>>16<<2,v[la>>2]=ma;g=g+1|0;if(g>>>0>2]){continue}break}}k=aZ(q,f,I,R,S);if(!k){break i}ia=v[l+32>>2];X=v[l>>2];h=v[l+36>>2];v[l+32>>2]=h-X>>>0>F>>>0?X+F|0:h;p:{if(f&8192){L=Rz(l,v[q+76>>2],m+8|0);h=v[m+8>>2];f=L;break p}v[m+8>>2]=aa;h=aa;L=i;f=b}g=h?h:e;M=qH(l,v[q+76>>2],g);j=f;N=qH(l,v[q+76>>2],g);if(!M|(!f|!N)){break j}q:{if((j|0)!=-1){if(!e){break k}g=0;f=ea;if(!ga){break q}break l}g=0;if(!e){break j}while(1){f=g<<2;h=f+K|0;j=v[h>>2];i=f+J|0;o=v[i>>2];A=Ac(v[f+M>>2],k);f=Ac(v[f+N>>2],k);r:{if(g>>>0>>0){v[i>>2]=o+A;v[h>>2]=f+j;break r}if(!(w[a+740|0]&4|(g|0)!=(T|0))){v[i>>2]=o+A;break r}if(!(w[a+740|0]&2|(g|0)!=($|0))){v[i>>2]=o+A;break r}if(!(w[a+740|0]&32|(g|0)!=(_|0))){v[h>>2]=f+j;break r}if(w[a+740|0]&16|(g|0)!=(W|0)){break r}v[h>>2]=f+j}g=g+1|0;if((g|0)!=(e|0)){continue}break}break j}while(1){t[g+s|0]=0;i=g<<3;o=i+p|0;i=i+r|0;A=v[i+4>>2];v[o>>2]=v[i>>2];v[o+4>>2]=A;i=g|1;t[i+s|0]=0;i=i<<3;o=i+p|0;i=i+r|0;A=v[i+4>>2];v[o>>2]=v[i>>2];v[o+4>>2]=A;i=g|2;t[i+s|0]=0;i=i<<3;o=i+p|0;i=i+r|0;A=v[i+4>>2];v[o>>2]=v[i>>2];v[o+4>>2]=A;i=g|3;t[i+s|0]=0;i=i<<3;o=i+p|0;i=i+r|0;A=v[i+4>>2];v[o>>2]=v[i>>2];v[o+4>>2]=A;g=g+4|0;f=f-4|0;if(f){continue}break}break l}v[m+12>>2]=8;break g}f=fa;if(!f){break k}while(1){t[g+s|0]=0;i=g<<3;o=i+p|0;i=i+r|0;A=v[i+4>>2];v[o>>2]=v[i>>2];v[o+4>>2]=A;g=g+1|0;f=f-1|0;if(f){continue}break}}g=0;if(h){while(1){f=x[j+(g<<1)>>1];if(f>>>0>>0){t[f+s|0]=1;f=(f<<3)+p|0;i=g<<2;la=f,ma=Ac(v[i+M>>2],k)+v[f>>2]|0,v[la>>2]=ma;la=f,ma=Ac(v[i+N>>2],k)+v[f+4>>2]|0,v[la+4>>2]=ma}g=g+1|0;if((h|0)!=(g|0)){continue}break}}h=0;U=0;if(x[c>>1]){Y=p+4|0;O=r+4|0;while(1){D=u[v[c+12>>2]+(U<<1)>>1];s:{if((D|0)<(h|0)){break s}o=D+1|0;i=h;while(1){t:{f=i+1|0;if(w[i+s|0]){g=i;j=g;u:{v:{if((g|0)<(D|0)){while(1){A=g;g=f;k=j;w:{if(!w[s+f|0]){break w}f=j;k=g;if((f|0)>=(A|0)){break w}j=f+1|0;z=v[r+(f<<3)>>2]>v[r+(g<<3)>>2];P=z?f:g;Q=P<<3;k=v[Q+p>>2];H=z?g:f;Z=H<<3;E=v[Z+p>>2];C=v[r+Q>>2];z=v[r+Z>>2];if(!((C|0)==(z|0)&(k|0)!=(E|0))){ba=0;if((z|0)!=(C|0)){ba=ad(k-E|0,C-z|0)}ja=k-C|0;ka=E-z|0;f=j;while(1){k=f;ca=f<<3;f=v[r+ca>>2];x:{if((f|0)<=(z|0)){G=f+ka|0;break x}G=f+ja|0;if((f|0)>=(C|0)){break x}G=Ac(f-z|0,ba)+E|0}v[p+ca>>2]=G;f=k+1|0;if((k|0)!=(A|0)){continue}break}}k=v[O+Z>>2]>v[O+Q>>2];z=(k?H:P)<<3;f=v[z+Y>>2];k=(k?P:H)<<3;E=v[k+Y>>2];C=v[z+O>>2];z=v[k+O>>2];if((C|0)==(z|0)){k=g;if((f|0)!=(E|0)){break w}}G=0;if((z|0)!=(C|0)){G=ad(f-E|0,C-z|0)}P=f-C|0;Q=E-z|0;while(1){f=j;H=f<<3;j=v[H+O>>2];y:{if((j|0)<=(z|0)){k=j+Q|0;break y}k=j+P|0;if((j|0)>=(C|0)){break y}k=Ac(j-z|0,G)+E|0}v[H+Y>>2]=k;j=f+1|0;if((f|0)!=(A|0)){continue}break}k=g}j=k;f=g+1|0;if((g|0)!=(D|0)){continue}break}if((i|0)!=(j|0)){break v}f=o}g=i<<3;k=g+p|0;g=g+r|0;j=v[k>>2]-v[g>>2]|0;k=v[k+4>>2]-v[g+4>>2]|0;if(!(j|k)){h=f;break s}if((h|0)>=(i|0)){break u}g=h+1|0;if(i-h&1){h=(h<<3)+p|0;v[h>>2]=j+v[h>>2];v[h+4>>2]=k+v[h+4>>2];h=g}if((g|0)==(i|0)){break u}while(1){g=(h<<3)+p|0;v[g>>2]=j+v[g>>2];v[g+4>>2]=k+v[g+4>>2];v[g+12>>2]=k+v[g+12>>2];v[g+8>>2]=j+v[g+8>>2];h=h+2|0;if((i|0)!=(h|0)){continue}break}break u}VY(j+1|0,D,j,i,r,p);if((i|0)<1){break t}VY(h,i-1|0,j,i,r,p);break t}if((i|0)>=(D|0)){h=f;break s}g=i^-1;if(D-i&1){i=i+1|0;h=(i<<3)+p|0;v[h>>2]=j+v[h>>2];v[h+4>>2]=k+v[h+4>>2]}if((g|0)==(0-D|0)){h=f;break s}while(1){h=(i<<3)+p|0;v[h+8>>2]=j+v[h+8>>2];v[h+12>>2]=k+v[h+12>>2];i=i+2|0;h=(i<<3)+p|0;v[h>>2]=j+v[h>>2];v[h+4>>2]=k+v[h+4>>2];if((i|0)!=(D|0)){continue}break}h=f;break s}g=(i|0)==(D|0);i=f;if(!g){continue}}break}h=o}U=U+1|0;if((U|0)>1]){continue}break}}g=0;if(!e){break j}while(1){f=g<<3;h=f+p|0;j=f+r|0;f=v[h+4>>2]-v[j+4>>2]|0;h=v[h>>2]-v[j>>2]|0;i=g<<2;j=i+K|0;k=v[j>>2];i=i+J|0;o=v[i>>2];z:{if(g>>>0>>0){v[i>>2]=h+o;v[j>>2]=f+k;break z}if(!(w[a+740|0]&4|(g|0)!=(T|0))){v[i>>2]=h+o;break z}if(!(w[a+740|0]&2|(g|0)!=($|0))){v[i>>2]=h+o;break z}if(!(w[a+740|0]&32|(g|0)!=(_|0))){v[j>>2]=f+k;break z}if(w[a+740|0]&16|(g|0)!=(W|0)){break z}v[j>>2]=f+k}g=g+1|0;if((g|0)!=(e|0)){continue}break}}i=-1;if((L|0)!=-1){if(L){Ub[v[n+8>>2]](n,L)}i=0}f=n;if(M){Ub[v[f+8>>2]](f,M)}if(N){Ub[v[n+8>>2]](n,N)}f=ia-X|0;h=v[l>>2];g=v[l+36>>2];v[l+32>>2]=f>>>0>>0?f+h|0:g}F=F+ha|0;da=da+1|0;if((da|0)!=(V|0)){continue}break}}if(!e){break g}c=v[c+4>>2];g=0;while(1){f=g<<3;a=f+d|0;h=g<<2;j=h+J|0;v[a>>2]=v[a>>2]+(v[j>>2]+512>>10);h=h+K|0;v[a+4>>2]=v[a+4>>2]+(v[h>>2]+512>>10);a=c+f|0;v[a>>2]=v[a>>2]+(v[j>>2]+32768>>16);v[a+4>>2]=v[a+4>>2]+(v[h>>2]+32768>>16);g=g+1|0;if((g|0)!=(e|0)){continue}break}}a=n;if(J){Ub[v[a+8>>2]](a,J)}if(K){Ub[v[n+8>>2]](n,K)}if((b|0)==-1){break d}}if(b){Ub[v[n+8>>2]](n,b)}}a=n;if(I){Ub[v[a+8>>2]](a,I)}if(R){Ub[v[a+8>>2]](a,R)}if(S){Ub[v[n+8>>2]](n,S)}Vd(l)}if(r){Ub[v[n+8>>2]](n,r)}if(p){Ub[v[n+8>>2]](n,p)}if(s){Ub[v[n+8>>2]](n,s)}s=v[m+12>>2]}Qb=m+16|0;return s}function MF(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0,A=0,C=0,D=0;u=Qb-16|0;Qb=u;if(c){g=sk(v[a+8>>2],v[a+52>>2],c)}else{g=0}a:{b:{k=v[a+380>>2];if(k){v[a+380>>2]=v[k+24>>2];v[a+376>>2]=v[a+376>>2]-1;v[k>>2]=0;v[k+4>>2]=0;v[k+40>>2]=0;v[k+44>>2]=0;v[k+32>>2]=0;v[k+36>>2]=0;v[k+24>>2]=0;v[k+28>>2]=0;v[k+16>>2]=0;v[k+20>>2]=0;v[k+8>>2]=0;v[k+12>>2]=0;v[k+4>>2]=2;f=v[a+52>>2];v[k+20>>2]=f;i=v[a+8>>2];v[k+36>>2]=g;v[k+32>>2]=i;c:{if(v[a+364>>2]){v[k+8>>2]=b;break c}d:{if(!b){g=0;break d}g=b;while(1){f=g;g=f+1|0;if(w[f|0]){continue}break}g=0;f=f-b|0;if((f|0)<0){break d}i=Ub[v[259707]](f+1|0)|0;if(!i){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break d}g=gc(i,b,f);t[f+g|0]=0}v[k+8>>2]=g;f=v[a+52>>2]}g=v[f+44>>2];e:{if(!g){v[f+44>>2]=k;break e}while(1){f=g;g=v[f+24>>2];if(g){continue}break}v[f+24>>2]=k;v[k+28>>2]=f}if(!v[294265]){break b}g=v[294262];if(!g){break b}Ub[g|0](k);break b}if(b){k=hV(v[a+52>>2],g,b,v[a+364>>2]!=0);if(k){break b}}if(v[a+172>>2]==-1?v[a+212>>2]:0){break a}v[a+212>>2]=1;v[a+172>>2]=-1;v[a+84>>2]=2;v[u>>2]=237091;oc(0,0,0,a,0,1,2,3,237091,0,0,0,350051,u);break a}f:{if(v[a+32>>2]?1:v[a+16>>2]){if(!d){break f}g=Zy(a,d,e-d|0);v[k+16>>2]=g;v[k+12>>2]=g;if(!g){break f}f=v[k+32>>2];v[g+20>>2]=k;v[g+32>>2]=f;break f}if(w[e|0]){g=Zy(a,d,e-d|0);v[k+16>>2]=g;v[k+12>>2]=g;if(!g){break f}f=v[k+32>>2];v[g+20>>2]=k;v[g+32>>2]=f;break f}o=v[a+8>>2];f=e-d|0;m=Qb-112|0;Qb=m;g=d;g:{if(!g){break g}h=Ub[v[259704]](36)|0;if(!h){v[m>>2]=239852;oc(0,0,0,0,0,29,2,3,239852,0,0,0,350051,m);break g}v[h+20>>2]=0;v[h+4>>2]=0;v[h+28>>2]=0;v[h+32>>2]=0;i=v[259706];v[h+24>>2]=0;v[h+12>>2]=i;v[h+8>>2]=0;v[h+16>>2]=0;v[h>>2]=0;if((i&-2)!=2){v[h+12>>2]=4}h:{i:{j:{if((f|0)<1){break j}s=d+f|0;y=m+103|0;z=m+106|0;A=m+105|0;x=m+104|0;l=d;while(1){k:{f=w[l|0];l:{if((f|0)!=38){if(!f){break k}l=l+1|0;break l}if((g|0)!=(l|0)){if(Zi(h,g,l-g|0)){break i}}j=l+2|0;q=s>>>0<=j>>>0;m:{if(!(q|w[l+1|0]!=35|w[j|0]!=120)){g=0;j=0;n:{i=l+3|0;if(s>>>0<=i>>>0){break n}j=w[i|0];if((j|0)!=59){break n}i=i+1|0;break m}while(1){l=-48;o:{if((j-48&255)>>>0<10){break o}if((j-97&255)>>>0<6){l=-87;break o}l=-55;if((j-65&255)>>>0<6){break o}v[m+48>>2]=0;oc(0,0,0,0,o,2,1300,2,0,0,0,0,351976,m+48|0);g=0;break m}f=j&255;j=0;g=f+((g<<4)+l|0)|0;i=i+1|0;if(s>>>0>i>>>0){j=w[i|0]}if((j&255)!=59){continue}break}i=i+1|0;break m}p:{q:{r:{s:{f=l+1|0;if(f>>>0>=s>>>0){break s}i=w[f|0];if((i|0)==35){g=0;l=0;t:{u:{if(q){break u}l=w[j|0];if((l|0)!=59){break u}break t}while(1){if((l-48&255)>>>0>9){break q}g=B(g,10)+(l&255)|0;l=0;g=g-48|0;j=j+1|0;if(s>>>0>j>>>0){l=w[j|0]}if((l&255)!=59){continue}break}}f=1;break p}q=s-l|0;g=1;while(1){i=i&255;if(!i){break s}if((i|0)==59){break r}g=g+1|0;if((q|0)==(g|0)){break s}i=w[g+l|0];continue}}v[m+80>>2]=f;oc(0,0,0,0,o,2,1302,2,f,0,0,0,349131,m+80|0);break i}if((g|0)!=1){n=Ub[v[259707]](g)|0;v:{if(!n){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break v}i=f;f=g-1|0;C=gc(n,i,f)+f|0,D=0,t[C|0]=D}w:{x:{if(!o){break x}f=v[o+44>>2];y:{if(!f){break y}f=v[f+48>>2];if(!f){break y}j=Se(f,n,0,0);if(j){break w}}if(v[o+40>>2]==1){break x}f=v[o+48>>2];if(!f){break x}f=v[f+48>>2];if(!f){break x}j=Se(f,n,0,0);if(j){break w}}j=mi(n)}z:{if(!(!j|v[j+48>>2]!=6)){if(v[h+32>>2]){break i}f=v[j+40>>2];i=v[h+8>>2];if(!((i|0)==v[h+24>>2]|i>>>0>2147483646)){v[h+24>>2]=i}i=v[h+4>>2];if(!((i|0)==v[h+20>>2]|i>>>0>2147483646)){v[h+20>>2]=i}j=v[h+12>>2];if(!f|(j|0)==2){break h}if(!Zi(h,f,-1)){break z}break i}A:{if(v[h+32>>2]){f=p;break A}f=v[h+8>>2];if(!((f|0)==v[h+24>>2]|f>>>0>2147483646)){v[h+24>>2]=f}f=v[h+20>>2];i=v[h+4>>2];if(!((f|0)==(i|0)|i>>>0>2147483646)){v[h+20>>2]=i;f=i}if(!f){f=p;break A}B:{f=Ub[v[259704]](60)|0;if(f){v[f>>2]=0;v[f+4>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;v[f+4>>2]=3;v[f+56>>2]=0;v[f+48>>2]=0;v[f+52>>2]=0;v[f+40>>2]=0;v[f+44>>2]=0;v[f+32>>2]=0;v[f+36>>2]=0;v[f+24>>2]=0;v[f+28>>2]=0;v[f+16>>2]=0;v[f+20>>2]=0;v[f+8>>2]=883676;C:{if(!v[294265]){break C}i=v[294262];if(!i){break C}Ub[i|0](f)}v[f+32>>2]=o;i=0;if(!(v[h+32>>2]|(v[h+28>>2]|v[h+12>>2]==2))){v[h+20>>2]=0;v[h+24>>2]=0;v[h+4>>2]=0;v[h+8>>2]=0;i=v[h>>2];v[h>>2]=0}v[f+40>>2]=i;if(p){break B}r=f;break A}v[m+96>>2]=225274;oc(0,0,0,0,0,2,2,3,225274,0,0,0,350051,m+96|0);if(!n){break i}Ub[v[259708]](n);break i}f=Yr(p,f)}p=WF(o,n);if(!p){if(!n){break i}Ub[v[259708]](n);break i}D:{if(v[j+12>>2]|!j){break D}i=Py(o,v[p+40>>2]);v[j+68>>2]=1;v[j+12>>2]=i;if(!i){break D}while(1){q=i;v[i+20>>2]=j;i=v[i+24>>2];if(i){continue}break}v[j+16>>2]=q}if(!f){r=p;break z}p=Yr(f,p)}Ub[v[259708]](n)}l=(g+l|0)+1|0;g=l;break l}v[m+64>>2]=0;oc(0,0,0,0,o,2,1301,2,0,0,0,0,352013,m- -64|0);g=0;f=0}i=f+j|0}l=i;if(!g){g=l;break l}E:{F:{G:{H:{if((g|0)>=128){f=m;q=g;I:{if((g|0)<2048){j=0;i=192;n=6;break I}if((g|0)<65536){j=6;i=224;n=12;break I}if((g|0)>=1114112){break G}j=12;i=240;n=18}t[f+102|0]=q>>>n|i;t[m+103|0]=g>>j&63|128;i=x;f=(j>>>0)/6|0;if(f){break H}break F}t[m+102|0]=g;f=1;break E}t[m+104|0]=g>>j-6&63|128;i=A;if((f+y|0)==(x|0)){break F}t[m+105|0]=g>>j-12&63|128;i=z;break F}v[m+32>>2]=g;oc(0,0,0,0,0,1,9,3,0,0,0,g,353167,m+32|0);f=0;break E}f=i-(m+102|0)|0}t[f+(m+102|0)|0]=0;if(v[h+32>>2]){break i}g=v[h+8>>2];if(!((g|0)==v[h+24>>2]|g>>>0>2147483646)){v[h+24>>2]=g}g=v[h+4>>2];if(!((g|0)==v[h+20>>2]|g>>>0>2147483646)){v[h+20>>2]=g}if(v[h+12>>2]==2){break i}g=l;if(Zi(h,m+102|0,-1)){break i}}if(l>>>0>>0){continue}}break}if((g|0)==(l|0)){break j}if(Zi(h,g,l-g|0)){break i}}J:{K:{if(v[h+32>>2]){break K}g=v[h+8>>2];if(!((g|0)==v[h+24>>2]|g>>>0>2147483646)){v[h+24>>2]=g}g=v[h+20>>2];f=v[h+4>>2];if((g|0)==(f|0)|f>>>0>2147483646){f=g}else{v[h+20>>2]=f}if(!f){break K}f=Ub[v[259704]](60)|0;if(!f){break J}v[f>>2]=0;v[f+4>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;v[f+4>>2]=3;v[f+56>>2]=0;v[f+48>>2]=0;v[f+52>>2]=0;v[f+40>>2]=0;v[f+44>>2]=0;v[f+32>>2]=0;v[f+36>>2]=0;v[f+24>>2]=0;v[f+28>>2]=0;v[f+16>>2]=0;v[f+20>>2]=0;v[f+8>>2]=883676;L:{if(!v[294265]){break L}g=v[294262];if(!g){break L}Ub[g|0](f)}v[f+32>>2]=o;g=0;if(!(v[h+32>>2]|(v[h+28>>2]|v[h+12>>2]==2))){v[h+20>>2]=0;v[h+24>>2]=0;v[h+4>>2]=0;v[h+8>>2]=0;g=v[h>>2];v[h>>2]=0}v[f+40>>2]=g;if(!p){r=f;break i}Yr(p,f);break i}if(r){break i}r=eV(358460);if(!r){r=0;break i}v[r+32>>2]=o;break i}v[m+16>>2]=225274;oc(0,0,0,0,0,2,2,3,225274,0,0,0,350051,m+16|0)}j=v[h+12>>2]}M:{N:{if((j|0)==3){l=v[h+16>>2];if(l){break N}l=v[h>>2];if(l){break N}break M}l=v[h>>2];if(!l|(j|0)==2){break M}}Ub[v[259708]](l)}Ub[v[259708]](h)}Qb=m+112|0;f=r;v[k+12>>2]=f;if(!f){break f}i=v[k+32>>2];while(1){g=f;v[f+20>>2]=k;v[f+32>>2]=i;f=v[f+24>>2];if(f){continue}break}v[k+16>>2]=g}if(w[a+276|0]&8){break a}O:{if(!v[a+16>>2]){if(v[a+96>>2]!=2){break O}break a}if(v[a+216>>2]){break a}}P:{if(!(v[a+312>>2]!=(c|0)|w[b|0]!=105|(w[b+2|0]|w[b+1|0]!=100))){g=rk(d,e-d|0);Bu(a+108|0,v[a+8>>2],g,k);break P}if(Iy(v[a+8>>2],v[a+52>>2],k)){g=0;Q:{if(!d){break Q}b=e-d|0;if((b|0)<0){break Q}g=Ub[v[259707]](b+1|0)|0;if(!g){g=0;oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break Q}C=gc(g,d,b)+b|0,D=0,t[C|0]=D}Bu(a+108|0,v[a+8>>2],g,k);break P}if(!IU(v[a+8>>2],v[a+52>>2],k)){break a}g=0;R:{if(!d){break R}b=e-d|0;if((b|0)<0){break R}g=Ub[v[259707]](b+1|0)|0;if(!g){g=0;oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break R}C=gc(g,d,b)+b|0,D=0,t[C|0]=D}KU(a+108|0,v[a+8>>2],g,k)}if(!g){break a}Ub[v[259708]](g)}Qb=u+16|0}function xGa(a,b,c,d,e,f,g,h,i,j,k,l,m,n){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;m=m|0;n=n|0;var o=0,p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0;o=Qb-224|0;Qb=o;a:{b:{c:{d:{e:{f:{if(w[a+208|0]){break f}F=B(e,f)<<2;if((F|0)<1){break f}H=A[b+104>>3];h=fc(F);C=o+192|0;c=C;v[c+12>>2]=0;v[c+16>>2]=0;v[c+4>>2]=1;v[c+8>>2]=8;v[c>>2]=466676;v[c+20>>2]=0;v[c+24>>2]=0;t[c+28|0]=0;v[o+48>>2]=e;v[o+176>>2]=f;v[299999]=0;v[o+40>>2]=0-(e<<2);gn(c,h,o+48|0,o+176|0,o+40|0);c=v[299999];v[299999]=0;g:{h:{i:{j:{k:{l:{m:{n:{if((c|0)!=1){v[299999]=0;u=S(1,36)|0;c=v[299999];v[299999]=0;if((c|0)==1){break n}c=v[g+4>>2];n=v[g+8>>2];v[299999]=0;d=ca(3160,u|0,d|0,e|0,n|0,c|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break m}v[299999]=0;R(3161,d|0);c=v[299999];v[299999]=0;if((c|0)==1){break n}q=w[a+202|0]?A[b+392>>3]:1;v[o+188>>2]=0;n=f-1|0;o:{p:{if(!((f|0)<1|(e|0)<1)){c=n;while(1){G=B(c,e);r=0;while(1){v[299999]=0;Q(3163,d|0,o+188|0)|0;s=v[299999];v[299999]=0;if((s|0)==1){break p}v[299999]=0;$(3164,g|0,o+188|0,o+48|0,0);s=v[299999];v[299999]=0;if((s|0)==1){break o}s=r+G<<2;t[s+h|0]=B(v[o+56>>2],255)+32768>>>16;t[(s|1)+h|0]=B(v[o+52>>2],255)+32768>>>16;t[(s|2)+h|0]=B(v[o+48>>2],255)+32768>>>16;t[(s|3)+h|0]=255;r=r+1|0;if((r|0)!=(e|0)){continue}break}r=(c|0)>0;c=c-1|0;if(r){continue}break}}Ip(d);dc(u);if((e|0)==(j|0)&(f|0)==(k|0)){break k}if(!(!f|(!e|!k))){if(j){break l}}c=(f|0)<1;q=q*255;if(!(q<4294967296&q>=0)){break j}f=~~q>>>0;break i}a=P()|0;O()|0;break a}a=P()|0;O()|0;break a}a=P()|0;O()|0;break a}a=P()|0;O()|0;break a}a=P()|0;O()|0;dc(u);break a}v[299999]=0;r=S(1,36)|0;c=v[299999];v[299999]=0;q:{r:{s:{t:{if((c|0)!=1){c=v[l+4>>2];d=v[l+8>>2];v[299999]=0;i=ca(3160,r|0,i|0,j|0,d|0,c|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break t}v[299999]=0;c=S(15,B(j,k)|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break s}v[299999]=0;R(3161,i|0);d=v[299999];v[299999]=0;if((d|0)==1){break s}n=0;t[o+32|0]=0;u:{v:{if(!((k|0)<1|(j|0)<1)){while(1){u=B(j,n);d=0;while(1){v[299999]=0;Q(3163,i|0,o+32|0)|0;s=v[299999];v[299999]=0;if((s|0)==1){break v}v[299999]=0;$(3165,l|0,o+32|0,o+48|0,0);s=v[299999];v[299999]=0;if((s|0)==1){break u}t[c+(d+u|0)|0]=B(v[o+48>>2],255)+32768>>>16;d=d+1|0;if((j|0)!=(d|0)){continue}break}n=n+1|0;if((n|0)!=(k|0)){continue}break}}Ip(i);dc(r);d=(e|0)<(j|0);if(d|(f|0)<(k|0)){break r}if((f|0)<=0){break h}E=+(k|0)/+(f|0);y=+(j|0)/+(e|0);r=(e|0)<1;i=f;break q}a=P()|0;O()|0;break a}a=P()|0;O()|0;break a}a=P()|0;O()|0;break a}a=P()|0;O()|0;dc(r);break a}a=P()|0;O()|0;break a}v[299999]=0;l=d?j:e;i=(f|0)<(k|0)?k:f;d=S(15,B(l,i)<<2)|0;n=v[299999];v[299999]=0;if((n|0)==1){a=P()|0;O()|0;break a}v[o+48>>2]=l;v[o+176>>2]=i;v[299999]=0;v[o+40>>2]=0-(l<<2);gn(C,d,o+48|0,o+176|0,o+40|0);n=v[299999];v[299999]=0;if((n|0)==1){break b}if((i|0)>=1){p=+(i|0);E=+(k|0)/p;y=+(l|0);x=+(j|0)/y;I=+(f|0)/p;y=+(e|0)/y;u=i-1|0;k=u;while(1){p=+(u-k|0);z=I*p;w:{if(D(z)<2147483648){i=~~z;break w}i=-2147483648}p=E*p;x:{if(D(p)<2147483648){f=~~p;break x}f=-2147483648}r=0;if((l|0)>0){s=B(k,l);G=B(e,i);n=B(f,j);while(1){f=d+(r+s<<2)|0;J=f;z=+(r|0);p=y*z;y:{if(D(p)<2147483648){i=~~p;break y}i=-2147483648}i=(i+G<<2)+h|0;t[J|0]=w[i|0];t[f+1|0]=w[i+1|0];t[f+2|0]=w[i+2|0];p=q;z=x*z;z:{if(D(z)<2147483648){i=~~z;break z}i=-2147483648}p=p*+w[(i+n|0)+c|0];A:{if(p<4294967296&p>=0){i=~~p>>>0;break A}i=0}t[f+3|0]=i;r=r+1|0;if((l|0)!=(r|0)){continue}break}}f=(k|0)>0;k=k-1|0;if(f){continue}break}}dc(h);h=d;break h}while(1){k=i;p=E*+(f-i|0);B:{if(D(p)<2147483648){d=~~p;break B}d=-2147483648}i=k-1|0;if(!r){u=B(e,i);s=B(d,j);d=0;while(1){l=(d+u<<2)+h|0;p=q;x=y*+(d|0);C:{if(D(x)<2147483648){n=~~x;break C}n=-2147483648}p=p*+w[(n+s|0)+c|0];D:{if(p<4294967296&p>=0){n=~~p>>>0;break D}n=0}t[l+3|0]=n;d=d+1|0;if((e|0)!=(d|0)){continue}break}}if((k|0)>=2){continue}break}break h}v[299999]=0;c=S(1,36)|0;d=v[299999];v[299999]=0;E:{F:{if((d|0)==1){break F}d=v[l+4>>2];j=v[l+8>>2];v[299999]=0;i=ca(3160,c|0,i|0,e|0,j|0,d|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break E}v[299999]=0;R(3161,i|0);d=v[299999];v[299999]=0;if((d|0)==1){break F}t[o+176|0]=0;G:{H:{if(!((f|0)<1|(e|0)<1)){while(1){j=B(e,n);d=0;while(1){v[299999]=0;Q(3163,i|0,o+176|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break H}v[299999]=0;$(3165,l|0,o+176|0,o+48|0,0);f=v[299999];v[299999]=0;if((f|0)==1){break G}f=(d+j<<2|3)+h|0;p=q*+((B(v[o+48>>2],255)+32768>>>16&255)>>>0);I:{if(p<4294967296&p>=0){k=~~p>>>0;break I}k=0}t[f|0]=k;d=d+1|0;if((e|0)!=(d|0)){continue}break}d=(n|0)>0;n=n-1|0;if(d){continue}break}}Ip(i);dc(c);break g}a=P()|0;O()|0;break a}a=P()|0;O()|0;break a}a=P()|0;O()|0;break a}a=P()|0;O()|0;dc(c);break a}f=0}if((e|0)<1|c){break g}i=e&-4;j=e&3;l=e-1>>>0<3;while(1){k=B(e,n);d=0;c=i;if(!l){while(1){t[((d+k<<2)+h|0)+3|0]=f;t[((k+(d|1)<<2)+h|0)+3|0]=f;t[((k+(d|2)<<2)+h|0)+3|0]=f;t[((k+(d|3)<<2)+h|0)+3|0]=f;d=d+4|0;c=c-4|0;if(c){continue}break}}c=j;if(c){while(1){t[((d+k<<2)+h|0)+3|0]=f;d=d+1|0;c=c-1|0;if(c){continue}break}}c=(n|0)>0;n=n-1|0;if(c){continue}break}break g}dc(c)}J:{if(!m){break J}c=v[g+8>>2];K:{if((c|0)<1){break K}r=c&3;d=0;if(c-1>>>0>=3){e=c&-4;while(1){c=(o+48|0)+(d<<2)|0;q=A[(d<<3)+m>>3]*65536;L:{if(D(q)<2147483648){f=~~q;break L}f=-2147483648}v[c>>2]=f;c=d|1;f=(o+48|0)+(c<<2)|0;q=A[(c<<3)+m>>3]*65536;M:{if(D(q)<2147483648){c=~~q;break M}c=-2147483648}v[f>>2]=c;c=d|2;f=(o+48|0)+(c<<2)|0;q=A[(c<<3)+m>>3]*65536;N:{if(D(q)<2147483648){c=~~q;break N}c=-2147483648}v[f>>2]=c;c=d|3;f=(o+48|0)+(c<<2)|0;q=A[(c<<3)+m>>3]*65536;O:{if(D(q)<2147483648){c=~~q;break O}c=-2147483648}v[f>>2]=c;d=d+4|0;e=e-4|0;if(e){continue}break}}if(!r){break K}while(1){c=(o+48|0)+(d<<2)|0;q=A[(d<<3)+m>>3]*65536;P:{if(D(q)<2147483648){e=~~q;break P}e=-2147483648}v[c>>2]=e;d=d+1|0;r=r-1|0;if(r){continue}break}}c=v[g>>2];e=v[v[c>>2]+20>>2];d=0;v[299999]=0;$(e|0,c|0,o+48|0,o+176|0,0);c=v[299999];v[299999]=0;if((c|0)==1){break c}if((F|0)<=0){break J}e=B(v[o+176>>2],255)+32768>>>16&255;p=+(e>>>0);f=B(v[o+180>>2],255)+32768>>>16&255;E=+(f>>>0);g=B(v[o+184>>2],255)+32768>>>16&255;y=+(g>>>0);while(1){c=w[(d|3)+h|0];Q:{if(!c){t[d+h|0]=255;t[(d|1)+h|0]=255;t[(d|2)+h|0]=255;break Q}q=255/+(c>>>0);i=d+h|0;x=q*+(w[i|0]-g|0)+y;R:{if(D(x)<2147483648){c=~~x;break R}c=-2147483648}c=(c|0)<255?c:255;t[i|0]=(c|0)>0?c:0;i=(d|1)+h|0;x=q*+(w[i|0]-f|0)+E;S:{if(D(x)<2147483648){c=~~x;break S}c=-2147483648}c=(c|0)<255?c:255;t[i|0]=(c|0)>0?c:0;i=(d|2)+h|0;q=q*+(w[i|0]-e|0)+p;T:{if(D(q)<2147483648){c=~~q;break T}c=-2147483648}c=(c|0)<255?c:255;t[i|0]=(c|0)>0?c:0}d=d+4|0;if((F|0)>(d|0)){continue}break}}A[o+48>>3]=A[b+16>>3];A[o+56>>3]=-A[b+24>>3];q=A[b+32>>3];A[o+64>>3]=-q;p=A[b+40>>3];A[o+72>>3]=p;A[o+80>>3]=q+A[b+48>>3];A[o+88>>3]=H-(p+A[b+56>>3]);v[o+176>>2]=0;v[o+180>>2]=0;v[299999]=0;v[o+40>>2]=0;v[o+44>>2]=0;fa(3156,a|0,o+48|0,o+176|0,o+40|0,1);b=v[299999];v[299999]=0;if((b|0)==1){break e}a=v[a+104>>2];A[o+32>>3]=A[o+176>>3]+0;A[o+24>>3]=A[o+40>>3]+0;v[o+16>>2]=1049880894;v[o+20>>2]=1071027177;v[o+8>>2]=1049880894;v[o+12>>2]=1071027177;b=v[v[a>>2]+356>>2];v[299999]=0;aa(b|0,a|0,C|0,o+32|0,o+24|0,o+16|0,o+8|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break d}sj(C)}Qb=o+224|0;return}a=P()|0;O()|0;break a}a=P()|0;O()|0;break a}a=P()|0;O()|0;break a}a=P()|0;O()|0}sj(C);T(a|0);L()}function F6a(a){a=a|0;var 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=C(0),p=0,q=0,r=0,s=0,t=0,A=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=C(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;j=Qb-2944|0;Qb=j;i=x[a+26306>>1];a:{if(x[a+26308>>1]){k=j+2944|0;m=v[252391];while(1){b:{if((Ub[v[v[a>>2]>>2]](v[a+4>>2],j+1824|0,1,B(i,5)>>>2|0)|0)>=(B(x[a+26306>>1],5)>>>2|0)){break b}if(!v[a+26160>>2]){v[j+16>>2]=v[a+25208>>2];wc(m,8292,j+16|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,m);v[a+26160>>2]=1;break b}b=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[j>>2]=b;v[j+4>>2]=b>>31;wc(m,14622,j)}v[a+26160>>2]=1}c=j+1824|0;b=j+32|0;while(1){d=w[c+1|0];u[b>>1]=w[c|0]<<2|d>>>6;u[b+2>>1]=d>>>4&3|w[c+2|0]<<2;u[b+4>>1]=d>>>2&3|w[c+3|0]<<2;u[b+6>>1]=d&3|w[c+4|0]<<2;d=w[c+9|0];u[b+8>>1]=d&3|w[c+5|0]<<2;u[b+10>>1]=d>>>2&3|w[c+6|0]<<2;u[b+12>>1]=d>>>4&3|w[c+7|0]<<2;u[b+14>>1]=w[c+8|0]<<2|d>>>6;b=b+16|0;c=c+10|0;if(k>>>0>c>>>0){continue}break}c:{if(!x[a+26310>>1]){b=0;break c}f=n<<1&14;g=v[a+26028>>2];d=v[a+26352>>2];c=0;while(1){b=x[a+26316>>1];u[(d+(B(x[a+26320>>1],n>>b)+(c>>>b|0)<<3)|0)+((g>>>((f|c&1)<<1)&3)<<1)>>1]=x[(j+32|0)+(c<<1)>>1];c=c+1|0;b=x[a+26310>>1];if(c>>>0>>0){continue}break}}i=x[a+26306>>1];if(i>>>0>b>>>0){d=v[a+26120>>2];c=b;g=i-b&3;if(g){while(1){d=x[(j+32|0)+(c<<1)>>1]+d|0;c=c+1|0;g=g-1|0;if(g){continue}break}}if((b^-1)+i>>>0>=3){while(1){f=d;d=(j+32|0)+(c<<1)|0;d=(((f+x[d>>1]|0)+x[d+2>>1]|0)+x[d+4>>1]|0)+x[d+6>>1]|0;c=c+4|0;if((i|0)!=(c|0)){continue}break}}v[a+26120>>2]=d}d=n+2|0;c=x[a+26308>>1];n=(d|0)>(c|0)?1:d;h=h+1|0;if(h>>>0>>0){continue}break}break a}b=x[a+26310>>1]}d=b&65535;if(d>>>0>>0){v[a+26120>>2]=(y[a+26120>>2]/(B(i-d|0,c)>>>0)|0)-4}if(c){i=0;while(1){d=b&65535;b=0;if(d){m=i&3;k=i<<1&14;f=v[a+26120>>2];g=v[a+26028>>2];h=v[a+26352>>2];c=0;while(1){b=x[a+26316>>1];d=c&1;b=(h+(B(x[a+26320>>1],i>>>b|0)+(c>>>b|0)<<3)|0)+((g>>>((d|k)<<1)&3)<<1)|0;l=x[b>>1]-f|0;u[b>>1]=B(u[(m<<2|d<<1)+195200>>1],(l|0)>0?l:0)>>>9;c=c+1|0;b=x[a+26310>>1];if(c>>>0>>0){continue}break}c=x[a+26308>>1]}i=i+1|0;if(i>>>0<(c&65535)>>>0){continue}break}}v[a+59284>>2]=990864727;v[a+59288>>2]=992074238;b=a+59292|0;v[b>>2]=990247735;v[b+4>>2]=986488926;e=Qb-112|0;v[e+104>>2]=0;v[e+108>>2]=0;v[e+56>>2]=0;v[e+60>>2]=0;v[e+48>>2]=0;v[e+52>>2]=0;v[e+40>>2]=0;v[e+44>>2]=0;v[e+32>>2]=0;v[e+36>>2]=0;v[e+24>>2]=0;v[e+28>>2]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;v[e>>2]=0;v[e+4>>2]=0;f=a;N=+z[a+25996>>2]+.5;d:{if(D(N)<2147483648){a=~~N;break d}a=-2147483648}b=150;e:{if((a|0)<10){break e}b=20;if((a|0)>12){break e}b=B(a,-20)+280|0}a=0;d=x[f+26308>>1];c=0;f:{if(d>>>0<29){break f}T=x[f+26310>>1];c=0;if(T>>>0<11){break f}da=d-14|0;o=z[f+25992>>2];E=o!=C(0)?80:b;U=E<<2;p=v[f+26028>>2];Q=x[f+26320>>1];H=x[f+26316>>1];q=v[f+26352>>2];r=14;while(1){V=B(r>>>H|0,Q);b=r+3|0;W=B(b>>>H|0,Q);a=r+2|0;X=B(a>>>H|0,Q);c=r|1;Y=B(c>>>H|0,Q);d=e- -64|0;b=b<<2;Z=p>>>b&3;ea=d|Z<<2;a=a<<2&24;_=p>>>a&3;fa=d|_<<2;$=p>>>(b&28|2)&3;ga=d|$<<2;aa=p>>>(a|2)&3;ha=d|aa<<2;b=c<<2;ba=p>>>b&3;ia=d|ba<<2;a=r<<2&24;ca=p>>>a&3;ja=d|ca<<2;n=p>>>(a|2)&3;i=d|n<<2;l=p>>>(b&28|2)&3;m=d|l<<2;O=10;while(1){b=O>>>H|0;v[ja>>2]=x[(q+(b+V<<3)|0)+(ca<<1)>>1];a=(O|1)>>>H|0;v[i>>2]=x[(q+(a+V<<3)|0)+(n<<1)>>1];v[ia>>2]=x[(q+(b+Y<<3)|0)+(ba<<1)>>1];v[m>>2]=x[(q+(a+Y<<3)|0)+(l<<1)>>1];v[fa+16>>2]=x[(q+(b+X<<3)|0)+(_<<1)>>1];v[ha+16>>2]=x[(q+(a+X<<3)|0)+(aa<<1)>>1];v[ea+16>>2]=x[(q+(b+W<<3)|0)+(Z<<1)>>1];v[ga+16>>2]=x[(q+(a+W<<3)|0)+($<<1)>>1];I=v[e+64>>2];g:{if(I-150>>>0>1350){break g}J=v[e+68>>2];if(J-150>>>0>1350){break g}K=v[e+72>>2];if(K-150>>>0>1350){break g}L=v[e+76>>2];if(L-150>>>0>1350){break g}s=v[e+80>>2];if(s-150>>>0>1350){break g}F=v[e+84>>2];if(F-150>>>0>1350){break g}t=v[e+88>>2];if(t-150>>>0>1350){break g}G=v[e+92>>2];if(G-150>>>0>1350){break g}a=I-s|0;b=a>>31;if((b^a+b)>>>0>50){break g}a=J-F|0;b=a>>31;if((b^a+b)>>>0>50){break g}a=K-t|0;b=a>>31;if((b^a+b)>>>0>50){break g}a=L-G|0;b=a>>31;if((b^a+b)>>>0>50){break g}c=(L-K<<10)/(K|0)|0;h:{i:{j:{k:{l:{P=(J-I<<10)/(I|0)|0;M=P;m:{n:{o:{h=o!=C(0);if(h){a=-104;if((c|0)<-104){break o}a=12;b=0;if((c|0)<13){break n}break o}if(c+264>>>0>=726){b=(G-t<<10)/(t|0)|0;g=(F-s<<10)/(s|0)|0;R=0;d=2;break l}a=-50;if((c|0)<-50){break o}d=307;g=1;if((c|0)<=307){d=c;g=0;b=0;if((c|0)<197){break n}}c=d;a=(B(c,48)>>>10|0)-123|0;break m}c=a;b=1}g=b;a=-38-(B(c,398)>>10)|0}p:{if(!((M|0)<(a-E|0)|g|(a+20|0)<(P|0))){R=1;d=0;break p}R=0;g=a-P|0;b=g>>31;d=2;if((b^b+g)>=(U|0)){break p}b=a;a=(g|0)>-20?g:-20;P=b-((a|0)>(E|0)?E:a)|0;d=1}a=(G-t<<10)/(t|0)|0;g=(F-s<<10)/(s|0)|0;if(!h){b=a;break l}h=-104;if((a|0)<-104){break k}A=0;h=12;if((a|0)<13){break j}break k}if(b+264>>>0>725){h=2;A=0;break h}h=-50;if((b|0)<-50){break k}a=307;A=1;q:{if((b|0)>307){break q}A=0;a=b;if((a|0)>=197){break q}break j}b=(B(a,48)>>>10|0)-123|0;break i}A=1;a=h}b=-38-(B(a,398)>>10)|0}r:{if(!(A|(b-E|0)>(g|0)|(b+20|0)<(g|0))){A=1;M=0;break r}A=0;h=b-g|0;k=h>>31;M=2;if((k^h+k)>=(U|0)){break r}g=b;b=(h|0)>-20?h:-20;g=g-((b|0)>(E|0)?E:b)|0;M=1}h=M;b=a}a=d|h;if(a>>>0>1){break g}if(!R){L=B(c+1024|0,K)>>10;v[e+76>>2]=L;J=B(P+1024|0,I)>>10;v[e+68>>2]=J}if(!A){G=B(b+1024|0,t)>>10;v[e+92>>2]=G;F=B(g+1024|0,s)>>10;v[e+84>>2]=F}b=e+(a<<5)|0;v[b>>2]=v[b>>2]+I;v[b+4>>2]=v[b+4>>2]+J;v[b+8>>2]=v[b+8>>2]+K;v[b+12>>2]=v[b+12>>2]+L;v[b+16>>2]=v[b+16>>2]+s;v[b+20>>2]=v[b+20>>2]+F;v[b+24>>2]=v[b+24>>2]+t;v[b+28>>2]=v[b+28>>2]+G;a=(e+104|0)+(a<<2)|0;v[a>>2]=v[a>>2]+1}O=O+2|0;if(T>>>0>O>>>0){continue}break}r=r+4|0;if((da|0)>(r|0)){continue}break}a=v[e+108>>2];c=v[e+104>>2]}b=c;if(b|a){a=e+(((B(b,200)|0)<(a|0))<<5)|0;z[f+59284>>2]=C(1)/C(v[a+16>>2]+v[a>>2]|0);z[f+59288>>2]=C(1)/C(v[a+20>>2]+v[a+4>>2]|0);z[f+59292>>2]=C(1)/C(v[a+24>>2]+v[a+8>>2]|0);z[f+59296>>2]=C(1)/C(v[a+28>>2]+v[a+12>>2]|0)}o=z[f+59292>>2];S=C(z[f+59288>>2]/o);N=+S;o=C(z[f+59296>>2]/o);d=+o<.8789;b=d&(S>C(1)&N<=1.28);c=!(S<=C(2))|!(N>1.28);a=c?b:3;s:{if(c|d){break s}a=b;if(!(o<=C(2))){break s}a=4}c=0;v[f+26132>>2]=0;i=v[f+26336>>2];t:{if((i|0)<1){break t}l=z[f+25992>>2]!=C(0)?5:a;n=i&3;m=i-1|0;if(m>>>0>=3){b=i&-4;h=f+59348|0;d=B(l,24)+195056|0;while(1){z[h+(c<<2)>>2]=C(u[d+(c<<1)>>1])*C(.0009765625);a=c|1;z[h+(a<<2)>>2]=C(u[d+(a<<1)>>1])*C(.0009765625);a=c|2;z[h+(a<<2)>>2]=C(u[d+(a<<1)>>1])*C(.0009765625);a=c|3;z[h+(a<<2)>>2]=C(u[d+(a<<1)>>1])*C(.0009765625);c=c+4|0;b=b-4|0;if(b){continue}break}}if(n){a=B(l,24);while(1){z[(f+(c<<2)|0)+59348>>2]=C(u[(a+(c<<1)|0)+195056>>1])*C(.0009765625);c=c+1|0;n=n-1|0;if(n){continue}break}}g=i&1;u:{if(!m){c=0;break u}a=i&-2;c=0;k=f+59364|0;h=B(l,24);while(1){d=c<<2;b=h+(c<<1)|0;z[d+k>>2]=C(u[b+195064>>1])*C(.0009765625);z[k+(d|4)>>2]=C(u[b+195066>>1])*C(.0009765625);c=c+2|0;a=a-2|0;if(a){continue}break}}if(g){z[(f+(c<<2)|0)+59364>>2]=C(u[(B(l,24)+(c<<1)|0)+195064>>1])*C(.0009765625)}g=i&1;v:{if(!m){c=0;break v}a=i&-2;c=0;k=f+59380|0;h=B(l,24);while(1){d=c<<2;b=h+(c<<1)|0;z[d+k>>2]=C(u[b+195072>>1])*C(.0009765625);z[k+(d|4)>>2]=C(u[b+195074>>1])*C(.0009765625);c=c+2|0;a=a-2|0;if(a){continue}break}}if(!g){break t}z[(f+(c<<2)|0)+59380>>2]=C(u[(B(l,24)+(c<<1)|0)+195072>>1])*C(.0009765625)}a=v[f+26120>>2];v[f+26120>>2]=0;v[f+26124>>2]=B(1023-a|0,1109)>>>9;Qb=j+2944|0}function ona(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,h=0,i=0,j=0,k=0,l=0,m=0;h=Qb-144|0;Qb=h;l=kj(h+96|0,v[a>>2]+72|0);v[299999]=0;j=S(4464,l|0)|0;g=v[299999];v[299999]=0;a:{b:{c:{d:{if((g|0)==1){break d}v[299999]=0;g=v[v[f+12>>2]+((j>>>0)%y[f+8>>2]<<2)>>2];i=v[299999];v[299999]=0;if((i|0)==1){break d}e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{if(g){while(1){if((j|0)==v[g+12>>2]){v[299999]=0;i=Q(4461,g+16|0,l|0)|0;k=v[299999];v[299999]=0;if((k|0)==1){break r}if(i){break g}}g=v[g+8>>2];if(g){continue}break}}j=v[b>>2];v[299999]=0;g=Q(4749,f|0,l|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break e}v[g+52>>2]=0;g=v[a>>2];v[299999]=0;i=g+148|0;k=v[i>>2];m=v[299999];v[299999]=0;if((m|0)==1){break f}if(!w[g+144|0]){v[299999]=0;a=aa(4369,h+40|0,231625,242011,164,226800,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break f}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}g=P()|0;O()|0;qc(a);break c}s:{if(!(k&16)){break s}v[299999]=0;i=v[i>>2];k=v[299999];v[299999]=0;if((k|0)==1){break f}if(i&64){break s}v[299999]=0;R(4763,g|0);i=v[299999];v[299999]=0;if((i|0)==1){break f}}v[299999]=0;k=Q(4387,h+80|0,g+112|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break f}g=v[h+88>>2];if(g){i=d+1|0;while(1){v[299999]=0;da(4859,g+8|0,b|0,c|0,i|0,e|0,f|0);m=v[299999];v[299999]=0;if((m|0)==1){break q}g=v[g>>2];if(g){continue}break}}g=v[a>>2];f=0;v[299999]=0;i=Q(4342,h+40|0,g+72|0)|0;g=v[299999];v[299999]=0;t:{u:{v:{w:{if((g|0)!=1){g=v[c+8>>2];x:{if(!g){break x}while(1){v[299999]=0;c=Q(4461,g+8|0,i|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break w}if(c){f=g;break x}g=v[g>>2];if(g){continue}break}f=0}v[i+24>>2]=981312;v[i>>2]=981280;c=v[i+28>>2];if(c){g=v[c+4>>2]-1|0;v[c+4>>2]=g;if(!g){Ub[v[v[c>>2]+4>>2]](c)}v[i+28>>2]=0}v[i+16>>2]=981312;c=v[i+20>>2];if(c){g=v[c+4>>2]-1|0;v[c+4>>2]=g;if(!g){Ub[v[v[c>>2]+4>>2]](c)}v[i+20>>2]=0}ec(i+8|0);if(f){break h}c=v[a>>2];v[299999]=0;f=v[c+148>>2];c=v[299999];v[299999]=0;if((c|0)==1){break v}c=v[a>>2];y:{if(f&16){v[299999]=0;f=v[c+148>>2];c=v[299999];v[299999]=0;if((c|0)==1){break v}c=v[a>>2];if(f&128){g=v[c+36>>2];if(g){break y}}v[299999]=0;c=v[c+148>>2];f=v[299999];v[299999]=0;if((f|0)==1){break v}if(c&16){break t}break h}g=v[c+36>>2];if(!g){break h}}b=v[v[g>>2]+28>>2];v[299999]=0;b=S(b|0,g|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break i}if(!b){break h}b=v[v[j>>2]+16>>2];v[299999]=0;b=S(b|0,j|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break i}if(!b){break u}b=v[v[j>>2]+12>>2];v[299999]=0;Y(b|0,j|0,358460,1)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break u}break i}g=P()|0;O()|0;Ic(k);break c}g=P()|0;O()|0;$c(i);Ic(k);break c}g=P()|0;O()|0;Ic(k);break c}b=v[v[a>>2]+36>>2];c=v[v[b>>2]+20>>2];v[299999]=0;Z(c|0,b|0,0,0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break i}a=v[v[a>>2]+36>>2];v[299999]=0;Y(4604,j|0,a|0,0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break h}break i}c=v[v[a>>2]+108>>2];v[299999]=0;V(4591,h+32|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break m}v[299999]=0;V(4503,h+24|0,h+32|0);c=v[299999];v[299999]=0;if((c|0)==1){break n}v[299999]=0;c=v[h+24>>2];v[h+40>>2]=0;v[h+44>>2]=v[282402];f=Z(4504,c|0,h+40|0,0,0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break o}if(!f){break p}while(1){v[299999]=0;f=Z(4504,c|0,h+40|0,0,0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break l}if(!f){break p}v[299999]=0;f=Nc(h+40|0,312e3,-1);g=v[299999];v[299999]=0;if((g|0)==1){break l}z:{if(!f){if(v[e>>2]<(d|0)){v[e>>2]=d}f=v[v[j>>2]+16>>2];v[299999]=0;f=S(f|0,j|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break l}if(f){f=v[v[j>>2]+12>>2];v[299999]=0;Y(f|0,j|0,358460,1)|0;f=v[299999];v[299999]=0;if((f|0)==1){break l}}v[299999]=0;v[h+136>>2]=0;Q(4336,h+136|0,c|0)|0;f=v[299999];v[299999]=0;A:{if((f|0)!=1){v[299999]=0;Y(4604,j|0,v[h+136>>2],0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break A}f=v[h+136>>2];v[h+136>>2]=0;if(!f){break z}v[299999]=0;g=v[f+4>>2]-1|0;v[f+4>>2]=g;i=v[299999];v[299999]=0;if((i|0)==1){break a}if(g){break z}v[299999]=0;R(4338,f|0);f=v[299999];v[299999]=0;if((f|0)==1){break a}break z}g=P()|0;O()|0;break k}g=P()|0;O()|0;ec(h+136|0);break k}v[299999]=0;f=Nc(h+40|0,307144,-1);g=v[299999];v[299999]=0;if((g|0)==1){break l}B:{if(!f){break B}v[299999]=0;f=Nc(h+40|0,217592,-1);g=v[299999];v[299999]=0;if((g|0)==1){break l}if(!f){break B}v[299999]=0;f=Nc(h+40|0,312e3,-1);g=v[299999];v[299999]=0;if((g|0)==1){break l}if(f){break z}}if(v[e>>2]<(d|0)){v[e>>2]=d}f=v[v[j>>2]+16>>2];v[299999]=0;f=S(f|0,j|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break l}C:{if(!f){break C}v[299999]=0;f=Nc(h+40|0,217592,-1);g=v[299999];v[299999]=0;if((g|0)==1){break l}if(!f){break C}f=v[v[j>>2]+12>>2];v[299999]=0;Y(f|0,j|0,358460,1)|0;f=v[299999];v[299999]=0;if((f|0)==1){break l}}v[299999]=0;V(4503,h+16|0,b|0);f=v[299999];v[299999]=0;D:{E:{F:{G:{H:{if((f|0)!=1){f=v[h+40>>2];f=v[(f?f+12|0:1129608)>>2];v[299999]=0;g=v[h+16>>2];U(4599,g|0,f|0,0);f=v[299999];v[299999]=0;if((f|0)==1){break H}v[299999]=0;v[h+8>>2]=0;Q(4336,h+8|0,c|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break G}v[299999]=0;f=v[h+8>>2];v[h+136>>2]=0;Q(4336,h+136|0,g|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break F}v[299999]=0;Y(4604,v[h+136>>2],f|0,0)|0;f=v[299999];v[299999]=0;I:{if((f|0)!=1){f=v[h+136>>2];v[h+136>>2]=0;if(!f){break I}v[299999]=0;i=v[f+4>>2]-1|0;v[f+4>>2]=i;m=v[299999];v[299999]=0;if((m|0)!=1){if(i){break I}v[299999]=0;R(4338,f|0);f=v[299999];v[299999]=0;if((f|0)!=1){break I}}break a}g=P()|0;O()|0;ec(h+136|0);break E}f=v[h+8>>2];v[h+8>>2]=0;J:{if(!f){break J}v[299999]=0;i=v[f+4>>2]-1|0;v[f+4>>2]=i;m=v[299999];v[299999]=0;if((m|0)==1){break a}if(i){break J}v[299999]=0;R(4338,f|0);f=v[299999];v[299999]=0;if((f|0)==1){break a}}v[299999]=0;R(4601,g|0);f=v[299999];v[299999]=0;if((f|0)==1){break H}f=v[h+16>>2];v[h+16>>2]=0;if(!f){break z}v[299999]=0;g=v[f+4>>2]-1|0;v[f+4>>2]=g;i=v[299999];v[299999]=0;if((i|0)!=1){if(g){break z}v[299999]=0;R(4338,f|0);f=v[299999];v[299999]=0;if((f|0)!=1){break z}}break a}g=P()|0;O()|0;break k}g=P()|0;O()|0;break D}g=P()|0;O()|0;break D}g=P()|0;O()|0}ec(h+8|0)}ec(h+16|0);break k}v[299999]=0;R(4601,c|0);f=v[299999];v[299999]=0;if((f|0)!=1){continue}break}break l}g=P()|0;O()|0;break c}g=P()|0;O()|0;Ic(k);break c}a=v[v[a>>2]+108>>2];v[299999]=0;V(4494,a|0,1);a=v[299999];v[299999]=0;if((a|0)==1){break o}ec(h+40|0);a=v[h+24>>2];v[h+24>>2]=0;K:{if(!a){break K}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break K}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}a=v[h+32>>2];v[h+32>>2]=0;if(!a){break h}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break h}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break h}}break a}g=P()|0;O()|0;break k}g=P()|0;O()|0;break j}g=P()|0;O()|0;Ic(k);break c}g=P()|0;O()|0}ec(h+40|0);ec(h+24|0)}ec(h+32|0);Ic(k);break c}g=P()|0;O()|0;Ic(k);break c}Ic(k)}v[l+24>>2]=981312;v[l>>2]=981280;a=v[l+28>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Ub[v[v[a>>2]+4>>2]](a)}v[l+28>>2]=0}v[l+16>>2]=981312;a=v[l+20>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Ub[v[v[a>>2]+4>>2]](a)}v[l+20>>2]=0}ec(l+8|0);Qb=h+144|0;return}g=P()|0;O()|0;break c}g=P()|0;O()|0;break c}g=P()|0;O()|0}$c(l);T(g|0)}L()}W(0)|0;O()|0;lc();L()}function ny(a,b){var 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,x=0,y=0,z=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,Q=0,R=0,S=0,U=0;e=Qb-144|0;Qb=e;v[e+32>>2]=13;v[e+16>>2]=13;h=v[v[a+28>>2]+492>>2];E=Ub[v[v[h>>2]+12>>2]](h)|0;i=v[v[294330]+388>>2];c=v[h+16>>2];if(c){c=v[c+4>>2]}else{c=358460}t=(uy(i,c)|0)!=0;c=v[a+8>>2];i=v[c>>2];a:{if(t){if(!(Ub[v[i+32>>2]](c)|0)){break a}a=v[a+8>>2];Ub[v[v[a>>2]+268>>2]](a,v[b>>2]);break a}if(Ub[v[i+12>>2]](c)|0){c=v[a+8>>2];Ub[v[v[c>>2]+240>>2]](c,v[a+28>>2],b)}F=1;i=v[a+28>>2];c=v[i+592>>2];b:{if(c&1){break b}i=v[i+116>>2];if((Ub[v[v[i>>2]+12>>2]](i)|0)!=10){break b}i=v[a+8>>2];Ub[v[v[i>>2]+64>>2]](i,v[a+28>>2]);i=cu(v[a+28>>2]);v[a+28>>2]=i;v[i+592>>2]=(c^c>>>1)&1?5:7;c=v[a+8>>2];Ub[v[v[c>>2]+168>>2]](c,i);F=0}c=v[a+28>>2];d=A[c+584>>3];n=A[c+512>>3]*0+d*A[c+528>>3];G=A[c+608>>3];o=A[c+504>>3]*0+d*A[c+520>>3];H=A[c+600>>3];c:{d:{if(v[h+20>>2]!=4){break d}c=v[a+8>>2];if(!(Ub[v[v[c>>2]+24>>2]](c)|0)){break d}I=v[a+108>>2];i=v[b>>2];if((i|0)>=1){c=v[a+28>>2];d=A[c+496>>3];f=A[c+24>>3];g=A[c+520>>3];r=A[c+40>>3];m=A[c+528>>3];k=f*g+r*m;p=A[h+56>>3];l=A[c+504>>3];u=A[c+512>>3];x=A[h+40>>3];z=A[h+48>>3];f=(l*f+u*r)*x+z*k;y=A[h- -64>>3];k=d*(p*f+k*y);r=f*d;C=A[c+16>>3];f=C*g;g=A[c+32>>3];f=f+g*m;g=(l*C+u*g)*x+z*f;l=A[c+568>>3];m=g*d*l;p=l*(d*(p*g+f*y));g=A[c+600>>3];f=A[c+608>>3];q=v[b+4>>2];while(1){t=Ub[v[v[h>>2]+16>>2]](h,q,i,e+140|0,e+96|0,8,e+12|0,e+88|0,e+80|0,e+56|0,e+48|0)|0;c=v[a+28>>2];l=A[c+496>>3];d=A[e+88>>3]*l+A[c+552>>3];A[e+88>>3]=d;u=A[c+568>>3]*((t|0)!=1|w[q|0]!=32?d:d+A[c+560>>3]);A[e+88>>3]=u;x=l*A[e+80>>3];A[e+80>>3]=x;d=A[c+56>>3];C=A[c+40>>3];J=A[c+24>>3];l=A[c+48>>3];K=A[c+32>>3];M=A[c+520>>3];N=A[c+512>>3];Q=A[c+528>>3];y=A[c+16>>3];R=A[c+504>>3];j=v[a+8>>2];Ub[v[v[j>>2]+64>>2]](j,c);E=v[a+28>>2];c=fc(672);v[299999]=0;j=Y(3429,c|0,E|0,1)|0;s=v[299999];v[299999]=0;e:{f:{g:{if((s|0)!=1){v[a+28>>2]=c;z=o+g;S=z*y;y=n+f;l=l+(S+y*K);A[j+16>>3]=m;C=d+(z*J+y*C);A[j+56>>3]=C;A[j+48>>3]=l;A[j+40>>3]=k;A[j+32>>3]=p;A[j+24>>3]=r;d=1e10;h:{if(!(m>1e10)){d=-1e10;if(!(m<-1e10)){break h}}A[j+16>>3]=d}d=1e10;i:{if(!(r>1e10)){d=-1e10;if(!(r<-1e10)){break i}}A[j+24>>3]=d}d=1e10;j:{if(!(p>1e10)){d=-1e10;if(!(p<-1e10)){break j}}A[j+32>>3]=d}d=1e10;k:{if(!(k>1e10)){d=-1e10;if(!(k<-1e10)){break k}}A[j+40>>3]=d}d=1e10;l:{if(!(l>1e10)){d=-1e10;if(!(l<-1e10)){break l}}A[j+48>>3]=d}d=1e10;m:{if(!(C>1e10)){d=-1e10;if(!(C<-1e10)){break m}}A[j+56>>3]=d}c=v[a+8>>2];Ub[v[v[c>>2]+76>>2]](c,v[a+28>>2],1,0,0,1,0,0);j=v[a+8>>2];c=v[a+28>>2];d=A[e+88>>3];l=A[e+80>>3];if(Ub[v[v[j>>2]+256>>2]](j,c,z,y,d*A[c+16>>3]+l*A[c+32>>3],d*A[c+24>>3]+l*A[c+40>>3],v[e+140>>2],e+96|0,v[e+12>>2])|0){break e}j=e+32|0;c=j;s=v[(h+(v[e+140>>2]<<2)|0)+164>>2];n:{if(!(!s|v[h+3512>>2]!=7)){Ce(v[h+3520>>2],s,c);break n}v[c>>2]=5}qf(j,v[a+4>>2],e+16|0,0);j=v[h+3528>>2]==7?v[h+3536>>2]:0;if(!j){break f}c=fc(112);s=v[a+20>>2];U=v[a+4>>2];v[299999]=0;Z(3430,c|0,U|0,j|0,s|0)|0;s=v[299999];v[299999]=0;if((s|0)!=1){break g}}a=P()|0;O()|0;dc(c);T(a|0);L()}v[a+20>>2]=c}o:{if(v[e+16>>2]==8){TE(a,e+32|0);break o}c=-1;s=v[a+108>>2];p:{if(!s){break p}s=v[s+4>>2];if(v[s+8>>2]==13){break p}c=v[s+16>>2];c=Ub[v[v[c>>2]+52>>2]](c)|0}kc(1,c,217822,0)}c=v[a+8>>2];Ub[v[v[c>>2]+260>>2]](c,v[a+28>>2]);if(j){c=v[a+20>>2];j=v[c+104>>2];dc(UE(c));v[a+20>>2]=j}hc(e+16|0);hc(e+32|0)}c=v[a+28>>2];if(v[c+668>>2]){while(1){c=_k(c);v[a+28>>2]=c;j=v[a+8>>2];Ub[v[v[j>>2]+68>>2]](j,c);c=v[a+28>>2];if(v[c+668>>2]){continue}break}}dc(Kp(c));v[a+28>>2]=E;c=v[a+8>>2];Ub[v[v[c>>2]+68>>2]](c,E);c=v[a+28>>2];f=f+(u*N+x*Q);A[c+608>>3]=f;g=g+(u*R+x*M);A[c+600>>3]=g;c=v[c+596>>2];A[c+16>>3]=f;A[c+8>>3]=g;v[c>>2]=1;q=q+t|0;i=i-t|0;if((i|0)>0){continue}break}}v[a+108>>2]=I;break c}c=v[a+8>>2];if(Ub[v[v[c>>2]+12>>2]](c)|0){j=v[b>>2];if((j|0)<1){break c}i=v[b+4>>2];while(1){q=Ub[v[v[h>>2]+16>>2]](h,i,j,e+140|0,e+96|0,8,e+12|0,e+88|0,e+80|0,e+56|0,e+48|0)|0;q:{if(E){c=v[a+28>>2];g=A[c+496>>3];d=g*A[e+88>>3];A[e+88>>3]=d;f=g*A[e+80>>3]+A[c+552>>3];A[e+80>>3]=f;if((q|0)!=1|w[i|0]!=32){break q}f=f+A[c+560>>3];A[e+80>>3]=f;break q}c=v[a+28>>2];g=A[c+496>>3];d=A[e+88>>3]*g+A[c+552>>3];A[e+88>>3]=d;d=(q|0)!=1|w[i|0]!=32?d:d+A[c+560>>3];k=A[c+568>>3];f=g*A[e+80>>3];A[e+80>>3]=f;d=k*d;A[e+88>>3]=d}k=A[c+520>>3];r=A[c+512>>3];m=A[c+528>>3];p=A[c+504>>3];l=g*A[e+48>>3];A[e+48>>3]=l;g=g*A[e+56>>3];A[e+56>>3]=g;t=v[a+8>>2];u=d*p+f*k;d=d*r+f*m;Ub[v[v[t>>2]+248>>2]](t,c,o+A[c+600>>3],n+A[c+608>>3],u,d,p*g+k*l,r*g+m*l,v[e+140>>2],q,e+96|0,v[e+12>>2]);c=v[a+28>>2];A[c+600>>3]=A[c+600>>3]+u;A[c+608>>3]=A[c+608>>3]+d;i=i+q|0;j=j-q|0;if((j|0)>0){continue}break}break c}v[e+88>>2]=0;v[e+92>>2]=0;v[e+80>>2]=0;v[e+84>>2]=0;i=v[b>>2];if((i|0)<1){d=0}else{c=v[b+4>>2];while(1){t=Ub[v[v[h>>2]+16>>2]](h,c,i,e+140|0,e+96|0,8,e+12|0,e+72|0,e- -64|0,e+56|0,e+48|0)|0;f=A[e+72>>3]+A[e+88>>3];A[e+88>>3]=f;g=A[e+64>>3]+A[e+80>>3];A[e+80>>3]=g;q=(t|0)==1?(w[c|0]==32)+q|0:q;c=c+t|0;j=j+1|0;i=i-t|0;if((i|0)>0){continue}break}d=+(j|0)}h=v[a+28>>2];k=A[h+496>>3];c=e;r:{if(E){f=k*f;A[e+88>>3]=f;d=k*g+A[h+552>>3]*d+A[h+560>>3]*+(q|0);break r}f=(f*k+A[h+552>>3]*d+A[h+560>>3]*+(q|0))*A[h+568>>3];A[e+88>>3]=f;d=k*g}A[c+80>>3]=d;k=A[h+520>>3];g=A[h+512>>3];r=A[h+528>>3];m=A[h+504>>3];c=v[a+8>>2];Ub[v[v[c>>2]+252>>2]](c,h,b);c=v[a+28>>2];A[c+600>>3]=A[c+600>>3]+(f*m+d*k);A[c+608>>3]=A[c+608>>3]+(f*g+d*r)}c=v[a+8>>2];if(Ub[v[v[c>>2]+12>>2]](c)|0){c=v[a+8>>2];Ub[v[v[c>>2]+244>>2]](c,v[a+28>>2])}if(!F){c=v[a+8>>2];Ub[v[v[c>>2]+192>>2]](c,v[a+28>>2]);c=v[a+8>>2];Ub[v[v[c>>2]+264>>2]](c,v[a+28>>2]);c=v[a+28>>2];f=A[c+512>>3];r=A[c+528>>3];l=A[c+600>>3];p=A[c+608>>3];k=A[c+496>>3];g=A[c+504>>3];m=A[c+520>>3];d=D(k*g+m*0);A[e+72>>3]=d;g=D(g*0+k*m);A[e+88>>3]=g;m=G+n;n=n+p;h=m>n;p=o+H;o=o+l;i=p>o;if(d>g){A[e+88>>3]=d;g=d}d=D(k*f+r*0);A[e+64>>3]=d;f=D(f*0+k*r);A[e+80>>3]=f;l=g+g;k=(i?o:p)-l;if(d>f){A[e+80>>3]=d;f=d}f=f+f;d=(h?n:m)-f;g=(h?m:n)+f;r=A[c+56>>3];f=A[c+24>>3];o=(i?p:o)+l;p=f*o;l=A[c+40>>3];m=l*d;n=r+(p+m);u=f*k;f=r+(u+m);m=A[c+48>>3];x=A[c+16>>3];z=x*o;y=A[c+32>>3];o=y*d;d=m+(z+o);x=x*k;k=m+(x+o);s:{if(dk)){o=k;d=k;break s}o=k}t:{if(f>n){k=n;n=f;break t}if(!(fg){o=g;break v}if(dn){break w}}f=n}n=r+(u+p);d=m+(x+l);y:{z:{if(dg){break y}}d=g}A:{B:{if(k>n){k=n;break B}if(f>3]>3]=o}if(A[c+640>>3]>3]=k}if(A[c+648>>3]>d){A[c+648>>3]=d}if(A[c+656>>3]>n){A[c+656>>3]=n}c=v[a+28>>2];v[c+592>>2]=0;h=v[a+8>>2];Ub[v[v[h>>2]+168>>2]](h,c);h=Qb-16|0;Qb=h;c=v[a+8>>2];C:{if(!(Ub[v[v[c>>2]+28>>2]](c)|0)){break C}c=v[v[a+28>>2]+380>>2];if(!c){break C}i=-1;D:{E:{F:{j=v[c+4>>2];switch(j-1|0){case 1:break E;case 0:break F;default:break D}}SE(a,c,0,0,1);break C}RE(a,c,0,0,1);break C}q=v[a+108>>2];G:{if(!q){break G}q=v[q+4>>2];if(v[q+8>>2]==13){break G}i=v[q+16>>2];i=Ub[v[v[i>>2]+52>>2]](i)|0;j=v[c+4>>2]}v[h>>2]=j;kc(1,i,259197,h)}Qb=h+16|0;c=_k(v[a+28>>2]);v[a+28>>2]=c;h=v[a+8>>2];Ub[v[v[h>>2]+68>>2]](h,c);c=v[a+8>>2];Ub[v[v[c>>2]+196>>2]](c,v[a+28>>2])}v[a+24>>2]=v[a+24>>2]+B(v[b>>2],10)}Qb=e+144|0}function uaa(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;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0;l=Qb-560|0;Qb=l;v[l+548>>2]=k;v[l+552>>2]=b;v[l+96>>2]=5601;k=l+96|0;q=Mf(l+136|0,l+144|0,k);b=v[q>>2];v[l+132>>2]=b;v[l+128>>2]=b+400;r=ge(k);o=ge(l+80|0);m=ge(l- -64|0);n=ge(l+48|0);p=ge(l+32|0);v[299999]=0;ua(5613,c|0,d|0,l+120|0,l+116|0,l+112|0,r|0,o|0,m|0,n|0,l+28|0);b=v[299999];v[299999]=0;if((b|0)!=1){a:{v[j>>2]=v[i>>2];u=e&512;x=u>>>9|0;e=0;c=0;while(1){k=c;b:{c:{d:{e:{if((e|0)==4){break e}v[299999]=0;c=Q(5567,a|0,l+552|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}if(!c){break e}d=0;c=k;f:{g:{h:{i:{j:{switch(t[(l+120|0)+e|0]){case 1:if((e|0)==3){break c}v[299999]=0;c=S(5569,a|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}v[299999]=0;c=Y(5614,h|0,8192,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}if(c){v[299999]=0;U(5615,l+16|0,a|0,0);b=v[299999];v[299999]=0;if((b|0)!=1){b=v[l+16>>2];v[299999]=0;V(3155,p|0,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break i}}break a}v[f>>2]=v[f>>2]|4;a=0;break d;case 3:break h;case 0:break j;case 4:break f;case 2:break g;default:break b}}if((e|0)==3){break c}}while(1){v[299999]=0;c=Q(5567,a|0,l+552|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}if(!c){break c}v[299999]=0;c=S(5569,a|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}v[299999]=0;c=Y(5614,h|0,8192,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}if(!c){break c}v[299999]=0;U(5615,l+16|0,a|0,0);b=v[299999];v[299999]=0;if((b|0)!=1){b=v[l+16>>2];v[299999]=0;V(3155,p|0,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){continue}}break}break a}if(w[m+11|0]>>>7|0){b=v[m+4>>2]}else{b=w[m+11|0]}if(w[n+11|0]>>>7|0){c=v[n+4>>2]}else{c=w[n+11|0]}if((b|0)==(0-c|0)){break c}if(w[m+11|0]>>>7|0){b=v[m+4>>2]}else{b=w[m+11|0]}if(w[n+11|0]>>>7|0){c=v[n+4>>2]}else{c=w[n+11|0]}if(!(c?b:0)){if(w[m+11|0]>>>7|0){b=v[m+4>>2]}else{b=w[m+11|0]}if(b){v[299999]=0;c=S(5569,a|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}if(w[m+11|0]>>>7|0){b=v[m>>2]}else{b=m}if((c|0)==v[b>>2]){v[299999]=0;S(5571,a|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}b=m;c=b;if(w[b+11|0]>>>7|0){b=v[m+4>>2]}else{b=w[m+11|0]}c=b>>>0>1?c:k;break b}t[g|0]=1;break c}v[299999]=0;b=S(5569,a|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(w[n+11|0]>>>7|0){c=v[n>>2]}else{c=n}if(v[c>>2]!=(b|0)){break c}v[299999]=0;S(5571,a|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}t[g|0]=1;b=n;c=b;if(w[b+11|0]>>>7|0){b=v[n+4>>2]}else{b=w[n+11|0]}c=b>>>0>1?c:k;break b}v[299999]=0;c=S(5569,a|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}if(w[m+11|0]>>>7|0){b=v[m>>2]}else{b=m}if((c|0)==v[b>>2]){v[299999]=0;S(5571,a|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}b=m;c=b;if(w[b+11|0]>>>7|0){b=v[m+4>>2]}else{b=w[m+11|0]}c=b>>>0>1?c:k;break b}v[299999]=0;c=S(5569,a|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}if(w[n+11|0]>>>7|0){b=v[n>>2]}else{b=n}if((c|0)==v[b>>2]){v[299999]=0;S(5571,a|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}t[g|0]=1;b=n;c=b;if(w[b+11|0]>>>7|0){b=v[n+4>>2]}else{b=w[n+11|0]}c=b>>>0>1?c:k;break b}v[f>>2]=v[f>>2]|4;a=0;break d}if(!(e>>>0<2|k)){c=0;if(!((e|0)==2&w[l+123|0]!=0|x)){break b}}y=l,z=xi(o),v[y+8>>2]=z;v[l+16>>2]=v[l+8>>2];k:{if(!e|w[(e+l|0)+119|0]>1){break k}l:{while(1){y=l,z=En(o),v[y+8>>2]=z;if(v[l+16>>2]==v[l+8>>2]){break l}b=v[v[l+16>>2]>>2];v[299999]=0;c=Y(5614,h|0,8192,b|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){if(!c){break l}v[l+16>>2]=v[l+16>>2]+4;continue}break}break a}y=l,z=xi(o),v[y+8>>2]=z;if(w[p+11|0]>>>7|0){c=v[p+4>>2]}else{c=w[p+11|0]}b=v[l+16>>2]-v[l+8>>2]>>2;if(c>>>0>=b>>>0){y=l,z=En(p),v[y+8>>2]=z;d=dC(l+8|0,0-b|0);c=En(p);b=xi(o);v[299999]=0;c=UL(d,c,b);b=v[299999];v[299999]=0;if((b|0)==1){break a}if(c){break k}}y=l,z=xi(o),v[y>>2]=z;v[l+8>>2]=v[l>>2];v[l+16>>2]=v[l+8>>2]}v[l+8>>2]=v[l+16>>2];m:{while(1){y=l,z=En(o),v[y>>2]=z;if(v[l+8>>2]==v[l>>2]){break m}v[299999]=0;c=Q(5567,a|0,l+552|0)|0;b=v[299999];v[299999]=0;n:{if((b|0)==1){break n}if(!c){break m}v[299999]=0;c=S(5569,a|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break n}if((c|0)!=v[v[l+8>>2]>>2]){break m}v[299999]=0;S(5571,a|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}v[l+8>>2]=v[l+8>>2]+4;continue}break}break a}if(!u){break c}y=l,z=En(o),v[y>>2]=z;if(v[l+8>>2]==v[l>>2]){break c}v[f>>2]=v[f>>2]|4;a=0;break d}o:{while(1){p:{v[299999]=0;c=Q(5567,a|0,l+552|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break p}if(!c){break o}v[299999]=0;s=S(5569,a|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}v[299999]=0;c=Y(5614,h|0,2048,s|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}q:{if(c){b=v[j>>2];if((b|0)==v[l+548>>2]){v[299999]=0;U(5617,i|0,j|0,l+548|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[j>>2]}v[j>>2]=b+4;v[b>>2]=s;d=d+1|0;break q}if(w[r+11|0]>>>7|0){b=v[r+4>>2]}else{b=w[r+11|0]}if(!b|!d|(s|0)!=v[l+112>>2]){break o}c=v[l+132>>2];if((c|0)==v[l+128>>2]){v[299999]=0;U(5609,q|0,l+132|0,l+128|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}c=v[l+132>>2]}v[l+132>>2]=c+4;v[c>>2]=d;d=0}v[299999]=0;S(5571,a|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){continue}}break}break a}c=v[l+132>>2];if(!(!d|(c|0)==v[q>>2])){if(v[l+128>>2]==(c|0)){v[299999]=0;U(5609,q|0,l+132|0,l+128|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}c=v[l+132>>2]}v[l+132>>2]=c+4;v[c>>2]=d}r:{if(v[l+28>>2]<1){break r}v[299999]=0;c=Q(5568,a|0,l+552|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}s:{if(!c){v[299999]=0;c=S(5569,a|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}if((c|0)==v[l+116>>2]){break s}}v[f>>2]=v[f>>2]|4;a=0;break d}v[299999]=0;S(5571,a|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}while(1){if(v[l+28>>2]<1){break r}v[299999]=0;c=Q(5568,a|0,l+552|0)|0;b=v[299999];v[299999]=0;t:{if((b|0)==1){break t}u:{if(!c){v[299999]=0;c=S(5569,a|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break t}v[299999]=0;c=Y(5614,h|0,2048,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break t}if(c){break u}}v[f>>2]=v[f>>2]|4;a=0;break d}if(v[j>>2]==v[l+548>>2]){v[299999]=0;U(5617,i|0,j|0,l+548|0);b=v[299999];v[299999]=0;if((b|0)==1){break t}}v[299999]=0;c=S(5569,a|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break t}b=v[j>>2];v[j>>2]=b+4;v[b>>2]=c;v[299999]=0;v[l+28>>2]=v[l+28>>2]-1;S(5571,a|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){continue}}break}break a}c=k;if(v[i>>2]!=v[j>>2]){break b}v[f>>2]=v[f>>2]|4;a=0;break d}v:{if(!k){break v}c=1;while(1){if(w[k+11|0]>>>7|0){b=v[k+4>>2]}else{b=w[k+11|0]}if(b>>>0<=c>>>0){break v}v[299999]=0;d=Q(5568,a|0,l+552|0)|0;b=v[299999];v[299999]=0;w:{if((b|0)==1){break w}x:{if(!d){v[299999]=0;b=S(5569,a|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break w}if(w[k+11|0]>>>7|0){d=v[k>>2]}else{d=k}if(v[d+(c<<2)>>2]==(b|0)){break x}}v[f>>2]=v[f>>2]|4;a=0;break d}v[299999]=0;S(5571,a|0)|0;b=v[299999];v[299999]=0;c=c+1|0;if((b|0)!=1){continue}}break}break a}y:{if(v[q>>2]==v[l+132>>2]){break y}v[l+16>>2]=0;a=v[q>>2];v[299999]=0;Xg(r,a,v[l+132>>2],l+16|0);a=v[299999];v[299999]=0;if((a|0)!=1){if(!v[l+16>>2]){break y}v[f>>2]=v[f>>2]|4;a=0;break d}break a}a=1}le(p);le(n);le(m);le(o);Mc(r);ee(q);Qb=l+560|0;return a|0}c=k}e=e+1|0;continue}}}a=P()|0;O()|0;le(p);le(n);le(m);le(o);Mc(r);ee(q);T(a|0);L()}function KJ(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{c:{d:{switch(b|0){case 1:b=v[a+8>>2];f=12-b|0;e:{if((f|0)<=0){c=v[a+28>>2];break e}c=v[a+28>>2];d=v[a>>2];while(1){v[a+8>>2]=0;b=d<>2]=b;g=a;f:{g:{if((c|0)!=255){if(b&134217728){d=c+1|0;v[a+28>>2]=d;if((d|0)==255){v[a>>2]=b&134217727;b=v[a+24>>2];c=v[b+8>>2];h:{i:{if(c&7){break i}d=v[b+64>>2];if(!((d|0)<0|(d|0)>v[b+60>>2])){v[b+8>>2]=c|4;break i}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=b;b=v[b+24>>2];v[c+24>>2]=b+1;t[b|0]=255;break h}if((Fc(b,255)|0)!=-1){break h}}v[a+36>>2]=v[a+36>>2]|1}v[a+32>>2]=v[a+28>>2];b=v[a>>2];c=b>>>20&255;v[a+28>>2]=c;d=b&1048575;break g}j:{if((c|0)<-1){break j}b=v[a+24>>2];c=v[b+8>>2];k:{if(c&7){break k}e=v[b+64>>2];if(!((e|0)<0|(e|0)>v[b+60>>2])){v[b+8>>2]=c|4;break k}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=b;b=v[b+24>>2];v[c+24>>2]=b+1;t[b|0]=d;break j}if((Fc(b,d&255)|0)!=-1){break j}}v[a+36>>2]=v[a+36>>2]|1}v[a+32>>2]=v[a+28>>2];b=v[a>>2];c=b>>>19&255;v[a+28>>2]=c;d=b&524287;b=8;break f}l:{if((c|0)<0){break l}b=v[a+24>>2];d=v[b+8>>2];m:{if(d&7){break m}e=v[b+64>>2];if(!((e|0)<0|(e|0)>v[b+60>>2])){v[b+8>>2]=d|4;break m}v[b+4>>2]=v[b+4>>2]|32;d=v[b+28>>2];v[b+28>>2]=d-1;if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=b;b=v[b+24>>2];v[d+24>>2]=b+1;t[b|0]=c;break l}if((Fc(b,c&255)|0)!=-1){break l}}v[a+36>>2]=v[a+36>>2]|1}v[a+32>>2]=v[a+28>>2];b=v[a>>2];c=b>>>19&255;v[a+28>>2]=c;d=b&524287;b=8;break f}b=v[a+24>>2];c=v[b+8>>2];n:{o:{if(c&7){break o}d=v[b+64>>2];if(!((d|0)<0|(d|0)>v[b+60>>2])){v[b+8>>2]=c|4;break o}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=b;b=v[b+24>>2];v[c+24>>2]=b+1;t[b|0]=255;break n}if((Fc(b,255)|0)!=-1){break n}}v[a+36>>2]=v[a+36>>2]|1}v[a+32>>2]=v[a+28>>2];b=v[a>>2];c=b>>>20&255;v[a+28>>2]=c;d=b&1048575}b=7}v[g+8>>2]=b;v[a>>2]=d;f=f-b|0;if((f|0)>0){continue}break}}if((c|0)==255){break c}b=v[a>>2];if(b&134217728){d=c+1|0;v[a+28>>2]=d;if((d|0)==255){v[a>>2]=b&134217727;b=v[a+24>>2];c=v[b+8>>2];p:{q:{if(c&7){break q}d=v[b+64>>2];if(!((d|0)<0|(d|0)>v[b+60>>2])){v[b+8>>2]=c|4;break q}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=b;b=v[b+24>>2];v[c+24>>2]=b+1;t[b|0]=255;break p}if((Fc(b,255)|0)!=-1){break p}}v[a+36>>2]=v[a+36>>2]|1}v[a+8>>2]=7;v[a+32>>2]=v[a+28>>2];b=v[a>>2];v[a>>2]=b&1048575;v[a+28>>2]=b>>>20&255;return}r:{if((c|0)<-1){break r}b=v[a+24>>2];c=v[b+8>>2];s:{if(c&7){break s}e=v[b+64>>2];if(!((e|0)<0|(e|0)>v[b+60>>2])){v[b+8>>2]=c|4;break s}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=b;b=v[b+24>>2];v[c+24>>2]=b+1;t[b|0]=d;break r}if((Fc(b,d&255)|0)!=-1){break r}}v[a+36>>2]=v[a+36>>2]|1}break a}t:{if((c|0)<0){break t}b=v[a+24>>2];d=v[b+8>>2];u:{if(d&7){break u}e=v[b+64>>2];if(!((e|0)<0|(e|0)>v[b+60>>2])){v[b+8>>2]=d|4;break u}v[b+4>>2]=v[b+4>>2]|32;d=v[b+28>>2];v[b+28>>2]=d-1;if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=b;b=v[b+24>>2];v[d+24>>2]=b+1;t[b|0]=c;break t}if((Fc(b,c&255)|0)!=-1){break t}}v[a+36>>2]=v[a+36>>2]|1}break a;case 0:break d;default:break b}}c=v[a>>2];b=c|65535;c=(b>>>0>2]>>>0?b:b-32768|0)<>2];v[a>>2]=c;b=a;g=b;d=v[b+28>>2];v:{w:{if((d|0)!=255){if(c&134217728){e=d+1|0;v[a+28>>2]=e;if((e|0)==255){v[a>>2]=c&134217727;c=v[a+24>>2];d=v[c+8>>2];x:{y:{if(d&7){break y}e=v[c+64>>2];if(!((e|0)<0|(e|0)>v[c+60>>2])){v[c+8>>2]=d|4;break y}v[c+4>>2]=v[c+4>>2]|32;d=v[c+28>>2];v[c+28>>2]=d-1;if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=c;c=v[c+24>>2];v[b+24>>2]=c+1;t[c|0]=255;break x}if((Fc(c,255)|0)!=-1){break x}}v[a+36>>2]=v[a+36>>2]|1}v[a+32>>2]=v[a+28>>2];c=v[a>>2];d=c>>>20&255;v[a+28>>2]=d;c=c&1048575;break w}z:{if((d|0)<-1){break z}c=v[a+24>>2];d=v[c+8>>2];A:{if(d&7){break A}f=v[c+64>>2];if(!((f|0)<0|(f|0)>v[c+60>>2])){v[c+8>>2]=d|4;break A}v[c+4>>2]=v[c+4>>2]|32;d=v[c+28>>2];v[c+28>>2]=d-1;if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=c;c=v[c+24>>2];v[b+24>>2]=c+1;t[c|0]=e;break z}if((Fc(c,e&255)|0)!=-1){break z}}v[a+36>>2]=v[a+36>>2]|1}v[a+32>>2]=v[a+28>>2];c=v[a>>2];d=c>>>19&255;v[a+28>>2]=d;c=c&524287;e=8;break v}B:{if((d|0)<0){break B}c=v[a+24>>2];e=v[c+8>>2];C:{if(e&7){break C}f=v[c+64>>2];if(!((f|0)<0|(f|0)>v[c+60>>2])){v[c+8>>2]=e|4;break C}v[c+4>>2]=v[c+4>>2]|32;e=v[c+28>>2];v[c+28>>2]=e-1;if((e|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=c;c=v[c+24>>2];v[b+24>>2]=c+1;t[c|0]=d;break B}if((Fc(c,d&255)|0)!=-1){break B}}v[a+36>>2]=v[a+36>>2]|1}v[a+32>>2]=v[a+28>>2];c=v[a>>2];d=c>>>19&255;v[a+28>>2]=d;c=c&524287;e=8;break v}c=v[a+24>>2];d=v[c+8>>2];D:{E:{if(d&7){break E}e=v[c+64>>2];if(!((e|0)<0|(e|0)>v[c+60>>2])){v[c+8>>2]=d|4;break E}v[c+4>>2]=v[c+4>>2]|32;d=v[c+28>>2];v[c+28>>2]=d-1;if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=c;c=v[c+24>>2];v[b+24>>2]=c+1;t[c|0]=255;break D}if((Fc(c,255)|0)!=-1){break D}}v[a+36>>2]=v[a+36>>2]|1}v[a+32>>2]=v[a+28>>2];c=v[a>>2];d=c>>>20&255;v[a+28>>2]=d;c=c&1048575}e=7}v[g+8>>2]=e;b=c<>2]=b;e=a;F:{G:{if((d|0)!=255){if(b&134217728){c=d+1|0;v[a+28>>2]=c;if((c|0)==255){v[a>>2]=b&134217726;b=v[a+24>>2];c=v[b+8>>2];H:{I:{if(c&7){break I}d=v[b+64>>2];if(!((d|0)<0|(d|0)>v[b+60>>2])){v[b+8>>2]=c|4;break I}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=b;b=v[b+24>>2];v[c+24>>2]=b+1;t[b|0]=255;break H}if((Fc(b,255)|0)!=-1){break H}}v[a+36>>2]=v[a+36>>2]|1}v[a+32>>2]=v[a+28>>2];c=v[a>>2];b=c>>>20&255;v[a+28>>2]=b;c=c&1048575;break G}b=v[a+24>>2];d=v[b+8>>2];J:{K:{if(d&7){break K}f=v[b+64>>2];if(!((f|0)<0|(f|0)>v[b+60>>2])){v[b+8>>2]=d|4;break K}v[b+4>>2]=v[b+4>>2]|32;d=v[b+28>>2];v[b+28>>2]=d-1;if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=b;b=v[b+24>>2];v[d+24>>2]=b+1;t[b|0]=c;break J}if((Fc(b,c)|0)!=-1){break J}}v[a+36>>2]=v[a+36>>2]|1}v[a+32>>2]=v[a+28>>2];c=v[a>>2];b=c>>>19&255;v[a+28>>2]=b;c=c&524287;d=8;break F}b=v[a+24>>2];c=v[b+8>>2];L:{M:{if(c&7){break M}f=v[b+64>>2];if(!((f|0)<0|(f|0)>v[b+60>>2])){v[b+8>>2]=c|4;break M}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=b;b=v[b+24>>2];v[c+24>>2]=b+1;t[b|0]=d;break L}if((Fc(b,d)|0)!=-1){break L}}v[a+36>>2]=v[a+36>>2]|1}v[a+32>>2]=v[a+28>>2];c=v[a>>2];b=c>>>19&255;v[a+28>>2]=b;c=c&524287;d=8;break F}b=v[a+24>>2];c=v[b+8>>2];N:{O:{if(c&7){break O}d=v[b+64>>2];if(!((d|0)<0|(d|0)>v[b+60>>2])){v[b+8>>2]=c|4;break O}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=b;b=v[b+24>>2];v[c+24>>2]=b+1;t[b|0]=255;break N}if((Fc(b,255)|0)!=-1){break N}}v[a+36>>2]=v[a+36>>2]|1}v[a+32>>2]=v[a+28>>2];c=v[a>>2];b=c>>>20&255;v[a+28>>2]=b;c=c&1048575}d=7}v[e+8>>2]=d;v[a>>2]=c;if((b|0)==255){break c}c=v[a+24>>2];d=v[c+8>>2];P:{Q:{if(d&7){break Q}e=v[c+64>>2];if(!((e|0)<0|(e|0)>v[c+60>>2])){v[c+8>>2]=d|4;break Q}v[c+4>>2]=v[c+4>>2]|32;d=v[c+28>>2];v[c+28>>2]=d-1;if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;d=c;c=v[c+24>>2];v[d+24>>2]=c+1;t[c|0]=b;break P}if((Fc(c,b)|0)!=-1){break P}}v[a+36>>2]=v[a+36>>2]|1}v[a+8>>2]=8;v[a+32>>2]=v[a+28>>2];b=v[a>>2];v[a>>2]=b&524287;v[a+28>>2]=b>>>19&255}return}ia();L()}v[a+8>>2]=8;v[a+32>>2]=v[a+28>>2];b=v[a>>2];v[a>>2]=b&524287;v[a+28>>2]=b>>>19&255}function uib(a,b){a=a|0;b=b|0;var 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,u=0,x=0,z=0,A=0,C=0,D=0;n=Qb-128|0;Qb=n;d=jc(36);if(d){v[d>>2]=0;v[d+4>>2]=0;v[d+32>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+24>>2]=0;e=kB(a);a:{if(!e){Sc(4051,0);break a}g=8303;b:{if(v[e+8>>2]!=1783636e3){break b}g=12166;if(v[e+20>>2]!=218793738){break b}Vg(e);e=kB(a);if(!e){break a}g=14597;if(v[e+8>>2]!=1718909296){break b}Vg(e);c=kB(a);if(c){while(1){if(v[282952]>=1){v[n+16>>2]=v[v[c+4>>2]+4>>2];Sc(17213,n+16|0)}c:{d:{e:{f:{g:{h:{i:{e=v[c+8>>2];if((e|0)<=1668246641){if((e|0)==1651532643){break i}if((e|0)==1667523942){break h}if(v[d+16>>2]|(e|0)!=1668112752){break d}v[d+16>>2]=c;break c}if((e|0)<=1785737826){if((e|0)==1668246642){break f}if(v[d+8>>2]|(e|0)!=1768449138){break d}v[d+8>>2]=c;break c}if((e|0)==1885564018){break g}if((e|0)==1785737827){break e}break d}if(v[d+12>>2]){break d}v[d+12>>2]=c;break c}if(v[d+4>>2]){break d}v[d+4>>2]=c;break c}if(v[d>>2]){break d}v[d>>2]=c;break c}if(v[d+20>>2]){break d}v[d+20>>2]=c;break c}Vg(c);c=z2(a,b);v[d+24>>2]=c;if(!c){c=0;Sc(22188,0);break a}a=v[d+8>>2];if(!a){c=0;Sc(24052,0);break a}a=v[a+28>>2];if((a|0)!=v[c+16>>2]){Sc(26046,0);c=v[d+24>>2];a=v[c+16>>2]}if(!a){c=0;Sc(27762,0);break a}c=v[c+24>>2];b=v[c>>2];g=v[b+24>>2]&127;f=v[b+28>>2]<<7&128;e=0;j:{k:{if((a|0)!=1){e=1;l:{h=f|g;b=v[c+4>>2];if((h|0)==(v[b+28>>2]<<7&128|v[b+24>>2]&127)){e=2;while(1){b=e;if((b|0)==(a|0)){break l}e=b+1|0;i=v[c+(b<<2)>>2];if((h|0)==(v[i+28>>2]<<7&128|v[i+24>>2]&127)){continue}break}e=a>>>0>b>>>0}c=v[d+8>>2];if(w[c+32|0]!=255){break k}break j}e=a>>>0>b>>>0}c=v[d+8>>2];if(w[c+32|0]==(f|g-1)){break j}}Sc(29529,0);c=v[d+8>>2]}m:{n:{o:{p:{q:{if(w[c+33|0]==7){a=v[d+12>>2];r:{if(!a){break r}if(v[a+20>>2]!=v[v[d+24>>2]+16>>2]){Sc(26046,0)}if(e){a=v[d+24>>2];if(!v[a+16>>2]){break r}c=0;while(1){b=v[v[a+24>>2]+(c<<2)>>2];e=v[b+28>>2]<<7&128|v[b+24>>2]&127;b=w[v[v[d+12>>2]+24>>2]+c|0];if((e|0)!=(b+1&127|b&128)){Sc(29529,0);a=v[d+24>>2]}c=c+1|0;if(c>>>0>2]){continue}break}break r}Sc(32388,0)}b=v[d+20>>2];if(!b){c=0;Sc(34012,0);break a}s:{t:{switch(w[b+20|0]-1|0){case 0:c=v[d+24>>2];a=v[b+24>>2]-16|0;if(a>>>0<=2){a=v[(a<<2)+188640>>2]}else{a=16384}v[c+28>>2]=a;break s;case 1:break t;default:break s}}a=0;c=di(v[b+28>>2],v[b+32>>2]);u:{if(!c){break u}b=dK(c);if(!b){break u}Te(c);a=b}if(!a){break q}bK(a,n+24|0);v[n>>2]=v[n+40>>2];Sc(38129,n);e=v[d+24>>2];v:{w:{c=v[n+40>>2];if((c|0)!=1196573017){b=1024;if((c|0)==1380401696){break v}if((c|0)!=1497588338){break w}b=1280;break v}b=768;break v}b=16384}v[e+28>>2]=b;b=uB(a);v[v[d+24>>2]+32>>2]=b;if(!b){break p}Bm(a)}c=v[d+16>>2];if(c){b=v[d>>2];if(b){break o}Sc(40793,0);Vg(v[d+16>>2]);v[d+16>>2]=0}x:{if(v[d>>2]){b=0;Sc(41658,0);Vg(v[d>>2]);v[d>>2]=0;c=v[d+16>>2];if(c){break x}}e=v[v[d+24>>2]+16>>2];v[d+28>>2]=e;g=d+28|0;break m}e=v[c+20>>2];v[d+28>>2]=e;g=d+28|0;break n}c=0;Sc(30979,0);break a}X(34726,36387,294,188627);L()}X(38786,36387,299,188627);L()}e=v[c+20>>2];v[d+28>>2]=e;g=d+28|0}if(!e){e=0;break m}a=v[c+24>>2];f=v[v[d+24>>2]+16>>2];c=0;while(1){h=a+(c<<3)|0;if(f>>>0<=y[h>>2]){c=0;Sc(42494,0);break a}if(w[h+5|0]>=w[b+24|0]){c=0;Sc(43430,0);break a}c=c+1|0;if((e|0)!=(c|0)){continue}break}}a=jc(e<<2);v[d+32>>2]=a;if(!a){c=0;Sc(44241,0);break a}s=v[d+16>>2];y:{if(!s){if(!v[g>>2]){break y}c=0;while(1){v[a+(c<<2)>>2]=c;c=c+1|0;if(c>>>0>2]){continue}break}break y}if(!v[s+20>>2]){break y}o=v[d>>2];e=0;while(1){z:{A:{B:{f=v[s+24>>2]+(e<<3)|0;switch(w[f+4|0]){case 1:break A;case 0:break B;default:break z}}v[v[d+32>>2]+(e<<2)>>2]=e;break z}a=jc(v[o+20>>2]<<2);C:{if(!v[o+20>>2]){b=w[f+5|0];g=0;break C}h=w[o+24|0];b=w[f+5|0];i=v[o+28>>2];c=0;while(1){v[(c<<2)+a>>2]=v[i+(B(c,h)+b<<2)>>2];c=c+1|0;g=v[o+20>>2];if(c>>>0>>0){continue}break}}c=v[d+24>>2];p=c;b=w[v[o+32>>2]+b|0];b=b+1&127|b&128;x=v[c+16>>2];u=x;q=0;i=Qb-32|0;Qb=i;m=v[c+24>>2];c=v[f>>2];h=v[m+(c<<2)>>2];v[i>>2]=v[h>>2];v[i+4>>2]=v[h+4>>2];v[i+8>>2]=v[h+8>>2];v[i+12>>2]=v[h+12>>2];v[i+16>>2]=v[h+16>>2];f=v[h+20>>2];v[i+28>>2]=b>>>7;v[i+24>>2]=b&127;v[i+20>>2]=f;D:{if(Kq(p,u,i)){break D}if((c|0)>=(u|0)){c=c+1|0;h=v[v[p+24>>2]+(c<<2)>>2]}j=v[h+20>>2];if((j|0)>=1){b=v[h+16>>2];if((b|0)<1){break D}z=g-1|0;A=c<<2;while(1){r=0;if((b|0)>=1){while(1){E:{F:{k=v[v[p+24>>2]+A>>2];if((Df(v[k+32>>2],B(v[k+36>>2],B(v[k+16>>2],q)+r|0),0)|0)<0){break F}c=0;j=v[k+36>>2];if((j|0)>=1){while(1){b=v[k+32>>2];l=v[b+8>>2];if(l&7){break F}m=v[b+64>>2];if(!((m|0)<0|(m|0)>v[b+60>>2])){v[b+8>>2]=l|4;break F}l=v[b+28>>2];v[b+28>>2]=l-1;G:{if((l|0)>=1){v[b+60>>2]=v[b+60>>2]+1;m=b;b=v[b+24>>2];v[m+24>>2]=b+1;b=w[b|0];break G}b=Hc(b,1);if((b|0)==-1){break F}}c=b&255|c<<8;b=(j|0)>1;j=j-1|0;if(b){continue}break}}b=c;c=v[k+24>>2];j=1<>2]?b-(j&0-(b>>>c-1&1))|0:b;if((b|0)<=-1){break F}b=(b|0)<(g|0)?b:z;break E}b=0}j=v[(b<<2)+a>>2];f=v[v[p+24>>2]+(u<<2)>>2];H:{if((Df(v[f+32>>2],B(v[f+36>>2],B(v[f+16>>2],q)+r|0),0)|0)<0){break H}c=v[f+36>>2];if((c|0)<1){break H}b=v[f+32>>2];k=v[b+8>>2];if(k&7){break H}l=v[f+24>>2];l=j+(v[f+28>>2]?1<>31:0)&(-1<>>(c<<3)-8|0;while(1){m=v[b+64>>2];if(!((m|0)<0|v[b+60>>2]<(m|0))){v[b+8>>2]=k|4;break H}v[b+4>>2]=v[b+4>>2]|32;k=v[b+28>>2];v[b+28>>2]=k-1;I:{if((k|0)>=1){v[b+60>>2]=v[b+60>>2]+1;m=b;b=v[b+24>>2];v[m+24>>2]=b+1;t[b|0]=j;if((c|0)>1){break I}break H}if((Fc(b,j&255)|0)==-1|(c|0)<2){break H}}l=l<<8;j=l>>>(v[f+36>>2]<<3)-8|0;c=c-1|0;b=v[f+32>>2];k=v[b+8>>2];if(!(k&7)){continue}break}}b=v[h+16>>2];r=r+1|0;if((b|0)>(r|0)){continue}break}j=v[h+20>>2]}q=q+1|0;if((q|0)<(j|0)){continue}break}}}Qb=i+32|0;v[v[d+32>>2]+(e<<2)>>2]=x;dc(a)}e=e+1|0;if(e>>>0>2]){continue}break}}c=v[d+24>>2];a=v[c+16>>2];J:{if(!a){break J}h=a&3;b=v[c+24>>2];e=0;if(a-1>>>0>=3){g=a&-4;while(1){f=e<<2;v[v[f+b>>2]+40>>2]=65536;v[v[b+(f|4)>>2]+40>>2]=65536;v[v[b+(f|8)>>2]+40>>2]=65536;v[v[b+(f|12)>>2]+40>>2]=65536;e=e+4|0;g=g-4|0;if(g){continue}break}}if(!h){break J}while(1){v[v[b+(e<<2)>>2]+40>>2]=65536;e=e+1|0;h=h-1|0;if(h){continue}break}}b=v[d+28>>2];f=v[d+4>>2];K:{if(f){if(!b){break K}h=v[d+32>>2];i=v[c+24>>2];o=v[c+28>>2];e=0;while(1){g=v[f+24>>2]+B(e,12)|0;C=v[i+(v[h+(v[g>>2]<<2)>>2]<<2)>>2],D=Q2(o,v[g+4>>2],v[g+8>>2]),v[C+40>>2]=D;e=e+1|0;if((b|0)!=(e|0)){continue}break}break K}if(!b){break K}g=v[d+32>>2];f=v[c+24>>2];h=v[c+28>>2];e=0;while(1){p=v[f+(v[g+(e<<2)>>2]<<2)>>2];e=e+1|0;C=p,D=Q2(h,0,e),v[C+40>>2]=D;if((b|0)!=(e|0)){continue}break}}L:{if(a){while(1){a=a-1|0;if(v[v[v[c+24>>2]+(a<<2)>>2]+40>>2]==65536&v[c+16>>2]>(a|0)){b=v[v[c+24>>2]+(a<<2)>>2];e=v[b+32>>2];if(e){Te(e)}dc(b);e=c;b=v[c+16>>2];if((b|0)>(a|0)){g=v[c+24>>2]+(a<<2)|0;Wd(g,g+4|0,b+(a^-1)<<2);b=v[c+16>>2]}v[e+16>>2]=b-1;at(c)}c=v[d+24>>2];if(a){continue}break}if(v[c+16>>2]){break L}}c=0;Sc(27762,0);break a}v[d+24>>2]=0;break a}Vg(c)}c=kB(a);if(c){continue}break}}c=0;Sc(19552,0);break a}Sc(g,0);Vg(e)}a=v[d+8>>2];if(a){Vg(a)}a=v[d+12>>2];if(a){Vg(a)}a=v[d+4>>2];if(a){Vg(a)}a=v[d>>2];if(a){Vg(a)}a=v[d+24>>2];if(a){Wg(a)}a=v[d+16>>2];if(a){Vg(a)}a=v[d+20>>2];if(a){Vg(a)}a=v[d+32>>2];if(a){dc(a)}dc(d)}Qb=n+128|0;return c|0}function K5(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;l=Qb-16|0;Qb=l;i=v[a+584>>2];if(!w[i+206|0]){OK(a)}a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{if(!w[i+392|0]){e=v[a+584>>2];if(w[e+392|0]){break p}g=v[a+56>>2];v[e+172>>2]=g;c=v[a+60>>2];v[e+176>>2]=c;k=e;q:{if(w[a+13|0]&4){g=v[a+68>>2];d=v[a+72>>2];f=(c+d|0)-1|0;j=f-((f>>>0)%(d>>>0)|0)|0;break q}d=v[a+100>>2];j=c}v[k+188>>2]=j;v[e+184>>2]=d;v[e+180>>2]=g;f=x[a+98>>1];t[e+192|0]=f;r:{s:{t:{u:{f=f&255;switch(f-1|0){case 2:break s;case 0:break u;default:break t}}u[e+208>>1]=257;t[e+193|0]=0;t[e+194|0]=1;break r}a=v[a+628>>2];v[l>>2]=f;zc(a,87504,60464,l);e=0;break c}t[e+193|0]=0;if(x[a+138>>1]==1){t[e+194|0]=3;break r}t[e+194|0]=1}if(c>>>0>d>>>0){f=w[e+209|0]<<3;c=(d>>>0)/(f>>>0)|0;if((B(c,f)|0)!=(d|0)){e=0;zc(v[a+628>>2],87504,60713,0);break c}f=w[e+208|0]<<3;u[e+300>>1]=B(c,((f+g|0)-1>>>0)/(f>>>0)|0)}if(!NK(a)){e=0;break c}t[e+332|0]=1;t[e+392|0]=1;c=v[e+1128>>2];v[e+336>>2]=v[e+1124>>2];v[e+340>>2]=c;c=x[e+1148>>1];v[e+344>>2]=v[e+1136>>2]-c;v[e+348>>2]=c+v[e+1144>>2]}v:{if(w[(B(b,20)+i|0)+332|0]){break v}if(!b){break o}if(b>>>0>=3){break n}c=v[a+584>>2];if(!w[c+332|0]){break m}if(w[(c+B(b,20)|0)+332|0]){break l}e=b;while(1){e=e-1|0;f=e&255;if(!w[(c+B(f,20)|0)+332|0]){continue}break}t[c+193|0]=e;f=c+B(f,20)|0;v[c+1124>>2]=v[f+336>>2];v[c+1128>>2]=v[f+340>>2];h=v[f+344>>2];d=0;t[c+1140|0]=0;v[c+1136>>2]=h;f=v[f+348>>2];v[c+1152>>2]=0;u[c+1148>>1]=0;v[c+1144>>2]=f;if((e&255)>>>0>=b>>>0){break v}while(1){if(!(d&65535)){if(!fj(c)){e=0;break c}d=x[c+1148>>1];if(!d){break b}}e=v[c+1152>>2];f=w[e|0];d=d-1|0;u[c+1148>>1]=d;e=e+1|0;v[c+1152>>2]=e;if((f|0)!=255){continue}while(1){if(!(d&65535)){if(!fj(c)){e=0;break c}d=x[c+1148>>1];if(!d){break b}e=v[c+1152>>2]}f=w[e|0];d=d-1|0;u[c+1148>>1]=d;e=e+1|0;v[c+1152>>2]=e;if((f|0)==255){continue}break}if((f|0)!=218){continue}t[c+193|0]=w[c+193|0]+1;if(!MK(a)){e=0;break c}f=w[c+193|0];e=c+B(f,20)|0;t[e+332|0]=1;v[e+336>>2]=v[c+1124>>2];v[e+340>>2]=v[c+1128>>2];d=x[c+1148>>1];v[e+344>>2]=v[c+1136>>2]-d;v[e+348>>2]=v[c+1144>>2]+d;if(b>>>0>f>>>0){continue}break}}n=v[(w[a+13|0]&4?504:480)+a>>2];if(w[i+393|0]){if(x[i+394>>1]==(b|0)){c=v[i+396>>2];if(n>>>0>=c>>>0){break d}}if(w[i+400|0]){c=v[a+584>>2];if(!w[c+400|0]){break k}e=c+536|0;f=v[e+4>>2];if(f){Ub[v[f+40>>2]](e)}v[e+20>>2]=0;v[e+4>>2]=0;t[c+400|0]=0}t[i+393|0]=0}u[i+394>>1]=b;t[i+193|0]=b;v[i+396>>2]=B(v[a+176>>2],b);w:{x:{if(!w[i+1140|0]){d=v[(B(b,20)+i|0)+344>>2];break x}d=v[(B(b,20)+i|0)+344>>2];if((d|0)==(v[i+1136>>2]-x[i+1148>>1]|0)){break w}}b=B(b,20)+i|0;v[i+1124>>2]=v[b+336>>2];e=v[b+340>>2];t[i+1140|0]=0;v[i+1136>>2]=d;v[i+1128>>2]=e;b=v[b+348>>2];v[i+1152>>2]=0;u[i+1148>>1]=0;v[i+1144>>2]=b}c=v[a+584>>2];if(w[c+400|0]){break j}e=0;t[c+302|0]=0;v[c+3204>>2]=0;b=c+404|0;Ko(b);v[c+548>>2]=a;v[c+536>>2]=b;v[c+404>>2]=509;v[c+412>>2]=510;k=c+536|0;j=k;g=0;b=jc(40);v[b>>2]=0;b=Ue(c+4|0,1,b,4);m=O()|0;d=0;y:{while(1){if(d){break y}v[299999]=0;U(16,j|0,80,488);d=v[299999];v[299999]=0;f=-1;z:{if(!d){break z}h=v[3e5];if(!h){break z}f=sc(v[d>>2],b,m);if(!f){break a}_(h|0)}d=O()|0;if((f|0)==1){continue}break}g=1}dc(b);if(!g){break c}t[c+400|0]=1;v[c+1048>>2]=511;v[c+1044>>2]=512;v[c+1040>>2]=513;v[c+1036>>2]=514;v[c+1032>>2]=515;v[c+1028>>2]=0;v[c+560>>2]=c+1024;g=0;b=jc(40);v[b>>2]=0;b=Ue(c+4|0,1,b,4);j=O()|0;d=0;A:{while(1){if(d){break A}v[299999]=0;Q(17,k|0,1)|0;d=v[299999];v[299999]=0;f=-1;B:{if(!d){break B}h=v[3e5];if(!h){break B}f=sc(v[d>>2],b,j);if(!f){break a}_(h|0)}d=O()|0;if((f|0)==1){continue}break}g=1}dc(b);if(!g){break c}b=w[c+194|0];if(!(w[c+210|0]|b>>>0<2)){t[c+401|0]=0;v[c+612>>2]=0;v[c+604>>2]=1;if(w[c+1052|0]){break e}if(v[c+1084>>2]){break i}if(v[c+1104>>2]){break h}v[c+1068>>2]=8;f=w[c+209|0]<<3;v[c+1060>>2]=f;h=w[c+208|0];b=h<<3;d=(b+v[c+180>>2]|0)-1|0;b=d-((d>>>0)%(b>>>0)|0)|0;v[c+1056>>2]=b;f=B(b,f);v[c+1072>>2]=f;b=(b>>>0)/(h>>>0)|0;v[c+1064>>2]=b;v[c+1076>>2]=b<<3;b=f+(b<<4)|0;v[c+1080>>2]=b;b=jc(b);v[c+1084>>2]=b;if(!b){zc(v[a+628>>2],87584,48831,0);break c}v[c+1088>>2]=b;b=b+v[c+1072>>2]|0;v[c+1092>>2]=b;v[c+1096>>2]=b+v[c+1076>>2];b=(v[c+1060>>2]+(v[c+1068>>2]<<1)|0)+3|0;v[c+1100>>2]=b;b=jc(b<<2);v[c+1104>>2]=b;if(!b){zc(v[a+628>>2],87584,48831,0);break c}d=b+12|0;v[b>>2]=d;h=v[c+1060>>2];f=h<<2;v[b+4>>2]=(f+v[c+1104>>2]|0)+12;j=v[c+1068>>2];v[b+8>>2]=((f+v[c+1104>>2]|0)+(j<<2)|0)+12;if(!h){break f}f=h&3;b=v[c+1056>>2];if(h-1>>>0<3){g=0;break g}h=h&-4;g=0;while(1){v[d>>2]=v[c+1088>>2]+B(b,g);v[d+4>>2]=v[c+1088>>2]+B(b,g|1);v[d+8>>2]=v[c+1088>>2]+B(b,g|2);v[d+12>>2]=v[c+1088>>2]+B(b,g|3);g=g+4|0;d=d+16|0;h=h-4|0;if(h){continue}break}break g}t[c+401|0]=1;v[c+576>>2]=0;v[c+580>>2]=0;v[c+1120>>2]=v[c+184>>2];v[c+1116>>2]=B(b,v[c+180>>2]);break e}X(60220,7087,994,87504);L()}X(60998,7087,1055,87524);L()}X(61204,7087,1056,87524);L()}X(61382,7087,1057,87524);L()}X(61539,7087,1058,87524);L()}X(61687,7087,1196,87546);L()}X(61849,7087,1107,87584);L()}X(62055,7087,1136,87584);L()}X(62261,7087,1137,87584);L()}if(!f){break f}while(1){v[d>>2]=v[c+1088>>2]+B(b,g);g=g+1|0;d=d+4|0;f=f-1|0;if(f){continue}break}}C:{if(!j){break C}f=j&3;g=v[c+1064>>2];m=j-1|0;D:{if(m>>>0<3){b=0;break D}h=j&-4;b=0;while(1){v[d>>2]=v[c+1092>>2]+B(b,g);v[d+4>>2]=v[c+1092>>2]+B(g,b|1);v[d+8>>2]=v[c+1092>>2]+B(g,b|2);v[d+12>>2]=v[c+1092>>2]+B(g,b|3);b=b+4|0;d=d+16|0;h=h-4|0;if(h){continue}break}}if(f){while(1){v[d>>2]=v[c+1092>>2]+B(b,g);b=b+1|0;d=d+4|0;f=f-1|0;if(f){continue}break}}f=j&3;b=0;if(m>>>0>=3){h=j&-4;while(1){v[d>>2]=v[c+1096>>2]+B(b,g);v[d+4>>2]=v[c+1096>>2]+B(g,b|1);v[d+8>>2]=v[c+1096>>2]+B(g,b|2);v[d+12>>2]=v[c+1096>>2]+B(g,b|3);b=b+4|0;d=d+16|0;h=h-4|0;if(h){continue}break}}if(!f){break C}while(1){v[d>>2]=v[c+1096>>2]+B(b,g);b=b+1|0;d=d+4|0;f=f-1|0;if(f){continue}break}}v[c+1112>>2]=0;t[c+1052|0]=1;b=w[c+208|0];h=((b+v[c+180>>2]|0)-1>>>0)/(b>>>0)|0;v[c+1108>>2]=h;f=w[c+209|0];v[c+1120>>2]=((f+v[c+184>>2]|0)-1>>>0)/(f>>>0);v[c+1116>>2]=B(h,B(b,f)+2|0)}g=0;b=jc(40);v[b>>2]=0;b=Ue(c+4|0,1,b,4);j=O()|0;d=0;E:{while(1){if(d){break E}v[299999]=0;S(22,k|0)|0;d=v[299999];v[299999]=0;f=-1;F:{if(!d){break F}h=v[3e5];if(!h){break F}f=sc(v[d>>2],b,j);if(!f){break a}_(h|0)}d=O()|0;if((f|0)==1){continue}break}g=1}dc(b);if(!g){break c}t[c+393|0]=1;c=v[i+396>>2]}e=1;if(c>>>0>=n>>>0){break c}while(1){b=v[a+584>>2];G:{H:{if(!w[i+401|0]){e=v[b+1068>>2];d=v[b+1120>>2];c=v[b+1112>>2];if(c){f=e-c|0;if(f>>>0>=d>>>0){c=c+d|0;d=(c|0)==(e|0)?0:c;break H}v[b+1112>>2]=0;d=d-f|0}c=b+536|0;if(d>>>0>=e>>>0){while(1){if(!zB(b,c,v[b+1104>>2],w[b+209|0]<<3)){e=0;break c}e=v[b+1068>>2];d=d-e|0;if(d>>>0>=e>>>0){continue}break}}if(!d){break G}if(zB(b,c,v[b+1104>>2],w[b+209|0]<<3)){break H}e=0;break c}I:{if(v[b+5256>>2]){break I}e=jc(v[b+1116>>2]);v[b+5256>>2]=e;if(e){break I}e=0;zc(v[a+628>>2],87696,48831,0);break c}if(!v[b+1120>>2]){break G}c=b+5256|0;f=b+536|0;e=0;d=0;while(1){if(!LK(b,f,c)){break c}d=d+1|0;if(d>>>0>2]){continue}break}break G}v[b+1112>>2]=d}e=1;b=v[i+396>>2]+1|0;v[i+396>>2]=b;if(b>>>0>>0){continue}break}}Qb=l+16|0;return e|0}X(43294,7087,1949,87085);L()}dc(b);sd(d,h);L()}function U5(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,x=0,y=0,z=0;j=Qb-256|0;Qb=j;h=v[a+608>>2];i=v[a+604>>2];y=1;p=v[a+584>>2];u=v[p+72>>2];f=v[p+68>>2];m=v[p+64>>2];a:{b:{c:{d:{e:{if((c|0)<1){b=i}else{s=h+i|0;t=v[p+60>>2];k=v[p+84>>2];r=v[p+88>>2];o=v[p+12>>2];z=(o|0)<1;while(1){f:{if(z){e=0;g=r;break f}h=k+4|0;l=v[k>>2];n=0;g=r;e=0;q=0;g:{h:{i:{j:{k:{l:{m:{n:{while(1){k=e;d=f;o:{if((f|0)>6){break o}if(i>>>0>=s>>>0){d=7;if(f){break o}break d}m=w[w[i|0]+t|0]<>>f|0;f=d-f|0;p:{q:{r:{s:{t:{switch(w[e|0]-1|0){case 0:u:{if((g|0)==(r|0)){d=h;break u}if((k|0)<(l|0)){d=h;break u}d=h;if((l|0)>=(o|0)){break u}while(1){d=h+8|0;l=v[h+4>>2]+(v[h>>2]+l|0)|0;if((l|0)>(k|0)){break u}h=d;if((l|0)<(o|0)){continue}break}}e=v[d>>2]+l|0;q=e+(n+q|0)|0;h=d+8|0;l=v[d+4>>2]+e|0;break p;case 1:if(!(g-r&4)){break r}while(1){v:{if((f|0)>12){d=f;break v}if(i>>>0>=s>>>0){d=13;if(f){break v}break d}n=f+8|0;e=i+1|0;m=w[w[i|0]+t|0]<4){d=n;i=e;break v}d=13;if(e>>>0>=s>>>0){i=e;break v}d=f+16|0;m=w[w[i+1|0]+t|0]<>>f|0;f=d-f|0;d=w[e|0];if(d-10>>>0>=2){if((d|0)!=8){break h}e=v[e+4>>2];v[g>>2]=e+q;d=g+4|0;k=e+k|0;q=0;while(1){w:{if((f|0)>11){n=f;break w}if(i>>>0>=s>>>0){n=12;if(f){break w}g=d;break d}x=f+8|0;e=i+1|0;m=w[w[i|0]+t|0]<3){n=x;i=e;break w}n=12;if(e>>>0>=s>>>0){i=e;break w}n=f+16|0;m=w[w[i+1|0]+t|0]<>>f|0;f=n-f|0;x:{switch(w[e|0]-7|0){case 2:case 4:e=v[e+4>>2];q=e+q|0;k=e+k|0;continue;case 0:break x;default:break n}}break}n=d;d=v[e+4>>2];v[n>>2]=d+q;e=d+k|0;break q}else{d=v[e+4>>2];q=d+q|0;k=d+k|0;continue}};case 5:v[g>>2]=o-k;d=v[a+12>>2]&1024;h=v[(d?504:480)+a>>2];e=v[a+628>>2];l=v[a>>2];n=v[p+108>>2];v[j+208>>2]=k;v[j+204>>2]=h;v[j+200>>2]=d?56103:56298;v[j+196>>2]=n;v[j+192>>2]=l;zc(e,86806,58059,j+192|0);g=g+4|0;break g;case 11:v[g>>2]=o-k;g=g+4|0;y:{if((f|0)>3){h=f;break y}if(i>>>0>=s>>>0){h=4;if(!f){break d}break y}h=f+8|0;m=w[w[i|0]+t|0]<>2]&1024;f=v[(d?504:480)+a>>2];e=v[a+628>>2];l=v[a>>2];n=v[p+108>>2];v[j+240>>2]=k;v[j+236>>2]=f;v[j+232>>2]=d?56103:56298;v[j+228>>2]=n;v[j+224>>2]=l;zc(e,86806,55737,j+224|0)}m=m>>>4|0;f=h-4|0;u=1;break g;case 4:z:{if((g|0)==(r|0)){d=h;break z}if((k|0)<(l|0)){d=h;break z}d=h;if((l|0)>=(o|0)){break z}while(1){d=h+8|0;l=v[h+4>>2]+(v[h>>2]+l|0)|0;if((l|0)>(k|0)){break z}h=d;if((l|0)<(o|0)){continue}break}}h=(l+n|0)-v[e+4>>2]|0;v[g>>2]=h+q;e=h+k|0;h=d-4|0;l=l-v[h>>2]|0;g=g+4|0;break s;case 3:A:{if((g|0)==(r|0)){d=h;break A}if((k|0)<(l|0)){d=h;break A}d=h;if((l|0)>=(o|0)){break A}while(1){d=h+8|0;l=v[h+4>>2]+(v[h>>2]+l|0)|0;if((l|0)>(k|0)){break A}h=d;if((l|0)<(o|0)){continue}break}}e=v[e+4>>2];v[g>>2]=e+((n+q|0)+l|0);h=d+4|0;e=e+l|0;l=v[d>>2]+l|0;g=g+4|0;break s;case 2:break t;default:break k}}B:{if(!((g|0)==(r|0)|(k|0)<(l|0))){d=h;e=l;if((o|0)<=(e|0)){break B}while(1){d=h+8|0;e=v[h+4>>2]+(v[h>>2]+e|0)|0;if((k|0)<(e|0)){break B}h=d;if((e|0)<(o|0)){continue}break}break B}e=l;d=h}v[g>>2]=(n+q|0)+e;h=d+4|0;l=v[d>>2]+e|0;g=g+4|0}q=0;break p}while(1){C:{if((f|0)>11){d=f;break C}if(i>>>0>=s>>>0){d=12;if(!f){break d}break C}n=f+8|0;e=i+1|0;m=w[w[i|0]+t|0]<3){d=n;i=e;break C}d=12;if(e>>>0>=s>>>0){i=e;break C}d=f+16|0;m=w[w[i+1|0]+t|0]<>>f|0;f=d-f|0;d=g;D:{switch(w[e|0]-7|0){case 2:case 4:d=v[e+4>>2];q=d+q|0;k=d+k|0;continue;case 0:break D;default:break n}}break}d=v[e+4>>2];v[g>>2]=d+q;e=g+4|0;k=d+k|0;q=0;while(1){E:{if((f|0)>12){d=f;break E}if(i>>>0>=s>>>0){d=13;if(f){break E}g=e;break d}x=f+8|0;n=i+1|0;m=w[w[i|0]+t|0]<4){d=x;i=n;break E}d=13;if(n>>>0>=s>>>0){i=n;break E}d=f+16|0;m=w[w[i+1|0]+t|0]<>>f|0;f=d-f|0;d=w[n|0];if(d-10>>>0>=2){if((d|0)!=8){g=e;break h}d=v[n+4>>2];v[e>>2]=d+q;e=d+k|0}else{d=v[n+4>>2];q=d+q|0;k=d+k|0;continue}break}}q=0;g=g+8|0;if((r|0)==(g|0)){g=r;break p}if((e|0)<(l|0)|(l|0)>=(o|0)){break p}while(1){d=h+8|0;l=v[h+4>>2]+(v[h>>2]+l|0)|0;if((l|0)>(e|0)){h=d;break p}h=d;if((l|0)<(o|0)){continue}break}}n=0-e|0;if((e|0)<(o|0)){continue}break}if(!q){break f}if((e+q|0)>=(o|0)){break i}if((f|0)<=0){break m}h=f;d=i;break l}h=v[a+12>>2]&1024;g=v[(h?504:480)+a>>2];e=v[a+628>>2];l=v[a>>2];n=v[p+108>>2];v[j+144>>2]=k;v[j+140>>2]=g;v[j+136>>2]=h?56103:56298;v[j+132>>2]=n;v[j+128>>2]=l;zc(e,86806,55737,j+128|0);g=d;break g}if(i>>>0>=s>>>0){h=1;d=i;if(f){break l}k=e;break d}h=f+8|0;m=w[w[i|0]+t|0]<>2]&1024;h=v[(d?504:480)+a>>2];e=v[a+628>>2];l=v[a>>2];n=v[p+108>>2];v[j+48>>2]=k;v[j+44>>2]=h;v[j+40>>2]=d?56103:56298;v[j+36>>2]=n;v[j+32>>2]=l;zc(e,86806,55737,j+32|0);break g}m=m>>>1|0;f=h-1|0}v[g>>2]=q;g=g+4|0;break f}d=v[a+12>>2]&1024;h=v[(d?504:480)+a>>2];e=v[a+628>>2];l=v[a>>2];n=v[p+108>>2];v[j+176>>2]=k;v[j+172>>2]=h;v[j+168>>2]=d?56103:56298;v[j+164>>2]=n;v[j+160>>2]=l;zc(e,86806,55737,j+160|0)}if(q){v[g>>2]=q;g=g+4|0}e=k}F:{if((e|0)==(o|0)){break F}d=v[a+12>>2]&1024;h=v[(d?504:480)+a>>2];k=v[a+628>>2];l=v[a>>2];n=v[p+108>>2];v[j+24>>2]=o;v[j+20>>2]=e;v[j+16>>2]=h;v[j+12>>2]=d?56103:56298;v[j+8>>2]=n;v[j+4>>2]=e>>>0>>0?57394:57552;v[j>>2]=l;Ld(k,86806,57124,j);h=(e|0)>(o|0);G:{if((e|0)<=(o|0)|g>>>0<=r>>>0){break G}while(1){g=g-4|0;e=e-v[g>>2]|0;h=(o|0)<(e|0);if((e|0)<=(o|0)){break G}if(g>>>0>r>>>0){continue}break}}if((e|0)<(o|0)){if(g-r&4){v[g>>2]=0;g=g+4|0}v[g>>2]=o-((e|0)>0?e:0);g=g+4|0;break F}if(!h){break F}v[g+4>>2]=0;v[g>>2]=o;g=g+8|0}if(u){break e}Ub[v[p+76>>2]](b,r,g,o);u=0;v[g>>2]=0;k=v[p+88>>2];r=v[p+84>>2];v[p+88>>2]=r;v[p+84>>2]=k;v[p+108>>2]=v[p+108>>2]+1;d=v[p+8>>2];b=d+b|0;c=c-d|0;if((c|0)>0){continue}break}h=v[a+608>>2];b=v[a+604>>2]}v[p+72>>2]=u;v[p+64>>2]=m;v[p+68>>2]=f;v[a+604>>2]=i;v[a+608>>2]=(b-i|0)+h;break a}if((f|0)>12){break b}break c}c=v[a+12>>2]&1024;d=v[(c?504:480)+a>>2];h=v[a+628>>2];f=v[a>>2];e=v[p+108>>2];v[j+112>>2]=k;v[j+108>>2]=d;v[j+104>>2]=c?56103:56298;v[j+100>>2]=e;v[j+96>>2]=f;Ld(h,86806,56754,j+96|0);if(q){v[g>>2]=q;g=g+4|0}f=0;if((k|0)==(o|0)){break c}c=v[a+12>>2]&1024;d=v[(c?504:480)+a>>2];h=v[a+628>>2];e=v[a>>2];l=v[p+108>>2];v[j+88>>2]=o;v[j+84>>2]=k;v[j+80>>2]=d;v[j+76>>2]=c?56103:56298;v[j+72>>2]=l;v[j+68>>2]=k>>>0>>0?57394:57552;v[j+64>>2]=e;Ld(h,86806,57124,j- -64|0);h=(k|0)>(o|0);H:{if((k|0)<=(o|0)|g>>>0<=r>>>0){break H}while(1){g=g-4|0;k=k-v[g>>2]|0;h=(o|0)<(k|0);if((k|0)<=(o|0)){break H}if(g>>>0>r>>>0){continue}break}}if((k|0)<(o|0)){if(g-r&4){v[g>>2]=0;g=g+4|0}v[g>>2]=o-((k|0)>0?k:0);g=g+4|0;break c}if(!h){break c}v[g+4>>2]=0;v[g>>2]=o;g=g+8|0}if(i>>>0>=s>>>0){f=f?13:0;break b}d=f+8|0;c=i+1|0;m=w[w[i|0]+t|0]<4){f=d;i=c;break b}if(c>>>0>=s>>>0){f=13;i=c;break b}f=f+16|0;m=w[w[i+1|0]+t|0]<>2]](b,r,g,o);v[p+72>>2]=u;v[p+64>>2]=m>>>13;v[p+68>>2]=f-13;b=v[a+604>>2];v[a+604>>2]=i;v[a+608>>2]=v[a+608>>2]+(b-i|0);y=v[p+108>>2]?1:-1}Qb=j+256|0;return y|0}function Bga(a,b){a=a|0;b=C(b);var c=C(0),d=C(0),e=0,f=C(0),g=0,h=0,i=0,k=0,m=0,n=0,o=C(0),r=0,s=0,t=0,w=0,x=0,y=0,A=0,B=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,_=C(0),$=0,aa=0,ba=0,ca=0,da=0,ea=0;m=Qb+-64|0;Qb=m;v[m+16>>2]=0;g=v[247764];v[m+36>>2]=v[247763];v[m+40>>2]=g;g=v[247766];v[m+44>>2]=v[247765];v[m+48>>2]=g;v[m+52>>2]=v[247767];g=v[247760];v[m+20>>2]=v[247759];v[m+24>>2]=g;g=v[247762];v[m+28>>2]=v[247761];v[m+32>>2]=g;aa=Bg(m,m+12|0,v[v[a+4>>2]+20>>2],4);r=v[m+12>>2];g=v[a+4>>2];s=v[g+20>>2];if((s|0)>=1){ba=v[a+508>>2];ca=v[g>>2];while(1){w=0;c=C(0);while(1){g=w<<3;a=v[g+991076>>2];da=(a|0)>1?a:1;f=z[(m+16|0)+(w<<2)>>2];ea=v[g+991072>>2];i=0;while(1){g=i+ea|0;t=g>>4<<2;k=n<<4;a=v[t+(k+ca|0)>>2];a:{if(!a){break a}g=(g&15)<<2;e=v[g+a>>2];a=v[(k+ba|0)+t>>2];b:{if(a){if(!e){break a}h=v[a+g>>2];if(!h){break b}a=u[e>>1];g=a>>31;o=C(C(((g^a+g)&65535)>>>0)-C(u[h>>1]));if(w){x=u[e+2>>1];y=x>>31;A=u[e+4>>1];B=A>>31;E=u[e+6>>1];F=E>>31;G=u[e+8>>1];I=G>>31;J=u[e+10>>1];K=J>>31;L=u[e+12>>1];M=L>>31;N=u[e+14>>1];O=N>>31;P=u[e+16>>1];Q=P>>31;R=u[e+18>>1];S=R>>31;T=u[e+20>>1];U=T>>31;V=u[e+22>>1];W=V>>31;t=u[e+24>>1];X=t>>31;k=u[e+26>>1];Y=k>>31;g=u[e+28>>1];Z=g>>31;a=u[e+30>>1];e=a>>31;d=C(c+C(o*C(f*o)));c=C(C(((y^y+x)&65535)>>>0)-C(u[h+2>>1]));d=C(d+C(c*C(f*c)));c=C(C(((B^B+A)&65535)>>>0)-C(u[h+4>>1]));d=C(d+C(c*C(f*c)));c=C(C(((F^F+E)&65535)>>>0)-C(u[h+6>>1]));d=C(d+C(c*C(f*c)));c=C(C(((I^I+G)&65535)>>>0)-C(u[h+8>>1]));d=C(d+C(c*C(f*c)));c=C(C(((K^K+J)&65535)>>>0)-C(u[h+10>>1]));d=C(d+C(c*C(f*c)));c=C(C(((M^M+L)&65535)>>>0)-C(u[h+12>>1]));d=C(d+C(c*C(f*c)));c=C(C(((O^O+N)&65535)>>>0)-C(u[h+14>>1]));d=C(d+C(c*C(f*c)));c=C(C(((Q^Q+P)&65535)>>>0)-C(u[h+16>>1]));d=C(d+C(c*C(f*c)));c=C(C(((S^S+R)&65535)>>>0)-C(u[h+18>>1]));d=C(d+C(c*C(f*c)));c=C(C(((U^U+T)&65535)>>>0)-C(u[h+20>>1]));d=C(d+C(c*C(f*c)));c=C(C(((W^W+V)&65535)>>>0)-C(u[h+22>>1]));d=C(d+C(c*C(f*c)));c=C(C(((X^t+X)&65535)>>>0)-C(u[h+24>>1]));d=C(d+C(c*C(f*c)));c=C(C(((Y^k+Y)&65535)>>>0)-C(u[h+26>>1]));d=C(d+C(c*C(f*c)));c=C(C(((Z^g+Z)&65535)>>>0)-C(u[h+28>>1]));d=C(d+C(c*C(f*c)));c=C(C(((e^a+e)&65535)>>>0)-C(u[h+30>>1]));c=C(d+C(c*C(f*c)));break a}f=C(12.79224967956543);x=u[e+2>>1];y=x>>31;A=u[e+4>>1];B=A>>31;E=u[e+6>>1];F=E>>31;G=u[e+8>>1];I=G>>31;J=u[e+10>>1];K=J>>31;L=u[e+12>>1];M=L>>31;N=u[e+14>>1];O=N>>31;P=u[e+16>>1];Q=P>>31;R=u[e+18>>1];S=R>>31;T=u[e+20>>1];U=T>>31;V=u[e+22>>1];W=V>>31;t=u[e+24>>1];X=t>>31;k=u[e+26>>1];Y=k>>31;g=u[e+28>>1];Z=g>>31;a=u[e+30>>1];e=a>>31;d=C(c+C(o*C(o*C(2627.989013671875))));c=C(C(((y^y+x)&65535)>>>0)-C(u[h+2>>1]));d=C(d+C(c*C(c*C(183.289306640625))));c=C(C(((B^B+A)&65535)>>>0)-C(u[h+4>>1]));d=C(d+C(c*C(c*C(183.2958984375))));c=C(C(((F^F+E)&65535)>>>0)-C(u[h+6>>1]));d=C(d+C(c*C(c*C(51.14690017700195))));c=C(C(((I^I+G)&65535)>>>0)-C(u[h+8>>1]));d=C(d+C(c*C(c*C(45.833438873291016))));c=C(C(((K^K+J)&65535)>>>0)-C(u[h+10>>1]));d=C(d+C(c*C(c*C(45.833438873291016))));c=C(C(((M^M+L)&65535)>>>0)-C(u[h+12>>1]));d=C(d+C(c*C(c*C(45.833438873291016))));c=C(C(((O^O+N)&65535)>>>0)-C(u[h+14>>1]));d=C(d+C(c*C(c*C(45.833438873291016))));c=C(C(((Q^Q+P)&65535)>>>0)-C(u[h+16>>1]));d=C(d+C(c*C(c*C(45.83462142944336))));c=C(C(((S^S+R)&65535)>>>0)-C(u[h+18>>1]));d=C(d+C(c*C(c*C(45.83462142944336))));c=C(C(((U^U+T)&65535)>>>0)-C(u[h+20>>1]));d=C(d+C(c*C(c*C(45.83462142944336))));c=C(C(((W^W+V)&65535)>>>0)-C(u[h+22>>1]));d=C(d+C(c*C(c*C(45.83462142944336))));c=C(C(((X^t+X)&65535)>>>0)-C(u[h+24>>1]));d=C(d+C(c*C(c*C(12.79224967956543))));c=C(C(((Y^k+Y)&65535)>>>0)-C(u[h+26>>1]));d=C(d+C(c*C(c*C(12.79224967956543))));c=C(C(((Z^g+Z)&65535)>>>0)-C(u[h+28>>1]));d=C(d+C(c*C(c*C(12.79224967956543))));c=C(C(((e^a+e)&65535)>>>0)-C(u[h+30>>1]));c=C(d+C(c*C(c*C(12.79224967956543))));break a}if(!e){break a}}o=C(u[e>>1]);if(w){d=C(c+C(C(f*o)*o));c=C(u[e+2>>1]);d=C(d+C(C(f*c)*c));c=C(u[e+4>>1]);d=C(d+C(C(f*c)*c));c=C(u[e+6>>1]);d=C(d+C(C(f*c)*c));c=C(u[e+8>>1]);d=C(d+C(C(f*c)*c));c=C(u[e+10>>1]);d=C(d+C(C(f*c)*c));c=C(u[e+12>>1]);d=C(d+C(C(f*c)*c));c=C(u[e+14>>1]);d=C(d+C(C(f*c)*c));c=C(u[e+16>>1]);d=C(d+C(C(f*c)*c));c=C(u[e+18>>1]);d=C(d+C(C(f*c)*c));c=C(u[e+20>>1]);d=C(d+C(C(f*c)*c));c=C(u[e+22>>1]);d=C(d+C(C(f*c)*c));c=C(u[e+24>>1]);d=C(d+C(C(f*c)*c));c=C(u[e+26>>1]);d=C(d+C(C(f*c)*c));c=C(u[e+28>>1]);d=C(d+C(C(f*c)*c));c=C(u[e+30>>1]);c=C(d+C(C(f*c)*c));break a}f=C(12.79224967956543);d=C(c+C(C(o*C(2627.989013671875))*o));c=C(u[e+2>>1]);d=C(d+C(C(c*C(183.289306640625))*c));c=C(u[e+4>>1]);d=C(d+C(C(c*C(183.2958984375))*c));c=C(u[e+6>>1]);d=C(d+C(C(c*C(51.14690017700195))*c));c=C(u[e+8>>1]);d=C(d+C(C(c*C(45.833438873291016))*c));c=C(u[e+10>>1]);d=C(d+C(C(c*C(45.833438873291016))*c));c=C(u[e+12>>1]);d=C(d+C(C(c*C(45.833438873291016))*c));c=C(u[e+14>>1]);d=C(d+C(C(c*C(45.833438873291016))*c));c=C(u[e+16>>1]);d=C(d+C(C(c*C(45.83462142944336))*c));c=C(u[e+18>>1]);d=C(d+C(C(c*C(45.83462142944336))*c));c=C(u[e+20>>1]);d=C(d+C(C(c*C(45.83462142944336))*c));c=C(u[e+22>>1]);d=C(d+C(C(c*C(45.83462142944336))*c));c=C(u[e+24>>1]);d=C(d+C(C(c*C(12.79224967956543))*c));c=C(u[e+26>>1]);d=C(d+C(C(c*C(12.79224967956543))*c));c=C(u[e+28>>1]);d=C(d+C(C(c*C(12.79224967956543))*c));c=C(u[e+30>>1]);c=C(d+C(C(c*C(12.79224967956543))*c))}i=i+1|0;if((da|0)!=(i|0)){continue}break}w=w+1|0;if((w|0)!=10){continue}break}z[(n<<2)+r>>2]=c*C(.0009765625);n=n+1|0;if((s|0)!=(n|0)){continue}break}r=v[m+12>>2]}k=0;n=s-1|0;$=H((1-+b)*+(n|0)+.5);c:{if(D($)<2147483648){a=~~$;break c}a=-2147483648}g=(a|0)<(s|0)?(a|0)>0?a:0:n;if((g|0)>0){while(1){a=(n<<2)+r|0;f=z[a>>2];i=(k<<2)+r|0;c=z[i>>2];if(f>2]=f;z[a>>2]=c;f=c;c=z[i>>2]}b=z[((k+n|0)/2<<2)+r>>2];d:{if(!(b>2]=b;f=z[a>>2]}e:{if(!(c>f)){b=f;f=c;break e}z[a>>2]=c;b=c}a=k;if((n|0)>(a|0)){c=z[i>>2];i=n;while(1){if(b>2]=b;z[(i<<2)+r>>2]=c;b=c}while(1){c=z[(a<<2)+r>>2];if(f>c|(a|0)<(i|0)&c==f){a=a+1|0;continue}else{f:{if(!(b>f)){break f}while(1){i=i-1|0;b=z[(i<<2)+r>>2];if(f(g|0);n=i?a-1|0:n;k=i?k:a;if((g|0)>(k|0)){continue}break}r=v[m+12>>2]}f=C(0);g:{if((g|0)>=(s|0)){break g}n=(g^-1)+s|0;k=s-g&3;h:{if(!k){a=g;break h}i=g;while(1){f=C(f+z[(i<<2)+r>>2]);a=i+1|0;i=a;k=k-1|0;if(k){continue}break}}if(n>>>0<3){break g}while(1){i=(a<<2)+r|0;f=C(C(C(C(f+z[i>>2])+z[i+4>>2])+z[i+8>>2])+z[i+12>>2]);a=a+4|0;if((s|0)!=(a|0)){continue}break}}Lc(aa);Qb=m- -64|0;b=C(C(266342400)/C(f/C(s-g|0)));a=(q(b),j(2));i:{j:{k:{if(!(a>>>0>=8388608&(a|0)>-1)){c=C(C(-1)/C(b*b));if(!(a&2147483647)){break i}c=C(C(b-b)/C(0));if((a|0)<=-1){break i}a=(q(C(b*C(33554432))),j(2));g=-152;break k}if(a>>>0>2139095039){break j}g=-127;b=C(0);if((a|0)==1065353216){break j}}a=a+4913933|0;f=C((a>>>23|0)+g|0);_=C((l(2,(a&8388607)+1060439283|0),p())+C(-1));b=C(_/C(_+C(2)));c=C(b*b);o=C(c*c);d=b;b=C(_*C(_*C(.5)));b=C(C(f*C(.6931381225585938))+C(_+C(C(C(f*C(905800061445916e-20))+C(d*C(b+C(C(c*C(C(o*C(.2849878668785095))+C(.6666666269302368)))+C(o*C(C(o*C(.24279078841209412))+C(.40000972151756287)))))))-b)))}c=b}return C(C(+c*10/2.302585125))}function wma(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;a:{f=Qb-128|0;Qb=f;h=v[c+12>>2];v[f+120>>2]=v[c+8>>2];v[f+124>>2]=h;h=v[c+4>>2];v[f+112>>2]=v[c>>2];v[f+116>>2]=h;c=v[d+12>>2];v[f+104>>2]=v[d+8>>2];v[f+108>>2]=c;c=v[d+4>>2];v[f+96>>2]=v[d>>2];v[f+100>>2]=c;d=b+8|0;b:{if(v[b+8>>2]){Ch(f+40|0,b,d);break b}v[f+40>>2]=0;Wc(f+40|0,0)}c=v[f+40>>2];v[f+40>>2]=0;c:{d:{e:{f:{g:{h:{i:{if(c){v[299999]=0;h=v[c+4>>2]-1|0;v[c+4>>2]=h;g=v[299999];v[299999]=0;if((g|0)==1){break c}if(!h){v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break c}}c=v[b+12>>2];if(((c|0)>0?c:0)&3){c=jx(f+40|0);h=v[b+12>>2];ix(c,0-((h|0)>0?h:0)|0);lr(c,f+112|0);lr(c,f+96|0)}j:{c=v[f+96>>2];h=v[f+112>>2];k:{if((c|0)>(h|0)){break k}i=h;h=v[f+104>>2];if((i|0)>=(h|0)){break k}g=v[f+100>>2];i=v[f+116>>2];if((g|0)>(i|0)){break k}j=i;i=v[f+108>>2];if((j|0)>=(i|0)){break k}j=c;c=v[f+120>>2];if((j|0)>=(c|0)|(c|0)>(h|0)){break k}c=v[f+124>>2];if((c|0)<=(g|0)){break k}if((c|0)<=(i|0)){break j}}a=vc(f+40|0,328542,242053,1171,339961,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break h}b=P()|0;O()|0;qc(a);T(b|0);L()}l:{if(v[d>>2]){Ch(f+40|0,b,d);break l}v[f+40>>2]=0;Wc(f+40|0,0)}h=v[f+40>>2];m:{if(!h){c=0;break m}c=v[h+8>>2];v[299999]=0;v[f+40>>2]=0;g=v[h+4>>2]-1|0;v[h+4>>2]=g;i=v[299999];v[299999]=0;if((i|0)==1){break c}if(g){break m}v[299999]=0;R(4338,h|0);h=v[299999];v[299999]=0;if((h|0)==1){break c}}n:{if(v[d>>2]){Ch(f+40|0,b,d);break n}v[f+40>>2]=0;Wc(f+40|0,0)}d=0;h=v[f+40>>2];o:{if(!h){break o}d=v[h+12>>2];v[299999]=0;v[f+40>>2]=0;g=v[h+4>>2]-1|0;v[h+4>>2]=g;i=v[299999];v[299999]=0;if((i|0)==1){break c}if(g){break o}v[299999]=0;R(4338,h|0);h=v[299999];v[299999]=0;if((h|0)==1){break c}}i=v[f+104>>2];l=v[f+108>>2];g=v[f+96>>2];h=v[f+100>>2];k=v[f+124>>2];v[f+48>>2]=v[f+120>>2];v[f+52>>2]=k;k=v[f+116>>2];v[f+40>>2]=v[f+112>>2];v[f+44>>2]=k;Lm(f+40|0,0-g|0,0-h|0);h=l-h|0;i=i-g|0;if((i|0)==(c|0)){g=1;if((d|0)==(h|0)){break f}}l=i<<1;p:{if((l|0)<=(c-2|0)|(l|0)>=(c+2|0)){break p}k=h<<1;if((k|0)<=(d-2|0)){break p}g=2;if((k|0)<(d+2|0)){break f}}k=B(i,3);q:{if((k|0)<=(c-3|0)|(k|0)>=(c+3|0)){break q}g=3;o=B(h,3);if((o|0)<=(d-3|0)){break q}if((o|0)<(d+3|0)){break f}}o=i<<2;r:{if((o|0)<=(c-4|0)|(o|0)>=(c+4|0)){break r}n=h<<2;if((n|0)<=(d-4|0)){break r}g=4;if((n|0)<(d+4|0)){break f}}g=B(i,5);s:{if((g|0)<=(c-5|0)|(g|0)>=(c+5|0)){break s}g=5;n=B(h,5);if((n|0)<=(d-5|0)){break s}if((n|0)<(d+5|0)){break f}}n=B(i,6);t:{if((n|0)<=(c-6|0)|(n|0)>=(c+6|0)){break t}g=6;j=B(h,6);if((j|0)<=(d-6|0)){break t}if((j|0)<(d+6|0)){break f}}g=B(i,7);u:{if((g|0)<=(c-7|0)|(g|0)>=(c+7|0)){break u}g=7;j=B(h,7);if((j|0)<=(d-7|0)){break u}if((j|0)<(d+7|0)){break f}}g=i<<3;v:{if((g|0)<=(c-8|0)|(g|0)>=(c+8|0)){break v}j=h<<3;if((j|0)<=(d-8|0)){break v}g=8;if((j|0)<(d+8|0)){break f}}g=B(i,9);w:{if((g|0)<=(c-9|0)|(g|0)>=(c+9|0)){break w}g=9;j=B(h,9);if((j|0)<=(d-9|0)){break w}if((j|0)<(d+9|0)){break f}}g=B(i,10);x:{if((g|0)<=(c-10|0)|(g|0)>=(c+10|0)){break x}g=10;j=B(h,10);if((j|0)<=(d-10|0)){break x}if((j|0)<(d+10|0)){break f}}g=B(i,11);y:{if((g|0)<=(c-11|0)|(g|0)>=(c+11|0)){break y}g=11;j=B(h,11);if((j|0)<=(d-11|0)){break y}if((j|0)<(d+11|0)){break f}}j=B(i,12);z:{if((j|0)<=(c-12|0)|(j|0)>=(c+12|0)){break z}g=12;m=B(h,12);if((m|0)<=(d-12|0)){break z}if((m|0)<(d+12|0)){break f}}g=B(i,13);A:{if((g|0)<=(c-13|0)|(g|0)>=(c+13|0)){break A}g=13;m=B(h,13);if((m|0)<=(d-13|0)){break A}if((m|0)<(d+13|0)){break f}}g=B(i,14);B:{if((g|0)<=(c-14|0)|(g|0)>=(c+14|0)){break B}g=14;m=B(h,14);if((m|0)<=(d-14|0)){break B}if((m|0)<(d+14|0)){break f}}g=B(i,15);C:{if((g|0)<=(c-15|0)|(g|0)>=(c+15|0)){break C}g=15;m=B(h,15);if((m|0)<=(d-15|0)){break C}if((m|0)<(d+15|0)){break f}}g=12;if((B(h,12)|0)<(d|0)&(c|0)>(j|0)|(B(i,36)|0)<(c|0)|(B(h,36)|0)<(d|0)){break g}g=6;if((B(h,6)|0)<(d|0)&(c|0)>(n|0)|(B(i,18)|0)<(c|0)){break g}if((B(h,18)|0)>=(d|0)){break i}break g}v[a>>2]=0;Wc(a,0);break e}g=4;if(h<<2<(d|0)&(c|0)>(o|0)|(B(i,12)|0)<(c|0)|(B(h,12)|0)<(d|0)){break g}g=3;if((B(h,3)|0)<(d|0)&(c|0)>(k|0)|(B(i,9)|0)<(c|0)|(B(h,9)|0)<(d|0)){break g}g=(B(i,6)|0)<(c|0)?2:(B(h,6)|0)<(d|0)?2:1;g=(c|0)>(l|0)?h<<1<(d|0)?2:g:g;break g}L()}if(!((d|0)>0&(c|0)>=1)){v[a>>2]=0;Wc(a,0);break e}l=fc(108);v[299999]=0;k=S(4925,l|0)|0;o=v[299999];v[299999]=0;if((o|0)!=1){v[f+32>>2]=0;Wc(f+32|0,k);v[299999]=0;l=v[f+32>>2];k=g-1|0;U(4926,l|0,(k+c|0)/(g|0)|0,(d+k|0)/(g|0)|0);k=v[299999];v[299999]=0;D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{if((k|0)==1){break M}v[299999]=0;U(4927,l|0,i|0,h|0);k=v[299999];v[299999]=0;if((k|0)==1){break M}v[299999]=0;U(4902,l|0,B(g,i)|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break M}v[299999]=0;U(4903,l|0,B(g,h)|0,d|0);c=v[299999];v[299999]=0;if((c|0)==1){break M}v[f+24>>2]=0;v[f+28>>2]=0;v[f+16>>2]=0;v[f+20>>2]=0;v[299999]=0;U(4906,l|0,f+40|0,f+16|0);c=v[299999];v[299999]=0;if((c|0)==1){break L}v[299999]=0;xa(4924,f+8|0,b|0,f+16|0,g|0,+e);c=v[299999];v[299999]=0;if((c|0)==1){break H}if(v[f+8>>2]){break K}v[a>>2]=0;v[299999]=0;Q(4336,a|0,0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break J}a=P()|0;O()|0;break E}a=P()|0;O()|0;break D}a=P()|0;O()|0;break D}v[299999]=0;c=S(1,24)|0;d=v[299999];v[299999]=0;if((d|0)==1){break G}v[299999]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c>>2]=990196;v[c+4>>2]=0;d=v[299999];v[299999]=0;if((d|0)==1){break I}v[299999]=0;v[f>>2]=0;Q(4336,f|0,c|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break G}v[299999]=0;fa(4904,l|0,f+16|0,v[f+8>>2],f+40|0,v[f>>2]);c=v[299999];v[299999]=0;if((c|0)==1){break F}c=v[f>>2];N:{if(c){b=v[b+12>>2];v[299999]=0;U(4928,a|0,c|0,((b|0)>0?b:0)|0);a=v[299999];v[299999]=0;if((a|0)!=1){break N}break F}v[a>>2]=0;v[299999]=0;Q(4336,a|0,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break F}}a=v[f>>2];v[f>>2]=0;if(!a){break J}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break c}if(b){break J}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break c}}a=v[f+8>>2];v[f+8>>2]=0;O:{if(!a){break O}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break c}if(b){break O}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break c}}a=v[f+32>>2];v[f+32>>2]=0;if(!a){break e}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break e}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break e}}break c}a=P()|0;O()|0;dc(c);break E}a=P()|0;O()|0;break D}a=P()|0;O()|0;break E}a=P()|0;O()|0;ec(f)}ec(f+8|0)}ec(f+32|0);T(a|0);L()}a=P()|0;O()|0;dc(l);T(a|0);L()}Ub[4924](f+16|0,b,f+40|0,g,e);c=v[f+16>>2];P:{if(c){b=v[b+12>>2];v[299999]=0;U(4928,a|0,c|0,((b|0)>0?b:0)|0);a=v[299999];v[299999]=0;if((a|0)!=1){break P}break d}v[a>>2]=0;v[299999]=0;Q(4336,a|0,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break d}}a=v[f+16>>2];v[f+16>>2]=0;if(!a){break e}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break e}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break e}}break c}Qb=f+128|0;break a}a=P()|0;O()|0;ec(f+16|0);T(a|0);L()}W(0)|0;O()|0;lc();L()}}function h_(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,z=0,A=0,C=0;j=Qb-48|0;Qb=j;d=Yc(b,c+d|0);a:{if(d){break a}d=ne(b,e);if(d){break a}b:{c:{if(!e){v[j+44>>2]=0;break c}f=v[b+32>>2];k=f+e|0;if(t[f|0]<=-1){l=v[a+16>>2];m=v[a+28>>2];v[j>>2]=0;d=8;if((e|0)<1){break b}h=w[f|0];if(!(h&128)){break b}g=f+1|0;i=v[m>>2];d:{if(!(h&64)){e=g;break d}if((e|0)<2){break b}e=f+2|0;g=w[g|0];if(g){while(1){f=e+2|0;if(f>>>0>k>>>0){break b}e=f+w[e|0]|0;if(k>>>0>>0){break b}g=g-1|0;if(g){continue}break}}v[j>>2]=0}p=h&63;g=p+l|0;f=v[a+20>>2];e:{if(g>>>0<=f>>>0){g=v[a+24>>2];break e}h=g+3&-4;if(h>>>0>64){break b}g=Cc(i,24,f,h,v[a+24>>2],j);v[a+24>>2]=g;d=v[j>>2];if(d){break b}v[a+20>>2]=h}if(p){g=B(l,24)+g|0;d=8;while(1){i=e+1|0;if(k>>>0>>0){break b}f=w[e|0];v[g>>2]=65536;if(f&16){i=e+3|0;if(k>>>0>>0){break b}e=w[e+1|0]|w[e+2|0]<<8;v[g>>2]=(e<<8|e>>>8)<<16>>16<<4}v[g+4>>2]=65536;f:{if(!(f&32)){e=i;break f}e=i+2|0;if(k>>>0>>0){break b}h=w[i|0]|w[i+1|0]<<8;v[g+4>>2]=(h<<8|h>>>8)<<16>>16<<4}n=0;i=0;g:{h:{switch((f&3)-1|0){case 0:h=e+2|0;if(h>>>0>k>>>0){break b}e=w[e|0]|w[e+1|0]<<8;i=(e<<8|e>>>8)<<16>>16;e=h;break g;case 1:break h;default:break g}}h=e+1|0;if(h>>>0>k>>>0){break b}i=t[e|0];e=h}i:{j:{switch((f>>>2&3)-1|0){case 0:h=e+2|0;if(h>>>0>k>>>0){break b}e=w[e|0]|w[e+1|0]<<8;n=(e<<8|e>>>8)<<16>>16;e=h;break i;case 1:break j;default:break i}}h=e+1|0;if(h>>>0>k>>>0){break b}n=t[e|0];e=h}v[g+12>>2]=n;v[g+8>>2]=i;h=g;k:{if(f&64){i=e+2|0;if(k>>>0>>0){break b}e=w[e+1|0]|w[e|0]<<8;break k}i=e+1|0;if(k>>>0>>0){break b}e=w[e|0]}v[h+20>>2]=e;l:{if(f&128){e=i+3|0;if(k>>>0>>0){break b}n=2;h=w[i+1|0]<<8|w[i|0]<<16;break l}e=i+2|0;if(k>>>0>>0){break b}n=1;h=w[i|0]<<8}v[g+16>>2]=h|w[i+n|0];v[a+16>>2]=v[a+16>>2]+1;g=g+24|0;o=o+1|0;if((p|0)!=(o|0)){continue}break}}Vd(b);k=v[a+16>>2]-l|0;if(!k){d=0;break a}n=0;while(1){i=u[m+22>>1];g=B(n,24);e=B(l,24);d=g+(e+v[a+24>>2]|0)|0;d=h_(a,b,c,v[d+16>>2],v[d+20>>2]);if(d){break a}o=u[m+22>>1];h=o-i|0;e=g+(e+v[a+24>>2]|0)|0;f=v[e>>2];m:{if(!((f|0)==65536&v[e+4>>2]==65536)){if((h|0)<1){break m}d=v[m+24>>2]+(i<<3)|0;g=0;while(1){A=d,C=Ac(v[d>>2],f)+v[e+8>>2]|0,v[A>>2]=C;A=d,C=Ac(v[d+4>>2],v[e+4>>2])+v[e+12>>2]|0,v[A+4>>2]=C;g=g+1|0;if((h|0)==(g|0)){break m}d=d+8|0;f=v[e>>2];continue}}if((h|0)<1){break m}g=h&3;d=v[m+24>>2]+(i<<3)|0;f=v[e+12>>2];e=v[e+8>>2];if(o+(i^-1)>>>0>=3){h=h&-4;while(1){v[d>>2]=e+v[d>>2];v[d+4>>2]=f+v[d+4>>2];v[d+8>>2]=e+v[d+8>>2];v[d+16>>2]=e+v[d+16>>2];v[d+24>>2]=e+v[d+24>>2];v[d+12>>2]=f+v[d+12>>2];v[d+20>>2]=f+v[d+20>>2];v[d+28>>2]=f+v[d+28>>2];d=d+32|0;h=h-4|0;if(h){continue}break}}if(!g){break m}while(1){v[d>>2]=e+v[d>>2];v[d+4>>2]=f+v[d+4>>2];d=d+8|0;g=g-1|0;if(g){continue}break}}n=n+1|0;if((k|0)!=(n|0)){continue}break}d=0;break a}v[j+44>>2]=0;d=8;if((e|0)<1){break b}m=w[f|0];if(m&128){break b}i=v[v[a+28>>2]>>2];n:{if(m&4){if((e|0)<2){break b}h=f+2|0;c=w[f+1|0];o=c>>>4|0;n=c&15;break n}if(m&2){if((e|0)<2){break b}n=w[f+1|0];c=f+2|0}else{c=f+1|0}if(!(m&1)){h=c;break n}h=c+1|0;if(k>>>0>>0){break b}o=w[c|0]}f=n+o|0;c=v[a+4>>2];o:{p:{if(f>>>0>c>>>0){d=c;c=f+7&1016;i=Cc(i,4,d,c,v[a+8>>2],j+44|0);v[a+8>>2]=i;d=v[j+44>>2];if(d){break b}p=a+8|0;v[a+4>>2]=c;v[a+12>>2]=(n<<2)+i;r=a+12|0;break p}i=v[a+8>>2];v[a+12>>2]=i+(n<<2);r=a+12|0;p=a+8|0;if(!f){break o}}c=0;d=0;while(1){q:{if(d&7){e=h;break q}e=h+1|0;if(k>>>0>>0){break c}c=w[h|0]}l=(d<<2)+i|0;r:{if(c&1){h=e+2|0;if(k>>>0>>0){break c}e=w[e|0]|w[e+1|0]<<8;g=(e<<8|e>>>8)<<16>>16;break r}h=e+1|0;if(k>>>0>>0){break c}g=w[e|0]+g|0}v[l>>2]=g;c=c>>>1|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}}d=8;s:{if(!(m&8)){c=h;break s}c=h+1|0;if(k>>>0>>0){break b}e=w[h|0];if(e){while(1){g=c+2|0;if(g>>>0>k>>>0){break b}c=g+w[c|0]|0;if(k>>>0>>0){break b}e=e-1|0;if(e){continue}break}}v[j+44>>2]=0}t[a+32|0]=0;v[j+24>>2]=0;v[j+28>>2]=0;v[j>>2]=0;v[j+4>>2]=0;s=j+16|0;z=j|8;h=0;g=0;while(1){f=c+1|0;if(f>>>0>k>>>0){break c}c=w[c|0];e=c&15;i=1;t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{q=c>>>4|0;switch(q|0){case 0:break w;case 1:case 4:case 5:break x;case 7:break z;case 6:break A;case 3:break C;case 2:break D;default:break y}}if(e>>>0>=n>>>0){break c}v[j>>2]=v[v[p>>2]+(e<<2)>>2];break B}if(e>>>0>=o>>>0){break c}v[j>>2]=g;h=v[v[r>>2]+(e<<2)>>2]}v[j+4>>2]=h;c=v[j+4>>2];g=v[j>>2];v[j+24>>2]=g;v[j+28>>2]=c;h=c;c=f;break v}e=2958;i=3;break x}e=3627;i=3;break x}i=4}l=0;d=j;c=f;while(1){E:{F:{switch(e&3){case 0:f=c+1|0;if(f>>>0>k>>>0){break c}c=w[c|0];if(c>>>0>=n>>>0){break c}g=v[v[p>>2]+(c<<2)>>2];c=f;break E;case 1:f=c+2|0;if(f>>>0>k>>>0){break c}c=w[c|0]|w[c+1|0]<<8;g=(c<<8|c>>>8)<<16>>16;c=f;break E;case 2:break F;default:break E}}f=c+1|0;if(f>>>0>k>>>0){break c}g=t[c|0]+g|0;c=f}v[d>>2]=g;G:{H:{switch(e>>>2&3){case 0:g=c+1|0;if(g>>>0>k>>>0){break c}c=w[c|0];if(c>>>0>=o>>>0){break c}h=v[v[r>>2]+(c<<2)>>2];c=g;break G;case 1:g=c+2|0;if(g>>>0>k>>>0){break c}c=w[c|0]|w[c+1|0]<<8;h=(c<<8|c>>>8)<<16>>16;c=g;break G;case 2:break H;default:break G}}g=c+1|0;if(g>>>0>k>>>0){break c}h=t[c|0]+h|0;c=g}v[d+4>>2]=h;I:{if(!((i|0)!=4|l)){g=c+1|0;if(g>>>0>k>>>0){break c}e=w[c|0];i=3;c=g;break I}e=e>>>4|0}g=v[d+4>>2];f=v[d>>2];v[j+24>>2]=f;v[j+28>>2]=g;d=d+8|0;m=g;h=g;g=f;l=l+1|0;if(l>>>0>>0){continue}break}h=m;J:{switch(q|0){case 4:case 5:e=v[a+28>>2];K:{if(!w[a+32|0]){break K}i=u[e+58>>1];d=i-1|0;l=d;f=x[e+56>>1];m=f<<16>>16;if((m|0)<1){f=0}else{f=u[(v[e+68>>2]+(f<<1)|0)-2>>1]}L:{if((l|0)<=(f|0)){break L}l=v[e+60>>2];q=l+(f<<3)|0;l=l+(d<<3)|0;if(v[q>>2]!=v[l>>2]|v[q+4>>2]!=v[l+4>>2]){break L}u[e+58>>1]=i-1;d=i-2|0}if((d|0)<(f|0)){break K}u[e+56>>1]=m+1;u[v[e+68>>2]+(m<<1)>>1]=d}t[a+32|0]=1;i=v[e+4>>2];d=u[e+58>>1];l=(d+u[e+22>>1]|0)+1|0;if(!(i>>>0>=l>>>0&y[e+8>>2]>=(u[e+20>>1]+u[e+56>>1]|0)+1>>>0)){d=xg(e,1,1);if(d){break t}if(!w[a+32|0]){d=8;break t}e=v[a+28>>2];d=u[e+58>>1];l=(d+u[e+22>>1]|0)+1|0;i=v[e+4>>2]}if(i>>>0>>0){d=xg(e,1,0);if(d){break t}d=u[e+58>>1]}break u;case 1:case 2:case 3:break v;case 0:break w;default:break J}}if(w[a+32|0]){d=v[a+28>>2];e=u[d+58>>1];M:{if(y[d+4>>2]<(u[d+22>>1]+e|0)+3>>>0){e=xg(d,3,0);if(e){break M}e=u[d+58>>1]}i=v[d- -64>>2];m=v[j+4>>2];f=v[d+60>>2]+(e<<3)|0;v[f>>2]=v[j>>2];v[f+4>>2]=m;m=v[z+4>>2];v[f+8>>2]=v[z>>2];v[f+12>>2]=m;m=v[s+4>>2];v[f+16>>2]=v[s>>2];v[f+20>>2]=m;e=e+i|0;t[e+2|0]=1;t[e|0]=2;t[e+1|0]=2;u[d+58>>1]=x[d+58>>1]+3;e=0}d=e}else{d=8}break t}if(w[a+32|0]){e=v[a+28>>2];g=u[e+58>>1];d=g-1|0;f=d;c=x[e+56>>1];h=c<<16>>16;if((h|0)<1){c=0}else{c=u[(v[e+68>>2]+(c<<1)|0)-2>>1]}N:{if((f|0)<=(c|0)){break N}f=v[e+60>>2];i=f+(c<<3)|0;f=f+(d<<3)|0;if(v[i>>2]!=v[f>>2]|v[i+4>>2]!=v[f+4>>2]){break N}u[e+58>>1]=g-1;d=g-2|0}if((c|0)<=(d|0)){u[e+56>>1]=h+1;u[v[e+68>>2]+(h<<1)>>1]=d}t[a+32|0]=0}Av(v[a+28>>2]);d=v[j+44>>2];break b}if(!w[a+32|0]){d=8;break t}e=v[a+28>>2];d=u[e+58>>1];if(y[e+4>>2]<(d+u[e+22>>1]|0)+1>>>0){d=xg(e,1,0);if(d){break t}d=u[e+58>>1]}}i=v[j+4>>2];f=v[e+60>>2]+(d<<3)|0;v[f>>2]=v[j>>2];v[f+4>>2]=i;t[d+v[e- -64>>2]|0]=1;u[e+58>>1]=x[e+58>>1]+1;d=0}v[j+44>>2]=d;if(!d){continue}break}break b}d=8}Vd(b)}Qb=j+48|0;return d}function Caa(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;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,y=0,z=0;l=Qb-560|0;Qb=l;v[l+548>>2]=k;v[l+552>>2]=b;v[l+104>>2]=5601;b=l+104|0;q=Mf(l+136|0,l+144|0,b);k=v[q>>2];v[l+132>>2]=k;v[l+128>>2]=k+400;r=ge(b);o=ge(l+88|0);m=ge(l+72|0);n=ge(l+56|0);p=ge(l+40|0);v[299999]=0;ua(5604,c|0,d|0,l+120|0,l+119|0,l+118|0,r|0,o|0,m|0,n|0,l+36|0);b=v[299999];v[299999]=0;if((b|0)!=1){a:{v[j>>2]=v[i>>2];s=e&512;u=s>>>9|0;k=0;c=0;while(1){e=c;b:{c:{d:{e:{if((k|0)==4){break e}v[299999]=0;b=Q(5473,a|0,l+552|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(!b){break e}d=0;c=e;f:{g:{h:{i:{j:{switch(t[(l+120|0)+k|0]){case 1:if((k|0)==3){break c}v[299999]=0;b=S(5474,a|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}if((b|0)>=0?x[v[h+8>>2]+((b&255)<<1)>>1]&8192:0){v[299999]=0;U(5605,l+24|0,a|0,0);b=v[299999];v[299999]=0;if((b|0)!=1){b=t[l+24|0];v[299999]=0;V(5606,p|0,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break i}}break a}v[f>>2]=v[f>>2]|4;a=0;break d;case 3:break h;case 0:break j;case 4:break f;case 2:break g;default:break b}}if((k|0)==3){break c}}while(1){v[299999]=0;b=Q(5473,a|0,l+552|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(!b){break c}v[299999]=0;b=S(5474,a|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(!((x[v[h+8>>2]+((b&255)<<1)>>1]&8192)!=0&(b|0)>=0)){break c}v[299999]=0;U(5605,l+24|0,a|0,0);b=v[299999];v[299999]=0;if((b|0)!=1){b=t[l+24|0];v[299999]=0;V(5606,p|0,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){continue}}break}break a}if(w[m+11|0]>>>7|0){b=v[m+4>>2]}else{b=w[m+11|0]}if(w[n+11|0]>>>7|0){c=v[n+4>>2]}else{c=w[n+11|0]}if((b|0)==(0-c|0)){break c}if(w[m+11|0]>>>7|0){b=v[m+4>>2]}else{b=w[m+11|0]}if(w[n+11|0]>>>7|0){c=v[n+4>>2]}else{c=w[n+11|0]}if(!(c?b:0)){if(w[m+11|0]>>>7|0){b=v[m+4>>2]}else{b=w[m+11|0]}if(b){v[299999]=0;c=S(5474,a|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}if(w[m+11|0]>>>7|0){b=v[m>>2]}else{b=m}if(w[b|0]==(c&255)){v[299999]=0;S(5476,a|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}b=m;c=b;if(w[b+11|0]>>>7|0){b=v[m+4>>2]}else{b=w[m+11|0]}c=b>>>0>1?c:e;break b}t[g|0]=1;break c}v[299999]=0;c=S(5474,a|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}if(w[n+11|0]>>>7|0){b=v[n>>2]}else{b=n}if(w[b|0]!=(c&255)){break c}v[299999]=0;S(5476,a|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}t[g|0]=1;b=n;c=b;if(w[b+11|0]>>>7|0){b=v[n+4>>2]}else{b=w[n+11|0]}c=b>>>0>1?c:e;break b}v[299999]=0;c=S(5474,a|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}if(w[m+11|0]>>>7|0){b=v[m>>2]}else{b=m}if(w[b|0]==(c&255)){v[299999]=0;S(5476,a|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}b=m;c=b;if(w[b+11|0]>>>7|0){b=v[m+4>>2]}else{b=w[m+11|0]}c=b>>>0>1?c:e;break b}v[299999]=0;c=S(5474,a|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}if(w[n+11|0]>>>7|0){b=v[n>>2]}else{b=n}if(w[b|0]==(c&255)){v[299999]=0;S(5476,a|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}t[g|0]=1;b=n;c=b;if(w[b+11|0]>>>7|0){b=v[n+4>>2]}else{b=w[n+11|0]}c=b>>>0>1?c:e;break b}v[f>>2]=v[f>>2]|4;a=0;break d}if(!(k>>>0<2|e)){c=0;if(!((k|0)==2&w[l+123|0]!=0|u)){break b}}y=l,z=xi(o),v[y+16>>2]=z;v[l+24>>2]=v[l+16>>2];k:{if(!k|w[(k+l|0)+119|0]>1){break k}while(1){l:{y=l,z=Hn(o),v[y+16>>2]=z;if(v[l+24>>2]==v[l+16>>2]){break l}b=t[v[l+24>>2]];if((b|0)>=0){b=(x[v[h+8>>2]+((b&255)<<1)>>1]&8192)!=0}else{b=0}if(!b){break l}v[l+24>>2]=v[l+24>>2]+1;continue}break}y=l,z=xi(o),v[y+16>>2]=z;if(w[p+11|0]>>>7|0){c=v[p+4>>2]}else{c=w[p+11|0]}b=v[l+24>>2]-v[l+16>>2]|0;if(c>>>0>=b>>>0){y=l,z=Hn(p),v[y+16>>2]=z;b=WL(l+16|0,0-b|0);c=Hn(p);d=xi(o);v[299999]=0;b=_L(b,c,d);c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break k}}y=l,z=xi(o),v[y+8>>2]=z;v[l+16>>2]=v[l+8>>2];v[l+24>>2]=v[l+16>>2]}v[l+16>>2]=v[l+24>>2];m:{while(1){y=l,z=Hn(o),v[y+8>>2]=z;if(v[l+16>>2]==v[l+8>>2]){break m}v[299999]=0;b=Q(5473,a|0,l+552|0)|0;c=v[299999];v[299999]=0;n:{if((c|0)==1){break n}if(!b){break m}v[299999]=0;b=S(5474,a|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break n}if(w[v[l+16>>2]]!=(b&255)){break m}v[299999]=0;S(5476,a|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}v[l+16>>2]=v[l+16>>2]+1;continue}break}break a}if(!s){break c}y=l,z=Hn(o),v[y+8>>2]=z;if(v[l+16>>2]==v[l+8>>2]){break c}v[f>>2]=v[f>>2]|4;a=0;break d}o:{while(1){p:{v[299999]=0;b=Q(5473,a|0,l+552|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break p}if(!b){break o}v[299999]=0;c=S(5474,a|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}q:{if((c|0)>=0?x[v[h+8>>2]+((c&255)<<1)>>1]&2048:0){b=v[j>>2];if((b|0)==v[l+548>>2]){v[299999]=0;U(5608,i|0,j|0,l+548|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[j>>2]}v[j>>2]=b+1;t[b|0]=c;d=d+1|0;break q}if(w[r+11|0]>>>7|0){b=v[r+4>>2]}else{b=w[r+11|0]}if(!b|!d|w[l+118|0]!=(c&255)){break o}c=v[l+132>>2];if((c|0)==v[l+128>>2]){v[299999]=0;U(5609,q|0,l+132|0,l+128|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}c=v[l+132>>2]}v[l+132>>2]=c+4;v[c>>2]=d;d=0}v[299999]=0;S(5476,a|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){continue}}break}break a}c=v[l+132>>2];if(!(!d|(c|0)==v[q>>2])){if(v[l+128>>2]==(c|0)){v[299999]=0;U(5609,q|0,l+132|0,l+128|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}c=v[l+132>>2]}v[l+132>>2]=c+4;v[c>>2]=d}r:{if(v[l+36>>2]<1){break r}v[299999]=0;b=Q(5539,a|0,l+552|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}s:{if(!b){v[299999]=0;b=S(5474,a|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(w[l+119|0]==(b&255)){break s}}v[f>>2]=v[f>>2]|4;a=0;break d}v[299999]=0;S(5476,a|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}while(1){if(v[l+36>>2]<1){break r}v[299999]=0;b=Q(5539,a|0,l+552|0)|0;c=v[299999];v[299999]=0;t:{if((c|0)==1){break t}u:{if(!b){v[299999]=0;b=S(5474,a|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break t}if((b|0)>=0?x[v[h+8>>2]+((b&255)<<1)>>1]&2048:0){break u}}v[f>>2]=v[f>>2]|4;a=0;break d}if(v[j>>2]==v[l+548>>2]){v[299999]=0;U(5608,i|0,j|0,l+548|0);b=v[299999];v[299999]=0;if((b|0)==1){break t}}v[299999]=0;b=S(5474,a|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break t}c=v[j>>2];v[j>>2]=c+1;t[c|0]=b;v[299999]=0;v[l+36>>2]=v[l+36>>2]-1;S(5476,a|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){continue}}break}break a}c=e;if(v[i>>2]!=v[j>>2]){break b}v[f>>2]=v[f>>2]|4;a=0;break d}v:{if(!e){break v}c=1;while(1){if(w[e+11|0]>>>7|0){b=v[e+4>>2]}else{b=w[e+11|0]}if(b>>>0<=c>>>0){break v}v[299999]=0;b=Q(5539,a|0,l+552|0)|0;d=v[299999];v[299999]=0;w:{if((d|0)==1){break w}x:{if(!b){v[299999]=0;d=S(5474,a|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break w}if(w[e+11|0]>>>7|0){b=v[e>>2]}else{b=e}if(w[b+c|0]==(d&255)){break x}}v[f>>2]=v[f>>2]|4;a=0;break d}v[299999]=0;S(5476,a|0)|0;b=v[299999];v[299999]=0;c=c+1|0;if((b|0)!=1){continue}}break}break a}y:{if(v[q>>2]==v[l+132>>2]){break y}v[l+24>>2]=0;a=v[q>>2];v[299999]=0;Xg(r,a,v[l+132>>2],l+24|0);a=v[299999];v[299999]=0;if((a|0)!=1){if(!v[l+24>>2]){break y}v[f>>2]=v[f>>2]|4;a=0;break d}break a}a=1}Mc(p);Mc(n);Mc(m);Mc(o);Mc(r);ee(q);Qb=l+560|0;return a|0}c=e}k=k+1|0;continue}}}a=P()|0;O()|0;Mc(p);Mc(n);Mc(m);Mc(o);Mc(r);ee(q);T(a|0);L()}function G5a(a){a=a|0;var 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,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;f=Qb-1136|0;Qb=f;B0(a);if(v[a+188>>2]){Rc(58230,21,1,v[252391])}c=v[a+26028>>2]==1;E=c?15:7;F=c?15:1;c=bd(B(E+1|0,F+1|0),1280);a:{if(c){m=x[a+26310>>1];while(1){y=g+1|0;b=g<<1;D=b&14;o=b+2&14;l=0;while(1){v[((f+112|0)+(g<<6)|0)+(l<<2)>>2]=c;z=l+1|0;q=l&1;H=(q|o)<<1;G=(q|D)<<1;I=G^2;e=198096;r=0;while(1){A=t[e+1|0];b=A+l|0;C=t[e|0];h=C+g|0;n=w[e+5|0];s=t[e+4|0];k=t[e+3|0];j=t[e+2|0];d=v[a+26028>>2];b:{c:{d:{if((d|0)==1){d=x[a+26314>>1];i=x[a+26312>>1];p=w[(d+b&15|(i+h&15)<<4)+194800|0];if((p|0)!=w[(d+(k+l|0)&15|(i+(g+j|0)&15)<<4)+194800|0]){break b}h=p<<24>>24;b=1;if((p|0)!=w[(d+z&15|(g+i&15)<<4)+194800|0]){break c}b=t[(d+l&15|(i+y&15)<<4)+194800|0];break d}h=d>>>((b&1|h<<1&14)<<1)&3;if((h|0)!=(d>>>((k+l&1|g+j<<1&14)<<1)&3)){break b}b=1;if((d>>>I&3)!=(h|0)){break c}b=d>>>H&3}b=(b|0)==(h|0)?2:1}i=C-j|0;d=i>>31;if((b|0)==(d^d+i)){i=A-k|0;d=i>>31;if((d^d+i)==(b|0)){break b}}v[c+8>>2]=s;v[c+4>>2]=(k+B(j,m)<<2)+h;v[c>>2]=(A+B(m,C)<<2)+h;if(n&1){v[c+12>>2]=0;c=c+16|0}else{c=c+12|0}if(n&2){v[c>>2]=1;c=c+4|0}if(n&4){v[c>>2]=2;c=c+4|0}if(n&8){v[c>>2]=3;c=c+4|0}if(n&16){v[c>>2]=4;c=c+4|0}if(n&32){v[c>>2]=5;c=c+4|0}if(n&64){v[c>>2]=6;c=c+4|0}if(n&128){v[c>>2]=7;c=c+4|0}v[c>>2]=-1;c=c+4|0}e=e+6|0;r=r+1|0;if((r|0)!=64){continue}break}v[c>>2]=2147483647;c=c+4|0;e=198480;r=0;while(1){j=t[e+1|0];n=t[e|0];p=j+B(n,m)|0;v[c>>2]=p<<2;e=e+2|0;b=c;d=v[a+26028>>2];e:{f:{if((d|0)==1){d=x[a+26314>>1];i=x[a+26312>>1];h=w[(d+l&15|(i+g&15)<<4)+194800|0];s=0;if((h|0)==w[(d+(j+l|0)&15|(i+(g+n|0)&15)<<4)+194800|0]){break e}h=h<<24>>24;n=t[(d+((j<<1)+l|0)&15|(i+((n<<1)+g|0)&15)<<4)+194800|0];break f}h=d>>>G&3;s=0;if((h|0)==(d>>>((j+l&1|g+n<<1&14)<<1)&3)){break e}n=d>>>((q|(n<<1)+g<<1&14)<<1)&3}s=0;if((h|0)!=(n|0)){break e}s=(p<<3)+h|0}v[b+4>>2]=s;c=c+8|0;r=r+1|0;if((r|0)!=8){continue}break}b=(l|0)!=(F|0);l=z;if(b){continue}break}b=(g|0)!=(E|0);g=y;if(b){continue}break}v[293397]=e;g:{h:{n=bd(B(m,3),8);if(n){r=n+(m<<3)|0;if(x[a+26308>>1]>4){break h}p=2;y=n;break g}c=v[a+190640>>2];i:{if(c){b=v[a+25208>>2];v[f+52>>2]=58426;v[f+48>>2]=b;zd(c,4338,f+48|0);break i}c=v[a+25208>>2];v[f+36>>2]=58426;v[f+32>>2]=c;wc(v[252391],4338,f+32|0)}break a}e=n+(m<<4)|0;z=n;p=2;while(1){y=r;r=e;e=m&65535;if(e>>>0>=5){A=p&E;C=p<<1&14;q=2;while(1){g=v[((f+112|0)+(A<<6)|0)+((q&F)<<2)>>2];c=v[a+26352>>2];v[f+104>>2]=0;v[f+108>>2]=0;v[f+96>>2]=0;v[f+100>>2]=0;v[f+88>>2]=0;v[f+92>>2]=0;v[f+80>>2]=0;v[f+84>>2]=0;k=c+(B(e,p)+q<<3)|0;c=0;l=0;i=0;h=0;j=0;b=0;m=0;d=0;e=v[g>>2];if((e|0)!=2147483647){while(1){b=x[k+(e<<1)>>1]-x[k+(v[g+4>>2]<<1)>>1]|0;c=b>>31;e=(f+80|0)+(v[g+12>>2]<<2)|0;b=(c^c+b)<>2];v[e>>2]=b+v[e>>2];c=v[g+16>>2];j:{if((c|0)==-1){g=g+20|0;break j}c=(f+80|0)+(c<<2)|0;v[c>>2]=b+v[c>>2];e=v[g+20>>2];c=g+24|0;g=c;if((e|0)==-1){break j}while(1){e=(f+80|0)+(e<<2)|0;v[e>>2]=b+v[e>>2];e=v[c>>2];g=c+4|0;c=g;if((e|0)!=-1){continue}break}}e=v[g>>2];if((e|0)!=2147483647){continue}break}i=v[f+100>>2];h=v[f+96>>2];j=v[f+92>>2];b=v[f+88>>2];m=v[f+84>>2];d=v[f+80>>2];l=v[f+104>>2];c=v[f+108>>2]}e=(d|0)<(m|0)?m:d;e=(b|0)>(e|0)?b:e;e=(e|0)<(j|0)?j:e;e=(e|0)<(h|0)?h:e;e=(e|0)<(i|0)?i:e;e=(e|0)<(l|0)?l:e;e=(c|0)>(e|0)?c:e;k:{if(!e){b=x[k+4>>1]|x[k+6>>1]<<16;c=(q<<3)+r|0;e=x[k>>1]|x[k+2>>1]<<16;u[c>>1]=e;u[c+2>>1]=e>>>16;u[c+4>>1]=b;u[c+6>>1]=b>>>16;break k}v[f+72>>2]=0;v[f+76>>2]=0;v[f+64>>2]=0;v[f+68>>2]=0;s=e>>1;e=(d|0)>(m|0)?m:d;b=(b|0)<(e|0)?b:e;b=(b|0)>(j|0)?j:b;b=(b|0)>(h|0)?h:b;b=(b|0)>(i|0)?i:b;b=(b|0)>(l|0)?l:b;m=s+((c|0)<(b|0)?c:b)|0;b=v[a+26028>>2];l:{if((b|0)!=1){e=b>>>((C|q&1)<<1)&3;break l}e=t[(x[a+26314>>1]+q&15|(x[a+26312>>1]+p&15)<<4)+194800|0]}l=(e<<1)+k|0;D=e<<2;c=D+(f- -64|0)|0;i=0;m:{if((d|0)>(m|0)){break m}i=1;d=0;h=v[a+26336>>2];if((h|0)<1){break m}while(1){n:{o:{if((d|0)!=(e|0)){break o}b=v[g+8>>2];if(!b){break o}i=x[k+(b<<1)>>1]+x[l>>1]>>>1|0;j=c;b=v[c>>2];break n}j=(f- -64|0)+(d<<2)|0;i=v[j>>2];b=x[k+(v[g+4>>2]+d<<1)>>1]}v[j>>2]=b+i;i=1;d=d+1|0;if((h|0)!=(d|0)){continue}break}}if((m|0)>=v[f+84>>2]){d=0;o=v[a+26336>>2];if((o|0)>=1){while(1){p:{q:{if((d|0)!=(e|0)){break q}b=v[g+16>>2];if(!b){break q}h=x[k+(b<<1)>>1]+x[l>>1]>>>1|0;b=c;j=v[c>>2];break p}b=(f- -64|0)+(d<<2)|0;h=v[b>>2];j=x[k+(v[g+12>>2]+d<<1)>>1]}v[b>>2]=h+j;d=d+1|0;if((o|0)!=(d|0)){continue}break}}i=i+1|0}if((m|0)>=v[f+88>>2]){d=0;o=v[a+26336>>2];if((o|0)>=1){while(1){r:{s:{if((d|0)!=(e|0)){break s}b=v[g+24>>2];if(!b){break s}h=x[k+(b<<1)>>1]+x[l>>1]>>>1|0;b=c;j=v[c>>2];break r}b=(f- -64|0)+(d<<2)|0;h=v[b>>2];j=x[k+(v[g+20>>2]+d<<1)>>1]}v[b>>2]=h+j;d=d+1|0;if((o|0)!=(d|0)){continue}break}}i=i+1|0}if((m|0)>=v[f+92>>2]){d=0;o=v[a+26336>>2];if((o|0)>=1){while(1){t:{u:{if((d|0)!=(e|0)){break u}b=v[g+32>>2];if(!b){break u}h=x[k+(b<<1)>>1]+x[l>>1]>>>1|0;b=c;j=v[c>>2];break t}b=(f- -64|0)+(d<<2)|0;h=v[b>>2];j=x[k+(v[g+28>>2]+d<<1)>>1]}v[b>>2]=h+j;d=d+1|0;if((o|0)!=(d|0)){continue}break}}i=i+1|0}if((m|0)>=v[f+96>>2]){d=0;o=v[a+26336>>2];if((o|0)>=1){while(1){v:{w:{if((d|0)!=(e|0)){break w}b=v[g+40>>2];if(!b){break w}h=x[k+(b<<1)>>1]+x[l>>1]>>>1|0;b=c;j=v[c>>2];break v}b=(f- -64|0)+(d<<2)|0;h=v[b>>2];j=x[k+(v[g+36>>2]+d<<1)>>1]}v[b>>2]=h+j;d=d+1|0;if((o|0)!=(d|0)){continue}break}}i=i+1|0}if((m|0)>=v[f+100>>2]){d=0;o=v[a+26336>>2];if((o|0)>=1){while(1){x:{y:{if((d|0)!=(e|0)){break y}b=v[g+48>>2];if(!b){break y}h=x[k+(b<<1)>>1]+x[l>>1]>>>1|0;b=c;j=v[c>>2];break x}b=(f- -64|0)+(d<<2)|0;h=v[b>>2];j=x[k+(v[g+44>>2]+d<<1)>>1]}v[b>>2]=h+j;d=d+1|0;if((o|0)!=(d|0)){continue}break}}i=i+1|0}if((m|0)>=v[f+104>>2]){d=0;o=v[a+26336>>2];if((o|0)>=1){while(1){z:{A:{if((d|0)!=(e|0)){break A}b=v[g+56>>2];if(!b){break A}h=x[k+(b<<1)>>1]+x[l>>1]>>>1|0;b=c;j=v[c>>2];break z}b=(f- -64|0)+(d<<2)|0;h=v[b>>2];j=x[k+(v[g+52>>2]+d<<1)>>1]}v[b>>2]=h+j;d=d+1|0;if((o|0)!=(d|0)){continue}break}}i=i+1|0}if((m|0)>=v[f+108>>2]){d=0;m=v[a+26336>>2];if((m|0)>=1){while(1){B:{C:{if((d|0)!=(e|0)){break C}b=v[g+64>>2];if(!b){break C}h=x[k+(b<<1)>>1]+x[l>>1]>>>1|0;b=c;j=v[c>>2];break B}b=(f- -64|0)+(d<<2)|0;h=v[b>>2];j=x[k+(v[g+60>>2]+d<<1)>>1]}v[b>>2]=h+j;d=d+1|0;if((m|0)!=(d|0)){continue}break}}i=i+1|0}c=0;b=v[a+26336>>2];if((b|0)<=0){break k}k=D+(f- -64|0)|0;while(1){g=x[l>>1];g=(c|0)!=(e|0)?((v[(f- -64|0)+(c<<2)>>2]-v[k>>2]|0)/(i|0)|0)+g|0:g;g=(g|0)<65535?g:65535;u[((q<<3)+r|0)+(c<<1)>>1]=(g|0)>0?g:0;c=c+1|0;if((b|0)!=(c|0)){continue}break}}q=q+1|0;e=x[a+26310>>1];if((q|0)<(e-2|0)){continue}break}}if(p>>>0>=4){gc((v[a+26352>>2]+(B(p-2|0,e)<<3)|0)+16|0,z+16|0,(e<<3)-32|0)}m=x[a+26310>>1];e=z;z=y;p=p+1|0;if((p|0)<(x[a+26308>>1]-2|0)){continue}break}}gc((v[a+26352>>2]+(B(p-2|0,m)<<3)|0)+16|0,y+16|0,(m<<3)-32|0);c=v[a+26352>>2];a=x[a+26310>>1];gc((c+(B(a,p-1|0)<<3)|0)+16|0,r+16|0,(a<<3)-32|0);dc(n);dc(v[f+112>>2]);Qb=f+1136|0;return}c=v[a+190640>>2];D:{if(c){b=v[a+25208>>2];v[f+20>>2]=58426;v[f+16>>2]=b;zd(c,4338,f+16|0);break D}c=v[a+25208>>2];v[f+4>>2]=58426;v[f>>2]=c;wc(v[252391],4338,f)}}sd(a+190484|0,1);L()}function yE(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=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,M=0,N=0,Q=0;h=Qb-608|0;Qb=h;a:{b:{c:{d:{f=v[a+56>>2];r=Ub[v[v[f>>2]+28>>2]](f)|0;if((r|0)==-1){break d}f=v[a+56>>2];w=Ub[v[v[f>>2]+28>>2]](f)|0;if((w|0)==-1){break d}f=v[a+56>>2];A=Ub[v[v[f>>2]+28>>2]](f)|0;if((A|0)==-1){break d}f=v[a+56>>2];D=Ub[v[v[f>>2]+28>>2]](f)|0;if((D|0)==-1){break d}v[a+68>>2]=v[a+68>>2]+4;f=v[a+56>>2];B=Ub[v[v[f>>2]+28>>2]](f)|0;if((B|0)==-1){break d}f=v[a+56>>2];C=Ub[v[v[f>>2]+28>>2]](f)|0;if((C|0)==-1){break d}f=v[a+56>>2];F=Ub[v[v[f>>2]+28>>2]](f)|0;if((F|0)==-1){break d}f=v[a+56>>2];i=Ub[v[v[f>>2]+28>>2]](f)|0;if((i|0)==-1){break d}v[a+68>>2]=v[a+68>>2]+4;f=v[a+56>>2];m=Ub[v[v[f>>2]+28>>2]](f)|0;if((m|0)==-1){break d}f=v[a+56>>2];E=Ub[v[v[f>>2]+28>>2]](f)|0;if((E|0)==-1){break d}f=v[a+56>>2];o=Ub[v[v[f>>2]+28>>2]](f)|0;if((o|0)==-1){break d}f=v[a+56>>2];G=Ub[v[v[f>>2]+28>>2]](f)|0;if((G|0)==-1){break d}v[a+68>>2]=v[a+68>>2]+4;f=v[a+56>>2];H=Ub[v[v[f>>2]+28>>2]](f)|0;if((H|0)==-1){break d}f=v[a+56>>2];s=Ub[v[v[f>>2]+28>>2]](f)|0;if((s|0)==-1){break d}f=v[a+56>>2];x=Ub[v[v[f>>2]+28>>2]](f)|0;if((x|0)==-1){break d}f=v[a+56>>2];k=Ub[v[v[f>>2]+28>>2]](f)|0;if((k|0)==-1){break d}v[a+68>>2]=v[a+68>>2]+4;f=v[a+56>>2];K=Ub[v[v[f>>2]+28>>2]](f)|0;if((K|0)==-1){break d}v[a+68>>2]=v[a+68>>2]+1;e:{D=D|(w<<16|r<<24|A<<8);if(D){C=i|(C<<16|B<<24|F<<8);if(C){break e}}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229964,0);break b}f:{i=v[a+24>>2];g:{if(i>>>0<(D>>>0)/10>>>0){break g}F=k|(s<<16|H<<24|x<<8);f=v[a+28>>2];G=G|(E<<16|m<<24|o<<8);if(f>>>0<(C>>>0)/10>>>0|(G>>>0)/10>>>0>i>>>0){break g}if(f>>>0>=(F>>>0)/10>>>0){break f}}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229914,0);v[a+72>>2]=1;break b}if(!ey(a,h+28|0)){break d}t=v[h+28>>2];s=t&1;if(s){if(!ey(a,h+24|0)){break d}f=v[h+24>>2];j=f&3;M=f>>>10&3;N=f>>>8&3;Q=f>>>6&3;I=f>>>4&3;J=f>>>2&3;p=f>>>14&1;n=f>>>12&3}E=t>>>15&1;H=t&2;if(!(E|!H)){f=v[a+56>>2];f=Ub[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break d}v[a+68>>2]=v[a+68>>2]+1;v[h+12>>2]=f&128?f|-256:f;f=v[a+56>>2];f=Ub[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break d}v[a+68>>2]=v[a+68>>2]+1;v[h+4>>2]=f&128?f|-256:f;f=v[a+56>>2];f=Ub[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break d}v[a+68>>2]=v[a+68>>2]+1;v[h+16>>2]=f&128?f|-256:f;f=v[a+56>>2];f=Ub[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break d}v[a+68>>2]=v[a+68>>2]+1;v[h+8>>2]=f&128?f|-256:f}if(!Jr(a,h+20|0)){break d}f=0;w=fc(16);v[299999]=0;l=S(3315,w|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break a}h:{i:{if(e){i=0;while(1){k=cy(a,v[(f<<2)+d>>2]);if(!k){break c}j:{if((Ub[v[v[k>>2]+8>>2]](k)|0)==1){i=v[k+8>>2]+i|0;break j}if((Ub[v[v[k>>2]+8>>2]](k)|0)!=3){break j}Tc(l,k)}f=f+1|0;if((f|0)!=(e|0)){continue}break}if(i>>>0>1){break i}f=i}x=s;break h}g=i-1|0;x=0;while(1){x=x+1|0;f=g>>>0>1;g=g>>>1|0;if(f){continue}break}f=i}r=ed(f,4);if(e){i=0;while(1){m=cy(a,v[(z<<2)+d>>2]);k:{if(!m){break k}if((Ub[v[v[m>>2]+8>>2]](m)|0)!=1){break k}k=v[m+8>>2];if(!k){break k}q=k&3;g=0;if(k-1>>>0>=3){u=k&-4;while(1){o=r+(i<<2)|0;k=g<<2;v[o>>2]=v[k+v[m+12>>2]>>2];v[o+4>>2]=v[v[m+12>>2]+(k|4)>>2];v[o+8>>2]=v[v[m+12>>2]+(k|8)>>2];v[o+12>>2]=v[v[m+12>>2]+(k|12)>>2];g=g+4|0;i=i+4|0;u=u-4|0;if(u){continue}break}}if(!q){break k}while(1){v[r+(i<<2)>>2]=v[v[m+12>>2]+(g<<2)>>2];g=g+1|0;i=i+1|0;q=q-1|0;if(q){continue}break}}z=z+1|0;if((z|0)!=(e|0)){continue}break}}A=0;B=0;m=0;z=0;u=0;q=0;o=0;l:{d=0;m:{if(!s){break m}o=1119072;n:{o:{switch(j|0){case 1:o=1119312;j=0;break n;case 0:break n;default:break o}}if(!v[l+8>>2]){break l}o=v[v[v[w>>2]>>2]+8>>2];j=1}q=1119568;p:{q:{switch(J|0){case 1:q=1119920;break p;case 2:q=1120288;break p;case 0:break p;default:break q}}if(y[l+8>>2]<=j>>>0){break l}q=v[v[v[l>>2]+(j<<2)>>2]+8>>2];j=j+1|0}u=1120640;r:{s:{switch(I|0){case 1:u=1120864;break r;case 2:u=1121088;break r;case 0:break r;default:break s}}if(y[l+8>>2]<=j>>>0){break l}u=v[v[v[l>>2]+(j<<2)>>2]+8>>2];j=j+1|0}m=1121312;z=1121312;t:{u:{switch(Q|0){case 1:z=1121408;break t;case 0:break t;default:break u}}if(y[l+8>>2]<=j>>>0){break l}z=v[v[v[l>>2]+(j<<2)>>2]+8>>2];j=j+1|0}v:{w:{switch(N|0){case 1:m=1121408;break v;case 0:break v;default:break w}}if(y[l+8>>2]<=j>>>0){break l}m=v[v[v[l>>2]+(j<<2)>>2]+8>>2];j=j+1|0}A=1121312;B=1121312;x:{y:{switch(M|0){case 1:B=1121408;break x;case 0:break x;default:break y}}if(y[l+8>>2]<=j>>>0){break l}B=v[v[v[l>>2]+(j<<2)>>2]+8>>2];j=j+1|0}z:{A:{switch(n|0){case 1:A=1121408;break z;case 0:break z;default:break A}}if(y[l+8>>2]<=j>>>0){break l}A=v[v[v[l>>2]+(j<<2)>>2]+8>>2];j=j+1|0}d=1118448;if(!p){break m}if(y[l+8>>2]<=j>>>0){break l}d=v[v[v[l>>2]+(j<<2)>>2]+8>>2]}k=d;Vc(l);dc(w);B:{if(s){d=v[a+144>>2];v[d+4>>2]=0;v[d+8>>2]=0;v[h+32>>2]=0;d=Kr(d,4);v[h+40>>2]=0;v[h+44>>2]=0;v[h+36>>2]=d;g=1;while(1){d=v[a+144>>2];e=(h+32|0)+(g<<4)|0;v[e>>2]=g;d=Kr(d,4);v[e+8>>2]=0;v[e+12>>2]=0;v[e+4>>2]=d;g=g+1|0;if((g|0)!=32){continue}break}v[h+544>>2]=259;d=Kr(v[a+144>>2],4);v[h+552>>2]=2;v[h+556>>2]=0;v[h+548>>2]=d;v[h+560>>2]=515;d=Kr(v[a+144>>2],4);v[h+568>>2]=3;v[h+572>>2]=0;v[h+564>>2]=d;v[h+576>>2]=523;g=0;d=Kr(v[a+144>>2],4);v[h+604>>2]=0;v[h+596>>2]=0;v[h+600>>2]=-1;v[h+584>>2]=7;v[h+588>>2]=0;v[h+580>>2]=d;AE(h+32|0,35);i=ed(f+1|0,16);C:{if(!f){break C}e=f&3;if(f-1>>>0>=3){d=f&-4;while(1){n=(g<<4)+i|0;v[n+8>>2]=0;v[n>>2]=g;p=g|1;n=(p<<4)+i|0;v[n+8>>2]=0;v[n>>2]=p;p=g|2;n=(p<<4)+i|0;v[n+8>>2]=0;v[n>>2]=p;p=g|3;n=(p<<4)+i|0;v[n+8>>2]=0;v[n>>2]=p;g=g+4|0;d=d-4|0;if(d){continue}break}}if(e){while(1){d=(g<<4)+i|0;v[d+8>>2]=0;v[d>>2]=g;g=g+1|0;e=e-1|0;if(e){continue}break}}if(!f){break C}g=0;while(1){Eh(v[a+144>>2],h,h+32|0);d=v[h>>2];D:{if((d|0)>=513){e=d-512|0;E:{if(f>>>0<=g>>>0){break E}while(1){v[((g<<4)+i|0)+4>>2]=0;g=g+1|0;e=e-1|0;if(!e){break E}if(f>>>0>g>>>0){continue}break}}v[h>>2]=e;break D}if((d|0)>=257){if(!g){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,247986,0);uc(r);uc(i);break b}e=d-256|0;F:{if(f>>>0<=g>>>0){break F}while(1){d=(g<<4)+i|0;v[d+4>>2]=v[d-12>>2];g=g+1|0;e=e-1|0;if(!e){break F}if(f>>>0>g>>>0){continue}break}}v[h>>2]=e;break D}v[((g<<4)+i|0)+4>>2]=d;g=g+1|0}if(f>>>0>g>>>0){continue}break}}d=(f<<4)+i|0;v[d+4>>2]=0;v[d+8>>2]=-1;AE(i,f);d=v[a+144>>2];v[d+4>>2]=0;v[d+8>>2]=0;break B}nS(a,x);Ul(v[a+76>>2]);i=0}d=t>>>10|0;I=t&16384?d|-16:d&31;J=t>>>9&1;p=t>>>7&3;n=t>>>6&1;e=t>>>4&3;d=t>>>2&3;G:{if(!H){d=sE(a,s,0,D,C,v[h+20>>2],d,f,i,x,r,J,p,n,e,I,o,q,u,z,m,B,A,k,E,h+12|0,h+4|0);break G}dy(a,E,0);d=sE(a,s,1,D,C,v[h+20>>2],d,f,i,x,r,J,p,n,e,I,o,q,u,z,m,B,A,k,E,h+12|0,h+4|0)}uc(r);H:{if(c){c=K&7;I:{if(v[a+28>>2]!=-1){break I}b=C+F|0;if(b>>>0<=y[a+32>>2]){break I}gy(v[a+40>>2],b,v[a+36>>2])}ik(v[a+40>>2],d,G,F,c);if(!d){break H}Ub[v[v[d>>2]+4>>2]](d);break H}v[d+4>>2]=b;Tc(v[a+48>>2],d)}if(!s){break b}uc(i);break b}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,247946,0);Vc(l);dc(w);uc(r);break b}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,258367,0);break b}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,248020,0);Vc(l);dc(w)}Qb=h+608|0;return}a=P()|0;O()|0;dc(w);T(a|0);L()}function Ana(a,b){a=a|0;b=b|0;var 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;c=Qb-144|0;Qb=c;a:{b:{c:{d:{e:{f:{g:{if(!w[a+144|0]){a=vc(c+120|0,231625,242011,164,226800,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break g}b=P()|0;O()|0;qc(a);T(b|0);L()}o=Bh();v[c+112>>2]=0;v[c+116>>2]=v[282402];v[299999]=0;V(4503,c+104|0,b|0);b=v[299999];v[299999]=0;h:{i:{j:{k:{l:{m:{n:{o:{p:{if((b|0)!=1){v[299999]=0;h=v[c+104>>2];b=Z(4504,h|0,c+112|0,0,0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break m}if(b){break n}v[299999]=0;b=aa(4369,c+120|0,v[282394],242011,1270,344649,0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break p}v[299999]=0;R(4370,b|0);e=v[299999];v[299999]=0;if((e|0)!=1){break g}d=W(989228)|0;j=O()|0;qc(b);break o}d=P()|0;O()|0;break b}d=W(989228)|0;j=O()|0}if((ja(989228)|0)!=(j|0)){break c}b=ea(d|0)|0;e=v[v[a>>2]+64>>2];v[299999]=0;U(e|0,a|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)==1){break l}v[299999]=0;ba(4230);b=v[299999];v[299999]=0;if((b|0)!=1){break n}d=P()|0;O()|0;break c}v[299999]=0;m=Nc(c+112|0,320559,-1);b=v[299999];v[299999]=0;q:{r:{if((b|0)!=1){v[299999]=0;k=Nc(c+112|0,309787,-1);b=v[299999];v[299999]=0;if((b|0)==1){break r}v[299999]=0;b=Nc(c+112|0,326018,-1);e=v[299999];v[299999]=0;if((e|0)==1){break i}s:{if(b){v[299999]=0;b=Nc(c+112|0,326052,-1);e=v[299999];v[299999]=0;if((e|0)==1){break i}l=!b;if(!m|!k){break s}if(b){break q}break j}l=1;if(!m){break s}if(k){break j}}v[299999]=0;Q(4433,a+60|0,224902)|0;b=v[299999];v[299999]=0;if((b|0)==1){break i}break h}d=P()|0;O()|0;break c}d=P()|0;O()|0;break c}v[299999]=0;a=aa(4369,c+120|0,283536,242011,1281,344649,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break k}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break g}d=P()|0;O()|0;qc(a);break c}d=P()|0;O()|0;break c}d=P()|0;O()|0;v[299999]=0;ba(4230);a=v[299999];v[299999]=0;if((a|0)!=1){break c}break a}d=P()|0;O()|0;break c}v[299999]=0;Q(4433,a+60|0,325970)|0;b=v[299999];v[299999]=0;l=1;if((b|0)!=1){break h}}d=P()|0;O()|0;break c}e=v[v[h>>2]+16>>2];b=0;v[299999]=0;j=S(e|0,h|0)|0;e=v[299999];v[299999]=0;t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{if((e|0)!=1){i=a+52|0;e=v[a+140>>2];g=v[a+132>>2]>1?e:-1;if(g){d=g;I:{while(1){v[299999]=0;n=Z(4504,h|0,c+112|0,0,0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break x}if(!n){break I}v[299999]=0;v[c+96>>2]=0;Q(4336,c+96|0,h|0)|0;f=v[299999];v[299999]=0;e=b+1|0;if((f|0)==1){break H}v[299999]=0;la(4830,c+120|0,a|0,c+112|0,c+96|0,!m|0,!k|0,l|0);f=v[299999];v[299999]=0;if((f|0)==1){break G}f=v[c+96>>2];v[c+96>>2]=0;J:{if(!f){break J}v[299999]=0;p=v[f+4>>2]-1|0;v[f+4>>2]=p;r=v[299999];v[299999]=0;if((r|0)==1){break a}if(p){break J}v[299999]=0;R(4338,f|0);f=v[299999];v[299999]=0;if((f|0)==1){break a}}v[c+96>>2]=0;v[c+100>>2]=v[282402];f=v[c+112>>2];v[c+56>>2]=v[(f?f+12|0:1129608)>>2];A[c+48>>3]=+(n|0)*.0009765625;v[299999]=0;Y(4635,c+96|0,237299,c+48|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break F}v[299999]=0;U(4547,c+72|0,i|0,c+120|0);f=v[299999];v[299999]=0;if((f|0)==1){break E}v[299999]=0;U(4547,c+80|0,c+72|0,c+96|0);f=v[299999];v[299999]=0;if((f|0)==1){break D}v[299999]=0;U(4546,c+88|0,c+80|0,357671);f=v[299999];v[299999]=0;if((f|0)==1){break C}v[299999]=0;Q(4535,i|0,c+88|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break B}ec(c+88|0);ec(c+80|0);ec(c+72|0);f=v[v[o>>2]+36>>2];v[299999]=0;U(f|0,o|0,a|0,c+112|0);f=v[299999];v[299999]=0;if((f|0)==1){break F}v[299999]=0;R(4781,h|0);f=v[299999];v[299999]=0;if((f|0)==1){break F}f=v[v[h>>2]+16>>2];v[299999]=0;f=S(f|0,h|0)|0;n=v[299999];v[299999]=0;if((n|0)==1){break F}ec(c+96|0);ec(c+120|0);j=f;b=e;d=d-1|0;if(d){continue}break}b=g}e=v[a+140>>2]}if((e|0)>-1){break v}v[a+140>>2]=b;break v}d=P()|0;O()|0;break c}d=W(989228)|0;g=O()|0;break w}d=W(989228)|0;g=O()|0;ec(c+96|0);break w}d=W(989228)|0;g=O()|0;break y}d=W(989228)|0;g=O()|0;break y}d=W(989228)|0;g=O()|0;break z}d=W(989228)|0;g=O()|0;break A}d=W(989228)|0;g=O()|0;ec(c+88|0)}ec(c+80|0)}ec(c+72|0)}ec(c+96|0);ec(c+120|0);break w}d=W(989228)|0;g=O()|0;e=b}if((ja(989228)|0)!=(g|0)){break c}g=ea(d|0)|0;v[299999]=0;d=Nl(g,v[282394]);f=v[299999];v[299999]=0;if((f|0)==1){break d}K:{if(!d){d=v[a+132>>2];if(v[a+140>>2]<=-1){v[a+140>>2]=(d|0)>2?e:b}b=v[v[a>>2]+64>>2];v[299999]=0;U(b|0,a|0,g|0,(d|0)<2|0);b=v[299999];v[299999]=0;if((b|0)!=1){break K}break d}b=v[v[a>>2]+64>>2];v[299999]=0;U(b|0,a|0,g|0,1);b=v[299999];v[299999]=0;if((b|0)==1){break d}}v[299999]=0;ba(4230);b=v[299999];v[299999]=0;if((b|0)==1){break u}}v[a+68>>2]=j;v[299999]=0;R(4601,h|0);b=v[299999];v[299999]=0;if((b|0)!=1){b=v[a+12>>2];if(!b){break t}e=v[v[b>>2]+48>>2];v[299999]=0;R(e|0,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break t}}d=P()|0;O()|0;break c}d=P()|0;O()|0;break c}L:{M:{b=v[a+8>>2];if(!(b|k)){v[299999]=0;a=aa(4369,c+120|0,244337,242011,1335,344649,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break M}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break g}d=P()|0;O()|0;qc(a);break c}if(!b&l){v[299999]=0;a=aa(4369,c+120|0,325987,242011,1337,344649,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break L}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break g}d=P()|0;O()|0;qc(a);break c}N:{O:{P:{Q:{R:{S:{T:{U:{if(b){v[c+120>>2]=0;v[c+124>>2]=v[282402];V:{if(!(m?k:0)){e=v[b+16>>2];g=v[b+20>>2];d=v[b+12>>2];b=v[b+8>>2];v[299999]=0;v[c+16>>2]=b;v[c+20>>2]=d;s=c,t=Hib(e,g,32),v[s+24>>2]=t;v[c+28>>2]=Tb;Y(4635,c+120|0,292502,c+16|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break V}break f}if(!l){break V}e=v[b+20>>2];g=v[b+12>>2];v[c+32>>2]=v[b+8>>2];v[c+36>>2]=g;v[c+40>>2]=e;v[299999]=0;Y(4635,c+120|0,292390,c+32|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break f}}v[299999]=0;U(4546,c+88|0,c+120|0,357671);b=v[299999];v[299999]=0;if((b|0)==1){break U}v[299999]=0;U(4547,c+96|0,c+88|0,i|0);b=v[299999];v[299999]=0;if((b|0)==1){break T}v[299999]=0;Q(4535,i|0,c+96|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break S}ec(c+96|0);ec(c+88|0);b=v[a+8>>2];e=v[b+12>>2];b=v[b+8>>2];a=v[a+68>>2];v[299999]=0;q=+(a|0);A[c+8>>3]=q*.0009765625;A[c>>3]=+(B(B(b,e),3)|0)/q;Y(4635,c+120|0,273908,c|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break Q}v[299999]=0;U(4547,c+96|0,i|0,c+120|0);a=v[299999];v[299999]=0;if((a|0)==1){break P}v[299999]=0;Q(4535,i|0,c+96|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break O}ec(c+96|0);ec(c+120|0)}a=v[c+104>>2];v[c+104>>2]=0;if(!a){break N}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;e=v[299999];v[299999]=0;if((e|0)!=1){if(b){break N}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break N}}break a}d=P()|0;O()|0;break e}d=P()|0;O()|0;break R}d=P()|0;O()|0;ec(c+96|0)}ec(c+88|0);break e}d=P()|0;O()|0;break e}d=P()|0;O()|0;break e}d=P()|0;O()|0;ec(c+96|0);break e}ec(c+112|0);Qb=c+144|0;return}d=P()|0;O()|0;break c}d=P()|0;O()|0;break c}L()}d=P()|0;O()|0}ec(c+120|0);break c}d=P()|0;O()|0;v[299999]=0;ba(4230);a=v[299999];v[299999]=0;if((a|0)==1){break a}}ec(c+104|0)}ec(c+112|0);T(d|0);L()}W(0)|0;O()|0;lc();L()}function zCa(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,p=0,q=0,r=0,s=0,t=0,u=0,x=0;e=Qb-112|0;Qb=e;v[e+88>>2]=13;v[e+72>>2]=13;a:{b:{c:{if(v[a+20>>2]==4){break c}d:{e:{f:{d=v[a+32>>2];if((d|0)>=0){v[e+100>>2]=v[a+36>>2];v[e+96>>2]=d;v[e+88>>2]=9;qf(e+88|0,b,e+72|0,0);if(v[e+72>>2]==8){break f}kc(1,-1,279099,0);hc(e+72|0);hc(e+88|0)}if(c){break e}c=1;break d}hc(e+72|0);hc(e+88|0);g:{if(!c){break g}h:{i:{switch(v[a+20>>2]-1|0){case 0:case 1:case 2:b=v[v[294330]+128>>2];break h;case 4:case 5:b=v[v[294330]+132>>2];break h;case 7:case 8:b=v[v[294330]+136>>2];break h;case 9:case 10:break i;default:break g}}b=v[v[294330]+140>>2]}if(!b){break e}}d=fc(48);v[d+16>>2]=0;v[d+20>>2]=0;v[d+40>>2]=-1;v[d>>2]=0;v[d+32>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+4>>2]=v[a+20>>2];b=v[a+36>>2];v[d+8>>2]=v[a+32>>2];v[d+12>>2]=b;break c}c=0;if(!v[a+16>>2]){break d}if(Ub[v[v[a>>2]+8>>2]](a)|!v[v[294330]+144>>2]){break d}d=fc(48);v[d+16>>2]=0;v[d+20>>2]=0;v[d+40>>2]=-1;v[d>>2]=2;v[d+4>>2]=1;v[d+32>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;b=v[a+16>>2];a=fc(8);v[299999]=0;Q(3064,a|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}v[d+16>>2]=a;break c}b=v[a+16>>2];j:{if(!b){break j}b=yS(v[294330],b);if(!b){break j}d=XS(b,0,0,Ub[v[v[a>>2]+8>>2]](a)|0);if(d){break c}}b=Ub[v[v[a>>2]+8>>2]](a)|0;k:{l:{m:{if(!c){if(b){break m}g=v[a+160>>2];if(!g){break m}d=fc(48);v[d+16>>2]=0;v[d+20>>2]=0;v[d+40>>2]=-1;v[d>>2]=2;v[d+4>>2]=1;v[d+32>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;b=fc(8);a=v[g+4>>2];v[299999]=0;Q(3063,b|0,a|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break l}v[d+16>>2]=b;break c}if(b){break m}d=v[a+160>>2];if(!d){break m}b=fc(8);d=v[d+4>>2];v[299999]=0;g=Q(3063,b|0,d|0)|0;d=v[299999];v[299999]=0;n:{if((d|0)!=1){f=xS(v[294330],g,e+68|0,e+56|0);Dc(g);dc(b);if(!f){break m}s=A[e+56>>3];b=v[e+68>>2];g=qu(v[f+4>>2]);if(g>>>0>=9|!(375>>>g&1)){break n}d=fc(48);v[d+40>>2]=-1;A[d+24>>3]=s;v[d+20>>2]=b;v[d+16>>2]=f;v[d>>2]=1;v[d+32>>2]=0;v[d+4>>2]=v[(g<<2)+896892>>2];break c}break l}dc(Dc(f))}o=v[a+16>>2];o:{if(!o){break o}d=0;p:{q:{q=v[v[294330]+60>>2];b=v[q>>2];r:{if(v[b+8>>2]<1){break r}while(1){l=v[v[b>>2]+(p<<2)>>2];t=l;f=0;h=Qb-32|0;Qb=h;s:{t:{u:{v:{if(mN(v[v[l>>2]+4>>2],v[o+4>>2],2)){break v}g=fc(8);v[299999]=0;m=S(3312,g|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){f=v[o+4>>2];while(1){w:{j=w[f|0];b=j-32|0;if(!((1<>>0<=13:0)|(j|0)==95)){if(!j){break w}gd(m,((j-97&255)>>>0<26?j&223:j)<<24>>24)}f=f+1|0;continue}break}j=v[l>>2];b=fc(8);v[299999]=0;n=S(3312,b|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break u}f=v[j+4>>2];while(1){k=w[f|0];j=k-32|0;if((1<>>0<=13:0)|(k|0)==95){f=f+1|0;continue}else{if(k){gd(n,((k-97&255)>>>0<26?k&223:k)<<24>>24);f=f+1|0;continue}if(!Rf(m,n)){Dc(m);dc(g);Dc(n);dc(b);f=8;break v}k=zS(o);f=zS(v[l>>2]);if(!Rf(k,f)){Dc(m);dc(g);Dc(n);dc(b);dc(Dc(k));dc(Dc(f));f=7;break v}jy(m,h+28|0,h+24|0);jy(n,h+20|0,h+16|0);l=Rf(m,n);jy(k,h+12|0,h+8|0);jy(f,h+4|0,h);j=Rf(k,f);Dc(m);dc(g);Dc(n);dc(b);dc(Dc(k));dc(Dc(f));if(!(v[h+28>>2]!=v[h+20>>2]|l)){f=6;if(v[h+24>>2]==v[h+16>>2]){break v}}if(!(v[h+12>>2]!=v[h+4>>2]|j)){f=5;if(v[h+8>>2]==v[h>>2]){break v}}if(!l){f=4;if(v[h+24>>2]==v[h+16>>2]){break v}}if(!j){f=3;if(v[h+8>>2]==v[h>>2]){break v}}f=l?!j:2;break v}}}f=P()|0;O()|0;break t}Qb=h+32|0;b=f;break s}f=P()|0;O()|0;g=b}dc(g);T(f|0);L()}g=(b|0)>(r|0);d=g?t:d;r=g?b:r;p=p+1|0;b=v[q>>2];if((p|0)>2]){continue}break}if(!d){break r}b=v[d+4>>2];g=fc(8);v[299999]=0;i=Q(3064,g|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break q}v[e+108>>2]=v[d+8>>2];v[e+68>>2]=v[d+12>>2]}b=i;break p}a=P()|0;O()|0;dc(g);break a}if(!b){break o}d=fc(48);v[d+40>>2]=-1;v[d+16>>2]=b;v[d>>2]=1;v[d+32>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+20>>2]=v[e+68>>2];b=Ub[v[v[a>>2]+8>>2]](a)|0;g=v[e+108>>2];i=g&-2;x:{if(b){if((i|0)==2){v[d+4>>2]=10;break c}if((g|0)!=4){break x}y:{switch(qu(v[v[d+16>>2]+4>>2])-4|0){case 3:v[d+4>>2]=9;break c;case 0:break y;default:break x}}v[d+4>>2]=10;break c}if((i|0)==2){v[d+4>>2]=5;break c}if(g>>>0<=1){v[d+4>>2]=1;break c}if((g|0)!=4){break x}z:{switch(qu(v[v[d+16>>2]+4>>2])-4|0){case 2:v[d+4>>2]=3;break c;case 0:break z;default:break x}}v[d+4>>2]=6;break c}b=v[d+16>>2];if(b){dc(Dc(b))}b=v[d+32>>2];if(b){dc(Dc(b))}dc(d)}if(!(Ub[v[v[a>>2]+8>>2]](a)|0)){A:{if(c){break A}b=v[a+16>>2];if(!b){break A}B:{b=Gj(v[v[294330]+116>>2],b);if(!b){b=0;break B}i=fc(8);v[299999]=0;b=Q(3064,i|0,b|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){break B}a=P()|0;O()|0;dc(i);break a}if(!b){break A}d=fc(48);v[d+16>>2]=0;v[d+20>>2]=0;v[d+40>>2]=-1;v[d>>2]=2;v[d+4>>2]=1;v[d+32>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+16>>2]=b;break c}d=v[a+24>>2];b=fc(8);v[299999]=0;f=d>>>6&1|d>>>17&2|(d&1?0:d&2?8:4);g=v[(f<<2)+896672>>2];i=Q(3063,b|0,g|0)|0;d=v[299999];v[299999]=0;C:{if((d|0)!=1){if(c){break C}v[e+20>>2]=v[a+16>>2];v[e+16>>2]=g;kc(0,-1,345030,e+16|0);d=fc(48);v[d+16>>2]=0;v[d+20>>2]=0;v[d+40>>2]=f;v[d>>2]=2;v[d+4>>2]=1;v[d+32>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+16>>2]=b;break c}break l}d=0;c=xS(v[294330],i,e+68|0,e+56|0);Dc(i);dc(b);if(!c){break c}b=XS(c,v[e+68>>2],A[e+56>>3],0);if(!b){break c}v[e+4>>2]=v[a+16>>2];v[e>>2]=g;kc(0,-1,345030,e);v[b+40>>2]=f;d=b;break c}D:{if(c){break D}E:{i=v[a+16>>2];if(!i){break E}g=v[294330];b=Ub[v[v[a>>2]+12>>2]](a)|0;d=0;c=v[g+120>>2];F:{if(v[c+8>>2]>=1){while(1){c=v[v[c>>2]+(d<<2)>>2];if(!Rf(v[c>>2],i)&(b|0)==v[c+4>>2]){break F}d=d+1|0;c=v[g+120>>2];if((d|0)>2]){continue}break}}c=0}if(!c){break E}d=fc(48);v[d+16>>2]=0;v[d+20>>2]=0;v[d+40>>2]=-1;v[d>>2]=2;v[d+4>>2]=7;v[d+32>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;b=v[c+8>>2];a=fc(8);v[299999]=0;Q(3064,a|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}v[d+16>>2]=a;b=v[c+12>>2];a=fc(8);v[299999]=0;Q(3064,a|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}v[d+32>>2]=a;v[d+36>>2]=v[c+4>>2];break c}g=v[294330];b=v[a+164>>2];if(b){d=v[b>>2]}else{d=0}i=Ub[v[v[a>>2]+12>>2]](a)|0;c=0;b=v[g+124>>2];G:{if(v[b+8>>2]>=1){while(1){b=v[v[b>>2]+(c<<2)>>2];if(!Rf(v[b>>2],d)&(i|0)==v[b+4>>2]){break G}c=c+1|0;b=v[g+124>>2];if((c|0)>2]){continue}break}}b=0}if(!b){break D}c=v[b+8>>2];v[e+52>>2]=v[a+16>>2];v[e+48>>2]=c;kc(0,-1,344992,e+48|0);d=fc(48);v[d+16>>2]=0;v[d+20>>2]=0;v[d+40>>2]=-1;v[d>>2]=2;v[d+4>>2]=7;v[d+24>>2]=0;v[d+28>>2]=0;u=d,x=iu(v[b+8>>2]),v[u+16>>2]=x;u=d,x=iu(v[b+12>>2]),v[u+32>>2]=x;v[d+36>>2]=v[b+4>>2];break c}d=0;H:{c=v[v[294330]+52>>2];b=v[a+164>>2];if(b){b=v[b>>2]}else{b=0}b=Gj(c,b);if(!b){b=0;break H}i=fc(8);v[299999]=0;b=Q(3064,i|0,b|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){break H}a=P()|0;O()|0;dc(i);break a}if(!b){break c}c=qu(v[b+4>>2])-3|0;if(c>>>0>=6|!(55>>>c&1)){break k}d=fc(48);v[d+40>>2]=-1;v[d+24>>2]=0;v[d+28>>2]=0;v[d+20>>2]=0;v[d+16>>2]=b;v[d>>2]=1;v[d+32>>2]=0;v[d+4>>2]=v[(c<<2)+896868>>2];v[e+36>>2]=v[a+16>>2];v[e+32>>2]=b;kc(0,-1,344992,e+32|0);break c}a=P()|0;O()|0;dc(b);break a}dc(Dc(b))}Qb=e+112|0;return d|0}b=P()|0;O()|0;dc(a);T(b|0);L()}T(a|0);L()}function _na(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=Qb-96|0;Qb=d;a:{b:{c:{d:{e:{f:{if(!w[b+89|0]){a=vc(d+8|0,231584,241010,286,226767,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break f}b=P()|0;O()|0;qc(a);T(b|0);L()}if(w[b+63|0]){Ol(a,b+68|0);break b}v[d+88>>2]=0;v[d+80>>2]=0;v[d+84>>2]=0;v[d+72>>2]=0;v[d+76>>2]=0;v[d+64>>2]=0;v[d+68>>2]=0;v[299999]=0;j=Q(4475,d- -64|0,983320)|0;c=v[299999];v[299999]=0;g:{h:{i:{j:{k:{l:{if((c|0)!=1){if(v[b+56>>2]-3>>>0>1){break h}c=v[b+48>>2];v[299999]=0;V(4752,d+48|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break l}h=v[d+56>>2];if(h){g=d+16|0;while(1){c=v[h+8>>2];v[299999]=0;U(4711,d+8|0,b|0,c+36|0);c=v[299999];v[299999]=0;if((c|0)==1){break k}v[299999]=0;e=S(4464,d+8|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break j}v[299999]=0;c=v[v[j+12>>2]+((e>>>0)%y[j+8>>2]<<2)>>2];f=v[299999];v[299999]=0;if((f|0)==1){break j}m:{if(c){while(1){if((e|0)==v[c+12>>2]){v[299999]=0;f=Q(4461,c+16|0,d+8|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break j}if(f){break m}}c=v[c+8>>2];if(c){continue}break}}v[299999]=0;c=S(1,56)|0;e=v[299999];v[299999]=0;if((e|0)==1){break j}v[c>>2]=0;v[c+4>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;e=c+16|0;v[e>>2]=0;v[e+4>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[299999]=0;e=Q(4342,e|0,d+8|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break j}v[c+52>>2]=0;v[299999]=0;e=S(4464,e|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break j}v[c+12>>2]=e;v[299999]=0;Q(4759,j|0,c|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break j}}v[c+52>>2]=0;v[d+32>>2]=981312;v[d+8>>2]=981280;c=v[d+36>>2];if(c){e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(!e){Ub[v[v[c>>2]+4>>2]](c)}v[d+36>>2]=0}v[d+24>>2]=981312;c=v[d+28>>2];if(c){e=v[c+4>>2]-1|0;v[c+4>>2]=e;if(!e){Ub[v[v[c>>2]+4>>2]](c)}v[d+28>>2]=0}ec(g);h=v[h>>2];if(h){continue}break}}Ic(d+48|0);break g}a=P()|0;O()|0;T(a|0);L()}c=P()|0;O()|0;break c}c=P()|0;O()|0;break i}c=P()|0;O()|0;$c(d+8|0)}Ic(d+48|0);break c}n:{if(!w[b+89|0]){v[299999]=0;a=aa(4369,d+8|0,231584,241010,286,226767,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break n}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break f}c=P()|0;O()|0;qc(a);break c}v[299999]=0;c=b+92|0;h=v[c>>2];e=v[299999];v[299999]=0;if((e|0)==1){break n}o:{p:{if(!(h&1)){break p}q:{if(v[b+56>>2]-3>>>0<=1){c=v[b+48>>2];v[299999]=0;h=(v[c+48>>2]-v[c+44>>2]|0)+1|0;c=v[299999];v[299999]=0;if((c|0)!=1){break q}break n}v[299999]=0;c=v[c>>2];h=v[299999];v[299999]=0;if((h|0)==1){break n}if(!(c&4)){break p}c=v[b+112>>2];v[299999]=0;h=(v[c+68>>2]-v[c- -64>>2]|0)+1|0;c=v[299999];v[299999]=0;if((c|0)==1){break n}}if((h|0)<1){break g}break o}h=1}e=0;r:{s:{t:{u:{v:{w:{while(1){x:{v[299999]=0;$(4704,d|0,b|0,e|0,0);c=v[299999];v[299999]=0;y:{z:{A:{B:{C:{if((c|0)!=1){c=v[d>>2];v[d+32>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[299999]=0;v[d+8>>2]=0;v[d+12>>2]=0;g=Q(4475,d+8|0,983320)|0;f=v[299999];v[299999]=0;if((f|0)==1){break C}v[299999]=0;U(4762,c|0,d- -64|0,d+8|0);c=v[299999];v[299999]=0;if((c|0)==1){break B}v[299999]=0;c=v[g+24>>2];v[d+52>>2]=g;v[d+48>>2]=c;c=v[299999];v[299999]=0;if((c|0)==1){break B}c=v[d+48>>2];D:{if(!c){break D}while(1){if(v[d+52>>2]!=(d+8|0)){v[299999]=0;V(4468,d+48|0,d+8|0);c=v[299999];v[299999]=0;if((c|0)!=1){break f}break B}v[299999]=0;f=c+16|0;i=S(4464,f|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break B}v[299999]=0;c=v[v[j+12>>2]+((i>>>0)%y[j+8>>2]<<2)>>2];k=v[299999];v[299999]=0;if((k|0)==1){break B}E:{if(c){while(1){if((i|0)==v[c+12>>2]){v[299999]=0;k=Q(4461,c+16|0,f|0)|0;l=v[299999];v[299999]=0;if((l|0)==1){break B}if(k){break E}}c=v[c+8>>2];if(c){continue}break}}v[299999]=0;c=S(1,56)|0;i=v[299999];v[299999]=0;if((i|0)==1){break B}v[c>>2]=0;v[c+4>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;i=c+16|0;v[i>>2]=0;v[i+4>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[299999]=0;f=Q(4342,i|0,f|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break B}v[c+52>>2]=0;v[299999]=0;f=S(4464,f|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break B}v[c+12>>2]=f;v[299999]=0;Q(4759,j|0,c|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break B}}v[c+52>>2]=0;c=v[d+48>>2];if(!c){break D}c=v[c>>2];v[d+48>>2]=c;if(c){continue}break}}id(g);c=v[d>>2];v[d>>2]=0;if(!c){break y}v[299999]=0;g=v[c+4>>2]-1|0;v[c+4>>2]=g;f=v[299999];v[299999]=0;if((f|0)!=1){if(g){break y}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)!=1){break y}}break a}c=W(989228)|0;f=O()|0;break z}c=W(989228)|0;f=O()|0;break A}c=W(989228)|0;f=O()|0;id(g)}ec(d)}if((ja(989228)|0)!=(f|0)){break c}c=ea(c|0)|0;v[299999]=0;g=ga(4695)|0;f=v[299999];v[299999]=0;if((f|0)==1){break x}v[299999]=0;c=v[c+4>>2];f=v[299999];v[299999]=0;if((f|0)==1){break w}v[299999]=0;c=Q(4340,d+48|0,(c?c:246399)|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break w}f=v[v[g>>2]+20>>2];v[299999]=0;Y(f|0,g|0,b|0,c|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break v}ec(c);v[299999]=0;c=Q(4340,d+48|0,e+358086|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break u}v[299999]=0;g=ga(4695)|0;f=v[299999];v[299999]=0;if((f|0)==1){break t}f=v[v[g>>2]+20>>2];v[299999]=0;Y(f|0,g|0,b|0,c|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break t}ec(c);v[299999]=0;ba(4230);c=v[299999];v[299999]=0;if((c|0)==1){break r}}e=e+1|0;if((h|0)!=(e|0)){continue}break g}break}a=W(0)|0;O()|0;break s}a=W(0)|0;O()|0;break s}a=W(0)|0;O()|0;ec(c);break s}a=W(0)|0;O()|0;break s}a=W(0)|0;O()|0;ec(c)}ea(a|0)|0;v[299999]=0;ba(4483);a=v[299999];v[299999]=0;if((a|0)!=1){break f}c=P()|0;O()|0;v[299999]=0;ba(4230);a=v[299999];v[299999]=0;if((a|0)!=1){v[299999]=0;ba(4230);a=v[299999];v[299999]=0;if((a|0)!=1){break c}}break a}c=P()|0;O()|0;break c}c=P()|0;O()|0;break c}v[299999]=0;c=v[j+24>>2];v[d+52>>2]=j;v[d+48>>2]=c;c=v[299999];v[299999]=0;if((c|0)==1){break d}h=b+68|0;c=v[d+48>>2];F:{if(!c){break F}while(1){if(v[d+52>>2]!=(d- -64|0)){v[299999]=0;V(4468,d+48|0,d- -64|0);a=v[299999];v[299999]=0;if((a|0)!=1){break f}break d}v[299999]=0;c=S(4469,c+16|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break e}if(c){g=v[d+48>>2];if(!(v[d+52>>2]==(d- -64|0)?g:0)){v[299999]=0;V(4468,d+48|0,d- -64|0);a=v[299999];v[299999]=0;if((a|0)==1){break d}break f}v[299999]=0;c=S(1,44)|0;e=v[299999];v[299999]=0;if((e|0)==1){break e}v[c>>2]=0;v[c+4>>2]=0;v[c+40>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;e=c+8|0;v[e>>2]=0;v[e+4>>2]=0;v[299999]=0;Q(4342,e|0,g+16|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break e}v[299999]=0;Le(h,c);c=v[299999];v[299999]=0;if((c|0)==1){break e}}c=v[d+48>>2];if(!c){break F}c=v[c>>2];v[d+48>>2]=c;if(c){continue}break}}t[b+63|0]=1;v[299999]=0;Q(4387,a|0,h|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){id(j);break b}c=P()|0;O()|0;break c}L()}c=P()|0;O()|0;break c}c=P()|0;O()|0}id(j);T(c|0);L()}Qb=d+96|0;return}W(0)|0;O()|0;lc();L()}function DF(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;i=Qb-32|0;Qb=i;a:{if(!a|(b|0)<1){break a}f=Ub[v[259704]](36)|0;if(!f){v[i>>2]=239815;oc(0,0,0,0,0,8,2,3,239815,0,0,0,350051,i);f=0;break a}v[f>>2]=0;v[f+4>>2]=0;v[f+32>>2]=0;v[f+24>>2]=0;v[f+28>>2]=0;v[f+16>>2]=0;v[f+20>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;h=Ub[v[259704]](36)|0;if(!h){v[i+16>>2]=239852;oc(0,0,0,0,0,29,2,3,239852,0,0,0,350051,i+16|0);v[f+16>>2]=0;Ub[v[259708]](f);f=0;break a}v[h+24>>2]=b;v[h+20>>2]=b;v[h+12>>2]=2;v[h>>2]=a;v[h+28>>2]=0;v[h+32>>2]=0;b=b>>>0<2147483647?b:2147483647;v[h+8>>2]=b;v[h+4>>2]=b;v[f+16>>2]=h;b=_F(0);v[f+12>>2]=b;if(b){b=dq(v[259705]<<1)}else{b=0}v[f+24>>2]=-1;v[f+20>>2]=b;v[f+4>>2]=0;v[f+8>>2]=0;v[f>>2]=a}Qb=i+32|0;h=f;if(f){a=0;b:{if(!h){break b}a=Ub[v[259704]](128)|0;if(a){a=ic(a,0,128);v[a+28>>2]=h;b=dq(100);v[a+84>>2]=b;c:{if(!b){break c}d:{if(v[b+32>>2]|(v[b+12>>2]&-2)==2){break d}v[b+12>>2]=5;b=v[b+28>>2];if(!b){break d}v[b+12>>2]=5}b=Ub[v[259704]](128)|0;v[a+24>>2]=b;if(!b){f=v[a+84>>2];if(f){g=v[f+12>>2];e:{f:{if((g|0)==3){b=v[f+16>>2];if(b){break f}b=v[f>>2];if(b){break f}break e}b=v[f>>2];if(!b|(g|0)==2){break e}}Ub[v[259708]](b)}Ub[v[259708]](f)}break c}v[b+108>>2]=-554844497;v[b+124>>2]=0;v[b+104>>2]=2986;v[b>>2]=2987;v[b+96>>2]=2988;v[b+20>>2]=2989;v[b+16>>2]=2990;v[b+12>>2]=2991;v[b+8>>2]=2992;v[b+4>>2]=2993;v[b+36>>2]=2994;v[b+32>>2]=2995;v[b+24>>2]=2996;v[b+92>>2]=2962;v[b+88>>2]=2962;v[b+84>>2]=2963;v[b+80>>2]=3005;v[b+76>>2]=3006;v[b+64>>2]=2999;v[b+52>>2]=3e3;v[b+48>>2]=3001;v[b+44>>2]=3002;v[b+40>>2]=3003;v[b+28>>2]=3004;v[a+32>>2]=0;v[b+56>>2]=3012;v[a+36>>2]=0;v[b+60>>2]=3013;v[a+40>>2]=3008;v[b+116>>2]=3014;v[a+44>>2]=3007;v[b+120>>2]=3015;v[a+48>>2]=2998;v[b+72>>2]=3016;v[b+68>>2]=3016;v[a+52>>2]=2997;v[b+100>>2]=3017;v[a+64>>2]=0;v[a+68>>2]=0;v[a>>2]=0;g:{h:{g=v[v[a+28>>2]+16>>2];i:{if(!(!g|v[g+32>>2])){b=v[g+8>>2];if(!((b|0)==v[g+24>>2]|b>>>0>2147483646)){v[g+24>>2]=b}f=v[g+20>>2];b=v[g+4>>2];if((f|0)==(b|0)|b>>>0>2147483646){b=f}else{v[g+20>>2]=b}if(b>>>0>3){break i}}if(!(v[h+28>>2]|!v[h+4>>2])){Vy(h,4);g=v[v[a+28>>2]+16>>2]}if(!g){break h}}if(v[g+32>>2]){break h}b=v[g+8>>2];if(!((b|0)==v[g+24>>2]|b>>>0>2147483646)){v[g+24>>2]=b}f=v[g+20>>2];b=v[g+4>>2];if(!((f|0)==(b|0)|b>>>0>2147483646)){v[g+20>>2]=b;f=b}b=4;if(f>>>0<4){break h}f=eU(v[a+24>>2],v[g>>2],4,c);break g}b=0;f=eU(v[a+24>>2],0,0,c)}v[a+60>>2]=b;v[a+56>>2]=0;b=f;v[a+20>>2]=b;if(!b){Ub[v[259806]](v[294239],354165,0);f=v[a+84>>2];if(f){g=v[f+12>>2];j:{k:{if((g|0)==3){b=v[f+16>>2];if(b){break k}b=v[f>>2];if(b){break k}break j}b=v[f>>2];if(!b|(g|0)==2){break j}}Ub[v[259708]](b)}Ub[v[259708]](f)}Ub[v[259708]](v[a+24>>2]);Ub[v[259708]](a);a=0;break b}v[b+364>>2]=1;v[b+280>>2]=1;v[b+272>>2]=a;v[b+436>>2]=5;v[a+12>>2]=2;v[b+308>>2]=1;v[a+88>>2]=v[b+296>>2];break b}Ub[v[259708]](a)}Ub[v[259806]](v[294239],354165,0);a=0}g=a;if(!a){cm(h);return 0}v[g+12>>2]=v[g+12>>2]|1;h=Qb-32|0;Qb=h;l:{if(!g){break l}v[g+96>>2]=0;v[g+4>>2]=0;v[g+8>>2]=0;f=e|65536;v[g+120>>2]=f;m:{a=v[g+84>>2];if(a){break m}a=dq(100);v[g+84>>2]=a;if(a){break m}Ub[v[259806]](v[294239],354199,0);break l}n:{if(v[a+32>>2]|(v[a+12>>2]&-2)==2){break n}v[a+12>>2]=5;a=v[a+28>>2];if(!a){break n}v[a+12>>2]=5}o:{a=v[g+24>>2];if(a){break o}a=Ub[v[259704]](128)|0;v[g+24>>2]=a;if(a){break o}Ub[v[259806]](v[294239],354199,0);break l}v[a+108>>2]=-554844497;v[a+124>>2]=0;v[a+104>>2]=2986;v[a>>2]=2987;v[a+96>>2]=2988;v[a+20>>2]=2989;v[a+16>>2]=2990;v[a+12>>2]=2991;v[a+8>>2]=2992;v[a+4>>2]=2993;v[a+36>>2]=2994;v[a+32>>2]=2995;v[a+24>>2]=2996;v[a+100>>2]=2997;v[a+68>>2]=2998;v[a+64>>2]=2999;v[a+52>>2]=3e3;v[a+48>>2]=3001;v[a+44>>2]=3002;v[a+40>>2]=3003;v[a+28>>2]=3004;v[a+92>>2]=2962;v[a+88>>2]=2962;v[a+84>>2]=2963;v[a+80>>2]=3005;v[a+76>>2]=3006;v[g+32>>2]=0;v[a+56>>2]=3012;v[g+36>>2]=0;v[a+120>>2]=3015;v[a+116>>2]=3014;v[a+60>>2]=3013;v[g+44>>2]=3007;v[g+40>>2]=3008;v[g+48>>2]=v[a+68>>2];v[a+72>>2]=3016;v[a+68>>2]=3016;v[g+52>>2]=v[a+100>>2];v[a+100>>2]=3017;v[g+64>>2]=0;v[g+68>>2]=0;v[g>>2]=0;a=v[g+20>>2];b=v[a+296>>2];i=v[g+88>>2];p:{if(i){if(b){if((b|0)==(i|0)){break p}Zm(i);a=v[g+20>>2];v[g+88>>2]=v[a+296>>2];break p}v[a+296>>2]=i;break p}if(!b){b=0;q:{if(!w[1176924]){a=jc(4);v[294232]=a;if(!a){break q}t[1176924]=1}a=Ub[v[259704]](32)|0;if(!a){break q}v[a+28>>2]=0;v[a>>2]=1;v[a+8>>2]=128;v[a+12>>2]=0;i=Ub[v[259704]](2560)|0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+4>>2]=i;if(i){ic(i,0,2560);v[a+24>>2]=0;b=a;break q}Ub[v[259708]](a)}a=v[g+20>>2];v[a+296>>2]=b}v[g+88>>2]=b}v[a+364>>2]=1;v[a+280>>2]=1;v[a+272>>2]=g;v[a+436>>2]=5;v[a+308>>2]=1;if(e&16){v[g+8>>2]=1}b=0;if(a){e=1;r:{if(!(f&1)){e=0;break r}v[a+360>>2]=v[a+360>>2]|1;f=f-1|0}v[a+288>>2]=e;if(f&4){v[a+360>>2]=v[a+360>>2]|4;f=f-4|0;b=2}v[a+276>>2]=b;if(f&8){v[a+276>>2]=b|4;v[a+360>>2]=v[a+360>>2]|8;f=f-8|0}b=a;if(f&2){v[a+360>>2]=v[a+360>>2]|2;f=f-2|0;e=1}else{e=0}v[b+16>>2]=e;b=a;if(f&128){v[a+360>>2]=v[a+360>>2]|128;f=f-128|0;e=1}else{e=0}v[b+268>>2]=e;b=a;if(f&256){v[v[a>>2]+72>>2]=3009;v[a+360>>2]=v[a+360>>2]|256;f=f-256|0;e=0}else{e=1}v[b+208>>2]=e;s:{if(f&16){v[a+104>>2]=1;if(f&64){v[a+116>>2]=0}if(f&32){v[a+112>>2]=0}v[a+360>>2]=v[a+360>>2]|16;f=f-16|0;break s}v[a+104>>2]=0}b=a;if(f&64){v[v[a>>2]+84>>2]=0;f=f+-64|0}if(f&32){e=v[a>>2];v[e+88>>2]=0;v[e+92>>2]=0;f=f-32|0}if(f&512){e=v[a>>2];v[e+116>>2]=0;v[e+120>>2]=0;v[e+60>>2]=2984;v[e+56>>2]=2985;v[e+108>>2]=1;v[a+360>>2]=v[a+360>>2]|512;f=f-512|0}if(f&4096){v[a+360>>2]=v[a+360>>2]|4096;f=f-4096|0;e=0}else{e=1}v[b+364>>2]=e;if(f&16384){v[v[a>>2]+100>>2]=0;v[a+360>>2]=v[a+360>>2]|16384;f=f-16384|0}if(f&8192){v[a+360>>2]=v[a+360>>2]|8192;f=f+-8192|0}if(f&2048){v[a+360>>2]=v[a+360>>2]|2048;f=f-2048|0}if(f&8388608){v[a+360>>2]=v[a+360>>2]|8388608;f=f-8388608|0}if(f&65536){v[a+360>>2]=v[a+360>>2]|65536;f=f-65536|0}if(f&131072){v[a+360>>2]=v[a+360>>2]|131072;f=f-131072|0}if(f&262144){v[a+360>>2]=v[a+360>>2]|262144;f=f-262144|0}t:{if(!(f&524288)){break t}v[a+360>>2]=v[a+360>>2]|524288;f=f-524288|0;b=v[a+296>>2];if(!b){break t}if(b){v[b+28>>2]=0}}if(f&1048576){v[a+360>>2]=v[a+360>>2]|1048576;f=f+-1048576|0}if(f&2097152){v[a+360>>2]=v[a+360>>2]|2097152;f=f-2097152|0}if(f&4194304){v[a+360>>2]=v[a+360>>2]|4194304}v[a+280>>2]=1}u:{if(!d){break u}b=Jf(d);if(!b){break u}a=v[g+20>>2];d=v[a+36>>2];v:{if(d){QF(a,d,b,-1);a=a+256|0;break v}if(v[a+172>>2]==-1?v[a+212>>2]:0){break u}v[a+84>>2]=1;v[h>>2]=0;oc(0,0,0,a,0,1,1,3,0,0,0,0,347925,h);v[a+12>>2]=0;if(v[a+288>>2]){break u}a=a+212|0}v[a>>2]=1}w:{if(!c){break w}a=v[v[g+20>>2]+36>>2];if(!a|v[a+4>>2]){break w}a=c;while(1){b=a;a=a+1|0;if(w[b|0]){continue}break}a=0;b=b-c|0;x:{if((b|0)<0){break x}d=Ub[v[259707]](b+1|0)|0;if(!d){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break x}a=gc(d,c,b);t[b+a|0]=0}v[v[v[g+20>>2]+36>>2]+4>>2]=a}v[g+4>>2]=0}Qb=h+32|0}return g|0}function e0(a,b){var 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,y=0,z=0,A=0,D=0,E=0,F=0,G=C(0),H=C(0);o=Qb-16|0;Qb=o;a:{if(!a){break a}d=o+12|0;r=o+8|0;p=o+4|0;e=a;if(a){if(d){v[d>>2]=v[e>>2]}if(r){v[r>>2]=v[e+4>>2]}if(p){v[p>>2]=v[e+8>>2]}}a=v[o+4>>2];d=a-1|0;if(d>>>0>31|!(1<>2]=v[e>>2]}if(d){v[d>>2]=v[e+4>>2]}if(r){v[r>>2]=v[e+8>>2]}}if(v[f+4>>2]!=1|(c|0)<1){break b}c:{d:{if(c>>>0>16){break d}if(1<>2]:-1;r=e?v[e+40>>2]:0;b=Ug(B(c,v[f+12>>2]),B(c,v[f+8>>2]),1);if(!b){break b}a=b;if(!(!e|!a|(a|0)==(e|0))){v[a+20>>2]=v[e+20>>2];v[a+24>>2]=v[e+24>>2]}G=C(c|0);H=G;if(a){Qq(a,H,G)}e=a?v[a+12>>2]:-1;p=a?v[b+40>>2]:0;if(v[f+8>>2]<1){break b}j=e<<2;q=B(c,e);F=c&-2;y=c&1;m=c-1|0;z=m&-4;D=m&3;E=c-2>>>0<3;while(1){g=p+(B(h,q)<<2)|0;n=v[f+12>>2];if((n|0)>0){A=r+(B(d,h)<<2)|0;i=0;while(1){if(v[A+(i>>>3&536870908)>>2]>>>(i^-1)&1){k=B(c,i);n=0;a=F;if(m){while(1){l=k+n|0;s=g+(l>>5<<2)|0;v[s>>2]=v[s>>2]|-2147483648>>>l;l=k+(n|1)|0;s=g+(l>>5<<2)|0;v[s>>2]=v[s>>2]|-2147483648>>>l;n=n+2|0;a=a-2|0;if(a){continue}break}}if(y){a=k+n|0;n=g+(a>>5<<2)|0;v[n>>2]=v[n>>2]|-2147483648>>>a}n=v[f+12>>2]}i=i+1|0;if((i|0)<(n|0)){continue}break}}e:{if((c|0)<2){break e}n=1;a=z;if(!E){while(1){gc(g+(B(e,n)<<2)|0,g,j);gc(g+(B(e,n+1|0)<<2)|0,g,j);gc(g+(B(e,n+2|0)<<2)|0,g,j);gc(g+(B(e,n+3|0)<<2)|0,g,j);n=n+4|0;a=a-4|0;if(a){continue}break}}a=D;if(!a){break e}while(1){gc(g+(B(e,n)<<2)|0,g,j);n=n+1|0;a=a-1|0;if(a){continue}break}}h=h+1|0;if((h|0)>2]){continue}break}a=b;break b}b=0;p=Qb-16|0;Qb=p;f:{if(!e){break f}a=p+12|0;d=p+8|0;r=p+4|0;if(e){if(a){v[a>>2]=v[e>>2]}if(d){v[d>>2]=v[e+4>>2]}if(r){v[r>>2]=v[e+8>>2]}}if(v[p+4>>2]!=1|c>>>0>16){break f}if(!(1<>2]:-1;r=e?v[e+40>>2]:0;F=B(c,v[p+12>>2]);z=B(c,v[p+8>>2]);a=Ug(F,z,1);if(!a){break f}if(!(!e|!a|(a|0)==(e|0))){v[a+20>>2]=v[e+20>>2];v[a+24>>2]=v[e+24>>2]}G=C(c|0);H=G;if(a){Qq(a,H,G)}b=a?v[a+12>>2]:-1;Z$(a?v[a+40>>2]:0,b,r,v[p+12>>2],v[p+8>>2],d,c);b=a}Qb=p+16|0;a=b}Qb=f+16|0;c=a;break a}a=Ug(B(v[o+12>>2],b),B(v[o+8>>2],b),a);if(!a){break a}wA(a,e);if(!(!e|!a|(a|0)==(e|0))){v[a+20>>2]=v[e+20>>2];v[a+24>>2]=v[e+24>>2]}G=C(b|0);H=G;if(a){Qq(a,H,G)}r=e?v[e+40>>2]:0;p=e?v[e+12>>2]:-1;F=a?v[a+40>>2]:0;e=a;d=a?v[a+12>>2]:-1;g:{h:{switch(v[o+4>>2]-2|0){case 30:if(v[o+8>>2]<1){break g}q=d<<2;E=B(b,d);z=b&-8;D=b&7;y=b-1|0;n=y&-4;g=y&3;A=b-2>>>0<3;while(1){j=F+(B(f,E)<<2)|0;if(v[o+12>>2]>=1){l=r+(B(f,p)<<2)|0;i=0;while(1){a=j+(B(b,i)<<2)|0;k=v[l+(i<<2)>>2];h=0;c=z;if(y>>>0>=7){while(1){m=h<<2;v[m+a>>2]=k;v[a+(m|4)>>2]=k;v[a+(m|8)>>2]=k;v[a+(m|12)>>2]=k;v[a+(m|16)>>2]=k;v[a+(m|20)>>2]=k;v[a+(m|24)>>2]=k;v[a+(m|28)>>2]=k;h=h+8|0;c=c-8|0;if(c){continue}break}}c=D;if(c){while(1){v[a+(h<<2)>>2]=k;h=h+1|0;c=c-1|0;if(c){continue}break}}i=i+1|0;if((i|0)>2]){continue}break}}a=1;c=n;if(!A){while(1){gc(j+(B(a,d)<<2)|0,j,q);gc(j+(B(d,a+1|0)<<2)|0,j,q);gc(j+(B(d,a+2|0)<<2)|0,j,q);gc(j+(B(d,a+3|0)<<2)|0,j,q);a=a+4|0;c=c-4|0;if(c){continue}break}}c=g;if(c){while(1){gc(j+(B(a,d)<<2)|0,j,q);a=a+1|0;c=c-1|0;if(c){continue}break}}f=f+1|0;if((f|0)>2]){continue}break};break g;case 14:if(v[o+8>>2]<1){break g}j=d<<2;y=B(b,d);z=b&-4;D=b&3;q=b-1|0;n=q&-4;g=q&3;E=b-2>>>0<3;while(1){h=F+(B(f,y)<<2)|0;A=v[o+12>>2];if((A|0)>=1){l=r+(B(f,p)<<2)|0;i=0;while(1){k=B(b,i);m=x[(l+(i<<1)^2)>>1];a=0;c=z;if(q>>>0>=3){while(1){u[(h+(a+k<<1)^2)>>1]=m;u[(h+(k+(a|1)<<1)^2)>>1]=m;u[(h+(k+(a|2)<<1)^2)>>1]=m;u[(h+(k+(a|3)<<1)^2)>>1]=m;a=a+4|0;c=c-4|0;if(c){continue}break}}c=D;if(c){while(1){u[(h+(a+k<<1)^2)>>1]=m;a=a+1|0;c=c-1|0;if(c){continue}break}}i=i+1|0;if((A|0)!=(i|0)){continue}break}}a=1;c=n;if(!E){while(1){gc(h+(B(a,d)<<2)|0,h,j);gc(h+(B(d,a+1|0)<<2)|0,h,j);gc(h+(B(d,a+2|0)<<2)|0,h,j);gc(h+(B(d,a+3|0)<<2)|0,h,j);a=a+4|0;c=c-4|0;if(c){continue}break}}c=g;if(c){while(1){gc(h+(B(a,d)<<2)|0,h,j);a=a+1|0;c=c-1|0;if(c){continue}break}}f=f+1|0;if((f|0)>2]){continue}break};break g;case 6:if(v[o+8>>2]<1){break g}j=d<<2;y=B(b,d);z=b&-4;D=b&3;q=b-1|0;n=q&-4;g=q&3;E=b-2>>>0<3;while(1){f=F+(B(h,y)<<2)|0;if(v[o+12>>2]>=1){A=r+(B(h,p)<<2)|0;i=0;while(1){k=B(b,i);m=w[i+A^3];a=0;c=z;if(q>>>0>=3){while(1){t[f+(a+k|0)^3]=m;t[f+(k+(a|1)|0)^3]=m;t[f+(k+(a|2)|0)^3]=m;t[f+(k+(a|3)|0)^3]=m;a=a+4|0;c=c-4|0;if(c){continue}break}}c=D;if(c){while(1){t[f+(a+k|0)^3]=m;a=a+1|0;c=c-1|0;if(c){continue}break}}i=i+1|0;if((i|0)>2]){continue}break}}a=1;c=n;if(!E){while(1){gc(f+(B(a,d)<<2)|0,f,j);gc(f+(B(d,a+1|0)<<2)|0,f,j);gc(f+(B(d,a+2|0)<<2)|0,f,j);gc(f+(B(d,a+3|0)<<2)|0,f,j);a=a+4|0;c=c-4|0;if(c){continue}break}}c=g;if(c){while(1){gc(f+(B(a,d)<<2)|0,f,j);a=a+1|0;c=c-1|0;if(c){continue}break}}h=h+1|0;if((h|0)>2]){continue}break};break g;case 2:if(v[o+8>>2]<1){break g}h=d<<2;q=B(b,d);z=b&-2;y=b&1;m=b-1|0;D=m&-4;n=m&3;E=b-2>>>0<3;while(1){g=F+(B(f,q)<<2)|0;if(v[o+12>>2]>=1){A=r+(B(f,p)<<2)|0;i=0;while(1){j=v[A+(i>>>1&2147483644)>>2]>>>((i<<2^-1)&28)&15;k=B(b,i);a=0;c=z;if(m){while(1){l=a+k|0;s=g+(l>>3<<2)|0;l=l<<2;v[s>>2]=v[s>>2]&(-268435456>>>l^-1)|j<<28-(l&28);l=k+(a|1)|0;s=g+(l>>3<<2)|0;l=l<<2;v[s>>2]=v[s>>2]&(-268435456>>>l^-1)|j<<28-(l&28);a=a+2|0;c=c-2|0;if(c){continue}break}}if(y){a=a+k|0;c=g+(a>>3<<2)|0;a=a<<2;v[c>>2]=v[c>>2]&(-268435456>>>a^-1)|j<<28-(a&28)}i=i+1|0;if((i|0)>2]){continue}break}}a=1;c=D;if(!E){while(1){gc(g+(B(a,d)<<2)|0,g,h);gc(g+(B(d,a+1|0)<<2)|0,g,h);gc(g+(B(d,a+2|0)<<2)|0,g,h);gc(g+(B(d,a+3|0)<<2)|0,g,h);a=a+4|0;c=c-4|0;if(c){continue}break}}c=n;if(c){while(1){gc(g+(B(a,d)<<2)|0,g,h);a=a+1|0;c=c-1|0;if(c){continue}break}}f=f+1|0;if((f|0)>2]){continue}break};break g;case 0:if(v[o+8>>2]<1){break g}h=d<<2;q=B(b,d);z=b&-2;y=b&1;m=b-1|0;D=m&-4;n=m&3;E=b-2>>>0<3;while(1){g=F+(B(f,q)<<2)|0;if(v[o+12>>2]>=1){A=r+(B(f,p)<<2)|0;i=0;while(1){j=v[A+(i>>>2&1073741820)>>2]>>>((i<<1^-1)&30)&3;k=B(b,i);a=0;c=z;if(m){while(1){l=a+k|0;s=g+(l>>4<<2)|0;l=l<<1;v[s>>2]=v[s>>2]&(-1073741824>>>l^-1)|j<<30-(l&30);l=k+(a|1)|0;s=g+(l>>4<<2)|0;l=l<<1;v[s>>2]=v[s>>2]&(-1073741824>>>l^-1)|j<<30-(l&30);a=a+2|0;c=c-2|0;if(c){continue}break}}if(y){a=a+k|0;c=g+(a>>4<<2)|0;a=a<<1;v[c>>2]=v[c>>2]&(-1073741824>>>a^-1)|j<<30-(a&30)}i=i+1|0;if((i|0)>2]){continue}break}}a=1;c=D;if(!E){while(1){gc(g+(B(a,d)<<2)|0,g,h);gc(g+(B(d,a+1|0)<<2)|0,g,h);gc(g+(B(d,a+2|0)<<2)|0,g,h);gc(g+(B(d,a+3|0)<<2)|0,g,h);a=a+4|0;c=c-4|0;if(c){continue}break}}c=n;if(c){while(1){gc(g+(B(a,d)<<2)|0,g,h);a=a+1|0;c=c-1|0;if(c){continue}break}}f=f+1|0;if((f|0)>2]){continue}break};break g;default:break h}}Rc(4422,14,1,v[252391])}c=e}Qb=o+16|0;return c}function HKa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=Qb-32|0;Qb=e;j=v[a+404>>2];a:{if(!v[a+212>>2]){if(v[a+288>>2]<=0){break a}while(1){c=v[((b<<2)+a|0)+292>>2];if(!(v[a+360>>2]|v[a+368>>2])){dm(a,v[c+20>>2],0)}if(v[a+364>>2]){dm(a,v[c+24>>2],1)}b=b+1|0;if((b|0)>2]){continue}break}break a}v[e+16>>2]=0;v[e+20>>2]=0;v[e+24>>2]=0;v[e+28>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;v[e>>2]=0;v[e+4>>2]=0;c=v[a+288>>2];b:{if((c|0)<1){break b}b=v[a+364>>2];if(!v[a+360>>2]){if(!v[a+368>>2]){if(b){b=0;if((c|0)!=1){d=c&-2;f=a+292|0;while(1){g=e+16|0;h=b<<2;i=v[h+f>>2];t[g+v[i+20>>2]|0]=1;t[v[i+24>>2]+e|0]=1;i=g;g=v[f+(h|4)>>2];t[i+v[g+20>>2]|0]=1;t[v[g+24>>2]+e|0]=1;b=b+2|0;d=d-2|0;if(d){continue}break}}if(!(c&1)){break b}b=v[((b<<2)+a|0)+292>>2];t[v[b+20>>2]+(e+16|0)|0]=1;t[v[b+24>>2]+e|0]=1;break b}d=c&3;b=0;if(c-1>>>0>=3){c=c&-4;f=a+292|0;while(1){h=e+16|0;g=b<<2;t[h+v[v[g+f>>2]+20>>2]|0]=1;t[h+v[v[f+(g|4)>>2]+20>>2]|0]=1;t[h+v[v[f+(g|8)>>2]+20>>2]|0]=1;t[h+v[v[f+(g|12)>>2]+20>>2]|0]=1;b=b+4|0;c=c-4|0;if(c){continue}break}}if(!d){break b}while(1){t[v[v[((b<<2)+a|0)+292>>2]+20>>2]+(e+16|0)|0]=1;b=b+1|0;d=d-1|0;if(d){continue}break}break b}if(!b){break b}d=c&3;b=0;if(c-1>>>0>=3){c=c&-4;f=a+292|0;while(1){g=b<<2;t[v[v[g+f>>2]+24>>2]+e|0]=1;t[v[v[f+(g|4)>>2]+24>>2]+e|0]=1;t[v[v[f+(g|8)>>2]+24>>2]+e|0]=1;t[v[v[f+(g|12)>>2]+24>>2]+e|0]=1;b=b+4|0;c=c-4|0;if(c){continue}break}}if(!d){break b}while(1){t[v[v[((b<<2)+a|0)+292>>2]+24>>2]+e|0]=1;b=b+1|0;d=d-1|0;if(d){continue}break}break b}if(!b){break b}d=c&3;b=0;if(c-1>>>0>=3){c=c&-4;f=a+292|0;while(1){g=b<<2;t[v[v[g+f>>2]+24>>2]+e|0]=1;t[v[v[f+(g|4)>>2]+24>>2]+e|0]=1;t[v[v[f+(g|8)>>2]+24>>2]+e|0]=1;t[v[v[f+(g|12)>>2]+24>>2]+e|0]=1;b=b+4|0;c=c-4|0;if(c){continue}break}}if(!d){break b}while(1){t[v[v[((b<<2)+a|0)+292>>2]+24>>2]+e|0]=1;b=b+1|0;d=d-1|0;if(d){continue}break}}d=t[e+15|0]+(t[e+31|0]+(t[e+14|0]+(t[e+30|0]+(t[e+13|0]+(t[e+29|0]+(t[e+12|0]+(t[e+28|0]+(t[e+11|0]+(t[e+27|0]+(t[e+10|0]+(t[e+26|0]+(t[e+9|0]+(t[e+25|0]+(t[e+8|0]+(t[e+24|0]+(t[e+7|0]+(t[e+23|0]+(t[e+6|0]+(t[e+22|0]+(t[e+5|0]+(t[e+21|0]+(t[e+4|0]+(t[e+20|0]+(t[e+3|0]+(t[e+19|0]+(t[e+2|0]+(t[e+18|0]+(t[e+1|0]+(t[e+17|0]+(t[e|0]+t[e+16|0]|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0;if(!d){break a}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=255;c=v[b+4>>2]-1|0;v[b+4>>2]=c;c:{if(c){break c}if(Ub[v[b+12>>2]](a)|0){break c}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=204;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d:{if(c){break d}if(Ub[v[b+12>>2]](a)|0){break d}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;d=(d<<1)+2|0;t[c|0]=d>>>8;c=v[b+4>>2]-1|0;v[b+4>>2]=c;e:{if(c){break e}if(Ub[v[b+12>>2]](a)|0){break e}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=d;c=v[b+4>>2]-1|0;v[b+4>>2]=c;f:{if(c){break f}if(Ub[v[b+12>>2]](a)|0){break f}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=0;while(1){g:{if(!w[(e+16|0)+b|0]){break g}c=v[a+24>>2];d=v[c>>2];v[c>>2]=d+1;t[d|0]=b;d=v[c+4>>2]-1|0;v[c+4>>2]=d;h:{if(d){break h}if(Ub[v[c+12>>2]](a)|0){break h}c=v[a>>2];v[c+20>>2]=25;Ub[v[c>>2]](a)}c=a+b|0;f=w[c+152|0];g=w[c+168|0];c=v[a+24>>2];d=v[c>>2];v[c>>2]=d+1;t[d|0]=f+(g<<4);d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break g}if(Ub[v[c+12>>2]](a)|0){break g}c=v[a>>2];v[c+20>>2]=25;Ub[v[c>>2]](a)}i:{if(!w[b+e|0]){break i}c=v[a+24>>2];d=v[c>>2];v[c>>2]=d+1;t[d|0]=b+16;d=v[c+4>>2]-1|0;v[c+4>>2]=d;j:{if(d){break j}if(Ub[v[c+12>>2]](a)|0){break j}c=v[a>>2];v[c+20>>2]=25;Ub[v[c>>2]](a)}f=w[(a+b|0)+184|0];c=v[a+24>>2];d=v[c>>2];v[c>>2]=d+1;t[d|0]=f;d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break i}if(Ub[v[c+12>>2]](a)|0){break i}c=v[a>>2];v[c+20>>2]=25;Ub[v[c>>2]](a)}b=b+1|0;if((b|0)!=16){continue}break}}if(v[a+236>>2]!=v[j+28>>2]){b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=255;c=v[b+4>>2]-1|0;v[b+4>>2]=c;k:{if(c){break k}if(Ub[v[b+12>>2]](a)|0){break k}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=221;c=v[b+4>>2]-1|0;v[b+4>>2]=c;l:{if(c){break l}if(Ub[v[b+12>>2]](a)|0){break l}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;m:{if(c){break m}if(Ub[v[b+12>>2]](a)|0){break m}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=4;c=v[b+4>>2]-1|0;v[b+4>>2]=c;n:{if(c){break n}if(Ub[v[b+12>>2]](a)|0){break n}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}c=v[a+236>>2];b=v[a+24>>2];d=v[b>>2];v[b>>2]=d+1;t[d|0]=c>>>8;d=v[b+4>>2]-1|0;v[b+4>>2]=d;o:{if(d){break o}if(Ub[v[b+12>>2]](a)|0){break o}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];d=v[b>>2];v[b>>2]=d+1;t[d|0]=c;c=v[b+4>>2]-1|0;v[b+4>>2]=c;p:{if(c){break p}if(Ub[v[b+12>>2]](a)|0){break p}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}v[j+28>>2]=v[a+236>>2]}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=255;c=v[b+4>>2]-1|0;v[b+4>>2]=c;q:{if(c){break q}if(Ub[v[b+12>>2]](a)|0){break q}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=218;c=v[b+4>>2]-1|0;v[b+4>>2]=c;r:{if(c){break r}if(Ub[v[b+12>>2]](a)|0){break r}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}d=v[a+288>>2];b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;d=(d<<1)+6|0;t[c|0]=d>>>8;c=v[b+4>>2]-1|0;v[b+4>>2]=c;s:{if(c){break s}if(Ub[v[b+12>>2]](a)|0){break s}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=d;c=v[b+4>>2]-1|0;v[b+4>>2]=c;t:{if(c){break t}if(Ub[v[b+12>>2]](a)|0){break t}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}d=v[a+288>>2];b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=d;c=v[b+4>>2]-1|0;v[b+4>>2]=c;u:{if(c){break u}if(Ub[v[b+12>>2]](a)|0){break u}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}if(v[a+288>>2]>=1){d=0;while(1){c=v[((d<<2)+a|0)+292>>2];g=v[c>>2];b=v[a+24>>2];f=v[b>>2];v[b>>2]=f+1;t[f|0]=g;f=v[b+4>>2]-1|0;v[b+4>>2]=f;v:{if(f){break v}if(Ub[v[b+12>>2]](a)|0){break v}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}f=0;b=0;w:{if(v[a+360>>2]){break w}b=0;if(v[a+368>>2]){break w}b=v[c+20>>2]}f=v[a+364>>2]?v[c+24>>2]:f;c=v[a+24>>2];g=v[c>>2];v[c>>2]=g+1;t[g|0]=(b<<4)+f;b=v[c+4>>2]-1|0;v[c+4>>2]=b;x:{if(b){break x}if(Ub[v[c+12>>2]](a)|0){break x}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}d=d+1|0;if((d|0)>2]){continue}break}}d=v[a+360>>2];b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=d;c=v[b+4>>2]-1|0;v[b+4>>2]=c;y:{if(c){break y}if(Ub[v[b+12>>2]](a)|0){break y}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}d=v[a+364>>2];b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=d;c=v[b+4>>2]-1|0;v[b+4>>2]=c;z:{if(c){break z}if(Ub[v[b+12>>2]](a)|0){break z}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}d=v[a+372>>2];f=v[a+368>>2];b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=d+(f<<4);c=v[b+4>>2]-1|0;v[b+4>>2]=c;A:{if(c){break A}if(Ub[v[b+12>>2]](a)|0){break A}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}Qb=e+32|0}function mF(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;v[d+552>>2]=0;v[d+556>>2]=0;v[d+544>>2]=-343597384;v[d+548>>2]=1068415057;v[d+536>>2]=0;v[d+528>>2]=0;v[d+532>>2]=0;v[d+520>>2]=0;v[d+512>>2]=0;v[d+408>>2]=0;v[d+304>>2]=0;v[d+288>>2]=0;v[d+272>>2]=7;v[d+276>>2]=1;v[d+264>>2]=1580547965;v[d+268>>2]=1067731386;v[d+256>>2]=0;v[d+212>>2]=0;v[d+152>>2]=0;v[d+108>>2]=0;v[d+48>>2]=0;v[d+560>>2]=0;v[d+564>>2]=0;v[d+584>>2]=1;v[d+576>>2]=0;v[d+580>>2]=0;v[d+568>>2]=1;a:{if(!b|!c){break a}v[a+1144>>2]=0;if((c|0)<1){break a}m=b+c|0;n=a+352|0;c=b;while(1){c=kF(a,c,n);if(!v[a+352>>2]){break a}f=v[a+1144>>2];e=f-1|0;i=(e<<4)+a|0;if(!v[i+360>>2]){b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{i=v[i+368>>2];switch(i-3081|0){case 8:break h;case 6:break i;case 5:break j;case 4:break k;case 3:break l;case 2:break o;case 1:break p;case 0:break q;case 7:break b;case 10:break f;case 9:break g;default:break r}}s:{switch(i-6|0){case 0:j=(e|0)<14?e:14;e=0;i=0;if((f|0)>=2){while(1){f=0;t:{u:{v:{w:{h=(e<<4)+a|0;switch(v[h+360>>2]-1|0){case 2:break u;case 1:break v;case 0:break w;default:break t}}f=v[h+368>>2];break t}g=A[h+368>>3];h=g>2e9;if(D(g)<2147483648){f=~~g}else{f=-2147483648}f=g<-2e9?0:h?0:f;break t}k=v[h+372>>2];if(!k){break t}f=v[h+368>>2]/(k|0)|0}i=f+i|0;v[((e<<2)+d|0)+52>>2]=i;e=e+1|0;if((j|0)!=(e|0)){continue}break}}v[d+108>>2]=j;break b;case 1:j=(e|0)<10?e:10;e=0;i=0;if((f|0)>=2){while(1){f=0;x:{y:{z:{A:{h=(e<<4)+a|0;switch(v[h+360>>2]-1|0){case 2:break y;case 1:break z;case 0:break A;default:break x}}f=v[h+368>>2];break x}g=A[h+368>>3];h=g>2e9;if(D(g)<2147483648){f=~~g}else{f=-2147483648}f=g<-2e9?0:h?0:f;break x}k=v[h+372>>2];if(!k){break x}f=v[h+368>>2]/(k|0)|0}i=f+i|0;v[((e<<2)+d|0)+112>>2]=i;e=e+1|0;if((j|0)!=(e|0)){continue}break}}v[d+152>>2]=j;break b;case 2:j=(e|0)<14?e:14;e=0;i=0;if((f|0)>=2){while(1){f=0;B:{C:{D:{E:{h=(e<<4)+a|0;switch(v[h+360>>2]-1|0){case 2:break C;case 1:break D;case 0:break E;default:break B}}f=v[h+368>>2];break B}g=A[h+368>>3];h=g>2e9;if(D(g)<2147483648){f=~~g}else{f=-2147483648}f=g<-2e9?0:h?0:f;break B}k=v[h+372>>2];if(!k){break B}f=v[h+368>>2]/(k|0)|0}i=f+i|0;v[((e<<2)+d|0)+156>>2]=i;e=e+1|0;if((j|0)!=(e|0)){continue}break}}v[d+212>>2]=j;break b;case 5:break m;case 4:break n;case 3:break s;case 15:break c;case 14:break d;case 13:break e;default:break b}}j=(e|0)<10?e:10;e=0;i=0;if((f|0)>=2){while(1){f=0;F:{G:{H:{I:{h=(e<<4)+a|0;switch(v[h+360>>2]-1|0){case 2:break G;case 1:break H;case 0:break I;default:break F}}f=v[h+368>>2];break F}g=A[h+368>>3];h=g>2e9;if(D(g)<2147483648){f=~~g}else{f=-2147483648}f=g<-2e9?0:h?0:f;break F}k=v[h+372>>2];if(!k){break F}f=v[h+368>>2]/(k|0)|0}i=f+i|0;v[((e<<2)+d|0)+216>>2]=i;e=e+1|0;if((j|0)!=(e|0)){continue}break}}v[d+256>>2]=j;break b}g=0;J:{K:{switch(v[a+360>>2]-1|0){case 0:A[d+264>>3]=v[a+368>>2];break b;case 1:A[d+264>>3]=A[a+368>>3];break b;case 2:break K;default:break J}}e=v[a+372>>2];if(!e){break J}g=+v[a+368>>2]/+(e|0)}A[d+264>>3]=g;break b}e=0;L:{M:{switch(v[a+360>>2]-1|0){case 0:v[d+272>>2]=v[a+368>>2];break b;case 1:g=A[a+368>>3];i=g>2e9;e=d;if(D(g)<2147483648){f=~~g}else{f=-2147483648}v[e+272>>2]=g<-2e9?0:i?0:f;break b;case 2:break M;default:break L}}f=v[a+372>>2];if(!f){break L}e=v[a+368>>2]/(f|0)|0}v[d+272>>2]=e;break b}e=0;N:{O:{switch(v[a+360>>2]-1|0){case 0:v[d+276>>2]=v[a+368>>2];break b;case 1:g=A[a+368>>3];i=g>2e9;e=d;if(D(g)<2147483648){f=~~g}else{f=-2147483648}v[e+276>>2]=g<-2e9?0:i?0:f;break b;case 2:break O;default:break N}}f=v[a+372>>2];if(!f){break N}e=v[a+368>>2]/(f|0)|0}v[d+276>>2]=e;break b}g=0;P:{Q:{switch(v[a+360>>2]-1|0){case 0:g=+v[a+368>>2];break P;case 1:g=A[a+368>>3];break P;case 2:break Q;default:break P}}e=v[a+372>>2];if(!e){break P}g=+v[a+368>>2]/+(e|0)}v[d+288>>2]=1;A[d+280>>3]=g;break b}g=0;R:{S:{switch(v[a+360>>2]-1|0){case 0:g=+v[a+368>>2];break R;case 1:g=A[a+368>>3];break R;case 2:break S;default:break R}}e=v[a+372>>2];if(!e){break R}g=+v[a+368>>2]/+(e|0)}v[d+304>>2]=1;A[d+296>>3]=g;break b}i=(e|0)<12?e:12;l=0;e=0;if((f|0)>=2){while(1){g=0;T:{U:{V:{W:{f=(e<<4)+a|0;switch(v[f+360>>2]-1|0){case 2:break U;case 1:break V;case 0:break W;default:break T}}g=+v[f+368>>2];break T}g=A[f+368>>3];break T}h=v[f+372>>2];if(!h){break T}g=+v[f+368>>2]/+(h|0)}l=l+g;A[((e<<3)+d|0)+312>>3]=l;e=e+1|0;if((i|0)!=(e|0)){continue}break}}v[d+408>>2]=i;break b}i=(e|0)<12?e:12;l=0;e=0;if((f|0)>=2){while(1){g=0;X:{Y:{Z:{_:{f=(e<<4)+a|0;switch(v[f+360>>2]-1|0){case 2:break Y;case 1:break Z;case 0:break _;default:break X}}g=+v[f+368>>2];break X}g=A[f+368>>3];break X}h=v[f+372>>2];if(!h){break X}g=+v[f+368>>2]/+(h|0)}l=l+g;A[((e<<3)+d|0)+416>>3]=l;e=e+1|0;if((i|0)!=(e|0)){continue}break}}v[d+512>>2]=i;break b}e=0;$:{aa:{switch(v[a+360>>2]-1|0){case 0:e=!v[a+368>>2];break $;case 1:e=A[a+368>>3]==0;break $;case 2:break aa;default:break $}}e=!v[a+368>>2]}v[d+520>>2]=1;v[d+516>>2]=e^1;break b}g=0;ba:{ca:{switch(v[a+360>>2]-1|0){case 0:A[d+528>>3]=v[a+368>>2];break b;case 1:A[d+528>>3]=A[a+368>>3];break b;case 2:break ca;default:break ba}}e=v[a+372>>2];if(!e){break ba}g=+v[a+368>>2]/+(e|0)}A[d+528>>3]=g;break b}e=0;da:{ea:{switch(v[a+360>>2]-1|0){case 0:v[d+536>>2]=v[a+368>>2];break b;case 1:g=A[a+368>>3];i=g>2e9;e=d;if(D(g)<2147483648){f=~~g}else{f=-2147483648}v[e+536>>2]=g<-2e9?0:i?0:f;break b;case 2:break ea;default:break da}}f=v[a+372>>2];if(!f){break da}e=v[a+368>>2]/(f|0)|0}v[d+536>>2]=e;break b}g=0;fa:{ga:{switch(v[a+360>>2]-1|0){case 0:A[d+544>>3]=v[a+368>>2];break b;case 1:A[d+544>>3]=A[a+368>>3];break b;case 2:break ga;default:break fa}}e=v[a+372>>2];if(!e){break fa}g=+v[a+368>>2]/+(e|0)}A[d+544>>3]=g;break b}e=0;ha:{ia:{switch(v[a+360>>2]-1|0){case 0:v[d+552>>2]=v[a+368>>2];break b;case 1:g=A[a+368>>3];i=g>2e9;e=d;if(D(g)<2147483648){f=~~g}else{f=-2147483648}v[e+552>>2]=g<-2e9?0:i?0:f;break b;case 2:break ia;default:break ha}}f=v[a+372>>2];if(!f){break ha}e=v[a+368>>2]/(f|0)|0}v[d+552>>2]=e;break b}e=0;ja:{ka:{switch(v[a+360>>2]-1|0){case 0:e=v[a+368>>2];break ja;case 1:g=A[a+368>>3];f=g>2e9;if(D(g)<2147483648){e=~~g}else{e=-2147483648}e=g<-2e9?0:f?0:e;break ja;case 2:break ka;default:break ja}}f=v[a+372>>2];if(!f){break ja}e=v[a+368>>2]/(f|0)|0}v[d+556>>2]=b+e;break b}g=0;la:{ma:{na:{oa:{e=v[a+360>>2];switch(e-1|0){case 2:break ma;case 1:break na;case 0:break oa;default:break la}}g=+v[a+368>>2];break la}g=A[a+368>>3];break la}f=v[a+372>>2];if(!f){break la}g=+v[a+368>>2]/+(f|0)}A[d+560>>3]=g;v[d+568>>2]=(e|0)==1;break b}g=0;pa:{qa:{ra:{sa:{e=v[a+360>>2];switch(e-1|0){case 2:break qa;case 1:break ra;case 0:break sa;default:break pa}}g=+v[a+368>>2];break pa}g=A[a+368>>3];break pa}f=v[a+372>>2];if(!f){break pa}g=+v[a+368>>2]/+(f|0)}A[d+576>>3]=g;v[d+584>>2]=(e|0)==1}v[a+1144>>2]=0}if((c|0)<(m|0)){continue}break}}}function Ro(a){var 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,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;a:{b:{if(w[a+476|0]?1:w[a+496|0]){if(w[a+460|0]){break b}n=v[a+544>>2];o=v[a+512>>2];p=v[a+980>>2];q=v[a+968>>2];r=v[a+976>>2];s=w[a+649|0];z=w[a+648|0];A=v[a+644>>2];B=v[a+640>>2];C=v[a+604>>2];D=v[a+588>>2];E=v[a+584>>2];F=v[a+580>>2];G=v[a+576>>2];H=v[a+572>>2];I=w[a+568|0];J=v[a+668>>2];K=v[a+664>>2];L=v[a+660>>2];M=v[a+656>>2];N=v[a+684>>2];O=v[a+680>>2];P=v[a+676>>2];Q=v[a+672>>2];v[a+680>>2]=0;v[a+672>>2]=0;c=v[a+16>>2];v[a+676>>2]=c;e=v[a+20>>2];v[a+684>>2]=e;c:{if(!w[a+1124|0]){b=c;break c}b=v[a+1128>>2];h=(b|0)>0?b:0;v[a+672>>2]=h;b=v[a+1136>>2];d=(b|0)>0?b:0;v[a+680>>2]=d;b=v[a+1132>>2];b=(b|0)>(c|0)?c:b;v[a+676>>2]=b;g=v[a+1140>>2];e=(e|0)<(g|0)?e:g;v[a+684>>2]=e}d:{if((b|0)<(h|0)|(d|0)>(e|0)){break d}v[a+664>>2]=0;v[a+656>>2]=0;u[a+648>>1]=256;v[a+588>>2]=c;v[a+580>>2]=0;v[a+584>>2]=1;v[a+572>>2]=0;v[a+576>>2]=1;t[a+568|0]=255;v[a+668>>2]=e-d;v[a+660>>2]=b-h;v[a+604>>2]=c<<2;Vv(a);v[a+972>>2]=827;e=1;e:{f:{switch(v[a+12>>2]-1|0){case 0:case 2:break f;default:break e}}if(!w[a+86|0]){break e}b=v[a+512>>2];if(!b){b=v[a+528>>2];v[a+512>>2]=b}if(!w[v[b+88>>2]+61|0]){break e}v[a+972>>2]=828;e=0}g:{if(!v[a+224>>2]){break g}b=829;h:{i:{j:{k:{l:{d=v[a+56>>2];switch(d|0){case 2:case 3:case 4:break g;case 0:break h;case 5:break i;case 6:break j;case 1:break l;default:break k}}b=830;break h}if((d|0)!=65537){break g}b=831;break h}b=832;break h}b=833}v[a+972>>2]=b}m:{n:{o:{if(!w[a+302|0]){break o}b=w[a+1058|0];p:{if(b&2){if(x[a+1060>>1]|b&1){break p}break o}if(!(b&1)){break o}}v[a+976>>2]=0;v[a+972>>2]=834;break n}v[a+976>>2]=0;if(e){break m}}e=Ps(a,1,0,0);if(e){break b}}b=Ub[v[a+152>>2]](v[a+604>>2])|0;v[a+644>>2]=b;if(!b){break a}b=v[a+680>>2];while(1){q:{d=b;c=v[a+684>>2];if((c|0)<=(b|0)){e=0;break q}e=Ub[v[a+972>>2]](a)|0;if(e){break q}b=v[a+976>>2];if(b){e=Ub[b|0](a)|0;if(e){break q}}e=Ub[v[a+968>>2]](a)|0;if(e){break q}b=d+1|0;e=Bq(a);if(!e){continue}}break}b=v[a+644>>2];if(b){Ub[v[a+156>>2]](b,v[a+604>>2]);v[a+644>>2]=0}if((c|0)>(d|0)){break b}if(!w[a+302|0]|!(w[a+1058|0]&2)){break d}b=x[a+1060>>1];if(!b){break d}i=yg(a,b);v[a+544>>2]=i;if(!w[i+31|0]|(!i|!w[i+32|0])){break d}d=v[a+676>>2];h=v[i+36>>2];if((d|0)<=(h|0)){break d}b=v[a+684>>2];g=v[i+40>>2];if((b|0)<=(g|0)){break d}l=w[a+1062|0];if(!l){c=v[i+88>>2];if(v[a+672>>2]>(h+v[c+36>>2]|0)|v[a+680>>2]>(g+v[c+40>>2]|0)){break d}}r:{if(!w[i+44|0]){e=v[a+672>>2];break r}c=v[i+48>>2];j=v[i+52>>2];if((c|0)>(j|0)){break d}k=v[i+56>>2];f=v[i+60>>2];if((k|0)>(f|0)|(c|0)>=(d|0)){break d}e=v[a+672>>2];if((j|0)<(e|0)|(b|0)<=(k|0)){break d}m=v[a+680>>2];if((f|0)<(m|0)){break d}if((c|0)>(e|0)){v[a+672>>2]=c;e=c}if((d|0)>(j|0)){v[a+676>>2]=j;d=j}if((k|0)>(m|0)){v[a+680>>2]=k}if((b|0)<=(f|0)){break r}v[a+684>>2]=f;b=f}if((e|0)<(h|0)){v[a+672>>2]=h;e=h}c=v[a+680>>2];if((g|0)>(c|0)){v[a+680>>2]=g;c=g}f=v[i+88>>2];i=v[f+36>>2];s:{if(l){k=v[f+40>>2];break s}j=h+i|0;if((j|0)<(d|0)){v[a+676>>2]=j;d=j}k=v[f+40>>2];j=g+k|0;if((j|0)>=(b|0)){break s}v[a+684>>2]=j;b=j}j=0;v[a+664>>2]=0;v[a+656>>2]=0;v[a+668>>2]=b-c;v[a+660>>2]=d-e;b=w[f+44|0];v[a+1076>>2]=k;v[a+1072>>2]=i;v[a+1068>>2]=g;v[a+1064>>2]=h;v[a+572>>2]=0;b=b>>>0>8;t[a+648|0]=b;t:{u:{v:{switch(w[f+45|0]){case 0:v[a+980>>2]=b?820:821;j=!w[f+56|0];break u;case 2:v[a+980>>2]=b?822:823;j=!w[f+56|0];break u;case 3:v[a+980>>2]=824;j=!w[f+56|0];break u;case 4:v[a+980>>2]=b?825:826;break u;case 6:v[a+980>>2]=b?693:694;break u;case 8:v[a+980>>2]=b?820:821;j=1;break u;case 10:v[a+980>>2]=b?822:823;j=1;break u;case 12:v[a+980>>2]=b?825:826;break u;case 14:break v;default:break t}}v[a+980>>2]=b?693:694}t[a+649|0]=j}e=Ps(a,0,0,1);if(e){break b}b=Ub[v[a+152>>2]](v[a+604>>2])|0;v[a+640>>2]=b;if(!b){break a}b=Ub[v[a+152>>2]](v[a+604>>2])|0;v[a+644>>2]=b;if(!b){break a}b=v[a+680>>2];while(1){w:{j=b;k=v[a+684>>2];if((k|0)<=(b|0)){e=0;break w}l=v[a+572>>2];b=v[a+1068>>2]+(l+v[a+680>>2]|0)|0;c=v[a+1076>>2];m=v[a+588>>2];h=v[a+644>>2];while(1){d=b;b=b-c|0;if((c|0)<=(d|0)){continue}break}v[a+572>>2]=d;v[a+588>>2]=v[a+1072>>2];v[a+644>>2]=v[a+640>>2];e=Ub[v[a+980>>2]](a)|0;if(!e){d=v[a+672>>2];e=d-v[a+1064>>2]|0;c=v[a+1072>>2];while(1){b=e;e=b-c|0;if(b>>>0>=c>>>0){continue}break}g=v[a+676>>2];e=g-d|0;x:{if(w[a+648|0]){if((e|0)<1){break x}i=d+1|0;c=v[a+640>>2]+(b<<3)|0;if(g-d&1){d=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);f=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);t[h|0]=f;t[h+1|0]=f>>>8;t[h+2|0]=f>>>16;t[h+3|0]=f>>>24;t[h+4|0]=d;t[h+5|0]=d>>>8;t[h+6|0]=d>>>16;t[h+7|0]=d>>>24;b=b+1|0;if(b>>>0>2]){c=c+8|0}else{b=0;c=v[a+640>>2]}e=e-1|0;d=h+8|0}else{d=h}if((g|0)==(i|0)){break x}while(1){g=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);f=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);t[d|0]=f;t[d+1|0]=f>>>8;t[d+2|0]=f>>>16;t[d+3|0]=f>>>24;t[d+4|0]=g;t[d+5|0]=g>>>8;t[d+6|0]=g>>>16;t[d+7|0]=g>>>24;b=b+1|0;if(b>>>0>2]){c=c+8|0}else{b=0;c=v[a+640>>2]}f=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);i=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);t[d+8|0]=i;t[d+9|0]=i>>>8;t[d+10|0]=i>>>16;t[d+11|0]=i>>>24;t[d+12|0]=f;t[d+13|0]=f>>>8;t[d+14|0]=f>>>16;t[d+15|0]=f>>>24;b=b+1|0;if(b>>>0>2]){c=c+8|0}else{b=0;c=v[a+640>>2]}d=d+16|0;g=(e|0)>2;e=e-2|0;if(g){continue}break}break x}if((e|0)<1){break x}f=d+1|0;c=v[a+640>>2]+(b<<2)|0;if(g-d&1){d=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);t[h|0]=d;t[h+1|0]=d>>>8;t[h+2|0]=d>>>16;t[h+3|0]=d>>>24;b=b+1|0;if(b>>>0>2]){c=c+4|0}else{b=0;c=v[a+640>>2]}e=e-1|0;d=h+4|0}else{d=h}if((g|0)==(f|0)){break x}while(1){g=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);t[d|0]=g;t[d+1|0]=g>>>8;t[d+2|0]=g>>>16;t[d+3|0]=g>>>24;g=d;i=d;b=b+1|0;if(b>>>0>2]){c=c+4|0}else{b=0;c=v[a+640>>2]}f=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);t[i+4|0]=f;t[g+5|0]=f>>>8;t[g+6|0]=f>>>16;t[g+7|0]=f>>>24;b=b+1|0;if(b>>>0>2]){c=c+4|0}else{b=0;c=v[a+640>>2]}d=d+8|0;g=(e|0)>2;e=e-2|0;if(g){continue}break}}v[a+588>>2]=m;v[a+572>>2]=l;v[a+644>>2]=h;e=0}if(e){break w}b=v[a+976>>2];if(b){e=Ub[b|0](a)|0;if(e){break w}}e=Ub[v[a+968>>2]](a)|0;if(e){break w}b=j+1|0;e=Bq(a);if(!e){continue}}break}b=v[a+644>>2];if(b){Ub[v[a+156>>2]](b,v[a+604>>2]);v[a+644>>2]=0}b=v[a+640>>2];if(b){Ub[v[a+156>>2]](b,v[a+604>>2]);v[a+640>>2]=0}if((j|0)<(k|0)){break b}}v[a+684>>2]=N;v[a+680>>2]=O;v[a+676>>2]=P;v[a+672>>2]=Q;v[a+668>>2]=J;v[a+664>>2]=K;v[a+660>>2]=L;v[a+656>>2]=M;v[a+976>>2]=r;t[a+649|0]=s;t[a+648|0]=z;v[a+644>>2]=A;v[a+640>>2]=B;v[a+604>>2]=C;v[a+588>>2]=D;v[a+584>>2]=E;v[a+580>>2]=F;v[a+576>>2]=G;v[a+572>>2]=H;t[a+568|0]=I;v[a+980>>2]=p;v[a+968>>2]=q;v[a+512>>2]=o;v[a+544>>2]=n}e=0}return e}pc(a,1,0,0);return 1}function TQ(a,b,c){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,p=0,q=0,r=0,s=0,t=0,x=0,y=0,z=0,A=0,B=0,C=0,E=0,F=0,G=0,I=0,J=0;e=Qb-368|0;Qb=e;a:{b:{f=v[a+200>>2];if(f&1){c:{if(f&4){Gc(a,50584);td(a,c);break c}if(f&2){Gc(a,50975)}if(!(!b|(v[b+8>>2]&2052)!=4)){Gc(a,51279);td(a,c);break c}if((c|0)!=32){Gc(a,51926);td(a,c);break c}c=e+336|0;yf(a,c,32);kd(a,c,32);if(td(a,0)){break c}d:{c=v[e+336>>2];f=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);e:{if((f|0)<0){break e}c=v[e+340>>2];h=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if((h|0)<0){break e}c=v[e+344>>2];i=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if((i|0)<0){break e}c=v[e+348>>2];j=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if((j|0)<0){break e}c=v[e+352>>2];l=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if((l|0)<0){break e}c=v[e+356>>2];n=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if((n|0)<0){break e}c=v[e+360>>2];o=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if((o|0)<0){break e}c=v[e+364>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if((c|0)>-1){break d}}Gc(a,52184);break c}r=(c|0)>-1?c:-1;s=(o|0)>-1?o:-1;t=(n|0)>-1?n:-1;x=(l|0)>-1?l:-1;y=(j|0)>-1?j:-1;z=(i|0)>-1?i:-1;A=(h|0)>-1?h:-1;F=(f|0)>-1?f:-1;if(!(!b|!(w[b+9|0]&8))){f:{if((A|0)<31900|F-30270>>>0>2e3|((z|0)<63e3|(A|0)>33900)){break f}if((y|0)<32e3|(z|0)>65e3|((x|0)<29e3|(y|0)>34e3)){break f}if((t|0)<59e3|(x|0)>31e3|((s|0)<14e3|(t|0)>61e3)){break f}if((r|0)<5e3|(s|0)>16e3){break f}if((r|0)<7001){break c}}b=e+80|0;Ej(b,1,5,F);Ej(b,2,5,A);Ej(b,3,5,z);Ej(b,4,5,y);Ej(b,5,5,x);Ej(b,6,5,t);Ej(b,7,5,s);Ej(b,8,5,r);Jp(a,b,52586);break c}g:{if(w[a+654|0]){break g}v[e+56>>2]=x;c=e- -64|0;v[c>>2]=s;v[e+72>>2]=F;v[e+60>>2]=t;f=v[e+60>>2];v[e+8>>2]=v[e+56>>2];v[e+12>>2]=f;v[e+68>>2]=r;f=v[c+4>>2];v[e+16>>2]=v[c>>2];v[e+20>>2]=f;v[e+76>>2]=A;c=v[e+76>>2];v[e+24>>2]=v[e+72>>2];v[e+28>>2]=c;v[e+52>>2]=y;v[e+48>>2]=z;c=v[e+52>>2];v[e>>2]=v[e+48>>2];v[e+4>>2]=c;j=Qb-32|0;Qb=j;c=v[e+28>>2];v[j+24>>2]=v[e+24>>2];v[j+28>>2]=c;c=v[e+20>>2];v[j+16>>2]=v[e+16>>2];v[j+20>>2]=c;c=v[e+12>>2];v[j+8>>2]=v[e+8>>2];v[j+12>>2]=c;c=v[e+4>>2];v[j>>2]=v[e>>2];v[j+4>>2]=c;l=1;h:{i:{p=v[j>>2];if(p>>>0>1e5){break i}B=v[j+4>>2];if((B|0)<0|(1e5-p|0)<(B|0)){break i}C=v[j+8>>2];if(C>>>0>1e5){break i}E=v[j+12>>2];if((E|0)<0|(1e5-C|0)<(E|0)){break i}n=v[j+16>>2];if(n>>>0>1e5){break i}o=v[j+20>>2];if((o|0)<0|(1e5-n|0)<(o|0)){break i}m=v[j+24>>2];if(m>>>0>1e5){break i}f=v[j+28>>2];if((f|0)<5|(1e5-m|0)<(f|0)){break i}i=B-o|0;h=C-n|0;k=0;j:{k:{if(!h){break k}k=0;if(!i){break k}c=2;d=H(+(h|0)*+(i|0)/7+.5);if(!(d<=2147483647)|!(d>=-2147483648)){break j}k=~~d;if(D(d)<2147483648){break k}k=-2147483648}I=E-o|0;q=p-n|0;l:{if(!I|!q){break l}c=2;d=H(+(q|0)*+(I|0)/7+.5);if(!(d<=2147483647)|!(d>=-2147483648)){break j}if(D(d)<2147483648){g=~~d;break l}g=-2147483648}J=f-o|0;c=0;m:{if(!h){break m}c=0;if(!J){break m}c=2;d=H(+(h|0)*+(J|0)/7+.5);if(!(d<=2147483647)|!(d>=-2147483648)){break j}c=~~d;if(D(d)<2147483648){break m}c=-2147483648}h=c;m=m-n|0;n:{if(!I|!m){break n}c=2;d=H(+(I|0)*+(m|0)/7+.5);if(!(d<=2147483647)|!(d>=-2147483648)){break j}if(D(d)<2147483648){G=~~d;break n}G=-2147483648}G=h-G|0;if(!G){break i}k=k-g|0;h=0;o:{if(!k){break o}d=H(+(f|0)*+(k|0)/+(G|0)+.5);if(!(d<=2147483647)|!(d>=-2147483648)){break i}h=~~d;if(D(d)<2147483648){break o}h=-2147483648}if((h|0)<=(f|0)){break i}g=0;c=0;p:{if(!i){break p}c=0;if(!m){break p}c=2;d=H(+(i|0)*+(m|0)/7+.5);if(!(d<=2147483647)|!(d>=-2147483648)){break j}c=~~d;if(D(d)<2147483648){break p}c=-2147483648}i=c;q:{if(!q|!J){break q}c=2;d=H(+(q|0)*+(J|0)/7+.5);if(!(d<=2147483647)|!(d>=-2147483648)){break j}if(D(d)<2147483648){g=~~d;break q}g=-2147483648}c=i-g|0;if(!c){break i}i=0;r:{if(!k){break r}d=H(+(f|0)*+(k|0)/+(c|0)+.5);if(!(d<=2147483647)|!(d>=-2147483648)){break i}i=~~d;if(D(d)<2147483648){break r}i=-2147483648}c=1;if((f|0)>=(i|0)){break j}d=H(1e10/+(f|0)+.5);f=d>=-2147483648;if(D(d)<2147483648){g=~~d}else{g=-2147483648}g=f?g:0;k=d<=2147483647;s:{t:{if(!h){break t}d=H(1e10/+(h|0)+.5);q=d<=2147483647;if(D(d)<2147483648){f=~~d}else{f=-2147483648}if(!q){break t}if(d>=-2147483648){break s}}f=0}k=k?g:0;u:{v:{if(!i){break v}d=H(1e10/+(i|0)+.5);q=d<=2147483647;if(D(d)<2147483648){g=~~d}else{g=-2147483648}if(!q){break v}if(d>=-2147483648){break u}}g=0}k=k-(f+g|0)|0;if(!h|(k|0)<1){break j}f=0;g=e;m=0;w:{if(!p){break w}d=H(+(p|0)*1e5/+(h|0)+.5);if(!(d<=2147483647)|!(d>=-2147483648)){break j}m=~~d;if(D(d)<2147483648){break w}m=-2147483648}v[g+80>>2]=m;x:{if(!B){break x}d=H(+(B|0)*1e5/+(h|0)+.5);if(!(d<=2147483647)|!(d>=-2147483648)){break j}if(D(d)<2147483648){f=~~d;break x}f=-2147483648}v[e+84>>2]=f;f=e;p=1e5-(p+B|0)|0;g=0;y:{if(!p){break y}d=H(+(p|0)*1e5/+(h|0)+.5);if(!(d<=2147483647)|!(d>=-2147483648)){break j}g=~~d;if(D(d)<2147483648){break y}g=-2147483648}v[f+88>>2]=g;if(!i){break j}g=0;h=e;f=0;z:{if(!C){break z}d=H(+(C|0)*1e5/+(i|0)+.5);if(!(d<=2147483647)|!(d>=-2147483648)){break j}f=~~d;if(D(d)<2147483648){break z}f=-2147483648}v[h+92>>2]=f;A:{if(!E){break A}d=H(+(E|0)*1e5/+(i|0)+.5);if(!(d<=2147483647)|!(d>=-2147483648)){break j}if(D(d)<2147483648){g=~~d;break A}g=-2147483648}v[e+96>>2]=g;g=0;h=e;p=1e5-(C+E|0)|0;f=0;B:{if(!p){break B}d=H(+(p|0)*1e5/+(i|0)+.5);if(!(d<=2147483647)|!(d>=-2147483648)){break j}f=~~d;if(D(d)<2147483648){break B}f=-2147483648}v[h+100>>2]=f;C:{if(!n){break C}d=H(+(n|0)*+(k|0)/1e5+.5);if(!(d<=2147483647)|!(d>=-2147483648)){break j}if(D(d)<2147483648){g=~~d;break C}g=-2147483648}v[e+104>>2]=g;g=0;h=e;i=0;D:{if(!o){break D}d=H(+(o|0)*+(k|0)/1e5+.5);if(!(d<=2147483647)|!(d>=-2147483648)){break j}i=~~d;if(D(d)<2147483648){break D}i=-2147483648}v[h+108>>2]=i;f=1e5-(n+o|0)|0;E:{if(!f){break E}d=H(+(f|0)*+(k|0)/1e5+.5);if(!(d<=2147483647)|!(d>=-2147483648)){break j}if(D(d)<2147483648){g=~~d;break E}g=-2147483648}v[e+112>>2]=g;c=0}break h}c=1}F:{switch(c|0){default:hd(a,38265);L();case 1:Gc(a,37250);l=0;break;case 0:break F}}Qb=j+32|0;if(!l){break g}if(!_x(e+44|0,v[e+84>>2],32768)){break a}c=v[e+44>>2];if((c|0)<0|(c|0)>32768){break a}if(!_x(e+40|0,v[e+96>>2],32768)){break a}c=v[e+40>>2];if((c|0)<0|(c|0)>32768){break a}if(!_x(e+36|0,v[e+108>>2],32768)){break a}c=v[e+36>>2];if((c|0)<0|(c|0)>32768){break a}f=v[e+40>>2];l=v[e+44>>2];h=f+(l+c|0)|0;if((h|0)>32769){break a}g=-1;G:{if((h|0)!=32769){g=1;if((h|0)>32767){break G}}if(!((f|0)<(l|0)|(c|0)>(f|0))){f=f+g|0;v[e+40>>2]=f;break G}if(!((f|0)>(l|0)|(c|0)>(l|0))){l=g+l|0;v[e+44>>2]=l;break G}c=c+g|0;v[e+36>>2]=c}if(((f+l|0)+c|0)!=32768){break b}u[a+658>>1]=f;u[a+656>>1]=l}H:{if(!a|!b){break H}if(!oE(a,F,A,z,y,x,t,s,r)){break H}v[b+156>>2]=r;v[b+152>>2]=s;v[b+148>>2]=t;v[b+144>>2]=x;v[b+140>>2]=y;v[b+136>>2]=z;v[b+132>>2]=A;v[b+128>>2]=F;v[b+8>>2]=v[b+8>>2]|4}}Qb=e+368|0;return}hd(a,50032);L()}hd(a,53160);L()}hd(a,53722);L()}function c3(a,b){a=a|0;b=b|0;var 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;i=Qb-4112|0;Qb=i;a:{b:{if((Kh(a,i+4108|0,4)|0)!=4){break b}c:{if(!(w[i+4108|0]!=77|w[i+4109|0]!=73|w[i+4110|0]!=70)){if(w[i+4111|0]==10){break c}}Sc(37035,0);break a}g=jc(16);if(!g){break b}v[g+12>>2]=0;v[g+4>>2]=0;v[g+8>>2]=0;d=jc(0);d:{if(d){v[g+12>>2]=d;v[g+8>>2]=0;b=v[g+4>>2];e:{if((b|0)>-1){break e}v[d+(b<<2)>>2]=0;c=b+1|0;if(b>>>0>c>>>0){break e}d=b&3;if((d|0)!=3){f=d^3;while(1){v[v[g+12>>2]+(c<<2)>>2]=0;c=c+1|0;f=f-1|0;if(f){continue}break}}if(-2-b>>>0<3){break e}while(1){b=c<<2;v[b+v[g+12>>2]>>2]=0;v[(b+v[g+12>>2]|0)+4>>2]=0;v[(b+v[g+12>>2]|0)+8>>2]=0;v[(b+v[g+12>>2]|0)+12>>2]=0;c=c+4|0;if(c){continue}break}}d=4096;j=i;f:{g:{h:{i:{j:{k:while(1){b=j;l:{m:while(1){c=v[a+8>>2];n:{if(c&7){break n}while(1){o:{e=v[a+64>>2];if((e|0)>=0&(e|0)<=v[a+60>>2]){break o}c=v[a+28>>2];v[a+28>>2]=c-1;p:{q:{r:{if((c|0)<=0){c=Hc(a,1);break r}v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;c=w[c|0]}if((c|0)!=35){if((c|0)==92){break q}if((c|0)==-1){break n}t[b|0]=c;b=b+1|0;if((c|0)==10){break n}c=d>>>0>2;d=d-1|0;if(c){continue m}break n}while(1){c=v[a+8>>2];if(c&7){break n}e=v[a+64>>2];if((e|0)>=0&(e|0)<=v[a+60>>2]){break o}c=v[a+28>>2];v[a+28>>2]=c-1;s:{if((c|0)<=0){c=Hc(a,1);break s}v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;c=w[c|0]}switch(c+1|0){case 0:break n;case 11:break p;default:continue}}}t:{if(v[a+28>>2]<=0){c=Hc(a,0);break t}c=w[v[a+24>>2]]}if((c|0)!=10){break p}c=v[a+8>>2];if(c&7){break p}e=v[a+64>>2];if(!((e|0)<0|(e|0)>v[a+60>>2])){v[a+8>>2]=c|4;break p}c=v[a+28>>2];v[a+28>>2]=c-1;if((c|0)<=0){Hc(a,1);break p}v[a+60>>2]=v[a+60>>2]+1;v[a+24>>2]=v[a+24>>2]+1}c=v[a+8>>2];if(!(c&7)){continue}break n}break}v[a+8>>2]=c|4}t[b|0]=0;b=af(i,10);if(!b){break l}t[b|0]=0;d=4096;b=j;if(!w[i|0]){continue}b=$s(i);if(!b){break l}if(Am(b)){break i}c=cp(1031920,v[b+4>>2]);c=v[(c?c:1031904)>>2];Jq(b);b=j;u:{switch(c|0){case 0:break j;case 1:break u;default:continue}}e=jc(36);if(!e){continue}v[e>>2]=0;v[e+4>>2]=0;v[e+32>>2]=0;d=e+16|0;v[d>>2]=0;v[d+4>>2]=0;k=e+8|0;b=k;v[b>>2]=0;v[b+4>>2]=0;c=e+24|0;v[c>>2]=0;v[c+4>>2]=-1;v:{l=$s(i);if(!l){break v}f=e+20|0;if(!Am(l)){h=e+28|0;m=e+12|0;n=e+4|0;while(1){b=e;w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{o=cp(1031952,v[l+4>>2]);switch(v[(o?o:1031904)>>2]){case 0:break x;case 1:break y;case 8:break z;case 7:break A;case 6:break B;case 5:break C;case 4:break D;case 3:break E;case 2:break F;default:break w}}b=k;break x}b=m;break x}b=d;break x}b=f;break x}b=c;break x}b=h;break x}b=ep(v[l+8>>2]);v[e+32>>2]=b;if(b){break w}d=4096;continue k}b=n}p=b,q=he(v[l+8>>2]),v[p>>2]=q}if(!Am(l)){continue}break}}Jq(l);if(!v[d>>2]|!v[f>>2]){break v}b=v[g+4>>2];if((b|0)>=v[g+8>>2]){f=b+128|0;d=v[g+12>>2];G:{if(!d){c=jc(f<<2);break G}c=uh(d,f<<2)}if(!c){break v}v[g+12>>2]=c;v[g+8>>2]=f;d=v[g+4>>2];H:{if((d|0)>=(f|0)){break H}v[c+(d<<2)>>2]=0;c=d+1|0;if((f|0)==(c|0)){break H}b=b-d|0;k=b+126|0;b=b-1&3;if(b){while(1){v[v[g+12>>2]+(c<<2)>>2]=0;c=c+1|0;b=b-1|0;if(b){continue}break}}if(k>>>0<3){break H}while(1){b=c<<2;v[b+v[g+12>>2]>>2]=0;v[(b+v[g+12>>2]|0)+4>>2]=0;v[(b+v[g+12>>2]|0)+8>>2]=0;v[(b+v[g+12>>2]|0)+12>>2]=0;c=c+4|0;if((f|0)!=(c|0)){continue}break}}b=d}v[v[g+12>>2]+(b<<2)>>2]=e;v[g+4>>2]=b+1;d=4096;continue k}b=v[e+32>>2];if(b){dc(b)}dc(e);d=4096;b=j;if(!l){continue}break}Jq(l);continue}break}c=v[g+12>>2];if(!c){break d}if(v[g+4>>2]>=1){a=0;while(1){b=v[(a<<2)+c>>2];d=v[b+32>>2];if(d){dc(d)}dc(b);a=a+1|0;if((a|0)>2]){c=v[g+12>>2];continue}break}c=v[g+12>>2]}dc(c);break d}m=vB();if(!m){e=0;d=0;k=0;break f}f=v[g+4>>2];if((f|0)>=1){n=0;while(1){d=a;h=v[v[g+12>>2]+(n<<2)>>2];k=v[h+32>>2];if(k){f=0;d=30276;c=Qb-16|0;Qb=c;e=jc(68);I:{if(!e){e=0;break I}v[e+52>>2]=0;v[e+56>>2]=0;v[e>>2]=0;v[e+4>>2]=0;v[e+60>>2]=0;v[e+64>>2]=-1;v[e+8>>2]=0;v[e+12>>2]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[e+24>>2]=0;v[e+28>>2]=0;j=w[30276];J:{K:{if(j){while(1){b=d;L:{M:{N:{O:{P:{Q:{d=j<<24>>24;switch(d-97|0){case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 18:case 19:case 20:case 21:break L;case 0:break M;case 1:break N;case 22:break O;case 17:break P;default:break Q}}if((d|0)!=43){break L}f=f|3;break L}f=f|1;break L}f=f|18;break L}f=f|8;break L}f=f|4}d=b+1|0;j=w[b+1|0];if(j){continue}break}v[e>>2]=f;b=f&3;if(!b){break K}b=f&1?((b|0)==3)<<1:1;break J}v[e>>2]=0}b=0}R:{d=jc(32);if(!d){if(!(w[e+4|0]&8)){break R}b=v[e+12>>2];if(!b){break R}dc(b);v[e+12>>2]=0;break R}t[d+8|0]=0;v[d>>2]=-1;v[d+4>>2]=0;v[e+52>>2]=1028104;v[e+56>>2]=d;v[c>>2]=438;b=b|f<<8&1024;b=Sw(k,f&16?b|576:b,c);v[d>>2]=b;if((b|0)<=-1){if(!(w[e+4|0]&8)){break R}b=v[e+12>>2];if(!b){break R}dc(b);v[e+12>>2]=0;break R}if(!v[e+12>>2]){b=jc(8208);v[e+12>>2]=b;S:{if(b){j=8192;d=v[e+4>>2]|8;break S}b=e+32|0;v[e+12>>2]=b;j=1;d=v[e+4>>2]}v[e+28>>2]=0;v[e+20>>2]=j;b=b+16|0;v[e+24>>2]=b;v[e+16>>2]=b;v[e+4>>2]=d|2;break I}X(36522,6782,703,188128);L()}dc(e);e=0}Qb=c+16|0;d=e}if(!d){e=0;d=0;k=0;break g}k=0;e=sK(d,-1);if(!e){e=0;break g}j=a;if((a|0)!=(d|0)){Te(d);j=0}c=v[h+8>>2];if(!c){c=v[v[v[e+24>>2]>>2]+16>>2];v[h+8>>2]=c}f=v[h+12>>2];if(!f){f=v[v[v[e+24>>2]>>2]+16>>2];v[h+12>>2]=f}b=v[h+24>>2];if(!b){b=v[v[v[e+24>>2]>>2]+24>>2];v[h+24>>2]=b}d=v[h+28>>2];if((d|0)<=-1){d=v[v[v[e+24>>2]>>2]+28>>2];v[h+28>>2]=d}v[i>>2]=v[h>>2];v[i+4>>2]=v[h+4>>2];v[i+8>>2]=v[h+16>>2];l=v[h+20>>2];v[i+28>>2]=d;v[i+24>>2]=b;v[i+20>>2]=f;v[i+16>>2]=c;v[i+12>>2]=l;if(Kq(m,v[m+16>>2],i)){d=j;break g}f=xn(0,0,v[h+8>>2],v[h+12>>2]);if(!f){d=j;break g}if(Zj(e,0,0,0,v[h+8>>2],v[h+12>>2],f)){break h}T:{if(!v[h+28>>2]){c=v[h+12>>2];break T}c=v[h+12>>2];if((c|0)<1){break T}b=v[h+8>>2];if((b|0)<1){break T}k=-1<>2]-1;d=0;while(1){if((b|0)>=1){l=v[f+28>>2];c=0;while(1){b=v[l+(d-v[f+8>>2]<<2)>>2]+(c-v[f+4>>2]<<2)|0;v[b>>2]=k+v[b>>2];b=v[h+8>>2];c=c+1|0;if((b|0)>(c|0)){continue}break}c=v[h+12>>2]}d=d+1|0;if((d|0)<(c|0)){continue}break}}if(cj(m,v[m+16>>2]-1|0,0,0,v[h+8>>2],c,f)){break h}$e(f);Wg(e);f=v[g+4>>2];n=n+1|0;if((f|0)>(n|0)){continue}break}}c=v[g+12>>2];if(c){if((f|0)>=1){a=0;while(1){b=v[(a<<2)+c>>2];d=v[b+32>>2];if(d){dc(d)}dc(b);a=a+1|0;if((a|0)>2]){c=v[g+12>>2];continue}break}c=v[g+12>>2]}dc(c)}dc(g);break a}ia();L()}d=j;k=f}Wg(m)}f=v[g+12>>2];if(f){if(v[g+4>>2]>=1){c=0;while(1){b=v[(c<<2)+f>>2];j=v[b+32>>2];if(j){dc(j)}dc(b);c=c+1|0;if((c|0)>2]){f=v[g+12>>2];continue}break}f=v[g+12>>2]}dc(f)}dc(g);if(!(!d|(a|0)==(d|0))){Te(d)}if(e){Wg(e)}m=0;if(!k){break a}$e(k);break a}c=v[g+12>>2];if(!c){break d}if(v[g+4>>2]>=1){a=0;while(1){b=v[(a<<2)+c>>2];d=v[b+32>>2];if(d){dc(d)}dc(b);a=a+1|0;if((a|0)>2]){c=v[g+12>>2];continue}break}c=v[g+12>>2]}dc(c)}dc(g)}m=0}Qb=i+4112|0;return m|0}function bU(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;v[a>>2]=885156;a:{b=v[a+4>>2];d=v[b+36>>2];b:{if(!d){break b}v[299999]=0;vu(d);d=v[299999];v[299999]=0;if((d|0)==1){break a}b=v[a+4>>2];d=v[b+36>>2];if(!d){break b}v[299999]=0;b=d+12|0;f=v[299999];v[299999]=0;c:{if((f|0)!=1){vu(d);f=v[b>>2];if(f){Ub[v[v[f>>2]+4>>2]](f);v[b>>2]=0}Vp(d,v[d+4>>2]);break c}W(0)|0;O()|0;a=v[b>>2];if(a){Ub[v[v[a>>2]+4>>2]](a);v[b>>2]=0}Vp(d,v[d+4>>2]);lc();L()}dc(d);b=v[a+4>>2]}d:{if(t[b+27|0]<=-1){v[b+20>>2]=0;b=v[b+16>>2];break d}t[b+27|0]=0;b=b+16|0}v[b>>2]=0;b=v[a+4>>2];d=w[b+15|0];if(d<<24>>24<0?v[b+8>>2]:d){v[299999]=0;V(2736,b+4|0,1);d=v[299999];v[299999]=0;if((d|0)==1){break a}d=v[a+4>>2];e:{if(t[d+15|0]<=-1){v[d+8>>2]=0;b=v[d+4>>2];break e}t[d+15|0]=0;b=d+4|0}v[b>>2]=0;b=v[a+4>>2]}d=v[b>>2];if(d){dc(Gr(d));b=v[a+4>>2];v[b>>2]=0}d=v[294330];if(d){f=Qb-32|0;Qb=f;v[299999]=0;ba(3690);b=v[299999];v[299999]=0;f:{if((b|0)==1){break a}b=v[d>>2];if(b){dc(dS(b))}b=v[d+4>>2];if(b){dc(Dc(b))}b=v[d+8>>2];v[299999]=0;V(3691,b|0,f+16|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}while(1){g:{v[299999]=0;c=ki(b,f+16|0,f+12|0,f+8|0);e=v[299999];v[299999]=0;if((e|0)==1){break a}if(!c){break g}c=v[f+8>>2];if(!c){continue}Dc(c);dc(c);continue}break}dc(ah(b));b=v[d+12>>2];if(b){dc(dS(b))}b=v[d+16>>2];v[299999]=0;V(3691,b|0,f+16|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}while(1){h:{v[299999]=0;c=ki(b,f+16|0,f+12|0,f+8|0);e=v[299999];v[299999]=0;if((e|0)==1){break a}if(!c){break h}c=v[f+8>>2];if(!c){continue}Dc(c);dc(c);continue}break}dc(ah(b));b=v[d+20>>2];v[299999]=0;V(3691,b|0,f+16|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}while(1){i:{v[299999]=0;c=ki(b,f+16|0,f+12|0,f+8|0);e=v[299999];v[299999]=0;if((e|0)==1){break a}if(!c){break i}c=v[f+8>>2];if(!c){continue}Dc(c);dc(c);continue}break}dc(ah(b));c=v[d+24>>2];v[299999]=0;V(3691,c|0,f+16|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}while(1){j:{v[299999]=0;b=ki(c,f+16|0,f+12|0,f+8|0);e=v[299999];v[299999]=0;if((e|0)==1){break a}if(!b){break j}b=v[f+8>>2];if(!b){continue}e=v[b>>2];if(e){dc(Dc(e))}k:{if(v[b+4>>2]){break k}e=v[b+12>>2];if(!e){break k}v[299999]=0;uc(e);e=v[299999];v[299999]=0;if((e|0)==1){break a}}e=v[b+20>>2];if(e){v[299999]=0;uc(e);e=v[299999];v[299999]=0;if((e|0)==1){break a}}dc(b);continue}break}dc(ah(c));b=v[d+28>>2];v[299999]=0;V(3691,b|0,f+16|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}while(1){l:{v[299999]=0;c=ki(b,f+16|0,f+12|0,f+8|0);e=v[299999];v[299999]=0;if((e|0)==1){break a}if(!c){break l}c=v[f+8>>2];if(!c){continue}Dc(c);dc(c);continue}break}dc(ah(b));e=v[d+36>>2];c=v[e+8>>2];if((c|0)>=1){b=0;while(1){g=v[v[e>>2]+(b<<2)>>2];if(g){Dc(g);dc(g);c=v[e+8>>2]}b=b+1|0;if((c|0)>(b|0)){continue}break}}dc(Vc(e));b=v[d+40>>2];if(b){c=v[b+1024>>2];v[299999]=0;uc(c);c=v[299999];v[299999]=0;if((c|0)==1){break a}dc(b)}b=v[d+44>>2];v[299999]=0;V(3691,b|0,f+16|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}while(1){m:{v[299999]=0;c=ki(b,f+16|0,f+12|0,f+8|0);e=v[299999];v[299999]=0;if((e|0)==1){break a}if(!c){break m}c=v[f+8>>2];if(!c){continue}Dc(c);dc(c);continue}break}dc(ah(b));e=v[d+48>>2];c=v[e+8>>2];if((c|0)>=1){b=0;while(1){g=v[v[e>>2]+(b<<2)>>2];if(g){Dc(g);dc(g);c=v[e+8>>2]}b=b+1|0;if((c|0)>(b|0)){continue}break}}dc(Vc(e));b=v[d+52>>2];v[299999]=0;V(3691,b|0,f+16|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}while(1){n:{v[299999]=0;c=ki(b,f+16|0,f+12|0,f+8|0);e=v[299999];v[299999]=0;if((e|0)==1){break a}if(!c){break n}c=v[f+8>>2];if(!c){continue}Dc(c);dc(c);continue}break}dc(ah(b));b=v[d+56>>2];v[299999]=0;V(3691,b|0,f+16|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}while(1){o:{v[299999]=0;c=ki(b,f+16|0,f+12|0,f+8|0);e=v[299999];v[299999]=0;if((e|0)==1){break a}if(!c){break o}c=v[f+8>>2];if(!c){continue}e=v[c>>2];if(e){dc(Dc(e))}dc(c);continue}break}dc(ah(b));g=v[d+60>>2];if(g){b=0;c=v[g>>2];h=v[c+8>>2];if((h|0)>=1){while(1){e=v[v[c>>2]+(b<<2)>>2];if(e){h=v[e>>2];if(h){dc(Dc(h))}h=v[e+4>>2];if(h){dc(Dc(h))}dc(e);h=v[c+8>>2]}b=b+1|0;if((h|0)>(b|0)){continue}break}}dc(Vc(c));dc(g)}b=v[d+116>>2];v[299999]=0;V(3691,b|0,f+16|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}while(1){p:{v[299999]=0;c=ki(b,f+16|0,f+12|0,f+8|0);e=v[299999];v[299999]=0;if((e|0)==1){break a}if(!c){break p}c=v[f+8>>2];if(!c){continue}Dc(c);dc(c);continue}break}dc(ah(b));g=v[d+120>>2];c=v[g+8>>2];if((c|0)>=1){b=0;while(1){e=v[v[g>>2]+(b<<2)>>2];if(e){c=v[e>>2];if(c){dc(Dc(c))}c=v[e+8>>2];if(c){dc(Dc(c))}c=v[e+12>>2];if(c){dc(Dc(c))}dc(e);c=v[g+8>>2]}b=b+1|0;if((c|0)>(b|0)){continue}break}}dc(Vc(g));g=v[d+124>>2];c=v[g+8>>2];if((c|0)>=1){b=0;while(1){e=v[v[g>>2]+(b<<2)>>2];if(e){c=v[e>>2];if(c){dc(Dc(c))}c=v[e+8>>2];if(c){dc(Dc(c))}c=v[e+12>>2];if(c){dc(Dc(c))}dc(e);c=v[g+8>>2]}b=b+1|0;if((c|0)>(b|0)){continue}break}}dc(Vc(g));b=v[d+200>>2];if(b){dc(Dc(b))}b=v[d+216>>2];if(b){dc(Dc(b))}b=v[d+224>>2];if(b){dc(Dc(b))}b=v[d+240>>2];if(b){dc(Dc(b))}b=v[d+344>>2];if(b){dc(Dc(b))}b=v[d+348>>2];if(b){dc(Dc(b))}b=v[d+352>>2];if(b){dc(Dc(b))}b=v[d+356>>2];if(b){dc(Dc(b))}b=v[d+364>>2];if(b){dc(Dc(b))}b=v[d+368>>2];if(b){dc(Dc(b))}b=v[d+372>>2];if(b){dc(Dc(b))}b=v[d+388>>2];if(b){dc(ah(b))}e=v[d+392>>2];b=v[e+8>>2];if((b|0)>=1){g=0;while(1){i=v[v[e>>2]+(g<<2)>>2];if(i){b=0;h=v[i+12>>2];c=v[h+8>>2];if((c|0)>=1){while(1){j=v[v[h>>2]+(b<<2)>>2];if(j){Dc(j);dc(j);c=v[h+8>>2]}b=b+1|0;if((c|0)>(b|0)){continue}break}}dc(Vc(h));dc(i);b=v[e+8>>2]}g=g+1|0;if((g|0)<(b|0)){continue}break}}dc(Vc(e));e=v[d+396>>2];c=v[e+8>>2];if((c|0)>=1){b=0;while(1){g=v[v[e>>2]+(b<<2)>>2];if(g){c=0;h=v[g>>2];if(h){dc(Dc(h))}h=v[g+4>>2];i=v[h+8>>2];if((i|0)>=1){while(1){j=v[v[h>>2]+(c<<2)>>2];if(j){Dc(j);dc(j);i=v[h+8>>2]}c=c+1|0;if((i|0)>(c|0)){continue}break}}dc(Vc(h));dc(g);c=v[e+8>>2]}b=b+1|0;if((c|0)>(b|0)){continue}break}}dc(Vc(e));b=v[d+400>>2];if(b){dc(Dc(b))}b=v[d+32>>2];v[299999]=0;V(3691,b|0,f+28|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}while(1){b=v[d+32>>2];v[299999]=0;b=ki(b,f+28|0,f+24|0,f+20|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){b=0;e=v[f+20>>2];c=v[e+8>>2];if((c|0)>=1){while(1){g=v[v[e>>2]+(b<<2)>>2];if(g){Dc(g);dc(g);c=v[e+8>>2]}b=b+1|0;if((c|0)>(b|0)){continue}break}}dc(Vc(e));continue}break}b=v[d+32>>2];if(b){dc(ah(b))}b=v[d+416>>2];if(b){dc(qT(b))}b=v[d+420>>2];if(b){dc(qT(b))}b=v[d+424>>2];if(b){c=v[b>>2];if(c){Zn(c)}c=v[b+4>>2];if(c){Zn(c)}c=v[b+8>>2];if(c){Zn(c)}c=v[b+12>>2];if(c){Zn(c)}dc(b)}b=v[d+428>>2];if(b){c=v[b>>2];if(c){fo(c)}c=v[b+4>>2];if(c){fo(c)}c=v[b+8>>2];if(c){fo(c)}c=v[b+12>>2];if(c){fo(c)}dc(b)}Qb=f+32|0;break f}dc(d);v[294330]=0;b=v[a+4>>2]}d=v[b+32>>2];if(d){b=v[v[d>>2]+12>>2];v[299999]=0;S(b|0,d|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break a}v[v[a+4>>2]+32>>2]=0}return a|0}W(0)|0;O()|0;lc();L()}function lm(a,b,c,d,e,f){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,x=0,z=0,A=0,C=0,D=0,E=0,F=0;g=Qb-80|0;Qb=g;n=v[a>>2];a:{if(f){break a}h=v[a+4>>2];if(w[h+12|0]){break a}i=v[d>>2];v[g+68>>2]=0;v[g+72>>2]=0;v[g+60>>2]=0;v[g+64>>2]=0;v[g+52>>2]=0;v[g+56>>2]=0;v[g+48>>2]=i;lm(h,b,c,g+48|0,e,1)}b:{c:{d:{if(w[d+4|0]){break d}h=v[c+20>>2]+v[b+20>>2]|0;e:{if(h>>>0>=97){b=v[d>>2];if(!b|v[b>>2]){break e}v[b>>2]=18;break e}v[d+8>>2]=h;u[d+4>>1]=257;v[d+12>>2]=h+7>>>3;if(!h){break d}c=0;h=-1<<(0-h&7);while(1){t[(c+d|0)+16|0]=255;c=c+1|0;i=v[d+12>>2];if(c>>>0>>0){continue}break}c=d+i|0;t[c+15|0]=h&w[c+15|0];if(w[d+4|0]){break d}}if(!w[n+8|0]){break b}v[v[d>>2]>>2]=0;a=a+13|0;break c}v[a+20>>2]=0;v[a+24>>2]=0;v[g+72>>2]=v[d+24>>2];h=v[d+20>>2];s=g- -64|0;c=s;v[c>>2]=v[d+16>>2];v[c+4>>2]=h;c=v[d+12>>2];v[g+56>>2]=v[d+8>>2];v[g+60>>2]=c;c=v[d+4>>2];v[g+48>>2]=v[d>>2];v[g+52>>2]=c;x=v[b+20>>2];if(x>>>0>y[d+8>>2]){break b}if(w[n+249|0]){v[g+40>>2]=0;v[g+32>>2]=0;v[g+36>>2]=0;v[g+24>>2]=0;v[g+28>>2]=0;c=g+24|0;vv(a,n+288|0,c);vv(a,c,n+268|0)}f:{g:{if(x){z=128;o=s;while(1){h:{if(!(w[o|0]&z)){break h}m=v[a+16>>2];v[g+40>>2]=0;v[g+32>>2]=0;v[g+36>>2]=0;v[g+24>>2]=0;v[g+28>>2]=0;c=k;i=v[b+20>>2];i:{if(c>>>0>>0){break i}c=0;h=v[b+4>>2];if(!h|v[h>>2]){break i}v[h>>2]=130}j:{k:{c=v[b+28>>2]+B(v[b+8>>2],c)|0;j=v[c+8>>2];l=v[c+4>>2];h=j-l|0;if((h|0)==-1376256){l=1}else{if((h|0)==-1310720){v[g+40>>2]=m;v[g+32>>2]=e;l=0;v[g+24>>2]=0;v[g+28>>2]=k;h=e;break k}j=(h|0)<0?j:l;l=4}v[g+40>>2]=m;v[g+24>>2]=l;v[g+28>>2]=k;h=e+j|0;v[g+32>>2]=h;if(!w[c|0]){break k}p=v[c+12>>2];l=l|16;v[g+24>>2]=l;v[g+36>>2]=p;break j}p=Ac(h,m);v[g+36>>2]=p;i=v[b+20>>2]}q=v[a+16>>2];v[g+16>>2]=0;v[g+8>>2]=0;v[g+12>>2]=0;v[g>>2]=0;v[g+4>>2]=0;c=k;l:{if(i>>>0>c>>>0){break l}c=0;i=v[b+4>>2];if(!i|v[i>>2]){break l}v[i>>2]=130}m:{n:{j=g;c=v[b+28>>2]+B(v[b+8>>2],c)|0;r=v[c+8>>2];i=v[c+4>>2];m=r-i|0;if((m|0)==-1310720){m=2}else{if((m|0)==-1376256){v[g+16>>2]=q;v[g+8>>2]=e;m=0;v[g>>2]=0;v[g+4>>2]=k;i=e;break n}i=(m|0)<0?i:r;m=8}v[j>>2]=m;j=v[n+232>>2];v[g+16>>2]=q;v[g+4>>2]=k;i=(e+i|0)+(j<<1)|0;v[g+8>>2]=i;if(!w[c|0]){break n}r=v[c+16>>2];m=m|16;v[g>>2]=m;break m}r=Ac(i,q)}v[g+12>>2]=r;o:{if((l|m)&16){break o}A=v[n+244>>2];if(!A){break h}q=v[n+260>>2];j=m&10;p:{q:{r:{s:{if(!(l&5)){c=0;if(!j){break h}while(1){h=n+B(c,20)|0;t:{if(w[h+324|0]){break t}C=v[h+308>>2];if((C-q|0)>(i|0)){break t}if((q+v[h+312>>2]|0)>=(i|0)){break s}}c=c+1|0;if((A|0)!=(c|0)){continue}break}break h}c=0;if(!j){while(1){i=n+B(c,20)|0;if(!(!w[i+324|0]|(v[i+308>>2]-q|0)>(h|0))){j=v[i+312>>2];if((q+j|0)>=(h|0)){break r}}c=c+1|0;if((A|0)!=(c|0)){continue}break h}}while(1){j=n+B(c,20)|0;C=v[j+308>>2];D=C-q|0;u:{if(w[j+324|0]){if((h|0)<(D|0)){break u}j=v[j+312>>2];if((q+j|0)<(h|0)){break u}break r}if((i|0)<(D|0)){break u}if((q+v[j+312>>2]|0)>=(i|0)){break s}}c=c+1|0;if((A|0)!=(c|0)){continue}break}break h}h=v[(n+B(c,20)|0)+320>>2];v:{if(w[n+248|0]){break v}j=r+32768&-65536;h=j;if(v[n+256>>2]>(i-C|0)){break v}c=v[(n+B(c,20)|0)+320>>2]+65536|0;h=(c|0)<(j|0)?j:c}c=h-r|0;if(!l){break p}break q}if(w[n+248|0]){c=v[(n+B(c,20)|0)+320>>2]-p|0;break q}i=p+32768&-65536;if(v[n+256>>2]<=(j-h|0)){c=v[(n+B(c,20)|0)+320>>2]-65536|0;i=(c|0)>(i|0)?i:c}c=i-p|0}v[g+24>>2]=l|16;v[g+36>>2]=c+p}if(!m){break o}v[g>>2]=m|16;v[g+12>>2]=c+r}vv(a,g+24|0,g);t[o|0]=w[o|0]&(z^-1)}c=(k&7)==7;z=c?128:z>>>1&127;o=c+o|0;k=k+1|0;if((x|0)!=(k|0)){continue}break}if(f){break g}if(!x){break f}c=0;k=128;while(1){if(w[s|0]&k){l=v[a+16>>2];v[g+40>>2]=0;v[g+32>>2]=0;v[g+36>>2]=0;v[g+24>>2]=0;v[g+28>>2]=0;i=c;j=v[b+20>>2];w:{if(j>>>0>c>>>0){break w}i=0;h=v[b+4>>2];if(!h|v[h>>2]){break w}v[h>>2]=130}x:{y:{i=v[b+28>>2]+B(v[b+8>>2],i)|0;o=v[i+8>>2];m=v[i+4>>2];h=o-m|0;if((h|0)==-1376256){h=1}else{if((h|0)==-1310720){v[g+40>>2]=l;v[g+32>>2]=e;v[g+24>>2]=0;v[g+28>>2]=c;o=e;break y}o=(h|0)<0?o:m;h=4}v[g+40>>2]=l;v[g+24>>2]=h;v[g+28>>2]=c;o=e+o|0;v[g+32>>2]=o;if(!w[i|0]){break y}i=v[i+12>>2];v[g+24>>2]=h|16;v[g+36>>2]=i;break x}E=g,F=Ac(o,l),v[E+36>>2]=F;j=v[b+20>>2]}l=v[a+16>>2];v[g+16>>2]=0;v[g+8>>2]=0;v[g+12>>2]=0;v[g>>2]=0;v[g+4>>2]=0;i=c;z:{if(c>>>0>>0){break z}i=0;h=v[b+4>>2];if(!h|v[h>>2]){break z}v[h>>2]=130}A:{B:{o=g;i=v[b+28>>2]+B(v[b+8>>2],i)|0;m=v[i+8>>2];j=v[i+4>>2];h=m-j|0;if((h|0)==-1310720){h=2}else{if((h|0)==-1376256){v[g+16>>2]=l;v[g+8>>2]=e;v[g>>2]=0;v[g+4>>2]=c;j=e;break B}j=(h|0)<0?j:m;h=8}v[o>>2]=h;o=v[n+232>>2];v[g+16>>2]=l;v[g+4>>2]=c;j=(e+j|0)+(o<<1)|0;v[g+8>>2]=j;if(!w[i|0]){break B}i=v[i+16>>2];v[g>>2]=h|16;v[g+12>>2]=i;break A}E=g,F=Ac(j,l),v[E+12>>2]=F}vv(a,g+24|0,g)}h=(c&7)==7;k=h?128:k>>>1&127;s=h+s|0;c=c+1|0;if((x|0)!=(c|0)){continue}break}break f}if(!f){break f}}c=v[a+20>>2];if(!(!c|v[a+36>>2]>0)&v[(B(c,20)+a|0)+16>>2]>-1){break f}v[g+36>>2]=0;v[g+28>>2]=0;v[g+32>>2]=0;v[g+24>>2]=49;c=v[a+16>>2];v[g+8>>2]=0;v[g+12>>2]=0;v[g+16>>2]=0;v[g>>2]=0;v[g+4>>2]=0;v[g+40>>2]=c;vv(a,g+24|0,g)}c=0;v[v[a+8>>2]+20>>2]=0;h=v[a+20>>2];C:{if(!h){break C}while(1){o=c+1|0;m=B(c,20);l=m+a|0;e=v[l+28>>2];s=e&12;j=s?o:c;D:{if(e&16){break D}e=a+28|0;n=e+m|0;i=v[n+12>>2];k=i&65535;r=k?65536-k|0:0;q=e+B(j,20)|0;x=v[q+12>>2];p=x&65535;e=p?65536-p|0:0;e=e>>>0>r>>>0?r:e;k=0-k|0;p=0-p|0;k=(k|0)>(p|0)?k:p;E:{F:{if(j>>>0>>0){p=B(j+1|0,20)+a|0;if(v[p+40>>2]<((e+x|0)+32768|0)){break F}}if(!(!c|v[l+20>>2]<=((i+k|0)-32768|0))){h=e;break E}h=(e|0)>(0-k|0)?k:e;break E}G:{if(c){h=0;if(v[l+20>>2]>((i+k|0)-32768|0)){break G}}h=k;if((e|0)<(0-h|0)){break G}break E}if(w[p+28|0]&16){break E}v[g+24>>2]=j;v[g+28>>2]=e-h;VZ(v[a+8>>2],g+24|0);i=v[n+12>>2]}v[n+12>>2]=h+i;if(!s){break D}v[q+12>>2]=v[q+12>>2]+h}H:{if(!c){break H}e=v[l+36>>2];h=v[l+16>>2];if((e|0)==(h|0)){break H}i=a+28|0;k=i+B(c-1|0,20)|0;E=k,F=ad(v[(i+m|0)+12>>2]-v[k+12>>2]|0,e-h|0),v[E+16>>2]=F}if(s){c=B(j,20);e=c+a|0;h=v[e+36>>2];e=v[e+16>>2];if((h|0)!=(e|0)){i=a+28|0;k=i+B(j-1|0,20)|0;E=k,F=ad(v[(c+i|0)+12>>2]-v[k+12>>2]|0,h-e|0),v[E+16>>2]=F}c=o}c=c+1|0;h=v[a+20>>2];if(c>>>0>>0){continue}break}i=v[a+8>>2];e=v[i+20>>2];if(!e){break C}o=v[i+8>>2];j=v[i+28>>2];c=e;while(1){c=c-1|0;k=c;I:{if(c>>>0>>0){break I}k=0;h=v[i+4>>2];if(!h|v[h>>2]){break I}v[h>>2]=130}k=j+B(k,o)|0;h=B(v[k>>2],20)+a|0;k=v[k+4>>2];l=k+v[h+40>>2]|0;J:{if(v[h+60>>2]<(l+32768|0)){break J}v[h+40>>2]=l;if(!(w[h+28|0]&12)){break J}v[h+20>>2]=k+v[h+20>>2]}if(c){continue}break}}K:{if(f){break K}i=v[a+20>>2];if(!i){break K}c=0;while(1){e=B(c,20)+a|0;k=e;f=v[e+28>>2];if(!(f&32)){i=v[e+32>>2];L:{if(i>>>0>2]){break L}i=0;h=v[b+4>>2];if(!h|v[h>>2]){break L}v[h>>2]=130;f=v[k+28>>2]}h=f&10?16:12;f=v[b+28>>2]+B(v[b+8>>2],i)|0;v[h+f>>2]=v[e+40>>2];t[f|0]=1;i=v[a+20>>2]}c=c+1|0;if(i>>>0>c>>>0){continue}break}}t[a+12|0]=1;a=d+5|0}t[a|0]=0}Qb=g+80|0}function nMa(a,b){a=a|0;b=b|0;var 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;h=Qb-32|0;Qb=h;e=v[a+8>>2];a:{if(e>>>0>=y[a+12>>2]){break a}r=h+26|0;l=v[v[a+4>>2]+8>>2];while(1){if(v[b>>2]>0){break a}if(y[a+16>>2]>=y[a+20>>2]){v[b>>2]=15;break a}s=w[l+81|0];b:{c:{d:{d=x[e>>1];if((d&65408)==128){f=h+25|0;e:{switch(d-167|0){default:if((d|0)==247){break c}break;case 0:case 1:case 9:case 10:case 13:case 15:case 48:break c;case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 11:case 12:case 14:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:break e}}t[l+81|0]=1;break d}if((d-32&65535)>>>0>95){break d}t[h+25|0]=d;g=1;break b}f=h+25|0;if(!(1<>>0>25){break c}t[h+25|0]=d;f=r}e=860768;m=d;if(d>>>0<=25){g=1;if(1<>1]>>0){continue}break}f:{g:{h:{i:{j:{if(x[d>>1]>m>>>0){break j}e=w[d+4|0];switch(e-15|0){case 0:break i;case 5:break j;default:break h}}e=20;t[f|0]=20;c=m>>>8|0;d=m&255;t[f+2|0]=d?m:c;t[f+1|0]=d?c:-10;f=f+3|0;g=f-(h+25|0)|0;break g}k:{l:{if(m>>>0<=31){t[f|0]=15;t[f+1|0]=m+32;break l}if((m-128&65535)>>>0>32){break k}t[f+1|0]=m;t[f|0]=15}f=f+2|0}e=15;g=f-(h+25|0)|0;break g}if(e>>>0>19){break f}d=Og(v[(e<<2)+l>>2],m,h+28|0,0);if((d|0)>=1){c=f;m:{if(!e|w[l+80|0]==(e|0)){break m}t[f|0]=e;c=f+1|0;if((d|0)!=1|e>>>0<16){break m}t[f+1|0]=e;c=f+2|0}n=v[h+28>>2];if((d|0)==1){i=e;g=0;if(!(224<<(d<<3)-8&n)){break g}}n:{switch(d-1|0){case 3:t[c|0]=n>>>24;c=c+1|0;case 2:t[c|0]=n>>>16;c=c+1|0;n=v[h+28>>2];case 1:t[c|0]=n>>>8;c=c+1|0;n=v[h+28>>2];case 0:t[c|0]=n;c=c+1|0;break;default:break n}}i=e;g=c-f|0;break g}t[e+h|0]=1;g=0}if(g){break b}}v[h+16>>2]=0;v[h+8>>2]=0;v[h+12>>2]=0;v[h>>2]=0;v[h+4>>2]=0;d=w[l+80|0];o:{if((d|0)==1){break o}p:{if((e|0)==128&d>>>0<16){break p}q:{switch(e-129|0){case 1:break p;case 0:break q;default:break o}}if(d>>>0<16){break o}}r:{s:{c=w[l+81|0];if(c>>>0<=15){g=Og(v[l+4>>2],m,h+28|0,0);t:{if((g|0)>=1){d=v[h+28>>2];c=f;if(w[l+80|0]!=1){t[f|0]=1;c=f+1|0}i=1;if(224<<(g<<3)-8&d?0:(g|0)==1){break t}u:{switch(g-1|0){case 3:t[c|0]=d>>>24;c=c+1|0;case 2:t[c|0]=d>>>16;c=c+1|0;d=v[h+28>>2];case 1:t[c|0]=d>>>8;c=c+1|0;d=v[h+28>>2];case 0:t[c|0]=d;c=c+1|0;break;default:break u}}g=c-f|0;if(!g){break t}break b}t[h+1|0]=1}c=Og(v[l>>2],m,h+28|0,0);v:{if((c|0)>=1){g=v[h+28>>2];if((c|0)==1){i=0;if(!(224<<(c<<3)-8&g)){break v}}k=f;i=f;d=f;n=d;w:{switch(c-1|0){case 3:t[f|0]=g>>>24;k=f+1|0;case 2:t[k|0]=g>>>16;i=k+1|0;g=v[h+28>>2];case 1:t[i|0]=g>>>8;d=i+1|0;g=v[h+28>>2];case 0:t[d|0]=g;n=d+1|0;break;default:break w}}i=0;g=n-f|0;if(!g){break v}break b}t[h|0]=1}d=w[l+81|0];j=Og(v[(d<<2)+l>>2],m,h+28|0,0);if((j|0)<1){break s}i=v[h+28>>2];c=f;x:{if(!d|(d|0)==w[l+80|0]){break x}t[f|0]=d;c=f+1|0;if((j|0)!=1|d>>>0<16){break x}t[f+1|0]=d;c=f+2|0}y:{if((j|0)==1){g=0;if(!(224<<(j<<3)-8&i)){break y}}z:{switch(j-1|0){case 3:t[c|0]=i>>>24;c=c+1|0;case 2:t[c|0]=i>>>16;c=c+1|0;i=v[h+28>>2];case 1:t[c|0]=i>>>8;c=c+1|0;i=v[h+28>>2];case 0:t[c|0]=i;c=c+1|0;break;default:break z}}g=c-f|0}i=d;break r}j=Og(v[(c<<2)+l>>2],m,h+28|0,0);if((j|0)<=0){t[c+h|0]=1;g=0;break r}i=v[h+28>>2];d=f;A:{B:{if((c|0)!=w[l+80|0]){t[f|0]=c;if((j|0)!=1){d=f+1|0;break B}t[f+1|0]=c;d=f+2|0}if((j|0)!=1){break B}g=0;if(!(224<<(j<<3)-8&i)){break A}}C:{switch(j-1|0){case 3:t[d|0]=i>>>24;d=d+1|0;case 2:t[d|0]=i>>>16;d=d+1|0;i=v[h+28>>2];case 1:t[d|0]=i>>>8;d=d+1|0;i=v[h+28>>2];case 0:t[d|0]=i;d=d+1|0;break;default:break C}}g=d-f|0}i=c;break r}t[d+h|0]=1;g=0}if(g){break b}}g=0;c=w[l+81|0];D:{if(!c){break D}d=128;E:{if((e|0)==128&c>>>0<16){break E}F:{d=e;switch(d-129|0){case 1:break E;case 0:break F;default:break D}}d=129;if(c>>>0>=16){break E}e=129;break D}j=Og(v[(c<<2)+l>>2],m,h+28|0,0);G:{if((j|0)<=0){t[c+h|0]=1;break G}i=v[h+28>>2];e=f;H:{if((c|0)==w[l+80|0]){break H}t[f|0]=c;e=f+1|0;if((j|0)!=1|c>>>0<16){break H}t[f+1|0]=c;e=f+2|0}I:{if((j|0)==1){g=0;if(!(224<<(j<<3)-8&i)){break I}}J:{switch(j-1|0){case 3:t[e|0]=i>>>24;e=e+1|0;case 2:t[e|0]=i>>>16;e=e+1|0;i=v[h+28>>2];case 1:t[e|0]=i>>>8;e=e+1|0;i=v[h+28>>2];case 0:t[e|0]=i;e=e+1|0;break;default:break J}}g=e-f|0}i=c}e=d}K:{L:{if(g){break L}j=i&255;if(!j){break L}if(!((e|0)==129&j>>>0>15?1:(e|0)==128&j>>>0<16|(e|0)==130)){break K}c=Og(v[(j<<2)+l>>2],m,h+28|0,0);if((c|0)<=0){t[h+j|0]=1;g=0;break L}k=v[h+28>>2];d=f;M:{if((j|0)==w[l+80|0]){break M}t[f|0]=i;d=f+1|0;if((c|0)!=1|j>>>0<16){break M}t[f+1|0]=i;d=f+2|0}if((c|0)==1){g=0;if(!(224<<(c<<3)-8&k)){break L}}N:{switch(c-1|0){case 3:t[d|0]=k>>>24;d=d+1|0;case 2:t[d|0]=k>>>16;d=d+1|0;k=v[h+28>>2];case 1:t[d|0]=k>>>8;d=d+1|0;k=v[h+28>>2];case 0:t[d|0]=k;d=d+1|0;break;default:break N}}g=d-f|0}if(g){break b}}d=1;j=f+1|0;g=0;p=(e+127&255)>>>0<2?19:11;o=(e|0)==130?1:(e|0)==129?16:1;O:{if(p>>>0>>0){break O}n=f+2|0;e=o;c=e;while(1){g=0;d=v[(e<<2)+l>>2];P:{if(!d){break P}e=e+h|0;if(w[e|0]){break P}d=Og(d,m,h+28|0,0);if((d|0)>=1){k=v[h+28>>2];i=c&255;e=f;Q:{if(!i){break Q}e=f;if((i|0)==w[l+80|0]){break Q}t[f|0]=c;e=j;if((d|0)!=1){break Q}e=j;if(i>>>0<16){break Q}t[j|0]=c;e=n}if((d|0)==1){i=c;if(!(224<<(d<<3)-8&k)){break P}}R:{switch(d-1|0){case 3:t[e|0]=k>>>24;e=e+1|0;case 2:t[e|0]=k>>>16;e=e+1|0;k=v[h+28>>2];case 1:t[e|0]=k>>>8;e=e+1|0;k=v[h+28>>2];case 0:t[e|0]=k;e=e+1|0;break;default:break R}}g=e-f|0;i=c;break P}t[e|0]=1}d=!g;c=c+1|0;e=c&255;if(p>>>0>>0){break O}if(!g){continue}break}}S:{if(!d|(o|0)!=1){break S}e=Og(v[l>>2],m,h+28|0,0);if((e|0)>=1){c=v[h+28>>2];if((e|0)==1){i=0;g=0;if(!(224<<(e<<3)-8&c)){break S}}n=f;d=f;g=d;k=d;T:{switch(e-1|0){case 3:t[f|0]=c>>>24;n=j;case 2:t[n|0]=c>>>16;d=n+1|0;c=v[h+28>>2];case 1:t[d|0]=c>>>8;g=d+1|0;c=v[h+28>>2];case 0:t[g|0]=c;k=g+1|0;break;default:break T}}g=k-f|0;i=0;break S}t[h|0]=1;g=0}if(g){break b}t[f|0]=20;d=m>>>8|0;e=m&255;t[f+2|0]=e?m:d;t[f+1|0]=e?d:-10;g=(f-h|0)-22|0}v[a+8>>2]=v[a+8>>2]+2;e=h+25|0;c=v[a+16>>2];U:{if(c>>>0>2]){while(1){if(!g){break U}f=w[e|0];v[a+16>>2]=c+1;t[c|0]=f;f=v[a+24>>2];if(f){v[a+24>>2]=f+4;v[f>>2]=q}g=g-1|0;e=e+1|0;c=v[a+16>>2];if(c>>>0>2]){continue}break}}if((g|0)<1){break U}d=v[a+4>>2];v[b>>2]=15;t[v[a+4>>2]+63|0]=g;f=g-1|0;c=d+76|0;k=g&7;if(k){while(1){t[c|0]=w[e|0];c=c+1|0;e=e+1|0;g=g-1|0;k=k-1|0;if(k){continue}break}}if(f>>>0<7){break U}while(1){t[c|0]=w[e|0];t[c+1|0]=w[e+1|0];t[c+2|0]=w[e+2|0];t[c+3|0]=w[e+3|0];t[c+4|0]=w[e+4|0];t[c+5|0]=w[e+5|0];t[c+6|0]=w[e+6|0];t[c+7|0]=w[e+7|0];c=c+8|0;e=e+8|0;g=g-8|0;if(g){continue}break}}t[l+81|0]=s;q=q+1|0;e=v[a+8>>2];if(e>>>0>2]){continue}break}}Qb=h+32|0}function rua(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,n=0,o=0,p=0,q=0;g=Qb-48|0;Qb=g;a:{b:{c:{if(!rj(b)){break c}FV(g+32|0,b);d:{e:{f:{while(1){f=w[g+43|0];i=f<<24>>24;g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{k=v[g+36>>2];switch(((i|0)<0?k:f)|0){case 0:break j;case 4:break p;default:break o}}v[299999]=0;f=ca(2607,g+32|0,0,-1,242545,4)|0;i=v[299999];v[299999]=0;if((i|0)==1){break a}if(!f){break n}k=v[g+36>>2];f=w[g+43|0];i=f}if(((i<<24>>24<0?k:f)|0)==15){break m}break l}v[299999]=0;V(4150,g+16|0,b|0);f=v[299999];v[299999]=0;q:{if((f|0)!=1){v[299999]=0;h=Y(4169,g|0,(t[g+27|0]<0?v[g+16>>2]:g+16|0)|0,d|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break q}if(t[g+27|0]>-1){break k}dc(v[g+16>>2]);break k}b=P()|0;O()|0;break e}b=P()|0;O()|0;if(t[g+27|0]>-1){break e}dc(v[g+16>>2]);break e}v[299999]=0;f=ca(2607,g+32|0,0,-1,255612,15)|0;i=v[299999];v[299999]=0;if((i|0)==1){break a}if(f){k=v[g+36>>2];f=w[g+43|0];i=f;break l}v[299999]=0;V(4150,g+16|0,b|0);f=v[299999];v[299999]=0;r:{if((f|0)!=1){v[299999]=0;l=Y(4170,g|0,(t[g+27|0]<0?v[g+16>>2]:g+16|0)|0,d|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break r}if(t[g+27|0]>-1){break k}dc(v[g+16>>2]);break k}b=P()|0;O()|0;break e}b=P()|0;O()|0;if(t[g+27|0]>-1){break e}dc(v[g+16>>2]);break e}if(((i<<24>>24<0?k:f)|0)!=7){break k}v[299999]=0;f=ca(2607,g+32|0,0,-1,217783,7)|0;i=v[299999];v[299999]=0;if((i|0)==1){break d}if(f){break k}v[299999]=0;V(4150,g+16|0,b|0);f=v[299999];v[299999]=0;if((f|0)==1){break i}v[299999]=0;n=+ha(4171,g+16|0);f=v[299999];v[299999]=0;if((f|0)==1){break h}v[299999]=0;A[g>>3]=n;V(4172,d|0,g|0);f=v[299999];v[299999]=0;if((f|0)==1){break h}if(t[g+27|0]<=-1){dc(v[g+16>>2])}o=1}v[299999]=0;f=Ji(b);i=v[299999];v[299999]=0;if((i|0)==1){break f}if(f){break g}i=t[g+43|0]}if(i<<24>>24<=-1){dc(v[g+32>>2])}m=l&1;k=h&1;break c}b=P()|0;O()|0;break e}b=P()|0;O()|0;if(t[g+27|0]>-1){break e}dc(v[g+16>>2]);break e}v[299999]=0;V(4173,g+16|0,b|0);f=v[299999];v[299999]=0;if((f|0)!=1){if(t[g+43|0]<=-1){dc(v[g+32>>2])}v[g+40>>2]=v[g+24>>2];f=v[g+20>>2];v[g+32>>2]=v[g+16>>2];v[g+36>>2]=f;continue}break}b=P()|0;O()|0;break e}b=P()|0;O()|0}if(t[g+43|0]>-1){break b}dc(v[g+32>>2]);T(b|0);L()}break a}_i(b);s:{t:{u:{v:{w:{if(!ph(b)){i=g+32|0;v[i>>2]=0;v[i+4>>2]=0;t[i+8|0]=0;v[299999]=0;p=wg(b);f=v[299999];v[299999]=0;if((f|0)==1){break w}l=0;x:{while(1){v[299999]=0;f=Q(4155,b|0,p|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break t}if(f){v[299999]=0;V(4145,g|0,b|0);f=v[299999];v[299999]=0;y:{z:{A:{B:{C:{if((f|0)!=1){v[299999]=0;f=Q(4160,g+16|0,g|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break C}v[299999]=0;uf(i,f);h=v[299999];v[299999]=0;if((h|0)==1){break B}xc(f);if(t[g+11|0]<=-1){dc(v[g>>2])}v[299999]=0;f=md(i,974576);h=v[299999];v[299999]=0;if((h|0)==1){break t}if(!f){break z}v[299999]=0;l=Z(4174,a|0,b|0,g|0,d|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break t}break y}b=P()|0;O()|0;break s}b=P()|0;O()|0;break A}b=P()|0;O()|0;xc(f)}if(t[g+11|0]>-1){break s}dc(v[g>>2]);break s}v[299999]=0;f=md(i,974656);h=v[299999];v[299999]=0;if((h|0)==1){break t}if(f){v[299999]=0;l=Z(4174,a|0,b|0,g|0,d|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break t}break y}v[299999]=0;f=md(i,974724);h=v[299999];v[299999]=0;if((h|0)==1){break t}if(f){v[299999]=0;$(4175,a|0,b|0,c|0,d|0);f=v[299999];v[299999]=0;if((f|0)==1){break t}break y}v[299999]=0;f=md(i,974752);h=v[299999];v[299999]=0;if((h|0)==1){break t}if(f){v[299999]=0;fa(4168,a|0,b|0,c|0,d|0,e|0);f=v[299999];v[299999]=0;if((f|0)==1){break t}break y}v[299999]=0;f=md(i,974780);h=v[299999];v[299999]=0;if((h|0)==1){break t}if(!((f^-1|m)&1)){v[299999]=0;h=g+16|0;v[h>>2]=0;v[h+4>>2]=0;t[h+8|0]=0;f=v[299999];v[299999]=0;D:{if((f|0)!=1){v[299999]=0;U(4176,b|0,h|0,0);f=v[299999];v[299999]=0;if((f|0)==1){break D}v[299999]=0;E:{F:{f=h;if(!w[f+8|0]){break F}f=v[f>>2];if(f){break F}f=0;break E}f=v[f>>2]}m=v[299999];v[299999]=0;if((m|0)==1){break D}v[299999]=0;m=Y(4170,g|0,f|0,d|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break D}xc(h);break y}b=P()|0;O()|0;break s}b=P()|0;O()|0;xc(h);break s}v[299999]=0;f=md(i,974872);h=v[299999];v[299999]=0;if((h|0)==1){break t}if(!((f^-1|k)&1)){v[299999]=0;h=g+16|0;v[h>>2]=0;v[h+4>>2]=0;t[h+8|0]=0;f=v[299999];v[299999]=0;G:{if((f|0)!=1){v[299999]=0;V(4178,b|0,h|0);f=v[299999];v[299999]=0;if((f|0)==1){break G}v[299999]=0;H:{I:{f=h;if(!w[f+8|0]){break I}f=v[f>>2];if(f){break I}f=0;break H}f=v[f>>2]}k=v[299999];v[299999]=0;if((k|0)==1){break G}v[299999]=0;k=Y(4169,g|0,f|0,d|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break G}xc(h);break y}b=P()|0;O()|0;break s}b=P()|0;O()|0;xc(h);break s}v[299999]=0;f=md(i,974920);h=v[299999];v[299999]=0;if((h|0)==1){break t}if(f){v[299999]=0;$(4179,a|0,b|0,c|0,d|0);f=v[299999];v[299999]=0;if((f|0)!=1){break y}break t}v[299999]=0;f=md(i,974264);h=v[299999];v[299999]=0;if((h|0)==1){break t}if(!f){break y}v[299999]=0;f=ph(b);h=v[299999];v[299999]=0;if((h|0)==1){break t}if(f){break y}v[299999]=0;h=wg(b);f=v[299999];v[299999]=0;if((f|0)==1){break v}while(1){v[299999]=0;f=Q(4155,b|0,h|0)|0;j=v[299999];v[299999]=0;if((j|0)==1){break u}if(!f){break y}v[299999]=0;V(4145,g|0,b|0);f=v[299999];v[299999]=0;J:{K:{L:{M:{N:{O:{P:{Q:{if((f|0)!=1){v[299999]=0;f=Q(4160,g+16|0,g|0)|0;j=v[299999];v[299999]=0;if((j|0)==1){break Q}v[299999]=0;uf(i,f);j=v[299999];v[299999]=0;if((j|0)==1){break P}xc(f);if(t[g+11|0]<=-1){dc(v[g>>2])}v[299999]=0;f=md(i,974344);j=v[299999];v[299999]=0;if((j|0)==1){break u}if(!f){break L}v[299999]=0;f=g+16|0;v[f>>2]=0;v[f+4>>2]=0;t[f+8|0]=0;j=v[299999];v[299999]=0;if((j|0)==1){break N}v[299999]=0;U(4165,b|0,974384,f|0);j=v[299999];v[299999]=0;if((j|0)==1){break M}v[299999]=0;j=md(f,974420);q=v[299999];v[299999]=0;if((q|0)==1){break M}if(!j){break K}v[299999]=0;fa(4168,a|0,b|0,c|0,d|0,0);h=v[299999];v[299999]=0;if((h|0)!=1){break J}b=P()|0;O()|0;xc(f);break s}b=P()|0;O()|0;break s}b=P()|0;O()|0;break O}b=P()|0;O()|0;xc(f)}if(t[g+11|0]>-1){break s}dc(v[g>>2]);break s}b=P()|0;O()|0;break s}b=P()|0;O()|0;xc(f);break s}v[299999]=0;f=md(i,974528);j=v[299999];v[299999]=0;if((j|0)==1){break u}if(!f){continue}v[299999]=0;fa(4168,a|0,b|0,c|0,d|0,0);f=v[299999];v[299999]=0;if((f|0)!=1){break y}break v}xc(f);continue}break}xc(f)}if(!e|!w[e|0]){continue}break x}break}if(k&1){v[299999]=0;R(4180,d|0);a=v[299999];v[299999]=0;if((a|0)==1){break w}}if(m&1){v[299999]=0;R(4181,d|0);a=v[299999];v[299999]=0;if((a|0)==1){break w}}if(o){v[299999]=0;St(d);a=v[299999];v[299999]=0;if((a|0)==1){break w}}if(!(l&1)){break x}v[299999]=0;rQ(d);a=v[299999];v[299999]=0;if((a|0)==1){break w}}xc(i)}Qb=g+48|0;return}b=P()|0;O()|0;break s}b=P()|0;O()|0;break s}b=P()|0;O()|0;break s}b=P()|0;O()|0}xc(i)}T(b|0);L()}W(0)|0;O()|0;lc();L()}function Y0a(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,p=0,q=0,r=0,s=0,z=0,A=0;f=Qb+-64|0;Qb=f;v[f+40>>2]=0;g=w[a+48|0];a:{if(!(v[a+536>>2]|!g)){e=8;break a}e=v[a+540>>2];d=v[e>>2];if(!d){h=v[a>>2];v[e+4>>2]=1762;d=Fd(h,552,f+40|0);v[v[a+540>>2]>>2]=d;e=64;if(v[f+40>>2]){break a}v[d>>2]=h;if(!g){v[d+548>>2]=v[v[a+532>>2]+3088>>2]}v[d+152>>2]=0;v[d+156>>2]=0;e=d+168|0;v[e>>2]=0;v[e+4>>2]=0;v[d+160>>2]=0;v[d+164>>2]=0;v[d+148>>2]=1763;v[d+144>>2]=1764;v[d+156>>2]=1765;v[d+168>>2]=d+4;v[d+164>>2]=h}v[d+176>>2]=a;v[d+172>>2]=a;h=v[a+4>>2];n=t[v[h+128>>2]+56|0];e=v[h+96>>2];i=w[e+32|0];v[f+8>>2]=0;v[f+12>>2]=0;v[f+16>>2]=0;v[f+20>>2]=0;v[f+36>>2]=b;v[f+28>>2]=b;v[f>>2]=0;v[f+4>>2]=0;v[f+24>>2]=0;v[f+32>>2]=b?b+c|0:0;b=v[a+8>>2];l=w[b+161|0];c=f;j=w[b+160|0];b:{if(j){m=(v[b+164>>2]+32|0)/64|0;v[f>>2]=m;b=(v[b+168>>2]+32|0)/64|0;break b}m=1024;v[f>>2]=1024;b=1024}v[c+12>>2]=b;c=0;c=g?c:w[h+732|0];t[d+8|0]=g;t[d+9|0]=c;c=(j|0)!=0;v[d+12>>2]=c;if(!(!l|(i|(n|0)>-1?n:0))){v[d+12>>2]=c|2}v[d+188>>2]=v[e+36>>2];v[d+192>>2]=v[e+40>>2];v[d+196>>2]=v[e+44>>2];v[d+200>>2]=v[e+48>>2];v[d+204>>2]=v[e+52>>2];v[d+208>>2]=v[e+56>>2];v[d+212>>2]=v[e+60>>2];v[d+216>>2]=v[e- -64>>2];c=x[v[a+4>>2]+68>>1];v[d+132>>2]=c;if(l){e=36;if((m|0)<1|(b|0)<1){break a}e=164;if(c<<16>>16<0){break a}a=ad(131072e3,c<<16);if((a|0)<(m|0)|(a|0)<(b|0)){break a}a=v[d+176>>2]}v[f+48>>2]=0;v[f+52>>2]=0;e=0;v[f+44>>2]=0;b=v[d+136>>2];n=v[d+140>>2];v[f+60>>2]=0;v[f+56>>2]=0;v[d+4>>2]=0;c=v[a+536>>2];if((c|0)!=v[d+180>>2]){v[d+180>>2]=c;e=1}c:{d:{if(!(w[d+8|0]|!v[v[a+532>>2]+3112>>2])){g=v[d+548>>2];h=v[a+4>>2];h=Ub[v[v[h+548>>2]+40>>2]](h,f+60|0,0,f+56|0,0)|0;v[d+4>>2]=h;if(h){break d}if(Ub[v[g+12>>2]](c+556|0,v[c+548>>2],v[f+60>>2],v[f+56>>2])|0){Ub[v[g+4>>2]](v[a+532>>2],c,v[f+60>>2],v[f+56>>2])|0;e=1}g=v[c+560>>2];t[d+93|0]=0;v[d+96>>2]=g;v[d+120>>2]=v[c+548>>2];v[d+124>>2]=v[f+60>>2];v[d+128>>2]=v[f+56>>2]}g=x[v[v[a+4>>2]+88>>2]+14>>1]<<16;if((g|0)!=v[d+88>>2]){v[d+88>>2]=g;e=1}c=v[d+12>>2];t[d+184|0]=c&1;e:{f:{g:{if(!Pc(f,d+16|0,16)){m=d+186|0;c=c&2;if((c|0)!=w[d+186|0]){break g}if(e){break f}break e}e=v[f+4>>2];v[d+16>>2]=v[f>>2];v[d+20>>2]=e;e=v[f+12>>2];v[d+24>>2]=v[f+8>>2];v[d+28>>2]=e;v[d+32>>2]=0;v[d+36>>2]=0;e=v[f+4>>2];v[d+40>>2]=v[f>>2];v[d+44>>2]=e;e=v[f+12>>2];v[d+48>>2]=v[f+8>>2];v[d+52>>2]=e;e=v[f+20>>2];v[d+56>>2]=v[f+16>>2];v[d+60>>2]=e;v[d+72>>2]=0;v[d+76>>2]=65536;v[d+64>>2]=65536;v[d+68>>2]=0;m=d+186|0;c=c&2;if((c|0)==w[d+186|0]){break f}}t[m|0]=c>>>1}c=v[v[a+536>>2]+400>>2]<<16;v[d+220>>2]=c;e=v[d+132>>2];l=e?e:1e3;e=65536e3/(l|0)|0;if((c|0)<=0){c=ad(4915200,e);v[d+220>>2]=c}h=d+188|0;g=(g|0)>262144?g:262144;h:{if((b|0)>=1){c=l<<16;if((ad(c,g)|0)>=(b|0)){b=ad(c,g)}v[d+228>>2]=0;if(!b|(e|0)<655){break h}v[d+228>>2]=(b|0)/2;break h}_Z(e,g,c,d+228|0,0,w[d+186|0],h)}b=d;c=v[v[a+536>>2]+396>>2];i:{if(c<<16>=1){a=4915200;if(v[d+220>>2]>c<<17){break i}}a=7208960}a=ad(a,e);v[b+224>>2]=a;_Z(e,g,a,d+232|0,n,w[d+186|0],h);a=1;a=v[d+228>>2]?a:v[d+232>>2]!=0;h=0;t[d+236|0]=0;t[d+185|0]=a;a=v[d+176>>2];r=ic(d+244|0,0,304);v[d+240>>2]=v[d+52>>2];z=d,A=ad(v[v[a+536>>2]+384>>2],65536e3),v[z+252>>2]=A;g=v[a+536>>2];v[d+256>>2]=v[g+388>>2]<<16;v[d+260>>2]=v[g+392>>2]<<16;s=w[g+191|0];n=w[g+190|0];l=w[g+189|0];b=w[g+188|0];j:{k:{l:{if(v[g+524>>2]==1){m:{switch(b|0){case 4:e=v[g+192>>2]<<16;if((e|0)>-7864321|v[g+196>>2]<<16>-7864321|(v[g+200>>2]<<16<57671681|v[g+204>>2]<<16<57671681)){break k}break;case 0:break m;default:break l}}v[d+296>>2]=-7864321;a=Ac(-7864321,v[d+240>>2]);v[d+288>>2]=49;b=v[d+240>>2];v[d+304>>2]=b;v[d+300>>2]=(a+32768&-65536)-32768;a=(v[d+232>>2]<<1)+57671681|0;v[d+276>>2]=a;a=Ac(a,b);v[d+268>>2]=50;t[d+249|0]=1;v[d+284>>2]=v[d+240>>2];v[d+280>>2]=a+32768&-65536|32768;break e}if(!b){break j}}e=v[g+192>>2]<<16}c=v[d+244>>2];a=B(c,20)+d|0;v[a+308>>2]=e;i=v[g+196>>2]<<16;v[a+312>>2]=i;e=i-e|0;if((e|0)>=0){v[a+316>>2]=i;t[a+324|0]=1;c=c+1|0;v[d+244>>2]=c;h=(e|0)>0?e:0}e=2;if(b>>>0<=2){break j}i=g+192|0;while(1){a=B(c,20)+d|0;o=a;k=e<<2;j=v[k+i>>2]<<16;v[a+308>>2]=j;k=v[i+(k|4)>>2]<<16;v[a+312>>2]=k;p=k-j|0;if((p|0)>=0){q=k;k=v[d+232>>2]<<1;v[a+312>>2]=q+k;j=j+k|0;v[o+308>>2]=j;v[a+316>>2]=j;t[a+324|0]=0;c=c+1|0;v[d+244>>2]=c;h=(h|0)<(p|0)?p:h}e=e+2|0;if(b>>>0>e>>>0){continue}break}}if(l){b=v[r>>2];c=g+248|0;e=0;while(1){a=B(b,20)+d|0;i=e<<2;j=v[i+c>>2]<<16;v[a+308>>2]=j;i=v[c+(i|4)>>2]<<16;v[a+312>>2]=i;j=i-j|0;if((j|0)>=0){v[a+316>>2]=i;t[a+324|0]=1;b=b+1|0;v[d+244>>2]=b;h=(h|0)<(j|0)?j:h}e=e+2|0;if(l>>>0>e>>>0){continue}break}}e=ad(65536,v[d+240>>2]);p=v[d+244>>2];if(p){l=0;r=n>>>0<3;while(1){a=B(l,20)+d|0;i=a;j=v[a+316>>2];n:{if(w[a+324|0]){a=0;c=2147483647;o:{if(!s){break o}while(1){o=v[(g+(a<<2|4)|0)+344>>2]<<16;k=j-o|0;b=k>>31;p:{b=b^b+k;if((b|0)>=(c|0)|(b|0)>=(e|0)){break p}v[i+316>>2]=o;c=b;if(k){break p}c=0;break o}a=a+2|0;if(s>>>0>a>>>0){continue}break}}if(n>>>0<2){break n}b=v[g+292>>2]<<16;j=j-b|0;a=j>>31;a=a^a+j;if((a|0)>=(c|0)|(a|0)>=(e|0)){break n}v[i+316>>2]=b;break n}if(r){break n}o=v[d+232>>2]<<1;a=2;c=2147483647;while(1){q=o+(v[(g+(a<<2)|0)+288>>2]<<16)|0;k=j-q|0;b=k>>31;b=b^b+k;if(!((b|0)>=(c|0)|(b|0)>=(e|0))){v[i+316>>2]=q;c=b;if(!k){break n}}a=a+2|0;if(n>>>0>a>>>0){continue}break}}l=l+1|0;if((p|0)!=(l|0)){continue}break}}q:{if((h|0)<1){break q}if(v[d+252>>2]<=(ad(65536,h)|0)){break q}z=d,A=ad(65536,h),v[z+252>>2]=A}a=v[d+240>>2];b=v[d+252>>2];if((a|0)<(b|0)){t[d+248|0]=1;a=jd(39322,a,b);v[d+264>>2]=(a|0)<6555?32767:39322-a|0}if(w[m|0]){v[d+264>>2]=0}if(!v[d+244>>2]){break e}a=0;c=d+240|0;while(1){b=c+B(a,20)|0;e=w[b+84|0];i=b;k=Ac(v[b+76>>2],v[d+240>>2]);b=v[d+264>>2];v[i+80>>2]=(k+(e?0-b|0:b)|0)+32768&-65536;a=a+1|0;if(a>>>0>2]){continue}break}}if(v[d+4>>2]){break d}t[d+236|0]=0;b=d+144|0;a=w[d+185|0];while(1){v[d+160>>2]=0;Fo(v[v[d+172>>2]+12>>2]);xv(d,f+24|0,b,f+48|0,0,0,0,f+44|0);if(v[d+4>>2]){break d}if(!(!(a&255)|v[d+160>>2]>-1)){t[d+236|0]=1;a=0;continue}break}g=v[d+172>>2];a=v[g+20>>2];r:{if(!a){break r}s:{t:{b=x[a>>1];e=b<<16>>16;if((e|0)>=2){b=u[(v[a+12>>2]+(b<<1)|0)-4>>1]+1|0;break t}b=0;if(e){break t}c=u[a+2>>1];break s}c=u[a+2>>1];if((c|0)!=(b|0)){break s}u[a>>1]=e-1;break r}u:{if((c|0)<2){break u}h=v[a+4>>2];m=h+(b<<3)|0;h=(h+(c<<3)|0)-8|0;if(v[m>>2]!=v[h>>2]|v[m+4>>2]!=v[h+4>>2]|w[(v[a+8>>2]+c|0)-1|0]!=1){break u}c=c-1|0;u[a+2>>1]=c}if((e|0)<1){break r}i=b;b=(c<<16>>16)-1|0;if((i|0)==(b|0)){u[a+2>>1]=c-1;u[a>>1]=e-1;break r}u[(v[a+12>>2]+(e<<1)|0)-2>>1]=b}Av(v[g+12>>2]);if(!v[d+4>>2]){break c}}e=3;break a}a=v[f+44>>2];e=0;v[d+4>>2]=0;b=v[d+172>>2];if(w[b+48|0]){break a}v[v[b+544>>2]>>2]=a+32768>>16}Qb=f- -64|0;return e|0}function Pfa(a,b){a=a|0;b=b|0;var 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;g=Qb+-64|0;Qb=g;if(!v[a+44>>2]){v[a+24>>2]=0;v[a+28>>2]=0;e=v[a+12>>2];if(e){c=v[e+24>>2];if(c){while(1){d=v[c>>2];dc(c);v[e+24>>2]=d;c=d;if(c){continue}break}}c=v[e>>2];if(c){dc(c)}dc(e)}v[a+12>>2]=0}c=0;d=v[b>>2];if(d){v[d+4>>2]=v[d+4>>2]+1;c=v[b>>2]}v[299999]=0;v[g+56>>2]=c;d=S(4551,c|0)|0;e=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{g:{if((e|0)==1){break g}v[299999]=0;t=S(4551,c|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break g}v[299999]=0;v[g+56>>2]=0;e=v[c+4>>2]-1|0;v[c+4>>2]=e;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(!e){v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}c=d&255;if((c|0)==v[a+28>>2]){break f}a=vc(g+32|0,328995,242096,1748,340467,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}break e}a=P()|0;O()|0;ec(g+56|0);break c}u=v[a+24>>2];h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{if(c){break r}c=0;d=v[b>>2];if(d){v[d+4>>2]=v[d+4>>2]+1;c=v[b>>2]}v[299999]=0;v[g+24>>2]=c;e=S(4551,c|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break o}v[299999]=0;d=S(4551,c|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break o}v[299999]=0;v[g+24>>2]=0;f=v[c+4>>2]-1|0;v[c+4>>2]=f;i=v[299999];v[299999]=0;if((i|0)==1){break a}if(!f){v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}if((e&127)!=1){a=vc(g+32|0,329268,242096,1756,340467,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break e}break b}if((d&255)>>>0>=3){a=vc(g+32|0,329243,242096,1758,340467,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break e}break b}c=0;f=v[b>>2];if(f){v[f+4>>2]=v[f+4>>2]+1;c=v[b>>2]}v[299999]=0;v[g+16>>2]=c;f=S(4551,c|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break n}v[299999]=0;i=S(4551,c|0)|0;k=v[299999];v[299999]=0;if((k|0)==1){break n}v[299999]=0;k=S(4551,c|0)|0;l=v[299999];v[299999]=0;if((l|0)==1){break n}v[299999]=0;l=S(4551,c|0)|0;j=v[299999];v[299999]=0;if((j|0)==1){break n}if(d&254){v[299999]=0;h=S(4551,c|0)|0;j=v[299999];v[299999]=0;if((j|0)==1){break n}}v[299999]=0;v[g+16>>2]=0;j=v[c+4>>2]-1|0;v[c+4>>2]=j;m=v[299999];v[299999]=0;if((m|0)==1){break a}if(!j){v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}v[a+36>>2]=0;v[a+40>>2]=0;if((d&255)>>>0>1){n=h&127;v[a+36>>2]=n;v[a+40>>2]=((h^-1)&128)>>>7}if(e<<24>>24<=-1){v[a+36>>2]=-1;n=-1}if(v[a+12>>2]){break m}if(v[a+44>>2]){break l}d=fc(32);v[d+24>>2]=0;h=l&255|k<<8&65280;v[d+8>>2]=h;i=i&255|f<<8&65280;v[d+4>>2]=i;v[d>>2]=0;k=h+31&131040;v[d+16>>2]=k;l=i+31&131040;v[d+12>>2]=l;c=B(k,l);j=c>>>10|0;v[d+20>>2]=j;v[299999]=0;f=c>>>6|0;e=S(15,f|0)|0;m=v[299999];v[299999]=0;if((m|0)==1){break d}m=c|1023;if(m>>>0>=2047){ic(e,0,f)}v[d+28>>2]=4080;v[d>>2]=e;v[a+12>>2]=d;c=fc(508);v[c+8>>2]=0;v[c+12>>2]=1;v[c+4>>2]=d;d=v[248865];v[c+56>>2]=v[248864];v[c+60>>2]=d;e=v[248867];d=c- -64|0;v[d>>2]=v[248866];v[d+4>>2]=e;v[c+112>>2]=131072;v[c+116>>2]=131072;v[c+104>>2]=131072;v[c+108>>2]=131072;v[c+96>>2]=65536;v[c+100>>2]=65536;v[c+88>>2]=65536;v[c+92>>2]=65536;v[c+80>>2]=65536;v[c+84>>2]=65536;v[c+72>>2]=65536;v[c+76>>2]=65536;v[c+16>>2]=0;d=v[248872];v[c+20>>2]=v[248871];v[c+24>>2]=d;d=v[248874];v[c+28>>2]=v[248873];v[c+32>>2]=d;d=v[248876];v[c+36>>2]=v[248875];v[c+40>>2]=d;d=v[248878];v[c+44>>2]=v[248877];v[c+48>>2]=d;v[c+52>>2]=v[248879];ic(c+392|0,0,114);v[c>>2]=995824;v[a+44>>2]=c;if((n|0)<0){break r}d=fc(32);v[d+24>>2]=0;v[d+8>>2]=h;v[d+4>>2]=i;v[d>>2]=0;v[d+20>>2]=j;v[d+16>>2]=k;v[d+12>>2]=l;v[299999]=0;c=S(15,f|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break d}if(m>>>0>=2047){ic(c,0,f)}v[d+28>>2]=4080;v[d>>2]=c;v[a+16>>2]=d;e=fc(32);v[e+24>>2]=0;v[e+8>>2]=h;v[e+4>>2]=i;v[e>>2]=0;v[e+20>>2]=j;v[e+16>>2]=k;v[e+12>>2]=l;v[299999]=0;c=S(15,f|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break q}if(m>>>0>=2047){ic(c,0,f)}v[e+28>>2]=4080;v[e>>2]=c;v[a+20>>2]=e;c=fc(508);v[c+8>>2]=0;v[c+12>>2]=1;v[c+4>>2]=d;f=v[248865];j=v[248864];v[c+56>>2]=j;v[c+60>>2]=f;h=v[248867];d=c- -64|0;m=v[248866];v[d>>2]=m;v[d+4>>2]=h;v[c+112>>2]=131072;v[c+116>>2]=131072;v[c+104>>2]=131072;v[c+108>>2]=131072;v[c+96>>2]=65536;v[c+100>>2]=65536;v[c+88>>2]=65536;v[c+92>>2]=65536;v[c+80>>2]=65536;v[c+84>>2]=65536;v[c+72>>2]=65536;v[c+76>>2]=65536;v[c+16>>2]=0;i=v[248872];o=v[248871];v[c+20>>2]=o;v[c+24>>2]=i;k=v[248874];p=v[248873];v[c+28>>2]=p;v[c+32>>2]=k;l=v[248876];q=v[248875];v[c+36>>2]=q;v[c+40>>2]=l;n=v[248878];r=v[248877];v[c+44>>2]=r;v[c+48>>2]=n;s=v[248879];v[c+52>>2]=s;ic(c+392|0,0,114);v[c>>2]=995824;v[a+48>>2]=c;c=fc(508);v[c+8>>2]=0;v[c+12>>2]=1;v[c+4>>2]=e;v[c+56>>2]=j;v[c+60>>2]=f;d=c- -64|0;v[d>>2]=m;v[d+4>>2]=h;v[c+112>>2]=131072;v[c+116>>2]=131072;v[c+104>>2]=131072;v[c+108>>2]=131072;v[c+96>>2]=65536;v[c+100>>2]=65536;v[c+88>>2]=65536;v[c+92>>2]=65536;v[c+80>>2]=65536;v[c+84>>2]=65536;v[c+72>>2]=65536;v[c+76>>2]=65536;v[c+16>>2]=0;v[c+20>>2]=o;v[c+24>>2]=i;v[c+28>>2]=p;v[c+32>>2]=k;v[c+36>>2]=q;v[c+40>>2]=l;v[c+44>>2]=r;v[c+48>>2]=n;v[c+52>>2]=s;ic(c+392|0,0,114);v[c>>2]=995824;v[a+52>>2]=c}if(!v[a+12>>2]){break k}if(!v[a+44>>2]){break j}c=0;d=v[b>>2];if(d){v[d+4>>2]=v[d+4>>2]+1;c=v[b>>2]}v[299999]=0;v[g+8>>2]=c;$(4408,g+32|0,g+8|0,0,1);b=v[299999];v[299999]=0;if((b|0)==1){break p}b=v[g+8>>2];v[g+8>>2]=0;s:{if(!b){break s}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break s}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[g+32>>2];d=(t&255)+u|0;if((d|0)>v[a+24>>2]){while(1){c=v[a+44>>2];e=v[v[c>>2]+8>>2];v[299999]=0;c=Q(e|0,c|0,b|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break i}t:{if(!v[a+52>>2]){break t}e=v[a+48>>2];if(!e|v[a+36>>2]>v[a+24>>2]){break t}f=v[v[e>>2]+8>>2];v[299999]=0;e=Q(f|0,e|0,b|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break i}f=v[a+52>>2];h=v[v[f>>2]+8>>2];v[299999]=0;f=Q(h|0,f|0,b|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break i}c=f|(c|e)}e=v[a+24>>2]+1|0;v[a+24>>2]=e;if((d|0)>(e|0)?c:0){continue}break}b=v[g+32>>2]}v[a+28>>2]=v[a+28>>2]+1;v[g+32>>2]=0;u:{if(!b){break u}v[299999]=0;a=v[b+4>>2]-1|0;v[b+4>>2]=a;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(a){break u}v[299999]=0;R(4338,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Qb=g- -64|0;return d|0}a=P()|0;O()|0;dc(e);break c}c=g+8|0;a=P()|0;break h}a=P()|0;O()|0;ec(g+24|0);break c}a=P()|0;O()|0;ec(g+16|0);break c}X(242582,242096,1774,262412);L()}X(300872,242096,1775,262412);L()}X(242584,242096,1787,262412);L()}X(300874,242096,1788,262412);L()}c=g+32|0;a=P()|0}O()|0;ec(c);break c}L()}a=P()|0;O()|0;dc(d)}T(a|0);L()}b=P()|0;O()|0;qc(a);T(b|0);L()}W(0)|0;O()|0;lc();L()}function LS(a){var 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,w=0,x=0,y=0,z=0,B=0,C=0,D=0,E=0;l=Qb-32|0;Qb=l;v[l+16>>2]=13;a:{b:{c:{switch(v[a>>2]-7|0){case 0:g=v[a+8>>2];break b;case 1:break c;default:break a}}g=v[a+8>>2];g=Ub[v[v[g>>2]+76>>2]](g)|0}if(v[rc(g,279680,l+16|0,0)>>2]!=1){kc(1,-1,219281,0);hc(l+16|0);break a}h=v[l+24>>2];hc(l+16|0);d:{switch(h-1|0){case 0:c=Qb-160|0;Qb=c;v[c+16>>2]=13;v[c>>2]=13;C=1;t=1;q=1;k=0;e:{if(v[rc(g,248240,c+16|0,0)>>2]!=6){break e}a=v[c+24>>2];k=0;if(v[a+12>>2]!=4){break e}a=yc(a,0,c,0);j=A[a+8>>3];h=v[a+8>>2];a=v[a>>2];hc(c);f=yc(v[c+24>>2],1,c,0);t=v[f>>2]==1?+v[f+8>>2]:A[f+8>>3];hc(c);f=yc(v[c+24>>2],2,c,0);r=v[f>>2]==1?+v[f+8>>2]:A[f+8>>3];hc(c);f=yc(v[c+24>>2],3,c,0);q=v[f>>2]==1?+v[f+8>>2]:A[f+8>>3];hc(c);k=(a|0)==1?+(h|0):j}a=c+16|0;hc(a);j=1;f:{if(v[rc(g,220530,a,0)>>2]!=6){break f}a=v[c+24>>2];j=1;if(v[a+12>>2]!=6){break f}a=yc(a,0,c,0);j=A[a+8>>3];h=v[a+8>>2];a=v[a>>2];hc(c);f=yc(v[c+24>>2],1,c,0);o=v[f>>2]==1?+v[f+8>>2]:A[f+8>>3];hc(c);f=yc(v[c+24>>2],2,c,0);m=v[f>>2]==1?+v[f+8>>2]:A[f+8>>3];hc(c);f=yc(v[c+24>>2],3,c,0);C=v[f>>2]==1?+v[f+8>>2]:A[f+8>>3];hc(c);f=yc(v[c+24>>2],4,c,0);p=v[f>>2]==1?+v[f+8>>2]:A[f+8>>3];hc(c);f=yc(v[c+24>>2],5,c,0);n=v[f>>2]==1?+v[f+8>>2]:A[f+8>>3];hc(c);j=(a|0)==1?+(h|0):j}a=c+16|0;hc(a);rc(g,247024,a,0);g:{h:{i:{j:{k:{if(v[c+16>>2]==6){a=v[c+24>>2];i=v[a+12>>2];if((i|0)>32){break j}if((i|0)<1){break k}yc(a,0,c,0);a=vg(c,2,1,0);v[c+32>>2]=a;hc(c);if(!a){break i}while(1){b=b+1|0;if((i|0)==(b|0)){break k}yc(v[c+24>>2],b,c,0);a=vg(c,2,1,0);v[(c+32|0)+(b<<2)>>2]=a;hc(c);if(a){continue}break}break i}a=vg(c+16|0,2,-1,0);v[c+32>>2]=a;i=1;if(!a){break i}}hc(c+16|0);b=fc(400);v[b+4>>2]=1;v[b+8>>2]=0;v[b+392>>2]=i;A[b+216>>3]=j;A[b+208>>3]=q;A[b+200>>3]=t;A[b+192>>3]=r;A[b+184>>3]=k;v[b>>2]=897568;A[b+256>>3]=n;A[b+248>>3]=p;A[b+240>>3]=C;A[b+232>>3]=m;A[b+224>>3]=o;if((i|0)>=1){gc(b+264|0,c+32|0,i<<2)}l:{if(fu(b,g)){a=v[b+392>>2];if((a|0)<1){break g}g=v[b+8>>2];h=0;break l}Ub[v[v[b>>2]+4>>2]](b);break h}while(1){if(v[v[((h<<2)+b|0)+264>>2]+8>>2]==(Ub[v[v[g>>2]+28>>2]](g)|0)){h=h+1|0;if((a|0)>(h|0)){continue}break g}break}kc(1,-1,219040,0);Ub[v[v[b>>2]+4>>2]](b);break h}kc(1,-1,218656,0)}hc(c+16|0)}b=0}Qb=c+160|0;break a;case 1:e=Qb-160|0;Qb=e;v[e+16>>2]=13;v[e>>2]=13;m:{n:{if(v[rc(g,236916,e+16|0,0)>>2]!=6){break n}a=v[e+24>>2];if(v[a+12>>2]!=4){break n}a=yc(a,0,e,0);o=A[a+8>>3];u=v[a+8>>2];w=v[a>>2];hc(e);a=yc(v[e+24>>2],1,e,0);x=v[a>>2];m=A[a+8>>3];y=v[a+8>>2];hc(e);a=yc(v[e+24>>2],2,e,0);z=v[a>>2];n=A[a+8>>3];B=v[a+8>>2];hc(e);a=yc(v[e+24>>2],3,e,0);c=v[a>>2];k=A[a+8>>3];f=v[a+8>>2];hc(e);a=e+16|0;hc(a);p=1;o:{if(v[rc(g,248240,a,0)>>2]!=6){break o}a=v[e+24>>2];if(v[a+12>>2]!=2){break o}a=yc(a,0,e,0);j=A[a+8>>3];h=v[a+8>>2];a=v[a>>2];hc(e);s=yc(v[e+24>>2],1,e,0);p=v[s>>2]==1?+v[s+8>>2]:A[s+8>>3];r=(a|0)==1?+(h|0):j;hc(e)}a=e+16|0;hc(a);rc(g,247024,a,0);p:{q:{if(v[e+16>>2]==6){a=v[e+24>>2];i=v[a+12>>2];if((i|0)<=32){if((i|0)<1){break q}yc(a,0,e,0);a=vg(e,1,1,0);v[e+32>>2]=a;if(a){while(1){hc(e);b=b+1|0;if((i|0)==(b|0)){break q}yc(v[e+24>>2],b,e,0);a=vg(e,1,1,0);v[(e+32|0)+(b<<2)>>2]=a;if(a){continue}break}}hc(e+16|0);hc(e);break p}kc(1,-1,218656,0);break m}i=1;a=vg(e+16|0,1,-1,0);v[e+32>>2]=a;if(a){break q}hc(e+16|0);break m}m=(x|0)==1?+(y|0):m;n=(z|0)==1?+(B|0):n;k=(c|0)==1?+(f|0):k;j=(w|0)==1?+(u|0):o;a=e+16|0;hc(a);h=0;r:{if(v[rc(g,287941,a,0)>>2]!=6){f=0;break r}f=0;a=v[e+24>>2];if(v[a+12>>2]!=2){break r}h=v[yc(a,0,e,0)+8>>2];hc(e);f=v[yc(v[e+24>>2],1,e,0)+8>>2];hc(e)}hc(e+16|0);b=fc(376);v[b+4>>2]=2;v[b+8>>2]=0;v[b+360>>2]=i;A[b+224>>3]=p;A[b+216>>3]=r;A[b+208>>3]=k;A[b+200>>3]=n;A[b+192>>3]=m;A[b+184>>3]=j;v[b>>2]=897588;if((i|0)>=1){gc(b+232|0,e+32|0,i<<2)}v[b+368>>2]=f;v[b+364>>2]=h;s:{if(fu(b,g)){a=v[b+360>>2];if((a|0)<1){break m}g=v[b+8>>2];h=0;break s}Ub[v[v[b>>2]+4>>2]](b);break p}while(1){if(v[v[((h<<2)+b|0)+232>>2]+8>>2]==(Ub[v[v[g>>2]+28>>2]](g)|0)){h=h+1|0;if((a|0)>(h|0)){continue}break m}break}kc(1,-1,219040,0);Ub[v[v[b>>2]+4>>2]](b)}b=0;break m}kc(1,-1,218992,0);hc(e+16|0)}Qb=e+160|0;break a;case 2:d=Qb-160|0;Qb=d;v[d+16>>2]=13;v[d>>2]=13;t:{u:{if(v[rc(g,236916,d+16|0,0)>>2]!=6){break u}a=v[d+24>>2];if(v[a+12>>2]!=6){break u}a=yc(a,0,d,0);t=A[a+8>>3];D=v[a+8>>2];E=v[a>>2];hc(d);a=yc(v[d+24>>2],1,d,0);e=v[a>>2];q=A[a+8>>3];s=v[a+8>>2];hc(d);a=yc(v[d+24>>2],2,d,0);u=v[a>>2];o=A[a+8>>3];w=v[a+8>>2];hc(d);a=yc(v[d+24>>2],3,d,0);x=v[a>>2];m=A[a+8>>3];y=v[a+8>>2];hc(d);a=yc(v[d+24>>2],4,d,0);z=v[a>>2];n=A[a+8>>3];B=v[a+8>>2];hc(d);a=yc(v[d+24>>2],5,d,0);c=v[a>>2];k=A[a+8>>3];f=v[a+8>>2];hc(d);a=d+16|0;hc(a);p=1;v:{if(v[rc(g,248240,a,0)>>2]!=6){break v}a=v[d+24>>2];if(v[a+12>>2]!=2){break v}a=yc(a,0,d,0);j=A[a+8>>3];h=v[a+8>>2];a=v[a>>2];hc(d);i=yc(v[d+24>>2],1,d,0);p=v[i>>2]==1?+v[i+8>>2]:A[i+8>>3];r=(a|0)==1?+(h|0):j;hc(d)}a=d+16|0;hc(a);rc(g,247024,a,0);w:{x:{if(v[d+16>>2]==6){a=v[d+24>>2];i=v[a+12>>2];if((i|0)<=32){if((i|0)<1){break x}yc(a,0,d,0);a=vg(d,1,1,0);v[d+32>>2]=a;if(a){while(1){hc(d);b=b+1|0;if((i|0)==(b|0)){break x}yc(v[d+24>>2],b,d,0);a=vg(d,1,1,0);v[(d+32|0)+(b<<2)>>2]=a;if(a){continue}break}}hc(d+16|0);hc(d);break w}kc(1,-1,218656,0);break t}i=1;a=vg(d+16|0,1,-1,0);v[d+32>>2]=a;if(a){break x}hc(d+16|0);break t}q=(e|0)==1?+(s|0):q;o=(u|0)==1?+(w|0):o;m=(x|0)==1?+(y|0):m;n=(z|0)==1?+(B|0):n;k=(c|0)==1?+(f|0):k;j=(E|0)==1?+(D|0):t;a=d+16|0;hc(a);h=0;y:{if(v[rc(g,287941,a,0)>>2]!=6){f=0;break y}f=0;a=v[d+24>>2];if(v[a+12>>2]!=2){break y}h=v[yc(a,0,d,0)+8>>2];hc(d);f=v[yc(v[d+24>>2],1,d,0)+8>>2];hc(d)}hc(d+16|0);b=fc(392);v[b+4>>2]=3;v[b+8>>2]=0;v[b+376>>2]=i;A[b+240>>3]=p;A[b+232>>3]=r;A[b+224>>3]=k;A[b+216>>3]=n;A[b+208>>3]=m;A[b+200>>3]=o;A[b+192>>3]=q;A[b+184>>3]=j;v[b>>2]=897608;if((i|0)>=1){gc(b+248|0,d+32|0,i<<2)}v[b+384>>2]=f;v[b+380>>2]=h;z:{if(fu(b,g)){a=v[b+376>>2];if((a|0)<1){break t}g=v[b+8>>2];h=0;break z}Ub[v[v[b>>2]+4>>2]](b);break w}while(1){if(v[v[((h<<2)+b|0)+248>>2]+8>>2]==(Ub[v[v[g>>2]+28>>2]](g)|0)){h=h+1|0;if((a|0)>(h|0)){continue}break t}break}kc(1,-1,219040,0);Ub[v[v[b>>2]+4>>2]](b)}b=0;break t}kc(1,-1,218992,0)}Qb=d+160|0;break a;case 3:if(v[a>>2]==8){b=KS(4,g,v[a+8>>2]);break a}kc(1,-1,233810,0);break a;case 4:if(v[a>>2]==8){b=KS(5,g,v[a+8>>2]);break a}kc(1,-1,233780,0);break a;case 5:if(v[a>>2]==8){b=JS(6,g,v[a+8>>2]);break a}kc(1,-1,233750,0);break a;case 6:if(v[a>>2]==8){b=JS(7,g,v[a+8>>2]);break a}kc(1,-1,233720,0);break a;default:break d}}v[l>>2]=h;kc(1,-1,217506,l)}Qb=l+32|0;return b}function Uga(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;f=Qb-32|0;Qb=f;v[a>>2]=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{if(c>>>0<=1){if(!b){break s}if((d|0)==10|c){break t}}u:{v:{w:{x:{e=w[b|0]|w[b+1|0]<<8;e=(e<<8|e>>>8)&65535;if(e>>>0<=65278){if(!e){break x}if((e|0)!=61371|((d|0)!=8|c?c>>>0<=2:0)){break t}if(w[b+2|0]!=191){break t}e=3;h=8;break u}if((e|0)==65279){break w}if((e|0)!=65534){break t}if(w[b+2|0]|w[b+3|0]|((d|0)!=2|c?c>>>0<=3:0)){break v}e=4;h=2;break u}if(!((d|0)!=3|c?!c&(d|0)==1|c>>>0>3:1)){break t}e=4;i=w[b+2|0]|w[b+3|0]<<8;i=(i<<8|i>>>8)&65535;h=1;if((i|0)==65279){break u}if((i|0)!=65534){break t}h=3;break u}if(w[b+2|0]|w[b+3|0]|((d|0)!=4|c?c>>>0<=3:0)){break v}e=4;h=4;break u}e=2;h=7}d=h;if(!c){break s}b=0-e>>>0>>0?b+e|0:1197576;e=c+e|0;c=c>>>0>>0?0:e}if(!c){break s}h=b+c|0;e=b;y:{z:{switch(d|0){case 9:if(b>>>0>=h>>>0){break y}while(1){c=t[e|0];if(!c){break y}g=((c|0)<0?2:1)+g|0;e=e+1|0;if((h|0)!=(e|0)){continue}break};e=h;break y;case 8:if(b>>>0>=h>>>0){break y}while(1){if(!w[e|0]){break y}e=e+1|0;g=g+1|0;if((g|0)!=(c|0)){continue}break};g=c;e=h;break y;case 0:case 1:case 2:case 3:case 4:if(b>>>0>=h>>>0){break y}while(1){c=v[e>>2];if(!c){break y}g=(c>>>0>127?6:1)+g|0;e=e+4|0;if(h>>>0>e>>>0){continue}break};break y;case 5:case 6:case 7:break z;default:break y}}if(b>>>0>=h>>>0){break y}while(1){if(!x[e>>1]){break y}g=g+3|0;e=e+2|0;if(h>>>0>e>>>0){continue}break}}v[f+28>>2]=0;v[299999]=0;i=Z(4407,f+16|0,f+28|0,g+1|0,1)|0;c=v[299999];v[299999]=0;if((c|0)==1){break o}t[v[f+28>>2]]=0;if(g){break r}Lc(i)}v[299999]=0;V(5226,f+16|0,1);b=v[299999];v[299999]=0;if((b|0)==1){break q}v[299999]=0;b=Q(4344,a|0,f+16|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break p}b=v[b>>2];c=v[f+16>>2];v[f+16>>2]=0;A:{if(!c){break A}v[299999]=0;e=v[c+4>>2]-1|0;v[c+4>>2]=e;h=v[299999];v[299999]=0;if((h|0)==1){break a}if(e){break A}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}t[v[b+12>>2]]=0;v[b+8>>2]=0;c=v[v[b>>2]+64>>2];v[299999]=0;$(c|0,b|0,0,0,d|0);b=v[299999];v[299999]=0;if((b|0)!=1){break d}e=P()|0;O()|0;break b}g=v[f+28>>2];v[f+12>>2]=b;B:{switch(d|0){case 9:if(b>>>0>=e>>>0){break e}while(1){v[f+12>>2]=b+1;b=w[b|0];if(!b){break e}v[299999]=0;g=lj(b,g);b=v[299999];v[299999]=0;if((b|0)==1){break m}b=v[f+12>>2];if(e>>>0>b>>>0){continue}break};break e;case 7:c=b+2|0;if(e>>>0>>0){break e}while(1){j=w[b+1|0];C:{if((j&248)!=216){b=w[b|0]|j<<8;if(!b){break e}break C}if(j>>>0>219){break e}h=b+4|0;if(h>>>0>e>>>0){break e}b=((w[b+3|0]<<8|j<<18)&787200|(w[c|0]|w[b|0]<<10))+65536|0;c=h}v[299999]=0;v[f+12>>2]=c;g=lj(b,g);b=v[299999];v[299999]=0;if((b|0)==1){break l}b=v[f+12>>2];c=b+2|0;if(e>>>0>=c>>>0){continue}break};break e;case 1:break j;case 0:break k;case 5:break n;case 8:break B;case 6:break f;case 4:break g;case 3:break h;case 2:break i;default:break e}}while(1){D:{v[299999]=0;b=zp(f+12|0,e);c=v[299999];v[299999]=0;if((c|0)==1){break D}if(!b){break e}v[299999]=0;g=lj(b,g);b=v[299999];v[299999]=0;if((b|0)!=1){continue}}break}e=P()|0;O()|0;Lc(i);break b}e=P()|0;O()|0;break b}e=P()|0;O()|0;ec(f+16|0);break b}e=P()|0;O()|0;break b}while(1){h=b+2|0;if(h>>>0>e>>>0){break e}c=x[b>>1];E:{if((c&63488)!=55296){b=h;if(!c){break e}break E}if(c>>>0>56319){break e}b=b+4|0;if(e>>>0>>0){break e}c=(c<<10&1047552|x[h>>1]&1023)+4096|0}v[299999]=0;g=lj(c,g);c=v[299999];v[299999]=0;if((c|0)!=1){continue}break}e=P()|0;O()|0;Lc(i);break b}e=P()|0;O()|0;Lc(i);break b}e=P()|0;O()|0;Lc(i);break b}if(b>>>0>=e>>>0){break e}while(1){b=v[b>>2];if(!b){break e}v[299999]=0;g=lj(b,g);b=v[299999];v[299999]=0;if((b|0)!=1){b=v[f+12>>2]+4|0;v[f+12>>2]=b;if(b>>>0>=e>>>0){break e}continue}break}e=P()|0;O()|0;Lc(i);break b}c=b+4|0;if(e>>>0>>0){break e}while(1){b=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(!b){break e}v[299999]=0;v[f+12>>2]=c;g=lj(b,g);b=v[299999];v[299999]=0;if((b|0)!=1){b=v[f+12>>2];c=b+4|0;if(e>>>0>>0){break e}continue}break}e=P()|0;O()|0;Lc(i);break b}c=b+4|0;if(e>>>0>>0){break e}while(1){b=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);if(!b){break e}v[299999]=0;v[f+12>>2]=c;g=lj(b,g);b=v[299999];v[299999]=0;if((b|0)!=1){b=v[f+12>>2];c=b+4|0;if(e>>>0>>0){break e}continue}break}e=P()|0;O()|0;Lc(i);break b}c=b+4|0;if(e>>>0>>0){break e}while(1){b=w[b+2|0]|(w[b+3|0]|(w[b|0]<<8|w[b+1|0]<<16))<<8;if(!b){break e}v[299999]=0;v[f+12>>2]=c;g=lj(b,g);b=v[299999];v[299999]=0;if((b|0)!=1){b=v[f+12>>2];c=b+4|0;if(e>>>0>>0){break e}continue}break}e=P()|0;O()|0;Lc(i);break b}c=b+4|0;if(e>>>0>>0){break e}while(1){b=w[b+1|0]|(w[b|0]|(w[b+3|0]<<8|w[b+2|0]<<16))<<8;if(!b){break e}v[299999]=0;v[f+12>>2]=c;g=lj(b,g);b=v[299999];v[299999]=0;if((b|0)!=1){b=v[f+12>>2];c=b+4|0;if(e>>>0>>0){break e}continue}break}e=P()|0;O()|0;Lc(i);break b}c=b+2|0;if(e>>>0>>0){break e}while(1){j=w[b|0];F:{if((j&248)!=216){b=w[b+1|0]|j<<8;if(!b){break e}break F}if(j>>>0>219){break e}h=b+4|0;if(h>>>0>e>>>0){break e}b=((w[c|0]<<8|j<<18)&787200|(w[b+3|0]|w[b+1|0]<<10))+65536|0;c=h}v[299999]=0;v[f+12>>2]=c;g=lj(b,g);b=v[299999];v[299999]=0;if((b|0)!=1){b=v[f+12>>2];c=b+2|0;if(e>>>0>>0){break e}continue}break}e=P()|0;O()|0;Lc(i);break b}G:{h=g-v[f+28>>2]|0;if(h){v[299999]=0;V(5226,f+8|0,h|0);b=v[299999];v[299999]=0;H:{if((b|0)!=1){v[299999]=0;b=Q(4344,a|0,f+8|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break H}b=v[b>>2];c=v[f+8>>2];v[f+8>>2]=0;I:{if(!c){break I}v[299999]=0;g=v[c+4>>2]-1|0;v[c+4>>2]=g;j=v[299999];v[299999]=0;if((j|0)==1){break a}if(g){break I}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}gc(v[b+12>>2],v[f+28>>2],h);break G}e=P()|0;O()|0;Lc(i);break b}e=P()|0;O()|0;ec(f+8|0);Lc(i);break b}v[299999]=0;V(5226,f+8|0,1);b=v[299999];v[299999]=0;J:{if((b|0)!=1){v[299999]=0;b=Q(4344,a|0,f+8|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break J}b=v[b>>2];c=v[f+8>>2];v[f+8>>2]=0;K:{if(!c){break K}v[299999]=0;g=v[c+4>>2]-1|0;v[c+4>>2]=g;j=v[299999];v[299999]=0;if((j|0)==1){break a}if(g){break K}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}v[b+8>>2]=0;break G}e=P()|0;O()|0;Lc(i);break b}e=P()|0;O()|0;ec(f+8|0);Lc(i);break b}t[h+v[b+12>>2]|0]=0;v[299999]=0;U(5064,i|0,0,1);c=v[299999];v[299999]=0;if((c|0)==1){break c}c=v[v[b>>2]+64>>2];v[299999]=0;h=b;b=v[f+12>>2];$(c|0,h|0,b|0,e-b|0,d|0);b=v[299999];v[299999]=0;if((b|0)==1){e=P()|0;O()|0;Lc(i);break b}Lc(i)}Qb=f+32|0;return}e=P()|0;O()|0;Lc(i)}ec(a);T(e|0);L()}W(0)|0;O()|0;lc();L()}function tga(a,b){a=a|0;b=b|0;var 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,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;if(v[a+12>>2]>=0){a:{if(nO(a,v[a+8>>2])){break a}d=v[a+4>>2];if(v[d+20>>2]<1){break a}while(1){j=v[a+8>>2];s=j;c=v[d>>2];d=J<<4;z=c+d|0;y=d+v[a+508>>2]|0;d=j<<3;I=v[d+991072>>2];j=0;l=0;o=v[d+991076>>2];p=(o|0)>=16;b:{if(s){if((o|0)<1){break b}g=v[((s<<2)+a|0)+16>>2];h=0-g|0;e=a+120|0;while(1){K=a+l|0;c=l+I|0;f=c>>4<<2;i=v[f+z>>2];d=8;c:{if(!i){break c}d=i;i=(c&15)<<2;c=v[d+i>>2];f=v[f+y>>2];d:{if(f){d=8;if(!c){break c}i=v[f+i>>2];if(!i){break d}d=2;f=2;if(!x[i>>1]){f=u[c>>1];f=(g|0)>(f|0)?(f|0)>(h|0)?8:12:12}t[e|0]=f;if(!x[i+2>>1]){d=u[c+2>>1];d=(d|0)<(g|0)?(d|0)>(h|0)?8:12:12}t[e+1|0]=d;k=d|f;d=2;f=2;if(!x[i+4>>1]){f=u[c+4>>1];f=(g|0)>(f|0)?(f|0)>(h|0)?8:12:12}t[e+2|0]=f;if(!x[i+6>>1]){d=u[c+6>>1];d=(d|0)<(g|0)?(d|0)>(h|0)?8:12:12}t[e+3|0]=d;k=f|k|d;d=2;f=2;if(!x[i+8>>1]){f=u[c+8>>1];f=(g|0)>(f|0)?(f|0)>(h|0)?8:12:12}t[e+4|0]=f;if(!x[i+10>>1]){d=u[c+10>>1];d=(d|0)<(g|0)?(d|0)>(h|0)?8:12:12}t[e+5|0]=d;k=f|k|d;d=2;f=2;if(!x[i+12>>1]){f=u[c+12>>1];f=(g|0)>(f|0)?(f|0)>(h|0)?8:12:12}t[e+6|0]=f;if(!x[i+14>>1]){d=u[c+14>>1];d=(d|0)<(g|0)?(d|0)>(h|0)?8:12:12}t[e+7|0]=d;k=f|k|d;d=2;f=2;if(!x[i+16>>1]){f=u[c+16>>1];f=(g|0)>(f|0)?(f|0)>(h|0)?8:12:12}t[e+8|0]=f;if(!x[i+18>>1]){d=u[c+18>>1];d=(d|0)<(g|0)?(d|0)>(h|0)?8:12:12}t[e+9|0]=d;k=f|k|d;d=2;f=2;if(!x[i+20>>1]){f=u[c+20>>1];f=(g|0)>(f|0)?(f|0)>(h|0)?8:12:12}t[e+10|0]=f;if(!x[i+22>>1]){d=u[c+22>>1];d=(d|0)<(g|0)?(d|0)>(h|0)?8:12:12}t[e+11|0]=d;k=f|k|d;d=2;f=2;if(!x[i+24>>1]){f=u[c+24>>1];f=(g|0)>(f|0)?(f|0)>(h|0)?8:12:12}t[e+12|0]=f;if(!x[i+26>>1]){d=u[c+26>>1];d=(d|0)<(g|0)?(d|0)>(h|0)?8:12:12}t[e+13|0]=d;k=f|k|d;d=2;f=2;if(!x[i+28>>1]){f=u[c+28>>1];f=(g|0)>(f|0)?(f|0)>(h|0)?8:12:12}t[e+14|0]=f;if(!x[i+30>>1]){d=u[c+30>>1];d=(d|0)<(g|0)?(d|0)>(h|0)?8:12:12}t[e+15|0]=d;d=f|k|d;break c}d=8;if(!c){break c}}d=u[c>>1];d=(d|0)<(g|0)?(d|0)>(h|0)?8:12:12;t[e|0]=d;f=u[c+2>>1];f=(g|0)>(f|0)?(f|0)>(h|0)?8:12:12;t[e+1|0]=f;i=u[c+4>>1];i=(g|0)>(i|0)?(i|0)>(h|0)?8:12:12;t[e+2|0]=i;k=u[c+6>>1];k=(g|0)>(k|0)?(k|0)>(h|0)?8:12:12;t[e+3|0]=k;n=u[c+8>>1];n=(g|0)>(n|0)?(n|0)>(h|0)?8:12:12;t[e+4|0]=n;q=u[c+10>>1];q=(g|0)>(q|0)?(q|0)>(h|0)?8:12:12;t[e+5|0]=q;r=u[c+12>>1];r=(g|0)>(r|0)?(r|0)>(h|0)?8:12:12;t[e+6|0]=r;m=u[c+14>>1];m=(g|0)>(m|0)?(m|0)>(h|0)?8:12:12;t[e+7|0]=m;A=u[c+16>>1];A=(g|0)>(A|0)?(A|0)>(h|0)?8:12:12;t[e+8|0]=A;C=u[c+18>>1];C=(g|0)>(C|0)?(C|0)>(h|0)?8:12:12;t[e+9|0]=C;D=u[c+20>>1];D=(g|0)>(D|0)?(D|0)>(h|0)?8:12:12;t[e+10|0]=D;E=u[c+22>>1];E=(g|0)>(E|0)?(E|0)>(h|0)?8:12:12;t[e+11|0]=E;F=u[c+24>>1];F=(g|0)>(F|0)?(F|0)>(h|0)?8:12:12;t[e+12|0]=F;G=u[c+26>>1];G=(g|0)>(G|0)?(G|0)>(h|0)?8:12:12;t[e+13|0]=G;H=u[c+28>>1];H=(g|0)>(H|0)?(H|0)>(h|0)?8:12:12;t[e+14|0]=H;c=u[c+30>>1];c=(c|0)<(g|0)?(c|0)>(h|0)?8:12:12;t[e+15|0]=c;d=c|(H|(G|(F|(E|(D|(C|(A|(m|(r|(q|(n|(k|(i|(d|f))))))))))))))}t[K+376|0]=d;e=e+16|0;j=d|j;l=l+1|0;if((o|0)!=(l|0)){continue}break}break b}c=v[a+4>>2];e=v[z>>2];if(!e){e=Yw(c);v[z>>2]=e}d=v[e>>2];if(!d){d=Zw(c);v[v[z>>2]>>2]=d;d=v[v[z>>2]>>2]}c=a+508|0;e=v[y>>2];if(!e){e=Yw(c);v[y>>2]=e}l=v[e>>2];if(!l){c=Zw(c);v[v[y>>2]>>2]=c;l=v[v[y>>2]>>2]}e=0;while(1){g=a+e|0;c=1;e:{if(w[g+120|0]==1){break e}f=e<<1;c=2;if(x[f+l>>1]){break e}f=u[d+f>>1];c=v[((e<<2)+a|0)+56>>2];c=(c|0)>(f|0)?(f|0)>(0-c|0)?8:12:12}t[g+120|0]=c;j=c|j;e=e+1|0;if((e|0)!=16){continue}break}t[a+376|0]=j}d=j;f:{if(!(d&2?0:p)){d=d|4;break f}if(!(d&8)){break f}c=a+505|0;g=w[a+505|0];j=v[((g<<2)+b|0)+44>>2]+v[b+20>>2]|0;if((g^d>>>2)&1){Yg(b,c,j);break f}if(j>>>0>=32768){Zg(b,c,j);break f}v[b+20>>2]=j}g:{if(!(d&4)|(o|0)<1){break g}c=d<<1&4;h:{if((s|0)>=1){h=0;f=(s<<3)+a|0;while(1){i=w[(a+h|0)+376|0];i:{if(!(i&8)){break i}e=0;j=h+I|0;g=j<<2;l=v[(g>>8<<2)+y>>2];j:{if(!l){break j}j=v[l+(j&60)>>2];if(!j){break j}e=3;l=(g&12)<<1;g=l+j|0;p=x[g>>1];g=(x[g+2>>1]?p?2:1:(p|0)!=0)+(x[g+4>>1]!=0)|0;if(g>>>0>2){break j}e=g+(x[j+(l|6)>>1]!=0)|0}g=(f+(c|e)|0)+424|0;e=w[g|0];j=v[((e<<2)+b|0)+44>>2]+v[b+20>>2]|0;if((e&1)!=(i>>>2&1)){Yg(b,g,j);break i}if(j>>>0<=32767){v[b+20>>2]=j;break i}Zg(b,g,j)}h=h+1|0;if((o|0)!=(h|0)){continue}break}break h}c=(c+((s<<3)+a|0)|0)+424|0;h=0;while(1){g=w[(a+h|0)+376|0];k:{if(!(g&8)){break k}e=w[c|0];j=v[((e<<2)+b|0)+44>>2]+v[b+20>>2]|0;if((e&1)!=(g>>>2&1)){Yg(b,c,j);break k}if(j>>>0>=32768){Zg(b,c,j);break k}v[b+20>>2]=j}h=h+1|0;if((o|0)!=(h|0)){continue}break}}if((o|0)<1){break g}p=a+508|0;e=a+120|0;l=v[((s<<2)+a|0)+16>>2];f=0;while(1){n=a+f|0;if(w[n+376|0]&4){m=((((((((((((w[e|0]>>>3&1)+(w[e+1|0]>>>3&1)|0)+(w[e+2|0]>>>3&1)|0)+(w[e+3|0]>>>3&1)|0)+(w[e+4|0]>>>3&1)|0)+(w[e+5|0]>>>3&1)|0)+(w[e+6|0]>>>3&1)|0)+(w[e+7|0]>>>3&1)|0)+(w[e+8|0]>>>3&1)|0)+(w[e+9|0]>>>3&1)|0)+(w[e+10|0]>>>3&1)|0)+(w[e+11|0]>>>3&1)|0)+(w[e+12|0]>>>3&1)|0;k=w[e+13|0]>>>3&1;q=w[e+14|0]>>>3|0;r=w[e+15|0];h=f+I|0;c=h>>4<<2;j=v[c+z>>2];if(j){g=v[j+((h&15)<<2)>>2]}else{g=0}c=c+y|0;i=v[c>>2];if(!i){i=Yw(p);v[c>>2]=i}h=(h&15)<<2;j=v[h+i>>2];if(!j){j=Zw(p);v[h+v[c>>2]>>2]=j;j=v[h+v[c>>2]>>2]}i=((k+m|0)+(q&1)|0)+(r>>>3&1)|0;h=0;while(1){m=e+h|0;q=w[m|0];l:{if(!(q&8)){break l}k=((w[n+376|0]<<2&8|((i|0)<7?i:7))+a|0)+392|0;r=w[k|0];c=v[((r<<2)+b|0)+44>>2]+v[b+20>>2]|0;m:{if((r&1)!=(q>>>2&1)){Yg(b,k,c);break m}if(c>>>0>=32768){Zg(b,k,c);break m}v[b+20>>2]=c}c=w[m|0];if(c&4){c=(B(v[b+20>>2],3)>>>3|0)+32768|0;k=h<<1;n:{if(u[k+g>>1]<=-1){ut(b,c);break n}hr(b,c)}l=s?l:v[((h<<2)+a|0)+56>>2];u[j+k>>1]=l+(l>>>1|0);c=w[m|0]}if(c&4){i=0;break l}i=i-((i|0)>0)|0}h=h+1|0;if((h|0)!=16){continue}break}}e=e+16|0;f=f+1|0;if((o|0)!=(f|0)){continue}break}}if(!(!(d&2)|(o|0)<1)){f=a+504|0;p=a+508|0;l=a+120|0;e=v[((s<<2)+a|0)+16>>2];d=0;while(1){if(w[(a+d|0)+376|0]&2){g=d+I|0;c=g>>4<<2;j=v[c+z>>2];if(j){j=v[j+((g&15)<<2)>>2]}else{j=0}c=c+y|0;i=v[c>>2];if(!i){i=Yw(p);v[c>>2]=i}g=(g&15)<<2;m=v[g+i>>2];if(!m){h=Zw(p);v[g+v[c>>2]>>2]=h;m=v[g+v[c>>2]>>2]}h=0;while(1){if(w[h+l|0]&2){c=h<<1;i=u[c+j>>1];g=i>>31;k=c+m|0;c=u[k>>1];i=(g^g+i)&65535;g=v[b+20>>2];e=s?e:v[((h<<2)+a|0)+56>>2];o:{if((c|0)<=(B(e,3)|0)){n=w[f|0];g=g+v[((n<<2)+b|0)+44>>2]|0;if(!(!(n&1)^(c|0)<=(i|0))){Yg(b,f,g);break o}if(g>>>0>=32768){Zg(b,f,g);break o}v[b+20>>2]=g;break o}g=(B(g,3)>>>3|0)+32768|0;if((c|0)<=(i|0)){ut(b,g);break o}hr(b,g)}u[k>>1]=c-((c|0)<=(i|0)?0:e)+(e>>>1)}h=h+1|0;if((h|0)!=16){continue}break}}l=l+16|0;d=d+1|0;if((o|0)!=(d|0)){continue}break}}J=J+1|0;d=v[a+4>>2];if((J|0)>2]){continue}break}}a=mO(a)}else{a=0}return a|0}function eE(a){var 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,u=0,x=0,y=0,z=0,A=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;h=Qb-320|0;Qb=h;f=v[a+188>>2];a:{if((f|0)>0){d=v[a+720>>2];j=v[a+3464>>2];c=v[a+3460>>2];while(1){g=(b<<2)+a|0;if(!((c|0)>v[g+140>>2]&(j|0)>v[g+156>>2])){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,221079,0);d=0;break a}if((d|0)>2]){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,221039,0);d=0;break a}b=b+1|0;if((f|0)!=(b|0)){continue}break}}g=v[a+16>>2];if((g|0)>=1){d=v[a+3508>>2];p=a+40|0;while(1){if(!(d|v[a+204>>2]<1)){while(1){d=v[a+4>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((d|0)!=255&(d|0)!=-1){continue}while(1){d=v[a+4>>2];j=Ub[v[v[d>>2]+28>>2]](d)|0;if((j|0)==255){continue}break}if(!j){continue}break}if((j|0)!=v[a+3512>>2]){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,239678,0);d=0;break a}v[a+3524>>2]=0;d=v[a+204>>2];v[a+3508>>2]=d;j=j+1|0;v[a+3512>>2]=(j|0)==216?208:j;f=v[a+188>>2];b:{if((f|0)<1){break b}g=f&7;b=0;if(f-1>>>0>=7){c=f&-8;while(1){v[(B(b,20)+p|0)+16>>2]=0;v[(B(b|1,20)+p|0)+16>>2]=0;v[(B(b|2,20)+p|0)+16>>2]=0;v[(B(b|3,20)+p|0)+16>>2]=0;v[(B(b|4,20)+p|0)+16>>2]=0;v[(B(b|5,20)+p|0)+16>>2]=0;v[(B(b|6,20)+p|0)+16>>2]=0;v[(B(b|7,20)+p|0)+16>>2]=0;b=b+8|0;c=c-8|0;if(c){continue}break}}if(!g){break b}while(1){v[(B(b,20)+a|0)+56>>2]=0;b=b+1|0;g=g-1|0;if(g){continue}break}}v[a+3516>>2]=0}g=v[a+24>>2];j=a;if((f|0)>=1){c=v[a+28>>2];q=0;while(1){y=B(q,20)+a|0;z=(c|0)/v[y+48>>2]|0;o=(z|0)/8|0;A=(g|0)/v[y+44>>2]|0;l=(A|0)/8|0;if(!((c|0)<1|(g|0)<1)){d=A&-8;b=z&-8;D=(d|0)==16&(b|0)==16;E=(d|0)==8&(b|0)==8;F=y+56|0;C=(q<<2)+a|0;G=C;H=(z|0)<8|(A|0)<8;I=B(l,7);J=B(l,6);K=B(l,5);L=l<<2;M=B(l,3);N=l<<1;r=0;while(1){s=0;if((g|0)>=1){while(1){d=0;if(!PR(a,(B(v[C+140>>2],342)+a|0)+724|0,(B(v[G+156>>2],342)+a|0)+2092|0,F,h- -64|0)){break a}OR(((v[y+52>>2]<<7)+a|0)+208|0,h- -64|0,h);c:{d:{if(E){f=0;d=0;c=v[a+16>>2];g=s+u|0;if((c|0)<(g+8|0)){break d}while(1){b=v[a+3468>>2]+(B(v[a+188>>2],B(d+r|0,c)+g|0)+q|0)|0;t[b|0]=w[f+h|0];t[b+v[a+188>>2]|0]=w[(f|1)+h|0];t[b+(v[a+188>>2]<<1)|0]=w[(f|2)+h|0];t[b+B(v[a+188>>2],3)|0]=w[(f|3)+h|0];t[b+(v[a+188>>2]<<2)|0]=w[(f|4)+h|0];t[b+B(v[a+188>>2],5)|0]=w[(f|5)+h|0];t[b+B(v[a+188>>2],6)|0]=w[(f|6)+h|0];t[b+B(v[a+188>>2],7)|0]=w[(f|7)+h|0];d=d+1|0;if((d|0)==8){break c}f=f+8|0;c=v[a+16>>2];continue}}if(!D){g=s+u|0;c=v[a+16>>2];break d}d=0;f=0;c=v[a+16>>2];g=s+u|0;if((c|0)<(g+16|0)){break d}while(1){e=v[a+188>>2];b=v[a+3468>>2]+(B(e,B(f+r|0,c)+g|0)+q|0)|0;c=b+B(c,e)|0;x=c+e|0;e=w[d+h|0];t[x|0]=e;t[c|0]=e;t[b+v[a+188>>2]|0]=e;t[b|0]=e;e=w[(d|1)+h|0];t[c+B(v[a+188>>2],3)|0]=e;t[c+(v[a+188>>2]<<1)|0]=e;t[b+B(v[a+188>>2],3)|0]=e;t[b+(v[a+188>>2]<<1)|0]=e;e=w[(d|2)+h|0];t[c+B(v[a+188>>2],5)|0]=e;t[c+(v[a+188>>2]<<2)|0]=e;t[b+B(v[a+188>>2],5)|0]=e;t[b+(v[a+188>>2]<<2)|0]=e;e=w[(d|3)+h|0];t[c+B(v[a+188>>2],7)|0]=e;t[c+B(v[a+188>>2],6)|0]=e;t[b+B(v[a+188>>2],7)|0]=e;t[b+B(v[a+188>>2],6)|0]=e;e=w[(d|4)+h|0];t[c+B(v[a+188>>2],9)|0]=e;t[c+(v[a+188>>2]<<3)|0]=e;t[b+B(v[a+188>>2],9)|0]=e;t[b+(v[a+188>>2]<<3)|0]=e;e=w[(d|5)+h|0];t[c+B(v[a+188>>2],11)|0]=e;t[c+B(v[a+188>>2],10)|0]=e;t[b+B(v[a+188>>2],11)|0]=e;t[b+B(v[a+188>>2],10)|0]=e;e=w[(d|6)+h|0];t[c+B(v[a+188>>2],13)|0]=e;t[c+B(v[a+188>>2],12)|0]=e;t[b+B(v[a+188>>2],13)|0]=e;t[b+B(v[a+188>>2],12)|0]=e;e=w[(d|7)+h|0];t[c+B(v[a+188>>2],15)|0]=e;t[c+B(v[a+188>>2],14)|0]=e;t[b+B(v[a+188>>2],15)|0]=e;t[b+B(v[a+188>>2],14)|0]=e;if(f>>>0>13){break c}f=f+2|0;d=d+8|0;c=v[a+16>>2];continue}}if(H){break c}e=v[a+3468>>2]+(B(v[a+188>>2],B(c,r)+g|0)+q|0)|0;f=0;d=0;x=0;while(1){m=f+h|0;b=0;while(1){n=b+d|0;c=0;while(1){i=v[a+16>>2];if((i|0)>(c+g|0)){t[e+B(v[a+188>>2],B(n,i)+c|0)|0]=w[m|0];c=c+1|0;if((l|0)!=(c|0)){continue}}break}b=b+1|0;if((o|0)!=(b|0)){continue}break}m=(f|1)+h|0;b=0;while(1){n=b+d|0;c=0;while(1){k=v[a+16>>2];i=c+l|0;if((k|0)>(i+g|0)){t[e+B(v[a+188>>2],i+B(n,k)|0)|0]=w[m|0];c=c+1|0;if((l|0)!=(c|0)){continue}}break}b=b+1|0;if((o|0)!=(b|0)){continue}break}m=(f|2)+h|0;b=0;while(1){n=b+d|0;c=0;while(1){k=v[a+16>>2];i=c+N|0;if((k|0)>(i+g|0)){t[e+B(v[a+188>>2],i+B(n,k)|0)|0]=w[m|0];c=c+1|0;if((l|0)!=(c|0)){continue}}break}b=b+1|0;if((o|0)!=(b|0)){continue}break}m=(f|3)+h|0;b=0;while(1){n=b+d|0;c=0;while(1){k=v[a+16>>2];i=c+M|0;if((k|0)>(i+g|0)){t[e+B(v[a+188>>2],i+B(n,k)|0)|0]=w[m|0];c=c+1|0;if((l|0)!=(c|0)){continue}}break}b=b+1|0;if((o|0)!=(b|0)){continue}break}m=(f|4)+h|0;b=0;while(1){n=b+d|0;c=0;while(1){k=v[a+16>>2];i=c+L|0;if((k|0)>(i+g|0)){t[e+B(v[a+188>>2],i+B(n,k)|0)|0]=w[m|0];c=c+1|0;if((l|0)!=(c|0)){continue}}break}b=b+1|0;if((o|0)!=(b|0)){continue}break}m=(f|5)+h|0;b=0;while(1){n=b+d|0;c=0;while(1){k=v[a+16>>2];i=c+K|0;if((k|0)>(i+g|0)){t[e+B(v[a+188>>2],i+B(n,k)|0)|0]=w[m|0];c=c+1|0;if((l|0)!=(c|0)){continue}}break}b=b+1|0;if((o|0)!=(b|0)){continue}break}m=(f|6)+h|0;b=0;while(1){n=b+d|0;c=0;while(1){k=v[a+16>>2];i=c+J|0;if((k|0)>(i+g|0)){t[e+B(v[a+188>>2],i+B(n,k)|0)|0]=w[m|0];c=c+1|0;if((l|0)!=(c|0)){continue}}break}b=b+1|0;if((o|0)!=(b|0)){continue}break}m=(f|7)+h|0;b=0;while(1){n=b+d|0;c=0;while(1){k=v[a+16>>2];i=c+I|0;if((k|0)>(i+g|0)){t[e+B(v[a+188>>2],i+B(n,k)|0)|0]=w[m|0];c=c+1|0;if((l|0)!=(c|0)){continue}}break}b=b+1|0;if((o|0)!=(b|0)){continue}break}d=d+o|0;f=f+8|0;x=x+1|0;if((x|0)!=8){continue}break}}g=v[a+24>>2];s=s+A|0;if((g|0)>(s|0)){continue}break}c=v[a+28>>2]}r=r+z|0;if((r|0)<(c|0)){continue}break}f=v[a+188>>2]}q=q+1|0;if((q|0)<(f|0)){continue}break}d=v[a+3508>>2]}d=d-1|0;v[j+3508>>2]=d;u=g+u|0;g=v[a+16>>2];if((u|0)<(g|0)){continue}break}}e:{if(!v[a+192>>2]){break e}f:{switch(f-3|0){case 0:if((B(v[a+28>>2],g)|0)<1){break e}b=v[a+3468>>2];f=0;while(1){d=w[b|0]<<16|32768;j=w[b+2|0]-128|0;t[b|0]=w[(d+B(j,91881)>>16)+1177712|0];c=w[b+1|0]-128|0;t[b+1|0]=w[((d+B(c,-22553)|0)+B(j,-46802)>>16)+1177712|0];t[b+2|0]=w[(d+B(c,116130)>>16)+1177712|0];b=b+3|0;f=f+1|0;g=v[a+16>>2];if((f|0)<(B(g,v[a+28>>2])|0)){continue}break};break e;case 1:break f;default:break e}}if((B(v[a+28>>2],g)|0)<1){break e}b=v[a+3468>>2];f=0;while(1){d=w[b|0]<<16|32768;j=w[b+2|0]-128|0;t[b|0]=w[(d+B(j,91881)>>16)+1177712|0]^-1;c=w[b+1|0]-128|0;t[b+1|0]=w[((d+B(c,-22553)|0)+B(j,-46802)>>16)+1177712|0]^-1;t[b+2|0]=w[(d+B(c,116130)>>16)+1177712|0]^-1;b=b+4|0;f=f+1|0;g=v[a+16>>2];if((f|0)<(B(g,v[a+28>>2])|0)){continue}break}}d=v[a+3468>>2];v[a+3472>>2]=d;j=v[a+188>>2];f=v[a+20>>2];b=v[a+28>>2];c=v[a+3504>>2];g:{if((f|0)>=(b+c|0)){v[a+3476>>2]=d+B(B(b,j),g);break g}v[a+3476>>2]=d+B(B(j,f-c|0),g)}d=1}Qb=h+320|0;return d}function TGa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=Qb-304|0;Qb=e;a:{b:{c:{d:{e:{f:{g:{if(w[a+208|0]|w[a+203|0]){break g}nk(a,v[b+596>>2],A[b+104>>3],b+16|0);i=A[b+392>>3];f=v[a+104>>2];Ub[v[v[f>>2]+132>>2]](f,e+300|0)|0;f=v[a+104>>2];Ub[v[v[f>>2]+136>>2]](f,888360)|0;h=fc(32);f=h;v[f>>2]=0;v[f+4>>2]=0;v[f+24>>2]=0;v[f+28>>2]=0;v[f+16>>2]=0;v[f+20>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;v[e+296>>2]=0;v[e+288>>2]=0;v[e+292>>2]=0;v[299999]=0;f=S(1,48)|0;k=v[299999];v[299999]=0;g=(k|0)==1;i=i*255;h:{if(D(i)<2147483648){k=~~i;break h}k=-2147483648}i:{if(!g){v[e+288>>2]=f;v[e+292>>2]=f;l=f+48|0;v[e+296>>2]=l;v[f+8>>2]=0;v[f>>2]=0;v[f+4>>2]=0;g=f+4|0;v[299999]=0;j=S(1,32)|0;m=v[299999];v[299999]=0;if((m|0)==1){break b}v[f>>2]=j;g=j+32|0;v[f+8>>2]=g;gc(j,h,32);v[f+20>>2]=0;v[f+12>>2]=0;v[f+16>>2]=0;v[f+4>>2]=g;v[299999]=0;g=S(1,32)|0;j=v[299999];v[299999]=0;if((j|0)!=1){break i}g=f+16|0;f=f+12|0;break b}c=P()|0;O()|0;break a}v[f+12>>2]=g;j=g+32|0;v[f+20>>2]=j;gc(g,h,32);v[f+32>>2]=0;v[f+24>>2]=0;v[f+28>>2]=0;v[f+16>>2]=j;v[299999]=0;g=S(1,32)|0;j=v[299999];v[299999]=0;if((j|0)==1){g=f+28|0;f=f+24|0;break b}v[f+24>>2]=g;j=g+32|0;v[f+32>>2]=j;gc(g,h,32);v[f+44>>2]=0;v[f+36>>2]=0;v[f+40>>2]=0;v[f+28>>2]=j;v[299999]=0;g=S(1,32)|0;j=v[299999];v[299999]=0;if((j|0)==1){g=f+40|0;f=f+36|0;break b}v[f+36>>2]=g;j=g+32|0;v[f+44>>2]=j;gc(g,h,32);v[f+40>>2]=j;v[e+292>>2]=l;dc(h);i=A[c>>3];h=v[f>>2];z[h+4>>2]=A[c+128>>3]/72*25.4;z[h>>2]=i/72*25.4;i=A[c+8>>3];z[h+12>>2]=A[c+136>>3]/72*25.4;z[h+8>>2]=i/72*25.4;i=A[c+16>>3];z[h+20>>2]=A[c+144>>3]/72*25.4;z[h+16>>2]=i/72*25.4;i=A[c+24>>3];z[h+28>>2]=A[c+152>>3]/72*25.4;z[h+24>>2]=i/72*25.4;i=A[c+32>>3];h=v[f+12>>2];z[h+4>>2]=A[c+160>>3]/72*25.4;z[h>>2]=i/72*25.4;i=A[c+40>>3];z[h+12>>2]=A[c+168>>3]/72*25.4;z[h+8>>2]=i/72*25.4;i=A[c+48>>3];z[h+20>>2]=A[c+176>>3]/72*25.4;z[h+16>>2]=i/72*25.4;i=A[c+56>>3];z[h+28>>2]=A[c+184>>3]/72*25.4;z[h+24>>2]=i/72*25.4;i=A[c+64>>3];h=v[f+24>>2];z[h+4>>2]=A[c+192>>3]/72*25.4;z[h>>2]=i/72*25.4;i=A[c+72>>3];z[h+12>>2]=A[c+200>>3]/72*25.4;z[h+8>>2]=i/72*25.4;i=A[c+80>>3];z[h+20>>2]=A[c+208>>3]/72*25.4;z[h+16>>2]=i/72*25.4;i=A[c+88>>3];z[h+28>>2]=A[c+216>>3]/72*25.4;z[h+24>>2]=i/72*25.4;i=A[c+96>>3];f=v[f+36>>2];z[f+4>>2]=A[c+224>>3]/72*25.4;z[f>>2]=i/72*25.4;i=A[c+104>>3];z[f+12>>2]=A[c+232>>3]/72*25.4;z[f+8>>2]=i/72*25.4;i=A[c+112>>3];z[f+20>>2]=A[c+240>>3]/72*25.4;z[f+16>>2]=i/72*25.4;i=A[c+120>>3];z[f+28>>2]=A[c+248>>3]/72*25.4;z[f+24>>2]=i/72*25.4;v[299999]=0;f=S(1,8)|0;h=v[299999];v[299999]=0;if((h|0)==1){c=P()|0;O()|0;break c}v[299999]=0;v[e>>2]=f;f=f+8|0;v[e+8>>2]=f;v[e+4>>2]=f;h=Y(2460,e+272|0,2,e|0)|0;f=v[299999];v[299999]=0;j:{k:{l:{m:{n:{o:{if((f|0)!=1){f=v[e>>2];if(f){v[e+4>>2]=f;dc(f)}v[299999]=0;f=e+256|0;v[f+4>>2]=15;v[f+8>>2]=0;v[f>>2]=897040;g=v[299999];v[299999]=0;if((g|0)==1){break o}v[299999]=0;U(3149,d|0,c+256|0,e|0);g=v[299999];v[299999]=0;if((g|0)==1){break e}v[299999]=0;Mp(f,e,e+240|0,0);g=v[299999];v[299999]=0;if((g|0)==1){break m}g=v[v[h>>2]>>2];k=k<<24;j=B(v[e+248>>2],255)+32768>>>16&255|(B(v[e+244>>2],255)+32768>>>8&65280|(k|B(v[e+240>>2],255)+32768&16711680));t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;v[299999]=0;U(3149,d|0,c+512|0,e|0);g=v[299999];v[299999]=0;if((g|0)!=1){break n}break e}c=P()|0;O()|0;a=v[e>>2];if(!a){break c}v[e+4>>2]=a;dc(a);break c}c=P()|0;O()|0;break d}v[299999]=0;Mp(f,e,e+240|0,0);g=v[299999];v[299999]=0;if((g|0)==1){break m}g=v[v[h>>2]+12>>2];j=B(v[e+248>>2],255)+32768>>>16&255|(B(v[e+244>>2],255)+32768>>>8&65280|(k|B(v[e+240>>2],255)+32768&16711680));t[g|0]=j;t[g+1|0]=j>>>8;t[g+2|0]=j>>>16;t[g+3|0]=j>>>24;v[299999]=0;U(3149,d|0,c+768|0,e|0);g=v[299999];v[299999]=0;if((g|0)==1){break e}v[299999]=0;Mp(f,e,e+240|0,0);g=v[299999];v[299999]=0;if((g|0)==1){break m}g=v[v[h>>2]>>2];j=B(v[e+248>>2],255)+32768>>>16&255|(B(v[e+244>>2],255)+32768>>>8&65280|(k|B(v[e+240>>2],255)+32768&16711680));t[g+4|0]=j;t[g+5|0]=j>>>8;t[g+6|0]=j>>>16;t[g+7|0]=j>>>24;v[299999]=0;U(3149,d|0,c+1024|0,e|0);c=v[299999];v[299999]=0;if((c|0)==1){break e}v[299999]=0;Mp(f,e,e+240|0,0);c=v[299999];v[299999]=0;if((c|0)==1){break m}c=v[v[h>>2]+12>>2];d=B(v[e+248>>2],255)+32768>>>16&255|(B(v[e+244>>2],255)+32768>>>8&65280|(k|B(v[e+240>>2],255)+32768&16711680));t[c+4|0]=d;t[c+5|0]=d>>>8;t[c+6|0]=d>>>16;t[c+7|0]=d>>>24;v[e+8>>2]=0;v[e+12>>2]=0;v[e+40>>2]=0;v[e+44>>2]=0;v[e+84>>2]=1;v[e+104>>2]=0;v[e+108>>2]=0;v[e+96>>2]=0;v[e+100>>2]=0;v[e+88>>2]=0;v[e+92>>2]=0;v[e+120>>2]=0;v[e+124>>2]=0;v[e+128>>2]=0;v[e+132>>2]=0;v[e+136>>2]=0;v[e+140>>2]=0;v[e>>2]=0;v[e+4>>2]=0;v[e+32>>2]=0;v[e+36>>2]=0;v[e+24>>2]=0;v[e+28>>2]=1065353216;v[e+76>>2]=0;v[e+80>>2]=1;v[e+68>>2]=0;v[e+72>>2]=0;v[e+60>>2]=1056964608;v[e+64>>2]=1065353216;u[e+56>>1]=0;v[e+48>>2]=1065353216;v[e+52>>2]=1065353216;v[e+248>>2]=0;v[e+240>>2]=0;v[e+244>>2]=0;v[299999]=0;c=S(1,24)|0;d=v[299999];v[299999]=0;if((d|0)!=1){break l}c=P()|0;O()|0;break k}c=P()|0;O()|0;break d}d=c+24|0;v[e+140>>2]=d;v[e+132>>2]=c;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=0;v[c+4>>2]=0;v[e+136>>2]=d;ic(e+148|0,0,88);v[299999]=0;d=v[e+288>>2];f=v[e+292>>2];U(2465,e+200|0,d|0,f|0);c=v[299999];v[299999]=0;k=e+80|0;if((c|0)!=1){c=v[h+4>>2];g=v[h>>2];v[299999]=0;U(3151,e+212|0,g|0,c|0);c=v[299999];v[299999]=0;if((c|0)!=1){break j}}c=P()|0;O()|0;Ne(k)}Vh(e+240|0);break d}v[e+80>>2]=4;p:{c=v[a+104>>2];g=kp(c,457612,457624);if(!g){break p}c=v[v[g>>2]+560>>2];v[299999]=0;V(c|0,g|0,e|0);c=v[299999];v[299999]=0;q:{if((c|0)==1){break q}c=v[a+104>>2];g=v[v[c>>2]+328>>2];v[299999]=0;Q(g|0,c|0,888336)|0;c=v[299999];v[299999]=0;if((c|0)==1){break q}c=v[a+104>>2];break p}break f}v[e+240>>2]=4;g=v[v[c>>2]+292>>2];v[299999]=0;Q(g|0,c|0,e+240|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break f}a=v[a+104>>2];c=v[v[a>>2]+136>>2];v[299999]=0;Q(c|0,a|0,e+300|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break f}v[299999]=0;R(3139,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break f}Ne(k);b=v[h>>2];if(b){a=v[h+4>>2];if((b|0)==(a|0)){a=b}else{while(1){c=a-12|0;k=v[c>>2];if(k){v[a-8>>2]=k;dc(k)}a=c;if((c|0)!=(b|0)){continue}break}a=v[h>>2]}v[h+4>>2]=b;dc(a)}if(!d){break g}if((d|0)!=(f|0)){while(1){a=f-12|0;b=v[a>>2];if(b){v[f-8>>2]=b;dc(b)}f=a;if((d|0)!=(f|0)){continue}break}}v[e+292>>2]=d;dc(d)}Qb=e+304|0;return 1}c=P()|0;O()|0;Ne(k);break d}c=P()|0;O()|0}Vh(h)}Vh(e+288|0);T(c|0);L()}c=P()|0;O()|0;a=v[f>>2];if(a){v[g>>2]=a;dc(a)}v[e+292>>2]=f}Vh(e+288|0);dc(h);T(c|0);L()}function RX(a,b,c,d,e){var f=0,g=0,h=C(0),i=0,j=0,k=C(0),l=0,m=C(0),n=0,o=C(0),p=0,q=0,r=0,s=0,u=C(0),x=0,y=C(0),A=C(0),E=C(0),F=C(0),G=0;p=Qb-16|0;Qb=p;if(e){y=C(d|0);d=0;while(1){a:{b:{c:{switch(v[a+88>>2]){case 0:j=v[a+140>>2];h=C(z[j+20>>2]+y);m=C(C(C(z[j+16>>2]+C(c|0))*z[j>>2])+C(h*z[j+8>>2]));o=z[a+112>>2];i=v[a+96>>2];f=i-1|0;k=C(f|0);o=C(C(C(m-o)*k)/C(z[a+116>>2]-o));d:{if(C(D(o))>2];r=n;q=f;u=C(C(z[j+4>>2]*m)+C(h*z[j+12>>2]));h=z[a+120>>2];h=C(C(C(u-h)*k)/C(z[a+124>>2]-h));e:{if(C(D(h))>>0>(v[a+104>>2]-n|0)/12>>>0?0:(j|0)<0?0:f>>>0>>0?q:j,12)>>2]+(((g|0)<0?0:f>>>0>>0?f:g)<<2)|0;f=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);g=b;if(!w[a+2913|0]){f=f<<16&16711680|(f&-16711936|f>>>16&255)}t[g|0]=f;t[g+1|0]=f>>>8;t[g+2|0]=f>>>16;t[g+3|0]=f>>>24;break b;case 2:f=v[a+172>>2];h=z[f+20>>2];m=z[f+16>>2];o=C(C(c|0)-m);k=C(z[f+12>>2]-h);A=C(z[f>>2]-m);E=C(m-z[f+8>>2]);F=z[f+4>>2];m=C(C(k*A)+C(E*C(F-h)));f:{g:{u=C(y-h);k=C(C(C(k*o)+C(u*E))/m);h:{if(k>2];j=w[g+4|0]|w[g+5|0]<<8|(w[g+6|0]<<16|w[g+7|0]<<24);o=C(h*C((j&255)>>>0));i:{if(C(D(o))0?f:0;q=p;m=C(D(m));l=w[g+8|0]|w[g+9|0]<<8|(w[g+10|0]<<16|w[g+11|0]<<24);o=C(m*C((l&255)>>>0));j:{if(C(D(o))0?i:0)+n|0;i=i>>>0<255?i:255;r=(i|0)>0?i:0;o=C(D(k));g=w[g|0]|w[g+1|0]<<8|(w[g+2|0]<<16|w[g+3|0]<<24);k=C(o*C((g&255)>>>0));k:{if(C(D(k))0?f:0)|0;f=f>>>0<255?f:255;t[q+12|0]=(f|0)>0?f:0;k=C(h*C((j>>>16&255)>>>0));l:{if(C(D(k))0?f:0;q=p;k=C(m*C((l>>>16&255)>>>0));m:{if(C(D(k))0?i:0)+n|0;i=i>>>0<255?i:255;r=(i|0)>0?i:0;k=C(o*C((g>>>16&255)>>>0));n:{if(C(D(k))0?f:0)|0;f=f>>>0<255?f:255;t[q+14|0]=(f|0)>0?f:0;k=C(h*C((j>>>8&255)>>>0));o:{if(C(D(k))0?f:0;q=p;k=C(m*C((l>>>8&255)>>>0));p:{if(C(D(k))0?i:0)+n|0;i=i>>>0<255?i:255;r=(i|0)>0?i:0;k=C(o*C((g>>>8&255)>>>0));q:{if(C(D(k))0?f:0)|0;f=f>>>0<255?f:255;t[q+13|0]=(f|0)>0?f:0;h=C(h*C(j>>>24>>>0));r:{if(C(D(h))0?f:0;q=p;h=C(m*C(l>>>24>>>0));s:{if(C(D(h))0?j:0)+i|0;j=j>>>0<255?j:255;i=(j|0)>0?j:0;h=C(o*C(g>>>24>>>0));t:{if(C(D(h))0?f:0)|0;f=f>>>0<255?f:255;t[q+15|0]=(f|0)>0?f:0}if(w[a+2913|0]){f=v[p+12>>2];t[b|0]=f;t[b+1|0]=f>>>8;t[b+2|0]=f>>>16;t[b+3|0]=f>>>24;break b}f=w[p+14|0]|w[p+13|0]<<8|w[p+12|0]<<16|w[p+15|0]<<24;t[b|0]=f;t[b+1|0]=f>>>8;t[b+2|0]=f>>>16;t[b+3|0]=f>>>24;break b;case 3:h=z[a+2932>>2];s=v[a+2948>>2]-1|0;m=C(s>>>0);h=C(C(C(C(c|0)-h)*m)/C(z[a+2936>>2]-h));u:{if(h=C(0)){f=~~h>>>0;break u}f=0}j=f;i=f>>>0>s>>>0;h=z[a+2940>>2];h=C(C(C(y-h)*m)/C(z[a+2944>>2]-h));v:{if(h=C(0)){g=~~h>>>0;break v}g=0}l=0;w:{if(i){n=0;i=0;f=0;break w}n=0;i=0;f=0;if(g>>>0>s>>>0){break w}f=v[v[a+2916>>2]+B(j,12)>>2]+(g<<2)|0;l=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);i=l&-16777216;n=l>>>8|0;f=l>>>16|0}if(w[a+2913|0]){f=l&255|((f&255)<<16|i|(n&255)<<8);t[b|0]=f;t[b+1|0]=f>>>8;t[b+2|0]=f>>>16;t[b+3|0]=f>>>24;break b}f=f&255|(n&255)<<8|(l&255)<<16|i;t[b|0]=f;t[b+1|0]=f>>>8;t[b+2|0]=f>>>16;t[b+3|0]=f>>>24;break b;case 4:h=z[a+2932>>2];s=v[a+2948>>2]-1|0;m=C(s>>>0);h=C(C(C(C(c|0)-h)*m)/C(z[a+2936>>2]-h));x:{if(h=C(0)){f=~~h>>>0;break x}f=0}j=f;l=f>>>0>s>>>0;h=z[a+2940>>2];h=C(C(C(y-h)*m)/C(z[a+2944>>2]-h));y:{if(h=C(0)){g=~~h>>>0;break y}g=0}n=0;z:{if(l){l=0;i=0;f=0;break z}l=0;i=0;f=0;if(g>>>0>s>>>0){break z}f=v[v[a+2916>>2]+B(j,12)>>2]+(g<<2)|0;l=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);i=l&-16777216;n=l>>>8|0;f=l>>>16|0}if(w[a+2913|0]){f=l&255|((f&255)<<16|i|(n&255)<<8);t[b|0]=f;t[b+1|0]=f>>>8;t[b+2|0]=f>>>16;t[b+3|0]=f>>>24;break b}f=f&255|(n&255)<<8|(l&255)<<16|i;t[b|0]=f;t[b+1|0]=f>>>8;t[b+2|0]=f>>>16;t[b+3|0]=f>>>24;break b;case 1:break c;default:break a}}f=v[a+268>>2];h=C(Ub[v[v[f>>2]>>2]](f,C(c|0),y));if(!(!(h!=h|z[a+80>>2]==C(0)&h>2])&(!(h>z[a+116>>2])|z[a+84>>2]!=C(0)))){t[b|0]=0;t[b+1|0]=0;t[b+2|0]=0;t[b+3|0]=0;break b}A:{switch(v[a+92>>2]){case 1:u=h;h=z[a+112>>2];g=v[a+96>>2]-1|0;h=C(C(C(u-h)*C(g|0))/C(z[a+116>>2]-h));B:{if(C(D(h))>2]>>2]+(((f|0)<0?0:f>>>0>g>>>0?g:f)<<2)|0;f=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);g=b;if(!w[a+2913|0]){f=f<<16&16711680|(f&-16711936|f>>>16&255)}t[g|0]=f;t[g+1|0]=f>>>8;t[g+2|0]=f>>>16;t[g+3|0]=f>>>24;break b;case 0:break A;default:break a}}x=+C(h*C(512))+.5;C:{if(D(x)<2147483648){f=~~x;break C}f=-2147483648}if(!w[(f+a|0)+2400|0]){l=v[a+328>>2];D:{if((l|0)>=2){h=C(+(f|0)*.001953125);j=v[a+324>>2];g=1;while(1){if(!(!(h>2])|(g|0)!=1)){g=v[a+320>>2];v[((f<<2)+a|0)+348>>2]=w[g|0]|w[g+1|0]<<8|(w[g+2|0]<<16|w[g+3|0]<<24);break D}m=z[(g<<2)+j>>2];if(m>h){i=v[a+320>>2];g=g<<2;l=i+g|0;g=g-4|0;i=g+i|0;n=w[i+3|0];s=w[l+3|0]-n|0;G=(f<<2)+a|0;r=w[i|0];q=r;u=h;h=z[g+j>>2];x=+C(C(u-h)/C(m-h))*256+.5;E:{if(x<4294967296&x>=0){g=~~x>>>0;break E}g=0}j=w[i+2|0];n=n+(B(g,s)>>>8|0)<<24|((B(g,w[l+2|0]-j|0)>>>8|0)+j&255)<<16;j=w[i+1|0];v[G+348>>2]=q+(B(g,w[l|0]-r|0)>>>8|0)&255|(n|((B(g,w[l+1|0]-j|0)>>>8|0)+j&255)<<8);break D}g=g+1|0;if((l|0)!=(g|0)){continue}break}}g=(v[a+320>>2]+(l<<2)|0)-4|0;v[((f<<2)+a|0)+348>>2]=w[g|0]|w[g+1|0]<<8|(w[g+2|0]<<16|w[g+3|0]<<24)}t[(a+f|0)+2400|0]=1}g=(f<<2)+a|0;j=g;f=b;i=f;if(w[a+2913|0]){g=v[j+348>>2]}else{g=w[g+350|0]|w[g+349|0]<<8|w[j+348|0]<<16|w[g+351|0]<<24}t[i|0]=g;t[f+1|0]=g>>>8;t[f+2|0]=g>>>16;t[f+3|0]=g>>>24}b=b+4|0}c=c+1|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}}Qb=p+16|0}function D1a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,z=0,A=0,C=0,D=0;j=Qb-48|0;Qb=j;z=6;l=v[a+4>>2];a:{if(!l){break a}q=c?c-1|0:0;if(q>>>0>=y[l+408>>2]){break a}b:{c:{if(d&9){break c}f=v[l+380>>2];if(!f){break c}s=v[l+416>>2];p=v[l+104>>2];c=v[l+388>>2];e=x[b+12>>1];while(1){if(!((e|0)==v[c>>2]&v[c+4>>2]==x[b+14>>1])){c=c+36|0;g=g+1|0;if((f|0)!=(g|0)){continue}break c}break}f=v[c+8>>2];if(Yc(p,v[c+24>>2]+v[l+432>>2]|0)){break c}g=f&1;if(ne(p,B(v[c+28>>2],(f>>>2&1)+(f&2?g+5|0:g|4)|0))){break c}m=v[c+8>>2];n=m&1;k=(m&2?n+5|0:n|4)+(m>>>2&1)|0;o=v[(q<<4)+s>>2];g=v[c+28>>2];h=v[p+32>>2];if(!(m&64)){f=v[p+36>>2];r=m|128;v[c+8>>2]=r;d:{e:{f:{e=B(g,k);A=e+h|0;if(f>>>0>=A>>>0){if((e|0)<1){break d}e=-1;if(n){break f}f=h;while(1){i=e;e=w[f|0];if((i|0)>=(e|0)){break e}f=f+k|0;if(A>>>0>f>>>0){continue}break}break d}r=m&-129;break d}f=h;while(1){i=e;e=w[f+1|0]|w[f|0]<<8;if((i|0)>=(e|0)){break e}f=f+k|0;if(A>>>0>f>>>0){continue}break}break d}r=m&-129}m=r|64;v[c+8>>2]=m}g:{if(!(m&128)){break g}h:{if(!n){c=0;while(1){if(c>>>0>=g>>>0){break g}f=c+g>>>1|0;n=h+B(f,k)|0;e=w[n|0];i=e>>>0>o>>>0;g=i?f:g;c=i?c:e>>>0>>0?f+1|0:c;if((e|0)!=(o|0)){continue}break}f=n+1|0;break h}n=h+2|0;c=0;while(1){if(c>>>0>=g>>>0){break g}e=c+g>>>1|0;f=n+B(e,k)|0;h=f-2|0;h=w[h|0]<<8|w[h+1|0];i=h>>>0>o>>>0;c=i?c:h>>>0>>0?e+1|0:c;g=i?e:g;if((h|0)!=(o|0)){continue}break}}i:{if(m&2){g=w[f+1|0]|w[f|0]<<8;c=f+2|0;break i}g=w[f|0];c=f+1|0}f=w[c|0];j:{if(m&4){h=2;f=w[c+1|0]<<8|f<<16;break j}h=1;f=f<<8}c=w[c+h|0];Vd(p);if(!g){break c}e=c|f;v[j+8>>2]=0;v[j+44>>2]=0;v[j+36>>2]=0;v[j+32>>2]=0;v[j+28>>2]=0;i=(q<<4)+s|0;c=v[i+4>>2];h=v[l+304>>2];f=v[l+300>>2];k:{if((h|0)==(f|0)){f=c;break k}f=jd(c,f,h);h=v[l+304>>2];c=v[i+4>>2]}v[a+56>>2]=f;f=jd(x[b+12>>1]<<8,c,h);v[j+40>>2]=f;if(Yc(p,e+v[l+188>>2]|0)){break c}if(ne(p,g)){break c}v[j+24>>2]=v[p+32>>2];r=8;o=v[p+36>>2];e=v[j+24>>2];l:{if(o>>>0>>0){break l}h=e;m:{n:{o:{p:{q:{s=w[e|0];switch((s&3)-1|0){case 2:break n;case 1:break o;case 0:break p;default:break q}}c=e+2|0;if(o>>>0>>0){break l}e=t[h+1|0];m=e>>4;k=e<<28>>28;break m}c=e+3|0;if(o>>>0>>0){break l}k=t[e+2|0];m=t[e+1|0];break m}c=e+5|0;if(o>>>0>>0){break l}h=w[e+3|0]|w[e+4|0]<<8;k=(h<<8|h>>>8)<<16>>16;e=w[e+1|0]|w[e+2|0]<<8;m=(e<<8|e>>>8)<<16>>16;break m}c=e+7|0;if(o>>>0>>0){break l}k=w[e+6|0]|(w[e+5|0]<<8|w[e+4|0]<<16);m=w[e+3|0]|(w[e+2|0]<<8|w[e+1|0]<<16)}i=s>>>2&3;n=i;r:{s:{switch(i-1|0){case 0:e=c+1|0;if(e>>>0>o>>>0){break l}c=w[c|0];n=c&15;i=c>>>4|0;c=e;break r;case 1:e=c+2|0;if(e>>>0>o>>>0){break l}n=w[c+1|0];i=w[c|0];c=e;break r;case 2:break s;default:break r}}e=c+4|0;if(e>>>0>o>>>0){break l}n=w[c+3|0]|w[c+2|0]<<8;i=w[c+1|0]|w[c|0]<<8;c=e}t:{u:{v:{w:{h=s>>>4|0;switch((h&3)-1|0){case 2:break u;case 1:break v;case 0:break w;default:break t}}e=c+1|0;if(e>>>0>o>>>0){break l}f=t[c|0]<<8;c=e;break t}e=c+2|0;if(e>>>0>o>>>0){break l}c=w[c|0]|w[c+1|0]<<8;f=(c<<8|c>>>8)<<16>>16;c=e;break t}e=c+3|0;if(e>>>0>o>>>0){break l}f=w[c+2|0]|(w[c+1|0]<<8|w[c|0]<<16);c=e}v[j+8>>2]=m;v[j+44>>2]=k;v[j+36>>2]=i;v[j+32>>2]=n;v[j+40>>2]=f;v[j+28>>2]=h>>>2;v[j+24>>2]=c;r=0}if(r){break g}x:{y:{z:{A:{i=v[j+28>>2];switch(i|0){case 0:break y;case 2:break z;case 1:break A;default:break g}}c=v[j+32>>2];h=v[j+36>>2];if(B(c,h)>>>0<=B(g,15)>>>0){break x}break g}c=v[j+32>>2];h=v[j+36>>2];if(B(c,h)>>>0>B(g+1>>>1|0,255)>>>0){break g}break x}c=v[j+32>>2];h=v[j+36>>2];if(B(c,h)+7>>>3>>>0>g>>>0){break g}}if((c|0)<0){break g}f=v[j+44>>2];if((f|0)>(2147483647-c|0)){break g}v[a+72>>2]=1651078259;v[a+76>>2]=c;v[a+80>>2]=h;t[a+94|0]=1;v[a+28>>2]=c<<6;e=h<<6;v[a+24>>2]=e;h=h+7>>3;v[a+84>>2]=h;g=v[j+8>>2];v[a+36>>2]=f<<6;v[a+32>>2]=g<<6;m=v[j+40>>2];v[a+48>>2]=0;v[a+44>>2]=0-e>>1;v[a+40>>2]=(m>>2)+32&-64;e=v[b+32>>2];v[a+104>>2]=c+f;v[a+100>>2]=g;v[a+52>>2]=e;if(!(d&4194304)){if(fA(a,B(c,h))){break g}c=v[j+24>>2];m=v[p+36>>2];d=v[l+208>>2]>>>1&1;k=0;f=v[a+76>>2];B:{if(!f){break B}b=v[a+80>>2];if(!b){break B}g=v[a+84>>2];q=d?g:0-g|0;n=B(b,f);e=v[a+88>>2]+(d?0:B(g,f-1|0))|0;C:{D:{switch(i|0){case 0:a=m-c<<3;l=a>>>0>n>>>0?n:a;if(!l){break B}i=128;g=0;d=e;a=b;f=l;while(1){if(!((f^l)&7)){g=w[c|0];c=c+1|0}k=g<<24>>31&i|k;a=a-1|0;E:{if(!a){t[d|0]=k;k=0;a=b;e=e+q|0;d=e;h=128;break E}h=i>>>1|0;if(i>>>0>1){break E}t[d|0]=k;d=d+1|0;k=0;h=128}i=h;g=g<<1;f=f-1|0;if(f){continue}break};if((i|0)!=128){break C}break B;case 1:if(!n){break B}i=1;l=128;d=e;a=b;g=0;h=0;f=1;while(1){F:{G:{if(i){i=h;H:{while(1){I:{if(f){f=g;break I}i=0;f=0;h=g;if(h){break H}}g=f;h=i;if(c>>>0>=m>>>0){break H}h=w[c|0];g=h&15;f=0;i=0;o=c+1|0;c=o;if(h>>>0<16){continue}break}h=h>>>4|0;c=o;break G}k=k|l;f=1;break F}if(!f){break G}k=k|l;break F}f=0}a=a-1|0;J:{if(!a){t[d|0]=k;k=0;a=b;e=e+q|0;d=e;i=128;break J}i=l>>>1|0;if(l>>>0>1){break J}t[d|0]=k;d=d+1|0;k=0;i=128}l=i;i=(h|0)<2;h=h-1|0;n=n-1|0;if(n){continue}break};if((l|0)!=128){break C}break B;case 2:break D;default:break B}}if(!n){break B}g=1;h=128;d=e;a=b;f=0;i=1;while(1){K:{if(!g|c>>>0>=m>>>0){break K}L:{while(1){i=i^1;g=c+1|0;f=w[c|0];if(f){break L}c=g;if((m|0)!=(c|0)){continue}break}f=0;c=m;break K}c=g}k=(i?h:0)|k;a=a-1|0;M:{if(!a){t[d|0]=k;k=0;a=b;e=e+q|0;d=e;g=128;break M}g=h>>>1|0;if(h>>>0>1){break M}t[d|0]=k;d=d+1|0;k=0;g=128}h=g;g=(f|0)<2;f=f-1|0;n=n-1|0;if(n){continue}break}if((h|0)==128){break B}}t[d|0]=k}}Vd(p);break b}Vd(p)}if(d&16384){break a}f=v[l+416>>2];v[a+72>>2]=1869968492;v[a+108>>2]=0;c=f+(q<<4)|0;g=v[c+8>>2];c=v[c+12>>2];e=v[l+188>>2];h=v[l+104>>2];Fo(v[a+188>>2]);v[a+176>>2]=0;z=h_(a+160|0,h,e,c,g);if(z){break a}c=v[a+188>>2];g=v[c+24>>2];e=a+108|0;v[e>>2]=v[c+20>>2];v[e+4>>2]=g;v[e+16>>2]=v[c+36>>2];g=v[c+32>>2];v[e+8>>2]=v[c+28>>2];v[e+12>>2]=g;c=v[a+124>>2]&-6;v[a+124>>2]=c|4;if(x[b+14>>1]<=23){v[a+124>>2]=c|260}v[a+52>>2]=0;v[a+40>>2]=0;c=v[(f+(q<<4)|0)+4>>2];f=v[l+304>>2];g=v[l+300>>2];if((f|0)!=(g|0)){c=jd(c,g,f)}f=a;N:{if(t[l+324|0]&1){v[a+52>>2]=c;g=v[a+40>>2];break N}v[a+40>>2]=c;g=c;c=v[a+52>>2]}v[f+60>>2]=c;v[a+56>>2]=g;v[a+44>>2]=0;v[a+48>>2]=0;if(!(d&1)){d=v[b+20>>2];f=v[b+16>>2];b=a;if(u[a+110>>1]>=1){c=v[a+112>>2];g=0;while(1){C=c,D=Ac(v[c>>2],f),v[C>>2]=D;C=c,D=Ac(v[c+4>>2],d),v[C+4>>2]=D;c=c+8|0;g=g+1|0;if((g|0)>1]){continue}break}g=v[a+40>>2]}C=b,D=Ac(g,f),v[C+40>>2]=D;C=a,D=Ac(v[a+52>>2],d),v[C+52>>2]=D}Eo(e,j+8|0);b=v[j+8>>2];v[a+24>>2]=v[j+16>>2]-b;c=v[j+20>>2];d=v[j+12>>2];v[a+36>>2]=d;v[a+32>>2]=b;v[a+28>>2]=c-d}z=0}Qb=j+48|0;return z|0}function Fla(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=Qb-112|0;Qb=f;v[f+80>>2]=0;v[f+72>>2]=0;v[f+76>>2]=0;e=f- -64|0;v[e>>2]=0;v[e+4>>2]=0;v[f+56>>2]=0;v[f+60>>2]=0;j=Un(f+56|0,984808);v[299999]=0;g=a+8|0;e=g;e=v[v[e+12>>2]+((b>>>0)%y[e+8>>2]<<2)>>2];i=v[299999];v[299999]=0;a:{b:{c:{d:{if((i|0)!=1){e:{f:{if(!e){break f}while(1){if(!(v[e+12>>2]==(b|0)&v[e+16>>2]==(b|0))){e=v[e+8>>2];if(e){continue}break f}break}v[299999]=0;e=v[v[g+12>>2]+((b>>>0)%y[g+8>>2]<<2)>>2];i=v[299999];v[299999]=0;if((i|0)==1){break e}g:{if(e){while(1){if(v[e+12>>2]==(b|0)&v[e+16>>2]==(b|0)){break g}e=v[e+8>>2];if(e){continue}break}}v[299999]=0;e=S(1,24)|0;i=v[299999];v[299999]=0;if((i|0)==1){break e}v[e>>2]=0;v[e+4>>2]=0;v[e+20>>2]=0;v[e+16>>2]=b;v[e+12>>2]=b;v[e+8>>2]=0;v[299999]=0;Q(4759,g|0,e|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break e}}e=v[v[e+20>>2]+8>>2];if(!e){break f}while(1){g=v[e+8>>2];h:{if((g|0)==(b|0)){v[299999]=0;$(5e3,a|0,f+56|0,b|0,0);g=v[299999];v[299999]=0;if((g|0)!=1){break h}break d}v[299999]=0;$(5e3,a|0,f+56|0,g|0,1);g=v[299999];v[299999]=0;if((g|0)==1){break d}}e=v[e>>2];if(e){continue}break}}v[f+48>>2]=0;v[f+52>>2]=0;i:{j:{k:{l:{m:{n:{o:{p:{q:{if(d){v[299999]=0;b=v[j+24>>2];v[f+92>>2]=j;v[f+88>>2]=b;b=v[299999];v[299999]=0;if((b|0)==1){break q}e=v[f+92>>2];d=e;b=v[f+88>>2];v[f+48>>2]=b;v[f+52>>2]=e;e=b;if(e){if((f+56|0)!=(d|0)){break j}while(1){b=v[e+20>>2];k=(b|0)>(k|0)?b:k;e=v[e>>2];if(e){continue}break}}v[f+48>>2]=0;v[299999]=0;g=Z(4658,f+24|0,984868,0,k|0)|0;b=v[299999];v[299999]=0;r:{s:{if((b|0)!=1){v[299999]=0;b=v[j+24>>2];v[f+92>>2]=j;v[f+88>>2]=b;b=v[299999];v[299999]=0;if((b|0)==1){break r}e=v[f+92>>2];d=e;b=v[f+88>>2];v[f+48>>2]=b;v[f+52>>2]=e;e=b;if(!e){break o}i=(f+56|0)==(d|0);while(1){if(!i){v[299999]=0;V(4468,f+48|0,f+56|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}break i}d=v[e+20>>2];if(!((d|0)>=v[f+40>>2]&(d|0)<=v[f+44>>2])){v[299999]=0;a=aa(4369,f+88|0,227445,271729,619,308745,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break i}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}e=P()|0;O()|0;qc(a);fd(g);break c}v[299999]=0;l=v[f+32>>2];h=v[f+28>>2];b=S(1,12)|0;m=v[299999];v[299999]=0;if((m|0)==1){break s}v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=v[e+16>>2];v[299999]=0;Le(h+(d-l<<4)|0,b);b=v[299999];v[299999]=0;if((b|0)==1){break s}e=v[e>>2];v[f+48>>2]=e;if(e){continue}break}break o}e=P()|0;O()|0;break c}e=P()|0;O()|0;fd(g);break c}e=P()|0;O()|0;fd(g);break c}v[299999]=0;b=v[j+24>>2];v[f+92>>2]=j;v[f+88>>2]=b;b=v[299999];v[299999]=0;if((b|0)==1){break p}b=v[f+92>>2];e=b;d=v[f+88>>2];v[f+48>>2]=d;v[f+52>>2]=e;b=d;if(!b){break n}g=a+36|0;k=(f+56|0)==(e|0);while(1){if(!k){v[299999]=0;V(4468,f+48|0,f+56|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}e=P()|0;O()|0;break c}a=v[b+16>>2];v[299999]=0;v[f+88>>2]=0;e=v[v[g+12>>2]+((a>>>0)%y[g+8>>2]<<2)>>2];d=v[299999];v[299999]=0;t:{u:{v:{w:{if((d|0)!=1){x:{if(!e){break w}while(1){if(!((a|0)==v[e+12>>2]&(a|0)==v[e+16>>2])){e=v[e+8>>2];if(e){continue}break w}break}if(!v[e+20>>2]|v[a+4>>2]<1){break w}v[299999]=0;Q(4336,f+88|0,a|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break x}e=v[f+88>>2];if(!e){break v}if(v[e+4>>2]>0){break w}v[299999]=0;Q(4336,f+88|0,0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break w}}}e=P()|0;O()|0;ec(f+88|0);break c}e=v[f+88>>2];if(!e){break v}v[299999]=0;a=S(1,12)|0;d=v[299999];v[299999]=0;if((d|0)==1){break u}v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;d=a;e=v[f+88>>2];if(e){v[299999]=0;v[e+4>>2]=v[e+4>>2]+1;e=v[299999];v[299999]=0;if((e|0)==1){break u}e=v[f+88>>2]}else{e=0}v[d+8>>2]=e;v[299999]=0;Le(c,a);a=v[299999];v[299999]=0;if((a|0)==1){break u}e=v[f+88>>2]}v[f+88>>2]=0;if(!e){break t}v[299999]=0;a=v[e+4>>2]-1|0;v[e+4>>2]=a;d=v[299999];v[299999]=0;if((d|0)!=1){if(a){break t}v[299999]=0;R(4338,e|0);a=v[299999];v[299999]=0;if((a|0)!=1){break t}}break a}e=P()|0;O()|0;ec(f+88|0);break c}if(!b){break n}b=v[b>>2];v[f+48>>2]=b;if(b){continue}break}break n}e=P()|0;O()|0;break c}e=P()|0;O()|0;break c}if((k|0)>=0){l=a+36|0;d=0;while(1){y:{z:{A:{a=v[f+40>>2]>(d|0);if(a){break A}e=v[f+44>>2]>=(d|0);if(!e){break A}i=v[f+28>>2]+(d-v[f+32>>2]<<4)|0;b=v[i+8>>2];v[f+52>>2]=i;v[f+48>>2]=b;if(!b){break y}if(a){break l}if(e){break z}break l}v[299999]=0;a=aa(4369,f+88|0,227445,271729,619,308745,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break m}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}e=P()|0;O()|0;qc(a);fd(g);break c}while(1){v[f+8>>2]=b;a=v[f+32>>2];e=v[f+28>>2];v[f+12>>2]=i;a=e+(d-a<<4)|0;if((a|0)!=(i|0)){v[299999]=0;V(4468,f+8|0,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}break k}a=v[b+8>>2];v[299999]=0;v[f+16>>2]=0;e=v[v[l+12>>2]+((a>>>0)%y[l+8>>2]<<2)>>2];h=v[299999];v[299999]=0;B:{C:{D:{E:{if((h|0)!=1){F:{if(!e){break E}while(1){if(!((a|0)==v[e+12>>2]&(a|0)==v[e+16>>2])){e=v[e+8>>2];if(e){continue}break E}break}if(!v[e+20>>2]|v[a+4>>2]<1){break E}v[299999]=0;Q(4336,f+16|0,a|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break F}e=v[f+16>>2];if(!e){break D}if(v[e+4>>2]>0){break E}v[299999]=0;Q(4336,f+16|0,0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break E}}}e=P()|0;O()|0;ec(f+16|0);fd(g);break c}e=v[f+16>>2];if(!e){break D}v[299999]=0;a=S(1,12)|0;e=v[299999];v[299999]=0;if((e|0)==1){break C}v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;e=a;h=v[f+16>>2];if(h){v[299999]=0;v[h+4>>2]=v[h+4>>2]+1;h=v[299999];v[299999]=0;if((h|0)==1){break C}h=v[f+16>>2]}else{h=0}v[e+8>>2]=h;v[299999]=0;Le(c,a);a=v[299999];v[299999]=0;if((a|0)==1){break C}e=v[f+16>>2]}v[f+16>>2]=0;if(!e){break B}v[299999]=0;a=v[e+4>>2]-1|0;v[e+4>>2]=a;h=v[299999];v[299999]=0;if((h|0)!=1){if(a){break B}v[299999]=0;R(4338,e|0);a=v[299999];v[299999]=0;if((a|0)!=1){break B}}break a}e=P()|0;O()|0;ec(f+16|0);fd(g);break c}b=v[b>>2];v[f+48>>2]=b;if(!b){break y}if(v[f+40>>2]>(d|0)){break l}if(v[f+44>>2]>=(d|0)){continue}break}break l}a=(d|0)==(k|0);d=d+1|0;if(!a){continue}break}}fd(g)}id(j);Qb=f+112|0;return}e=P()|0;O()|0;fd(g);break c}v[299999]=0;a=aa(4369,f+88|0,227445,271729,619,308745,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break k}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}e=P()|0;O()|0;qc(a);fd(g);break c}e=P()|0;O()|0;fd(g);break c}v[299999]=0;v[f+48>>2]=e;V(4468,f+48|0,f+56|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}e=P()|0;O()|0;break c}e=P()|0;O()|0;fd(g);break c}e=P()|0;O()|0;break c}e=P()|0;O()|0;break c}e=P()|0;O()|0}id(j);T(e|0)}L()}W(0)|0;O()|0;lc();L()}function zTa(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,j=0,k=0,l=0,m=0;i=Qb-288|0;Qb=i;b=v[b>>2];l=v[b+44>>2];v[i+232>>2]=v[b+40>>2];v[i+236>>2]=l;l=v[b+36>>2];v[i+224>>2]=v[b+32>>2];v[i+228>>2]=l;l=v[b+28>>2];v[i+216>>2]=v[b+24>>2];v[i+220>>2]=l;l=v[b+20>>2];v[i+208>>2]=v[b+16>>2];v[i+212>>2]=l;l=v[b+12>>2];v[i+200>>2]=v[b+8>>2];v[i+204>>2]=l;l=v[b+4>>2];v[i+192>>2]=v[b>>2];v[i+196>>2]=l;b=v[a+44>>2];l=v[b+44>>2];v[i+184>>2]=v[b+40>>2];v[i+188>>2]=l;l=v[b+36>>2];v[i+176>>2]=v[b+32>>2];v[i+180>>2]=l;l=v[b+28>>2];v[i+168>>2]=v[b+24>>2];v[i+172>>2]=l;l=v[b+20>>2];v[i+160>>2]=v[b+16>>2];v[i+164>>2]=l;l=v[b+12>>2];v[i+152>>2]=v[b+8>>2];v[i+156>>2]=l;l=v[b+4>>2];v[i+144>>2]=v[b>>2];v[i+148>>2]=l;fn(i+144|0);b=v[i+188>>2];v[i+280>>2]=v[i+184>>2];v[i+284>>2]=b;b=v[i+180>>2];v[i+272>>2]=v[i+176>>2];v[i+276>>2]=b;b=v[i+172>>2];v[i+264>>2]=v[i+168>>2];v[i+268>>2]=b;b=v[i+164>>2];v[i+256>>2]=v[i+160>>2];v[i+260>>2]=b;b=v[i+156>>2];v[i+248>>2]=v[i+152>>2];v[i+252>>2]=b;b=v[i+148>>2];v[i+240>>2]=v[i+144>>2];v[i+244>>2]=b;l=i+192|0;b=fm(i+240|0,l);m=v[b+44>>2];v[i+232>>2]=v[b+40>>2];v[i+236>>2]=m;m=v[b+36>>2];v[i+224>>2]=v[b+32>>2];v[i+228>>2]=m;m=v[b+28>>2];v[i+216>>2]=v[b+24>>2];v[i+220>>2]=m;m=v[b+20>>2];v[i+208>>2]=v[b+16>>2];v[i+212>>2]=m;m=v[b+12>>2];v[i+200>>2]=v[b+8>>2];v[i+204>>2]=m;m=v[b+4>>2];v[i+192>>2]=v[b>>2];v[i+196>>2]=m;fn(l);v[i+136>>2]=0;v[i+140>>2]=0;v[i+240>>2]=l;v[i+128>>2]=0;v[i+120>>2]=0;v[i+124>>2]=0;v[i+112>>2]=0;v[i+116>>2]=0;a:{if((f|0)<=-1){v[i+120>>2]=d;v[i+124>>2]=e;v[i+128>>2]=f;b=B(e-1|0,f)+c|0;v[i+112>>2]=b;v[i+116>>2]=b+B(1-e|0,f);break a}v[i+128>>2]=f;v[i+124>>2]=e;v[i+120>>2]=d;v[i+112>>2]=c;v[i+116>>2]=c}b:{c:{d:{e:{f:{g:{switch(g-1|0){case 0:v[i+104>>2]=i+112;b=0;v[i+36>>2]=0;v[i+24>>2]=0;v[i+12>>2]=d;c=d<<1;v[i+16>>2]=c;v[i+28>>2]=e;v[i+32>>2]=1073741823%(e>>>0)^1073741823;v[i+20>>2]=1073741823%(c>>>0)^1073741823;v[i>>2]=i+104;v[i+96>>2]=128;v[i+100>>2]=128;v[i+88>>2]=0;v[i+92>>2]=1071644672;v[i+80>>2]=0;v[i+84>>2]=1071644672;v[i+72>>2]=0;v[i+68>>2]=i+240;v[i+64>>2]=i;v[i+48>>2]=a+1564;v[i+56>>2]=i- -64;v[i+52>>2]=i+136;j=A[a+2824>>3]*+(h>>>0)/255;if(D(j+-1)<1.1920928955078125e-7){break d}c=a+1760|0;while(1){e=c+(b<<2)|0;k=F(j*(+(b|0)/255),1)*255+.5;h:{if(k<4294967296&k>=0){d=~~k>>>0;break h}d=0}v[e>>2]=d;d=b|1;e=c+(d<<2)|0;k=F(j*(+(d|0)/255),1)*255+.5;i:{if(k<4294967296&k>=0){d=~~k>>>0;break i}d=0}v[e>>2]=d;b=b+2|0;if((b|0)!=256){continue}break};b=0;v[299999]=0;V(2394,a|0,i+48|0);c=v[299999];v[299999]=0;if((c|0)==1){break c}a=a+1760|0;while(1){d=a+(b<<2)|0;j=+(b|0)/255*255+.5;j:{if(j<4294967296&j>=0){c=~~j>>>0;break j}c=0}v[d>>2]=c;c=b|1;d=a+(c<<2)|0;j=+(c|0)/255*255+.5;k:{if(j<4294967296&j>=0){c=~~j>>>0;break k}c=0}v[d>>2]=c;b=b+2|0;if((b|0)!=256){continue}break};break b;case 1:v[i+104>>2]=i+112;b=0;v[i+36>>2]=0;v[i+20>>2]=0;v[i+24>>2]=e;c=e<<1;v[i+28>>2]=c;v[i+12>>2]=d;v[i+16>>2]=1073741823%(d>>>0)^1073741823;v[i+32>>2]=1073741823%(c>>>0)^1073741823;v[i>>2]=i+104;v[i+96>>2]=128;v[i+100>>2]=128;v[i+88>>2]=0;v[i+92>>2]=1071644672;v[i+80>>2]=0;v[i+84>>2]=1071644672;v[i+72>>2]=0;v[i+68>>2]=i+240;v[i+64>>2]=i;v[i+48>>2]=a+1564;v[i+56>>2]=i- -64;v[i+52>>2]=i+136;j=A[a+2824>>3]*+(h>>>0)/255;if(D(j+-1)<1.1920928955078125e-7){break e}c=a+1760|0;while(1){e=c+(b<<2)|0;k=F(j*(+(b|0)/255),1)*255+.5;l:{if(k<4294967296&k>=0){d=~~k>>>0;break l}d=0}v[e>>2]=d;d=b|1;e=c+(d<<2)|0;k=F(j*(+(d|0)/255),1)*255+.5;m:{if(k<4294967296&k>=0){d=~~k>>>0;break m}d=0}v[e>>2]=d;b=b+2|0;if((b|0)!=256){continue}break};b=0;v[299999]=0;V(2395,a|0,i+48|0);c=v[299999];v[299999]=0;if((c|0)==1){break c}a=a+1760|0;while(1){d=a+(b<<2)|0;j=+(b|0)/255*255+.5;n:{if(j<4294967296&j>=0){c=~~j>>>0;break n}c=0}v[d>>2]=c;c=b|1;d=a+(c<<2)|0;j=+(c|0)/255*255+.5;o:{if(j<4294967296&j>=0){c=~~j>>>0;break o}c=0}v[d>>2]=c;b=b+2|0;if((b|0)!=256){continue}break};break b;case 2:v[i+104>>2]=i+112;b=0;v[i+40>>2]=0;v[i+24>>2]=0;v[i+28>>2]=e;c=e<<1;v[i+32>>2]=c;v[i+12>>2]=d;d=d<<1;v[i+16>>2]=d;v[i+36>>2]=1073741823%(c>>>0)^1073741823;v[i+20>>2]=1073741823%(d>>>0)^1073741823;v[i>>2]=i+104;v[i+96>>2]=128;v[i+100>>2]=128;v[i+88>>2]=0;v[i+92>>2]=1071644672;v[i+80>>2]=0;v[i+84>>2]=1071644672;v[i+72>>2]=0;v[i+68>>2]=i+240;v[i+64>>2]=i;v[i+48>>2]=a+1564;v[i+56>>2]=i- -64;v[i+52>>2]=i+136;j=A[a+2824>>3]*+(h>>>0)/255;if(D(j+-1)<1.1920928955078125e-7){break f}c=a+1760|0;while(1){e=c+(b<<2)|0;k=F(j*(+(b|0)/255),1)*255+.5;p:{if(k<4294967296&k>=0){d=~~k>>>0;break p}d=0}v[e>>2]=d;d=b|1;e=c+(d<<2)|0;k=F(j*(+(d|0)/255),1)*255+.5;q:{if(k<4294967296&k>=0){d=~~k>>>0;break q}d=0}v[e>>2]=d;b=b+2|0;if((b|0)!=256){continue}break};b=0;v[299999]=0;V(2396,a|0,i+48|0);c=v[299999];v[299999]=0;if((c|0)==1){break c}a=a+1760|0;while(1){d=a+(b<<2)|0;j=+(b|0)/255*255+.5;r:{if(j<4294967296&j>=0){c=~~j>>>0;break r}c=0}v[d>>2]=c;c=b|1;d=a+(c<<2)|0;j=+(c|0)/255*255+.5;s:{if(j<4294967296&j>=0){c=~~j>>>0;break s}c=0}v[d>>2]=c;b=b+2|0;if((b|0)!=256){continue}break};break b;default:break g}}v[i+104>>2]=i+112;b=0;v[i+96>>2]=0;v[i+84>>2]=0;v[i+88>>2]=e;v[i+92>>2]=1073741823%(e>>>0)^1073741823;v[i+76>>2]=d;v[i+80>>2]=1073741823%(d>>>0)^1073741823;v[i+64>>2]=i+104;v[i+32>>2]=128;v[i+36>>2]=128;v[i+24>>2]=0;v[i+28>>2]=1071644672;v[i+16>>2]=0;v[i+20>>2]=1071644672;v[i+8>>2]=0;v[i+4>>2]=i+240;v[i>>2]=i- -64;v[i+48>>2]=a+1564;v[i+56>>2]=i;v[i+52>>2]=i+136;j=A[a+2824>>3]*+(h>>>0)/255;t:{if(!(D(j+-1)<1.1920928955078125e-7)){c=a+1760|0;while(1){e=c+(b<<2)|0;k=F(j*(+(b|0)/255),1)*255+.5;u:{if(k<4294967296&k>=0){d=~~k>>>0;break u}d=0}v[e>>2]=d;d=b|1;e=c+(d<<2)|0;k=F(j*(+(d|0)/255),1)*255+.5;v:{if(k<4294967296&k>=0){d=~~k>>>0;break v}d=0}v[e>>2]=d;b=b+2|0;if((b|0)!=256){continue}break}b=0;v[299999]=0;V(2393,a|0,i+48|0);c=v[299999];v[299999]=0;if((c|0)==1){break t}a=a+1760|0;while(1){d=a+(b<<2)|0;j=+(b|0)/255*255+.5;w:{if(j<4294967296&j>=0){c=~~j>>>0;break w}c=0}v[d>>2]=c;c=b|1;d=a+(c<<2)|0;j=+(c|0)/255*255+.5;x:{if(j<4294967296&j>=0){c=~~j>>>0;break x}c=0}v[d>>2]=c;b=b+2|0;if((b|0)!=256){continue}break}break b}v[299999]=0;V(2393,a|0,i+48|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}}break c}v[299999]=0;V(2396,a|0,i+48|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}break c}v[299999]=0;V(2395,a|0,i+48|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}break c}v[299999]=0;V(2394,a|0,i+48|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}}a=P()|0;O()|0;b=v[i+136>>2];if(b){dc(b)}T(a|0);L()}a=v[i+136>>2];if(a){dc(a)}Qb=i+288|0}function yTa(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,j=0,k=0,l=0,m=0;i=Qb-288|0;Qb=i;b=v[b>>2];l=v[b+44>>2];v[i+232>>2]=v[b+40>>2];v[i+236>>2]=l;l=v[b+36>>2];v[i+224>>2]=v[b+32>>2];v[i+228>>2]=l;l=v[b+28>>2];v[i+216>>2]=v[b+24>>2];v[i+220>>2]=l;l=v[b+20>>2];v[i+208>>2]=v[b+16>>2];v[i+212>>2]=l;l=v[b+12>>2];v[i+200>>2]=v[b+8>>2];v[i+204>>2]=l;l=v[b+4>>2];v[i+192>>2]=v[b>>2];v[i+196>>2]=l;b=v[a+44>>2];l=v[b+44>>2];v[i+184>>2]=v[b+40>>2];v[i+188>>2]=l;l=v[b+36>>2];v[i+176>>2]=v[b+32>>2];v[i+180>>2]=l;l=v[b+28>>2];v[i+168>>2]=v[b+24>>2];v[i+172>>2]=l;l=v[b+20>>2];v[i+160>>2]=v[b+16>>2];v[i+164>>2]=l;l=v[b+12>>2];v[i+152>>2]=v[b+8>>2];v[i+156>>2]=l;l=v[b+4>>2];v[i+144>>2]=v[b>>2];v[i+148>>2]=l;fn(i+144|0);b=v[i+188>>2];v[i+280>>2]=v[i+184>>2];v[i+284>>2]=b;b=v[i+180>>2];v[i+272>>2]=v[i+176>>2];v[i+276>>2]=b;b=v[i+172>>2];v[i+264>>2]=v[i+168>>2];v[i+268>>2]=b;b=v[i+164>>2];v[i+256>>2]=v[i+160>>2];v[i+260>>2]=b;b=v[i+156>>2];v[i+248>>2]=v[i+152>>2];v[i+252>>2]=b;b=v[i+148>>2];v[i+240>>2]=v[i+144>>2];v[i+244>>2]=b;l=i+192|0;b=fm(i+240|0,l);m=v[b+44>>2];v[i+232>>2]=v[b+40>>2];v[i+236>>2]=m;m=v[b+36>>2];v[i+224>>2]=v[b+32>>2];v[i+228>>2]=m;m=v[b+28>>2];v[i+216>>2]=v[b+24>>2];v[i+220>>2]=m;m=v[b+20>>2];v[i+208>>2]=v[b+16>>2];v[i+212>>2]=m;m=v[b+12>>2];v[i+200>>2]=v[b+8>>2];v[i+204>>2]=m;m=v[b+4>>2];v[i+192>>2]=v[b>>2];v[i+196>>2]=m;fn(l);v[i+136>>2]=0;v[i+140>>2]=0;v[i+240>>2]=l;v[i+128>>2]=0;v[i+120>>2]=0;v[i+124>>2]=0;v[i+112>>2]=0;v[i+116>>2]=0;a:{if((f|0)<=-1){v[i+120>>2]=d;v[i+124>>2]=e;v[i+128>>2]=f;b=B(e-1|0,f)+c|0;v[i+112>>2]=b;v[i+116>>2]=b+B(1-e|0,f);break a}v[i+128>>2]=f;v[i+124>>2]=e;v[i+120>>2]=d;v[i+112>>2]=c;v[i+116>>2]=c}b:{c:{d:{e:{f:{g:{switch(g-1|0){case 0:v[i+104>>2]=i+112;b=0;v[i+36>>2]=0;v[i+24>>2]=0;v[i+12>>2]=d;c=d<<1;v[i+16>>2]=c;v[i+28>>2]=e;v[i+32>>2]=1073741823%(e>>>0)^1073741823;v[i+20>>2]=1073741823%(c>>>0)^1073741823;v[i>>2]=i+104;v[i+96>>2]=128;v[i+100>>2]=128;v[i+88>>2]=0;v[i+92>>2]=1071644672;v[i+80>>2]=0;v[i+84>>2]=1071644672;v[i+72>>2]=0;v[i+68>>2]=i+240;v[i+64>>2]=i;v[i+48>>2]=a+1564;v[i+56>>2]=i- -64;v[i+52>>2]=i+136;j=A[a+2824>>3]*+(h>>>0)/255;if(D(j+-1)<1.1920928955078125e-7){break d}c=a+1760|0;while(1){e=c+(b<<2)|0;k=F(j*(+(b|0)/255),1)*255+.5;h:{if(k<4294967296&k>=0){d=~~k>>>0;break h}d=0}v[e>>2]=d;d=b|1;e=c+(d<<2)|0;k=F(j*(+(d|0)/255),1)*255+.5;i:{if(k<4294967296&k>=0){d=~~k>>>0;break i}d=0}v[e>>2]=d;b=b+2|0;if((b|0)!=256){continue}break};b=0;v[299999]=0;V(2397,a|0,i+48|0);c=v[299999];v[299999]=0;if((c|0)==1){break c}a=a+1760|0;while(1){d=a+(b<<2)|0;j=+(b|0)/255*255+.5;j:{if(j<4294967296&j>=0){c=~~j>>>0;break j}c=0}v[d>>2]=c;c=b|1;d=a+(c<<2)|0;j=+(c|0)/255*255+.5;k:{if(j<4294967296&j>=0){c=~~j>>>0;break k}c=0}v[d>>2]=c;b=b+2|0;if((b|0)!=256){continue}break};break b;case 1:v[i+104>>2]=i+112;b=0;v[i+36>>2]=0;v[i+20>>2]=0;v[i+24>>2]=e;c=e<<1;v[i+28>>2]=c;v[i+12>>2]=d;v[i+16>>2]=1073741823%(d>>>0)^1073741823;v[i+32>>2]=1073741823%(c>>>0)^1073741823;v[i>>2]=i+104;v[i+96>>2]=128;v[i+100>>2]=128;v[i+88>>2]=0;v[i+92>>2]=1071644672;v[i+80>>2]=0;v[i+84>>2]=1071644672;v[i+72>>2]=0;v[i+68>>2]=i+240;v[i+64>>2]=i;v[i+48>>2]=a+1564;v[i+56>>2]=i- -64;v[i+52>>2]=i+136;j=A[a+2824>>3]*+(h>>>0)/255;if(D(j+-1)<1.1920928955078125e-7){break e}c=a+1760|0;while(1){e=c+(b<<2)|0;k=F(j*(+(b|0)/255),1)*255+.5;l:{if(k<4294967296&k>=0){d=~~k>>>0;break l}d=0}v[e>>2]=d;d=b|1;e=c+(d<<2)|0;k=F(j*(+(d|0)/255),1)*255+.5;m:{if(k<4294967296&k>=0){d=~~k>>>0;break m}d=0}v[e>>2]=d;b=b+2|0;if((b|0)!=256){continue}break};b=0;v[299999]=0;V(2398,a|0,i+48|0);c=v[299999];v[299999]=0;if((c|0)==1){break c}a=a+1760|0;while(1){d=a+(b<<2)|0;j=+(b|0)/255*255+.5;n:{if(j<4294967296&j>=0){c=~~j>>>0;break n}c=0}v[d>>2]=c;c=b|1;d=a+(c<<2)|0;j=+(c|0)/255*255+.5;o:{if(j<4294967296&j>=0){c=~~j>>>0;break o}c=0}v[d>>2]=c;b=b+2|0;if((b|0)!=256){continue}break};break b;case 2:v[i+104>>2]=i+112;b=0;v[i+40>>2]=0;v[i+24>>2]=0;v[i+28>>2]=e;c=e<<1;v[i+32>>2]=c;v[i+12>>2]=d;d=d<<1;v[i+16>>2]=d;v[i+36>>2]=1073741823%(c>>>0)^1073741823;v[i+20>>2]=1073741823%(d>>>0)^1073741823;v[i>>2]=i+104;v[i+96>>2]=128;v[i+100>>2]=128;v[i+88>>2]=0;v[i+92>>2]=1071644672;v[i+80>>2]=0;v[i+84>>2]=1071644672;v[i+72>>2]=0;v[i+68>>2]=i+240;v[i+64>>2]=i;v[i+48>>2]=a+1564;v[i+56>>2]=i- -64;v[i+52>>2]=i+136;j=A[a+2824>>3]*+(h>>>0)/255;if(D(j+-1)<1.1920928955078125e-7){break f}c=a+1760|0;while(1){e=c+(b<<2)|0;k=F(j*(+(b|0)/255),1)*255+.5;p:{if(k<4294967296&k>=0){d=~~k>>>0;break p}d=0}v[e>>2]=d;d=b|1;e=c+(d<<2)|0;k=F(j*(+(d|0)/255),1)*255+.5;q:{if(k<4294967296&k>=0){d=~~k>>>0;break q}d=0}v[e>>2]=d;b=b+2|0;if((b|0)!=256){continue}break};b=0;v[299999]=0;V(2399,a|0,i+48|0);c=v[299999];v[299999]=0;if((c|0)==1){break c}a=a+1760|0;while(1){d=a+(b<<2)|0;j=+(b|0)/255*255+.5;r:{if(j<4294967296&j>=0){c=~~j>>>0;break r}c=0}v[d>>2]=c;c=b|1;d=a+(c<<2)|0;j=+(c|0)/255*255+.5;s:{if(j<4294967296&j>=0){c=~~j>>>0;break s}c=0}v[d>>2]=c;b=b+2|0;if((b|0)!=256){continue}break};break b;default:break g}}v[i+104>>2]=i+112;b=0;v[i+96>>2]=0;v[i+84>>2]=0;v[i+88>>2]=e;v[i+92>>2]=1073741823%(e>>>0)^1073741823;v[i+76>>2]=d;v[i+80>>2]=1073741823%(d>>>0)^1073741823;v[i+64>>2]=i+104;v[i+32>>2]=128;v[i+36>>2]=128;v[i+24>>2]=0;v[i+28>>2]=1071644672;v[i+16>>2]=0;v[i+20>>2]=1071644672;v[i+8>>2]=0;v[i+4>>2]=i+240;v[i>>2]=i- -64;v[i+48>>2]=a+1564;v[i+56>>2]=i;v[i+52>>2]=i+136;j=A[a+2824>>3]*+(h>>>0)/255;t:{if(!(D(j+-1)<1.1920928955078125e-7)){c=a+1760|0;while(1){e=c+(b<<2)|0;k=F(j*(+(b|0)/255),1)*255+.5;u:{if(k<4294967296&k>=0){d=~~k>>>0;break u}d=0}v[e>>2]=d;d=b|1;e=c+(d<<2)|0;k=F(j*(+(d|0)/255),1)*255+.5;v:{if(k<4294967296&k>=0){d=~~k>>>0;break v}d=0}v[e>>2]=d;b=b+2|0;if((b|0)!=256){continue}break}b=0;v[299999]=0;V(2400,a|0,i+48|0);c=v[299999];v[299999]=0;if((c|0)==1){break t}a=a+1760|0;while(1){d=a+(b<<2)|0;j=+(b|0)/255*255+.5;w:{if(j<4294967296&j>=0){c=~~j>>>0;break w}c=0}v[d>>2]=c;c=b|1;d=a+(c<<2)|0;j=+(c|0)/255*255+.5;x:{if(j<4294967296&j>=0){c=~~j>>>0;break x}c=0}v[d>>2]=c;b=b+2|0;if((b|0)!=256){continue}break}break b}v[299999]=0;V(2400,a|0,i+48|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}}break c}v[299999]=0;V(2399,a|0,i+48|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}break c}v[299999]=0;V(2398,a|0,i+48|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}break c}v[299999]=0;V(2397,a|0,i+48|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}}a=P()|0;O()|0;b=v[i+136>>2];if(b){dc(b)}T(a|0);L()}a=v[i+136>>2];if(a){dc(a)}Qb=i+288|0}function fqa(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;j=Qb-32|0;Qb=j;d=v[a+20>>2];a:{b:{c:{d:{e:{if(v[a+16>>2]){g=a+12|0;v[j+28>>2]=g;v[j+24>>2]=d;if(!d){break c}g=v[v[d+8>>2]+8>>2]!=0;break e}g=1;if(!d){break d}}while(1){if(!(!v[v[d+8>>2]+8>>2]^g)){b=vc(j,239155,241263,407,226393,0);v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}break a}d=v[d>>2];if(d){continue}break}}e=Qb+-64|0;Qb=e;h=g;i=v[b>>2];Ql(i,g?129:1);Qt(i,v[a+16>>2]);f:{g:{h:{i:{j:{k:{l:{m:{n:{if(!v[a+16>>2]){break n}o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{g=v[a+20>>2];z:{if(!g){break z}d=g;while(1){f=((w[v[d+8>>2]+52|0]&63)==3)+f|0;d=v[d>>2];if(d){continue}break}if(f>>>0>=2){v[299999]=0;b=aa(4369,e+40|0,274950,241263,436,226318,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break h}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break k}break a}if(!h|!g){break z}while(1){d=0;f=v[g+8>>2];if(f){v[299999]=0;v[f+4>>2]=v[f+4>>2]+1;d=v[299999];v[299999]=0;if((d|0)==1){break h}d=v[g+8>>2]}v[e+8>>2]=d;f=v[d+8>>2];if(!f){v[299999]=0;a=aa(4369,e+40|0,239155,241263,450,226318,0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break k}d=P()|0;O()|0;qc(a);break x}d=P()|0;O()|0;break x}v[299999]=0;V(4556,i|0,f|0);f=v[299999];v[299999]=0;if((f|0)==1){break y}v[299999]=0;f=v[d+4>>2]-1|0;v[d+4>>2]=f;k=v[299999];v[299999]=0;if((k|0)==1){break g}if(!f){v[299999]=0;R(4338,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break g}}g=v[g>>2];if(g){continue}break}}d=0;g=v[b>>2];if(g){v[299999]=0;v[g+4>>2]=v[g+4>>2]+1;g=v[299999];v[299999]=0;if((g|0)==1){break h}d=v[b>>2]}v[299999]=0;v[e+24>>2]=d;U(4557,e+32|0,e+24|0,50);b=v[299999];v[299999]=0;if((b|0)==1){break w}b=v[e+24>>2];v[e+24>>2]=0;A:{if(!b){break A}v[299999]=0;g=v[b+4>>2]-1|0;v[b+4>>2]=g;d=v[299999];v[299999]=0;if((d|0)==1){break g}if(g){break A}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break g}}f=v[a+20>>2];if(!f){break o}g=v[e+32>>2];while(1){d=0;b=v[f+8>>2];if(b){v[299999]=0;v[b+4>>2]=v[b+4>>2]+1;b=v[299999];v[299999]=0;if((b|0)==1){break t}d=v[f+8>>2]}v[e+40>>2]=d;b=v[d+12>>2];v[299999]=0;V(4558,g|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break v}v[299999]=0;b=v[d+4>>2]-1|0;v[d+4>>2]=b;i=v[299999];v[299999]=0;if((i|0)==1){break g}if(!b){v[299999]=0;R(4338,d|0);b=v[299999];v[299999]=0;if((b|0)==1){break g}}f=v[f>>2];if(f){continue}break}f=v[a+20>>2];if(!f){break o}c=h^1|c;break u}d=P()|0;O()|0}ec(e+8|0);T(d|0);L()}a=P()|0;O()|0;ec(e+24|0);T(a|0);L()}d=P()|0;O()|0;ec(e+40|0);break i}B:{while(1){d=0;b=v[f+8>>2];if(b){v[299999]=0;v[b+4>>2]=v[b+4>>2]+1;b=v[299999];v[299999]=0;if((b|0)==1){break r}d=v[f+8>>2]}v[e>>2]=d;C:{D:{if(!c){E:{b=d+20|0;h=v[b>>2];if(!(!h|!v[h+8>>2])){v[299999]=0;b=Y(4541,b|0,d+36|0,-1)|0;h=v[299999];v[299999]=0;if((h|0)==1){break s}if(b){break E}}t[d+52|0]=w[d+52|0]&127;break D}t[d+52|0]=w[d+52|0]|128;break D}v[e+40>>2]=0;v[e+44>>2]=v[282402];b=v[d+20>>2];F:{if(!b){v[e+8>>2]=0;break F}h=v[v[b>>2]+28>>2];v[299999]=0;U(h|0,e+8|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)==1){break C}}v[299999]=0;Q(4344,e+40|0,e+8|0)|0;b=v[299999];v[299999]=0;G:{if((b|0)!=1){b=v[e+8>>2];v[e+8>>2]=0;if(!b){break G}v[299999]=0;h=v[b+4>>2]-1|0;v[b+4>>2]=h;i=v[299999];v[299999]=0;if((i|0)!=1){if(h){break G}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break G}}break g}d=P()|0;O()|0;ec(e+8|0);break q}b=v[e+40>>2];v[e+44>>2]=v[(b?b+12|0:1129608)>>2];H:{if(b){break H}I:{b=d+28|0;h=v[b>>2];if(!(!h|!v[h+8>>2])){v[299999]=0;b=Y(4541,b|0,e+40|0,-1)|0;h=v[299999];v[299999]=0;if((h|0)==1){break B}if(b){break I}}t[d+52|0]=w[d+52|0]&127;break H}t[d+52|0]=w[d+52|0]|128}ec(e+40|0)}J:{K:{b=d+44|0;h=v[b>>2];if(!h|!v[h+8>>2]){break K}v[299999]=0;b=Y(4541,b|0,d+36|0,-1)|0;h=v[299999];v[299999]=0;if((h|0)==1){break s}if(!b){break K}b=w[d+52|0]|64;t[d+52|0]=b;break J}b=w[d+52|0]&-65;t[d+52|0]=b}v[299999]=0;V(4559,g|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break s}v[299999]=0;b=v[d+4>>2]-1|0;v[d+4>>2]=b;h=v[299999];v[299999]=0;if((h|0)==1){break g}if(!b){v[299999]=0;R(4338,d|0);b=v[299999];v[299999]=0;if((b|0)==1){break g}}f=v[f>>2];if(!f){break p}continue}break}d=P()|0;O()|0;break q}d=P()|0;O()|0;ec(e+40|0);ec(e);break i}d=P()|0;O()|0;break i}d=P()|0;O()|0;ec(e);break i}d=P()|0;O()|0;break i}ec(e+40|0);ec(e);break i}f=v[a+20>>2];if(!f){break o}while(1){d=0;a=v[f+8>>2];if(a){v[299999]=0;v[a+4>>2]=v[a+4>>2]+1;a=v[299999];v[299999]=0;if((a|0)==1){break m}d=v[f+8>>2]}v[e+16>>2]=d;v[e+40>>2]=0;a=v[282402];v[e+44>>2]=a;v[e+12>>2]=a;v[e+8>>2]=0;v[e+4>>2]=a;v[e>>2]=0;L:{if(c){v[299999]=0;Q(4535,e+40|0,d+20|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break j}if(!v[e+40>>2]){v[299999]=0;Q(4535,e+40|0,d+36|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break j}}if(t[d+52|0]>-1){break L}v[299999]=0;Q(4535,e+8|0,d+28|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break j}break L}v[299999]=0;Q(4535,e+40|0,d+36|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break j}if(t[d+52|0]>-1){break L}v[299999]=0;Q(4535,e+8|0,d+20|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break j}}if(w[d+52|0]&64){v[299999]=0;Q(4535,e|0,d+44|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break j}}v[299999]=0;Q(4437,g|0,e+40|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break j}v[299999]=0;V(4559,g|0,0);a=v[299999];v[299999]=0;if((a|0)==1){break j}a=v[e+8>>2];if(!(!a|!v[a+8>>2])){v[299999]=0;Q(4437,g|0,e+8|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break j}v[299999]=0;V(4559,g|0,0);a=v[299999];v[299999]=0;if((a|0)==1){break j}}a=v[e>>2];if(!(!a|!v[a+8>>2])){v[299999]=0;Q(4437,g|0,e|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break j}v[299999]=0;V(4559,g|0,0);a=v[299999];v[299999]=0;if((a|0)==1){break j}}ec(e);ec(e+8|0);ec(e+40|0);v[299999]=0;a=v[d+4>>2]-1|0;v[d+4>>2]=a;b=v[299999];v[299999]=0;if((b|0)==1){break g}if(!a){v[299999]=0;R(4338,d|0);a=v[299999];v[299999]=0;if((a|0)==1){break g}}f=v[f>>2];if(f){continue}break}}a=v[e+32>>2];v[e+32>>2]=0;if(!a){break n}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break l}if(b){break n}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break l}}Qb=e- -64|0;break f}d=P()|0;O()|0;break i}W(0)|0;O()|0;lc()}L()}d=P()|0;O()|0;ec(e);ec(e+8|0);ec(e+40|0);ec(e+16|0)}ec(e+32|0);T(d|0);L()}a=P()|0;O()|0;T(a|0);L()}W(0)|0;O()|0;lc();L()}Qb=j+32|0;return}Ei(j+24|0,g)}L()}a=P()|0;O()|0;qc(b);T(a|0);L()}function CIa(a,b){a=a|0;b=b|0;var 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,w=0,y=0,z=0,A=0;c=Qb-48|0;Qb=c;j=v[a+420>>2];d=v[a+24>>2];i=v[d>>2];v[c+8>>2]=i;f=v[d+4>>2];v[c+12>>2]=f;d=v[j+24>>2];v[c+24>>2]=v[j+20>>2];v[c+28>>2]=d;d=v[j+32>>2];v[c+32>>2]=v[j+28>>2];v[c+36>>2]=d;d=v[j+16>>2];v[c+16>>2]=v[j+12>>2];v[c+20>>2]=d;v[c+40>>2]=a;a:{b:{if(!v[a+236>>2]){e=a;break b}e=a;if(v[j+36>>2]){break b}e=v[j+40>>2];g=v[c+20>>2];if((g|0)>=1){d=g+7|0;f=v[c+16>>2]|127<<17-g;while(1){v[c+8>>2]=i+1;t[i|0]=f>>>16;g=v[c+12>>2]-1|0;v[c+12>>2]=g;if(!g){h=v[c+40>>2];g=v[h+24>>2];if(!(Ub[v[g+12>>2]](h)|0)){break a}v[c+8>>2]=v[g>>2];v[c+12>>2]=v[g+4>>2]}c:{if((f&16711680)!=16711680){break c}g=v[c+8>>2];v[c+8>>2]=g+1;t[g|0]=0;g=v[c+12>>2]-1|0;v[c+12>>2]=g;if(g){break c}h=v[c+40>>2];g=v[h+24>>2];if(!(Ub[v[g+12>>2]](h)|0)){break a}v[c+8>>2]=v[g>>2];v[c+12>>2]=v[g+4>>2]}if((d|0)>=16){f=f<<8;d=d-8|0;i=v[c+8>>2];continue}break}i=v[c+8>>2]}v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=i+1;t[i|0]=255;d=v[c+12>>2]-1|0;v[c+12>>2]=d;d:{if(d){f=v[c+8>>2];break d}g=v[c+40>>2];d=v[g+24>>2];if(!(Ub[v[d+12>>2]](g)|0)){break a}f=v[d>>2];v[c+12>>2]=v[d+4>>2]}v[c+8>>2]=f+1;t[f|0]=e-48;f=v[c+12>>2]-1|0;v[c+12>>2]=f;e=v[c+40>>2];if(!f){d=v[e+24>>2];if(!(Ub[v[d+12>>2]](e)|0)){break a}v[c+8>>2]=v[d>>2];f=v[d+4>>2];v[c+12>>2]=f}if(v[e+288>>2]<1){break b}i=0;while(1){v[((i<<2)+c|0)+24>>2]=0;i=i+1|0;if((i|0)>2]){continue}break}}m=1;e:{if(v[a+316>>2]<1){break e}while(1){d=r<<2;w=d+b|0;y=v[w>>2];g=v[(a+d|0)+320>>2]<<2;z=g+c|0;d=u[y>>1]-v[z+24>>2]|0;h=d>>31;k=d+h|0;g=v[(a+g|0)+292>>2];n=v[((v[g+24>>2]<<2)+j|0)+60>>2];l=v[((v[g+20>>2]<<2)+j|0)+44>>2];A=v[e+380>>2];s=v[e+384>>2];g=0;f:{if(!d){break f}i=h^k;while(1){d=g;g=d+1|0;h=i>>>0>1;i=i>>>1|0;if(h){continue}break}if(d>>>0<11){break f}d=v[e>>2];v[d+20>>2]=6;Ub[v[d>>2]](e)}h=v[l+(g<<2)>>2];i=v[c+20>>2];d=t[(g+l|0)+1024|0];if(!d){l=v[e>>2];v[l+20>>2]=41;Ub[v[l>>2]](e)}e=h&(-1<>2]|e<<24-d;if((d|0)>=8){while(1){e=v[c+8>>2];v[c+8>>2]=e+1;t[e|0]=i>>>16;f=v[c+12>>2]-1|0;v[c+12>>2]=f;if(!f){h=v[c+40>>2];e=v[h+24>>2];if(!(Ub[v[e+12>>2]](h)|0)){m=0;break a}v[c+8>>2]=v[e>>2];f=v[e+4>>2];v[c+12>>2]=f}e=d;g:{if((i&16711680)!=16711680){break g}d=v[c+8>>2];v[c+8>>2]=d+1;t[d|0]=0;f=v[c+12>>2]-1|0;v[c+12>>2]=f;if(f){break g}h=v[c+40>>2];d=v[h+24>>2];if(!(Ub[v[d+12>>2]](h)|0)){m=0;break a}v[c+8>>2]=v[d>>2];f=v[d+4>>2];v[c+12>>2]=f}d=e-8|0;i=i<<8;if((e|0)>15){continue}break}}v[c+20>>2]=d;v[c+16>>2]=i;if(g){d=d+g|0;i=(k&(-1<=8){while(1){g=v[c+8>>2];v[c+8>>2]=g+1;t[g|0]=i>>>16;f=v[c+12>>2]-1|0;v[c+12>>2]=f;if(!f){e=v[c+40>>2];g=v[e+24>>2];if(!(Ub[v[g+12>>2]](e)|0)){m=0;break a}v[c+8>>2]=v[g>>2];f=v[g+4>>2];v[c+12>>2]=f}g=d;h:{if((i&16711680)!=16711680){break h}d=v[c+8>>2];v[c+8>>2]=d+1;t[d|0]=0;f=v[c+12>>2]-1|0;v[c+12>>2]=f;if(f){break h}e=v[c+40>>2];d=v[e+24>>2];if(!(Ub[v[d+12>>2]](e)|0)){m=0;break a}v[c+8>>2]=v[d>>2];f=v[d+4>>2];v[c+12>>2]=f}d=g-8|0;i=i<<8;if((g|0)>15){continue}break}}v[c+20>>2]=d;v[c+16>>2]=i}h=1;i:{if((s|0)<1){break i}j:while(1){e=0;g=h;while(1){l=x[(v[(g<<2)+A>>2]<<1)+y>>1];if(l){if(e>>>0>=16){while(1){k=v[n+960>>2];h=t[n+1264|0];if(!h){o=v[c+40>>2];p=v[o>>2];v[p+20>>2]=41;Ub[v[p>>2]](o)}d=d+h|0;i=(k&(-1<=8){while(1){h=v[c+8>>2];v[c+8>>2]=h+1;t[h|0]=i>>>16;f=v[c+12>>2]-1|0;v[c+12>>2]=f;if(!f){k=v[c+40>>2];h=v[k+24>>2];if(!(Ub[v[h+12>>2]](k)|0)){m=0;break a}v[c+8>>2]=v[h>>2];f=v[h+4>>2];v[c+12>>2]=f}h=d;k:{if((i&16711680)!=16711680){break k}d=v[c+8>>2];v[c+8>>2]=d+1;t[d|0]=0;f=v[c+12>>2]-1|0;v[c+12>>2]=f;if(f){break k}k=v[c+40>>2];d=v[k+24>>2];if(!(Ub[v[d+12>>2]](k)|0)){m=0;break a}v[c+8>>2]=v[d>>2];f=v[d+4>>2];v[c+12>>2]=f}d=h-8|0;i=i<<8;if((h|0)>15){continue}break}}v[c+20>>2]=d;v[c+16>>2]=i;h=(e|0)>31;e=e-16|0;if(h){continue}break}}k=1;p=l<<16;o=p>>16;h=o>>31;h=h^h+o;l:{if(h>>>0<2){break l}while(1){l=k;k=k+1|0;q=h>>>0>3;h=h>>>1|0;if(q){continue}break}if(l>>>0<10){break l}h=v[c+40>>2];l=v[h>>2];v[l+20>>2]=6;Ub[v[l>>2]](h)}e=(e<<4)+k|0;h=v[(e<<2)+n>>2];e=t[(e+n|0)+1024|0];if(!e){l=v[c+40>>2];q=v[l>>2];v[q+20>>2]=41;Ub[v[q>>2]](l)}l=h&(-1<=8){while(1){d=v[c+8>>2];v[c+8>>2]=d+1;t[d|0]=i>>>16;f=v[c+12>>2]-1|0;v[c+12>>2]=f;if(!f){e=v[c+40>>2];d=v[e+24>>2];if(!(Ub[v[d+12>>2]](e)|0)){m=0;break a}v[c+8>>2]=v[d>>2];f=v[d+4>>2];v[c+12>>2]=f}d=h;m:{if((i&16711680)!=16711680){break m}e=v[c+8>>2];v[c+8>>2]=e+1;t[e|0]=0;f=v[c+12>>2]-1|0;v[c+12>>2]=f;if(f){break m}h=v[c+40>>2];e=v[h+24>>2];if(!(Ub[v[e+12>>2]](h)|0)){m=0;break a}v[c+8>>2]=v[e>>2];f=v[e+4>>2];v[c+12>>2]=f}h=d-8|0;i=i<<8;if((d|0)>15){continue}break}}d=h+k|0;i=(o+(p>>31)&(-1<=8){while(1){e=v[c+8>>2];v[c+8>>2]=e+1;t[e|0]=i>>>16;f=v[c+12>>2]-1|0;v[c+12>>2]=f;if(!f){h=v[c+40>>2];e=v[h+24>>2];if(!(Ub[v[e+12>>2]](h)|0)){m=0;break a}v[c+8>>2]=v[e>>2];f=v[e+4>>2];v[c+12>>2]=f}e=d;n:{if((i&16711680)!=16711680){break n}d=v[c+8>>2];v[c+8>>2]=d+1;t[d|0]=0;f=v[c+12>>2]-1|0;v[c+12>>2]=f;if(f){break n}h=v[c+40>>2];d=v[h+24>>2];if(!(Ub[v[d+12>>2]](h)|0)){m=0;break a}v[c+8>>2]=v[d>>2];f=v[d+4>>2];v[c+12>>2]=f}d=e-8|0;i=i<<8;if((e|0)>15){continue}break}}v[c+20>>2]=d;v[c+16>>2]=i;h=g+1|0;if((g|0)!=(s|0)){continue j}break i}e=e+1|0;h=(g|0)==(s|0);g=g+1|0;if(!h){continue}break}break}e=v[n>>2];g=t[n+1024|0];if(!g){h=v[c+40>>2];k=v[h>>2];v[k+20>>2]=41;Ub[v[k>>2]](h)}e=e&(-1<=8){while(1){d=v[c+8>>2];v[c+8>>2]=d+1;t[d|0]=i>>>16;f=v[c+12>>2]-1|0;v[c+12>>2]=f;if(!f){e=v[c+40>>2];d=v[e+24>>2];if(!(Ub[v[d+12>>2]](e)|0)){m=0;break a}v[c+8>>2]=v[d>>2];f=v[d+4>>2];v[c+12>>2]=f}d=g;o:{if((i&16711680)!=16711680){break o}g=v[c+8>>2];v[c+8>>2]=g+1;t[g|0]=0;f=v[c+12>>2]-1|0;v[c+12>>2]=f;if(f){break o}e=v[c+40>>2];g=v[e+24>>2];if(!(Ub[v[g+12>>2]](e)|0)){m=0;break a}v[c+8>>2]=v[g>>2];f=v[g+4>>2];v[c+12>>2]=f}g=d-8|0;i=i<<8;if((d|0)>15){continue}break}}v[c+20>>2]=g;v[c+16>>2]=i}v[z+24>>2]=u[v[w>>2]>>1];r=r+1|0;if((r|0)>=v[a+316>>2]){break e}e=v[c+40>>2];continue}}b=v[c+8>>2];d=v[a+24>>2];v[d+4>>2]=f;v[d>>2]=b;b=v[c+36>>2];v[j+28>>2]=v[c+32>>2];v[j+32>>2]=b;b=v[c+28>>2];v[j+20>>2]=v[c+24>>2];v[j+24>>2]=b;b=v[c+20>>2];v[j+12>>2]=v[c+16>>2];v[j+16>>2]=b;a=v[a+236>>2];if(!a){break a}b=j;d=v[j+36>>2];if(d){a=d}else{v[j+36>>2]=a;v[j+40>>2]=v[j+40>>2]+1&7}v[b+36>>2]=a-1}Qb=c+48|0;return m|0}function zKa(a){a=a|0;var b=0,c=0,d=0;d=v[a+404>>2];b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=255;c=v[b+4>>2]-1|0;v[b+4>>2]=c;a:{if(c){break a}if(Ub[v[b+12>>2]](a)|0){break a}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=216;c=v[b+4>>2]-1|0;v[b+4>>2]=c;b:{if(c){break b}if(Ub[v[b+12>>2]](a)|0){break b}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}v[d+28>>2]=0;c:{if(!v[a+244>>2]){break c}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=255;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d:{if(c){break d}if(Ub[v[b+12>>2]](a)|0){break d}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=224;c=v[b+4>>2]-1|0;v[b+4>>2]=c;e:{if(c){break e}if(Ub[v[b+12>>2]](a)|0){break e}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;f:{if(c){break f}if(Ub[v[b+12>>2]](a)|0){break f}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=16;c=v[b+4>>2]-1|0;v[b+4>>2]=c;g:{if(c){break g}if(Ub[v[b+12>>2]](a)|0){break g}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=74;c=v[b+4>>2]-1|0;v[b+4>>2]=c;h:{if(c){break h}if(Ub[v[b+12>>2]](a)|0){break h}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=70;c=v[b+4>>2]-1|0;v[b+4>>2]=c;i:{if(c){break i}if(Ub[v[b+12>>2]](a)|0){break i}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=73;c=v[b+4>>2]-1|0;v[b+4>>2]=c;j:{if(c){break j}if(Ub[v[b+12>>2]](a)|0){break j}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=70;c=v[b+4>>2]-1|0;v[b+4>>2]=c;k:{if(c){break k}if(Ub[v[b+12>>2]](a)|0){break k}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;l:{if(c){break l}if(Ub[v[b+12>>2]](a)|0){break l}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}d=w[a+248|0];b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=d;c=v[b+4>>2]-1|0;v[b+4>>2]=c;m:{if(c){break m}if(Ub[v[b+12>>2]](a)|0){break m}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}d=w[a+249|0];b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=d;c=v[b+4>>2]-1|0;v[b+4>>2]=c;n:{if(c){break n}if(Ub[v[b+12>>2]](a)|0){break n}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}d=w[a+250|0];b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=d;c=v[b+4>>2]-1|0;v[b+4>>2]=c;o:{if(c){break o}if(Ub[v[b+12>>2]](a)|0){break o}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}c=x[a+252>>1];b=v[a+24>>2];d=v[b>>2];v[b>>2]=d+1;t[d|0]=c>>>8;d=v[b+4>>2]-1|0;v[b+4>>2]=d;p:{if(d){break p}if(Ub[v[b+12>>2]](a)|0){break p}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];d=v[b>>2];v[b>>2]=d+1;t[d|0]=c;c=v[b+4>>2]-1|0;v[b+4>>2]=c;q:{if(c){break q}if(Ub[v[b+12>>2]](a)|0){break q}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}c=x[a+254>>1];b=v[a+24>>2];d=v[b>>2];v[b>>2]=d+1;t[d|0]=c>>>8;d=v[b+4>>2]-1|0;v[b+4>>2]=d;r:{if(d){break r}if(Ub[v[b+12>>2]](a)|0){break r}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];d=v[b>>2];v[b>>2]=d+1;t[d|0]=c;c=v[b+4>>2]-1|0;v[b+4>>2]=c;s:{if(c){break s}if(Ub[v[b+12>>2]](a)|0){break s}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;t:{if(c){break t}if(Ub[v[b+12>>2]](a)|0){break t}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break c}if(Ub[v[b+12>>2]](a)|0){break c}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}u:{if(!v[a+256>>2]){break u}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=255;c=v[b+4>>2]-1|0;v[b+4>>2]=c;v:{if(c){break v}if(Ub[v[b+12>>2]](a)|0){break v}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=238;c=v[b+4>>2]-1|0;v[b+4>>2]=c;w:{if(c){break w}if(Ub[v[b+12>>2]](a)|0){break w}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;x:{if(c){break x}if(Ub[v[b+12>>2]](a)|0){break x}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=14;c=v[b+4>>2]-1|0;v[b+4>>2]=c;y:{if(c){break y}if(Ub[v[b+12>>2]](a)|0){break y}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=65;c=v[b+4>>2]-1|0;v[b+4>>2]=c;z:{if(c){break z}if(Ub[v[b+12>>2]](a)|0){break z}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=100;c=v[b+4>>2]-1|0;v[b+4>>2]=c;A:{if(c){break A}if(Ub[v[b+12>>2]](a)|0){break A}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=111;c=v[b+4>>2]-1|0;v[b+4>>2]=c;B:{if(c){break B}if(Ub[v[b+12>>2]](a)|0){break B}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=98;c=v[b+4>>2]-1|0;v[b+4>>2]=c;C:{if(c){break C}if(Ub[v[b+12>>2]](a)|0){break C}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=101;c=v[b+4>>2]-1|0;v[b+4>>2]=c;D:{if(c){break D}if(Ub[v[b+12>>2]](a)|0){break D}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;E:{if(c){break E}if(Ub[v[b+12>>2]](a)|0){break E}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=100;c=v[b+4>>2]-1|0;v[b+4>>2]=c;F:{if(c){break F}if(Ub[v[b+12>>2]](a)|0){break F}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;G:{if(c){break G}if(Ub[v[b+12>>2]](a)|0){break G}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;H:{if(c){break H}if(Ub[v[b+12>>2]](a)|0){break H}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;I:{if(c){break I}if(Ub[v[b+12>>2]](a)|0){break I}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;J:{if(c){break J}if(Ub[v[b+12>>2]](a)|0){break J}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}K:{L:{switch(v[a+80>>2]-3|0){case 0:b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=1;c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break u}if(!(Ub[v[b+12>>2]](a)|0)){break K}break u;case 2:b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=2;c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break u}if(!(Ub[v[b+12>>2]](a)|0)){break K}break u;default:break L}}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break u}if(Ub[v[b+12>>2]](a)|0){break u}}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}}function Qva(a){a=a|0;var 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,u=0,x=0,y=0,z=0;a=v[a+116>>2];d=a;f=v[a+204>>2];a=0;a:{b:{c:{d:{e:{f:{g:{h:{if(v[d>>2]==3){f=v[d+204>>2];if(v[f+8>>2]<=0){break h}while(1){a=v[v[f>>2]+(b<<2)>>2];if(hk(v[a>>2])){a=1}else{a=Dj(v[a>>2])?-1:0}o=a+o|0;b=b+1|0;if((b|0)>2]){continue}break}o=(o^-1)>>>31|0;f=v[d+204>>2];b=v[f+8>>2];if((b|0)<1){break f}k=A[d+120>>3];l=A[d+112>>3];m=v[f>>2];while(1){i:{j:{k:{l:{a=v[m+(c<<2)>>2];switch(w[a+88|0]-1|0){case 2:break j;case 1:break k;case 0:break l;default:break i}}j=A[a+32>>3];A[a+32>>3]=A[a+40>>3];s=A[a+16>>3];A[a+16>>3]=A[a+24>>3];A[a+40>>3]=l-s;A[a+24>>3]=l-j;break i}j=A[a+32>>3];A[a+32>>3]=l-A[a+16>>3];A[a+16>>3]=l-j;j=A[a+40>>3];A[a+40>>3]=k-A[a+24>>3];A[a+24>>3]=k-j;break i}j=A[a+40>>3];A[a+40>>3]=A[a+32>>3];s=A[a+24>>3];A[a+24>>3]=A[a+16>>3];A[a+32>>3]=k-s;A[a+16>>3]=k-j}c=c+1|0;if((b|0)!=(c|0)){continue}break}break f}if(v[d+52>>2]){a=cE(d,v[d+204>>2])}e=Xt(d,f);if(v[f+8>>2]>=1){while(1){c=v[v[f>>2]+(b<<2)>>2];if(hk(v[c>>2])){c=1}else{c=Dj(v[c>>2])?-1:0}o=c+o|0;b=b+1|0;if((b|0)>2]){continue}break}}b=Vx(d,f);if(!b){Tm(d,f,e);c=fc(8);v[299999]=0;a=S(1,16)|0;d=v[299999];v[299999]=0;o=1;if((d|0)!=1){v[299999]=0;S(3315,a|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){break d}b=P()|0;O()|0;dc(a);break b}b=P()|0;O()|0;break b}c=fc(16);v[299999]=0;m=S(3315,c|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break g}o=(o^-1)>>>31|0;Ux(d,b,m,o);dc(Um(b));Tm(d,f,e);if(v[d+24>>2]){bE(d,e);aE(d,m)}if(!a){break e}m:{if(v[a+8>>2]<1){break m}Tc(m,$D(a));c=v[a+8>>2];if((c|0)<1){break m}b=0;while(1){f=v[v[a>>2]+(b<<2)>>2];if(f){dc(f);c=v[a+8>>2]}b=b+1|0;if((b|0)<(c|0)){continue}break}}dc(Vc(a));break e}o=1;break f}b=P()|0;O()|0;break b}m=yR(d,f);a=v[d+204>>2];b=v[a+8>>2];if((b|0)>=1){k=A[d+120>>3];l=A[d+112>>3];f=v[a>>2];c=0;while(1){n:{o:{p:{q:{a=v[f+(c<<2)>>2];switch(w[a+88|0]-1|0){case 2:break o;case 1:break p;case 0:break q;default:break n}}j=A[a+40>>3];A[a+40>>3]=A[a+32>>3];s=A[a+24>>3];A[a+24>>3]=A[a+16>>3];A[a+32>>3]=l-s;A[a+16>>3]=l-j;break n}j=A[a+32>>3];A[a+32>>3]=l-A[a+16>>3];A[a+16>>3]=l-j;j=A[a+40>>3];A[a+40>>3]=k-A[a+24>>3];A[a+24>>3]=k-j;break n}j=A[a+32>>3];A[a+32>>3]=A[a+40>>3];s=A[a+16>>3];A[a+16>>3]=A[a+24>>3];A[a+40>>3]=k-s;A[a+24>>3]=k-j}c=c+1|0;if((b|0)!=(c|0)){continue}break}}xR(d,m)}a=fc(16);v[299999]=0;g=S(3315,a|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break c}c=v[m+8>>2];if((c|0)>=1){while(1){p=0;y=v[v[m>>2]+(h<<2)>>2];b=v[y>>2];if(v[b+8>>2]>=1){while(1){i=0;z=v[v[b>>2]+(p<<2)>>2];c=v[z>>2];if(v[c+8>>2]>=1){while(1){f=0;x=v[v[c>>2]+(i<<2)>>2];b=v[x>>2];if(v[b+8>>2]>=1){while(1){n=v[v[b>>2]+(f<<2)>>2];c=fc(112);b=gc(c,n,105);q=v[b+44>>2];v[299999]=0;r=Q(3364,q|0,4)|0;u=v[299999];v[299999]=0;r:{s:{if((u|0)==1){break s}v[b+32>>2]=r;gc(r,v[n+32>>2],q<<2);q=v[b+44>>2];v[299999]=0;r=Q(3364,q+1|0,8)|0;u=v[299999];v[299999]=0;if((u|0)==1){break s}v[b+40>>2]=r;gc(r,v[n+40>>2],(q<<3)+8|0);q=v[b+44>>2];v[299999]=0;r=Q(3364,q+1|0,4)|0;u=v[299999];v[299999]=0;if((u|0)!=1){break r}}b=P()|0;O()|0;break b}v[b+36>>2]=r;gc(r,v[n+36>>2],(q<<2)+4|0);if(!(v[x+60>>2]|(v[v[x>>2]+8>>2]-1|0)!=(f|0))){t[b+103|0]=1}Tc(g,b);f=f+1|0;b=v[x>>2];if((f|0)>2]){continue}break}c=v[z>>2]}i=i+1|0;if((i|0)>2]){continue}break}b=v[y>>2]}p=p+1|0;if((p|0)>2]){continue}break}c=v[m+8>>2]}h=h+1|0;if((h|0)<(c|0)){continue}break}}c=v[d>>2]-1|0;if(!(c>>>0>5|!(59>>>c&1))){mk(g,v[(c<<2)+969040>>2])}f=0;t:{u:{switch(e-1|0){case 1:n=v[g+8>>2];if((n|0)<1){break t}p=v[g>>2];while(1){c=v[p+(f<<2)>>2];j=A[c+24>>3];k=A[d+112>>3];l=A[d+120>>3];A[c+24>>3]=l-A[c+16>>3];A[c+16>>3]=l-j;j=A[c+8>>3];A[c+8>>3]=k-A[c>>3];A[c>>3]=k-j;h=w[c+100|0];t[c+100|0]=h+2&3;b=v[c+44>>2];v:{if(h&1){if((b|0)<0){break v}g=v[c+40>>2];A[g>>3]=l-A[g>>3];if(!b){break v}c=b&3;h=0;if(b-1>>>0>=3){b=b&-4;while(1){e=h<<3;i=g+(e|8)|0;A[i>>3]=A[d+120>>3]-A[i>>3];i=g+(e|16)|0;A[i>>3]=A[d+120>>3]-A[i>>3];e=g+(e|24)|0;A[e>>3]=A[d+120>>3]-A[e>>3];h=h+4|0;e=g+(h<<3)|0;A[e>>3]=A[d+120>>3]-A[e>>3];b=b-4|0;if(b){continue}break}}if(!c){break v}while(1){h=h+1|0;b=g+(h<<3)|0;A[b>>3]=A[d+120>>3]-A[b>>3];c=c-1|0;if(c){continue}break}break v}if((b|0)<0){break v}g=v[c+40>>2];A[g>>3]=k-A[g>>3];if(!b){break v}c=b&3;h=0;if(b-1>>>0>=3){b=b&-4;while(1){e=h<<3;i=g+(e|8)|0;A[i>>3]=A[d+112>>3]-A[i>>3];i=g+(e|16)|0;A[i>>3]=A[d+112>>3]-A[i>>3];e=g+(e|24)|0;A[e>>3]=A[d+112>>3]-A[e>>3];h=h+4|0;e=g+(h<<3)|0;A[e>>3]=A[d+112>>3]-A[e>>3];b=b-4|0;if(b){continue}break}}if(!c){break v}while(1){h=h+1|0;b=g+(h<<3)|0;A[b>>3]=A[d+112>>3]-A[b>>3];c=c-1|0;if(c){continue}break}}f=f+1|0;if((n|0)!=(f|0)){continue}break};break t;case 2:n=v[g+8>>2];if((n|0)<1){break t}p=v[g>>2];while(1){c=v[p+(f<<2)>>2];l=A[c+8>>3];k=A[d+120>>3];A[c+8>>3]=A[c+24>>3];j=A[c>>3];A[c>>3]=A[c+16>>3];A[c+24>>3]=k-j;A[c+16>>3]=k-l;b=w[c+100|0]+3|0;t[c+100|0]=b&3;w:{if(!(b&1)){break w}b=v[c+44>>2];if((b|0)<0){break w}g=v[c+40>>2];A[g>>3]=k-A[g>>3];if(!b){break w}c=b&3;h=0;if(b-1>>>0>=3){b=b&-4;while(1){e=h<<3;i=g+(e|8)|0;A[i>>3]=A[d+120>>3]-A[i>>3];i=g+(e|16)|0;A[i>>3]=A[d+120>>3]-A[i>>3];e=g+(e|24)|0;A[e>>3]=A[d+120>>3]-A[e>>3];h=h+4|0;e=g+(h<<3)|0;A[e>>3]=A[d+120>>3]-A[e>>3];b=b-4|0;if(b){continue}break}}if(!c){break w}while(1){h=h+1|0;b=g+(h<<3)|0;A[b>>3]=A[d+120>>3]-A[b>>3];c=c-1|0;if(c){continue}break}}f=f+1|0;if((n|0)!=(f|0)){continue}break};break t;case 0:break u;default:break t}}n=v[g+8>>2];if((n|0)<1){break t}p=v[g>>2];while(1){c=v[p+(f<<2)>>2];l=A[c+24>>3];k=A[d+112>>3];A[c+24>>3]=A[c+8>>3];j=A[c+16>>3];A[c+16>>3]=A[c>>3];A[c+8>>3]=k-j;A[c>>3]=k-l;b=w[c+100|0]+1|0;t[c+100|0]=b&3;x:{if(b&1){break x}b=v[c+44>>2];if((b|0)<0){break x}g=v[c+40>>2];A[g>>3]=k-A[g>>3];if(!b){break x}c=b&3;h=0;if(b-1>>>0>=3){b=b&-4;while(1){e=h<<3;i=g+(e|8)|0;A[i>>3]=A[d+112>>3]-A[i>>3];i=g+(e|16)|0;A[i>>3]=A[d+112>>3]-A[i>>3];e=g+(e|24)|0;A[e>>3]=A[d+112>>3]-A[e>>3];h=h+4|0;e=g+(h<<3)|0;A[e>>3]=A[d+112>>3]-A[e>>3];b=b-4|0;if(b){continue}break}}if(!c){break x}while(1){h=h+1|0;b=g+(h<<3)|0;A[b>>3]=A[d+112>>3]-A[b>>3];c=c-1|0;if(c){continue}break}}f=f+1|0;if((n|0)!=(f|0)){continue}break}}f=v[m+8>>2];if((f|0)>=1){b=0;while(1){c=v[v[m>>2]+(b<<2)>>2];if(c){Hp(c);dc(c);f=v[m+8>>2]}b=b+1|0;if((f|0)>(b|0)){continue}break}}dc(Vc(m));c=fc(8)}v[c+4>>2]=o;v[c>>2]=a;break a}b=P()|0;O()|0;c=a}dc(c);T(b|0);L()}return c|0}function QFa(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,p=0,q=0,r=0,s=0;k=Qb-16|0;Qb=k;v[a+80>>2]=1;h=a+80|0;a:{b:{if(v[a+72>>2]){e=b;d=k+8|0;b=a+80|0;n=nj(a,0,b);f=nj(a,4,b);c:{if(!v[a+80>>2]){break c}l=We(a,f+24|0,b);m=We(a,f+28|0,b);if(!v[a+80>>2]){break c}d:{if((m|0)<0){d=b;break d}l=f+l|0;o=l+2|0;e:{while(1){f=o+(g<<3)|0;p=nj(a,f,b);if(!v[a+80>>2]){break c}if((p|0)==1936092788){break e}f=(g|0)==(m|0);g=g+1|0;if(!f){continue}break}d=b;break d}g=We(a,f+4|0,b);f=We(a,f+6|0,b);if(!v[a+80>>2]){break c}if((e|0)<0){d=b;break d}if((e|0)>(g|0)){d=b;break d}b=nj(a,(f+(l+B(e,12)|0)|0)+4|0,b);if(!v[a+80>>2]){break c}v[k+12>>2]=(n+(b&16777215)|0)+4}v[d>>2]=0}break b}v[k+12>>2]=0;d=nj(a,0,h);if(!v[a+80>>2]){break a}if((d|0)==1953784678){v[a+76>>2]=1;d=nj(a,8,h);if(!v[a+80>>2]){break a}if(!((b|0)<(d|0)&(b|0)>=0)){v[h>>2]=0;break a}r=k,s=nj(a,(b<<2)+12|0,h),v[r+8>>2]=s;break b}v[k+8>>2]=0}if(!v[h>>2]){break a}b=v[k+8>>2];e=v[k+12>>2];d=nj(a,b+e|0,h);if(!v[a+80>>2]){break a}v[a+64>>2]=(d|0)==1330926671;m=e+4|0;d=We(a,m+b|0,h);v[a+24>>2]=d;if(!v[a+80>>2]){break a}r=a,s=ed(d,20),v[r+20>>2]=s;f:{if(v[a+24>>2]>=1){n=e+12|0;l=e+8|0;b=b+12|0;d=0;while(1){g=nj(a,b+e|0,h);f=B(d,20);v[f+v[a+20>>2]>>2]=g;g=nj(a,b+m|0,h);v[(f+v[a+20>>2]|0)+4>>2]=g;g=nj(a,b+l|0,h);v[(f+v[a+20>>2]|0)+8>>2]=e+g;g=nj(a,b+n|0,h);f=f+v[a+20>>2]|0;v[f+16>>2]=g;f=v[f+8>>2];if(!((f|0)<0|(g|0)<0)){d=(v[a+12>>2]>=(f+g|0))+d|0}b=b+16|0;i=i+1|0;if((i|0)>2]){continue}break}v[k+8>>2]=b;v[a+24>>2]=d;if(!v[a+80>>2]){break a}b=0;v[a+68>>2]=0;if((d|0)<1){break f}e=v[a+20>>2];while(1){if(v[B(b,20)+e>>2]==1751474532){b=0;while(1){g:{if(v[B(b,20)+e>>2]==1751672161){b=0;while(1){h:{if(v[B(b,20)+e>>2]==1835104368){b=0;while(1){if(v[B(b,20)+e>>2]==1752003704){break h}b=b+1|0;if((d|0)!=(b|0)){continue}break}break g}b=b+1|0;if((d|0)!=(b|0)){continue}break g}break}i:{if(!v[a+64>>2]){if((Up(a,307124)|0)<0){break g}if((Up(a,273233)|0)<0){break g}break i}if((Up(a,346549)|0)<=-1){break g}}i=Up(a,242645);j:{if((i|0)<0){break j}b=B(i,20)+e|0;if(v[b+16>>2]<4){break j}b=v[b+8>>2];c=We(a,b+2|0,h);v[a+32>>2]=c;if(!v[a+80>>2]){break a}r=a,s=ed(c,20),v[r+28>>2]=s;k:{if(v[a+32>>2]<1){d=0;break k}b=b+4|0;d=0;while(1){e=We(a,b,h);c=B(d,20);v[c+v[a+28>>2]>>2]=e;e=We(a,b+2|0,h);v[(c+v[a+28>>2]|0)+4>>2]=e;e=nj(a,b+4|0,h);f=c+v[a+28>>2]|0;v[f+8>>2]=e;g=v[a+20>>2]+B(i,20)|0;if((e|0)>2]){e=e+v[g+8>>2]|0;v[f+8>>2]=e;e=We(a,e,h);f=c+v[a+28>>2]|0;v[f+16>>2]=e;e=We(a,v[f+8>>2]+2|0,h);v[(c+v[a+28>>2]|0)+12>>2]=e;d=d+1|0}b=b+8|0;j=j+1|0;if((j|0)>2]){continue}break}v[k+8>>2]=b}v[a+32>>2]=d;if(!v[a+80>>2]){break a}e=v[a+20>>2]}r=a,s=We(a,v[(B(Up(a,240529),20)+e|0)+8>>2]+4|0,h),v[r+36>>2]=s;if(!v[a+80>>2]){break a}c=v[a+20>>2];b=B(Up(a,292267),20);r=a,s=ru(a,v[(c+b|0)+8>>2]+36|0,h),v[r+44>>2]=s;r=a,s=ru(a,v[(b+v[a+20>>2]|0)+8>>2]+38|0,h),v[r+48>>2]=s;r=a,s=ru(a,v[(b+v[a+20>>2]|0)+8>>2]+40|0,h),v[r+52>>2]=s;r=a,s=ru(a,v[(b+v[a+20>>2]|0)+8>>2]+42|0,h),v[r+56>>2]=s;c=ru(a,v[(b+v[a+20>>2]|0)+8>>2]+50|0,h);v[a+40>>2]=c;if(!v[a+80>>2]){break a}l:{if(v[a+64>>2]){break l}b=v[(v[a+20>>2]+B(Up(a,307124),20)|0)+16>>2];c=c?4:2;if((b|0)<(c|0)){v[h>>2]=0;break a}if((b|0)>=(B(c,v[a+36>>2]+1|0)|0)){break l}v[a+36>>2]=((b|0)/(c|0)|0)-1}d=0;j=0;g=Qb-16|0;Qb=g;v[g+12>>2]=1;m:{n:{b=v[a+24>>2];o:{if((b|0)<1){break o}e=a;a=v[a+20>>2];while(1){if(v[a+B(d,20)>>2]!=1886352244){d=d+1|0;if((b|0)!=(d|0)){continue}break o}break}b=v[(a+B(d,20)|0)+8>>2];a=nj(e,b,g+12|0);p:{if(!v[g+12>>2]){break p}if((a|0)!=163840){if((a|0)!=131072){if((a|0)!=65536){break o}f=fc(16);v[299999]=0;j=Q(3304,f|0,1)|0;a=v[299999];v[299999]=0;if((a|0)==1){break n}v[e+60>>2]=f;d=0;while(1){q:{f=fc(8);v[299999]=0;a=Q(3063,f|0,v[(d<<2)+889200>>2])|0;b=v[299999];v[299999]=0;if((b|0)==1){break q}Hi(j,a,d);d=d+1|0;if((d|0)==258){break o}j=v[e+60>>2];continue}break}break n}f=fc(16);v[299999]=0;Q(3304,f|0,1)|0;a=v[299999];v[299999]=0;if((a|0)==1){break n}v[e+60>>2]=f;o=We(e,b+32|0,g+12|0);if(!v[g+12>>2]){break p}if((o|0)<1|v[e+36>>2]<1){break o}a=0;q=b+34|0;h=q+(o<<1)|0;d=h;while(1){v[g+12>>2]=1;c=We(e,q+(j<<1)|0,g+12|0);r:{if((c|0)<=257){b=v[(c<<2)+889200>>2];KT(v[e+60>>2],b);c=v[e+60>>2];f=fc(8);v[299999]=0;b=Q(3063,f|0,b|0)|0;i=v[299999];v[299999]=0;if((i|0)!=1){Hi(c,b,j);b=a;break r}break n}b=c-258|0;if((b|0)!=(a|0)){f=0;d=h;if((c|0)>=259){while(1){d=(mf(e,d,g+12|0)+d|0)+1|0;f=f+1|0;if((f|0)!=(b|0)){continue}break}}a=b;if(!v[g+12>>2]){break r}}m=mf(e,d,g+12|0);if(!v[g+12>>2]){b=a;break r}p=d+1|0;b=p;if(!((m|0)<=(2147483647-b|0)&(b|m)>-1&v[e+12>>2]>=(b+m|0))){b=a;break r}f=fc(8);b=v[e+8>>2];v[299999]=0;l=Y(3083,f|0,b+p|0,m|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break n}d=v[e+60>>2];n=0;c=v[l>>2];s:{if((c|0)<1){break s}f=c&3;b=v[l+4>>2];if(c-1>>>0>=3){c=c&-4;i=b;while(1){n=w[i+3|0]+B(w[i+2|0]+B(w[i+1|0]+B(w[i|0]+B(n,17)|0,17)|0,17)|0,17)|0;b=i+4|0;i=b;c=c-4|0;if(c){continue}break}}if(!f){break s}while(1){n=w[b|0]+B(n,17)|0;b=b+1|0;f=f-1|0;if(f){continue}break}}b=(n>>>0)%y[d+4>>2]|0;i=v[v[d+12>>2]+(b<<2)>>2];t:{if(!i){break t}while(1){if(Rf(v[i>>2],l)){i=v[i+8>>2];if(i){continue}break t}break}b=v[d+12>>2]+(b<<2)|0;while(1){c=b;f=v[b>>2];b=f+8|0;if((f|0)!=(i|0)){continue}break}v[c>>2]=v[i+8>>2];u:{if(!v[d>>2]){break u}b=v[i>>2];if(!b){break u}dc(Dc(b))}dc(i);v[d+8>>2]=v[d+8>>2]-1}Hi(v[e+60>>2],l,j);d=m+p|0;b=a+1|0}j=j+1|0;if((o|0)<=(j|0)){break o}a=b;if(v[e+36>>2]>(j|0)){continue}break}break o}d=0;f=fc(16);v[299999]=0;Q(3304,f|0,1)|0;a=v[299999];v[299999]=0;if((a|0)==1){break n}v[e+60>>2]=f;if(v[e+36>>2]<1){break o}b=b+32|0;while(1){a=mf(e,b+d|0,g+12|0);if(!(!v[g+12>>2]|(a|0)>=258)){a=v[(a<<2)+889200>>2];KT(v[e+60>>2],a);c=v[e+60>>2];f=fc(8);v[299999]=0;a=Q(3063,f|0,a|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break n}Hi(c,a,d)}d=d+1|0;if((d|0)>2]){continue}break}break o}a=v[e+60>>2];if(!a){break o}dc(ah(a));v[e+60>>2]=0}Qb=g+16|0;break m}a=P()|0;O()|0;dc(f);T(a|0);L()}break a}b=b+1|0;if((d|0)!=(b|0)){continue}}break}v[h>>2]=0;break a}b=b+1|0;if((d|0)!=(b|0)){continue}break}if(!v[a+64>>2]|!c){break f}b=0;while(1){if(v[B(b,20)+e>>2]!=1128678944){b=b+1|0;if((d|0)!=(b|0)){continue}break f}break}v[a+36>>2]=0;v[a+40>>2]=0;v[a+68>>2]=1;v[a+44>>2]=0;v[a+48>>2]=0;v[a+52>>2]=0;v[a+56>>2]=0;break a}v[a+24>>2]=0;if(!v[a+80>>2]){break a}v[a+68>>2]=0}v[h>>2]=0}Qb=k+16|0}function Iha(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;f=Qb-48|0;Qb=f;v[f+40>>2]=0;v[f+44>>2]=v[282402];a:{d=v[b>>2];b:{c:{if(d){while(1){e=v[d+8>>2];if((g|0)<0|(e|0)<=(g|0)){break c}d=v[d+12>>2];h=af(d+g|0,38);if(!h){break c}i=h-d|0;if((i|0)<0|(e|0)<=(i|0)){break c}h=af(d+i|0,59);if(!h){break c}l=h-d|0;if((l|0)<0){break c}v[299999]=0;Z(5170,f+32|0,b|0,g|0,i-g|0)|0;d=v[299999];v[299999]=0;d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{if((d|0)!=1){v[299999]=0;k=Q(4606,f+40|0,f+32|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break p}d=v[f+32>>2];v[f+32>>2]=0;q:{if(!d){break q}v[299999]=0;g=v[d+4>>2]-1|0;v[d+4>>2]=g;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(g){break q}v[299999]=0;R(4338,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break a}}m=l-i|0;d=m-1|0;if(!d){break i}v[299999]=0;h=Z(5170,f+32|0,b|0,i+1|0,d|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break o}g=0;d=v[f+32>>2];d=v[(d?d+12|0:1129608)>>2];e=w[d|0];if(!e){break k}if((e|0)!=35){break l}v[f+28>>2]=0;if((w[d+1|0]|32)!=120){break n}d=Iw(d+2|0,f+28|0,16);break m}d=P()|0;O()|0;break b}d=P()|0;O()|0;ec(f+32|0);break b}d=P()|0;O()|0;break b}d=Iw(d+1|0,f+28|0,10)}if(v[f+28>>2]){e=d;d=f+8|0;g=lj(e,d);v[299999]=0;Y(4605,f+16|0,d|0,g-d|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break j}v[299999]=0;Q(4606,k|0,f+16|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){d=v[f+16>>2];v[f+16>>2]=0;if(!d){break e}v[299999]=0;g=v[d+4>>2]-1|0;v[d+4>>2]=g;e=v[299999];v[299999]=0;if((e|0)!=1){if(g){break e}v[299999]=0;R(4338,d|0);d=v[299999];v[299999]=0;if((d|0)!=1){break e}}break a}d=P()|0;O()|0;ec(f+16|0);ec(h);break b}v[299999]=0;Z(5170,f+16|0,b|0,i|0,m+1|0)|0;d=v[299999];v[299999]=0;r:{if((d|0)!=1){v[299999]=0;Q(4606,k|0,f+16|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break r}d=v[f+16>>2];v[f+16>>2]=0;if(!d){break e}v[299999]=0;g=v[d+4>>2]-1|0;v[d+4>>2]=g;e=v[299999];v[299999]=0;if((e|0)!=1){if(g){break e}v[299999]=0;R(4338,d|0);d=v[299999];v[299999]=0;if((d|0)!=1){break e}}break a}d=P()|0;O()|0;ec(h);break b}d=P()|0;O()|0;ec(f+16|0);ec(h);break b}while(1){g=e&255^g^g<<6;e=w[d+1|0];d=d+1|0;if(e){continue}break}}v[299999]=0;d=v[v[c+12>>2]+((g>>>0)%y[c+8>>2]<<2)>>2];e=v[299999];v[299999]=0;if((e|0)==1){break f}if(d){while(1){if(v[d+12>>2]==(g|0)){e=v[d+16>>2];s:{if(e){j=v[v[e>>2]+36>>2];v[299999]=0;e=Y(j|0,e|0,f+32|0,-1)|0;j=v[299999];v[299999]=0;if((j|0)!=1){break s}d=P()|0;O()|0;ec(h);break b}e=v[f+32>>2];if(!e){break g}e=v[e+12>>2];if(!e){break g}e=w[e|0]?-1:0}if(!e){break g}}d=v[d+8>>2];if(d){continue}break}}t:{u:{v:{w:{x:{y:{if(t[1197540]&1){break y}if(!Je(1197540)){break y}v[299999]=0;ba(5171);d=v[299999];v[299999]=0;if((d|0)==1){break x}v[299384]=1197544;Ie(1197540)}g=0;j=v[299384];d=v[f+32>>2];d=v[(d?d+12|0:1129608)>>2];e=w[d|0];if(e){while(1){g=e&255^g^g<<6;e=w[d+1|0];d=d+1|0;if(e){continue}break}}v[299999]=0;d=v[v[j+12>>2]+((g>>>0)%y[j+8>>2]<<2)>>2];e=v[299999];v[299999]=0;if((e|0)==1){break h}z:{if(d){while(1){if(v[d+12>>2]==(g|0)){e=v[d+16>>2];A:{if(e){n=v[v[e>>2]+36>>2];v[299999]=0;e=Y(n|0,e|0,f+32|0,-1)|0;n=v[299999];v[299999]=0;if((n|0)!=1){break A}d=P()|0;O()|0;ec(h);break b}e=v[f+32>>2];if(!e){break z}e=v[e+12>>2];if(!e){break z}e=w[e|0]?-1:0}if(!e){break z}}d=v[d+8>>2];if(d){continue}break}}v[299999]=0;Z(5170,f+8|0,b|0,i|0,m+1|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break v}v[299999]=0;Q(4606,k|0,f+8|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break u}d=v[f+8>>2];v[f+8>>2]=0;if(!d){break e}v[299999]=0;g=v[d+4>>2]-1|0;v[d+4>>2]=g;e=v[299999];v[299999]=0;if((e|0)!=1){if(g){break e}v[299999]=0;R(4338,d|0);d=v[299999];v[299999]=0;if((d|0)!=1){break e}}break a}v[f+16>>2]=d;v[f+20>>2]=j;g=v[299384];if((g|0)==(j|0)){break t}v[299999]=0;V(4468,f+16|0,g|0);a=v[299999];v[299999]=0;if((a|0)==1){break w}L()}d=P()|0;O()|0;Pf(1197540);ec(h);break b}d=P()|0;O()|0;ec(h);break b}d=P()|0;O()|0;ec(h);break b}d=P()|0;O()|0;ec(f+8|0);ec(h);break b}v[299999]=0;Q(4606,k|0,d+24|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break h}break e}d=P()|0;O()|0;ec(h);break b}v[299999]=0;Z(5170,f+32|0,b|0,i|0,2)|0;d=v[299999];v[299999]=0;B:{if((d|0)!=1){v[299999]=0;Q(4606,k|0,f+32|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break B}d=v[f+32>>2];v[f+32>>2]=0;if(!d){break d}v[299999]=0;g=v[d+4>>2]-1|0;v[d+4>>2]=g;e=v[299999];v[299999]=0;if((e|0)!=1){if(g){break d}v[299999]=0;R(4338,d|0);d=v[299999];v[299999]=0;if((d|0)!=1){break d}}break a}d=P()|0;O()|0;break b}d=P()|0;O()|0;ec(f+32|0);break b}d=P()|0;O()|0;ec(h);break b}v[299999]=0;Q(4606,k|0,d+24|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){break e}}d=P()|0;O()|0;ec(h);break b}d=v[f+32>>2];v[f+32>>2]=0;if(!d){break d}v[299999]=0;g=v[d+4>>2]-1|0;v[d+4>>2]=g;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(g){break d}v[299999]=0;R(4338,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break a}}g=l+1|0;d=v[b>>2];if(d){continue}break}}e=0}v[299999]=0;c=Z(5170,f+32|0,b|0,g|0,e-g|0)|0;d=v[299999];v[299999]=0;C:{if((d|0)!=1){v[299999]=0;d=Q(4606,f+40|0,c|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break C}g=v[c>>2];v[c>>2]=0;D:{if(!g){break D}v[299999]=0;c=v[g+4>>2]-1|0;v[g+4>>2]=c;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(c){break D}v[299999]=0;R(4338,g|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}c=v[d>>2];E:{F:{G:{if(c){g=v[v[c>>2]+36>>2];v[299999]=0;g=Y(g|0,c|0,b|0,-1)|0;c=v[299999];v[299999]=0;if((c|0)!=1){break G}d=P()|0;O()|0;break b}c=v[b>>2];if(!c){break F}c=v[c+12>>2];if(!c){break F}g=w[c|0]?-1:0}if(g){break E}}d=b}v[a>>2]=0;v[a+4>>2]=v[282402];b=v[d>>2];H:{if(b){c=v[v[b>>2]+28>>2];v[299999]=0;U(c|0,f+32|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break H}d=P()|0;O()|0;ec(a);break b}v[f+32>>2]=0}v[299999]=0;Q(4344,a|0,f+32|0)|0;b=v[299999];v[299999]=0;I:{if((b|0)!=1){b=v[f+32>>2];v[f+32>>2]=0;if(!b){break I}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)!=1){if(c){break I}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break I}}break a}d=P()|0;O()|0;ec(f+32|0);ec(a);break b}b=a;a=v[a>>2];v[b+4>>2]=v[(a?a+12|0:1129608)>>2];a=v[f+40>>2];v[f+40>>2]=0;J:{if(!a){break J}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break J}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Qb=f+48|0;return}d=P()|0;O()|0;break b}d=P()|0;O()|0;ec(c)}ec(f+40|0);T(d|0);L()}W(0)|0;O()|0;lc();L()}function Kra(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,p=0,q=0,r=0,s=0,u=0,x=0,z=0,A=0,B=0,C=0,D=0;a:{if(w[a+352|0]|!c){break a}g=v[a+24>>2];while(1){if(!g){v[a+16>>2]=0;A=a;g=0;r=0;i=Qb-1344|0;Qb=i;e=v[a+48>>2];d=1;while(1){d=vt(e,(v[e+20>>2]>>>1|0)+32768|0)|d<<1;if((d|0)<16777216){continue}break}f=d-16777216|0;v[a+24>>2]=f;b:{c:{d:{e:{f:{g:{if(!f){d=0;break g}if((d|0)>=20971521){a=vc(i+32|0,227417,241742,230,342266,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break f}break c}h:{if((f|0)<=v[a+20>>2]){break h}v[a+20>>2]=f;if(!v[a+36>>2]){break h}Xd(a+40|0,0,1)}if(!v[a+36>>2]){Xd(a+40|0,v[a+20>>2],1)}if(vt(e,(v[e+20>>2]>>>1|0)+32768|0)){r=vt(e,(v[e+20>>2]>>>1|0)+32768|0)?2:1}gc(i+1088|0,981648,256);v[i+1080>>2]=0;v[i+1084>>2]=0;v[i+1072>>2]=0;v[i+1076>>2]=0;i:{j:{if(v[a+24>>2]<1){break j}l=a+184|0;k=a+120|0;m=a+88|0;q=a+72|0;s=a- -64|0;u=a+60|0;x=a+58|0;B=a+55|0;f=3;d=i+1088|0;C=d|3;D=d|4;n=-1;j=4;while(1){k:{l:{h=(f|0)<2?f:2;d=(h+a|0)+52|0;f=v[(e+(w[d|0]<<2)|0)+44>>2]+v[e+20>>2]|0;m:{if(f>>>0<=y[e+28>>2]){v[e+20>>2]=f;d=t[d|0]&1;break m}d=rg(e,d,f)}n:{if(d){f=0;d=w[i+1088|0];break n}d=h+B|0;f=v[(e+(w[d|0]<<2)|0)+44>>2]+v[e+20>>2]|0;o:{if(f>>>0<=y[e+28>>2]){v[e+20>>2]=f;d=t[d|0]&1;break o}d=rg(e,d,f)}if(d){f=1;d=w[i+1089|0];break n}f=1;d=v[(e+(w[x|0]<<2)|0)+44>>2]+v[e+20>>2]|0;p:{if(d>>>0<=y[e+28>>2]){v[e+20>>2]=d;d=t[x|0]&1;break p}d=rg(e,x,d)}if(d){while(1){d=f+x|0;h=v[(e+(w[d|0]<<2)|0)+44>>2]+v[e+20>>2]|0;q:{if(h>>>0<=y[e+28>>2]){v[e+20>>2]=h;d=t[d|0]&1;break q}d=rg(e,d,h)}f=d|f<<1;if((f|0)<2){continue}break}d=w[(i+1088|0)+f|0];break n}d=v[(e+(w[u|0]<<2)|0)+44>>2]+v[e+20>>2]|0;r:{if(d>>>0<=y[e+28>>2]){v[e+20>>2]=d;d=t[u|0]&1;break r}d=rg(e,u,d)}if(d){while(1){d=f+u|0;h=v[(e+(w[d|0]<<2)|0)+44>>2]+v[e+20>>2]|0;s:{if(h>>>0<=y[e+28>>2]){v[e+20>>2]=h;d=t[d|0]&1;break s}d=rg(e,d,h)}f=d|f<<1;if((f|0)<4){continue}break}d=w[(i+1088|0)+f|0];break n}d=v[(e+(w[s|0]<<2)|0)+44>>2]+v[e+20>>2]|0;t:{if(d>>>0<=y[e+28>>2]){v[e+20>>2]=d;d=t[s|0]&1;break t}d=rg(e,s,d)}if(d){while(1){d=f+s|0;h=v[(e+(w[d|0]<<2)|0)+44>>2]+v[e+20>>2]|0;u:{if(h>>>0<=y[e+28>>2]){v[e+20>>2]=h;d=t[d|0]&1;break u}d=rg(e,d,h)}f=d|f<<1;if((f|0)<8){continue}break}d=w[(i+1088|0)+f|0];break n}d=v[(e+(w[q|0]<<2)|0)+44>>2]+v[e+20>>2]|0;v:{if(d>>>0<=y[e+28>>2]){v[e+20>>2]=d;d=t[q|0]&1;break v}d=rg(e,q,d)}if(d){while(1){d=f+q|0;h=v[(e+(w[d|0]<<2)|0)+44>>2]+v[e+20>>2]|0;w:{if(h>>>0<=y[e+28>>2]){v[e+20>>2]=h;d=t[d|0]&1;break w}d=rg(e,d,h)}f=d|f<<1;if((f|0)<16){continue}break}d=w[(i+1088|0)+f|0];break n}d=v[(e+(w[m|0]<<2)|0)+44>>2]+v[e+20>>2]|0;x:{if(d>>>0<=y[e+28>>2]){v[e+20>>2]=d;d=t[m|0]&1;break x}d=rg(e,m,d)}if(d){while(1){d=f+m|0;h=v[(e+(w[d|0]<<2)|0)+44>>2]+v[e+20>>2]|0;y:{if(h>>>0<=y[e+28>>2]){v[e+20>>2]=h;d=t[d|0]&1;break y}d=rg(e,d,h)}f=d|f<<1;if((f|0)<32){continue}break}d=w[(i+1088|0)+f|0];break n}d=v[(e+(w[k|0]<<2)|0)+44>>2]+v[e+20>>2]|0;z:{if(d>>>0<=y[e+28>>2]){v[e+20>>2]=d;d=t[k|0]&1;break z}d=rg(e,k,d)}if(d){while(1){d=f+k|0;h=v[(e+(w[d|0]<<2)|0)+44>>2]+v[e+20>>2]|0;A:{if(h>>>0<=y[e+28>>2]){v[e+20>>2]=h;d=t[d|0]&1;break A}d=rg(e,d,h)}f=d|f<<1;if((f|0)<64){continue}break}d=w[(i+1088|0)+f|0];break n}d=v[(e+(w[l|0]<<2)|0)+44>>2]+v[e+20>>2]|0;B:{if(d>>>0<=y[e+28>>2]){v[e+20>>2]=d;d=t[l|0]&1;break B}d=rg(e,l,d)}if(!d){break l}while(1){d=f+l|0;h=v[(e+(w[d|0]<<2)|0)+44>>2]+v[e+20>>2]|0;C:{if(h>>>0<=y[e+28>>2]){v[e+20>>2]=h;d=t[d|0]&1;break C}d=rg(e,d,h)}f=d|f<<1;if((f|0)<128){continue}break}d=w[(i+1088|0)+f|0]}t[v[a+36>>2]+g|0]=d;j=(j>>r)+j|0;if((j|0)>=268435457){v[i+1072>>2]=w[i+1075|0];v[i+1076>>2]=w[i+1079|0];v[i+1080>>2]=w[i+1083|0];v[i+1084>>2]=w[i+1087|0];j=j>>>24|0}D:{E:{F:{if((f|0)>=4){Wd(D,C,f-3|0);h=j;d=3;break F}h=v[(i+1072|0)+(f<<2)>>2]+j|0;if((f|0)<1){break E}d=f}while(1){o=d-1|0;p=v[(i+1072|0)+(o<<2)>>2];if(p>>>0>h>>>0){break D}v[(i+1072|0)+(d<<2)>>2]=p;p=i+1088|0;t[p+d|0]=w[o+p|0];p=(d|0)>1;d=o;if(p){continue}break}}d=0}o=w[v[a+36>>2]+g|0];v[(i+1072|0)+(d<<2)>>2]=h;t[(i+1088|0)+d|0]=o;break k}t[v[a+36>>2]+g|0]=0;f=256;n=g}g=g+1|0;d=v[a+24>>2];if((g|0)<(d|0)){continue}break}if((n|0)<1){break j}if((d|0)>(n|0)){break i}}a=vc(i+32|0,227417,241742,362,342266,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break f}break c}o=Bg(i+1056|0,i+1068|0,v[a+20>>2],4);d=0;ic(v[i+1068>>2],0,v[a+24>>2]<<2);ic(i+32|0,0,1024);f=v[a+36>>2];j=v[i+1068>>2];if((n|0)!=1){g=n&-2;while(1){r=i+32|0;e=w[d+f|0];l=r+(e<<2)|0;h=v[l>>2];v[j+(d<<2)>>2]=h&16777215|e<<24;v[l>>2]=h+1;e=d|1;l=w[e+f|0];k=(l<<2)+r|0;h=v[k>>2];v[j+(e<<2)>>2]=h&16777215|l<<24;v[k>>2]=h+1;d=d+2|0;g=g-2|0;if(g){continue}break}}if(n&1){g=w[d+f|0];h=(i+32|0)+(g<<2)|0;f=v[h>>2];v[j+(d<<2)>>2]=f&16777215|g<<24;v[h>>2]=f+1}g=1;e=v[a+36>>2];l=v[i+1068>>2];d=n+1|0;j=v[a+24>>2];if((d|0)<(j|0)){while(1){j=w[d+e|0];h=(i+32|0)+(j<<2)|0;f=v[h>>2];v[l+(d<<2)>>2]=f&16777215|j<<24;v[h>>2]=f+1;d=d+1|0;j=v[a+24>>2];if((d|0)<(j|0)){continue}break}}d=0;while(1){f=d<<2;h=i+32|0;k=f+h|0;m=v[k>>2];v[k>>2]=g;k=h+(f|4)|0;q=v[k>>2];g=g+m|0;v[k>>2]=g;k=h+(f|8)|0;m=v[k>>2];g=g+q|0;v[k>>2]=g;f=h+(f|12)|0;h=v[f>>2];k=f;f=g+m|0;v[k>>2]=f;g=f+h|0;d=d+4|0;if((d|0)!=256){continue}break}g=0;G:{if((j|0)<2){break G}d=j-2|0;f=v[l>>2];g=f>>>24|0;t[e+d|0]=g;g=v[(i+32|0)+(g<<2)>>2]+(f&16777215)|0;if((j|0)==2){break G}if(j&1){d=j-3|0;f=v[v[i+1068>>2]+(g<<2)>>2];g=f>>>24|0;t[d+v[a+36>>2]|0]=g;g=v[(i+32|0)+(g<<2)>>2]+(f&16777215)|0}if((j|0)==3){break G}while(1){g=v[v[i+1068>>2]+(g<<2)>>2];j=g>>>24|0;t[(v[a+36>>2]+d|0)-1|0]=j;f=d-2|0;g=v[v[i+1068>>2]+(v[(i+32|0)+(j<<2)>>2]+(g&16777215)<<2)>>2];j=g>>>24|0;t[f+v[a+36>>2]|0]=j;g=v[(i+32|0)+(j<<2)>>2]+(g&16777215)|0;j=(d|0)>2;d=f;if(j){continue}break}}if((g|0)!=(n|0)){v[299999]=0;a=aa(4369,i+8|0,227417,241742,404,342266,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break e}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break f}d=P()|0;O()|0;qc(a);break d}d=v[a+24>>2];Lc(o)}Qb=i+1344|0;break b}L()}d=P()|0;O()|0}Lc(o);T(d|0);L()}b=P()|0;O()|0;qc(a);T(b|0);L()}f=v[a+24>>2];H:{if(d){break H}t[a+352|0]=1;f=1}g=f-1|0;v[A+24>>2]=g}f=a;d=(c|0)<(g|0)?c:g;if(!(!b|!d)){b=gc(b,v[a+36>>2]+v[a+16>>2]|0,d)+d|0;g=v[a+24>>2]}g=g-d|0;v[f+24>>2]=g;v[a+16>>2]=d+v[a+16>>2];v[a+12>>2]=d+v[a+12>>2];z=d+z|0;c=c-d|0;if(!c){break a}if(!w[a+352|0]){continue}break}}return z|0}function Nea(a,b){a=a|0;b=b|0;var 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,w=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0;e=Qb-96|0;Qb=e;h=e- -64|0;c=Qb-32|0;Qb=c;a:{d=v[b>>2];f=JD(d);b:{if((f&-4)!=1296912896){a=vc(c+8|0,240057,241436,862,342880,0);break b}v[e+60>>2]=f&1;E=e,F=Cj(d),v[E+68>>2]=F;d=Cj(d);v[h>>2]=d;if((d|0)>0&v[e+68>>2]>=1){break a}a=vc(c+8|0,240084,241436,868,342880,0)}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)==1){b=P()|0;O()|0;qc(a);T(b|0)}L()}Qb=c+32|0;h=(f&2)>>>1|0;c=fc(108);v[299999]=0;d=S(4833,c|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){a=P()|0;O()|0;dc(c);T(a|0);L()}v[a>>2]=0;Wc(a,d);d=v[a>>2];v[299999]=0;i=v[e+68>>2];c=v[e+64>>2];v[d+76>>2]=c;v[d+72>>2]=i;d=v[299999];v[299999]=0;c:{d:{if((d|0)!=1){d=(i|0)/17|0;f=(c|0)/22|0;d=(d|0)>(f|0)?d:f;d=(d|0)>64?d:64;o=(d|0)<500?d:500;r=o-1|0;p=(r+i|0)/(o|0)|0;d=0;e:{f:{f=v[b>>2];if(f){v[299999]=0;v[f+4>>2]=v[f+4>>2]+1;d=v[299999];v[299999]=0;if((d|0)==1){break f}d=v[b>>2]}v[299999]=0;v[e+48>>2]=d;fa(5352,e+56|0,e+48|0,i|0,c|0,h|0);b=v[299999];v[299999]=0;if((b|0)==1){break e}v[e+48>>2]=0;g:{h:{i:{if(!d){break i}v[299999]=0;b=v[d+4>>2]-1|0;v[d+4>>2]=b;f=v[299999];v[299999]=0;if((f|0)==1){break h}if(b){break i}v[299999]=0;R(4338,d|0);b=v[299999];v[299999]=0;if((b|0)==1){break h}}l=v[e+56>>2];j:{k:{l:{m:{n:{if((c|0)>=1){z=v[e+60>>2]!=0;A=p-1|0;C=e+8|4;n=c-1|0;while(1){v[299999]=0;t=Z(4658,e+24|0,982876,0,A|0)|0;b=v[299999];v[299999]=0;o:{p:{if((b|0)!=1){g=(n|0)>(r|0)?r:n;if((g|0)<0){break o}n=(g^-1)+n|0;if((i|0)<1){break p}while(1){v[299999]=0;q=Q(5353,l|0,0)|0;b=v[299999];v[299999]=0;q:{if((b|0)!=1){if(!q){break q}D=g+1|0;c=0;s=z;b=0;m=0;while(1){h=(b|0)>(p|0)?b:p;w=m;m=x[q>>1]+m|0;j=b;f=b;k=c;d=c;r:{if(!(s&1)){while(1){c=k;b=j;if((h|0)==(b|0)){b=h;break r}j=b+1|0;d=c+o|0;k=(d|0)<(i|0)?d:i;if((m|0)>=(k|0)){continue}break r}}s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{while(1){if((f|0)==(h|0)){b=h;c=d;break r}b=v[e+40>>2];if((b|0)>(f|0)){break A}c=v[e+44>>2];if((f|0)>(c|0)){break A}j=d+o|0;j=(i|0)>(j|0)?j:i;E:{if(!v[v[e+28>>2]+(f-v[e+32>>2]<<2)>>2]){v[299999]=0;b=S(1,72)|0;c=v[299999];v[299999]=0;if((c|0)==1){break E}v[299999]=0;c=Z(4919,b|0,D|0,j-d|0,0)|0;k=v[299999];v[299999]=0;if((k|0)==1){break D}v[299999]=0;v[e+8>>2]=0;Q(4336,e+8|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break E}if(v[e+44>>2]<(f|0)|v[e+40>>2]>(f|0)){break z}v[299999]=0;Q(4344,v[e+28>>2]+(f-v[e+32>>2]<<2)|0,e+8|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break C}b=v[e+8>>2];v[e+8>>2]=0;F:{if(!b){break F}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;k=v[299999];v[299999]=0;if((k|0)==1){break c}if(c){break F}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break c}}c=v[e+44>>2];b=v[e+40>>2]}if((c|0)<(f|0)|(b|0)>(f|0)){break u}b=v[v[e+28>>2]+(f-v[e+32>>2]<<2)>>2];if(!v[b+20>>2]){v[299999]=0;R(4368,b|0);c=v[299999];v[299999]=0;if((c|0)==1){break B}}G:{if(x[b+8>>1]<=(g|0)){c=x[b+14>>1];b=x[b+12>>1];if(v[282398]<(c+b|0)){break v}b=b+v[282397]|0;break G}b=v[b+20>>2]+(x[b+12>>1]+B(x[b+14>>1],g)|0)|0}k=(j|0)>(m|0);y=k?m:j;c=(d|0)<(w|0)?w:d;if((y|0)>(c|0)){ic(b+(c-d|0)|0,1,y-c|0)}c=d;b=f;f=b+1|0;d=j;if(k){break r}continue}break}d=P()|0;O()|0;break l}d=P()|0;O()|0;dc(b);break l}d=P()|0;O()|0;break w}d=P()|0;O()|0;break l}v[299999]=0;b=aa(4369,e+72|0,227445,271729,619,308377,0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break y}v[299999]=0;R(4370,b|0);c=v[299999];v[299999]=0;if((c|0)!=1){break g}d=P()|0;O()|0;qc(b);break l}v[299999]=0;b=aa(4369,e+72|0,227445,271729,619,308377,0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break x}v[299999]=0;R(4370,b|0);c=v[299999];v[299999]=0;if((c|0)!=1){break g}d=P()|0;O()|0;qc(b);break w}d=P()|0;O()|0;break l}d=P()|0;O()|0}ec(e+8|0);break l}v[299999]=0;b=aa(4369,e+72|0,260231,271771,577,336631,0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break t}v[299999]=0;R(4370,b|0);c=v[299999];v[299999]=0;if((c|0)!=1){break g}d=P()|0;O()|0;qc(b);break l}v[299999]=0;b=aa(4369,e+72|0,227445,271729,619,308377,0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){break s}}d=P()|0;O()|0;break l}v[299999]=0;R(4370,b|0);c=v[299999];v[299999]=0;if((c|0)!=1){break g}d=P()|0;O()|0;qc(b);break l}q=q+2|0;s=s^1;if((i|0)>(m|0)){continue}break}break q}d=P()|0;O()|0;break l}b=(g|0)>0;g=g-1|0;if(b){continue}break}break o}d=P()|0;O()|0;break k}while(1){H:{v[299999]=0;Q(5353,l|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break H}b=(g|0)>0;g=g-1|0;if(b){continue}break o}break}d=P()|0;O()|0;break l}f=0;if((p|0)>0){b=n+1|0;while(1){v[e+12>>2]=0;I:{J:{if(!(v[e+44>>2]<(f|0)|v[e+40>>2]>(f|0))){v[299999]=0;Q(4344,C|0,v[e+28>>2]+(f-v[e+32>>2]<<2)|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break n}d=v[e+12>>2];if(d){v[299999]=0;v[e+8>>2]=-1;R(5066,d|0);c=v[299999];v[299999]=0;if((c|0)==1){break n}u[e+74>>1]=b;u[e+72>>1]=B(f,o);c=v[a>>2];v[299999]=0;c=Q(5312,c|0,e+8|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break J}v[e+76>>2]=c;c=v[a>>2];v[299999]=0;Q(5316,c|0,e+72|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break J}d=v[e+12>>2]}v[e+12>>2]=0;if(!d){break I}v[299999]=0;c=v[d+4>>2]-1|0;v[d+4>>2]=c;h=v[299999];v[299999]=0;if((h|0)!=1){if(c){break I}v[299999]=0;R(4338,d|0);c=v[299999];v[299999]=0;if((c|0)!=1){break I}}break c}v[299999]=0;b=aa(4369,e+72|0,227445,271729,619,308377,0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){v[299999]=0;R(4370,b|0);c=v[299999];v[299999]=0;if((c|0)!=1){break g}d=P()|0;O()|0;qc(b);break m}d=P()|0;O()|0;break m}d=P()|0;O()|0;break m}f=f+1|0;if((p|0)!=(f|0)){continue}break}}fd(t);if((n|0)>-1){continue}break}l=v[e+56>>2]}v[e+56>>2]=0;if(!l){break j}v[299999]=0;a=v[l+4>>2]-1|0;v[l+4>>2]=a;b=v[299999];v[299999]=0;if((b|0)!=1){if(a){break j}v[299999]=0;R(4338,l|0);a=v[299999];v[299999]=0;if((a|0)!=1){break j}}break c}d=P()|0;O()|0}ec(e+8|4)}fd(t)}b=v[e+56>>2];v[e+56>>2]=0;if(!b){break d}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;f=v[299999];v[299999]=0;if((f|0)!=1){if(c){break d}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break d}}break c}Qb=e+96|0;return}W(0)|0;O()|0;lc()}L()}d=P()|0;O()|0;break d}d=P()|0;O()|0;ec(e+48|0);break d}d=P()|0;O()|0}b=v[a>>2];v[a>>2]=0;K:{L:{if(!b){break L}v[299999]=0;a=v[b+4>>2]-1|0;v[b+4>>2]=a;c=v[299999];v[299999]=0;if((c|0)==1){break K}if(a){break L}v[299999]=0;R(4338,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break K}}T(d|0);L()}}W(0)|0;O()|0;lc();L()}function V2(a,b){var 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,y=0;f=Qb-256|0;Qb=f;a:{if(!v[a+4>>2]){break a}m=v[a+20>>2];g=v[a+16>>2];p=B(m,g);h=fc(p<<2);e=0-(g<<2)|0;v[b+12>>2]=e;v[b+8>>2]=m;v[b+4>>2]=g;v[b+16>>2]=h;k=x[a+26>>1];o=v[a+52>>2];c=xe(a,0);i=v[a+4>>2];i=i?v[a+44>>2]?i+40|0:0:0;n=w[a+389|0];j=w[b+40|0];b:{c:{switch(k-1|0){case 0:if(!i){t[f+6|0]=255;u[f+4>>1]=65535;t[f+2|0]=0;u[f>>1]=0;i=f}if((m|0)>=1){k=0;b=h;while(1){d=0;if((g|0)>0){while(1){e=((w[(d>>>3|0)+c|0]>>>((d^-1)&7)&1)<<2)+i|0;n=e+2|0;t[b|0]=w[(j?n:e)|0];t[b+1|0]=w[e+1|0];t[b+2|0]=w[(j?e:n)|0];b=b+4|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}c=c+o|0;k=k+1|0;if((m|0)!=(k|0)){continue}break}}d=0;break b;default:a=v[b+16>>2];if(a){dc(a)}a=v[b+20>>2];if(a){dc(a)}v[b>>2]=0;v[b+4>>2]=0;t[b+40|0]=0;v[b+32>>2]=0;v[b+36>>2]=-1074790400;t[b+21|0]=0;t[b+22|0]=0;t[b+23|0]=0;t[b+24|0]=0;t[b+25|0]=0;t[b+26|0]=0;t[b+27|0]=0;t[b+28|0]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;break a;case 31:if((m|0)<1|(g|0)<1){break b}k=e+o|0;i=g&-2;o=g&1;e=0;b=h;while(1){d=i;if((g|0)!=1){while(1){n=c+2|0;t[b|0]=w[(j?n:c)|0];t[b+1|0]=w[c+1|0];t[b+2|0]=w[(j?c:n)|0];t[b+4|0]=w[(j?6:4)+c|0];t[b+5|0]=w[c+5|0];t[b+6|0]=w[(j?4:6)+c|0];b=b+8|0;c=c+8|0;d=d-2|0;if(d){continue}break}}if(o){d=c+2|0;t[b|0]=w[(j?d:c)|0];t[b+1|0]=w[c+1|0];t[b+2|0]=w[(j?c:d)|0];c=c+4|0;b=b+4|0}c=c+k|0;e=e+1|0;if((m|0)!=(e|0)){continue}break};d=0;break b;case 23:if((m|0)<1|(g|0)<1){break b}k=o+B(g,-3)|0;i=g&-2;o=g&1;e=0;b=h;while(1){d=i;if((g|0)!=1){while(1){n=c+2|0;t[b|0]=w[(j?n:c)|0];t[b+1|0]=w[c+1|0];t[b+2|0]=w[(j?c:n)|0];t[b+4|0]=w[(j?5:3)+c|0];t[b+5|0]=w[c+4|0];t[b+6|0]=w[(j?3:5)+c|0];b=b+8|0;c=c+6|0;d=d-2|0;if(d){continue}break}}if(o){d=c+2|0;t[b|0]=w[(j?d:c)|0];t[b+1|0]=w[c+1|0];t[b+2|0]=w[(j?c:d)|0];c=c+3|0;b=b+4|0}c=c+k|0;e=e+1|0;if((m|0)!=(e|0)){continue}break};d=0;break b;case 7:o=o-g|0;q=v[a+336>>2];if(i){d:{if((m|0)<1|(g|0)<1){break d}if(n){k=0;b=h;while(1){d=0;while(1){e=(w[c|0]<<2)+i|0;l=e+2|0;t[b|0]=w[(j?l:e)|0];t[b+1|0]=w[e+1|0];t[b+2|0]=w[(j?e:l)|0];t[b+3|0]=w[e+3|0];b=b+4|0;c=c+1|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}c=c+o|0;k=k+1|0;if((m|0)!=(k|0)){continue}break}break d}if((q|0)==-1){d=g&-2;s=g&1;k=0;b=h;while(1){e=d;if((g|0)!=1){while(1){l=(w[c|0]<<2)+i|0;r=l+2|0;t[b|0]=w[(j?r:l)|0];t[b+1|0]=w[l+1|0];t[b+2|0]=w[(j?l:r)|0];l=(w[c+1|0]<<2)+i|0;r=l+2|0;t[b+4|0]=w[(j?r:l)|0];t[b+5|0]=w[l+1|0];t[b+6|0]=w[(j?l:r)|0];b=b+8|0;c=c+2|0;e=e-2|0;if(e){continue}break}}if(s){e=(w[c|0]<<2)+i|0;l=e+2|0;t[b|0]=w[(j?l:e)|0];t[b+1|0]=w[e+1|0];t[b+2|0]=w[(j?e:l)|0];c=c+1|0;b=b+4|0}c=c+o|0;k=k+1|0;if((m|0)!=(k|0)){continue}break}break d}l=(q<<2)+i|0;b=h;while(1){e=0;while(1){k=w[c|0];d=(k<<2)+i|0;s=d+2|0;t[b|0]=w[(j?s:d)|0];t[b+1|0]=w[d+1|0];t[b+2|0]=w[(j?d:s)|0];t[b+3|0]=(k|0)==(q|0)?w[l+3|0]:255;b=b+4|0;c=c+1|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}c=c+o|0;r=r+1|0;if((r|0)!=(m|0)){continue}break}}d=n|(q|0)!=-1;break b}if((m|0)<1|(g|0)<1){break b}i=g&-4;j=g&3;e=0;k=g-1>>>0<3;b=h;while(1){d=i;if(!k){while(1){g=w[c|0];t[b+2|0]=g;t[b+1|0]=g;t[b|0]=g;g=w[c+1|0];t[b+6|0]=g;t[b+5|0]=g;t[b+4|0]=g;g=w[c+2|0];t[b+10|0]=g;t[b+9|0]=g;t[b+8|0]=g;g=w[c+3|0];t[b+14|0]=g;t[b+13|0]=g;t[b+12|0]=g;b=b+16|0;c=c+4|0;d=d-4|0;if(d){continue}break}}d=j;if(d){while(1){g=w[c|0];t[b+2|0]=g;t[b+1|0]=g;t[b|0]=g;b=b+4|0;c=c+1|0;d=d-1|0;if(d){continue}break}}c=c+o|0;e=e+1|0;if((m|0)!=(e|0)){continue}break};d=0;break b;case 3:if(!i){t[f+62|0]=255;t[f+58|0]=238;t[f+54|0]=221;t[f+50|0]=204;t[f+46|0]=187;t[f+42|0]=170;t[f+38|0]=153;t[f+30|0]=119;t[f+26|0]=102;t[f+22|0]=85;t[f+18|0]=68;t[f+10|0]=34;t[f+34|0]=136;u[f+60>>1]=65535;u[f+56>>1]=61166;u[f+52>>1]=56797;u[f+48>>1]=52428;u[f+44>>1]=48059;u[f+40>>1]=43690;u[f+36>>1]=39321;u[f+32>>1]=34952;u[f+28>>1]=30583;u[f+24>>1]=26214;u[f+20>>1]=21845;u[f+16>>1]=17476;t[f+14|0]=51;u[f+12>>1]=13107;u[f+8>>1]=8738;t[f+6|0]=17;u[f+4>>1]=4369;t[f+2|0]=0;u[f>>1]=0;i=f}k=v[a+336>>2];if((m|0)>=1){l=(k<<2)+i|0;s=(g|0)<1;b=h;while(1){e:{if(s){break e}d=0;if(n){while(1){e=((w[(d>>>1|0)+c|0]>>>((d<<2^-1)&4)&15)<<2)+i|0;q=e+2|0;t[b|0]=w[(j?q:e)|0];t[b+1|0]=w[e+1|0];t[b+2|0]=w[(j?e:q)|0];t[b+3|0]=w[e+3|0];b=b+4|0;d=d+1|0;if((g|0)!=(d|0)){continue}break e}}if((k|0)==-1){while(1){e=((w[(d>>>1|0)+c|0]>>>((d<<2^-1)&4)&15)<<2)+i|0;q=e+2|0;t[b|0]=w[(j?q:e)|0];t[b+1|0]=w[e+1|0];t[b+2|0]=w[(j?e:q)|0];b=b+4|0;d=d+1|0;if((g|0)!=(d|0)){continue}break e}}while(1){q=w[(d>>>1|0)+c|0]>>>((d<<2^-1)&4)&15;e=(q<<2)+i|0;r=e+2|0;t[b|0]=w[(j?r:e)|0];t[b+1|0]=w[e+1|0];t[b+2|0]=w[(j?e:r)|0];t[b+3|0]=(k|0)==(q|0)?w[l+3|0]:255;b=b+4|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}c=c+o|0;y=y+1|0;if((y|0)!=(m|0)){continue}break}}d=n|(k|0)!=-1;break b;case 1:break c}}if(!i){t[f+14|0]=255;u[f+12>>1]=65535;t[f+10|0]=170;u[f+8>>1]=43690;t[f+6|0]=85;u[f+4>>1]=21845;t[f+2|0]=0;u[f>>1]=0;i=f}if((m|0)>=1){k=0;b=h;while(1){d=0;if((g|0)>0){while(1){e=((w[(d>>>2|0)+c|0]>>>((d<<1^-1)&6)&3)<<2)+i|0;n=e+2|0;t[b|0]=w[(j?n:e)|0];t[b+1|0]=w[e+1|0];t[b+2|0]=w[(j?e:n)|0];b=b+4|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}c=c+o|0;k=k+1|0;if((m|0)!=(k|0)){continue}break}}d=0}f:{if(v[a+964>>2]){b=0;c=oB(a);a=w[a+388|0];if((a|0)==255){if((p|0)<1){break a}b=p&7;if(p-1>>>0>=7){d=p&-8;while(1){t[h+3|0]=w[c|0];t[h+7|0]=w[c+1|0];t[h+11|0]=w[c+2|0];t[h+15|0]=w[c+3|0];t[h+19|0]=w[c+4|0];t[h+23|0]=w[c+5|0];t[h+27|0]=w[c+6|0];t[h+31|0]=w[c+7|0];h=h+32|0;c=c+8|0;d=d-8|0;if(d){continue}break}}if(!b){break a}while(1){t[h+3|0]=w[c|0];h=h+4|0;c=c+1|0;b=b-1|0;if(b){continue}break}break a}d=a>>>1|0;while(1){i=(d+B(b,255)>>>0)/(a>>>0)|0;t[b+f|0]=i>>>0<255?i:255;e=b|1;i=(d+B(e,255)>>>0)/(a>>>0)|0;t[f+e|0]=i>>>0<255?i:255;b=b+2|0;if((b|0)!=256){continue}break}break f}if((p|0)<1|d){break a}c=p&7;if(p-1>>>0>=7){b=p&-8;while(1){t[h+31|0]=255;t[h+27|0]=255;t[h+23|0]=255;t[h+19|0]=255;t[h+15|0]=255;t[h+11|0]=255;t[h+7|0]=255;t[h+3|0]=255;h=h+32|0;b=b-8|0;if(b){continue}break}}if(!c){break a}while(1){t[h+3|0]=255;h=h+4|0;c=c-1|0;if(c){continue}break}break a}if((p|0)<1){break a}b=p&3;if(p-1>>>0>=3){d=p&-4;while(1){t[h+3|0]=w[w[c|0]+f|0];t[h+7|0]=w[w[c+1|0]+f|0];t[h+11|0]=w[w[c+2|0]+f|0];t[h+15|0]=w[w[c+3|0]+f|0];h=h+16|0;c=c+4|0;d=d-4|0;if(d){continue}break}}if(!b){break a}while(1){t[h+3|0]=w[w[c|0]+f|0];h=h+4|0;c=c+1|0;b=b-1|0;if(b){continue}break}}Qb=f+256|0}function Y2(a,b){a=a|0;b=b|0;var 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,u=0,x=0;h=Qb-128|0;Qb=h;if(b){Sc(4272,0)}b=0;Sc(8946,0);a:{b:{c:{if(_s(a,h+104|0)|v[h+104>>2]!=19778){break c}if(Hk(a,h+104|4)){break c}if(_s(a,h+112|0)){break c}if(_s(a,h+116|0)){break c}if(!Hk(a,h+120|0)){break b}}Sc(12147,0);break a}f=T2();if(f){d:{if(Hk(a,f)|v[f>>2]!=40){break d}if(Hk(a,f+4|0)){break d}if(Hk(a,f+8|0)){break d}if(_s(a,f+16|0)){break d}if(_s(a,f+20|0)){break d}if(Hk(a,f+24|0)){break d}if(Hk(a,f+28|0)){break d}if(Hk(a,f+32|0)){break d}if(Hk(a,f+36|0)){break d}if(Hk(a,f+40|0)){break d}if(Hk(a,f+44|0)){break d}b=f;c=v[f+8>>2];if((c|0)<=-1){c=0-c|0;v[f+8>>2]=c;d=1}else{d=0}t[b+12|0]=d;if(v[f+4>>2]<1|(c|0)<1|(v[f+16>>2]<1|v[f+20>>2]<1)){break d}b=v[f+40>>2];if((b|0)<0|v[f+44>>2]<0){break d}if(v[f+24>>2]){Sc(24193,0);break d}e:{f:{g:{if((b|0)>=1){e=jc(b<<4);v[f+48>>2]=e;if(!e){break d}b=v[f+40>>2];if((b|0)<1){break g}c=0;b=v[a+8>>2];if(b&7){break f}while(1){d=v[a+64>>2];if(!((d|0)<0|(d|0)>v[a+60>>2])){v[a+8>>2]=b|4;break f}d=v[a+28>>2];v[a+28>>2]=d-1;h:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;d=v[a+24>>2];v[a+24>>2]=d+1;v[((c<<4)+e|0)+8>>2]=w[d|0];break h}b=Hc(a,1);v[((c<<4)+e|0)+8>>2]=b;if((b|0)==-1){break d}b=v[a+8>>2]}i:{if(!(b&7)){d=v[a+64>>2];if((d|0)<0|(d|0)>v[a+60>>2]){break i}v[a+8>>2]=b|4}a=((c<<4)+e|0)+4|0;break e}d=v[a+28>>2];v[a+28>>2]=d-1;j:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;d=v[a+24>>2];v[a+24>>2]=d+1;v[((c<<4)+e|0)+4>>2]=w[d|0];break j}b=Hc(a,1);v[((c<<4)+e|0)+4>>2]=b;if((b|0)==-1){break d}b=v[a+8>>2]}k:{if(!(b&7)){d=v[a+64>>2];if((d|0)<0|(d|0)>v[a+60>>2]){break k}v[a+8>>2]=b|4}a=(c<<4)+e|0;break e}d=v[a+28>>2];v[a+28>>2]=d-1;l:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;d=v[a+24>>2];v[a+24>>2]=d+1;v[(c<<4)+e>>2]=w[d|0];break l}b=Hc(a,1);v[(c<<4)+e>>2]=b;if((b|0)==-1){break d}b=v[a+8>>2]}m:{if(!(b&7)){d=v[a+64>>2];if((d|0)<0|(d|0)>v[a+60>>2]){break m}v[a+8>>2]=b|4}a=((c<<4)+e|0)+12|0;break e}b=v[a+28>>2];v[a+28>>2]=b-1;n:{if((b|0)>=1){v[a+60>>2]=v[a+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;v[((c<<4)+e|0)+12>>2]=w[b|0];break n}b=Hc(a,1);v[((c<<4)+e|0)+12>>2]=b;if((b|0)==-1){break d}}b=v[f+40>>2];c=c+1|0;if((b|0)<=(c|0)){break g}e=v[f+48>>2];b=v[a+8>>2];if(!(b&7)){continue}break}break f}b=0;v[f+48>>2]=0}o:{p:{if(v[h+112>>2]|v[h+104>>2]!=19778|(v[h+116>>2]|v[f+16>>2]!=1)){break p}c=v[f+20>>2]-8|0;if((c|0)!=16?c:0){break p}if(!v[f+24>>2]){break o}}b=0;Sc(17226,0);Zs(f);break a}e=(v[h+120>>2]-(b<<2)|0)-54|0;if((e|0)<=-1){b=0;Sc(19706,0);break a}q:{if(!e){break q}b=0;Sc(22236,0);r:{while(1){c=0;if((e|0)<1){break r}c=v[a+8>>2];if(!(c&7)){d=v[a+64>>2];if(!((d|0)<0|(d|0)>v[a+60>>2])){v[a+8>>2]=c|4;c=-1;break r}c=v[a+28>>2];v[a+28>>2]=c-1;e=e-1|0;s:{if((c|0)<=0){c=Hc(a,1);break s}v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;c=w[c|0]}if((c|0)!=-1){continue}}break}c=-1}if(!c){break q}Zs(f);break a}t:{u:{v:{c=S2(f);w:{if(c){d=v[f+8>>2];i=v[f+4>>2];b=h;if((c|0)!=1){e=c&-2;while(1){v[b+32>>2]=0;v[b+36>>2]=0;v[b+24>>2]=8;v[b+28>>2]=0;v[b+20>>2]=d;v[b+16>>2]=i;v[b+8>>2]=1;v[b+12>>2]=1;v[b>>2]=0;v[b+4>>2]=0;v[b+56>>2]=8;v[b+60>>2]=0;v[b+52>>2]=d;v[b+48>>2]=i;v[b+40>>2]=1;v[b+44>>2]=1;b=b- -64|0;e=e-2|0;if(e){continue}break}}if(c&1){v[b+24>>2]=8;v[b+28>>2]=0;v[b+20>>2]=d;v[b+16>>2]=i;v[b+8>>2]=1;v[b+12>>2]=1;v[b>>2]=0;v[b+4>>2]=0}b=Lq(c,h);if(!b){break w}if((c|0)!=3){break v}c=v[b+24>>2];v[v[c>>2]+40>>2]=0;v[v[c+4>>2]+40>>2]=1;i=1025;e=2;c=c+8|0;break u}b=Lq(c,h);if(b){break v}}Zs(f);break t}i=769;e=0;c=v[b+24>>2]}v[v[c>>2]+40>>2]=e;v[b+28>>2]=i;e=0;i=0;k=Qb-16|0;Qb=k;c=v[f+20>>2]-8|0;if(!(!c|(c|0)==16)){X(25751,27137,328,188560);L()}x:{if(!v[f+24>>2]){l=S2(f);d=v[f+20>>2];y:{z:{A:{if((l|0)<=0){m=f+4|0;e=d;break A}ic(k+4|0,0,l<<2);m=f+4|0;while(1){c=yj(1,v[f+4>>2]);v[(k+4|0)+(e<<2)>>2]=c;if(!c){break z}e=e+1|0;if((l|0)!=(e|0)){continue}break}e=v[f+20>>2]}c=v[f+4>>2];j=(B(l,c)|0)%4|0;if(v[f+8>>2]<1){break y}r=j?4-j|0:0;s=-1<>2];o=v[k+8>>2];p=v[k+4>>2];u=(d|0)!=8;x=(l|0)!=3;while(1){e=0;B:{C:{if((c|0)>0){while(1){d=v[a+8>>2];c=d&7;D:{if(!u){if(c){break z}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break C}c=v[a+28>>2];v[a+28>>2]=c-1;g=-1;E:{if((c|0)<=0){c=Hc(a,1);break E}v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;c=w[c|0]}if((c|0)==-1|(c|0)>(s|0)){break y}if(v[f+40>>2]<=(c|0)){j=c;d=c;break D}d=v[f+48>>2]+(c<<4)|0;c=v[d+8>>2];j=v[d+4>>2];d=v[d>>2];break D}if(c){break z}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break C}c=v[a+28>>2];v[a+28>>2]=c-1;F:{if((c|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;c=w[c|0];break F}g=-1;c=Hc(a,1);if((c|0)==-1){break y}d=v[a+8>>2]}if(d&7){break z}g=v[a+64>>2];if((g|0)>=0&(g|0)<=v[a+60>>2]){break C}g=v[a+28>>2];v[a+28>>2]=g-1;G:{if((g|0)>=1){v[a+60>>2]=v[a+60>>2]+1;g=v[a+24>>2];v[a+24>>2]=g+1;j=w[g|0];break G}g=-1;j=Hc(a,1);if((j|0)==-1){break y}d=v[a+8>>2]}g=-1;if(d&7){break y}g=v[a+64>>2];if((g|0)>=0&(g|0)<=v[a+60>>2]){break C}d=v[a+28>>2];v[a+28>>2]=d-1;if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;d=v[a+24>>2];v[a+24>>2]=d+1;d=w[d|0];break D}g=-1;d=Hc(a,1);if((d|0)==-1){break y}}g=v[p+28>>2];q=v[p+20>>2];H:{if(!x){if((q|0)==1){g=v[g>>2]+(e<<2)|0}else{g=v[g+(e<<2)>>2]}v[g>>2]=d;d=v[o+28>>2];if(v[o+20>>2]==1){d=v[d>>2]+(e<<2)|0}else{d=v[d+(e<<2)>>2]}v[d>>2]=j;d=v[n+28>>2];if(v[n+20>>2]==1){v[v[d>>2]+(e<<2)>>2]=c;break H}v[v[d+(e<<2)>>2]>>2]=c;break H}if((q|0)==1){v[v[g>>2]+(e<<2)>>2]=d;break H}v[v[g+(e<<2)>>2]>>2]=d}e=e+1|0;if((e|0)>2]){continue}break}}e=r;if((e|0)<=0){break B}while(1){d=v[a+8>>2];if(d&7){break z}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break C}c=v[a+28>>2];v[a+28>>2]=c-1;I:{if((c|0)>=1){v[a+60>>2]=v[a+60>>2]+1;v[a+24>>2]=v[a+24>>2]+1;break I}g=-1;if((Hc(a,1)|0)==-1){break y}}c=(e|0)>1;e=e-1|0;if(c){continue}break}break B}v[a+8>>2]=d|4;break z}e=0;if((l|0)>0){j=i^-1;while(1){if(cj(b,e,0,w[f+12|0]?i:j+v[f+8>>2]|0,v[m>>2],1,v[(k+4|0)+(e<<2)>>2])){break z}e=e+1|0;if((l|0)!=(e|0)){continue}break}}i=i+1|0;if((i|0)>=v[f+8>>2]){g=0;break y}else{c=v[m>>2];continue}}}g=-1}if((l|0)>=1){a=0;while(1){c=v[(k+4|0)+(a<<2)>>2];if(c){$e(c)}a=a+1|0;if((l|0)!=(a|0)){continue}break}}Qb=k+16|0;break x}X(29130,27137,329,188560);L()}Zs(f);if(!g){break a}Wg(b)}b=0;break a}a=((c<<4)+e|0)+8|0}v[a>>2]=-1}Zs(f)}b=0;Sc(14697,0)}Qb=h+128|0;return b|0}function Ema(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;h=Qb-16|0;Qb=h;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{switch(b-254|0){default:switch(b-32995|0){case 1:break k;case 3:break l;case 0:break p;case 2:break i;default:break b};case 0:v[v[c>>2]>>2]=v[a+80>>2];d=1;break a;case 2:v[v[c>>2]>>2]=v[a+56>>2];d=1;break a;case 3:v[v[c>>2]>>2]=v[a+60>>2];d=1;break a;case 4:u[v[c>>2]>>1]=x[a+84>>1];d=1;break a;case 5:u[v[c>>2]>>1]=x[a+88>>1];d=1;break a;case 8:u[v[c>>2]>>1]=x[a+90>>1];d=1;break a;case 9:u[v[c>>2]>>1]=x[a+92>>1];d=1;break a;case 12:u[v[c>>2]>>1]=x[a+94>>1];d=1;break a;case 20:u[v[c>>2]>>1]=x[a+96>>1];d=1;break a;case 23:u[v[c>>2]>>1]=x[a+98>>1];d=1;break a;case 24:v[v[c>>2]>>2]=v[a+100>>2];d=1;break a;case 26:u[v[c>>2]>>1]=x[a+104>>1];d=1;break a;case 27:u[v[c>>2]>>1]=x[a+106>>1];d=1;break a;case 86:A[v[c>>2]>>3]=A[a+112>>3];d=1;break a;case 87:A[v[c>>2]>>3]=A[a+120>>3];d=1;break a;case 28:z[v[c>>2]>>2]=z[a+128>>2];d=1;break a;case 29:z[v[c>>2]>>2]=z[a+132>>2];d=1;break a;case 30:u[v[c>>2]>>1]=x[a+138>>1];d=1;break a;case 32:z[v[c>>2]>>2]=z[a+140>>2];d=1;break a;case 33:z[v[c>>2]>>2]=z[a+144>>2];d=1;break a;case 42:u[v[c>>2]>>1]=x[a+136>>1];d=1;break a;case 43:u[v[c>>2]>>1]=x[a+148>>1];u[v[c+4>>2]>>1]=x[a+150>>1];d=1;break a;case 67:u[v[c>>2]>>1]=x[a+164>>1];u[v[c+4>>2]>>1]=x[a+166>>1];d=1;break a;case 66:v[v[c>>2]>>2]=v[a+152>>2];v[v[c+4>>2]>>2]=v[a+156>>2];v[v[c+8>>2]>>2]=v[a+160>>2];d=1;break a;case 19:case 70:v[v[c>>2]>>2]=v[a+184>>2];d=1;break a;case 85:break j;case 69:break m;case 68:break n;case 84:break o;case 25:case 71:break q;case 1:case 6:case 7:case 10:case 11:case 13:case 14:case 15:case 16:case 17:case 18:case 21:case 22:case 31:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 44:case 45:case 46:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 65:case 72:case 73:case 74:case 75:case 77:case 78:case 80:case 81:case 82:case 83:case 88:case 89:case 90:case 91:case 92:case 93:case 94:case 95:case 96:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:case 123:case 124:case 125:case 126:case 127:case 128:case 129:case 130:case 131:case 132:case 133:case 134:case 135:case 136:case 137:case 138:case 139:case 140:case 141:case 142:case 143:case 144:case 145:case 146:case 147:case 148:case 149:case 150:case 151:case 152:case 153:case 154:case 155:case 156:case 157:case 158:case 159:case 160:case 161:case 162:case 163:case 164:case 165:case 166:case 167:case 168:case 169:case 170:case 171:case 172:case 173:case 174:case 175:case 176:case 177:case 178:case 179:case 180:case 181:case 182:case 183:case 184:case 185:case 186:case 187:case 188:case 189:case 190:case 191:case 192:case 193:case 194:case 195:case 196:case 197:case 198:case 199:case 200:case 201:case 202:case 203:case 204:case 205:case 206:case 207:case 208:case 209:case 210:case 211:case 212:case 213:case 214:case 215:case 216:case 217:case 218:case 219:case 220:case 221:case 222:case 223:case 224:case 225:case 226:case 227:case 228:case 229:case 230:case 231:case 232:case 233:case 234:case 235:case 236:case 237:case 238:case 239:case 240:case 241:case 242:case 243:case 244:case 245:case 246:case 247:case 248:case 249:case 250:case 251:case 252:case 253:case 254:case 255:case 256:case 257:case 258:case 259:case 260:case 261:case 262:case 263:case 264:case 265:case 266:case 267:case 268:case 269:case 270:case 271:case 272:case 273:case 274:case 275:break b;case 79:break c;case 278:break d;case 47:break e;case 276:break f;case 277:break g;case 76:break h}}v[v[c>>2]>>2]=v[a+188>>2];d=1;break a}d=1;u[v[c>>2]>>1]=x[v[a+172>>2]>>1]==1&x[a+168>>1]==1;break a}u[v[c>>2]>>1]=x[a+168>>1];v[v[c+4>>2]>>2]=v[a+172>>2];d=1;break a}v[v[c>>2]>>2]=v[a+68>>2];d=1;break a}v[v[c>>2]>>2]=v[a+72>>2];d=1;break a}v[v[c>>2]>>2]=v[a+76>>2];d=1;break a}d=1;r:{switch(x[a+86>>1]-1|0){case 0:u[v[c>>2]>>1]=2;break a;case 1:u[v[c>>2]>>1]=1;break a;case 2:u[v[c>>2]>>1]=3;break a;case 3:break r;default:break a}}u[v[c>>2]>>1]=0;break a}u[v[c>>2]>>1]=x[a+86>>1];d=1;break a}v[v[c>>2]>>2]=v[a- -64>>2];d=1;break a}u[v[c>>2]>>1]=x[a+196>>1];v[v[c+4>>2]>>2]=v[a+200>>2];d=1;break a}u[v[c>>2]>>1]=x[a+208>>1];d=1;break a}u[v[c>>2]>>1]=x[a+204>>1];u[v[c+4>>2]>>1]=x[a+206>>1];d=1;break a}v[v[c>>2]>>2]=v[a+216>>2];d=1;if((x[a+98>>1]-x[a+168>>1]|0)<2){break a}v[v[c+4>>2]>>2]=v[a+220>>2];v[v[c+8>>2]>>2]=v[a+224>>2];break a}v[v[c>>2]>>2]=v[a+212>>2];d=1;break a}v[v[c>>2]>>2]=v[a+232>>2];d=1;break a}s:{g=cr(a,b);t:{if(!g){d=31573;b=b>>>0>65535?19338:22352;break t}if(x[g+12>>1]==65){e=v[a+236>>2];if((e|0)>=1){break s}break a}d=v[g+16>>2];b=b>>>0>65535?19338:22352}c=v[a+628>>2];a=v[a>>2];v[h+8>>2]=d;v[h+4>>2]=b;v[h>>2]=a;zc(c,41298,30614,h);d=0;break a}f=v[a+240>>2];a=0;while(1){i=f+B(a,12)|0;if(v[v[i>>2]>>2]==(b|0)){if(w[g+15|0]){b=v[(f+B(a,12)|0)+4>>2];u:{if(x[g+4>>1]==65533){v[v[c>>2]>>2]=b;break u}u[v[c>>2]>>1]=b}v[v[c+4>>2]>>2]=v[(f+B(a,12)|0)+8>>2];d=1;break a}v:{e=v[g+8>>2];if(!((e|0)==2|x[g+4>>1]>65532)&v[(f+B(a,12)|0)+4>>2]<2){break v}w:{x:{b=v[g>>2];switch(b-321|0){case 0:case 15:break v;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:break w;default:break x}}if((b|0)==297|(b|0)==530){break v}}v[v[c>>2]>>2]=v[(f+B(a,12)|0)+8>>2];d=1;break a}f=f+B(a,12)|0;if(v[f+4>>2]<1){break a}a=v[f+8>>2];b=0;while(1){d=0;y:{z:{A:{switch(e-1|0){case 0:case 6:t[v[c>>2]]=w[a|0];break z;case 5:t[v[c>>2]]=w[a|0];break z;case 2:u[v[c>>2]>>1]=x[a>>1];break z;case 7:u[v[c>>2]>>1]=x[a>>1];break z;case 3:case 12:v[v[c>>2]>>2]=v[a>>2];break z;case 8:v[v[c>>2]>>2]=v[a>>2];break z;case 4:case 9:case 10:z[v[c>>2]>>2]=z[a>>2];break z;case 11:break A;default:break y}}A[v[c>>2]>>3]=A[a>>3]}c=c+4|0;d=1}e=v[v[i>>2]+8>>2]-1|0;if(e>>>0<=12){e=v[(e<<2)+81980>>2]}else{e=0}b=b+1|0;if((b|0)>=v[f+4>>2]){break a}a=a+e|0;e=v[g+8>>2];continue}}a=a+1|0;if((e|0)>(a|0)){continue}break}}Qb=h+16|0;return d|0}function cna(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;e=Qb-1104|0;Qb=e;d=e+1088|0;Qm(d);v[299999]=0;V(4503,e+1080|0,d|0);d=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{if((d|0)!=1){h=v[e+1080>>2];d=v[b>>2];v[299999]=0;V(4591,e+1072|0,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break n}v[299999]=0;V(4503,e+1064|0,e+1072|0);d=v[299999];v[299999]=0;if((d|0)==1){break m}v[299999]=0;i=v[e+1064>>2];v[e+1056>>2]=0;v[e+1060>>2]=v[282402];d=Z(4504,i|0,e+1056|0,0,0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break j}if(d){break l}c=v[b>>2];if(!c){v[a>>2]=0;break k}v[299999]=0;v[c+4>>2]=v[c+4>>2]+1;c=v[299999];v[299999]=0;if((c|0)==1){break j}v[a>>2]=v[b>>2];break k}a=P()|0;O()|0;break b}a=P()|0;O()|0;break c}a=P()|0;O()|0;break d}d=v[e+1056>>2];d=v[(d?d+12|0:1129608)>>2];v[299999]=0;U(4599,h|0,d|0,0);d=v[299999];v[299999]=0;if((d|0)==1){break j}o:{while(1){p:{v[299999]=0;d=Z(4504,i|0,e+1056|0,0,0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break p}if(!d){break o}v[299999]=0;d=Nc(e+1056|0,320500,-1);f=v[299999];v[299999]=0;if((f|0)==1){break p}q:{r:{if(!d){v[e+1048>>2]=0;v[e+1052>>2]=v[282402];s:{t:{u:{v:{w:{while(1){x:{d=v[v[i>>2]+8>>2];v[299999]=0;d=Y(d|0,i|0,e+16|0,1024)|0;f=v[299999];v[299999]=0;if((f|0)==1){break x}if(!d){d=v[e+1048>>2];if(!d){break t}f=d;if(v[d+8>>2]){break u}break s}v[299999]=0;d=Y(4605,e+8|0,e+16|0,d|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break w}v[299999]=0;Q(4606,e+1048|0,e+8|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break v}ec(d);continue}break}a=P()|0;O()|0;break f}a=P()|0;O()|0;break f}a=P()|0;O()|0;ec(d);break f}y:{z:{while(1){if(w[v[d+12>>2]]!=10){break s}v[299999]=0;$(4568,e+8|0,e+1048|0,1,-1);d=v[299999];v[299999]=0;if((d|0)==1){break y}d=v[e+8>>2];A:{if(d){f=v[v[d>>2]+28>>2];v[299999]=0;U(f|0,e+1096|0,d|0,1);d=v[299999];v[299999]=0;if((d|0)!=1){break A}a=P()|0;O()|0;break h}v[e+1096>>2]=0}v[299999]=0;Q(4344,e+1048|0,e+1096|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break z}d=v[e+1096>>2];v[e+1096>>2]=0;B:{C:{if(!d){break C}v[299999]=0;f=v[d+4>>2]-1|0;v[d+4>>2]=f;g=v[299999];v[299999]=0;if((g|0)==1){break B}if(f){break C}v[299999]=0;R(4338,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break B}}d=v[e+1048>>2];v[e+1052>>2]=v[(d?d+12|0:1129608)>>2];ec(e+8|0);d=v[e+1048>>2];if(!d){break t}f=d;if(!v[d+8>>2]){break s}continue}break}break a}a=P()|0;O()|0;b=v[e+1096>>2];v[e+1096>>2]=0;if(!b){break h}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)!=1){if(c){break h}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break h}}break a}a=P()|0;O()|0;break f}f=d;d=0}D:{E:{if(!d){break E}while(1){g=v[d+8>>2];if(!g){break E}j=g-1|0;F:{if(j){d=((g|0)>0?0:f?g:0)+j|0;if(!(!f|(d|0)<0|(d|0)>(g|0))){f=f+12|0;break F}v[299999]=0;ba(4543);a=v[299999];v[299999]=0;if((a|0)==1){break g}L()}f=d+12|0;d=0}if(w[v[f>>2]+d|0]!=10){break E}v[299999]=0;U(4607,e+1048|0,j|0,0);d=v[299999];v[299999]=0;if((d|0)==1){break D}d=v[e+1048>>2];f=d;if(d){continue}break}}v[299999]=0;d=Y(4541,e+1048|0,c|0,-1)|0;f=v[299999];v[299999]=0;G:{H:{I:{if((f|0)==1){break I}if(!d){break r}d=v[e+1056>>2];d=v[(d?d+12|0:1129608)>>2];v[299999]=0;U(4599,h|0,d|0,0);d=v[299999];v[299999]=0;if((d|0)==1){break I}v[299999]=0;v[e+8>>2]=0;Q(4336,e+8|0,h|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break H}v[299999]=0;Q(4437,v[e+8>>2],e+1048|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break G}d=v[e+8>>2];v[e+8>>2]=0;J:{if(!d){break J}v[299999]=0;f=v[d+4>>2]-1|0;v[d+4>>2]=f;g=v[299999];v[299999]=0;if((g|0)==1){break a}if(f){break J}v[299999]=0;R(4338,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break a}}v[299999]=0;R(4601,h|0);d=v[299999];v[299999]=0;if((d|0)!=1){break r}}a=P()|0;O()|0;break f}a=P()|0;O()|0;break f}a=P()|0;O()|0;ec(e+8|0);break f}a=P()|0;O()|0;break f}d=v[e+1056>>2];d=v[(d?d+12|0:1129608)>>2];v[299999]=0;U(4599,h|0,d|0,0);d=v[299999];v[299999]=0;if((d|0)==1){break p}v[299999]=0;v[e+1048>>2]=0;Q(4336,e+1048|0,h|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break i}while(1){K:{d=v[v[i>>2]+8>>2];v[299999]=0;d=Y(d|0,i|0,e+16|0,1024)|0;f=v[299999];v[299999]=0;if((f|0)==1){break K}if(!d){d=v[e+1048>>2];v[e+1048>>2]=0;L:{if(!d){break L}v[299999]=0;f=v[d+4>>2]-1|0;v[d+4>>2]=f;g=v[299999];v[299999]=0;if((g|0)==1){break a}if(f){break L}v[299999]=0;R(4338,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break a}}v[299999]=0;R(4601,h|0);d=v[299999];v[299999]=0;if((d|0)!=1){break q}a=P()|0;O()|0;break e}v[299999]=0;Y(4776,v[e+1048>>2],e+16|0,d|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){continue}}break}a=P()|0;O()|0;ec(e+1048|0);break e}ec(e+1048|0)}v[299999]=0;R(4601,i|0);d=v[299999];v[299999]=0;if((d|0)!=1){continue}}break}a=P()|0;O()|0;break e}v[299999]=0;R(4601,h|0);c=v[299999];v[299999]=0;if((c|0)==1){break j}c=v[v[h>>2]+24>>2];v[299999]=0;R(c|0,h|0);c=v[299999];v[299999]=0;if((c|0)==1){break j}c=v[e+1088>>2];d=v[v[c>>2]+20>>2];v[299999]=0;Z(d|0,c|0,0,0,0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break j}b=v[b>>2];v[299999]=0;V(4494,b|0,1);b=v[299999];v[299999]=0;if((b|0)==1){break j}v[299999]=0;V(4597,a|0,e+1088|0);a=v[299999];v[299999]=0;if((a|0)==1){break j}}ec(e+1056|0);a=v[e+1064>>2];v[e+1064>>2]=0;M:{if(!a){break M}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break M}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}a=v[e+1072>>2];v[e+1072>>2]=0;N:{if(!a){break N}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break N}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}a=v[e+1080>>2];v[e+1080>>2]=0;O:{if(!a){break O}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break O}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}a=v[e+1088>>2];v[e+1088>>2]=0;P:{if(!a){break P}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break P}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Qb=e+1104|0;return}a=P()|0;O()|0;break e}a=P()|0;O()|0;break e}ec(e+8|0);break f}a=P()|0;O()|0}ec(e+1048|0)}ec(e+1056|0);ec(e+1064|0)}ec(e+1072|0)}ec(e+1080|0)}ec(e+1088|0);T(a|0);L()}W(0)|0;O()|0;lc();L()}function Uma(a,b){a=a|0;b=b|0;var 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;j=Qb-16|0;Qb=j;a:{b:{c:{c=v[a+20>>2];if(c){while(1){f=v[c+8>>2];d=v[f+8>>2];d:{if(!d){if(v[b>>2]){break d}break c}v[d+4>>2]=v[d+4>>2]+1;e=v[b>>2];d=v[f+8>>2];e:{if(!d){break e}v[299999]=0;f=v[d+4>>2]-1|0;v[d+4>>2]=f;g=v[299999];v[299999]=0;if((g|0)==1){break a}if(f){break e}v[299999]=0;R(4338,d|0);f=v[299999];v[299999]=0;if((f|0)==1){break a}}if((d|0)==(e|0)){break c}}c=v[c>>2];if(c){continue}break}}c=v[a+32>>2];d=(c|0)<0?c:w[a+28|0]?c:0;c=(d|0)<0;l=tP(v[b>>2]);if(!c&(d|0)<(l|0)){break b}if(!c){f:{c=0;f=0;e=Qb-80|0;Qb=e;g:{h:{i:{j:{k:{l:{k=d-l|0;m:{if(!k){Cp(a+12|0);v[a+36>>2]=0;break m}g=a+12|0;n:{o:{p:{d=v[a+16>>2];if((d|0)<=20){if(v[a+36>>2]<=(k|0)){break m}if(d){break p}g=v[e+20>>2];f=v[e+16>>2];break o}v[299999]=0;i=Z(4658,e+32|0,983280,0,d-1|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break h}q:{r:{s:{t:{f=v[a+20>>2];if(f){while(1){d=0;h=v[f+8>>2];if(h){v[299999]=0;v[h+4>>2]=v[h+4>>2]+1;d=v[299999];v[299999]=0;if((d|0)==1){break i}d=v[f+8>>2]}v[e+24>>2]=d;v[d+20>>2]=g;v[d+16>>2]=f;if(!(v[e+48>>2]<=(c|0)&v[e+52>>2]>=(c|0))){v[299999]=0;a=aa(4369,e+56|0,227445,271729,619,308843,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break t}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break k}c=P()|0;O()|0;qc(a);break s}v[v[e+36>>2]+(c-v[e+40>>2]<<2)>>2]=d;d=v[e+24>>2];u:{if(!d){break u}v[299999]=0;h=v[d+4>>2]-1|0;v[d+4>>2]=h;m=v[299999];v[299999]=0;if((m|0)==1){break a}if(h){break u}v[299999]=0;R(4338,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break a}}c=c+1|0;f=v[f>>2];if(f){continue}break}}c=v[e+48>>2];if((c|0)<=0){d=v[e+52>>2];if((d|0)>-1){break r}}v[299999]=0;a=aa(4369,e+56|0,227445,271729,619,308843,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break q}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break k}break j}c=P()|0;O()|0}ec(e+24|0);fd(i);T(c|0);L()}f=0;v[299999]=0;$(4883,v[e+36>>2]-(v[e+40>>2]<<2)|0,(d-c|0)+1|0,4,4884);c=v[299999];v[299999]=0;if((c|0)==1){break q}c=v[e+52>>2];d=v[e+48>>2];v:{if(((c-d|0)+1|0)<1){break v}while(1){if(v[a+36>>2]<=(k|0)){break v}if(!((d|0)<=(f|0)&(c|0)>=(f|0))){v[299999]=0;a=aa(4369,e+56|0,227445,271729,619,308843,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break i}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break k}break j}c=v[v[e+36>>2]+(f-v[e+40>>2]<<2)>>2];d=v[c+8>>2];v[299999]=0;d=S(4885,d|0)|0;h=v[299999];v[299999]=0;w:{x:{if((h|0)!=1){v[a+36>>2]=v[a+36>>2]-d;d=v[c+8>>2];if(d){v[299999]=0;v[d+4>>2]=v[d+4>>2]+1;d=v[299999];v[299999]=0;if((d|0)==1){break i}d=v[c+8>>2]}else{d=0}v[299999]=0;v[e+56>>2]=d;V(4460,g|0,c+16|0);c=v[299999];v[299999]=0;if((c|0)==1){break x}c=v[v[a>>2]+16>>2];v[299999]=0;V(c|0,a|0,e+56|0);c=v[299999];v[299999]=0;if((c|0)==1){break x}if(v[a+36>>2]<=0){c=0;d=v[a+20>>2];if(d){while(1){h=v[v[d+8>>2]+8>>2];v[299999]=0;h=S(4885,h|0)|0;m=v[299999];v[299999]=0;if((m|0)==1){break x}c=c+h|0;d=v[d>>2];if(d){continue}break}}v[a+36>>2]=c}c=v[e+56>>2];v[e+56>>2]=0;if(!c){break w}v[299999]=0;d=v[c+4>>2]-1|0;v[c+4>>2]=d;h=v[299999];v[299999]=0;if((h|0)!=1){if(d){break w}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)!=1){break w}}break a}break i}a=P()|0;O()|0;ec(e+56|0);fd(i);break g}f=f+1|0;c=v[e+52>>2];d=v[e+48>>2];if((f|0)<((c-d|0)+1|0)){continue}break}}fd(i);break m}break i}while(1){c=v[a+20>>2];v[e+60>>2]=g;v[e+56>>2]=c;y:{if(!c){c=0;break y}d=v[c>>2];if(!d){break y}while(1){f=c;if(v[v[d+8>>2]+12>>2]>2]+12>>2]){v[e+60>>2]=g;v[e+56>>2]=d;c=d}d=v[d>>2];if(d){continue}break}}v[e+12>>2]=g;v[e+8>>2]=c;if(!c){v[e+20>>2]=g;v[e+16>>2]=f;v[299999]=0;V(4468,e+8|0,g|0);a=v[299999];v[299999]=0;if((a|0)!=1){break k}break h}c=v[v[c+8>>2]+8>>2];v[299999]=0;c=S(4885,c|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break l}v[a+36>>2]=v[a+36>>2]-c;c=v[e+56>>2];v[e>>2]=c;d=v[e+60>>2];v[e+4>>2]=d;if(!((d|0)==(g|0)?c:0)){v[e+20>>2]=g;v[e+16>>2]=f;v[299999]=0;V(4468,e|0,g|0);a=v[299999];v[299999]=0;if((a|0)!=1){break k}break h}d=v[c+8>>2];c=v[d+8>>2];if(c){v[299999]=0;v[c+4>>2]=v[c+4>>2]+1;c=v[299999];v[299999]=0;if((c|0)==1){break l}c=v[d+8>>2]}else{c=0}v[299999]=0;v[e+32>>2]=c;V(4460,g|0,e+56|0);c=v[299999];v[299999]=0;z:{A:{if((c|0)==1){break A}c=v[v[a>>2]+16>>2];v[299999]=0;V(c|0,a|0,e+32|0);c=v[299999];v[299999]=0;if((c|0)==1){break A}if(v[a+36>>2]<=0){c=0;d=v[a+20>>2];if(d){while(1){i=v[v[d+8>>2]+8>>2];v[299999]=0;i=S(4885,i|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break A}c=c+i|0;d=v[d>>2];if(d){continue}break}}v[a+36>>2]=c}c=v[e+32>>2];v[e+32>>2]=0;if(!c){break z}v[299999]=0;d=v[c+4>>2]-1|0;v[c+4>>2]=d;i=v[299999];v[299999]=0;if((i|0)!=1){if(d){break z}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)!=1){break z}}W(0)|0;O()|0;v[e+20>>2]=g;v[e+16>>2]=f;lc();L()}a=P()|0;O()|0;v[e+20>>2]=g;v[e+16>>2]=f;ec(e+32|0);break g}if(v[a+36>>2]<=(k|0)){break n}if(v[a+16>>2]){continue}break}}v[e+20>>2]=g;v[e+16>>2]=f;v[a+36>>2]=0;break m}v[e+20>>2]=g;v[e+16>>2]=f}Qb=e+80|0;break f}a=P()|0;O()|0;v[e+20>>2]=g;v[e+16>>2]=f;break g}L()}b=P()|0;O()|0;qc(a);fd(i);T(b|0);L()}a=P()|0;O()|0;fd(i);break g}a=P()|0;O()|0}T(a|0);L()}}c=fc(24);v[c>>2]=983872;v[c+4>>2]=0;d=0;B:{C:{f=v[b>>2];if(f){v[299999]=0;v[f+4>>2]=v[f+4>>2]+1;d=v[299999];v[299999]=0;if((d|0)==1){break C}d=v[b>>2]}f=c+8|0;v[f>>2]=d;v[299999]=0;d=S(2456,0)|0;e=v[299999];v[299999]=0;if((e|0)==1){a=P()|0;O()|0;ec(f);break B}v[c+16>>2]=0;v[c+20>>2]=0;v[c+12>>2]=d;v[j+8>>2]=0;Wc(j+8|0,c);v[299999]=0;c=S(1,12)|0;d=v[299999];v[299999]=0;D:{if((d|0)==1){break D}v[c>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;d=c;f=v[j+8>>2];if(f){v[299999]=0;v[f+4>>2]=v[f+4>>2]+1;f=v[299999];v[299999]=0;if((f|0)==1){break D}f=v[j+8>>2]}else{f=0}v[d+8>>2]=f;v[299999]=0;Le(a+12|0,c);c=v[299999];v[299999]=0;if((c|0)==1){break D}c=v[j+8>>2];v[j+8>>2]=0;E:{if(!c){break E}v[299999]=0;d=v[c+4>>2]-1|0;v[c+4>>2]=d;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(d){break E}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}v[a+36>>2]=v[a+36>>2]+l;Ub[v[v[a>>2]+8>>2]](a,b);break b}a=P()|0;O()|0;ec(j+8|0);T(a|0);L()}a=P()|0;O()|0}Qc(c);dc(c);T(a|0);L()}n=v[c+8>>2],o=Va(0)|0,v[n+12>>2]=o}Qb=j+16|0;return}W(0)|0;O()|0;lc();L()}function BZa(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,n=0,o=0,p=0,q=0,r=0;h=sm(v[v[b+96>>2]+4>>2],228552);if(!h){return 11}f=Yc(a,0);a:{if(f){break a}f=Ub[v[h+4>>2]](a,b,c,d,e)|0;if(f){break a}n=v[b+104>>2];f=2;a=v[b+148>>2];b:{if((a|0)<=65535){if((a|0)==-1519689116|(a|0)==-1519619212){break b}break a}if((a|0)==65536|(a|0)==1953658213){break b}if((a|0)!=131072){break a}}v[b+8>>2]=v[b+8>>2]|2048;f=0;if((c|0)<0){break a}f=Ub[v[h+8>>2]](n,b,c,d,e)|0;if(f){break a}o=Qb-128|0;Qb=o;c:{d:{e:{if(!b){break e}a=v[b+20>>2];if(a){m=1;if(yd(a,448384)){break c}if(yd(a,448404)){break c}if(yd(a,448424)){break c}if(yd(a,448444)){break c}if(yd(a,448464)){break c}if(yd(a,448484)){break c}if(yd(a,448504)){break c}if(yd(a,448524)){break c}if(yd(a,448544)){break c}if(yd(a,448564)){break c}if(yd(a,448584)){break c}if(yd(a,448604)){break c}if(yd(a,448624)){break c}if(yd(a,448644)){break c}if(yd(a,448664)){break c}if(yd(a,448684)){break c}if(yd(a,448704)){break c}if(yd(a,448724)){break c}if(yd(a,448744)){break c}if(yd(a,448764)){break c}if(yd(a,448784)){break c}if(yd(a,448804)){break c}if(yd(a,448824)){break c}if(yd(a,448844)){break c}if(yd(a,448864)){break c}if(yd(a,448884)){break c}}g=ic(o,0,116);f:{a=x[b+152>>1];if(a){e=0;while(1){m=0;f=1;d=0;j=v[b+156>>2];i=l<<4;h=v[j+i>>2];g:{if((h|0)!=1668707360){h:{if((h|0)!=1886545264){if((h|0)!=1718642541){break g}d=1;break h}d=2}f=e}a=0;while(1){k=i+j|0;h=B(m,24)+(d<<3)|0;if(v[k+12>>2]==v[h+448916>>2]){i:{if(a){break i}e=v[b+516>>2];if(!e){a=0;break i}a=0;if(Ub[e|0](b,v[k>>2],v[b+104>>2],0)|0){break i}p=v[b+104>>2];j=v[(v[b+156>>2]+i|0)+12>>2];if(ne(p,j)){break i}if(j>>>0>3){while(1){a=Sg(p)+a|0;j=j-4|0;if(j>>>0>3){continue}break}}e=3;if(j){while(1){k=v[p+32>>2];if(k>>>0>2]){v[p+32>>2]=k+1;k=t[k|0]}else{k=0}a=((k<<24>>24&255)<<(e<<3))+a|0;e=e-1|0;j=j-1|0;if(j){continue}break}}Vd(p)}e=g+(m<<2)|0;j=v[e>>2];if(v[h+448912>>2]==(a|0)){j=j+1|0;v[e>>2]=j}if((j|0)==3){break d}}m=m+1|0;if((m|0)!=29){j=v[b+156>>2];continue}break}a=x[b+152>>1];e=f}l=l+1|0;if(l>>>0>>0){continue}break}if(e&255){break f}}m=0;while(1){d=g+(m<<2)|0;a=v[d>>2];if(m-16>>>0<=11){a=a+1|0;v[d>>2]=a}if((a|0)==3){break d}a=m|1;if((a|0)==29){break e}d=g+(a<<2)|0;a=v[d>>2];if(m-15>>>0<=11){a=a+1|0;v[d>>2]=a}if((a|0)==3){break d}m=m+2|0;continue}}m=1;if(v[g>>2]==3|v[g+4>>2]==3|(v[g+8>>2]==3|v[g+12>>2]==3)){break c}if(v[g+16>>2]==3|v[g+20>>2]==3|(v[g+24>>2]==3|v[g+28>>2]==3)){break c}if(v[g+32>>2]==3|v[g+36>>2]==3|(v[g+40>>2]==3|v[g+44>>2]==3)){break c}if(v[g+48>>2]==3|v[g+52>>2]==3|(v[g+56>>2]==3|v[g+60>>2]==3)){break c}if(v[g+64>>2]==3|v[g+68>>2]==3|(v[g+72>>2]==3|v[g+76>>2]==3)){break c}if(v[g+80>>2]==3|v[g+84>>2]==3|(v[g+88>>2]==3|v[g+92>>2]==3)){break c}if(v[g+96>>2]==3|v[g+100>>2]==3|(v[g+104>>2]==3|v[g+108>>2]==3)){break c}if(v[g+112>>2]==3){break c}}m=0;break c}m=1}Qb=o+128|0;if(m){v[b+8>>2]=v[b+8>>2]|8192}e=0;l=Qb-16|0;Qb=l;f=v[n+28>>2];j:{if(Ub[v[b+516>>2]](b,1751412088,n,l+8|0)|0){break j}a=v[l+8>>2];if(a>>>0<8){break j}h=b+768|0;a=Xh(n,a,h);v[l+12>>2]=a;k:{if(a){break k}l:{m:{i=v[h>>2];d=w[i+2|0]<<8|w[i+3|0];if(d>>>0<=255){a=w[i+4|0]|w[i+5|0]<<8|(w[i+6|0]<<16|w[i+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);k=a>>>0>4294901759?a&65535:a;a=v[l+8>>2];if(!d|k-4>>>0<65534){break m}}v[l+12>>2]=3;break l}q=b,r=Cc(f,1,0,d,0,l+12|0),v[q+784>>2]=r;if(v[l+12>>2]){break l}n:{if(!d){break n}f=i+8|0;h=a+i|0;while(1){a=f+k|0;if(a>>>0>h>>>0){break n}t[v[b+784>>2]+e|0]=w[f|0];f=a;e=e+1|0;if((d|0)!=(e|0)){continue}break}e=d}v[b+776>>2]=e;a=v[l+8>>2];v[b+780>>2]=k;v[b+772>>2]=a;break k}nf(n,h);v[b+772>>2]=0}e=v[l+12>>2]}Qb=l+16|0;f=e;if(f){break a}f=0;o:{if(!(t[b+8|0]&1)){break o}p:{if(v[v[b+128>>2]+52>>2]){break p}o=Qb-16|0;Qb=o;a=b;d=Ub[v[b+516>>2]](b,1735162214,n,b+724|0)|0;q:{r:{if((d&255)==142){v[b+724>>2]=0;d=0;break r}if(d){break q}d=0;if(v[v[b+128>>2]+52>>2]){break r}d=v[n+8>>2]}v[a+728>>2]=d;d=144;if(Ub[v[b+516>>2]](b,1819239265,n,o+12|0)|0){break q}f=v[o+12>>2];a=b;s:{if(x[a+210>>1]){e=2;if(f>>>0>=262144){v[o+12>>2]=262143;f=262143}break s}e=1;if(f>>>0>=131072){v[o+12>>2]=131071;f=131071}}d=f>>>e|0;v[a+760>>2]=d;a=v[b+16>>2];t:{if(a>>>0>>0){break t}a=a+1|0;if((a|0)==(d|0)){break t}f=a<>2];l=v[n+8>>2];a=x[b+152>>1];u:{if(a){k=(a<<4)+e|0;d=2147483647;a=0;while(1){i=v[e+8>>2]-l|0;h=(i|0)>0&(d|0)>(i|0);a=h?1:a;d=h?i:d;e=e+16|0;if(k>>>0>e>>>0){continue}break}if(a&255){break u}}d=v[n+4>>2]-l|0}if(d>>>0>=f>>>0){v[b+760>>2]=v[b+16>>2]+1;v[o+12>>2]=f;break t}a=v[b+760>>2];v[b+16>>2]=a?a-1|0:0;f=v[o+12>>2]}d=Xh(n,f,b+764|0)}Qb=o+16|0;f=d;if(v[b+724>>2]){if(f){break a}if((f&255)!=142){break p}break a}if(f){break a}}f=mZ(b,n);if((f&255)!=142?f:0){break a}d=Qb-16|0;Qb=d;v:{if(Ub[v[b+516>>2]](b,1718642541,n,d+12|0)|0){v[b+684>>2]=0;v[b+688>>2]=0;f=0;break v}a=v[d+12>>2];v[b+684>>2]=a;f=Xh(n,a,b+688|0)}Qb=d+16|0;if((f&255)!=142?f:0){break a}d=Qb-16|0;Qb=d;w:{if(Ub[v[b+516>>2]](b,1886545264,n,d+12|0)|0){v[b+692>>2]=0;v[b+696>>2]=0;f=0;break w}a=v[d+12>>2];v[b+692>>2]=a;f=Xh(n,a,b+696|0)}Qb=d+16|0;if((f&255)!=142?f:0){break a}if(!v[b+764>>2]|(v[v[b+128>>2]+52>>2]|!v[b+28>>2])){break o}e=0;a=0;d=0;i=Qb-16|0;Qb=i;x:{if(!v[b+760>>2]){break x}while(1){oH(b,a,i+12|0);y:{if(!v[i+12>>2]){break y}h=e+1|0;d=a;e=1;if(h>>>0<=1){break y}e=0;break x}a=a+1|0;if(a>>>0>2]){continue}break}a=!e;e=0;if(a){break x}e=1;if(!d){break x}e=0;h=35;z:{if(!b){break z}h=6;k=i+4|0;if(!k){break z}t[k|0]=0;h=16;A:{if(v[b+16>>2]<=(d|0)){break A}h=6;if(!(w[b+9|0]&2)){break z}B:{C:{j=v[b+128>>2];a=v[j+40>>2];switch(a+2|0){case 0:break A;case 2:break C;default:break B}}h=v[b+96>>2];a=v[v[h>>2]+32>>2];D:{if(!a){a=0;break D}a=Ub[a|0](h,233592)|0;j=v[b+128>>2]}v[j+40>>2]=a?a:-2}h=6;if(!a){break z}a=v[a>>2];if(!a){break A}h=Ub[a|0](b,d,k,8)|0}}if(w[i+4|0]!=46|h){break x}e=(w[i+4|0]|w[i+5|0]<<8|(w[i+6|0]<<16|w[i+7|0]<<24))==1953459758&(w[i+8|0]|w[i+9|0]<<8|(w[i+10|0]<<16|w[i+11|0]<<24))==6710628}Qb=i+16|0;if(!e){break o}v[b+8>>2]=v[b+8>>2]&-2}if(!(!(t[b+9|0]&1)|c>>>0<65536)){f=lZ(b,c>>>16|0);if(f){break a}kZ(b);f=0}v[b+528>>2]=1984;v[b+536>>2]=1985;v[b+532>>2]=1986;v[b+520>>2]=1987;v[b+524>>2]=1988}return f|0}function Aua(a){a=a|0;var 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;j=Qb-16|0;Qb=j;v[j+12>>2]=0;v[j+8>>2]=0;k=v[a+4>>2];m=Qb-32|0;Qb=m;l=fc(24);v[l+12>>2]=0;v[l+20>>2]=1;iG(m,l);c=Qb-48|0;Qb=c;a:{if(m){VV(c,m);b=PV(c);break a}b=PV(0)}Qb=c+48|0;b:{c:{i=v[k+8>>2];c=v[k+12>>2];if((i|0)==(c|0)){break c}while(1){if(!v[i+16>>2]){ZV(k,i,i+12|0,i+16|0)}i=i+20|0;if((c|0)!=(i|0)){continue}break}i=v[k+8>>2];o=v[k+12>>2];if((i|0)==(o|0)){break c}while(1){d:{d=t[i+11|0]<0?v[i>>2]:i;n=Qb-32|0;Qb=n;c=-102;e:{if(!b){break e}if(v[b+56>>2]==1){c=jG(b);if(c){break e}}h=d?d:335742;e=Bc(h);v[b+65700>>2]=0;v[b+152>>2]=0;v[b+156>>2]=8;v[b+65704>>2]=0;v[b+65708>>2]=0;v[b+160>>2]=0;v[b+120>>2]=0;v[b+124>>2]=0;c=xo(b,v[b+44>>2]);d=Tb;g=d;v[b+148>>2]=32;v[b+128>>2]=c;v[b+132>>2]=d;v[b+144>>2]=e+46;d=jc(e+78|0);v[b+140>>2]=0;v[b+136>>2]=d;t[d+5|0]=0;t[d+4|0]=0;v[d>>2]=33639248;u[d+6>>1]=20;f=v[b+152>>2];u[d+8>>1]=f;if(f>>>0>=65536){u[d+8>>1]=65535}f=v[b+156>>2];u[d+10>>1]=f;if(f>>>0>=65536){u[d+10>>1]=65535}f=v[b+65700>>2];t[d+29|0]=e>>>8;t[d+28|0]=e;v[d+24>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;t[d+12|0]=f;t[d+15|0]=f>>>24;t[d+14|0]=f>>>16;t[d+13|0]=f>>>8;if(e>>>0>=65536){u[d+28>>1]=65535}u[d+30>>1]=0;u[d+32>>1]=0;u[d+34>>1]=0;u[d+38>>1]=0;u[d+40>>1]=0;u[d+36>>1]=0;f:{if(!g&c>>>0<=4294967294){f=v[b+65776>>2];g=g-(v[b+65780>>2]+(f>>>0>c>>>0)|0)|0;c=c-f|0;u[d+42>>1]=c;u[d+44>>1]=c>>>16;if(g>>>0<1){break f}}u[d+42>>1]=65535;u[d+44>>1]=65535}g:{if(!e){break g}t[d+46|0]=w[h|0];c=1;if((e|0)==1){break g}d=e-1|0;f=d&3;if(e-2>>>0>=3){d=d&-4;while(1){t[(v[b+136>>2]+c|0)+46|0]=w[c+h|0];e=c+1|0;t[(e+v[b+136>>2]|0)+46|0]=w[e+h|0];e=c+2|0;t[(e+v[b+136>>2]|0)+46|0]=w[e+h|0];e=c+3|0;t[(e+v[b+136>>2]|0)+46|0]=w[e+h|0];c=c+4|0;d=d-4|0;if(d){continue}break}}if(!f){break g}while(1){t[(v[b+136>>2]+c|0)+46|0]=w[c+h|0];c=c+1|0;f=f-1|0;if(f){continue}break}}if(!v[b+136>>2]){c=-104;break e}v[b+65720>>2]=0;v[b+65724>>2]=0;v[b+65712>>2]=0;c=b+65728|0;v[c>>2]=0;v[c+4>>2]=0;c=b+65736|0;v[c>>2]=0;v[c+4>>2]=0;c=Qb-16|0;Qb=c;e=Bc(h);f=v[b+44>>2];v[c+8>>2]=67324752;d=-1;h:{if((Ub[v[b+8>>2]](v[b+28>>2],f,c+8|0,4)|0)!=4){break h}f=v[b+44>>2];i:{if(v[b+65712>>2]){u[c+8>>1]=45;g=Ub[v[b+8>>2]](v[b+28>>2],f,c+8|0,2)|0;break i}u[c+8>>1]=20;g=Ub[v[b+8>>2]](v[b+28>>2],f,c+8|0,2)|0}if((g|0)!=2){break h}f=v[b+44>>2];g=v[b+152>>2];u[c+8>>1]=g;if(g>>>0>=65536){u[c+8>>1]=65535}if((Ub[v[b+8>>2]](v[b+28>>2],f,c+8|0,2)|0)!=2){break h}f=v[b+44>>2];g=v[b+156>>2];u[c+8>>1]=g;if(g>>>0>=65536){u[c+8>>1]=65535}if((Ub[v[b+8>>2]](v[b+28>>2],f,c+8|0,2)|0)!=2){break h}f=v[b+44>>2];v[c+8>>2]=v[b+65700>>2];if((Ub[v[b+8>>2]](v[b+28>>2],f,c+8|0,4)|0)!=4){break h}f=v[b+44>>2];v[c+8>>2]=0;if((Ub[v[b+8>>2]](v[b+28>>2],f,c+8|0,4)|0)!=4){break h}f=v[b+44>>2];j:{if(v[b+65712>>2]){v[c+8>>2]=-1;g=Ub[v[b+8>>2]](v[b+28>>2],f,c+8|0,4)|0;break j}v[c+8>>2]=0;g=Ub[v[b+8>>2]](v[b+28>>2],f,c+8|0,4)|0}if((g|0)!=4){break h}f=v[b+44>>2];k:{if(v[b+65712>>2]){v[c+8>>2]=-1;g=Ub[v[b+8>>2]](v[b+28>>2],f,c+8|0,4)|0;break k}v[c+8>>2]=0;g=Ub[v[b+8>>2]](v[b+28>>2],f,c+8|0,4)|0}if((g|0)!=4){break h}f=v[b+44>>2];u[c+8>>1]=e;if(e>>>0>=65536){u[c+8>>1]=65535}if((Ub[v[b+8>>2]](v[b+28>>2],f,c+8|0,2)|0)!=2){break h}f=v[b+44>>2];g=v[b+65712>>2]?20:0;u[c+8>>1]=g;if(g>>>0>=65536){u[c+8>>1]=65535}f=(Ub[v[b+8>>2]](v[b+28>>2],f,c+8|0,2)|0)!=2;if(!(f|!e)){f=(Ub[v[b+8>>2]](v[b+28>>2],v[b+44>>2],h,e)|0)!=(e|0)}l:{if(f){break l}}if(f){break h}if(!v[b+65712>>2]){d=0;break h}d=b+65720|0;r=d,s=xo(b,v[b+44>>2]),v[r>>2]=s;v[d+4>>2]=Tb;d=v[b+44>>2];u[c+8>>1]=1;e=d;d=c+8|0;Ub[v[b+8>>2]](v[b+28>>2],e,d,2)|0;e=v[b+44>>2];u[c+8>>1]=16;Ub[v[b+8>>2]](v[b+28>>2],e,d,2)|0;e=v[b+44>>2];v[c+8>>2]=0;v[c+12>>2]=0;Ub[v[b+8>>2]](v[b+28>>2],e,d,8)|0;e=v[b+44>>2];v[c+8>>2]=0;v[c+12>>2]=0;d=(Ub[v[b+8>>2]](v[b+28>>2],e,d,8)|0)!=8?-1:0}Qb=c+16|0;v[b+68>>2]=0;v[b+72>>2]=0;v[b+76>>2]=b+164;v[b+108>>2]=0;v[b+80>>2]=65536;v[b+84>>2]=0;m:{c=d;if(c){break m}if(!(v[b+160>>2]|v[b+156>>2]!=8)){v[b+104>>2]=0;v[b+96>>2]=0;v[b+100>>2]=0;c=_u(b- -64|0,-1,8,-15,8,0,334233);if(c){break m}v[b+120>>2]=8}v[b+65760>>2]=0;v[b+56>>2]=1;c=0;break e}v[b+65760>>2]=0}Qb=n+32|0;if(c){break d}e=v[i+12>>2];c=v[i+16>>2];d=-102;n:{if(!b|!v[b+56>>2]){break n}d=Kf(v[b+65704>>2],e,c);v[b+68>>2]=c;v[b+64>>2]=e;v[b+65704>>2]=d;if(c){g=b+164|0;p=b- -64|0;n=b+65752|0;while(1){o:{d=v[b+80>>2];if(d){break o}e=v[b+124>>2];p:{if(!v[b+65708>>2]){c=e;break p}d=0;c=0;if(!e){break p}while(1){h=v[b+65756>>2];c=b+d|0;e=v[b+65744>>2];e=v[h+((w[c+164|0]^e&255)<<2)>>2]^e>>>8;v[b+65744>>2]=e;f=B(v[b+65748>>2]+(e&255)|0,134775813)+1|0;v[b+65748>>2]=f;e=v[n>>2];v[n>>2]=v[h+((e&255^f>>>24)<<2)>>2]^e>>>8;f=c;h=w[c+164|0];c=e&65533;t[f+164|0]=h^B(c|2,c^3)>>>8;c=v[b+124>>2];d=d+1|0;if(c>>>0>d>>>0){continue}break}}d=65536;q=Ub[v[b+8>>2]](v[b+28>>2],v[b+44>>2],g,c)|0;v[b+80>>2]=65536;v[b+76>>2]=g;h=v[b+72>>2];v[b+72>>2]=0;c=v[b+124>>2];v[b+124>>2]=0;e=v[b+65736>>2];f=e+h|0;h=v[b+65740>>2];v[b+65736>>2]=f;v[b+65740>>2]=e>>>0>f>>>0?h+1|0:h;f=v[b+65732>>2];e=c+v[b+65728>>2]|0;v[b+65728>>2]=e;v[b+65732>>2]=c>>>0>e>>>0?f+1|0:f;if((c|0)==(q|0)){break o}d=-1;break n}q:{if(!(v[b+160>>2]?0:v[b+156>>2]==8)){c=v[b+68>>2];e=c>>>0>>0?c:d;if(e){c=e&3;d=0;if(e-1>>>0>=3){h=e&-4;while(1){t[v[b+76>>2]+d|0]=w[v[b+64>>2]+d|0];f=d|1;t[f+v[b+76>>2]|0]=w[f+v[b+64>>2]|0];f=d|2;t[f+v[b+76>>2]|0]=w[f+v[b+64>>2]|0];f=d|3;t[f+v[b+76>>2]|0]=w[f+v[b+64>>2]|0];d=d+4|0;h=h-4|0;if(h){continue}break}}if(c){while(1){t[v[b+76>>2]+d|0]=w[v[b+64>>2]+d|0];d=d+1|0;c=c-1|0;if(c){continue}break}}d=v[b+80>>2];c=v[b+68>>2]}v[b+80>>2]=d-e;v[b+68>>2]=c-e;v[b+64>>2]=e+v[b+64>>2];v[b+76>>2]=e+v[b+76>>2];v[b+72>>2]=e+v[b+72>>2];v[b+84>>2]=e+v[b+84>>2];v[b+124>>2]=e+v[b+124>>2];break q}c=v[b+84>>2];d=Nj(p,0);v[b+124>>2]=v[b+124>>2]+(v[b+84>>2]-c|0);if(d){break n}}if(v[b+68>>2]){continue}break}}d=0}if(d){break d}if(jG(b)){break d}i=i+20|0;if((o|0)!=(i|0)){continue}break c}break}OV(b);v[j+12>>2]=0;v[j+8>>2]=0;break b}OV(b);b=v[l>>2];v[k>>2]=b;v[j+12>>2]=b;b=v[l+12>>2];v[k+4>>2]=b;v[j+8>>2]=b;dc(l)}Qb=m+32|0;kz(v[a+4>>2]);a=fc(12);b=v[j+12>>2];c=v[j+8>>2];t[a+8|0]=1;v[a+4>>2]=c;v[a>>2]=b;Qb=j+16|0;return a|0}function OP(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=Qb-48|0;Qb=e;a:{b:{c:{d:{d=v[c>>2];f=w[d|0];if(!f){g=d;break d}while(1){g=f<<24>>24;if((g|0)==32|g-9>>>0<5){g=d+1|0;v[c>>2]=g;f=w[d+1|0];d=g;if(f){continue}break d}break}e:{f:{switch((f&255)-40|0){case 0:v[c>>2]=d+1;v[e+8>>2]=0;Wc(e+8|0,0);v[a>>2]=0;b=v[e+8>>2];if(!b){v[a+4>>2]=0;break c}v[299999]=0;v[b+4>>2]=v[b+4>>2]+1;b=v[299999];v[299999]=0;if((b|0)==1){break a}b=a;a=v[e+8>>2];v[b+4>>2]=a;v[e+8>>2]=0;if(!a){break c}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break c}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break c}}break b;case 1:v[c>>2]=d+1;v[e+8>>2]=0;Wc(e+8|0,0);v[a>>2]=1;b=v[e+8>>2];if(!b){v[a+4>>2]=0;break c}v[299999]=0;v[b+4>>2]=v[b+4>>2]+1;b=v[299999];v[299999]=0;if((b|0)!=1){b=a;a=v[e+8>>2];v[b+4>>2]=a;v[e+8>>2]=0;if(!a){break c}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break c}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break c}}break b}break a;default:if((f-48&255)>>>0>9){break e}break;case 5:break f}}b=fc(56);d=Yf(d,c,10);v[b+8>>2]=1;v[b+12>>2]=0;v[b>>2]=983068;v[b+4>>2]=0;c=v[282402];v[b+48>>2]=0;v[b+52>>2]=0;v[b+20>>2]=d;v[b+24>>2]=0;v[b+32>>2]=0;v[b+40>>2]=0;v[b+44>>2]=0;v[b+36>>2]=c;v[b+28>>2]=c;v[b+16>>2]=c;v[299999]=0;c=b+40|0;v[c>>2]=982500;v[c+4>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;c=v[299999];v[299999]=0;if((c|0)==1){a=P()|0;O()|0;ec(b+32|0);ec(b+24|0);ec(b+12|0);Qc(b);dc(b);T(a|0);L()}v[e+8>>2]=0;Wc(e+8|0,b);v[a>>2]=2;b=v[e+8>>2];if(!b){v[a+4>>2]=0;break c}v[299999]=0;v[b+4>>2]=v[b+4>>2]+1;b=v[299999];v[299999]=0;if((b|0)!=1){b=a;a=v[e+8>>2];v[b+4>>2]=a;v[e+8>>2]=0;if(!a){break c}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break c}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break c}}break b}break a}if((f&255)!=34){g=d;break d}v[e+40>>2]=0;v[e+44>>2]=v[282402];d=d+1|0;v[c>>2]=d;g:{h:{while(1){i:{g=0;while(1){f=w[d+g|0];if(!(!f|(f|0)==34|(f|0)==92)){g=g+1|0;continue}break}if(g){v[299999]=0;f=Y(4605,e+32|0,d|0,g|0)|0;d=v[299999];v[299999]=0;j:{k:{if((d|0)!=1){v[299999]=0;U(4547,e+8|0,e+40|0,f|0);d=v[299999];v[299999]=0;if((d|0)==1){break k}v[299999]=0;Q(4535,e+40|0,e+8|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break j}ec(e+8|0);ec(f);v[c>>2]=v[c>>2]+g;d=v[c>>2];continue}d=P()|0;O()|0;break g}d=P()|0;O()|0;ec(f);break g}d=P()|0;O()|0;ec(e+8|0);ec(f);break g}l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{g=w[d|0];if((g|0)!=92){if((g|0)!=34){break w}v[c>>2]=d+1;v[299999]=0;b=S(1,56)|0;c=v[299999];v[299999]=0;if((c|0)!=1){break u}break h}g=d+1|0;f=w[d+1|0];if(w[b+16|0]){if((f|0)!=34){break v}v[c>>2]=d+2;v[299999]=0;Q(4584,e+40|0,34)|0;d=v[299999];v[299999]=0;if((d|0)!=1){break l}break i}if(!f){break w}v[c>>2]=g;g=w[d+1|0];if((g&248)!=48){f=9;switch(g-97|0){case 19:break m;case 21:break o;case 5:break p;case 1:break q;case 17:break r;case 13:break s;case 0:break t;default:break n}}v[c>>2]=d+2;g=g-48|0;f=w[d+2|0];x:{if((f&248)!=48){break x}v[c>>2]=d+3;g=(f+(g<<3)|0)-48|0;f=w[d+3|0];if((f&248)!=48){break x}v[c>>2]=d+4;g=(f+(g<<3)|0)-48|0}v[299999]=0;Q(4584,e+40|0,g<<24>>24)|0;d=v[299999];v[299999]=0;if((d|0)!=1){break l}d=P()|0;O()|0;break g}v[299999]=0;a=aa(4369,e+8|0,v[282394],241562,495,342743,0)|0;b=v[299999];v[299999]=0;y:{if((b|0)!=1){v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)==1){break y}L()}d=P()|0;O()|0;break g}d=P()|0;O()|0;qc(a);break g}v[c>>2]=g;v[299999]=0;Q(4584,e+40|0,92)|0;d=v[299999];v[299999]=0;if((d|0)==1){break i}break l}c=v[e+40>>2];c=v[(c?c+12|0:1129608)>>2];v[299999]=0;c=Y(4650,b|0,2,c|0)|0;d=v[299999];v[299999]=0;z:{if((d|0)!=1){v[299999]=0;v[e+8>>2]=0;Q(4336,e+8|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break h}v[a>>2]=2;b=v[e+8>>2];A:{if(!b){v[a+4>>2]=0;break A}v[299999]=0;v[b+4>>2]=v[b+4>>2]+1;b=v[299999];v[299999]=0;if((b|0)==1){break z}b=a;a=v[e+8>>2];v[b+4>>2]=a;v[e+8>>2]=0;if(!a){break A}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break b}if(b){break A}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break b}}ec(e+40|0);break c}d=P()|0;O()|0;dc(b);break g}d=P()|0;O()|0;ec(e+8|0);break g}f=7;break m}f=10;break m}f=13;break m}f=8;break m}f=12;break m}f=11;break m}f=g}v[c>>2]=d+2;v[299999]=0;Q(4584,e+40|0,f<<24>>24)|0;d=v[299999];v[299999]=0;if((d|0)!=1){break l}d=P()|0;O()|0;break g}d=v[c>>2];continue}break}d=P()|0;O()|0;break g}d=P()|0;O()|0}ec(e+40|0);T(d|0);L()}v[e+8>>2]=0;v[e+12>>2]=v[282402];B:{C:{D:{E:{F:{while(1){v[c>>2]=g+1;b=w[g|0];if((b|0)==41){break F}if(!b){v[299999]=0;v[e+40>>2]=0;Q(4336,e+40|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break D}v[a>>2]=1;b=v[e+40>>2];if(!b){v[a+4>>2]=0;break B}v[299999]=0;v[b+4>>2]=v[b+4>>2]+1;b=v[299999];v[299999]=0;if((b|0)!=1){b=a;a=v[e+40>>2];v[b+4>>2]=a;v[e+40>>2]=0;if(!a){break B}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break b}if(b){break B}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break b}break B}f=P()|0;O()|0;ec(e+40|0);break C}b=b<<24>>24;if((b|0)==32|b-9>>>0<5){break E}v[299999]=0;Q(4584,e+8|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){g=v[c>>2];continue}break}f=P()|0;O()|0;break C}v[c>>2]=g}v[299999]=0;b=S(1,56)|0;c=v[299999];v[299999]=0;G:{H:{I:{if((c|0)==1){break I}c=v[e+8>>2];c=v[(c?c+12|0:1129608)>>2];v[299999]=0;c=Y(4650,b|0,3,c|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break H}v[299999]=0;v[e+40>>2]=0;Q(4336,e+40|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break I}v[a>>2]=2;b=v[e+40>>2];if(!b){v[a+4>>2]=0;break B}v[299999]=0;v[b+4>>2]=v[b+4>>2]+1;b=v[299999];v[299999]=0;if((b|0)==1){break G}b=a;a=v[e+40>>2];v[b+4>>2]=a;v[e+40>>2]=0;if(!a){break B}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break B}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break B}}break b}f=P()|0;O()|0;break C}f=P()|0;O()|0;dc(b);break C}f=P()|0;O()|0;ec(e+40|0);break C}f=P()|0;O()|0}ec(e+8|0);T(f|0);L()}ec(e+8|0)}Qb=e+48|0;return}W(0)|0;O()|0;lc();L()}a=P()|0;O()|0;ec(e+8|0);T(a|0);L()}function dpa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=Qb+-64|0;Qb=f;a:{b:{c:{d:{e:{f:{g:{h:{i:{while(1){OP(f+56|0,a,d);j:{switch(v[f+56>>2]){case 0:e=t[v[d>>2]];if((e|0)==32|e-9>>>0<5){v[299999]=0;c=Q(4340,f+24|0,357798)|0;a=v[299999];v[299999]=0;k:{l:{m:{n:{if((a|0)!=1){v[299999]=0;U(4546,f+48|0,c|0,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break n}ec(c);a=v[f+48>>2];a=v[(a?a+12|0:1129608)>>2];v[299999]=0;b=aa(4369,f+24|0,a|0,241562,536,342786,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break m}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break l}break b}g=P()|0;O()|0;break c}g=P()|0;O()|0;ec(c);break c}g=P()|0;O()|0;break k}g=P()|0;O()|0;qc(b)}ec(f+48|0);break c}v[299999]=0;U(4643,f+48|0,a|0,d|0);e=v[299999];v[299999]=0;o:{p:{q:{r:{s:{t:{u:{v:{if((e|0)!=1){k=v[f+52>>2];if(k){v[299999]=0;v[k+4>>2]=v[k+4>>2]+1;e=v[299999];v[299999]=0;if((e|0)==1){break v}}v[f+16>>2]=k;e=v[f+48>>2];if((e|0)==2){switch(v[k+8>>2]-1|0){case 1:break p;case 0:break q;default:break o}}if(e>>>0>1){break o}v[299999]=0;c=Q(4340,f+24|0,357778)|0;a=v[299999];v[299999]=0;if((a|0)==1){break u}v[299999]=0;U(4546,f+8|0,c|0,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break t}ec(c);a=v[f+8>>2];a=v[(a?a+12|0:1129608)>>2];v[299999]=0;b=aa(4369,f+24|0,a|0,241562,548,342786,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break s}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}g=P()|0;O()|0;qc(b);break r}g=P()|0;O()|0;break c}g=P()|0;O()|0;break d}g=P()|0;O()|0;break e}g=P()|0;O()|0;ec(c);break e}g=P()|0;O()|0}ec(f+8|0);break e}v[299999]=0;c=Q(4340,f+8|0,357716)|0;a=v[299999];v[299999]=0;w:{x:{if((a|0)!=1){v[299999]=0;Q(4644,c|0,b|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break x}a=v[c>>2];a=v[(a?a+12|0:1129608)>>2];v[299999]=0;b=aa(4369,f+24|0,a|0,241562,557,342786,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break w}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}g=P()|0;O()|0;qc(b);ec(c);break e}g=P()|0;O()|0;break e}g=P()|0;O()|0;ec(c);break e}g=P()|0;O()|0;ec(c);break e}v[299999]=0;c=Q(4340,f+8|0,357884)|0;a=v[299999];v[299999]=0;y:{z:{if((a|0)!=1){v[299999]=0;Q(4644,c|0,b|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break z}a=v[c>>2];a=v[(a?a+12|0:1129608)>>2];v[299999]=0;b=aa(4369,f+24|0,a|0,241562,563,342786,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break y}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}g=P()|0;O()|0;qc(b);ec(c);break e}g=P()|0;O()|0;break e}g=P()|0;O()|0;ec(c);break e}g=P()|0;O()|0;ec(c);break e}v[f+32>>2]=0;v[f+36>>2]=0;v[f+24>>2]=0;v[f+28>>2]=0;v[299999]=0;i=f+24|0;v[i>>2]=982500;v[i+4>>2]=0;v[i+8>>2]=0;v[i+12>>2]=0;e=v[299999];v[299999]=0;A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{if((e|0)!=1){v[299999]=0;V(4645,f+8|0,k|0);e=v[299999];v[299999]=0;if((e|0)==1){break M}e=v[f+8>>2];e=v[(e?e+12|0:1129608)>>2];v[299999]=0;$(4641,a|0,e|0,f+24|0,d|0);e=v[299999];v[299999]=0;if((e|0)==1){break L}ec(f+8|0);break J}g=P()|0;O()|0;break e}g=W(989228)|0;e=O()|0;break K}g=W(989228)|0;e=O()|0;ec(f+8|0)}if((ja(989228)|0)!=(e|0)){break f}e=ea(g|0)|0;v[299999]=0;h=Nl(e,v[282394]);e=v[299999];v[299999]=0;if((e|0)==1){break g}if(h){v[299999]=0;ba(4483);a=v[299999];v[299999]=0;if((a|0)!=1){break b}break g}v[299999]=0;ba(4230);e=v[299999];v[299999]=0;if((e|0)==1){break I}}v[299999]=0;j=S(1,56)|0;e=v[299999];v[299999]=0;if((e|0)==1){break H}v[299999]=0;V(4645,f+8|0,k|0);e=v[299999];v[299999]=0;if((e|0)==1){break G}e=v[f+8>>2];e=v[(e?e+12|0:1129608)>>2];v[j+8>>2]=4;v[j>>2]=983068;v[j+4>>2]=0;v[299999]=0;h=Q(4340,j+12|0,e|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break C}v[j+24>>2]=0;e=v[282402];v[j+36>>2]=e;v[j+32>>2]=0;v[j+28>>2]=e;v[299999]=0;Q(4387,j+40|0,i|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){g=P()|0;O()|0;ec(j+32|0);ec(j+24|0);ec(h);break B}v[299999]=0;v[f>>2]=0;Q(4336,f|0,j|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break F}v[299999]=0;h=S(1,12)|0;e=v[299999];v[299999]=0;if((e|0)==1){break E}v[h>>2]=0;v[h+4>>2]=0;v[h+8>>2]=0;e=h;j=v[f>>2];if(j){v[299999]=0;v[j+4>>2]=v[j+4>>2]+1;j=v[299999];v[299999]=0;if((j|0)==1){break E}g=v[f>>2]}else{g=0}v[e+8>>2]=g;v[299999]=0;Le(c,h);e=v[299999];v[299999]=0;if((e|0)==1){break E}j=v[f>>2];v[f>>2]=0;N:{if(!j){break N}v[299999]=0;h=v[j+4>>2]-1|0;v[j+4>>2]=h;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(h){break N}v[299999]=0;R(4338,j|0);e=v[299999];v[299999]=0;if((e|0)==1){break a}}ec(f+8|0);Ic(i);O:{if(!k){break O}v[299999]=0;i=v[k+4>>2]-1|0;v[k+4>>2]=i;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(i){break O}v[299999]=0;R(4338,k|0);e=v[299999];v[299999]=0;if((e|0)==1){break a}}P:{if(!k){break P}v[299999]=0;i=v[k+4>>2]-1|0;v[k+4>>2]=i;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(i){break P}v[299999]=0;R(4338,k|0);e=v[299999];v[299999]=0;if((e|0)==1){break a}}h=v[f+60>>2];if(!h){continue}v[299999]=0;i=v[h+4>>2]-1|0;v[h+4>>2]=i;e=v[299999];v[299999]=0;if((e|0)!=1){if(i){continue}v[299999]=0;R(4338,h|0);e=v[299999];v[299999]=0;if((e|0)!=1){continue}}break a}g=P()|0;O()|0;break f}g=P()|0;O()|0;break f}g=P()|0;O()|0;break A}g=P()|0;O()|0;break D}g=P()|0;O()|0;ec(f)}ec(f+8|0);break f}g=P()|0;O()|0}Qc(j);ec(f+8|0)}dc(j);break f;case 1:break h;default:break j}}v[299999]=0;i=S(1,12)|0;e=v[299999];v[299999]=0;if((e|0)==1){break i}v[i>>2]=0;v[i+4>>2]=0;v[i+8>>2]=0;h=v[f+60>>2];if(h){v[299999]=0;v[h+4>>2]=v[h+4>>2]+1;e=v[299999];v[299999]=0;if((e|0)==1){break i}}v[i+8>>2]=h;v[299999]=0;Le(c,i);e=v[299999];v[299999]=0;if((e|0)==1){break i}if(!h){continue}v[299999]=0;i=v[h+4>>2]-1|0;v[h+4>>2]=i;e=v[299999];v[299999]=0;if((e|0)!=1){if(i){continue}v[299999]=0;R(4338,h|0);e=v[299999];v[299999]=0;if((e|0)!=1){continue}}break}break a}g=P()|0;O()|0;break c}c=v[f+60>>2];Q:{if(!c){break Q}v[299999]=0;b=v[c+4>>2]-1|0;v[c+4>>2]=b;a=v[299999];v[299999]=0;if((a|0)==1){break a}if(b){break Q}v[299999]=0;R(4338,c|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Qb=f- -64|0;return}g=P()|0;O()|0;v[299999]=0;ba(4230);a=v[299999];v[299999]=0;if((a|0)!=1){break f}break a}Ic(i)}ec(f+16|0)}xx(f+48|0)}xx(f+56|0);T(g|0);L()}L()}W(0)|0;O()|0;lc();L()}function ws(a,b){a=a|0;b=b|0;var 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,z=0,A=0,C=0,D=0,E=0,F=0,G=0;g=Qb+-64|0;Qb=g;q=v[a+100>>2];h=v[a+104>>2];v[g+56>>2]=0;e=v[a+736>>2];a:{b:{if(!e){c=Ub[v[a+516>>2]](a,1735811442,h,g+60|0)|0;v[g+56>>2]=c;if(c){c=Ub[v[a+516>>2]](a,1128678962,h,g+60|0)|0;v[g+56>>2]=c;if(c){break a}}c=Ub[v[a+516>>2]](a,1719034226,h,g+60|0)|0;v[g+56>>2]=c;if(c){break a}n=v[h+8>>2];c=me(h,448304,g+40|0);v[g+56>>2]=c;if(c){break a}i=x[g+46>>1];f=x[g+52>>1];c=Fd(q,80,g+56|0);v[a+736>>2]=c;if(v[g+56>>2]){break a}j=x[g+46>>1];v[c>>2]=j;D=(f|0)==((i<<2)+6|0);break b}j=v[e>>2];c=e}s=B(j,24);i=v[a+12>>2];p=i>>>16|0;z=B(p,12);A=(j<<1)+3&-4;E=B(j,p);C=E<<2;if(!e){e=c;c=((((B(j,5)+s|0)+A|0)+z|0)+C|0)+20|0;v[e+16>>2]=c;l=Fd(q,c,g+56|0);if(v[g+56>>2]){break a}v[v[a+736>>2]+12>>2]=l;r=l+20|0;m=A+r|0;o=s+m|0;v[l+16>>2]=o;v[l+12>>2]=m;v[l+8>>2]=p;v[l+4>>2]=-1;v[l>>2]=j;e=o+z|0;c:{if(i>>>0<65536){break c}c=p>>>0>1?p:1;i=c&3;d:{if(c-1>>>0<3){c=e;break d}f=c&65532;c=e;while(1){v[o+B(d,12)>>2]=c;k=c;c=j<<2;k=k+c|0;v[o+B(d|1,12)>>2]=k;k=c+k|0;v[o+B(d|2,12)>>2]=k;k=c+k|0;v[o+B(d|3,12)>>2]=k;c=c+k|0;d=d+4|0;f=f-4|0;if(f){continue}break}}if(!i){break c}f=j<<2;while(1){v[o+B(d,12)>>2]=c;d=d+1|0;c=c+f|0;i=i-1|0;if(i){continue}break}}e:{if(!j){break e}f=j&7;c=e+C|0;d=0;if(j-1>>>0>=7){i=j&-8;while(1){v[B(d,24)+m>>2]=c;v[B(d|1,24)+m>>2]=c+5;v[B(d|2,24)+m>>2]=c+10;v[B(d|3,24)+m>>2]=c+15;v[B(d|4,24)+m>>2]=c+20;v[B(d|5,24)+m>>2]=c+25;v[B(d|6,24)+m>>2]=c+30;v[B(d|7,24)+m>>2]=c+35;d=d+8|0;c=c+40|0;i=i-8|0;if(i){continue}break}}if(!f){break e}while(1){v[B(d,24)+m>>2]=c;d=d+1|0;c=c+5|0;f=f-1|0;if(f){continue}break}}c=Yc(h,x[g+44>>1]+n|0);v[g+56>>2]=c;if(c){break a}if(j){d=v[l+12>>2];e=0;while(1){c=me(h,448352,g+16|0);v[g+56>>2]=c;if(c){break a}c=v[g+16>>2];v[d+16>>2]=c;v[d+4>>2]=v[g+20>>2];v[d+8>>2]=v[g+24>>2];v[d+12>>2]=v[g+28>>2];v[d+20>>2]=x[g+34>>1];t[v[d>>2]]=c>>>24;t[v[d>>2]+1|0]=x[d+18>>1];t[v[d>>2]+2|0]=v[d+16>>2]>>>8;t[v[d>>2]+3|0]=v[d+16>>2];t[v[d>>2]+4|0]=0;u[r>>1]=x[g+32>>1];c=v[d+8>>2];if(!((c|0)>=v[d+4>>2]&(c|0)<=v[d+12>>2])){v[d+12>>2]=c;v[d+4>>2]=c}r=r+2|0;d=d+24|0;e=e+1|0;if((j|0)!=(e|0)){continue}break}}d=0;f=Cc(q,4,0,E,0,g+56|0);c=v[a+736>>2];v[c+20>>2]=f;if(v[g+56>>2]){break a}f:{if(!x[g+50>>1]){break f}if(!w[c+24|0]){c=v[h+8>>2];dZ(a);c=Yc(h,c);v[g+56>>2]=c;if(c){break a}if(!x[g+50>>1]){break f}f=v[v[a+736>>2]+20>>2]}m=j<<2;n=m+(D?6:4)|0;o=!D;e=v[l+16>>2];i=0;while(1){c=ne(h,n);v[g+56>>2]=c;if(c){break a}F=e,G=He(h),v[F+4>>2]=G;He(h);if(j){d=v[e>>2];c=0;while(1){F=d,G=Sg(h),v[F>>2]=G;d=d+4|0;c=c+1|0;if((j|0)!=(c|0)){continue}break}}c=e;if(o){k=65535}else{k=He(h)}v[c+8>>2]=k;cZ(v[a+736>>2],j,v[e>>2],f);Vd(h);e=e+12|0;f=f+m|0;d=x[g+50>>1];i=i+1|0;if(d>>>0>i>>>0){continue}break}}g:{if((d|0)==(p|0)){break g}c=17;e=v[a+540>>2];if(!(Ub[v[e+148>>2]](a,17,g+16|0,g+12|0)|0)){c=2;if(!(Ub[v[e+148>>2]](a,2,g+16|0,g+12|0)|0)){break g}}if(!(Ub[v[e+148>>2]](a,6,g+16|0,g+12|0)|0)){break g}d=v[l+16>>2]+B(x[g+50>>1],12)|0;v[d+8>>2]=6;v[d+4>>2]=c;if(!j){break g}e=j&7;d=v[d>>2];c=v[l+12>>2];if(j-1>>>0>=7){f=j&-8;while(1){v[d>>2]=v[c+8>>2];v[d+4>>2]=v[c+32>>2];v[d+8>>2]=v[c+56>>2];v[d+12>>2]=v[c+80>>2];v[d+16>>2]=v[c+104>>2];v[d+20>>2]=v[c+128>>2];v[d+24>>2]=v[c+152>>2];v[d+28>>2]=v[c+176>>2];d=d+32|0;c=c+192|0;f=f-8|0;if(f){continue}break}}if(!e){break g}while(1){v[d>>2]=v[c+8>>2];d=d+4|0;c=c+24|0;e=e-1|0;if(e){continue}break}}c=Qb-16|0;Qb=c;d=v[a+736>>2];e=v[a+104>>2];h=v[e+28>>2];i=Ub[v[a+516>>2]](a,1297498450,e,c+8|0)|0;v[c+12>>2]=i;h:{if(i){break h}i=v[e+8>>2];f=Ed(e,c+12|0);if(v[c+12>>2]){break h}l=Bf(e,2);v[c+12>>2]=l;if((f|0)!=1|l){break h}F=d,G=Fd(h,28,c+12|0),v[F+56>>2]=G;if(v[c+12>>2]){break h}f=Bf(e,4);v[c+12>>2]=f;if(f){break h}f=Ed(e,c+12|0);u[v[d+56>>2]>>1]=f;if(v[c+12>>2]){break h}f=Ed(e,c+12|0);if(v[c+12>>2]){break h}l=v[e+8>>2];i=$Y(v[a+104>>2],v[a+736>>2],f+i|0,v[d+56>>2]+4|0);v[c+12>>2]=i;if(i){break h}h=Cc(h,12,0,x[v[d+56>>2]>>1],0,c+12|0);v[v[d+56>>2]+24>>2]=h;if(v[c+12>>2]){break h}h=Yc(e,l);v[c+12>>2]=h;if(h){break h}h=ne(e,x[v[d+56>>2]>>1]<<3);v[c+12>>2]=h;if(h){break h}h=v[d+56>>2];i=x[h>>1];i:{if(!i){break i}n=v[h+24>>2];i=n+B(i,12)|0;while(1){j:{F=n,G=Sg(e),v[F>>2]=G;F=n,G=He(e),u[F+4>>1]=G;f=He(e);u[n+6>>1]=f;l=x[n+4>>1];if(l>>>0>=y[h+4>>2]|f>>>0>=y[v[h+8>>2]+(l<<4)>>2]){break j}n=n+12|0;if(i>>>0>n>>>0){continue}break i}break}v[c+12>>2]=8}Vd(e);if(v[c+12>>2]){break h}e=v[d+56>>2];d=x[e>>1];if(d){f=v[e+24>>2];e=f+B(d,12)|0;while(1){d=_Y(a,v[f>>2]);if(d){u[f+8>>1]=x[d>>1]}f=f+12|0;if(e>>>0>f>>>0){continue}break}}v[a+740>>2]=v[a+740>>2]|256}Qb=c+16|0}if(!b){break a}c=Fd(q,v[v[a+736>>2]+16>>2],g+56|0);if(v[g+56>>2]){break a}a=v[a+736>>2];f=gc(c,v[a+12>>2],v[a+16>>2]);c=(f+A|0)+20|0;h=s+c|0;v[f+16>>2]=h;v[f+12>>2]=c;a=h+z|0;e=v[f+8>>2];k:{if(!e){break k}l=e&3;l:{if(e-1>>>0<3){d=0;e=a;break l}i=e&-4;d=0;e=a;while(1){v[h+B(d,12)>>2]=e;k=e;e=j<<2;m=k+e|0;v[h+B(d|1,12)>>2]=m;m=e+m|0;v[h+B(d|2,12)>>2]=m;m=e+m|0;v[h+B(d|3,12)>>2]=m;e=e+m|0;d=d+4|0;i=i-4|0;if(i){continue}break}}if(!l){break k}i=j<<2;while(1){v[h+B(d,12)>>2]=e;d=d+1|0;e=e+i|0;l=l-1|0;if(l){continue}break}}m:{if(!j){break m}i=j&1;d=a+C|0;if((j|0)!=1){j=j&-2;while(1){v[c>>2]=d;a=c;n:{o:{p:{e=v[c+16>>2];if((e|0)<=2003072103){if((e|0)==1869640570){break p}if((e|0)!=1936486004){break n}k=231527;break o}k=232188;if((e|0)==2003265652){break o}if((e|0)!=2003072104){break n}k=269643;break o}k=274147}v[a>>2]=k}v[c+24>>2]=d+5;a=c;q:{r:{s:{t:{e=v[c+40>>2];if((e|0)<=2003072103){if((e|0)==1869640570){break t}if((e|0)!=1936486004){break q}k=231527;break r}if((e|0)==2003072104){break s}k=232188;if((e|0)==2003265652){break r}break q}k=274147;break r}k=269643}v[a+24>>2]=k}c=c+48|0;d=d+10|0;j=j-2|0;if(j){continue}break}}if(!i){break m}v[c>>2]=d;a=c;u:{v:{w:{c=v[c+16>>2];if((c|0)<=2003072103){if((c|0)==1869640570){break w}if((c|0)!=1936486004){break m}e=231527;break u}if((c|0)==2003072104){break v}e=232188;if((c|0)==2003265652){break u}break m}e=274147;break u}e=269643}v[a>>2]=e}v[b>>2]=f}Qb=g- -64|0;return v[g+56>>2]}function pXa(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,n=0,o=0,p=0,q=0,r=0,s=0,y=0,z=0;a=Qb-336|0;Qb=a;v[b>>2]=1;q=b+504|0;v[q>>2]=0;r=Qj(v[b+96>>2],235201,1);v[b+488>>2]=r;n=sm(v[v[b+96>>2]+4>>2],220369);v[b+492>>2]=n;a:{if(!n){f=11;break a}h=v[b+100>>2];ic(a+16|0,0,304);y=b,z=Fd(h,12,a+12|0),v[y+496>>2]=z;b:{if(v[a+12>>2]){break b}v[b+500>>2]=12;f=v[b+104>>2];Ub[v[v[n+4>>2]>>2]](a+16|0,0,0,h);t[a+100|0]=0;v[a+92>>2]=0;v[a+96>>2]=0;v[a+88>>2]=f;g=Yc(f,0);v[a+320>>2]=g;c:{d:{if(g){break d}g=ne(f,17);v[a+320>>2]=g;if(g){break d}if(Pc(v[f+32>>2],228421,17)){g=2;v[a+320>>2]=2;Vd(f);break d}Vd(f);g=Yc(f,0);v[a+320>>2]=g;if(g){break d}j=v[f+4>>2];e:{if(!v[f+20>>2]){g=v[f+8>>2];i=v[f>>2];t[a+100|0]=1;v[a+96>>2]=j;v[a+92>>2]=g+i;g=Bf(f,j);v[a+320>>2]=g;if(g){break d}j=v[a+96>>2];break e}i=Fd(h,j,a+320|0);v[a+92>>2]=i;g=v[a+320>>2];if(g){break d}g=Lf(f,i,j);v[a+320>>2]=g;if(g){break d}v[a+96>>2]=j}h=v[a+92>>2];v[a+20>>2]=h;v[a+12>>2]=0;break c}if(w[a+100|0]){v[a+12>>2]=g;break b}f=v[a+92>>2];if(f){Ub[v[h+8>>2]](h,f)}h=0;v[a+92>>2]=0;f=v[a+320>>2];v[a+12>>2]=f;if(f){break b}j=v[a+96>>2]}v[a+28>>2]=0;v[a+16>>2]=h;j=h+j|0;v[a+24>>2]=j;Ub[v[a+44>>2]](a+16|0);f:{g:{h:{f=v[a+16>>2];if(j>>>0>f>>>0){o=b+132|0;m=b+164|0;p=b+464|0;while(1){i:{j:{g=w[f|0];if(!((g|0)!=70|j>>>0<=f+25>>>0)){if(Oc(f,217915,13)){break j}f=a+16|0;Ub[v[a+48>>2]](f);Ub[v[a+44>>2]](f);h=v[a+16>>2];f=h;k:{if(j>>>0<=f>>>0){break k}while(1){l:{if(!(w[f|0]!=107|j>>>0<=f+5>>>0)){if(!Oc(f,244559,5)){break l}}Ub[v[a+48>>2]](a+16|0);f=v[a+28>>2];if(f){break h}Ub[v[a+44>>2]](a+16|0);f=v[a+16>>2];if(j>>>0>f>>>0){continue}break k}break}f=a+16|0;Ub[v[a+48>>2]](f);Ub[v[a+72>>2]](f,a+320|0);h=v[a+328>>2]==3?v[a+16>>2]:h}v[a+16>>2]=h;break i}if((g|0)!=47|j>>>0<=f+2>>>0){break j}g=f+1|0;v[a+16>>2]=g;Ub[v[a+48>>2]](a+16|0);f=v[a+28>>2];if(f){break h}h=v[a+16>>2];k=h-g|0;if(k-1>>>0>20){break i}f=0;if(h>>>0>=j>>>0){break i}while(1){m:{h=B(f,36);l=h+453936|0;i=v[l>>2];if(!i|w[g|0]!=w[i|0]){break m}if((Bc(i)|0)!=(k|0)){break m}if(Pc(g,i,k)){break m}g=a;n:{if(f-15>>>0<=3){Ub[v[h+453948>>2]](b,a+16|0);f=v[a+28>>2];break n}f=v[h+453944>>2];o:{p:{switch(v[h+453940>>2]-2|0){case 0:v[a+320>>2]=m;break o;case 3:v[a+320>>2]=p;break o;default:break p}}v[a+320>>2]=o}if(f-9>>>0<=1){f=Ub[v[a+84>>2]](a+16|0,l,a+320|0,0,0)|0;break n}f=Ub[v[a+80>>2]](a+16|0,l,a+320|0,0,0)|0}v[g+28>>2]=f;if(!f){break i}v[a+12>>2]=f;break b}f=f+1|0;if((f|0)!=20){continue}break}break i}Ub[v[a+48>>2]](a+16|0);f=v[a+28>>2];if(f){break h}}Ub[v[a+44>>2]](a+16|0);f=v[a+16>>2];if(j>>>0>f>>>0){continue}break}}f=v[a+28>>2];v[a+12>>2]=f;if(f){break b}if(w[b+437|0]!=42){v[a+12>>2]=2;break b}h=v[a+160>>2];v[b+420>>2]=h;if(!v[a+228>>2]){v[a+12>>2]=3}j=0;v[a+228>>2]=0;v[b+396>>2]=v[a+216>>2];v[b+428>>2]=v[a+240>>2];v[b+432>>2]=v[a+244>>2];v[b+400>>2]=v[a+164>>2];v[b+424>>2]=v[a+188>>2];v[a+188>>2]=0;v[a+164>>2]=0;if(v[b+368>>2]!=1){break b}i=0;k=v[a+124>>2];if((k|0)<1){break f}g=0;if((h|0)<=0){break g}while(1){l=g<<2;o=v[l+v[a+132>>2]>>2];p=g<<1;u[p+v[b+384>>2]>>1]=0;v[l+v[b+388>>2]>>2]=273792;q:{if(!o){break q}s=v[b+424>>2];f=0;while(1){m=v[(f<<2)+s>>2];if(mc(o,m)){f=f+1|0;if((h|0)!=(f|0)){continue}break q}break}u[p+v[b+384>>2]>>1]=f;v[l+v[b+388>>2]>>2]=m;if(!mc(273792,m)){break q}i=(g|0)<(i|0)?i:g+1|0;j=(g|0)<(j|0)?g:j}g=g+1|0;if((k|0)!=(g|0)){continue}break}break f}v[a+12>>2]=f;break b}h=k&3;f=0;if(k-1>>>0>=3){g=k&-4;while(1){u[v[b+384>>2]+(f<<1)>>1]=0;v[v[b+388>>2]+(f<<2)>>2]=273792;i=f|1;u[v[b+384>>2]+(i<<1)>>1]=0;v[v[b+388>>2]+(i<<2)>>2]=273792;i=f|2;u[v[b+384>>2]+(i<<1)>>1]=0;v[v[b+388>>2]+(i<<2)>>2]=273792;i=f|3;u[v[b+384>>2]+(i<<1)>>1]=0;v[v[b+388>>2]+(i<<2)>>2]=273792;f=f+4|0;g=g-4|0;if(g){continue}break}}i=0;if(!h){break f}while(1){u[v[b+384>>2]+(f<<1)>>1]=0;v[v[b+388>>2]+(f<<2)>>2]=273792;f=f+1|0;h=h-1|0;if(h){continue}break}}v[b+380>>2]=i;v[b+376>>2]=j;v[b+372>>2]=v[a+104>>2]}f=v[a+156>>2];if(f){Ub[f|0](a+108|0)}f=v[a+264>>2];if(f){Ub[f|0](a+216|0)}f=v[a+212>>2];if(f){Ub[f|0](a+164|0)}f=v[a+316>>2];if(f){Ub[f|0](a+268|0)}if(!w[a+100|0]){f=v[a+32>>2];g=v[a+92>>2];if(g){Ub[v[f+8>>2]](f,g)}v[a+92>>2]=0}f=v[a+40>>2];if(f){Ub[f|0](a+16|0)}f=v[a+12>>2];if(f|(c|0)<0){break a}f=6;if(c&65535){break a}v[b+36>>2]=0;v[b+4>>2]=0;v[b+24>>2]=240246;v[b+16>>2]=v[b+420>>2];c=v[b+144>>2];v[b+20>>2]=c;v[b+8>>2]=v[b+8>>2]|(w[b+156|0]?533:529)|2048;r:{if(c){f=v[b+140>>2];if(!f){break r}h=w[f|0];if(!h){break r}while(1){h=h&255;g=w[c|0];s:{if((h|0)==(g|0)){f=f+1|0;c=c+1|0;break s}h=h-32|0;if(!(!h|(h|0)==13)){t:{switch(g-32|0){case 0:case 13:c=c+1|0;break s;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break r;default:break t}}if(g){break r}v[b+24>>2]=f;break r}f=f+1|0}h=w[f|0];if(h){continue}break}break r}c=v[b+364>>2];if(!c){break r}v[b+20>>2]=c}v[b+28>>2]=0;v[b+32>>2]=0;v[a+16>>2]=9;y=a,z=Eg(v[v[b+96>>2]+4>>2],278818),v[y+36>>2]=z;v[a+20>>2]=v[b+496>>2];v[a+24>>2]=v[b+500>>2];if(d){v[a+44>>2]=e;v[a+40>>2]=d;v[a+16>>2]=25}f=WH(v[v[b+96>>2]+4>>2],a+16|0,0,q);if(f){break a}O_(v[v[b+504>>2]+88>>2]);c=v[b+504>>2];d=v[c+56>>2];v[b+52>>2]=v[c+52>>2];v[b+56>>2]=d;d=v[c+64>>2];v[b+60>>2]=v[c+60>>2];v[b+64>>2]=d;u[b+68>>1]=x[c+68>>1];u[b+70>>1]=x[c+70>>1];u[b+72>>1]=x[c+72>>1];u[b+74>>1]=x[c+74>>1];u[b+76>>1]=x[c+76>>1];u[b+78>>1]=x[c+78>>1];u[b+80>>1]=x[b+158>>1];u[b+82>>1]=x[b+160>>1];d=v[b+152>>2]!=0;v[b+12>>2]=d;if(w[c+12|0]&2){v[b+12>>2]=d|2}if(w[c+8|0]&32){v[b+8>>2]=v[b+8>>2]|32}if(!r){f=0;break a}c=v[n+32>>2];v[a+16>>2]=b;v[a+20>>2]=1970170211;v[a+24>>2]=65539;f=Rj(v[c+12>>2],0,a+16|0,0);u:{if(!f){break u}d=f&255;if((d|0)==163){break u}if((d|0)!=7){break a}}u[a+24>>1]=7;f=0;v:{w:{switch(v[b+368>>2]-1|0){case 1:u[a+26>>1]=0;v[a+20>>2]=1094995778;break v;case 3:u[a+26>>1]=1;v[a+20>>2]=1094992453;c=c+4|0;break v;case 0:u[a+26>>1]=2;v[a+20>>2]=1094992451;c=c+8|0;break v;case 2:break w;default:break a}}c=c+12|0;u[a+26>>1]=3;v[a+20>>2]=1818326065}b=v[c>>2];if(!b){break a}f=Rj(b,0,a+16|0,0)}Qb=a+336|0;return f|0}function HX(a,b,c){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,p=0;k=Qb-16|0;Qb=k;v[c>>2]=2147483632;v[c+16>>2]=v[c+8>>2];i=v[c+20>>2];v[c+28>>2]=i;u[i+2>>1]=0;e=v[b+20>>2];j=v[b+28>>2]-e|0;f=268435454;d=268435455;h=268435455;i=268435454;l=v[a+20>>2];a=v[a+28>>2]-l|0;if(a){v[k+4>>2]=l+8;o=(a>>3)-1|0;a=u[l+10>>1];b=a>>31;h=u[l+8>>1];i=(h+((b^a+b)&65535)|0)-1|0}if(j){v[k>>2]=e+8;p=(j>>3)-1|0;a=u[e+10>>1];b=a>>31;d=u[e+8>>1];f=(d+((b^a+b)&65535)|0)-1|0}while(1){a:{if(!o){b=h;o=0;break a}if((h|0)<=(i|0)){b=h;break a}b=v[k+4>>2];v[k+4>>2]=b+8;o=o-1|0;a=u[b+10>>1];i=a>>31;b=u[b+8>>1];i=(b+((i^a+i)&65535)|0)-1|0}l=i;b:{c:{d:{if(!p){p=0;break d}if((d|0)>(f|0)){break c}}a=d;break b}a=v[k>>2];v[k>>2]=a+8;p=p-1|0;i=u[a+10>>1];f=i>>31;a=u[a+8>>1];f=(a+((f^f+i)&65535)|0)-1|0}j=f;if(!((f|0)<(a|0)&(b|0)>(l|0))){m=(j|0)<(l|0);h=(a|0)>(b|0)?a:b;i=(m?j:l)-h|0;if((i|0)>=0){i=i+1|0;e:{f:{g:{if((a|0)>(b|0)){g=a-b|0;d=v[k+4>>2];f=u[d+2>>1];if((f|0)<=-1){e=w[v[d+4>>2]];h:{if((v[c>>2]+1|0)!=(b|0)){break h}d=v[c+28>>2];f=u[d+2>>1];if((f|0)>-1|(e|0)!=w[v[d+4>>2]]){break h}u[d+2>>1]=f-g;b=a;break g}t[v[c+16>>2]]=e;d=v[c+28>>2];v[c+28>>2]=d+8;f=v[c+16>>2];v[c+16>>2]=f+1;u[d+10>>1]=0-g;u[d+8>>1]=b;v[d+12>>2]=f;b=a;break g}if(!f){b=a;break e}f=u[d>>1];gc(v[c+16>>2],v[d+4>>2]+((b|0)>(f|0)?b-f|0:0)|0,g);d=v[c+28>>2];i:{j:{if((v[c>>2]+1|0)!=(b|0)){break j}f=u[d+2>>1];if((f|0)<1){break j}u[d+2>>1]=f+g;f=v[c+16>>2];break i}v[c+28>>2]=d+8;f=v[c+16>>2];u[d+10>>1]=g;u[d+8>>1]=b;v[d+12>>2]=f}v[c+16>>2]=f+g;b=a;break g}if((a|0)>=(b|0)){break e}g=b-a|0;d=v[k>>2];f=u[d+2>>1];if((f|0)<=-1){e=w[v[d+4>>2]];k:{if((v[c>>2]+1|0)!=(a|0)){break k}d=v[c+28>>2];f=u[d+2>>1];if((f|0)>-1|(e|0)!=w[v[d+4>>2]]){break k}u[d+2>>1]=f-g;break g}t[v[c+16>>2]]=e;d=v[c+28>>2];v[c+28>>2]=d+8;f=v[c+16>>2];v[c+16>>2]=f+1;u[d+10>>1]=0-g;u[d+8>>1]=a;v[d+12>>2]=f;break g}if(!f){break f}f=u[d>>1];gc(v[c+16>>2],v[d+4>>2]+((a|0)>(f|0)?a-f|0:0)|0,g);d=v[c+28>>2];l:{m:{if((v[c>>2]+1|0)!=(a|0)){break m}f=u[d+2>>1];if((f|0)<1){break m}u[d+2>>1]=f+g;f=v[c+16>>2];break l}v[c+28>>2]=d+8;f=v[c+16>>2];u[d+10>>1]=g;u[d+8>>1]=a;v[d+12>>2]=f}v[c+16>>2]=f+g}v[c>>2]=b-1}a=b}f=i;n:{o:{p:{q:{r:{s:{t:{u:{g=v[k>>2];e=v[k+4>>2];switch((x[g+2>>1]>>>14&2|x[e+2>>1]>>>15)-1|0){case 2:break r;case 1:break s;case 0:break t;default:break u}}d=u[g>>1];n=v[g+4>>2]+((d|0)<(h|0)?h-d|0:0)|0;d=u[e>>1];d=v[e+4>>2]+((d|0)<(h|0)?h-d|0:0)|0;e=v[c+16>>2];while(1){g=e;e=B(w[n|0]^255,w[d|0]^255);t[g|0]=e?65025-e>>>8|0:-1;g=v[c+28>>2];v:{w:{if((v[c>>2]+1|0)!=(h|0)){break w}e=u[g+2>>1];if((e|0)<1){break w}u[g+2>>1]=e+1;e=v[c+16>>2];break v}v[c+28>>2]=g+8;e=v[c+16>>2];u[g+10>>1]=1;u[g+8>>1]=h;v[g+12>>2]=e}n=n+1|0;d=d+1|0;v[c>>2]=h;e=e+1|0;v[c+16>>2]=e;h=h+1|0;f=f-1|0;if(f){continue}break}break n}d=w[v[e+4>>2]];if((d|0)==255){break p}e=u[g>>1];n=v[g+4>>2]+((e|0)<(h|0)?h-e|0:0)|0;e=v[c+16>>2];while(1){d=B((d^-1)&255,w[n|0]^255);t[e|0]=d?65025-d>>>8|0:-1;e=v[c+28>>2];x:{y:{if((v[c>>2]+1|0)!=(h|0)){break y}d=u[e+2>>1];if((d|0)<1){break y}u[e+2>>1]=d+1;d=v[c+16>>2];break x}v[c+28>>2]=e+8;d=v[c+16>>2];u[e+10>>1]=1;u[e+8>>1]=h;v[e+12>>2]=d}v[c>>2]=h;e=d+1|0;v[c+16>>2]=e;f=f-1|0;if(!f){break n}h=h+1|0;n=n+1|0;d=w[v[v[k+4>>2]+4>>2]];continue}}d=w[v[g+4>>2]];if((d|0)==255){break q}g=v[e+4>>2];e=u[e>>1];n=g+((e|0)<(h|0)?h-e|0:0)|0;e=v[c+16>>2];while(1){d=B((d^-1)&255,w[n|0]^255);t[e|0]=d?65025-d>>>8|0:-1;e=v[c+28>>2];z:{A:{if((v[c>>2]+1|0)!=(h|0)){break A}d=u[e+2>>1];if((d|0)<1){break A}u[e+2>>1]=d+1;d=v[c+16>>2];break z}v[c+28>>2]=e+8;d=v[c+16>>2];u[e+10>>1]=1;u[e+8>>1]=h;v[e+12>>2]=d}v[c>>2]=h;e=d+1|0;v[c+16>>2]=e;f=f-1|0;if(!f){break n}h=h+1|0;n=n+1|0;d=w[v[v[k>>2]+4>>2]];continue}}d=B(w[v[g+4>>2]]^255,w[v[e+4>>2]]^255);g=d?65025-d>>>8|0:255;B:{if((v[c>>2]+1|0)!=(h|0)){break B}e=v[c+28>>2];d=u[e+2>>1];if((d|0)>-1|(g|0)!=w[v[e+4>>2]]){break B}u[e+2>>1]=d-f;break o}t[v[c+16>>2]]=g;e=v[c+28>>2];v[c+28>>2]=e+8;d=v[c+16>>2];v[c+16>>2]=d+1;u[e+10>>1]=0-f;u[e+8>>1]=h;v[e+12>>2]=d;break o}C:{if((v[c>>2]+1|0)!=(h|0)){break C}e=v[c+28>>2];d=u[e+2>>1];if((d|0)>-1|w[v[e+4>>2]]!=255){break C}u[e+2>>1]=d-f;break o}t[v[c+16>>2]]=255;e=v[c+28>>2];v[c+28>>2]=e+8;d=v[c+16>>2];v[c+16>>2]=d+1;u[e+10>>1]=0-f;u[e+8>>1]=h;v[e+12>>2]=d;break o}D:{if((v[c>>2]+1|0)!=(h|0)){break D}e=v[c+28>>2];d=u[e+2>>1];if((d|0)>-1|w[v[e+4>>2]]!=255){break D}u[e+2>>1]=d-f;break o}t[v[c+16>>2]]=255;e=v[c+28>>2];v[c+28>>2]=e+8;d=v[c+16>>2];v[c+16>>2]=d+1;u[e+10>>1]=0-f;u[e+8>>1]=h;v[e+12>>2]=d}v[c>>2]=(f+h|0)-1}if((j|0)>(l|0)){d=a+i|0;i=268435454;h=268435455;f=j;continue}d=268435455;h=m?b+i|0:268435455;f=268435454;i=m?l:268435454;continue}if((a|0)>(b|0)){i=268435454;h=268435455;d=a;if((b|0)>(l|0)){continue}e=l-b|0;m=e+1|0;g=v[k+4>>2];j=u[g+2>>1];E:{if((j|0)<=-1){g=w[v[g+4>>2]];F:{if((v[c>>2]+1|0)!=(b|0)){break F}d=v[c+28>>2];j=u[d+2>>1];if((j|0)>-1|(g|0)!=w[v[d+4>>2]]){break F}u[d+2>>1]=j-m;break E}t[v[c+16>>2]]=g;d=v[c+28>>2];v[c+28>>2]=d+8;j=v[c+16>>2];v[c+16>>2]=j+1;u[d+10>>1]=e^-1;u[d+8>>1]=b;v[d+12>>2]=j;break E}if(!j){continue}j=u[g>>1];gc(v[c+16>>2],v[g+4>>2]+((b|0)>(j|0)?b-j|0:0)|0,m);e=v[c+28>>2];G:{H:{if((v[c>>2]+1|0)!=(b|0)){break H}j=u[e+2>>1];if((j|0)<1){break H}u[e+2>>1]=j+m;d=v[c+16>>2];break G}v[c+28>>2]=e+8;d=v[c+16>>2];u[e+10>>1]=m;u[e+8>>1]=b;v[e+12>>2]=d}v[c+16>>2]=d+m}v[c>>2]=l;d=a;continue}f=268435454;d=268435455;h=b;i=l;if((a|0)>(j|0)){continue}e=j-a|0;m=e+1|0;g=v[k>>2];b=u[g+2>>1];I:{if((b|0)<=-1){g=w[v[g+4>>2]];J:{if((v[c>>2]+1|0)!=(a|0)){break J}i=v[c+28>>2];b=u[i+2>>1];if((b|0)>-1|(g|0)!=w[v[i+4>>2]]){break J}u[i+2>>1]=b-m;break I}t[v[c+16>>2]]=g;i=v[c+28>>2];v[c+28>>2]=i+8;b=v[c+16>>2];v[c+16>>2]=b+1;u[i+10>>1]=e^-1;u[i+8>>1]=a;v[i+12>>2]=b;break I}if(!b){continue}b=u[g>>1];gc(v[c+16>>2],v[g+4>>2]+((a|0)>(b|0)?a-b|0:0)|0,m);e=v[c+28>>2];K:{L:{if((v[c>>2]+1|0)!=(a|0)){break L}b=u[e+2>>1];if((b|0)<1){break L}u[e+2>>1]=b+m;i=v[c+16>>2];break K}v[c+28>>2]=e+8;i=v[c+16>>2];u[e+10>>1]=m;u[e+8>>1]=a;v[e+12>>2]=i}v[c+16>>2]=i+m}v[c>>2]=j;i=l;continue}break}Qb=k+16|0}function rNa(a){a=a|0;var 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;d=v[a+76>>2];b=v[a+20>>2];if((b|0)!=100){c=v[a>>2];v[c+24>>2]=b;v[c+20>>2]=21;Ub[v[v[a>>2]>>2]](a)}b=v[a+424>>2];e=b;a:{b:{if((d|0)==3){c=10;if(v[a+80>>2]==3){break a}break b}if((d|0)<5){break b}c=B(d,6);break a}c=d<<2|2}if(!((c|0)<=v[a+428>>2]?e:0)){b=(c|0)>10?c:10;v[a+428>>2]=b;b=Ub[v[v[a+4>>2]>>2]](a,0,B(b,36))|0;v[a+424>>2]=b}v[a+200>>2]=c;v[a+204>>2]=b;e=3;c:{d:{e:{f:{if((d|0)!=3){g:{h:{if((d|0)>=5){c=d&3;if(d-1>>>0>=3){break h}a=0;break g}v[b>>2]=d;if((d|0)<1){break e}v[b+4>>2]=0;if((d|0)!=1){break f}break e}e=d&-4;a=0;while(1){v[b+108>>2]=1;v[b+72>>2]=1;v[b+36>>2]=1;v[b+28>>2]=0;v[b+32>>2]=1;v[b+20>>2]=0;v[b+24>>2]=0;v[b+4>>2]=a;v[b>>2]=1;v[b+136>>2]=0;v[b+140>>2]=1;v[b+128>>2]=0;v[b+132>>2]=0;v[b+112>>2]=a|3;v[b+100>>2]=0;v[b+104>>2]=1;v[b+92>>2]=0;v[b+96>>2]=0;v[b+76>>2]=a|2;f=b- -64|0;v[f>>2]=0;v[f+4>>2]=1;v[b+56>>2]=0;v[b+60>>2]=0;v[b+40>>2]=a|1;a=a+4|0;b=b+144|0;e=e-4|0;if(e){continue}break}}if(!c){break d}while(1){v[b+28>>2]=0;v[b+32>>2]=1;v[b+20>>2]=0;v[b+24>>2]=0;v[b+4>>2]=a;v[b>>2]=1;a=a+1|0;b=b+36|0;c=c-1|0;if(c){continue}break}break d}a=v[a+80>>2];v[b+8>>2]=1;v[b+12>>2]=2;v[b>>2]=3;v[b+4>>2]=0;v[b+72>>2]=1;c=b- -64|0;v[c>>2]=0;v[c+4>>2]=2;v[b+56>>2]=1;v[b+60>>2]=5;v[b+36>>2]=1;v[b+40>>2]=0;v[b+28>>2]=0;v[b+32>>2]=1;v[b+20>>2]=0;v[b+24>>2]=0;i:{if((a|0)==3){d=9;f=7;g=5;h=6;i=4;c=0;j=1;k=1;p=1;l=2;m=6;q=2;n=8;o=b+76|0;a=2;break i}r=1;v[b+216>>2]=1;v[b+180>>2]=1;v[b+184>>2]=1;v[b+144>>2]=1;v[b+148>>2]=0;v[b+108>>2]=1;v[b+112>>2]=2;v[b+76>>2]=1;v[b+208>>2]=0;v[b+212>>2]=2;v[b+200>>2]=6;v[b+204>>2]=63;v[b+172>>2]=0;v[b+176>>2]=2;v[b+164>>2]=6;v[b+168>>2]=63;v[b+136>>2]=0;v[b+140>>2]=2;v[b+128>>2]=1;v[b+132>>2]=5;v[b+100>>2]=0;v[b+104>>2]=2;v[b+92>>2]=1;v[b+96>>2]=5;d=13;n=12;f=11;m=10;g=9;i=8;e=7;k=2;j=6;c=2;h=1;l=1;o=b+220|0;a=6}v[o>>2]=2;a=B(a,36)+b|0;v[a+32>>2]=k;v[a+24>>2]=63;v[a+28>>2]=0;v[a+20>>2]=j;a=B(e,36)+b|0;v[a+32>>2]=1;v[a+28>>2]=c;v[a+20>>2]=1;v[a+24>>2]=63;v[a+4>>2]=p;v[a>>2]=1;a=B(i,36)+b|0;v[a+4>>2]=r;v[a+20>>2]=h;v[a+24>>2]=63;v[a+28>>2]=c;v[a+32>>2]=l;v[a>>2]=1;a=B(g,36)+b|0;v[a+28>>2]=2;v[a+32>>2]=1;v[a+20>>2]=1;v[a+24>>2]=63;v[a+4>>2]=c;v[a>>2]=1;a=B(m,36)+b|0;v[a>>2]=3;v[a+4>>2]=0;v[a+8>>2]=1;v[a+12>>2]=2;v[a+20>>2]=0;v[a+24>>2]=0;v[a+28>>2]=1;v[a+32>>2]=0;a=B(f,36)+b|0;v[a+4>>2]=q;v[a+20>>2]=1;v[a+24>>2]=63;v[a+28>>2]=1;v[a+32>>2]=0;v[a>>2]=1;a=B(n,36)+b|0;v[a+20>>2]=1;v[a+24>>2]=63;v[a+28>>2]=1;v[a+32>>2]=0;v[a>>2]=1;v[a+4>>2]=1;a=B(d,36)+b|0;v[a+4>>2]=c;v[a+20>>2]=1;v[a+24>>2]=63;v[a+28>>2]=1;v[a+32>>2]=0;v[a>>2]=1;break c}v[b+8>>2]=1;if((d|0)==2){break e}v[b+12>>2]=2;if((d|0)==3){break e}v[b+16>>2]=3}v[b+28>>2]=0;v[b+32>>2]=1;v[b+20>>2]=0;v[b+24>>2]=0;b=b+36|0}j:{k:{l:{m:{n:{o:{if((d|0)>=1){c=d&3;g=d-1|0;p:{if(g>>>0<3){a=0;break p}e=d&-4;a=0;while(1){v[b+108>>2]=1;v[b+72>>2]=1;v[b+36>>2]=1;v[b+28>>2]=0;v[b+32>>2]=2;v[b+20>>2]=1;v[b+24>>2]=5;v[b+4>>2]=a;v[b>>2]=1;v[b+136>>2]=0;v[b+140>>2]=2;v[b+128>>2]=1;v[b+132>>2]=5;v[b+112>>2]=a|3;v[b+100>>2]=0;v[b+104>>2]=2;v[b+92>>2]=1;v[b+96>>2]=5;v[b+76>>2]=a|2;f=b- -64|0;v[f>>2]=0;v[f+4>>2]=2;v[b+56>>2]=1;v[b+60>>2]=5;v[b+40>>2]=a|1;a=a+4|0;b=b+144|0;e=e-4|0;if(e){continue}break}}if(c){while(1){v[b+28>>2]=0;v[b+32>>2]=2;v[b+20>>2]=1;v[b+24>>2]=5;v[b+4>>2]=a;v[b>>2]=1;a=a+1|0;b=b+36|0;c=c-1|0;if(c){continue}break}}c=d&3;q:{if(g>>>0<3){a=0;break q}e=d&-4;a=0;while(1){v[b+108>>2]=1;v[b+72>>2]=1;v[b+36>>2]=1;v[b+28>>2]=0;v[b+32>>2]=2;v[b+20>>2]=6;v[b+24>>2]=63;v[b+4>>2]=a;v[b>>2]=1;v[b+136>>2]=0;v[b+140>>2]=2;v[b+128>>2]=6;v[b+132>>2]=63;v[b+112>>2]=a|3;v[b+100>>2]=0;v[b+104>>2]=2;v[b+92>>2]=6;v[b+96>>2]=63;v[b+76>>2]=a|2;f=b- -64|0;v[f>>2]=0;v[f+4>>2]=2;v[b+56>>2]=6;v[b+60>>2]=63;v[b+40>>2]=a|1;a=a+4|0;b=b+144|0;e=e-4|0;if(e){continue}break}}if(c){while(1){v[b+28>>2]=0;v[b+32>>2]=2;v[b+20>>2]=6;v[b+24>>2]=63;v[b+4>>2]=a;v[b>>2]=1;a=a+1|0;b=b+36|0;c=c-1|0;if(c){continue}break}}e=d&3;r:{if(g>>>0<3){c=0;break r}f=d&-4;c=0;while(1){a=b;v[b+108>>2]=1;v[b+72>>2]=1;v[b+36>>2]=1;v[b+28>>2]=2;v[b+32>>2]=1;v[b+20>>2]=1;v[b+24>>2]=63;v[b+4>>2]=c;v[b>>2]=1;v[b+136>>2]=2;v[b+140>>2]=1;v[b+128>>2]=1;v[b+132>>2]=63;v[b+112>>2]=c|3;v[b+100>>2]=2;v[b+104>>2]=1;v[b+92>>2]=1;v[b+96>>2]=63;v[b+76>>2]=c|2;h=b- -64|0;v[h>>2]=2;v[h+4>>2]=1;v[b+56>>2]=1;v[b+60>>2]=63;v[b+40>>2]=c|1;c=c+4|0;b=b+144|0;f=f-4|0;if(f){continue}break}a=a+108|0}if(e){while(1){a=b;v[b+28>>2]=2;v[b+32>>2]=1;v[b+20>>2]=1;v[b+24>>2]=63;v[b+4>>2]=c;v[b>>2]=1;c=c+1|0;b=b+36|0;e=e-1|0;if(e){continue}break}}if((d|0)<5){break o}c=d&3;if(g>>>0>=3){break n}a=0;break m}v[b>>2]=d;break k}v[b>>2]=d;if((d|0)<1){break k}v[a+40>>2]=0;if((d|0)!=1){break l}break k}e=d&-4;a=0;while(1){v[b+108>>2]=1;v[b+72>>2]=1;v[b+36>>2]=1;v[b+28>>2]=1;v[b+32>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+4>>2]=a;v[b>>2]=1;v[b+136>>2]=1;v[b+140>>2]=0;v[b+128>>2]=0;v[b+132>>2]=0;v[b+112>>2]=a|3;v[b+100>>2]=1;v[b+104>>2]=0;v[b+92>>2]=0;v[b+96>>2]=0;v[b+76>>2]=a|2;f=b- -64|0;v[f>>2]=1;v[f+4>>2]=0;v[b+56>>2]=0;v[b+60>>2]=0;v[b+40>>2]=a|1;a=a+4|0;b=b+144|0;e=e-4|0;if(e){continue}break}}if(!c){break j}while(1){v[b+28>>2]=1;v[b+32>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+4>>2]=a;v[b>>2]=1;a=a+1|0;b=b+36|0;c=c-1|0;if(c){continue}break}break j}v[a+44>>2]=1;if((d|0)==2){break k}v[a+48>>2]=2;if((d|0)==3){break k}v[a+52>>2]=3}v[b+28>>2]=1;v[b+32>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;b=b+36|0}if((d|0)<1){break c}c=d&3;a=0;if(d-1>>>0>=3){e=d&-4;while(1){v[b+108>>2]=1;v[b+72>>2]=1;v[b+36>>2]=1;v[b+28>>2]=1;v[b+32>>2]=0;v[b+20>>2]=1;v[b+24>>2]=63;v[b+4>>2]=a;v[b>>2]=1;v[b+136>>2]=1;v[b+140>>2]=0;v[b+128>>2]=1;v[b+132>>2]=63;v[b+112>>2]=a|3;v[b+100>>2]=1;v[b+104>>2]=0;v[b+92>>2]=1;v[b+96>>2]=63;v[b+76>>2]=a|2;d=b- -64|0;v[d>>2]=1;v[d+4>>2]=0;v[b+56>>2]=1;v[b+60>>2]=63;v[b+40>>2]=a|1;a=a+4|0;b=b+144|0;e=e-4|0;if(e){continue}break}}if(!c){break c}while(1){v[b+28>>2]=1;v[b+32>>2]=0;v[b+20>>2]=1;v[b+24>>2]=63;v[b+4>>2]=a;v[b>>2]=1;a=a+1|0;b=b+36|0;c=c-1|0;if(c){continue}break}}}function i4a(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,n=0,o=0;g=Qb-16|0;Qb=g;v[g+4>>2]=0;f=v[e+32>>2];i=v[f+100>>2];a:{b:{c:{d:{if(Oc(a,309882,7)){break d}e:{c=w[a+7|0];switch(c|0){case 0:case 9:case 10:case 13:case 32:break e;default:break d}}v[g+12>>2]=0;d=v[f+88>>2];m=d;d=(c?-8:-7)+b|0;h=d+1|0;j=Cc(i,1,m,m+h|0,v[f+84>>2],g+12|0);v[f+84>>2]=j;b=v[g+12>>2];if(!b){n=gc(j+v[f+88>>2]|0,c?a+8|0:a+7|0,d)+d|0,o=10,t[n|0]=o;v[f+88>>2]=h+v[f+88>>2];b=v[g+12>>2]}v[g+4>>2]=b;break c}h=g;f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{c=v[e>>2];if(!(c&32)){if(Oc(a,310615,5)){break o}p:{switch(w[a+5|0]){case 0:case 9:case 10:case 13:case 32:break p;default:break o}}b=Ak(e+40|0,335759,a,b);v[g+4>>2]=b;if(b){break b}b=v[v[e+40>>2]+4>>2];if(!b){break i}a=t[b|0];c=a&255;if(!c|!(w[(c>>>3|0)+375728|0]>>>(a&7)&1)){break i}c=0;q:{r:{while(1){if(c>>>0>=429496728){v[f+48>>2]=-1;b=f+48|0;a=y[e+60>>2]/20|0;c=e+4|0;break r}c=w[a+375760|0]+B(c,10)|0;a=t[b+1|0];b=b+1|0;if(w[((a&248)>>>3|0)+375728|0]>>>(a&7)&1){continue}break}v[f+48>>2]=c;v[e+4>>2]=c;b=f+48|0;a=y[e+60>>2]/20|0;if(c>>>0<=a>>>0){a=c;break q}c=e+4|0}v[b>>2]=a;v[c>>2]=a}if(!a){break h}if(a>>>0<1114112){break g}b=6;break j}s:{t:{if(Oc(a,309862,7)){break t}u:{switch(w[a+7|0]){case 0:case 9:case 10:case 13:case 32:break u;default:break t}}if(!(c&4032)){break s}b=186;break j}v:{if(Oc(a,311810,7)){break v}w:{switch(w[a+7|0]){case 0:case 9:case 10:case 13:case 32:break w;default:break v}}v[e+28>>2]=0;v[e>>2]=c&-4033;break f}d=c&64;if(!(v[v[e+36>>2]+4>>2]?1:!d|v[e+28>>2]!=-1)){break f}x:{if(Oc(a,311800,9)){break x}y:{switch(w[a+9|0]){case 0:case 9:case 10:case 13:case 32:break y;default:break x}}if(c&4032){break k}c=v[e+24>>2];if(c){Ub[v[i+8>>2]](i,c)}v[e+24>>2]=0;c=e+40|0;b=Ak(c,335759,a,b);v[g+4>>2]=b;if(b){break b}p$(c);a=o$(c,g+8|0);if(!a){break l}c=v[g+8>>2]+1|0;d=Cc(i,1,0,c,0,g+4|0);v[e+24>>2]=d;b=v[g+4>>2];if(b){break b}gc(d,a,c);v[e>>2]=v[e>>2]|64;break f}z:{if(Oc(a,320892,8)){break z}A:{switch(w[a+8|0]){case 0:case 9:case 10:case 13:case 32:break A;default:break z}}if(!d){break k}b=Ak(e+40|0,335759,a,b);v[g+4>>2]=b;if(b){break b}c=v[e+40>>2];a=n$(v[c+4>>2]);b=(a|0)>-1;a=b?a:-1;v[e+28>>2]=a;if(!(y[e+48>>2]<3|b)){a=n$(v[c+8>>2]);v[e+28>>2]=a}if(a+1>>>0>=1114113){v[e+28>>2]=-1;break n}if((a|0)<0){break n}b=v[f+52>>2];B:{if((b|0)!=v[f+48>>2]){c=v[f+56>>2];break B}c=Cc(i,36,b,b- -64|0,v[f+56>>2],g+4|0);v[f+56>>2]=c;b=v[g+4>>2];if(b){break b}v[f+48>>2]=v[f+48>>2]- -64;b=v[f+52>>2];a=v[e+28>>2]}v[f+52>>2]=b+1;d=v[e+24>>2];b=B(b,36)+c|0;v[b+4>>2]=a;v[b>>2]=d;break m}if(c&128){d=v[e+28>>2]==-1;j=v[f+(d?64:52)>>2]-1|0;k=v[f+(d?68:56)>>2];if(c&2048){d=v[e+8>>2];b=k+B(j,36)|0;if(d>>>0>=x[b+14>>1]){if((c|0)<0){break f}v[e>>2]=c|-2147483648;break f}c=v[b+28>>2];b=v[b+24>>2]+B(c,d)|0;h=0;d=c<<1;C:{if(!d){c=0;break C}D:{while(1){c=h;f=w[c+a|0];h=f<<24>>24;if(!(w[(f>>>3|0)+375904|0]>>>(h&7)&1)){break D}t[b|0]=w[h+375760|0]+(w[b|0]<<4);h=c+1|0;if(!(!(c&1)|d>>>0<=h>>>0)){t[b+1|0]=0;b=b+1|0}if((d|0)!=(h|0)){continue}break}c=d;break C}h=v[e>>2];if(h&1073741824){break C}v[e>>2]=h|1073741824}h=x[(k+B(j,36)|0)+12>>1];if(h){t[b|0]=w[b|0]&w[(B(h,x[v[e+32>>2]+96>>1])&7)+375888|0]}E:{if((c|0)!=(d|0)){break E}a=w[a+d|0];if(!(w[(a>>>3|0)+375904|0]>>>(a&7)&1)){break E}a=v[e>>2];if(a&1073741824){break E}v[e>>2]=a|1073741824}v[e+8>>2]=v[e+8>>2]+1;break f}F:{if(Oc(a,320833,6)){break F}G:{switch(w[a+6|0]){case 0:case 9:case 10:case 13:case 32:break G;default:break F}}b=Ak(e+40|0,335759,a,b);v[g+4>>2]=b;if(b){break b}n=k+B(j,36)|0,o=Ds(v[v[e+40>>2]+4>>2]),u[n+8>>1]=o;v[e>>2]=v[e>>2]|256;break f}H:{if(Oc(a,320840,6)){break H}I:{switch(w[a+6|0]){case 0:case 9:case 10:case 13:case 32:break I;default:break H}}b=Ak(e+40|0,335759,a,b);v[g+4>>2]=b;if(b){break b}c=k+B(j,36)|0;d=Ds(v[v[e+40>>2]+4>>2]);u[c+10>>1]=d;b=e;a=v[e>>2];if(!(a&256)){n=c,o=jd(d&65535,72e3,B(v[f+20>>2],v[f+16>>2])),u[n+8>>1]=o;a=v[e>>2]}v[b>>2]=a|512;break f}J:{if(Oc(a,309201,3)){break J}K:{switch(w[a+3|0]){case 0:case 9:case 10:case 13:case 32:break K;default:break J}}b=Ak(e+40|0,335759,a,b);v[g+4>>2]=b;if(b){break b}a=k+B(j,36)|0;c=v[e+40>>2];d=nA(v[c+4>>2]);u[a+12>>1]=d;l=nA(v[c+8>>2]);u[a+14>>1]=l;b=Cv(v[c+12>>2]);u[a+16>>1]=b;c=Cv(v[c+16>>2]);u[a+18>>1]=c;h=0-c|0;u[a+22>>1]=h;c=c+l|0;u[a+20>>1]=c;l=b+d|0;u[e+22>>1]=l;m=u[e+18>>1];u[e+18>>1]=c<<16>>16>(m|0)?c:m;c=u[e+20>>1];u[e+20>>1]=(c|0)>16?h:c;c=u[e+16>>1];u[e+16>>1]=(c|0)>16?l:c;c=u[e+12>>1];u[e+12>>1]=(b|0)<(c|0)?b:c;c=u[e+14>>1];u[e+14>>1]=(b|0)>(c|0)?b:c;b=v[e>>2];if(!(b&512)){u[a+10>>1]=d}L:{if(!v[v[e+36>>2]>>2]){break L}a=k+B(j,36)|0;b=jd(x[a+10>>1],72e3,B(v[f+20>>2],v[f+16>>2]));if(x[a+8>>1]==(b&65535)){b=v[e>>2];break L}u[a+8>>1]=b;b=v[e>>2]|4096}v[e>>2]=b|1024;break f}if(Oc(a,311948,6)){break l}M:{switch(w[a+6|0]){case 0:case 9:case 10:case 13:case 32:break M;default:break l}}b=183;if(!(c&1024)){break j}a=k+B(j,36)|0;c=B(x[f+96>>1],x[a+12>>1]);b=c+7>>>3|0;v[a+28>>2]=b;N:{if(c>>>0<=524280){a=B(b,x[a+14>>1]);if(a>>>0<65536){break N}}b=184;break j}b=k+B(j,36)|0;u[b+32>>1]=a;n=b,o=Cc(i,1,0,a,0,g+4|0),v[n+24>>2]=o;b=v[g+4>>2];if(b){break b}v[e+8>>2]=0;v[e>>2]=v[e>>2]|2048;break f}b=182;break j}Pk(v[f+56>>2],v[f+52>>2],36,1597);v[e>>2]=v[e>>2]&-2;v[d>>2]=1598;break f}b=180;break j}if(v[v[e+36>>2]+4>>2]){a=v[f+64>>2];O:{if((a|0)!=v[f+60>>2]){c=v[f+68>>2];break O}c=Cc(i,36,a,a+4|0,v[f+68>>2],g+4|0);v[f+68>>2]=c;b=v[g+4>>2];if(b){break b}v[f+60>>2]=v[f+60>>2]+4;a=v[f+64>>2]}b=B(a,36)+c|0;v[b>>2]=v[e+24>>2];v[f+64>>2]=a+1;v[b+4>>2]=a;break m}a=v[e+24>>2];if(a){Ub[v[i+8>>2]](i,a)}}v[e+24>>2]=0;v[e>>2]=v[e>>2]&1073741695|128;break f}b=3;break j}b=181}v[h+4>>2]=b;break b}v[f+48>>2]=0;v[e+4>>2]=0;b=f+48|0}a=64;v[b>>2]=64}n=f,o=Cc(i,36,0,a,0,g+4|0),v[n+56>>2]=o;b=v[g+4>>2];if(b){break b}v[e>>2]=v[e>>2]|32}b=v[g+4>>2]}if(b){break b}b=0;break a}if(!(w[e|0]&64)){break a}a=v[e+24>>2];if(a){Ub[v[i+8>>2]](i,a)}v[e+24>>2]=0;b=v[g+4>>2]}Qb=g+16|0;return b|0}function n6a(a){a=a|0;var 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;b=Qb-80|0;Qb=b;e=x[a+26306>>1];n=bd(e+(x[a+26304>>1]<<2)|0,2);if(!n){e=v[a+190640>>2];a:{if(e){d=v[a+25208>>2];v[b+20>>2]=42394;v[b+16>>2]=d;zd(e,4338,b+16|0);break a}e=v[a+25208>>2];v[b+4>>2]=42394;v[b>>2]=e;wc(v[252391],4338,b)}sd(a+190484|0,1);L()}Ub[v[v[a>>2]+8>>2]](v[a+4>>2],v[a+26040>>2],0)|0;q=(e<<1)+n|0;if(x[a+26304>>1]){while(1){v[b+68>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+68|0,1,4)|0;e=w[b+68|0];d=(c<<2)+q|0;if(x[a+25204>>1]==18761){f=e|w[b+69|0]<<8|w[b+70|0]<<16|w[b+71|0]<<24}else{f=w[b+71|0]|(w[b+69|0]<<16|e<<24|w[b+70|0]<<8)}v[d>>2]=f;c=c+1|0;g=x[a+26304>>1];if(c>>>0>>0){continue}break}}e=a+25188|0;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],v[e>>2],0)|0;s=(g<<2)+q|0;if(v[e>>2]){Mi(a,s,x[a+26304>>1]<<1)}c=0;e=a+26484|0;while(1){d=e+(c<<1)|0;o=+(B(c,c)|0)/3.969+.5;b:{if(o<4294967296&o>=0){f=~~o>>>0;break b}f=0}u[d>>1]=f;d=c|1;g=e+(d<<1)|0;o=+(B(d,d)|0)/3.969+.5;c:{if(o<4294967296&o>=0){f=~~o>>>0;break c}f=0}u[g>>1]=f;c=c+2|0;if((c|0)!=256){continue}break}if(x[a+26304>>1]){r=v[252391];while(1){t=p<<2;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],v[t+q>>2]+v[a+26048>>2]|0,0)|0;v[289144]=0;v[289145]=0;v[289146]=0;v[b+60>>2]=0;v[b+64>>2]=0;c=x[a+26306>>1];if(c){k=0;while(1){d:{if((c&65528)>>>0<=k>>>0){v[b+68>>2]=14;v[b+72>>2]=14;break d}if(k&7){break d}l=0;f=v[289144];e=v[289145];h=v[289146];m=1;while(1){g=h-1|0;v[289146]=g;if((h|0)<=0){v[b+76>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+76|0,1,4)|0;c=w[b+76|0];e=f;if(x[a+25204>>1]==18761){f=c|w[b+77|0]<<8|w[b+78|0]<<16|w[b+79|0]<<24}else{f=w[b+79|0]|(w[b+77|0]<<16|c<<24|w[b+78|0]<<8)}v[289144]=f;v[289145]=e;g=v[289146]+32|0;v[289146]=g}d=e;h=f;i=63-g|0;c=i&31;if((i&63)>>>0>=32){d=h<>>32-c|d<>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+76|0,1,4)|0;c=w[b+76|0];e=f;if(x[a+25204>>1]!=18761){f=w[b+79|0]|(w[b+77|0]<<16|c<<24|w[b+78|0]<<8)}else{f=c|w[b+77|0]<<8|w[b+78|0]<<16|w[b+79|0]<<24}v[289144]=f;v[289145]=e;c=v[289146]+32|0}g=2;d=e;i=f;j=63-c|0;h=j&31;if((j&63)>>>0>=32){d=i<>>32-h|d<0)){v[b+76>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+76|0,1,4)|0;c=w[b+76|0];e=f;if(x[a+25204>>1]!=18761){f=w[b+79|0]|(w[b+77|0]<<16|c<<24|w[b+78|0]<<8)}else{f=c|w[b+77|0]<<8|w[b+78|0]<<16|w[b+79|0]<<24}v[289144]=f;v[289145]=e;d=v[289146]+32|0}c=d;g=4;d=e;i=f;j=63-c|0;h=j&31;if((j&63)>>>0>=32){d=i<>>32-h|d<0)){v[b+76>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+76|0,1,4)|0;c=w[b+76|0];e=f;if(x[a+25204>>1]!=18761){f=w[b+79|0]|(w[b+77|0]<<16|c<<24|w[b+78|0]<<8)}else{f=c|w[b+77|0]<<8|w[b+78|0]<<16|w[b+79|0]<<24}v[289144]=f;v[289145]=e;d=v[289146]+32|0}c=d;g=6;d=e;i=f;j=63-c|0;h=j&31;if((j&63)>>>0>=32){d=i<>>32-h|d<0)){v[b+76>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+76|0,1,4)|0;c=w[b+76|0];e=f;if(x[a+25204>>1]!=18761){f=w[b+79|0]|(w[b+77|0]<<16|c<<24|w[b+78|0]<<8)}else{f=c|w[b+77|0]<<8|w[b+78|0]<<16|w[b+79|0]<<24}v[289144]=f;v[289145]=e;d=v[289146]+32|0}c=d;g=10;d=e;i=f;j=63-c|0;h=j&31;if((j&63)>>>0>=32){d=i<>>32-h|d<-1){break f}g=8}h=c-1|0;v[289146]=h;if((c|0)<=0){v[b+76>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+76|0,1,4)|0;c=w[b+76|0];e=f;if(x[a+25204>>1]==18761){f=c|w[b+77|0]<<8|w[b+78|0]<<16|w[b+79|0]<<24}else{f=w[b+79|0]|(w[b+77|0]<<16|c<<24|w[b+78|0]<<8)}v[289144]=f;v[289145]=e;h=v[289146]+32|0;v[289146]=h}j=(b+68|0)+(l<<2)|0;d=e;l=f;i=63-h|0;c=i&31;if((i&63)>>>0>=32){d=l<>>32-c|d<>2]=v[((g-2|d>>>31)<<2)+196224>>2]}l=1;d=m;m=0;if(d){continue}break}}l=(k&1)<<2;h=v[l+(b+68|0)>>2];g=h;g:{h:{i:{switch(h+1|0){case 15:d=v[289146];c=d-16|0;v[289146]=c;f=v[289144];e=v[289145];if((d|0)<=15){v[b+76>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+76|0,1,4)|0;c=w[b+76|0];e=f;if(x[a+25204>>1]==18761){f=c|w[b+77|0]<<8|w[b+78|0]<<16|w[b+79|0]<<24}else{f=w[b+79|0]|(w[b+77|0]<<16|c<<24|w[b+78|0]<<8)}v[289144]=f;v[289145]=e;c=v[289146]+32|0;v[289146]=c}g=f;d=48-c|0;c=d&31;if((d&63)>>>0>=32){d=g<>>32-c|e<>>16|0;v[l+(b+60|0)>>2]=e;u[(k<<1)+n>>1]=e;break g;case 0:g=0;v[289144]=0;v[289145]=0;v[289146]=0;break h;case 1:break h;default:break i}}g=v[289146]-h|0;v[289146]=g;f=v[289144];e=v[289145];if((g|0)<=-1){v[b+76>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+76|0,1,4)|0;c=w[b+76|0];e=f;if(x[a+25204>>1]==18761){f=c|w[b+77|0]<<8|w[b+78|0]<<16|w[b+79|0]<<24}else{f=w[b+79|0]|(w[b+77|0]<<16|c<<24|w[b+78|0]<<8)}v[289144]=f;v[289145]=e;g=v[289146]+32|0;v[289146]=g}m=f;c=64-h|0;d=c-g|0;g=d&31;if((d&63)>>>0>=32){d=m<>>32-g|e<>>0>=32?d>>>e|0:((1<>>e}d=l+(b+60|0)|0;e=(v[d>>2]+((-1<>2]=e;u[(k<<1)+n>>1]=e;if(e>>>0<65536){break g}j:{if(v[a+26160>>2]){break j}v[b+48>>2]=v[a+25208>>2];wc(r,8292,b+48|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,r);break j}e=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[b+32>>2]=e;v[b+36>>2]=e>>31;wc(r,14622,b+32|0)}v[a+26160>>2]=1}k:{if(v[a+25176>>2]!=5){break k}e=(k<<1)+n|0;d=x[e>>1];if(d>>>0>255){break k}u[e>>1]=x[((d<<1)+a|0)+26484>>1]}c=x[a+26306>>1];k=k+1|0;if(c>>>0>k>>>0){continue}break}}l:{if(x[a+26308>>1]<=p-x[a+26312>>1]>>>0){break l}g=x[a+26310>>1];if(!g){break l}e=s+t|0;d=v[a+25192>>2];h=v[a+25184>>2];c=0;while(1){m=u[e+(((c|0)>=(d|0))<<1)>>1]+((x[(x[a+26314>>1]+c<<1)+n>>1]<<2)-h|0)|0;if((m|0)>=1){g=p-x[a+26312>>1]|0;f=x[a+26316>>1];u[(v[a+26352>>2]+(B(x[a+26320>>1],g>>f)+(c>>>f|0)<<3)|0)+((v[a+26028>>2]>>>((g<<1&14|c&1)<<1)&3)<<1)>>1]=m;g=x[a+26310>>1]}c=c+1|0;if(c>>>0<(g&65535)>>>0){continue}break}}p=p+1|0;if(p>>>0>1]){continue}break}}dc(n);H0(a);v[a+26124>>2]=65532-v[a+25184>>2];Qb=b+80|0}function Pka(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;j=Qb-32|0;Qb=j;v[a>>2]=0;Wc(a,b);a:{b:{c:{d:{e:{e=c&3;f:{if(!e){break f}g:{h:{i:{j:{k:{if(c&1){v[299999]=0;c=S(1,72)|0;g=v[299999];v[299999]=0;if((g|0)==1){break b}g=x[b+8>>1];d=x[b+10>>1];v[299999]=0;g=Z(4919,c|0,d|0,g|0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break i}v[299999]=0;Q(4336,a|0,g|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){break k}break b}v[299999]=0;c=S(1,72)|0;g=v[299999];v[299999]=0;if((g|0)==1){break b}g=x[b+10>>1];d=x[b+8>>1];v[299999]=0;g=Z(4919,c|0,d|0,g|0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break j}v[299999]=0;Q(4336,a|0,g|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}}l:{if(v[b+24>>2]|v[b+20>>2]){break l}c=v[b+36>>2];if(!c){break l}v[299999]=0;V(5065,b|0,c|0);c=v[299999];v[299999]=0;if((c|0)!=1){break l}d=P()|0;O()|0;break a}c=x[b+16>>1];if(c-2>>>0>=255){v[299999]=0;b=aa(4369,j+8|0,235780,241521,482,336566,0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break c}v[299999]=0;R(4370,b|0);c=v[299999];v[299999]=0;if((c|0)!=1){break d}d=P()|0;O()|0;qc(b);break a}f=v[a>>2];u[f+16>>1]=c;m:{if(v[f+20>>2]|c>>>0<3){break m}c=v[f+36>>2];if(!c){break m}v[299999]=0;V(5065,f|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break c}}n:{switch(e-1|0){case 2:d=x[b+8>>1];if(!d){break g}o:{e=x[f+8>>1];if(e){p:{while(1){q:{r:{if(v[b+20>>2]){break r}c=v[b+36>>2];if(!c){break r}v[299999]=0;V(5065,b|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break q}d=x[b+8>>1]}s:{if((d&65535)>>>0<=i>>>0){c=x[b+12>>1];if(v[282398]<(c+x[b+14>>1]|0)){break e}h=c+v[282397]|0;break s}h=v[b+20>>2]+(x[b+12>>1]+B(x[b+14>>1],i)|0)|0}d=0;c=e;while(1){l=w[d+h|0];t:{if(v[f+20>>2]){break t}g=v[f+36>>2];if(!g){break t}v[299999]=0;V(5065,f|0,g|0);g=v[299999];v[299999]=0;if((g|0)==1){break p}}g=c-1|0;u:{if(x[f+8>>1]<(c|0)){c=x[f+12>>1];if(v[282398]<(c+x[f+14>>1]|0)){break o}c=c+v[282397]|0;break u}c=v[f+20>>2]+(x[f+12>>1]+B(g,x[f+14>>1])|0)|0}t[c+i|0]=l;c=g;d=d+1|0;if((e|0)!=(d|0)){continue}break}d=x[b+8>>1];i=i+1|0;if(d>>>0>i>>>0){continue}break g}break}d=P()|0;O()|0;break a}d=P()|0;O()|0;break a}if(v[b+20>>2]){break g}c=0;while(1){v:{w:{if(h){break w}e=v[b+36>>2];if(!e){break w}v[299999]=0;V(5065,b|0,e|0);e=v[299999];v[299999]=0;if((e|0)==1){break v}d=x[b+8>>1]}e=d&65535;if(v[282398]<(x[b+12>>1]+x[b+14>>1]|0)&e>>>0<=c>>>0){break e}c=c+1|0;if(e>>>0<=c>>>0){break g}h=v[b+20>>2];continue}break}d=P()|0;O()|0;break a}v[299999]=0;b=aa(4369,j+8|0,260231,271771,577,336631,0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){v[299999]=0;R(4370,b|0);c=v[299999];v[299999]=0;if((c|0)!=1){break d}d=P()|0;O()|0;qc(b);break a}d=P()|0;O()|0;break a;case 1:break n;case 0:break h;default:break g}}l=x[f+8>>1];if(!l){break g}h=x[f+10>>1];m=h&3;n=h-1>>>0>2;g=l;while(1){c=g;x:{y:{z:{A:{B:{C:{D:{if(v[b+20>>2]){break D}e=v[b+36>>2];if(!e){break D}v[299999]=0;V(5065,b|0,e|0);e=v[299999];v[299999]=0;if((e|0)==1){break C}}E:{if(x[b+8>>1]<=k>>>0){e=x[b+12>>1];if(v[282398]<(e+x[b+14>>1]|0)){v[299999]=0;b=aa(4369,j+8|0,260231,271771,577,336631,0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break B}v[299999]=0;R(4370,b|0);c=v[299999];v[299999]=0;if((c|0)!=1){break d}d=P()|0;O()|0;qc(b);break a}d=e+v[282397]|0;break E}d=v[b+20>>2]+(x[b+12>>1]+B(x[b+14>>1],k)|0)|0}F:{if(v[f+20>>2]){break F}e=v[f+36>>2];if(!e){break F}v[299999]=0;V(5065,f|0,e|0);e=v[299999];v[299999]=0;if((e|0)==1){break A}}g=c-1|0;G:{if((c|0)>x[f+8>>1]){c=x[f+12>>1];if(v[282398]<(c+x[f+14>>1]|0)){v[299999]=0;b=aa(4369,j+8|0,260231,271771,577,336631,0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break z}v[299999]=0;R(4370,b|0);c=v[299999];v[299999]=0;if((c|0)!=1){break d}d=P()|0;O()|0;qc(b);break a}i=c+v[282397]|0;break G}i=v[f+20>>2]+(x[f+12>>1]+B(x[f+14>>1],g)|0)|0}if(!h){break x}c=h;e=m;if(e){while(1){c=c-1|0;t[i+c|0]=w[d|0];d=d+1|0;e=e-1|0;if(e){continue}break}}if(n){break y}break x}d=P()|0;O()|0;break a}d=P()|0;O()|0;break a}d=P()|0;O()|0;break a}d=P()|0;O()|0;break a}while(1){e=c+i|0;t[e-1|0]=w[d|0];t[e-2|0]=w[d+1|0];t[e-3|0]=w[d+2|0];e=c-4|0;t[e+i|0]=w[d+3|0];d=d+4|0;o=(c|0)>4;c=e;if(o){continue}break}}k=k+1|0;if((l|0)!=(k|0)){continue}break}break g}d=P()|0;O()|0;dc(c);break a}d=P()|0;O()|0;dc(c);break a}c=x[f+10>>1];if(!c){break g}e=c;while(1){H:{I:{J:{K:{L:{if(v[b+20>>2]){break L}g=v[b+36>>2];if(!g){break L}v[299999]=0;V(5065,b|0,g|0);g=v[299999];v[299999]=0;if((g|0)==1){break K}}M:{if(x[b+8>>1]<=k>>>0){g=x[b+12>>1];if(v[282398]<(g+x[b+14>>1]|0)){v[299999]=0;b=aa(4369,j+8|0,260231,271771,577,336631,0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break J}v[299999]=0;R(4370,b|0);c=v[299999];v[299999]=0;if((c|0)!=1){break d}d=P()|0;O()|0;qc(b);break a}g=g+v[282397]|0;break M}g=v[b+20>>2]+(x[b+12>>1]+B(x[b+14>>1],k)|0)|0}e=e-1|0;d=0;if(x[b+10>>1]){break I}break H}d=P()|0;O()|0;break a}d=P()|0;O()|0;break a}N:{while(1){O:{i=w[d+g|0];P:{if(v[f+20>>2]){break P}h=v[f+36>>2];if(!h){break P}v[299999]=0;V(5065,f|0,h|0);h=v[299999];v[299999]=0;if((h|0)==1){break O}}Q:{if(x[f+8>>1]<=d>>>0){h=x[f+12>>1];if(v[282398]<(h+x[f+14>>1]|0)){v[299999]=0;b=aa(4369,j+8|0,260231,271771,577,336631,0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break N}v[299999]=0;R(4370,b|0);c=v[299999];v[299999]=0;if((c|0)!=1){break d}d=P()|0;O()|0;qc(b);break a}h=h+v[282397]|0;break Q}h=v[f+20>>2]+(x[f+12>>1]+B(x[f+14>>1],d)|0)|0}t[h+e|0]=i;d=d+1|0;if(d>>>0>1]){continue}break H}break}d=P()|0;O()|0;break a}d=P()|0;O()|0;break a}k=k+1|0;if((c|0)!=(k|0)){continue}break}}if(x[b+16>>1]!=2){break f}v[299999]=0;R(5066,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break c}v[299999]=0;R(5066,f|0);b=v[299999];v[299999]=0;if((b|0)==1){break c}}Qb=j+32|0;return}v[299999]=0;b=aa(4369,j+8|0,260231,271771,577,336631,0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){v[299999]=0;R(4370,b|0);c=v[299999];v[299999]=0;if((c|0)!=1){break d}d=P()|0;O()|0;qc(b);break a}d=P()|0;O()|0;break a}L()}d=P()|0;O()|0;break a}d=P()|0;O()|0}ec(a);T(d|0);L()}function jga(a,b){a=a|0;b=b|0;var 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,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;if(v[a+12>>2]>=0){a:{if(nO(a,v[a+8>>2])){break a}d=v[a+4>>2];if(v[d+20>>2]<1){break a}while(1){f=v[a+8>>2];o=f;f=f<<3;p=v[f+995520>>2];m=v[f+995524>>2];I=(m|0)>=16;r=v[d>>2]+(s<<4)|0;j=r;d=0;g=0;b:{c:{if(p){f=0;if((m|0)<1){break b}c=a+120|0;while(1){J=a+d|0;f=d+p|0;k=v[j+(f>>4<<2)>>2];e=8;d:{if(!k){break d}f=v[k+((f&15)<<2)>>2];e=8;if(!f){break d}e=x[f>>1]?2:8;t[c|0]=e;k=x[f+2>>1]?2:8;t[c+1|0]=k;l=x[f+4>>1]?2:8;t[c+2|0]=l;n=x[f+6>>1]?2:8;t[c+3|0]=n;q=x[f+8>>1]?2:8;t[c+4|0]=q;h=x[f+10>>1]?2:8;t[c+5|0]=h;i=x[f+12>>1]?2:8;t[c+6|0]=i;z=x[f+14>>1]?2:8;t[c+7|0]=z;A=x[f+16>>1]?2:8;t[c+8|0]=A;C=x[f+18>>1]?2:8;t[c+9|0]=C;D=x[f+20>>1]?2:8;t[c+10|0]=D;E=x[f+22>>1]?2:8;t[c+11|0]=E;F=x[f+24>>1]?2:8;t[c+12|0]=F;G=x[f+26>>1]?2:8;t[c+13|0]=G;H=x[f+28>>1]?2:8;t[c+14|0]=H;f=x[f+30>>1]?2:8;t[c+15|0]=f;e=f|(h|(q|(n|(l|(e|k))))|i|z|A|C|D|E|F|G|H)}t[J+376|0]=e;c=c+16|0;g=e|g;d=d+1|0;if((m|0)!=(d|0)){continue}break}break c}g=8;f=v[j>>2];e:{if(!f){break e}f=v[f>>2];if(!f){break e}c=1;d=1;d=w[a+120|0]!=1?x[f>>1]?2:8:d;t[a+120|0]=d;c=w[a+121|0]!=1?x[f+2>>1]?2:8:c;t[a+121|0]=c;g=c|d;c=1;d=1;d=w[a+122|0]!=1?x[f+4>>1]?2:8:d;t[a+122|0]=d;c=w[a+123|0]!=1?x[f+6>>1]?2:8:c;t[a+123|0]=c;g=d|g|c;c=1;d=1;d=w[a+124|0]!=1?x[f+8>>1]?2:8:d;t[a+124|0]=d;c=w[a+125|0]!=1?x[f+10>>1]?2:8:c;t[a+125|0]=c;g=d|g|c;c=1;d=1;d=w[a+126|0]!=1?x[f+12>>1]?2:8:d;t[a+126|0]=d;c=w[a+127|0]!=1?x[f+14>>1]?2:8:c;t[a+127|0]=c;g=d|g|c;c=1;d=1;d=w[a+128|0]!=1?x[f+16>>1]?2:8:d;t[a+128|0]=d;c=w[a+129|0]!=1?x[f+18>>1]?2:8:c;t[a+129|0]=c;g=d|g|c;c=1;d=1;d=w[a+130|0]!=1?x[f+20>>1]?2:8:d;t[a+130|0]=d;c=w[a+131|0]!=1?x[f+22>>1]?2:8:c;t[a+131|0]=c;g=d|g|c;c=1;d=1;d=w[a+132|0]!=1?x[f+24>>1]?2:8:d;t[a+132|0]=d;c=w[a+133|0]!=1?x[f+26>>1]?2:8:c;t[a+133|0]=c;g=d|g|c;c=1;d=1;d=w[a+134|0]!=1?x[f+28>>1]?2:8:d;t[a+134|0]=d;c=w[a+135|0]!=1?x[f+30>>1]?2:8:c;t[a+135|0]=c;g=d|g|c}t[a+376|0]=g}f=g}f:{if(!(f&2?0:I)){f=f|4;break f}if(!(f&8)){break f}d=a+505|0;g=f|4;c=v[((w[a+505|0]<<2)+b|0)+44>>2]+v[b+20>>2]|0;g:{if(c>>>0<=y[b+28>>2]){v[b+20>>2]=c;c=t[d|0]&1;break g}c=rg(b,d,c)}f=c?g:f}h:{if(!(f&4)|(m|0)<1){break h}g=f<<1&4;i:{if((o|0)>=1){d=0;i=(o<<3)+a|0;while(1){e=a+d|0;j:{if(!(w[e+376|0]&8)){break j}c=0;j=d+p|0;h=j<<2;k=v[(h>>8<<2)+r>>2];k:{if(!k){break k}j=v[k+(j&60)>>2];if(!j){break k}c=3;k=(h&12)<<1;h=k+j|0;l=x[h>>1];h=(x[h+2>>1]?l?2:1:(l|0)!=0)+(x[h+4>>1]!=0)|0;if(h>>>0>2){break k}c=h+(x[j+(k|6)>>1]!=0)|0}c=(i+(c|g)|0)+424|0;j=v[((w[c|0]<<2)+b|0)+44>>2]+v[b+20>>2]|0;l:{if(j>>>0<=y[b+28>>2]){v[b+20>>2]=j;c=t[c|0]&1;break l}c=rg(b,c,j)}if(!c){break j}t[e+376|0]=w[e+376|0]|4}d=d+1|0;if((m|0)!=(d|0)){continue}break}break i}c=(g+((o<<3)+a|0)|0)+424|0;d=0;while(1){g=a+d|0;m:{if(!(w[g+376|0]&8)){break m}e=v[((w[c|0]<<2)+b|0)+44>>2]+v[b+20>>2]|0;n:{if(e>>>0<=y[b+28>>2]){v[b+20>>2]=e;e=t[c|0]&1;break n}e=rg(b,c,e)}if(!e){break m}t[g+376|0]=w[g+376|0]|4}d=d+1|0;if((m|0)!=(d|0)){continue}break}}if((m|0)<1){break h}e=a+120|0;j=v[((o<<2)+a|0)+16>>2];k=0;while(1){o:{n=a+k|0;if(!(w[n+376|0]&4)){break o}h=k+p|0;l=(h>>4<<2)+r|0;d=v[l>>2];p:{q:{r:{if(d){c=h&15;h=v[(c<<2)+d>>2];if(h){break p}g=v[a+4>>2];break r}g=v[a+4>>2];d=v[g+28>>2];s:{if((d|0)<=4046){c=v[g+24>>2];break s}c=fc(8164);v[c>>2]=v[g+24>>2];d=0;ic(c+4|0,0,8160);v[g+24>>2]=c}v[g+28>>2]=d+34;c=((d<<1)+c|0)+4|0;while(1){d=c;c=c+2|0;if(d&3){continue}break}v[l>>2]=d;c=h&15;h=v[(c<<2)+d>>2];if(h){break q}}i=v[g+28>>2];t:{if((i|0)<=4064){h=v[g+24>>2];break t}h=fc(8164);v[h>>2]=v[g+24>>2];i=0;ic(h+4|0,0,8160);v[g+24>>2]=h;d=v[l>>2]}v[g+28>>2]=i+16;g=d;d=c<<2;v[g+d>>2]=((i<<1)+h|0)+4;h=v[d+v[l>>2]>>2]}if(p){d=(k<<4)+a|0;v[d+120>>2]=134744072;v[d+124>>2]=134744072;v[d+128>>2]=134744072;v[d+132>>2]=134744072;break p}if(w[e|0]!=1){t[e|0]=8}if(w[e+1|0]!=1){t[e+1|0]=8}if(w[e+2|0]!=1){t[e+2|0]=8}if(w[e+3|0]!=1){t[e+3|0]=8}if(w[e+4|0]!=1){t[e+4|0]=8}if(w[e+5|0]!=1){t[e+5|0]=8}if(w[e+6|0]!=1){t[e+6|0]=8}if(w[e+7|0]!=1){t[e+7|0]=8}if(w[e+8|0]!=1){t[e+8|0]=8}if(w[e+9|0]!=1){t[e+9|0]=8}if(w[e+10|0]!=1){t[e+10|0]=8}if(w[e+11|0]!=1){t[e+11|0]=8}if(w[e+12|0]!=1){t[e+12|0]=8}if(w[e+13|0]!=1){t[e+13|0]=8}if(w[e+14|0]!=1){t[e+14|0]=8}if(w[e+15|0]==1){break p}t[e+15|0]=8}g=w[e|0];c=(((((((((((((((g>>>3&1)+(w[e+1|0]>>>3&1)|0)+(w[e+2|0]>>>3&1)|0)+(w[e+3|0]>>>3&1)|0)+(w[e+4|0]>>>3&1)|0)+(w[e+5|0]>>>3&1)|0)+(w[e+6|0]>>>3&1)|0)+(w[e+7|0]>>>3&1)|0)+(w[e+8|0]>>>3&1)|0)+(w[e+9|0]>>>3&1)|0)+(w[e+10|0]>>>3&1)|0)+(w[e+11|0]>>>3&1)|0)+(w[e+12|0]>>>3&1)|0)+(w[e+13|0]>>>3&1)|0)+(w[e+14|0]>>>3&1)|0)+(w[e+15|0]>>>3&1)|0;d=0;while(1){u:{if(!(g&8)){break u}j=o?j:v[((d<<2)+a|0)+56>>2];g=d+e|0;i=((w[n+376|0]<<2&8|((c|0)<7?c:7))+a|0)+392|0;l=v[((w[i|0]<<2)+b|0)+44>>2]+v[b+20>>2]|0;v:{if(l>>>0<=y[b+28>>2]){v[b+20>>2]=l;i=t[i|0]&1;break v}i=rg(b,i,l)}if(i){t[g|0]=w[g|0]|4;i=(j>>>1|0)+j-(j>>>3)|0;K=(d<<1)+h|0,L=vt(b,(B(v[b+20>>2],3)>>>3|0)+32768|0)?0-i|0:i,u[K>>1]=L}if(w[g|0]&4){c=0;break u}c=c-((c|0)>0)|0}d=d+1|0;if((d|0)==16){break o}g=w[d+e|0];continue}}e=e+16|0;k=k+1|0;if((m|0)!=(k|0)){continue}break}}if(!(!(f&2)|(m|0)<1)){k=a+504|0;j=a+120|0;e=v[((o<<2)+a|0)+16>>2];i=0;while(1){w:{if(!(w[(a+i|0)+376|0]&2)){break w}f=i+p|0;c=v[(f>>4<<2)+r>>2];if(!c){break w}d=0;l=v[c+((f&15)<<2)>>2];if(!l){break w}while(1){if(w[d+j|0]&2){c=l+(d<<1)|0;g=u[c>>1];f=g>>31;h=(f^f+g)&65535;g=c;e=o?e:v[((d<<2)+a|0)+56>>2];x:{if((h|0)<=(B(e,3)|0)){n=h+(e>>2)|0;q=e>>1;f=n+q|0;h=v[((w[k|0]<<2)+b|0)+44>>2]+v[b+20>>2]|0;y:{if(h>>>0<=y[b+28>>2]){v[b+20>>2]=h;h=t[k|0]&1;break y}h=rg(b,k,h)}if(h){break x}f=n+(q-e|0)|0;break x}f=h+(e>>1)|0;if(vt(b,(B(v[b+20>>2],3)>>>3|0)+32768|0)){break x}f=(h-e|0)+(e>>1)|0}u[g>>1]=u[c>>1]>0?f:0-f|0}d=d+1|0;if((d|0)!=16){continue}break}}j=j+16|0;i=i+1|0;if((m|0)!=(i|0)){continue}break}}s=s+1|0;d=v[a+4>>2];if((s|0)>2]){continue}break}}a=mO(a)}else{a=0}return a|0}function gfa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;f=Qb-48|0;Qb=f;v[f+16>>2]=0;v[f+8>>2]=0;e=v[v[a>>2]+16>>2];v[299999]=0;V(e|0,a|0,b|0);e=v[299999];v[299999]=0;a:{b:{c:{if((e|0)==1){break c}d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{e=v[b>>2];switch(e-2|0){case 0:case 3:break p;default:break o}}if(!d){v[299999]=0;b=aa(4369,f+24|0,240130,242139,946,341501,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break n}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break d}a=P()|0;O()|0;qc(b);break b}q:{r:{s:{if(!w[a+4|0]){v[299999]=0;e=S(1,72)|0;g=v[299999];v[299999]=0;if((g|0)==1){break s}v[299999]=0;g=S(5306,e|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break m}v[299999]=0;v[f+24>>2]=0;Q(4336,f+24|0,g|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break s}v[299999]=0;Q(4344,d+4|0,f+24|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break r}e=v[f+24>>2];v[f+24>>2]=0;t:{if(!e){break t}v[299999]=0;g=v[e+4>>2]-1|0;v[e+4>>2]=g;h=v[299999];v[299999]=0;if((h|0)==1){break a}if(g){break t}v[299999]=0;R(4338,e|0);e=v[299999];v[299999]=0;if((e|0)==1){break a}}v[d>>2]=-1}v[299999]=0;Q(4344,f+8|0,d+4|0)|0;e=v[299999];v[299999]=0;if((e|0)!=1){break q}a=P()|0;O()|0;break b}a=P()|0;O()|0;break b}a=P()|0;O()|0;ec(f+24|0);break b}e=v[b>>2]}u:{v:{w:{x:{y:{z:{A:{switch(e|0){case 0:e=v[c>>2];if(!e){v[299999]=0;b=aa(4369,f+24|0,240130,242139,965,341501,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break l}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break d}a=P()|0;O()|0;qc(b);break b}g=v[v[a>>2]+28>>2];v[299999]=0;V(g|0,a|0,e|0);g=v[299999];v[299999]=0;B:{if((g|0)==1){break B}g=w[a+48|0];h=v[v[a>>2]+8>>2];v[299999]=0;g=Y(h|0,a|0,g|0,a+68|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break B}t[a+48|0]=g;if(w[a+4|0]){break z}v[299999]=0;V(5309,a|0,e|0);e=v[299999];v[299999]=0;if((e|0)!=1){break z}}a=P()|0;O()|0;break b;case 2:e=v[v[a>>2]+40>>2];v[299999]=0;U(e|0,a|0,v[f+8>>2],4);e=v[299999];v[299999]=0;if((e|0)==1){break c}v[299999]=0;V(5310,a|0,v[f+8>>2]);e=v[299999];v[299999]=0;if((e|0)==1){break c}break z;case 5:C:{if(d){g=v[c>>2];if(g){break C}}v[299999]=0;b=aa(4369,f+24|0,240130,242139,984,341501,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break k}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break d}a=P()|0;O()|0;qc(b);break b}e=v[v[a>>2]+20>>2];v[299999]=0;e=Y(e|0,a|0,d|0,g|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break j}h=v[d>>2];v[299999]=0;g=Q(4911,g|0,h|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break j}v[299999]=0;Q(4344,f+16|0,g+4|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break j}D:{if(!((e|0)<=v[a+140>>2]&(e|0)>=v[a+136>>2])){v[299999]=0;b=aa(4369,f+24|0,227445,271729,619,307558,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break D}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break d}a=P()|0;O()|0;qc(b);break b}e=v[a+124>>2]+(e-v[a+128>>2]<<4)|0;g=v[e+4>>2];h=v[e+8>>2];i=v[e+12>>2];e=v[e>>2];j=v[v[a>>2]+44>>2];v[299999]=0;fa(j|0,a|0,v[f+8>>2],(h-g|0)+1|0,(e-i|0)+1|0,4);e=v[299999];v[299999]=0;if((e|0)==1){break D}e=v[d>>2];v[299999]=0;$(5311,a|0,v[f+8>>2],f+16|0,e|0);e=v[299999];v[299999]=0;if((e|0)!=1){break z}}a=P()|0;O()|0;break b;case 10:e=v[c>>2];if(!e){v[299999]=0;b=aa(4369,f+24|0,240130,242139,999,341501,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break i}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break d}a=P()|0;O()|0;qc(b);break b}g=v[v[a>>2]+12>>2];v[299999]=0;V(g|0,a|0,e+8|0);e=v[299999];v[299999]=0;if((e|0)!=1){break z}a=P()|0;O()|0;break b;case 11:break z;case 9:break A;default:break y}}if(!w[a+49|0]){e=v[c>>2];if(!e){v[299999]=0;b=aa(4369,f+24|0,240130,242139,1012,341501,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break h}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break d}a=P()|0;O()|0;qc(b);break b}g=v[v[a>>2]+24>>2];v[299999]=0;V(g|0,a|0,e|0);e=v[299999];v[299999]=0;if((e|0)!=1){break z}break c}v[a+52>>2]=0;v[a+56>>2]=0;v[a+144>>2]=0;v[a+148>>2]=0;v[a+172>>2]=0;v[a+176>>2]=0;v[a+60>>2]=0;v[a+64>>2]=0;v[a+152>>2]=0;v[a+156>>2]=0;v[a+160>>2]=0;v[a+164>>2]=0;v[a+180>>2]=0;v[a+184>>2]=0;v[a+188>>2]=0;v[a+192>>2]=0;v[299999]=0;Ah(a+16|0,1,0);e=v[299999];v[299999]=0;if((e|0)==1){break c}v[299999]=0;Ah(a+28|0,4,0);e=v[299999];v[299999]=0;if((e|0)==1){break c}v[299999]=0;Ah(a+40|0,4,0);e=v[299999];v[299999]=0;if((e|0)==1){break c}v[a+8>>2]=1}if(w[a+4|0]){break v}switch(v[b>>2]-2|0){case 0:case 3:break x;default:break w}}v[299999]=0;b=aa(4369,f+24|0,278900,242139,1026,341501,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break g}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break d}a=P()|0;O()|0;qc(b);break b}E:{if(d){b=v[c>>2];if(b){break E}}v[299999]=0;b=aa(4369,f+24|0,240130,242139,1040,341501,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break f}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break d}a=P()|0;O()|0;qc(b);break b}v[299999]=0;b=Q(5312,b|0,d|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){v[299999]=0;Y(5313,a|0,b|0,d|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break w}}a=P()|0;O()|0;break b}a=v[f+8>>2];if(!a){break u}v[299999]=0;R(5066,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break c}}a=v[f+8>>2]}v[f+8>>2]=0;F:{if(!a){break F}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break F}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}a=v[f+16>>2];v[f+16>>2]=0;G:{if(!a){break G}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break e}if(b){break G}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break e}}Qb=f+48|0;return}a=P()|0;O()|0;break b}a=P()|0;O()|0;dc(e);break b}a=P()|0;O()|0;break b}a=P()|0;O()|0;break b}a=P()|0;O()|0;break b}a=P()|0;O()|0;break b}a=P()|0;O()|0;break b}a=P()|0;O()|0;break b}a=P()|0;O()|0;break b}W(0)|0;O()|0;lc()}L()}a=P()|0;O()|0}ec(f+8|0);ec(f+16|0);T(a|0);L()}W(0)|0;O()|0;lc();L()}function iS(a,b,c){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,p=0,q=0,r=0,s=0,u=0,w=0,z=0,A=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0;a:{m=v[c+52>>2];F=v[c+56>>2];G=v[c+32>>2];j=F-G|0;n=v[c+28>>2];w=(m+j|0)-n|0;if(!w){break a}K=v[c+64>>2];L=v[c+40>>2];r=K-L|0;z=v[c+68>>2];A=v[c+44>>2];C=(r+z|0)-A|0;if(!C){break a}g=v[a+40>>2];s=g&31;O=g>>>5&7;R=O-1|0;P=B(b,3);while(1){b:{if(!s){k=R+(v[(v[a+44>>2]+(l+P<<2)|0)-8>>2]>>>3&31)|0;Q=0;break b}k=v[a+4>>2]+(O+((l|0)==2)|0)|0;Q=+((v[v[a+44>>2]+(((s|0)==1?0:(l+P|0)-2|0)<<2)>>2]&2047|2048)>>>0)*.00048828125}k=v[a+36>>2]?k:(k-v[a+4>>2]|0)+24|0;d=v[c+8>>2];if(d){S=v[c+96>>2];E=0;while(1){o=v[S+(E<<2)>>2]+B(l,24)|0;g=v[o+4>>2];c:{if(!g){break c}b=v[o>>2];if(!b){break c}d=v[o+20>>2];M=0;f=1;while(1){N=0;e=0;if(f){while(1){I=v[d+4>>2];d:{if(I>>>0>=y[d+12>>2]){break d}e=v[d>>2];h=v[d+8>>2];if(e>>>0>=h>>>0){break d}p=v[d+52>>2];u=v[d+48>>2];while(1){e:{if(e>>>0>=h>>>0){break e}g=u;b=g;i=p;f=i;if(!s){while(1){f=g;T=f;q=v[f>>2];f=0;f:{if(!q){break f}b=k-(t[i|0]+(v[d+28>>2]+x[d+56>>1]|0)|0)|0;g:{if((b|0)<=0){b=q>>0-b;break g}H=q<=0){break g}b=H+(-1<>2]){break f}f=b&-1<<24-v[a+4>>2]}v[T>>2]=f;i=i+1|0;g=g+4|0;e=e+1|0;h=v[d+8>>2];if(e>>>0>>0){continue}break e}}while(1){g=b;i=v[b>>2];h=0;h:{if(!i){break h}J=Q;h=k-(t[f|0]+(v[d+28>>2]+x[d+56>>1]|0)|0)|0;i:{if((h|0)>=1){H=i<>0-h}J=J*+(h|0);if(D(J)<2147483648){h=~~J;break h}h=-2147483648}v[g>>2]=h;f=f+1|0;b=b+4|0;e=e+1|0;h=v[d+8>>2];if(e>>>0>>0){continue}break}}I=I+1|0;if(I>>>0>2]){p=v[c+84>>2]+p|0;u=(v[a+68>>2]<<2)+u|0;e=v[d>>2];continue}break}b=v[o>>2]}d=d+68|0;N=N+1|0;if(N>>>0>>0){continue}break}e=b;g=v[o+4>>2]}f=e;M=M+1|0;if(M>>>0>>0){continue}break}d=v[c+8>>2]}E=E+1|0;if(E>>>0>>0){continue}break}}l=l+1|0;if((l|0)!=3){continue}break}b=m+F|0;s=b-(n+G|0)|0;k=w&-4;o=w&3;u=j&-4;i=j&3;l=m-n&3;m=(n^-1)+m|0;g=G^-1;E=g+F|0;d=v[a+76>>2];p=0;F=(v[c+12>>2]&1)+3|0;q=F<<2;n=(b+g|0)-n>>>0<3;while(1){G=v[a+80>>2];e=G+q|0;j:{if(v[c+28>>2]==v[c+32>>2]){k:{if(!j){break k}f=0;b=e;h=u;if(E>>>0>=3){while(1){g=f<<2;v[b>>2]=v[g+d>>2];v[b+8>>2]=v[(g|4)+d>>2];v[b+16>>2]=v[(g|8)+d>>2];v[b+24>>2]=v[(g|12)+d>>2];b=b+32|0;f=f+4|0;h=h-4|0;if(h){continue}break}}g=i;if(!g){break k}while(1){v[b>>2]=v[(f<<2)+d>>2];b=b+8|0;f=f+1|0;g=g-1|0;if(g){continue}break}}if(j>>>0>=w>>>0){break j}b=e+4|0;e=j;f=l;if(f){while(1){v[b>>2]=v[(e<<2)+d>>2];b=b+8|0;e=e+1|0;f=f-1|0;if(f){continue}break}}if(m>>>0<3){break j}while(1){g=(e<<2)+d|0;v[b>>2]=v[g>>2];v[b+8>>2]=v[g+4>>2];v[b+16>>2]=v[g+8>>2];v[b+24>>2]=v[g+12>>2];b=b+32|0;e=e+4|0;if((s|0)!=(e|0)){continue}break}break j}l:{if(!j){break l}b=e+4|0;f=0;h=u;if(E>>>0>2){while(1){g=f<<2;v[b>>2]=v[g+d>>2];v[b+8>>2]=v[(g|4)+d>>2];v[b+16>>2]=v[(g|8)+d>>2];v[b+24>>2]=v[(g|12)+d>>2];b=b+32|0;f=f+4|0;h=h-4|0;if(h){continue}break}}g=i;if(!g){break l}while(1){v[b>>2]=v[(f<<2)+d>>2];b=b+8|0;f=f+1|0;g=g-1|0;if(g){continue}break}}if(j>>>0>=w>>>0){break j}b=j;f=l;if(f){while(1){v[e>>2]=v[(b<<2)+d>>2];e=e+8|0;b=b+1|0;f=f-1|0;if(f){continue}break}}if(m>>>0<3){break j}while(1){g=(b<<2)+d|0;v[e>>2]=v[g>>2];v[e+8>>2]=v[g+4>>2];v[e+16>>2]=v[g+8>>2];v[e+24>>2]=v[g+12>>2];e=e+32|0;b=b+4|0;if((s|0)!=(b|0)){continue}break}}hS(a,G,F,w);b=q+v[a+80>>2]|0;e=0;g=k;if(!n){while(1){f=e<<2;v[f+d>>2]=v[b>>2];v[(f|4)+d>>2]=v[b+4>>2];v[(f|8)+d>>2]=v[b+8>>2];v[(f|12)+d>>2]=v[b+12>>2];b=b+16|0;e=e+4|0;g=g-4|0;if(g){continue}break}}f=o;if(f){while(1){v[(e<<2)+d>>2]=v[b>>2];b=b+4|0;e=e+1|0;f=f-1|0;if(f){continue}break}}d=(v[a+68>>2]<<2)+d|0;p=p+1|0;if(C>>>0>p>>>0){continue}break}g=z+K|0;p=g-(A+L|0)|0;i=C&-4;l=C&3;h=r&-4;j=r&3;u=z-A&3;o=(A^-1)+z|0;f=L^-1;n=f+K|0;b=v[a+76>>2];k=0;z=(v[c+16>>2]&1)+3|0;m=z<<2;A=(f+g|0)-A>>>0<3;while(1){s=v[a+80>>2];f=s+m|0;m:{if(v[c+40>>2]==v[c+44>>2]){n:{if(!r){break n}d=0;e=f;g=h;if(n>>>0>=3){while(1){v[e>>2]=v[(B(v[a+68>>2],d)<<2)+b>>2];v[e+8>>2]=v[(B(v[a+68>>2],d|1)<<2)+b>>2];v[e+16>>2]=v[(B(v[a+68>>2],d|2)<<2)+b>>2];v[e+24>>2]=v[(B(v[a+68>>2],d|3)<<2)+b>>2];e=e+32|0;d=d+4|0;g=g-4|0;if(g){continue}break}}g=j;if(!g){break n}while(1){v[e>>2]=v[(B(v[a+68>>2],d)<<2)+b>>2];e=e+8|0;d=d+1|0;g=g-1|0;if(g){continue}break}}if(r>>>0>=C>>>0){break m}d=f+4|0;e=r;f=u;if(f){while(1){v[d>>2]=v[(B(v[a+68>>2],e)<<2)+b>>2];d=d+8|0;e=e+1|0;f=f-1|0;if(f){continue}break}}if(o>>>0<3){break m}while(1){v[d>>2]=v[(B(v[a+68>>2],e)<<2)+b>>2];v[d+8>>2]=v[(B(v[a+68>>2],e+1|0)<<2)+b>>2];v[d+16>>2]=v[(B(v[a+68>>2],e+2|0)<<2)+b>>2];v[d+24>>2]=v[(B(v[a+68>>2],e+3|0)<<2)+b>>2];d=d+32|0;e=e+4|0;if((p|0)!=(e|0)){continue}break}break m}o:{if(!r){break o}d=f+4|0;e=0;g=h;if(n>>>0>2){while(1){v[d>>2]=v[(B(v[a+68>>2],e)<<2)+b>>2];v[d+8>>2]=v[(B(v[a+68>>2],e|1)<<2)+b>>2];v[d+16>>2]=v[(B(v[a+68>>2],e|2)<<2)+b>>2];v[d+24>>2]=v[(B(v[a+68>>2],e|3)<<2)+b>>2];d=d+32|0;e=e+4|0;g=g-4|0;if(g){continue}break}}g=j;if(!g){break o}while(1){v[d>>2]=v[(B(v[a+68>>2],e)<<2)+b>>2];d=d+8|0;e=e+1|0;g=g-1|0;if(g){continue}break}}if(r>>>0>=C>>>0){break m}d=r;e=u;if(e){while(1){v[f>>2]=v[(B(v[a+68>>2],d)<<2)+b>>2];f=f+8|0;d=d+1|0;e=e-1|0;if(e){continue}break}}if(o>>>0<3){break m}while(1){v[f>>2]=v[(B(v[a+68>>2],d)<<2)+b>>2];v[f+8>>2]=v[(B(v[a+68>>2],d+1|0)<<2)+b>>2];v[f+16>>2]=v[(B(v[a+68>>2],d+2|0)<<2)+b>>2];v[f+24>>2]=v[(B(v[a+68>>2],d+3|0)<<2)+b>>2];f=f+32|0;d=d+4|0;if((p|0)!=(d|0)){continue}break}}hS(a,s,z,C);d=m+v[a+80>>2]|0;e=0;f=i;if(!A){while(1){v[(B(v[a+68>>2],e)<<2)+b>>2]=v[d>>2];v[(B(v[a+68>>2],e|1)<<2)+b>>2]=v[d+4>>2];v[(B(v[a+68>>2],e|2)<<2)+b>>2]=v[d+8>>2];v[(B(v[a+68>>2],e|3)<<2)+b>>2]=v[d+12>>2];d=d+16|0;e=e+4|0;f=f-4|0;if(f){continue}break}}f=l;if(f){while(1){v[(B(v[a+68>>2],e)<<2)+b>>2]=v[d>>2];d=d+4|0;e=e+1|0;f=f-1|0;if(f){continue}break}}b=b+4|0;k=k+1|0;if(w>>>0>k>>>0){continue}break}}}function NJ(a,b,c,d,e,f){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,u=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0;u=v[a+12>>2];a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{x=v[a+8>>2];l:{if(w[x+57|0]&2){m=-1;g=Yj(65425);if(!g){break l}v[g+12>>2]=v[v[u+32>>2]+104>>2];if(Xj(b,v[a+16>>2],g)){break l}ai(g)}i=gB(b,11863);if(!i){break k}if(!(w[i+16|0]&2)){break j}m=-1;h=v[i+8>>2];g=h-1|0;v[i+8>>2]=g;m:{if((h|0)<=0){j=v[i+4>>2];h=j<<8&65280;g=(h|0)==65280?6:7;v[i+8>>2]=g;v[i+4>>2]=h|1<>2];q=v[g+8>>2];if(q&7){break l}h=v[g+64>>2];if(!((h|0)<0|(h|0)>v[g+60>>2])){break b}v[g+4>>2]=v[g+4>>2]|32;h=v[g+28>>2];v[g+28>>2]=h-1;if((h|0)>=1){v[g+60>>2]=v[g+60>>2]+1;h=g;g=v[g+24>>2];v[h+24>>2]=g+1;t[g|0]=j;break m}if((Fc(g,j&255)|0)!=-1){break m}break l}v[i+4>>2]=v[i+4>>2]|1<>2]+B(c,716)|0)+4>>2]+(d<<6)|0;g=v[h+52>>2];if(g){s=v[h+56>>2];A=s+B(g,36)|0;C=f+1|0;D=B(e,52);while(1){n:{if(!v[s+4>>2]){break n}p=v[s>>2]+D|0;g=v[p+28>>2];if(!g){break n}h=v[p+24>>2];if(!h){break n}j=B(h,60)+g|0;while(1){if(!f){h=v[p+36>>2];aB(h,v[h+12>>2]+((g-v[p+28>>2]|0)/60<<4)|0,v[g+12>>2])}l=v[g+40>>2];if(!(v[g+8>>2]|(!l|v[l+32>>2]!=(f|0)))){h=v[p+32>>2];aB(h,v[h+12>>2]+((g-v[p+28>>2]|0)/60<<4)|0,v[l+32>>2])}g=g+60|0;if((j|0)!=(g|0)){continue}break}g=v[p+24>>2];if(!g){break n}o=v[p+28>>2];E=o+B(g,60)|0;while(1){l=v[o+40>>2];if(l){h=v[l+32>>2]==(f|0)}else{h=0}o:{if(!v[o+8>>2]){g=v[p+32>>2];if((MJ(g,v[g+12>>2]+((o-v[p+28>>2]|0)/60<<4)|0,C,i)|0)<0){break a}break o}if(!(w[i+16|0]&2)){break i}j=v[i+8>>2];g=j-1|0;v[i+8>>2]=g;if((j|0)<=0){k=v[i+4>>2];j=k<<8&65280;g=(j|0)==65280?6:7;v[i+8>>2]=g;v[i+4>>2]=j|h<>2];q=v[g+8>>2];if(q&7){break a}j=v[g+64>>2];if(!((j|0)<0|(j|0)>v[g+60>>2])){break b}v[g+4>>2]=v[g+4>>2]|32;j=v[g+28>>2];v[g+28>>2]=j-1;if((j|0)>=1){v[g+60>>2]=v[g+60>>2]+1;j=g;g=v[g+24>>2];v[j+24>>2]=g+1;t[g|0]=k;break o}m=-1;if((Fc(g,k&255)|0)!=-1){break o}break l}v[i+4>>2]=v[i+4>>2]|h<>2]){g=1;m=-1;h=v[p+36>>2];k=v[h+12>>2]+((o-v[p+28>>2]|0)/60<<4)|0;j=MJ(h,k,1,i);if((j|0)<0){break l}while(1){if(!j){g=g+1|0;j=MJ(v[p+36>>2],k,g,i);if((j|0)>=0){continue}break l}break}if(!v[k+12>>2]|(v[k+4>>2]+1|0)!=(g|0)){break h}}j=l;g=v[o+4>>2]+B(v[o>>2],72)|0;q:{if((g|0)==(l|0)){break q}while(1){if(v[j+32>>2]!=(f|0)){break q}j=j+72|0;if((g|0)!=(j|0)){continue}break}j=g}h=j-l|0;if((h|0)<72){break a}r:{s:{t:{u:{v:{g=(h|0)/72|0;switch(g-1|0){case 1:break u;case 0:break v;default:break t}}if(!(w[i+16|0]&2)){break g}g=v[i+8>>2];v[i+8>>2]=g-1;if((g|0)>0){break r}k=v[i+4>>2]<<8&65280;v[i+4>>2]=k;v[i+8>>2]=(k|0)==65280?6:7;n=-1;m=v[i+12>>2];h=v[m+8>>2];w:{if(h&7){break w}g=v[m+64>>2];if(!((g|0)<0|(g|0)>v[m+60>>2])){v[m+8>>2]=h|4;break w}v[m+4>>2]=v[m+4>>2]|32;g=v[m+28>>2];v[m+28>>2]=g-1;if((g|0)<=0){n=Fc(m,k>>>8|0);break w}v[m+60>>2]=v[m+60>>2]+1;g=v[m+24>>2];v[m+24>>2]=g+1;n=k>>>8|0;t[g|0]=n}g=(n|0)==-1?-1:0;break s}g=Ws(i,2,2);break s}if((h|0)<=431){g=Ws(i,4,g-3|12);break s}if((h|0)<=2663){g=Ws(i,9,g-6|480);break s}if((h|0)>11879){break a}g=Ws(i,16,g-37|65408)}m=-1;if((g|0)==-1){break l}}y=j-72|0;z=(j|0)==(l|0);x:{if(z){n=0;break x}m=v[l>>2];n=0;h=1;g=l;while(1){y:{if(!(!v[g+12>>2]&(g|0)!=(y|0))){k=v[g+4>>2];h=(xl(k-m|0)-(v[o+16>>2]+Wo(h)|0)|0)+1|0;h=(h|0)>0?h:0;n=(h|0)>(n|0)?h:n;m=k;h=1;break y}h=h+1|0}g=g+72|0;if((j|0)!=(g|0)){continue}break}z:{if((n|0)>=0){g=n;if(g){break z}n=0;break x}X(33859,7578,96,189514);L()}while(1){if(!(w[i+16|0]&2)){break f}h=g;k=v[i+8>>2];g=k-1|0;v[i+8>>2]=g;A:{if((k|0)<=0){r=v[i+4>>2];k=r<<8&65280;g=(k|0)==65280?6:7;v[i+8>>2]=g;v[i+4>>2]=k|1<>2];q=v[g+8>>2];if(q&7){break a}k=v[g+64>>2];if(!((k|0)<0|(k|0)>v[g+60>>2])){break b}v[g+4>>2]=v[g+4>>2]|32;k=v[g+28>>2];v[g+28>>2]=k-1;if((k|0)>=1){v[g+60>>2]=v[g+60>>2]+1;k=g;g=v[g+24>>2];v[k+24>>2]=g+1;t[g|0]=r;break A}m=-1;if((Fc(g,r&255)|0)!=-1){break A}break l}v[i+4>>2]=v[i+4>>2]|1<1){continue}break}}if(!(w[i+16|0]&2)){break e}g=v[i+8>>2];v[i+8>>2]=g-1;B:{if((g|0)>0){break B}k=v[i+4>>2];r=k<<8&65280;v[i+4>>2]=r;v[i+8>>2]=(r|0)==65280?6:7;m=-1;g=v[i+12>>2];q=v[g+8>>2];if(q&7){break l}h=v[g+64>>2];if(!((h|0)<0|(h|0)>v[g+60>>2])){break b}v[g+4>>2]=v[g+4>>2]|32;h=v[g+28>>2];v[g+28>>2]=h-1;if((h|0)>=1){v[g+60>>2]=v[g+60>>2]+1;h=g;g=v[g+24>>2];v[h+24>>2]=g+1;t[g|0]=k;break B}if((Fc(g,r>>>8|0)|0)==-1){break l}}v[o+16>>2]=v[o+16>>2]+n;if(z){break p}h=v[l>>2];g=1;while(1){C:{if(!(!v[l+12>>2]&(l|0)!=(y|0))){k=v[l+4>>2];n=k-h|0;if((xl(n)|0)>=(v[o+16>>2]+Wo(g)|0)){break d}m=-1;h=k;k=1;if((Ws(i,v[o+16>>2]+Wo(g)|0,n)|0)!=-1){break C}break l}k=g+1|0}g=k;l=l+72|0;if((j|0)!=(l|0)){continue}break}}o=o+60|0;if((E|0)!=(o|0)){continue}break}}s=s+36|0;if((A|0)!=(s|0)){continue}break}}m=0;Xv(i,0);Xs(i);if(w[x+57|0]&4){g=Yj(65426);if(!g){break a}Xj(b,v[a+16>>2],g);ai(g)}c=v[(v[u+48>>2]+B(c,716)|0)+4>>2]+(d<<6)|0;a=v[c+52>>2];if(!a){break l}j=v[c+56>>2];m=j+B(a,36)|0;n=B(e,52);while(1){D:{if(!v[j+4>>2]){break D}a=n+v[j>>2]|0;l=v[a+28>>2];if(!l){break D}a=v[a+24>>2];if(!a){break D}k=B(a,60)+l|0;while(1){c=v[l+40>>2];E:{if(!c){break E}a=v[c+32>>2];if((a|0)!=(f|0)){if((a|0)<0|(a|0)>(f|0)){break E}X(24936,7578,361,189462);L()}h=0;a=c;e=v[l+4>>2]+B(v[l>>2],72)|0;F:{if((a|0)==(e|0)){g=c;break F}while(1){g=a+72|0;if((e|0)==(g|0)){g=e;h=0;break F}d=a;a=g;h=g;if(v[d+104>>2]==(f|0)){continue}break}}Df(v[l+20>>2],v[c>>2],0);a=ui(v[l+20>>2]);if((a|0)!=v[c>>2]){break c}if(Cm(b,v[l+20>>2],v[g-68>>2]-a|0)){break a}v[l+40>>2]=h;v[l+8>>2]=v[l+8>>2]+((g-c|0)/72|0)}l=l+60|0;if((k|0)!=(l|0)){continue}break}}j=j+36|0;if((m|0)!=(j|0)){continue}break}m=0}return m}X(13853,7578,207,189462);L()}X(16320,7578,209,189462);L()}X(16320,7578,255,189462);L()}X(21626,7578,275,189462);L()}X(32108,7578,116,189494);L()}X(32108,7578,99,189514);L()}X(32108,7578,103,189514);L()}X(23689,7578,318,189462);L()}X(26551,7578,375,189462);L()}v[g+8>>2]=q|4}return-1}function Zf(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=C(0);if(Jg(a)){if(!(c?b:0)){c=w[1811]|w[1812]<<8|(w[1813]<<16|w[1814]<<24);b=w[1807]|w[1808]<<8|(w[1809]<<16|w[1810]<<24);t[a+125|0]=b;t[a+126|0]=b>>>8;t[a+127|0]=b>>>16;t[a+128|0]=b>>>24;t[a+129|0]=c;t[a+130|0]=c>>>8;t[a+131|0]=c>>>16;t[a+132|0]=c>>>24;c=w[1806]|w[1807]<<8|(w[1808]<<16|w[1809]<<24);b=w[1802]|w[1803]<<8|(w[1804]<<16|w[1805]<<24);t[a+120|0]=b;t[a+121|0]=b>>>8;t[a+122|0]=b>>>16;t[a+123|0]=b>>>24;t[a+124|0]=c;t[a+125|0]=c>>>8;t[a+126|0]=c>>>16;t[a+127|0]=c>>>24;c=w[1798]|w[1799]<<8|(w[1800]<<16|w[1801]<<24);b=w[1794]|w[1795]<<8|(w[1796]<<16|w[1797]<<24);t[a+112|0]=b;t[a+113|0]=b>>>8;t[a+114|0]=b>>>16;t[a+115|0]=b>>>24;t[a+116|0]=c;t[a+117|0]=c>>>8;t[a+118|0]=c>>>16;t[a+119|0]=c>>>24;c=w[1790]|w[1791]<<8|(w[1792]<<16|w[1793]<<24);b=w[1786]|w[1787]<<8|(w[1788]<<16|w[1789]<<24);t[a+104|0]=b;t[a+105|0]=b>>>8;t[a+106|0]=b>>>16;t[a+107|0]=b>>>24;t[a+108|0]=c;t[a+109|0]=c>>>8;t[a+110|0]=c>>>16;t[a+111|0]=c>>>24;c=w[1782]|w[1783]<<8|(w[1784]<<16|w[1785]<<24);b=w[1778]|w[1779]<<8|(w[1780]<<16|w[1781]<<24);t[a+96|0]=b;t[a+97|0]=b>>>8;t[a+98|0]=b>>>16;t[a+99|0]=b>>>24;t[a+100|0]=c;t[a+101|0]=c>>>8;t[a+102|0]=c>>>16;t[a+103|0]=c>>>24;c=w[1774]|w[1775]<<8|(w[1776]<<16|w[1777]<<24);b=w[1770]|w[1771]<<8|(w[1772]<<16|w[1773]<<24);t[a+88|0]=b;t[a+89|0]=b>>>8;t[a+90|0]=b>>>16;t[a+91|0]=b>>>24;t[a+92|0]=c;t[a+93|0]=c>>>8;t[a+94|0]=c>>>16;t[a+95|0]=c>>>24;c=w[1766]|w[1767]<<8|(w[1768]<<16|w[1769]<<24);b=w[1762]|w[1763]<<8|(w[1764]<<16|w[1765]<<24);t[a+80|0]=b;t[a+81|0]=b>>>8;t[a+82|0]=b>>>16;t[a+83|0]=b>>>24;t[a+84|0]=c;t[a+85|0]=c>>>8;t[a+86|0]=c>>>16;t[a+87|0]=c>>>24;c=w[1758]|w[1759]<<8|(w[1760]<<16|w[1761]<<24);b=w[1754]|w[1755]<<8|(w[1756]<<16|w[1757]<<24);t[a+72|0]=b;t[a+73|0]=b>>>8;t[a+74|0]=b>>>16;t[a+75|0]=b>>>24;t[a+76|0]=c;t[a+77|0]=c>>>8;t[a+78|0]=c>>>16;t[a+79|0]=c>>>24;return 0}g=C(C(b>>>0)*C(c>>>0));f=1;a:{if(d>>>0<2){break a}f=4;if(d>>>0<5){break a}f=d>>>0>8?24:8}if(C(C(g*C(f>>>0))*C(.125))>C(268435456)){b=w[6020]|w[6021]<<8|(w[6022]<<16|w[6023]<<24);t[a+96|0]=b;t[a+97|0]=b>>>8;t[a+98|0]=b>>>16;t[a+99|0]=b>>>24;c=w[6016]|w[6017]<<8|(w[6018]<<16|w[6019]<<24);b=w[6012]|w[6013]<<8|(w[6014]<<16|w[6015]<<24);t[a+88|0]=b;t[a+89|0]=b>>>8;t[a+90|0]=b>>>16;t[a+91|0]=b>>>24;t[a+92|0]=c;t[a+93|0]=c>>>8;t[a+94|0]=c>>>16;t[a+95|0]=c>>>24;c=w[6008]|w[6009]<<8|(w[6010]<<16|w[6011]<<24);b=w[6004]|w[6005]<<8|(w[6006]<<16|w[6007]<<24);t[a+80|0]=b;t[a+81|0]=b>>>8;t[a+82|0]=b>>>16;t[a+83|0]=b>>>24;t[a+84|0]=c;t[a+85|0]=c>>>8;t[a+86|0]=c>>>16;t[a+87|0]=c>>>24;c=w[6e3]|w[6001]<<8|(w[6002]<<16|w[6003]<<24);b=w[5996]|w[5997]<<8|(w[5998]<<16|w[5999]<<24);t[a+72|0]=b;t[a+73|0]=b>>>8;t[a+74|0]=b>>>16;t[a+75|0]=b>>>24;t[a+76|0]=c;t[a+77|0]=c>>>8;t[a+78|0]=c>>>16;t[a+79|0]=c>>>24;return 0}d=2;b:{c:{switch(f-1|0){case 3:d=16;break b;case 7:d=256;break b;case 0:break b;default:break c}}d=0}v[a+12>>2]=40;v[a+68>>2]=e;v[a+44>>2]=d;v[a+28>>2]=0;u[a+26>>1]=f;u[a+24>>1]=1;v[a+20>>2]=c;v[a+16>>2]=b;b=B(b,f)+31>>>3&536870908;v[a+52>>2]=b;b=B(b,c);v[a+32>>2]=b;b=jc((b+(v[a+44>>2]<<2)|0)+40|0);v[a+4>>2]=b;if(!b){c=w[9220]|w[9221]<<8|(w[9222]<<16|w[9223]<<24);b=w[9216]|w[9217]<<8|(w[9218]<<16|w[9219]<<24);t[a+102|0]=b;t[a+103|0]=b>>>8;t[a+104|0]=b>>>16;t[a+105|0]=b>>>24;t[a+106|0]=c;t[a+107|0]=c>>>8;t[a+108|0]=c>>>16;t[a+109|0]=c>>>24;c=w[9214]|w[9215]<<8|(w[9216]<<16|w[9217]<<24);b=w[9210]|w[9211]<<8|(w[9212]<<16|w[9213]<<24);t[a+96|0]=b;t[a+97|0]=b>>>8;t[a+98|0]=b>>>16;t[a+99|0]=b>>>24;t[a+100|0]=c;t[a+101|0]=c>>>8;t[a+102|0]=c>>>16;t[a+103|0]=c>>>24;c=w[9206]|w[9207]<<8|(w[9208]<<16|w[9209]<<24);b=w[9202]|w[9203]<<8|(w[9204]<<16|w[9205]<<24);t[a+88|0]=b;t[a+89|0]=b>>>8;t[a+90|0]=b>>>16;t[a+91|0]=b>>>24;t[a+92|0]=c;t[a+93|0]=c>>>8;t[a+94|0]=c>>>16;t[a+95|0]=c>>>24;c=w[9198]|w[9199]<<8|(w[9200]<<16|w[9201]<<24);b=w[9194]|w[9195]<<8|(w[9196]<<16|w[9197]<<24);t[a+80|0]=b;t[a+81|0]=b>>>8;t[a+82|0]=b>>>16;t[a+83|0]=b>>>24;t[a+84|0]=c;t[a+85|0]=c>>>8;t[a+86|0]=c>>>16;t[a+87|0]=c>>>24;c=w[9190]|w[9191]<<8|(w[9192]<<16|w[9193]<<24);b=w[9186]|w[9187]<<8|(w[9188]<<16|w[9189]<<24);t[a+72|0]=b;t[a+73|0]=b>>>8;t[a+74|0]=b>>>16;t[a+75|0]=b>>>24;t[a+76|0]=c;t[a+77|0]=c>>>8;t[a+78|0]=c>>>16;t[a+79|0]=c>>>24;return 0}v[a+8>>2]=b+((v[a+32>>2]+v[a+12>>2]|0)+(v[a+44>>2]<<2)|0);b=v[a+4>>2];b=b?v[a+44>>2]?b+40|0:0:0;if(b){ic(b,0,v[a+44>>2]<<2)}if(v[a+960>>2]){b=v[a+960>>2];if(b){dc(b);v[a+960>>2]=0}v[a+376>>2]=0;v[a+380>>2]=0;v[a+372>>2]=v[a+16>>2];v[a+384>>2]=v[a+20>>2]}if(v[a+964>>2]){Zv(a)}d=w[a+16|0]|w[a+17|0]<<8|(w[a+18|0]<<16|w[a+19|0]<<24);b=v[a+4>>2];c=w[a+12|0]|w[a+13|0]<<8|(w[a+14|0]<<16|w[a+15|0]<<24);t[b|0]=c;t[b+1|0]=c>>>8;t[b+2|0]=c>>>16;t[b+3|0]=c>>>24;t[b+4|0]=d;t[b+5|0]=d>>>8;t[b+6|0]=d>>>16;t[b+7|0]=d>>>24;d=w[a+48|0]|w[a+49|0]<<8|(w[a+50|0]<<16|w[a+51|0]<<24);c=w[a+44|0]|w[a+45|0]<<8|(w[a+46|0]<<16|w[a+47|0]<<24);t[b+32|0]=c;t[b+33|0]=c>>>8;t[b+34|0]=c>>>16;t[b+35|0]=c>>>24;t[b+36|0]=d;t[b+37|0]=d>>>8;t[b+38|0]=d>>>16;t[b+39|0]=d>>>24;d=w[a+40|0]|w[a+41|0]<<8|(w[a+42|0]<<16|w[a+43|0]<<24);c=w[a+36|0]|w[a+37|0]<<8|(w[a+38|0]<<16|w[a+39|0]<<24);t[b+24|0]=c;t[b+25|0]=c>>>8;t[b+26|0]=c>>>16;t[b+27|0]=c>>>24;t[b+28|0]=d;t[b+29|0]=d>>>8;t[b+30|0]=d>>>16;t[b+31|0]=d>>>24;d=w[a+32|0]|w[a+33|0]<<8|(w[a+34|0]<<16|w[a+35|0]<<24);c=w[a+28|0]|w[a+29|0]<<8|(w[a+30|0]<<16|w[a+31|0]<<24);t[b+16|0]=c;t[b+17|0]=c>>>8;t[b+18|0]=c>>>16;t[b+19|0]=c>>>24;t[b+20|0]=d;t[b+21|0]=d>>>8;t[b+22|0]=d>>>16;t[b+23|0]=d>>>24;d=w[a+24|0]|w[a+25|0]<<8|(w[a+26|0]<<16|w[a+27|0]<<24);c=w[a+20|0]|w[a+21|0]<<8|(w[a+22|0]<<16|w[a+23|0]<<24);t[b+8|0]=c;t[b+9|0]=c>>>8;t[b+10|0]=c>>>16;t[b+11|0]=c>>>24;t[b+12|0]=d;t[b+13|0]=d>>>8;t[b+14|0]=d>>>16;t[b+15|0]=d>>>24;c=a;b=v[a+4>>2];d:{if(!b){f=0;a=0;break d}f=v[a+4>>2];a=(b+v[b>>2]|0)+(v[a+44>>2]<<2)|0}v[c+56>>2]=a}return f|0}function wW(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;if(!e){return 0}if(v[e>>2]<=0){if(d?!c|!w[c|0]:1){v[e>>2]=1;return 0}g=Qb-336|0;Qb=g;v[g+332>>2]=0;a:{b:{if(!a){break b}if(!mc(a,322458)){break b}if(!Oc(a,335714,9)){break b}if(!Oc(a,335730,8)){break b}h=1;k=0;break a}k=1}v[g+324>>2]=0;v[g+276>>2]=40;u[g+280>>1]=0;v[g+272>>2]=g+281;v[g+268>>2]=0;v[g+220>>2]=40;v[g+216>>2]=g+225;u[g+224>>1]=0;v[g+212>>2]=0;v[g+164>>2]=40;v[g+160>>2]=g+169;u[g+168>>1]=0;v[g+156>>2]=0;v[g+108>>2]=40;v[g+104>>2]=g+113;u[g+112>>1]=0;c:{d:{e:{f:{if(!a){v[299999]=0;a=ni(g+96|0,261771);f=v[299999];v[299999]=0;if((f|0)==1){break e}f=v[a+4>>2];h=v[a>>2];a=0;v[299999]=0;Z(2748,g+160|0,h|0,f|0,e|0)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break f}break e}f=Jm(a,47);i=af(a,47);v[299999]=0;j=a?w[a|0]==47:0;l=v[299999];v[299999]=0;if((l|0)==1){break e}if(!(!j&(f|0)==(i|0))){if(f){v[299999]=0;f=ni(g+88|0,f+1|0);h=v[299999];v[299999]=0;if((h|0)==1){break e}h=v[f+4>>2];f=v[f>>2];v[299999]=0;Z(2748,g+160|0,f|0,h|0,e|0)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break f}break e}v[299999]=0;f=ni(g+80|0,a);h=v[299999];v[299999]=0;if((h|0)==1){break e}h=v[f+4>>2];f=v[f>>2];v[299999]=0;Z(2748,g+160|0,f|0,h|0,e|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break e}break f}j=af(a,45);if(j){v[299999]=0;i=ni(g+72|0,j+1|0);l=v[299999];v[299999]=0;if((l|0)==1){break e}l=v[i+4>>2];i=v[i>>2];v[299999]=0;Z(2748,g+104|0,i|0,l|0,e|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break e}if(!h){v[299999]=0;f=ni(g- -64|0,261771);h=v[299999];v[299999]=0;if((h|0)==1){break e}h=v[f+4>>2];f=v[f>>2];v[299999]=0;Z(2748,g+160|0,f|0,h|0,e|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break e}break f}v[299999]=0;Z(2748,g+160|0,a|0,j-a|0,e|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break e}a=f?a:v[g+160>>2];break f}if(!h){v[299999]=0;f=ni(g+56|0,261771);h=v[299999];v[299999]=0;if((h|0)==1){break e}h=v[f+4>>2];f=v[f>>2];v[299999]=0;Z(2748,g+160|0,f|0,h|0,e|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break e}break f}v[299999]=0;f=ni(g+48|0,a);h=v[299999];v[299999]=0;if((h|0)==1){break e}h=v[f+4>>2];f=v[f>>2];v[299999]=0;Z(2748,g+160|0,f|0,h|0,e|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break e}}v[299999]=0;Z(2748,g+272|0,v[g+160>>2],v[g+212>>2],e|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break e}v[299999]=0;Z(2748,g+216|0,v[g+160>>2],v[g+212>>2],e|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break e}j=v[g+324>>2];if(v[g+156>>2]){v[299999]=0;f=Y(2746,g+272|0,47,e|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break e}v[299999]=0;Z(2748,f|0,v[g+104>>2],v[g+156>>2],e|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break e}v[299999]=0;f=Y(2746,g+216|0,47,e|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break e}v[299999]=0;Z(2748,f|0,v[g+104>>2],v[g+156>>2],e|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break e}}v[299999]=0;h=Y(2746,g+272|0,47,e|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break e}v[299999]=0;f=ni(g+40|0,c);i=v[299999];v[299999]=0;if((i|0)==1){break e}i=v[f+4>>2];f=v[f>>2];v[299999]=0;Z(2748,h|0,f|0,i|0,e|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break e}v[299999]=0;h=Y(2746,g+216|0,47,e|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break e}v[299999]=0;f=ni(g+32|0,c);i=v[299999];v[299999]=0;if((i|0)==1){break e}i=v[f+4>>2];f=v[f>>2];v[299999]=0;Z(2748,h|0,f|0,i|0,e|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break e}if(!(!b|!w[b|0])){v[299999]=0;f=ni(g+24|0,335712);h=v[299999];v[299999]=0;if((h|0)==1){break e}h=v[f+4>>2];f=v[f>>2];v[299999]=0;h=Z(2748,g+272|0,f|0,h|0,e|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break e}v[299999]=0;f=ni(g+16|0,b);i=v[299999];v[299999]=0;if((i|0)==1){break e}i=v[f+4>>2];f=v[f>>2];v[299999]=0;Z(2748,h|0,f|0,i|0,e|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break e}v[299999]=0;f=ni(g+8|0,335712);h=v[299999];v[299999]=0;if((h|0)==1){break e}h=v[f+4>>2];f=v[f>>2];v[299999]=0;h=Z(2748,g+216|0,f|0,h|0,e|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break e}v[299999]=0;f=ni(g,b);i=v[299999];v[299999]=0;if((i|0)==1){break e}i=v[f+4>>2];f=v[f>>2];v[299999]=0;Z(2748,h|0,f|0,i|0,e|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break e}}v[299999]=0;f=v[g+216>>2];h=ga(2745)|0;i=v[299999];v[299999]=0;if((i|0)==1){break e}j=f+j|0;g:{h:{if(!k){break h}if(mc(b,236597)){break h}i:{if(!mc(c,325878)){break i}if(!mc(c,236616)){break i}if(!mc(c,236630)){break i}if(mc(c,236643)){break h}}v[299999]=0;f=S(2752,e|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break e}if(!w[f|0]){break h}v[299999]=0;f=Sa(2753,358460,f|0,j|0,358460,b|0,c|0,d|0,0,g+332|0,e|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break e}if(f){break g}f=0;if(v[e>>2]>=1){break g}}f=v[294102];if((f|0)==2){v[299999]=0;V(2754,k|0,g+332|0);f=v[299999];v[299999]=0;if((f|0)==1){break e}f=0;if(v[e>>2]>0){break g}f=v[294102]}j:{if(f&-3){break j}k:{if(h){if(!(!w[h|0]&k)){break k}break j}if(k){break j}}v[299999]=0;f=Sa(2753,v[g+160>>2],h|0,j|0,(a?a:261771)|0,b|0,c|0,d|0,0,g+332|0,e|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break e}if(f){break g}f=0;if(v[e>>2]>0){break g}f=v[294102]}if(f>>>0<=1){f=0;v[299999]=0;V(2754,k|0,g+332|0);a=v[299999];v[299999]=0;if((a|0)==1){break e}if(v[e>>2]>0){break g}f=v[294102]}l:{if((f|0)==3){f=0;v[299999]=0;V(2754,k|0,g+332|0);a=v[299999];v[299999]=0;if((a|0)==1){break e}if(v[e>>2]<1){break l}break g}f=0;if(v[e>>2]>0){break g}}a=v[g+332>>2];v[e>>2]=(a|0)>0?a:4}if(w[g+112|0]){v[299999]=0;R(2744,v[g+104>>2]);a=v[299999];v[299999]=0;if((a|0)==1){break d}}if(w[g+168|0]){v[299999]=0;R(2744,v[g+160>>2]);a=v[299999];v[299999]=0;if((a|0)==1){break d}}if(w[g+224|0]){v[299999]=0;R(2744,v[g+216>>2]);a=v[299999];v[299999]=0;if((a|0)==1){break d}}m:{if(w[g+280|0]){v[299999]=0;R(2744,v[g+272>>2]);a=v[299999];v[299999]=0;if((a|0)==1){break m}}Qb=g+336|0;break c}break d}a=P()|0;O()|0;bn(g+104|0);bn(g+160|0);bn(g+216|0);bn(g+272|0);T(a|0);L()}W(0)|0;O()|0;lc();L()}}return f}function nQ(a){a=a|0;var 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,u=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;j=Qb-544|0;Qb=j;f=v[a+24>>2];v[j+540>>2]=f-1;c=Qb-32|0;Qb=c;b=j+272|0;v[b+4>>2]=v[a+36>>2];v[b>>2]=f;i=Bg(b+12|0,b+8|0,f,4);v[299999]=0;f=Z(4407,b+24|0,b+20|0,f+1|0,4)|0;e=v[299999];v[299999]=0;a:{b:{if((e|0)!=1){e=v[b>>2];if(e-1>>>0>=16777215){v[299999]=0;b=aa(4369,c+8|0,291708,241690,167,338261,0)|0;a=v[299999];v[299999]=0;c:{if((a|0)!=1){v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break c}L()}a=P()|0;O()|0;Lc(f);break b}a=P()|0;O()|0;qc(b);Lc(f);break b}v[v[b+20>>2]+(e<<2)>>2]=-1;Qb=c+32|0;break a}a=P()|0;O()|0}Lc(i);T(a|0);L()}v[299999]=0;V(4422,b|0,j+540|0);f=v[299999];v[299999]=0;if((f|0)!=1){Lc(b+24|0);Lc(b+12|0);b=v[a+24>>2];d=v[a+48>>2];c=1;while(1){f=(v[d+20>>2]>>>1|0)+32768|0;b=b<<1&33554430;i=b>>>24|0;d:{if(b>>>0>=16777216){ut(d,f);break d}hr(d,f)}c=i|c<<1;if((c|0)<16777216){continue}break}f=v[a+24>>2];e:{if((f|0)<=99999){hr(d,(v[d+20>>2]>>>1|0)+32768|0);break e}x=1;ut(d,(v[d+20>>2]>>>1|0)+32768|0);b=(v[d+20>>2]>>>1|0)+32768|0;if((f|0)<=999999){hr(d,b);break e}ut(d,b);x=2}c=0;b=0;while(1){f=j+272|0;t[f+b|0]=b;i=b|1;t[i+f|0]=i;i=b|2;t[i+f|0]=i;i=b|3;t[i+f|0]=i;i=b|4;t[i+f|0]=i;i=b|5;t[i+f|0]=i;i=b|6;t[i+f|0]=i;e=f;f=b|7;t[e+f|0]=f;b=b+8|0;if((b|0)!=256){continue}break}while(1){f=j+16|0;b=j+272|0;t[f+w[b+c|0]|0]=c;i=c|1;t[f+w[i+b|0]|0]=i;i=c|2;t[f+w[i+b|0]|0]=i;e=b;b=c|3;t[f+w[e+b|0]|0]=b;c=c+4|0;if((c|0)!=256){continue}break}v[j+8>>2]=0;v[j+12>>2]=0;v[j>>2]=0;v[j+4>>2]=0;if(v[a+24>>2]>=1){m=a+184|0;n=a+120|0;o=a+88|0;p=a+72|0;q=a- -64|0;r=a+60|0;s=a+58|0;F=a+55|0;i=4;b=3;G=v[j+540>>2];while(1){e=b>>>0<2?b:2;c=(e+a|0)+52|0;h=w[c|0];b=v[((h<<2)+d|0)+44>>2]+v[d+20>>2]|0;y=w[v[a+36>>2]+u|0];z=y+(j+16|0)|0;f=(u|0)==(G|0)?256:w[z|0];f:{if(!(!f^!(h&1))){Yg(d,c,b);break f}if(b>>>0>=32768){Zg(d,c,b);break f}v[d+20>>2]=b}g:{h:{if(!f){break h}c=e+F|0;e=w[c|0];b=v[((e<<2)+d|0)+44>>2]+v[d+20>>2]|0;k=!(e&1);e=(f|0)==1;i:{if(!(k^e)){Yg(d,c,b);break i}if(b>>>0>=32768){Zg(d,c,b);break i}v[d+20>>2]=b}if(e){break h}c=w[s|0];b=v[((c<<2)+d|0)+44>>2]+v[d+20>>2]|0;j:{if(!(!(c&1)^f>>>0<4)){Yg(d,s,b);break j}if(b>>>0>=32768){Zg(d,s,b);break j}v[d+20>>2]=b}if(f>>>0<=3){c=f-2|0;b=1;while(1){h=b+s|0;g=w[h|0];e=v[((g<<2)+d|0)+44>>2]+v[d+20>>2]|0;k=g&1;c=c<<1&2;g=c>>>1|0;k:{if((k|0)!=(g|0)){Yg(d,h,e);break k}if(e>>>0>=32768){Zg(d,h,e);break k}v[d+20>>2]=e}b=g|b<<1;if((b|0)<2){continue}break}break h}c=w[r|0];b=v[((c<<2)+d|0)+44>>2]+v[d+20>>2]|0;l:{if(!(!(c&1)^f>>>0<8)){Yg(d,r,b);break l}if(b>>>0>=32768){Zg(d,r,b);break l}v[d+20>>2]=b}if(f>>>0<=7){c=f-4|0;b=1;while(1){h=b+r|0;g=w[h|0];e=v[((g<<2)+d|0)+44>>2]+v[d+20>>2]|0;k=g&1;c=c<<1&6;g=c>>>2|0;m:{if((k|0)!=(g|0)){Yg(d,h,e);break m}if(e>>>0>=32768){Zg(d,h,e);break m}v[d+20>>2]=e}b=g|b<<1;if((b|0)<4){continue}break}break h}c=w[q|0];b=v[((c<<2)+d|0)+44>>2]+v[d+20>>2]|0;n:{if(!(!(c&1)^f>>>0<16)){Yg(d,q,b);break n}if(b>>>0>=32768){Zg(d,q,b);break n}v[d+20>>2]=b}if(f>>>0<=15){c=f-8|0;b=1;while(1){h=b+q|0;g=w[h|0];e=v[((g<<2)+d|0)+44>>2]+v[d+20>>2]|0;k=g&1;c=c<<1&14;g=c>>>3|0;o:{if((k|0)!=(g|0)){Yg(d,h,e);break o}if(e>>>0>=32768){Zg(d,h,e);break o}v[d+20>>2]=e}b=g|b<<1;if((b|0)<8){continue}break}break h}c=w[p|0];b=v[((c<<2)+d|0)+44>>2]+v[d+20>>2]|0;p:{if(!(!(c&1)^f>>>0<32)){Yg(d,p,b);break p}if(b>>>0>=32768){Zg(d,p,b);break p}v[d+20>>2]=b}if(f>>>0<=31){c=f-16|0;b=1;while(1){h=b+p|0;g=w[h|0];e=v[((g<<2)+d|0)+44>>2]+v[d+20>>2]|0;k=g&1;c=c<<1&30;g=c>>>4|0;q:{if((k|0)!=(g|0)){Yg(d,h,e);break q}if(e>>>0>=32768){Zg(d,h,e);break q}v[d+20>>2]=e}b=g|b<<1;if((b|0)<16){continue}break}break h}c=w[o|0];b=v[((c<<2)+d|0)+44>>2]+v[d+20>>2]|0;r:{if(!(!(c&1)^f>>>0<64)){Yg(d,o,b);break r}if(b>>>0>=32768){Zg(d,o,b);break r}v[d+20>>2]=b}if(f>>>0<=63){c=f-32|0;b=1;while(1){h=b+o|0;g=w[h|0];e=v[((g<<2)+d|0)+44>>2]+v[d+20>>2]|0;k=g&1;c=c<<1&62;g=c>>>5|0;s:{if((k|0)!=(g|0)){Yg(d,h,e);break s}if(e>>>0>=32768){Zg(d,h,e);break s}v[d+20>>2]=e}b=g|b<<1;if((b|0)<32){continue}break}break h}c=w[n|0];b=v[((c<<2)+d|0)+44>>2]+v[d+20>>2]|0;t:{if(!(!(c&1)^f>>>0<128)){Yg(d,n,b);break t}if(b>>>0>=32768){Zg(d,n,b);break t}v[d+20>>2]=b}if(f>>>0<=127){c=f+-64|0;b=1;while(1){h=b+n|0;g=w[h|0];e=v[((g<<2)+d|0)+44>>2]+v[d+20>>2]|0;k=g&1;c=c<<1&126;g=c>>>6|0;u:{if((k|0)!=(g|0)){Yg(d,h,e);break u}if(e>>>0>=32768){Zg(d,h,e);break u}v[d+20>>2]=e}b=g|b<<1;if((b|0)<64){continue}break}break h}c=w[m|0];b=v[((c<<2)+d|0)+44>>2]+v[d+20>>2]|0;v:{if(!(!(c&1)^f>>>0<256)){Yg(d,m,b);break v}if(b>>>0>=32768){Zg(d,m,b);break v}v[d+20>>2]=b}if(f>>>0>255){break g}c=f-128|0;b=1;while(1){h=b+m|0;g=w[h|0];e=v[((g<<2)+d|0)+44>>2]+v[d+20>>2]|0;k=g&1;c=c<<1&254;g=c>>>7|0;w:{if((k|0)!=(g|0)){Yg(d,h,e);break w}if(e>>>0>=32768){Zg(d,h,e);break w}v[d+20>>2]=e}b=g|b<<1;if((b|0)<128){continue}break}}i=(i>>x)+i|0;if((i|0)>=268435457){v[j>>2]=w[j+3|0];v[j+4>>2]=w[j+7|0];v[j+8>>2]=w[j+11|0];v[j+12>>2]=w[j+15|0];i=i>>>24|0}x:{y:{z:{if(f>>>0>=4){b=f;c=b+1&3;if(c){while(1){g=j+272|0;e=b-1|0;h=w[g+e|0];t[b+g|0]=h;t[h+(j+16|0)|0]=b;b=e;c=c-1|0;if(c){continue}break}}c=3;if(f-4>>>0>=3){while(1){g=b-1|0;e=j+272|0;l=g+e|0;A=w[l|0];h=j+16|0;t[A+h|0]=b;B=b-2|0;C=e+B|0;D=w[C|0];t[h+D|0]=g;g=b-3|0;E=e+g|0;k=w[E|0];t[h+k|0]=B;t[b+e|0]=A;t[C|0]=k;t[l|0]=D;k=e;e=b-4|0;l=w[k+e|0];t[E|0]=l;t[h+l|0]=g;h=(b|0)>7;b=e;if(h){continue}break}}b=i;break z}b=v[(f<<2)+j>>2]+i|0;if(!f){break y}c=f}while(1){e=c-1|0;h=v[(e<<2)+j>>2];if(h>>>0>b>>>0){break x}v[(c<<2)+j>>2]=h;g=j+272|0;h=w[g+e|0];t[c+g|0]=h;t[h+(j+16|0)|0]=c;h=(c|0)>1;c=e;if(h){continue}break}}c=0}t[(j+272|0)+c|0]=y;v[(c<<2)+j>>2]=b;t[z|0]=c}b=f;u=u+1|0;if((u|0)>2]){continue}break}}Qb=j+544|0;return 0}a=P()|0;O()|0;Lc(b+24|0);Lc(b+12|0);T(a|0);L()}function uga(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=C(0),m=C(0),n=0;h=Qb+-64|0;Qb=h;a:{b:{c:{if(!(v[c>>2]|v[c+4>>2]|z[c+8>>2]!=C(0))){b=vc(h+40|0,328883,242222,1683,343364,0);v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}a=P()|0;O()|0;qc(b);break c}g=v[a+12>>2];if(!g){b=vc(h+40|0,328563,242222,1685,343364,0);v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}a=P()|0;O()|0;qc(b);break c}d:{if(v[a+56>>2]){break d}v[a+32>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;d=fc(540);v[299999]=0;Xw(d,g);j=v[299999];v[299999]=0;e:{f:{g:{if((j|0)!=1){v[d>>2]=990996;j=v[g+8>>2];g=v[g+4>>2];v[299999]=0;Y(5248,d+508|0,g|0,j|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){a=P()|0;O()|0;dc(d);break c}v[a+56>>2]=d;if(!v[a+20>>2]){break d}g=v[a+16>>2];if(!g){break d}d=fc(540);v[299999]=0;Xw(d,g);j=v[299999];v[299999]=0;if((j|0)==1){break g}v[d>>2]=990996;j=v[g+8>>2];g=v[g+4>>2];v[299999]=0;Y(5248,d+508|0,g|0,j|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){a=P()|0;O()|0;dc(d);break c}v[a+60>>2]=d;d=fc(540);g=v[a+20>>2];v[299999]=0;Xw(d,g);j=v[299999];v[299999]=0;if((j|0)==1){break f}v[d>>2]=990996;j=v[g+8>>2];g=v[g+4>>2];v[299999]=0;Y(5248,d+508|0,g|0,j|0)|0;g=v[299999];v[299999]=0;if((g|0)!=1){break e}a=P()|0;O()|0;dc(d);break c}a=P()|0;O()|0;dc(d);break c}a=P()|0;O()|0;dc(d);break c}a=P()|0;O()|0;dc(d);break c}v[a+64>>2]=d}d=v[a+32>>2];v[a+32>>2]=d+2;if(!v[a+28>>2]){v[a+32>>2]=d+9}Qm(h+40|0);d=0;h:{i:{j:{g=v[h+40>>2];if(g){v[299999]=0;v[g+4>>2]=v[g+4>>2]+1;d=v[299999];v[299999]=0;if((d|0)==1){break j}d=v[h+40>>2]}v[299999]=0;v[h+24>>2]=d;$(4408,h+32|0,h+24|0,1,1);d=v[299999];v[299999]=0;k:{l:{if((d|0)!=1){d=v[h+24>>2];j=0;v[h+24>>2]=0;m:{if(!d){break m}v[299999]=0;e=v[d+4>>2]-1|0;v[d+4>>2]=e;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(e){break m}v[299999]=0;R(4338,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break a}}m=C(-1);e=v[h+32>>2];n:{o:{l=z[c+8>>2];if(!(l>C(0))){d=1;break o}d=1;if(!(l<=C(-1))){break o}break n}while(1){if(v[c+4>>2]>=1){f=v[v[g>>2]+16>>2];v[299999]=0;f=S(f|0,g|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break l}if(v[c+4>>2]<=(f+v[a+32>>2]|0)){break n}}f=v[c>>2];if((f|0)>=1&(f|0)<=(v[a+24>>2]+j|0)){break n}d=v[a+56>>2];f=v[v[d>>2]+8>>2];v[299999]=0;d=Q(f|0,d|0,e|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break l}p:{if(!d){break p}l=z[c+8>>2];if(!(l>C(0))){break p}f=v[a+56>>2];if(+m>=+l+-5?0:v[f+8>>2]){break p}m=z[a+8>>2];v[299999]=0;m=C(qb(5253,f|0,C(m)));f=v[299999];v[299999]=0;if((f|0)==1){break l}}q:{if(!v[a+64>>2]){break q}f=v[a+60>>2];if(!f|v[a+36>>2]>(v[a+24>>2]+j|0)){break q}i=v[v[f>>2]+8>>2];v[299999]=0;f=Q(i|0,f|0,e|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break l}i=v[a+64>>2];k=v[v[i>>2]+8>>2];v[299999]=0;i=Q(k|0,i|0,e|0)|0;k=v[299999];v[299999]=0;if((k|0)==1){break l}d=i|(d|f)}j=j+1|0;if(d){l=z[c+8>>2];if(!(l>C(0))){continue}if(m>=l){break n}continue}break}d=0}e=v[h+32>>2];c=0;v[h+32>>2]=0;if(!e){break k}v[299999]=0;f=v[e+4>>2]-1|0;v[e+4>>2]=f;i=v[299999];v[299999]=0;if((i|0)!=1){if(f){break k}v[299999]=0;R(4338,e|0);e=v[299999];v[299999]=0;if((e|0)!=1){break k}}break a}a=P()|0;O()|0;ec(h+24|0);break h}a=P()|0;O()|0;ec(h+32|0);break h}f=w[a+28|0];e=v[b>>2];if(e){v[299999]=0;v[e+4>>2]=v[e+4>>2]+1;c=v[299999];v[299999]=0;if((c|0)==1){break i}c=v[b>>2]}v[299999]=0;v[h+16>>2]=c;V(4559,c|0,f|0);e=v[299999];v[299999]=0;r:{s:{t:{u:{v:{w:{if((e|0)==1){break w}v[299999]=0;V(4559,c|0,j&255);e=v[299999];v[299999]=0;if((e|0)==1){break w}v[299999]=0;v[h+16>>2]=0;e=v[c+4>>2]-1|0;v[c+4>>2]=e;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(!e){v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}if(v[a+28>>2]){break r}f=v[a+16>>2];i=v[a+20>>2];c=0;e=v[b>>2];if(e){v[299999]=0;v[e+4>>2]=v[e+4>>2]+1;c=v[299999];v[299999]=0;if((c|0)==1){break v}c=v[b>>2]}v[299999]=0;v[h+8>>2]=c;V(4559,c|0,(!i|!f?129:1)|0);e=v[299999];v[299999]=0;if((e|0)==1){break u}v[299999]=0;V(4559,c|0,2);e=v[299999];v[299999]=0;if((e|0)==1){break u}v[299999]=0;v[h+8>>2]=0;e=v[c+4>>2]-1|0;v[c+4>>2]=e;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(!e){v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}e=v[a+36>>2];n=v[a+40>>2];c=v[a+12>>2];f=v[c+8>>2];i=v[c+4>>2];c=0;k=v[b>>2];if(k){v[299999]=0;v[k+4>>2]=v[k+4>>2]+1;c=v[299999];v[299999]=0;if((c|0)==1){break t}c=v[b>>2]}v[299999]=0;v[h>>2]=c;V(4559,c|0,i>>>8&255);k=v[299999];v[299999]=0;if((k|0)==1){break s}v[299999]=0;V(4559,c|0,i&255);i=v[299999];v[299999]=0;if((i|0)==1){break s}v[299999]=0;V(4559,c|0,f>>>8&255);i=v[299999];v[299999]=0;if((i|0)==1){break s}v[299999]=0;V(4559,c|0,f&255);f=v[299999];v[299999]=0;if((f|0)==1){break s}v[299999]=0;V(4559,c|0,((e|0)>0?e:0)&255|!n<<7);e=v[299999];v[299999]=0;if((e|0)==1){break s}v[299999]=0;v[h>>2]=0;e=v[c+4>>2]-1|0;v[c+4>>2]=e;f=v[299999];v[299999]=0;if((f|0)!=1){if(e){break r}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)!=1){break r}}break a}a=P()|0;O()|0;ec(h+16|0);break h}a=P()|0;O()|0;break h}a=P()|0;O()|0;ec(h+8|0);break h}a=P()|0;O()|0;break h}a=P()|0;O()|0;ec(h);break h}c=v[v[g>>2]+20>>2];v[299999]=0;Z(c|0,g|0,0,0,0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break i}b=v[b>>2];v[299999]=0;Y(4604,b|0,g|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break i}b=v[v[g>>2]+16>>2];v[299999]=0;b=S(b|0,g|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break i}v[a+32>>2]=b+v[a+32>>2];v[a+24>>2]=v[a+24>>2]+j;v[a+28>>2]=v[a+28>>2]+1;a=v[h+40>>2];v[h+40>>2]=0;x:{if(!a){break x}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break x}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Qb=h- -64|0;return d|0}a=P()|0;O()|0;break h}a=P()|0;O()|0}ec(h+40|0)}T(a|0)}L()}W(0)|0;O()|0;lc();L()}function hE(a){var b=0,c=0,d=0,e=0,f=0,g=0;g=Qb-16|0;Qb=g;e=a;c=v[a+56>>2];a:{b:{if(!v[a+28>>2]){c:{d:{e:{if((c|0)<2){while(1){b=v[a+4>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){c=v[e+56>>2];b=1;if(!c){break a}d=v[a+52>>2];b=d<<2-c;break d}d=b+(v[a+52>>2]<<8)|0;v[a+52>>2]=d;b=v[e+56>>2];c=b+8|0;v[e+56>>2]=c;if((b|0)<-6){continue}break e}}d=v[a+52>>2]}b=d>>>c-2|0}if(b&2){a=b<<4&48;d=-2;break c}f:{g:{if((c|0)<3){while(1){b=v[a+4>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break g}d=b+(v[a+52>>2]<<8)|0;v[a+52>>2]=d;b=v[e+56>>2];c=b+8|0;v[e+56>>2]=c;if((b|0)<-5){continue}break}}b=d>>>c-3|0;break f}c=v[e+56>>2];b=1;if(!c){break a}d=v[a+52>>2];b=d<<3-c}if((b&6)==2){a=b<<3&56;d=-3;break c}h:{i:{if((c|0)<=3){while(1){b=v[a+4>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break i}d=b+(v[a+52>>2]<<8)|0;v[a+52>>2]=d;b=v[e+56>>2];c=b+8|0;v[e+56>>2]=c;if((b|0)<-4){continue}break}}b=d>>>c-4|0;break h}c=v[e+56>>2];b=1;if(!c){break a}d=v[a+52>>2];b=d<<4-c}if((b&14)==2){a=b<<2&60;d=-4;break c}j:{k:{if((c|0)<=4){while(1){b=v[a+4>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break k}d=b+(v[a+52>>2]<<8)|0;v[a+52>>2]=d;b=v[e+56>>2];c=b+8|0;v[e+56>>2]=c;if((b|0)<-3){continue}break}}b=d>>>c-5|0;break j}c=v[e+56>>2];b=1;if(!c){break a}d=v[a+52>>2];b=d<<5-c}if((b&31)==3){d=-5;a=6;break c}l:{m:{if((c|0)<=5){while(1){b=v[a+4>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break m}d=b+(v[a+52>>2]<<8)|0;v[a+52>>2]=d;b=v[e+56>>2];c=b+8|0;v[e+56>>2]=c;if((b|0)<-2){continue}break}}b=d>>>c-6|0;break l}c=v[e+56>>2];b=1;if(!c){break a}d=v[a+52>>2];b=d<<6-c}if((b&62)==4){a=b&63;d=-6;break c}n:{o:{if((c|0)<7){while(1){b=v[a+4>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){c=v[e+56>>2];b=1;if(!c){break a}d=v[a+52>>2];b=d<<7-c;break o}d=b+(v[a+52>>2]<<8)|0;v[a+52>>2]=d;b=v[e+56>>2];c=b+8|0;v[e+56>>2]=c;if((b|0)<-1){continue}break}}b=d>>>c-7|0}b=b<<5&4064;if(b>>>0>=64){f=-7;b=b+-64|0;if(x[(b<<2)+966304>>1]==7){break n}}p:{q:{if((c|0)<8){while(1){b=v[a+4>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break q}d=b+(v[a+52>>2]<<8)|0;v[a+52>>2]=d;b=v[e+56>>2];c=b+8|0;v[e+56>>2]=c;if((b|0)<0){continue}break}}b=d>>>c-8|0;break p}c=v[e+56>>2];b=1;if(!c){break a}d=v[a+52>>2];b=d<<8-c}b=b<<4&4080;if(b>>>0>=64){f=-8;b=b+-64|0;if(x[(b<<2)+966304>>1]==8){break n}}r:{s:{if((c|0)<=8){while(1){b=v[a+4>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break s}d=b+(v[a+52>>2]<<8)|0;v[a+52>>2]=d;b=v[e+56>>2];c=b+8|0;v[e+56>>2]=c;if((b|0)<1){continue}break}}b=d>>>c-9|0;break r}c=v[e+56>>2];b=1;if(!c){break a}d=v[a+52>>2];b=d<<9-c}b=b<<3&4088;if(!(b>>>0<64|(b|0)!=192)){b=b+-64|0;f=-9;break n}t:{u:{if((c|0)<=9){while(1){b=v[a+4>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break u}d=b+(v[a+52>>2]<<8)|0;v[a+52>>2]=d;b=v[e+56>>2];c=b+8|0;v[e+56>>2]=c;if((b|0)<2){continue}break}}b=d>>>c-10|0;break t}c=v[e+56>>2];b=1;if(!c){break a}d=v[a+52>>2];b=d<<10-c}b=b<<2&4092;if(b>>>0>=64){f=-10;b=b+-64|0;if(x[(b<<2)+966304>>1]==10){break n}}v:{w:{if((c|0)<=10){while(1){b=v[a+4>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break w}d=b+(v[a+52>>2]<<8)|0;v[a+52>>2]=d;b=v[e+56>>2];c=b+8|0;v[e+56>>2]=c;if((b|0)<3){continue}break}}b=d>>>c-11|0;break v}c=v[e+56>>2];b=1;if(!c){break a}d=v[a+52>>2];b=d<<11-c}b=b<<1&4094;if(b>>>0>=64){f=-11;b=b+-64|0;if(x[(b<<2)+966304>>1]==11){break n}}x:{y:{if((c|0)<=11){while(1){b=v[a+4>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break y}d=b+(v[a+52>>2]<<8)|0;v[a+52>>2]=d;b=v[e+56>>2];c=b+8|0;v[e+56>>2]=c;if((b|0)<4){continue}break}}b=d>>>c-12|0;break x}c=v[e+56>>2];b=1;if(!c){break a}d=v[a+52>>2];b=d<<12-c}b=b&4095;if(b>>>0>=64){f=-12;b=b+-64|0;if(x[(b<<2)+966304>>1]==12){break n}}z:{if((c|0)<10){while(1){b=v[a+4>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){c=v[e+56>>2];b=1;if(!c){break a}d=v[a+52>>2];f=d<<10-c;break z}d=b+(v[a+52>>2]<<8)|0;v[a+52>>2]=d;b=v[e+56>>2];c=b+8|0;v[e+56>>2]=c;if((b|0)<2){continue}break}}f=d>>>c-10|0}b=-10;f=f<<3&8184;A:{if(x[(f<<2)+965792>>1]==10){break A}B:{C:{if((c|0)<11){while(1){b=v[a+4>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break C}d=b+(v[a+52>>2]<<8)|0;v[a+52>>2]=d;b=v[e+56>>2];c=b+8|0;v[e+56>>2]=c;if((b|0)<3){continue}break}}f=d>>>c-11|0;break B}c=v[e+56>>2];b=1;if(!c){break a}d=v[a+52>>2];f=d<<11-c}b=-11;f=f<<2&8188;if(x[(f<<2)+965792>>1]==11){break A}D:{E:{if((c|0)<=11){while(1){b=v[a+4>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break E}d=b+(v[a+52>>2]<<8)|0;v[a+52>>2]=d;b=v[e+56>>2];c=b+8|0;v[e+56>>2]=c;if((b|0)<4){continue}break}}f=d>>>c-12|0;break D}c=v[e+56>>2];b=1;if(!c){break a}d=v[a+52>>2];f=d<<12-c}b=-12;f=f<<1&8190;if(x[(f<<2)+965792>>1]==12){break A}F:{G:{if((c|0)<=12){while(1){b=v[a+4>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break G}d=b+(v[a+52>>2]<<8)|0;v[a+52>>2]=d;b=v[e+56>>2];c=b+8|0;v[e+56>>2]=c;if((b|0)<5){continue}break}}d=d>>>c-13|0;break F}c=v[e+56>>2];b=1;if(!c){break a}d=v[a+52>>2]<<13-c}b=-13;f=d&8191;if(x[(f<<2)+965792>>1]!=13){break b}}a=b+c|0;v[e+56>>2]=(a|0)>0?a:0;b=u[(f<<2)+965794>>1];break a}a=c+f|0;v[e+56>>2]=(a|0)>0?a:0;b=u[(b<<2)+966306>>1];break a}b=e;e=c+d|0;v[b+56>>2]=(e|0)>0?e:0;b=u[(a<<2)+967074>>1];break a}H:{I:{if((c|0)<13){while(1){b=v[a+4>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){c=v[e+56>>2];b=1;if(!c){break a}b=v[a+52>>2]<<13-c;break H}f=b+(v[a+52>>2]<<8)|0;v[a+52>>2]=f;b=v[e+56>>2];c=b+8|0;v[e+56>>2]=c;if((b|0)<5){continue}break I}}f=v[a+52>>2]}b=f>>>c-13|0}f=b&8191;J:{if(f>>>0<=127){b=(f<<2)+965792|0;break J}b=(f<<1&16380)+966048|0;if(f>>>0<=511){break J}b=(f>>>7<<2)+967072|0}d=u[b>>1];if((d|0)<=0){break b}a=c-(d&65535)|0;v[e+56>>2]=(a|0)>0?a:0;b=u[b+2>>1];break a}e=Ub[v[v[a>>2]+52>>2]](a)|0;v[g>>2]=f;kc(1,e,256295,g);v[a+80>>2]=v[a+80>>2]+1;b=a;a=v[a+56>>2];v[b+56>>2]=((a|0)>1?a:1)-1;b=1}Qb=g+16|0;return b<<16>>16}function FX(a,b,c){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,p=0,q=0;k=Qb-16|0;Qb=k;v[c>>2]=2147483632;v[c+16>>2]=v[c+8>>2];h=v[c+20>>2];v[c+28>>2]=h;u[h+2>>1]=0;e=v[b+20>>2];j=v[b+28>>2]-e|0;f=268435454;d=268435455;i=268435455;h=268435454;l=v[a+20>>2];a=v[a+28>>2]-l|0;if(a){v[k+4>>2]=l+8;p=(a>>3)-1|0;a=u[l+10>>1];b=a>>31;i=u[l+8>>1];h=(i+((b^a+b)&65535)|0)-1|0}if(j){v[k>>2]=e+8;q=(j>>3)-1|0;a=u[e+10>>1];b=a>>31;d=u[e+8>>1];f=(d+((b^a+b)&65535)|0)-1|0}while(1){a:{if(!p){b=i;p=0;break a}if((i|0)<=(h|0)){b=i;break a}b=v[k+4>>2];v[k+4>>2]=b+8;p=p-1|0;a=u[b+10>>1];h=a>>31;b=u[b+8>>1];h=(b+((h^a+h)&65535)|0)-1|0}l=h;b:{c:{d:{if(!q){q=0;break d}if((d|0)>(f|0)){break c}}a=d;break b}a=v[k>>2];v[k>>2]=a+8;q=q-1|0;h=u[a+10>>1];f=h>>31;a=u[a+8>>1];f=(a+((f^f+h)&65535)|0)-1|0}j=f;if(!((f|0)<(a|0)&(b|0)>(l|0))){m=(j|0)<(l|0);i=(a|0)>(b|0)?a:b;h=(m?j:l)-i|0;if((h|0)>=0){h=h+1|0;e:{f:{g:{if((a|0)>(b|0)){g=a-b|0;d=v[k+4>>2];f=u[d+2>>1];if((f|0)<=-1){e=w[v[d+4>>2]];h:{if((v[c>>2]+1|0)!=(b|0)){break h}d=v[c+28>>2];f=u[d+2>>1];if((f|0)>-1|(e|0)!=w[v[d+4>>2]]){break h}u[d+2>>1]=f-g;b=a;break g}t[v[c+16>>2]]=e;d=v[c+28>>2];v[c+28>>2]=d+8;f=v[c+16>>2];v[c+16>>2]=f+1;u[d+10>>1]=0-g;u[d+8>>1]=b;v[d+12>>2]=f;b=a;break g}if(!f){b=a;break e}f=u[d>>1];gc(v[c+16>>2],v[d+4>>2]+((b|0)>(f|0)?b-f|0:0)|0,g);d=v[c+28>>2];i:{j:{if((v[c>>2]+1|0)!=(b|0)){break j}f=u[d+2>>1];if((f|0)<1){break j}u[d+2>>1]=f+g;f=v[c+16>>2];break i}v[c+28>>2]=d+8;f=v[c+16>>2];u[d+10>>1]=g;u[d+8>>1]=b;v[d+12>>2]=f}v[c+16>>2]=f+g;b=a;break g}if((a|0)>=(b|0)){break e}g=b-a|0;d=v[k>>2];f=u[d+2>>1];if((f|0)<=-1){e=w[v[d+4>>2]];k:{if((v[c>>2]+1|0)!=(a|0)){break k}d=v[c+28>>2];f=u[d+2>>1];if((f|0)>-1|(e|0)!=w[v[d+4>>2]]){break k}u[d+2>>1]=f-g;break g}t[v[c+16>>2]]=e;d=v[c+28>>2];v[c+28>>2]=d+8;f=v[c+16>>2];v[c+16>>2]=f+1;u[d+10>>1]=0-g;u[d+8>>1]=a;v[d+12>>2]=f;break g}if(!f){break f}f=u[d>>1];gc(v[c+16>>2],v[d+4>>2]+((a|0)>(f|0)?a-f|0:0)|0,g);d=v[c+28>>2];l:{m:{if((v[c>>2]+1|0)!=(a|0)){break m}f=u[d+2>>1];if((f|0)<1){break m}u[d+2>>1]=f+g;f=v[c+16>>2];break l}v[c+28>>2]=d+8;f=v[c+16>>2];u[d+10>>1]=g;u[d+8>>1]=a;v[d+12>>2]=f}v[c+16>>2]=f+g}v[c>>2]=b-1}a=b}f=h;n:{o:{p:{q:{r:{n=v[k>>2];d=v[k+4>>2];switch((x[n+2>>1]>>>14&2|x[d+2>>1]>>>15)-1|0){case 2:break o;case 1:break p;case 0:break q;default:break r}}e=u[n>>1];o=v[n+4>>2]+((e|0)<(i|0)?i-e|0:0)|0;e=v[d+4>>2];d=u[d>>1];n=e+((d|0)<(i|0)?i-d|0:0)|0;while(1){g=w[o|0];e=w[n|0];d=B(g,e);s:{if((d|0)==65025){break s}d=d+65025|0;d=255-(B(d-(g<<8)>>>8|0,d-(e<<8)>>>8|0)>>>8|0)|0;if(!d){break s}t[v[c+16>>2]]=d;e=v[c+28>>2];t:{u:{if((v[c>>2]+1|0)!=(i|0)){break u}d=u[e+2>>1];if((d|0)<1){break u}u[e+2>>1]=d+1;d=v[c+16>>2];break t}v[c+28>>2]=e+8;d=v[c+16>>2];u[e+10>>1]=1;u[e+8>>1]=i;v[e+12>>2]=d}v[c>>2]=i;v[c+16>>2]=d+1}o=o+1|0;n=n+1|0;i=i+1|0;f=f-1|0;if(f){continue}break}break n}e=u[n>>1];o=v[n+4>>2]+((e|0)<(i|0)?i-e|0:0)|0;while(1){g=w[o|0];e=w[v[d+4>>2]];d=B(g,e);v:{if((d|0)==65025){break v}d=d+65025|0;d=255-(B(d-(g<<8)>>>8|0,d-(e<<8)>>>8|0)>>>8|0)|0;if(!d){break v}t[v[c+16>>2]]=d;e=v[c+28>>2];w:{x:{if((v[c>>2]+1|0)!=(i|0)){break x}d=u[e+2>>1];if((d|0)<1){break x}u[e+2>>1]=d+1;d=v[c+16>>2];break w}v[c+28>>2]=e+8;d=v[c+16>>2];u[e+10>>1]=1;u[e+8>>1]=i;v[e+12>>2]=d}v[c>>2]=i;v[c+16>>2]=d+1}f=f-1|0;if(!f){break n}o=o+1|0;i=i+1|0;d=v[k+4>>2];continue}}e=v[d+4>>2];d=u[d>>1];o=e+((d|0)<(i|0)?i-d|0:0)|0;while(1){g=w[v[n+4>>2]];e=w[o|0];d=B(g,e);y:{if((d|0)==65025){break y}d=d+65025|0;d=255-(B(d-(g<<8)>>>8|0,d-(e<<8)>>>8|0)>>>8|0)|0;if(!d){break y}t[v[c+16>>2]]=d;e=v[c+28>>2];z:{A:{if((v[c>>2]+1|0)!=(i|0)){break A}d=u[e+2>>1];if((d|0)<1){break A}u[e+2>>1]=d+1;d=v[c+16>>2];break z}v[c+28>>2]=e+8;d=v[c+16>>2];u[e+10>>1]=1;u[e+8>>1]=i;v[e+12>>2]=d}v[c>>2]=i;v[c+16>>2]=d+1}f=f-1|0;if(!f){break n}o=o+1|0;i=i+1|0;n=v[k>>2];continue}}g=w[v[n+4>>2]];e=w[v[d+4>>2]];d=B(g,e);if((d|0)==65025){break n}d=d+65025|0;g=255-(B(d-(g<<8)>>>8|0,d-(e<<8)>>>8|0)>>>8|0)|0;if(!g){break n}B:{C:{if((v[c>>2]+1|0)!=(i|0)){break C}e=v[c+28>>2];d=u[e+2>>1];if((d|0)>-1|(g|0)!=w[v[e+4>>2]]){break C}u[e+2>>1]=d-f;break B}t[v[c+16>>2]]=g;e=v[c+28>>2];v[c+28>>2]=e+8;d=v[c+16>>2];v[c+16>>2]=d+1;u[e+10>>1]=0-f;u[e+8>>1]=i;v[e+12>>2]=d}v[c>>2]=(f+i|0)-1}if((j|0)>(l|0)){d=a+h|0;h=268435454;i=268435455;f=j;continue}d=268435455;i=m?b+h|0:268435455;f=268435454;h=m?l:268435454;continue}if((a|0)>(b|0)){h=268435454;i=268435455;d=a;if((b|0)>(l|0)){continue}e=l-b|0;m=e+1|0;g=v[k+4>>2];j=u[g+2>>1];D:{if((j|0)<=-1){g=w[v[g+4>>2]];E:{if((v[c>>2]+1|0)!=(b|0)){break E}d=v[c+28>>2];j=u[d+2>>1];if((j|0)>-1|(g|0)!=w[v[d+4>>2]]){break E}u[d+2>>1]=j-m;break D}t[v[c+16>>2]]=g;d=v[c+28>>2];v[c+28>>2]=d+8;j=v[c+16>>2];v[c+16>>2]=j+1;u[d+10>>1]=e^-1;u[d+8>>1]=b;v[d+12>>2]=j;break D}if(!j){continue}j=u[g>>1];gc(v[c+16>>2],v[g+4>>2]+((b|0)>(j|0)?b-j|0:0)|0,m);e=v[c+28>>2];F:{G:{if((v[c>>2]+1|0)!=(b|0)){break G}j=u[e+2>>1];if((j|0)<1){break G}u[e+2>>1]=j+m;d=v[c+16>>2];break F}v[c+28>>2]=e+8;d=v[c+16>>2];u[e+10>>1]=m;u[e+8>>1]=b;v[e+12>>2]=d}v[c+16>>2]=d+m}v[c>>2]=l;d=a;continue}f=268435454;d=268435455;i=b;h=l;if((a|0)>(j|0)){continue}e=j-a|0;m=e+1|0;g=v[k>>2];b=u[g+2>>1];H:{if((b|0)<=-1){g=w[v[g+4>>2]];I:{if((v[c>>2]+1|0)!=(a|0)){break I}h=v[c+28>>2];b=u[h+2>>1];if((b|0)>-1|(g|0)!=w[v[h+4>>2]]){break I}u[h+2>>1]=b-m;break H}t[v[c+16>>2]]=g;h=v[c+28>>2];v[c+28>>2]=h+8;b=v[c+16>>2];v[c+16>>2]=b+1;u[h+10>>1]=e^-1;u[h+8>>1]=a;v[h+12>>2]=b;break H}if(!b){continue}b=u[g>>1];gc(v[c+16>>2],v[g+4>>2]+((a|0)>(b|0)?a-b|0:0)|0,m);e=v[c+28>>2];J:{K:{if((v[c>>2]+1|0)!=(a|0)){break K}b=u[e+2>>1];if((b|0)<1){break K}u[e+2>>1]=b+m;h=v[c+16>>2];break J}v[c+28>>2]=e+8;h=v[c+16>>2];u[e+10>>1]=m;u[e+8>>1]=a;v[e+12>>2]=h}v[c+16>>2]=h+m}v[c>>2]=j;h=l;continue}break}Qb=k+16|0}function Cna(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=Qb+-64|0;Qb=d;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{if(!w[a+144|0]){a=vc(d+40|0,231625,242011,164,226800,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break p}b=P()|0;O()|0;qc(a);break b}f=Bh();b=v[a+156>>2];v[299999]=0;V(4591,d+32|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break j}v[299999]=0;c=S(1,28)|0;b=v[299999];v[299999]=0;if((b|0)==1){break k}v[c+8>>2]=1;v[c+4>>2]=0;v[c>>2]=983792;b=0;e=v[d+32>>2];if(e){v[299999]=0;v[e+4>>2]=v[e+4>>2]+1;b=v[299999];v[299999]=0;if((b|0)==1){break o}b=v[d+32>>2]}v[c+24>>2]=0;v[c+12>>2]=b;v[299999]=0;v[d+24>>2]=0;Q(4336,d+24|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break l}v[c+16>>2]=a;v[c+20>>2]=4827;v[299999]=0;V(4828,a|0,d+24|0);b=v[299999];v[299999]=0;if((b|0)==1){break m}while(1){v[299999]=0;b=Q(4829,a|0,0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break n}if(b){continue}break}b=v[a+120>>2];if(b){while(1){c=v[b+8>>2];v[299999]=0;c=v[c+148>>2];e=v[299999];v[299999]=0;if((e|0)==1){break i}q:{r:{s:{t:{if(c&4){v[299999]=0;c=aa(4369,d+40|0,260565,242011,500,342524,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break t}v[299999]=0;R(4370,c|0);b=v[299999];v[299999]=0;if((b|0)!=1){break p}b=W(989228)|0;e=O()|0;qc(c);break g}c=v[b+8>>2];v[299999]=0;c=v[c+148>>2];e=v[299999];v[299999]=0;if((e|0)==1){break i}if(c&8){v[299999]=0;c=aa(4369,d+40|0,v[282395],242011,502,342524,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break s}v[299999]=0;R(4370,c|0);b=v[299999];v[299999]=0;if((b|0)!=1){break p}b=W(989228)|0;e=O()|0;qc(c);break g}c=v[b+8>>2];v[299999]=0;c=v[c+148>>2];e=v[299999];v[299999]=0;if((e|0)==1){break i}if(c&2){break q}v[299999]=0;c=aa(4369,d+40|0,291850,242011,509,342524,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break r}v[299999]=0;R(4370,c|0);b=v[299999];v[299999]=0;if((b|0)!=1){break p}b=W(989228)|0;e=O()|0;qc(c);break g}b=W(989228)|0;break h}b=W(989228)|0;break h}b=W(989228)|0;break h}b=v[b>>2];if(b){continue}break}}b=v[d+24>>2];v[d+24>>2]=0;u:{v:{if(!b){break v}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;e=v[299999];v[299999]=0;if((e|0)==1){break u}if(c){break v}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break u}}b=v[d+32>>2];v[d+32>>2]=0;if(!b){break d}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;e=v[299999];v[299999]=0;if((e|0)!=1){if(c){break d}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break d}}break a}break a}L()}b=W(989228)|0;e=O()|0;Ti(c);dc(c);break f}b=W(989228)|0;break h}b=W(989228)|0;break h}b=W(989228)|0;e=O()|0;break f}b=W(989228)|0;e=O()|0;break f}b=W(989228)|0;e=O()|0;break e}b=W(989228)|0}e=O()|0}ec(d+24|0)}ec(d+32|0)}if((ja(989228)|0)!=(e|0)){break b}h=ea(b|0)|0;v[299999]=0;c=Nl(h,v[282395]);b=v[299999];v[299999]=0;w:{x:{y:{if((b|0)==1){break y}b=a+148|0;if(!c){v[299999]=0;c=v[b>>2];e=v[299999];v[299999]=0;if((e|0)==1){break y}v[299999]=0;c=c&-10|8;if((c|0)!=v[b>>2]){v[b>>2]=c}b=v[299999];v[299999]=0;if((b|0)==1){break y}v[299999]=0;c=Q(4340,d+24|0,291012)|0;b=v[299999];v[299999]=0;z:{A:{B:{C:{D:{E:{F:{G:{if((b|0)!=1){v[299999]=0;e=Q(4340,d+16|0,358459)|0;b=v[299999];v[299999]=0;if((b|0)==1){break G}v[299999]=0;U(4547,d+32|0,c|0,e|0);b=v[299999];v[299999]=0;if((b|0)==1){break F}b=v[a+80>>2];b=v[(b?b+12|0:1129608)>>2];v[299999]=0;g=Q(4340,d+8|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break E}v[299999]=0;U(4547,d+40|0,d+32|0,g|0);b=v[299999];v[299999]=0;if((b|0)==1){break D}b=v[v[f>>2]+24>>2];v[299999]=0;Y(b|0,f|0,a|0,d+40|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break C}ec(d+40|0);ec(g);ec(d+32|0);ec(e);ec(c);b=v[v[f>>2]+40>>2];v[299999]=0;$(b|0,f|0,a|0,8,1);b=v[299999];v[299999]=0;if((b|0)!=1){break w}break y}b=W(0)|0;O()|0;break x}b=W(0)|0;O()|0;ec(c);break x}b=W(0)|0;O()|0;break z}b=W(0)|0;O()|0;break A}b=W(0)|0;O()|0;break B}b=W(0)|0;O()|0;ec(d+40|0)}ec(g)}ec(d+32|0)}ec(e);ec(c);break x}v[299999]=0;c=v[b>>2];e=v[299999];v[299999]=0;if((e|0)==1){break y}v[299999]=0;c=c&-6|4;if((c|0)!=v[b>>2]){v[b>>2]=c}b=v[299999];v[299999]=0;if((b|0)==1){break y}v[299999]=0;c=Q(4340,d+24|0,291286)|0;b=v[299999];v[299999]=0;H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{if((b|0)!=1){v[299999]=0;e=Q(4340,d+16|0,358459)|0;b=v[299999];v[299999]=0;if((b|0)==1){break Q}v[299999]=0;U(4547,d+32|0,c|0,e|0);b=v[299999];v[299999]=0;if((b|0)==1){break P}b=v[a+80>>2];b=v[(b?b+12|0:1129608)>>2];v[299999]=0;g=Q(4340,d+8|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break O}v[299999]=0;U(4547,d+40|0,d+32|0,g|0);b=v[299999];v[299999]=0;if((b|0)==1){break N}b=v[v[f>>2]+24>>2];v[299999]=0;Y(b|0,f|0,a|0,d+40|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break M}ec(d+40|0);ec(g);ec(d+32|0);ec(e);ec(c);v[299999]=0;b=v[h+4>>2];c=v[299999];v[299999]=0;if((c|0)==1){break I}v[299999]=0;c=Q(4340,d+40|0,(b?b:246399)|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break I}b=v[v[f>>2]+20>>2];v[299999]=0;Y(b|0,f|0,a|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break H}ec(c);b=v[v[f>>2]+40>>2];v[299999]=0;$(b|0,f|0,a|0,4,1);b=v[299999];v[299999]=0;if((b|0)==1){break y}break w}b=W(0)|0;O()|0;break x}b=W(0)|0;O()|0;ec(c);break x}b=W(0)|0;O()|0;break J}b=W(0)|0;O()|0;break K}b=W(0)|0;O()|0;break L}b=W(0)|0;O()|0;ec(d+40|0)}ec(g)}ec(d+32|0)}ec(e);ec(c);break x}b=W(0)|0;O()|0;break x}b=W(0)|0;O()|0;ec(c);break x}b=W(0)|0;O()|0}ea(b|0)|0;v[299999]=0;ba(4230);b=v[299999];v[299999]=0;if((b|0)==1){break c}}ka()}v[299999]=0;b=sg(a+148|0,1,0,66,1);c=v[299999];v[299999]=0;R:{if((c|0)!=1){if(!b){break R}b=v[v[f>>2]+40>>2];v[299999]=0;$(b|0,f|0,a|0,66,1);a=v[299999];v[299999]=0;if((a|0)!=1){break R}}a=W(0)|0;O()|0;ea(a|0)|0;ka()}Qb=d- -64|0;return}b=P()|0;O()|0;v[299999]=0;ba(4230);a=v[299999];v[299999]=0;if((a|0)!=1){break b}break a}T(b|0);L()}W(0)|0;O()|0;lc();L()}function Vj(a,b){var 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;e=Qb-48|0;Qb=e;a:{if(!a){break a}j=a;g=a?v[a+36>>2]:0;if(!g){if(j){v[j+16>>2]=v[j+16>>2]+1}d=j;break a}i=e+32|0;l=e+28|0;f=e+24|0;if(j){if(i){v[i>>2]=v[j>>2]}if(l){v[l>>2]=v[j+4>>2]}if(f){v[f>>2]=v[j+8>>2]}}f=v[e+24>>2];if(f>>>0>8|!(1<>2]=0;v[i>>2]=0;v[e+16>>2]=0;if(!g){break b}q=v[g+12>>2];n=bd(q,4);if(!n){break b}o=bd(q,4);if(!o){break b}m=bd(q,4);if(!m){break b}v[e+16>>2]=n;v[i>>2]=o;v[l>>2]=m;f=0;if((q|0)<1){break b}h=v[g>>2];if((q|0)!=1){l=q&-2;while(1){k=p<<2;i=k+h|0;v[k+n>>2]=w[i+2|0];v[k+o>>2]=w[i+1|0];v[k+m>>2]=w[i|0];k=k|4;i=k+h|0;v[k+n>>2]=w[i+2|0];v[k+o>>2]=w[i+1|0];v[k+m>>2]=w[i|0];p=p+2|0;l=l-2|0;if(l){continue}break}}if(!(q&1)){break b}i=p<<2;l=i+h|0;v[i+n>>2]=w[l+2|0];v[i+o>>2]=w[l+1|0];v[i+m>>2]=w[l|0]}if(f){break a}c:{d:{e:{f:{g:{f=b>>>0<3;b=f?b:3;if(f?!b&v[e+24>>2]!=1:1){W$(g,e+20|0);if(!v[e+20>>2]){break g}f=g?v[g+12>>2]:0;l=j?v[j+40>>2]:0;j=j?v[a+12>>2]:-1;break d}f=g?v[g+12>>2]:0;l=j?v[j+40>>2]:0;j=j?v[a+12>>2]:-1;switch(b|0){case 0:break e;case 1:break f;default:break d}}b=v[e+24>>2];f=g?v[g+12>>2]:0;l=j?v[j+40>>2]:0;j=j?v[a+12>>2]:-1;if((b|0)==1){break e}}h=Ug(v[e+32>>2],v[e+28>>2],8);if(!h){break a}if(!(!a|!h|(a|0)==(h|0))){v[h+20>>2]=v[a+20>>2];v[h+24>>2]=v[a+24>>2]}i=h?v[h+40>>2]:0;a=h?v[h+12>>2]:-1;c=bd(f,4);if(!c){break a}f=0;if(((g?v[g+12>>2]:0)|0)>0){while(1){b=f<<2;v[b+c>>2]=(v[b+v[e+8>>2]>>2]+(v[b+v[e+16>>2]>>2]+(v[b+v[e+12>>2]>>2]<<1)|0)|0)/4;f=f+1|0;if((f|0)<((g?v[g+12>>2]:0)|0)){continue}break}}if(v[e+28>>2]>0){while(1){m=i+(B(a,r)<<2)|0;k=(B(j,r)<<2)+l|0;d=0;h:{i:{j:{k:{switch(v[e+24>>2]-1|0){case 7:b=0;f=0;d=v[e+32>>2];if((d|0)>3){break j}break i;case 3:f=0;b=v[e+32>>2];if((b|0)>7){while(1){b=m+(f<<3)|0;g=v[k+(f<<2)>>2];v[b>>2]=v[c+(g>>>22&60)>>2]<<16|v[c+(g>>>26&60)>>2]<<24|v[c+(g>>>18&60)>>2]<<8|v[c+(g>>>14&60)>>2];v[b+4>>2]=v[c+((g&15)<<2)>>2]|(v[c+(g>>>6&60)>>2]<<16|v[c+(g>>>10&60)>>2]<<24|v[c+(g>>>2&60)>>2]<<8);f=f+1|0;b=v[e+32>>2];d=d+8|0;if((b|0)>(d|7)){continue}break}}if((b|0)<=(d|0)){break h}while(1){b=v[c+((v[k+(d>>>1&2147483644)>>2]>>>((d<<2^-1)&28)&15)<<2)>>2];v[e+40>>2]=b;t[d+m^3]=b;d=d+1|0;if((d|0)>2]){continue}break};break h;case 1:f=0;b=v[e+32>>2];if((b|0)>15){while(1){b=m+(f<<4)|0;g=v[k+(f<<2)>>2];v[b>>2]=v[c+(g>>>26&12)>>2]<<16|v[c+(g>>>28&12)>>2]<<24|v[c+(g>>>24&12)>>2]<<8|v[c+(g>>>22&12)>>2];v[b+4>>2]=v[c+(g>>>14&12)>>2]|(v[c+(g>>>18&12)>>2]<<16|v[c+(g>>>20&12)>>2]<<24|v[c+(g>>>16&12)>>2]<<8);v[b+8>>2]=v[c+(g>>>6&12)>>2]|(v[c+(g>>>10&12)>>2]<<16|v[c+(g>>>12&12)>>2]<<24|v[c+(g>>>8&12)>>2]<<8);v[b+12>>2]=v[c+((g&3)<<2)>>2]|(v[c+(g>>>2&12)>>2]<<16|v[c+(g>>>4&12)>>2]<<24|v[c+(g&12)>>2]<<8);f=f+1|0;b=v[e+32>>2];d=d+16|0;if((b|0)>(d|15)){continue}break}}if((b|0)<=(d|0)){break h}while(1){b=v[c+((v[k+(d>>>2&1073741820)>>2]>>>((d<<1^-1)&30)&3)<<2)>>2];v[e+40>>2]=b;t[d+m^3]=b;d=d+1|0;if((d|0)>2]){continue}break};break h;case 0:break k;default:break a}}f=0;p=0;b=v[e+32>>2];if((b|0)>31){while(1){b=m+(p<<5)|0;d=v[k+(p<<2)>>2];v[b>>2]=v[c+(d>>>28&4)>>2]<<16|v[c+(d>>>29&4)>>2]<<24|v[c+(d>>>27&4)>>2]<<8|v[c+(d>>>26&4)>>2];v[b+4>>2]=v[c+(d>>>22&4)>>2]|(v[c+(d>>>24&4)>>2]<<16|v[c+(d>>>25&4)>>2]<<24|v[c+(d>>>23&4)>>2]<<8);v[b+8>>2]=v[c+(d>>>18&4)>>2]|(v[c+(d>>>20&4)>>2]<<16|v[c+(d>>>21&4)>>2]<<24|v[c+(d>>>19&4)>>2]<<8);v[b+12>>2]=v[c+(d>>>14&4)>>2]|(v[c+(d>>>16&4)>>2]<<16|v[c+(d>>>17&4)>>2]<<24|v[c+(d>>>15&4)>>2]<<8);v[b+16>>2]=v[c+(d>>>10&4)>>2]|(v[c+(d>>>12&4)>>2]<<16|v[c+(d>>>13&4)>>2]<<24|v[c+(d>>>11&4)>>2]<<8);v[b+20>>2]=v[c+(d>>>6&4)>>2]|(v[c+(d>>>8&4)>>2]<<16|v[c+(d>>>9&4)>>2]<<24|v[c+(d>>>7&4)>>2]<<8);v[b+24>>2]=v[c+(d>>>2&4)>>2]|(v[c+(d>>>4&4)>>2]<<16|v[c+(d>>>5&4)>>2]<<24|v[c+(d>>>3&4)>>2]<<8);v[b+28>>2]=v[c+((d&1)<<2)>>2]|(v[c+(d&4)>>2]<<16|v[c+(d>>>1&4)>>2]<<24|v[c+(d<<1&4)>>2]<<8);p=p+1|0;b=v[e+32>>2];f=f+32|0;if((b|0)>(f|31)){continue}break}}if((b|0)<=(f|0)){break h}while(1){b=v[c+((v[k+(f>>>3&536870908)>>2]>>>(f^-1)&1)<<2)>>2];v[e+40>>2]=b;t[f+m^3]=b;f=f+1|0;if((f|0)>2]){continue}break}break h}while(1){d=f<<2;g=v[d+k>>2];v[d+m>>2]=v[c+((g&255)<<2)>>2]|(v[c+(g>>>14&1020)>>2]<<16|v[c+(g>>>22&1020)>>2]<<24|v[c+(g>>>6&1020)>>2]<<8);f=f+1|0;d=v[e+32>>2];b=b+4|0;if((d|0)>(b|3)){continue}break}}if((b|0)>=(d|0)){break h}while(1){f=v[c+(w[b+k^3]<<2)>>2];v[e+40>>2]=f;t[b+m^3]=f;b=b+1|0;if((b|0)>2]){continue}break}}r=r+1|0;if((r|0)>2]){continue}break}}dc(c);break c}h=Xe(0,a);if(!h){break a}Jo(g,0,e+44|0,e+40|0,e+36|0);if(!v[e+44>>2]){xI(h,h)}b=Qb-16|0;Qb=b;l:{if(!h){break l}a=v[h+36>>2];v[b+12>>2]=a;if(!a){break l}on(b+12|0);v[h+36>>2]=0}Qb=b+16|0;break c}h=Ug(v[e+32>>2],v[e+28>>2],32);if(!h){break a}if(!(!a|!h|(a|0)==(h|0))){v[h+20>>2]=v[a+20>>2];v[h+24>>2]=v[a+24>>2]}r=h?v[h+40>>2]:0;g=h?v[h+12>>2]:-1;o=bd(f,4);if(!o){break a}b=0;if((f|0)>0){while(1){a=b<<2;m=v[a+v[e+16>>2]>>2];k=v[a+v[e+12>>2]>>2];i=v[a+v[e+8>>2]>>2];a=a+o|0;if(a){v[a>>2]=k<<16|m<<24|i<<8}b=b+1|0;if((f|0)!=(b|0)){continue}break}}a=v[e+28>>2];m:{if((a|0)<1){break m}b=v[e+32>>2];if((b|0)<=0){break m}while(1){if((b|0)>=1){m=r+(B(c,g)<<2)|0;n=(B(c,j)<<2)+l|0;a=0;while(1){n:{o:{switch(v[e+24>>2]-1|0){case 7:i=w[a+n^3];break n;case 3:i=v[n+(a>>>1&2147483644)>>2]>>>((a<<2^-1)&28)&15;break n;case 1:i=v[n+(a>>>2&1073741820)>>2]>>>((a<<1^-1)&30)&3;break n;case 0:break o;default:break a}}i=v[n+(a>>>3&536870908)>>2]>>>(a^-1)&1}if((i|0)<(f|0)){v[m+(a<<2)>>2]=v[o+(i<<2)>>2];b=v[e+32>>2]}a=a+1|0;if((b|0)>(a|0)){continue}break}a=v[e+28>>2]}c=c+1|0;if((c|0)<(a|0)){continue}break}}dc(o)}dc(v[e+16>>2]);dc(v[e+12>>2]);dc(v[e+8>>2]);d=h}Qb=e+48|0;return d}function khb(a,b){a=a|0;b=b|0;var 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;a:{b:{c:{d:{if(v[a+84>>2]!=4){break d}e=jc(v[a+56>>2]<<5);if(!e){break c}g=v[a+56>>2];if((g|0)>=1){d=v[a+88>>2];c=e;while(1){v[c>>2]=0;v[c+4>>2]=0;v[c+24>>2]=v[d+16>>2];v[c+28>>2]=w[d+20|0];v[c+16>>2]=v[d+8>>2];v[c+20>>2]=v[d+12>>2];v[c+8>>2]=v[d>>2];v[c+12>>2]=v[d+4>>2];c=c+32|0;d=d+32|0;f=f+1|0;if((g|0)!=(f|0)){continue}break}}c=Lq(g,e);v[a>>2]=c;if(!c){return-1}dc(e);n=v[a+92>>2];if(!n){break d}d=jc(12);e:{f:{if(!d){d=0;break f}v[d>>2]=0;v[d+4>>2]=100;e=jc(400);v[d+8>>2]=e;if(e){c=v[d+4>>2];g:{if((c|0)<1){break g}v[e>>2]=0;if((c|0)==1){break g}e=c-1|0;h=e&3;f=1;if(c-2>>>0>=3){i=e&-4;while(1){c=f<<2;v[c+v[d+8>>2]>>2]=0;v[(c+v[d+8>>2]|0)+4>>2]=0;v[(c+v[d+8>>2]|0)+8>>2]=0;v[(c+v[d+8>>2]|0)+12>>2]=0;f=f+4|0;i=i-4|0;if(i){continue}break}}if(!h){break g}while(1){v[v[d+8>>2]+(f<<2)>>2]=0;f=f+1|0;h=h-1|0;if(h){continue}break}}if(!v[n>>2]){break e}c=v[v[n+8>>2]>>2];f=v[c+4>>2];if(f>>>0<4){break f}i=v[c+8>>2];while(1){e=di(0,0);if(!e){break f}j=v[d>>2];c=v[d+4>>2];h:{if((j|0)<(c|0)){k=v[d+8>>2];break h}k=uh(v[d+8>>2],(c<<2)- -8192|0);if(!k){break f}o=c+1024|0;l=v[d+4>>2];g=v[d>>2];i:{if((l|0)<=(g|0)){break i}c=g;h=l-c&3;if(h){while(1){v[v[d+8>>2]+(c<<2)>>2]=0;c=c+1|0;h=h-1|0;if(h){continue}break}}if(l+(g^-1)>>>0<3){break i}while(1){h=c<<2;v[h+v[d+8>>2]>>2]=0;v[(h+v[d+8>>2]|0)+4>>2]=0;v[(h+v[d+8>>2]|0)+8>>2]=0;v[(h+v[d+8>>2]|0)+12>>2]=0;c=c+4|0;if((l|0)!=(c|0)){continue}break}}v[d+8>>2]=k;v[d+4>>2]=o;if((g|0)!=(j|0)){break f}}v[(j<<2)+k>>2]=e;v[d>>2]=j+1;c=w[i|0]|w[i+1|0]<<8|(w[i+2|0]<<16|w[i+3|0]<<24);i=i+4|0;f=f-4|0;h=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);if(h){while(1){k=e;if(!f){m=m+1|0;if((m|0)>=v[n>>2]){break f}g=v[v[n+8>>2]+(m<<2)>>2];f=v[g+4>>2];i=v[g+8>>2]}c=f>>>0>h>>>0?h:f;if((zn(k,i,c)|0)!=(c|0)){break f}f=f-c|0;i=c+i|0;h=h-c|0;if(h){continue}break}}Dm(e);if(!f){m=m+1|0;if((m|0)>=v[n>>2]){break e}c=v[v[n+8>>2]+(m<<2)>>2];f=v[c+4>>2];i=v[c+8>>2]}if(f>>>0>3){continue}break}break f}dc(d);d=0}c=v[d+8>>2];if(c){f=1;if(v[d>>2]>=1){Te(v[c>>2]);if(v[d>>2]>=2){while(1){Te(v[v[d+8>>2]+(f<<2)>>2]);f=f+1|0;if((f|0)>2]){continue}break}}c=v[d+8>>2]}dc(c)}dc(d);d=0}v[a+96>>2]=d;if(!d){break b}e=v[a+92>>2];if(v[e>>2]>=1){c=0;while(1){g=v[v[e+8>>2]+(c<<2)>>2];d=v[g+8>>2];if(d){dc(d)}dc(g);c=c+1|0;if((c|0)>2]){continue}break}}c=v[e+8>>2];if(c){dc(c)}dc(e);v[a+92>>2]=0}k=a;e=v[b+16>>2];if(e){e=((e+v[v[a+60>>2]+60>>2]|0)-v[b+4>>2]|0)-4|0}else{e=0}v[k+100>>2]=e;e=v[b+12>>2];if((e|0)>v[a+44>>2]){Sc(30911,0);return-1}i=v[a+48>>2];c=i+B(e,56)|0;v[a+52>>2]=c;f=-1;g=w[b+20|0];j:{if((g|0)!=v[c+40>>2]){break j}d=v[c+44>>2];if((d|0)>=1&(d|0)<=(g|0)){break j}k:{if(d){break k}d=w[b+21|0];if(!d){break k}v[c+44>>2]=d}h=i+B(e,56)|0;v[h+20>>2]=0;l:{if(!v[c>>2]){v[c>>2]=1;if(v[h+32>>2]){break a}d=v[a+64>>2];b=v[d+20>>2];m:{g=jc(28);n:{if(!g){break n}v[g+20>>2]=b;v[g>>2]=0;u[g+16>>1]=0;v[g+12>>2]=0;t[g+8|0]=0;b=jc(B(b,488));v[g+24>>2]=b;if(!b){break n}c=r2();v[g+4>>2]=c;if(!c){dc(v[g+24>>2]);break n}b=v[g+20>>2];if((b|0)>=1){f=b&3;c=v[g+24>>2];if(b-1>>>0>=3){b=b&-4;while(1){t[c+418|0]=0;u[c+416>>1]=0;v[c+12>>2]=0;v[c>>2]=0;v[c+488>>2]=0;t[c+5|0]=0;t[c+6|0]=0;t[c+7|0]=0;t[c+8|0]=0;v[c+976>>2]=0;v[c+1464>>2]=0;t[c+906|0]=0;u[c+904>>1]=0;v[c+500>>2]=0;t[c+1394|0]=0;u[c+1392>>1]=0;v[c+988>>2]=0;t[c+493|0]=0;t[c+494|0]=0;t[c+495|0]=0;t[c+496|0]=0;t[c+1882|0]=0;u[c+1880>>1]=0;v[c+1476>>2]=0;t[c+981|0]=0;t[c+982|0]=0;t[c+983|0]=0;t[c+984|0]=0;e=c+1469|0;t[e|0]=0;t[e+1|0]=0;t[e+2|0]=0;t[e+3|0]=0;c=c+1952|0;b=b-4|0;if(b){continue}break}}if(f){while(1){t[c+418|0]=0;u[c+416>>1]=0;v[c+12>>2]=0;v[c>>2]=0;t[c+5|0]=0;t[c+6|0]=0;t[c+7|0]=0;t[c+8|0]=0;c=c+488|0;f=f-1|0;if(f){continue}break}}c=v[g+4>>2]}v[g>>2]=v[d>>2];t[g+8|0]=w[d+8|0];v[g+12>>2]=v[d+12>>2];t[g+16|0]=w[d+16|0];t[g+17|0]=w[d+17|0];PJ(c);v[g+4>>2]=0;n=v[d+4>>2];m=0;b=jc(12);o:{if(b){v[b+8>>2]=0;v[b>>2]=0;v[b+4>>2]=0;if(v[n>>2]<1){break o}while(1){p:{c=v[v[n+8>>2]+(m<<2)>>2];i=jc(16);if(!i){break p}e=v[c+4>>2];v[i>>2]=v[c>>2];v[i+4>>2]=e;e=v[c+12>>2];v[i+8>>2]=v[c+8>>2];v[i+12>>2]=e;e=v[b>>2];f=e;c=v[b+4>>2];q:{if((e|0)<(c|0)){break q}c=c+128|0;j=uh(v[b+8>>2],c<<2);if(!j){break p}v[b+8>>2]=j;v[b+4>>2]=c;f=v[b>>2];if((e|0)>=(f|0)){break q}c=f-1|0;v[j+(f<<2)>>2]=v[j+(c<<2)>>2];if((c|0)<=(e|0)){break q}j=(e^-1)+f&3;if(j){while(1){k=v[b+8>>2];l=k+(c<<2)|0;c=c-1|0;v[l>>2]=v[k+(c<<2)>>2];j=j-1|0;if(j){continue}break}}if((f-e|0)-2>>>0<3){break q}while(1){j=c<<2;k=j-4|0;l=v[b+8>>2];v[j+l>>2]=v[k+l>>2];l=k;k=v[b+8>>2];o=l+k|0;l=k;k=j-8|0;v[o>>2]=v[l+k>>2];l=k;k=v[b+8>>2];j=j-12|0;v[l+k>>2]=v[j+k>>2];k=j;j=v[b+8>>2];c=c-4|0;v[k+j>>2]=v[j+(c<<2)>>2];if((c|0)>(e|0)){continue}break}}v[v[b+8>>2]+(e<<2)>>2]=i;v[b>>2]=f+1;m=m+1|0;if((m|0)>2]){continue}break o}break}e=v[b+8>>2];if(e){c=1;if(v[b>>2]>=1){dc(v[e>>2]);if(v[b>>2]>=2){while(1){dc(v[v[b+8>>2]+(c<<2)>>2]);c=c+1|0;if((c|0)>2]){continue}break}}e=v[b+8>>2]}dc(e)}dc(b)}b=0}v[g+4>>2]=b;if(b){break m}dc(g)}v[h+32>>2]=0;return-1}if(v[d+20>>2]>=1){f=v[g+24>>2];c=v[d+24>>2];b=0;while(1){e=gc(f,c,488);c=c+488|0;f=e+488|0;b=b+1|0;if((b|0)>2]){continue}break}}v[h+32>>2]=g;b=v[a+64>>2];v[b>>2]=v[b>>2]&3;e=v[b+20>>2];if((e|0)<1){break l}d=e&7;c=v[b+24>>2];if(e-1>>>0>=7){f=e&-8;while(1){v[c+3416>>2]=0;v[c+2928>>2]=0;v[c+2440>>2]=0;v[c+1952>>2]=0;v[c+1464>>2]=0;v[c+976>>2]=0;v[c+488>>2]=0;v[c>>2]=0;c=c+3904|0;f=f-8|0;if(f){continue}break}}if(!d){break l}while(1){v[c>>2]=0;c=c+488|0;d=d-1|0;if(d){continue}break}break l}if(w[b+21|0]!=(g-1|0)){break l}v[c>>2]=2}v[a+84>>2]=16;f=0}return f|0}X(28252,16151,453,188896);L()}ia();L()}X(31563,16151,516,188896);L()}function sN(a,b,c){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,p=0,q=0,r=0,s=0,x=0,D=0,E=0,F=C(0),G=0;g=Qb-304|0;Qb=g;e=w[b|0];a:{if(!e){break a}b:{c:{d:{e:{while(1){f:{e=e&255;g:{if((e|0)==32|e-9>>>0<5){while(1){e=b;b=b+1|0;d=w[e+1|0];if((d|0)==32|d-9>>>0<5){continue}break}Bj(a,0,0);while(1){b=v[a+4>>2];h:{if(b>>>0>2]){v[a+4>>2]=b+1;b=w[b|0];break h}b=Re(a)}if((b|0)==32|b-9>>>0<5){continue}break}b=v[a+4>>2];if(v[a+104>>2]){b=b-1|0;v[a+4>>2]=b}d=b-v[a+8>>2]|0;b=d;d=d>>31;f=b;h=h+v[a+124>>2]|0;b=k+v[a+120>>2]|0;h=b>>>0>>0?h+1|0:h;k=f+b|0;h=d+h|0;h=b>>>0>k>>>0?h+1|0:h;break g}i:{j:{k:{e=w[b|0];if((e|0)==37){d=w[b+1|0];if((d|0)==42){break k}if((d|0)!=37){break j}}Bj(a,0,0);e=((e|0)==37)+b|0;b=v[a+4>>2];l:{if(b>>>0>2]){v[a+4>>2]=b+1;b=w[b|0];break l}b=Re(a)}if((b|0)!=w[e|0]){if(v[a+104>>2]){v[a+4>>2]=v[a+4>>2]-1}if((b|0)>-1){break a}r=0;if(s){break a}break c}b=k+1|0;h=b>>>0<1?h+1|0:h;k=b;break g}j=0;e=b+2|0;break i}if(!(w[b+2|0]!=36|d-48>>>0>=10)){d=w[b+1|0]-48|0;e=Qb-16|0;v[e+12>>2]=c;f=e;e=(d>>>0>1?(d<<2)-4|0:0)+c|0;v[f+8>>2]=e+4;j=v[e>>2];e=b+3|0;break i}j=v[c>>2];c=c+4|0;e=b+1|0}r=0;b=0;if(w[e|0]-48>>>0<10){while(1){b=(w[e|0]+B(b,10)|0)-48|0;d=w[e+1|0];e=e+1|0;if(d-48>>>0<10){continue}break}}f=w[e|0];if((f|0)==109){m=0;r=(j|0)!=0;f=w[e+1|0];n=0;e=e+1|0}d=e;e=d+1|0;i=3;m:{n:{switch(f-65|0){case 39:f=d+2|0;d=w[d+1|0]==104;e=d?f:e;i=d?-2:-1;break m;case 43:f=d+2|0;d=w[d+1|0]==108;e=d?f:e;i=d?3:1;break m;case 51:case 57:i=1;break m;case 11:i=2;break m;case 41:break m;case 0:case 2:case 4:case 5:case 6:case 18:case 23:case 26:case 32:case 34:case 35:case 36:case 37:case 38:case 40:case 45:case 46:case 47:case 50:case 52:case 55:break n;default:break d}}i=0;e=d}f=w[e|0];d=(f&47)==3;q=d?1:i;p=d?f|32:f;o:{if((p|0)==91){break o}p:{if((p|0)!=110){if((p|0)!=99){break p}b=(b|0)>1?b:1;break o}rN(j,q,k,h);break g}Bj(a,0,0);while(1){d=v[a+4>>2];q:{if(d>>>0>2]){v[a+4>>2]=d+1;d=w[d|0];break q}d=Re(a)}if((d|0)==32|d-9>>>0<5){continue}break}d=v[a+4>>2];if(v[a+104>>2]){d=d-1|0;v[a+4>>2]=d}d=d-v[a+8>>2]|0;f=d;d=d>>31;l=f;o=h+v[a+124>>2]|0;f=k+v[a+120>>2]|0;o=f>>>0>>0?o+1|0:o;k=l+f|0;d=d+o|0;d=f>>>0>k>>>0?d+1|0:d;h=d}o=b;x=b>>31;Bj(a,b,x);d=v[a+104>>2];f=v[a+4>>2];r:{if(d>>>0>f>>>0){v[a+4>>2]=f+1;break r}if((Re(a)|0)<0){break d}d=v[a+104>>2]}if(d){v[a+4>>2]=v[a+4>>2]-1}d=16;s:{t:{u:{v:{w:{x:{y:{switch(p-88|0){default:b=p-65|0;if(b>>>0>6|!(1<>2]-v[a+8>>2]|0;if(v[a+120>>2]==(0-d|0)&v[a+124>>2]==(0-((d>>31)+((d|0)!=0)|0)|0)){break b}if(!j){break s}o=v[g+16>>2];f=v[g+20>>2];d=v[g+8>>2];b=v[g+12>>2];switch(q|0){case 2:break u;case 1:break v;case 0:break w;default:break s};case 3:case 11:case 27:if((p&239)==99){ic(g+32|0,-1,257);t[g+32|0]=0;if((p|0)!=115){break t}t[g+65|0]=0;t[g+46|0]=0;u[g+42>>1]=0;u[g+44>>1]=0;break t}l=w[e+1|0];f=(l|0)==94;ic(g+32|0,f,257);t[g+32|0]=0;d=f?e+2|0:e+1|0;z:{A:{B:{e=w[(f?2:1)+e|0];if((e|0)!=45){if((e|0)==93){break B}i=(l|0)!=94;break z}i=(l|0)!=94;t[g+78|0]=i;break A}i=(l|0)!=94;t[g+126|0]=i}d=d+1|0}e=d;while(1){d=w[e|0];C:{if((d|0)!=45){if(!d){break d}if((d|0)!=93){break C}break t}d=45;l=w[e+1|0];if(!l|(l|0)==93){break C}f=e+1|0;e=w[e-1|0];D:{if(l>>>0<=e>>>0){d=l;break D}while(1){e=e+1|0;t[e+(g+32|0)|0]=i;d=w[f|0];if(e>>>0>>0){continue}break}}e=f}t[(d+g|0)+33|0]=i;e=e+1|0;continue};case 23:d=8;break x;case 12:case 29:d=10;break x;case 1:case 2:case 4:case 5:case 6:case 7:case 8:case 10:case 16:case 18:case 19:case 20:case 21:case 22:case 25:case 26:case 28:case 30:case 31:break s;case 0:case 24:case 32:break x;case 17:break y}}d=0}o=tN(a,d,0,-1,-1);f=Tb;d=v[a+4>>2]-v[a+8>>2]|0;if(v[a+120>>2]==(0-d|0)&v[a+124>>2]==(0-((d>>31)+((d|0)!=0)|0)|0)){break b}if(!(!j|(p|0)!=112)){v[j>>2]=o;break s}rN(j,q,o,f);break s}E=j,F=gN(d,b,o,f),z[E>>2]=F;break s}E=j,G=Hw(d,b,o,f),A[E>>3]=G;break s}v[j>>2]=d;v[j+4>>2]=b;v[j+8>>2]=o;v[j+12>>2]=f;break s}D=(p|0)==99;i=D?b+1|0:31;l=(q|0)!=1;E:{if(!l){d=j;if(r){d=jc(i<<2);if(!d){break e}}v[g+296>>2]=0;v[g+300>>2]=0;b=0;while(1){n=d;F:{while(1){d=v[a+4>>2];G:{if(d>>>0>2]){v[a+4>>2]=d+1;d=w[d|0];break G}d=Re(a)}if(!w[(d+g|0)+33|0]){break F}t[g+27|0]=d;d=ot(g+28|0,g+27|0,1,g+296|0);if((d|0)==-2){continue}if((d|0)==-1){break f}if(n){v[(b<<2)+n>>2]=v[g+28>>2];b=b+1|0}if(!((b|0)==(i|0)&r)){continue}break}i=i<<1|1;d=be(n,i<<2);if(d){continue}break f}break}d=g+296|0;if(d){d=v[d>>2]}else{d=0}if(d){break f}m=0;break E}if(r){b=0;d=jc(i);if(!d){break e}while(1){m=d;while(1){d=v[a+4>>2];H:{if(d>>>0>2]){v[a+4>>2]=d+1;d=w[d|0];break H}d=Re(a)}if(!w[(d+g|0)+33|0]){n=0;break E}t[b+m|0]=d;b=b+1|0;if((i|0)!=(b|0)){continue}break}n=0;i=i<<1|1;d=be(m,i);if(d){continue}break}break d}b=0;if(j){while(1){d=v[a+4>>2];I:{if(d>>>0>2]){v[a+4>>2]=d+1;d=w[d|0];break I}d=Re(a)}if(w[(d+g|0)+33|0]){t[b+j|0]=d;b=b+1|0;continue}else{n=0;m=j;break E}}}while(1){b=v[a+4>>2];J:{if(b>>>0>2]){v[a+4>>2]=b+1;b=w[b|0];break J}b=Re(a)}if(w[(b+g|0)+33|0]){continue}break}m=0;n=0;b=0}d=v[a+4>>2];if(v[a+104>>2]){d=d-1|0;v[a+4>>2]=d}d=d-v[a+8>>2]|0;f=d;q=d+v[a+120>>2]|0;d=v[a+124>>2]+(d>>31)|0;d=f>>>0>q>>>0?d+1|0:d;if(!(d|q)|((o|0)!=(q|0)|(d|0)!=(x|0))&(p|0)==99){break b}K:{if(!r){break K}if(!l){v[j>>2]=n;break K}v[j>>2]=m}if(D){break s}if(n){v[(b<<2)+n>>2]=0}if(!m){m=0;break s}t[b+m|0]=0}d=v[a+4>>2]-v[a+8>>2]|0;b=d;d=d>>31;f=b;h=h+v[a+124>>2]|0;b=k+v[a+120>>2]|0;h=b>>>0>>0?h+1|0:h;k=f+b|0;h=d+h|0;h=b>>>0>k>>>0?h+1|0:h;s=((j|0)!=0)+s|0}b=e+1|0;e=w[e+1|0];if(e){continue}break a}break}m=0;break d}m=0;n=0}if(s){break b}}s=-1}if(!r){break a}dc(m);dc(n)}Qb=g+304|0;return s}function M4a(a,b){a=a|0;b=b|0;var 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,y=0,z=0,A=0,C=0,D=0;i=Qb-416|0;Qb=i;z=v[b+92>>2];v[a+40>>2]=x[b+68>>1];if(!bA(b)){F$(a,b);c=(v[v[a>>2]+12>>2]<<3)+364e3|0;d=v[c>>2];if((d|0)!=5531){A=a+7720|0;C=a+44|0;while(1){q=c;g=d+358464|0;d=w[g|0];a:{if(!d){break a}r=w[q+4|0]&2?C:A;m=0;n=0;s=1;while(1){f=d&255;if((f|0)!=32){b:{c:{if((f|0)==124){g=g+1|0;break c}c=g+1|0;if(d<<24>>24<=-1){e=f>>>0<240;d=f>>>0<224;l=d?1:e?2:3;j=l-1|0;f=(d?31:e?15:7)&f;d=l;e=d;while(1){f=w[c|0]&63|f<<6;d=d-1|0;c=c+1|0;e=e-1|0;if(e){continue}break}if(j>>>0>=3){while(1){f=w[c+3|0]&63|((w[c+1|0]&63|(f<<12|(w[c|0]&63)<<6))<<12|(w[c+2|0]&63)<<6);c=c+4|0;d=d-4|0;if(d){continue}break}}c=(g+l|0)+1|0}g=c;d=0;while(1){c=w[g|0];if((c|32)!=32){g=g+1|0;d=c;if(c<<24>>24>-1){continue}c=d>>>0<240;e=d>>>0<224;l=e?1:c?2:3;j=l-1|0;d=(e?31:c?15:7)&d;c=g;e=l;k=e;while(1){d=w[c|0]&63|d<<6;e=e-1|0;c=c+1|0;k=k-1|0;if(k){continue}break}if(j>>>0>=3){while(1){d=w[c+3|0]&63|((w[c+1|0]&63|(d<<12|(w[c|0]&63)<<6))<<12|(w[c+2|0]&63)<<6);c=c+4|0;e=e-4|0;if(e){continue}break}}g=g+l|0;continue}break}if(d){break b}c=Fg(v[v[a+36>>2]>>2],f);if(!c){break b}if(mn(b,c,1)){break b}c=v[b+84>>2];if(u[c+110>>1]<3){break b}e=0;y=u[c+108>>1];d:{if((y|0)<1){c=0;break d}D=v[c+120>>2];k=v[c+112>>2];d=-1;l=0;c=0;while(1){j=u[(l<<1)+D>>1];e:{if((j|0)<=(e|0)){break e}h=x[q+4>>1];f=h&1;if(h&2){if(f){if((j-e|0)+1&1){f=v[k+(e<<3)>>2];h=(d|0)<0|(f|0)>(c|0);d=h?e:d;c=h?f:c;f=e+1|0}else{f=e}if((e|0)==(j|0)){break e}while(1){e=d;h=(d|0)<0;d=v[k+(f<<3)>>2];h=h|(d|0)>(c|0);o=h?f:e;e=f+1|0;p=v[k+(e<<3)>>2];h=h?d:c;c=(o|0)<0|(p|0)>(h|0);d=c?e:o;c=c?p:h;f=f+2|0;if((e|0)!=(j|0)){continue}break}break e}if((j-e|0)+1&1){f=v[k+(e<<3)>>2];h=(d|0)<0|(f|0)<(c|0);d=h?e:d;c=h?f:c;f=e+1|0}else{f=e}if((e|0)==(j|0)){break e}while(1){e=d;h=(d|0)<0;d=v[k+(f<<3)>>2];h=h|(d|0)<(c|0);o=h?f:e;e=f+1|0;p=v[k+(e<<3)>>2];h=h?d:c;c=(o|0)<0|(p|0)<(h|0);d=c?e:o;c=c?p:h;f=f+2|0;if((e|0)!=(j|0)){continue}break}break e}if(f){if((j-e|0)+1&1){f=v[(k+(e<<3)|0)+4>>2];h=(d|0)<0|(f|0)>(c|0);d=h?e:d;c=h?f:c;f=e+1|0}else{f=e}if((e|0)==(j|0)){break e}while(1){e=d;h=(d|0)<0;d=v[(k+(f<<3)|0)+4>>2];h=h|(d|0)>(c|0);o=h?f:e;e=f+1|0;p=v[(k+(e<<3)|0)+4>>2];h=h?d:c;c=(o|0)<0|(p|0)>(h|0);d=c?e:o;c=c?p:h;f=f+2|0;if((e|0)!=(j|0)){continue}break}break e}if((j-e|0)+1&1){f=v[(k+(e<<3)|0)+4>>2];h=(d|0)<0|(f|0)<(c|0);d=h?e:d;c=h?f:c;f=e+1|0}else{f=e}if((e|0)==(j|0)){break e}while(1){e=d;h=(d|0)<0;d=v[(k+(f<<3)|0)+4>>2];h=h|(d|0)<(c|0);o=h?f:e;e=f+1|0;p=v[(k+(e<<3)|0)+4>>2];h=h?d:c;c=(o|0)<0|(p|0)<(h|0);d=c?e:o;c=c?p:h;f=f+2|0;if((e|0)!=(j|0)){continue}break}}e=j+1|0;l=l+1|0;if((y|0)!=(l|0)){continue}break}}if(s){v[(i+208|0)+(m<<2)>>2]=c;m=m+1|0;break b}v[(n<<2)+i>>2]=c;n=n+1|0}s=0}d=w[g|0];if(d){continue}if(!(m|n)){break a}f:{if(m>>>0<2){break f}f=1;c=m-1|0;l=c&1;if((m|0)!=2){e=c&-2;while(1){d=v[(i+208|0)+(f<<2)>>2];c=f;while(1){g=c-1|0;j=(i+208|0)+(g<<2)|0;k=v[j>>2];if((k|0)>(d|0)){v[(i+208|0)+(c<<2)>>2]=k;v[j>>2]=d;c=g;if(c){continue}}break}c=f+1|0;d=v[(i+208|0)+(c<<2)>>2];while(1){g=c-1|0;j=(i+208|0)+(g<<2)|0;k=v[j>>2];if((k|0)>(d|0)){v[(i+208|0)+(c<<2)>>2]=k;v[j>>2]=d;c=g;if(c){continue}}break}f=f+2|0;e=e-2|0;if(e){continue}break}}if(!l){break f}e=v[(i+208|0)+(f<<2)>>2];while(1){c=f-1|0;g=(i+208|0)+(c<<2)|0;d=v[g>>2];if((d|0)<=(e|0)){break f}v[(i+208|0)+(f<<2)>>2]=d;v[g>>2]=e;f=c;if(c){continue}break}}g:{if(n>>>0<2){break g}f=1;c=n-1|0;l=c&1;if((n|0)!=2){e=c&-2;while(1){d=v[(f<<2)+i>>2];c=f;while(1){g=c-1|0;j=(g<<2)+i|0;k=v[j>>2];if((k|0)>(d|0)){v[(c<<2)+i>>2]=k;v[j>>2]=d;c=g;if(c){continue}}break}c=f+1|0;d=v[(c<<2)+i>>2];while(1){g=c-1|0;j=(g<<2)+i|0;k=v[j>>2];if((k|0)>(d|0)){v[(c<<2)+i>>2]=k;v[j>>2]=d;c=g;if(c){continue}}break}f=f+2|0;e=e-2|0;if(e){continue}break}}if(!l){break g}e=v[(f<<2)+i>>2];while(1){c=f-1|0;g=(c<<2)+i|0;d=v[g>>2];if((d|0)<=(e|0)){break g}v[(f<<2)+i>>2]=d;v[g>>2]=e;f=c;if(c){continue}break}}c=v[r+216>>2];v[r+216>>2]=c+1;c=B(c,28)+r|0;f=c;h:{i:{if(!(!n|!m)){e=v[(i+208|0)+(m<<1&-4)>>2];v[c+220>>2]=e;g=v[(n<<1&-4)+i>>2];v[f+232>>2]=g;if((e|0)==(g|0)){break i}k=x[q+4>>1];if(k&1^(e|0)<=(g|0)){break h}d=f;f=(e+g|0)/2|0;v[d+232>>2]=f;v[c+220>>2]=f;break h}d=f;f=v[((n?n:m)<<1&-4)+(n?i:i+208|0)>>2];v[d+232>>2]=f;v[c+220>>2]=f}k=x[q+4>>1]}v[c+244>>2]=k<<1&2}else{d=w[g+1|0];g=g+1|0;continue}break}}c=q+8|0;d=v[q+8>>2];if((d|0)!=5531){continue}break}}v[i>>2]=0;v[i+224>>2]=v[93536];c=v[93535];v[i+216>>2]=v[93534];v[i+220>>2]=c;c=v[93533];v[i+208>>2]=v[93532];v[i+212>>2]=c;d=48;g=i+208|0;q=0;l=0;h=a;j:{while(1){c=g+1|0;if((d&255)==32){while(1){g=c;c=c+1|0;d=w[g|0];if((d|0)==32){continue}break}}k=v[a+36>>2];f=d&255;if(d<<24>>24<=-1){e=f>>>0<240;d=f>>>0<224;j=d?1:e?2:3;m=j-1|0;f=(d?31:e?15:7)&f;d=j;e=d;while(1){f=w[c|0]&63|f<<6;d=d-1|0;c=c+1|0;e=e-1|0;if(e){continue}break}if(m>>>0>=3){while(1){f=w[c+3|0]&63|((w[c+1|0]&63|(f<<12|(w[c|0]&63)<<6))<<12|(w[c+2|0]&63)<<6);c=c+4|0;d=d-4|0;if(d){continue}break}}c=(g+j|0)+1|0}g=c;m=v[k>>2];d=0;while(1){c=w[g|0];if((c|32)!=32){g=g+1|0;d=c;if(c<<24>>24>-1){continue}c=d>>>0<240;e=d>>>0<224;j=e?1:c?2:3;r=j-1|0;d=(e?31:c?15:7)&d;c=g;e=j;k=e;while(1){d=w[c|0]&63|d<<6;e=e-1|0;c=c+1|0;k=k-1|0;if(k){continue}break}if(r>>>0>=3){while(1){d=w[c+3|0]&63|((w[c+1|0]&63|(d<<12|(w[c|0]&63)<<6))<<12|(w[c+2|0]&63)<<6);c=c+4|0;e=e-4|0;if(e){continue}break}}g=g+j|0;continue}break}k:{if(d){if(i?m:0){Pq(m,0,i)}break k}c=Fg(m,f);f=c;e=v[v[a+36>>2]>>2];if(i?e:0){Pq(e,f,i)}if(!c){break k}f=q;q=1;c=v[i>>2];if(!f){l=c;break k}if((c|0)==(l|0)){break k}a=0;break j}d=w[g|0];if(d){continue}break}a=1}t[h+32|0]=a}qq(b,z);Qb=i+416|0;return 0}function $E(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;e=Qb-784|0;Qb=e;h=fc(12);v[299999]=0;v[h+8>>2]=-1;v[h+4>>2]=c;v[h>>2]=b;b=v[299999];v[299999]=0;if((b|0)!=1){Ge(h,e+528|0,e+12|0);if(Ge(h,e+272|0,e+8|0)){k=(d|0)==8?255:(d|0)==16?65535:-1;o=e+16|1;n=e+272|1;m=e+528|1;while(1){a:{if(v[e+272>>2]==1667593077&v[e+276>>2]==7364973){if(w[e+528|0]==47){c=fc(8);v[299999]=0;i=Q(3063,c|0,m|0)|0;b=v[299999];v[299999]=0;b:{c:{if((b|0)!=1){f=0;b=0;d:{j=v[294330];g=v[j+36>>2];if(v[g+8>>2]<=0){break d}e:{while(1){g=v[v[g>>2]+(f<<2)>>2];b=fc(8);v[299999]=0;g=Q(3064,b|0,g|0)|0;p=v[299999];v[299999]=0;if((p|0)==1){break e}g=Xm(g,v[i+4>>2]);b=cl(v[g+4>>2],240511);dc(Dc(g));if(b){break d}f=f+1|0;g=v[j+36>>2];if((f|0)>2]){continue}break}b=0;break d}a=P()|0;O()|0;dc(b);T(a|0);L()}if(!b){break c}f=$E(a,3367,b,d);Be(b);l=f?1:l;break b}a=P()|0;O()|0;dc(c);T(a|0);L()}v[e>>2]=c;kc(1,-1,344946,e)}Dc(i);dc(c)}Ge(h,e+528|0,e+12|0);break a}if(!Pc(e+272|0,240307,12)){f:{if(!Ge(h,e+528|0,e+12|0)){break f}while(1){if(!Pc(e+528|0,240319,10)){break f}g:{if(Ge(h,e+272|0,e+8|0)){if(Pc(e+272|0,240319,10)){break g}}kc(0,-1,242963,0);break f}h:{if(w[e+528|0]!=60){break h}c=v[e+12>>2];f=c+e|0;if(w[f+527|0]!=62|w[e+272|0]!=60){break h}i=v[e+8>>2];g=i+e|0;if(w[g+271|0]!=62){break h}b=0;t[g+271|0]=0;t[f+527|0]=0;i:{if((c|0)<3){break i}f=c-2|0;c=0;while(1){g=v[(w[c+m|0]<<2)+893504>>2];if((g|0)<0){break h}b=g+(b<<4)|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}if(b>>>0<=k>>>0){break i}kc(0,-1,243011,0);i=v[e+8>>2]}ry(a,b,n,i-2|0,0);l=1;if(Ge(h,e+528|0,e+12|0)){continue}break f}kc(0,-1,242963,0);if(Ge(h,e+528|0,e+12|0)){continue}break}}Ge(h,e+528|0,e+12|0);break a}if(!Pc(e+272|0,283201,13)){j:{if(!Ge(h,e+528|0,e+12|0)){break j}while(1){if(!Pc(e+528|0,283214,11)){break j}k:{l:{if(!Ge(h,e+272|0,e+8|0)){break l}if(!Pc(e+272|0,283214,11)){break l}if(!Ge(h,e+16|0,e+4|0)){break l}if(Pc(e+16|0,283214,11)){break k}}kc(0,-1,243157,0);break j}m:{if(w[e+528|0]!=60){break m}c=v[e+12>>2];g=c+e|0;if(w[g+527|0]!=62|w[e+272|0]!=60){break m}f=v[e+8>>2];i=f+e|0;if(w[i+271|0]!=62){break m}b=0;t[i+271|0]=0;t[g+527|0]=0;g=0;if((c|0)>=3){i=c-2|0;c=0;while(1){j=v[(w[c+m|0]<<2)+893504>>2];if((j|0)<0){break m}g=j+(g<<4)|0;c=c+1|0;if((i|0)!=(c|0)){continue}break}}if((f|0)>=3){f=f-2|0;c=0;while(1){i=v[(w[c+n|0]<<2)+893504>>2];if((i|0)<0){break m}b=i+(b<<4)|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}if(!(g>>>0<=k>>>0&b>>>0<=k>>>0)){kc(0,-1,243206,0);b=b>>>0>k>>>0?k:b}n:{if(x[e+16>>1]==91){c=0;if(!Ge(h,e+528|0,e+12|0)){break n}while(1){if(x[e+528>>1]==93){break n}o:{p:{if(w[e+528|0]!=60){break p}f=v[e+12>>2];i=f+e|0;if(w[i+527|0]!=62){break p}j=c+g|0;if(j>>>0>b>>>0){break o}t[i+527|0]=0;ry(a,j,m,f-2|0,0);l=1;break o}kc(0,-1,243157,0)}c=c+1|0;if(Ge(h,e+528|0,e+12|0)){continue}break}break n}q:{if(w[e+16|0]!=60){break q}c=v[e+4>>2];f=c+e|0;if(w[f+15|0]!=62){break q}t[f+15|0]=0;if(b>>>0>>0){break n}f=0;ry(a,g,o,c-2|0,0);l=1;c=g+1|0;if(c>>>0>b>>>0){break n}while(1){f=f+1|0;ry(a,c,o,v[e+4>>2]-2|0,f);c=c+1|0;if(c>>>0<=b>>>0){continue}break}break n}kc(0,-1,243157,0)}if(Ge(h,e+528|0,e+12|0)){continue}break j}kc(0,-1,243157,0);if(Ge(h,e+528|0,e+12|0)){continue}break}}Ge(h,e+528|0,e+12|0);break a}if(!Pc(e+272|0,240329,13)){kc(0,-1,242862,0);r:{if(!Ge(h,e+528|0,e+12|0)){break r}while(1){if(!Pc(e+528|0,240342,11)){break r}s:{if(Ge(h,e+272|0,e+8|0)){if(Pc(e+272|0,240342,11)){break s}}kc(0,-1,243059,0);break r}t:{if(w[e+528|0]!=60){break t}c=v[e+12>>2];f=c+e|0;if(w[f+527|0]!=62){break t}b=0;t[f+527|0]=0;u:{v:{if((c|0)>2){f=c-2|0;c=0;while(1){g=v[(w[c+m|0]<<2)+893504>>2];if((g|0)<0){break t}b=g+(b<<4)|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}if(b>>>0>k>>>0){kc(0,-1,243108,0)}g=he(e+272|0);if(b>>>0>16777215){break u}break v}g=he(e+272|0)}c=v[a+8>>2];w:{if(c>>>0>b>>>0){f=v[a+4>>2];break w}f=c?c<<1:256;f=b>>>0>>0?f:b+256&-256;v[a+8>>2]=f;f=pd(v[a+4>>2],f,4);v[a+4>>2]=f;if(y[a+8>>2]<=c>>>0){break w}while(1){v[(c<<2)+f>>2]=0;c=c+1|0;if(c>>>0>2]){continue}break}}v[(b<<2)+f>>2]=g}l=1;if(Ge(h,e+528|0,e+12|0)){continue}break r}kc(0,-1,243059,0);if(Ge(h,e+528|0,e+12|0)){continue}break}}Ge(h,e+528|0,e+12|0);break a}x:{if(!Pc(e+272|0,283225,14)){kc(0,-1,242912,0);if(!Ge(h,e+528|0,e+12|0)){break x}while(1){if(!Pc(e+528|0,283239,12)){break x}y:{z:{if(!Ge(h,e+272|0,e+8|0)){break z}if(!Pc(e+272|0,283239,12)){break z}if(!Ge(h,e+16|0,e+4|0)){break z}if(Pc(e+16|0,283239,12)){break y}}kc(0,-1,243255,0);break x}A:{B:{if(w[e+528|0]!=60){break B}c=v[e+12>>2];b=c+e|0;if(w[b+527|0]!=62|w[e+272|0]!=60){break B}g=v[e+8>>2];i=g+e|0;if(w[i+271|0]!=62){break B}f=0;t[i+271|0]=0;t[b+527|0]=0;b=0;if((c|0)>=3){i=c-2|0;c=0;while(1){j=v[(w[c+m|0]<<2)+893504>>2];if((j|0)<0){break B}b=j+(b<<4)|0;c=c+1|0;if((i|0)!=(c|0)){continue}break}}if((g|0)>=3){g=g-2|0;c=0;while(1){i=v[(w[c+n|0]<<2)+893504>>2];if((i|0)<0){break B}f=i+(f<<4)|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}if(!(b>>>0<=k>>>0&f>>>0<=k>>>0)){kc(0,-1,243305,0);f=f>>>0>k>>>0?k:f}if(b>>>0>f>>>0){break A}i=he(e+16|0);while(1){if(b>>>0<=16777215){c=v[a+8>>2];C:{if(c>>>0>b>>>0){g=v[a+4>>2];break C}g=c?c<<1:256;g=b>>>0>>0?g:b+256&-256;v[a+8>>2]=g;g=pd(v[a+4>>2],g,4);v[a+4>>2]=g;if(y[a+8>>2]<=c>>>0){break C}while(1){v[(c<<2)+g>>2]=0;c=c+1|0;if(c>>>0>2]){continue}break}}v[(b<<2)+g>>2]=i}l=1;i=i+1|0;b=b+1|0;if(f>>>0>=b>>>0){continue}break}break A}kc(0,-1,243255,0);if(!Ge(h,e+528|0,e+12|0)){break x}continue}if(Ge(h,e+528|0,e+12|0)){continue}break}break x}ce(e+528|0,e+272|0);break a}Ge(h,e+528|0,e+12|0)}if(Ge(h,e+272|0,e+8|0)){continue}break}}dc(h);Qb=e+784|0;return l}a=P()|0;O()|0;dc(h);T(a|0);L()}function $qa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=Qb-1072|0;Qb=d;while(1){c=a;a=v[a+16>>2];if(a){continue}break}a:{b:{c:{d:{e:{f:{g:{e=c+20|0;h:{if(!jj(e)){break h}h=c+56|0;i:{a=v[c+56>>2];j:{if(!a){v[d+1064>>2]=0;break j}v[a+4>>2]=v[a+4>>2]+1;a=v[h>>2];v[d+1064>>2]=a;if(a){break i}}k:{l:{m:{n:{a=v[294588];if(!a){v[299999]=0;a=S(1,28)|0;b=v[299999];v[299999]=0;if((b|0)==1){break n}v[a+4>>2]=0;v[a+24>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=982456;v[a+16>>2]=0;v[a+20>>2]=0;v[299999]=0;b=a+8|0;v[b>>2]=982500;v[b+4>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;b=v[299999];v[299999]=0;if((b|0)==1){c=P()|0;O()|0;Qc(a);dc(a);break b}v[294588]=a}v[299999]=0;v[d+1056>>2]=0;Q(4336,d+1056|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break n}v[299999]=0;$(4472,d+16|0,a|0,e|0,d+1056|0);a=v[299999];v[299999]=0;if((a|0)==1){break m}v[299999]=0;a=Q(4344,d+1064|0,d+16|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break l}v[299999]=0;Q(4344,h|0,a|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[d+16>>2];v[d+16>>2]=0;o:{if(!a){break o}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;g=v[299999];v[299999]=0;if((g|0)==1){break a}if(b){break o}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}a=v[d+1056>>2];v[d+1056>>2]=0;if(!a){break i}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;g=v[299999];v[299999]=0;if((g|0)!=1){if(b){break i}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break i}}break a}c=P()|0;O()|0;break b}c=P()|0;O()|0;break k}c=P()|0;O()|0;ec(d+16|0)}ec(d+1056|0);break b}v[299999]=0;R(4473,d+16|0);a=v[299999];v[299999]=0;p:{q:{r:{s:{t:{u:{v:{w:{x:{if((a|0)!=1){v[299999]=0;g=c- -64|0;Q(4344,g|0,d+16|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break x}a=v[d+16>>2];v[d+16>>2]=0;y:{if(!a){break y}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(b){break y}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}a=v[c+72>>2];v[299999]=0;R(4474,a+4|0);a=v[299999];v[299999]=0;if((a|0)==1){break w}a=v[294590];if(!a){v[299999]=0;a=S(1,32)|0;b=v[299999];v[299999]=0;if((b|0)==1){break w}v[a>>2]=0;v[a+4>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;v[299999]=0;Q(4475,a|0,982428)|0;b=v[299999];v[299999]=0;if((b|0)==1){break f}v[294590]=a}v[299999]=0;v[d+1048>>2]=0;Q(4336,d+1048|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break w}v[299999]=0;U(4476,a|0,e|0,d+1048|0);a=v[299999];v[299999]=0;if((a|0)==1){break v}a=v[d+1048>>2];v[d+1048>>2]=0;z:{if(!a){break z}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(b){break z}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}v[299999]=0;a=S(4477,d+16|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break u}v[299999]=0;Q(4478,e|0,a|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break t}v[a+24>>2]=981312;v[a>>2]=981280;b=v[a+28>>2];if(b){f=v[b+4>>2]-1|0;v[b+4>>2]=f;if(!f){Ub[v[v[b>>2]+4>>2]](b)}v[a+28>>2]=0}v[a+16>>2]=981312;b=v[a+20>>2];if(b){f=v[b+4>>2]-1|0;v[b+4>>2]=f;if(!f){Ub[v[v[b>>2]+4>>2]](b)}v[a+20>>2]=0}ec(a+8|0);b=0;f=v[d+1064>>2];a=v[f+44>>2];if(a){v[299999]=0;v[a+4>>2]=v[a+4>>2]+1;a=v[299999];v[299999]=0;if((a|0)==1){break s}b=v[f+44>>2]}v[d+1040>>2]=b;a=v[v[b>>2]+20>>2];v[299999]=0;Z(a|0,b|0,0,0,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break r}while(1){a=v[v[d+1064>>2]+44>>2];f=v[v[a>>2]+8>>2];v[299999]=0;a=Y(f|0,a|0,d+16|0,1024)|0;f=v[299999];v[299999]=0;if((f|0)==1){break q}if(!a){break p}f=v[c+76>>2];v[299999]=0;$(4479,c|0,d+16|0,f|0,a|0);f=v[299999];v[299999]=0;if((f|0)==1){break q}v[c+76>>2]=a+v[c+76>>2];continue}}c=P()|0;O()|0;break b}c=P()|0;O()|0;ec(d+16|0);break b}c=P()|0;O()|0;break b}c=P()|0;O()|0;ec(d+1048|0);break b}c=P()|0;O()|0;break b}c=P()|0;O()|0;$c(a);break b}c=P()|0;O()|0;break b}c=P()|0;O()|0;break d}c=P()|0;O()|0;break d}v[299999]=0;a=S(4469,e|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break e}if(!(v[c+16>>2]|a)){t[c+8|0]=1;if(v[c+84>>2]<=-1){a=v[g>>2];e=v[v[a>>2]+28>>2];v[299999]=0;a=S(e|0,a|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break e}v[c+84>>2]=a}a=v[c+96>>2];if(a){while(1){e=v[a+8>>2];if(!v[e+8>>2]){v[e+8>>2]=1}a=v[a>>2];if(a){continue}break}}v[299999]=0;R(4480,c|0);a=v[299999];v[299999]=0;if((a|0)==1){break e}}a=v[294588];if(!a){v[299999]=0;a=S(1,28)|0;e=v[299999];v[299999]=0;if((e|0)==1){break e}v[a+4>>2]=0;v[a+24>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=982456;v[a+16>>2]=0;v[a+20>>2]=0;v[299999]=0;e=a+8|0;v[e>>2]=982500;v[e+4>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;e=v[299999];v[299999]=0;if((e|0)==1){c=P()|0;O()|0;Qc(a);dc(a);break d}v[294588]=a}v[d+8>>2]=0;v[299999]=0;e=v[d+1064>>2];Q(4336,d+8|0,c|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break e}v[299999]=0;U(4459,a|0,e+44|0,d+8|0);a=v[299999];v[299999]=0;if((a|0)==1){break g}a=v[d+8>>2];v[d+8>>2]=0;A:{if(!a){break A}v[299999]=0;c=v[a+4>>2]-1|0;v[a+4>>2]=c;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(c){break A}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}B:{if(!b){break B}v[299999]=0;a=v[b+4>>2]-1|0;v[b+4>>2]=a;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(a){break B}v[299999]=0;R(4338,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}v[299999]=0;Q(4336,h|0,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break c}a=v[d+1064>>2];v[d+1064>>2]=0;if(!a){break h}v[299999]=0;c=v[a+4>>2]-1|0;v[a+4>>2]=c;b=v[299999];v[299999]=0;if((b|0)==1){break a}if(c){break h}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Qb=d+1072|0;return}c=P()|0;O()|0;ec(d+8|0);break d}c=P()|0;O()|0;dc(a);break b}c=P()|0;O()|0}ec(d+1040|0);break b}c=P()|0;O()|0}ec(d+1064|0);T(c|0);L()}W(0)|0;O()|0;lc();L()}function D6a(a){a=a|0;var 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,y=0,z=0;e=Qb-16544|0;Qb=e;v[e+136>>2]=0;v[e+140>>2]=0;v[e+128>>2]=0;v[e+132>>2]=0;b=v[a+26116>>2];p=ic(a+232|0,0,24576);v[a+24812>>2]=p;b=b>>>0<2?b:2;qn(a,B(b,29)+195216|0,0);v[a+24808>>2]=v[a+24812>>2];qn(a,B(b,180)+195312|0,0);l=bd(x[a+26306>>1]<<3,2);if(!l){c=v[a+190640>>2];a:{if(c){b=v[a+25208>>2];v[e+20>>2]=19431;v[e+16>>2]=b;zd(c,4338,e+16|0);break a}b=v[a+25208>>2];v[e+4>>2]=19431;v[e>>2]=b;wc(v[252391],4338,e)}sd(a+190484|0,1);L()}Ub[v[v[a>>2]+8>>2]](v[a+4>>2],0,0)|0;Ub[v[v[a>>2]>>2]](v[a+4>>2],e+160|0,1,16384)|0;b=540;f=1;b:{c:{while(1){g=b+1|0;if(w[(e+160|0)+b|0]==255){if(w[g+(e+160|0)|0]){f=1;n=0;break b}f=0;c=1;b=g;if((b|0)!=16383){continue}break c}b=g;if((b|0)!=16383){continue}break}n=0;if(!(c&1)){break b}}v[a+26124>>2]=1023;f=0;n=1}Ub[v[v[a>>2]+8>>2]](v[a+4>>2],((B(x[a+26306>>1],B(x[a+26304>>1],f))|0)/4|0)+540|0,0)|0;v[a+26144>>2]=1;v[289140]=0;v[289141]=0;v[289139]=0;b=x[a+26304>>1];if(b){j=v[252391];while(1){b=b-o|0;b=B(x[a+26306>>1],(b|0)<8?b:8);if((b|0)>=64){r=b&-64;m=b>>>6|0;g=t;q=0;while(1){ic(e+160|0,0,256);h=0;f=p;while(1){b=v[f>>2];d:{if(!b){c=f;break d}i=0;c=f;if(v[289141]){while(1){c=b;b=v[b>>2];if(b){continue}break d}}while(1){d=0;e:{if(i){break e}f=v[289140];f:{if((f|0)>=1){b=v[289139];break f}while(1){g:{h:{i=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;i:{if((i|0)==-1){if(!v[a+26160>>2]){v[e+112>>2]=v[a+25208>>2];wc(j,8292,e+112|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,j);v[a+26160>>2]=1;break i}b=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[e+96>>2]=b;v[e+100>>2]=b>>31;wc(j,14622,e+96|0)}v[a+26160>>2]=1;break i}if(!v[a+26144>>2]){break i}if((i|0)==255){break h}}v[289141]=0;break g}d=0;b=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[289141]=(b|0)!=0;if(!b){break g}i=1;break e}d=v[289140];f=d+8|0;v[289140]=f;b=i&255|v[289139]<<8;v[289139]=b;if((d|0)<-7){continue}break}}i=0;v[289140]=f-1;d=b<<32-f>>>31|0}c=v[(d<<2)+c>>2];if(v[c>>2]){continue}break}}f=v[a+24808>>2];c=v[c+8>>2];j:{if(!(h?c:1)){break j}k:{if((c|0)==255){b=h;break k}b=(c>>4)+h|0;i=c&15;if(!i){break k}h=0;l:{if(v[289141]){break l}c=v[289140];m:{if((i|0)<=(c|0)){d=v[289139];break m}while(1){d=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;n:{if((d|0)==-1){if(!v[a+26160>>2]){v[e+80>>2]=v[a+25208>>2];wc(j,8292,e+80|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,j);v[a+26160>>2]=1;v[289141]=0;break n}c=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[e+64>>2]=c;v[e+68>>2]=c>>31;wc(j,14622,e- -64|0)}v[a+26160>>2]=1;v[289141]=0;break n}if(!((d|0)==255?v[a+26144>>2]:0)){v[289141]=0;break n}c=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[289141]=(c|0)!=0;h=0;if(c){break l}}c=v[289140]+8|0;v[289140]=c;d=d&255|v[289139]<<8;v[289139]=d;if((c|0)<(i|0)){continue}break}}h=c-i|0;v[289140]=h;c=32-i|0;h=d<>>c|0}if((b|0)>63){break j}v[(e+160|0)+(b<<2)>>2]=h+(h>>>i-1&1?0:-1<>2]+y|0;v[e+160>>2]=y;f=q<<6;b=0;d=g;while(1){if(!((d|0)%x[a+26306>>1]|0)){v[e+152>>2]=512;v[e+156>>2]=512}c=(e+152|0)+((b&1)<<2)|0;h=v[c>>2]+v[(e+160|0)+(b<<2)>>2]|0;v[c>>2]=h;u[(b+f<<1)+l>>1]=h;if(h&64512){o:{if(v[a+26160>>2]){break o}v[e+48>>2]=v[a+25208>>2];wc(j,8292,e+48|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,j);break o}c=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[e+32>>2]=c;v[e+36>>2]=c>>31;wc(j,14622,e+32|0)}v[a+26160>>2]=1}d=d+1|0;b=b+1|0;if((b|0)!=64){continue}break}g=g- -64|0;q=q+1|0;if((m|0)!=(q|0)){continue}break}t=t+r|0}if(!n){f=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;i=0;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],(B(x[a+26306>>1],o)>>>2|0)+26|0,0)|0;b=l;if(x[a+26306>>1]){while(1){h=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;c=h&3|x[b>>1]<<2;r=c>>>0<512?c+2|0:c;g=c;c=x[a+26306>>1];d=(c|0)==2672;u[b>>1]=d?r:g;g=h>>>2&3|x[b+2>>1]<<2;u[b+2>>1]=d?g>>>0<512?g+2|0:g:g;g=h>>>4&3|x[b+4>>1]<<2;u[b+4>>1]=d?g>>>0<512?g+2|0:g:g;g=h>>>6&3|x[b+6>>1]<<2;u[b+6>>1]=d?g>>>0<512?g+2|0:g:g;b=b+8|0;i=i+1|0;if(i>>>0>>0){continue}break}}Ub[v[v[a>>2]+8>>2]](v[a+4>>2],f,0)|0}f=0;while(1){m=(o-x[a+26312>>1]|0)+f|0;p:{if(m>>>0>=x[a+26308>>1]){break p}d=x[a+26306>>1];if(!d){break p}h=m<<1&14;c=0-x[a+26314>>1]|0;if(c>>>0>1]){b=x[a+26316>>1];u[(v[a+26352>>2]+(B(x[a+26320>>1],m>>>b|0)+(c>>>b|0)<<3)|0)+((v[a+26028>>2]>>>((h|c&1)<<1)&3)<<1)>>1]=x[(B(d,f)<<1)+l>>1];d=x[a+26306>>1]}if(d>>>0<2){break p}c=1-x[a+26314>>1]|0;if(c>>>0>1]){b=x[a+26316>>1];u[(v[a+26352>>2]+(B(x[a+26320>>1],m>>>b|0)+(c>>>b|0)<<3)|0)+((v[a+26028>>2]>>>((h|c&1)<<1)&3)<<1)>>1]=x[((B(d,f)<<1)+l|0)+2>>1];d=x[a+26306>>1]}i=d;b=2;if(d>>>0<3){break p}while(1){g=x[(B(d,f)+b<<1)+l>>1];d=b-x[a+26314>>1]|0;q:{if(d>>>0>1]){c=x[a+26316>>1];u[(v[a+26352>>2]+(B(x[a+26320>>1],m>>>c|0)+(d>>>c|0)<<3)|0)+((v[a+26028>>2]>>>((h|d&1)<<1)&3)<<1)>>1]=g;i=x[a+26306>>1];break q}c=e+128|(d&1)<<3;A[c>>3]=A[c>>3]+ +(g>>>0)}b=b+1|0;d=i&65535;if(b>>>0>>0){continue}break}}f=f+1|0;if((f|0)!=8){continue}break}b=x[a+26304>>1];o=o+8|0;if(b>>>0>o>>>0){continue}break}}dc(l);c=x[a+26306>>1];d=x[a+26310>>1];if(c>>>0>=d+4>>>0){b=x[a+26308>>1];k=+(B(b,(c-d|0)-2|0)>>1);s=A[e+128>>3]/k;A[e+128>>3]=s;z=A[e+136>>3]/k;k=s-z;r:{if(D(k)<2147483648){c=~~k;break r}c=-2147483648}if(!(!c|!b)){f=0;while(1){if((d&65535)>>>0>=2){p=v[a+26028>>2]>>>(f<<2&28|2)&3;n=v[a+26352>>2];b=1;while(1){g=x[a+26316>>1];g=(n+(B(x[a+26320>>1],f>>>g|0)+(b>>>g|0)<<3)|0)+(p<<1)|0;u[g>>1]=c+x[g>>1];b=b+2|0;d=x[a+26310>>1];if(b>>>0>>0){continue}break}b=x[a+26308>>1]}f=f+1|0;if(f>>>0<(b&65535)>>>0){continue}break}}k=(s+(z+ +(c|0))+1)*.5;s:{if(k<4294967296&k>=0){c=~~k>>>0;break s}c=0}v[a+26120>>2]=c}Qb=e+16544|0}function D0(a,b,c){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,p=0,q=0,r=0,s=0,t=0;f=Qb-144|0;Qb=f;a:{if((c|0)<=0){v[f+16>>2]=0;v[f+20>>2]=0;v[f+40>>2]=0;v[f+44>>2]=0;v[f+48>>2]=0;v[f+52>>2]=0;v[f+56>>2]=0;v[f+60>>2]=0;e=f- -64|0;v[e>>2]=0;v[e+4>>2]=0;v[f+72>>2]=0;v[f+76>>2]=0;v[f+88>>2]=0;v[f+92>>2]=0;v[f+80>>2]=0;v[f+84>>2]=1072693248;v[f+96>>2]=0;v[f+100>>2]=0;v[f+104>>2]=0;v[f+108>>2]=0;v[f+112>>2]=0;v[f+116>>2]=0;v[f+120>>2]=0;v[f+124>>2]=0;v[f+128>>2]=0;v[f+132>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;v[f>>2]=0;v[f+4>>2]=0;v[f+32>>2]=0;v[f+36>>2]=0;v[f+24>>2]=0;v[f+28>>2]=1072693248;v[f+136>>2]=0;v[f+140>>2]=1072693248;break a}v[f+40>>2]=0;v[f+44>>2]=0;v[f+32>>2]=0;v[f+36>>2]=0;v[f+24>>2]=0;v[f+28>>2]=1072693248;h=c&3;l=c-1|0;if(l>>>0>=3){i=c&-4;while(1){d=A[B(e,24)+a>>3];k=k+d*d;d=A[B(e|1,24)+a>>3];k=k+d*d;d=A[B(e|2,24)+a>>3];k=k+d*d;d=A[B(e|3,24)+a>>3];k=k+d*d;e=e+4|0;i=i-4|0;if(i){continue}break}}if(h){while(1){d=A[B(e,24)+a>>3];k=k+d*d;e=e+1|0;h=h-1|0;if(h){continue}break}}A[f>>3]=k;h=c&3;b:{if(l>>>0<3){e=0;break b}i=c&-4;e=0;while(1){g=B(e,24)+a|0;d=m+A[g>>3]*A[g+8>>3];g=B(e|1,24)+a|0;d=d+A[g>>3]*A[g+8>>3];g=B(e|2,24)+a|0;d=d+A[g>>3]*A[g+8>>3];g=B(e|3,24)+a|0;m=d+A[g>>3]*A[g+8>>3];e=e+4|0;i=i-4|0;if(i){continue}break}}if(h){while(1){i=B(e,24)+a|0;m=m+A[i>>3]*A[i+8>>3];e=e+1|0;h=h-1|0;if(h){continue}break}}A[f+8>>3]=m;h=c&3;c:{if(l>>>0<3){e=0;break c}i=c&-4;e=0;while(1){g=B(e,24)+a|0;d=n+A[g>>3]*A[g+16>>3];g=B(e|1,24)+a|0;d=d+A[g>>3]*A[g+16>>3];g=B(e|2,24)+a|0;d=d+A[g>>3]*A[g+16>>3];g=B(e|3,24)+a|0;n=d+A[g>>3]*A[g+16>>3];e=e+4|0;i=i-4|0;if(i){continue}break}}if(h){while(1){i=B(e,24)+a|0;n=n+A[i>>3]*A[i+16>>3];e=e+1|0;h=h-1|0;if(h){continue}break}}e=f- -64|0;v[e>>2]=0;v[e+4>>2]=0;v[f+72>>2]=0;v[f+76>>2]=0;v[f+88>>2]=0;v[f+92>>2]=0;v[f+80>>2]=0;v[f+84>>2]=1072693248;A[f+16>>3]=n;h=c&3;d:{if(l>>>0<3){e=0;d=0;break d}i=c&-4;e=0;d=0;while(1){g=B(e,24)+a|0;d=d+A[g+8>>3]*A[g>>3];g=B(e|1,24)+a|0;d=d+A[g+8>>3]*A[g>>3];g=B(e|2,24)+a|0;d=d+A[g+8>>3]*A[g>>3];g=B(e|3,24)+a|0;d=d+A[g+8>>3]*A[g>>3];e=e+4|0;i=i-4|0;if(i){continue}break}}if(h){while(1){i=B(e,24)+a|0;d=d+A[i+8>>3]*A[i>>3];e=e+1|0;h=h-1|0;if(h){continue}break}}A[f+48>>3]=d;h=c&3;e:{if(l>>>0<3){e=0;d=0;break e}i=c&-4;e=0;d=0;while(1){j=d;d=A[(B(e,24)+a|0)+8>>3];j=j+d*d;d=A[(B(e|1,24)+a|0)+8>>3];j=j+d*d;d=A[(B(e|2,24)+a|0)+8>>3];j=j+d*d;d=A[(B(e|3,24)+a|0)+8>>3];d=j+d*d;e=e+4|0;i=i-4|0;if(i){continue}break}}if(h){while(1){j=d;d=A[(B(e,24)+a|0)+8>>3];d=j+d*d;e=e+1|0;h=h-1|0;if(h){continue}break}}A[f+56>>3]=d;h=c&3;f:{if(l>>>0<3){e=0;d=0;break f}i=c&-4;e=0;d=0;while(1){g=B(e,24)+a|0;d=d+A[g+8>>3]*A[g+16>>3];g=B(e|1,24)+a|0;d=d+A[g+8>>3]*A[g+16>>3];g=B(e|2,24)+a|0;d=d+A[g+8>>3]*A[g+16>>3];g=B(e|3,24)+a|0;d=d+A[g+8>>3]*A[g+16>>3];e=e+4|0;i=i-4|0;if(i){continue}break}}if(h){while(1){i=B(e,24)+a|0;d=d+A[i+8>>3]*A[i+16>>3];e=e+1|0;h=h-1|0;if(h){continue}break}}v[f+112>>2]=0;v[f+116>>2]=0;v[f+120>>2]=0;v[f+124>>2]=0;v[f+128>>2]=0;v[f+132>>2]=0;v[f+136>>2]=0;v[f+140>>2]=1072693248;A[f+64>>3]=d;h=c&3;g:{if(l>>>0<3){e=0;d=0;break g}i=c&-4;e=0;d=0;while(1){g=B(e,24)+a|0;d=d+A[g+16>>3]*A[g>>3];g=B(e|1,24)+a|0;d=d+A[g+16>>3]*A[g>>3];g=B(e|2,24)+a|0;d=d+A[g+16>>3]*A[g>>3];g=B(e|3,24)+a|0;d=d+A[g+16>>3]*A[g>>3];e=e+4|0;i=i-4|0;if(i){continue}break}}if(h){while(1){i=B(e,24)+a|0;d=d+A[i+16>>3]*A[i>>3];e=e+1|0;h=h-1|0;if(h){continue}break}}A[f+96>>3]=d;h=c&3;h:{if(l>>>0<3){e=0;d=0;break h}i=c&-4;e=0;d=0;while(1){g=B(e,24)+a|0;d=d+A[g+16>>3]*A[g+8>>3];g=B(e|1,24)+a|0;d=d+A[g+16>>3]*A[g+8>>3];g=B(e|2,24)+a|0;d=d+A[g+16>>3]*A[g+8>>3];g=B(e|3,24)+a|0;d=d+A[g+16>>3]*A[g+8>>3];e=e+4|0;i=i-4|0;if(i){continue}break}}if(h){while(1){i=B(e,24)+a|0;d=d+A[i+16>>3]*A[i+8>>3];e=e+1|0;h=h-1|0;if(h){continue}break}}A[f+104>>3]=d;h=c&3;i:{if(l>>>0<3){e=0;d=0;break i}i=c&-4;e=0;d=0;while(1){j=d;d=A[(B(e,24)+a|0)+16>>3];j=j+d*d;d=A[(B(e|1,24)+a|0)+16>>3];j=j+d*d;d=A[(B(e|2,24)+a|0)+16>>3];j=j+d*d;d=A[(B(e|3,24)+a|0)+16>>3];d=j+d*d;e=e+4|0;i=i-4|0;if(i){continue}break}}if(h){while(1){j=d;d=A[(B(e,24)+a|0)+16>>3];d=j+d*d;e=e+1|0;h=h-1|0;if(h){continue}break}}A[f+112>>3]=d}h=0;o=1;l=f+96|0;d=k;while(1){j:{e=B(h,48)+f|0;p=p/d;A[e+40>>3]=p;q=q/d;A[e+32>>3]=q;o=o/d;A[e+24>>3]=o;n=n/d;A[e+16>>3]=n;m=m/d;A[e+8>>3]=m;k=k/d;A[e>>3]=k;i=e|8;k:{if(h){d=A[(h<<3)+f>>3];A[f>>3]=A[f>>3]-d*k;A[f+8>>3]=A[f+8>>3]-d*m;A[f+16>>3]=A[f+16>>3]-d*n;A[f+24>>3]=A[f+24>>3]-d*o;A[f+32>>3]=A[f+32>>3]-d*q;A[f+40>>3]=A[f+40>>3]-d*p;if((h|0)==1){break k}}d=A[(f+48|0)+(h<<3)>>3];A[f+48>>3]=A[f+48>>3]-d*A[e>>3];A[f+56>>3]=A[f+56>>3]-d*A[i>>3];A[f+64>>3]=A[f+64>>3]-d*A[e+16>>3];A[f+72>>3]=A[f+72>>3]-d*A[e+24>>3];A[f+80>>3]=A[f+80>>3]-d*A[e+32>>3];A[f+88>>3]=A[f+88>>3]-d*A[e+40>>3];if((h|0)==2){break j}}d=A[l+(h<<3)>>3];A[f+96>>3]=A[f+96>>3]-d*A[e>>3];A[f+104>>3]=A[f+104>>3]-d*A[i>>3];A[f+112>>3]=A[f+112>>3]-d*A[e+16>>3];A[f+120>>3]=A[f+120>>3]-d*A[e+24>>3];A[f+128>>3]=A[f+128>>3]-d*A[e+32>>3];A[f+136>>3]=A[f+136>>3]-d*A[e+40>>3];h=h+1|0;e=B(h,48)+f|0;d=A[e+(h<<3)>>3];p=A[e+40>>3];q=A[e+32>>3];o=A[e+24>>3];n=A[e+16>>3];m=A[e+8>>3];k=A[e>>3];continue}break}if((c|0)>=1){d=A[f+136>>3];k=A[f+128>>3];m=A[f+120>>3];n=A[f+88>>3];o=A[f+80>>3];p=A[f+72>>3];i=0;q=A[f+40>>3];s=A[f+32>>3];t=A[f+24>>3];while(1){h=B(i,24);e=h+b|0;v[e>>2]=0;v[e+4>>2]=0;h=a+h|0;j=t*A[h>>3]+0;A[e>>3]=j;j=j+s*A[h+8>>3];A[e>>3]=j;r=A[h+16>>3];v[e+8>>2]=0;v[e+12>>2]=0;A[e>>3]=j+q*r;j=p*A[h>>3]+0;A[e+8>>3]=j;j=j+o*A[h+8>>3];A[e+8>>3]=j;r=A[h+16>>3];v[e+16>>2]=0;v[e+20>>2]=0;A[e+8>>3]=j+n*r;j=m*A[h>>3]+0;A[e+16>>3]=j;j=j+k*A[h+8>>3];A[e+16>>3]=j;A[e+16>>3]=j+d*A[h+16>>3];i=i+1|0;if((i|0)!=(c|0)){continue}break}}Qb=f+144|0}function Ur(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{c=v[a+36>>2];b=v[c+16>>2];b:{if(w[b|0]!=60|w[b+1|0]!=33|(w[b+2|0]!=45|w[b+3|0]!=45)){break b}l=v[a+172>>2];v[a+172>>2]=5;k=v[c+56>>2];v[a+200>>2]=v[a+200>>2]+4;v[c+16>>2]=b+4;v[c+32>>2]=v[c+32>>2]+4;b=w[b+4|0];if((b|0)==37){wd(a);c=v[a+36>>2];b=w[v[c+16>>2]]}c:{if(b&255){break c}if((cd(c)|0)>0){break c}vd(a)}d:{if(v[a+292>>2]){break d}e=v[a+36>>2];b=v[e+16>>2];if(!((b-v[e+12>>2]|0)<501|(v[e+20>>2]-b|0)>499)){Vr(a);if(v[a+292>>2]){break d}}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break d}nd(a)}c=v[a+36>>2];d=v[c+16>>2];g=w[d|0];j=100;b=0;e:{while(1){f:{if((g&255)!=10){i=v[c+32>>2];break f}f=v[c+28>>2];g=d;while(1){i=1;v[c+32>>2]=1;f=f+1|0;v[c+28>>2]=f;e=w[g+1|0];d=g+1|0;g=d;if((e|0)==10){continue}break}}while(1){e=b;while(1){b=w[d|0];if(!(!(b>>>0>=46&b<<24>>24>-1|(b|0)==9)&(b-32&255)>>>0>12)){i=i+1|0;d=d+1|0;continue}v[c+32>>2]=i;g=w[d|0];if((g|0)==10){f=v[c+28>>2];g=d;while(1){i=1;v[c+32>>2]=1;f=f+1|0;v[c+28>>2]=f;b=w[g+1|0];d=g+1|0;g=d;if((b|0)==10){continue}break}continue}break}f=d-v[c+16>>2]|0;g:{if(!f){b=e;break g}b=v[a>>2];if(!b){b=e;break g}if(!v[b+80>>2]){b=e;break g}h:{if(!e){h=0;i:{if((g|0)==45){b=1;if(w[d+1|0]==45){break i}}b=100}j=b+f|0;b=Ub[v[259707]](j)|0;if(b){break h}break a}b=f+h|0;if(b+1>>>0>>0){b=e;break h}j=(b+j|0)+100|0;b=Ub[v[259709]](e,j)|0;if(b){break h}Ub[v[259708]](e);break a}gc(b+h|0,v[v[a+36>>2]+16>>2],f);h=f+h|0;t[h+b|0]=0}if(!(w[a+362|0]&8|h>>>0<10000001)){hf(a,45,287640,0);Ub[v[259708]](b);return}c=v[a+36>>2];v[c+16>>2]=d;f=d;e=w[d|0];if((e|0)==10){v[c+32>>2]=1;v[c+28>>2]=v[c+28>>2]+1;f=d+1|0;e=w[d+1|0]}j:{if(!((e&255)!=13|w[f+1|0]!=10)){v[c+32>>2]=1;v[c+16>>2]=f+1;v[c+28>>2]=v[c+28>>2]+1;d=f+2|0;g=w[f+2|0];break j}k:{if(v[a+292>>2]){break k}l:{if((d-v[c+12>>2]|0)<501|(v[c+20>>2]-d|0)>499){break l}bh(c);e=v[a+36>>2];if(w[v[e+16>>2]]){break l}if((cd(e)|0)>0){break l}vd(a)}if(v[a+292>>2]){break k}e=v[a+36>>2];if((v[e+20>>2]-v[e+16>>2]|0)>249){break k}nd(a)}if(v[a+172>>2]==-1){Ub[v[259708]](b);return}c=v[a+36>>2];d=v[c+16>>2];g=w[d|0];if((g|0)!=45){break j}m:{if(w[d+1|0]!=45){g=v[c+32>>2];break m}if(w[d+2|0]==62){if((k|0)!=v[c+56>>2]){Nd(a,90,347096);c=v[a+36>>2];d=v[c+16>>2]}v[a+200>>2]=v[a+200>>2]+3;v[c+16>>2]=d+3;v[c+32>>2]=v[c+32>>2]+3;e=w[d+3|0];if((e|0)==37){wd(a);c=v[a+36>>2];e=w[v[c+16>>2]]}n:{if(e&255){break n}if((cd(c)|0)>0){break n}vd(a)}o:{p:{q:{e=v[a>>2];if(!e){break q}d=v[e+80>>2];if(v[a+212>>2]|!d){break q}e=v[a+4>>2];if(b){Ub[d|0](e,b);break p}Ub[d|0](e,358460);break o}if(!b){break o}}Ub[v[259708]](b)}if(v[a+172>>2]!=-1){break e}break b}r:{if(b){hf(a,80,349167,b);break r}hf(a,80,348136,0)}d=d+1|0;c=v[a+36>>2];g=v[c+32>>2]+1|0;v[c+32>>2]=g}i=g+1|0;v[c+32>>2]=i;d=d+1|0;continue}break}e=g&255;if(g<<24>>24>-1&e>>>0>=32){continue}g=9;if((e|0)==9){continue}break}i=0;c=Qb-16|0;Qb=c;k=v[v[a+36>>2]+56>>2];e=b;s:{t:{if(b){break t}h=0;j=100;e=Ub[v[259707]](100)|0;if(e){break t}Qd(a,0);break s}u:{if(v[a+292>>2]){break u}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break u}nd(a)}v:{g=bf(a,c+12|0);if(!g){break v}w:{x:{if((g|0)<=255){if((g|0)>31){break w}if(!(1<>>0>13){break x}break w}if((g|0)<55296|g-65536>>>0<1048576|g-57344>>>0<8190){break w}}ok(a,9,354332,g);Ub[v[259708]](e);break s}d=v[a+36>>2];b=v[d+16>>2];y:{if(w[b|0]==10){v[d+32>>2]=1;v[d+28>>2]=v[d+28>>2]+1;break y}v[d+32>>2]=v[d+32>>2]+1}b=b+v[c+12>>2]|0;v[d+16>>2]=b;if(w[b|0]==37){wd(a)}b=bf(a,c+8|0);if(!b){break v}z:{A:{if((b|0)<=255){if((b|0)>31){break z}if(!(1<>>0>13){break A}break z}if((b|0)<55296|b-65536>>>0<1048576|b-57344>>>0<8190){break z}}ok(a,9,354332,g);Ub[v[259708]](e);break s}f=v[a+36>>2];d=v[f+16>>2];B:{if(w[d|0]==10){v[f+32>>2]=1;v[f+28>>2]=v[f+28>>2]+1;break B}v[f+32>>2]=v[f+32>>2]+1}d=d+v[c+8>>2]|0;v[f+16>>2]=d;if(w[d|0]==37){wd(a)}f=bf(a,c+4|0);if(!f){break v}while(1){d=b;C:{D:{E:{F:{G:{if((f|0)<=255){if((f|0)>31){break G}if(1<>>0<=13:0){break C}t[e+h|0]=0;if(f){break E}hf(a,45,349208,e);break D}if((f|0)<55296|f-65536>>>0<1048576){break C}if(f-57344>>>0>=8190){break F}break C}if((f|0)!=62|(d|0)!=45|(g|0)!=45){break C}t[e+h|0]=0;if((k|0)!=v[v[a+36>>2]+56>>2]){Nd(a,90,347147)}xd(a);b=v[a>>2];if(!b){break D}b=v[b+80>>2];if(v[a+212>>2]|!b){break D}Ub[b|0](v[a+4>>2],e);break D}t[e+h|0]=0}ok(a,9,354332,f)}Ub[v[259708]](e);break s}H:{if((d|0)!=45|(g|0)!=45|(v[a+172>>2]==-1?v[a+212>>2]:0)){break H}v[a+84>>2]=80;v[c>>2]=339172;oc(0,0,0,a,0,1,80,3,0,0,0,0,350078,c);v[a+12>>2]=0;if(v[a+288>>2]){break H}v[a+212>>2]=1}if(!(w[a+362|0]&8|h>>>0<10000001)){hf(a,45,287640,0);Ub[v[259708]](e);break s}I:{if(h+5>>>0>>0){b=e;break I}j=j<<1;b=Ub[v[259709]](e,j)|0;if(b){break I}Ub[v[259708]](e);Qd(a,0);break s}e=b;J:{if(v[c+12>>2]==1){t[e+h|0]=g;h=h+1|0;break J}h=li(e+h|0,g)+h|0}v[c+12>>2]=v[c+8>>2];v[c+8>>2]=v[c+4>>2];K:{i=i+1|0;if(i>>>0<51){break K}L:{if(v[a+292>>2]){break L}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break L}nd(a)}i=0;if(v[a+172>>2]!=-1){break K}Ub[v[259708]](e);break s}g=v[a+36>>2];b=v[g+16>>2];M:{if(w[b|0]==10){v[g+32>>2]=1;v[g+28>>2]=v[g+28>>2]+1;break M}v[g+32>>2]=v[g+32>>2]+1}b=b+v[c+4>>2]|0;v[g+16>>2]=b;if(w[b|0]==37){wd(a)}g=d;b=f;f=bf(a,c+4|0);if(f){continue}N:{if(v[a+292>>2]){break N}f=v[a+36>>2];d=v[f+16>>2];O:{if((d-v[f+12>>2]|0)<501|(v[f+20>>2]-d|0)>499){break O}bh(f);d=v[a+36>>2];if(w[v[d+16>>2]]){break O}if((cd(d)|0)>0){break O}vd(a)}if(v[a+292>>2]){break N}d=v[a+36>>2];if((v[d+20>>2]-v[d+16>>2]|0)>249){break N}nd(a)}f=bf(a,c+4|0);continue}}hf(a,45,353591,0);Ub[v[259708]](e)}Qb=c+16|0}v[a+172>>2]=l}return}Qd(a,0);v[a+172>>2]=l}function HO(a,b,c,d,e,f,g){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,u=0;m=B((e|0)>0?B(b,e):0,3)+a|0;n=d-1|0;a:{if((e|0)<1){break a}j=B(n,3)+m|0;if((c|0)>=1){o=B(c,3)+m|0;r=(c|0)<(d|0)&(c|0)<4;k=c&-4;i=c&3;s=c-1>>>0<3;while(1){a=0;h=k;if(!s){while(1){l=B(a,3)+g|0;q=w[o|0]|w[o+1|0]<<8;t[l|0]=q;t[l+1|0]=q>>>8;t[l+2|0]=w[o+2|0];l=B(a|1,3)+g|0;t[l+2|0]=w[o+2|0];q=w[o|0]|w[o+1|0]<<8;t[l|0]=q;t[l+1|0]=q>>>8;l=B(a|2,3)+g|0;t[l+2|0]=w[o+2|0];q=w[o|0]|w[o+1|0]<<8;t[l|0]=q;t[l+1|0]=q>>>8;l=B(a|3,3)+g|0;t[l+2|0]=w[o+2|0];q=w[o|0]|w[o+1|0]<<8;t[l|0]=q;t[l+1|0]=q>>>8;a=a+4|0;h=h-4|0;if(h){continue}break}}h=i;if(h){while(1){l=B(a,3)+g|0;q=w[o|0]|w[o+1|0]<<8;t[l|0]=q;t[l+1|0]=q>>>8;t[l+2|0]=w[o+2|0];a=a+1|0;h=h-1|0;if(h){continue}break}}a=c;b:{if(!r){break b}while(1){l=B(a,3);h=l+g|0;l=m+l|0;q=w[l|0]|w[l+1|0]<<8;t[h|0]=q;t[h+1|0]=q>>>8;t[h+2|0]=w[l+2|0];a=a+1|0;if((a|0)>=4){break b}if((a|0)<(d|0)){continue}break}}c:{if((a|0)>=4){break c}q=(a^-1)+4|0;h=4-a&3;if(h){while(1){l=B(a,3)+g|0;u=w[j|0]|w[j+1|0]<<8;t[l|0]=u;t[l+1|0]=u>>>8;t[l+2|0]=w[j+2|0];a=a+1|0;h=h-1|0;if(h){continue}break}}if(q>>>0<3){break c}while(1){h=B(a,3)+g|0;l=w[j|0]|w[j+1|0]<<8;t[h|0]=l;t[h+1|0]=l>>>8;t[h+2|0]=w[j+2|0];t[h+5|0]=w[j+2|0];l=w[j|0]|w[j+1|0]<<8;t[h+3|0]=l;t[h+4|0]=l>>>8;l=w[j|0]|w[j+1|0]<<8;t[h+6|0]=l;t[h+7|0]=l>>>8;t[h+8|0]=w[j+2|0];l=w[j|0]|w[j+1|0]<<8;t[h+9|0]=l;t[h+10|0]=l>>>8;t[h+11|0]=w[j+2|0];a=a+4|0;if((a|0)!=4){continue}break}}g=g+12|0;p=p+1|0;if((p|0)>=(e|0)){break a}if((p|0)<4){continue}break}break a}if((d|0)>=1){while(1){a=0;while(1){d:{k=B(a,3);h=k+g|0;k=k+m|0;i=w[k|0]|w[k+1|0]<<8;t[h|0]=i;t[h+1|0]=i>>>8;t[h+2|0]=w[k+2|0];h=a;a=a+1|0;k=(a|0)>=4;if(k){break d}if((a|0)<(d|0)){continue}}break}e:{if(k){break e}i=4-a&3;if(i){while(1){k=B(a,3)+g|0;o=w[j|0]|w[j+1|0]<<8;t[k|0]=o;t[k+1|0]=o>>>8;t[k+2|0]=w[j+2|0];a=a+1|0;i=i-1|0;if(i){continue}break}}if(2-h>>>0<3){break e}while(1){h=B(a,3)+g|0;k=w[j|0]|w[j+1|0]<<8;t[h|0]=k;t[h+1|0]=k>>>8;t[h+2|0]=w[j+2|0];t[h+5|0]=w[j+2|0];k=w[j|0]|w[j+1|0]<<8;t[h+3|0]=k;t[h+4|0]=k>>>8;k=w[j|0]|w[j+1|0]<<8;t[h+6|0]=k;t[h+7|0]=k>>>8;t[h+8|0]=w[j+2|0];k=w[j|0]|w[j+1|0]<<8;t[h+9|0]=k;t[h+10|0]=k>>>8;t[h+11|0]=w[j+2|0];a=a+4|0;if((a|0)!=4){continue}break}}g=g+12|0;p=p+1|0;if((p|0)>=(e|0)){break a}if((p|0)<4){continue}break}break a}while(1){a=0;h=4;while(1){k=B(a,3)+g|0;i=w[j|0]|w[j+1|0]<<8;t[k|0]=i;t[k+1|0]=i>>>8;t[k+2|0]=w[j+2|0];k=B(a|1,3)+g|0;t[k+2|0]=w[j+2|0];i=w[j|0]|w[j+1|0]<<8;t[k|0]=i;t[k+1|0]=i>>>8;k=B(a|2,3)+g|0;t[k+2|0]=w[j+2|0];i=w[j|0]|w[j+1|0]<<8;t[k|0]=i;t[k+1|0]=i>>>8;k=B(a|3,3)+g|0;t[k+2|0]=w[j+2|0];i=w[j|0]|w[j+1|0]<<8;t[k|0]=i;t[k+1|0]=i>>>8;a=a+4|0;h=h-4|0;if(h){continue}break}g=g+12|0;p=p+1|0;if((p|0)>=(e|0)){break a}if((p|0)<4){continue}break}}f:{if((f|0)<=(p|0)|(p|0)>=4){break f}e=c&-4;k=c&3;o=(c|0)<1;l=c-1>>>0>2;while(1){a=0;g:{if(o){break g}j=B(c,3)+m|0;i=0;h=e;if(l){while(1){a=B(i,3)+g|0;r=w[j|0]|w[j+1|0]<<8;t[a|0]=r;t[a+1|0]=r>>>8;t[a+2|0]=w[j+2|0];a=B(i|1,3)+g|0;t[a+2|0]=w[j+2|0];r=w[j|0]|w[j+1|0]<<8;t[a|0]=r;t[a+1|0]=r>>>8;a=B(i|2,3)+g|0;t[a+2|0]=w[j+2|0];r=w[j|0]|w[j+1|0]<<8;t[a|0]=r;t[a+1|0]=r>>>8;a=B(i|3,3)+g|0;t[a+2|0]=w[j+2|0];r=w[j|0]|w[j+1|0]<<8;t[a|0]=r;t[a+1|0]=r>>>8;i=i+4|0;h=h-4|0;if(h){continue}break}}h=k;a=c;if(!h){break g}while(1){a=B(i,3)+g|0;r=w[j|0]|w[j+1|0]<<8;t[a|0]=r;t[a+1|0]=r>>>8;t[a+2|0]=w[j+2|0];i=i+1|0;h=h-1|0;if(h){continue}break}a=c}h:{if((a|0)>=4|(a|0)>=(d|0)){break h}while(1){i=B(a,3);h=i+g|0;i=i+m|0;j=w[i|0]|w[i+1|0]<<8;t[h|0]=j;t[h+1|0]=j>>>8;t[h+2|0]=w[i+2|0];a=a+1|0;if((a|0)>=4){break h}if((a|0)<(d|0)){continue}break}}i:{if((a|0)>=4){break i}h=B(n,3)+m|0;r=(a^-1)+4|0;i=4-a&3;if(i){while(1){j=B(a,3)+g|0;s=w[h|0]|w[h+1|0]<<8;t[j|0]=s;t[j+1|0]=s>>>8;t[j+2|0]=w[h+2|0];a=a+1|0;i=i-1|0;if(i){continue}break}}if(r>>>0<3){break i}while(1){i=B(a,3)+g|0;j=w[h|0]|w[h+1|0]<<8;t[i|0]=j;t[i+1|0]=j>>>8;t[i+2|0]=w[h+2|0];t[i+5|0]=w[h+2|0];j=w[h|0]|w[h+1|0]<<8;t[i+3|0]=j;t[i+4|0]=j>>>8;j=w[h|0]|w[h+1|0]<<8;t[i+6|0]=j;t[i+7|0]=j>>>8;t[i+8|0]=w[h+2|0];j=w[h|0]|w[h+1|0]<<8;t[i+9|0]=j;t[i+10|0]=j>>>8;t[i+11|0]=w[h+2|0];a=a+4|0;if((a|0)!=4){continue}break}}g=g+12|0;m=B(b,3)+m|0;p=p+1|0;if((p|0)>=(f|0)){break f}if((p|0)<4){continue}break}}if((p|0)<4){k=B(b,-3)+m|0;f=k+B(n,3)|0;h=k+B(c,3)|0;b=c&-4;e=c&3;j=(c|0)<1;o=c-1>>>0>2;while(1){a=0;j:{if(j){break j}i=0;m=b;if(o){while(1){a=B(i,3)+g|0;n=w[h|0]|w[h+1|0]<<8;t[a|0]=n;t[a+1|0]=n>>>8;t[a+2|0]=w[h+2|0];a=B(i|1,3)+g|0;t[a+2|0]=w[h+2|0];n=w[h|0]|w[h+1|0]<<8;t[a|0]=n;t[a+1|0]=n>>>8;a=B(i|2,3)+g|0;t[a+2|0]=w[h+2|0];n=w[h|0]|w[h+1|0]<<8;t[a|0]=n;t[a+1|0]=n>>>8;a=B(i|3,3)+g|0;t[a+2|0]=w[h+2|0];n=w[h|0]|w[h+1|0]<<8;t[a|0]=n;t[a+1|0]=n>>>8;i=i+4|0;m=m-4|0;if(m){continue}break}}m=e;a=c;if(!m){break j}while(1){a=B(i,3)+g|0;n=w[h|0]|w[h+1|0]<<8;t[a|0]=n;t[a+1|0]=n>>>8;t[a+2|0]=w[h+2|0];i=i+1|0;m=m-1|0;if(m){continue}break}a=c}k:{if((a|0)>=4|(a|0)>=(d|0)){break k}while(1){i=B(a,3);m=i+g|0;i=i+k|0;n=w[i|0]|w[i+1|0]<<8;t[m|0]=n;t[m+1|0]=n>>>8;t[m+2|0]=w[i+2|0];a=a+1|0;if((a|0)>=4){break k}if((a|0)<(d|0)){continue}break}}l:{if((a|0)>=4){break l}n=(a^-1)+4|0;i=4-a&3;if(i){while(1){m=B(a,3)+g|0;l=w[f|0]|w[f+1|0]<<8;t[m|0]=l;t[m+1|0]=l>>>8;t[m+2|0]=w[f+2|0];a=a+1|0;i=i-1|0;if(i){continue}break}}if(n>>>0<3){break l}while(1){m=B(a,3)+g|0;i=w[f|0]|w[f+1|0]<<8;t[m|0]=i;t[m+1|0]=i>>>8;t[m+2|0]=w[f+2|0];t[m+5|0]=w[f+2|0];i=w[f|0]|w[f+1|0]<<8;t[m+3|0]=i;t[m+4|0]=i>>>8;i=w[f|0]|w[f+1|0]<<8;t[m+6|0]=i;t[m+7|0]=i>>>8;t[m+8|0]=w[f+2|0];i=w[f|0]|w[f+1|0]<<8;t[m+9|0]=i;t[m+10|0]=i>>>8;t[m+11|0]=w[f+2|0];a=a+4|0;if((a|0)!=4){continue}break}}g=g+12|0;p=p+1|0;if((p|0)!=4){continue}break}}}function cva(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,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;n=Qb-16|0;Qb=n;v[n+12>>2]=0;v[n+8>>2]=0;a=v[v[a+4>>2]+12>>2];if(a){l=n+12|0;o=n+8|0;i=a+32|0;g=v[i>>2];a:{if(!g){break a}a=i;while(1){k=v[g+16>>2]<(b|0);a=k?a:g;g=v[(k<<2)+g>>2];if(g){continue}break}if((a|0)==(i|0)|v[a+16>>2]>(b|0)){break a}a=v[a+20>>2];b=Qb-96|0;Qb=b;i=ds(b+88|0);g=v[a+28>>2];v[299999]=0;U(4143,b+72|0,g|0,a+16|0);a=v[299999];v[299999]=0;b:{c:{if((a|0)!=1){v[299999]=0;a=Q(4096,i|0,b+72|0)|0;g=v[299999];v[299999]=0;if((g|0)!=1){if(t[b+83|0]<=-1){dc(v[b+72>>2])}d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{if(!a){break m}v[299999]=0;a=S(4144,i|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break k}if(!a){break m}v[299999]=0;V(4145,b+56|0,i|0);a=v[299999];v[299999]=0;if((a|0)==1){break d}v[299999]=0;k=Q(4160,b+72|0,b+56|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break e}if(t[b+67|0]<=-1){dc(v[b+56>>2])}v[299999]=0;a=b+56|0;v[a>>2]=0;v[a+4>>2]=0;t[a+8|0]=0;g=v[299999];v[299999]=0;if((g|0)==1){break g}v[299999]=0;g=md(k,974264);h=v[299999];v[299999]=0;if((h|0)==1){break l}n:{if(g){v[299999]=0;g=ph(i);h=v[299999];v[299999]=0;if((h|0)==1){break l}if(g){break n}v[299999]=0;h=wg(i);g=v[299999];v[299999]=0;if((g|0)==1){break j}while(1){v[299999]=0;g=Q(4155,i|0,h|0)|0;j=v[299999];v[299999]=0;if((j|0)==1){break i}if(!g){break n}v[299999]=0;V(4145,b+24|0,i|0);g=v[299999];v[299999]=0;o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{if((g|0)!=1){v[299999]=0;g=Q(4160,b+40|0,b+24|0)|0;j=v[299999];v[299999]=0;if((j|0)==1){break C}v[299999]=0;uf(k,g);j=v[299999];v[299999]=0;if((j|0)==1){break B}xc(g);if(t[b+35|0]<=-1){dc(v[b+24>>2])}v[299999]=0;g=md(k,974344);j=v[299999];v[299999]=0;if((j|0)==1){break i}if(!g){break p}v[299999]=0;g=b+40|0;v[g>>2]=0;v[g+4>>2]=0;t[g+8|0]=0;j=v[299999];v[299999]=0;if((j|0)==1){break z}v[299999]=0;U(4165,i|0,974384,g|0);j=v[299999];v[299999]=0;if((j|0)==1){break r}v[299999]=0;j=md(g,974420);m=v[299999];v[299999]=0;if((m|0)==1){break r}if(!j){break o}v[299999]=0;h=ph(i);j=v[299999];v[299999]=0;if((j|0)==1){break y}if(h){xc(g);break n}v[299999]=0;j=wg(i);h=v[299999];v[299999]=0;if((h|0)==1){break w}D:{while(1){v[299999]=0;h=Q(4155,i|0,j|0)|0;m=v[299999];v[299999]=0;if((m|0)==1){break x}if(!h){break D}v[299999]=0;V(4145,b+8|0,i|0);h=v[299999];v[299999]=0;if((h|0)==1){break v}v[299999]=0;h=Q(4160,b+24|0,b+8|0)|0;m=v[299999];v[299999]=0;if((m|0)==1){break u}v[299999]=0;uf(k,h);m=v[299999];v[299999]=0;if((m|0)==1){break t}xc(h);if(t[b+19|0]<=-1){dc(v[b+8>>2])}v[299999]=0;h=md(k,974436);m=v[299999];v[299999]=0;if((m|0)==1){break x}if(!h){continue}break}v[299999]=0;U(4165,i|0,974476,a|0);h=v[299999];v[299999]=0;if((h|0)==1){break w}v[299999]=0;h=S(4166,a|0)|0;j=v[299999];v[299999]=0;if((j|0)==1){break w}v[l>>2]=h;v[299999]=0;U(4165,i|0,974500,a|0);l=v[299999];v[299999]=0;if((l|0)==1){break w}v[299999]=0;l=S(4166,a|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break w}v[o>>2]=l}xc(g);break n}c=P()|0;O()|0;break h}c=P()|0;O()|0;break A}c=P()|0;O()|0;xc(g)}if(t[b+35|0]>-1){break h}dc(v[b+24>>2]);break h}c=P()|0;O()|0;break h}c=P()|0;O()|0;xc(g);break h}c=P()|0;O()|0;xc(g);break h}c=P()|0;O()|0;xc(g);break h}c=P()|0;O()|0;xc(g);break h}c=P()|0;O()|0;break s}c=P()|0;O()|0;xc(h)}if(t[b+19|0]>-1){break q}dc(v[b+8>>2]);xc(g);break h}c=P()|0;O()|0}xc(g);break h}v[299999]=0;g=md(k,974528);j=v[299999];v[299999]=0;if((j|0)==1){break i}if(!g){continue}v[299999]=0;g=ph(i);h=v[299999];v[299999]=0;if((h|0)==1){break j}if(g){break n}v[299999]=0;h=wg(i);g=v[299999];v[299999]=0;E:{F:{G:{H:{I:{if((g|0)==1){break I}J:{while(1){v[299999]=0;g=Q(4155,i|0,h|0)|0;j=v[299999];v[299999]=0;if((j|0)==1){break J}if(!g){break n}v[299999]=0;V(4145,b+24|0,i|0);g=v[299999];v[299999]=0;if((g|0)==1){break H}v[299999]=0;g=Q(4160,b+40|0,b+24|0)|0;j=v[299999];v[299999]=0;if((j|0)==1){break G}v[299999]=0;uf(k,g);j=v[299999];v[299999]=0;if((j|0)==1){break F}xc(g);if(t[b+35|0]<=-1){dc(v[b+24>>2])}v[299999]=0;g=md(k,974436);j=v[299999];v[299999]=0;if((j|0)==1){break J}if(!g){continue}break}v[299999]=0;U(4165,i|0,974476,a|0);g=v[299999];v[299999]=0;if((g|0)==1){break I}v[299999]=0;g=S(4166,a|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break I}v[l>>2]=g;v[299999]=0;U(4165,i|0,974500,a|0);g=v[299999];v[299999]=0;if((g|0)==1){break I}v[299999]=0;g=S(4166,a|0)|0;l=v[299999];v[299999]=0;if((l|0)==1){break I}v[o>>2]=g;break n}c=P()|0;O()|0;break h}c=P()|0;O()|0;break h}c=P()|0;O()|0;break h}c=P()|0;O()|0;break E}c=P()|0;O()|0;xc(g)}if(t[b+35|0]>-1){break h}dc(v[b+24>>2]);break h}xc(g);continue}}v[299999]=0;g=md(k,974436);h=v[299999];v[299999]=0;if((h|0)==1){break l}if(!g){break n}v[299999]=0;U(4165,i|0,974476,a|0);g=v[299999];v[299999]=0;if((g|0)==1){break l}v[299999]=0;g=S(4166,a|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break l}v[l>>2]=g;v[299999]=0;U(4165,i|0,974500,a|0);g=v[299999];v[299999]=0;if((g|0)==1){break l}v[299999]=0;g=S(4166,a|0)|0;l=v[299999];v[299999]=0;if((l|0)==1){break l}v[o>>2]=g}xc(a);xc(k)}v[i>>2]=878696;a=v[i+4>>2];if(a){Ub[v[v[a>>2]+4>>2]](a)}Qb=b+96|0;break b}c=P()|0;O()|0;break h}c=P()|0;O()|0;break c}c=P()|0;O()|0;break h}c=P()|0;O()|0}xc(a);break f}c=P()|0;O()|0}xc(k);break c}c=P()|0;O()|0;if(t[b+67|0]>-1){break c}dc(v[b+56>>2]);break c}c=P()|0;O()|0;break c}c=P()|0;O()|0;if(t[b+83|0]>-1){break c}dc(v[b+72>>2]);break c}c=P()|0;O()|0}v[i>>2]=878696;a=v[i+4>>2];if(a){Ub[v[v[a>>2]+4>>2]](a)}T(c|0);L()}}q=+v[n+12>>2]*25.4;p=+v[n+8>>2]*25.4}else{p=0}A[c>>3]=q/96;A[d>>3]=p/96;v[e>>2]=1717986918;v[e+4>>2]=1077503590;v[f>>2]=1717986918;v[f+4>>2]=1077503590;Qb=n+16|0}function coa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=Qb-48|0;Qb=f;a:{b:{c:{d:{if(!(v[b+92>>2]&24)){v[a>>2]=0;Wc(a,0);break d}e:{f:{g:{g=v[b+156>>2];if(g){while(1){e=0;h=v[g+8>>2];if(h){v[299999]=0;v[h+4>>2]=v[h+4>>2]+1;e=v[299999];v[299999]=0;if((e|0)==1){break g}e=v[g+8>>2]}v[f+24>>2]=e;if(v[e+8>>2]==(c|0)){b=v[e+12>>2];if(b){v[299999]=0;v[b+4>>2]=v[b+4>>2]+1;b=v[299999];v[299999]=0;if((b|0)==1){break b}b=v[e+12>>2]}else{b=0}v[a>>2]=b;v[299999]=0;a=v[e+4>>2]-1|0;v[e+4>>2]=a;b=v[299999];v[299999]=0;if((b|0)!=1){if(a){break d}v[299999]=0;R(4338,e|0);a=v[299999];v[299999]=0;if((a|0)!=1){break d}}break c}v[299999]=0;h=v[e+4>>2]-1|0;v[e+4>>2]=h;j=v[299999];v[299999]=0;if((j|0)==1){break c}if(!h){v[299999]=0;R(4338,e|0);e=v[299999];v[299999]=0;if((e|0)==1){break c}}g=v[g>>2];if(g){continue}break}}g=0;e=fc(28);v[299999]=0;R(4751,f+24|0);h=v[299999];v[299999]=0;if((h|0)==1){break e}v[e+8>>2]=c;v[e>>2]=983616;v[e+4>>2]=0;h=v[f+24>>2];if(h){v[299999]=0;v[h+4>>2]=v[h+4>>2]+1;g=v[299999];v[299999]=0;if((g|0)==1){break f}g=v[f+24>>2]}v[e+24>>2]=0;v[e+16>>2]=0;v[e+12>>2]=g;v[299999]=0;v[f+40>>2]=0;Q(4336,f+40|0,e|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break b}e=v[f+24>>2];v[f+24>>2]=0;h:{if(!e){break h}v[299999]=0;g=v[e+4>>2]-1|0;v[e+4>>2]=g;h=v[299999];v[299999]=0;if((h|0)==1){break c}if(g){break h}v[299999]=0;R(4338,e|0);e=v[299999];v[299999]=0;if((e|0)==1){break c}}i:{j:{k:{l:{if(v[b+56>>2]-3>>>0<=1){e=v[b+48>>2];j=0;v[299999]=0;V(4752,f+24|0,e|0);e=v[299999];v[299999]=0;if((e|0)==1){break j}v[f+16>>2]=0;g=v[f+32>>2];if(g){h=-1;m:{n:{o:{while(1){e=0;i=v[g+8>>2];if(i){v[299999]=0;v[i+4>>2]=v[i+4>>2]+1;e=v[299999];v[299999]=0;if((e|0)==1){break o}e=v[g+8>>2]}v[f+8>>2]=e;i=w[e+52|0]&63;p:{if((i|0)==2){v[299999]=0;Q(4344,f+16|0,f+8|0)|0;e=v[299999];v[299999]=0;if((e|0)!=1){j=h+1|0;e=v[f+8>>2];break p}e=P()|0;O()|0;ec(f+8|0);break n}h=((i|0)==1)+h|0}v[f+8>>2]=0;q:{if(!e){break q}v[299999]=0;i=v[e+4>>2]-1|0;v[e+4>>2]=i;k=v[299999];v[299999]=0;if((k|0)==1){break c}if(i){break q}v[299999]=0;R(4338,e|0);e=v[299999];v[299999]=0;if((e|0)==1){break c}}if((c|0)!=(h|0)){g=v[g>>2];if(g){continue}}break}e=v[f+16>>2];if(!e){break m}v[299999]=0;$(4753,f+8|0,b|0,e+36|0,0);d=v[299999];v[299999]=0;r:{s:{t:{if((d|0)!=1){v[299999]=0;Q(4344,v[f+40>>2]+24|0,f+8|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break t}d=v[f+8>>2];v[f+8>>2]=0;u:{if(!d){break u}v[299999]=0;e=v[d+4>>2]-1|0;v[d+4>>2]=e;g=v[299999];v[299999]=0;if((g|0)==1){break c}if(e){break u}v[299999]=0;R(4338,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break c}}v[v[f+40>>2]+20>>2]=c-j;v[299999]=0;U(4754,f+8|0,b|0,f+40|0);c=v[299999];v[299999]=0;if((c|0)==1){break s}v[299999]=0;Q(4344,f+40|0,f+8|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break r}c=v[f+8>>2];v[f+8>>2]=0;v:{if(!c){break v}v[299999]=0;d=v[c+4>>2]-1|0;v[c+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)==1){break c}if(d){break v}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break c}}v[299999]=0;R(4755,b|0);b=v[299999];v[299999]=0;w:{if((b|0)==1){break w}c=v[f+40>>2];b=v[c+12>>2];if(b){v[299999]=0;v[b+4>>2]=v[b+4>>2]+1;b=v[299999];v[299999]=0;if((b|0)==1){break w}b=v[c+12>>2]}else{b=0}v[a>>2]=b;a=v[f+16>>2];v[f+16>>2]=0;if(!a){break l}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break l}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break l}}break c}e=P()|0;O()|0;break n}e=P()|0;O()|0;break n}e=P()|0;O()|0;ec(f+8|0);break n}e=P()|0;O()|0;break n}e=P()|0;O()|0;ec(f+8|0);break n}e=P()|0;O()|0}ec(f+16|0);Ic(f+24|0);break i}v[f+16>>2]=0}Ic(f+24|0)}v[299999]=0;$(4704,f+24|0,b|0,c|0,d|0);c=v[299999];v[299999]=0;x:{y:{z:{A:{B:{C:{D:{E:{if((c|0)!=1){if(!v[f+24>>2]){break A}v[299999]=0;Q(4344,v[f+40>>2]+16|0,f+24|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break y}c=v[v[f+40>>2]+16>>2];v[299999]=0;c=v[c+148>>2];e=v[299999];v[299999]=0;if((e|0)==1){break B}if(!(d?c&2:1)){break C}v[299999]=0;U(4754,f+16|0,b|0,f+40|0);c=v[299999];v[299999]=0;if((c|0)==1){break E}v[299999]=0;Q(4344,f+40|0,f+16|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break D}c=v[f+16>>2];v[f+16>>2]=0;F:{if(!c){break F}v[299999]=0;d=v[c+4>>2]-1|0;v[c+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)==1){break c}if(d){break F}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break c}}v[299999]=0;R(4755,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break B}break z}e=P()|0;O()|0;break i}e=P()|0;O()|0;break x}e=P()|0;O()|0;ec(f+16|0);break x}v[299999]=0;Q(4336,f+40|0,0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break z}}e=P()|0;O()|0;break x}v[299999]=0;Q(4336,f+40|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break y}}b=v[f+40>>2];G:{if(b){c=v[b+12>>2];if(!c){v[a>>2]=0;break G}v[299999]=0;v[c+4>>2]=v[c+4>>2]+1;c=v[299999];v[299999]=0;if((c|0)==1){break y}v[a>>2]=v[b+12>>2];break G}v[a>>2]=0;v[299999]=0;Q(4336,a|0,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break y}}a=v[f+24>>2];v[f+24>>2]=0;if(!a){break k}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break k}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break k}}break c}e=P()|0;O()|0}ec(f+24|0);break i}Ic(f+24|0)}a=v[f+40>>2];v[f+40>>2]=0;if(!a){break d}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break d}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break d}}break c}e=P()|0;O()|0}ec(f+40|0);T(e|0);L()}a=P()|0;O()|0;break a}a=P()|0;O()|0;Qc(e);ec(f+24|0);dc(e);break a}a=P()|0;O()|0;dc(e);break a}Qb=f+48|0;return}W(0)|0;O()|0;lc();L()}a=P()|0;O()|0;ec(f+24|0)}T(a|0);L()}function Ux(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0,y=0,z=0,B=0,C=0;a:{b:{c:{switch(v[b+4>>2]){case 1:case 2:case 3:break a;case 0:break c;default:break b}}g=v[b+52>>2];if(v[g+8>>2]<=0){break b}while(1){Ux(a,v[v[g>>2]+(r<<2)>>2],c,d);r=r+1|0;g=v[b+52>>2];if((r|0)>2]){continue}break}}return}B=c;c=a;a=0;r=fc(16);v[299999]=0;k=S(3315,r|0)|0;d=v[299999];v[299999]=0;d:{e:{f:{g:{if((d|0)!=1){ZD(c,b,k,0);o=v[k+8>>2];h:{if((o|0)<2){break h}p=v[k>>2];d=v[p>>2];f=1;while(1){c=v[p+(f<<2)>>2];i=m;i:{j:{switch(v[d+4>>2]-1|0){default:e=d+32|0;d=c+24|0;break i;case 0:e=c+16|0;d=d+8|0;break i;case 1:e=c+24|0;d=d+24|0;break i;case 2:break j}}e=c+16|0;d=c+8|0}n=A[d>>3]-A[e>>3];d=n>0;m=d?i+n:m;a=a+d|0;d=c;f=f+1|0;if((o|0)!=(f|0)){continue}break}if(!a){break h}m=m/+(a|0)}y=fc(16);v[299999]=0;C=S(3315,y|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break f}o=b+16|0;p=b+40|0;c=b+24|0;b=b+32|0;if(v[k+8>>2]>=1){u=m*1.25;while(1){z=fc(16);v[299999]=0;q=S(3315,z|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break g}h=v[v[k>>2]+(g<<2)>>2];Tc(q,h);l=0;a=g+1|0;k:{if((a|0)>=v[k+8>>2]){g=a;break k}j=v[v[k>>2]+(a<<2)>>2];l:{m:{n:{o:{p:{f=v[h+4>>2]-1|0;switch(f|0){case 2:break m;case 1:break n;case 0:break o;default:break p}}e=o;d=h+8|0;break l}e=c;d=h+24|0;break l}e=h+16|0;d=b;break l}e=h+32|0;d=p}s=A[d>>3]-A[e>>3];q:{r:{s:{switch(v[j+4>>2]-1|0){default:e=o;d=j+8|0;break r;case 0:e=c;d=j+24|0;break r;case 1:e=j+16|0;d=b;break r;case 2:break s}}e=j+32|0;d=p}t=A[d>>3]-A[e>>3];m=t-s;w=A[h+40>>3];n=w*.5;x=A[j+40>>3];if(!(m>n)|!(D(w-x)<=1)){break q}t:{u:{switch(f|0){default:e=j+24|0;d=h+32|0;break t;case 0:e=h+8|0;d=j+16|0;break t;case 1:e=h+24|0;d=j+24|0;break t;case 2:break u}}e=j+8|0;d=j+16|0}if(!(A[e>>3]-A[d>>3]<=u)){break q}Tc(q,j);g=g+2|0;if((g|0)>=v[k+8>>2]){break k}while(1){i=n;m=t;v:{w:{x:{y:{z:{e=v[k>>2]+(g<<2)|0;f=v[e>>2];switch(v[f+4>>2]-1|0){case 2:break w;case 1:break x;case 0:break y;default:break z}}d=o;a=f+8|0;break v}d=c;a=f+24|0;break v}d=f+16|0;a=b;break v}d=f+32|0;a=p}if(i>3]-A[d>>3])|D(w-A[f+40>>3])>1){break k}A:{B:{C:{D:{E:{d=v[e-4>>2];switch(v[d+4>>2]-1|0){case 2:break B;case 1:break C;case 0:break D;default:break E}}a=d+32|0;d=f+24|0;break A}a=f+16|0;d=d+8|0;break A}a=f+24|0;d=d+24|0;break A}a=f+16|0;d=f+8|0}if(A[d>>3]-A[a>>3]>u){break k}Tc(q,f);g=g+1|0;if((g|0)>2]){continue}break}break k}F:{if(!(x*1.5>3]-A[d>>3]<0)){break F}Tc(q,j);d=v[k+8>>2];g=g+2|0;I:{if((d|0)<=(g|0)){break I}while(1){n=i;J:{K:{L:{M:{N:{f=v[k>>2]+(g<<2)|0;l=v[f>>2];switch(v[l+4>>2]-1|0){case 2:break K;case 1:break L;case 0:break M;default:break N}}e=o;a=l+8|0;break J}e=c;a=l+24|0;break J}e=l+16|0;a=b;break J}e=l+32|0;a=p}if(n>=A[a>>3]-A[e>>3]-s){break I}O:{P:{Q:{R:{S:{e=v[f-4>>2];switch(v[e+4>>2]-1|0){case 2:break P;case 1:break Q;case 0:break R;default:break S}}a=e+32|0;e=l+24|0;break O}a=l+16|0;e=e+8|0;break O}a=l+24|0;e=e+24|0;break O}a=l+16|0;e=l+8|0}if(A[e>>3]-A[a>>3]>u){break I}Tc(q,l);d=v[k+8>>2];g=g+1|0;if((d|0)>(g|0)){continue}break}}if((d|0)<=(g|0)){l=1;break k}while(1){n=i;T:{U:{V:{W:{X:{e=v[k>>2]+(g<<2)|0;f=v[e>>2];switch(v[f+4>>2]-1|0){case 2:break U;case 1:break V;case 0:break W;default:break X}}d=o;a=f+8|0;break T}d=c;a=f+24|0;break T}d=f+16|0;a=b;break T}d=f+32|0;a=p}if(n>3]-A[d>>3]-s){l=1;break k}if(D(x-A[f+40>>3])>1){l=1;break k}Y:{Z:{_:{$:{aa:{d=v[e-4>>2];switch(v[d+4>>2]-1|0){case 2:break Z;case 1:break _;case 0:break $;default:break aa}}a=d+32|0;d=f+24|0;break Y}a=f+16|0;d=d+8|0;break Y}a=f+24|0;d=d+24|0;break Y}a=f+16|0;d=f+8|0}if(A[d>>3]-A[a>>3]>u){l=1;break k}Tc(q,f);l=1;g=g+1|0;if((g|0)>2]){continue}break}break k}if(!(D(w-x)<=1)){g=a;break k}ba:{ca:{switch(f|0){default:e=j+24|0;d=h+32|0;break ba;case 0:e=h+8|0;d=j+16|0;break ba;case 1:e=h+24|0;d=j+24|0;break ba;case 2:break ca}}e=j+8|0;d=j+16|0}if(!(A[e>>3]-A[d>>3]<=u)){g=a;break k}Tc(q,j);g=g+2|0;if((g|0)>=v[k+8>>2]){break k}while(1){i=n;da:{ea:{fa:{ga:{ha:{e=v[k>>2]+(g<<2)|0;f=v[e>>2];switch(v[f+4>>2]-1|0){case 2:break ea;case 1:break fa;case 0:break ga;default:break ha}}d=o;a=f+8|0;break da}d=c;a=f+24|0;break da}d=f+16|0;a=b;break da}d=f+32|0;a=p}if(i>3]-A[d>>3]-t|D(w-A[f+40>>3])>1){break k}ia:{ja:{ka:{la:{ma:{d=v[e-4>>2];switch(v[d+4>>2]-1|0){case 2:break ja;case 1:break ka;case 0:break la;default:break ma}}a=d+32|0;d=f+24|0;break ia}a=f+16|0;d=d+8|0;break ia}a=f+24|0;d=d+24|0;break ia}a=f+16|0;d=f+8|0}if(A[d>>3]-A[a>>3]>u){break k}Tc(q,f);g=g+1|0;if((g|0)>2]){continue}break}}h=fc(40);v[h+8>>2]=0;v[h+12>>2]=0;v[h+4>>2]=l;v[h>>2]=z;v[h+16>>2]=0;v[h+20>>2]=0;v[h+24>>2]=0;v[h+28>>2]=0;v[h+32>>2]=0;v[h+36>>2]=0;d=v[q+8>>2];na:{if((d|0)<1){break na}a=v[q>>2];e=v[a>>2];s=A[e+8>>3];A[h+8>>3]=s;t=A[e+24>>3];A[h+24>>3]=t;n=A[e+16>>3];A[h+16>>3]=n;m=A[e+32>>3];A[h+32>>3]=m;f=1;if((d|0)==1){break na}while(1){e=v[a+(f<<2)>>2];i=A[e+8>>3];if(i>3]=i;s=i}i=A[e+24>>3];if(i>3]=i;t=i}i=A[e+16>>3];if(i>n){A[h+16>>3]=i;n=i}i=A[e+32>>3];if(i>m){A[h+32>>3]=i;m=i}f=f+1|0;if((d|0)!=(f|0)){continue}break}}Tc(C,h);if(v[k+8>>2]>(g|0)){continue}break}}Vc(k);dc(r);a=fc(56);n=A[b>>3];i=A[p>>3];m=A[o>>3];A[a+24>>3]=A[c>>3];A[a+8>>3]=m;v[a>>2]=y;v[a+40>>2]=0;v[a+44>>2]=0;A[a+32>>3]=i;A[a+16>>3]=n;v[a+48>>2]=0;v[a+52>>2]=0;break d}f=P()|0;O()|0;break e}f=P()|0;O()|0;r=z;break e}f=P()|0;O()|0;r=y}dc(r);T(f|0);L()}Tc(B,a)}function KS(a,b,c){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,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0,z=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,Q=0,S=0,U=0,V=0,X=0,Y=0,Z=0;f=Qb-800|0;Qb=f;v[f+16>>2]=13;v[f>>2]=13;e=219174;a:{b:{c:{d:{if(v[rc(b,277034,f+16|0,0)>>2]!=1){break d}e=219233;l=v[f+24>>2];if(l-1>>>0>31){break d}j=f+16|0;hc(j);e=218887;if(v[rc(b,228703,j,0)>>2]!=1){break d}e=218945;t=v[f+24>>2];if(t-1>>>0>15){break d}hc(f+16|0);e:{if((a|0)==4){e=219079;if(v[rc(b,273215,f+16|0,0)>>2]!=1){break d}e=219132;s=v[f+24>>2];if(s-2>>>0>6){break d}hc(f+16|0);break e}e=218786;if(v[rc(b,222420,f+16|0,0)>>2]!=1){break d}x=v[f+24>>2];hc(f+16|0);e=218842;if((x|0)<2){break d}}e=218701;if(v[rc(b,284226,f+16|0,0)>>2]!=6){break d}j=v[f+24>>2];if(v[j+12>>2]<6){break d}e=yc(j,0,f,0);C=A[e+8>>3];j=v[e+8>>2];k=v[e>>2];hc(f);e=yc(v[f+24>>2],1,f,0);H=A[e+8>>3];m=v[e+8>>2];z=v[e>>2];hc(f);D=rt(l);e=yc(v[f+24>>2],2,f,0);n=v[e>>2];E=A[e+8>>3];o=v[e+8>>2];hc(f);e=yc(v[f+24>>2],3,f,0);F=v[e>>2];I=A[e+8>>3];G=v[e+8>>2];hc(f);K=-1<>2];f:{if(v[d+12>>2]<6){break f}U=+(K|0);i=5;e=0;while(1){p=e<<3;d=yc(d,g+4|0,f,0);M=v[d>>2]==1?+v[d+8>>2]:A[d+8>>3];A[p+(f+416|0)>>3]=M;hc(f);d=yc(v[f+24>>2],i,f,0);g=v[d>>2];V=A[d+8>>3];d=v[d+8>>2];hc(f);A[p+(f+160|0)>>3]=(((g|0)==1?+(d|0):V)-M)/U;p=e+1|0;g=p<<1;i=g+5|0;d=v[f+24>>2];if((i|0)>=v[d+12>>2]){break f}h=e>>>0<31;e=p;if(h){continue}break}}e=f+16|0;hc(e);g:{if(v[rc(b,247024,e,0)>>2]==5){break g}if(v[f+16>>2]==6){d=v[f+24>>2];w=v[d+12>>2];if((w|0)<=32){if((w|0)<1){break g}e=0;yc(d,0,f,0);d=vg(f,1,1,0);v[f+672>>2]=d;if(d){while(1){hc(f);e=e+1|0;if((w|0)==(e|0)){break g}yc(v[f+24>>2],e,f,0);d=vg(f,1,1,0);v[(f+672|0)+(e<<2)>>2]=d;if(d){continue}break}}hc(f+16|0);hc(f);d=0;break c}d=0;kc(1,-1,218656,0);break c}d=0;w=1;e=vg(f+16|0,1,-1,0);v[f+672>>2]=e;if(e){break g}hc(f+16|0);break c}hc(f+16|0);h=fc(12);v[h>>2]=c;e=v[v[c>>2]+20>>2];v[299999]=0;R(e|0,c|0);e=v[299999];v[299999]=0;if((e|0)==1){break b}E=(n|0)==1?+(o|0):E;D=D+-1;I=(((F|0)==1?+(G|0):I)-E)/D;C=(k|0)==1?+(j|0):C;H=(((z|0)==1?+(m|0):H)-C)/D;v[h+4>>2]=0;v[h+8>>2]=0;z=p&-2;X=p&1;F=-1<>2];i:{if(G){break i}if((d|0)>=(s|0)){d=d-s|0;u=Y&v[h+4>>2]>>d;v[h+8>>2]=d;break i}j:{if((d|0)<1){u=0;e=s;break j}v[h+8>>2]=0;e=s-d|0;u=v[h+4>>2]&(-1<>2]+28>>2]](c)|0;v[h+4>>2]=g;if((g|0)==-1){break h}if((e|0)<=7){d=8-e|0;u=u<>d;v[h+8>>2]=d;break i}u=g|u<<8;g=(e|0)==8;e=e-8|0;if(!g){continue}break}}k:{if((d|0)>=(l|0)){d=d-l|0;n=F&v[h+4>>2]>>d;v[h+8>>2]=d;break k}l:{if((d|0)<1){n=0;e=l;break l}v[h+8>>2]=0;e=l-d|0;n=v[h+4>>2]&(-1<>2]+28>>2]](c)|0;v[h+4>>2]=g;if((g|0)==-1){break h}if((e|0)<=7){d=8-e|0;n=n<>d;v[h+8>>2]=d;break k}n=g|n<<8;g=(e|0)==8;e=e-8|0;if(!g){continue}break}}m:{if((d|0)>=(l|0)){d=d-l|0;o=F&v[h+4>>2]>>d;v[h+8>>2]=d;break m}n:{if((d|0)<1){o=0;e=l;break n}v[h+8>>2]=0;e=l-d|0;o=v[h+4>>2]&(-1<>2]+28>>2]](c)|0;v[h+4>>2]=g;if((g|0)==-1){break h}if((e|0)<=7){d=8-e|0;o=o<>d;v[h+8>>2]=d;break m}o=g|o<<8;g=(e|0)==8;e=e-8|0;if(!g){continue}break}}i=0;if(p){while(1){o:{if((d|0)>=(t|0)){d=d-t|0;g=v[h+4>>2]>>d&K;v[h+8>>2]=d;break o}g=0;p:{if((d|0)<1){k=d;e=t;break p}k=0;v[h+8>>2]=0;g=v[h+4>>2]&(-1<=1){while(1){d=Ub[v[v[c>>2]+28>>2]](c)|0;v[h+4>>2]=d;if((d|0)==-1){break h}if((e|0)<=7){k=d;d=8-e|0;g=g<>d;v[h+8>>2]=d;break o}g=d|g<<8;d=(e|0)==8;e=e-8|0;if(!d){continue}break}}d=k}v[(f+32|0)+(i<<2)>>2]=g;i=i+1|0;if((p|0)!=(i|0)){continue}break}}if((m|0)==(N|0)){N=m?m<<1:16;J=pd(J,N,272)}d=B(m,272)+J|0;A[d+8>>3]=E+I*+(o>>>0);A[d>>3]=C+H*+(n>>>0);q:{if(!p){break q}e=0;g=z;if((p|0)!=1){while(1){i=d+16|0;k=e<<3;n=f+416|0;o=f+160|0;Q=f+32|0;A[i+k>>3]=A[k+n>>3]+A[k+o>>3]*+y[Q+(e<<2)>>2];Z=i;i=e|1;k=i<<3;A[Z+k>>3]=A[k+n>>3]+A[k+o>>3]*+y[Q+(i<<2)>>2];e=e+2|0;g=g-2|0;if(g){continue}break}}if(!X){break q}g=d;d=e<<3;A[(g+d|0)+16>>3]=A[d+(f+416|0)>>3]+A[d+(f+160|0)>>3]*+y[(f+32|0)+(e<<2)>>2]}v[h+4>>2]=0;v[h+8>>2]=0;e=m+1|0;if(G){continue}break}if(j>>>0<=1){d=j+1|0;continue}if((j|0)!=2){d=1;if(!u){continue}}if((q|0)==(S|0)){S=q?q<<1:16;r=pd(r,B(S,3),4)}r:{if((j|0)==2){v[B(q,12)+r>>2]=m-2;g=m-1|0;d=3;break r}d=q-1|0;s:{if((u|0)==1){d=B(d,12)+r|0;v[B(q,12)+r>>2]=v[d+4>>2];g=v[d+8>>2];break s}d=B(d,12)+r|0;v[B(q,12)+r>>2]=v[d>>2];g=v[d+8>>2]}d=j}j=B(q,12)+r|0;v[j+8>>2]=m;v[j+4>>2]=g;q=q+1|0;continue}break}v[h+8>>2]=0;e=v[v[c>>2]+24>>2];v[299999]=0;R(e|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}dc(h);t:{if((a|0)!=5){break t}c=(m|0)/(x|0)|0;l=c-1|0;j=x-1|0;e=B(l,j);q=e<<1;r=ed(B(e,6),4);if((c|0)<2|(x|0)<2){break t}c=0;i=0;while(1){k=B(i,x);i=i+1|0;t=B(x,i);d=0;while(1){e=B(c,12)+r|0;g=d+t|0;v[e+8>>2]=g;s=d+k|0;z=s+1|0;v[e+4>>2]=z;v[e>>2]=s;v[e+12>>2]=z;v[e+20>>2]=g+1;v[e+16>>2]=g;c=c+2|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}if((i|0)!=(l|0)){continue}break}}d=fc(336);v[d+8>>2]=0;v[d+4>>2]=a;v[d+328>>2]=w;v[d+324>>2]=p;v[d+192>>2]=q;v[d+188>>2]=r;v[d+184>>2]=m;v[d+180>>2]=J;v[d>>2]=897628;if((w|0)>=1){gc(d+196|0,f+672|0,w<<2)}u:{if(fu(d,b)){b=v[d+328>>2];if((b|0)<1){break c}a=v[d+8>>2];e=0;break u}Ub[v[v[d>>2]+4>>2]](d);d=0;break c}while(1){if(v[v[((e<<2)+d|0)+196>>2]+8>>2]==(Ub[v[v[a>>2]+28>>2]](a)|0)){e=e+1|0;if((b|0)>(e|0)){continue}break c}break}kc(1,-1,219040,0);Ub[v[v[d>>2]+4>>2]](d);d=0;break c}kc(1,-1,e,0);hc(f+16|0)}Qb=f+800|0;return d}a=P()|0;O()|0;dc(h);T(a|0);L()}W(0)|0;O()|0;lc();L()}function o1(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=v[c+88>>2];e=v[b+88>>2];a:{b:{c:{d:{if(w[a+460|0]|!(w[a+476|0]?1:w[a+496|0])){break d}e:{if(!w[g+55|0]){break e}f:{g:{if(!w[e+55|0]){d=v[g+64>>2];break g}d=v[g+64>>2];if(d>>>0<=y[e+64>>2]){break f}}v[e+64>>2]=d;d=v[g+64>>2]}t[e+55|0]=1;if(!d){break e}if((d|0)!=1){j=d&-2;while(1){k=e+68|0;h=B(f,3);i=k+h|0;l=g+68|0;h=h+l|0;t[i|0]=w[h|0];t[i+1|0]=w[h+1|0];t[i+2|0]=w[h+2|0];h=B(f|1,3);i=h+k|0;h=h+l|0;t[i|0]=w[h|0];t[i+1|0]=w[h+1|0];t[i+2|0]=w[h+2|0];f=f+2|0;j=j-2|0;if(j){continue}break}}if(!(d&1)){break e}f=B(f,3);d=f+e|0;f=g+f|0;t[d+68|0]=w[f+68|0];t[d+69|0]=w[f+69|0];t[d+70|0]=w[f+70|0]}if(w[g+56|0]){h:{i:{switch(w[a+325|0]){case 0:d=x[g+836>>1];u[e+838>>1]=0;u[e+840>>1]=0;u[e+842>>1]=0;u[e+844>>1]=0;u[e+836>>1]=d;u[e+846>>1]=0;break h;case 2:u[e+836>>1]=0;u[e+838>>1]=x[g+838>>1];u[e+840>>1]=x[g+840>>1];d=x[g+842>>1];v[e+844>>2]=0;u[e+842>>1]=d;break h;case 3:break i;default:break h}}v[e+836>>2]=0;v[e+840>>2]=0;j:{k:{if(!w[e+56|0]){f=v[g+844>>2];break k}f=v[g+844>>2];if(f>>>0<=y[e+844>>2]){break j}}v[e+844>>2]=f;f=v[g+844>>2]}gc(e+848|0,g+848|0,f)}t[e+56|0]=1}if(w[g+61|0]){t[e+61|0]=1;t[e+1152|0]=w[g+1152|0];u[e+1154>>1]=x[g+1154>>1];u[e+1156>>1]=x[g+1156>>1];u[e+1158>>1]=x[g+1158>>1];u[e+1160>>1]=x[g+1160>>1]}if(w[g+57|0]){t[e+57|0]=1;v[e+1104>>2]=v[g+1104>>2]}if(w[g+58|0]){t[e+58|0]=1;v[e+1108>>2]=v[g+1108>>2];v[e+1112>>2]=v[g+1112>>2];v[e+1116>>2]=v[g+1116>>2];v[e+1120>>2]=v[g+1120>>2];v[e+1124>>2]=v[g+1124>>2];v[e+1128>>2]=v[g+1128>>2];v[e+1132>>2]=v[g+1132>>2];v[e+1136>>2]=v[g+1136>>2]}if(w[g+59|0]){t[e+59|0]=1;t[e+1140|0]=w[g+1140|0]}if(w[g+60|0]){t[e+60|0]=1;d=v[e+1148>>2];if(d){Ub[v[a+156>>2]](d,v[e+1144>>2])}d=Ub[v[a+152>>2]](v[g+1144>>2])|0;v[e+1148>>2]=d;if(!d){pc(a,1,0,0);return 1}gc(d,v[g+1148>>2],v[g+1144>>2]);v[e+1144>>2]=v[g+1144>>2]}if(w[a+2272|0]){break d}f=w[a+2253|0];if((f|0)==7){break d}v[a+996>>2]=0;l:{m:{n:{o:{switch(w[g+44|0]-1|0){case 1:d=854;p:{switch(w[e+44|0]-1|0){case 3:d=855;break m;case 7:d=856;break m;case 0:break m;case 15:break p;default:break l}}d=857;break m;case 3:d=858;q:{switch(w[e+44|0]-1|0){case 1:d=859;break m;case 7:d=860;break m;case 0:break m;case 15:break q;default:break l}}d=861;break m;case 7:r:{switch(w[g+45|0]){case 0:case 3:case 8:d=862;s:{switch(w[e+44|0]-1|0){case 1:d=863;break m;case 3:d=864;break m;case 0:break m;case 15:break s;default:break l}}d=865;break m;case 2:case 10:d=866;if(w[e+44|0]==16){break m}break l;case 4:case 12:d=867;if(w[e+44|0]==16){break m}break l;case 6:case 14:break r;default:break l}}d=868;if(w[e+44|0]==16){break m}break l;case 15:t:{switch(w[g+45|0]){case 2:case 10:d=869;if(w[e+44|0]==8){break m}break l;case 4:case 12:d=870;if(w[e+44|0]==8){break m}break l;case 0:case 3:case 8:break n;case 6:case 14:break t;default:break l}}d=871;if(w[e+44|0]==8){break m}break l;case 0:break o;default:break l}}d=Gib(w[e+44|0]-2|0,31);if(d>>>0>=8|!(139>>>d&1)){break l}d=v[(d<<2)+192840>>2];break m}d=w[e+44|0]-1|0;j=d&255;if(j>>>0>=8|!(139>>>j&1)){break l}d=v[(d<<24>>24<<2)+192872>>2]}v[a+996>>2]=d}v[a+1e3>>2]=0;u:{v:{w:{switch(w[e+45|0]){case 0:case 8:if(!(1<>>0>4){break c}d=w[g+45|0];if(d>>>0>8|!(1<>>0>4){break c}y:{switch(w[g+45|0]-2|0){case 0:case 8:break y;default:break c}}f=877;z:{switch(w[e+44|0]-8|0){case 0:break u;case 8:break z;default:break c}}f=878;break u;case 3:if(!(1<>>0>4){break c}switch(w[g+45|0]){case 0:case 3:break v;default:break c};case 4:case 12:if(f>>>0>6){break c}A:{B:{d=1<>>0>8|!(1<>>0>6){break c}G:{H:{d=1<>>0>=8|!(139>>>f&1)){break c}f=v[(d<<24>>24<<2)+192904>>2]}t[a+568|0]=255;v[a+1e3>>2]=f;v[a+576>>2]=1;v[a+584>>2]=1;v[a+572>>2]=v[a+2268>>2];v[a+580>>2]=v[a+2264>>2];v[a+588>>2]=v[g+36>>2];v[a+604>>2]=v[e+1168>>2];v[a+544>>2]=c;v[a+536>>2]=b;c=v[a+644>>2];b=Ub[v[a+152>>2]](v[g+1168>>2]<<1)|0;v[a+644>>2]=b;if(!b){break a}d=0;while(1){N:{b=d;e=v[g+40>>2];if(e>>>0<=d>>>0){f=0;break N}d=v[g+1168>>2];gc(v[a+644>>2],v[g+1176>>2]+B(d,b)|0,d);d=v[a+996>>2];if(d){f=Ub[d|0](a)|0;if(f){break N}}f=Ub[v[a+1e3>>2]](a)|0;if(f){break N}d=b+1|0;f=Bq(a);if(!f){continue}}break}d=v[a+644>>2];if(d){Ub[v[a+156>>2]](d,v[g+1168>>2]<<1)}v[a+644>>2]=c;if(b>>>0>>0){break b}}return 0}f=1063;pc(a,1063,0,0)}return f}pc(a,1,0,0);return 1}function ata(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;v[g+8>>2]=0;v[g+12>>2]=0;u[g+4>>1]=0;v[g>>2]=0;v[g+16>>2]=0;v[g+20>>2]=0;v[g+24>>2]=0;v[g+28>>2]=0;t[g+29|0]=0;t[g+30|0]=0;t[g+31|0]=0;t[g+32|0]=0;t[g+33|0]=0;t[g+34|0]=0;t[g+35|0]=0;t[g+36|0]=0;a:{b:{if(!a){break b}h=v[b>>2];if((h|0)>=v[c>>2]){break b}c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{while(1){i=v[(h<<2)+a>>2];if((i|0)!=32){if((i|0)!=40){break n}h=h+1|0;v[b>>2]=h;i=0;m=v[c>>2];if((m|0)<=(h|0)){break a}j=v[(h<<2)+a>>2];if((j|0)!=32){break o}break p}h=h+1|0;v[b>>2]=h;if(v[c>>2]>(h|0)){continue}break}return 0}while(1){h=h+1|0;v[b>>2]=h;m=v[c>>2];if((m|0)<=(h|0)){break a}j=v[(h<<2)+a>>2];if((j|0)==32){continue}break}}if(j-48>>>0<10){break l}k=j-45|0;if(k>>>0>24|!(1<>2]!=v[g+40>>2]){break i}m=1;k=1;break j}k=1;if((j|0)!=101){break k}}k=PD(a,b,c);m=v[c>>2];h=v[b>>2]}if((h|0)>=(m|0)){break a}q:{while(1){r:{j=v[(h<<2)+a>>2];if((j|0)!=32){if((j|0)!=58){break a}h=h+1|0;v[b>>2]=h;j=v[c>>2];if((j|0)<=(h|0)){break a}l=v[(h<<2)+a>>2];if((l|0)!=32){break q}break r}h=h+1|0;v[b>>2]=h;if(v[c>>2]>(h|0)){continue}break a}break}while(1){h=h+1|0;v[b>>2]=h;j=v[c>>2];if((j|0)<=(h|0)){break a}l=v[(h<<2)+a>>2];if((l|0)==32){continue}break}}s:{t:{if(l-48>>>0<10){break t}m=l-45|0;if(1<>>0<=24:0){break t}m=1;if((l|0)!=101){break s}}m=PD(a,b,c);j=v[c>>2];h=v[b>>2]}if((h|0)>=(j|0)){break a}while(1){j=v[(h<<2)+a>>2];if((j|0)!=32){if((j|0)!=41){break a}v[b>>2]=h+1;break j}h=h+1|0;v[b>>2]=h;if(v[c>>2]>(h|0)){continue}break}break a}if((k|0)<1|(m|0)<1){break i}v[g+44>>2]=v[g+40>>2];h=0;n=v[e>>2];f=v[f>>2]-n|0;l=(f|0)>(k|0)?k:f;u:{if(!l){k=0;break u}k=0;q=fc((l|0)!=(l&1073741823)?-1:l<<2);if((l|0)<1){break u}i=0;while(1){f=i+1|0;v:{j=x[(i+n<<1)+d>>1];w:{if((j&63488)!=55296){i=f;break w}if(j>>>0>=56320){i=f;break v}if((f|0)>=(l|0)){break u}i=i+2|0;f=x[(f+n<<1)+d>>1];if((f&64512)!=56320){break v}j=j<<10&982016|f&1023|65536}v[(k<<2)+q>>2]=j;k=k+1|0;if((i|0)<(l|0)){continue}break u}if((i|0)<(l|0)){continue}break}}i=g+40|0;r=(k|0)>(m|0)?m:k;while(1){x:{if((h|0)<(r|0)){n=(h<<2)+q|0;d=v[g+44>>2];if((d|0)!=v[g+48>>2]){v[d>>2]=v[n>>2];v[g+44>>2]=d+4;break x}f=v[i>>2];j=d-f|0;o=j>>2;d=o+1|0;if(d>>>0>=1073741824){break h}k=j>>1;k=o>>>0<536870911?d>>>0>k>>>0?d:k:1073741823;if(k){if(k>>>0>=1073741824){break g}d=fc(k<<2)}else{d=0}o=d+(o<<2)|0;v[o>>2]=v[n>>2];if((j|0)>=1){gc(d,f,j)}v[g+48>>2]=d+(k<<2);v[g+44>>2]=o+4;v[g+40>>2]=d;if(!f){break x}dc(f);break x}d=v[g+44>>2];j=v[g+48>>2];if(d>>>0>>0){v[d>>2]=32;v[g+44>>2]=d+4;break x}f=v[i>>2];k=d-f|0;n=k>>2;d=n+1|0;if(d>>>0>=1073741824){break h}j=j-f|0;o=j>>1;j=j>>2>>>0<536870911?d>>>0>o>>>0?d:o:1073741823;if(j){if(j>>>0>=1073741824){break f}d=fc(j<<2)}else{d=0}n=d+(n<<2)|0;v[n>>2]=32;if((k|0)>=1){gc(d,f,k)}v[g+48>>2]=d+(j<<2);v[g+44>>2]=n+4;v[g+40>>2]=d;if(!f){break x}dc(f)}h=h+1|0;if((m|0)!=(h|0)){continue}break}if(q){dc(q)}v[e>>2]=l+v[e>>2]}i=0;e=v[g+44>>2];d=v[g+40>>2];if((e|0)==(d|0)){break a}v[g>>2]=v[d>>2];f=d+4|0;e=e-f|0;if(e){Wd(d,f,e)}v[g+44>>2]=d+e;d=v[c>>2];h=v[b>>2];if((d|0)<=(h|0)){break a}e=v[(h<<2)+a>>2];if((e|0)==32){while(1){h=h+1|0;v[b>>2]=h;d=v[c>>2];if((h|0)>=(d|0)){break a}if(v[(h<<2)+a>>2]==32){continue}break}}if(e-48>>>0<10){break d}f=e-45|0;if(f>>>0>24|!(1<>1]=d;d=v[c>>2];h=v[b>>2]}i=1;if((d|0)<=(h|0)){break a}i=v[(h<<2)+a>>2];if((i|0)==32){while(1){i=1;h=h+1|0;v[b>>2]=h;d=v[c>>2];if((h|0)>=(d|0)){break a}i=v[(h<<2)+a>>2];if((i|0)==32){continue}break}}y:{if((i|0)!=44){break y}i=1;h=h+1|0;v[b>>2]=h;d=v[c>>2];if((h|0)>=(d|0)){break a}i=v[(h<<2)+a>>2];if((i|0)==32){while(1){i=1;h=h+1|0;v[b>>2]=h;d=v[c>>2];if((h|0)>=(d|0)){break a}i=v[(h<<2)+a>>2];if((i|0)==32){continue}break}}z:{A:{if(i-48>>>0<10){break A}e=i-45|0;if((i|0)==101|(1<>>0<=24:0)){break A}t[g+34|0]=0;break z}p=se(a,b,c);t[g+34|0]=1;A[g+8>>3]=p;d=v[c>>2];h=v[b>>2]}i=1;if((d|0)<=(h|0)){break a}i=v[(h<<2)+a>>2];if((i|0)==32){while(1){i=1;h=h+1|0;v[b>>2]=h;d=v[c>>2];if((h|0)>=(d|0)){break a}i=v[(h<<2)+a>>2];if((i|0)==32){continue}break}}if((i|0)!=44){break y}i=1;h=h+1|0;v[b>>2]=h;d=v[c>>2];if((h|0)>=(d|0)){break a}i=v[(h<<2)+a>>2];if((i|0)==32){while(1){i=1;h=h+1|0;v[b>>2]=h;d=v[c>>2];if((h|0)>=(d|0)){break a}i=v[(h<<2)+a>>2];if((i|0)==32){continue}break}}B:{C:{if(i-48>>>0<10){break C}e=i-45|0;if((i|0)==101|(1<>>0<=24:0)){break C}t[g+35|0]=0;break B}p=se(a,b,c);t[g+35|0]=1;A[g+16>>3]=p;d=v[c>>2];h=v[b>>2]}i=1;if((d|0)<=(h|0)){break a}i=v[(h<<2)+a>>2];if((i|0)==32){while(1){i=1;h=h+1|0;v[b>>2]=h;d=v[c>>2];if((h|0)>=(d|0)){break a}i=v[(h<<2)+a>>2];if((i|0)==32){continue}break}}if((i|0)!=44){break y}i=1;h=h+1|0;v[b>>2]=h;d=v[c>>2];if((h|0)>=(d|0)){break a}i=v[(h<<2)+a>>2];if((i|0)==32){while(1){i=1;h=h+1|0;v[b>>2]=h;d=v[c>>2];if((h|0)>=(d|0)){break a}i=v[(h<<2)+a>>2];if((i|0)==32){continue}break}}D:{if(i-48>>>0<10){break D}e=i-45|0;if((i|0)==101|(1<>>0<=24:0)){break D}t[g+36|0]=0;break y}p=se(a,b,c);t[g+36|0]=1;A[g+24>>3]=p;d=v[c>>2];h=v[b>>2]}i=1;if((d|0)<=(h|0)){break a}while(1){d=v[(h<<2)+a>>2];if((d|0)!=32){i=0;if((d|0)!=59){break a}i=1;v[b>>2]=h+1;break a}h=h+1|0;v[b>>2]=h;if(v[c>>2]>(h|0)){continue}break}break a}if(!d){break a}a=v[e>>2];if((a|0)>=v[f>>2]){break a}v[e>>2]=a+1;a=x[(a<<1)+d>>1];t[g+32|0]=1;v[g>>2]=a;return 1}return i|0}function AV(a){var 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;d=Qb+-64|0;Qb=d;a:{b:{c:{d:{e:{f:{if(!v[a+28>>2]){b=fc(60);v[299999]=0;v[b+4>>2]=1;v[b>>2]=878672;c=v[299999];v[299999]=0;if((c|0)==1){break e}v[b+48>>2]=0;v[b+52>>2]=0;v[b+40>>2]=0;v[b+44>>2]=0;v[b+56>>2]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b>>2]=878848;v[b+24>>2]=0;v[b+28>>2]=0;c=b+16|0;v[c>>2]=0;v[c+4>>2]=0;v[b+12>>2]=c;v[b+48>>2]=0;t[b+47|0]=0;t[b+59|0]=0;v[b+36>>2]=0;v[a+24>>2]=b;v[b+8>>2]=a;Ub[v[v[a>>2]+8>>2]](a)|0;v[a+28>>2]=v[a+24>>2];break f}b=fc(60);v[299999]=0;v[b+4>>2]=1;v[b>>2]=878672;c=v[299999];v[299999]=0;if((c|0)==1){break d}v[b+48>>2]=0;v[b+52>>2]=0;v[b+40>>2]=0;v[b+44>>2]=0;v[b+56>>2]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b>>2]=878848;v[b+24>>2]=0;v[b+28>>2]=0;c=b+16|0;v[c>>2]=0;v[c+4>>2]=0;v[b+12>>2]=c;v[b+48>>2]=0;t[b+47|0]=0;t[b+59|0]=0;v[b+36>>2]=0;v[d+24>>2]=b;v[b+8>>2]=a;Ub[v[v[a>>2]+8>>2]](a)|0;b=v[a+28>>2];i=b+24|0;f=v[b+28>>2];k=d+24|0;e=Qb-32|0;Qb=e;g:{h:{i:{j:{c=v[i+4>>2];g=v[i+8>>2];k:{if(c>>>0>>0){if((c|0)==(f|0)){v[f>>2]=v[k>>2];v[i+4>>2]=f+4;break k}b=c;h=b-4|0;if(b>>>0>h>>>0){while(1){v[b>>2]=v[h>>2];b=b+4|0;h=h+4|0;if(c>>>0>h>>>0){continue}break}}v[i+4>>2]=b;h=f;g=k;m=g>>>0>=f>>>0;j=(c-f|0)-4|0;if(j){Wd(c-(j>>2<<2)|0,f,j);b=v[i+4>>2]}v[h>>2]=v[((b>>>0>k>>>0&m)<<2)+g>>2];break k}h=v[i>>2];c=(c-h>>2)+1|0;if(c>>>0>=1073741824){break j}v[e+24>>2]=i+8;b=e;g=g-h|0;j=g>>1;g=g>>2>>>0<536870911?c>>>0>j>>>0?c:j:1073741823;if(g){if(g>>>0>=1073741824){break i}c=fc(g<<2)}else{c=0}v[b+8>>2]=c;j=f-h|0;o=j>>2;b=c+(o<<2)|0;v[e+16>>2]=b;m=c+(g<<2)|0;v[e+20>>2]=m;v[e+12>>2]=b;l:{if((g|0)!=(o|0)){break l}if((j|0)>=1){b=((o+1|0)/-2<<2)+b|0;break l}g=j?j>>1:1;if(g>>>0>=1073741824){v[299999]=0;R(2667,274079);a=v[299999];v[299999]=0;if((a|0)==1){break h}L()}v[299999]=0;j=g<<2;b=S(1,j|0)|0;m=v[299999];v[299999]=0;if((m|0)==1){break h}v[e+8>>2]=b;m=b+j|0;v[e+20>>2]=m;b=b+(g&-4)|0;if(!c){break l}dc(c);h=v[i>>2]}v[b>>2]=v[k>>2];k=f-h|0;c=b-k|0;v[e+12>>2]=c;b=b+4|0;v[e+16>>2]=b;if((k|0)>=1){gc(c,h,k)}k=v[i+4>>2];if((k|0)!=(f|0)){while(1){v[b>>2]=v[f>>2];b=v[e+16>>2]+4|0;v[e+16>>2]=b;f=f+4|0;if((k|0)!=(f|0)){continue}break}m=v[e+20>>2];c=v[e+12>>2]}v[i+8>>2]=m;v[i+4>>2]=b;b=v[i>>2];v[i>>2]=c;if(b){dc(b)}}Qb=e+32|0;break g}ue(i);L()}cf(274079);L()}a=P()|0;O()|0;yV(e+8|0);break a}v[a+28>>2]=v[d+24>>2]}b=v[a+12>>2];if(!b){break c}b=Eu(b);if(!b){break c}cn(d+24|0,b,Bc(b));v[d+8>>2]=v[d+28>>2];b=w[d+31|0]|w[d+32|0]<<8|(w[d+33|0]<<16|w[d+34|0]<<24);t[d+11|0]=b;t[d+12|0]=b>>>8;t[d+13|0]=b>>>16;t[d+14|0]=b>>>24;c=v[d+24>>2];b=w[d+35|0];break b}a=P()|0;O()|0;dc(b);break a}a=P()|0;O()|0;dc(b);break a}c=0;b=0}e=v[a+28>>2];if(t[e+59|0]<=-1){dc(v[e+48>>2])}v[e+48>>2]=c;v[e+52>>2]=v[d+8>>2];c=w[d+11|0]|w[d+12|0]<<8|(w[d+13|0]<<16|w[d+14|0]<<24);t[e+55|0]=c;t[e+56|0]=c>>>8;t[e+57|0]=c>>>16;t[e+58|0]=c>>>24;t[e+59|0]=b;b=fc(12);c=v[a+28>>2];v[b+4>>2]=a+32;v[b+8>>2]=c;c=v[a+32>>2];v[b>>2]=c;v[c+4>>2]=b;v[a+32>>2]=b;v[a+40>>2]=v[a+40>>2]+1;m:{n:{b=v[a+12>>2];o:{if(!b){break o}p:{if((TU(b)|0)<1){break p}q:{r:{b=v[a+12>>2];if(!b){break r}UU(b);b=v[a+12>>2];if(!b){break r}e=Eu(b);if(!e){break r}c=Bc(e);if(c>>>0<4294967280){s:{t:{if(c>>>0>=11){f=c+16&-16;b=fc(f);v[d+32>>2]=f|-2147483648;v[d+24>>2]=b;v[d+28>>2]=c;break t}t[d+35|0]=c;b=d+24|0;if(!c){break s}}gc(b,e,c)}t[b+c|0]=0;u[d+52>>1]=x[d+32>>1];t[d+54|0]=w[d+34|0];l=v[d+28>>2];n=w[d+35|0];b=v[d+24>>2];break q}$d(d+24|0);L()}b=0}e=n<<24>>24<0;u:{v:{if(!(e?l:n)){c=b;break v}k=a+8|0;while(1){c=v[a+28>>2];v[299999]=0;V(2944,d+8|0,k|0);f=v[299999];v[299999]=0;w:{x:{y:{z:{A:{if((f|0)!=1){B:{if(!e){v[d+28>>2]=l;v[d+24>>2]=b;t[d+34|0]=w[d+54|0];u[d+32>>1]=x[d+52>>1];t[d+35|0]=n;break B}v[299999]=0;U(2534,d+24|0,b|0,l|0);f=v[299999];v[299999]=0;if((f|0)==1){break A}}f=v[d+12>>2];v[d+36>>2]=v[d+8>>2];v[d+40>>2]=f;v[d+44>>2]=v[d+16>>2];v[d+16>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[299999]=0;h=c+12|0;c=d+24|0;$(2945,d+56|0,h|0,c|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break z}if(t[d+47|0]<=-1){dc(v[d+36>>2])}if(t[d+35|0]<=-1){dc(v[d+24>>2])}if(t[d+19|0]<=-1){dc(v[d+8>>2])}c=v[a+12>>2];if(!c){break u}v[299999]=0;c=GF(c);f=v[299999];v[299999]=0;if((f|0)==1){break x}if((c|0)==1){break w}c=b;break v}a=P()|0;O()|0;if(e){break m}break a}a=P()|0;O()|0;break y}a=P()|0;O()|0;if(t[d+47|0]<=-1){dc(v[d+36>>2])}if(t[d+35|0]<=-1){dc(v[d+24>>2])}}if(t[d+19|0]<=-1){dc(v[d+8>>2]);if(e){break m}break a}if(e){break m}break a}a=P()|0;O()|0;if(e){break m}break a}C:{D:{c=v[a+12>>2];if(!c){break D}v[299999]=0;f=S(2947,c|0)|0;c=v[299999];v[299999]=0;E:{if((c|0)==1){break E}if(!f){break D}c=Bc(f);if(c>>>0>=4294967280){v[299999]=0;R(2530,d+24|0);a=v[299999];v[299999]=0;if((a|0)==1){break E}L()}F:{G:{if(c>>>0>=11){v[299999]=0;h=c+16&-16;l=S(1,h|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break E}v[d+24>>2]=l;v[d+28>>2]=c;v[d+32>>2]=h|-2147483648;break G}t[d+35|0]=c;l=d+24|0;if(!c){break F}}gc(l,f,c)}t[c+l|0]=0;u[d+8>>1]=x[d+32>>1];t[d+10|0]=w[d+34|0];l=v[d+28>>2];n=w[d+35|0];c=v[d+24>>2];break C}a=P()|0;O()|0;if(e){break m}break a}n=0;c=p&-256}if(e){dc(b)}t[d+54|0]=w[d+10|0];u[d+52>>1]=x[d+8>>1];p=c&-256;b=c;e=n<<24>>24<0;if(e?l:n){continue}break}}b=v[a+12>>2];if(b){v[299999]=0;FF(b);b=v[299999];v[299999]=0;if((b|0)==1){break n}}b=c}if(!e){break p}dc(b)}b=v[a+12>>2];if(!b){break o}if(!EF(b)){break o}b=v[a+32>>2];c=v[b>>2];v[c+4>>2]=v[b+4>>2];v[v[b+4>>2]>>2]=c;v[a+40>>2]=v[a+40>>2]-1;dc(b);v[a+28>>2]=v[(v[a+40>>2]?v[a+32>>2]+8|0:a+24|0)>>2]}Qb=d- -64|0;return}a=P()|0;O()|0;b=c;if(!e){break a}}dc(b)}T(a|0);L()}function nG(a,b){var 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=Qb-272|0;Qb=c;v[c+60>>2]=0;v[c+64>>2]=0;a:{if(!b){UV(c+24|0);break a}v[c- -64>>2]=v[b+40>>2];d=v[b+36>>2];v[c+56>>2]=v[b+32>>2];v[c+60>>2]=d;d=v[b+28>>2];v[c+48>>2]=v[b+24>>2];v[c+52>>2]=d;d=v[b+20>>2];v[c+40>>2]=v[b+16>>2];v[c+44>>2]=d;d=v[b+12>>2];v[c+32>>2]=v[b+8>>2];v[c+36>>2]=d;d=v[b+4>>2];v[c+24>>2]=v[b>>2];v[c+28>>2]=d}v[c+68>>2]=0;b=c;e=v[c+52>>2];d=a;a=v[c+24>>2];if(!a){a=v[c+56>>2]}f=Ub[a|0](e,d,5)|0;v[b+72>>2]=f;b:{if(!f){break b}c:{d:{e:{if(Uh(c+24|0,f,0,0,2)){break e}g=xo(c+24|0,f);j=Tb;l=jc(1028);if(!l){break e}a=!j&g>>>0<65535;o=a?g:65535;i=a?j:0;d=4;e=0;f:{while(1){if((e|0)==(i|0)&d>>>0>=o>>>0|e>>>0>i>>>0){break f}n=c+24|0;a=g;k=j;d=d+1024|0;e=d>>>0<1024?e+1|0:e;m=(e|0)==(i|0)&d>>>0>o>>>0|e>>>0>i>>>0;d=m?o:d;e=m?i:e;b=d;k=k-(e+(b>>>0>a>>>0)|0)|0;q=a-b|0;if(Uh(n,f,q,k,0)){break f}a=!e&d>>>0<1028?d:1028;if((Ub[v[c+28>>2]](v[c+52>>2],f,l,a)|0)!=(a|0)){break f}m=0;h=0;g:{if((a|0)<4){break g}b=a-3|0;a=a-4|0;while(1){n=b;b=a;a=l+a|0;if(!(w[a|0]!=80|w[l+n|0]!=75|(w[a+2|0]!=6|w[a+3|0]!=7))){a=k;h=b+q|0;a=h>>>0>>0?a+1|0:a;m=h;h=a;break g}a=b-1|0;if((b|0)>0){continue}break}}if(!(h|m)){continue}break}dc(l);if(Uh(c+24|0,f,m,h,0)){break e}if(Dg(c+24|0,f,c)){break e}if(Dg(c+24|0,f,c)|v[c>>2]){break e}if(an(c+24|0,f,c+264|0)){break e}if(Dg(c+24|0,f,c)|v[c>>2]!=1){break e}a=v[c+268>>2];k=a;i=v[c+264>>2];if(Uh(c+24|0,f,i,a,0)){break e}if(!(k|i)|(Dg(c+24|0,f,c)|v[c>>2]!=101075792)){break e}v[c+256>>2]=1;a=c+24|0;b=Uh(a,v[c+72>>2],i,k,0);d=Dg(a,v[c+72>>2],c+20|0);e=an(a,v[c+72>>2],c);p=-1;a=v[c+72>>2];h:{if((Ub[v[c+28>>2]](v[c+52>>2],a,c+264|0,1)|0)!=1){if(Ub[v[c+48>>2]](v[c+52>>2],a)|0){break h}}if((Ub[v[c+28>>2]](v[c+52>>2],a,c+264|0,1)|0)!=1){if(Ub[v[c+48>>2]](v[c+52>>2],a)|0){break h}}p=b|(d|e)?-1:0}b=v[c+72>>2];i:{if((Ub[v[c+28>>2]](v[c+52>>2],b,c+264|0,1)|0)!=1){a=-1;if(Ub[v[c+48>>2]](v[c+52>>2],b)|0){break i}}if((Ub[v[c+28>>2]](v[c+52>>2],b,c+264|0,1)|0)!=1){a=-1;if(Ub[v[c+48>>2]](v[c+52>>2],b)|0){break i}}a=p}b=c+24|0;d=Dg(b,v[c+72>>2],c+16|0);e=Dg(b,v[c+72>>2],c+12|0);f=an(b,v[c+72>>2],c+80|0);g=an(b,v[c+72>>2],c+264|0);p=v[c+80>>2];j=v[c+84>>2];h=v[c+264>>2];n=v[c+268>>2];l=v[c+16>>2];o=v[c+12>>2];m=an(b,v[c+72>>2],c+136|0);b=an(b,v[c+72>>2],c+144|0);v[c+88>>2]=0;g=b|m?-1:(h|0)!=(p|0)|(j|0)!=(n|0)?-103:l|o?-103:f|g|(d|e)?-1:a;break d}dc(l)}i=0;k=0;h=v[c+72>>2];j:{if(Uh(c+24|0,h,0,0,2)){f=-1;break j}n=xo(c+24|0,h);l=Tb;f=-1;m=jc(1028);if(!m){break j}a=!l&n>>>0<65535;q=a?n:65535;j=a?l:0;d=4;e=0;k:{while(1){i=0;k=0;if((e|0)==(j|0)&d>>>0>=q>>>0|e>>>0>j>>>0){break k}r=c+24|0;a=n;g=l;d=d+1024|0;e=d>>>0<1024?e+1|0:e;b=(e|0)==(j|0)&d>>>0>q>>>0|e>>>0>j>>>0;d=b?q:d;o=r;e=b?j:e;b=d;g=g-(e+(b>>>0>a>>>0)|0)|0;r=a-b|0;if(Uh(o,h,r,g,0)){break k}a=!e&d>>>0<1028?d:1028;if((Ub[v[c+28>>2]](v[c+52>>2],h,m,a)|0)!=(a|0)){break k}l:{if((a|0)<4){break l}b=a-3|0;a=a-4|0;while(1){o=b;b=a;a=m+a|0;if(!(w[a|0]!=80|w[m+o|0]!=75|(w[a+2|0]!=5|w[a+3|0]!=6))){a=b+r|0;k=a>>>0>>0?g+1|0:g;i=a;break l}a=b-1|0;if((b|0)>0){continue}break}}if(!(k|i)){continue}break}f=0}dc(m)}v[c+256>>2]=0;a=c+24|0;g=Uh(a,v[c+72>>2],i,k,0);j=Dg(a,v[c+72>>2],c+20|0);e=v[c+72>>2];m:{n:{if((Ub[v[c+28>>2]](v[c+52>>2],e,c+264|0,1)|0)==1){a=w[c+264|0];break n}a=0;b=-1;if(Ub[v[c+48>>2]](v[c+52>>2],e)|0){break m}}o:{if((Ub[v[c+28>>2]](v[c+52>>2],e,c+264|0,1)|0)==1){d=w[c+264|0];break o}d=a;b=-1;if(Ub[v[c+48>>2]](v[c+52>>2],e)|0){break m}}p=d<<8|a;b=g|j?-1:f}v[c+16>>2]=p;e=v[c+72>>2];p:{q:{if((Ub[v[c+28>>2]](v[c+52>>2],e,c+264|0,1)|0)==1){a=w[c+264|0];break q}a=0;d=-1;if(Ub[v[c+48>>2]](v[c+52>>2],e)|0){break p}}r:{if((Ub[v[c+28>>2]](v[c+52>>2],e,c+264|0,1)|0)==1){d=w[c+264|0];break r}d=a;if(!(Ub[v[c+48>>2]](v[c+52>>2],e)|0)){break r}a=0;d=-1;break p}a=d<<8|a;d=b}v[c+12>>2]=a;e=c;h=c;s:{t:{g=v[c+72>>2];u:{if((Ub[v[c+28>>2]](v[c+52>>2],g,c+264|0,1)|0)==1){b=w[c+264|0];break u}if(Ub[v[c+48>>2]](v[c+52>>2],g)|0){break t}b=0}v:{if((Ub[v[c+28>>2]](v[c+52>>2],g,c+264|0,1)|0)==1){f=w[c+264|0];break v}f=b;if(Ub[v[c+48>>2]](v[c+52>>2],g)|0){break t}}b=b|f<<8;break s}d=-1;b=0}v[h+80>>2]=b;v[e+84>>2]=0;h=c;g=v[c+72>>2];w:{x:{if((Ub[v[c+28>>2]](v[c+52>>2],g,c+264|0,1)|0)==1){b=w[c+264|0];break x}e=-1;b=0;f=b;if(Ub[v[c+48>>2]](v[c+52>>2],g)|0){break w}}y:{if((Ub[v[c+28>>2]](v[c+52>>2],g,c+264|0,1)|0)==1){f=w[c+264|0];break y}f=b;if(!(Ub[v[c+48>>2]](v[c+52>>2],g)|0)){break y}e=-1;f=0;break w}e=d;f=f<<8|b}b=f;v[h+20>>2]=b;f=b;v[c+264>>2]=b;v[c+268>>2]=0;j=v[c+80>>2];h=v[c+84>>2];n=Dg(c+24|0,v[c+72>>2],c+20|0);v[c+136>>2]=v[c+20>>2];v[c+140>>2]=0;l=Dg(c+24|0,v[c+72>>2],c+20|0);v[c+144>>2]=v[c+20>>2];v[c+148>>2]=0;z:{g=v[c+72>>2];A:{B:{if((Ub[v[c+28>>2]](v[c+52>>2],g,c,1)|0)==1){b=w[c|0];break B}if(Ub[v[c+48>>2]](v[c+52>>2],g)|0){break A}b=0}if((Ub[v[c+28>>2]](v[c+52>>2],g,c,1)|0)==1){d=w[c|0];break z}d=b;if(!(Ub[v[c+48>>2]](v[c+52>>2],g)|0)){break z}}v[c+88>>2]=0;break c}v[c+88>>2]=b|d<<8;g=l|n?-1:(f|0)!=(j|0)|h?-103:a|p?-103:e}b=i;a=k;f=v[c+144>>2];d=f+v[c+136>>2]|0;e=v[c+140>>2]+v[c+148>>2]|0;e=d>>>0>>0?e+1|0:e;f=e;if(g|((e|0)==(a|0)&b>>>0>>0|a>>>0>>0)){break c}v[c+248>>2]=0;v[c+252>>2]=0;v[c+128>>2]=i;v[c+132>>2]=k;v[c+96>>2]=i-d;v[c+100>>2]=k-((d>>>0>i>>>0)+f|0);a=jc(240);if(!a){break b}s=gc(a,c+24|0,240);a=s;v[a+80>>2]=0;v[a+84>>2]=0;b=v[a+124>>2];v[a+88>>2]=v[a+120>>2];v[a+92>>2]=b;t=a,u=!mG(a,a+128|0,a+216|0,0,0,0,0,0,0),v[t+96>>2]=u;v[a+100>>2]=0;break b}Ub[v[c+44>>2]](v[c+52>>2],v[c+72>>2])|0}Qb=c+272|0;return s}function Mda(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;g=b;d=Qb-112|0;Qb=d;v[a+8>>2]=0;v[a>>2]=981280;e=v[282402];b=a;v[a+20>>2]=0;v[a+12>>2]=e;v[a+16>>2]=999976;v[299999]=0;f=S(1,52)|0;a=v[299999];v[299999]=0;k=b+8|0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{if((a|0)!=1){v[299999]=0;e=Rm(f,8,5413,5414,5415,5416,5417);a=v[299999];v[299999]=0;if((a|0)==1){break F}v[e+4>>2]=v[e+4>>2]+1;a=v[b+20>>2];G:{if(!a){break G}f=v[a+4>>2]-1|0;v[a+4>>2]=f;if(f){break G}Ub[v[v[a>>2]+4>>2]](a)}v[b+20>>2]=e;v[b+24>>2]=999976;v[b+28>>2]=0;v[299999]=0;f=S(1,52)|0;a=v[299999];v[299999]=0;if((a|0)==1){break E}v[299999]=0;e=Rm(f,8,5413,5414,5415,5416,5417);a=v[299999];v[299999]=0;if((a|0)==1){break D}v[e+4>>2]=v[e+4>>2]+1;a=v[b+28>>2];H:{if(!a){break H}f=v[a+4>>2]-1|0;v[a+4>>2]=f;if(f){break H}Ub[v[v[a>>2]+4>>2]](a)}t[b+32|0]=0;v[b+28>>2]=e;v[299999]=0;e=Q(5423,d+72|0,g|0)|0;a=v[299999];v[299999]=0;h=1;if((a|0)==1){break B}v[d+72>>2]=999812;if(!w[d+104|0]){v[299999]=0;V(4536,e|0,1);a=v[299999];v[299999]=0;if((a|0)==1){break A}h=w[d+104|0]!=0}v[d+96>>2]=981312;v[d+72>>2]=981280;a=v[d+100>>2];if(a){e=v[a+4>>2]-1|0;v[a+4>>2]=e;if(!e){Ub[v[v[a>>2]+4>>2]](a)}v[d+100>>2]=0}v[d+88>>2]=981312;a=v[d+92>>2];if(a){e=v[a+4>>2]-1|0;v[a+4>>2]=e;if(!e){Ub[v[v[a>>2]+4>>2]](a)}v[d+92>>2]=0}ec(d+80|0);if(!h){break C}v[299999]=0;Q(4535,k|0,g|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break t}a=P()|0;O()|0;break e}a=P()|0;O()|0;v[b+16>>2]=981312;break c}a=P()|0;O()|0;dc(f);v[b+16>>2]=981312;c=v[b+20>>2];if(!c){break c}g=v[c+4>>2]-1|0;v[c+4>>2]=g;if(!g){Ub[v[v[c>>2]+4>>2]](c)}v[b+20>>2]=0;break c}a=P()|0;O()|0;v[b+24>>2]=981312;break d}a=P()|0;O()|0;dc(f);v[b+24>>2]=981312;c=v[b+28>>2];if(!c){break d}g=v[c+4>>2]-1|0;v[c+4>>2]=g;if(!g){Ub[v[v[c>>2]+4>>2]](c)}v[b+28>>2]=0;break d}a=v[c+8>>2];l=v[(a?a+12|0:1129608)>>2];v[299999]=0;j=Q(4340,d+72|0,l|0)|0;a=v[299999];v[299999]=0;I:{if((a|0)!=1){v[d+64>>2]=0;a=v[282402];v[d+68>>2]=a;v[d+60>>2]=a;v[d+56>>2]=0;v[d+52>>2]=a;v[d+48>>2]=0;v[299999]=0;V(5403,d+40|0,j|0);a=v[299999];v[299999]=0;if((a|0)==1){break I}h=0;a=v[d+40>>2];if(a){i=v[a+8>>2]}ec(d+40|0);f=v[j>>2];if(f){h=v[f+8>>2]}a=i+1|0;if((h|0)<=(a|0)){break x}J:{if(a){e=!f;c=a;K:{if((i|0)>-2){break K}c=a;if(!f){break K}c=v[f+8>>2]+a|0}if(!(e|(c|0)<0|v[f+8>>2]<(c|0))){e=v[f+12>>2];break J}v[299999]=0;ba(4543);a=v[299999];v[299999]=0;if((a|0)==1){break w}break b}if(!f){break x}c=0;e=v[f+12>>2]}if(w[c+e|0]!=47){break y}c=i+2|0;if(!c){a=0;break z}a=c;a=(i|0)<=-3?a+v[f+8>>2]|0:a;if((a|0)>=0&v[f+8>>2]>=(a|0)){break z}v[299999]=0;ba(4543);a=v[299999];v[299999]=0;if((a|0)!=1){break b}break w}a=P()|0;O()|0;break e}a=P()|0;O()|0;break f}a=P()|0;O()|0;break e}a=P()|0;O()|0;$c(e);break e}a=w[a+e|0]==47?i+3|0:c}v[299999]=0;a=Ml(f,47,a);c=v[299999];v[299999]=0;if((c|0)==1){break w}h=(a|0)>0?a:h}c=h+l|0;a=c;if((h|0)>0){break v}break u}a=P()|0;O()|0;break f}v[299999]=0;e=Y(4605,d+40|0,l|0,h|0)|0;a=v[299999];v[299999]=0;L:{if((a|0)!=1){v[299999]=0;Q(4535,d+48|0,e|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break L}ec(e);a=c;break u}a=P()|0;O()|0;break f}a=P()|0;O()|0;ec(e);break f}M:{N:{O:{P:{Q:{R:{S:{T:{U:{while(1){e=w[a|0];if(!e){break U}if(!((e|0)==35|(e|0)==63)){a=a+1|0;continue}break}v[299999]=0;e=Q(4340,d+40|0,a|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break T}v[299999]=0;Q(4535,d- -64|0,e|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break S}ec(e)}if(a>>>0>c>>>0){v[299999]=0;c=Y(4605,d+40|0,c|0,a-c|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break R}v[299999]=0;Q(4535,d+56|0,c|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break Q}ec(c)}a=v[g>>2];if(w[v[(a?a+12|0:1129608)>>2]]!=47){break N}v[299999]=0;V(5418,d+40|0,g|0);a=v[299999];v[299999]=0;if((a|0)==1){break P}v[299999]=0;Q(4535,d+56|0,d+40|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break O}ec(d+40|0);break M}a=P()|0;O()|0;break f}a=P()|0;O()|0;ec(e);break f}a=P()|0;O()|0;break f}a=P()|0;O()|0;ec(c);break f}a=P()|0;O()|0;break f}a=P()|0;O()|0;ec(d+40|0);break f}v[299999]=0;c=Q(4647,d+24|0,47)|0;a=v[299999];v[299999]=0;if((a|0)==1){break s}v[299999]=0;U(4547,d+32|0,d+56|0,c|0);a=v[299999];v[299999]=0;if((a|0)==1){break r}v[299999]=0;V(5418,d+16|0,g|0);a=v[299999];v[299999]=0;if((a|0)==1){break q}v[299999]=0;U(4547,d+40|0,d+32|0,d+16|0);a=v[299999];v[299999]=0;if((a|0)==1){break p}v[299999]=0;Q(4535,d+56|0,d+40|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break o}ec(d+40|0);ec(d+16|0);ec(d+32|0);ec(c)}v[299999]=0;U(4547,d+32|0,d+48|0,d+56|0);a=v[299999];v[299999]=0;if((a|0)==1){break l}v[299999]=0;U(4547,d+8|0,d+32|0,d- -64|0);a=v[299999];v[299999]=0;if((a|0)==1){break k}v[299999]=0;V(5408,d+40|0,d+8|0);a=v[299999];v[299999]=0;if((a|0)==1){break j}v[299999]=0;Q(4535,k|0,d+40|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break i}ec(d+40|0);ec(d+8|0);ec(d+32|0);ec(d+48|0);ec(d+56|0);ec(d- -64|0);ec(j)}Qb=d+112|0;break a}a=P()|0;O()|0;break f}a=P()|0;O()|0;ec(c);break f}a=P()|0;O()|0;break m}a=P()|0;O()|0;break n}a=P()|0;O()|0;ec(d+40|0)}ec(d+16|0)}ec(d+32|0);ec(c);break f}a=P()|0;O()|0;break f}a=P()|0;O()|0;break g}a=P()|0;O()|0;break h}a=P()|0;O()|0;ec(d+40|0)}ec(d+8|0)}ec(d+32|0)}ec(d+48|0);ec(d+56|0);ec(d- -64|0);ec(j)}v[b+24>>2]=981312;c=v[b+28>>2];if(!c){break d}g=v[c+4>>2]-1|0;v[c+4>>2]=g;if(!g){Ub[v[v[c>>2]+4>>2]](c)}v[b+28>>2]=0}v[b+16>>2]=981312;c=v[b+20>>2];if(!c){break c}g=v[c+4>>2]-1|0;v[c+4>>2]=g;if(!g){Ub[v[v[c>>2]+4>>2]](c)}v[b+20>>2]=0}ec(k);T(a|0);L()}L()}v[b>>2]=999812;return b|0}function B5a(a){a=a|0;var b=0,c=0,d=C(0),e=0,f=0,g=0,h=C(0),i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,w=0,y=0,A=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=C(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;o=Qb-48|0;Qb=o;if(v[a+188>>2]){Rc(60103,25,1,v[252391])}S=rt(4-v[a+156>>2]|0);y=v[a+26336>>2];a:{if((y|0)<1){break a}e=y&3;g=y-1|0;if(g>>>0>=3){s=y&-4;b=a+59284|0;while(1){j=c<<2;d=C(z[j+b>>2]*C(32e3));b:{if(C(D(d))>2]=f;k=j|4;d=C(z[k+b>>2]*C(32e3));c:{if(C(D(d))>2]=f;k=j|8;d=C(z[k+b>>2]*C(32e3));d:{if(C(D(d))>2]=f;f=j|12;d=C(z[f+b>>2]*C(32e3));e:{if(C(D(d))>2]=j;c=c+4|0;s=s-4|0;if(s){continue}break}}if(e){while(1){b=c<<2;f=b+(o+32|0)|0;d=C(z[(a+b|0)+59284>>2]*C(32e3));f:{if(C(D(d))>2]=b;c=c+1|0;e=e-1|0;if(e){continue}break}}if((y|0)<2){break a}b=g&3;g:{if(y-2>>>0<3){c=1;break g}e=g&-4;j=a+59284|0;c=1;while(1){g=c+3|0;f=c+2|0;k=c+1|0;l=z[j+(A<<2)>>2]>2]?c:A;k=z[j+(l<<2)>>2]>2]?k:l;f=z[j+(k<<2)>>2]>2]?f:k;A=z[j+(f<<2)>>2]>2]?g:f;c=c+4|0;e=e-4|0;if(e){continue}break}}if(!b){break a}e=a+59284|0;while(1){A=z[e+(A<<2)>>2]>2]?c:A;c=c+1|0;b=b-1|0;if(b){continue}break}}e=x[a+26310>>1];s=x[a+26316>>1];b=4>>>s|0;m=(e>>>0)/(b>>>0)|0;c=x[a+26308>>1];H=(c>>>0)/(b>>>0)|0;w=B(m,H);M=bd(w,4);if(M){g=(y|0)<1;N=C(S);d=C(C(32)/N);h:{if(C(D(d))>>0>e>>>0|b>>>0>c>>>0;P=H>>>0>1?H:1;U=w&-4;V=w&3;W=w&-2;X=w&1;k=m>>>0>1?m:1;Y=k&65532;Z=k&3;_=w-1>>>0>2;$=k-1>>>0>2;while(1){i:{if((A|0)==(I|0)){break i}i=ic(M,0,T);Q=(o+32|0)+(I<<2)|0;e=j;if(!O){e=4>>>s|0;E=B(e,e);q=0;f=e;while(1){r=B(m,q);b=0;g=e;n=B(e,q);j:{k:{l:{q=q+1|0;if(n>>>0>=B(e,q)>>>0){if(E){break j}c=0;b=Y;if($){break l}break k}while(1){F=B(b,e);t=b+1|0;m:{if(F>>>0>=B(t,e)>>>0){d=C(0);p=0;h=C(0);break m}G=v[Q>>2];K=x[a+26310>>1];aa=v[a+26352>>2];p=0;h=C(0);d=C(0);l=n;while(1){ba=B(l,K);c=F;while(1){J=(c+ba<<3)+aa|0;R=x[J+(I<<1)>>1];n:{if(((R|0)/(G|0)|0)!=1){break n}J=x[J+(A<<1)>>1];if(J>>>0<24001){break n}p=p+1|0;d=C(d+C(J>>>0));h=C(h+C(R>>>0))}c=c+1|0;if((g|0)!=(c|0)){continue}break}l=l+1|0;if((l|0)!=(f|0)){continue}break}}if((p|0)==(E|0)){z[(b+r<<2)+i>>2]=h/d}g=e+g|0;b=t;if((k|0)!=(b|0)){continue}break}break j}while(1){v[(c+r<<2)+i>>2]=2143289344;v[(r+(c|1)<<2)+i>>2]=2143289344;v[(r+(c|2)<<2)+i>>2]=2143289344;v[(r+(c|3)<<2)+i>>2]=2143289344;c=c+4|0;b=b-4|0;if(b){continue}break}}b=Z;if(!b){break j}while(1){v[(c+r<<2)+i>>2]=2143289344;c=c+1|0;b=b-1|0;if(b){continue}break}}f=e+f|0;if((q|0)!=(P|0)){continue}break}e=j}o:{while(1){if(e){g=0;if(!O){while(1){F=B(g,m);l=g+1|0;r=B(l,m);E=g-1|0;q=B(E,m);c=0;while(1){n=k;G=(c+F<<2)+i|0;if(z[G>>2]!=C(0)){f=c+1|0}else{d=C(0);b=0;p=E>>>0>=H>>>0;t=c-1|0;p:{if(p|t>>>0>=m>>>0){break p}h=z[(q+t<<2)+i>>2];if(!(h>C(0))){break p}d=C(h+C(0));b=1}q:{if(c>>>0>=m>>>0|p){break q}h=z[(c+q<<2)+i>>2];if(!(h>C(0))){break q}b=b|2;d=C(d+C(h+h))}f=c+1|0;r:{if(f>>>0>=m>>>0|p){break r}h=z[(f+q<<2)+i>>2];if(!(h>C(0))){break r}b=b+1|0;d=C(d+h)}K=g>>>0>=H>>>0;s:{if(K|f>>>0>=m>>>0){break s}h=z[(f+F<<2)+i>>2];if(!(h>C(0))){break s}b=b+2|0;d=C(d+C(h+h))}p=l>>>0>=H>>>0;t:{if(p|f>>>0>=m>>>0){break t}h=z[(f+r<<2)+i>>2];if(!(h>C(0))){break t}b=b+1|0;d=C(d+h)}u:{if(c>>>0>=m>>>0|p){break u}h=z[(c+r<<2)+i>>2];if(!(h>C(0))){break u}b=b+2|0;d=C(d+C(h+h))}v:{if(m>>>0<=t>>>0|p){break v}h=z[(r+t<<2)+i>>2];if(!(h>C(0))){break v}b=b+1|0;d=C(d+h)}w:{if(m>>>0<=t>>>0|K){break w}h=z[(t+F<<2)+i>>2];if(!(h>C(0))){break w}b=b+2|0;d=C(d+C(h+h))}if((b|0)>3){z[G>>2]=C(-C(d+N))/C(N+C(b|0))}}c=f;if((n|0)!=(c|0)){continue}break}g=l;if((g|0)!=(P|0)){continue}break}}if((w|0)<1){break o}c=0;g=0;b=W;if((w|0)!=1){while(1){f=c<<2;l=f+i|0;d=z[l>>2];if(d>2]=-d;g=1}f=(f|4)+i|0;d=z[f>>2];if(d>2]=-d;g=1}c=c+2|0;b=b-2|0;if(b){continue}break}}x:{if(!X){break x}b=(c<<2)+i|0;d=z[b>>2];if(!(d>2]=-d;g=1}e=e-1|0;if(g){continue}}break}if((w|0)<1){break o}c=0;e=U;if(_){while(1){b=c<<2;g=b+i|0;if(z[g>>2]==C(0)){v[g>>2]=1065353216}g=(b|4)+i|0;if(z[g>>2]==C(0)){v[g>>2]=1065353216}g=(b|8)+i|0;if(z[g>>2]==C(0)){v[g>>2]=1065353216}b=(b|12)+i|0;if(z[b>>2]==C(0)){v[b>>2]=1065353216}c=c+4|0;e=e-4|0;if(e){continue}break}}b=V;if(!b){break o}while(1){e=(c<<2)+i|0;if(z[e>>2]==C(0)){v[e>>2]=1065353216}c=c+1|0;b=b-1|0;if(b){continue}break}}f=0;if(O){break i}while(1){F=B(f,m);b=f+1|0;e=0;while(1){l=e+1|0;c=4>>>s|0;g=B(f,c);if(g>>>0>>0){r=(e+F<<2)+i|0;while(1){c=B(c,e);if(c>>>0>>s|0)>>>0){q=v[Q>>2];p=v[a+26352>>2];while(1){E=p+(B(x[a+26310>>1],g)+c<<3)|0;G=E+(I<<1)|0;n=x[G>>1];y:{if(((n|0)/(q|0)|0)<2){break y}t=n;d=C(z[r>>2]*C(x[E+(A<<1)>>1]));z:{if(C(D(d))=(n|0)){break y}n=(n|0)<65535?n:65535;u[G>>1]=(n|0)>0?n:0;s=x[a+26316>>1]}c=c+1|0;if(c>>>0>>s|0)>>>0){continue}break}}g=g+1|0;c=4>>>s|0;if(g>>>0>>0){continue}break}}e=l;if((k|0)!=(e|0)){continue}break}f=b;if((P|0)!=(b|0)){continue}break}}I=I+1|0;if((I|0)!=(y|0)){continue}break}}dc(M);Qb=o+48|0;return}b=v[a+190640>>2];A:{if(b){e=v[a+25208>>2];v[o+20>>2]=60292;v[o+16>>2]=e;zd(b,4338,o+16|0);break A}b=v[a+25208>>2];v[o+4>>2]=60292;v[o>>2]=b;wc(v[252391],4338,o)}sd(a+190484|0,1);L()}function yib(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,p=0,q=0,r=0,s=0,u=0,x=0;k=Qb-32|0;Qb=k;if(c){Sc(4194,0)}a:{b:{c:{d:{e:{f:{g:{c=v[a+28>>2];switch((c>>8)-3|0){case 0:break f;case 1:break g;default:break e}}if((c|0)!=1025){Sc(8424,0)}v[k+8>>2]=3;d=zj(a,0);v[k+12>>2]=d;if((d|0)<0){break d}g=1;c=zj(a,1);v[k+16>>2]=c;if((c|0)<0){break d}c=zj(a,2);v[k+20>>2]=c;if((c|0)<=-1){break d}n=3;break b}if((c|0)!=769){Sc(8424,0)}m=1;v[k+8>>2]=1;d=zj(a,0);v[k+12>>2]=d;c=-1;if((d|0)<=-1){break c}e=256;n=1;break b}Sc(12227,0);c=-1;break a}Sc(14648,0);c=-1;break a}Sc(14648,0);break a}f=v[a+24>>2];c=v[f+(d<<2)>>2];d=v[c+24>>2];h:{if(v[c+28>>2]|(d|0)!=v[c+24>>2]|(v[c>>2]|v[c+4>>2])){break h}j=v[c+20>>2];h=v[c+16>>2];if(!m){c=v[f+(v[k+16>>2]<<2)>>2];if((h|0)!=v[c+16>>2]|(j|0)!=v[c+20>>2]|(v[c+28>>2]|(d|0)!=v[c+24>>2])){break h}if(v[c>>2]|v[c+4>>2]){break h}c=v[f+(v[k+20>>2]<<2)>>2];if((h|0)!=v[c+16>>2]|(j|0)!=v[c+20>>2]|(v[c+28>>2]|(d|0)!=v[c+24>>2])){break h}if(!g|(v[c>>2]|v[c+4>>2])){break h}}c=-1;if(!(1<>>0>8){break a}f=T2();if(!f){break a}v[f+44>>2]=0;v[f+40>>2]=e;v[f+32>>2]=0;v[f+36>>2]=0;g=B(h,n);m=(g|0)%4|0;g=B(j,(m?4-m|0:0)+g|0);v[f+28>>2]=g;v[f+24>>2]=0;v[f+16>>2]=1;v[f+8>>2]=j;v[f+4>>2]=h;v[f>>2]=40;v[f+20>>2]=B(d,n);if(ZJ(b,19778)){break a}if(Gk(b,g+54|0)){break a}if(Gk(b,0)){break a}if(Gk(b,e<<2|54)){break a}j=0;v[f>>2]=40;d=-1;i:{if(Gk(b,40)){break i}if(Gk(b,v[f+4>>2])){break i}if(Gk(b,v[f+8>>2])){break i}if(ZJ(b,v[f+16>>2])){break i}if(ZJ(b,v[f+20>>2])){break i}if(Gk(b,v[f+24>>2])){break i}if(Gk(b,v[f+28>>2])){break i}if(Gk(b,v[f+32>>2])){break i}if(Gk(b,v[f+36>>2])){break i}if(Gk(b,v[f+40>>2])){break i}if(Gk(b,v[f+44>>2])){break i}d=0;if(v[f+40>>2]<1){break i}j:{while(1){d=v[b+8>>2];if(d&7){break j}k:{h=v[b+64>>2];if((h|0)>=0&(h|0)<=v[b+60>>2]){break k}v[b+4>>2]=v[b+4>>2]|32;d=v[b+28>>2];v[b+28>>2]=d-1;l:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;t[d|0]=j;break l}d=-1;if((Fc(b,j&255)|0)==-1){break i}}d=v[b+8>>2];if(d&7){break j}h=v[b+64>>2];if((h|0)>=0&(h|0)<=v[b+60>>2]){break k}v[b+4>>2]=v[b+4>>2]|32;d=v[b+28>>2];v[b+28>>2]=d-1;m:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;t[d|0]=j;break m}d=-1;if((Fc(b,j&255)|0)==-1){break i}}d=v[b+8>>2];if(d&7){break j}h=v[b+64>>2];if((h|0)>=0&(h|0)<=v[b+60>>2]){break k}v[b+4>>2]=v[b+4>>2]|32;d=v[b+28>>2];v[b+28>>2]=d-1;n:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;t[d|0]=j;break n}d=-1;if((Fc(b,j&255)|0)==-1){break i}}d=v[b+8>>2];if(d&7){break j}h=v[b+64>>2];if((h|0)>=0&(h|0)<=v[b+60>>2]){break k}v[b+4>>2]=v[b+4>>2]|32;d=v[b+28>>2];v[b+28>>2]=d-1;o:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;t[d|0]=0;break o}d=-1;if((Fc(b,0)|0)==-1){break i}}d=0;j=j+1|0;if((j|0)>2]){continue}break i}break}v[b+8>>2]=d|4}d=-1}if(d){break a}j=a;p=k+8|4;e=0;a=0;g=Qb-16|0;Qb=g;p:{q:{n=v[f+20>>2];d=(n|0)==24;if(!(d&v[f+40>>2]>=1)){m=d?3:1;ic(g+4|0,0,m<<2);break q}Sc(25987,0);e=-1;break p}r:{s:{while(1){d=yj(1,v[f+4>>2]);v[(g+4|0)+(a<<2)>>2]=d;if(!d){break s}a=a+1|0;if((m|0)!=(a|0)){continue}break}d=v[f+8>>2];if((d|0)<=0){break r}a=(B(m,v[f+4>>2])|0)%4|0;h=a?4-a|0:0;q=v[g+12>>2];r=v[g+8>>2];s=v[g+4>>2];x=(n|0)!=24;while(1){n=d;d=d-1|0;a=0;while(1){if(Zj(j,a,0,d,v[f+4>>2],1,v[(g+4|0)+(v[p+(a<<2)>>2]<<2)>>2])){break s}a=a+1|0;if((m|0)!=(a|0)){continue}break}t:{u:{v:{if(v[f+4>>2]<1){break v}a=0;if(!x){while(1){e=v[s+28>>2];if(v[s+20>>2]!=1){i=v[e+(a<<2)>>2]}else{i=v[e>>2]+(a<<2)|0}e=v[r+28>>2];if(v[r+20>>2]!=1){l=v[e+(a<<2)>>2]}else{l=v[e>>2]+(a<<2)|0}e=v[q+28>>2];if(v[q+20>>2]!=1){o=v[e+(a<<2)>>2]}else{o=v[e>>2]+(a<<2)|0}e=v[b+8>>2];if(e&7){break s}i=w[i|0];l=w[l|0];o=w[o|0];u=v[b+64>>2];if((u|0)>=0&v[b+60>>2]>=(u|0)){break u}v[b+4>>2]=v[b+4>>2]|32;e=v[b+28>>2];v[b+28>>2]=e-1;w:{if((e|0)>=1){v[b+60>>2]=v[b+60>>2]+1;e=v[b+24>>2];v[b+24>>2]=e+1;t[e|0]=o;break w}e=-1;if((Fc(b,o)|0)==-1){break r}}e=v[b+8>>2];if(e&7){break s}o=v[b+64>>2];if((o|0)>=0&(o|0)<=v[b+60>>2]){break u}v[b+4>>2]=v[b+4>>2]|32;e=v[b+28>>2];v[b+28>>2]=e-1;x:{if((e|0)>=1){v[b+60>>2]=v[b+60>>2]+1;e=v[b+24>>2];v[b+24>>2]=e+1;t[e|0]=l;break x}e=-1;if((Fc(b,l)|0)==-1){break r}}e=v[b+8>>2];if(e&7){break s}l=v[b+64>>2];if((l|0)>=0&(l|0)<=v[b+60>>2]){break u}v[b+4>>2]=v[b+4>>2]|32;e=v[b+28>>2];v[b+28>>2]=e-1;y:{if((e|0)>=1){v[b+60>>2]=v[b+60>>2]+1;e=v[b+24>>2];v[b+24>>2]=e+1;t[e|0]=i;break y}e=-1;if((Fc(b,i)|0)==-1){break r}}a=a+1|0;if((a|0)>2]){continue}break v}}while(1){i=v[(g+4|0)+(v[p>>2]<<2)>>2];e=v[i+28>>2];if(v[i+20>>2]==1){i=v[e>>2]+(a<<2)|0}else{i=v[e+(a<<2)>>2]}e=v[b+8>>2];if(e&7){break s}i=w[i|0];l=v[b+64>>2];if((l|0)>=0&(l|0)<=v[b+60>>2]){break u}v[b+4>>2]=v[b+4>>2]|32;e=v[b+28>>2];v[b+28>>2]=e-1;z:{if((e|0)>=1){v[b+60>>2]=v[b+60>>2]+1;e=v[b+24>>2];v[b+24>>2]=e+1;t[e|0]=i;break z}e=-1;if((Fc(b,i)|0)==-1){break r}}a=a+1|0;if((a|0)>2]){continue}break}}a=h;if((a|0)<=0){break t}while(1){e=v[b+8>>2];if(e&7){break s}i=v[b+64>>2];if((i|0)>=0&(i|0)<=v[b+60>>2]){break u}v[b+4>>2]=v[b+4>>2]|32;e=v[b+28>>2];v[b+28>>2]=e-1;A:{if((e|0)>=1){v[b+60>>2]=v[b+60>>2]+1;e=v[b+24>>2];v[b+24>>2]=e+1;t[e|0]=0;break A}e=-1;if((Fc(b,0)|0)==-1){break r}}e=(a|0)>1;a=a-1|0;if(e){continue}break}break t}v[b+8>>2]=e|4;break s}e=0;if((n|0)>=2){continue}break}break r}e=-1}a=0;while(1){b=v[(g+4|0)+(a<<2)>>2];if(b){$e(b)}a=a+1|0;if((m|0)!=(a|0)){continue}break}}Qb=g+16|0;if(e){break a}Zs(f);c=0;break a}Sc(17509,0);c=-1}Qb=k+32|0;return c|0}function $Wa(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,n=0,o=0,p=0,q=0,r=0,s=0;f=Qb-160|0;Qb=f;k=v[b+100>>2];h=v[b+104>>2];d=0;v[b+132>>2]=0;e=Yc(h,0);v[f+156>>2]=e;g=c>>31;l=(g+c^g)&65535;a:{if(e){break a}e=me(h,454832,f+152|0);v[f+156>>2]=e;if(e){break a}v[f+156>>2]=2;b:{c:{if(x[f+152>>1]!=23117){break c}e=Yc(h,x[f+154>>1]);v[f+156>>2]=e;if(e){break a}e=me(h,454864,f+144|0);v[f+156>>2]=e;if(e){break a}g=2;v[f+156>>2]=2;d:{e:{f:{g:{switch(x[f+144>>1]-17742|0){case 0:e=Yc(h,x[f+146>>1]+x[f+154>>1]|0);v[f+156>>2]=e;if(e){break a}e=ne(h,x[f+148>>1]-x[f+146>>1]|0);v[f+156>>2]=e;if(e){break a}j=oq(h);if(j>>>0>16){break b}i=oq(h);h:{if(i){while(1){g=oq(h);e=((v[h+8>>2]+v[h+32>>2]|0)-v[h+36>>2]|0)+4|0;if((i&65535)==32776){break h}v[h+32>>2]=(v[h+32>>2]+B(g,12)|0)+4;i=oq(h);if(i){continue}break}}g=0;e=0}Vd(h);if(!(e?g:0)){v[f+156>>2]=3;break a}if(y[h+4>>2]>>0){v[f+156>>2]=3;break a}v[b>>2]=g;if((c|0)<0){break a}if(g>>>0<=l>>>0){v[f+156>>2]=6;break a}r=b,s=Fd(k,172,f+156|0),v[r+132>>2]=s;if(v[f+156>>2]){break a}e=Yc(h,e+B(l,12)|0);v[f+156>>2]=e;if(e){break c}e=ne(h,12);v[f+156>>2]=e;if(e){break c}e=oq(h);v[v[b+132>>2]>>2]=e<>2]+164>>2]=e<>2]=v[h+32>>2]+8;Vd(h);g=lH(v[b+132>>2],h);v[f+156>>2]=g;break f;case 2:break g;default:break f}}e=Yc(h,x[f+154>>1]);v[f+156>>2]=e;if(e){break a}e=me(h,454896,f+120|0);v[f+156>>2]=e;if(e){break a}i:{if(!(v[f+120>>2]!=17744|x[f+124>>1]!=332|x[f+128>>1]!=224)){if(x[f+130>>1]==267){break i}}v[f+156>>2]=3;break a}g=0;v[b>>2]=0;if(!x[f+126>>1]){break e}while(1){e=me(h,454960,f+96|0);v[f+156>>2]=e;if(e){break a}if(v[f+132>>2]!=v[f+104>>2]){g=g+1|0;if(x[f+126>>1]<=(g&65535)>>>0){break e}continue}break}e=Yc(h,v[f+112>>2]);v[f+156>>2]=e;if(e){break a}e=me(h,454992,f+80|0);v[f+156>>2]=e;if(e){break a}g=0;if(x[f+94>>1]!=(0-x[f+92>>1]|0)){m=v[f+112>>2];o=m+16|0;while(1){e=Yc(h,(g<<3)+o|0);v[f+156>>2]=e;if(e){break a}e=me(h,455024,f+40|0);v[f+156>>2]=e;if(e){break a}e=v[f+44>>2];if((e|0)>=0){v[f+156>>2]=3;break a}e=e&2147483647;v[f+44>>2]=e;e=e+v[f+112>>2]|0;g=Yc(h,e);v[f+156>>2]=g;if(g){break a}g=me(h,454992,f- -64|0);v[f+156>>2]=g;if(g){break a}g=0;if(x[f+78>>1]!=(0-x[f+76>>1]|0)){p=e+16|0;j=0;while(1){e=Yc(h,(g<<3)+p|0);v[f+156>>2]=e;if(e){break a}e=me(h,455024,f+32|0);v[f+156>>2]=e;if(e){break a}e=v[f+36>>2];if((e|0)>=0){v[f+156>>2]=3;break a}e=e&2147483647;v[f+36>>2]=e;e=e+v[f+112>>2]|0;g=Yc(h,e);v[f+156>>2]=g;if(g){break a}g=me(h,454992,f+48|0);v[f+156>>2]=g;if(g){break a}g=0;if(x[f+62>>1]!=(0-x[f+60>>1]|0)){q=e+16|0;i=0;while(1){e=Yc(h,(g<<3)+q|0);v[f+156>>2]=e;if(e){break a}e=me(h,455024,f+24|0);v[f+156>>2]=e;if(e){break a}if(v[f+36>>2]<=-1){v[f+156>>2]=3;break a}if(v[f+40>>2]==8){e=Yc(h,v[f+28>>2]+m|0);v[f+156>>2]=e;if(e){break a}e=me(h,455040,f+8|0);v[f+156>>2]=e;if(e){break a}g=b;e=v[b>>2];if((e|0)==(l|0)){e=Fd(k,172,f+156|0);v[b+132>>2]=e;if(v[f+156>>2]){break a}v[e>>2]=(v[f+8>>2]+v[f+112>>2]|0)-v[f+104>>2];v[e+164>>2]=v[f+12>>2];e=lH(e,h);v[f+156>>2]=e;if(e){break c}e=v[b>>2]}v[g>>2]=e+1}i=i+1|0;g=i&65535;if(g>>>0>1]+x[f+60>>1]>>>0){continue}break}}j=j+1|0;g=j&65535;if(g>>>0>1]+x[f+76>>1]>>>0){continue}break}}n=n+1|0;g=n&65535;if(g>>>0>1]+x[f+92>>1]>>>0){continue}break}}g=0}e=v[b>>2];if(!e){v[f+156>>2]=3;break a}if((e|0)>(l|0)){break d}v[f+156>>2]=6;break a}v[f+156>>2]=3;break a}if(!g){break a}}e=v[b+132>>2];if(!e){break a}g=v[b+100>>2];if(v[e+160>>2]){nf(v[b+104>>2],e+160|0)}h=v[e+168>>2];if(h){Ub[v[g+8>>2]](g,h)}v[e+168>>2]=0;if(e){Ub[v[g+8>>2]](g,e)}v[b+132>>2]=0;break a}v[f+156>>2]=3;Vd(h)}e=v[f+156>>2];v[f+96>>2]=e;j:{if(!e&(c|0)<0){break j}k:{l:{m:{if((e&255)==2){e=Fd(k,172,f+96|0);v[b+132>>2]=e;d=v[f+96>>2];if(d){break j}v[b>>2]=1;d=0;v[e>>2]=0;v[e+164>>2]=v[a+4>>2];a=lH(e,a);v[f+96>>2]=a;if(!((c|0)<0|a)){if(!l){break m}v[f+96>>2]=6;break k}if(a){break k}break j}if(e){break l}}a=v[b+132>>2];if(!x[a+96>>1]){v[f+96>>2]=3;break k}v[b+4>>2]=l;c=v[b+8>>2];v[b+8>>2]=c|18;if(x[a+100>>1]==x[a+102>>1]){v[b+8>>2]=c|22}if(w[a+86|0]){v[b+12>>2]=v[b+12>>2]|1}if(x[a+90>>1]>=800){v[b+12>>2]=v[b+12>>2]|2}c=Cc(k,16,0,1,0,f+96|0);v[b+32>>2]=c;if(v[f+96>>2]){break k}v[b+28>>2]=1;u[c+2>>1]=x[a+100>>1];u[c>>1]=x[a+84>>1]+x[a+96>>1];e=x[a+74>>1]<<6;v[c+4>>2]=e;d=x[a+78>>1];g=e;e=x[a+76>>1];e=e?e:72;g=jd(g,e,72)+32&-64;v[c+12>>2]=g;h=d?d:72;d=x[a+96>>1]<<6;n:{if((d|0)>=(g|0)){g=v[c+4>>2];break n}v[c+12>>2]=d;g=jd(d,72,e);v[c+4>>2]=g}r=c,s=jd(g,h,72)+32&-64,v[r+8>>2]=s;v[f+120>>2]=b;v[f+124>>2]=0;v[f+128>>2]=0;if(w[a+92|0]==77){u[f+128>>1]=1;v[f+124>>2]=1634889070}c=Rj(454780,0,f+120|0,0);v[f+96>>2]=c;if(c){break k}c=w[a+105|0];d=w[a+104|0];if(c>>>0>>0){v[f+96>>2]=3;break k}v[b+16>>2]=(c-d|0)+2;c=v[a+8>>2];d=v[a+116>>2];if(c>>>0<=d>>>0){v[f+96>>2]=3;break k}c=c-d|0;d=Fd(k,c+1|0,f+96|0);v[a+168>>2]=d;if(v[f+96>>2]){break k}gc(d,v[a+160>>2]+v[a+116>>2]|0,c);t[c+v[a+168>>2]|0]=0;d=a;a=v[a+168>>2];a=Cc(k,1,c,Bc(a)+1|0,a,f+96|0);v[d+168>>2]=a;if(v[f+96>>2]){break k}v[b+24>>2]=240246;v[b+20>>2]=a;c=v[b+12>>2];a=c&1;if(c&2){if(a){v[b+24>>2]=297017;d=0;break j}v[b+24>>2]=288795;d=0;break j}d=0;if(!a){break j}v[b+24>>2]=297042;break j}d=e;if(!b){break j}}a=v[b+100>>2];d=v[b+132>>2];if(d){if(v[d+160>>2]){nf(v[b+104>>2],d+160|0)}c=a;e=v[d+168>>2];if(e){Ub[v[c+8>>2]](c,e)}v[d+168>>2]=0;if(d){Ub[v[a+8>>2]](a,d)}v[b+132>>2]=0}c=v[b+32>>2];if(c){Ub[v[a+8>>2]](a,c)}v[b+28>>2]=0;v[b+32>>2]=0;d=v[f+96>>2]}Qb=f+160|0;return d|0}function d6a(a){a=a|0;var 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,w=0;f=Qb-224|0;Qb=f;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],7,1)|0;v[289140]=0;v[289141]=0;v[289139]=0;c=x[a+26308>>1];if(c){h=v[252391];b=x[a+26310>>1];while(1){v[f+208>>2]=0;v[f+212>>2]=0;v[f+200>>2]=0;v[f+204>>2]=0;v[f+192>>2]=0;v[f+196>>2]=0;g=b&65535;b=0;if(g){r=n<<1&14;s=n-2|0;t=s<<1&14;m=0;while(1){p=m&1;g=(f+192|0)+B(p,12)|0;j=v[g+8>>2];c=((j|0)<3)<<1;d=32-(c+E(x[g>>1])|0)|0;c=c+2|0;k=(c|0)<(d|0)?d:c;l=0;w=0;d=v[289141];a:{b:{if(d){break b}d=v[289140];c:{if((d|0)>=1){b=v[289139];break c}while(1){d:{e:{c=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;f:{if((c|0)==-1){if(!v[a+26160>>2]){v[f+176>>2]=v[a+25208>>2];wc(h,8292,f+176|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,h);v[a+26160>>2]=1;break f}d=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[f+160>>2]=d;v[f+164>>2]=d>>31;wc(h,14622,f+160|0)}v[a+26160>>2]=1;break f}if(!v[a+26144>>2]){break f}if((c|0)==255){break e}}v[289141]=0;break d}d=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[289141]=(d|0)!=0;if(!d){break d}d=1;break b}e=v[289140];d=e+8|0;v[289140]=d;b=c&255|v[289139]<<8;v[289139]=b;if((e|0)<-7){continue}break}}c=d-1|0;v[289140]=c;l=b<<32-d>>31;g:{if((d|0)>=3){b=v[289139];break g}while(1){h:{i:{d=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;j:{if((d|0)==-1){if(!v[a+26160>>2]){v[f+144>>2]=v[a+25208>>2];wc(h,8292,f+144|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,h);v[a+26160>>2]=1;break j}c=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[f+128>>2]=c;v[f+132>>2]=c>>31;wc(h,14622,f+128|0)}v[a+26160>>2]=1;break j}if(!v[a+26144>>2]){break j}if((d|0)==255){break i}}v[289141]=0;break h}c=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[289141]=(c|0)!=0;if(!c){break h}d=1;break b}e=v[289140];c=e+8|0;v[289140]=c;b=d&255|v[289139]<<8;v[289139]=b;if((e|0)<-6){continue}break}}d=0;v[289140]=c-2;w=b<<32-c>>>30|0;e=0;i=0;while(1){k:{if(e){break k}c=v[289140];l:{if((c|0)>=1){b=v[289139];break l}while(1){m:{n:{b=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;o:{if((b|0)==-1){if(!v[a+26160>>2]){v[f+112>>2]=v[a+25208>>2];wc(h,8292,f+112|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,h);v[a+26160>>2]=1;break o}c=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[f+96>>2]=c;v[f+100>>2]=c>>31;wc(h,14622,f+96|0)}v[a+26160>>2]=1;break o}if(!v[a+26144>>2]){break o}if((b|0)==255){break n}}v[289141]=0;break m}c=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[289141]=(c|0)!=0;if(!c){break m}d=1;e=1;break k}d=0;e=v[289140];c=e+8|0;v[289140]=c;b=b&255|v[289139]<<8;v[289139]=b;if((e|0)<-7){continue}break}}e=0;v[289140]=c-1;if(b<<32-c>=0){break k}if((i|0)==12){break b}break a}i=i+1|0;if((i|0)!=12){continue}break}}c=16-k|0;p:{if((c|0)==-1){d=0;v[289140]=0;v[289141]=0;v[289139]=0;e=0;break p}e=0;if(d|!c){break p}e=v[289140];q:{if((c|0)<=(e|0)){b=v[289139];break q}while(1){r:{s:{d=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;t:{if((d|0)==-1){if(!v[a+26160>>2]){v[f+80>>2]=v[a+25208>>2];wc(h,8292,f+80|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,h);v[a+26160>>2]=1;break t}b=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[f+64>>2]=b;v[f+68>>2]=b>>31;wc(h,14622,f- -64|0)}v[a+26160>>2]=1;break t}if(!v[a+26144>>2]){break t}if((d|0)==255){break s}}v[289141]=0;break r}e=0;b=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[289141]=(b|0)!=0;if(!b){break r}d=1;break p}e=v[289140]+8|0;v[289140]=e;b=d&255|v[289139]<<8;v[289139]=b;if((c|0)>(e|0)){continue}break}}d=0;c=e-c|0;v[289140]=c;o=b;b=k+16|0;e=o<>>b|0}i=e>>>1|0}i=i<>2]+28>>2]](v[a+4>>2])|0;w:{if((d|0)==-1){if(!v[a+26160>>2]){v[f+48>>2]=v[a+25208>>2];wc(h,8292,f+48|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,h);v[a+26160>>2]=1;v[289141]=0;break w}b=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[f+32>>2]=b;v[f+36>>2]=b>>31;wc(h,14622,f+32|0)}v[a+26160>>2]=1;v[289141]=0;break w}if(!((d|0)==255?v[a+26144>>2]:0)){v[289141]=0;break w}e=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[289141]=(e|0)!=0;b=0;if(e){break u}}e=v[289140]+8|0;v[289140]=e;b=d&255|v[289139]<<8;v[289139]=b;if((e|0)<(k|0)){continue}break}}d=e-k|0;v[289140]=d;o=b;b=32-k|0;b=o<>>b|0}c=b|i;v[q>>2]=c;d=v[g+4>>2];q=d+(c^l)|0;v[g+4>>2]=B(q,3)+d>>5;v[g+8>>2]=(c|0)>16?0:j+1|0;g=x[a+26316>>1];k=v[a+26352>>2];c=n>>>0>1;x:{if(!(c|m>>>0>1)){c=x[a+26320>>1];d=v[a+26028>>2];b=0;break x}if(!c){c=x[a+26320>>1];d=v[a+26028>>2];b=x[(k+(B(c,n>>>g|0)+(m-2>>g)<<3)|0)+((d>>>((p|r)<<1)&3)<<1)>>1];break x}if(m>>>0<=1){c=x[a+26320>>1];d=v[a+26028>>2];b=x[(k+(B(c,s>>g)+(m>>>g|0)<<3)|0)+((d>>>((p|t)<<1)&3)<<1)>>1];break x}d=v[a+26028>>2];l=(d>>>((p|t)<<1)&3)<<1;c=x[a+26320>>1];b=B(c,s>>g);e=x[l+(k+(b+(m>>>g|0)<<3)|0)>>1];j=m-2>>g;i=x[(k+(j+B(n>>>g|0,c)<<3)|0)+((d>>>((p|r)<<1)&3)<<1)>>1];b=x[l+(k+(b+j<<3)|0)>>1];if(!(!(i>>>0>>0&b>>>0>>0)&(b>>>0<=e>>>0|b>>>0>=i>>>0))){j=i-b|0;l=j>>31;y:{if((l^l+j)>>>0<=32){j=e-b|0;l=j>>31;if((l^l+j)>>>0<33){break y}}b=(e+i|0)-b|0;break x}b=e+i>>>1|0;break x}j=i-b|0;l=j>>31;o=e-b|0;b=o>>31;b=(l^l+j)>>>0>(b^b+o)>>>0?i:e}o=(k+(B(n>>>g|0,c)+(m>>>g|0)<<3)|0)+((d>>>((p|r)<<1)&3)<<1)|0;g=b+(q<<2|w)|0;u[o>>1]=g;if(g&61440){z:{if(v[a+26160>>2]){break z}v[f+16>>2]=v[a+25208>>2];wc(h,8292,f+16|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,h);break z}g=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[f>>2]=g;v[f+4>>2]=g>>31;wc(h,14622,f)}v[a+26160>>2]=1}b=x[a+26310>>1];m=m+1|0;if(b>>>0>m>>>0){continue}break}c=x[a+26308>>1]}n=n+1|0;if(n>>>0<(c&65535)>>>0){continue}break}}Qb=f+224|0}function R1(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=2;a:{b:{if(!a|v[a>>2]!=1381173770){break b}if(!w[a+432|0]){break a}v[a+148>>2]=0;v[a+140>>2]=0;v[a+144>>2]=0;t[a+136|0]=0;v[a+132>>2]=0;c:{d:{if(w[a+344|0]?1:w[a+496|0]){if(!(w[a+499|0]?1:w[a+497|0]|w[a+368|0])){break a}t[a+499|0]=0;t[a+497|0]=0;if(w[a+344|0]){e:{if(w[a+368|0]){f=a,g=v[a+484>>2]-v[a+364>>2]+Ub[v[a+236>>2]](a)|0,v[f+484>>2]=g;break e}f=a,g=Ub[v[a+236>>2]](a)|0,v[f+484>>2]=g}t[a+368|0]=0;c=q1(a);if(!w[a+346|0]){break c}t[a+344|0]=0;AJ(a);break c}f=a,g=Ub[v[a+236>>2]](a)|0,v[f+484>>2]=g;break d}b=Ub[v[a+236>>2]](a)|0;t[a+496|0]=1;v[a+484>>2]=b}f:{if(!(w[a+498|0]|!(v[a+472>>2]?1:v[a+464>>2]|v[a+468>>2]))){v[a+680>>2]=0;v[a+672>>2]=0;t[a+476|0]=1;v[a+664>>2]=0;v[a+656>>2]=0;u[a+648>>1]=256;v[a+580>>2]=0;v[a+584>>2]=1;v[a+572>>2]=0;v[a+576>>2]=1;t[a+568|0]=255;d=v[a+16>>2];v[a+676>>2]=d;b=v[a+20>>2];v[a+684>>2]=b;v[a+668>>2]=b;v[a+660>>2]=d;v[a+588>>2]=d;v[a+604>>2]=d<<2;Vv(a);b=Ub[v[a+152>>2]](v[a+604>>2])|0;v[a+644>>2]=b;if(!b){pc(a,1,0,0);b=1;break f}c=v[a+680>>2];while(1){g:{if(v[a+684>>2]<=(c|0)){b=0;break g}b=Ub[v[a+968>>2]](a)|0;if(b){break g}c=c+1|0;b=Bq(a);if(!b){continue}}break}d=v[a+644>>2];if(d){Ub[v[a+156>>2]](d,v[a+604>>2]);v[a+644>>2]=0}if(b){break f}v[a+516>>2]=v[a+696>>2]}c=w[a+476|0];while(1){if(c&255){t[a+497|0]=0}b=w[a+498|0]-1|0;h:{if((b&255)>>>0<=97){i:{switch(b|0){case 0:b=oJ(a,0,0,0,0,0,0,0,0,0,0,0);t[a+498|0]=0;break h;case 2:case 3:Uv(a);b=0;break h;case 4:b=0;fh(a,v[a+532>>2],0);t[a+498|0]=0;break h;case 8:d=a;c=x[a+2322>>1];j:{if(c>>>0<=x[a+2324>>1]){while(1){b=9;if(w[a+497|0]){break j}u[a+2322>>1]=c;b=c&65535;k:{if(!b){break k}b=yg(a,b);if(!b|w[b+30|0]|(!w[b+31|0]|!w[b+32|0])){break k}b=fh(a,b,0);if(b){break h}}c=c+1|0;if(x[a+2324>>1]>=(c&65535)>>>0){continue}break}}b=w[a+497|0]?9:0}t[d+498|0]=b;b=0;break h;case 9:b=0;t[a+1124|0]=0;Ro(a);break h;case 10:c=a;d=x[a+2326>>1];l:{if(d){b=yg(a,d);break l}b=v[a+528>>2]}b=fh(c,b,0);if(b){break h}b=0;t[a+498|0]=0;break h;default:break i}}pc(a,999,0,0);b=999;break f}b=v[a+516>>2];if(!b){b=0;break h}b=Ub[v[b+4>>2]](a,b)|0}c=w[a+497|0];if(!c){t[a+498|0]=0}m:{if(b){break m}b=0;d=v[a+516>>2];if(w[a+499|0]|(c|!d)){break m}c=v[d+8>>2];v[a+516>>2]=c;if(!(c|v[a+12>>2]!=2)){b=MA(a);c=v[a+516>>2]}if(c){break m}t[a+502|0]=1}c=w[a+476|0];n:{if(!c){c=0;break n}d=v[a+464>>2];o:{if(!(!d|d>>>0>y[a+436>>2])){v[a+464>>2]=0;break o}d=v[a+468>>2];if(!(!d|d>>>0>y[a+440>>2])){v[a+468>>2]=0;break o}d=v[a+472>>2];if(!d|d>>>0>y[a+444>>2]){break n}v[a+472>>2]=0}c=0;t[a+476|0]=0}if(b){break f}p:{if(!v[a+516>>2]|!(c?1:w[a+497|0]?0:w[a+496|0])){break p}if(w[a+499|0]){break p}if(!w[a+500|0]){continue}}break}q:{if(!w[a+497|0]){if(!w[a+502|0]){break q}b=qJ(a);if(b){break f}if(!w[a+497|0]){break q}}b=0;if(w[a+498|0]){break f}t[a+498|0]=99;break f}b=0;t[a+498|0]=0;if(v[a+516>>2]){break f}t[a+496|0]=0}c=b}if(c){break b}if(w[a+368|0]){f=a,g=Ub[v[a+236>>2]](a)|0,v[f+364>>2]=g;return 14}c=15;if(w[a+497|0]){break b}c=16;if(w[a+499|0]){break b}c=0;t[a+496|0]=0;if(w[a+500|0]){t[a+500|0]=0}if(!w[a+501|0]){break b}t[a+432|0]=0;AJ(a);b=v[a+548>>2];r:{if(!b){break r}e=v[b+1120>>2];s:{if(!e){break s}d=v[b+1124>>2];if(!d){break s}Ub[v[a+156>>2]](d,e);b=v[a+548>>2];if(!b){break r}}Ub[v[a+156>>2]](b,1136);v[a+548>>2]=0}n1(a);b=v[a+688>>2];if(b){while(1){d=v[b+8>>2];Ub[v[b>>2]](a,b)|0;b=d;if(b){continue}break}}v[a+688>>2]=0;v[a+692>>2]=0;v[a+524>>2]=0;v[a+508>>2]=0;t[a+504|0]=0;t[a+460|0]=0;v[a+444>>2]=0;v[a+436>>2]=0;v[a+440>>2]=0;t[a+433|0]=0;v[a+516>>2]=0;t[a+1062|0]=0;u[a+1060>>1]=0;v[a+332>>2]=0;v[a+464>>2]=0;v[a+468>>2]=0;v[a+480>>2]=0;v[a+484>>2]=0;t[a+469|0]=0;t[a+470|0]=0;t[a+471|0]=0;t[a+472|0]=0;t[a+473|0]=0;t[a+474|0]=0;t[a+475|0]=0;t[a+476|0]=0;v[a+488>>2]=0;v[a+492>>2]=0;t[a+495|0]=0;t[a+496|0]=0;t[a+497|0]=0;t[a+498|0]=0;t[a+499|0]=0;t[a+500|0]=0;t[a+501|0]=0;t[a+502|0]=0;v[a+560>>2]=0;v[a+564>>2]=0;v[a+552>>2]=0;v[a+556>>2]=0;v[a+1016>>2]=0;t[a+1019|0]=0;t[a+1020|0]=0;t[a+1021|0]=0;t[a+1022|0]=0;v[a+1024>>2]=0;v[a+1028>>2]=0;t[a+1032|0]=0;v[a+1036>>2]=0;v[a+1040>>2]=0;b=a+1044|0;v[b>>2]=0;v[b+4>>2]=0;b=a+1051|0;t[b|0]=0;t[b+1|0]=0;t[b+2|0]=0;t[b+3|0]=0;t[b+4|0]=0;t[b+5|0]=0;t[b+6|0]=0;t[b+7|0]=0;v[a+1084>>2]=1;v[a+1088>>2]=2147483647;t[a+1092|0]=0;t[a+1080|0]=1;v[a+1096>>2]=0;v[a+1100>>2]=0;b=a+1104|0;v[b>>2]=0;v[b+4>>2]=0;t[a+1124|0]=0;t[a+1112|0]=1;v[a+1116>>2]=1;v[a+1120>>2]=2147483647;v[a+1128>>2]=0;v[a+1132>>2]=0;b=a+1136|0;v[b>>2]=0;v[b+4>>2]=0;v[a+1932>>2]=0;v[a+1160>>2]=0;t[a+1148|0]=0;v[a+1144>>2]=1;b=a+2221|0;t[b|0]=0;t[b+1|0]=0;t[b+2|0]=0;t[b+3|0]=0;t[b+4|0]=0;t[b+5|0]=0;t[b+6|0]=0;t[b+7|0]=0;u[a+1150>>1]=0;u[a+1152>>1]=0;u[a+1154>>1]=0;u[a+1156>>1]=0;b=a+2216|0;v[b>>2]=0;v[b+4>>2]=0;b=a+2208|0;v[b>>2]=0;v[b+4>>2]=0;b=a+2200|0;v[b>>2]=0;v[b+4>>2]=0;v[a+2192>>2]=0;v[a+2196>>2]=0;d=v[a+2232>>2];t:{if(!d){break t}b=v[a+2236>>2];if(!b){break t}Ub[v[a+156>>2]](b,d);v[a+2236>>2]=0}v[a+2336>>2]=0;v[a+2328>>2]=0;v[a+2332>>2]=0;u[a+2324>>1]=0;u[a+2252>>1]=0;v[a+2248>>2]=0;u[a+2244>>1]=0;v[a+2240>>2]=0;v[a+2232>>2]=0;v[a+2256>>2]=0;v[a+2260>>2]=0;v[a+2276>>2]=0;v[a+2280>>2]=0;v[a+2308>>2]=0;v[a+2312>>2]=0;b=a+2264|0;v[b>>2]=0;v[b+4>>2]=0;t[a+2272|0]=0;b=a+2284|0;v[b>>2]=0;v[b+4>>2]=0;b=a+2292|0;v[b>>2]=0;v[b+4>>2]=0;b=a+2299|0;t[b|0]=0;t[b+1|0]=0;t[b+2|0]=0;t[b+3|0]=0;t[b+4|0]=0;t[b+5|0]=0;t[b+6|0]=0;t[b+7|0]=0;a=a+2314|0;u[a>>1]=0;u[a+2>>1]=0;u[a+4>>1]=0;u[a+6>>1]=0}return c}pc(a,11,0,0);return 11}function vMa(a,b){a=a|0;b=b|0;var 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,u=0,y=0,z=0,A=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;e=Qb-32|0;Qb=e;C=v[a+12>>2];o=v[a+8>>2];u=v[a+20>>2];p=v[a+16>>2];s=v[a+4>>2];v[e+24>>2]=v[a+24>>2];m=v[s+8>>2];h=v[s+56>>2];a:{if(!(!!h&p>>>0>>0)){d=0;break a}d=1}while(1){b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{if(!d){if(o>>>0>=C>>>0){break f}if(p>>>0>=u>>>0){break h}c=o+2|0;h=x[o>>1];if((h&63488)!=55296){j=f;break i}if(h&1024){break k}j=f;o=c;d=1;continue}if(o>>>0>=C>>>0){break g}f=x[o>>1];if((f&64512)==56320){break j}v[b>>2]=12;v[s+56>>2]=h;break c}v[b>>2]=12;v[s+56>>2]=h;o=c;break c}v[s+56>>2]=0;h=(f+(h<<10)|0)-56613888|0;c=o+2|0}o=c;if(!(!(1<31)){v[b>>2]=12;v[s+56>>2]=h;break c}if(j){break d}f=v[m+64>>2];c=x[(f<<1)+853324>>1];d=0;if(f-3>>>0<=1){t[e+6|0]=8;d=1}f=w[m+54|0];t[(e+6|0)+d|0]=f;j=d+1|0;c=Gib(-2,f)&c&-257;f=w[m+56|0];if(f){t[(e+6|0)+j|0]=f;j=d|2;c=Gib(-2,f)&c}l:{if(!(c&1)){d=c&65535;break l}t[(e+6|0)+j|0]=0;j=j+1|0;d=c&65534;c=d}if(d&8){t[(e+6|0)+j|0]=3;j=j+1|0;d=c&65527;c=d}if(d&2){t[(e+6|0)+j|0]=1;j=j+1|0;d=c&65533;c=d}if(d&16){t[(e+6|0)+j|0]=4;j=j+1|0;d=c&65519;c=d}if(d&4){t[(e+6|0)+j|0]=2;j=j+1|0;d=c&65531;c=d}if(d&32){t[(e+6|0)+j|0]=5;j=j+1|0;d=c&65503;c=d}if(d&64){t[(e+6|0)+j|0]=6;j=j+1|0;d=c&65471;c=d}if(d&128){t[(e+6|0)+j|0]=7;d=c&65407;j=j+1|0}if(d&256){break e}break d}v[b>>2]=15;break c}v[s+56>>2]=h}if(v[b>>2]>0){break c}f=w[m+58|0];if(!(w[m+54|0]?1:f)|!w[a+2|0]|(v[s+56>>2]|o>>>0>>0)){break c}if(f){t[e+16|0]=15;t[m+58|0]=0;d=1}else{d=0}if(w[m+54|0]){f=(e+16|0)+d|0;k=x[427568];t[f|0]=k;t[f+1|0]=k>>>8;t[f+2|0]=w[855138];t[m+54|0]=0;d=d+3|0}f=v[a+8>>2];k=o-f|0;m:{if((k|0)<1){h=-1;break m}c=-1;k=k>>>1|0;h=k-1|0;if((x[f+(h<<1)>>1]&64512)!=56320){break m}if(h){c=k-2|0;if((x[f+(c<<1)>>1]&64512)!=55296){break m}}h=c}v[e+28>>2]=p;Fh(s,e+16|0,d,e+28|0,u,e+24|0,h,b);p=v[e+28>>2];break c}t[(e+6|0)+j|0]=8;j=j+1|0}n:{o:{if((j|0)>=1){z=h-128|0;K=h-65344|0;L=h-65216|0;D=h>>10;E=h>>>4&63;f=h-65377|0;M=(f<<1)+854992|0;A=h&15;G=1<<(A|16);n=w[s+35|0];N=(h|0)<128;O=h-160>>>0<96;F=(h|0)<65536;P=h>>>0>127;Q=(h|0)==92;R=(h|0)==126;S=(h|0)==165;T=(h|0)==8254;H=h-57344>>>0<6400;I=h-983040>>>0>131071;J=f>>>0>62;c=0;r=0;l=0;d=0;while(1){p:{q:{r:{s:{t:{u:{v:{w:{x:{f=t[(e+6|0)+d|0];switch(f|0){case 2:break s;case 4:break t;case 3:break u;case 8:break v;case 1:break w;case 0:break x;default:break r}}if(!N){break p}break o}if(!O){break p}r=2;k=z;c=1;break n}if(J){break p}y:{switch(v[m+64>>2]-3|0){case 0:t[m+55|0]=f;r=1;k=K;c=1;break n;case 1:break y;default:break p}}f=w[m+54|0];f=(f&252)==4?3:f;r=0;k=L;c=1;break n}if(!P){if(Q){break p}if(!R){break o}break p}if(S){k=92;r=0;c=1;break n}if(!T){break p}k=126;r=0;c=1;break n}z:{A:{B:{C:{i=v[m+16>>2];if(!(t[i+201|0]&1?1:F)){break C}g=v[i+52>>2];y=v[(x[g+(D<<1)>>1]+E<<2)+g>>2];g=x[v[i+188>>2]+((y<<4&1048560|A)<<1)>>1];q=g>>>0<256?1:2;if(y&G){v[e+28>>2]=g;break B}if(!g|I&!(n|H)){break C}v[e+28>>2]=g;q=0-q|0;break A}i=v[i+224>>2];if(!i){g=!c;break q}q=fs(i,h,e+28|0,n<<24>>24)}i=2;if((q|0)==2){break z}}i=-2;g=!c;if(c|(q|0)!=-2){break q}}g=v[e+28>>2];if(g>>>0>61436){break p}k=g&65280;k=(k>>>0<40705?-28672:-45056)+k<<1;n=k-256|0;l=k;k=g&255;c=k>>>0<159;k=(c?n:l)|k+(c?k>>>0<127?-31:-32:-126);n=0;l=f;r=0;c=i;break p}g=v[m+8>>2];if(!(t[g+201|0]&1?1:F)){break p}q=1;i=v[g+188>>2];g=v[g+52>>2];g=x[i+(x[(x[g+(D<<1)>>1]+E<<1)+g>>1]+A<<1)>>1];i=1;D:{if(g>>>0>3839){break D}if(n){if(g>>>0<=2047){break p}q=0;i=-1;break D}q=0;if(g>>>0<3072){n=0;break p}i=-1}if((!c|q)!=1){break p}g=g&255;if(g>>>0<160){break p}k=g-128|0;r=2;n=0;l=f;c=i;break p}E:{F:{G:{H:{i=v[(f<<2)+m>>2];if(!(t[i+201|0]&1?1:F)){break H}g=v[i+52>>2];y=v[(x[g+(D<<1)>>1]+E<<2)+g>>2];g=x[v[i+188>>2]+((y<<4&1048560|A)<<1)>>1];q=g>>>0<256?1:2;if(y&G){v[e+28>>2]=g;break G}if(!g|I&!(n|H)){break H}v[e+28>>2]=g;q=0-q|0;break F}i=v[i+224>>2];if(!i){break p}q=fs(i,h,e+28|0,n<<24>>24)}g=2;if((q|0)==2){break E}}g=-2;if(c|(q|0)!=-2){break p}}i=v[e+28>>2];if((f|0)==7){if((i+24159&65534)>>>0>23901|(i+95&254)>>>0>93){break p}i=i-32896|0;if(!i){break p}}n=0;k=i;l=f;r=0;c=g;break p}if(!g|!n){break p}c=0;if(J){break p}k=x[M>>1];c=-2;n=0;l=f;r=0}d=d+1|0;if((c|0)<1&(j|0)>(d|0)){continue}break}f=l;if(c){break n}}v[b>>2]=10;v[s+56>>2]=h;break c}r=0;k=h;c=1}l=c>>31;d=0;n=w[m+58|0];if(!(r|(n|0)!=1)){t[e+16|0]=15;n=0;t[m+58|0]=0;d=1}i=c+l|0;g=m+r|0;if(w[g+54|0]==(f&255)){f=j}else{z=f<<24>>24;c=t[z+855118|0];gc((e+16|0)+d|0,B(z,6)+855136|0,c);t[g+54|0]=f;d=c+d|0;n=w[m+58|0];f=0}i=i^l;I:{if((r|0)==n<<24>>24){c=d;break I}c=d+1|0;l=(e+16|0)+d|0;if((r|0)==1){t[l|0]=14;t[m+58|0]=1;break I}t[l|0]=27;t[(e+16|0)+c|0]=78;c=d+2|0}l=(e+16|0)+c|0;J:{if((i|0)==1){d=c+1|0;c=k;break J}t[(c+e|0)+17|0]=k;d=c+2|0;c=k>>>8|0}t[l|0]=c;K:{switch(h-10|0){case 0:case 3:f=0;t[m+56|0]=0;break;default:break K}}L:{M:{switch(d-1|0){case 0:t[p|0]=w[e+16|0];p=p+1|0;c=v[e+24>>2];if(!c){break b}l=v[a+8>>2];v[e+24>>2]=c+4;v[c>>2]=(o-l>>1)-1;break b;case 1:break M;default:break L}}c=p+2|0;if(c>>>0>u>>>0){break L}t[p|0]=w[e+16|0];t[p+1|0]=w[e+17|0];l=v[e+24>>2];if(!l){p=c;break b}d=(o-v[a+8>>2]>>1)+(h>>>0<65536?-1:-2)|0;v[l>>2]=d;v[e+24>>2]=l+8;v[l+4>>2]=d;p=c;break b}c=v[a+8>>2];v[e+28>>2]=p;Fh(s,e+16|0,d,e+28|0,u,e+24|0,(o-c>>1)+(h>>>0<65536?-1:-2)|0,b);p=v[e+28>>2];if(v[b>>2]<1){break b}}v[a+16>>2]=p;v[a+8>>2]=o;Qb=e+32|0;return}d=0;continue}}function sma(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=Qb-112|0;Qb=c;e=b+8|0;a:{if(v[b+8>>2]){Ch(c+104|0,b,e);break a}v[c+104>>2]=0;Wc(c+104|0,0)}v[299999]=0;d=S(1,12)|0;g=v[299999];v[299999]=0;b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{if((g|0)==1){break m}v[d+8>>2]=0;v[d>>2]=983248;v[d+4>>2]=0;v[299999]=0;v[c+96>>2]=0;Q(4336,c+96|0,d|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break m}v[299999]=0;R(4473,c+88|0);d=v[299999];v[299999]=0;if((d|0)==1){break l}d=v[c+88>>2];g=v[e>>2];if(g){v[299999]=0;V(4933,g|0,d|0);g=v[299999];v[299999]=0;if((g|0)==1){break e}}g=v[v[d>>2]+20>>2];v[299999]=0;Z(g|0,d|0,0,0,0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break e}g=v[v[d>>2]+28>>2];v[299999]=0;d=S(g|0,d|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break e}if(!d){v[299999]=0;Q(4336,c+88|0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break e}}if(!v[c+88>>2]){break h}d=v[b+12>>2];g=(d|0)>0?d:0;d=v[c+104>>2];if(d){g=g-v[d+32>>2]|0}v[299999]=0;V(4934,v[c+96>>2],c+88|0);d=v[299999];v[299999]=0;if((d|0)==1){break f}if(!(g&3)){break i}v[c+80>>2]=0;v[c+84>>2]=0;v[c+72>>2]=0;v[c+76>>2]=0;d=c- -64|0;v[d>>2]=0;v[d+4>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;if(!v[e>>2]){break k}v[299999]=0;U(4888,c|0,b|0,e|0);d=v[299999];v[299999]=0;if((d|0)!=1){break j}break f}b=P()|0;O()|0;break c}b=P()|0;O()|0;break d}v[299999]=0;v[c>>2]=0;Q(4336,c|0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break f}}d=v[c>>2];n:{if(!d){break n}h=v[d+(v[b+12>>2]&1?12:8)>>2];v[299999]=0;v[c>>2]=0;f=v[d+4>>2]-1|0;v[d+4>>2]=f;i=v[299999];v[299999]=0;if((i|0)==1){break b}if(f){break n}v[299999]=0;R(4338,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break b}}o:{if(v[e>>2]){v[299999]=0;U(4888,c|0,b|0,e|0);break o}v[299999]=0;v[c>>2]=0;Q(4336,c|0,0)|0}d=v[299999];v[299999]=0;if((d|0)==1){break f}f=v[c>>2];p:{if(!f){d=0;break p}d=v[f+(v[b+12>>2]&1?8:12)>>2];v[299999]=0;v[c>>2]=0;i=v[f+4>>2]-1|0;v[f+4>>2]=i;j=v[299999];v[299999]=0;if((j|0)==1){break b}if(i){break p}v[299999]=0;R(4338,f|0);f=v[299999];v[299999]=0;if((f|0)==1){break b}}v[c+84>>2]=d;v[c+80>>2]=h;v[c+72>>2]=0;v[c+76>>2]=0;q:{if(g&1){r:{if(v[e>>2]){v[299999]=0;U(4888,c|0,b|0,e|0);d=v[299999];v[299999]=0;if((d|0)!=1){break r}break f}v[299999]=0;v[c>>2]=0;Q(4336,c|0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break f}}f=v[c>>2];s:{if(!f){d=0;break s}d=v[f+(v[b+12>>2]&1?8:12)>>2];v[299999]=0;v[c>>2]=0;h=v[f+4>>2]-1|0;v[f+4>>2]=h;i=v[299999];v[299999]=0;if((i|0)==1){break b}if(h){break s}v[299999]=0;R(4338,f|0);f=v[299999];v[299999]=0;if((f|0)==1){break b}}t:{if(v[e>>2]){v[299999]=0;U(4888,c|0,b|0,e|0);break t}v[299999]=0;v[c>>2]=0;Q(4336,c|0,0)|0}e=v[299999];v[299999]=0;if((e|0)==1){break f}e=0;f=v[c>>2];u:{if(!f){break u}e=v[f+(v[b+12>>2]&1?12:8)>>2];v[299999]=0;v[c>>2]=0;b=v[f+4>>2]-1|0;v[f+4>>2]=b;h=v[299999];v[299999]=0;if((h|0)==1){break b}if(b){break u}v[299999]=0;R(4338,f|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}}break q}v:{if(v[e>>2]){v[299999]=0;U(4888,c|0,b|0,e|0);d=v[299999];v[299999]=0;if((d|0)!=1){break v}break f}v[299999]=0;v[c>>2]=0;Q(4336,c|0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break f}}f=v[c>>2];w:{if(!f){d=0;break w}d=v[f+(v[b+12>>2]&1?12:8)>>2];v[299999]=0;v[c>>2]=0;h=v[f+4>>2]-1|0;v[f+4>>2]=h;i=v[299999];v[299999]=0;if((i|0)==1){break b}if(h){break w}v[299999]=0;R(4338,f|0);f=v[299999];v[299999]=0;if((f|0)==1){break b}}x:{if(v[e>>2]){v[299999]=0;U(4888,c|0,b|0,e|0);break x}v[299999]=0;v[c>>2]=0;Q(4336,c|0,0)|0}e=v[299999];v[299999]=0;if((e|0)==1){break f}e=0;f=v[c>>2];y:{if(!f){break y}e=v[f+(v[b+12>>2]&1?8:12)>>2];v[299999]=0;v[c>>2]=0;b=v[f+4>>2]-1|0;v[f+4>>2]=b;h=v[299999];v[299999]=0;if((h|0)==1){break b}if(b){break y}v[299999]=0;R(4338,f|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}}}v[c+56>>2]=0;v[c+68>>2]=e;v[c+64>>2]=d;v[c+60>>2]=0;v[299999]=0;e=jx(c);b=v[299999];v[299999]=0;if((b|0)==1){break f}v[299999]=0;v[e+32>>2]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=1;v[e+12>>2]=1;v[e>>2]=0;v[e+4>>2]=0;v[e+24>>2]=1;v[e+28>>2]=1;b=v[299999];v[299999]=0;if((b|0)==1){break f}v[299999]=0;V(4937,e|0,c+72|0);b=v[299999];v[299999]=0;if((b|0)==1){break f}v[299999]=0;V(4938,e|0,c+56|0);b=v[299999];v[299999]=0;if((b|0)==1){break f}v[299999]=0;ix(e,0-g|0);b=v[299999];v[299999]=0;if((b|0)==1){break f}b=v[v[v[c+96>>2]+8>>2]+36>>2];if(!b){break i}while(1){d=v[b+8>>2];g=v[v[d>>2]+32>>2];v[299999]=0;V(g|0,d|0,e|0);d=v[299999];v[299999]=0;if((d|0)==1){break f}b=v[b>>2];if(b){continue}break}}b=v[c+96>>2];if(!b){v[a>>2]=0;break g}v[299999]=0;v[b+4>>2]=v[b+4>>2]+1;b=v[299999];v[299999]=0;if((b|0)==1){break f}v[a>>2]=v[c+96>>2];break g}v[a>>2]=0;v[299999]=0;Q(4336,a|0,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break f}}a=v[c+88>>2];v[c+88>>2]=0;z:{if(!a){break z}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;e=v[299999];v[299999]=0;if((e|0)==1){break b}if(b){break z}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break b}}a=v[c+96>>2];v[c+96>>2]=0;A:{if(!a){break A}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;e=v[299999];v[299999]=0;if((e|0)==1){break b}if(b){break A}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break b}}a=v[c+104>>2];v[c+104>>2]=0;B:{if(!a){break B}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;e=v[299999];v[299999]=0;if((e|0)==1){break b}if(b){break B}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break b}}Qb=c+112|0;return}b=P()|0;O()|0;ec(c+88|0);break d}b=P()|0;O()|0;ec(c+88|0)}ec(c+96|0)}ec(c+104|0);T(b|0);L()}W(0)|0;O()|0;lc();L()}function H_a(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;m=Qb-16|0;Qb=m;k=v[a+16>>2];d=w[k+6|0]|w[k+7|0]<<8|(w[k+8|0]<<16|w[k+9|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);a:{if(!d){c=0;break a}n=k+13|0;b:{while(1){e=d+f>>>1|0;l=n+B(e,11)|0;j=l-3|0;j=w[j+1|0]<<8|w[j|0]<<16|w[j+2|0];c:{if(j>>>0>c>>>0){d=e;break c}if(c>>>0<=j>>>0){break b}f=e+1|0}if(d>>>0>f>>>0){continue}break}c=0;break a}c=0;d=w[l|0]|w[l+1|0]<<8|(w[l+2|0]<<16|w[l+3|0]<<24);e=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=w[l+4|0]|w[l+5|0]<<8|(w[l+6|0]<<16|w[l+7|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!(e|d)){break a}d:{if(!e){n=v[a+28>>2];k=d+k|0;j=w[k+3|0];e=w[k+2|0];d=w[k+1|0];c=w[k|0];v[m+12>>2]=0;l=j|(d<<16|c<<24|e<<8);d=l+1|0;e:{if(d>>>0<=n>>>0){c=v[a+32>>2];break e}v[a+36>>2]=b;c=Cc(b,4,n,d,v[a+32>>2],m+12|0);v[a+32>>2]=c;if(v[m+12>>2]){break d}v[a+28>>2]=d}f:{if(!l){break f}b=j&1;e=k+4|0;d=0;if((l|0)!=1){f=l-b|0;while(1){a=d<<2;v[a+c>>2]=w[e+2|0]|(w[e+1|0]<<8|w[e|0]<<16);v[(a|4)+c>>2]=w[e+7|0]|(w[e+6|0]<<8|w[e+5|0]<<16);d=d+2|0;e=e+10|0;f=f-2|0;if(f){continue}break}}if(!b){break f}v[(d<<2)+c>>2]=w[e+2|0]|(w[e+1|0]<<8|w[e|0]<<16)}v[(l<<2)+c>>2]=0;break a}if(!d){h=e+k|0;c=w[h+3|0];i=c|(w[h+1|0]<<16|w[h|0]<<24|w[h+2|0]<<8);if(i){g=c&3;d=h+7|0;g:{if(i-1>>>0<3){f=0;break g}c=i-g|0;f=0;e=d;while(1){f=(w[e+12|0]+(w[e+8|0]+(w[e+4|0]+(w[e|0]+f|0)|0)|0)|0)+4|0;d=e+16|0;e=d;c=c-4|0;if(c){continue}break}}if(g){while(1){f=(w[d|0]+f|0)+1|0;d=d+4|0;g=g-1|0;if(g){continue}break}}d=f+1|0}else{d=1}c=v[a+28>>2];v[m+12>>2]=0;h:{if(c>>>0>=d>>>0){c=v[a+32>>2];break h}v[a+36>>2]=b;c=Cc(b,4,c,d,v[a+32>>2],m+12|0);v[a+32>>2]=c;if(v[m+12>>2]){break d}v[a+28>>2]=d}d=c;if(i){while(1){e=w[h+6|0]|(w[h+5|0]<<8|w[h+4|0]<<16);a=w[h+7|0];f=a+1|0;g=f&7;if(g){while(1){v[d>>2]=e;f=f-1|0;d=d+4|0;e=e+1|0;g=g-1|0;if(g){continue}break}}if(a>>>0>=7){while(1){v[d>>2]=e;v[d+28>>2]=e+7;v[d+24>>2]=e+6;v[d+20>>2]=e+5;v[d+16>>2]=e+4;v[d+12>>2]=e+3;v[d+8>>2]=e+2;v[d+4>>2]=e+1;d=d+32|0;e=e+8|0;f=f-8|0;if(f){continue}break}}h=h+4|0;i=i-1|0;if(i){continue}break}}v[d>>2]=0;break a}c=d+k|0;n=w[c+3|0];o=n|(w[c+1|0]<<16|w[c|0]<<24|w[c+2|0]<<8);g=c+4|0;i:{j:{k:{h=e+k|0;l=w[h+3|0];l:{m:{k=l|(w[h+1|0]<<16|w[h|0]<<24|w[h+2|0]<<8);if(k){c=l&3;d=h+7|0;j=k-1|0;n:{if(j>>>0<3){f=0;break n}i=k-c|0;f=0;e=d;while(1){f=(w[e+12|0]+(w[e+8|0]+(w[e+4|0]+(w[e|0]+f|0)|0)|0)|0)+4|0;d=e+16|0;e=d;i=i-4|0;if(i){continue}break}}if(c){while(1){f=(w[d|0]+f|0)+1|0;d=d+4|0;c=c-1|0;if(c){continue}break}}if(o){break k}if(k){break m}d=1;break l}if(o){break j}d=1;break l}g=l&3;d=h+7|0;o:{if(j>>>0<3){f=0;break o}c=k-g|0;f=0;e=d;while(1){f=(w[e+12|0]+(w[e+8|0]+(w[e+4|0]+(w[e|0]+f|0)|0)|0)|0)+4|0;d=e+16|0;e=d;c=c-4|0;if(c){continue}break}}if(g){while(1){f=(w[d|0]+f|0)+1|0;d=d+4|0;g=g-1|0;if(g){continue}break}}d=f+1|0}c=v[a+28>>2];v[m+12>>2]=0;p:{if(c>>>0>=d>>>0){c=v[a+32>>2];break p}v[a+36>>2]=b;c=Cc(b,4,c,d,v[a+32>>2],m+12|0);v[a+32>>2]=c;if(v[m+12>>2]){break d}v[a+28>>2]=d}d=c;if(k){while(1){e=w[h+6|0]|(w[h+5|0]<<8|w[h+4|0]<<16);a=w[h+7|0];f=a+1|0;g=f&7;if(g){while(1){v[d>>2]=e;f=f-1|0;d=d+4|0;e=e+1|0;g=g-1|0;if(g){continue}break}}if(a>>>0>=7){while(1){v[d>>2]=e;v[d+28>>2]=e+7;v[d+24>>2]=e+6;v[d+20>>2]=e+5;v[d+16>>2]=e+4;v[d+12>>2]=e+3;v[d+8>>2]=e+2;v[d+4>>2]=e+1;d=d+32|0;e=e+8|0;f=f-8|0;if(f){continue}break}}h=h+4|0;k=k-1|0;if(k){continue}break}}v[d>>2]=0;break a}if(f){break i}}c=v[a+28>>2];v[m+12>>2]=0;d=o+1|0;q:{if(d>>>0<=c>>>0){c=v[a+32>>2];break q}v[a+36>>2]=b;c=Cc(b,4,c,d,v[a+32>>2],m+12|0);v[a+32>>2]=c;if(v[m+12>>2]){break d}v[a+28>>2]=d}b=n&1;e=0;if((o|0)!=1){d=o-b|0;while(1){a=e<<2;v[a+c>>2]=w[g+2|0]|(w[g+1|0]<<8|w[g|0]<<16);v[(a|4)+c>>2]=w[g+7|0]|(w[g+6|0]<<8|w[g+5|0]<<16);e=e+2|0;g=g+10|0;d=d-2|0;if(d){continue}break}}if(b){v[(e<<2)+c>>2]=w[g+2|0]|(w[g+1|0]<<8|w[g|0]<<16)}v[(o<<2)+c>>2]=0;break a}c=v[a+28>>2];v[m+12>>2]=0;d=(f+o|0)+1|0;r:{if(d>>>0<=c>>>0){c=v[a+32>>2];break r}v[a+36>>2]=b;c=Cc(b,4,c,d,v[a+32>>2],m+12|0);v[a+32>>2]=c;if(v[m+12>>2]){break d}v[a+28>>2]=d}a=w[g+2|0]|(w[g+1|0]<<8|w[g|0]<<16);b=h+4|0;f=w[b+1|0]<<8|w[b|0]<<16|w[b+2|0];i=g+5|0;h=b+4|0;g=w[b+3|0];e=0;b=1;j=1;while(1){s:{d=0;if(f+g>>>0>>0){while(1){v[(e<<2)+c>>2]=d+f;e=e+1|0;d=d+1|0;if(g>>>0>=d>>>0){continue}break}b=b+1|0;if(k>>>0>>0){break s}f=w[h+2|0]|(w[h+1|0]<<8|w[h|0]<<16);g=w[h+3|0];h=h+4|0;continue}if(a>>>0>>0){v[(e<<2)+c>>2]=a;e=e+1|0}j=j+1|0;if(o>>>0>>0){break s}a=w[i+2|0]|(w[i+1|0]<<8|w[i|0]<<16);i=i+5|0;continue}break}t:{if(j>>>0<=o>>>0){v[(e<<2)+c>>2]=a;a=e+1|0;if(j>>>0>=o>>>0){e=a;break t}b=j+1|0;if(n-j&1){v[(a<<2)+c>>2]=w[i+2|0]|(w[i+1|0]<<8|w[i|0]<<16);j=j+1|0;i=i+5|0;a=e+2|0}e=a;if((b|0)==(o|0)){break t}while(1){a=(e<<2)+c|0;v[a>>2]=w[i+2|0]|(w[i+1|0]<<8|w[i|0]<<16);v[a+4>>2]=w[i+7|0]|(w[i+6|0]<<8|w[i+5|0]<<16);e=e+2|0;i=i+10|0;j=j+2|0;if((o|0)!=(j|0)){continue}break}break t}if(b>>>0>k>>>0){break t}d=0;while(1){v[(e<<2)+c>>2]=d+f;e=e+1|0;d=d+1|0;if(g>>>0>=d>>>0){continue}break}if(b>>>0>=k>>>0){break t}while(1){n=w[h+2|0]|(w[h+1|0]<<8|w[h|0]<<16);j=w[h+3|0];a=j+1|0;i=a&3;d=0;if(j>>>0>=3){a=a&508;while(1){j=(e<<2)+c|0;v[j>>2]=d+n;v[j+12>>2]=n+(d|3);v[j+8>>2]=n+(d|2);v[j+4>>2]=n+(d|1);d=d+4|0;e=e+4|0;a=a-4|0;if(a){continue}break}}if(i){while(1){v[(e<<2)+c>>2]=d+n;d=d+1|0;e=e+1|0;i=i-1|0;if(i){continue}break}}h=h+4|0;b=b+1|0;if((k|0)!=(b|0)){continue}break}}v[(e<<2)+c>>2]=0;break a}c=0}Qb=m+16|0;return c|0}function EP(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=Qb-96|0;Qb=d;a:{b:{c:{if(!w[b+89|0]){a=vc(d+56|0,231584,241010,286,226767,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break c}b=P()|0;O()|0;qc(a);T(b|0);L()}d:{e=b+92|0;e:{f:{if(!(v[e>>2]&1)){break f}g:{h:{i:{j:{switch(v[b+56>>2]-1|0){case 2:if(!(v[e>>2]&2)){break f}CD(d+8|0,v[b+48>>2],c);k:{l:{m:{n:{o:{p:{q:{e=v[d+8>>2];r:{if(e){break r}e=v[b+48>>2];v[299999]=0;U(4727,d+56|0,e|0,c|0);e=v[299999];v[299999]=0;if((e|0)==1){break q}v[299999]=0;Q(4344,d+8|0,d+56|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break p}e=v[d+56>>2];v[d+56>>2]=0;s:{if(!e){break s}v[299999]=0;f=v[e+4>>2]-1|0;v[e+4>>2]=f;g=v[299999];v[299999]=0;if((g|0)==1){break b}if(f){break s}v[299999]=0;R(4338,e|0);e=v[299999];v[299999]=0;if((e|0)==1){break b}}e=v[d+8>>2];if(e){break r}e=v[b+48>>2];v[299999]=0;U(4728,d+56|0,e|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break o}v[299999]=0;Q(4344,d+8|0,d+56|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break n}ec(d+56|0);e=v[d+8>>2]}if(!e){break i}v[299999]=0;b=Y(4612,d+56|0,e+36|0,b+8|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break m}v[299999]=0;Q(4342,a|0,b|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break l}v[b+24>>2]=981312;v[b>>2]=981280;a=v[b+28>>2];if(a){c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(!c){Ub[v[v[a>>2]+4>>2]](a)}v[b+28>>2]=0}v[b+16>>2]=981312;a=v[b+20>>2];if(a){c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(!c){Ub[v[v[a>>2]+4>>2]](a)}v[b+20>>2]=0}ec(b+8|0);a=v[d+8>>2];v[d+8>>2]=0;if(!a){break e}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break e}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break e}}break b}a=P()|0;O()|0;break k}a=P()|0;O()|0;ec(d+56|0);break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;ec(d+56|0);break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;$c(b)}break a;case 3:if(!(v[e>>2]&2)){break f}CD(d+48|0,v[b+48>>2],c);t:{u:{v:{w:{x:{y:{z:{A:{B:{e=v[d+48>>2];C:{if(e){break C}e=v[b+48>>2];v[299999]=0;U(4727,d+56|0,e|0,c|0);e=v[299999];v[299999]=0;if((e|0)==1){break B}v[299999]=0;Q(4344,d+48|0,d+56|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break A}e=v[d+56>>2];v[d+56>>2]=0;D:{if(!e){break D}v[299999]=0;f=v[e+4>>2]-1|0;v[e+4>>2]=f;g=v[299999];v[299999]=0;if((g|0)==1){break d}if(f){break D}v[299999]=0;R(4338,e|0);e=v[299999];v[299999]=0;if((e|0)==1){break d}}e=v[d+48>>2];if(e){break C}e=v[b+48>>2];v[299999]=0;U(4728,d+56|0,e|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break z}v[299999]=0;Q(4344,d+48|0,d+56|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break y}ec(d+56|0);e=v[d+48>>2]}if(!e){break h}v[299999]=0;V(4708,d+8|0,b+8|0);b=v[299999];v[299999]=0;if((b|0)==1){break x}v[299999]=0;b=Y(4612,d+56|0,e+36|0,d+8|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break w}v[299999]=0;Q(4342,a|0,b|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break v}v[b+24>>2]=981312;v[b>>2]=981280;a=v[b+28>>2];if(a){c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(!c){Ub[v[v[a>>2]+4>>2]](a)}v[b+28>>2]=0}v[b+16>>2]=981312;a=v[b+20>>2];if(a){c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(!c){Ub[v[v[a>>2]+4>>2]](a)}v[b+20>>2]=0}ec(b+8|0);v[d+32>>2]=981312;v[d+8>>2]=981280;a=v[d+36>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Ub[v[v[a>>2]+4>>2]](a)}v[d+36>>2]=0}v[d+24>>2]=981312;a=v[d+28>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Ub[v[v[a>>2]+4>>2]](a)}v[d+28>>2]=0}ec(d+16|0);a=v[d+48>>2];v[d+48>>2]=0;if(!a){break e}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break e}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break e}}break b}a=P()|0;O()|0;break t}a=P()|0;O()|0;ec(d+56|0);break t}a=P()|0;O()|0;break t}a=P()|0;O()|0;ec(d+56|0);break t}a=P()|0;O()|0;break t}a=P()|0;O()|0;break u}a=P()|0;O()|0;$c(b)}$c(d+8|0)}ec(d+48|0);T(a|0);L();case 0:if(!(v[e>>2]&2)){break f}RP(d+8|0,v[b+108>>2],c);if(!v[d+8>>2]){break g}v[299999]=0;b=Y(4612,d+56|0,c|0,b+8|0)|0;c=v[299999];v[299999]=0;E:{F:{if((c|0)!=1){v[299999]=0;Q(4342,a|0,b|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break F}v[b+24>>2]=981312;v[b>>2]=981280;a=v[b+28>>2];if(a){c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(!c){Ub[v[v[a>>2]+4>>2]](a)}v[b+28>>2]=0}v[b+16>>2]=981312;a=v[b+20>>2];if(a){c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(!c){Ub[v[v[a>>2]+4>>2]](a)}v[b+20>>2]=0}ec(b+8|0);a=v[d+8>>2];v[d+8>>2]=0;if(!a){break e}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break e}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break e}}break b}a=P()|0;O()|0;break E}a=P()|0;O()|0;$c(b)}break a;case 1:case 4:break j;default:break f}}e=d+8|0;Uw(e,b+8|0);v[299999]=0;b=Y(4612,d+56|0,c|0,e|0)|0;c=v[299999];v[299999]=0;G:{H:{if((c|0)!=1){v[299999]=0;Q(4342,a|0,b|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break H}v[b+24>>2]=981312;v[b>>2]=981280;a=v[b+28>>2];if(a){c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(!c){Ub[v[v[a>>2]+4>>2]](a)}v[b+28>>2]=0}v[b+16>>2]=981312;a=v[b+20>>2];if(a){c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(!c){Ub[v[v[a>>2]+4>>2]](a)}v[b+20>>2]=0}ec(b+8|0);v[d+32>>2]=981312;v[d+8>>2]=981280;a=v[d+36>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Ub[v[v[a>>2]+4>>2]](a)}v[d+36>>2]=0}v[d+24>>2]=981312;a=v[d+28>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Ub[v[v[a>>2]+4>>2]](a)}v[d+28>>2]=0}ec(d+16|0);break e}a=P()|0;O()|0;break G}a=P()|0;O()|0;$c(b)}$c(d+8|0);T(a|0);L()}ec(d+8|0);break f}ec(d+48|0);break f}ec(d+8|0)}Tk(a)}Qb=d+96|0;return}W(0)|0;O()|0;lc()}L()}W(0)|0;O()|0;lc();L()}ec(d+8|0);T(a|0);L()}function GX(a,b,c){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,p=0;k=Qb-16|0;Qb=k;v[c>>2]=2147483632;v[c+16>>2]=v[c+8>>2];h=v[c+20>>2];v[c+28>>2]=h;u[h+2>>1]=0;e=v[b+20>>2];j=v[b+28>>2]-e|0;f=268435454;d=268435455;i=268435455;h=268435454;l=v[a+20>>2];a=v[a+28>>2]-l|0;if(a){v[k+4>>2]=l+8;o=(a>>3)-1|0;a=u[l+10>>1];b=a>>31;i=u[l+8>>1];h=(i+((b^a+b)&65535)|0)-1|0}if(j){v[k>>2]=e+8;p=(j>>3)-1|0;a=u[e+10>>1];b=a>>31;d=u[e+8>>1];f=(d+((b^a+b)&65535)|0)-1|0}while(1){a:{if(!o){b=i;o=0;break a}if((i|0)<=(h|0)){b=i;break a}b=v[k+4>>2];v[k+4>>2]=b+8;o=o-1|0;a=u[b+10>>1];h=a>>31;b=u[b+8>>1];h=(b+((h^a+h)&65535)|0)-1|0}l=h;b:{c:{d:{if(!p){p=0;break d}if((d|0)>(f|0)){break c}}a=d;break b}a=v[k>>2];v[k>>2]=a+8;p=p-1|0;h=u[a+10>>1];f=h>>31;a=u[a+8>>1];f=(a+((f^f+h)&65535)|0)-1|0}j=f;if(!((f|0)<(a|0)&(b|0)>(l|0))){m=(j|0)<(l|0);i=(a|0)>(b|0)?a:b;h=(m?j:l)-i|0;if((h|0)>=0){h=h+1|0;e:{f:{g:{if((a|0)>(b|0)){g=a-b|0;d=v[k+4>>2];f=u[d+2>>1];if((f|0)<=-1){e=w[v[d+4>>2]];h:{if((v[c>>2]+1|0)!=(b|0)){break h}d=v[c+28>>2];f=u[d+2>>1];if((f|0)>-1|(e|0)!=w[v[d+4>>2]]){break h}u[d+2>>1]=f-g;b=a;break g}t[v[c+16>>2]]=e;d=v[c+28>>2];v[c+28>>2]=d+8;f=v[c+16>>2];v[c+16>>2]=f+1;u[d+10>>1]=0-g;u[d+8>>1]=b;v[d+12>>2]=f;b=a;break g}if(!f){b=a;break e}f=u[d>>1];gc(v[c+16>>2],v[d+4>>2]+((b|0)>(f|0)?b-f|0:0)|0,g);d=v[c+28>>2];i:{j:{if((v[c>>2]+1|0)!=(b|0)){break j}f=u[d+2>>1];if((f|0)<1){break j}u[d+2>>1]=f+g;f=v[c+16>>2];break i}v[c+28>>2]=d+8;f=v[c+16>>2];u[d+10>>1]=g;u[d+8>>1]=b;v[d+12>>2]=f}v[c+16>>2]=f+g;b=a;break g}if((a|0)>=(b|0)){break e}g=b-a|0;d=v[k>>2];f=u[d+2>>1];if((f|0)<=-1){e=w[v[d+4>>2]];k:{if((v[c>>2]+1|0)!=(a|0)){break k}d=v[c+28>>2];f=u[d+2>>1];if((f|0)>-1|(e|0)!=w[v[d+4>>2]]){break k}u[d+2>>1]=f-g;break g}t[v[c+16>>2]]=e;d=v[c+28>>2];v[c+28>>2]=d+8;f=v[c+16>>2];v[c+16>>2]=f+1;u[d+10>>1]=0-g;u[d+8>>1]=a;v[d+12>>2]=f;break g}if(!f){break f}f=u[d>>1];gc(v[c+16>>2],v[d+4>>2]+((a|0)>(f|0)?a-f|0:0)|0,g);d=v[c+28>>2];l:{m:{if((v[c>>2]+1|0)!=(a|0)){break m}f=u[d+2>>1];if((f|0)<1){break m}u[d+2>>1]=f+g;f=v[c+16>>2];break l}v[c+28>>2]=d+8;f=v[c+16>>2];u[d+10>>1]=g;u[d+8>>1]=a;v[d+12>>2]=f}v[c+16>>2]=f+g}v[c>>2]=b-1}a=b}f=h;n:{o:{p:{q:{r:{n=v[k>>2];d=v[k+4>>2];switch((x[n+2>>1]>>>14&2|x[d+2>>1]>>>15)-1|0){case 2:break o;case 1:break p;case 0:break q;default:break r}}e=u[n>>1];n=v[n+4>>2]+((e|0)<(i|0)?i-e|0:0)|0;e=v[d+4>>2];d=u[d>>1];g=e+((d|0)<(i|0)?i-d|0:0)|0;while(1){d=w[n|0]+w[g|0]|0;d=d>>>0>255?510-d|0:d;if(d){t[v[c+16>>2]]=d;e=v[c+28>>2];s:{t:{if((v[c>>2]+1|0)!=(i|0)){break t}d=u[e+2>>1];if((d|0)<1){break t}u[e+2>>1]=d+1;d=v[c+16>>2];break s}v[c+28>>2]=e+8;d=v[c+16>>2];u[e+10>>1]=1;u[e+8>>1]=i;v[e+12>>2]=d}v[c>>2]=i;v[c+16>>2]=d+1}n=n+1|0;g=g+1|0;i=i+1|0;f=f-1|0;if(f){continue}break}break n}e=u[n>>1];g=v[n+4>>2]+((e|0)<(i|0)?i-e|0:0)|0;while(1){d=w[g|0]+w[v[d+4>>2]]|0;d=d>>>0>255?510-d|0:d;if(d){t[v[c+16>>2]]=d;e=v[c+28>>2];u:{v:{if((v[c>>2]+1|0)!=(i|0)){break v}d=u[e+2>>1];if((d|0)<1){break v}u[e+2>>1]=d+1;d=v[c+16>>2];break u}v[c+28>>2]=e+8;d=v[c+16>>2];u[e+10>>1]=1;u[e+8>>1]=i;v[e+12>>2]=d}v[c>>2]=i;v[c+16>>2]=d+1}f=f-1|0;if(!f){break n}g=g+1|0;i=i+1|0;d=v[k+4>>2];continue}}e=v[d+4>>2];d=u[d>>1];g=e+((d|0)<(i|0)?i-d|0:0)|0;while(1){d=w[v[n+4>>2]]+w[g|0]|0;d=d>>>0>255?510-d|0:d;if(d){t[v[c+16>>2]]=d;e=v[c+28>>2];w:{x:{if((v[c>>2]+1|0)!=(i|0)){break x}d=u[e+2>>1];if((d|0)<1){break x}u[e+2>>1]=d+1;d=v[c+16>>2];break w}v[c+28>>2]=e+8;d=v[c+16>>2];u[e+10>>1]=1;u[e+8>>1]=i;v[e+12>>2]=d}v[c>>2]=i;v[c+16>>2]=d+1}f=f-1|0;if(!f){break n}g=g+1|0;i=i+1|0;n=v[k>>2];continue}}d=w[v[n+4>>2]]+w[v[d+4>>2]]|0;g=d>>>0>255?510-d|0:d;if(!g){break n}y:{z:{if((v[c>>2]+1|0)!=(i|0)){break z}e=v[c+28>>2];d=u[e+2>>1];if((d|0)>-1|(g|0)!=w[v[e+4>>2]]){break z}u[e+2>>1]=d-f;break y}t[v[c+16>>2]]=g;e=v[c+28>>2];v[c+28>>2]=e+8;d=v[c+16>>2];v[c+16>>2]=d+1;u[e+10>>1]=0-f;u[e+8>>1]=i;v[e+12>>2]=d}v[c>>2]=(f+i|0)-1}if((j|0)>(l|0)){d=a+h|0;h=268435454;i=268435455;f=j;continue}d=268435455;i=m?b+h|0:268435455;f=268435454;h=m?l:268435454;continue}if((a|0)>(b|0)){h=268435454;i=268435455;d=a;if((b|0)>(l|0)){continue}e=l-b|0;m=e+1|0;g=v[k+4>>2];j=u[g+2>>1];A:{if((j|0)<=-1){g=w[v[g+4>>2]];B:{if((v[c>>2]+1|0)!=(b|0)){break B}d=v[c+28>>2];j=u[d+2>>1];if((j|0)>-1|(g|0)!=w[v[d+4>>2]]){break B}u[d+2>>1]=j-m;break A}t[v[c+16>>2]]=g;d=v[c+28>>2];v[c+28>>2]=d+8;j=v[c+16>>2];v[c+16>>2]=j+1;u[d+10>>1]=e^-1;u[d+8>>1]=b;v[d+12>>2]=j;break A}if(!j){continue}j=u[g>>1];gc(v[c+16>>2],v[g+4>>2]+((b|0)>(j|0)?b-j|0:0)|0,m);e=v[c+28>>2];C:{D:{if((v[c>>2]+1|0)!=(b|0)){break D}j=u[e+2>>1];if((j|0)<1){break D}u[e+2>>1]=j+m;d=v[c+16>>2];break C}v[c+28>>2]=e+8;d=v[c+16>>2];u[e+10>>1]=m;u[e+8>>1]=b;v[e+12>>2]=d}v[c+16>>2]=d+m}v[c>>2]=l;d=a;continue}f=268435454;d=268435455;i=b;h=l;if((a|0)>(j|0)){continue}e=j-a|0;m=e+1|0;g=v[k>>2];b=u[g+2>>1];E:{if((b|0)<=-1){g=w[v[g+4>>2]];F:{if((v[c>>2]+1|0)!=(a|0)){break F}h=v[c+28>>2];b=u[h+2>>1];if((b|0)>-1|(g|0)!=w[v[h+4>>2]]){break F}u[h+2>>1]=b-m;break E}t[v[c+16>>2]]=g;h=v[c+28>>2];v[c+28>>2]=h+8;b=v[c+16>>2];v[c+16>>2]=b+1;u[h+10>>1]=e^-1;u[h+8>>1]=a;v[h+12>>2]=b;break E}if(!b){continue}b=u[g>>1];gc(v[c+16>>2],v[g+4>>2]+((a|0)>(b|0)?a-b|0:0)|0,m);e=v[c+28>>2];G:{H:{if((v[c>>2]+1|0)!=(a|0)){break H}b=u[e+2>>1];if((b|0)<1){break H}u[e+2>>1]=b+m;h=v[c+16>>2];break G}v[c+28>>2]=e+8;h=v[c+16>>2];u[e+10>>1]=m;u[e+8>>1]=a;v[e+12>>2]=h}v[c+16>>2]=h+m}v[c>>2]=j;h=l;continue}break}Qb=k+16|0}function EX(a,b,c){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,p=0;k=Qb-16|0;Qb=k;v[c>>2]=2147483632;v[c+16>>2]=v[c+8>>2];h=v[c+20>>2];v[c+28>>2]=h;u[h+2>>1]=0;e=v[b+20>>2];j=v[b+28>>2]-e|0;f=268435454;d=268435455;i=268435455;h=268435454;l=v[a+20>>2];a=v[a+28>>2]-l|0;if(a){v[k+4>>2]=l+8;o=(a>>3)-1|0;a=u[l+10>>1];b=a>>31;i=u[l+8>>1];h=(i+((b^a+b)&65535)|0)-1|0}if(j){v[k>>2]=e+8;p=(j>>3)-1|0;a=u[e+10>>1];b=a>>31;d=u[e+8>>1];f=(d+((b^a+b)&65535)|0)-1|0}while(1){a:{if(!o){b=i;o=0;break a}if((i|0)<=(h|0)){b=i;break a}b=v[k+4>>2];v[k+4>>2]=b+8;o=o-1|0;a=u[b+10>>1];h=a>>31;b=u[b+8>>1];h=(b+((h^a+h)&65535)|0)-1|0}l=h;b:{c:{d:{if(!p){p=0;break d}if((d|0)>(f|0)){break c}}a=d;break b}a=v[k>>2];v[k>>2]=a+8;p=p-1|0;h=u[a+10>>1];f=h>>31;a=u[a+8>>1];f=(a+((f^f+h)&65535)|0)-1|0}j=f;if(!((f|0)<(a|0)&(b|0)>(l|0))){m=(j|0)<(l|0);i=(a|0)>(b|0)?a:b;h=(m?j:l)-i|0;if((h|0)>=0){h=h+1|0;e:{f:{g:{if((a|0)>(b|0)){g=a-b|0;d=v[k+4>>2];f=u[d+2>>1];if((f|0)<=-1){e=w[v[d+4>>2]];h:{if((v[c>>2]+1|0)!=(b|0)){break h}d=v[c+28>>2];f=u[d+2>>1];if((f|0)>-1|(e|0)!=w[v[d+4>>2]]){break h}u[d+2>>1]=f-g;b=a;break g}t[v[c+16>>2]]=e;d=v[c+28>>2];v[c+28>>2]=d+8;f=v[c+16>>2];v[c+16>>2]=f+1;u[d+10>>1]=0-g;u[d+8>>1]=b;v[d+12>>2]=f;b=a;break g}if(!f){b=a;break e}f=u[d>>1];gc(v[c+16>>2],v[d+4>>2]+((b|0)>(f|0)?b-f|0:0)|0,g);d=v[c+28>>2];i:{j:{if((v[c>>2]+1|0)!=(b|0)){break j}f=u[d+2>>1];if((f|0)<1){break j}u[d+2>>1]=f+g;f=v[c+16>>2];break i}v[c+28>>2]=d+8;f=v[c+16>>2];u[d+10>>1]=g;u[d+8>>1]=b;v[d+12>>2]=f}v[c+16>>2]=f+g;b=a;break g}if((a|0)>=(b|0)){break e}g=b-a|0;d=v[k>>2];f=u[d+2>>1];if((f|0)<=-1){e=w[v[d+4>>2]];k:{if((v[c>>2]+1|0)!=(a|0)){break k}d=v[c+28>>2];f=u[d+2>>1];if((f|0)>-1|(e|0)!=w[v[d+4>>2]]){break k}u[d+2>>1]=f-g;break g}t[v[c+16>>2]]=e;d=v[c+28>>2];v[c+28>>2]=d+8;f=v[c+16>>2];v[c+16>>2]=f+1;u[d+10>>1]=0-g;u[d+8>>1]=a;v[d+12>>2]=f;break g}if(!f){break f}f=u[d>>1];gc(v[c+16>>2],v[d+4>>2]+((a|0)>(f|0)?a-f|0:0)|0,g);d=v[c+28>>2];l:{m:{if((v[c>>2]+1|0)!=(a|0)){break m}f=u[d+2>>1];if((f|0)<1){break m}u[d+2>>1]=f+g;f=v[c+16>>2];break l}v[c+28>>2]=d+8;f=v[c+16>>2];u[d+10>>1]=g;u[d+8>>1]=a;v[d+12>>2]=f}v[c+16>>2]=f+g}v[c>>2]=b-1}a=b}f=h;n:{o:{p:{q:{r:{n=v[k>>2];d=v[k+4>>2];switch((x[n+2>>1]>>>14&2|x[d+2>>1]>>>15)-1|0){case 2:break o;case 1:break p;case 0:break q;default:break r}}e=u[n>>1];g=v[n+4>>2]+((e|0)<(i|0)?i-e|0:0)|0;e=v[d+4>>2];d=u[d>>1];n=e+((d|0)<(i|0)?i-d|0:0)|0;while(1){d=w[n|0]-w[g|0]|0;if(d){e=d;d=d>>31;t[v[c+16>>2]]=e+d^d;e=v[c+28>>2];s:{t:{if((v[c>>2]+1|0)!=(i|0)){break t}d=u[e+2>>1];if((d|0)<1){break t}u[e+2>>1]=d+1;d=v[c+16>>2];break s}v[c+28>>2]=e+8;d=v[c+16>>2];u[e+10>>1]=1;u[e+8>>1]=i;v[e+12>>2]=d}v[c>>2]=i;v[c+16>>2]=d+1}g=g+1|0;n=n+1|0;i=i+1|0;f=f-1|0;if(f){continue}break}break n}e=u[n>>1];g=v[n+4>>2]+((e|0)<(i|0)?i-e|0:0)|0;while(1){d=w[v[d+4>>2]]-w[g|0]|0;if(d){e=d;d=d>>31;t[v[c+16>>2]]=e+d^d;e=v[c+28>>2];u:{v:{if((v[c>>2]+1|0)!=(i|0)){break v}d=u[e+2>>1];if((d|0)<1){break v}u[e+2>>1]=d+1;d=v[c+16>>2];break u}v[c+28>>2]=e+8;d=v[c+16>>2];u[e+10>>1]=1;u[e+8>>1]=i;v[e+12>>2]=d}v[c>>2]=i;v[c+16>>2]=d+1}f=f-1|0;if(!f){break n}g=g+1|0;i=i+1|0;d=v[k+4>>2];continue}}e=v[d+4>>2];d=u[d>>1];g=e+((d|0)<(i|0)?i-d|0:0)|0;while(1){d=w[g|0]-w[v[n+4>>2]]|0;if(d){e=d;d=d>>31;t[v[c+16>>2]]=e+d^d;e=v[c+28>>2];w:{x:{if((v[c>>2]+1|0)!=(i|0)){break x}d=u[e+2>>1];if((d|0)<1){break x}u[e+2>>1]=d+1;d=v[c+16>>2];break w}v[c+28>>2]=e+8;d=v[c+16>>2];u[e+10>>1]=1;u[e+8>>1]=i;v[e+12>>2]=d}v[c>>2]=i;v[c+16>>2]=d+1}f=f-1|0;if(!f){break n}g=g+1|0;i=i+1|0;n=v[k>>2];continue}}d=w[v[d+4>>2]]-w[v[n+4>>2]]|0;if(!d){break n}e=d;d=d>>31;g=e+d^d;y:{z:{if((v[c>>2]+1|0)!=(i|0)){break z}e=v[c+28>>2];d=u[e+2>>1];if((d|0)>-1|(g|0)!=w[v[e+4>>2]]){break z}u[e+2>>1]=d-f;break y}t[v[c+16>>2]]=g;e=v[c+28>>2];v[c+28>>2]=e+8;d=v[c+16>>2];v[c+16>>2]=d+1;u[e+10>>1]=0-f;u[e+8>>1]=i;v[e+12>>2]=d}v[c>>2]=(f+i|0)-1}if((j|0)>(l|0)){d=a+h|0;h=268435454;i=268435455;f=j;continue}d=268435455;i=m?b+h|0:268435455;f=268435454;h=m?l:268435454;continue}if((a|0)>(b|0)){h=268435454;i=268435455;d=a;if((b|0)>(l|0)){continue}e=l-b|0;m=e+1|0;g=v[k+4>>2];j=u[g+2>>1];A:{if((j|0)<=-1){g=w[v[g+4>>2]];B:{if((v[c>>2]+1|0)!=(b|0)){break B}d=v[c+28>>2];j=u[d+2>>1];if((j|0)>-1|(g|0)!=w[v[d+4>>2]]){break B}u[d+2>>1]=j-m;break A}t[v[c+16>>2]]=g;d=v[c+28>>2];v[c+28>>2]=d+8;j=v[c+16>>2];v[c+16>>2]=j+1;u[d+10>>1]=e^-1;u[d+8>>1]=b;v[d+12>>2]=j;break A}if(!j){continue}j=u[g>>1];gc(v[c+16>>2],v[g+4>>2]+((b|0)>(j|0)?b-j|0:0)|0,m);e=v[c+28>>2];C:{D:{if((v[c>>2]+1|0)!=(b|0)){break D}j=u[e+2>>1];if((j|0)<1){break D}u[e+2>>1]=j+m;d=v[c+16>>2];break C}v[c+28>>2]=e+8;d=v[c+16>>2];u[e+10>>1]=m;u[e+8>>1]=b;v[e+12>>2]=d}v[c+16>>2]=d+m}v[c>>2]=l;d=a;continue}f=268435454;d=268435455;i=b;h=l;if((a|0)>(j|0)){continue}e=j-a|0;m=e+1|0;g=v[k>>2];b=u[g+2>>1];E:{if((b|0)<=-1){g=w[v[g+4>>2]];F:{if((v[c>>2]+1|0)!=(a|0)){break F}h=v[c+28>>2];b=u[h+2>>1];if((b|0)>-1|(g|0)!=w[v[h+4>>2]]){break F}u[h+2>>1]=b-m;break E}t[v[c+16>>2]]=g;h=v[c+28>>2];v[c+28>>2]=h+8;b=v[c+16>>2];v[c+16>>2]=b+1;u[h+10>>1]=e^-1;u[h+8>>1]=a;v[h+12>>2]=b;break E}if(!b){continue}b=u[g>>1];gc(v[c+16>>2],v[g+4>>2]+((a|0)>(b|0)?a-b|0:0)|0,m);e=v[c+28>>2];G:{H:{if((v[c>>2]+1|0)!=(a|0)){break H}b=u[e+2>>1];if((b|0)<1){break H}u[e+2>>1]=b+m;h=v[c+16>>2];break G}v[c+28>>2]=e+8;h=v[c+16>>2];u[e+10>>1]=m;u[e+8>>1]=a;v[e+12>>2]=h}v[c+16>>2]=h+m}v[c>>2]=j;h=l;continue}break}Qb=k+16|0}function uda(a,b,c,d,e,f){a=a|0;b=+b;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,k=0,l=0,m=0,n=0,p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0,A=0,C=0,E=0,F=0,G=0,H=0;n=Qb-560|0;Qb=n;v[n+44>>2]=0;o(+b);g=j(1)|0;j(0)|0;a:{if((g|0)<-1|(g|0)<=-1){z=1;E=221159;b=-b;o(+b);g=j(1)|0;j(0)|0;break a}if(e&2048){z=1;E=221162;break a}z=e&1;E=z?221165:221160;G=!z}b:{if((g&2146435072)==2146435072){i=z+3|0;zi(a,32,c,i,e&-65537);yh(a,E,z);d=f&32;yh(a,b!=b?d?249636:316238:d?273300:320966,3);break b}x=n+16|0;c:{d:{e:{b=KN(b,n+44|0);b=b+b;if(b!=0){g=v[n+44>>2];v[n+44>>2]=g-1;u=f|32;if((u|0)!=97){break e}break c}u=f|32;if((u|0)==97){break c}k=v[n+44>>2];l=(d|0)<0?6:d;break d}k=g-29|0;v[n+44>>2]=k;b=b*268435456;l=(d|0)<0?6:d}p=(k|0)<0?n+48|0:n+336|0;h=p;while(1){d=h;if(b<4294967296&b>=0){g=~~b>>>0}else{g=0}v[d>>2]=g;h=h+4|0;b=(b-+(g>>>0))*1e9;if(b!=0){continue}break}f:{if((k|0)<1){d=k;g=h;m=p;break f}m=p;d=k;while(1){q=(d|0)<29?d:29;g=h-4|0;g:{if(m>>>0>g>>>0){break g}d=q;i=0;while(1){s=g;A=i;C=v[g>>2];r=d&31;if((d&63)>>>0>=32){i=C<>>32-r;C=C<>>0>>0?i+1|0:i;i=Dib(r,i,1e9,0);A=s;s=Bib(i,Tb,1e9,0);v[A>>2]=r-s;g=g-4|0;if(m>>>0<=g>>>0){continue}break}if(!i){break g}m=m-4|0;v[m>>2]=i}while(1){g=h;if(m>>>0>>0){h=g-4|0;if(!v[h>>2]){continue}}break}d=v[n+44>>2]-q|0;v[n+44>>2]=d;h=g;if((d|0)>0){continue}break}}h=(l+25|0)/9|0;if((d|0)<=-1){q=h+1|0;F=(u|0)==102;while(1){d=0-d|0;i=(d|0)<9?d:9;h:{if(g>>>0>m>>>0){s=1e9>>>i|0;r=-1<>2];v[h>>2]=A+(d>>>i|0);d=B(s,d&r);h=h+4|0;if(h>>>0>>0){continue}break}h=v[m>>2];if(!d){break h}v[g>>2]=d;g=g+4|0;break h}h=v[m>>2]}d=i+v[n+44>>2]|0;v[n+44>>2]=d;m=(!h<<2)+m|0;h=F?p:m;g=(q|0)>2?h+(q<<2)|0:g;if((d|0)<0){continue}break}}h=0;i:{if(g>>>0<=m>>>0){break i}h=B(p-m>>2,9);d=10;i=v[m>>2];if(i>>>0<10){break i}while(1){h=h+1|0;d=B(d,10);if(i>>>0>=d>>>0){continue}break}}d=(l-((u|0)==102?0:h)|0)-((u|0)==103&(l|0)!=0)|0;if((d|0)<(B(g-p>>2,9)-9|0)){s=((k|0)<0?4:292)+n|0;k=d+9216|0;q=(k|0)/9|0;i=(s+(q<<2)|0)-4048|0;d=10;k=k-B(q,9)|0;if((k|0)<=7){while(1){d=B(d,10);k=k+1|0;if((k|0)!=8){continue}break}}q=v[i>>2];s=(q>>>0)/(d>>>0)|0;k=q-B(d,s)|0;r=i+4|0;j:{if(!k&(r|0)==(g|0)){break j}b=(g|0)==(r|0)?1:1.5;r=d>>>1|0;y=k>>>0>>0?.5:(r|0)==(k|0)?b:1.5;b=s&1?9007199254740994:9007199254740992;if(!(w[E|0]!=45|G)){y=-y;b=-b}k=q-k|0;v[i>>2]=k;if(b+y==b){break j}d=d+k|0;v[i>>2]=d;if(d>>>0>=1e9){while(1){v[i>>2]=0;i=i-4|0;if(i>>>0>>0){m=m-4|0;v[m>>2]=0}d=v[i>>2]+1|0;v[i>>2]=d;if(d>>>0>999999999){continue}break}}h=B(p-m>>2,9);d=10;k=v[m>>2];if(k>>>0<10){break j}while(1){h=h+1|0;d=B(d,10);if(k>>>0>=d>>>0){continue}break}}d=i+4|0;g=d>>>0>>0?d:g}while(1){k=g;d=g>>>0<=m>>>0;if(!d){g=k-4|0;if(!v[g>>2]){continue}}break}k:{if((u|0)!=103){u=e&8;break k}g=l?l:1;i=(g|0)>(h|0)&(h|0)>-5;l=(i?h^-1:-1)+g|0;f=(i?-1:-2)+f|0;u=e&8;if(u){break k}g=-9;l:{if(d){break l}q=v[k-4>>2];if(!q){break l}d=10;g=0;if((q>>>0)%10|0){break l}while(1){i=g;g=g+1|0;d=B(d,10);if(!((q>>>0)%(d>>>0)|0)){continue}break}g=i^-1}d=B(k-p>>2,9);if((f&-33)==70){u=0;d=(d+g|0)-9|0;d=(d|0)>0?d:0;l=(d|0)>(l|0)?l:d;break k}u=0;d=((d+h|0)+g|0)-9|0;d=(d|0)>0?d:0;l=(d|0)>(l|0)?l:d}q=(l|u)!=0;A=a;d=c;s=f&-33;if((s|0)==70){f=(h|0)>0?h:0}else{g=h>>31;g=dr(g+h^g,0,x);if((x-g|0)<=1){while(1){g=g-1|0;t[g|0]=48;if((x-g|0)<2){continue}break}}F=g-2|0;t[F|0]=f;t[g-1|0]=(h|0)<0?45:43;f=x-F|0}i=(f+(q+(l+z|0)|0)|0)+1|0;zi(A,32,d,i,e);yh(a,E,z);zi(a,48,c,i,e^65536);m:{n:{o:{if((s|0)==70){f=n+16|0;d=f|8;f=f|9;m=m>>>0>p>>>0?p:m;h=m;while(1){g=dr(v[h>>2],0,f);p:{if((h|0)!=(m|0)){if(n+16>>>0>=g>>>0){break p}while(1){g=g-1|0;t[g|0]=48;if(n+16>>>0>>0){continue}break}break p}if((f|0)!=(g|0)){break p}t[n+24|0]=48;g=d}yh(a,g,f-g|0);h=h+4|0;if(p>>>0>=h>>>0){continue}break}g=0;if(!q){break n}yh(a,335712,1);if((l|0)<1|h>>>0>=k>>>0){break o}while(1){g=dr(v[h>>2],0,f);if(g>>>0>n+16>>>0){while(1){g=g-1|0;t[g|0]=48;if(n+16>>>0>>0){continue}break}}yh(a,g,(l|0)<9?l:9);g=l-9|0;h=h+4|0;if(k>>>0<=h>>>0){break n}d=(l|0)>9;l=g;if(d){continue}break}break n}q:{if((l|0)<0){break q}p=m>>>0>>0?k:m+4|0;d=n+16|0;f=d|9;d=d|8;h=m;while(1){g=dr(v[h>>2],0,f);if((f|0)==(g|0)){t[n+24|0]=48;g=d}r:{if((h|0)!=(m|0)){if(n+16>>>0>=g>>>0){break r}while(1){g=g-1|0;t[g|0]=48;if(n+16>>>0>>0){continue}break}break r}yh(a,g,1);g=g+1|0;if(u?0:(l|0)<=0){break r}yh(a,335712,1)}k=g;g=f-g|0;yh(a,k,(g|0)<(l|0)?g:l);l=l-g|0;h=h+4|0;if(p>>>0<=h>>>0){break q}if((l|0)>-1){continue}break}}zi(a,48,l+18|0,18,0);yh(a,F,x-F|0);break m}g=l}zi(a,48,g+9|0,9,0)}break b}k=(f<<26>>31&9)+E|0;s:{if(d>>>0>11){break s}g=12-d|0;if(!g){break s}y=8;while(1){y=y*16;g=g-1|0;if(g){continue}break}if(w[k|0]==45){b=-(y+(-b-y));break s}b=b+y-y}h=v[n+44>>2];g=h>>31;g=dr(g^g+h,0,x);if((x|0)==(g|0)){t[n+15|0]=48;g=n+15|0}m=z|2;l=f&32;h=v[n+44>>2];p=g-2|0;t[p|0]=f+15;t[g-1|0]=(h|0)<0?45:43;i=e&8;h=n+16|0;while(1){f=h;s=h;h=l;if(D(b)<2147483648){g=~~b}else{g=-2147483648}t[s|0]=h|w[g+1010112|0];b=(b-+(g|0))*16;h=f+1|0;if(!(!(i?1:(d|0)>0|b!=0)|(h-(n+16|0)|0)!=1)){t[f+1|0]=46;h=f+2|0}if(b!=0){continue}break}g=a;f=c;if(!d|((h-n|0)-18|0)>=(d|0)){l=(x-(p+(n+16|0)|0)|0)+h|0}else{l=((d+x|0)-p|0)+2|0}d=l;i=d+m|0;zi(g,32,f,i,e);yh(a,k,m);zi(a,48,c,i,e^65536);g=n+16|0;f=h-g|0;yh(a,g,f);d=x-p|0;zi(a,48,l-(d+f|0)|0,0,0);yh(a,p,d)}zi(a,32,c,i,e^8192);Qb=n+560|0;return((c|0)>(i|0)?c:i)|0}function qna(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,p=0;f=Qb+-64|0;Qb=f;a:{b:{c:{d:{e:{f:{if(!w[b+144|0]){a=vc(f+40|0,231625,242011,164,226800,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break f}b=P()|0;O()|0;qc(a);T(b|0);L()}k=b+48|0;d=v[b+48>>2];if(d){v[d+4>>2]=v[d+4>>2]+1;v[a>>2]=v[k>>2];break b}l=b+72|0;h=dk(l);g:{h:{d=v[v[c+12>>2]+((h>>>0)%y[c+8>>2]<<2)>>2];i:{if(d){while(1){if((h|0)==v[d+12>>2]){if(Sk(d+16|0,l)){break i}}d=v[d+8>>2];if(d){continue}break}}o=Jt(c,l),p=0,v[o+52>>2]=p;d=f+32|0;Pl(d,v[b+108>>2]);v[f+24>>2]=0;v[f+28>>2]=v[282402];v[299999]=0;V(4503,f+16|0,d|0);d=v[299999];v[299999]=0;j:{k:{l:{m:{n:{o:{p:{q:{if((d|0)!=1){v[299999]=0;m=v[f+16>>2];d=Z(4504,m|0,f+24|0,0,0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break q}if(d){break n}v[299999]=0;d=aa(4369,f+40|0,v[282394],242011,1541,344878,0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break p}v[299999]=0;R(4370,d|0);h=v[299999];v[299999]=0;if((h|0)!=1){break f}e=W(989228)|0;i=O()|0;qc(d);break o}e=P()|0;O()|0;break c}e=P()|0;O()|0;break d}e=W(989228)|0;i=O()|0}if((ja(989228)|0)!=(i|0)){break d}d=ea(e|0)|0;h=v[v[b>>2]+64>>2];v[299999]=0;U(h|0,b|0,d|0,1);d=v[299999];v[299999]=0;if((d|0)==1){break m}v[299999]=0;ba(4230);d=v[299999];v[299999]=0;if((d|0)!=1){break n}e=P()|0;O()|0;break d}h=0;i=0;g=v[b+132>>2]>1?v[b+140>>2]:-1;e=g;r:{s:{while(1){d=h;if(!e){d=g;break l}v[299999]=0;h=Z(4504,m|0,f+24|0,0,0)|0;j=v[299999];v[299999]=0;t:{if((j|0)==1){h=d;break t}if(!h){break l}v[299999]=0;j=Nc(f+24|0,311734,-1);n=v[299999];v[299999]=0;h=d+1|0;if((n|0)==1){break t}if(!j){v[299999]=0;g=S(1,128)|0;e=v[299999];v[299999]=0;u:{v:{w:{x:{y:{if((e|0)==1){break y}v[299999]=0;e=Q(4706,g|0,l|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break s}v[299999]=0;v[f+40>>2]=0;Q(4336,f+40|0,e|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break y}v[299999]=0;g=v[f+40>>2];v[f>>2]=0;Q(4336,f|0,m|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break w}v[299999]=0;V(4847,g|0,v[f>>2]);g=v[299999];v[299999]=0;if((g|0)==1){break v}g=v[f>>2];v[f>>2]=0;z:{if(!g){break z}v[299999]=0;e=v[g+4>>2]-1|0;v[g+4>>2]=e;i=v[299999];v[299999]=0;if((i|0)==1){break a}if(e){break z}v[299999]=0;R(4338,g|0);g=v[299999];v[299999]=0;if((g|0)==1){break a}}v[299999]=0;Q(4344,k|0,f+40|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break x}h=v[f+40>>2];v[f+40>>2]=0;if(!h){break l}v[299999]=0;g=v[h+4>>2]-1|0;v[h+4>>2]=g;e=v[299999];v[299999]=0;if((e|0)!=1){if(g){break l}v[299999]=0;R(4338,h|0);h=v[299999];v[299999]=0;if((h|0)!=1){break l}}break a}e=W(989228)|0;i=O()|0;break r}e=W(989228)|0;i=O()|0;break u}e=W(989228)|0;i=O()|0;break u}e=W(989228)|0;i=O()|0;ec(f)}ec(f+40|0);break r}v[299999]=0;j=Nc(f+24|0,320500,-1);n=v[299999];v[299999]=0;if((n|0)==1){break t}i=j?i:1;if(!(w[v[b+108>>2]+8|0]|(i|d>>>0<2))){v[a>>2]=0;v[299999]=0;Q(4336,a|0,0)|0;g=v[299999];v[299999]=0;e=1;if((g|0)!=1){break j}e=W(989228)|0;i=O()|0;break r}e=e-1|0;v[299999]=0;R(4781,m|0);j=v[299999];v[299999]=0;if((j|0)!=1){continue}}break}e=W(989228)|0;i=O()|0;break r}e=W(989228)|0;i=O()|0;dc(g)}if((ja(989228)|0)!=(i|0)){break d}g=ea(e|0)|0;v[299999]=0;e=Nl(g,v[282394]);i=v[299999];v[299999]=0;if((i|0)==1){break m}A:{if(!e){e=v[b+132>>2];if(v[b+140>>2]<=-1){v[b+140>>2]=(e|0)>2?h:d}d=v[v[b>>2]+64>>2];v[299999]=0;U(d|0,b|0,g|0,(e|0)<2|0);d=v[299999];v[299999]=0;if((d|0)!=1){break A}break m}d=v[v[b>>2]+64>>2];v[299999]=0;U(d|0,b|0,g|0,1);d=v[299999];v[299999]=0;if((d|0)==1){break m}}v[299999]=0;ba(4230);d=v[299999];v[299999]=0;if((d|0)!=1){break k}e=P()|0;O()|0;break d}e=P()|0;O()|0;v[299999]=0;ba(4230);a=v[299999];v[299999]=0;if((a|0)!=1){break d}break a}if(v[b+48>>2]|v[b+140>>2]>-1){break k}v[b+140>>2]=d}d=v[b+108>>2];v[299999]=0;V(4494,d|0,1);d=v[299999];v[299999]=0;B:{C:{if((d|0)==1){break C}d=v[k>>2];if(!d){break B}v[299999]=0;v[d+4>>2]=v[d+4>>2]+1;b=v[299999];v[299999]=0;e=1;if((b|0)==1){break C}v[a>>2]=v[k>>2];break j}e=P()|0;O()|0;break d}if(!w[b+144|0]){v[299999]=0;a=aa(4369,f+40|0,231625,242011,164,226800,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break e}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break f}e=P()|0;O()|0;qc(a);break d}v[299999]=0;d=v[b+148>>2];h=v[299999];v[299999]=0;if((h|0)==1){break e}if(!(d&64)){v[299999]=0;R(4763,b|0);d=v[299999];v[299999]=0;if((d|0)==1){break e}}v[299999]=0;h=Q(4387,f|0,b+112|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break e}d=v[f+8>>2];D:{if(d){while(1){g=v[d+8>>2];v[299999]=0;U(4858,a|0,g|0,c|0);g=v[299999];v[299999]=0;E:{if((g|0)!=1){if(!v[a>>2]){break E}e=1;break D}break h}v[a>>2]=0;d=v[d>>2];if(d){continue}break}}b=v[b+108>>2];e=0;v[299999]=0;V(4494,b|0,1);b=v[299999];v[299999]=0;if((b|0)==1){break h}}Ic(h)}b=v[f+16>>2];v[f+16>>2]=0;F:{if(!b){break F}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break F}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}ec(f+24|0);b=v[f+32>>2];v[f+32>>2]=0;G:{if(!b){break G}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break g}if(c){break G}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break g}}if(e){break b}}v[a>>2]=0;Wc(a,0);break b}e=P()|0;O()|0;Ic(h);break d}W(0)|0;O()|0;lc()}L()}e=P()|0;O()|0}ec(f+16|0)}ec(f+24|0);ec(f+32|0);T(e|0);L()}Qb=f- -64|0;return}W(0)|0;O()|0;lc();L()}function as(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;j=Qb-48|0;Qb=j;a:{if(!a){break a}b:{c:{d:{e:{f:{g:{h:{i:{j:{f=w[a|0];if(!f){break j}g=Ub[v[259704]](44)|0;if(!g){v[j+32>>2]=352260;oc(0,0,0,0,0,30,2,3,352260,0,0,0,350051,j+32|0);break a}v[g>>2]=0;v[g+4>>2]=0;v[g+40>>2]=0;v[g+32>>2]=0;v[g+36>>2]=0;v[g+24>>2]=0;v[g+28>>2]=0;v[g+16>>2]=0;v[g+20>>2]=0;v[g+8>>2]=0;v[g+12>>2]=0;if(bs(g,a)){break e}if(!v[g>>2]){break j}e=a;while(1){b=e;e=b+1|0;if(w[b|0]){continue}break}b=b-a|0;if((b|0)<0){e=0;break h}e=0;c=Ub[v[259707]](b+1|0)|0;if(c){break i}c=0;oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break h}k:{if(b){e=Ub[v[259704]](44)|0;if(!e){v[j>>2]=352260;oc(0,0,0,0,0,30,2,3,352260,0,0,0,350051,j);e=0;break h}v[e>>2]=0;v[e+4>>2]=0;v[e+40>>2]=0;v[e+32>>2]=0;v[e+36>>2]=0;v[e+24>>2]=0;v[e+28>>2]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;if(!bs(e,b)){break k}}if(!f){break d}c=no(g);break h}if(!f){a=v[e+32>>2];if(a){Ub[v[259708]](a);v[e+32>>2]=0}c=no(e);break c}d=Ub[v[259704]](44)|0;if(!d){v[j+16>>2]=352260;oc(0,0,0,0,0,30,2,3,352260,0,0,0,350051,j+16|0);break h}v[d>>2]=0;v[d+4>>2]=0;v[d+40>>2]=0;v[d+32>>2]=0;v[d+36>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;l:{if(!v[g>>2]){if(v[g+12>>2]|(v[g+24>>2]|v[g+8>>2])){break l}a=v[e>>2];if(a){k=d,l=Ub[v[259710]](a)|0,v[k>>2]=l}a=v[e+8>>2];m:{if(a){k=d,l=Ub[v[259710]](a)|0,v[k+8>>2]=l;break m}a=v[e+12>>2];if(!a){break m}k=d,l=Ub[v[259710]](a)|0,v[k+12>>2]=l;a=v[e+16>>2];if(a){k=d,l=Ub[v[259710]](a)|0,v[k+16>>2]=l}v[d+20>>2]=v[e+20>>2]}a=v[e+24>>2];if(a){k=d,l=Ub[v[259710]](a)|0,v[k+24>>2]=l}c=40;a=v[g+40>>2];n:{o:{if(a){break o}a=v[g+28>>2];if(a){c=28;break o}a=v[e+40>>2];if(a){break o}c=28;a=v[e+28>>2];if(!a){break n}}k=d+c|0,l=Ub[v[259710]](a)|0,v[k>>2]=l}a=v[g+32>>2];if(!a){break f}k=d,l=Ub[v[259710]](a)|0,v[k+32>>2]=l;c=no(d);break e}c=no(g);break e}a=v[e>>2];if(a){k=d,l=Ub[v[259710]](a)|0,v[k>>2]=l}a=40;c=v[g+40>>2];p:{if(!c){a=28;c=v[g+28>>2];if(!c){break p}}k=a+d|0,l=Ub[v[259710]](c)|0,v[k>>2]=l}a=v[g+32>>2];if(a){k=d,l=Ub[v[259710]](a)|0,v[k+32>>2]=l}a=v[g+8>>2];if(!a){a=v[g+12>>2];if(a){k=d,l=Ub[v[259710]](a)|0,v[k+12>>2]=l;a=v[g+16>>2];if(a){k=d,l=Ub[v[259710]](a)|0,v[k+16>>2]=l}v[d+20>>2]=v[g+20>>2];break g}a=v[e+8>>2];q:{if(a){k=d,l=Ub[v[259710]](a)|0,v[k+8>>2]=l;break q}a=v[e+12>>2];if(!a){break q}k=d,l=Ub[v[259710]](a)|0,v[k+12>>2]=l;a=v[e+16>>2];if(a){k=d,l=Ub[v[259710]](a)|0,v[k+16>>2]=l}v[d+20>>2]=v[e+20>>2]}a=v[g+24>>2];if(a){if(w[a|0]==47){k=d,l=Ub[v[259710]](a)|0,v[k+24>>2]=l;c=no(d);break e}c=Bc(a)+2|0}else{c=2}a=v[e+24>>2];if(a){c=Bc(a)+c|0}a=0;b=Ub[v[259707]](c)|0;v[d+24>>2]=b;if(!b){a=Qb-16|0;Qb=a;v[a>>2]=352232;oc(0,0,0,0,0,30,2,3,352232,0,0,0,350051,a);Qb=a+16|0;c=0;break e}t[b|0]=0;b=v[e+24>>2];r:{if(!b|!w[b|0]){break r}f=0;while(1){c=f;while(1){f=w[b+c|0];if(!f){break r}if((f|0)!=47){c=c+1|0;continue}break}f=c+1|0;if((a|0)<=(c|0)){t[v[d+24>>2]+a|0]=w[a+b|0];s:{if((a|0)==(c|0)){break s}i=(a^-1)+c|0;b=c-a&3;if(b){while(1){a=a+1|0;t[a+v[d+24>>2]|0]=w[v[e+24>>2]+a|0];b=b-1|0;if(b){continue}break}}if(i>>>0<3){break s}while(1){b=a+1|0;t[b+v[d+24>>2]|0]=w[b+v[e+24>>2]|0];b=a+2|0;t[b+v[d+24>>2]|0]=w[b+v[e+24>>2]|0];b=a+3|0;t[b+v[d+24>>2]|0]=w[b+v[e+24>>2]|0];a=a+4|0;t[a+v[d+24>>2]|0]=w[v[e+24>>2]+a|0];if((a|0)!=(c|0)){continue}break}}b=v[e+24>>2];a=f}if(w[b+f|0]){continue}break}}t[v[d+24>>2]+a|0]=0;b=v[g+24>>2];t:{if(!b){break t}c=w[b|0];if(!c){break t}u:{if(a){break u}if(!v[e+12>>2]){a=0;break u}t[v[d+24>>2]]=47;a=1;c=w[v[g+24>>2]];if(!c){break t}}b=0;while(1){t[v[d+24>>2]+a|0]=c;a=a+1|0;b=b+1|0;c=w[b+v[g+24>>2]|0];if(c){continue}break}}t[v[d+24>>2]+a|0]=0;c=v[d+24>>2];if(c){f=c;v:{while(1){b=w[f|0];if((b|0)!=47){w:{if(!b){break v}i=f;x:while(1){y:{a=b&255;if((a|0)!=46){if(!a){break w}break y}a=w[f+1|0];if((a|0)!=47){if(a){break y}break w}a=f+2|0;while(1){b=w[a|0];f=a;a=a+1|0;if((b|0)==47){continue}break}continue}while(1){a=b&255;if(!a){break w}if((a|0)==47){a=f;while(1){b=w[a+1|0];f=a+1|0;a=f;if((b|0)==47){continue}break}t[i|0]=47;i=i+1|0;b=w[f|0];continue x}else{t[i|0]=b;i=i+1|0;b=w[f+1|0];f=f+1|0;continue}}}}}else{f=f+1|0;continue}break}t[i|0]=0;a=c;while(1){b=w[a|0];if((b|0)==47){a=a+1|0;continue}break}if(!b){break v}z:while(1){f=a;while(1){a=0;A:{B:{while(1){b=a+f|0;h=w[b|0];if(!h){break B}if((h|0)!=47){a=a+1|0;continue}break}h=a+1|0;a=h+f|0;if(!(w[f|0]!=46|w[f+1|0]!=46)&(h|0)==3|(w[a|0]!=46|w[b+2|0]!=46)){continue z}h=w[b+3|0];if((h|0)==47){break A}if(h){continue z}t[f|0]=0}t[i|0]=0;if(w[c|0]!=47){break v}b=c;C:{while(1){a=b;if(w[a+1|0]!=46|w[a+2|0]!=46){break C}b=a+3|0;f=w[a+3|0];if((f|0)==47){continue}break}if(f){break C}a=b}if((a|0)==(c|0)){break v}b=w[a|0];if(b){while(1){t[c|0]=b;c=c+1|0;b=w[a+1|0];a=a+1|0;if(b){continue}break}}t[c|0]=0;break v}a=b+4|0;b=f;while(1){h=w[a|0];t[b|0]=h;b=b+1|0;a=a+1|0;if(h){continue}break}b=f;while(1){if(b>>>0>c>>>0){b=b-1|0;if(w[b|0]==47){continue}}break}if((b|0)==(c|0)){continue}break}while(1){if(b>>>0<=c>>>0){a=b;continue z}a=b;b=a-1|0;if(w[b|0]!=47){continue}break}continue}}}break f}k=d,l=Ub[v[259710]](a)|0,v[k+8>>2]=l;break g}k=gc(c,a,b)+b|0,l=0,t[k|0]=l}d=0;if(!g){break d}break e}a=v[g+24>>2];if(!a){break f}k=d,l=Ub[v[259710]](a)|0,v[k+24>>2]=l;c=no(d);break e}c=no(d)}pj(g)}if(!e){break b}}pj(e)}if(!d){break a}pj(d)}Qb=j+48|0;return c}function nx(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=1;a:{c=x[a+32>>1];b:{if(c>>>0>6){break b}c:{d:{d=1<>1];d=1<>2];c=e;g=v[a+40>>2];b=g;h=v[a+44>>2];f=h;while(1){if((d|0)<1){break d}if(!(x[c>>1]>255|x[b>>1]>255)){d=d-1|0;c=c+2|0;b=b+2|0;j=x[f>>1];f=f+2|0;if(j>>>0<256){continue}}break}b=-1<>31;if(f+b&1){d=c<<1;i=d+e|0;u[i>>1]=w[i+1|0];i=d+g|0;u[i>>1]=w[i+1|0];d=d+h|0;u[d>>1]=w[d+1|0];d=-2-b|0}if((c|0)==(f|0)){break c}while(1){c=d<<1;b=c+e|0;u[b>>1]=w[b+1|0];b=c+g|0;u[b>>1]=w[b+1|0];b=c+h|0;u[b>>1]=w[b+1|0];c=c-2|0;b=c+e|0;u[b>>1]=w[b+1|0];b=c+g|0;u[b>>1]=w[b+1|0];c=c+h|0;u[c>>1]=w[c+1|0];c=(d|0)>1;d=d-2|0;if(c){continue}break}break c}if(x[a+24>>1]==8){break b}}c=x[a+24>>1];b=(c|0)==16?255:-1<>2]=c;if(!c){a=v[a>>2];zc(v[a+628>>2],v[a>>2],47924,0);return 0}f:{if(x[a+32>>1]){if((b|0)<0){break f}t[c|0]=0;if(!b){break f}c=1;if((b|0)!=1){e=b&-2;c=0;while(1){d=c|1;t[d+v[a+56>>2]|0]=(B(d,255)|0)/(b|0);d=c;c=c+2|0;t[c+v[a+56>>2]|0]=(B(c,255)|0)/(b|0);e=e-2|0;if(e){continue}break}c=d+3|0}if(!(b&1)){break f}t[v[a+56>>2]+c|0]=(B(c,255)|0)/(b|0);break f}if((b|0)<0){break f}t[c|0]=255;if(!b){break f}c=1;if((b|0)!=1){e=b&-2;c=0;while(1){d=c|1;t[d+v[a+56>>2]|0]=(B(b-d|0,255)|0)/(b|0);d=c;c=c+2|0;t[c+v[a+56>>2]|0]=(B(b-c|0,255)|0)/(b|0);e=e-2|0;if(e){continue}break}c=d+3|0}if(!(b&1)){break f}t[v[a+56>>2]+c|0]=(B(b-c|0,255)|0)/(b|0)}b=1;g=x[a+24>>1];if(g>>>0>16|x[a+32>>1]>1){break b}e=v[a+56>>2];b=jc(g>>>0>8?2048:(8/((g&255)>>>0)<<10)+1024|0);v[a+60>>2]=b;if(!b){break a}d=b+1024|0;c=0;g:{h:{switch(g-1|0){case 0:while(1){v[(c<<2)+b>>2]=d;b=w[e+(c>>>7|0)|0];v[d>>2]=(B(b,65792)|b)-16777216;b=w[e+(c>>>6&1)|0];v[d+4>>2]=(B(b,65792)|b)-16777216;b=w[e+(c>>>5&1)|0];v[d+8>>2]=(B(b,65792)|b)-16777216;b=w[e+(c>>>4&1)|0];v[d+12>>2]=(B(b,65792)|b)-16777216;b=w[e+(c>>>3&1)|0];v[d+16>>2]=(B(b,65792)|b)-16777216;b=w[e+(c>>>2&1)|0];v[d+20>>2]=(B(b,65792)|b)-16777216;b=w[e+(c>>>1&1)|0];v[d+24>>2]=(B(b,65792)|b)-16777216;b=w[e+(c&1)|0];v[d+28>>2]=(B(b,65792)|b)-16777216;c=c+1|0;if((c|0)==256){break g}d=d+32|0;b=v[a+60>>2];continue};case 1:while(1){v[(c<<2)+b>>2]=d;b=w[e+(c>>>6|0)|0];v[d>>2]=(B(b,65792)|b)-16777216;b=w[e+(c>>>4&3)|0];v[d+4>>2]=(B(b,65792)|b)-16777216;b=w[e+(c>>>2&3)|0];v[d+8>>2]=(B(b,65792)|b)-16777216;b=w[e+(c&3)|0];v[d+12>>2]=(B(b,65792)|b)-16777216;c=c+1|0;if((c|0)==256){break g}d=d+16|0;b=v[a+60>>2];continue};case 3:while(1){v[(c<<2)+b>>2]=d;b=w[e+(c>>>4|0)|0];v[d>>2]=(B(b,65792)|b)-16777216;b=w[e+(c&15)|0];v[d+4>>2]=(B(b,65792)|b)-16777216;c=c+1|0;if((c|0)==256){break g}d=d+8|0;b=v[a+60>>2];continue};case 7:case 15:v[b>>2]=d;c=w[e|0];v[b+1024>>2]=(B(c,65792)|c)-16777216;c=1;while(1){v[v[a+60>>2]+(c<<2)>>2]=d+4;b=w[c+e|0];v[d+4>>2]=(B(b,65792)|b)-16777216;g=c+1|0;if((g|0)==256){break g}b=d+8|0;v[v[a+60>>2]+(g<<2)>>2]=b;f=d;d=w[e+g|0];v[f+8>>2]=(B(d,65792)|d)-16777216;c=c+2|0;d=b;continue};default:break h}}v[b>>2]=d;e=1;while(1){c=e<<2;v[c+v[a+60>>2]>>2]=d;v[(c+v[a+60>>2]|0)+4>>2]=d;v[(c+v[a+60>>2]|0)+8>>2]=d;v[(c+v[a+60>>2]|0)+12>>2]=d;v[(c+v[a+60>>2]|0)+16>>2]=d;e=e+5|0;if((e|0)!=256){continue}break}}dc(v[a+56>>2]);v[a+56>>2]=0;return 1}c=v[a>>2];Ld(v[c+628>>2],v[c>>2],47359,0)}b=1;f=x[a+24>>1];if(f>>>0>8){break b}e=v[a+44>>2];g=v[a+40>>2];h=v[a+36>>2];b=jc((8/((f&255)>>>0)<<10)+1024|0);v[a+64>>2]=b;if(b){d=b+1024|0;c=0;i:{switch(f-1|0){case 0:while(1){v[(c<<2)+b>>2]=d;b=c>>>6&67108862;v[d>>2]=x[b+e>>1]<<16|(w[b+h|0]|x[b+g>>1]<<8)&65535|-16777216;b=c>>>5&2;v[d+4>>2]=x[b+e>>1]<<16|(w[b+h|0]|x[b+g>>1]<<8)&65535|-16777216;b=c>>>4&2;v[d+8>>2]=x[b+e>>1]<<16|(w[b+h|0]|x[b+g>>1]<<8)&65535|-16777216;b=c>>>3&2;v[d+12>>2]=x[b+e>>1]<<16|(w[b+h|0]|x[b+g>>1]<<8)&65535|-16777216;b=c>>>2&2;v[d+16>>2]=x[b+e>>1]<<16|(w[b+h|0]|x[b+g>>1]<<8)&65535|-16777216;b=1;f=c>>>1&2;v[d+20>>2]=x[f+e>>1]<<16|(w[f+h|0]|x[f+g>>1]<<8)&65535|-16777216;f=c&2;v[d+24>>2]=x[f+e>>1]<<16|(w[f+h|0]|x[f+g>>1]<<8)&65535|-16777216;f=c<<1&2;v[d+28>>2]=x[f+e>>1]<<16|(w[f+h|0]|x[f+g>>1]<<8)&65535|-16777216;c=c+1|0;if((c|0)==256){break b}d=d+32|0;b=v[a+64>>2];continue};case 1:while(1){v[(c<<2)+b>>2]=d;b=c>>>5&134217726;v[d>>2]=x[b+e>>1]<<16|(w[b+h|0]|x[b+g>>1]<<8)&65535|-16777216;b=c>>>3&6;v[d+4>>2]=x[b+e>>1]<<16|(w[b+h|0]|x[b+g>>1]<<8)&65535|-16777216;b=1;f=c>>>1&6;v[d+8>>2]=x[f+e>>1]<<16|(w[f+h|0]|x[f+g>>1]<<8)&65535|-16777216;f=c<<1&6;v[d+12>>2]=x[f+e>>1]<<16|(w[f+h|0]|x[f+g>>1]<<8)&65535|-16777216;c=c+1|0;if((c|0)==256){break b}d=d+16|0;b=v[a+64>>2];continue};case 3:while(1){v[(c<<2)+b>>2]=d;b=c>>>3&536870910;v[d>>2]=x[b+e>>1]<<16|(w[b+h|0]|x[b+g>>1]<<8)&65535|-16777216;b=1;f=c<<1&30;v[d+4>>2]=x[f+e>>1]<<16|(w[f+h|0]|x[f+g>>1]<<8)&65535|-16777216;c=c+1|0;if((c|0)==256){break b}d=d+8|0;b=v[a+64>>2];continue};case 7:while(1){v[(c<<2)+b>>2]=d;b=1;f=c<<1;v[d>>2]=x[f+e>>1]<<16|(w[f+h|0]|x[f+g>>1]<<8)&65535|-16777216;c=c+1|0;if((c|0)==256){break b}d=d+4|0;b=v[a+64>>2];continue};default:break i}}v[b>>2]=d;b=1;e=1;while(1){c=e<<2;v[c+v[a+64>>2]>>2]=d;v[(c+v[a+64>>2]|0)+4>>2]=d;v[(c+v[a+64>>2]|0)+8>>2]=d;v[(c+v[a+64>>2]|0)+12>>2]=d;v[(c+v[a+64>>2]|0)+16>>2]=d;e=e+5|0;if((e|0)!=256){continue}break}break b}b=0;a=v[a>>2];zc(v[a+628>>2],v[a>>2],48990,0)}return b}a=v[a>>2];zc(v[a+628>>2],v[a>>2],48490,0);return 0}function moa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=Qb-96|0;Qb=d;a:{b:{c:{d:{e:{if(!w[b+89|0]){a=vc(d+56|0,231584,241010,286,226767,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break e}b=P()|0;O()|0;qc(a);T(b|0);L()}f=Tk(a);v[299999]=0;a=b+92|0;e=v[a>>2];g=v[299999];v[299999]=0;if((g|0)==1){break c}if(!(e&1)){break d}f:{g:{h:{switch(v[b+56>>2]-1|0){case 4:if((c|0)<=0){v[299999]=0;Q(4478,f|0,b+8|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break c}break d}v[299999]=0;b=aa(4369,d+56|0,253492,241010,720,225703,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break g}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break e}a=P()|0;O()|0;qc(b);break b;case 1:if((c|0)<=-1){v[299999]=0;Q(4478,f|0,b+8|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break d}break c}v[299999]=0;a=v[a>>2];e=v[299999];v[299999]=0;if((e|0)==1){break c}if(!(a&4)){break d}a=v[b+112>>2];v[299999]=0;U(4729,d+56|0,a|0,c|0);a=v[299999];v[299999]=0;i:{if((a|0)!=1){v[299999]=0;Q(4478,f|0,d+56|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break i}v[d+80>>2]=981312;v[d+56>>2]=981280;a=v[d+84>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Ub[v[v[a>>2]+4>>2]](a)}v[d+84>>2]=0}v[d+72>>2]=981312;a=v[d+76>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Ub[v[v[a>>2]+4>>2]](a)}v[d+76>>2]=0}ec(d- -64|0);break d}a=P()|0;O()|0;break b}a=P()|0;O()|0;$c(d+56|0);break b;case 0:j:{e=(c|0)>0;if(e){break j}v[299999]=0;g=v[a>>2];h=v[299999];v[299999]=0;if((h|0)==1){break c}if(!(g&2)){break j}v[299999]=0;b=Y(4612,d+56|0,b+116|0,b+8|0)|0;a=v[299999];v[299999]=0;k:{if((a|0)!=1){v[299999]=0;Q(4478,f|0,b|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break k}$c(b);break d}a=P()|0;O()|0;break b}a=P()|0;O()|0;$c(b);break b}v[299999]=0;a=v[a>>2];g=v[299999];v[299999]=0;if((g|0)==1){break c}if(!(a&4)){break d}a=v[b+112>>2];v[299999]=0;U(4729,d+56|0,a|0,(e?c:0)|0);a=v[299999];v[299999]=0;l:{if((a|0)!=1){v[299999]=0;Q(4478,f|0,d+56|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break l}v[d+80>>2]=981312;v[d+56>>2]=981280;a=v[d+84>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Ub[v[v[a>>2]+4>>2]](a)}v[d+84>>2]=0}v[d+72>>2]=981312;a=v[d+76>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Ub[v[v[a>>2]+4>>2]](a)}v[d+76>>2]=0}ec(d- -64|0);break d}a=P()|0;O()|0;break b}a=P()|0;O()|0;$c(d+56|0);break b;case 2:v[299999]=0;a=v[a>>2];e=v[299999];v[299999]=0;if((e|0)==1){break c}if(!(a&2)){break d}a=v[b+48>>2];v[299999]=0;U(4730,d+8|0,a|0,((c|0)>0?c:0)|0);a=v[299999];v[299999]=0;m:{n:{o:{if((a|0)!=1){a=v[d+8>>2];if(a){break n}v[299999]=0;b=aa(4369,d+56|0,253492,241010,749,225703,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break o}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break e}a=P()|0;O()|0;qc(b);break m}a=P()|0;O()|0;break b}a=P()|0;O()|0;break m}v[299999]=0;b=Y(4612,d+56|0,a+36|0,b+8|0)|0;a=v[299999];v[299999]=0;p:{if((a|0)!=1){v[299999]=0;Q(4478,f|0,b|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break p}v[b+24>>2]=981312;v[b>>2]=981280;a=v[b+28>>2];if(a){c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(!c){Ub[v[v[a>>2]+4>>2]](a)}v[b+28>>2]=0}v[b+16>>2]=981312;a=v[b+20>>2];if(a){c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(!c){Ub[v[v[a>>2]+4>>2]](a)}v[b+20>>2]=0}ec(b+8|0);a=v[d+8>>2];v[d+8>>2]=0;if(!a){break d}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break d}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break d}}break a}a=P()|0;O()|0;break m}a=P()|0;O()|0;$c(b)}ec(d+8|0);break b;case 3:v[299999]=0;a=v[a>>2];e=v[299999];v[299999]=0;if((e|0)==1){break c}if(!(a&2)){break d}a=v[b+48>>2];v[299999]=0;U(4730,d+48|0,a|0,((c|0)>0?c:0)|0);a=v[299999];v[299999]=0;q:{r:{s:{if((a|0)!=1){a=v[d+48>>2];if(a){break r}v[299999]=0;b=aa(4369,d+56|0,253492,241010,761,225703,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break s}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break e}a=P()|0;O()|0;qc(b);break q}a=P()|0;O()|0;break b}a=P()|0;O()|0;break q}v[299999]=0;V(4708,d+8|0,b+8|0);b=v[299999];v[299999]=0;t:{u:{v:{if((b|0)!=1){v[299999]=0;b=Y(4612,d+56|0,a+36|0,d+8|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break v}v[299999]=0;Q(4478,f|0,b|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break u}v[b+24>>2]=981312;v[b>>2]=981280;a=v[b+28>>2];if(a){c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(!c){Ub[v[v[a>>2]+4>>2]](a)}v[b+28>>2]=0}v[b+16>>2]=981312;a=v[b+20>>2];if(a){c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(!c){Ub[v[v[a>>2]+4>>2]](a)}v[b+20>>2]=0}ec(b+8|0);v[d+32>>2]=981312;v[d+8>>2]=981280;a=v[d+36>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Ub[v[v[a>>2]+4>>2]](a)}v[d+36>>2]=0}v[d+24>>2]=981312;a=v[d+28>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Ub[v[v[a>>2]+4>>2]](a)}v[d+28>>2]=0}ec(d+16|0);a=v[d+48>>2];v[d+48>>2]=0;if(!a){break d}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break d}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break d}}break a}a=P()|0;O()|0;break q}a=P()|0;O()|0;break t}a=P()|0;O()|0;$c(b)}$c(d+8|0)}ec(d+48|0);break b;default:break h}}v[299999]=0;b=aa(4369,d+56|0,278858,241010,767,225703,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break f}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break e}a=P()|0;O()|0;qc(b);break b}a=P()|0;O()|0;break b}a=P()|0;O()|0;break b}L()}Qb=d+96|0;return}a=P()|0;O()|0}$c(f);T(a|0);L()}W(0)|0;O()|0;lc();L()}function Su(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{if(!a|!b){break a}b:{c:{d:{i=v[a+12>>2];if(i){f=i;e:{while(1){g=v[f+16>>2];if(g){while(1){if(g+20>>>0<=b>>>0&y[g+4>>2]>=b>>>0){break e}g=v[g>>2];if(g){continue}break}}f=v[f+20>>2];if(f){continue}break}f=-1;b=Rd(i,b,-1);if(!b){break b}}i=0;f:{if(!c){break f}h=v[a+12>>2];f=h;while(1){if(!f){j=c;break f}g=v[f+16>>2];if(g){while(1){if(!(y[g+4>>2]>>0|g+20>>>0>c>>>0)){j=c;break f}g=v[g>>2];if(g){continue}break}}f=v[f+20>>2];if(f){continue}break}f=-1;j=Rd(h,c,-1);if(!j){break b}}g:{if(!d){break g}c=v[a+12>>2];f=c;while(1){if(!f){i=d;break g}g=v[f+16>>2];if(g){while(1){if(!(y[g+4>>2]>>0|g+20>>>0>d>>>0)){i=d;break g}g=v[g>>2];if(g){continue}break}}f=v[f+20>>2];if(f){continue}break}f=-1;i=Rd(c,d,-1);if(!i){break b}}if(!b){break d}d=i;c=j}f=w[b|0];g=B(f,30);if(f){h=b;while(1){g=((g<<5)+(g>>>3|0)|0)+(f<<24>>24)^g;f=w[h+1|0];h=h+1|0;if(f){continue}break}}i=d;j=c;break c}b=0;m=1;g=0}g=(g<<5)+(g>>>3|0)^g;h:{if(!j){break h}f=w[j|0];if(!f){break h}h=j;while(1){g=((f<<24>>24)+(g>>>3|0)|0)+(g<<5)^g;f=w[h+1|0];h=h+1|0;if(f){continue}break}}g=(g<<5)+(g>>>3|0)^g;i:{if(!i){break i}f=w[i|0];if(!f){break i}h=i;while(1){g=((f<<24>>24)+(g>>>3|0)|0)+(g<<5)^g;f=w[h+1|0];h=h+1|0;if(f){continue}break}}n=1;k=v[a>>2]+B((g>>>0)%y[a+4>>2]|0,24)|0;j:{if(!v[k+20>>2]){g=0;c=0;break j}f=v[k>>2];k:{l:{m:{n:{o:{if(v[a+12>>2]){c=0;if(f){break o}g=k;break n}c=0;if(f){break m}g=k;break l}g=k;while(1){d=g;g=f;if(!(v[d+4>>2]!=(b|0)|v[d+8>>2]!=(j|0)|v[d+12>>2]!=(i|0))){break a}c=c+1|0;f=v[g>>2];if(f){continue}break}}if(v[g+4>>2]!=(b|0)|v[g+8>>2]!=(j|0)|v[g+12>>2]!=(i|0)){break k}break a}g=k;while(1){d=g;g=f;p:{f=v[d+4>>2];if((f|0)!=(b|0)){h=b;if(!f|m){break p}while(1){l=w[f|0];if((l|0)!=w[h|0]){break p}h=h+1|0;f=f+1|0;if(l){continue}break}}f=v[d+8>>2];if((j|0)!=(f|0)){if(!f){break p}h=j;if(!h){break p}while(1){l=w[f|0];if((l|0)!=w[h|0]){break p}h=h+1|0;f=f+1|0;if(l){continue}break}}f=v[d+12>>2];if((i|0)==(f|0)){break a}if(!f){break p}h=i;if(!h){break p}while(1){d=w[f|0];if((d|0)!=w[h|0]){break p}h=h+1|0;f=f+1|0;if(d){continue}break}break a}c=c+1|0;f=v[g>>2];if(f){continue}break}}q:{f=v[g+4>>2];if((f|0)!=(b|0)){if(!f|m){break k}h=b;while(1){d=w[f|0];if((d|0)!=w[h|0]){break q}h=h+1|0;f=f+1|0;if(d){continue}break}}f=v[g+8>>2];if((j|0)!=(f|0)){if(!f|!j){break k}h=j;while(1){d=w[f|0];if((d|0)!=w[h|0]){break q}h=h+1|0;f=f+1|0;if(d){continue}break}}f=v[g+12>>2];if((i|0)==(f|0)){break a}if(!f|!i){break k}h=i;while(1){d=w[f|0];if((d|0)!=w[h|0]){break q}h=h+1|0;f=f+1|0;if(d){continue}break}break a}if(g){break k}g=0;break j}n=0;f=-1;k=Ub[v[259704]](24)|0;if(!k){break b}}r:{if(v[a+12>>2]){v[k+8>>2]=j;v[k+4>>2]=b;b=i;break r}d=0;f=0;s:{if(m){break s}f=b;while(1){h=f;f=f+1|0;if(w[h|0]){continue}break}f=0;l=h-b|0;if((l|0)<0){break s}h=Ub[v[259707]](l+1|0)|0;if(!h){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break s}f=gc(h,b,l);t[l+f|0]=0}v[k+4>>2]=f;t:{if(!j){break t}b=j;while(1){h=b;b=h+1|0;if(w[h|0]){continue}break}h=h-j|0;if((h|0)<0){break t}b=Ub[v[259707]](h+1|0)|0;if(!b){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break t}d=gc(b,j,h);t[h+d|0]=0}v[k+8>>2]=d;if(!i){b=0;break r}b=i;while(1){d=b;b=b+1|0;if(w[d|0]){continue}break}b=0;h=d-i|0;if((h|0)<0){break r}d=Ub[v[259707]](h+1|0)|0;if(!d){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break r}b=gc(d,i,h);t[h+b|0]=0}v[k+16>>2]=e;v[k+12>>2]=b;v[k+20>>2]=1;f=0;v[k>>2]=0;if(!n){v[g>>2]=k}v[a+8>>2]=v[a+8>>2]+1;if(c>>>0<9){break b}k=v[a+4>>2];if(k-1>>>0>2047){break b}j=v[a>>2];if(!j){break b}b=B(k,192);c=Ub[v[259704]](b)|0;v[a>>2]=c;if(!c){v[a>>2]=j;return 0}ic(c,0,b);v[a+4>>2]=k<<3;d=0;while(1){c=j+B(d,24)|0;if(v[c+20>>2]){b=v[c+8>>2];f=v[c+4>>2];u:{if(!f){g=0;break u}h=w[f|0];g=B(h,30);if(!h){break u}while(1){g=((g<<5)+(g>>>3|0)|0)+(h<<24>>24)^g;h=w[f+1|0];f=f+1|0;if(h){continue}break}}f=v[c+12>>2];g=(g<<5)+(g>>>3|0)^g;v:{if(!b){break v}h=w[b|0];if(!h){break v}while(1){g=((h<<24>>24)+(g>>>3|0)|0)+(g<<5)^g;h=w[b+1|0];b=b+1|0;if(h){continue}break}}g=(g<<5)+(g>>>3|0)^g;w:{if(!f){break w}b=w[f|0];if(!b){break w}while(1){g=((b<<24>>24)+(g>>>3|0)|0)+(g<<5)^g;b=w[f+1|0];f=f+1|0;if(b){continue}break}}b=v[c+4>>2];e=B((g>>>0)%y[a+4>>2]|0,24);i=e+v[a>>2]|0;v[i>>2]=v[c>>2];v[i+4>>2]=b;b=v[c+20>>2];v[i+16>>2]=v[c+16>>2];v[i+20>>2]=b;b=v[c+12>>2];v[i+8>>2]=v[c+8>>2];v[i+12>>2]=b;v[e+v[a>>2]>>2]=0}d=d+1|0;if((k|0)!=(d|0)){continue}break}d=0;while(1){c=v[j+B(d,24)>>2];if(c){while(1){b=v[c+8>>2];f=v[c+4>>2];x:{if(!f){g=0;break x}h=w[f|0];g=B(h,30);if(!h){break x}while(1){g=((g<<5)+(g>>>3|0)|0)+(h<<24>>24)^g;h=w[f+1|0];f=f+1|0;if(h){continue}break}}f=v[c+12>>2];g=(g<<5)+(g>>>3|0)^g;y:{if(!b){break y}h=w[b|0];if(!h){break y}while(1){g=((h<<24>>24)+(g>>>3|0)|0)+(g<<5)^g;h=w[b+1|0];b=b+1|0;if(h){continue}break}}g=(g<<5)+(g>>>3|0)^g;z:{if(!f){break z}b=w[f|0];if(!b){break z}while(1){g=((b<<24>>24)+(g>>>3|0)|0)+(g<<5)^g;b=w[f+1|0];f=f+1|0;if(b){continue}break}}b=v[c>>2];i=B((g>>>0)%y[a+4>>2]|0,24);h=i+v[a>>2]|0;A:{if(!v[h+20>>2]){e=v[c+4>>2];v[h>>2]=v[c>>2];v[h+4>>2]=e;e=v[c+20>>2];v[h+16>>2]=v[c+16>>2];v[h+20>>2]=e;e=v[c+12>>2];v[h+8>>2]=v[c+8>>2];v[h+12>>2]=e;v[i+v[a>>2]>>2]=0;Ub[v[259708]](c);break A}v[c>>2]=v[h>>2];v[h>>2]=c}c=b;if(b){continue}break}}d=d+1|0;if((k|0)!=(d|0)){continue}break}f=0;Ub[v[259708]](j)}return f}return-1}function a$(a){a=a|0;var 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=v[a+20>>2];if((b|0)!=202){c=v[a>>2];v[c+24>>2]=b;v[c+20>>2]=21;Ub[v[v[a>>2]>>2]](a)}d=a;a=v[d+424>>2];b=B(a,v[d+48>>2]);c=v[d+52>>2];a:{if(b>>>0<=c>>>0){v[d+112>>2]=((a+v[d+28>>2]|0)-1|0)/(a|0);e=1;a=v[d+32>>2];break a}if(b>>>0<=c<<1>>>0){v[d+112>>2]=((a+(v[d+28>>2]<<1)|0)-1|0)/(a|0);e=2;a=v[d+32>>2]<<1;break a}e=3;if(b>>>0<=B(c,3)>>>0){v[d+112>>2]=((a+B(v[d+28>>2],3)|0)-1|0)/(a|0);a=B(v[d+32>>2],3);break a}if(b>>>0<=c<<2>>>0){v[d+112>>2]=((a+(v[d+28>>2]<<2)|0)-1|0)/(a|0);e=4;a=v[d+32>>2]<<2;break a}e=5;if(b>>>0<=B(c,5)>>>0){v[d+112>>2]=((a+B(v[d+28>>2],5)|0)-1|0)/(a|0);a=B(v[d+32>>2],5);break a}e=6;if(b>>>0<=B(c,6)>>>0){v[d+112>>2]=((a+B(v[d+28>>2],6)|0)-1|0)/(a|0);a=B(v[d+32>>2],6);break a}e=7;if(b>>>0<=B(c,7)>>>0){v[d+112>>2]=((a+B(v[d+28>>2],7)|0)-1|0)/(a|0);a=B(v[d+32>>2],7);break a}if(b>>>0<=c<<3>>>0){v[d+112>>2]=((a+(v[d+28>>2]<<3)|0)-1|0)/(a|0);e=8;a=v[d+32>>2]<<3;break a}e=9;if(b>>>0<=B(c,9)>>>0){v[d+112>>2]=((a+B(v[d+28>>2],9)|0)-1|0)/(a|0);a=B(v[d+32>>2],9);break a}e=10;if(b>>>0<=B(c,10)>>>0){v[d+112>>2]=((a+B(v[d+28>>2],10)|0)-1|0)/(a|0);a=B(v[d+32>>2],10);break a}e=11;if(b>>>0<=B(c,11)>>>0){v[d+112>>2]=((a+B(v[d+28>>2],11)|0)-1|0)/(a|0);a=B(v[d+32>>2],11);break a}e=12;if(b>>>0<=B(c,12)>>>0){v[d+112>>2]=((a+B(v[d+28>>2],12)|0)-1|0)/(a|0);a=B(v[d+32>>2],12);break a}e=13;if(b>>>0<=B(c,13)>>>0){v[d+112>>2]=((a+B(v[d+28>>2],13)|0)-1|0)/(a|0);a=B(v[d+32>>2],13);break a}e=14;if(b>>>0<=B(c,14)>>>0){v[d+112>>2]=((a+B(v[d+28>>2],14)|0)-1|0)/(a|0);a=B(v[d+32>>2],14);break a}e=15;g=v[d+28>>2];if(b>>>0<=B(c,15)>>>0){v[d+112>>2]=((a+B(g,15)|0)-1|0)/(a|0);a=B(v[d+32>>2],15);break a}v[d+112>>2]=((a+(g<<4)|0)-1|0)/(a|0);e=16;a=v[d+32>>2]<<4}b=v[d+424>>2];v[d+324>>2]=e;v[d+320>>2]=e;v[d+116>>2]=((a+b|0)-1|0)/(b|0);a=v[d+36>>2];b:{if((a|0)<1){break b}b=a&7;c=v[d+216>>2];if(a-1>>>0>=7){a=a&-8;while(1){v[c+40>>2]=e;v[c+36>>2]=e;v[c+656>>2]=e;v[c+652>>2]=e;v[c+568>>2]=e;v[c+564>>2]=e;v[c+480>>2]=e;v[c+476>>2]=e;v[c+392>>2]=e;v[c+388>>2]=e;v[c+304>>2]=e;v[c+300>>2]=e;v[c+216>>2]=e;v[c+212>>2]=e;v[c+128>>2]=e;v[c+124>>2]=e;c=c+704|0;a=a-8|0;if(a){continue}break}}if(!b){break b}while(1){v[c+40>>2]=e;v[c+36>>2]=e;c=c+88|0;b=b-1|0;if(b){continue}break}}i=v[d+36>>2];c:{if((i|0)<1){break c}a=v[d+216>>2];e=v[d+324>>2];m=v[d+76>>2]?8:4;g=v[d+320>>2];d:{if((m|0)<(g|0)){j=g<<1;if((e|0)>(m|0)){f=e<<1;if((f|0)<(g|0)){c=i&7;b=a;if(i-1>>>0>=7){h=i&-8;while(1){v[b+36>>2]=f;v[b+40>>2]=e;v[b+128>>2]=e;v[b+216>>2]=e;v[b+124>>2]=f;v[b+304>>2]=e;v[b+212>>2]=f;v[b+392>>2]=e;v[b+300>>2]=f;v[b+480>>2]=e;v[b+388>>2]=f;v[b+568>>2]=e;v[b+476>>2]=f;v[b+656>>2]=e;v[b+564>>2]=f;v[b+652>>2]=f;b=b+704|0;h=h-8|0;if(h){continue}break}}if(!c){break d}while(1){v[b+36>>2]=f;v[b+40>>2]=e;b=b+88|0;c=c-1|0;if(c){continue}break}break d}if((e|0)<=(j|0)){f=i&7;b=a;if(i-1>>>0>=7){h=i&-8;while(1){v[b+40>>2]=e;v[b+36>>2]=g;v[b+656>>2]=e;v[b+652>>2]=g;v[b+568>>2]=e;v[b+564>>2]=g;v[b+480>>2]=e;v[b+476>>2]=g;v[b+392>>2]=e;v[b+388>>2]=g;v[b+304>>2]=e;v[b+300>>2]=g;v[b+216>>2]=e;v[b+212>>2]=g;v[b+128>>2]=e;v[b+124>>2]=g;b=b+704|0;h=h-8|0;if(h){continue}break}}if(!f){break d}while(1){v[b+40>>2]=e;v[b+36>>2]=g;b=b+88|0;f=f-1|0;if(f){continue}break}break d}c=i&7;b=a;if(i-1>>>0>=7){f=i&-8;while(1){v[b+40>>2]=j;v[b+36>>2]=g;v[b+656>>2]=j;v[b+652>>2]=g;v[b+568>>2]=j;v[b+564>>2]=g;v[b+480>>2]=j;v[b+476>>2]=g;v[b+392>>2]=j;v[b+388>>2]=g;v[b+304>>2]=j;v[b+300>>2]=g;v[b+216>>2]=j;v[b+212>>2]=g;v[b+128>>2]=j;v[b+124>>2]=g;b=b+704|0;f=f-8|0;if(f){continue}break}}if(!c){break d}while(1){v[b+40>>2]=j;v[b+36>>2]=g;b=b+88|0;c=c-1|0;if(c){continue}break}break d}b=v[d+316>>2];c=a;while(1){v[c+36>>2]=g;h=e;k=v[c+12>>2];e:{if((b|0)%(k<<1)|0){break e}f=2;while(1){h=B(e,f);if((m|0)<(h|0)){break e}f=f<<1;if(!((b|0)%(B(k,f)|0)|0)){continue}break}}v[c+40>>2]=h;f=h<<1;f:{if((f|0)>=(g|0)){if((h|0)<=(j|0)){break f}v[c+40>>2]=j;break f}v[c+36>>2]=f}c=c+88|0;l=l+1|0;if((l|0)!=(i|0)){continue}break}break d}j=v[d+312>>2];if((e|0)>(m|0)){h=e<<1;c=a;while(1){b=g;k=v[c+8>>2];g:{if((j|0)%(k<<1)|0){break g}f=2;while(1){b=B(f,g);if((m|0)<(b|0)){break g}f=f<<1;if(!((j|0)%(B(k,f)|0)|0)){continue}break}}v[c+40>>2]=e;v[c+36>>2]=b;h:{if((b|0)<=(h|0)){b=b<<1;if((b|0)>=(e|0)){break h}v[c+40>>2]=b;break h}v[c+36>>2]=h}c=c+88|0;l=l+1|0;if((l|0)!=(i|0)){continue}break}break d}k=v[d+316>>2];h=a;while(1){b=g;c=v[h+8>>2];i:{if((j|0)%(c<<1)|0){break i}f=2;while(1){b=B(f,g);if((m|0)<(b|0)){break i}f=f<<1;if(!((j|0)%(B(c,f)|0)|0)){continue}break}}v[h+36>>2]=b;c=e;n=v[h+12>>2];j:{if((k|0)%(n<<1)|0){break j}f=2;while(1){c=B(e,f);if((m|0)<(c|0)){break j}f=f<<1;if(!((k|0)%(B(n,f)|0)|0)){continue}break}}v[h+40>>2]=c;f=c<<1;k:{if((f|0)<(b|0)){v[h+36>>2]=f;break k}b=b<<1;if((b|0)>=(c|0)){break k}v[h+40>>2]=b}h=h+88|0;l=l+1|0;if((l|0)!=(i|0)){continue}break}}b=0;if((i|0)<=0){break c}while(1){c=B(v[d+424>>2],v[d+312>>2]);v[a+44>>2]=((c+B(v[a+36>>2],B(v[a+8>>2],v[d+28>>2]))|0)-1|0)/(c|0);c=B(v[d+424>>2],v[d+316>>2]);v[a+48>>2]=((c+B(v[a+40>>2],B(v[a+12>>2],v[d+32>>2]))|0)-1|0)/(c|0);a=a+88|0;b=b+1|0;i=v[d+36>>2];if((b|0)<(i|0)){continue}break}}a=v[d+44>>2]-1|0;if(a>>>0<=4){i=v[(a<<2)+70004>>2]}v[d+120>>2]=i;v[d+124>>2]=v[d+84>>2]?1:i;a=d;if(Z_(d)){b=v[d+316>>2]}else{b=1}v[a+128>>2]=b}function X0(a,b,c,d,e,f,g){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,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;a:{b:{c:{d:{e:{f:{g:{if(b){j=yg(a,b);if(!j){pc(a,1045,0,0);return 1045}h=v[j+88>>2];if(w[h+33|0]){pc(a,1071,0,0);return 1071}i=w[h+44|0];if(i>>>0<9){break g}k=w[h+45|0];if(k>>>0>12){break e}k=1<>2];if(!w[j+44|0]){break c}h=v[j+52>>2];i=v[j+36>>2];if((h|0)<=(i|0)){break c}k=v[j+60>>2];m=v[j+40>>2];if((k|0)<=(m|0)){break c}h=xj(a,j,h-i|0,k-m|0,8,6,0,0,0,0);if(h){break b}break d}h=YA(a,j,8,6,0)}if(h){break b}h=v[j+88>>2]}if(w[h+49|0]){break d}i=0;h:{i:{j:{m=v[j+88>>2];k=w[m+44|0];if(k>>>0<8){break j}switch(w[m+45|0]-6|0){case 0:case 8:break i;default:break j}}pc(a,1071,0,0);h=1071;break h}k:{if(w[m+49|0]){break k}v[a+540>>2]=m;v[a+536>>2]=j;v[a+544>>2]=j;t[a+649|0]=0;v[a+580>>2]=0;v[a+584>>2]=1;v[a+572>>2]=0;v[a+576>>2]=1;t[a+568|0]=255;h=k>>>0>8;v[a+984>>2]=h?691:692;v[a+980>>2]=h?693:694;h=v[m+36>>2];v[a+616>>2]=0;t[a+648|0]=0;v[a+588>>2]=h;v[a+604>>2]=h<<2;if(k>>>0>=9){t[a+648|0]=1;v[a+604>>2]=h<<3}v[a+976>>2]=0;i=Ps(a,0,0,1);if(i){break k}if(v[a+976>>2]){h=Ub[v[a+152>>2]](v[a+604>>2])|0;v[a+644>>2]=h;if(!h){pc(a,1,0,0);h=1;break h}v[a+636>>2]=h;h=0;while(1){l:{k=h;y=v[m+40>>2];if(y>>>0<=h>>>0){i=0;break l}i=Ub[v[a+980>>2]](a)|0;if(i){break l}i=Ub[v[a+976>>2]](a)|0;if(i){break l}i=Ub[v[a+984>>2]](a)|0;if(i){break l}h=k+1|0;i=Bq(a);if(!i){continue}}break}h=v[a+644>>2];if(h){Ub[v[a+156>>2]](h,v[a+604>>2])}if(k>>>0>>0){break k}}t[m+49|0]=1;i=0}h=i}if(h){break b}}if(w[j+65|0]?1:w[j+64|0]){h=Ss(a,j);if(h){break b}}k=v[j+88>>2];i=w[k+44|0];h=a;m:{n:{o:{switch(c|0){default:e=v[a+2332>>2];d=v[a+2328>>2];break m;case 0:v[a+2332>>2]=e;v[a+2328>>2]=d;break m;case 1:d=v[j+80>>2]+d|0;v[a+2328>>2]=d;e=v[j+84>>2]+e|0;break n;case 2:break o}}d=v[a+2328>>2]+d|0;v[a+2328>>2]=d;e=v[a+2332>>2]+e|0}v[h+2332>>2]=e}v[j+84>>2]=e;v[j+80>>2]=d;v[a+540>>2]=k;v[a+536>>2]=j;p:{if(!f){e=1;h=0;break p}r=i>>>0>8;A=r;E=r?3:2;F=r?933:934;k=r?935:936;m=r?886:885;y=r?937:938;C=i>>>0<9;d=0;while(1){c=yg(a,x[g>>1]);q:{if(!c){h=0;break q}if(!w[c+32|0]){h=0;break q}r:{if(w[c+65|0]?1:w[c+64|0]){h=Ss(a,c);if(h){break r}}n=v[c+88>>2];v[a+616>>2]=0;v[a+584>>2]=1;v[a+576>>2]=1;t[a+568|0]=255;v[a+544>>2]=c;B=v[n+1168>>2];G=v[n+36>>2];c=w[n+44|0];t[a+2253|0]=4;o=c>>>0>8;c=a;s:{t:{u:{v:{switch(w[n+45|0]){case 0:v[a+980>>2]=o?820:821;e=!w[n+56|0];break t;case 2:v[a+980>>2]=o?822:823;e=!w[n+56|0];break t;case 3:v[a+980>>2]=824;e=!w[n+56|0];break t;case 4:v[a+980>>2]=o?825:826;break u;case 6:v[a+980>>2]=o?693:694;break u;case 8:v[a+980>>2]=o?820:821;e=1;break t;case 10:v[a+980>>2]=o?822:823;e=1;break t;case 12:v[a+980>>2]=o?825:826;break u;case 14:break v;default:break s}}v[a+980>>2]=o?693:694}e=0}t[c+649|0]=e}v[a+976>>2]=0;c=o?r?0:871:0;v[a+996>>2]=o?c:r?868:c;h=Ps(a,0,0,1);if(h){break r}v[a+1004>>2]=0;v[a+1008>>2]=0;w:{x:{y:{e=w[g+3|0];D=e-2|0;switch(D|0){case 6:break x;case 0:case 2:break y;default:break w}}if(!C){v[a+1004>>2]=939;break w}v[a+1004>>2]=940;break w}if(!C){v[a+1008>>2]=933;break w}v[a+1008>>2]=934}h=k;z:{A:{B:{switch(w[g+2|0]){case 1:h=m;break A;case 0:break A;case 2:break B;default:break z}}h=y}v[a+1e3>>2]=h}C:{if(w[g+4|0]==1){h=v[g+12>>2]+v[a+2332>>2]|0;c=v[g+8>>2]+v[a+2328>>2]|0;break C}h=v[g+12>>2];c=v[g+8>>2]}l=v[j+88>>2];i=v[l+40>>2];p=v[l+36>>2];if((e|0)!=8){e=v[n+40>>2]+h|0;i=(e|0)>(i|0)?i:e;e=c+v[n+36>>2]|0;p=(e|0)>(p|0)?p:e}H=a;I=i;D:{if(w[g+16|0]==1){l=v[a+2328>>2];e=l+v[g+20>>2]|0;z=(c|0)<(e|0)?e-c|0:0;v[a+656>>2]=z;s=v[g+28>>2];q=(c|0)>(e|0)?c:e;v[a+672>>2]=q;c=s;s=v[a+2332>>2];c=c+s|0;e=(c|0)<(h|0)?h:c;v[a+680>>2]=e;c=(c|0)>(h|0)?c-h|0:0;v[a+664>>2]=c;h=l+v[g+24>>2]|0;l=(h|0)>(p|0)?p:h;v[a+676>>2]=l;h=v[g+32>>2]+s|0;break D}e=v[g+20>>2];z=(c|0)<(e|0)?e-c|0:0;v[a+656>>2]=z;l=v[g+28>>2];q=(c|0)>(e|0)?c:e;v[a+672>>2]=q;e=(h|0)>(l|0)?h:l;v[a+680>>2]=e;c=(h|0)<(l|0)?l-h|0:0;v[a+664>>2]=c;h=v[g+24>>2];l=(h|0)>(p|0)?p:h;v[a+676>>2]=l;h=v[g+32>>2]}i=(h|0)>(i|0)?I:h;v[H+684>>2]=i;if(z){v[a+1008>>2]=F}h=0;if((l|0)<(q|0)|(e|0)>(i|0)){break r}p=1;E:{switch(D|0){case 0:case 4:p=-1;c=v[n+40>>2]+(c^-1)|0;break;default:break E}}v[a+580>>2]=q;s=l-q|0;l=s<>2]](i)|0;v[a+644>>2]=h;if(!h){break a}h=Ub[v[a+152>>2]](i)|0;v[a+636>>2]=h;if(!h){break a}while(1){F:{if(v[a+684>>2]<=(e|0)){h=0;break F}t[a+648|0]=o;v[a+604>>2]=B;v[a+588>>2]=G;v[a+572>>2]=c;h=Ub[v[a+980>>2]](a)|0;G:{if(h){t[a+648|0]=A;break G}h=v[a+996>>2];H:{if(!h){t[a+648|0]=A;break H}h=Ub[h|0](a)|0;t[a+648|0]=A;if(h){break G}}h=v[a+976>>2];if(h){h=Ub[h|0](a)|0;if(h){break G}}h=v[a+1004>>2];if(h){h=Ub[h|0](a)|0;if(h){break G}}h=v[a+1008>>2];if(h){h=Ub[h|0](a)|0;if(h){break G}}v[a+604>>2]=l;v[a+588>>2]=s;v[a+572>>2]=e;h=Ub[v[a+1e3>>2]](a)|0}q=v[n+40>>2];c=c+p|0;c=(c|0)<0?q-1|0:(c|0)<(q|0)?c:0;e=e+1|0;if(!h){continue}}break}c=v[a+636>>2];if(c){Ub[v[a+156>>2]](c,i)}c=v[a+644>>2];if(!c){break r}Ub[v[a+156>>2]](c,i)}d=d+1|0;g=g+36|0}e=!h;if(h){break p}if(d>>>0>>0){continue}break}}if(!e){break b}if(!b){h=fh(a,j,0);if(!h){break c}break b}if(!w[j+31|0]|!w[j+32|0]){break c}h=fh(a,j,0);if(h){break b}}h=0;if(!w[a+497|0]){break b}t[a+498|0]=11;u[a+2326>>1]=b}return h}pc(a,1,0,0);return 1}function vLa(a,b){a=a|0;b=b|0;var 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;i=Qb-16|0;Qb=i;r=v[a+12>>2];m=v[a+8>>2];p=v[a+4>>2];n=t[p+35|0];l=v[p+8>>2];g=v[l+80>>2];d=v[p+56>>2];o=v[a+16>>2];q=v[a+20>>2];h=!!(o>>>0>>0?d:0);while(1){a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{if(!h){if(m>>>0>=r>>>0){break k}if(o>>>0>=q>>>0){break l}f=m+2|0;d=x[m>>1];m=f;if((d&63488)!=55296){break m}if(d&1024){break o}m=f;h=1;continue}if(m>>>0>>0){f=x[m>>1];if((f&64512)==56320){break n}v[b>>2]=12}v[p+56>>2]=d;break k}v[b>>2]=12;v[p+56>>2]=d;m=f;break k}v[p+56>>2]=0;d=(f+(d<<10)|0)-56613888|0;m=m+2|0}f=0;if(d-32>>>0<96|(1<>>0<=10:0)|d-160>>>0<96){break h}f=16;c=d-258|0;if(c>>>0<16&(64575>>>c&1)){break h}c=d&-4;if((c|0)==280){break h}h=d-313|0;if(h>>>0<29&(427839283>>>h&1)){break h}h=d&-2;if((h|0)==350|(c|0)==344){break h}e=d-352|0;if(e>>>0<=30){break j}break i}v[b>>2]=15}v[l+80>>2]=g;v[a+16>>2]=o;v[a+8>>2]=m;Qb=i+16|0;return}if(1<>>0<=22:0){break h}f=17;if((c|0)==264){break h}e=d-284|0;if(e>>>0<6&(51>>>e&1)|(c|0)==292){break h}p:{switch(d-308|0){case 0:case 1:case 40:case 41:case 56:case 57:break h;default:break p}}f=18;if((c|0)==372){break h}q:{switch(d-7690|0){default:if(d-7922>>>0<2){break h}break;case 0:case 1:case 20:case 21:case 54:case 55:case 76:case 77:case 86:case 87:case 96:case 97:break h;case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 48:case 49:case 50:case 51:case 52:case 53:case 56:case 57:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 88:case 89:case 90:case 91:case 92:case 93:case 94:case 95:break q}}if(d-7808>>>0<6){break h}f=19;if((d|0)==376|d-338>>>0<2|(d|0)==8364){break h}f=15;if(d-3585>>>0<58|d-3647>>>0<29){break h}f=14;r:{switch(d-256|0){case 0:case 1:case 18:case 19:case 22:case 23:case 34:case 35:break h;default:break r}}if((h|0)==302|(c|0)==296){break h}s:{switch(d-310|0){case 0:case 1:case 2:case 5:case 6:case 15:case 16:case 20:case 21:case 22:case 23:case 32:case 33:case 48:case 49:case 50:case 51:case 52:case 53:case 60:case 61:break h;default:break s}}f=2;if((h|0)==700|(d|0)==8213|d-900>>>0<75){break h}f=3;h=d-1548|0;if(d-1569>>>0<26|(1<>>0<=19:0)|((d|0)==8203|d-1600>>>0<19)){break h}if(d-1632>>>0<14){break h}h=d-65136|0;t:{if(h>>>0>=5){if(d-65142>>>0<73){break h}break t}if(23>>>h&1|d-65142>>>0<=72){break h}}f=13;if((d|0)==8215|d-1488>>>0<27|(d|0)==8254){break h}f=12;if((d|0)==8470|d-1025>>>0<95){break h}f=1;h=d-286|0;if(1<>>0<=19:0){break h}h=0;if((c|0)!=536){break g}}h=0;if((f|0)!=(g|0)){c=B(f,5);g=w[c+864976|0];while(1){t[(i+9|0)+h|0]=g;h=h+1|0;g=w[(c+h|0)+864976|0];if(g){continue}break}g=f}switch(g+1|0){case 0:break g;case 1:break f;default:break e}}f=1;c=n;e=Og(v[l+4>>2],d,i+4|0,c);if((e|0)<1){break d}break c}t[(i+9|0)+h|0]=d;h=h+1|0;break b}e=Og(v[(g<<2)+l>>2],d,i+4|0,n);if((e|0)<1){break b}j=v[i+4>>2];c=h;f=e;k=e&3;if(k){while(1){f=f-1|0;t[(i+9|0)+c|0]=j>>>(f<<3);c=c+1|0;k=k-1|0;if(k){continue}break}}h=h+e|0;if(e-1>>>0<3){break b}while(1){k=(i+9|0)+c|0;e=f-4|0;t[k+3|0]=j>>>(e<<3);f=f<<3;t[k+2|0]=j>>>f-24;t[k+1|0]=j>>>f-16;t[k|0]=j>>>f-8;f=e;c=c+4|0;if((h|0)!=(c|0)){continue}break}break b}f=2;e=Og(v[l+8>>2],d,i+4|0,c);if((e|0)>0){break c}f=3;e=Og(v[l+12>>2],d,i+4|0,n);if((e|0)>0){break c}f=4;e=Og(v[l+16>>2],d,i+4|0,c);if((e|0)>0){break c}f=5;e=Og(v[l+20>>2],d,i+4|0,n);if((e|0)>0){break c}f=6;e=Og(v[l+24>>2],d,i+4|0,c);if((e|0)>0){break c}f=7;e=Og(v[l+28>>2],d,i+4|0,n);if((e|0)>0){break c}f=8;e=Og(v[l+32>>2],d,i+4|0,c);if((e|0)>0){break c}f=9;e=Og(v[l+36>>2],d,i+4|0,n);if((e|0)>0){break c}f=10;e=Og(v[l+40>>2],d,i+4|0,c);if((e|0)>0){break c}f=11;e=Og(v[l+44>>2],d,i+4|0,n);if((e|0)<=0){break b}}u:{if((f|0)==(g|0)){f=g;break u}j=B(f,5);g=w[j+864976|0];c=0;while(1){t[(i+9|0)+h|0]=g;h=h+1|0;c=c+1|0;g=w[(j+c|0)+864976|0];if(g){continue}break}if((e|0)<1){break a}}j=v[i+4>>2];g=h;c=e;k=c&3;if(k){while(1){c=c-1|0;t[(i+9|0)+g|0]=j>>>(c<<3);g=g+1|0;k=k-1|0;if(k){continue}break}}h=h+e|0;if(e-1>>>0<3){break a}while(1){k=(i+9|0)+g|0;e=c-4|0;t[k+3|0]=j>>>(e<<3);c=c<<3;t[k+2|0]=j>>>c-24;t[k+1|0]=j>>>c-16;t[k|0]=j>>>c-8;c=e;g=g+4|0;if((h|0)!=(g|0)){continue}break}break a}f=g}e=f;v:{w:{if((h|0)<1){c=0}else{g=0;c=q-o|0;c=c>>>0>q>>>0?0:c;while(1){if((c|0)==(g|0)){break w}t[o|0]=w[(i+9|0)+g|0];o=o+1|0;g=g+1|0;if((h|0)!=(g|0)){continue}break}c=h}j=v[b>>2];break v}v[b>>2]=15;j=15}g=e;x:{if((j|0)!=15){break x}g=f;if((c|0)>=(h|0)){break x}e=c+1|0;if(h-c&1){j=w[(i+9|0)+c|0];g=v[a+4>>2];c=t[g+63|0];t[g+63|0]=c+1;t[(c+g|0)+76|0]=j;c=e}g=f;if((h|0)==(e|0)){break x}while(1){j=(i+9|0)+c|0;k=w[j|0];g=v[a+4>>2];e=t[g+63|0];t[g+63|0]=e+1;t[(e+g|0)+76|0]=k;j=w[j+1|0];g=v[a+4>>2];e=t[g+63|0];t[g+63|0]=e+1;t[(e+g|0)+76|0]=j;c=c+2|0;if((h|0)!=(c|0)){continue}break}g=f}h=0;continue}}function mG(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0;k=Qb-112|0;Qb=k;a:{if(!a){j=-102;break a}l=-1;o=v[a+76>>2]+v[a+92>>2]|0;n=v[a+88>>2];m=n+v[a+72>>2]|0;o=m>>>0>>0?o+1|0:o;b:{if(Uh(a,v[a+48>>2],m,o,0)){break b}if(Dg(a,v[a+48>>2],k+12|0)){break b}l=v[k+12>>2]==33639248?0:-103}n=v[a+48>>2];c:{d:{if((Ub[v[a+4>>2]](v[a+28>>2],n,k+24|0,1)|0)==1){j=w[k+24|0];break d}m=-1;if(Ub[v[a+24>>2]](v[a+28>>2],n)|0){break c}}e:{if((Ub[v[a+4>>2]](v[a+28>>2],n,k+24|0,1)|0)==1){m=w[k+24|0];break e}m=j;if(!(Ub[v[a+24>>2]](v[a+28>>2],n)|0)){break e}j=0;m=-1;break c}j=m<<8|j;m=l}v[k+24>>2]=j;n=v[a+48>>2];f:{g:{if((Ub[v[a+4>>2]](v[a+28>>2],n,k+16|0,1)|0)==1){j=w[k+16|0];break g}j=0;l=-1;if(Ub[v[a+24>>2]](v[a+28>>2],n)|0){break f}}h:{if((Ub[v[a+4>>2]](v[a+28>>2],n,k+16|0,1)|0)==1){l=w[k+16|0];break h}l=j;if(!(Ub[v[a+24>>2]](v[a+28>>2],n)|0)){break h}j=0;l=-1;break f}j=l<<8|j;l=m}v[k+28>>2]=j;n=v[a+48>>2];i:{j:{if((Ub[v[a+4>>2]](v[a+28>>2],n,k+16|0,1)|0)==1){j=w[k+16|0];break j}j=0;m=-1;if(Ub[v[a+24>>2]](v[a+28>>2],n)|0){break i}}k:{if((Ub[v[a+4>>2]](v[a+28>>2],n,k+16|0,1)|0)==1){m=w[k+16|0];break k}m=j;if(!(Ub[v[a+24>>2]](v[a+28>>2],n)|0)){break k}j=0;m=-1;break i}j=m<<8|j;m=l}v[k+32>>2]=j;n=v[a+48>>2];l:{m:{if((Ub[v[a+4>>2]](v[a+28>>2],n,k+16|0,1)|0)==1){j=w[k+16|0];break m}j=0;l=-1;if(Ub[v[a+24>>2]](v[a+28>>2],n)|0){break l}}n:{if((Ub[v[a+4>>2]](v[a+28>>2],n,k+16|0,1)|0)==1){l=w[k+16|0];break n}l=j;if(!(Ub[v[a+24>>2]](v[a+28>>2],n)|0)){break n}j=0;l=-1;break l}j=l<<8|j;l=m}n=l;v[k+36>>2]=j;p=Dg(a,v[a+48>>2],k+40|0);j=v[k+40>>2];v[k+108>>2]=(j>>>25|0)+1980;v[k+100>>2]=j>>>16&31;v[k+96>>2]=j>>>11&31;v[k+92>>2]=j>>>5&63;m=-1;v[k+104>>2]=(j>>>21&15)-1;v[k+88>>2]=j<<1&62;q=Dg(a,v[a+48>>2],k+44|0);r=Dg(a,v[a+48>>2],k+8|0);v[k+48>>2]=v[k+8>>2];v[k+52>>2]=0;s=Dg(a,v[a+48>>2],k+8|0);v[k+56>>2]=v[k+8>>2];v[k+60>>2]=0;u=k;l=v[a+48>>2];o:{p:{if((Ub[v[a+4>>2]](v[a+28>>2],l,k+16|0,1)|0)==1){j=w[k+16|0];break p}j=0;o=0;if(Ub[v[a+24>>2]](v[a+28>>2],l)|0){break o}}q:{if((Ub[v[a+4>>2]](v[a+28>>2],l,k+16|0,1)|0)==1){o=w[k+16|0];break q}o=j;if(!(Ub[v[a+24>>2]](v[a+28>>2],l)|0)){break q}o=0;break o}m=r|s|(p|q)?-1:n;o=o<<8|j}v[u+64>>2]=o;n=v[a+48>>2];r:{s:{if((Ub[v[a+4>>2]](v[a+28>>2],n,k+16|0,1)|0)==1){j=w[k+16|0];break s}j=0;l=-1;if(Ub[v[a+24>>2]](v[a+28>>2],n)|0){break r}}t:{if((Ub[v[a+4>>2]](v[a+28>>2],n,k+16|0,1)|0)==1){l=w[k+16|0];break t}l=j;if(!(Ub[v[a+24>>2]](v[a+28>>2],n)|0)){break t}j=0;l=-1;break r}j=l<<8|j;l=m}v[k+68>>2]=j;n=v[a+48>>2];u:{v:{if((Ub[v[a+4>>2]](v[a+28>>2],n,k+16|0,1)|0)==1){j=w[k+16|0];break v}j=0;m=-1;if(Ub[v[a+24>>2]](v[a+28>>2],n)|0){break u}}w:{if((Ub[v[a+4>>2]](v[a+28>>2],n,k+16|0,1)|0)==1){m=w[k+16|0];break w}m=j;if(!(Ub[v[a+24>>2]](v[a+28>>2],n)|0)){break w}j=0;m=-1;break u}j=m<<8|j;m=l}v[k+72>>2]=j;n=v[a+48>>2];x:{y:{if((Ub[v[a+4>>2]](v[a+28>>2],n,k+16|0,1)|0)==1){j=w[k+16|0];break y}j=0;l=-1;if(Ub[v[a+24>>2]](v[a+28>>2],n)|0){break x}}z:{if((Ub[v[a+4>>2]](v[a+28>>2],n,k+16|0,1)|0)==1){l=w[k+16|0];break z}l=j;if(!(Ub[v[a+24>>2]](v[a+28>>2],n)|0)){break z}j=0;l=-1;break x}j=l<<8|j;l=m}v[k+76>>2]=j;n=v[a+48>>2];A:{B:{if((Ub[v[a+4>>2]](v[a+28>>2],n,k+16|0,1)|0)==1){j=w[k+16|0];break B}j=0;m=-1;if(Ub[v[a+24>>2]](v[a+28>>2],n)|0){break A}}C:{if((Ub[v[a+4>>2]](v[a+28>>2],n,k+16|0,1)|0)==1){m=w[k+16|0];break C}m=j;if(!(Ub[v[a+24>>2]](v[a+28>>2],n)|0)){break C}j=0;m=-1;break A}j=m<<8|j;m=l}v[k+80>>2]=j;n=Dg(a,v[a+48>>2],k+84|0);j=Dg(a,v[a+48>>2],k+8|0);v[k+16>>2]=v[k+8>>2];v[k+20>>2]=0;l=v[k+64>>2];j=j|n?-1:m;if(!(j|!d)){m=e;if(e>>>0>l>>>0){t[d+l|0]=0;m=l}j=0;if(!(!l|!e)){j=(Ub[v[a+4>>2]](v[a+28>>2],v[a+48>>2],d,m)|0)!=(m|0)?-1:0}l=l-m|0}e=v[k+68>>2];D:{if(!(!f|j)){n=e>>>0>>0;E:{if(!l){m=0;j=0;break E}d=Uh(a,v[a+48>>2],l,l>>31,1);m=d?l:0;j=d?-1:0}d=n?e:g;if(!(!e|!g)){j=(Ub[v[a+4>>2]](v[a+28>>2],v[a+48>>2],f,d)|0)==(d|0)?j:-1}m=(e-d|0)+m|0;e=v[k+68>>2];break D}m=e+l|0}F:{if(!e|j){break F}e=m-e|0;d=0;m=0;j=0;if(e){f=e;e=Uh(a,v[a+48>>2],e,e>>31,1);m=e?f:0;j=e?-1:0;if(!v[k+68>>2]){break F}}o=k+56|0;n=k+48|0;while(1){e=v[a+48>>2];G:{H:{if((Ub[v[a+4>>2]](v[a+28>>2],e,k+4|0,1)|0)==1){l=w[k+4|0];break H}l=0;f=-1;if(Ub[v[a+24>>2]](v[a+28>>2],e)|0){break G}}I:{if((Ub[v[a+4>>2]](v[a+28>>2],e,k+4|0,1)|0)==1){g=w[k+4|0];break I}g=l;if(!(Ub[v[a+24>>2]](v[a+28>>2],e)|0)){break I}l=0;f=-1;break G}l=g<<8|l;f=j}g=v[a+48>>2];J:{K:{if((Ub[v[a+4>>2]](v[a+28>>2],g,k+4|0,1)|0)==1){e=w[k+4|0];break K}e=0;j=-1;if(Ub[v[a+24>>2]](v[a+28>>2],g)|0){break J}}L:{if((Ub[v[a+4>>2]](v[a+28>>2],g,k+4|0,1)|0)==1){j=w[k+4|0];break L}j=e;if(!(Ub[v[a+24>>2]](v[a+28>>2],g)|0)){break L}e=0;j=-1;break J}e=j<<8|e;j=f}M:{if((l|0)==1){if(!v[k+60>>2]&v[k+56>>2]==-1){j=an(a,v[a+48>>2],o)?-1:j}if(!v[k+52>>2]&v[k+48>>2]==-1){j=an(a,v[a+48>>2],n)?-1:j}if(!v[k+20>>2]&v[k+16>>2]==-1){j=an(a,v[a+48>>2],k+16|0)?-1:j}if(v[k+76>>2]!=-1){break M}j=Dg(a,v[a+48>>2],k+4|0)?-1:j;break M}j=Uh(a,v[a+48>>2],e,0,1)?-1:j}d=(d+e|0)+4|0;if(d>>>0>2]){continue}break}}N:{if(!h|j){break N}l=i;d=v[k+72>>2];if(l>>>0>d>>>0){t[d+h|0]=0;l=d}if(m){j=Uh(a,v[a+48>>2],m,m>>31,1)?-1:0}else{j=0}if(!d|!i){break N}j=(Ub[v[a+4>>2]](v[a+28>>2],v[a+48>>2],h,l)|0)==(l|0)?j:-1}if(!(!b|j)){gc(b,k+24|0,88)}if(!c|j){break a}a=v[k+20>>2];v[c>>2]=v[k+16>>2];v[c+4>>2]=a;j=0}Qb=k+112|0;return j}function XH(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,z=0,A=0,B=0,C=0;k=Qb-32|0;Qb=k;n=v[a>>2];f=Qb-48|0;Qb=f;g=v[b+20>>2];a:{b:{if(g){h=85;if(Ub[g|0](b,c,0,0)|0){break a}g=v[b+4>>2];break b}h=85;g=v[b+4>>2];if(g>>>0>>0){break a}}v[b+8>>2]=c;v[f+44>>2]=0;if(c>>>0>=g>>>0){break a}i=v[b+20>>2];c:{if(i){g=Ub[i|0](b,c,f+16|0,16)|0;break c}g=g-c|0;g=g>>>0<16?g:16;gc(f+16|0,v[b>>2]+c|0,g)}v[b+8>>2]=c+g;if(g>>>0<16){break a}g=t[f+16|0];if((g|0)<0){h=2;break a}i=t[f+20|0];if((i|0)<0){h=2;break a}j=t[f+24|0];if((j|0)<0){h=2;break a}l=t[f+28|0];if((l|0)<0){h=2;break a}g=w[f+19|0]|(w[f+17|0]<<16|(g&255)<<24|w[f+18|0]<<8);v[k+16>>2]=g;i=w[f+23|0]|(w[f+21|0]<<16|(i&255)<<24|w[f+22|0]<<8);if(!i){h=2;break a}m=w[f+31|0];l=m|(w[f+29|0]<<16|(l&255)<<24|w[f+30|0]<<8);j=w[f+27|0]|(w[f+25|0]<<16|(j&255)<<24|w[f+26|0]<<8);d:{if(g>>>0>>0){if((g|0)<=(i-j|0)){break d}h=2;break a}if((i|0)<=(g-l|0)){break d}h=2;break a}if(g>>>0>(j^2147483647)>>>0){h=2;break a}if(i>>>0>(l^2147483647)>>>0){h=2;break a}if((g+j^2147483647)<(c|0)){h=2;break a}if((i+l^2147483647)<(c|0)){h=2;break a}g=c+g|0;o=g+j|0;j=v[b+4>>2];if(o>>>0>j>>>0){h=2;break a}c=c+i|0;if(j>>>0>>0){h=2;break a}v[k+16>>2]=g;g=v[b+20>>2];e:{if(g){if(Ub[g|0](b,c,0,0)|0){break a}m=w[f+31|0];break e}if(c>>>0>y[b+4>>2]){break a}}v[b+8>>2]=c;t[f+15|0]=m+1;h=Lf(b,f,16);if(h){break a}u=w[f|0];x=w[f+1|0];z=w[f+2|0];A=w[f+3|0];B=w[f+4|0];C=w[f+5|0];s=w[f+6|0];r=w[f+7|0];o=w[f+8|0];p=w[f+9|0];h=w[f+10|0];g=w[f+11|0];i=w[f+12|0];l=w[f+13|0];j=w[f+15|0];m=w[f+14|0];if(!(!(u|(x|(z|(A|(B|(C|(s|(r|(o|(p|(h|(g|(i|(l|(j|m)))))))))))))))|w[f+31|0]==(j|0)&w[f+30|0]==(m|0)&w[f+29|0]==(l|0)&w[f+28|0]==(i|0)&w[f+27|0]==(g|0)&w[f+26|0]==(h|0)&(p|0)==w[f+25|0]&(o|0)==w[f+24|0]&(r|0)==w[f+23|0]&(s|0)==w[f+22|0]&(C|0)==w[f+21|0]&(B|0)==w[f+20|0]&(A|0)==w[f+19|0]&(z|0)==w[f+18|0]&(x|0)==w[f+17|0]&(u|0)==w[f+16|0])){h=2;break a}h=v[b+8>>2]+8|0;i=v[b+20>>2];f:{g:{if(i){g=85;if(!(Ub[i|0](b,h,0,0)|0)){break g}break f}g=85;if(h>>>0>y[b+4>>2]){break f}}v[b+8>>2]=h;g=0}v[f+44>>2]=g;g=Ed(b,f+44|0);h=v[f+44>>2];if(h){break a}h=2;g=g<<16>>16;if((g|0)<0){break a}c=c+g|0;g=v[b+20>>2];h:{if(g){h=85;if(!(Ub[g|0](b,c,0,0)|0)){break h}break a}h=85;if(c>>>0>y[b+4>>2]){break a}}v[b+8>>2]=c;v[k+20>>2]=c;h=0}Qb=f+48|0;c=h;i:{if(c){break i}c=1;j:{k:{h=v[k+20>>2];f=v[k+16>>2];l:{if(!G_(a,b,h,f,1347375956,1,k+12|0,k+8|0)){p=v[k+12>>2];m:{n:{o:{if(d+1>>>0<=1){s=v[k+8>>2];if((s|0)>=1){break o}c=10}d=c;if(p){break n}break i}r=v[a>>2];f=0;p:{while(1){c=v[p+(f<<2)>>2];d=v[b+20>>2];q:{if(d){if(Ub[d|0](b,c,0,0)|0){break p}d=v[b+4>>2];break q}d=v[b+4>>2];if(d>>>0>>0){break p}}v[b+8>>2]=c;if(c+3>>>0>=d>>>0){break p}r:{s:{d=v[b+20>>2];t:{if(d){if((Ub[d|0](b,c,k+28|0,4)|0)!=4){break p}c=v[b+8>>2];d=k+28|0;break t}d=v[b>>2];if(!d){break s}d=c+d|0}d=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);v[b+8>>2]=c+4;c=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);if(c>>>0<=16777215){break r}d=9;break n}v[b+8>>2]=c+4;c=0}h=q+6|0;d=9;if(h>>>0>16777215-c>>>0){break n}q=c+h|0;f=f+1|0;if((s|0)!=(f|0)){continue}break}m=q+2|0;d=10;if(m>>>0<=5){break n}d=6;if((m|0)<1){break n}c=Ub[v[r+4>>2]](r,m)|0;d=64;if(!c){break n}j=ic(c,0,m);t[j+2|0]=0;t[j+3|0]=0;t[j+4|0]=0;t[j+5|0]=0;t[j|0]=128;t[j+1|0]=1;o=2;f=6;c=0;l=1;d=0;u:{while(1){h=v[p+(d<<2)>>2];g=v[b+20>>2];v:{if(g){if(!(Ub[g|0](b,h,0,0)|0)){break v}break u}if(h>>>0>y[b+4>>2]){break u}}v[b+8>>2]=h;v[k+24>>2]=0;h=kf(b,k+24|0);if(v[k+24>>2]|(h|0)<0){break u}i=Ed(b,k+24|0);if(v[k+24>>2]){break u}v[k+24>>2]=10;w:{if(i>>>0>=256){g=h-2|0;g=h>>>0>>0?0:g;i=i>>>8|0;x:{if((i|0)==(l|0)){h=f;c=c+g|0;break x}l=o+3|0;if(l>>>0>m>>>0){break u}h=j+o|0;t[h|0]=c;t[h+2|0]=c>>>16;t[h+1|0]=c>>>8;t[j+l|0]=c>>>24;if((i|0)==5){break w}h=f+6|0;if(m>>>0>>0){break u}l=f+j|0;t[l|0]=128;o=f+2|0;c=j+o|0;t[c|0]=0;t[c+1|0]=0;t[c+2|0]=0;t[c+3|0]=0;t[l+1|0]=i;l=i;c=g}if(h>>>0>q>>>0){break u}f=h+g|0;if(q>>>0>>0){break u}h=Lf(b,h+j|0,g);v[k+24>>2]=h;if(h){break u}}d=d+1|0;if((s|0)!=(d|0)){continue}}break}d=f+2|0;if(d>>>0>m>>>0){break u}b=f+j|0;t[b|0]=128;t[b+1|0]=3;h=o+3|0;if(h>>>0<=m>>>0){break m}}Ub[v[r+8>>2]](r,j);Ub[v[n+8>>2]](n,p);c=1;break i}d=85}c=d;Ub[v[n+8>>2]](n,p);break i}b=j+o|0;t[b|0]=c;t[b+2|0]=c>>>16;q=1;t[b+1|0]=c>>>8;t[h+j|0]=c>>>24;c=OH(a,j,d,0,333549,e);Ub[v[n+8>>2]](n,p);if(!c){break l}break i}c=G_(a,b,h,f,1936092788,0,k+12|0,k+8|0);if(c){break i}f=v[k+12>>2];q=v[k+8>>2];c=(d|0)%(q|0)|0;i=c>>31^c;if((i|0)>=(q|0)){break k}h=v[a>>2];g=v[f+(i<<2)>>2];d=v[b+20>>2];y:{if(d){c=85;if(!(Ub[d|0](b,g,0,0)|0)){break y}break j}c=85;if(g>>>0>y[b+4>>2]){break j}}v[b+8>>2]=g;v[k+28>>2]=0;d=kf(b,k+28|0);c=v[k+28>>2];if(c){break j}c=1;if((d|0)<1){break j}c=9;if(d>>>0>16777215){break j}if(!Q_(a,b,i,e)){Ub[v[n+8>>2]](n,f);break l}g=g+4|0;i=v[b+20>>2];z:{if(i){c=85;if(Ub[i|0](b,g,0,0)|0){break j}break z}c=85;if(g>>>0>y[b+4>>2]){break j}}v[b+8>>2]=g;c=Ub[v[h+4>>2]](h,d)|0;if(!c){c=64;break j}g=b;b=ic(c,0,d);c=Lf(g,b,d);if(c){Ub[v[h+8>>2]](h,b);break j}h=d;c=OH(a,b,h,0,(h|0)>=5?(w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24))==1330926671?273706:278818:278818,e);Ub[v[n+8>>2]](n,f);if(c){break i}}v[v[e>>2]>>2]=q;c=0;break i}c=1;if(!f){break i}Ub[v[n+8>>2]](n,f);break i}Ub[v[n+8>>2]](n,f)}Qb=k+32|0;return c}function jR(a,b,c,d,e,f,g,h,i){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,w=0,x=0;m=Qb+-64|0;Qb=m;a:{if(Ub[v[v[b>>2]+32>>2]](b,277052)|0){break a}if(Ub[v[v[b>>2]+32>>2]](b,307089)|0){break a}if(Ub[v[v[b>>2]+32>>2]](b,224829)|0){break a}b:{if(Ub[v[v[b>>2]+32>>2]](b,288961)|0){break b}j=Qh(b,287936);if(!j){break b}j=mj(j,270223);if(!j){break b}if(!Ad(v[j+4>>2],279798)){break a}}j=mj(b,280444);if(!j){break a}k=v[j+4>>2]}j=k;c:{d:{e:{if(e){s=e;if(!j){break e}}n=fc(16);v[299999]=0;s=Q(3304,n|0,0)|0;k=v[299999];v[299999]=0;if((k|0)!=1){break e}break d}f:{if(Ub[v[v[b>>2]+32>>2]](b,277052)|0){break f}if(Ub[v[v[b>>2]+32>>2]](b,224829)|0){break f}k=mj(b,280444);if(!k){break f}o=v[k+4>>2]}g:{if(f){u=f;if(!o){break g}if(Ub[v[v[b>>2]+32>>2]](b,307089)|0){break g}}n=fc(16);v[299999]=0;u=Q(3304,n|0,0)|0;k=v[299999];v[299999]=0;if((k|0)!=1){break g}break d}k=c;h:{i:{if(!j){break i}j:{if(c){v[m+52>>2]=j;v[m+48>>2]=c;k=eF(m+48|0);break j}n=fc(8);v[299999]=0;k=Q(3064,n|0,j|0)|0;r=v[299999];v[299999]=0;if((r|0)==1){break h}}r=Gj(e,j);iF(e,j,r+1|0);k:{j=Qh(b,287936);if(!j){break k}j=mj(j,270223);if(!j){break k}if(Ad(v[j+4>>2],261761)){break k}Jc(k,308839,0);break i}v[m+32>>2]=r;Jc(k,307196,m+32|0)}p=d;if(o){l:{if(d){v[m+20>>2]=o;v[m+16>>2]=d;p=eF(m+16|0);break l}n=fc(8);v[299999]=0;p=Q(3064,n|0,o|0)|0;j=v[299999];v[299999]=0;if((j|0)!=1){break l}break d}j=Gj(f,o);iF(f,o,j+1|0);v[m>>2]=j;Jc(p,307196,m)}m:{if(Ub[v[v[b>>2]+32>>2]](b,288961)|0){x=a;a=XD(a,v[k+4>>2],h);if(!(a|!g)){a=XD(x,v[g+4>>2],h)}n:{if(a){break n}a=Gj(i,p);if(a){break n}a=0;g=Qh(b,275662);if(!g){break n}g=Ub[v[v[g>>2]+40>>2]](g)|0;if(!g){break n}if(!(Ub[v[v[g>>2]+28>>2]](g)|0)){break n}g=Ub[v[v[g>>2]+40>>2]](g)|0;if(!g){break n}if(!(Ub[v[v[g>>2]+36>>2]](g)|0)){break n}a=v[g+20>>2]}o:{p:{q:{r:{g=Qh(b,263653);s:{if(!g){break s}g=Ub[v[v[g>>2]+40>>2]](g)|0;if(!g){break s}if(!(Ub[v[v[g>>2]+32>>2]](g,245576)|0)){break s}g=Qh(b,235708);if(!g){break s}g=Ub[v[v[g>>2]+40>>2]](g)|0;if(!g){break s}if(!(Ub[v[v[g>>2]+28>>2]](g)|0)){break s}g=Ub[v[v[g>>2]+40>>2]](g)|0;if(!g){break s}if(Ub[v[v[g>>2]+36>>2]](g)|0){break r}}if(a){break q}a=0;break o}g=v[g+20>>2];if(!(!g|!a)){a=Rf(a,g);g=fc(8);if(a){v[299999]=0;a=Q(3063,g|0,273720)|0;h=v[299999];v[299999]=0;if((h|0)!=1){break o}break p}v[299999]=0;a=Q(3063,g|0,253448)|0;h=v[299999];v[299999]=0;if((h|0)!=1){break o}break p}if(a){break q}a=0;break o}g=fc(8);v[299999]=0;a=Q(3064,g|0,a|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break p}break o}a=P()|0;O()|0;dc(g);break c}n=a;h=Qh(b,304502);if(h){a=0;i=mj(h,248324);g=0;t:{if(!i){break t}g=0;if(!Ad(v[i+4>>2],232840)){break t}g=1;if(!Ad(v[i+4>>2],239314)){break t}g=!Ad(v[i+4>>2],232130)<<1}h=mj(h,248317);u:{if(!h){break u}if(!Ad(v[h+4>>2],242439)){break u}if(!Ad(v[h+4>>2],281515)){a=1;break u}a=!Ad(v[h+4>>2],255710)<<1}h=fc(8);v[h+4>>2]=a;v[h>>2]=g}else{h=0}r=h;a=0;g=0;h=0;v:{i=Qh(b,263653);if(!i){break v}w:{x:{y:{if(Qh(i,231733)){break y}a=1;if(Qh(i,231746)){break y}a=2;if(!Qh(i,231724)){break x}}h=Qh(b,234093);if(!h){break x}h=Qh(h,277387);if(!h){break x}h=Ub[v[v[h>>2]+40>>2]](h)|0;if(!h){break x}if(!(Ub[v[v[h>>2]+36>>2]](h)|0)){break x}g=v[h+20>>2];h=fc(8);v[299999]=0;Q(3064,h|0,g|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break w}g=fc(8);v[g+4>>2]=h;v[g>>2]=a}h=g;break v}a=P()|0;O()|0;dc(h);break c}j=h;g=0;z:{a=Qh(b,263653);if(!a){break z}l=Qh(a,284022);if(!l){break z}a=mj(l,279579);if(!a){break z}b=v[a+4>>2];a=fc(8);v[299999]=0;Q(3064,a|0,b|0)|0;b=v[299999];v[299999]=0;A:{if((b|0)==1){h=P()|0;O()|0;break A}b=mj(l,243956);w=3;B:{if(!b){break B}g=v[v[b+4>>2]+4>>2];i=af(g,58);if(i){b=fc(8);v[299999]=0;h=Y(3083,b|0,g|0,i-g|0)|0;g=v[299999];v[299999]=0;if((g|0)!=1){q=xf(v[h+4>>2]);Dc(h);dc(b);t=q;q=xf(i+1|0);w=q==0?t:t/q;break B}h=P()|0;O()|0;a=b;break A}w=xf(g)}b=mj(l,269625);if(b){t=hR(v[b+4>>2])}else{t=.7086614173228346}b=mj(l,232205);if(b){q=hR(v[b+4>>2])}else{q=14.173228346456694}i=0;o=0;b=mj(l,268434);if(b){o=he(v[v[b+4>>2]+4>>2])}b=mj(l,260611);if(b){i=he(v[v[b+4>>2]+4>>2])}C:{b=mj(l,247634);if(b){g=v[b+4>>2];b=fc(8);v[299999]=0;h=Q(3064,b|0,g|0)|0;g=v[299999];v[299999]=0;if((g|0)!=1){break C}h=P()|0;O()|0;a=b;break A}b=fc(8);v[299999]=0;h=Q(3063,b|0,222324)|0;g=v[299999];v[299999]=0;if((g|0)!=1){break C}h=P()|0;O()|0;a=b;break A}g=fc(48);v[g+40>>2]=h;v[g+36>>2]=i;v[g+32>>2]=o;A[g+24>>3]=q;A[g+16>>3]=t;A[g+8>>3]=w;v[g>>2]=a;break z}dc(a);T(h|0);L()}l=fc(24);v[299999]=0;i=S(1,8)|0;a=v[299999];v[299999]=0;D:{E:{if((a|0)==1){break E}v[299999]=0;Q(3064,i|0,k|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){a=P()|0;O()|0;dc(i);break D}v[299999]=0;h=S(1,8)|0;a=v[299999];v[299999]=0;if((a|0)==1){break E}v[299999]=0;b=Q(3064,h|0,p|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){a=P()|0;O()|0;dc(h);break D}v[l+20>>2]=g;v[l+16>>2]=j;v[l+12>>2]=r;v[l+8>>2]=n;v[l+4>>2]=h;v[l>>2]=i;Hi(v[x+4>>2],b,l);break m}a=P()|0;O()|0}dc(l);break c}g=Ub[v[v[b>>2]+32>>2]](b,240636)|0;b=Ub[v[v[b>>2]+40>>2]](b)|0;if(!b){break m}g=g?k:0;while(1){if(Ub[v[v[b>>2]+28>>2]](b)|0){jR(a,b,k,p,s,u,g,h,i)}b=Ub[v[v[b>>2]+44>>2]](b)|0;if(b){continue}break}}if(!(!k|(c|0)==(k|0))){dc(Dc(k))}if(!(!p|(d|0)==(p|0))){dc(Dc(p))}if(!(!s|(e|0)==(s|0))){dc(ah(s))}if((f|0)!=(u|0)){dc(ah(u))}Qb=m- -64|0;return}}a=P()|0;O()|0;dc(n)}T(a|0);L()}function gR(a){var 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,u=0,x=0,y=0;g=Qb-4160|0;Qb=g;v[g+4140>>2]=-1;v[a+76>>2]=0;v[a+20>>2]=-1;c=v[a>>2];Ub[v[v[c>>2]+20>>2]](c);k=v[a+4>>2];d=g+32|0;j=d;e=1;while(1){b=j-d|0;if(!(l|(b|0)>255)){c=g+32|0;gc(c,d,b);f=v[a>>2];j=b+c|0;l=4096-b|0;b=Ub[v[v[f>>2]+40>>2]](f,j,l)|0;j=b+j|0;t[j|0]=0;l=(b|0)<(l|0);k=(k-c|0)+d|0;d=c}if(!(!l|(d|0)!=(j|0))){d=0;if((o|0)>0){h=a+40|0;while(1){v[g+16>>2]=13;b=(d<<2)+q|0;c=v[b>>2];Sm(a,c,v[(v[a+8>>2]+B(c,12)|0)+4>>2],g+16|0,0);if(v[g+16>>2]==8){c=v[g+24>>2];c=Ub[v[v[c>>2]+76>>2]](c)|0;v[g>>2]=13;rc(c,279704,g,0);a:{if(v[g>>2]!=4){break a}e=v[g+8>>2];if(!mc(e,273831)){v[g+4144>>2]=13;Ce(c,227655,g+4144|0);b:{if(v[g+4144>>2]!=9){break b}b=v[g+4152>>2];if((b|0)>v[a+16>>2]){break b}v[a+20>>2]=b;v[a+24>>2]=v[g+4156>>2];if(v[a+40>>2]!=13){hc(h)}v[h+8>>2]=c;v[h>>2]=7;v[c+20>>2]=v[c+20>>2]+1}hc(g+4144|0);break a}if(mc(e,255573)){break a}p=v[b>>2];c=Qb-32|0;Qb=c;v[c+16>>2]=13;v[c>>2]=13;c:{d:{e:{f:{b=v[g+24>>2];g:{if(v[rc(Ub[v[v[b>>2]+76>>2]](b)|0,316328,c+16|0,0)>>2]!=1){hc(c+16|0);break g}n=v[c+24>>2];hc(c+16|0);if(n-1>>>0>999999){break g}i=fc(56);v[299999]=0;b=S(1,160)|0;e=v[299999];v[299999]=0;if((e|0)==1){break e}e=v[g+24>>2];f=v[v[e>>2]+8>>2];v[299999]=0;e=S(f|0,e|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break f}v[299999]=0;e=Y(4033,b|0,0,e|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break f}v[299999]=0;m=Z(3437,i|0,0,e|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break e}j=0;while(1){Kg(m,c+16|0,1,0,0,0,0,0,0);Kg(m,c,1,0,0,0,0,0,0);h:{if(v[c+16>>2]!=1|v[c>>2]!=1){break h}f=v[c+24>>2];if(f>>>0>999999){break h}i:{if((f|0)>2]){l=v[a+8>>2];break i}k=f+256&-256;l=pd(v[a+8>>2],k,12);v[a+8>>2]=l;b=v[a+12>>2];j:{if((k|0)<=(b|0)){break j}s=k+(b^-1)|0;e=0-b&3;if(e){while(1){r=B(b,12)+l|0;v[r+8>>2]=0;v[r>>2]=-1;b=b+1|0;e=e-1|0;if(e){continue}break}}if(s>>>0<=2){break j}while(1){e=B(b,12)+l|0;v[e>>2]=-1;v[e+8>>2]=0;v[e+12>>2]=-1;v[e+20>>2]=0;v[e+24>>2]=-1;v[e+44>>2]=0;v[e+32>>2]=0;v[e+36>>2]=-1;b=b+4|0;if((k|0)!=(b|0)){continue}break}}v[a+12>>2]=k}b=B(f,12)+l|0;if(v[b+4>>2]>(j|0)?v[b+8>>2]:0){break h}v[b+4>>2]=j;v[b>>2]=p;v[b+8>>2]=2;if((f|0)<=v[a+16>>2]){break h}v[a+16>>2]=f}hc(c);hc(c+16|0);j=j+1|0;if((n|0)!=(j|0)){continue}break}Zk(m);dc(i)}Qb=c+32|0;break c}a=P()|0;O()|0;dc(b);break d}a=P()|0;O()|0}dc(i);T(a|0);L()}}hc(g)}hc(g+16|0);d=d+1|0;if((o|0)!=(d|0)){continue}break}}uc(q);d=1;if(v[a+20>>2]<0){kc(1,-1,218018,0);d=0}Qb=g+4160|0;return d}k:{if(e){if(!Oc(d,239555,7)){d=d+7|0;f=d+(k-(g+32|0)|0)|0;c=Qb-48|0;Qb=c;v[c+16>>2]=13;v[c>>2]=5;e=fc(56);v[299999]=0;b=S(1,160)|0;h=v[299999];v[299999]=0;l:{m:{n:{o:{if((h|0)==1){break o}h=v[a>>2];i=v[v[h>>2]+92>>2];v[299999]=0;f=ca(i|0,h|0,f|0,0,0,c|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break n}v[299999]=0;f=Y(4033,b|0,0,f|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break n}v[299999]=0;h=Z(3437,e|0,0,f|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break o}Kg(h,c+16|0,0,0,0,0,0,0,0);if(v[c+16>>2]==7){b=v[c+24>>2];v[c+32>>2]=13;Ce(b,227655,c+32|0);if(v[c+32>>2]==9){v[a+20>>2]=v[c+40>>2];v[a+24>>2]=v[c+44>>2];f=a+40|0;if(v[a+40>>2]!=13){hc(f)}v[f+8>>2]=b;v[f>>2]=7;v[b+20>>2]=v[b+20>>2]+1}hc(c+32|0)}hc(c+16|0);Zk(h);dc(e);Qb=c+48|0;break l}a=P()|0;O()|0;break m}a=P()|0;O()|0;dc(b)}dc(e);T(a|0);L()}e=0;continue}if(!Oc(d,256121,9)){e=v[a+76>>2];p:{if((n|0)!=(e|0)){b=v[a+72>>2];break p}n=n- -64|0;b=pd(v[a+72>>2],n,4);v[a+72>>2]=b;e=v[a+76>>2]}v[a+76>>2]=e+1;v[(e<<2)+b>>2]=(k-(g+32|0)|0)+d;d=d+9|0;e=0;continue}e=w[d|0];if((e-48&255)>>>0>9){break k}e=0;s=(k-(g+32|0)|0)+d|0;f=0;c=w[d|0];while(1){q:{f=(B(f,10)+(c<<24>>24)|0)-48|0;b=d+1|0;h=w[d+1|0];c=h<<24>>24;if((c|0)<48|(c|0)>57){break q}d=b;if((f|0)<1e8){continue}}break}c=b;d=h-9|0;r:{if(d>>>0>23){break r}if(!(1<>>0>23){break s}if(1<>>0>9){break r}r=g+4140|0;h=0;while(1){t:{h=(B(h,10)+(d&255)|0)-48|0;c=b+1|0;i=w[b+1|0];d=i<<24>>24;if((d|0)<48|(d|0)>57){break t}b=c;if((h|0)<1e8){continue}}break}b=i-9|0;u:{if(b>>>0>23|!(1<>>0>23){break v}if(1<>2];w:{if(v[a+12>>2]>(f|0)){m=v[a+8>>2];break w}i=f+256&-256;if((i|0)<0){break u}m=pd(v[a+8>>2],i,12);v[a+8>>2]=m;b=v[a+12>>2];x:{if((i|0)<=(b|0)){break x}y=i+(b^-1)|0;d=0-b&3;if(d){while(1){u=B(b,12)+m|0;v[u+8>>2]=0;v[u>>2]=-1;b=b+1|0;d=d-1|0;if(d){continue}break}}if(y>>>0<=2){break x}while(1){d=B(b,12)+m|0;v[d>>2]=-1;v[d+8>>2]=0;v[d+12>>2]=-1;v[d+20>>2]=0;v[d+24>>2]=-1;v[d+44>>2]=0;v[d+32>>2]=0;v[d+36>>2]=-1;b=b+4|0;if((i|0)!=(b|0)){continue}break}}v[a+12>>2]=i}b=B(f,12)+m|0;y:{if(v[b+4>>2]>(h|0)?v[b+8>>2]:0){break y}v[b+4>>2]=h;v[b>>2]=s-x;v[b+8>>2]=1;if(v[a+16>>2]>=(f|0)){break y}v[a+16>>2]=f}v[r>>2]=f}}d=c;continue}e=w[d|0]}c=e&255;if((c|0)!=62|w[d+1|0]!=62){e=(c|0)==10|(c|0)==13;d=d+1|0;continue}else{d=d+2|0;e=0;while(1){c=w[d|0];b=c-9|0;if(!(b>>>0>23|!(1<>2];if((c|0)>=0){if((o|0)==(p|0)){p=p- -64|0;q=pd(q,p,4)}v[(o<<2)+q>>2]=c;o=o+1|0}d=d+6|0;e=0;continue}}}function W1(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;j=Ub[v[v[b>>2]+36>>2]](b)|0;e=Ub[v[v[b>>2]+20>>2]](b,4)|0;c=Ub[v[v[b>>2]+20>>2]](b,4)|0;a:{b:{switch(e|0){case 1:e=1;if(Ub[v[v[b>>2]+20>>2]](b,4)|0){break a}e=Ub[v[v[b>>2]+20>>2]](b,4)|0;if(e){break a}e=(Ub[v[v[b>>2]+40>>2]](b)|0)+12|0;break a;case 0:break b;default:break a}}d=Ub[v[v[b>>2]+40>>2]](b)|0;e=(d|0)>0?d+8|0:0}c:{while(1){d:{d=0;e:{switch(c-1785737827|0){case 0:break c;case 5:break d;default:break e}}Ub[v[v[b>>2]+24>>2]](b,e-8|0);j=Ub[v[v[b>>2]+36>>2]](b)|0;e=Ub[v[v[b>>2]+20>>2]](b,4)|0;c=Ub[v[v[b>>2]+20>>2]](b,4)|0;f:{g:{switch(e|0){case 1:if(Ub[v[v[b>>2]+20>>2]](b,4)|0){break c}e=Ub[v[v[b>>2]+20>>2]](b,4)|0;if(e){break f}e=(Ub[v[v[b>>2]+40>>2]](b)|0)+12|0;break f;case 0:break g;default:break f}}e=Ub[v[v[b>>2]+40>>2]](b)|0;if((e|0)<1){break c}e=e+8|0}if((c|0)!=1785737832){continue}}break}f=Ub[v[v[b>>2]+36>>2]](b)|0;c=Ub[v[v[b>>2]+20>>2]](b,4)|0;g=Ub[v[v[b>>2]+20>>2]](b,4)|0;h:{i:{switch(c|0){case 1:c=1;if(Ub[v[v[b>>2]+20>>2]](b,4)|0){break h}c=Ub[v[v[b>>2]+20>>2]](b,4)|0;if(c){break h}c=(Ub[v[v[b>>2]+40>>2]](b)|0)+12|0;break h;case 0:break i;default:break h}}c=Ub[v[v[b>>2]+40>>2]](b)|0;c=(c|0)>0?c+8|0:0}if((g|0)!=1768449138){break c}l=a,m=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[l+12>>2]=m;l=a,m=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[l+8>>2]=m;d=Ub[v[v[b>>2]+20>>2]](b,2)|0;v[a+16>>2]=d;g=B(d,12);h=jc(g);if(!h){v[a+68>>2]=0;v[v[a>>2]+20>>2]=1;return 0}d=0;l=a,m=ic(h,0,g),v[l+68>>2]=m;l=a,m=Ub[v[v[b>>2]+20>>2]](b,1)|0,v[l+20>>2]=m;l=a,m=Ub[v[v[b>>2]+20>>2]](b,1)|0,v[l+24>>2]=m;l=a,m=Ub[v[v[b>>2]+20>>2]](b,1)|0,v[l+28>>2]=m;l=a,m=Ub[v[v[b>>2]+20>>2]](b,1)|0,v[l+32>>2]=m;if(((Ub[v[v[b>>2]+36>>2]](b)|0)-f|0)!=(c|0)){break c}f=Ub[v[v[b>>2]+36>>2]](b)|0;Ub[v[v[b>>2]+36>>2]](b)|0;c=Ub[v[v[b>>2]+20>>2]](b,4)|0;d=Ub[v[v[b>>2]+20>>2]](b,4)|0;j:{k:{switch(c|0){case 1:c=1;if(Ub[v[v[b>>2]+20>>2]](b,4)|0){break j}c=Ub[v[v[b>>2]+20>>2]](b,4)|0;if(c){break j}c=(Ub[v[v[b>>2]+40>>2]](b)|0)+12|0;break j;case 0:break k;default:break j}}c=Ub[v[v[b>>2]+40>>2]](b)|0;c=(c|0)>0?c+8|0:0}l:{while(1){if(!d){break l}if((d|0)!=1667523942){Ub[v[v[b>>2]+24>>2]](b,c-8|0);Ub[v[v[b>>2]+36>>2]](b)|0;c=Ub[v[v[b>>2]+20>>2]](b,4)|0;d=Ub[v[v[b>>2]+20>>2]](b,4)|0;m:{n:{switch(c|0){case 1:c=1;if(Ub[v[v[b>>2]+20>>2]](b,4)|0){break m}c=Ub[v[v[b>>2]+20>>2]](b,4)|0;if(c){break m}c=(Ub[v[v[b>>2]+40>>2]](b)|0)+12|0;break m;case 0:break n;default:break m}}c=Ub[v[v[b>>2]+40>>2]](b)|0;c=(c|0)>0?c+8|0:0}if((d|0)!=1667523942){continue}}break}d=Ub[v[v[b>>2]+20>>2]](b,2)|0;if((d|0)<1){break l}c=0;while(1){Ub[v[v[b>>2]+20>>2]](b,2)|0;Ub[v[v[b>>2]+20>>2]](b,2)|0;Ub[v[v[b>>2]+20>>2]](b,2)|0;c=c+1|0;if((d|0)!=(c|0)){continue}break}}Ub[v[v[b>>2]+28>>2]](b,f);if(v[a+20>>2]==255){g=Ub[v[v[b>>2]+36>>2]](b)|0;f=Ub[v[v[b>>2]+20>>2]](b,4)|0;c=Ub[v[v[b>>2]+20>>2]](b,4)|0;o:{p:{switch(f|0){case 1:f=1;if(Ub[v[v[b>>2]+20>>2]](b,4)|0){break o}f=Ub[v[v[b>>2]+20>>2]](b,4)|0;if(f){break o}f=(Ub[v[v[b>>2]+40>>2]](b)|0)+12|0;break o;case 0:break p;default:break o}}d=Ub[v[v[b>>2]+40>>2]](b)|0;f=(d|0)>0?d+8|0:0}d=0;if((c|0)!=1651532643){break c}if(v[a+16>>2]){c=0;while(1){d=Ub[v[v[b>>2]+20>>2]](b,1)|0;v[(v[a+68>>2]+B(c,12)|0)+8>>2]=d;c=c+1|0;if(c>>>0>2]){continue}break}}d=0;if(((Ub[v[v[b>>2]+36>>2]](b)|0)-g|0)!=(f|0)){break c}}k=Ub[v[v[b>>2]+36>>2]](b)|0;q:{if(w[a+88|0]){break q}f=Ub[v[v[b>>2]+36>>2]](b)|0;c=Ub[v[v[b>>2]+20>>2]](b,4)|0;d=Ub[v[v[b>>2]+20>>2]](b,4)|0;r:{s:{switch(c|0){case 1:c=1;if(Ub[v[v[b>>2]+20>>2]](b,4)|0){break r}c=Ub[v[v[b>>2]+20>>2]](b,4)|0;if(c){break r}c=(Ub[v[v[b>>2]+40>>2]](b)|0)+12|0;break r;case 0:break s;default:break r}}c=Ub[v[v[b>>2]+40>>2]](b)|0;c=(c|0)>0?c+8|0:0}t:{while(1){if((d|0)!=1668246642){if((d|0)==1785737827){break t}Ub[v[v[b>>2]+24>>2]](b,c-8|0);f=Ub[v[v[b>>2]+36>>2]](b)|0;c=Ub[v[v[b>>2]+20>>2]](b,4)|0;d=Ub[v[v[b>>2]+20>>2]](b,4)|0;u:{v:{switch(c|0){case 1:c=1;if(Ub[v[v[b>>2]+20>>2]](b,4)|0){break u}c=Ub[v[v[b>>2]+20>>2]](b,4)|0;if(c){break u}c=(Ub[v[v[b>>2]+40>>2]](b)|0)+12|0;break u;case 0:break v;default:break u}}c=Ub[v[v[b>>2]+40>>2]](b)|0;c=(c|0)>0?c+8|0:0}if((d|0)!=1668246642){continue}}break}l=a,m=Ub[v[v[b>>2]+20>>2]](b,1)|0,v[l+36>>2]=m;l=a,m=Ub[v[v[b>>2]+20>>2]](b,1)|0,v[l+40>>2]=m;l=a,m=Ub[v[v[b>>2]+20>>2]](b,1)|0,v[l+44>>2]=m;w:{x:{y:{switch(v[a+36>>2]-1|0){case 0:d=Ub[v[v[b>>2]+20>>2]](b,4)|0;t[a+88|0]=1;v[a+48>>2]=d;break x;case 1:g=c-3|0;v[a+84>>2]=g;h=jc(g);if(!h){break w}d=0;l=a,m=ic(h,0,g),v[l+80>>2]=m;z:{if((c|0)<4){break z}if((c|0)!=4){h=g&-2;while(1){i=Ub[v[v[b>>2]+20>>2]](b,1)|0;t[v[a+80>>2]+d|0]=i;i=Ub[v[v[b>>2]+20>>2]](b,1)|0;t[v[a+80>>2]+(d|1)|0]=i;d=d+2|0;h=h-2|0;if(h){continue}break}}if(!(g&1)){break z}g=Ub[v[v[b>>2]+20>>2]](b,1)|0;t[v[a+80>>2]+d|0]=g}t[a+88|0]=1;break x;default:break y}}d=c+f|0;if((Ub[v[v[b>>2]+36>>2]](b)|0)>(d|0)){break t}m=b,n=d-(Ub[v[v[b>>2]+36>>2]](b)|0)|0,l=v[v[b>>2]+24>>2],Ub[l](m|0,n|0)}if(((Ub[v[v[b>>2]+36>>2]](b)|0)-f|0)==(c|0)){break q}break t}v[a+80>>2]=0;v[a+84>>2]=0}Ub[v[v[b>>2]+28>>2]](b,k);v[a+44>>2]=0;v[a+48>>2]=16;v[a+36>>2]=1;v[a+40>>2]=0}a=e+j|0;c=Ub[v[v[b>>2]+36>>2]](b)|0;if((a|0)>=(c|0)){n=b,m=a-(Ub[v[v[b>>2]+36>>2]](b)|0)|0,l=v[v[b>>2]+24>>2],Ub[l](n|0,m|0)}d=(a|0)>=(c|0)}return d}function _Za(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,j=0,k=0,l=0,m=0,n=0,o=0;i=Qb-48|0;Qb=i;h=2;a:{b:{c:{switch(v[a+796>>2]-1|0){case 0:case 1:if(!v[a+864>>2]){h=142;break a}j=v[v[a+804>>2]+(b<<2)>>2];b=v[a+104>>2];h=Yc(b,v[a+860>>2]);if(h){break a}v[i+4>>2]=b;v[i>>2]=a;b=v[a+84>>2];u[i+16>>1]=0;v[i+12>>2]=g;v[i+8>>2]=b+76;v[i+20>>2]=v[a+860>>2];v[i+24>>2]=v[a+864>>2];b=v[a+788>>2];v[i+36>>2]=b;e=v[a+792>>2];v[i+40>>2]=e+b;h=3;g=B(j,48);if(e>>>0>>0){break a}b=b+g|0;g=w[b+8|0]|w[b+9|0]<<8|(w[b+10|0]<<16|w[b+11|0]<<24);j=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);v[i+28>>2]=j;g=w[b+16|0]|w[b+17|0]<<8|(w[b+18|0]<<16|w[b+19|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);v[i+32>>2]=g;t[i+18|0]=w[b+54|0];if(e>>>0>>0|g>>>0>e-j>>>3>>>0){break a}h=pZ(i,c,0,0,0,d>>>22&1);if(h){break a}if(!(d&5242880)){break b}h=0;break a;case 2:break c;default:break a}}b=v[v[a+804>>2]+(b<<2)>>2];d=0;u[g>>1]=0;u[g+2>>1]=0;if(y[a+16>>2]>>0){h=6;break a}b=v[a+788>>2]+(b<<2)|0;b=w[b+8|0]|w[b+9|0]<<8|(w[b+10|0]<<16|w[b+11|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);g=b+4|0;while(1){f=v[a+864>>2];if(f>>>0<=b>>>0){h=3;break a}c=c<<2;if(c+12>>>0>f-b>>>0){h=3;break a}h=Yc(e,v[a+860>>2]+(c+g|0)|0);if(h){break a}h=ne(e,8);if(h){break a}c=Sg(e);f=Sg(e);Vd(e);if((c|0)==(f|0)){h=157;break a}if(c>>>0>f>>>0){h=3;break a}j=f-c|0;if(j>>>0<8){h=3;break a}h=3;if(f>>>0>v[a+864>>2]-b>>>0){break a}h=Yc(e,v[a+860>>2]+(b+c|0)|0);if(h){break a}h=ne(e,j);if(h){break a}He(e);He(e);c=Sg(e);if((c|0)!=1685418085){d:{if(!((c|0)==1785751328|(c|0)==1919378028)){h=7;if((c|0)!=1953064550){break d}}h=2}Vd(e);break a}if((d|0)==4){h=3;Vd(e);break a}c=He(e);Vd(e);d=d+1|0;if(y[a+16>>2]>=c>>>0){continue}break}h=6;break a}h=0;if(w[f+18|0]!=7){break a}n=v[v[a+84>>2]>>2];if(i){v[i>>2]=0;v[i+4>>2]=0;v[i+16>>2]=0;v[i+20>>2]=0;v[i+8>>2]=0;v[i+12>>2]=0}g=f;m=Qb-16|0;Qb=m;v[m+12>>2]=0;e:{if(!n){d=33;break e}d=6;if(!g|!i){break e}f:{if(w[g+18|0]-1>>>0<=6){f=v[n>>2];t[i+18|0]=2;h=v[i>>2];c=v[g>>2];v[i>>2]=c;v[i+4>>2]=v[g+4>>2];e=v[i+8>>2];b=v[g+4>>2];if((b|0)>=1){Bib(b,0,c,0);if(Tb){break e}}d=e>>31;c=D_(f,B(h,d+e^d),B(b,c),v[i+12>>2],m+12|0);v[i+12>>2]=c;d=v[m+12>>2];if(d){break e}v[i+8>>2]=v[i+8>>2]<0?0-b|0:b;break f}v[m+12>>2]=6;c=v[i+12>>2]}b=v[g+12>>2];f=v[g+8>>2];if((f|0)<=-1){b=B(1-v[g>>2]|0,f)+b|0}j=v[i+8>>2];if((j|0)<=-1){c=B(1-v[i>>2]|0,j)+c|0}g:{h:{switch(w[g+18|0]-1|0){case 0:u[i+16>>1]=2;j=v[g>>2];if(!j){break g}while(1){e=v[g+4>>2];i:{if(e>>>0<8){f=b;d=c;break i}h=e>>>3|0;d=c;f=b;while(1){e=w[f|0];t[d+7|0]=e&1;t[d|0]=e>>>7;t[d+6|0]=e>>>1&1;t[d+5|0]=e>>>2&1;t[d+4|0]=e>>>3&1;t[d+3|0]=e>>>4&1;t[d+2|0]=e>>>5&1;t[d+1|0]=e>>>6&1;f=f+1|0;d=d+8|0;h=h-1|0;if(h){continue}break}e=v[g+4>>2]}e=e&7;j:{if(!e){break j}f=w[f|0];t[d|0]=f>>>7;if((e|0)==1){break j}t[d+1|0]=f>>>6&1;if((e|0)==2){break j}t[d+2|0]=f>>>5&1;if((e|0)==3){break j}t[d+3|0]=f>>>4&1;if((e|0)==4){break j}t[d+4|0]=f>>>3&1;if((e|0)==5){break j}t[d+5|0]=f>>>2&1;if((e|0)==6){break j}t[d+6|0]=f>>>1&1}c=v[i+8>>2]+c|0;b=v[g+8>>2]+b|0;j=j-1|0;if(j){continue}break};break g;case 6:u[i+16>>1]=256;k=v[g>>2];if(!k){break g}h=v[g+4>>2];if(!h){break g}while(1){e=c;d=b;if(h){while(1){f=e;j=w[d+3|0];if(j){l=w[d+1|0];o=B(B(l,l),46871);l=w[d|0];o=o+B(B(l,l),4732)|0;l=w[d+2|0];j=j-((o+B(B(l,l),13933)>>>16>>>0)/(j>>>0)|0)|0}else{j=0}t[f|0]=j;e=e+1|0;d=d+4|0;h=h-1|0;if(h){continue}break}j=v[i+8>>2];f=v[g+8>>2]}k=k-1|0;if(!k){break g}b=b+f|0;c=c+j|0;h=v[g+4>>2];continue};case 3:u[i+16>>1]=16;k=v[g>>2];if(!k){break g}while(1){f=v[g+4>>2];k:{if(f>>>0<2){e=b;d=c;break k}f=f>>>1|0;j=f-1|0;d=c;e=b;h=f&3;if(h){while(1){l=w[e|0];t[d+1|0]=l&15;t[d|0]=l>>>4;f=f-1|0;d=d+2|0;e=e+1|0;h=h-1|0;if(h){continue}break}}if(j>>>0>=3){while(1){h=w[e|0];t[d+1|0]=h&15;t[d|0]=h>>>4;h=w[e+1|0];t[d+3|0]=h&15;t[d+2|0]=h>>>4;h=w[e+2|0];t[d+5|0]=h&15;t[d+4|0]=h>>>4;h=w[e+3|0];t[d+7|0]=h&15;t[d+6|0]=h>>>4;d=d+8|0;e=e+4|0;f=f-4|0;if(f){continue}break}}f=v[g+4>>2]}if(f&1){t[d|0]=w[e|0]>>>4}c=v[i+8>>2]+c|0;b=v[g+8>>2]+b|0;k=k-1|0;if(k){continue}break};break g;case 2:u[i+16>>1]=4;j=v[g>>2];if(!j){break g}while(1){f=v[g+4>>2];l:{if(f>>>0<4){e=b;d=c;break l}k=f>>>2|0;h=k;d=c;e=b;if(f&4){d=w[b|0];t[c+3|0]=d&3;t[c|0]=d>>>6;t[c+2|0]=d>>>2&3;t[c+1|0]=d>>>4&3;h=k-1|0;e=b+1|0;d=c+4|0}if((k|0)!=1){while(1){f=w[e|0];t[d+3|0]=f&3;t[d|0]=f>>>6;t[d+2|0]=f>>>2&3;t[d+1|0]=f>>>4&3;f=w[e+1|0];t[d+7|0]=f&3;t[d+4|0]=f>>>6;t[d+6|0]=f>>>2&3;t[d+5|0]=f>>>4&3;d=d+8|0;e=e+2|0;h=h-2|0;if(h){continue}break}}f=v[g+4>>2]}f=f&3;m:{if(!f){break m}e=w[e|0];t[d|0]=e>>>6;if((f|0)==1){break m}t[d+1|0]=e>>>4&3;if((f|0)==2){break m}t[d+2|0]=e>>>2&3}c=v[i+8>>2]+c|0;b=v[g+8>>2]+b|0;j=j-1|0;if(j){continue}break};break g;case 1:case 4:case 5:break h;default:break g}}f=v[g+4>>2];u[i+16>>1]=256;d=v[g>>2];if(!d){break g}if(d&1){c=gc(c,b,f)+v[i+8>>2]|0;b=v[g+8>>2]+b|0;e=d-1|0}else{e=d}if((d|0)==1){break g}while(1){c=gc(c,b,f);b=v[g+8>>2]+b|0;c=gc(c+v[i+8>>2]|0,b,f)+v[i+8>>2]|0;b=b+v[g+8>>2]|0;e=e-2|0;if(e){continue}break}}d=v[m+12>>2]}Qb=m+16|0;h=d;if(d){if(i?n:0){SK(n,i)}break a}t[g+18|0]=w[i+18|0];v[g+8>>2]=v[i+8>>2];u[g+16>>1]=x[i+16>>1];ZH(v[a+84>>2],v[i+12>>2]);a=v[v[a+84>>2]+156>>2];v[a+4>>2]=v[a+4>>2]|1}Qb=i+48|0;return h|0}function xE(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;g=Qb+-64|0;Qb=g;a:{b:{f=v[a+56>>2];x=Ub[v[v[f>>2]+28>>2]](f)|0;if((x|0)==-1){break b}f=v[a+56>>2];C=Ub[v[v[f>>2]+28>>2]](f)|0;if((C|0)==-1){break b}f=v[a+56>>2];G=Ub[v[v[f>>2]+28>>2]](f)|0;if((G|0)==-1){break b}f=v[a+56>>2];m=Ub[v[v[f>>2]+28>>2]](f)|0;if((m|0)==-1){break b}v[a+68>>2]=v[a+68>>2]+4;f=v[a+56>>2];r=Ub[v[v[f>>2]+28>>2]](f)|0;if((r|0)==-1){break b}f=v[a+56>>2];D=Ub[v[v[f>>2]+28>>2]](f)|0;if((D|0)==-1){break b}f=v[a+56>>2];E=Ub[v[v[f>>2]+28>>2]](f)|0;if((E|0)==-1){break b}f=v[a+56>>2];H=Ub[v[v[f>>2]+28>>2]](f)|0;if((H|0)==-1){break b}v[a+68>>2]=v[a+68>>2]+4;f=v[a+56>>2];h=Ub[v[v[f>>2]+28>>2]](f)|0;if((h|0)==-1){break b}f=v[a+56>>2];o=Ub[v[v[f>>2]+28>>2]](f)|0;if((o|0)==-1){break b}f=v[a+56>>2];k=Ub[v[v[f>>2]+28>>2]](f)|0;if((k|0)==-1){break b}f=v[a+56>>2];l=Ub[v[v[f>>2]+28>>2]](f)|0;if((l|0)==-1){break b}v[a+68>>2]=v[a+68>>2]+4;f=v[a+56>>2];j=Ub[v[v[f>>2]+28>>2]](f)|0;if((j|0)==-1){break b}f=v[a+56>>2];s=Ub[v[v[f>>2]+28>>2]](f)|0;if((s|0)==-1){break b}f=v[a+56>>2];i=Ub[v[v[f>>2]+28>>2]](f)|0;if((i|0)==-1){break b}f=v[a+56>>2];q=Ub[v[v[f>>2]+28>>2]](f)|0;if((q|0)==-1){break b}v[a+68>>2]=v[a+68>>2]+4;f=v[a+56>>2];I=Ub[v[v[f>>2]+28>>2]](f)|0;if((I|0)==-1){break b}v[a+68>>2]=v[a+68>>2]+1;c:{x=m|(C<<16|x<<24|G<<8);m=v[a+24>>2];d:{if((x>>>0)/10>>>0>m>>>0){break d}C=q|(s<<16|j<<24|i<<8);f=v[a+28>>2];F=H|(D<<16|r<<24|E<<8);G=l|(o<<16|h<<24|k<<8);if(f>>>0<(F>>>0)/10>>>0|(G>>>0)/10>>>0>m>>>0){break d}if(f>>>0>=(C>>>0)/10>>>0){break c}}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,230118,0);v[a+72>>2]=1;break a}f=v[a+56>>2];r=Ub[v[v[f>>2]+28>>2]](f)|0;if((r|0)==-1){break b}v[a+68>>2]=v[a+68>>2]+1;if(!Jr(a,g+60|0)){break b}if(!Jr(a,g+56|0)){break b}if(!Jr(a,g+12|0)){break b}if(!Jr(a,g+8|0)){break b}if(!ey(a,g+52|0)){break b}if(!ey(a,g+48|0)){break b}if(!(!(!x|!F)&x>>>0<2147483647/(F>>>0)>>>0)){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,230273,0);break a}e:{p=v[g+60>>2];f:{if(!p){break f}u=v[g+56>>2];if(!u){break f}if(p>>>0<2147483647/(u>>>0)>>>0){break e}}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,230315,0);break a}if((e|0)!=1){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,230355,0);break a}g:{z=cy(a,v[d>>2]);if(z){if((Ub[v[v[z>>2]+8>>2]](z)|0)==2){break g}}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,230355,0);break a}H=r&1;q=r>>>1|0;f=-1;d=v[z+8>>2];h:{if(d>>>0<2){break h}e=d-1|0;if(!e){break h}d=0;while(1){f=d;d=f+1|0;m=e>>>0>1;e=e>>>1|0;if(m){continue}break}}D=q&3;d=v[v[z+12>>2]>>2];k=v[d+12>>2];l=v[d+8>>2];if(!H){uE(a,D,0);Ul(v[a+76>>2])}q=fc(24);v[299999]=0;A=Z(3698,q|0,b|0,x|0,F|0)|0;b=v[299999];v[299999]=0;i:{if((b|0)!=1){E=r>>>3&1;d=B(v[A+16>>2],v[A+12>>2]);b=v[A+20>>2];j:{if(r&128){ic(b,255,d);break j}ic(b,0,d)}k:{if(E){d=0;b=fc(24);v[299999]=0;n=Z(3698,b|0,0,p|0,u|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break k}ic(v[n+20>>2],0,B(v[n+16>>2],v[n+12>>2]));j=v[g+8>>2];h=v[g+52>>2];o=v[g+48>>2];s=v[g+12>>2];while(1){i=B(d,h);m=s+B(d,o)|0;e=0;while(1){b=B(e,h)+m|0;l:{m:{if((b+l|0)<256|(x|0)<=b>>8){break m}b=j+(i-B(e,o)|0)|0;if((b+k|0)<256){break m}if((F|0)>b>>8){break l}}b=v[n+20>>2]+(B(v[n+16>>2],d)+(e>>3)|0)|0;t[b|0]=w[b|0]|1<<((e^-1)&7)}e=e+1|0;if((p|0)!=(e|0)){continue}break}d=d+1|0;if((u|0)!=(d|0)){continue}break}}b=B(p,u);o=ic(ed(b,4),0,b<<2);v[g+32>>2]=D>>>0<2?3:2;v[g+36>>2]=-3;v[g+16>>2]=-1;v[g+20>>2]=-1;v[g+40>>2]=2;v[g+44>>2]=-2;v[g+24>>2]=-2;v[g+28>>2]=-2;if((f|0)>=0){d=p&3;s=p-1>>>0<3;while(1){m=f;k=Ir(a,H,p,u,D,0,E,n,g+32|0,g+16|0,-1);e=0;l=0;while(1){n:{if((l|0)>-1){b=0;while(1){i=o+(e<<2)|0;h=i;j=0;o:{if((b|0)<0){break o}j=0;if(v[k+8>>2]<=(b|0)){break o}j=0;if(v[k+12>>2]<=(l|0)){break o}j=w[v[k+20>>2]+(B(v[k+16>>2],l)+(b>>>3|0)|0)|0]>>>((b^-1)&7)&1}f=v[i>>2];v[h>>2]=j^f&1|f<<1;e=e+1|0;b=b+1|0;if((p|0)!=(b|0)){continue}break}break n}b=e;f=d;if(f){while(1){i=o+(b<<2)|0;j=v[i>>2];v[i>>2]=j&1|j<<1;b=b+1|0;f=f-1|0;if(f){continue}break}}e=e+p|0;if(s){break n}while(1){i=o+(b<<2)|0;f=v[i>>2];v[i>>2]=f&1|f<<1;f=v[i+4>>2];v[i+4>>2]=f&1|f<<1;f=v[i+8>>2];v[i+8>>2]=f&1|f<<1;f=v[i+12>>2];v[i+12>>2]=f&1|f<<1;b=b+4|0;if((e|0)!=(b|0)){continue}break}}l=l+1|0;if((u|0)!=(l|0)){continue}break}if(k){Ub[v[v[k>>2]+4>>2]](k)}f=m-1|0;if((m|0)>0){continue}break}}j=r>>>4&7;b=0;k=v[g+52>>2];s=v[g+8>>2];l=v[g+48>>2];i=v[g+12>>2];p:{if(!E){h=0;while(1){d=b+p|0;f=s+B(h,k)|0;e=i+B(h,l)|0;while(1){ik(A,v[v[z+12>>2]+(v[o+(b<<2)>>2]<<2)>>2],e>>8,f>>8,j);f=f-l|0;e=e+k|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}b=d;h=h+1|0;if((u|0)!=(h|0)){continue}break}break p}h=0;while(1){e=s+B(h,k)|0;d=i+B(h,l)|0;f=0;while(1){m=0;if(!((f|0)<0|v[n+8>>2]<=(f|0)|((h|0)<0|v[n+12>>2]<=(h|0)))){m=w[v[n+20>>2]+(B(v[n+16>>2],h)+(f>>>3|0)|0)|0]>>>((f^-1)&7)&1}if(!m){ik(A,v[v[z+12>>2]+(v[o+(b<<2)>>2]<<2)>>2],d>>8,e>>8,j)}b=b+1|0;e=e-l|0;d=d+k|0;f=f+1|0;if((p|0)!=(f|0)){continue}break}h=h+1|0;if((u|0)!=(h|0)){continue}break}}uc(o);if(n){Ub[v[v[n>>2]+4>>2]](n)}if(c){c=I&7;q:{if(v[a+28>>2]!=-1){break q}b=C+F|0;if(b>>>0<=y[a+32>>2]){break q}gy(v[a+40>>2],b,v[a+36>>2])}ik(v[a+40>>2],A,G,C,c);Ub[v[v[q>>2]+4>>2]](A);break a}Tc(v[a+48>>2],q);break a}a=P()|0;O()|0;q=b;break i}a=P()|0;O()|0}dc(q);T(a|0);L()}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,258367,0)}Qb=g- -64|0}function BP(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=Qb-96|0;Qb=e;a:{b:{c:{d:{e:{f:{g:{if(!w[b+89|0]){a=vc(e+56|0,231584,241010,286,226767,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break g}b=P()|0;O()|0;qc(a);T(b|0);L()}g=v[c>>2];if(!(v[g+8>>2]?g:0)){GP(a,b,-1,0);break e}g=Tk(e+56|0);v[299999]=0;U(4711,e+16|0,b|0,c|0);f=v[299999];v[299999]=0;h:{i:{if((f|0)!=1){v[299999]=0;Q(4478,g|0,e+16|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break i}v[e+40>>2]=981312;v[e+16>>2]=981280;f=v[e+44>>2];if(f){h=v[f+4>>2]-1|0;v[f+4>>2]=h;if(!h){Ub[v[v[f>>2]+4>>2]](f)}v[e+44>>2]=0}v[e+32>>2]=981312;f=v[e+36>>2];if(f){h=v[f+4>>2]-1|0;v[f+4>>2]=h;if(!h){Ub[v[v[f>>2]+4>>2]](f)}v[e+36>>2]=0}ec(e+24|0);j:{k:{f=v[g+8>>2];l:{m:{if(!f|!v[f+8>>2]){break m}v[299999]=0;U(4713,e+16|0,g|0,0);f=v[299999];v[299999]=0;if((f|0)==1){break l}f=v[e+16>>2];if(!f){ec(e+16|0);break m}f=v[f+8>>2];ec(e+16|0);if(f){break j}}v[299999]=0;f=S(4733,c|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break l}if(f){break j}v[299999]=0;d=v[b+92>>2];f=v[299999];v[299999]=0;if((f|0)==1){break l}if(!(d&24)){break k}v[a>>2]=0;v[299999]=0;Q(4336,a|0,0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break f}}b=P()|0;O()|0;break b}v[299999]=0;U(4690,e+16|0,b|0,c|0);d=v[299999];v[299999]=0;if((d|0)==1){break c}v[299999]=0;Q(4478,g|0,e+16|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break d}v[e+40>>2]=981312;v[e+16>>2]=981280;d=v[e+44>>2];if(d){f=v[d+4>>2]-1|0;v[d+4>>2]=f;if(!f){Ub[v[v[d>>2]+4>>2]](d)}v[e+44>>2]=0}v[e+32>>2]=981312;d=v[e+36>>2];if(d){f=v[d+4>>2]-1|0;v[d+4>>2]=f;if(!f){Ub[v[v[d>>2]+4>>2]](d)}v[e+36>>2]=0}ec(e+24|0);f=v[b+136>>2];if(f){while(1){d=0;n:{o:{p:{h=v[f+8>>2];if(h){v[299999]=0;v[h+4>>2]=v[h+4>>2]+1;d=v[299999];v[299999]=0;if((d|0)==1){break p}d=v[f+8>>2]}v[299999]=0;v[e+16>>2]=d;h=Q(4461,d+24|0,g|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break o}if(!h){break n}b=v[d+60>>2];if(b){v[299999]=0;v[b+4>>2]=v[b+4>>2]+1;b=v[299999];v[299999]=0;if((b|0)==1){break o}b=v[d+60>>2]}else{b=0}v[a>>2]=b;v[299999]=0;a=v[d+4>>2]-1|0;v[d+4>>2]=a;b=v[299999];v[299999]=0;if((b|0)!=1){if(a){break f}v[299999]=0;R(4338,d|0);a=v[299999];v[299999]=0;if((a|0)!=1){break f}}break a}b=P()|0;O()|0;break b}b=P()|0;O()|0;ec(e+16|0);break b}q:{if(!d){break q}v[299999]=0;h=v[d+4>>2]-1|0;v[d+4>>2]=h;i=v[299999];v[299999]=0;if((i|0)==1){break a}if(h){break q}v[299999]=0;R(4338,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break a}}f=v[f>>2];if(f){continue}break}}v[299999]=0;d=S(1,68)|0;f=v[299999];v[299999]=0;r:{s:{t:{u:{v:{w:{x:{if((f|0)!=1){v[299999]=0;v[e+8>>2]=0;Q(4336,e+8|0,0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break w}v[299999]=0;c=aa(4724,d|0,0,c|0,0,g|0,e+8|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){b=P()|0;O()|0;ec(e+8|0);dc(d);break b}v[299999]=0;v[e+16>>2]=0;Q(4336,e+16|0,c|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break x}c=v[e+8>>2];v[e+8>>2]=0;y:{if(!c){break y}v[299999]=0;d=v[c+4>>2]-1|0;v[c+4>>2]=d;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(d){break y}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}v[299999]=0;c=S(1,12)|0;d=v[299999];v[299999]=0;if((d|0)==1){break v}v[c>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;d=c;f=v[e+16>>2];if(f){v[299999]=0;v[f+4>>2]=v[f+4>>2]+1;f=v[299999];v[299999]=0;if((f|0)==1){break v}f=v[e+16>>2]}else{f=0}v[d+8>>2]=f;v[299999]=0;Le(b+128|0,c);c=v[299999];v[299999]=0;if((c|0)==1){break v}v[e>>2]=0;v[299999]=0;Q(4336,e|0,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break u}c=w[b+88|0];b=v[b+84>>2];v[299999]=0;fa(4725,e+8|0,g|0,e|0,b|0,c|0);b=v[299999];v[299999]=0;if((b|0)==1){break t}b=v[e>>2];v[e>>2]=0;z:{if(!b){break z}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break z}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}v[299999]=0;Q(4344,v[e+16>>2]+60|0,e+8|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break s}b=v[e+8>>2];A:{if(!b){v[a>>2]=0;break A}v[299999]=0;v[b+4>>2]=v[b+4>>2]+1;b=v[299999];v[299999]=0;if((b|0)==1){break s}b=a;a=v[e+8>>2];v[b>>2]=a;v[e+8>>2]=0;if(!a){break A}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break A}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}a=v[e+16>>2];v[e+16>>2]=0;if(!a){break f}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break h}if(b){break f}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break h}break f}b=P()|0;O()|0;break b}b=P()|0;O()|0;ec(e+8|0);break b}b=P()|0;O()|0;dc(d);break b}b=P()|0;O()|0;break r}b=P()|0;O()|0;break r}b=P()|0;O()|0;ec(e);break r}b=P()|0;O()|0;ec(e+8|0)}ec(e+16|0);break b}v[299999]=0;$(4734,a|0,b|0,g|0,d|0);a=v[299999];v[299999]=0;if((a|0)!=1){break f}b=P()|0;O()|0;break b}b=P()|0;O()|0;break b}b=P()|0;O()|0;$c(e+16|0);break b}W(0)|0;O()|0;lc()}L()}v[g+24>>2]=981312;v[g>>2]=981280;a=v[g+28>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Ub[v[v[a>>2]+4>>2]](a)}v[g+28>>2]=0}v[g+16>>2]=981312;a=v[g+20>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Ub[v[v[a>>2]+4>>2]](a)}v[g+20>>2]=0}ec(g+8|0)}Qb=e+96|0;return}b=P()|0;O()|0;$c(e+16|0);break b}b=P()|0;O()|0}$c(g);T(b|0);L()}W(0)|0;O()|0;lc();L()}function TE(a,b){var 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;g=Qb-32|0;Qb=g;v[g+16>>2]=13;v[g>>2]=13;qf(b,v[a+4>>2],g+16|0,0);a:{b:{c:{d:{switch(v[g+16>>2]-6|0){case 0:b=v[g+24>>2];e:{if(v[b+12>>2]<=0){break e}while(1){hg(b,c,g);b=YS(a,g);hc(g);if(b){break a}c=c+1|0;b=v[g+24>>2];e=v[b+12>>2];if((c|0)<(e|0)){continue}break}c=0;if((e|0)<=0){break e}while(1){yc(b,c,g,0);if(v[g>>2]!=8){kc(1,-1,256489,0);hc(g);break a}hc(g);c=c+1|0;b=v[g+24>>2];if((c|0)>2]){continue}break}}Tc(v[a+112>>2],g+16|0);break c;case 2:break d;default:break b}}if(YS(a,b)){break a}Tc(v[a+112>>2],b)}b=fc(56);e=v[a+4>>2];v[299999]=0;c=S(1,160)|0;i=v[299999];v[299999]=0;f:{g:{h:{if((i|0)==1){break h}v[299999]=0;i=Y(3436,c|0,e|0,g+16|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break g}v[299999]=0;Z(3437,b|0,e|0,i|0,0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break h}v[a+108>>2]=b;d=Qb-560|0;Qb=d;v[d+544>>2]=13;v[d+528>>2]=13;v[d+512>>2]=13;v[d+496>>2]=13;v[d+480>>2]=13;v[d+464>>2]=13;v[d+448>>2]=13;v[d+432>>2]=13;v[d+416>>2]=13;v[d+400>>2]=13;v[d+384>>2]=13;v[d+368>>2]=13;v[d+352>>2]=13;v[d+336>>2]=13;v[d+320>>2]=13;v[d+304>>2]=13;v[d+288>>2]=13;v[d+272>>2]=13;v[d+256>>2]=13;v[d+240>>2]=13;v[d+224>>2]=13;v[d+208>>2]=13;v[d+192>>2]=13;v[d+176>>2]=13;v[d+160>>2]=13;v[d+144>>2]=13;v[d+128>>2]=13;v[d+112>>2]=13;v[d+96>>2]=13;v[d+80>>2]=13;v[d+64>>2]=13;v[d+48>>2]=13;v[d+32>>2]=13;v[d+16>>2]=13;v[a+24>>2]=0;Kg(v[a+108>>2],d+544|0,0,0,0,0,0,0,0);i:{j:{k:{l:{c=v[d+544>>2];switch(c-9|0){case 3:break j;case 0:break l;default:break k}}c=-1;b=v[a+108>>2];m:{if(!b){break m}b=v[b+4>>2];if(v[b+8>>2]==13){break m}b=v[b+16>>2];c=Ub[v[v[b>>2]+52>>2]](b)|0}kc(1,c,256592,0);hc(d+544|0);c=11;v[d+544>>2]=11}l=v[252393];e=0;n:{o:{while(1){b=v[a+24>>2];v[a+24>>2]=b+1;i=v[a+116>>2];if(!(!i|(b|0)<100)){if(Ub[i|0](v[a+120>>2])|0){break o}v[a+24>>2]=0;c=v[d+544>>2]}p:{if((c|0)==10){if(v[a+16>>2]){Tl(d+544|0,l);c=0;if((e|0)>=1){while(1){Nn(32);Tl((d+16|0)+(c<<4)|0,l);c=c+1|0;if((e|0)!=(c|0)){continue}break}}Nn(10);Qi(l)}i=d+16|0;b=e;j=Qb+-64|0;Qb=j;o=d+544|0;k=v[o+8>>2];h=-1;c=73;while(1){m=(c+h|0)/2|0;f=mc(B(m,148)+1100848|0,k);c=(f|0)<0?c:m;h=(f|0)<1?m:h;if((c-h|0)>1){continue}break}q:{if(f){b=1;if(v[a+40>>2]>0){break q}c=-1;b=v[a+108>>2];r:{if(!b){break r}b=v[b+4>>2];if(v[b+8>>2]==13){break r}b=v[b+16>>2];c=Ub[v[v[b>>2]+52>>2]](b)|0}v[j+48>>2]=k;kc(1,c,345406,j+48|0);b=0;break q}c=v[B(h,148)+1100852>>2];s:{if((c|0)>=0){if((b|0)<(c|0)){c=-1;i=v[a+108>>2];t:{if(!i){break t}i=v[i+4>>2];if(v[i+8>>2]==13){break t}c=v[i+16>>2];c=Ub[v[v[c>>2]+52>>2]](c)|0}v[j+4>>2]=k;v[j>>2]=b;kc(1,c,237790,j);b=0;break q}if((b|0)<=(c|0)){break s}i=(b-c<<4)+i|0;b=c;break s}if((0-c|0)>=(b|0)){break s}c=-1;f=v[a+108>>2];u:{if(!f){break u}f=v[f+4>>2];if(v[f+8>>2]==13){break u}c=v[f+16>>2];c=Ub[v[v[c>>2]+52>>2]](c)|0}v[j+36>>2]=k;v[j+32>>2]=b;kc(0,c,237748,j+32|0)}v:{if((b|0)>=1){c=0;m=B(h,148);while(1){f=(c<<4)+i|0;w:{x:{switch(v[(m+(c<<2)|0)+1100856>>2]){case 1:if(v[f>>2]!=1){break v}break w;case 2:if(v[f>>2]-1>>>0>=2){break v}break w;case 3:if(v[f>>2]!=3){break v}break w;case 4:if(v[f>>2]!=4){break v}break w;case 5:if(v[f>>2]!=6){break v}break w;case 6:switch(v[f>>2]-4|0){case 0:case 3:break w;default:break v};case 7:p=v[f>>2];if(p>>>0>4){break v}if(1<>2]){break v}}c=c+1|0;if((c|0)!=(b|0)){continue}break}}h=B(h,148);k=v[h+1100992>>2];c=(k>>1)+a|0;h=v[h+1100988>>2];f=c;if(k&1){h=v[h+v[c>>2]>>2]}Ub[h|0](f,i,b);b=1;break q}h=-1;b=v[a+108>>2];y:{if(!b){break y}b=v[b+4>>2];if(v[b+8>>2]==13){break y}b=v[b+16>>2];h=Ub[v[v[b>>2]+52>>2]](b)|0}v[j+24>>2]=v[(v[f>>2]<<2)+1121632>>2];v[j+20>>2]=k;v[j+16>>2]=c;kc(1,h,335764,j+16|0);b=0}Qb=j- -64|0;n=!b+n|0;hc(o);c=0;if((e|0)>=1){while(1){hc((d+16|0)+(c<<4)|0);c=c+1|0;if((e|0)!=(c|0)){continue}break}}e=0;if((n|0)<501){break p}kc(1,-1,256438,0);break j}if((e|0)<=32){c=v[d+556>>2];b=(d+16|0)+(e<<4)|0;v[b+8>>2]=v[d+552>>2];v[b+12>>2]=c;c=v[d+548>>2];v[b>>2]=v[d+544>>2];v[b+4>>2]=c;e=e+1|0;break p}c=-1;b=v[a+108>>2];z:{if(!b){break z}b=v[b+4>>2];if(v[b+8>>2]==13){break z}b=v[b+16>>2];c=Ub[v[v[b>>2]+52>>2]](b)|0}kc(1,c,256528,0);if(v[a+16>>2]){hp(346618,0);Tl(d+544|0,l);Nn(10);Qi(l)}hc(d+544|0)}Kg(v[a+108>>2],d+544|0,0,0,0,0,0,0,0);c=v[d+544>>2];if((c|0)==9){c=-1;b=v[a+108>>2];A:{if(!b){break A}b=v[b+4>>2];if(v[b+8>>2]==13){break A}b=v[b+16>>2];c=Ub[v[v[b>>2]+52>>2]](b)|0}kc(1,c,256592,0);hc(d+544|0);v[d+544>>2]=11;c=11}if((c|0)!=12){continue}break}hc(d+544|0);if((e|0)<=0){break i}n=-1;b=v[a+108>>2];B:{if(!b){break B}b=v[b+4>>2];if(v[b+8>>2]==13){break B}b=v[b+16>>2];n=Ub[v[v[b>>2]+52>>2]](b)|0}c=0;kc(1,n,256560,0);if(!v[a+16>>2]){break n}v[d>>2]=e;hp(322808,d);while(1){Nn(32);Tl((d+16|0)+(c<<4)|0,l);c=c+1|0;if((e|0)!=(c|0)){continue}break}Nn(10);Qi(l);if((e|0)<1){break i}break n}hc(d+544|0);if((e|0)<=0){break i}}c=0;while(1){hc((d+16|0)+(c<<4)|0);c=c+1|0;if((e|0)!=(c|0)){continue}break}break i}hc(d+544|0)}Qb=d+560|0;b=v[a+108>>2];if(b){dc(Zk(b))}v[a+108>>2]=0;a=v[a+112>>2];ji(a,v[a+8>>2]-1|0);break a}a=P()|0;O()|0;break f}a=P()|0;O()|0;dc(c)}dc(b);T(a|0);L()}kc(1,-1,256489,0)}hc(g+16|0);Qb=g+32|0}function B0(a){a=a|0;var 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,w=0,y=0;e=Qb-32784|0;Qb=e;if(v[a+188>>2]){Rc(57852,26,1,v[252391])}UI(a,1);c=x[a+26310>>1];h=c<<2;q=h+4|0;r=h-4|0;s=4-h|0;w=0-h|0;y=(c^-1)<<2;while(1){n=f<<1&14;i=f+1|0;o=i<<1&14;l=f-1|0;p=l<<1&14;g=0;while(1){v[e+8>>2]=0;v[e+12>>2]=0;v[e>>2]=0;v[e+4>>2]=0;k=g-1|0;c=((e+16|0)+(f<<11)|0)+(g<<7)|0;b=c;d=v[a+26028>>2];a:{if((d|0)!=1){d=d>>>((p|k&1)<<1)&3;break a}d=t[(k+x[a+26314>>1]&15|(l+x[a+26312>>1]&15)<<4)+194800|0]}v[b>>2]=d+y;v[c+8>>2]=d;v[c+4>>2]=0;d=(d<<2)+e|0;v[d>>2]=v[d>>2]+1;b=c|12;d=v[a+26028>>2];b:{if((d|0)!=1){d=d>>>((p|g&1)<<1)&3;break b}d=t[(x[a+26314>>1]+g&15|(l+x[a+26312>>1]&15)<<4)+194800|0]}v[b>>2]=d+w;v[c+20>>2]=d;v[c+16>>2]=1;d=(d<<2)+e|0;v[d>>2]=v[d>>2]+2;d=g+1|0;j=c;b=v[a+26028>>2];c:{if((b|0)!=1){b=b>>>((p|d&1)<<1)&3;break c}b=t[(d+x[a+26314>>1]&15|(l+x[a+26312>>1]&15)<<4)+194800|0]}v[j+24>>2]=b+s;v[c+32>>2]=b;v[c+28>>2]=0;b=(b<<2)+e|0;v[b>>2]=v[b>>2]+1;j=c;b=v[a+26028>>2];d:{if((b|0)!=1){b=b>>>((n|k&1)<<1)&3;break d}b=t[(k+x[a+26314>>1]&15|(x[a+26312>>1]+f&15)<<4)+194800|0]}v[j+36>>2]=b-4;v[c+44>>2]=b;v[c+40>>2]=1;b=(b<<2)+e|0;v[b>>2]=v[b>>2]+2;j=c;b=v[a+26028>>2];e:{if((b|0)!=1){b=b>>>((n|d&1)<<1)&3;break e}b=t[(d+x[a+26314>>1]&15|(x[a+26312>>1]+f&15)<<4)+194800|0]}v[j+48>>2]=b+4;v[c+56>>2]=b;v[c+52>>2]=1;b=(b<<2)+e|0;v[b>>2]=v[b>>2]+2;j=c;b=v[a+26028>>2];f:{if((b|0)!=1){b=b>>>((o|k&1)<<1)&3;break f}b=t[(k+x[a+26314>>1]&15|(i+x[a+26312>>1]&15)<<4)+194800|0]}v[j+60>>2]=b+r;v[c+68>>2]=b;v[c+64>>2]=0;b=(b<<2)+e|0;v[b>>2]=v[b>>2]+1;j=c;b=v[a+26028>>2];g:{if((b|0)!=1){b=b>>>((o|g&1)<<1)&3;break g}b=t[(x[a+26314>>1]+g&15|(i+x[a+26312>>1]&15)<<4)+194800|0]}v[j+72>>2]=b+h;v[c+80>>2]=b;v[c+76>>2]=1;b=(b<<2)+e|0;v[b>>2]=v[b>>2]+2;j=c;b=v[a+26028>>2];h:{if((b|0)!=1){b=b>>>((o|d&1)<<1)&3;break h}b=t[(d+x[a+26314>>1]&15|(i+x[a+26312>>1]&15)<<4)+194800|0]}v[j+84>>2]=b+q;v[c+92>>2]=b;v[c+88>>2]=0;b=(b<<2)+e|0;v[b>>2]=v[b>>2]+1;k=v[a+26336>>2];if((k|0)>=1){j=(n|g&1)<<1;m=c+96|0;b=0;while(1){c=v[a+26028>>2];i:{if((c|0)!=1){c=c>>>j&3;break i}c=t[(x[a+26314>>1]+g&15|(x[a+26312>>1]+f&15)<<4)+194800|0]}if((c|0)!=(b|0)){v[m>>2]=b;v[m+4>>2]=256/v[(b<<2)+e>>2];k=v[a+26336>>2];m=m+8|0}b=b+1|0;if((k|0)>(b|0)){continue}break}}g=d;if((d|0)!=16){continue}break}f=i;if((f|0)!=16){continue}break}if(x[a+26308>>1]>2){m=1;while(1){b=x[a+26310>>1];j:{if(b>>>0<3){break j}n=m&15;k=v[a+26352>>2];h=v[a+26336>>2];f=h-1|0;if(f){d=h-2|0;g=1;o=h&1;while(1){v[e+8>>2]=0;v[e+12>>2]=0;v[e>>2]=0;v[e+4>>2]=0;c=((e+16|0)+(n<<11)|0)+((g&15)<<7)|0;i=(v[c+8>>2]<<2)+e|0;j=i;l=v[i>>2];i=k+(B(b,m)+g<<3)|0;v[j>>2]=l+(x[i+(v[c>>2]<<1)>>1]<>2]);b=(v[c+20>>2]<<2)+e|0;v[b>>2]=v[b>>2]+(x[i+(v[c+12>>2]<<1)>>1]<>2]);b=(v[c+32>>2]<<2)+e|0;v[b>>2]=v[b>>2]+(x[i+(v[c+24>>2]<<1)>>1]<>2]);b=(v[c+44>>2]<<2)+e|0;v[b>>2]=v[b>>2]+(x[i+(v[c+36>>2]<<1)>>1]<>2]);b=(v[c+56>>2]<<2)+e|0;v[b>>2]=v[b>>2]+(x[i+(v[c+48>>2]<<1)>>1]<>2]);b=(v[c+68>>2]<<2)+e|0;v[b>>2]=v[b>>2]+(x[i+(v[c+60>>2]<<1)>>1]<>2]);b=(v[c+80>>2]<<2)+e|0;v[b>>2]=v[b>>2]+(x[i+(v[c+72>>2]<<1)>>1]<>2]);b=(v[c+92>>2]<<2)+e|0;v[b>>2]=v[b>>2]+(x[i+(v[c+84>>2]<<1)>>1]<>2]);b=c+96|0;if(o){c=f}else{b=v[b>>2];u[i+(b<<1)>>1]=B(v[c+100>>2],v[(b<<2)+e>>2])>>>8;b=c+104|0;c=d}if((h|0)!=2){while(1){l=v[b>>2];u[i+(l<<1)>>1]=B(v[b+4>>2],v[(l<<2)+e>>2])>>>8;l=v[b+8>>2];u[i+(l<<1)>>1]=B(v[b+12>>2],v[(l<<2)+e>>2])>>>8;b=b+16|0;c=c-2|0;if(c){continue}break}}g=g+1|0;b=x[a+26310>>1];if((g|0)<(b-1|0)){continue}break}break j}v[e+8>>2]=0;v[e+12>>2]=0;v[e>>2]=0;v[e+4>>2]=0;c=2;g=(e+16|0)+(n<<11)|0;f=(v[g+136>>2]<<2)+e|0;d=f;j=v[f>>2];i=B(b,m);f=(k+(i<<3)|0)+8|0;v[d>>2]=j+(x[f+(v[g+128>>2]<<1)>>1]<>2]);d=(v[g+148>>2]<<2)+e|0;v[d>>2]=v[d>>2]+(x[f+(v[g+140>>2]<<1)>>1]<>2]);d=(v[g+160>>2]<<2)+e|0;v[d>>2]=v[d>>2]+(x[f+(v[g+152>>2]<<1)>>1]<>2]);d=(v[g+172>>2]<<2)+e|0;v[d>>2]=v[d>>2]+(x[f+(v[g+164>>2]<<1)>>1]<>2]);d=(v[g+184>>2]<<2)+e|0;v[d>>2]=v[d>>2]+(x[f+(v[g+176>>2]<<1)>>1]<>2]);d=(v[g+196>>2]<<2)+e|0;v[d>>2]=v[d>>2]+(x[f+(v[g+188>>2]<<1)>>1]<>2]);d=(v[g+208>>2]<<2)+e|0;v[d>>2]=v[d>>2]+(x[f+(v[g+200>>2]<<1)>>1]<>2]);d=(v[g+220>>2]<<2)+e|0;v[d>>2]=v[d>>2]+(x[f+(v[g+212>>2]<<1)>>1]<>2]);b=((b|0)>3?b:3)-1|0;if((b|0)==2){break j}while(1){v[e+8>>2]=0;v[e+12>>2]=0;v[e>>2]=0;v[e+4>>2]=0;f=g+((c&15)<<7)|0;d=(v[f+8>>2]<<2)+e|0;j=d;h=v[d>>2];d=k+(c+i<<3)|0;v[j>>2]=h+(x[d+(v[f>>2]<<1)>>1]<>2]);h=(v[f+20>>2]<<2)+e|0;v[h>>2]=v[h>>2]+(x[d+(v[f+12>>2]<<1)>>1]<>2]);h=(v[f+32>>2]<<2)+e|0;v[h>>2]=v[h>>2]+(x[d+(v[f+24>>2]<<1)>>1]<>2]);h=(v[f+44>>2]<<2)+e|0;v[h>>2]=v[h>>2]+(x[d+(v[f+36>>2]<<1)>>1]<>2]);h=(v[f+56>>2]<<2)+e|0;v[h>>2]=v[h>>2]+(x[d+(v[f+48>>2]<<1)>>1]<>2]);h=(v[f+68>>2]<<2)+e|0;v[h>>2]=v[h>>2]+(x[d+(v[f+60>>2]<<1)>>1]<>2]);h=(v[f+80>>2]<<2)+e|0;v[h>>2]=v[h>>2]+(x[d+(v[f+72>>2]<<1)>>1]<>2]);h=(v[f+92>>2]<<2)+e|0;v[h>>2]=v[h>>2]+(x[d+(v[f+84>>2]<<1)>>1]<>2]);c=c+1|0;if((b|0)!=(c|0)){continue}break}}m=m+1|0;if((m|0)<(x[a+26308>>1]-1|0)){continue}break}}Qb=e+32784|0}function yea(a){a=a|0;var b=0,c=0,d=0,e=0;b=Qb-16|0;Qb=b;d=a+12|0;c=v[a+12>>2];if(c){v[c+4>>2]=v[c+4>>2]+1;e=v[d>>2]}v[b+8>>2]=e;v[a+24>>2]=0;v[299999]=0;Y(4498,e|0,b+12|0,4)|0;c=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{if((c|0)!=1){c=w[b+12|0]|w[b+13|0]<<8;c=(c<<8|c>>>8)&65535;if(c>>>0<=19566){if(!c){break q}if((c|0)==60){break d}if((c|0)!=15360){break e}c=w[b+14|0]|w[b+15|0]<<8;c=(c<<8|c>>>8)&65535;if((c|0)==16128){break n}if(c){break m}v[299999]=0;$(5360,b|0,b+12|0,4,2);c=v[299999];v[299999]=0;if((c|0)==1){break p}v[299999]=0;Q(4535,a+16|0,b|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break o}ec(b);break c}if(c>>>0<=65278){if((c|0)==19567){break l}if((c|0)!=61371){break e}if(w[b+14|0]!=191){break f}v[299999]=0;$(5360,b|0,b+15|0,1,8);c=v[299999];v[299999]=0;if((c|0)==1){break h}v[299999]=0;Q(4535,a+16|0,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break g}ec(b);v[a+32>>2]=v[a+32>>2]+3;break c}if((c|0)==65279){break i}if((c|0)!=65534){break e}v[299999]=0;$(5360,b|0,b+14|0,2,7);c=v[299999];v[299999]=0;if((c|0)==1){break k}v[299999]=0;Q(4535,a+16|0,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break j}ec(b);v[a+32>>2]=v[a+32>>2]+2;break c}a=P()|0;O()|0;break b}r:{s:{t:{u:{v:{w:{x:{c=w[b+14|0]|w[b+15|0]<<8;c=(c<<8|c>>>8)&65535;if(c>>>0<=65278){if((c|0)==60){break x}if((c|0)!=15360){break r}v[299999]=0;$(5360,b|0,b+12|0,4,3);c=v[299999];v[299999]=0;if((c|0)==1){break w}v[299999]=0;Q(4535,a+16|0,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break v}ec(b);break d}if((c|0)==65279){break u}if((c|0)!=65534){break r}v[299999]=0;$(5360,b|0,0,0,3);c=v[299999];v[299999]=0;if((c|0)==1){break t}v[299999]=0;Q(4535,a+16|0,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break s}ec(b);v[a+32>>2]=v[a+32>>2]+4;break d}v[299999]=0;$(5360,b|0,b+12|0,4,1);c=v[299999];v[299999]=0;y:{if((c|0)!=1){v[299999]=0;Q(4535,a+16|0,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break y}ec(b);break d}a=P()|0;O()|0;break b}a=P()|0;O()|0;ec(b);break b}a=P()|0;O()|0;break b}a=P()|0;O()|0;ec(b);break b}v[299999]=0;$(5360,b|0,0,0,1);c=v[299999];v[299999]=0;z:{if((c|0)!=1){v[299999]=0;Q(4535,a+16|0,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break z}ec(b);v[a+32>>2]=v[a+32>>2]+4;break d}a=P()|0;O()|0;break b}a=P()|0;O()|0;ec(b);break b}a=P()|0;O()|0;break b}a=P()|0;O()|0;ec(b);break b}v[299999]=0;$(5360,b|0,b+12|0,4,8);c=v[299999];v[299999]=0;A:{if((c|0)!=1){v[299999]=0;Q(4535,a+16|0,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break A}ec(b);break d}a=P()|0;O()|0;break b}a=P()|0;O()|0;ec(b);break b}a=P()|0;O()|0;break b}a=P()|0;O()|0;ec(b);break b}v[299999]=0;$(5360,b|0,b+12|0,4,7);c=v[299999];v[299999]=0;B:{if((c|0)!=1){v[299999]=0;Q(4535,a+16|0,b|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break B}ec(b);break c}a=P()|0;O()|0;break b}a=P()|0;O()|0;ec(b);break b}v[299999]=0;$(5360,b|0,b+12|0,4,8);c=v[299999];v[299999]=0;C:{if((c|0)!=1){v[299999]=0;Q(4535,a+16|0,b|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break C}ec(b);break c}a=P()|0;O()|0;break b}a=P()|0;O()|0;ec(b);break b}v[299999]=0;$(5360,b|0,b+12|0,4,((w[b+15|0]|w[b+14|0]<<8)==42900?9:8)|0);c=v[299999];v[299999]=0;D:{if((c|0)!=1){v[299999]=0;Q(4535,a+16|0,b|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break D}ec(b);break c}a=P()|0;O()|0;break b}a=P()|0;O()|0;ec(b);break b}a=P()|0;O()|0;break b}a=P()|0;O()|0;ec(b);break b}v[299999]=0;$(5360,b|0,b+14|0,2,6);c=v[299999];v[299999]=0;E:{if((c|0)!=1){v[299999]=0;Q(4535,a+16|0,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break E}ec(b);v[a+32>>2]=v[a+32>>2]+2;break c}a=P()|0;O()|0;break b}a=P()|0;O()|0;ec(b);break b}a=P()|0;O()|0;break b}a=P()|0;O()|0;ec(b);break b}v[299999]=0;$(5360,b|0,b+12|0,4,8);c=v[299999];v[299999]=0;F:{if((c|0)!=1){v[299999]=0;Q(4535,a+16|0,b|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break F}ec(b);break c}a=P()|0;O()|0;break b}a=P()|0;O()|0;ec(b);break b}v[299999]=0;$(5360,b|0,b+12|0,4,8);c=v[299999];v[299999]=0;G:{if((c|0)!=1){v[299999]=0;Q(4535,a+16|0,b|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break G}ec(b);break c}a=P()|0;O()|0;break b}a=P()|0;O()|0;ec(b);break b}H:{c=w[b+14|0]|w[b+15|0]<<8;c=(c<<8|c>>>8)&65535;if((c|0)!=63){if(c){break H}v[299999]=0;$(5360,b|0,b+12|0,4,4);c=v[299999];v[299999]=0;I:{if((c|0)!=1){v[299999]=0;Q(4535,a+16|0,b|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break I}ec(b);break c}a=P()|0;O()|0;break b}a=P()|0;O()|0;ec(b);break b}v[299999]=0;$(5360,b|0,b+12|0,4,6);c=v[299999];v[299999]=0;J:{if((c|0)!=1){v[299999]=0;Q(4535,a+16|0,b|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break J}ec(b);break c}a=P()|0;O()|0;break b}a=P()|0;O()|0;ec(b);break b}v[299999]=0;$(5360,b|0,b+12|0,4,8);c=v[299999];v[299999]=0;K:{if((c|0)!=1){v[299999]=0;Q(4535,a+16|0,b|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break K}ec(b);break c}a=P()|0;O()|0;break b}a=P()|0;O()|0;ec(b);break b}v[299999]=0;Q(4344,d|0,b+8|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){a=v[b+8>>2];v[b+8>>2]=0;L:{if(!a){break L}v[299999]=0;c=v[a+4>>2]-1|0;v[a+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break L}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Qb=b+16|0;return}a=P()|0;O()|0}ec(b+8|0);T(a|0);L()}W(0)|0;O()|0;lc();L()}function jG(a){var 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;p=Qb-16|0;Qb=p;b=-102;a:{if(!a|!v[a+56>>2]){break a}v[a+68>>2]=0;e=a- -64|0;b:{if(!(v[a+160>>2]|v[a+156>>2]!=8)){d=a+164|0;g=a+65752|0;while(1){if(!v[a+80>>2]){f=v[a+124>>2];c:{if(!v[a+65708>>2]){b=f;break c}c=0;b=0;if(!f){break c}while(1){h=v[a+65756>>2];b=a+c|0;f=v[a+65744>>2];f=v[h+((w[b+164|0]^f&255)<<2)>>2]^f>>>8;v[a+65744>>2]=f;m=B(v[a+65748>>2]+(f&255)|0,134775813)+1|0;v[a+65748>>2]=m;f=v[g>>2];v[g>>2]=v[h+((f&255^m>>>24)<<2)>>2]^f>>>8;i=b;n=w[b+164|0];b=f&65533;t[i+164|0]=n^B(b|2,b^3)>>>8;b=v[a+124>>2];c=c+1|0;if(b>>>0>c>>>0){continue}break}}Ub[v[a+8>>2]](v[a+28>>2],v[a+44>>2],d,b)|0;v[a+80>>2]=65536;v[a+76>>2]=d;c=v[a+72>>2];v[a+72>>2]=0;f=v[a+124>>2];v[a+124>>2]=0;b=v[a+65732>>2];i=f;f=v[a+65728>>2];h=i+f|0;v[a+65728>>2]=h;v[a+65732>>2]=f>>>0>h>>>0?b+1|0:b;b=v[a+65740>>2];f=v[a+65736>>2];c=c+f|0;v[a+65736>>2]=c;v[a+65740>>2]=c>>>0>>0?b+1|0:b}b=v[a+84>>2];c=Nj(e,4);v[a+124>>2]=v[a+124>>2]+(v[a+84>>2]-b|0);if(!c){continue}break}if((c|0)!=1){break b}}c=0;b=v[a+124>>2];if(!b){break b}if(v[a+65708>>2]){f=a+65752|0;while(1){g=v[a+65756>>2];b=a+c|0;d=v[a+65744>>2];d=v[g+((w[b+164|0]^d&255)<<2)>>2]^d>>>8;v[a+65744>>2]=d;h=B(v[a+65748>>2]+(d&255)|0,134775813)+1|0;v[a+65748>>2]=h;d=v[f>>2];v[f>>2]=v[g+((d&255^h>>>24)<<2)>>2]^d>>>8;i=b;n=w[b+164|0];b=d&65533;t[i+164|0]=n^B(b|2,b^3)>>>8;b=v[a+124>>2];c=c+1|0;if(b>>>0>c>>>0){continue}break}}f=Ub[v[a+8>>2]](v[a+28>>2],v[a+44>>2],a+164|0,b)|0;d=v[a+72>>2];v[a+72>>2]=0;b=v[a+124>>2];v[a+124>>2]=0;c=v[a+65740>>2];i=d;d=v[a+65736>>2];g=i+d|0;v[a+65736>>2]=g;v[a+65740>>2]=d>>>0>g>>>0?c+1|0:c;c=v[a+65732>>2];d=v[a+65728>>2]+b|0;v[a+65728>>2]=d;v[a+65732>>2]=b>>>0>d>>>0?c+1|0:c;c=(b|0)!=(f|0)?-1:0}if(!(v[a+160>>2]|v[a+156>>2]!=8)){b=_m(e);v[a+120>>2]=0;c=c?c:b}b=v[a+65760>>2];e=b;f=b+v[a+65728>>2]|0;if(!v[a+160>>2]){l=v[a+65704>>2];k=v[a+65736>>2];j=v[a+65740>>2]}b=v[a+65732>>2]+(b>>31)|0;g=f>>>0>>0?b+1|0:b;if(!(!(!g&f>>>0>4294967294|(g|0)!=0|(!j&k>>>0>4294967294|(j|0)!=0))&(!v[a+132>>2]&v[a+128>>2]!=-1))){b=v[a+136>>2];t[b+4|0]=45;t[b+5|0]=0;b=v[a+136>>2];t[b+6|0]=45;t[b+7|0]=0}b=v[a+136>>2];t[b+16|0]=l;t[b+17|0]=l>>>8;t[b+18|0]=l>>>16;t[b+19|0]=l>>>24;b=v[a+136>>2];d:{if(!g&(f|0)==-1|g){t[b+20|0]=255;t[b+21|0]=255;t[b+22|0]=255;t[b+23|0]=255;break d}t[b+20|0]=f;t[b+21|0]=f>>>8;t[b+22|0]=f>>>16;t[b+23|0]=f>>>24}if(v[a+108>>2]==1){b=v[a+136>>2];t[b+36|0]=1;t[b+37|0]=0}b=v[a+136>>2];e:{if(!j&(k|0)==-1|j){t[b+24|0]=255;t[b+25|0]=255;t[b+26|0]=255;t[b+27|0]=255;b=8;break e}t[b+24|0]=k;t[b+25|0]=k>>>8;t[b+26|0]=k>>>16;t[b+27|0]=k>>>24;b=0}b=!g&f>>>0>4294967294|g?b+8|0:b;d=b+8|0;e=b;b=v[a+132>>2];e=!b&y[a+128>>2]>4294967294|b?d:e;f:{if(!e){break f}b=-103;h=e|4;if(h>>>0>y[a+148>>2]){break a}b=v[a+136>>2]+v[a+144>>2]|0;t[b+2|0]=e;t[b|0]=1;t[b+1|0]=0;t[b+3|0]=0;b=b+4|0;if(!j&(k|0)==-1|j){t[b|0]=k;t[b+1|0]=k>>>8;t[b+2|0]=k>>>16;t[b+3|0]=k>>>24;t[b+4|0]=j;t[b+5|0]=j>>>8;t[b+6|0]=j>>>16;t[b+7|0]=j>>>24;b=b+8|0}if(!g&(f|0)==-1|g){t[b|0]=f;t[b+1|0]=f>>>8;t[b+2|0]=f>>>16;t[b+3|0]=f>>>24;t[b+4|0]=g;t[b+5|0]=g>>>8;t[b+6|0]=g>>>16;t[b+7|0]=g>>>24;b=b+8|0}d=v[a+132>>2];e=d;i=!d;d=v[a+128>>2];if(e|i&(d|0)==-1){t[b|0]=d;t[b+1|0]=d>>>8;t[b+2|0]=d>>>16;t[b+3|0]=d>>>24;t[b+4|0]=e;t[b+5|0]=e>>>8;t[b+6|0]=e>>>16;t[b+7|0]=e>>>24}v[a+148>>2]=v[a+148>>2]-h;v[a+144>>2]=h+v[a+144>>2];b=h+v[a+140>>2]|0;v[a+140>>2]=b;e=v[a+136>>2];t[e+30|0]=b;t[e+31|0]=b>>>8;if(b>>>0<65536){break f}t[e+30|0]=255;t[e+31|0]=255}g:{if(c){dc(v[a+136>>2]);b=c;break g}h=v[a+136>>2];m=v[a+144>>2];c=a+48|0;h:{if(c){i:{j:{k:{b=v[c+4>>2];if(!b){b=jc(4096);if(!b){break k}v[b+8>>2]=0;v[b>>2]=0;v[b+4>>2]=4080;v[c>>2]=b;v[c+4>>2]=b}e=0;if(!m){break h}d=v[b+4>>2];while(1){if(d){e=v[b+8>>2]}else{e=jc(4096);if(!e){break j}v[e+8>>2]=0;v[e>>2]=0;v[e+4>>2]=4080;v[b>>2]=e;v[c+4>>2]=e;d=4080;b=e;e=0}q=(b+e|0)+16|0;e=d>>>0>>0?d:m;n=e&3;d=0;if(e-1>>>0>=3){i=e&-4;while(1){t[d+q|0]=w[d+h|0];o=d|1;t[o+q|0]=w[h+o|0];o=d|2;t[o+q|0]=w[h+o|0];o=d|3;t[o+q|0]=w[h+o|0];d=d+4|0;i=i-4|0;if(i){continue}break}}if(n){while(1){t[d+q|0]=w[d+h|0];d=d+1|0;n=n-1|0;if(n){continue}break}}v[b+8>>2]=e+v[b+8>>2];d=v[b+4>>2]-e|0;v[b+4>>2]=d;h=e+h|0;m=m-e|0;if(m){continue}break}e=0;break h}v[c+4>>2]=0;break i}c=b}v[c>>2]=0}e=-104}b=e;dc(v[a+136>>2]);if(b){break g}e=xo(a,v[a+44>>2]);d=Tb;b=v[a+132>>2];i=b+1|0;c=b;b=v[a+128>>2]+14|0;c=b>>>0<14?i:c;l:{m:{if(!Uh(a,v[a+44>>2],b,c,0)){b=v[a+44>>2];t[p+11|0]=l>>>24;t[p+10|0]=l>>>16;t[p+9|0]=l>>>8;t[p+8|0]=l;b=Ub[v[a+8>>2]](v[a+28>>2],b,p+8|0,4)|0;c=(b|0)!=4?-1:0;if(!j&k>>>0>4294967294|j|(!g&f>>>0>4294967294|g)){break m}c=-1;if((b|0)!=4){break l}c=jz(a,v[a+44>>2],f,g,4);if(c){break l}c=jz(a,v[a+44>>2],k,j,4);break l}c=-1;if(!j&k>>>0>4294967294|j){break m}if(!g&(f|0)!=-1){break l}}l=v[a+65724>>2];b=l;h=v[a+65720>>2];if(!(b|h)){c=-103;break l}l=b+1|0;i=b;b=h+4|0;l=b>>>0<4?l:i;b=Uh(a,v[a+44>>2],b,l,0)|c;c=-1;if(b){break l}c=jz(a,v[a+44>>2],k,j,8);if(c){break l}c=jz(a,v[a+44>>2],f,g,8)}b=Uh(a,v[a+44>>2],e,d,0)?-1:c}v[a+56>>2]=0;c=v[a+65788>>2];f=c+1|0;e=c;c=v[a+65784>>2]+1|0;f=c>>>0<1?f:e;v[a+65784>>2]=c;v[a+65788>>2]=f}Qb=p+16|0;return b}function eG(a,b){var 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,y=0,z=0,A=0,C=0,D=0,E=0;j=Qb-32|0;c=v[b+8>>2];f=v[c>>2];h=v[c+12>>2];i=v[b>>2];v[a+5200>>2]=0;v[a+5204>>2]=573;c=0;a:{b:{if((h|0)>0){r=-1;while(1){d=(c<<2)+i|0;c:{if(x[d>>1]){d=v[a+5200>>2]+1|0;v[a+5200>>2]=d;v[((d<<2)+a|0)+2908>>2]=c;t[(a+c|0)+5208|0]=0;r=c;break c}u[d+2>>1]=0}c=c+1|0;if((h|0)!=(c|0)){continue}break}s=a+5804|0;y=a+5800|0;e=v[a+5200>>2];if((e|0)>1){break a}break b}s=a+5804|0;y=a+5800|0;r=-1}while(1){c=e+1|0;v[a+5200>>2]=c;n=((c<<2)+a|0)+2908|0;d=r+1|0;g=(r|0)<2;c=g?d:0;v[n>>2]=c;e=c<<2;u[e+i>>1]=1;t[(a+c|0)+5208|0]=0;v[a+5800>>2]=v[a+5800>>2]-1;if(f){v[s>>2]=v[s>>2]-x[(e+f|0)+2>>1]}r=g?d:r;e=v[a+5200>>2];if((e|0)<2){continue}break}}v[b+4>>2]=r;g=e>>>1|0;while(1){k=v[((g<<2)+a|0)+2908>>2];c=g;d=c<<1;d:{if((e|0)<(d|0)){break d}l=(k<<2)+i|0;p=(a+k|0)+5208|0;f=g;while(1){e:{if((d|0)>=(e|0)){c=d;break e}c=a+2908|0;e=d|1;m=v[c+(e<<2)>>2];o=x[(m<<2)+i>>1];q=v[c+(d<<2)>>2];c=x[(q<<2)+i>>1];if(o>>>0>=c>>>0){if((c|0)!=(o|0)){c=d;break e}c=d;d=a+5208|0;if(w[d+m|0]>w[d+q|0]){break e}}c=e}e=x[l>>1];d=v[((c<<2)+a|0)+2908>>2];m=x[(d<<2)+i>>1];if(e>>>0>>0){c=f;break d}if(!((e|0)!=(m|0)|w[p|0]>w[(a+d|0)+5208|0])){c=f;break d}v[((f<<2)+a|0)+2908>>2]=d;f=c;d=c<<1;e=v[a+5200>>2];if((d|0)<=(e|0)){continue}break}}v[((c<<2)+a|0)+2908>>2]=k;if((g|0)>=2){g=g-1|0;e=v[a+5200>>2];continue}break}d=v[a+5200>>2];while(1){g=h;e=d-1|0;v[a+5200>>2]=e;p=v[a+2912>>2];l=v[((d<<2)+a|0)+2908>>2];v[a+2912>>2]=l;c=1;f:{if((d|0)<3){break f}k=(l<<2)+i|0;m=(a+l|0)+5208|0;d=2;f=1;while(1){g:{if((d|0)>=(e|0)){c=d;break g}c=a+2908|0;h=d|1;e=v[c+(h<<2)>>2];o=x[(e<<2)+i>>1];q=v[c+(d<<2)>>2];c=x[(q<<2)+i>>1];if(o>>>0>=c>>>0){if((c|0)!=(o|0)){c=d;break g}c=d;d=a+5208|0;if(w[d+e|0]>w[d+q|0]){break g}}c=h}h=x[k>>1];d=v[((c<<2)+a|0)+2908>>2];e=x[(d<<2)+i>>1];if(h>>>0>>0){c=f;break f}if(!((e|0)!=(h|0)|w[m|0]>w[(a+d|0)+5208|0])){c=f;break f}v[((f<<2)+a|0)+2908>>2]=d;f=c;d=c<<1;e=v[a+5200>>2];if((d|0)<=(e|0)){continue}break}}d=2;k=a+2908|0;v[k+(c<<2)>>2]=l;f=v[a+5204>>2]-1|0;v[a+5204>>2]=f;c=v[a+2912>>2];v[k+(f<<2)>>2]=p;f=v[a+5204>>2]-1|0;v[a+5204>>2]=f;v[k+(f<<2)>>2]=c;m=(g<<2)+i|0;f=(c<<2)+i|0;h=(p<<2)+i|0;u[m>>1]=x[f>>1]+x[h>>1];l=a+5208|0;o=l+g|0;c=w[c+l|0];e=w[l+p|0];t[o|0]=(c>>>0>e>>>0?c:e)+1;u[f+2>>1]=g;u[h+2>>1]=g;v[a+2912>>2]=g;f=1;c=1;e=v[a+5200>>2];h:{if((e|0)<2){break h}while(1){c=d;n=c;i:{if((c|0)>=(e|0)){break i}h=d|1;e=v[k+(h<<2)>>2];p=x[(e<<2)+i>>1];q=v[k+(d<<2)>>2];z=x[(q<<2)+i>>1];if(p>>>0>=z>>>0){n=d;if((p|0)!=(z|0)){break i}n=d;if(w[e+l|0]>w[l+q|0]){break i}}n=h}c=n;h=x[m>>1];d=v[((c<<2)+a|0)+2908>>2];e=x[(d<<2)+i>>1];if(h>>>0>>0){c=f;break h}if(!((e|0)!=(h|0)|w[o|0]>w[(a+d|0)+5208|0])){c=f;break h}v[((f<<2)+a|0)+2908>>2]=d;f=c;d=c<<1;e=v[a+5200>>2];if((d|0)<=(e|0)){continue}break}}h=g+1|0;v[((c<<2)+a|0)+2908>>2]=g;d=v[a+5200>>2];if((d|0)>1){continue}break}c=v[a+5204>>2]-1|0;v[a+5204>>2]=c;f=a+2908|0;v[f+(c<<2)>>2]=v[a+2912>>2];l=v[b+4>>2];c=v[b+8>>2];g=v[c+16>>2];p=v[c+8>>2];q=v[c+4>>2];m=v[c>>2];h=v[b>>2];z=a+2900|0;b=z;u[b>>1]=0;u[b+2>>1]=0;u[b+4>>1]=0;u[b+6>>1]=0;n=a+2892|0;b=n;u[b>>1]=0;u[b+2>>1]=0;u[b+4>>1]=0;u[b+6>>1]=0;A=a+2884|0;b=A;u[b>>1]=0;u[b+2>>1]=0;u[b+4>>1]=0;u[b+6>>1]=0;C=a+2876|0;b=C;u[b>>1]=0;u[b+2>>1]=0;u[b+4>>1]=0;u[b+6>>1]=0;k=0;u[(h+(v[f+(v[a+5204>>2]<<2)>>2]<<2)|0)+2>>1]=0;j:{b=v[a+5204>>2];if((b|0)>571){break j}c=b+1|0;f=0;while(1){b=v[((c<<2)+a|0)+2908>>2];D=b<<2;o=h+D|0;d=x[(h+(x[o+2>>1]<<2)|0)+2>>1];e=(d|0)<(g|0)?d+1|0:g;u[o+2>>1]=e;E=(d|0)>=(g|0);k:{if((b|0)>(l|0)){break k}d=((e<<1)+a|0)+2876|0;u[d>>1]=x[d>>1]+1;d=0;d=(b|0)>=(p|0)?v[q+(b-p<<2)>>2]:d;b=x[o>>1];v[y>>2]=v[y>>2]+B(e+d|0,b);if(!m){break k}v[s>>2]=v[s>>2]+B(b,x[(m+D|0)+2>>1]+d|0)}f=f+E|0;c=c+1|0;if((c|0)!=573){continue}break}if(!f){break j}e=((g<<1)+a|0)+2876|0;while(1){c=g;while(1){b=c;c=b-1|0;d=((c<<1)+a|0)+2876|0;s=x[d>>1];if(!s){continue}break}u[d>>1]=s-1;b=((b<<1)+a|0)+2876|0;u[b>>1]=x[b>>1]+2;d=x[e>>1]-1|0;u[e>>1]=d;b=(f|0)>2;f=f-2|0;if(b){continue}break}if(!g){break j}c=573;while(1){f=d&65535;if(f){while(1){c=c-1|0;b=v[((c<<2)+a|0)+2908>>2];if((b|0)>(l|0)){continue}b=h+(b<<2)|0;d=x[b+2>>1];if((d|0)!=(g|0)){v[y>>2]=v[y>>2]+B(x[b>>1],g-d|0);u[b+2>>1]=g}f=f-1|0;if(f){continue}break}}g=g-1|0;if(!g){break j}d=x[((g<<1)+a|0)+2876>>1];continue}}b=x[C>>1]<<1;u[j+2>>1]=b;b=b+x[a+2878>>1]<<1;u[j+4>>1]=b;b=b+x[a+2880>>1]<<1;u[j+6>>1]=b;b=b+x[a+2882>>1]<<1;u[j+8>>1]=b;b=b+x[A>>1]<<1;u[j+10>>1]=b;b=b+x[a+2886>>1]<<1;u[j+12>>1]=b;b=b+x[a+2888>>1]<<1;u[j+14>>1]=b;b=b+x[a+2890>>1]<<1;u[j+16>>1]=b;b=b+x[n>>1]<<1;u[j+18>>1]=b;b=b+x[a+2894>>1]<<1;u[j+20>>1]=b;b=b+x[a+2896>>1]<<1;u[j+22>>1]=b;b=b+x[a+2898>>1]<<1;u[j+24>>1]=b;b=b+x[z>>1]<<1;u[j+26>>1]=b;b=b+x[a+2902>>1]<<1;u[j+28>>1]=b;u[j+30>>1]=b+x[a+2904>>1]<<1;if((r|0)>=0){while(1){b=(k<<2)+i|0;e=x[b+2>>1];if(e){a=(e<<1)+j|0;c=x[a>>1];u[a>>1]=c+1;d=e&3;a=0;if(e-1>>>0>=3){f=e&65532;while(1){e=c>>>3&1|(c>>>2&1|(c&2|(c&1|a)<<2))<<1;a=e<<1;c=c>>>4|0;f=f-4|0;if(f){continue}break}}if(d){while(1){e=c&1|a;a=e<<1;c=c>>>1|0;d=d-1|0;if(d){continue}break}}u[b>>1]=e}a=(k|0)!=(r|0);k=k+1|0;if(a){continue}break}}}function lga(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,w=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,Q=0,S=0;i=Qb-2336|0;Qb=i;k=32;E=1;s=0;a:{if((b|0)>=32){break a}E=0;if((b|0)>15){k=16;n=1;s=0;break a}if((b|0)>7){k=8;n=2;s=0;break a}n=3;if((b|0)>3){k=4;s=1;break a}h=(b|0)<2;k=h?1:2;n=h?5:4;s=1}b:{c:{d:{if((b|0)!=(k|0)){a=vc(i,237630,242096,756,337337,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break d}break b}e:{y=v[c>>2];r=v[c+8>>2];if((y|0)<(r|0)){o=v[c+4>>2];m=v[c+12>>2];if((o|0)<(m|0)){break e}}a=vc(i,233658,242096,758,337337,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break d}break b}k=v[a+4>>2];h=v[a+8>>2];v[i+2320>>2]=0;v[i+2324>>2]=0;j=b-1|0;h=(j+h|0)/(b|0)|0;v[i+2332>>2]=h;b=(j+k|0)/(b|0)|0;v[i+2328>>2]=b;f:{if(!((y|0)<0|(o|0)<0|(b|0)<(r|0))){if((h|0)>=(m|0)){break f}}a=vc(i,233700,242096,761,337337,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break d}break b}w=1<>2];v[k+8>>2]=v[c+8>>2];v[k+12>>2]=b;b=v[c+4>>2];v[k>>2]=v[c>>2];v[k+4>>2]=b;b=v[c+4>>2];h=h+j|0;v[h>>2]=v[c>>2];v[h+4>>2]=b;b=v[c+12>>2];v[h+8>>2]=v[c+8>>2];v[h+12>>2]=b;if(!E){k=1;h=n;while(1){y=i+2064|0;m=y+(h<<4)|0;j=v[m+12>>2];b=h-1|0;C=b<<4;l=C+(i+2192|0)|0;v[l+8>>2]=v[m+8>>2];v[l+12>>2]=j;j=v[m+4>>2];v[l>>2]=v[m>>2];v[l+4>>2]=j;j=B(k,3);r=v[l>>2]-j|0;v[l>>2]=r;o=j+v[l+8>>2]|0;v[l+8>>2]=o;m=v[l+4>>2]-j|0;v[l+4>>2]=m;j=j+v[l+12>>2]|0;v[l+12>>2]=j;if(!((o|0)>(r|0)&(j|0)>(m|0))){v[l>>2]=0;v[l+4>>2]=0;v[l+8>>2]=0;v[l+12>>2]=0}mr(l,l,i+2320|0);o=y+C|0;k=k<<1;m=0-k|0;v[o+8>>2]=m&v[l+8>>2];v[o+12>>2]=m&v[l+12>>2];j=k-1|0;v[o>>2]=m&j+v[l>>2];v[o+4>>2]=m&j+v[l+4>>2];j=(h|0)>1;h=b;if(j){continue}break}}j=0-w|0;F=j&v[i+2204>>2]-1;h=F+w|0;G=j&v[i+2200>>2]-1;b=G+w|0;y=j&v[i+2192>>2];z=b-y|0;r=j&v[i+2196>>2];H=Bg(i+2048|0,i+2060|0,B(z,h-r|0),2);if(!((h|0)<=(r|0)|(b|0)<=(y|0))){I=v[a+12>>2]>>5;o=(v[a>>2]+(B(I,r>>n)<<4)|0)+(y>>n<<4)|0;m=v[i+2060>>2];M=z<>2];S=v[i+2224>>2];C=y;j=m;a=o;while(1){h=n;g:{if(!s){break g}if(!((C+31|0)<(S|0)|v[i+2232>>2]<(C|0)|(N|0)<(Q|0))){h=n;if(v[i+2236>>2]>=(l|0)){break g}}h=2}p=0;b=ic(i,0,2048);J=32>>>h|0;D=n-h|0;K=1<>>4|0;A=0;while(1){h=v[(A>>>2&1073741820)+a>>2];h:{if(!h){break h}q=v[h+((A&15)<<2)>>2];if(!q){break h}h=p<<2;u[(v[h+991328>>2]<<1)+b>>1]=x[q>>1];u[(v[(h|4)+991328>>2]<<1)+b>>1]=x[q+2>>1];u[(v[(h|8)+991328>>2]<<1)+b>>1]=x[q+4>>1];u[(v[(h|12)+991328>>2]<<1)+b>>1]=x[q+6>>1];u[(v[(h|16)+991328>>2]<<1)+b>>1]=x[q+8>>1];u[(v[(h|20)+991328>>2]<<1)+b>>1]=x[q+10>>1];u[(v[(h|24)+991328>>2]<<1)+b>>1]=x[q+12>>1];u[(v[(h|28)+991328>>2]<<1)+b>>1]=x[q+14>>1];u[(v[(h|32)+991328>>2]<<1)+b>>1]=x[q+16>>1];u[(v[(h|36)+991328>>2]<<1)+b>>1]=x[q+18>>1];u[(v[(h|40)+991328>>2]<<1)+b>>1]=x[q+20>>1];u[(v[(h|44)+991328>>2]<<1)+b>>1]=x[q+22>>1];u[(v[(h|48)+991328>>2]<<1)+b>>1]=x[q+24>>1];u[(v[(h|52)+991328>>2]<<1)+b>>1]=x[q+26>>1];u[(v[(h|56)+991328>>2]<<1)+b>>1]=x[q+28>>1];u[(v[(h|60)+991328>>2]<<1)+b>>1]=x[q+30>>1]}p=p+16|0;A=A+1|0;if((k|0)!=(A|0)){continue}break}p=z<>1]=x[b>>1];b=(J<<1)+b|0;k=k+K|0;if((w|0)>(k|0)){continue}break}b=(D<<1)+b|0;h=(p<<1)+h|0;A=A+K|0;if((A|0)<(w|0)){continue}break}a=a+16|0;j=(w<<1)+j|0;b=(C|0)<(G|0);C=w+C|0;if(b){continue}break}o=(I<<4)+o|0;m=m+M|0;a=(l|0)<(F|0);l=l+w|0;if(a){continue}break}}b=0;o=0-r|0;m=0-y|0;i:{j:{if(E){break j}s=z<<1;while(1){j=(i+2192|0)+(b<<4)|0;a=v[j+12>>2];v[i+8>>2]=v[j+8>>2];v[i+12>>2]=a;h=v[j+4>>2];a=v[j>>2];v[i>>2]=a;v[i+4>>2]=h;v[299999]=0;h=a;a=0-w|0;v[i>>2]=h&a;v[i+4>>2]=a&v[i+4>>2];Lm(i,m,o);a=v[299999];v[299999]=0;if((a|0)==1){break i}if(!(!g|b>>>0<4)){p=v[i+4>>2];k=v[i+12>>2];if((p|0)>=(k|0)){break j}a=v[i>>2];j=v[i+8>>2];if((a|0)>=(j|0)){break j}h=v[i+2060>>2]+(B(p,z)<<1)|0;n=s<<1;while(1){b=a;while(1){g=(b<<1)+h|0;s=x[g>>1];u[g+2>>1]=s;g=(b+z<<1)+h|0;u[g>>1]=s;u[g+2>>1]=s;b=b+2|0;if((j|0)>(b|0)){continue}break}h=h+n|0;p=p+2|0;if((k|0)>(p|0)){continue}break}break j}v[299999]=0;h=v[i+4>>2];a=v[i>>2];j=w;w=w>>>1|0;At((v[i+2060>>2]+(B(h,z)<<1)|0)+(a<<1)|0,v[i+8>>2]-a|0,v[i+12>>2]-h|0,z,j,w);a=v[299999];v[299999]=0;if((a|0)==1){break c}b=b+1|0;if((n|0)!=(b|0)){continue}break}}a=v[c+12>>2];v[i+8>>2]=v[c+8>>2];v[i+12>>2]=a;a=v[c+4>>2];v[i>>2]=v[c>>2];v[i+4>>2]=a;v[299999]=0;Lm(i,m,o);a=v[299999];v[299999]=0;if((a|0)==1){break c}p=v[i+4>>2];o=v[i+12>>2];k:{if((p|0)>=(o|0)){break k}r=v[i+8>>2];c=v[i>>2];if((r|0)<=(c|0)){break k}m=r-c&1;g=v[i+2060>>2]+(B(p,z)<<1)|0;a=c+1|0;s=(a|0)==(r|0);while(1){b=d;k=c;if(m){h=u[(c<<1)+g>>1];b=h+32>>6;t[d|0]=(h|0)<-8224?-128:(b|0)<127?b:127;k=a;b=d+f|0}if(!s){while(1){j=(k<<1)+g|0;n=u[j>>1];h=n+32>>6;t[b|0]=(n|0)<-8224?-128:(h|0)<127?h:127;n=b+f|0;h=u[j+2>>1];b=h+32>>6;t[n|0]=(h|0)<-8224?-128:(b|0)<127?b:127;b=f+n|0;k=k+2|0;if((r|0)!=(k|0)){continue}break}}d=d+e|0;g=(z<<1)+g|0;p=p+1|0;if((o|0)!=(p|0)){continue}break}}Lc(H);Qb=i+2336|0;return}break c}L()}a=P()|0;O()|0;Lc(H);T(a|0);L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function nOa(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,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;f=Qb-96|0;Qb=f;v[f+80>>2]=0;v[f+72>>2]=0;v[f+76>>2]=0;v[f- -64>>2]=0;v[f+56>>2]=0;v[f+60>>2]=0;a:{b:{c:{d:{e:{f:{j=ei(311903);g:{if(!(e|!j)){e=Bc(j);v[f+48>>2]=0;v[f+40>>2]=0;v[f+44>>2]=0;v[299999]=0;U(2715,j|0,e|0,f+40|0);e=v[299999];v[299999]=0;h:{if((e|0)==1){e=P()|0;O()|0;if(t[f+51|0]<0){break h}break c}v[299999]=0;Q(2724,f+72|0,(t[f+51|0]<0?v[f+40>>2]:f+40|0)|0)|0;e=v[299999];v[299999]=0;i:{if((e|0)==1){break i}v[299999]=0;Q(2725,f+72|0,530172)|0;e=v[299999];v[299999]=0;if((e|0)==1){break i}if(t[f+51|0]>-1){break g}dc(v[f+40>>2]);break g}e=P()|0;O()|0;if(t[f+51|0]>-1){break c}}dc(v[f+40>>2]);break c}if(e){g=ve(e);if(g>>>0>=1073741808){v[299999]=0;R(2530,f+40|0);a=v[299999];v[299999]=0;if((a|0)==1){break f}break b}j:{k:{if(g>>>0>=2){v[299999]=0;l=g+4&-4;j=S(1,l<<2)|0;h=v[299999];v[299999]=0;if((h|0)==1){break f}v[f+40>>2]=j;v[f+44>>2]=g;v[f+48>>2]=l|-2147483648;break k}t[f+51|0]=g;j=f+40|0;if(!g){break j}}v[299999]=0;tc(j,e,g);e=v[299999];v[299999]=0;if((e|0)==1){break a}}v[(g<<2)+j>>2]=0;if(t[f+83|0]<=-1){dc(v[f+72>>2])}v[f+80>>2]=v[f+48>>2];e=v[f+44>>2];v[f+72>>2]=v[f+40>>2];v[f+76>>2]=e;v[299999]=0;Q(2725,f+72|0,530172)|0;e=v[299999];v[299999]=0;if((e|0)!=1){break g}break d}t[f+83|0]=0;v[f+72>>2]=0}v[299999]=0;Q(2725,f+72|0,530180)|0;e=v[299999];v[299999]=0;if((e|0)==1){break d}v[299999]=0;o=S(2456,0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break e}j=0;l:{while(1){g=w[f+83|0];e=g<<24>>24;m:{n:{o:{p:{q:{if(t[f+67|0]>=0){if((e|0)>=0){v[f- -64>>2]=v[f+80>>2];e=v[f+76>>2];v[f+56>>2]=v[f+72>>2];v[f+60>>2]=e;break q}v[299999]=0;Y(2544,f+56|0,v[f+72>>2],v[f+76>>2])|0;e=v[299999];v[299999]=0;if((e|0)!=1){break q}break p}v[299999]=0;e=(e|0)<0;Y(2545,f+56|0,(e?v[f+72>>2]:f+72|0)|0,(e?v[f+76>>2]:g)|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break p}}v[299999]=0;V(2726,f+40|0,j+o|0);e=v[299999];v[299999]=0;if((e|0)==1){break o}v[299999]=0;e=w[f+51|0];g=e<<24>>24<0;Y(2653,f+56|0,(g?v[f+40>>2]:f+40|0)|0,(g?v[f+44>>2]:e)|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break n}if(t[f+51|0]<=-1){dc(v[f+40>>2])}if(!d){break m}v[299999]=0;Q(2725,f+56|0,d|0)|0;e=v[299999];v[299999]=0;if((e|0)!=1){break m}}e=P()|0;O()|0;break c}e=P()|0;O()|0;break c}e=P()|0;O()|0;if(t[f+51|0]>-1){break c}dc(v[f+40>>2]);break c}g=v[f+56>>2];l=v[f+60>>2];e=t[f+67|0];v[f+24>>2]=0;v[299999]=0;v[f+8>>2]=0;h=g;g=(e|0)<0;fa(2716,(g?h:f+56|0)|0,(g?l:e&255)|0,f+24|0,f+8|0,0);e=v[299999];v[299999]=0;r:{s:{t:{u:{v:{if((e|0)==1){break v}e=v[f+8>>2];if(e>>>0>=4294967280){v[299999]=0;R(2530,f+40|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}e=P()|0;O()|0;break c}l=v[f+24>>2];w:{x:{if(e>>>0>=11){v[299999]=0;h=e+16&-16;g=S(1,h|0)|0;m=v[299999];v[299999]=0;if((m|0)==1){break v}v[f+40>>2]=g;v[f+44>>2]=e;v[f+48>>2]=h|-2147483648;break x}t[f+51|0]=e;g=f+40|0;if(!e){break w}}gc(g,l,e)}t[e+g|0]=0;e=v[f+24>>2];if(e){dc(e)}e=v[f+40>>2];g=t[f+51|0];l=zh((g|0)<0?e:f+40|0,240511);y:{if(!l){g=ve(c);if(g>>>0>=1073741808){v[299999]=0;R(2530,f+24|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}e=P()|0;O()|0;break s}z:{A:{B:{C:{D:{E:{F:{G:{if(g>>>0>=2){v[299999]=0;i=g+4&-4;e=S(1,i<<2)|0;h=v[299999];v[299999]=0;if((h|0)==1){break E}v[f+24>>2]=e;v[f+28>>2]=g;v[f+32>>2]=i|-2147483648;break G}t[f+35|0]=g;e=f+24|0;if(!g){break F}}v[299999]=0;tc(e,c,g);i=v[299999];v[299999]=0;if((i|0)==1){break a}}v[(g<<2)+e>>2]=0;g=v[f+24>>2];i=v[f+28>>2];e=t[f+35|0];v[f+92>>2]=0;v[299999]=0;v[f+88>>2]=0;h=g;g=(e|0)<0;fa(2716,(g?h:f+24|0)|0,(g?i:e&255)|0,f+92|0,f+88|0,0);e=v[299999];v[299999]=0;if((e|0)==1){break z}g=v[f+88>>2];if(g>>>0>=4294967280){v[299999]=0;R(2530,f+8|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}e=P()|0;O()|0;break t}i=v[f+92>>2];H:{I:{if(g>>>0>=11){v[299999]=0;h=g+16&-16;e=S(1,h|0)|0;m=v[299999];v[299999]=0;if((m|0)==1){break z}v[f+8>>2]=e;v[f+12>>2]=g;v[f+16>>2]=h|-2147483648;break I}t[f+19|0]=g;e=f+8|0;if(!g){break H}}gc(e,i,g)}t[e+g|0]=0;e=v[f+92>>2];if(e){dc(e)}e=v[f+40>>2];g=t[f+51|0];i=v[f+8>>2];h=t[f+19|0];m=zh((g|0)<0?e:f+40|0,(h|0)<0?i:f+8|0);if(!m){break A}if((f+56|0)==(a|0)){break B}n=w[f+67|0];k=n<<24>>24;if(t[a+11|0]<0){break C}if((k|0)<0){break D}k=v[f+60>>2];v[a>>2]=v[f+56>>2];v[a+4>>2]=k;v[a+8>>2]=v[f- -64>>2];break B}e=P()|0;O()|0;break s}v[299999]=0;Y(2544,a|0,v[f+56>>2],v[f+60>>2])|0;k=v[299999];v[299999]=0;if((k|0)!=1){break B}break u}v[299999]=0;k=(k|0)<0;Y(2545,a|0,(k?v[f+56>>2]:f+56|0)|0,(k?v[f+60>>2]:n)|0)|0;k=v[299999];v[299999]=0;if((k|0)==1){break u}}v[b>>2]=m}if((h|0)<=-1){dc(i)}if(t[f+35|0]<=-1){dc(v[f+24>>2])}i=(m|0)!=0;break y}e=P()|0;O()|0;break t}Be(l)}if((g|0)<=-1){dc(e)}if(l){break r}break l}e=P()|0;O()|0;break c}e=P()|0;O()|0;if((h|0)>-1){break t}dc(i)}if(t[f+35|0]>-1){break s}dc(v[f+24>>2])}if(t[f+51|0]>-1){break c}dc(v[f+40>>2]);break c}j=j+1|0;if((j|0)!=1e3){continue}break}i=0}if(t[f+67|0]<=-1){dc(v[f+56>>2])}if(t[f+83|0]<=-1){dc(v[f+72>>2])}Qb=f+96|0;return i|0}e=P()|0;O()|0;break c}e=P()|0;O()|0;break c}e=P()|0;O()|0}if(t[f+67|0]<=-1){dc(v[f+56>>2])}if(t[f+83|0]<=-1){dc(v[f+72>>2])}T(e|0);L()}L()}W(0)|0;O()|0;lc();L()}function tu(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0,C=0,D=0,E=0,F=0;d=Qb+-64|0;Qb=d;a:{b:{c:{d:{e:{f:{if(!w[a+200|0]){break f}c=v[a+104>>2];v[d+32>>2]=64;e=d+32|0;Ub[v[v[c>>2]+288>>2]](c,e)|0;c=v[a+104>>2];v[d+32>>2]=64;Ub[v[v[c>>2]+292>>2]](c,e)|0;j=v[a+196>>2];if(!j){break f}c=v[a+192>>2];e=(c>>>0)/93|0;f=v[a+180>>2];g:{if((f|0)==v[a+184>>2]){break g}k=f+(e<<2)|0;i=v[k>>2]+B(c-B(e,93)|0,44)|0;c=c+j|0;e=(c>>>0)/93|0;x=v[f+(e<<2)>>2]+B(c-B(e,93)|0,44)|0;if((i|0)==(x|0)){break g}while(1){c=0;f=v[i>>2];if((f|0)!=v[i+4>>2]){while(1){e=c<<2;j=v[e+v[i+24>>2]>>2];h=v[f+e>>2];g=v[v[i+12>>2]+(c>>>3&536870908)>>2];f=v[a+104>>2];v[d+32>>2]=32;e=d+32|0;Ub[v[v[f>>2]+288>>2]](f,e)|0;f=v[a+104>>2];v[d+32>>2]=g>>>c&1;Ub[v[v[f>>2]+388>>2]](f,e)|0;nk(a,h,A[b+104>>3],j);f=v[a+104>>2];v[d+32>>2]=4;Ub[v[v[f>>2]+292>>2]](f,e)|0;f=v[a+104>>2];v[d+32>>2]=32;Ub[v[v[f>>2]+292>>2]](f,e)|0;e=v[a+104>>2];Ub[v[v[e>>2]+324>>2]](e)|0;c=c+1|0;f=v[i>>2];if(c>>>0>2]-f>>2>>>0){continue}break}}y=v[v[i+40>>2]+8>>2];if((y|0)>0){c=v[a+104>>2];v[d+32>>2]=32;e=d+32|0;Ub[v[v[c>>2]+288>>2]](c,e)|0;c=v[a+104>>2];j=0;v[d+32>>2]=0;Ub[v[v[c>>2]+388>>2]](c,e)|0;c=v[a+104>>2];Ub[v[v[c>>2]+404>>2]](c)|0;while(1){v[d+48>>2]=0;v[d+52>>2]=1076101120;p=0;q=0;r=0;s=0;e=0;c=v[i+40>>2];if(v[c+8>>2]>(j|0)){c=v[c>>2]+(j<<6)|0;z=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);C=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);e=w[c+52|0]|w[c+53|0]<<8|(w[c+54|0]<<16|w[c+55|0]<<24);l(0,w[c+48|0]|w[c+49|0]<<8|(w[c+50|0]<<16|w[c+51|0]<<24));l(1,e|0);s=+n();e=w[c+44|0]|w[c+45|0]<<8|(w[c+46|0]<<16|w[c+47|0]<<24);l(0,w[c+40|0]|w[c+41|0]<<8|(w[c+42|0]<<16|w[c+43|0]<<24));l(1,e|0);r=+n();e=w[c+36|0]|w[c+37|0]<<8|(w[c+38|0]<<16|w[c+39|0]<<24);l(0,w[c+32|0]|w[c+33|0]<<8|(w[c+34|0]<<16|w[c+35|0]<<24));l(1,e|0);q=+n();e=w[c+28|0]|w[c+29|0]<<8|(w[c+30|0]<<16|w[c+31|0]<<24);l(0,w[c+24|0]|w[c+25|0]<<8|(w[c+26|0]<<16|w[c+27|0]<<24));l(1,e|0);p=+n();e=w[c+12|0]|w[c+13|0]<<8|(w[c+14|0]<<16|w[c+15|0]<<24);l(0,w[c+8|0]|w[c+9|0]<<8|(w[c+10|0]<<16|w[c+11|0]<<24));l(1,e|0);E=d,F=+n(),A[E+48>>3]=F;D=w[c+16|0]|w[c+17|0]<<8|(w[c+18|0]<<16|w[c+19|0]<<24);e=w[c+20|0]|w[c+21|0]<<8|(w[c+22|0]<<16|w[c+23|0]<<24)}h=v[a+104>>2];c=ve(C);if(c>>>0>=1073741808){break e}h:{i:{if(c>>>0>=2){g=c+4&-4;f=fc(g<<2);v[d+40>>2]=g|-2147483648;v[d+32>>2]=f;v[d+36>>2]=c;break i}t[d+43|0]=c;f=d+32|0;if(!c){break h}}v[299999]=0;tc(f,C,c);g=v[299999];v[299999]=0;if((g|0)==1){break a}}v[(c<<2)+f>>2]=0;c=v[v[h>>2]+220>>2];v[299999]=0;Q(c|0,h|0,d+32|0)|0;c=v[299999];v[299999]=0;j:{k:{l:{m:{if((c|0)!=1){if(t[d+43|0]<=-1){dc(v[d+32>>2])}h=v[a+104>>2];c=ve(z);if(c>>>0>=1073741808){break d}n:{o:{if(c>>>0>=2){g=c+4&-4;f=fc(g<<2);v[d+40>>2]=g|-2147483648;v[d+32>>2]=f;v[d+36>>2]=c;break o}t[d+43|0]=c;f=d+32|0;if(!c){break n}}v[299999]=0;tc(f,z,c);g=v[299999];v[299999]=0;if((g|0)==1){break a}}v[(c<<2)+f>>2]=0;c=v[v[h>>2]+228>>2];v[299999]=0;Q(c|0,h|0,d+32|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break m}if(t[d+43|0]<=-1){dc(v[d+32>>2])}c=v[a+104>>2];Ub[v[v[c>>2]+236>>2]](c,d+48|0)|0;c=v[a+104>>2];v[d+32>>2]=D;h=d+32|0;Ub[v[v[c>>2]+244>>2]](c,h)|0;f=v[a+104>>2];c=v[i+40>>2];c=v[c+8>>2]>(j|0)?v[c+4>>2]+B(j,48)|0:0;A[d+32>>3]=A[c+32>>3]/72*25.4;A[d+56>>3]=A[c+40>>3]/72*25.4;Ub[v[v[f>>2]+372>>2]](f,c,c+8|0,c+16|0,c+24|0,h,d+56|0)|0;A[a+112>>3]=A[c>>3];A[a+120>>3]=A[c+8>>3];A[a+128>>3]=A[c+16>>3];A[a+136>>3]=A[c+24>>3];A[a+144>>3]=A[c+32>>3];A[a+152>>3]=A[c+40>>3];c=e;if(!c){break j}while(1){f=c;c=c+4|0;if(v[f>>2]){continue}break}c=f-e|0;h=c>>2;switch(h|0){case 0:break j;case 1:break k;default:break l}}c=P()|0;O()|0;if(t[d+43|0]>-1){break c}dc(v[d+32>>2]);break c}c=P()|0;O()|0;if(t[d+43|0]>-1){break c}break b}f=fc((h|0)!=(h&1073741823)?-1:h<<2);p:{if((c|0)<1){break p}g=(h|0)>1?h:1;o=g&3;c=0;if(g-1>>>0>=3){u=g&2147483644;while(1){g=c<<2;v[g+f>>2]=v[e+g>>2];m=g|4;v[m+f>>2]=v[e+m>>2];m=g|8;v[m+f>>2]=v[e+m>>2];g=g|12;v[g+f>>2]=v[e+g>>2];c=c+4|0;u=u-4|0;if(u){continue}break}}if(!o){break p}while(1){g=c<<2;v[g+f>>2]=v[e+g>>2];c=c+1|0;o=o-1|0;if(o){continue}break}}c=v[a+104>>2];v[d+32>>2]=0;t[d+43|0]=0;A[d+56>>3]=p/72*25.4;A[d+16>>3]=q/72*25.4;A[d+8>>3]=r/72*25.4;A[d>>3]=s/72*25.4;e=v[v[c>>2]+352>>2];v[299999]=0;sa(e|0,c|0,d+32|0,f|0,h|0,d+56|0,d+16|0,d+8|0,d|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){if(t[d+43|0]<=-1){dc(v[d+32>>2])}dc(f);break j}c=P()|0;O()|0;if(t[d+43|0]>-1){break c}break b}c=v[a+104>>2];v[d>>2]=0;v[d+28>>2]=v[e>>2];A[d+32>>3]=p/72*25.4;A[d+56>>3]=q/72*25.4;A[d+16>>3]=r/72*25.4;A[d+8>>3]=s/72*25.4;Ub[v[v[c>>2]+348>>2]](c,d,d+28|0,d+32|0,d+56|0,d+16|0,d+8|0)|0}j=j+1|0;if((y|0)!=(j|0)){continue}break}c=v[a+104>>2];v[d+32>>2]=4;Ub[v[v[c>>2]+292>>2]](c,d+32|0)|0;c=v[a+104>>2];v[d+32>>2]=32;Ub[v[v[c>>2]+292>>2]](c,d+32|0)|0;c=v[a+104>>2];Ub[v[v[c>>2]+324>>2]](c)|0;c=v[a+104>>2];Ub[v[v[c>>2]+408>>2]](c)|0}i=i+44|0;if((i-v[k>>2]|0)==4092){i=v[k+4>>2];k=k+4|0}if((i|0)!=(x|0)){continue}break}}t[a+200|0]=0;Ub[v[v[a>>2]+156>>2]](a,b)}Qb=d- -64|0;return}$d(d+32|0);L()}$d(d+32|0);L()}T(c|0);L()}dc(v[d+32>>2]);T(c|0);L()}W(0)|0;O()|0;lc();L()}function XW(a,b,c,d,e,f,g){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,w=0,x=0,y=0,z=0,B=0,C=0,E=0,F=0;l=A[a>>3];p=A[c+8>>3];x=A[e>>3];s=A[c>>3];q=A[d>>3];y=A[e+8>>3];r=A[d+8>>3];v[b>>2]=0;t=x-q;n=l*t/g;z=y-r;o=l*z/g;B=q-s;k=l*B/f;C=r-p;m=l*C/f;a:{b:{c:{d:{t=C*t-B*z;if(!(t==0|(!(t>0)|0)==(l>0|0))){l=A[a+40>>3];p=(f>3];l=l>p?l:p;e:{f:{i=v[a+64>>2];switch(i-1|0){case 0:break b;case 1:case 2:break e;default:break f}}a=0;if(!v[b+4>>2]){g:{if(v[b+8>>2]){e=v[b+12>>2];c=0;break g}h=v[b+16>>2];e=fc((h&1073741823)!=(h|0)?-1:h<<2);a=v[b+12>>2];h:{if(!a){c=0;a=0;break h}dc(a);h=v[b+8>>2]+v[b+16>>2]|0;c=v[b+4>>2];a=v[b>>2]}v[b+8>>2]=h;v[b+12>>2]=e}E=e,F=fc(1024),v[E>>2]=F;v[b+4>>2]=c+1}a=v[v[b+12>>2]>>2]+((a&63)<<4)|0;A[a+8>>3]=r-k;A[a>>3]=q+m;break c}p=f*f;f=m-o;s=f*f;f=k-n;f=s+f*f;if(!(!(p>f)|!(f>2];if((i|0)==2){a=0;if(!e){i:{if(v[b+8>>2]){e=v[b+12>>2];c=0;break i}h=v[b+16>>2];e=fc((h&1073741823)!=(h|0)?-1:h<<2);a=v[b+12>>2];j:{if(!a){c=0;a=0;break j}dc(a);h=v[b+8>>2]+v[b+16>>2]|0;c=v[b+4>>2];a=v[b>>2]}v[b+8>>2]=h;v[b+12>>2]=e}E=e,F=fc(1024),v[E>>2]=F;v[b+4>>2]=c+1}a=v[v[b+12>>2]>>2]+((a&63)<<4)|0;A[a+8>>3]=f;A[a>>3]=g;a=v[b>>2]+1|0;v[b>>2]=a;f=A[d+8>>3];g=A[d>>3];c=v[b+4>>2];e=a>>>6|0;if(c>>>0<=e>>>0){i=v[b+8>>2];k:{if(i>>>0>e>>>0){h=v[b+12>>2];break k}j=i+v[b+16>>2]|0;h=fc((j&1073741823)!=(j|0)?-1:j<<2);i=v[b+12>>2];if(i){gc(h,i,c<<2);dc(i);j=v[b+8>>2]+v[b+16>>2]|0;c=v[b+4>>2];a=v[b>>2]}v[b+8>>2]=j;v[b+12>>2]=h}E=(e<<2)+h|0,F=fc(1024),v[E>>2]=F;v[b+4>>2]=c+1}a=v[v[b+12>>2]+(e<<2)>>2]+((a&63)<<4)|0;A[a+8>>3]=f;break d}c=0;if(!e){l:{if(v[b+8>>2]){e=v[b+12>>2];break l}j=v[b+16>>2];e=fc((j&1073741823)!=(j|0)?-1:j<<2);c=v[b+12>>2];m:{if(!c){c=0;break m}dc(c);j=v[b+8>>2]+v[b+16>>2]|0;h=v[b+4>>2];c=v[b>>2]}v[b+8>>2]=j;v[b+12>>2]=e}E=e,F=fc(1024),v[E>>2]=F;v[b+4>>2]=h+1}c=v[v[b+12>>2]>>2]+((c&63)<<4)|0;A[c+8>>3]=f;A[c>>3]=g;e=v[b>>2]+1|0;v[b>>2]=e;f=A[d+8>>3];g=A[d>>3];h=v[b+4>>2];u=e>>>6|0;if(h>>>0<=u>>>0){c=v[b+8>>2];n:{if(c>>>0>u>>>0){j=v[b+12>>2];break n}c=c+v[b+16>>2]|0;j=fc((c|0)!=(c&1073741823)?-1:c<<2);i=b;w=v[b+12>>2];if(w){gc(j,w,h<<2);dc(w);e=v[b>>2];h=v[b+4>>2];c=v[b+8>>2]+v[b+16>>2]|0}v[i+8>>2]=c;v[b+12>>2]=j}E=(u<<2)+j|0,F=fc(1024),v[E>>2]=F;v[b+4>>2]=h+1}c=v[v[b+12>>2]+(u<<2)>>2]+((e&63)<<4)|0;A[c+8>>3]=f;A[c>>3]=g;v[b>>2]=v[b>>2]+1;OG(a,b,A[d>>3],A[d+8>>3],o,-n,m,-k);f=A[d+8>>3];g=A[d>>3];c=v[b+4>>2];e=v[b>>2];a=e>>>6|0;if(c>>>0<=a>>>0){i=v[b+8>>2];o:{if(i>>>0>a>>>0){h=v[b+12>>2];break o}j=i+v[b+16>>2]|0;h=fc((j&1073741823)!=(j|0)?-1:j<<2);i=v[b+12>>2];if(i){gc(h,i,c<<2);dc(i);j=v[b+8>>2]+v[b+16>>2]|0;e=v[b>>2];c=v[b+4>>2]}v[b+8>>2]=j;v[b+12>>2]=h}E=(a<<2)+h|0,F=fc(1024),v[E>>2]=F;v[b+4>>2]=c+1}a=v[v[b+12>>2]+(a<<2)>>2]+((e&63)<<4)|0;A[a+8>>3]=f;break d}f=(m+o)*.5;g=f*f;f=(k+n)*.5;f=K(g+f*f);i=v[a+60>>2];if(!(!(A[a+16>>3]>A[a+48>>3]*(A[a+8>>3]-f))|(i&-2)!=2)){l=q+m;f=s+m;m=l-f;g=y-n;n=r-n;s=g-n;r=r-k;g=p-k;k=r-g;p=x+o;o=q+o;q=p-o;p=m*s-k*q;if(!(D(p)<1e-30)){l=g;g=(q*(g-n)-(f-o)*s)/p;k=l+k*g;a=0;if(!v[b+4>>2]){p:{if(v[b+8>>2]){d=v[b+12>>2];e=0;break p}c=v[b+16>>2];d=fc((c&1073741823)!=(c|0)?-1:c<<2);a=v[b+12>>2];q:{if(!a){e=0;a=0;break q}dc(a);c=v[b+8>>2]+v[b+16>>2]|0;e=v[b+4>>2];a=v[b>>2]}v[b+8>>2]=c;v[b+12>>2]=d}E=d,F=fc(1024),v[E>>2]=F;v[b+4>>2]=e+1}a=v[v[b+12>>2]>>2]+((a&63)<<4)|0;A[a+8>>3]=k;A[a>>3]=f+m*g;break a}a=0;if(!v[b+4>>2]){r:{if(v[b+8>>2]){d=v[b+12>>2];e=0;break r}c=v[b+16>>2];d=fc((c&1073741823)!=(c|0)?-1:c<<2);a=v[b+12>>2];s:{if(!a){e=0;a=0;break s}dc(a);c=v[b+8>>2]+v[b+16>>2]|0;e=v[b+4>>2];a=v[b>>2]}v[b+8>>2]=c;v[b+12>>2]=d}E=d,F=fc(1024),v[E>>2]=F;v[b+4>>2]=e+1}a=v[v[b+12>>2]>>2]+((a&63)<<4)|0;A[a+8>>3]=r;A[a>>3]=l;break a}t:{switch(i|0){case 0:case 1:case 4:WW(a,b,c,d,e,m,k,o,n,i,A[a+32>>3],f);return;case 2:OG(a,b,q,r,m,-k,o,-n);return;default:break t}}a=0;if(!v[b+4>>2]){u:{if(v[b+8>>2]){e=v[b+12>>2];c=0;break u}h=v[b+16>>2];e=fc((h&1073741823)!=(h|0)?-1:h<<2);a=v[b+12>>2];v:{if(!a){c=0;a=0;break v}dc(a);h=v[b+8>>2]+v[b+16>>2]|0;c=v[b+4>>2];a=v[b>>2]}v[b+8>>2]=h;v[b+12>>2]=e}E=e,F=fc(1024),v[E>>2]=F;v[b+4>>2]=c+1}a=v[v[b+12>>2]>>2]+((a&63)<<4)|0;A[a+8>>3]=r-k;A[a>>3]=q+m;a=v[b>>2]+1|0;v[b>>2]=a;f=A[d+8>>3]-n;g=o+A[d>>3];e=v[b+4>>2];d=a>>>6|0;if(e>>>0<=d>>>0){c=v[b+8>>2];w:{if(c>>>0>d>>>0){c=v[b+12>>2];break w}h=c+v[b+16>>2]|0;c=fc((h&1073741823)!=(h|0)?-1:h<<2);i=v[b+12>>2];if(i){gc(c,i,e<<2);dc(i);h=v[b+8>>2]+v[b+16>>2]|0;e=v[b+4>>2];a=v[b>>2]}v[b+8>>2]=h;v[b+12>>2]=c}E=(d<<2)+c|0,F=fc(1024),v[E>>2]=F;v[b+4>>2]=e+1}a=v[v[b+12>>2]+(d<<2)>>2]+((a&63)<<4)|0;A[a+8>>3]=f;A[a>>3]=g;v[b>>2]=v[b>>2]+1;return}A[a>>3]=g}a=v[b>>2]+1|0;v[b>>2]=a;f=A[d+8>>3]-n;g=o+A[d>>3];e=v[b+4>>2];d=a>>>6|0;if(e>>>0<=d>>>0){c=v[b+8>>2];x:{if(c>>>0>d>>>0){c=v[b+12>>2];break x}h=c+v[b+16>>2]|0;c=fc((h&1073741823)!=(h|0)?-1:h<<2);i=v[b+12>>2];if(i){gc(c,i,e<<2);dc(i);h=v[b+8>>2]+v[b+16>>2]|0;e=v[b+4>>2];a=v[b>>2]}v[b+8>>2]=h;v[b+12>>2]=c}E=(d<<2)+c|0,F=fc(1024),v[E>>2]=F;v[b+4>>2]=e+1}a=v[v[b+12>>2]+(d<<2)>>2]+((a&63)<<4)|0;A[a+8>>3]=f;A[a>>3]=g;break a}WW(a,b,c,d,e,m,k,o,n,1,l,0);return}v[b>>2]=v[b>>2]+1}function n9(){var a=0,b=0,c=0,d=0,e=0;v[300447]=0;v[300446]=1021688;v[300446]=1016760;v[300446]=1016312;v[299999]=0;b=Q(5624,1201792,30)|0;a=v[299999];v[299999]=0;a:{b:{c:{d:{e:{if((a|0)!=1){v[299999]=0;c=Q(3106,1201936,322139)|0;a=v[299999];v[299999]=0;if((a|0)==1){break e}PL(b);v[300369]=0;v[300368]=1021688;v[300368]=1016760;v[300368]=1017636;v[299999]=0;V(5625,1201784,1201472);a=v[299999];v[299999]=0;if((a|0)==1){break d}v[300371]=0;v[300370]=1021688;v[300370]=1016760;v[300370]=1017668;v[299999]=0;V(5626,1201784,1201480);a=v[299999];v[299999]=0;if((a|0)==1){break d}v[300373]=0;v[300372]=1021688;v[300372]=1016760;t[1201500]=0;v[300374]=0;v[300372]=1016332;d=1201496,e=ft(),v[d>>2]=e;v[299999]=0;V(5627,1201784,1201488);a=v[299999];v[299999]=0;if((a|0)==1){break d}v[300377]=0;v[300376]=1021688;v[300376]=1016760;v[300376]=1016816;v[299999]=0;V(5628,1201784,1201504);a=v[299999];v[299999]=0;if((a|0)==1){break d}v[300379]=0;v[300378]=1021688;v[300378]=1016760;v[300378]=1016964;v[299999]=0;V(5629,1201784,1201512);a=v[299999];v[299999]=0;if((a|0)==1){break d}v[299999]=0;ba(5630);a=v[299999];v[299999]=0;if((a|0)==1){break d}v[299999]=0;V(5631,1201784,1201520);a=v[299999];v[299999]=0;if((a|0)==1){break d}v[300385]=0;v[300384]=1021688;v[300384]=1016760;v[300384]=1017112;v[299999]=0;V(5632,1201784,1201536);a=v[299999];v[299999]=0;if((a|0)==1){break d}v[300387]=0;v[300386]=1021688;v[300386]=1016760;v[300386]=1017228;v[299999]=0;V(5633,1201784,1201544);a=v[299999];v[299999]=0;if((a|0)==1){break d}v[300389]=0;v[300388]=1021688;v[300388]=1016760;u[600780]=11310;v[300388]=1016432;ge(1201564);v[299999]=0;V(5634,1201784,1201552);a=v[299999];v[299999]=0;if((a|0)==1){break d}v[300395]=0;v[300394]=1021688;v[300394]=1016760;v[300396]=46;v[300397]=44;v[300394]=1016472;ge(1201592);v[299999]=0;V(5635,1201784,1201576);a=v[299999];v[299999]=0;if((a|0)==1){break d}v[300403]=0;v[300402]=1021688;v[300402]=1016760;v[300402]=1017700;v[299999]=0;V(5636,1201784,1201608);a=v[299999];v[299999]=0;if((a|0)==1){break d}v[300405]=0;v[300404]=1021688;v[300404]=1016760;v[300404]=1017944;v[299999]=0;V(5637,1201784,1201616);a=v[299999];v[299999]=0;if((a|0)==1){break d}v[300407]=0;v[300406]=1021688;v[300406]=1016760;v[300406]=1018156;v[299999]=0;V(5638,1201784,1201624);a=v[299999];v[299999]=0;if((a|0)==1){break d}v[300409]=0;v[300408]=1021688;v[300408]=1016760;v[300408]=1018388;v[299999]=0;V(5639,1201784,1201632);a=v[299999];v[299999]=0;if((a|0)==1){break d}v[299999]=0;v[300411]=0;v[300410]=1021688;v[300410]=1016760;v[300410]=1019372;a=v[299999];v[299999]=0;if((a|0)==1){break d}v[299999]=0;V(5641,1201784,1201640);a=v[299999];v[299999]=0;if((a|0)==1){break d}v[300413]=0;v[300412]=1021688;v[300412]=1016760;v[300412]=1019520;v[299999]=0;V(5642,1201784,1201648);a=v[299999];v[299999]=0;if((a|0)==1){break d}v[300415]=0;v[300414]=1021688;v[300414]=1016760;v[300414]=1019636;v[299999]=0;V(5643,1201784,1201656);a=v[299999];v[299999]=0;if((a|0)==1){break d}v[300417]=0;v[300416]=1021688;v[300416]=1016760;v[300416]=1019752;v[299999]=0;V(5644,1201784,1201664);a=v[299999];v[299999]=0;if((a|0)==1){break d}v[299999]=0;v[300419]=0;v[300418]=1021688;v[300418]=1016760;v[300418]=1019868;a=v[299999];v[299999]=0;if((a|0)==1){break d}v[299999]=0;V(5646,1201784,1201672);a=v[299999];v[299999]=0;if((a|0)==1){break d}v[299999]=0;v[300421]=0;v[300420]=1021688;v[300420]=1016760;v[300420]=1020032;a=v[299999];v[299999]=0;if((a|0)==1){break d}v[299999]=0;V(5648,1201784,1201680);a=v[299999];v[299999]=0;if((a|0)==1){break d}v[299999]=0;v[300423]=0;v[300422]=1021688;v[300422]=1016760;v[300422]=1020196;a=v[299999];v[299999]=0;if((a|0)==1){break d}v[299999]=0;V(5650,1201784,1201688);a=v[299999];v[299999]=0;if((a|0)==1){break d}v[299999]=0;v[300425]=0;v[300424]=1021688;v[300424]=1016760;v[300424]=1020360;a=v[299999];v[299999]=0;if((a|0)==1){break d}v[299999]=0;V(5652,1201784,1201696);a=v[299999];v[299999]=0;if((a|0)==1){break d}v[300427]=0;v[300426]=1021688;v[300426]=1016760;v[300428]=1021616;v[300426]=1018588;v[300428]=1018636;v[299999]=0;V(5653,1201784,1201704);a=v[299999];v[299999]=0;if((a|0)==1){break d}v[300431]=0;v[300430]=1021688;v[300430]=1016760;v[300432]=1021652;v[300430]=1018852;v[300432]=1018900;v[299999]=0;V(5654,1201784,1201720);a=v[299999];v[299999]=0;if((a|0)==1){break d}v[299999]=0;ba(5655);a=v[299999];v[299999]=0;if((a|0)==1){break d}v[299999]=0;V(5656,1201784,1201736);a=v[299999];v[299999]=0;if((a|0)==1){break d}v[299999]=0;ba(5657);a=v[299999];v[299999]=0;if((a|0)==1){break d}v[299999]=0;V(5658,1201784,1201752);a=v[299999];v[299999]=0;if((a|0)==1){break d}v[299999]=0;v[300443]=0;v[300442]=1021688;v[300442]=1016760;v[300442]=1020524;a=v[299999];v[299999]=0;if((a|0)==1){break d}v[299999]=0;V(5660,1201784,1201768);a=v[299999];v[299999]=0;if((a|0)==1){break d}v[300445]=0;v[300444]=1021688;v[300444]=1016760;v[300444]=1020644;v[299999]=0;V(5661,1201784,1201776);a=v[299999];v[299999]=0;if((a|0)==1){break d}break a}a=P()|0;O()|0;break b}a=P()|0;O()|0;break c}a=P()|0;O()|0;Mc(c)}QL(b)}T(a|0);L()}v[300045]=1201784;return 1200180}function cma(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=Qb-48|0;Qb=e;a:{b:{if(v[a+12>>2]){v[e+40>>2]=0;v[e+44>>2]=v[282402];b=v[b>>2];c:{if(b){f=v[v[b>>2]+28>>2];v[299999]=0;U(f|0,e+32|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break c}b=P()|0;O()|0;break a}v[e+32>>2]=0}v[299999]=0;Q(4344,e+40|0,e+32|0)|0;b=v[299999];v[299999]=0;d:{if((b|0)!=1){b=v[e+32>>2];v[e+32>>2]=0;if(!b){break d}v[299999]=0;f=v[b+4>>2]-1|0;v[b+4>>2]=f;g=v[299999];v[299999]=0;if((g|0)!=1){if(f){break d}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break d}}break b}b=P()|0;O()|0;ec(e+32|0);break a}f=v[e+40>>2];g=f;v[e+44>>2]=v[(f?f+12|0:1129608)>>2];e:{if(!f){break e}b=0;while(1){f:{g:{if(b){h=v[f+8>>2];if((h|0)<(b|0)){v[299999]=0;ba(4543);a=v[299999];v[299999]=0;if((a|0)==1){break g}L()}if(w[v[f+12>>2]+b|0]==3){break f}v[299999]=0;$(4568,e+32|0,e+40|0,b|0,h-b|0);b=v[299999];v[299999]=0;h:{if((b|0)!=1){v[299999]=0;Q(4535,e+40|0,e+32|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break h}ec(e+32|0);break e}b=P()|0;O()|0;break a}b=P()|0;O()|0;ec(e+32|0);break a}if(w[v[g+12>>2]]==3){break f}break e}b=P()|0;O()|0;break a}b=b+1|0;continue}}v[299999]=0;f=Fe(e+40|0);b=v[299999];v[299999]=0;i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{if((b|0)==1){break w}v[299999]=0;b=v[v[a+20>>2]+((f>>>0)%y[a+16>>2]<<2)>>2];a=v[299999];v[299999]=0;if((a|0)==1){break w}if(!b){break i}x:{while(1){y:{if((f|0)==v[b+12>>2]){v[299999]=0;a=Y(4541,b+16|0,e+40|0,-1)|0;g=v[299999];v[299999]=0;if((g|0)==1){break x}if(!a){break y}}b=v[b+8>>2];if(b){continue}break i}break}f=0;a=v[b+24>>2];if(a){v[299999]=0;v[a+4>>2]=v[a+4>>2]+1;a=v[299999];v[299999]=0;if((a|0)==1){break v}f=v[b+24>>2]}v[e+24>>2]=f;v[299999]=0;a=Q(4340,e+32|0,984286)|0;b=v[299999];v[299999]=0;if((b|0)==1){break q}v[299999]=0;g=Fe(a);b=v[299999];v[299999]=0;if((b|0)==1){break t}v[299999]=0;b=v[v[f+28>>2]+((g>>>0)%y[f+24>>2]<<2)>>2];h=v[299999];v[299999]=0;if((h|0)==1){break t}z:{if(b){while(1){if((g|0)==v[b+12>>2]){v[299999]=0;h=Y(4541,b+16|0,a|0,-1)|0;i=v[299999];v[299999]=0;if((i|0)==1){break u}if(!h){break z}}b=v[b+8>>2];if(b){continue}break}}b=0}ec(a);if(!b){break s}v[299999]=0;Q(4535,c|0,b+24|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break r}b=P()|0;O()|0;break j}b=P()|0;O()|0;break a}b=P()|0;O()|0;break a}b=P()|0;O()|0;break a}b=P()|0;O()|0;ec(a);break j}b=P()|0;O()|0;ec(a);break j}v[e+32>>2]=0;v[e+36>>2]=v[282402];A:{a=v[f+60>>2];B:{C:{if(a){b=v[v[a>>2]+28>>2];v[299999]=0;U(b|0,e+16|0,a|0,1);a=v[299999];v[299999]=0;if((a|0)!=1){break C}b=P()|0;O()|0;break B}v[e+16>>2]=0}v[299999]=0;Q(4344,e+32|0,e+16|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){a=v[e+16>>2];v[e+16>>2]=0;if(!a){break A}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;g=v[299999];v[299999]=0;if((g|0)!=1){if(b){break A}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break A}}break b}b=P()|0;O()|0;ec(e+16|0)}ec(e+32|0);break j}g=v[e+32>>2];v[e+36>>2]=v[(g?g+12|0:1129608)>>2];b=0;D:{E:{F:{G:{H:{I:{J:{K:{L:{if(!g){break L}a=0;v[299999]=0;g=Ml(g,10,0);b=v[299999];v[299999]=0;if((b|0)==1){break p}b=0;h=v[e+32>>2];M:{if(!h){break M}v[299999]=0;a=Y(4965,h|0,0,-1)|0;h=v[299999];v[299999]=0;if((h|0)==1){break K}h=v[e+32>>2];if(!h){break M}v[299999]=0;b=Y(4966,h|0,0,-1)|0;h=v[299999];v[299999]=0;if((h|0)==1){break J}}if((g|0)<0|(a|0)<0){break L}if((a|0)>=(g|0)){break E}}v[299999]=0;$(4568,e+8|0,e+32|0,0,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break I}v[299999]=0;V(4967,e+16|0,e+8|0);a=v[299999];v[299999]=0;if((a|0)==1){break H}v[299999]=0;Q(4535,c|0,e+16|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break G}break D}b=P()|0;O()|0;break k}b=P()|0;O()|0;break k}b=P()|0;O()|0;break k}b=P()|0;O()|0;break F}b=P()|0;O()|0;ec(e+16|0)}ec(e+8|0);break k}v[299999]=0;$(4568,e+8|0,e+32|0,g+1|0,(g^-1)+b|0);a=v[299999];v[299999]=0;if((a|0)==1){break l}v[299999]=0;V(4967,e+16|0,e+8|0);a=v[299999];v[299999]=0;if((a|0)==1){break n}v[299999]=0;Q(4535,c|0,e+16|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break o}}ec(e+16|0);ec(e+8|0);ec(e+32|0)}v[299999]=0;c=Q(4340,e+32|0,984292)|0;a=v[299999];v[299999]=0;N:{O:{P:{if((a|0)!=1){v[299999]=0;g=Fe(c);a=v[299999];v[299999]=0;if((a|0)==1){break O}a=0;v[299999]=0;b=v[v[f+28>>2]+((g>>>0)%y[f+24>>2]<<2)>>2];h=v[299999];v[299999]=0;if((h|0)==1){break O}Q:{if(!b){break Q}while(1){R:{if((g|0)!=v[b+12>>2]){break R}v[299999]=0;a=Y(4541,b+16|0,c|0,-1)|0;h=v[299999];v[299999]=0;if((h|0)==1){break P}if(a){break R}a=b;break Q}b=v[b+8>>2];if(b){continue}break}a=0}ec(c);if(!a){break N}v[299999]=0;Q(4535,d|0,a+24|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break N}b=P()|0;O()|0;break j}b=P()|0;O()|0;break j}b=P()|0;O()|0;ec(c);break j}b=P()|0;O()|0;ec(c);break j}if(!f){break i}v[299999]=0;a=v[f+4>>2]-1|0;v[f+4>>2]=a;b=v[299999];v[299999]=0;if((b|0)!=1){if(a){break i}v[299999]=0;R(4338,f|0);a=v[299999];v[299999]=0;if((a|0)!=1){break i}}break b}b=P()|0;O()|0;break j}b=P()|0;O()|0;break k}b=P()|0;O()|0;ec(e+16|0);break m}b=P()|0;O()|0}ec(e+8|0);break k}b=P()|0;O()|0}ec(e+32|0)}ec(e+24|0);break a}ec(e+40|0)}Qb=e+48|0;return}W(0)|0;O()|0;lc();L()}ec(e+40|0);T(b|0);L()}function bma(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=Qb-112|0;Qb=e;g=Ct(e+88|0,c);v[299999]=0;U(4423,e+96|0,345889,g|0);f=v[299999];v[299999]=0;a:{b:{if((f|0)!=1){v[299999]=0;U(4546,e+104|0,e+96|0,346144);f=v[299999];v[299999]=0;if((f|0)!=1){ec(e+96|0);ec(g);c:{d:{e:{f:{g:{h:{i:{g=v[b>>2];if(!g){break i}f=v[e+104>>2];f=v[(f?f+12|0:1129608)>>2];v[299999]=0;f=Y(4968,g|0,f|0,0)|0;g=v[299999];v[299999]=0;if((g|0)!=1){if((f|0)<0){break i}while(1){a=v[e+104>>2];if(a){a=v[a+8>>2]}else{a=0}g=a+f|0;a=g+1|0;c=v[b>>2];j:{if(!c){c=-1;break j}v[299999]=0;c=Ml(c,33,a);h=v[299999];v[299999]=0;if((h|0)==1){break d}}k:{if((c|0)<=(f|0)){break k}l:{j=c+1|0;c=j-a|0;if(!c){break l}m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{if(g){h=v[b>>2];l=!h;a=g;i=a;w:{if((a|0)>-1){break w}i=g;if(!h){break w}i=g+v[h+8>>2]|0}a=i;if(!(l|(a|0)<0|v[h+8>>2]<(a|0))){h=v[h+12>>2];break v}v[299999]=0;ba(4543);a=v[299999];v[299999]=0;if((a|0)==1){break t}break b}a=v[b>>2];if(!a){break u}h=v[a+12>>2];a=0}if(t[a+h|0]<0){break l}}v[e+96>>2]=0;v[e+100>>2]=v[282402];v[299999]=0;$(4568,e+80|0,b|0,g|0,c|0);a=v[299999];v[299999]=0;if((a|0)==1){break s}v[299999]=0;U(4423,e+88|0,345889,e+80|0);a=v[299999];v[299999]=0;if((a|0)==1){break r}ec(e+80|0);a=v[e+88>>2];if(!(!a|(c|0)>-1)){c=v[a+8>>2]+c|0}if(!(v[a+8>>2]>=(c|0)?!(!a|(c|0)<0):0)){v[299999]=0;ba(4543);a=v[299999];v[299999]=0;if((a|0)!=1){break b}f=P()|0;O()|0;break f}switch(t[v[a+12>>2]+c|0]-88|0){case 13:case 14:case 15:break o;case 0:case 23:case 29:case 32:break p;case 12:case 17:break q;default:break n}}f=P()|0;O()|0;break c}f=P()|0;O()|0;break e}f=P()|0;O()|0;ec(e+80|0);break e}g=v[a+12>>2];a=v[d>>2];x:{if(!a){c=0;break x}c=v[v[a>>2]+40>>2];v[299999]=0;c=S(c|0,a|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break g}}v[e+16>>2]=c;v[299999]=0;Y(4635,e+96|0,g|0,e+16|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break g}break m}g=v[a+12>>2];a=v[d>>2];y:{if(!a){c=0;break y}c=v[v[a>>2]+40>>2];v[299999]=0;c=S(c|0,a|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break g}}v[e+32>>2]=c;v[299999]=0;Y(4635,e+96|0,g|0,e+32|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break m}break g}c=v[a+12>>2];a=v[d>>2];z:{A:{if(a){g=v[v[a>>2]+52>>2];v[299999]=0;k=+wa(g|0,a|0,0,e+80|0);a=v[299999];v[299999]=0;if((a|0)!=1){break A}break z}v[e+80>>2]=-1;k=0}A[e+48>>3]=k;v[299999]=0;Y(4635,e+96|0,c|0,e+48|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break z}if(v[e+80>>2]>-1){break m}v[299999]=0;Q(4535,e+96|0,d|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break m}}f=P()|0;O()|0;break f}a=v[a+12>>2];c=v[d>>2];v[e>>2]=v[(c?c+12|0:1129608)>>2];v[299999]=0;Y(4635,e+96|0,a|0,e|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break g}}v[299999]=0;$(4568,e- -64|0,b|0,0,f|0);a=v[299999];v[299999]=0;B:{C:{D:{E:{F:{G:{H:{if((a|0)!=1){v[299999]=0;U(4547,e+72|0,e- -64|0,e+96|0);a=v[299999];v[299999]=0;if((a|0)==1){break H}v[299999]=0;$(4568,e+56|0,b|0,j|0,-1);a=v[299999];v[299999]=0;if((a|0)==1){break G}v[299999]=0;U(4547,e+80|0,e+72|0,e+56|0);a=v[299999];v[299999]=0;if((a|0)==1){break F}v[299999]=0;Q(4535,b|0,e+80|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break E}ec(e+80|0);ec(e+56|0);ec(e+72|0);ec(e- -64|0);ec(e+88|0);ec(e+96|0);break k}f=P()|0;O()|0;break f}f=P()|0;O()|0;break B}f=P()|0;O()|0;break C}f=P()|0;O()|0;break D}f=P()|0;O()|0;ec(e+80|0)}ec(e+56|0)}ec(e+72|0)}ec(e- -64|0);break f}v[299999]=0;$(4568,e+80|0,b|0,0,f|0);a=v[299999];v[299999]=0;I:{J:{K:{L:{M:{N:{O:{if((a|0)!=1){v[299999]=0;U(4547,e+88|0,e+80|0,d|0);a=v[299999];v[299999]=0;if((a|0)==1){break O}v[299999]=0;$(4568,e+72|0,b|0,j|0,-1);a=v[299999];v[299999]=0;if((a|0)==1){break N}v[299999]=0;U(4547,e+96|0,e+88|0,e+72|0);a=v[299999];v[299999]=0;if((a|0)==1){break M}v[299999]=0;Q(4535,b|0,e+96|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break L}ec(e+96|0);ec(e+72|0);ec(e+88|0);ec(e+80|0);break k}f=P()|0;O()|0;break c}f=P()|0;O()|0;break I}f=P()|0;O()|0;break J}f=P()|0;O()|0;break K}f=P()|0;O()|0;ec(e+96|0)}ec(e+72|0)}ec(e+88|0)}ec(e+80|0);break c}a=v[d>>2];if(a){a=v[a+8>>2]}else{a=0}c=v[b>>2];if(!c){break h}g=v[e+104>>2];g=v[(g?g+12|0:1129608)>>2];v[299999]=0;f=Y(4968,c|0,g|0,a+f|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break d}if((f|0)>-1){continue}break}break h}f=P()|0;O()|0;break c}if(!c){break h}v[299999]=0;U(4423,e+72|0,358459,d|0);c=v[299999];v[299999]=0;P:{Q:{R:{S:{T:{U:{V:{if((c|0)!=1){v[299999]=0;U(4423,e+80|0,239351,e+72|0);c=v[299999];v[299999]=0;if((c|0)==1){break V}v[299999]=0;U(4961,e+88|0,a|0,e+80|0);a=v[299999];v[299999]=0;if((a|0)==1){break U}v[299999]=0;U(4423,e+96|0,357671,e+88|0);a=v[299999];v[299999]=0;if((a|0)==1){break T}v[299999]=0;Q(4606,b|0,e+96|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break S}ec(e+96|0);ec(e+88|0);ec(e+80|0);ec(e+72|0);break h}f=P()|0;O()|0;break c}f=P()|0;O()|0;break P}f=P()|0;O()|0;break Q}f=P()|0;O()|0;break R}f=P()|0;O()|0;ec(e+96|0)}ec(e+88|0)}ec(e+80|0)}ec(e+72|0);break c}ec(e+104|0);Qb=e+112|0;return}f=P()|0;O()|0}ec(e+88|0)}ec(e+96|0);break c}f=P()|0;O()|0}ec(e+104|0);T(f|0);L()}a=P()|0;O()|0;ec(e+96|0);break a}a=P()|0;O()|0;break a}L()}ec(g);T(a|0);L()}function Vl(a){var b=0;b=v[a>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}b=v[a+20>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;a:{if((b|0)==1){break a}b=v[a+148>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+24>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+152>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+28>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+156>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+32>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+160>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+36>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+164>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+40>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+168>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+44>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+172>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+48>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+176>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+52>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+180>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+56>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+184>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+60>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+188>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a- -64>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+192>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+68>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+196>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+72>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+200>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+76>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+204>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+80>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+208>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+84>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+212>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+88>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+216>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+92>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+220>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+96>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+224>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+100>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+228>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+104>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+232>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+108>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+236>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+112>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+240>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+116>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+244>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+120>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+248>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+124>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+252>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+128>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+256>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+132>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+260>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+136>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+264>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+140>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+268>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+144>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}a=v[a+272>>2];v[299999]=0;uc(a);a=v[299999];v[299999]=0;if((a|0)==1){break a}return}W(0)|0;O()|0;lc();L()}function lA(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,z=0,A=0;e=Qb-1488|0;Qb=e;h=v[a+4>>2];n=v[h+556>>2];q=v[n+40>>2];a:{b:{c:{i=v[h+712>>2];if(v[i+1504>>2]==65535){break c}f=v[i+1192>>2];if(!f){break c}if(!c){c=0;break b}g=6;if(y[i+1196>>2]>>0){break a}c=x[f+(c<<1)>>1];if(c){break b}break a}g=6;if(y[i+20>>2]<=c>>>0){break a}}v[a+164>>2]=65536;v[a+168>>2]=65536;l=d&1024?d|3:d;d:{e:{if(!b){break e}v[a+164>>2]=v[b+16>>2];v[a+168>>2]=v[b+20>>2];j=v[b+44>>2];if((j|0)==-1){break e}f=v[b>>2];d=v[f+540>>2];if(!v[d+96>>2]|l&8){break e}if(Ub[v[d+72>>2]](h,j,c,l,v[f+104>>2],a+76|0,e+704|0)|0){break e}v[a+108>>2]=0;v[a+24>>2]=x[e+706>>1]<<6;v[a+28>>2]=x[e+704>>1]<<6;k=u[e+708>>1];v[a+32>>2]=k<<6;j=u[e+710>>1];v[a+36>>2]=j<<6;v[a+40>>2]=x[e+712>>1]<<6;f=u[e+714>>1];v[a+44>>2]=f<<6;b=u[e+716>>1];v[a+48>>2]=b<<6;d=x[e+718>>1];g=b;b=l&16;v[a+104>>2]=b?g:j;v[a+100>>2]=b?f:k;v[a+72>>2]=1651078259;v[a+52>>2]=d<<6;Ub[v[v[h+540>>2]+140>>2]](h,0,c,e+32|0,e+48|0);v[a+56>>2]=x[e+48>>1];if(!(!w[h+292|0]|!x[h+330>>1])){Ub[v[v[h+540>>2]+140>>2]](h,1,c,e+32|0,e+48|0);v[a+60>>2]=x[e+48>>1];break d}if(x[h+372>>1]!=65535){v[a+60>>2]=u[h+442>>1]-u[h+444>>1];break d}v[a+60>>2]=u[h+220>>1]-u[h+222>>1];break d}g=6;if(l&16384){break a}k=v[i+2024>>2];f:{if(k){g=0;f=v[i+3060>>2];g:{if(!f){break g}h:{switch(w[i+3052|0]){case 0:g=w[c+f|0];break g;case 3:break h;default:break g}}if(y[i+3072>>2]>c-v[i+3068>>2]>>>0){g=w[i+3076|0];break g}g=f+2|0;d=w[f+1|0]|w[f|0]<<8;j=f+v[i+3064>>2]|0;while(1){if(c>>>0>=d>>>0){f=w[g+2|0]|w[g+1|0]<<8;if(f>>>0>c>>>0){g=w[g|0];t[i+3076|0]=g;v[i+3072>>2]=f-d;v[i+3068>>2]=d;break g}d=f;g=g+3|0;if(j>>>0>g>>>0){continue}}break}g=0}f=(i+(((k>>>0>(g&255)>>>0?g:k-1|0)&255)<<2)|0)+2028|0;m=v[f>>2];k=v[m+68>>2];j=v[i+1440>>2];d=v[m+60>>2];v[e+40>>2]=v[m+56>>2];v[e+44>>2]=d;d=v[m+52>>2];v[e+32>>2]=v[m+48>>2];v[e+36>>2]=d;d=v[f>>2];o=v[d+72>>2];p=v[d+76>>2];if((j|0)==(k|0)){break f}z=a,A=jd(v[a+164>>2],j,k),v[z+164>>2]=A;z=a,A=jd(v[a+168>>2],j,k),v[z+168>>2]=A;s=1;break f}f=i+1428|0;d=v[f+4>>2];v[e+40>>2]=v[f>>2];v[e+44>>2]=d;f=i+1420|0;d=v[f+4>>2];v[e+32>>2]=v[f>>2];v[e+36>>2]=d;p=v[i+1448>>2];o=v[i+1444>>2]}v[a+108>>2]=0;v[a+72>>2]=1869968492;m=l&1;t[a+161|0]=!m;r=(l>>>1^-1)&1;t[a+160|0]=r;Ub[v[q>>2]](e+704|0,h,b,a,r,l>>>16&15,1612,1613);if(l&256){t[e+1297|0]=1}k=l&1024;t[e+770|0]=k>>>10;d=v[v[h+128>>2]+52>>2];i:{if(d){g=Ub[v[v[d>>2]>>2]](v[d+4>>2],c,e+48|0)|0;v[e+28>>2]=v[e+48>>2];v[e+24>>2]=v[e+52>>2];break i}g=kA(v[h+712>>2]+1204|0,c,e+28|0,e+24|0)}if(g){break a}g=Ub[v[q+4>>2]](e+704|0,b,c)|0;if(g){break a}d=e+48|0;Ub[v[n+24>>2]](d,e+704|0,0);f=v[e+24>>2];g=Ub[v[q+8>>2]](d,v[e+28>>2],f)|0;if((g&255)==164){t[a+160|0]=0;r=0;g=Ub[v[q+8>>2]](e+48|0,v[e+28>>2],f)|0;s=1}d=v[v[h+128>>2]+52>>2];j:{if(d){v[e+12>>2]=f;v[e+8>>2]=v[e+28>>2];Ub[v[v[d>>2]+4>>2]](v[d+4>>2],e+8|0);break j}d=v[h+712>>2];if(v[d+1236>>2]){break j}nf(v[d+1204>>2],e+28|0)}if(g){break a}g=0;d=a;k:{if(v[v[h+128>>2]+52>>2]){f=0}else{j=v[i+1232>>2];if(!j){break k}g=(v[i+1236>>2]+v[j+(c<<2)>>2]|0)-1|0}v[d+140>>2]=f;v[a+136>>2]=g}Ub[v[e+784>>2]](e+704|0);j=v[v[h+128>>2]+52>>2];l:{if(!j){break l}f=v[v[j>>2]+8>>2];if(!f){break l}v[e+12>>2]=0;v[e+8>>2]=v[e+736>>2];d=v[e+748>>2];v[e+16>>2]=v[e+744>>2];v[e+20>>2]=d;g=Ub[f|0](v[j+4>>2],c,0,e+8|0)|0;v[e+736>>2]=v[e+8>>2];d=v[e+20>>2];v[e+744>>2]=v[e+16>>2];v[e+748>>2]=d;if(g){break a}}if(k){v[a+32>>2]=v[e+736>>2];v[a+40>>2]=v[e+1288>>2];f=v[e+40>>2];d=v[e+44>>2];c=v[e+32>>2];b=v[e+36>>2];a=v[a+156>>2];v[a+28>>2]=o;v[a+32>>2]=p;t[a+8|0]=1;v[a+20>>2]=f;v[a+24>>2]=d;v[a+12>>2]=c;v[a+16>>2]=b;break d}m:{if(x[h+250>>1]){u[e+8>>1]=0;u[e+28>>1]=0;Ub[v[v[h+540>>2]+140>>2]](h,0,c,e+8|0,e+28|0);d=x[e+28>>1];v[a+32>>2]=u[e+8>>1];break m}d=v[e+1288>>2]}v[a+56>>2]=d;v[a+40>>2]=d;t[v[a+156>>2]+8|0]=0;n:{if(!(!w[h+292|0]|!x[h+330>>1])){u[e+8>>1]=0;u[e+28>>1]=0;Ub[v[v[h+540>>2]+140>>2]](h,1,c,e+8|0,e+28|0);v[a+48>>2]=u[e+8>>1];d=x[e+28>>1];v[a+52>>2]=d;f=1;break n}o:{if(x[h+372>>1]!=65535){d=u[h+442>>1]-u[h+444>>1]|0;v[a+52>>2]=d;break o}d=u[h+220>>1]-u[h+222>>1]|0;v[a+52>>2]=d}f=0}v[a+72>>2]=1869968492;v[a+60>>2]=d;n=a+108|0;v[a+124>>2]=b?x[b+14>>1]<24?260:4:4;p:{if(!(v[e+36>>2]|(v[e+32>>2]!=65536|v[e+44>>2]!=65536))){if(!v[e+40>>2]){break p}}ln(n,e+32|0);z=a,A=Ac(v[a+40>>2],v[e+32>>2]),v[z+40>>2]=A;z=a,A=Ac(v[a+52>>2],v[e+44>>2]),v[z+52>>2]=A}if(o|p){dh(n,o,p);v[a+40>>2]=v[a+40>>2]+o;v[a+52>>2]=v[a+52>>2]+p}if(!(s?0:m)){k=v[a+168>>2];j=v[a+164>>2];q:{if(v[e+772>>2]?r:0){break q}b=u[a+110>>1];if((b|0)<1){break q}c=b&65535;d=v[a+112>>2];while(1){z=d,A=Ac(v[d>>2],j),v[z>>2]=A;z=d,A=Ac(v[d+4>>2],k),v[z+4>>2]=A;d=d+8|0;b=(c|0)>1;c=c-1|0;if(b){continue}break}}z=a,A=Ac(v[a+40>>2],j),v[z+40>>2]=A;z=a,A=Ac(v[a+52>>2],k),v[z+52>>2]=A}Eo(n,e+8|0);d=v[e+8>>2];v[a+24>>2]=v[e+16>>2]-d;c=v[e+12>>2];b=v[e+20>>2];v[a+36>>2]=b;v[a+32>>2]=d;v[a+28>>2]=b-c;if(f){v[a+44>>2]=d+(v[a+40>>2]/-2|0);z=a,A=Ac(v[a+48>>2],v[a+168>>2]),v[z+48>>2]=A;break d}if(!(l&16)){break d}zs(a+24|0,v[a+52>>2])}g=0}Qb=e+1488|0;return g}function GNa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=v[a+20>>2];if((b|0)!=100){c=v[a>>2];v[c+24>>2]=b;v[c+20>>2]=21;Ub[v[v[a>>2]>>2]](a)}if(!v[a+84>>2]){g=a,h=Ub[v[v[a+4>>2]>>2]](a,0,880)|0,v[g+84>>2]=h}v[a+72>>2]=8;v[a+56>>2]=1;v[a+60>>2]=1;EG(a,50,1);b=v[a+120>>2];if(!b){b=Ub[v[v[a+4>>2]>>2]](a,0,280)|0;v[b+276>>2]=0;v[a+120>>2]=b}t[b+16|0]=w[73728];c=v[18431];v[b+8>>2]=v[18430];v[b+12>>2]=c;c=v[18429];v[b>>2]=v[18428];v[b+4>>2]=c;c=w[73765]|w[73766]<<8|(w[73767]<<16|w[73768]<<24);b=v[a+120>>2];d=w[73761]|w[73762]<<8|(w[73763]<<16|w[73764]<<24);t[b+17|0]=d;t[b+18|0]=d>>>8;t[b+19|0]=d>>>16;t[b+20|0]=d>>>24;t[b+21|0]=c;t[b+22|0]=c>>>8;t[b+23|0]=c>>>16;t[b+24|0]=c>>>24;c=w[73769]|w[73770]<<8|(w[73771]<<16|w[73772]<<24);t[b+25|0]=c;t[b+26|0]=c>>>8;t[b+27|0]=c>>>16;t[b+28|0]=c>>>24;v[v[a+120>>2]+276>>2]=0;b=v[a+136>>2];if(!b){b=Ub[v[v[a+4>>2]>>2]](a,0,280)|0;v[b+276>>2]=0;v[a+136>>2]=b}t[b+16|0]=w[73792];c=v[18447];v[b+8>>2]=v[18446];v[b+12>>2]=c;c=v[18445];v[b>>2]=v[18444];v[b+4>>2]=c;gc(v[a+136>>2]+17|0,73808,162);v[v[a+136>>2]+276>>2]=0;b=v[a+124>>2];if(!b){b=Ub[v[v[a+4>>2]>>2]](a,0,280)|0;v[b+276>>2]=0;v[a+124>>2]=b}t[b+16|0]=w[73760];c=v[18439];v[b+8>>2]=v[18438];v[b+12>>2]=c;c=v[18437];v[b>>2]=v[18436];v[b+4>>2]=c;c=w[73765]|w[73766]<<8|(w[73767]<<16|w[73768]<<24);b=v[a+124>>2];d=w[73761]|w[73762]<<8|(w[73763]<<16|w[73764]<<24);t[b+17|0]=d;t[b+18|0]=d>>>8;t[b+19|0]=d>>>16;t[b+20|0]=d>>>24;t[b+21|0]=c;t[b+22|0]=c>>>8;t[b+23|0]=c>>>16;t[b+24|0]=c>>>24;c=w[73769]|w[73770]<<8|(w[73771]<<16|w[73772]<<24);t[b+25|0]=c;t[b+26|0]=c>>>8;t[b+27|0]=c>>>16;t[b+28|0]=c>>>24;v[v[a+124>>2]+276>>2]=0;b=v[a+140>>2];if(!b){b=Ub[v[v[a+4>>2]>>2]](a,0,280)|0;v[b+276>>2]=0;v[a+140>>2]=b}t[b+16|0]=w[74e3];c=v[18499];v[b+8>>2]=v[18498];v[b+12>>2]=c;c=v[18497];v[b>>2]=v[18496];v[b+4>>2]=c;gc(v[a+140>>2]+17|0,74016,162);v[v[a+140>>2]+276>>2]=0;t[a+160|0]=0;t[a+161|0]=0;t[a+162|0]=0;t[a+163|0]=0;t[a+164|0]=0;t[a+165|0]=0;t[a+166|0]=0;t[a+167|0]=0;t[a+152|0]=0;t[a+153|0]=0;t[a+154|0]=0;t[a+155|0]=0;t[a+156|0]=0;t[a+157|0]=0;t[a+158|0]=0;t[a+159|0]=0;t[a+168|0]=1;t[a+169|0]=1;t[a+170|0]=1;t[a+171|0]=1;t[a+172|0]=1;t[a+173|0]=1;t[a+174|0]=1;t[a+175|0]=1;t[a+176|0]=1;t[a+177|0]=1;t[a+178|0]=1;t[a+179|0]=1;t[a+180|0]=1;t[a+181|0]=1;t[a+182|0]=1;t[a+183|0]=1;t[a+184|0]=5;t[a+185|0]=5;t[a+186|0]=5;t[a+187|0]=5;t[a+188|0]=5;t[a+189|0]=5;t[a+190|0]=5;t[a+191|0]=5;t[a+192|0]=5;t[a+193|0]=5;t[a+194|0]=5;t[a+195|0]=5;t[a+196|0]=5;t[a+197|0]=5;t[a+198|0]=5;t[a+199|0]=5;v[a+200>>2]=0;v[a+204>>2]=0;v[a+208>>2]=0;v[a+212>>2]=0;v[a+228>>2]=0;v[a+232>>2]=0;v[a+220>>2]=0;v[a+224>>2]=1;v[a+236>>2]=0;v[a+240>>2]=0;v[a+252>>2]=65537;t[a+250|0]=0;u[a+248>>1]=257;v[a+216>>2]=v[a+72>>2]>8;a:{b:{c:{switch(v[a+40>>2]){case 1:b=v[a+20>>2];if((b|0)!=100){c=v[a>>2];v[c+24>>2]=b;v[c+20>>2]=21;Ub[v[v[a>>2]>>2]](a)}v[a+256>>2]=0;v[a+76>>2]=1;v[a+80>>2]=1;v[a+244>>2]=1;a=v[a+84>>2];v[a+24>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=1;v[a+12>>2]=1;v[a>>2]=1;break a;case 4:b=v[a+20>>2];if((b|0)!=100){c=v[a>>2];v[c+24>>2]=b;v[c+20>>2]=21;Ub[v[v[a>>2]>>2]](a)}v[a+256>>2]=1;v[a+244>>2]=0;v[a+76>>2]=4;v[a+80>>2]=4;a=v[a+84>>2];v[a+264>>2]=75;v[a+176>>2]=89;v[a+88>>2]=77;v[a+24>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=1;v[a+12>>2]=1;v[a>>2]=67;v[a+288>>2]=0;v[a+280>>2]=0;v[a+284>>2]=0;v[a+272>>2]=1;v[a+276>>2]=1;v[a+200>>2]=0;v[a+192>>2]=0;v[a+196>>2]=0;v[a+184>>2]=1;v[a+188>>2]=1;v[a+112>>2]=0;v[a+104>>2]=0;v[a+108>>2]=0;v[a+96>>2]=1;v[a+100>>2]=1;break a;case 5:b=v[a+20>>2];if((b|0)!=100){c=v[a>>2];v[c+24>>2]=b;v[c+20>>2]=21;Ub[v[v[a>>2]>>2]](a)}v[a+256>>2]=1;v[a+244>>2]=0;v[a+76>>2]=4;v[a+80>>2]=5;a=v[a+84>>2];v[a+264>>2]=4;v[a+176>>2]=3;v[a+88>>2]=2;v[a+24>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=2;v[a+12>>2]=2;v[a>>2]=1;v[a+288>>2]=0;v[a+280>>2]=0;v[a+284>>2]=0;v[a+272>>2]=2;v[a+276>>2]=2;break b;case 0:b=v[a+20>>2];if((b|0)!=100){c=v[a>>2];v[c+24>>2]=b;v[c+20>>2]=21;Ub[v[v[a>>2]>>2]](a)}c=0;v[a+256>>2]=0;v[a+244>>2]=0;v[a+80>>2]=0;b=v[a+36>>2];v[a+76>>2]=b;d:{if(b-1>>>0>=10){d=v[a>>2];v[d+24>>2]=b;v[d+20>>2]=27;v[v[a>>2]+28>>2]=10;Ub[v[v[a>>2]>>2]](a);b=v[a+76>>2];if((b|0)<1){break d}}f=b&1;d=v[a+84>>2];if((b|0)!=1){b=b&-2;while(1){a=d+B(c,88)|0;v[a+24>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=1;v[a+12>>2]=1;v[a>>2]=c;e=c|1;a=d+B(e,88)|0;v[a+24>>2]=0;v[a+8>>2]=1;v[a+12>>2]=1;v[a+16>>2]=0;v[a+20>>2]=0;v[a>>2]=e;c=c+2|0;b=b-2|0;if(b){continue}break}}if(!f){break d}a=d+B(c,88)|0;v[a+24>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=1;v[a+12>>2]=1;v[a>>2]=c}break a;default:b=v[a>>2];v[b+20>>2]=10;Ub[v[b>>2]](a);break a;case 2:case 3:break c}}b=v[a+20>>2];if((b|0)!=100){c=v[a>>2];v[c+24>>2]=b;v[c+20>>2]=21;Ub[v[v[a>>2]>>2]](a)}v[a+256>>2]=0;v[a+76>>2]=3;v[a+80>>2]=3;v[a+244>>2]=1;a=v[a+84>>2];v[a+176>>2]=3;v[a+88>>2]=2;v[a+24>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=2;v[a+12>>2]=2;v[a>>2]=1}v[a+200>>2]=1;v[a+192>>2]=1;v[a+196>>2]=1;v[a+184>>2]=1;v[a+188>>2]=1;v[a+112>>2]=1;v[a+104>>2]=1;v[a+108>>2]=1;v[a+96>>2]=1;v[a+100>>2]=1}}function Mpa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=Qb-32|0;Qb=j;a:{e=v[b>>2];b:{c:{if(!e){b=vc(j+8|0,280848,242181,178,338061,0);v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}a=P()|0;O()|0;qc(b);break c}g=e+36|0;f=Fe(g);d:{e:{h=a+16|0;e=v[v[h+12>>2]+((f>>>0)%y[h+8>>2]<<2)>>2];if(e){while(1){if((f|0)==v[e+12>>2]){if(!Ri(e+16|0,g,-1)){break e}}e=v[e+8>>2];if(e){continue}break}}f:{if((zx(v[c>>2],j+8|0,0,4,0)|0)!=4|(w[j+8|0]|w[j+9|0]<<8|(w[j+10|0]<<16|w[j+11|0]<<24))!=1411798081){break f}$P(j,c,4,-1);v[299999]=0;Q(4344,c|0,j|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break d}e=v[j>>2];v[j>>2]=0;if(!e){break f}v[299999]=0;f=v[e+4>>2]-1|0;v[e+4>>2]=f;g=v[299999];v[299999]=0;if((g|0)==1){break a}if(f){break f}v[299999]=0;R(4338,e|0);e=v[299999];v[299999]=0;if((e|0)==1){break a}}Si(Xk(h,v[b>>2]+36|0)+24|0,c);h=Qb-32|0;Qb=h;f=v[a+8>>2];i=v[f+16>>2];c=b;g=v[b>>2]+36|0;b=Fe(g);g:{h:{i:{j:{k:{l:{m:{e=f+80|0;a=v[v[e+12>>2]+((b>>>0)%y[e+8>>2]<<2)>>2];if(a){while(1){if((b|0)==v[a+12>>2]){if(!Ri(a+16|0,g,-1)){break m}}a=v[a+8>>2];if(a){continue}break}}k=v[c>>2]+20|0;b=Fe(k);n:{g=f+52|0;a=v[v[g+12>>2]+((b>>>0)%y[g+8>>2]<<2)>>2];if(a){while(1){if((b|0)==v[a+12>>2]){if(!Ri(a+16|0,k,-1)){break n}}a=v[a+8>>2];if(a){continue}break}}Si(Xk(g,v[c>>2]+20|0)+24|0,c);Si(Xk(e,v[c>>2]+36|0)+24|0,c);o:{b=v[c>>2];a=v[b+44>>2];if(!(!a|!v[a+8>>2])){g=b+44|0;b=Fe(g);e=f+108|0;a=v[v[e+12>>2]+((b>>>0)%y[e+8>>2]<<2)>>2];if(a){while(1){if((b|0)==v[a+12>>2]){if(!Ri(a+16|0,g,-1)){break o}}a=v[a+8>>2];if(a){continue}break}}Si(Xk(e,v[c>>2]+44|0)+24|0,c);b=v[c>>2]}i=(d|0)<0?i:d;d=f+20|0;a=v[d>>2];p:{q:{r:{s:{if((w[b+52|0]&63)==3){if(!a){break s}b=a;while(1){if((w[v[b+8>>2]+52|0]&63)==3){v[299999]=0;a=aa(4369,h+8|0,329081,241263,680,338636,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break p}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break l}break k}b=v[b>>2];if(b){continue}break}}b=0;e=(a|0)!=0;g=f+12|0;t:{if(!a|!i){break t}while(1){a=v[a>>2];e=(a|0)!=0;if(!a){break t}b=b+1|0;if((i|0)!=(b|0)){continue}break}}if(!e){break r}v[h+12>>2]=g;v[h+8>>2]=a;a=fc(12);v[a>>2]=0;v[a+4>>2]=0;b=0;v[a+8>>2]=0;e=a;i=v[c>>2];if(i){v[i+4>>2]=v[i+4>>2]+1;i=v[c>>2]}else{i=0}v[e+8>>2]=i;MO(g,h+8|0,a);break q}d=f+20|0;g=f+12|0}a=fc(12);v[a>>2]=0;v[a+4>>2]=0;b=0;v[a+8>>2]=0;e=a;i=v[c>>2];if(i){v[i+4>>2]=v[i+4>>2]+1;i=v[c>>2]}else{i=0}v[e+8>>2]=i;Le(g,a)}e=v[c>>2];u:{if((w[e+52|0]&63)!=1){break u}a=v[d>>2];v:{if(!a){break v}while(1){d=v[a+8>>2];if((d|0)==(e|0)){break v}b=((w[d+52|0]&63)==1)+b|0;a=v[a>>2];if(a){continue}break}}Vk(f+28|0,0,(v[f+48>>2]-v[f+44>>2]|0)+1|0);g=v[f+48>>2];e=v[f+44>>2];a=g-e|0;if((b|0)<(a|0)){d=a+1|0;while(1){i=d-2|0;if(!((i|0)>=(e|0)&(g|0)>=(i|0))){a=vc(h+8|0,227445,271729,619,308557,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break l}break k}if(!((a|0)<=(g|0)&(d|0)>(e|0))){a=vc(h+8|0,227445,271729,619,308557,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break l}break k}e=v[f+32>>2];d=v[f+36>>2];Si(e+(a-d<<2)|0,e+(i-d<<2)|0);g=v[f+48>>2];e=v[f+44>>2];d=a;a=a-1|0;if((b|0)<(a|0)){continue}break}}if(!((b|0)<=(g|0)&(b|0)>=(e|0))){a=vc(h+8|0,227445,271729,619,308557,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break l}break k}Si(v[f+32>>2]+(b-v[f+36>>2]<<2)|0,c);c=v[f+48>>2];d=v[f+44>>2];e=(c-d|0)+1|0;if((e|0)<=(b|0)){break u}g=v[f+36>>2];f=v[f+32>>2];a=b;while(1){if(!((a|0)<=(c|0)&(b|0)>=(d|0))){a=vc(h+8|0,227445,271729,619,308557,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break l}break k}v[v[f+(a-g<<2)>>2]+56>>2]=a;a=a+1|0;if((e|0)!=(a|0)){continue}break}}Qb=h+32|0;break g}break j}a=v[c>>2];v[299999]=0;U(4423,h|0,358362,a+44|0);a=v[299999];v[299999]=0;w:{if((a|0)!=1){a=v[h>>2];a=v[(a?a+12|0:1129608)>>2];v[299999]=0;a=aa(4369,h+8|0,a|0,241263,671,338636,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break w}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break l}break i}break j}break h}a=v[c>>2];v[299999]=0;U(4423,h|0,358341,a+20|0);a=v[299999];v[299999]=0;x:{if((a|0)!=1){a=v[h>>2];a=v[(a?a+12|0:1129608)>>2];v[299999]=0;a=aa(4369,h+8|0,a|0,241263,664,338636,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break x}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break l}break i}break j}break h}a=v[c>>2];v[299999]=0;U(4423,h|0,358412,a+36|0);a=v[299999];v[299999]=0;if((a|0)==1){break j}a=v[h>>2];a=v[(a?a+12|0:1129608)>>2];v[299999]=0;a=aa(4369,h+8|0,a|0,241263,662,338636,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break h}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)==1){break i}}L()}b=P()|0;O()|0;qc(a);T(b|0);L()}a=P()|0;O()|0;T(a|0);L()}b=P()|0;O()|0;qc(a);ec(h);T(b|0);L()}a=P()|0;O()|0;ec(h);T(a|0);L()}Qb=j+32|0;return}b=vc(j+8|0,277104,242181,180,338061,0);v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}a=P()|0;O()|0;qc(b);break c}a=P()|0;O()|0;ec(j)}T(a|0)}L()}W(0)|0;O()|0;lc();L()}function SC(a,b,c,d,e,f,g){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,x=0,y=0,z=0,C=0,D=0;h=Qb-80|0;Qb=h;v[h+76>>2]=b;z=h+55|0;x=h+56|0;b=0;a:{b:while(1){c:{if((p|0)<0){break c}if((2147483647-p|0)<(b|0)){v[299402]=61;p=-1;break c}p=b+p|0}d:{e:{f:{l=v[h+76>>2];b=l;j=w[b|0];if(j){while(1){g:{j=j&255;h:{if(!j){j=b;break h}if((j|0)!=37){break g}j=b;while(1){if(w[b+1|0]!=37){break h}i=b+2|0;v[h+76>>2]=i;j=j+1|0;m=w[b+2|0];b=i;if((m|0)==37){continue}break}}b=j-l|0;if(a){yh(a,l,b)}if(b){continue b}q=-1;j=1;i=h;b=v[h+76>>2];if(!(t[b+1|0]-48>>>0>=10|w[b+2|0]!=36)){q=t[b+1|0]-48|0;y=1;j=3}b=j+b|0;v[i+76>>2]=b;r=0;k=t[b|0];i=k-32|0;i:{if(i>>>0>31){j=b;break i}j=b;i=1<>2]=j;r=i|r;k=t[b+1|0];i=k-32|0;if(i>>>0>=32){break i}b=j;i=1<>>0>=10){break l}b=v[h+76>>2];if(w[b+2|0]!=36){break l}v[((t[b+1|0]<<2)+e|0)-192>>2]=10;n=v[((t[b+1|0]<<3)+d|0)-384>>2];y=1;b=b+3|0;break k}if(y){break f}y=0;n=0;if(a){b=v[c>>2];v[c>>2]=b+4;n=v[b>>2]}b=v[h+76>>2]+1|0}v[i+76>>2]=b;if((n|0)>-1){break j}n=0-n|0;r=r|8192;break j}n=yN(h+76|0);if((n|0)<0){break f}b=v[h+76>>2]}m=-1;m:{if(w[b|0]!=46){break m}if(w[b+1|0]==42){n:{if(t[b+2|0]-48>>>0>=10){break n}b=v[h+76>>2];if(w[b+3|0]!=36){break n}v[((t[b+2|0]<<2)+e|0)-192>>2]=10;m=v[((t[b+2|0]<<3)+d|0)-384>>2];b=b+4|0;v[h+76>>2]=b;break m}if(y){break f}if(a){b=v[c>>2];v[c>>2]=b+4;m=v[b>>2]}else{m=0}b=v[h+76>>2]+2|0;v[h+76>>2]=b;break m}v[h+76>>2]=b+1;m=yN(h+76|0);b=v[h+76>>2]}j=0;while(1){s=j;o=-1;if(t[b|0]-65>>>0>57){break a}k=b+1|0;v[h+76>>2]=k;j=t[b|0];b=k;j=w[(j+B(s,58)|0)+1009583|0];if(j-1>>>0<8){continue}break}o:{p:{if((j|0)!=19){if(!j){break a}if((q|0)>=0){v[(q<<2)+e>>2]=j;b=(q<<3)+d|0;j=v[b+4>>2];v[h+64>>2]=v[b>>2];v[h+68>>2]=j;break p}if(!a){break d}xN(h- -64|0,j,c,g);k=v[h+76>>2];break o}if((q|0)>-1){break a}}b=0;if(!a){continue b}}i=r&-65537;j=r&8192?i:r;o=0;q=221149;r=x;q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{b=t[k-1|0];b=s?(b&15)==3?b&-33:b:b;switch(b-88|0){case 11:break q;case 9:case 13:case 14:case 15:break r;case 27:break w;case 12:case 17:break z;case 23:break A;case 0:case 32:break B;case 24:break C;case 22:break D;case 29:break E;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 10:case 16:case 18:case 19:case 20:case 21:case 25:case 26:case 28:case 30:case 31:break e;default:break F}}G:{switch(b-65|0){case 0:case 4:case 5:case 6:break r;case 2:break u;case 1:case 3:break e;default:break G}}if((b|0)==83){break v}break e}k=v[h+64>>2];i=v[h+68>>2];q=221149;break y}b=0;H:{switch(s&255){case 0:v[v[h+64>>2]>>2]=p;continue b;case 1:v[v[h+64>>2]>>2]=p;continue b;case 2:j=v[h+64>>2];v[j>>2]=p;v[j+4>>2]=p>>31;continue b;case 3:u[v[h+64>>2]>>1]=p;continue b;case 4:t[v[h+64>>2]]=p;continue b;case 6:v[v[h+64>>2]>>2]=p;continue b;case 7:break H;default:continue b}}j=v[h+64>>2];v[j>>2]=p;v[j+4>>2]=p>>31;continue b}m=m>>>0>8?m:8;j=j|8;b=120}l=x;C=b&32;s=v[h+68>>2];i=s;k=v[h+64>>2];if(i|k){while(1){l=l-1|0;t[l|0]=C|w[(k&15)+1010112|0];D=!i&k>>>0>15|(i|0)!=0;s=i;i=i>>>4|0;k=(s&15)<<28|k>>>4;if(D){continue}break}}if(!(v[h+64>>2]|v[h+68>>2])|!(j&8)){break x}q=(b>>>4|0)+221149|0;o=2;break x}b=x;l=v[h+68>>2];i=l;k=v[h+64>>2];if(i|k){while(1){b=b-1|0;t[b|0]=k&7|48;s=!i&k>>>0>7|(i|0)!=0;l=i;i=i>>>3|0;k=(l&7)<<29|k>>>3;if(s){continue}break}}l=b;if(!(j&8)){break x}b=x-l|0;m=(b|0)<(m|0)?m:b+1|0;break x}b=v[h+68>>2];i=b;k=v[h+64>>2];if((b|0)<-1|(b|0)<=-1){i=0-(i+((k|0)!=0)|0)|0;k=0-k|0;v[h+64>>2]=k;v[h+68>>2]=i;o=1;q=221149;break y}if(j&2048){o=1;q=221150;break y}o=j&1;q=o?221151:221149}l=dr(k,i,x)}j=(m|0)>-1?j&-65537:j;b=v[h+68>>2];i=b;k=v[h+64>>2];if(!(m|((k|0)!=0|(b|0)!=0))){m=0;l=x;break e}b=!(i|k)+(x-l|0)|0;m=(b|0)<(m|0)?m:b;break e}b=v[h+64>>2];l=b?b:339731;b=fi(l,0,m);r=b?b:m+l|0;j=i;m=b?b-l|0:m;break e}if(m){b=v[h+64>>2];break t}b=0;zi(a,32,n,0,j);break s}v[h+12>>2]=0;v[h+8>>2]=v[h+64>>2];b=h+8|0;v[h+64>>2]=b;m=-1}i=b;b=0;I:{while(1){l=v[i>>2];if(!l){break I}l=Pn(h+4|0,l);k=(l|0)<0;if(!(k|l>>>0>m-b>>>0)){i=i+4|0;b=b+l|0;if(m>>>0>b>>>0){continue}break I}break}o=-1;if(k){break a}}zi(a,32,n,b,j);if(!b){b=0;break s}i=0;k=v[h+64>>2];while(1){l=v[k>>2];if(!l){break s}l=Pn(h+4|0,l);i=l+i|0;if((i|0)>(b|0)){break s}yh(a,h+4|0,l);k=k+4|0;if(b>>>0>i>>>0){continue}break}}zi(a,32,n,b,j^8192);b=(b|0)<(n|0)?n:b;continue b}b=Ub[f|0](a,A[h+64>>3],n,m,j,b)|0;continue b}t[h+55|0]=v[h+64>>2];m=1;l=z;j=i;break e}i=b+1|0;v[h+76>>2]=i;j=w[b+1|0];b=i;continue}}o=p;if(a){break a}if(!y){break d}b=1;while(1){a=v[(b<<2)+e>>2];if(a){xN((b<<3)+d|0,a,c,g);o=1;b=b+1|0;if((b|0)!=10){continue}break a}break}o=1;if(b>>>0>=10){break a}while(1){if(v[(b<<2)+e>>2]){break f}b=b+1|0;if((b|0)!=10){continue}break}break a}o=-1;break a}k=r-l|0;m=(k|0)>(m|0)?k:m;i=m+o|0;b=(i|0)>(n|0)?i:n;zi(a,32,b,i,j);yh(a,q,o);zi(a,48,b,i,j^65536);zi(a,48,m,k,0);yh(a,l,k);zi(a,32,b,i,j^8192);continue}break}o=0}Qb=h+80|0;return o}function c2(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{if(!d){if((c|0)<2&(b|0)<=0){break a}b:{if((c|0)<1){break b}d=0;if((c|0)!=1){h=c&-2;while(1){j=d<<3;e=j+a|0;g=e;e=v[e>>2];e=Bib(e,e>>31,10078,0);f=Tb;e=(((f&4095)<<20|e>>>12)&1)+((f&8191)<<19|e>>>13)|0;v[g>>2]=e;e=(j|8)+a|0;g=e;e=v[e>>2];e=Bib(e,e>>31,10078,0);f=Tb;e=(((f&4095)<<20|e>>>12)&1)+((f&8191)<<19|e>>>13)|0;v[g>>2]=e;d=d+2|0;h=h-2|0;if(h){continue}break}d=d<<1}if(!(c&1)){break b}d=(d<<2)+a|0;i=d;d=v[d>>2];d=Bib(d,d>>31,10078,0);g=Tb;e=g;d=(((e&4095)<<20|d>>>12)&1)+((e&8191)<<19|d>>>13)|0;v[i>>2]=d}c:{if((b|0)<1){break c}d=1;if((b|0)!=1){h=b&-2;d=0;while(1){j=d<<3;e=j+a|0;g=e+4|0;e=v[e+4>>2];e=Bib(e,e>>31,13318,0);f=Tb;e=(((f&4095)<<20|e>>>12)&1)+((f&8191)<<19|e>>>13)|0;v[g>>2]=e;e=(j|12)+a|0;g=e;e=v[e>>2];e=Bib(e,e>>31,13318,0);f=Tb;e=(((f&4095)<<20|e>>>12)&1)+((f&8191)<<19|e>>>13)|0;v[g>>2]=e;d=d+2|0;h=h-2|0;if(h){continue}break}d=d<<1|1}if(!(b&1)){break c}d=(d<<2)+a|0;i=d;d=v[d>>2];d=Bib(d,d>>31,13318,0);g=Tb;e=g;d=(((e&4095)<<20|d>>>12)&1)+((e&8191)<<19|d>>>13)|0;v[i>>2]=d}h=(b<<1)-1|0;j=(h<<2)+a|0;d:{if((c|0)<1){break d}i=v[a>>2];d=v[(((b|0)>0?1:h)<<2)+a>>2]+v[a+4>>2]|0;d=Bib(d,d>>31,3633,0);g=Tb;e=g;d=(((e&4095)<<20|d>>>12)&1)+((e&8191)<<19|d>>>13)|0;v[a>>2]=i-d;if((c|0)==1){break d}d=1;while(1){e=(d<<3)+a|0;g=e;i=v[e>>2];e=v[(((b|0)>(d|0)?d<<1|1:h)<<2)+a>>2]+v[((b|0)<(d|0)?j:e-4|0)>>2]|0;e=Bib(e,e>>31,3633,0);f=Tb;e=(((f&4095)<<20|e>>>12)&1)+((f&8191)<<19|e>>>13)|0;v[g>>2]=i-e;d=d+1|0;if((d|0)!=(c|0)){continue}break}}f=(c<<1)-2|0;d=0;if((b|0)>0){while(1){e=(d<<3)+a|0;g=e+4|0;k=v[e+4>>2];e=d+1|0;d=v[(((c|0)>(e|0)?e<<1:f)<<2)+a>>2]+v[(((c|0)>(d|0)?d<<1:f)<<2)+a>>2]|0;d=Bib(d,d>>31,7233,0);i=Tb;d=(((i&4095)<<20|d>>>12)&1)+((i&8191)<<19|d>>>13)|0;v[g>>2]=k-d;d=e;if((e|0)!=(b|0)){continue}break}}d=1;e:{if((c|0)<1){break e}g=v[a>>2];e=v[(((b|0)>0?1:h)<<2)+a>>2]+v[a+4>>2]|0;e=Bib(e,e>>31,434,0);i=Tb;e=(((i&4095)<<20|e>>>12)&1)+((i&8191)<<19|e>>>13)|0;v[a>>2]=e+g;if((c|0)==1){break e}while(1){e=(d<<3)+a|0;g=e;k=v[e>>2];e=v[(((b|0)>(d|0)?d<<1|1:h)<<2)+a>>2]+v[((b|0)<(d|0)?j:e-4|0)>>2]|0;e=Bib(e,e>>31,434,0);i=Tb;e=(((i&4095)<<20|e>>>12)&1)+((i&8191)<<19|e>>>13)|0;v[g>>2]=e+k;d=d+1|0;if((d|0)!=(c|0)){continue}break}}d=0;if((b|0)<=0){break a}while(1){e=(d<<3)+a|0;g=e+4|0;j=v[e+4>>2];e=d+1|0;d=v[(((c|0)>(e|0)?e<<1:f)<<2)+a>>2]+v[(((c|0)>(d|0)?d<<1:f)<<2)+a>>2]|0;d=Bib(d,d>>31,12994,0);h=Tb;d=(((h&4095)<<20|d>>>12)&1)+((h&8191)<<19|d>>>13)|0;v[g>>2]=d+j;d=e;if((e|0)!=(b|0)){continue}break}break a}if((b|0)<2&(c|0)<=0){break a}f:{if((c|0)<1){break f}d=1;if((c|0)!=1){h=c&-2;d=0;while(1){j=d<<3;e=j+a|0;g=e+4|0;e=v[e+4>>2];e=Bib(e,e>>31,10078,0);f=Tb;e=(((f&4095)<<20|e>>>12)&1)+((f&8191)<<19|e>>>13)|0;v[g>>2]=e;e=(j|12)+a|0;g=e;e=v[e>>2];e=Bib(e,e>>31,10078,0);f=Tb;e=(((f&4095)<<20|e>>>12)&1)+((f&8191)<<19|e>>>13)|0;v[g>>2]=e;d=d+2|0;h=h-2|0;if(h){continue}break}d=d<<1|1}if(!(c&1)){break f}d=(d<<2)+a|0;i=d;d=v[d>>2];d=Bib(d,d>>31,10078,0);g=Tb;e=g;d=(((e&4095)<<20|d>>>12)&1)+((e&8191)<<19|d>>>13)|0;v[i>>2]=d}g:{if((b|0)<1){break g}d=0;if((b|0)!=1){h=b&-2;while(1){j=d<<3;e=j+a|0;g=e;e=v[e>>2];e=Bib(e,e>>31,13318,0);f=Tb;e=(((f&4095)<<20|e>>>12)&1)+((f&8191)<<19|e>>>13)|0;v[g>>2]=e;e=(j|8)+a|0;g=e;e=v[e>>2];e=Bib(e,e>>31,13318,0);f=Tb;e=(((f&4095)<<20|e>>>12)&1)+((f&8191)<<19|e>>>13)|0;v[g>>2]=e;d=d+2|0;h=h-2|0;if(h){continue}break}d=d<<1}if(!(b&1)){break g}d=(d<<2)+a|0;i=d;d=v[d>>2];d=Bib(d,d>>31,13318,0);g=Tb;e=g;d=(((e&4095)<<20|d>>>12)&1)+((e&8191)<<19|d>>>13)|0;v[i>>2]=d}h=(b<<1)-2|0;d=0;if((c|0)>0){while(1){e=(d<<3)+a|0;g=e+4|0;j=v[e+4>>2];e=d+1|0;d=v[(((b|0)>(e|0)?e<<1:h)<<2)+a>>2]+v[(((b|0)>(d|0)?d<<1:h)<<2)+a>>2]|0;d=Bib(d,d>>31,3633,0);f=Tb;d=(((f&4095)<<20|d>>>12)&1)+((f&8191)<<19|d>>>13)|0;v[g>>2]=j-d;d=e;if((e|0)!=(c|0)){continue}break}}f=(c<<1)-1|0;j=(f<<2)+a|0;h:{if((b|0)<1){break h}d=1;g=v[a>>2];e=v[a+4>>2]+v[(((c|0)>0?1:f)<<2)+a>>2]|0;e=Bib(e,e>>31,7233,0);i=Tb;e=(((i&4095)<<20|e>>>12)&1)+((i&8191)<<19|e>>>13)|0;v[a>>2]=g-e;if((b|0)==1){break h}while(1){e=(d<<3)+a|0;g=e;k=v[e>>2];e=v[((c|0)<(d|0)?j:e-4|0)>>2]+v[(((c|0)>(d|0)?d<<1|1:f)<<2)+a>>2]|0;e=Bib(e,e>>31,7233,0);i=Tb;e=(((i&4095)<<20|e>>>12)&1)+((i&8191)<<19|e>>>13)|0;v[g>>2]=k-e;d=d+1|0;if((d|0)!=(b|0)){continue}break}}d=0;if((c|0)>0){while(1){e=(d<<3)+a|0;g=e+4|0;k=v[e+4>>2];e=d+1|0;d=v[(((b|0)>(e|0)?e<<1:h)<<2)+a>>2]+v[(((b|0)>(d|0)?d<<1:h)<<2)+a>>2]|0;d=Bib(d,d>>31,434,0);i=Tb;d=(((i&4095)<<20|d>>>12)&1)+((i&8191)<<19|d>>>13)|0;v[g>>2]=d+k;d=e;if((e|0)!=(c|0)){continue}break}}d=1;if((b|0)<1){break a}g=v[a>>2];e=v[a+4>>2]+v[(((c|0)>0?1:f)<<2)+a>>2]|0;e=Bib(e,e>>31,12994,0);h=Tb;e=(((h&4095)<<20|e>>>12)&1)+((h&8191)<<19|e>>>13)|0;v[a>>2]=e+g;if((b|0)==1){break a}while(1){e=(d<<3)+a|0;g=e;i=v[e>>2];e=v[((c|0)<(d|0)?j:e-4|0)>>2]+v[(((c|0)>(d|0)?d<<1|1:f)<<2)+a>>2]|0;e=Bib(e,e>>31,12994,0);h=Tb;e=(((h&4095)<<20|e>>>12)&1)+((h&8191)<<19|e>>>13)|0;v[g>>2]=e+i;d=d+1|0;if((d|0)!=(b|0)){continue}break}}}function xU(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=Qb-32|0;Qb=i;b=v[a+36>>2];f=v[b+32>>2];j=v[b+28>>2];a:{if(v[a+292>>2]){break a}c=v[b+16>>2];b:{if((c-v[b+12>>2]|0)<501|(v[b+20>>2]-c|0)>499){break b}bh(b);b=v[a+36>>2];if(w[v[b+16>>2]]){break b}if((cd(b)|0)>0){break b}vd(a)}if(v[a+292>>2]){break a}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break a}nd(a)}d=v[a+36>>2];b=v[d+16>>2];c:{while(1){d:{e:{f:{g=w[b|0];if((g|0)!=10){if((g|0)!=32){if((g|0)!=60){break d}c=v[d+16>>2];e=b-c|0;if((e|0)<1){break c}v[d+16>>2]=b;b=v[a>>2];if(!b){break c}d=v[b+68>>2];b=v[b+72>>2];if((d|0)==(b|0)){break e}f=Dy(a,c,e,1);b=v[a>>2];if(!f){break f}b=v[b+72>>2];if(!b){break c}Ub[b|0](v[a+4>>2],c,e);break c}v[d+32>>2]=v[d+32>>2]+1;b=b+1|0;continue}c=v[d+28>>2];e=b;while(1){v[d+32>>2]=1;c=c+1|0;v[d+28>>2]=c;g=w[e+1|0];b=e+1|0;e=b;if((g|0)==10){continue}break}continue}b=v[b+68>>2];if(b){Ub[b|0](v[a+4>>2],c,e)}a=v[a+232>>2];if(v[a>>2]!=-1){break c}v[a>>2]=-2;break c}if(!b){break c}Ub[b|0](v[a+4>>2],c,e);break c}e=v[d+32>>2];while(1){if(w[g+884432|0]){while(1){e=e+1|0;c=w[b+1|0];b=b+1|0;if(w[c+884432|0]){continue}break}}v[d+32>>2]=e;g:{c=w[b|0];if((c|0)!=93){if((c|0)!=10){break g}h=v[d+28>>2];c=b;while(1){e=1;v[d+32>>2]=1;h=h+1|0;v[d+28>>2]=h;g=w[c+1|0];b=c+1|0;c=b;if((g|0)==10){continue}break}continue}if(!(w[b+1|0]!=93|w[b+2|0]!=62)){h:{if(!a){v[i>>2]=228573;oc(0,0,0,0,0,1,62,3,0,0,0,0,350078,i);break h}if(v[a+172>>2]==-1?v[a+212>>2]:0){break h}v[a+84>>2]=62;v[i+16>>2]=228573;oc(0,0,0,a,0,1,62,3,0,0,0,0,350078,i+16|0);v[a+12>>2]=0;if(v[a+288>>2]){break h}v[a+212>>2]=1}v[v[a+36>>2]+16>>2]=b;break c}e=e+1|0;v[d+32>>2]=e;b=b+1|0;g=w[b|0];continue}break}c=v[d+16>>2];g=b-c|0;if((g|0)>=1){h=v[a>>2];i:{if(!h){break i}j:{f=v[h+68>>2];if((f|0)==v[h+72>>2]){break j}j=w[c|0]-9|0;if(j>>>0>23|!(1<>2]=b;f=Dy(a,c,g,0);e=v[a>>2];k:{if(f){e=v[e+72>>2];if(!e){break k}Ub[e|0](v[a+4>>2],c,g);break k}e=v[e+68>>2];if(e){Ub[e|0](v[a+4>>2],c,g)}c=v[a+232>>2];if(v[c>>2]!=-1){break k}v[c>>2]=-2}d=v[a+36>>2];f=v[d+32>>2];j=v[d+28>>2];break i}if(f){Ub[f|0](v[a+4>>2],c,g);d=v[a+36>>2];e=v[d+32>>2]}j=v[d+28>>2];f=e}if(v[a+172>>2]!=7){break c}}v[d+16>>2]=b;l:{m:{c=w[b|0];if((c|0)!=13){if((c|0)==38|(c|0)==60){break c}break m}if(w[b+1|0]!=10){break m}v[d+16>>2]=b+1;v[d+32>>2]=1;v[d+28>>2]=v[d+28>>2]+1;b=b+2|0;break l}n:{if(v[a+292>>2]){break n}if(!((b-v[d+12>>2]|0)<501|(v[d+20>>2]-b|0)>499)){Vr(a);if(v[a+292>>2]){break n}}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break n}nd(a)}if(v[a+172>>2]==-1){break c}d=v[a+36>>2];b=v[d+16>>2]}c=t[b|0];e=c&255;if((e|0)==9|(c|0)>-1&e>>>0>31){continue}break}v[d+32>>2]=f;v[d+28>>2]=j;f=0;e=Qb-336|0;Qb=e;o:{if(v[a+292>>2]){break o}b=v[a+36>>2];c=v[b+16>>2];p:{if((c-v[b+12>>2]|0)<501|(v[b+20>>2]-c|0)>499){break p}bh(b);b=v[a+36>>2];if(w[v[b+16>>2]]){break p}if((cd(b)|0)>0){break p}vd(a)}if(v[a+292>>2]){break o}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break o}nd(a)}b=bf(a,e+12|0);c=0;q:{while(1){r:{if((b|0)==38|(b|0)==60){break r}s:{if((b|0)<=255){if(1<>>0<=13:0){break s}if((b|0)<=31){break r}if((b|0)!=93){break s}d=v[v[a+36>>2]+16>>2];if(w[d+1|0]!=93|w[d+2|0]!=62|(v[a+172>>2]==-1?v[a+212>>2]:0)){break s}v[a+84>>2]=62;v[e>>2]=228573;oc(0,0,0,a,0,1,62,3,0,0,0,0,350078,e);v[a+12>>2]=0;if(v[a+288>>2]){break s}v[a+212>>2]=1;break s}if((b|0)<55296|b-57344>>>0<8190){break s}if(b-65536>>>0>=1048576){break r}}t:{if(v[e+12>>2]==1){t[(e+16|0)+c|0]=b;c=c+1|0;break t}c=li((e+16|0)+c|0,b)+c|0}if((c|0)>=300){t[(e+16|0)+c|0]=0;u:{if(v[a+212>>2]|!v[a>>2]){break u}d=Dy(a,e+16|0,c,0);b=v[a>>2];if(d){b=v[b+72>>2];if(!b){break u}Ub[b|0](v[a+4>>2],e+16|0,c);break u}d=v[b+68>>2];if(d){Ub[d|0](v[a+4>>2],e+16|0,c);b=v[a>>2];c=v[b+68>>2]}else{c=0}if((c|0)==v[b+72>>2]){break u}b=v[a+232>>2];if(v[b>>2]!=-1){break u}v[b>>2]=-2}c=0;if(v[a+172>>2]!=7){break q}}v:{if((f|0)<50){f=f+1|0;break v}w:{if(v[a+292>>2]){break w}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break w}nd(a)}f=0;if(v[a+172>>2]==-1){break q}}b=v[a+36>>2];d=v[b+16>>2];x:{if(w[d|0]==10){v[b+32>>2]=1;v[b+28>>2]=v[b+28>>2]+1;break x}v[b+32>>2]=v[b+32>>2]+1}g=b;b=d+v[e+12>>2]|0;v[g+16>>2]=b;if(w[b|0]==37){wd(a)}b=bf(a,e+12|0);continue}break}y:{if(!c){break y}t[(e+16|0)+c|0]=0;if(v[a+212>>2]|!v[a>>2]){break y}d=0;g=Dy(a,e+16|0,c,0);f=v[a>>2];if(g){f=v[f+72>>2];if(!f){break y}Ub[f|0](v[a+4>>2],e+16|0,c);break y}g=v[f+68>>2];if(g){Ub[g|0](v[a+4>>2],e+16|0,c);f=v[a>>2];d=v[f+68>>2]}if((d|0)==v[f+72>>2]){break y}c=v[a+232>>2];if(v[c>>2]!=-1){break y}v[c>>2]=-2}if(!b){break q}z:{if((b|0)<=255){if((b|0)>31){break q}if(!(1<>>0>13){break z}break q}if(b-57344>>>0<8190|b-65536>>>0<1048576){break q}}ok(a,9,354467,b);b=v[a+36>>2];c=v[b+16>>2];A:{if(w[c|0]==10){v[b+32>>2]=1;v[b+28>>2]=v[b+28>>2]+1;break A}v[b+32>>2]=v[b+32>>2]+1}d=b;b=c+v[e+12>>2]|0;v[d+16>>2]=b;if(w[b|0]!=37){break q}wd(a)}Qb=e+336|0}Qb=i+32|0}function mCa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0;i=Qb+-64|0;Qb=i;v[i+40>>2]=13;v[i+24>>2]=13;m=fc(16);v[299999]=0;Q(3304,m|0,1)|0;e=v[299999];v[299999]=0;a:{if((e|0)!=1){b:{v[a>>2]=m;m=fc(16);v[299999]=0;S(3315,m|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break b}v[a+4>>2]=m;if(v[d+16>>2]>=1){m=0;while(1){t=v[v[d+4>>2]+(m<<5)>>2];e=i+40|0;Qp(d,m,e);qf(e,b,i+24|0,0);c:{if(v[i+24>>2]!=7){kc(1,-1,219444,0);break c}d:{if(v[i+40>>2]==9){e=v[i+48>>2];j=v[i+52>>2];g=v[a+4>>2];o=v[g+8>>2];if((o|0)<1){break d}n=v[g>>2];g=0;while(1){l=v[n+(g<<2)>>2];if(!(v[l+8>>2]==(e|0)&v[l+12>>2]==(j|0))){g=g+1|0;if((o|0)!=(g|0)){continue}break d}break}e=v[a>>2];g=fc(8);v[299999]=0;j=Q(3063,g|0,t|0)|0;o=v[299999];v[299999]=0;if((o|0)!=1){Hi(e,j,l);break c}break a}if(c){j=v[c>>2]+1e5|0;e=m;break d}v[i+56>>2]=-2128831035;PE(a,i+24|0,i+56|0);e=v[i+56>>2];e=e&2147483647^e>>>31;j=1e5}v[i+20>>2]=j;v[i+16>>2]=e;e=v[i+20>>2];v[i+8>>2]=v[i+16>>2];v[i+12>>2]=e;o=v[i+32>>2];k=0;u=0;h=Qb-96|0;Qb=h;v[h+72>>2]=13;rc(o,228412,h+72|0,0);e:{f:{g:{h:{switch(v[h+72>>2]-3|0){case 1:e=fc(8);v[299999]=0;u=Q(3063,e|0,v[h+80>>2])|0;g=v[299999];v[299999]=0;if((g|0)!=1){break g}break f;case 0:break h;default:break g}}g=v[h+80>>2];e=fc(8);v[299999]=0;u=Q(3064,e|0,g|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break f}}hc(h+72|0);q=b;f=Qb-128|0;Qb=f;v[f+112>>2]=13;v[f+96>>2]=13;v[f+80>>2]=13;v[f+64>>2]=13;v[f+48>>2]=13;v[f+32>>2]=13;v[h+88>>2]=-1;v[h+92>>2]=-1;g=o;rc(g,278827,f+112|0,0);e=322558;i:{j:{k:{l:{if(v[f+112>>2]!=4){break l}l=2;n=5;j=3;e=v[f+120>>2];if(!mc(e,333569)){break k}if(!mc(e,333567)){break k}if(!mc(e,322120)){r=1;e=2;break j}if(!mc(e,327931)){r=1;e=4;break j}if(!mc(e,279692)){r=1;e=5;break j}if(mc(e,334395)){break l}k=1;e=0;r=7;l=8;n=10;j=9;w=0;break i}v[f+16>>2]=e;kc(0,-1,345641,f+16|0);r=1;l=2;n=5;j=3;e=0;break j}r=1;e=1}w=1}hc(f+112|0);m:{if(v[rc(g,234476,f+80|0,0)>>2]==6){p=v[f+88>>2];if(!v[p+12>>2]){kc(0,-1,228e3,0);v[f+64>>2]=5;break m}if(v[yc(p,0,f- -64|0,0)>>2]!=7){break m}if(!k){kc(0,-1,219666,0)}g=v[f+72>>2];rc(g,278827,f+112|0,0);x=e;n:{if(v[f+112>>2]==4){p=v[f+120>>2];s=k?7:e;if(!mc(p,334388)){break n}s=!mc(p,329102)}else{s=0}s=k?s?10:x:e}e=s;hc(f+112|0);break m}v[f+64>>2]=5}o:{if(v[rc(g,237502,f+96|0,0)>>2]!=7){g=e;k=0;break o}k=0;if(v[Ce(v[f+104>>2],280970,f+48|0)>>2]==9){g=v[f+60>>2];v[h+88>>2]=v[f+56>>2];v[h+92>>2]=g;k=(e|0)!=1}hc(f+48|0);p:{if(v[h+88>>2]!=-1){break p}if(v[Ce(v[f+104>>2],329115,f+48|0)>>2]!=9){break p}g=v[f+60>>2];v[h+88>>2]=v[f+56>>2];v[h+92>>2]=g;if(!w){e=10;break p}k=(e|0)==5?k:1}hc(f+48|0);q:{if(v[h+88>>2]!=-1){g=e;break q}if(v[Ce(v[f+104>>2],327937,f+48|0)>>2]!=9){g=e;break q}g=v[f+60>>2];v[h+88>>2]=v[f+56>>2];v[h+92>>2]=g;r:{if(v[qf(f+48|0,q,f+32|0,0)>>2]!=8){g=e;break r}g=v[f+40>>2];rc(Ub[v[v[g>>2]+76>>2]](g)|0,278827,f+112|0,0);g=322558;s:{t:{u:{if(v[f+112>>2]!=4){break u}g=v[f+120>>2];if(!mc(g,333569)){e=(e|0)==1;k=e?k:1;g=e?1:r;break s}if(!mc(g,322120)){e=e-1>>>0<2;k=e?k:1;g=e?2:l;break s}if(!mc(g,279692)){e=(e|0)==5;k=e?k:1;g=e?5:n;break s}if(!mc(g,322127)){e=(e|0)==7;k=e?k:1;g=e?8:l;break s}if(mc(g,279651)){break u}g=6;v:{switch(e-1|0){case 0:g=3;break s;case 6:g=9;break s;case 9:g=11;break s;case 4:break s;default:break v}}k=1;break t}v[f>>2]=g;kc(1,-1,345559,f)}g=e}hc(f+112|0)}hc(f+32|0)}hc(f+48|0)}hc(f+96|0);e=v[h+88>>2];w:{if((e|0)>=0){v[f+60>>2]=v[h+92>>2];v[f+56>>2]=e;v[f+48>>2]=9;e=0;qf(f+48|0,q,f+32|0,0);x:{if(v[f+32>>2]!=8){break x}e=v[f+40>>2];Ub[v[v[e>>2]+20>>2]](e);p=QT(3510,v[f+40>>2]);e=v[f+40>>2];Ub[v[v[e>>2]+24>>2]](e);e=1;y:{switch(p|0){case 2:e=l;break x;case 3:e=8;break x;case 4:case 5:e=n;break x;case 6:e=j;break x;case 7:e=9;break x;case 0:case 1:break x;default:break y}}e=0;kc(1,-1,289027,0)}hc(f+32|0);hc(f+48|0);if(e){break w}}e=g}if(!(k?0:(e|0)==(g|0))){kc(0,-1,280911,0)}hc(f- -64|0);hc(f+80|0);Qb=f+128|0;z:{g=e;if((e|0)<=6){e=fc(3544);j=v[i+12>>2];n=v[i+8>>2];v[h+64>>2]=n;v[h+68>>2]=j;l=v[h+92>>2];p=v[h+88>>2];v[h+56>>2]=p;v[h+60>>2]=l;v[299999]=0;v[h+16>>2]=n;v[h+20>>2]=j;v[h+8>>2]=p;v[h+12>>2]=l;j=sa(3508,e|0,q|0,t|0,h+16|0,u|0,g|0,h+8|0,o|0)|0;g=v[299999];v[299999]=0;if((g|0)!=1){break z}break f}e=fc(240);j=v[i+12>>2];n=v[i+8>>2];v[h+48>>2]=n;v[h+52>>2]=j;l=v[h+92>>2];q=v[h+88>>2];v[h+40>>2]=q;v[h+44>>2]=l;v[299999]=0;v[h+32>>2]=n;v[h+36>>2]=j;v[h+24>>2]=q;v[h+28>>2]=l;j=sa(3509,e|0,h|0,t|0,h+32|0,u|0,g|0,h+24|0,o|0)|0;g=v[299999];v[299999]=0;if((g|0)!=1){break z}break f}Qb=h+96|0;break e}a=P()|0;O()|0;dc(e);T(a|0);L()}if(!v[j+156>>2]){Ub[v[v[j>>2]+4>>2]](j);break c}Tc(v[a+4>>2],j);e=v[a>>2];g=fc(8);v[299999]=0;l=Q(3063,g|0,t|0)|0;o=v[299999];v[299999]=0;if((o|0)==1){break a}Hi(e,l,j)}hc(i+40|0);hc(i+24|0);m=m+1|0;if((m|0)>2]){continue}break}}Qb=i- -64|0;return a|0}}a=P()|0;O()|0;dc(m);T(a|0);L()}a=P()|0;O()|0;dc(g);T(a|0);L()}function SE(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0,y=0,z=0,B=0,C=0,E=0,F=0,G=0,J=0,K=0,M=0,N=0,Q=0,R=0,S=0,U=0,V=0,W=0,X=0,Z=0,_=0;l=Qb-208|0;Qb=l;f=v[a+28>>2];K=A[f+16>>3];M=A[f+40>>3];N=A[f+24>>3];Q=A[f+32>>3];C=K*M-N*Q;a:{if(D(C)<=1e-10){b=-1;a=v[a+108>>2];b:{if(!a){break b}a=v[a+4>>2];if(v[a+8>>2]==13){break b}a=v[a+16>>2];b=Ub[v[v[a>>2]+52>>2]](a)|0}kc(1,b,259118,0);break a}p=v[f+(c?120:116)>>2];S=A[f+48>>3];U=A[f+56>>3];n=A[b+80>>3];m=A[a+48>>3];k=A[b+88>>3];j=A[a- -64>>3];o=n*m+k*j;A[l>>3]=o;g=n;n=A[a+56>>3];i=k;k=A[a+72>>3];q=g*n+i*k;A[l+8>>3]=q;g=A[b+96>>3];i=A[b+104>>3];w=n*g+k*i;A[l+24>>3]=w;x=m*g+j*i;A[l+16>>3]=x;g=m;m=A[b+112>>3];i=j;j=A[b+120>>3];E=A[a+80>>3]+(g*m+i*j);A[l+32>>3]=E;F=n*m+k*j+A[a+88>>3];A[l+40>>3]=F;m=o*w-q*x;if(D(m)<=1e-10){b=-1;a=v[a+108>>2];c:{if(!a){break c}a=v[a+4>>2];if(v[a+8>>2]==13){break c}a=v[a+16>>2];b=Ub[v[v[a>>2]+52>>2]](a)|0}kc(1,b,259118,0);break a}h=v[a+8>>2];Ub[v[v[h>>2]+64>>2]](h,f);R=v[a+28>>2];f=fc(672);v[299999]=0;h=Y(3429,f|0,R|0,1)|0;y=v[299999];v[299999]=0;d:{e:{if((y|0)!=1){v[a+28>>2]=f;f=v[h+380>>2];if(f){Ub[v[v[f>>2]+4>>2]](f)}v[h+380>>2]=0;h=v[a+28>>2];f=v[h+384>>2];if(f){Ub[v[v[f>>2]+4>>2]](f)}v[h+384>>2]=0;f:{g:{if(v[b+8>>2]!=2){break g}f=v[p+12>>2];if(!f){break g}h=v[a+28>>2];y=Ub[v[v[f>>2]+8>>2]](f)|0;p=v[h+116>>2];if(p){Ub[v[v[p>>2]+4>>2]](p)}v[h+116>>2]=y;h=v[a+8>>2];Ub[v[v[h>>2]+108>>2]](h,v[a+28>>2]);h=v[a+28>>2];p=Ub[v[v[f>>2]+8>>2]](f)|0;f=v[h+120>>2];if(f){Ub[v[v[f>>2]+4>>2]](f)}v[h+120>>2]=p;f=v[a+8>>2];Ub[v[v[f>>2]+112>>2]](f,v[a+28>>2]);f=v[a+28>>2];gc(f+252|0,f+124|0,128);f=v[a+8>>2];Ub[v[v[f>>2]+116>>2]](f,v[a+28>>2]);f=v[a+8>>2];Ub[v[v[f>>2]+120>>2]](f,v[a+28>>2]);v[v[a+28>>2]+664>>2]=1;break f}f=v[a+28>>2];p=jk(0);h=v[f+116>>2];if(h){Ub[v[v[h>>2]+4>>2]](h)}v[f+116>>2]=p;f=v[a+8>>2];Ub[v[v[f>>2]+108>>2]](f,v[a+28>>2]);h=v[v[a+28>>2]+116>>2];f=l+80|0;Ub[v[v[h>>2]+32>>2]](h,f);gc(v[a+28>>2]+124|0,f,128);h=v[a+8>>2];Ub[v[v[h>>2]+116>>2]](h,v[a+28>>2]);h=v[a+28>>2];y=jk(0);p=v[h+120>>2];if(p){Ub[v[v[p>>2]+4>>2]](p)}v[h+120>>2]=y;h=v[a+8>>2];Ub[v[v[h>>2]+112>>2]](h,v[a+28>>2]);h=v[v[a+28>>2]+120>>2];Ub[v[v[h>>2]+32>>2]](h,f);gc(v[a+28>>2]+252|0,f,128);f=v[a+8>>2];Ub[v[v[f>>2]+120>>2]](f,v[a+28>>2])}f=v[a+28>>2];if(c){break e}v[f+440>>2]=0;v[f+444>>2]=0;c=v[a+8>>2];Ub[v[v[c>>2]+100>>2]](c,f);KE(v[a+28>>2],0,0,0);c=v[a+8>>2];Ub[v[v[c>>2]+80>>2]](c,v[a+28>>2]);if(e){break d}Vi(v[a+28>>2]);c=v[a+28>>2];e=v[a+8>>2];f=v[e>>2];if(d){Ub[v[f+224>>2]](e,c);break d}Ub[v[f+220>>2]](e,c);break d}a=P()|0;O()|0;dc(f);T(a|0);L()}BS(f);c=v[a+8>>2];Ub[v[v[c>>2]+228>>2]](c,v[a+28>>2])}vf(v[a+28>>2]);c=v[a+28>>2];n=A[c+632>>3];i=A[c+648>>3];h:{if(n>i){break h}r=A[c+640>>3];k=A[c+656>>3];if(r>k){break h}j=1/m;t=j*(q*E-o*F);z=j*-q;m=z*n;s=o*j;G=s*k;g=t+(m+G);u=s*r;m=t+(m+u);s=j*(x*F-w*E);B=w*j;n=B*n;j=j*-x;J=j*k;k=s+(n+J);r=j*r;j=s+(n+r);i:{if(kj)){n=j;break i}n=k}j:{if(gm)){k=m;break j}k=g}z=z*i;g=t+(u+z);u=B*i;i=s+(r+u);k:{if(in)){break k}n=i}l:{if(gk)){break l}k=g}r=1/C;C=-N;B=-Q;g=t+(z+G);i=s+(u+J);m:{if(in)){break m}n=i}t=r*C;s=K*r;C=M*r;z=r*B;n:{if(gk)){break n}k=g}G=t*o;u=s*q;B=C*o;J=z*q;V=s*w;W=t*x;X=z*w;Z=C*x;g=A[b+16>>3];A[l+48>>3]=g;i=A[b+24>>3];A[l+56>>3]=i;o=A[b+32>>3];A[l+64>>3]=o;q=A[b+40>>3];A[l+72>>3]=q;o:{if(!(g>o)){w=g;g=o;break o}A[l+64>>3]=g;A[l+48>>3]=o;w=o}x=G+u;G=B+J;u=W+V;B=Z+X;p:{if(!(i>q)){o=i;i=q;break p}A[l+72>>3]=i;A[l+56>>3]=q;o=q}q=A[b+48>>3];J=A[b+56>>3];A[l+24>>3]=u;A[l+16>>3]=B;A[l+8>>3]=x;A[l>>3]=G;i=m-i;m=D(J);i=I(i/m);q:{if(D(i)<2147483648){f=~~i;break q}f=-2147483648}i=K*U;K=N*S;M=M*S;N=Q*U;g=j-g;j=D(q);g=I(g/j);r:{if(D(g)<2147483648){d=~~g;break r}d=-2147483648}g=s*F;q=t*E;i=K-i;F=z*F;E=C*E;t=N-M;k=H((k-o)/m);s:{if(D(k)<2147483648){h=~~k;break s}h=-2147483648}k=q+g;g=r*i;i=E+F;o=r*t;n=H((n-w)/j);t:{if(D(n)<2147483648){p=~~n;break t}p=-2147483648}n=g+k;k=o+i;c=v[a+8>>2];if(!(Ub[v[v[c>>2]+16>>2]](c)|0)){if((f|0)>(h|0)|(d|0)>(p|0)){break h}_=b+128|0;e=0;while(1){g=m*+(f|0);i=u*g;g=B*g;c=d;while(1){y=c;c=v[a+116>>2];u:{if(!c){break u}if((e|0)<100){e=e+1|0;break u}e=0;if(Ub[c|0](v[a+120>>2])|0){break h}}o=j*+(y|0);A[l+40>>3]=n+(i+x*o);A[l+32>>3]=k+(g+G*o);my(a,_,v[b+64>>2]==7?v[b+72>>2]:0,l,l+48|0,0,0,0,0,0,0,0);c=y+1|0;if((p|0)!=(y|0)){continue}break}c=(f|0)!=(h|0);f=f+1|0;if(c){continue}break}break h}A[l+40>>3]=n;A[l+32>>3]=k;c=v[a+8>>2];Ub[v[v[c>>2]+212>>2]](c,v[a+28>>2],a,b+128|0,v[b+8>>2],v[b+12>>2],v[b+64>>2]==7?v[b+72>>2]:0,l,l+48|0,d,f,p+1|0,h+1|0,j,m)}b=v[a+28>>2];if(v[b+668>>2]){while(1){b=_k(b);v[a+28>>2]=b;c=v[a+8>>2];Ub[v[v[c>>2]+68>>2]](c,b);b=v[a+28>>2];if(v[b+668>>2]){continue}break}}dc(Kp(b));v[a+28>>2]=R;a=v[a+8>>2];Ub[v[v[a>>2]+68>>2]](a,R)}Qb=l+208|0}function uq(a,b){var 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,y=0,z=0,A=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;f=Qb-48|0;Qb=f;M=v[a>>2];A=v[a+40>>2];c=v[a+36>>2];g=v[v[a+2748>>2]+40>>2];t[f+39|0]=0;t[f+40|0]=0;t[f+41|0]=0;t[f+42|0]=0;v[f+32>>2]=0;v[f+36>>2]=0;v[f+24>>2]=0;v[f+28>>2]=0;v[f+8>>2]=0;v[f+16>>2]=0;v[f+20>>2]=0;v[f>>2]=0;v[f+4>>2]=0;e=B(b,1348)+a|0;y=e;v[e+44>>2]=0;e=v[e+68>>2];I=(g>>>0)/14|0;d=v[a+28>>2];g=v[a+24>>2];j=d+B(g,40)|0;a:{if(!b){if((g|0)<1){break a}while(1){v[d+24>>2]=u[d+12>>1];v[d+28>>2]=u[d+14>>1];d=d+40|0;if(j>>>0>d>>>0){continue}break}break a}if((g|0)<1){break a}while(1){v[d+24>>2]=u[d+14>>1];v[d+28>>2]=u[d+12>>1];d=d+40|0;if(j>>>0>d>>>0){continue}break}}C=B(b,1348)+a|0;q=C;b:{if((c|0)>=1){Q=(c<<2)+A|0;J=C+72|0;a=e>>31;z=a+e^a;N=z;c=0;while(1){r=v[A>>2];d=v[r+36>>2];b=t[d+3|0];a=b>>31;b=(a^a+b)&255;c:{if((b|0)!=(z|0)){break c}e=t[r+3|0];a=e>>31;if(((a^a+e)&255)!=(z|0)){break c}if((b|0)==(z|0)){while(1){if((d|0)==(r|0)){break c}d=v[d+36>>2];b=t[d+3|0];a=b>>31;if(((a^a+b)&255)==(z|0)){continue}break}}r=v[d+32>>2]}a=0;g=-32e3;b=32e3;d=r;e=32e3;j=-32e3;n=0;l=0;k=32e3;m=-32e3;O=0;h=0;o=32e3;p=-32e3;D=32e3;E=-32e3;K=0;L=0;F=32e3;G=-32e3;while(1){P=1;i=c;d:{if(!a){break d}i=v[d+24>>2];s=(i|0)>(g|0);a=v[d+28>>2];if((a|0)<(e|0)){n=x[d>>1];e=a}g=s?i:g;b=(b|0)>(i|0)?i:b;i=x[d>>1];s=i&3;m=s?m:(a|0)>(m|0)?a:m;k=s?k:(a|0)<(k|0)?a:k;H=i;i=(a|0)>(j|0);l=i?H:l;j=i?a:j;if(!((d|0)==(r|0)|t[d+3|0]!=(N|0))){P=0;i=c;break d}e:{if(h){a=v[c+36>>2];if((a|0)==v[h+40>>2]){break e}}v[c+40>>2]=d;u[c+4>>1]=g-b>>>1;u[c+2>>1]=b+g>>>1;if(!(!((l|n)&3)|(m-k|0)>=(I|0))){t[c|0]=w[c|0]|1}u[c+8>>1]=j;u[c+6>>1]=e;u[c+10>>1]=j-e;h=c;o=b;p=g;D=e;E=j;K=n;L=l;F=k;G=m;i=0;break d}f:{if(w[a+2|0]==w[d+2|0]){v[h+40>>2]=d;a=(j|0)<(E|0);j=a?E:j;u[h+8>>1]=j;c=(e|0)>(D|0);e=c?D:e;u[h+6>>1]=e;u[h+10>>1]=j-e;g=(g|0)<(p|0)?p:g;b=(b|0)>(o|0)?o:b;u[h+4>>1]=g-b>>>1;u[h+2>>1]=b+g>>>1;l=a?L:l;n=c?K:n;m=(m|0)<(G|0)?G:m;k=(k|0)>(F|0)?F:k;t[h|0]=w[h|0]&254|((l|n)&3)!=0&(m-k|0)<(I|0);break f}H=E-D|0;a=H>>31;i=j-e|0;s=i>>31;if((a^a+H)>>>0>(s^i+s)>>>0){v[h+40>>2]=d;p=(g|0)>(p|0)?g:p;o=(b|0)<(o|0)?b:o;u[h+4>>1]=p-o>>>1;u[h+2>>1]=o+p>>>1;break f}v[c+40>>2]=d;g=(g|0)<(p|0)?p:g;b=(b|0)>(o|0)?o:b;u[c+4>>1]=g-b>>>1;u[c+2>>1]=b+g>>>1;if(!(!((l|n)&3)|(m-k|0)>=(I|0))){t[c|0]=w[c|0]|1}u[c+10>>1]=i;u[c+6>>1]=e;u[c+8>>1]=j;v[h+40>>2]=v[c+40>>2];a=v[c+36>>2];v[h+32>>2]=v[c+32>>2];v[h+36>>2]=a;a=v[c+28>>2];v[h+24>>2]=v[c+24>>2];v[h+28>>2]=a;a=v[c+20>>2];v[h+16>>2]=v[c+16>>2];v[h+20>>2]=a;a=v[c+4>>2];v[h>>2]=v[c>>2];v[h+4>>2]=a;a=v[c+12>>2];v[h+8>>2]=v[c+8>>2];v[h+12>>2]=a;o=b;p=g;D=e;E=j;K=n;L=l;F=k;G=m}v[y+44>>2]=v[y+44>>2]-1;i=0}c=i;g:{if((d|0)==(r|0)){a=O;O=1;if(a){break g}}a=1;if(!P){d=v[d+32>>2];continue}i=t[d+3|0];a=i>>31;h:{if((a^a+i)==(z|0)){break h}a=0;if(v[d+36>>2]==(d|0)){break h}d=v[d+32>>2];continue}v[f+44>>2]=0;c=v[y+44>>2];i:{if((c|0)<=17){if(v[q+52>>2]){break i}v[q+52>>2]=J;v[C+48>>2]=18;break i}a=v[C+48>>2];if((a|0)>(c|0)){break i}if((a|0)>48806445){k=64;break b}b=(a+(a>>2)|0)+4|0;b=(a|0)<-16?48806446:(b|0)>48806446?48806446:b;c=v[q+52>>2];j:{if((c|0)==(J|0)){a=Cc(M,44,0,b,0,f+44|0);v[q+52>>2]=a;k=v[f+44>>2];if(k){break b}gc(a,J,792);break j}R=q,S=Cc(M,44,a,b,c,f+44|0),v[R+52>>2]=S;k=v[f+44>>2];if(k){break b}}v[C+48>>2]=b;c=v[y+44>>2]}a=1;g=v[q+52>>2];v[y+44>>2]=c+1;l=B(c,44);c=l+g|0;t[c|0]=0;b=v[f+20>>2];e=v[f+16>>2];t[c+1|0]=e;t[c+2|0]=e>>>8;t[c+3|0]=e>>>16;t[c+4|0]=e>>>24;t[c+5|0]=b;t[c+6|0]=b>>>8;t[c+7|0]=b>>>16;t[c+8|0]=b>>>24;b=v[f+28>>2];e=v[f+24>>2];t[c+9|0]=e;t[c+10|0]=e>>>8;t[c+11|0]=e>>>16;t[c+12|0]=e>>>24;t[c+13|0]=b;t[c+14|0]=b>>>8;t[c+15|0]=b>>>16;t[c+16|0]=b>>>24;b=v[f+36>>2];e=v[f+32>>2];t[c+17|0]=e;t[c+18|0]=e>>>8;t[c+19|0]=e>>>16;t[c+20|0]=e>>>24;t[c+21|0]=b;t[c+22|0]=b>>>8;t[c+23|0]=b>>>16;t[c+24|0]=b>>>24;b=w[f+39|0]|w[f+40|0]<<8|(w[f+41|0]<<16|w[f+42|0]<<24);t[c+24|0]=b;t[c+25|0]=b>>>8;t[c+26|0]=b>>>16;t[c+27|0]=b>>>24;v[c+28>>2]=32e3;v[c+40>>2]=v[f+8>>2];b=v[f+4>>2];v[c+32>>2]=v[f>>2];v[c+36>>2]=b;t[c+1|0]=i;v[c+40>>2]=d;v[c+36>>2]=d;h=h?c-44|0:0;e=v[d+28>>2];n=x[d>>1];j=n&3;m=j?-32e3:e;k=j?32e3:e;b=v[d+24>>2];if(v[d+36>>2]==(d|0)){a=g+l|0;u[a+2>>1]=b;if(j){t[c|0]=1}c=0;u[a+10>>1]=0;u[a+8>>1]=e;u[a+6>>1]=e;a=0}g=b;j=e;l=n;N=i;d=v[d+32>>2];continue}break}A=A+4|0;if(Q>>>0>A>>>0){continue}break}}k=0;d=v[q+52>>2];if(!d){break b}a=v[y+44>>2];if((a|0)<1){break b}g=B(a,44)+d|0;while(1){b=v[d+36>>2];a=v[v[b+36>>2]+28>>2];b=v[b+28>>2];e=v[d+40>>2];c=v[e+28>>2];k:{l:{if((b|0)<(c|0)){if((a|0)<(b|0)){u[d+10>>1]=x[d+10>>1]+(b-a>>>1|0)}a=v[v[e+32>>2]+28>>2];if((a|0)<=(c|0)){break k}a=a-c|0;break l}if((a|0)>(b|0)){u[d+10>>1]=x[d+10>>1]+(a-b>>>1|0)}a=v[v[e+32>>2]+28>>2];if((a|0)>=(c|0)){break k}a=c-a|0}u[d+10>>1]=x[d+10>>1]+(a>>>1|0)}d=d+44|0;if(g>>>0>d>>>0){continue}break}}Qb=f+48|0;return k}function rv(a,b){var 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;r=Qb-32|0;Qb=r;a:{b:{c:{if(!b){break c}c=v[a+16>>2];if(c){f=w[c+2832|0]!=0}else{f=0}o=v[b+8>>2];if(!(o?(o|0)!=1e3:0)){h=A[a+664>>3]*+v[b+20>>2];d:{if(h<4294967296&h>=0){c=~~h>>>0;break d}c=0}g=v[b+12>>2];a=fc(12);v[299999]=0;v[a+8>>2]=f?g<<16&16711680|(g>>>16&255|(g&65280|c<<24)):g|c<<24;v[a>>2]=466304;v[a+4>>2]=0;e=a;b=v[299999];v[299999]=0;if((b|0)!=1){break c}break b}e:{f:{g:{h:{if(!(o-2001>>>0<9|o-6e3>>>0<8)){if((o|0)!=4009){break f}n=A[a+664>>3];h=n*+v[b+20>>2];if(!(h<4294967296&h>=0)){break h}a=~~h>>>0;break g}n=A[a+664>>3];h=n*+v[b+20>>2];i:{if(h<4294967296&h>=0){c=~~h>>>0;break i}c=0}e=v[b+12>>2];g=r;j:{if(!f){c=e|c<<24;e=v[b+16>>2];h=n*+v[b+24>>2];k:{if(h<4294967296&h>=0){d=~~h>>>0;break k}d=0}d=e|d<<24;break j}d=v[b+16>>2];k=d&65280;c=e<<16&16711680|(e>>>16&255|(e&65280|c<<24));e=d<<16&16711680;i=d>>>16&255;h=n*+v[b+24>>2];l:{if(h<4294967296&h>=0){d=~~h>>>0;break l}d=0}d=e|(i|(k|d<<24))}v[g+16>>2]=d;v[r+24>>2]=c;c=fc(336);g=r;v[g+8>>2]=1065353216;v[g+12>>2]=1065353216;v[g>>2]=0;v[g+4>>2]=0;h=A[b+104>>3];v[299999]=0;e=Ib(2148,c|0,g|0,g+24|0,g+16|0,C(C(h)),1)|0;g=v[299999];v[299999]=0;if((g|0)==1){break e}v[e+332>>2]=1;gc(e+8|0,b+124|0,80);Oz(e+88|0,b+204|0);s=3;p=v[b+112>>2];l=v[b+116>>2]-p|0;if((l|0)>=1){k=l>>>1|0;g=fc(k);d=(l>>1)-4|0;i=(d>>>2|0)+1&7;m:{if(!i){c=g;break m}c=g;while(1){v[c>>2]=-16777216;c=c+4|0;i=i-1|0;if(i){continue}break}}m=l>>3;if(d>>>0>=28){d=g+(m<<2)|0;while(1){v[c+24>>2]=-16777216;v[c+28>>2]=-16777216;v[c+16>>2]=-16777216;v[c+20>>2]=-16777216;v[c+8>>2]=-16777216;v[c+12>>2]=-16777216;v[c>>2]=-16777216;v[c+4>>2]=-16777216;c=c+32|0;if((d|0)!=(c|0)){continue}break}}l=(m|0)>1?m:1;q=fc(k);h=A[a+664>>3];i=0;while(1){k=i<<2;d=k+g|0;c=p+(i<<3)|0;j=v[c>>2];a=j>>>16|0;t=(f?a:j)&255|j&65280|(f?j:a)<<16&16711680;n=h*+(j>>>24|0);n:{if(n<4294967296&n>=0){a=~~n>>>0;break n}a=0}v[d>>2]=t|a<<24;z[k+q>>2]=+v[c+4>>2]*152587890625e-16;i=i+1|0;if((l|0)!=(i|0)){continue}break}v[e+272>>2]=v[e+268>>2];o:{if(!q|(!g|(m|0)<1)){break o}p:{i=e+268|0;f=v[i+8>>2];c=v[i+4>>2];if(m>>>0<=f-c>>3>>>0){q:{if(!m){break q}f=m<<3;d=f;a=c;f=f-8|0;j=(f>>>3|0)+1&7;if(j){while(1){v[a>>2]=-16777216;v[a+4>>2]=0;a=a+8|0;j=j-1|0;if(j){continue}break}}c=c+d|0;if(f>>>0<56){break q}while(1){v[a+56>>2]=-16777216;v[a+60>>2]=0;v[a+48>>2]=-16777216;v[a+52>>2]=0;v[a+40>>2]=-16777216;v[a+44>>2]=0;v[a+32>>2]=-16777216;v[a+36>>2]=0;v[a+24>>2]=-16777216;v[a+28>>2]=0;v[a+16>>2]=-16777216;v[a+20>>2]=0;v[a+8>>2]=-16777216;v[a+12>>2]=0;v[a>>2]=-16777216;v[a+4>>2]=0;a=a- -64|0;if((c|0)!=(a|0)){continue}break}}v[i+4>>2]=c;break p}r:{a=v[i>>2];d=c-a>>3;k=d+m|0;if(k>>>0<536870912){f=f-a|0;a=f>>2;p=f>>3>>>0<268435455?a>>>0>>0?k:a:536870911;if(p){if(p>>>0>=536870912){break r}f=fc(p<<3)}else{f=0}d=f+(d<<3)|0;a=d;l=m<<3;k=l-8|0;j=(k>>>3|0)+1&7;if(j){a=d;while(1){v[a>>2]=-16777216;v[a+4>>2]=0;a=a+8|0;j=j-1|0;if(j){continue}break}}l=d+l|0;if(k>>>0>=56){while(1){v[a+56>>2]=-16777216;v[a+60>>2]=0;v[a+48>>2]=-16777216;v[a+52>>2]=0;v[a+40>>2]=-16777216;v[a+44>>2]=0;v[a+32>>2]=-16777216;v[a+36>>2]=0;v[a+24>>2]=-16777216;v[a+28>>2]=0;v[a+16>>2]=-16777216;v[a+20>>2]=0;v[a+8>>2]=-16777216;v[a+12>>2]=0;v[a>>2]=-16777216;v[a+4>>2]=0;a=a- -64|0;if((l|0)!=(a|0)){continue}break}}a=d;d=v[i>>2];c=c-d|0;a=a-c|0;if((c|0)>=1){gc(a,d,c)}v[i+8>>2]=f+(p<<3);v[i+4>>2]=l;v[i>>2]=a;if(d){dc(d)}break p}ue(i);L()}cf(274079);L()}d=v[e+268>>2];c=0;if((m|0)!=1){i=m&-2;while(1){f=d+(c<<3)|0;a=c<<2;v[f>>2]=v[a+g>>2];z[f+4>>2]=z[a+q>>2];a=c|1;f=d+(a<<3)|0;a=a<<2;v[f>>2]=v[a+g>>2];z[f+4>>2]=z[a+q>>2];c=c+2|0;i=i-2|0;if(i){continue}break}}if(!(m&1)){break o}f=d+(c<<3)|0;a=c<<2;v[f>>2]=v[a+g>>2];z[f+4>>2]=z[a+q>>2]}dc(g);dc(q)}A[e+288>>3]=A[b+72>>3];A[e+296>>3]=A[b+80>>3];A[e+304>>3]=A[b+88>>3];A[e+312>>3]=A[b+96>>3];s:{t:{switch(o-6e3|0){default:if((o|0)==2007){break s}break c;case 0:v[e+4>>2]=100;break c;case 1:v[e+4>>2]=5;break c;case 4:v[e+4>>2]=8;break c;case 2:v[e+4>>2]=6;break c;case 3:v[e+4>>2]=7;break c;case 7:v[e+4>>2]=11;break c;case 6:v[e+4>>2]=10;break c;case 5:break t}}s=9}v[e+4>>2]=s;break c}a=0}g=v[b+12>>2];u:{if(!f){a=g|a<<24;f=v[b+16>>2];h=n*+v[b+24>>2];v:{if(h<4294967296&h>=0){c=~~h>>>0;break v}c=0}g=f|c<<24;break u}c=v[b+16>>2];f=c&65280;a=g<<16&16711680|(g>>>16&255|(g&65280|a<<24));g=c<<16&16711680;d=c>>>16&255;h=n*+v[b+24>>2];w:{if(h<4294967296&h>=0){c=~~h>>>0;break w}c=0}g=g|(d|(f|c<<24))}c=fc(64);v[299999]=0;e=PX(c);f=v[299999];v[299999]=0;if((f|0)!=1){v[e+24>>2]=g;v[e+20>>2]=a;MY(e+8|0,b+28|0);A[e+32>>3]=A[b+72>>3];A[e+40>>3]=A[b+80>>3];A[e+48>>3]=A[b+88>>3];A[e+56>>3]=A[b+96>>3];break c}break a}a=fc(40);v[299999]=0;e=Y(2150,a|0,b+28|0,4)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break c}break b}break a}Qb=r+32|0;return e}b=P()|0;O()|0;dc(a);T(b|0);L()}a=P()|0;O()|0;dc(c);T(a|0);L()}function Sga(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=Qb+-64|0;Qb=e;d=v[d>>2];v[a>>2]=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{if(d){f=v[v[d+28>>2]>>2]?v[d+32>>2]:0;if(!(!b|!c)){if(f){v[299999]=0;h=c+f|0;g=Z(4407,e+48|0,e+60|0,h|0,1)|0;i=v[299999];v[299999]=0;if((i|0)==1){break l}gc(v[e+60>>2],v[d+24>>2],f);gc(f+v[e+60>>2]|0,b,c);c=v[e+60>>2];m:{n:{b=v[d+16>>2];o:{if(b){v[299999]=0;v[b+4>>2]=v[b+4>>2]+1;f=v[299999];v[299999]=0;if((f|0)==1){break n}d=v[d+16>>2];v[299999]=0;v[e+32>>2]=d;$(5229,e+40|0,c|0,h|0,e+32|0);c=v[299999];v[299999]=0;if((c|0)!=1){break o}break d}d=v[d+20>>2];v[299999]=0;$(5224,e+40|0,c|0,h|0,d|0);c=v[299999];v[299999]=0;if((c|0)==1){break d}}v[299999]=0;Q(4344,a|0,e+40|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break m}a=v[e+40>>2];v[e+40>>2]=0;p:{if(!a){break p}v[299999]=0;c=v[a+4>>2]-1|0;v[a+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break p}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}q:{if(!b){break q}a=v[e+32>>2];v[e+32>>2]=0;if(!a){break q}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break q}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Lc(g);break i}d=P()|0;O()|0;Lc(g);break b}d=P()|0;O()|0;ec(e+40|0);break c}r:{s:{f=v[d+16>>2];t:{if(f){v[299999]=0;v[f+4>>2]=v[f+4>>2]+1;g=v[299999];v[299999]=0;if((g|0)==1){break s}d=v[d+16>>2];v[299999]=0;v[e+24>>2]=d;$(5229,e+48|0,b|0,c|0,e+24|0);b=v[299999];v[299999]=0;if((b|0)!=1){break t}break f}d=v[d+20>>2];v[299999]=0;$(5224,e+48|0,b|0,c|0,d|0);b=v[299999];v[299999]=0;if((b|0)==1){break f}}v[299999]=0;Q(4344,a|0,e+48|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break r}a=v[e+48>>2];v[e+48>>2]=0;u:{if(!a){break u}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break u}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}if(!f){break i}a=v[e+24>>2];v[e+24>>2]=0;if(!a){break i}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break i}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break i}}break a}d=P()|0;O()|0;break b}d=P()|0;O()|0;ec(e+48|0);break e}if(f){v[299999]=0;c=Z(4407,e+48|0,e+60|0,f|0,1)|0;b=v[299999];v[299999]=0;v:{w:{if((b|0)!=1){gc(v[e+60>>2],v[d+24>>2],f);g=v[e+60>>2];b=v[d+16>>2];x:{if(b){v[299999]=0;v[b+4>>2]=v[b+4>>2]+1;h=v[299999];v[299999]=0;if((h|0)==1){break w}d=v[d+16>>2];v[299999]=0;v[e+16>>2]=d;$(5229,e+40|0,g|0,f|0,e+16|0);d=v[299999];v[299999]=0;if((d|0)!=1){break x}break h}d=v[d+20>>2];v[299999]=0;$(5224,e+40|0,g|0,f|0,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break h}}v[299999]=0;Q(4344,a|0,e+40|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break v}a=v[e+40>>2];v[e+40>>2]=0;y:{if(!a){break y}v[299999]=0;d=v[a+4>>2]-1|0;v[a+4>>2]=d;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(d){break y}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}z:{if(!b){break z}a=v[e+16>>2];v[e+16>>2]=0;if(!a){break z}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(b){break z}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Lc(c);break i}d=P()|0;O()|0;break b}d=P()|0;O()|0;Lc(c);break b}d=P()|0;O()|0;ec(e+40|0);break g}A:{B:{b=v[d+16>>2];C:{if(b){v[299999]=0;v[b+4>>2]=v[b+4>>2]+1;c=v[299999];v[299999]=0;if((c|0)==1){break B}c=v[d+16>>2];v[299999]=0;v[e+8>>2]=c;$(5229,e+48|0,0,0,e+8|0);c=v[299999];v[299999]=0;if((c|0)!=1){break C}break k}c=v[d+20>>2];v[299999]=0;$(5224,e+48|0,0,0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break k}}v[299999]=0;Q(4344,a|0,e+48|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break A}a=v[e+48>>2];v[e+48>>2]=0;D:{if(!a){break D}v[299999]=0;c=v[a+4>>2]-1|0;v[a+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break D}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}if(!b){break i}a=v[e+8>>2];v[e+8>>2]=0;if(!a){break i}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break i}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break i}}break a}d=P()|0;O()|0;break b}d=P()|0;O()|0;ec(e+48|0);break j}v[299999]=0;$(5224,e+48|0,b|0,c|0,8);b=v[299999];v[299999]=0;E:{if((b|0)!=1){v[299999]=0;Q(4344,a|0,e+48|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break E}a=v[e+48>>2];v[e+48>>2]=0;if(!a){break i}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break i}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break i}}break a}d=P()|0;O()|0;break b}d=P()|0;O()|0;ec(e+48|0);break b}d=P()|0;O()|0;break b}d=P()|0;O()|0}if(!b){break b}ec(e+8|0);break b}Qb=e- -64|0;return}d=P()|0;O()|0}if(b){ec(e+16|0)}Lc(c);break b}d=P()|0;O()|0}if(!f){break b}ec(e+24|0);break b}d=P()|0;O()|0}if(b){ec(e+32|0)}Lc(g)}ec(a);T(d|0);L()}W(0)|0;O()|0;lc();L()}function Yna(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=Qb-144|0;Qb=f;j=kj(f+104|0,v[a>>2]+72|0);v[299999]=0;e=S(4464,j|0)|0;g=v[299999];v[299999]=0;a:{b:{c:{if((g|0)==1){break c}v[299999]=0;g=v[v[d+12>>2]+((e>>>0)%y[d+8>>2]<<2)>>2];h=v[299999];v[299999]=0;if((h|0)==1){break c}d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{if(g){while(1){if((e|0)==v[g+12>>2]){v[299999]=0;h=Q(4461,g+16|0,j|0)|0;k=v[299999];v[299999]=0;if((k|0)==1){break j}if(h){break o}}g=v[g+8>>2];if(g){continue}break}}v[299999]=0;e=Q(4749,d|0,j|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break d}v[e+52>>2]=0;e=v[a>>2];v[299999]=0;e=S(4770,e|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break d}if((e|0)<1){break o}e=v[a>>2];v[299999]=0;g=Q(4340,f+16|0,311734)|0;h=v[299999];v[299999]=0;if((h|0)==1){break e}v[299999]=0;e=Q(4771,e|0,g|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break f}ec(g);if(e){break o}e=v[a>>2];v[299999]=0;U(4764,f+88|0,e|0,0);e=v[299999];v[299999]=0;if((e|0)==1){break g}e=v[a>>2];v[299999]=0;$(4766,f+80|0,e|0,0,1);e=v[299999];v[299999]=0;if((e|0)==1){break i}e=v[f+96>>2];if(e){k=f+24|0;while(1){g=0;p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{h=v[e+8>>2];if(h){v[299999]=0;v[h+4>>2]=v[h+4>>2]+1;g=v[299999];v[299999]=0;if((g|0)==1){break y}g=v[e+8>>2]}v[f+72>>2]=g;v[299999]=0;h=Q(4340,f+16|0,311734)|0;i=v[299999];v[299999]=0;if((i|0)==1){break r}v[299999]=0;i=Q(4771,g|0,h|0)|0;l=v[299999];v[299999]=0;if((l|0)==1){break x}ec(h);if(i){v[299999]=0;h=Q(4342,f+16|0,g+72|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break w}v[299999]=0;V(4537,f+56|0,h|0);i=v[299999];v[299999]=0;if((i|0)==1){break v}v[299999]=0;U(4772,f- -64|0,f+80|0,f+56|0);i=v[299999];v[299999]=0;if((i|0)==1){break u}v[299999]=0;Q(4344,f+80|0,f- -64|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break t}h=v[f+64>>2];v[f+64>>2]=0;z:{if(!h){break z}v[299999]=0;i=v[h+4>>2]-1|0;v[h+4>>2]=i;l=v[299999];v[299999]=0;if((l|0)==1){break a}if(i){break z}v[299999]=0;R(4338,h|0);h=v[299999];v[299999]=0;if((h|0)==1){break a}}ec(f+56|0);v[f+40>>2]=981312;v[f+16>>2]=981280;h=v[f+44>>2];if(h){i=v[h+4>>2]-1|0;v[h+4>>2]=i;if(!i){Ub[v[v[h>>2]+4>>2]](h)}v[f+44>>2]=0}v[f+32>>2]=981312;h=v[f+36>>2];if(h){i=v[h+4>>2]-1|0;v[h+4>>2]=i;if(!i){Ub[v[v[h>>2]+4>>2]](h)}v[f+36>>2]=0}ec(k)}v[299999]=0;h=v[g+4>>2]-1|0;v[g+4>>2]=h;i=v[299999];v[299999]=0;if((i|0)!=1){if(h){break p}v[299999]=0;R(4338,g|0);g=v[299999];v[299999]=0;if((g|0)!=1){break p}}break a}e=P()|0;O()|0;break k}e=P()|0;O()|0;ec(h);break q}e=P()|0;O()|0;break q}e=P()|0;O()|0;$c(h);break q}e=P()|0;O()|0;break s}e=P()|0;O()|0;ec(f- -64|0)}ec(f+56|0);$c(h);break q}e=P()|0;O()|0}ec(f+72|0);break k}e=v[e>>2];if(e){continue}break}}a=v[a>>2];v[299999]=0;a=Q(4342,f+16|0,a+72|0)|0;e=v[299999];v[299999]=0;A:{B:{C:{D:{E:{if((e|0)!=1){v[299999]=0;V(4537,f+56|0,a|0);e=v[299999];v[299999]=0;if((e|0)==1){break E}v[a+24>>2]=981312;v[a>>2]=981280;e=v[a+28>>2];if(e){g=v[e+4>>2]-1|0;v[e+4>>2]=g;if(!g){Ub[v[v[e>>2]+4>>2]](e)}v[a+28>>2]=0}v[a+16>>2]=981312;e=v[a+20>>2];if(e){g=v[e+4>>2]-1|0;v[e+4>>2]=g;if(!g){Ub[v[v[e>>2]+4>>2]](e)}v[a+20>>2]=0}ec(a+8|0);g=0;v[299999]=0;a=f+56|0;fa(4773,f+16|0,a|0,a|0,a|0,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break D}a=v[f+80>>2];if(a){v[299999]=0;v[a+4>>2]=v[a+4>>2]+1;a=v[299999];v[299999]=0;if((a|0)==1){break C}g=v[f+80>>2]}v[299999]=0;v[f+8>>2]=g;$(4767,c|0,f+16|0,f+8|0,-1);a=v[299999];v[299999]=0;if((a|0)==1){break B}a=v[f+8>>2];v[f+8>>2]=0;F:{if(!a){break F}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(b){break F}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}g=v[f+96>>2];if(g){while(1){v[299999]=0;$(4768,g+8|0,0,c|0,d|0);a=v[299999];v[299999]=0;if((a|0)==1){break n}g=v[g>>2];if(g){continue}break}}a=v[f+16>>2];v[f+16>>2]=0;if(!a){break A}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break A}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break A}}break a}e=P()|0;O()|0;break k}e=P()|0;O()|0;$c(a);break k}e=P()|0;O()|0;break l}e=P()|0;O()|0;break m}e=P()|0;O()|0;ec(f+8|0);break m}ec(f+56|0);a=v[f+80>>2];v[f+80>>2]=0;G:{if(!a){break G}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break G}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Ic(f+88|0)}v[j+24>>2]=981312;v[j>>2]=981280;a=v[j+28>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Ub[v[v[a>>2]+4>>2]](a)}v[j+28>>2]=0}v[j+16>>2]=981312;a=v[j+20>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Ub[v[v[a>>2]+4>>2]](a)}v[j+20>>2]=0}ec(j+8|0);Qb=f+144|0;return}e=P()|0;O()|0}ec(f+16|0)}ec(f+56|0)}ec(f+80|0);break h}e=P()|0;O()|0;break b}e=P()|0;O()|0}Ic(f+88|0);break b}e=P()|0;O()|0;break b}e=P()|0;O()|0;ec(g);break b}e=P()|0;O()|0;break b}e=P()|0;O()|0;break b}e=P()|0;O()|0}$c(j);T(e|0);L()}W(0)|0;O()|0;lc();L()}function BEa(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,p=0,q=0,r=0,s=0;e=Qb-304|0;Qb=e;v[a>>2]=896168;v[e+288>>2]=13;v[e+272>>2]=13;v[a+2984>>2]=0;v[a+2468>>2]=0;v[a+2456>>2]=0;v[a+2460>>2]=0;a:{if(!oy(a,c)){break a}if(!v[a+1040>>2]){kc(1,-1,283307,0);break a}d=v[a+4>>2];if((d|0)>=17){v[e>>2]=16;kc(1,-1,289332,e);break a}r=a,s=ed(1<>2]=s;if(v[b>>2]!=8){kc(1,-1,257428,0);break a}i=v[b+8>>2];b:{c:{d:{e:{f:{if(v[rc(c,274154,e+288|0,0)>>2]!=6){break f}d=v[e+296>>2];b=v[d+12>>2];if((b|0)!=v[a+4>>2]){break f}g:{if((b|0)<1){break g}b=0;yc(d,0,e+272|0,0);g=219786;if(v[e+272>>2]!=1){break c}while(1){d=v[e+280>>2];v[((b<<2)+a|0)+1044>>2]=d;if((d|0)<1){g=219823;break c}hc(e+272|0);b=b+1|0;if((b|0)>=v[a+4>>2]){break g}yc(v[e+296>>2],b,e+272|0,0);if(v[e+272>>2]==1){continue}break}break c}hc(e+288|0);o=ed(1<>2],4);v[a+2456>>2]=o;d=v[a+4>>2];if((d|0)!=31){while(1){h=d-1|0;b=k;j=0;h:{if((d|0)<2){break h}n=h&1;f=v[((h<<2)+a|0)+1044>>2];i:{if((d|0)==2){g=d;break i}m=h&-2;while(1){p=a+1044|0;g=d-2|0;q=v[p+(g<<2)>>2];j=((q|0)==1?0:b<<1>>>h&1)+B(q,((f|0)==1?0:b>>>h&1)+j|0)|0;f=v[(p+(d<<2)|0)-12>>2];j=B(j,f);b=b<<2;d=g;m=m-2|0;if(m){continue}break}}if(!n){break h}j=B(v[((g<<2)+a|0)+1036>>2],((f|0)==1?0:b>>>h&1)+j|0);b=b<<1}v[o+(k<<2)>>2]=B(v[a+8>>2],(v[a+1044>>2]==1?0:b>>>h&1)+j|0);k=k+1|0;d=v[a+4>>2];if((k|0)<1<>2]!=1){kc(1,-1,280726,0);break b}k=v[e+296>>2];l=rt(k);b=e+288|0;hc(b);if(v[rc(c,284030,b,0)>>2]!=6){d=v[a+4>>2];break e}b=v[e+296>>2];d=v[a+4>>2];if(v[b+12>>2]!=d<<1){break e}if((d|0)<1){break d}d=0;yc(b,0,e+272|0,0);g=219954;f=v[e+272>>2];if(f-1>>>0>1){break c}b=0;while(1){h=(b<<4)+a|0;A[h+1176>>3]=(f|0)==1?+v[e+280>>2]:A[e+280>>3];f=e+272|0;hc(f);yc(v[e+296>>2],d|1,f,0);d=v[e+272>>2];if(d-1>>>0>1){break c}A[h+1184>>3]=(d|0)==1?+v[e+280>>2]:A[e+280>>3];hc(e+272|0);b=b+1|0;if((b|0)>=v[a+4>>2]){break d}d=b<<1;yc(v[e+296>>2],d,e+272|0,0);f=v[e+272>>2];if(f-1>>>0<=1){continue}break}break c}kc(1,-1,219873,0);break b}if((d|0)<1){break d}j=d&1;b=0;if((d|0)!=1){d=d&-2;g=a+1176|0;f=a+1044|0;while(1){h=g+(b<<4)|0;v[h>>2]=0;v[h+4>>2]=0;A[h+8>>3]=v[f+(b<<2)>>2]-1|0;m=b|1;h=g+(m<<4)|0;v[h>>2]=0;v[h+4>>2]=0;A[h+8>>3]=v[f+(m<<2)>>2]-1|0;b=b+2|0;d=d-2|0;if(d){continue}break}}if(!j){break d}d=(b<<4)+a|0;g=d+1176|0;v[g>>2]=0;v[g+4>>2]=0;A[d+1184>>3]=v[((b<<2)+a|0)+1044>>2]-1|0}hc(e+288|0);g=v[a+4>>2];if((g|0)>=1){b=0;while(1){d=(b<<4)+a|0;A[((b<<3)+a|0)+2200>>3]=(A[d+1184>>3]-A[d+1176>>3])/(A[d+24>>3]-A[d+16>>3]);b=b+1|0;if((g|0)!=(b|0)){continue}break}}j:{k:{if(v[rc(c,284226,e+288|0,0)>>2]!=6){d=v[a+8>>2];break k}b=v[e+296>>2];d=v[a+8>>2];if(v[b+12>>2]!=d<<1){break k}if((d|0)<1){break j}d=0;yc(b,0,e+272|0,0);g=219993;f=v[e+272>>2];if(f-1>>>0>1){break c}b=0;while(1){c=(b<<4)+a|0;A[c+1688>>3]=(f|0)==1?+v[e+280>>2]:A[e+280>>3];f=e+272|0;hc(f);yc(v[e+296>>2],d|1,f,0);d=v[e+272>>2];if(d-1>>>0>1){break c}A[c+1696>>3]=(d|0)==1?+v[e+280>>2]:A[e+280>>3];hc(e+272|0);b=b+1|0;if((b|0)>=v[a+8>>2]){break j}d=b<<1;yc(v[e+296>>2],d,e+272|0,0);f=v[e+272>>2];if(f-1>>>0<=1){continue}break}break c}if((d|0)<1){break j}b=0;if((d|0)!=1){g=d&-2;c=a+1688|0;f=a+528|0;while(1){h=b<<4;j=h+c|0;m=f+h|0;A[j>>3]=A[m>>3];A[j+8>>3]=A[m+8>>3];h=h|16;j=h+c|0;h=f+h|0;A[j>>3]=A[h>>3];A[j+8>>3]=A[h+8>>3];b=b+2|0;g=g-2|0;if(g){continue}break}}if(!(d&1)){break j}b=(b<<4)+a|0;A[b+1688>>3]=A[b+528>>3];A[b+1696>>3]=A[b+536>>3]}hc(e+288|0);b=v[a+8>>2];v[a+2464>>2]=b;c=v[a+4>>2];if((c|0)>=1){d=0;while(1){g=v[((d<<2)+a|0)+1044>>2];if((2147483647/(g|0)|0)<(b|0)){kc(1,-1,240542,0);break a}b=B(b,g);v[a+2464>>2]=b;d=d+1|0;if((c|0)!=(d|0)){continue}break}}r=a,s=ed(b,8),v[r+2460>>2]=s;Ub[v[v[i>>2]+20>>2]](i);if(v[a+2464>>2]>=1){l=1/(l+-1);f=(k|0)<32?-1<>2]+28>>2]](i)|0;break l;case 8:c=Ub[v[v[i>>2]+28>>2]](i)|0;c=(Ub[v[v[i>>2]+28>>2]](i)|0)+(c<<8)|0;break l;case 24:c=Ub[v[v[i>>2]+28>>2]](i)|0;j=Ub[v[v[i>>2]+28>>2]](i)|0;m=Ub[v[v[i>>2]+28>>2]](i)|0;c=(Ub[v[v[i>>2]+28>>2]](i)|0)+(m+(j+(c<<8)<<8)<<8)|0;break l;default:break m}}if((b|0)<(k|0)){while(1){d=Ub[v[v[i>>2]+28>>2]](i)&255|d<<8;b=b+8|0;if((k|0)>(b|0)){continue}break}}b=b-k|0;c=f&d>>>b}A[v[a+2460>>2]+(g<<3)>>3]=l*+(c>>>0);g=g+1|0;if((g|0)>2]){continue}break}}Ub[v[v[i>>2]+24>>2]](i);c=v[a+4>>2];n:{if((c|0)<1){break n}b=0;if((c|0)!=1){d=c&-2;g=a+16|0;k=a+2472|0;while(1){i=b<<3;f=e+16|0;l=A[g+(b<<4)>>3];A[i+f>>3]=l;A[i+k>>3]=l+-1;n=f;i=b|1;f=i<<3;l=A[g+(i<<4)>>3];A[n+f>>3]=l;A[f+k>>3]=l+-1;b=b+2|0;d=d-2|0;if(d){continue}break}}if(!(c&1)){break n}c=b<<3;l=A[((b<<4)+a|0)+16>>3];A[c+(e+16|0)>>3]=l;A[(a+c|0)+2472>>3]=l+-1}Ub[v[v[a>>2]+16>>2]](a,e+16|0,a+2728|0);v[a+2984>>2]=1;break a}kc(1,-1,g,0);hc(e+272|0)}hc(e+288|0)}Qb=e+304|0;return a|0}function Z2(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,p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0;f=Qb+-64|0;Qb=f;a:{b:{c=$s(c?c:26483);if(c){e=1;d=Am(c);if(!d){while(1){d=cp(1032032,v[c+4>>2]);c:{if(!v[(d?d:1031904)>>2]){e=0;break c}v[f>>2]=v[c+4>>2];Sc(27784,f)}d=Am(c);if(!d){continue}break}}Jq(c);if((d|0)>-1){break b}}Sc(8613,0);c=-1;break a}d:{e:{f:{g:{c=v[a+28>>2];switch((c>>8)-3|0){case 0:break f;case 1:break g;default:break e}}if((c|0)!=1025){Sc(12120,0)}v[f+16>>2]=3;d=zj(a,0);v[f+20>>2]=d;h:{if((d|0)<0){break h}r=1;c=zj(a,1);v[f+24>>2]=c;if((c|0)<0){break h}c=zj(a,2);v[f+28>>2]=c;if((c|0)<=-1){break h}n=3;break d}Sc(14648,0);c=-1;break a}if((c|0)!=769){Sc(12120,0)}m=1;v[f+16>>2]=1;d=zj(a,0);v[f+20>>2]=d;c=-1;n=1;if((d|0)>-1){break d}Sc(14648,0);break a}Sc(17294,0);c=-1;break a}c=d<<2;d=v[a+24>>2];c=v[c+d>>2];l=v[c+24>>2];i:{if(v[c+24>>2]!=(l|0)){break i}h=v[d>>2];if(v[c+8>>2]!=v[h+8>>2]|v[c+12>>2]!=v[h+12>>2]|(v[c>>2]!=v[h>>2]|v[c+4>>2]!=v[h+4>>2])){break i}h=v[c+28>>2];j=v[c+20>>2];o=v[c+16>>2];if(!m){c=v[d+(v[f+24>>2]<<2)>>2];if((o|0)!=v[c+16>>2]|(j|0)!=v[c+20>>2]|((l|0)!=v[c+24>>2]|(h|0)!=v[c+28>>2])){break i}p=v[d>>2];if(v[c+8>>2]!=v[p+8>>2]|v[c+12>>2]!=v[p+12>>2]|(v[c>>2]!=v[p>>2]|v[c+4>>2]!=v[p+4>>2])){break i}c=v[d+(v[f+28>>2]<<2)>>2];if((o|0)!=v[c+16>>2]|(j|0)!=v[c+20>>2]|((l|0)!=v[c+24>>2]|(h|0)!=v[c+28>>2])){break i}d=v[d>>2];if(v[c+8>>2]!=v[d+8>>2]|v[c+12>>2]!=v[d+12>>2]|(v[c>>2]!=v[d>>2]|v[c+4>>2]!=v[d+4>>2])){break i}if(!r){break i}}if(h){Sc(22028,0);Sc(24468,0)}j:{if(m){v[f+40>>2]=e?20533:20530;break j}v[f+40>>2]=e?20534:20531}v[f+48>>2]=j;v[f+44>>2]=o;t[f+60|0]=(h|0)!=0;c=-1;v[f+56>>2]=-1<>2];k:{if(e&7){break k}h=v[f+40>>2];j=v[b+64>>2];if(!((j|0)<0|(j|0)>v[b+60>>2])){v[b+8>>2]=e|4;break k}v[b+4>>2]=v[b+4>>2]|32;e=v[b+28>>2];v[b+28>>2]=e-1;l:{if((e|0)>=1){v[b+60>>2]=v[b+60>>2]+1;e=v[b+24>>2];v[b+24>>2]=e+1;t[e|0]=h>>>8;break l}if((Fc(b,h>>>8&255)|0)==-1){break k}}e=v[b+8>>2];if(e&7){break k}j=v[b+64>>2];if(!((j|0)<0|(j|0)>v[b+60>>2])){v[b+8>>2]=e|4;break k}v[b+4>>2]=v[b+4>>2]|32;e=v[b+28>>2];v[b+28>>2]=e-1;m:{if((e|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;t[d|0]=h;break m}if((Fc(b,h&255)|0)==-1){break k}}h=w[f+60|0];d=v[f+56>>2];e=v[f+48>>2];v[l>>2]=v[f+44>>2];v[l+4>>2]=e;v[l+8>>2]=h?0-d|0:d;Jk(b,29606,l);d=v[b+8>>2]<<30>>31}Qb=l+16|0;if(d){break a}d=b;l=a;y=f+16|4;h=Qb-320|0;Qb=h;p=_J(v[f+40>>2]);b=v[f+56>>2];j=mB(b);v[h+316>>2]=0;v[h+308>>2]=0;v[h+312>>2]=0;n:{o:{p:{q:{if(n){while(1){a=yj(1,v[f+44>>2]);v[(h+308|0)+(i<<2)>>2]=a;if(!a){break q}i=i+1|0;if((n|0)!=(i|0)){continue}break}}if(v[f+48>>2]<1){break p}a=(j+7|0)/8|0;if(n>>>0>=1){o=b^-1;z=(j|0)<32?-1<>2];if(Zj(l,v[b+y>>2],0,s,v[f+44>>2],1,e)){break p}v[b+(h+296|0)>>2]=v[v[e+28>>2]>>2];i=i+1|0;if((n|0)!=(i|0)){continue}break}r:{if(v[f+44>>2]<=0){break r}i=0;b=0;if((p|0)!=1){while(1){e=0;while(1){k=(h+296|0)+(e<<2)|0;q=v[k>>2];g=v[q>>2];m=v[f+56>>2];v[h+16>>2]=b|e?32386:26483;g=(g|0)<(o|0)?o:g;v[h+20>>2]=(g|0)>(m|0)?m:g;g=zd(h+32|0,30133,h+16|0);if(!((i|0)<1|(g+i|0)<80)){Jk(d,34228,0);i=0}v[h>>2]=h+32;Jk(d,34517,h);v[k>>2]=q+4;i=g+i|0;e=e+1|0;if((e|0)!=(n|0)){continue}break}b=b+1|0;if((b|0)>2]){continue}break r}}while(1){m=0;s:{while(1){b=v[f+56>>2];q=(h+296|0)+(m<<2)|0;x=v[q>>2];e=v[x>>2];e=(e|0)<(o|0)?o:e;b=(b|0)<(e|0)?b:e;t:{if(w[f+60|0]){if((j|0)<1){break t}e=(((b|0)<0?z&b-2:b)&r)<>2];if(g&7){break q}k=v[d+64>>2];if((k|0)>=0&(k|0)<=v[d+60>>2]){break s}k=e>>>24|0;v[d+4>>2]=v[d+4>>2]|32;g=v[d+28>>2];v[d+28>>2]=g-1;u:{if((g|0)>=1){v[d+60>>2]=v[d+60>>2]+1;g=v[d+24>>2];v[d+24>>2]=g+1;t[g|0]=k;break u}g=-1;if((Fc(d,k)|0)==-1){break p}}e=e<<8;g=(b|0)>1;b=b-1|0;if(g){continue}break}break t}if((j|0)<1){break t}e=(b&r)<>2];if(g&7){break q}k=v[d+64>>2];if((k|0)>=0&(k|0)<=v[d+60>>2]){break s}k=e>>>24|0;v[d+4>>2]=v[d+4>>2]|32;g=v[d+28>>2];v[d+28>>2]=g-1;v:{if((g|0)>=1){v[d+60>>2]=v[d+60>>2]+1;g=v[d+24>>2];v[d+24>>2]=g+1;t[g|0]=k;break v}g=-1;if((Fc(d,k)|0)==-1){break p}}e=e<<8;g=(b|0)>1;b=b-1|0;if(g){continue}break}}v[q>>2]=x+4;m=m+1|0;if((m|0)!=(n|0)){continue}break}i=i+1|0;if((i|0)>=v[f+44>>2]){break r}continue}break}v[d+8>>2]=g|4;break q}if((p|0)!=1){Jk(d,34228,0)}g=-1;if(w[d+8|0]&2){break p}g=0;s=s+1|0;if((s|0)>2]){continue}break}break p}if((p|0)==1){break o}i=0;while(1){Jk(d,34228,0);if(w[d+8|0]&2){break q}i=i+1|0;if((i|0)>2]){continue}break}break p}g=-1}if(n>>>0<1){break n}i=0;while(1){a=v[(h+308|0)+(i<<2)>>2];if(a){$e(a)}i=i+1|0;if((n|0)!=(i|0)){continue}break}break n}g=v[d+8>>2]<<30>>31}Qb=h+320|0;if(g){break a}c=wB(d)?-1:0;break a}Sc(19844,0);c=-1}Qb=f- -64|0;return c|0}function Wza(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;i=Qb-16|0;Qb=i;d=v[a+8>>2];Ub[v[v[d>>2]+20>>2]](d);a:{b:{d=v[a+8>>2];if((Ub[v[v[d>>2]+32>>2]](d)|0)==255){break b}if(!by(a,i+12|0,i+8|0,i+4|0)){break a}while(1){c:{d:{e:{f:{g:{h:{d=v[i+12>>2];switch(d-1785737827|0){case 5:break c;case 1:case 2:case 3:case 4:break f;case 0:break g;default:break h}}if((d|0)!=1668246642){if((d|0)!=1768449138){break f}d=v[a+8>>2];if((Ub[v[v[d>>2]+28>>2]](d)|0)==-1){break c}d=v[a+8>>2];if((Ub[v[v[d>>2]+28>>2]](d)|0)==-1){break c}d=v[a+8>>2];if((Ub[v[v[d>>2]+28>>2]](d)|0)==-1){break c}d=v[a+8>>2];if((Ub[v[v[d>>2]+28>>2]](d)|0)==-1){break c}d=v[a+8>>2];if((Ub[v[v[d>>2]+28>>2]](d)|0)==-1){break c}d=v[a+8>>2];if((Ub[v[v[d>>2]+28>>2]](d)|0)==-1){break c}d=v[a+8>>2];if((Ub[v[v[d>>2]+28>>2]](d)|0)==-1){break c}d=v[a+8>>2];if((Ub[v[v[d>>2]+28>>2]](d)|0)==-1){break c}d=v[a+8>>2];if((Ub[v[v[d>>2]+28>>2]](d)|0)==-1){break c}d=v[a+8>>2];if((Ub[v[v[d>>2]+28>>2]](d)|0)==-1){break c}d=v[a+8>>2];e=Ub[v[v[d>>2]+28>>2]](d)|0;if((e|0)==-1){break c}d=v[a+8>>2];if((Ub[v[v[d>>2]+28>>2]](d)|0)==-1){break c}d=v[a+8>>2];if((Ub[v[v[d>>2]+28>>2]](d)|0)==-1){break c}d=v[a+8>>2];if((Ub[v[v[d>>2]+28>>2]](d)|0)==-1){break c}l=1;v[b>>2]=e+1;break c}d=v[a+8>>2];e=Ub[v[v[d>>2]+28>>2]](d)|0;if((e|0)==-1){break c}d=v[a+8>>2];j=Ub[v[v[d>>2]+28>>2]](d)|0;if((j|0)==-1){break c}d=v[a+8>>2];if((Ub[v[v[d>>2]+28>>2]](d)|0)==-1){break c}if(((e&128?e|-256:e)|0)==1){d=v[a+8>>2];k=Ub[v[v[d>>2]+28>>2]](d)|0;if((k|0)==-1){break c}d=v[a+8>>2];h=Ub[v[v[d>>2]+28>>2]](d)|0;if((h|0)==-1){break c}d=v[a+8>>2];e=Ub[v[v[d>>2]+28>>2]](d)|0;if((e|0)==-1){break c}d=v[a+8>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break c}e=d|(h<<16|k<<24|e<<8);if(e>>>0>21){break e}d=1<(f|0))){d=f;break d}v[c>>2]=h;break d}e=v[i+4>>2];if(e>>>0<4){break c}d=v[a+8>>2];Ub[v[v[d>>2]+48>>2]](d,e-3|0)|0;break c}if(!l){break b}if(g){break a}break b}d=v[a+8>>2];Ub[v[v[d>>2]+48>>2]](d,v[i+4>>2])|0;break c}d=f;e=g}g=v[i+4>>2];if(g>>>0>=8){f=v[a+8>>2];Ub[v[v[f>>2]+48>>2]](f,g-7|0)|0}f=d;g=e}if(by(a,i+12|0,i+8|0,i+4|0)){continue}break}break a}h=Qb-16|0;Qb=h;j:{k:{while(1){d=v[a+8>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((d|0)!=255){if((d|0)!=-1){continue}break j}while(1){d=v[a+8>>2];e=Ub[v[v[d>>2]+28>>2]](d)|0;if((e|0)==255){continue}break}l:{switch(e+1|0){case 0:break j;case 1:continue;default:break l}}if((e&-16)==48){continue}g=0;if(!((e|0)==79|e-146>>>0<2|(e|0)==217)){d=v[a+8>>2];f=Ub[v[v[d>>2]+28>>2]](d)|0;if((f|0)==-1){break j}d=v[a+8>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break j}g=d|f<<8}m:{if((e|0)==81){d=v[a+8>>2];if((Ub[v[v[d>>2]+28>>2]](d)|0)==-1){break j}d=v[a+8>>2];if((Ub[v[v[d>>2]+28>>2]](d)|0)==-1){break j}d=v[a+8>>2];if((Ub[v[v[d>>2]+28>>2]](d)|0)==-1){break j}d=v[a+8>>2];if((Ub[v[v[d>>2]+28>>2]](d)|0)==-1){break j}d=v[a+8>>2];if((Ub[v[v[d>>2]+28>>2]](d)|0)==-1){break j}d=v[a+8>>2];if((Ub[v[v[d>>2]+28>>2]](d)|0)==-1){break j}d=v[a+8>>2];g=Ub[v[v[d>>2]+28>>2]](d)|0;if((g|0)==-1){break j}d=v[a+8>>2];e=Ub[v[v[d>>2]+28>>2]](d)|0;if((e|0)==-1){break j}d=v[a+8>>2];f=Ub[v[v[d>>2]+28>>2]](d)|0;if((f|0)==-1){break j}d=v[a+8>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break j}v[h+12>>2]=d|(e<<16|g<<24|f<<8);d=v[a+8>>2];if((Ub[v[v[d>>2]+28>>2]](d)|0)==-1){break j}d=v[a+8>>2];if((Ub[v[v[d>>2]+28>>2]](d)|0)==-1){break j}d=v[a+8>>2];if((Ub[v[v[d>>2]+28>>2]](d)|0)==-1){break j}d=v[a+8>>2];if((Ub[v[v[d>>2]+28>>2]](d)|0)==-1){break j}d=v[a+8>>2];if((Ub[v[v[d>>2]+28>>2]](d)|0)==-1){break j}d=v[a+8>>2];if((Ub[v[v[d>>2]+28>>2]](d)|0)==-1){break j}d=v[a+8>>2];if((Ub[v[v[d>>2]+28>>2]](d)|0)==-1){break j}d=v[a+8>>2];if((Ub[v[v[d>>2]+28>>2]](d)|0)==-1){break j}d=v[a+8>>2];if((Ub[v[v[d>>2]+28>>2]](d)|0)==-1){break j}d=v[a+8>>2];if((Ub[v[v[d>>2]+28>>2]](d)|0)==-1){break j}d=v[a+8>>2];if((Ub[v[v[d>>2]+28>>2]](d)|0)==-1){break j}d=v[a+8>>2];if((Ub[v[v[d>>2]+28>>2]](d)|0)==-1){break j}d=v[a+8>>2];g=Ub[v[v[d>>2]+28>>2]](d)|0;if((g|0)==-1){break j}d=v[a+8>>2];e=Ub[v[v[d>>2]+28>>2]](d)|0;if((e|0)==-1){break j}d=v[a+8>>2];f=Ub[v[v[d>>2]+28>>2]](d)|0;if((f|0)==-1){break j}d=v[a+8>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break j}v[h+12>>2]=d|(e<<16|g<<24|f<<8);if(!Vm(a,h+12|0)){break j}if(!Vm(a,h+12|0)){break j}d=v[a+8>>2];e=Ub[v[v[d>>2]+28>>2]](d)|0;if((e|0)==-1){break j}d=v[a+8>>2];f=Ub[v[v[d>>2]+28>>2]](d)|0;if((f|0)==-1){break j}d=v[a+8>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break j}v[b>>2]=(d&127)+1;n:{b=f|e<<8;switch(b-1|0){case 0:break k;case 2:break m;case 3:break n;default:break j}}b=3;break k}if(g>>>0<3){continue}d=v[a+8>>2];Ub[v[v[d>>2]+48>>2]](d,g-2|0)|0;continue}break}b=2}v[c>>2]=b}Qb=h+16|0}a=v[a+8>>2];Ub[v[v[a>>2]+24>>2]](a);Qb=i+16|0}function xR(a,b){var 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,w=0;u=v[b+8>>2];if((u|0)>=1){w=v[b>>2];while(1){a:{b:{c:{d:{d=v[(s<<2)+w>>2];c=v[d>>2];r=v[c>>2];b=v[r>>2];switch(v[v[v[v[b>>2]>>2]>>2]+4>>2]-1|0){case 2:break b;case 1:break c;case 0:break d;default:break a}}i=A[d+32>>3];f=A[a+112>>3];A[d+32>>3]=A[d+16>>3];j=A[d+24>>3];A[d+24>>3]=A[d+8>>3];A[d+16>>3]=f-j;A[d+8>>3]=f-i;e=v[c+8>>2];if((e|0)<1){break a}l=0;while(1){i=A[b+32>>3];A[b+32>>3]=A[b+16>>3];j=A[b+24>>3];A[b+24>>3]=A[b+8>>3];A[b+16>>3]=f-j;A[b+8>>3]=f-i;b=v[b>>2];o=v[b+8>>2];if((o|0)>=1){p=v[b>>2];g=0;while(1){b=v[p+(g<<2)>>2];i=A[b+32>>3];A[b+32>>3]=A[b+16>>3];j=A[b+24>>3];A[b+24>>3]=A[b+8>>3];A[b+16>>3]=f-j;A[b+8>>3]=f-i;b=v[b>>2];m=v[b+8>>2];e:{if((m|0)<1){break e}h=v[b>>2];c=0;if((m|0)!=1){d=m&-2;while(1){q=c<<2;b=v[q+h>>2];i=A[b+24>>3];A[b+24>>3]=A[b+8>>3];j=A[b+16>>3];A[b+16>>3]=A[b>>3];A[b+8>>3]=f-j;A[b>>3]=f-i;b=v[h+(q|4)>>2];i=A[b+24>>3];A[b+24>>3]=A[b+8>>3];j=A[b+16>>3];A[b+16>>3]=A[b>>3];A[b+8>>3]=f-j;A[b>>3]=f-i;c=c+2|0;d=d-2|0;if(d){continue}break}}if(!(m&1)){break e}b=v[h+(c<<2)>>2];i=A[b+24>>3];A[b+24>>3]=A[b+8>>3];j=A[b+16>>3];A[b+16>>3]=A[b>>3];A[b+8>>3]=f-j;A[b>>3]=f-i}g=g+1|0;if((o|0)!=(g|0)){continue}break}}l=l+1|0;if((e|0)==(l|0)){break a}b=v[(l<<2)+r>>2];continue}}f=A[a+112>>3];j=A[d+32>>3];i=A[a+120>>3];A[d+32>>3]=i-A[d+24>>3];A[d+24>>3]=i-j;j=A[d+16>>3];A[d+16>>3]=f-A[d+8>>3];A[d+8>>3]=f-j;o=v[c+8>>2];if((o|0)<1){break a}m=0;while(1){j=A[b+32>>3];A[b+32>>3]=i-A[b+24>>3];A[b+24>>3]=i-j;j=A[b+16>>3];A[b+16>>3]=f-A[b+8>>3];A[b+8>>3]=f-j;f:{b=v[b>>2];p=v[b+8>>2];if((p|0)<1){break f}q=v[b>>2];l=0;while(1){g=v[q+(l<<2)>>2];j=A[g+32>>3];A[g+32>>3]=i-A[g+24>>3];A[g+24>>3]=i-j;i=A[g+16>>3];A[g+16>>3]=f-A[g+8>>3];A[g+8>>3]=f-i;c=v[g+56>>2];g:{if((c|0)<0){break g}h=v[g+52>>2];A[h>>3]=f-A[h>>3];if(!c){break g}d=c&3;b=0;if(c-1>>>0>=3){c=c&-4;while(1){e=b<<3;k=h+(e|8)|0;A[k>>3]=A[a+112>>3]-A[k>>3];k=h+(e|16)|0;A[k>>3]=A[a+112>>3]-A[k>>3];e=h+(e|24)|0;A[e>>3]=A[a+112>>3]-A[e>>3];b=b+4|0;e=h+(b<<3)|0;A[e>>3]=A[a+112>>3]-A[e>>3];c=c-4|0;if(c){continue}break}}if(!d){break g}while(1){b=b+1|0;c=h+(b<<3)|0;A[c>>3]=A[a+112>>3]-A[c>>3];d=d-1|0;if(d){continue}break}}b=v[g>>2];k=v[b+8>>2];if((k|0)>=1){t=v[b>>2];g=0;while(1){b=v[t+(g<<2)>>2];i=A[b+24>>3];f=A[a+112>>3];j=A[a+120>>3];A[b+24>>3]=j-A[b+16>>3];A[b+16>>3]=j-i;i=A[b+8>>3];A[b+8>>3]=f-A[b>>3];A[b>>3]=f-i;c=v[b+44>>2];h:{if((c|0)<0){break h}h=v[b+40>>2];A[h>>3]=f-A[h>>3];if(!c){break h}d=c&3;b=0;if(c-1>>>0>=3){c=c&-4;while(1){e=b<<3;n=h+(e|8)|0;A[n>>3]=A[a+112>>3]-A[n>>3];n=h+(e|16)|0;A[n>>3]=A[a+112>>3]-A[n>>3];e=h+(e|24)|0;A[e>>3]=A[a+112>>3]-A[e>>3];b=b+4|0;e=h+(b<<3)|0;A[e>>3]=A[a+112>>3]-A[e>>3];c=c-4|0;if(c){continue}break}}if(!d){break h}while(1){b=b+1|0;c=h+(b<<3)|0;A[c>>3]=A[a+112>>3]-A[c>>3];d=d-1|0;if(d){continue}break}}g=g+1|0;if((k|0)!=(g|0)){continue}break}}l=l+1|0;if((p|0)==(l|0)){break f}i=A[a+120>>3];f=A[a+112>>3];continue}}m=m+1|0;if((o|0)==(m|0)){break a}b=v[(m<<2)+r>>2];i=A[a+120>>3];f=A[a+112>>3];continue}}i=A[d+16>>3];f=A[a+120>>3];A[d+16>>3]=A[d+32>>3];j=A[d+8>>3];A[d+8>>3]=A[d+24>>3];A[d+32>>3]=f-j;A[d+24>>3]=f-i;o=v[c+8>>2];if((o|0)<1){break a}m=0;while(1){i=A[b+16>>3];A[b+16>>3]=A[b+32>>3];j=A[b+8>>3];A[b+8>>3]=A[b+24>>3];A[b+32>>3]=f-j;A[b+24>>3]=f-i;i:{b=v[b>>2];p=v[b+8>>2];if((p|0)<1){break i}q=v[b>>2];l=0;while(1){g=v[q+(l<<2)>>2];i=A[g+16>>3];A[g+16>>3]=A[g+32>>3];j=A[g+8>>3];A[g+8>>3]=A[g+24>>3];A[g+32>>3]=f-j;A[g+24>>3]=f-i;c=v[g+56>>2];j:{if((c|0)<0){break j}h=v[g+52>>2];A[h>>3]=f-A[h>>3];if(!c){break j}d=c&3;b=0;if(c-1>>>0>=3){c=c&-4;while(1){e=b<<3;k=h+(e|8)|0;A[k>>3]=A[a+120>>3]-A[k>>3];k=h+(e|16)|0;A[k>>3]=A[a+120>>3]-A[k>>3];e=h+(e|24)|0;A[e>>3]=A[a+120>>3]-A[e>>3];b=b+4|0;e=h+(b<<3)|0;A[e>>3]=A[a+120>>3]-A[e>>3];c=c-4|0;if(c){continue}break}}if(!d){break j}while(1){b=b+1|0;c=h+(b<<3)|0;A[c>>3]=A[a+120>>3]-A[c>>3];d=d-1|0;if(d){continue}break}}b=v[g>>2];k=v[b+8>>2];if((k|0)>=1){t=v[b>>2];g=0;while(1){b=v[t+(g<<2)>>2];i=A[b+8>>3];f=A[a+120>>3];A[b+8>>3]=A[b+24>>3];j=A[b>>3];A[b>>3]=A[b+16>>3];A[b+24>>3]=f-j;A[b+16>>3]=f-i;c=v[b+44>>2];k:{if((c|0)<0){break k}h=v[b+40>>2];A[h>>3]=f-A[h>>3];if(!c){break k}d=c&3;b=0;if(c-1>>>0>=3){c=c&-4;while(1){e=b<<3;n=h+(e|8)|0;A[n>>3]=A[a+120>>3]-A[n>>3];n=h+(e|16)|0;A[n>>3]=A[a+120>>3]-A[n>>3];e=h+(e|24)|0;A[e>>3]=A[a+120>>3]-A[e>>3];b=b+4|0;e=h+(b<<3)|0;A[e>>3]=A[a+120>>3]-A[e>>3];c=c-4|0;if(c){continue}break}}if(!d){break k}while(1){b=b+1|0;c=h+(b<<3)|0;A[c>>3]=A[a+120>>3]-A[c>>3];d=d-1|0;if(d){continue}break}}g=g+1|0;if((k|0)!=(g|0)){continue}break}}l=l+1|0;if((p|0)==(l|0)){break i}f=A[a+120>>3];continue}}m=m+1|0;if((o|0)==(m|0)){break a}b=v[(m<<2)+r>>2];f=A[a+120>>3];continue}}s=s+1|0;if((u|0)!=(s|0)){continue}break}}}function Py(a,b){var 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;h=Qb-112|0;Qb=h;a:{if(!b){break a}e=Ub[v[259704]](36)|0;if(!e){v[h>>2]=239852;oc(0,0,0,0,0,29,2,3,239852,0,0,0,350051,h);break a}v[e+20>>2]=0;v[e+4>>2]=0;v[e+28>>2]=0;v[e+32>>2]=0;c=v[259706];v[e+24>>2]=0;v[e+12>>2]=c;v[e+8>>2]=0;v[e+16>>2]=0;v[e>>2]=0;if((c&-2)!=2){v[e+12>>2]=4}n=h+106|0;o=h+105|0;m=h+104|0;p=h+103|0;b:{while(1){f=b;c:{d:{e:{f:{g:{h:{i:{j:{k:{while(1){c=w[f|0];if(c){if((c|0)==38){if((b|0)!=(f|0)){if(Zi(e,b,f-b|0)){break c}}l:{m:{d=w[f+1|0];if((d|0)!=35){b=1;g=f+1|0;while(1){c=d&255;if(!c){break m}if((c|0)==59){break l}b=b+1|0;d=w[f+b|0];continue}}c=f+2|0;d=0;b=w[f+2|0];if((b|0)==59){b=c+1|0;break d}if((b|0)==120){g=f+3|0;k=1;f=w[f+3|0];n:{if((f|0)==59){break n}while(1){b=g;c=-48;o:{if((f-48&255)>>>0<10){break o}c=-87;if((f-97&255)>>>0<6){break o}c=-55;if((f-65&255)>>>0<6){break o}k=0;v[h+64>>2]=0;oc(0,0,0,0,a,2,1300,2,0,0,0,0,351976,h- -64|0);d=0;break n}g=b+1|0;d=((d<<4)+c|0)+(f&255)|0;f=w[b+1|0];if((f|0)!=59){continue}break}}b=g+k|0;break d}p:{while(1){if((b-48&255)>>>0<=9){d=(B(d,10)+(b&255)|0)-48|0;f=1;b=w[c+1|0];g=c+1|0;c=g;if((b|0)!=59){continue}break p}break}f=0;v[h+48>>2]=0;oc(0,0,0,0,a,2,1301,2,0,0,0,0,352013,h+48|0);g=c;d=0}b=f+g|0;break d}v[h+80>>2]=g;oc(0,0,0,0,a,2,1302,2,g,0,0,0,349131,h+80|0);break c}if((b|0)==1){break e}i=Ub[v[259707]](b)|0;q:{if(!i){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break q}c=b-1|0;q=gc(i,g,c)+c|0,r=0,t[q|0]=r}r:{s:{if(!a){break s}c=v[a+44>>2];t:{if(!c){break t}c=v[c+48>>2];if(!c){break t}c=Se(c,i,0,0);if(c){break r}}if(v[a+40>>2]==1){break s}c=v[a+48>>2];if(!c){break s}c=v[c+48>>2];if(!c){break s}c=Se(c,i,0,0);if(c){break r}}c=mi(i)}if(!(!c|v[c+48>>2]!=6)){if(v[e+32>>2]){break c}g=v[c+40>>2];c=v[e+8>>2];if(!((c|0)==v[e+24>>2]|c>>>0>2147483646)){v[e+24>>2]=c}c=v[e+4>>2];if(!((c|0)==v[e+20>>2]|c>>>0>2147483646)){v[e+20>>2]=c}d=v[e+12>>2];if(!g|(d|0)==2){break b}if(!Zi(e,g,-1)){break f}break c}if(v[e+32>>2]){break g}d=v[e+8>>2];if(!((d|0)==v[e+24>>2]|d>>>0>2147483646)){v[e+24>>2]=d}k=v[e+20>>2];d=v[e+4>>2];if((k|0)==(d|0)|d>>>0>2147483646){d=k}else{v[e+20>>2]=d}if(!d){break g}d=Ub[v[259704]](60)|0;if(!d){break k}v[d>>2]=0;v[d+4>>2]=0;g=d+8|0;v[g>>2]=0;v[g+4>>2]=0;v[d+4>>2]=3;v[d+56>>2]=0;v[d+48>>2]=0;v[d+52>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=0;v[d+36>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=883676;u:{if(!v[294265]){break u}g=v[294262];if(!g){break u}Ub[g|0](d)}v[d+32>>2]=a;break h}else{f=f+1|0;continue}}break}if(!(l?(b|0)==(f|0):0)){Zi(e,b,f-b|0)}if(v[e+32>>2]){break c}b=v[e+8>>2];if(!((b|0)==v[e+24>>2]|b>>>0>2147483646)){v[e+24>>2]=b}d=v[e+20>>2];b=v[e+4>>2];if((d|0)==(b|0)|b>>>0>2147483646){b=d}else{v[e+20>>2]=b}if(!b){break c}f=Ub[v[259704]](60)|0;if(!f){break j}v[f>>2]=0;v[f+4>>2]=0;b=f+8|0;v[b>>2]=0;v[b+4>>2]=0;v[f+4>>2]=3;v[f+56>>2]=0;v[f+48>>2]=0;v[f+52>>2]=0;v[f+40>>2]=0;v[f+44>>2]=0;v[f+32>>2]=0;v[f+36>>2]=0;v[f+24>>2]=0;v[f+28>>2]=0;v[f+16>>2]=0;v[f+20>>2]=0;v[f+8>>2]=883676;v:{if(!v[294265]){break v}b=v[294262];if(!b){break v}Ub[b|0](f)}v[f+32>>2]=a;break i}v[h+96>>2]=225274;d=0;oc(0,0,0,0,0,2,2,3,225274,0,0,0,350051,h+96|0);break h}v[h+16>>2]=225274;oc(0,0,0,0,0,2,2,3,225274,0,0,0,350051,h+16|0);f=0}d=0;if(!(v[e+32>>2]|(v[e+28>>2]|v[e+12>>2]==2))){v[e+20>>2]=0;v[e+24>>2]=0;v[e+4>>2]=0;v[e+8>>2]=0;d=v[e>>2];v[e>>2]=0}v[f+40>>2]=d;if(!j){l=f;break c}Yr(j,f);break c}k=0;if(!(v[e+32>>2]|(v[e+28>>2]|v[e+12>>2]==2))){v[e+20>>2]=0;v[e+24>>2]=0;v[e+4>>2]=0;v[e+8>>2]=0;k=v[e>>2];v[e>>2]=0}v[d+40>>2]=k;if(!j){j=d;l=d;break g}j=Yr(j,d)}g=WF(a,i);if(!g){if(!i){break c}Ub[v[259708]](i);break c}w:{if(v[c+12>>2]|!c){break w}v[c+12>>2]=-1;d=Py(a,v[g+40>>2]);v[c+68>>2]=1;v[c+12>>2]=d;if(!d){break w}while(1){v[d+20>>2]=c;d=v[d+24>>2];if(d){continue}break}}if(!j){j=g;l=g;break f}j=Yr(j,g)}Ub[v[259708]](i)}b=(f+1|0)+b|0;continue}if(!d){continue}x:{y:{z:{A:{if((d|0)>=128){B:{if((d|0)<2048){f=0;g=6;c=192;break B}if((d|0)<65536){f=6;g=12;c=224;break B}if((d|0)>=1114112){break z}f=12;g=18;c=240}t[h+102|0]=c|d>>>g;t[h+103|0]=d>>f&63|128;c=m;g=(f>>>0)/6|0;if(g){break A}break y}t[h+102|0]=d;c=1;break x}t[h+104|0]=d>>f-6&63|128;c=o;if((g+p|0)==(m|0)){break y}t[h+105|0]=d>>f-12&63|128;c=n;break y}v[h+32>>2]=d;oc(0,0,0,0,0,1,9,3,0,0,0,d,353167,h+32|0);c=0;break x}c=c-(h+102|0)|0}t[c+(h+102|0)|0]=0;if(v[e+32>>2]){break c}c=v[e+8>>2];if(!((c|0)==v[e+24>>2]|c>>>0>2147483646)){v[e+24>>2]=c}c=v[e+4>>2];if(!((c|0)==v[e+20>>2]|c>>>0>2147483646)){v[e+20>>2]=c}if(v[e+12>>2]==2){break c}if(!Zi(e,h+102|0,-1)){continue}}break}d=v[e+12>>2]}C:{D:{if((d|0)==3){f=v[e+16>>2];if(f){break D}f=v[e>>2];if(f){break D}break C}f=v[e>>2];if(!f|(d|0)==2){break C}}Ub[v[259708]](f)}Ub[v[259708]](e)}Qb=h+112|0;return l}function C5a(a){a=a|0;var b=C(0),c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=C(0),o=0,p=0,q=0,r=0,s=0,t=0,w=0,y=0,A=C(0),E=0,F=0,G=C(0),H=C(0),I=0,J=0,L=0,M=0;g=Qb+-64|0;Qb=g;h=v[a+26336>>2];a:{if(h-3>>>0>1){break a}b:{c:{if(!v[a+188>>2]){break c}Rc(59789,23,1,v[252391]);h=v[a+26336>>2];if((h|0)>=1){break c}q=2147483647;break b}e=h&3;d:{if(h-1>>>0<3){q=2147483647;break d}c=h&-4;q=2147483647;r=a+59284|0;while(1){s=d<<2;b=C(z[s+r>>2]*C(65535));e:{if(C(D(b))>2]*C(65535));f:{if(C(D(b))(m|0)?m:l;b=C(z[r+(s|8)>>2]*C(65535));g:{if(C(D(b))(m|0)?m:l;b=C(z[r+(s|12)>>2]*C(65535));h:{if(C(D(b))(m|0)?m:l;d=d+4|0;c=c-4|0;if(c){continue}break}}if(!e){t=1;break b}while(1){b=C(z[((d<<2)+a|0)+59284>>2]*C(65535));i:{if(C(D(b))>1];if(!c){break a}H=C(h|0);A=C(q|0);I=h&-2;J=h&1;r=h&-4;s=h&3;L=h-2|0;w=h-1|0;m=w&-4;l=w&3;E=h-3<<6;j=x[a+26310>>1];d=j;while(1){d=d&65535;if(d){y=0;while(1){j:{k:{l:{m:{if(t){e=B(d,F)+y|0;c=v[a+26352>>2];d=0;while(1){p=e<<3;if(x[(p+c|0)+(d<<1)>>1]<=(q|0)){d=d+1|0;if((h|0)!=(d|0)){continue}break j}break}if((d|0)==(h|0)){break j}if(!t){break k}i=v[a+26352>>2];d=0;c=I;if(w){break m}break l}if(!h){break j}break k}while(1){f=g+32|0;e=d<<2;o=i+p|0;b=C(x[o+(d<<1)>>1]);z[f+e>>2]=b;k=g+48|0;z[k+e>>2]=b>1]);z[M+e>>2]=b;z[e+k>>2]=b>1]);z[c>>2]=b;z[c+16>>2]=b>>0>=3){while(1){o=d<<2;f=o|4;k=((i<<4)+E|0)+198544|0;p=g+32|0;c=p;b=C(C(b+C(z[o+k>>2]*z[c+o>>2]))+C(z[f+k>>2]*z[c+f>>2]));c=o|8;b=C(b+C(z[c+k>>2]*z[c+p>>2]));c=o|12;b=C(b+C(z[c+k>>2]*z[c+(g+32|0)>>2]));d=d+4|0;e=e-4|0;if(e){continue}break}}c=s;if(c){while(1){e=d<<2;b=C(b+C(z[(e+((i<<4)+E|0)|0)+198544>>2]*z[e+(g+32|0)>>2]));d=d+1|0;c=c-1|0;if(c){continue}break}}z[(i<<2)+g>>2]=b;i=i+1|0;if((h|0)!=(i|0)){continue}break}}G=C(0);k=(h|0)<2;n:{if(k){break n}d=1;c=m;if(L>>>0>=3){while(1){e=(d<<2)+g|0;b=z[e>>2];n=C(G+C(b*b));b=z[e+4>>2];n=C(n+C(b*b));b=z[e+8>>2];n=C(n+C(b*b));b=z[e+12>>2];G=C(n+C(b*b));d=d+4|0;c=c-4|0;if(c){continue}break}}c=l;if(!c){break n}while(1){b=z[(d<<2)+g>>2];G=C(G+C(b*b));d=d+1|0;c=c-1|0;if(c){continue}break}}e=0;if(t){while(1){b=C(0);d=0;c=r;if(w>>>0>=3){while(1){p=d<<2;f=p|4;i=((e<<4)+E|0)+198544|0;o=g+48|0;b=C(C(b+C(z[p+i>>2]*z[o+p>>2]))+C(z[f+i>>2]*z[f+o>>2]));f=p|8;b=C(b+C(z[f+i>>2]*z[f+o>>2]));f=p|12;b=C(b+C(z[f+i>>2]*z[f+o>>2]));d=d+4|0;c=c-4|0;if(c){continue}break}}c=s;if(c){while(1){f=d<<2;b=C(b+C(z[(f+((e<<4)+E|0)|0)+198544>>2]*z[(f+g|0)+48>>2]));d=d+1|0;c=c-1|0;if(c){continue}break}}z[((e<<2)+g|0)+16>>2]=b;e=e+1|0;if((h|0)!=(e|0)){continue}break}}o:{if(k){break o}d=1;b=C(0);c=m;e=L>>>0<3;if(!e){while(1){n=b;f=(d<<2)+g|0;b=z[f+16>>2];n=C(n+C(b*b));b=z[f+20>>2];n=C(n+C(b*b));b=z[f+24>>2];n=C(n+C(b*b));b=z[f+28>>2];b=C(n+C(b*b));d=d+4|0;c=c-4|0;if(c){continue}break}}c=l;if(c){while(1){n=b;b=z[((d<<2)+g|0)+16>>2];b=C(n+C(b*b));d=d+1|0;c=c-1|0;if(c){continue}break}}if(k){break o}b=C(K(C(b/G)));d=1;c=m;if(!e){while(1){e=(d<<2)+g|0;z[e>>2]=b*z[e>>2];z[e+4>>2]=b*z[e+4>>2];z[e+8>>2]=b*z[e+8>>2];z[e+12>>2]=b*z[e+12>>2];d=d+4|0;c=c-4|0;if(c){continue}break}}c=l;if(!c){break o}while(1){e=(d<<2)+g|0;z[e>>2]=b*z[e>>2];d=d+1|0;c=c-1|0;if(c){continue}break}}i=0;if(!t){break j}while(1){b=C(0);d=0;e=r;if(w>>>0>=3){while(1){k=d<<2;c=k|4;f=((i<<4)+E|0)+198672|0;b=C(C(b+C(z[k+f>>2]*z[g+k>>2]))+C(z[c+f>>2]*z[c+g>>2]));c=k|8;b=C(b+C(z[c+f>>2]*z[c+g>>2]));c=k|12;b=C(b+C(z[c+f>>2]*z[c+g>>2]));d=d+4|0;e=e-4|0;if(e){continue}break}}c=s;if(c){while(1){e=d<<2;b=C(b+C(z[(e+((i<<4)+E|0)|0)+198672>>2]*z[e+g>>2]));d=d+1|0;c=c-1|0;if(c){continue}break}}z[(g+32|0)+(i<<2)>>2]=b;i=i+1|0;if((h|0)!=(i|0)){continue}break}if(!t){break j}f=v[a+26352>>2];d=0;c=I;if(w){while(1){e=(f+(B(j,F)+y<<3)|0)+(d<<1)|0;b=C(z[(g+32|0)+(d<<2)>>2]/H);p:{if(b=C(0)){j=~~b>>>0;break p}j=0}u[e>>1]=j;j=d|1;e=(f+(B(x[a+26310>>1],F)+y<<3)|0)+(j<<1)|0;b=C(z[(g+32|0)+(j<<2)>>2]/H);q:{if(b=C(0)){j=~~b>>>0;break q}j=0}u[e>>1]=j;d=d+2|0;j=x[a+26310>>1];c=c-2|0;if(c){continue}break}}if(!J){break j}j=(f+(B(j,F)+y<<3)|0)+(d<<1)|0;b=C(z[(g+32|0)+(d<<2)>>2]/H);r:{if(b=C(0)){c=~~b>>>0;break r}c=0}u[j>>1]=c;j=x[a+26310>>1]}d=j;y=y+1|0;if(d>>>0>y>>>0){continue}break}c=x[a+26308>>1];d=j}else{d=0}F=F+1|0;if(F>>>0<(c&65535)>>>0){continue}break}}Qb=g- -64|0}function bva(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;a=v[v[a+4>>2]+12>>2];if(a){a:{e=a+32|0;h=v[e>>2];if(!h){break a}a=e;while(1){i=v[h+16>>2]<(c|0);a=i?a:h;h=v[(i<<2)+h>>2];if(h){continue}break}if((a|0)==(e|0)|v[a+16>>2]>(c|0)){break a}e=Qb-144|0;Qb=e;i=v[a+20>>2];a=v[i>>2];if(a){Ub[v[v[a>>2]+4>>2]](a);v[i>>2]=0}c=v[i+8>>2];a=v[i+4>>2];if((c|0)!=(a|0)){while(1){if(t[c-5|0]<=-1){dc(v[c-16>>2])}c=c-48|0;if((a|0)!=(c|0)){continue}break}}v[i+8>>2]=a;a=ds(e+136|0);c=v[i+28>>2];v[299999]=0;U(4143,e- -64|0,c|0,i+16|0);c=v[299999];v[299999]=0;b:{c:{if((c|0)!=1){v[299999]=0;c=Q(4096,a|0,e- -64|0)|0;h=v[299999];v[299999]=0;if((h|0)!=1){if(t[e+75|0]<=-1){dc(v[e+64>>2])}d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{if(!c){break n}v[299999]=0;c=S(4144,a|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break l}if(!c){break n}v[299999]=0;k=Q(4167,e- -64|0,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break d}v[299999]=0;V(4145,e+32|0,a|0);c=v[299999];v[299999]=0;if((c|0)==1){break f}v[299999]=0;h=Q(4160,e+48|0,e+32|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break g}if(t[e+43|0]<=-1){dc(v[e+32>>2])}v[299999]=0;c=md(h,974264);g=v[299999];v[299999]=0;if((g|0)==1){break m}o:{if(c){v[299999]=0;c=ph(a);g=v[299999];v[299999]=0;if((g|0)==1){break m}if(c){break o}v[299999]=0;g=wg(a);c=v[299999];v[299999]=0;if((c|0)==1){break j}while(1){v[299999]=0;c=Q(4155,a|0,g|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break i}if(!c){break o}v[299999]=0;V(4145,e+16|0,a|0);c=v[299999];v[299999]=0;p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{if((c|0)!=1){v[299999]=0;c=Q(4160,e+32|0,e+16|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break D}v[299999]=0;uf(h,c);f=v[299999];v[299999]=0;if((f|0)==1){break C}xc(c);if(t[e+27|0]<=-1){dc(v[e+16>>2])}v[299999]=0;c=md(h,974344);f=v[299999];v[299999]=0;if((f|0)==1){break i}if(!c){break q}v[299999]=0;c=e+32|0;v[c>>2]=0;v[c+4>>2]=0;t[c+8|0]=0;f=v[299999];v[299999]=0;if((f|0)==1){break A}v[299999]=0;U(4165,a|0,974384,c|0);f=v[299999];v[299999]=0;if((f|0)==1){break s}v[299999]=0;f=md(c,974420);j=v[299999];v[299999]=0;if((j|0)==1){break s}if(!f){break p}v[299999]=0;g=ph(a);f=v[299999];v[299999]=0;if((f|0)==1){break z}if(g){xc(c);break o}v[299999]=0;f=wg(a);g=v[299999];v[299999]=0;if((g|0)!=1){while(1){v[299999]=0;g=Q(4155,a|0,f|0)|0;j=v[299999];v[299999]=0;if((j|0)==1){break y}if(!g){break t}v[299999]=0;V(4145,e|0,a|0);g=v[299999];v[299999]=0;if((g|0)==1){break x}v[299999]=0;g=Q(4160,e+16|0,e|0)|0;j=v[299999];v[299999]=0;if((j|0)==1){break w}v[299999]=0;uf(h,g);j=v[299999];v[299999]=0;if((j|0)==1){break v}xc(g);if(t[e+11|0]<=-1){dc(v[e>>2])}v[299999]=0;g=md(h,974436);j=v[299999];v[299999]=0;if((j|0)==1){break y}if(!g){continue}break}v[299999]=0;fa(4168,i|0,a|0,b|0,k|0,d|0);b=v[299999];v[299999]=0;if((b|0)!=1){break t}}b=P()|0;O()|0;xc(c);break h}b=P()|0;O()|0;break h}b=P()|0;O()|0;break B}b=P()|0;O()|0;xc(c)}if(t[e+27|0]>-1){break h}dc(v[e+16>>2]);break h}b=P()|0;O()|0;break h}b=P()|0;O()|0;xc(c);break h}b=P()|0;O()|0;xc(c);break h}b=P()|0;O()|0;xc(c);break h}b=P()|0;O()|0;break u}b=P()|0;O()|0;xc(g)}if(t[e+11|0]>-1){break r}dc(v[e>>2]);xc(c);break h}xc(c);break o}b=P()|0;O()|0}xc(c);break h}v[299999]=0;c=md(h,974528);f=v[299999];v[299999]=0;if((f|0)==1){break i}if(!c){continue}v[299999]=0;c=ph(a);g=v[299999];v[299999]=0;if((g|0)==1){break j}if(c){break o}v[299999]=0;g=wg(a);c=v[299999];v[299999]=0;E:{F:{G:{H:{if((c|0)!=1){while(1){v[299999]=0;c=Q(4155,a|0,g|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break k}if(!c){break o}v[299999]=0;V(4145,e+16|0,a|0);c=v[299999];v[299999]=0;if((c|0)==1){break H}v[299999]=0;c=Q(4160,e+32|0,e+16|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break G}v[299999]=0;uf(h,c);f=v[299999];v[299999]=0;if((f|0)==1){break F}xc(c);if(t[e+27|0]<=-1){dc(v[e+16>>2])}v[299999]=0;c=md(h,974436);f=v[299999];v[299999]=0;if((f|0)==1){break k}if(!c){continue}break}v[299999]=0;fa(4168,i|0,a|0,b|0,k|0,d|0);b=v[299999];v[299999]=0;if((b|0)!=1){break o}}b=P()|0;O()|0;break h}b=P()|0;O()|0;break h}b=P()|0;O()|0;break E}b=P()|0;O()|0;xc(c)}if(t[e+27|0]>-1){break h}dc(v[e+16>>2]);break h}xc(c);continue}}v[299999]=0;c=md(h,974436);g=v[299999];v[299999]=0;if((g|0)==1){break m}if(!c){break o}v[299999]=0;fa(4168,i|0,a|0,b|0,k|0,d|0);b=v[299999];v[299999]=0;if((b|0)==1){break m}}xc(h);sQ(k)}v[a>>2]=878696;a=v[a+4>>2];if(a){Ub[v[v[a>>2]+4>>2]](a)}Qb=e+144|0;break b}b=P()|0;O()|0;break h}b=P()|0;O()|0;break c}b=P()|0;O()|0;break h}b=P()|0;O()|0;break h}b=P()|0;O()|0}xc(h);break e}b=P()|0;O()|0;if(t[e+43|0]>-1){break e}dc(v[e+32>>2]);break e}b=P()|0;O()|0}sQ(k);break c}b=P()|0;O()|0;break c}b=P()|0;O()|0;if(t[e+75|0]>-1){break c}dc(v[e+64>>2]);break c}b=P()|0;O()|0}v[a>>2]=878696;a=v[a+4>>2];if(a){Ub[v[v[a>>2]+4>>2]](a)}T(b|0);L()}}}}function FNa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;i=Qb-160|0;Qb=i;f=8;a:{b:{c:{d:{switch(w[c|0]-4|0){case 1:if(w[c+1|0]<3){break c}e=v[c+32>>2];if(e&65408){break c}f=e&63;g=e>>>6&1;break;case 0:break d;default:break c}}e=v[c+24>>2];t[a+200|0]=e;if(!(!g|e&255)){v[d>>2]=13;break a}if(e>>>0>=256){v[a+224>>2]=(e>>>8|0)+c}e:{f:{g:{h:{e=e&255;if(e>>>0>14){break h}m=a+28|0;if(1<>2]=v[211599];e=v[211598];v[i+48>>2]=v[211597];v[i+52>>2]=e;e=v[211596];v[i+40>>2]=v[211595];v[i+44>>2]=e;e=v[211594];v[i+32>>2]=v[211593];v[i+36>>2]=e;h=v[a+224>>2];if(!h){v[d>>2]=13;break a}if(v[b+4>>2]!=1){v[d>>2]=14;break a}c=(f<<2)+c|0;if(!mc(c,v[a+12>>2]+4|0)){v[d>>2]=13;break a}v[i+32>>2]=28;v[i+36>>2]=2;t[i+40|0]=w[b+8|0];u[i+42>>1]=x[b+10>>1];v[i+44>>2]=v[b+12>>2];e=v[b+16>>2];v[i+52>>2]=c;v[i+48>>2]=e;c=0;e=0;i:{if(!d){break i}g=i+32|0;j:{if(v[d>>2]>0){break j}c=v[g+16>>2];if(!(!c|!w[c|0])){e=sz(g,d);break i}c=0;k:{e=v[294079];if(e){e=CG(e,v[g+20>>2]);if(e){break k}}f=sz(g,d);if(!f|v[d>>2]>0){break j}e=f;if(w[g+8|0]){break i}AW(f);e=f;break i}v[e+4>>2]=v[e+4>>2]+1;c=e}e=c}if(v[d>>2]>0){break a}if(!(v[e+220>>2]?0:w[v[e+12>>2]+69|0]==2)){rz(e);v[d>>2]=13;break a}if(w[b+8|0]){rz(e);break a}c=gc(m,e+28|0,184);v[a+224>>2]=h;v[a+220>>2]=e;v[a+192>>2]=0;v[a+40>>2]=0;v[a+212>>2]=0;v[a+216>>2]=0;l:{m:{b=v[a+12>>2];switch(w[b+69|0]-1|0){case 0:break l;case 1:break m;default:break f}}if(t[b+70|0]<2){break f}}n:{if(w[e+200|0]==12){b=v[v[a+36>>2]+56>>2];if((b&-2131755008)!=-2139095040){break f}b=b>>>24&127;if(!b){break f}t[a+29|0]=b;break n}b=v[e+12>>2];if(w[b+69|0]!=2|w[b+70|0]!=1|w[b+71|0]!=2){break f}b=t[c|0];if((b|0)<0){break f}f=b&255;h=f+1|0;b=Pg(h<<10);if(!b){break e}d=gc(b,v[a+36>>2],f<<10);c=f<<24;b=0;while(1){e=b<<2;g=e+d|0;if(v[g>>2]<=-1){v[g>>2]=c}g=d+(e|4)|0;if(v[g>>2]<0){v[g>>2]=c}g=d+(e|8)|0;if(v[g>>2]<=-1){v[g>>2]=c}e=d+(e|12)|0;if(v[e>>2]<=-1){v[e>>2]=c}b=b+4|0;if((b|0)!=256){continue}break}g=0;b=d+(f<<10)|0;while(1){c=g<<2;v[c+b>>2]=-2140143616;v[b+(c|4)>>2]=-2140143616;v[b+(c|8)>>2]=-2140143616;v[b+(c|12)>>2]=-2140143616;v[b+(c|16)>>2]=-2140143616;v[b+(c|20)>>2]=-2140143616;v[b+(c|24)>>2]=-2140143616;v[b+(c|28)>>2]=-2140143616;g=g+8|0;if((g|0)!=256){continue}break}t[a+28|0]=h;v[a+36>>2]=d;t[a+30|0]=1}t[a+200|0]=219;break f}v[d>>2]=13;break a}if(w[b+8|0]){break a}b=v[c+4>>2];t[a+28|0]=b;e=v[c+8>>2];j=b<<10;b=(f<<2)+c|0;v[a+48>>2]=j+b;v[a+36>>2]=b;v[a+32>>2]=e;v[a+44>>2]=v[c+12>>2]+c;v[a+52>>2]=v[c+16>>2]+c;v[a+188>>2]=v[c+20>>2]+c;v[a+196>>2]=v[c+28>>2];u[i+8>>1]=20;b=v[a+8>>2];f=i+8|0;o:{if(!f){break o}p:{if(!b){break p}h=v[b+4>>2];if(!h){break p}k=h+4|0;e=k;b=0;q:{if(!e){break q}j=x[e>>1];b=j;if(!w[e+4|0]){break q}b=j<<8|(j&65280)>>>8}j=f+2|0;k=k+2|0;b=b&65535;e=x[f>>1];if(b>>>0>>0){u[f>>1]=b}else{b=e}gc(j,k,b-2|0);if(!w[h+8|0]){break o}b=x[h+6>>1];u[f+2>>1]=b<<8|b>>>8;break o}u[f>>1]=0}e=a;b=w[i+20|0];r:{if(b>>>0<=6){f=3;if(!w[i+21|0]|(b|0)!=6){break r}}f=w[v[a+12>>2]+79|0]&3}t[e+201|0]=f;s:{if(f&2|w[c+1|0]<3){break s}e=w[c+2|0];b=a;t:{if(w[m|0]==1){if(e>>>0<=14){break s}t[a+202|0]=1;h=v[a+52>>2];e=0;while(1){j=a+60|0;k=h+(e>>>3&536870910)|0;u[j+(e<<1)>>1]=x[h+(x[k>>1]+(e<<2&56)<<1)>>1];l=e|1;u[j+(l<<1)>>1]=x[h+(x[k>>1]+(l<<2&60)<<1)>>1];e=e+2|0;if((e|0)!=64){continue}break}e=4095;break t}if(e>>>0<=214){break s}t[a+202|0]=1;j=v[a+188>>2];v[a+56>>2]=j+(g?0:v[a+196>>2]);e=w[c+2|0]<<8|255}u[b+204>>1]=e}h=v[a+36>>2];e=0;b=-1;while(1){j=Gib(-2,e>>>2|0);k=e<<2;b=(v[h+(k|4)>>2]==(e|-2147483647)?-1:j)&((v[h+k>>2]==(e|-2147483648)?-1:j)&b);e=e+2|0;if((e|0)!=128){continue}break}v[a+208>>2]=b;if(!g){break f}e=v[c+16>>2];h=v[c+20>>2];j=v[c+36>>2];k=j<<2;f=f&1?1088:64;b=f<<1;l=v[a+196>>2]+(k+b|0)|0;c=Pg(l);v[a+212>>2]=c;if(!c){v[d>>2]=7;break f}g=0;n=j;j=f>>>1|0;d=(h-e>>>2|0)-j|0;c=ic(c,0,l);e=v[a+52>>2];c=gc(c,e,b);f=c+b|0;gc((n-d<<2)+f|0,b+e|0,d<<2);v[a+188>>2]=f+k;v[a+52>>2]=c;b=x[a+204>>1];if(b>>>0>=63){k=b+1>>>6|0;e=0;while(1){f=x[c+(g<<1)>>1];u:{if((j|0)!=(f|0)){b=e+16|0;l=v[a+56>>2];while(1){h=x[l+(e<<1)>>1];if(h){d=c+(f<<2)|0;h=h>>>4|0;v[d>>2]=h;v[d+12>>2]=h+3;v[d+8>>2]=h+2;v[d+4>>2]=h+1}f=f+4|0;d=e+1|0;e=d;if((b|0)!=(e|0)){continue}break}break u}b=e+16|0}g=g+1|0;e=b;if((k|0)>(e|0)){continue}break}}b=i+32|0;ic(b,255,128);e=0;pz(v[a+36>>2],b,0);b=w[a+28|0];if(!b){break f}while(1){if(t[(i+32|0)+e|0]>=64){mW(m,i+32|0,e,0,0,m);b=w[m|0]}e=e+1|0;if(e>>>0<(b&255)>>>0){continue}break}}v:{if(w[a+202|0]){if(w[m|0]!=1){break v}v[a+20>>2]=846400}e=w[a+200|0];break b}e=w[a+200|0];if((e|0)!=1){break b}v[a+20>>2]=846472;break a}rz(e);v[d>>2]=7;break a}v[d>>2]=13;break a}b=e&255;if((b|0)!=219&(b|0)!=12){break a}v[a+208>>2]=0}Qb=i+160|0}function qJa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(v[a+76>>2]>=1){c=v[a+416>>2];k=v[a+84>>2];while(1){a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{f=v[k+36>>2];b=v[k+40>>2]+(f<<8)|0;if((b|0)<=2051){if((b|0)<=1025){J:{switch(b-513|0){case 0:break n;case 1:break H;case 2:break c;case 3:break g;default:break J}}K:{switch(b-257|0){case 0:break I;case 1:break f;default:break K}}switch(b-771|0){case 3:break h;case 0:break G;default:break c}}if((b|0)<=1538){L:{switch(b-1026|0){case 6:break i;case 0:break o;case 2:break F;case 1:case 3:case 4:case 5:break c;default:break L}}switch(b-1285|0){case 5:break j;case 0:break E;default:break c}}M:{switch(b-1539|0){case 9:break k;case 0:break p;case 3:break D;case 1:case 2:case 4:case 5:case 6:case 7:case 8:break c;default:break M}}switch(b-1799|0){case 7:break l;case 0:break C;default:break c}}if((b|0)<=3077){if((b|0)<=2564){switch(b-2052|0){case 12:break m;case 0:break q;case 1:case 2:case 3:case 5:case 6:case 7:case 8:case 9:case 10:case 11:break c;case 4:break e;default:break d}}switch(b-2565|0){case 0:break r;case 5:break B;case 1:case 2:case 3:case 4:break c;default:break A}}if((b|0)<=3590){switch(b-3078|0){case 0:break s;case 6:break z;case 1:case 2:case 3:case 4:case 5:break c;default:break y}}N:{switch(b-3591|0){case 0:break t;case 7:break x;case 1:case 2:case 3:case 4:case 5:case 6:break c;default:break N}}switch(b-4104|0){case 0:break u;case 8:break v;case 1:case 2:case 3:case 4:case 5:case 6:case 7:break c;default:break w}}v[((d<<2)+c|0)+44>>2]=310;e=0;break a}v[((d<<2)+c|0)+44>>2]=311;e=0;break a}v[((d<<2)+c|0)+44>>2]=312;e=0;break a}v[((d<<2)+c|0)+44>>2]=313;e=0;break a}v[((d<<2)+c|0)+44>>2]=314;e=0;break a}v[((d<<2)+c|0)+44>>2]=315;e=0;break a}v[((d<<2)+c|0)+44>>2]=316;e=0;break a}v[((d<<2)+c|0)+44>>2]=317;e=0;break a}if((b|0)!=2827){break c}v[((d<<2)+c|0)+44>>2]=318;e=0;break a}v[((d<<2)+c|0)+44>>2]=319;e=0;break a}if((b|0)!=3341){break c}v[((d<<2)+c|0)+44>>2]=320;e=0;break a}v[((d<<2)+c|0)+44>>2]=321;e=0;break a}if((b|0)!=3855){break c}v[((d<<2)+c|0)+44>>2]=322;e=0;break a}v[((d<<2)+c|0)+44>>2]=323;e=0;break a}v[((d<<2)+c|0)+44>>2]=324;e=0;break a}v[((d<<2)+c|0)+44>>2]=325;e=0;break a}v[((d<<2)+c|0)+44>>2]=326;e=0;break a}v[((d<<2)+c|0)+44>>2]=327;e=0;break a}v[((d<<2)+c|0)+44>>2]=328;e=0;break a}v[((d<<2)+c|0)+44>>2]=329;e=0;break a}v[((d<<2)+c|0)+44>>2]=330;e=0;break a}v[((d<<2)+c|0)+44>>2]=331;e=0;break a}v[((d<<2)+c|0)+44>>2]=332;e=0;break a}v[((d<<2)+c|0)+44>>2]=333;e=0;break a}v[((d<<2)+c|0)+44>>2]=334;e=0;break a}v[((d<<2)+c|0)+44>>2]=335;e=0;break a}v[((d<<2)+c|0)+44>>2]=336;e=0;break a}v[((d<<2)+c|0)+44>>2]=337;e=0;break a}v[((d<<2)+c|0)+44>>2]=338;e=0;break a}v[((d<<2)+c|0)+44>>2]=339;e=0;break a}O:{switch(v[a+232>>2]){case 0:v[((d<<2)+c|0)+44>>2]=340;e=0;break a;case 1:v[((d<<2)+c|0)+44>>2]=341;e=1;break a;case 2:e=2;v[((d<<2)+c|0)+100>>2]=342;break a;default:break O}}b=v[a>>2];v[b+20>>2]=49;Ub[v[b>>2]](a);break a}if((b|0)==2313){break b}}b=v[a>>2];v[b+24>>2]=f;v[b+20>>2]=7;v[v[a>>2]+28>>2]=v[k+40>>2];Ub[v[v[a>>2]>>2]](a);break a}v[((d<<2)+c|0)+44>>2]=343;e=0}b=v[k+16>>2];P:{if(b>>>0<=3){i=v[((b<<2)+a|0)+88>>2];if(i){break P}}f=v[a>>2];v[f+24>>2]=b;v[f+20>>2]=54;Ub[v[v[a>>2]>>2]](a);i=v[((b<<2)+a|0)+88>>2]}Q:{R:{switch(e|0){case 0:b=(b<<2)+c|0;f=v[b+84>>2];if(!f){f=Ub[v[v[a+4>>2]>>2]](a,1,256)|0;v[b+84>>2]=f}b=0;while(1){v[(b<<2)+f>>2]=x[(b<<1)+i>>1]<<3;h=b|1;v[(h<<2)+f>>2]=x[(h<<1)+i>>1]<<3;h=b|2;v[(h<<2)+f>>2]=x[(h<<1)+i>>1]<<3;h=b|3;v[(h<<2)+f>>2]=x[(h<<1)+i>>1]<<3;b=b+4|0;if((b|0)!=64){continue}break};v[((d<<2)+c|0)+4>>2]=344;break Q;case 1:b=(b<<2)+c|0;f=v[b+84>>2];if(!f){f=Ub[v[v[a+4>>2]>>2]](a,1,256)|0;v[b+84>>2]=f}b=0;while(1){h=b<<1;v[(b<<2)+f>>2]=B(u[h+74208>>1],x[i+h>>1])+1024>>11;g=b|1;h=g<<1;v[(g<<2)+f>>2]=B(u[h+74208>>1],x[i+h>>1])+1024>>11;b=b+2|0;if((b|0)!=64){continue}break};v[((d<<2)+c|0)+4>>2]=344;break Q;case 2:b=(b<<2)+c|0;f=v[b+140>>2];if(!f){f=Ub[v[v[a+4>>2]>>2]](a,1,256)|0;v[b+140>>2]=f}h=0;b=0;while(1){j=A[(h<<3)+74336>>3];z[(b<<2)+f>>2]=1/(j*+x[(b<<1)+i>>1]*8);g=b|1;z[(g<<2)+f>>2]=1/(j*+x[(g<<1)+i>>1]*1.387039845*8);g=b|2;z[(g<<2)+f>>2]=1/(j*+x[(g<<1)+i>>1]*1.306562965*8);g=b|3;z[(g<<2)+f>>2]=1/(j*+x[(g<<1)+i>>1]*1.175875602*8);g=b|4;z[(g<<2)+f>>2]=1/(j*+x[(g<<1)+i>>1]*8);g=b|5;z[(g<<2)+f>>2]=1/(j*+x[(g<<1)+i>>1]*.785694958*8);g=b|6;z[(g<<2)+f>>2]=1/(j*+x[(g<<1)+i>>1]*.5411961*8);g=b|7;z[(g<<2)+f>>2]=1/(j*+x[(g<<1)+i>>1]*.275899379*8);b=b+8|0;h=h+1|0;if((h|0)!=8){continue}break};v[((d<<2)+c|0)+4>>2]=345;break Q;default:break R}}b=v[a>>2];v[b+20>>2]=49;Ub[v[b>>2]](a)}k=k+88|0;d=d+1|0;if((d|0)>2]){continue}break}}}function nh(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;f=Qb-32|0;Qb=f;a:{if(v[a+292>>2]){break a}c=v[a+36>>2];if((v[c+20>>2]-v[c+16>>2]|0)>249){break a}nd(a)}b:{c:{g=v[a+36>>2];b=v[g+16>>2];c=w[b|0];if(!(((c&223)-65&255)>>>0<26|(c|0)==95)&(c|0)!=58){break c}c=b;while(1){d=w[c+1|0];e=c+1|0;c=e;if(((d&223)-65&255)>>>0<26){continue}c=e;if((d-48&255)>>>0<10){continue}h=d-45|0;if((d|0)==95|(1<>>0<=13:0)){continue}break}if(!d|d<<24>>24<0){break c}d=e-b|0;if(!(w[a+362|0]&8|(d|0)<50001)){if(!(!v[a+212>>2]|v[a+172>>2]!=-1)){c=0;break b}v[a+84>>2]=110;v[f+4>>2]=280517;v[f>>2]=246281;c=0;oc(0,0,0,a,0,1,110,3,280517,0,0,0,349936,f);v[a+12>>2]=0;if(v[a+288>>2]){break b}v[a+212>>2]=1;break b}c=Rd(v[a+296>>2],b,d);b=v[a+36>>2];v[b+16>>2]=e;v[a+200>>2]=d+v[a+200>>2];v[b+32>>2]=d+v[b+32>>2];if(c){break b}c=0;Qd(a,0);break b}if(!(v[a+292>>2]|(v[g+20>>2]-b|0)>249)){nd(a)}if(v[a+172>>2]==-1){c=0;break b}b=bf(a,f+28|0);d:{e:{f:{if(!(w[a+362|0]&2)){c=0;g:{h:{switch(b-47|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:break g;case 0:case 15:break b;default:break h}}if((b|0)!=32){break g}break b}i:{if((b|0)==58|(b&-33)-65>>>0<26|((b|0)==95|b-192>>>0<23)){break i}if(b-216>>>0<31|b-248>>>0<520|(b-880>>>0<14|b-895>>>0<7297)){break i}if((b&-2)==8204|b-8304>>>0<288|(b-11264>>>0<1008|b-12289>>>0<43007)){break i}if(b-63744>>>0<1232|b-65008>>>0<526|b-65536>>>0<=917503){break i}break b}e=v[f+28>>2];c=v[a+36>>2];b=v[c+16>>2];j:{if(w[b|0]==10){v[c+32>>2]=1;v[c+28>>2]=v[c+28>>2]+1;break j}v[c+32>>2]=v[c+32>>2]+1}b=b+e|0;v[c+16>>2]=b;c=0;if(w[b|0]!=37){break f}b=0;break e}c=0;k:{l:{switch(b-47|0){case 0:case 15:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:break k;default:break l}}if((b|0)!=32){break k}break b}m:{if((b|0)<=255){if((b&-33)-65>>>0<26|b-192>>>0<23|(b-216>>>0<31|(b|0)>247)){break m}if((b|0)==95|(b|0)==58){break m}break b}if(jl(b,880068)|(b|0)==12295|(b-19968>>>0<20902|b-12321>>>0<9)){break m}break b}e=v[f+28>>2];c=v[a+36>>2];b=v[c+16>>2];n:{if(w[b|0]==10){v[c+32>>2]=1;v[c+28>>2]=v[c+28>>2]+1;break n}v[c+32>>2]=v[c+32>>2]+1}h=c;c=b+e|0;v[h+16>>2]=c;if(w[c|0]==37){wd(a)}while(1){c=0;b=bf(a,f+28|0);while(1){o:{switch(b-47|0){default:if((b|0)==32){break d}break;case 0:case 15:break d;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:break o}}p:{q:{if((b|0)<=255){if((b&-33)-65>>>0<26|b-192>>>0<23|(b-48>>>0<10|(b|0)>247)){break p}if(b-216>>>0>=31){break q}break p}if(jl(b,880068)|b-12321>>>0<9|((b|0)==12295|b-19968>>>0<20902)){break p}if(jl(b,880552)){break p}}d=b-45|0;if((b|0)==95|(1<>>0<=13:0)){break p}r:{if((b|0)>=256){if(jl(b,880476)){break p}b=jl(b,880616);break r}b=(b|0)==183}if(!b){break d}}s:{if((c|0)<101){c=c+1|0;break s}t:{if(v[a+292>>2]){break t}c=v[a+36>>2];if((v[c+20>>2]-v[c+16>>2]|0)>249){break t}nd(a)}c=0;if(v[a+172>>2]==-1){break b}}d=v[f+28>>2];b=v[a+36>>2];g=v[b+16>>2];u:{if(w[g|0]==10){v[b+32>>2]=1;v[b+28>>2]=v[b+28>>2]+1;break u}v[b+32>>2]=v[b+32>>2]+1}h=b;b=d+g|0;v[h+16>>2]=b;if(w[b|0]==37){wd(a)}e=d+e|0;b=bf(a,f+28|0);if(b){continue}break}v:{if(v[a+292>>2]){break v}c=v[a+36>>2];if((v[c+20>>2]-v[c+16>>2]|0)>249){break v}nd(a)}c=0;if(v[a+172>>2]!=-1){continue}break}break b}b=1}while(1){if(!b){wd(a);b=1;continue}while(1){w:{x:{b=bf(a,f+28|0);switch(b-47|0){case 0:case 15:break d;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:break w;default:break x}}if((b|0)==32){break d}}y:{if((b&-33)-65>>>0<26|b-48>>>0<11|((b|0)==95|b-45>>>0<2)){break y}if((b|0)==183|b-192>>>0<23|(b-216>>>0<31|b-248>>>0<520)){break y}if(b-768>>>0<112|b-880>>>0<14|((b&-2)==8204|b-895>>>0<7297)){break y}if(b-8255>>>0<2|b-8304>>>0<288|(b-11264>>>0<1008|b-12289>>>0<43007)){break y}if(b-63744>>>0<1232|b-65008>>>0<526){break y}if(b-65536>>>0>917503){break d}}z:{if((c|0)<101){c=c+1|0;break z}A:{if(v[a+292>>2]){break A}c=v[a+36>>2];if((v[c+20>>2]-v[c+16>>2]|0)>249){break A}nd(a)}c=0;if(v[a+172>>2]==-1){break b}}d=v[f+28>>2];b=v[a+36>>2];g=v[b+16>>2];B:{if(w[g|0]==10){v[b+32>>2]=1;v[b+28>>2]=v[b+28>>2]+1;break B}v[b+32>>2]=v[b+32>>2]+1}e=d+e|0;h=b;b=d+g|0;v[h+16>>2]=b;if(w[b|0]!=37){continue}break}b=0;continue}}if(!(w[a+362|0]&8|(e|0)<50001)){if(v[a+212>>2]){c=0;if(v[a+172>>2]==-1){break b}}v[a+84>>2]=110;v[f+20>>2]=280517;v[f+16>>2]=246281;c=0;oc(0,0,0,a,0,1,110,3,280517,0,0,0,349936,f+16|0);v[a+12>>2]=0;if(v[a+288>>2]){break b}v[a+212>>2]=1;break b}c=v[v[a+36>>2]+16>>2];if(!(w[c|0]!=10|w[c-1|0]!=13)){c=Rd(v[a+296>>2],c+(e^-1)|0,e);break b}c=Rd(v[a+296>>2],c-e|0,e)}Qb=f+32|0;return c}function aHa(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,p=0,q=0,r=0,s=0,t=0,u=0,w=0;f=Qb-496|0;Qb=f;a:{b:{switch(v[c+4>>2]-1|0){case 0:e=A[c+208>>3];g=A[c+200>>3];k=A[c+248>>3];i=A[c+216>>3];n=A[c+232>>3];j=A[c+184>>3];h=A[c+192>>3];r=A[c+256>>3]+(j*A[c+224>>3]+h*A[c+240>>3]);A[b+608>>3]=r;k=k+(j*i+h*n);A[b+600>>3]=k;d=v[b+596>>2];A[d+16>>3]=r;A[d+8>>3]=k;v[d>>2]=1;k=A[c+248>>3];i=A[c+216>>3];n=A[c+232>>3];r=A[c+256>>3]+(g*A[c+224>>3]+h*A[c+240>>3]);A[b+608>>3]=r;h=k+(g*i+h*n);A[b+600>>3]=h;Ud(v[b+596>>2],h,r);h=A[c+248>>3];k=A[c+216>>3];i=A[c+232>>3];n=A[c+256>>3]+(g*A[c+224>>3]+e*A[c+240>>3]);A[b+608>>3]=n;g=h+(g*k+e*i);A[b+600>>3]=g;Ud(v[b+596>>2],g,n);g=A[c+248>>3];h=A[c+216>>3];k=A[c+232>>3];i=A[c+256>>3]+(j*A[c+224>>3]+e*A[c+240>>3]);A[b+608>>3]=i;e=g+(j*h+e*k);A[b+600>>3]=e;Ud(v[b+596>>2],e,i);Hf(v[b+596>>2]);d=v[b+596>>2];d=v[((v[d+28>>2]<<2)+v[d+24>>2]|0)-4>>2];l=(v[d+12>>2]<<3)-8|0;A[b+600>>3]=A[l+v[d>>2]>>3];A[b+608>>3]=A[l+v[d+4>>2]>>3];Ub[v[v[a>>2]+400>>2]](a,b,c)|0;d=1;break a;case 1:du(b,f+488|0,f+472|0,f+480|0,f+464|0);e=A[f+488>>3];g=A[f+472>>3];A[b+608>>3]=g;A[b+600>>3]=e;d=v[b+596>>2];A[d+16>>3]=g;A[d+8>>3]=e;v[d>>2]=1;e=A[f+488>>3];g=A[f+464>>3];A[b+608>>3]=g;A[b+600>>3]=e;Ud(v[b+596>>2],e,g);e=A[f+480>>3];g=A[f+464>>3];A[b+608>>3]=g;A[b+600>>3]=e;Ud(v[b+596>>2],e,g);e=A[f+480>>3];g=A[f+472>>3];A[b+608>>3]=g;A[b+600>>3]=e;Ud(v[b+596>>2],e,g);Hf(v[b+596>>2]);d=v[b+596>>2];d=v[((v[d+28>>2]<<2)+v[d+24>>2]|0)-4>>2];l=(v[d+12>>2]<<3)-8|0;A[b+600>>3]=A[l+v[d>>2]>>3];A[b+608>>3]=A[l+v[d+4>>2]>>3];Ub[v[v[a>>2]+404>>2]](a,b,c)|0;d=1;break a;case 2:e=A[c+208>>3];g=A[c+184>>3];k=A[c+216>>3];i=A[c+192>>3];j=A[c+224>>3];h=A[c+200>>3];j=h>3]=j;h=(e>3]=h;e=(e>g?e:g)+n;A[f+480>>3]=e;g=(k>i?k:i)+n;A[f+464>>3]=g;A[b+608>>3]=j;A[b+600>>3]=h;d=v[b+596>>2];A[d+16>>3]=j;A[d+8>>3]=h;v[d>>2]=1;A[b+608>>3]=g;A[b+600>>3]=h;Ud(v[b+596>>2],h,g);A[b+608>>3]=g;A[b+600>>3]=e;Ud(v[b+596>>2],e,g);A[b+608>>3]=j;A[b+600>>3]=e;Ud(v[b+596>>2],e,j);Hf(v[b+596>>2]);d=v[b+596>>2];d=v[((v[d+28>>2]<<2)+v[d+24>>2]|0)-4>>2];l=(v[d+12>>2]<<3)-8|0;A[b+600>>3]=A[l+v[d>>2]>>3];A[b+608>>3]=A[l+v[d+4>>2]>>3];Ub[v[v[a>>2]+408>>2]](a,b,c)|0;d=1;break a;case 3:case 4:d=1;s=v[c+192>>2];if((s|0)<1){break a}c:{while(1){d=v[c+324>>2];d=(d|0)!=(d&536870911)?-1:d<<3;m=fc(d);p=fc(d);q=fc(d);HS(c,l,f+456|0,f+432|0,m,f+448|0,f+424|0,p,f+440|0,f+416|0,q);t=f+288|0;Lr(c,m,t);u=f+160|0;Lr(c,p,u);w=f+32|0;Lr(c,q,w);vf(b);e=A[f+456>>3];g=A[f+432>>3];A[b+608>>3]=g;A[b+600>>3]=e;d=v[b+596>>2];A[d+16>>3]=g;A[d+8>>3]=e;v[d>>2]=1;e=A[f+448>>3];g=A[f+424>>3];A[b+608>>3]=g;A[b+600>>3]=e;Ud(v[b+596>>2],e,g);e=A[f+440>>3];g=A[f+416>>3];A[b+608>>3]=g;A[b+600>>3]=e;Ud(v[b+596>>2],e,g);Hf(v[b+596>>2]);d=v[b+596>>2];d=v[((v[d+28>>2]<<2)+v[d+24>>2]|0)-4>>2];o=(v[d+12>>2]<<3)-8|0;A[b+600>>3]=A[o+v[d>>2]>>3];A[b+608>>3]=A[o+v[d+4>>2]>>3];d=fc(12);v[f+16>>2]=d;o=d+12|0;v[f+24>>2]=o;v[d+8>>2]=w;v[d+4>>2]=u;v[d>>2]=t;v[f+20>>2]=o;v[299999]=0;e=A[f+456>>3];g=A[f+432>>3];j=A[f+448>>3];h=A[f+424>>3];k=A[f+440>>3];i=A[f+416>>3];d=S(1,24)|0;o=v[299999];v[299999]=0;if((o|0)==1){d=P()|0;O()|0;break c}v[f>>2]=d;o=d+24|0;v[f+8>>2]=o;z[d+20>>2]=i;z[d+16>>2]=k;z[d+12>>2]=h;z[d+8>>2]=j;z[d+4>>2]=g;z[d>>2]=e;v[f+4>>2]=o;d=v[v[a>>2]+412>>2];v[299999]=0;Z(d|0,a|0,b|0,f+16|0,f|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){d=v[f>>2];if(d){v[f+4>>2]=d;dc(d)}d=v[f+16>>2];if(d){v[f+20>>2]=d;dc(d)}dc(m);dc(p);dc(q);d=1;l=l+1|0;if((s|0)!=(l|0)){continue}break a}break}d=P()|0;O()|0;a=v[f>>2];if(!a){break c}v[f+4>>2]=a;dc(a)}a=v[f+16>>2];if(a){v[f+20>>2]=a;dc(a)}T(d|0);L();case 5:case 6:break b;default:break a}}d=1;q=v[c+184>>2];if((q|0)<1){break a}while(1){d=v[c+180>>2];vf(b);d=d+B(l,1280)|0;e=A[d>>3];g=A[d+128>>3];A[b+608>>3]=g;A[b+600>>3]=e;m=v[b+596>>2];A[m+16>>3]=g;A[m+8>>3]=e;v[m>>2]=1;g=A[d+144>>3];j=A[d+16>>3];h=A[d+136>>3];k=A[d+8>>3];e=A[d+24>>3];i=A[d+152>>3];A[b+608>>3]=i;A[b+600>>3]=e;$k(v[b+596>>2],k,h,j,g,e,i);g=A[d+216>>3];j=A[d+88>>3];h=A[d+184>>3];k=A[d+56>>3];e=A[d+120>>3];i=A[d+248>>3];A[b+608>>3]=i;A[b+600>>3]=e;$k(v[b+596>>2],k,h,j,g,e,i);g=A[d+232>>3];j=A[d+104>>3];h=A[d+240>>3];k=A[d+112>>3];e=A[d+96>>3];i=A[d+224>>3];A[b+608>>3]=i;A[b+600>>3]=e;$k(v[b+596>>2],k,h,j,g,e,i);g=A[d+160>>3];j=A[d+32>>3];h=A[d+192>>3];k=A[d+64>>3];e=A[d>>3];i=A[d+128>>3];A[b+608>>3]=i;A[b+600>>3]=e;$k(v[b+596>>2],k,h,j,g,e,i);Hf(v[b+596>>2]);m=v[b+596>>2];m=v[((v[m+28>>2]<<2)+v[m+24>>2]|0)-4>>2];p=(v[m+12>>2]<<3)-8|0;A[b+600>>3]=A[p+v[m>>2]>>3];A[b+608>>3]=A[p+v[m+4>>2]>>3];Ub[v[v[a>>2]+416>>2]](a,b,d,c)|0;d=1;l=l+1|0;if((q|0)!=(l|0)){continue}break}}Qb=f+496|0;return d|0}function Xsa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;g=Qb-80|0;Qb=g;a:{b:{c:{d:{e:{f:{g:{h:{if(ph(a)){break h}m=g+56|0;v[m>>2]=0;v[m+4>>2]=0;t[m+8|0]=0;v[299999]=0;j=g+40|0;v[j>>2]=0;v[j+4>>2]=0;t[j+8|0]=0;e=v[299999];v[299999]=0;if((e|0)==1){break d}v[299999]=0;p=wg(a);e=v[299999];v[299999]=0;if((e|0)==1){break e}while(1){v[299999]=0;e=Q(4155,a|0,p|0)|0;f=v[299999];v[299999]=0;i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{if((f|0)==1){break s}if(!e){break r}v[299999]=0;V(4145,g+8|0,a|0);e=v[299999];v[299999]=0;if((e|0)==1){break j}v[299999]=0;e=Q(4160,g+24|0,g+8|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break l}v[299999]=0;uf(m,e);f=v[299999];v[299999]=0;if((f|0)==1){break m}xc(e);if(t[g+19|0]<=-1){dc(v[g+8>>2])}v[299999]=0;e=md(m,980748);f=v[299999];v[299999]=0;if((f|0)==1){break s}if(!e){continue}v[299999]=0;e=rj(a);f=v[299999];v[299999]=0;if((f|0)==1){break c}if(!e){k=0;n=0;break i}v[299999]=0;V(4145,g+8|0,a|0);e=v[299999];v[299999]=0;if((e|0)==1){break n}v[299999]=0;e=Q(4160,g+24|0,g+8|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break p}v[299999]=0;uf(j,e);f=v[299999];v[299999]=0;if((f|0)==1){break q}xc(e);if(t[g+19|0]<=-1){dc(v[g+8>>2])}k=0;n=0;t:{u:{v:{while(1){v[299999]=0;e=!v[j+4>>2];f=v[299999];v[299999]=0;w:{x:{if((f|0)==1){break x}if(!e){v[299999]=0;e=md(j,980800);f=v[299999];v[299999]=0;if((f|0)==1){break x}y:{if(e){v[299999]=0;V(4150,g+8|0,a|0);e=v[299999];v[299999]=0;z:{A:{B:{if((e|0)!=1){v[299999]=0;e=Q(4160,g+24|0,g+8|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break B}v[299999]=0;U(4285,e|0,g+76|0,g+72|0);f=v[299999];v[299999]=0;if((f|0)==1){break A}xc(e);if(t[g+19|0]<=-1){dc(v[g+8>>2])}e=v[g+76>>2]&16777215;o=A[d>>3]*+v[g+72>>2];C:{if(D(o)<2147483648){f=~~o;break C}f=-2147483648}k=e|f<<24;break y}a=P()|0;O()|0;break b}a=P()|0;O()|0;break z}a=P()|0;O()|0;xc(e)}if(t[g+19|0]>-1){break b}dc(v[g+8>>2]);break b}v[299999]=0;e=md(j,980824);f=v[299999];v[299999]=0;if((f|0)==1){break x}if(!e){break y}v[299999]=0;V(4150,g+8|0,a|0);e=v[299999];v[299999]=0;D:{E:{F:{if((e|0)!=1){v[299999]=0;e=Q(4160,g+24|0,g+8|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break F}v[299999]=0;v[g+76>>2]=0;f=e;G:{H:{if(!w[e+8|0]){break H}f=v[f>>2];if(f){break H}f=0;break G}f=v[f>>2]}h=v[299999];v[299999]=0;if((h|0)==1){break E}v[299999]=0;h=v[e+4>>2];i=v[299999];v[299999]=0;if((i|0)==1){break E}v[g+72>>2]=h;n=se(f,g+76|0,g+72|0);xc(e);if(t[g+19|0]>-1){break y}dc(v[g+8>>2]);break y}a=P()|0;O()|0;break b}a=P()|0;O()|0;break D}a=P()|0;O()|0;xc(e)}if(t[g+19|0]>-1){break b}dc(v[g+8>>2]);break b}v[299999]=0;e=Ji(a);f=v[299999];v[299999]=0;if((f|0)==1){break x}if(e){break w}}v[299999]=0;_i(a);e=v[299999];v[299999]=0;if((e|0)!=1){break i}break c}a=P()|0;O()|0;break b}v[299999]=0;V(4145,g+8|0,a|0);e=v[299999];v[299999]=0;if((e|0)!=1){v[299999]=0;e=Q(4160,g+24|0,g+8|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break v}v[299999]=0;uf(j,e);f=v[299999];v[299999]=0;if((f|0)==1){break u}xc(e);if(t[g+19|0]>-1){continue}dc(v[g+8>>2]);continue}break}a=P()|0;O()|0;break b}a=P()|0;O()|0;break t}a=P()|0;O()|0;xc(e)}if(t[g+19|0]>-1){break b}dc(v[g+8>>2]);break b}a=P()|0;O()|0;break b}xc(j);xc(m);break h}a=P()|0;O()|0;xc(e);break o}a=P()|0;O()|0}if(t[g+19|0]>-1){break b}dc(v[g+8>>2]);break b}a=P()|0;O()|0;break b}a=P()|0;O()|0;xc(e);break k}a=P()|0;O()|0}if(t[g+19|0]>-1){break b}dc(v[g+8>>2]);break b}a=P()|0;O()|0;break b}e=v[b+4>>2];I:{if((e|0)!=v[b+8>>2]){v[e>>2]=k;v[b+4>>2]=e+4;break I}f=v[b>>2];h=e-f|0;l=h>>2;e=l+1|0;if(e>>>0>=1073741824){v[299999]=0;R(2185,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break g}break f}i=h>>1;i=l>>>0<536870911?e>>>0>i>>>0?e:i:1073741823;J:{if(!i){e=0;break J}if(i>>>0>=1073741824){v[299999]=0;R(2667,274079);a=v[299999];v[299999]=0;if((a|0)!=1){break f}break g}v[299999]=0;e=S(1,i<<2)|0;q=v[299999];v[299999]=0;if((q|0)==1){break c}}l=(l<<2)+e|0;v[l>>2]=k;if((h|0)>=1){gc(e,f,h)}v[b+8>>2]=(i<<2)+e;v[b+4>>2]=l+4;v[b>>2]=e;if(!f){break I}dc(f)}e=v[c+4>>2];if((e|0)!=v[c+8>>2]){A[e>>3]=n;v[c+4>>2]=e+8;continue}f=v[c>>2];k=e-f|0;i=k>>3;e=i+1|0;if(e>>>0>=536870912){v[299999]=0;R(2185,c|0);a=v[299999];v[299999]=0;if((a|0)!=1){break f}break g}h=k>>2;h=i>>>0<268435455?e>>>0>h>>>0?e:h:536870911;K:{if(!h){e=0;break K}if(h>>>0>=536870912){v[299999]=0;R(2667,274079);a=v[299999];v[299999]=0;if((a|0)!=1){break f}break g}v[299999]=0;e=S(1,h<<3)|0;l=v[299999];v[299999]=0;if((l|0)==1){break c}}i=(i<<3)+e|0;A[i>>3]=n;if((k|0)>=1){gc(e,f,k)}v[c+8>>2]=(h<<3)+e;v[c+4>>2]=i+8;v[c>>2]=e;if(!f){continue}dc(f);continue}}Qb=g+80|0;return}a=P()|0;O()|0;break b}L()}a=P()|0;O()|0;break b}a=P()|0;O()|0;break a}a=P()|0;O()|0}xc(j)}xc(m);T(a|0);L()}function Yp(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(!a){return-1}v[a+68>>2]=0;a:{f=v[a+4>>2];b:{if(f){b=v[a+16>>2];if((b|0)==2){break b}c=v[a+64>>2];c:{while(1){e=a;d:{if(!c){c=v[f+12>>2];if(!c){break c}v[a+64>>2]=c;b=0;break d}e:{if((b|0)==4){break e}d=v[c+4>>2];if(1<>>0<=19:0){break e}b=v[c+12>>2];if(b){v[a+64>>2]=b;v[a+72>>2]=v[a+72>>2]+1;c=b;b=0;break d}b=4;if((d|0)==2){break d}}b=v[c+24>>2];if(b){v[a+64>>2]=b;c=b;b=0;break d}d=v[c+20>>2];b=2;if(!d){break d}f:{switch(v[d+4>>2]-9|0){case 0:case 4:break c;default:break f}}v[a+64>>2]=d;v[a+72>>2]=v[a+72>>2]-1;c=d;b=4}v[e+16>>2]=b;if(v[c+4>>2]-19>>>0<2){continue}break}return 1}v[a+16>>2]=2;return 0}b=v[a+20>>2];if(!b){return-1}g:{h:{if(!v[a>>2]){v[a>>2]=1;i:{j:{while(1){if((Ly(a)|0)<=-1){break a}b=v[a+20>>2];if(v[b+52>>2]){break j}if(v[a>>2]!=3&v[a+16>>2]!=5){continue}break}d=v[b+8>>2];k:{if(!d){e=v[a+64>>2];break k}e=v[d+12>>2];v[a+64>>2]=e}if(e){break i}break a}d=v[b+8>>2];l:{if(!d){e=v[a+64>>2];break l}e=v[d+12>>2];v[a+64>>2]=e}if(e){break i}v[a+64>>2]=v[v[b+64>>2]>>2]}v[a+72>>2]=0;v[a+16>>2]=1;v[b+436>>2]=5;break h}i=v[b+56>>2];g=v[a+16>>2];c=v[a+64>>2];h=c;b=0;break g}b=1}while(1){m:{n:{o:{p:{q:{r:{s:{t:{if(!b){u:{if(c){if((g|0)!=4){break u}while(1){b=v[c+24>>2];if(b){break t}b=0;d=v[a+20>>2];if(v[d+56>>2]!=(i|0)){break t}e=v[d+52>>2];if(!(!e|(c|0)==(e|0))&(e|0)!=v[c+20>>2]|v[d+172>>2]==-1){break t}if((Ly(a)|0)<0){break a}c=v[a+64>>2];if(c){continue}break}break m}return v[a>>2]!=3?-1:0}while(1){b=v[c+24>>2];if(b){break t}b=0;e=v[a+20>>2];if(v[e+56>>2]!=(i|0)){break t}d=v[c+12>>2];v:{if(!d){break v}f=v[c+4>>2];if((f|0)==5|(v[d+24>>2]?0:v[d+4>>2]==3)){break v}if(!(1<>>0>14){break s}}d=v[e+52>>2];if(!(!d|(c|0)==(d|0))&(d|0)!=v[c+20>>2]|v[e+172>>2]==-1){break t}if((Ly(a)|0)<=-1){break a}c=v[a+64>>2];if(c){continue}break}break m}e=1;c=v[a+64>>2];if(!c){break b}w:{if(v[c+24>>2]|v[c+4>>2]-3>>>0>1){break w}c=0;x:{y:{if(!a){break y}b=v[a+64>>2];if(!b){break y}d=b;if(v[a+4>>2]){break x}f=v[a+20>>2];if(!f){break y}d=b;if(v[f+172>>2]==-1){break x}z:{while(1){A:{if(!b){break A}c=b;if(v[b+24>>2]){break z}while(1){c=v[c+20>>2];if(!c){break A}if(!v[c+24>>2]){continue}break}d=b;break x}if(v[a>>2]==3|v[f+56>>2]>2]){break z}if((Ly(a)|0)>=0){if(v[a>>2]==3){break z}f=v[a+20>>2];if(v[f+172>>2]==-1){break z}b=v[a+64>>2];continue}break}v[a>>2]=2;d=0;break x}c=v[a+64>>2]}d=c}if(!d){return-1}c=v[a+64>>2];if(c){break w}return 1}B:{if(v[c+4>>2]!=5){break B}b=v[a+20>>2];if(!b|v[b+16>>2]!=1){break B}d=v[c+12>>2];if(!d){d=v[b>>2];if(!d){break B}d=v[d+20>>2];if(!d){break B}d=Ub[d|0](b,v[c+8>>2])|0;c=v[a+64>>2];v[c+12>>2]=d;if(!d){break B}}if(!v[d+12>>2]|v[d+4>>2]!=17){break B}C:{D:{E:{f=v[a+100>>2];if((f|0)<=0){v[a+100>>2]=10;b=Ub[v[259704]](40)|0;v[a+104>>2]=b;if(!b){break E}f=v[a+100>>2]}b=v[a+96>>2];F:{if((f|0)>(b|0)){f=v[a+104>>2];break F}v[a+100>>2]=f<<1;f=Ub[v[259709]](v[a+104>>2],f<<3)|0;v[a+104>>2]=f;if(!f){break D}b=v[a+96>>2]}v[(b<<2)+f>>2]=c;v[a+96>>2]=b+1;v[a+92>>2]=c;break C}Ub[v[259806]](v[294239],357441,0);break C}Ub[v[259806]](v[294239],357420,0)}c=v[v[v[a+64>>2]+12>>2]+12>>2];v[a+64>>2]=c;if(c){break B}return 1}if(v[c+4>>2]!=17){break b}b=v[a+92>>2];if(!b|v[b+12>>2]!=(c|0)){break b}b=v[a+96>>2];G:{if((b|0)<1){c=0;break G}e=b-1|0;v[a+96>>2]=e;d=v[a+104>>2];v[a+92>>2]=(b|0)!=1?v[(d+(b<<2)|0)-8>>2]:0;b=d+(e<<2)|0;c=v[b>>2];v[b>>2]=0}v[a+64>>2]=c;v[a+72>>2]=v[a+72>>2]+1;b=0;continue}if((g|0)!=4){d=v[c+12>>2];if(d){break s}e=0;break r}if(b){break q}break o}f=v[c+4>>2];if(f>>>0<=19){e=1;if(1<>2]=d;v[a+16>>2]=1;v[a+72>>2]=v[a+72>>2]+1;break n}if(!b){break p}if(t[c+58|0]&1|(v[c+4>>2]!=1|e|(g|0)!=1)){break q}v[a+16>>2]=2;g=1;break n}e=v[a+116>>2];if((e|0)>=1){if(!(w[c+58|0]&4)){v[a+16>>2]=1;v[a+64>>2]=b;break n}e=e-1|0;v[a+116>>2]=e}v[a+16>>2]=1;v[a+64>>2]=b;if(v[a+96>>2]|e){break n}b=v[b+28>>2];if(!b|v[b+4>>2]==14|w[b+58|0]&2){break n}Yi(b);IF(a,b);break n}if(t[c+58|0]&1|(v[c+4>>2]!=1|e|(g|0)!=1)){break o}v[a+16>>2]=2;g=1;break n}e=1;b=v[a+116>>2];H:{if((b|0)<1){e=b;break H}if(!(w[c+58|0]&4)){break H}e=b-1|0;v[a+116>>2]=e}b=v[c+20>>2];v[a+64>>2]=b;I:{J:{if(!b){break J}switch(v[b+4>>2]-9|0){case 0:case 4:break J;default:break I}}if(v[a>>2]!=3){c=yy(v[a+20>>2],358460,0,1);v[a+16>>2]=5;e=-1;if(c){break b}}v[a+72>>2]=-1;v[a+64>>2]=0;if(v[a+116>>2]|!h|(v[a+96>>2]|v[h+4>>2]==14)){break m}if(w[h+58|0]&2){break m}Yi(h);IF(a,h);break m}K:{if(v[a+96>>2]|e){break K}b=v[b+16>>2];if(!b|w[b+58|0]&2){break K}Yi(b);IF(a,b)}v[a+16>>2]=4;v[a+72>>2]=v[a+72>>2]-1}b=1;continue}break}v[a+16>>2]=5;e=0}return e}v[a+16>>2]=6;v[a>>2]=2;return-1}function Lj(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=!b;a:{b:{c:{d:{if(v[a+132>>2]>=1){i=v[a>>2];if(v[i+44>>2]!=2){break b}if(x[a+148>>1]|x[a+152>>1]|(x[a+156>>1]|x[a+160>>1])){break c}if(x[a+164>>1]|x[a+168>>1]|(x[a+172>>1]|x[a+204>>1])){break c}if(x[a+208>>1]|x[a+212>>1]|(x[a+216>>1]|x[a+220>>1])){break c}if(x[a+224>>1]|x[a+228>>1]|(x[a+232>>1]|x[a+236>>1])){break c}if(x[a+240>>1]|x[a+244>>1]|(x[a+248>>1]|x[a+260>>1])){break c}if(x[a+272>>1]|(x[a+264>>1]|x[a+268>>1])){break c}if(x[a+200>>1]|(x[a+184>>1]|x[a+188>>1])){break d}g=32;while(1){e=g<<2;if(x[(e+a|0)+148>>1]|x[((e|4)+a|0)+148>>1]|(x[((e|8)+a|0)+148>>1]|x[((e|12)+a|0)+148>>1])){break d}g=g+4|0;if((g|0)!=256){continue}break}break c}f=c+5|0;e=f;break a}f=1}v[i+44>>2]=f}eG(a,a+2840|0);eG(a,a+2852|0);e=x[a+150>>1];l=v[a+2844>>2];u[((l<<2)+a|0)+154>>1]=65535;g=0;if((l|0)>=0){h=e?7:138;m=e?4:3;k=-1;i=0;while(1){f=e;n=i;i=i+1|0;e=x[((i<<2)+a|0)+150>>1];j=g+1|0;e:{if(!((f|0)!=(e|0)|(j|0)>=(h|0))){g=j;break e}f:{if((j|0)<(m|0)){g=((f<<2)+a|0)+2684|0;u[g>>1]=j+x[g>>1];break f}if(f){if((f|0)!=(k|0)){g=((f<<2)+a|0)+2684|0;u[g>>1]=x[g>>1]+1}u[a+2748>>1]=x[a+2748>>1]+1;break f}if((g|0)<=9){u[a+2752>>1]=x[a+2752>>1]+1;break f}u[a+2756>>1]=x[a+2756>>1]+1}g=0;g:{if(!e){m=3;h=138;break g}h=(e|0)==(f|0);m=h?3:4;h=h?6:7}k=f}if((l|0)!=(n|0)){continue}break}}e=x[a+2442>>1];l=v[a+2856>>2];u[((l<<2)+a|0)+2446>>1]=65535;g=0;if((l|0)>=0){h=e?7:138;m=e?4:3;k=-1;i=0;while(1){f=e;n=i;i=i+1|0;e=x[((i<<2)+a|0)+2442>>1];j=g+1|0;h:{if(!((f|0)!=(e|0)|(j|0)>=(h|0))){g=j;break h}i:{if((j|0)<(m|0)){g=((f<<2)+a|0)+2684|0;u[g>>1]=j+x[g>>1];break i}if(f){if((f|0)!=(k|0)){g=((f<<2)+a|0)+2684|0;u[g>>1]=x[g>>1]+1}u[a+2748>>1]=x[a+2748>>1]+1;break i}if((g|0)<=9){u[a+2752>>1]=x[a+2752>>1]+1;break i}u[a+2756>>1]=x[a+2756>>1]+1}g=0;j:{if(!e){m=3;h=138;break j}h=(e|0)==(f|0);m=h?3:4;h=h?6:7}k=f}if((l|0)!=(n|0)){continue}break}}eG(a,a+2864|0);g=a;e=v[a+5800>>2];f=18;k:{if(x[a+2746>>1]){break k}f=17;if(x[a+2690>>1]){break k}f=16;if(x[a+2742>>1]){break k}f=15;if(x[a+2694>>1]){break k}f=14;if(x[a+2738>>1]){break k}f=13;if(x[a+2698>>1]){break k}f=12;if(x[a+2734>>1]){break k}f=11;if(x[a+2702>>1]){break k}f=10;if(x[a+2730>>1]){break k}f=9;if(x[a+2706>>1]){break k}f=8;if(x[a+2726>>1]){break k}f=7;if(x[a+2710>>1]){break k}f=6;if(x[a+2722>>1]){break k}f=5;if(x[a+2714>>1]){break k}f=4;if(x[a+2718>>1]){break k}f=x[a+2686>>1]?3:2}i=f;e=e+B(f,3)|0;v[g+5800>>2]=e+17;e=e+27>>>3|0;f=v[a+5804>>2]+10>>>3|0;e=e>>>0>>0?e:f}l:{if(!(o|e>>>0>>0)){hz(a,b,c,d);break l}h=v[a+5820>>2];if(!(v[a+136>>2]!=4&(e|0)!=(f|0))){c=d+2|0;b=a;m:{if((h|0)>=14){e=x[a+5816>>1]|c<>1]=e;i=v[a+20>>2];v[a+20>>2]=i+1;t[i+v[a+8>>2]|0]=e;e=v[a+20>>2];v[a+20>>2]=e+1;t[e+v[a+8>>2]|0]=w[a+5817|0];f=c&65535;c=v[a+5820>>2];u[a+5816>>1]=f>>>16-c;c=c-13|0;break m}u[a+5816>>1]=x[a+5816>>1]|c<>2]=c;IV(a,876720,877872);break l}b=d+4|0;c=a;n:{if((h|0)>=14){e=x[a+5816>>1]|b<>1]=e;g=v[a+20>>2];v[a+20>>2]=g+1;t[g+v[a+8>>2]|0]=e;e=v[a+20>>2];v[a+20>>2]=e+1;t[e+v[a+8>>2]|0]=w[a+5817|0];f=b&65535;b=v[a+5820>>2];g=f>>>16-b|0;b=b-13|0;break n}g=x[a+5816>>1]|b<>2]=b;k=v[a+2844>>2];c=k+65280|0;h=v[a+2856>>2];j=a;o:{if((b|0)>=12){b=c<>1]=b;e=v[a+20>>2];v[a+20>>2]=e+1;t[e+v[a+8>>2]|0]=b;b=v[a+20>>2];v[a+20>>2]=b+1;t[b+v[a+8>>2]|0]=w[a+5817|0];b=v[a+5820>>2];e=(c&65535)>>>16-b|0;f=b-11|0;break o}e=c<>2]=f;b=h+65536|0;c=a;p:{if((f|0)>=12){b=b<>1]=b;e=v[a+20>>2];v[a+20>>2]=e+1;t[e+v[a+8>>2]|0]=b;b=v[a+20>>2];v[a+20>>2]=b+1;t[b+v[a+8>>2]|0]=w[a+5817|0];b=v[a+5820>>2];g=(h&65535)>>>16-b|0;b=b-11|0;break p}g=b<>2]=b;c=i+65533|0;q:{if((b|0)>=13){b=c<>1]=b;e=v[a+20>>2];v[a+20>>2]=e+1;t[e+v[a+8>>2]|0]=b;b=v[a+20>>2];v[a+20>>2]=b+1;t[b+v[a+8>>2]|0]=w[a+5817|0];b=c&65535;c=v[a+5820>>2];b=b>>>16-c|0;e=c-12|0;break q}e=b+4|0;b=c<>2]=e;f=0;g=a+5817|0;while(1){j=x[((w[f+878336|0]<<2)+a|0)+2686>>1];b=j<>1]=b;c=a;r:{if((e|0)>=14){e=v[a+20>>2];v[a+20>>2]=e+1;t[e+v[a+8>>2]|0]=b;b=v[a+20>>2];v[a+20>>2]=b+1;t[b+v[a+8>>2]|0]=w[g|0];e=v[a+5820>>2];b=j>>>16-e|0;u[a+5816>>1]=b;e=e-13|0;break r}e=e+3|0}v[c+5820>>2]=e;c=(f|0)!=(i|0);f=f+1|0;if(c){continue}break}b=a+148|0;HV(a,b,k);c=a+2440|0;HV(a,c,h);IV(a,b,c)}JV(a);if(d){b=v[a+5820>>2];s:{if((b|0)>=9){b=v[a+20>>2];v[a+20>>2]=b+1;t[b+v[a+8>>2]|0]=w[a+5816|0];b=v[a+20>>2];v[a+20>>2]=b+1;t[b+v[a+8>>2]|0]=w[a+5817|0];break s}if((b|0)<1){break s}b=v[a+20>>2];v[a+20>>2]=b+1;t[b+v[a+8>>2]|0]=w[a+5816|0]}v[a+5820>>2]=0;u[a+5816>>1]=0}}function vTa(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,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,z=0,A=0,C=0;f=Qb-176|0;Qb=f;a:{b:{k=v[d+88>>2];c:{if(!k){break c}l=v[d+76>>2];m=l+b|0;if((m|0)<0){break c}g=v[a+1548>>2];if((g|0)<=(b|0)){break c}o=v[d+80>>2];d=o+c|0;if((d|0)<0){break c}h=v[a+1552>>2];d:{if(w[(a+96|0)+1432|0]|(b|0)<0|((c|0)<0|(g|0)<=(m|0))){break d}if((d|0)>=(h|0)){break d}d=b;m=c;b=k;p=Qb-16|0;Qb=p;v[p+8>>2]=-16777216;v[p+8>>2]=v[e+8>>2];h=v[p+8>>2];k=a;e:{if(v[a+2860>>2]==3){if((o|0)<1){break e}l=(l|0)/3|0;x=B(l,3);r=h&255;i=h>>>24|0;y=h>>>16&255;s=h>>>8&255;z=h>>>0<16777216;h=0;while(1){f:{j=h+m|0;if((j|0)>v[k+1580>>2]|(j|0)>2]){break f}c=l;a=b;e=d;g=v[k+1568>>2];if((d|0)<(g|0)){c=l+(d-g|0)|0;if((c|0)<1){break f}e=g;a=B(g-d|0,3)+b|0}g=v[k+1576>>2];if((g|0)<(c+e|0)){c=g-e|0;if((c|0)<0){break f}c=c+1|0}if(z){break f}g=v[v[k+1564>>2]>>2];n=v[g+4>>2];q=v[g+16>>2];g:{h:{if((q|0)>=0){g=B(j,q);break h}A=n-v[g>>2]|0;g=B(j,q);j=0;if((A|0)<(0-g|0)){break g}}j=g+n|0}g=j+(e<<2)|0;while(1){e=w[a+2|0];j=w[a+1|0];n=w[g+2|0];t[g+2|0]=B(r-n|0,B(i,w[a|0]+1|0)>>>8|0)+(n<<8)>>>8;n=w[g+1|0];t[g+1|0]=B(s-n|0,B(i,j+1|0)>>>8|0)+(n<<8)>>>8;j=w[g|0];t[g|0]=B(y-j|0,B(i,e+1|0)>>>8|0)+(j<<8)>>>8;c=c-1|0;if(!c){break f}a=a+3|0;g=g+4|0;continue}}b=b+x|0;h=h+1|0;if((o|0)!=(h|0)){continue}break}break e}if((o|0)<1|h>>>0<16777216){break e}A=h&255;x=h>>>24|0;r=h>>>16|0;y=r&255;s=h>>>8|0;z=s&255;while(1){i:{i=m+n|0;if((i|0)>v[k+1580>>2]|(i|0)>2]){break i}c=l;e=b;a=d;g=v[k+1568>>2];if((a|0)<(g|0)){c=l+(d-g|0)|0;if((c|0)<1){break i}e=(g-d|0)+b|0;a=g}g=v[k+1576>>2];if((g|0)<(a+c|0)){c=g-a|0;if((c|0)<0){break i}c=c+1|0}g=v[v[k+1564>>2]>>2];j=v[g+4>>2];q=v[g+16>>2];j:{if((q|0)>=0){g=B(i,q);break j}C=j-v[g>>2]|0;g=B(i,q);if((C|0)<(0-g|0)){break i}}if(!j){break i}g=(g+j|0)+(a<<2)|0;while(1){a=B(x,w[e|0]+1|0)>>>8|0;k:{if((a|0)==255){t[g+1|0]=s;t[g+2|0]=h;t[g+3|0]=255;t[g|0]=r;break k}i=w[g+2|0];t[g+2|0]=B(a,A-i|0)+(i<<8)>>>8;i=w[g+1|0];t[g+1|0]=B(a,z-i|0)+(i<<8)>>>8;i=w[g+3|0];t[g+3|0]=i+a-(B(a,i)+255>>>8);i=w[g|0];t[g|0]=B(a,y-i|0)+(i<<8)>>>8}c=c-1|0;if(!c){break i}g=g+4|0;e=e+1|0;continue}}b=b+l|0;n=n+1|0;if((o|0)!=(n|0)){continue}break}}Qb=p+16|0;break c}v[f+56>>2]=0;v[f+60>>2]=0;v[f+76>>2]=0;v[f+80>>2]=0;v[f+84>>2]=64;v[f+96>>2]=0;v[f+100>>2]=0;v[f+104>>2]=254;v[f+116>>2]=0;v[f+120>>2]=0;v[f+124>>2]=256;v[f+144>>2]=0;v[f+148>>2]=0;v[f+136>>2]=0;v[f+140>>2]=0;v[f+48>>2]=0;v[f+52>>2]=0;v[f+68>>2]=0;v[f+72>>2]=0;v[f+64>>2]=126;v[f+88>>2]=0;v[f+92>>2]=0;v[f+108>>2]=0;v[f+112>>2]=0;v[f+168>>2]=0;v[f+160>>2]=-2147483647;v[f+164>>2]=-2147483647;v[f+152>>2]=2147483647;v[f+156>>2]=2147483647;v[f+128>>2]=0;v[f+132>>2]=0;if((o|0)>=1){g=l+3|0;p=(g|0)!=(g&536870911)?-1:g<<3;i=m-1|0;m=0;while(1){v[f+16>>2]=2147483632;v[f+40>>2]=0;v[f+44>>2]=0;v[f+32>>2]=0;v[f+36>>2]=0;v[f+24>>2]=0;v[f+28>>2]=0;v[299999]=0;v[f+40>>2]=g;d=S(15,p|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break b}v[f+28>>2]=g;v[f+36>>2]=d;v[299999]=0;h=S(15,g|0)|0;j=v[299999];v[299999]=0;if((j|0)==1){break b}v[f+24>>2]=h;u[d+2>>1]=0;h=gc(h,k+B(l,m)|0,l);v[f+44>>2]=d+8;u[d+10>>1]=l;u[d+8>>1]=b;v[d+12>>2]=h;v[f+20>>2]=c+m;v[f+16>>2]=i;v[f+32>>2]=h+l;v[299999]=0;V(2421,f+48|0,f+16|0);d=v[299999];v[299999]=0;if((d|0)==1){break b}d=v[f+36>>2];if(d){dc(d)}d=v[f+24>>2];if(d){dc(d)}m=m+1|0;if((o|0)!=(m|0)){continue}break}}v[299999]=0;b=v[e+4>>2];c=v[299999];v[299999]=0;l:{m:{if((c|0)!=1){if(b){break l}v[299999]=0;v[f+8>>2]=-16777216;v[f+8>>2]=v[e+8>>2];b=v[299999];v[299999]=0;if((b|0)==1){break m}v[f+20>>2]=v[f+8>>2];v[299999]=0;v[f+16>>2]=a+1564;U(2423,a|0,f+48|0,f+16|0);a=v[299999];v[299999]=0;if((a|0)!=1){break l}d=P()|0;O()|0;break a}d=P()|0;O()|0;break a}d=P()|0;O()|0;break a}a=v[f+112>>2];if(a){d=a-1|0;v[f+112>>2]=d;b=v[f+120>>2]+(a<<2)|0;while(1){c=f;b=b-4|0;a=v[b>>2];if(a){dc(a);a=v[f+112>>2]}else{a=d}d=a-1|0;v[c+112>>2]=d;if(a){continue}break}}a=v[f+120>>2];if(a){dc(a)}a=v[f+92>>2];if(a){d=a-1|0;v[f+92>>2]=d;b=v[f+100>>2]+(a<<2)|0;while(1){c=f;b=b-4|0;a=v[b>>2];if(a){dc(a);a=v[f+92>>2]}else{a=d}d=a-1|0;v[c+92>>2]=d;if(a){continue}break}}a=v[f+100>>2];if(a){dc(a)}Gz(f+48|0)}Qb=f+176|0;return 0}d=P()|0;O()|0;Md(f+16|0)}b=f+48|0;c=v[b- -64>>2];if(c){a=c-1|0;v[b+64>>2]=a;e=v[b+72>>2]+(c<<2)|0;while(1){f=b;e=e-4|0;c=v[e>>2];if(c){dc(c);a=v[b+64>>2]}c=a;a=c-1|0;v[f+64>>2]=a;if(c){continue}break}}a=v[b+72>>2];if(a){dc(a)}c=v[b+44>>2];if(c){a=c-1|0;v[b+44>>2]=a;e=v[b+52>>2]+(c<<2)|0;while(1){f=b;e=e-4|0;c=v[e>>2];if(c){dc(c);a=v[b+44>>2]}c=a;a=c-1|0;v[f+44>>2]=a;if(c){continue}break}}a=v[b+52>>2];if(a){dc(a)}Gz(b);T(d|0);L()}function Yfa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=Qb+-64|0;Qb=f;if(!v[a+36>>2]){v[a+24>>2]=0;v[a+28>>2]=0;e=v[a+12>>2];if(e){d=v[e+24>>2];if(d){while(1){c=v[d>>2];dc(d);v[e+24>>2]=c;d=c;if(c){continue}break}}c=v[e>>2];if(c){dc(c)}dc(e)}v[a+12>>2]=0}d=0;c=v[b>>2];if(c){v[c+4>>2]=v[c+4>>2]+1;d=v[b>>2]}v[299999]=0;v[f+56>>2]=d;h=S(4551,d|0)|0;c=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{if((c|0)==1){break f}v[299999]=0;j=S(4551,d|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break f}v[299999]=0;v[f+56>>2]=0;e=v[d+4>>2]-1|0;v[d+4>>2]=e;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(!e){v[299999]=0;R(4338,d|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}c=h&255;if((c|0)==v[a+28>>2]){break e}a=vc(f+32|0,261252,242096,1509,340518,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}break d}a=P()|0;O()|0;ec(f+56|0);break c}k=v[a+24>>2];g:{h:{i:{j:{k:{l:{m:{n:{if(!c){d=0;c=v[b>>2];if(c){v[c+4>>2]=v[c+4>>2]+1;d=v[b>>2]}v[299999]=0;v[f+24>>2]=d;i=S(4551,d|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break l}v[299999]=0;g=S(4551,d|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break l}v[299999]=0;v[f+24>>2]=0;e=v[d+4>>2]-1|0;v[d+4>>2]=e;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(!e){v[299999]=0;R(4338,d|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}if((i&127)!=1){a=vc(f+32|0,300905,242096,1517,340518,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break d}break b}if((g&255)>>>0>=3){a=vc(f+32|0,300881,242096,1519,340518,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break d}break b}d=0;c=v[b>>2];if(c){v[c+4>>2]=v[c+4>>2]+1;d=v[b>>2]}v[299999]=0;v[f+16>>2]=d;l=S(4551,d|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break k}v[299999]=0;m=S(4551,d|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break k}v[299999]=0;n=S(4551,d|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break k}v[299999]=0;h=S(4551,d|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break k}if(g&254){v[299999]=0;S(4551,d|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break k}}v[299999]=0;v[f+16>>2]=0;e=v[d+4>>2]-1|0;v[d+4>>2]=e;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(!e){v[299999]=0;R(4338,d|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}if(i<<24>>24>=0){a=vc(f+32|0,238352,242096,1524,340518,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break d}break b}if(v[a+12>>2]){break j}g=fc(32);v[g+24>>2]=0;v[g>>2]=0;d=h&255|n<<8&65280;v[g+8>>2]=d;c=m&255|l<<8&65280;v[g+4>>2]=c;d=d+31&131040;v[g+16>>2]=d;c=c+31&131040;v[g+12>>2]=c;h=B(c,d);v[g+20>>2]=h>>>10;v[299999]=0;d=h>>>6|0;e=S(15,d|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){if((h|1023)>>>0>=2047){ic(e,0,d)}v[g+28>>2]=4080;v[g>>2]=e;v[a+12>>2]=g;if(!v[a+36>>2]){break n}X(300872,242096,1530,262412);L()}a=P()|0;O()|0;dc(g);break c}if(!v[a+12>>2]){break i}if(v[a+36>>2]){break m}X(300874,242096,1535,262412);L()}e=fc(508);v[e+8>>2]=0;v[e+12>>2]=1;v[e+4>>2]=g;c=v[248865];v[e+56>>2]=v[248864];v[e+60>>2]=c;c=v[248867];d=e- -64|0;v[d>>2]=v[248866];v[d+4>>2]=c;v[e+112>>2]=131072;v[e+116>>2]=131072;v[e+104>>2]=131072;v[e+108>>2]=131072;v[e+96>>2]=65536;v[e+100>>2]=65536;v[e+88>>2]=65536;v[e+92>>2]=65536;v[e+80>>2]=65536;v[e+84>>2]=65536;v[e+72>>2]=65536;v[e+76>>2]=65536;v[e+16>>2]=0;c=v[248872];v[e+20>>2]=v[248871];v[e+24>>2]=c;c=v[248874];v[e+28>>2]=v[248873];v[e+32>>2]=c;c=v[248876];v[e+36>>2]=v[248875];v[e+40>>2]=c;c=v[248878];v[e+44>>2]=v[248877];v[e+48>>2]=c;v[e+52>>2]=v[248879];ic(e+392|0,0,114);v[e>>2]=995824;v[a+36>>2]=e}d=0;c=v[b>>2];if(c){v[c+4>>2]=v[c+4>>2]+1;d=v[b>>2]}v[299999]=0;v[f+8>>2]=d;$(4408,f+32|0,f+8|0,0,1);b=v[299999];v[299999]=0;if((b|0)!=1){d=v[f+8>>2];v[f+8>>2]=0;o:{if(!d){break o}v[299999]=0;c=v[d+4>>2]-1|0;v[d+4>>2]=c;b=v[299999];v[299999]=0;if((b|0)==1){break a}if(c){break o}v[299999]=0;R(4338,d|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[f+32>>2];e=(j&255)+k|0;if((e|0)>v[a+24>>2]){while(1){d=v[a+36>>2];c=v[v[d>>2]+8>>2];v[299999]=0;d=Q(c|0,d|0,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break h}c=v[a+24>>2]+1|0;v[a+24>>2]=c;if((c|0)<(e|0)?d:0){continue}break}b=v[f+32>>2]}v[a+28>>2]=v[a+28>>2]+1;v[f+32>>2]=0;p:{if(!b){break p}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;a=v[299999];v[299999]=0;if((a|0)==1){break a}if(c){break p}v[299999]=0;R(4338,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Qb=f- -64|0;return e|0}d=f+8|0;a=P()|0;break g}a=P()|0;O()|0;ec(f+24|0);break c}a=P()|0;O()|0;ec(f+16|0);break c}X(242582,242096,1528,262412);L()}X(242584,242096,1534,262412);L()}d=f+32|0;a=P()|0}O()|0;ec(d);break c}L()}T(a|0);L()}b=P()|0;O()|0;qc(a);T(b|0);L()}W(0)|0;O()|0;lc();L()}function i2a(a,b){a=a|0;b=b|0;var 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;d=Qb-320|0;Qb=d;a:{if(!a){a=6;break a}a=19;e=v[b+8>>2];if(!(e&1)){break a}a=20;c=v[b+4>>2];if(!c){break a}h=u[c+2>>1];if(!h){a=0;break a}i=u[c>>1];if((i|0)<1){a=0;break a}k=v[c+12>>2];if(!k|!v[c+4>>2]|(h|0)!=(u[(k+(i<<1)|0)-2>>1]+1|0)){break a}h=v[b>>2];v[d+232>>2]=v[c+16>>2];a=v[c+12>>2];v[d+224>>2]=v[c+8>>2];v[d+228>>2]=a;a=v[c+4>>2];v[d+216>>2]=v[c>>2];v[d+220>>2]=a;b:{if(e&2){a=v[b+12>>2];if(!a){a=0;break a}v[d+244>>2]=a;a=v[b+28>>2];v[d+312>>2]=0;v[d+248>>2]=a;a=v[b+32>>2];v[d+164>>2]=a;h=v[b+36>>2];v[d+172>>2]=h;c=v[b+40>>2];v[d+168>>2]=c;b=v[b+44>>2];break b}if(!h){a=6;break a}c=v[h+4>>2];if(!c){a=0;break a}b=v[h>>2];if(!b){a=0;break a}a=6;e=v[h+12>>2];if(!e){break a}a=v[h+8>>2];v[d+240>>2]=a;v[d+244>>2]=0;v[d+248>>2]=0;h=0;v[d+172>>2]=0;v[d+164>>2]=0;v[d+168>>2]=c;v[d+312>>2]=-1;v[d+236>>2]=e+((a|0)<0?0:B(a,b-1|0));a=0}v[d+176>>2]=b;if((a|0)>=(c|0)){a=0;break a}a=0;if((b|0)<=(h|0)){break a}c=0;k=Qb-16512|0;Qb=k;m=v[d+176>>2];h=v[d+172>>2];l=m-h|0;if(l>>>0>=129){a=l+127>>>7|0;l=((a+l|0)-1>>>0)/(a>>>0)|0}r=l<<2;a=r+15>>>4|0;v[d+200>>2]=1024-a;b=a<<4;a=k+128|0;v[d+196>>2]=b+a;v[d+192>>2]=a;c:{if((h|0)>=(m|0)){break c}p=d+252|0;s=d+216|0;while(1){a=h;v[d+172>>2]=a;h=a+l|0;i=(h|0)<(m|0)?h:m;v[d+176>>2]=i;v[k>>2]=i;v[k+4>>2]=a;a=0;d:{while(1){e:{b=a+1|0;j=(b<<2)+k|0;f=v[j>>2];ic(v[d+192>>2],0,r);v[d+188>>2]=1;v[d+204>>2]=0;v[d+176>>2]=i;v[d+172>>2]=f;f:{g:{h:{i:{j:{if(g){v[299999]=0;c=v[299999];v[299999]=0;if((c|0)!=1?c:0){break e}if((c|0)==1){break j}}v[299999]=0;n=Y(1710,s|0,380840,d|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1?c:0){break e}if((c|0)==1){break j}if(g){v[299999]=0;c=v[299999];v[299999]=0;if((c|0)!=1?c:0){break e}if((c|0)==1){break j}}k:{l:{if(v[d+188>>2]){break l}g=v[d+156>>2];m:{q=v[d+192>>2]+(v[d+160>>2]-v[d+172>>2]<<2)|0;c=v[q>>2];n:{if(!c){c=0;break n}o=v[c>>2];if((g|0)<(o|0)){break n}o:{while(1){e=c;if((g|0)==(o|0)){break m}c=v[e+12>>2];if(c){o=v[c>>2];if((g|0)<(o|0)){break o}continue}break}c=0}q=e+12|0}e=v[d+204>>2];if((e|0)>=v[d+200>>2]){break k}v[d+204>>2]=e+1;e=v[d+196>>2]+(e<<4)|0;v[e>>2]=g;v[e+8>>2]=v[d+180>>2];g=v[d+184>>2];v[e+12>>2]=c;v[e+4>>2]=g;v[q>>2]=e;break l}v[e+8>>2]=v[e+8>>2]+v[d+180>>2];v[e+4>>2]=v[e+4>>2]+v[d+184>>2]}if((n|0)==64){break i}if(n){break g}c=v[d+172>>2];i=c;p:{if(v[d+176>>2]<=(c|0)){break p}while(1){c=v[v[d+192>>2]+(i-c<<2)>>2];q:{r:{s:{if(!c){break s}b=v[d+164>>2];g=0;while(1){t:{if(!g){break t}f=v[c>>2];if((f|0)<=(b|0)){break t}e=g>>9;u:{if(w[d+232|0]&2){e=e&511;e=e>>>0>255?e^511:e;break u}e=e^g>>31;e=(e|0)<255?e:255}f=f-b|0;j=v[d+312>>2];if((j|0)>=0){n=j+1|0;v[d+312>>2]=n;j=B(j,6)+d|0;t[j+256|0]=e;u[j+254>>1]=f;u[j+252>>1]=b;if((n|0)!=10){break t}Ub[v[d+244>>2]](i,10,p,v[d+248>>2]);v[d+312>>2]=0;break t}b=(v[d+236>>2]-B(v[d+240>>2],i)|0)+b|0;v:{switch(f|0){case 7:t[b|0]=e;b=b+1|0;case 6:t[b|0]=e;b=b+1|0;case 5:t[b|0]=e;b=b+1|0;case 4:t[b|0]=e;b=b+1|0;case 3:t[b|0]=e;b=b+1|0;case 2:t[b|0]=e;b=b+1|0;case 1:t[b|0]=e;break t;case 0:break t;default:break v}}ic(b,e,f)}g=(v[c+4>>2]<<9)+g|0;b=g-v[c+8>>2]|0;w:{if(!b){break w}e=v[c>>2];if((e|0)>2]){break w}f=b>>9;x:{if(w[d+232|0]&2){b=f&511;b=b>>>0>255?b^511:b;break x}b=f^b>>31;b=(b|0)<255?b:255}f=v[d+312>>2];if((f|0)>=0){j=f+1|0;v[d+312>>2]=j;f=B(f,6)+d|0;t[f+256|0]=b;u[f+254>>1]=1;u[f+252>>1]=e;if((j|0)!=10){break w}Ub[v[d+244>>2]](i,10,p,v[d+248>>2]);v[d+312>>2]=0;break w}t[e+(v[d+236>>2]-B(v[d+240>>2],i)|0)|0]=b}b=v[c>>2]+1|0;c=v[c+12>>2];if(c){continue}break}if(!g){break s}c=g>>9;f=v[d+168>>2];y:{if(w[d+232|0]&2){c=c&511;e=c>>>0>255?c^511:c;break y}c=c^g>>31;e=(c|0)<255?c:255}g=f-b|0;c=v[d+312>>2];if((c|0)>=0){f=c+1|0;v[d+312>>2]=f;c=B(c,6)+d|0;t[c+256|0]=e;u[c+254>>1]=g;u[c+252>>1]=b;c=10;if((f|0)!=10){break s}break r}c=(v[d+236>>2]-B(v[d+240>>2],i)|0)+b|0;z:{switch(g|0){case 7:t[c|0]=e;c=c+1|0;case 6:t[c|0]=e;c=c+1|0;case 5:t[c|0]=e;c=c+1|0;case 4:t[c|0]=e;c=c+1|0;case 3:t[c|0]=e;c=c+1|0;case 2:t[c|0]=e;c=c+1|0;case 1:t[c|0]=e;break s;case 0:break s;default:break z}}ic(c,e,g)}c=v[d+312>>2];if((c|0)<1){break q}}Ub[v[d+244>>2]](i,c,p,v[d+248>>2]);v[d+312>>2]=0}i=i+1|0;if((i|0)>=v[d+176>>2]){break p}c=v[d+172>>2];continue}}b=a-1|0;break f}sd(d,1);L()}a=W(1023344)|0;if((O()|0)!=(ja(1023344)|0)){break h}ea(a|0)|0;ka()}a=i-f|0;if(a>>>0<2){break g}v[j+4>>2]=f;v[j>>2]=(a>>1)+f;break f}T(a|0);L()}c=1;break c}if((b|0)<0){break d}i=v[(b<<2)+k>>2];g=1;a=b;continue}break}sd(c,v[3e5]);L()}c=0;g=1;if((h|0)<(m|0)){continue}break}}Qb=k+16512|0;a=c}Qb=d+320|0;return a|0}function dz(a,b,c){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,p=0,q=0,r=0;a:{if(!a|!c){break a}if(!b){return Rd(a,c,-1)}k=Bc(c);l=Bc(b);q=k+l|0;d=v[a+24>>2];j=v[a+8>>2];b:{if((j|0)==128){m=vV(b,l,c,k,d);break b}c:{if((l|0)<1){break c}f=l&3;if(l-1>>>0>=3){i=l&-4;while(1){d=B(w[b+e|0]+d|0,1025);d=B(w[(e|1)+b|0]+(d>>>6^d)|0,1025);d=B(w[(e|2)+b|0]+(d>>>6^d)|0,1025);d=B(w[(e|3)+b|0]+(d>>>6^d)|0,1025);d=d>>>6^d;e=e+4|0;i=i-4|0;if(i){continue}break}}if(!f){break c}while(1){d=B(w[b+e|0]+d|0,1025);d=d>>>6^d;e=e+1|0;f=f-1|0;if(f){continue}break}}e=B(d,1025)+59450|0;d=e>>>6^e;d:{if((k|0)<1){break d}f=k&3;e:{if(k-1>>>0<3){e=0;break e}i=k&-4;e=0;while(1){d=B(w[c+e|0]+d|0,1025);d=B(w[(e|1)+c|0]+(d>>>6^d)|0,1025);d=B(w[(e|2)+c|0]+(d>>>6^d)|0,1025);d=B(w[(e|3)+c|0]+(d>>>6^d)|0,1025);d=d>>>6^d;e=e+4|0;i=i-4|0;if(i){continue}break}}if(!f){break d}while(1){d=B(w[c+e|0]+d|0,1025);d=d>>>6^d;e=e+1|0;f=f-1|0;if(f){continue}break}}e=B(d,9);m=B(e>>>11^e,32769)}o=q+1|0;f:{r=(m>>>0)%(j>>>0)|0;i=v[a+4>>2]+B(r,20)|0;if(!v[i+12>>2]){i=0;break f}d=v[i>>2];if(d){while(1){e=i;i=d;g:{if(v[e+16>>2]!=(m|0)|v[e+8>>2]!=(o|0)){break g}h=v[e+4>>2];if(!h){break g}d=w[b|0];g=b;e=h;while(1){f=e;d=d&255;if((d|0)!=w[e|0]){break g}e=f+1|0;if(d){g=g+1|0;d=w[g|0];if(d){continue}}break}if(w[e|0]!=58){break g}e=f+2|0;d=c;while(1){g=w[d|0];if((g|0)!=w[e|0]){break g}e=e+1|0;d=d+1|0;if(g){continue}break}break a}p=p+1|0;d=v[i>>2];if(d){continue}break}}if(v[i+16>>2]!=(m|0)|v[i+8>>2]!=(o|0)){break f}h=v[i+4>>2];if(!h){break f}d=w[b|0];g=b;e=h;while(1){f=e;d=d&255;if((d|0)!=w[e|0]){break f}e=f+1|0;if(d){g=g+1|0;d=w[g|0];if(d){continue}}break}if(w[e|0]!=58){break f}e=f+2|0;d=c;while(1){g=w[d|0];if((g|0)!=w[e|0]){break f}e=e+1|0;d=d+1|0;if(g){continue}break}break a}n=v[a+20>>2];h:{if(!n){break h}e=128;h=v[n+8>>2];i:{j:{k:{l:{if((j|0)==128){j=m;if((h|0)==128){break i}d=v[n+24>>2];if((l|0)<1){break j}f=l&3;if(l-1>>>0>=3){break l}e=0;break k}j=m;e=h;if((e|0)!=128){break i}e=128;j=vV(b,l,c,k,v[n+24>>2]);break i}g=l&-4;e=0;while(1){d=B(w[b+e|0]+d|0,1025);d=B(w[(e|1)+b|0]+(d>>>6^d)|0,1025);d=B(w[(e|2)+b|0]+(d>>>6^d)|0,1025);d=B(w[(e|3)+b|0]+(d>>>6^d)|0,1025);d=d>>>6^d;e=e+4|0;g=g-4|0;if(g){continue}break}}if(!f){break j}while(1){d=B(w[b+e|0]+d|0,1025);d=d>>>6^d;e=e+1|0;f=f-1|0;if(f){continue}break}}e=B(d,1025)+59450|0;d=e>>>6^e;m:{if((k|0)<1){break m}f=k&3;n:{if(k-1>>>0<3){e=0;break n}g=k&-4;e=0;while(1){d=B(w[c+e|0]+d|0,1025);d=B(w[(e|1)+c|0]+(d>>>6^d)|0,1025);d=B(w[(e|2)+c|0]+(d>>>6^d)|0,1025);d=B(w[(e|3)+c|0]+(d>>>6^d)|0,1025);d=d>>>6^d;e=e+4|0;g=g-4|0;if(g){continue}break}}if(!f){break m}while(1){d=B(w[c+e|0]+d|0,1025);d=d>>>6^d;e=e+1|0;f=f-1|0;if(f){continue}break}}e=B(d,9);j=B(e>>>11^e,32769);e=h}f=v[n+4>>2]+B((j>>>0)%(e>>>0)|0,20)|0;if(!v[f+12>>2]){break h}d=v[f>>2];if(d){while(1){e=f;f=d;o:{if(v[e+16>>2]!=(j|0)|v[e+8>>2]!=(o|0)){break o}h=v[e+4>>2];if(!h){break o}d=w[b|0];g=b;e=h;while(1){n=e;d=d&255;if((d|0)!=w[e|0]){break o}e=n+1|0;if(d){g=g+1|0;d=w[g|0];if(d){continue}}break}if(w[e|0]!=58){break o}e=n+2|0;d=c;while(1){g=w[d|0];if((g|0)!=w[e|0]){break o}e=e+1|0;d=d+1|0;if(g){continue}break}break a}p=p+1|0;d=v[f>>2];if(d){continue}break}}if(v[f+16>>2]!=(j|0)|v[f+8>>2]!=(o|0)){break h}d=c;h=v[f+4>>2];e=h;g=b;p:{q:{r:{if(!b){f=1;if((e|0)==(d|0)){break p}if(!d|!e){break q}while(1){g=w[d|0];if((g|0)==w[e|0]){e=e+1|0;d=d+1|0;if(g){continue}break r}break}break q}if(!d|!e){break q}j=w[g|0];while(1){f=e;if(w[e|0]!=(j|0)){break q}e=f+1|0;if(j){g=g+1|0;j=w[g|0];if(j){continue}}break}if(w[e|0]!=58){break q}e=f+2|0;while(1){g=w[d|0];if((g|0)!=w[e|0]){break q}e=e+1|0;d=d+1|0;if(g){continue}break}}f=1;break p}f=0}if(f){break a}}s:{t:{u:{e=v[a+16>>2];if(!e){break u}g=0;d=0;while(1){f=v[e+4>>2];if(v[e+8>>2]-f>>>0>o>>>0){break s}h=v[e+12>>2];d=d>>>0>>0?h:d;g=g+h|0;e=v[e>>2];if(e){continue}break}e=v[a+28>>2];if(e){h=0;if(e>>>0>>0){break a}}if(!d){break u}e=d<<2;break t}e=1e3}h=0;d=(q<<2)+4|0;d=e>>>0>>0?d:e;e=Ub[v[259704]](d+24|0)|0;if(!e){break a}v[e+16>>2]=0;v[e+12>>2]=d;f=e+20|0;v[e+4>>2]=f;v[e+8>>2]=d+f;v[e>>2]=v[a+16>>2];v[a+16>>2]=e}b=gc(f,b,l);d=v[e+4>>2]+l|0;v[e+4>>2]=d+1;t[d|0]=58;gc(v[e+4>>2],c,k);c=v[e+4>>2]+k|0;v[e+4>>2]=c+1;h=0;t[c|0]=0;v[e+16>>2]=v[e+16>>2]+1;if(!b){break a}v:{if(!i){c=v[a+4>>2]+B(r,20)|0;v[c+8>>2]=o;v[c+4>>2]=b;v[c+16>>2]=m;v[c+12>>2]=1;v[c>>2]=0;break v}c=Ub[v[259704]](20)|0;if(!c){break a}v[c+8>>2]=o;v[c+4>>2]=b;v[c+16>>2]=m;v[c+12>>2]=1;v[c>>2]=0;v[i>>2]=c}v[a+12>>2]=v[a+12>>2]+1;w:{if(p>>>0<4){break w}c=v[a+8>>2];if(c>>>0>2730){break w}wV(a,B(c,6))}h=b}return h}function Sz(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0;h=Qb-48|0;Qb=h;v[h+12>>2]=0;t[a+733|0]=0;q=v[a+100>>2];a:{b:{k=v[a+736>>2];if(!k){e=ws(a,0);v[h+12>>2]=e;if(e){break a}k=v[a+736>>2]}o=v[k+12>>2];f=v[o>>2];b=b>>>0>f>>>0?f:b;if(!b){break b}while(1){if(v[(g<<2)+c>>2]+65536>>>0<=131072){g=g+1|0;if((g|0)!=(b|0)){continue}break b}break}e=6;break a}if(!(w[a+732|0]|v[k+72>>2])){i=v[a+104>>2];g=v[i+28>>2];e=Ub[v[a+516>>2]](a,1735811442,i,h+40|0)|0;v[h+44>>2]=e;if(e){break a}l=v[i+8>>2];e=me(i,448256,h+16|0);v[h+44>>2]=e;if(e){break a}e=8;if(v[h+16>>2]!=65536){break a}f=x[h+20>>1];if((f|0)!=x[v[k+12>>2]>>1]){break a}n=B(f,x[h+22>>1]);f=v[h+40>>2];if(n>>>0>f>>>1>>>0){break a}j=B(x[h+28>>1]+1|0,t[h+30|0]&1?4:2);if(j>>>0>f>>>0){break a}v[k+76>>2]=f;f=v[h+32>>2];e=ne(i,j);v[h+44>>2]=e;if(e){break a}e=0;s=k,u=Cc(g,4,0,x[h+28>>1]+1|0,0,h+44|0),v[s+72>>2]=u;c:{d:{e:{if(v[h+44>>2]){break e}m=f+l|0;f=l+v[h+40>>2]|0;f:{if(!(t[h+30|0]&1)){j=0;while(1){n=m+(He(i)<<1)|0;e=e>>>0>n>>>0?e:n;v[v[k+72>>2]+(j<<2)>>2]=e>>>0>f>>>0?f:e;n=x[h+28>>1];p=n>>>0>j>>>0;j=j+1|0;if(p){continue}break}break f}j=0;while(1){n=Sg(i)+m|0;j=j>>>0>n>>>0?j:n;v[v[k+72>>2]+(e<<2)>>2]=f>>>0>>0?f:j;n=x[h+28>>1];p=n>>>0>e>>>0;e=e+1|0;if(p){continue}break}}v[k+68>>2]=n;Vd(i);if(!x[h+22>>1]){break c}f=Yc(i,l+v[h+24>>2]|0);v[h+44>>2]=f;if(f){break d}f=ne(i,B(x[h+22>>1],x[h+20>>1])<<1);v[h+44>>2]=f;if(f){break d}f=0;s=k,u=Cc(g,4,0,B(x[h+22>>1],x[h+20>>1]),0,h+44|0),v[s+64>>2]=u;if(v[h+44>>2]){break e}g=x[h+22>>1];if(g){m=0;l=x[h+20>>1];f=g;while(1){e=0;g:{if(!(l&65535)){l=0;break g}while(1){g=He(i);l=x[h+20>>1];v[v[k+64>>2]+(B(m,l)+e<<2)>>2]=g<<16>>16<<2;e=e+1|0;if(l>>>0>e>>>0){continue}break}f=x[h+22>>1]}m=m+1|0;if(m>>>0<(f&65535)>>>0){continue}break}}v[k+60>>2]=f&65535;Vd(i);break c}Vd(i)}f=v[k+72>>2];if(f){Ub[v[g+8>>2]](g,f)}v[k+68>>2]=0;v[k+72>>2]=0}e=v[h+44>>2];v[h+12>>2]=e;if(e){break a}}p=v[k+4>>2];if(!p){s=k,u=Cc(q,4,0,v[o>>2],0,h+12|0),v[s+4>>2]=u;e=v[h+12>>2];if(e){break a}}h:{i:{j:{k:{m=v[k+8>>2];if(m){g=0;if(b){break k}break j}m=Cc(q,4,0,v[o>>2],0,h+12|0);v[k+8>>2]=m;e=v[h+12>>2];if(e){break a}j=v[o>>2];n=1;break h}l=1;while(1){f=g<<2;n=2;if(v[f+m>>2]!=v[c+f>>2]){break i}g=g+1|0;if((g|0)!=(b|0)){continue}break}g=b}l=0;n=0}j=v[o>>2];f=v[a+4>>2];l:{if(f&2147418112){if(g>>>0>=j>>>0){break l}i=v[k+20>>2]+(B((f>>>16|0)-1|0,j)<<2)|0;f=g<<2;e=i+f|0;r=(g^-1)+j|0;i=f+m|0;o=j-g&3;m:{if(!o){f=g;break m}f=g;while(1){l=v[i>>2]==v[e>>2]?l:1;i=i+4|0;e=e+4|0;f=f+1|0;o=o-1|0;if(o){continue}break}}if(r>>>0<3){break l}while(1){l=v[i+12>>2]==v[e+12>>2]?v[i+8>>2]==v[e+8>>2]?v[i+4>>2]==v[e+4>>2]?v[i>>2]==v[e>>2]?l:1:1:1:1;i=i+16|0;e=e+16|0;f=f+4|0;if((j|0)!=(f|0)){continue}break}break l}if(g>>>0>=j>>>0){break l}o=(g^-1)+j|0;e=(g<<2)+m|0;f=j-g&3;n:{if(!f){i=g;break n}i=g;while(1){l=v[e>>2]?1:l;e=e+4|0;i=i+1|0;f=f-1|0;if(f){continue}break}}if(o>>>0<3){break l}while(1){l=v[e+12>>2]|v[e+8>>2]|(v[e+4>>2]|v[e>>2])?1:l;e=e+16|0;i=i+4|0;if((j|0)!=(i|0)){continue}break}}o:{if(l&255){if(g>>>0>=j>>>0){break h}break o}t[a+733|0]=1;e=-1;break a}while(1){if(!v[(g<<2)+m>>2]){g=g+1|0;if((j|0)!=(g|0)){continue}break h}break}n=2}v[k>>2]=j;gc(m,c,b<<2);p:{if(!d){break p}e=v[k+4>>2];m=v[a+736>>2];j=v[m>>2];b=p?b:v[k>>2];f=b>>>0>j>>>0?j:b;q:{if(!f){break q}c=v[k+8>>2];i=f&3;g=0;if(f-1>>>0>=3){l=f&-4;while(1){d=g<<2;v[d+e>>2]=v[c+d>>2];k=d|4;v[k+e>>2]=v[c+k>>2];k=d|8;v[k+e>>2]=v[c+k>>2];d=d|12;v[d+e>>2]=v[c+d>>2];g=g+4|0;l=l-4|0;if(l){continue}break}}if(!i){break q}while(1){d=g<<2;v[d+e>>2]=v[c+d>>2];g=g+1|0;i=i-1|0;if(i){continue}break}}if(b>>>0>j>>>0){ic(e+(f<<2)|0,0,b-f<<2)}j=v[m+28>>2];if(!(!j|!f)){k=0;while(1){d=x[j>>1];r:{if(d>>>0<2){break r}b=v[j+4>>2];i=e+(k<<2)|0;c=v[i>>2];g=1;while(1){l=g<<3;o=l+b|0;p=v[o+4>>2];if((p|0)>(c|0)){g=c;c=b;b=l-8|0;c=c+b|0;d=v[c+4>>2];s=i,u=jd(g-d|0,v[o>>2]-v[c>>2]|0,p-d|0)+v[b+v[j+4>>2]>>2]|0,v[s>>2]=u;break r}g=g+1|0;if((d|0)!=(g|0)){continue}break}}j=j+8|0;k=k+1|0;if((f|0)!=(k|0)){continue}break}}if(!f){break p}b=v[v[m+12>>2]+12>>2];c=0;while(1){j=e+(c<<2)|0;i=v[j>>2];s:{t:{if((i|0)<=-1){g=v[b+4>>2];l=v[b+8>>2];d=l;break t}g=v[b+8>>2];d=g;if(!i){break s}l=v[b+12>>2];d=g}d=Ac(i,l-g|0)+d|0}v[j>>2]=d;b=b+24|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}t[a+733|0]=1;b=v[a+704>>2];u:{if(!b){break u}v:{switch(n-1|0){case 1:if(b){Ub[v[q+8>>2]](q,b)}v[a+704>>2]=0;s=h,u=mZ(a,v[a+104>>2]),v[s+12>>2]=u;break u;case 0:break v;default:break u}}s=h,u=bZ(a,v[a+104>>2]),v[s+12>>2]=u}b=v[a+720>>2];if(b){Ub[v[q+8>>2]](q,b)}v[a+720>>2]=0;e=v[h+12>>2]}Qb=h+48|0;return e}function Iaa(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,j=0,k=0,l=0,m=0;h=Qb+-64|0;Qb=h;v[h+56>>2]=b;v[e>>2]=0;i=v[d+28>>2];v[h>>2]=i;v[i+4>>2]=v[i+4>>2]+1;v[299999]=0;i=S(5466,h|0)|0;j=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{if((j|0)!=1){j=v[h>>2];k=v[j+4>>2]-1|0;v[j+4>>2]=k;if((k|0)==-1){Ub[v[v[j>>2]+8>>2]](j)}switch(g-65|0){case 54:break j;case 19:break k;case 18:break l;case 17:break m;case 49:break n;case 47:break o;case 45:case 51:break p;case 12:break q;case 44:break r;case 41:break s;case 8:break t;case 7:break u;case 5:break v;case 3:break w;case 35:case 36:break x;case 34:break y;case 1:case 33:case 39:break z;case 0:case 32:break A;case 2:case 4:case 6:case 9:case 10:case 11:case 13:case 14:case 15:case 16:case 20:case 21:case 22:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 37:case 38:case 40:case 42:case 43:case 46:case 48:case 50:case 52:case 53:break d;case 24:break f;case 56:break g;case 23:break h;case 55:break i;default:break e}}c=P()|0;O()|0;a=v[h>>2];b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}T(c|0);L()}gM(a,f+24|0,h+56|0,c,e,i);break b}fM(a,f+16|0,h+56|0,c,e,i);break b}g=h;i=a;j=b;b=Ub[v[v[a+8>>2]+12>>2]](a+8|0)|0;a=b;if(w[b+11|0]>>>7|0){a=v[a>>2]}k=a;if(w[b+11|0]>>>7|0){a=v[b>>2]}else{a=b}if(w[b+11|0]>>>7|0){b=v[b+4>>2]}else{b=w[b+11|0]}l=g,m=Gm(i,j,c,d,e,f,k,a+(b<<2)|0),v[l+56>>2]=m;break b}a=Gl(h+56|0,c,e,i,2);b=v[e>>2];B:{if(!(b&4|(a|0)<1|(a|0)>31)){v[f+12>>2]=a;break B}v[e>>2]=b|4}break b}g=v[254039];v[h+24>>2]=v[254038];v[h+28>>2]=g;g=v[254037];v[h+16>>2]=v[254036];v[h+20>>2]=g;g=v[254035];v[h+8>>2]=v[254034];v[h+12>>2]=g;g=v[254033];v[h>>2]=v[254032];v[h+4>>2]=g;l=h,m=Gm(a,b,c,d,e,f,h,h+32|0),v[l+56>>2]=m;break b}g=v[254047];v[h+24>>2]=v[254046];v[h+28>>2]=g;g=v[254045];v[h+16>>2]=v[254044];v[h+20>>2]=g;g=v[254043];v[h+8>>2]=v[254042];v[h+12>>2]=g;g=v[254041];v[h>>2]=v[254040];v[h+4>>2]=g;l=h,m=Gm(a,b,c,d,e,f,h,h+32|0),v[l+56>>2]=m;break b}a=Gl(h+56|0,c,e,i,2);b=v[e>>2];C:{if(!(b&4|(a|0)>23)){v[f+8>>2]=a;break C}v[e>>2]=b|4}break b}a=Gl(h+56|0,c,e,i,2);b=v[e>>2];D:{if(!(b&4|(a|0)<1|(a|0)>12)){v[f+8>>2]=a;break D}v[e>>2]=b|4}break b}a=Gl(h+56|0,c,e,i,3);b=v[e>>2];E:{if(!(b&4|(a|0)>365)){v[f+28>>2]=a;break E}v[e>>2]=b|4}break b}a=Gl(h+56|0,c,e,i,2);b=v[e>>2];F:{if(!(b&4|(a|0)>12)){v[f+16>>2]=a-1;break F}v[e>>2]=b|4}break b}a=Gl(h+56|0,c,e,i,2);b=v[e>>2];G:{if(!(b&4|(a|0)>59)){v[f+4>>2]=a;break G}v[e>>2]=b|4}break b}b=h+56|0;d=Qb-16|0;Qb=d;v[d+8>>2]=c;while(1){H:{if(!jt(b,d+8|0)){break H}a=i;c=v[b>>2];f=v[c+12>>2];I:{if((f|0)==v[c+16>>2]){c=Ub[v[v[c>>2]+36>>2]](c)|0;break I}c=v[f>>2]}if(!(Ub[v[v[i>>2]+12>>2]](a,8192,c)|0)){break H}mp(b);continue}break}if(Im(b,d+8|0)){v[e>>2]=v[e>>2]|2}Qb=d+16|0;break b}g=h+56|0;b=Ub[v[v[a+8>>2]+8>>2]](a+8|0)|0;a=b;d=v[b+4>>2];J:{if(w[b+11|0]>>>7|0){break J}d=w[a+11|0]}if(w[b+23|0]>>>7|0){a=v[b+16>>2]}else{a=w[b+23|0]}K:{if((d|0)==(0-a|0)){v[e>>2]=v[e>>2]|4;break K}b=xw(g,c,b,b+24|0,i,e,0)-b|0;a=v[f+8>>2];if(!(b|(a|0)!=12)){v[f+8>>2]=0;break K}if(!((b|0)!=12|(a|0)>11)){v[f+8>>2]=a+12}}break b}g=gc(h,1016192,44);l=g,m=Gm(a,b,c,d,e,f,g,g+44|0),v[l+56>>2]=m;break b}v[h+16>>2]=v[254064];g=v[254063];v[h+8>>2]=v[254062];v[h+12>>2]=g;g=v[254061];v[h>>2]=v[254060];v[h+4>>2]=g;l=h,m=Gm(a,b,c,d,e,f,h,h+20|0),v[l+56>>2]=m;break b}a=Gl(h+56|0,c,e,i,2);b=v[e>>2];L:{if(!(b&4|(a|0)>60)){v[f>>2]=a;break L}v[e>>2]=b|4}break b}g=v[254075];v[h+24>>2]=v[254074];v[h+28>>2]=g;g=v[254073];v[h+16>>2]=v[254072];v[h+20>>2]=g;g=v[254071];v[h+8>>2]=v[254070];v[h+12>>2]=g;g=v[254069];v[h>>2]=v[254068];v[h+4>>2]=g;l=h,m=Gm(a,b,c,d,e,f,h,h+32|0),v[l+56>>2]=m;break b}a=Gl(h+56|0,c,e,i,1);b=v[e>>2];M:{if(!(b&4|(a|0)>6)){v[f+24>>2]=a;break M}v[e>>2]=b|4}break b}a=Ub[v[v[a>>2]+20>>2]](a,b,c,d,e,f)|0;break a}g=h;i=a;j=b;b=Ub[v[v[a+8>>2]+24>>2]](a+8|0)|0;a=b;if(w[b+11|0]>>>7|0){a=v[a>>2]}k=a;if(w[b+11|0]>>>7|0){a=v[b>>2]}else{a=b}if(w[b+11|0]>>>7|0){b=v[b+4>>2]}else{b=w[b+11|0]}l=g,m=Gm(i,j,c,d,e,f,k,a+(b<<2)|0),v[l+56>>2]=m;break b}eM(f+20|0,h+56|0,c,e,i);break b}a=Gl(h+56|0,c,e,i,4);if(!(w[e|0]&4)){v[f+20>>2]=a-1900}break b}if((g|0)==37){break c}}v[e>>2]=v[e>>2]|4;break b}d=Qb-16|0;Qb=d;v[d+8>>2]=c;b=6;f=h+56|0;N:{O:{if(Im(f,d+8|0)){break O}b=4;a=i;c=v[f>>2];g=v[c+12>>2];P:{if((g|0)==v[c+16>>2]){c=Ub[v[v[c>>2]+36>>2]](c)|0;break P}c=v[g>>2]}if((Ub[v[v[i>>2]+52>>2]](a,c,0)|0)!=37){break O}b=2;if(!Im(mp(f),d+8|0)){break N}}v[e>>2]=v[e>>2]|b}Qb=d+16|0}a=v[h+56>>2]}Qb=h- -64|0;return a|0}function fv(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,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=C(0),q=0,r=0,s=0,y=0;g=Qb-224|0;Qb=g;m=g+196|0;v[m>>2]=0;v[m+4>>2]=0;v[m+24>>2]=1;v[m+16>>2]=0;v[m+20>>2]=0;v[m+8>>2]=0;v[m+12>>2]=0;v[g+136>>2]=0;h=v[c>>2];u[g+132>>1]=65535;v[g+120>>2]=h;v[g+124>>2]=2;v[g+116>>2]=0;a:{b:{c:{d:{e:{if(v[b+208>>2]){break e}i=v[v[b>>2]+84>>2];v[299999]=0;h=Y(i|0,b|0,h|0,g+116|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break a}if(v[b+208>>2]|(h|0)>0|v[b+196>>2]==-1){break e}i=v[c>>2];if((i|0)>61439){break d}h=v[v[b>>2]+84>>2];v[299999]=0;h=Y(h|0,b|0,i+61440|0,g+116|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break a}}if((h|0)>0){break c}}if(w[f|0]){gc(a,g+120|0,104);break b}f:{if(!v[b+208>>2]){i=v[c>>2];h=v[b+2228512>>2];v[299999]=0;i=Y(2609,h|0,b|0,i|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break a}if(!i){gc(a,g+120|0,104);break b}v[299999]=0;t[g+4|0]=1;da(2610,g+8|0,i|0,c|0,d|0,e|0,g+4|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}if(!v[g+12>>2]){break f}mg(g+84|0)}l=1;h=v[b+192>>2];if((h|0)>-1){break c}u[g+132>>1]=65535;p=C(C(v[v[v[b+180>>2]+88>>2]+36>>2]>>6)*C(.5));z[g+140>>2]=p;z[g+136>>2]=p;gc(a,g+120|0,104);break b}gc(a,g+8|0,104);mg(g+84|0);break b}u[g+132>>1]=h;v[g+124>>2]=l;v[g+128>>2]=v[g+116>>2];if(v[b+2228508>>2]){c=b;n=A[b+8>>3];r=A[b+56>>3];o=A[b+16>>3];s=A[b+72>>3];k=(n*r+o*s)*65536;g:{if(D(k)<2147483648){j=~~k;break g}j=-2147483648}v[c+212>>2]=j;c=b;k=n;n=A[b- -64>>3];q=o;o=A[b+80>>3];k=(k*n+q*o)*65536;h:{if(D(k)<2147483648){j=~~k;break h}j=-2147483648}v[c+220>>2]=j;c=b;k=n;n=A[b+24>>3];q=o;o=A[b+32>>3];k=(k*n+q*o)*65536;i:{if(D(k)<2147483648){j=~~k;break i}j=-2147483648}v[c+224>>2]=j;c=b;k=(r*n+s*o)*65536;j:{if(D(k)<2147483648){j=~~k;break j}j=-2147483648}v[c+216>>2]=j;c=v[b+180>>2];v[299999]=0;Bs(c,b+212|0,0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}c=v[b+2228516>>2]?v[v[b+2228512>>2]+156>>2]:40970;i=v[b+180>>2];v[299999]=0;l=Y(2612,i|0,h|0,c|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}k:{l:{if(!(v[b+2228516>>2]!=1|(l|0)<17|(l|0)>39)){v[299999]=0;h=Y(2612,i|0,h|0,40970)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(h){break l}v[b+2228516>>2]=0;break k}if(!l){break k}}gc(a,g+120|0,104);break b}v[g+4>>2]=0;c=v[v[b+180>>2]+84>>2];v[299999]=0;h=Q(2613,c|0,g+4|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(h){gc(a,g+120|0,104);break b}if(e){c=v[e+4>>2];b=v[e>>2];v[299999]=0;Y(1710,v[g+4>>2]+20|0,b|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}gc(a,g+120|0,104);break b}v[299999]=0;U(2614,v[g+4>>2],1,g+8|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}v[299999]=0;R(2615,v[g+4>>2]);c=v[299999];v[299999]=0;if((c|0)==1){break a}c=v[b+180>>2];v[299999]=0;e=Q(2616,c|0,2)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}c=v[b+132>>2];h=(c|0)==1;m:{if(!e|(c|0)!=1){break m}if(x[e>>1]==65535){h=1;break m}h=x[e+4>>1]<800}c=v[b+180>>2];e=x[c+68>>1];k=A[b+184>>3];i=v[c+84>>2];c=v[i+56>>2];z[g+148>>2]=v[g+16>>2]>>6;z[g+152>>2]=v[g+12>>2]>>6;z[g+156>>2]=v[g+20>>2]>>6;z[g+144>>2]=v[g+8>>2]>>6;p=C(k*+(c|0)/+(e>>>0));z[g+136>>2]=h?C(p+C(1)):p;e=v[i+24>>2];z[g+160>>2]=e>>6;z[g+164>>2]=v[i+28>>2]>>6;c=v[i+40>>2];z[g+176>>2]=c>>6;z[g+168>>2]=v[i+32>>2]>>6;z[g+172>>2]=v[i+36>>2]>>6;z[g+188>>2]=v[i+52>>2]>>6;z[g+180>>2]=v[i+44>>2]>>6;z[g+184>>2]=v[i+48>>2]>>6;n:{if(!(!w[f|0]|c>>>0>63|e>>>0>63)){v[g+124>>2]=2;break n}if(!w[d|0]){break n}t[g+192|0]=1;c=v[v[b+2228512>>2]+160>>2];v[299999]=0;d=Q(2617,i|0,c|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(d){break n}v[g+196>>2]=v[i+100>>2];v[g+200>>2]=v[i+104>>2];c=v[i+80>>2];v[g+204>>2]=c;j=v[i+76>>2];v[g+208>>2]=j;e=w[b+104|0];v[g+212>>2]=e;b=j;o:{if(e){d=c;if(!h){break o}c=c+1|0;v[g+204>>2]=c;d=c;break o}d=c+7>>3}b=B(b,d);if(!b){v[g+216>>2]=0;v[g+220>>2]=0;break n}f=jc(b);v[g+220>>2]=0;v[g+216>>2]=f;if(!f){break n}if(!(e?h:0)){if((j|0)<1){break n}b=v[i+88>>2];if((j|0)!=1){h=j&-2;while(1){c=gc(f,b,d)+d|0;b=v[i+84>>2]+b|0;f=gc(c,b,d)+d|0;b=b+v[i+84>>2]|0;h=h-2|0;if(h){continue}break}}if(!(j&1)){break n}gc(f,b,d);break n}if((j|0)<1|(c|0)<1){break n}l=v[i+88>>2];while(1){if((c|0)>=1){h=c-1|0;p:{if(!h){break p}q:{if(c&1){b=h;h=c;break q}b=c-2|0;e=w[l+b|0];t[f+h|0]=e>>>0<255?e:255}if((c|0)==2){break p}while(1){e=0;h=w[(h+l|0)-2|0]+((c|0)!=(h|0)?w[b+l|0]:0)|0;t[b+f|0]=h>>>0<255?h:255;h=b-1|0;e=(b|0)!=(c|0)?w[h+l|0]:e;b=b-2|0;e=e+w[l+b|0]|0;t[h+f|0]=e>>>0<255?e:255;if(b){continue}break}}t[f|0]=w[l|0]}f=d+f|0;l=v[i+84>>2]+l|0;y=y+1|0;if((j|0)>(y|0)){continue}break}}gc(a,g+120|0,104)}mg(m);Qb=g+224|0;return}a=P()|0;O()|0;mg(m);T(a|0);L()}function It(a,b,c,d,e){var f=0,g=0,h=0,i=0;f=Qb-96|0;Qb=f;v[c>>2]=1e3;v[d>>2]=1e3;v[299999]=0;U(4712,f+56|0,a|0,b|0);b=v[299999];v[299999]=0;a:{b:{c:{d:{if((b|0)!=1){b=v[v[a>>2]+20>>2];v[299999]=0;$(b|0,f+48|0,a|0,0,f+56|0);a=v[299999];v[299999]=0;e:{if((a|0)!=1){v[299999]=0;V(4591,f+40|0,v[f+48>>2]);a=v[299999];v[299999]=0;f:{if((a|0)!=1){v[299999]=0;V(4503,f+32|0,f+40|0);a=v[299999];v[299999]=0;g:{if((a|0)!=1){v[f+24>>2]=0;v[299999]=0;v[f+28>>2]=v[282402];a=Z(4504,v[f+32>>2],f+24|0,0,0)|0;b=v[299999];v[299999]=0;h:{i:{j:{k:{if((b|0)==1){break k}l:{if(!a){break l}v[299999]=0;a=Nc(f+24|0,320559,-1);b=v[299999];v[299999]=0;if((b|0)==1){break k}m:{if(!a){break m}v[299999]=0;a=Nc(f+24|0,309787,-1);b=v[299999];v[299999]=0;if((b|0)==1){break k}if(!a){break m}v[299999]=0;a=Nc(f+24|0,326018,-1);b=v[299999];v[299999]=0;if((b|0)==1){break k}if(!a){break m}v[299999]=0;a=Nc(f+24|0,326052,-1);b=v[299999];v[299999]=0;if((b|0)==1){break k}if(a){break l}}b=0;n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{while(1){v[299999]=0;a=Z(4504,v[f+32>>2],f+24|0,0,0)|0;g=v[299999];v[299999]=0;y:{z:{A:{B:{C:{if((g|0)!=1){if(!a){break l}v[f+16>>2]=0;v[299999]=0;Q(4336,f+16|0,v[f+32>>2])|0;a=v[299999];v[299999]=0;if((a|0)==1){break C}v[299999]=0;a=Nc(f+24|0,312032,-1);g=v[299999];v[299999]=0;if((g|0)==1){break p}if(a){break z}v[299999]=0;R(4779,f+8|0);a=v[299999];v[299999]=0;if((a|0)==1){break B}v[299999]=0;V(4780,v[f+8>>2],v[f+16>>2]);a=v[299999];v[299999]=0;if((a|0)==1){break A}a=v[f+8>>2];g=v[a+8>>2];v[c>>2]=(g|0)>0?g:0;g=v[a+12>>2];v[d>>2]=(g|0)>0?g:0;g=v[a+32>>2];h=v[a+20>>2];v[e>>2]=(h|0)>0?h:0;if(g&1){g=v[c>>2];v[c>>2]=v[d>>2];v[d>>2]=g}v[299999]=0;v[f+8>>2]=0;g=v[a+4>>2]-1|0;v[a+4>>2]=g;h=v[299999];v[299999]=0;if((h|0)!=1){if(g){break y}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break y}}break a}a=W(989228)|0;break j}a=W(989228)|0;break j}a=W(989228)|0;break o}a=W(989228)|0;d=O()|0;ec(f+8|0);break n}if(!b){v[299999]=0;a=Nc(f+24|0,326023,-1);b=v[299999];v[299999]=0;if((b|0)==1){break p}if(a){v[299999]=0;a=Nc(f+24|0,326057,-1);b=v[299999];v[299999]=0;if((b|0)==1){break p}b=0;if(a){break y}}v[299999]=0;S(4551,v[f+16>>2])|0;a=v[299999];v[299999]=0;if((a|0)==1){break x}v[299999]=0;S(4551,v[f+16>>2])|0;a=v[299999];v[299999]=0;if((a|0)==1){break w}v[299999]=0;S(4551,v[f+16>>2])|0;a=v[299999];v[299999]=0;if((a|0)==1){break v}v[299999]=0;S(4551,v[f+16>>2])|0;a=v[299999];v[299999]=0;if((a|0)==1){break u}v[299999]=0;a=S(4551,v[f+16>>2])|0;b=v[299999];v[299999]=0;if((b|0)==1){break t}v[299999]=0;b=S(4551,v[f+16>>2])|0;g=v[299999];v[299999]=0;if((g|0)==1){break s}v[299999]=0;g=S(4551,v[f+16>>2])|0;h=v[299999];v[299999]=0;if((h|0)==1){break r}v[299999]=0;h=S(4551,v[f+16>>2])|0;i=v[299999];v[299999]=0;if((i|0)==1){break q}v[c>>2]=b|a<<8;v[d>>2]=h|g<<8;v[e>>2]=100}b=1}v[299999]=0;R(4781,v[f+32>>2]);a=v[299999];v[299999]=0;if((a|0)==1){break p}a=v[f+16>>2];v[f+16>>2]=0;if(!a){continue}v[299999]=0;g=v[a+4>>2]-1|0;v[a+4>>2]=g;h=v[299999];v[299999]=0;if((h|0)!=1){if(g){continue}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){continue}}break}break a}a=W(989228)|0;break o}a=W(989228)|0;break o}a=W(989228)|0;break o}a=W(989228)|0;break o}a=W(989228)|0;break o}a=W(989228)|0;break o}a=W(989228)|0;break o}a=W(989228)|0;break o}a=W(989228)|0}d=O()|0}ec(f+16|0);break i}ec(f+24|0);a=v[f+32>>2];v[f+32>>2]=0;D:{if(!a){break D}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break D}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}a=v[f+40>>2];v[f+40>>2]=0;E:{if(!a){break E}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break E}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}a=v[f+48>>2];v[f+48>>2]=0;F:{if(!a){break F}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break h}if(b){break F}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break h}}v[f+80>>2]=981312;v[f+56>>2]=981280;a=v[f+84>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Ub[v[v[a>>2]+4>>2]](a)}v[f+84>>2]=0}v[f+72>>2]=981312;a=v[f+76>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Ub[v[v[a>>2]+4>>2]](a)}v[f+76>>2]=0}ec(f- -64|0);break c}a=W(989228)|0}d=O()|0}ec(f+24|0);ec(f+32|0);break g}break a}a=W(989228)|0;d=O()|0}ec(f+40|0);break f}a=W(989228)|0;d=O()|0}ec(f+48|0);break e}a=W(989228)|0;d=O()|0}$c(f+56|0);break d}a=W(989228)|0;d=O()|0}if((ja(989228)|0)!=(d|0)){break b}ea(a|0)|0;ka()}Qb=f+96|0;return}T(a|0);L()}W(0)|0;O()|0;lc();L()}function pf(a,b,c,d,e,f,g,h,i){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,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=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;l=Qb-96|0;Qb=l;r=c;u=(g&131071)<<15|f>>>17;j=i&65535;w=j;p=h;A=h<<15|g>>>17;n=(e^i)&-2147483648;m=e&65535;o=m;q=d;z=m;m=0;B=(j&131071)<<15|h>>>17;K=i>>>16&32767;L=e>>>16&32767;a:{b:{if(L-1>>>0<=32765){j=0;if(K-1>>>0<32766){break b}}t=e&2147483647;k=t;j=d;if(!(!j&(k|0)==2147418112?!(b|c):k>>>0<2147418112)){x=d;n=e|32768;break a}t=i&2147483647;e=t;d=h;if(!(!d&(e|0)==2147418112?!(f|g):e>>>0<2147418112)){x=h;n=i|32768;b=f;c=g;break a}if(!(b|j|(k^2147418112|c))){if(!(d|f|(e|g))){n=2147450880;b=0;c=0;break a}n=n|2147418112;b=0;c=0;break a}if(!(d|f|(e^2147418112|g))){d=b|j;e=c|k;b=0;c=0;if(!(d|e)){n=2147450880;break a}n=n|2147418112;break a}if(!(b|j|(c|k))){b=0;c=0;break a}if(!(d|f|(e|g))){b=0;c=0;break a}if((k|0)==65535|k>>>0<65535){i=b;d=!(o|q);h=d<<6;j=E(d?b:q)+32|0;b=E(d?c:o);b=h+((b|0)==32?j:b)|0;Oh(l+80|0,i,c,q,o,b-15|0);q=v[l+88>>2];r=v[l+84>>2];z=v[l+92>>2];s=16-b|0;b=v[l+80>>2]}j=s;if(e>>>0>65535){break b}c=!(p|w);d=c<<6;e=E(c?f:p)+32|0;c=E(c?g:w);c=d+((c|0)==32?e:c)|0;i=c;Oh(l- -64|0,f,g,p,w,c-15|0);e=v[l+76>>2];c=e;h=v[l+72>>2];d=h;d=d<<15;e=v[l+68>>2];A=e>>>17|d;d=0;f=v[l+64>>2];u=d|((e&131071)<<15|f>>>17);B=(c&131071)<<15|h>>>17;j=(s-i|0)+16|0}s=j;k=u;d=b;i=0;C=Bib(k,0,b,i);b=Tb;D=b;o=f<<15&-32768;p=0;f=Bib(o,p,r,0);c=f+C|0;e=Tb+b|0;e=c>>>0>>0?e+1|0:e;j=c;h=0;g=Bib(d,i,o,p);b=h+g|0;f=Tb+j|0;f=b>>>0>>0?f+1|0:f;u=b;g=f;H=(j|0)==(f|0)&b>>>0>>0|f>>>0>>0;N=Bib(k,y,r,M);I=Tb;t=q;f=Bib(o,p,q,0);b=f+N|0;j=Tb+I|0;j=b>>>0>>0?j+1|0:j;O=b;h=Bib(A,0,d,i);f=b+h|0;b=j;j=j+Tb|0;P=f;j=f>>>0>>0?j+1|0:j;w=j;f=e+f|0;c=((e|0)==(D|0)&c>>>0>>0|e>>>0>>0)+j|0;C=f;c=f>>>0>>0?c+1|0:c;q=c;e=f;R=Bib(k,y,t,Q);J=Tb;F=z|65536;z=m;j=Bib(o,p,F,m);h=j+R|0;f=Tb+J|0;f=h>>>0>>0?f+1|0:f;S=h;m=Bib(A,T,r,M);h=h+m|0;o=f;j=f+Tb|0;U=h;G=B&2147483647|-2147483648;f=Bib(d,i,G,0);d=h+f|0;p=h>>>0>>0?j+1|0:j;j=p+Tb|0;B=d;d=d>>>0>>0?j+1|0:j;i=H;h=0;f=h+e|0;c=c+B|0;c=f>>>0>>0?c+1|0:c;H=f;e=i+f|0;D=c;j=c;h=e;i=e>>>0>>0?j+1|0:j;s=(s+(K+L|0)|0)-16383|0;j=Bib(t,Q,A,T);e=Tb;m=Bib(k,y,F,z);c=m+j|0;f=Tb+e|0;f=c>>>0>>0?f+1|0:f;m=c;j=(e|0)==(f|0)&j>>>0>c>>>0|e>>>0>f>>>0;e=f;y=j;k=Bib(G,V,r,M);c=k+c|0;j=Tb+f|0;j=c>>>0>>0?j+1|0:j;f=c;c=j;m=(j|0)==(e|0)&m>>>0>f>>>0|e>>>0>j>>>0;j=y+m|0;e=0;e=j>>>0>>0?1:e;k=f;y=j;j=(b|0)==(w|0)&P>>>0>>0|b>>>0>w>>>0;b=j+((b|0)==(I|0)&N>>>0>O>>>0|b>>>0>>0)|0;f=0;f=b>>>0>>0?1:f;r=b;b=k+b|0;j=f+c|0;j=b>>>0>>0?j+1|0:j;r=b;m=j;c=(j|0)==(c|0)&b>>>0>>0|c>>>0>j>>>0;b=y+c|0;j=e;j=b>>>0>>0?j+1|0:j;e=Bib(G,V,F,z);b=e+b|0;c=Tb+j|0;c=b>>>0>>0?c+1|0:c;y=b;f=Bib(G,V,t,Q);e=Tb;k=Bib(A,T,F,z);b=k+f|0;j=Tb+e|0;j=b>>>0>>0?j+1|0:j;k=b;b=j;j=(e|0)==(j|0)&f>>>0>k>>>0|e>>>0>j>>>0;f=b+y|0;e=c+j|0;e=f>>>0>>0?e+1|0:e;t=f;j=k;k=0;b=k+r|0;f=j+m|0;f=b>>>0>>0?f+1|0:f;j=b;c=f;m=(m|0)==(f|0)&j>>>0>>0|f>>>0>>0;f=t+m|0;j=e;t=f;m=f>>>0>>0?j+1|0:j;r=b;k=c;f=(o|0)==(p|0)&S>>>0>U>>>0|o>>>0>p>>>0;e=f+((o|0)==(J|0)&R>>>0>S>>>0|o>>>0>>0)|0;c=0;j=e;e=j+((d|0)==(p|0)&B>>>0>>0|d>>>0

>>0)|0;j=e;b=d+b|0;e=j+k|0;o=b;c=b;e=b>>>0>>0?e+1|0:e;b=e;d=(e|0)==(k|0)&c>>>0>>0|e>>>0>>0;c=d+t|0;j=m;j=c>>>0>>0?j+1|0:j;d=c;f=j;k=d;e=(q|0)==(D|0)&C>>>0>H>>>0|q>>>0>D>>>0;d=e+((q|0)==(w|0)&C>>>0

>>0|q>>>0>>0)|0;j=0;j=d>>>0>>0?1:j;m=d;d=d+o|0;e=b+j|0;e=d>>>0>>0?e+1|0:e;c=d;c=(b|0)==(e|0)&c>>>0>>0|b>>>0>e>>>0;b=k+c|0;f=b>>>0>>0?f+1|0:f;c=f;c:{if(f&65536){s=s+1|0;break c}q=g>>>31|0;m=0;f=c<<1|b>>>31;b=b<<1|e>>>31;c=f;f=e<<1|d>>>31;d=d<<1|i>>>31;e=f;j=u;f=g<<1|j>>>31;u=j<<1;g=f;f=h;j=i<<1|f>>>31;h=f<<1|q;i=j|m}if((s|0)>=32767){n=n|2147418112;b=0;c=0;break a}d:{if((s|0)<=0){f=1-s|0;if(f>>>0>=128){b=0;c=0;break a}j=s+127|0;Oh(l+48|0,u,g,h,i,j);Oh(l+32|0,d,e,b,c,j);qp(l+16|0,u,g,h,i,f);qp(l,d,e,b,c,f);u=(v[l+48>>2]|v[l+56>>2])!=0|(v[l+52>>2]|v[l+60>>2])!=0|(v[l+32>>2]|v[l+16>>2]);g=v[l+36>>2]|v[l+20>>2];h=v[l+40>>2]|v[l+24>>2];i=v[l+44>>2]|v[l+28>>2];d=v[l>>2];e=v[l+4>>2];c=v[l+12>>2];b=v[l+8>>2];break d}c=c&65535|s<<16}x=b|x;n=c|n;if(!(!h&(i|0)==-2147483648?!(g|u):(i|0)>-1)){j=e;b=d+1|0;j=b>>>0<1?j+1|0:j;f=b;c=j;f=(e|0)==(j|0)&d>>>0>f>>>0|e>>>0>j>>>0;d=f+x|0;e=n;x=d;n=d>>>0>>0?e+1|0:e;break a}if(h|u|(i^-2147483648|g)){b=d;c=e;break a}j=n;c=d&1;b=c+d|0;f=e;f=b>>>0>>0?f+1|0:f;c=f;e=(e|0)==(f|0)&d>>>0>b>>>0|e>>>0>f>>>0;d=e+x|0;x=d;n=d>>>0>>0?j+1|0:j}v[a>>2]=b;v[a+4>>2]=c;v[a+8>>2]=x;v[a+12>>2]=n;Qb=l+96|0}function ksa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0;l=Qb-16|0;Qb=l;v[l+8>>2]=d;v[l+12>>2]=c;a=v[a+4>>2];if(a){a:{f=Qb-48|0;Qb=f;c=v[a+12>>2];v[f+8>>2]=0;v[f>>2]=0;v[f+40>>2]=0;It(c,b,f+8|0,f,f+40|0);e=v[f+8>>2];h=v[f>>2];a=v[a+12>>2];v[299999]=0;fa(4351,f+32|0,a|0,b|0,1,0);a=v[299999];v[299999]=0;b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{if((a|0)!=1){v[299999]=0;S(4352,v[f+32>>2])|0;a=v[299999];v[299999]=0;if((a|0)==1){break n}c=0;v[299999]=0;V(4386,f+24|0,v[f+32>>2]);a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[f+24>>2];if(a){break m}break d}d=W(0)|0;O()|0;break e}d=W(0)|0;O()|0;break f}a=v[a+8>>2];v[299999]=0;o=Q(4387,f+8|0,a+28|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break k}d=1e3;c=jc(1e3);v[c>>2]=0;g=4;o:{k=v[f+16>>2];if(k){p=+v[l+8>>2]/+(h|0);q=+v[l+12>>2]/+(e|0);a=c;while(1){b=v[k+8>>2];v[f>>2]=0;v[f+4>>2]=v[282402];b=v[b+8>>2];p:{if(b){e=v[v[b>>2]+28>>2];v[299999]=0;U(e|0,f+40|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break p}d=W(0)|0;O()|0;break h}v[f+40>>2]=0}v[299999]=0;Q(4344,f|0,f+40|0)|0;b=v[299999];v[299999]=0;q:{if((b|0)!=1){b=v[f+40>>2];v[f+40>>2]=0;if(!b){break q}v[299999]=0;e=v[b+4>>2]-1|0;v[b+4>>2]=e;h=v[299999];v[299999]=0;if((h|0)!=1){if(e){break q}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break q}}break b}d=W(0)|0;O()|0;ec(f+40|0);break h}b=v[f>>2];v[f+4>>2]=v[(b?b+12|0:1129608)>>2];v[299999]=0;e=Q(4361,f|0,-1)|0;b=v[299999];v[299999]=0;if((b|0)==1){break i}b=v[f>>2];if(b){b=v[b+8>>2]}else{b=0}h=b+4|0;r:{if(!a){g=0;d=h>>>0>1e3?h:1e3;a=jc(d);c=a;break r}m=g+h|0;c=c+4|0;if(m>>>0<=d>>>0){break r}while(1){d=d<<1;if(m>>>0>d>>>0){continue}break}c=be(a,d);if(c){a=c;c=a+g|0;break r}c=gc(jc(d),a,g);dc(a);a=c;c=a+g|0}t[c|0]=b;t[c+1|0]=b>>>8;t[c+2|0]=b>>>16;t[c+3|0]=b>>>24;m=gc(c+4|0,e,b);c=v[k+8>>2];v[299999]=0;c=S(4388,c|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break o}e=v[l+8>>2];n=v[k+8>>2];v[299999]=0;n=S(4389,n|0)|0;s=v[299999];v[299999]=0;if((s|0)==1){break i}i=p*+(n|0);u=+(e|0);r=q*+(c|0);j=r*100;s:{if(j<4294967296&j>=0){e=~~j>>>0;break s}e=0}j=u-i;t:{u:{v:{w:{if(!a){c=0;d=1e3;b=jc(1e3);a=b;break w}c=g+h|0;h=c+4|0;if(h>>>0<=d>>>0){b=b+m|0;t[b|0]=e;t[b+1|0]=e>>>8;t[b+2|0]=e>>>16;t[b+3|0]=e>>>24;g=b+4|0;i=j*100;if(!(i<4294967296&i>=0)){break v}e=~~i>>>0;break u}while(1){d=d<<1;if(h>>>0>d>>>0){continue}break}b=be(a,d);if(b){a=b+c|0;t[a|0]=e;t[a+1|0]=e>>>8;t[a+2|0]=e>>>16;t[a+3|0]=e>>>24;g=a+4|0;i=j*100;if(i<4294967296&i>=0){e=~~i>>>0;a=b;break u}e=0;a=b;break u}b=jc(d);g=gc(b,a,c);dc(a);a=c+g|0}t[a|0]=e;t[a+1|0]=e>>>8;t[a+2|0]=e>>>16;t[a+3|0]=e>>>24;i=j*100;x:{if(i<4294967296&i>=0){e=~~i>>>0;break x}e=0}if(b){h=c+4|0;g=a+4|0;a=b;break u}h=0;d=1e3;b=jc(1e3);g=b;break t}e=0}b=c+8|0;if(b>>>0<=d>>>0){b=a;break t}while(1){d=d<<1;if(b>>>0>d>>>0){continue}break}b=be(a,d);if(!b){b=jc(d);gc(b,a,h);dc(a)}g=b+h|0}t[g|0]=e;t[g+1|0]=e>>>8;t[g+2|0]=e>>>16;t[g+3|0]=e>>>24;a=v[k+8>>2];v[299999]=0;a=S(4390,a|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break j}i=(q*+(a|0)-r)*100;y:{if(i<4294967296&i>=0){c=~~i>>>0;break y}c=0}z:{if(!b){a=0;d=1e3;b=jc(1e3);e=b;break z}a=h+4|0;e=g+4|0;g=h+8|0;if(g>>>0<=d>>>0){break z}while(1){d=d<<1;if(g>>>0>d>>>0){continue}break}e=be(b,d);if(e){b=e;e=b+a|0;break z}e=gc(jc(d),b,a);dc(b);b=e;e=b+a|0}t[e|0]=c;t[e+1|0]=c>>>8;t[e+2|0]=c>>>16;t[e+3|0]=c>>>24;c=v[l+8>>2];g=v[k+8>>2];v[299999]=0;g=S(4391,g|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break j}j=(+(c|0)-p*+(g|0)-j)*100;A:{if(j<4294967296&j>=0){g=~~j>>>0;break A}g=0}B:{if(!b){h=0;d=1e3;a=jc(1e3);c=a;break B}h=a+4|0;a=a+8|0;if(a>>>0<=d>>>0){a=b;c=e+4|0;break B}while(1){d=d<<1;if(a>>>0>d>>>0){continue}break}a=be(b,d);if(!a){a=jc(d);gc(a,b,h);dc(b)}c=a+h|0}t[c|0]=g;t[c+1|0]=g>>>8;t[c+2|0]=g>>>16;t[c+3|0]=g>>>24;g=h+4|0;ec(f);k=v[k>>2];if(k){continue}break}c=a}t[c|0]=g;t[c+1|0]=g>>>8;t[c+2|0]=g>>>16;t[c+3|0]=g>>>24;Ic(o);a=v[f+24>>2];v[f+24>>2]=0;if(!a){break d}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;d=v[299999];v[299999]=0;if((d|0)!=1){if(b){break d}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break d}}break b}break i}d=W(0)|0;O()|0;break f}d=W(0)|0;O()|0;break g}a=b}d=W(0)|0;O()|0}ec(f);if(a){dc(a)}Ic(o)}ec(f+24|0)}ec(f+32|0)}ea(d|0)|0;ka();c=0;break c}a=v[f+32>>2];v[f+32>>2]=0;if(!a){break c}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;d=v[299999];v[299999]=0;if((d|0)!=1){if(b){break c}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break c}}break b}Qb=f+48|0;break a}W(0)|0;O()|0;lc();L()}}else{c=0}Qb=l+16|0;return c|0}function GKa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=v[a+76>>2];if((c|0)>=1){b=v[a+84>>2];while(1){f=Wu(a,v[b+16>>2])+f|0;b=b+88|0;d=d+1|0;c=v[a+76>>2];if((d|0)<(c|0)){continue}break}}a:{b:{c:{d:{if(!v[a+212>>2]){b=194;if(v[a+264>>2]){break a}if(v[a+72>>2]!=8|v[a+376>>2]!=8){break c}e=1;e:{if((c|0)<1){break e}g=c&1;d=v[a+84>>2];if((c|0)!=1){c=c&-2;while(1){e=v[d+24>>2]<2&v[d+20>>2]<=1?e:0;e=v[d+112>>2]<2&v[d+108>>2]<=1?e:0;d=d+176|0;c=c-2|0;if(c){continue}break}}if(!g|v[d+24>>2]<2&v[d+20>>2]<=1){break e}e=0}if(!f|!e){break c}c=v[a>>2];v[c+20>>2]=77;Ub[v[c+4>>2]](a,0);if(!v[a+212>>2]){break d}}b=v[a+264>>2]?202:201;break a}if(!v[a+264>>2]){break b}break a}if(v[a+264>>2]){break a}b=192;if(e){break a}}b=193}c=v[a+24>>2];d=v[c>>2];v[c>>2]=d+1;t[d|0]=255;d=v[c+4>>2]-1|0;v[c+4>>2]=d;f:{if(d){break f}if(Ub[v[c+12>>2]](a)|0){break f}c=v[a>>2];v[c+20>>2]=25;Ub[v[c>>2]](a)}c=v[a+24>>2];d=v[c>>2];v[c>>2]=d+1;t[d|0]=b;b=v[c+4>>2]-1|0;v[c+4>>2]=b;g:{if(b){break g}if(Ub[v[c+12>>2]](a)|0){break g}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}d=v[a+76>>2];b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;d=B(d,3)+8|0;t[c|0]=d>>>8;c=v[b+4>>2]-1|0;v[b+4>>2]=c;h:{if(c){break h}if(Ub[v[b+12>>2]](a)|0){break h}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=d;c=v[b+4>>2]-1|0;v[b+4>>2]=c;i:{if(c){break i}if(Ub[v[b+12>>2]](a)|0){break i}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}if(!(v[a+64>>2]<65536&v[a+68>>2]<=65535)){b=v[a>>2];v[b+20>>2]=42;v[b+24>>2]=65535;Ub[v[v[a>>2]>>2]](a)}d=v[a+72>>2];b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=d;c=v[b+4>>2]-1|0;v[b+4>>2]=c;j:{if(c){break j}if(Ub[v[b+12>>2]](a)|0){break j}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}c=v[a+68>>2];b=v[a+24>>2];d=v[b>>2];v[b>>2]=d+1;t[d|0]=c>>>8;d=v[b+4>>2]-1|0;v[b+4>>2]=d;k:{if(d){break k}if(Ub[v[b+12>>2]](a)|0){break k}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];d=v[b>>2];v[b>>2]=d+1;t[d|0]=c;c=v[b+4>>2]-1|0;v[b+4>>2]=c;l:{if(c){break l}if(Ub[v[b+12>>2]](a)|0){break l}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}c=v[a+64>>2];b=v[a+24>>2];d=v[b>>2];v[b>>2]=d+1;t[d|0]=c>>>8;d=v[b+4>>2]-1|0;v[b+4>>2]=d;m:{if(d){break m}if(Ub[v[b+12>>2]](a)|0){break m}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];d=v[b>>2];v[b>>2]=d+1;t[d|0]=c;c=v[b+4>>2]-1|0;v[b+4>>2]=c;n:{if(c){break n}if(Ub[v[b+12>>2]](a)|0){break n}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}d=v[a+76>>2];b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=d;c=v[b+4>>2]-1|0;v[b+4>>2]=c;o:{if(c){break o}if(Ub[v[b+12>>2]](a)|0){break o}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}if(v[a+76>>2]>=1){b=v[a+84>>2];c=0;while(1){f=v[b>>2];d=v[a+24>>2];e=v[d>>2];v[d>>2]=e+1;t[e|0]=f;e=v[d+4>>2]-1|0;v[d+4>>2]=e;p:{if(e){break p}if(Ub[v[d+12>>2]](a)|0){break p}d=v[a>>2];v[d+20>>2]=25;Ub[v[d>>2]](a)}f=v[b+12>>2];g=v[b+8>>2];d=v[a+24>>2];e=v[d>>2];v[d>>2]=e+1;t[e|0]=f+(g<<4);e=v[d+4>>2]-1|0;v[d+4>>2]=e;q:{if(e){break q}if(Ub[v[d+12>>2]](a)|0){break q}d=v[a>>2];v[d+20>>2]=25;Ub[v[d>>2]](a)}f=v[b+16>>2];d=v[a+24>>2];e=v[d>>2];v[d>>2]=e+1;t[e|0]=f;e=v[d+4>>2]-1|0;v[d+4>>2]=e;r:{if(e){break r}if(Ub[v[d+12>>2]](a)|0){break r}d=v[a>>2];v[d+20>>2]=25;Ub[v[d>>2]](a)}b=b+88|0;c=c+1|0;if((c|0)>2]){continue}break}}s:{if(!v[a+264>>2]|v[a+376>>2]==8){break s}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=255;c=v[b+4>>2]-1|0;v[b+4>>2]=c;t:{if(c){break t}if(Ub[v[b+12>>2]](a)|0){break t}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=218;c=v[b+4>>2]-1|0;v[b+4>>2]=c;u:{if(c){break u}if(Ub[v[b+12>>2]](a)|0){break u}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;v:{if(c){break v}if(Ub[v[b+12>>2]](a)|0){break v}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=6;c=v[b+4>>2]-1|0;v[b+4>>2]=c;w:{if(c){break w}if(Ub[v[b+12>>2]](a)|0){break w}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;x:{if(c){break x}if(Ub[v[b+12>>2]](a)|0){break x}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;y:{if(c){break y}if(Ub[v[b+12>>2]](a)|0){break y}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}c=v[a+376>>2];b=v[a+24>>2];d=v[b>>2];v[b>>2]=d+1;t[d|0]=B(c,c)-1;c=v[b+4>>2]-1|0;v[b+4>>2]=c;z:{if(c){break z}if(Ub[v[b+12>>2]](a)|0){break z}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break s}if(Ub[v[b+12>>2]](a)|0){break s}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}}function aR(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;v[a+32>>2]=v[a+32>>2]+1;c=Nx(a);f=fc(36);v[f+20>>2]=c;v[f>>2]=972072;v[f+4>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;v[f+16>>2]=0;v[299999]=0;e=S(1,16)|0;c=v[299999];v[299999]=0;a:{b:{if((c|0)!=1){v[299999]=0;c=Q(3304,e|0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){c=P()|0;O()|0;dc(e);break b}v[f+24>>2]=e;v[f+28>>2]=0;v[f+32>>2]=0;e=v[a+32>>2];d=v[a+36>>2];c:{if(e>>>0>=d>>>0){break c}while(1){g=w[e|0]-9|0;if(g>>>0>23|!(1<>2]=e;if((d|0)!=(e|0)){continue}break}}e=$Q(a);if(!e){break a}d=f+32|0;while(1){Hi(c,v[e>>2],e);c=v[f+32>>2];v[(c?c+12|0:d)>>2]=e;v[(c?32:28)+f>>2]=e;v[e+12>>2]=0;v[e+8>>2]=f;e=v[a+32>>2];c=v[a+36>>2];d:{if(e>>>0>=c>>>0){break d}while(1){g=w[e|0]-9|0;if(g>>>0>23|!(1<>2]=e;if((c|0)!=(e|0)){continue}break}}e=$Q(a);if(!e){break a}c=v[f+24>>2];continue}}c=P()|0;O()|0}v[f>>2]=971168;dc(f);T(c|0);L()}c=v[a+32>>2];e=v[a+36>>2]-c|0;e:{f:{if((e|0)>=2){if(Oc(c,322672,2)){break f}v[a+32>>2]=c+2;break e}if((e|0)!=1){break e}}if(w[c|0]!=62){break e}v[a+32>>2]=c+1;e=a;a=fc(8);v[299999]=0;c=Q(3063,a|0,335582)|0;d=v[299999];v[299999]=0;g:{h:{i:{if((d|0)!=1){j=Mg(c,v[f+20>>2]);a=v[e+32>>2];c=v[e+36>>2];if(a>>>0>=c>>>0){break i}while(1){j:{d=c-a|0;g=v[j+4>>2];h=Bc(g);if((d|0)<(h|0)){break j}if(Oc(a,g,h)){break j}a=v[j>>2]+a|0;v[e+32>>2]=a;k:{if(a>>>0>=c>>>0){break k}while(1){d=w[a|0]-9|0;if(d>>>0>23|!(1<>2]=a;if((a|0)!=(c|0)){continue}break}a=c}if(w[a|0]!=62|(c-a|0)<1){break i}v[e+32>>2]=a+1;break i}l:{m:{n:{if((d|0)>=2){if(!Oc(a,322562,2)){Ox(e,f);break l}o:{if((d|0)>=9){if(Oc(a,308929,9)){break o}a=v[e+32>>2]+9|0;v[e+32>>2]=a;p:{g=v[e+36>>2];d=g-3|0;q:{if(d>>>0>a>>>0){c=a;while(1){if(!Oc(c,322655,3)){d=fc(28);v[299999]=0;g=S(1,8)|0;h=v[299999];v[299999]=0;r:{if((h|0)!=1){v[299999]=0;Y(3083,g|0,a|0,c-a|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break r}t[d+24|0]=0;v[d+20>>2]=g;v[d>>2]=972136;v[d+4>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d+16>>2]=0;Ub[v[v[f>>2]+48>>2]](f,d);v[e+32>>2]=v[e+32>>2]+3;break p}a=P()|0;O()|0;break q}a=P()|0;O()|0;dc(g);break q}c=c+1|0;v[e+32>>2]=c;if((d|0)!=(c|0)){continue}break}}v[e+32>>2]=g;d=fc(28);v[299999]=0;c=S(1,8)|0;h=v[299999];v[299999]=0;s:{if((h|0)!=1){v[299999]=0;Y(3083,c|0,a|0,g-a|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break s}t[d+24|0]=0;v[d+20>>2]=c;v[d>>2]=972136;v[d+4>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d+16>>2]=0;Ub[v[v[f>>2]+48>>2]](f,d);break p}a=P()|0;O()|0;break q}a=P()|0;O()|0;dc(c)}dc(d);T(a|0);L()}break l}if((d|0)<4){break n}}if(Oc(a,335739,4)){break n}Px(e,f);break l}if((d|0)!=1){break m}}if(w[a|0]!=60){break m}aR(e,f);break l}k=fc(8);v[299999]=0;i=S(3312,k|0)|0;a=v[299999];v[299999]=0;t:{if((a|0)!=1){c=v[e+32>>2];h=v[e+36>>2];u:{if(c>>>0>=h>>>0){break u}while(1){d=w[c|0];v:{if((d|0)!=38){a=c;if((d|0)==60){break u}while(1){w:{a=a+1|0;v[e+32>>2]=a;if(a>>>0>=h>>>0){break w}d=w[a|0];if((d|0)==60){break w}if((d|0)!=38){continue}}break}De(i,c,a-c|0);break v}d=c+1|0;v[e+32>>2]=d;a=d;if(!(h>>>0<=a>>>0|w[a|0]!=35)){a=c+2|0;v[e+32>>2]=a;d=0;x:{if(a>>>0>=h>>>0){break x}if(w[a|0]==120){a=c+3|0;v[e+32>>2]=a;y:{if(a>>>0>=h>>>0){break y}while(1){z:{c=-48;g=t[a|0];A:{if((g-48&255)>>>0<10){break A}c=-87;if((g-97&255)>>>0<6){break A}c=-55;if((g-65&255)>>>0>5){break z}}a=a+1|0;v[e+32>>2]=a;d=g+((d<<4)+c|0)|0;if((a|0)!=(h|0)){continue}break y}break}if((g|0)!=59){break y}v[e+32>>2]=a+1}Mx(i,d);break v}while(1){c=w[a|0];if((c-48&255)>>>0<=9){a=a+1|0;v[e+32>>2]=a;d=(c+B(d,10)|0)-48|0;if((a|0)!=(h|0)){continue}break x}break}if((c|0)!=59){break x}v[e+32>>2]=a+1}Mx(i,d);break v}B:{C:{while(1){g=a;a=a+1|0;v[e+32>>2]=a;if(a>>>0>=h>>>0){break C}l=w[a|0];m=l-38|0;if(m>>>0>22|!(1<>2]=a;break B}h=a-d|0}D:{E:{switch(h-2|0){case 0:if(!Oc(d,231561,2)){gd(i,60);break v}if(Oc(d,232432,2)){break D}gd(i,62);break v;case 1:if(Oc(d,242513,3)){break D}gd(i,38);break v;case 2:break E;default:break D}}if(!Oc(d,235218,4)){gd(i,39);break v}if(Oc(d,227629,4)){break D}gd(i,34);break v}De(i,c,(a-d|0)+1|0)}c=v[e+32>>2];h=v[e+36>>2];if(c>>>0>>0){continue}break}}a=fc(28);t[a+24|0]=1;v[a+20>>2]=k;v[a>>2]=972136;v[a+4>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a+16>>2]=0;Ub[v[v[f>>2]+48>>2]](f,a);break t}a=P()|0;O()|0;dc(k);T(a|0);L()}}a=v[e+32>>2];c=v[e+36>>2];if(a>>>0>>0){continue}break}break h}b=P()|0;O()|0;dc(a);T(b|0);L()}if(!j){break g}}dc(Dc(j))}}Ub[v[v[b>>2]+48>>2]](b,f)}function VHa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0;i=Qb+-64|0;Qb=i;a:{b:{c:{d:{e:{f:{if(v[v[a+4>>2]>>2]){Ub[v[v[a>>2]+36>>2]](a,b,i+56|0,i+48|0,i+40|0,i+32|0);h=A[i+56>>3];p=A[i+48>>3];q=fc(96);v[299999]=0;f=JR(q);e=v[299999];v[299999]=0;g:{if((e|0)!=1){v[f>>2]=1;e=jc(1e3);v[e>>2]=0;v[299999]=0;m=S(1,224)|0;g=v[299999];v[299999]=0;h:{i:{j:{if((g|0)==1){break j}v[299999]=0;n=ca(3055,m|0,0,f|0,0,0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break i}f=v[v[m>>2]+340>>2];v[299999]=0;f=S(f|0,n|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break j}if(!f){break g}a=v[v[a+4>>2]>>2];v[299999]=0;Qa(3045,a|0,n|0,b+1|0,72,72,0,0,1,1,0,0);a=v[299999];v[299999]=0;if((a|0)!=1){break h}}a=P()|0;O()|0;break d}a=P()|0;O()|0;dc(m);break d}v[299999]=0;o=S(3056,n|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break e}if(!o){d=4;break b}p=+(d|0)/p;u=+(c|0)/h;c=e+4|0;a=1e3;d=4;while(1){k:{v[299999]=0;b=v[v[o>>2]+8>>2];f=v[299999];v[299999]=0;l:{m:{n:{o:{p:{if((f|0)!=1){if((b|0)<=(r|0)){b=0;q:{r:{c=v[o>>2];f=v[c+8>>2];if((f|0)>=1){while(1){a=v[v[c>>2]+(b<<2)>>2];if(a){f=v[a+32>>2];v[299999]=0;uc(f);f=v[299999];v[299999]=0;if((f|0)==1){break r}f=v[a+40>>2];v[299999]=0;uc(f);f=v[299999];v[299999]=0;if((f|0)==1){break r}f=v[a+36>>2];v[299999]=0;uc(f);f=v[299999];v[299999]=0;if((f|0)==1){break r}dc(a);f=v[c+8>>2]}b=b+1|0;if((f|0)>(b|0)){continue}break}}dc(Vc(c));break q}W(0)|0;O()|0;lc();L()}dc(o);break b}v[299999]=0;l=FR(o,r);b=v[299999];v[299999]=0;if((b|0)==1){break f}if(!l){break l}f=v[v[l+48>>2]+8>>2];k=v[f>>2];b=k+4|0;s=v[l+44>>2];j=w[l+100|0];h=A[l+56>>3];f=v[f+4>>2];s:{if(!e){d=0;a=b>>>0>1e3?b:1e3;g=jc(a);c=g;break s}g=b+d|0;if(g>>>0<=a>>>0){g=e;break s}while(1){a=a<<1;if(g>>>0>a>>>0){continue}break}g=be(e,a);if(!g){g=jc(a);gc(g,e,d);dc(e)}c=d+g|0}t[c|0]=k;t[c+1|0]=k>>>8;t[c+2|0]=k>>>16;t[c+3|0]=k>>>24;e=gc(c+4|0,f,k);h=p*h*100;t:{if(h<4294967296&h>=0){c=~~h>>>0;break t}c=0}u:{v:{if(!g){b=0;a=1e3;d=jc(1e3);e=d;break v}b=b+d|0;f=b+4|0;if(f>>>0<=a>>>0){d=e+k|0;t[d|0]=c;t[d+1|0]=c>>>8;t[d+2|0]=c>>>16;t[d+3|0]=c>>>24;c=d+4|0;break u}while(1){a=a<<1;if(f>>>0>a>>>0){continue}break}d=be(g,a);if(d){e=b+d|0;t[e|0]=c;t[e+1|0]=c>>>8;t[e+2|0]=c>>>16;t[e+3|0]=c>>>24;g=d;c=e+4|0;break u}d=jc(a);e=gc(d,g,b);dc(g);e=b+e|0}t[e|0]=c;t[e+1|0]=c>>>8;t[e+2|0]=c>>>16;t[e+3|0]=c>>>24;if(!d){break p}f=b+4|0;g=d;c=e+4|0}w:{b=b+8|0;x:{if(b>>>0<=a>>>0){e=g;break x}while(1){a=a<<1;if(b>>>0>a>>>0){continue}break}e=be(g,a);if(!e){break w}c=e+f|0}t[c|0]=j;t[c+1|0]=j>>>8;t[c+2|0]=j>>>16;t[c+3|0]=j>>>24;break n}e=jc(a);b=gc(e,g,f);dc(g);c=b+f|0;break o}break f}f=0;a=1e3;e=jc(1e3);c=e}t[c|0]=j;t[c+1|0]=j>>>8;t[c+2|0]=j>>>16;t[c+3|0]=j>>>24;if(e){b=f+4|0;break n}b=0;a=1e3;e=jc(1e3);c=e;break m}d=b+4|0;c=c+4|0;if(d>>>0<=a>>>0){break m}while(1){a=a<<1;if(d>>>0>a>>>0){continue}break}c=be(e,a);if(c){e=c;c=c+b|0;break m}c=gc(jc(a),e,b);dc(e);e=c;c=c+b|0}f=s;t[c|0]=f;t[c+1|0]=f>>>8;t[c+2|0]=f>>>16;t[c+3|0]=f>>>24;c=c+4|0;d=b+4|0;g=0;if((f|0)<1){break l}while(1){v[299999]=0;IR(l,g,i+24|0,i+16|0,i+8|0,i);f=v[299999];v[299999]=0;if((f|0)==1){break k}h=u*A[i+24>>3]*100;y:{if(h<4294967296&h>=0){j=~~h>>>0;break y}j=0}k=v[v[l+32>>2]+(g<<2)>>2];z:{if(!e){d=0;a=1e3;f=jc(1e3);c=f;break z}b=b+8|0;if(b>>>0<=a>>>0){f=e;break z}while(1){a=a<<1;if(b>>>0>a>>>0){continue}break}f=be(e,a);if(!f){f=jc(a);gc(f,e,d);dc(e)}c=d+f|0}t[c|0]=j;t[c+1|0]=j>>>8;t[c+2|0]=j>>>16;t[c+3|0]=j>>>24;h=p*A[i+16>>3]*100;A:{if(h<4294967296&h>=0){e=~~h>>>0;break A}e=0}B:{C:{D:{E:{if(!f){c=0;a=1e3;d=jc(1e3);f=d;break E}b=d+8|0;if(b>>>0<=a>>>0){break D}c=d+4|0;while(1){a=a<<1;if(b>>>0>a>>>0){continue}break}d=be(f,a);if(d){c=c+d|0;t[c|0]=e;t[c+1|0]=e>>>8;t[c+2|0]=e>>>16;t[c+3|0]=e>>>24;c=c+4|0;f=d;break C}d=jc(a);b=gc(d,f,c);dc(f);f=b+c|0}t[f|0]=e;t[f+1|0]=e>>>8;t[f+2|0]=e>>>16;t[f+3|0]=e>>>24;if(d){b=c+4|0;c=f+4|0;f=d;break C}b=0;a=1e3;e=jc(1e3);c=e;break B}t[c+4|0]=e;t[c+5|0]=e>>>8;t[c+6|0]=e>>>16;t[c+7|0]=e>>>24;c=c+8|0}d=b+4|0;if(d>>>0<=a>>>0){e=f;break B}while(1){a=a<<1;if(d>>>0>a>>>0){continue}break}e=be(f,a);if(!e){e=jc(a);gc(e,f,b);dc(f)}c=b+e|0}d=k;t[c|0]=d;t[c+1|0]=d>>>8;t[c+2|0]=d>>>16;t[c+3|0]=d>>>24;c=c+4|0;d=b+4|0;g=g+1|0;if((s|0)!=(g|0)){continue}break}}r=r+1|0;continue}break}break f}a=P()|0;O()|0;dc(q);T(a|0);L()}Ub[v[v[m>>2]+4>>2]](n);dc(q);dc(e)}e=0;break a}a=P()|0;O()|0;if(!e){break c}break d}a=P()|0;O()|0}dc(e)}T(a|0);L()}t[e|0]=d;t[e+1|0]=d>>>8;t[e+2|0]=d>>>16;t[e+3|0]=d>>>24;Ub[v[v[m>>2]+4>>2]](n);dc(q)}Qb=i- -64|0;return e|0}function AAa(a,b){a=a|0;b=b|0;var 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;h=Qb-16|0;Qb=h;v[h+4>>2]=0;i=h+12|0;hF(v[a+20>>2],i);a:{if(!ki(v[a+20>>2],i,h+8|0,h+4|0)){break a}while(1){if(yd(v[b+4>>2],v[v[h+8>>2]+4>>2])){b=v[h+12>>2];if(b){dc(b)}v[h+12>>2]=0;break a}v[h+4>>2]=0;if(ki(v[a+20>>2],h+12|0,h+8|0,h+4|0)){continue}break}}b=v[h+4>>2];b:{if(!b){break b}p=pT(v[a+420>>2],b);if(p){break b}p=0;e=Qb-352|0;Qb=e;c:{d:{e:{l=v[h+4>>2];m=cl(v[l+4>>2],240511);f:{if(!m){v[e>>2]=l;kc(1,-1,345322,e);break f}i=4096;k=ed(4096,4);ic(k,0,16384);g:{if(!Tp(e+96|0,256,m)){break g}h:while(1){d=v[e+64>>2];while(1){q=q+1|0;i:{b=Xf(e+96|0,357665);if(!b){break i}j=0;c=0;f=Bc(b);if((f|0)>=1){while(1){g=v[(w[b+c|0]<<2)+893504>>2];if((g|0)<0){break i}j=g+(j<<4)|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}b=Xf(0,357665);if(!b){break i}d=0;c=0;j:{k:{l:{f=Bc(b);if((f|0)>=1){while(1){g=v[(w[b+c|0]<<2)+893504>>2];if((g|0)<0){break l}d=g+(d<<4)|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}v[e+64>>2]=d;f=Xf(0,357665);if(f){break k}d=1;break j}v[e+36>>2]=l;v[e+32>>2]=q;kc(0,-1,345122,e+32|0);break i}g=Bc(f);v[e+68>>2]=0;m:{n:{if((g|0)>=1){c=0;b=0;d=v[(w[f|0]<<2)+893504>>2];if((d|0)<0){b=v[e+68>>2];break n}while(1){o:{b=(b<<4)+d|0;c=c+1|0;if((g|0)==(c|0)){break o}d=v[(w[c+f|0]<<2)+893504>>2];if((d|0)>=0){continue}break n}break}v[e+68>>2]=b}f=Xf(0,357665);if(!f){d=2;break j}g=Bc(f);v[e+72>>2]=0;p:{q:{if((g|0)>=1){c=0;b=0;d=v[(w[f|0]<<2)+893504>>2];if((d|0)<0){b=v[e+72>>2];break q}while(1){r:{b=(b<<4)+d|0;c=c+1|0;if((g|0)==(c|0)){break r}d=v[(w[c+f|0]<<2)+893504>>2];if((d|0)>=0){continue}break q}break}v[e+72>>2]=b}f=Xf(0,357665);if(!f){d=3;break j}g=Bc(f);v[e+76>>2]=0;s:{if((g|0)>=1){c=0;b=0;d=v[(w[f|0]<<2)+893504>>2];if((d|0)<0){b=v[e+76>>2];break s}while(1){t:{b=(b<<4)+d|0;c=c+1|0;if((g|0)==(c|0)){break t}d=v[(w[c+f|0]<<2)+893504>>2];if((d|0)>=0){continue}break s}break}v[e+76>>2]=b}f=Xf(0,357665);if(!f){d=4;break j}g=Bc(f);v[e+80>>2]=0;u:{if((g|0)>=1){c=0;b=0;d=v[(w[f|0]<<2)+893504>>2];if((d|0)<0){b=v[e+80>>2];break u}while(1){v:{b=(b<<4)+d|0;c=c+1|0;if((g|0)==(c|0)){break v}d=v[(w[c+f|0]<<2)+893504>>2];if((d|0)>=0){continue}break u}break}v[e+80>>2]=b}f=Xf(0,357665);if(!f){d=5;break j}g=Bc(f);v[e+84>>2]=0;w:{if((g|0)>=1){c=0;b=0;d=v[(w[f|0]<<2)+893504>>2];if((d|0)<0){b=v[e+84>>2];break w}while(1){x:{b=(b<<4)+d|0;c=c+1|0;if((g|0)==(c|0)){break x}d=v[(w[c+f|0]<<2)+893504>>2];if((d|0)>=0){continue}break w}break}v[e+84>>2]=b}f=Xf(0,357665);if(!f){d=6;break j}g=Bc(f);v[e+88>>2]=0;y:{if((g|0)>=1){c=0;b=0;d=v[(w[f|0]<<2)+893504>>2];if((d|0)<0){b=v[e+88>>2];break y}while(1){z:{b=(b<<4)+d|0;c=c+1|0;if((g|0)==(c|0)){break z}d=v[(w[c+f|0]<<2)+893504>>2];if((d|0)>=0){continue}break y}break}v[e+88>>2]=b}f=Xf(0,357665);if(!f){d=7;break j}g=Bc(f);v[e+92>>2]=0;d=8;if((g|0)<1){break j}c=0;b=0;r=v[(w[f|0]<<2)+893504>>2];A:{if((r|0)<0){b=v[e+92>>2];break A}while(1){b=(b<<4)+r|0;c=c+1|0;if((g|0)==(c|0)){break p}r=v[(w[c+f|0]<<2)+893504>>2];if((r|0)>=0){continue}break}}v[e+92>>2]=b;d=7;break m}v[e+88>>2]=b;d=6;break m}v[e+84>>2]=b;d=5;break m}v[e+80>>2]=b;d=4;break m}v[e+76>>2]=b;d=3;break m}v[e+72>>2]=b;d=2;break m}v[e+92>>2]=b;break j}v[e+68>>2]=b;d=1}v[e+52>>2]=l;v[e+48>>2]=q;kc(0,-1,345122,e+48|0)}b=i;if(j>>>0>=b>>>0){while(1){c=b;b=b<<1;if(c>>>0<=j>>>0){continue}break}k=pd(k,c,4);ic(k+(i<<2)|0,0,c-i<<2);i=c}c=(d|0)!=1;B:{if(!c){v[(j<<2)+k>>2]=v[e+64>>2];break B}v[(j<<2)+k>>2]=0;if((n|0)==(s|0)){s=n+16|0;t=pd(t,s,40)}b=B(n,40)+t|0;v[b>>2]=j;v[b+4>>2]=v[e+64>>2];C:{if(!c){break C}v[b+8>>2]=v[e+68>>2];if((d|0)==2){break C}v[b+12>>2]=v[e+72>>2];if((d|0)==3){break C}v[b+16>>2]=v[e+76>>2];if((d|0)==4){break C}v[b+20>>2]=v[e+80>>2];if((d|0)==5){break C}v[b+24>>2]=v[e+84>>2];if((d|0)==6){break C}v[b+28>>2]=v[e+88>>2];if((d|0)==7){break C}v[b+32>>2]=v[e+92>>2]}v[b+36>>2]=d;n=n+1|0}o=j>>>0>>0?o:j+1|0;if(Tp(e+96|0,256,m)){continue h}break g}v[e+20>>2]=l;v[e+16>>2]=q;kc(0,-1,345122,e+16|0);if(Tp(e+96|0,256,m)){continue}break}break}v[e+64>>2]=d}Be(m);c=fc(28);v[299999]=0;i=S(1,8)|0;b=v[299999];v[299999]=0;if((b|0)==1){break e}v[299999]=0;Q(3064,i|0,l|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){b=P()|0;O()|0;dc(i);break d}v[c+8>>2]=o;v[c>>2]=i;v[299999]=0;b=Q(3364,o|0,4)|0;i=v[299999];v[299999]=0;if((i|0)==1){break e}v[c+4>>2]=b;gc(b,k,o<<2);v[c+24>>2]=1;v[c+20>>2]=s;v[c+16>>2]=n;v[c+12>>2]=t;uc(k)}Qb=e+352|0;b=c;break c}b=P()|0;O()|0}dc(c);T(b|0);L()}if(!b){break b}oT(v[a+420>>2],b);p=b}Qb=h+16|0;return p|0}function Zsa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;f=Qb-80|0;Qb=f;j=f- -64|0;v[j>>2]=0;v[j+4>>2]=0;t[j+8|0]=0;v[299999]=0;e=rj(a);g=v[299999];v[299999]=0;h=1;a:{b:{c:{if((g|0)==1){break c}d:{e:{f:{g:{h:{if(!e){break h}v[299999]=0;V(4145,f+32|0,a|0);h=v[299999];v[299999]=0;if((h|0)==1){break d}v[299999]=0;h=Q(4160,f+48|0,f+32|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break f}v[299999]=0;uf(j,h);e=v[299999];v[299999]=0;if((e|0)==1){break g}xc(h);if(t[f+43|0]<=-1){dc(v[f+32>>2])}h=1;i:{j:{k:{while(1){v[299999]=0;e=v[j+4>>2];g=v[299999];v[299999]=0;if((g|0)==1){break b}l:{m:{n:{o:{if(e){v[299999]=0;e=md(j,979572);g=v[299999];v[299999]=0;if((g|0)==1){break b}p:{if(e&(d|0)!=0){v[299999]=0;V(4150,f+48|0,a|0);e=v[299999];v[299999]=0;q:{if((e|0)!=1){v[299999]=0;U(4204,d|0,f+48|0,1);e=v[299999];v[299999]=0;if((e|0)==1){break q}if(t[f+59|0]>-1){break p}dc(v[f+48>>2]);break p}a=P()|0;O()|0;break a}a=P()|0;O()|0;if(t[f+59|0]>-1){break a}dc(v[f+48>>2]);break a}v[299999]=0;e=md(j,979660);g=v[299999];v[299999]=0;if((g|0)==1){break b}if(e){v[299999]=0;V(4150,f+48|0,a|0);e=v[299999];v[299999]=0;r:{if((e|0)!=1){v[299999]=0;U(4204,b|0,f+48|0,1);e=v[299999];v[299999]=0;if((e|0)==1){break r}if(t[f+59|0]>-1){break p}dc(v[f+48>>2]);break p}a=P()|0;O()|0;break a}a=P()|0;O()|0;if(t[f+59|0]>-1){break a}dc(v[f+48>>2]);break a}v[299999]=0;e=md(j,979692);g=v[299999];v[299999]=0;if((g|0)==1){break b}if(e){v[299999]=0;V(4150,f+48|0,a|0);e=v[299999];v[299999]=0;s:{if((e|0)!=1){v[299999]=0;U(4204,c|0,f+48|0,1);e=v[299999];v[299999]=0;if((e|0)==1){break s}if(t[f+59|0]>-1){break p}dc(v[f+48>>2]);break p}a=P()|0;O()|0;break a}a=P()|0;O()|0;if(t[f+59|0]>-1){break a}dc(v[f+48>>2]);break a}v[299999]=0;e=md(j,979732);g=v[299999];v[299999]=0;if((g|0)==1){break b}if(!e){break p}v[299999]=0;V(4150,f+32|0,a|0);h=v[299999];v[299999]=0;if((h|0)==1){break o}v[299999]=0;e=Q(4160,f+48|0,f+32|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break n}if(t[f+43|0]<=-1){dc(v[f+32>>2])}v[299999]=0;h=md(e,979768);g=v[299999];v[299999]=0;if((g|0)==1){break m}xc(e)}v[299999]=0;e=Ji(a);g=v[299999];v[299999]=0;if((g|0)==1){break b}if(e){break l}}v[299999]=0;_i(a);d=v[299999];v[299999]=0;if((d|0)==1){break c}h=h&1;break h}a=P()|0;O()|0;break a}a=P()|0;O()|0;if(t[f+43|0]>-1){break a}dc(v[f+32>>2]);break a}a=P()|0;O()|0;xc(e);break a}v[299999]=0;V(4145,f+32|0,a|0);e=v[299999];v[299999]=0;if((e|0)!=1){v[299999]=0;e=Q(4160,f+48|0,f+32|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break k}v[299999]=0;uf(j,e);g=v[299999];v[299999]=0;if((g|0)==1){break j}xc(e);if(t[f+43|0]>-1){continue}dc(v[f+32>>2]);continue}break}a=P()|0;O()|0;break a}a=P()|0;O()|0;break i}a=P()|0;O()|0;xc(e)}if(t[f+43|0]>-1){break a}dc(v[f+32>>2]);break a}v[299999]=0;d=ph(a);e=v[299999];v[299999]=0;if((e|0)==1){break c}t:{u:{v:{w:{x:{if(d){break x}v[f+56>>2]=0;v[f+48>>2]=0;v[f+52>>2]=0;v[299999]=0;d=f+32|0;v[d>>2]=0;v[d+4>>2]=0;t[d+8|0]=0;e=v[299999];v[299999]=0;if((e|0)==1){break u}v[299999]=0;g=wg(a);e=v[299999];v[299999]=0;if((e|0)==1){break w}y:{while(1){z:{v[299999]=0;e=Q(4155,a|0,g|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break z}if(!e){break y}v[299999]=0;V(4145,f|0,a|0);e=v[299999];v[299999]=0;A:{B:{C:{D:{if((e|0)!=1){v[299999]=0;e=Q(4160,f+16|0,f|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break D}v[299999]=0;uf(d,e);i=v[299999];v[299999]=0;if((i|0)==1){break C}xc(e);if(t[f+11|0]<=-1){dc(v[f>>2])}v[299999]=0;e=md(d,979800);i=v[299999];v[299999]=0;if((i|0)==1){break z}if(!e){break A}v[299999]=0;e=v[c+4>>2];i=v[299999];v[299999]=0;if((i|0)==1){break z}if(e){break A}v[299999]=0;U(4176,a|0,c|0,0);e=v[299999];v[299999]=0;if((e|0)!=1){continue}break z}a=P()|0;O()|0;break v}a=P()|0;O()|0;break B}a=P()|0;O()|0;xc(e)}if(t[f+11|0]>-1){break v}dc(v[f>>2]);break v}v[299999]=0;e=md(d,979892);i=v[299999];v[299999]=0;if((i|0)==1){break z}if(!e){continue}v[299999]=0;e=v[b+4>>2];i=v[299999];v[299999]=0;if((i|0)==1){break z}if(e){continue}v[299999]=0;U(4311,a|0,f+48|0,h|0);e=v[299999];v[299999]=0;if((e|0)!=1){continue}}break}a=P()|0;O()|0;break v}v[299999]=0;$(4184,b|0,(t[f+59|0]<0?v[f+48>>2]:f+48|0)|0,1,-1);a=v[299999];v[299999]=0;if((a|0)==1){break w}xc(d);if(t[f+59|0]>-1){break x}dc(v[f+48>>2])}xc(j);Qb=f+80|0;return}a=P()|0;O()|0}xc(d);break t}a=P()|0;O()|0}if(t[f+59|0]>-1){break a}dc(v[f+48>>2]);break a}a=P()|0;O()|0;xc(h);break e}a=P()|0;O()|0}if(t[f+43|0]>-1){break a}dc(v[f+32>>2]);break a}a=P()|0;O()|0;break a}a=P()|0;O()|0;break a}a=P()|0;O()|0}xc(j);T(a|0);L()}function A$(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,y=0,z=0,A=0,C=0;n=Qb-80|0;Qb=n;e=Fv(b,c);a:{if(e){break a}a=v[b+2740>>2];if(!(a&1)){e=z$(b,0);if(e){break a}y$(b,d,0);a=v[b+2740>>2]}if(!(a&2)){e=z$(b,1);if(e){break a}y$(b,d,1)}a=1;while(1){b:{e=v[b+2740>>2];o=a;c:{d:{if(a){if(e&1){break c}if(v[d+24>>2]|e&8){break d}x$(n+16|0,b,n+12|0,n+8|0);e=v[b+24>>2];if((e|0)<1){break c}a=v[b+28>>2];e=a+B(e,40)|0;j=v[n+8>>2];f=v[n+12>>2];while(1){A=a,C=Ac(u[a+12>>1],f)+j|0,v[A+16>>2]=C;a=a+40|0;if(e>>>0>a>>>0){continue}break}break c}if(e&2){break b}}r=B(l,1348)+b|0;z=r- -64|0;j=v[z>>2];p=v[r+56>>2];k=j+B(p,44)|0;i=0;a=j;s=(p|0)<1;if(!s){while(1){e=w[a+12|0];e:{if(e&4){break e}f=v[a+24>>2];g=v[a+20>>2];f:{g:{if(!g){if(!f){break e}e=v[f+20>>2];if(!e){break e}g=v[e+8>>2];v[f+8>>2]=g;t[f+12|0]=w[f+12|0]|4;e=f;f=a;break g}g=v[g+8>>2];t[a+12|0]=e|4;v[a+8>>2]=g;if(!f){break f}e=a;if(v[f+20>>2]){break f}}A=f,C=qA(b,l,v[f+4>>2]-v[e+4>>2]|0)+g|0,v[A+8>>2]=C;t[f+12|0]=w[f+12|0]|4}i=i?i:a}g=0;a=a+44|0;if(k>>>0>a>>>0){continue}break}a=j;f=i;m=0;e=0;i=0;while(1){y=w[a+12|0];h:{if(y&4){break h}h=v[a+24>>2];if(!h){i=i+1|0;break h}i:{if(!(e&255)){break i}q=m- -64|0;if((q|0)<=v[a+8>>2]&(q|0)<=v[h+8>>2]){break i}i=i+1|0;break h}if(v[h+20>>2]){q=v[h+8>>2];h=qA(b,l,v[a+4>>2]-v[h+4>>2]|0);t[a+12|0]=y|4;v[a+8>>2]=h+q;break h}if(a>>>0>h>>>0){e=v[h+8>>2];h=qA(b,l,v[a+4>>2]-v[h+4>>2]|0);t[a+12|0]=y|4;m=e+h|0;v[a+8>>2]=m;e=1;break h}j:{if(!((f|0)!=0|l)){g=w$(b,a,h,0,0);break j}w$(b,a,h,g,l)}t[a+12|0]=w[a+12|0]|4;t[h+12|0]=w[h+12|0]|4;m=v[h+8>>2];e=1;f=a}a=a+44|0;if(k>>>0>a>>>0){continue}break}}k:{if(!o){break k}e=4;f=2;a=j;l:{switch(p-6|0){case 6:a=j+44|0;e=9;f=5;break;case 0:break l;default:break k}}if(v[a+24>>2]!=(a+44|0)){break k}g=j+B(f,44)|0;if(v[g+24>>2]!=(g+44|0)){break k}h=B(e,44);f=h+j|0;e=v[f+24>>2];if((e|0)!=(h+(j+44|0)|0)){break k}m=(v[g+4>>2]<<1)-(v[a+4>>2]+v[f+4>>2]|0)|0;h=m>>31;if((h^h+m)>>>0>7){break k}h=v[f+8>>2];a=(v[g+8>>2]<<1)-v[a+8>>2]|0;v[f+8>>2]=a;a=h-a|0;if(e){v[e+8>>2]=v[e+8>>2]-a}if((p|0)==12){v[j+360>>2]=v[j+360>>2]-a;v[j+492>>2]=v[j+492>>2]-a}t[f+12|0]=w[f+12|0]|4;if(!e){break k}t[e+12|0]=w[e+12|0]|4}m:{if(!i){break m}a=j;if(s){break m}while(1){f=w[a+12|0];n:{if(f&4){break n}e=v[a+28>>2];if(!e){break n}g=v[e+8>>2];e=v[e+4>>2];t[a+12|0]=f|4;v[a+8>>2]=v[a+4>>2]+(g-e|0);i=i-1|0}a=a+44|0;if(k>>>0>a>>>0){continue}break}if(!i){break m}e=j;if(s){break m}while(1){a=e;o:{if(w[a+12|0]&4){break o}while(1){f=a;a=a-44|0;h=j>>>0>a>>>0;if(!(w[f-32|0]&4?1:h)){continue}break}i=e;m=e;p:{q:{r:{while(1){g=i;i=g+44|0;if(k>>>0<=i>>>0){break r}if(!(w[g+56|0]&4)){continue}break}if(a>>>0>=j>>>0){break q}h=v[e+4>>2]+(v[g+52>>2]-v[g+48>>2]|0)|0;break p}if(h){break o}h=v[e+4>>2]+(v[f-36>>2]-v[f-40>>2]|0)|0;break p}i=x[i>>1];a=x[a>>1];h=v[f-36>>2];if((i|0)==(a|0)){break p}a=a<<16>>16;f=v[f-36>>2];h=jd(u[e>>1]-a|0,v[g+52>>2]-f|0,(i<<16>>16)-a|0)+f|0}v[m+8>>2]=h}e=e+44|0;if(k>>>0>e>>>0){continue}break}}g=v[z>>2];a=v[r+56>>2];j=g+B(a,44)|0;s:{t:{if(l|o){if((a|0)<=0){break s}if(v[b+2744>>2]&(o?1:2)){if(o){while(1){f=v[g+8>>2];h=v[g+36>>2];e=h;while(1){i=e+36|0;k=v[e+40>>2];while(1){a=v[i>>2];v[a+16>>2]=f;u[a>>1]=x[a>>1]|4;i=a+32|0;if((a|0)!=(k|0)){continue}break}e=v[e+16>>2];if((h|0)!=(e|0)){continue}break}g=g+44|0;if(j>>>0>g>>>0){continue}break s}}while(1){f=v[g+8>>2];h=v[g+36>>2];e=h;while(1){i=e+36|0;k=v[e+40>>2];while(1){a=v[i>>2];v[a+20>>2]=f;u[a>>1]=x[a>>1]|8;i=a+32|0;if((a|0)!=(k|0)){continue}break}e=v[e+16>>2];if((h|0)!=(e|0)){continue}break}g=g+44|0;if(j>>>0>g>>>0){continue}break}break s}if(!o){break t}while(1){f=v[g+8>>2]-v[g+4>>2]|0;h=v[g+36>>2];e=h;while(1){i=e+36|0;k=v[e+40>>2];while(1){a=v[i>>2];v[a+16>>2]=f+v[a+16>>2];u[a>>1]=x[a>>1]|4;i=a+32|0;if((a|0)!=(k|0)){continue}break}e=v[e+16>>2];if((h|0)!=(e|0)){continue}break}g=g+44|0;if(j>>>0>g>>>0){continue}break}break s}if((a|0)<1){break s}}while(1){f=v[g+8>>2]-v[g+4>>2]|0;h=v[g+36>>2];e=h;while(1){i=e+36|0;k=v[e+40>>2];while(1){a=v[i>>2];v[a+20>>2]=f+v[a+20>>2];u[a>>1]=x[a>>1]|8;i=a+32|0;if((a|0)!=(k|0)){continue}break}e=v[e+16>>2];if((h|0)!=(e|0)){continue}break}g=g+44|0;if(j>>>0>g>>>0){continue}break}}iI(b,l);hI(b,l)}l=1;a=0;if(o){continue}}break}d=v[b+24>>2];if((d|0)<1){e=0;break a}a=v[b+28>>2];b=a+B(d,40)|0;i=v[c+4>>2];f=v[c+8>>2];while(1){v[i>>2]=v[a+16>>2];v[i+4>>2]=v[a+20>>2];e=0;c=x[a>>1];t[f|0]=c&1?0:c&2?2:1;f=f+1|0;i=i+8|0;a=a+40|0;if(b>>>0>a>>>0){continue}break}}Qb=n+80|0;return e|0}function iPa(a,b){a=a|0;b=b|0;var 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,x=0,z=0,A=0,B=0,C=0;d=Qb-80|0;Qb=d;c=v[a>>2];e=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);c=c+4|0;v[a>>2]=c;cn(d- -64|0,c,e);c=e+v[a>>2]|0;v[a>>2]=c;f=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);e=c+4|0;v[a>>2]=e;c=0;v[d+56>>2]=0;v[d+48>>2]=0;v[d+52>>2]=0;a:{b:{c:{d:{e:{if((f|0)>0){while(1){g=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24);e=e+4|0;v[a>>2]=e;v[299999]=0;U(1564,d+32|0,e|0,g|0);e=v[299999];v[299999]=0;if((e|0)==1){break e}v[a>>2]=g+v[a>>2];e=v[d+52>>2];f:{if(e>>>0>2]){g=v[d+36>>2];v[e>>2]=v[d+32>>2];v[e+4>>2]=g;v[e+8>>2]=v[d+40>>2];v[d+52>>2]=e+12;break f}v[299999]=0;V(2648,d+48|0,d+32|0);e=v[299999];v[299999]=0;if((e|0)==1){break d}if(t[d+43|0]>-1){break f}dc(v[d+32>>2])}e=v[a>>2];c=c+1|0;if((f|0)!=(c|0)){continue}break}}c=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24);e=e+4|0;v[a>>2]=e;v[299999]=0;U(1564,d+32|0,e|0,c|0);e=v[299999];v[299999]=0;if((e|0)!=1){break c}c=P()|0;O()|0;break b}c=P()|0;O()|0;break b}c=P()|0;O()|0;if(t[d+43|0]>-1){break b}dc(v[d+32>>2]);break b}v[a>>2]=c+v[a>>2];t[d+27|0]=1;v[299999]=0;tc(d+16|0,467532,1);c=v[299999];v[299999]=0;g:{h:{i:{j:{k:{l:{if((c|0)!=1){v[d+20>>2]=0;t[d+11|0]=1;v[299999]=0;tc(d,467540,1);c=v[299999];v[299999]=0;if((c|0)!=1){v[299999]=0;v[d+4>>2]=0;U(2649,d+32|0,d+16|0,d|0);c=v[299999];v[299999]=0;if((c|0)==1){break h}if(t[d+11|0]<=-1){dc(v[d>>2])}if(t[d+27|0]<=-1){dc(v[d+16>>2])}c=v[a>>2];e=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);v[a>>2]=c+4;f=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);v[a>>2]=c+8;g=w[c+8|0]|w[c+9|0]<<8|(w[c+10|0]<<16|w[c+11|0]<<24);v[a>>2]=c+12;k=w[c+12|0]|w[c+13|0]<<8|(w[c+14|0]<<16|w[c+15|0]<<24);v[a>>2]=c+16;i=w[c+16|0]|w[c+17|0]<<8|(w[c+18|0]<<16|w[c+19|0]<<24);h=c+20|0;v[a>>2]=h;u[d+8>>1]=w[c+28|0]|w[c+29|0]<<8;j=w[c+24|0]|w[c+25|0]<<8|(w[c+26|0]<<16|w[c+27|0]<<24);v[d>>2]=w[c+20|0]|w[c+21|0]<<8|(w[c+22|0]<<16|w[c+23|0]<<24);v[d+4>>2]=j;c=i+h|0;v[a>>2]=c;i=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);v[a>>2]=c+4;h=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);v[a>>2]=c+8;j=w[c+8|0]|w[c+9|0]<<8|(w[c+10|0]<<16|w[c+11|0]<<24);v[a>>2]=c+12;l=w[c+12|0]|w[c+13|0]<<8|(w[c+14|0]<<16|w[c+15|0]<<24);v[a>>2]=c+16;m=w[c+16|0]|w[c+17|0]<<8|(w[c+18|0]<<16|w[c+19|0]<<24);v[a>>2]=c+20;n=w[c+20|0]|w[c+21|0]<<8|(w[c+22|0]<<16|w[c+23|0]<<24);v[a>>2]=c+24;o=w[c+24|0]|w[c+25|0]<<8;v[a>>2]=c+26;p=w[c+26|0]|w[c+27|0]<<8;v[a>>2]=c+28;q=(w[c+28|0]|w[c+29|0]<<8)<<16>>16;v[a>>2]=c+30;r=(w[c+30|0]|w[c+31|0]<<8)<<16>>16;v[a>>2]=c+32;s=(w[c+32|0]|w[c+33|0]<<8)<<16>>16;v[a>>2]=c+34;x=(w[c+34|0]|w[c+35|0]<<8)<<16>>16;v[a>>2]=c+36;z=(w[c+36|0]|w[c+37|0]<<8)<<16>>16;v[a>>2]=c+38;A=(w[c+38|0]|w[c+39|0]<<8)<<16>>16;v[a>>2]=c+40;B=(w[c+40|0]|w[c+41|0]<<8)<<16>>16;v[a>>2]=c+42;C=(w[c+42|0]|w[c+43|0]<<8)<<16>>16;v[a>>2]=c+44;if((gj(d+32|0,47,0)|0)==-1){v[299999]=0;U(2650,d+16|0,b|0,d+32|0);a=v[299999];v[299999]=0;if((a|0)==1){break i}if(t[d+43|0]<=-1){dc(v[d+32>>2])}v[d+40>>2]=v[d+24>>2];a=v[d+20>>2];v[d+32>>2]=v[d+16>>2];v[d+36>>2]=a}v[299999]=0;a=S(1,124)|0;b=v[299999];v[299999]=0;if((b|0)==1){break k}t[d+27|0]=0;v[d+16>>2]=0;v[299999]=0;e=Ta(2651,a|0,d- -64|0,d+16|0,d+32|0,e|0,g|0,f|0,k|0,d|0,i|0,h|0,j|0,l|0,m|0,n|0,o|0,p|0,q|0,r|0,s|0,x|0,z|0,A|0,B|0,C|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break l}if(t[d+27|0]<=-1){dc(v[d+16>>2])}a=v[d+48>>2];if((a|0)==v[d+52>>2]){break j}c=e+112|0;while(1){m:{n:{b=v[e+116>>2];if((b|0)!=v[e+120>>2]){if(t[a+11|0]>=0){f=v[a+4>>2];v[b>>2]=v[a>>2];v[b+4>>2]=f;v[b+8>>2]=v[a+8>>2];break n}f=v[a+4>>2];g=v[a>>2];v[299999]=0;U(2345,b|0,g|0,f|0);f=v[299999];v[299999]=0;if((f|0)!=1){break n}c=P()|0;O()|0;v[e+116>>2]=b;break g}v[299999]=0;V(2652,c|0,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break m}c=P()|0;O()|0;break g}v[e+116>>2]=b+12}a=a+12|0;if((a|0)!=v[d+52>>2]){continue}break}break j}break a}break a}c=P()|0;O()|0;if(t[d+27|0]<=-1){dc(v[d+16>>2])}dc(a);break g}c=P()|0;O()|0;break g}if(t[d+43|0]<=-1){dc(v[d+32>>2])}b=v[d+48>>2];if(b){a=v[d+52>>2];if((b|0)==(a|0)){a=b}else{while(1){c=a-12|0;if(t[a-1|0]<=-1){dc(v[c>>2])}a=c;if((c|0)!=(b|0)){continue}break}a=v[d+48>>2]}v[d+52>>2]=b;dc(a)}if(t[d+75|0]<=-1){dc(v[d+64>>2])}Qb=d+80|0;return e|0}c=P()|0;O()|0;break g}c=P()|0;O()|0;if(t[d+11|0]<=-1){dc(v[d>>2])}if(t[d+27|0]>-1){break g}dc(v[d+16>>2])}if(t[d+43|0]>-1){break b}dc(v[d+32>>2])}Qg(d+48|0);if(t[d+75|0]<=-1){dc(v[d+64>>2])}T(c|0);L()}W(0)|0;O()|0;lc();L()}function sja(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Qb-96|0;Qb=d;e=d+40|0;gD(e,345948,c);v[299999]=0;U(4546,d+48|0,e|0,346036);c=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{if((c|0)!=1){c=v[v[b>>2]+16>>2];v[299999]=0;c=S(c|0,b|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break t}v[299999]=0;U(4546,d+56|0,d+48|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break t}v[299999]=0;U(4546,d- -64|0,d+56|0,346798);c=v[299999];v[299999]=0;if((c|0)==1){break s}v[299999]=0;U(4546,d+72|0,d- -64|0,345933);c=v[299999];v[299999]=0;if((c|0)==1){break r}v[299999]=0;U(5085,d+32|0,b+24|0,0);c=v[299999];v[299999]=0;if((c|0)==1){break q}v[299999]=0;U(4547,d+80|0,d+72|0,d+32|0);c=v[299999];v[299999]=0;if((c|0)==1){break p}v[299999]=0;U(4546,d+88|0,d+80|0,346798);c=v[299999];v[299999]=0;if((c|0)==1){break o}ec(d+80|0);ec(d+32|0);ec(d+72|0);ec(d- -64|0);ec(d+56|0);ec(d+48|0);ec(d+40|0);c=v[b+8>>2];if(!c|!v[c+8>>2]){break d}v[299999]=0;U(4423,d+72|0,346016,b+8|0);c=v[299999];v[299999]=0;if((c|0)==1){break h}v[299999]=0;U(4546,d+80|0,d+72|0,346798);c=v[299999];v[299999]=0;if((c|0)==1){break g}v[299999]=0;Q(4606,d+88|0,d+80|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break f}ec(d+80|0);ec(d+72|0);break c}b=P()|0;O()|0;break i}b=P()|0;O()|0;break j}b=P()|0;O()|0;break k}b=P()|0;O()|0;break l}b=P()|0;O()|0;break m}b=P()|0;O()|0;break n}b=P()|0;O()|0;ec(d+80|0)}ec(d+32|0)}ec(d+72|0)}ec(d- -64|0)}ec(d+56|0)}ec(d+48|0)}ec(d+40|0);T(b|0);L()}b=P()|0;O()|0;break b}b=P()|0;O()|0;break e}b=P()|0;O()|0;ec(d+80|0)}ec(d+72|0);break b}v[299999]=0;Q(4644,d+88|0,346746)|0;c=v[299999];v[299999]=0;if((c|0)!=1){break c}b=P()|0;O()|0;break b}u:{c=v[b+16>>2];if(!c|!v[c+8>>2]){break u}v[299999]=0;U(5085,d- -64|0,b+16|0,0);c=v[299999];v[299999]=0;v:{w:{x:{y:{z:{if((c|0)!=1){v[299999]=0;U(4423,d+72|0,345939,d- -64|0);c=v[299999];v[299999]=0;if((c|0)==1){break z}v[299999]=0;U(4546,d+80|0,d+72|0,346798);c=v[299999];v[299999]=0;if((c|0)==1){break y}v[299999]=0;Q(4606,d+88|0,d+80|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break x}ec(d+80|0);ec(d+72|0);ec(d- -64|0);break u}b=P()|0;O()|0;break b}b=P()|0;O()|0;break v}b=P()|0;O()|0;break w}b=P()|0;O()|0;ec(d+80|0)}ec(d+72|0)}ec(d- -64|0);break b}A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{c=v[b+48>>2];if(!((c|0)==-16777216|(c|0)==-1)){v[d+80>>2]=0;v[299999]=0;v[d+16>>2]=c;v[d+84>>2]=v[282402];c=Y(4635,d+80|0,346782,d+16|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break T}v[299999]=0;Q(4606,d+88|0,c|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break T}ec(d+80|0)}c=989259;e=v[b+32>>2]-1|0;if(e>>>0<=5){c=v[(e<<2)+990160>>2]}v[299999]=0;U(4546,d- -64|0,d+88|0,346023);e=v[299999];v[299999]=0;if((e|0)==1){break S}v[299999]=0;U(4546,d+72|0,d- -64|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break R}v[299999]=0;U(4546,d+80|0,d+72|0,346798);c=v[299999];v[299999]=0;if((c|0)==1){break Q}v[299999]=0;Q(4535,d+88|0,d+80|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break P}ec(d+80|0);ec(d+72|0);ec(d- -64|0);if(v[b+32>>2]){v[d+48>>2]=0;v[d+52>>2]=v[282402];v[d>>2]=v[b+40>>2];v[299999]=0;c=Y(4635,d+48|0,309205,d|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break M}v[299999]=0;U(4423,d+56|0,345963,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break M}v[299999]=0;U(4546,d- -64|0,d+56|0,345977);c=v[299999];v[299999]=0;if((c|0)==1){break L}c=v[b+44>>2];v[299999]=0;c=Q(4545,d+40|0,c|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break K}v[299999]=0;U(4547,d+72|0,d- -64|0,c|0);e=v[299999];v[299999]=0;if((e|0)==1){break J}v[299999]=0;U(4546,d+80|0,d+72|0,346798);e=v[299999];v[299999]=0;if((e|0)==1){break I}v[299999]=0;Q(4606,d+88|0,d+80|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break H}ec(d+80|0);ec(d+72|0);ec(c);ec(d- -64|0);ec(d+56|0);ec(d+48|0)}if(w[b+36|0]){v[299999]=0;U(4546,d+80|0,d+88|0,346763);b=v[299999];v[299999]=0;if((b|0)==1){break B}v[299999]=0;Q(4535,d+88|0,d+80|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break A}ec(d+80|0)}v[299999]=0;U(4546,a|0,d+88|0,355680);a=v[299999];v[299999]=0;if((a|0)!=1){break a}b=P()|0;O()|0;break b}b=P()|0;O()|0;ec(d+80|0);break b}b=P()|0;O()|0;break b}b=P()|0;O()|0;break N}b=P()|0;O()|0;break O}b=P()|0;O()|0;ec(d+80|0)}ec(d+72|0)}ec(d- -64|0);break b}b=P()|0;O()|0;break C}b=P()|0;O()|0;break D}b=P()|0;O()|0;break E}b=P()|0;O()|0;break F}b=P()|0;O()|0;break G}b=P()|0;O()|0;ec(d+80|0)}ec(d+72|0)}ec(c)}ec(d- -64|0)}ec(d+56|0)}ec(d+48|0);break b}b=P()|0;O()|0;break b}b=P()|0;O()|0;ec(d+80|0)}ec(d+88|0);T(b|0);L()}ec(d+88|0);Qb=d+96|0}function $ja(a){a=a|0;var 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;e=Qb-32|0;Qb=e;a:{b:{c:{h=v[a+96>>2];d:{if((h|0)<1){break d}while(1){f=i;i=f+1|0;j=v[a+128>>2];k=v[a+104>>2];e:{while(1){f:{g=v[a+116>>2];if((f|0)>=(g|0)){m=v[a+120>>2];if((m|0)>=(f|0)){break f}}a=vc(e+8|0,227445,271729,619,307344,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}p=v[a+92>>2];d=(i|0)%(p|0)|0;if(!((g|0)<=(d|0)&(d|0)<=(m|0))){a=vc(e+8|0,227445,271729,619,307344,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}b=v[a+108>>2];if(v[k+(f-b<<2)>>2]!=v[k+(d-b<<2)>>2]){break e}g:{c=v[a+140>>2];if((c|0)<=(f|0)){b=v[a+144>>2];if((b|0)>=(f|0)){break g}}a=vc(e+8|0,227445,271729,619,307344,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}if(!((c|0)<=(d|0)&(b|0)>=(d|0))){a=vc(e+8|0,227445,271729,619,307344,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}b=v[a+132>>2];if(v[j+(f-b<<2)>>2]!=v[j+(d-b<<2)>>2]){break e}h:{c=p-1|0;if((c|0)>(d|0)){c=d+1|0;if((g|0)>(c|0)|(d|0)>=(m|0)){break h}while(1){if((d|0)<(g|0)){a=vc(e+8|0,227445,271729,619,307344,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}b=v[a+108>>2];v[k+(d-b<<2)>>2]=v[k+(c-b<<2)>>2];b=c;c=v[a+140>>2];if(!(v[a+144>>2]>(d|0)&(b|0)>=(c|0))){a=vc(e+8|0,227445,271729,619,307344,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}if((c|0)>(d|0)){a=vc(e+8|0,227445,271729,619,307344,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}c=v[a+132>>2];v[j+(d-c<<2)>>2]=v[j+(b-c<<2)>>2];c=v[a+92>>2]-1|0;if((b|0)<(c|0)){c=b+1|0;g=v[a+116>>2];if((c|0)<(g|0)){break h}d=b;if((b|0)>=v[a+120>>2]){break h}continue}break}h=v[a+96>>2]}v[a+92>>2]=c;h=h-1|0;v[a+96>>2]=h;if(c){continue}break d}break}a=vc(e+8|0,227445,271729,619,307344,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}if((h|0)>(i|0)){continue}break}i=0;if((h|0)<=0){break d}m=w[a+89|0];i:while(1){f=i;p=f+2|0;i=f+1|0;n=v[a+128>>2];o=v[a+104>>2];while(1){j:{k:{l:{if((h|0)<=(i|0)?m:0){break l}m:{n:{o:{p:{q:{r:{s:{g=v[a+116>>2];if((f|0)<(g|0)){break s}q=v[a+120>>2];if((q|0)<(f|0)){break s}c=v[a+140>>2];if((c|0)>(f|0)){break r}b=v[a+144>>2];if((b|0)<(f|0)){break r}r=v[a+92>>2];d=(i|0)%(r|0)|0;if((g|0)>(d|0)|(d|0)>(q|0)){break q}if((b|0)<(d|0)|(c|0)>(d|0)){break p}l=(p|0)%(r|0)|0;if((l|0)<(g|0)|(l|0)>(q|0)){break o}if((b|0)<(l|0)|(c|0)>(l|0)){break n}j=v[a+108>>2];c=v[o+(d-j<<2)>>2];k=v[a+132>>2];b=v[n+(d-k<<2)>>2];if((B(c-v[o+(l-j<<2)>>2]|0,b-v[n+(f-k<<2)>>2]|0)|0)!=(B(b-v[n+(l-k<<2)>>2]|0,c-v[o+(f-j<<2)>>2]|0)|0)){break l}c=r-1|0;if((c|0)<=(d|0)){break j}c=d+1|0;if((g|0)>(c|0)){break c}if((d|0)<(q|0)){break m}break c}a=vc(e+8|0,227445,271729,619,307344,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}a=vc(e+8|0,227445,271729,619,307344,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}a=vc(e+8|0,227445,271729,619,307344,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}a=vc(e+8|0,227445,271729,619,307344,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}a=vc(e+8|0,227445,271729,619,307344,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}a=vc(e+8|0,227445,271729,619,307344,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}while(1){if((d|0)<(g|0)){a=vc(e+8|0,227445,271729,619,307344,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}b=v[a+108>>2];v[o+(d-b<<2)>>2]=v[o+(c-b<<2)>>2];b=c;c=v[a+140>>2];if(!(v[a+144>>2]>(d|0)&(b|0)>=(c|0))){a=vc(e+8|0,227445,271729,619,307344,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}if((c|0)>(d|0)){a=vc(e+8|0,227445,271729,619,307344,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}c=v[a+132>>2];v[n+(d-c<<2)>>2]=v[n+(b-c<<2)>>2];c=v[a+92>>2]-1|0;if((b|0)>=(c|0)){break k}c=b+1|0;g=v[a+116>>2];if((c|0)<(g|0)){break c}d=b;if((b|0)>2]){continue}break}break c}if((h|0)>(i|0)){continue i}break d}h=v[a+96>>2]}v[a+92>>2]=c;h=h-1|0;v[a+96>>2]=h;if(c){continue}break}break}}Qb=e+32|0;return}a=vc(e+8|0,227445,271729,619,307344,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function vNa(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,p=0,q=0,r=0,s=0,u=0,y=0,z=0;k=Qb-16|0;Qb=k;n=v[b+12>>2];e=v[b+8>>2];l=v[b+4>>2];p=v[a+4>>2];s=v[a+16>>2];v[k+12>>2]=s;f=v[p+24>>2];o=f+(w[p+28|0]&16?164:160)|0;g=v[l+44>>2];if(g){r=w[l+36|0];i=v[l+48>>2]}else{i=0}u=v[a+20>>2];m=(r<<24>>24)+n-((i<<24>>24)+e)|0;a:{if((m|0)<1){break a}d=w[n-1|0];b:{if((d&192)!=128){break b}h=1;if((m|0)<=1){break a}d=w[n-2|0];if((d&192)!=128){break b}if((m|0)<3){break a}h=2;d=w[n-3|0];if((d&192)==128){break a}}m=(d>>>0>191)+(d>>>0>223)|0;c:{if(d>>>0<=239){break c}m=0;if(d>>>0>253){break c}m=(d>>>0>251)+(d>>>0>247?4:3)|0}if((m|0)<=(h|0)){break a}n=(h^-1)+n|0}y=w[f+201|0];h=u-s|0;z=v[f+208>>2];s=v[f+56>>2];u=v[f+52>>2];m=v[o+28>>2];d:{if(!(!g|(h|0)<1)){t[l+36|0]=0;v[l+44>>2]=0;j=r;d=0;break d}d=1}e:{f:{g:{h:{while(1){i:{j:{k:{l:{if(!d){q=m;m:{n:{o:{p:{d=i<<24>>24;q:{if((d|0)<=j<<24>>24){break q}f=v[b+12>>2];while(1){if(e>>>0>=f>>>0){break p}o=w[e|0];if((o&192)!=128){break q}e=e+1|0;g=o+(g<<6)|0;j=(j<<24)+16777216>>24;if((d|0)>(j|0)){continue}break}j=i}f=j<<24>>24;d=(j&255)!=(i&255);if(d|(j&254)!=2){break o}d=f<<2;g=g-v[d+846544>>2]|0;if((g|0)>2]){break f}if((g&-2048)!=55296){break n}break f}d=r<<24>>24;c=j<<24>>24;e=(d-c|0)+e|0;n=i<<24>>24;r:{if((c|0)<=(d|0)){break r}i=c+(d^-1)|0;h=c-d&3;if(h){while(1){t[(d+l|0)+37|0]=w[e|0];d=d+1|0;e=e+1|0;h=h-1|0;if(h){continue}break}}if(i>>>0<3){break r}while(1){i=d+l|0;t[i+37|0]=w[e|0];t[i+38|0]=w[e+1|0];t[i+39|0]=w[e+2|0];t[i+40|0]=w[e+3|0];e=e+4|0;d=d+4|0;if((c|0)!=(d|0)){continue}break}}v[l+48>>2]=n;t[l+36|0]=j;v[l+44>>2]=g;v[b+8>>2]=e;v[a+16>>2]=v[k+12>>2];break e}if((j&255)!=4|d|g-63512704>>>0>1048575){break f}g=g-63447168|0;f=0;if(!(y&1)){break m}}f=v[u+(x[u+(g>>10<<1)>>1]+(g>>>4&63)<<2)>>2]}o=g&15;d=x[q+((f<<4&1048560|o)<<1)>>1];if(f>>>(o|16)&1){break l}if(!(w[p+35|0]|g-57344>>>0<6400)){if(g-983040>>>0>131071){break k}if(d&65535){break l}break k}if(!(d&65535)){break k}break l}if(e>>>0>=n>>>0){break h}d=e;s:{t:{while(1){if((h|0)<1){break i}e=d+1|0;f=t[d|0];g=f&255;if((f|0)<0){break t}if(!(z>>>((f&252)>>>2)&1)){break s}d=v[k+12>>2];v[k+12>>2]=d+1;t[d|0]=f;h=h-1|0;d=e;if((n|0)!=(d|0)){continue}break}e=n;break h}u:{v:{w:{x:{q=f&255;if(q>>>0>=225){o=w[e|0]^128;if(!(o>>>0<64&q>>>0<=236)&((f|0)!=-19|o>>>0>31)){break x}q=w[d+2|0]^128;if(q>>>0>63){break w}e=d+3|0;f=o|g<<6&960;d=x[m+(q+x[s+(f<<1)>>1]<<1)>>1];if(d){break l}g=q|f<<6;break k}if((f|0)==-32|(f&255)>>>0<194){break w}o=w[e|0]^128;if(o>>>0>63){break w}e=d+2|0;f=g&31;d=x[m+(o+x[s+(f<<1)>>1]<<1)>>1];if(d){break l}g=o|f<<6;break k}j=f&255;if(j>>>0>239){break v}}d=f&255;d=(d>>>0>191)+(d>>>0>223)|0;break u}d=0;if(j>>>0>253){break u}d=f&255;d=(d>>>0>247?4:3)+(d>>>0>251)|0}j=1;i=d+1|0;r=0;d=0;continue}d=x[m+(x[s>>1]+g<<1)>>1];if(!d){break k}}if((d&65535)>>>0<=255){f=v[k+12>>2];v[k+12>>2]=f+1;t[f|0]=d;h=h-1|0;break j}f=v[k+12>>2];v[k+12>>2]=f+1;t[f|0]=d>>>8;if((h|0)>=2){f=v[k+12>>2];v[k+12>>2]=f+1;t[f|0]=d;h=h-2|0;break j}t[p+63|0]=1;t[p+76|0]=d;v[c>>2]=15;break g}v[k+8>>2]=846598;d=is(p,v[v[p+24>>2]+224>>2],g,k+8|0,846598,k+12|0,v[k+12>>2]+h|0,0,-1,t[a+2|0],c);if(v[c>>2]>=1){v[p+56>>2]=d;break h}if(v[p+180>>2]>=0){v[c>>2]=-127;break h}h=v[a+20>>2]-v[k+12>>2]|0}d=1;continue}break}v[c>>2]=15;e=d;break g}if(v[c>>2]>0|v[p+180>>2]>-1){break g}c=v[b+12>>2];if(c>>>0<=e>>>0){break g}g=w[e|0];t[l+37|0]=g;h=1;d=(g>>>0>191)+(g>>>0>223)|0;y:{if(g>>>0<=239){break y}d=0;if(g>>>0>253){break y}d=(g>>>0>251)+(g>>>0>247?4:3)|0}r=d+1|0;d=e+1|0;z:{if(c>>>0<=d>>>0){c=d;break z}i=c+(e^-1)|0;j=i&3;if((c-e|0)-2>>>0>=3){n=i&-4;e=l+37|0;while(1){i=h<<24;p=w[d|0];t[e+(i>>24)|0]=p;f=w[d+1|0];t[e+(i+16777216>>24)|0]=f;m=w[d+2|0];t[e+(i+33554432>>24)|0]=m;q=e+(i+50331648>>24)|0;i=w[d+3|0];t[q|0]=i;d=d+4|0;h=h+4|0;g=i+(m+(f+(p+(g<<6)<<6)<<6)<<6)|0;n=n-4|0;if(n){continue}break}}if(j){while(1){e=w[d|0];t[((h<<24>>24)+l|0)+37|0]=e;d=d+1|0;h=h+1|0;g=e+(g<<6)|0;j=j-1|0;if(j){continue}break}}}e=c;v[l+48>>2]=r;t[l+36|0]=h;v[l+44>>2]=g}v[b+8>>2]=e;v[a+16>>2]=v[k+12>>2];break e}d=r<<24>>24;e=(d-f|0)+e|0;A:{if(j<<24>>24<=(d|0)){break A}i=f+(d^-1)|0;h=f-d&3;if(h){while(1){t[(d+l|0)+37|0]=w[e|0];d=d+1|0;e=e+1|0;h=h-1|0;if(h){continue}break}}if(i>>>0<3){break A}while(1){i=d+l|0;t[i+37|0]=w[e|0];t[i+38|0]=w[e+1|0];t[i+39|0]=w[e+2|0];t[i+40|0]=w[e+3|0];e=e+4|0;d=d+4|0;if((f|0)!=(d|0)){continue}break}}t[l+36|0]=j;v[b+8>>2]=e;v[a+16>>2]=v[k+12>>2];v[c>>2]=12}Qb=k+16|0}function HP(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=Qb-32|0;Qb=e;v[a>>2]=983368;v[299999]=0;b=ga(4695)|0;c=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{if((c|0)==1){break f}v[299999]=0;V(4719,b|0,a|0);b=v[299999];v[299999]=0;if((b|0)==1){break f}c=v[a+136>>2];if(c){while(1){b=0;f=v[c+8>>2];d=v[f+60>>2];if(d){v[299999]=0;v[d+4>>2]=v[d+4>>2]+1;b=v[299999];v[299999]=0;if((b|0)==1){break e}b=v[f+60>>2]}v[299999]=0;v[e+16>>2]=b;V(4709,b|0,0);d=v[299999];v[299999]=0;if((d|0)==1){break d}v[299999]=0;V(4710,b|0,0);d=v[299999];v[299999]=0;if((d|0)==1){break d}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(!d){v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}c=v[c>>2];if(c){continue}break}}v[299999]=0;f=a+128|0;R(4474,f|0);b=v[299999];v[299999]=0;if((b|0)!=1){break c}}W(0)|0;O()|0;break b}W(0)|0;O()|0;break b}W(0)|0;O()|0;ec(e+16|0);break b}v[299999]=0;b=ga(4695)|0;c=v[299999];v[299999]=0;if((c|0)!=1){v[299999]=0;V(4720,e+8|0,a|0);c=v[299999];v[299999]=0;if((c|0)!=1){v[299999]=0;U(4721,e+16|0,b|0,e+8|0);b=v[299999];v[299999]=0;if((b|0)!=1){ec(e+8|0);g:{h:{i:{j:{k:{c=v[e+24>>2];if(c){while(1){b=0;d=v[c+8>>2];if(d){v[299999]=0;v[d+4>>2]=v[d+4>>2]+1;b=v[299999];v[299999]=0;if((b|0)==1){break i}b=v[c+8>>2]}v[e>>2]=b;v[299999]=0;d=Q(4340,e+8|0,280961)|0;g=v[299999];v[299999]=0;if((g|0)==1){break k}g=v[v[b>>2]+8>>2];v[299999]=0;g=Q(g|0,b|0,d|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break h}ec(d);l:{if(!g){break l}v[299999]=0;V(4709,b|0,0);d=v[299999];v[299999]=0;if((d|0)!=1){v[299999]=0;V(4710,b|0,0);d=v[299999];v[299999]=0;if((d|0)!=1){break l}}W(0)|0;O()|0;ec(e);break g}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;g=v[299999];v[299999]=0;if((g|0)==1){break a}if(!d){v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}c=v[c>>2];if(c){continue}break}}v[299999]=0;ba(4722);b=v[299999];v[299999]=0;if((b|0)!=1){b=v[a+44>>2];if(!b){break j}v[299999]=0;V(4494,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break j}}W(0)|0;O()|0;break g}W(0)|0;O()|0;ec(e);break g}Ic(e+16|0);b=v[a+168>>2];v[a+168>>2]=0;m:{if(!b){break m}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break m}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}Ic(a+148|0);Ic(f);b=v[a+124>>2];v[a+124>>2]=0;n:{if(!b){break n}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break n}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}ec(a+116|0);b=v[a+112>>2];v[a+112>>2]=0;o:{if(!b){break o}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break o}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a+108>>2];v[a+108>>2]=0;p:{if(!b){break p}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break p}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a+104>>2];v[a+104>>2]=0;q:{if(!b){break q}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break q}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}Ic(a+68|0);b=v[a+52>>2];v[a+52>>2]=0;r:{if(!b){break r}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break r}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a+48>>2];v[a+48>>2]=0;s:{if(!b){break s}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break s}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a+44>>2];v[a+44>>2]=0;t:{if(!b){break t}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break t}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}v[a+8>>2]=981280;v[a+32>>2]=981312;b=v[a+36>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Ub[v[v[b>>2]+4>>2]](b)}v[a+36>>2]=0}v[a+24>>2]=981312;b=v[a+28>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Ub[v[v[b>>2]+4>>2]](b)}v[a+28>>2]=0}ec(a+16|0);Om(a);Qb=e+32|0;return a|0}W(0)|0;O()|0;break g}W(0)|0;O()|0;ec(d);ec(e)}Ic(e+16|0);break b}W(0)|0;O()|0;ec(e+8|0);break b}W(0)|0;O()|0;break b}W(0)|0;O()|0}ec(a+168|0);Ic(a+148|0);Ic(a+128|0);ec(a+124|0);ec(a+116|0);ec(a+112|0);ec(a+108|0);ec(a+104|0);Ic(a+68|0);ec(a+52|0);ec(a+48|0);ec(a+44|0);$c(a+8|0);Om(a);lc();L()}W(0)|0;O()|0;lc();L()}function xib(a,b){a=a|0;b=b|0;var 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,x=0,y=0;d=Qb-1184|0;Qb=d;if(b){Sc(4233,0)}b=0;a:{if(ap(a,d+1136|0)){break a}if(ap(a,d+1136|4)){break a}if(ap(a,d+1144|0)){break a}if(ap(a,d+1148|0)){break a}if(ap(a,d+1152|0)){break a}if(ap(a,d+1156|0)){break a}if(ap(a,d+1160|0)){break a}if(ap(a,d+1164|0)|v[d+1136>>2]!=1504078485){break a}k=v[d+1140>>2];if((k|0)<1){break a}l=v[d+1144>>2];if((l|0)<1){break a}i=v[d+1148>>2];if((i|0)<1|(i|0)>32){break a}m=v[d+1156>>2];if(!m){v[d+1152>>2]=B((B(i,k)+15|0)/16|0,l)<<1}g=3;p=1025;b:{switch(i-24|0){default:b=1;p=769;g=1;break;case 0:case 8:break b}}v[d+28>>2]=0;v[d+20>>2]=l;v[d+16>>2]=k;v[d+8>>2]=1;v[d+12>>2]=1;v[d>>2]=0;v[d+4>>2]=0;c=(i|0)==24?8:(i|0)==32?8:i;v[d+24>>2]=c;if(!b){v[d+92>>2]=0;v[d+88>>2]=c;v[d+84>>2]=l;v[d+80>>2]=k;v[d+76>>2]=1;v[d+68>>2]=0;v[d+72>>2]=1;v[d+60>>2]=0;v[d+64>>2]=0;v[d+56>>2]=c;v[d+52>>2]=l;v[d+48>>2]=k;v[d+40>>2]=1;v[d+44>>2]=1;v[d+32>>2]=0;v[d+36>>2]=0}b=0;g=Lq(g,d);if(!g){break a}c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{switch(v[d+1160>>2]){case 0:break l;case 1:break m;default:break j}}Sc(19581,0);e=1<=257){break h}c=v[d+1164>>2];if((i|0)!=31){ic(d+104|4,0,((e|0)>1?e:1)<<2)}if((c|0)<0){break j}h=(c|0)/3|0;if(c-B(h,3)|(c|0)>3<>2];if(e&7){break j}f=v[a+64>>2];if((f|0)>=0&(f|0)<=v[a+60>>2]){break k}e=v[a+28>>2];v[a+28>>2]=e-1;n:{if((e|0)>=1){v[a+60>>2]=v[a+60>>2]+1;e=v[a+24>>2];v[a+24>>2]=e+1;f=w[e|0];break n}f=Hc(a,1);if((f|0)==-1){break j}}e=(c<<2)+d|0;v[e+108>>2]=v[e+108>>2]|f&255;c=c+1|0;if((h|0)!=(c|0)){continue}break}c=0;while(1){e=v[a+8>>2];if(e&7){break j}f=v[a+64>>2];if((f|0)>=0&(f|0)<=v[a+60>>2]){break k}e=v[a+28>>2];v[a+28>>2]=e-1;o:{if((e|0)>=1){v[a+60>>2]=v[a+60>>2]+1;e=v[a+24>>2];v[a+24>>2]=e+1;f=w[e|0];break o}f=Hc(a,1);if((f|0)==-1){break j}}e=(c<<2)+d|0;v[e+108>>2]=v[e+108>>2]|f<<8&65280;c=c+1|0;if((h|0)!=(c|0)){continue}break}c=0;while(1){e=v[a+8>>2];if(e&7){break j}f=v[a+64>>2];if((f|0)>=0&(f|0)<=v[a+60>>2]){break k}e=v[a+28>>2];v[a+28>>2]=e-1;p:{if((e|0)>=1){v[a+60>>2]=v[a+60>>2]+1;e=v[a+24>>2];v[a+24>>2]=e+1;f=w[e|0];break p}f=Hc(a,1);if((f|0)==-1){break j}}e=(c<<2)+d|0;v[e+108>>2]=v[e+108>>2]|f<<16&16711680;c=c+1|0;if((h|0)!=(c|0)){continue}break}}switch(m|0){case 0:case 1:break i;case 2:break e;default:break g}}v[a+8>>2]=e|4}Wg(g);break a}c=0;h=v[g+16>>2];if((h|0)>0){q:{while(1){r:{e=yj(1,v[g+8>>2]-v[g>>2]|0);v[(d+1172|0)+(c<<2)>>2]=e;if(!e){break r}c=c+1|0;h=v[g+16>>2];if((c|0)<(h|0)){continue}break q}break}X(13861,16113,262,188585);L()}q=v[d+1180>>2];r=v[d+1176>>2];o=v[d+1172>>2]}if((l|0)<1){break d}s=(i|0)==32?-1:-1<1?k:1;c=B(i,k);u=(c+15|0)/-16<<1==((c+7|0)/-8|0);m=0;while(1){e=0;h=0;c=0;if((k|0)>0){while(1){if((c|0)<(i|0)){while(1){f=v[a+8>>2];if(f&7){break f}j=v[a+64>>2];if((j|0)>=0&(j|0)<=v[a+60>>2]){break c}f=v[a+28>>2];v[a+28>>2]=f-1;s:{if((f|0)>=1){v[a+60>>2]=v[a+60>>2]+1;f=v[a+24>>2];v[a+24>>2]=f+1;f=w[f|0];break s}f=Hc(a,1);if((f|0)==-1){break f}}h=h<<8|f;c=c+8|0;if((i|0)>(c|0)){continue}break}}c=c-i|0;x=(c|0)==32?-1:-1<>c&s;j=v[o+20>>2];t:{if(v[g+16>>2]==3){y=f&255;n=v[o+28>>2];if((j|0)==1){j=v[n>>2]+(e<<2)|0}else{j=v[n+(e<<2)>>2]}v[j>>2]=y;n=f>>>8&255;j=v[r+28>>2];if(v[r+20>>2]==1){j=v[j>>2]+(e<<2)|0}else{j=v[j+(e<<2)>>2]}v[j>>2]=n;f=f>>>16&255;j=v[q+28>>2];if(v[q+20>>2]==1){v[v[j>>2]+(e<<2)>>2]=f;break t}v[v[j+(e<<2)>>2]>>2]=f;break t}n=v[o+28>>2];if((j|0)==1){v[v[n>>2]+(e<<2)>>2]=f;break t}v[v[n+(e<<2)>>2]>>2]=f}h=h&x;e=e+1|0;if((t|0)!=(e|0)){continue}break}}u:{if(u){break u}f=v[a+8>>2];if(f&7){break f}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break c}c=v[a+28>>2];v[a+28>>2]=c-1;if((c|0)>=1){v[a+60>>2]=v[a+60>>2]+1;v[a+24>>2]=v[a+24>>2]+1;break u}if((Hc(a,1)|0)==-1){break f}}c=0;h=v[g+16>>2];if((h|0)>0){while(1){if(cj(g,c,0,m,k,1,v[(d+1172|0)+(c<<2)>>2])){break f}c=c+1|0;h=v[g+16>>2];if((c|0)<(h|0)){continue}break}}m=m+1|0;if((m|0)!=(l|0)){continue}break}break d}X(21170,16113,327,188600);L()}Sc(12297,0)}Wg(g);break a}Sc(8571,0);Wg(g);break a}a=0;if((h|0)>0){while(1){$e(v[(d+1172|0)+(a<<2)>>2]);a=a+1|0;if((a|0)>2]){continue}break}}v[g+28>>2]=p;v:{w:{switch(i-24|0){case 0:case 8:a=v[g+24>>2];v[v[a>>2]+40>>2]=0;v[v[a+4>>2]+40>>2]=1;v[v[a+8>>2]+40>>2]=2;break v;default:break w}}v[v[v[g+24>>2]>>2]+40>>2]=0}b=g;break a}v[a+8>>2]=f|4;Wg(g)}Qb=d+1184|0;return b|0}function yY(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;d=Qb-496|0;Qb=d;a:{b:{if(b){t[a+1724|0]=0;e=a+1700|0;v[e>>2]=0;v[e+4>>2]=0;e=a+1692|0;v[e>>2]=2147483647;v[e+4>>2]=2147483647;e=a+1684|0;v[e>>2]=0;v[e+4>>2]=0;e=a+1676|0;v[e>>2]=2147483647;v[e+4>>2]=2147483647;e=a+1636|0;v[e>>2]=0;v[e+4>>2]=0;v[a+2800>>2]=0;e=a+1716|0;v[e>>2]=-2147483647;v[e+4>>2]=-2147483647;e=a+1708|0;v[e>>2]=2147483647;v[e+4>>2]=2147483647;e=v[c+4>>2];v[d+488>>2]=0;v[d+480>>2]=0;v[d+484>>2]=0;v[d+472>>2]=0;v[d+476>>2]=0;xY(d+472|0,e);v[d+492>>2]=v[e+20>>2];c:{if(!w[a+2820|0]){v[299999]=0;f=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break b}v[f+4>>2]=v[a+56>>2];v[f>>2]=d+472;break c}v[299999]=0;g=S(1,48)|0;e=v[299999];v[299999]=0;if((e|0)==1){break b}e=g;v[e+8>>2]=0;v[e+12>>2]=0;v[e>>2]=0;v[e+4>>2]=1072693248;v[e+32>>2]=0;v[e+36>>2]=0;v[e+24>>2]=0;v[e+28>>2]=1072693248;v[e+16>>2]=0;v[e+20>>2]=0;v[e+40>>2]=0;v[e+44>>2]=0;v[299999]=0;f=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break b}v[f+4>>2]=g;v[f>>2]=d+472}v[d+56>>2]=0;v[d+60>>2]=0;e=d- -64|0;v[e>>2]=0;v[e+4>>2]=0;v[d+208>>2]=0;v[d+212>>2]=0;v[d+192>>2]=0;v[d+196>>2]=1072693248;v[d+72>>2]=0;v[d+76>>2]=1072693248;v[d+216>>2]=0;v[d+220>>2]=0;v[d+224>>2]=0;v[d+228>>2]=0;v[d+232>>2]=0;v[d+424>>2]=0;v[d+428>>2]=0;v[d+408>>2]=0;v[d+412>>2]=1072693248;v[d+256>>2]=0;v[d+260>>2]=1072693248;v[d+236>>2]=64;v[d+240>>2]=1;v[d+432>>2]=0;v[d+436>>2]=0;v[d+440>>2]=0;v[d+444>>2]=0;v[d+448>>2]=0;v[d+452>>2]=0;v[d+456>>2]=0;v[d+48>>2]=0;v[d+52>>2]=0;v[d+40>>2]=f;v[d+248>>2]=0;v[d+252>>2]=0;v[d+460>>2]=64;v[d+464>>2]=1;v[299999]=0;U(2370,a+1628|0,d+40|0,0);e=v[299999];v[299999]=0;d:{e:{f:{if((e|0)==1){break f}v[a+2784>>2]=w[v[c+4>>2]+24|0];v[299999]=0;e=v[b+4>>2];h=v[299999];v[299999]=0;if((h|0)==1){break f}g:{if((e|0)==2){v[299999]=0;e=v[v[b+8>>2]+12>>2];h=v[299999];v[299999]=0;h:{i:{if((h|0)!=1){v[299999]=0;h=v[v[b+8>>2]+16>>2];i=v[299999];v[299999]=0;if((i|0)==1){break i}if(!e){break d}if(h){break h}break d}a=P()|0;O()|0;break e}a=P()|0;O()|0;break e}v[d+32>>2]=0;v[d+36>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[299999]=0;v[d+8>>2]=0;v[d+12>>2]=0;MX(c,d+32|0,d+24|0,d+16|0,d+8|0);c=v[299999];v[299999]=0;j:{k:{if((c|0)!=1){A[d+16>>3]=A[d+32>>3]+A[d+16>>3];A[d+8>>3]=A[d+24>>3]+A[d+8>>3];v[299999]=0;c=S(2366,d|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break k}v[299999]=0;i=v[b+16>>2];k=v[299999];v[299999]=0;if((k|0)==1){break g}if((i|0)!=4){break j}v[299999]=0;jv(c,(A[d+16>>3]-A[d+32>>3])/+(e>>>0),(A[d+8>>3]-A[d+24>>3])/+(h>>>0),1);e=v[299999];v[299999]=0;if((e|0)!=1){break j}a=P()|0;O()|0;Cd(c);break e}a=P()|0;O()|0;break e}a=P()|0;O()|0;break e}v[299999]=0;e=v[b+16>>2];h=v[299999];v[299999]=0;if((h|0)==1){break g}l:{if((e|0)==4){break l}j=A[a+2840>>3];if(!(j>1)){break l}l=A[a+24>>3];m=A[a+32>>3];v[299999]=0;jv(c,l/j,m/j,1);e=v[299999];v[299999]=0;if((e|0)!=1){break l}a=P()|0;O()|0;Cd(c);break e}v[299999]=0;qs(c,A[d+32>>3],A[d+24>>3],1);e=v[299999];v[299999]=0;if((e|0)==1){break g}v[299999]=0;Pj(c,a+56|0,1);e=v[299999];v[299999]=0;if((e|0)==1){break g}v[299999]=0;OX(b,c);e=v[299999];v[299999]=0;if((e|0)==1){break g}Cd(c)}v[299999]=0;V(2378,a|0,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break f}dc(f);if(!g){break d}dc(g);break d}a=P()|0;O()|0;Cd(c);break e}a=P()|0;O()|0}c=v[d+448>>2];if(c){b=c-1|0;v[d+448>>2]=b;g=v[d+456>>2]+(c<<2)|0;while(1){e=d;g=g-4|0;c=v[g>>2];if(c){dc(c);b=v[d+448>>2]}c=b;b=c-1|0;v[e+448>>2]=b;if(c){continue}break}}b=v[d+456>>2];if(b){dc(b)}c=d- -64|0;e=v[c+160>>2];if(e){b=e-1|0;v[c+160>>2]=b;f=v[c+168>>2]+(e<<2)|0;while(1){g=c;f=f-4|0;e=v[f>>2];if(e){dc(e);b=v[c+160>>2]}e=b;b=e-1|0;v[g+160>>2]=b;if(e){continue}break}}b=v[c+168>>2];if(b){dc(b)}break a}b=v[d+448>>2];if(b){a=b-1|0;v[d+448>>2]=a;b=v[d+456>>2]+(b<<2)|0;while(1){e=d;b=b-4|0;c=v[b>>2];if(c){dc(c);a=v[d+448>>2]}c=a;a=c-1|0;v[e+448>>2]=a;if(c){continue}break}}a=v[d+456>>2];if(a){dc(a)}b=v[d+224>>2];if(b){a=b-1|0;v[d+224>>2]=a;b=v[d+232>>2]+(b<<2)|0;while(1){e=d;b=b-4|0;c=v[b>>2];if(c){dc(c);a=v[d+224>>2]}c=a;a=c-1|0;v[e+224>>2]=a;if(c){continue}break}}a=v[d+232>>2];if(a){dc(a)}b=v[d+476>>2];m:{if(!b){break m}a=b-1|0;v[d+476>>2]=a;b=v[d+484>>2]+(b<<2)|0;while(1){e=d;b=b-4|0;c=v[b>>2];if(c){dc(c);a=v[d+476>>2]}c=a;a=c-1|0;v[e+476>>2]=a;if(c){continue}break}a=v[d+484>>2];if(!a){break m}dc(a)}a=0}else{a=2}Qb=d+496|0;return a|0}a=P()|0;O()|0}vY(d+472|0);T(a|0);L()}function MZ(a,b,c,d,e,f,g){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,w=0,x=0,y=0,z=0,A=0;t=g?a+1032|0:a;v[t>>2]=0;q=g?a+1548|0:a+516|0;v[q>>2]=0;if(b>>>0>=2){a=1;while(1){g=c+2|0;m=a&1;p=u[(m?g:c)>>1];r=u[(m?c:g)>>1]-p|0;h=m?q:t;g=h+4|0;a=m?n:w;a:{b:{if(!a){break b}h=(h+(a<<5)|0)+4|0;while(1){i=v[g>>2];if((i|0)>(p|0)){k=a-1|0;j=a&3;if(j){while(1){i=(a<<5)+g|0;a=a-1|0;h=(a<<5)+g|0;o=v[h+4>>2];v[i>>2]=v[h>>2];v[i+4>>2]=o;l=v[h+28>>2];v[i+24>>2]=v[h+24>>2];v[i+28>>2]=l;l=v[h+20>>2];v[i+16>>2]=v[h+16>>2];v[i+20>>2]=l;l=v[h+12>>2];v[i+8>>2]=v[h+8>>2];v[i+12>>2]=l;j=j-1|0;if(j){continue}break}}if(k>>>0<3){break b}while(1){k=(a<<5)+g|0;i=k+-64|0;h=i;o=v[h>>2];s=v[h+4>>2];j=k-96|0;h=j;l=v[h+4>>2];v[i>>2]=v[h>>2];v[i+4>>2]=l;h=k-32|0;x=v[h+4>>2];v[k>>2]=v[h>>2];v[k+4>>2]=x;v[h>>2]=o;v[h+4>>2]=s;l=v[i+24>>2];o=v[i+28>>2];s=v[j+28>>2];v[i+24>>2]=v[j+24>>2];v[i+28>>2]=s;s=v[i+16>>2];x=v[i+20>>2];y=v[j+20>>2];v[i+16>>2]=v[j+16>>2];v[i+20>>2]=y;y=v[i+8>>2];A=v[i+12>>2];z=v[j+12>>2];v[i+8>>2]=v[j+8>>2];v[i+12>>2]=z;i=v[h+24>>2];z=v[h+28>>2];v[h+24>>2]=l;v[h+28>>2]=o;l=v[h+16>>2];o=v[h+20>>2];v[h+16>>2]=s;v[h+20>>2]=x;s=v[h+8>>2];x=v[h+12>>2];v[h+8>>2]=y;v[h+12>>2]=A;v[k+24>>2]=i;v[k+28>>2]=z;v[k+16>>2]=l;v[k+20>>2]=o;v[k+8>>2]=s;v[k+12>>2]=x;a=a-4|0;h=(a<<5)+g|0;i=v[h+28>>2];v[j+24>>2]=v[h+24>>2];v[j+28>>2]=i;i=v[h+20>>2];v[j+16>>2]=v[h+16>>2];v[j+20>>2]=i;i=v[h+12>>2];v[j+8>>2]=v[h+8>>2];v[j+12>>2]=i;i=v[h+4>>2];v[j>>2]=v[h>>2];v[j+4>>2]=i;if(a){continue}break}break b}if((i|0)==(p|0)){a=v[g+4>>2];if((r|0)<=-1){if((a|0)<=(r|0)){break a}v[g+4>>2]=r;break a}if((a|0)>=(r|0)){break a}v[g+4>>2]=r;break a}g=g+32|0;a=a-1|0;if(a){continue}break}g=h}v[g+4>>2]=r;v[g>>2]=p;if(!m){w=w+1|0;break a}n=n+1|0}c=c+4|0;a=0;b=b-2|0;if(b>>>0>1){continue}break}}v[t>>2]=w;v[q>>2]=n;if(d>>>0>=2){c=q+4|0;while(1){r=u[e+2>>1];k=u[e>>1]-r|0;b=c;c:{d:{if(!n){break d}b=((n<<5)+q|0)+4|0;g=c;a=n;while(1){h=v[g>>2];if((h|0)>(r|0)){i=a-1|0;j=a&3;if(j){while(1){h=(a<<5)+g|0;a=a-1|0;b=(a<<5)+g|0;p=v[b+4>>2];v[h>>2]=v[b>>2];v[h+4>>2]=p;m=v[b+28>>2];v[h+24>>2]=v[b+24>>2];v[h+28>>2]=m;m=v[b+20>>2];v[h+16>>2]=v[b+16>>2];v[h+20>>2]=m;m=v[b+12>>2];v[h+8>>2]=v[b+8>>2];v[h+12>>2]=m;j=j-1|0;if(j){continue}break}}if(i>>>0>=3){while(1){j=(a<<5)+g|0;h=j+-64|0;p=v[h>>2];l=v[h+4>>2];i=j-96|0;b=i;m=v[b+4>>2];v[h>>2]=v[b>>2];v[h+4>>2]=m;b=j-32|0;o=v[b+4>>2];v[j>>2]=v[b>>2];v[j+4>>2]=o;v[b>>2]=p;v[b+4>>2]=l;m=v[h+24>>2];p=v[h+28>>2];l=v[i+28>>2];v[h+24>>2]=v[i+24>>2];v[h+28>>2]=l;l=v[h+16>>2];o=v[h+20>>2];s=v[i+20>>2];v[h+16>>2]=v[i+16>>2];v[h+20>>2]=s;s=v[h+8>>2];x=v[h+12>>2];y=v[i+12>>2];v[h+8>>2]=v[i+8>>2];v[h+12>>2]=y;h=v[b+24>>2];y=v[b+28>>2];v[b+24>>2]=m;v[b+28>>2]=p;m=v[b+16>>2];p=v[b+20>>2];v[b+16>>2]=l;v[b+20>>2]=o;l=v[b+8>>2];o=v[b+12>>2];v[b+8>>2]=s;v[b+12>>2]=x;v[j+24>>2]=h;v[j+28>>2]=y;v[j+16>>2]=m;v[j+20>>2]=p;v[j+8>>2]=l;v[j+12>>2]=o;a=a-4|0;b=(a<<5)+g|0;h=v[b+28>>2];v[i+24>>2]=v[b+24>>2];v[i+28>>2]=h;h=v[b+20>>2];v[i+16>>2]=v[b+16>>2];v[i+20>>2]=h;h=v[b+12>>2];v[i+8>>2]=v[b+8>>2];v[i+12>>2]=h;h=v[b+4>>2];v[i>>2]=v[b>>2];v[i+4>>2]=h;if(a){continue}break}}b=g;break d}if((h|0)==(r|0)){a=v[g+4>>2];if((k|0)<=-1){if((a|0)<=(k|0)){break c}v[g+4>>2]=k;break c}if((a|0)>=(k|0)){break c}v[g+4>>2]=k;break c}g=g+32|0;a=a-1|0;if(a){continue}break}}v[b+4>>2]=k;v[b>>2]=r;n=n+1|0}e=e+4|0;d=d-2|0;if(d>>>0>1){continue}break}}v[t>>2]=w;v[q>>2]=n;e:{if(!w){break e}a=t+4|0;g=w;while(1){f:{g:{switch(g|0){case 1:b=v[a+4>>2];d=v[a>>2];break f;case 0:break e;default:break g}}d=v[a>>2];b=v[a+32>>2]-d|0;c=v[a+4>>2];if((b|0)>=(c|0)){b=c;break f}v[a+4>>2]=b}v[a+12>>2]=d;v[a+8>>2]=b+d;a=a+32|0;g=g-1|0;continue}}h:{if(!n){break h}a=q+4|0;g=n;while(1){i:{j:{switch(g|0){case 1:b=v[a+4>>2];d=v[a>>2];break i;case 0:break h;default:break j}}d=v[a>>2];b=d-v[a+32>>2]|0;c=v[a+4>>2];if((b|0)<=(c|0)){b=c;break i}v[a+4>>2]=b}v[a+8>>2]=d;v[a+12>>2]=b+d;a=a+32|0;g=g-1|0;continue}}if(w){a=t+4|0;v[t+16>>2]=v[t+16>>2]-f;g=v[t+12>>2];d=w-1|0;k:{if(!d){b=a;break k}while(1){b=v[a+44>>2];c=(b-g|0)/2|0;e=c+g|0;c=(c|0)<(f|0);v[a+8>>2]=c?e:f+g|0;v[a+44>>2]=c?e:b-f|0;g=v[a+40>>2];b=a+32|0;a=b;d=d-1|0;if(d){continue}break}}v[b+8>>2]=f+g}if(n){a=q+4|0;v[q+16>>2]=v[q+16>>2]-f;g=v[q+12>>2];d=n-1|0;l:{if(!d){b=a;break l}while(1){b=v[a+44>>2];c=(b-g|0)/2|0;e=c+g|0;c=(c|0)<(f|0);v[a+8>>2]=c?e:f+g|0;v[a+44>>2]=c?e:b-f|0;g=v[a+40>>2];b=a+32|0;a=b;d=d-1|0;if(d){continue}break}}v[b+8>>2]=f+g}}function qL(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;g=Qb-192|0;Qb=g;v[g+188>>2]=1022456;a:{while(1){b:{if((l|0)<0){break b}if((2147483647-l|0)<(f|0)){l=-1;if(w[a|0]&32){break b}v[299402]=61;break b}l=f+l|0}c:{d:{e:{f:{g:{m=g;h:{i:{j:{k:{l:{m:{i=v[g+188>>2];f=i;e=v[f>>2];if(e){while(1){if(!(!e|(e|0)==37)){h=f+4|0;v[g+188>>2]=h;e=v[f+4>>2];f=h;continue}break}e=f;h=e;j=v[e>>2];n:{if(!j){break n}while(1){if(!DM(1021736,j)){h=f;break n}j=v[f+4>>2];h=f+4|0;f=h;if(j){continue}break}}f=h-e>>2;e=v[g+188>>2];v[g+188>>2]=((f&1073741822)<<2)+e;e=(e+(f<<1&-4)|0)-i|0;f=e>>2;if(a){YB(a,i,f)}if(e){continue}h=-1;f=1;n=0;k=g;e=v[g+188>>2];if(!(v[e+4>>2]-48>>>0>=10|v[e+8>>2]!=36)){h=v[e+4>>2]-48|0;o=1;f=3}e=(f<<2)+e|0;j=v[e>>2];f=j-32|0;if(f>>>0<=31){f=1<>2];f=j-32|0;if(f>>>0>=32){break o}e=i;f=1<>2]=e;break l}j=l;if(a){break a}if(!o){break h}e=1;while(1){a=v[(e<<2)+d>>2];if(a){pL((e<<4)+c|0,a,b);j=1;e=e+1|0;if((e|0)!=10){continue}break a}break}j=1;if(e>>>0>=10){break a}while(1){if(v[(e<<2)+d>>2]){break c}e=e+1|0;if((e|0)!=10){continue}break}break a}v[g+188>>2]=e;if((j|0)!=42){break l}if(v[e+4>>2]-48>>>0>=10){break k}f=v[g+188>>2];if(v[f+8>>2]!=36){break k}v[((v[f+4>>2]<<2)+d|0)-192>>2]=10;k=v[((v[f+4>>2]<<4)+c|0)-768>>2];o=1;e=f+12|0;break j}k=oL(g+188|0);if((k|0)<0){break c}e=v[g+188>>2];break i}if(o){break c}o=0;k=0;if(a){f=v[b>>2];v[b>>2]=f+4;k=v[f>>2]}e=v[g+188>>2]+4|0}v[m+188>>2]=e;if((k|0)>-1){break i}k=0-k|0;n=n|8192}i=-1;p:{if(v[e>>2]!=46){break p}if(v[e+4>>2]==42){q:{if(v[e+8>>2]-48>>>0>=10){break q}f=v[g+188>>2];if(v[f+12>>2]!=36){break q}v[((v[f+8>>2]<<2)+d|0)-192>>2]=10;e=f+16|0;i=v[((v[f+8>>2]<<4)+c|0)-768>>2];break p}if(o){break c}if(a){f=v[b>>2];v[b>>2]=f+4;i=v[f>>2]}else{i=0}e=v[g+188>>2]+8|0;break p}v[g+188>>2]=e+4;i=oL(g+188|0);e=v[g+188>>2]}f=0;while(1){m=f;j=-1;f=v[e>>2]-65|0;if(f>>>0>57){break a}e=e+4|0;v[g+188>>2]=e;f=w[(f+B(m,58)|0)+1021776|0];if(f-1>>>0<8){continue}break}if((f|0)==19){break f}if(!f){break a}if((h|0)>=0){v[(h<<2)+d>>2]=f;f=(h<<4)+c|0;h=v[f+12>>2];v[g+176>>2]=v[f+8>>2];v[g+180>>2]=h;h=v[f+4>>2];v[g+168>>2]=v[f>>2];v[g+172>>2]=h;break e}if(a){break g}}j=0;break a}pL(g+168|0,f,b);e=v[g+188>>2];break d}if((h|0)>-1){break a}}f=0;if(!a){continue}}f=g;r:{s:{t:{u:{v:{e=v[e-4>>2];e=m?(e&15)==3?e&-33:e:e;if((e|0)<=108){if((e|0)==67){break v}if((e|0)==83){break u}if((e|0)!=99){break r}e=v[g+168>>2];f=e&255;if(f>>>0>=128){f=v[v[282445]>>2]?-1:(e|0)!=-1?e<<24>>24&57343:-1}ow(f,a);f=1;continue}w:{switch(e-109|0){case 6:e=v[g+168>>2];break s;case 0:break t;case 1:break w;default:break r}}f=0;x:{switch(m&255){case 0:v[v[g+168>>2]>>2]=l;continue;case 1:v[v[g+168>>2]>>2]=l;continue;case 2:e=v[g+168>>2];v[e>>2]=l;v[e+4>>2]=l>>31;continue;case 3:u[v[g+168>>2]>>1]=l;continue;case 4:t[v[g+168>>2]]=l;continue;case 6:v[v[g+168>>2]>>2]=l;continue;case 7:break x;default:continue}}e=v[g+168>>2];v[e>>2]=l;v[e+4>>2]=l>>31;continue}ow(v[g+168>>2],a);f=1;continue}h=v[g+168>>2];f=sf(h,0,i);e=f?f-h>>2:i;f=(e|0)>(k|0)?e:k;if(!(n&8192)){v[g+84>>2]=358460;v[g+80>>2]=f-e;up(a,237128,g+80|0);YB(a,h,e);continue}YB(a,h,e);v[g+100>>2]=358460;v[g+96>>2]=f-e;up(a,237128,g+96|0);continue}e=ck(v[299402])}e=e?e:339731;v[f+168>>2]=e;h=0;f=e;i=i>>>0<2147483647?i:2147483647;y:{if((i|0)<1){break y}z:{while(1){m=Rn(g+140|0,f,4);if((m|0)<1){break z}f=f+m|0;h=h+1|0;if((i|0)!=(h|0)){continue}break}h=i;break y}if((m|0)<0){break a}}f=(h|0)>(k|0)?h:k;i=n&8192;if(!i){v[g+132>>2]=358460;v[g+128>>2]=f-h;up(a,237128,g+128|0)}j=h;if(h){while(1){m=Rn(g+140|0,e,4);ow(v[g+140>>2],a);e=e+m|0;j=j-1|0;if(j){continue}break}}if(!i){continue}v[g+116>>2]=358460;v[g+112>>2]=f-h;up(a,237128,g+112|0);continue}v[g+72>>2]=e;e=e|32;v[g+68>>2]=t[e+1021647|0];v[g- -64>>2]=((n>>>16^-1)&1)+335493;v[g+60>>2]=((n^-1)&1)+346799;v[g+56>>2]=((n>>>13^-1)&1)+335742;v[g+52>>2]=((n>>>11^-1)&1)+335760;v[g+48>>2]=((n>>>3^-1)&1)+345893;Ai(g+144|0,16,300986,g+48|0);f=0;e=e-97|0;if(e>>>0>23){continue}e=1<>2];v[g+16>>2]=v[g+176>>2];v[g+20>>2]=f;v[g>>2]=k;v[g+4>>2]=i;f=v[g+172>>2];v[g+8>>2]=v[g+168>>2];v[g+12>>2]=f;f=up(a,g+144|0,g);continue}v[g+32>>2]=k;v[g+36>>2]=i;f=v[g+172>>2];v[g+40>>2]=v[g+168>>2];v[g+44>>2]=f;f=up(a,g+144|0,g+32|0);continue}break}j=-1}Qb=g+192|0;return j}function cPa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=Qb-32|0;Qb=e;a:{if(t[a+23|0]>=0){v[e+8>>2]=v[a+20>>2];f=v[a+16>>2];v[e>>2]=v[a+12>>2];v[e+4>>2]=f;break a}Ke(e,v[a+12>>2],v[a+16>>2])}f=w[c+11|0];g=f<<24>>24<0;b:{c:{d:{i=g?v[c+4>>2]:f;if(!i){break d}h=w[e+11|0];f=h<<24>>24<0;h=f?v[e+4>>2]:h;if((i|0)>(h|0)){break d}f=f?v[e>>2]:e;j=f+(h<<2)|0;k=g?v[c>>2]:c;m=v[k>>2];g=f;while(1){h=h-i|0;l=h+1|0;if(l>>>0>>0){break d}g=sf(g,m,l);if(!g){break d}if(od(g,k,i)){g=g+4|0;h=j-g>>2;if((i|0)<=(h|0)){continue}break d}break}if((g|0)==(j|0)|(f|0)!=(g|0)){break d}d=v[c+4>>2];c=w[c+11|0];v[299999]=0;ca(2654,e+16|0,e|0,(c<<24>>24<0?d:c)|0,-1,e|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){if(t[e+11|0]<=-1){dc(v[e>>2])}v[e+8>>2]=v[e+24>>2];c=v[e+20>>2];v[e>>2]=v[e+16>>2];v[e+4>>2]=c;break c}break b}if(!d){break c}v[299999]=0;V(2655,e+16|0,e|0);c=v[299999];v[299999]=0;if((c|0)==1){break b}if(t[e+11|0]<=-1){dc(v[e>>2])}v[e+8>>2]=v[e+24>>2];c=v[e+20>>2];v[e>>2]=v[e+16>>2];v[e+4>>2]=c}c=w[a+11|0];d=v[a>>2];f=v[a+4>>2];v[299999]=0;g=d;d=c<<24>>24<0;$(2656,e+16|0,(d?g:a)|0,(d?f:c)|0,0);c=v[299999];v[299999]=0;if((c|0)!=1){e:{d=v[b>>2];c=w[e+27|0];c=c<<24>>24<0?v[e+20>>2]:c;t[d|0]=c;t[d+1|0]=c>>>8;t[d+2|0]=c>>>16;t[d+3|0]=c>>>24;d=v[b>>2]+4|0;v[b>>2]=d;f=d;d=v[e+16>>2];gc(f,t[e+27|0]<0?d:e+16|0,c);c=c+v[b>>2]|0;v[b>>2]=c;if(t[e+27|0]<=-1){dc(d);c=v[b>>2]}f=v[a+116>>2]-v[a+112>>2]|0;d=(f|0)/12|0;t[c|0]=d;t[c+1|0]=d>>>8;t[c+2|0]=d>>>16;t[c+3|0]=d>>>24;v[b>>2]=v[b>>2]+4;if((f|0)>=1){f=(d|0)>1?d:1;h=0;while(1){c=v[a+112>>2]+B(h,12)|0;g=v[c>>2];i=v[c+4>>2];d=w[c+11|0];v[299999]=0;j=c;c=d<<24>>24<0;$(2656,e+16|0,(c?g:j)|0,(c?i:d)|0,0);c=v[299999];v[299999]=0;if((c|0)==1){break e}d=v[b>>2];c=w[e+27|0];c=c<<24>>24<0?v[e+20>>2]:c;t[d|0]=c;t[d+1|0]=c>>>8;t[d+2|0]=c>>>16;t[d+3|0]=c>>>24;d=v[b>>2]+4|0;v[b>>2]=d;g=d;d=v[e+16>>2];gc(g,t[e+27|0]<0?d:e+16|0,c);v[b>>2]=c+v[b>>2];if(t[e+27|0]<=-1){dc(d)}h=h+1|0;if((f|0)!=(h|0)){continue}break}}v[299999]=0;c=t[e+11|0];d=(c|0)<0;$(2656,e+16|0,(d?v[e>>2]:e)|0,(d?v[e+4>>2]:c&255)|0,0);c=v[299999];v[299999]=0;if((c|0)==1){break e}d=v[b>>2];c=w[e+27|0];c=c<<24>>24<0?v[e+20>>2]:c;t[d|0]=c;t[d+1|0]=c>>>8;t[d+2|0]=c>>>16;t[d+3|0]=c>>>24;d=v[b>>2]+4|0;v[b>>2]=d;f=d;d=v[e+16>>2];gc(f,t[e+27|0]<0?d:e+16|0,c);c=c+v[b>>2]|0;v[b>>2]=c;if(t[e+27|0]<=-1){dc(d);c=v[b>>2]}d=v[a+24>>2];t[c|0]=d;t[c+1|0]=d>>>8;t[c+2|0]=d>>>16;t[c+3|0]=d>>>24;c=v[b>>2];v[b>>2]=c+4;d=v[a+44>>2];t[c+4|0]=d;t[c+5|0]=d>>>8;t[c+6|0]=d>>>16;t[c+7|0]=d>>>24;c=v[b>>2];v[b>>2]=c+4;d=v[a+40>>2];t[c+4|0]=d;t[c+5|0]=d>>>8;t[c+6|0]=d>>>16;t[c+7|0]=d>>>24;c=v[b>>2];v[b>>2]=c+4;d=v[a+48>>2];t[c+4|0]=d;t[c+5|0]=d>>>8;t[c+6|0]=d>>>16;t[c+7|0]=d>>>24;c=v[b>>2];v[b>>2]=c+4;t[c+4|0]=10;t[c+5|0]=0;t[c+6|0]=0;t[c+7|0]=0;c=v[b>>2];v[b>>2]=c+4;d=w[a+60|0]|w[a+61|0]<<8;t[c+12|0]=d;t[c+13|0]=d>>>8;d=w[a+56|0]|w[a+57|0]<<8|(w[a+58|0]<<16|w[a+59|0]<<24);f=w[a+52|0]|w[a+53|0]<<8|(w[a+54|0]<<16|w[a+55|0]<<24);t[c+4|0]=f;t[c+5|0]=f>>>8;t[c+6|0]=f>>>16;t[c+7|0]=f>>>24;t[c+8|0]=d;t[c+9|0]=d>>>8;t[c+10|0]=d>>>16;t[c+11|0]=d>>>24;c=v[b>>2];v[b>>2]=c+10;d=v[a+64>>2];t[c+10|0]=d;t[c+11|0]=d>>>8;t[c+12|0]=d>>>16;t[c+13|0]=d>>>24;c=v[b>>2];v[b>>2]=c+4;d=v[a+68>>2];t[c+4|0]=d;t[c+5|0]=d>>>8;t[c+6|0]=d>>>16;t[c+7|0]=d>>>24;c=v[b>>2];v[b>>2]=c+4;d=v[a+72>>2];t[c+4|0]=d;t[c+5|0]=d>>>8;t[c+6|0]=d>>>16;t[c+7|0]=d>>>24;c=v[b>>2];v[b>>2]=c+4;d=v[a+76>>2];t[c+4|0]=d;t[c+5|0]=d>>>8;t[c+6|0]=d>>>16;t[c+7|0]=d>>>24;c=v[b>>2];v[b>>2]=c+4;d=v[a+80>>2];t[c+4|0]=d;t[c+5|0]=d>>>8;t[c+6|0]=d>>>16;t[c+7|0]=d>>>24;c=v[b>>2];v[b>>2]=c+4;d=v[a+84>>2];t[c+4|0]=d;t[c+5|0]=d>>>8;t[c+6|0]=d>>>16;t[c+7|0]=d>>>24;c=v[b>>2];v[b>>2]=c+4;d=x[a+88>>1];t[c+4|0]=d;t[c+5|0]=d>>>8;c=v[b>>2];v[b>>2]=c+2;d=x[a+90>>1];t[c+2|0]=d;t[c+3|0]=d>>>8;c=v[b>>2];v[b>>2]=c+2;d=x[a+92>>1];t[c+2|0]=d;t[c+3|0]=d>>>8;c=v[b>>2];v[b>>2]=c+2;d=v[a+96>>2];t[c+2|0]=d;t[c+3|0]=d>>>8;c=v[b>>2];v[b>>2]=c+2;d=x[a+100>>1];t[c+2|0]=d;t[c+3|0]=d>>>8;c=v[b>>2];v[b>>2]=c+2;d=x[a+102>>1];t[c+2|0]=d;t[c+3|0]=d>>>8;c=v[b>>2];v[b>>2]=c+2;d=x[a+104>>1];t[c+2|0]=d;t[c+3|0]=d>>>8;c=v[b>>2];v[b>>2]=c+2;d=x[a+106>>1];t[c+2|0]=d;t[c+3|0]=d>>>8;c=v[b>>2];v[b>>2]=c+2;d=x[a+108>>1];t[c+2|0]=d;t[c+3|0]=d>>>8;c=v[b>>2];v[b>>2]=c+2;a=x[a+110>>1];t[c+2|0]=a;t[c+3|0]=a>>>8;v[b>>2]=v[b>>2]+2;if(t[e+11|0]<=-1){dc(v[e>>2])}Qb=e+32|0;return}}}a=P()|0;O()|0;if(t[e+11|0]<=-1){dc(v[e>>2])}T(a|0);L()}function AW(a){var 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=C(0),q=0,r=0,s=C(0);i=Qb-16|0;Qb=i;v[i+12>>2]=0;c=v[294079];a:{if(!c){e=FG(i+12|0);e=((e?x[588254]:0)&65535)<<1;b=0;b:{if(e>>>0<14){break b}b=1;if(e>>>0<=31){break b}b=2;if(e>>>0<62){break b}b=3;if(e>>>0<128){break b}b=4;if(e>>>0<252){break b}b=5;if(e>>>0<510){break b}b=6;if(e>>>0<1022){break b}b=7;if(e>>>0<2040){break b}b=8;if(e>>>0<4094){break b}b=9;if(e>>>0<8192){break b}b=10;if(e>>>0<16382){break b}b=11;if(e>>>0<32750){break b}b=12;if(e>>>0<65522){break b}b=13;if(e>>>0<131072){break b}b=14;if(e>>>0<262140){break b}b=15;if(e>>>0<524288){break b}b=16;if(e>>>0<1048574){break b}b=17;if(e>>>0<2097144){break b}b=18;if(e>>>0<4194302){break b}b=19;if(e>>>0<8388594){break b}b=20;if(e>>>0<16777214){break b}b=21;if(e>>>0<33554394){break b}b=22;if(e>>>0<67108860){break b}b=23;if(e>>>0<134217690){break b}b=24;if(e>>>0<268435400){break b}b=25;if(e>>>0<536870910){break b}b=e>>>0>1073741789?27:26}c:{d:{if(v[i+12>>2]<=0){d=Pg(52);if(!d){v[i+12>>2]=7;d=0;break c}e:{if(v[i+12>>2]<=0){t[d+49|0]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+12>>2]=0;v[d+8>>2]=2741;v[d+4>>2]=2740;t[d+48|0]=b;v[d+40>>2]=1056964608;v[d+44>>2]=0;j=v[(b<<2)+845936>>2];v[d+28>>2]=j;b=B(j,12);c=Pg(b);v[d>>2]=c;if(c){break e}v[i+12>>2]=7}t[d+49|0]=1;break d}e=c+b|0;f:{if(e>>>0<=c>>>0){break f}b=B(j,12)-1|0;h=((b>>>0)/12|0)+1&7;if(h){while(1){v[c+8>>2]=0;v[c>>2]=-2147483647;v[c+4>>2]=0;c=c+12|0;h=h-1|0;if(h){continue}break}}if(b>>>0<84){break f}while(1){v[c+8>>2]=0;v[c+12>>2]=-2147483647;v[c>>2]=-2147483647;v[c+4>>2]=0;v[c+24>>2]=-2147483647;v[c+28>>2]=0;v[c+36>>2]=-2147483647;v[c+40>>2]=0;v[c+48>>2]=-2147483647;v[c+52>>2]=0;v[c+60>>2]=-2147483647;v[c+64>>2]=0;v[c+84>>2]=-2147483647;v[c+16>>2]=0;v[c+20>>2]=0;v[c+32>>2]=0;v[c+44>>2]=0;v[c+56>>2]=0;v[c+68>>2]=0;v[c+72>>2]=-2147483647;v[c+76>>2]=0;v[c+80>>2]=0;v[c+88>>2]=0;v[c+92>>2]=0;c=c+96|0;if(e>>>0>c>>>0){continue}break}}v[d+24>>2]=0;b=d;s=C(j|0);p=C(s*C(0));g:{if(C(D(p))>2]=e;b=d;p=C(s*C(.5));h:{if(C(D(p))>2]=e;b=v[i+12>>2];t[d+49|0]=1;if((b|0)>0){break d}}break c}_e(d);d=0}v[294079]=d;hs(14,2742);if(v[i+12>>2]>0){break a}c=v[294079]}t[a+16|0]=1;n=Qb-16|0;Qb=n;f=Qb-48|0;Qb=f;e=a;d=v[e+12>>2]+4|0;a=d;v[f+40>>2]=d;i:{j:{k:{l:{q=i+12|0;m:{if(v[q>>2]>0){break m}n:{o:{p:{q:{if(!e){v[f+24>>2]=a;d=v[c+4>>2];v[f+8>>2]=a;a=Ub[d|0](f+8|0)|0;v[f+32>>2]=v[f+24>>2];m=v[c>>2];j=a&2147483647;k=v[c+28>>2];b=(j^67108864)%(k|0)|0;a=b;d=-1;while(1){h=B(a,12);g=h+m|0;l=v[g>>2];r:{if((l|0)==(j|0)){e=v[c+8>>2];v[f+4>>2]=v[f+32>>2];v[f>>2]=v[(h+m|0)+8>>2];if(Ub[e|0](f+4|0,f)|0){break j}k=v[c+28>>2];break r}if((l|0)>-1){break r}if((l|0)==-2147483647){break q}d=(d|0)<0?a:d}o=o?o:((j|0)%(k-1|0)|0)+1|0;a=(o+a|0)%(k|0)|0;if((b|0)!=(a|0)){continue}break}if((d|0)>-1){break k}g=0;d=b;if((l|0)!=-2147483647){break j}break k}if(v[c+24>>2]>v[c+32>>2]){rW(c,q);if(v[q>>2]>0){break m}}a=v[c+4>>2];v[f+20>>2]=v[f+40>>2];a=Ub[a|0](f+20|0)|0;v[f+32>>2]=v[f+40>>2];r=v[c>>2];m=a&2147483647;k=v[c+28>>2];b=(m^67108864)%(k|0)|0;a=b;d=-1;while(1){j=B(a,12);g=r+j|0;l=v[g>>2];s:{if((m|0)==(l|0)){h=v[c+8>>2];v[f+16>>2]=v[f+32>>2];v[f+12>>2]=v[(j+r|0)+8>>2];if(Ub[h|0](f+16|0,f+12|0)|0){break n}k=v[c+28>>2];break s}if((l|0)>-1){break s}if((l|0)==-2147483647){break p}d=(d|0)<0?a:d}o=o?o:((m|0)%(k-1|0)|0)+1|0;a=(o+a|0)%(k|0)|0;if((b|0)!=(a|0)){continue}break}if((d|0)>-1){break o}g=0;d=b;if((l|0)!=-2147483647){break n}break o}d=(d|0)>-1?d:a;break k}d=(d|0)>-1?d:a}g=r+B(d,12)|0}if(v[g>>2]>-1){break l}d=v[c+24>>2];a=d+1|0;v[c+24>>2]=a;if((a|0)!=v[c+28>>2]){break l}v[c+24>>2]=d;v[q>>2]=7;a=v[f+40>>2]}d=v[c+16>>2];if(!(!d|!a)){Ub[d|0](a)}a=v[c+20>>2];if(!(!a|!e)){Ub[a|0](e)}v[n+8>>2]=0;break i}b=v[f+40>>2];h=v[g+4>>2];v[n+8>>2]=h;a=v[c+16>>2];t:{if(!a){break t}d=v[g+8>>2];if(!d|(d|0)==(b|0)){break t}Ub[a|0](d)}a=v[c+20>>2];if(a){if(!(!h|(e|0)==(h|0))){Ub[a|0](h)}v[n+8>>2]=0}v[g+8>>2]=b;v[g+4>>2]=e;v[g>>2]=m;break i}g=m+B(d,12)|0}v[n+8>>2]=0;if(v[g>>2]<0){break i}v[c+24>>2]=v[c+24>>2]-1;a=v[g+4>>2];b=v[c+16>>2];u:{if(!b){break u}d=v[g+8>>2];if(!d){break u}Ub[b|0](d)}d=v[c+20>>2];if(d){if(a){Ub[d|0](a)}a=0}v[g+8>>2]=0;v[g>>2]=-2147483648;v[g+4>>2]=0;v[n+8>>2]=a;if(v[c+24>>2]>=v[c+36>>2]){break i}v[f+32>>2]=0;rW(c,f+32|0)}Qb=f+48|0;Qb=n+16|0}Qb=i+16|0}function Z$(a,b,c,d,e,f,g){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,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;a:{b:{c:{switch(Gib(g-2|0,31)|0){case 0:g=bd(256,2);if(g){while(1){if(h&1){u[g+(h<<1)>>1]=3}if(h&2){i=g+(h<<1)|0;u[i>>1]=x[i>>1]|12}if(h&4){i=g+(h<<1)|0;u[i>>1]=x[i>>1]|48}if(h&8){i=g+(h<<1)|0;u[i>>1]=x[i>>1]|192}if(h&16){i=g+(h<<1)|0;u[i>>1]=x[i>>1]|768}if(h&32){i=g+(h<<1)|0;u[i>>1]=x[i>>1]|3072}if(h&64){i=g+(h<<1)|0;u[i>>1]=x[i>>1]|12288}if(h&128){i=g+(h<<1)|0;u[i>>1]=x[i>>1]|49152}h=h+1|0;if((h|0)!=256){continue}break}}else{g=0}if(!g){break a}if((e|0)<1){break b}j=b<<2;l=b<<1;if((d|0)<=0){if((e|0)!=1){h=e&-2;while(1){c=(B(k,l)<<2)+a|0;d=b<<2;gc(c+d|0,c,j);c=(B(l,k|1)<<2)+a|0;gc(c+d|0,c,j);k=k+2|0;h=h-2|0;if(h){continue}break}}if(!(e&1)){break b}a=(B(k,l)<<2)+a|0;gc(a+(b<<2)|0,a,j);break b}h=(d+7|0)/8|0;h=(h|0)>1?h:1;i=h&2147483646;p=h&1;q=(d|0)<9;while(1){d=(B(l,m)<<2)+a|0;n=(B(f,m)<<2)+c|0;k=0;h=i;if(!q){while(1){u[(d+(k<<1)^2)>>1]=x[(w[k+n^3]<<1)+g>>1];o=k|1;u[(d+(o<<1)^2)>>1]=x[(w[n+o^3]<<1)+g>>1];k=k+2|0;h=h-2|0;if(h){continue}break}}if(p){u[(d+(k<<1)^2)>>1]=x[(w[k+n^3]<<1)+g>>1]}gc(d+(b<<2)|0,d,j);m=m+1|0;if((m|0)!=(e|0)){continue}break};break b;case 1:g=bd(256,4);if(g){while(1){if(h&1){v[g+(h<<2)>>2]=15}if(h&2){i=g+(h<<2)|0;v[i>>2]=v[i>>2]|240}if(h&4){i=g+(h<<2)|0;v[i>>2]=v[i>>2]|3840}if(h&8){i=g+(h<<2)|0;v[i>>2]=v[i>>2]|61440}if(h&16){i=g+(h<<2)|0;v[i>>2]=v[i>>2]|983040}if(h&32){i=g+(h<<2)|0;v[i>>2]=v[i>>2]|15728640}if(h&64){i=g+(h<<2)|0;v[i>>2]=v[i>>2]|251658240}if(h&128){i=g+(h<<2)|0;v[i>>2]=v[i>>2]|-268435456}h=h+1|0;if((h|0)!=256){continue}break}}else{g=0}if(!g){break a}if((e|0)<1){break b}j=b<<2;h=(d+7|0)/8|0;h=(h|0)>1?h:1;i=h&2147483646;n=h&1;p=b<<3;q=B(b,3)<<2;while(1){b=(B(j,l)<<2)+a|0;d:{if((d|0)<1){break d}m=(B(f,l)<<2)+c|0;k=0;h=i;if((d|0)>8){while(1){v[b+(k<<2)>>2]=v[(w[k+m^3]<<2)+g>>2];o=k|1;v[b+(o<<2)>>2]=v[(w[m+o^3]<<2)+g>>2];k=k+2|0;h=h-2|0;if(h){continue}break}}if(!n){break d}v[b+(k<<2)>>2]=v[(w[k+m^3]<<2)+g>>2]}gc(b+j|0,b,j);gc(b+p|0,b,j);gc(b+q|0,b,j);l=l+1|0;if((l|0)!=(e|0)){continue}break};break b;case 7:if((e|0)<1){break a}j=b<<2;l=b<<4;if((d|0)<=0){c=b<<3;d=B(b,3)<<2;f=b<<2;g=f<<2;h=B(b,5)<<2;i=B(b,6)<<2;m=B(b,7)<<2;n=b<<5;p=B(b,9)<<2;q=B(b,10)<<2;o=B(b,11)<<2;r=B(b,12)<<2;s=B(b,13)<<2;t=B(b,14)<<2;y=B(b,15)<<2;while(1){b=(B(k,l)<<2)+a|0;gc(b+f|0,b,j);gc(b+c|0,b,j);gc(b+d|0,b,j);gc(b+g|0,b,j);gc(b+h|0,b,j);gc(b+i|0,b,j);gc(b+m|0,b,j);gc(b+n|0,b,j);gc(b+p|0,b,j);gc(b+q|0,b,j);gc(b+o|0,b,j);gc(b+r|0,b,j);gc(b+s|0,b,j);gc(b+t|0,b,j);gc(b+y|0,b,j);k=k+1|0;if((k|0)!=(e|0)){continue}break}break a}g=(d+1|0)/2|0;g=(g|0)>1?g:1;i=g&2147483646;n=g&1;p=b<<3;q=B(b,3)<<2;o=b<<2;r=o<<2;s=B(b,5)<<2;t=B(b,6)<<2;y=B(b,7)<<2;A=b<<5;C=B(b,9)<<2;z=B(b,10)<<2;G=B(b,11)<<2;H=B(b,12)<<2;I=B(b,13)<<2;J=B(b,14)<<2;K=B(b,15)<<2;while(1){b=(B(k,l)<<2)+a|0;m=(B(f,k)<<2)+c|0;g=0;h=i;if((d|0)>=3){while(1){D=g<<2;E=m+(g>>>2&1073741820)|0;F=g<<1&28;v[b+D>>2]=v[((v[E>>2]>>>(F^30)&3)<<2)+215072>>2];v[b+(D|4)>>2]=v[((v[E>>2]>>>(F^28)&3)<<2)+215072>>2];g=g+2|0;h=h-2|0;if(h){continue}break}}if(n){v[b+(g<<2)>>2]=v[((v[m+(g>>>2&1073741820)>>2]>>>((g<<1^-1)&30)&3)<<2)+215072>>2]}gc(b+o|0,b,j);gc(b+p|0,b,j);gc(b+q|0,b,j);gc(b+r|0,b,j);gc(b+s|0,b,j);gc(b+t|0,b,j);gc(b+y|0,b,j);gc(b+A|0,b,j);gc(b+C|0,b,j);gc(b+z|0,b,j);gc(b+G|0,b,j);gc(b+H|0,b,j);gc(b+I|0,b,j);gc(b+J|0,b,j);gc(b+K|0,b,j);k=k+1|0;if((k|0)!=(e|0)){continue}break};break a;case 3:break c;default:break a}}g=bd(16,4);if(!g){break a}while(1){if(k&1){v[(k<<2)+g>>2]=255}if(k&2){h=(k<<2)+g|0;v[h>>2]=v[h>>2]|65280}if(k&4){h=(k<<2)+g|0;v[h>>2]=v[h>>2]|16711680}if(k&8){h=(k<<2)+g|0;v[h>>2]=v[h>>2]|-16777216}k=k+1|0;if((k|0)!=16){continue}break}if((e|0)<1){break b}q=b<<3;o=q;h=(d+3|0)/4|0;h=(h|0)>1?h:1;i=h&2147483646;r=h&1;s=B(b,3)<<2;j=b<<2;t=j<<2;y=B(b,5)<<2;A=B(b,6)<<2;C=B(b,7)<<2;while(1){b=(B(l,o)<<2)+a|0;e:{if((d|0)<1){break e}m=(B(f,l)<<2)+c|0;k=0;h=i;if((d|0)>4){while(1){n=k<<2;p=n&24;z=m+(k>>>1&2147483644)|0;v[b+n>>2]=v[((v[z>>2]>>>(p^28)&15)<<2)+g>>2];v[b+(n|4)>>2]=v[((v[z>>2]>>>(p^24)&15)<<2)+g>>2];k=k+2|0;h=h-2|0;if(h){continue}break}}if(!r){break e}h=k<<2;v[h+b>>2]=v[((v[m+(k>>>1&2147483644)>>2]>>>((h^-1)&28)&15)<<2)+g>>2]}gc(b+j|0,b,j);gc(b+q|0,b,j);gc(b+s|0,b,j);gc(b+t|0,b,j);gc(b+y|0,b,j);gc(b+A|0,b,j);gc(b+C|0,b,j);l=l+1|0;if((l|0)!=(e|0)){continue}break}}dc(g)}}function GLa(a,b){a=a|0;b=b|0;var 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;a:{c=v[a+4>>2];b:{if(!c){break b}e=v[a+16>>2];l=v[a+20>>2];if(e>>>0>l>>>0){break b}g=v[a+8>>2];n=v[a+12>>2];if(g>>>0<=n>>>0){break a}}v[b>>2]=1;return}c:{d:{e:{f:{d=v[c+56>>2];if(d){c=e;break f}if(g>>>0>=n>>>0){break c}k=v[c+8>>2];o=x[k+6>>1]>>>7|0;f=v[a+24>>2];g:while(1){h=B(o&65535,12)+862888|0;d=g;while(1){h:{g=v[a+4>>2];if(v[g+52>>2]!=10){break h}v[g+52>>2]=0;i=v[h>>2];i:{if(e>>>0>>0){g=v[a+8>>2];t[e|0]=239;c=e+1|0;j:{if(f){g=(d-g>>1)-1|0;v[f>>2]=g;if(c>>>0>=l>>>0){break j}t[c|0]=i;v[f+4>>2]=g;f=f+8|0;break i}if(c>>>0>=l>>>0){break j}t[c|0]=i;f=0;break i}g=v[a+4>>2];e=t[g+63|0];t[g+63|0]=e+1;t[(e+g|0)+76|0]=i;v[b>>2]=15;e=c;g=d;break c}c=t[g+63|0];t[g+63|0]=c+1;t[(c+g|0)+76|0]=239;g=v[a+4>>2];c=t[g+63|0];t[g+63|0]=c+1;t[(c+g|0)+76|0]=i;v[b>>2]=15;g=d;break c}e=e+2|0;if(v[b>>2]<=0){break h}g=d;break c}g=d+2|0;k:{d=x[d>>1];if(d>>>0<=160){i=v[a+4>>2];v[i+52>>2]=d;l:{m:{if(e>>>0>>0){c=v[a+8>>2];t[e|0]=d;if(f){break m}f=0;break l}c=t[i+63|0];t[i+63|0]=c+1;t[(c+i|0)+76|0]=d;v[b>>2]=15;break c}v[f>>2]=(g-c>>1)-1;f=f+4|0}e=e+1|0;if(v[b>>2]>0){break c}break k}m=x[k+2>>1];n:{o:{p:{if((d|0)!=8204){if((d|0)!=8205){break p}u[k+2>>1]=0;j=m?233:217;d=8205;c=e;break o}u[k+2>>1]=0;if(!m){break k}d=8204;j=232;c=e;break o}j=65535;q:{r:{if((3455-d&65535)>>>0>1151){c=e;break r}h=0;if((d&65534)!=2404){o=(d-2304|0)/128|0;i=o<<7;if(w[k+24|0]|x[k+6>>1]!=(i&65408)){t[k+24|0]=0;u[k+6>>1]=i;v[k+12>>2]=v[B(o&65535,12)+862884>>2];h=1}else{h=0}s:{t:{i=i&65535;if((i|0)!=256){break t}c=2562;u:{switch(d-2672|0){case 0:break s;case 1:break u;default:break t}}c=2673;u[k+2>>1]=2673;break s}c=d}d=c-i|0}i=d&255;c=x[(i<<1)+863824>>1];if(!(v[k+12>>2]&w[i+863616|0])){c=x[k+6>>1]!=768?-1:(d|0)!=2353?-1:c}j=c&65535;v:{if(!h){c=e;break v}i=v[B(o&65535,12)+862888>>2];w:{x:{if(e>>>0>>0){h=v[a+8>>2];t[e|0]=239;c=e+1|0;if(f){h=(g-h>>1)-1|0;v[f>>2]=h;if(c>>>0>>0){break x}f=f+4|0;break q}f=0;if(c>>>0>=l>>>0){break q}t[c|0]=i;f=0;break w}h=v[a+4>>2];c=t[h+63|0];t[h+63|0]=c+1;t[(c+h|0)+76|0]=239;h=v[a+4>>2];c=t[h+63|0];t[h+63|0]=c+1;t[(c+h|0)+76|0]=i;v[b>>2]=15;c=e;break o}t[c|0]=i;v[f+4>>2]=h;f=f+8|0}c=e+2|0;if(v[b>>2]>0){break o}}if(x[k+6>>1]!=256){break r}e=c;if((d|0)==2417){break n}}u[k+2>>1]=0;break o}h=v[a+4>>2];e=t[h+63|0];t[h+63|0]=e+1;t[(e+h|0)+76|0]=i;v[b>>2]=15}y:{z:{A:{if(x[k+6>>1]!=256|(m|0)!=2673){break A}e=d-2304|0;if(e>>>0>79|!(t[e+863744|0]&1)){break A}u[k+2>>1]=0;i=j<<16|j;m=i|59392;if(c>>>0>>0){e=g-v[a+8>>2]>>1;h=e-1|0;B:{C:{D:{if(m>>>0>=65536){t[c|0]=i>>>16;c=c+1|0;if(!f){break D}h=e-2|0;v[f>>2]=h;f=f+4|0}if(c>>>0>=l>>>0){break C}t[c|0]=m>>>8;if(f){break B}d=0;break y}if(c>>>0>>0){break z}}e=c;d=v[a+4>>2];c=t[d+63|0];t[d+63|0]=c+1;t[(c+d|0)+76|0]=m>>>8;d=v[a+4>>2];c=t[d+63|0];t[d+63|0]=c+1;t[(c+d|0)+76|0]=j;v[b>>2]=15;break c}v[f>>2]=h;d=f+4|0;break y}if(i&16711680){d=v[a+4>>2];e=t[d+63|0];t[d+63|0]=e+1;t[(d+e|0)+76|0]=i>>>16}d=v[a+4>>2];e=t[d+63|0];t[d+63|0]=e+1;t[(d+e|0)+76|0]=m>>>8;d=v[a+4>>2];e=t[d+63|0];t[d+63|0]=e+1;t[(d+e|0)+76|0]=j;v[b>>2]=15;e=c;break c}E:{F:{G:{H:{I:{J:{K:{L:{if((j|0)!=232){if((j|0)==65535){break E}if(c>>>0>=l>>>0){break I}h=(g-v[a+8>>2]>>1)-1|0;d=h;if(j>>>0<=255){break L}t[c|0]=j>>>8;e=c+1|0;if(!f){break K}v[f>>2]=h;if(e>>>0>=l>>>0){break J}t[c+1|0]=j;v[f+4>>2]=h;e=c+2|0;f=f+8|0;break F}u[k+2>>1]=232;if(c>>>0>=l>>>0){break H}d=(g-v[a+8>>2]>>1)-1|0}t[c|0]=j;e=c+1|0;if(f){break G}f=0;break F}if(e>>>0>=l>>>0){break J}t[c+1|0]=j;e=c+2|0;f=0;break F}d=v[a+4>>2];c=t[d+63|0];t[d+63|0]=c+1;t[(c+d|0)+76|0]=j;v[b>>2]=15;break c}if(!(j&65280)){break H}d=v[a+4>>2];e=t[d+63|0];t[d+63|0]=e+1;t[(d+e|0)+76|0]=j>>>8}d=v[a+4>>2];e=t[d+63|0];t[d+63|0]=e+1;t[(d+e|0)+76|0]=j;v[b>>2]=15;e=c;break c}v[f>>2]=d;f=f+4|0}if(v[b>>2]<=0){break n}break c}f=10;if((d&-2048)!=55296){break e}f=12;e=c;if(d&1024){break d}break f}t[c|0]=m>>>8;d=0}M:{N:{e=c+1|0;if(l>>>0>e>>>0){t[c+1|0]=j;if(d){break N}f=0;break M}d=v[a+4>>2];c=t[d+63|0];t[d+63|0]=c+1;t[(c+d|0)+76|0]=j;v[b>>2]=15;break c}v[d>>2]=h;f=d+4|0}e=c+2|0;if(v[b>>2]>0){break c}}if(g>>>0>>0){continue g}break c}d=g;if(n>>>0>d>>>0){continue}break}break}break c}f=0;if(g>>>0>=n>>>0){break e}e=x[g>>1];f=(e&64512)==56320;d=f?(e+(d<<10)|0)-56613888|0:d;g=(f<<1)+g|0;f=f?10:12}e=c}v[b>>2]=f;v[v[a+4>>2]+56>>2]=d}v[a+16>>2]=e;v[a+8>>2]=g}function Dd(a){var 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;a:{if(w[a+96|0]){break a}e=v[a+12>>2];b:{if(!(v[a+56>>2]|v[a+60>>2])){break b}k=a;if(e&4095){d=a+20|0}else{h=v[a>>2];if(h>>>0>1023){break b}e=v[a+8>>2];if(h>>>0<=e>>>0){f=v[a+4>>2];c:{if(f>>>0>h>>>0){i=v[a+16>>2];break c}d=f+256|0;i=fc((d|0)!=(d&1073741823)?-1:d<<2);b=a;g=v[a+16>>2];if(g){gc(i,g,f<<2);dc(g);e=v[a+8>>2];h=v[a>>2];d=v[a+4>>2]+256|0}v[b+4>>2]=d;v[a+16>>2]=i}b=fc(65536);v[a>>2]=h+1;v[(h<<2)+i>>2]=b}v[a+8>>2]=e+1;d=v[a+16>>2]+(e<<2)|0}c=v[d>>2];v[k+20>>2]=c+16;b=v[a+60>>2];v[c+8>>2]=v[a+56>>2];v[c+12>>2]=b;b=v[a+52>>2];v[c>>2]=v[a+48>>2];v[c+4>>2]=b;e=v[a+12>>2]+1|0;v[a+12>>2]=e}v[a+56>>2]=0;v[a+60>>2]=0;v[a+48>>2]=2147483647;v[a+52>>2]=2147483647;if(!e){break a}v[a+24>>2]=0;if(y[a+28>>2]>>0){b=v[a+32>>2];if(b){dc(b)}c=e+16|0;v[a+28>>2]=c;d=a;if(c){b=fc((c|0)!=(c&1073741823)?-1:c<<2)}else{b=0}v[d+32>>2]=b}v[a+24>>2]=e;v[a+36>>2]=0;c=v[a+92>>2]-v[a+84>>2]|0;d=c+1|0;d:{if(d>>>0<=y[a+40>>2]){h=v[a+44>>2];break d}b=v[a+44>>2];if(b){dc(b)}c=c+17|0;v[a+40>>2]=c;b=a;if(c){h=fc((c|0)!=(c&536870911)?-1:c<<3)}else{h=0}v[b+44>>2]=h}v[a+36>>2]=d;ic(h,0,d<<3);o=v[a+12>>2];k=o>>>12|0;h=v[a+44>>2];i=v[a+84>>2];g=v[a+16>>2];e:{if(o>>>0<4096){c=g;break e}f=k;c=g;while(1){f=f-1|0;e=v[c>>2];b=4096;while(1){d=(v[e+4>>2]-i<<3)+h|0;v[d>>2]=v[d>>2]+1;d=(v[e+20>>2]-i<<3)+h|0;v[d>>2]=v[d>>2]+1;d=(v[e+36>>2]-i<<3)+h|0;v[d>>2]=v[d>>2]+1;d=(v[e+52>>2]-i<<3)+h|0;v[d>>2]=v[d>>2]+1;e=e- -64|0;b=b-4|0;if(b){continue}break}c=c+4|0;if(f){continue}break}h=v[a+44>>2];i=v[a+84>>2]}d=o&4095;if(d){f=d-1|0;e=v[c>>2];n=o&3;f:{if(!n){b=d;break f}b=d;while(1){c=(v[e+4>>2]-i<<3)+h|0;v[c>>2]=v[c>>2]+1;e=e+16|0;b=b-1|0;n=n-1|0;if(n){continue}break}}if(f>>>0>2){while(1){c=(v[e+4>>2]-i<<3)+h|0;v[c>>2]=v[c>>2]+1;c=(v[e+20>>2]-i<<3)+h|0;v[c>>2]=v[c>>2]+1;c=(v[e+36>>2]-i<<3)+h|0;v[c>>2]=v[c>>2]+1;c=(v[e+52>>2]-i<<3)+h|0;v[c>>2]=v[c>>2]+1;e=e- -64|0;b=b-4|0;if(b){continue}break}}h=v[a+44>>2]}c=v[a+36>>2];g:{if(!c){break g}n=c&3;e=0;i=0;if(c-1>>>0>=3){f=c&-4;while(1){l=e<<3;b=l+h|0;j=v[b>>2];v[b>>2]=i;b=(l|8)+h|0;m=v[b>>2];j=i+j|0;v[b>>2]=j;b=(l|16)+h|0;i=v[b>>2];m=j+m|0;v[b>>2]=m;b=(l|24)+h|0;j=v[b>>2];l=b;b=i+m|0;v[l>>2]=b;i=b+j|0;e=e+4|0;f=f-4|0;if(f){continue}break}}if(!n){break g}while(1){f=(e<<3)+h|0;b=v[f>>2];v[f>>2]=i;e=e+1|0;i=b+i|0;n=n-1|0;if(n){continue}break}}i=v[a+84>>2];if(o>>>0>=4096){while(1){k=k-1|0;e=v[g>>2];b=4096;while(1){j=v[a+44>>2]+(v[e+4>>2]-i<<3)|0;f=v[j+4>>2];v[v[a+32>>2]+(f+v[j>>2]<<2)>>2]=e;v[j+4>>2]=f+1;j=v[a+44>>2]+(v[e+20>>2]-i<<3)|0;f=v[j+4>>2];v[v[a+32>>2]+(f+v[j>>2]<<2)>>2]=e+16;v[j+4>>2]=f+1;e=e+32|0;b=b-2|0;if(b){continue}break}g=g+4|0;if(k){continue}break}i=v[a+84>>2]}h:{if(!d){break h}e=v[g>>2];if(o&1){g=v[a+44>>2]+(v[e+4>>2]-i<<3)|0;b=v[g+4>>2];v[v[a+32>>2]+(b+v[g>>2]<<2)>>2]=e;v[g+4>>2]=b+1;e=e+16|0;b=d-1|0}else{b=d}if((d|0)==1){break h}while(1){g=v[a+44>>2]+(v[e+4>>2]-i<<3)|0;d=v[g+4>>2];v[v[a+32>>2]+(d+v[g>>2]<<2)>>2]=e;v[g+4>>2]=d+1;g=v[a+44>>2]+(v[e+20>>2]-i<<3)|0;d=v[g+4>>2];v[v[a+32>>2]+(d+v[g>>2]<<2)>>2]=e+16;v[g+4>>2]=d+1;e=e+32|0;b=b-2|0;if(b){continue}break}}if(c){e=0;while(1){d=v[a+44>>2]+(e<<3)|0;b=v[d+4>>2];if(b){l=0;i=Qb-320|0;Qb=i;g=v[a+32>>2]+(v[d>>2]<<2)|0;k=g+(b<<2)|0;while(1){i:{b=k-g|0;if((b|0)<=36){d=g;f=d+4|0;if(k>>>0>f>>>0){while(1){b=d;d=f;h=v[b+4>>2];j=v[h>>2];f=v[b>>2];j:{if((j|0)>=v[f>>2]){break j}c=b+4|0;while(1){v[c>>2]=f;v[b>>2]=h;if((b|0)==(g|0)){break j}c=b;b=b-4|0;f=v[b>>2];if((j|0)>2]){continue}break}}f=d+4|0;if(k>>>0>f>>>0){continue}break}}if((l|0)>=1){l=l-2|0;b=i+(l<<2)|0;k=v[b+4>>2];g=v[b>>2];continue}Qb=i+320|0;break i}c=v[g>>2];b=(b>>>1&2147483644)+g|0;v[g>>2]=v[b>>2];v[b>>2]=c;b=g+4|0;j=v[g+4>>2];h=v[j>>2];f=k-4|0;c=v[f>>2];k:{if((h|0)<=v[c>>2]){d=j;break k}v[b>>2]=c;v[f>>2]=j;d=v[b>>2];h=v[d>>2];c=j}m=v[g>>2];j=v[m>>2];l:{if((j|0)>=(h|0)){h=j;d=m;break l}v[g+4>>2]=m;v[g>>2]=d;c=v[f>>2]}if(v[c>>2]<(h|0)){v[g>>2]=c;v[f>>2]=d}m=i+(l<<2)|0;while(1){c=v[g>>2];h=v[c>>2];while(1){j=v[b+4>>2];d=b+4|0;b=d;if((h|0)>v[j>>2]){continue}break}while(1){f=f-4|0;b=v[f>>2];if((h|0)>2]){continue}break}if(d>>>0<=f>>>0){v[d>>2]=b;v[f>>2]=j;b=d;continue}break}v[g>>2]=b;v[f>>2]=c;m:{if((f-g|0)>(k-d|0)){b=g;c=f;g=d;break m}b=d;c=k;k=f}v[m+4>>2]=c;v[m>>2]=b;l=l+2|0;continue}break}c=v[a+36>>2]}e=e+1|0;if(c>>>0>e>>>0){continue}break}}t[a+96|0]=1}}function ila(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=Qb-48|0;Qb=d;v[d+40>>2]=0;v[d+44>>2]=v[282402];v[299999]=0;V(4503,d+32|0,b|0);b=v[299999];v[299999]=0;a:{b:{c:{if((b|0)!=1){a=a+8|0;f=v[d+32>>2];d:{while(1){e:{v[299999]=0;b=Z(4504,f|0,d+40|0,0,0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break e}f:{g:{h:{if(b){v[299999]=0;b=Nc(d+40|0,307139,-1);c=v[299999];v[299999]=0;if((c|0)==1){break e}if(!b){if(v[a>>2]){v[299999]=0;b=aa(4369,d+8|0,225215,240926,709,344558,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break h}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}a=P()|0;O()|0;qc(b);break d}v[299999]=0;b=S(1,64)|0;c=v[299999];v[299999]=0;i:{j:{k:{l:{if((c|0)==1){break l}v[b+8>>2]=0;v[b>>2]=984952;v[b+4>>2]=0;c=v[282402];v[b+20>>2]=0;v[b+24>>2]=0;v[b+16>>2]=1;v[b+12>>2]=c;v[b+28>>2]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+40>>2]=0;c=b+44|0;v[c>>2]=0;v[c+4>>2]=0;v[b+52>>2]=0;v[b+56>>2]=0;v[299999]=0;v[c>>2]=984984;v[c+4>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;c=v[299999];v[299999]=0;if((c|0)==1){a=P()|0;O()|0;ec(b+8|0);Qc(b);dc(b);break d}v[b+60>>2]=0;v[299999]=0;v[d+8>>2]=0;Q(4336,d+8|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break l}v[299999]=0;Q(4344,a|0,d+8|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break k}b=v[d+8>>2];v[d+8>>2]=0;m:{if(!b){break m}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(c){break m}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a>>2];v[299999]=0;v[d+8>>2]=0;Q(4336,d+8|0,f|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break j}v[299999]=0;V(5042,b|0,d+8|0);b=v[299999];v[299999]=0;if((b|0)==1){break i}b=v[d+8>>2];v[d+8>>2]=0;if(!b){break f}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(c){break f}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}break f}a=P()|0;O()|0;break d}a=P()|0;O()|0;ec(d+8|0);break d}a=P()|0;O()|0;break d}a=P()|0;O()|0;ec(d+8|0);break d}v[299999]=0;b=Nc(d+40|0,217587,-1);c=v[299999];v[299999]=0;if((c|0)==1){break e}if(b){break f}if(v[a>>2]){v[299999]=0;b=aa(4369,d+8|0,225215,240926,716,344558,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break g}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}a=P()|0;O()|0;qc(b);break d}v[299999]=0;b=S(1,64)|0;c=v[299999];v[299999]=0;n:{o:{p:{q:{r:{if((c|0)==1){break r}v[b+8>>2]=0;v[b>>2]=984952;v[b+4>>2]=0;c=v[282402];v[b+20>>2]=0;v[b+24>>2]=0;v[b+16>>2]=1;v[b+12>>2]=c;v[b+28>>2]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+40>>2]=0;c=b+44|0;v[c>>2]=0;v[c+4>>2]=0;v[b+52>>2]=0;v[b+56>>2]=0;v[299999]=0;v[c>>2]=984984;v[c+4>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;c=v[299999];v[299999]=0;if((c|0)==1){a=P()|0;O()|0;ec(b+8|0);Qc(b);dc(b);break d}v[b+60>>2]=0;v[299999]=0;v[d+8>>2]=0;Q(4336,d+8|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break r}v[299999]=0;Q(4344,a|0,d+8|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break q}b=v[d+8>>2];v[d+8>>2]=0;s:{if(!b){break s}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(c){break s}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}v[d>>2]=0;v[299999]=0;Q(4336,d|0,f|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break p}v[299999]=0;V(4550,d+8|0,d|0);b=v[299999];v[299999]=0;if((b|0)==1){break o}b=v[d>>2];v[d>>2]=0;t:{if(!b){break t}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(c){break t}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a>>2];v[299999]=0;V(5042,b|0,d+8|0);b=v[299999];v[299999]=0;if((b|0)==1){break n}b=v[d+8>>2];v[d+8>>2]=0;if(!b){break f}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;e=v[299999];v[299999]=0;if((e|0)!=1){if(c){break f}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break f}}break a}a=P()|0;O()|0;break d}a=P()|0;O()|0;ec(d+8|0);break d}a=P()|0;O()|0;break d}a=P()|0;O()|0;ec(d);break d}a=P()|0;O()|0;ec(d+8|0);break d}a=v[d+32>>2];v[d+32>>2]=0;u:{if(!a){break u}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break u}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}ec(d+40|0);Qb=d+48|0;return}a=P()|0;O()|0;break d}a=P()|0;O()|0;break d}v[299999]=0;R(4601,f|0);b=v[299999];v[299999]=0;if((b|0)!=1){continue}}break}a=P()|0;O()|0}ec(d+32|0);break c}a=P()|0;O()|0}ec(d+40|0);T(a|0);L()}L()}W(0)|0;O()|0;lc();L()}function W5a(a){a=a|0;var 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;e=Qb-160|0;Qb=e;c=ic(a+232|0,0,24576);v[a+24812>>2]=c;v[e+148>>2]=c;qn(a,197952,0);v[e+152>>2]=v[a+24812>>2];qn(a,197978,0);c=x[a+26306>>1]<<5;h=x[a+26304>>1]+63>>>5|0;m=jc(c+(h<<2)|0);if(!m){c=v[a+190640>>2];a:{if(c){h=v[a+25208>>2];v[e+20>>2]=49189;v[e+16>>2]=h;zd(c,4338,e+16|0);break a}c=v[a+25208>>2];v[e+4>>2]=49189;v[e>>2]=c;wc(v[252391],4338,e)}sd(a+190484|0,1);L()}u[a+25204>>1]=19789;o=c+m|0;while(1){v[e+156>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],e+156|0,1,4)|0;c=w[e+156|0];d=(b<<2)+o|0;if(x[a+25204>>1]==18761){c=c|w[e+157|0]<<8|w[e+158|0]<<16|w[e+159|0]<<24}else{c=w[e+159|0]|(w[e+157|0]<<16|c<<24|w[e+158|0]<<8)}v[d>>2]=c;b=b+1|0;if((h|0)!=(b|0)){continue}break}b:{if(x[a+26304>>1]){h=0;i=v[252391];while(1){if(!(k&31)){Ub[v[v[a>>2]+8>>2]](v[a+4>>2],v[(k>>>3&536870908)+o>>2],0)|0;v[289140]=0;v[289141]=0;v[289139]=0;h=0}b=x[a+26306>>1];c:{if(!b){b=0;break c}q=k<<1&14;c=h;l=0;while(1){p=0;h=c+1|0;d=k+l&1;g=d?c-(b<<1)|0:h-b|0;f=c-2|0;b=d>>>0>>0?d?f:(b^-1)+c|0:-1;b=(b|0)<0?g:b;j=(b|0)<0&l>>>0>1;n=j?f:b;if((n|0)>=0){p=w[(j?f:(g|0)<0?b:g)+m|0]+w[m+n|0]>>>1|0}d=v[(e+148|0)+(d<<2)>>2];b=v[d>>2];d:{if(!b){break d}j=0;if(v[289141]){while(1){d=b;b=v[b>>2];if(b){continue}break d}}while(1){g=0;e:{if(j){break e}f=v[289140];f:{if((f|0)>=1){b=v[289139];break f}while(1){g:{h:{b=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;i:{if((b|0)==-1){if(!v[a+26160>>2]){v[e+144>>2]=v[a+25208>>2];wc(i,8292,e+144|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,i);v[a+26160>>2]=1;break i}f=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[e+128>>2]=f;v[e+132>>2]=f>>31;wc(i,14622,e+128|0)}v[a+26160>>2]=1;break i}if(!v[a+26144>>2]){break i}if((b|0)==255){break h}}v[289141]=0;break g}f=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[289141]=(f|0)!=0;if(!f){break g}j=1;break e}j=v[289140];f=j+8|0;v[289140]=f;b=b&255|v[289139]<<8;v[289139]=b;if((j|0)<-7){continue}break}}j=0;v[289140]=f-1;g=b<<32-f>>>31|0}d=v[(g<<2)+d>>2];if(v[d>>2]){continue}break}}j=c+m|0;j:{k:{l:{m:{c=v[d+8>>2];b=c+1|0;if(b){if((b|0)==17){break l}break m}g=0;v[289140]=0;v[289141]=0;v[289139]=0;break k}g=0;if(v[289141]|!c){break k}g=v[289140];n:{if((c|0)<=(g|0)){f=v[289139];break n}while(1){b=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;o:{if((b|0)==-1){if(!v[a+26160>>2]){v[e+80>>2]=v[a+25208>>2];wc(i,8292,e+80|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,i);v[a+26160>>2]=1;v[289141]=0;break o}d=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[e+64>>2]=d;v[e+68>>2]=d>>31;wc(i,14622,e- -64|0)}v[a+26160>>2]=1;v[289141]=0;break o}if(!((b|0)==255?v[a+26144>>2]:0)){v[289141]=0;break o}g=0;d=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[289141]=(d|0)!=0;if(d){break k}}g=v[289140]+8|0;v[289140]=g;f=b&255|v[289139]<<8;v[289139]=f;if((c|0)>(g|0)){continue}break}}b=g-c|0;v[289140]=b;d=32-c|0;g=f<>>d|0;break k}d=-32768;if(v[a+26152>>2]-1>>>0>16842750){break j}g=0;if(v[289141]){break k}d=v[289140];p:{if((d|0)>=16){f=v[289139];break p}while(1){b=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;q:{if((b|0)==-1){if(!v[a+26160>>2]){v[e+112>>2]=v[a+25208>>2];wc(i,8292,e+112|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,i);v[a+26160>>2]=1;v[289141]=0;break q}d=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[e+96>>2]=d;v[e+100>>2]=d>>31;wc(i,14622,e+96|0)}v[a+26160>>2]=1;v[289141]=0;break q}if(!((b|0)==255?v[a+26144>>2]:0)){v[289141]=0;break q}d=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[289141]=(d|0)!=0;if(d){break k}}n=v[289140];d=n+8|0;v[289140]=d;f=b&255|v[289139]<<8;v[289139]=f;if((n|0)<8){continue}break}}v[289140]=d-16;g=f<<32-d>>>16|0}d=(g>>>c-1&1?0:(-1<>>0>=256){r:{if(v[a+26160>>2]){break r}v[e+48>>2]=v[a+25208>>2];wc(i,8292,e+48|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,i);break r}b=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[e+32>>2]=b;v[e+36>>2]=b>>31;wc(i,14622,e+32|0)}v[a+26160>>2]=1}c=x[(((c&255)<<1)+a|0)+26484>>1];b=l-x[a+26314>>1]|0;s:{if(b>>>0>1]){d=x[a+26316>>1];u[(v[a+26352>>2]+(B(x[a+26320>>1],k>>>d|0)+(b>>d)<<3)|0)+((v[a+26028>>2]>>>((b&1|q)<<1)&3)<<1)>>1]=c;break s}v[a+26120>>2]=c+v[a+26120>>2]}c=h;b=x[a+26306>>1];l=l+1|0;if(b>>>0>l>>>0){continue}break}}k=k+1|0;if(k>>>0>1]){continue}break}break b}b=x[a+26306>>1]}dc(m);c=b&65535;h=x[a+26310>>1];if(c>>>0>h>>>0){v[a+26120>>2]=y[a+26120>>2]/(B(x[a+26308>>1],c-h|0)>>>0)}Qb=e+160|0}function MGa(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;a=ic(a,0,256);d=v[b>>2]+c|0;g=w[d|0];e=w[d+5|0];f=g-e|0;i=w[d+1|0];k=w[d+4|0];h=i-k|0;j=w[d+2|0];l=w[d+3|0];d=j-l|0;v[a+12>>2]=f-(h+d|0)<<2;g=g+e|0;e=j+l|0;v[a+8>>2]=B(g-e|0,10033)+1024>>11;g=g+e|0;e=i+k|0;v[a>>2]=(g+e<<2)-3072;v[a+16>>2]=B(g-(e<<1)|0,5793)+1024>>11;e=d-h<<2;d=B(d+f|0,2998)+1024>>11;v[a+20>>2]=e+d;v[a+4>>2]=d+(h+f<<2);d=v[b+4>>2]+c|0;g=w[d|0];e=w[d+5|0];f=g-e|0;i=w[d+1|0];k=w[d+4|0];h=i-k|0;j=w[d+2|0];l=w[d+3|0];d=j-l|0;v[a+44>>2]=f-(h+d|0)<<2;g=g+e|0;e=j+l|0;v[a+40>>2]=B(g-e|0,10033)+1024>>11;g=g+e|0;e=i+k|0;v[a+32>>2]=(g+e<<2)-3072;v[a+48>>2]=B(g-(e<<1)|0,5793)+1024>>11;e=d-h<<2;d=B(d+f|0,2998)+1024>>11;v[a+52>>2]=e+d;v[a+36>>2]=d+(h+f<<2);d=v[b+8>>2]+c|0;g=w[d|0];e=w[d+5|0];f=g-e|0;i=w[d+1|0];k=w[d+4|0];h=i-k|0;j=w[d+2|0];l=w[d+3|0];d=j-l|0;v[a+76>>2]=f-(h+d|0)<<2;g=g+e|0;e=j+l|0;v[a+72>>2]=B(g-e|0,10033)+1024>>11;g=g+e|0;e=i+k|0;v[a+64>>2]=(g+e<<2)-3072;v[a+80>>2]=B(g-(e<<1)|0,5793)+1024>>11;e=d-h<<2;d=B(d+f|0,2998)+1024>>11;v[a+84>>2]=e+d;v[a+68>>2]=d+(h+f<<2);d=v[b+12>>2]+c|0;g=w[d|0];e=w[d+5|0];f=g-e|0;i=w[d+1|0];k=w[d+4|0];h=i-k|0;j=w[d+2|0];l=w[d+3|0];d=j-l|0;v[a+108>>2]=f-(h+d|0)<<2;g=g+e|0;e=j+l|0;v[a+104>>2]=B(g-e|0,10033)+1024>>11;g=g+e|0;e=i+k|0;v[a+96>>2]=(g+e<<2)-3072;v[a+112>>2]=B(g-(e<<1)|0,5793)+1024>>11;e=d-h<<2;d=B(d+f|0,2998)+1024>>11;v[a+116>>2]=e+d;v[a+100>>2]=d+(h+f<<2);d=v[b+16>>2]+c|0;g=w[d|0];e=w[d+5|0];f=g-e|0;i=w[d+1|0];k=w[d+4|0];h=i-k|0;j=w[d+2|0];l=w[d+3|0];d=j-l|0;v[a+140>>2]=f-(h+d|0)<<2;g=g+e|0;e=j+l|0;v[a+136>>2]=B(g-e|0,10033)+1024>>11;e=g+e|0;i=i+k|0;g=(e+i<<2)-3072|0;v[a+128>>2]=g;v[a+144>>2]=B(e-(i<<1)|0,5793)+1024>>11;e=d-h<<2;d=B(d+f|0,2998)+1024>>11;v[a+148>>2]=e+d;v[a+132>>2]=d+(h+f<<2);b=v[b+20>>2]+c|0;f=w[b|0];h=w[b+5|0];c=f-h|0;e=w[b+1|0];i=w[b+4|0];d=e-i|0;k=w[b+2|0];j=w[b+3|0];b=k-j|0;v[a+172>>2]=c-(d+b|0)<<2;f=h+f|0;h=j+k|0;v[a+168>>2]=B(f-h|0,10033)+1024>>11;f=h+f|0;h=e+i|0;v[a+176>>2]=B(f-(h<<1)|0,5793)+1024>>11;e=B(b+c|0,2998)+1024>>11;v[a+180>>2]=e+(b-d<<2);f=(h+f<<2)-3072|0;h=v[a>>2];b=f+h|0;i=v[a+96>>2];k=v[a+64>>2];j=i+k|0;v[a+64>>2]=B(b-j|0,17837)+16384>>15;b=b+j|0;j=v[a+32>>2];l=j+g|0;v[a+128>>2]=B(b-(l<<1)|0,10298)+16384>>15;v[a>>2]=B(b+l|0,14564)+16384>>15;b=k-i|0;f=h-f|0;h=B(b+f|0,5331)+16384|0;g=j-g|0;v[a+160>>2]=h+B(b-g|0,14564)>>15;v[a+96>>2]=B(f-(b+g|0)|0,14564)+16384>>15;v[a+32>>2]=h+B(f+g|0,14564)>>15;b=v[a+132>>2];f=v[a+36>>2];d=e+(c+d<<2)|0;h=v[a+4>>2];c=d+h|0;g=v[a+100>>2];e=v[a+68>>2];i=g+e|0;v[a+68>>2]=B(c-i|0,17837)+16384>>15;c=c+i|0;i=b+f|0;v[a+132>>2]=B(c-(i<<1)|0,10298)+16384>>15;v[a+4>>2]=B(c+i|0,14564)+16384>>15;c=e-g|0;d=h-d|0;h=B(c+d|0,5331)+16384|0;b=f-b|0;v[a+164>>2]=h+B(c-b|0,14564)>>15;v[a+100>>2]=B(d-(b+c|0)|0,14564)+16384>>15;v[a+36>>2]=h+B(b+d|0,14564)>>15;b=v[a+136>>2];c=v[a+40>>2];f=v[a+168>>2];h=v[a+8>>2];d=f+h|0;g=v[a+104>>2];e=v[a+72>>2];i=g+e|0;v[a+72>>2]=B(d-i|0,17837)+16384>>15;d=d+i|0;i=b+c|0;v[a+136>>2]=B(d-(i<<1)|0,10298)+16384>>15;v[a+8>>2]=B(d+i|0,14564)+16384>>15;d=e-g|0;f=h-f|0;h=B(d+f|0,5331)+16384|0;b=c-b|0;v[a+168>>2]=h+B(d-b|0,14564)>>15;v[a+104>>2]=B(f-(b+d|0)|0,14564)+16384>>15;v[a+40>>2]=h+B(b+f|0,14564)>>15;b=v[a+140>>2];c=v[a+44>>2];f=v[a+172>>2];h=v[a+12>>2];d=f+h|0;g=v[a+108>>2];e=v[a+76>>2];i=g+e|0;v[a+76>>2]=B(d-i|0,17837)+16384>>15;d=d+i|0;i=b+c|0;v[a+140>>2]=B(d-(i<<1)|0,10298)+16384>>15;v[a+12>>2]=B(d+i|0,14564)+16384>>15;d=e-g|0;f=h-f|0;h=B(d+f|0,5331)+16384|0;b=c-b|0;v[a+172>>2]=h+B(d-b|0,14564)>>15;v[a+108>>2]=B(f-(b+d|0)|0,14564)+16384>>15;v[a+44>>2]=h+B(b+f|0,14564)>>15;b=v[a+144>>2];c=v[a+48>>2];f=v[a+176>>2];h=v[a+16>>2];d=f+h|0;g=v[a+112>>2];e=v[a+80>>2];i=g+e|0;v[a+80>>2]=B(d-i|0,17837)+16384>>15;d=d+i|0;i=b+c|0;v[a+144>>2]=B(d-(i<<1)|0,10298)+16384>>15;v[a+16>>2]=B(d+i|0,14564)+16384>>15;d=e-g|0;f=h-f|0;h=B(d+f|0,5331)+16384|0;b=c-b|0;v[a+176>>2]=h+B(d-b|0,14564)>>15;v[a+112>>2]=B(f-(b+d|0)|0,14564)+16384>>15;v[a+48>>2]=h+B(b+f|0,14564)>>15;b=v[a+148>>2];c=v[a+52>>2];f=v[a+180>>2];h=v[a+20>>2];d=f+h|0;g=v[a+116>>2];e=v[a+84>>2];i=g+e|0;v[a+84>>2]=B(d-i|0,17837)+16384>>15;d=d+i|0;i=b+c|0;v[a+148>>2]=B(d-(i<<1)|0,10298)+16384>>15;v[a+20>>2]=B(d+i|0,14564)+16384>>15;d=e-g|0;f=h-f|0;h=B(d+f|0,5331)+16384|0;b=c-b|0;v[a+180>>2]=h+B(d-b|0,14564)>>15;v[a+116>>2]=B(f-(b+d|0)|0,14564)+16384>>15;v[a+52>>2]=h+B(b+f|0,14564)>>15}function gYa(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;f=(e|0)>0?e:0;a:{b:{c:{d:{e:{f:{g:{switch(b|0){case 0:b=1;if(!d|(e|0)<1){break c}t[d|0]=w[a+437|0];break b;case 1:if(c>>>0>3){break e}b=4;if(!d|f>>>0<4){break c}e=0;h:{i:{j:{switch(c|0){case 0:a=a+440|0;break i;case 1:a=a+444|0;break i;case 2:a=a+448|0;break i;case 3:break j;default:break h}}a=a+452|0}e=v[a>>2]}v[d>>2]=e;break c;case 2:if(c>>>0>3){break e}b=4;if(!d|f>>>0<4){break c}e=0;k:{l:{m:{switch(c|0){case 0:a=a+464|0;break l;case 1:a=a+468|0;break l;case 2:a=a+472|0;break l;case 3:break m;default:break k}}a=a+476|0}e=v[a>>2]}v[d>>2]=e;break c;case 3:b=1;if(!d|(e|0)<1){break c}t[d|0]=w[a+436|0];break b;case 4:a=v[a+364>>2];if(!a){break e}b=Bc(a)+1|0;if(!d|f>>>0>>0){break f}gc(d,a,b);break f;case 5:b=4;if(!d|f>>>0<4){break c}v[d>>2]=v[a+168>>2];break c;case 6:b=4;if(!d|f>>>0<4){break c}v[d>>2]=v[a+420>>2];break c;case 7:if(y[a+420>>2]<=c>>>0){break e}a=v[v[a+424>>2]+(c<<2)>>2];c=Bc(a);b=c+1|0;if(!d|f>>>0>>0){break f}g=gc(d,a,b)+c|0,h=0,t[g|0]=h;break f;case 8:if(y[a+420>>2]<=c>>>0){break e}e=v[v[a+432>>2]+(c<<2)>>2];b=e+1|0;if(!d|f>>>0>>0){break f}g=gc(d,v[v[a+428>>2]+(c<<2)>>2],e)+e|0,h=0,t[g|0]=h;break f;case 9:b=4;if(!d|f>>>0<4){break c}v[d>>2]=v[a+368>>2];break c;case 10:if(v[a+368>>2]!=1|y[a+372>>2]<=c>>>0){break e}c=v[v[a+388>>2]+(c<<2)>>2];a=Bc(c);b=a+1|0;if(!d|f>>>0>>0){break f}g=gc(d,c,a)+a|0,h=0,t[g|0]=h;break f;case 11:b=4;if(!d|f>>>0<4){break c}v[d>>2]=v[a+404>>2];break c;case 12:b=v[a+416>>2];n:{if(b){b=Yh(c,b);if(!b){break e}c=v[b>>2];break n}if(y[a+404>>2]<=c>>>0){break e}}e=v[a+408>>2];if(!e){break e}a=v[v[a+412>>2]+(c<<2)>>2];b=a+1|0;if(!d|f>>>0>>0){break f}g=gc(d,v[e+(c<<2)>>2],a)+a|0,h=0,t[g|0]=h;break f;case 13:b=2;if(!d|f>>>0<2){break c}u[d>>1]=x[a+288>>1];break a;case 14:b=2;if(!d|f>>>0<2){break c}u[d>>1]=x[a+290>>1];break a;case 15:b=1;if(!d|(e|0)<1){break c}t[d|0]=w[a+176|0];break b;case 16:if(w[a+176|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}u[d>>1]=x[((c<<1)+a|0)+180>>1];break a;case 24:b=4;if(!d|f>>>0<4){break c}v[d>>2]=v[a+276>>2];break c;case 17:b=4;if(!d|f>>>0<4){break c}v[d>>2]=v[a+284>>2];break c;case 25:b=4;if(!d|f>>>0<4){break c}v[d>>2]=v[a+280>>2];break c;case 18:b=1;if(!d|(e|0)<1){break c}t[d|0]=w[a+177|0];break b;case 19:if(w[a+177|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}u[d>>1]=x[((c<<1)+a|0)+208>>1];break a;case 20:b=1;if(!d|(e|0)<1){break c}t[d|0]=w[a+178|0];break b;case 21:if(w[a+178|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}u[d>>1]=x[((c<<1)+a|0)+228>>1];break a;case 22:b=1;if(!d|(e|0)<1){break c}t[d|0]=w[a+179|0];break b;case 23:if(w[a+179|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}u[d>>1]=x[((c<<1)+a|0)+256>>1];break a;case 26:b=1;if(!d|(e|0)<1){break c}t[d|0]=w[a+292|0];break b;case 27:if(w[a+292|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}u[d>>1]=x[((c<<1)+a|0)+296>>1];break a;case 28:b=1;if(!d|(e|0)<1){break c}t[d|0]=w[a+293|0];break b;case 29:if(w[a+293|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}u[d>>1]=x[((c<<1)+a|0)+322>>1];break a;case 31:b=1;if(!d|(e|0)<1){break c}t[d|0]=w[a+295|0];break b;case 30:b=1;if(!d|(e|0)<1){break c}t[d|0]=w[a+294|0];break b;case 32:if(c>>>0>1){break e}b=2;if(!d|f>>>0<2){break c}u[d>>1]=x[((c<<1)+a|0)+360>>1];break a;case 33:b=4;if(!d|f>>>0<4){break c}v[d>>2]=v[a+172>>2];break c;case 34:b=4;if(!d|f>>>0<4){break c}v[d>>2]=v[a+356>>2];break c;case 35:b=4;if(!d|f>>>0<4){break c}v[d>>2]=v[a+352>>2];break c;case 41:b=1;if(!d|(e|0)<1){break c}t[d|0]=w[a+156|0];break b;case 42:b=2;if(!d|f>>>0<2){break c}u[d>>1]=x[a+158>>1];break a;case 43:b=2;if(!d|f>>>0<2){break c}u[d>>1]=x[a+160>>1];break a;case 44:b=2;if(!d|f>>>0<2){break c}u[d>>1]=x[a+164>>1];break a;case 36:a=v[a+132>>2];if(!a){break e}b=Bc(a)+1|0;if(!d|f>>>0>>0){break f}gc(d,a,b);break f;case 37:a=v[a+136>>2];if(!a){break e}b=Bc(a)+1|0;if(!d|f>>>0>>0){break f}gc(d,a,b);break f;case 38:a=v[a+140>>2];if(!a){break e}b=Bc(a)+1|0;if(!d|f>>>0>>0){break f}gc(d,a,b);break f;case 39:a=v[a+144>>2];if(!a){break e}b=Bc(a)+1|0;if(!d|f>>>0>>0){break f}gc(d,a,b);break f;case 45:break d;case 40:break g;default:break e}}a=v[a+148>>2];if(!a){break e}b=Bc(a)+1|0;if(!d|f>>>0>>0){break f}gc(d,a,b)}if(b){break c}}return-1}b=4;if(!d|f>>>0<4){break c}v[d>>2]=v[a+152>>2]}return b|0}return 1}return 2}function L$(a,b,c,d,e,f,g,h,i){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,w=0,x=0,y=0,z=0,E=0,F=0,G=0,H=0;r=Qb-48|0;Qb=r;a:{if(!a|(!b|((a?v[a+8>>2]:-1)|0)!=1)){break a}if(!g|((b?v[b+8>>2]:-1)|0)!=1|((c|0)<1|(d|0)<1)){break a}p=r+44|0;j=r+40|0;if(a){if(p){v[p>>2]=v[a>>2]}if(j){v[j>>2]=v[a+4>>2]}}p=r+36|0;j=r+32|0;if(b){if(p){v[p>>2]=v[b>>2]}if(j){v[j>>2]=v[b+4>>2]}}j=v[r+44>>2]-v[r+36>>2]|0;p=j>>31;if((p^j+p)>2){break a}j=v[r+40>>2]-v[r+32>>2]|0;p=j>>31;if((p^j+p)>2){break a}x=(f>=C(0)?.5:-.5)+ +f;b:{if(D(x)<2147483648){j=~~x;break b}j=-2147483648}w=a?v[a+12>>2]:-1;p=b?v[b+12>>2]:-1;s=v[r+40>>2];o=v[r+32>>2];n=a?v[a+40>>2]:0;l=(j|0)>0?j:0;m=l-j|0;b=b?v[b+40>>2]:0;a=j+o|0;t=(a|0)<(s|0)?a:s;j=v[r+40>>2];x=(e>=C(0)?.5:-.5)+ +e;c:{if(D(x)<2147483648){a=~~x;break c}a=-2147483648}j=(j|0)<(t|0);e=C(I(C(K(C(C(C(c|0)*i)*C(d|0))))));d:{if(C(D(e))>2];q=n+(B(l,w)<<2)|0;n=b+(B(p,m)<<2)|0;b=a+v[r+36>>2]|0;j=v[r+44>>2];b=(b|0)<(j|0)?b:j;k=(a|0)>0?a:0;e:{if((a|0)>=32){o=a&31;j=a&-32;b=b-j|0;k=k-j|0;q=(a>>>3&536870908)+q|0;j=p;break e}if((a|0)>-32){j=p;o=a;break e}j=a;a=a+31|0;o=j-(a&-32)|0;a=a>>5;j=a+p|0;n=n-(a<<2)|0}a=0;f:{if((b|0)<=(k|0)|(l|0)>=(t|0)){break f}m=b+31>>5;if(!o){k=1;if((b|0)>=1){j=(m|0)>1?m:1;while(1){b=0;while(1){m=a;a=b<<2;a=v[a+n>>2]&v[a+q>>2];a=(((m+v[((a&255)<<2)+g>>2]|0)+v[(a>>>6&1020)+g>>2]|0)+v[(a>>>14&1020)+g>>2]|0)+v[(a>>>22&1020)+g>>2]|0;b=b+1|0;if((j|0)!=(b|0)){continue}break}if((a|0)<(s|0)){if((v[(l<<2)+h>>2]+(a-u|0)|0)<(s|0)){k=0;break a}n=(p<<2)+n|0;q=(w<<2)+q|0;l=l+1|0;if((t|0)!=(l|0)){continue}break f}break}break a}if((s|0)<1){break a}while(1){if((v[(l<<2)+h>>2]-u|0)<(s|0)){k=0;break a}l=l+1|0;if((t|0)!=(l|0)){continue}break}break f}g:{if((o|0)>=1){y=32-o|0;if((j|0)<(m|0)){break g}j=(m|0)>2?m:2;z=(b|0)<33;while(1){b=a;m=v[n>>2];a=v[q>>2]&m>>>o;a=(((b+v[((a&255)<<2)+g>>2]|0)+v[(a>>>6&1020)+g>>2]|0)+v[(a>>>14&1020)+g>>2]|0)+v[(a>>>22&1020)+g>>2]|0;b=1;if(!z){while(1){k=a;E=m<>2];a=(E|m>>>o)&v[a+q>>2];a=(((k+v[((a&255)<<2)+g>>2]|0)+v[(a>>>6&1020)+g>>2]|0)+v[(a>>>14&1020)+g>>2]|0)+v[(a>>>22&1020)+g>>2]|0;b=b+1|0;if((j|0)!=(b|0)){continue}break}}if((a|0)>=(s|0)){k=1;break a}if((v[(l<<2)+h>>2]+(a-u|0)|0)<(s|0)){k=0;break a}n=(p<<2)+n|0;q=(w<<2)+q|0;l=l+1|0;if((t|0)!=(l|0)){continue}break}break f}F=o+32|0;E=0-o|0;if((j|0)<=(m|0)){j=((m|0)>2?m:2)-1|0;G=(b|0)<33;while(1){k=0;m=s;y=g;z=n;if(G){b=0}else{o=v[n>>2];while(1){b=a;a=v[(k<<2)+q>>2];H=o<>2];a=a&(H|o>>>F);a=(((b+v[((a&255)<<2)+g>>2]|0)+v[(a>>>6&1020)+g>>2]|0)+v[(a>>>14&1020)+g>>2]|0)+v[(a>>>22&1020)+g>>2]|0;if((j|0)!=(k|0)){continue}break}b=j}o=a;a=b<<2;a=v[a+z>>2]<>2];a=(((o+v[((a&255)<<2)+y>>2]|0)+v[(a>>>6&1020)+g>>2]|0)+v[(a>>>14&1020)+g>>2]|0)+v[(a>>>22&1020)+g>>2]|0;if((m|0)<=(a|0)){k=1;break a}if((v[(l<<2)+h>>2]+(a-u|0)|0)<(s|0)){k=0;break a}n=(p<<2)+n|0;q=(w<<2)+q|0;l=l+1|0;if((t|0)!=(l|0)){continue}break}break f}k=1;if((b|0)>=1){b=(m|0)>1?m:1;while(1){o=v[n>>2];k=0;while(1){j=a;a=v[(k<<2)+q>>2];m=o<>2];a=a&(m|o>>>F);a=(((j+v[((a&255)<<2)+g>>2]|0)+v[(a>>>6&1020)+g>>2]|0)+v[(a>>>14&1020)+g>>2]|0)+v[(a>>>22&1020)+g>>2]|0;if((b|0)!=(k|0)){continue}break}if((a|0)<(s|0)){if((v[(l<<2)+h>>2]+(a-u|0)|0)<(s|0)){k=0;break a}n=(p<<2)+n|0;q=(w<<2)+q|0;l=l+1|0;if((t|0)!=(l|0)){continue}break f}break}k=1;break a}if((s|0)<1){break a}while(1){if((v[(l<<2)+h>>2]-u|0)<(s|0)){k=0;break a}l=l+1|0;if((t|0)!=(l|0)){continue}break}break f}while(1){b=a;m=v[n>>2];a=v[q>>2]&m>>>o;b=(((b+v[((a&255)<<2)+g>>2]|0)+v[(a>>>6&1020)+g>>2]|0)+v[(a>>>14&1020)+g>>2]|0)+v[(a>>>22&1020)+g>>2]|0;k=1;a=1;if((j|0)>=2){while(1){z=m<>2];a=(z|m>>>o)&v[a+q>>2];b=(((v[((a&255)<<2)+g>>2]+b|0)+v[(a>>>6&1020)+g>>2]|0)+v[(a>>>14&1020)+g>>2]|0)+v[(a>>>22&1020)+g>>2]|0;k=k+1|0;if((k|0)!=(j|0)){continue}break}a=j}a=a<<2;a=v[(a+n|0)-4>>2]<>2];a=(((v[((a&255)<<2)+g>>2]+b|0)+v[(a>>>6&1020)+g>>2]|0)+v[(a>>>14&1020)+g>>2]|0)+v[(a>>>22&1020)+g>>2]|0;if((s|0)<=(a|0)){k=1;break a}if((v[(l<<2)+h>>2]+(a-u|0)|0)<(s|0)){k=0;break a}n=(p<<2)+n|0;q=(w<<2)+q|0;l=l+1|0;if((t|0)!=(l|0)){continue}break}}k=0;e=C(C(B(a,a)|0)/C(B(c,d)|0));if(!(e>=i)){break a}A[r+16>>3]=i;v[r+4>>2]=s;v[r>>2]=a;A[r+8>>3]=e;Ph(v[252391],4437,r)}Qb=r+48|0;return k}function b6(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,x=0;h=Qb-192|0;Qb=h;f=v[a+608>>2];d=v[a+604>>2];u=1;n=v[a+584>>2];o=v[n+72>>2];g=v[n+68>>2];k=v[n+64>>2];a:{b:{c:{d:{if((c|0)<1){e=d;break d}s=d+f|0;p=v[n+88>>2];t=v[n+60>>2];l=v[n+12>>2];e:while(1){f:{g:{if(o){break g}while(1){h:{i:{j:{if((g|0)>10){f=d;break j}if(d>>>0>=s>>>0){if(!g){break i}g=11;f=d;break j}e=g+8|0;f=d+1|0;k=w[w[d|0]+t|0]<2){g=e;break j}if(f>>>0>=s>>>0){g=11;break j}g=g+16|0;f=d+2|0;k=w[w[d+1|0]+t|0]<>>1|0;g=g-1|0;d=f;continue}}while(1){f=g;e=f;k:{if((f|0)>7){break k}if(d>>>0>=s>>>0){e=8;if(g){break k}break f}k=w[w[d|0]+t|0]<>>1|0;if(!e){continue}break}}k=k>>>1|0;g=f-1|0;f=0;e=p;l:{m:{while(1){q=0;n:{while(1){o:{if((g|0)>11){i=g;break o}if(d>>>0>=s>>>0){i=12;if(g){break o}break c}m=g+8|0;j=d+1|0;k=w[w[d|0]+t|0]<3){i=m;d=j;break o}i=12;if(j>>>0>=s>>>0){d=j;break o}i=g+16|0;k=w[w[d+1|0]+t|0]<>>g|0;g=i-g|0;o=1;i=e;p:{q:{switch(w[j|0]-7|0){case 0:j=v[j+4>>2];x=j+q|0;v[e>>2]=x;i=e+4|0;q=0;f=f+j|0;if((l|0)>(f|0)){break p}o=0;break l;case 5:break m;case 2:case 4:break q;default:break n}}i=v[j+4>>2];q=i+q|0;f=f+i|0;continue}break}while(1){r:{if((g|0)>12){j=g;break r}if(d>>>0>=s>>>0){j=13;if(g){break r}e=i;break c}r=g+8|0;m=d+1|0;k=w[w[d|0]+t|0]<4){j=r;d=m;break r}j=13;if(m>>>0>=s>>>0){d=m;break r}j=g+16|0;k=w[w[d+1|0]+t|0]<>>g|0;g=j-g|0;j=w[m|0];if(j-10>>>0<2){j=v[m+4>>2];q=j+q|0;f=f+j|0;continue}break}s:{t:{switch(j-8|0){case 0:j=v[m+4>>2];m=j+q|0;v[e+4>>2]=m;i=e+8|0;f=f+j|0;if((l|0)>(f|0)){break s}o=0;break l;case 4:break m;default:break t}}e=v[a+12>>2]&1024;j=v[(e?504:480)+a>>2];m=v[a+628>>2];r=v[a>>2];o=v[n+108>>2];v[h+80>>2]=f;v[h+76>>2]=j;v[h+72>>2]=e?56103:56298;v[h+68>>2]=o;v[h+64>>2]=r;zc(m,86144,55737,h- -64|0);o=0;break m}e=m|x?i:e;continue}break}i=v[a+12>>2]&1024;j=v[(i?504:480)+a>>2];m=v[a+628>>2];r=v[a>>2];o=v[n+108>>2];v[h+48>>2]=f;v[h+44>>2]=j;v[h+40>>2]=i?56103:56298;v[h+36>>2]=o;v[h+32>>2]=r;zc(m,86144,55737,h+32|0);o=0;i=e}if(!q){break l}v[i>>2]=q;i=i+4|0}u:{if((f|0)==(l|0)){break u}e=v[a+12>>2]&1024;j=v[(e?504:480)+a>>2];m=v[a+628>>2];r=v[a>>2];q=v[n+108>>2];v[h+24>>2]=l;v[h+20>>2]=f;v[h+16>>2]=j;v[h+12>>2]=e?56103:56298;v[h+8>>2]=q;v[h+4>>2]=f>>>0>>0?57394:57552;v[h>>2]=r;Ld(m,86144,57124,h);e=(f|0)>(l|0);v:{if((f|0)<=(l|0)|i>>>0<=p>>>0){break v}while(1){i=i-4|0;f=f-v[i>>2]|0;e=(l|0)<(f|0);if((f|0)<=(l|0)){break v}if(i>>>0>p>>>0){continue}break}}if((f|0)<(l|0)){if(i-p&4){v[i>>2]=0;i=i+4|0}v[i>>2]=l-((f|0)>0?f:0);i=i+4|0;break u}if(!e){break u}v[i+4>>2]=0;v[i>>2]=l;i=i+8|0}Ub[v[n+76>>2]](b,p,i,l);v[n+108>>2]=v[n+108>>2]+1;e=v[n+8>>2];b=e+b|0;c=c-e|0;if((c|0)>0){continue e}f=v[a+608>>2];e=v[a+604>>2];break d}else{k=k>>>8|0;g=f-8|0;continue}}}break}if(!l){e=p;break b}c=v[a+12>>2]&1024;e=v[(c?504:480)+a>>2];f=v[a+628>>2];i=v[a>>2];g=v[n+108>>2];v[h+184>>2]=l;v[h+180>>2]=0;v[h+176>>2]=e;v[h+172>>2]=c?56103:56298;v[h+168>>2]=g;v[h+164>>2]=57394;v[h+160>>2]=i;Ld(f,86144,57124,h+160|0);v[p>>2]=l;if((l|0)>0){e=p+4|0;break b}v[p+4>>2]=0;e=p+8|0;break b}v[n+72>>2]=o;v[n+64>>2]=k;v[n+68>>2]=g;b=(e-d|0)+f|0;break a}c=v[a+12>>2]&1024;i=v[(c?504:480)+a>>2];g=v[a+628>>2];j=v[a>>2];m=v[n+108>>2];v[h+144>>2]=f;v[h+140>>2]=i;v[h+136>>2]=c?56103:56298;v[h+132>>2]=m;v[h+128>>2]=j;Ld(g,86144,56754,h+128|0);if(q){v[e>>2]=q;e=e+4|0}o=0;if((f|0)==(l|0)){break b}c=v[a+12>>2]&1024;i=v[(c?504:480)+a>>2];g=v[a+628>>2];j=v[a>>2];m=v[n+108>>2];v[h+120>>2]=l;v[h+116>>2]=f;v[h+112>>2]=i;v[h+108>>2]=c?56103:56298;v[h+104>>2]=m;v[h+100>>2]=f>>>0>>0?57394:57552;v[h+96>>2]=j;Ld(g,86144,57124,h+96|0);g=(f|0)>(l|0);w:{if((f|0)<=(l|0)|e>>>0<=p>>>0){break w}while(1){e=e-4|0;f=f-v[e>>2]|0;g=(l|0)<(f|0);if((f|0)<=(l|0)){break w}if(e>>>0>p>>>0){continue}break}}if((f|0)<(l|0)){if(e-p&4){v[e>>2]=0;e=e+4|0}v[e>>2]=l-((f|0)>0?f:0);e=e+4|0;break b}if(!g){break b}v[e+4>>2]=0;v[e>>2]=l;e=e+8|0}Ub[v[n+76>>2]](b,p,e,l);v[n+72>>2]=o;v[n+64>>2]=k;v[n+68>>2]=0;u=-1;b=v[a+608>>2]+(v[a+604>>2]-d|0)|0}v[a+604>>2]=d;v[a+608>>2]=b;Qb=h+192|0;return u|0}function yGa(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;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0,C=0,E=0,F=0,G=0,H=0,I=0;m=Qb-128|0;Qb=m;a:{b:{c:{d:{if(w[a+208|0]){break d}if(!((j|0)>0&(i|0)>=1)){Ub[v[v[a>>2]+288>>2]](a,b,c,d,e,f,g,0,0,l)}c=B(e,f)<<2;if((c|0)<1){break d}E=A[b+104>>3];o=fc(c);u=m+96|0;c=u;v[c+12>>2]=0;v[c+16>>2]=0;v[c+4>>2]=1;v[c+8>>2]=8;v[c>>2]=466676;v[c+20>>2]=0;v[c+24>>2]=0;t[c+28|0]=0;v[m+48>>2]=e;v[m+40>>2]=f;v[299999]=0;v[m+32>>2]=0-(e<<2);gn(c,o,m+48|0,m+40|0,m+32|0);c=v[299999];v[299999]=0;e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{if((c|0)!=1){v[299999]=0;z=S(1,36)|0;c=v[299999];v[299999]=0;if((c|0)==1){break n}c=v[g+4>>2];l=v[g+8>>2];v[299999]=0;p=ca(3160,z|0,d|0,e|0,l|0,c|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break m}v[299999]=0;C=S(1,36)|0;c=v[299999];v[299999]=0;if((c|0)==1){break l}v[299999]=0;q=ca(3160,C|0,h|0,i|0,1,1)|0;c=v[299999];v[299999]=0;if((c|0)==1){break k}v[299999]=0;R(3161,q|0);c=v[299999];v[299999]=0;if((c|0)==1){break l}v[299999]=0;R(3161,p|0);c=v[299999];v[299999]=0;if((c|0)==1){break l}if((e|0)==(i|0)&(f|0)==(j|0)){break i}v[299999]=0;l=S(15,B(i,j)|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){break j}a=P()|0;O()|0;break a}a=P()|0;O()|0;break a}a=P()|0;O()|0;break a}a=P()|0;O()|0;dc(z);break a}a=P()|0;O()|0;break a}a=P()|0;O()|0;dc(C);break a}t[m+32|0]=0;h=j-1|0;if(!((j|0)<1|(i|0)<1)){c=h;while(1){n=B(c,i);d=0;while(1){v[299999]=0;Q(3163,q|0,m+32|0)|0;r=v[299999];v[299999]=0;if((r|0)==1){break h}t[(d+n|0)+l|0]=w[m+32|0];d=d+1|0;if((i|0)!=(d|0)){continue}break}d=(c|0)>0;c=c-1|0;if(d){continue}break}}v[m+40>>2]=0;o:{p:{if(!((f|0)<1|(e|0)<1)){c=i-1|0;x=+(f|0)/+(j|0);y=+(e|0)/+(i|0);while(1){d=h;j=f-1|0;s=+(j|0)/x;q:{if(D(s)<2147483648){n=~~s;break q}n=-2147483648}F=B((h|0)<(n|0)?d:n,i);G=B(e,j);d=0;while(1){v[299999]=0;Q(3163,p|0,m+40|0)|0;n=v[299999];v[299999]=0;if((n|0)==1){break p}n=m;H=F;I=c;s=+(d|0)/y;r:{if(D(s)<2147483648){r=~~s;break r}r=-2147483648}t[n+32|0]=w[(H+((c|0)<(r|0)?I:r)|0)+l|0];v[299999]=0;$(3164,g|0,m+40|0,m+48|0,0);n=v[299999];v[299999]=0;if((n|0)==1){break o}n=d+G<<2;t[n+o|0]=B(v[m+56>>2],255)+32768>>>16;t[(n|1)+o|0]=B(v[m+52>>2],255)+32768>>>16;t[(n|2)+o|0]=B(v[m+48>>2],255)+32768>>>16;t[(n|3)+o|0]=0-(!w[m+32|0]|(k|0)!=0);d=d+1|0;if((e|0)!=(d|0)){continue}break}d=(f|0)>1;f=j;if(d){continue}break}}dc(l);break e}a=P()|0;O()|0;break a}a=P()|0;O()|0;break a}v[m+40>>2]=0;t[m+32|0]=0;if((j|0)<1|(i|0)<1){break e}c=j-1|0;if(k){break f}while(1){e=B(c,i);h=0;while(1){v[299999]=0;Q(3163,p|0,m+40|0)|0;d=v[299999];v[299999]=0;s:{if((d|0)!=1){v[299999]=0;Q(3163,q|0,m+32|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){break s}}a=P()|0;O()|0;break a}v[299999]=0;$(3164,g|0,m+40|0,m+48|0,0);d=v[299999];v[299999]=0;if((d|0)==1){break g}d=e+h<<2;t[d+o|0]=B(v[m+56>>2],255)+32768>>>16;t[(d|1)+o|0]=B(v[m+52>>2],255)+32768>>>16;t[(d|2)+o|0]=B(v[m+48>>2],255)+32768>>>16;t[(d|3)+o|0]=w[m+32|0]?0:-1;h=h+1|0;if((i|0)!=(h|0)){continue}break}d=(c|0)>0;c=c-1|0;if(d){continue}break}break e}a=P()|0;O()|0;break a}a=P()|0;O()|0;break a}t:{while(1){e=B(c,i);h=0;u:{while(1){v[299999]=0;Q(3163,p|0,m+40|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break u}v[299999]=0;Q(3163,q|0,m+32|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break u}v[299999]=0;$(3164,g|0,m+40|0,m+48|0,0);d=v[299999];v[299999]=0;if((d|0)==1){break t}d=e+h<<2;t[d+o|0]=B(v[m+56>>2],255)+32768>>>16;t[(d|1)+o|0]=B(v[m+52>>2],255)+32768>>>16;t[(d|2)+o|0]=B(v[m+48>>2],255)+32768>>>16;t[(d|3)+o|0]=255;h=h+1|0;if((i|0)!=(h|0)){continue}break}d=(c|0)>0;c=c-1|0;if(d){continue}break e}break}a=P()|0;O()|0;break a}a=P()|0;O()|0;break a}Ip(q);dc(C);Ip(p);dc(z);A[m+48>>3]=A[b+16>>3];A[m+56>>3]=-A[b+24>>3];x=A[b+32>>3];A[m+64>>3]=-x;y=A[b+40>>3];A[m+72>>3]=y;A[m+80>>3]=x+A[b+48>>3];A[m+88>>3]=E-(y+A[b+56>>3]);v[m+40>>2]=0;v[m+44>>2]=0;v[299999]=0;v[m+32>>2]=0;v[m+36>>2]=0;fa(3156,a|0,m+48|0,m+40|0,m+32|0,1);b=v[299999];v[299999]=0;if((b|0)==1){break c}a=v[a+104>>2];A[m+24>>3]=A[m+40>>3]+0;A[m+16>>3]=A[m+32>>3]+0;v[m+8>>2]=1049880894;v[m+12>>2]=1071027177;v[m>>2]=1049880894;v[m+4>>2]=1071027177;b=v[v[a>>2]+356>>2];v[299999]=0;aa(b|0,a|0,u|0,m+24|0,m+16|0,m+8|0,m|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break b}sj(u)}Qb=m+128|0;return}a=P()|0;O()|0;break a}a=P()|0;O()|0}sj(u);T(a|0);L()}function QDa(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;c=Qb-160|0;Qb=c;v[c+144>>2]=13;v[c+128>>2]=13;v[c+112>>2]=13;v[c+96>>2]=13;a:{if(!v[a+100>>2]){h=v[a+8>>2];if(!(Ub[v[v[h>>2]+32>>2]](h)|0)){break a}}e=v[a+20>>2];g=v[b+8>>2];b:{while(1){if(v[e+8>>2]==7){if(v[rc(v[e+16>>2],g,c+144|0,0)>>2]!=5){break b}hc(c+144|0)}e=v[e+104>>2];if(e){continue}break}v[c>>2]=g;kc(1,-1,244479,c);break a}if(v[c+144>>2]!=8){e=-1;a=v[a+108>>2];c:{if(!a){break c}a=v[a+4>>2];if(v[a+8>>2]==13){break c}a=v[a+16>>2];e=Ub[v[v[a>>2]+52>>2]](a)|0}v[c+64>>2]=g;kc(1,e,279423,c- -64|0);hc(c+144|0);break a}j=v[a+100>>2];b=v[c+152>>2];d=Ub[v[v[b>>2]+76>>2]](b)|0;b=c+128|0;Ce(d,322061,b);if(ay(v[v[a>>2]+36>>2],b,c+92|0)){v[a+100>>2]=v[a+100>>2]&v[c+92>>2]}h=c+128|0;hc(h);b=v[c+152>>2];rc(Ub[v[v[b>>2]+76>>2]](b)|0,278827,h,0);d:{if(v[c+128>>2]==4){e=v[c+136>>2];if(!mc(e,283586)){b=v[a+8>>2];if(!(Ub[v[v[b>>2]+28>>2]](b)|0)){break d}e=v[a+20>>2];e:{while(1){if(v[e+8>>2]==7){if(v[Ce(v[e+16>>2],g,c+96|0)>>2]!=5){break e}hc(c+96|0)}e=v[e+104>>2];if(e){continue}break}v[c+16>>2]=g;kc(1,-1,244479,c+16|0)}b=c+96|0;dT(a,b,v[c+152>>2],0);hc(b);break d}if(!mc(e,255693)){e=v[a+20>>2];f:{while(1){if(v[e+8>>2]==7){if(v[Ce(v[e+16>>2],g,c+96|0)>>2]!=5){break f}hc(c+96|0)}e=v[e+104>>2];if(e){continue}break}v[c+32>>2]=g;kc(1,-1,244479,c+32|0)}b=v[a+8>>2];g:{if(!(!(Ub[v[v[b>>2]+20>>2]](b)|0)|v[c+96>>2]!=9)){if(!v[a+100>>2]){break g}g=v[a+8>>2];h=v[c+108>>2];f=v[c+104>>2];v[c+80>>2]=f;v[c+84>>2]=h;b=v[v[g>>2]+308>>2];v[c+24>>2]=f;v[c+28>>2]=h;Ub[b|0](g,c+24|0);break g}g=c+96|0;d=Qb-176|0;Qb=d;v[d+160>>2]=13;v[d+144>>2]=13;v[d+48>>2]=13;v[d+32>>2]=13;v[d+16>>2]=13;v[d>>2]=13;h:{if(v[a+96>>2]>100){break h}if(!v[a+100>>2]){b=v[a+8>>2];if(!(Ub[v[v[b>>2]+32>>2]](b)|0)){break h}}b=v[c+152>>2];i=Ub[v[v[b>>2]+76>>2]](b)|0;rc(i,279660,d+32|0,0);b=v[d+32>>2];if(!((b|0)==5|(b|0)==1&v[d+40>>2]==1)){e=-1;b=v[a+108>>2];i:{if(!b){break i}b=v[b+4>>2];if(v[b+8>>2]==13){break i}b=v[b+16>>2];e=Ub[v[v[b>>2]+52>>2]](b)|0}kc(1,e,278955,0)}hc(d+32|0);rc(i,220495,d+144|0,0);j:{k:{if(v[d+144>>2]==6){b=d+32|0;yc(v[d+152>>2],0,b,0);A[d+64>>3]=v[d+32>>2]==1?+v[d+40>>2]:A[d+40>>3];hc(b);yc(v[d+152>>2],1,b,0);A[d+72>>3]=v[d+32>>2]==1?+v[d+40>>2]:A[d+40>>3];hc(b);yc(v[d+152>>2],2,b,0);A[d+80>>3]=v[d+32>>2]==1?+v[d+40>>2]:A[d+40>>3];hc(b);yc(v[d+152>>2],3,b,0);A[d+88>>3]=v[d+32>>2]==1?+v[d+40>>2]:A[d+40>>3];hc(b);hc(d+144|0);rc(i,220530,d+160|0,0);if(v[d+160>>2]!=6){break k}b=d+32|0;yc(v[d+168>>2],0,b,0);A[d+96>>3]=v[d+32>>2]==1?+v[d+40>>2]:A[d+40>>3];hc(b);yc(v[d+168>>2],1,b,0);A[d+104>>3]=v[d+32>>2]==1?+v[d+40>>2]:A[d+40>>3];hc(b);yc(v[d+168>>2],2,b,0);A[d+112>>3]=v[d+32>>2]==1?+v[d+40>>2]:A[d+40>>3];hc(b);yc(v[d+168>>2],3,b,0);A[d+120>>3]=v[d+32>>2]==1?+v[d+40>>2]:A[d+40>>3];hc(b);yc(v[d+168>>2],4,b,0);A[d+128>>3]=v[d+32>>2]==1?+v[d+40>>2]:A[d+40>>3];hc(b);yc(v[d+168>>2],5,b,0);A[d+136>>3]=v[d+32>>2]==1?+v[d+40>>2]:A[d+40>>3];hc(b);break j}hc(d+144|0);e=-1;b=v[a+108>>2];l:{if(!b){break l}b=v[b+4>>2];if(v[b+8>>2]==13){break l}b=v[b+16>>2];e=Ub[v[v[b>>2]+52>>2]](b)|0}kc(1,e,220428,0);break h}v[d+112>>2]=0;v[d+116>>2]=0;v[d+136>>2]=0;v[d+140>>2]=0;v[d+104>>2]=0;v[d+108>>2]=0;v[d+96>>2]=0;v[d+100>>2]=1072693248;v[d+128>>2]=0;v[d+132>>2]=0;v[d+120>>2]=0;v[d+124>>2]=1072693248}hc(d+160|0);rc(i,236851,d+48|0,0);h=v[d+48>>2]==7?v[d+56>>2]:0;e=0;if(v[rc(i,240654,d+32|0,0)>>2]==7){b=rc(v[d+40>>2],310906,d+16|0,0);f=0;m:{if(v[b>>2]!=4){break m}f=0;if(mc(v[b+8>>2],219644)){break m}b=rc(v[d+40>>2],320692,d,0);e=v[b>>2]?0:v[d+8>>2];hc(d);b=rc(v[d+40>>2],320548,d,0);k=v[b>>2]?0:v[d+8>>2];hc(d);f=1}hc(d+16|0)}hc(d+32|0);v[a+96>>2]=v[a+96>>2]+1;my(a,g,h,d+96|0,d- -64|0,f,0,e,k,0,0,0);v[a+96>>2]=v[a+96>>2]-1;hc(d+48|0)}Qb=d+176|0}hc(c+96|0);break d}if(!mc(e,310639)){if(!v[a+100>>2]){break d}b=v[c+152>>2];rc(Ub[v[v[b>>2]+76>>2]](b)|0,333537,c+112|0,0);b=v[a+8>>2];Ub[v[v[b>>2]+312>>2]](b,v[c+152>>2],v[c+112>>2]==8?v[c+120>>2]:0);break d}b=-1;f=v[a+108>>2];n:{if(!f){break n}f=v[f+4>>2];if(v[f+8>>2]==13){break n}b=v[f+16>>2];b=Ub[v[v[b>>2]+52>>2]](b)|0;e=v[c+136>>2]}v[c+48>>2]=e;kc(1,b,345527,c+48|0);break d}e=-1;b=v[a+108>>2];o:{if(!b){break o}b=v[b+4>>2];if(v[b+8>>2]==13){break o}b=v[b+16>>2];e=Ub[v[v[b>>2]+52>>2]](b)|0}kc(1,e,279485,0)}hc(c+128|0);hc(c+144|0);v[a+100>>2]=j}Qb=c+160|0}function Cy(a,b,c){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,p=0,q=0;a:{if(v[a+292>>2]){break a}d=v[a+36>>2];e=v[d+16>>2];if((e-v[d+12>>2]|0)<501|(v[d+20>>2]-e|0)>499){break a}bh(d);d=v[a+36>>2];if(w[v[d+16>>2]]){break a}if((cd(d)|0)>0){break a}vd(a)}v[b>>2]=0;b:{c:{d:{e=v[a+36>>2];d=v[e+16>>2];switch(w[d|0]-80|0){case 0:break c;case 3:break d;default:break b}}if(w[d+1|0]!=89|w[d+2|0]!=83|(w[d+3|0]!=84|w[d+4|0]!=69)){break b}if(w[d+5|0]!=77){break b}v[a+200>>2]=v[a+200>>2]+6;v[e+16>>2]=d+6;v[e+32>>2]=v[e+32>>2]+6;b=w[d+6|0];if((b|0)==37){wd(a);e=v[a+36>>2];b=w[v[e+16>>2]]}e:{if(b&255){break e}if((cd(e)|0)>0){break e}vd(a)}b=w[v[v[a+36>>2]+16>>2]]-9|0;if(!(1<>>0<=23:0)){Nd(a,65,356457)}Bd(a);j=yU(a);if(j){break b}te(a,70,0);return 0}if(w[d+1|0]!=85|w[d+2|0]!=66|(w[d+3|0]!=76|w[d+4|0]!=73)){break b}if(w[d+5|0]!=67){break b}v[a+200>>2]=v[a+200>>2]+6;v[e+16>>2]=d+6;v[e+32>>2]=v[e+32>>2]+6;d=w[d+6|0];if((d|0)==37){wd(a);e=v[a+36>>2];d=w[v[e+16>>2]]}f:{if(d&255){break f}if((cd(e)|0)>0){break f}vd(a)}d=w[v[v[a+36>>2]+16>>2]]-9|0;if(!(1<>>0<=23:0)){Nd(a,65,356519)}Bd(a);p=b;g=Qb-80|0;Qb=g;d=a;q=v[d+172>>2];g:{if(v[d+292>>2]){break g}a=v[d+36>>2];b=v[a+16>>2];if((b-v[a+12>>2]|0)<501|(v[a+20>>2]-b|0)>499){break g}bh(a);a=v[d+36>>2];if(w[v[a+16>>2]]){break g}if((cd(a)|0)>0){break g}while(1){f=v[d+40>>2];if((f|0)<2){break g}b=d;h:{i:{j:{if(!v[294256]){i=f-1|0;v[d+40>>2]=i;a=v[d+48>>2];break j}v[g+64>>2]=f;a=0;Ub[v[259806]](v[294239],354269,g- -64|0);f=v[d+40>>2];if((f|0)<1){break h}i=f-1|0;v[d+40>>2]=i;a=v[d+48>>2];e=0;h=0;if((f|0)==1){break i}}e=i;h=v[((f<<2)+a|0)-8>>2]}v[b+36>>2]=h;b=(e<<2)+a|0;a=v[b>>2];v[b>>2]=0}Sh(a);a=v[d+36>>2];if(w[v[a+16>>2]]){break g}if((cd(a)|0)<1){continue}break}}k=34;k:{l:{switch(w[v[v[d+36>>2]+16>>2]]-34|0){default:if(!(!v[d+212>>2]|v[d+172>>2]!=-1)){a=0;break k}v[d+84>>2]=43;v[g>>2]=289883;a=0;oc(0,0,0,d,0,1,43,3,0,0,0,0,350078,g);v[d+12>>2]=0;if(v[d+288>>2]){break k}v[d+212>>2]=1;break k;case 5:k=39;break;case 0:break l}}xd(d);i=100;b=Ub[v[259707]](100)|0;if(!b){a=0;Qd(d,0);break k}v[d+172>>2]=16;f=w[v[v[d+36>>2]+16>>2]];h=(k|0)!=(f|0);m:{if(!(!w[f+879024|0]|(f|0)==(k|0))){e=0;while(1){n:{m=e+1|0;if((m|0)<(i|0)){a=b;break n}if(!(w[d+362|0]&8|(i|0)<50001)){o:{if(v[d+172>>2]==-1?v[d+212>>2]:0){break o}v[d+84>>2]=110;v[g+52>>2]=321610;v[g+48>>2]=246281;oc(0,0,0,d,0,1,110,3,321610,0,0,0,349936,g+48|0);v[d+12>>2]=0;if(v[d+288>>2]){break o}v[d+212>>2]=1}a=0;Ub[v[259708]](b);break k}i=i<<1;a=Ub[v[259709]](b,i)|0;if(a){break n}a=0;Qd(d,0);Ub[v[259708]](b);break k}t[a+e|0]=f;p:{if((n|0)<50){n=n+1|0;break p}q:{if(v[d+292>>2]){break q}b=v[d+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break q}nd(d)}n=0;if(v[d+172>>2]!=-1){break p}Ub[v[259708]](a);a=0;break k}xd(d);b=v[d+36>>2];e=v[b+16>>2];f=w[e|0];if(!f){r:{if(v[d+292>>2]){break r}if((v[b+20>>2]-e|0)<=249){nd(d);if(v[d+292>>2]){break r}}b=v[d+36>>2];e=v[b+16>>2];if((e-v[b+12>>2]|0)<501|(v[b+20>>2]-e|0)>499){break r}bh(b);b=v[d+36>>2];if(w[v[b+16>>2]]){break r}if((cd(b)|0)>0){break r}while(1){f=v[d+40>>2];if((f|0)<2){break r}l=d;s:{t:{u:{if(!v[294256]){h=f-1|0;v[d+40>>2]=h;e=v[d+48>>2];break u}v[g+32>>2]=f;e=0;Ub[v[259806]](v[294239],354269,g+32|0);f=v[d+40>>2];if((f|0)<1){break s}h=f-1|0;v[d+40>>2]=h;e=v[d+48>>2];o=0;b=0;if((f|0)==1){break t}}o=v[((f<<2)+e|0)-8>>2];b=h}v[l+36>>2]=o;b=(b<<2)+e|0;e=v[b>>2];v[b>>2]=0}Sh(e);b=v[d+36>>2];if(w[v[b+16>>2]]){break r}if((cd(b)|0)<1){continue}break}}f=w[v[v[d+36>>2]+16>>2]]}l=f&255;h=(l|0)!=(k|0);if(!w[l+879024|0]){break m}b=a;e=m;if((k|0)!=(l|0)){continue}break}break m}a=b}t[a+m|0]=0;v:{if(h){if(v[d+172>>2]==-1?v[d+212>>2]:0){break v}v[d+84>>2]=44;v[g+16>>2]=289913;oc(0,0,0,d,0,1,44,3,0,0,0,0,350078,g+16|0);v[d+12>>2]=0;if(v[d+288>>2]){break v}v[d+212>>2]=1;break v}xd(d)}v[d+172>>2]=q}Qb=g+80|0;v[p>>2]=a;if(!a){te(d,71,0)}w:{if(c){a=w[v[v[d+36>>2]+16>>2]]-9|0;if(1<>>0<=23:0){break w}Nd(d,65,350520);break w}x:{if(v[d+292>>2]){break x}a=v[d+36>>2];if((v[a+20>>2]-v[a+16>>2]|0)>249){break x}nd(d)}a=v[v[d+36>>2]+16>>2];b=w[a|0];c=b-9|0;if(c>>>0>23|!(1<>>0>30){break b}if(1<>2],w[c+15|0],d,b,j+12|0,j+8|0,j+4|0);v[m+12>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;case 2:Gd(v[a+68>>2],w[c+11|0],d,b,j+12|0,j+8|0,j+4|0);v[l+12>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;case 1:Gd(v[a+68>>2],w[c+7|0],d,b,j+12|0,j+8|0,j+4|0);v[k+12>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;break;case 0:break d}}Gd(v[a+68>>2],w[c+3|0],d,b,j+12|0,j+8|0,j+4|0);v[n+12>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;case 2:e:{switch(f-1|0){default:Gd(v[a+68>>2],w[c+14|0],d,b,j+12|0,j+8|0,j+4|0);v[m+8>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;case 2:Gd(v[a+68>>2],w[c+10|0],d,b,j+12|0,j+8|0,j+4|0);v[l+8>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;case 1:Gd(v[a+68>>2],w[c+6|0],d,b,j+12|0,j+8|0,j+4|0);v[k+8>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;break;case 0:break e}}Gd(v[a+68>>2],w[c+2|0],d,b,j+12|0,j+8|0,j+4|0);v[n+8>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;case 1:f:{switch(f-1|0){default:Gd(v[a+68>>2],w[c+13|0],d,b,j+12|0,j+8|0,j+4|0);v[m+4>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;case 2:Gd(v[a+68>>2],w[c+9|0],d,b,j+12|0,j+8|0,j+4|0);v[l+4>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;case 1:Gd(v[a+68>>2],w[c+5|0],d,b,j+12|0,j+8|0,j+4|0);v[k+4>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;break;case 0:break f}}Gd(v[a+68>>2],w[c+1|0],d,b,j+12|0,j+8|0,j+4|0);v[n+4>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;break;case 0:break c}}g:{switch(f-1|0){default:Gd(v[a+68>>2],w[c+12|0],d,b,j+12|0,j+8|0,j+4|0);v[m>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;case 2:Gd(v[a+68>>2],w[c+8|0],d,b,j+12|0,j+8|0,j+4|0);v[l>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;case 1:Gd(v[a+68>>2],w[c+4|0],d,b,j+12|0,j+8|0,j+4|0);v[k>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;break;case 0:break g}}Gd(v[a+68>>2],w[c|0],d,b,j+12|0,j+8|0,j+4|0);v[n>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;if(g>>>0<4){break b}i=c+18|0;o=m+16|0;h=l+16|0;d=k+16|0;b=n+16|0;g=g-4|0;if(g){continue}break}g=4}if(f>>>0<5){break a}g=g<<2;b=p<<2;o=g+(b+m|0)|0;h=g+(b+l|0)|0;d=g+(b+k|0)|0;b=g+(b+n|0)|0;f=f-4|0;i=(c+q|0)+18|0;continue}}if(f>>>0<4){break a}c=e>>>2|0;p=p<<2;while(1){g=c;while(1){e=w[i+16|0];k=w[i+17|0];l=j+12|0;m=j+8|0;n=j+4|0;Gd(v[a+68>>2],w[i|0],e,k,l,m,n);v[b>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Gd(v[a+68>>2],w[i+1|0],e,k,l,m,n);v[b+4>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Gd(v[a+68>>2],w[i+2|0],e,k,l,m,n);v[b+8>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Gd(v[a+68>>2],w[i+3|0],e,k,l,m,n);v[b+12>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Gd(v[a+68>>2],w[i+4|0],e,k,l,m,n);v[d>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Gd(v[a+68>>2],w[i+5|0],e,k,l,m,n);v[d+4>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Gd(v[a+68>>2],w[i+6|0],e,k,l,m,n);v[d+8>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Gd(v[a+68>>2],w[i+7|0],e,k,l,m,n);v[d+12>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Gd(v[a+68>>2],w[i+8|0],e,k,l,m,n);v[h>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Gd(v[a+68>>2],w[i+9|0],e,k,l,m,n);v[h+4>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Gd(v[a+68>>2],w[i+10|0],e,k,l,m,n);v[h+8>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Gd(v[a+68>>2],w[i+11|0],e,k,l,m,n);v[h+12>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Gd(v[a+68>>2],w[i+12|0],e,k,l,m,n);v[o>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Gd(v[a+68>>2],w[i+13|0],e,k,l,m,n);v[o+4>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Gd(v[a+68>>2],w[i+14|0],e,k,l,m,n);v[o+8>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Gd(v[a+68>>2],w[i+15|0],e,k,l,m,n);v[o+12>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;i=i+18|0;o=o+16|0;h=h+16|0;d=d+16|0;b=b+16|0;g=g-1|0;if(g){continue}break}i=i+q|0;o=o+p|0;h=h+p|0;d=d+p|0;b=b+p|0;f=f-4|0;if(f>>>0>3){continue}break}}Qb=j+16|0}function Ss(a,b){var 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,z=0,A=0;d=v[b+88>>2];k=v[d+40>>2];l=v[d+36>>2];a:{b:{c:{d:{if(w[d+45|0]==3){if(!(!w[d+33|0]|!x[b+28>>1])){pc(a,1037,0,0);return 1037}h=YA(a,b,8,v[d+844>>2]?6:2,0);if(h){break d}}e:{f:{switch(w[b+64|0]){case 1:l=x[b+70>>1];c=v[d+36>>2];if(c>>>0<2){break e}l=x[b+72>>1]+l|0;if((c|0)==2){break e}l=B(x[b+66>>1],c-2|0)+l|0;break e;case 0:break e;default:break f}}c=v[d+36>>2];l=(c+x[b+70>>1]|0)-1|0;if(c>>>0<3){break e}l=(x[b+72>>1]+l|0)-1|0;if((c|0)==3){break e}l=B(x[b+66>>1]-1|0,c-3|0)+l|0}g:{h:{switch(w[b+65|0]){case 1:k=x[b+74>>1];c=v[d+40>>2];if(c>>>0<2){break g}k=x[b+70>>1]+k|0;if((c|0)==2){break g}k=B(x[b+68>>1],c-2|0)+k|0;break g;case 0:break g;default:break h}}c=v[d+40>>2];k=(c+x[b+74>>1]|0)-1|0;if(c>>>0<3){break g}k=(x[b+76>>1]+k|0)-1|0;if((c|0)==3){break g}k=B(x[b+68>>1]-1|0,c-3|0)+k|0}j=B(v[d+1164>>2],l);s=B(k,j);q=Ub[v[a+152>>2]](s)|0;if(!q){break b}m=b- -64|0;g=1;i:{j:{k:{switch(w[d+45|0]){case 0:case 8:c=w[m|0]-1|0;if(w[d+44|0]<=8){f=(c&255)>>>0<=4?v[(c<<24>>24<<2)+189964>>2]:f;l:{switch(w[b+65|0]-1|0){case 0:e=623;break j;case 1:case 3:e=624;break j;case 2:case 4:break l;default:break i}}e=625;break j}f=(c&255)>>>0<=4?v[(c<<24>>24<<2)+189984>>2]:f;m:{switch(w[b+65|0]-1|0){case 0:e=626;break j;case 1:case 3:e=627;break j;case 2:case 4:break m;default:break i}}e=628;break j;case 2:case 10:c=w[m|0]-1|0;if(w[d+44|0]<=8){f=(c&255)>>>0<=4?v[(c<<24>>24<<2)+190004>>2]:f;n:{switch(w[b+65|0]-1|0){case 0:e=629;break j;case 1:case 3:e=630;break j;case 2:case 4:break n;default:break i}}e=631;break j}f=(c&255)>>>0<=4?v[(c<<24>>24<<2)+190024>>2]:f;o:{switch(w[b+65|0]-1|0){case 0:e=632;break j;case 1:case 3:e=633;break j;case 2:case 4:break o;default:break i}}e=634;break j;case 4:case 12:c=w[m|0]-1|0;if(w[d+44|0]<=8){f=(c&255)>>>0<=4?v[(c<<24>>24<<2)+190044>>2]:f;p:{switch(w[b+65|0]-1|0){case 0:e=635;break j;case 1:e=636;break j;case 2:e=637;break j;case 3:e=638;break j;case 4:break p;default:break i}}e=639;break j}f=(c&255)>>>0<=4?v[(c<<24>>24<<2)+190064>>2]:f;q:{switch(w[b+65|0]-1|0){case 0:e=640;break j;case 1:e=641;break j;case 2:e=642;break j;case 3:e=643;break j;case 4:break q;default:break i}}e=644;break j;case 6:case 14:break k;default:break i}}c=w[m|0]-1|0;if(w[d+44|0]<=8){f=(c&255)>>>0<=4?v[(c<<24>>24<<2)+190084>>2]:f;r:{switch(w[b+65|0]-1|0){case 0:e=645;break j;case 1:e=646;break j;case 2:e=647;break j;case 3:e=648;break j;case 4:break r;default:break i}}e=649;break j}f=(c&255)>>>0<=4?v[(c<<24>>24<<2)+190104>>2]:f;s:{switch(w[b+65|0]-1|0){case 0:e=650;break j;case 1:e=651;break j;case 2:e=652;break j;case 3:e=653;break j;case 4:break s;default:break i}}e=654}g=0}h=v[d+1176>>2];t:{u:{n=Ub[v[a+152>>2]](j)|0;if(n){if(!v[d+40>>2]){break t}if(g){break u}z=b+74|0;t=b+76|0;A=b+68|0;o=v[d+1168>>2];g=q;while(1){v:{if(f){i=Ub[f|0](a,x[b+66>>1],x[b+70>>1],x[b+72>>1],v[d+36>>2],h,g)|0;if(!i){break v}break c}gc(g,h,j)}g=g+j|0;i=v[d+40>>2];p=i-1|0;w:{c=(i|0)==1;x:{if(!(c|p>>>0>r>>>0)&w[b+65|0]!=1){break x}o=h+o|0;y:{if(!r){o=c?0:o;c=z;break y}z:{if(w[b+65|0]==1){if((p|0)!=(r|0)){break z}c=t;break y}if((i-2|0)!=(r|0)){break z}c=t;break y}c=A}p=x[c>>1];if(p>>>0<2){break x}c=1;if(!f){while(1){i=Ub[e|0](a,c,p,v[d+36>>2],h,o,n)|0;if(i){break w}g=gc(g,n,j)+j|0;c=c+1|0;if((p|0)!=(c|0)){continue}break x}}while(1){i=Ub[e|0](a,c,p,v[d+36>>2],h,o,n)|0;if(i){break w}i=Ub[f|0](a,x[b+66>>1],x[b+70>>1],x[b+72>>1],v[d+36>>2],n,g)|0;if(i){break a}g=g+j|0;c=c+1|0;if((p|0)!=(c|0)){continue}break}}o=v[d+1168>>2];h=o+h|0;r=r+1|0;if(r>>>0>2]){continue}break t}break}break a}break b}g=0;if(!f){c=q;while(1){c=gc(c,h,j)+j|0;h=v[d+1168>>2]+h|0;g=g+1|0;if(g>>>0>2]){continue}break}break t}c=q;while(1){i=Ub[f|0](a,x[b+66>>1],x[b+70>>1],x[b+72>>1],v[d+36>>2],h,c)|0;if(i){break c}c=c+j|0;h=v[d+1168>>2]+h|0;g=g+1|0;if(g>>>0>2]){continue}break}}Ub[v[a+156>>2]](n,j);c=v[d+1176>>2];if(c){Ub[v[a+156>>2]](c,v[d+1172>>2])}v[d+1172>>2]=s;v[d+1168>>2]=j;v[d+1176>>2]=q;v[d+40>>2]=k;v[d+36>>2]=l;h=0;if(!x[b+28>>1]){break d}v[m>>2]=0;v[m+4>>2]=0;u[m+6>>1]=0;u[m+8>>1]=0;u[m+10>>1]=0;u[m+12>>1]=0}return h}Ub[v[a+156>>2]](n,j);Ub[v[a+156>>2]](q,s);return i}pc(a,1,0,0);return 1}Ub[v[a+156>>2]](n,j);Ub[v[a+156>>2]](q,s);return i}function c$(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;v[a+12>>2]=b;v[a+4>>2]=b;v[a+20>>2]=v[a+16>>2];v[a+8>>2]=c;n=6;a:{b:{while(1){if(b>>>0>=c>>>0){break b}i=v[a+20>>2];f=i-v[a+16>>2]|0;j=f>>2;d=v[a+24>>2];l=w[b|0];c:{d:{if(!((l|0)==31|(l-27&255)>>>0>227)){h=4;if(d>>>0<=j>>>0){break c}v[a+20>>2]=i+4;v[i>>2]=b;e:{switch(l-28|0){case 2:while(1){b=b+1|0;if(c>>>0<=b>>>0){b=c;h=7;break c}d=w[b|0];if((d&240)==240){break d}if((d&15)!=15){continue}break};break d;case 0:b=b+2|0;break d;case 1:b=b+4|0;break d;default:break e}}b=(l>>>0>246)+b|0;break d}h=4;if(d>>>0<=j>>>0){break c}v[i>>2]=b;if((l|0)==12){b=b+1|0;h=8;if(c>>>0<=b>>>0){break c}l=w[b|0]|256}k=376880;e=4;i=376880;g=v[a+28>>2]|l;f:{g:{if((g|0)==4096){break g}h:{while(1){if((g|0)==v[i+32>>2]){k=i+28|0;e=v[i+28>>2];break g}if((g|0)!=v[i+60>>2]){if((g|0)==v[i+88>>2]){break h}e=v[i+112>>2];if(!e){break f}d=i;k=d+112|0;i=k;if((g|0)!=v[d+116>>2]){continue}break g}break}k=i+56|0;e=v[i+56>>2];break g}k=i+84|0;e=v[i+84>>2]}d=v[k+8>>2];g=v[a+32>>2];if((e|0)!=6){h=12;if(!f){break c}}i=d+g|0;i:{j:{k:{l:{switch(e-1|0){case 0:case 3:case 4:m:{d=v[v[a+16>>2]>>2];j=w[d|0];if((j|0)!=255){if((j|0)!=30){break m}e=sh(a,d,0,0)>>16;break j}e=((w[d+3|0]|(w[d+2|0]<<8|w[d+1|0]<<16))<<8)+32768>>16;break j}g=d+1|0;n:{switch(j-28|0){case 0:e=0;if(y[a+8>>2]<=d+2>>>0){break j}e=(w[d+2|0]|w[g|0]<<8)<<16>>16;break j;case 1:e=0;if(y[a+8>>2]<=d+4>>>0){break j}d=w[d+1|0]|w[d+2|0]<<8|(w[d+3|0]<<16|w[d+4|0]<<24);e=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);break j;default:break n}}e=j-139|0;if(j>>>0<=246){break j}d=v[a+8>>2];if(j>>>0<=250){e=0;if(d>>>0<=g>>>0){break j}e=(w[g|0]|j<<8)-63124|0;break j}e=0;if(d>>>0<=g>>>0){break j}e=64148-(w[g|0]|j<<8)|0;break j;case 1:d=v[v[a+16>>2]>>2];g=w[d|0];if((g|0)==30){e=sh(a,d,0,0);break j}f=d+1|0;o:{p:{q:{switch(g-28|0){case 0:e=0;if(y[a+8>>2]<=d+2>>>0){break k}d=(w[d+2|0]|w[f|0]<<8)<<16>>16;break o;case 1:e=0;if(y[a+8>>2]<=d+4>>>0){break k}d=w[d+1|0]|w[d+2|0]<<8|(w[d+3|0]<<16|w[d+4|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);break p;default:break q}}if(g>>>0<=246){e=g-139|0;break k}d=v[a+8>>2];if(g>>>0<=250){e=0;if(d>>>0<=f>>>0){break k}d=(w[f|0]|g<<8)-63124|0;break o}e=0;if(d>>>0<=f>>>0){break k}d=64148-(w[f|0]|g<<8)|0}e=2147483647;if((d|0)>32767){break j}}e=(d|0)<-32767?-2147483647:d<<16;break j;case 2:f=v[v[a+16>>2]>>2];j=w[f|0];if((j|0)==30){e=sh(a,f,3,0);break j}g=f+1|0;r:{s:{switch(j-28|0){case 0:d=0;if(y[a+8>>2]<=f+2>>>0){break r}d=(w[f+2|0]|w[g|0]<<8)<<16>>16;break r;case 1:d=0;if(y[a+8>>2]<=f+4>>>0){break r}d=w[f+1|0]|w[f+2|0]<<8|(w[f+3|0]<<16|w[f+4|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);break r;default:break s}}d=j-139|0;if(j>>>0<=246){break r}f=v[a+8>>2];if(j>>>0<=250){d=0;if(f>>>0<=g>>>0){break r}d=(w[g|0]|j<<8)-63124|0;break r}d=0;if(f>>>0<=g>>>0){break r}d=64148-(w[g|0]|j<<8)|0}f=d>>31;if((d+f^f)>>>0>=2147484){e=(d|0)>0?2147483647:-2147483647;break j}g=B(d,1e3);e=2147483647;if((g|0)>32767){break j}e=(g|0)<-32767?-2147483647:B(d,65536e3);break j;case 5:l=v[a+16>>2];e=g+v[k+24>>2]|0;d=v[k+20>>2];g=d>>>0>>0?d:j;t[e|0]=g;d=0;if(!g){break i}while(1){e=d;t:{u:{f=v[l>>2];d=w[f|0];if((d|0)!=255){if((d|0)!=30){break u}h=sh(a,f,0,0)>>16;break t}h=((w[f+3|0]|(w[f+2|0]<<8|w[f+1|0]<<16))<<8)+32768>>16;break t}j=f+1|0;v:{switch(d-28|0){case 0:h=0;if(y[a+8>>2]<=f+2>>>0){break t}h=(w[f+2|0]|w[j|0]<<8)<<16>>16;break t;case 1:h=0;if(y[a+8>>2]<=f+4>>>0){break t}f=w[f+1|0]|w[f+2|0]<<8|(w[f+3|0]<<16|w[f+4|0]<<24);h=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);break t;default:break v}}h=d-139|0;if(d>>>0<=246){break t}f=v[a+8>>2];if(d>>>0<=250){h=0;if(f>>>0<=j>>>0){break t}h=(w[j|0]|d<<8)-63124|0;break t}h=0;if(f>>>0<=j>>>0){break t}h=64148-(w[j|0]|d<<8)|0}d=e+h|0;w:{x:{y:{z:{A:{e=w[k+12|0];switch(e-1|0){case 3:break y;case 1:break z;case 0:break A;default:break x}}t[i|0]=d;e=w[k+12|0];break w}u[i>>1]=d;e=2;break w}v[i>>2]=d;e=4;break w}v[i>>2]=d}l=l+4|0;i=(e&255)+i|0;g=g-1|0;if(g){continue}break};break i;default:break l}}m=Ub[v[k+16>>2]](a)|0;h=7;if(m){break c}m=0;break i}e=e<<16}d=e;B:{switch(w[k+12|0]-1|0){case 1:u[i>>1]=d;break i;default:v[i>>2]=d;break i;case 0:break B}}t[i|0]=d}if(v[k>>2]==8){break d}}v[a+20>>2]=v[a+16>>2]}b=b+1|0;h=0}d=Gib(h,30);if(!d){continue}break}if(d-1>>>0<3){break a}}n=m}return n}function UHa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,w=0;i=Qb+-64|0;Qb=i;a:{b:{c:{d:{e:{f:{if(v[v[a+4>>2]>>2]){Ub[v[v[a>>2]+36>>2]](a,b,i+56|0,i+48|0,i+40|0,i+32|0);k=A[i+56>>3];m=A[i+48>>3];e=jc(1e3);v[e>>2]=0;f=v[v[a+4>>2]>>2];v[299999]=0;p=Q(3060,f|0,b+1|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break e}if(p){f=4;g:{r=v[p+4>>2];if((r|0)>0){m=+(d|0)/m;s=+(c|0)/k;g=e+4|0;b=1e3;while(1){c=v[v[p>>2]+(q<<2)>>2];h:{if(!c){break h}d=v[c+32>>2];if(!d){break h}u=A[c+24>>3];w=A[c+16>>3];k=A[c+8>>3];n=A[c>>3];c=v[v[d>>2]+12>>2];v[299999]=0;c=S(c|0,d|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break g}i:{j:{k:{l:{m:{switch(c|0){case 0:l=v[d+8>>2];c=v[v[v[a+4>>2]>>2]+28>>2];v[299999]=0;d=Q(3047,c|0,l|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break d}if(!d){break l}n:{if(v[d+4>>2]){h=v[v[v[a+4>>2]>>2]+28>>2];l=v[d+12>>2];c=v[d+8>>2];v[299999]=0;c=Y(3048,h|0,c|0,l|0)|0;h=v[299999];v[299999]=0;if((h|0)!=1){break n}b=P()|0;O()|0;break c}c=v[d+8>>2]}v[299999]=0;V(3061,i|0,c-1|0);c=v[299999];v[299999]=0;o:{p:{q:{r:{if((c|0)!=1){v[299999]=0;c=Y(3062,i|0,0,345893)|0;h=v[299999];v[299999]=0;if((h|0)==1){break r}v[i+24>>2]=v[c+8>>2];h=v[c+4>>2];v[i+16>>2]=v[c>>2];v[i+20>>2]=h;v[c>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;if(t[i+11|0]<=-1){dc(v[i>>2])}v[299999]=0;c=S(1,8)|0;h=v[299999];v[299999]=0;if((h|0)==1){break q}v[299999]=0;l=Q(3063,c|0,(t[i+27|0]<0?v[i+16>>2]:i+16|0)|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break p}if(t[i+27|0]<=-1){dc(v[i+16>>2])}dc(d);break k}b=P()|0;O()|0;break c}b=P()|0;O()|0;if(t[i+11|0]>-1){break c}dc(v[i>>2]);break c}b=P()|0;O()|0;break o}b=P()|0;O()|0;dc(c)}if(t[i+27|0]>-1){break c}dc(v[i+16>>2]);break c;case 3:break m;default:break j}}d=v[d+4>>2];v[299999]=0;c=S(1,8)|0;h=v[299999];v[299999]=0;if((h|0)==1){break g}v[299999]=0;l=Q(3064,c|0,d|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){break k}b=P()|0;O()|0;dc(c);break c}if(!l){break j}}c=v[l>>2];h=c+4|0;o=v[l+4>>2];s:{if(!e){f=0;b=h>>>0>1e3?h:1e3;g=jc(b);d=g;break s}d=f+h|0;if(d>>>0<=b>>>0){d=e;break s}while(1){b=b<<1;if(d>>>0>b>>>0){continue}break}d=be(e,b);if(!d){d=jc(b);gc(d,e,f);dc(e)}g=d+f|0}t[g|0]=c;t[g+1|0]=c>>>8;t[g+2|0]=c>>>16;t[g+3|0]=c>>>24;g=gc(g+4|0,o,c)+c|0;o=0;h=f+h|0;break i}t:{if(!e){b=1e3;f=0;g=jc(1e3);d=g;break t}c=f+4|0;if(c>>>0<=b>>>0){d=e;break t}while(1){b=b<<1;if(c>>>0>b>>>0){continue}break}d=be(e,b);if(!d){d=jc(b);gc(d,e,f);dc(e)}g=d+f|0}l=0;t[g|0]=0;t[g+1|0]=0;t[g+2|0]=0;t[g+3|0]=0;g=g+4|0;o=1;h=f+4|0}j=s*n*100;u:{if(j<4294967296&j>=0){f=~~j>>>0;break u}f=0}v:{w:{x:{y:{if(!d){b=1e3;h=0;e=jc(1e3);d=e;break y}c=h+4|0;if(c>>>0<=b>>>0){t[g|0]=f;t[g+1|0]=f>>>8;t[g+2|0]=f>>>16;t[g+3|0]=f>>>24;g=g+4|0;j=m*k*100;if(!(j<4294967296&j>=0)){break x}f=~~j>>>0;break w}while(1){b=b<<1;if(c>>>0>b>>>0){continue}break}e=be(d,b);if(e){d=e+h|0;t[d|0]=f;t[d+1|0]=f>>>8;t[d+2|0]=f>>>16;t[d+3|0]=f>>>24;g=d+4|0;j=m*k*100;if(j<4294967296&j>=0){f=~~j>>>0;d=e;break w}f=0;d=e;break w}e=jc(b);c=gc(e,d,h);dc(d);d=c+h|0}t[d|0]=f;t[d+1|0]=f>>>8;t[d+2|0]=f>>>16;t[d+3|0]=f>>>24;j=m*k*100;z:{if(j<4294967296&j>=0){f=~~j>>>0;break z}f=0}if(e){c=h+4|0;g=d+4|0;d=e;break w}b=1e3;c=0;g=jc(1e3);e=g;break v}f=0}e=h+8|0;if(e>>>0<=b>>>0){e=d;break v}while(1){b=b<<1;if(e>>>0>b>>>0){continue}break}e=be(d,b);if(!e){e=jc(b);gc(e,d,c);dc(d)}g=c+e|0}t[g|0]=f;t[g+1|0]=f>>>8;t[g+2|0]=f>>>16;t[g+3|0]=f>>>24;n=s*(w-n)*100;A:{if(n<4294967296&n>=0){f=~~n>>>0;break A}f=0}B:{if(!e){b=1e3;d=0;g=jc(1e3);e=g;break B}d=c+4|0;c=c+8|0;if(c>>>0<=b>>>0){g=g+4|0;break B}while(1){b=b<<1;if(c>>>0>b>>>0){continue}break}c=be(e,b);if(c){g=c+d|0;e=c;break B}c=gc(jc(b),e,d);dc(e);g=c+d|0;e=c}t[g|0]=f;t[g+1|0]=f>>>8;t[g+2|0]=f>>>16;t[g+3|0]=f>>>24;k=m*(u-k)*100;C:{if(k<4294967296&k>=0){f=~~k>>>0;break C}f=0}D:{if(!e){b=1e3;c=0;h=jc(1e3);e=h;break D}c=d+4|0;d=d+8|0;if(d>>>0<=b>>>0){h=g+4|0;break D}while(1){b=b<<1;if(d>>>0>b>>>0){continue}break}d=be(e,b);if(d){h=c+d|0;e=d;break D}d=gc(jc(b),e,c);dc(e);h=c+d|0;e=d}t[h|0]=f;t[h+1|0]=f>>>8;t[h+2|0]=f>>>16;t[h+3|0]=f>>>24;f=c+4|0;g=h+4|0;if(o){break h}dc(Dc(l))}q=q+1|0;if((r|0)!=(q|0)){continue}break}}t[e|0]=f;t[e+1|0]=f>>>8;t[e+2|0]=f>>>16;t[e+3|0]=f>>>24;break f}b=P()|0;O()|0;break c}dc(e)}e=0}Qb=i- -64|0;return e|0}b=P()|0;O()|0;break b}b=P()|0;O()|0}if(!e){break a}}dc(e)}T(b|0);L()}function Sn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=Qb-80|0;Qb=c;t[a+32|0]=1;a:{b:{c:{d:{e:{f:{e=v[a+8>>2];g:{if(!e|!v[e+8>>2]){break g}Bi(c,a,0);v[299999]=0;V(5403,c- -64|0,c|0);e=v[299999];v[299999]=0;if((e|0)==1){a=P()|0;O()|0;ec(c);T(a|0);L()}e=a+8|0;ec(c);h:{i:{d=v[c+64>>2];if(!(y[d+8>>2]>1?d:0)){t[a+32|0]=0;if(b){break h}v[299999]=0;U(4423,c+72|0,357844,e|0);a=v[299999];v[299999]=0;if((a|0)==1){break i}a=v[c+72>>2];a=v[(a?a+12|0:1129608)>>2];v[299999]=0;b=aa(4369,c|0,a|0,242312,373,339252,0)|0;a=v[299999];v[299999]=0;j:{k:{if((a|0)!=1){v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break k}break a}a=P()|0;O()|0;break j}a=P()|0;O()|0;qc(b)}ec(c+72|0);break b}v[299999]=0;d=Nc(c- -64|0,280956,-1);f=v[299999];v[299999]=0;l:{m:{n:{o:{if((f|0)==1){break o}p:{q:{r:{s:{if(d){break s}d=v[e>>2];f=v[d+8>>2];if((f|0)<=4){v[299999]=0;ba(4543);a=v[299999];v[299999]=0;if((a|0)!=1){break a}break o}g=v[d+12>>2];if(w[g+5|0]!=47){break s}if((f|0)<=5){v[299999]=0;ba(4543);a=v[299999];v[299999]=0;if((a|0)!=1){break a}break o}if(w[g+6|0]==47){v[299999]=0;d=Nc(e,999744,18);f=v[299999];v[299999]=0;if((f|0)==1){break o}if(d){break s}d=v[e>>2]}v[c+56>>2]=0;v[c+60>>2]=v[282402];g=v[(d?d+12|0:1129608)>>2];d=g;while(1){f=w[d|0];if(!(!f|(f|0)==35|(f|0)==63)){d=d+1|0;continue}break}v[299999]=0;Q(4433,c+56|0,d|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break d}v[299999]=0;$(4568,c|0,e|0,0,d-g|0);d=v[299999];v[299999]=0;t:{u:{v:{w:{if((d|0)!=1){v[299999]=0;Q(4535,e|0,c|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break w}ec(c);v[299999]=0;V(5404,c+48|0,a|0);d=v[299999];v[299999]=0;if((d|0)==1){break v}d=v[c+48>>2];if(v[d+8>>2]?d:0){break t}t[a+32|0]=0;if(b){break n}v[299999]=0;b=aa(4369,c|0,280829,242312,400,339252,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break u}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break a}a=P()|0;O()|0;qc(b);break e}a=P()|0;O()|0;break c}a=P()|0;O()|0;ec(c);break c}a=P()|0;O()|0;break c}a=P()|0;O()|0;break e}v[299999]=0;d=S(4477,c|0)|0;f=v[299999];v[299999]=0;x:{y:{z:{A:{if((f|0)!=1){v[c>>2]=999828;v[299999]=0;V(5405,c+72|0,c+48|0);f=v[299999];v[299999]=0;if((f|0)==1){break f}v[299999]=0;f=c+8|0;Q(4535,f|0,c+72|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){a=P()|0;O()|0;ec(c+72|0);$c(d);break e}ec(c+72|0);v[c>>2]=999844;v[299999]=0;U(4713,c+40|0,d|0,0);g=v[299999];v[299999]=0;if((g|0)==1){break A}v[299999]=0;Q(4535,e|0,c+40|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break z}ec(c+40|0);v[c+24>>2]=981312;v[c>>2]=981280;d=v[c+28>>2];if(d){g=v[d+4>>2]-1|0;v[d+4>>2]=g;if(!g){Ub[v[v[d>>2]+4>>2]](d)}v[c+28>>2]=0}v[c+16>>2]=981312;d=v[c+20>>2];if(d){g=v[d+4>>2]-1|0;v[d+4>>2]=g;if(!g){Ub[v[v[d>>2]+4>>2]](d)}v[c+20>>2]=0}ec(f);d=v[e>>2];if(v[d+8>>2]?d:0){break x}t[a+32|0]=0;if(b){break m}v[299999]=0;b=aa(4369,c|0,316446,242312,408,339252,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break y}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break a}a=P()|0;O()|0;qc(b);break e}a=P()|0;O()|0;break e}a=P()|0;O()|0;$c(d);break e}a=P()|0;O()|0;ec(c+40|0);$c(d);break e}a=P()|0;O()|0;break e}v[299999]=0;Q(4606,e|0,c+56|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break r}ec(c+48|0);ec(c+56|0)}if(!w[a+32|0]){v[299999]=0;V(4536,a|0,0);b=v[299999];v[299999]=0;if((b|0)==1){break o}}v[c>>2]=0;v[c+4>>2]=v[282402];b=v[e>>2];if(!b){break q}e=v[v[b>>2]+28>>2];v[299999]=0;U(e|0,c+72|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break p}a=P()|0;O()|0;ec(c);break b}a=P()|0;O()|0;break e}v[c+72>>2]=0}v[299999]=0;Q(4344,c|0,c+72|0)|0;b=v[299999];v[299999]=0;B:{if((b|0)!=1){b=v[c+72>>2];v[c+72>>2]=0;if(!b){break B}v[299999]=0;e=v[b+4>>2]-1|0;v[b+4>>2]=e;d=v[299999];v[299999]=0;if((d|0)!=1){if(e){break B}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break B}}W(0)|0;O()|0;lc();L()}a=P()|0;O()|0;ec(c+72|0);ec(c);break b}b=v[c>>2];v[c+4>>2]=v[(b?b+12|0:1129608)>>2];ec(c);v[299999]=0;R(5406,a|0);b=v[299999];v[299999]=0;if((b|0)==1){break o}v[299999]=0;R(5407,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break l}}a=P()|0;O()|0;break b}ec(c+48|0);ec(c+56|0);ec(c- -64|0);break g}ec(c+48|0);ec(c+56|0);ec(c- -64|0);break g}ec(c- -64|0);break g}a=P()|0;O()|0;break b}ec(c- -64|0)}Qb=c+80|0;return}a=P()|0;O()|0;$c(d)}ec(c+48|0);break c}a=P()|0;O()|0}ec(c+56|0)}ec(c- -64|0);T(a|0);L()}L()}function bs(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=Qb-16|0;Qb=e;a:{if(!b){c=-1;break a}Hu(a);v[e+4>>2]=b;b:{c:{if(((w[b|0]&223)-65&255)>>>0>25){break c}d=b;while(1){f=d;d=d+1|0;c=w[f+1|0];if(((c&223)-65&255)>>>0<26|(c-48&255)>>>0<10){continue}g=c-43|0;if(g>>>0<=3&(g|0)!=1){continue}break}if(a){c=v[a>>2];if(c){Ub[v[259708]](c)}c=0;g=d-b|0;d:{if((g|0)<0){break d}h=Ub[v[259707]](g+1|0)|0;if(!h){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break d}c=gc(h,b,g);t[g+c|0]=0}v[a>>2]=c;c=w[d|0]}if((c&255)!=58){break c}d=f+2|0;v[e+8>>2]=d;c=w[f+2|0];e:{if((c|0)==47){if(w[f+3|0]==47){v[e+8>>2]=f+4;if(ZU(a,e+8|0)){break c}if(!v[a+12>>2]){v[a+20>>2]=-1}c=e+8|0;while(1){c=v[c>>2];if(w[c|0]==47){v[e+12>>2]=c+1;c=e+12|0;if(!lo(c,0,1)){continue}break c}break}if(!a){break e}d=v[a+24>>2];if(d){Ub[v[259708]](d)}g=0;f=v[e+8>>2];f:{if((f|0)==(c|0)){break f}d=c-f|0;if(w[a+36|0]&2){if(!f|(d|0)<0){break f}g=Ub[v[259707]](d+1|0)|0;if(!g){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);v[a+24>>2]=0;break e}h=d;d=gc(g,f,d);t[h+d|0]=0;v[a+24>>2]=d;break e}g=bm(f,d)}v[a+24>>2]=g;break e}if(YU(a,e+8|0)){break c}c=v[e+8>>2];break e}g:{h:{if(((c&223)-65&255)>>>0<26|(c-48&255)>>>0<10){break h}i:{switch(c-33|0){case 0:case 3:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 25:case 26:case 28:case 31:case 62:case 93:break h;case 4:break i;default:break g}}j:{c=w[f+3|0];if((c-48&255)>>>0<10){break j}switch(c-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break j;default:break g}}c=w[f+4|0];if((c-48&255)>>>0<10){break h}switch(c-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break h;default:break g}}v[e+12>>2]=d;if(lo(e+12|0,0,0)){break c}while(1){c=v[e+12>>2];if(w[c|0]==47){v[e+12>>2]=c+1;if(!lo(e+12|0,0,1)){continue}break c}break}if(!a){break e}f=v[a+24>>2];if(f){Ub[v[259708]](f)}if((c|0)==(d|0)){v[a+24>>2]=0;break e}g=c-d|0;f=a;k:{if(w[a+36|0]&2){h=0;if((g|0)<0){break k}f=Ub[v[259707]](g+1|0)|0;if(!f){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);v[a+24>>2]=0;break e}d=gc(f,d,g);t[d+g|0]=0;v[a+24>>2]=d;break e}h=bm(d,g)}v[f+24>>2]=h;break e}if(a){c=v[a+24>>2];if(c){Ub[v[259708]](c)}v[a+24>>2]=0}c=d}v[e+4>>2]=c;d=w[c|0];if((d|0)==63){v[e+4>>2]=c+1;if(XU(a,e+4|0)){break c}c=v[e+4>>2];d=w[c|0]}if((d&255)==35){v[e+4>>2]=c+1;if(WU(a,e+4|0)){break c}d=w[v[e+4>>2]]}if(!(d&255)){break b}Hu(a)}Hu(a);v[e+8>>2]=b;d=w[b|0];l:{m:{n:{if((d|0)==47){if(w[b+1|0]==47){v[e+8>>2]=b+2;c=ZU(a,e+8|0);if(c){break l}c=e+8|0;while(1){c=v[c>>2];if(w[c|0]==47){v[e+12>>2]=c+1;c=e+12|0;if(!lo(c,0,1)){continue}break m}break}if(a){b=v[a+24>>2];if(b){Ub[v[259708]](b)}d=0;f=v[e+8>>2];o:{if((f|0)==(c|0)){break o}b=c-f|0;if(w[a+36|0]&2){if(!f|(b|0)<0){break o}d=Ub[v[259707]](b+1|0)|0;if(!d){d=0;oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break o}i=gc(d,f,b)+b|0,j=0,t[i|0]=j;break o}d=bm(f,b)}v[a+24>>2]=d}v[e+8>>2]=c;break n}c=1;if(YU(a,e+8|0)){break l}c=v[e+8>>2];break n}p:{q:{if(((d&223)-65&255)>>>0<26|(d-48&255)>>>0<10){break q}r:{switch(d-33|0){case 0:case 3:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 25:case 26:case 28:case 31:case 62:case 93:break q;case 4:break r;default:break p}}s:{d=w[b+1|0];if((d-48&255)>>>0<10){break s}switch(d-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break s;default:break p}}d=w[b+2|0];if((d-48&255)>>>0<10){break q}switch(d-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break q;default:break p}}v[e+12>>2]=b;if(lo(e+12|0,58,0)){break m}while(1){c=v[e+12>>2];if(w[c|0]==47){v[e+12>>2]=c+1;if(!lo(e+12|0,0,1)){continue}break m}break}if(a){d=v[a+24>>2];if(d){Ub[v[259708]](d)}t:{if((b|0)==(c|0)){d=0;break t}f=c-b|0;if(w[a+36|0]&2){d=0;if((f|0)<0){break t}g=Ub[v[259707]](f+1|0)|0;if(!g){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break t}d=gc(g,b,f);t[f+d|0]=0;break t}d=bm(b,f)}v[a+24>>2]=d}v[e+8>>2]=c;break n}if(a){d=v[a+24>>2];if(d){Ub[v[259708]](d)}v[a+24>>2]=0}c=b}d=w[c|0];if((d|0)==63){v[e+8>>2]=c+1;c=-1;if(XU(a,e+8|0)){break l}c=v[e+8>>2];d=w[c|0]}if((d&255)==35){v[e+8>>2]=c+1;c=-1;if(WU(a,e+8|0)){break l}d=w[v[e+8>>2]]}if(!(d&255)){break b}Hu(a)}c=1}Hu(a);break a}c=0}Qb=e+16|0;return c}function Paa(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,j=0,k=0,l=0,m=0,n=0,o=0;h=Qb-32|0;Qb=h;v[h+24>>2]=b;v[e>>2]=0;j=h+8|0;i=v[d+28>>2];v[j>>2]=i;v[i+4>>2]=v[i+4>>2]+1;v[299999]=0;i=S(5533,j|0)|0;j=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{if((j|0)!=1){j=v[h+8>>2];k=v[j+4>>2]-1|0;v[j+4>>2]=k;if((k|0)==-1){Ub[v[v[j>>2]+8>>2]](j)}switch(g-65|0){case 54:break j;case 19:break k;case 18:break l;case 17:break m;case 49:break n;case 47:break o;case 45:case 51:break p;case 12:break q;case 44:break r;case 41:break s;case 8:break t;case 7:break u;case 5:break v;case 3:break w;case 35:case 36:break x;case 34:break y;case 1:case 33:case 39:break z;case 0:case 32:break A;case 2:case 4:case 6:case 9:case 10:case 11:case 13:case 14:case 15:case 16:case 20:case 21:case 22:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 37:case 38:case 40:case 42:case 43:case 46:case 48:case 50:case 52:case 53:break d;case 24:break f;case 56:break g;case 23:break h;case 55:break i;default:break e}}c=P()|0;O()|0;a=v[h+8>>2];b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}T(c|0);L()}jM(a,f+24|0,h+24|0,c,e,i);break b}iM(a,f+16|0,h+24|0,c,e,i);break b}g=h;i=a;j=b;b=Ub[v[v[a+8>>2]+12>>2]](a+8|0)|0;a=b;if(w[a+11|0]>>>7|0){a=v[a>>2]}k=a;if(w[b+11|0]>>>7|0){a=v[b>>2]}else{a=b}if(w[b+11|0]>>>7|0){b=v[b+4>>2]}else{b=w[b+11|0]}l=g,m=Hm(i,j,c,d,e,f,k,a+b|0),v[l+24>>2]=m;break b}a=Hl(h+24|0,c,e,i,2);b=v[e>>2];B:{if(!(b&4|(a|0)<1|(a|0)>31)){v[f+12>>2]=a;break B}v[e>>2]=b|4}break b}v[h+8>>2]=623865125;v[h+12>>2]=2032480100;l=h,m=Hm(a,b,c,d,e,f,h+8|0,h+16|0),v[l+24>>2]=m;break b}v[h+8>>2]=623728933;v[h+12>>2]=1680158061;l=h,m=Hm(a,b,c,d,e,f,h+8|0,h+16|0),v[l+24>>2]=m;break b}a=Hl(h+24|0,c,e,i,2);b=v[e>>2];C:{if(!(b&4|(a|0)>23)){v[f+8>>2]=a;break C}v[e>>2]=b|4}break b}a=Hl(h+24|0,c,e,i,2);b=v[e>>2];D:{if(!(b&4|(a|0)<1|(a|0)>12)){v[f+8>>2]=a;break D}v[e>>2]=b|4}break b}a=Hl(h+24|0,c,e,i,3);b=v[e>>2];E:{if(!(b&4|(a|0)>365)){v[f+28>>2]=a;break E}v[e>>2]=b|4}break b}a=Hl(h+24|0,c,e,i,2);b=v[e>>2];F:{if(!(b&4|(a|0)>12)){v[f+16>>2]=a-1;break F}v[e>>2]=b|4}break b}a=Hl(h+24|0,c,e,i,2);b=v[e>>2];G:{if(!(b&4|(a|0)>59)){v[f+4>>2]=a;break G}v[e>>2]=b|4}break b}a=h+24|0;b=Qb-16|0;Qb=b;v[b+8>>2]=c;while(1){H:{if(!Ew(a,b+8|0)){break H}c=op(a);if((c|0)>=0){c=(x[v[i+8>>2]+((c&255)<<1)>>1]&8192)!=0}else{c=0}if(!c){break H}$q(a);continue}break}if(Ln(a,b+8|0)){v[e>>2]=v[e>>2]|2}Qb=b+16|0;break b}g=h+24|0;b=Ub[v[v[a+8>>2]+8>>2]](a+8|0)|0;a=b;d=v[a+4>>2];I:{if(w[a+11|0]>>>7|0){break I}d=w[a+11|0]}if(w[b+23|0]>>>7|0){a=v[b+16>>2]}else{a=w[b+23|0]}J:{if((d|0)==(0-a|0)){v[e>>2]=v[e>>2]|4;break J}b=zw(g,c,b,b+24|0,i,e,0)-b|0;a=v[f+8>>2];if(!(b|(a|0)!=12)){v[f+8>>2]=0;break J}if(!((b|0)!=12|(a|0)>11)){v[f+8>>2]=a+12}}break b}g=w[1016116]|w[1016117]<<8|(w[1016118]<<16|w[1016119]<<24);t[h+15|0]=g;t[h+16|0]=g>>>8;t[h+17|0]=g>>>16;t[h+18|0]=g>>>24;g=w[1016113]|w[1016114]<<8|(w[1016115]<<16|w[1016116]<<24);v[h+8>>2]=w[1016109]|w[1016110]<<8|(w[1016111]<<16|w[1016112]<<24);v[h+12>>2]=g;l=h,m=Hm(a,b,c,d,e,f,h+8|0,h+19|0),v[l+24>>2]=m;break b}t[h+12|0]=w[1016124];v[h+8>>2]=w[1016120]|w[1016121]<<8|(w[1016122]<<16|w[1016123]<<24);l=h,m=Hm(a,b,c,d,e,f,h+8|0,h+13|0),v[l+24>>2]=m;break b}a=Hl(h+24|0,c,e,i,2);b=v[e>>2];K:{if(!(b&4|(a|0)>60)){v[f>>2]=a;break K}v[e>>2]=b|4}break b}v[h+8>>2]=624576549;v[h+12>>2]=1394948685;l=h,m=Hm(a,b,c,d,e,f,h+8|0,h+16|0),v[l+24>>2]=m;break b}a=Hl(h+24|0,c,e,i,1);b=v[e>>2];L:{if(!(b&4|(a|0)>6)){v[f+24>>2]=a;break L}v[e>>2]=b|4}break b}a=Ub[v[v[a>>2]+20>>2]](a,b,c,d,e,f)|0;break a}g=h;i=a;j=b;b=Ub[v[v[a+8>>2]+24>>2]](a+8|0)|0;a=b;if(w[a+11|0]>>>7|0){a=v[a>>2]}k=a;if(w[b+11|0]>>>7|0){a=v[b>>2]}else{a=b}if(w[b+11|0]>>>7|0){b=v[b+4>>2]}else{b=w[b+11|0]}l=g,m=Hm(i,j,c,d,e,f,k,a+b|0),v[l+24>>2]=m;break b}hM(f+20|0,h+24|0,c,e,i);break b}a=Hl(h+24|0,c,e,i,4);if(!(w[e|0]&4)){v[f+20>>2]=a-1900}break b}if((g|0)==37){break c}}v[e>>2]=v[e>>2]|4;break b}a=Qb-16|0;Qb=a;v[a+8>>2]=c;b=6;c=h+24|0;M:{N:{if(Ln(c,a+8|0)){break N}b=4;if(((m=i,n=op(c),o=0,l=v[v[i>>2]+36>>2],Ub[l](m|0,n|0,o|0)|0)|0)!=37){break N}b=2;if(!Ln($q(c),a+8|0)){break M}}v[e>>2]=v[e>>2]|b}Qb=a+16|0}a=v[h+24>>2]}Qb=h+32|0;return a|0}function PF(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=Qb-16|0;Qb=e;f=Ub[v[259704]](472)|0;a:{b:{if(!f){v[e>>2]=347804;oc(0,0,0,0,0,1,2,3,347804,0,0,0,350051,e);break b}g=ic(f,0,472);a=g;d=Qb-112|0;Qb=d;c:{if(!a){v[d>>2]=0;oc(0,0,0,0,0,1,1,3,0,0,0,0,347836,d);b=-1;break c}v[259836]=1;v[259824]=2984;v[259823]=2985;v[259835]=2986;v[259809]=2987;v[259833]=2988;v[259814]=2989;v[259813]=2990;v[259812]=2991;v[259811]=2992;v[259810]=2993;v[259818]=2994;v[259817]=2995;v[259815]=2996;v[259834]=2997;v[259826]=2998;v[259825]=2999;v[259822]=3e3;v[259821]=3001;v[259820]=3002;v[259819]=3003;v[259816]=3004;v[259832]=2962;v[259831]=2962;v[259830]=2963;v[259829]=3005;v[259828]=3006;v[259827]=2998;b=v[a+296>>2];if(!b){d:{e:{if(!w[1176924]){b=jc(4);v[294232]=b;if(!b){break e}t[1176924]=1}b=Ub[v[259704]](32)|0;if(!b){break e}v[b+28>>2]=0;v[b>>2]=1;v[b+8>>2]=128;v[b+12>>2]=0;c=Ub[v[259704]](2560)|0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+4>>2]=c;if(c){break d}Ub[v[259708]](b)}v[a+296>>2]=0;v[d+16>>2]=347770;oc(0,0,0,0,0,1,2,3,347770,0,0,0,350051,d+16|0);b=-1;break c}ic(c,0,2560);v[b+24>>2]=0;v[a+296>>2]=b}v[b+28>>2]=1e7;f:{b=v[a>>2];if(b){break f}b=Ub[v[259704]](128)|0;v[a>>2]=b;if(b){break f}v[d+32>>2]=347770;oc(0,0,0,0,0,1,2,3,347770,0,0,0,350051,d+32|0);b=-1;break c}v[b+124>>2]=0;v[b+120>>2]=3007;v[b+116>>2]=3008;v[b+56>>2]=0;v[b+60>>2]=0;v[b+108>>2]=-554844497;v[b+104>>2]=2986;v[b>>2]=2987;v[b+96>>2]=2988;v[b+20>>2]=2989;v[b+16>>2]=2990;v[b+12>>2]=2991;v[b+8>>2]=2992;v[b+4>>2]=2993;v[b+36>>2]=2994;v[b+32>>2]=2995;v[b+24>>2]=2996;v[b+100>>2]=2997;v[b+68>>2]=2998;v[b+64>>2]=2999;v[b+52>>2]=3e3;v[b+48>>2]=3001;v[b+44>>2]=3002;v[b+40>>2]=3003;v[b+28>>2]=3004;v[b+92>>2]=2962;v[b+88>>2]=2962;v[b+84>>2]=2963;v[b+80>>2]=3005;v[b+76>>2]=3006;v[b+72>>2]=2998;v[a+300>>2]=0;v[a+304>>2]=0;g:{if(!v[a+48>>2]){b=Ub[v[259704]](20)|0;v[a+44>>2]=5;v[a+48>>2]=b;if(!b){break g}}b=Gy(a);if(b){while(1){c=v[b+4>>2];if(c){Ub[v[259708]](c)}c=v[b+8>>2];if(c){Ub[v[259708]](c)}c=v[b+44>>2];if(c){Ub[v[259708]](c)}c=v[b+48>>2];if(c){Ub[v[259708]](c)}c=v[b+40>>2];h:{if(!c){break h}h=v[b+12>>2];if(!h){break h}Ub[c|0](h)}c=v[b>>2];if(c){cm(c)}Ub[v[259708]](b);b=Gy(a);if(b){continue}break}}v[a+36>>2]=0;v[a+40>>2]=0;v[a+88>>2]=0;v[a+92>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;v[a+180>>2]=0;v[a+172>>2]=0;v[a+176>>2]=0;v[a+96>>2]=0;v[a+28>>2]=-1;v[a+32>>2]=0;i:{if(v[a+64>>2]){break i}b=Ub[v[259704]](40)|0;v[a+60>>2]=10;v[a+64>>2]=b;if(b){break i}v[d+64>>2]=347770;oc(0,0,0,0,0,1,2,3,347770,0,0,0,350051,d- -64|0);v[a+60>>2]=0;v[a+52>>2]=0;v[a+56>>2]=0;v[a+44>>2]=0;v[a+36>>2]=0;v[a+40>>2]=0;b=-1;break c}v[a+52>>2]=0;v[a+56>>2]=0;j:{if(v[a+196>>2]){break j}b=Ub[v[259704]](40)|0;v[a+192>>2]=10;v[a+196>>2]=b;if(b){break j}v[d+80>>2]=347770;oc(0,0,0,0,0,1,2,3,347770,0,0,0,350051,d+80|0);v[a+60>>2]=0;v[a+52>>2]=0;v[a+56>>2]=0;v[a+44>>2]=0;v[a+192>>2]=0;v[a+36>>2]=0;v[a+40>>2]=0;v[a+184>>2]=0;v[a+188>>2]=0;b=-1;break c}v[a+184>>2]=0;v[a+188>>2]=0;k:{b=v[a+244>>2];if(b){break k}b=Ub[v[259704]](40)|0;v[a+240>>2]=10;v[a+244>>2]=b;if(b){break k}v[d+96>>2]=347770;oc(0,0,0,0,0,1,2,3,347770,0,0,0,350051,d+96|0);v[a+60>>2]=0;v[a+52>>2]=0;v[a+56>>2]=0;v[a+44>>2]=0;v[a+192>>2]=0;v[a+36>>2]=0;v[a+40>>2]=0;v[a+240>>2]=0;v[a+184>>2]=0;v[a+188>>2]=0;v[a+232>>2]=0;v[a+236>>2]=0;b=-1;break c}v[a+236>>2]=1;v[a+240>>2]=10;v[b>>2]=-1;v[a+356>>2]=1;v[a+8>>2]=0;v[a+12>>2]=1;v[a+232>>2]=b;v[a+100>>2]=1;v[a+4>>2]=a;b=v[294258];v[a+276>>2]=b;if(b){v[a+360>>2]=v[a+360>>2]|4}b=v[294257];v[a+104>>2]=b;c=v[294259];v[a+268>>2]=c;if(c){v[a+360>>2]=v[a+360>>2]|128}v[a+280>>2]=v[294260];c=v[259808];v[a+208>>2]=c;if(!c){v[v[a>>2]+72>>2]=3009;v[a+360>>2]=v[a+360>>2]|256}v[a+108>>2]=a;v[a+116>>2]=2960;v[a+112>>2]=2961;v[a+136>>2]=-1412623820;if(b){b=v[259807];v[a+128>>2]=0;v[a+116>>2]=b?2960:0;v[a+360>>2]=v[a+360>>2]|16}b=0;c=v[294261];v[a+16>>2]=c;if(c){v[a+360>>2]=v[a+360>>2]|2}v[a+216>>2]=0;v[a+200>>2]=0;v[a+204>>2]=0;v[a+68>>2]=0;v[a+72>>2]=0;v[a+440>>2]=0;v[a+444>>2]=0;v[a+284>>2]=0;v[a+256>>2]=1;v[a+248>>2]=0;v[a+84>>2]=0;v[a+464>>2]=1;v[a+468>>2]=0;v[a+76>>2]=0;v[a+80>>2]=0;break c}v[d+48>>2]=347770;oc(0,0,0,0,0,1,2,3,347770,0,0,0,350051,d+48|0);v[a+44>>2]=0;v[a+36>>2]=0;v[a+40>>2]=0;b=-1}Qb=d+112|0;if((b|0)>-1){break a}Wi(g)}f=0}Qb=e+16|0;return f}function xF(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=Qb-80|0;Qb=i;a:{if(!((c|0)<129|((c|0)<2049?w[a+362|0]&8:0))){ok(a,55,355506,c);break a}Bd(a);b:{if(v[a+292>>2]){break b}d=v[a+36>>2];if((v[d+20>>2]-v[d+16>>2]|0)>249){break b}nd(a)}d=v[a+36>>2];c:{d:{if(w[v[d+16>>2]]==40){d=v[d+56>>2];xd(a);Bd(a);d=xF(a,d,c+1|0);Bd(a);if(v[a+292>>2]){break c}g=v[a+36>>2];if((v[g+20>>2]-v[g+16>>2]|0)<250){break d}break c}d=nh(a);if(!d){if(!(!v[a+212>>2]|v[a+172>>2]!=-1)){break a}v[a+84>>2]=54;v[i+64>>2]=289848;oc(0,0,0,a,0,1,54,3,0,0,0,0,350078,i- -64|0);v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1;break a}d=Xp(v[a+8>>2],d,2);if(!d){Qd(a,0);break a}e:{if(v[a+292>>2]){break e}g=v[a+36>>2];if((v[g+20>>2]-v[g+16>>2]|0)>249){break e}nd(a)}f:{g:{switch(w[v[v[a+36>>2]+16>>2]]-42|0){case 21:v[d+4>>2]=2;xd(a);break f;case 0:v[d+4>>2]=3;xd(a);break f;case 1:v[d+4>>2]=4;xd(a);break f;default:break g}}v[d+4>>2]=1}if(v[a+292>>2]){break c}g=v[a+36>>2];if((v[g+20>>2]-v[g+16>>2]|0)>249){break c}}nd(a)}Bd(a);h:{if(v[a+292>>2]){break h}g=v[a+36>>2];h=v[g+16>>2];if((h-v[g+12>>2]|0)<501|(v[g+20>>2]-h|0)>499){break h}bh(g);g=v[a+36>>2];if(w[v[g+16>>2]]){break h}if((cd(g)|0)>0){break h}vd(a)}k=v[a+36>>2];f=w[v[k+16>>2]];if((f|0)==41){g=d}else{i:{if(v[a+172>>2]==-1){g=d;break i}l=c+1|0;h=d;while(1){j:{k:{l:{m:{n:{c=f&255;if((c|0)!=124){if((c|0)!=44){break n}if(!(!j|(j|0)==44)){ok(a,66,353349,j);if(!(!e|(e|0)==(h|0))){oh(v[a+8>>2],e)}f=0;if(!h){break a}oh(v[a+8>>2],h);break a}xd(a);c=Ub[v[259704]](28)|0;if(!c){v[i+16>>2]=291415;f=0;oc(0,0,0,0,0,23,2,3,291415,0,0,0,350051,i+16|0);if(!(!e|(e|0)==(h|0))){oh(v[a+8>>2],e)}oh(v[a+8>>2],h);break a}v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=3;v[c+4>>2]=1;v[c+24>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;if(e){j=44;break l}v[c+12>>2]=h;j=44;break m}if(!(!j|(j|0)==124)){ok(a,66,353349,j);if(!(!e|(e|0)==(h|0))){oh(v[a+8>>2],e)}f=0;if(!h){break a}oh(v[a+8>>2],h);break a}xd(a);c=Ub[v[259704]](28)|0;if(!c){v[i+48>>2]=291415;f=0;oc(0,0,0,0,0,23,2,3,291415,0,0,0,350051,i+48|0);if(!(!e|(e|0)==(h|0))){oh(v[a+8>>2],e)}if(!h){break a}oh(v[a+8>>2],h);break a}v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=4;v[c+4>>2]=1;v[c+24>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;if(e){j=124;break l}v[c+12>>2]=h;j=124;break m}v[a+84>>2]=55;v[i>>2]=289810;oc(0,0,0,a,0,1,55,3,0,0,0,0,350078,i);v[a+12>>2]=0;if(!v[a+288>>2]){v[a+212>>2]=1}if(!(!e|(e|0)==(h|0))){oh(v[a+8>>2],e)}f=0;if(!h){break a}oh(v[a+8>>2],h);break a}g=c;f=c;d=c;e=h;h=c;if(e){break k}break j}v[d+16>>2]=c;v[c+12>>2]=e;v[c+20>>2]=d;f=h;h=c}d=h;g=f;v[e+20>>2]=c}o:{if(v[a+292>>2]){break o}c=v[a+36>>2];if((v[c+20>>2]-v[c+16>>2]|0)>249){break o}nd(a)}Bd(a);p:{if(v[a+292>>2]){break p}c=v[a+36>>2];if((v[c+20>>2]-v[c+16>>2]|0)>249){break p}nd(a)}c=v[a+36>>2];q:{if(w[v[c+16>>2]]==40){c=v[c+56>>2];xd(a);Bd(a);e=xF(a,c,l);Bd(a);break q}c=nh(a);if(!c){r:{if(v[a+172>>2]==-1?v[a+212>>2]:0){break r}v[a+84>>2]=54;v[i+32>>2]=289848;oc(0,0,0,a,0,1,54,3,0,0,0,0,350078,i+32|0);v[a+12>>2]=0;if(v[a+288>>2]){break r}v[a+212>>2]=1}f=0;if(!g){break a}oh(v[a+8>>2],g);break a}e=Xp(v[a+8>>2],c,2);if(!e){f=0;if(!g){break a}oh(v[a+8>>2],g);break a}s:{switch(w[v[v[a+36>>2]+16>>2]]-42|0){case 21:v[e+4>>2]=2;xd(a);break q;case 0:v[e+4>>2]=3;xd(a);break q;case 1:v[e+4>>2]=4;xd(a);break q;default:break s}}v[e+4>>2]=1}Bd(a);t:{if(v[a+292>>2]){break t}c=v[a+36>>2];if((v[c+20>>2]-v[c+16>>2]|0)>249){break t}nd(a)}k=v[a+36>>2];f=w[v[k+16>>2]];if((f|0)==41){break i}h=g;if(v[a+172>>2]!=-1){continue}break}}if(!(!d|!e)){v[d+16>>2]=e;v[e+20>>2]=d}}f=g;if(!(!v[a+104>>2]|v[k+56>>2]==(b|0))){Xi(a,90,347330,0,0)}xd(a);u:{v:{switch(w[v[v[a+36>>2]+16>>2]]-42|0){case 21:if(!f){break u}v[f+4>>2]=v[f+4>>2]-3>>>0<2?3:2;break u;case 0:if(!f){break u}v[f+4>>2]=3;if(v[f>>2]!=4){break u}c=f;while(1){b=v[c+12>>2];if(!(!b|(v[b+4>>2]&-2)!=2)){v[b+4>>2]=1}c=v[c+16>>2];if(!c){break u}if((v[c+4>>2]&-2)==2){v[c+4>>2]=1}if(v[c>>2]==4){continue}break};break u;case 1:break v;default:break a}}if(!f){break u}v[f+4>>2]=(v[f+4>>2]&-2)==2?3:4;if(!d){break u}e=0;w:{if(v[d>>2]!=4){break w}while(1){b=v[d+12>>2];if(!(!b|(v[b+4>>2]&-2)!=2)){v[b+4>>2]=1;e=1}d=v[d+16>>2];if(!d){break w}if((v[d+4>>2]&-2)==2){v[d+4>>2]=1;e=1}if(v[d>>2]==4){continue}break}}if(!e){break u}v[f+4>>2]=3}xd(a)}Qb=i+80|0;return f}function YG(a,b,c){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,p=0;l=Qb-16|0;Qb=l;v[c>>2]=2147483632;v[c+16>>2]=v[c+8>>2];h=v[c+20>>2];v[c+28>>2]=h;u[h+2>>1]=0;h=v[b+28>>2];b=v[b+20>>2];i=h-b|0;f=268435454;d=268435455;h=268435455;k=268435454;j=v[a+28>>2];a=v[a+20>>2];j=j-a|0;if(j){v[l+4>>2]=a+8;n=(j>>3)-1|0;j=u[a+10>>1];k=j>>31;h=u[a+8>>1];k=(h+((k^k+j)&65535)|0)-1|0}if(i){v[l>>2]=b+8;o=(i>>3)-1|0;f=u[b+10>>1];a=f>>31;d=u[b+8>>1];f=(d+((a^a+f)&65535)|0)-1|0}while(1){a:{if(!n){b=h;n=0;break a}if((h|0)<=(k|0)){b=h;break a}a=v[l+4>>2];v[l+4>>2]=a+8;n=n-1|0;i=u[a+10>>1];h=i>>31;b=u[a+8>>1];k=(b+((h^h+i)&65535)|0)-1|0}j=k;b:{c:{d:{if(!o){o=0;break d}if((d|0)>(f|0)){break c}}a=d;break b}a=v[l>>2];v[l>>2]=a+8;o=o-1|0;f=u[a+10>>1];h=f>>31;a=u[a+8>>1];f=(a+((h^f+h)&65535)|0)-1|0}i=f;if(!((f|0)<(a|0)&(b|0)>(j|0))){p=(i|0)<(j|0);d=(a|0)>(b|0)?a:b;h=(p?i:j)-d|0;if((h|0)>=0){k=h+1|0;e:{if((a|0)>(b|0)){h=a-b|0;f=v[l+4>>2];e=u[f+2>>1];f:{if((e|0)<=-1){f=w[v[f+4>>2]];g:{if((v[c>>2]+1|0)!=(b|0)){break g}e=v[c+28>>2];g=u[e+2>>1];if((g|0)>-1|(f|0)!=w[v[e+4>>2]]){break g}u[e+2>>1]=g-h;break f}t[v[c+16>>2]]=f;f=v[c+28>>2];v[c+28>>2]=f+8;e=v[c+16>>2];v[c+16>>2]=e+1;u[f+10>>1]=0-h;u[f+8>>1]=b;v[f+12>>2]=e;break f}if(!e){h=a;break e}e=v[f+4>>2];f=u[f>>1];gc(v[c+16>>2],e+((b|0)>(f|0)?b-f|0:0)|0,h);e=v[c+28>>2];h:{i:{if((v[c>>2]+1|0)!=(b|0)){break i}f=u[e+2>>1];if((f|0)<1){break i}u[e+2>>1]=f+h;f=v[c+16>>2];break h}v[c+28>>2]=e+8;f=v[c+16>>2];u[e+10>>1]=h;u[e+8>>1]=b;v[e+12>>2]=f}v[c+16>>2]=f+h}v[c>>2]=a-1;h=a;break e}h=(a|0)<(b|0)?b:a;a=b}b=d;f=k;j:{k:{l:{m:{n:{e=v[l>>2];d=v[l+4>>2];switch((x[e+2>>1]>>>14&2|x[d+2>>1]>>>15)-1|0){case 2:break k;case 1:break l;case 0:break m;default:break n}}g=v[e+4>>2];e=u[e>>1];e=g+((b|0)>(e|0)?b-e|0:0)|0;g=v[d+4>>2];d=u[d>>1];d=g+((b|0)>(d|0)?b-d|0:0)|0;while(1){g=B(w[d|0],w[e|0]^255);if(g){t[v[c+16>>2]]=(g|0)==65025?-1:g>>>8|0;g=v[c+28>>2];o:{p:{if((v[c>>2]+1|0)!=(b|0)){break p}m=u[g+2>>1];if((m|0)<1){break p}u[g+2>>1]=m+1;m=v[c+16>>2];break o}v[c+28>>2]=g+8;m=v[c+16>>2];u[g+10>>1]=1;u[g+8>>1]=b;v[g+12>>2]=m}v[c>>2]=b;v[c+16>>2]=m+1}e=e+1|0;d=d+1|0;b=b+1|0;f=f-1|0;if(f){continue}break}break j}g=v[e+4>>2];e=u[e>>1];e=g+((b|0)>(e|0)?b-e|0:0)|0;while(1){d=B(w[v[d+4>>2]],w[e|0]^255);if(d){t[v[c+16>>2]]=(d|0)==65025?-1:d>>>8|0;d=v[c+28>>2];q:{r:{if((v[c>>2]+1|0)!=(b|0)){break r}g=u[d+2>>1];if((g|0)<1){break r}u[d+2>>1]=g+1;g=v[c+16>>2];break q}v[c+28>>2]=d+8;g=v[c+16>>2];u[d+10>>1]=1;u[d+8>>1]=b;v[d+12>>2]=g}v[c>>2]=b;v[c+16>>2]=g+1}f=f-1|0;if(!f){break j}e=e+1|0;b=b+1|0;d=v[l+4>>2];continue}}g=w[v[e+4>>2]];if((g|0)==255){break j}e=v[d+4>>2];d=u[d>>1];e=e+((b|0)>(d|0)?b-d|0:0)|0;while(1){d=B(w[e|0],(g^-1)&255);if(d){t[v[c+16>>2]]=(d|0)==65025?-1:d>>>8|0;d=v[c+28>>2];s:{t:{if((v[c>>2]+1|0)!=(b|0)){break t}g=u[d+2>>1];if((g|0)<1){break t}u[d+2>>1]=g+1;g=v[c+16>>2];break s}v[c+28>>2]=d+8;g=v[c+16>>2];u[d+10>>1]=1;u[d+8>>1]=b;v[d+12>>2]=g}v[c>>2]=b;v[c+16>>2]=g+1}f=f-1|0;if(!f){break j}e=e+1|0;b=b+1|0;g=w[v[v[l>>2]+4>>2]];continue}}d=B(w[v[d+4>>2]],w[v[e+4>>2]]^255);if(!d){break j}d=(d|0)==65025?255:d>>>8|0;u:{v:{if((v[c>>2]+1|0)!=(b|0)){break v}e=v[c+28>>2];g=u[e+2>>1];if((g|0)>-1|(d|0)!=w[v[e+4>>2]]){break v}u[e+2>>1]=g-f;break u}t[v[c+16>>2]]=d;d=v[c+28>>2];v[c+28>>2]=d+8;e=v[c+16>>2];v[c+16>>2]=e+1;u[d+10>>1]=0-f;u[d+8>>1]=b;v[d+12>>2]=e}v[c>>2]=(b+f|0)-1}if((i|0)>(j|0)){d=h+k|0;k=268435454;h=268435455;f=i;continue}d=268435455;h=p?a+k|0:268435455;f=268435454;k=p?j:268435454;continue}f=268435454;d=268435455;h=b;k=j;if((a|0)<=(b|0)){continue}k=268435454;h=268435455;d=a;f=i;if((b|0)>(j|0)){continue}g=j-b|0;e=g+1|0;i=v[l+4>>2];m=u[i+2>>1];w:{if((m|0)<=-1){d=w[v[i+4>>2]];x:{if((v[c>>2]+1|0)!=(b|0)){break x}i=v[c+28>>2];m=u[i+2>>1];if((m|0)>-1|(d|0)!=w[v[i+4>>2]]){break x}u[i+2>>1]=m-e;break w}t[v[c+16>>2]]=d;d=v[c+28>>2];v[c+28>>2]=d+8;i=v[c+16>>2];v[c+16>>2]=i+1;u[d+10>>1]=g^-1;u[d+8>>1]=b;v[d+12>>2]=i;break w}if(!m){continue}d=u[i>>1];gc(v[c+16>>2],v[i+4>>2]+((b|0)>(d|0)?b-d|0:0)|0,e);i=v[c+28>>2];y:{z:{if((v[c>>2]+1|0)!=(b|0)){break z}d=u[i+2>>1];if((d|0)<1){break z}u[i+2>>1]=d+e;d=v[c+16>>2];break y}v[c+28>>2]=i+8;d=v[c+16>>2];u[i+10>>1]=e;u[i+8>>1]=b;v[i+12>>2]=d}v[c+16>>2]=d+e}v[c>>2]=j;d=a;continue}break}Qb=l+16|0}function w6a(a){a=a|0;var 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,y=0;e=Qb-96|0;Qb=e;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],v[a+26064>>2],0)|0;h=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])&65535;i=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])&65535;if(!((h|0)!=73&(i|0)!=88)){Ub[v[v[a>>2]+8>>2]](v[a+4>>2],2110,1)|0}g=v[a+26112>>2];Mi(a,e+88|0,4);l=v[a+26112>>2];u[e+84>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],e+84|0,1,2)|0;c=w[e+84|0];f=(g|0)==14;q=((h|0)==70)<<1;p=q+3|0;b=1<>1]==18761){c=c|w[e+85|0]<<8}else{c=w[e+85|0]|c<<8}g=c&65535;if(g>>>0<2){break c}j=(b|0)/(g-1|0)|0;if((h|0)!=68|(i|0)!=32|(j|0)<1){break c}while(1){u[e+84>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],e+84|0,1,2)|0;i=w[e+84|0];h=((B(d,j)<<1)+a|0)+26484|0;if(x[a+25204>>1]==18761){c=i|w[e+85|0]<<8}else{c=w[e+85|0]|i<<8}u[h>>1]=c;d=d+1|0;if((g|0)!=(d|0)){continue}break}break b}if((h|0)==70|(c&65535)>>>0>16385){break a}Mi(a,a+26484|0,g);b=g;break a}if(l>>>0<=14){g=b>>>0>1?b:1;d=0;l=a+26484|0;while(1){i=(d|0)%(j|0)|0;c=d-i|0;u[l+(d<<1)>>1]=(B(x[l+(c+j<<1)>>1],i)+B(x[l+(c<<1)>>1],j-i|0)|0)/(j|0);d=d+1|0;if((g|0)!=(d|0)){continue}break}}Ub[v[v[a>>2]+8>>2]](v[a+4>>2],v[a+26064>>2]+562|0,0)|0;u[e+84>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],e+84|0,1,2)|0;c=w[e+84|0];if(x[a+25204>>1]==18761){c=c|w[e+85|0]<<8}else{c=w[e+85|0]|c<<8}r=c&65535}c=f?p:q;g=a+26484|0;while(1){p=b;d=x[(g+(b<<1)|0)-4>>1];b=b-1|0;if((d|0)==x[g+(b<<1)>>1]){continue}break}g=ic(a+232|0,0,24576);v[a+24812>>2]=g;b=c<<5;qn(a,b+195856|0,0);Ub[v[v[a>>2]+8>>2]](v[a+4>>2],v[a+26048>>2],0)|0;v[289140]=0;v[289141]=0;v[289139]=0;if(x[a+26308>>1]){l=b+195888|0;k=v[252391];while(1){if(!(!r|(n|0)!=(r|0))){t=a,y=ic(g,0,24576),v[t+24812>>2]=y;qn(a,l,0);s=16;p=p+32|0}if(x[a+26306>>1]){q=n&1;i=n<<1&14;m=0;while(1){c=g;b=v[c>>2];d:{if(!b){break d}f=0;if(v[289141]){while(1){c=b;b=v[b>>2];if(b){continue}break d}}while(1){d=0;e:{if(f){break e}d=v[289140];f:{if((d|0)>=1){b=v[289139];break f}while(1){g:{h:{h=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;i:{if((h|0)==-1){if(!v[a+26160>>2]){v[e+80>>2]=v[a+25208>>2];wc(k,8292,e+80|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,k);v[a+26160>>2]=1;break i}b=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[e+64>>2]=b;v[e+68>>2]=b>>31;wc(k,14622,e- -64|0)}v[a+26160>>2]=1;break i}if(!v[a+26144>>2]){break i}if((h|0)==255){break h}}v[289141]=0;break g}d=0;b=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[289141]=(b|0)!=0;if(!b){break g}f=1;break e}f=v[289140];d=f+8|0;v[289140]=d;b=h&255|v[289139]<<8;v[289139]=b;if((f|0)<-7){continue}break}}f=0;v[289140]=d-1;d=b<<32-d>>>31|0}c=v[(d<<2)+c>>2];if(v[c>>2]){continue}break}}j=v[c+8>>2];h=j&15;f=j>>4;o=h-f|0;j:{if((o|0)==-1){v[289140]=0;v[289141]=0;v[289139]=0;d=0;break j}d=0;if(v[289141]|!o){break j}d=v[289140];k:{if((o|0)<=(d|0)){b=v[289139];break k}while(1){c=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;l:{if((c|0)==-1){if(!v[a+26160>>2]){v[e+48>>2]=v[a+25208>>2];wc(k,8292,e+48|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,k);v[a+26160>>2]=1;v[289141]=0;break l}b=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[e+32>>2]=b;v[e+36>>2]=b>>31;wc(k,14622,e+32|0)}v[a+26160>>2]=1;v[289141]=0;break l}if(!((c|0)==255?v[a+26144>>2]:0)){v[289141]=0;break l}b=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[289141]=(b|0)!=0;d=0;if(b){break j}}d=v[289140]+8|0;v[289140]=d;b=c&255|v[289139]<<8;v[289139]=b;if((d|0)<(o|0)){continue}break}}c=d-o|0;v[289140]=c;d=b;b=32-o|0;d=d<>>b|0}b=(d<<1|1)<>>1|0;if(!(b>>>h-1&1)){b=((-1<>>0<16)|0)+b|0}m:{if(m>>>0<=1){f=m<<1;c=f+((e+88|0)+(q<<2)|0)|0;b=x[c>>1]+b|0;u[c>>1]=b;u[f+(e+84|0)>>1]=b;break m}c=(e+84|0)+((m&1)<<1)|0;b=x[c>>1]+b|0;u[c>>1]=b}if((b+s&65535)>=(p|0)){n:{if(v[a+26160>>2]){break n}v[e+16>>2]=v[a+25208>>2];wc(k,8292,e+16|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,k);break n}c=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[e>>2]=c;v[e+4>>2]=c>>31;wc(k,14622,e)}v[a+26160>>2]=1}f=m-x[a+26314>>1]|0;if(f>>>0>1]){c=x[a+26316>>1];b=(b<<16>>16<16383?b:16383)<<16>>16;u[(v[a+26352>>2]+(B(x[a+26320>>1],n>>>c|0)+(f>>c)<<3)|0)+((v[a+26028>>2]>>>((f&1|i)<<1)&3)<<1)>>1]=x[((((b|0)>0?b:0)<<1)+a|0)+26484>>1]}m=m+1|0;if(m>>>0>1]){continue}break}}n=n+1|0;if(n>>>0>1]){continue}break}}Qb=e+96|0}function kFa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;e=Qb-112|0;Qb=e;v[a+88>>2]=13;v[a+24>>2]=13;v[e+96>>2]=13;v[e+80>>2]=13;v[e+64>>2]=13;v[e+48>>2]=13;v[e+32>>2]=13;v[a>>2]=b;v[a+104>>2]=1;v[a+4>>2]=v[b+24>>2];j=v[d>>2];b=v[d+4>>2];v[a+84>>2]=0;v[a+40>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=j;v[a+12>>2]=b;a:{if(v[rc(c,278827,e- -64|0,0)>>2]==4){b=fc(8);v[299999]=0;Q(3063,b|0,v[e+72>>2])|0;d=v[299999];v[299999]=0;if((d|0)==1){break a}v[a+16>>2]=b}b=e- -64|0;hc(b);b:{c:{if(v[rc(c,233935,b,0)>>2]!=6){break c}d=v[e+72>>2];if(v[d+12>>2]!=4){break c}v[a+48>>2]=0;v[a+52>>2]=0;v[a+72>>2]=0;v[a+76>>2]=0;b=a- -64|0;v[b>>2]=0;v[b+4>>2]=0;v[a+56>>2]=0;v[a+60>>2]=0;if(v[yc(d,0,e+48|0,0)>>2]-1>>>0<=1){A[a+48>>3]=v[e+48>>2]==1?+v[e+56>>2]:A[e+56>>3]}b=e+48|0;hc(b);if(v[yc(v[e+72>>2],1,b,0)>>2]-1>>>0<=1){A[a+56>>3]=v[e+48>>2]==1?+v[e+56>>2]:A[e+56>>3]}b=e+48|0;hc(b);if(v[yc(v[e+72>>2],2,b,0)>>2]-1>>>0<=1){A[a+64>>3]=v[e+48>>2]==1?+v[e+56>>2]:A[e+56>>3]}b=e+48|0;hc(b);if(v[yc(v[e+72>>2],3,b,0)>>2]-1>>>0<=1){A[a+72>>3]=v[e+48>>2]==1?+v[e+56>>2]:A[e+56>>3]}hc(e+48|0);f=A[a+48>>3];h=A[a+64>>3];if(f>h){A[a+64>>3]=f;A[a+48>>3]=h}f=A[a+56>>3];h=A[a+72>>3];if(!(f>h)){break b}A[a+72>>3]=f;A[a+56>>3]=h;break b}kc(1,-1,247308,0);v[a+104>>2]=0}d=e- -64|0;hc(d);b=rc(c,321049,d,0);v[a+80>>2]=v[b>>2]==1?v[e+72>>2]:0;hc(d);v[e+8>>2]=0;v[e+12>>2]=0;v[e>>2]=0;v[e+4>>2]=0;v[e+24>>2]=0;v[e+28>>2]=0;v[e+16>>2]=0;v[e+20>>2]=1072693248;d:{e:{if(v[rc(c,310893,d,0)>>2]==7){g=0;f:{if(v[rc(v[e+72>>2],310906,e+48|0,0)>>2]!=4){break f}g:{if(v[e+48>>2]!=4){break g}b=v[e+56>>2];g=0;if(!mc(b,310906)){break f}g=1;if(!mc(b,321761)){break f}g=2;if(!mc(b,322447)){break f}g=3;if(!mc(b,320692)){break f}if(mc(b,309807)){break g}g=4;break f}g=0}b=e+48|0;hc(b);k=1;if(v[rc(v[e+72>>2],309708,b,0)>>2]-1>>>0<=1){k=v[e+48>>2]==1?+v[e+56>>2]:A[e+56>>3]}b=e+48|0;hc(b);if(v[rc(v[e+72>>2],321761,b,0)>>2]!=6){break e}i=v[v[e+56>>2]+12>>2];l=ed(i,8);if((i|0)<1){break e}b=0;while(1){d=(b<<3)+l|0;if(v[yc(v[e+56>>2],b,e+32|0,0)>>2]-1>>>0<=1){f=v[e+32>>2]==1?+v[e+40>>2]:A[e+40>>3]}else{f=1}A[d>>3]=f;hc(e+32|0);b=b+1|0;if((i|0)!=(b|0)){continue}break}break e}b=e- -64|0;hc(b);if(v[rc(c,239912,b,0)>>2]!=6){k=1;break d}b=v[e+72>>2];if(v[b+12>>2]<3){break d}k=1;if(v[yc(b,2,e+48|0,0)>>2]-1>>>0<=1){k=v[e+48>>2]==1?+v[e+56>>2]:A[e+56>>3]}hc(e+48|0);b=v[e+72>>2];if(v[b+12>>2]<4){break d}if(v[yc(b,3,e+48|0,0)>>2]!=6){k=0;break e}g=1;i=v[v[e+56>>2]+12>>2];l=ed(i,8);if((i|0)<1){break e}b=0;while(1){d=(b<<3)+l|0;if(v[yc(v[e+56>>2],b,e+32|0,0)>>2]-1>>>0<=1){f=v[e+32>>2]==1?+v[e+40>>2]:A[e+40>>3]}else{f=1}A[d>>3]=f;hc(e+32|0);b=b+1|0;if((i|0)!=(b|0)){continue}break}}hc(e+48|0)}d=e- -64|0;hc(d);b=3;h=1;h:{i:{if(v[rc(c,322139,d,0)>>2]!=6){break i}d=v[e+72>>2];j=v[d+12>>2];if(j>>>0>4){break i}f=0;if(!(1<>2]-1>>>0<=1){f=v[e+48>>2]==1?+v[e+56>>2]:A[e+56>>3]}else{f=0}A[m>>3]=f;hc(e+48|0);b=b+1|0;if((j|0)!=(b|0)){d=v[e+72>>2];continue}break}n=A[e+24>>3];h=A[e+16>>3];o=A[e>>3];b=j;f=A[e+8>>3];break h}f=0}hc(e- -64|0);d=fc(64);v[d+56>>2]=b;A[d+24>>3]=o;v[d+20>>2]=i;v[d+16>>2]=l;A[d+8>>3]=k;v[d>>2]=g;A[d+48>>3]=n;A[d+40>>3]=h;A[d+32>>3]=f;v[a+84>>2]=d;rc(c,311952,e+96|0,0);rc(c,310896,e+80|0,0);j:{k:{l:{if(v[e+80>>2]==4){b=fc(8);v[299999]=0;Q(3063,b|0,v[e+88>>2])|0;d=v[299999];v[299999]=0;if((d|0)!=1){break l}break a}if(v[e+96>>2]==7){rc(v[e+104>>2],316328,e- -64|0,0);m:{if(v[e+64>>2]!=7){break m}d=v[e+72>>2];if(v[d+16>>2]!=1){break m}b=fc(8);v[299999]=0;g=v[v[d+4>>2]>>2];d=v[299999];v[299999]=0;if((d|0)==1){break j}v[299999]=0;Q(3063,b|0,g|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break j}v[a+20>>2]=b}hc(e- -64|0)}if(v[a+20>>2]){break k}b=fc(8);v[299999]=0;Q(3063,b|0,273720)|0;d=v[299999];v[299999]=0;if((d|0)!=1){break l}break a}v[a+20>>2]=b}hc(e+80|0);if(v[e+96>>2]==7){b=a+24|0;rc(v[e+104>>2],316328,e- -64|0,0);Ce(v[e+104>>2],316328,e+48|0);n:{if(v[e+64>>2]==7){if(v[Ce(v[e+72>>2],v[v[a+20>>2]+4>>2],e+32|0)>>2]==9){zf(e+32|0,b)}hc(e+32|0);break n}if(v[e+48>>2]!=9){break n}zf(e+48|0,b)}hc(e- -64|0);hc(e+48|0)}hc(e+96|0);Ce(c,322061,a+88|0);Qb=e+112|0;return a|0}}a=P()|0;O()|0;dc(b);T(a|0);L()}function wNa(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,p=0,q=0,r=0,s=0,u=0,y=0,z=0,A=0;j=Qb-16|0;Qb=j;n=v[b+12>>2];e=v[b+8>>2];k=v[b+4>>2];o=v[a+4>>2];m=v[a+16>>2];v[j+12>>2]=m;p=v[o+24>>2];s=p+(w[o+28|0]&16?164:160)|0;g=v[k+44>>2];if(g){q=w[k+36|0];l=v[k+48>>2]}else{l=0}u=w[o+35|0];r=v[a+20>>2];h=(q<<24>>24)+n-((l<<24>>24)+e)|0;a:{if((h|0)<1){break a}d=w[n-1|0];b:{if((d&192)!=128){break b}f=1;if((h|0)<=1){break a}d=w[n-2|0];if((d&192)!=128){break b}if((h|0)<3){break a}f=2;d=w[n-3|0];if((d&192)==128){break a}}h=(d>>>0>191)+(d>>>0>223)|0;c:{if(d>>>0<=239){break c}h=0;if(d>>>0>253){break c}h=(d>>>0>251)+(d>>>0>247?4:3)|0}if((h|0)<=(f|0)){break a}n=(f^-1)+n|0}z=w[p+201|0];u=u?2048:3072;A=v[p+208>>2];y=v[p+52>>2];s=v[s+28>>2];h=r-m|0;if((h|0)>0?g:0){t[k+36|0]=0;v[k+44>>2]=0;i=q;d=1}else{d=0}d:{e:{f:{g:while(1){h:{i:{if(!d){d=e;if(n>>>0<=d>>>0){break f}while(1){j:{k:{if((h|0)>=1){e=d+1|0;f=t[d|0];g=f&255;if((f|0)>=0){if(A>>>((f&252)>>>2)&1){d=v[j+12>>2];v[j+12>>2]=d+1;t[d|0]=f;d=e;break j}f=x[s+(x[p+60>>1]+g<<1)>>1];break i}l:{m:{n:{o:{m=f&255;p:{if(m>>>0<=223){if(m>>>0<194){break n}m=w[e|0]^128;if(m>>>0>63){break n}d=d+2|0;r=f&31;f=x[s+(x[(p+(r<<1)|0)+60>>1]+m<<1)>>1];if(u>>>0>f>>>0){break p}e=v[j+12>>2];v[j+12>>2]=e+1;t[e|0]=f;break j}if((f|0)!=-32){break o}r=w[e|0]^128;if((r&224)!=32){break n}m=w[d+2|0]^128;if(m>>>0>63){break n}d=d+3|0;f=x[s+(x[(p+(r<<1)|0)+60>>1]+m<<1)>>1];if(u>>>0<=f>>>0){break k}}e=d;g=r<<6|m;break i}i=f&255;if(i>>>0>=240){break m}}d=f&255;d=(d>>>0>191)+(d>>>0>223)|0;break l}d=0;if(i>>>0>253){break l}d=f&255;d=(d>>>0>247?4:3)+(d>>>0>251)|0}i=1;l=d+1|0;q=0;d=1;continue g}v[c>>2]=15;break e}e=v[j+12>>2];v[j+12>>2]=e+1;t[e|0]=f}h=h-1|0;if(d>>>0>>0){continue}break}break f}q:{r:{s:{d=l<<24>>24;t:{if((d|0)<=i<<24>>24){break t}f=v[b+12>>2];while(1){if(e>>>0>=f>>>0){break s}m=w[e|0];if((m&192)!=128){break t}e=e+1|0;g=m+(g<<6)|0;i=(i<<24)+16777216>>24;if((d|0)>(i|0)){continue}break}i=l}d=g;f=i<<24>>24;g=(i&255)!=(l&255);if(g|(i&254)!=2){break r}g=d;d=f<<2;g=g-v[d+846544>>2]|0;if((g|0)>2]){break h}d=g;if((d&-2048)!=55296){break q}break h}d=q<<24>>24;c=i<<24>>24;e=(d-c|0)+e|0;h=l<<24>>24;u:{if((c|0)<=(d|0)){break u}l=c+(d^-1)|0;f=c-d&3;if(f){while(1){t[(d+k|0)+37|0]=w[e|0];d=d+1|0;e=e+1|0;f=f-1|0;if(f){continue}break}}if(l>>>0<3){break u}while(1){l=d+k|0;t[l+37|0]=w[e|0];t[l+38|0]=w[e+1|0];t[l+39|0]=w[e+2|0];t[l+40|0]=w[e+3|0];e=e+4|0;d=d+4|0;if((c|0)!=(d|0)){continue}break}}v[k+48>>2]=h;t[k+36|0]=i;v[k+44>>2]=g;v[b+8>>2]=e;v[a+16>>2]=v[j+12>>2];break d}if((i&255)!=4|g|d-63512704>>>0>1048575){break h}g=d-63447168|0;f=0;if(!(z&1)){break i}}f=x[s+(x[(x[(g>>10<<1)+y>>1]+(g>>>4&63)<<1)+y>>1]+(d&15)<<1)>>1]}v:{if(u>>>0<=(f&65535)>>>0){d=v[j+12>>2];v[j+12>>2]=d+1;t[d|0]=f;h=h-1|0;break v}v[j+8>>2]=846596;d=is(o,v[v[o+24>>2]+224>>2],g,j+8|0,846596,j+12|0,v[j+12>>2]+h|0,0,-1,t[a+2|0],c);if(v[c>>2]>=1){v[o+56>>2]=d;d=e;break f}if(v[o+180>>2]>=0){v[c>>2]=-127;d=e;break f}h=v[a+20>>2]-v[j+12>>2]|0}d=0;continue}break}g=q<<24>>24;e=(g-f|0)+e|0;w:{if(i<<24>>24<=(g|0)){break w}l=f+(g^-1)|0;d=f-g&3;if(d){while(1){t[(g+k|0)+37|0]=w[e|0];g=g+1|0;e=e+1|0;d=d-1|0;if(d){continue}break}}if(l>>>0<3){break w}while(1){d=g+k|0;t[d+37|0]=w[e|0];t[d+38|0]=w[e+1|0];t[d+39|0]=w[e+2|0];t[d+40|0]=w[e+3|0];e=e+4|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}}t[k+36|0]=i;v[b+8>>2]=e;v[a+16>>2]=v[j+12>>2];v[c>>2]=12;break d}if(v[c>>2]>0|v[o+180>>2]>-1){break e}c=v[b+12>>2];if(c>>>0<=d>>>0){break e}f=w[d|0];t[k+37|0]=f;g=1;e=(f>>>0>191)+(f>>>0>223)|0;x:{if(f>>>0<=239){break x}e=0;if(f>>>0>253){break x}e=(f>>>0>251)+(f>>>0>247?4:3)|0}l=e+1|0;e=d+1|0;y:{if(c>>>0<=e>>>0){c=e;break y}g=c+(d^-1)|0;h=g&3;z:{if((c-d|0)-2>>>0<3){g=1;break z}n=g&-4;g=1;d=k+37|0;while(1){i=g<<24;q=w[e|0];t[d+(i>>24)|0]=q;o=w[e+1|0];t[d+(i+16777216>>24)|0]=o;p=w[e+2|0];t[d+(i+33554432>>24)|0]=p;m=d+(i+50331648>>24)|0;i=w[e+3|0];t[m|0]=i;e=e+4|0;g=g+4|0;f=i+(p+(o+(q+(f<<6)<<6)<<6)<<6)|0;n=n-4|0;if(n){continue}break}}if(h){while(1){d=w[e|0];t[((g<<24>>24)+k|0)+37|0]=d;e=e+1|0;g=g+1|0;f=d+(f<<6)|0;h=h-1|0;if(h){continue}break}}}d=c;v[k+48>>2]=l;t[k+36|0]=g;v[k+44>>2]=f}v[b+8>>2]=d;v[a+16>>2]=v[j+12>>2]}Qb=j+16|0}function az(a,b){a=a|0;b=b|0;var 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;h=Qb-16|0;Qb=h;a:{if(!a){break a}e=v[a+216>>2];if(!e){c=mi(b);if(c){break a}}c=v[a+8>>2];b:{c:{d:{if(!c){break d}if(v[c+40>>2]==1){if((e|0)==2){v[c+40>>2]=0;e=v[c+44>>2];e:{f:{if(!e){break f}e=v[e+48>>2];if(!e){break f}e=Se(e,b,0,0);if(e){break e}}e=v[c+48>>2];g:{if(!e){break g}e=v[e+48>>2];if(!e){break g}e=Se(e,b,0,0);if(e){break e}}e=mi(b)}v[c+40>>2]=1;break c}d=v[c+44>>2];h:{i:{if(d){e=v[d+48>>2];if(e){e=Se(e,b,0,0);if(e){break b}}e=mi(b);if(e){break b}v[c+40>>2]=0;if(!d){break i}e=v[d+48>>2];if(!e){break i}e=Se(e,b,0,0);if(!e){break i}break h}e=mi(b);if(e){break b}v[c+40>>2]=0}e=v[c+48>>2];j:{if(!e){break j}e=v[e+48>>2];if(!e){break j}e=Se(e,b,0,0);if(e){break h}}e=mi(b)}if(e){c=Qb-32|0;Qb=c;k:{if(a){if(v[a+172>>2]==-1?v[a+212>>2]:0){break k}v[a+84>>2]=103;v[c+20>>2]=0;v[c+16>>2]=b;oc(0,0,0,a,0,1,103,3,b,0,0,0,348603,c+16|0);v[a+100>>2]=0;v[a+12>>2]=0;if(v[a+288>>2]){break k}v[a+212>>2]=1;break k}v[c+4>>2]=0;v[c>>2]=b;oc(0,0,0,0,0,1,103,3,b,0,0,0,348603,c)}Qb=c+32|0;c=v[a+8>>2]}v[c+40>>2]=1;break c}e=v[c+44>>2];l:{if(!e){break l}e=v[e+48>>2];if(!e){break l}e=Se(e,b,0,0);if(e){break c}}c=v[c+48>>2];if(!c){break d}c=v[c+48>>2];if(!c){break d}e=Se(c,b,0,0);if(e){break c}}e=mi(b)}c=0;if(!e){break a}}m:{if(v[e+12>>2]|!(v[a+16>>2]?1:v[a+104>>2])|v[e+48>>2]!=2){break m}m=v[a+440>>2];j=v[e+64>>2];f=v[e+52>>2];k=h+12|0;i=Qb-16|0;Qb=i;n:{if(!a){c=-1;break n}d=v[a+248>>2];if((d|0)>=41){c=89;if(!(w[a+362|0]&8)|(d|0)>1024){break n}}if(k){v[k>>2]=0}if(!(f|j)){c=-1;break n}if(!v[a+8>>2]){c=-1;break n}d=qU(j,f,a);if(!d){c=-1;break n}l=v[d>>2];v[d>>2]=v[a>>2];xu(d);g=qo(335485);if(!g){Wi(d);c=-1;break n}v[g+92>>2]=64;c=v[a+8>>2];f=v[c+80>>2];if(f){v[g+80>>2]=f;aG(f);c=v[a+8>>2]}v[g+44>>2]=v[c+44>>2];v[g+48>>2]=v[c+48>>2];c=v[c+72>>2];if(c){n=g,o=we(c),v[n+72>>2]=o}c=Qy(g,227634);if(!c){v[d>>2]=l;Wi(d);v[g+44>>2]=0;v[g+48>>2]=0;$p(g);c=-1;break n}$f(g,c);Au(d,v[g+12>>2]);c=v[a+8>>2];o:{if(!c){v[d+8>>2]=g;break o}v[d+8>>2]=c;v[v[g+12>>2]+32>>2]=v[a+8>>2]}p:{if(v[d+292>>2]){break p}c=v[d+36>>2];if((v[c+20>>2]-v[c+16>>2]|0)>249){break p}nd(d)}c=v[d+36>>2];f=v[c+16>>2];q:{if((v[c+20>>2]-f|0)<4){break q}t[i+12|0]=w[f|0];t[i+13|0]=w[f+1|0];t[i+14|0]=w[f+2|0];t[i+15|0]=w[f+3|0];c=cq(i+12|0,4);if(!c){break q}aq(d,c)}c=v[v[d+36>>2]+16>>2];r:{if(w[c|0]!=60|w[c+1|0]!=63|(w[c+2|0]!=120|w[c+3|0]!=109)){break r}if(w[c+4|0]!=108){break r}c=w[c+5|0]-9|0;if(c>>>0>23|!(1<>2],335485)){break r}if(ag(v[v[d+36>>2]+48>>2],335485)){break r}Nd(d,109,347639)}c=v[a+4>>2];s:{if((c|0)==(a|0)){v[d+4>>2]=d;break s}v[d+4>>2]=c}v[d+172>>2]=7;c=v[a+104>>2];v[d+104>>2]=c;v[d+100>>2]=v[a+100>>2];v[d+276>>2]=v[a+276>>2];v[d+248>>2]=v[a+248>>2]+1;v[d+16>>2]=v[a+16>>2];t:{if(!c){f=0;c=0;break t}f=v[a+112>>2];c=v[a+116>>2]}v[d+120>>2]=0;v[d+124>>2]=0;v[d+116>>2]=c;v[d+112>>2]=f;v[d+128>>2]=0;v[d+132>>2]=0;c=v[d+296>>2];if(c){Zm(c)}c=v[a+296>>2];v[d+296>>2]=c;n=d,o=Rd(c,258814,3),v[n+312>>2]=o;n=d,o=Rd(v[d+296>>2],235579,5),v[n+316>>2]=o;n=d,o=Rd(v[d+296>>2],286150,36),v[n+320>>2]=o;v[d+364>>2]=v[a+364>>2];v[d+348>>2]=v[a+348>>2];v[d+352>>2]=v[a+352>>2];v[d+280>>2]=v[a+280>>2];Ay(d);v[a+104>>2]=v[d+104>>2];v[a+100>>2]=v[d+100>>2];j=v[v[d+36>>2]+16>>2];f=w[j|0];if(f){c=d;u:{if((f|0)==60){f=85;if(w[j+1|0]==47){break u}}f=86}te(c,f,0)}if(v[d+52>>2]!=v[g+12>>2]){te(d,85,0)}v:{if(!v[d+12>>2]){c=v[d+84>>2];c=c?c:1;break v}c=0;if(!k){break v}c=v[v[g+12>>2]+12>>2];v[k>>2]=c;if(c){while(1){v[c+20>>2]=0;c=v[c+24>>2];if(c){continue}break}}v[v[g+12>>2]+12>>2]=0;c=0}v[d+348>>2]=0;v[d+352>>2]=0;v[d+296>>2]=0;v[d>>2]=l;Wi(d);v[g+44>>2]=0;v[g+48>>2]=0;$p(g)}Qb=i+16|0;w:{if(!c){mV(e,v[h+12>>2]);v[e+68>>2]=1;if(v[e+72>>2]){break m}b=(v[a+440>>2]-m<<1)+2|0;v[e+72>>2]=b;a=v[e+40>>2];if(!a){break m}c=w[a|0];if(!c){break m}while(1){if((c&255)==60){break w}c=w[a+1|0];a=a+1|0;if(c){continue}break}break m}x:{if(v[a+172>>2]==-1?v[a+212>>2]:0){break x}v[a+84>>2]=104;v[h+4>>2]=0;v[h>>2]=b;oc(0,0,0,a,0,1,104,3,b,0,0,0,349381,h);v[a+100>>2]=0;v[a+12>>2]=0;if(v[a+288>>2]){break x}v[a+212>>2]=1}c=0;v[a+104>>2]=0;break a}v[e+72>>2]=b|1}c=e}Qb=h+16|0;return c|0}function g3(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;j=Qb-16|0;Qb=j;v[a+76>>2]=0;v[a+80>>2]=0;d=a- -64|0;v[d>>2]=0;v[d+4>>2]=0;v[a+56>>2]=0;d=v[b+8>>2];a:{b:{c:{if(d&7){break c}f=v[b+64>>2];if(!((f|0)<0|(f|0)>v[b+60>>2])){v[b+8>>2]=d|4;break c}d=v[b+28>>2];v[b+28>>2]=d-1;d:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;e=w[d|0];break d}e=Hc(b,1);if((e|0)==-1){break c}}t[a+12|0]=e;d=v[b+8>>2];if(d&7){break c}f=v[b+64>>2];if(!((f|0)<0|(f|0)>v[b+60>>2])){v[b+8>>2]=d|4;break c}d=v[b+28>>2];v[b+28>>2]=d-1;e:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;e=w[d|0];break e}e=Hc(b,1);if((e|0)==-1){break c}}t[a+13|0]=e;d=v[b+8>>2];if(d&7){break c}f=v[b+64>>2];if(!((f|0)<0|(f|0)>v[b+60>>2])){v[b+8>>2]=d|4;break c}d=v[b+28>>2];v[b+28>>2]=d-1;f:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;e=w[d|0];break f}e=Hc(b,1);if((e|0)==-1){break c}}t[a+52|0]=e;d=v[b+8>>2];if(d&7){break c}f=v[b+64>>2];if(!((f|0)<0|(f|0)>v[b+60>>2])){v[b+8>>2]=d|4;break c}d=v[b+28>>2];v[b+28>>2]=d-1;g:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;v[b+24>>2]=v[b+24>>2]+1;break g}if((Hc(b,1)|0)==-1){break c}}d=a+16|0;if(og(b,d)){break c}if(og(b,d+4|0)){break c}if(og(b,d+8|0)){break c}if(og(b,d+12|0)){break c}if(og(b,d+16|0)){break c}if(og(b,d+20|0)){break c}if(og(b,d+24|0)){break c}if(og(b,d+28|0)){break c}if(og(b,d+32|0)){break c}if(wh(b,2,j+8|0)){break c}v[a+60>>2]=v[j+8>>2];if(wh(b,2,j+8|0)){break c}v[a+72>>2]=v[j+8>>2];f=w[a+12|0];h:{if(!f){g=1;break h}d=w[a+52|0];h=f&7;i:{if(f-1>>>0<7){g=1;break i}i=f&248;g=1;while(1){g=B(d,B(d,B(d,B(d,B(d,B(d,B(d,B(d,g))))))));i=i-8|0;if(i){continue}break}}if(!h){break h}while(1){g=B(d,g);h=h-1|0;if(h){continue}break}}k=B(w[a+13|0],g);e=jc(k<<2);v[a+56>>2]=e;if(!e){break b}d=jc(B(w[a+12|0],v[a+60>>2])<<2);v[a+68>>2]=d;if(!d){break c}e=jc(w[a+12|0]<<2);v[a+64>>2]=e;if(!e){break c}f=w[a+12|0];j:{if(!f){break j}d=v[a+60>>2];v[e>>2]=v[a+68>>2];e=1;if((f|0)==1){break j}g=f-1|0;h=g&3;if(f-2>>>0>=3){i=g&-4;while(1){v[v[a+64>>2]+(e<<2)>>2]=v[a+68>>2]+(B(d,e)<<2);f=e+1|0;v[v[a+64>>2]+(f<<2)>>2]=v[a+68>>2]+(B(d,f)<<2);f=e+2|0;v[v[a+64>>2]+(f<<2)>>2]=v[a+68>>2]+(B(d,f)<<2);f=e+3|0;v[v[a+64>>2]+(f<<2)>>2]=v[a+68>>2]+(B(d,f)<<2);e=e+4|0;i=i-4|0;if(i){continue}break}}if(!h){break j}while(1){v[v[a+64>>2]+(e<<2)>>2]=v[a+68>>2]+(B(d,e)<<2);e=e+1|0;h=h-1|0;if(h){continue}break}}d=jc(B(w[a+13|0],v[a+72>>2])<<2);v[a+80>>2]=d;if(!d){break c}e=jc(w[a+13|0]<<2);v[a+76>>2]=e;if(!e){break c}f=w[a+13|0];k:{if(!f){break k}d=v[a+72>>2];v[e>>2]=v[a+80>>2];e=1;if((f|0)==1){break k}g=f-1|0;h=g&3;if(f-2>>>0>=3){i=g&-4;while(1){v[v[a+76>>2]+(e<<2)>>2]=v[a+80>>2]+(B(d,e)<<2);g=e+1|0;v[v[a+76>>2]+(g<<2)>>2]=v[a+80>>2]+(B(d,g)<<2);g=e+2|0;v[v[a+76>>2]+(g<<2)>>2]=v[a+80>>2]+(B(d,g)<<2);g=e+3|0;v[v[a+76>>2]+(g<<2)>>2]=v[a+80>>2]+(B(d,g)<<2);e=e+4|0;i=i-4|0;if(i){continue}break}}if(!h){break k}while(1){v[v[a+76>>2]+(e<<2)>>2]=v[a+80>>2]+(B(d,e)<<2);e=e+1|0;h=h-1|0;if(h){continue}break}}i=w[a+12|0];l:{if(!i){break l}h=0;g=v[a+60>>2];if((g|0)<=0){break l}while(1){e=0;if((g|0)>0){while(1){d=v[v[a+64>>2]+(h<<2)>>2];if(wh(b,2,j+8|0)){break c}v[d+(e<<2)>>2]=v[j+8>>2];e=e+1|0;g=v[a+60>>2];if((e|0)<(g|0)){continue}break}i=w[a+12|0]}h=h+1|0;if(h>>>0<(i&255)>>>0){continue}break}f=w[a+13|0]}h=0;d=0;m:{if(!f){break m}i=0;g=v[a+72>>2];if((g|0)<=0){d=f;break m}d=f;while(1){e=0;if((g|0)>0){while(1){d=v[v[a+76>>2]+(i<<2)>>2];if(wh(b,2,j+8|0)){break c}v[d+(e<<2)>>2]=v[j+8>>2];e=e+1|0;g=v[a+72>>2];if((e|0)<(g|0)){continue}break}d=w[a+13|0]}i=i+1|0;if(i>>>0<(d&255)>>>0){continue}break}}if((k|0)>0){while(1){d=v[a+56>>2];if(wh(b,2,j+8|0)){break c}v[d+(h<<2)>>2]=v[j+8>>2];h=h+1|0;if((k|0)!=(h|0)){continue}break}d=w[a+13|0]}f=d&255;d=w[a+12|0];i=B(d,v[a+60>>2]);k=v[a+72>>2];e=1;n:{if(!d){break n}b=w[a+52|0];g=d&7;if(d-1>>>0>=7){h=d&248;while(1){e=B(b,B(b,B(b,B(b,B(b,B(b,B(b,B(b,e))))))));h=h-8|0;if(h){continue}break}}if(!g){break n}while(1){e=B(b,e);g=g-1|0;if(g){continue}break}}b=0;if(((i+B(f,e+k|0)<<1)+44|0)==(c|0)){break a}}e=v[a+56>>2]}if(e){dc(e)}b=v[a+64>>2];if(b){dc(b)}b=v[a+68>>2];if(b){dc(b)}b=v[a+76>>2];if(b){dc(b)}b=-1;a=v[a+80>>2];if(!a){break a}dc(a)}Qb=j+16|0;return b|0}function OT(a){var 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;h=Qb-256|0;Qb=h;c=v[a+8>>2];a:{if(!c){break a}n=h|9;j=1;while(1){e=v[a+20>>2];b=v[a+24>>2];if(k&!(!e|!b)){break a}b:{c:{if(e){break c}e=v[a+8>>2]+v[a+12>>2]|0;if(e>>>0>>0){break c}if(Oc(c,280472,9)){break c}b=e>>>0>>0?e-c|0:255;Xc(h,c,b);t[b+h|0]=0;b=af(n,47);d:{if(!b){break d}b=Xf(b+1|0,346806);if(!b){break d}o=a,p=ud(b),v[o+20>>2]=p}b=v[a+8>>2]+v[a+12>>2]|0;e:{if(b>>>0<=c>>>0){break e}f:{while(1){g:{e=w[c|0];switch(e-10|0){case 0:case 3:break f;default:break g}}c=c+1|0;if((b|0)!=(c|0)){continue}break}c=b;break e}c=((e|0)==13)+c|0}c=b>>>0>c>>>0?(w[c|0]==10)+c|0:c;c=b>>>0>c>>>0?c:0;break b}h:{if(b){break h}i:{b=v[a+8>>2]+v[a+12>>2]|0;if(b>>>0>>0){break i}if(Oc(c,273800,30)){break i}v[a+24>>2]=1039376;break b}if(b>>>0>>0){break h}if(Oc(c,220091,19)){break h}b=ed(256,4);v[a+24>>2]=b;v[b>>2]=0;d=1;while(1){b=d<<2;v[b+v[a+24>>2]>>2]=0;v[(b+v[a+24>>2]|0)+4>>2]=0;v[(b+v[a+24>>2]|0)+8>>2]=0;v[(b+v[a+24>>2]|0)+12>>2]=0;v[(b+v[a+24>>2]|0)+16>>2]=0;d=d+5|0;if((d|0)!=256){continue}break}d=v[a+8>>2];g=v[a+12>>2];b=d+g|0;j:{if(b>>>0<=c>>>0){break j}k:{while(1){l:{e=w[c|0];switch(e-10|0){case 0:case 3:break k;default:break l}}c=c+1|0;if((b|0)!=(c|0)){continue}break}c=b;break j}c=((e|0)==13)+c|0}c=b>>>0>c>>>0?(w[c|0]==10)+c|0:c;if(b>>>0<=c>>>0){break a}l=0;if(!c){break a}while(1){b=c;d=d+g|0;e=b;m:{if(d>>>0<=b>>>0){break m}n:{while(1){o:{e=w[b|0];switch(e-10|0){case 0:case 3:break n;default:break o}}b=b+1|0;if((d|0)!=(b|0)){continue}break}e=d;break m}e=((e|0)==13)+b|0}b=e;if(b>>>0>>0){b=(w[b|0]==10)+b|0}e=b>>>0>>0?b:0;if(!e){break b}b=e-c|0;b=(b|0)<255?b:255;f=Xc(h,c,b);t[b+h|0]=0;b=f;while(1){d=w[b|0];if(!((d|0)!=32&(d|0)!=9)){b=b+1|0;continue}break}p:{q:{r:{if(!Oc(c-4|0,350598,4)){d=!Oc(b,240716,3);break r}g=Oc(c-5|0,346801,4);i=Oc(b,240716,3);d=!i;if(!g){break r}if(i){break q}}b=(d?3:0)+b|0;while(1){s:{t:{u:{d=w[b|0];if((d|0)!=9){if((d|0)==56){break u}if((d|0)!=32){break t}}b=b+1|0;continue}if(w[b+1|0]!=35){i=10;d=56;break s}d=w[b+2|0];i=8;b=b+2|0;break s}i=10;if((d-48&255)>>>0>9){break p}}g=0;f=d<<24>>24;v:{if((f|0)<48){break v}c=b;m=i|48;if((m|0)<=(f|0)){break v}while(1){b=c+1|0;g=(B(g,i)+f|0)-48|0;d=t[c+1|0];if((d|0)<48){break v}f=d;c=b;if((d|0)<(m|0)){continue}break}}while(1){w:{x:{y:{c=d&255;switch(c-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:break p;case 15:break w;case 0:break x;default:break y}}if((c|0)!=9){break p}}d=w[b+1|0];b=b+1|0;continue}break}c=b+1|0;b=c;while(1){z:{A:{B:{d=w[b|0];switch(d|0){case 0:case 9:break z;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break A;default:break B}}if((d|0)==32){break z}}b=b+1|0;continue}break}if(g>>>0<=255){t[b|0]=0;f=g<<2;uc(v[f+v[a+24>>2]>>2]);c=ud(c);v[f+v[a+24>>2]>>2]=c;t[b|0]=d}while(1){c=d&255;if(!((c|0)!=32&(c|0)!=9)){d=w[b+1|0];b=b+1|0;continue}break}if(Oc(b,225441,3)){break p}d=b+3|0;while(1){c=w[d|0];if(!((c|0)!=32&(c|0)!=9)){d=d+1|0;continue}break}b=d+3|0;if(!Oc(d,240716,3)){continue}break}break p}if(!Xf(f,358455)){break p}b=Xf(0,346806);if(!b){break p}if(!mc(b,273827)){break b}}l=l+1|0;if((l|0)==300){c=e;break b}else{g=v[a+12>>2];d=v[a+8>>2];c=e;continue}}}C:{if(k){b=v[a+12>>2];d=v[a+8>>2];break C}e=c+11|0;b=v[a+12>>2];d=v[a+8>>2];f=b+d|0;if(e>>>0>f>>>0){break C}if(Oc(c,220525,11)){break C}b=f>>>0>>0?f-e|0:255;e=Xc(h,e,b);t[b+h|0]=0;b=af(e,91);if(!b){k=1;break b}k=1;b=b+1|0;e=af(b,93);if(!e){break b}t[e|0]=0;b=Xf(b,346806);if(!b){break b}o=a,q=xf(b),A[o+32>>3]=q;b=Xf(0,346806);if(!b){break b}o=a,q=xf(b),A[o+40>>3]=q;b=Xf(0,346806);if(!b){break b}o=a,q=xf(b),A[o+48>>3]=q;b=Xf(0,346806);if(!b){break b}o=a,q=xf(b),A[o+56>>3]=q;b=Xf(0,346806);if(!b){break b}o=a,q=xf(b),A[o+64>>3]=q;b=Xf(0,346806);if(!b){break b}o=a,q=xf(b),A[o+72>>3]=q;break b}b=b+d|0;D:{if(b>>>0<=c>>>0){break D}E:{while(1){F:{e=w[c|0];switch(e-10|0){case 0:case 3:break E;default:break F}}c=c+1|0;if((b|0)!=(c|0)){continue}break}c=b;break D}c=((e|0)==13)+c|0}c=b>>>0>c>>>0?(w[c|0]==10)+c|0:c;c=b>>>0>c>>>0?c:0}if(j>>>0>99){break a}j=j+1|0;if(c){continue}break}}v[a+80>>2]=1;Qb=h+256|0}function mJa(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,p=0,q=0;h=Qb-96|0;Qb=h;a:{if(!a|!b){break a}d=v[a+8>>2];if(!d){break a}k=v[a+52>>2];b:{if(v[d+48>>2]|!v[a+104>>2]){break b}d=v[d+44>>2];if(d){if(v[d+36>>2]|v[d+40>>2]|(v[d+44>>2]|v[d+48>>2])){break b}}Xi(a,94,346112,0,0);v[a+104>>2]=0}m=zF(a,b,h+28|0);j=XF(v[a+8>>2],m);if(!j){b=v[h+28>>2];if(b){Ub[v[259708]](b)}Jj(a,230764);break a}b=v[a+8>>2];d=v[b+12>>2];c:{if(!d){$f(b,j);break c}k=k?k:d}v[a+264>>2]=-1;d:{if(!v[a+280>>2]){break d}b=v[a+36>>2];if(!b){break d}b=v[b+28>>2];u[j+56>>1]=(b|0)<65535?b:65535}Au(a,j);e:{if(!k){break e}if(v[k+4>>2]==1){$f(k,j);break e}$y(k,j)}f:{if(v[a+32>>2]){break f}b=v[a+8>>2];d=v[b+44>>2];if(!(v[b+48>>2]?1:d)){break f}n=1;o=v[h+28>>2];g=Hy(d,m,o);if(!g){n=0;g=Hy(v[v[a+8>>2]+48>>2],m,o);if(!g){break f}}while(1){e=v[g+44>>2];b=v[a+8>>2];if(v[b+40>>2]==1){g:{if(!e|(!v[b+48>>2]|!v[a+104>>2])){break g}while(1){h:{if(!v[e+48>>2]){break h}if((ko(v[v[a+8>>2]+48>>2],v[e+60>>2],v[e+8>>2],v[e+56>>2])|0)!=(e|0)){break h}if(ko(v[v[a+8>>2]+44>>2],v[e+60>>2],v[e+8>>2],v[e+56>>2])){break h}i:{j:{k:{l:{m:{f=v[e+56>>2];b=f;if(b){while(1){d=b;b=b+1|0;if(w[d|0]){continue}break}b=0;d=d-f|0;if((d|0)<0){break l}b=Ub[v[259707]](d+1|0)|0;if(b){break m}b=0;oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break l}i=v[e+8>>2];b=i;if(!b){break k}while(1){d=b;b=b+1|0;if(w[d|0]){continue}break}b=d-i|0;if((b|0)<0){break k}f=Ub[v[259707]](b+1|0)|0;if(f){break j}oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);Jj(a,230764);break g}p=gc(b,f,d)+d|0,q=0,t[p|0]=q}f=po(po(b,322829),v[e+8>>2]);if(f){break i}}Jj(a,230764);break g}p=gc(f,i,b)+b|0,q=0,t[p|0]=q}n:{o:{if(!c){break o}i=0;b=v[c>>2];if(!b){break o}while(1){d=f;if((d|0)==(b|0)){break n}while(1){l=w[b|0];if((l|0)==w[d|0]){d=d+1|0;b=b+1|0;if(l){continue}break n}break}i=i+2|0;b=v[(i<<2)+c>>2];if(b){continue}break}}Xi(a,538,348671,f,v[e+60>>2])}Ub[v[259708]](f)}e=v[e+36>>2];if(e){continue}break}}e=v[g+44>>2]}if(e){while(1){p:{if(!v[e+48>>2]){break p}q:{r:{g=v[e+56>>2];if(g){b=235579;d=g;if((d|0)==235579){break q}while(1){f=w[d|0];if((f|0)!=w[b|0]){break r}b=b+1|0;d=d+1|0;if(f){continue}break}break q}b=v[e+8>>2];if((b|0)==235579){break q}d=235579;if(!b){break r}while(1){f=w[b|0];if((f|0)!=w[d|0]){break r}d=d+1|0;b=b+1|0;if(f){continue}break}break q}if(!(w[a+276|0]&4)){break p}}b=ko(v[v[a+8>>2]+44>>2],v[e+60>>2],v[e+8>>2],g);if(b?(b|0)!=(e|0):0){break p}s:{t:{b=v[e+8>>2];if(b){d=v[e+56>>2];if(!d){g=b;break s}g=h+32|0;l=Bc(b);f=Bc(d);i=l+f|0;if((i|0)<49){break t}g=Ub[v[259707]](i+2|0)|0;if(g){break t}v[h+16>>2]=280500;oc(0,0,0,0,0,2,2,3,280500,0,0,0,350051,h+16|0)}Jj(a,230764);break f}d=gc(g,d,f);f=d+f|0;t[f|0]=58;gc(f+1|0,b,l);t[(d+i|0)+1|0]=0}u:{v:{if(!c){break v}f=0;b=v[c>>2];if(!b){break v}while(1){d=g;if((d|0)==(b|0)){break u}while(1){i=w[b|0];if((i|0)==w[d|0]){d=d+1|0;b=b+1|0;if(i){continue}break u}break}f=f+2|0;b=v[(f<<2)+c>>2];if(b){continue}break}}_y(a,g,v[e+48>>2])}if((h+32|0)==(g|0)|v[e+8>>2]==(g|0)){break p}Ub[v[259708]](g)}e=v[e+36>>2];if(e){continue}break}}if(!n){break f}n=0;g=Hy(v[v[a+8>>2]+48>>2],m,o);if(g){continue}break}}w:{if(v[a+32>>2]|!c){break w}b=v[c>>2];if(!b){break w}e=v[c+4>>2];if(!e){break w}d=2;while(1){x:{if(w[b|0]!=120|w[b+1|0]!=109|(w[b+2|0]!=108|w[b+3|0]!=110)){break x}if(w[b+4|0]!=115){break x}_y(a,b,e)}g=d<<2;b=v[g+c>>2];if(!b){break w}d=d+2|0;e=v[(g|4)+c>>2];if(e){continue}break}}b=sk(v[a+8>>2],j,v[h+28>>2]);if(!(b|!k)){b=sk(v[a+8>>2],k,v[h+28>>2])}d=v[h+28>>2];y:{if(b|!d){break y}b=qk(j,0,d);d=v[h+28>>2];if(v[a+172>>2]==-1?v[a+212>>2]:0){break y}v[a+84>>2]=201;v[h+4>>2]=0;v[h>>2]=d;oc(0,0,0,a,0,3,201,1,d,0,0,0,353904,h)}z:{if(!b){break z}d=v[b+8>>2];if(!d|!(v[b+12>>2]?1:w[d|0])|v[j+4>>2]-1>>>0>1){break z}v[j+36>>2]=b}A:{if(!c){break A}d=v[c+4>>2];b=v[c>>2];if(v[a+32>>2]){if(!b){break A}e=2;while(1){_y(a,b,d);b=e<<2;d=v[(b|4)+c>>2];e=e+2|0;b=v[b+c>>2];if(b){continue}break}break A}if(!b|!d){break A}e=2;while(1){B:{if(!(w[b|0]!=120|w[b+1|0]!=109|(w[b+2|0]!=108|w[b+3|0]!=110))){if(w[b+4|0]==115){break B}}_y(a,b,d)}d=e<<2;b=v[d+c>>2];if(!b){break A}e=e+2|0;d=v[(d|4)+c>>2];if(d){continue}break}}a=v[h+28>>2];if(!a){break a}Ub[v[259708]](a)}Qb=h+96|0}function qMa(a,b){a=a|0;b=b|0;var 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,u=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;d=Qb-32|0;Qb=d;y=v[a+12>>2];i=v[a+8>>2];u=v[a+20>>2];j=v[a+16>>2];m=v[a+4>>2];v[d+24>>2]=v[a+24>>2];h=v[m+8>>2];g=v[m+56>>2];a:{if(!(!!g&j>>>0>>0)){e=0;break a}e=1}b:{c:{d:{while(1){e:{f:{g:{h:{if(!e){if(i>>>0>=y>>>0){break d}if(j>>>0>=u>>>0){break c}c=i+2|0;g=x[i>>1];i=c;if((g&63488)!=55296){break f}if(g&1024){break h}I=p;i=c;e=1;continue}if(i>>>0>=y>>>0){break e}c=x[i>>1];if((c&64512)==56320){break g}v[b>>2]=12;v[m+56>>2]=g;break b}v[b>>2]=12;v[m+56>>2]=g;i=c;break b}v[m+56>>2]=0;g=(c+(g<<10)|0)-56613888|0;p=I;i=i+2|0}i:{if((g|0)<=127){if(!(!(1<31)){v[b>>2]=12;v[m+56>>2]=g;break b}j:{if(!w[h+58|0]){t[d+16|0]=g;e=1;break j}t[d+17|0]=g;t[d+16|0]=15;n=0;t[h+58|0]=0;e=2}k:{switch(g-10|0){case 0:case 3:break k;default:break i}}n=0;t[h+54|0]=0;t[h+55|0]=0;t[h+56|0]=0;t[h+57|0]=0;t[h+58|0]=0;t[h+59|0]=0;break i}l:{if(n){break l}c=w[h+55|0];c=c?c:1;t[d+13|0]=c;m:{switch(v[h+64>>2]){case 0:if((c|0)==1){t[d+14|0]=33;n=2;break l}t[d+14|0]=1;n=2;break l;case 1:n:{switch((c<<24>>24)-1|0){case 0:t[d+14|0]=33;t[d+15|0]=2;n=3;break l;case 1:t[d+14|0]=1;t[d+15|0]=33;n=3;break l;default:break n}}t[d+14|0]=1;t[d+15|0]=2;n=3;break l;default:break m}}t[d+13|0]=33;t[d+14|0]=1;n=0}o:{p:{q:{if((n|0)<1){break q}A=g>>>10|0;C=g>>>4&63;z=g&15;D=1<<(z|16);s=w[m+35|0];E=(g|0)<65536;F=g-57344>>>0<6400;G=g-983040>>>0>131071;f=0;q=0;e=0;o=0;while(1){k=t[(d+13|0)+e|0];r:{if((k|0)<1){c=f;break r}s:{t:{if((k|0)>=32){u:{v:{k=v[h+12>>2];if(!(t[k+201|0]&1?1:E)){break v}c=v[k+52>>2];r=v[(x[c+(A<<1)>>1]+C<<2)+c>>2];c=v[k+188>>2]+B(r<<4&1048560|z,3)|0;l=w[c+1|0]<<8|w[c|0]<<16|w[c+2|0];c=l>>>0<256?1:l>>>0<65536?2:3;if(r&D){v[d+28>>2]=l;break u}if(!l|G&!(s|F)){break v}v[d+28>>2]=l;c=0-c|0;break t}c=v[k+224>>2];if(!c){c=f;break r}c=fs(c,g,d+28|0,s<<24>>24)}if((c|0)!=3){break t}o=2;break s}w:{x:{y:{z:{l=v[(k<<2)+h>>2];if(!(t[l+201|0]&1?1:E)){break z}c=v[l+52>>2];H=v[(x[c+(A<<1)>>1]+C<<2)+c>>2];r=x[v[l+188>>2]+((H<<4&1048560|z)<<1)>>1];c=r>>>0<256?1:2;if(D&H){v[d+28>>2]=r;break y}if(!r|G&!(s|F)){break z}v[d+28>>2]=r;c=0-c|0;break x}c=v[l+224>>2];if(!c){c=f;break r}c=fs(c,g,d+28|0,s<<24>>24)}l=2;if((c|0)==2){break w}}l=-2;if((c|0)!=-2){c=f;break r}c=f;if(o){break r}}c=1;s=0;p=v[d+28>>2];o=l;q=k;break r}if((c|0)!=-3){c=f;break r}if(o){c=f;break r}s=0;o=-2}c=1;q=33;A:{B:{p=v[d+28>>2];k=p>>>16|0;switch((k&255)-129|0){case 0:break r;case 1:break B;default:break A}}c=2;q=34;break r}c=f;f=v[h+64>>2]==1;c=f?3:c;o=f?o:0;q=k-96|0}e=e+1|0;if((n|0)>(e|0)){f=c;if((o|0)<1){continue}}break}if(!o){break q}e=0;o=c&255;k=o+h|0;if(w[k+54|0]!=(q&255)){f=q<<24>>24;C:{if((f|0)<=2){f=v[(f<<2)+855552>>2];v[d+16>>2]=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);break C}f=v[(f<<2)+855432>>2];v[d+16>>2]=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24)}t[k+54|0]=q;n=(c&255)==1?0:n;e=4}if((o|0)==t[h+58|0]){break o}D:{switch((c&255)-1|0){case 1:c=d+16|0;t[c+e|0]=27;t[c+(e|1)|0]=78;e=e|2;break o;case 0:break p;default:break D}}c=d+16|0;t[c+e|0]=27;t[c+(e|1)|0]=79;e=e|2;break o}v[b>>2]=10;v[m+56>>2]=g;break b}t[(d+16|0)+e|0]=14;t[h+58|0]=1;e=e|1}c=(d+16|0)+e|0;f=p<<8|(p&65280)>>>8;t[c|0]=f;t[c+1|0]=f>>>8;e=e+2|0}E:{F:{G:{switch(e-1|0){case 0:t[j|0]=w[d+16|0];j=j+1|0;c=v[d+24>>2];if(!c){break E}f=v[a+8>>2];v[d+24>>2]=c+4;v[c>>2]=(i-f>>1)-1;break E;case 1:break G;default:break F}}c=j+2|0;if(c>>>0>u>>>0){break F}t[j|0]=w[d+16|0];t[j+1|0]=w[d+17|0];f=v[d+24>>2];if(!f){j=c;break E}e=(i-v[a+8>>2]>>1)+(g>>>0<65536?-1:-2)|0;v[f>>2]=e;v[d+24>>2]=f+8;v[f+4>>2]=e;j=c;break E}c=v[a+8>>2];v[d+28>>2]=j;Fh(m,d+16|0,e,d+28|0,u,d+24|0,(i-c>>1)+(g>>>0<65536?-1:-2)|0,b);j=v[d+28>>2];if(v[b>>2]>=1){break b}}e=0;continue}break}v[m+56>>2]=g}if(!w[h+58|0]|v[b>>2]>0|(!w[a+2|0]|i>>>0>>0)){break b}if(v[m+56>>2]){break b}t[h+58|0]=0;f=v[a+8>>2];e=i-f|0;H:{if((e|0)<1){e=-1;break H}c=-1;p=e>>>1|0;e=p-1|0;if((x[f+(e<<1)>>1]&64512)!=56320){break H}if(e){c=p-2|0;if((x[f+(c<<1)>>1]&64512)!=55296){break H}}e=c}v[d+28>>2]=j;Fh(m,855364,1,d+28|0,u,d+24|0,e,b);j=v[d+28>>2];break b}v[b>>2]=15}v[a+16>>2]=j;v[a+8>>2]=i;Qb=d+32|0}function dma(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;d=Qb-48|0;Qb=d;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{e=v[c>>2];l:{if(e){if(w[v[e+12>>2]]==3){break k}v[a>>2]=0;v[a+4>>2]=v[282402];b=v[v[e>>2]+28>>2];v[299999]=0;U(b|0,d+40|0,e|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break l}b=P()|0;O()|0;break b}v[a>>2]=0;v[a+4>>2]=v[282402];v[d+40>>2]=0}v[299999]=0;Q(4344,a|0,d+40|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){b=v[d+40>>2];v[d+40>>2]=0;if(!b){break j}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;e=v[299999];v[299999]=0;if((e|0)!=1){if(c){break j}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break j}}break a}b=P()|0;O()|0;ec(d+40|0);break b}f=qO(e,346811,0);m:{if((f|0)>-1){break m}f=0;e=v[c>>2];if(!e){break m}f=v[e+8>>2]}v[d+40>>2]=0;e=v[282402];v[d+44>>2]=e;v[d+36>>2]=e;v[d+32>>2]=0;v[299999]=0;$(4568,d+24|0,c|0,0,f|0);e=v[299999];v[299999]=0;if((e|0)!=1){v[299999]=0;$(4962,b|0,d+24|0,d+40|0,d+32|0);e=v[299999];v[299999]=0;if((e|0)==1){break e}e=v[d+40>>2];n:{if(v[e+8>>2]?e:0){break n}v[299999]=0;e=Nc(d+24|0,289134,-1);g=v[299999];v[299999]=0;if((g|0)==1){break e}if(!e){v[299999]=0;Q(4433,d+40|0,984128)|0;e=v[299999];v[299999]=0;if((e|0)!=1){break n}break e}v[299999]=0;e=Nc(d+24|0,239351,-1);g=v[299999];v[299999]=0;if((g|0)==1){break e}if(!e){v[299999]=0;Q(4433,d+40|0,984192)|0;e=v[299999];v[299999]=0;if((e|0)==1){break e}break n}v[299999]=0;e=Nc(d+24|0,316464,-1);g=v[299999];v[299999]=0;if((g|0)==1){break e}if(e){break i}v[299999]=0;Q(4433,d+40|0,984224)|0;e=v[299999];v[299999]=0;if((e|0)==1){break e}}o:{p:{q:{r:{while(1){s:{t:{u:{h=v[c>>2];if(h){e=v[h+8>>2]}else{e=0}if(e>>>0>f>>>0){v[d+16>>2]=0;v[d+20>>2]=v[282402];i=f+1|0;v:{w:{x:{y:{if(f){e=f;g=e;z:{if((e|0)>-1){break z}g=f;if(!h){break z}g=v[h+8>>2]+f|0}e=g;g=e;if(!(!h|(e|0)<0)){f=v[h+8>>2];if((g|0)<=(f|0)){break x}}v[299999]=0;ba(4543);a=v[299999];v[299999]=0;if((a|0)==1){break y}L()}if(!h){f=0;break v}if(w[v[h+12>>2]]!=11){break w}f=v[h+8>>2];break u}f=P()|0;O()|0;break o}if(w[v[h+12>>2]+g|0]==11){break u}}v[299999]=0;f=Y(4963,h|0,358458,i|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break p}if((f|0)>-1){break v}e=v[c>>2];if(!e){f=0;break v}f=v[e+8>>2]}v[299999]=0;$(4568,d+8|0,c|0,i|0,f-i|0);e=v[299999];v[299999]=0;A:{if((e|0)!=1){v[299999]=0;Q(4535,d+16|0,d+8|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break A}ec(d+8|0);break t}f=P()|0;O()|0;break o}f=P()|0;O()|0;ec(d+8|0);break o}v[299999]=0;$(4964,b|0,d+40|0,0,d+32|0);b=v[299999];v[299999]=0;if((b|0)!=1){v[a>>2]=0;v[a+4>>2]=v[282402];b=v[d+40>>2];B:{if(b){c=v[v[b>>2]+28>>2];v[299999]=0;U(c|0,d+16|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break B}f=P()|0;O()|0;ec(a);break d}v[d+16>>2]=0}v[299999]=0;Q(4344,a|0,d+16|0)|0;b=v[299999];v[299999]=0;C:{if((b|0)!=1){b=v[d+16>>2];v[d+16>>2]=0;if(!b){break C}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;e=v[299999];v[299999]=0;if((e|0)!=1){if(c){break C}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break C}}break a}f=P()|0;O()|0;ec(d+16|0);ec(a);break d}b=a;a=v[a>>2];v[b+4>>2]=v[(a?a+12|0:1129608)>>2];break h}f=P()|0;O()|0;break d}v[299999]=0;$(4568,d|0,c|0,i|0,f|0);e=v[299999];v[299999]=0;if((e|0)==1){break s}v[299999]=0;U(4961,d+8|0,b|0,d|0);e=v[299999];v[299999]=0;if((e|0)==1){break r}v[299999]=0;Q(4535,d+16|0,d+8|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break q}ec(d+8|0);ec(d)}v[299999]=0;j=j+1|0;$(4964,b|0,d+40|0,j|0,d+16|0);e=v[299999];v[299999]=0;if((e|0)==1){break p}ec(d+16|0);continue}break}f=P()|0;O()|0;break o}f=P()|0;O()|0;ec(d);break o}f=P()|0;O()|0;ec(d+8|0);ec(d);break o}f=P()|0;O()|0}ec(d+16|0);break d}f=P()|0;O()|0;break c}b=a;a=v[a>>2];v[b+4>>2]=v[(a?a+12|0:1129608)>>2];break f}v[299999]=0;U(4423,d+8|0,358459,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break g}v[299999]=0;U(4423,d+16|0,289134,d+8|0);c=v[299999];v[299999]=0;D:{E:{if((c|0)!=1){v[299999]=0;U(4961,a|0,b|0,d+16|0);a=v[299999];v[299999]=0;if((a|0)==1){break E}ec(d+16|0);ec(d+8|0);break h}f=P()|0;O()|0;break D}f=P()|0;O()|0;ec(d+16|0)}ec(d+8|0);break d}ec(d+24|0);ec(d+32|0);ec(d+40|0);break f}f=P()|0;O()|0;break d}Qb=d+48|0;return}f=P()|0;O()|0}ec(d+24|0)}ec(d+32|0);ec(d+40|0);T(f|0);L()}ec(a);T(b|0);L()}W(0)|0;O()|0;lc();L()}function MW(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0,y=0,z=0,B=0,C=0,E=0,F=0;n=Qb-16|0;Qb=n;a:{if(j>>>0>32){break a}while(1){x=(e+g)*.5;y=(d+f)*.5;b:{c:{d:{e:{f:{k=i-c;m=h-b;l=k*(d-h)-m*(e-i);B=D(l);t=f-h;u=g-i;z=k*t-m*u;C=D(z);switch(((B>1e-30)<<1|C>1e-30)-1|0){case 2:break c;case 1:break d;case 0:break e;default:break f}}l=m*m+k*k;g:{if(l==0){k=d-b;l=k*k;k=e-c;l=l+k*k;k=t*t+u*u;break g}l=1/l;t=l*(m*(f-b)+k*(g-c));l=l*(m*(d-b)+k*(e-c));if(!(!(t>0)|(!(l>0)|!(l<1)))){if(t<1){break a}}h:{if(l<=0){l=b-d;u=l*l;l=c-e;l=u+l*l;break h}if(l>=1){l=h-d;u=l*l;l=i-e;l=u+l*l;break h}u=b+m*l-d;l=c+k*l-e;l=u*u+l*l}if(t<=0){k=b-f;m=k*k;k=c-g;k=m+k*k;break g}if(t>=1){k=h-f;m=k*k;k=i-g;k=m+k*k;break g}m=b+m*t-f;k=c+k*t-g;k=m*m+k*k}m=A[a+8>>3];if(k>2];r=v[a+36>>2];q=r>>>6|0;if(p>>>0<=q>>>0){j=v[a+44>>2];i:{if(j>>>0>q>>>0){j=v[a+48>>2];break i}o=j+v[a+52>>2]|0;j=fc((o|0)!=(o&1073741823)?-1:o<<2);w=a;s=v[a+48>>2];if(s){gc(j,s,p<<2);dc(s);r=v[a+36>>2];p=v[a+40>>2];o=v[a+44>>2]+v[a+52>>2]|0}v[w+44>>2]=o;v[a+48>>2]=j}E=(q<<2)+j|0,F=fc(1024),v[E>>2]=F;v[a+40>>2]=p+1}j=v[v[a+48>>2]+(q<<2)>>2]+((r&63)<<4)|0;A[j+8>>3]=e;A[j>>3]=d;v[a+36>>2]=v[a+36>>2]+1;break a}if(!(k>2];r=v[a+36>>2];q=r>>>6|0;if(p>>>0<=q>>>0){j=v[a+44>>2];j:{if(j>>>0>q>>>0){j=v[a+48>>2];break j}o=j+v[a+52>>2]|0;j=fc((o|0)!=(o&1073741823)?-1:o<<2);w=a;s=v[a+48>>2];if(s){gc(j,s,p<<2);dc(s);r=v[a+36>>2];p=v[a+40>>2];o=v[a+44>>2]+v[a+52>>2]|0}v[w+44>>2]=o;v[a+48>>2]=j}E=(q<<2)+j|0,F=fc(1024),v[E>>2]=F;v[a+40>>2]=p+1}j=v[v[a+48>>2]+(q<<2)>>2]+((r&63)<<4)|0;A[j+8>>3]=g;A[j>>3]=f;v[a+36>>2]=v[a+36>>2]+1;break a}if(!(z*z<=(m*m+k*k)*A[a+8>>3])){break b}k=A[a+16>>3];if(k<.01){p=v[a+40>>2];r=v[a+36>>2];q=r>>>6|0;if(p>>>0<=q>>>0){j=v[a+44>>2];k:{if(j>>>0>q>>>0){j=v[a+48>>2];break k}o=j+v[a+52>>2]|0;j=fc((o|0)!=(o&1073741823)?-1:o<<2);w=a;s=v[a+48>>2];if(s){gc(j,s,p<<2);dc(s);r=v[a+36>>2];p=v[a+40>>2];o=v[a+44>>2]+v[a+52>>2]|0}v[w+44>>2]=o;v[a+48>>2]=j}E=(q<<2)+j|0,F=fc(1024),v[E>>2]=F;v[a+40>>2]=p+1}j=v[v[a+48>>2]+(q<<2)>>2]+((r&63)<<4)|0;A[j+8>>3]=x;A[j>>3]=y;v[a+36>>2]=v[a+36>>2]+1;break a}l=k;k=D(Ff(i-g,h-f)-Ff(g-e,f-d));k=k>=3.141592653589793?6.283185307179586-k:k;if(l>k){A[n+8>>3]=e;A[n>>3]=d;a=a+36|0;en(a,n);A[n+8>>3]=g;A[n>>3]=f;en(a,n);break a}l=A[a+24>>3];if(l==0|!(k>l)){break b}A[n+8>>3]=g;A[n>>3]=f;en(a+36|0,n);break a}if(!(l*l<=(m*m+k*k)*A[a+8>>3])){break b}k=A[a+16>>3];if(k<.01){p=v[a+40>>2];r=v[a+36>>2];q=r>>>6|0;if(p>>>0<=q>>>0){j=v[a+44>>2];l:{if(j>>>0>q>>>0){j=v[a+48>>2];break l}o=j+v[a+52>>2]|0;j=fc((o|0)!=(o&1073741823)?-1:o<<2);w=a;s=v[a+48>>2];if(s){gc(j,s,p<<2);dc(s);r=v[a+36>>2];p=v[a+40>>2];o=v[a+44>>2]+v[a+52>>2]|0}v[w+44>>2]=o;v[a+48>>2]=j}E=(q<<2)+j|0,F=fc(1024),v[E>>2]=F;v[a+40>>2]=p+1}j=v[v[a+48>>2]+(q<<2)>>2]+((r&63)<<4)|0;A[j+8>>3]=x;A[j>>3]=y;v[a+36>>2]=v[a+36>>2]+1;break a}l=k;k=D(Ff(g-e,f-d)-Ff(e-c,d-b));k=k>=3.141592653589793?6.283185307179586-k:k;if(l>k){A[n+8>>3]=e;A[n>>3]=d;a=a+36|0;en(a,n);A[n+8>>3]=g;A[n>>3]=f;en(a,n);break a}l=A[a+24>>3];if(l==0|!(k>l)){break b}A[n+8>>3]=e;A[n>>3]=d;en(a+36|0,n);break a}l=B+C;if(!(l*l<=(m*m+k*k)*A[a+8>>3])){break b}l=A[a+16>>3];if(l<.01){p=v[a+40>>2];r=v[a+36>>2];q=r>>>6|0;if(p>>>0<=q>>>0){j=v[a+44>>2];m:{if(j>>>0>q>>>0){j=v[a+48>>2];break m}o=j+v[a+52>>2]|0;j=fc((o|0)!=(o&1073741823)?-1:o<<2);w=a;s=v[a+48>>2];if(s){gc(j,s,p<<2);dc(s);r=v[a+36>>2];p=v[a+40>>2];o=v[a+44>>2]+v[a+52>>2]|0}v[w+44>>2]=o;v[a+48>>2]=j}E=(q<<2)+j|0,F=fc(1024),v[E>>2]=F;v[a+40>>2]=p+1}j=v[v[a+48>>2]+(q<<2)>>2]+((r&63)<<4)|0;A[j+8>>3]=x;A[j>>3]=y;v[a+36>>2]=v[a+36>>2]+1;break a}m=Ff(g-e,f-d);k=D(m-Ff(e-c,d-b));t=k>=3.141592653589793?6.283185307179586-k:k;k=D(Ff(i-g,h-f)-m);m=k>=3.141592653589793?6.283185307179586-k:k;if(l>t+m){A[n+8>>3]=x;A[n>>3]=y;en(a+36|0,n);break a}k=A[a+24>>3];if(k==0){break b}if(k>3]=e;A[n>>3]=d;en(a+36|0,n);break a}if(!(k>3]=g;A[n>>3]=f;en(a+36|0,n);break a}k=(b+d)*.5;d=(k+y)*.5;l=(c+e)*.5;e=(l+x)*.5;u=b;z=c;m=d;t=e;f=(f+h)*.5;d=(y+f)*.5;b=(m+d)*.5;g=(g+i)*.5;e=(x+g)*.5;c=(t+e)*.5;j=j+1|0;MW(a,u,z,k,l,m,t,b,c,j);if((j|0)!=33){continue}break}}Qb=n+16|0}function oc(a,b,c,d,e,f,g,h,i,j,k,l,m,n){var o=0,p=0,q=0,r=0,s=0,u=0,y=0,z=0,A=0,B=0;y=Qb-16|0;Qb=y;a:{if(!g|!v[259807]&(h|0)==1){break a}b:{c:{d:{if(!(1<>>0>23){break d}if(a){q=d;break d}q=d;if(!q){break d}a=v[d>>2];if(!a|v[a+108>>2]!=-554844497){break c}a=v[a+124>>2];if(!a){break c}c=v[d+4>>2];break b}if(a){break b}}a=v[294241];c=a?v[294240]:c}e:{if(!m){m=Ub[v[259707]](26)|0;if(!m){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break e}t[m+24|0]=w[292031];n=w[292027]|w[292028]<<8|(w[292029]<<16|w[292030]<<24);o=w[292023]|w[292024]<<8|(w[292025]<<16|w[292026]<<24);t[m+16|0]=o;t[m+17|0]=o>>>8;t[m+18|0]=o>>>16;t[m+19|0]=o>>>24;t[m+20|0]=n;t[m+21|0]=n>>>8;t[m+22|0]=n>>>16;t[m+23|0]=n>>>24;n=w[292019]|w[292020]<<8|(w[292021]<<16|w[292022]<<24);o=w[292015]|w[292016]<<8|(w[292017]<<16|w[292018]<<24);t[m+8|0]=o;t[m+9|0]=o>>>8;t[m+10|0]=o>>>16;t[m+11|0]=o>>>24;t[m+12|0]=n;t[m+13|0]=n>>>8;t[m+14|0]=n>>>16;t[m+15|0]=n>>>24;n=w[292011]|w[292012]<<8|(w[292013]<<16|w[292014]<<24);o=w[292007]|w[292008]<<8|(w[292009]<<16|w[292010]<<24);t[m|0]=o;t[m+1|0]=o>>>8;t[m+2|0]=o>>>16;t[m+3|0]=o>>>24;t[m+4|0]=n;t[m+5|0]=n>>>8;t[m+6|0]=n>>>16;t[m+7|0]=n>>>24;t[m+25|0]=0;r=m;break e}o=150;p=Ub[v[259704]](150)|0;if(!p){break e}z=-1;while(1){r=p;if((o|0)>63999){break e}v[y+12>>2]=n;p=Jl(r,o,m,n);if(!((p|0)<0|(o|0)<=(p|0))){A=(p|0)==(z|0);z=p;if(A){break e}}o=((p|0)>-1?p+1|0:100)+o|0;p=Ub[v[259709]](r,o)|0;if(p){continue}break}}f:{if(q){o=v[q+36>>2];g:{if(!o){break g}s=v[o+4>>2];h:{if(s){break h}s=0;m=v[q+40>>2];if((m|0)<2){break h}o=v[(v[q+48>>2]+(m<<2)|0)-8>>2];if(!o){break g}s=v[o+4>>2]}B=v[o+32>>2];u=v[o+28>>2]}n=q+384|0;m=0;break f}m=0;n=1176968;if(!e){break f}o=v[e+32>>2];if(o){m=v[o+72>>2]?e:0}o=0;while(1){i:{if(v[e+4>>2]==1){p=1;break i}e=v[e+20>>2];p=(e|0)!=0;if(o>>>0>8){break i}o=o+1|0;if(e){continue}}break}j:{if(!p|m){break j}m=v[e+32>>2];if(!m){m=0;break j}m=v[m+72>>2]?e:0}u=!p|v[e+4>>2]!=1?u:x[e+56>>1];if(u?(u|0)!=65535:0){break f}u=Qu(e,0)}if(v[n+4>>2]){o=v[n+8>>2];if(o){Ub[v[259708]](o)}o=v[n+16>>2];if(o){Ub[v[259708]](o)}o=v[n+24>>2];if(o){Ub[v[259708]](o)}o=v[n+28>>2];if(o){Ub[v[259708]](o)}o=v[n+32>>2];if(o){Ub[v[259708]](o)}v[n>>2]=0;v[n+4>>2]=0;v[n+48>>2]=0;v[n+40>>2]=0;v[n+44>>2]=0;v[n+32>>2]=0;v[n+36>>2]=0;v[n+24>>2]=0;v[n+28>>2]=0;v[n+16>>2]=0;v[n+20>>2]=0;v[n+8>>2]=0;v[n+12>>2]=0}v[n+12>>2]=h;v[n+8>>2]=r;v[n+4>>2]=g;v[n>>2]=f;k:{if(s){o=s;while(1){f=o;o=o+1|0;if(w[f|0]){continue}break}m=0;f=f-s|0;if((f|0)>=0){g=Ub[v[259707]](f+1|0)|0;if(!g){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);v[n+16>>2]=0;break k}m=gc(g,s,f);t[f+m|0]=0}v[n+16>>2]=m;break k}if(!m){break k}l:{f=v[v[m+32>>2]+72>>2];m:{if(!f){break m}o=f;while(1){g=o;o=o+1|0;if(w[g|0]){continue}break}g=g-f|0;if((g|0)<0){break m}m=Ub[v[259707]](g+1|0)|0;if(m){break l}oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0)}v[n+16>>2]=0;if(!e){break k}f=v[e+32>>2];if(!f){break k}m=n;f=v[f+72>>2];if(f){o=f;while(1){g=o;o=o+1|0;if(w[g|0]){continue}break}f=rk(f,g-f|0)}else{f=0}v[m+16>>2]=f;break k}f=gc(m,f,g);t[f+g|0]=0;v[n+16>>2]=f}v[n+20>>2]=u;if(i){o=i;while(1){f=o;o=o+1|0;if(w[f|0]){continue}break}o=0;f=f-i|0;n:{if((f|0)<0){break n}g=Ub[v[259707]](f+1|0)|0;if(!g){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break n}o=gc(g,i,f);t[f+o|0]=0}v[n+24>>2]=o}if(j){o=j;while(1){f=o;o=o+1|0;if(w[f|0]){continue}break}o=0;f=f-j|0;o:{if((f|0)<0){break o}g=Ub[v[259707]](f+1|0)|0;if(!g){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break o}o=gc(g,j,f);t[f+o|0]=0}v[n+28>>2]=o}if(k){o=k;while(1){f=o;o=o+1|0;if(w[f|0]){continue}break}o=0;f=f-k|0;p:{if((f|0)<0){break p}g=Ub[v[259707]](f+1|0)|0;if(!g){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break p}o=gc(g,k,f);t[f+o|0]=0}v[n+32>>2]=o}v[n+48>>2]=e;v[n+40>>2]=B;v[n+36>>2]=l;v[n+44>>2]=d;if((n|0)!=1176968){ZF(n,1176968)}if(a){Ub[a|0](c,n);break a}q:{r:{s:{if(v[294241]|(b|!q)){break s}a=v[q>>2];if(!a){break s}b=v[a+((h|0)==1?84:88)>>2];c=v[q+4>>2];break r}if(b){break q}b=v[259806];c=q;if(q){break r}c=v[294239]}if(!b){break a}}t:{u:{switch(b-2960|0){default:if((b|0)!=2963){break t}break;case 0:case 1:case 2:break u}}pV(n,q,r,0,0);break a}if(!((b|0)!=2964&(b|0)!=2965)){pV(n,q,r,b,c);break a}v[y>>2]=r;Ub[b|0](c,237306,y)}Qb=y+16|0}function a6a(a){a=a|0;var 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,y=0,z=0,A=0;g=Qb-311760|0;Qb=g;v[289141]=0;v[289140]=0;v[289139]=0;ic(g- -64|0,128,311696);r=v[252391];f=x[a+26308>>1];a:{if(!f){f=0;break a}m=x[a+26310>>1];l=2;while(1){k=l;l=k+1|0;j=k&1;c=j|2;b:{if(c>>>0>=(m&65535)+2>>>0){b=c;break b}s=!j|(g- -64|0)+B(l,644);p=k-1|0;if(q){b=g- -64|0;n=b+B(k,644)|0;i=n|c;h=j|n;p=b+B(p,644)|0;e=j|p;y=e;b=w[h|0]+((w[e+3|0]<<1)+w[e+1|0]|0)>>>2|0;d=(b>>>0>89?b:89)-89|0;t[i|0]=d;t[s|0]=d;t[h|0]=d;o=(k|0)!=2;if(!o){t[e+5|0]=d;t[y+3|0]=d}b=j|4;j=m&65535;if(j>>>0<=c>>>0){break b}d=w[i|0];c=w[y+3|0];while(1){e=c&255;i=b+p|0;h=i;c=w[h+1|0];e=(e+(c<<1)|0)+(d&255)>>>2|0;d=(e>>>0>89?e:89)-89|0;t[b+n|0]=d;if(!o){t[i+3|0]=d;t[h+1|0]=d;c=d}h=b>>>0>>0;e=b+2|0;b=e;if(h){continue}break}b=e;break b}while(1){b=g- -64|0;j=(b+B(k,644)|0)+c|0;o=j-2|0;n=(b+B(p,644)|0)+c|0;i=n;h=w[o|0]+(w[i-1|0]+(w[i+1|0]<<1)|0)>>>2|0;b=0;c:{if(q){break c}f=v[289140];d:{if((f|0)>=4){d=v[289139];break d}while(1){e:{f:{d=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;g:{if((d|0)==-1){if(!v[a+26160>>2]){v[g+48>>2]=v[a+25208>>2];wc(r,8292,g+48|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,r);v[a+26160>>2]=1;break g}b=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[g+32>>2]=b;v[g+36>>2]=b>>31;wc(r,14622,g+32|0)}v[a+26160>>2]=1;break g}if(!v[a+26144>>2]){break g}if((d|0)==255){break f}}v[289141]=0;break e}b=0;e=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[289141]=(e|0)!=0;if(!e){break e}z=1;q=1;break c}z=0;b=v[289140];f=b+8|0;v[289140]=f;d=d&255|v[289139]<<8;v[289139]=d;if((b|0)<-4){continue}break}}q=0;v[289140]=f-4;b=d<<32-f>>>28|0}b=h+u[(b<<1)+196272>>1]|0;b=(b|0)<255?b:255;d=(b|0)>0?b:0;t[j|0]=d;if(c>>>0<=3){t[s|0]=d;t[o|0]=d}if((k|0)==2){t[n+3|0]=d;t[i+1|0]=d}m=x[a+26310>>1];e=m>>>0>c>>>0;b=c+2|0;c=b;if(e){continue}break}f=x[a+26308>>1]}t[((g- -64|0)+B(k,644)|0)+b|0]=d;if((f&65535)+2>>>0>l>>>0){continue}break}}k=1;i=0;while(1){if((f&65535)>>>0>i>>>0){l=i^3;b=x[a+26310>>1];while(1){h=i;i=h+2|0;A=i;if(l>>>0<(b&65535)+2>>>0){p=h+4|0;f=l;while(1){b=(g- -64|0)+B(h,644)|0;o=b+f|0;q=w[o|0];h:{if(!(f>>>0>3&h>>>0>=2)){m=f-2|0;b=w[m+((g- -64|0)+B(i,644)|0)|0];e=2;break h}m=f-2|0;c=w[b+m|0];j=q-c|0;y=j>>31;b=w[((g- -64|0)+B(i,644)|0)+m|0];d=q-b|0;s=d>>31;c=b-c|0;n=c>>31;c=((y^j+y)+(s^d+s)|0)+(n^c+n)|0;e=0;if(c>>>0<4){break h}e=1;if(c>>>0<8){break h}e=2;if(c>>>0<16){break h}e=3;if(c>>>0<32){break h}e=c>>>0<48?4:5}j=b+q>>>1|0;b=0;i:{if(z){break i}c=v[289140];j:{if((c|0)>=2){d=v[289139];break j}while(1){k:{l:{d=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;m:{if((d|0)==-1){if(!v[a+26160>>2]){v[g+16>>2]=v[a+25208>>2];wc(r,8292,g+16|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,r);v[a+26160>>2]=1;break m}b=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[g>>2]=b;v[g+4>>2]=b>>31;wc(r,14622,g)}v[a+26160>>2]=1;break m}if(!v[a+26144>>2]){break m}if((d|0)==255){break l}}v[289141]=0;break k}b=0;c=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[289141]=(c|0)!=0;if(!c){break k}z=1;break i}b=v[289140];c=b+8|0;v[289140]=c;d=d&255|v[289139]<<8;v[289139]=d;if((b|0)<-6){continue}break}}z=0;v[289140]=c-2;b=d<<32-c>>>30|0}b=j+u[(e<<3|b<<1)+196304>>1]|0;b=(b|0)<255?b:255;b=(b|0)>0?b:0;t[((g- -64|0)+B(i,644)|0)+f|0]=b;if(h>>>0<=1){t[o+2|0]=b}if(f>>>0<=3){t[((g- -64|0)+B(p,644)|0)+m|0]=b}b=x[a+26310>>1];c=f>>>0>>0;f=f+2|0;if(c){continue}break}f=x[a+26308>>1]}if(A>>>0<(f&65535)>>>0){continue}break}}i=1;b=k;k=0;if(b){continue}break}b=f&65535;n:{if(!b){break n}k=b+1|0;l=x[a+26310>>1];e=l+2|0;c=2;while(1){d=c&1^3;if(e>>>0>d>>>0){while(1){h=((g- -64|0)+B(c,644)|0)+d|0;b=w[h+1|0]+(w[h-1|0]+(w[h|0]<<2)|0)>>>1|0;b=b>>>0<511?b:511;t[h|0]=(b|0)>256?b:256;b=d>>>0>>0;d=d+2|0;if(b){continue}break}}b=(c|0)==(k|0);c=c+1|0;if(!b){continue}break}if(!(f&65535)){break n}b=x[a+26310>>1];c=0;while(1){e=b&65535;b=0;if(e){h=c+2|0;k=c<<1&14;l=v[a+26028>>2];e=v[a+26352>>2];d=0;while(1){b=x[a+26316>>1];u[(e+(B(x[a+26320>>1],c>>>b|0)+(d>>>b|0)<<3)|0)+((l>>>((k|d&1)<<1)&3)<<1)>>1]=x[(w[((B(h,644)+g|0)+d|0)+66|0]<<1)+196352>>1];b=x[a+26310>>1];d=d+1|0;if(b>>>0>d>>>0){continue}break}f=x[a+26308>>1]}c=c+1|0;if(c>>>0<(f&65535)>>>0){continue}break}}v[a+26124>>2]=1023;Qb=g+311760|0}function Via(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,p=0,q=0,r=0,s=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,Q=0,S=0,U=0,V=0,W=0,X=0,Y=0,Z=0;r=Qb-80|0;Qb=r;I=x[b+8>>1];y=B(I,3)+3>>>2|0;G=x[b+10>>1];p=B(G,3)+3>>>2|0;a:{if(c){b:{A=v[c>>2];c:{if((A|0)<0){break c}l=v[c+4>>2];if((l|0)<0){break c}q=v[c+8>>2];if((q|0)>(p|0)){break c}c=v[c+12>>2];if((c|0)<=(y|0)){break b}}a=vc(r+32|0,326368,241480,1169,341063,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}b=P()|0;O()|0;qc(a);T(b|0);L()}y=c-l|0;p=q-A|0}c=v[a+20>>2];if(c){dc(c)}v[a+16>>2]=0;v[a+20>>2]=0;u[a+12>>1]=p;u[a+10>>1]=p;u[a+8>>1]=y;c=0;z=p&65535;n=y&65535;q=B(z,n);if(q){c=fc((X=-1,Y=Bib(q,0,3,0),Z=Tb,Z?X:Y));v[a+16>>2]=c;v[a+20>>2]=c}q=(A>>>0)/3|0;s=(l>>>0)/3|0;a=B(s,-3)+l|0;o=0-((a|0)<0?a+3|0:a)|0;d:{if((y|0)<=(o|0)){break d}l=B(q,-3)+A|0;A=0-((l|0)<0?l+3|0:l)|0;if((A|0)>=(p|0)){break d}q=q+(l>>31)<<2;C=s+(a>>31)<<2;D=x[b+12>>1];J=B(B(C,D),3)+(x[b+8>>1]?v[b+16>>2]:0)|0;s=B(B(o,z),3)+(n?c:0)|0;V=B(D<<2,3);W=B(z,9);while(1){c=o>>>0>4294967293?o:-3;a=0-c&o>>31;b=y-o|0;K=(a|0)<(b|0)&a>>>0<3;M=!a&(b|0)>(a+2|0);N=a>>>0<2&(b|0)>(a+1|0);a=B(c^-1,3)+3|0;H=(o|0)<0;n=H?B(a,3)+r|0:r;E=n+18|0;F=n+9|0;Q=I-C|0;S=0-C|0;C=C+4|0;o=o+3|0;U=B(a,z);a=A;l=q;while(1){c=l;l=c+4|0;f=(G|0)<(l|0)|(C|0)>(I|0);b=a;a=b+3|0;i=B(c,3)+J|0;m=(b|0)<0;e:{if(!(H|m|((a|0)>(p|0)|(o|0)>(y|0)))){if(!f){kx(i,D,B(b,3)+s|0,z);break e}d=0-c|0;e=G-c|0;c=r+32|0;HO(i,D,d,e,S,Q,c);kx(c,4,B(b,3)+s|0,z);break e}f:{g:{h:{i:{if(!f){kx(i,D,r,3);if(!K){break e}c=0-b|0;c=(c|0)>0?c:0;if(c>>>0>2){break e}i=p-b|0;if((i|0)<=(c|0)){break e}b=B(b,3)+s|0;g=H?b+U|0:b;f=B(c,3);b=g+f|0;h=f+n|0;e=w[h|0]|w[h+1|0]<<8;t[b|0]=e;t[b+1|0]=e>>>8;t[b+2|0]=w[h+2|0];b=c+1|0;h=c>>>0>1;if(h){break f}if((b|0)<(i|0)){break i}break f}d=0-c|0;e=G-c|0;c=r+32|0;HO(i,D,d,e,S,Q,c);kx(c,4,r,3);if(!K){break e}c=0-b|0;c=(c|0)>0?c:0;if(c>>>0>2){break e}i=p-b|0;if((i|0)<=(c|0)){break e}b=B(b,3)+s|0;g=H?b+U|0:b;f=B(c,3);b=g+f|0;h=f+n|0;e=w[h|0]|w[h+1|0]<<8;t[b|0]=e;t[b+1|0]=e>>>8;t[b+2|0]=w[h+2|0];b=c+1|0;h=c>>>0>1;if(h){break g}if((b|0)<(i|0)){break h}break g}d=B(b,3);e=d+g|0;d=d+n|0;j=w[d|0]|w[d+1|0]<<8;t[e|0]=j;t[e+1|0]=j>>>8;t[e+2|0]=w[d+2|0];if(m){break f}e=c+2|0;if((e|0)>=(i|0)){break f}d=B(e,3);e=d+g|0;d=d+n|0;j=w[d|0]|w[d+1|0]<<8;t[e|0]=j;t[e+1|0]=j>>>8;t[e+2|0]=w[d+2|0];break f}d=B(b,3);e=d+g|0;d=d+n|0;j=w[d|0]|w[d+1|0]<<8;t[e|0]=j;t[e+1|0]=j>>>8;t[e+2|0]=w[d+2|0];if(m){break g}e=c+2|0;if((e|0)>=(i|0)){break g}d=B(e,3);e=d+g|0;d=d+n|0;j=w[d|0]|w[d+1|0]<<8;t[e|0]=j;t[e+1|0]=j>>>8;t[e+2|0]=w[d+2|0]}if(!N){break e}j=B(z,3);g=j+g|0;e=g+f|0;d=f+F|0;k=w[d|0]|w[d+1|0]<<8;t[e|0]=k;t[e+1|0]=k>>>8;t[e+2|0]=w[d+2|0];j:{if((b|0)>=(i|0)|h){break j}d=B(b,3);e=d+g|0;d=d+F|0;k=w[d|0]|w[d+1|0]<<8;t[e|0]=k;t[e+1|0]=k>>>8;t[e+2|0]=w[d+2|0];if(m){break j}e=c+2|0;if((e|0)>=(i|0)){break j}d=B(e,3);e=d+g|0;d=d+F|0;k=w[d|0]|w[d+1|0]<<8;t[e|0]=k;t[e+1|0]=k>>>8;t[e+2|0]=w[d+2|0]}if(!M){break e}g=g+j|0;e=g+f|0;f=f+E|0;d=w[f|0]|w[f+1|0]<<8;t[e|0]=d;t[e+1|0]=d>>>8;t[e+2|0]=w[f+2|0];if((b|0)>=(i|0)|h){break e}f=B(b,3);b=f+g|0;f=f+E|0;h=w[f|0]|w[f+1|0]<<8;t[b|0]=h;t[b+1|0]=h>>>8;t[b+2|0]=w[f+2|0];if(m){break e}b=c+2|0;if((b|0)>=(i|0)){break e}c=B(b,3);b=c+g|0;c=c+E|0;m=w[c|0]|w[c+1|0]<<8;t[b|0]=m;t[b+1|0]=m>>>8;t[b+2|0]=w[c+2|0];break e}if(!N){break e}j=B(z,3);g=j+g|0;e=g+f|0;d=f+F|0;k=w[d|0]|w[d+1|0]<<8;t[e|0]=k;t[e+1|0]=k>>>8;t[e+2|0]=w[d+2|0];k:{if((b|0)>=(i|0)|h){break k}d=B(b,3);e=d+g|0;d=d+F|0;k=w[d|0]|w[d+1|0]<<8;t[e|0]=k;t[e+1|0]=k>>>8;t[e+2|0]=w[d+2|0];if(m){break k}e=c+2|0;if((e|0)>=(i|0)){break k}d=B(e,3);e=d+g|0;d=d+F|0;k=w[d|0]|w[d+1|0]<<8;t[e|0]=k;t[e+1|0]=k>>>8;t[e+2|0]=w[d+2|0]}if(!M){break e}g=g+j|0;e=g+f|0;f=f+E|0;d=w[f|0]|w[f+1|0]<<8;t[e|0]=d;t[e+1|0]=d>>>8;t[e+2|0]=w[f+2|0];if((b|0)>=(i|0)|h){break e}f=B(b,3);b=f+g|0;f=f+E|0;h=w[f|0]|w[f+1|0]<<8;t[b|0]=h;t[b+1|0]=h>>>8;t[b+2|0]=w[f+2|0];if(m){break e}b=c+2|0;if((b|0)>=(i|0)){break e}c=B(b,3);b=c+g|0;c=c+E|0;m=w[c|0]|w[c+1|0]<<8;t[b|0]=m;t[b+1|0]=m>>>8;t[b+2|0]=w[c+2|0]}if((a|0)<(p|0)){continue}break}J=J+V|0;s=s+W|0;if((o|0)<(y|0)){continue}break}}Qb=r+80|0;return}L()}function $Da(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,p=0;a=ic(a,0,256);d=v[b>>2]+c|0;f=w[d+3|0];g=w[d|0];e=f+g|0;h=w[d+2|0];d=w[d+1|0];i=h+d|0;v[a+8>>2]=e-i<<3;v[a>>2]=(e+i<<3)-4096;e=d-h|0;f=g-f|0;d=B(e+f|0,4433)+512|0;v[a+12>>2]=d+B(e,-15137)>>10;v[a+4>>2]=d+B(f,6270)>>10;d=v[b+4>>2]+c|0;f=w[d+3|0];g=w[d|0];e=f+g|0;h=w[d+2|0];d=w[d+1|0];i=h+d|0;v[a+40>>2]=e-i<<3;v[a+32>>2]=(e+i<<3)-4096;e=d-h|0;f=g-f|0;d=B(e+f|0,4433)+512|0;v[a+44>>2]=d+B(e,-15137)>>10;v[a+36>>2]=d+B(f,6270)>>10;d=v[b+8>>2]+c|0;f=w[d+3|0];g=w[d|0];e=f+g|0;h=w[d+2|0];d=w[d+1|0];i=h+d|0;v[a+72>>2]=e-i<<3;v[a+64>>2]=(e+i<<3)-4096;e=d-h|0;f=g-f|0;d=B(e+f|0,4433)+512|0;v[a+76>>2]=d+B(e,-15137)>>10;v[a+68>>2]=d+B(f,6270)>>10;d=v[b+12>>2]+c|0;f=w[d+3|0];g=w[d|0];e=f+g|0;h=w[d+2|0];d=w[d+1|0];i=h+d|0;v[a+104>>2]=e-i<<3;v[a+96>>2]=(e+i<<3)-4096;e=d-h|0;f=g-f|0;d=B(e+f|0,4433)+512|0;v[a+108>>2]=d+B(e,-15137)>>10;v[a+100>>2]=d+B(f,6270)>>10;d=v[b+16>>2]+c|0;f=w[d+3|0];g=w[d|0];e=f+g|0;h=w[d+2|0];d=w[d+1|0];i=h+d|0;v[a+136>>2]=e-i<<3;v[a+128>>2]=(e+i<<3)-4096;e=d-h|0;f=g-f|0;d=B(e+f|0,4433)+512|0;v[a+140>>2]=d+B(e,-15137)>>10;v[a+132>>2]=d+B(f,6270)>>10;d=v[b+20>>2]+c|0;f=w[d+3|0];g=w[d|0];e=f+g|0;h=w[d+2|0];d=w[d+1|0];i=h+d|0;v[a+168>>2]=e-i<<3;v[a+160>>2]=(e+i<<3)-4096;e=d-h|0;f=g-f|0;d=B(e+f|0,4433)+512|0;v[a+172>>2]=d+B(e,-15137)>>10;v[a+164>>2]=d+B(f,6270)>>10;d=v[b+24>>2]+c|0;f=w[d+3|0];g=w[d|0];e=f+g|0;h=w[d+2|0];i=w[d+1|0];d=h+i|0;v[a+200>>2]=e-d<<3;d=(d+e<<3)-4096|0;v[a+192>>2]=d;e=i-h|0;g=g-f|0;f=B(e+g|0,4433)+512|0;v[a+204>>2]=f+B(e,-15137)>>10;v[a+196>>2]=f+B(g,6270)>>10;b=v[b+28>>2]+c|0;c=w[b+3|0];f=w[b|0];g=c+f|0;e=w[b+2|0];h=w[b+1|0];b=e+h|0;v[a+232>>2]=g-b<<3;b=(b+g<<3)-4096|0;v[a+224>>2]=b;g=h-e|0;f=f-c|0;c=B(g+f|0,4433)+512|0;v[a+236>>2]=c+B(g,-15137)>>10;c=c+B(f,6270)>>10;v[a+228>>2]=c;g=v[a>>2];f=g+b|0;e=v[a+128>>2];h=v[a+96>>2];i=e+h|0;j=(f+i|0)+2|0;k=v[a+160>>2];l=v[a+64>>2];m=k+l|0;n=v[a+32>>2];o=n+d|0;p=m+o|0;v[a+128>>2]=j-p>>2;v[a>>2]=j+p>>2;i=f-i|0;j=o-m|0;f=B(i+j|0,4433)+16384|0;v[a+192>>2]=f+B(j,-15137)>>15;v[a+64>>2]=f+B(i,6270)>>15;f=h-e|0;b=g-b|0;g=B(f+b|0,-7373);d=n-d|0;i=d+f|0;e=l-k|0;j=e+b|0;h=B(i+j|0,9633)+16384|0;k=g+B(f,2446)|0;f=h+B(i,-16069)|0;v[a+224>>2]=k+f>>15;h=h+B(j,-3196)|0;i=B(e,16819);e=B(d+e|0,-20995);v[a+160>>2]=h+(i+e|0)>>15;v[a+96>>2]=f+(e+B(d,25172)|0)>>15;v[a+32>>2]=h+(g+B(b,12299)|0)>>15;d=v[a+4>>2];b=d+c|0;f=v[a+132>>2];g=v[a+100>>2];e=f+g|0;h=(b+e|0)+2|0;i=v[a+164>>2];j=v[a+68>>2];k=i+j|0;l=v[a+196>>2];m=v[a+36>>2];n=l+m|0;o=k+n|0;v[a+132>>2]=h-o>>2;v[a+4>>2]=h+o>>2;e=b-e|0;h=n-k|0;b=B(e+h|0,4433)+16384|0;v[a+196>>2]=b+B(h,-15137)>>15;v[a+68>>2]=b+B(e,6270)>>15;b=g-f|0;c=d-c|0;d=B(b+c|0,-7373);f=m-l|0;h=f+b|0;g=j-i|0;i=g+c|0;e=B(h+i|0,9633)+16384|0;j=d+B(b,2446)|0;b=e+B(h,-16069)|0;v[a+228>>2]=j+b>>15;e=e+B(i,-3196)|0;h=B(g,16819);g=B(f+g|0,-20995);v[a+164>>2]=e+(h+g|0)>>15;v[a+100>>2]=b+(g+B(f,25172)|0)>>15;v[a+36>>2]=e+(d+B(c,12299)|0)>>15;c=v[a+232>>2];d=v[a+8>>2];b=c+d|0;f=v[a+136>>2];g=v[a+104>>2];e=f+g|0;h=(b+e|0)+2|0;i=v[a+168>>2];j=v[a+72>>2];k=i+j|0;l=v[a+200>>2];m=v[a+40>>2];n=l+m|0;o=k+n|0;v[a+136>>2]=h-o>>2;v[a+8>>2]=h+o>>2;e=b-e|0;h=n-k|0;b=B(e+h|0,4433)+16384|0;v[a+200>>2]=b+B(h,-15137)>>15;v[a+72>>2]=b+B(e,6270)>>15;b=g-f|0;c=d-c|0;d=B(b+c|0,-7373);f=m-l|0;h=f+b|0;g=j-i|0;i=g+c|0;e=B(h+i|0,9633)+16384|0;j=d+B(b,2446)|0;b=e+B(h,-16069)|0;v[a+232>>2]=j+b>>15;e=e+B(i,-3196)|0;h=B(g,16819);g=B(f+g|0,-20995);v[a+168>>2]=e+(h+g|0)>>15;v[a+104>>2]=b+(g+B(f,25172)|0)>>15;v[a+40>>2]=e+(d+B(c,12299)|0)>>15;c=v[a+236>>2];d=v[a+12>>2];b=c+d|0;f=v[a+140>>2];g=v[a+108>>2];e=f+g|0;h=(b+e|0)+2|0;i=v[a+172>>2];j=v[a+76>>2];k=i+j|0;l=v[a+204>>2];m=v[a+44>>2];n=l+m|0;o=k+n|0;v[a+140>>2]=h-o>>2;v[a+12>>2]=h+o>>2;e=b-e|0;h=n-k|0;b=B(e+h|0,4433)+16384|0;v[a+204>>2]=b+B(h,-15137)>>15;v[a+76>>2]=b+B(e,6270)>>15;b=g-f|0;c=d-c|0;d=B(b+c|0,-7373);f=m-l|0;h=f+b|0;g=j-i|0;i=g+c|0;e=B(h+i|0,9633)+16384|0;j=d+B(b,2446)|0;b=e+B(h,-16069)|0;v[a+236>>2]=j+b>>15;e=e+B(i,-3196)|0;h=B(g,16819);g=B(f+g|0,-20995);v[a+172>>2]=e+(h+g|0)>>15;v[a+108>>2]=b+(g+B(f,25172)|0)>>15;v[a+44>>2]=e+(d+B(c,12299)|0)>>15}function uP(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=983692;v[299999]=0;b=ga(4695)|0;c=v[299999];v[299999]=0;a:{b:{if((c|0)==1){break b}v[299999]=0;V(4719,b|0,a|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}b=v[a+108>>2];if(b){v[299999]=0;U(4495,b|0,4822,a|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}}b=v[a+152>>2];if(b){dc(b)}v[a+152>>2]=0;b=v[a+164>>2];v[a+164>>2]=0;c:{if(!b){break c}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break c}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a+160>>2];v[a+160>>2]=0;d:{if(!b){break d}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break d}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a+156>>2];v[a+156>>2]=0;e:{if(!b){break e}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break e}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}Ic(a+112|0);b=v[a+108>>2];v[a+108>>2]=0;f:{if(!b){break f}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break f}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}v[a+72>>2]=981280;v[a+96>>2]=981312;b=v[a+100>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Ub[v[v[b>>2]+4>>2]](b)}v[a+100>>2]=0}v[a+88>>2]=981312;b=v[a+92>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Ub[v[v[b>>2]+4>>2]](b)}v[a+92>>2]=0}ec(a+80|0);ec(a+60|0);ec(a+52|0);b=v[a+48>>2];v[a+48>>2]=0;g:{if(!b){break g}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break g}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a+44>>2];v[a+44>>2]=0;h:{if(!b){break h}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break h}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a+40>>2];v[a+40>>2]=0;i:{if(!b){break i}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break i}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a+36>>2];v[a+36>>2]=0;j:{if(!b){break j}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break j}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a+32>>2];v[a+32>>2]=0;k:{if(!b){break k}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break k}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a+28>>2];v[a+28>>2]=0;l:{if(!b){break l}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break l}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a+24>>2];v[a+24>>2]=0;m:{if(!b){break m}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break m}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a+20>>2];v[a+20>>2]=0;n:{if(!b){break n}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break n}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a+16>>2];v[a+16>>2]=0;o:{if(!b){break o}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break o}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a+12>>2];v[a+12>>2]=0;p:{if(!b){break p}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break p}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a+8>>2];v[a+8>>2]=0;q:{if(!b){break q}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break q}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}Om(a);return a|0}W(0)|0;O()|0;ec(a+164|0);ec(a+160|0);ec(a+156|0);Ic(a+112|0);ec(a+108|0);$c(a+72|0);ec(a+60|0);ec(a+52|0);ec(a+48|0);ec(a+44|0);ec(a+40|0);ec(a+36|0);ec(a+32|0);ec(a+28|0);ec(a+24|0);ec(a+20|0);ec(a+16|0);ec(a+12|0);ec(a+8|0);Om(a);lc();L()}W(0)|0;O()|0;lc();L()}function koa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Qb-96|0;Qb=c;a:{b:{c:{d:{if(!w[a+89|0]){a=vc(c+56|0,231584,241010,286,226767,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break d}break a}d=-1;if(!(v[a+92>>2]&1)){break c}e:{switch(v[a+56>>2]-1|0){case 0:case 1:case 4:if(!(v[a+92>>2]&4)){break c}f=v[a+112>>2]+100|0;a=f;e=dk(b);a=v[v[a+12>>2]+((e>>>0)%y[a+8>>2]<<2)>>2];f:{if(!a){break f}while(1){g:{if((e|0)==v[a+12>>2]){if(Sk(a+16|0,b)){break g}}a=v[a+8>>2];if(a){continue}break f}break}d=Qb-32|0;Qb=d;e=dk(b);h:{i:{j:{a=v[v[f+12>>2]+((e>>>0)%y[f+8>>2]<<2)>>2];if(a){while(1){if((e|0)==v[a+12>>2]){if(Sk(a+16|0,b)){break j}}a=v[a+8>>2];if(a){continue}break}}a=vc(d+8|0,292206,271729,1156,308306,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break i}break a}Qb=d+32|0;break h}L()}d=v[a+52>>2]}break c;case 2:if(!(v[a+92>>2]&2)){break c}v[c+8>>2]=0;v[299999]=0;V(4708,c+56|0,b|0);d=v[299999];v[299999]=0;k:{if((d|0)!=1){v[299999]=0;f=Q(4461,c+56|0,a+8|0)|0;d=v[299999];v[299999]=0;l:{m:{n:{o:{p:{if((d|0)!=1){v[c+80>>2]=981312;v[c+56>>2]=981280;d=v[c+84>>2];if(d){e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(!e){Ub[v[v[d>>2]+4>>2]](d)}v[c+84>>2]=0}v[c+72>>2]=981312;d=v[c+76>>2];if(d){e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(!e){Ub[v[v[d>>2]+4>>2]](d)}v[c+76>>2]=0}ec(c- -64|0);d=-1;if(!f){break c}a=v[a+48>>2];v[299999]=0;V(4537,c+56|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break p}v[299999]=0;U(4608,c+48|0,a|0,c+56|0);a=v[299999];v[299999]=0;if((a|0)==1){break o}v[299999]=0;Q(4344,c+8|0,c+48|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break n}a=v[c+48>>2];v[c+48>>2]=0;if(!a){break l}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;d=v[299999];v[299999]=0;if((d|0)!=1){if(b){break l}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break l}}break b}a=P()|0;O()|0;$c(c+56|0);break k}a=P()|0;O()|0;break k}a=P()|0;O()|0;break m}a=P()|0;O()|0;ec(c+48|0)}ec(c+56|0);break k}ec(c+56|0);a=v[c+8>>2];if(a){d=v[a+56>>2]}else{d=-1}v[c+8>>2]=0;if(!a){break c}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;f=v[299999];v[299999]=0;if((f|0)!=1){if(b){break c}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break c}}break b}a=P()|0;O()|0}ec(c+8|0);T(a|0);L();case 3:if(!(v[a+92>>2]&2)){break c}v[c+48>>2]=0;v[299999]=0;V(4708,c+56|0,b|0);d=v[299999];v[299999]=0;q:{if((d|0)!=1){v[299999]=0;V(4708,c+8|0,a+8|0);d=v[299999];v[299999]=0;r:{s:{t:{u:{v:{w:{x:{if((d|0)!=1){v[299999]=0;f=Q(4461,c+56|0,c+8|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break x}v[c+32>>2]=981312;v[c+8>>2]=981280;d=v[c+36>>2];if(d){e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(!e){Ub[v[v[d>>2]+4>>2]](d)}v[c+36>>2]=0}v[c+24>>2]=981312;d=v[c+28>>2];if(d){e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(!e){Ub[v[v[d>>2]+4>>2]](d)}v[c+28>>2]=0}ec(c+16|0);v[c+80>>2]=981312;v[c+56>>2]=981280;d=v[c+84>>2];if(d){e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(!e){Ub[v[v[d>>2]+4>>2]](d)}v[c+84>>2]=0}v[c+72>>2]=981312;d=v[c+76>>2];if(d){e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(!e){Ub[v[v[d>>2]+4>>2]](d)}v[c+76>>2]=0}ec(c- -64|0);d=-1;if(!f){break c}a=v[a+48>>2];v[299999]=0;V(4537,c+56|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break v}v[299999]=0;U(4608,c+8|0,a|0,c+56|0);a=v[299999];v[299999]=0;if((a|0)==1){break u}v[299999]=0;Q(4344,c+48|0,c+8|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break t}a=v[c+8>>2];v[c+8>>2]=0;if(!a){break r}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;d=v[299999];v[299999]=0;if((d|0)!=1){if(b){break r}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break r}}break b}a=P()|0;O()|0;break w}a=P()|0;O()|0;$c(c+8|0)}$c(c+56|0);break q}a=P()|0;O()|0;break q}a=P()|0;O()|0;break s}a=P()|0;O()|0;ec(c+8|0)}ec(c+56|0);break q}ec(c+56|0);a=v[c+48>>2];if(a){d=v[a+56>>2]}else{d=-1}v[c+48>>2]=0;if(!a){break c}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;f=v[299999];v[299999]=0;if((f|0)!=1){if(b){break c}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break c}}break b}a=P()|0;O()|0}ec(c+48|0);T(a|0);L();default:break e}}a=vc(c+56|0,278858,241010,815,226887,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break d}break a}L()}Qb=c+96|0;return d|0}W(0)|0;O()|0;lc();L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function z$(a,b){var 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,y=0,z=0,A=0;y=Qb-16|0;Qb=y;f=B(b,1348)+a|0;o=f;h=v[f+52>>2];a:{b:{if(h){f=v[f+44>>2];d=uq(a,b);if(d){break a}if((f|0)<1){break b}f=B(f,44)+h|0;while(1){d=v[h+36>>2];c=x[d>>1];e=w[h|0];t[h|0]=e&254;i=v[h+40>>2];c:{if((i|0)==(d|0)){break c}c=c&3;while(1){g=c;d=v[d+32>>2];c=x[d>>1]&3;if(!((g|c)&65535)){break c}if((d|0)!=(i|0)){continue}break}t[h|0]=e|1}h=h+44|0;if(f>>>0>h>>>0){continue}break}break b}d=uq(a,b);if(d){break a}}l=v[v[a+2748>>2]+40>>2]/256|0;m=B(b,1348)+a|0;n=m+44|0;c=v[n>>2];f=v[o+52>>2];h=v[m+68>>2];z=(b?12:4)+a|0;p=ad(192,v[z>>2]);if((c|0)>=1){j=B(c,44)+f|0;c=f;while(1){d=f;if((h|0)==t[c+1|0]){while(1){d:{if((c|0)==(d|0)|(h|0)!=(0-t[d+1|0]|0)){break d}i=u[d+2>>1]-u[c+2>>1]|0;if((i|0)<0){break d}e=u[d+8>>1];g=u[c+8>>1];q=(e|0)<(g|0)?e:g;e=u[d+6>>1];g=u[c+6>>1];e=q-((e|0)>(g|0)?e:g)|0;if((e|0)<(l|0)){break d}g=i<<3;k=v[c+28>>2];if(!((g|0)>=(B(k,9)|0)|(e|0)<=v[c+32>>2]&(g|0)>=(B(k,7)|0))){v[c+32>>2]=e;v[c+28>>2]=i;v[c+20>>2]=d}k=v[d+28>>2];if((g|0)>=(B(k,9)|0)|(e|0)<=v[d+32>>2]&(g|0)>=(B(k,7)|0)){break d}v[d+32>>2]=e;v[d+28>>2]=i;v[d+20>>2]=c}d=d+44|0;if(j>>>0>d>>>0){continue}break}}c=c+44|0;if(j>>>0>c>>>0){continue}break}c=f;while(1){e=v[c+20>>2];e:{if(!e|v[e+20>>2]!=(c|0)){break e}l=u[e+2>>1];k=u[c+2>>1];if((l|0)<=(k|0)){break e}r=v[c+28>>2];if((r|0)>=(p|0)){break e}A=r<<2;d=f;while(1){f:{i=u[d+2>>1];g:{if((c|0)==(d|0)|(i|0)>(k|0)){break g}h=v[d+20>>2];if(!h|v[h+20>>2]!=(d|0)){break g}g=u[h+2>>1];if((g|0)<(l|0)|(i|0)==(k|0)&(g|0)==(l|0)){break g}i=v[d+28>>2];if((i|0)<=(r|0)|(i|0)>=(A|0)){break g}g=f;if(v[c+32>>2]<(B(v[d+32>>2],3)|0)){break f}while(1){i=e;s=v[g+20>>2];h:{if((s|0)!=(d|0)){i=c;if((h|0)!=(s|0)){break h}}v[g+24>>2]=i;v[g+20>>2]=0}g=g+44|0;if(j>>>0>g>>>0){continue}break}}d=d+44|0;if(j>>>0>d>>>0){continue}break e}break}v[e+20>>2]=0;v[c+20>>2]=0}c=c+44|0;if(j>>>0>c>>>0){continue}break}while(1){c=v[f+20>>2];i:{if(!c|v[c+20>>2]==(f|0)){break i}v[f+20>>2]=0;d=v[c+28>>2];if((d|0)>=(p|0)&v[f+28>>2]>=d<<2){break i}v[f+24>>2]=v[c+20>>2]}f=f+44|0;if(j>>>0>f>>>0){continue}break}}r=v[a>>2];e=v[o+52>>2];c=v[a+2748>>2];v[m+56>>2]=0;f=v[n>>2];c=c+B(b,7676)|0;o=v[z>>2];j:{if((Ac(v[c+248>>2],o)|0)>=17){i=ad(16,o);break j}i=v[c+248>>2]}p=(B(b,1348)+a|0)- -64|0;if((f|0)>=1){z=B(f,44)+e|0;while(1){k:{l:{A=v[m+56>>2];m:{if((A|0)<=0){a=w[e+1|0];break m}a=w[e+1|0];l=v[p>>2];b=0;f=65535;h=0;while(1){d=B(h,44);g=d+l|0;n:{if(w[g+13|0]!=(a&255)){break n}j=u[e+2>>1]-u[g>>1]|0;c=j>>31;j=c^c+j;if((j|0)>=(i|0)|(f|0)<=(j|0)){break n}s=v[e+20>>2];if(s){c=0;q=v[(d+l|0)+36>>2];d=q;while(1){o:{k=v[d+20>>2];if(k){c=u[s+2>>1];k=u[k+2>>1];c=(c|0)>(k|0)?c-k|0:k-c|0;if((i|0)<=(c|0)){break o}}d=v[d+16>>2];if((q|0)!=(d|0)){continue}}break}if((c|0)>=(i|0)){break n}}f=j;b=g}h=h+1|0;if((A|0)!=(h|0)){continue}break}if(b){break l}}d=r$(n,u[e+2>>1],a<<24>>24,0,r,y+12|0);if(d){break a}a=v[y+12>>2];v[a+40>>2]=e;v[a+36>>2]=e;v[a>>2]=0;v[a+4>>2]=0;v[a+32>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;t[a+13|0]=w[e+1|0];b=u[e+2>>1];u[a>>1]=b;b=Ac(b,o);v[a+8>>2]=b;v[a+4>>2]=b;v[e+16>>2]=e;break k}v[e+16>>2]=v[b+36>>2];v[v[b+40>>2]+16>>2]=e;v[b+40>>2]=e}e=e+44|0;if(z>>>0>e>>>0){continue}break}}a=v[m+56>>2];if((a|0)>=1){f=v[p>>2];o=f+B(a,44)|0;c=f;while(1){a=v[c+36>>2];d=a;if(d){while(1){v[d+12>>2]=c;d=v[d+16>>2];if((a|0)!=(d|0)){continue}break}}c=c+44|0;if(o>>>0>c>>>0){continue}break}while(1){m=0;g=0;j=v[f+36>>2];if(j){h=f+28|0;a=f+24|0;d=j;while(1){p=t[d|0]&1;l=!p;c=v[d+24>>2];p:{q:{if(c){b=v[d+20>>2];e=v[c+12>>2];if(!b&(e|0)==(f|0)){break p}if((e|0)==(f|0)){i=0;e=a;break q}i=1;e=h;b=c;break q}i=0;e=a;b=v[d+20>>2];if(!b){break p}}c=v[e>>2];r:{if(c){n=u[f>>1]-u[c>>1]|0;e=n>>31;q=e^e+n;e=u[d+2>>1];n=u[b+2>>1];if((q|0)<=(((e|0)>(n|0)?e-n|0:n-e|0)|0)){break r}}c=v[b+12>>2]}if(i){v[h>>2]=c;t[c+12|0]=w[c+12|0]|2;break p}v[a>>2]=c}m=m+p|0;g=g+l|0;d=v[d+16>>2];if((j|0)!=(d|0)){continue}break}}t[f+12|0]=(g|0)<=(m|0)&(m|0)>0;if(!(!v[f+28>>2]|!v[f+24>>2])){v[f+28>>2]=0}f=f+44|0;if(o>>>0>f>>>0){continue}break}}d=0}Qb=y+16|0;return d}function cE(a,b){var 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,u=0,x=0,y=0,z=0;c=Qb-1600|0;Qb=c;r=ic(c,0,1600);s=v[b+8>>2];if((s|0)>0){p=A[a+112>>3];k=A[a+120>>3];z=v[b>>2];while(1){i=v[(g<<2)+z>>2];h=I(A[i+40>>3]*20/k);a:{if(D(h)<2147483648){c=~~h;break a}c=-2147483648}e=(c|0)<19?c:19;h=A[i+24>>3]*20;m=H(h/k);b:{if(D(m)<2147483648){c=~~m;break b}c=-2147483648}f=(c|0)>0?c:0;h=I(h/p);c:{if(D(h)<2147483648){c=~~h;break c}c=-2147483648}j=(e|0)<(f|0);h=H(A[i+16>>3]*20/p);d:{if(D(h)<2147483648){d=~~h;break d}d=-2147483648}e:{if(j){break e}u=(c|0)<19?c:19;d=(d|0)>0?d:0;if((u|0)<(d|0)){break e}while(1){c=d;while(1){j=fc(8);x=(B(f,80)+r|0)+(c<<2)|0;v[j+4>>2]=v[x>>2];v[j>>2]=i;v[x>>2]=j;j=(c|0)<(u|0);c=c+1|0;if(j){continue}break}c=(e|0)>(f|0);f=f+1|0;if(c){continue}break}}g=g+1|0;if((s|0)!=(g|0)){continue}break}}f=0;while(1){g=0;while(1){i=v[(B(l,80)+r|0)+(g<<2)>>2];f:{if(!i){break f}while(1){c=v[i+4>>2];if(!c){break f}d=v[i>>2];p=A[d+64>>3];while(1){e=v[c>>2];y=A[e+64>>3];g:{if(!(p!=y|A[d+72>>3]!=A[e+72>>3])&A[d+80>>3]==A[e+80>>3]){break g}k=A[d+32>>3];h=A[d+16>>3];m=k-h;n=A[e+32>>3];o=A[e+16>>3];q=n-o;if(!(((ko?h:o))/(m.3)){break g}k=A[d+40>>3];h=A[d+24>>3];m=k-h;n=A[e+40>>3];o=A[e+24>>3];q=n-o;if(!(((ko?h:o))/(m.3)){break g}f=1;t[(p+A[d+72>>3]+A[d+80>>3]>3]+A[e+80>>3]?e:d)+93|0]=1}c=v[c+4>>2];if(c){continue}break}i=v[i+4>>2];if(i){continue}break}}g=g+1|0;if((g|0)!=20){continue}break}l=l+1|0;if((l|0)!=20){continue}break}i=0;h:{if(v[a+52>>2]!=1){break h}a=fc(16);v[299999]=0;i=S(3315,a|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){break h}b=P()|0;O()|0;dc(a);T(b|0);L()}i:{if(!f){break i}mk(b,3963);l=v[b+8>>2];if((l|0)<1){break i}c=0;while(1){j:{k:{f=v[b>>2];e=v[f+(c<<2)>>2];if(w[e+93|0]){d=c>>31&c;g=c;while(1){l:{a=g;if((a|0)<1){a=d;break l}g=a-1|0;j=v[(g<<2)+f>>2];if(A[j+64>>3]!=A[e+64>>3]|A[j+72>>3]!=A[e+72>>3]|A[j+80>>3]!=A[e+80>>3]){break l}if(w[j+88|0]==w[e+88|0]){continue}}break}g=c+1|0;d=((g|0)<(l|0)?l:g)-1|0;while(1){m:{g=c;c=c+1|0;if((l|0)<=(c|0)){g=d;break m}j=v[(c<<2)+f>>2];if(A[j+64>>3]!=A[e+64>>3]|A[j+72>>3]!=A[e+72>>3]|A[j+80>>3]!=A[e+80>>3]){break m}if(w[j+88|0]==w[e+88|0]){continue}}break}d=a;if((a|0)>(g|0)){break j}if(i){break k}c=a;while(1){d=v[(a<<2)+f>>2];if(d){dc(d)}ji(b,a);d=a;if((c|0)==(g|0)){break j}c=c+1|0;f=v[b>>2];continue}}d=c+1|0;break j}c=f;f=a<<2;Tc(i,v[c+f>>2]);ji(b,a);c=a;d=c;if((c|0)==(g|0)){break j}while(1){Tc(i,v[f+v[b>>2]>>2]);ji(b,a);c=c+1|0;if((g|0)!=(c|0)){continue}break}d=a}c=d;l=v[b+8>>2];if((c|0)<(l|0)){continue}break}}f=0;while(1){b=B(f,80)+r|0;c=v[b>>2];if(c){while(1){a=v[c+4>>2];dc(c);c=a;if(c){continue}break}}c=v[b+4>>2];if(c){while(1){a=v[c+4>>2];dc(c);c=a;if(c){continue}break}}c=v[b+8>>2];if(c){while(1){a=v[c+4>>2];dc(c);c=a;if(c){continue}break}}c=v[b+12>>2];if(c){while(1){a=v[c+4>>2];dc(c);c=a;if(c){continue}break}}c=v[b+16>>2];if(c){while(1){a=v[c+4>>2];dc(c);c=a;if(c){continue}break}}c=v[b+20>>2];if(c){while(1){a=v[c+4>>2];dc(c);c=a;if(c){continue}break}}c=v[b+24>>2];if(c){while(1){a=v[c+4>>2];dc(c);c=a;if(c){continue}break}}c=v[b+28>>2];if(c){while(1){a=v[c+4>>2];dc(c);c=a;if(c){continue}break}}c=v[b+32>>2];if(c){while(1){a=v[c+4>>2];dc(c);c=a;if(c){continue}break}}c=v[b+36>>2];if(c){while(1){a=v[c+4>>2];dc(c);c=a;if(c){continue}break}}c=v[b+40>>2];if(c){while(1){a=v[c+4>>2];dc(c);c=a;if(c){continue}break}}c=v[b+44>>2];if(c){while(1){a=v[c+4>>2];dc(c);c=a;if(c){continue}break}}c=v[b+48>>2];if(c){while(1){a=v[c+4>>2];dc(c);c=a;if(c){continue}break}}c=v[b+52>>2];if(c){while(1){a=v[c+4>>2];dc(c);c=a;if(c){continue}break}}c=v[b+56>>2];if(c){while(1){a=v[c+4>>2];dc(c);c=a;if(c){continue}break}}c=v[b+60>>2];if(c){while(1){a=v[c+4>>2];dc(c);c=a;if(c){continue}break}}c=v[b+64>>2];if(c){while(1){a=v[c+4>>2];dc(c);c=a;if(c){continue}break}}c=v[b+68>>2];if(c){while(1){a=v[c+4>>2];dc(c);c=a;if(c){continue}break}}c=v[b+72>>2];if(c){while(1){a=v[c+4>>2];dc(c);c=a;if(c){continue}break}}c=v[b+76>>2];if(c){while(1){a=v[c+4>>2];dc(c);c=a;if(c){continue}break}}f=f+1|0;if((f|0)!=20){continue}break}Qb=r+1600|0;return i}function eo(a){var 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,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;c=Qb+-64|0;while(1){g=d<<2;b=g+c|0;g=a+g|0;v[b>>2]=w[g+16|0]|w[g+17|0]<<8|(w[g+18|0]<<16|w[g+19|0]<<24);d=d+1|0;if((d|0)!=16){continue}break}C=v[a>>2];l=v[a+8>>2];B=v[a+12>>2];g=v[a+4>>2];h=v[c+60>>2];i=v[c+56>>2];m=v[c+52>>2];j=v[c+48>>2];n=v[c+44>>2];o=v[c+40>>2];p=v[c+36>>2];q=v[c+32>>2];k=v[c+28>>2];r=v[c+24>>2];s=v[c+20>>2];t=v[c+16>>2];u=v[c+12>>2];x=v[c+8>>2];y=v[c+4>>2];z=v[c>>2];v[a+80>>2]=0;c=Gib(((((g&l)+C|0)+((g^-1)&B)|0)+z|0)-680876936|0,7)+g|0;d=Gib((((y+B|0)+(c&g)|0)+((c^-1)&l)|0)-389564586|0,12)+c|0;b=Gib((((l+x|0)+(c&d)|0)+(g&(d^-1))|0)+606105819|0,17)+d|0;e=Gib((((g+u|0)+(d&b)|0)+(c&(b^-1))|0)-1044525330|0,22)+b|0;c=Gib((((c+t|0)+(b&e)|0)+(d&(e^-1))|0)-176418897|0,7)+e|0;d=Gib((((d+s|0)+(c&e)|0)+(b&(c^-1))|0)+1200080426|0,12)+c|0;b=Gib((((b+r|0)+(c&d)|0)+(e&(d^-1))|0)-1473231341|0,17)+d|0;e=Gib((((e+k|0)+(d&b)|0)+(c&(b^-1))|0)-45705983|0,22)+b|0;f=d+p|0;d=Gib((((c+q|0)+(b&e)|0)+(d&(e^-1))|0)+1770035416|0,7)+e|0;f=Gib(((f+(d&e)|0)+(b&(d^-1))|0)-1958414417|0,12)+d|0;b=Gib((((b+o|0)+(d&f)|0)+(e&(f^-1))|0)-42063|0,17)+f|0;c=Gib((((e+n|0)+(f&b)|0)+(d&(b^-1))|0)-1990404162|0,22)+b|0;d=Gib((((d+j|0)+(c&b)|0)+(f&(c^-1))|0)+1804603682|0,7)+c|0;e=Gib((((f+m|0)+(d&c)|0)+(b&(d^-1))|0)-40341101|0,12)+d|0;f=e^-1;b=Gib((((b+i|0)+(d&e)|0)+(c&f)|0)-1502002290|0,17)+e|0;A=b^-1;D=(d+y|0)+(b&f)|0;f=Gib((((c+h|0)+(b&e)|0)+(d&A)|0)+1236535329|0,22)+b|0;c=Gib((D+(f&e)|0)-165796510|0,5)+f|0;d=(b+n|0)+(c&(f^-1))|0;b=Gib((((e+r|0)+(f&A)|0)+(c&b)|0)-1069501632|0,9)+c|0;d=Gib((d+(b&f)|0)+643717713|0,14)+b|0;e=Gib((((f+z|0)+(b&(c^-1))|0)+(c&d)|0)-373897302|0,20)+d|0;c=Gib((((c+s|0)+(d&(b^-1))|0)+(e&b)|0)-701558691|0,5)+e|0;b=Gib((((b+o|0)+(e&(d^-1))|0)+(c&d)|0)+38016083|0,9)+c|0;d=Gib((((d+h|0)+(c&(e^-1))|0)+(b&e)|0)-660478335|0,14)+b|0;e=Gib((((e+t|0)+(b&(c^-1))|0)+(c&d)|0)-405537848|0,20)+d|0;c=Gib((((c+p|0)+(d&(b^-1))|0)+(e&b)|0)+568446438|0,5)+e|0;b=Gib((((b+i|0)+(e&(d^-1))|0)+(c&d)|0)-1019803690|0,9)+c|0;d=Gib((((d+u|0)+(c&(e^-1))|0)+(b&e)|0)-187363961|0,14)+b|0;e=Gib((((e+q|0)+(b&(c^-1))|0)+(c&d)|0)+1163531501|0,20)+d|0;c=Gib((((c+m|0)+(d&(b^-1))|0)+(e&b)|0)-1444681467|0,5)+e|0;f=(d+k|0)+(c&(e^-1))|0;d=Gib((((b+x|0)+(e&(d^-1))|0)+(c&d)|0)-51403784|0,9)+c|0;b=Gib((f+(d&e)|0)+1735328473|0,14)+d|0;e=Gib((((e+j|0)+(d&(c^-1))|0)+(c&b)|0)-1926607734|0,20)+b|0;f=e^b;c=Gib(((c+s|0)+(f^d)|0)-378558|0,4)+e|0;A=b+n|0;b=Gib(((d+q|0)+(c^f)|0)-2022574463|0,11)+c|0;d=Gib((A+(b^(c^e))|0)+1839030562|0,16)+b|0;e=Gib(((e+i|0)+(d^(c^b))|0)-35309556|0,23)+d|0;c=Gib(((c+y|0)+(e^(d^b))|0)-1530992060|0,4)+e|0;b=Gib(((b+t|0)+(c^(d^e))|0)+1272893353|0,11)+c|0;d=Gib(((d+k|0)+(b^(c^e))|0)-155497632|0,16)+b|0;e=Gib(((e+o|0)+(d^(c^b))|0)-1094730640|0,23)+d|0;c=Gib(((c+m|0)+(e^(d^b))|0)+681279174|0,4)+e|0;b=Gib(((b+z|0)+(c^(d^e))|0)-358537222|0,11)+c|0;d=Gib(((d+u|0)+(b^(c^e))|0)-722521979|0,16)+b|0;e=Gib(((e+r|0)+(d^(c^b))|0)+76029189|0,23)+d|0;c=Gib(((c+p|0)+(e^(d^b))|0)-640364487|0,4)+e|0;b=Gib(((b+j|0)+(c^(d^e))|0)-421815835|0,11)+c|0;d=Gib(((d+h|0)+(b^(c^e))|0)+530742520|0,16)+b|0;f=b+k|0;k=b^-1;b=Gib(((e+x|0)+(d^(c^b))|0)-995338651|0,23)+d|0;e=Gib(((c+z|0)+(d^(k|b))|0)-198630844|0,6)+b|0;c=Gib((f+((e|d^-1)^b)|0)+1126891415|0,10)+e|0;f=e+j|0;j=b+s|0;b=Gib(((d+i|0)+(e^(c|b^-1))|0)-1416354905|0,15)+c|0;e=Gib((j+(c^(b|e^-1))|0)-57434055|0,21)+b|0;d=Gib((f+((e|c^-1)^b)|0)+1700485571|0,6)+e|0;f=e+y|0;i=b+o|0;b=Gib(((c+u|0)+(e^(d|b^-1))|0)-1894986606|0,10)+d|0;e=Gib((i+(d^(b|e^-1))|0)-1051523|0,15)+b|0;c=Gib((f+((e|d^-1)^b)|0)-2054922799|0,21)+e|0;f=e+r|0;h=b+h|0;b=Gib(((d+q|0)+(e^(c|b^-1))|0)+1873313359|0,6)+c|0;e=Gib((h+(c^(b|e^-1))|0)-30611744|0,10)+b|0;d=Gib((f+((e|c^-1)^b)|0)-1560198380|0,15)+e|0;c=Gib(((c+m|0)+(e^(d|b^-1))|0)+1309151649|0,21)+d|0;b=Gib(((b+t|0)+(d^(c|e^-1))|0)-145523070|0,6)+c|0;v[a>>2]=b+C;e=Gib(((e+n|0)+(c^(b|d^-1))|0)-1120210379|0,10)+b|0;v[a+12>>2]=e+B;d=Gib(((d+x|0)+(b^(e|c^-1))|0)+718787259|0,15)+e|0;v[a+8>>2]=d+l;E=a,F=Gib(((c+p|0)+(e^(d|b^-1))|0)-343485551|0,21)+(d+g|0)|0,v[E+4>>2]=F}function WMa(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,p=0,q=0,r=0;m=v[b+12>>2];j=v[b+8>>2];l=v[b+4>>2];q=v[l+44>>2];if(q){i=w[l+36|0];f=v[l+48>>2]}else{f=0}g=v[a+16>>2];p=i<<24>>24;k=p+(m-j|0)|0;o=f<<24>>24;a:{if((k|0)<(o|0)){break a}e=v[a+20>>2]-g|0;if((e|0)<(o|0)){v[c>>2]=-127;return}k=(e|0)<(k|0)?e:k;n=k-o|0;if((n|0)<1){break a}e=w[((p^-1)+k|0)+j|0];b:{if((e&192)!=128){break b}r=1;if((n|0)<=1){break a}o=(k-p|0)+j|0;e=w[o-2|0];if((e&192)!=128){break b}if((n|0)<3){break a}r=2;e=w[o-3|0];if((e&192)==128){break a}}n=(e>>>0>191)+(e>>>0>223)|0;c:{if(e>>>0<=239){break c}n=0;if(e>>>0>253){break c}n=(e>>>0>251)+(e>>>0>247?4:3)|0}if((n|0)<=(r|0)){break a}k=(r^-1)+k|0}d:{if(!q){d=j;e=0;break d}t[l+36|0]=0;v[l+44>>2]=0;h=i;e=1}e:while(1){if(!e){if((k|0)>0){while(1){j=d+1|0;i=t[d|0];f:{if((i|0)>=0){t[g|0]=i;g=g+1|0;e=-1;d=j;break f}g:{h:{i:{j:{k:{f=i&255;if(f>>>0>=225){h=t[j|0];if((h|0)>-1|!((h&255)>>>0<192&f>>>0<=236)&((i|0)!=-19|(h&255)>>>0>159)){break k}f=t[d+2|0];if((f|0)>-1|(f&255)>>>0>191){break j}t[g+2|0]=f;t[g+1|0]=h;t[g|0]=i;break g}if((i|0)!=-32){if(f>>>0<194){break j}f=t[j|0];if((f|0)>-1|(f&255)>>>0>191){break j}t[g+1|0]=f;t[g|0]=i;g=g+2|0;e=-2;d=d+2|0;break f}f=w[j|0];if((f&224)!=160){break j}h=t[d+2|0];if((h|0)>-1|(h&255)>>>0>191){break j}t[g+2|0]=h;t[g+1|0]=f;t[g|0]=224;break g}f=i&255;if(f>>>0>=240){break i}}f=i&255;e=(f>>>0>191)+(f>>>0>223)|0;break h}e=0;if(f>>>0>253){break h}f=i&255;e=(f>>>0>247?4:3)+(f>>>0>251)|0}q=i&255;h=1;f=e+1|0;i=0;e=1;continue e}g=g+3|0;e=-3;d=d+3|0}k=e+k|0;if((k|0)>0){continue}break}}l:{m:{n:{if(v[c>>2]>0|d>>>0>=m>>>0){break n}if(v[a+20>>2]==(g|0)){v[c>>2]=15;break n}k=w[d|0];o:{if(k>>>0<=239){f=(k>>>0>191)+(k>>>0>223)|0;break o}f=0;if(k>>>0>253){break o}f=(k>>>0>251)+(k>>>0>247?4:3)|0}if((f|0)>=(m-d|0)){t[l+37|0]=k;e=d+1|0;if((m|0)==(e|0)){d=1;break m}d=1;while(1){h=w[e|0];if((h&192)!=128){t[l+36|0]=d;v[c>>2]=12;m=e;break l}t[((d<<24>>24)+l|0)+37|0]=h;d=d+1|0;k=h+(k<<6)|0;e=e+1|0;if((m|0)!=(e|0)){continue}break}break m}v[c>>2]=-127}m=d;break l}v[l+48>>2]=f+1;t[l+36|0]=d;v[l+44>>2]=k}v[b+8>>2]=m;v[a+16>>2]=g;return}p:{q:{r:{s:{t:{u:{e=f<<24>>24;v:{if((e|0)<=h<<24>>24){break v}while(1){if(j>>>0>=m>>>0){break u}d=w[j|0];if((d&192)!=128){break v}j=j+1|0;q=d+(q<<6)|0;h=(h<<24)+16777216>>24;if((e|0)>(h|0)){continue}break}h=f}p=h<<24>>24;d=(h&255)!=(f&255);if(d|(h&254)!=2){break t}d=p<<2;e=q-v[d+850288>>2]|0;if((e&-2048)==55296|(e|0)>2]){break r}break s}e=i<<24>>24;m=h<<24>>24;d=(e-m|0)+j|0;f=f<<24>>24;w:{if((e|0)>=(m|0)){break w}c=m+(e^-1)|0;j=m-e&3;if(j){while(1){t[(e+l|0)+37|0]=w[d|0];e=e+1|0;d=d+1|0;j=j-1|0;if(j){continue}break}}if(c>>>0<3){break w}while(1){c=e+l|0;t[c+37|0]=w[d|0];t[c+38|0]=w[d+1|0];t[c+39|0]=w[d+2|0];t[c+40|0]=w[d+3|0];d=d+4|0;e=e+4|0;if((m|0)!=(e|0)){continue}break}}v[l+48>>2]=f;t[l+36|0]=h;v[l+44>>2]=q;v[b+8>>2]=d;v[a+16>>2]=g;return}if((h&255)!=4|d|q-63512704>>>0>=1048576){break r}}e=i<<24>>24;if((e|0)>=1){break q}i=0;break p}e=i<<24>>24;d=(e-p|0)+j|0;x:{if(h<<24>>24<=(e|0)){break x}f=p+(e^-1)|0;j=p-e&3;if(j){while(1){t[(e+l|0)+37|0]=w[d|0];e=e+1|0;d=d+1|0;j=j-1|0;if(j){continue}break}}if(f>>>0<3){break x}while(1){f=e+l|0;t[f+37|0]=w[d|0];t[f+38|0]=w[d+1|0];t[f+39|0]=w[d+2|0];t[f+40|0]=w[d+3|0];d=d+4|0;e=e+4|0;if((p|0)!=(e|0)){continue}break}}t[l+36|0]=h;v[b+8>>2]=d;v[a+16>>2]=g;v[c>>2]=12;return}o=i&3;d=i&255;y:{if(d-1>>>0<3){d=0;break y}r=d&252;d=0;n=l+37|0;while(1){t[g|0]=w[d+n|0];t[g+1|0]=w[n+(d|1)|0];t[g+2|0]=w[n+(d|2)|0];t[g+3|0]=w[n+(d|3)|0];d=d+4|0;g=g+4|0;r=r-4|0;if(r){continue}break}}if(!o){break p}while(1){t[g|0]=w[(d+l|0)+37|0];d=d+1|0;g=g+1|0;o=o-1|0;if(o){continue}break}}d=(e-p|0)+j|0;z:{if(h<<24>>24<=i<<24>>24){break z}o=(i^-1)+h|0;e=h-i&7;if(e){while(1){t[g|0]=w[d|0];i=i+1|0;g=g+1|0;d=d+1|0;e=e-1|0;if(e&255){continue}break}}if((o&255)>>>0<7){break z}while(1){t[g|0]=w[d|0];t[g+1|0]=w[d+1|0];t[g+2|0]=w[d+2|0];t[g+3|0]=w[d+3|0];t[g+4|0]=w[d+4|0];t[g+5|0]=w[d+5|0];t[g+6|0]=w[d+6|0];t[g+7|0]=w[d+7|0];g=g+8|0;d=d+8|0;i=(i<<24)- -134217728>>24;if((i|0)>24){continue}break}}k=k-p|0;e=0;continue}}function rTa(a,b){a=a|0;b=b|0;var 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,x=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,Q=C(0),R=0,S=C(0),U=0,V=0,W=0,X=0;c=Qb-128|0;Qb=c;a:{b:{c:{d=a+96|0;d:{if(!w[d+1432|0]){h=a+1596|0;j=a+1628|0;if(!(!w[j+1160|0]|v[j+1172>>2]!=2)){qd(j+100|0,j,v[j+1164>>2],v[j+1168>>2]);v[j+1172>>2]=3}Dd(j);e:{if(!v[j+12>>2]){break e}v[j+1176>>2]=v[j+84>>2];d=v[j+80>>2];a=(v[j+88>>2]-d|0)+2|0;f:{if(a>>>0<=y[h+24>>2]){break f}e=v[h+20>>2];if(e){dc(e)}v[h+24>>2]=a;W=h,X=fc((a|0)!=(a&536870911)?-1:a<<3),v[W+20>>2]=X;if((a|0)==v[h+16>>2]){break f}e=v[h+12>>2];if(e){dc(e)}v[h+16>>2]=a;W=h,X=fc(a),v[W+12>>2]=X}v[h>>2]=d;v[h+4>>2]=2147483632;v[h+28>>2]=v[h+20>>2];a=v[b+8>>2];if(v[a>>2]!=1){v[a>>2]=1;ic(a+2168|0,0,513)}if(!Sf(j,h)){break e}while(1){r=v[b>>2];s=v[b+4>>2];f=v[b+8>>2];p=v[h+20>>2];H=v[h+28>>2]-p>>3;F=v[h+8>>2];J=+(F|0);while(1){K=v[p+12>>2];a=u[p+8>>1];d=u[p+10>>1];e=d>>31;l=(e^d+e)&65535;e=v[s+4>>2];g:{if(l>>>0<=e>>>0){break g}q=e;e=l+255&130816;if((q|0)==(e|0)){break g}g=v[s>>2];if(g){dc(g)}v[s+4>>2]=e;W=s,X=fc(e<<2),v[W>>2]=X}I=0;G=v[s>>2];q=G;e=a;if(d){while(1){i=+(e|0);x=(A[f+88>>3]+(A[f+56>>3]*i+A[f+72>>3]*J))*A[f+24>>3]+A[f+32>>3]*(A[f+96>>3]+(A[f+64>>3]*i+A[f+80>>3]*J));i=D(A[f+40>>3]+x);x=D(x+A[f+48>>3]);M=i>x?0:1;i=(i>=1?M:x>=1?M:i)*512+.5;h:{if(D(i)<2147483648){g=~~i;break h}g=-2147483648}N=(g+f|0)+2168|0;if(!w[N|0]){k=v[f+112>>2];i:{if((k|0)>=2){i=+(g|0)*.001953125;m=v[f+108>>2];d=1;while(1){n=d<<2;Q=z[n+m>>2];if(i<+Q){if(!(!(i<+z[m>>2])|(d|0)!=1)){d=v[f+104>>2];v[((g<<2)+f|0)+116>>2]=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);break i}d=v[f+104>>2];k=d+n|0;o=d;d=n-4|0;n=o+d|0;R=w[n+3|0];U=w[k+3|0]-R|0;V=(g<<2)+f|0;o=w[n|0];E=o;S=z[d+m>>2];i=(i-+S)/+C(Q-S)*256+.5;j:{if(i<4294967296&i>=0){d=~~i>>>0;break j}d=0}o=E+(B(d,w[k|0]-o|0)>>>8|0)&255;m=w[n+2|0];E=(B(d,U)>>>8|0)+R<<24|((B(d,w[k+2|0]-m|0)>>>8|0)+m&255)<<16;m=w[k+1|0];k=w[n+1|0];v[V+116>>2]=o|(E|((B(d,m-k|0)>>>8|0)+k&255)<<8);break i}d=d+1|0;if((k|0)!=(d|0)){continue}break}}d=v[f+104>>2];if(!d|(k|0)<1){break i}d=(d+(k<<2)|0)-4|0;v[((g<<2)+f|0)+116>>2]=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24)}t[N|0]=1}d=q;g=v[((g<<2)+f|0)+116>>2];t[d|0]=g;t[d+1|0]=g>>>8;t[d+2|0]=g>>>16;t[d+3|0]=g>>>24;e=e+1|0;q=d+4|0;I=I+1|0;if((I|0)!=(l|0)){continue}break}}k:{if(v[r+16>>2]<(F|0)|v[r+8>>2]>(F|0)){break k}g=u[p+10>>1]<0;e=g?0:K;q=w[K|0];d=v[r+4>>2];l:{if((a|0)>=(d|0)){d=a;break l}a=d-a|0;l=l-a|0;if((l|0)<1){break k}e=g?0:a+e|0;G=(a<<2)+G|0}E=v[r>>2];g=d;o=F;a=v[r+12>>2];if((a|0)<(d+l|0)){a=a-d|0;if((a|0)<0){break k}l=a+1|0}ig(E,g,o,l,G,e,q)}p=p+8|0;H=H-1|0;if(H){continue}break}if(Sf(j,h)){continue}break}}break d}if(!w[d+1433|0]){v[c+112>>2]=0;v[c+116>>2]=0;v[c+120>>2]=0;v[c+124>>2]=0;v[c+104>>2]=0;v[c+108>>2]=0;v[c+96>>2]=2147483632;v[c+80>>2]=0;v[c+84>>2]=0;v[c+88>>2]=0;v[c+92>>2]=0;v[c+72>>2]=0;v[c+76>>2]=0;v[c+64>>2]=2147483632;v[c+48>>2]=0;v[c+52>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[299999]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=2147483632;da(2426,a+1628|0,d|0,c- -64|0,c+32|0,c+96|0,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break c}a=v[c+52>>2];if(a){dc(a)}a=v[c+40>>2];if(a){dc(a)}a=v[c+84>>2];if(a){dc(a)}a=v[c+72>>2];if(a){dc(a)}a=v[c+116>>2];if(a){dc(a)}a=v[c+104>>2];if(!a){break d}dc(a);break d}v[c+112>>2]=0;v[c+116>>2]=0;v[c+120>>2]=0;v[c+124>>2]=0;v[c+104>>2]=0;v[c+108>>2]=0;v[c+96>>2]=2147483632;v[c+80>>2]=0;v[c+84>>2]=0;v[c+88>>2]=0;v[c+92>>2]=0;v[c+72>>2]=0;v[c+76>>2]=0;v[c+64>>2]=2147483632;v[c+48>>2]=0;v[c+52>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=2147483632;v[c+16>>2]=0;v[c+20>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=2147483632;d=v[a+1524>>2];v[299999]=0;da(2427,a+1628|0,(((d|0)==1?1180:1304)+a|0)+96|0,c- -64|0,c+32|0,c+96|0,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break b}a=v[c+52>>2];if(a){dc(a)}a=v[c+40>>2];if(a){dc(a)}a=v[c+84>>2];if(a){dc(a)}a=v[c+72>>2];if(a){dc(a)}a=v[c+116>>2];if(a){dc(a)}a=v[c+104>>2];if(!a){break d}dc(a)}Qb=c+128|0;return}a=P()|0;O()|0;break a}a=P()|0;O()|0;Md(c)}Md(c+32|0);Md(c- -64|0);Md(c+96|0);T(a|0);L()}function ifa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;h=Qb-32|0;Qb=h;k=fc(72);v[299999]=0;j=S(5306,k|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){a=P()|0;O()|0;dc(k);T(a|0);L()}v[h>>2]=0;Wc(h,j);a:{b:{c:{d:{f=v[c>>2];if(v[f+64>>2]){v[299999]=0;U(5063,v[h>>2],f|0,0);i=v[299999];v[299999]=0;if((i|0)==1){break d}v[299999]=0;Q(4344,c|0,h|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break d}f=v[c>>2]}e:{f:{g:{if(!(v[a+136>>2]<=(d|0)&v[a+140>>2]>=(d|0))){v[299999]=0;c=aa(4369,h+8|0,227445,271729,619,307558,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break g}v[299999]=0;R(4370,c|0);a=v[299999];v[299999]=0;if((a|0)!=1){break c}b=P()|0;O()|0;qc(c);break a}g=x[b+8>>1];m=x[b+10>>1];k=x[f+10>>1];d=v[a+124>>2]+(d-v[a+128>>2]<<4)|0;j=v[d+4>>2];n=v[d+8>>2];i=v[d+12>>2];e=v[d>>2];v[299999]=0;V(5307,b|0,2);d=v[299999];v[299999]=0;if((d|0)==1){break f}d=v[c>>2];v[299999]=0;l=((n+((m>>>1|0)-m|0)|0)+(((n-j|0)+1|0)/-2|0)|0)+1|0;V(5307,d|0,2-l|0);d=v[299999];v[299999]=0;if((d|0)==1){break f}d=v[c>>2];v[299999]=0;V(5307,d|0,(l+(m-k|0)|0)+2|0);d=v[299999];v[299999]=0;if((d|0)==1){break f}v[299999]=0;R(5308,b|0);d=v[299999];v[299999]=0;if((d|0)==1){break e}d=v[c>>2];v[299999]=0;R(5308,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break e}n=v[c>>2];if(!v[b+20>>2]){v[299999]=0;R(4368,b|0);d=v[299999];v[299999]=0;if((d|0)==1){break e}}i=((e-i|0)+1|0)/-2|0;f=x[b+8>>1];h:{if(g>>>0>=f>>>0){d=x[b+12>>1];if(v[282398]<(d+x[b+14>>1]|0)){v[299999]=0;c=aa(4369,h+8|0,260231,271771,577,336631,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break e}v[299999]=0;R(4370,c|0);a=v[299999];v[299999]=0;if((a|0)!=1){break c}b=P()|0;O()|0;qc(c);break a}j=v[b+20>>2];k=d+v[282397]|0;break h}j=v[b+20>>2];k=j+(x[b+12>>1]+B(g,x[b+14>>1])|0)|0}if(!j){v[299999]=0;R(4368,b|0);d=v[299999];v[299999]=0;if((d|0)==1){break e}f=x[b+8>>1]}o=g-1|0;i:{if(!(g>>>0<=(f&65535)>>>0?g:0)){d=x[b+12>>1];if(v[282398]<(d+x[b+14>>1]|0)){v[299999]=0;c=aa(4369,h+8|0,260231,271771,577,336631,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break e}v[299999]=0;R(4370,c|0);a=v[299999];v[299999]=0;if((a|0)!=1){break c}b=P()|0;O()|0;qc(c);break a}j=d+v[282397]|0;break i}j=v[b+20>>2]+(x[b+12>>1]+B(o,x[b+14>>1])|0)|0}f=v[c>>2];if(!v[f+20>>2]){v[299999]=0;R(4368,f|0);d=v[299999];v[299999]=0;if((d|0)==1){break e}}j:{k:{g=i+(e+(g>>>1|0)|0)|0;if((g|0)>=-1){d=g+1|0;if((d|0)>1]){break k}}d=x[f+12>>1];if(v[282398]<(d+x[f+14>>1]|0)){v[299999]=0;c=aa(4369,h+8|0,260231,271771,577,336631,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break e}v[299999]=0;R(4370,c|0);a=v[299999];v[299999]=0;if((a|0)!=1){break c}b=P()|0;O()|0;qc(c);break a}i=d+v[282397]|0;break j}i=v[f+20>>2]+(x[f+12>>1]+B(d,x[f+14>>1])|0)|0}e=v[c>>2];if(!v[e+20>>2]){v[299999]=0;R(4368,e|0);d=v[299999];v[299999]=0;if((d|0)==1){break e}}l:{if(!((g|0)>1]&(g|0)>=0)){d=x[e+12>>1];if(v[282398]<(d+x[e+14>>1]|0)){v[299999]=0;c=aa(4369,h+8|0,260231,271771,577,336631,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break e}v[299999]=0;R(4370,c|0);a=v[299999];v[299999]=0;if((a|0)!=1){break c}b=P()|0;O()|0;qc(c);break a}d=d+v[282397]|0;break l}d=v[e+20>>2]+(x[e+12>>1]+B(g,x[e+14>>1])|0)|0}e=v[c>>2];if(!v[e+20>>2]){v[299999]=0;R(4368,e|0);c=v[299999];v[299999]=0;if((c|0)==1){break e}}m:{if(!((g|0)<=x[e+8>>1]&(g|0)>=1)){c=x[e+12>>1];if(v[282398]<(c+x[e+14>>1]|0)){v[299999]=0;c=aa(4369,h+8|0,260231,271771,577,336631,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break e}v[299999]=0;R(4370,c|0);a=v[299999];v[299999]=0;if((a|0)!=1){break c}b=P()|0;O()|0;qc(c);break a}e=c+v[282397]|0;break m}e=v[e+20>>2]+(x[e+12>>1]+B(x[e+14>>1],g-1|0)|0)|0}c=v[v[a>>2]+52>>2];v[299999]=0;pb(c|0,a|0,b|0,n|0,l|0,m|0,o|0,g|0,k|0,j|0,i+l|0,d+l|0,e+l|0);a=v[299999];v[299999]=0;if((a|0)==1){break e}c=v[h>>2];v[h>>2]=0;n:{if(!c){break n}v[299999]=0;b=v[c+4>>2]-1|0;v[c+4>>2]=b;a=v[299999];v[299999]=0;if((a|0)==1){break b}if(b){break n}v[299999]=0;R(4338,c|0);a=v[299999];v[299999]=0;if((a|0)==1){break b}}Qb=h+32|0;return}b=P()|0;O()|0;break a}b=P()|0;O()|0;break a}b=P()|0;O()|0;break a}b=P()|0;O()|0;break a}L()}W(0)|0;O()|0;lc();L()}ec(h);T(b|0);L()}function q1(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=Qb-16|0;Qb=e;a:{b:{b=v[a+352>>2];if(b){break b}v[a+348>>2]=4200;b=Ub[v[a+152>>2]](4200)|0;v[a+352>>2]=b;if(b){break b}b=1;pc(a,1,0,0);break a}c:{d:{e:{if(!(w[a+369|0]!=1?w[a+345|0]:0)){b=PA(a,b,a+392|0,8,e+8|0);if(b){break a}if(w[a+368|0]){b=a+369|0}else{if(v[e+8>>2]!=8){b=4;pc(a,4,0,0);break a}b=1;f:{if((Aq(v[a+352>>2])|0)==-1991225785){break f}b=3;if((Aq(v[a+352>>2])|0)==-1958064569){break f}b=2;if((Aq(v[a+352>>2])|0)==-1974645177){break f}b=1025;pc(a,1025,0,0);break a}v[a+8>>2]=b;if((Aq(v[a+352>>2]+4|0)|0)!=218765834){break e}b=a+345|0}t[b|0]=1}b=0;if(w[a+368|0]){break a}i=a+396|0;h=a+392|0;while(1){if(!(w[a+432|0]|!w[a+344|0])){t[a+497|0]=0}g:{if(v[a+400>>2]){b=v[a+516>>2];h:{i:{if(b){while(1){b=Ub[v[b+4>>2]](a,b)|0;if(b){break a}b=v[a+516>>2];if(!b){break i}if(w[a+497|0]|w[a+499|0]){break h}if(!(w[a+432|0]|!w[a+344|0])){t[a+497|0]=0}b=v[b+8>>2];v[a+516>>2]=b;if(!b){if(w[a+285|0]|!w[a+304|0]){break i}b=MA(a);if(b){break a}b=v[a+516>>2];if(!b){break i}if(w[a+497|0]|w[a+499|0]){break h}}if(!w[a+500|0]){continue}break i}}j:{k:{switch(w[a+498|0]-1|0){case 0:b=nJ(a);break j;case 1:b=mJ(a);break j;case 2:case 3:b=Uv(a);break j;case 4:b=m1(a);break j;case 6:b=kJ(a);break j;case 5:case 7:b=lJ(a);break j;case 8:b=l1(a);break j;case 9:b=k1(a);break j;case 10:break k;default:break i}}b=j1(a)}if(b){break a}}if(w[a+346|0]|(w[a+497|0]|w[a+499|0])){break h}t[a+369|0]=0;b=v[a+400>>2];b=tJ(a,v[b+4>>2],v[b+8>>2]);if(b){break a}if(!w[a+502|0]|(w[a+497|0]|w[a+368|0])){break h}b=qJ(a);if(b){break a}}b=v[a+400>>2];c=v[b>>2];v[a+400>>2]=c;if(!c){v[a+404>>2]=0}l:{m:{if(!w[b+12|0]){break m}c=v[a+160>>2];if(!c){break m}Ub[c|0](a,v[b+4>>2],v[b+8>>2]);break l}c=v[b+4>>2];if(!c){break l}Ub[v[a+156>>2]](c,v[b+8>>2])}Ub[v[a+156>>2]](b,24);break g}f=v[a+352>>2];j=v[a+348>>2];v[e+12>>2]=0;b=v[a+516>>2];n:{o:{if(b){while(1){b=Ub[v[b+4>>2]](a,b)|0;if(b){break a}b=v[a+516>>2];if(!b){break o}if(w[a+497|0]){break g}if(w[a+499|0]){break n}if(!(w[a+432|0]|!w[a+344|0])){t[a+497|0]=0}b=v[b+8>>2];v[a+516>>2]=b;if(!b){if(w[a+285|0]|!w[a+304|0]){break o}b=MA(a);if(b){break a}b=v[a+516>>2];if(!b){break o}if(w[a+497|0]){break g}if(w[a+499|0]){break n}}if(!w[a+500|0]){continue}break o}}p:{q:{switch(w[a+498|0]-1|0){case 0:b=nJ(a);break p;case 1:b=mJ(a);break p;case 2:case 3:b=Uv(a);break p;case 4:b=m1(a);break p;case 6:b=kJ(a);break p;case 5:case 7:b=lJ(a);break p;case 8:b=l1(a);break p;case 9:b=k1(a);break p;case 10:break q;default:break o}}b=j1(a)}if(b){break a}}if(w[a+497|0]){break g}if(w[a+499|0]){break n}r:{if(w[a+346|0]){break r}s:{b=w[a+369|0];t:{if(!(b|!w[a+500|0])){t[a+496|0]=0;break t}c=0;if(b>>>0>2){break s}}b=PA(a,f,h,4,e+12|0);if(b){break a}if(w[a+368|0]){t[a+369|0]=2;break r}b=Aq(f);v[a+388>>2]=b;c=4;if(b>>>0<=134217727){break s}b=1028;break a}if(w[a+368|0]){break r}u:{b=w[a+369|0];if(b>>>0<=2){g=c;c=v[e+12>>2];if((g|0)!=(c|0)){break u}}c=v[a+388>>2]+(w[a+116|0]&15?8:4)|0;v:{d=v[a+408>>2];if(!d){break v}g=v[d+20>>2];if(c>>>0>g>>>0){break v}v[d+20>>2]=g-c;b=v[d+16>>2];v[d+16>>2]=b+c;t[a+369|0]=0;b=sJ(a,b,c);if(b){break a}if(v[d+20>>2]){break r}r1(a);break r}if(c>>>0>>0){b=PA(a,f,h,c,e+12|0);if(b){break a}if(w[a+368|0]){t[a+369|0]=3;break r}if((c|0)!=v[e+12>>2]){break d}b=sJ(a,f,c);if(!b){break r}break a}if(c>>>0>16777216){b=1065;break c}w:{if(b){d=v[a+360>>2];break w}v[a+396>>2]=0;b=1;d=c+1|0;v[a+356>>2]=d;d=Ub[v[a+152>>2]](d)|0;v[a+360>>2]=d;if(!d){break c}}b=PA(a,d,i,c,e+12|0);if(b){break a}if(w[a+368|0]){t[a+369|0]=4;break r}if((c|0)!=v[e+12>>2]){break d}b=sJ(a,v[a+360>>2],c);c=v[a+360>>2];if(c){Ub[v[a+156>>2]](c,v[a+356>>2]);v[a+360>>2]=0}if(!b){break r}break a}b=s1(a);if(b){break a}b=4;if(w[a+286|0]|c|(w[a+285|0]|w[a+289|0])){break c}}if(w[a+497|0]){break g}}if(w[a+368|0]|!w[a+502|0]){break g}b=qJ(a);if(b){break a}}if(!(v[a+516>>2]|!w[a+346|0])){b=0;break a}b=0;if(w[a+368|0]|w[a+499|0]){break a}if(!w[a+497|0]){continue}if(!w[a+344|0]){break a}if(!w[a+432|0]){continue}break}break a}b=1025;pc(a,1025,0,0);break a}b=4}pc(a,b,0,0)}Qb=e+16|0;return b}function $0(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;v[a+984>>2]=0;v[a+988>>2]=0;v[a+976>>2]=0;v[a+968>>2]=0;v[a+1012>>2]=0;v[a+2276>>2]=0;v[a+2280>>2]=0;v[a+536>>2]=0;j=a+2284|0;v[j>>2]=0;v[j+4>>2]=0;a:{b:{l=yg(a,b);c:{if(l){i=v[l+88>>2];if(w[i+33|0]){if(w[l+65|0]?1:w[l+64|0]){i=Ss(a,l);if(i){break c}i=v[l+88>>2]}v[a+2268>>2]=h;v[a+2264>>2]=g;v[a+2260>>2]=f;v[a+2256>>2]=e;t[a+2253|0]=d;t[a+2252|0]=c;v[a+2248>>2]=l;c=v[i+36>>2];v[a+316>>2]=c;m=v[i+40>>2];v[a+320>>2]=m;j=w[i+44|0];t[a+324|0]=j;k=w[i+45|0];t[a+325|0]=k;n=w[i+46|0];t[a+326|0]=n;o=w[i+47|0];t[a+327|0]=o;p=w[i+48|0];t[a+328|0]=p;b=j;d:{if(d>>>0>6){break d}q=a;e:{f:{b=1<>>0<=m>>>0&e+g>>>0<=c>>>0)){pc(a,1066,0,0);return 1066}v[a+320>>2]=f;v[a+316>>2]=e;m=f;c=e;n:{switch(d|0){case 2:case 5:c=k-4|0;c=(c<<7|(c&254)>>>1)&255;if(c>>>0<6){break k}break a;case 0:break l;case 3:case 6:break n;default:break h}}c=k-4|0;c=c<<7|(c&254)>>>1;d=c&255;if(d>>>0<6){break j}break a;case 7:break h;case 0:break m}}v[a+320>>2]=f;v[a+316>>2]=e}i=xj(a,l,e,f,b&255,k&255,n,o,p,0);if(i){break c}v[a+536>>2]=l;break g}if(!(51>>>c&1)){break a}i=8;k=0;break i}if(!(51>>>d&1)){break a}c=c&255;c=c<<3;d=c&31;i=(c&63)>>>0>=32?2568>>>d|0:((1<>>d;d=c&31;f=512>>>d|0;k=(c&63)>>>0>=32?f:f|((1<>2];v[a+536>>2]=d;i=xj(a,d,c,m,b&255,k&255,n,o,p,1);if(i){break c}d=v[v[a+528>>2]+88>>2];c=v[l+88>>2];b=w[c+55|0];t[d+55|0]=b;j=w[c+56|0];t[d+56|0]=j;o:{if(!b){break o}v[d+64>>2]=v[c+64>>2];e=v[c+64>>2];if(!e){break o}b=0;if((e|0)!=1){g=e&-2;while(1){k=d+68|0;h=B(b,3);f=k+h|0;m=c+68|0;h=m+h|0;t[f|0]=w[h|0];t[f+1|0]=w[h+1|0];t[f+2|0]=w[h+2|0];h=B(b|1,3);f=h+k|0;h=h+m|0;t[f|0]=w[h|0];t[f+1|0]=w[h+1|0];t[f+2|0]=w[h+2|0];b=b+2|0;g=g-2|0;if(g){continue}break}}if(!(e&1)){break o}e=B(b,3);b=e+d|0;e=c+e|0;t[b+68|0]=w[e+68|0];t[b+69|0]=w[e+69|0];t[b+70|0]=w[e+70|0]}if(j){u[d+836>>1]=x[c+836>>1];u[d+838>>1]=x[c+838>>1];u[d+840>>1]=x[c+840>>1];u[d+842>>1]=x[c+842>>1];v[d+844>>2]=v[c+844>>2];gc(d+848|0,c+848|0,256)}b=0;p:{if(!(w[a+476|0]?1:w[a+496|0])|(w[a+460|0]|!w[a+432|0])){break p}c=v[v[a+2248>>2]+88>>2];if(w[a+324|0]!=w[c+44|0]){break p}b=w[a+325|0]==w[c+45|0]}t[a+2272|0]=b}i=0;q:{switch(w[a+325|0]){case 0:r:{switch(w[a+324|0]-1|0){case 0:if(!w[a+328|0]){v[a+1012>>2]=891;break b}v[a+1012>>2]=892;break b;case 1:if(!w[a+328|0]){v[a+1012>>2]=893;break b}v[a+1012>>2]=894;break b;case 3:if(!w[a+328|0]){v[a+1012>>2]=895;break b}v[a+1012>>2]=896;break b;case 7:if(!w[a+328|0]){v[a+1012>>2]=897;break b}v[a+1012>>2]=898;break b;case 15:break r;default:break c}}if(!w[a+328|0]){v[a+1012>>2]=899;break b}v[a+1012>>2]=900;break b;case 2:s:{switch(w[a+324|0]-8|0){case 0:if(!w[a+328|0]){v[a+1012>>2]=901;break b}v[a+1012>>2]=902;break b;case 8:break s;default:break c}}if(!w[a+328|0]){v[a+1012>>2]=903;break b}v[a+1012>>2]=904;break b;case 3:t:{switch(w[a+324|0]-1|0){case 0:if(!w[a+328|0]){v[a+1012>>2]=905;break b}v[a+1012>>2]=906;break b;case 1:if(!w[a+328|0]){v[a+1012>>2]=907;break b}v[a+1012>>2]=908;break b;case 3:if(!w[a+328|0]){v[a+1012>>2]=909;break b}v[a+1012>>2]=910;break b;case 7:break t;default:break c}}if(!w[a+328|0]){v[a+1012>>2]=911;break b}v[a+1012>>2]=912;break b;case 4:u:{switch(w[a+324|0]-8|0){case 0:if(!w[a+328|0]){v[a+1012>>2]=913;break b}v[a+1012>>2]=914;break b;case 8:break u;default:break c}}if(!w[a+328|0]){v[a+1012>>2]=915;break b}v[a+1012>>2]=916;break b;case 6:break q;default:break c}}v:{switch(w[a+324|0]-8|0){case 0:if(!w[a+328|0]){v[a+1012>>2]=917;break b}v[a+1012>>2]=918;break b;case 8:break v;default:break c}}if(!w[a+328|0]){v[a+1012>>2]=919;break b}v[a+1012>>2]=920;break b}pc(a,1058,0,0);return 1058}i=1045;pc(a,1045,0,0)}return i}return 0}pc(a,1059,0,0);return 1059}function sP(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=Qb+-64|0;Qb=d;a:{b:{if(!w[a+144|0]){a=vc(d+40|0,231625,242011,164,226800,0);v[299999]=0;R(4370,a|0);e=v[299999];v[299999]=0;if((e|0)!=1){break b}e=P()|0;O()|0;qc(a);T(e|0);L()}e=d+32|0;Pl(e,v[a+108>>2]);v[d+40>>2]=0;v[d+44>>2]=v[282402];v[299999]=0;V(4503,d+24|0,e|0);e=v[299999];v[299999]=0;c:{d:{e:{f:{g:{if((e|0)!=1){v[299999]=0;i=v[d+24>>2];e=Z(4504,i|0,d+40|0,0,0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break f}if(!e){break g}f=a+148|0;j=v[a+132>>2]>1?v[a+140>>2]:-1;k=j;h:{i:{j:{while(1){k:{e=h;l:{if(k){v[299999]=0;h=Z(4504,i|0,d+40|0,0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){h=e;break k}if(h){break l}j=e}if(v[a+140>>2]>-1){break g}v[a+140>>2]=j;break g}v[299999]=0;b=Nc(d+40|0,320500,-1);c=v[299999];v[299999]=0;h=e+1|0;if((c|0)==1){break k}m:{if(!b){v[299999]=0;v[d+8>>2]=0;Q(4336,d+8|0,i|0)|0;b=v[299999];v[299999]=0;n:{o:{if((b|0)!=1){v[299999]=0;$(4823,d+16|0,a|0,v[d+8>>2],l|0);b=v[299999];v[299999]=0;l=l+1|0;if((b|0)==1){break o}b=v[d+16>>2];v[d+16>>2]=0;p:{if(!b){break p}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;g=v[299999];v[299999]=0;if((g|0)==1){break a}if(c){break p}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}c=v[d+8>>2];v[d+8>>2]=0;if(!c){break m}v[299999]=0;b=v[c+4>>2]-1|0;v[c+4>>2]=b;g=v[299999];v[299999]=0;if((g|0)!=1){if(b){break m}v[299999]=0;R(4338,c|0);b=v[299999];v[299999]=0;if((b|0)!=1){break m}}break a}b=W(989228)|0;c=O()|0;break n}b=W(989228)|0;c=O()|0;ec(d+8|0)}g=ja(989228)|0;if((g|0)!=(c|0)){break i}b=ea(b|0)|0;c=v[v[a>>2]+64>>2];m=v[a+132>>2];v[299999]=0;U(c|0,a|0,b|0,(m|0)<2|0);b=v[299999];v[299999]=0;if((b|0)==1){break j}v[299999]=0;ba(4230);b=v[299999];v[299999]=0;if((b|0)!=1){break m}b=W(989228)|0;c=O()|0;break i}v[299999]=0;b=Nc(d+40|0,321483,-1);c=v[299999];v[299999]=0;if((c|0)==1){break k}if(!b){v[299999]=0;c=v[f>>2];b=v[299999];v[299999]=0;if((b|0)==1){break k}v[299999]=0;c=c|4096;b=f;if((c|0)!=v[b>>2]){v[b>>2]=c}c=v[299999];v[299999]=0;if((c|0)==1){break k}v[299999]=0;c=v[b>>2];g=v[299999];v[299999]=0;if((g|0)==1){break k}v[299999]=0;g=v[b>>2];b=c|2048;if((g|0)!=(b|0)){v[f>>2]=b}b=v[299999];v[299999]=0;if((b|0)!=1){break m}break k}v[299999]=0;b=Nc(d+40|0,242533,-1);c=v[299999];v[299999]=0;if((c|0)==1){break k}if(!b){v[299999]=0;b=v[f>>2];c=v[299999];v[299999]=0;if((c|0)==1){break k}v[299999]=0;b=b|2048;if((b|0)!=v[f>>2]){v[f>>2]=b}b=v[299999];v[299999]=0;if((b|0)!=1){break m}break k}v[299999]=0;b=Nc(d+40|0,239111,-1);c=v[299999];v[299999]=0;if((c|0)==1){break k}if(b){break m}v[299999]=0;b=v[f>>2];c=v[299999];v[299999]=0;if((c|0)==1){break k}v[299999]=0;b=b|2048;if((b|0)!=v[f>>2]){v[f>>2]=b}b=v[299999];v[299999]=0;if((b|0)==1){break k}}k=k-1|0;v[299999]=0;R(4781,i|0);b=v[299999];v[299999]=0;if((b|0)!=1){continue}}break}b=W(989228)|0;c=O()|0;g=ja(989228)|0;break i}b=W(989228)|0;c=O()|0;v[299999]=0;ba(4230);f=v[299999];v[299999]=0;if((f|0)!=1){break i}break h}if((c|0)!=(g|0)){break e}b=ea(b|0)|0;f=v[a+132>>2];if(v[a+140>>2]<=-1){v[a+140>>2]=(f|0)>2?h:e}e=v[v[a>>2]+64>>2];v[299999]=0;U(e|0,a|0,b|0,(f|0)<2|0);e=v[299999];v[299999]=0;if((e|0)!=1){v[299999]=0;ba(4230);e=v[299999];v[299999]=0;if((e|0)!=1){break g}b=P()|0;O()|0;break e}b=P()|0;O()|0;v[299999]=0;ba(4230);a=v[299999];v[299999]=0;if((a|0)!=1){break e}}break a}b=P()|0;O()|0;break d}v[299999]=0;sg(a+148|0,0,0,64,0);e=v[299999];v[299999]=0;if((e|0)==1){break f}a=v[a+108>>2];v[299999]=0;V(4494,a|0,1);a=v[299999];v[299999]=0;if((a|0)==1){break f}e=v[d+24>>2];v[d+24>>2]=0;q:{if(!e){break q}v[299999]=0;a=v[e+4>>2]-1|0;v[e+4>>2]=a;h=v[299999];v[299999]=0;if((h|0)!=1){if(a){break q}v[299999]=0;R(4338,e|0);a=v[299999];v[299999]=0;if((a|0)!=1){break q}}break a}ec(d+40|0);a=v[d+32>>2];v[d+32>>2]=0;r:{if(!a){break r}v[299999]=0;e=v[a+4>>2]-1|0;v[a+4>>2]=e;h=v[299999];v[299999]=0;if((h|0)==1){break c}if(e){break r}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break c}}Qb=d- -64|0;return}b=P()|0;O()|0}ec(d+24|0)}ec(d+40|0);ec(d+32|0);T(b|0);L()}W(0)|0;O()|0;lc()}L()}W(0)|0;O()|0;lc();L()}function Ku(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;l=Qb-16|0;Qb=l;a:{if(!a){break a}b:{switch(v[a+4>>2]-2|0){case 0:f=cV(b,c,a);break a;case 16:c=0;b=0;while(1){d=0;if(v[a+4>>2]==18){d=qk(0,v[a+8>>2],v[a+12>>2])}f=d;if(c){v[c>>2]=d;f=b}c=d;b=f;a=v[a>>2];if(a){continue}break};break a;case 7:case 11:f=0;c:{if(!a){break c}h=a;e=qo(v[a+56>>2]);f=0;if(!e){break c}a=v[h+8>>2];if(a){m=e,n=Ub[v[259710]](a)|0,v[m+8>>2]=n}b=v[h+60>>2];if(b){a=b;while(1){c=a;a=a+1|0;if(w[c|0]){continue}break}a=0;c=c-b|0;d:{if((c|0)<0){break d}f=Ub[v[259707]](c+1|0)|0;if(!f){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break d}a=gc(f,b,c);t[c+a|0]=0}v[e+60>>2]=a}b=v[h+72>>2];if(b){a=b;while(1){c=a;a=a+1|0;if(w[c|0]){continue}break}a=0;c=c-b|0;e:{if((c|0)<0){break e}f=Ub[v[259707]](c+1|0)|0;if(!f){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break e}a=gc(f,b,c);t[c+a|0]=0}v[e+72>>2]=a}v[e+76>>2]=v[h+76>>2];v[e+36>>2]=v[h+36>>2];v[e+40>>2]=v[h+40>>2];f:{g:{if(!d){break g}v[e+12>>2]=0;v[e+16>>2]=0;a=v[h+44>>2];if(a){a=KF(a);v[e+44>>2]=a;if(!a){$p(e);f=0;break c}gl(a,e);v[v[e+44>>2]+20>>2]=e}g=v[h+52>>2];if(g){c=0;d=0;while(1){a=0;if(v[g+4>>2]==18){a=qk(0,v[g+8>>2],v[g+12>>2])}b=a;if(c){v[c>>2]=a;b=d}c=a;d=b;g=v[g>>2];if(g){continue}break}v[e+52>>2]=d}g=v[h+12>>2];if(!g){break g}b=0;c=0;while(1){h:{i:{if(v[g+4>>2]==14){a=v[e+44>>2];if(!a){a=KF(g);if(!a){break f}v[a+20>>2]=e;v[a+32>>2]=e;v[e+44>>2]=a;$f(e,a);break h}$f(e,a);break i}a=Ku(g,e,e,1)}if(!a){break f}}j:{k:{if(!c){b=0;c=a;break k}if((a|0)==(b|0)){break j}v[b+24>>2]=a}v[a+28>>2]=b;b=a}g=v[g+24>>2];if(g){continue}break}v[e+16>>2]=0;v[e+12>>2]=c;while(1){a=c;c=v[a+24>>2];if(c){continue}break}v[e+16>>2]=a}f=e;break c}v[e+12>>2]=0;v[e+16>>2]=0;f=e}break a;case 8:case 10:case 12:case 13:case 14:case 15:break a;default:break b}}e=Ub[v[259704]](60)|0;if(!e){v[l>>2]=283853;oc(0,0,0,0,0,2,2,3,283853,0,0,0,350051,l);break a}v[e>>2]=0;v[e+4>>2]=0;v[e+56>>2]=0;v[e+48>>2]=0;v[e+52>>2]=0;v[e+40>>2]=0;v[e+44>>2]=0;v[e+32>>2]=0;v[e+36>>2]=0;v[e+24>>2]=0;v[e+28>>2]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;f=v[a+4>>2];v[e+32>>2]=b;v[e+4>>2]=f;v[e+20>>2]=c;f=e;j=v[a+8>>2];g=883676;l:{m:{if((j|0)==883676){break m}g=883681;if((j|0)==883681){break m}g=883691;if((j|0)==883691){break m}if(!j){break l}n:{if(!b){break n}g=v[b+80>>2];if(!g){break n}g=Rd(g,j,-1);break m}g=we(j)}v[f+8>>2]=g}f=v[a+4>>2];o:{if((f|0)!=1){g=v[a+40>>2];if(!g|(f|0)==5|((f|0)==20|(f|0)==19)){break o}m=e,n=we(g),v[m+40>>2]=n;break o}u[e+56>>1]=x[a+56>>1]}if(c){p:{if(!v[294265]){break p}f=v[294262];if(!f){break p}Ub[f|0](e)}f=$f(c,e);if((e|0)!=(f|0)){break a}}q:{if(!d){break q}f=v[a+4>>2]-1|0;r:{if((f|0)!=18?f:0){break r}i=v[a+48>>2];if(!i){break r}j=e;if(i){while(1){g=0;if(v[i+4>>2]==18){g=qk(0,v[i+8>>2],v[i+12>>2])}f=g;if(k){v[k>>2]=g;f=h}k=g;h=f;i=v[i>>2];if(i){continue}break}}else{h=0}v[j+48>>2]=h}f=v[a+36>>2];if(f){f=sk(b,e,v[f+12>>2]);s:{if(f){break s}g=sk(v[a+32>>2],a,v[v[a+36>>2]+12>>2]);if(g){f=e;while(1){h=f;f=v[f+20>>2];if(f){continue}break}f=qk(h,v[g+8>>2],v[g+12>>2]);break s}f=bV(b,e,v[a+36>>2])}v[e+36>>2]=f}f=v[a+4>>2];h=f-1|0;t:{if((h|0)!=18?h:0){break t}i=v[a+44>>2];if(!i){break t}j=e;f=0;k=0;h=0;u:{v:{if(e){if(!i|v[e+4>>2]!=1){break u}break v}if(i){break v}break u}while(1){f=0;g=cV(0,e,i);if(!g){break u}f=g;if(k){v[k+24>>2]=g;v[g+28>>2]=k;f=h}k=g;h=f;i=v[i+24>>2];if(i){continue}break}}v[j+44>>2]=f;f=v[a+4>>2]}w:{if((f|0)==5){if(!b){a=mi(v[e+8>>2]);v[e+12>>2]=a;break w}if(v[a+32>>2]!=(b|0)){a=v[e+8>>2];x:{y:{if(!b){break y}d=v[b+44>>2];z:{if(!d){break z}d=v[d+48>>2];if(!d){break z}d=Se(d,a,0,0);if(d){break x}}if(v[b+40>>2]==1){break y}b=v[b+48>>2];if(!b){break y}b=v[b+48>>2];if(!b){break y}d=Se(b,a,0,0);if(d){break x}}d=mi(a)}a=d;v[e+12>>2]=a;break w}a=v[a+12>>2];v[e+12>>2]=a;break w}a=v[a+12>>2];if(!a|(d|0)==2){break q}d=aV(a,b,e);v[e+12>>2]=d;if(!d){a=0;break w}f=v[d+24>>2];A:{if(!f){a=d;break A}while(1){v[d+20>>2]=e;a=f;d=a;f=v[a+24>>2];if(f){continue}break}}v[a+20>>2]=e}v[e+16>>2]=a}if(!(!v[294265]|c)){f=e;a=v[294262];if(!a){break a}Ub[a|0](e)}f=e}Qb=l+16|0;return f}function j3(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;j=Qb-16|0;Qb=j;v[a+76>>2]=0;v[a+80>>2]=0;d=a- -64|0;v[d>>2]=0;v[d+4>>2]=0;v[a+56>>2]=0;d=v[b+8>>2];a:{b:{c:{if(d&7){break c}f=v[b+64>>2];if(!((f|0)<0|(f|0)>v[b+60>>2])){v[b+8>>2]=d|4;break c}d=v[b+28>>2];v[b+28>>2]=d-1;d:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;e=w[d|0];break d}e=Hc(b,1);if((e|0)==-1){break c}}t[a+12|0]=e;d=v[b+8>>2];if(d&7){break c}f=v[b+64>>2];if(!((f|0)<0|(f|0)>v[b+60>>2])){v[b+8>>2]=d|4;break c}d=v[b+28>>2];v[b+28>>2]=d-1;e:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;e=w[d|0];break e}e=Hc(b,1);if((e|0)==-1){break c}}t[a+13|0]=e;d=v[b+8>>2];if(d&7){break c}f=v[b+64>>2];if(!((f|0)<0|(f|0)>v[b+60>>2])){v[b+8>>2]=d|4;break c}d=v[b+28>>2];v[b+28>>2]=d-1;f:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;e=w[d|0];break f}e=Hc(b,1);if((e|0)==-1){break c}}t[a+52|0]=e;d=v[b+8>>2];if(d&7){break c}f=v[b+64>>2];if(!((f|0)<0|(f|0)>v[b+60>>2])){v[b+8>>2]=d|4;break c}d=v[b+28>>2];v[b+28>>2]=d-1;g:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;v[b+24>>2]=v[b+24>>2]+1;break g}if((Hc(b,1)|0)==-1){break c}}d=a+16|0;if(og(b,d)){break c}if(og(b,d+4|0)){break c}if(og(b,d+8|0)){break c}if(og(b,d+12|0)){break c}if(og(b,d+16|0)){break c}if(og(b,d+20|0)){break c}if(og(b,d+24|0)){break c}if(og(b,d+28|0)){break c}if(og(b,d+32|0)){break c}if(wh(b,2,j+8|0)){break c}v[a+60>>2]=v[j+8>>2];if(wh(b,2,j+8|0)){break c}v[a+72>>2]=v[j+8>>2];f=w[a+12|0];h:{if(!f){g=1;break h}d=w[a+52|0];h=f&7;i:{if(f-1>>>0<7){g=1;break i}i=f&248;g=1;while(1){g=B(d,B(d,B(d,B(d,B(d,B(d,B(d,B(d,g))))))));i=i-8|0;if(i){continue}break}}if(!h){break h}while(1){g=B(d,g);h=h-1|0;if(h){continue}break}}k=B(w[a+13|0],g);d=jc(k);v[a+56>>2]=d;if(!d){break b}d=jc(B(v[a+60>>2],w[a+12|0]));v[a+68>>2]=d;if(!d){break c}e=jc(w[a+12|0]<<2);v[a+64>>2]=e;if(!e){break c}f=w[a+12|0];j:{if(!f){break j}d=v[a+60>>2];v[e>>2]=v[a+68>>2];e=1;if((f|0)==1){break j}g=f-1|0;h=g&3;if(f-2>>>0>=3){i=g&-4;while(1){v[v[a+64>>2]+(e<<2)>>2]=v[a+68>>2]+B(d,e);f=e+1|0;v[v[a+64>>2]+(f<<2)>>2]=v[a+68>>2]+B(d,f);f=e+2|0;v[v[a+64>>2]+(f<<2)>>2]=v[a+68>>2]+B(d,f);f=e+3|0;v[v[a+64>>2]+(f<<2)>>2]=v[a+68>>2]+B(d,f);e=e+4|0;i=i-4|0;if(i){continue}break}}if(!h){break j}while(1){v[v[a+64>>2]+(e<<2)>>2]=v[a+68>>2]+B(d,e);e=e+1|0;h=h-1|0;if(h){continue}break}}d=jc(B(v[a+72>>2],w[a+13|0]));v[a+80>>2]=d;if(!d){break c}e=jc(w[a+13|0]<<2);v[a+76>>2]=e;if(!e){break c}f=w[a+13|0];k:{if(!f){break k}d=v[a+72>>2];v[e>>2]=v[a+80>>2];e=1;if((f|0)==1){break k}g=f-1|0;h=g&3;if(f-2>>>0>=3){i=g&-4;while(1){v[v[a+76>>2]+(e<<2)>>2]=v[a+80>>2]+B(d,e);g=e+1|0;v[v[a+76>>2]+(g<<2)>>2]=v[a+80>>2]+B(d,g);g=e+2|0;v[v[a+76>>2]+(g<<2)>>2]=v[a+80>>2]+B(d,g);g=e+3|0;v[v[a+76>>2]+(g<<2)>>2]=v[a+80>>2]+B(d,g);e=e+4|0;i=i-4|0;if(i){continue}break}}if(!h){break k}while(1){v[v[a+76>>2]+(e<<2)>>2]=v[a+80>>2]+B(d,e);e=e+1|0;h=h-1|0;if(h){continue}break}}i=w[a+12|0];l:{if(!i){break l}g=0;h=v[a+60>>2];if((h|0)<=0){break l}while(1){e=0;if((h|0)>0){while(1){if(rB(b,v[v[a+64>>2]+(g<<2)>>2]+e|0)){break c}e=e+1|0;h=v[a+60>>2];if((e|0)<(h|0)){continue}break}i=w[a+12|0]}g=g+1|0;if(g>>>0<(i&255)>>>0){continue}break}f=w[a+13|0]}g=0;d=0;m:{if(!f){break m}h=0;i=v[a+72>>2];if((i|0)<=0){d=f;break m}d=f;while(1){e=0;if((i|0)>0){while(1){if(rB(b,v[v[a+76>>2]+(h<<2)>>2]+e|0)){break c}e=e+1|0;i=v[a+72>>2];if((e|0)<(i|0)){continue}break}d=w[a+13|0]}h=h+1|0;if(h>>>0<(d&255)>>>0){continue}break}}if((k|0)>0){while(1){if(rB(b,v[a+56>>2]+g|0)){break c}g=g+1|0;if((k|0)!=(g|0)){continue}break}d=w[a+13|0]}f=d&255;d=w[a+12|0];i=B(d,v[a+60>>2]);k=v[a+72>>2];n:{if(!d){e=1;break n}b=w[a+52|0];g=d&7;o:{if(d-1>>>0<7){e=1;break o}h=d&248;e=1;while(1){e=B(b,B(b,B(b,B(b,B(b,B(b,B(b,B(b,e))))))));h=h-8|0;if(h){continue}break}}if(!g){break n}while(1){e=B(b,e);g=g-1|0;if(g){continue}break}}b=0;if(((i+B(f,e+k|0)|0)+44|0)==(c|0)){break a}}b=v[a+56>>2];if(!b){break b}dc(b)}b=v[a+64>>2];if(b){dc(b)}b=v[a+68>>2];if(b){dc(b)}b=v[a+76>>2];if(b){dc(b)}b=-1;a=v[a+80>>2];if(!a){break a}dc(a)}Qb=j+16|0;return b|0}function Ov(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;Yd(b,nc(b)<<1);a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{if(!nc(b)){if((nc(b)|0)!=1198679150){break Q}h=nc(b);R:{if(!h){break R}while(1){if(nc(b)){break P}c=nc(b);d=nc(b);S:{T:{U:{V:{W:{X:{if((c|0)<=1231975537){if((c|0)==1131180659){break V}if((c|0)==1198679110){break X}break a}if((c|0)==1231975538){break W}if((c|0)==1416785523){break U}if((c|0)!=1315774496){break a}if((d|0)!=1413830740){break O}c=nc(b);v[a+4>>2]=c;c=jc(c<<1);v[a+8>>2]=c;if(!c){break R}ic(c,0,v[a+4>>2]<<1);ye(b,v[a+8>>2],v[a+4>>2]<<1);break S}if((d|0)!=1701737837){break N}if(nc(b)){break M}if((nc(b)|0)!=1198679110){break L}if(nc(b)){break K}if((nc(b)|0)==1131639891){break S}X(47695,6490,941,194340);L()}if((d|0)!=1685026146){break J}g=Jd(b);if(!(D(g)<2147483648)){break T}v[a>>2]=~~g;break S}if((d|0)!=1449938035){break I}c=nc(b);u[a+12>>1]=c;d=jc(c<<16>>12);v[a+16>>2]=d;if(!d){break R}c=0;ic(d,0,u[a+12>>1]<<4);if(u[a+12>>1]<1){break S}while(1){if((nc(b)|0)!=1331849827){break H}Yd(b,nc(b)<<1);if(nc(b)){break G}if((nc(b)|0)!=1131180660){break F}if((nc(b)|0)!=4){break E}if(nc(b)){break D}if((nc(b)|0)!=1131180576){break C}if((nc(b)|0)!=1331849827){break B}e=ul(b);d=c<<4;v[(d+v[a+16>>2]|0)+8>>2]=e;if(nc(b)){break A}if((nc(b)|0)!=1417244773){break z}if((nc(b)|0)!=1701737837){break y}if(nc(b)){break x}nc(b);if(nc(b)){break w}e=nc(b);Y:{if((e|0)!=1433629267){f=0;if((e|0)==1181902659){break Y}f=1;if((e|0)==1113811779){break Y}X(3794,6490,1042,194340);L()}f=2}e=f;v[(d+v[a+16>>2]|0)+12>>2]=e;if(nc(b)){break v}if((nc(b)|0)!=1281586286){break u}if((nc(b)|0)!=1819242087){break t}e=nc(b);v[d+v[a+16>>2]>>2]=e;if(nc(b)){break s}if((nc(b)|0)!=1298428014){break r}if((nc(b)|0)!=1819242087){break q}e=nc(b);v[(d+v[a+16>>2]|0)+4>>2]=e;c=c+1|0;if((c|0)>1]){continue}break}break S}if((d|0)!=1449938035){break p}c=nc(b);u[a+20>>1]=c;d=jc(B(c<<16>>16,12));v[a+24>>2]=d;if(!d){break R}c=0;ic(d,0,B(u[a+20>>1],12));if(u[a+20>>1]<1){break S}while(1){if((nc(b)|0)!=1331849827){break o}Yd(b,nc(b)<<1);if(nc(b)){break n}if((nc(b)|0)!=1416785491){break m}if((nc(b)|0)!=3){break l}if(nc(b)){break k}if((nc(b)|0)!=1332765556){break j}if((nc(b)|0)!=1433302086){break i}if((nc(b)|0)!=592474723){break h}g=Jd(b);d=B(c,12);f=d+v[a+24>>2]|0;if(D(g)<2147483648){e=~~g}else{e=-2147483648}u[f+8>>1]=e;if(nc(b)){break g}if((nc(b)|0)!=1281586286){break f}if((nc(b)|0)!=1819242087){break e}e=nc(b);v[d+v[a+24>>2]>>2]=e;if(nc(b)){break d}if((nc(b)|0)!=1298428014){break c}if((nc(b)|0)!=1819242087){break b}e=nc(b);v[(d+v[a+24>>2]|0)+4>>2]=e;c=c+1|0;if((c|0)>1]){continue}break}break S}v[a>>2]=-2147483648}h=h-1|0;if(h){continue}break}}return}X(11805,6490,885,194340);L()}X(45745,6490,888,194340);L()}X(11805,6490,896,194340);L()}X(30830,6490,912,194340);L()}X(46520,6490,926,194340);L()}X(11805,6490,931,194340);L()}X(47202,6490,934,194340);L()}X(11805,6490,939,194340);L()}X(38114,6490,946,194340);L()}X(33969,6490,954,194340);L()}X(35320,6490,972,194340);L()}X(11805,6490,981,194340);L()}X(48237,6490,984,194340);L()}X(48656,6490,989,194340);L()}X(11805,6490,992,194340);L()}X(49210,6490,994,194340);L()}X(35320,6490,999,194340);L()}X(11805,6490,1007,194340);L()}X(49704,6490,1010,194340);L()}X(46520,6490,1015,194340);L()}X(11805,6490,1020,194340);L()}X(11805,6490,1028,194340);L()}X(11805,6490,1050,194340);L()}X(50230,6490,1053,194340);L()}X(50726,6490,1058,194340);L()}X(11805,6490,1066,194340);L()}X(51126,6490,1069,194340);L()}X(50726,6490,1074,194340);L()}X(33969,6490,1082,194340);L()}X(35320,6490,1101,194340);L()}X(11805,6490,1110,194340);L()}X(51555,6490,1113,194340);L()}X(52054,6490,1118,194340);L()}X(11805,6490,1124,194340);L()}X(52461,6490,1127,194340);L()}X(52941,6490,1132,194340);L()}X(53502,6490,1136,194340);L()}X(11805,6490,1145,194340);L()}X(50230,6490,1148,194340);L()}X(50726,6490,1153,194340);L()}X(11805,6490,1161,194340);L()}X(51126,6490,1164,194340);L()}X(50726,6490,1169,194340);L()}X(3794,6490,1176,194340);L()}function QE(a,b,c,d,e,f,g){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,w=0,x=0,y=0,z=0,B=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0;h=Qb-160|0;Qb=h;v[h+144>>2]=13;v[h+128>>2]=13;v[h+112>>2]=13;v[h+96>>2]=13;v[h+80>>2]=13;a:{if(d==f|e==g){break a}qf(b,v[a+4>>2],h+144|0,0);if(v[h+144>>2]==8){i=v[h+152>>2];B=Ub[v[v[i>>2]+76>>2]](i)|0;rc(B,220495,h+112|0,0);b:{c:{d:{if(v[h+112>>2]!=6){break d}i=v[h+120>>2];if(v[i+12>>2]!=4){break d}yc(i,0,h+80|0,0);i=v[h+80>>2];if(i-1>>>0<=1){s=(i|0)==1?+v[h+88>>2]:A[h+88>>3]}A[h>>3]=s;i=h+80|0;hc(i);yc(v[h+120>>2],1,i,0);i=v[h+80>>2];if(i-1>>>0<=1){m=(i|0)==1?+v[h+88>>2]:A[h+88>>3]}A[h+8>>3]=m;i=h+80|0;hc(i);yc(v[h+120>>2],2,i,0);i=v[h+80>>2];if(i-1>>>0<=1){C=(i|0)==1?+v[h+88>>2]:A[h+88>>3]}A[h+16>>3]=C;i=h+80|0;hc(i);yc(v[h+120>>2],3,i,0);i=v[h+80>>2];if(i-1>>>0<=1){q=(i|0)==1?+v[h+88>>2]:A[h+88>>3]}A[h+24>>3]=q;hc(h+80|0);hc(h+112|0);rc(B,220530,h+128|0,0);if(v[h+128>>2]==6){break c}x=1;t=1;y=0;break b}c=-1;a=v[a+108>>2];e:{if(!a){break e}a=v[a+4>>2];if(v[a+8>>2]==13){break e}a=v[a+16>>2];c=Ub[v[v[a>>2]+52>>2]](a)|0}kc(1,c,220428,0);hc(h+112|0);hc(h+144|0);break a}k=h+80|0;yc(v[h+136>>2],0,k,0);t=v[h+80>>2]==1?+v[h+88>>2]:A[h+88>>3];A[h+32>>3]=t;hc(k);yc(v[h+136>>2],1,k,0);z=v[h+80>>2]==1?+v[h+88>>2]:A[h+88>>3];A[h+40>>3]=z;hc(k);yc(v[h+136>>2],2,k,0);n=A[h+88>>3];G=v[h+88>>2];H=v[h+80>>2];hc(k);yc(v[h+136>>2],3,k,0);o=A[h+88>>3];I=v[h+88>>2];J=v[h+80>>2];hc(k);yc(v[h+136>>2],4,k,0);j=A[h+88>>3];r=v[h+88>>2];i=v[h+80>>2];hc(k);yc(v[h+136>>2],5,k,0);x=(J|0)==1?+(I|0):o;u=(i|0)==1?+(r|0):j;w=v[h+80>>2]==1?+v[h+88>>2]:A[h+88>>3];hc(k);y=(H|0)==1?+(G|0):n}j=s*z;E=x*q;l=w+(j+E);p=m*x;n=w+(j+p);hc(h+128|0);o=s*t;F=y*q;j=u+(o+F);q=m*y;m=u+(o+q);f:{if(jm)){o=m;break f}o=j}g:{if(n>l){j=n;n=l;break g}if(!(no)){break h}o=l}i:{if(n>p){n=p;break i}if(!(jo)){break j}o=l}k:{if(n>p){n=p;break k}if(!(j>3]=x*l;j=m!=o?(f-d)/(o-m):1;A[h+48>>3]=y*j;A[h+40>>3]=z*l;A[h+32>>3]=t*j;A[h+72>>3]=w*l+(e-n*l);A[h+64>>3]=u*j+(d-m*j);i=h+96|0;rc(B,236851,i,0);my(a,b,v[h+96>>2]==7?v[h+104>>2]:0,h+32|0,h,0,0,0,0,0,0,0);hc(i)}hc(h+144|0);if(!c|!(A[c+8>>3]>0)){break a}b=v[c+56>>2];if((b|0)<1){break a}l:{m:{n:{switch(b-1|0){case 0:b=0;i=v[v[a+28>>2]+120>>2];if(Ub[v[v[i>>2]+12>>2]](i)|0){break m}break l;case 2:b=2;i=v[v[a+28>>2]+120>>2];if((Ub[v[v[i>>2]+12>>2]](i)|0)!=2){break m}break l;case 3:break n;default:break l}}b=4;i=v[v[a+28>>2]+120>>2];if((Ub[v[v[i>>2]+12>>2]](i)|0)==4){break l}}i=v[a+28>>2];r=v[i+384>>2];if(r){Ub[v[v[r>>2]+4>>2]](r)}v[i+384>>2]=0;r=v[a+28>>2];b=jk(b);i=v[r+120>>2];if(i){Ub[v[v[i>>2]+4>>2]](i)}v[r+120>>2]=b;b=v[a+8>>2];Ub[v[v[b>>2]+112>>2]](b,v[a+28>>2])}m=A[c+32>>3];n=A[c+40>>3];o=A[c+48>>3];b=v[a+28>>2];i=b;j=A[c+24>>3]*65536;o:{if(D(j)<2147483648){k=~~j;break o}k=-2147483648}v[i+252>>2]=k;i=b;j=o*65536;p:{if(D(j)<2147483648){k=~~j;break p}k=-2147483648}v[i+264>>2]=k;i=b;j=n*65536;q:{if(D(j)<2147483648){k=~~j;break q}k=-2147483648}v[i+260>>2]=k;j=m*65536;r:{if(D(j)<2147483648){i=~~j;break r}i=-2147483648}v[b+256>>2]=i;b=v[a+8>>2];Ub[v[v[b>>2]+120>>2]](b,v[a+28>>2]);i=v[a+28>>2];A[i+440>>3]=A[c+8>>3];b=v[a+8>>2];Ub[v[v[b>>2]+100>>2]](b,i);s:{if(v[c>>2]!=1){break s}i=v[c+20>>2];if((i|0)<1){break s}b=v[c+16>>2];b=gc(ed(i,8),b,i<<3);KE(v[a+28>>2],b,i,0);b=v[a+8>>2];Ub[v[v[b>>2]+80>>2]](b,v[a+28>>2])}vf(v[a+28>>2]);b=v[a+28>>2];A[b+608>>3]=e;A[b+600>>3]=d;b=v[b+596>>2];A[b+16>>3]=e;A[b+8>>3]=d;v[b>>2]=1;b=v[a+28>>2];A[b+608>>3]=e;A[b+600>>3]=f;Ud(v[b+596>>2],f,e);if(v[c>>2]!=4){b=v[a+28>>2];A[b+608>>3]=g;A[b+600>>3]=f;Ud(v[b+596>>2],f,g);b=v[a+28>>2];A[b+608>>3]=g;A[b+600>>3]=d;Ud(v[b+596>>2],d,g);i=v[a+28>>2];Hf(v[i+596>>2]);b=v[i+596>>2];c=v[((v[b+28>>2]<<2)+v[b+24>>2]|0)-4>>2];b=(v[c+12>>2]<<3)-8|0;A[i+600>>3]=A[b+v[c>>2]>>3];A[i+608>>3]=A[b+v[c+4>>2]>>3]}b=v[a+8>>2];Ub[v[v[b>>2]+200>>2]](b,v[a+28>>2])}Qb=h+160|0}function h1(a,b,c,d,e,f,g){var h=0,i=0,j=0;h=v[a+512>>2];if(!h){h=v[a+528>>2]}i=v[h+88>>2];v[a+984>>2]=0;v[a+988>>2]=0;v[a+976>>2]=0;v[a+968>>2]=0;j=xj(a,h,v[a+316>>2],v[a+320>>2],w[a+324|0],w[a+325|0],w[a+326|0],w[a+327|0],w[a+328|0],0);if(!j){g=(g|0)==1;t[h+32|0]=g;t[i+34|0]=g;v[a+536>>2]=h;h=v[i+1176>>2];a:{b:{c:{d:{e:{f:{g:{h:{i:{g=w[a+325|0];switch(g|0){case 3:break g;case 2:break h;case 0:break i;case 6:break e;case 4:break f;default:break a}}j:{if(w[a+324|0]!=16){if(!B(v[a+320>>2],v[a+316>>2])){break j}c=0;while(1){t[h|0]=b;h=h+1|0;c=c+1|0;if(c>>>0>2],v[a+316>>2])>>>0){continue}break}break j}if(!B(v[a+320>>2],v[a+316>>2])){break j}c=0;while(1){d=b<<8|b>>>8;t[h|0]=d;t[h+1|0]=d>>>8;h=h+2|0;c=c+1|0;if(c>>>0>2],v[a+316>>2])>>>0){continue}break}}if(f|!e){break b}u[i+836>>1]=b;t[i+56|0]=1;break b}k:{if(w[a+324|0]!=16){if(!B(v[a+320>>2],v[a+316>>2])){break k}g=0;while(1){t[h+2|0]=d;t[h+1|0]=c;t[h|0]=b;h=h+3|0;g=g+1|0;if(g>>>0>2],v[a+316>>2])>>>0){continue}break}break k}if(!B(v[a+320>>2],v[a+316>>2])){break k}g=0;while(1){j=b<<8|b>>>8;t[h|0]=j;t[h+1|0]=j>>>8;j=c<<8|c>>>8;t[h+2|0]=j;t[h+3|0]=j>>>8;j=d<<8|d>>>8;t[h+4|0]=j;t[h+5|0]=j>>>8;h=h+6|0;g=g+1|0;if(g>>>0>2],v[a+316>>2])>>>0){continue}break}}if(f|!e){break b}u[i+842>>1]=d;u[i+840>>1]=c;u[i+838>>1]=b;t[i+56|0]=1;break b}t[i+55|0]=1;j=w[a+324|0]-1|0;g=j&255;if(g>>>0>=8|!(139>>>g&1)){break d}t[i+70|0]=d;t[i+69|0]=c;t[i+68|0]=b;b=j<<24>>24<<2;v[i+64>>2]=v[b+192948>>2];ic(i+71|0,0,v[b+192980>>2]);break c}if(w[a+324|0]!=16){if(!B(v[a+320>>2],v[a+316>>2])){break b}c=0;while(1){t[h+1|0]=f;t[h|0]=b;h=h+2|0;c=c+1|0;if(c>>>0>2],v[a+316>>2])>>>0){continue}break}break b}if(!B(v[a+320>>2],v[a+316>>2])){break b}c=0;while(1){d=b<<8|b>>>8;t[h|0]=d;t[h+1|0]=d>>>8;d=f<<8|f>>>8;t[h+2|0]=d;t[h+3|0]=d>>>8;h=h+4|0;c=c+1|0;if(c>>>0>2],v[a+316>>2])>>>0){continue}break}break b}if(w[a+324|0]!=16){if(!B(v[a+320>>2],v[a+316>>2])){break b}e=0;while(1){t[h+3|0]=f;t[h+2|0]=d;t[h+1|0]=c;t[h|0]=b;h=h+4|0;e=e+1|0;if(e>>>0>2],v[a+316>>2])>>>0){continue}break}break b}if(!B(v[a+320>>2],v[a+316>>2])){break b}e=0;while(1){g=b<<8|b>>>8;t[h|0]=g;t[h+1|0]=g>>>8;g=c<<8|c>>>8;t[h+2|0]=g;t[h+3|0]=g>>>8;g=d<<8|d>>>8;t[h+4|0]=g;t[h+5|0]=g>>>8;g=f<<8|f>>>8;t[h+6|0]=g;t[h+7|0]=g>>>8;h=h+8|0;e=e+1|0;if(e>>>0>2],v[a+316>>2])>>>0){continue}break}break b}t[i+68|0]=b;v[i+64>>2]=1;t[i+70|0]=d;t[i+69|0]=c}if(!e|f>>>0>254){break b}t[i+848|0]=f;v[i+844>>2]=1;t[i+56|0]=1}g=w[a+325|0]}l:{m:{switch(g&255){case 0:n:{switch(w[a+324|0]-1|0){case 0:if(!w[a+328|0]){v[a+1012>>2]=891;break l}v[a+1012>>2]=892;break l;case 1:if(!w[a+328|0]){v[a+1012>>2]=893;break l}v[a+1012>>2]=894;break l;case 3:if(!w[a+328|0]){v[a+1012>>2]=895;break l}v[a+1012>>2]=896;break l;case 7:if(!w[a+328|0]){v[a+1012>>2]=897;break l}v[a+1012>>2]=898;break l;case 15:break n;default:break l}}if(!w[a+328|0]){v[a+1012>>2]=899;break l}v[a+1012>>2]=900;break l;case 2:o:{switch(w[a+324|0]-8|0){case 0:if(!w[a+328|0]){v[a+1012>>2]=901;break l}v[a+1012>>2]=902;break l;case 8:break o;default:break l}}if(!w[a+328|0]){v[a+1012>>2]=903;break l}v[a+1012>>2]=904;break l;case 3:p:{switch(w[a+324|0]-1|0){case 0:if(!w[a+328|0]){v[a+1012>>2]=905;break l}v[a+1012>>2]=906;break l;case 1:if(!w[a+328|0]){v[a+1012>>2]=907;break l}v[a+1012>>2]=908;break l;case 3:if(!w[a+328|0]){v[a+1012>>2]=909;break l}v[a+1012>>2]=910;break l;case 7:break p;default:break l}}if(!w[a+328|0]){v[a+1012>>2]=911;break l}v[a+1012>>2]=912;break l;case 4:q:{switch(w[a+324|0]-8|0){case 0:if(!w[a+328|0]){v[a+1012>>2]=913;break l}v[a+1012>>2]=914;break l;case 8:break q;default:break l}}if(!w[a+328|0]){v[a+1012>>2]=915;break l}v[a+1012>>2]=916;break l;case 6:break m;default:break l}}r:{switch(w[a+324|0]-8|0){case 0:if(!w[a+328|0]){v[a+1012>>2]=917;break l}v[a+1012>>2]=918;break l;case 8:break r;default:break l}}if(!w[a+328|0]){v[a+1012>>2]=919;break l}v[a+1012>>2]=920}v[a+620>>2]=0;v[a+624>>2]=0;v[a+612>>2]=0;v[a+616>>2]=1;v[a+628>>2]=0;v[a+632>>2]=0;j=0}return j}function lua(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;e=Qb-80|0;Qb=e;f=v[a>>2];if(f){Ub[v[v[f>>2]+8>>2]](f)}f=jm(a+4|0,b);a:{if(w[f+28|0]?(f|0)!=(a+8|0):0){break a}g=Qb-32|0;Qb=g;i=a+4|0;b:{if(t[b+11|0]>=0){v[g+16>>2]=v[b+8>>2];f=v[b+4>>2];v[g+8>>2]=v[b>>2];v[g+12>>2]=f;break b}Ke(g+8|0,v[b>>2],v[b+4>>2])}v[299999]=0;t[g+20|0]=1;j=cg(i,g+28|0,g+8|0);f=v[299999];v[299999]=0;c:{d:{if((f|0)==1){break d}if(!v[j>>2]){v[299999]=0;f=S(1,32)|0;h=v[299999];v[299999]=0;if((h|0)==1){break d}h=v[g+12>>2];v[f+16>>2]=v[g+8>>2];v[f+20>>2]=h;v[f+24>>2]=v[g+16>>2];v[g+16>>2]=0;v[g+8>>2]=0;v[g+12>>2]=0;t[f+28|0]=w[g+20|0];v[f+8>>2]=v[g+28>>2];v[f>>2]=0;v[f+4>>2]=0;v[j>>2]=f;h=v[v[i>>2]>>2];if(h){v[i>>2]=h;f=v[j>>2]}Uc(v[a+8>>2],f);v[a+12>>2]=v[a+12>>2]+1}if(t[g+19|0]<=-1){dc(v[g+8>>2])}Qb=g+32|0;break c}a=P()|0;O()|0;if(t[g+19|0]<=-1){dc(v[g+8>>2])}T(a|0);L()}k=e- -64|0;j=0;i=Qb-16|0;Qb=i;f=w[b+11|0];h=f<<24>>24;e:{g=(h|0)<0?v[b+4>>2]:f;f=g-1|0;if((f|0)<=-1){break e}while(1){f:{g:{if(v[(f<<2)+((h|0)<0?v[b>>2]:b)>>2]==45){g=f;break g}g=g-2|0;f=Aj(i,b,g,2,b);v[299999]=0;f=Q(4234,a|0,f|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break f}t[j+k|0]=f;if(t[i+11|0]<=-1){dc(v[i>>2])}j=j+1|0}f=g-1|0;if((f|0)<0){break e}h=t[b+11|0];continue}break}a=P()|0;O()|0;if(t[i+11|0]<=-1){dc(v[i>>2])}T(a|0);L()}Qb=i+16|0;if(!(Ub[v[v[d>>2]+8>>2]](d)|0)){b=e+48|0;v[b+12>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;v[b>>2]=530160;v[299999]=0;Y(2523,b|0,c|0,1)|0;c=v[299999];v[299999]=0;if((c|0)!=1){h:{v[299999]=0;Z(2525,b|0,e+16|0,32,e+12|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break h}c=w[e+64|0];t[e+16|0]=c^w[e+16|0];d=w[e+65|0];t[e+17|0]=d^w[e+17|0];f=w[e+66|0];t[e+18|0]=f^w[e+18|0];g=w[e+67|0];t[e+19|0]=g^w[e+19|0];i=w[e+68|0];t[e+20|0]=i^w[e+20|0];j=w[e+69|0];t[e+21|0]=j^w[e+21|0];h=w[e+70|0];t[e+22|0]=h^w[e+22|0];k=w[e+71|0];t[e+23|0]=k^w[e+23|0];l=w[e+72|0];t[e+24|0]=l^w[e+24|0];m=w[e+73|0];t[e+25|0]=m^w[e+25|0];n=w[e+74|0];t[e+26|0]=n^w[e+26|0];o=w[e+75|0];t[e+27|0]=o^w[e+27|0];p=w[e+76|0];t[e+28|0]=p^w[e+28|0];q=w[e+77|0];t[e+29|0]=q^w[e+29|0];r=w[e+78|0];t[e+30|0]=r^w[e+30|0];s=w[e+79|0];t[e+31|0]=s^w[e+31|0];t[e+32|0]=c^w[e+32|0];t[e+33|0]=d^w[e+33|0];t[e+34|0]=f^w[e+34|0];t[e+35|0]=g^w[e+35|0];t[e+36|0]=i^w[e+36|0];t[e+37|0]=j^w[e+37|0];t[e+38|0]=h^w[e+38|0];t[e+39|0]=k^w[e+39|0];t[e+40|0]=w[e+40|0]^l;t[e+41|0]=w[e+41|0]^m;t[e+42|0]=w[e+42|0]^n;t[e+43|0]=w[e+43|0]^o;t[e+44|0]=w[e+44|0]^p;t[e+45|0]=w[e+45|0]^q;t[e+46|0]=w[e+46|0]^r;t[e+47|0]=w[e+47|0]^s;v[299999]=0;c=v[b+4>>2];d=v[299999];v[299999]=0;if((d|0)==1){break h}if(c){zg(c,0,0);Rc(e+16|0,1,32,c)}v[299999]=0;R(2526,b|0);c=v[299999];v[299999]=0;if((c|0)==1){break h}lg(b);break a}}a=P()|0;O()|0;lg(b);T(a|0);L()}if((Ub[v[v[d>>2]+8>>2]](d)|0)!=1){break a}v[e+16>>2]=0;Ub[v[v[d>>2]+20>>2]](d,c,e+16|0)|0;b=v[e+16>>2];if(y[b+4>>2]>=32){b=v[b>>2];t[b|0]=w[b|0]^w[e+64|0];t[b+1|0]=w[b+1|0]^w[e+65|0];t[b+2|0]=w[b+2|0]^w[e+66|0];t[b+3|0]=w[b+3|0]^w[e+67|0];t[b+4|0]=w[b+4|0]^w[e+68|0];t[b+5|0]=w[b+5|0]^w[e+69|0];t[b+6|0]=w[b+6|0]^w[e+70|0];t[b+7|0]=w[b+7|0]^w[e+71|0];t[b+8|0]=w[b+8|0]^w[e+72|0];t[b+9|0]=w[b+9|0]^w[e+73|0];t[b+10|0]=w[b+10|0]^w[e+74|0];t[b+11|0]=w[b+11|0]^w[e+75|0];t[b+12|0]=w[b+12|0]^w[e+76|0];t[b+13|0]=w[b+13|0]^w[e+77|0];t[b+14|0]=w[b+14|0]^w[e+78|0];t[b+15|0]=w[b+15|0]^w[e+79|0];t[b+16|0]=w[b+16|0]^w[e+64|0];t[b+17|0]=w[b+17|0]^w[e+65|0];t[b+18|0]=w[b+18|0]^w[e+66|0];t[b+19|0]=w[b+19|0]^w[e+67|0];t[b+20|0]=w[b+20|0]^w[e+68|0];t[b+21|0]=w[b+21|0]^w[e+69|0];t[b+22|0]=w[b+22|0]^w[e+70|0];t[b+23|0]=w[b+23|0]^w[e+71|0];t[b+24|0]=w[b+24|0]^w[e+72|0];t[b+25|0]=w[b+25|0]^w[e+73|0];t[b+26|0]=w[b+26|0]^w[e+74|0];t[b+27|0]=w[b+27|0]^w[e+75|0];t[b+28|0]=w[b+28|0]^w[e+76|0];t[b+29|0]=w[b+29|0]^w[e+77|0];t[b+30|0]=w[b+30|0]^w[e+78|0];t[b+31|0]=w[b+31|0]^w[e+79|0]}if(v[293894]){b=v[293894];d=c;c=v[e+16>>2];Ub[v[v[b>>2]+16>>2]](b,d,v[c>>2],v[c+4>>2],0)|0}b=v[e+16>>2];if(!b){break a}i:{if(!w[b+8|0]){break i}c=v[b>>2];if(!c){break i}dc(c)}dc(b)}a=v[a>>2];if(a){Ub[v[v[a>>2]+12>>2]](a)}Qb=e+80|0}function Qqa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;e=Qb-1040|0;Qb=e;a:{b:{c:{if(v[a+16>>2]){b=vc(e+16|0,333575,241879,918,337959,0);v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}a=P()|0;O()|0;qc(b);break c}g=a+20|0;if(jj(g)){b=vc(e+16|0,329177,241879,920,337959,0);v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}a=P()|0;O()|0;qc(b);break c}if((c|0)<=-1){b=vc(e+16|0,227294,241879,922,337959,0);v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}a=P()|0;O()|0;qc(b);break c}f=e+16|0;_C(f,b);v[299999]=0;f=Nc(f,335742,-1);h=v[299999];v[299999]=0;d:{e:{f:{g:{h:{i:{j:{if((h|0)!=1){ec(e+16|0);if(!f){Cx(e+8|0,b,301722);c=v[e+8>>2];k:{while(1){l:{b=v[v[c>>2]+8>>2];v[299999]=0;b=Y(b|0,c|0,e+16|0,1024)|0;d=v[299999];v[299999]=0;if((d|0)==1){break l}if(!b){break k}d=v[a+76>>2];v[299999]=0;$(4479,a|0,e+16|0,d|0,b|0);d=v[299999];v[299999]=0;if((d|0)==1){break l}v[a+76>>2]=b+v[a+76>>2];continue}break}break d}v[299999]=0;b=S(4469,g|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break d}if(!(v[a+16>>2]|b)){t[a+8|0]=1;if(v[a+84>>2]<=-1){b=v[a+64>>2];c=v[v[b>>2]+28>>2];v[299999]=0;b=S(c|0,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break d}v[a+84>>2]=b}b=v[a+96>>2];if(b){while(1){c=v[b+8>>2];if(!v[c+8>>2]){v[c+8>>2]=1}b=v[b>>2];if(b){continue}break}}v[299999]=0;R(4480,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break d}}a=v[e+8>>2];v[e+8>>2]=0;if(!a){break e}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break e}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}break e}if(!jj(b)){break e}Cx(e+16|0,b,301722);f=v[e+16>>2];h=v[v[f>>2]+20>>2];v[299999]=0;Z(h|0,f|0,0,2,0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break h}f=v[e+16>>2];h=v[v[f>>2]+16>>2];v[299999]=0;f=S(h|0,f|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break g}v[299999]=0;Q(4478,g|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break g}v[a+84>>2]=d;v[a+80>>2]=c;b=a;m:{if((c|0)<(f|0)){if((f|0)>(c+d|0)&(d|0)>=0){break m}c=f-c|0}else{c=0}v[b+84>>2]=c}t[a+8|0]=1;v[299999]=0;Q(4336,a- -64|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break g}b=v[294590];if(!b){v[299999]=0;b=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){break g}v[b>>2]=0;v[b+4>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[299999]=0;Q(4475,b|0,982428)|0;c=v[299999];v[299999]=0;if((c|0)==1){break j}v[294590]=b}v[299999]=0;v[e>>2]=0;Q(4336,e|0,a|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break g}v[299999]=0;U(4493,b|0,g|0,e|0);b=v[299999];v[299999]=0;if((b|0)==1){break i}b=v[e>>2];v[e>>2]=0;n:{if(!b){break n}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break n}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a+96>>2];if(b){while(1){c=v[b+8>>2];if(!v[c+8>>2]){v[c+8>>2]=1}b=v[b>>2];if(b){continue}break}}o:{p:{q:{c=v[a+116>>2];if(c){while(1){b=0;d=v[c+8>>2];if(d){v[299999]=0;v[d+4>>2]=v[d+4>>2]+1;b=v[299999];v[299999]=0;if((b|0)==1){break q}b=v[c+8>>2]}v[e+8>>2]=b;d=v[b+20>>2];r:{if(!d){break r}g=v[b+24>>2];v[299999]=0;R(d|0,g|0);d=v[299999];v[299999]=0;if((d|0)!=1){break r}d=W(0)|0;O()|0;ea(d|0)|0;v[299999]=0;ba(4230);d=v[299999];v[299999]=0;if((d|0)==1){break p}}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;g=v[299999];v[299999]=0;if((g|0)==1){break a}if(!d){v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}c=v[c>>2];if(c){continue}break}}v[299999]=0;R(4474,a+108|0);a=v[299999];v[299999]=0;if((a|0)==1){break o}a=v[e+16>>2];v[e+16>>2]=0;if(!a){break e}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break e}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break e}}break a}a=P()|0;O()|0;break f}a=P()|0;O()|0;ec(e+8|0);break f}a=P()|0;O()|0;break f}a=P()|0;O()|0;ec(e+16|0);break c}a=P()|0;O()|0;dc(b);break f}a=P()|0;O()|0;ec(e);break f}a=P()|0;O()|0;break f}a=P()|0;O()|0}ec(e+16|0);break c}Qb=e+1040|0;return}a=P()|0;O()|0;ec(e+8|0)}T(a|0)}L()}W(0)|0;O()|0;lc();L()}function UGa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,x=C(0),y=C(0),E=0;j=Qb-448|0;Qb=j;a:{b:{c:{d:{if(w[a+208|0]|w[a+203|0]){break d}nk(a,v[b+596>>2],A[b+104>>3],b+16|0);m=A[b+392>>3];e=v[a+104>>2];Ub[v[v[e>>2]+132>>2]](e,j+444|0)|0;e=v[a+104>>2];Ub[v[v[e>>2]+136>>2]](e,888356)|0;v[j+440>>2]=0;v[j+432>>2]=0;v[j+436>>2]=0;v[j+424>>2]=0;v[j+416>>2]=0;v[j+420>>2]=0;v[299999]=0;E=MS(j+256|0);e=v[299999];v[299999]=0;e:{if((e|0)!=1){m=m*255;f:{if(D(m)<2147483648){e=~~m;break f}e=-2147483648}p=e<<24;g:{h:{i:{while(1){j:{e=gc(j,v[v[c>>2]+(n<<2)>>2],128);v[299999]=0;Mp(E,e,e+240|0,0);f=v[299999];v[299999]=0;if((f|0)==1){break j}k=B(v[e+240>>2],255)+32768|0;q=B(v[e+244>>2],255)+32768>>>16|0;r=B(v[e+248>>2],255)+32768>>>16|0;f=v[e+420>>2];i=v[e+424>>2];k:{if(f>>>0>>0){g=r&255|(q<<8&65280|(k&16711680|p));t[f|0]=g;t[f+1|0]=g>>>8;t[f+2|0]=g>>>16;t[f+3|0]=g>>>24;v[e+420>>2]=f+4;g=v[e+436>>2];break k}l:{m:{h=v[e+416>>2];o=f-h|0;s=o>>2;f=s+1|0;n:{if(f>>>0>=1073741824){v[299999]=0;R(2185,e+416|0);a=v[299999];v[299999]=0;if((a|0)==1){break n}break g}i=i-h|0;l=i>>1;l=i>>2>>>0<536870911?f>>>0>l>>>0?f:l:1073741823;if(!l){f=0;break l}if(l>>>0<1073741824){break m}v[299999]=0;R(2667,274079);a=v[299999];v[299999]=0;if((a|0)!=1){break g}}g=P()|0;O()|0;break b}v[299999]=0;f=S(1,l<<2)|0;i=v[299999];v[299999]=0;if((i|0)==1){break i}}i=(s<<2)+f|0;k=r&255|(q<<8&65280|(k&16711680|p));t[i|0]=k;t[i+1|0]=k>>>8;t[i+2|0]=k>>>16;t[i+3|0]=k>>>24;if((o|0)>=1){gc(f,h,o)}v[e+424>>2]=(l<<2)+f;v[e+420>>2]=i+4;v[e+416>>2]=f;if(!h){break k}dc(h)}f=v[d>>2]+(n<<3)|0;x=C(+z[f+4>>2]/72*25.4);y=C(+z[f>>2]/72*25.4);h=v[e+440>>2];o:{if(h>>>0>g>>>0){z[g+4>>2]=x;z[g>>2]=y;g=g+8|0;v[e+436>>2]=g;break o}p:{f=v[e+432>>2];i=g-f|0;l=i>>3;g=l+1|0;q:{if(g>>>0>=536870912){v[299999]=0;R(2185,e+432|0);break q}h=h-f|0;k=h>>2;g=h>>3>>>0<268435455?g>>>0>k>>>0?g:k:536870911;if(g>>>0<536870912){break p}v[299999]=0;R(2667,274079)}a=v[299999];v[299999]=0;if((a|0)!=1){break g}g=P()|0;O()|0;break b}v[299999]=0;k=g<<3;h=S(1,k|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break h}g=h+(l<<3)|0;z[g+4>>2]=x;z[g>>2]=y;g=g+8|0;if((i|0)>=1){gc(h,f,i)}v[e+440>>2]=h+k;v[e+436>>2]=g;v[e+432>>2]=h;if(!f){break o}dc(f)}n=n+1|0;if((n|0)!=3){continue}break e}break}g=P()|0;O()|0;break b}g=P()|0;O()|0;break b}g=P()|0;O()|0;break b}L()}g=P()|0;O()|0;break a}v[e+8>>2]=0;v[e+12>>2]=0;v[e+40>>2]=0;v[e+44>>2]=0;v[e+88>>2]=0;v[e+92>>2]=0;v[e+84>>2]=1;v[e+96>>2]=0;v[e+100>>2]=0;v[e+104>>2]=0;v[e+108>>2]=0;v[e+128>>2]=0;v[e+120>>2]=0;v[e+124>>2]=0;v[e>>2]=0;v[e+4>>2]=0;v[e+24>>2]=0;v[e+28>>2]=1065353216;v[e+32>>2]=0;v[e+36>>2]=0;v[e+76>>2]=0;v[e+80>>2]=1;v[e+68>>2]=0;v[e+72>>2]=0;v[e+60>>2]=1056964608;v[e+64>>2]=1065353216;u[e+56>>1]=0;v[e+48>>2]=1065353216;v[e+52>>2]=1065353216;v[299999]=0;c=S(1,24)|0;d=v[299999];v[299999]=0;r:{if((d|0)!=1){d=c+24|0;v[e+140>>2]=d;v[e+132>>2]=c;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=0;v[c+4>>2]=0;v[e+136>>2]=d;ic(e+148|0,0,88);v[299999]=0;d=v[e+432>>2];U(3146,e+164|0,d|0,g|0);g=v[299999];v[299999]=0;c=e+80|0;if((g|0)!=1){v[299999]=0;g=v[e+416>>2];U(3147,e+176|0,g|0,v[e+420>>2]);f=v[299999];v[299999]=0;if((f|0)!=1){break r}}g=P()|0;O()|0;Ne(c);break b}g=P()|0;O()|0;break b}v[e+80>>2]=2;s:{f=v[a+104>>2];if(!f){break s}f=kp(f,457612,457624);if(!f){break s}h=v[v[f>>2]+560>>2];v[299999]=0;V(h|0,f|0,e|0);f=v[299999];v[299999]=0;if((f|0)!=1){f=v[a+104>>2];h=v[v[f>>2]+328>>2];v[299999]=0;Q(h|0,f|0,888336)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break s}}break c}v[299999]=0;R(3139,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break c}b=v[a+104>>2];v[e+240>>2]=4;f=v[v[b>>2]+292>>2];v[299999]=0;Q(f|0,b|0,e+240|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break c}a=v[a+104>>2];b=v[v[a>>2]+136>>2];v[299999]=0;Q(b|0,a|0,e+444|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break c}Ne(c);if(g){dc(g)}if(!d){break d}dc(d)}Qb=j+448|0;return 1}g=P()|0;O()|0;Ne(c)}a=v[e+416>>2];if(!a){break a}v[e+420>>2]=a;dc(a)}a=v[j+432>>2];if(a){v[j+436>>2]=a;dc(a)}T(g|0);L()}function E0(a,b,c){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,p=0,q=0,r=0,s=0,z=0,A=0;g=Qb-128|0;Qb=g;f=w[198051]|w[198052]<<8|(w[198053]<<16|w[198054]<<24);d=w[198047]|w[198048]<<8|(w[198049]<<16|w[198050]<<24);t[g+111|0]=d;t[g+112|0]=d>>>8;t[g+113|0]=d>>>16;t[g+114|0]=d>>>24;t[g+115|0]=f;t[g+116|0]=f>>>8;t[g+117|0]=f>>>16;t[g+118|0]=f>>>24;f=v[49511];v[g+104>>2]=v[49510];v[g+108>>2]=f;f=v[49509];v[g+96>>2]=v[49508];v[g+100>>2]=f;f=v[49507];v[g+88>>2]=v[49506];v[g+92>>2]=f;f=v[49505];v[g+80>>2]=v[49504];v[g+84>>2]=f;u[g+66>>1]=0;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],v[b+4>>2]+1|0,0)|0;v[289140]=0;v[289141]=0;v[289139]=0;a:{l=v[b>>2];if(l>>>0>=y[b+8>>2]){break a}q=v[252391];f=8;r=255;while(1){m=h;s=0;while(1){i=(o&65535)<>2]+28>>2]](v[a+4>>2])|0;f:{if((e|0)==-1){if(!v[a+26160>>2]){v[g+48>>2]=v[a+25208>>2];wc(q,8292,g+48|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,q);v[a+26160>>2]=1;break f}d=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[g+32>>2]=d;v[g+36>>2]=d>>31;wc(q,14622,g+32|0)}v[a+26160>>2]=1;break f}if(!v[a+26144>>2]){break f}if((e|0)==255){break e}}v[289141]=0;break d}d=0;h=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[289141]=(h|0)!=0;if(!h){break d}h=1;m=1;break b}h=0;d=v[289140]+8|0;v[289140]=d;e=e&255|v[289139]<<8;v[289139]=e;if((d|0)<(f|0)){continue}break}}m=0;d=d-f|0;v[289140]=d;n=e;e=32-f|0;d=n<>>e|0}e=f+A|0;j=(A|0)<0;f=j?e+1|0:f;A=j?e>>>0<2147483647?0:e:A;o=d|i;d=o&65535;g:{while(1){e=f;if((e|0)<1){break g}f=e-1|0;if((d>>>f&255)!=255){continue}break}if((e|0)>=2){m=1<=1){f=v[289139];break i}while(1){j:{k:{f=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;l:{if((f|0)==-1){if(!v[a+26160>>2]){v[g+16>>2]=v[a+25208>>2];wc(q,8292,g+16|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,q);v[a+26160>>2]=1;break l}d=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[g>>2]=d;v[g+4>>2]=d>>31;wc(q,14622,g)}v[a+26160>>2]=1;break l}if(!v[a+26144>>2]){break l}if((f|0)==255){break k}}v[289141]=0;break j}d=0;h=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[289141]=(h|0)!=0;if(!h){break j}h=1;break h}h=v[289140];d=h+8|0;v[289140]=d;f=f&255|v[289139]<<8;v[289139]=f;if((h|0)<-7){continue}break}}h=0;v[289140]=d-1;d=f<<32-d>>>31|0}A=e-9|0;o=d+o|0;m=h}d=r>>4;j=(((o-k<<2)+4&262140)-1|0)/(d|0)|0;f=0;while(1){e=f;f=e+1|0;i=(g+80|0)+B(s,13)|0;n=i+e|0;p=w[n+5|0];if((p|0)>(j|0)){continue}break}j=k&65535;if(e){r=B(d,w[n+4|0])>>2}p=B(d,p)>>2;k=r-p|0;d=0;while(1){f=d;d=d+1|0;r=k<>>0){n=w[i|0]&k+1;d=i+n|0;t[i+3|0]=w[d+4|0]-w[d+5|0]>>>2;t[i+2|0]=1}p=j+p|0;d=i+k|0;m:{if((w[d+4|0]-w[d+5|0]|0)<2){break m}if(e>>>0>>0){d=e;j=k-d&3;if(j){while(1){z=d+i|0;t[z+5|0]=w[z+5|0]-1;d=d+1|0;j=j-1|0;if(j){continue}break}}if((e^-1)+k>>>0<3){break m}while(1){j=d+i|0;t[j+5|0]=w[j+5|0]-1;t[j+6|0]=w[j+6|0]-1;t[j+7|0]=w[j+7|0]-1;t[j+8|0]=w[j+8|0]-1;d=d+4|0;if(k>>>0>d>>>0){continue}break}break m}if((e|0)<(n|0)|e>>>0<=k>>>0){break m}j=e+(k^-1)|0;d=e-k&3;if(d){while(1){z=i+k|0;t[z+5|0]=w[z+5|0]+1;k=k+1|0;d=d-1|0;if(d){continue}break}}if(j>>>0<3){break m}while(1){d=i+k|0;t[d+5|0]=w[d+5|0]+1;t[d+6|0]=w[d+6|0]+1;t[d+7|0]=w[d+7|0]+1;t[d+8|0]=w[d+8|0]+1;k=k+4|0;if((e|0)!=(k|0)){continue}break}}k=p<>2]=e;s=s+1|0;if((s|0)!=3){continue}break}e=v[g+68>>2];d=e&3|(v[g+72>>2]<<2|v[g+76>>2]<<5);e=((Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0)+12|0)>2]?e&4?d&255?0-d|0:128:d:0;m=l&1;d=m|g+66;e=e+w[d|0]|0;t[d|0]=e;h=x[a+26306>>1];i=(l>>>0)/(h>>>0)|0;d=i-x[a+26312>>1]|0;n:{if(d>>>0>=x[a+26308>>1]){break n}h=(l-B(i,h)|0)-x[a+26314>>1]|0;if(h>>>0>=x[a+26310>>1]){break n}i=x[a+26316>>1];u[(v[a+26352>>2]+(B(x[a+26320>>1],d>>>i|0)+(h>>>i|0)<<3)|0)+((v[a+26028>>2]>>>((h&1|d<<1&14)<<1)&3)<<1)>>1]=e&255}if(!m){l=c>>>(d-x[a+26304>>1]&7)&1?l+2|0:l}l=l+1|0;if(l>>>0>=y[b+8>>2]){break a}h=v[289141];continue}}v[a+26124>>2]=255;Qb=g+128|0}function xq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;e=Qb-80|0;Qb=e;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],b,0)|0;u[e>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],e,1,2)|0;d=w[e|0];c=a;if(x[a+25204>>1]==18761){d=d|w[e+1|0]<<8}else{d=w[e+1|0]|d<<8}u[c+25204>>1]=d;c=d&65535;a:{if((c|0)!=19789&(c|0)!=18761){break a}u[e>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],e,1,2)|0;ic(a+24816|0,0,360);v[a+26104>>2]=0;while(1){v[e>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],e,1,4)|0;c=w[e|0];if(x[a+25204>>1]==18761){c=c|w[e+1|0]<<8|w[e+2|0]<<16|w[e+3|0]<<24}else{c=w[e+3|0]|(w[e+1|0]<<16|c<<24|w[e+2|0]<<8)}if(c){Ub[v[v[a>>2]+8>>2]](v[a+4>>2],b+c|0,0)|0;if(!Js(a,b)){continue}}break}v[a+26092>>2]=16;c=v[a+26056>>2];b:{if(!(c|v[a+26060>>2])){break b}Ub[v[v[a>>2]+8>>2]](v[a+4>>2],c,0)|0;if(!Oo(a,e,1)){break b}v[a+26092>>2]=v[e>>2];u[a+26324>>1]=v[e+8>>2];u[a+26326>>1]=v[e+4>>2]}d=-1;c=0;m=v[a+26104>>2];c:{if((m|0)<1){b=0;break c}b=0;while(1){f=B(c,36)+a|0;i=v[f+24844>>2];b=(b|0)<(i|0)?i:b;j=(b|0)<3;h=v[f+24828>>2];d:{if((h|0)==6&(i|0)==3){break d}k=v[f+24820>>2];l=v[f+24816>>2];if((B(k,l)|0)<=(B(x[a+26304>>1],x[a+26306>>1])|0)){break d}u[a+26304>>1]=k;u[a+26306>>1]=l;d=v[f+24824>>2];v[a+26116>>2]=h;v[a+26112>>2]=d;d=v[f+24836>>2];v[a+26048>>2]=d;v[a+26052>>2]=d>>31;d=v[f+24840>>2];v[a+26108>>2]=i;v[a+26332>>2]=d;d=c}b=j?b:3;c=c+1|0;if((m|0)!=(c|0)){continue}break}}f=x[a+26306>>1];u[a+26322>>1]=B(x[a+26322>>1],f+1>>>1|0);c=v[a+24840>>2];if(c){v[a+26332>>2]=c}e:{if(v[a+190476>>2]|(d|0)<0){break e}f:{g:{h:{i:{j:{k:{l:{c=v[a+26116>>2];if((c|0)<=32766){m:{switch(c|0){case 2:case 3:case 4:case 5:break f;case 6:case 7:break k;case 0:case 1:break l;default:break m}}if((c|0)==99){break k}if((c|0)!=262){break f}v[a+190476>>2]=949;break e}if((c|0)<=32866){switch(c-32767|0){case 6:break h;case 2:break i;case 0:break j;default:break f}}if((c|0)<=64999){if((c|0)==32867){break e}if((c|0)!=34713){break f}v[a+190476>>2]=950;break e}if((c|0)==65e3){break g}if((c|0)!=65535){break f}v[a+190476>>2]=951;break e}c=952;n:{o:{switch(v[a+26112>>2]-8|0){case 4:v[a+190476>>2]=946;if(v[(B(d,36)+a|0)+24832>>2]==2){v[a+26300>>2]=6}if(Oc(a+25733|0,64230,6)){break n}case 6:case 8:c=948;break;case 0:break o;default:break n}}v[a+190476>>2]=c}if((B(v[(B(d,36)+a|0)+24848>>2],5)|0)!=B(f,x[a+26304>>1])<<3){break e}v[a+190476>>2]=953;break e}v[a+190476>>2]=954;break e}v[a+190476>>2]=955;c=x[a+26304>>1];if((B(v[a+26112>>2],B(c,f))|0)==v[(B(d,36)+a|0)+24848>>2]<<3){break e}v[a+190476>>2]=945;u[a+26304>>1]=c+8;break e}v[a+26300>>2]=8}v[a+190476>>2]=946;break e}p:{q:{r:{c=v[(B(d,36)+a|0)+24832>>2];switch(c-2|0){case 1:case 2:case 3:break e;case 4:break q;case 0:break r;default:break p}}v[a+26028>>2]=0;v[a+190476>>2]=956;break e}v[a+26028>>2]=0;v[a+190476>>2]=139;break e}if((c|0)!=32803){break e}v[a+190476>>2]=957;break e}v[a+26148>>2]=0}s:{t:{if(!v[a+26152>>2]){u:{if(!(!v[(B(d,36)+a|0)+24848>>2]|v[a+26108>>2]!=3)){c=v[a+26112>>2];if((c|0)==14|(c|0)==2048){break s}v[a+26148>>2]=0;break u}c=v[a+26112>>2]}if((c|0)!=8){break s}if(v[a+26116>>2]!=1|v[(B(d,36)+a|0)+24832>>2]!=1){break t}v[a+26148>>2]=0;break t}if(v[a+26112>>2]!=8){break s}}if(v[a+26108>>2]!=4){break s}v[a+26148>>2]=0}if((m|0)<1){break a}i=v[a+26092>>2];f=-1;c=0;while(1){v:{if((c|0)==(d|0)){break v}h=B(c,36)+a|0;if(v[h+24844>>2]!=(b|0)){break v}k=v[h+24820>>2];l=v[h+24816>>2];j=v[h+24824>>2];g=j+1|0;g=B(g,g);n=(B(k,l)|0)/((g?g:1)|0)|0;g=i+1|0;g=B(g,g);if((n|0)<=((B(x[a+26326>>1],x[a+26324>>1])|0)/((g?g:1)|0)|0)){break v}u[a+26326>>1]=k;u[a+26324>>1]=l;f=v[h+24836>>2];v[a+26056>>2]=f;v[a+26060>>2]=f>>31;f=v[h+24848>>2];v[a+26092>>2]=j;v[a+26080>>2]=f;i=j;f=c}c=c+1|0;if((m|0)!=(c|0)){continue}break}if((f|0)<0){break a}b=B(f,36)+a|0;v[a+26092>>2]=v[a+26092>>2]|v[b+24844>>2]<<5;w:{x:{y:{c=v[b+24828>>2];switch(c|0){case 1:break x;case 0:break y;default:break w}}v[a+190468>>2]=958;break a}if(v[b+24824>>2]>=9){v[a+190480>>2]=959;break a}v[a+190468>>2]=960;break a}if((c|0)!=65e3){break a}v[a+190480>>2]=v[(B(f,36)+a|0)+24832>>2]==6?139:956}Qb=e+80|0}function kJ(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=v[a+512>>2];a:{b:{c:{d:{e:{if(!w[a+288|0]){v[a+992>>2]=0;v[a+984>>2]=0;v[a+988>>2]=0;v[a+976>>2]=0;v[a+968>>2]=0;v[a+1012>>2]=0;v[a+2544>>2]=0;v[a+2548>>2]=0;v[a+608>>2]=0;v[a+536>>2]=0;b=a+2552|0;v[b>>2]=0;v[b+4>>2]=0;v[a+2560>>2]=0;f=a+498|0;if(w[a+498|0]){break c}if(!c){break e}b=xj(a,c,v[a+316>>2],v[a+320>>2],w[a+337|0],w[a+336|0],w[a+341|0],w[a+342|0],w[a+343|0],1);d=c+88|0;break d}if(w[a+498|0]){break b}f:{switch(w[a+2253|0]){case 0:f=a+498|0;b=xj(a,v[a+2248>>2],v[a+316>>2],v[a+320>>2],w[a+337|0],w[a+336|0],w[a+341|0],w[a+342|0],w[a+343|0],1);d=v[a+2248>>2]+88|0;break d;case 1:case 4:b=v[v[a+2248>>2]+88>>2];t[b+53|0]=w[a+337|0];t[b+54|0]=w[a+340|0];break b;case 2:case 5:t[v[v[a+2248>>2]+88>>2]+54|0]=w[a+340|0];break b;case 3:case 6:break f;default:break b}}t[v[v[a+2248>>2]+88>>2]+53|0]=w[a+337|0];break b}b=xj(a,v[a+528>>2],v[a+316>>2],v[a+320>>2],w[a+337|0],w[a+336|0],w[a+341|0],w[a+342|0],w[a+343|0],1);d=v[a+528>>2]+88|0}e=v[d>>2];g=w[a+340|0];t[e+50|0]=g;t[e+51|0]=w[a+338|0];d=w[a+339|0];t[e+54|0]=g;t[e+52|0]=d;if(b){break a}if(w[a+288|0]){break b}}c=c?c:v[a+528>>2];v[a+536>>2]=c;if(w[c+64|0]|w[c+65|0]|(w[c+31|0]?0:v[a+12>>2]!=3)){break b}pJ(a);t[a+498|0]=0;if(w[a+497|0]){t[f|0]=7;break b}if(!w[a+496|0]|v[a+676>>2]<=v[a+672>>2]|v[a+684>>2]<=v[a+680>>2]){break b}Vv(a);v[a+544>>2]=v[a+536>>2]}b=0;if(w[a+497|0]){break a}v[a+1012>>2]=921;g:{h:{i:{j:{if(!w[a+288|0]){break j}switch(w[a+2253|0]){case 2:case 5:break h;case 0:break j;default:break i}}b=w[a+337|0];k:{if((b|0)==8){t[a+648|0]=0;v[a+588>>2]=v[a+316>>2];l:{switch(w[a+336|0]-8|0){case 0:v[a+980>>2]=821;v[a+2544>>2]=922;t[a+649|0]=1;break k;case 2:v[a+980>>2]=823;v[a+2544>>2]=923;t[a+649|0]=1;break k;case 4:v[a+980>>2]=826;v[a+2544>>2]=924;t[a+649|0]=0;break k;case 6:break l;default:break k}}v[a+980>>2]=694;v[a+2544>>2]=925;t[a+649|0]=0;break k}t[a+648|0]=1}m:{n:{switch(w[a+341|0]){case 0:o:{switch(w[a+340|0]-1|0){case 0:v[a+1012>>2]=926;break m;case 1:v[a+1012>>2]=927;break m;case 3:v[a+1012>>2]=928;break m;case 7:v[a+1012>>2]=929;break m;case 15:break o;default:break m}}v[a+1012>>2]=930;break m;case 8:break n;default:break m}}if((b|0)!=8){break m}p:{switch(w[a+336|0]-12|0){case 0:v[a+2548>>2]=931;break m;case 2:break p;default:break m}}v[a+2548>>2]=932}q:{r:{s:{if(v[a+2456>>2]){break s}b=Ub[v[a+152>>2]](132)|0;v[a+2456>>2]=b;if(b){break s}break r}t:{if(v[a+2460>>2]){break t}b=Ub[v[a+152>>2]](28)|0;v[a+2460>>2]=b;if(b){break t}break r}u:{b=v[a+2452>>2];if(b){break u}b=Ub[v[a+152>>2]](488)|0;v[a+2452>>2]=b;if(b){break u}break r}v[b+12>>2]=a;v:{if(v[a+2468>>2]){break v}b=Ub[v[a+152>>2]](132)|0;v[a+2468>>2]=b;if(b){break v}break r}w:{if(v[a+2472>>2]){break w}b=Ub[v[a+152>>2]](28)|0;v[a+2472>>2]=b;if(b){break w}break r}x:{b=v[a+2464>>2];if(b){break x}b=Ub[v[a+152>>2]](488)|0;v[a+2464>>2]=b;if(b){break x}break r}v[b+12>>2]=a;y:{if(v[a+2448>>2]){break y}b=Ub[v[a+152>>2]](132)|0;v[a+2448>>2]=b;if(b){break y}break r}z:{b=v[a+2444>>2];if(b){break z}b=Ub[v[a+152>>2]](432)|0;v[a+2444>>2]=b;if(b){break z}break r}v[b+12>>2]=a;A:{b=v[a+2476>>2];if(b){break A}v[a+2480>>2]=65500;b=Ub[v[a+152>>2]](65500)|0;v[a+2476>>2]=b;if(b){break A}break r}B:{c=v[a+2496>>2];if(!c){v[a+2500>>2]=65500;c=Ub[v[a+152>>2]](65500)|0;v[a+2496>>2]=c;if(!c){break B}b=v[a+2476>>2]}v[a+2516>>2]=0;v[a+2520>>2]=0;v[a+2484>>2]=b;v[a+2524>>2]=0;v[a+2528>>2]=0;v[a+2508>>2]=0;v[a+2512>>2]=0;v[a+2504>>2]=c;v[a+2488>>2]=0;v[a+2492>>2]=0;v[a+2552>>2]=0;v[a+2556>>2]=0;t[a+2539|0]=0;t[a+2540|0]=0;t[a+2541|0]=0;t[a+2542|0]=0;b=a+2530|0;u[b>>1]=0;u[b+2>>1]=0;u[b+4>>1]=0;u[b+6>>1]=0;b=a+2560|0;v[b>>2]=0;v[b+4>>2]=0;b=0;break q}pc(a,1,0,0);b=1;break q}pc(a,1,0,0);b=1}if(!b){break g}break a}pc(a,1053,0,0);return 1053}b=891;C:{D:{switch(w[a+340|0]-1|0){case 1:b=893;break C;case 3:b=895;break C;case 7:b=897;break C;case 0:break C;case 15:break D;default:break g}}b=899}v[a+1012>>2]=b}v[a+620>>2]=0;v[a+624>>2]=0;v[a+612>>2]=0;v[a+616>>2]=1;v[a+628>>2]=0;v[a+632>>2]=0;b=0}return b}function oTa(a,b){a=a|0;b=b|0;var 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,x=0,E=0,G=0,H=0,I=0,J=0,M=0,N=0,Q=0,R=0,S=C(0),U=C(0),V=0,W=0,X=0,Y=0;c=Qb-128|0;Qb=c;a:{b:{c:{d=a+96|0;d:{if(!w[d+1432|0]){h=a+1596|0;j=a+1628|0;if(!(!w[j+1160|0]|v[j+1172>>2]!=2)){qd(j+100|0,j,v[j+1164>>2],v[j+1168>>2]);v[j+1172>>2]=3}Dd(j);e:{if(!v[j+12>>2]){break e}v[j+1176>>2]=v[j+84>>2];d=v[j+80>>2];a=(v[j+88>>2]-d|0)+2|0;f:{if(a>>>0<=y[h+24>>2]){break f}e=v[h+20>>2];if(e){dc(e)}v[h+24>>2]=a;X=h,Y=fc((a|0)!=(a&536870911)?-1:a<<3),v[X+20>>2]=Y;if((a|0)==v[h+16>>2]){break f}e=v[h+12>>2];if(e){dc(e)}v[h+16>>2]=a;X=h,Y=fc(a),v[X+12>>2]=Y}v[h>>2]=d;v[h+4>>2]=2147483632;v[h+28>>2]=v[h+20>>2];a=v[b+8>>2];if(v[a>>2]!=1){v[a>>2]=1;ic(a+2144|0,0,513)}if(!Sf(j,h)){break e}while(1){r=v[b>>2];s=v[b+4>>2];g=v[b+8>>2];o=v[h+20>>2];H=v[h+28>>2]-o>>3;x=v[h+8>>2];M=+(x|0);while(1){N=v[o+12>>2];a=u[o+8>>1];d=u[o+10>>1];e=d>>31;k=(e^d+e)&65535;e=v[s+4>>2];g:{if(k>>>0<=e>>>0){break g}p=e;e=k+255&130816;if((p|0)==(e|0)){break g}f=v[s>>2];if(f){dc(f)}v[s+4>>2]=e;X=s,Y=fc(e<<2),v[X>>2]=Y}I=0;E=v[s>>2];p=E;e=a;if(d){while(1){i=+(e|0);Q=A[g+64>>3]+(A[g+32>>3]*i+A[g+48>>3]*M)-A[g+8>>3];i=A[g+72>>3]+(A[g+40>>3]*i+A[g+56>>3]*M)-A[g+16>>3];i=F(A[g+24>>3]*K(Q*Q+i*i),1)*512+.5;h:{if(D(i)<2147483648){f=~~i;break h}f=-2147483648}R=(f+g|0)+2144|0;if(!w[R|0]){m=v[g+88>>2];i:{if((m|0)>=2){i=+(f|0)*.001953125;l=v[g+84>>2];d=1;while(1){if(!(!(i<+z[l>>2])|(d|0)!=1)){d=v[g+80>>2];v[((f<<2)+g|0)+92>>2]=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);break i}n=d<<2;S=z[n+l>>2];if(i<+S){d=v[g+80>>2];m=d+n|0;q=d;d=n-4|0;n=q+d|0;G=w[n+3|0];V=w[m+3|0]-G|0;W=(f<<2)+g|0;q=w[n|0];J=q;U=z[d+l>>2];i=(i-+U)/+C(S-U)*256+.5;j:{if(i<4294967296&i>=0){d=~~i>>>0;break j}d=0}l=w[n+2|0];G=(B(d,V)>>>8|0)+G<<24|((B(d,w[m+2|0]-l|0)>>>8|0)+l&255)<<16;l=w[n+1|0];v[W+92>>2]=J+(B(d,w[m|0]-q|0)>>>8|0)&255|(G|((B(d,w[m+1|0]-l|0)>>>8|0)+l&255)<<8);break i}d=d+1|0;if((m|0)!=(d|0)){continue}break}}d=(v[g+80>>2]+(m<<2)|0)-4|0;v[((f<<2)+g|0)+92>>2]=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24)}t[R|0]=1}d=p;f=v[((f<<2)+g|0)+92>>2];t[d|0]=f;t[d+1|0]=f>>>8;t[d+2|0]=f>>>16;t[d+3|0]=f>>>24;e=e+1|0;p=d+4|0;I=I+1|0;if((I|0)!=(k|0)){continue}break}}k:{if(v[r+16>>2]<(x|0)|v[r+8>>2]>(x|0)){break k}f=u[o+10>>1]<0;e=f?0:N;p=w[N|0];d=v[r+4>>2];l:{if((a|0)>=(d|0)){d=a;break l}a=d-a|0;k=k-a|0;if((k|0)<1){break k}e=f?0:a+e|0;E=(a<<2)+E|0}J=v[r>>2];f=d;q=x;a=v[r+12>>2];if((a|0)<(d+k|0)){a=a-d|0;if((a|0)<0){break k}k=a+1|0}ig(J,f,q,k,E,e,p)}o=o+8|0;H=H-1|0;if(H){continue}break}if(Sf(j,h)){continue}break}}break d}if(!w[d+1433|0]){v[c+112>>2]=0;v[c+116>>2]=0;v[c+120>>2]=0;v[c+124>>2]=0;v[c+104>>2]=0;v[c+108>>2]=0;v[c+96>>2]=2147483632;v[c+80>>2]=0;v[c+84>>2]=0;v[c+88>>2]=0;v[c+92>>2]=0;v[c+72>>2]=0;v[c+76>>2]=0;v[c+64>>2]=2147483632;v[c+48>>2]=0;v[c+52>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[299999]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=2147483632;da(2428,a+1628|0,d|0,c- -64|0,c+32|0,c+96|0,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break c}a=v[c+52>>2];if(a){dc(a)}a=v[c+40>>2];if(a){dc(a)}a=v[c+84>>2];if(a){dc(a)}a=v[c+72>>2];if(a){dc(a)}a=v[c+116>>2];if(a){dc(a)}a=v[c+104>>2];if(!a){break d}dc(a);break d}v[c+112>>2]=0;v[c+116>>2]=0;v[c+120>>2]=0;v[c+124>>2]=0;v[c+104>>2]=0;v[c+108>>2]=0;v[c+96>>2]=2147483632;v[c+80>>2]=0;v[c+84>>2]=0;v[c+88>>2]=0;v[c+92>>2]=0;v[c+72>>2]=0;v[c+76>>2]=0;v[c+64>>2]=2147483632;v[c+48>>2]=0;v[c+52>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=2147483632;v[c+16>>2]=0;v[c+20>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=2147483632;d=v[a+1524>>2];v[299999]=0;da(2429,a+1628|0,(((d|0)==1?1180:1304)+a|0)+96|0,c- -64|0,c+32|0,c+96|0,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break b}a=v[c+52>>2];if(a){dc(a)}a=v[c+40>>2];if(a){dc(a)}a=v[c+84>>2];if(a){dc(a)}a=v[c+72>>2];if(a){dc(a)}a=v[c+116>>2];if(a){dc(a)}a=v[c+104>>2];if(!a){break d}dc(a)}Qb=c+128|0;return}a=P()|0;O()|0;break a}a=P()|0;O()|0;Md(c)}Md(c+32|0);Md(c- -64|0);Md(c+96|0);T(a|0);L()}function ioa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=Qb+-64|0;Qb=e;a:{b:{c:{d:{e:{f:{g:{if(!w[b+89|0]){a=vc(e+40|0,231584,241010,286,226767,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break g}b=P()|0;O()|0;qc(a);T(b|0);L()}h=Bh();v[e+32>>2]=0;h:{i:{j:{if(!v[b+100>>2]){break j}v[299999]=0;U(4713,e+40|0,c|0,0);f=v[299999];v[299999]=0;if((f|0)==1){break i}v[299999]=0;U(4723,e+16|0,h|0,e+40|0);f=v[299999];v[299999]=0;k:{l:{m:{n:{if((f|0)!=1){v[299999]=0;Q(4344,e+32|0,e+16|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break n}f=v[e+16>>2];v[e+16>>2]=0;o:{if(!f){break o}v[299999]=0;g=v[f+4>>2]-1|0;v[f+4>>2]=g;i=v[299999];v[299999]=0;if((i|0)==1){break a}if(g){break o}v[299999]=0;R(4338,f|0);f=v[299999];v[299999]=0;if((f|0)==1){break a}}ec(e+40|0);g=v[e+32>>2];if(!g){break j}v[299999]=0;f=Q(4340,e+40|0,280961)|0;i=v[299999];v[299999]=0;if((i|0)==1){break l}i=v[v[g>>2]+8>>2];v[299999]=0;g=Q(i|0,g|0,f|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break k}ec(f);if(!g){break j}b=v[e+32>>2];v[a>>2]=0;v[299999]=0;Q(4336,a|0,b|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break d}break c}b=P()|0;O()|0;break m}b=P()|0;O()|0;ec(e+16|0)}ec(e+40|0);break b}b=P()|0;O()|0;break b}b=P()|0;O()|0;ec(f);break b}v[299999]=0;V(4720,e+16|0,b|0);f=v[299999];v[299999]=0;p:{q:{r:{s:{t:{u:{v:{w:{if((f|0)!=1){f=v[c+8>>2];f=v[(f?f+12|0:1129608)>>2];v[299999]=0;U(4546,e+40|0,e+16|0,f|0);f=v[299999];v[299999]=0;if((f|0)==1){break w}v[299999]=0;U(4723,e+24|0,h|0,e+40|0);f=v[299999];v[299999]=0;if((f|0)==1){break v}v[299999]=0;Q(4344,e+32|0,e+24|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break u}f=v[e+24>>2];v[e+24>>2]=0;x:{if(!f){break x}v[299999]=0;h=v[f+4>>2]-1|0;v[f+4>>2]=h;g=v[299999];v[299999]=0;if((g|0)==1){break a}if(h){break x}v[299999]=0;R(4338,f|0);f=v[299999];v[299999]=0;if((f|0)==1){break a}}ec(e+40|0);ec(e+16|0);h=v[e+32>>2];if(!h){break p}v[299999]=0;f=Q(4340,e+40|0,280961)|0;g=v[299999];v[299999]=0;if((g|0)==1){break r}g=v[v[h>>2]+8>>2];v[299999]=0;h=Q(g|0,h|0,f|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break q}ec(f);if(!h){break p}b=v[e+32>>2];v[a>>2]=0;v[299999]=0;Q(4336,a|0,b|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break c}break d}b=P()|0;O()|0;break b}b=P()|0;O()|0;break s}b=P()|0;O()|0;break t}b=P()|0;O()|0;ec(e+24|0)}ec(e+40|0)}ec(e+16|0);break b}b=P()|0;O()|0;break b}b=P()|0;O()|0;ec(f);break b}v[e+40>>2]=0;y:{z:{if(d){break z}v[e+8>>2]=0;v[299999]=0;Q(4336,e+8|0,b|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break y}d=w[b+88|0];f=v[b+84>>2];v[299999]=0;fa(4725,e+16|0,c|0,e+8|0,f|0,d|0);c=v[299999];v[299999]=0;A:{B:{C:{if((c|0)!=1){v[299999]=0;Q(4344,e+40|0,e+16|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break C}c=v[e+16>>2];v[e+16>>2]=0;D:{if(!c){break D}v[299999]=0;d=v[c+4>>2]-1|0;v[c+4>>2]=d;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(d){break D}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}c=v[e+8>>2];v[e+8>>2]=0;E:{if(!c){break E}v[299999]=0;d=v[c+4>>2]-1|0;v[c+4>>2]=d;f=v[299999];v[299999]=0;if((f|0)==1){break h}if(d){break E}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break h}}v[299999]=0;V(4718,b|0,v[e+40>>2]);b=v[299999];v[299999]=0;if((b|0)!=1){break A}break f}b=P()|0;O()|0;break B}b=P()|0;O()|0;ec(e+16|0)}ec(e+8|0);break e}b=v[e+40>>2];if(!b){break z}v[299999]=0;v[b+4>>2]=v[b+4>>2]+1;b=v[299999];v[299999]=0;if((b|0)==1){break f}b=a;a=v[e+40>>2];v[b>>2]=a;v[e+40>>2]=0;if(!a){break d}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break d}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break d}}break a}v[a>>2]=0;break d}b=P()|0;O()|0;break e}b=P()|0;O()|0;break b}W(0)|0;O()|0;lc()}L()}b=P()|0;O()|0}ec(e+40|0);break b}a=v[e+32>>2];v[e+32>>2]=0;F:{if(!a){break F}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break F}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break F}}break a}Qb=e- -64|0;return}b=P()|0;O()|0}ec(e+32|0);T(b|0);L()}W(0)|0;O()|0;lc();L()}function Qka(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,n=0,o=0,p=0,q=0,r=0,s=0,u=0,y=0;s=Qb-32|0;Qb=s;a:{b:{c:{if((e|0)==1){m=Qb-32|0;Qb=m;d:{e=a;e:{if(x[a+10>>1]<=(c|0)|x[a+8>>1]<=(d|0)|(x[b+10>>1]+c|0)<0){break e}i=x[b+8>>1];if((i+d|0)<0){break e}a=v[b+20>>2];if(a){j=v[e+24>>2];f:{if(j|v[e+20>>2]){break f}f=v[e+36>>2];if(!f){j=0;break f}Nm(e,f);i=x[b+8>>1];j=v[e+24>>2];a=v[b+20>>2]}if(!(i&65535)){break e}h=x[e+14>>1];j=((x[e+12>>1]+j|0)+B(h,d)|0)+c|0;f=0-c|0;g=(f|0)>0?f:0;q=g^-1;f=x[b+12>>1]+a|0;while(1){a=d+l|0;g:{if((a|0)<0|(a|0)>=x[e+8>>1]){break g}a=x[b+10>>1];k=x[e+10>>1]-c|0;k=(a|0)<(k|0)?a:k;if((k|0)<=(g|0)){break g}a=g;i=k-a&3;if(i){while(1){h=a+j|0;t[h|0]=w[h|0]+w[a+f|0];a=a+1|0;i=i-1|0;if(i){continue}break}}if(k+q>>>0>=3){while(1){h=a+j|0;t[h|0]=w[h|0]+w[a+f|0];h=a+1|0;i=h+j|0;t[i|0]=w[i|0]+w[f+h|0];h=a+2|0;i=h+j|0;t[i|0]=w[i|0]+w[f+h|0];h=a+3|0;i=h+j|0;t[i|0]=w[i|0]+w[f+h|0];a=a+4|0;if((k|0)!=(a|0)){continue}break}}i=x[b+8>>1];h=x[e+14>>1]}j=(h&65535)+j|0;f=x[b+14>>1]+f|0;l=l+1|0;if(l>>>0<(i&65535)>>>0){continue}break}break e}h=v[b+36>>2];if(!h){break e}a=v[e+24>>2];h:{if(a|v[e+20>>2]){break h}a=v[e+36>>2];if(!a){a=0;break h}Nm(e,a);i=x[b+8>>1];a=v[e+24>>2];h=v[b+36>>2]}if(!i){break e}k=0-c|0;g=x[e+12>>1]+a|0;a=x[e+14>>1];j=i-1|0;i=((g+B(a,d)|0)+c|0)+B(a,j)|0;while(1){a=w[h|0];if(a>>>0<192){h=h+1|0}else{a=w[h+1|0]|a<<8&16128;h=h+2|0}q=x[b+10>>1];g=a+f|0;if((q|0)<(g|0)){b=vc(m+8|0,292962,241521,601,337814,0);v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break d}break a}i:{if(!(l&255)){break i}a=d+j|0;if((a|0)<0|(a|0)>=x[e+8>>1]){break i}a=(c+f|0)<0?(g|0)>(k|0)?k:g:f;if((g|0)<=(a|0)){break i}while(1){if(x[e+10>>1]>(a+c|0)){f=a+i|0;t[f|0]=w[f|0]+1;a=a+1|0;if((g|0)!=(a|0)){continue}}break}q=x[b+10>>1]}j:{if((g|0)<(q|0)){l=1-l|0;break j}j=j-1|0;i=i-x[e+14>>1]|0;l=0;g=0}f=g;if((j|0)>-1){continue}break}}Qb=m+32|0;break c}L()}if((B(x[a+10>>1],e)|0)<=(c|0)|(B(x[a+8>>1],e)|0)<=(d|0)|(x[b+10>>1]+c|0)<0){break c}n=x[b+8>>1];if((n+d|0)<0){break c}g=v[b+20>>2];if(g){o=v[a+24>>2];k:{if(o|v[a+20>>2]){break k}f=v[a+36>>2];if(!f){o=0;break k}Nm(a,f);n=x[b+8>>1];o=v[a+24>>2];g=v[b+20>>2]}if(!(n&65535)){break c}f=(c|0)/(e|0)|0;h=c-B(f,e)|0;c=h>>31;f=c+f|0;h=h+(c&e)|0;c=d;d=(d|0)/(e|0)|0;m=c-B(d,e)|0;c=m>>31;k=x[a+14>>1];r=c+d|0;o=(x[a+12>>1]+o|0)+B(k,r)|0;l=x[b+12>>1]+g|0;j=m+(c&e)|0;while(1){l:{if((r|0)<0|x[a+8>>1]<=(r|0)){break l}g=0;d=h;c=f;m=x[b+10>>1];if(!m){break l}while(1){if(!((c|0)<0|x[a+10>>1]<=(c|0))){k=c+o|0;t[k|0]=w[k|0]+w[g+l|0];m=x[b+10>>1]}k=d+1|0;d=(e|0)>(k|0)?k:0;c=((e|0)<=(k|0))+c|0;g=g+1|0;if(m>>>0>g>>>0){continue}break}n=x[b+8>>1];k=x[a+14>>1]}c=j+1|0;d=(c|0)<(e|0);j=d?c:0;o=(d?0:k)+o|0;l=x[b+14>>1]+l|0;r=((c|0)>=(e|0))+r|0;i=i+1|0;if(i>>>0<(n&65535)>>>0){continue}break}break c}l=v[b+36>>2];if(!l){break c}g=v[a+24>>2];m:{if(g|v[a+20>>2]){break m}f=v[a+36>>2];if(!f){g=0;break m}Nm(a,f);n=x[b+8>>1];g=v[a+24>>2];l=v[b+36>>2]}i=n-1|0;if(!n){break c}k=e-1|0;d=d+i|0;f=(d|0)/(e|0)|0;m=f;d=d-B(e,f)|0;f=d>>31;n=m+f|0;r=(x[a+12>>1]+g|0)+B(n,x[a+14>>1])|0;f=d+(e&f)|0;d=c;c=(c|0)/(e|0)|0;d=d-B(c,e)|0;q=d>>31;m=(q&e)+d|0;g=m;q=c+q|0;d=q;while(1){c=w[l|0];if(c>>>0<192){l=l+1|0}else{c=w[l+1|0]|c<<8&16128;l=l+2|0}j=x[b+10>>1];o=c+o|0;if((j|0)<(o|0)){b=vc(s+8|0,292962,241521,702,337414,0);v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}break a}n:{if((n|0)<0|x[a+8>>1]<=(n|0)|(c|0)<1){break n}if(!(h&255)){y=x[a+10>>1];while(1){if((d|0)>=(y|0)){break n}p=g;g=e-g|0;u=(c|0)<(g|0)?c:g;p=p+u|0;g=(e|0)>(p|0)?p:0;d=((e|0)<=(p|0))+d|0;c=c-u|0;if((c|0)>0){continue}break}break n}while(1){if(x[a+10>>1]>(d|0)){j=e-g|0;j=(c|0)<(j|0)?c:j;if((d|0)>=0){p=d+r|0;t[p|0]=j+w[p|0]}p=g+j|0;g=(e|0)>(p|0)?p:0;d=((e|0)<=(p|0))+d|0;c=c-j|0;if((c|0)>0){continue}}break}j=x[b+10>>1]}if((j|0)>(o|0)){h=1-h|0}else{i=i-1|0;o=0;if((f|0)>0){f=f-1|0}else{n=n-1|0;r=r-x[a+14>>1]|0;f=k}d=q;g=m;h=0}if((i|0)>-1){continue}break}}Qb=s+32|0;return}L()}a=P()|0;O()|0;qc(b);T(a|0);L()}function R9a(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,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,z=0,A=0,B=0;a:{f=w[a+286|0];if(!(f|w[a+287|0]|(w[a+288|0]|w[a+289|0]))){break a}if(w[a+290|0]|!(!w[a+289|0]|!w[a+341|0])){break a}if(!(!w[a+288|0]|w[a+2253|0]!=7)){pc(a,1030,0,0);return 1030}if(!(w[a+287|0]|c)){pc(a,1028,0,0);return 1028}if(!(w[a+293|0]|(!f|w[a+325|0]!=3))){pc(a,1032,0,0);return 1032}t[a+300|0]=1;b:{if(c){c:{if(w[a+477|0]){t[a+477|0]=0;f=Ro(a);if(f){break c}v[a+440>>2]=v[a+440>>2]+1}f=v[a+1012>>2];if(f){f=Ub[f|0](a)|0;v[a+1012>>2]=0;if(f){break c}}if(!w[a+2420|0]){f=L1(a);if(f){break c}}v[a+2340>>2]=d;v[a+2344>>2]=c;if(!v[a+2352>>2]){v[a+2352>>2]=v[a+636>>2];v[a+2356>>2]=v[a+616>>2]+v[a+604>>2]}d:{e:{s=a+2340|0;o=Mj(s,2);if(o>>>0<=1){while(1){if(!v[a+2356>>2]){f:{if(v[a+572>>2]>=v[a+320>>2]){break f}f=v[a+612>>2];if(!((f|0)>=v[a+616>>2]|!w[f+v[a+636>>2]|0])){k=1039;g:{h:{i:{j:{k:{l:{m:{n:{j=v[a+636>>2];switch(w[j+v[a+612>>2]|0]-1|0){case 3:break k;case 2:break l;case 1:break m;case 0:break n;default:break h}}k=0;h=v[a+652>>2];if((h|0)>=v[a+604>>2]){break h}g=j+v[a+616>>2]|0;f=h+g|0;while(1){t[f|0]=w[g|0]+w[f|0];g=g+1|0;f=f+1|0;h=h+1|0;if((h|0)>2]){continue}break}break h}f=0;if(v[a+604>>2]<1){break g}h=v[a+616>>2];f=h+j|0;g=h+v[a+640>>2]|0;k=0;h=0;while(1){t[f|0]=w[g|0]+w[f|0];g=g+1|0;f=f+1|0;h=h+1|0;if((h|0)>2]){continue}break}break h}f=v[a+616>>2];g=f+v[a+640>>2]|0;h=f+j|0;j=v[a+652>>2];if((j|0)<1){f=h;break i}i=j&3;if(j-1>>>0<3){f=h;break j}k=j&-4;f=h;while(1){t[f|0]=w[f|0]+(w[g|0]>>>1|0);t[f+1|0]=w[f+1|0]+(w[g+1|0]>>>1|0);t[f+2|0]=w[f+2|0]+(w[g+2|0]>>>1|0);t[f+3|0]=w[f+3|0]+(w[g+3|0]>>>1|0);g=g+4|0;f=f+4|0;k=k-4|0;if(k){continue}break}break j}f=v[a+616>>2];h=f+v[a+640>>2]|0;g=h;j=f+j|0;f=j;m=v[a+652>>2];o:{if((m|0)<1){break o}i=m&3;f=j;g=h;if(m-1>>>0>=3){k=m&-4;while(1){t[f|0]=w[g|0]+w[f|0];t[f+1|0]=w[g+1|0]+w[f+1|0];t[f+2|0]=w[g+2|0]+w[f+2|0];t[f+3|0]=w[g+3|0]+w[f+3|0];g=g+4|0;f=f+4|0;k=k-4|0;if(k){continue}break}}if(!i){break o}while(1){t[f|0]=w[g|0]+w[f|0];g=g+1|0;f=f+1|0;i=i-1|0;if(i){continue}break}}k=0;if(v[a+604>>2]<=(m|0)){break h}while(1){q=w[g|0];n=w[j|0];r=w[h|0];l=(q+n|0)-r|0;p=l-r|0;i=p>>31;p=i^i+p;z=f;u=l-n|0;i=u>>31;x=l-q|0;l=x>>31;i=i^i+u;l=l^l+x;p:{if(!(i>>>0>l>>>0|i>>>0>p>>>0)){i=n+w[f|0]|0;break p}n=w[f|0];i=n+q|0;if(l>>>0<=p>>>0){break p}i=n+r|0}t[z|0]=i;h=h+1|0;j=j+1|0;g=g+1|0;f=f+1|0;m=m+1|0;if((m|0)>2]){continue}break}break h}if(!i){break i}while(1){t[f|0]=w[f|0]+(w[g|0]>>>1|0);g=g+1|0;f=f+1|0;i=i-1|0;if(i){continue}break}}k=0;if(v[a+604>>2]<=(j|0)){break h}while(1){t[f|0]=w[f|0]+(w[g|0]+w[h|0]>>>1|0);h=h+1|0;g=g+1|0;f=f+1|0;j=j+1|0;if((j|0)>2]){continue}break}}f=k}if(f){break e}}f=v[a+992>>2];if(f){f=Ub[f|0](a)|0;A=a,B=Hib(v[a+636>>2],v[a+640>>2],32),v[A+636>>2]=B;v[a+640>>2]=Tb;if(f){break e}}q:{r:{if(w[a+289|0]){f=v[a+984>>2];if(!f){break q}f=Ub[f|0](a)|0;break r}f=v[a+988>>2];if(f){f=Ub[f|0](a)|0;if(f){break e}}f=v[a+984>>2];if(f){f=Ub[f|0](a)|0;if(f){break e}}f=v[a+976>>2];if(f){f=Ub[f|0](a)|0;if(f){break e}}f=v[a+968>>2];if(!f){break q}f=Ub[f|0](a)|0;if(f){break e}s:{if(!w[a+115|0]|v[a+12>>2]==2&y[a+320>>2]<301){break s}f=v[a+680>>2];if(v[a+516>>2]|(v[a+684>>2]-f|0)<51|((f+v[a+572>>2]|0)-v[a+664>>2]|0)%20){break s}t[a+502|0]=1}f=0}if(!f){break q}break e}if(!v[a+992>>2]){A=a,B=Hib(v[a+636>>2],v[a+640>>2],32),v[A+636>>2]=B;v[a+640>>2]=Tb}f=Bq(a);if(!f){break f}break e}v[a+2352>>2]=v[a+636>>2];v[a+2356>>2]=v[a+616>>2]+v[a+604>>2]}t:{u:{if(!(!v[a+2344>>2]|o)){if(v[a+572>>2]>2]|w[a+568|0]<7){break t}f=1047;if(!pc(a,1047,0,0)){break u}}f=0}break d}o=Mj(s,2);if(o>>>0<2){continue}break}}pc(a,5,o,0);f=5;break d}pc(a,f,0,0)}}if(f){break b}}v:{if(!w[a+112|0]){break v}f=Ub[v[b+4>>2]](a,b,e)|0;if(f){break b}b=v[e>>2];v[b+36>>2]=c;f=b;b=!c;t[f+32|0]=b;if(b){break v}b=Ub[v[a+152>>2]](c)|0;v[v[e>>2]+40>>2]=b;b=v[v[e>>2]+40>>2];if(!b){pc(a,1,0,0);return 1}gc(b,d,c)}f=0}return f|0}pc(a,1029,0,0);return 1029}function KW(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=Qb-432|0;Qb=c;d=w[a+11|0];e=d<<24>>24;f=w[b+11|0];g=f<<24>>24;a:{b:{c:{d:{e:{f:{g:{h=(g|0)<0?v[b+4>>2]:f;f=v[a+4>>2];i=(e|0)<0?f:d;h:{if((h|0)==(i|0)){d=1;if(!i){break h}if(!od((e|0)<0?v[a>>2]:a,(g|0)<0?v[b>>2]:b,i)){break h}f=v[a+4>>2];d=w[a+11|0];e=d}g=v[a>>2];v[c+208>>2]=0;v[c+24>>2]=0;e=e<<24>>24<0;ll(e?g:a,e?f:d,c+208|0,c+24|0,0);e=v[c+24>>2];if(e>>>0>=4294967280){break g}f=v[c+208>>2];i:{j:{if(e>>>0>=11){g=e+16&-16;d=fc(g);v[c+424>>2]=g|-2147483648;v[c+416>>2]=d;v[c+420>>2]=e;break j}t[c+427|0]=e;d=c+416|0;if(!e){break i}}gc(d,f,e)}t[d+e|0]=0;d=v[c+208>>2];if(d){dc(d)}e=v[b>>2];f=v[b+4>>2];d=w[b+11|0];v[c+208>>2]=0;v[299999]=0;v[c+24>>2]=0;h=b;b=d<<24>>24<0;fa(2716,(b?e:h)|0,(b?f:d)|0,c+208|0,c+24|0,0);b=v[299999];v[299999]=0;k:{l:{if((b|0)==1){break l}b=v[c+24>>2];if(b>>>0>=4294967280){v[299999]=0;R(2530,c+400|0);a=v[299999];v[299999]=0;if((a|0)==1){break l}L()}e=v[c+208>>2];m:{n:{if(b>>>0>=11){v[299999]=0;f=b+16&-16;d=S(1,f|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break l}v[c+400>>2]=d;v[c+404>>2]=b;v[c+408>>2]=f|-2147483648;break n}t[c+411|0]=b;d=c+400|0;if(!b){break m}}gc(d,e,b)}t[b+d|0]=0;b=v[c+208>>2];if(b){dc(b)}v[c+316>>2]=1011744;b=v[252939];v[c+208>>2]=b;h=v[b-12>>2];b=c+208|0;v[h+b>>2]=v[252940];v[c+212>>2]=0;d=v[v[c+208>>2]-12>>2];v[299999]=0;b=b+d|0;d=c+216|0;V(2717,b|0,d|0);e=v[299999];v[299999]=0;i=c+316|0;if((e|0)==1){break f}v[b+72>>2]=0;v[b+76>>2]=-1;v[299999]=0;v[c+316>>2]=1011744;v[c+208>>2]=1011724;b=S(2718,d|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){b=P()|0;O()|0;break b}v[c+128>>2]=1011900;d=v[252978];v[c+24>>2]=d;h=v[d-12>>2];d=c+24|0;v[h+d>>2]=v[252979];e=v[v[c+24>>2]-12>>2];v[299999]=0;e=d+e|0;d=d|4;V(2717,e|0,d|0);f=v[299999];v[299999]=0;j=c+128|0;if((f|0)==1){break e}v[e+72>>2]=0;v[e+76>>2]=-1;v[299999]=0;v[c+128>>2]=1011900;v[c+24>>2]=1011880;g=S(2718,d|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){b=P()|0;O()|0;break c}v[c+20>>2]=0;v[c+12>>2]=0;v[c+16>>2]=0;v[299999]=0;v[c+8>>2]=530160;d=Y(2523,c+8|0,a|0,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break d}a=1048576;if(d){a=v[c+20>>2];e=0;v[c+20>>2]=0;v[c+16>>2]=0;d=v[c+12>>2];if(d){Be(d);v[c+12>>2]=0}f=0;if((a|0)<1){break k}a=(a|0)<1048576?a:1048576}v[299999]=0;e=S(15,a|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break d}v[299999]=0;f=S(15,a|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break d}d=v[v[b>>2]+12>>2];v[299999]=0;Y(d|0,b|0,e|0,a|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break d}d=v[v[g>>2]+12>>2];v[299999]=0;Y(d|0,g|0,f|0,a|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break k}break d}b=P()|0;O()|0;break a}v[299999]=0;U(2719,c+208|0,(t[c+427|0]<0?v[c+416>>2]:c+416|0)|0,4);a=v[299999];v[299999]=0;if((a|0)==1){break d}v[299999]=0;U(2720,c+24|0,(t[c+411|0]<0?v[c+400>>2]:c+400|0)|0,4);a=v[299999];v[299999]=0;if((a|0)==1){break d}d=0;o:{if(!v[c+280>>2]|!v[c+92>>2]){break o}v[299999]=0;Q(2721,c+24|0,b|0)|0;a=v[299999];v[299999]=0;p:{if((a|0)==1){break p}v[299999]=0;a=S(2722,b|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break p}if(!a){a=v[v[c+208>>2]-12>>2];v[299999]=0;a=a+(c+208|0)|0;V(2723,a|0,v[a+16>>2]|4);a=v[299999];v[299999]=0;if((a|0)==1){break p}}v[299999]=0;a=S(2722,g|0)|0;h=v[299999];v[299999]=0;d=1;if((h|0)==1){break p}if(a){break o}a=v[v[c+24>>2]-12>>2];v[299999]=0;a=a+(c+24|0)|0;V(2723,a|0,v[a+16>>2]|4);a=v[299999];v[299999]=0;if((a|0)!=1){break o}}break d}if(e){dc(e)}if(f){dc(f)}v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=530160;a=v[c+12>>2];if(a){Be(a)}a=v[252977];v[c+24>>2]=a;v[v[a-12>>2]+(c+24|0)>>2]=v[252980];Zq(g);lf(j);a=v[252938];v[c+208>>2]=a;v[v[a-12>>2]+(c+208|0)>>2]=v[252941];Zq(b);lf(i);if(t[c+411|0]<=-1){dc(v[c+400>>2])}if(t[c+427|0]>-1){break h}dc(v[c+416>>2])}Qb=c+432|0;return d|0}$d(c+416|0);L()}b=P()|0;O()|0;break b}b=P()|0;O()|0;break c}b=P()|0;O()|0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=530160;a=v[c+12>>2];if(a){Be(a)}JW(c+24|0)}lf(j);IW(c+208|0)}lf(i);if(t[c+411|0]>-1){break a}dc(v[c+400>>2])}if(t[c+427|0]<=-1){dc(v[c+416>>2])}T(b|0);L()}function XEa(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,p=0,q=0;ic(a+128|0,0,128);d=v[b>>2]+c|0;f=w[d+4|0];j=w[d+3|0];e=f+j|0;g=w[d+7|0];i=w[d|0];h=g+i|0;k=e+h|0;l=w[d+5|0];m=w[d+2|0];n=l+m|0;o=w[d+6|0];p=w[d+1|0];d=o+p|0;q=n+d|0;v[a+16>>2]=k-q<<3;v[a>>2]=(k+q<<3)+-8192;e=h-e|0;h=d-n|0;d=B(e+h|0,4433)+512|0;v[a+24>>2]=d+B(h,-15137)>>10;v[a+8>>2]=d+B(e,6270)>>10;d=j-f|0;f=i-g|0;j=B(d+f|0,-7373);e=p-o|0;h=e+d|0;g=m-l|0;k=g+f|0;i=B(h+k|0,9633)+512|0;l=j+B(d,2446)|0;d=i+B(h,-16069)|0;v[a+28>>2]=l+d>>10;i=i+B(k,-3196)|0;h=B(g,16819);g=B(e+g|0,-20995);v[a+20>>2]=i+(h+g|0)>>10;v[a+12>>2]=d+(g+B(e,25172)|0)>>10;v[a+4>>2]=i+(j+B(f,12299)|0)>>10;d=v[b+4>>2]+c|0;f=w[d+4|0];j=w[d+3|0];e=f+j|0;g=w[d+7|0];i=w[d|0];h=g+i|0;k=e+h|0;l=w[d+5|0];m=w[d+2|0];n=l+m|0;o=w[d+6|0];p=w[d+1|0];d=o+p|0;q=n+d|0;v[a+48>>2]=k-q<<3;v[a+32>>2]=(k+q<<3)+-8192;e=h-e|0;h=d-n|0;d=B(e+h|0,4433)+512|0;v[a+56>>2]=d+B(h,-15137)>>10;v[a+40>>2]=d+B(e,6270)>>10;d=j-f|0;f=i-g|0;j=B(d+f|0,-7373);e=p-o|0;h=e+d|0;g=m-l|0;k=g+f|0;i=B(h+k|0,9633)+512|0;l=j+B(d,2446)|0;d=i+B(h,-16069)|0;v[a+60>>2]=l+d>>10;i=i+B(k,-3196)|0;h=B(g,16819);g=B(e+g|0,-20995);v[a+52>>2]=i+(h+g|0)>>10;v[a+44>>2]=d+(g+B(e,25172)|0)>>10;v[a+36>>2]=i+(j+B(f,12299)|0)>>10;d=v[b+8>>2]+c|0;f=w[d+4|0];j=w[d+3|0];e=f+j|0;g=w[d+7|0];i=w[d|0];h=g+i|0;k=e+h|0;l=w[d+5|0];m=w[d+2|0];n=l+m|0;o=w[d+6|0];p=w[d+1|0];d=o+p|0;q=n+d|0;v[a+80>>2]=k-q<<3;v[a+64>>2]=(k+q<<3)+-8192;e=h-e|0;h=d-n|0;d=B(e+h|0,4433)+512|0;v[a+88>>2]=d+B(h,-15137)>>10;v[a+72>>2]=d+B(e,6270)>>10;d=j-f|0;f=i-g|0;j=B(d+f|0,-7373);e=p-o|0;h=e+d|0;g=m-l|0;k=g+f|0;i=B(h+k|0,9633)+512|0;l=j+B(d,2446)|0;d=i+B(h,-16069)|0;v[a+92>>2]=l+d>>10;i=i+B(k,-3196)|0;h=B(g,16819);g=B(e+g|0,-20995);v[a+84>>2]=i+(h+g|0)>>10;v[a+76>>2]=d+(g+B(e,25172)|0)>>10;v[a+68>>2]=i+(j+B(f,12299)|0)>>10;b=v[b+12>>2]+c|0;c=w[b+4|0];d=w[b+3|0];f=c+d|0;j=w[b+7|0];e=w[b|0];g=j+e|0;i=f+g|0;h=w[b+5|0];k=w[b+2|0];l=h+k|0;m=w[b+6|0];n=w[b+1|0];b=m+n|0;o=l+b|0;v[a+112>>2]=i-o<<3;f=g-f|0;g=b-l|0;b=B(f+g|0,4433)+512|0;v[a+120>>2]=b+B(g,-15137)>>10;b=b+B(f,6270)>>10;v[a+104>>2]=b;c=d-c|0;d=e-j|0;f=B(c+d|0,-7373);j=n-m|0;l=j+c|0;e=k-h|0;h=e+d|0;g=B(l+h|0,9633)+512|0;k=g+B(l,-16069)|0;v[a+124>>2]=k+(f+B(c,2446)|0)>>10;g=g+B(h,-3196)|0;c=B(e,16819);e=B(e+j|0,-20995);v[a+116>>2]=g+(c+e|0)>>10;c=v[a>>2];i=(i+o<<3)+-8192|0;h=(c+i|0)+2|0;l=v[a+64>>2];m=v[a+32>>2];n=l+m|0;v[a+64>>2]=h-n>>2;v[a>>2]=h+n>>2;h=m-l|0;i=c-i|0;c=B(h+i|0,4433)+16384|0;v[a+96>>2]=c+B(h,-15137)>>15;v[a+32>>2]=c+B(i,6270)>>15;c=v[a+4>>2];d=g+(f+B(d,12299)|0)>>10;f=(c+d|0)+2|0;g=v[a+68>>2];i=v[a+36>>2];h=g+i|0;v[a+68>>2]=f-h>>2;v[a+4>>2]=f+h>>2;f=i-g|0;d=c-d|0;c=B(f+d|0,4433)+16384|0;v[a+100>>2]=c+B(f,-15137)>>15;v[a+36>>2]=c+B(d,6270)>>15;c=v[a+8>>2];d=(c+b|0)+2|0;f=v[a+72>>2];g=v[a+40>>2];i=f+g|0;v[a+72>>2]=d-i>>2;v[a+8>>2]=d+i>>2;d=g-f|0;c=c-b|0;b=B(d+c|0,4433)+16384|0;v[a+104>>2]=b+B(d,-15137)>>15;v[a+40>>2]=b+B(c,6270)>>15;b=v[a+12>>2];c=k+(e+B(j,25172)|0)>>10;d=(b+c|0)+2|0;f=v[a+76>>2];j=v[a+44>>2];e=f+j|0;v[a+76>>2]=d-e>>2;v[a+12>>2]=d+e>>2;d=j-f|0;c=b-c|0;b=B(d+c|0,4433)+16384|0;v[a+108>>2]=b+B(d,-15137)>>15;v[a+44>>2]=b+B(c,6270)>>15;b=v[a+16>>2];c=v[a+112>>2];d=(b+c|0)+2|0;f=v[a+80>>2];j=v[a+48>>2];e=f+j|0;v[a+80>>2]=d-e>>2;v[a+16>>2]=d+e>>2;d=j-f|0;c=b-c|0;b=B(d+c|0,4433)+16384|0;v[a+112>>2]=b+B(d,-15137)>>15;v[a+48>>2]=b+B(c,6270)>>15;b=v[a+20>>2];c=v[a+116>>2];d=(b+c|0)+2|0;f=v[a+84>>2];j=v[a+52>>2];e=f+j|0;v[a+84>>2]=d-e>>2;v[a+20>>2]=d+e>>2;d=j-f|0;c=b-c|0;b=B(d+c|0,4433)+16384|0;v[a+116>>2]=b+B(d,-15137)>>15;v[a+52>>2]=b+B(c,6270)>>15;b=v[a+24>>2];c=v[a+120>>2];d=(b+c|0)+2|0;f=v[a+88>>2];j=v[a+56>>2];e=f+j|0;v[a+88>>2]=d-e>>2;v[a+24>>2]=d+e>>2;d=j-f|0;c=b-c|0;b=B(d+c|0,4433)+16384|0;v[a+120>>2]=b+B(d,-15137)>>15;v[a+56>>2]=b+B(c,6270)>>15;b=v[a+28>>2];c=v[a+124>>2];d=(b+c|0)+2|0;f=v[a+92>>2];j=v[a+60>>2];e=f+j|0;v[a+92>>2]=d-e>>2;v[a+28>>2]=d+e>>2;d=j-f|0;c=b-c|0;b=B(d+c|0,4433)+16384|0;v[a+124>>2]=b+B(d,-15137)>>15;v[a+60>>2]=b+B(c,6270)>>15}function Mv(a,b,c){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,p=0,q=0,r=0,s=0,t=0;h=Qb-128|0;Qb=h;k=v[c+8>>2];if(!((B(k,b)|0)%v[c+24>>2]|0)){d=1<>2]-1;v[c+48>>2]=d;v[c+44>>2]=d;v[c+40>>2]=d;v[c+36>>2]=d;v[c+32>>2]=d;v[c+28>>2]=d;if(b){while(1){d=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;if((d|0)!=-1){e=d+(e<<8&16776960)|0;if((e&65520)!=65488){continue}}break}k=v[c+8>>2]}v[289140]=0;v[289141]=0;v[289139]=0}p=v[c+76>>2];m=v[c+12>>2];if(!((k|0)<1|(m|0)<1)){i=v[252391];d=b&1;n=(B(B(d,k),m)<<1)+p|0;j=(B(B(!d,k),m)<<1)+p|0;d=k;e=m;while(1){if((e|0)>=1){t=(b|0)!=0&(o|0)!=0;l=0;while(1){q=(l<<2)+c|0;f=v[q+52>>2];e=v[f>>2];a:{if(!e){break a}r=0;if(v[289141]){while(1){f=e;e=v[e>>2];if(e){continue}break a}}while(1){d=0;b:{if(r){break b}g=v[289140];c:{if((g|0)>=1){e=v[289139];break c}while(1){d:{e:{e=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;f:{if((e|0)==-1){if(!v[a+26160>>2]){v[h+112>>2]=v[a+25208>>2];wc(i,8292,h+112|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,i);v[a+26160>>2]=1;break f}d=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[h+96>>2]=d;v[h+100>>2]=d>>31;wc(i,14622,h+96|0)}v[a+26160>>2]=1;break f}if(!v[a+26144>>2]){break f}if((e|0)==255){break e}}v[289141]=0;break d}d=0;g=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[289141]=(g|0)!=0;if(!g){break d}r=1;break b}d=v[289140];g=d+8|0;v[289140]=g;e=e&255|v[289139]<<8;v[289139]=e;if((d|0)<-7){continue}break}}r=0;v[289140]=g-1;d=e<<32-g>>>31|0}f=v[(d<<2)+f>>2];if(v[f>>2]){continue}break}}g:{h:{i:{j:{e=v[f+8>>2];d=e+1|0;if(d){if((d|0)==17){break i}else{break j}}v[289140]=0;v[289141]=0;v[289139]=0;d=0;break h}d=0;if(v[289141]|!e){break h}d=v[289140];k:{if((e|0)<=(d|0)){g=v[289139];break k}while(1){f=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;l:{if((f|0)==-1){if(!v[a+26160>>2]){v[h+48>>2]=v[a+25208>>2];wc(i,8292,h+48|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,i);v[a+26160>>2]=1;v[289141]=0;break l}d=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[h+32>>2]=d;v[h+36>>2]=d>>31;wc(i,14622,h+32|0)}v[a+26160>>2]=1;v[289141]=0;break l}if(!((f|0)==255?v[a+26144>>2]:0)){v[289141]=0;break l}g=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[289141]=(g|0)!=0;d=0;if(g){break h}}d=v[289140]+8|0;v[289140]=d;g=f&255|v[289139]<<8;v[289139]=g;if((d|0)<(e|0)){continue}break}}d=d-e|0;v[289140]=d;f=32-e|0;d=g<>>f|0;break h}d=-32768;if(v[a+26152>>2]-1>>>0>16842750){break g}d=0;if(v[289141]){break h}f=v[289140];m:{if((f|0)>=16){g=v[289139];break m}while(1){g=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;n:{if((g|0)==-1){if(!v[a+26160>>2]){v[h+80>>2]=v[a+25208>>2];wc(i,8292,h+80|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,i);v[a+26160>>2]=1;v[289141]=0;break n}d=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[h+64>>2]=d;v[h+68>>2]=d>>31;wc(i,14622,h- -64|0)}v[a+26160>>2]=1;v[289141]=0;break n}if(!((g|0)==255?v[a+26144>>2]:0)){v[289141]=0;break n}f=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[289141]=(f|0)!=0;d=0;if(f){break h}}d=v[289140];f=d+8|0;v[289140]=f;g=g&255|v[289139]<<8;v[289139]=g;if((d|0)<8){continue}break}}v[289140]=f-16;d=g<<32-f>>>16|0}d=d+(d>>>e-1&1?0:(-1<>2];q:{if(!(!f|(f|0)<(l|0))){d=s;if(l|o){break q}}if(!o){break p}d=x[n-(v[c+12>>2]<<1)>>1]}if(!t){break o}r:{switch(v[c+20>>2]-1|0){case 1:d=x[j>>1];break o;case 2:d=x[j-(v[c+12>>2]<<1)>>1];break o;case 3:d=(x[j>>1]+d|0)-x[j-(v[c+12>>2]<<1)>>1]|0;break o;case 4:d=(x[j>>1]-x[j-(v[c+12>>2]<<1)>>1]>>1)+d|0;break o;case 5:d=x[j>>1]+(d-x[j-(v[c+12>>2]<<1)>>1]>>1)|0;break o;case 6:d=x[j>>1]+d>>1;break o;case 0:break o;default:break r}}d=0;break o}d=v[q+28>>2];v[q+28>>2]=e+d}d=d+e|0;u[n>>1]=d;if((d&65535)>>>v[c>>2]|0){s:{if(v[a+26160>>2]){break s}v[h+16>>2]=v[a+25208>>2];wc(i,8292,h+16|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,i);break s}d=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[h>>2]=d;v[h+4>>2]=d>>31;wc(i,14622,h)}v[a+26160>>2]=1;f=v[c+16>>2]}s=(f|0)>=(l|0)?x[n>>1]:s;j=j+2|0;n=n+2|0;e=v[c+12>>2];l=l+1|0;if((e|0)>(l|0)){continue}break}d=v[c+8>>2]}o=o+1|0;if((o|0)<(d|0)){continue}break}}Qb=h+128|0;return(B(B(b&1,k),m)<<1)+p|0}function pZ(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;k=Qb-16|0;Qb=k;h=8;a:{if(e>>>0>100){break a}b:{i=v[a+32>>2];if(!i){break b}j=v[a+40>>2];l=v[a+36>>2]+v[a+28>>2]|0;g=l;while(1){c:{v[k+12>>2]=g+2;h=w[g+1|0];m=w[g|0];v[k+12>>2]=g+4;m=h|m<<8;if(m>>>0<=b>>>0&(w[g+3|0]|w[g+2|0]<<8)>>>0>=b>>>0){break c}g=g+8|0;v[k+12>>2]=g;i=i-1|0;if(i){continue}break b}break}g=w[g+4|0]|w[g+5|0]<<8|(w[g+6|0]<<16|w[g+7|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);h=8;if(g>>>0>j-l>>>0){break a}h=g+l|0;g=h+8|0;if(g>>>0>j>>>0){break b}v[k+12>>2]=h+2;i=w[h|0]|w[h+1|0]<<8;v[k+12>>2]=h+4;n=w[h+3|0];o=w[h+2|0];v[k+12>>2]=g;l=w[h+4|0]|w[h+5|0]<<8|(w[h+6|0]<<16|w[h+7|0]<<24);d:{e:{switch(((i<<8|i>>>8)&65535)-1|0){case 0:b=g+(b-m<<2)|0;g=b+8|0;if(g>>>0>j>>>0){break b}v[k+12>>2]=b+4;h=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);v[k+12>>2]=g;b=w[b+4|0]|w[b+5|0]<<8|(w[b+6|0]<<16|w[b+7|0]<<24);g=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);i=h<<8&16711680|h<<24|(h>>>8&65280|h>>>24);if((g|0)!=(i|0)){break d}break b;case 1:if(g+12>>>0>j>>>0){break b}v[k+12>>2]=g+4;g=w[g|0]|w[g+1|0]<<8|(w[g+2|0]<<16|w[g+3|0]<<24);if(yH(a,k+12|0,j)){break b}h=b-m|0;b=g<<8&16711680|g<<24|(g>>>8&65280|g>>>24);i=B(h,b);g=i+b|0;break d;case 2:b=g+(b-m<<1)|0;if(b+4>>>0>j>>>0){break b}v[k+12>>2]=b+2;h=w[b+1|0];i=w[b|0];v[k+12>>2]=b+4;g=w[b+3|0]|w[b+2|0]<<8;i=h|i<<8;if((g|0)!=(i|0)){break d}break b;case 3:g=g+4|0;if(j>>>0>>0){break b}v[k+12>>2]=g;if(g+4>>>0>j>>>0){break b}h=g-4|0;h=w[h|0]|w[h+1|0]<<8|(w[h+2|0]<<16|w[h+3|0]<<24);h=h<<24|h<<8&16711680|(h>>>8&65280|h>>>24);if(h>>>0>(j-g>>2)-1>>>0|!h){break b}i=0;while(1){v[k+12>>2]=g+2;if((w[g+1|0]|w[g|0]<<8)==(b|0)){v[k+12>>2]=g+4;b=w[g+3|0];h=w[g+2|0];v[k+12>>2]=g+6;i=b|h<<8;g=w[g+7|0]|w[g+6|0]<<8;break d}g=g+4|0;v[k+12>>2]=g;i=i+1|0;if((h|0)!=(i|0)){continue}break};break b;case 4:case 18:break e;default:break b}}if(g+16>>>0>j>>>0){break b}v[k+12>>2]=g+4;h=w[g|0]|w[g+1|0]<<8|(w[g+2|0]<<16|w[g+3|0]<<24);if(yH(a,k+12|0,j)){break b}i=v[k+12>>2];g=i+4|0;v[k+12>>2]=g;p=j-g>>1;i=w[i|0]|w[i+1|0]<<8|(w[i+2|0]<<16|w[i+3|0]<<24);j=i<<24|i<<8&16711680|(i>>>8&65280|i>>>24);if(p>>>0>>0|!j){break b}m=h<<8&16711680|h<<24|(h>>>8&65280|h>>>24);i=0;while(1){f:{h=g+2|0;v[k+12>>2]=h;if((w[g+1|0]|w[g|0]<<8)==(b|0)){break f}g=h;i=i+1|0;if((j|0)!=(i|0)){continue}break b}break}i=B(i,m);g=m+i|0}if(g>>>0>>0){break b}n=n|o<<8;j=Qb-16|0;Qb=j;b=6;h=g-i|0;l=(l<<8&16711680|l<<24|(l>>>8&65280|l>>>24))+i|0;g:{if(!h|y[a+24>>2]>>0){break g}o=v[a+4>>2];b=Yc(o,l+v[a+20>>2]|0);if(b){break g}b=Xh(o,h,j+8|0);if(b){break g}g=v[j+8>>2];v[j+12>>2]=g;l=g+h|0;b=7;h:{i:{j:{k:{l:{m:{n:{o:{switch(n-1|0){case 0:case 1:case 7:case 16:b=6;if((h|0)<5){break h}b=v[a+12>>2];u[b>>1]=w[g|0];u[b+2>>1]=w[g+1|0];u[b+4>>1]=t[g+2|0];u[b+6>>1]=t[g+3|0];h=w[g+4|0];u[b+14>>1]=0;u[b+10>>1]=0;u[b+12>>1]=0;u[b+8>>1]=h;t[a+16|0]=1;v[j+12>>2]=g+5;break n;case 18:break h;case 4:break m;case 5:case 6:case 8:case 17:break o;default:break i}}b=yH(a,j+12|0,l);if(b){break h}}m=1884;b=7;p:{switch(n-1|0){case 16:case 17:break h;case 0:case 5:break j;case 8:break k;case 7:break l;case 4:break m;case 1:case 6:break p;default:break i}}g=v[a+12>>2];b=x[g>>1];h=x[g+2>>1];g=B(b,h+7>>>3|0);if(g>>>0<=B(b,h)+7>>>3>>>0){break m}if((g|0)==(l-v[j+12>>2]|0)){break j}}m=1885;break j}b=0;g=v[j+12>>2]+1|0;if(g>>>0>l>>>0){break h}v[j+12>>2]=g}m=1886}if(!w[a+17|0]){if(w[a+16|0]){h=v[a+12>>2];b=x[h+2>>1];g=v[a+8>>2];n=x[h>>1];v[g>>2]=n;v[g+4>>2]=b;h=3;p=g;q:{r:{s:{t:{switch(w[a+18|0]-1|0){case 0:t[g+18|0]=1;b=b+7>>>3|0;h=2;break r;case 1:t[g+18|0]=3;b=b+3>>>2|0;h=4;break r;case 3:t[g+18|0]=4;b=b+1>>>1|0;h=16;break r;case 7:t[g+18|0]=2;break s;case 31:break t;default:break q}}t[g+18|0]=7;b=b<<2}h=256}u[p+16>>1]=h;v[g+8>>2]=b;h=0;b=B(b,n);if(f|!b){break q}h=fA(v[v[a>>2]+84>>2],b);if(h){break q}t[a+17|0]=1;h=0}b=h}else{b=6}if(b){break h}}b=0;if(f){break h}b=Ub[m|0](a,v[j+12>>2],l,c,d,e)|0;break h}b=8}nf(o,j+8|0)}Qb=j+16|0;h=b;break a}h=e?21:157}Qb=k+16|0;return h}function vF(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=Qb+-64|0;Qb=f;c=v[a+36>>2];h=v[c+56>>2];v[a+200>>2]=v[a+200>>2]+3;b=v[c+16>>2];v[c+16>>2]=b+3;v[c+32>>2]=v[c+32>>2]+3;b=w[b+3|0];if((b|0)==37){wd(a);c=v[a+36>>2];b=w[v[c+16>>2]]}a:{if(b&255){break a}if((cd(c)|0)>0){break a}vd(a)}Bd(a);b:{c:{d:{e:{f:{g:{d=v[a+36>>2];b=v[d+16>>2];if(w[b|0]!=73){break g}h:{switch(w[b+1|0]-71|0){case 7:if(w[b+2|0]!=67|w[b+3|0]!=76|(w[b+4|0]!=85|w[b+5|0]!=68)){break g}if(w[b+6|0]!=69){break g}v[a+200>>2]=v[a+200>>2]+7;v[d+16>>2]=b+7;v[d+32>>2]=v[d+32>>2]+7;b=w[b+7|0];if((b|0)==37){wd(a);d=v[a+36>>2];b=w[v[d+16>>2]]}i:{if(b&255){break i}if((cd(d)|0)>0){break i}vd(a)}Bd(a);b=v[a+36>>2];if(w[v[b+16>>2]]!=91){te(a,83,0);el(a);break b}if(v[b+56>>2]!=(h|0)){Xi(a,90,347031,0,0)}xd(a);if(v[294256]){b=v[a+36>>2];j:{if(!b){break j}c=v[b+4>>2];if(!c){break j}b=v[b+28>>2];v[f+32>>2]=c;v[f+36>>2]=b;Ub[v[259806]](v[294239],346683,f+32|0)}Ub[v[259806]](v[294239],350790,0)}c=v[a+36>>2];k:{while(1){e=v[c+16>>2];b=w[e|0];l:{if((b|0)!=93){if(b){break l}break k}if(w[e+1|0]!=93){break l}if(w[e+2|0]==62){break k}}if(v[a+172>>2]==-1){break k}g=v[c+36>>2];m:{n:{o:{p:{if((b|0)==32){break p}if((b|0)==60){if(w[e+1|0]!=33|w[e+2|0]!=91){break n}vF(a);break m}if((b-9&255)>>>0<2){break p}if((b|0)==37){break o}if((b|0)!=13){break n}}xd(a);break m}By(a);break m}wF(a)}c=v[a+36>>2];d=v[c+16>>2];q:{if(w[d|0]|v[a+40>>2]<=1){break q}while(1){vd(a);c=v[a+36>>2];d=v[c+16>>2];if(w[d|0]){break q}if(v[a+40>>2]>=2){continue}break}}if((d|0)!=(e|0)|(g|0)!=v[c+36>>2]){continue}break}te(a,60,0);el(a)}if(!v[294256]){break c}c=v[a+36>>2];if(c){break f}d=350753;break d;case 0:break h;default:break g}}if(w[b+2|0]!=78|w[b+3|0]!=79|(w[b+4|0]!=82|w[b+5|0]!=69)){break g}v[a+200>>2]=v[a+200>>2]+6;v[d+16>>2]=b+6;v[d+32>>2]=v[d+32>>2]+6;b=w[b+6|0];if((b|0)==37){wd(a);d=v[a+36>>2];b=w[v[d+16>>2]]}r:{if(b&255){break r}if((cd(d)|0)>0){break r}vd(a)}Bd(a);b=v[a+36>>2];if(w[v[b+16>>2]]!=91){te(a,83,0);el(a);break b}if(v[b+56>>2]!=(h|0)){Xi(a,90,347031,0,0)}xd(a);if(v[294256]){b=v[a+36>>2];s:{if(!b){break s}c=v[b+4>>2];if(!c){break s}b=v[b+28>>2];v[f+48>>2]=c;v[f+52>>2]=b;Ub[v[259806]](v[294239],346683,f+48|0)}Ub[v[259806]](v[294239],350716,0)}d=v[a+212>>2];if(!v[a+288>>2]){v[a+212>>2]=1}i=v[a+172>>2];v[a+172>>2]=15;while(1){t:{e=v[a+36>>2];b=v[e+16>>2];c=w[b|0];if(!c|v[a+172>>2]==-1){break t}u:{v:{w:{x:{if((c|0)!=60){if((c|0)!=93|w[b+1|0]!=93|w[b+2|0]!=62){break x}if((g|0)<1){break t}v[a+200>>2]=v[a+200>>2]+3;v[e+16>>2]=b+3;v[e+32>>2]=v[e+32>>2]+3;g=g-1|0;b=w[b+3|0];if((b|0)==37){wd(a);e=v[a+36>>2];b=w[v[e+16>>2]]}if(b&255){break u}if((cd(e)|0)<1){break v}break u}if(w[b+1|0]!=33){break x}if(w[b+2|0]==91){break w}}xd(a);continue}v[a+200>>2]=v[a+200>>2]+3;v[e+16>>2]=b+3;v[e+32>>2]=v[e+32>>2]+3;g=g+1|0;b=w[b+3|0];if((b|0)==37){wd(a);e=v[a+36>>2];b=w[v[e+16>>2]]}if(b&255){break u}if((cd(e)|0)>0){break u}}vd(a)}if((g|0)>-1){continue}}break}v[a+172>>2]=i;v[a+212>>2]=d;if(!v[294256]){break c}c=v[a+36>>2];if(!c){d=350680;break d}d=350680;e=v[c+4>>2];if(e){break e}break d}if(!(v[a+172>>2]==-1?v[a+212>>2]:0)){v[a+84>>2]=95;v[f>>2]=289601;oc(0,0,0,a,0,1,95,3,0,0,0,0,350078,f);v[a+12>>2]=0}v[a+212>>2]=1;v[a+172>>2]=-1;c=v[a+36>>2];if(!c){break b}b=v[c+40>>2];if(b){Ub[b|0](v[c+12>>2]);c=v[a+36>>2];v[c+40>>2]=0}v[c+12>>2]=358460;v[c+16>>2]=358460;break b}d=350753;e=v[c+4>>2];if(!e){break d}}b=v[c+28>>2];v[f+16>>2]=e;v[f+20>>2]=b;Ub[v[259806]](v[294239],346683,f+16|0)}Ub[v[259806]](v[294239],d,0)}y:{c=v[a+36>>2];b=v[c+16>>2];if(w[b|0]){break y}if(!(v[a+292>>2]|(b-v[c+12>>2]|0)<501|(v[c+20>>2]-b|0)>499)){Vr(a);c=v[a+36>>2];if(w[v[c+16>>2]]){break y}}te(a,59,0);break b}if(v[c+56>>2]!=(h|0)){Xi(a,90,347031,0,0)}if(v[a+172>>2]==-1){break b}c=v[a+36>>2];d=v[c+16>>2];b=d+3|0;if(b>>>0>y[c+20>>2]){break b}v[a+200>>2]=v[a+200>>2]+3;v[c+16>>2]=b;v[c+32>>2]=v[c+32>>2]+3;b=w[d+3|0];if((b|0)==37){wd(a);c=v[a+36>>2];b=w[v[c+16>>2]]}if(b&255){break b}if((cd(c)|0)>0){break b}vd(a)}Qb=f- -64|0}function b3(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;g=Qb-80|0;Qb=g;if(!(!c|!w[c|0])){Sc(32419,0)}c=-1;n=qK(33107);a:{if((n|0)<=-1){Sc(35441,0);break a}h=v[a+16>>2];e=jc(16);if(!e){break a}v[e+12>>2]=0;v[e+4>>2]=0;v[e+8>>2]=0;b:{if((h|0)>-1){c:{d:{c=jc(h<<2);if(c){v[e+12>>2]=c;v[e+8>>2]=h;f=v[e+4>>2];e:{if((f|0)>=(h|0)){break e}v[c+(f<<2)>>2]=0;c=f+1|0;if((h|0)==(c|0)){break e}d=h+(f^-1)&3;if(d){while(1){v[v[e+12>>2]+(c<<2)>>2]=0;c=c+1|0;d=d-1|0;if(d){continue}break}}if((h-f|0)-2>>>0<3){break e}while(1){d=c<<2;v[d+v[e+12>>2]>>2]=0;v[(d+v[e+12>>2]|0)+4>>2]=0;v[(d+v[e+12>>2]|0)+8>>2]=0;v[(d+v[e+12>>2]|0)+12>>2]=0;c=c+4|0;if((h|0)!=(c|0)){continue}break}}v[e>>2]=1296647690;c=v[a+16>>2];v[e+4>>2]=c;if((c|0)>=1){while(1){c=jc(36);d=i<<2;v[d+v[e+12>>2]>>2]=c;c=v[d+v[e+12>>2]>>2];d=v[d+v[a+24>>2]>>2];v[c>>2]=v[d>>2];v[c+4>>2]=v[d+4>>2];v[c+8>>2]=v[d+16>>2];v[c+12>>2]=v[d+20>>2];v[c+16>>2]=v[d+8>>2];v[c+20>>2]=v[d+12>>2];v[c+24>>2]=v[d+24>>2];d=v[d+28>>2];v[c+32>>2]=0;v[c+28>>2]=d;i=i+1|0;if((i|0)>2]){continue}break}}c=v[b+8>>2];if(c&7){break c}d=v[b+64>>2];if((d|0)<0|(d|0)>v[b+60>>2]){break d}v[b+8>>2]=c|4;break c}d=v[e+12>>2];if(d){if(v[e+4>>2]>=1){c=0;while(1){a=v[(c<<2)+d>>2];b=v[a+32>>2];if(b){dc(b)}dc(a);c=c+1|0;if((c|0)>2]){d=v[e+12>>2];continue}break}d=v[e+12>>2]}dc(d)}dc(e);c=-1;break a}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;if((c|0)<=0){Fc(b,77);break c}v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;t[c|0]=77}c=v[b+8>>2];f:{if(c&7){break f}d=v[b+64>>2];if(!((d|0)<0|(d|0)>v[b+60>>2])){v[b+8>>2]=c|4;break f}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;if((c|0)<=0){Fc(b,73);break f}v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;t[c|0]=73}c=v[b+8>>2];g:{if(c&7){break g}d=v[b+64>>2];if(!((d|0)<0|(d|0)>v[b+60>>2])){v[b+8>>2]=c|4;break g}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;if((c|0)<=0){Fc(b,70);break g}v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;t[c|0]=70}c=v[b+8>>2];h:{if(c&7){break h}d=v[b+64>>2];if(!((d|0)<0|(d|0)>v[b+60>>2])){v[b+8>>2]=c|4;break h}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;if((c|0)<=0){Fc(b,10);break h}v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;t[c|0]=10}if(v[e+4>>2]>=1){d=0;while(1){c=v[v[e+12>>2]+(d<<2)>>2];h=v[c>>2];f=v[c+4>>2];j=v[c+16>>2];i=v[c+20>>2];l=v[c+8>>2];m=v[c+12>>2];o=v[c+28>>2];v[g+40>>2]=v[c+24>>2];v[g+44>>2]=o;v[g+32>>2]=l;v[g+36>>2]=m;v[g+24>>2]=j;v[g+28>>2]=i;v[g+16>>2]=h;v[g+20>>2]=f;Jk(b,42134,g+16|0);c=v[c+32>>2];if(c){v[g>>2]=c;Jk(b,42785,g)}Jk(b,44344,0);d=d+1|0;if((d|0)>2]){continue}break}}Jk(b,45079,0);c=v[e+4>>2];if((c|0)>=1){while(1){f=v[v[e+12>>2]+(k<<2)>>2];if(!v[f+32>>2]){j=vB();if(!j){h=0;break b}v[g+48>>2]=0;v[g+52>>2]=0;v[g+56>>2]=v[f+16>>2];v[g+60>>2]=v[f+20>>2];v[g+64>>2]=v[f+8>>2];v[g+68>>2]=v[f+12>>2];c=v[f+24>>2];h=0;v[g+76>>2]=0;v[g+72>>2]=c;if(Kq(j,v[j+16>>2],g+48|0)){break b}d=xn(0,0,v[f+8>>2],v[f+12>>2]);if(!d){break b}if(Zj(a,k,0,0,v[f+8>>2],v[f+12>>2],d)){h=d;break b}i:{if(!v[f+28>>2]){c=v[f+12>>2];break i}c=v[f+12>>2];if((c|0)<1){break i}i=v[f+8>>2];if((i|0)<1){break i}l=1<>2]-1;while(1){if((i|0)>=1){m=v[d+28>>2];c=0;while(1){i=v[(h-v[d+8>>2]<<2)+m>>2]+(c-v[d+4>>2]<<2)|0;v[i>>2]=v[i>>2]+l;c=c+1|0;i=v[f+8>>2];if((c|0)<(i|0)){continue}break}c=v[f+12>>2]}h=h+1|0;if((h|0)<(c|0)){continue}break}}if(cj(j,0,0,0,v[f+8>>2],c,d)){h=d;break b}$e(d);h=0;if(rK(j,b,n,0)){break b}Wg(j);c=v[e+4>>2]}k=k+1|0;if((k|0)<(c|0)){continue}break}}d=v[e+12>>2];if(d){if((c|0)>=1){c=0;while(1){a=v[(c<<2)+d>>2];b=v[a+32>>2];if(b){dc(b)}dc(a);c=c+1|0;if((c|0)>2]){d=v[e+12>>2];continue}break}d=v[e+12>>2]}dc(d)}dc(e);c=0;break a}X(37211,38748,441,188480);L()}d=v[e+12>>2];if(d){if(v[e+4>>2]>=1){c=0;while(1){a=v[(c<<2)+d>>2];b=v[a+32>>2];if(b){dc(b)}dc(a);c=c+1|0;if((c|0)>2]){d=v[e+12>>2];continue}break}d=v[e+12>>2]}dc(d)}dc(e);if(j){Wg(j)}c=-1;if(!h){break a}$e(h)}Qb=g+80|0;return c|0}function PSa(a,b){a=a|0;b=b|0;var 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=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;v[a+8>>2]=v[b+8>>2];SX(a+12|0,b+12|0);c=v[b+24>>2];e=v[b+28>>2];d=v[b+32>>2];f=v[b+36>>2];v[a+48>>2]=0;v[a+40>>2]=0;v[a+44>>2]=0;v[a+32>>2]=d;v[a+36>>2]=f;v[a+24>>2]=c;v[a+28>>2]=e;f=a+40|0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{e=v[b+44>>2]-v[b+40>>2]|0;if(e){if((e|0)<=-1){v[299999]=0;R(2185,f|0);b=v[299999];v[299999]=0;if((b|0)==1){break n}break a}v[299999]=0;c=S(1,e|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[a+40>>2]=c;v[a+44>>2]=c;v[a+48>>2]=c+(e>>2<<2);e=a;g=v[b+40>>2];d=v[b+44>>2]-g|0;if((d|0)>=1){c=gc(c,g,d)+d|0}v[e+44>>2]=c}v[a+52>>2]=0;v[a+56>>2]=0;v[a+60>>2]=0;g=a+52|0;e=v[b+56>>2]-v[b+52>>2]|0;if(e){if((e|0)<=-1){v[299999]=0;R(2185,g|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}break d}v[299999]=0;c=S(1,e|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break d}v[a+52>>2]=c;v[a+56>>2]=c;v[a+60>>2]=c+(e>>2<<2);e=a;h=v[b+52>>2];d=v[b+56>>2]-h|0;if((d|0)>=1){c=gc(c,h,d)+d|0}v[e+56>>2]=c}c=v[b+68>>2];v[a+64>>2]=v[b+64>>2];v[a+68>>2]=c;c=v[b+72>>2];e=v[b+76>>2];d=v[b+80>>2];v[a+92>>2]=0;v[a+84>>2]=0;v[a+88>>2]=0;v[a+80>>2]=d;v[a+72>>2]=c;v[a+76>>2]=e;h=a+84|0;e=v[b+88>>2]-v[b+84>>2]|0;if(e){if((e|0)<=-1){v[299999]=0;R(2185,h|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}break f}v[299999]=0;c=S(1,e|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break f}v[a+84>>2]=c;v[a+88>>2]=c;v[a+92>>2]=c+(e>>3<<3);e=a;i=v[b+84>>2];d=v[b+88>>2]-i|0;if((d|0)>=1){c=gc(c,i,d)+d|0}v[e+88>>2]=c}v[a+96>>2]=0;v[a+100>>2]=0;v[a+104>>2]=0;i=a+96|0;e=v[b+100>>2]-v[b+96>>2]|0;if(e){if((e|0)<=-1){v[299999]=0;R(2185,i|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}break h}v[299999]=0;c=S(1,e|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break h}v[a+96>>2]=c;v[a+100>>2]=c;v[a+104>>2]=c+(e>>2<<2);e=a;j=v[b+96>>2];d=v[b+100>>2]-j|0;if((d|0)>=1){c=gc(c,j,d)+d|0}v[e+100>>2]=c}v[a+108>>2]=0;v[a+112>>2]=0;v[a+116>>2]=0;j=a+108|0;e=v[b+112>>2]-v[b+108>>2]|0;if(e){if((e|0)<=-1){v[299999]=0;R(2185,j|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}break j}v[299999]=0;c=S(1,e|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break j}v[a+108>>2]=c;v[a+112>>2]=c;v[a+116>>2]=c+(e>>2<<2);e=a;k=v[b+108>>2];d=v[b+112>>2]-k|0;if((d|0)>=1){c=gc(c,k,d)+d|0}v[e+112>>2]=c}v[299999]=0;o=Q(2462,a+120|0,b+120|0)|0;c=v[299999];v[299999]=0;o:{if((c|0)!=1){v[299999]=0;p=Q(2463,a+132|0,b+132|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break o}v[a+144>>2]=0;v[a+148>>2]=0;v[a+152>>2]=0;c=v[b+148>>2]-v[b+144>>2]|0;e=(c|0)/12|0;p:{q:{if(c){k=a+144|0;if(e>>>0>=357913942){v[299999]=0;R(2185,k|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}break m}v[299999]=0;c=S(1,c|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break m}v[a+144>>2]=c;v[a+148>>2]=c;v[a+152>>2]=B(e,12)+c;d=v[b+144>>2];m=v[b+148>>2];if((d|0)!=(m|0)){while(1){v[c+8>>2]=0;v[c>>2]=0;v[c+4>>2]=0;e=v[d+4>>2]-v[d>>2]|0;if(e){if((e|0)<=-1){v[299999]=0;R(2185,c|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}d=P()|0;O()|0;b=v[c>>2];if(!b){break p}v[c+4>>2]=b;dc(b);break p}v[299999]=0;b=S(1,e|0)|0;l=v[299999];v[299999]=0;if((l|0)==1){break q}v[c>>2]=b;v[c+4>>2]=b;v[c+8>>2]=b+(e>>2<<2);e=c;n=v[d>>2];l=v[d+4>>2]-n|0;if((l|0)>=1){b=gc(b,n,l)+l|0}v[e+4>>2]=b}c=c+12|0;d=d+12|0;if((m|0)!=(d|0)){continue}break}}v[a+148>>2]=c}return a|0}d=P()|0;O()|0}v[a+148>>2]=c;break l}d=P()|0;O()|0;break i}d=P()|0;O()|0;break k}d=P()|0;O()|0;break b}d=P()|0;O()|0}Vh(k);Vh(p)}Vh(o);break i}d=P()|0;O()|0}b=v[j>>2];if(!b){break g}v[a+112>>2]=b;dc(b);break g}d=P()|0;O()|0}b=v[i>>2];if(!b){break e}v[a+100>>2]=b;dc(b);break e}d=P()|0;O()|0}b=v[h>>2];if(!b){break c}v[a+88>>2]=b;dc(b);break c}d=P()|0;O()|0}b=v[g>>2];if(!b){break b}v[a+56>>2]=b;dc(b)}b=v[f>>2];if(b){v[a+44>>2]=b;dc(b)}b=v[a+12>>2];if(b){c=v[a+16>>2];if((b|0)==(c|0)){c=b}else{while(1){e=c-12|0;f=v[e>>2];if(f){v[c-8>>2]=f;dc(f)}c=e;if((b|0)!=(c|0)){continue}break}c=v[a+12>>2]}v[a+16>>2]=b;dc(c)}T(d|0);L()}L()}function Af(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;h=Qb-336|0;Qb=h;v[h+12>>2]=0;t[h+11|0]=1;a:{if(v[d>>2]>0){break a}b:{c:{if(!b){if(!c){b=h+48|0;break c}v[d>>2]=5;break a}if(c){break b}}v[h+36>>2]=0;v[h+40>>2]=0;v[h+28>>2]=0;v[h+32>>2]=0;v[h+20>>2]=0;v[h+24>>2]=0;v[h+16>>2]=28;c=h+16|0}v[b+220>>2]=0;t[b+60|0]=0;t[b|0]=0;v[c+24>>2]=b+60;v[c+20>>2]=a;v[c+12>>2]=0;d:{if(!a){p=c;l=Qb-16|0;Qb=l;v[299999]=0;e=v[294082];f=v[299999];v[299999]=0;e:{if((f|0)!=1){if(!e){v[l+12>>2]=0;g=Qb-112|0;Qb=g;if(!v[294175]){e=v[294205];if(!e){e=PN(0,0);f:{g:{h:{i:{if(!e){break i}if(!mc(322139,e)){break i}if(mc(309195,e)){break h}}e=ei(320468);if(e){break h}e=ei(321307);if(e){break h}e=ei(320909);if(!e){break g}}if(!mc(322139,e)){break g}if(mc(309195,e)){break f}}e=309189}v[294205]=e}ic(1176720,0,100);f=v[v[282445]>>2]?323858:320688;j:{k:{l:{if(!mc(e,309189)){if(!f){break k}f=mc(f,242522)?f:236202;if(w[f|0]){break l}break k}f=pW(e,f);if(!f){break k}}e=1176720;Xc(1176720,f,100);t[1176819]=0;break j}ic(1176720,0,100);m:{if(!e){break m}f=af(e,46);if(!f){break m}j=e;e=(f-e|0)+1|0;e=(e|0)<100?e:100;j=Xc(g,j,e);t[(e+g|0)-1|0]=0;Xc(1176720,f+1|0,100);t[1176819]=0;e=af(1176720,64);if(e){t[e|0]=0}e=pW(j,1176720);if(e){break j}e=1176720;if(w[1176720]){break j}}t[1176728]=w[320693];e=w[320689]|w[320690]<<8|(w[320691]<<16|w[320692]<<24);v[294180]=w[320685]|w[320686]<<8|(w[320687]<<16|w[320688]<<24);v[294181]=e;e=1176720}v[294175]=e}Qb=g+112|0;e=v[294175];n:{o:{if(!e){break o}k=tz(e,l+12|0);if(!(!k|v[l+12>>2]>0)){e=0;p:{if(v[l+12>>2]>0){break p}e=v[k+24>>2];f=v[v[e+20>>2]+48>>2];if(f){e=Ub[f|0](k)|0;if(e){break p}e=v[k+24>>2]}e=v[e+12>>2]+4|0}if(!e){break o}}if(!k|(!w[e|0]|v[l+12>>2]>0)){break o}if(Bc(e)>>>0<61){break n}}e=320685}f=l+12|0;i=Qb-320|0;Qb=i;v[i+24>>2]=v[211442];g=v[211441];v[i+16>>2]=v[211440];v[i+20>>2]=g;g=v[211439];v[i+8>>2]=v[211438];v[i+12>>2]=g;g=v[211437];v[i>>2]=v[211436];v[i+4>>2]=g;n=e;o=Bc(e);g=af(e,44);v[i+20>>2]=e;j=e;q:{if(g){v[i+252>>2]=0;t[i+92|0]=0;t[i+32|0]=0;HG(n,i+32|0,i,f);if(v[f>>2]>0){break q}j=v[i+20>>2]}q=(g|0)!=0;vW(i+256|0,j);j=34;f=17;r:{while(1){g=f;s:{m=mc(i+256|0,v[(f<<3)+845472>>2]);if((m|0)<0){break s}r=f;g=j;if(m){break s}f=v[(v[(f<<3)+845476>>2]<<2)+845328>>2];break r}j=g;m=f;f=g+r>>>1|0;if((m|0)!=(f|0)){continue}break}f=0}t[1176312]=q;v[294077]=f;f=gc(1176336,n,o);t[f+o|0]=0;v[294082]=f;hs(14,2742)}Qb=i+320|0;eq(k)}Qb=l+16|0;break e}W(0)|0;O()|0;lc();L()}v[p+20>>2]=e;if(!e){v[d>>2]=2;e=0;break a}k=w[1176312];t[h+11|0]=k;f=v[294077];break d}t:{f=w[a|0];u:{if((f|0)!=117){if((f|0)!=85|w[a+1|0]!=84){break t}if(w[a+2|0]==70){break u}break t}if(w[a+1|0]!=116|w[a+2|0]!=102){break t}}v:{w:{switch(w[a+3|0]-45|0){case 0:if(w[a+5|0]|w[a+4|0]!=56){break t}break v;case 11:break w;default:break t}}if(w[a+4|0]){break t}}v[c+20>>2]=323858;e=849336;break a}HG(a,b,c,d);if(v[d>>2]>0){break a}f=c;m=f;e=v[f+20>>2];n=h+11|0;j=h+12|0;x:{y:{if(!FG(j)){break y}if(!e){v[j>>2]=1;e=0;break x}if(!w[e|0]){break y}g=uW(e,n,j);if(g>>>0>=y[294127]){if(w[e|0]!=120|w[e+1|0]!=45){break y}if(!FG(j)){break y}e=e+2|0;if(!w[e|0]){break y}g=uW(e,n,j);if(g>>>0>=y[294127]){break y}}k=v[294125]+(x[v[294118]+(g<<1)>>1]<<1)|0}e=k}v[m+20>>2]=e;f=v[h+12>>2];z:{if(!(e?(f|0)<=0:0)){v[c+20>>2]=b;e=b;break z}if((f|0)!=-122){break z}v[d>>2]=-122}k=w[h+11|0];f=0}if(!(!(k&255)|(b|0)==(e|0))){HG(e,b,c,d)}A:{if(!a){break A}vW(h+272|0,v[c+20>>2]);a=34;b=17;k=0;while(1){B:{e=b;f=mc(h+272|0,v[(e<<3)+845472>>2]);if((f|0)<0){break B}k=b;e=a;if(f){break B}f=v[(v[(b<<3)+845476>>2]<<2)+845328>>2];break A}a=e;f=b;b=e+k>>>1|0;if((f|0)!=(b|0)){continue}break}f=0}if(!f){e=0;v[c+16>>2]=0;v[c+4>>2]=1;f=0;C:{if(v[d>>2]>0){break C}a=v[c+16>>2];if(!(!a|!w[a|0])){f=sz(c,d);break C}D:{a=v[294079];if(a){a=CG(a,v[c+20>>2]);if(a){break D}}a=sz(c,d);if(!a|v[d>>2]>0){break C}if(w[c+8|0]){f=a;break C}AW(a);f=a;break C}v[a+4>>2]=v[a+4>>2]+1;f=a}if(!f|v[d>>2]>0){break a}}e=f}Qb=h+336|0;return e}function jGa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;c=v[b+8>>2];v[a+8>>2]=c;d=v[b+12>>2];v[a+12>>2]=d;a:{b:{if(d){if((d|0)>0){break b}v[a>>2]=0;break a}v[a>>2]=0;break a}i=a,k=jc(d<<6),v[i>>2]=k;f=jc(B(d,48))}v[a+4>>2]=f;if((c|0)>0){while(1){f=h<<6;d=f+v[b>>2]|0;c=oF(w[d+20|0]|w[d+21|0]<<8|(w[d+22|0]<<16|w[d+23|0]<<24));d=f+v[a>>2]|0;t[d+20|0]=c;t[d+21|0]=c>>>8;t[d+22|0]=c>>>16;t[d+23|0]=c>>>24;c=f+v[b>>2]|0;e=w[c+28|0]|w[c+29|0]<<8|(w[c+30|0]<<16|w[c+31|0]<<24);l(0,w[c+24|0]|w[c+25|0]<<8|(w[c+26|0]<<16|w[c+27|0]<<24));l(1,e|0);o(+n());e=j(1)|0;g=j(0)|0;t[d+24|0]=g;t[d+25|0]=g>>>8;t[d+26|0]=g>>>16;t[d+27|0]=g>>>24;t[d+28|0]=e;t[d+29|0]=e>>>8;t[d+30|0]=e>>>16;t[d+31|0]=e>>>24;e=w[c+36|0]|w[c+37|0]<<8|(w[c+38|0]<<16|w[c+39|0]<<24);l(0,w[c+32|0]|w[c+33|0]<<8|(w[c+34|0]<<16|w[c+35|0]<<24));l(1,e|0);o(+n());e=j(1)|0;g=j(0)|0;t[d+32|0]=g;t[d+33|0]=g>>>8;t[d+34|0]=g>>>16;t[d+35|0]=g>>>24;t[d+36|0]=e;t[d+37|0]=e>>>8;t[d+38|0]=e>>>16;t[d+39|0]=e>>>24;e=w[c+44|0]|w[c+45|0]<<8|(w[c+46|0]<<16|w[c+47|0]<<24);l(0,w[c+40|0]|w[c+41|0]<<8|(w[c+42|0]<<16|w[c+43|0]<<24));l(1,e|0);o(+n());e=j(1)|0;g=j(0)|0;t[d+40|0]=g;t[d+41|0]=g>>>8;t[d+42|0]=g>>>16;t[d+43|0]=g>>>24;t[d+44|0]=e;t[d+45|0]=e>>>8;t[d+46|0]=e>>>16;t[d+47|0]=e>>>24;e=w[c+52|0]|w[c+53|0]<<8|(w[c+54|0]<<16|w[c+55|0]<<24);l(0,w[c+48|0]|w[c+49|0]<<8|(w[c+50|0]<<16|w[c+51|0]<<24));l(1,e|0);o(+n());e=j(1)|0;g=j(0)|0;t[d+48|0]=g;t[d+49|0]=g>>>8;t[d+50|0]=g>>>16;t[d+51|0]=g>>>24;t[d+52|0]=e;t[d+53|0]=e>>>8;t[d+54|0]=e>>>16;t[d+55|0]=e>>>24;e=w[c+60|0]|w[c+61|0]<<8|(w[c+62|0]<<16|w[c+63|0]<<24);l(0,w[c+56|0]|w[c+57|0]<<8|(w[c+58|0]<<16|w[c+59|0]<<24));l(1,e|0);o(+n());e=j(1)|0;g=j(0)|0;t[d+56|0]=g;t[d+57|0]=g>>>8;t[d+58|0]=g>>>16;t[d+59|0]=g>>>24;t[d+60|0]=e;t[d+61|0]=e>>>8;t[d+62|0]=e>>>16;t[d+63|0]=e>>>24;d=oF(w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24));c=f+v[a>>2]|0;t[c|0]=d;t[c+1|0]=d>>>8;t[c+2|0]=d>>>16;t[c+3|0]=d>>>24;d=f+v[b>>2]|0;c=oF(w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24));d=f+v[a>>2]|0;t[d+4|0]=c;t[d+5|0]=c>>>8;t[d+6|0]=c>>>16;t[d+7|0]=c>>>24;c=f+v[b>>2]|0;f=w[c+12|0]|w[c+13|0]<<8|(w[c+14|0]<<16|w[c+15|0]<<24);l(0,w[c+8|0]|w[c+9|0]<<8|(w[c+10|0]<<16|w[c+11|0]<<24));l(1,f|0);o(+n());f=j(1)|0;e=j(0)|0;t[d+8|0]=e;t[d+9|0]=e>>>8;t[d+10|0]=e>>>16;t[d+11|0]=e>>>24;t[d+12|0]=f;t[d+13|0]=f>>>8;t[d+14|0]=f>>>16;t[d+15|0]=f>>>24;c=w[c+16|0]|w[c+17|0]<<8|(w[c+18|0]<<16|w[c+19|0]<<24);t[d+16|0]=c;t[d+17|0]=c>>>8;t[d+18|0]=c>>>16;t[d+19|0]=c>>>24;c=B(h,48);d=c+v[a+4>>2]|0;c=c+v[b+4>>2]|0;e=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);g=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);t[d|0]=g;t[d+1|0]=g>>>8;t[d+2|0]=g>>>16;t[d+3|0]=g>>>24;t[d+4|0]=e;t[d+5|0]=e>>>8;t[d+6|0]=e>>>16;t[d+7|0]=e>>>24;f=w[c+44|0]|w[c+45|0]<<8|(w[c+46|0]<<16|w[c+47|0]<<24);e=w[c+40|0]|w[c+41|0]<<8|(w[c+42|0]<<16|w[c+43|0]<<24);t[d+40|0]=e;t[d+41|0]=e>>>8;t[d+42|0]=e>>>16;t[d+43|0]=e>>>24;t[d+44|0]=f;t[d+45|0]=f>>>8;t[d+46|0]=f>>>16;t[d+47|0]=f>>>24;f=w[c+36|0]|w[c+37|0]<<8|(w[c+38|0]<<16|w[c+39|0]<<24);e=w[c+32|0]|w[c+33|0]<<8|(w[c+34|0]<<16|w[c+35|0]<<24);t[d+32|0]=e;t[d+33|0]=e>>>8;t[d+34|0]=e>>>16;t[d+35|0]=e>>>24;t[d+36|0]=f;t[d+37|0]=f>>>8;t[d+38|0]=f>>>16;t[d+39|0]=f>>>24;f=w[c+28|0]|w[c+29|0]<<8|(w[c+30|0]<<16|w[c+31|0]<<24);e=w[c+24|0]|w[c+25|0]<<8|(w[c+26|0]<<16|w[c+27|0]<<24);t[d+24|0]=e;t[d+25|0]=e>>>8;t[d+26|0]=e>>>16;t[d+27|0]=e>>>24;t[d+28|0]=f;t[d+29|0]=f>>>8;t[d+30|0]=f>>>16;t[d+31|0]=f>>>24;f=w[c+20|0]|w[c+21|0]<<8|(w[c+22|0]<<16|w[c+23|0]<<24);e=w[c+16|0]|w[c+17|0]<<8|(w[c+18|0]<<16|w[c+19|0]<<24);t[d+16|0]=e;t[d+17|0]=e>>>8;t[d+18|0]=e>>>16;t[d+19|0]=e>>>24;t[d+20|0]=f;t[d+21|0]=f>>>8;t[d+22|0]=f>>>16;t[d+23|0]=f>>>24;f=w[c+12|0]|w[c+13|0]<<8|(w[c+14|0]<<16|w[c+15|0]<<24);c=w[c+8|0]|w[c+9|0]<<8|(w[c+10|0]<<16|w[c+11|0]<<24);t[d+8|0]=c;t[d+9|0]=c>>>8;t[d+10|0]=c>>>16;t[d+11|0]=c>>>24;t[d+12|0]=f;t[d+13|0]=f>>>8;t[d+14|0]=f>>>16;t[d+15|0]=f>>>24;h=h+1|0;if((h|0)>2]){continue}break}}return a|0}function r4a(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;f=Qb-176|0;Qb=f;v[f+172>>2]=0;i=v[e+32>>2];if(i){j=v[i+100>>2]}a:{b:{if(Oc(a,309882,7)){break b}c:{h=w[a+7|0];switch(h|0){case 0:case 9:case 10:case 13:case 32:break c;default:break b}}c=0;if(!v[v[e+36>>2]+8>>2]|!i){break a}c=v[i+100>>2];v[f+32>>2]=0;j=c;c=v[i+88>>2];e=(h?-8:-7)+b|0;d=e+1|0;b=Cc(j,1,c,d+c|0,v[i+84>>2],f+32|0);v[i+84>>2]=b;c=v[f+32>>2];if(c){break a}k=gc(b+v[i+88>>2]|0,h?a+8|0:a+7|0,e)+e|0,l=10,t[k|0]=l;v[i+88>>2]=d+v[i+88>>2];c=v[f+32>>2];break a}g=v[e>>2];if(!(g&1)){h=v[e+56>>2];c=176;if(Oc(a,309852,9)){break a}d:{switch(w[a+9|0]){case 0:case 9:case 10:case 13:case 32:break d;default:break a}}a=0;v[e+32>>2]=0;v[e>>2]=1;b=Fd(h,136,f+172|0);c=v[f+172>>2];if(c){break a}v[e+32>>2]=b;v[b+100>>2]=v[e+56>>2];v[e+56>>2]=0;b=b+112|0;c=U_(b,h);v[f+172>>2]=c;if(c){break a}d=374384;while(1){c=gA(v[d>>2],a,b,h);v[f+172>>2]=c;if(c){break a}d=d+16|0;a=a+1|0;if((a|0)!=83){continue}break}a=Fd(h,24,f+172|0);v[v[e+32>>2]+92>>2]=a;c=v[f+172>>2];if(c){break a}c=U_(a,h);if(c){break a}b=v[v[e+36>>2]+12>>2];a=v[e+32>>2];v[a+36>>2]=-1;v[a+28>>2]=b;c=0;break a}h=f;e:{f:{if(Oc(a,310798,15)){break f}g:{switch(w[a+15|0]){case 0:case 9:case 10:case 13:case 32:break g;default:break f}}c=179;if(!(g&8)){break e}c=Ak(e+40|0,335759,a,b);v[f+172>>2]=c;if(c){break a}a=v[e+32>>2];b=Ds(v[v[e+40>>2]+4>>2]);v[a+72>>2]=b;v[e+4>>2]=b;if(b>>>0>v[e+60>>2]>>>2>>>0){v[a+72>>2]=0;c=6;break e}b=Cc(j,16,0,b,0,f+172|0);a=v[e+32>>2];v[a+80>>2]=b;c=v[f+172>>2];if(c){v[a+72>>2]=0;break a}v[e>>2]=v[e>>2]|16;v[d>>2]=1595;c=0;break a}h:{if(Oc(a,309148,15)){break h}i:{switch(w[a+15|0]){case 0:case 9:case 10:case 13:case 32:break i;default:break h}}c=178;if(!(g&4)){break e}c=Ak(e+40|0,335759,a,b);v[f+172>>2]=c;if(c){break a}d=v[e+32>>2];b=v[e+40>>2];k=d,l=nA(v[b+4>>2]),u[k+4>>1]=l;a=nA(v[b+8>>2]);u[d+6>>1]=a;k=d,l=Cv(v[b+12>>2]),u[k+8>>1]=l;b=Cv(v[b+16>>2]);u[d+10>>1]=b;c=0;u[d+14>>1]=0-b;u[d+12>>1]=a+b;v[e>>2]=v[e>>2]|8;break a}j:{k:{if(Oc(a,309865,4)){break k}l:{switch(w[a+4|0]){case 0:case 9:case 10:case 13:case 32:break l;default:break k}}d=e+40|0;c=Ak(d,335759,a,b);v[f+172>>2]=c;if(c){break a}p$(d);b=o$(d,f+32|0);if(!b){break j}a=v[v[e+32>>2]>>2];if(a){Ub[v[j+8>>2]](j,a)}v[v[e+32>>2]>>2]=0;a=v[f+32>>2]+1|0;d=Cc(j,1,0,a,0,f+172|0);v[v[e+32>>2]>>2]=d;c=v[f+172>>2];if(c){break a}gc(d,b,a);b=v[e+36>>2];g=Qb-272|0;Qb=g;d=6;h=v[e+32>>2];m:{if(!h){break m}c=v[h>>2];if(!c|!w[c|0]){break m}a=v[h+100>>2];v[g+8>>2]=0;v[g>>2]=0;v[g+4>>2]=0;v[g+12>>2]=a;v[h+28>>2]=v[b+12>>2];b=Bc(c)+1|0;if(b>>>0>255){break m}a=g+16|0;gc(a,c,b);d=Ak(g,335742,a,b);n:{if(d|v[g+8>>2]!=15){break n}c=32;o:{p:{switch(t[v[v[g>>2]+44>>2]]-67|0){case 10:case 42:c=16;break o;case 0:case 32:break o;case 13:case 45:break p;default:break n}}c=8}v[h+28>>2]=c}b=v[g+12>>2];if(!b){break m}a=v[g>>2];if(a){Ub[v[b+8>>2]](b,a)}}Qb=g+272|0;c=d;v[f+172>>2]=c;if(c){break a}v[e>>2]=v[e>>2]|2;c=0;break a}q:{if(Oc(a,321227,4)){break q}r:{switch(w[a+4|0]){case 0:case 9:case 10:case 13:case 32:break r;default:break q}}c=177;if(!(g&2)){break e}c=Ak(e+40|0,335759,a,b);v[f+172>>2]=c;if(c){break a}c=v[e+32>>2];a=v[e+40>>2];k=c,l=Ds(v[a+4>>2]),v[k+16>>2]=l;k=c,l=Ds(v[a+8>>2]),v[k+20>>2]=l;k=c,l=Ds(v[a+12>>2]),v[k+24>>2]=l;s:{if(v[e+48>>2]==5){b=Cv(v[a+16>>2]);a=b&65535;if(a>>>0>=5){u[c+96>>1]=8;break s}if(a>>>0>=3){u[c+96>>1]=4;break s}if((b|0)==2){u[c+96>>1]=2;break s}u[c+96>>1]=1;break s}u[c+96>>1]=1}v[e>>2]=v[e>>2]|4;c=0;break a}if(Oc(a,310615,5)){break j}t:{switch(w[a+5|0]){case 0:case 9:case 10:case 13:case 32:break t;default:break j}}c=179;if(!(g&8)){break e}a=u[i+12>>1];v[i+40>>2]=a;v[f+16>>2]=a;a=f+32|0;zd(a,289130,f+16|0);c=sq(v[e+32>>2],309969,a);v[f+172>>2]=c;if(c){break a}a=v[e+32>>2];b=u[a+14>>1];v[a+44>>2]=b;v[f>>2]=b;a=f+32|0;zd(a,289130,f);c=sq(v[e+32>>2],309924,a);if(c){break a}v[d>>2]=1596;c=-1;break e}c=3}v[h+172>>2]=c}Qb=f+176|0;return c|0}function JI(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=C(0),j=0,k=0,l=0,m=C(0),n=C(0),o=0;a:while(1){k=b-4|0;while(1){b:{c:{d:{e:{f:{g:{d=b-a|0;e=d>>2;switch(e|0){case 0:case 1:break b;case 5:break d;case 4:break e;case 3:break f;case 2:break g;default:break c}}c=v[v[c>>2]+16>>2];b=b-4|0;d=v[b>>2];e=v[a>>2];if(!(z[c+(d<<2)>>2]>2])){break b}v[a>>2]=d;v[b>>2]=e;return}d=b-4|0;e=v[d>>2];b=v[v[c>>2]+16>>2];i=z[(e<<2)+b>>2];f=v[a+4>>2];m=z[b+(f<<2)>>2];c=v[a>>2];n=z[b+(c<<2)>>2];if(!(m>2]=e;v[d>>2]=f;c=v[a+4>>2];d=v[a>>2];if(!(z[b+(c<<2)>>2]>2])){break b}v[a+4>>2]=d;v[a>>2]=c;return}if(i>2]=e;v[d>>2]=c;return}v[a+4>>2]=c;v[a>>2]=f;e=v[d>>2];if(!(n>z[b+(e<<2)>>2])){break b}v[a+4>>2]=e;v[d>>2]=c;return}Jv(a,a+4|0,a+8|0,b-4|0,c);return}d=a;Jv(d,d+4|0,d+8|0,d+12|0,c);c=v[v[c>>2]+16>>2];b=b-4|0;e=v[b>>2];f=v[d+12>>2];if(!(z[c+(e<<2)>>2]>2])){break b}v[d+12>>2]=e;v[b>>2]=f;e=v[d+12>>2];i=z[c+(e<<2)>>2];b=a;f=v[a+8>>2];if(!(i>2])){break b}v[b+8>>2]=e;v[d+12>>2]=f;a=v[a+4>>2];if(!(i>2])){break b}v[d+8>>2]=a;v[d+4>>2]=e;a=v[d>>2];if(!(i>2])){break b}v[d+4>>2]=a;v[d>>2]=e;break b}if((d|0)<=123){f=a+4|0;g=a+8|0;l=v[v[c>>2]+16>>2];d=v[a+8>>2];i=z[l+(d<<2)>>2];h:{i:{j:{k=v[a+4>>2];m=z[l+(k<<2)>>2];j=v[a>>2];n=z[l+(j<<2)>>2];if(!(m>2]=j;v[a>>2]=k;h=f;if(i>2]=d;v[g>>2]=k;h=a;c=f;e=k;if(!(i>2]=d;v[c>>2]=j}f=a+12|0;if((f|0)==(b|0)){break b}while(1){c=f;d=f;h=v[d>>2];i=z[l+(h<<2)>>2];if(i>2]){while(1){k:{v[d>>2]=e;f=g;if((f|0)==(a|0)){f=a;break k}d=f;g=d-4|0;e=v[g>>2];if(i>2]){continue}}break}v[f>>2]=h}f=c+4|0;if((f|0)==(b|0)){break b}e=v[c>>2];g=c;continue}}j=((e|0)/2<<2)+a|0;l:{if((d|0)>=3997){e=(e|0)/4<<2;d=e+a|0;e=e+j|0;h=Jv(a,d,j,e,c);f=v[v[c>>2]+16>>2];g=v[k>>2];l=v[e>>2];if(!(z[f+(g<<2)>>2]>2])){break l}v[e>>2]=g;v[k>>2]=l;g=v[e>>2];l=v[j>>2];if(!(z[(g<<2)+f>>2]>2])){h=h+1|0;break l}v[j>>2]=g;v[e>>2]=l;e=v[j>>2];g=v[d>>2];if(!(z[(e<<2)+f>>2]>2])){h=h+2|0;break l}v[d>>2]=e;v[j>>2]=g;e=v[d>>2];g=v[a>>2];if(!(z[(e<<2)+f>>2]>2])){h=h+3|0;break l}v[a>>2]=e;v[d>>2]=g;h=h+4|0;break l}f=v[v[c>>2]+16>>2];e=v[k>>2];i=z[f+(e<<2)>>2];g=v[j>>2];m=z[(g<<2)+f>>2];d=v[a>>2];n=z[(d<<2)+f>>2];m:{if(!(m>2]=e;v[k>>2]=g;h=1;d=v[j>>2];e=v[a>>2];if(!(z[(d<<2)+f>>2]>2])){break l}v[a>>2]=d;v[j>>2]=e;break m}if(i>2]=e;v[k>>2]=d;h=1;break l}v[a>>2]=g;v[j>>2]=d;h=1;e=v[k>>2];if(!(n>z[(e<<2)+f>>2])){break l}v[j>>2]=e;v[k>>2]=d}h=2}e=k;n:{o:{d=v[a>>2];i=z[(d<<2)+f>>2];m=z[(v[j>>2]<<2)+f>>2];if(!(i>2];if(i>2]){break o}if((d|0)==(k|0)){break b}while(1){g=v[d>>2];if(i>2]){v[d>>2]=e;v[k>>2]=g;d=d+4|0;break o}d=d+4|0;if((k|0)!=(d|0)){continue}break}break b}g=v[e>>2];if(!(m>z[(g<<2)+f>>2])){continue}break}v[a>>2]=g;v[e>>2]=d;h=h+1|0}d=a+4|0;if(e>>>0>d>>>0){while(1){i=z[(v[j>>2]<<2)+f>>2];while(1){g=d;d=d+4|0;l=v[g>>2];if(i>z[(l<<2)+f>>2]){continue}break}while(1){e=e-4|0;o=v[e>>2];if(!(i>z[(o<<2)+f>>2])){continue}break}if(e>>>0>>0){d=g}else{v[g>>2]=o;v[e>>2]=l;j=(g|0)==(j|0)?e:j;h=h+1|0;continue}break}}p:{if((d|0)==(j|0)){break p}e=v[j>>2];i=z[(e<<2)+f>>2];g=f;f=v[d>>2];if(!(i>2])){break p}v[d>>2]=e;v[j>>2]=f;h=h+1|0}if(!h){g=m0(a,d,c);e=d+4|0;if(m0(e,b,c)){b=d;if(!g){continue a}break b}f=2;if(g){break n}}if((d-a|0)<(b-d|0)){JI(a,d,c);a=d+4|0;continue}JI(d+4|0,b,c);b=d;continue a}g=k;if((g|0)==(d|0)){break b}while(1){i=z[(v[a>>2]<<2)+f>>2];while(1){e=d;d=d+4|0;h=v[e>>2];if(!(i>2])){continue}break}while(1){g=g-4|0;j=v[g>>2];if(i>2]){continue}break}if(e>>>0>>0){v[e>>2]=j;v[g>>2]=h;continue}break}f=4}a=e;if((f|0)==4|(f|0)==2){continue}}break}break}}function II(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=C(0),j=0,k=0,l=0,m=C(0),n=C(0),o=0;a:while(1){k=b-4|0;while(1){b:{c:{d:{e:{f:{g:{d=b-a|0;e=d>>2;switch(e|0){case 0:case 1:break b;case 5:break d;case 4:break e;case 3:break f;case 2:break g;default:break c}}c=v[v[c>>2]+12>>2];b=b-4|0;d=v[b>>2];e=v[a>>2];if(!(z[c+(d<<2)>>2]>2])){break b}v[a>>2]=d;v[b>>2]=e;return}d=b-4|0;e=v[d>>2];b=v[v[c>>2]+12>>2];i=z[(e<<2)+b>>2];f=v[a+4>>2];m=z[b+(f<<2)>>2];c=v[a>>2];n=z[b+(c<<2)>>2];if(!(m>2]=e;v[d>>2]=f;c=v[a+4>>2];d=v[a>>2];if(!(z[b+(c<<2)>>2]>2])){break b}v[a+4>>2]=d;v[a>>2]=c;return}if(i>2]=e;v[d>>2]=c;return}v[a+4>>2]=c;v[a>>2]=f;e=v[d>>2];if(!(n>z[b+(e<<2)>>2])){break b}v[a+4>>2]=e;v[d>>2]=c;return}Iv(a,a+4|0,a+8|0,b-4|0,c);return}d=a;Iv(d,d+4|0,d+8|0,d+12|0,c);c=v[v[c>>2]+12>>2];b=b-4|0;e=v[b>>2];f=v[d+12>>2];if(!(z[c+(e<<2)>>2]>2])){break b}v[d+12>>2]=e;v[b>>2]=f;e=v[d+12>>2];i=z[c+(e<<2)>>2];b=a;f=v[a+8>>2];if(!(i>2])){break b}v[b+8>>2]=e;v[d+12>>2]=f;a=v[a+4>>2];if(!(i>2])){break b}v[d+8>>2]=a;v[d+4>>2]=e;a=v[d>>2];if(!(i>2])){break b}v[d+4>>2]=a;v[d>>2]=e;break b}if((d|0)<=123){f=a+4|0;g=a+8|0;l=v[v[c>>2]+12>>2];d=v[a+8>>2];i=z[l+(d<<2)>>2];h:{i:{j:{k=v[a+4>>2];m=z[l+(k<<2)>>2];j=v[a>>2];n=z[l+(j<<2)>>2];if(!(m>2]=j;v[a>>2]=k;h=f;if(i>2]=d;v[g>>2]=k;h=a;c=f;e=k;if(!(i>2]=d;v[c>>2]=j}f=a+12|0;if((f|0)==(b|0)){break b}while(1){c=f;d=f;h=v[d>>2];i=z[l+(h<<2)>>2];if(i>2]){while(1){k:{v[d>>2]=e;f=g;if((f|0)==(a|0)){f=a;break k}d=f;g=d-4|0;e=v[g>>2];if(i>2]){continue}}break}v[f>>2]=h}f=c+4|0;if((f|0)==(b|0)){break b}e=v[c>>2];g=c;continue}}j=((e|0)/2<<2)+a|0;l:{if((d|0)>=3997){e=(e|0)/4<<2;d=e+a|0;e=e+j|0;h=Iv(a,d,j,e,c);f=v[v[c>>2]+12>>2];g=v[k>>2];l=v[e>>2];if(!(z[f+(g<<2)>>2]>2])){break l}v[e>>2]=g;v[k>>2]=l;g=v[e>>2];l=v[j>>2];if(!(z[(g<<2)+f>>2]>2])){h=h+1|0;break l}v[j>>2]=g;v[e>>2]=l;e=v[j>>2];g=v[d>>2];if(!(z[(e<<2)+f>>2]>2])){h=h+2|0;break l}v[d>>2]=e;v[j>>2]=g;e=v[d>>2];g=v[a>>2];if(!(z[(e<<2)+f>>2]>2])){h=h+3|0;break l}v[a>>2]=e;v[d>>2]=g;h=h+4|0;break l}f=v[v[c>>2]+12>>2];e=v[k>>2];i=z[f+(e<<2)>>2];g=v[j>>2];m=z[(g<<2)+f>>2];d=v[a>>2];n=z[(d<<2)+f>>2];m:{if(!(m>2]=e;v[k>>2]=g;h=1;d=v[j>>2];e=v[a>>2];if(!(z[(d<<2)+f>>2]>2])){break l}v[a>>2]=d;v[j>>2]=e;break m}if(i>2]=e;v[k>>2]=d;h=1;break l}v[a>>2]=g;v[j>>2]=d;h=1;e=v[k>>2];if(!(n>z[(e<<2)+f>>2])){break l}v[j>>2]=e;v[k>>2]=d}h=2}e=k;n:{o:{d=v[a>>2];i=z[(d<<2)+f>>2];m=z[(v[j>>2]<<2)+f>>2];if(!(i>2];if(i>2]){break o}if((d|0)==(k|0)){break b}while(1){g=v[d>>2];if(i>2]){v[d>>2]=e;v[k>>2]=g;d=d+4|0;break o}d=d+4|0;if((k|0)!=(d|0)){continue}break}break b}g=v[e>>2];if(!(m>z[(g<<2)+f>>2])){continue}break}v[a>>2]=g;v[e>>2]=d;h=h+1|0}d=a+4|0;if(e>>>0>d>>>0){while(1){i=z[(v[j>>2]<<2)+f>>2];while(1){g=d;d=d+4|0;l=v[g>>2];if(i>z[(l<<2)+f>>2]){continue}break}while(1){e=e-4|0;o=v[e>>2];if(!(i>z[(o<<2)+f>>2])){continue}break}if(e>>>0>>0){d=g}else{v[g>>2]=o;v[e>>2]=l;j=(g|0)==(j|0)?e:j;h=h+1|0;continue}break}}p:{if((d|0)==(j|0)){break p}e=v[j>>2];i=z[(e<<2)+f>>2];g=f;f=v[d>>2];if(!(i>2])){break p}v[d>>2]=e;v[j>>2]=f;h=h+1|0}if(!h){g=l0(a,d,c);e=d+4|0;if(l0(e,b,c)){b=d;if(!g){continue a}break b}f=2;if(g){break n}}if((d-a|0)<(b-d|0)){II(a,d,c);a=d+4|0;continue}II(d+4|0,b,c);b=d;continue a}g=k;if((g|0)==(d|0)){break b}while(1){i=z[(v[a>>2]<<2)+f>>2];while(1){e=d;d=d+4|0;h=v[e>>2];if(!(i>2])){continue}break}while(1){g=g-4|0;j=v[g>>2];if(i>2]){continue}break}if(e>>>0>>0){v[e>>2]=j;v[g>>2]=h;continue}break}f=4}a=e;if((f|0)==4|(f|0)==2){continue}}break}break}}function GN(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0,y=0,z=0;h=Qb-560|0;Qb=h;g=c;c=(c-3|0)/24|0;s=(c|0)>0?c:0;l=g+B(s,-24)|0;n=v[(e<<2)+1006512>>2];j=d-1|0;if((n+j|0)>=0){g=d+n|0;c=s-j|0;while(1){A[(h+320|0)+(i<<3)>>3]=(c|0)<0?0:+v[(c<<2)+1006528>>2];c=c+1|0;i=i+1|0;if((g|0)!=(i|0)){continue}break}}q=l-24|0;i=(n|0)>0?n:0;g=0;while(1){f=0;if((d|0)>0){k=g+j|0;c=0;while(1){f=f+A[(c<<3)+a>>3]*A[(h+320|0)+(k-c<<3)>>3];c=c+1|0;if((d|0)!=(c|0)){continue}break}}A[(g<<3)+h>>3]=f;c=(g|0)==(i|0);g=g+1|0;if(!c){continue}break}y=47-l|0;t=48-l|0;z=l-25|0;g=n;a:{while(1){f=A[(g<<3)+h>>3];c=0;i=g;o=(g|0)<1;if(!o){while(1){k=(h+480|0)+(c<<2)|0;m=f;f=f*5.960464477539063e-8;b:{if(D(f)<2147483648){j=~~f;break b}j=-2147483648}f=+(j|0);m=m+f*-16777216;c:{if(D(m)<2147483648){j=~~m;break c}j=-2147483648}v[k>>2]=j;i=i-1|0;f=A[(i<<3)+h>>3]+f;c=c+1|0;if((g|0)!=(c|0)){continue}break}}f=Lk(f,q);f=f+H(f*.125)*-8;d:{if(D(f)<2147483648){k=~~f;break d}k=-2147483648}f=f-+(k|0);e:{f:{g:{u=(q|0)<1;h:{if(!u){i=(g<<2)+h|0;j=v[i+476>>2];c=j>>t;r=i;i=j-(c<>2]=i;k=c+k|0;j=i>>y;break h}if(q){break g}j=v[((g<<2)+h|0)+476>>2]>>23}if((j|0)<1){break e}break f}j=2;if(f>=.5){break f}j=0;break e}c=0;i=0;if(!o){while(1){r=(h+480|0)+(c<<2)|0;o=v[r>>2];w=16777215;i:{j:{if(i){break j}w=16777216;if(o){break j}i=0;break i}v[r>>2]=w-o;i=1}c=c+1|0;if((g|0)!=(c|0)){continue}break}}k:{if(u){break k}c=8388607;l:{switch(z|0){case 1:c=4194303;break;case 0:break l;default:break k}}o=(g<<2)+h|0;v[o+476>>2]=v[o+476>>2]&c}k=k+1|0;if((j|0)!=2){break e}f=1-f;j=2;if(!i){break e}f=f-Lk(1,q)}if(f==0){i=0;m:{c=g;if((n|0)>=(c|0)){break m}while(1){c=c-1|0;i=v[(h+480|0)+(c<<2)>>2]|i;if((c|0)>(n|0)){continue}break}if(!i){break m}l=q;while(1){l=l-24|0;g=g-1|0;if(!v[(h+480|0)+(g<<2)>>2]){continue}break}break a}c=1;while(1){i=c;c=c+1|0;if(!v[(h+480|0)+(n-i<<2)>>2]){continue}break}i=g+i|0;while(1){j=d+g|0;g=g+1|0;A[(h+320|0)+(j<<3)>>3]=v[(s+g<<2)+1006528>>2];c=0;f=0;if((d|0)>=1){while(1){f=f+A[(c<<3)+a>>3]*A[(h+320|0)+(j-c<<3)>>3];c=c+1|0;if((d|0)!=(c|0)){continue}break}}A[(g<<3)+h>>3]=f;if((g|0)<(i|0)){continue}break}g=i;continue}break}f=Lk(f,24-l|0);n:{if(f>=16777216){d=(h+480|0)+(g<<2)|0;m=f;f=f*5.960464477539063e-8;o:{if(D(f)<2147483648){c=~~f;break o}c=-2147483648}f=m+ +(c|0)*-16777216;p:{if(D(f)<2147483648){a=~~f;break p}a=-2147483648}v[d>>2]=a;g=g+1|0;break n}if(D(f)<2147483648){c=~~f}else{c=-2147483648}l=q}v[(h+480|0)+(g<<2)>>2]=c}f=Lk(1,l);q:{if((g|0)<=-1){break q}c=g;while(1){A[(c<<3)+h>>3]=f*+v[(h+480|0)+(c<<2)>>2];f=f*5.960464477539063e-8;a=(c|0)>0;c=c-1|0;if(a){continue}break}if((g|0)<=-1){break q}c=g;while(1){a=c;d=g-c|0;f=0;c=0;while(1){r:{f=f+A[(c<<3)+1009296>>3]*A[(a+c<<3)+h>>3];if((c|0)>=(n|0)){break r}i=c>>>0>>0;c=c+1|0;if(i){continue}}break}A[(h+160|0)+(d<<3)>>3]=f;c=a-1|0;if((a|0)>0){continue}break}}s:{t:{u:{switch(e|0){case 3:v:{if((g|0)<1){break v}f=A[(h+160|0)+(g<<3)>>3];c=g;while(1){m=f;d=h+160|0;a=c-1|0;e=d+(a<<3)|0;x=A[e>>3];f=x+f;A[d+(c<<3)>>3]=m+(x-f);A[e>>3]=f;d=(c|0)>1;c=a;if(d){continue}break}if((g|0)<2){break v}f=A[(h+160|0)+(g<<3)>>3];c=g;while(1){m=f;d=h+160|0;a=c-1|0;e=d+(a<<3)|0;p=A[e>>3];f=p+f;A[d+(c<<3)>>3]=m+(p-f);A[e>>3]=f;d=(c|0)>2;c=a;if(d){continue}break}p=0;if((g|0)<=1){break v}while(1){p=p+A[(h+160|0)+(g<<3)>>3];a=(g|0)>2;g=g-1|0;if(a){continue}break}}f=A[h+160>>3];if(j){break t}A[b>>3]=f;f=A[h+168>>3];A[b+16>>3]=p;A[b+8>>3]=f;break s;case 0:f=0;if((g|0)>=0){while(1){f=f+A[(h+160|0)+(g<<3)>>3];a=(g|0)>0;g=g-1|0;if(a){continue}break}}A[b>>3]=j?-f:f;break s;case 1:case 2:break u;default:break s}}f=0;if((g|0)>=0){c=g;while(1){f=f+A[(h+160|0)+(c<<3)>>3];a=(c|0)>0;c=c-1|0;if(a){continue}break}}A[b>>3]=j?-f:f;f=A[h+160>>3]-f;c=1;if((g|0)>=1){while(1){f=f+A[(h+160|0)+(c<<3)>>3];a=(c|0)!=(g|0);c=c+1|0;if(a){continue}break}}A[b+8>>3]=j?-f:f;break s}A[b>>3]=-f;f=A[h+168>>3];A[b+16>>3]=-p;A[b+8>>3]=-f}Qb=h+560|0;return k&7}function y5a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=C(0),k=0,l=0,m=0,n=0,o=0,p=0;h=Qb-1424|0;Qb=h;d=v[a+26080>>2];l=jc(d);if(!l){d=v[a+190640>>2];a:{if(d){b=v[a+25208>>2];v[h+20>>2]=214083;v[h+16>>2]=b;zd(d,4338,h+16|0);break a}b=v[a+25208>>2];v[h+4>>2]=214083;v[h>>2]=b;wc(v[252391],4338,h)}sd(a+190484|0,1);L()}Ub[v[v[a>>2]>>2]](v[a+4>>2],l,1,d)|0;ff(255,b);ff(216,b);if(mc(l+6|0,211890)){u[h+1416>>1]=w[214104]|w[214105]<<8;d=w[214100]|w[214101]<<8|(w[214102]<<16|w[214103]<<24);v[h+1408>>2]=w[214096]|w[214097]<<8|(w[214098]<<16|w[214099]<<24);v[h+1412>>2]=d;u[h+1410>>1]=26629;Rc(h+1408|0,1,10,b);k=Qb-32|0;Qb=k;n=h+32|0;d=n;ic(d+8|0,0,1368);v[d+4>>2]=10;u[d+2>>1]=42;u[d>>1]=18761;f=d+12|0;e=f;v[e+4>>2]=512;v[e+8>>2]=620;v[e>>2]=131342;v[e+12>>2]=131343;v[e+16>>2]=64;v[e+20>>2]=1132;v[e+24>>2]=131344;v[e+28>>2]=64;v[e+32>>2]=1196;c=v[a+26328>>2];v[e+36>>2]=196882;v[e+40>>2]=1;c=t[c+214032|0]-48|0;u[e+44>>1]=c;u[e+46>>1]=c>>>16;c=e+48|0;v[c+4>>2]=1;v[c+8>>2]=476;v[c>>2]=327962;v[c+12>>2]=327963;v[c+16>>2]=1;v[c+20>>2]=484;u[c+32>>1]=1;u[c+34>>1]=0;v[c+24>>2]=196892;v[c+28>>2]=1;v[c+36>>2]=196904;v[c+40>>2]=1;u[c+44>>1]=2;u[c+46>>1]=0;u[c+48>>1]=305;u[c+50>>1]=2;v[c+52>>2]=32;v[c+56>>2]=1260;e=c- -64|0;v[e>>2]=20;v[e+4>>2]=1292;v[c+60>>2]=131378;v[c+76>>2]=64;v[c+80>>2]=1312;v[c+72>>2]=131387;u[d+10>>1]=12;v[c+88>>2]=1;v[c+92>>2]=294;v[c+84>>2]=296809;i=d+296|0;m=x[d+294>>1];c=i+B(m,12)|0;v[c+4>>2]=1;v[c+8>>2]=492;v[c>>2]=361114;c=i+B(m+1&65535,12)|0;v[c>>2]=361117;v[c+4>>2]=1;v[c+8>>2]=500;j=z[a+26e3>>2];e=i+B(m+2&65535,12)|0;c=e;v[c>>2]=231463;v[c+4>>2]=1;if(C(D(j))>1]=g;u[e+10>>1]=g>>>16;u[d+294>>1]=m+4;c=i+B(m+3&65535,12)|0;v[c+4>>2]=1;v[c+8>>2]=508;v[c>>2]=365066;if(v[a+26176>>2]){u[d+10>>1]=13;v[f+148>>2]=1;v[f+152>>2]=346;v[f+144>>2]=296997;e=d+348|0;g=x[d+346>>1];c=e+B(g,12)|0;v[c>>2]=65536;v[c+4>>2]=4;v[c+8>>2]=514;c=v[a+26288>>2];f=e+B(g+1&65535,12)|0;v[f>>2]=131073;v[f+4>>2]=2;t[f+8|0]=c;t[f+11|0]=c>>>24;t[f+10|0]=c>>>16;t[f+9|0]=c>>>8;c=e+B(g+2&65535,12)|0;v[c+4>>2]=3;v[c+8>>2]=516;v[c>>2]=327682;c=v[a+26292>>2];f=e+B(g+3&65535,12)|0;v[f>>2]=131075;v[f+4>>2]=2;t[f+8|0]=c;t[f+11|0]=c>>>24;t[f+10|0]=c>>>16;t[f+9|0]=c>>>8;c=e+B(g+4&65535,12)|0;v[c+4>>2]=3;v[c+8>>2]=540;v[c>>2]=327684;c=v[a+26296>>2];f=e+B(g+5&65535,12)|0;v[f>>2]=65541;v[f+4>>2]=1;t[f+8|0]=c;t[f+11|0]=c>>>24;t[f+10|0]=c>>>16;t[f+9|0]=c>>>8;c=e+B(g+6&65535,12)|0;v[c+4>>2]=1;v[c+8>>2]=588;v[c>>2]=327686;c=e+B(g+7&65535,12)|0;v[c>>2]=327687;v[c+4>>2]=3;v[c+8>>2]=564;c=e+B(g+8&65535,12)|0;v[c>>2]=131090;v[c+4>>2]=12;v[c+8>>2]=596;u[d+346>>1]=g+10;c=e+B(g+9&65535,12)|0;v[c+4>>2]=12;v[c+8>>2]=608;v[c>>2]=131101;gc(d+516|0,a+26172|0,104)}v[d+476>>2]=300;v[d+488>>2]=1;v[d+480>>2]=1;v[d+484>>2]=300;v[d+512>>2]=1e6;v[d+504>>2]=1e6;v[d+496>>2]=1e6;c=d;j=C(z[a+26004>>2]*C(1e6));b:{if(C(D(j))>2]=e;c=d;j=C(z[a+26008>>2]*C(1e6));c:{if(C(D(j))>2]=e;c=d;j=C(z[a+26012>>2]*C(1e6));d:{if(C(D(j))>2]=e;Xc(d+620|0,a+25221|0,512);Xc(d+1132|0,a+25733|0,64);Xc(d+1196|0,a+25797|0,64);f=d+1268|0;c=w[214049]|w[214050]<<8|(w[214051]<<16|w[214052]<<24);t[f|0]=c;t[f+1|0]=c>>>8;t[f+2|0]=c>>>16;t[f+3|0]=c>>>24;f=w[214045]|w[214046]<<8|(w[214047]<<16|w[214048]<<24);c=w[214041]|w[214042]<<8|(w[214043]<<16|w[214044]<<24);t[d+1260|0]=c;t[d+1261|0]=c>>>8;t[d+1262|0]=c>>>16;t[d+1263|0]=c>>>24;t[d+1264|0]=f;t[d+1265|0]=f>>>8;t[d+1266|0]=f>>>16;t[d+1267|0]=f>>>24;i=cb(a+26016|0,1199944)|0;g=v[i+20>>2];e=v[i+8>>2];f=v[i+12>>2];c=v[i+16>>2];o=k,p=Hib(v[i>>2],v[i+4>>2],32),v[o+16>>2]=p;v[k+20>>2]=Tb;v[k+4>>2]=c+1;o=k,p=Hib(e,f,32),v[o+8>>2]=p;v[k+12>>2]=Tb;v[k>>2]=g+1900;zd(d+1292|0,214053,k);Xc(d+1312|0,a+25925|0,64);Qb=k+32|0;Rc(n,1,1376,b)}Rc(l+2|0,1,v[a+26080>>2]-2|0,b);dc(l);Qb=h+1424|0}function EMa(a,b){a=a|0;b=b|0;var 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;h=v[a+4>>2];c=v[h+52>>2];j=c>>>16|0;d=v[a+24>>2];l=v[a+20>>2];e=v[a+16>>2];o=v[a+12>>2];m=v[a+8>>2];f=!(c&16777216);a:{b:while(1){c:{if(!f){f=l-e|0;k=o-m>>1;n=(f|0)<(k|0)?f:k;d:{if((n|0)<1){break d}f=m;while(1){m=f+2|0;e:{f:{i=x[f>>1];if(!((i|0)==38|(i-32&65535)>>>0>94)){t[e|0]=i;if(d){break f}d=0;break e}t[e|0]=38;k=e+1|0;if((i|0)==38){if(l>>>0>k>>>0){t[e+1|0]=45;e=e+2|0;if(d){v[d+4>>2]=g;v[d>>2]=g;g=g+1|0;d=d+8|0}else{d=0}k=l-e|0;f=m;i=o-f>>1;n=(i|0)>(k|0)?k:i;if((n|0)>0){continue}break d}if(d){v[d>>2]=g;g=g+1|0;d=d+4|0}else{d=0}t[h+63|0]=1;t[h+76|0]=45;v[b>>2]=15;e=k;break d}j=0;if(d){v[d>>2]=g;d=d+4|0}else{d=0}e=k;k=g;m=f;f=1;continue b}v[d>>2]=g;g=g+1|0;d=d+4|0}e=e+1|0;k=(n|0)>1;f=m;n=n-1|0;if(k){continue}break}}p=16777216;n=0;if(m>>>0>=o>>>0){break a}if(e>>>0>=l>>>0){break c}break a}n=1;if(m>>>0>=o>>>0){g=k;break a}g=k;g:{while(1){if(e>>>0>=l>>>0){break c}i=x[m>>1];if((i-32&65535)>>>0<=94){h:{i:{j:{k:{l:{if(j&255){t[e|0]=(c&255)>>>0<=62?w[(c&255)+852832|0]:44;e=e+1|0;if(!d){break l}v[d>>2]=g-1;d=d+4|0}if(e>>>0>=l>>>0){break k}t[e|0]=45;if(!d){break i}v[d>>2]=g-1;d=d+4|0;break h}if(e>>>0>>0){break j}d=0}t[h+63|0]=1;t[h+76|0]=45;p=16777216;n=0;break c}t[e|0]=45}d=0}e=e+1|0;break g}m=m+2|0;m:{n:{switch(j<<24>>24){case 0:f=e;c=i>>>10|0;if((c|0)!=63){c=w[c+852832|0]}else{c=44}t[f|0]=c;f=e+1|0;o:{if(f>>>0>>0){f=e;c=i>>>4&63;if((c|0)!=63){c=w[c+852832|0]}else{c=44}t[f+1|0]=c;e=e+2|0;if(!d){d=0;break o}v[d+4>>2]=g;v[d>>2]=g;d=d+8|0;g=g+1|0;break o}if(d){v[d>>2]=g;g=g+1|0;d=d+4|0}else{d=0}e=44;c=i>>>4&63;if((c|0)!=63){e=w[c+852832|0]}t[h+63|0]=1;t[h+76|0]=e;v[b>>2]=15;e=f}c=i<<2&60;j=1;break m;case 1:f=e;c=((i&49152)>>>14|c)&255;if(c>>>0<=62){c=w[c+852832|0]}else{c=44}t[f|0]=c;f=e+1|0;p:{if(f>>>0>>0){f=e;c=i>>>8&63;if((c|0)!=63){c=w[c+852832|0]}else{c=44}t[f+1|0]=c;f=e+2|0;if(f>>>0>>0){f=e;c=i>>>2&63;if((c|0)!=63){c=w[c+852832|0]}else{c=44}t[f+2|0]=c;e=e+3|0;if(!d){d=0;break p}v[d+8>>2]=g;v[d+4>>2]=g;v[d>>2]=g;d=d+12|0;g=g+1|0;break p}if(d){v[d+4>>2]=g;v[d>>2]=g;g=g+1|0;d=d+8|0}else{d=0}e=44;c=i>>>2&63;if((c|0)!=63){e=w[c+852832|0]}t[h+63|0]=1;t[h+76|0]=e;v[b>>2]=15;e=f;break p}if(d){v[d>>2]=g;g=g+1|0;d=d+4|0}else{d=0}e=44;c=h;j=i>>>8&63;if((j|0)!=63){j=w[j+852832|0]}else{j=44}t[c+76|0]=j;c=i>>>2&63;if((c|0)!=63){e=w[c+852832|0]}t[h+63|0]=2;t[h+77|0]=e;v[b>>2]=15;e=f}c=i<<4&48;j=2;break m;case 2:break n;default:break m}}f=e;c=((i&61440)>>>12|c)&255;if(c>>>0<=62){c=w[c+852832|0]}else{c=44}t[f|0]=c;f=e+1|0;q:{if(f>>>0>>0){f=e;c=i>>>6&63;if((c|0)!=63){c=w[c+852832|0]}else{c=44}t[f+1|0]=c;f=e+2|0;if(f>>>0>>0){f=e;c=i&63;if((c|0)!=63){c=w[c+852832|0]}else{c=44}t[f+2|0]=c;e=e+3|0;c=0;if(!d){d=0;break q}v[d+8>>2]=g;v[d+4>>2]=g;v[d>>2]=g;d=d+12|0;g=g+1|0;break q}if(d){v[d+4>>2]=g;v[d>>2]=g;g=g+1|0;d=d+8|0}else{d=0}e=44;c=i&63;if((c|0)!=63){e=w[c+852832|0]}t[h+63|0]=1;t[h+76|0]=e;v[b>>2]=15;c=0;e=f;break q}if(d){v[d>>2]=g;g=g+1|0;d=d+4|0}else{d=0}e=44;c=h;j=i>>>6&63;if((j|0)!=63){j=w[j+852832|0]}else{j=44}t[c+76|0]=j;c=i&63;if((c|0)!=63){e=w[c+852832|0]}t[h+63|0]=2;t[h+77|0]=e;v[b>>2]=15;c=0;e=f}j=0}if(m>>>0>>0){continue}break}break a}f=0;continue}break}v[b>>2]=15}k=h;r:{s:{t:{if(!(!w[a+2|0]|m>>>0>>0)){if(!n){f=e;break s}u:{v:{w:{if(!(j&255)){break w}if(e>>>0>>0){f=e;c=c&255;if(c>>>0<=62){c=w[c+852832|0]}else{c=44}t[f|0]=c;f=e+1|0;if(!d){break v}v[d>>2]=g-1;d=d+4|0;e=f;break w}f=44;c=c&255;if(c>>>0<=62){f=w[c+852832|0]}c=t[h+63|0];t[h+63|0]=c+1;t[(c+h|0)+76|0]=f;v[b>>2]=15}if(e>>>0>>0){break u}f=e;break t}d=0;if(f>>>0>=l>>>0){break t}t[e+1|0]=45;f=e+2|0;break s}t[e|0]=45;f=e+1|0;if(!d){d=0;break s}v[d>>2]=g-1;d=d+4|0;break s}f=e;b=v[h+52>>2]&-268435456|(c&255|p|j<<24>>24<<16);break r}e=t[h+63|0];t[h+63|0]=e+1;t[(e+h|0)+76|0]=45;v[b>>2]=15}b=v[h+52>>2]&-268435456|16777216}v[k+52>>2]=b;v[a+24>>2]=d;v[a+16>>2]=f;v[a+8>>2]=m}function DP(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=Qb+-64|0;Qb=d;g=Bh();c=Qb-16|0;Qb=c;f=g- -64|0;e=f;h=v[e+24>>2];v[c+12>>2]=e;v[c+8>>2]=h;a:{b:{c:while(1){e=v[c+8>>2];if(e){while(1){if((f|0)!=v[c+12>>2]){break b}if(v[e+24>>2]==(b|0)){v[c+4>>2]=f;v[c>>2]=e;v[c+8>>2]=v[e>>2];Tn(f,c);continue c}e=v[e>>2];v[c+8>>2]=e;if(e){continue}break}}break}Qb=c+16|0;break a}Ei(c+8|0,f);L()}d:{e:{f:{g:{h:{i:{if(!(!(v[b+148>>2]&2)|!v[a+100>>2])){v[299999]=0;h=b+72|0;c=Q(4342,d+16|0,h|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break f}v[299999]=0;U(4713,d+56|0,c|0,0);e=v[299999];v[299999]=0;j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{if((e|0)!=1){v[299999]=0;U(4731,g|0,b|0,d+56|0);e=v[299999];v[299999]=0;if((e|0)==1){break w}ec(d+56|0);v[c+24>>2]=981312;v[c>>2]=981280;e=v[c+28>>2];if(e){f=v[e+4>>2]-1|0;v[e+4>>2]=f;if(!f){Ub[v[v[e>>2]+4>>2]](e)}v[c+28>>2]=0}v[c+16>>2]=981312;e=v[c+20>>2];if(e){f=v[e+4>>2]-1|0;v[e+4>>2]=f;if(!f){Ub[v[v[e>>2]+4>>2]](e)}v[c+20>>2]=0}ec(c+8|0);x:{if(!(v[a+92>>2]&6)){break x}v[299999]=0;c=Q(4342,d+16|0,h|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break f}v[299999]=0;f=Q(4732,a|0,c|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break h}v[c+24>>2]=981312;v[c>>2]=981280;e=v[c+28>>2];if(e){i=v[e+4>>2]-1|0;v[e+4>>2]=i;if(!i){Ub[v[v[e>>2]+4>>2]](e)}v[c+28>>2]=0}v[c+16>>2]=981312;e=v[c+20>>2];if(e){i=v[e+4>>2]-1|0;v[e+4>>2]=i;if(!i){Ub[v[v[e>>2]+4>>2]](e)}v[c+20>>2]=0}ec(c+8|0);if((f|0)<0){break x}if(!f){v[299999]=0;U(4713,d+56|0,a+8|0,0);c=v[299999];v[299999]=0;if((c|0)==1){break f}v[299999]=0;U(4546,d+16|0,d+56|0,334345);c=v[299999];v[299999]=0;if((c|0)==1){break v}v[299999]=0;U(4731,g|0,b|0,d+16|0);c=v[299999];v[299999]=0;if((c|0)==1){break u}ec(d+16|0);ec(d+56|0)}v[299999]=0;U(4713,d+8|0,a+8|0,0);a=v[299999];v[299999]=0;if((a|0)==1){break f}v[299999]=0;U(4546,d+56|0,d+8|0,345893);a=v[299999];v[299999]=0;if((a|0)==1){break s}v[299999]=0;a=Q(4545,d|0,f|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break r}v[299999]=0;U(4547,d+16|0,d+56|0,a|0);c=v[299999];v[299999]=0;if((c|0)==1){break q}v[299999]=0;U(4731,g|0,b|0,d+16|0);c=v[299999];v[299999]=0;if((c|0)==1){break p}ec(d+16|0);ec(a);ec(d+56|0);ec(d+8|0)}v[299999]=0;a=Q(4342,d+16|0,h|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break f}v[299999]=0;U(4713,d+8|0,a|0,0);c=v[299999];v[299999]=0;if((c|0)==1){break m}v[299999]=0;U(4546,d+56|0,d+8|0,334345);c=v[299999];v[299999]=0;if((c|0)==1){break l}v[299999]=0;U(4731,g|0,b|0,d+56|0);b=v[299999];v[299999]=0;if((b|0)==1){break k}ec(d+56|0);ec(d+8|0);v[a+24>>2]=981312;v[a>>2]=981280;b=v[a+28>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Ub[v[v[b>>2]+4>>2]](b)}v[a+28>>2]=0}v[a+16>>2]=981312;b=v[a+20>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Ub[v[v[b>>2]+4>>2]](b)}v[a+20>>2]=0}ec(a+8|0);break i}break h}a=P()|0;O()|0;ec(d+56|0);break g}b=P()|0;O()|0;break t}b=P()|0;O()|0;ec(d+16|0)}ec(d+56|0);T(b|0);L()}b=P()|0;O()|0;break e}b=P()|0;O()|0;break n}b=P()|0;O()|0;break o}b=P()|0;O()|0;ec(d+16|0)}ec(a)}ec(d+56|0);break e}b=P()|0;O()|0;break d}b=P()|0;O()|0;break j}b=P()|0;O()|0;ec(d+56|0)}ec(d+8|0);break d}v[299999]=0;V(4720,d+8|0,a|0);a=v[299999];v[299999]=0;y:{z:{A:{B:{C:{if((a|0)!=1){v[299999]=0;a=Q(4342,d+16|0,b+72|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break C}c=v[a+8>>2];c=v[(c?c+12|0:1129608)>>2];v[299999]=0;U(4546,d+56|0,d+8|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break B}v[299999]=0;U(4731,g|0,b|0,d+56|0);b=v[299999];v[299999]=0;if((b|0)==1){break A}ec(d+56|0);v[a+24>>2]=981312;v[a>>2]=981280;b=v[a+28>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Ub[v[v[b>>2]+4>>2]](b)}v[a+28>>2]=0}v[a+16>>2]=981312;b=v[a+20>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Ub[v[v[b>>2]+4>>2]](b)}v[a+20>>2]=0}ec(a+8|0);ec(d+8|0);break i}break f}b=P()|0;O()|0;break y}b=P()|0;O()|0;break z}b=P()|0;O()|0;ec(d+56|0)}$c(a)}break e}Qb=d- -64|0;return}a=P()|0;O()|0}$c(c);T(a|0);L()}a=P()|0;O()|0;T(a|0);L()}ec(d+8|0);T(b|0);L()}$c(a);T(b|0);L()}function eza(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;c=Qb-128|0;Qb=c;v[c+112>>2]=13;v[c+96>>2]=13;v[c+80>>2]=13;v[c+64>>2]=13;v[c+48>>2]=13;v[c+32>>2]=13;v[c+16>>2]=13;v[a>>2]=v[b+24>>2];f=fc(16);v[299999]=0;S(3315,f|0)|0;g=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{if((g|0)!=1){v[a+8>>2]=0;v[a+4>>2]=f;i=v[b+28>>2];if(v[i+136>>2]!=7){break c}if(v[rc(v[i+144>>2],237110,c+112|0,0)>>2]!=6){break d}b=v[c+120>>2];if(v[b+12>>2]>=1){while(1){if(v[hg(b,d,c- -64|0)>>2]==9){b=v[c+76>>2];v[c+8>>2]=v[c+72>>2];v[c+12>>2]=b;qf(c- -64|0,v[a>>2],c+48|0,0);b=0;e=Qb-48|0;Qb=e;v[e+32>>2]=13;v[e+16>>2]=13;v[e>>2]=13;g:{if(v[c+48>>2]!=7){break g}if(v[rc(v[c+56>>2],280517,e+32|0,0)>>2]!=3){kc(1,-1,320914,0);hc(e+32|0);break g}k=fc(12);v[299999]=0;Q(3316,k|0,v[e+40>>2])|0;b=v[299999];v[299999]=0;h:{i:{j:{k:{if((b|0)!=1){b=e+32|0;hc(b);f=2;g=2;if(v[rc(v[c+56>>2],283445,b,0)>>2]!=7){break h}if(v[rc(v[e+40>>2],224761,e+16|0,0)>>2]!=7){break i}f=2;if(v[rc(v[e+24>>2],276849,e,0)>>2]!=4){break j}if(v[e>>2]!=4){break k}if(mc(v[e+8>>2],312112)){break k}f=0;break j}a=P()|0;O()|0;dc(k);break a}f=1}hc(e)}b=e+16|0;hc(b);if(v[rc(v[e+40>>2],228524,b,0)>>2]==7){g=2;l:{if(v[rc(v[e+24>>2],276859,e,0)>>2]!=4){break l}m:{if(v[e>>2]!=4){break m}if(mc(v[e+8>>2],312112)){break m}g=0;break l}g=1}hc(e)}hc(e+16|0)}hc(e+32|0);b=fc(28);h=v[c+8>>2];j=v[c+12>>2];v[b+20>>2]=1;v[b+24>>2]=0;v[b+16>>2]=g;v[b+12>>2]=f;v[b+8>>2]=k;v[b>>2]=h;v[b+4>>2]=j}Qb=e+48|0;if(b){Tc(v[a+4>>2],b)}hc(c+48|0)}hc(c- -64|0);d=d+1|0;b=v[c+120>>2];if((d|0)>2]){continue}break}}if(v[rc(v[i+144>>2],321761,c+96|0,0)>>2]!=7){break f}n:{if(v[rc(v[c+104>>2],310896,c- -64|0,0)>>2]!=6){break n}d=v[c+72>>2];if(v[d+12>>2]<1){break n}f=v[c+8>>2];g=v[c+12>>2];b=0;while(1){if(v[yc(d,b,c+80|0,0)>>2]==7){j=rc(v[c+88>>2],228557,c+48|0,0);o:{if(v[j>>2]!=4){break o}if(mc(v[j+8>>2],224761)){break o}p:{if(v[rc(v[c+88>>2],237110,c+32|0,0)>>2]!=6){break p}l=0;d=v[c+40>>2];if(v[d+12>>2]<1){break p}while(1){q:{if(v[hg(d,l,c+16|0)>>2]!=9){break q}f=v[c+24>>2];g=v[c+28>>2];h=v[a+4>>2];k=v[h+8>>2];if((k|0)<1){break q}i=g;j=f;h=v[h>>2];d=0;while(1){e=v[(d<<2)+h>>2];if(!((j|0)==v[e>>2]&(i|0)==v[e+4>>2])){d=d+1|0;if((k|0)!=(d|0)){continue}break q}break}v[e+24>>2]=1}hc(c+16|0);l=l+1|0;d=v[c+40>>2];if((l|0)>2]){continue}break}}hc(c+32|0)}hc(c+48|0)}hc(c+80|0);b=b+1|0;d=v[c+72>>2];if((b|0)>2]){continue}break}v[c+8>>2]=f;v[c+12>>2]=g}b=c- -64|0;hc(b);r:{if(v[rc(v[c+104>>2],320990,b,0)>>2]!=6){break r}d=v[c+72>>2];if(v[d+12>>2]<1){break r}f=v[c+8>>2];g=v[c+12>>2];b=0;while(1){s:{if(v[hg(d,b,c+48|0)>>2]!=9){break s}f=v[c+56>>2];g=v[c+60>>2];t:{h=v[a+4>>2];k=v[h+8>>2];if((k|0)>=1){i=g;j=f;h=v[h>>2];d=0;while(1){e=v[h+(d<<2)>>2];if((j|0)==v[e>>2]&(i|0)==v[e+4>>2]){break t}d=d+1|0;if((k|0)!=(d|0)){continue}break}}kc(1,-1,321632,0);break s}v[e+20>>2]=0}hc(c+48|0);b=b+1|0;d=v[c+72>>2];if((b|0)>2]){continue}break}v[c+8>>2]=f;v[c+12>>2]=g}hc(c- -64|0);b=v[a+4>>2];i=v[b+8>>2];u:{if((i|0)<1){break u}h=v[b>>2];d=0;if((i|0)!=1){b=i&-2;while(1){f=d<<2;j=v[f+h>>2];v:{if(!v[j+24>>2]){break v}g=v[j+12>>2];if((g|0)==2){break v}v[j+20>>2]=!g}f=v[h+(f|4)>>2];w:{if(!v[f+24>>2]){break w}g=v[f+12>>2];if((g|0)==2){break w}v[f+20>>2]=!g}d=d+2|0;b=b-2|0;if(b){continue}break}}if(!(i&1)){break u}g=v[h+(d<<2)>>2];if(!v[g+24>>2]){break u}b=v[g+12>>2];if((b|0)==2){break u}v[g+20>>2]=!b}if(v[rc(v[c+104>>2],239959,c- -64|0,0)>>2]==6){m=a,n=aS(c- -64|0,a,v[a>>2],0),v[m+8>>2]=n}hc(c- -64|0);break e}a=P()|0;O()|0;dc(f);break a}kc(1,-1,321691,0)}hc(c+96|0)}hc(c+112|0);if(v[a+8>>2]){break b}}f=fc(16);v[299999]=0;g=S(1,12)|0;b=v[299999];v[299999]=0;x:{if((b|0)!=1){v[299999]=0;v[g+8>>2]=0;v[g>>2]=0;v[g+4>>2]=0;b=v[299999];v[299999]=0;if((b|0)!=1){break x}a=P()|0;O()|0;dc(g);dc(f);break a}a=P()|0;O()|0;dc(f);break a}v[f+12>>2]=0;v[f+4>>2]=0;v[f+8>>2]=0;v[f>>2]=g;v[a+8>>2]=f}Qb=c+128|0;return a|0}T(a|0);L()}function Lt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Qb+-64|0;Qb=c;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{if(t[1178372]&1){break j}if(!Je(1178372)){break j}v[299999]=0;Q(4647,1178364,50)|0;d=v[299999];v[299999]=0;if((d|0)==1){break i}Ie(1178372)}k:{if(t[1178384]&1){break k}if(!Je(1178384)){break k}v[299999]=0;Q(4647,1178376,9)|0;d=v[299999];v[299999]=0;if((d|0)==1){break h}Ie(1178384)}d=fk(c+56|0,335635);switch(v[a+8>>2]-1|0){case 3:break d;case 2:break e;case 1:break f;case 0:break g;default:break c}}a=P()|0;O()|0;Pf(1178372);T(a|0);L()}a=P()|0;O()|0;Pf(1178384);T(a|0);L()}v[299999]=0;U(4423,c+32|0,240167,1178364);e=v[299999];v[299999]=0;l:{m:{n:{o:{p:{q:{r:{s:{t:{if((e|0)!=1){v[299999]=0;U(4546,c+40|0,c+32|0,v[(b<<2)+983040>>2]);b=v[299999];v[299999]=0;if((b|0)==1){break t}v[299999]=0;U(4547,c+48|0,c+40|0,1178376);b=v[299999];v[299999]=0;if((b|0)==1){break s}a=v[a+20>>2];v[299999]=0;b=Q(4545,c+24|0,a|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break r}v[299999]=0;U(4547,c|0,c+48|0,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break q}v[299999]=0;Q(4606,d|0,c|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break p}ec(c);ec(b);ec(c+48|0);ec(c+40|0);ec(c+32|0);break b}a=P()|0;O()|0;break a}a=P()|0;O()|0;break l}a=P()|0;O()|0;break m}a=P()|0;O()|0;break n}a=P()|0;O()|0;break o}a=P()|0;O()|0;ec(c)}ec(b)}ec(c+48|0)}ec(c+40|0)}ec(c+32|0);break a}v[299999]=0;U(4423,c+32|0,272591,1178364);e=v[299999];v[299999]=0;u:{v:{w:{x:{y:{z:{A:{if((e|0)!=1){v[299999]=0;U(4546,c+40|0,c+32|0,v[(b<<2)+983040>>2]);b=v[299999];v[299999]=0;if((b|0)==1){break A}v[299999]=0;U(4547,c+48|0,c+40|0,1178376);b=v[299999];v[299999]=0;if((b|0)==1){break z}v[299999]=0;U(4547,c|0,c+48|0,a+24|0);a=v[299999];v[299999]=0;if((a|0)==1){break y}v[299999]=0;Q(4606,d|0,c|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break x}ec(c);ec(c+48|0);ec(c+40|0);ec(c+32|0);break b}a=P()|0;O()|0;break a}a=P()|0;O()|0;break u}a=P()|0;O()|0;break v}a=P()|0;O()|0;break w}a=P()|0;O()|0;ec(c)}ec(c+48|0)}ec(c+40|0)}ec(c+32|0);break a}v[299999]=0;U(4423,c+32|0,258768,1178364);e=v[299999];v[299999]=0;B:{C:{D:{E:{F:{G:{H:{if((e|0)!=1){v[299999]=0;U(4546,c+40|0,c+32|0,v[(b<<2)+983040>>2]);b=v[299999];v[299999]=0;if((b|0)==1){break H}v[299999]=0;U(4547,c+48|0,c+40|0,1178376);b=v[299999];v[299999]=0;if((b|0)==1){break G}v[299999]=0;U(4547,c|0,c+48|0,a+32|0);a=v[299999];v[299999]=0;if((a|0)==1){break F}v[299999]=0;Q(4606,d|0,c|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break E}ec(c);ec(c+48|0);ec(c+40|0);ec(c+32|0);break b}a=P()|0;O()|0;break a}a=P()|0;O()|0;break B}a=P()|0;O()|0;break C}a=P()|0;O()|0;break D}a=P()|0;O()|0;ec(c)}ec(c+48|0)}ec(c+40|0)}ec(c+32|0);break a}v[299999]=0;U(4423,c+32|0,227153,1178364);e=v[299999];v[299999]=0;I:{J:{K:{L:{M:{N:{O:{if((e|0)!=1){v[299999]=0;U(4546,c+40|0,c+32|0,v[(b<<2)+983040>>2]);b=v[299999];v[299999]=0;if((b|0)==1){break O}v[299999]=0;U(4547,c+48|0,c+40|0,1178376);b=v[299999];v[299999]=0;if((b|0)==1){break N}v[299999]=0;U(4547,c|0,c+48|0,a+12|0);a=v[299999];v[299999]=0;if((a|0)==1){break M}v[299999]=0;Q(4606,d|0,c|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break L}ec(c);ec(c+48|0);ec(c+40|0);ec(c+32|0);break b}a=P()|0;O()|0;break a}a=P()|0;O()|0;break I}a=P()|0;O()|0;break J}a=P()|0;O()|0;break K}a=P()|0;O()|0;ec(c)}ec(c+48|0)}ec(c+40|0)}ec(c+32|0);break a}v[299999]=0;U(4423,c+48|0,289053,1178364);a=v[299999];v[299999]=0;P:{Q:{R:{if((a|0)!=1){v[299999]=0;U(4546,c|0,c+48|0,v[(b<<2)+983040>>2]);a=v[299999];v[299999]=0;if((a|0)==1){break R}v[299999]=0;Q(4606,d|0,c|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break Q}ec(c);ec(c+48|0);break b}a=P()|0;O()|0;break a}a=P()|0;O()|0;break P}a=P()|0;O()|0;ec(c)}ec(c+48|0);break a}a=v[d>>2];a=v[(a?a+12|0:1129608)>>2];v[299999]=0;b=aa(4369,c|0,a|0,241562,334,226456,0)|0;a=v[299999];v[299999]=0;S:{if((a|0)!=1){v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break S}L()}a=P()|0;O()|0;break a}a=P()|0;O()|0;qc(b)}ec(d);T(a|0);L()}function PLa(a,b){a=a|0;b=b|0;var 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,x=0,y=0,z=0,A=0,B=0;j=v[a+4>>2];m=v[j+8>>2];l=w[m+65|0];h=l?-1:0;d=v[a+24>>2];q=v[a+20>>2];e=v[a+16>>2];o=v[a+12>>2];k=v[a+8>>2];r=w[m+68|0];p=w[m+67|0];y=w[m+66|0];a:{b:{c:{x=w[m+64|0];if(x){g=h;if(l){break c}c=0;break a}g=h;if(l){break b}c=2;break a}c=1;break a}c=3}while(1){d:{e:{f:{g:{h:{i:{j:{k:{l:{switch(c|0){case 0:l=0;if(k>>>0>=o>>>0){g=h;break d}if(e>>>0>=q>>>0){g=h;break d}n=(p<<24>>24<<2)+m|0;while(1){g=w[k|0];if(g>>>0<32){g=h;break d}k=k+1|0;m:{n:{if(g<<24>>24>=0){u[e>>1]=g;e=e+2|0;c=1;g=d;if(d){break n}d=0;break m}g=v[n>>2]+(g&127)|0;if(g>>>0<=65535){u[e>>1]=g;e=e+2|0;c=1;g=d;if(d){break n}d=0;break m}u[e>>1]=(g>>>10|0)-10304;o:{i=e+2|0;if(q>>>0>i>>>0){u[e+2>>1]=g&1023|56320;e=e+4|0;if(d){break o}d=0;break m}f=0;if(d){v[d>>2]=h;f=d+4|0}t[j+65|0]=1;u[j+116>>1]=g&1023|56320;v[b>>2]=15;break g}v[d>>2]=h;c=2;g=d+4|0}v[g>>2]=h;d=(c<<2)+d|0}f=f+1|0;if(k>>>0>=o>>>0){g=f;break d}h=f;if(e>>>0>>0){continue}break};g=f;break d;case 1:if(k>>>0>=o>>>0){break k}p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{if(e>>>0>>0){z=j+37|0;B=j+38|0;c=k;h=f;while(1){h=h+1|0;k=c+1|0;A=2;n=B;s=2;c=w[c|0];i=c;A:{B:{C:{switch(l&255){case 4:i=c&31;s=5;p=c>>>5|0;break B;case 6:break p;case 5:break q;case 3:break v;case 2:break w;case 1:break B;case 0:break C;default:break A}}if(1<>>0<=15){if(c>>>0>=9){s=4;A=1;n=z;i=r;f=h;F:{switch(c-11|0){case 4:break i;case 0:break B;case 3:break F;default:break x}}s=1;n=z;break D}y=c-1|0;s=3;break E}if(c>>>0<24){break y}p=c-24|0;s=6}A=1;n=z}i=r}t[n|0]=c;t[j+36|0]=A;l=s;r=i}c=k;if((o|0)!=(c|0)){continue}break}break h}v[b>>2]=15;break k}u[e>>1]=c;e=e+2|0;if(!d){break u}v[d>>2]=g;d=d+4|0;f=h;break j}p=c-16|0;f=h;break j}v[b>>2]=12;t[j+36|0]=1;t[j+37|0]=c;l=0;break k}u[e>>1]=c|r<<8;e=e+2|0;if(!d){break u}v[d>>2]=g;d=d+4|0;f=h;break j}f=y<<24>>24;if(c<<24>>24>=0){u[e>>1]=c+v[(f<<2)+862416>>2];e=e+2|0;c=1;if(!d){break u}f=d;break s}c=v[(f<<2)+m>>2]+(c&127)|0;if(c>>>0<=65535){u[e>>1]=c;e=e+2|0;c=1;if(!d){break u}f=d;break s}u[e>>1]=(c>>>10|0)-10304;i=e+2|0;if(q>>>0<=i>>>0){break r}u[e+2>>1]=c&1023|56320;e=e+4|0;if(d){break t}}d=0;f=h;break j}v[d>>2]=g;c=2;f=d+4|0}v[f>>2]=g;d=(c<<2)+d|0;f=h;break j}if(d){v[d>>2]=g;f=d+4|0}else{f=0}t[j+65|0]=1;u[j+116>>1]=c&1023|56320;v[b>>2]=15;l=3;break g}v[(p<<24>>24<<2)+m>>2]=((r&255)<<15|c<<7)+65536;f=h;break j}if(!c){t[j+36|0]=2;t[j+38|0]=0;l=6;break k}G:{f=(p<<24>>24<<2)+m|0;i=c<<7;H:{if(c>>>0<=103){break H}i=(c<<7)+44032|0;if((c-104&255)>>>0<=63){break H}if(c>>>0<249){break G}i=v[(c<<2)+861452>>2]}v[f>>2]=i;f=h;break j}t[j+36|0]=2;t[j+38|0]=c;l=6;break k;case 2:l=0;g=h;c=k+1|0;I:{if(o>>>0<=c>>>0){break I}if(e>>>0>=q>>>0){break I}while(1){g=f;f=w[k|0];if((f+32&255)>>>0<19){f=g;g=h;break I}u[e>>1]=w[c|0]|f<<8;n=0;if(d){v[d>>2]=h;n=d+4|0}e=e+2|0;i=k+2|0;f=g+2|0;c=k+3|0;if(o>>>0>c>>>0){k=i;h=g;d=n;if(e>>>0>>0){continue}}break}d=n;k=i}c=3;continue;default:break l}}x=0;J:{if(k>>>0>>0){break J}break k}K:{L:{if(e>>>0>>0){c=k;while(1){f=f+1|0;k=c+1|0;c=w[c|0];M:{N:{O:{P:{switch(l&255){case 1:t[j+38|0]=c;l=2;i=2;break O;case 2:break L;case 0:break P;default:break M}}i=c+32|0;if((i&255)>>>0<=18){if(c>>>0<232){x=1;p=i;h=f;break j}if(c>>>0<240){break f}if((c|0)!=240){if((c|0)!=241){break K}l=4;break e}t[j+37|0]=240;i=1;l=1;break N}t[j+37|0]=c;l=2;i=1}r=c}t[j+36|0]=i}c=k;if((o|0)!=(c|0)){continue}break}break h}v[b>>2]=15;break k}u[e>>1]=c|r<<8;e=e+2|0;if(!d){d=0;h=f;break i}v[d>>2]=g;d=d+4|0;h=f;break i}v[b>>2]=12;t[j+36|0]=1;t[j+37|0]=c;l=0}f=d;i=e;break g}c=0;continue}c=2;continue}f=d;i=e;k=o}b=v[b>>2];Q:{if((b|0)>=1){c=0;if((b|0)!=15){break Q}}c=l;if(c&255){break Q}c=0;t[j+36|0]=0}t[m+68|0]=r;t[m+67|0]=p;t[m+66|0]=y;t[m+65|0]=c;t[m+64|0]=x;v[a+24>>2]=f;v[a+16>>2]=i;v[a+8>>2]=k;return}p=c+24|0;l=6}x=1;t[j+36|0]=1;t[j+37|0]=c}c=1;continue}}function B1(a){var 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,u=0,y=0,z=0,A=0,C=0;o=Qb-992|0;Qb=o;if(v[a+4>>2]){h=v[a+20>>2];j=v[a+16>>2];e=gf(o+16|0,0);lh(e,a);Zf(e,h,j,x[a+26>>1],v[a+68>>2]);b=v[a+4>>2];vn(e,b?v[a+44>>2]?b+40|0:0:0,256);if(v[a+964>>2]){si(e)}if(v[a+960>>2]){Q1(e)}a:{if(x[a+26>>1]!=1){if((h|0)<1|(j|0)<1){break a}q=64;while(1){l=g- -64|0;r=(h|0)<(l|0)?h:l;p=(h|0)<(q|0)?h:q;z=B(p,100)-100|0;u=0;n=64;b=0;while(1){s=(j|0)<(n|0)?j:n;k=b- -64|0;b:{c:{d:{if(x[a+26>>1]==24){if((g|0)>=(r|0)){break d}A=(j|0)<(k|0)?j:k;f=b+1|0;d=(u<<6)- -64|0;y=(d|0)>(j|0)?j:d;C=y-b&1;d=g;while(1){v[a+328>>2]=(B(d,100)|0)/(h|0);m=d;d=v[e+44>>2]?0:(v[e+56>>2]+B(b,v[e+52>>2])|0)+B(m,3)|0;c=(m^-1)+h|0;c=v[a+44>>2]?0:(v[a+56>>2]+B(c,v[a+52>>2])|0)+B(b,3)|0;e:{if((b|0)>=(A|0)){break e}if(C){t[d|0]=w[c|0];t[d+1|0]=w[c+1|0];t[d+2|0]=w[c+2|0];c=c+3|0;d=v[e+52>>2]+d|0;i=f}else{i=b}if((f|0)==(y|0)){break e}while(1){t[d|0]=w[c|0];t[d+1|0]=w[c+1|0];t[d+2|0]=w[c+2|0];d=v[e+52>>2]+d|0;t[d|0]=w[c+3|0];t[d+1|0]=w[c+4|0];t[d+2|0]=w[c+5|0];c=c+6|0;d=d+v[e+52>>2]|0;i=i+2|0;if((s|0)!=(i|0)){continue}break}}d=m+1|0;if((p|0)!=(d|0)){continue}break}break d}if((g|0)>=(r|0)){break d}d=g;if((((j|0)<(k|0)?j:k)|0)>(b|0)){while(1){v[a+328>>2]=(B(d,100)|0)/(h|0);i=(d^-1)+h|0;c=b;while(1){wn(e,d,c,Gq(a,c,i));c=c+1|0;if((s|0)!=(c|0)){continue}break}d=d+1|0;if((p|0)!=(d|0)){continue}break d}}v[a+328>>2]=(z|0)/(h|0);if(v[a+964>>2]){break c}break b}if(!v[a+964>>2]|(g|0)>=(r|0)){break b}}d=g;c=b- -64|0;if((((c|0)>(j|0)?j:c)|0)<=(b|0)){break b}while(1){i=(d^-1)+h|0;c=b;while(1){gh(e,d,c,w[v[a+964>>2]+(B(i,v[a+16>>2])+c|0)|0]);c=c+1|0;if((s|0)!=(c|0)){continue}break}d=d+1|0;if((p|0)!=(d|0)){continue}break}}u=u+1|0;n=n- -64|0;if(v[a+960>>2]){v[e+372>>2]=h-v[a+376>>2];v[e+380>>2]=h-v[a+384>>2];v[e+384>>2]=v[a+372>>2];v[e+376>>2]=v[a+380>>2];k=b- -64|0;f:{if((g|0)>=(r|0)){break f}d=g;if((((j|0)<(k|0)?j:k)|0)<=(b|0)){break f}while(1){i=(d^-1)+h|0;c=b;while(1){XA(e,d,c,w[v[a+960>>2]+(B(i,v[a+16>>2])+c|0)|0]);c=c+1|0;if((s|0)!=(c|0)){continue}break}d=d+1|0;if((p|0)!=(d|0)){continue}break}}}b=k;if((j|0)>(b|0)){continue}break}q=q- -64|0;g=l;if((g|0)<(h|0)){continue}break}break a}q=xe(a,0);i=xe(e,0);b=v[e+32>>2];g=v[e+16>>2];c=v[e+52>>2];bx(e,0);if(v[a+20>>2]>=1){r=(c<<3)-g|0;k=(b+i|0)-1|0;p=i-1|0;while(1){b=n+r|0;g=(b|0)/8|0;v[o+8>>2]=g;v[o+12>>2]=b-(g<<3);b=v[a+52>>2];if((b|0)>=1){m=1<>2];s=q+B(b,n)|0;u=p-v[o+8>>2]|0;c=0;while(1){b=v[e+52>>2];g=b+(u+(B(b,c)<<3)|0)|0;g:{if(g>>>0>>0|g>>>0>k>>>0){break g}l=c+s|0;if(t[l|0]<=-1){t[g|0]=m|w[g|0];b=v[e+52>>2]}f=b+g|0;if(f>>>0>>0|f>>>0>k>>>0){break g}if(w[l|0]&64){t[f|0]=m|w[f|0];b=v[e+52>>2]}f=g+(b<<1)|0;if(f>>>0>>0|f>>>0>k>>>0){break g}if(w[l|0]&32){t[f|0]=m|w[f|0];b=v[e+52>>2]}f=g+B(b,3)|0;if(f>>>0>>0|f>>>0>k>>>0){break g}if(w[l|0]&16){t[f|0]=m|w[f|0];b=v[e+52>>2]}f=g+(b<<2)|0;if(f>>>0>>0|f>>>0>k>>>0){break g}if(w[l|0]&8){t[f|0]=m|w[f|0];b=v[e+52>>2]}f=g+B(b,5)|0;if(f>>>0>>0|f>>>0>k>>>0){break g}if(w[l|0]&4){t[f|0]=m|w[f|0];b=v[e+52>>2]}f=g+B(b,6)|0;if(f>>>0>>0|f>>>0>k>>>0){break g}if(w[l|0]&2){t[f|0]=m|w[f|0];b=v[e+52>>2]}b=B(b,7)+g|0;if(!(t[l|0]&1)|(b>>>0>>0|b>>>0>k>>>0)){break g}t[b|0]=m|w[b|0]}c=c+1|0;if((c|0)>2]){continue}break}}n=n+1|0;if((n|0)>2]){continue}break}}if(!(!v[a+964>>2]|(h|0)<1|(j|0)<1)){while(1){b=(d^-1)+h|0;c=0;while(1){gh(e,d,c,w[v[a+964>>2]+(B(b,v[a+16>>2])+c|0)|0]);c=c+1|0;if((j|0)!=(c|0)){continue}break}d=d+1|0;if((h|0)!=(d|0)){continue}break}}if(!v[a+960>>2]){break a}v[e+372>>2]=h-v[a+376>>2];v[e+380>>2]=h-v[a+384>>2];v[e+384>>2]=v[a+372>>2];v[e+376>>2]=v[a+380>>2];if((h|0)<1|(j|0)<1){break a}b=0;while(1){d=(b^-1)+h|0;c=0;while(1){XA(e,b,c,w[v[a+960>>2]+(B(d,v[a+16>>2])+c|0)|0]);c=c+1|0;if((j|0)!=(c|0)){continue}break}b=b+1|0;if((h|0)!=(b|0)){continue}break}}ek(a,e,1);v[e>>2]=1032;_g(e);Jg(e)}Qb=o+992|0}function yq(a,b){var 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,u=0,x=0,y=0,z=0,B=0,C=0,E=0;f=Qb-768|0;Qb=f;Yd(b,nc(b)<<1);a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{if(!nc(b)){if((nc(b)|0)!=1399353411){break p}if((nc(b)|0)==2){if(nc(b)){break o}if((nc(b)|0)!=1315774496){break n}if((nc(b)|0)!=1413830740){break m}Yd(b,nc(b)<<1)}if(nc(b)){break l}if((nc(b)|0)!=1131574816){break k}if((nc(b)|0)!=1449938035){break j}m=nc(b);if((m|0)<1){break b}while(1){if((nc(b)|0)!=1331849827){break i}Yd(b,nc(b)<<1);if(nc(b)){break h}if((nc(b)|0)!=1131565172){break g}c=(f+512|0)+e|0;t[c|0]=0;g=(f+256|0)+e|0;t[g|0]=0;n=e+f|0;t[n|0]=0;i=nc(b);if(i){while(1){if(nc(b)){break f}d=nc(b);h=nc(b);q:{r:{s:{if((d|0)!=1131312249){if((d|0)!=1450341475){if((d|0)!=1215461998){break s}if((h|0)!=1685026146){break e}l=Jd(b);if(!(D(l)<2147483648)){break r}t[c|0]=~~l;break q}if((h|0)!=1685026146){break d}l=Jd(b);if(D(l)<2147483648){t[g|0]=~~l;break q}t[g|0]=0;break q}if((h|0)!=1651470188){break c}C=n,E=1-Td(b)|0,t[C|0]=E;break q}X(3794,6490,703,194208);L()}t[c|0]=0}i=i-1|0;if(i){continue}break}}e=e+1|0;if((m|0)!=(e|0)){continue}break}n=w[f+512|0];if(n){break b}n=0;break a}X(11805,6490,626,194208);L()}X(27685,6490,629,194208);L()}X(11805,6490,637,194208);L()}X(29368,6490,640,194208);L()}X(30830,6490,642,194208);L()}X(11805,6490,649,194208);L()}X(32346,6490,652,194208);L()}X(33969,6490,655,194208);L()}X(35320,6490,662,194208);L()}X(11805,6490,668,194208);L()}X(36948,6490,671,194208);L()}X(11805,6490,681,194208);L()}X(38114,6490,689,194208);L()}X(38114,6490,694,194208);L()}X(39083,6490,699,194208);L()}ic(a,w[f+256|0],n)}g=m-1|0;b=w[g+(f+512|0)|0];ic(b+a|0,w[g+(f+256|0)|0],256-b|0);if((m|0)>1){x=m-2|0;b=0;while(1){c=Qb-512|0;Qb=c;i=b+1|0;e=i;h=w[e+f|0];d=w[b+f|0];v[c+408>>2]=0;v[c+412>>2]=0;v[c+432>>2]=0;v[c+436>>2]=0;v[c+440>>2]=0;v[c+444>>2]=0;v[c+464>>2]=0;v[c+468>>2]=0;v[c+472>>2]=0;v[c+476>>2]=0;v[c+496>>2]=0;v[c+500>>2]=0;v[c+504>>2]=0;v[c+508>>2]=0;v[c+400>>2]=0;v[c+404>>2]=0;o=(d|0)==1?b:b?b-1|0:0;d=f+512|0;A[c+384>>3]=w[o+d|0];A[c+416>>3]=w[b+d|0];A[c+448>>3]=w[d+e|0];h=(h|0)==1?e:(b|0)==(x|0)?g:b+2|0;A[c+480>>3]=w[h+d|0];d=f+256|0;A[c+392>>3]=w[d+o|0];A[c+424>>3]=w[b+d|0];A[c+456>>3]=w[d+e|0];b=w[d+h|0];v[c+144>>2]=0;v[c+148>>2]=0;v[c+208>>2]=0;v[c+212>>2]=0;v[c+200>>2]=0;v[c+204>>2]=1054867456;v[c+184>>2]=0;v[c+188>>2]=0;v[c+176>>2]=0;v[c+180>>2]=1063256064;v[c+168>>2]=0;v[c+172>>2]=1053818880;v[c+216>>2]=0;v[c+220>>2]=0;v[c+232>>2]=0;v[c+236>>2]=0;v[c+240>>2]=0;v[c+244>>2]=0;v[c+248>>2]=0;v[c+252>>2]=0;A[c+488>>3]=b>>>0;v[c+128>>2]=0;v[c+132>>2]=0;v[c+136>>2]=0;v[c+140>>2]=0;v[c+192>>2]=0;v[c+196>>2]=1047003136;v[c+160>>2]=0;v[c+164>>2]=1044381696;v[c+152>>2]=0;v[c+156>>2]=1072693248;v[c+224>>2]=0;v[c+228>>2]=1047003136;b=c+256|0;I0(1038224,c+384|0,b);I0(c+128|0,b,c);y=A[c+104>>3];l=A[c+72>>3];q=A[c+40>>3];z=A[c+96>>3];r=A[c+64>>3];s=A[c+32>>3];p=A[c>>3];j=p>0?p:0;j=j<255?j:255;t:{if(D(j)<2147483648){e=~~j;break t}e=-2147483648}d=e+a|0;j=A[c+8>>3];k=j>0?j:0;k=k<255?k:255;u:{if(D(k)<2147483648){b=~~k;break u}b=-2147483648}t[d|0]=b;o=0;while(1){j=j+q;k=j+.5;v:{if(D(k)<2147483648){d=~~k;break v}d=-2147483648}u=(d|0)>0?d:0;B=(u|0)<255;d=e;h=b;p=s+p;k=p+.5;w:{if(D(k)<2147483648){e=~~k;break w}e=-2147483648}b=(e|0)>0?e:0;e=(b|0)<255?b:255;b=B?u:255;if(!((d|0)==(e|0)&(h|0)==(b|0))){t[a+e|0]=b}q=q+l;s=r+s;l=y+l;r=z+r;o=o+1|0;if((o|0)!=512){continue}break}Qb=c+512|0;b=i;if((g|0)!=(b|0)){continue}break}}x:{if((m|0)<1){break x}t[a+n|0]=w[f+256|0];b=1;if((m|0)==1){break x}e=g&3;if(m-2>>>0>=3){i=g&-4;while(1){d=f+512|0;g=f+256|0;t[w[d+b|0]+a|0]=w[g+b|0];c=b+1|0;t[w[c+d|0]+a|0]=w[c+g|0];c=b+2|0;t[w[c+d|0]+a|0]=w[c+g|0];h=d;d=b+3|0;t[w[h+d|0]+a|0]=w[d+g|0];b=b+4|0;i=i-4|0;if(i){continue}break}}if(!e){break x}while(1){t[w[(f+512|0)+b|0]+a|0]=w[(f+256|0)+b|0];b=b+1|0;e=e-1|0;if(e){continue}break}}Qb=f+768|0}function fG(a,b,c,d,e,f){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,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;h=Qb+-64|0;v[h+48>>2]=0;v[h+52>>2]=0;v[h+56>>2]=0;v[h+60>>2]=0;v[h+32>>2]=0;v[h+36>>2]=0;v[h+40>>2]=0;v[h+44>>2]=0;a:{b:{c:{d:{e:{if(c){i=c&3;if(c-1>>>0>=3){g=c&-4;while(1){k=h+32|0;j=l<<1;m=k+(x[j+b>>1]<<1)|0;u[m>>1]=x[m>>1]+1;m=k+(x[(j|2)+b>>1]<<1)|0;u[m>>1]=x[m>>1]+1;m=k+(x[(j|4)+b>>1]<<1)|0;u[m>>1]=x[m>>1]+1;j=k+(x[(j|6)+b>>1]<<1)|0;u[j>>1]=x[j>>1]+1;l=l+4|0;g=g-4|0;if(g){continue}break}}if(i){while(1){g=(h+32|0)+(x[(l<<1)+b>>1]<<1)|0;u[g>>1]=x[g>>1]+1;l=l+1|0;i=i-1|0;if(i){continue}break}}l=v[e>>2];j=15;o=x[h+62>>1];if(o){break d}break e}l=v[e>>2]}j=14;o=0;if(x[h+60>>1]){break d}j=13;if(x[h+58>>1]){break d}j=12;if(x[h+56>>1]){break d}j=11;if(x[h+54>>1]){break d}j=10;if(x[h+52>>1]){break d}j=9;if(x[h+50>>1]){break d}j=8;if(x[h+48>>1]){break d}j=7;if(x[h+46>>1]){break d}j=6;if(x[h+44>>1]){break d}j=5;if(x[h+42>>1]){break d}j=4;if(x[h+40>>1]){break d}j=3;if(x[h+38>>1]){break d}j=2;if(x[h+36>>1]){break d}if(!x[h+34>>1]){a=v[d>>2];v[d>>2]=a+4;u[a>>1]=320;u[a+2>>1]=0;a=v[d>>2];v[d>>2]=a+4;u[a>>1]=320;u[a+2>>1]=0;k=1;break b}r=(l|0)!=0;j=1;l=1;break c}r=j>>>0>>0?j:l;y=1;l=1;while(1){if(x[(h+32|0)+(l<<1)>>1]){break c}l=l+1|0;if((j|0)!=(l|0)){continue}break}l=j}i=-1;g=x[h+34>>1];if(g>>>0>2){break a}k=x[h+36>>1];m=4-(k+(g<<1)|0)|0;if((m|0)<0){break a}q=m<<1;m=x[h+38>>1];q=q-m|0;if((q|0)<0){break a}n=q<<1;q=x[h+40>>1];z=n-q|0;if((z|0)<0){break a}n=z<<1;z=x[h+42>>1];s=n-z|0;if((s|0)<0){break a}n=s<<1;s=x[h+44>>1];A=n-s|0;if((A|0)<0){break a}n=A<<1;A=x[h+46>>1];B=n-A|0;if((B|0)<0){break a}n=B<<1;B=x[h+48>>1];n=n-B|0;if((n|0)<0){break a}p=n<<1;n=x[h+50>>1];E=p-n|0;if((E|0)<0){break a}p=E<<1;E=x[h+52>>1];F=p-E|0;if((F|0)<0){break a}p=F<<1;F=x[h+54>>1];p=p-F|0;if((p|0)<0){break a}C=p<<1;p=x[h+56>>1];C=C-p|0;if((C|0)<0){break a}D=C<<1;C=x[h+58>>1];D=D-C|0;if((D|0)<0){break a}G=D<<1;D=x[h+60>>1];G=G-D|0;if((G|0)<0){break a}o=(G<<1)-o|0;if((o|0)<0|(!a|y?o:0)){break a}y=l>>>0>r>>>0;i=0;u[h+2>>1]=0;u[h+4>>1]=g;g=g+k|0;u[h+6>>1]=g;g=g+m|0;u[h+8>>1]=g;g=g+q|0;u[h+10>>1]=g;g=g+z|0;u[h+12>>1]=g;g=g+s|0;u[h+14>>1]=g;g=g+A|0;u[h+16>>1]=g;g=g+B|0;u[h+18>>1]=g;g=g+n|0;u[h+20>>1]=g;g=g+E|0;u[h+22>>1]=g;g=g+F|0;u[h+24>>1]=g;g=g+p|0;u[h+26>>1]=g;g=g+C|0;u[h+28>>1]=g;u[h+30>>1]=g+D;f:{if(!c){break f}if((c|0)!=1){g=c&-2;while(1){k=x[(i<<1)+b>>1];if(k){m=(k<<1)+h|0;k=x[m>>1];u[m>>1]=k+1;u[(k<<1)+f>>1]=i}m=i|1;k=x[(m<<1)+b>>1];if(k){q=(k<<1)+h|0;k=x[q>>1];u[q>>1]=k+1;u[(k<<1)+f>>1]=m}i=i+2|0;g=g-2|0;if(g){continue}break}}if(!(c&1)){break f}c=x[(i<<1)+b>>1];if(!c){break f}g=(c<<1)+h|0;c=x[g>>1];u[g>>1]=c+1;u[(c<<1)+f>>1]=i}k=y?l:r;z=20;E=0;m=f;n=m;F=0;g:{h:{switch(a|0){case 1:i=1;if(k>>>0>9){break a}z=257;n=875696;m=875632;F=1;break g;case 0:break g;default:break h}}E=(a|0)==2;z=0;n=875824;m=875760;if((a|0)!=2){break g}i=1;if(k>>>0>9){break a}}s=1<>2];B=0;c=k;r=0;y=0;a=-1;while(1){q=1<>1];g=0;j:{if(c+1>>>0>>0){break j}if(c>>>0>>0){c=0;g=96;break j}i=c-z<<1;c=x[i+m>>1];g=w[i+n|0]}D=y>>>r|0;G=-1<>1]=c;t[p+1|0]=o;t[p|0]=g;if(i){continue}break}g=1<>>1|0;if(c&y){continue}break}g=(h+32|0)+(l<<1)|0;i=x[g>>1]-1|0;u[g>>1]=i;y=c?c+(c-1&y)|0:0;B=B+1|0;if(!(i&65535)){if((j|0)==(l|0)){break i}l=x[(x[(B<<1)+f>>1]<<1)+b>>1]}if(l>>>0<=k>>>0){continue}g=y&C;if((g|0)==(a|0)){continue}break}r=r?r:k;c=l-r|0;o=1<>>0>l>>>0){a=j-r|0;i=l;k:{while(1){i=o-x[(h+32|0)+(i<<1)>>1]|0;if((i|0)<1){break k}o=i<<1;c=c+1|0;i=r+c|0;if(j>>>0>i>>>0){continue}break}c=a}o=1<>>0>852&F|s>>>0>592&E){break a}i=v[d>>2];a=i+(g<<2)|0;t[a+1|0]=k;t[a|0]=c;A=(q<<2)+A|0;u[a+2>>1]=A-i>>>2;a=g;continue}break}if(y){a=(y<<2)+A|0;u[a+2>>1]=0;t[a+1|0]=o;t[a|0]=64}v[d>>2]=v[d>>2]+(s<<2)}v[e>>2]=k;i=0}return i}function $Oa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=Qb-32|0;Qb=e;a:{if(t[a+23|0]>=0){v[e+24>>2]=v[a+20>>2];f=v[a+16>>2];v[e+16>>2]=v[a+12>>2];v[e+20>>2]=f;break a}Ke(e+16|0,v[a+12>>2],v[a+16>>2])}f=w[c+11|0];g=f<<24>>24<0;b:{c:{d:{e:{i=g?v[c+4>>2]:f;if(!i){break e}h=w[e+27|0];f=h<<24>>24<0;h=f?v[e+20>>2]:h;if((i|0)>(h|0)){break e}f=f?v[e+16>>2]:e+16|0;j=f+(h<<2)|0;k=g?v[c>>2]:c;m=v[k>>2];g=f;while(1){h=h-i|0;l=h+1|0;if(l>>>0>>0){break e}g=sf(g,m,l);if(!g){break e}if(od(g,k,i)){g=g+4|0;h=j-g>>2;if((i|0)<=(h|0)){continue}break e}break}if((g|0)==(j|0)|(f|0)!=(g|0)){break e}d=v[c+4>>2];c=w[c+11|0];v[299999]=0;f=e+16|0;ca(2654,e|0,f|0,(c<<24>>24<0?d:c)|0,-1,f|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){if(t[e+27|0]<=-1){dc(v[e+16>>2])}v[e+24>>2]=v[e+8>>2];c=v[e+4>>2];v[e+16>>2]=v[e>>2];v[e+20>>2]=c;break d}b=P()|0;O()|0;break b}if(!d){break d}v[299999]=0;V(2655,e|0,e+16|0);c=v[299999];v[299999]=0;if((c|0)==1){break c}if(t[e+27|0]<=-1){dc(v[e+16>>2])}v[e+24>>2]=v[e+8>>2];c=v[e+4>>2];v[e+16>>2]=v[e>>2];v[e+20>>2]=c}v[e>>2]=0;v[e+4>>2]=0;c=t[a+11|0];d=v[a>>2];f=v[a+4>>2];v[299999]=0;g=d;d=(c|0)<0;U(2657,(d?g:a)|0,(d?f:c&255)|0,e|0);c=v[299999];v[299999]=0;f:{if((c|0)!=1){d=v[b>>2];c=v[e+4>>2]+2|0;t[d|0]=c;t[d+1|0]=c>>>8;t[d+2|0]=c>>>16;t[d+3|0]=c>>>24;d=v[b>>2]+4|0;v[b>>2]=d;f=d;d=v[e>>2];gc(f,d,c);v[b>>2]=c+v[b>>2];if(d){dc(d)}v[299999]=0;v[e>>2]=0;v[e+4>>2]=0;c=t[e+27|0];d=(c|0)<0;U(2657,(d?v[e+16>>2]:e+16|0)|0,(d?v[e+20>>2]:c&255)|0,e|0);c=v[299999];v[299999]=0;if((c|0)==1){break f}d=v[b>>2];c=v[e+4>>2]+2|0;t[d|0]=c;t[d+1|0]=c>>>8;t[d+2|0]=c>>>16;t[d+3|0]=c>>>24;d=v[b>>2]+4|0;v[b>>2]=d;f=d;d=v[e>>2];gc(f,d,c);c=c+v[b>>2]|0;v[b>>2]=c;if(d){dc(d);c=v[b>>2]}d=v[a+24>>2];t[c|0]=d;t[c+1|0]=d>>>8;t[c+2|0]=d>>>16;t[c+3|0]=d>>>24;c=v[b>>2];v[b>>2]=c+4;d=v[a+44>>2];t[c+4|0]=d;t[c+5|0]=d>>>8;t[c+6|0]=d>>>16;t[c+7|0]=d>>>24;c=v[b>>2];v[b>>2]=c+4;d=v[a+40>>2];t[c+4|0]=d;t[c+5|0]=d>>>8;t[c+6|0]=d>>>16;t[c+7|0]=d>>>24;c=v[b>>2];v[b>>2]=c+4;d=v[a+48>>2];t[c+4|0]=d;t[c+5|0]=d>>>8;t[c+6|0]=d>>>16;t[c+7|0]=d>>>24;c=v[b>>2];v[b>>2]=c+4;t[c+4|0]=10;t[c+5|0]=0;t[c+6|0]=0;t[c+7|0]=0;c=v[b>>2];v[b>>2]=c+4;d=w[a+60|0]|w[a+61|0]<<8;t[c+12|0]=d;t[c+13|0]=d>>>8;d=w[a+56|0]|w[a+57|0]<<8|(w[a+58|0]<<16|w[a+59|0]<<24);f=w[a+52|0]|w[a+53|0]<<8|(w[a+54|0]<<16|w[a+55|0]<<24);t[c+4|0]=f;t[c+5|0]=f>>>8;t[c+6|0]=f>>>16;t[c+7|0]=f>>>24;t[c+8|0]=d;t[c+9|0]=d>>>8;t[c+10|0]=d>>>16;t[c+11|0]=d>>>24;c=v[b>>2];v[b>>2]=c+10;d=v[a+64>>2];t[c+10|0]=d;t[c+11|0]=d>>>8;t[c+12|0]=d>>>16;t[c+13|0]=d>>>24;c=v[b>>2];v[b>>2]=c+4;d=v[a+68>>2];t[c+4|0]=d;t[c+5|0]=d>>>8;t[c+6|0]=d>>>16;t[c+7|0]=d>>>24;c=v[b>>2];v[b>>2]=c+4;d=v[a+72>>2];t[c+4|0]=d;t[c+5|0]=d>>>8;t[c+6|0]=d>>>16;t[c+7|0]=d>>>24;c=v[b>>2];v[b>>2]=c+4;d=v[a+76>>2];t[c+4|0]=d;t[c+5|0]=d>>>8;t[c+6|0]=d>>>16;t[c+7|0]=d>>>24;c=v[b>>2];v[b>>2]=c+4;d=v[a+80>>2];t[c+4|0]=d;t[c+5|0]=d>>>8;t[c+6|0]=d>>>16;t[c+7|0]=d>>>24;c=v[b>>2];v[b>>2]=c+4;d=v[a+84>>2];t[c+4|0]=d;t[c+5|0]=d>>>8;t[c+6|0]=d>>>16;t[c+7|0]=d>>>24;c=v[b>>2];v[b>>2]=c+4;d=x[a+88>>1];t[c+4|0]=d;t[c+5|0]=d>>>8;c=v[b>>2];v[b>>2]=c+2;d=x[a+90>>1];t[c+2|0]=d;t[c+3|0]=d>>>8;c=v[b>>2];v[b>>2]=c+2;d=x[a+92>>1];t[c+2|0]=d;t[c+3|0]=d>>>8;c=v[b>>2];v[b>>2]=c+2;d=v[a+96>>2];t[c+2|0]=d;t[c+3|0]=d>>>8;c=v[b>>2];v[b>>2]=c+2;d=x[a+100>>1];t[c+2|0]=d;t[c+3|0]=d>>>8;c=v[b>>2];v[b>>2]=c+2;d=x[a+102>>1];t[c+2|0]=d;t[c+3|0]=d>>>8;c=v[b>>2];v[b>>2]=c+2;d=x[a+104>>1];t[c+2|0]=d;t[c+3|0]=d>>>8;c=v[b>>2];v[b>>2]=c+2;d=x[a+106>>1];t[c+2|0]=d;t[c+3|0]=d>>>8;c=v[b>>2];v[b>>2]=c+2;d=x[a+108>>1];t[c+2|0]=d;t[c+3|0]=d>>>8;c=v[b>>2];v[b>>2]=c+2;a=x[a+110>>1];t[c+2|0]=a;t[c+3|0]=a>>>8;v[b>>2]=v[b>>2]+2;if(t[e+27|0]<=-1){dc(v[e+16>>2])}Qb=e+32|0;return}b=P()|0;O()|0;a=v[e>>2];if(!a){break b}dc(a);break b}b=P()|0;O()|0;a=v[e>>2];if(!a){break b}dc(a);break b}b=P()|0;O()|0}if(t[e+27|0]<=-1){dc(v[e+16>>2])}T(b|0);L()}function tU(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=Qb-32|0;Qb=e;v[e+28>>2]=0;b=v[v[a+36>>2]+16>>2];a:{if(w[b|0]!=38){break a}if(w[b+1|0]==35){c=w[b+2|0];b=FU(a);if(!b){break a}if(v[a+256>>2]!=1){if((b|0)<=255){t[e+19|0]=0;t[e+18|0]=b;b=v[a>>2];if(!b){break a}b=v[b+68>>2];if(v[a+212>>2]|!b){break a}Ub[b|0](v[a+4>>2],e+18|0,1);break a}v[e>>2]=b;Ai(e+18|0,10,(c&223)==88?309261:292322,e);b=v[a>>2];if(!b){break a}b=v[b+64>>2];if(v[a+212>>2]|!b){break a}Ub[b|0](v[a+4>>2],e+18|0);break a}c=e+18|0;b=li(c,b);t[b+c|0]=0;c=v[a>>2];if(!c){break a}c=v[c+68>>2];if(v[a+212>>2]|!c){break a}Ub[c|0](v[a+4>>2],e+18|0,b);break a}d=zU(a);if(!d|!v[a+12>>2]){break a}b:{if(v[d+8>>2]){b=v[d+48>>2];if((b|0)!=6){break b}}b=v[d+40>>2];if(!b){break a}c=v[a>>2];if(!c){break a}c=v[c+68>>2];if(v[a+212>>2]|!c){break a}Ub[c|0](v[a+4>>2],b,kl(b));break a}c:{d:{f=v[d+72>>2];if(v[d+12>>2]|!(w[a+360|0]&2)?f:0){break d}e:{if((b|0)==2){if(!(w[a+360|0]&18)){break d}b=v[a+248>>2]+1|0;v[a+248>>2]=b;c=v[a+440>>2];g=v[a+4>>2];b=sU(v[a+8>>2],a,v[a>>2],(a|0)==(g|0)?0:g,b,v[d+64>>2],v[d+52>>2],e+28|0);v[a+248>>2]=v[a+248>>2]-1;g=a+440|0;break e}g=a+440|0;c=v[a+440>>2];if((b|0)==1){b=v[a+4>>2];v[a+248>>2]=v[a+248>>2]+1;b=rU(a,v[d+40>>2],(a|0)==(b|0)?0:b,e+28|0);v[a+248>>2]=v[a+248>>2]-1;break e}Wr(a,1,353140,0);b=88}v[d+72>>2]=(v[g>>2]-c<<1)+2;c=v[d+40>>2];f:{if(!c){break f}if(!uo(c,60)){break f}v[d+72>>2]=v[d+72>>2]|1}if((b|0)==89){te(a,89,0);hl(v[e+28>>2]);break a}if(oj(a,0,d,0)){hl(v[e+28>>2]);break a}c=v[e+28>>2];g:{if(!(!c|b)){if(!(v[d+12>>2]|v[d+48>>2]-1>>>0>1)){v[d+12>>2]=c;if(v[a+16>>2]){if(!(!(v[c+24>>2]?0:v[c+4>>2]==3)&v[a+436>>2]!=5)){v[c+20>>2]=d;v[e+28>>2]=0;v[d+68>>2]=1;break g}v[d+68>>2]=0;g=v[a+8>>2];h=v[a+52>>2];while(1){b=c;v[b+32>>2]=g;v[b+20>>2]=h;c=v[b+24>>2];if(c){continue}break}v[d+16>>2]=b;break g}v[d+68>>2]=1;v[c+20>>2]=d;gl(c,v[d+32>>2]);while(1){c=v[e+28>>2];b=v[c+24>>2];if(b){v[e+28>>2]=b;v[b+20>>2]=d;gl(b,v[d+32>>2]);continue}break}v[d+16>>2]=c;v[e+28>>2]=b;break g}hl(c);v[e+28>>2]=0;break g}if(!(!b|(b|0)==27)){hf(a,26,352203,v[d+8>>2]);oj(a,0,d,0);break g}if(!c){break g}hl(c);v[e+28>>2]=0}if(v[d+72>>2]){break c}v[d+72>>2]=2;break c}if((f|0)==1){break c}v[a+440>>2]=v[a+440>>2]+((f|0)/2|0)}if(!v[d+12>>2]){h:{if(!f){break h}b=v[a+4>>2];b=(a|0)==(b|0)?0:b;i:{j:{k:{switch(v[d+48>>2]-1|0){case 1:c=v[a+248>>2]+1|0;v[a+248>>2]=c;c=sU(v[a+8>>2],a,v[a>>2],b,c,v[d+64>>2],v[d+52>>2],0);b=a+248|0;break j;case 0:break k;default:break i}}v[a+248>>2]=v[a+248>>2]+1;c=rU(a,v[d+40>>2],b,0);b=a+248|0}v[b>>2]=v[b>>2]-1;if((c|0)!=89){break h}te(a,89,0);break a}Wr(a,1,353140,0)}b=v[a>>2];if(!b){break a}b=v[b+64>>2];if(v[a+212>>2]|(v[a+16>>2]|!b)){break a}Ub[b|0](v[a+4>>2],v[d+8>>2]);break a}l:{b=v[a>>2];if(!b){break l}b=v[b+64>>2];if(v[a+212>>2]|(v[a+16>>2]|!b)){break l}Ub[b|0](v[a+4>>2],v[d+8>>2]);break a}if(!v[a+16>>2]|!v[a+52>>2]){break a}m:{n:{o:{p:{q:{if(!v[e+28>>2]){if(!v[d+68>>2]|v[a+436>>2]==5){break q}break o}if(v[a+436>>2]!=5){break p}}b=(v[d+44>>2]+v[a+468>>2]|0)+5|0;v[a+468>>2]=b;if(oj(a,0,d,b)){break a}b=v[d+12>>2];if(!b){break m}while(1){c=$U(b,v[a+8>>2]);if(c){if(!v[c>>2]){v[c>>2]=v[b>>2]}c=$f(v[a+52>>2],c)}else{c=0}if(v[d+16>>2]!=(b|0)){b=v[b+24>>2];if(!b){break m}continue}break}if(!c|v[a+436>>2]!=5|(v[c+12>>2]|v[c+4>>2]!=1)){break m}u[c+58>>1]=1;break m}if(v[a+40>>2]<1){break n}}b=(v[d+44>>2]+v[a+468>>2]|0)+5|0;v[a+468>>2]=b;if(oj(a,0,d,b)){break a}g=v[d+16>>2];b=v[d+12>>2];v[d+12>>2]=0;v[d+16>>2]=0;while(1){if(b){v[b+20>>2]=0;c=v[b+24>>2];v[b+24>>2]=0;f=$U(b,v[a+8>>2]);if(f){if(!v[f>>2]){v[f>>2]=v[b>>2]}$f(d,f);$f(v[a+52>>2],b)}f=(b|0)!=(g|0);b=c;if(f){continue}}break}if(v[d+68>>2]){break m}v[d+68>>2]=1;break m}c=Rd(v[a+296>>2],225168,-1);b=v[d+12>>2];if(v[b+4>>2]==3){v[b+8>>2]=c}d=v[d+16>>2];if(!((d|0)==(b|0)|v[d+4>>2]!=3)){v[d+8>>2]=c}mV(v[a+52>>2],b)}v[a+260>>2]=0;v[a+264>>2]=0}Qb=e+32|0}function bpa(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;g=Qb-96|0;Qb=g;v[g+92>>2]=0;v[g+80>>2]=0;h=v[282402];v[g+84>>2]=h;a:{b:{c:{d:{e:{f:{g:{switch(v[a+8>>2]-1|0){case 0:v[g>>2]=v[a+20>>2];v[299999]=0;f=Y(4635,g+80|0,292676,g|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break b}f=v[f>>2];break f;case 1:f=v[a+24>>2];if(f){j=v[f+8>>2]}i=v[(f?f+12|0:1129608)>>2];v[299999]=0;f=Q(4340,g+72|0,346080)|0;h=v[299999];v[299999]=0;if((h|0)==1){break c}v[299999]=0;Q(4535,g+80|0,f|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break d}ec(f);h=w[i|0];h:{if(!h|(j|0)<1){break h}while(1){f=0;k=h;i:{if(h>>>0<32){break i}while(1){if((h|0)==34|(h|0)==92|(h|0)==127){break i}f=f+1|0;if((j|0)==(f|0)){f=j;break i}h=w[f+i|0];if(h>>>0>=32){continue}break}}j:{if(f){v[299999]=0;h=Y(4605,g- -64|0,i|0,f|0)|0;k=v[299999];v[299999]=0;k:{l:{if((k|0)!=1){v[299999]=0;U(4547,g+72|0,g+80|0,h|0);k=v[299999];v[299999]=0;if((k|0)==1){break l}v[299999]=0;Q(4535,g+80|0,g+72|0)|0;k=v[299999];v[299999]=0;if((k|0)==1){break k}ec(g+72|0);ec(h);j=j-f|0;i=f+i|0;break j}i=P()|0;O()|0;break a}i=P()|0;O()|0;ec(h);break a}i=P()|0;O()|0;ec(g+72|0);ec(h);break a}v[g+16>>2]=k;zd(g+72|0,244473,g+16|0);f=w[i|0];if((f|0)==34){t[g+73|0]=34;f=w[i|0]}if((f&255)==92){t[g+73|0]=92;f=w[i|0]}if((f&255)==9){t[g+73|0]=116;f=w[i|0]}if((f&255)==10){t[g+73|0]=110;f=w[i|0]}if((f&255)==13){t[g+73|0]=114;f=w[i|0]}if((f&255)==8){t[g+73|0]=98;f=w[i|0]}m:{n:{if((f&255)!=12){if((w[g+73|0]&252)==48){break m}break n}t[g+73|0]=102}t[g+74|0]=0}v[299999]=0;f=Q(4340,g+56|0,g+72|0)|0;h=v[299999];v[299999]=0;o:{p:{if((h|0)!=1){v[299999]=0;U(4547,g- -64|0,g+80|0,f|0);h=v[299999];v[299999]=0;if((h|0)==1){break p}v[299999]=0;Q(4535,g+80|0,g- -64|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break o}ec(g- -64|0);ec(f);j=j-1|0;i=i+1|0;break j}i=P()|0;O()|0;break a}i=P()|0;O()|0;ec(f);break a}i=P()|0;O()|0;ec(g- -64|0);ec(f);break a}h=w[i|0];if(!h){break h}if((j|0)>0){continue}break}}v[299999]=0;f=Q(4340,g- -64|0,346080)|0;h=v[299999];v[299999]=0;q:{r:{if((h|0)!=1){v[299999]=0;U(4547,g+72|0,g+80|0,f|0);h=v[299999];v[299999]=0;if((h|0)==1){break r}v[299999]=0;Q(4535,g+80|0,g+72|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break q}ec(g+72|0);ec(f);f=v[g+80>>2];break f}i=P()|0;O()|0;break a}i=P()|0;O()|0;ec(f);break a}i=P()|0;O()|0;ec(g+72|0);ec(f);break a;case 3:f=v[a+12>>2];v[g+48>>2]=v[(f?f+12|0:1129608)>>2];v[299999]=0;f=Y(4635,g+80|0,237152,g+48|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break b}f=v[f>>2];break f;case 2:break g;default:break e}}f=v[a+32>>2];v[g+32>>2]=v[(f?f+12|0:1129608)>>2];v[299999]=0;f=Y(4635,g+80|0,237306,g+32|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break b}f=v[f>>2]}h=v[(f?f+12|0:1129608)>>2]}e=e?e:g+92|0;s:{t:{u:{if(c){break u}if(Bc(h)+v[e>>2]>>>0<71){break u}t[g+72|0]=10;j=v[v[b>>2]+12>>2];f=0;v[299999]=0;Y(j|0,b|0,g+72|0,1)|0;j=v[299999];v[299999]=0;if((j|0)==1){break t}t[g+72|0]=32;if((d|0)>0){while(1){j=v[v[b>>2]+12>>2];v[299999]=0;Y(j|0,b|0,g+72|0,1)|0;j=v[299999];v[299999]=0;if((j|0)==1){break s}f=f+1|0;if((f|0)!=(d|0)){continue}break}}v[e>>2]=d}d=Bc(h);f=v[v[b>>2]+12>>2];v[299999]=0;Y(f|0,b|0,h|0,d|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break b}t[g+72|0]=32;d=v[v[b>>2]+12>>2];v[299999]=0;Y(d|0,b|0,g+72|0,1)|0;d=v[299999];v[299999]=0;if((d|0)!=1){d=(Bc(h)+v[e>>2]|0)+1|0;v[e>>2]=d;if(v[a+8>>2]==4){h=Bc(h);v:{w:{f=v[a+48>>2];if(f){a=d-h|0;while(1){d=v[f+8>>2];v[299999]=0;fa(4646,d|0,b|0,c|0,a|0,e|0);d=v[299999];v[299999]=0;if((d|0)==1){break w}f=v[f>>2];if(f){continue}break}}a=v[v[b>>2]+12>>2];v[299999]=0;Y(a|0,b|0,346743,2)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break v}i=P()|0;O()|0;break a}i=P()|0;O()|0;break a}v[e>>2]=v[e>>2]+2}ec(g+80|0);Qb=g+96|0;return}i=P()|0;O()|0;break a}i=P()|0;O()|0;break a}i=P()|0;O()|0;break a}i=P()|0;O()|0;ec(f);break a}i=P()|0;O()|0;break a}i=P()|0;O()|0}ec(g+80|0);T(i|0);L()}function Tr(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=Qb-16|0;Qb=i;e=v[a+36>>2];d=v[e+16>>2];a:{if(w[d|0]!=60|w[d+1|0]!=63){break a}k=v[a+172>>2];v[a+172>>2]=2;v[a+200>>2]=v[a+200>>2]+2;v[e+16>>2]=d+2;v[e+32>>2]=v[e+32>>2]+2;f=e;d=w[d+2|0];if((d|0)==37){wd(a);f=v[a+36>>2];d=w[v[f+16>>2]]}b:{if(d&255){break b}if((cd(f)|0)>0){break b}vd(a)}c:{if(v[a+292>>2]){break c}f=v[a+36>>2];d=v[f+16>>2];if((d-v[f+12>>2]|0)<501|(v[f+20>>2]-d|0)>499){break c}bh(f);d=v[a+36>>2];if(w[v[d+16>>2]]){break c}if((cd(d)|0)>0){break c}vd(a)}g=Qb+-64|0;Qb=g;b=a;h=nh(b);d:{if(!h){break d}e:{f:{f=w[h|0];g:{if((f|32)!=120){break g}d=w[h+1|0];if((d|32)!=109){break g}a=w[h+2|0];if((a|32)!=108){break g}c=w[h+3|0];h:{if(!((f|0)!=120|(d|0)!=109|(a|0)!=108)){if(c){break h}Nd(b,64,348077);break d}if(!c){break f}}if(ag(h,233513)){break d}if(ag(h,260695)){break d}$l(b,64,356204,0)}if(!uo(h,58)){break d}if(!b){break e}if(v[b+172>>2]==-1?v[b+212>>2]:0){break d}v[b+84>>2]=205;v[g+20>>2]=0;v[g+24>>2]=0;v[g+16>>2]=h;oc(0,0,0,b,0,3,205,2,h,0,0,0,355974,g+16|0);v[b+356>>2]=0;break d}if(!b){v[g+32>>2]=280433;oc(0,0,0,0,0,1,64,3,0,0,0,0,350078,g+32|0);break d}if(v[b+172>>2]==-1?v[b+212>>2]:0){break d}v[b+84>>2]=64;v[g+48>>2]=280433;oc(0,0,0,b,0,1,64,3,0,0,0,0,350078,g+48|0);v[b+12>>2]=0;if(v[b+288>>2]){break d}v[b+212>>2]=1;break d}v[g+4>>2]=0;v[g+8>>2]=0;v[g>>2]=h;oc(0,0,0,0,0,3,205,2,h,0,0,0,355974,g)}Qb=g- -64|0;i:{j:{k:{if(h){a=v[b+36>>2];c=v[a+16>>2];if(!(w[c|0]!=63|w[c+1|0]!=62)){if((a|0)!=(e|0)){Nd(b,90,347528);e=v[b+36>>2];c=v[e+16>>2]}v[b+200>>2]=v[b+200>>2]+2;v[e+16>>2]=c+2;v[e+32>>2]=v[e+32>>2]+2;a=w[c+2|0];if((a|0)==37){wd(b);e=v[b+36>>2];a=w[v[e+16>>2]]}l:{if(a&255){break l}if((cd(e)|0)>0){break l}vd(b)}a=v[b>>2];m:{if(v[b+212>>2]|!a){break m}a=v[a+76>>2];if(!a){break m}Ub[a|0](v[b+4>>2],h,0)}if(v[b+172>>2]!=-1){break i}break a}d=Ub[v[259707]](100)|0;if(!d){Qd(b,0);break i}a=w[v[v[b+36>>2]+16>>2]]-9|0;if(!(1<>>0<=23:0)){hf(b,65,353318,h)}Bd(b);g=100;c=bf(b,i+12|0);f=0;while(1){n:{o:{if((c|0)<=255){if((c|0)>31){break o}if(!(1<>>0>13){break k}break n}if((c|0)<55296|c-65536>>>0<1048576|c-57344>>>0<8190){break n}break k}if((c|0)!=63){break n}if(w[v[v[b+36>>2]+16>>2]+1|0]==62){break k}}p:{if(f+5>>>0>>0){a=d;break p}g=g<<1;a=Ub[v[259709]](d,g)|0;if(a){break p}Qd(b,0);Ub[v[259708]](d);break i}d=a;q:{if((j|0)<50){j=j+1|0;break q}r:{if(v[b+292>>2]){break r}a=v[b+36>>2];if((v[a+20>>2]-v[a+16>>2]|0)>249){break r}nd(b)}if(v[b+172>>2]==-1){Ub[v[259708]](d);break a}j=0;if(w[b+362|0]&8|f>>>0<10000001){break q}hf(b,47,287662,h);Ub[v[259708]](d);break i}s:{if(v[i+12>>2]==1){t[d+f|0]=c;f=f+1|0;break s}f=li(d+f|0,c)+f|0}c=v[b+36>>2];a=v[c+16>>2];t:{if(w[a|0]==10){v[c+32>>2]=1;v[c+28>>2]=v[c+28>>2]+1;break t}v[c+32>>2]=v[c+32>>2]+1}a=a+v[i+12>>2]|0;v[c+16>>2]=a;if(w[a|0]==37){wd(b)}c=bf(b,i+12|0);if(c){continue}u:{if(v[b+292>>2]){break u}c=v[b+36>>2];a=v[c+16>>2];v:{if((a-v[c+12>>2]|0)<501|(v[c+20>>2]-a|0)>499){break v}bh(c);a=v[b+36>>2];if(w[v[a+16>>2]]){break v}if((cd(a)|0)>0){break v}vd(b)}if(v[b+292>>2]){break u}a=v[b+36>>2];if((v[a+20>>2]-v[a+16>>2]|0)>249){break u}nd(b)}c=bf(b,i+12|0);continue}}if(v[b+172>>2]==-1?v[b+212>>2]:0){break a}v[b+84>>2]=46;v[i>>2]=280292;oc(0,0,0,b,0,1,46,3,0,0,0,0,350078,i);v[b+12>>2]=0;if(v[b+288>>2]){break j}v[b+212>>2]=1;break j}if(!(w[b+362|0]&8|f>>>0<10000001)){hf(b,47,287662,h);Ub[v[259708]](d);break i}t[d+f|0]=0;w:{if((c|0)!=63){hf(b,47,355738,h);break w}if(v[b+36>>2]!=(e|0)){Nd(b,65,347528);e=v[b+36>>2]}v[b+200>>2]=v[b+200>>2]+2;a=v[e+16>>2];v[e+16>>2]=a+2;v[e+32>>2]=v[e+32>>2]+2;a=w[a+2|0];if((a|0)==37){wd(b);e=v[b+36>>2];a=w[v[e+16>>2]]}x:{if(a&255){break x}if((cd(e)|0)>0){break x}vd(b)}a=v[b>>2];if(v[b+212>>2]|!a){break w}a=v[a+76>>2];if(!a){break w}Ub[a|0](v[b+4>>2],h,d)}Ub[v[259708]](d)}if(v[b+172>>2]==-1){break a}}v[b+172>>2]=k}Qb=i+16|0}function t$(a,b){var 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,u=0,x=0;d=B(b,1348)+a|0;k=v[d- -64>>2];o=v[d+56>>2];r=k+B(o,44)|0;n=1;p=1;a:{if((b|0)==1){if((o|0)<1){break a}p=w[v[(v[v[v[a+2748>>2]>>2]+8>>2]<<2)+369232>>2]+12|0];d=k;while(1){g=w[d+12|0];b:{if(g&4){break b}c:{d:{e:{f=v[d+20>>2];c=v[d+24>>2];f:{if(!f|!c){break f}e=1;if(!v[c+20>>2]){break e}h=w[c+12|0];if(h&8){v[c+20>>2]=0;t[c+12|0]=h&247;f=v[d+20>>2];break f}if(!(g&8)){break e}f=0;v[d+20>>2]=0;t[d+12|0]=g&247}e=(f|0)!=0;if(!c|f){break e}f=v[c+20>>2];if(!f){break b}f=v[f+8>>2];v[c+8>>2]=f;g=w[c+12|0]|4;t[c+12|0]=g;e=c;c=d;break d}if(!e){break b}f=v[f+8>>2];v[d+8>>2]=f;g=w[d+12|0]|4;t[d+12|0]=g;if(!c){break c}e=d;if(v[c+20>>2]){break c}}e=v[e+4>>2];h=v[c+4>>2]-e|0;i=f-e|0;e=w[c+12|0];g=Dv(a,1,h,i,g&255,e);t[c+12|0]=e|4;v[c+8>>2]=f+g}j=j?j:d}d=d+44|0;if(r>>>0>d>>>0){continue}break}p=!p}if((o|0)>=1){d=k;while(1){n=w[d+12|0];g:{if(n&4){break g}f=v[d+24>>2];if(!f){q=q+1|0;break g}if(v[f+20>>2]){c=v[f+4>>2];e=v[f+8>>2];c=Dv(a,b,v[d+4>>2]-c|0,e-c|0,w[f+12|0],n);t[d+12|0]=n|4;v[d+8>>2]=c+e;break g}if(!j){c=v[d+4>>2];g=v[f+4>>2]-c|0;j=Dv(a,b,g,0,n,w[f+12|0]);h:{if((j|0)<=95){e=c+(g>>1)|0;m=e+32&-64;l=(j|0)<65;h=m+(l?-32:-38)|0;s=e-h|0;i=s>>31;l=m|(l?32:26);m=e-l|0;e=m>>31;e=((j|0)/-2|0)+((i^i+s)>>>0<(e^e+m)>>>0?h:l)|0;v[d+8>>2]=e;v[f+8>>2]=e+j;e=v[d+8>>2];break h}e=c+32&-64;v[d+8>>2]=e}j=n|4;t[d+12|0]=j;u=f,x=Dv(a,b,g,e-c|0,j,w[f+12|0])+e|0,v[u+8>>2]=x;j=d;break g}e=v[j+4>>2];h=v[j+8>>2];i=v[d+4>>2];g=v[f+4>>2]-i|0;l=w[f+12|0];c=Dv(a,b,g,0,n,l);i:{if(l&4){g=v[f+8>>2]-c|0;c=d;break i}h=h+(i-e|0)|0;e=h+(g>>1)|0;j:{if((c|0)<=95){i=e+32&-64;h=(c|0)<65;l=i+(h?-32:-38)|0;m=e-l|0;g=m>>31;h=i|(h?32:26);i=e-h|0;e=i>>31;e=(g^g+m)>>>0<(e^e+i)>>>0?l:h;c=(c|0)/2|0;v[d+8>>2]=e-c;g=c+e|0;break j}i=h+32|0;l=i&-64;m=c>>>1|0;s=(l+m|0)-e|0;h=s>>31;g=(g+i&-64)-c|0;i=g+(m-e|0)|0;e=i>>31;e=(h^h+s)>>>0<(e^e+i)>>>0?l:g;v[d+8>>2]=e;g=c+e|0}c=f}v[c+8>>2]=g;t[d+12|0]=n|4;t[f+12|0]=w[f+12|0]|4;if(d>>>0<=k>>>0){break g}c=v[d-36>>2];e=v[d+8>>2];k:{if(!p){if((c|0)<(e|0)){break k}break g}if((c|0)<=(e|0)){break g}}e=v[f+8>>2]-c|0;f=e>>31;if((f^e+f)>>>0<17){break g}v[d+8>>2]=c}d=d+44|0;if(r>>>0>d>>>0){continue}break}n=(o|0)<1}l:{if(b){break l}d=4;f=2;c=k;m:{switch(o-6|0){case 6:c=k+44|0;d=9;f=5;break;case 0:break m;default:break l}}f=B(f,44)+k|0;a=B(d,44)+k|0;e=(v[f+4>>2]<<1)-(v[c+4>>2]+v[a+4>>2]|0)|0;b=e>>31;if((b^b+e)>>>0>7){break l}b=v[a+8>>2];c=(v[f+8>>2]<<1)-v[c+8>>2]|0;v[a+8>>2]=c;b=b-c|0;a=v[a+24>>2];if(a){v[a+8>>2]=v[a+8>>2]-b}if((o|0)==12){v[k+360>>2]=v[k+360>>2]-b;v[k+492>>2]=v[k+492>>2]-b}b=B(d,44)+k|0;t[b+12|0]=w[b+12|0]|4;if(!a){break l}t[a+12|0]=w[a+12|0]|4}if(!q&(j|0)!=0|n){break a}d=k;while(1){q=w[d+12|0];n:{if(q&4){break n}o:{p:{q:{a=v[d+28>>2];if(!a){break q}c=v[a+4>>2];f=v[d+4>>2];e=c-f|0;b=e>>31;if((b^b+e)>>>0>79){break q}c=f+(v[a+8>>2]-c|0)|0;break p}c=d;if(!j){c=v[d+4>>2]+32&-64;v[d+8>>2]=c;j=d;break o}while(1){a=c;c=c-44|0;e=k>>>0>c>>>0;if(!(w[a-32|0]&4?1:e)){continue}break}f=d;r:{while(1){b=f;f=f+44|0;g=r>>>0<=f>>>0;if(g){break r}if(!(w[b+56|0]&4)){continue}break}if(d>>>0<=c>>>0|e|(d>>>0>=f>>>0|g)){break r}c=v[a-36>>2];f=v[b+48>>2];a=v[a-40>>2];if((f|0)==(a|0)){break p}c=jd(v[d+4>>2]-a|0,v[b+52>>2]-c|0,f-a|0)+c|0;v[d+8>>2]=c;q=w[d+12|0];break o}c=v[j+8>>2]+((v[d+4>>2]-v[j+4>>2]|0)+16&-32)|0}v[d+8>>2]=c}t[d+12|0]=q|4;s:{if(d>>>0<=k>>>0){break s}a=v[d-36>>2];t:{if(!p){if((a|0)<(c|0)){break t}break s}if((a|0)<=(c|0)){break s}}b=v[d+24>>2];if(!b){break s}f=v[b+8>>2]-a|0;b=f>>31;if((b^b+f)>>>0<17){break s}v[d+8>>2]=a;c=a}if(!(w[d+56|0]&4)|d+44>>>0>=r>>>0){break n}a=v[d+52>>2];u:{if(!p){if((a|0)>(c|0)){break u}break n}if((a|0)>=(c|0)){break n}}b=v[d+24>>2];if(!b){break n}c=v[b+8>>2]-v[d-36>>2]|0;b=c>>31;if((b^b+c)>>>0<17){break n}v[d+8>>2]=a}d=d+44|0;if(r>>>0>d>>>0){continue}break}}}function bIa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=Qb-80|0;Qb=c;d=v[a+4>>2];e=w[d+15|0];a:{if(!(e<<24>>24<0?v[d+8>>2]:e)){break a}LG(d+4|0,1);f=v[a+4>>2];d=f+4|0;if((d|0)==(b|0)){break a}g=w[b+11|0];e=g<<24>>24;if(t[f+15|0]>=0){if((e|0)>=0){e=v[b+4>>2];v[d>>2]=v[b>>2];v[d+4>>2]=e;v[d+8>>2]=v[b+8>>2];break a}Lh(d,v[b>>2],v[b+4>>2]);break a}f=d;d=(e|0)<0;wi(f,d?v[b>>2]:b,d?v[b+4>>2]:g)}e=w[b+11|0];d=e<<24>>24;b:{c:{d:{e:{f=v[b+4>>2];f:{if((d|0)<0?f:e){g:{if((d|0)>=0){v[c+56>>2]=v[b+8>>2];d=v[b+4>>2];v[c+48>>2]=v[b>>2];v[c+52>>2]=d;break g}Ke(c+48|0,v[b>>2],f)}v[299999]=0;b=Q(2725,c+48|0,885224)|0;d=v[299999];v[299999]=0;h:{i:{j:{k:{l:{m:{n:{if((d|0)!=1){v[c+72>>2]=v[b+8>>2];d=v[b+4>>2];v[c+64>>2]=v[b>>2];v[c+68>>2]=d;v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;if(t[c+59|0]<=-1){dc(v[c+48>>2])}o:{if(t[c+75|0]>=0){v[c+56>>2]=v[c+72>>2];b=v[c+68>>2];v[c+48>>2]=v[c+64>>2];v[c+52>>2]=b;break o}v[299999]=0;U(2345,c+48|0,v[c+64>>2],v[c+68>>2]);b=v[299999];v[299999]=0;if((b|0)==1){break n}}g=c+48|4;d=g;f=0;while(1){v[299999]=0;b=S(2911,c+48|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break h}if(!b){break i}v[299999]=0;U(2731,c+24|0,c- -64|0,885264);b=v[299999];v[299999]=0;if((b|0)==1){break m}v[299999]=0;f=f+1|0;V(2726,c+8|0,f|0);b=v[299999];v[299999]=0;if((b|0)==1){break l}v[299999]=0;b=w[c+19|0];e=b<<24>>24<0;b=Y(2653,c+24|0,(e?v[c+8>>2]:c+8|0)|0,(e?v[c+12>>2]:b)|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break k}h=v[b>>2];v[c+40>>2]=v[b+4>>2];e=w[b+7|0]|w[b+8|0]<<8|(w[b+9|0]<<16|w[b+10|0]<<24);t[c+43|0]=e;t[c+44|0]=e>>>8;t[c+45|0]=e>>>16;t[c+46|0]=e>>>24;v[b>>2]=0;v[b+4>>2]=0;e=w[b+11|0];v[b+8>>2]=0;if(t[c+59|0]<=-1){dc(v[c+48>>2])}v[c+48>>2]=h;b=w[c+43|0]|w[c+44|0]<<8|(w[c+45|0]<<16|w[c+46|0]<<24);t[d+3|0]=b;t[d+4|0]=b>>>8;t[d+5|0]=b>>>16;t[d+6|0]=b>>>24;v[g>>2]=v[c+40>>2];t[c+59|0]=e;if(t[c+19|0]<=-1){dc(v[c+8>>2])}if(t[c+35|0]>-1){continue}dc(v[c+24>>2]);continue}}b=P()|0;O()|0;if(t[c+59|0]>-1){break b}dc(v[c+48>>2]);T(b|0);L()}b=P()|0;O()|0;break c}b=P()|0;O()|0;break d}b=P()|0;O()|0;break j}b=P()|0;O()|0;if(t[c+19|0]>-1){break j}dc(v[c+8>>2])}if(t[c+35|0]>-1){break d}dc(v[c+24>>2]);break d}v[299999]=0;S(2903,c+48|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break e}e=v[a+4>>2];b=e+4|0;p:{if((b|0)==(c+48|0)){break p}f=w[c+59|0];d=f<<24>>24;if(t[e+15|0]>=0){if((d|0)>=0){d=v[c+52>>2];v[b>>2]=v[c+48>>2];v[b+4>>2]=d;v[b+8>>2]=v[c+56>>2];break p}v[299999]=0;Y(2544,b|0,v[c+48>>2],v[c+52>>2])|0;b=v[299999];v[299999]=0;if((b|0)!=1){break p}break e}v[299999]=0;g=b;b=(d|0)<0;Y(2545,g|0,(b?v[c+48>>2]:c+48|0)|0,(b?v[c+52>>2]:f)|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break e}}if(t[c+59|0]<=-1){dc(v[c+48>>2])}if(t[c+75|0]>-1){break f}dc(v[c+64>>2]);break f}b=P()|0;O()|0;break d}b=v[a+4>>2];q:{if(t[b+15|0]<=-1){v[b+8>>2]=0;b=v[b+4>>2];break q}t[b+15|0]=0;b=b+4|0}v[b>>2]=0}d=v[294330];r:{if(!d){break r}s:{t:{a=v[a+4>>2];e=t[a+15|0]<0?v[a+4>>2]:a+4|0;a=ve(e);if(a>>>0<1073741808){u:{v:{if(a>>>0>=2){f=a+4&-4;b=fc(f<<2);v[c+72>>2]=f|-2147483648;v[c+64>>2]=b;v[c+68>>2]=a;break v}t[c+75|0]=a;b=c- -64|0;if(!a){break u}}v[299999]=0;tc(b,e,a);e=v[299999];v[299999]=0;if((e|0)==1){break t}}v[(a<<2)+b>>2]=0;a=d+432|0;if((a|0)==(c- -64|0)){break s}e=w[c+75|0];b=e<<24>>24;w:{x:{if(t[d+443|0]>=0){if((b|0)<0){break x}b=v[c+68>>2];v[a>>2]=v[c+64>>2];v[a+4>>2]=b;v[a+8>>2]=v[c+72>>2];break s}v[299999]=0;d=a;a=(b|0)<0;Y(2545,d|0,(a?v[c+64>>2]:c- -64|0)|0,(a?v[c+68>>2]:e)|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break w}break s}v[299999]=0;Y(2544,a|0,v[c+64>>2],v[c+68>>2])|0;a=v[299999];v[299999]=0;if((a|0)!=1){break s}}b=P()|0;O()|0;if(t[c+75|0]>-1){break b}dc(v[c+64>>2]);break b}$d(c- -64|0);L()}W(0)|0;O()|0;lc();L()}if(t[c+75|0]>-1){break r}dc(v[c+64>>2])}Qb=c+80|0;return}b=P()|0;O()|0}if(t[c+59|0]>-1){break c}dc(v[c+48>>2])}if(t[c+75|0]>-1){break b}dc(v[c+64>>2]);T(b|0);L()}T(b|0);L()}function oAa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;v[a+4>>2]=b;v[a>>2]=962156;v[a+40>>2]=0;v[a+8>>2]=13;v[a>>2]=936792;v[299999]=0;b=S(1,44)|0;d=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{if((d|0)==1){break t}v[299999]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+40>>2]=-1;v[b+32>>2]=0;v[b+36>>2]=0;d=v[299999];v[299999]=0;if((d|0)==1){break s}v[a+76>>2]=b;v[299999]=0;b=S(1,8)|0;d=v[299999];v[299999]=0;if((d|0)==1){break t}v[299999]=0;Q(3695,b|0,2)|0;d=v[299999];v[299999]=0;if((d|0)==1){break r}v[a+80>>2]=b;v[299999]=0;b=S(1,8)|0;d=v[299999];v[299999]=0;if((d|0)==1){break t}v[299999]=0;Q(3695,b|0,2)|0;d=v[299999];v[299999]=0;if((d|0)==1){break q}v[a+84>>2]=b;v[299999]=0;b=S(1,8)|0;d=v[299999];v[299999]=0;if((d|0)==1){break t}v[299999]=0;Q(3695,b|0,512)|0;d=v[299999];v[299999]=0;if((d|0)==1){break p}v[a+88>>2]=b;v[299999]=0;b=S(1,8)|0;d=v[299999];v[299999]=0;if((d|0)==1){break t}v[299999]=0;Q(3695,b|0,512)|0;d=v[299999];v[299999]=0;if((d|0)==1){break o}v[a+92>>2]=b;v[299999]=0;b=S(1,8)|0;d=v[299999];v[299999]=0;if((d|0)==1){break t}v[299999]=0;Q(3695,b|0,512)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[a+96>>2]=b;v[299999]=0;b=S(1,8)|0;d=v[299999];v[299999]=0;if((d|0)==1){break t}v[299999]=0;Q(3695,b|0,512)|0;d=v[299999];v[299999]=0;if((d|0)==1){break m}v[a+100>>2]=b;v[299999]=0;b=S(1,8)|0;d=v[299999];v[299999]=0;if((d|0)==1){break t}v[299999]=0;Q(3695,b|0,512)|0;d=v[299999];v[299999]=0;if((d|0)==1){break l}v[a+104>>2]=b;v[299999]=0;b=S(1,8)|0;d=v[299999];v[299999]=0;if((d|0)==1){break t}v[299999]=0;Q(3695,b|0,512)|0;d=v[299999];v[299999]=0;if((d|0)==1){break k}v[a+108>>2]=b;v[299999]=0;b=S(1,8)|0;d=v[299999];v[299999]=0;if((d|0)==1){break t}v[299999]=0;Q(3695,b|0,512)|0;d=v[299999];v[299999]=0;if((d|0)==1){break j}v[a+112>>2]=b;v[299999]=0;b=S(1,8)|0;d=v[299999];v[299999]=0;if((d|0)==1){break t}v[299999]=0;Q(3695,b|0,512)|0;d=v[299999];v[299999]=0;if((d|0)==1){break i}v[a+116>>2]=b;v[299999]=0;b=S(1,8)|0;d=v[299999];v[299999]=0;if((d|0)==1){break t}v[299999]=0;Q(3695,b|0,512)|0;d=v[299999];v[299999]=0;if((d|0)==1){break h}v[a+120>>2]=b;v[299999]=0;b=S(1,8)|0;d=v[299999];v[299999]=0;if((d|0)==1){break t}v[299999]=0;Q(3695,b|0,512)|0;d=v[299999];v[299999]=0;if((d|0)==1){break g}v[a+124>>2]=b;v[299999]=0;b=S(1,8)|0;d=v[299999];v[299999]=0;if((d|0)==1){break t}v[299999]=0;Q(3695,b|0,512)|0;d=v[299999];v[299999]=0;if((d|0)==1){break f}v[a+128>>2]=b;v[299999]=0;b=S(1,8)|0;d=v[299999];v[299999]=0;if((d|0)==1){break t}v[299999]=0;Q(3695,b|0,512)|0;d=v[299999];v[299999]=0;if((d|0)==1){break e}v[a+132>>2]=b;v[299999]=0;b=S(1,8)|0;d=v[299999];v[299999]=0;if((d|0)==1){break t}v[299999]=0;Q(3695,b|0,512)|0;d=v[299999];v[299999]=0;if((d|0)==1){break d}v[a+136>>2]=b;v[299999]=0;b=S(1,8)|0;d=v[299999];v[299999]=0;if((d|0)==1){break t}v[299999]=0;Q(3695,b|0,2)|0;d=v[299999];v[299999]=0;if((d|0)==1){break c}v[a+140>>2]=b;v[299999]=0;b=S(1,16)|0;d=v[299999];v[299999]=0;if((d|0)==1){break t}v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[a+144>>2]=b;v[299999]=0;b=S(1,20)|0;d=v[299999];v[299999]=0;if((d|0)==1){break t}v[b>>2]=0;v[b+4>>2]=0;v[b+16>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[a+148>>2]=b;v[299999]=0;Q(3314,c|0,a+8|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break a}}a=P()|0;O()|0;break b}a=P()|0;O()|0;dc(b);break b}a=P()|0;O()|0;dc(b);break b}a=P()|0;O()|0;dc(b);break b}a=P()|0;O()|0;dc(b);break b}a=P()|0;O()|0;dc(b);break b}a=P()|0;O()|0;dc(b);break b}a=P()|0;O()|0;dc(b);break b}a=P()|0;O()|0;dc(b);break b}a=P()|0;O()|0;dc(b);break b}a=P()|0;O()|0;dc(b);break b}a=P()|0;O()|0;dc(b);break b}a=P()|0;O()|0;dc(b);break b}a=P()|0;O()|0;dc(b);break b}a=P()|0;O()|0;dc(b);break b}a=P()|0;O()|0;dc(b);break b}a=P()|0;O()|0;dc(b);break b}a=P()|0;O()|0;dc(b)}T(a|0);L()}v[a+48>>2]=0;v[a+52>>2]=0;v[a- -64>>2]=0;v[a+56>>2]=0;v[a+60>>2]=0;return a|0}function Fv(a,b){var 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,y=0,z=0,A=0,C=0,D=0;m=Qb-16|0;Qb=m;v[m+12>>2]=0;v[a+1404>>2]=0;v[a+1392>>2]=0;v[a+56>>2]=0;v[a+44>>2]=0;v[a+36>>2]=0;v[a+24>>2]=0;e=v[a>>2];j=v[a+16>>2];n=v[a+8>>2];l=v[a+12>>2];o=v[a+4>>2];d=u[b>>1];a:{b:{c:{if(d>>>0<=8){if(v[a+40>>2]){break b}v[a+40>>2]=a+2760;c=8;break c}c=v[a+32>>2];if(c>>>0>=d>>>0){break b}h=a;g=e;f=c;c=d+3&-4;k=c;d=v[a+40>>2];if((d|0)==(a+2760|0)){v[a+40>>2]=0;d=0}C=h,D=Cc(g,4,f,k,d,m+12|0),v[C+40>>2]=D;if(v[m+12>>2]){break a}}v[a+32>>2]=c}c=u[b+2>>1];d=c+2|0;d:{if(d>>>0<=96){if(v[a+28>>2]){break d}v[a+20>>2]=96;v[a+28>>2]=a+2792;break d}g=d;d=v[a+20>>2];if(g>>>0<=d>>>0){break d}h=a;g=c+11&-8;f=g;c=v[a+28>>2];if((c|0)==(a+2792|0)){v[a+28>>2]=0;c=0}C=h,D=Cc(e,40,d,f,c,m+12|0),v[C+28>>2]=D;if(v[m+12>>2]){break a}v[a+20>>2]=g;c=u[b+2>>1]}v[a+24>>2]=c;c=u[b>>1];v[a+1416>>2]=-1;v[a+68>>2]=2;v[a+36>>2]=c;if((H_(b)|0)==1){v[a+1416>>2]=1;v[a+68>>2]=-2}v[a+12>>2]=l;v[a+4>>2]=o;v[a+2752>>2]=0;v[a+2756>>2]=0;v[a+16>>2]=j;v[a+8>>2]=n;p=v[a+24>>2];if(!p){break a}h=v[a+28>>2];r=h+B(p,40)|0;e=v[b+12>>2];s=B(x[v[v[a+2748>>2]+4>>2]+68>>1],20)>>>11|0;if((p|0)>=1){d=v[b+4>>2];k=v[b+8>>2];c=h;f=u[e>>1];g=c+B(f,40)|0;e=g;while(1){u[c+2>>1]=1028;i=v[d>>2];u[c+12>>1]=i;u[c+14>>1]=v[d+4>>2];i=Ac(i,o)+n|0;v[c+4>>2]=i;v[c+16>>2]=i;i=Ac(v[d+4>>2],l)+j|0;v[c+8>>2]=i;v[c+20>>2]=i;i=v[b+4>>2]+(f<<16>>16<<3)|0;u[g+12>>1]=v[i>>2];u[g+14>>1]=v[i+4>>2];i=w[k|0]&3;u[c>>1]=i?((i|0)==2)<<1:1;z=u[c+14>>1]-u[e+14>>1]|0;i=z>>31;A=u[c+12>>1]-u[e+12>>1]|0;q=A>>31;if((i^i+z)+(q^q+A)>>>0>>0){u[e>>1]=x[e>>1]|32}v[c+36>>2]=e;v[e+32>>2]=c;e:{if((c|0)!=(g|0)){e=c;break e}y=y+1|0;if((y|0)>=u[b>>1]){e=c;g=c;break e}f=u[v[b+12>>2]+(y<<1)>>1];e=B(f,40)+h|0;g=e}k=k+1|0;d=d+8|0;c=c+40|0;if(r>>>0>c>>>0){continue}break}e=v[b+12>>2]}b=v[a+36>>2];f:{if((b|0)<1){break f}c=v[a+40>>2];g=c+(b<<2)|0;d=0;while(1){v[c>>2]=B(d<<16>>16,40)+h;d=x[e>>1]+1|0;e=e+2|0;c=c+4|0;if(g>>>0>c>>>0){continue}break}if((b|0)<=0){break f}n=v[a+40>>2];i=n+(b<<2)|0;q=(s<<1)-1|0;while(1){d=v[n>>2];c=d;while(1){g:{g=c;k=u[c+12>>1];c=v[c+36>>2];if((d|0)==(c|0)){b=x[g+14>>1];break g}b=u[g+14>>1];f=b-u[c+14>>1]|0;a=f>>31;j=k-u[c+12>>1]|0;e=j>>31;if((q|0)>((a^a+f)+(e^e+j)|0)){continue}}break}v[g+24>>2]=0;v[g+28>>2]=0;c=0;d=g;a=d;e=0;while(1){j=k<<16;f=b<<16;d=v[d+32>>2];b=u[d+14>>1];e=(b-(f>>16)|0)+e|0;f=e>>31;k=u[d+12>>1];c=(k-(j>>16)|0)+c|0;j=c>>31;f=f^e+f;j=j^c+j;h:{if(f+j>>>0>>0){u[d>>1]=x[d>>1]|16;break h}l=(d-a|0)/40|0;v[a+24>>2]=l;v[d+28>>2]=0-l;l=0-c|0;i:{if((c|0)<=(e|0)){f=c;c=(e|0)<(l|0);j=c?e:f;f=j>>31;f=f^f+j;o=c?-1:2;c=c?l:e;break i}o=1;if((e|0)>=(l|0)){break i}c=0-e|0;o=254;f=j}e=(B(f,14)|0)<(c|0)?o:4;t[a+3|0]=e;c=v[a+32>>2];if((d|0)!=(c|0)){while(1){t[c+3|0]=e;t[c+2|0]=e;c=v[c+32>>2];if((d|0)!=(c|0)){continue}break}}t[d+2|0]=e;a=(g-d|0)/40|0;v[d+24>>2]=a;c=0;v[g+28>>2]=0-a;a=d;e=0}if((d|0)!=(g|0)){continue}break}n=n+4|0;if(i>>>0>n>>>0){continue}break}}if((p|0)<=0){break a}c=h;while(1){e=x[c>>1];j:{if(e&16|w[c+2|0]!=4|w[c+3|0]!=4){break j}d=v[c+24>>2];a=B(d,40)+c|0;b=u[c+12>>1];j=u[a+12>>1]-b|0;f=b;g=v[c+28>>2];b=B(g,40)+c|0;if((j^f-u[b+12>>1])<0){break j}f=u[c+14>>1];if((f-u[b+14>>1]^u[a+14>>1]-f)<0){break j}u[c>>1]=e|16;e=b;b=(B(d-g|0,40)|0)/40|0;v[e+24>>2]=b;v[a+28>>2]=0-b}c=c+40|0;if(r>>>0>c>>>0){continue}break}if((p|0)<=0){break a}while(1){c=x[h>>1];k:{if(c&16){break k}l:{if(c&3){break l}a=w[h+3|0];b=w[h+2|0];if((a|0)==(b|0)){if((a|0)!=4){break l}c=u[h+12>>1];e=v[h+28>>2];a=B(e,40)+h|0;d=u[h+14>>1];g=v[h+24>>2];b=B(g,40)+h|0;if(!X_(c-u[a+12>>1]|0,d-u[a+14>>1]|0,u[b+12>>1]-c|0,u[b+14>>1]-d|0)){break k}c=a;a=(B(g-e|0,40)|0)/40|0;v[c+24>>2]=a;v[b+28>>2]=0-a;c=x[h>>1];break l}if((0-(a<<24>>24)|0)!=b<<24>>24){break k}}u[h>>1]=c|16}h=h+40|0;if(r>>>0>h>>>0){continue}break}}Qb=m+16|0;return v[m+12>>2]}function IKa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;while(1){a:{b:{c:{if(y[a+116>>2]>261){break c}iz(a);c=v[a+116>>2];if(!(b|c>>>0>261)){return 0}if(!c){break a}if(c>>>0>2){break c}c=v[a+96>>2];v[a+120>>2]=c;v[a+100>>2]=v[a+112>>2];e=2;v[a+96>>2]=2;break b}e=2;d=v[a+108>>2];c=v[a+84>>2]&(w[(d+v[a+56>>2]|0)+2|0]^v[a+72>>2]<>2]);v[a+72>>2]=c;c=v[a+68>>2]+(c<<1)|0;f=x[c>>1];u[v[a+64>>2]+((d&v[a+52>>2])<<1)>>1]=f;u[c>>1]=d;c=v[a+96>>2];v[a+120>>2]=c;v[a+100>>2]=v[a+112>>2];v[a+96>>2]=2;if(!f){break b}d:{if(v[a+44>>2]-262>>>0>>0|y[a+128>>2]<=c>>>0){break d}e=LV(a,f);v[a+96>>2]=e;if(e>>>0>5){break d}if(v[a+136>>2]!=1){if((e|0)!=3){break d}e=3;if(v[a+108>>2]-v[a+112>>2]>>>0<4097){break d}}e=2;v[a+96>>2]=2}c=v[a+120>>2]}if(!(c>>>0<3|c>>>0>>0)){f=v[a+116>>2];d=v[a+5792>>2];h=v[a+108>>2];e=h+(v[a+100>>2]^-1)|0;u[v[a+5796>>2]+(d<<1)>>1]=e;v[a+5792>>2]=d+1;c=c-3|0;t[d+v[a+5784>>2]|0]=c;c=((w[(c&255)+876400|0]<<2)+a|0)+1176|0;u[c>>1]=x[c>>1]+1;c=e-1&65535;c=((w[(c>>>0<256?c:(c>>>7|0)+256|0)+875888|0]<<2)+a|0)+2440|0;u[c>>1]=x[c>>1]+1;c=v[a+120>>2];e=c-2|0;v[a+120>>2]=e;v[a+116>>2]=(v[a+116>>2]-c|0)+1;f=(f+h|0)-3|0;h=v[a+5788>>2]-1|0;c=v[a+108>>2];i=v[a+5792>>2];while(1){d=c;c=c+1|0;v[a+108>>2]=c;if(c>>>0<=f>>>0){g=v[a+84>>2]&(w[(d+v[a+56>>2]|0)+3|0]^v[a+72>>2]<>2]);v[a+72>>2]=g;g=v[a+68>>2]+(g<<1)|0;u[v[a+64>>2]+((v[a+52>>2]&c)<<1)>>1]=x[g>>1];u[g>>1]=c}e=e-1|0;v[a+120>>2]=e;if(e){continue}break}v[a+96>>2]=2;v[a+104>>2]=0;f=d+2|0;v[a+108>>2]=f;if((h|0)!=(i|0)){continue}c=a;d=v[a+92>>2];if((d|0)>=0){e=d+v[a+56>>2]|0}else{e=0}Lj(c,e,f-d|0,0);v[a+92>>2]=v[a+108>>2];c=v[a>>2];d=v[c+28>>2];qh(d);e=v[c+16>>2];f=v[d+20>>2];e=e>>>0>>0?e:f;e:{if(!e){break e}gc(v[c+12>>2],v[d+16>>2],e);v[c+12>>2]=e+v[c+12>>2];v[d+16>>2]=e+v[d+16>>2];v[c+20>>2]=e+v[c+20>>2];v[c+16>>2]=v[c+16>>2]-e;c=v[d+20>>2]-e|0;v[d+20>>2]=c;if(c){break e}v[d+16>>2]=v[d+8>>2]}if(v[v[a>>2]+16>>2]){continue}return 0}if(v[a+104>>2]){c=w[(v[a+108>>2]+v[a+56>>2]|0)-1|0];d=v[a+5792>>2];u[v[a+5796>>2]+(d<<1)>>1]=0;v[a+5792>>2]=d+1;t[d+v[a+5784>>2]|0]=c;c=(c<<2)+a|0;u[c+148>>1]=x[c+148>>1]+1;f:{if(v[a+5792>>2]!=(v[a+5788>>2]-1|0)){break f}c=a;d=v[a+92>>2];if((d|0)>=0){e=d+v[a+56>>2]|0}else{e=0}Lj(c,e,v[a+108>>2]-d|0,0);v[a+92>>2]=v[a+108>>2];c=v[a>>2];d=v[c+28>>2];qh(d);e=v[c+16>>2];f=v[d+20>>2];e=e>>>0>>0?e:f;if(!e){break f}gc(v[c+12>>2],v[d+16>>2],e);v[c+12>>2]=e+v[c+12>>2];v[d+16>>2]=e+v[d+16>>2];v[c+20>>2]=e+v[c+20>>2];v[c+16>>2]=v[c+16>>2]-e;c=v[d+20>>2]-e|0;v[d+20>>2]=c;if(c){break f}v[d+16>>2]=v[d+8>>2]}v[a+108>>2]=v[a+108>>2]+1;v[a+116>>2]=v[a+116>>2]-1;if(v[v[a>>2]+16>>2]){continue}return 0}else{v[a+104>>2]=1;v[a+108>>2]=v[a+108>>2]+1;v[a+116>>2]=v[a+116>>2]-1;continue}}break}if(v[a+104>>2]){c=w[(v[a+108>>2]+v[a+56>>2]|0)-1|0];d=v[a+5792>>2];u[v[a+5796>>2]+(d<<1)>>1]=0;v[a+5792>>2]=d+1;t[d+v[a+5784>>2]|0]=c;c=(c<<2)+a|0;u[c+148>>1]=x[c+148>>1]+1;v[a+104>>2]=0}c=v[a+108>>2];v[a+5812>>2]=c>>>0<2?c:2;if((b|0)==4){b=a;d=v[a+92>>2];if((d|0)>=0){e=d+v[a+56>>2]|0}else{e=0}Lj(b,e,c-d|0,1);v[a+92>>2]=v[a+108>>2];b=v[a>>2];c=v[b+28>>2];qh(c);d=v[b+16>>2];e=v[c+20>>2];d=d>>>0>>0?d:e;g:{if(!d){break g}gc(v[b+12>>2],v[c+16>>2],d);v[b+12>>2]=d+v[b+12>>2];v[c+16>>2]=d+v[c+16>>2];v[b+20>>2]=d+v[b+20>>2];v[b+16>>2]=v[b+16>>2]-d;b=v[c+20>>2]-d|0;v[c+20>>2]=b;if(b){break g}v[c+16>>2]=v[c+8>>2]}return(v[v[a>>2]+16>>2]?3:2)|0}h:{if(!v[a+5792>>2]){break h}b=a;d=v[a+92>>2];if((d|0)>=0){e=d+v[a+56>>2]|0}else{e=0}Lj(b,e,c-d|0,0);v[a+92>>2]=v[a+108>>2];b=v[a>>2];c=v[b+28>>2];qh(c);d=v[b+16>>2];e=v[c+20>>2];d=d>>>0>>0?d:e;i:{if(!d){break i}gc(v[b+12>>2],v[c+16>>2],d);v[b+12>>2]=d+v[b+12>>2];v[c+16>>2]=d+v[c+16>>2];v[b+20>>2]=d+v[b+20>>2];v[b+16>>2]=v[b+16>>2]-d;b=v[c+20>>2]-d|0;v[c+20>>2]=b;if(b){break i}v[c+16>>2]=v[c+8>>2]}if(v[v[a>>2]+16>>2]){break h}return 0}return 1}function m9a(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,n=0,o=0,p=0;a:{b:{if(!(w[a+301|0]?0:w[a+285|0])|(w[a+286|0]|w[a+287|0])){break b}if(w[a+288|0]|w[a+289|0]){break b}t[a+301|0]=1;c:{g=v[a+196>>2];if(!g){break c}if(Ub[g|0](a)|0){break c}pc(a,904,0,0);return 904}d:{e:{f:{i=a;g=0;g:{if(!w[a+114|0]){break g}g=Ub[v[i+152>>2]](28)|0;if(!g){pc(i,1,0,0);g=1;break g}v[g+4>>2]=733;v[g>>2]=734;a=v[i+700>>2];h:{if(a){v[a+8>>2]=g;break h}v[i+696>>2]=g}v[g+8>>2]=0;v[g+12>>2]=a;v[i+700>>2]=g;v[g+16>>2]=v[i+436>>2];v[g+20>>2]=v[i+440>>2];v[g+24>>2]=v[i+444>>2];if(!(v[i+516>>2]|(w[i+496|0]|!w[i+432|0]))){v[i+516>>2]=g}g=0}a=g;if(a){break f}a=a1(i);if(a){break f}a=0;if(!w[i+112|0]){break f}a=Ub[v[b+4>>2]](i,b,e)|0;if(a){break f}g=v[e>>2];b=!c;t[g+32|0]=b;a=0;if(b){break f}i:{j:{k:{l:{m:{n:{a=w[d|0];switch(a-4|0){case 0:case 4:break n;default:break m}}t[g+33|0]=a;g=c-1|0;if(!g){break k}f=d+1|0;b=w[f|0];if((a|0)==4){break j}if((b&255)>>>0>3){break e}k=1;a=f;h=g;while(1){j=a;a=b&255;j=j+(a>>>0>1?1:a?9:25)|0;a=j;while(1){b=a;a=a+1|0;if(w[b|0]){continue}break}if((b-d|0)>(c|0)){break l}a=b-j|0;h=h-a|0;if(!h){break d}k=k+1|0;a=a+j|0;b=w[a|0];if(b>>>0<=3){continue}break}break e}a=1049;pc(i,1049,0,0);break f}h=Ub[v[i+152>>2]](B(k,36))|0;if(!h){break i}a=v[e>>2];v[a+40>>2]=h;v[a+36>>2]=k;while(1){p=w[f|0];if(p>>>0>3){break e}l=0;o:{p:{q:{if(p>>>0>1){m=0;n=0;a=f+1|0;break q}a=w[f+5|0]|w[f+6|0]<<8|(w[f+7|0]<<16|w[f+8|0]<<24);m=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=w[f+1|0]|w[f+2|0]<<8|(w[f+3|0]<<16|w[f+4|0]<<24);n=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!p){break p}a=f+9|0}o=0;j=0;f=0;break o}a=w[f+21|0]|w[f+22|0]<<8|(w[f+23|0]<<16|w[f+24|0]<<24);o=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=w[f+17|0]|w[f+18|0]<<8|(w[f+19|0]<<16|w[f+20|0]<<24);j=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=w[f+13|0]|w[f+14|0]<<8|(w[f+15|0]<<16|w[f+16|0]<<24);l=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=f+25|0;b=w[f+9|0]|w[f+10|0]<<8|(w[f+11|0]<<16|w[f+12|0]<<24);f=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24)}e=a;while(1){b=e;e=b+1|0;if(w[b|0]){continue}break}k=0;r:{if((b-d|0)>(c|0)){e=0;b=g;break r}b=b-a|0;e=g-b|0;if(!e){break d}}if(h){v[h+28>>2]=b;v[h+24>>2]=o;v[h+20>>2]=j;v[h+12>>2]=f;v[h+4>>2]=n;t[h|0]=p;v[h+16>>2]=l;v[h+8>>2]=m;if(b){g=Ub[v[i+152>>2]](b+1|0)|0;v[h+32>>2]=g;if(!g){break a}gc(g,a,b)}k=h+36|0}f=a+b|0;a=0;h=k;g=e;if(g){continue}break}break f}b=Ub[v[i+152>>2]](0)|0;if(!b){break i}a=v[e>>2];v[a+40>>2]=b;v[a+36>>2]=0;return 0}if((b&255)>>>0>3){break e}k=1;a=f;h=g;while(1){j=a;a=b&255;j=j+(a>>>0>1?1:a?5:17)|0;a=j;while(1){b=a;a=a+1|0;if(w[b|0]){continue}break}if((b-d|0)<=(c|0)){a=b-j|0;h=h-a|0;if(!h){break d}k=k+1|0;a=a+j|0;b=w[a|0];if(b>>>0<=3){continue}break e}break}h=Ub[v[i+152>>2]](B(k,36))|0;if(!h){break i}a=v[e>>2];v[a+40>>2]=h;v[a+36>>2]=k;while(1){j=w[f|0];if(j>>>0>3){break e}l=0;s:{t:{u:{if(j>>>0>1){m=0;a=f+1|0;break u}a=w[f+1|0]|w[f+2|0]<<8|(w[f+3|0]<<16|w[f+4|0]<<24);m=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!j){break t}a=f+5|0}n=0;o=0;break s}a=w[f+13|0]|w[f+14|0]<<8|(w[f+15|0]<<16|w[f+16|0]<<24);n=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=w[f+9|0]|w[f+10|0]<<8|(w[f+11|0]<<16|w[f+12|0]<<24);o=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=w[f+5|0]|w[f+6|0]<<8|(w[f+7|0]<<16|w[f+8|0]<<24);l=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=f+17|0}e=a;while(1){b=e;e=b+1|0;if(w[b|0]){continue}break}k=0;v:{if((b-d|0)>(c|0)){e=0;b=g;break v}b=b-a|0;e=g-b|0;if(!e){break d}}if(h){v[h+28>>2]=b;v[h+24>>2]=n;v[h+20>>2]=o;v[h+12>>2]=0;v[h+4>>2]=0;t[h|0]=j;v[h+16>>2]=l;v[h+8>>2]=m;if(b){g=Ub[v[i+152>>2]](b+1|0)|0;v[h+32>>2]=g;if(!g){break a}gc(g,a,b)}k=h+36|0}f=a+b|0;a=0;h=k;g=e;if(g){continue}break}break f}break a}return a|0}pc(i,1050,0,0);return 1050}pc(i,1051,0,0);return 1051}pc(a,1029,0,0);return 1029}pc(i,1,0,0);return 1}function Fha(){var a=0,b=0,c=0,d=0,e=0;e=Qb-16|0;Qb=e;a:{b:{c:{d:{e:{f:{if(t[1197572]&1){break f}if(!Je(1197572)){break f}v[299390]=0;v[299391]=0;v[299388]=0;v[299389]=0;v[299386]=0;v[299387]=0;v[299392]=0;v[299999]=0;Q(4475,1197544,982916)|0;c=v[299999];v[299999]=0;if((c|0)==1){break e}Ie(1197572)}g:{h:{if(v[299387]){break h}c=Ap(e+8|0,60);v[299999]=0;a=Q(4340,e|0,231561)|0;b=v[299999];v[299999]=0;if((b|0)==1){break d}v[299999]=0;b=Q(5174,1197544,a|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break c}v[299999]=0;Q(4535,b|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break c}b=v[a>>2];v[a>>2]=0;i:{if(!b){break i}v[299999]=0;a=v[b+4>>2]-1|0;v[b+4>>2]=a;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(a){break i}v[299999]=0;R(4338,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}a=v[c>>2];v[c>>2]=0;j:{if(!a){break j}v[299999]=0;c=v[a+4>>2]-1|0;v[a+4>>2]=c;b=v[299999];v[299999]=0;if((b|0)==1){break a}if(c){break j}v[299999]=0;R(4338,a|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}c=Ap(e+8|0,62);v[299999]=0;a=Q(4340,e|0,232432)|0;b=v[299999];v[299999]=0;if((b|0)==1){break d}v[299999]=0;b=Q(5174,1197544,a|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break c}v[299999]=0;Q(4535,b|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break c}b=v[a>>2];v[a>>2]=0;k:{if(!b){break k}v[299999]=0;a=v[b+4>>2]-1|0;v[b+4>>2]=a;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(a){break k}v[299999]=0;R(4338,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}a=v[c>>2];v[c>>2]=0;l:{if(!a){break l}v[299999]=0;c=v[a+4>>2]-1|0;v[a+4>>2]=c;b=v[299999];v[299999]=0;if((b|0)==1){break a}if(c){break l}v[299999]=0;R(4338,a|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}c=Ap(e+8|0,38);v[299999]=0;a=Q(4340,e|0,242513)|0;b=v[299999];v[299999]=0;if((b|0)==1){break d}v[299999]=0;b=Q(5174,1197544,a|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break c}v[299999]=0;Q(4535,b|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break c}b=v[a>>2];v[a>>2]=0;m:{if(!b){break m}v[299999]=0;a=v[b+4>>2]-1|0;v[b+4>>2]=a;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(a){break m}v[299999]=0;R(4338,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}a=v[c>>2];v[c>>2]=0;n:{if(!a){break n}v[299999]=0;c=v[a+4>>2]-1|0;v[a+4>>2]=c;b=v[299999];v[299999]=0;if((b|0)==1){break a}if(c){break n}v[299999]=0;R(4338,a|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}c=Ap(e+8|0,39);v[299999]=0;a=Q(4340,e|0,235218)|0;b=v[299999];v[299999]=0;if((b|0)==1){break d}v[299999]=0;b=Q(5174,1197544,a|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break c}v[299999]=0;Q(4535,b|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break c}b=v[a>>2];v[a>>2]=0;o:{if(!b){break o}v[299999]=0;a=v[b+4>>2]-1|0;v[b+4>>2]=a;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(a){break o}v[299999]=0;R(4338,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}a=v[c>>2];v[c>>2]=0;p:{if(!a){break p}v[299999]=0;c=v[a+4>>2]-1|0;v[a+4>>2]=c;b=v[299999];v[299999]=0;if((b|0)==1){break a}if(c){break p}v[299999]=0;R(4338,a|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}c=Ap(e+8|0,34);v[299999]=0;a=Q(4340,e|0,227629)|0;b=v[299999];v[299999]=0;if((b|0)==1){break d}v[299999]=0;b=Q(5174,1197544,a|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break g}v[299999]=0;Q(4535,b|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break g}b=v[a>>2];v[a>>2]=0;q:{if(!b){break q}v[299999]=0;a=v[b+4>>2]-1|0;v[b+4>>2]=a;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(a){break q}v[299999]=0;R(4338,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}a=v[c>>2];v[c>>2]=0;if(!a){break h}v[299999]=0;c=v[a+4>>2]-1|0;v[a+4>>2]=c;b=v[299999];v[299999]=0;if((b|0)==1){break a}if(c){break h}v[299999]=0;R(4338,a|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}Qb=e+16|0;return}break c}c=P()|0;O()|0;Pf(1197572);T(c|0);L()}e=P()|0;O()|0;break b}e=P()|0;O()|0;ec(a)}ec(c);T(e|0);L()}W(0)|0;O()|0;lc();L()}function yR(a,b){var 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,u=0,x=0;mk(b,3961);k=fc(16);v[299999]=0;x=S(3315,k|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){a:{while(1){n=0;q=0;r=0;k=fc(16);v[299999]=0;o=S(3315,k|0)|0;c=v[299999];v[299999]=0;b:{c:{d:{if((c|0)!=1){if(v[b+8>>2]>=1){while(1){i=v[v[b>>2]+(r<<2)>>2];e:{if(w[i+88|0]!=(u|0)){break e}p=i+24|0;f:{g:{f=v[o+8>>2];if((f|0)<1){d=f;break g}g=A[i+24>>3];s=v[o>>2];c=-1;d=f;while(1){e=((d-c|0)/2|0)+c|0;p=g>=A[v[s+(e<<2)>>2]+16>>3];c=p?e:c;d=p?d:e;if((c|0)<(d-1|0)){continue}break}p=i+24|0;if((d|0)>=(f|0)){break g}g=A[i+40>>3];s=v[o>>2];l=0;e=-1;h:{while(1){c=v[s+(d<<2)>>2];j=A[c+8>>3];if(j>=g){break h}m=A[c+16>>3];h=g>3];j=(h-(jl;l=c?j:l;e=c?d:e;d=d+1|0;if((f|0)!=(d|0)){continue}break}d=f}if(!(l>.2)|(e|0)<0){break g}c=v[v[o>>2]+(e<<2)>>2];d=e;break f}c=fc(40);e=w[i+88|0];v[299999]=0;f=S(1,16)|0;s=v[299999];v[299999]=0;i:{j:{k:{l:{if((s|0)!=1){v[299999]=0;S(3315,f|0)|0;s=v[299999];v[299999]=0;if((s|0)==1){p=P()|0;O()|0;dc(f);k=c;break c}v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=f;v[c+24>>2]=e;v[c+28>>2]=0;v[c+32>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;if(v[o+8>>2]<=(d|0)){break j}f=v[v[o>>2]+(d<<2)>>2];e=v[f+32>>2];if(e){break l}n=c;break k}p=P()|0;O()|0;k=c;break c}v[e+28>>2]=c;v[c+32>>2]=e}v[f+32>>2]=c;v[c+28>>2]=f;break i}if(!q){q=c;n=c;break i}v[q+28>>2]=c;v[c+32>>2]=q;q=c}Yl(o,d,c)}Tc(v[c>>2],i);g=A[i+24>>3];A[c+16>>3]=A[i+40>>3];A[c+8>>3]=g;m:{if((d|0)<1){break m}f=d;c=d-1|0;e=v[v[o>>2]+(c<<2)>>2];if(A[e+16>>3]<=g){break m}while(1){A[e+16>>3]=g;if(A[e+8>>3]>3];c=c-1|0;e=v[v[o>>2]+(c<<2)>>2];if(!(g>=A[e+16>>3])){continue}break}}c=d+1|0;if((c|0)>=v[o+8>>2]){break e}while(1){g=A[i+40>>3];d=v[v[o>>2]+(c<<2)>>2];if(g<=A[d+8>>3]){break e}A[d+8>>3]=g;if(g>3]){break e}ji(o,c);if((c|0)>2]){continue}break}}r=r+1|0;if((r|0)>2]){continue}break}}c=fc(16);v[299999]=0;q=S(3315,c|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break d}if(n){while(1){f=v[n>>2];e=v[f+8>>2];n:{if((e|0)<1){g=0;l=0;j=0;m=0;break n}c=1;i=v[f>>2];d=v[i>>2];m=A[d+40>>3];j=A[d+32>>3];l=A[d+24>>3];g=A[d+16>>3];if((e|0)==1){break n}while(1){d=v[i+(c<<2)>>2];h=A[d+40>>3];m=h>3];j=h>3];l=h>3];g=g>h?h:g;c=c+1|0;if((e|0)!=(c|0)){continue}break}}r=sR(a,f,0,g,l,j,m);c=v[n+24>>2];v[r+4>>2]=c;d=v[r>>2];e=v[d+8>>2];o:{if((e|0)<1){break o}f=e&3;i=v[d>>2];d=0;if(e-1>>>0>=3){e=e&-4;while(1){p=d<<2;t[v[p+i>>2]+100|0]=c;t[v[i+(p|4)>>2]+100|0]=c;t[v[i+(p|8)>>2]+100|0]=c;t[v[i+(p|12)>>2]+100|0]=c;d=d+4|0;e=e-4|0;if(e){continue}break}}if(!f){break o}while(1){t[v[i+(d<<2)>>2]+100|0]=c;d=d+1|0;f=f-1|0;if(f){continue}break}}Tc(q,r);c=v[n+28>>2];d=v[n>>2];if(d){dc(Vc(d))}dc(n);n=c;if(c){continue}break}}Vc(o);dc(k);c=q;break b}p=P()|0;O()|0;break c}p=P()|0;O()|0;k=c}dc(k);T(p|0);L()}p:{if(!v[c+8>>2]){dc(Vc(c));break p}d=fc(40);v[d+4>>2]=0;v[d+8>>2]=0;v[d>>2]=c;v[d+12>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+32>>2]=0;v[d+36>>2]=0;n=v[c+8>>2];q:{if((n|0)<1){break q}f=v[c>>2];c=v[f>>2];g=A[c+8>>3];A[d+8>>3]=g;l=A[c+24>>3];A[d+24>>3]=l;j=A[c+16>>3];A[d+16>>3]=j;m=A[c+32>>3];A[d+32>>3]=m;k=1;if((n|0)==1){break q}while(1){c=v[f+(k<<2)>>2];h=A[c+8>>3];if(h>3]=h;g=h}h=A[c+24>>3];if(h>3]=h;l=h}h=A[c+16>>3];if(h>j){A[d+16>>3]=h;j=h}h=A[c+32>>3];if(h>m){A[d+32>>3]=h;m=h}k=k+1|0;if((n|0)!=(k|0)){continue}break}}k=fc(16);v[299999]=0;c=S(3315,k|0)|0;n=v[299999];v[299999]=0;if((n|0)==1){break a}Tc(c,d);c=fc(56);g=A[d+16>>3];l=A[d+32>>3];j=A[d+8>>3];A[c+24>>3]=A[d+24>>3];A[c+8>>3]=j;v[c>>2]=k;v[c+40>>2]=0;v[c+44>>2]=0;A[c+32>>3]=l;A[c+16>>3]=g;v[c+48>>2]=0;v[c+52>>2]=0;Tc(x,c)}u=u+1|0;if((u|0)!=4){continue}break}return x}}a=P()|0;O()|0;dc(k);T(a|0);L()}function s3(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;i=Qb-16|0;Qb=i;v[a+28>>2]=0;v[a+16>>2]=0;d=v[b+8>>2];a:{b:{c:{if(d&7){break c}d:{e=v[b+64>>2];if((e|0)>=0&(e|0)<=v[b+60>>2]){break d}e=v[b+28>>2];v[b+28>>2]=e-1;e:{if((e|0)>=1){v[b+60>>2]=v[b+60>>2]+1;e=v[b+24>>2];v[b+24>>2]=e+1;e=w[e|0];break e}e=Hc(b,1);if((e|0)==-1){break c}d=v[b+8>>2]}if(d&7){break c}f=v[b+64>>2];if((f|0)>=0&(f|0)<=v[b+60>>2]){break d}f=v[b+28>>2];v[b+28>>2]=f-1;f:{if((f|0)>=1){v[b+60>>2]=v[b+60>>2]+1;f=v[b+24>>2];v[b+24>>2]=f+1;f=w[f|0];break f}f=Hc(b,1);if((f|0)==-1){break c}d=v[b+8>>2]}if(d&7){break c}g=v[b+64>>2];if((g|0)>=0&(g|0)<=v[b+60>>2]){break d}g=v[b+28>>2];v[b+28>>2]=g-1;g:{if((g|0)>=1){v[b+60>>2]=v[b+60>>2]+1;g=v[b+24>>2];v[b+24>>2]=g+1;g=w[g|0];break g}g=Hc(b,1);if((g|0)==-1){break c}d=v[b+8>>2]}if(d&7){break c}h=v[b+64>>2];if((h|0)>=0&(h|0)<=v[b+60>>2]){break d}d=v[b+28>>2];v[b+28>>2]=d-1;h:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;d=w[d|0];break h}d=Hc(b,1);if((d|0)==-1){break c}}d=(e<<16|f<<8|g)<<8|d;v[a+12>>2]=d;d=jc(d);v[a+16>>2]=d;if(!d){break b}d=Kh(b,d,v[a+12>>2]);if((d|0)!=v[a+12>>2]){break c}t[(d+v[a+16>>2]|0)-1|0]=0;d=v[b+8>>2];if(d&7){break c}i:{e=v[b+64>>2];if((e|0)>=0&(e|0)<=v[b+60>>2]){break i}e=v[b+28>>2];v[b+28>>2]=e-1;j:{if((e|0)>=1){v[b+60>>2]=v[b+60>>2]+1;e=v[b+24>>2];v[b+24>>2]=e+1;e=w[e|0];break j}e=Hc(b,1);if((e|0)==-1){break c}d=v[b+8>>2]}if(d&7){break c}f=v[b+64>>2];if((f|0)>=0&(f|0)<=v[b+60>>2]){break i}f=v[b+28>>2];v[b+28>>2]=f-1;k:{if((f|0)>=1){v[b+60>>2]=v[b+60>>2]+1;f=v[b+24>>2];v[b+24>>2]=f+1;f=w[f|0];break k}f=Hc(b,1);if((f|0)==-1){break c}d=v[b+8>>2]}if(d&7){break c}g=v[b+64>>2];if((g|0)>=0&(g|0)<=v[b+60>>2]){break i}g=v[b+28>>2];v[b+28>>2]=g-1;l:{if((g|0)>=1){v[b+60>>2]=v[b+60>>2]+1;g=v[b+24>>2];v[b+24>>2]=g+1;g=w[g|0];break l}g=Hc(b,1);if((g|0)==-1){break c}d=v[b+8>>2]}if(d&7){break c}h=v[b+64>>2];if((h|0)>=0&(h|0)<=v[b+60>>2]){break i}d=v[b+28>>2];v[b+28>>2]=d-1;m:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;d=w[d|0];break m}d=Hc(b,1);if((d|0)==-1){break c}}v[a+20>>2]=(e<<16|f<<8|g)<<8|d;d=v[b+8>>2];if(d&7){break c}n:{e=v[b+64>>2];if((e|0)>=0&(e|0)<=v[b+60>>2]){break n}e=v[b+28>>2];v[b+28>>2]=e-1;o:{if((e|0)>=1){v[b+60>>2]=v[b+60>>2]+1;e=v[b+24>>2];v[b+24>>2]=e+1;e=w[e|0];break o}e=Hc(b,1);if((e|0)==-1){break c}d=v[b+8>>2]}if(d&7){break c}f=v[b+64>>2];if((f|0)>=0&(f|0)<=v[b+60>>2]){break n}f=v[b+28>>2];v[b+28>>2]=f-1;p:{if((f|0)>=1){v[b+60>>2]=v[b+60>>2]+1;f=v[b+24>>2];v[b+24>>2]=f+1;f=w[f|0];break p}f=Hc(b,1);if((f|0)==-1){break c}d=v[b+8>>2]}if(d&7){break c}g=v[b+64>>2];if((g|0)>=0&(g|0)<=v[b+60>>2]){break n}g=v[b+28>>2];v[b+28>>2]=g-1;q:{if((g|0)>=1){v[b+60>>2]=v[b+60>>2]+1;g=v[b+24>>2];v[b+24>>2]=g+1;g=w[g|0];break q}g=Hc(b,1);if((g|0)==-1){break c}d=v[b+8>>2]}if(d&7){break c}h=v[b+64>>2];if((h|0)>=0&(h|0)<=v[b+60>>2]){break n}d=v[b+28>>2];v[b+28>>2]=d-1;r:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;d=w[d|0];break r}d=Hc(b,1);if((d|0)==-1){break c}}d=(e<<16|f<<8|g)<<8|d;v[a+24>>2]=d;d=jc(d<<1);v[a+28>>2]=d;if(!d){break c}if((Kh(b,d,v[a+24>>2]<<1)|0)!=v[a+24>>2]<<1){break c}if(wh(b,2,i+8|0)){break c}v[a+32>>2]=v[i+8>>2];d=v[b+8>>2];if(d&7){break c}e=v[b+64>>2];if(!((e|0)<0|(e|0)>v[b+60>>2])){v[b+8>>2]=d|4;break c}d=v[b+28>>2];v[b+28>>2]=d-1;s:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;d=w[d|0];break s}d=Hc(b,1);if((d|0)==-1){break c}}t[a+36|0]=d;if((Kh(b,a+37|0,67)|0)!=67){break c}e=Bc(v[a+16>>2]);v[a+12>>2]=e+1;d=-1;e=(e+(v[a+24>>2]<<1)|0)+83|0;if((e|0)>(c|0)){break a}d=0;if((c|0)<=(e|0)){break a}f=b;b=c-e|0;if((bt(f,b)|0)==(b|0)){break a}break c}v[b+8>>2]=d|4;break c}v[b+8>>2]=d|4;break c}v[b+8>>2]=d|4}b=v[a+16>>2];if(!b){break b}dc(b)}d=-1;a=v[a+28>>2];if(!a){break a}dc(a)}Qb=i+16|0;return d|0}function cJa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;h=Qb-16|0;Qb=h;a:{if(!a|!(c|d)|(!(v[a+276>>2]?1:v[a+104>>2])|!v[a+12>>2])){break a}if(!v[a+8>>2]){break a}f=v[a>>2];if(!f){break a}f=v[f+16>>2];if(!f){break a}f=Ub[f|0](v[a+4>>2],c,d)|0;if(!f){break a}Yy(v[a+8>>2],b,c,d);o=v[a+24>>2];b=0;v[a+24>>2]=0;i=v[a+256>>2];j=v[a+48>>2];k=v[a+44>>2];l=v[a+40>>2];m=v[a+36>>2];e=Ub[v[259704]](20)|0;v[a+48>>2]=e;b:{if(!e){v[a+84>>2]=2;c=v[a>>2];if(!(!c|v[c+108>>2]!=-554844497)){b=v[c+124>>2]}c=v[a+108>>2];d=v[a+112>>2];v[h+4>>2]=0;v[h>>2]=347702;oc(b,d,c,a,0,1,2,2,347702,0,0,0,233287,h);v[a+212>>2]=1;v[a+172>>2]=-1;v[a+84>>2]=2;v[a+256>>2]=i;v[a+48>>2]=j;v[a+44>>2]=k;v[a+40>>2]=l;v[a+36>>2]=m;break b}v[a+44>>2]=5;v[a+36>>2]=0;v[a+40>>2]=0;Xr(a,f);b=v[a+36>>2];if(v[b+24>>2]>=4){aq(a,cq(v[b+16>>2],4))}if(!v[f+4>>2]){q=f,r=Ou(d),v[q+4>>2]=r}v[f+28>>2]=1;v[f+32>>2]=1;b=v[v[a+36>>2]+16>>2];v[f+40>>2]=0;v[f+16>>2]=b;v[f+12>>2]=b;g=Qb-48|0;Qb=g;xu(a);c:{if(v[a+292>>2]){break c}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break c}nd(a)}d:{if(v[a+24>>2]){break d}f=v[a+36>>2];b=v[f+16>>2];if((v[f+20>>2]-b|0)<4){break d}t[g+44|0]=w[b|0];t[g+45|0]=w[b+1|0];t[g+46|0]=w[b+2|0];t[g+47|0]=w[b+3|0];b=cq(g+44|0,4);if(!b){break d}aq(a,b)}e:{f:{b=v[v[a+36>>2]+16>>2];if(w[b|0]!=60|w[b+1|0]!=63|(w[b+2|0]!=120|w[b+3|0]!=109)){break f}if(w[b+4|0]!=108){break f}zu(a);if(v[a+84>>2]!=32){break f}el(a);break e}e=v[a+8>>2];if(!e){e=qo(335485);v[a+8>>2]=e;if(!e){Qd(a,291463);break e}v[e+92>>2]=64}if(!v[e+44>>2]){nV(e,0,c,d)}v[a+96>>2]=1;v[a+172>>2]=3;d=v[a+36>>2];g:{while(1){h:{i:{c=v[d+16>>2];e=w[c|0];switch(e-9|0){case 0:case 1:case 4:case 23:case 28:break h;case 51:break i;default:break g}}b=w[c+1|0];if((b|0)==63){break h}if((b|0)!=33){break g}}p=v[d+36>>2];j:{if(v[a+292>>2]){b=c;break j}b=c;if((v[d+20>>2]-b|0)>249){break j}nd(a);b=v[v[a+36>>2]+16>>2];e=w[b|0]}k:{l:{m:{d=e&255;n:{if((d|0)==32){break n}if((d|0)==60){if(w[b+1|0]!=33|w[b+2|0]!=91){break l}vF(a);break k}if((e-9&255)>>>0<2){break n}if((d|0)==37){break m}if((d|0)!=13){break l}}xd(a);break k}By(a);break k}wF(a)}d=v[a+36>>2];b=v[d+16>>2];o:{if(w[b|0]){break o}e=v[a+40>>2];if((e|0)<=1){break o}while(1){p:{q:{r:{if(!v[294256]){b=e-1|0;v[a+40>>2]=b;d=v[a+48>>2];break r}v[g+32>>2]=e;d=0;Ub[v[259806]](v[294239],354269,g+32|0);e=v[a+40>>2];if((e|0)<1){break p}b=e-1|0;v[a+40>>2]=b;d=v[a+48>>2];n=0;f=0;if((e|0)==1){break q}}n=v[((e<<2)+d|0)-8>>2];f=b}v[a+36>>2]=n;b=(f<<2)+d|0;d=v[b>>2];v[b>>2]=0}Sh(d);b=v[a+36>>2];s:{if(w[v[b+16>>2]]){break s}if((cd(b)|0)>=1){break s}e=v[a+40>>2];if((e|0)>=2){continue}}d=v[a+36>>2];b=v[d+16>>2];if(w[b|0]){break o}e=v[a+40>>2];if((e|0)>1){continue}break}}if((b|0)!=(c|0)|v[d+36>>2]!=(p|0)){continue}break}if(v[a+172>>2]==-1?v[a+212>>2]:0){break g}v[a+84>>2]=60;v[g+16>>2]=233072;oc(0,0,0,a,0,1,60,3,0,0,0,0,350078,g+16|0);v[a+12>>2]=0;if(v[a+288>>2]){break g}v[a+212>>2]=1}if(!w[v[v[a+36>>2]+16>>2]]|(v[a+172>>2]==-1?v[a+212>>2]:0)){break e}v[a+84>>2]=60;v[g>>2]=233072;oc(0,0,0,a,0,1,60,3,0,0,0,0,350078,g);v[a+12>>2]=0;if(v[a+288>>2]){break e}v[a+212>>2]=1}Qb=g+48|0;if(v[a+40>>2]>=2){while(1){vd(a);if(v[a+40>>2]>1){continue}break}}b=v[a+36>>2];if(b){c=v[b+4>>2];if(c){Ub[v[259708]](c)}c=v[b+8>>2];if(c){Ub[v[259708]](c)}c=v[b+44>>2];if(c){Ub[v[259708]](c)}c=v[b+48>>2];if(c){Ub[v[259708]](c)}c=v[b+40>>2];t:{if(!c){break t}d=v[b+12>>2];if(!d){break t}Ub[c|0](d)}c=v[b>>2];if(c){cm(c)}Ub[v[259708]](b)}Ub[v[259708]](v[a+48>>2]);v[a+256>>2]=i;v[a+48>>2]=j;v[a+44>>2]=k;v[a+40>>2]=l;v[a+36>>2]=m;c=v[a+24>>2];if(!c){break b}b=v[a+296>>2];if(b){while(1){d=v[b+16>>2];if(d){while(1){if(c>>>0<=y[d+4>>2]&c>>>0>=d+20>>>0){break b}d=v[d>>2];if(d){continue}break}}b=v[b+20>>2];if(b){continue}break}}Ub[v[259708]](c)}v[a+24>>2]=o}Qb=h+16|0}function vib(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,p=0,q=0,r=0,s=0;f=Qb+-64|0;Qb=f;if(c){Sc(4155,0)}a:{b:{c:{d:{e:{c=v[a+28>>2];switch((c>>8)-3|0){case 0:break d;case 1:break e;default:break c}}if((c|0)!=1025){Sc(8424,0)}v[f+8>>2]=3;d=zj(a,0);v[f+12>>2]=d;f:{if((d|0)<0){break f}g=1;c=zj(a,1);v[f+16>>2]=c;if((c|0)<0){break f}c=zj(a,2);v[f+20>>2]=c;if((c|0)<=-1){break f}k=3;break b}Sc(12072,0);c=-1;break a}if((c|0)!=769){Sc(8424,0)}l=1;v[f+8>>2]=1;d=zj(a,0);v[f+12>>2]=d;c=-1;k=1;if((d|0)>-1){break b}Sc(12072,0);break a}Sc(14849,0);c=-1;break a}g:{i=v[a+24>>2];c=v[i+(d<<2)>>2];d=v[c+24>>2];if((d|0)!=v[c+24>>2]|v[c+28>>2]|(v[c>>2]|v[c+4>>2])){break g}e=v[c+20>>2];h=v[c+16>>2];h:{i:{j:{if(!l){c=v[i+(v[f+16>>2]<<2)>>2];if((h|0)==v[c+16>>2]){break j}break g}if(!g){break h}break i}if((e|0)!=v[c+20>>2]|v[c+24>>2]!=(d|0)|(v[c+28>>2]|v[c>>2])){break g}if(v[c+4>>2]){break g}c=v[i+(v[f+20>>2]<<2)>>2];if((h|0)!=v[c+16>>2]|(e|0)!=v[c+20>>2]|(v[c+28>>2]|v[c+24>>2]!=(d|0))){break g}if(!g|(v[c>>2]|v[c+4>>2])){break g}}c=-1;if((d|0)!=8|v[v[i+(v[f+16>>2]<<2)>>2]+24>>2]!=8){break a}d=24;if(v[v[i+(v[f+20>>2]<<2)>>2]+24>>2]!=8){break a}}v[f+60>>2]=0;v[f+52>>2]=1;v[f+56>>2]=0;v[f+32>>2]=1504078485;v[f+36>>2]=h;v[f+44>>2]=d;v[f+40>>2]=e;g=B(e,(B(d,h)+15|0)/16|0)<<1;v[f+48>>2]=g;c=-1;if($o(b,1504078485)){break a}if($o(b,h)){break a}if($o(b,e)){break a}if($o(b,d)){break a}if($o(b,g)){break a}if($o(b,1)){break a}if($o(b,0)){break a}if($o(b,0)){break a}c=a;p=f+8|4;a=0;l=0;i=Qb-16|0;Qb=i;e=-1;k:{if(v[f+52>>2]!=1){break k}if(k){l:{while(1){m:{d=yj(v[c+12>>2]-v[c+4>>2]|0,v[c+8>>2]-v[c>>2]|0);v[(i+4|0)+(a<<2)>>2]=d;if(!d){break m}a=a+1|0;if((k|0)!=(a|0)){continue}break l}break}X(18864,20952,235,188612);L()}n=v[i+12>>2];o=v[i+8>>2];l=v[i+4>>2]}d=v[f+40>>2];a=B(v[f+44>>2],v[f+36>>2]);v[f+48>>2]=B(d,(a+15|0)/16|0)<<1;a=(a+7|0)/-8|0;n:{if((d|0)<1){break n}q=a&1;o:{while(1){a=0;if(k){while(1){d=a<<2;Zj(c,v[d+p>>2],0,m,v[c+8>>2]-v[c>>2]|0,1,v[d+(i+4|0)>>2]);a=a+1|0;if((k|0)!=(a|0)){continue}break}}h=0;a=0;g=0;p:{e=v[f+36>>2];q:{if((e|0)<=0){break q}while(1){d=v[f+44>>2];r=g<>2];j=v[o+28>>2];if(v[l+20>>2]==1){g=v[g>>2]+(h<<2)|0}else{g=v[g+(h<<2)>>2]}s=w[g|0];if(v[o+20>>2]==1){g=v[j>>2]+(h<<2)|0}else{g=v[j+(h<<2)>>2]}j=v[n+28>>2];if(v[n+20>>2]==1){j=v[j>>2]+(h<<2)|0}else{j=v[j+(h<<2)>>2]}g=v[j>>2]<<16&16711680|(v[g>>2]<<8&65280|s);break r;default:break s}}g=v[l+28>>2];if(v[l+20>>2]==1){g=v[g>>2]+(h<<2)|0}else{g=v[g+(h<<2)>>2]}g=v[g>>2]}g=r|g&((d|0)==32?-1:-1<=8){while(1){d=v[b+8>>2];if(d&7){break o}e=v[b+64>>2];if((e|0)>=0&(e|0)<=v[b+60>>2]){break p}d=a-8|0;j=g>>>d|0;v[b+4>>2]=v[b+4>>2]|32;e=v[b+28>>2];v[b+28>>2]=e-1;t:{if((e|0)>=1){v[b+60>>2]=v[b+60>>2]+1;e=v[b+24>>2];v[b+24>>2]=e+1;t[e|0]=j;break t}e=-1;if((Fc(b,j&255)|0)==-1){break k}}g=((d|0)==32?-1:-1<15;a=d;if(e){continue}break}e=v[f+36>>2]}h=h+1|0;if((h|0)<(e|0)){continue}break}if((a|0)<1){break q}e=-1;d=v[b+8>>2];if(d&7){break k}e=v[b+64>>2];if((e|0)>=0&(e|0)<=v[b+60>>2]){break p}a=(-1<>>8-a;v[b+4>>2]=v[b+4>>2]|32;d=v[b+28>>2];v[b+28>>2]=d-1;if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;t[d|0]=a;break q}e=-1;if((Fc(b,a&255)|0)==-1){break k}}u:{if(!q){break u}d=v[b+8>>2];if(d&7){break o}a=v[b+64>>2];if((a|0)>=0&(a|0)<=v[b+60>>2]){break p}v[b+4>>2]=v[b+4>>2]|32;a=v[b+28>>2];v[b+28>>2]=a-1;if((a|0)>=1){v[b+60>>2]=v[b+60>>2]+1;a=v[b+24>>2];v[b+24>>2]=a+1;t[a|0]=0;break u}e=-1;if((Fc(b,0)|0)==-1){break k}}m=m+1|0;if((m|0)>2]){continue}break n}break}v[b+8>>2]=d|4}e=-1;break k}e=0;if(!k){break k}a=0;while(1){$e(v[(i+4|0)+(a<<2)>>2]);a=a+1|0;if((k|0)!=(a|0)){continue}break}}Qb=i+16|0;c=e?-1:0;break a}Sc(17436,0);c=-1}Qb=f- -64|0;return c|0}function A1(a){var 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,u=0,y=0,z=0,A=0,C=0;o=Qb-992|0;Qb=o;if(v[a+4>>2]){j=v[a+20>>2];h=v[a+16>>2];e=gf(o+16|0,0);lh(e,a);Zf(e,j,h,x[a+26>>1],v[a+68>>2]);b=v[a+4>>2];vn(e,b?v[a+44>>2]?b+40|0:0:0,256);if(v[a+964>>2]){si(e)}if(v[a+960>>2]){Q1(e)}a:{if(x[a+26>>1]!=1){if((j|0)<1|(h|0)<1){break a}r=64;while(1){f=d- -64|0;A=(f|0)>(j|0)?j:f;y=(A|0)<=(d|0);g=C<<6;b=g- -64|0;k=(b|0)>(j|0)?j:b;m=k&1;s=(j|0)<(r|0)?j:r;z=d|1;n=g|1;g=0;u=64;while(1){p=g- -64|0;c=(h|0)<(p|0)?h:p;q=(h|0)<(u|0)?h:u;b:{if(x[a+26>>1]==24){b=g;if((c|0)<=(b|0)){break b}while(1){v[a+328>>2]=(B(b,100)|0)/(h|0);c=d;l=b;b=v[e+44>>2]?0:(v[e+56>>2]+B(b,v[e+52>>2])|0)+B(c,3)|0;c=(l^-1)+h|0;c=v[a+44>>2]?0:(v[a+56>>2]+B(v[a+52>>2],d)|0)+B(c,3)|0;c:{if(y){break c}if(m){t[b|0]=w[c|0];t[b+1|0]=w[c+1|0];t[b+2|0]=w[c+2|0];b=b+3|0;c=v[a+52>>2]+c|0;i=z}else{i=d}if((k|0)==(n|0)){break c}while(1){t[b|0]=w[c|0];t[b+1|0]=w[c+1|0];t[b+2|0]=w[c+2|0];c=v[a+52>>2]+c|0;t[b+3|0]=w[c|0];t[b+4|0]=w[c+1|0];t[b+5|0]=w[c+2|0];b=b+6|0;c=c+v[a+52>>2]|0;i=i+2|0;if((s|0)!=(i|0)){continue}break}}b=l+1|0;if((q|0)!=(b|0)){continue}break}break b}if((c|0)<=(g|0)){break b}c=g;if((d|0)>=(A|0)){v[a+328>>2]=(B(q,100)-100|0)/(h|0);break b}while(1){v[a+328>>2]=(B(c,100)|0)/(h|0);i=(c^-1)+h|0;b=d;while(1){wn(e,b,c,Gq(a,i,b));b=b+1|0;if((s|0)!=(b|0)){continue}break}c=c+1|0;if((q|0)!=(c|0)){continue}break}}d:{if(!v[a+964>>2]){break d}c=g;b=c- -64|0;if((c|0)>=(((b|0)>(h|0)?h:b)|0)|y){break d}while(1){i=(c^-1)+h|0;b=d;while(1){gh(e,b,c,w[v[a+964>>2]+(i+B(v[a+16>>2],b)|0)|0]);b=b+1|0;if((s|0)!=(b|0)){continue}break}c=c+1|0;if((q|0)!=(c|0)){continue}break}}u=u- -64|0;l=h;if(v[a+960>>2]){v[e+372>>2]=v[a+384>>2];v[e+380>>2]=v[a+376>>2];v[e+384>>2]=h-v[a+380>>2];v[e+376>>2]=h-v[a+372>>2];c=g- -64|0;if(!((((c|0)>(h|0)?h:c)|0)<=(g|0)|y)){while(1){i=(g^-1)+h|0;b=d;while(1){XA(e,b,g,w[v[a+960>>2]+(i+B(v[a+16>>2],b)|0)|0]);b=b+1|0;if((s|0)!=(b|0)){continue}break}g=g+1|0;if((q|0)!=(g|0)){continue}break}}}else{c=p}g=c;if((l|0)>(g|0)){continue}break}C=C+1|0;r=r- -64|0;d=f;if((j|0)>(d|0)){continue}break}break a}p=xe(a,0);k=xe(e,0);d=v[e+32>>2];bx(e,0);if(v[a+20>>2]>=1){m=(d+k|0)-1|0;while(1){d=(i|0)/8|0;v[o+8>>2]=d;v[o+12>>2]=i-(d<<3);d=v[a+52>>2];if((d|0)>=1){n=128>>>v[o+12>>2]|0;z=p+B(d,i)|0;g=k+v[o+8>>2]|0;b=0;while(1){c=v[e+52>>2];d=g+B(c,v[e+20>>2]+(b<<3^-1)|0)|0;e:{if(d>>>0>>0|d>>>0>m>>>0){break e}l=b+z|0;if(t[l|0]<=-1){t[d|0]=n|w[d|0];c=v[e+52>>2]}f=d-c|0;if(f>>>0>>0|f>>>0>m>>>0){break e}if(w[l|0]&64){t[f|0]=n|w[f|0];c=v[e+52>>2]}f=d-(c<<1)|0;if(f>>>0>>0|f>>>0>m>>>0){break e}if(w[l|0]&32){t[f|0]=n|w[f|0];c=v[e+52>>2]}f=d+B(c,-3)|0;if(f>>>0>>0|f>>>0>m>>>0){break e}if(w[l|0]&16){t[f|0]=n|w[f|0];c=v[e+52>>2]}f=d-(c<<2)|0;if(f>>>0>>0|f>>>0>m>>>0){break e}if(w[l|0]&8){t[f|0]=n|w[f|0];c=v[e+52>>2]}f=d+B(c,-5)|0;if(f>>>0>>0|f>>>0>m>>>0){break e}if(w[l|0]&4){t[f|0]=n|w[f|0];c=v[e+52>>2]}f=d+B(c,-6)|0;if(f>>>0>>0|f>>>0>m>>>0){break e}if(w[l|0]&2){t[f|0]=n|w[f|0];c=v[e+52>>2]}d=B(c,-7)+d|0;if(!(t[l|0]&1)|(d>>>0>>0|d>>>0>m>>>0)){break e}t[d|0]=n|w[d|0]}b=b+1|0;if((b|0)>2]){continue}break}}i=i+1|0;if((i|0)>2]){continue}break}}if(!(!v[a+964>>2]|(h|0)<1|(j|0)<1)){g=0;while(1){d=(g^-1)+h|0;b=0;while(1){gh(e,b,g,w[v[a+964>>2]+(d+B(v[a+16>>2],b)|0)|0]);b=b+1|0;if((j|0)!=(b|0)){continue}break}g=g+1|0;if((h|0)!=(g|0)){continue}break}}if(!v[a+960>>2]){break a}v[e+372>>2]=v[a+384>>2];v[e+380>>2]=v[a+376>>2];v[e+384>>2]=h-v[a+380>>2];v[e+376>>2]=h-v[a+372>>2];if((h|0)<1|(j|0)<1){break a}g=0;while(1){d=(g^-1)+h|0;b=0;while(1){XA(e,b,g,w[v[a+960>>2]+(d+B(v[a+16>>2],b)|0)|0]);b=b+1|0;if((j|0)!=(b|0)){continue}break}g=g+1|0;if((h|0)!=(g|0)){continue}break}}ek(a,e,1);v[e>>2]=1032;_g(e);Jg(e)}Qb=o+992|0}function LH(a,b,c){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,p=0,q=0,r=0,s=0,t=0;a:{b:{j=v[a+176>>2];g=v[a+212>>2];f=g>>8;o=c>>8;c:{if((j|0)<=(f|0)&(o|0)>=(j|0)){break c}e=v[a+172>>2];if((e|0)>(f|0)&(e|0)>(o|0)){break c}q=c&255;e=g&255;d=v[a+208>>2];if((f|0)==(o|0)){_z(a,f,d,e,b,q);break c}k=c-g|0;m=b-d|0;if(!m){g=(k|0)>0;m=g<<8;h=m-e|0;i=h+v[a+184>>2]|0;v[a+184>>2]=i;e=1;q=d<<1&510;h=v[a+180>>2]+B(q,h)|0;v[a+180>>2]=h;k=d>>8;l=g?1:-1;g=l+f|0;if(!(v[a+188>>2]|!(h|i))){j=v[a+156>>2];d:{e:{f:{h=v[a+192>>2]+(v[a+160>>2]-v[a+172>>2]<<2)|0;d=v[h>>2];g:{if(!d){d=0;break g}i=v[d>>2];if((j|0)<(i|0)){break g}h:{while(1){f=d;if((j|0)==(i|0)){break f}d=v[f+12>>2];if(d){i=v[d>>2];if((j|0)<(i|0)){break h}continue}break}d=0}h=f+12|0}f=v[a+204>>2];if((f|0)>=v[a+200>>2]){break e}v[a+204>>2]=f+1;f=v[a+196>>2]+(f<<4)|0;v[f>>2]=j;v[f+8>>2]=v[a+180>>2];j=v[a+184>>2];v[f+12>>2]=d;v[f+4>>2]=j;v[h>>2]=f;break d}v[f+8>>2]=v[f+8>>2]+v[a+180>>2];v[f+4>>2]=v[f+4>>2]+v[a+184>>2];break d}sd(a,1);L()}j=v[a+176>>2]}v[a+160>>2]=g;d=v[a+164>>2];f=(d|0)>(k|0)?d-1|0:k;v[a+156>>2]=f;e=v[a+172>>2]>(g|0)|(g|0)>=(j|0)?e:(k|0)>=v[a+168>>2];v[a+188>>2]=e;if((g|0)!=(o|0)){n=(m<<1)-256|0;p=B(n,q);while(1){i:{if(e){break i}j:{h=v[a+192>>2]+(g-v[a+172>>2]<<2)|0;e=v[h>>2];k:{if(!e){e=0;break k}i=v[e>>2];if((f|0)<(i|0)){break k}l:{while(1){d=e;if((f|0)==(i|0)){break j}e=v[d+12>>2];if(e){i=v[e>>2];if((f|0)<(i|0)){break l}continue}break}e=0}h=d+12|0}d=v[a+204>>2];if((d|0)>=v[a+200>>2]){break b}v[a+204>>2]=d+1;d=v[a+196>>2]+(d<<4)|0;v[d+8>>2]=p;v[d>>2]=f;v[d+12>>2]=e;v[d+4>>2]=n;v[h>>2]=d;break i}v[d+8>>2]=p+v[d+8>>2];v[d+4>>2]=n+v[d+4>>2]}g=g+l|0;v[a+160>>2]=g;v[a+156>>2]=f;e=1;e=v[a+172>>2]>(g|0)|(g|0)>=(j|0)?e:(k|0)>=v[a+168>>2];v[a+188>>2]=e;if((g|0)!=(o|0)){continue}break}}e=m+(c|-256)|0;v[a+184>>2]=e;v[a+180>>2]=B(e,q);break c}p=1;g=a;j=f;h=d;i=e;m:{if((k|0)>=1){n=256;e=256-e|0;break m}k=0-k|0;p=-1}l=j;j=d;e=B(e,m);d=(e|0)/(k|0)|0;r=e-B(d,k)|0;s=r>>31;j=(j+d|0)+s|0;_z(g,l,h,i,j,n);n:{if(v[a+188>>2]){break n}i=v[a+180>>2];if(!(v[a+184>>2]?1:i)){break n}g=v[a+156>>2];o:{l=v[a+192>>2]+(v[a+160>>2]-v[a+172>>2]<<2)|0;e=v[l>>2];p:{if(!e){e=0;break p}h=v[e>>2];if((g|0)<(h|0)){break p}q:{while(1){d=e;if((g|0)==(h|0)){break o}e=v[d+12>>2];if(e){h=v[e>>2];if((g|0)<(h|0)){break q}continue}break}e=0}l=d+12|0}d=v[a+204>>2];if((d|0)>=v[a+200>>2]){break a}v[a+204>>2]=d+1;d=v[a+196>>2]+(d<<4)|0;v[d+8>>2]=i;v[d>>2]=g;g=v[a+184>>2];v[d+12>>2]=e;v[d+4>>2]=g;v[l>>2]=d;break n}v[d+8>>2]=i+v[d+8>>2];v[d+4>>2]=v[d+4>>2]+v[a+184>>2]}v[a+180>>2]=0;v[a+184>>2]=0;g=f+p|0;v[a+160>>2]=g;d=v[a+164>>2];e=j>>8;v[a+156>>2]=(d|0)>(e|0)?d-1|0:e;d=1;v[a+188>>2]=v[a+176>>2]<=(g|0)|v[a+172>>2]>(g|0)?d:(e|0)>=v[a+168>>2];r:{if((g|0)==(o|0)){m=256-n|0;break r}e=r+(k&s)|0;f=m<<8;d=(f|0)/(k|0)|0;f=f-B(d,k)|0;h=f>>31;s=(h&k)+f|0;t=d+h|0;m=256-n|0;while(1){d=j;l=e+s|0;j=(j+t|0)+((l|0)>=(k|0))|0;_z(a,g,d,m,j,n);s:{if(v[a+188>>2]){break s}i=v[a+180>>2];if(!(v[a+184>>2]?1:i)){break s}f=v[a+156>>2];t:{r=v[a+192>>2]+(v[a+160>>2]-v[a+172>>2]<<2)|0;e=v[r>>2];u:{if(!e){e=0;break u}h=v[e>>2];if((f|0)<(h|0)){break u}v:{while(1){d=e;if((f|0)==(h|0)){break t}e=v[d+12>>2];if(e){h=v[e>>2];if((f|0)<(h|0)){break v}continue}break}e=0}r=d+12|0}d=v[a+204>>2];if((d|0)>=v[a+200>>2]){break a}v[a+204>>2]=d+1;d=v[a+196>>2]+(d<<4)|0;v[d+8>>2]=i;v[d>>2]=f;f=v[a+184>>2];v[d+12>>2]=e;v[d+4>>2]=f;v[r>>2]=d;break s}v[d+8>>2]=i+v[d+8>>2];v[d+4>>2]=v[d+4>>2]+v[a+184>>2]}d=(k|0)>(l|0)?0:k;v[a+180>>2]=0;v[a+184>>2]=0;g=g+p|0;v[a+160>>2]=g;f=v[a+164>>2];e=j>>8;v[a+156>>2]=(e|0)<(f|0)?f-1|0:e;i=1;i=v[a+176>>2]<=(g|0)|v[a+172>>2]>(g|0)?i:(e|0)>=v[a+168>>2];e=l-d|0;v[a+188>>2]=i;if((g|0)!=(o|0)){continue}break}}_z(a,o,j,m,b,q)}v[a+212>>2]=c;v[a+208>>2]=b;return}v[a+184>>2]=n;v[a+180>>2]=p}sd(a,1);L()}function wV(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;m=-1;a:{if(!a|b>>>0<8){break a}j=v[a+4>>2];if(!j){break a}i=v[a+8>>2];m=0;e=B(b,20);c=Ub[v[259704]](e)|0;v[a+4>>2]=c;if(!c){v[a+4>>2]=j;return-1}ic(c,0,e);v[a+8>>2]=b;b:{if(!i){break b}c:{if((i|0)==128){while(1){e=B(h,20)+j|0;d:{if(!v[e+12>>2]){break d}d=v[e+8>>2];c=v[e+4>>2];l=v[a+8>>2];e:{if((l|0)!=128){b=0;if(!c|(d|0)<1){break e}g=d&3;f=v[a+24>>2];if(d-1>>>0>=3){k=d&-4;while(1){d=B(w[b+c|0]+f|0,1025);d=B(w[c+(b|1)|0]+(d>>>6^d)|0,1025);d=B(w[c+(b|2)|0]+(d>>>6^d)|0,1025);d=B(w[c+(b|3)|0]+(d>>>6^d)|0,1025);f=d>>>6^d;b=b+4|0;k=k-4|0;if(k){continue}break}}if(g){while(1){d=B(w[b+c|0]+f|0,1025);f=d>>>6^d;b=b+1|0;g=g-1|0;if(g){continue}break}}b=B(f,9);b=B(b>>>11^b,32769);break e}if(!c){b=0;break e}b=w[c|0]<<5;f:{g:{h:{i:{j:{k:{l:{m:{n:{if((d|0)<=10){switch(d-2|0){case 0:break f;case 1:break g;case 2:break h;case 3:break i;case 4:break j;case 5:break k;case 6:break l;case 7:break m;case 8:break n;default:break e}}b=w[(c+d|0)-1|0]+b|0}b=w[c+9|0]+b|0}b=w[c+8|0]+b|0}b=w[c+7|0]+b|0}b=w[c+6|0]+b|0}b=w[c+5|0]+b|0}b=w[c+4|0]+b|0}b=w[c+3|0]+b|0}b=w[c+2|0]+b|0}b=w[c+1|0]+b|0}d=B((b>>>0)%(l>>>0)|0,20);c=d+v[a+4>>2]|0;if(v[c+12>>2]){c=Ub[v[259704]](20)|0;if(!c){m=-1;break d}v[c+4>>2]=v[e+4>>2];e=v[e+8>>2];v[c+16>>2]=b;v[c+8>>2]=e;b=d+v[a+4>>2]|0;e=v[b>>2];v[c+12>>2]=1;v[c>>2]=e;v[b>>2]=c;break d}f=v[e+4>>2];v[c>>2]=v[e>>2];v[c+4>>2]=f;v[c+16>>2]=v[e+16>>2];f=v[e+12>>2];v[c+8>>2]=v[e+8>>2];v[c+12>>2]=f;c=d+v[a+4>>2]|0;v[c+16>>2]=b;v[c>>2]=0}h=h+1|0;if((h|0)!=128){continue}break}break c}b=0;while(1){c=B(b,20)+j|0;o:{if(!v[c+12>>2]){break o}d=v[c+16>>2];f=B((d>>>0)%y[a+8>>2]|0,20);e=f+v[a+4>>2]|0;if(!v[e+12>>2]){h=v[c+4>>2];v[e>>2]=v[c>>2];v[e+4>>2]=h;v[e+16>>2]=v[c+16>>2];h=v[c+12>>2];v[e+8>>2]=v[c+8>>2];v[e+12>>2]=h;c=f+v[a+4>>2]|0;v[c+16>>2]=d;v[c>>2]=0;break o}e=Ub[v[259704]](20)|0;if(!e){m=-1;break o}v[e+4>>2]=v[c+4>>2];c=v[c+8>>2];v[e+16>>2]=d;v[e+8>>2]=c;c=f+v[a+4>>2]|0;d=v[c>>2];v[e+12>>2]=1;v[e>>2]=d;v[c>>2]=e}b=b+1|0;if((i|0)!=(b|0)){continue}break}}if(!i){break b}h=0;if((i|0)==128){while(1){c=v[B(h,20)+j>>2];if(c){while(1){i=v[c+8>>2];d=v[c+4>>2];e=v[c>>2];l=v[a+8>>2];p:{if((l|0)!=128){b=0;if(!d|(i|0)<1){break p}g=i&3;f=v[a+24>>2];if(i-1>>>0>=3){k=i&-4;while(1){f=B(w[b+d|0]+f|0,1025);f=B(w[d+(b|1)|0]+(f>>>6^f)|0,1025);f=B(w[d+(b|2)|0]+(f>>>6^f)|0,1025);f=B(w[d+(b|3)|0]+(f>>>6^f)|0,1025);f=f>>>6^f;b=b+4|0;k=k-4|0;if(k){continue}break}}if(g){while(1){f=B(w[b+d|0]+f|0,1025);f=f>>>6^f;b=b+1|0;g=g-1|0;if(g){continue}break}}b=B(f,9);b=B(b>>>11^b,32769);break p}if(!d){b=0;break p}b=w[d|0]<<5;q:{r:{s:{t:{u:{v:{w:{x:{y:{if((i|0)<=10){switch(i-2|0){case 0:break q;case 1:break r;case 2:break s;case 3:break t;case 4:break u;case 5:break v;case 6:break w;case 7:break x;case 8:break y;default:break p}}b=w[(d+i|0)-1|0]+b|0}b=w[d+9|0]+b|0}b=w[d+8|0]+b|0}b=w[d+7|0]+b|0}b=w[d+6|0]+b|0}b=w[d+5|0]+b|0}b=w[d+4|0]+b|0}b=w[d+3|0]+b|0}b=w[d+2|0]+b|0}b=w[d+1|0]+b|0}f=B((b>>>0)%(l>>>0)|0,20);d=f+v[a+4>>2]|0;z:{if(v[d+12>>2]){f=v[d>>2];v[c+16>>2]=b;v[c>>2]=f;v[d>>2]=c;break z}g=v[c+4>>2];v[d>>2]=v[c>>2];v[d+4>>2]=g;v[d+16>>2]=v[c+16>>2];g=v[c+12>>2];v[d+8>>2]=v[c+8>>2];v[d+12>>2]=g;d=f+v[a+4>>2]|0;v[d+12>>2]=1;v[d+16>>2]=b;v[d>>2]=0;Ub[v[259708]](c)}c=e;if(c){continue}break}}h=h+1|0;if((h|0)!=128){continue}break b}}while(1){b=v[B(h,20)+j>>2];if(b){while(1){c=v[b>>2];d=v[b+16>>2];f=B((d>>>0)%y[a+8>>2]|0,20);e=f+v[a+4>>2]|0;A:{if(!v[e+12>>2]){g=v[b+4>>2];v[e>>2]=v[b>>2];v[e+4>>2]=g;v[e+16>>2]=v[b+16>>2];g=v[b+12>>2];v[e+8>>2]=v[b+8>>2];v[e+12>>2]=g;e=f+v[a+4>>2]|0;v[e+12>>2]=1;v[e+16>>2]=d;v[e>>2]=0;Ub[v[259708]](b);break A}f=v[e>>2];v[b+16>>2]=d;v[b>>2]=f;v[e>>2]=b}b=c;if(c){continue}break}}h=h+1|0;if((i|0)!=(h|0)){continue}break}}Ub[v[259708]](j)}return m}function xTa(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,j=0,k=0;h=Qb-224|0;Qb=h;a:{b:{c:{d:{e:{if(!w[a+2832|0]){v[h+216>>2]=0;v[h+220>>2]=0;b=v[b>>2];i=v[b+44>>2];v[h+208>>2]=v[b+40>>2];v[h+212>>2]=i;i=v[b+36>>2];v[h+200>>2]=v[b+32>>2];v[h+204>>2]=i;i=v[b+28>>2];v[h+192>>2]=v[b+24>>2];v[h+196>>2]=i;i=v[b+20>>2];v[h+184>>2]=v[b+16>>2];v[h+188>>2]=i;i=v[b+12>>2];v[h+176>>2]=v[b+8>>2];v[h+180>>2]=i;i=v[b+4>>2];v[h+168>>2]=v[b>>2];v[h+172>>2]=i;v[299999]=0;fn(h+168|0);b=v[299999];v[299999]=0;f:{g:{if((b|0)!=1){v[h+120>>2]=h+168;v[h+112>>2]=0;v[h+104>>2]=0;v[h+108>>2]=0;v[h+96>>2]=0;v[h+100>>2]=0;if((f|0)>-1){break g}v[h+104>>2]=d;v[h+108>>2]=e;v[h+112>>2]=f;b=B(e-1|0,f)+c|0;v[h+96>>2]=b;v[h+100>>2]=b+B(1-e|0,f);break f}break a}v[h+112>>2]=f;v[h+108>>2]=e;v[h+104>>2]=d;v[h+96>>2]=c;v[h+100>>2]=c}v[h+88>>2]=h+96;b=0;v[h+68>>2]=0;v[h+64>>2]=h+88;v[h+56>>2]=128;v[h+60>>2]=128;v[h+48>>2]=0;v[h+52>>2]=1071644672;v[h+40>>2]=0;v[h+44>>2]=1071644672;v[h+32>>2]=0;v[h+28>>2]=h+120;v[h+24>>2]=h- -64;v[h+8>>2]=a+1564;v[h+16>>2]=h+24;v[h+12>>2]=h+216;j=A[a+2824>>3]*+(g>>>0)/255;h:{if(!(D(j+-1)<1.1920928955078125e-7)){c=a+1760|0;while(1){e=c+(b<<2)|0;k=F(j*(+(b|0)/255),1)*255+.5;i:{if(k<4294967296&k>=0){d=~~k>>>0;break i}d=0}v[e>>2]=d;d=b|1;e=c+(d<<2)|0;k=F(j*(+(d|0)/255),1)*255+.5;j:{if(k<4294967296&k>=0){d=~~k>>>0;break j}d=0}v[e>>2]=d;b=b+2|0;if((b|0)!=256){continue}break}b=0;v[299999]=0;V(2410,a|0,h+8|0);c=v[299999];v[299999]=0;if((c|0)==1){break h}a=a+1760|0;while(1){d=a+(b<<2)|0;j=+(b|0)/255*255+.5;k:{if(j<4294967296&j>=0){c=~~j>>>0;break k}c=0}v[d>>2]=c;c=b|1;d=a+(c<<2)|0;j=+(c|0)/255*255+.5;l:{if(j<4294967296&j>=0){c=~~j>>>0;break l}c=0}v[d>>2]=c;b=b+2|0;if((b|0)!=256){continue}break}break c}v[299999]=0;V(2410,a|0,h+8|0);a=v[299999];v[299999]=0;if((a|0)!=1){break c}}b=P()|0;O()|0;a=v[h+216>>2];if(!a){break e}dc(a);T(b|0);L()}v[h+216>>2]=0;v[h+220>>2]=0;b=v[b>>2];i=v[b+44>>2];v[h+208>>2]=v[b+40>>2];v[h+212>>2]=i;i=v[b+36>>2];v[h+200>>2]=v[b+32>>2];v[h+204>>2]=i;i=v[b+28>>2];v[h+192>>2]=v[b+24>>2];v[h+196>>2]=i;i=v[b+20>>2];v[h+184>>2]=v[b+16>>2];v[h+188>>2]=i;i=v[b+12>>2];v[h+176>>2]=v[b+8>>2];v[h+180>>2]=i;i=v[b+4>>2];v[h+168>>2]=v[b>>2];v[h+172>>2]=i;v[299999]=0;fn(h+168|0);b=v[299999];v[299999]=0;m:{n:{if((b|0)!=1){v[h+120>>2]=h+168;v[h+112>>2]=0;v[h+104>>2]=0;v[h+108>>2]=0;v[h+96>>2]=0;v[h+100>>2]=0;if((f|0)>-1){break n}v[h+104>>2]=d;v[h+108>>2]=e;v[h+112>>2]=f;b=B(e-1|0,f)+c|0;v[h+96>>2]=b;v[h+100>>2]=b+B(1-e|0,f);break m}break a}v[h+112>>2]=f;v[h+108>>2]=e;v[h+104>>2]=d;v[h+96>>2]=c;v[h+100>>2]=c}v[h+88>>2]=h+96;b=0;v[h+68>>2]=0;v[h+64>>2]=h+88;v[h+56>>2]=128;v[h+60>>2]=128;v[h+48>>2]=0;v[h+52>>2]=1071644672;v[h+40>>2]=0;v[h+44>>2]=1071644672;v[h+32>>2]=0;v[h+28>>2]=h+120;v[h+24>>2]=h- -64;v[h+8>>2]=a+1564;v[h+16>>2]=h+24;v[h+12>>2]=h+216;j=A[a+2824>>3]*+(g>>>0)/255;o:{if(!(D(j+-1)<1.1920928955078125e-7)){c=a+1760|0;while(1){e=c+(b<<2)|0;k=F(j*(+(b|0)/255),1)*255+.5;p:{if(k<4294967296&k>=0){d=~~k>>>0;break p}d=0}v[e>>2]=d;d=b|1;e=c+(d<<2)|0;k=F(j*(+(d|0)/255),1)*255+.5;q:{if(k<4294967296&k>=0){d=~~k>>>0;break q}d=0}v[e>>2]=d;b=b+2|0;if((b|0)!=256){continue}break}b=0;v[299999]=0;V(2411,a|0,h+8|0);c=v[299999];v[299999]=0;if((c|0)==1){break o}a=a+1760|0;while(1){d=a+(b<<2)|0;j=+(b|0)/255*255+.5;r:{if(j<4294967296&j>=0){c=~~j>>>0;break r}c=0}v[d>>2]=c;c=b|1;d=a+(c<<2)|0;j=+(c|0)/255*255+.5;s:{if(j<4294967296&j>=0){c=~~j>>>0;break s}c=0}v[d>>2]=c;b=b+2|0;if((b|0)!=256){continue}break}break d}v[299999]=0;V(2411,a|0,h+8|0);a=v[299999];v[299999]=0;if((a|0)!=1){break d}}b=P()|0;O()|0;a=v[h+216>>2];if(!a){break e}dc(a)}T(b|0);L()}a=v[h+216>>2];if(!a){break b}dc(a);break b}a=v[h+216>>2];if(!a){break b}dc(a)}Qb=h+224|0;return}a=P()|0;O()|0;T(a|0);L()}function Iya(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=Qb-288|0;Qb=d;v[a>>2]=961912;v[a+4>>2]=b;v[d+272>>2]=13;v[d+256>>2]=13;v[d+240>>2]=13;v[d+224>>2]=13;v[d+208>>2]=13;v[d+192>>2]=13;v[d+176>>2]=13;v[d+160>>2]=13;v[d+144>>2]=13;v[d+128>>2]=13;v[d+112>>2]=13;v[d+96>>2]=13;v[d+80>>2]=13;v[d+64>>2]=13;v[d+48>>2]=13;v[d+32>>2]=13;v[d+16>>2]=13;v[a+68>>2]=0;v[a+72>>2]=0;v[a+48>>2]=0;v[a+76>>2]=0;v[a+80>>2]=0;v[a+84>>2]=0;v[a+88>>2]=0;rc(v[c+8>>2],309776,d+272|0,0);rc(v[c+8>>2],311880,d+256|0,0);rc(v[c+8>>2],268438,d+240|0,0);rc(v[c+8>>2],312035,d+224|0,0);rc(v[c+8>>2],309807,d+208|0,0);rc(v[c+8>>2],321343,d+192|0,0);rc(v[c+8>>2],321235,d+176|0,0);rc(v[c+8>>2],311953,d+160|0,0);rc(v[v[v[a+4>>2]+24>>2]+48>>2],321617,d+144|0,0);a:{b:{c:{if(!(v[d+272>>2]!=1|v[d+256>>2]!=1|(v[d+160>>2]!=1|v[d+224>>2]!=3))){if(v[d+208>>2]==3){break c}}kc(1,-1,235093,0);break b}f=v[d+280>>2];v[a+52>>2]=f;b=v[d+264>>2];v[a+60>>2]=0;v[a+56>>2]=b;e=5;e=(b|0)==2|v[d+240>>2]!=1?e:v[d+248>>2]/8|0;v[a+64>>2]=1;v[a+48>>2]=e;d:{if(!((f&-2)!=4|b-4>>>0>2)){rc(v[c+8>>2],321011,d+112|0,0);rc(v[c+8>>2],320953,d+96|0,0);rc(v[c+8>>2],320948,d+80|0,0);e:{if(v[d+112>>2]!=7|v[d+96>>2]!=4|v[d+80>>2]!=4){break e}b=v[d+104>>2];if(mc(b,v[d+88>>2])){break e}if(!mc(b,217754)){hc(d+80|0);hc(d+96|0);hc(d+112|0);break b}if(v[rc(v[d+120>>2],b,d- -64|0,0)>>2]==7){rc(v[d+72>>2],316399,d+48|0,0);f:{if(v[d+48>>2]!=4){break f}b=v[d+56>>2];if(!mc(b,329331)){if(v[rc(v[d+72>>2],268438,d+32|0,0)>>2]==1){v[a+48>>2]=v[d+40>>2]}hc(d+32|0);v[a+52>>2]=2;v[a+56>>2]=3;break f}if(!mc(b,329328)){if(v[rc(v[d+72>>2],268438,d+32|0,0)>>2]==1){v[a+48>>2]=v[d+40>>2]}hc(d+32|0);v[a+60>>2]=1;v[a+52>>2]=2;v[a+56>>2]=3;break f}if(mc(b,327975)){break f}if(v[rc(v[d+72>>2],268438,d+32|0,0)>>2]==1){v[a+48>>2]=v[d+40>>2]}hc(d+32|0);if(v[a+48>>2]==16){v[a+60>>2]=1;v[a+52>>2]=2;v[a+56>>2]=3;break f}v[a+52>>2]=5;if(v[a+56>>2]-5>>>0>=2){v[a+56>>2]=6}v[a+60>>2]=2}hc(d+48|0)}hc(d- -64|0)}hc(d+80|0);hc(d+96|0);hc(d+112|0);if(!v[rc(v[c+8>>2],304083,d+16|0,0)>>2]){v[a+64>>2]=v[d+24>>2]}hc(d+16|0);b=v[a+56>>2]}if((b|0)<=4){if(v[v[d+232>>2]>>2]==32&v[v[d+216>>2]>>2]==32){break d}kc(1,-1,268257,0);break d}if((b|0)>6){break d}g:{if(v[v[d+232>>2]>>2]<48|v[v[d+216>>2]>>2]<48|(v[d+192>>2]!=3|v[v[d+200>>2]>>2]!=32)){break g}if(v[d+176>>2]!=3){break g}if(v[v[d+184>>2]>>2]==32){break d}}kc(1,-1,268257,0);break b}v[a+8>>2]=v[d+168>>2];c=v[d+232>>2];b=fc(8);v[299999]=0;Q(3064,b|0,c|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}v[a+68>>2]=b;c=v[d+216>>2];b=fc(8);v[299999]=0;c=Q(3064,b|0,c|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break a}v[a+72>>2]=b;h:{if(v[a+56>>2]>4){break h}b=v[a+68>>2];if(v[b>>2]<32){while(1){gd(b,0);b=v[a+68>>2];if(v[b>>2]<32){continue}break}c=v[a+72>>2]}if(v[c>>2]>=32){break h}while(1){gd(c,0);c=v[a+72>>2];if(v[c>>2]<32){continue}break}}i:{c=v[a+52>>2];if(c-1>>>0<=1){b=v[a+56>>2];if((b&-2)!=2){break i}j:{if(v[d+144>>2]==6){k:{if(v[yc(v[d+152>>2],0,d+128|0,0)>>2]==3){g=a,h=iu(v[d+136>>2]),v[g+84>>2]=h;break k}b=fc(8);v[299999]=0;S(3312,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}v[a+84>>2]=b}hc(d+128|0);break j}b=fc(8);v[299999]=0;S(3312,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}v[a+84>>2]=b}if(v[a+48>>2]-1>>>0>=16){v[a+48>>2]=16}v[a+88>>2]=1;break b}b=v[a+56>>2];if((c|0)!=5|b-5>>>0>1){break i}b=fc(8);v[299999]=0;S(3312,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}v[a+84>>2]=b;g=a,h=iu(v[d+200>>2]),v[g+76>>2]=h;g=a,h=iu(v[d+184>>2]),v[g+80>>2]=h;if(v[a+48>>2]-1>>>0>=32){v[a+48>>2]=32}v[a+88>>2]=1;break b}v[d+4>>2]=b;v[d>>2]=c;kc(6,-1,239563,d)}hc(d+144|0);hc(d+160|0);hc(d+176|0);hc(d+192|0);hc(d+208|0);hc(d+224|0);hc(d+240|0);hc(d+256|0);hc(d+272|0);Qb=d+288|0;return a|0}a=P()|0;O()|0;dc(b);T(a|0);L()}function Mgb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=v[a+44>>2];h=v[a+40>>2];b=v[a+52>>2];Ub[v[v[b>>2]+20>>2]](b,2)|0;Ub[v[v[b>>2]+20>>2]](b,2)|0;j=h,k=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[j+8>>2]=k;j=h,k=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[j+12>>2]=k;j=h,k=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[j>>2]=k;j=h,k=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[j+4>>2]=k;j=c,k=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[j+36>>2]=k;j=c,k=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[j+40>>2]=k;j=c,k=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[j+28>>2]=k;j=c,k=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[j+32>>2]=k;d=Ub[v[v[b>>2]+20>>2]](b,2)|0;v[h+16>>2]=d;a:{b:{g=B(d,48);e=jc(g);if(e){d=0;j=h,k=ic(e,0,g),v[j+24>>2]=k;if(v[h+16>>2]>0){while(1){g=Ub[v[v[b>>2]+20>>2]](b,1)|0;e=B(d,48);f=e+v[h+24>>2]|0;v[f+32>>2]=g>>7;v[f+24>>2]=(g&127)+1;g=Ub[v[v[b>>2]+20>>2]](b,1)|0;v[e+v[h+24>>2]>>2]=g;f=Ub[v[v[b>>2]+20>>2]](b,1)|0;g=e+v[h+24>>2]|0;v[g+36>>2]=0;v[g+40>>2]=0;v[g+4>>2]=f;d=d+1|0;if((d|0)>2]){continue}break}}b=v[c+36>>2];b=(b+(v[h+8>>2]+(v[c+28>>2]^-1)|0)|0)/(b|0)|0;v[c+48>>2]=b;d=v[c+40>>2];d=(d+(v[h+12>>2]+(v[c+32>>2]^-1)|0)|0)/(d|0)|0;v[c+52>>2]=d;d=B(B(b,d),1876);b=jc(d);if(!b){v[c+88>>2]=0;c=v[h+24>>2];if(c){dc(c);v[h+24>>2]=0}break a}j=c,k=ic(b,0,d),v[j+88>>2]=k;d=B(v[c+48>>2],v[c+52>>2])<<2;g=jc(d);if(!g){v[c+56>>2]=0;d=v[h+24>>2];if(d){dc(d);v[h+24>>2]=0;b=v[c+88>>2]}if(b){dc(b);v[c+88>>2]=0}break a}b=ic(g,0,d);v[c+60>>2]=0;v[c+56>>2]=b;e=B(v[c+52>>2],v[c+48>>2]);c:{if((e|0)<1){break c}g=e&3;d=v[c+88>>2];b=0;if(e-1>>>0>=3){e=e&-4;while(1){f=d+B(b,1876)|0;v[f+420>>2]=0;v[f+424>>2]=0;v[f>>2]=1;f=d+B(b|1,1876)|0;v[f>>2]=1;v[f+420>>2]=0;v[f+424>>2]=0;f=d+B(b|2,1876)|0;v[f>>2]=1;v[f+420>>2]=0;v[f+424>>2]=0;f=d+B(b|3,1876)|0;v[f>>2]=1;v[f+420>>2]=0;v[f+424>>2]=0;b=b+4|0;e=e-4|0;if(e){continue}break}}if(!g){break c}while(1){e=d+B(b,1876)|0;v[e+420>>2]=0;v[e+424>>2]=0;v[e>>2]=1;b=b+1|0;g=g-1|0;if(g){continue}break}}v[c+64>>2]=0;v[c+68>>2]=0;b=0;v[c+80>>2]=0;v[c+72>>2]=0;v[c+76>>2]=0;d=B(v[h+16>>2],1076);g=jc(d);if(!g){break b}d=ic(g,0,d);v[v[a+36>>2]+1872>>2]=d;d=v[c+52>>2];g=v[c+48>>2];if((B(d,g)|0)>0){while(1){d:{e=B(v[h+16>>2],1076);f=jc(e);if(f){d=ic(f,0,e);v[(v[c+88>>2]+B(b,1876)|0)+1872>>2]=d;d=v[c+52>>2];g=v[c+48>>2];break d}e=v[c+88>>2];v[(e+B(b,1876)|0)+1872>>2]=0;if(!b){break d}b=v[e+1872>>2];if(b){dc(b);v[e+1872>>2]=0}b=v[h+24>>2];if(b){dc(b);v[h+24>>2]=0}b=v[c+88>>2];if(b){dc(b);v[c+88>>2]=0}b=v[c+56>>2];if(b){dc(b);v[c+56>>2]=0}c=v[a+36>>2];b=v[c+1872>>2];if(b){dc(b);v[c+1872>>2]=0}break a}b=b+1|0;if((b|0)<(B(d,g)|0)){continue}break}}e=B(d,g);f=e<<2;i=jc(f);if(!i){b=0;v[a+28>>2]=0;if((e|0)>0){while(1){e=v[c+88>>2]+B(b,1876)|0;f=v[e+1872>>2];if(f){dc(f);v[e+1872>>2]=0;g=v[c+48>>2];d=v[c+52>>2]}b=b+1|0;if((b|0)<(B(d,g)|0)){continue}break}}b=v[h+24>>2];if(b){dc(b);v[h+24>>2]=0}b=v[c+88>>2];if(b){dc(b);v[c+88>>2]=0}b=v[c+56>>2];if(b){dc(b);v[c+56>>2]=0}b=v[a+36>>2];c=v[b+1872>>2];e:{if(c){dc(c);v[b+1872>>2]=0;b=v[a+36>>2];if(!b){break e}}dc(b);v[a+36>>2]=0}break a}b=0;j=a,k=ic(i,0,f),v[j+28>>2]=k;d=v[c+48>>2];g=v[c+52>>2];e=B(d,g);f=e<<2;i=jc(f);if(!i){v[a+32>>2]=0;if((e|0)>0){while(1){e=v[c+88>>2]+B(b,1876)|0;f=v[e+1872>>2];if(f){dc(f);v[e+1872>>2]=0;g=v[c+52>>2];d=v[c+48>>2]}b=b+1|0;if((b|0)<(B(d,g)|0)){continue}break}}b=v[h+24>>2];if(b){dc(b);v[h+24>>2]=0}b=v[c+88>>2];if(b){dc(b);v[c+88>>2]=0}b=v[c+56>>2];if(b){dc(b);v[c+56>>2]=0}b=v[a+36>>2];c=v[b+1872>>2];f:{if(c){dc(c);v[b+1872>>2]=0;b=v[a+36>>2];if(!b){break f}}dc(b);v[a+36>>2]=0}c=v[a+28>>2];if(c){dc(c);v[a+28>>2]=0}break a}c=ic(i,0,f);v[a+4>>2]=4;v[a+32>>2]=c;return}v[h+24>>2]=0;break a}v[v[a+36>>2]+1872>>2]=0;b=v[h+24>>2];if(b){dc(b);v[h+24>>2]=0}b=v[c+88>>2];if(b){dc(b);v[c+88>>2]=0}b=v[c+56>>2];if(b){dc(b);v[c+56>>2]=0}v[v[a>>2]+20>>2]=1;return}v[v[a>>2]+20>>2]=1}function Iga(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=Qb-48|0;Qb=g;a:{b:{if(v[a+36>>2]>=1){b=vc(g+16|0,276581,241788,178,340855,0);v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break a}a=P()|0;O()|0;qc(b);break b}e=v[a+24>>2];if(!(!e|w[e+20|0])){b=vc(g+16|0,219610,241788,180,340855,0);v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break a}a=P()|0;O()|0;qc(b);break b}v[a+36>>2]=-1;c:{d:{e:{f:{g:{h:{i=v[a+28>>2];h=v[a+32>>2];if((i|0)<(h|0)){i=v[a+16>>2];Ub[v[v[i>>2]+20>>2]](i,h,0,0)|0;i=v[a+32>>2];v[a+28>>2]=i;e=v[a+24>>2]}i:{if(e){h=0;if(v[e+8>>2]==(i|0)){break i}}if(i&1){h=v[a+16>>2];i=Ub[v[v[h>>2]+8>>2]](h,g+40|0,1)|0;e=v[a+24>>2];if(!i){h=0;if(!e){break i}}i=i+v[a+28>>2]|0;v[a+28>>2]=i}h=i;while(1){j:{if(!e){break j}e=v[e+8>>2];if((e|0)==(h|0)){h=0;break i}if((e|0)>=(h+4|0)){break j}b=vc(g+16|0,287948,241788,211,340855,0);v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break a}a=P()|0;O()|0;qc(b);break b}f=Wn(v[a+16>>2],g+40|0,4);h=f+v[a+28>>2]|0;v[a+32>>2]=h;v[a+28>>2]=h;e=v[a+24>>2];if(!(e|f)){h=0;break i}if((f|0)!=4){b=vc(g+16|0,v[282394],241788,217,340855,0);v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break a}a=P()|0;O()|0;qc(b);break b}f=w[g+43|0];j=w[g+42|0];l=w[g+40|0];k=w[g+41|0];if(!((l|0)!=83|(k|0)!=68|((j|0)!=74|(f|0)!=86))){t[a+21|0]=1;continue}if(!((l|0)!=65|(k|0)!=84|((j|0)!=38|(f|0)!=84))){t[a+20|0]=1;continue}break}if(!(!e|v[e+8>>2]>=(h+4|0))){b=vc(g+16|0,329149,241788,236,340855,0);v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break a}a=P()|0;O()|0;qc(b);break b}f=g+44|0;h=Wn(v[a+16>>2],f,4);e=h+v[a+28>>2]|0;v[a+32>>2]=e;v[a+28>>2]=e;if((h|0)!=4){b=vc(g+16|0,v[282394],241788,240,340855,0);v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break a}a=P()|0;O()|0;qc(b);break b}j=v[a+24>>2];h=v[g+44>>2];h=h<<24|h<<8&16711680|(h>>>8&65280|h>>>24);if(!(!j|v[j+8>>2]>=(h+e|0))){b=vc(g+16|0,291752,241788,246,340855,0);v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break a}a=P()|0;O()|0;qc(b);break b}k=$w(g+40|0);if((k|0)<=-1){b=vc(g+16|0,289067,241788,251,340855,0);v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break a}a=P()|0;O()|0;qc(b);break b}k:{l:{m:{if(k){if(!(!j|v[j+8>>2]>=(e+4|0))){b=vc(g+16|0,240027,241788,257,340855,0);v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break a}a=P()|0;O()|0;qc(b);break b}e=Wn(v[a+16>>2],f,4);v[a+28>>2]=e+v[a+28>>2];if((e|0)!=4){b=vc(g+16|0,v[282394],241788,261,340855,0);v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break a}a=P()|0;O()|0;qc(b);break b}if($w(f)){break m}j=v[a+24>>2];e=v[a+32>>2]}f=fc(24);v[f+8>>2]=e+h;v[f+4>>2]=e;v[f>>2]=j;e=v[g+40>>2];t[f+12|0]=e;t[f+13|0]=e>>>8;t[f+14|0]=e>>>16;t[f+15|0]=e>>>24;if(!k){break l}e=v[g+44>>2];t[f+16|0]=e;t[f+17|0]=e>>>8;t[f+18|0]=e>>>16;t[f+19|0]=e>>>24;e=1;break k}b=vc(g+16|0,289093,241788,263,340855,0);v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break a}a=P()|0;O()|0;qc(b);break b}t[f+16|0]=0;t[f+17|0]=0;t[f+18|0]=0;t[f+19|0]=0;e=0}t[f+20|0]=e;v[a+24>>2]=f;e=hD(g+16|0,f+12|0,4);v[299999]=0;Q(4535,b|0,e|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break c}ec(e);if(k){pO(g+8|0,b,322829);e=v[a+24>>2];v[299999]=0;e=Y(4605,g|0,e+16|0,4)|0;f=v[299999];v[299999]=0;if((f|0)==1){break h}v[299999]=0;U(4547,g+16|0,g+8|0,e|0);f=v[299999];v[299999]=0;if((f|0)==1){break g}v[299999]=0;Q(4535,b|0,g+16|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break f}ec(g+16|0);ec(e);ec(g+8|0)}if(c){v[c>>2]=i}if(!d){break i}v[d>>2]=(v[v[a+24>>2]+8>>2]-i|0)+1&-2}Qb=g+48|0;return h|0}a=P()|0;O()|0;break d}a=P()|0;O()|0;break e}a=P()|0;O()|0;ec(g+16|0)}ec(e)}ec(g+8|0);break b}a=P()|0;O()|0;ec(e)}T(a|0)}L()}function P5a(a){a=a|0;var 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;e=Qb-160|0;Qb=e;v[289140]=0;v[289141]=0;v[289139]=0;j=x[a+26306>>1];if(j){h=v[252391];d=x[a+26304>>1];while(1){d=d&65535;j=j-1|0;m=j&1;k=0;while(1){f=0;i=v[289141];a:{if(i){break a}g=v[289140];b:{if((g|0)>=2){b=v[289139];break b}while(1){c:{d:{b=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;e:{if((b|0)==-1){if(!v[a+26160>>2]){v[e+144>>2]=v[a+25208>>2];wc(h,8292,e+144|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,h);v[a+26160>>2]=1;break e}c=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[e+128>>2]=c;v[e+132>>2]=c>>31;wc(h,14622,e+128|0)}v[a+26160>>2]=1;break e}if(!v[a+26144>>2]){break e}if((b|0)==255){break d}}v[289141]=0;break c}c=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[289141]=(c|0)!=0;if(!c){break c}i=1;break a}c=v[289140];g=c+8|0;v[289140]=g;b=b&255|v[289139]<<8;v[289139]=b;if((c|0)<-6){continue}break}}i=0;v[289140]=g-2;f=b<<32-g>>>30|0}n=(d|0)==(k|0);b=4-f|0;f:{g:{h:{i:{j:{switch(1-f|0){case 1:f=0;if(!i){break i}c=17;break f;case 0:break j;default:break g}}if(i){f=0;c=3;break f}g=v[289140];if((g|0)>=1){d=v[289139];break h}while(1){k:{l:{b=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;m:{if((b|0)==-1){if(!v[a+26160>>2]){v[e+80>>2]=v[a+25208>>2];wc(h,8292,e+80|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,h);v[a+26160>>2]=1;break m}d=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[e+64>>2]=d;v[e+68>>2]=d>>31;wc(h,14622,e- -64|0)}v[a+26160>>2]=1;break m}if(!v[a+26144>>2]){break m}if((b|0)==255){break l}}v[289141]=0;break k}d=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[289141]=(d|0)!=0;if(!d){break k}b=3;i=1;break g}c=v[289140];g=c+8|0;v[289140]=g;d=b&255|v[289139]<<8;v[289139]=d;if((c|0)<-7){continue}break}break h}d=4;i=0;while(1){n:{if(f){break n}g=v[289140];o:{if((g|0)>=1){b=v[289139];break o}while(1){p:{q:{b=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;r:{if((b|0)==-1){if(!v[a+26160>>2]){v[e+112>>2]=v[a+25208>>2];wc(h,8292,e+112|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,h);v[a+26160>>2]=1;break r}c=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[e+96>>2]=c;v[e+100>>2]=c>>31;wc(h,14622,e+96|0)}v[a+26160>>2]=1;break r}if(!v[a+26144>>2]){break r}if((b|0)==255){break q}}v[289141]=0;break p}c=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[289141]=(c|0)!=0;if(!c){break p}i=1;f=1;break n}i=0;c=v[289140];g=c+8|0;v[289140]=g;b=b&255|v[289139]<<8;v[289139]=b;if((c|0)<-7){continue}break}}f=0;v[289140]=g-1;if(b<<32-g>=0){break n}b=d;break g}b=17;d=d+1|0;if((d|0)!=17){continue}break}break g}v[289140]=g-1;b=3;f=0;i=0;c=0;if(d<<32-g<=-1){break f}}f=0;s:{if(i|!b){break s}f=v[289140];t:{if((f|0)>=(b|0)){i=v[289139];break t}while(1){d=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;u:{if((d|0)==-1){if(!v[a+26160>>2]){v[e+48>>2]=v[a+25208>>2];wc(h,8292,e+48|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,h);v[a+26160>>2]=1;v[289141]=0;break u}c=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[e+32>>2]=c;v[e+36>>2]=c>>31;wc(h,14622,e+32|0)}v[a+26160>>2]=1;v[289141]=0;break u}if(!((d|0)==255?v[a+26144>>2]:0)){v[289141]=0;break u}c=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[289141]=(c|0)!=0;f=0;if(c){break s}}f=v[289140]+8|0;v[289140]=f;i=d&255|v[289139]<<8;v[289139]=i;if((b|0)>(f|0)){continue}break}}d=f-b|0;v[289140]=d;c=32-b|0;f=i<>>c|0}c=b}l=(f+l|0)+(f>>>c-1&1?0:(-1<>>0>=4096){v:{if(v[a+26160>>2]){break v}v[e+16>>2]=v[a+25208>>2];wc(h,8292,e+16|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,h);break v}b=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[e>>2]=b;v[e+4>>2]=b>>31;wc(h,14622,e)}v[a+26160>>2]=1}b=n?1:k;if((b|0)>1]){d=x[a+26316>>1];u[(v[a+26352>>2]+(B(x[a+26320>>1],b>>d)+(j>>d)<<3)|0)+((v[a+26028>>2]>>>((b<<1&14|m)<<1)&3)<<1)>>1]=l}d=x[a+26304>>1];k=b+2|0;if((d|0)>=(k|0)){continue}break}if(j){continue}break}}Qb=e+160|0}function RV(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=Qb-16|0;Qb=f;d=-102;a:{if(!(v[a+96>>2]|v[a+100>>2])|(!a|b)){break a}b=v[a+224>>2];if(b){c=v[b>>2];if(c){dc(c)}v[b>>2]=0;if(v[b+72>>2]==8){tk(b+4|0)}dc(b);v[a+224>>2]=0}i=v[a+76>>2]+v[a+220>>2]|0;c=v[a+216>>2];b=c+v[a+72>>2]|0;if(Uh(a,v[a+48>>2],b,b>>>0>>0?i+1|0:i,0)){d=-103;break a}i=Dg(a,v[a+48>>2],f+8|0);g=v[f+8>>2];c=-1;b=f;h=v[a+48>>2];b:{c:{if((Ub[v[a+4>>2]](v[a+28>>2],h,f+15|0,1)|0)==1){d=w[f+15|0];break c}d=0;e=0;if(Ub[v[a+24>>2]](v[a+28>>2],h)|0){break b}}d:{if((Ub[v[a+4>>2]](v[a+28>>2],h,f+15|0,1)|0)==1){e=w[f+15|0];break d}e=d;if(!(Ub[v[a+24>>2]](v[a+28>>2],h)|0)){break d}e=0;break b}c=i?-1:(g|0)==67324752?0:-103;e=e<<8|d}v[b+4>>2]=e;b=v[a+48>>2];e:{f:{if((Ub[v[a+4>>2]](v[a+28>>2],b,f+15|0,1)|0)==1){e=w[f+15|0];break f}d=-1;e=0;g=e;if(Ub[v[a+24>>2]](v[a+28>>2],b)|0){break e}}g:{if((Ub[v[a+4>>2]](v[a+28>>2],b,f+15|0,1)|0)==1){break g}if(!(Ub[v[a+24>>2]](v[a+28>>2],b)|0)){break g}d=-1;g=0;break e}d=c;g=e&8}e=g;h:{i:{h=v[a+48>>2];j:{k:{if((Ub[v[a+4>>2]](v[a+28>>2],h,f+15|0,1)|0)==1){b=w[f+15|0];break k}if(Ub[v[a+24>>2]](v[a+28>>2],h)|0){break j}b=0}if((Ub[v[a+4>>2]](v[a+28>>2],h,f+15|0,1)|0)==1){c=w[f+15|0];break i}c=b;if(!(Ub[v[a+24>>2]](v[a+28>>2],h)|0)){break i}}v[f+4>>2]=0;d=-1;break h}b=b|c<<8;v[f+4>>2]=b;if(d){break h}d=-103;if((b|0)!=v[a+140>>2]){break h}if(b>>>0<=12){d=0;if(1<>2],f+4|0);c=-1;l:{if(Dg(a,v[a+48>>2],f+4|0)){break l}c=h?-1:d;if(c){break l}c=0;if(v[f+4>>2]==v[a+148>>2]){break l}c=e?0:-103}m:{if(Dg(a,v[a+48>>2],f+4|0)){break m}d=v[f+4>>2];if((d|0)==-1){b=c;break m}b=c;if(c){break m}b=0;if(!v[a+156>>2]&(d|0)==v[a+152>>2]){break m}b=e?0:-103}g=-1;n:{if(Dg(a,v[a+48>>2],f+4|0)){break n}d=v[f+4>>2];g=b;if((d|0)==-1){break n}c=b;g=c;if(c){break n}g=0;if(!v[a+164>>2]&(d|0)==v[a+160>>2]){break n}g=e?0:-103}c=g;d=v[a+48>>2];o:{p:{if((Ub[v[a+4>>2]](v[a+28>>2],d,f+15|0,1)|0)==1){b=w[f+15|0];break p}b=0;e=-1;if(Ub[v[a+24>>2]](v[a+28>>2],d)|0){break o}}q:{if((Ub[v[a+4>>2]](v[a+28>>2],d,f+15|0,1)|0)==1){e=w[f+15|0];break q}e=b;if(!(Ub[v[a+24>>2]](v[a+28>>2],d)|0)){break q}b=0;e=-1;break o}b=e<<8|b;e=c;if(c){break o}e=v[a+168>>2]==(b|0)?0:-103}c=e;r:{d=v[a+48>>2];s:{t:{if((Ub[v[a+4>>2]](v[a+28>>2],d,f+15|0,1)|0)==1){g=w[f+15|0];break t}if(Ub[v[a+24>>2]](v[a+28>>2],d)|0){break s}g=0}if((Ub[v[a+4>>2]](v[a+28>>2],d,f+15|0,1)|0)==1){e=w[f+15|0];break r}e=g;if(!(Ub[v[a+24>>2]](v[a+28>>2],d)|0)){break r}}d=-103;break a}d=-103;if(c){break a}h=v[a+216>>2];i=v[a+220>>2];d=-104;c=jc(208);if(!c){break a}j=jc(16384);v[c+200>>2]=0;v[c+96>>2]=0;v[c+100>>2]=0;k=g|e<<8;v[c+88>>2]=k;e=i;g=b+h|0;e=g>>>0>>0?e+1|0:e;g=g+30|0;if(g>>>0<30){e=e+1|0}v[c+80>>2]=g;v[c+84>>2]=e;v[c>>2]=j;if(!j){dc(c);break a}v[c+72>>2]=0;e=v[a+148>>2];v[c+112>>2]=0;v[c+116>>2]=e;v[c+104>>2]=0;v[c+108>>2]=0;e=v[a+140>>2];v[c+184>>2]=e;v[c+180>>2]=v[a+48>>2];d=v[a+4>>2];v[c+136>>2]=v[a>>2];v[c+140>>2]=d;d=v[a+12>>2];v[c+144>>2]=v[a+8>>2];v[c+148>>2]=d;d=v[a+20>>2];v[c+152>>2]=v[a+16>>2];v[c+156>>2]=d;d=v[a+28>>2];v[c+160>>2]=v[a+24>>2];v[c+164>>2]=d;d=v[a+36>>2];v[c+168>>2]=v[a+32>>2];v[c+172>>2]=d;v[c+176>>2]=v[a+40>>2];d=v[a+72>>2];g=v[a+76>>2];v[c+24>>2]=0;v[c+192>>2]=d;v[c+196>>2]=g;u:{v:{if((e|0)==12){v[c+200>>2]=1;break v}if((e|0)!=8){break v}v[c+4>>2]=0;v[c+8>>2]=0;v[c+44>>2]=0;v[c+36>>2]=0;v[c+40>>2]=0;d=gG(c+4|0,-15);if(d){break u}v[c+72>>2]=8;h=v[a+216>>2];i=v[a+220>>2]}e=v[a+156>>2];v[c+120>>2]=v[a+152>>2];v[c+124>>2]=e;d=v[a+160>>2];g=v[a+164>>2];b=h+(b+k|0)|0;i=b>>>0>>0?i+1|0:i;b=b+30|0;if(b>>>0<30){i=i+1|0}v[c+64>>2]=b;v[c+68>>2]=i;v[c+128>>2]=d;v[c+132>>2]=g;d=0;v[c+8>>2]=0;v[a+228>>2]=0;v[a+224>>2]=c;break a}dc(c)}Qb=f+16|0;return d}function XCa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=Qb-16|0;Qb=g;i=jc(40);v[i>>2]=0;v[299999]=0;v[g+8>>2]=0;k=Y(368,1,0,0)|0;e=v[299999];v[299999]=0;f=-1;j=4;a:{b:{c:{if(!e){break c}h=v[3e5];if(!h){break c}f=sc(v[e>>2],i,4);if(!f){break b}_(h|0)}e=O()|0;d:{e:{if((f|0)==1){break e}v[g+12>>2]=k;e=0;if(!v[g+12>>2]){break d}v[v[g+12>>2]+700>>2]=1e6;v[v[g+12>>2]+704>>2]=1e6;v[v[g+12>>2]+708>>2]=0;v[v[g+12>>2]+712>>2]=0;v[299999]=0;e=v[g+12>>2];if(e){v[e+156>>2]=24}else{e=0}k=e;e=v[299999];v[299999]=0;f=-1;f:{if(!e){break f}h=v[3e5];if(!h){break f}f=sc(v[e>>2],i,4);if(!f){break b}_(h|0)}e=O()|0;if((f|0)==1){break e}i=Ue(k,1,i,4);j=O()|0;e=0}while(1){if(e){v[299999]=0;dc(i);ba(370);e=v[299999];v[299999]=0;g:{if(!e){break g}h=v[3e5];if(!h){break g}if(!sc(v[e>>2],i,j)){break b}_(h|0)}e=O()|0;continue}v[299999]=0;e=v[g+12>>2];if(e){v[e+676>>2]=0;v[e+672>>2]=0;v[e+668>>2]=0}e=v[299999];v[299999]=0;f=-1;h:{if(!e){break h}h=v[3e5];if(!h){break h}f=sc(v[e>>2],i,j);if(!f){break b}_(h|0)}e=O()|0;if((f|0)==1){continue}v[299999]=0;e=v[g+12>>2];if(e){v[e+164>>2]=d;v[e+160>>2]=c;v[e+168>>2]=b}e=v[299999];v[299999]=0;f=-1;i:{if(!e){break i}h=v[3e5];if(!h){break i}f=sc(v[e>>2],i,j);if(!f){break b}_(h|0)}e=O()|0;if((f|0)==1){continue}v[299999]=0;k=Q(372,v[g+12>>2],a|0)|0;e=v[299999];v[299999]=0;f=-1;j:{if(!e){break j}h=v[3e5];if(!h){break j}f=sc(v[e>>2],i,j);if(!f){break b}_(h|0)}e=O()|0;if((f|0)==1){continue}if(!k){v[g+8>>2]=1}k:{if(v[g+8>>2]){break k}v[v[g+12>>2]+272>>2]=8192;e=v[g+12>>2];k=v[v[g+12>>2]+272>>2];v[299999]=0;k=Q(373,e|0,k|0)|0;e=v[299999];v[299999]=0;f=-1;l:{if(!e){break l}h=v[3e5];if(!h){break l}f=sc(v[e>>2],i,j);if(!f){break b}_(h|0)}e=O()|0;if((f|0)==1){continue}v[v[g+12>>2]+268>>2]=k;if(v[v[g+12>>2]+268>>2]){break k}v[g+8>>2]=1}v[v[g+12>>2]+244>>2]=374;v[v[g+12>>2]+248>>2]=375;v[v[g+12>>2]+252>>2]=v[g+12>>2];m:{if(v[g+8>>2]){break m}v[299999]=0;k=Y(376,v[g+12>>2]+212|0,3416,56)|0;e=v[299999];v[299999]=0;f=-1;n:{if(!e){break n}h=v[3e5];if(!h){break n}f=sc(v[e>>2],i,j);if(!f){break b}_(h|0)}e=O()|0;if((f|0)==1){continue}o:{switch(k+6|0){case 2:v[299999]=0;V(377,v[g+12>>2],5279);e=v[299999];v[299999]=0;f=-1;p:{if(!e){break p}h=v[3e5];if(!h){break p}f=sc(v[e>>2],i,j);if(!f){break b}_(h|0)}e=O()|0;if((f|0)==1){continue}v[g+8>>2]=1;break m;case 4:v[299999]=0;V(377,v[g+12>>2],9567);e=v[299999];v[299999]=0;f=-1;q:{if(!e){break q}h=v[3e5];if(!h){break q}f=sc(v[e>>2],i,j);if(!f){break b}_(h|0)}e=O()|0;if((f|0)==1){continue}v[g+8>>2]=1;break m;case 0:v[299999]=0;V(377,v[g+12>>2],12966);e=v[299999];v[299999]=0;f=-1;r:{if(!e){break r}h=v[3e5];if(!h){break r}f=sc(v[e>>2],i,j);if(!f){break b}_(h|0)}e=O()|0;if((f|0)==1){continue}v[g+8>>2]=1;break m;case 6:break m;default:break o}}v[299999]=0;V(377,v[g+12>>2],15630);e=v[299999];v[299999]=0;f=-1;s:{if(!e){break s}h=v[3e5];if(!h){break s}f=sc(v[e>>2],i,j);if(!f){break b}_(h|0)}e=O()|0;if((f|0)==1){continue}v[g+8>>2]=1}e=v[g+12>>2];if(v[g+8>>2]){k=v[v[g+12>>2]+268>>2];v[299999]=0;V(378,e|0,k|0);e=v[299999];v[299999]=0;f=-1;t:{if(!e){break t}h=v[3e5];if(!h){break t}f=sc(v[e>>2],i,j);if(!f){break b}_(h|0)}e=O()|0;if((f|0)==1){continue}v[v[g+12>>2]+268>>2]=0;v[299999]=0;U(379,v[g+12>>2],0,0);e=v[299999];v[299999]=0;f=-1;u:{if(!e){break u}h=v[3e5];if(!h){break u}f=sc(v[e>>2],i,j);if(!f){break b}_(h|0)}e=O()|0;if((f|0)==1){continue}e=0;break d}v[v[g+12>>2]+224>>2]=v[e+268>>2];v[v[g+12>>2]+228>>2]=v[v[g+12>>2]+272>>2];v[299999]=0;U(57,v[g+12>>2],0,0);e=v[299999];v[299999]=0;f=-1;v:{if(!e){break v}h=v[3e5];if(!h){break v}f=sc(v[e>>2],i,j);if(!f){break b}_(h|0)}e=O()|0;if((f|0)==1){continue}break}e=v[g+12>>2]}dc(i);Qb=g+16|0;break a}dc(i);sd(e,h);L()}return e|0}function Gu(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;i=Qb-32|0;Qb=i;a:{b:{c:{d:{e:{if(c){e=v[c+360>>2];if(e&8388608){v[c+360>>2]=e-8388608;if(v[c+464>>2]==1){b=Gu(a,b,c);v[c+360>>2]=e;break a}v[i+16>>2]=a;b=0;oc(0,0,0,0,0,8,1557,2,a,0,0,0,237156,i+16|0);v[c+360>>2]=e;break a}if(e&2048){v[c+360>>2]=e-2048;d=Qb-16|0;Qb=d;f=0;f:{if(!c){break f}if(v[c+464>>2]==1){f=Gu(a,b,c);break f}if(!a){f=Gu(0,b,c);break f}g:{h:{if((a|0)==335600){break h}i:{f=w[a|0]&223;if((f|0)!=70|(w[a+1|0]&223)!=84|((w[a+2|0]&223)!=80|w[a+3|0]!=58)){break i}if(w[a+4|0]!=47){break i}if(w[a+5|0]==47){break h}if((a|0)!=335592){break g}break h}if((a|0)==335592){break h}if((f|0)!=72|(w[a+1|0]&223)!=84|((w[a+2|0]&223)!=84|(w[a+3|0]&223)!=80)){break g}if(w[a+4|0]!=58|w[a+5|0]!=47|w[a+6|0]!=47){break g}}v[d>>2]=a;oc(0,0,0,0,0,8,1543,2,a,0,0,0,237191,d);f=0;break f}f=Gu(a,b,c)}b=f;Qb=d+16|0;v[c+360>>2]=e;break a}if(a){break e}if(!(!v[c+212>>2]|v[c+172>>2]!=-1)){b=0;break a}a=b?b:316608;b=v[c>>2];if(!b){break c}e=0;d=v[c+104>>2];f=v[b+(d?88:84)>>2];g=v[c+4>>2];d=d?2:1;e=v[b+108>>2]==-554844497?v[b+124>>2]:e;break b}if(!a){break d}}b=a;e=0;g=Qb+-64|0;Qb=g;if(v[294256]){v[g+48>>2]=b;Ub[v[259806]](v[294239],349944,g+48|0)}j:{if(!c){break j}a=v[294264];k:{if(a){d=Ub[a|0](b,0)|0;break k}if(!w[1177064]){d=v[294267];if((d|0)<=14){a=d<<4;v[a+1177084>>2]=2978;v[a+1177080>>2]=2979;v[a+1177076>>2]=2980;v[a+1177072>>2]=2981;v[294267]=d+1}t[1177064]=1}l:{m:{if(!b){break m}a=v[294267];if((a|0)<1){break m}while(1){n:{d=a;a=a-1|0;h=a<<4;j=v[h+1177072>>2];o:{if(!j){break o}if(!(Ub[j|0](b)|0)){break o}h=Ub[v[h+1177076>>2]](b)|0;if(h){break n}}if((d|0)>1){continue}break m}break}d=TF(0);if(d){v[d>>2]=h;a=a<<4;v[d+4>>2]=v[a+1177080>>2];v[d+8>>2]=v[a+1177084>>2];break l}Ub[v[(a<<4)+1177084>>2]](h)|0}d=0}}if(!d){a=v[c+212>>2];if(!b){if(!(!a|v[c+172>>2]!=-1)){break j}a=v[c>>2];p:{if(!a){a=2;d=0;b=0;break p}b=v[c+104>>2];h=a+(b?88:84)|0;d=0;d=v[a+108>>2]==-554844497?v[a+124>>2]:d;a=b?2:1;e=v[c+4>>2];b=v[h>>2]}v[g>>2]=0;oc(d,b,e,c,0,8,1549,a,0,0,0,0,357539,g);break j}if(!(!a|v[c+172>>2]!=-1)){break j}a=v[c>>2];q:{if(!a){d=0;a=2;break q}h=v[c+104>>2];e=a+(h?88:84)|0;d=0;d=v[a+108>>2]==-554844497?v[a+124>>2]:d;e=v[e>>2];k=v[c+4>>2];a=h?2:1}v[g+16>>2]=b;oc(d,e,k,c,0,8,1549,a,b,0,0,0,356699,g+16|0);break j}a=0;f=Ub[v[259704]](60)|0;if(!f){if(!(!v[c+212>>2]|v[c+172>>2]!=-1)){f=0;break j}v[c+212>>2]=1;v[c+172>>2]=-1;v[c+84>>2]=2;v[g+32>>2]=351218;f=0;oc(0,0,0,c,0,1,2,3,351218,0,0,0,350051,g+32|0);break j}v[f+48>>2]=0;v[f+52>>2]=0;v[f+32>>2]=0;v[f+36>>2]=0;v[f+24>>2]=0;v[f+28>>2]=0;v[f>>2]=0;v[f+4>>2]=0;v[f+56>>2]=0;v[f+40>>2]=0;v[f+44>>2]=0;v[f+16>>2]=0;v[f+20>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;v[f+52>>2]=-1;v[f+32>>2]=1;v[f+28>>2]=1;e=v[c+464>>2];v[c+464>>2]=e+1;v[f>>2]=d;v[f+56>>2]=e;r:{if(!b){break r}a=b;while(1){e=a;a=a+1|0;if(w[e|0]){continue}break}a=0;e=e-b|0;if((e|0)<0){break r}d=Ub[v[259707]](e+1|0)|0;if(!d){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break r}a=gc(d,b,e);t[e+a|0]=0}b=Sy(a);e=v[f+4>>2];if(e){Ub[v[259708]](e)}l=f,m=Ou(a),v[l+4>>2]=m;if(a){Ub[v[259708]](a)}v[f+8>>2]=b;d=v[v[f>>2]+16>>2];if(!(!d|v[d+32>>2])){a=v[d+8>>2];if(!((a|0)==v[d+24>>2]|a>>>0>2147483646)){v[d+24>>2]=a}e=v[d+20>>2];a=v[d+4>>2];if(!((e|0)==(a|0)|a>>>0>2147483646)){v[d+20>>2]=a;e=a}a=v[d>>2];v[f+12>>2]=a;v[f+16>>2]=a;v[f+20>>2]=a+e}if(v[c+180>>2]|!b){break j}a=b;while(1){e=a;a=a+1|0;if(w[e|0]){continue}break}a=0;e=e-b|0;s:{if((e|0)<0){break s}d=Ub[v[259707]](e+1|0)|0;if(!d){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break s}a=gc(d,b,e);t[e+a|0]=0}v[c+180>>2]=a}Qb=g- -64|0;b=f;break a}a=b?b:316608}d=2;e=0}v[i>>2]=a;b=0;oc(e,f,g,c,0,8,1549,d,a,0,0,0,356699,i)}Qb=i+32|0;return b|0}function Or(a,b,c){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,p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0,A=0;x=w[b|0];t[a+240|0]=x;l=w[b+1|0];t[a+244|0]=l;m=w[b+2|0];t[a+248|0]=m;i=w[b+3|0];t[a+252|0]=i;y=w[b+4|0];t[a+241|0]=y;n=w[b+5|0];t[a+245|0]=n;o=w[b+6|0];t[a+249|0]=o;e=w[b+7|0];t[a+253|0]=e;z=w[b+8|0];t[a+242|0]=z;p=w[b+9|0];t[a+246|0]=p;q=w[b+10|0];t[a+250|0]=q;h=w[b+11|0];t[a+254|0]=h;u=w[b+12|0];t[a+243|0]=u;r=w[b+13|0];t[a+247|0]=r;s=w[b+14|0];t[a+251|0]=s;A=a+240|0;f=v[a+236>>2];d=f^w[b+15|0];g=h;h=v[a+232>>2];k=g^h;g=v[a+228>>2];e=g^e;j=v[a+224>>2];i=j^i;s=s^f>>>8;r=r^f>>>16;u=u^f>>>24;q=q^h>>>8;p=p^h>>>16;h=h>>>24^z;o=o^g>>>8;n=n^g>>>16;g=g>>>24^y;m=m^j>>>8;l=l^j>>>16;j=x^j>>>24;f=13;while(1){t[a+247|0]=w[(p&255)+894976|0];t[a+243|0]=w[(u&255)+894976|0];t[a+242|0]=w[(h&255)+894976|0];t[a+241|0]=w[(g&255)+894976|0];t[a+240|0]=w[(j&255)+894976|0];t[a+246|0]=w[(n&255)+894976|0];t[a+245|0]=w[(l&255)+894976|0];t[a+250|0]=w[(m&255)+894976|0];t[a+248|0]=w[(q&255)+894976|0];t[a+244|0]=w[(r&255)+894976|0];t[a+255|0]=w[(i&255)+894976|0];t[a+254|0]=w[(d&255)+894976|0];t[a+253|0]=w[(k&255)+894976|0];t[a+252|0]=w[(e&255)+894976|0];t[a+251|0]=w[(o&255)+894976|0];t[a+249|0]=w[(s&255)+894976|0];hT(A);d=(f<<4)+a|0;j=w[a+240|0]^w[d+3|0];t[a+240|0]=j;e=v[d>>2];i=e^w[a+252|0];t[a+252|0]=i;l=w[a+244|0]^e>>>16;t[a+244|0]=l;m=w[a+248|0]^e>>>8;t[a+248|0]=m;e=v[d+4>>2];g=w[a+241|0]^e>>>24;t[a+241|0]=g;n=w[a+245|0]^e>>>16;t[a+245|0]=n;e=v[d+4>>2];o=w[a+249|0]^e>>>8;t[a+249|0]=o;e=e^w[a+253|0];t[a+253|0]=e;k=v[d+8>>2];h=w[a+242|0]^k>>>24;t[a+242|0]=h;p=w[a+246|0]^k>>>16;t[a+246|0]=p;q=w[a+250|0]^k>>>8;t[a+250|0]=q;k=w[a+254|0]^w[d+8|0];t[a+254|0]=k;d=v[d+12>>2];u=w[a+243|0]^d>>>24;t[a+243|0]=u;r=w[a+247|0]^d>>>16;t[a+247|0]=r;s=w[a+251|0]^d>>>8;t[a+251|0]=s;d=d^w[a+255|0];t[a+255|0]=d;x=f>>>0>1;f=f-1|0;if(x){continue}break}f=w[(e&255)+894976|0];e=v[a>>2];f=f^e;t[a+252|0]=f;q=w[(q&255)+894976|0]^e>>>8;t[a+248|0]=q;r=w[(r&255)+894976|0]^e>>>16;t[a+244|0]=r;j=w[(j&255)+894976|0]^e>>>24;t[a+240|0]=j;e=v[a+4>>2];k=e^w[(k&255)+894976|0];t[a+253|0]=k;s=w[(s&255)+894976|0]^e>>>8;t[a+249|0]=s;l=w[(l&255)+894976|0]^e>>>16;t[a+245|0]=l;e=w[(g&255)+894976|0]^e>>>24;t[a+241|0]=e;g=w[(d&255)+894976|0];d=v[a+8>>2];g=g^d;t[a+254|0]=g;m=w[(m&255)+894976|0]^d>>>8;t[a+250|0]=m;n=w[(n&255)+894976|0]^d>>>16;t[a+246|0]=n;h=w[(h&255)+894976|0]^d>>>24;t[a+242|0]=h;d=v[a+12>>2];i=d^w[(i&255)+894976|0];t[a+255|0]=i;o=w[(o&255)+894976|0]^d>>>8;t[a+251|0]=o;p=w[(p&255)+894976|0]^d>>>16;t[a+247|0]=p;d=w[(u&255)+894976|0]^d>>>24;t[a+243|0]=d;t[a+272|0]=j^w[a+256|0];t[a+273|0]=r^w[a+257|0];t[a+274|0]=q^w[a+258|0];t[a+275|0]=f^w[a+259|0];t[a+276|0]=e^w[a+260|0];t[a+277|0]=l^w[a+261|0];t[a+278|0]=s^w[a+262|0];t[a+279|0]=k^w[a+263|0];t[a+280|0]=h^w[a+264|0];t[a+281|0]=n^w[a+265|0];t[a+282|0]=m^w[a+266|0];t[a+283|0]=g^w[a+267|0];t[a+284|0]=d^w[a+268|0];t[a+285|0]=p^w[a+269|0];t[a+286|0]=o^w[a+270|0];e=i^w[a+271|0];t[a+287|0]=e;t[a+256|0]=w[b|0];t[a+257|0]=w[b+1|0];t[a+258|0]=w[b+2|0];t[a+259|0]=w[b+3|0];t[a+260|0]=w[b+4|0];t[a+261|0]=w[b+5|0];t[a+262|0]=w[b+6|0];t[a+263|0]=w[b+7|0];t[a+264|0]=w[b+8|0];t[a+265|0]=w[b+9|0];t[a+266|0]=w[b+10|0];t[a+267|0]=w[b+11|0];t[a+268|0]=w[b+12|0];t[a+269|0]=w[b+13|0];t[a+270|0]=w[b+14|0];b=w[b+15|0];v[a+288>>2]=0;t[a+271|0]=b;if(c){d=15;b=((e-1&255)>>>0<16?e:16)&255;a:{if(b>>>0>15){break a}c=16-b|0;e=c&3;if(15-b>>>0>=3){i=c&-4;c=a+272|0;while(1){t[c+d|0]=w[c+(d-b|0)|0];f=d-1|0;t[f+c|0]=w[c+(f-b|0)|0];f=d-2|0;t[f+c|0]=w[c+(f-b|0)|0];f=d-3|0;t[f+c|0]=w[c+(f-b|0)|0];d=d-4|0;i=i-4|0;if(i){continue}break}}if(!e){break a}c=a+272|0;while(1){t[c+d|0]=w[c+(d-b|0)|0];d=d-1|0;e=e-1|0;if(e){continue}break}}v[a+288>>2]=b}}function gT(a,b,c){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,p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0,A=0;x=w[b|0];t[a+176|0]=x;l=w[b+1|0];t[a+180|0]=l;m=w[b+2|0];t[a+184|0]=m;i=w[b+3|0];t[a+188|0]=i;y=w[b+4|0];t[a+177|0]=y;n=w[b+5|0];t[a+181|0]=n;o=w[b+6|0];t[a+185|0]=o;e=w[b+7|0];t[a+189|0]=e;z=w[b+8|0];t[a+178|0]=z;p=w[b+9|0];t[a+182|0]=p;q=w[b+10|0];t[a+186|0]=q;h=w[b+11|0];t[a+190|0]=h;u=w[b+12|0];t[a+179|0]=u;r=w[b+13|0];t[a+183|0]=r;s=w[b+14|0];t[a+187|0]=s;A=a+176|0;f=v[a+172>>2];d=f^w[b+15|0];g=h;h=v[a+168>>2];k=g^h;g=v[a+164>>2];e=g^e;j=v[a+160>>2];i=j^i;s=s^f>>>8;r=r^f>>>16;u=u^f>>>24;q=q^h>>>8;p=p^h>>>16;h=h>>>24^z;o=o^g>>>8;n=n^g>>>16;g=g>>>24^y;m=m^j>>>8;l=l^j>>>16;j=x^j>>>24;f=9;while(1){t[a+183|0]=w[(p&255)+894976|0];t[a+179|0]=w[(u&255)+894976|0];t[a+178|0]=w[(h&255)+894976|0];t[a+177|0]=w[(g&255)+894976|0];t[a+176|0]=w[(j&255)+894976|0];t[a+182|0]=w[(n&255)+894976|0];t[a+181|0]=w[(l&255)+894976|0];t[a+186|0]=w[(m&255)+894976|0];t[a+184|0]=w[(q&255)+894976|0];t[a+180|0]=w[(r&255)+894976|0];t[a+191|0]=w[(i&255)+894976|0];t[a+190|0]=w[(d&255)+894976|0];t[a+189|0]=w[(k&255)+894976|0];t[a+188|0]=w[(e&255)+894976|0];t[a+187|0]=w[(o&255)+894976|0];t[a+185|0]=w[(s&255)+894976|0];hT(A);d=(f<<4)+a|0;j=w[a+176|0]^w[d+3|0];t[a+176|0]=j;e=v[d>>2];i=e^w[a+188|0];t[a+188|0]=i;l=w[a+180|0]^e>>>16;t[a+180|0]=l;m=w[a+184|0]^e>>>8;t[a+184|0]=m;e=v[d+4>>2];g=w[a+177|0]^e>>>24;t[a+177|0]=g;n=w[a+181|0]^e>>>16;t[a+181|0]=n;e=v[d+4>>2];o=w[a+185|0]^e>>>8;t[a+185|0]=o;e=e^w[a+189|0];t[a+189|0]=e;k=v[d+8>>2];h=w[a+178|0]^k>>>24;t[a+178|0]=h;p=w[a+182|0]^k>>>16;t[a+182|0]=p;q=w[a+186|0]^k>>>8;t[a+186|0]=q;k=w[a+190|0]^w[d+8|0];t[a+190|0]=k;d=v[d+12>>2];u=w[a+179|0]^d>>>24;t[a+179|0]=u;r=w[a+183|0]^d>>>16;t[a+183|0]=r;s=w[a+187|0]^d>>>8;t[a+187|0]=s;d=d^w[a+191|0];t[a+191|0]=d;x=f>>>0>1;f=f-1|0;if(x){continue}break}f=w[(e&255)+894976|0];e=v[a>>2];f=f^e;t[a+188|0]=f;q=w[(q&255)+894976|0]^e>>>8;t[a+184|0]=q;r=w[(r&255)+894976|0]^e>>>16;t[a+180|0]=r;j=w[(j&255)+894976|0]^e>>>24;t[a+176|0]=j;e=v[a+4>>2];k=e^w[(k&255)+894976|0];t[a+189|0]=k;s=w[(s&255)+894976|0]^e>>>8;t[a+185|0]=s;l=w[(l&255)+894976|0]^e>>>16;t[a+181|0]=l;e=w[(g&255)+894976|0]^e>>>24;t[a+177|0]=e;g=w[(d&255)+894976|0];d=v[a+8>>2];g=g^d;t[a+190|0]=g;m=w[(m&255)+894976|0]^d>>>8;t[a+186|0]=m;n=w[(n&255)+894976|0]^d>>>16;t[a+182|0]=n;h=w[(h&255)+894976|0]^d>>>24;t[a+178|0]=h;d=v[a+12>>2];i=d^w[(i&255)+894976|0];t[a+191|0]=i;o=w[(o&255)+894976|0]^d>>>8;t[a+187|0]=o;p=w[(p&255)+894976|0]^d>>>16;t[a+183|0]=p;d=w[(u&255)+894976|0]^d>>>24;t[a+179|0]=d;t[a+208|0]=j^w[a+192|0];t[a+209|0]=r^w[a+193|0];t[a+210|0]=q^w[a+194|0];t[a+211|0]=f^w[a+195|0];t[a+212|0]=e^w[a+196|0];t[a+213|0]=l^w[a+197|0];t[a+214|0]=s^w[a+198|0];t[a+215|0]=k^w[a+199|0];t[a+216|0]=h^w[a+200|0];t[a+217|0]=n^w[a+201|0];t[a+218|0]=m^w[a+202|0];t[a+219|0]=g^w[a+203|0];t[a+220|0]=d^w[a+204|0];t[a+221|0]=p^w[a+205|0];t[a+222|0]=o^w[a+206|0];e=i^w[a+207|0];t[a+223|0]=e;t[a+192|0]=w[b|0];t[a+193|0]=w[b+1|0];t[a+194|0]=w[b+2|0];t[a+195|0]=w[b+3|0];t[a+196|0]=w[b+4|0];t[a+197|0]=w[b+5|0];t[a+198|0]=w[b+6|0];t[a+199|0]=w[b+7|0];t[a+200|0]=w[b+8|0];t[a+201|0]=w[b+9|0];t[a+202|0]=w[b+10|0];t[a+203|0]=w[b+11|0];t[a+204|0]=w[b+12|0];t[a+205|0]=w[b+13|0];t[a+206|0]=w[b+14|0];b=w[b+15|0];v[a+224>>2]=0;t[a+207|0]=b;if(c){d=15;b=((e-1&255)>>>0<16?e:16)&255;a:{if(b>>>0>15){break a}c=16-b|0;e=c&3;if(15-b>>>0>=3){i=c&-4;c=a+208|0;while(1){t[c+d|0]=w[c+(d-b|0)|0];f=d-1|0;t[f+c|0]=w[c+(f-b|0)|0];f=d-2|0;t[f+c|0]=w[c+(f-b|0)|0];f=d-3|0;t[f+c|0]=w[c+(f-b|0)|0];d=d-4|0;i=i-4|0;if(i){continue}break}}if(!e){break a}c=a+208|0;while(1){t[c+d|0]=w[c+(d-b|0)|0];d=d-1|0;e=e-1|0;if(e){continue}break}}v[a+224>>2]=b}}function sq(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=Qb-16|0;Qb=f;g=v[a+100>>2];v[f+8>>2]=0;d=Yh(b,v[a+92>>2]);a:{if(d){b:{c:{d:{e=v[a+80>>2];d=v[d>>2];a=e+(d<<4)|0;switch(v[a+4>>2]-1|0){case 2:break b;case 1:break c;case 0:break d;default:break a}}b=v[a+12>>2];if(b){Ub[v[g+8>>2]](g,b)}v[a+12>>2]=0;if(!c|!w[c|0]){break a}l=a,m=uj(g,c,f+8|0),v[l+12>>2]=m;break a}a=0;e:{if(!c){break e}g=w[c|0];if(!g){break e}b=0;g=(g|0)==45;c=g+c|0;a=t[c|0];f:{if(!(w[((a&248)>>>3|0)+375728|0]>>>(a&7)&1)){break f}while(1){if((b|0)>214748362){b=2147483647;break f}b=w[a+375760|0]+B(b,10)|0;a=t[c+1|0];c=c+1|0;if(w[((a&248)>>>3|0)+375728|0]>>>(a&7)&1){continue}break}}a=g?0-b|0:b}v[(e+(d<<4)|0)+12>>2]=a;break a}b=0;g:{if(!c){break g}a=t[c|0];g=a&255;if(!g|!(w[(g>>>3|0)+375728|0]>>>(a&7)&1)){break g}while(1){if(b>>>0>429496727){b=-1;break g}b=w[a+375760|0]+B(b,10)|0;a=t[c+1|0];c=c+1|0;if(w[((a&248)>>>3|0)+375728|0]>>>(a&7)&1){continue}break}}v[(e+(d<<4)|0)+12>>2]=b;break a}h:{i=a+112|0;e=Yh(b,i);if(!e){e=v[a+100>>2];v[f+12>>2]=0;if(!Yh(b,i)){d=v[a+108>>2];d=Cc(e,16,d,d+1|0,v[a+104>>2],f+12|0);v[a+104>>2]=d;h=v[f+12>>2];if(h){break h}d=d+(v[a+108>>2]<<4)|0;v[d>>2]=0;v[d+4>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;k=Bc(b)+1|0;j=Cc(e,1,0,k,0,f+12|0);v[d>>2]=j;h=v[f+12>>2];if(h){break h}gc(j,b,k);v[d+4>>2]=1;v[d+8>>2]=0;h=gA(v[d>>2],v[a+108>>2]+83|0,i,e);if(h){break h}v[a+108>>2]=v[a+108>>2]+1}v[f+8>>2]=0;e=Yh(b,i)}d=v[a+76>>2];if((d|0)==v[a+72>>2]){i:{if(!d){d=Cc(g,16,0,1,0,f+8|0);v[a+80>>2]=d;if(!v[f+8>>2]){break i}break a}d=Cc(g,16,d,d+1|0,v[a+80>>2],f+8|0);v[a+80>>2]=d;if(v[f+8>>2]){break a}}d=(v[a+72>>2]<<4)+d|0;v[d>>2]=0;v[d+4>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[a+72>>2]=v[a+72>>2]+1}h=v[a+80>>2];i=v[a+76>>2];k=h+(i<<4)|0;j=k;d=v[e>>2];j:{if(d>>>0>=83){d=(v[a+104>>2]+(d<<4)|0)-1328|0;break j}d=(d<<4)+374384|0}v[j>>2]=v[d>>2];v[k+4>>2]=v[d+4>>2];v[k+8>>2]=v[d+8>>2];k:{l:{m:{switch(v[d+4>>2]-1|0){case 0:v[k+12>>2]=0;if(!c|!w[c|0]){break k}l=k,m=uj(g,c,f+8|0),v[l+12>>2]=m;if(!v[f+8>>2]){break k}break a;case 1:d=0;if(!c){break l}e=w[c|0];if(!e){break l}j=(e|0)==45;e=j+c|0;c=t[e|0];n:{if(!(w[((c&248)>>>3|0)+375728|0]>>>(c&7)&1)){break n}while(1){if((d|0)>214748362){d=2147483647;break n}d=w[c+375760|0]+B(d,10)|0;c=t[e+1|0];e=e+1|0;if(w[((c&248)>>>3|0)+375728|0]>>>(c&7)&1){continue}break}}d=j?0-d|0:d;break l;case 2:break m;default:break k}}d=0;if(!c){break l}e=t[c|0];j=e&255;if(!j|!(w[(j>>>3|0)+375728|0]>>>(e&7)&1)){break l}while(1){if(d>>>0>429496727){d=-1;break l}d=w[e+375760|0]+B(d,10)|0;e=t[c+1|0];c=c+1|0;if(w[((e&248)>>>3|0)+375728|0]>>>(e&7)&1){continue}break}}v[(h+(i<<4)|0)+12>>2]=d}o:{p:{if(Oc(b,309882,7)){break p}switch(w[b+7|0]){case 0:case 9:case 10:case 13:case 32:break o;default:break p}}c=gA(v[k>>2],v[a+76>>2],v[a+92>>2],g);v[f+8>>2]=c;if(c){break a}}v[a+76>>2]=v[a+76>>2]+1;q:{if(Oc(b,311787,12)){break q}r:{switch(w[b+12|0]){case 0:case 9:case 10:case 13:case 32:break r;default:break q}}v[a+36>>2]=v[(h+(i<<4)|0)+12>>2];break a}s:{if(Oc(b,309969,11)){break s}t:{switch(w[b+11|0]){case 0:case 9:case 10:case 13:case 32:break t;default:break s}}v[a+40>>2]=v[(h+(i<<4)|0)+12>>2];break a}u:{if(Oc(b,309924,12)){break u}v:{switch(w[b+12|0]){case 0:case 9:case 10:case 13:case 32:break v;default:break u}}v[a+44>>2]=v[(h+(i<<4)|0)+12>>2];break a}if(Oc(b,320901,7)){break a}w:{switch(w[b+7|0]){case 0:case 9:case 10:case 13:case 32:break w;default:break a}}b=v[(h+(i<<4)|0)+12>>2];if(!b){v[f+8>>2]=3;break a}x:{switch(w[b|0]-67|0){case 13:case 45:v[a+28>>2]=8;break a;case 10:case 42:v[a+28>>2]=16;break a;case 0:case 32:break x;default:break a}}v[a+28>>2]=32;break a}v[f+8>>2]=h}Qb=f+16|0;return v[f+8>>2]}function bT(a,b){var 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;f=Qb-48|0;Qb=f;v[f+32>>2]=13;v[f+16>>2]=13;a:{while(1){if(v[a+40>>2]==7){if(v[rc(v[a+48>>2],b,f+16|0,0)>>2]!=5){m=f+32|0;Ce(v[a+48>>2],b,m);g=Qb-16|0;Qb=g;v[g>>2]=13;b:{c:{d:{e:{b=f+16|0;e=b;switch(v[e>>2]-7|0){case 1:break d;case 0:break e;default:break b}}a=v[e+8>>2];break c}a=v[e+8>>2];a=Ub[v[v[a>>2]+76>>2]](a)|0}rc(a,279626,g,0);f:{if(v[g>>2]!=1){break f}g:{switch(v[g+8>>2]-1|0){case 0:c=Qb-48|0;Qb=c;v[c+32>>2]=13;v[c+16>>2]=13;v[c>>2]=13;h:{i:{if(v[e>>2]==8){i=1;a=v[e+8>>2];d=Ub[v[v[a>>2]+76>>2]](a)|0;j:{if(v[rc(d,279607,c+16|0,0)>>2]==1){i=v[c+24>>2];break j}kc(0,-1,244970,0)}a=c+16|0;hc(a);e=1;k:{if(v[rc(d,279669,a,0)>>2]==1){e=v[c+24>>2];break k}kc(0,-1,245010,0)}a=c+16|0;hc(a);l:{m:{if(v[rc(d,220495,a,0)>>2]!=6){break m}a=v[c+24>>2];if(v[a+12>>2]!=4){break m}if(v[yc(a,0,c,0)>>2]-1>>>0<=1){n=v[c>>2]==1?+v[c+8>>2]:A[c+8>>3]}hc(c);if(v[yc(v[c+24>>2],1,c,0)>>2]-1>>>0<=1){o=v[c>>2]==1?+v[c+8>>2]:A[c+8>>3]}hc(c);h=1;j=1;if(v[yc(v[c+24>>2],2,c,0)>>2]-1>>>0<=1){j=v[c>>2]==1?+v[c+8>>2]:A[c+8>>3]}hc(c);if(v[yc(v[c+24>>2],3,c,0)>>2]-1>>>0<=1){h=v[c>>2]==1?+v[c+8>>2]:A[c+8>>3]}hc(c);break l}kc(1,-1,244823,0);h=1;j=1}a=c+16|0;hc(a);n:{if(v[rc(d,242556,a,0)>>2]-1>>>0<=1){p=v[c+16>>2]==1?+v[c+24>>2]:A[c+24>>3];break n}kc(1,-1,244934,0);p=1}a=c+16|0;hc(a);o:{if(v[rc(d,242550,a,0)>>2]-1>>>0<=1){q=v[c+16>>2]==1?+v[c+24>>2]:A[c+24>>3];break o}kc(1,-1,244898,0);q=1}hc(c+16|0);if(v[rc(d,236851,c+32|0,0)>>2]!=7){hc(c+32|0);v[c+32>>2]=5;kc(1,-1,244858,0)}r=1;p:{if(v[rc(d,220530,c+16|0,0)>>2]!=6){k=1;break p}k=1;a=v[c+24>>2];if(v[a+12>>2]!=6){break p}if(v[yc(a,0,c,0)>>2]-1>>>0<=1){k=v[c>>2]==1?+v[c+8>>2]:A[c+8>>3]}hc(c);if(v[yc(v[c+24>>2],1,c,0)>>2]-1>>>0<=1){l=v[c>>2]==1?+v[c+8>>2]:A[c+8>>3]}hc(c);if(v[yc(v[c+24>>2],2,c,0)>>2]-1>>>0<=1){s=v[c>>2]==1?+v[c+8>>2]:A[c+8>>3]}hc(c);if(v[yc(v[c+24>>2],3,c,0)>>2]-1>>>0<=1){r=v[c>>2]==1?+v[c+8>>2]:A[c+8>>3]}hc(c);if(v[yc(v[c+24>>2],4,c,0)>>2]-1>>>0<=1){t=v[c>>2]==1?+v[c+8>>2]:A[c+8>>3]}hc(c);if(v[yc(v[c+24>>2],5,c,0)>>2]-1>>>0<=1){u=v[c>>2]==1?+v[c+8>>2]:A[c+8>>3]}hc(c)}hc(c+16|0);d=fc(144);v[d+128>>2]=13;v[d+64>>2]=13;v[d>>2]=897508;v[d+4>>2]=1;A[d+56>>3]=q;A[d+48>>3]=p;A[d+16>>3]=n;v[d+12>>2]=e;v[d+8>>2]=i;A[d+40>>3]=h;A[d+32>>3]=j;A[d+24>>3]=o;v[299999]=0;Q(3314,c+32|0,d- -64|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break i}A[d+80>>3]=k;A[d+120>>3]=u;A[d+112>>3]=t;A[d+104>>3]=r;A[d+96>>3]=s;A[d+88>>3]=l;v[299999]=0;Q(3314,m|0,d+128|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break i}hc(c+32|0)}Qb=c+48|0;break h}a=P()|0;O()|0;dc(d);T(a|0);L()}break f;case 1:break g;default:break f}}c=Qb-32|0;Qb=c;v[c+16>>2]=13;v[c>>2]=13;q:{if(v[e>>2]!=7){break q}a=v[e+8>>2];i=c+16|0;rc(a,273016,i,0);e=LS(i);hc(i);if(!e){break q}l=1;r:{if(v[rc(a,220530,c+16|0,0)>>2]!=6){h=1;break r}h=1;a=v[c+24>>2];if(v[a+12>>2]!=6){break r}if(v[yc(a,0,c,0)>>2]-1>>>0<=1){h=v[c>>2]==1?+v[c+8>>2]:A[c+8>>3]}hc(c);if(v[yc(v[c+24>>2],1,c,0)>>2]-1>>>0<=1){n=v[c>>2]==1?+v[c+8>>2]:A[c+8>>3]}hc(c);if(v[yc(v[c+24>>2],2,c,0)>>2]-1>>>0<=1){k=v[c>>2]==1?+v[c+8>>2]:A[c+8>>3]}hc(c);if(v[yc(v[c+24>>2],3,c,0)>>2]-1>>>0<=1){l=v[c>>2]==1?+v[c+8>>2]:A[c+8>>3]}hc(c);if(v[yc(v[c+24>>2],4,c,0)>>2]-1>>>0<=1){j=v[c>>2]==1?+v[c+8>>2]:A[c+8>>3]}hc(c);if(v[yc(v[c+24>>2],5,c,0)>>2]-1>>>0<=1){o=v[c>>2]==1?+v[c+8>>2]:A[c+8>>3]}hc(c)}hc(c+16|0);d=fc(64);A[d+16>>3]=h;v[d+8>>2]=e;v[d>>2]=897528;v[d+4>>2]=2;A[d+56>>3]=o;A[d+48>>3]=j;A[d+40>>3]=l;A[d+32>>3]=k;A[d+24>>3]=n}Qb=c+32|0}hc(g)}Qb=g+16|0;hc(m);hc(b);break a}hc(f+16|0)}a=v[a+104>>2];if(a){continue}break}v[f>>2]=b;kc(1,-1,345454,f)}Qb=f+48|0;return d}function CR(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,w=0,x=0,y=0,z=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0;r=Qb-16|0;Qb=r;a:{if(v[a+160>>2]){b=v[a+200>>2];if(!b){A[a+176>>3]=d;A[a+168>>3]=c}v[a+200>>2]=b+h;A[a+192>>3]=d+f;A[a+184>>3]=c+e;break a}if(!(!(v[a+148>>2]?v[a+32>>2]:0)&(!v[a+36>>2]|!v[a+152>>2]))){v[a+128>>2]=v[a+128>>2]+h;break a}l=A[b+552>>3];n=A[a+64>>3];p=A[b+16>>3];w=p;x=A[b+504>>3];if((g|0)==32){l=l+A[b+560>>3]}b:{G=n;y=e;e=l*A[b+568>>3];l=y-(x*e+A[b+520>>3]*0);n=A[b+32>>3];f=f-(e*A[b+512>>3]+A[b+528>>3]*0);e=w*l+n*f;H=p*c+n*d+A[b+48>>3];c:{if(G>e+H){break c}n=A[a+112>>3];if(n-A[a+72>>3]>3];p=A[b+40>>3];f=y*l+f*p;I=A[b+56>>3]+(l*c+p*d);if(A[a+80>>3]>f+I){break c}c=A[a+120>>3];if(c-A[a+88>>3]n){break c}if(!(c>2]=v[a+128>>2]+h;break a}g=0;d:{if(!(D(f)<3)|(v[v[294330]+212>>2]|!(D(e)<3))){break d}k=v[a+156>>2];v[a+156>>2]=k+1;if((k|0)<5e4){break d}v[a+128>>2]=v[a+128>>2]+h;break a}e:{f:{if((j|0)<1){break f}g:{while(1){k=v[(g<<2)+i>>2];if(!((k|0)==9|(k|0)==160)&(k|0)!=32){break g}g=g+1|0;if((j|0)!=(g|0)){continue}break}g=j}if((g|0)==(j|0)&(j|0)>=1){break e}if((j|0)<=0){break f}g=0;while(1){k=v[a+104>>2];s=k-g|0;h:{if(!((s|0)<8&(k|0)<=19999)){k=v[a+100>>2];break h}k=k<<1;v[a+104>>2]=k;k=pd(v[a+100>>2],k,4);v[a+100>>2]=k;s=v[a+104>>2]-g|0}m=v[a+96>>2];E=(g<<2)+k|0;o=v[(z<<2)+i>>2];i:{j:{if(o>>>0<=255){k=v[m+(o<<2)>>2];if((k|0)!=-1){break j}}k=v[m+1028>>2];if((k|0)>=1){C=v[m+1024>>2];q=-1;while(1){k:{m=(k+q|0)/2|0;F=v[C+B(m,40)>>2];if(F>>>0>>0){q=m;break k}if(o>>>0>>0){k=m;break k}k=0;o=C+B(m,40)|0;l:{if(v[o+36>>2]<1|(s|0)<1){break l}m=C+B(m,40)|0;while(1){q=k<<2;v[q+E>>2]=v[(m+q|0)+4>>2];k=k+1|0;if((k|0)>=v[o+36>>2]){break l}if((k|0)<(s|0)){continue}break}}break i}if((k-q|0)>1){continue}break}}k=o}v[E>>2]=k;k=1}g=g+k|0;z=z+1|0;if((z|0)!=(j|0)){continue}break}o=1;if((g|0)<1){break f}m:{if((g|0)==1){break m}j=0;while(1){i=Dj(v[v[a+100>>2]+(j<<2)>>2]);o=!i;if(!i){break m}j=j+1|0;if((j|0)!=(g|0)){continue}break}}k=b+400|0;q=b+252|0;m=b+392|0;C=b+124|0;c=+(g|0);w=f/c;x=e/c;c=A[a+136>>3];i=v[a+132>>2];n=c*A[i+32>>3];p=A[i+24>>3]*c;i=0;while(1){c=+(i|0);d=I+w*c;c=H+x*c;n:{o:{switch(v[a+144>>2]-1|0){default:l=d-p;f=x+c;d=d-n;break n;case 0:f=p+c;c=n+c;l=d;d=w+d;break n;case 1:l=n+d;f=c;c=x+c;d=p+d;break n;case 2:break o}}l=w+d;f=c-n;c=c-p}s=0;if(v[a+28>>2]|v[a+44>>2]){e=(f+c)*.5;j=e>3]|e>A[b+648>>3];e=(l+d)*.5;s=j|e>3]|e>A[b+656>>3]}p:{if((v[b+592>>2]&3)==1){j=v[b+120>>2];Ub[v[v[j>>2]+20>>2]](j,q,r,v[b+420>>2]);j=k;break p}j=v[b+116>>2];Ub[v[v[j>>2]+20>>2]](j,C,r,v[b+420>>2]);j=m}E=v[a+204>>2];G=A[j>>3];j=fc(96);z=v[v[a+100>>2]+((o?i:(i^-1)+g|0)<<2)>>2];y=A[a+136>>3];F=v[a+132>>2];J=v[a+152>>2];K=v[a+144>>2];L=v[b+592>>2];M=v[a+128>>2];N=v[r>>2];O=v[r+4>>2];P=v[r+8>>2];A[j+40>>3]=d;A[j+32>>3]=f;A[j+24>>3]=l;A[j+16>>3]=c;v[j+8>>2]=h;v[j+4>>2]=M;v[j>>2]=z;q:{if(!(c>f)){e=f;f=c;break q}A[j+32>>3]=c;A[j+16>>3]=f;e=c}r:{if(!(d>3]=l;A[j+24>>3]=d;c=l}if(f<-1e8){v[j+16>>2]=0;v[j+20>>2]=-1047013500}if(e>1e8){v[j+32>>2]=0;v[j+36>>2]=1100470148}if(d<-1e8){v[j+24>>2]=0;v[j+28>>2]=-1047013500}if(c>1e8){v[j+40>>2]=0;v[j+44>>2]=1100470148}t[j+91|0]=(L|0)==3|G<.001;t[j+90|0]=s;t[j+89|0]=J;t[j+88|0]=K;u[j+92>>1]=0;A[j+80>>3]=+(P|0)*152587890625e-16;A[j+72>>3]=+(O|0)*152587890625e-16;A[j+64>>3]=+(N|0)*152587890625e-16;A[j+56>>3]=y;v[j+48>>2]=F;Tc(E,j);i=i+1|0;if((i|0)!=(g|0)){continue}break}}v[a+128>>2]=v[a+128>>2]+h;break a}v[a+128>>2]=v[a+128>>2]+h;a=v[a+204>>2];b=v[a+8>>2];if((b|0)<1){break a}t[v[(v[a>>2]+(b<<2)|0)-4>>2]+92|0]=1}Qb=r+16|0}function hi(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=C(0),k=0,l=0,m=C(0),n=0,o=C(0),p=C(0);k=Qb-16|0;Qb=k;v[k+12>>2]=c;d=cr(a,b);a:{if(!d){break a}if(b>>>0<=65535){d=x[d+12>>1];if(!(v[((d>>>3&8188)+a|0)+40>>2]>>>d&1)){break a}}g=Ub[v[a+672>>2]](a,b,c)|0}b:{if(g){break b}c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{switch(b-254|0){default:p:{switch(b-529|0){case 0:break i;case 3:break d;case 2:break g;case 1:break h;default:break p}}switch(b-32995|0){case 2:break j;case 1:break l;case 3:break m;case 0:break n;default:break b};case 0:v[v[c>>2]>>2]=v[a+80>>2];break b;case 4:u[v[c>>2]>>1]=x[a+84>>1];break b;case 9:u[v[c>>2]>>1]=x[a+92>>1];break b;case 12:u[v[c>>2]>>1]=x[a+94>>1];break b;case 20:u[v[c>>2]>>1]=x[a+96>>1];break b;case 23:u[v[c>>2]>>1]=x[a+98>>1];break b;case 24:v[v[c>>2]>>2]=v[a+100>>2];break b;case 26:u[v[c>>2]>>1]=x[a+104>>1];break b;case 27:u[v[c>>2]>>1]=x[a+106>>1];break b;case 30:u[v[c>>2]>>1]=x[a+138>>1];break b;case 42:u[v[c>>2]>>1]=x[a+136>>1];break b;case 63:u[v[c>>2]>>1]=v[v[a+584>>2]>>2];break b;case 82:u[v[c>>2]>>1]=0;u[v[c+4>>2]>>1]=-1<>1]^-1;break b;case 78:u[v[c>>2]>>1]=1;break b;case 80:u[v[c>>2]>>1]=4;break b;case 85:break k;case 84:break o;case 1:case 2:case 3:case 5:case 6:case 7:case 8:case 10:case 11:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 21:case 22:case 25:case 28:case 29:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 43:case 44:case 45:case 46:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 58:case 59:case 60:case 61:case 62:case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 79:case 81:case 83:break b;case 47:break e;case 64:break f}}u[v[c>>2]>>1]=x[a+168>>1];v[v[c+4>>2]>>2]=v[a+172>>2];break b}u[v[c>>2]>>1]=x[v[a+172>>2]>>1]==1&x[a+168>>1]==1;break b}v[v[c>>2]>>2]=v[a+76>>2];break b}u[v[c>>2]>>1]=x[a+86>>1]-1;break b}u[v[c>>2]>>1]=x[a+86>>1];break b}v[v[c>>2]>>2]=v[a- -64>>2];break b}v[v[c>>2]>>2]=1027708;break b}u[v[c>>2]>>1]=x[a+204>>1];u[v[c+4>>2]>>1]=x[a+206>>1];break b}u[v[c>>2]>>1]=x[a+208>>1];break b}v[282617]=1051788566;v[282618]=1052218684;v[v[c>>2]>>2]=1130468;break b}b=v[a+216>>2];if(!b){v[a+216>>2]=0;v[a+220>>2]=0;v[a+224>>2]=0;f=x[a+84>>1];q:{if(f>>>0>29){break q}d=1<>2]=b;if(!b){break q}u[b>>1]=0;r:{if((d|0)<2){break r}h=+(d|0)+-1;e=1;d=d-1|0;n=d&1;if((f|0)!=1){d=d&-2;while(1){l=b+(e<<1)|0;i=H(de(+(e|0)/h,2.2)*65535+.5);s:{if(i<4294967296&i>=0){f=~~i>>>0;break s}f=0}u[l>>1]=f;f=e+1|0;l=b+(f<<1)|0;i=H(de(+(f|0)/h,2.2)*65535+.5);t:{if(i<4294967296&i>=0){f=~~i>>>0;break t}f=0}u[l>>1]=f;e=e+2|0;d=d-2|0;if(d){continue}break}}if(!n){break r}d=b+(e<<1)|0;h=H(de(+(e|0)/h,2.2)*65535+.5);u:{if(h<4294967296&h>=0){b=~~h>>>0;break u}b=0}u[d>>1]=b}e=1;if((x[a+98>>1]-x[a+168>>1]|0)<2){break q}b=jc(g);v[a+220>>2]=b;v:{if(!b){break v}oe(b,v[a+216>>2],g);b=jc(g);v[a+224>>2]=b;if(!b){break v}oe(b,v[a+216>>2],g);break q}b=v[a+216>>2];if(b){dc(b)}b=v[a+220>>2];if(b){dc(b)}b=v[a+224>>2];if(b){dc(b)}e=0;v[a+224>>2]=0;v[a+216>>2]=0;v[a+220>>2]=0}if(!e){break c}b=v[a+216>>2]}v[v[c>>2]>>2]=b;if((x[a+98>>1]-x[a+168>>1]|0)<2){break b}v[v[c+4>>2]>>2]=v[a+220>>2];v[v[c+8>>2]>>2]=v[a+224>>2];break b}b=v[a+212>>2];if(!b){e=jc(24);v[a+212>>2]=e;b=0;w:{if(!e){break w}x:{if(x[a+90>>1]==6){o=C(128);d=4;g=12;j=C(255);p=C(255);m=C(128);f=8;b=20;break x}d=12;g=8;j=C(-1<>1]^-1);m=j;f=20;b=4}v[e>>2]=0;z[b+e>>2]=j;z[e+g>>2]=p;z[e+d>>2]=j;z[e+16>>2]=o;z[e+f>>2]=m;b=1}if(!b){break b}b=v[a+212>>2]}v[v[c>>2]>>2]=b;break b}zc(v[a+628>>2],v[a>>2],5630,0)}Qb=k+16|0}function r9a(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,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,z=0;a:{b:{c:{if(w[a+286|0]|!w[a+285|0]|(w[a+287|0]|w[a+288|0])){break c}if(w[a+289|0]){break c}d:{if(c>>>0<2){break d}g=d;while(1){j=w[g+1|0];f=g+1|0;g=f;if(j){continue}break}g=(f-d|0)>(c|0)?c+d|0:f;f=g-d|0;j=c-f|0;j=j?j-1|0:0;if(j-1>>>0<=2){break b}k=f-1|0;if(!j){j=0;break d}f=w[g+1|0]?8:4;f=w[g+2|0]?f+4|0:f;l=w[g+3|0]?f+17|0:f;if(w[g+4|0]){if(!(j-l&3)){break d}break b}f=(j|0)==(l|0);l=j;if(f){break d}break b}e:{f:{g:{if(!c){break g}i=w[d|0];f=0;h:{if(!i){break h}f=i;if(!w[a+264|0]){break h}i=i-1|0;f=1;if((i&255)>>>0>4){break h}i=(i&255)<<3;f=i&31;f=(i&63)>>>0>=32?2>>>f|0:((1<>>f}m=f;if(!j){break g}n=w[g+2|0];o=w[g+1|0];if(o){f=w[g+5|0]|w[g+6|0]<<8|(w[g+7|0]<<16|w[g+8|0]<<24);q=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=g+9|0}else{f=g+5|0}i=w[g+3|0];if(n){h=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);r=h<<24|h<<8&16711680|(h>>>8&65280|h>>>24);f=f+4|0}if(i&255){break f}}i=0;f=0;break e}h=w[f+13|0]|w[f+14|0]<<8|(w[f+15|0]<<16|w[f+16|0]<<24);s=h<<24|h<<8&16711680|(h>>>8&65280|h>>>24);h=w[f+9|0]|w[f+10|0]<<8|(w[f+11|0]<<16|w[f+12|0]<<24);u=h<<24|h<<8&16711680|(h>>>8&65280|h>>>24);h=w[f+5|0]|w[f+6|0]<<8|(w[f+7|0]<<16|w[f+8|0]<<24);x=h<<24|h<<8&16711680|(h>>>8&65280|h>>>24);h=w[f+1|0]|w[f+2|0]<<8|(w[f+3|0]<<16|w[f+4|0]<<24);z=h<<24|h<<8&16711680|(h>>>8&65280|h>>>24);f=w[f|0]}i:{m=m&255;i=i&255;h=f&255;j:{if(w[a+114|0]){f=Ub[v[a+152>>2]](64)|0;if(!f){pc(a,1,0,0);i=1;break j}v[f+4>>2]=723;v[f>>2]=724;p=v[a+700>>2];k:{if(p){v[p+8>>2]=f;break k}v[a+696>>2]=f}v[f+8>>2]=0;v[f+12>>2]=p;v[a+700>>2]=f;v[f+16>>2]=v[a+436>>2];v[f+20>>2]=v[a+440>>2];v[f+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=f}v[f+60>>2]=s;v[f+56>>2]=u;v[f+52>>2]=x;v[f+48>>2]=z;t[f+45|0]=h;t[f+44|0]=i;v[f+40>>2]=r;t[f+36|0]=n;v[f+32>>2]=q;t[f+29|0]=o;t[f+28|0]=m}i=e1(a,m,o,q,n,r,i,h,z,x,u,s)}l:{if(i){break l}if(!w[a+112|0]){return 0}i=Ub[v[b+4>>2]](a,b,e)|0;if(i){break l}f=v[e>>2];b=!c;t[f+32|0]=b;if(b){return 0}c=w[d|0];b=c;m:{if(!w[a+264|0]){break m}c=c-1|0;b=1;if((c&255)>>>0>4){break m}c=(c&255)<<3;b=c&31;b=(c&63)>>>0>=32?2>>>b|0:((1<>>b}v[f+36>>2]=k;t[f+33|0]=b;if(k){b=Ub[v[a+152>>2]](k+1|0)|0;v[v[e>>2]+40>>2]=b;b=v[v[e>>2]+40>>2];if(!b){break a}gc(b,d+1|0,k)}if(!j){return 0}b=v[e>>2];c=w[g+1|0];t[b+44|0]=c;d=w[g+2|0];t[b+45|0]=d;f=w[g+3|0];t[b+46|0]=f;i=w[g+4|0];t[b+47|0]=i;if(c){c=w[g+5|0]|w[g+6|0]<<8|(w[g+7|0]<<16|w[g+8|0]<<24);v[b+48>>2]=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=g+9|0}else{c=g+5|0}if(d){d=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);v[b+52>>2]=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);c=c+4|0}if(f){t[b+56|0]=w[c|0];d=w[c+1|0]|w[c+2|0]<<8|(w[c+3|0]<<16|w[c+4|0]<<24);v[b+60>>2]=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=w[c+5|0]|w[c+6|0]<<8|(w[c+7|0]<<16|w[c+8|0]<<24);v[b+64>>2]=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=w[c+9|0]|w[c+10|0]<<8|(w[c+11|0]<<16|w[c+12|0]<<24);v[b+68>>2]=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=w[c+13|0]|w[c+14|0]<<8|(w[c+15|0]<<16|w[c+16|0]<<24);v[b+72>>2]=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);c=c+17|0}if(!i){return 0}d=b;b=j-l|0;v[d+76>>2]=b>>>2;i=0;if(b>>>0<4){break l}b=Ub[v[a+152>>2]](b&-4)|0;v[v[e>>2]+80>>2]=b;e=v[e>>2];d=v[e+80>>2];if(!d){break i}if(!v[e+76>>2]){break l}b=0;while(1){a=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);v[d>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);c=c+4|0;d=d+4|0;b=b+1|0;if(b>>>0>2]){continue}break}}return i|0}break a}pc(a,1029,0,0);return 1029}pc(a,1028,0,0);return 1028}pc(a,1,0,0);return 1}function UVa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;if(v[a+36>>2]>=1){l=v[a+468>>2];i=v[a+216>>2];while(1){d=b;h=e;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{g=v[i+36>>2];c=v[i+40>>2]+(g<<8)|0;if((c|0)<=2051){if((c|0)<=1025){K:{switch(c-513|0){case 3:break i;case 0:break p;case 1:break J;case 2:break e;default:break K}}b=230;e=0;L:{switch(c-257|0){case 1:break h;case 0:break a;default:break L}}switch(c-771|0){case 3:break j;case 0:break I;default:break e}}if((c|0)<=1538){M:{switch(c-1026|0){case 6:break k;case 0:break q;case 2:break H;case 1:case 3:case 4:case 5:break e;default:break M}}switch(c-1285|0){case 5:break l;case 0:break G;default:break e}}N:{switch(c-1539|0){case 9:break m;case 0:break r;case 3:break F;case 1:case 2:case 4:case 5:case 6:case 7:case 8:break e;default:break N}}switch(c-1799|0){case 7:break n;case 0:break E;default:break e}}if((c|0)<=3077){if((c|0)<=2564){switch(c-2052|0){case 12:break o;case 0:break s;case 1:case 2:case 3:case 5:case 6:case 7:case 8:case 9:case 10:case 11:break e;case 4:break g;default:break f}}switch(c-2565|0){case 0:break t;case 5:break D;case 1:case 2:case 3:case 4:break e;default:break C}}if((c|0)<=3590){switch(c-3078|0){case 0:break u;case 6:break B;case 1:case 2:case 3:case 4:case 5:break e;default:break A}}O:{switch(c-3591|0){case 0:break v;case 7:break z;case 1:case 2:case 3:case 4:case 5:case 6:break e;default:break O}}switch(c-4104|0){case 0:break w;case 8:break x;case 1:case 2:case 3:case 4:case 5:case 6:case 7:break e;default:break y}}b=231;e=0;break a}b=232;break a}b=233;e=0;break a}b=234;e=0;break a}b=235;e=0;break a}b=236;e=0;break a}b=237;e=0;break a}if((c|0)!=2827){break e}b=238;e=0;break a}b=239;e=0;break a}if((c|0)!=3341){break e}b=240;e=0;break a}b=241;e=0;break a}if((c|0)!=3855){break e}b=242;e=0;break a}b=243;e=0;break a}b=244;e=0;break a}b=245;e=0;break a}b=246;e=0;break a}b=247;e=0;break a}b=248;e=0;break a}b=249;e=0;break a}b=250;e=0;break a}b=251;e=0;break a}b=252;e=0;break a}b=253;e=0;break a}b=254;e=0;break a}b=255;e=0;break a}b=256;e=0;break a}b=257;break a}b=258;e=0;break a}b=259;break a}e=v[a+72>>2];if(e>>>0<3){break d}b=v[a>>2];v[b+20>>2]=49;Ub[v[b>>2]](a);break c}if((c|0)==2313){break b}}b=v[a>>2];v[b+24>>2]=g;v[b+20>>2]=7;v[v[a>>2]+28>>2]=v[i+40>>2];Ub[v[v[a>>2]>>2]](a);break c}b=v[(e<<2)+71808>>2];break a}b=d;e=h;break a}b=260;e=0}d=(k<<2)+l|0;v[d+4>>2]=b;P:{if(!v[i+52>>2]|v[d+44>>2]==(e|0)){break P}h=v[i+80>>2];if(!h){break P}v[d+44>>2]=e;Q:{switch(e|0){case 0:c=v[i+84>>2];d=0;while(1){v[c+(d<<2)>>2]=x[h+(d<<1)>>1];g=d|1;v[c+(g<<2)>>2]=x[h+(g<<1)>>1];g=d|2;v[c+(g<<2)>>2]=x[h+(g<<1)>>1];g=d|3;v[c+(g<<2)>>2]=x[h+(g<<1)>>1];d=d+4|0;if((d|0)!=64){continue}break};break P;case 1:c=v[i+84>>2];d=0;while(1){g=d<<1;v[c+(d<<2)>>2]=B(u[g+71616>>1],x[h+g>>1])+2048>>12;f=d|1;g=f<<1;v[c+(f<<2)>>2]=B(u[g+71616>>1],x[h+g>>1])+2048>>12;d=d+2|0;if((d|0)!=64){continue}break};break P;case 2:c=v[i+84>>2];g=0;d=0;while(1){j=A[(g<<3)+71744>>3];z[c+(d<<2)>>2]=j*+x[h+(d<<1)>>1]*.125;f=d|1;z[c+(f<<2)>>2]=j*+x[h+(f<<1)>>1]*1.387039845*.125;f=d|2;z[c+(f<<2)>>2]=j*+x[h+(f<<1)>>1]*1.306562965*.125;f=d|3;z[c+(f<<2)>>2]=j*+x[h+(f<<1)>>1]*1.175875602*.125;f=d|4;z[c+(f<<2)>>2]=j*+x[h+(f<<1)>>1]*.125;f=d|5;z[c+(f<<2)>>2]=j*+x[h+(f<<1)>>1]*.785694958*.125;f=d|6;z[c+(f<<2)>>2]=j*+x[h+(f<<1)>>1]*.5411961*.125;f=d|7;z[c+(f<<2)>>2]=j*+x[h+(f<<1)>>1]*.275899379*.125;d=d+8|0;g=g+1|0;if((g|0)!=8){continue}break};break P;default:break Q}}d=v[a>>2];v[d+20>>2]=49;Ub[v[d>>2]](a)}i=i+88|0;k=k+1|0;if((k|0)>2]){continue}break}}}function dQa(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;e=Qb+-64|0;Qb=e;g=e+48|0;d=c;j=v[a+164>>2]+68|0;n=v[j+48>>2];f=v[j+44>>2];l=j+40|0;a:{if(!(!n|(f|0)==(l|0))){c=f;while(1){if(!((d|0)>2]|(d|0)>v[c+24>>2])){if(t[c+19|0]>=0){d=v[c+12>>2];v[g>>2]=v[c+8>>2];v[g+4>>2]=d;v[g+8>>2]=v[c+16>>2];break a}Ke(g,v[c+8>>2],v[c+12>>2]);break a}c=v[c+4>>2];if((l|0)!=(c|0)){continue}break}}b:{c:{k=v[j+36>>2];if((k|0)<1){break c}h=v[j+32>>2];if(!h){break c}c=0;d:{e:{f:{g:{if((k|0)>=2){i=k-1|0;while(1){k=c+i>>1;m=B(k,20)+h|0;h:{if((d|0)>2]){i=k-1|0;break h}if((d|0)<=v[m+16>>2]){break g}c=k+1|0}if((c|0)<(i|0)){continue}break}}if((c|0)<=(i|0)){break f}break c}c=fc(28);v[c>>2]=0;i=c+8|0;d=B(k,20)+h|0;i:{if(t[d+11|0]>=0){o=v[d+4>>2];v[i>>2]=v[d>>2];v[i+4>>2]=o;v[i+8>>2]=v[d+8>>2];break i}f=v[d+4>>2];d=v[d>>2];v[299999]=0;U(2345,i|0,d|0,f|0);d=v[299999];v[299999]=0;if((d|0)==1){break e}h=v[j+32>>2];n=v[j+48>>2];f=v[j+44>>2]}d=v[m+16>>2];i=v[m+12>>2];v[c+4>>2]=f;v[c>>2]=l;v[c+20>>2]=i;v[c+24>>2]=d;v[f>>2]=c;v[j+48>>2]=n+1;v[j+44>>2]=c;c=B(k,20)+h|0;if(t[c+11|0]>=0){break d}break b}f=B(c,20)+h|0;if(!((d|0)>=v[f+12>>2]&(d|0)<=v[f+16>>2])){break c}d=fc(28);v[d>>2]=0;h=d+8|0;j:{k:{l:{if(t[f+11|0]>=0){i=v[f+4>>2];v[h>>2]=v[f>>2];v[h+4>>2]=i;v[h+8>>2]=v[f+8>>2];break l}i=v[f+4>>2];k=v[f>>2];v[299999]=0;U(2345,h|0,k|0,i|0);h=v[299999];v[299999]=0;if((h|0)==1){break k}}h=v[f+16>>2];f=v[f+12>>2];v[d>>2]=l;v[d+20>>2]=f;v[d+24>>2]=h;f=v[l+4>>2];v[d+4>>2]=f;v[f>>2]=d;v[l+4>>2]=d;v[l+8>>2]=v[l+8>>2]+1;break j}a=P()|0;O()|0;dc(d);T(a|0);L()}c=v[j+32>>2]+B(c,20)|0;if(t[c+11|0]>=0){break d}break b}a=P()|0;O()|0;dc(c);T(a|0);L()}d=v[c+4>>2];v[g>>2]=v[c>>2];v[g+4>>2]=d;v[g+8>>2]=v[c+8>>2];break a}v[g>>2]=0;t[g+11|0]=0;break a}Ke(g,v[c>>2],v[c+4>>2])}c=0;f=w[e+59|0];d=f<<24>>24;m:{n:{o:{if((d|0)<0?v[e+52>>2]:f){f=v[a+12>>2];v[a+12>>2]=0;d=a+112|0;p:{if(t[a+123|0]>=0){v[e+40>>2]=v[d+8>>2];c=v[d+4>>2];v[e+32>>2]=v[d>>2];v[e+36>>2]=c;break p}c=v[a+116>>2];g=v[a+112>>2];v[299999]=0;U(2345,e+32|0,g|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break o}}v[e+28>>2]=0;q:{if(!v[b+132>>2]){c=v[v[b>>2]+52>>2];v[299999]=0;g=S(c|0,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break n}c=2;if(!g){break q}}v[e+28>>2]=1;c=3}r:{if(!v[b+128>>2]){g=v[v[b>>2]+48>>2];v[299999]=0;g=S(g|0,b|0)|0;j=v[299999];v[299999]=0;if((j|0)==1){break n}if(!g){break r}}v[e+28>>2]=c}A[e+16>>3]=y[b+120>>2];A[e+8>>3]=y[b+124>>2];c=v[v[a>>2]+140>>2];v[299999]=0;aa(c|0,a|0,e+48|0,b+112|0,e+28|0,e+16|0,e+8|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break n}c=v[a+12>>2];v[a+12>>2]=f;s:{if(!c){break s}t:{u:{if((d|0)==(e+32|0)){break u}g=w[e+43|0];f=g<<24>>24;if(t[a+123|0]>=0){if((f|0)>=0){a=v[e+36>>2];v[d>>2]=v[e+32>>2];v[d+4>>2]=a;v[d+8>>2]=v[e+40>>2];break u}v[299999]=0;Y(2544,d|0,v[e+32>>2],v[e+36>>2])|0;a=v[299999];v[299999]=0;if((a|0)!=1){break u}break t}v[299999]=0;a=(f|0)<0;Y(2545,d|0,(a?v[e+32>>2]:e+32|0)|0,(a?v[e+36>>2]:g)|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break t}}a=v[b+60>>2];v[c+56>>2]=v[b+56>>2];v[c+60>>2]=a;a=v[b+100>>2];v[c+96>>2]=v[b+96>>2];v[c+100>>2]=a;a=v[b+92>>2];v[c+88>>2]=v[b+88>>2];v[c+92>>2]=a;a=v[b+84>>2];v[c+80>>2]=v[b+80>>2];v[c+84>>2]=a;a=v[b+76>>2];v[c+72>>2]=v[b+72>>2];v[c+76>>2]=a;b=b- -64|0;d=v[b+4>>2];a=c- -64|0;v[a>>2]=v[b>>2];v[a+4>>2]=d;v[299999]=0;nX(c);a=v[299999];v[299999]=0;if((a|0)!=1){break s}}break n}if(t[e+43|0]<=-1){dc(v[e+32>>2])}d=t[e+59|0]}if(d<<24>>24<=-1){dc(v[e+48>>2])}Qb=e- -64|0;return c|0}a=P()|0;O()|0;break m}a=P()|0;O()|0;if(t[e+43|0]>-1){break m}dc(v[e+32>>2])}if(t[e+59|0]<=-1){dc(v[e+48>>2])}T(a|0);L()}function DIa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=Qb-16|0;Qb=i;b=v[a+420>>2];c=v[a+24>>2];g=v[c>>2];a:{if(v[a+264>>2]){v[b+112>>2]=g;v[b+116>>2]=v[c+4>>2];g=0;b:{c:{d:{e=v[b+128>>2];switch(e|0){case 0:break b;case 1:break c;default:break d}}while(1){c=g;g=c+1|0;e=e>>1;if(e>>>0>1){continue}break}if(c>>>0<14){break c}c=v[b+120>>2];d=v[c>>2];v[d+20>>2]=41;Ub[v[d>>2]](c)}c=g<<4;d=v[b+124>>2];e:{if(v[b+108>>2]){c=v[((d<<2)+b|0)+92>>2]+(c<<2)|0;v[c>>2]=v[c>>2]+1;break e}d=v[((d<<2)+b|0)+60>>2];f=v[d+(c<<2)>>2];e=v[b+16>>2];c=t[(c+d|0)+1024|0];if(!c){d=v[b+120>>2];h=v[d>>2];v[h+20>>2]=41;Ub[v[h>>2]](d);if(v[b+108>>2]){break e}}d=c+e|0;e=v[b+12>>2]|(f&(-1<=8){while(1){c=v[b+112>>2];v[b+112>>2]=c+1;t[c|0]=e>>>16;c=v[b+116>>2]-1|0;v[b+116>>2]=c;if(!c){f=v[b+120>>2];c=v[f+24>>2];if(!(Ub[v[c+12>>2]](f)|0)){f=v[b+120>>2];h=v[f>>2];v[h+20>>2]=25;Ub[v[h>>2]](f)}v[b+112>>2]=v[c>>2];v[b+116>>2]=v[c+4>>2]}c=d;f:{if((e&16711680)!=16711680){break f}d=v[b+112>>2];v[b+112>>2]=d+1;t[d|0]=0;d=v[b+116>>2]-1|0;v[b+116>>2]=d;if(d){break f}f=v[b+120>>2];d=v[f+24>>2];if(!(Ub[v[d+12>>2]](f)|0)){f=v[b+120>>2];h=v[f>>2];v[h+20>>2]=25;Ub[v[h>>2]](f)}v[b+112>>2]=v[d>>2];v[b+116>>2]=v[d+4>>2]}d=c-8|0;e=e<<8;if((c|0)>15){continue}break}}v[b+16>>2]=d;v[b+12>>2]=e}if(!(v[b+108>>2]|!g)){c=v[b+16>>2]+g|0;g=v[b+12>>2]|(v[b+128>>2]&(-1<=8){while(1){d=v[b+112>>2];v[b+112>>2]=d+1;t[d|0]=g>>>16;d=v[b+116>>2]-1|0;v[b+116>>2]=d;if(!d){f=v[b+120>>2];d=v[f+24>>2];if(!(Ub[v[d+12>>2]](f)|0)){f=v[b+120>>2];e=v[f>>2];v[e+20>>2]=25;Ub[v[e>>2]](f)}v[b+112>>2]=v[d>>2];v[b+116>>2]=v[d+4>>2]}d=c;g:{if((g&16711680)!=16711680){break g}c=v[b+112>>2];v[b+112>>2]=c+1;t[c|0]=0;c=v[b+116>>2]-1|0;v[b+116>>2]=c;if(c){break g}f=v[b+120>>2];c=v[f+24>>2];if(!(Ub[v[c+12>>2]](f)|0)){f=v[b+120>>2];e=v[f>>2];v[e+20>>2]=25;Ub[v[e>>2]](f)}v[b+112>>2]=v[c>>2];v[b+116>>2]=v[c+4>>2]}c=d-8|0;g=g<<8;if((d|0)>15){continue}break}}v[b+16>>2]=c;v[b+12>>2]=g}v[b+128>>2]=0;h:{if(v[b+108>>2]){break h}f=v[b+132>>2];if(!f){break h}d=v[b+136>>2];g=0;while(1){if(!g){e=v[b+16>>2];g=v[b+12>>2]|(t[d|0]&1)<<23-e;c=e+1|0;if((e|0)>=7){while(1){e=v[b+112>>2];v[b+112>>2]=e+1;t[e|0]=g>>>16;e=v[b+116>>2]-1|0;v[b+116>>2]=e;if(!e){h=v[b+120>>2];e=v[h+24>>2];if(!(Ub[v[e+12>>2]](h)|0)){h=v[b+120>>2];j=v[h>>2];v[j+20>>2]=25;Ub[v[j>>2]](h)}v[b+112>>2]=v[e>>2];v[b+116>>2]=v[e+4>>2]}e=c;i:{if((g&16711680)!=16711680){break i}c=v[b+112>>2];v[b+112>>2]=c+1;t[c|0]=0;c=v[b+116>>2]-1|0;v[b+116>>2]=c;if(c){break i}h=v[b+120>>2];c=v[h+24>>2];if(!(Ub[v[c+12>>2]](h)|0)){h=v[b+120>>2];j=v[h>>2];v[j+20>>2]=25;Ub[v[j>>2]](h)}v[b+112>>2]=v[c>>2];v[b+116>>2]=v[c+4>>2]}c=e-8|0;g=g<<8;if((e|0)>15){continue}break}}v[b+16>>2]=c;v[b+12>>2]=g}f=f-1|0;if(!f){break h}d=d+1|0;g=v[b+108>>2];continue}}v[b+132>>2]=0}gU(b);a=v[a+24>>2];v[a>>2]=v[b+112>>2];v[a+4>>2]=v[b+116>>2];break a}h=v[b+16>>2];j=v[b+12>>2];c=v[c+4>>2];d=v[b+32>>2];v[i+8>>2]=v[b+28>>2];v[i+12>>2]=d;d=v[b+24>>2];v[i>>2]=v[b+20>>2];v[i+4>>2]=d;j:{k:{if((h|0)<1){break k}f=h+7|0;e=127<<17-h|j;while(1){l:{t[g|0]=e>>>16;g=g+1|0;c=c-1|0;if(!c){c=v[a+24>>2];if(!(Ub[v[c+12>>2]](a)|0)){break l}g=v[c>>2];c=v[c+4>>2]}d=f;m:{if((e&16711680)!=16711680){break m}t[g|0]=0;g=g+1|0;c=c-1|0;if(c){break m}f=v[a+24>>2];if(!(Ub[v[f+12>>2]](a)|0)){break l}c=v[f+4>>2];g=v[f>>2]}f=d-8|0;e=e<<8;if((d|0)>15){continue}break k}break}c=v[a>>2];v[c+20>>2]=25;Ub[v[c>>2]](a);c=0;break j}j=0;h=0}a=v[a+24>>2];v[a+4>>2]=c;v[a>>2]=g;v[b+16>>2]=h;v[b+12>>2]=j;a=v[i+12>>2];v[b+28>>2]=v[i+8>>2];v[b+32>>2]=a;a=v[i+4>>2];v[b+20>>2]=v[i>>2];v[b+24>>2]=a}Qb=i+16|0}function LI(a,b,c){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;a:while(1){i=b-4|0;while(1){b:{c:{d:{e:{f:{g:{d=b-a|0;e=d>>2;switch(e|0){case 0:case 1:break b;case 5:break d;case 4:break e;case 3:break f;case 2:break g;default:break c}}c=v[v[c>>2]+12>>2];b=b-4|0;d=v[b>>2];e=v[a>>2];if(y[v[c+(d<<2)>>2]+4>>2]>=y[v[c+(e<<2)>>2]+4>>2]){break b}v[a>>2]=d;v[b>>2]=e;return}d=b-4|0;e=v[d>>2];b=v[v[c>>2]+12>>2];f=v[v[(e<<2)+b>>2]+4>>2];g=v[a+4>>2];i=v[v[b+(g<<2)>>2]+4>>2];c=v[a>>2];h=v[b+(c<<2)>>2];if(i>>>0>=y[h+4>>2]){if(f>>>0>=i>>>0){break b}v[a+4>>2]=e;v[d>>2]=g;c=v[a+4>>2];d=v[a>>2];if(y[v[b+(c<<2)>>2]+4>>2]>=y[v[b+(d<<2)>>2]+4>>2]){break b}v[a+4>>2]=d;v[a>>2]=c;return}if(f>>>0>>0){v[a>>2]=e;v[d>>2]=c;return}v[a+4>>2]=c;v[a>>2]=g;e=v[d>>2];if(y[v[b+(e<<2)>>2]+4>>2]>=y[h+4>>2]){break b}v[a+4>>2]=e;v[d>>2]=c;return}HI(a,a+4|0,a+8|0,b-4|0,c);return}GI(a,a+4|0,a+8|0,a+12|0,b-4|0,c);break b}if((d|0)<=123){i=a+4|0;d=a+8|0;k=v[v[c>>2]+12>>2];g=v[a+8>>2];l=v[k+(g<<2)>>2];m=v[l+4>>2];h:{i:{j:{h=v[a+4>>2];o=v[v[k+(h<<2)>>2]+4>>2];j=v[a>>2];n=v[k+(j<<2)>>2];if(o>>>0>=y[n+4>>2]){if(m>>>0>>0){break j}f=g;break h}c=a;e=d;f=j;if(m>>>0>>0){break i}v[a+4>>2]=j;v[a>>2]=h;c=i;if(y[l+4>>2]>2]){break i}f=g;break h}v[i>>2]=g;v[d>>2]=h;c=a;e=i;f=h;if(y[l+4>>2]>=y[n+4>>2]){break h}}v[c>>2]=g;v[e>>2]=j}e=a+12|0;if((e|0)==(b|0)){break b}while(1){c=e;g=e;i=v[e>>2];h=v[k+(i<<2)>>2];if(y[h+4>>2]>2]+4>>2]){while(1){k:{v[g>>2]=f;e=d;if((d|0)==(a|0)){e=a;break k}g=e;d=e-4|0;f=v[d>>2];if(y[h+4>>2]>2]+4>>2]){continue}}break}v[e>>2]=i}e=c+4|0;if((e|0)==(b|0)){break b}f=v[c>>2];d=c;continue}}h=((e|0)/2<<2)+a|0;l:{if((d|0)>=3997){d=(e|0)/4<<2;j=GI(a,d+a|0,h,d+h|0,i,c);e=v[v[c>>2]+12>>2];break l}e=v[v[c>>2]+12>>2];f=v[i>>2];g=v[v[e+(f<<2)>>2]+4>>2];k=v[h>>2];l=v[v[(k<<2)+e>>2]+4>>2];d=v[a>>2];m=v[(d<<2)+e>>2];m:{if(l>>>0>=y[m+4>>2]){j=0;if(g>>>0>=l>>>0){break l}v[h>>2]=f;v[i>>2]=k;j=1;d=v[h>>2];f=v[a>>2];if(y[v[(d<<2)+e>>2]+4>>2]>=y[v[(f<<2)+e>>2]+4>>2]){break l}v[a>>2]=d;v[h>>2]=f;break m}if(g>>>0>>0){v[a>>2]=f;v[i>>2]=d;j=1;break l}v[a>>2]=k;v[h>>2]=d;j=1;f=v[i>>2];if(y[v[(f<<2)+e>>2]+4>>2]>=y[m+4>>2]){break l}v[h>>2]=f;v[i>>2]=d}j=2}f=i;n:{o:{g=v[a>>2];d=v[v[(g<<2)+e>>2]+4>>2];k=v[v[(v[h>>2]<<2)+e>>2]+4>>2];if(d>>>0>=k>>>0){while(1){f=f-4|0;if((f|0)==(a|0)){g=a+4|0;f=v[i>>2];if(d>>>0>2]+4>>2]){break o}if((g|0)==(i|0)){break b}while(1){h=v[g>>2];if(d>>>0>2]+4>>2]){v[g>>2]=f;v[i>>2]=h;g=g+4|0;break o}g=g+4|0;if((i|0)!=(g|0)){continue}break}break b}l=v[f>>2];if(k>>>0<=y[v[(l<<2)+e>>2]+4>>2]){continue}break}v[a>>2]=l;v[f>>2]=g;j=j+1|0}d=a+4|0;if(d>>>0>>0){while(1){k=v[v[(v[h>>2]<<2)+e>>2]+4>>2];while(1){g=d;d=d+4|0;l=v[g>>2];if(k>>>0>y[v[(l<<2)+e>>2]+4>>2]){continue}break}while(1){f=f-4|0;m=v[f>>2];if(k>>>0<=y[v[(m<<2)+e>>2]+4>>2]){continue}break}if(f>>>0>>0){d=g}else{v[g>>2]=m;v[f>>2]=l;h=(g|0)==(h|0)?f:h;j=j+1|0;continue}break}}p:{if((d|0)==(h|0)){break p}f=v[h>>2];n=v[v[(f<<2)+e>>2]+4>>2];g=e;e=v[d>>2];if(n>>>0>=y[v[g+(e<<2)>>2]+4>>2]){break p}v[d>>2]=f;v[h>>2]=e;j=j+1|0}if(!j){g=o0(a,d,c);f=d+4|0;if(o0(f,b,c)){b=d;if(!g){continue a}break b}e=2;if(g){break n}}if((d-a|0)<(b-d|0)){LI(a,d,c);a=d+4|0;continue}LI(d+4|0,b,c);b=d;continue a}d=i;if((g|0)==(d|0)){break b}while(1){h=v[v[(v[a>>2]<<2)+e>>2]+4>>2];while(1){f=g;g=f+4|0;j=v[f>>2];if(h>>>0>=y[v[(j<<2)+e>>2]+4>>2]){continue}break}while(1){d=d-4|0;k=v[d>>2];if(h>>>0>2]+4>>2]){continue}break}if(d>>>0>f>>>0){v[f>>2]=k;v[d>>2]=j;continue}break}e=4}a=f;if((e|0)==4|(e|0)==2){continue}}break}break}}function sE(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,u,w,x,y,z,A,C,D){var E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,Q=0;E=Qb-48|0;Qb=E;G=fc(24);F=d+7>>3;v[G+16>>2]=F;v[G+12>>2]=e;v[G+8>>2]=d;v[G>>2]=936712;v[G+4>>2]=0;if(!(!((d|0)<1|(e|0)<1)&(2147483646/(F|0)|0)>(e|0))){v[G+12>>2]=-1;v[G+16>>2]=2;e=-1;F=2}v[299999]=0;e=B(e,F);d=S(3693,e+1|0)|0;H=v[299999];v[299999]=0;a:{b:{if((H|0)!=1){v[G+20>>2]=d;t[d+e|0]=0;d=B(v[G+16>>2],v[G+12>>2]);e=v[G+20>>2];if(!l){break b}ic(e,255,d);break a}a=P()|0;O()|0;dc(G);T(a|0);L()}ic(e,0,d)}c:{if(b){Eh(v[a+144>>2],E+44|0,s);break c}Gi(v[a+76>>2],E+44|0,v[a+104>>2])}v[E+44>>2]=0-(v[E+44>>2]<>2],E+40|0,s)){break d}v[E+44>>2]=v[E+44>>2]+(v[E+40>>2]<>2],E+36|0,q)){break e}break d}if(!Gi(v[a+76>>2],E+40|0,v[a+104>>2])){break d}v[E+44>>2]=v[E+44>>2]+(v[E+40>>2]<>2],E+36|0,v[a+112>>2])){break d}}K=v[E+36>>2]+K|0;I=K;f:{if(f>>>0<=J>>>0){break f}while(1){g:{h:{i:{j:{k:{if(!g){d=0;break k}if(!b){break i}e=v[a+144>>2];d=v[e+4>>2];l=v[e+8>>2];if(l>>>0>=g>>>0){H=e;e=l-g|0;v[H+8>>2]=e;d=d>>>e&Q;v[E+40>>2]=d;H=d+v[E+44>>2]|0;break j}v[e+8>>2]=0;d=d&(-1<>>0>=8){while(1){l=v[e>>2];l=Ub[v[v[l>>2]+28>>2]](l)|0;v[e+12>>2]=v[e+12>>2]+1;d=l&255|d<<8;F=F-8|0;if(F>>>0>7){continue}break}}if(!F){break k}l=v[e>>2];l=Ub[v[v[l>>2]+28>>2]](l)|0;v[e+4>>2]=l;H=8-F|0;v[e+8>>2]=H;v[e+12>>2]=v[e+12>>2]+1;d=(-1<>>H|d<>2]=d;H=v[E+44>>2]+d|0;d=H;if(!b){break h}}e=v[a+144>>2];if(i){Eh(e,E+32|0,i);d=v[E+32>>2];break g}d=v[e+4>>2];l=v[e+8>>2];if(l>>>0>=j>>>0){F=e;e=l-j|0;v[F+8>>2]=e;d=d>>>e&N;break g}v[e+8>>2]=0;d=d&(-1<>>0>=8){while(1){l=v[e>>2];l=Ub[v[v[l>>2]+28>>2]](l)|0;v[e+12>>2]=v[e+12>>2]+1;d=l&255|d<<8;F=F-8|0;if(F>>>0>7){continue}break}}if(!F){break g}l=v[e>>2];l=Ub[v[v[l>>2]+28>>2]](l)|0;v[e+4>>2]=l;M=8-F|0;v[e+8>>2]=M;v[e+12>>2]=v[e+12>>2]+1;d=(-1<>>M|d<>2],E+40|0,v[a+108>>2]);d=v[E+40>>2]+v[E+44>>2]|0}H=d;d=sS(v[a+76>>2],j,v[a+140>>2])}l:{if(d>>>0>=h>>>0){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,247903,0);break l}m:{n:{if(c){o:{if(b){e=v[a+144>>2];l=v[e+8>>2];p:{if(l){F=l-1|0;l=v[e+4>>2];break p}l=v[e>>2];l=Ub[v[v[l>>2]+28>>2]](l)|0;v[e+4>>2]=l;v[e+12>>2]=v[e+12>>2]+1;F=7}v[e+8>>2]=F;e=l>>>F&1;v[E+12>>2]=e;if(!e){break n}Eh(v[a+144>>2],E+28|0,u);Eh(v[a+144>>2],E+24|0,w);Eh(v[a+144>>2],E+20|0,x);Eh(v[a+144>>2],E+16|0,y);Eh(v[a+144>>2],E+8|0,z);e=v[a+144>>2];v[e+4>>2]=0;v[e+8>>2]=0;Ul(v[a+76>>2]);break o}Gi(v[a+76>>2],E+12|0,v[a+136>>2]);if(!v[E+12>>2]){break n}Gi(v[a+76>>2],E+28|0,v[a+128>>2]);Gi(v[a+76>>2],E+24|0,v[a+132>>2]);Gi(v[a+76>>2],E+20|0,v[a+120>>2]);Gi(v[a+76>>2],E+16|0,v[a+124>>2])}e=v[E+28>>2];d=v[(d<<2)+k>>2];l=v[E+24>>2];e=tE(a,e+v[d+8>>2]|0,l+v[d+12>>2]|0,A,0,d,v[E+20>>2]+((e+(e>>31)|0)/2|0)|0,v[E+16>>2]+((l+(l>>31)|0)/2|0)|0,C,D);break m}v[E+12>>2]=0}e=v[(d<<2)+k>>2]}l=v[e+12>>2]-1|0;F=v[e+8>>2]-1|0;q:{if(n){d=l;r:{switch(o|0){case 0:case 1:ik(G,e,H,I,m);break q;case 2:ik(G,e,H-F|0,I,m);break q;case 3:break r;default:break q}}ik(G,e,H-F|0,I,m);break q}d=F;s:{t:{switch(o|0){case 0:ik(G,e,I,H-l|0,m);break s;case 2:ik(G,e,I,H-l|0,m);break s;case 1:case 3:break t;default:break q}}ik(G,e,I,H,m)}}I=d+I|0;if(!v[E+12>>2]){break l}Ub[v[v[e>>2]+4>>2]](e)}J=J+1|0;u:{if(b){if(Eh(v[a+144>>2],E+36|0,r)){break u}break f}if(!Gi(v[a+76>>2],E+36|0,v[a+116>>2])){break f}}I=v[E+36>>2]+(p+I|0)|0;if((f|0)!=(J|0)){continue}break}break d}if(f>>>0>J>>>0){continue}break}}Qb=E+48|0;return G}function kOa(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;d=Qb-176|0;Qb=d;v[d+172>>2]=0;v[d+168>>2]=0;e=w[a+11|0];f=e<<24>>24<0;fq(f?v[a>>2]:a,f?v[a+4>>2]:e,d+172|0,d+168|0,0);j=RN(v[d+172>>2]);if(j){e=ZC(j);if(e){while(1){f=1;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{switch(w[e+18|0]){case 0:h=v[d+172>>2];g=Bc(h);if(g>>>0>=4294967280){break b}m:{n:{if(g>>>0>=11){i=g+16&-16;f=fc(i);v[d+40>>2]=i|-2147483648;v[d+32>>2]=f;v[d+36>>2]=g;break n}t[d+43|0]=g;f=d+32|0;if(!g){break m}}gc(f,h,g)}t[f+g|0]=0;v[299999]=0;f=Q(2730,d+32|0,335628)|0;g=v[299999];v[299999]=0;if((g|0)==1){break k}v[d+56>>2]=v[f+8>>2];g=v[f+4>>2];v[d+48>>2]=v[f>>2];v[d+52>>2]=g;v[f>>2]=0;v[f+4>>2]=0;v[f+8>>2]=0;h=e+19|0;g=Bc(h);if(g>>>0>=4294967280){v[299999]=0;R(2530,d+16|0);a=v[299999];v[299999]=0;if((a|0)==1){break i}L()}o:{p:{if(g>>>0>=11){v[299999]=0;i=g+16&-16;f=S(1,i|0)|0;k=v[299999];v[299999]=0;if((k|0)==1){break j}v[d+16>>2]=f;v[d+20>>2]=g;v[d+24>>2]=i|-2147483648;break p}t[d+27|0]=g;f=d+16|0;if(!g){break o}}gc(f,h,g)}t[f+g|0]=0;v[299999]=0;f=w[d+27|0];g=f<<24>>24<0;f=Y(2531,d+48|0,(g?v[d+16>>2]:d+16|0)|0,(g?v[d+20>>2]:f)|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break h}v[d+72>>2]=v[f+8>>2];g=v[f+4>>2];v[d+64>>2]=v[f>>2];v[d+68>>2]=g;v[f>>2]=0;v[f+4>>2]=0;v[f+8>>2]=0;if(t[d+27|0]<=-1){dc(v[d+16>>2])}if(t[d+59|0]<=-1){dc(v[d+48>>2])}if(t[d+43|0]<=-1){dc(v[d+32>>2])}g=v[d+64>>2];h=t[d+75|0];On((h|0)<0?g:d- -64|0,d+80|0);f=v[d+92>>2]&61440;if((h|0)<=-1){dc(g)}if((f|0)==32768){break e}f=(f|0)==16384;break;case 4:break l;case 8:break e;default:break a}}if(!f|!c){break a}if(w[e+19|0]!=46){break d}break a}e=P()|0;O()|0;break f}e=P()|0;O()|0;break g}e=P()|0;O()|0;break g}e=P()|0;O()|0;if(t[d+27|0]>-1){break g}dc(v[d+16>>2])}if(t[d+59|0]>-1){break f}dc(v[d+48>>2])}if(t[d+43|0]>-1){break c}dc(v[d+32>>2]);T(e|0);L()}e=e+19|0;cn(d+80|0,e,Bc(e));v[299999]=0;U(2731,d+48|0,a|0,530220);e=v[299999];v[299999]=0;q:{r:{s:{t:{if((e|0)!=1){v[299999]=0;e=w[d+91|0];f=e<<24>>24<0;e=Y(2653,d+48|0,(f?v[d+80>>2]:d+80|0)|0,(f?v[d+84>>2]:e)|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break t}v[d+72>>2]=v[e+8>>2];f=v[e+4>>2];v[d+64>>2]=v[e>>2];v[d+68>>2]=f;v[e>>2]=0;v[e+4>>2]=0;v[e+8>>2]=0;e=v[b+4>>2];u:{if(e>>>0>2]){f=v[d+68>>2];v[e>>2]=v[d+64>>2];v[e+4>>2]=f;v[e+8>>2]=v[d+72>>2];v[d+72>>2]=0;v[d+64>>2]=0;v[d+68>>2]=0;v[b+4>>2]=e+12;break u}v[299999]=0;V(2648,b|0,d- -64|0);e=v[299999];v[299999]=0;if((e|0)==1){break s}if(t[d+75|0]>-1){break u}dc(v[d+64>>2])}if(t[d+59|0]<=-1){dc(v[d+48>>2])}if(t[d+91|0]>-1){break a}dc(v[d+80>>2]);break a}e=P()|0;O()|0;break q}e=P()|0;O()|0;break r}e=P()|0;O()|0;if(t[d+75|0]>-1){break r}dc(v[d+64>>2])}if(t[d+59|0]>-1){break q}dc(v[d+48>>2])}if(t[d+91|0]>-1){break c}dc(v[d+80>>2]);T(e|0);L()}e=e+19|0;cn(d+80|0,e,Bc(e));v[299999]=0;U(2731,d- -64|0,a|0,530220);e=v[299999];v[299999]=0;v:{w:{x:{y:{if((e|0)!=1){v[299999]=0;e=w[d+91|0];f=e<<24>>24<0;e=Y(2653,d- -64|0,(f?v[d+80>>2]:d+80|0)|0,(f?v[d+84>>2]:e)|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break y}v[d+8>>2]=v[e+8>>2];f=v[e+4>>2];v[d>>2]=v[e>>2];v[d+4>>2]=f;v[e>>2]=0;v[e+4>>2]=0;v[e+8>>2]=0;v[299999]=0;U(2694,d|0,b|0,1);e=v[299999];v[299999]=0;if((e|0)==1){break x}if(t[d+11|0]<=-1){dc(v[d>>2])}if(t[d+75|0]<=-1){dc(v[d+64>>2])}if(t[d+91|0]>-1){break a}dc(v[d+80>>2]);break a}e=P()|0;O()|0;break v}e=P()|0;O()|0;break w}e=P()|0;O()|0;if(t[d+11|0]>-1){break w}dc(v[d>>2])}if(t[d+75|0]>-1){break v}dc(v[d+64>>2])}if(t[d+91|0]>-1){break c}dc(v[d+80>>2])}T(e|0);L()}$d(d+32|0);L()}e=ZC(j);if(e){continue}break}}SN(j)}a=v[d+172>>2];if(a){dc(a)}Qb=d+176|0}function sy(a,b){var 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;g=Qb-80|0;Qb=g;v[g+64>>2]=13;v[g+48>>2]=13;v[g+32>>2]=13;v[g+16>>2]=13;v[g>>2]=13;qf(b,v[v[a>>2]+24>>2],g- -64|0,0);a:{if(v[g+64>>2]!=7){kc(1,-1,279134,0);break a}if(v[rc(v[g+72>>2],236947,g+48|0,0)>>2]==6){while(1){e=v[g+56>>2];f=v[e+12>>2];if((f|0)<=(d|0)){d=0;if((f|0)>0){while(1){b=g+32|0;hg(e,d,b);sy(a,b);hc(b);d=d+1|0;e=v[g+56>>2];if((d|0)>2]){continue}break}}hc(g+48|0);break a}f=0;yc(e,d,g+16|0,0);if(v[g+16>>2]==7){f=v[rc(v[g+24>>2],228696,g,0)>>2]==5;hc(g)}d=d+1|0;hc(g+16|0);if(!f){continue}break}}hc(g+48|0);f=0;c=Qb+-64|0;Qb=c;v[c+48>>2]=13;v[c+32>>2]=13;v[c+16>>2]=13;v[c>>2]=13;p=b;l=a;qf(b,v[v[a>>2]+24>>2],c+48|0,0);a=v[rc(v[c+56>>2],310537,c,0)>>2];d=fc(12);b:{c:{d:{if((a|0)==3){v[299999]=0;Q(3316,d|0,v[c+8>>2])|0;a=v[299999];v[299999]=0;if((a|0)!=1){break d}b=P()|0;O()|0;a=d;break c}v[299999]=0;v[d+8>>2]=0;v[d>>2]=0;v[d+4>>2]=0;a=v[299999];v[299999]=0;if((a|0)!=1){break d}b=P()|0;O()|0;a=d;break c}hc(c);m=1;e:{n=v[rc(v[c+56>>2],310489,c,0)>>2];if((n|0)!=4){break e}m=0;a=fc(8);v[299999]=0;h=Q(3063,a|0,v[c+8>>2])|0;b=v[299999];v[299999]=0;if((b|0)!=1){break e}b=P()|0;O()|0;break c}hc(c);a=v[rc(v[c+56>>2],273884,c,0)>>2];b=v[c+8>>2];hc(c);rc(v[c+56>>2],228696,c+32|0,0);k=(a|0)==1;i=k?b:0;f:{if(v[c+32>>2]!=7){break f}while(1){if(v[rc(v[c+40>>2],310537,c,0)>>2]==3){if(v[d+4>>2]){a=v[d+4>>2];if((a|0)>=0){b=-1;g:{if((a|0)!=2147483647){b=v[d+8>>2];if((b|0)>(a|0)){break g}e=a+1|0;j=e;e=b<<1;b=b-1>>>0>1073741822?j:(a|0)>=(e|0)?j:e}v[d+8>>2]=b;q=d,r=pd(v[d>>2],b,4),v[q>>2]=r;a=v[d+4>>2]}if((a|0)>0){b=v[d>>2];Wd(b+4|0,b,a<<2)}v[v[d>>2]>>2]=46;v[d+4>>2]=v[d+4>>2]+1}}oR(d,v[c+8>>2])}hc(c);if(!h){h=0;h:{if(v[rc(v[c+40>>2],310489,c,0)>>2]!=4){break h}a=fc(8);v[299999]=0;h=Q(3063,a|0,v[c+8>>2])|0;b=v[299999];v[299999]=0;if((b|0)!=1){break h}b=P()|0;O()|0;break c}hc(c)}i:{if(k){k=1;break i}k=v[rc(v[c+40>>2],273884,c,0)>>2]==1;i=k?v[c+8>>2]:i;hc(c)}rc(v[c+40>>2],228696,c+16|0,0);hc(c+32|0);a=v[c+28>>2];v[c+40>>2]=v[c+24>>2];v[c+44>>2]=a;a=v[c+20>>2];b=v[c+16>>2];v[c+32>>2]=b;v[c+36>>2]=a;if((b|0)!=7){break f}a=f>>>0<49;f=f+1|0;if(a){continue}break}}hc(c+32|0);j:{k:{l:{if(!h){kc(1,-1,288805,0);break l}m:{if(!v[l+36>>2]){f=0;break m}a=0;f=Qb-16|0;Qb=f;e=fc(8);v[299999]=0;b=S(3312,e|0)|0;j=v[299999];v[299999]=0;n:{if((j|0)!=1){if(v[d+4>>2]>0){while(1){e=f+8|0;De(b,e,mR(v[v[d>>2]+(a<<2)>>2],e,8));a=a+1|0;if((a|0)>2]){continue}break}}Qb=f+16|0;a=b;break n}a=P()|0;O()|0;dc(e);T(a|0);L()}j=a;e=v[a>>2];if((e|0)>=1){b=0;while(1){o=v[j+4>>2];a=b;f=a;o:{if((a|0)>=(e|0)){break o}while(1){f=a+1|0;if(w[a+o|0]==46){break o}a=f;if((e|0)!=(a|0)){continue}break}f=e}p:{if(w[b+o|0]!=35){b=f;break p}lk(j,b,f-b|0);e=v[j>>2]}if((b|0)<(e|0)){continue}break}}f=Gj(v[v[l+36>>2]+4>>2],j);dc(Dc(j))}if((n|0)!=4){i=Ad(h,244717)|k?i:32768}q:{r:{if(!Ad(h,244717)){b=0;if(i&65536){break r}b=i&32768?1:2;break r}if(!Ad(h,221138)){if(f){b=6;if(v[f+20>>2]){break r}}b=3;if(i&1048576){break r}b=i&4096?4:5;break r}b=i&131072?7:8;if(!Ad(h,271667)){break r}if(Ad(h,273150)){break q}b=9}dc(Dc(h));a=fc(64);v[a+24>>2]=13;v[a+8>>2]=13;v[a>>2]=l;v[299999]=0;Q(3314,p|0,a+8|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break j}v[299999]=0;Q(3314,c+48|0,a+24|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break j}v[a+56>>2]=f;v[a+52>>2]=m;v[a+48>>2]=i;v[a+44>>2]=d;v[a+40>>2]=b;break k}kc(1,-1,288836,0);dc(Dc(h))}Vc(d);dc(d);a=0}hc(c+48|0);Qb=c- -64|0;break b}b=P()|0;O()|0}dc(a);T(b|0);L()}if(!a){break a}Tc(v[l+32>>2],a)}hc(g- -64|0);Qb=g+80|0}function Epa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=Qb+-64|0;Qb=d;XP(d+48|0,v[a+8>>2]);a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{f=v[d+56>>2];if(f){i=a+16|0;while(1){e=0;p:{q:{r:{s:{t:{u:{c=v[f+8>>2];if(c){v[299999]=0;v[c+4>>2]=v[c+4>>2]+1;c=v[299999];v[299999]=0;if((c|0)==1){break u}e=v[f+8>>2]}v[d+40>>2]=e;v[e+8>>2]=0;v[299999]=0;j=e+36|0;g=Fe(j);c=v[299999];v[299999]=0;if((c|0)==1){break e}v[299999]=0;c=v[v[i+12>>2]+((g>>>0)%y[i+8>>2]<<2)>>2];h=v[299999];v[299999]=0;if((h|0)==1){break e}if(c){while(1){if((g|0)==v[c+12>>2]){v[299999]=0;h=Y(4541,c+16|0,j|0,-1)|0;k=v[299999];v[299999]=0;if((k|0)==1){break o}if(!h){break p}}c=v[c+8>>2];if(c){continue}break}}v[299999]=0;U(4423,d+8|0,358249,e+36|0);a=v[299999];v[299999]=0;if((a|0)==1){break t}a=v[d+8>>2];a=v[(a?a+12|0:1129608)>>2];v[299999]=0;a=aa(4369,d+16|0,a|0,242181,548,344404,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break s}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)==1){break r}break b}c=P()|0;O()|0;break c}c=P()|0;O()|0;break d}c=P()|0;O()|0;break q}c=P()|0;O()|0;qc(a)}ec(d+8|0);break d}c=v[c+24>>2];v[299999]=0;c=ur(c);g=v[299999];v[299999]=0;if((g|0)==1){break e}v[e+12>>2]=c;if(!c){v[299999]=0;a=aa(4369,d+16|0,280870,242181,551,344404,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break i}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}c=P()|0;O()|0;qc(a);break d}v[299999]=0;c=v[e+4>>2]-1|0;v[e+4>>2]=c;g=v[299999];v[299999]=0;if((g|0)==1){break a}if(!c){v[299999]=0;R(4338,e|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}f=v[f>>2];if(f){continue}break}}v[299999]=0;V(4503,d+16|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break h}v[299999]=0;b=v[d+16>>2];U(4599,b|0,316362,1);c=v[299999];v[299999]=0;if((c|0)==1){break g}v[299999]=0;U(4599,b|0,316387,0);c=v[299999];v[299999]=0;if((c|0)==1){break g}c=v[a+8>>2];v[299999]=0;v[d+8>>2]=0;Q(4336,d+8|0,b|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break j}v[299999]=0;U(4600,c|0,d+8|0,0);c=v[299999];v[299999]=0;if((c|0)==1){break n}c=v[d+8>>2];v[d+8>>2]=0;v:{if(!c){break v}v[299999]=0;e=v[c+4>>2]-1|0;v[c+4>>2]=e;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(e){break v}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}v[299999]=0;R(4601,b|0);c=v[299999];v[299999]=0;if((c|0)==1){break g}if(!v[a+12>>2]){break k}v[299999]=0;U(4599,b|0,316372,0);c=v[299999];v[299999]=0;if((c|0)==1){break g}a=v[a+12>>2];v[299999]=0;v[d+8>>2]=0;Q(4336,d+8|0,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break m}v[299999]=0;V(4602,a|0,d+8|0);a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[d+8>>2];v[d+8>>2]=0;w:{if(!a){break w}v[299999]=0;c=v[a+4>>2]-1|0;v[a+4>>2]=c;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(c){break w}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}v[299999]=0;R(4601,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break k}break g}c=P()|0;O()|0;break d}c=P()|0;O()|0;ec(d+8|0);break f}c=P()|0;O()|0;break f}c=P()|0;O()|0;ec(d+8|0);break f}v[299999]=0;R(4601,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break g}a=v[v[b>>2]+24>>2];v[299999]=0;R(a|0,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break g}a=v[d+16>>2];v[d+16>>2]=0;x:{if(!a){break x}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break x}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Ic(d+48|0);Qb=d- -64|0;return}c=P()|0;O()|0;break f}c=P()|0;O()|0;break d}c=P()|0;O()|0;break c}c=P()|0;O()|0}ec(d+16|0);break c}c=P()|0;O()|0}ec(d+40|0)}Ic(d+48|0);T(c|0);L()}L()}W(0)|0;O()|0;lc();L()}function OV(a){var 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;i=Qb-16|0;Qb=i;if(a){if(v[a+56>>2]==1){e=jG(a)}k=v[a+65792>>2];h=xo(a,v[a+44>>2]);l=Tb;a:{if(e){break a}e=0;b=v[a+48>>2];if(!b){break a}while(1){d=v[b+8>>2];f=-1;b:{if(e){break b}if(!d){d=0;f=0;break b}e=Ub[v[a+8>>2]](v[a+28>>2],v[a+44>>2],b+16|0,d)|0;d=v[b+8>>2];f=(e|0)!=(d|0)?-1:0}e=f;j=d+j|0;b=v[b>>2];if(b){continue}break}}b=v[a+48>>2];if(b){while(1){f=v[b>>2];dc(b);b=f;if(b){continue}break}}v[a+48>>2]=0;v[a+52>>2]=0;b=h;f=v[a+65776>>2];d=b-f|0;if(!(!v[a+65788>>2]&y[a+65784>>2]<65536?(v[a+65780>>2]+(b>>>0>>0)|0)==(l|0)&d>>>0<=4294967294:0)){f=xo(a,v[a+44>>2]);n=Tb;c=Qb-16|0;Qb=c;b=a;d=v[a+44>>2];v[c+8>>2]=101075792;c:{if((Ub[v[a+8>>2]](v[a+28>>2],d,c+8|0,4)|0)!=4){break c}d=v[b+44>>2];t[c+9|0]=0;t[c+10|0]=0;t[c+11|0]=0;t[c+12|0]=0;t[c+8|0]=44;t[c+12|0]=0;t[c+13|0]=0;t[c+14|0]=0;t[c+15|0]=0;if((Ub[v[b+8>>2]](v[b+28>>2],d,c+8|0,8)|0)!=8){break c}d=v[b+44>>2];u[c+8>>1]=45;if((Ub[v[b+8>>2]](v[b+28>>2],d,c+8|0,2)|0)!=2){break c}d=v[b+44>>2];u[c+8>>1]=45;if((Ub[v[b+8>>2]](v[b+28>>2],d,c+8|0,2)|0)!=2){break c}d=v[b+44>>2];v[c+8>>2]=0;if((Ub[v[b+8>>2]](v[b+28>>2],d,c+8|0,4)|0)!=4){break c}d=v[b+44>>2];v[c+8>>2]=0;if((Ub[v[b+8>>2]](v[b+28>>2],d,c+8|0,4)|0)!=4){break c}d=v[b+44>>2];g=v[b+65788>>2];v[c+8>>2]=v[b+65784>>2];v[c+12>>2]=g;if((Ub[v[b+8>>2]](v[b+28>>2],d,c+8|0,8)|0)!=8){break c}d=v[b+44>>2];g=v[b+65788>>2];v[c+8>>2]=v[b+65784>>2];v[c+12>>2]=g;if((Ub[v[b+8>>2]](v[b+28>>2],d,c+8|0,8)|0)!=8){break c}d=v[b+44>>2];v[c+12>>2]=0;t[c+8|0]=j;t[c+11|0]=j>>>24;t[c+10|0]=j>>>16;t[c+9|0]=j>>>8;if((Ub[v[b+8>>2]](v[b+28>>2],d,c+8|0,8)|0)!=8){break c}g=v[b+44>>2];d=h;m=v[b+65776>>2];o=l-(v[b+65780>>2]+(d>>>0>>0)|0)|0;v[c+8>>2]=d-m;v[c+12>>2]=o;Ub[v[b+8>>2]](v[b+28>>2],g,c+8|0,8)|0}Qb=c+16|0;c=Qb-16|0;Qb=c;d=v[b+65776>>2];b=v[b+65780>>2];g=v[a+44>>2];v[c+8>>2]=117853008;d:{if((Ub[v[a+8>>2]](v[a+28>>2],g,c+8|0,4)|0)!=4){break d}g=v[a+44>>2];v[c+8>>2]=0;if((Ub[v[a+8>>2]](v[a+28>>2],g,c+8|0,4)|0)!=4){break d}g=v[a+44>>2];v[c+8>>2]=f-d;v[c+12>>2]=n-((d>>>0>f>>>0)+b|0);if((Ub[v[a+8>>2]](v[a+28>>2],g,c+8|0,8)|0)!=8){break d}b=v[a+44>>2];v[c+8>>2]=1;Ub[v[a+8>>2]](v[a+28>>2],b,c+8|0,4)|0}Qb=c+16|0}e:{if(e){break e}e=Qb-16|0;Qb=e;b=v[a+44>>2];v[e+8>>2]=101010256;d=-1;f:{if((Ub[v[a+8>>2]](v[a+28>>2],b,e+8|0,4)|0)!=4){break f}b=v[a+44>>2];u[e+8>>1]=0;if((Ub[v[a+8>>2]](v[a+28>>2],b,e+8|0,2)|0)!=2){break f}b=v[a+44>>2];u[e+8>>1]=0;if((Ub[v[a+8>>2]](v[a+28>>2],b,e+8|0,2)|0)!=2){break f}b=v[a+44>>2];f=v[a+65788>>2];c=v[a+65784>>2];g:{if(!f&c>>>0>=65535|f){u[e+8>>1]=65535;b=Ub[v[a+8>>2]](v[a+28>>2],b,e+8|0,2)|0;break g}u[e+8>>1]=c;b=Ub[v[a+8>>2]](v[a+28>>2],b,e+8|0,2)|0}if((b|0)!=2){break f}b=v[a+44>>2];f=v[a+65788>>2];c=v[a+65784>>2];h:{if(!f&c>>>0>=65535|f){u[e+8>>1]=65535;b=Ub[v[a+8>>2]](v[a+28>>2],b,e+8|0,2)|0;break h}u[e+8>>1]=c;b=Ub[v[a+8>>2]](v[a+28>>2],b,e+8|0,2)|0}if((b|0)!=2){break f}b=v[a+44>>2];v[e+8>>2]=j;if((Ub[v[a+8>>2]](v[a+28>>2],b,e+8|0,4)|0)!=4){break f}f=v[a+44>>2];b=h;d=v[a+65776>>2];h=l-(v[a+65780>>2]+(b>>>0>>0)|0)|0;b=b-d|0;if(!h&(b|0)==-1|h){v[e+8>>2]=-1;d=(Ub[v[a+8>>2]](v[a+28>>2],f,e+8|0,4)|0)!=4?-1:0;break f}v[e+8>>2]=b;d=(Ub[v[a+8>>2]](v[a+28>>2],f,e+8|0,4)|0)!=4?-1:0}Qb=e+16|0;if(d){break e}i:{if(!k){d=v[a+44>>2];b=0;u[i+8>>1]=0;break i}d=v[a+44>>2];b=Bc(k);u[i+8>>1]=b;if(b>>>0<65536){break i}u[i+8>>1]=65535}if(!(!b|(Ub[v[a+8>>2]](v[a+28>>2],d,i+8|0,2)|0)!=2)){Ub[v[a+8>>2]](v[a+28>>2],v[a+44>>2],k,b)|0}}Ub[v[a+20>>2]](v[a+28>>2],v[a+44>>2])|0;h=v[a+65792>>2];if(h){dc(h)}dc(a)}Qb=i+16|0}function Poa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=Qb-48|0;Qb=d;v[d+40>>2]=0;v[d+44>>2]=v[282402];v[299999]=0;V(4503,d+32|0,b|0);b=v[299999];v[299999]=0;a:{b:{if((b|0)!=1){a=a+8|0;b=v[d+32>>2];c:{while(1){d:{v[299999]=0;c=Z(4504,b|0,d+40|0,0,0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break d}e:{f:{g:{h:{i:{if(c){v[299999]=0;c=Nc(d+40|0,307144,-1);e=v[299999];v[299999]=0;if((e|0)==1){break d}if(!c){c=v[a>>2];if(c){v[299999]=0;v[d+24>>2]=0;Q(4336,d+24|0,b|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break i}v[299999]=0;V(4665,c|0,v[d+24>>2]);c=v[299999];v[299999]=0;if((c|0)!=1){c=v[d+24>>2];v[d+24>>2]=0;if(!c){break e}v[299999]=0;e=v[c+4>>2]-1|0;v[c+4>>2]=e;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(e){break e}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}break e}b=P()|0;O()|0;ec(d+24|0);break c}v[299999]=0;R(4666,d+24|0);c=v[299999];v[299999]=0;j:{k:{l:{if((c|0)!=1){v[299999]=0;Q(4344,a|0,d+24|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break l}c=v[d+24>>2];v[d+24>>2]=0;m:{if(!c){break m}v[299999]=0;e=v[c+4>>2]-1|0;v[c+4>>2]=e;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(e){break m}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}c=v[a>>2];v[299999]=0;v[d+24>>2]=0;Q(4336,d+24|0,b|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break k}v[299999]=0;V(4667,c|0,v[d+24>>2]);c=v[299999];v[299999]=0;if((c|0)==1){break j}c=v[d+24>>2];v[d+24>>2]=0;if(!c){break e}v[299999]=0;e=v[c+4>>2]-1|0;v[c+4>>2]=e;f=v[299999];v[299999]=0;if((f|0)!=1){if(e){break e}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)!=1){break e}}break a}b=P()|0;O()|0;break c}b=P()|0;O()|0;ec(d+24|0);break c}b=P()|0;O()|0;break c}b=P()|0;O()|0;ec(d+24|0);break c}v[299999]=0;c=Nc(d+40|0,217592,-1);e=v[299999];v[299999]=0;if((e|0)==1){break d}if(c){break e}v[d+16>>2]=0;v[299999]=0;Q(4336,d+16|0,v[d+32>>2])|0;c=v[299999];v[299999]=0;n:{o:{p:{q:{if((c|0)!=1){v[299999]=0;V(4550,d+24|0,d+16|0);c=v[299999];v[299999]=0;if((c|0)==1){break q}c=v[d+16>>2];v[d+16>>2]=0;r:{if(!c){break r}v[299999]=0;e=v[c+4>>2]-1|0;v[c+4>>2]=e;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(e){break r}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}c=v[a>>2];if(!c){break p}v[299999]=0;V(4665,c|0,v[d+24>>2]);c=v[299999];v[299999]=0;if((c|0)!=1){break o}break g}b=P()|0;O()|0;break c}b=P()|0;O()|0;ec(d+16|0);break c}v[299999]=0;R(4666,d+8|0);c=v[299999];v[299999]=0;if((c|0)==1){break n}v[299999]=0;Q(4344,a|0,d+8|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break h}c=v[d+8>>2];v[d+8>>2]=0;s:{if(!c){break s}v[299999]=0;e=v[c+4>>2]-1|0;v[c+4>>2]=e;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(e){break s}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}c=v[a>>2];v[299999]=0;V(4667,c|0,v[d+24>>2]);c=v[299999];v[299999]=0;if((c|0)==1){break g}}c=v[d+24>>2];v[d+24>>2]=0;if(!c){break e}v[299999]=0;e=v[c+4>>2]-1|0;v[c+4>>2]=e;f=v[299999];v[299999]=0;if((f|0)!=1){if(e){break e}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)!=1){break e}}break a}b=P()|0;O()|0;break f}a=v[d+32>>2];v[d+32>>2]=0;t:{if(!a){break t}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break t}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}ec(d+40|0);Qb=d+48|0;return}b=P()|0;O()|0;break c}b=P()|0;O()|0;ec(d+8|0);break f}b=P()|0;O()|0}ec(d+24|0);break c}v[299999]=0;R(4601,b|0);c=v[299999];v[299999]=0;if((c|0)!=1){continue}}break}b=P()|0;O()|0}ec(d+32|0);break b}b=P()|0;O()|0}ec(d+40|0);T(b|0);L()}W(0)|0;O()|0;lc();L()}function h2a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=2;a:{g=v[a+456>>2];if(v[g+20>>2]){break a}while(1){d=a;b:{c:{d:{e:{c=Ub[v[v[a+460>>2]+4>>2]](a)|0;if((c|0)!=1){if((c|0)!=2){break a}v[g+20>>2]=1;if(!v[g+24>>2]){break e}c=2;if(!v[v[a+460>>2]+16>>2]){break a}d=v[a>>2];v[d+20>>2]=61;Ub[v[d>>2]](a);return 2}f:{switch(v[g+24>>2]){default:c=v[a+336>>2];break b;case 1:if(!(v[a+28>>2]<65501&v[a+32>>2]<=65500)){b=v[a>>2];v[b+20>>2]=42;v[b+24>>2]=65500;Ub[v[v[a>>2]>>2]](a)}h=v[a+212>>2];if((h|0)!=8){b=v[a>>2];v[b+24>>2]=h;v[b+20>>2]=16;Ub[v[v[a>>2]>>2]](a)}f=v[a+36>>2];if((f|0)>=11){b=v[a>>2];v[b+24>>2]=f;v[b+20>>2]=27;v[v[a>>2]+28>>2]=10;Ub[v[v[a>>2]>>2]](a);f=v[a+36>>2]}v[a+312>>2]=1;v[a+316>>2]=1;if((f|0)>=1){c=v[a+216>>2];h=0;b=1;e=1;while(1){i=v[c+8>>2];g:{if(i-1>>>0<=3){j=v[c+12>>2];if(j-1>>>0<4){break g}}b=v[a>>2];v[b+20>>2]=19;Ub[v[b>>2]](a);f=v[a+36>>2];j=v[c+12>>2];b=v[a+316>>2];i=v[c+8>>2];e=v[a+312>>2]}b=(b|0)>(j|0)?b:j;v[a+316>>2]=b;e=(e|0)>(i|0)?e:i;v[a+312>>2]=e;c=c+88|0;h=h+1|0;if((h|0)<(f|0)){continue}break}}if(v[a+220>>2]|(v[a+336>>2]?v[a+224>>2]:0)){break d}h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{b=v[a+412>>2];if((b|0)<=119){switch(b|0){case 99:break m;case 80:break n;case 48:break o;case 35:break p;case 24:break q;case 15:break r;case 8:break s;case 3:break t;case 0:break u;case 63:break d;default:break h}}if((b|0)<=194){if((b|0)==120){break l}if((b|0)==143){break k}if((b|0)!=168){break h}v[a+432>>2]=63;v[a+428>>2]=70032;v[a+424>>2]=13;b=13;break c}if((b|0)==195){break j}if((b|0)==224){break i}if((b|0)!=255){break h}v[a+432>>2]=63;v[a+428>>2]=70032;v[a+424>>2]=16;b=16;break c}v[a+432>>2]=0;v[a+428>>2]=70032;v[a+424>>2]=1;b=1;break c}v[a+432>>2]=3;v[a+428>>2]=71248;v[a+424>>2]=2;b=2;break c}v[a+432>>2]=8;v[a+428>>2]=71136;v[a+424>>2]=3;b=3;break c}v[a+432>>2]=15;v[a+428>>2]=71008;v[a+424>>2]=4;b=4;break c}v[a+432>>2]=24;v[a+428>>2]=70832;v[a+424>>2]=5;b=5;break c}v[a+432>>2]=35;v[a+428>>2]=70624;v[a+424>>2]=6;b=6;break c}v[a+432>>2]=48;v[a+428>>2]=70352;v[a+424>>2]=7;b=7;break c}v[a+432>>2]=63;v[a+428>>2]=70032;v[a+424>>2]=9;b=9;break c}v[a+432>>2]=63;v[a+428>>2]=70032;v[a+424>>2]=10;b=10;break c}v[a+432>>2]=63;v[a+428>>2]=70032;v[a+424>>2]=11;b=11;break c}v[a+432>>2]=63;v[a+428>>2]=70032;v[a+424>>2]=12;b=12;break c}v[a+432>>2]=63;v[a+428>>2]=70032;v[a+424>>2]=14;b=14;break c}v[a+432>>2]=63;v[a+428>>2]=70032;v[a+424>>2]=15;b=15;break c}b=v[a>>2];v[b+20>>2]=17;v[b+24>>2]=v[a+408>>2];v[v[a>>2]+28>>2]=v[a+412>>2];v[v[a>>2]+32>>2]=v[a+416>>2];v[v[a>>2]+36>>2]=v[a+420>>2];Ub[v[v[a>>2]>>2]](a);f=v[a+36>>2];b=v[a+424>>2];break c;case 0:break f}}if(!v[g+16>>2]){d=v[a>>2];v[d+20>>2]=36;Ub[v[d>>2]](a)}if(!v[a+336>>2]){continue}x_(a);return 1}c=2;d=v[a+144>>2];if((d|0)>=v[a+152>>2]){break a}v[a+152>>2]=d;break a}v[a+432>>2]=63;v[a+428>>2]=70032;v[a+424>>2]=8;b=8}v[d+324>>2]=b;v[a+320>>2]=b;if((f|0)>=1){c=v[a+216>>2];e=0;while(1){v[c+40>>2]=b;v[c+36>>2]=b;d=B(v[a+312>>2],b);v[c+28>>2]=((d+B(v[c+8>>2],v[a+28>>2])|0)-1|0)/(d|0);d=B(v[a+424>>2],v[a+316>>2]);v[c+32>>2]=((d+B(v[c+12>>2],v[a+32>>2])|0)-1|0)/(d|0);d=v[a+312>>2];v[c+44>>2]=((d+B(v[c+8>>2],v[a+28>>2])|0)-1|0)/(d|0);d=v[a+316>>2];d=((d+B(v[c+12>>2],v[a+32>>2])|0)-1|0)/(d|0)|0;v[c+80>>2]=0;v[c+52>>2]=1;v[c+48>>2]=d;e=e+1|0;if((e|0)>2]){c=c+88|0;b=v[a+424>>2];continue}break}b=v[a+424>>2]}d=B(v[a+316>>2],b);v[a+328>>2]=((d+v[a+32>>2]|0)-1|0)/(d|0);c=v[a+336>>2];v[v[a+456>>2]+16>>2]=(c|0)>=v[a+36>>2]?v[a+224>>2]!=0:1}if(!c){v[g+24>>2]=2;continue}break}v[g+24>>2]=0;return 1}return c|0}function Q5(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,x=0,y=0,z=0,A=0;h=Qb-160|0;Qb=h;e=v[a+608>>2];k=v[a+604>>2];x=1;m=v[a+584>>2];s=v[m+72>>2];g=v[m+68>>2];n=v[m+64>>2];a:{b:{if((c|0)<1){f=k;break b}t=e+k|0;d=v[m+4>>2];z=d&8;A=d&4;q=v[m+88>>2];u=v[m+60>>2];l=v[m+12>>2];c:while(1){f=q;e=0;d:while(1){o=0;while(1){e:{f:{g:{if((g|0)>11){d=g;break g}if(k>>>0>=t>>>0){d=12;if(g){break g}break f}j=g+8|0;i=k+1|0;n=w[w[k|0]+u|0]<3){k=i;d=j;break g}d=12;if(i>>>0>=t>>>0){k=i;break g}d=g+16|0;n=w[w[k+1|0]+u|0]<>>g|0;g=d-g|0;p=1;d=f;h:{i:{j:{k:{switch(w[i|0]-7|0){case 0:j=v[i+4>>2];y=j+o|0;v[f>>2]=y;o=0;d=f+4|0;e=e+j|0;i=d;if((l|0)<=(e|0)){break h}while(1){l:{if((g|0)>12){i=g;break l}if(k>>>0>=t>>>0){i=13;if(g){break l}f=d;break f}r=g+8|0;j=k+1|0;n=w[w[k|0]+u|0]<4){k=j;i=r;break l}i=13;if(j>>>0>=t>>>0){k=j;break l}i=g+16|0;n=w[w[k+1|0]+u|0]<>>g|0;g=i-g|0;m:{i=w[j|0];if(i-10>>>0>=2){n:{switch(i-8|0){case 4:break i;case 0:break n;default:break m}}d=v[j+4>>2];j=d+o|0;v[f+4>>2]=j;p=f+8|0;e=d+e|0;i=p;if((l|0)<=(e|0)){break h}f=j|y?p:f;continue d}i=v[j+4>>2];o=i+o|0;e=e+i|0;continue}break};f=v[a+12>>2]&1024;i=v[(f?504:480)+a>>2];j=v[a+628>>2];p=v[a>>2];r=v[m+108>>2];v[h+80>>2]=e;v[h+76>>2]=i;v[h+72>>2]=f?56103:56298;v[h+68>>2]=r;v[h+64>>2]=p;zc(j,86817,55737,h- -64|0);break j;case 5:break i;case 2:case 4:break e;default:break k}}d=v[a+12>>2]&1024;i=v[(d?504:480)+a>>2];j=v[a+628>>2];p=v[a>>2];r=v[m+108>>2];v[h+48>>2]=e;v[h+44>>2]=i;v[h+40>>2]=d?56103:56298;v[h+36>>2]=r;v[h+32>>2]=p;zc(j,86817,55737,h+32|0);d=f}p=s}s=p;if(o){v[d>>2]=o;d=d+4|0}i=d}d=i;o:{if((e|0)==(l|0)){break o}f=v[a+12>>2]&1024;i=v[(f?504:480)+a>>2];j=v[a+628>>2];p=v[a>>2];r=v[m+108>>2];v[h+24>>2]=l;v[h+20>>2]=e;v[h+16>>2]=i;v[h+12>>2]=f?56103:56298;v[h+8>>2]=r;v[h+4>>2]=e>>>0>>0?57394:57552;v[h>>2]=p;Ld(j,86817,57124,h);f=(e|0)>(l|0);p:{if((e|0)<=(l|0)|d>>>0<=q>>>0){break p}while(1){d=d-4|0;e=e-v[d>>2]|0;f=(l|0)<(e|0);if((e|0)<=(l|0)){break p}if(d>>>0>q>>>0){continue}break}}if((e|0)<(l|0)){if(d-q&4){v[d>>2]=0;d=d+4|0}v[d>>2]=l-((e|0)>0?e:0);d=d+4|0;break o}if(!f){break o}v[d+4>>2]=0;v[d>>2]=l;d=d+8|0}Ub[v[m+76>>2]](b,q,d,l);q:{if(A){n=n>>>(g&7)|0;g=g&-8;break q}if(!z){break q}n=n>>>(g&15)|0;g=g&-16;k=(!g&k)+k|0}v[m+108>>2]=v[m+108>>2]+1;d=v[m+8>>2];b=d+b|0;c=c-d|0;if((c|0)>0){continue c}e=v[a+608>>2];f=v[a+604>>2];break b}c=v[a+12>>2]&1024;d=v[(c?504:480)+a>>2];g=v[a+628>>2];i=v[a>>2];j=v[m+108>>2];v[h+144>>2]=e;v[h+140>>2]=d;v[h+136>>2]=c?56103:56298;v[h+132>>2]=j;v[h+128>>2]=i;Ld(g,86817,56754,h+128|0);if(o){v[f>>2]=o;f=f+4|0}r:{if((e|0)==(l|0)){break r}c=v[a+12>>2]&1024;d=v[(c?504:480)+a>>2];g=v[a+628>>2];i=v[a>>2];j=v[m+108>>2];v[h+120>>2]=l;v[h+116>>2]=e;v[h+112>>2]=d;v[h+108>>2]=c?56103:56298;v[h+104>>2]=j;v[h+100>>2]=e>>>0>>0?57394:57552;v[h+96>>2]=i;Ld(g,86817,57124,h+96|0);g=(e|0)>(l|0);s:{if((e|0)<=(l|0)|f>>>0<=q>>>0){break s}while(1){f=f-4|0;e=e-v[f>>2]|0;g=(l|0)<(e|0);if((e|0)<=(l|0)){break s}if(f>>>0>q>>>0){continue}break}}if((e|0)<(l|0)){if(f-q&4){v[f>>2]=0;f=f+4|0}v[f>>2]=l-((e|0)>0?e:0);f=f+4|0;break r}if(!g){break r}v[f+4>>2]=0;v[f>>2]=l;f=f+8|0}Ub[v[m+76>>2]](b,q,f,l);v[m+72>>2]=s;v[m+64>>2]=n;v[m+68>>2]=0;x=-1;b=v[a+608>>2]+(v[a+604>>2]-k|0)|0;break a}d=v[i+4>>2];o=d+o|0;e=d+e|0;continue}}}}v[m+72>>2]=s;v[m+64>>2]=n;v[m+68>>2]=g;b=(f-k|0)+e|0}v[a+604>>2]=k;v[a+608>>2]=b;Qb=h+160|0;return x|0}function cQ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;l=Qb-32|0;Qb=l;a:{b:{if(n=1,o=jj(a+20|0),p=v[a+16>>2],p?n:o){a=vc(l+8|0,304099,241879,1036,337911,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}b=P()|0;O()|0;qc(a);break b}c:{d:{e=v[a+64>>2];e:{if((Ub[v[v[e>>2]+28>>2]](e)|0)<(c|0)){t[l+8|0]=0;b=v[a+64>>2];e=v[v[b>>2]+20>>2];v[299999]=0;Z(e|0,b|0,0,2,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break d}b=v[a+64>>2];e=v[v[b>>2]+28>>2];v[299999]=0;b=S(e|0,b|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break c}if((b|0)>=(c|0)){break e}while(1){e=v[a+64>>2];h=v[v[e>>2]+12>>2];v[299999]=0;Y(h|0,e|0,l+8|0,1)|0;e=v[299999];v[299999]=0;if((e|0)==1){b=P()|0;O()|0;break b}b=b+1|0;if((c|0)!=(b|0)){continue}break}break e}e=v[a+64>>2];Ub[v[v[e>>2]+20>>2]](e,c,0,0)|0;yr(v[a+64>>2],b,d)}k=v[a+72>>2];h=d;b=0;d=0;f=Qb-32|0;Qb=f;f:{g:{h:{if((c|0)<=-1){b=vc(f+8|0,227294,241879,526,337165,0);v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break h}break g}if((h|0)<=0){b=vc(f+8|0,268236,241879,528,337165,0);v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break h}break g}i=c+h|0;g=k+4|0;e=v[k+12>>2];i:{if(!e){break i}while(1){if((b|0)>=(i|0)){d=b;break i}j=v[e+8>>2];d=j>>31;m=d^d+j;d=m+b|0;j:{if((j|0)>-1){break j}k:{if((b|0)<(c|0)){if(!((d|0)>(i|0)|(c|0)>=(d|0))){v[e+8>>2]=b-c;v[f+12>>2]=g;v[f+8>>2]=e;b=fc(12);v[b+8>>2]=d-c;v[b>>2]=0;v[b+4>>2]=0;px(g,f+8|0,b);break k}if((d|0)<=(i|0)){break j}v[e+8>>2]=b-c;v[f+12>>2]=g;v[f+8>>2]=e;b=fc(12);v[b+8>>2]=h;v[b>>2]=0;v[b+4>>2]=0;j=f+8|0;px(g,j,b);e=v[e>>2];v[f+12>>2]=g;v[f+8>>2]=e;b=fc(12);v[b+8>>2]=i-d;v[b>>2]=0;v[b+4>>2]=0;px(g,j,b);if(e){break k}break j}if((d|0)<=(i|0)){v[e+8>>2]=m;break j}v[e+8>>2]=i-b;v[f+12>>2]=g;v[f+8>>2]=e;b=fc(12);v[b+8>>2]=i-d;v[b>>2]=0;v[b+4>>2]=0;px(g,f+8|0,b)}e=v[e>>2]}if(!e){break i}b=d;e=v[e>>2];if(e){continue}break}}l:{m:{if((c|0)>(d|0)){b=fc(12);v[b+8>>2]=d-c;v[b>>2]=0;v[b+4>>2]=0;Le(g,b);break m}if((d|0)>=(i|0)){break l}h=i-d|0}b=fc(12);v[b+8>>2]=h;v[b>>2]=0;v[b+4>>2]=0;Le(g,b)}e=v[k+12>>2];n:{if(!e){break n}while(1){o:{b=e;e=v[b>>2];if(!e){break o}while(1){c=v[b+8>>2];p:{if((c|0)<=-1){d=v[e+8>>2];if((d|0)<=0){break p}break o}d=v[e+8>>2];if(!c){break p}if((d|0)<0){break o}}v[b+8>>2]=c+d;v[f+12>>2]=g;v[f+8>>2]=e;e=v[e>>2];Mm(g,f+8|0);if(e){continue}break}break n}if(e){continue}break}}Qb=f+32|0;break f}L()}a=P()|0;O()|0;qc(b);T(a|0);L()}q:{r:{f=v[a+96>>2];if(f){while(1){d=0;b=v[f+8>>2];if(b){v[b+4>>2]=v[b+4>>2]+1;d=v[f+8>>2]}e=v[v[a+72>>2]+12>>2];s:{t:{if(!e){break t}g=v[d+16>>2];i=g+1|0;b=0;h=0;while(1){c=b;if((b|0)<=(g|0)){k=v[e+8>>2];b=k>>31;j=b^b+k;b=j+c|0;u:{if((k|0)<1){break u}if((c|0)<(g|0)){if((b|0)==(g|0)){break u}h=((b|0)>(g|0))+h|0;break u}if((b|0)<=(i|0)){h=h+j|0;break u}h=(i-c|0)+h|0}e=v[e>>2];if(e){continue}}break}if(h){if(v[d+8>>2]){break t}v[d+8>>2]=1;break t}if(!d){break s}}v[299999]=0;b=v[d+4>>2]-1|0;v[d+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break r}if(b){break s}v[299999]=0;R(4338,d|0);b=v[299999];v[299999]=0;if((b|0)==1){break r}}f=v[f>>2];if(f){continue}break}}Ax(a);v:{if(v[a+84>>2]<=-1){break v}b=v[a+64>>2];if((Ub[v[v[b>>2]+28>>2]](b)|0)>2]){break v}if(jj(a+20|0)|v[a+16>>2]){break v}t[a+8|0]=1;if(v[a+84>>2]<=-1){b=v[a+64>>2];n=a,o=Ub[v[v[b>>2]+28>>2]](b)|0,v[n+84>>2]=o}e=v[a+96>>2];if(e){while(1){b=v[e+8>>2];if(!v[b+8>>2]){v[b+8>>2]=1}e=v[e>>2];if(e){continue}break}}Ax(a)}break q}W(0)|0;O()|0;lc();L()}Qb=l+32|0;return}b=P()|0;O()|0;break b}b=P()|0;O()|0}T(b|0)}L()}function At(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,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,w=0,y=0,z=0,A=0,C=0;if(v[299395]<=-1){bO()}g=e>>1;if((g|0)>=(f|0)){C=c-1|0;while(1){r=g;w=B(d,g);z=w<<1;n=(C|0)/(g|0)|0;if((n|0)>=-3){m=0-w|0;o=B(w,3);p=0-o|0;k=a;g=0;while(1){l=g;s=b<<1;q=s+k|0;a:{b:{c:{t=g>>>0<3;h=g+3|0;d:{if(!(t|(h|0)>(n|0))){g=k;if((b|0)<1){break c}while(1){u[g>>1]=x[g>>1]-((B(u[g+z>>1]+u[(m<<1)+g>>1]|0,9)-(u[(p<<1)+g>>1]+u[(o<<1)+g>>1]|0)|0)+16>>>5|0);g=(r<<1)+g|0;if(q>>>0>g>>>0){continue}break}break d}if((l|0)>(n|0)){break d}g=(h|0)>(n|0)?0:(o<<1)+k|0;j=(n|0)<(l|1)?0:k+z|0;if(!t){h=k;if((b|0)<1){break a}while(1){y=u[(m<<1)+h>>1];i=u[(p<<1)+h>>1];u[h>>1]=x[h>>1]-((B(y+(j?u[j>>1]:0)|0,9)-((g?u[g>>1]:0)+i|0)|0)+16>>>5|0);i=r<<1;g=g?i+g|0:0;j=j?j+i|0:0;h=h+i|0;if(q>>>0>h>>>0){continue}break}break d}if(l){h=k;if((b|0)<=0){break a}while(1){y=u[(m<<1)+h>>1];u[h>>1]=x[h>>1]-((B(y+(j?u[j>>1]:0)|0,9)-(g?u[g>>1]:0)|0)+16>>>5|0);i=r<<1;g=g?i+g|0:0;j=j?j+i|0:0;h=h+i|0;if(q>>>0>h>>>0){continue}break}break d}h=k;if((b|0)<=0){break a}while(1){u[h>>1]=x[h>>1]-((B(j?u[j>>1]:0,9)-(g?u[g>>1]:0)|0)+16>>>5|0);i=r<<1;g=g?i+g|0:0;j=j?j+i|0:0;h=h+i|0;if(q>>>0>h>>>0){continue}break}}h=p<<1;g=h+k|0;i=s+g|0;if(l>>>0<6|(l|0)>(n|0)){break b}if((b|0)<1){break a}while(1){u[g>>1]=x[g>>1]+((B(u[g+z>>1]+u[(m<<1)+g>>1]|0,9)-(u[g+h>>1]+u[(o<<1)+g>>1]|0)|0)+8>>>4|0);g=(r<<1)+g|0;if(i>>>0>g>>>0){continue}break}break a}g=(p<<1)+k|0;i=s+g|0;if(l>>>0<6){break b}if((l|0)<=(n|0)){break a}}if(t|(b|0)<1){break a}j=((p<<1)+k|0)+(((n|0)<(l-2|0)?m:w)<<1)|0;while(1){u[g>>1]=x[g>>1]+((u[(m<<1)+g>>1]+u[j>>1]|0)+1>>>1|0);h=r<<1;j=h+j|0;g=g+h|0;if(i>>>0>g>>>0){continue}break}}g=l+2|0;k=(z<<1)+k|0;if((n|0)>=(l-1|0)){continue}break}}if((c|0)>=1){s=e&-2;e=0;t=B(r,3);A=0-t|0;p=a;while(1){g=p;i=0;j=0;k=0;q=0;if((b|0)>=1){i=(b|0)>(r|0)?u[(r<<1)+p>>1]:i;j=(b|0)>(t|0)?u[(t<<1)+p>>1]:j;k=u[p>>1]-((B(i,9)-j|0)+16>>5)|0;u[p>>1]=k;g=(s<<1)+p|0}o=(b<<1)+p|0;e:{if(o>>>0<=g>>>0){h=0;l=j;m=k;break e}l=j;h=(t<<1)+g|0;if(h>>>0>>0){l=u[h>>1]}m=u[g>>1]-((B(j+i|0,9)-l|0)+16>>5)|0;u[g>>1]=m;g=(s<<1)+g|0;h=i;i=j}f:{if(g>>>0>=o>>>0){n=l;j=m;break f}n=l;j=(t<<1)+g|0;if(j>>>0>>0){n=u[j>>1]}j=u[g>>1]-((B(i+l|0,9)-(h+n|0)|0)+16>>5)|0;u[g>>1]=j;h=(A<<1)+g|0;u[h>>1]=x[h>>1]+((k+m|0)+1>>>1|0);g=(s<<1)+g|0;h=i;i=l;q=k;k=m}y=t<<1;m=y+g|0;if(o>>>0>m>>>0){while(1){l=k;k=j;w=i;i=n;n=u[m>>1];j=u[g>>1]-((B(w+i|0,9)-(n+h|0)|0)+16>>5)|0;u[g>>1]=j;h=(A<<1)+g|0;u[h>>1]=x[h>>1]+((B(k+l|0,9)-(j+q|0)|0)+8>>>4|0);q=l;h=w;g=(s<<1)+g|0;m=y+g|0;if(o>>>0>m>>>0){continue}break}}g:{if(g>>>0>=o>>>0){i=j;break g}l=u[g>>1]-((B(i+n|0,9)-h|0)+16>>5)|0;u[g>>1]=l;m=A<<1;h=m+g|0;u[h>>1]=x[h>>1]+((B(j+k|0,9)-(l+q|0)|0)+8>>>4|0);q=s<<1;g=q+g|0;if(o>>>0<=g>>>0){k=j;i=l;break g}h=u[g>>1]-((B(n,9)-i|0)+16>>5)|0;u[g>>1]=h;i=g+m|0;u[i>>1]=x[i>>1]+((B(j+l|0,9)-(h+k|0)|0)+8>>>4|0);g=g+q|0;if(o>>>0<=g>>>0){k=l;i=h;break g}i=u[g>>1]-(16-n>>5)|0;u[g>>1]=i;k=g+m|0;u[k>>1]=x[k>>1]+((B(h+l|0,9)-(j+i|0)|0)+8>>>4|0);k=h;g=g+q|0;if(o>>>0<=g>>>0){break g}while(1){k=h;h=g+m|0;j=h;n=x[h>>1];h=i;i=u[g>>1];u[j>>1]=n+((B(k+h|0,9)-(l+i|0)|0)+8>>>4|0);l=k;g=g+q|0;if(o>>>0>g>>>0){continue}break}k=h}l=A<<1;h=l+g|0;h:{if(h>>>0>=o>>>0){break h}j=i+1|0;if(h>>>0>=p>>>0){u[h>>1]=x[h>>1]+(j+k>>>1|0)}h=s<<1;k=h+g|0;g=l+k|0;if(o>>>0<=g>>>0){break h}i=j+i>>>1|0;while(1){if(g>>>0>=p>>>0){u[g>>1]=i+x[g>>1]}k=h+k|0;g=l+k|0;if(o>>>0>g>>>0){continue}break}}p=p+z|0;e=e+r|0;if((e|0)<(c|0)){continue}break}}e=r;g=r>>1;if((g|0)>=(f|0)){continue}break}}}function KI(a,b,c){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;a:while(1){i=b-4|0;while(1){b:{c:{d:{e:{f:{g:{d=b-a|0;e=d>>2;switch(e|0){case 0:case 1:break b;case 5:break d;case 4:break e;case 3:break f;case 2:break g;default:break c}}c=v[v[c>>2]+12>>2];b=b-4|0;d=v[b>>2];e=v[a>>2];if(y[v[c+(d<<2)>>2]>>2]>=y[v[c+(e<<2)>>2]>>2]){break b}v[a>>2]=d;v[b>>2]=e;return}d=b-4|0;e=v[d>>2];b=v[v[c>>2]+12>>2];f=v[v[(e<<2)+b>>2]>>2];g=v[a+4>>2];i=v[v[b+(g<<2)>>2]>>2];c=v[a>>2];h=v[b+(c<<2)>>2];if(i>>>0>=y[h>>2]){if(f>>>0>=i>>>0){break b}v[a+4>>2]=e;v[d>>2]=g;c=v[a+4>>2];d=v[a>>2];if(y[v[b+(c<<2)>>2]>>2]>=y[v[b+(d<<2)>>2]>>2]){break b}v[a+4>>2]=d;v[a>>2]=c;return}if(f>>>0>>0){v[a>>2]=e;v[d>>2]=c;return}v[a+4>>2]=c;v[a>>2]=g;e=v[d>>2];if(y[v[b+(e<<2)>>2]>>2]>=y[h>>2]){break b}v[a+4>>2]=e;v[d>>2]=c;return}FI(a,a+4|0,a+8|0,b-4|0,c);return}EI(a,a+4|0,a+8|0,a+12|0,b-4|0,c);break b}if((d|0)<=123){i=a+4|0;d=a+8|0;k=v[v[c>>2]+12>>2];g=v[a+8>>2];l=v[k+(g<<2)>>2];m=v[l>>2];h:{i:{j:{h=v[a+4>>2];o=v[v[k+(h<<2)>>2]>>2];j=v[a>>2];n=v[k+(j<<2)>>2];if(o>>>0>=y[n>>2]){if(m>>>0>>0){break j}f=g;break h}c=a;e=d;f=j;if(m>>>0>>0){break i}v[a+4>>2]=j;v[a>>2]=h;c=i;if(y[l>>2]>2]){break i}f=g;break h}v[i>>2]=g;v[d>>2]=h;c=a;e=i;f=h;if(y[l>>2]>=y[n>>2]){break h}}v[c>>2]=g;v[e>>2]=j}e=a+12|0;if((e|0)==(b|0)){break b}while(1){c=e;g=e;i=v[e>>2];h=v[k+(i<<2)>>2];if(y[h>>2]>2]>>2]){while(1){k:{v[g>>2]=f;e=d;if((d|0)==(a|0)){e=a;break k}g=e;d=e-4|0;f=v[d>>2];if(y[h>>2]>2]>>2]){continue}}break}v[e>>2]=i}e=c+4|0;if((e|0)==(b|0)){break b}f=v[c>>2];d=c;continue}}h=((e|0)/2<<2)+a|0;l:{if((d|0)>=3997){d=(e|0)/4<<2;j=EI(a,d+a|0,h,d+h|0,i,c);e=v[v[c>>2]+12>>2];break l}e=v[v[c>>2]+12>>2];f=v[i>>2];g=v[v[e+(f<<2)>>2]>>2];k=v[h>>2];l=v[v[(k<<2)+e>>2]>>2];d=v[a>>2];m=v[(d<<2)+e>>2];m:{if(l>>>0>=y[m>>2]){j=0;if(g>>>0>=l>>>0){break l}v[h>>2]=f;v[i>>2]=k;j=1;d=v[h>>2];f=v[a>>2];if(y[v[(d<<2)+e>>2]>>2]>=y[v[(f<<2)+e>>2]>>2]){break l}v[a>>2]=d;v[h>>2]=f;break m}if(g>>>0>>0){v[a>>2]=f;v[i>>2]=d;j=1;break l}v[a>>2]=k;v[h>>2]=d;j=1;f=v[i>>2];if(y[v[(f<<2)+e>>2]>>2]>=y[m>>2]){break l}v[h>>2]=f;v[i>>2]=d}j=2}f=i;n:{o:{g=v[a>>2];d=v[v[(g<<2)+e>>2]>>2];k=v[v[(v[h>>2]<<2)+e>>2]>>2];if(d>>>0>=k>>>0){while(1){f=f-4|0;if((f|0)==(a|0)){g=a+4|0;f=v[i>>2];if(d>>>0>2]>>2]){break o}if((g|0)==(i|0)){break b}while(1){h=v[g>>2];if(d>>>0>2]>>2]){v[g>>2]=f;v[i>>2]=h;g=g+4|0;break o}g=g+4|0;if((i|0)!=(g|0)){continue}break}break b}l=v[f>>2];if(k>>>0<=y[v[(l<<2)+e>>2]>>2]){continue}break}v[a>>2]=l;v[f>>2]=g;j=j+1|0}d=a+4|0;if(d>>>0>>0){while(1){k=v[v[(v[h>>2]<<2)+e>>2]>>2];while(1){g=d;d=d+4|0;l=v[g>>2];if(k>>>0>y[v[(l<<2)+e>>2]>>2]){continue}break}while(1){f=f-4|0;m=v[f>>2];if(k>>>0<=y[v[(m<<2)+e>>2]>>2]){continue}break}if(f>>>0>>0){d=g}else{v[g>>2]=m;v[f>>2]=l;h=(g|0)==(h|0)?f:h;j=j+1|0;continue}break}}p:{if((d|0)==(h|0)){break p}f=v[h>>2];n=v[v[(f<<2)+e>>2]>>2];g=e;e=v[d>>2];if(n>>>0>=y[v[g+(e<<2)>>2]>>2]){break p}v[d>>2]=f;v[h>>2]=e;j=j+1|0}if(!j){g=n0(a,d,c);f=d+4|0;if(n0(f,b,c)){b=d;if(!g){continue a}break b}e=2;if(g){break n}}if((d-a|0)<(b-d|0)){KI(a,d,c);a=d+4|0;continue}KI(d+4|0,b,c);b=d;continue a}d=i;if((g|0)==(d|0)){break b}while(1){h=v[v[(v[a>>2]<<2)+e>>2]>>2];while(1){f=g;g=f+4|0;j=v[f>>2];if(h>>>0>=y[v[(j<<2)+e>>2]>>2]){continue}break}while(1){d=d-4|0;k=v[d>>2];if(h>>>0>2]>>2]){continue}break}if(d>>>0>f>>>0){v[f>>2]=k;v[d>>2]=j;continue}break}e=4}a=f;if((e|0)==4|(e|0)==2){continue}}break}break}}function de(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,m=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;c=1;o(+b);e=j(1)|0;f=j(0)|0;h=e;a:{b:{v=e;m=e&2147483647;e=f;c:{if(!(m|e)){break c}o(+a);i=j(1)|0;f=j(0)|0;k=i;x=i;s=f;if(f?0:(i|0)==1072693248){break c}d:{i=x&2147483647;if(!(i>>>0>2146435072|(i|0)==2146435072&(s|0)!=0|m>>>0>2146435072)){if(!e|(m|0)!=2146435072){break d}}return a+b}e:{f:{g:{h:{if((k|0)>-1){break h}t=2;if(m>>>0>1128267775){break g}if(m>>>0<1072693248){break h}f=m>>>20|0;if(m>>>0>=1094713344){d=1075-f|0;f=e>>>d|0;t=0;if((e|0)!=f<>>f|0;if((m|0)!=e<>>0>=1072693248){return(h|0)>-1?b:0}return(h|0)>-1?0:-b}if((m|0)==1072693248){if((h|0)>-1){return a}return 1/a}if((v|0)==1073741824){return a*a}if((v|0)!=1071644672|(k|0)<0){break e}return K(a)}c=D(a);if(!((i?(x&1073741823)!=1072693248:0)|s)){c=(h|0)<0?1/c:c;if((k|0)>-1){break c}if(!(i-1072693248|d)){a=c-c;return a/a}return(d|0)==1?-c:c}q=1;i:{if((k|0)>-1){break i}j:{switch(d|0){case 0:a=a-a;return a/a;case 1:break j;default:break i}}q=-1}k:{if(m>>>0>=1105199105){if(m>>>0>=1139802113){if(i>>>0<=1072693247){return(h|0)<0?N:0}return(v|0)>0?N:0}if(i>>>0<=1072693246){return(h|0)<0?q*1e300*1e300:q*1e-300*1e-300}if(i>>>0>=1072693249){return(v|0)>0?q*1e300*1e300:q*1e-300*1e-300}a=c+-1;c=a*1.9259629911266175e-8+a*a*(.5-a*(a*-.25+.3333333333333333))*-1.4426950408889634;g=c;c=a*1.4426950216293335;o(+(g+c));d=j(1)|0;j(0)|0;l(0,0);l(1,d|0);a=+n();g=g-(a-c);break k}a=c*9007199254740992;e=i>>>0<1048576;c=e?a:c;o(+a);d=j(1)|0;j(0)|0;k=e?d:i;f=k&1048575;d=f|1072693248;k=(k>>20)+(e?-1076:-1023)|0;e=0;l:{if(f>>>0<235663){break l}if(f>>>0<767610){e=1;break l}d=f|1071644672;k=k+1|0}s=e<<3;y=A[s+1006480>>3];a=A[s+1006464>>3];o(+c);j(1)|0;f=0;l(0,j(0)|f);l(1,d|0);p=+n();c=1/(a+p);r=c;g=p-a;w=g;l(0,f|0);l(1,((e<<18)+(d>>>1|0)|0)+537395200|0);u=+n();g=g*c;o(+g);d=j(1)|0;j(0)|0;l(0,0);l(1,d|0);c=+n();a=r*(w-u*c-(p-(u-a))*c);r=a;p=c*c;w=a*(g+c);a=g*g;u=w+a*a*(a*(a*(a*(a*(a*.20697501780033842+.23066074577556175)+.272728123808534)+.33333332981837743)+.4285714285785502)+.5999999999999946);o(+(p+3+u));d=j(1)|0;j(0)|0;l(0,0);l(1,d|0);a=+n();g=r*a+g*(u-(a+-3-p));c=c*a;o(+(g+c));d=j(1)|0;j(0)|0;l(0,0);l(1,d|0);a=+n();c=y+((g-(a-c))*.9617966939259756+a*-7.028461650952758e-9);r=c;g=A[s+1006496>>3];c=a*.9617967009544373;p=+(k|0);o(+(g+(r+c)+p));d=j(1)|0;j(0)|0;l(0,0);l(1,d|0);a=+n();g=r-(a-p-g-c)}l(0,0);l(1,h|0);p=+n();c=a*p;a=g*b+(b-p)*a;b=c+a;o(+b);h=j(1)|0;d=j(0)|0;f=h;e=d;m:{if((f|0)>=1083179008){if(e|h-1083179008){break b}if(!(a+8.008566259537294e-17>b-c)){break m}break b}if((h&2147482624)>>>0<1083231232){break m}if(e|h+1064252416){break a}if(!(a<=b-c)){break m}break a}e=0;k=h&2147483647;if(k>>>0>=1071644673){d=h+(1048576>>>(k>>>20|0)-1022|0)|0;h=d>>>20&2047;e=(d&1048575|1048576)>>>1043-h|0;e=(f|0)<0?0-e|0:e;l(0,0);l(1,d&-1048576>>h-1023);c=c-+n();o(+(a+c));f=j(1)|0;j(0)|0}l(0,0);l(1,f|0);b=+n();g=b*.6931471824645996;c=(a-(b-c))*.6931471805599453+b*-1.904654299957768e-9;a=g+c;b=a*a;b=a-b*(b*(b*(b*(b*4.1381367970572385e-8+-16533902205465252e-22)+6613756321437934e-20)+-.0027777777777015593)+.16666666666666602);r=a*b/(b+-2);b=c-(a-g);a=a-(r-(b+a*b))+1;o(+a);d=j(1)|0;f=j(0)|0;d=(e<<20)+d|0;n:{if((d|0)<=1048575){a=Lk(a,e);break n}l(0,f|0);l(1,d|0);a=+n()}c=q*a}return c}return q*1e300*1e300}return q*1e-300*1e-300}function WW(a,b,c,d,e,f,g,h,i,j,k,l){var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0,y=0,z=0,B=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,L=0,M=0;B=A[a+8>>3]*k;a:{b:{q=A[d>>3];r=q+f;C=A[c>>3];n=C+f;w=r-n;o=A[e+8>>3];s=A[d+8>>3];y=s-i;E=o-i-y;t=s-g;F=A[c+8>>3];p=F-g;G=t-p;x=A[e>>3];z=q+h;H=x+h-z;I=w*E-G*H;J=D(I);if(!(J<1e-30)){o=((p-y)*H-(n-z)*E)/I;n=n+w*o;x=n-q;p=p+G*o;o=p-s;w=K(x*x+o*o);if(!(B>=w)){break b}e=v[b+4>>2];c=v[b>>2];d=c>>>6|0;if(e>>>0<=d>>>0){a=v[b+8>>2];c:{if(a>>>0>d>>>0){a=v[b+12>>2];break c}j=a+v[b+16>>2]|0;a=fc((j&1073741823)!=(j|0)?-1:j<<2);m=v[b+12>>2];if(m){gc(a,m,e<<2);dc(m);j=v[b+8>>2]+v[b+16>>2]|0;e=v[b+4>>2];c=v[b>>2]}v[b+8>>2]=j;v[b+12>>2]=a}L=(d<<2)+a|0,M=fc(1024),v[L>>2]=M;v[b+4>>2]=e+1}a=v[v[b+12>>2]+(d<<2)>>2]+((c&63)<<4)|0;A[a+8>>3]=p;A[a>>3]=n;break a}w=1;p=s;n=q;if((!((r-q)*(s-F)-(t-s)*(q-C)<0)|0)==((r-x)*(o-s)-(x-q)*(t-o)<0|0)){break b}e=v[b+4>>2];c=v[b>>2];d=c>>>6|0;if(e>>>0<=d>>>0){a=v[b+8>>2];d:{if(a>>>0>d>>>0){a=v[b+12>>2];break d}j=a+v[b+16>>2]|0;a=fc((j&1073741823)!=(j|0)?-1:j<<2);m=v[b+12>>2];if(m){gc(a,m,e<<2);dc(m);j=v[b+8>>2]+v[b+16>>2]|0;e=v[b+4>>2];c=v[b>>2]}v[b+8>>2]=j;v[b+12>>2]=a}L=(d<<2)+a|0,M=fc(1024),v[L>>2]=M;v[b+4>>2]=e+1}a=v[v[b+12>>2]+(d<<2)>>2]+((c&63)<<4)|0;A[a+8>>3]=t;A[a>>3]=r;break a}e:{f:{switch(j-1|0){case 0:a=v[b+4>>2];e=v[b>>2];m=e>>>6|0;if(a>>>0<=m>>>0){c=v[b+8>>2];g:{if(c>>>0>m>>>0){j=v[b+12>>2];break g}c=c+v[b+16>>2]|0;j=fc((c&1073741823)!=(c|0)?-1:c<<2);u=v[b+12>>2];if(u){gc(j,u,a<<2);dc(u);c=v[b+8>>2]+v[b+16>>2]|0;e=v[b>>2];a=v[b+4>>2]}v[b+8>>2]=c;v[b+12>>2]=j}L=(m<<2)+j|0,M=fc(1024),v[L>>2]=M;v[b+4>>2]=a+1}a=v[v[b+12>>2]+(m<<2)>>2]+((e&63)<<4)|0;A[a+8>>3]=t;A[a>>3]=r;c=v[b>>2]+1|0;v[b>>2]=c;f=A[d+8>>3]-i;g=A[d>>3]+h;break e;case 3:OG(a,b,q,s,f,-g,h,-i);return;default:break f}}if(J<1e-30){k=+v[a+24>>2]*k;f=t+k*f;a=v[b+4>>2];e=v[b>>2];m=e>>>6|0;if(a>>>0<=m>>>0){c=v[b+8>>2];h:{if(c>>>0>m>>>0){j=v[b+12>>2];break h}c=c+v[b+16>>2]|0;j=fc((c&1073741823)!=(c|0)?-1:c<<2);u=v[b+12>>2];if(u){gc(j,u,a<<2);dc(u);c=v[b+8>>2]+v[b+16>>2]|0;e=v[b>>2];a=v[b+4>>2]}v[b+8>>2]=c;v[b+12>>2]=j}L=(m<<2)+j|0,M=fc(1024),v[L>>2]=M;v[b+4>>2]=a+1}a=v[v[b+12>>2]+(m<<2)>>2]+((e&63)<<4)|0;A[a+8>>3]=f;A[a>>3]=r+k*g;c=v[b>>2]+1|0;v[b>>2]=c;f=A[d+8>>3]-i-k*h;g=A[d>>3]+h-k*i;break e}f=(B-l)/(w-l);g=t+f*(p-t);e=v[b+4>>2];c=v[b>>2];d=c>>>6|0;if(e>>>0<=d>>>0){a=v[b+8>>2];i:{if(a>>>0>d>>>0){a=v[b+12>>2];break i}j=a+v[b+16>>2]|0;a=fc((j&1073741823)!=(j|0)?-1:j<<2);m=v[b+12>>2];if(m){gc(a,m,e<<2);dc(m);j=v[b+8>>2]+v[b+16>>2]|0;e=v[b+4>>2];c=v[b>>2]}v[b+8>>2]=j;v[b+12>>2]=a}L=(d<<2)+a|0,M=fc(1024),v[L>>2]=M;v[b+4>>2]=e+1}a=v[v[b+12>>2]+(d<<2)>>2]+((c&63)<<4)|0;A[a+8>>3]=g;A[a>>3]=r+f*(n-r);d=v[b>>2]+1|0;v[b>>2]=d;e=v[b+4>>2];c=d>>>6|0;if(e>>>0<=c>>>0){a=v[b+8>>2];j:{if(a>>>0>c>>>0){a=v[b+12>>2];break j}j=a+v[b+16>>2]|0;a=fc((j&1073741823)!=(j|0)?-1:j<<2);m=v[b+12>>2];if(m){gc(a,m,e<<2);dc(m);j=v[b+8>>2]+v[b+16>>2]|0;e=v[b+4>>2];d=v[b>>2]}v[b+8>>2]=j;v[b+12>>2]=a}L=(c<<2)+a|0,M=fc(1024),v[L>>2]=M;v[b+4>>2]=e+1}a=v[v[b+12>>2]+(c<<2)>>2]+((d&63)<<4)|0;A[a+8>>3]=y+f*(p-y);A[a>>3]=z+f*(n-z);v[b>>2]=v[b>>2]+1;return}e=v[b+4>>2];d=c>>>6|0;if(e>>>0<=d>>>0){a=v[b+8>>2];k:{if(a>>>0>d>>>0){a=v[b+12>>2];break k}j=a+v[b+16>>2]|0;a=fc((j&1073741823)!=(j|0)?-1:j<<2);m=v[b+12>>2];if(m){gc(a,m,e<<2);dc(m);j=v[b+8>>2]+v[b+16>>2]|0;e=v[b+4>>2];c=v[b>>2]}v[b+8>>2]=j;v[b+12>>2]=a}L=(d<<2)+a|0,M=fc(1024),v[L>>2]=M;v[b+4>>2]=e+1}a=v[v[b+12>>2]+(d<<2)>>2]+((c&63)<<4)|0;A[a+8>>3]=f;A[a>>3]=g}v[b>>2]=v[b>>2]+1}function mn(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;e=35;a:{if(!a|!v[a+88>>2]){break a}d=v[a+84>>2];if(!d){break a}b:{c:{e=v[d+156>>2];if(!e){break c}f=v[e+4>>2];if(!(f&1)){break c}g=v[d+88>>2];if(g){e=v[v[d+4>>2]+100>>2];Ub[v[e+8>>2]](e,g);e=v[d+156>>2];f=v[e+4>>2]}v[d+88>>2]=0;v[e+4>>2]=f&-2;break b}v[d+88>>2]=0}v[d+24>>2]=0;v[d+28>>2]=0;v[d+72>>2]=0;v[d+76>>2]=0;v[d+100>>2]=0;v[d+104>>2]=0;t[d+94|0]=0;v[d+32>>2]=0;v[d+36>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+48>>2]=0;v[d+52>>2]=0;v[d+56>>2]=0;v[d+60>>2]=0;v[d+80>>2]=0;v[d+84>>2]=0;v[d+108>>2]=0;v[d+112>>2]=0;v[d+116>>2]=0;v[d+120>>2]=0;v[d+124>>2]=0;v[d+128>>2]=0;v[d+132>>2]=0;v[d+136>>2]=0;v[d+140>>2]=0;v[d+144>>2]=0;v[d+148>>2]=0;v[d+152>>2]=0;d:{e:{c=c&1024?c|2049:c;c=c&1?c&-15|10:c;h=c&4194304?c&-5:c;i=h&2;f=v[a+96>>2];g=v[v[f+4>>2]+160>>2];if(i|!g|h&32768){break e}e=v[a+8>>2];if((e&8193)!=1){break e}f:{if(h&2048){break f}j=v[a+128>>2];c=v[j>>2];if(!v[j+8>>2]){if(c){break f}break e}if(c){break e}}g:{if(h&32){break g}c=v[f>>2];if(!(w[c+1|0]&4)){break g}if(yd(Ub[v[c+32>>2]](f,234088)|0,334353)){c=v[f+28>>2]==1}else{c=0}if(!(c|(w[v[f>>2]+1|0]&8)>>>3|(h&983040)!=65536)){e=v[a+8>>2];break g}e=v[a+8>>2];if(!(e&8)|!v[a+760>>2]|(x[a+286>>1]|v[a+684>>2])){break e}if(v[a+692>>2]){break e}}h:{if(!(e&2)|h&8){break h}if(Ub[v[v[f+12>>2]+72>>2]](d,v[a+88>>2],b,h|16384)|0){break h}c=0;if(v[d+72>>2]==1651078259){break d}}e=v[a+128>>2];f=v[e+24>>2];v[e+24>>2]=0;c=Ub[v[v[v[g>>2]+20>>2]+12>>2]](g,d,v[a+88>>2],b,h)|0;v[e+24>>2]=f;break d}e=Ub[v[v[f+12>>2]+72>>2]](d,v[a+88>>2],b,h)|0;if(e){break a}c=0;if(v[d+72>>2]!=1869968492){break d}j=u[d+108>>1];g=u[d+110>>1];if((j|g)&65535){e=6;if((g|0)<1|(j|0)<1){break a}l=v[d+120>>2];f=-1;while(1){m=f;f=u[(k<<1)+l>>1];if((m|0)>=(f|0)|(f|0)>=(g|0)){break a}k=k+1|0;if((k|0)!=(j|0)){continue}break}if((g-1|0)!=(f|0)){break a}}if(i){break d}i:{if(h>>>4&1){v[d+32>>2]=v[d+32>>2]&-64;e=v[d+44>>2];f=e&-64;v[d+44>>2]=f;g=v[d+48>>2];i=g&-64;v[d+48>>2]=i;v[d+36>>2]=v[d+36>>2]+63&-64;v[d+24>>2]=((e+v[d+24>>2]|0)+63&-64)-f;v[d+28>>2]=((g+v[d+28>>2]|0)+63&-64)-i;break i}v[d+44>>2]=v[d+44>>2]&-64;v[d+48>>2]=v[d+48>>2]&-64;e=v[d+32>>2];f=e&-64;v[d+32>>2]=f;g=v[d+36>>2];i=g+63&-64;v[d+36>>2]=i;v[d+28>>2]=i-(g-v[d+28>>2]&-64);v[d+24>>2]=((e+v[d+24>>2]|0)+63&-64)-f}v[d+40>>2]=v[d+40>>2]+32&-64;v[d+52>>2]=v[d+52>>2]+32&-64}j:{if(h&16){f=0;e=v[d+52>>2];break j}f=v[d+40>>2];e=0}v[d+64>>2]=f;v[d+68>>2]=e;if(!(!(t[a+8|0]&1)|h&8192)){e=v[a+88>>2];n=d,o=jd(v[d+56>>2],v[e+16>>2],64),v[n+56>>2]=o;n=d,o=jd(v[d+60>>2],v[e+20>>2],64),v[n+60>>2]=o}e=c;k:{if(h&2048){break k}i=v[a+128>>2];g=v[i+24>>2];e=c;if(!g){break k}l:{m:{a=v[v[v[d+4>>2]+96>>2]+4>>2];e=v[a+156>>2];n:{if(!e){f=v[d+72>>2];break n}f=v[d+72>>2];if((f|0)==v[e+16>>2]){break m}}a=v[a+148>>2];if(a){while(1){e=v[a+8>>2];if(v[e+16>>2]==(f|0)){break m}a=v[a+4>>2];if(a){continue}break}}o:{if((f|0)!=1869968492){break o}if(g&1){ln(d+108|0,i);g=v[i+24>>2]}if(!(g&2)){break o}f=u[d+110>>1];if((f|0)<1){break o}g=v[i+20>>2];j=v[i+16>>2];a=v[d+112>>2];e=0;while(1){v[a>>2]=j+v[a>>2];v[a+4>>2]=g+v[a+4>>2];a=a+8|0;e=e+1|0;if((f|0)>(e&65535)){continue}break}}break l}c=Ub[v[v[e+12>>2]+44>>2]](e,d,i,i+16|0)|0}jA(d- -64|0,i);e=c}v[d+12>>2]=b;v[v[d+156>>2]+40>>2]=h;if(e){break a}e=0;if(h&1){break a}a=v[d+72>>2];if((a|0)==1651078259|(a|0)==1668246896){break a}a=h>>>16&15;a=a?a:h>>>11&2;if(h&4){b=v[d+4>>2];if(!b){return 6}return __(v[v[b+96>>2]+4>>2],d,a)|0}aI(d,a,0)}return e|0}function SXa(a,b){a=a|0;b=b|0;var 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,u=0,x=0,y=0;d=Qb-16|0;Qb=d;k=v[b+16>>2];l=v[b+8>>2];e=v[b>>2];n=v[a+492>>2];a:{b:{c=Ub[v[b+36>>2]](b)|0;if((c|0)<=-1){break b}e=l-e>>3;e=(c|0)>(e|0)?e:c;if(v[b+12>>2]|!e){break a}i=b+260|0;m=b+156|0;j=b+208|0;c:{if(!v[b+152>>2]){f=e+6|0;c=Ub[v[v[n>>2]>>2]](j,f,k)|0;if(c){break c}c=Ub[v[v[n>>2]>>2]](m,f,k)|0;if(c){break c}c=Ub[v[v[n>>2]>>2]](i,4,k)|0;v[d+12>>2]=c;if(c){break c}}Ub[v[b+28>>2]](b);c=v[b>>2];if(l>>>0<=c>>>0){break b}u=e+5|0;d:{e:{while(1){f:{g:{if(c+3>>>0>=l>>>0){break g}h:{switch(w[c+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break h;default:break g}}i:{switch(w[c|0]-100|0){case 0:if(!g|(w[c+1|0]!=101|w[c+2|0]!=102)){break g}break e;case 1:break i;default:break g}}if(w[c+1|0]!=110){break g}if(w[c+2|0]==100){break f}}Ub[v[b+32>>2]](b);h=v[b>>2];if(h>>>0>=l>>>0){break b}if(v[b+12>>2]){break a}j:{if(w[c|0]!=47){break j}if(c+2>>>0>=l>>>0){v[d+12>>2]=3;break d}o=v[v[a+128>>2]+52>>2];f=v[b+8>>2];Ub[v[b+28>>2]](b);k:{e=v[b>>2];l:{if(e>>>0>=f>>>0|w[e|0]-48>>>0>9){break l}e=Ub[v[b+36>>2]](b)|0;Ub[v[b+32>>2]](b);if((e|0)<0){break l}q=f;r=v[b>>2];f=r+1|0;if((e|0)<(q-f|0)){break k}}if(o){break a}v[b+12>>2]=3;break a}v[b>>2]=(e+r|0)+1;if(v[b+12>>2]){break a}if(v[b+152>>2]){break j}c=c+1|0;h=h-c|0;o=Ub[v[b+200>>2]](m,g,c,h+1|0)|0;v[d+12>>2]=o;if(o){break d}q=h;h=g<<2;t[q+v[h+v[b+180>>2]>>2]|0]=0;if(w[c|0]==46){c=mc(273792,v[h+v[b+180>>2]>>2]);s=c?s:1;p=c?p:g}c=v[a+172>>2];m:{if(!((c|0)<0|(g|0)>=(u|0))){if(c>>>0>=e>>>0){v[d+12>>2]=3;break d}c=Fd(k,e,d+12|0);if(v[d+12>>2]){break d}c=gc(c,f,e);Ub[v[n+16>>2]](c,e,4330);f=v[a+172>>2];x=d,y=Ub[v[b+252>>2]](j,g,f+c|0,e-f|0)|0,v[x+12>>2]=y;if(c){Ub[v[k+8>>2]](k,c)}c=v[d+12>>2];break m}c=Ub[v[b+252>>2]](j,g,f,e)|0;v[d+12>>2]=c}if(c){break d}g=g+1|0}Ub[v[b+28>>2]](b);c=v[b>>2];if(l>>>0>c>>>0){continue}}break}if(!g){break b}}v[b+152>>2]=g;if(s&255){a=v[v[b+180>>2]>>2];if(!mc(273792,a)){break a}c=Ub[v[b+304>>2]](i,0,a,v[v[b+184>>2]>>2])|0;v[d+12>>2]=c;if(c){break c}c=Ub[v[b+304>>2]](i,1,v[v[b+232>>2]>>2],v[v[b+236>>2]>>2])|0;v[d+12>>2]=c;if(c){break c}a=p<<2;c=Ub[v[b+304>>2]](i,2,v[a+v[b+180>>2]>>2],v[a+v[b+184>>2]>>2])|0;v[d+12>>2]=c;if(c){break c}c=Ub[v[b+304>>2]](i,3,v[a+v[b+232>>2]>>2],v[a+v[b+236>>2]>>2])|0;v[d+12>>2]=c;if(c){break c}c=Ub[v[b+200>>2]](m,p,v[v[b+284>>2]>>2],v[v[b+288>>2]>>2])|0;v[d+12>>2]=c;if(c){break c}c=Ub[v[b+252>>2]](j,p,v[v[b+284>>2]+4>>2],v[v[b+288>>2]+4>>2])|0;v[d+12>>2]=c;if(c){break c}c=Ub[v[b+200>>2]](m,0,v[v[b+284>>2]+8>>2],v[v[b+288>>2]+8>>2])|0;v[d+12>>2]=c;if(c){break c}c=Ub[v[b+252>>2]](j,0,v[v[b+284>>2]+12>>2],v[v[b+288>>2]+12>>2])|0;v[d+12>>2]=c;if(c){break c}break a}t[d+8|0]=w[451632];v[d+4>>2]=w[451628]|w[451629]<<8|(w[451630]<<16|w[451631]<<24);c=Ub[v[b+304>>2]](i,0,v[v[b+180>>2]>>2],v[v[b+184>>2]>>2])|0;v[d+12>>2]=c;if(c){break c}c=Ub[v[b+304>>2]](i,1,v[v[b+232>>2]>>2],v[v[b+236>>2]>>2])|0;v[d+12>>2]=c;if(c){break c}c=Ub[v[b+200>>2]](m,0,273792,8)|0;v[d+12>>2]=c;if(c){break c}c=Ub[v[b+252>>2]](j,0,d+4|0,5)|0;v[d+12>>2]=c;if(c){break c}c=Ub[v[b+200>>2]](m,g,v[v[b+284>>2]>>2],v[v[b+288>>2]>>2])|0;v[d+12>>2]=c;if(c){break c}c=Ub[v[b+252>>2]](j,g,v[v[b+284>>2]+4>>2],v[v[b+288>>2]+4>>2])|0;v[d+12>>2]=c;if(c){break c}v[b+152>>2]=v[b+152>>2]+1;break a}c=v[d+12>>2]}v[b+12>>2]=c;break a}v[d+12>>2]=3;v[b+12>>2]=3}Qb=d+16|0}function QF(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=-1;a:{if(!c|!b){break a}e=v[b>>2];b:{if(e){f=v[e+12>>2];if(f){h=0;if((c|0)==(f|0)){break a}v[e+12>>2]=c;return 0}v[e+12>>2]=c;h=0;i=v[e+16>>2];if(!i|v[i+32>>2]){break a}e=v[i+8>>2];if(!((e|0)==v[i+24>>2]|e>>>0>2147483646)){v[i+24>>2]=e}e=v[i+20>>2];f=v[i+4>>2];if(!((e|0)==(f|0)|f>>>0>2147483646)){v[i+20>>2]=f;e=f}if(!e){break a}c=v[c>>2];c:{if(!c){break c}d:{if(mc(c,321474)){if(mc(c,324919)){break d}}e=v[b+16>>2];if(w[e|0]!=255|w[e+1|0]!=254){break d}v[b+16>>2]=e+2}e:{if(mc(c,321552)){break e}e=v[b+16>>2];if(w[e|0]!=254|w[e+1|0]!=255){break e}v[b+16>>2]=e+2}if(mc(c,323858)){break c}c=v[b+16>>2];if(w[c|0]!=239|w[c+1|0]!=187|w[c+2|0]!=191){break c}v[b+16>>2]=c+3}c=v[b+16>>2]-v[b+12>>2]|0;Vu(i,c);e=v[b>>2];v[e+20>>2]=v[e+16>>2];e=cG();l=v[b>>2];v[l+32>>2]=c;v[l+16>>2]=e;c=0;f=v[l+20>>2];f:{if(!f|v[f+32>>2]){break f}c=v[f+8>>2];if(!((c|0)==v[f+24>>2]|c>>>0>2147483646)){v[f+24>>2]=c}c=v[f+20>>2];e=v[f+4>>2];if((c|0)==(e|0)|e>>>0>2147483646){break f}v[f+20>>2]=e;c=e}g:{if(v[a+32>>2]){e=cz(l,1);break g}i=d;f=Qb-96|0;Qb=f;e=-1;h:{if(!l|!v[l+12>>2]){break h}g=v[l+16>>2];if(!g){break h}j=v[l+20>>2];if(!j){break h}e=0;if(v[j+32>>2]){break h}d=v[j+8>>2];if(!((d|0)==v[j+24>>2]|d>>>0>2147483646)){v[j+24>>2]=d}d=v[j+20>>2];h=v[j+4>>2];if(!((d|0)==(h|0)|h>>>0>2147483646)){v[j+20>>2]=h;d=h}if(!d){break h}e=-1;h=v[g+32>>2];if(!h){k=v[g+24>>2];e=v[g+8>>2];if((k|0)==(e|0)|e>>>0>2147483646){e=k}else{v[g+24>>2]=e}m=e;e=v[g+20>>2];k=v[g+4>>2];if(!((e|0)==(k|0)|k>>>0>2147483646)){v[g+20>>2]=k;e=k}e=m+(e^-1)|0}k=f;i=(i|0)>-1?d>>>0>i>>>0?i:d:d>>>0<180?d:180;d=i<<1;i:{if(d>>>0>=e>>>0){if((d|0)>=1){bG(g,d);h=v[g+32>>2]}d=360;if(h){break i}d=v[g+24>>2];e=v[g+8>>2];if(!((d|0)==(e|0)|e>>>0>2147483646)){v[g+24>>2]=e;d=e}h=v[g+20>>2];e=v[g+4>>2];if((h|0)==(e|0)|e>>>0>2147483646){e=h}else{v[g+20>>2]=e}e=d+(e^-1)|0;h=0}d=e>>>0<360?e:360}v[k+88>>2]=d;v[f+92>>2]=i;j:{k:{i=v[v[l+12>>2]+4>>2];if(!i){break k}if(h){d=0}else{d=v[g+8>>2];if(!((d|0)==v[g+24>>2]|d>>>0>2147483646)){v[g+24>>2]=d}d=v[g+20>>2];e=v[g+4>>2];if(!((d|0)==(e|0)|e>>>0>2147483646)){v[g+20>>2]=e;d=e}d=d+v[g>>2]|0}i=Ub[i|0](d,f+88|0,v[j+32>>2]?0:v[j>>2],f+92|0)|0;Vu(j,v[f+92>>2]);l:{if(v[g+32>>2]){break l}e=v[g+24>>2];d=v[g+8>>2];if(!((e|0)==(d|0)|d>>>0>2147483646)){v[g+24>>2]=d;e=d}k=v[f+88>>2];h=v[g+20>>2];d=v[g+4>>2];if(!((h|0)==(d|0)|d>>>0>2147483646)){v[g+20>>2]=d;h=d}if(k>>>0>e-h>>>0){break l}d=h+k|0;v[g+20>>2]=d;v[g+8>>2]=e>>>0<2147483647?e:2147483647;v[g+4>>2]=d>>>0<2147483647?d:2147483647;if(d>>>0>=e>>>0){break l}t[d+v[g>>2]|0]=0}e=0;switch(i+3|0){case 0:case 2:break h;case 1:break k;default:break j}}d=v[j>>2];e=w[d|0];h=w[d+1|0];i=w[d+2|0];v[f+28>>2]=w[d+3|0];v[f+24>>2]=i;v[f+20>>2]=h;v[f+16>>2]=e;d=f+32|0;Ai(d,49,309211,f+16|0);t[f+81|0]=0;v[f>>2]=d;oc(0,0,0,0,0,27,6003,3,d,0,0,0,349566,f);e=-2;break h}e=i}Qb=f+96|0}d=0;if((e|0)>=0){f=v[b>>2];e=v[f+20>>2];m:{if(!e|v[e+32>>2]){break m}a=v[e+8>>2];if(!((a|0)==v[e+24>>2]|a>>>0>2147483646)){v[e+24>>2]=a}d=v[e+20>>2];a=v[e+4>>2];if((d|0)==(a|0)|a>>>0>2147483646){break m}v[e+20>>2]=a;d=a}v[f+32>>2]=v[f+32>>2]+(c-d|0);h=0;d=v[f+16>>2];if(!d|v[d+32>>2]){break a}a=v[d+8>>2];if(!((a|0)==v[d+24>>2]|a>>>0>2147483646)){v[d+24>>2]=a}c=v[d+20>>2];a=v[d+4>>2];if(!((c|0)==(a|0)|a>>>0>2147483646)){v[d+20>>2]=a;c=a}a=v[d>>2];v[b+12>>2]=a;v[b+16>>2]=a;v[b+20>>2]=a+c;return 0}_p(a,350269,0);break b}h=0;if(v[b+24>>2]){break a}_p(a,347894,0)}h=-1}return h}function Wda(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=Qb-32|0;Qb=e;if(!w[a+32|0]){Sn(a,0)}a:{b=v[a+20>>2];if(v[b+4>>2]>=2){d=fc(52);v[299999]=0;b=Q(4748,d|0,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}v[b+4>>2]=v[b+4>>2]+1;d=v[a+20>>2];b:{if(!d){break b}c=v[d+4>>2]-1|0;v[d+4>>2]=c;if(c){break b}Ub[v[v[d>>2]+4>>2]](d)}v[a+20>>2]=b}Gx(b,0,-1);b=v[a+28>>2];if(v[b+4>>2]>=2){d=fc(52);v[299999]=0;b=Q(4748,d|0,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}v[b+4>>2]=v[b+4>>2]+1;d=v[a+28>>2];c:{if(!d){break c}c=v[d+4>>2]-1|0;v[d+4>>2]=c;if(c){break c}Ub[v[v[d>>2]+4>>2]](d)}v[a+28>>2]=b}Gx(b,0,-1);b=v[a+8>>2];d=v[(b?b+12|0:1129608)>>2];d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{while(1){b=w[d|0];if(!b){break m}d=d+1|0;if((b|0)!=63){continue}break}if(!w[d|0]){break m}i=a+24|0;j=a+16|0;while(1){v[e+24>>2]=0;v[e+28>>2]=v[282402];n:{o:{while(1){p:{b=w[d|0];if(b){if((b|0)!=59&(b|0)!=38){break p}d=d+1|0}b=v[e+24>>2];if(!b|!v[b+8>>2]){break n}c=v[b+12>>2];b=c;while(1){f=w[b|0];if(!f|(f|0)==61){break o}b=b+1|0;continue}}v[299999]=0;Q(4584,e+24|0,b<<24>>24)|0;b=v[299999];v[299999]=0;d=d+1|0;if((b|0)!=1){continue}break}d=P()|0;O()|0;break d}v[e+16>>2]=0;f=v[282402];v[e+20>>2]=f;v[e+12>>2]=f;v[e+8>>2]=0;q:{if(w[b|0]){v[299999]=0;c=Y(4605,e|0,c|0,b-c|0)|0;f=v[299999];v[299999]=0;r:{s:{t:{if((f|0)!=1){v[299999]=0;Q(4535,e+16|0,c|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break t}ec(c);c=0;f=0;g=v[e+24>>2];if(g){f=v[g+8>>2]}g=v[e+16>>2];if(g){c=v[g+8>>2]}v[299999]=0;b=Y(4605,e|0,b+1|0,(c^-1)+f|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break s}v[299999]=0;Q(4535,e+8|0,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break r}ec(b);break q}d=P()|0;O()|0;break e}d=P()|0;O()|0;ec(c);break e}d=P()|0;O()|0;break e}d=P()|0;O()|0;ec(b);break e}v[299999]=0;Q(4535,e+16|0,e+24|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break q}d=P()|0;O()|0;break e}b=v[a+20>>2];f=v[b+20>>2];g=v[b+24>>2];if(v[b+4>>2]>=2){v[299999]=0;c=S(1,52)|0;h=v[299999];v[299999]=0;if((h|0)==1){break f}v[299999]=0;b=Q(4748,c|0,b|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break h}v[b+4>>2]=v[b+4>>2]+1;c=v[a+20>>2];u:{if(!c){break u}h=v[c+4>>2]-1|0;v[c+4>>2]=h;if(h){break u}Ub[v[v[c>>2]+4>>2]](c)}v[a+20>>2]=b}v[299999]=0;f=(g-f|0)+1|0;U(4403,b|0,0,f|0);b=v[299999];v[299999]=0;if((b|0)==1){break f}b=v[a+28>>2];if(v[b+4>>2]>=2){v[299999]=0;c=S(1,52)|0;g=v[299999];v[299999]=0;if((g|0)==1){break f}v[299999]=0;b=Q(4748,c|0,b|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break g}v[b+4>>2]=v[b+4>>2]+1;c=v[a+28>>2];v:{if(!c){break v}g=v[c+4>>2]-1|0;v[c+4>>2]=g;if(g){break v}Ub[v[v[c>>2]+4>>2]](c)}v[a+28>>2]=b}v[299999]=0;U(4403,b|0,0,f|0);b=v[299999];v[299999]=0;if((b|0)==1){break f}v[299999]=0;V(5409,e|0,e+16|0);b=v[299999];v[299999]=0;if((b|0)==1){break l}v[299999]=0;b=Q(5419,j|0,f|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break k}v[299999]=0;Q(4535,b|0,e|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break k}ec(e);v[299999]=0;V(5409,e|0,e+8|0);b=v[299999];v[299999]=0;if((b|0)==1){break j}v[299999]=0;b=Q(5419,i|0,f|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break i}v[299999]=0;Q(4535,b|0,e|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break i}ec(e);ec(e+8|0);ec(e+16|0)}ec(e+24|0);if(w[d|0]){continue}break}}Qb=e+32|0;return}d=P()|0;O()|0;break e}d=P()|0;O()|0;ec(e);break e}d=P()|0;O()|0;break e}d=P()|0;O()|0;ec(e);break e}d=P()|0;O()|0;dc(c);break e}d=P()|0;O()|0;dc(c);break e}d=P()|0;O()|0}ec(e+8|0);ec(e+16|0)}ec(e+24|0);T(d|0);L()}a=P()|0;O()|0;dc(d);T(a|0);L()}function Oj(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;l=t[a+201|0]&1?1088:64;m=v[a+52>>2];f=w[a+200|0];a:{if(!f){h=c?2048:3840;n=v[a+188>>2];while(1){e=x[m+(g<<1)>>1];b:{if(e>>>0>l>>>0){o=m+(e<<1)|0;j=0;while(1){e=x[o+(j<<1)>>1];c:{if(e){g=n+(e<<1)|0;p=i&15;if(i&1){if(h>>>0<=x[g>>1]){Ub[v[b+4>>2]](v[b>>2],i)}g=g+2|0;i=i+1|0}f=i;i=f;if((p|0)==15){break c}while(1){if(h>>>0<=x[g>>1]){Ub[v[b+4>>2]](v[b>>2],f)}if(h>>>0<=x[g+2>>1]){Ub[v[b+4>>2]](v[b>>2],f+1|0)}g=g+4|0;f=f+2|0;i=f;if(f&15){continue}break}break c}i=i+16|0}j=j+1|0;if((j|0)!=64){continue}break}break b}i=i+1024|0}k=k+1|0;g=k&65535;if(l>>>0>g>>>0){continue}break}break a}k=3;d:{e:{switch(f-2|0){case 1:k=4;break d;case 0:case 7:break d;default:break e}}k=2}n=v[a+188>>2];o=k<<4;p=l>>>1|0;r=k-2|0;while(1){f=x[m+(g<<1)>>1];f:{if(f>>>0>p>>>0){s=m+(f<<2)|0;i=0;while(1){f=v[s+(i<<2)>>2];g:{if(f){g=f>>>16|0;f=n+B(o,f&65535)|0;h:{switch(d|0){case 0:while(1){i:{if(g&1){Ub[v[b+4>>2]](v[b>>2],h);f=f+k|0;break i}if((c|0)!=1){break i}j=0;j:{switch(r|0){case 2:j=w[f|0];f=f+1|0;case 1:j=w[f|0]|j;f=f+1|0;break;case 0:break j;default:break i}}if(w[f+1|0]|(w[f|0]|j&255)){Ub[v[b+4>>2]](v[b>>2],h)}f=f+2|0}g=g>>>1|0;h=h+1|0;if(h&15){continue}break};break g;case 1:while(1){if(!(!(g&1)&(c|0)!=1|x[f>>1]<256)){Ub[v[b+4>>2]](v[b>>2],h)}f=f+2|0;g=g>>>1|0;h=h+1|0;if(h&15){continue}break};break g;case 2:while(1){if(!(!(g&1)&(c|0)!=1|(w[f|0]+127&255)>>>0>1)){Ub[v[b+4>>2]](v[b>>2],h)}f=f+3|0;g=g>>>1|0;h=h+1|0;if(h&15){continue}break};break g;case 3:while(1){if(!(!(g&1)&(c|0)!=1|(x[f>>1]+32448&65535)>>>0>28348)){Ub[v[b+4>>2]](v[b>>2],h)}f=f+2|0;g=g>>>1|0;h=h+1|0;if(h&15){continue}break};break g;case 4:while(1){k:{if(!(g&1)&(c|0)!=1){break k}j=x[f>>1];if((j+24159&65535)>>>0>23901|(j+95&254)>>>0>93){break k}Ub[v[b+4>>2]](v[b>>2],h)}f=f+2|0;g=g>>>1|0;h=h+1|0;if(h&15){continue}break};break g;case 5:while(1){l:{if(!(g&1)&(c|0)!=1){break l}j=x[f>>1];if((j+24159&65535)>>>0>23645|(j+95&254)>>>0>93){break l}Ub[v[b+4>>2]](v[b>>2],h)}f=f+2|0;g=g>>>1|0;h=h+1|0;if(h&15){continue}break};break g;default:break h}}v[e>>2]=5;return}h=h+16|0}i=i+1|0;if((i|0)!=64){continue}break}break f}h=h+1024|0}q=q+1|0;g=q&65535;if(l>>>0>g>>>0){continue}break}}h=0;i=Qb-48|0;Qb=i;f=v[a+224>>2];m:{if(!f){break m}j=v[f+44>>2];g=3;g=(d|0)!=2?w[a+200|0]==219?2:d?2:1:g;if((j|0)<1){break m}m=f+v[f+60>>2]|0;n=f+v[f+52>>2]|0;l=f+v[f+40>>2]|0;e=0;o=d-2|0;while(1){a=x[l+(h<<1)>>1];n:{if((a|0)>(j|0)){p=l+(a<<1)|0;k=0;while(1){a=x[p+(k<<1)>>1];o:{if(a){a=n+(a<<3)|0;while(1){d=v[m+(x[a>>1]<<2)>>2];p:{if(!d){break p}if(d>>>0<=16777215){if(e>>>0<=65535){u[i>>1]=e;lz(f,b,c,g,e,i,1,d);break p}u[i+2>>1]=e&1023|56320;u[i>>1]=(e>>>10|0)-10304;lz(f,b,c,g,e,i,2,d);break p}q:{if(!c){if((d&-1610612736)==-2147483648){break q}break p}if(d&536870912){break p}}if((d>>>24&31)>>>0>>0){break p}r:{s:{switch(o|0){case 0:if((d&520093696)!=50331648){break p}if((d&16711680)>>>0<8585216){break r}break p;case 1:if((d&520093696)!=33554432){break p}if((d&16777215)-33088>>>0<28349){break r}break p;case 2:if((d&520093696)!=33554432|(d+24159&65534)>>>0>23901){break p}if((d+95&254)>>>0<94){break r}break p;case 3:break s;default:break r}}if((d&520093696)!=33554432|(d+24159&65534)>>>0>23645|(d+95&254)>>>0>93){break p}}Ub[v[b+4>>2]](v[b>>2],e)}a=a+2|0;e=e+1|0;if(e&15){continue}break}break o}e=e+16|0}k=k+1|0;if((k|0)!=64){continue}break}break n}e=e+1024|0}h=h+1|0;if((j|0)!=(h|0)){continue}break}}Qb=i+48|0}function y4(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;l=Qb-96|0;Qb=l;i=v[a+584>>2];if(i){g=v[i+88>>2];a:{b:{if(!g){g=c;break b}e=v[i+100>>2];k=x[e+4>>1];h=k-g|0;c:{if((h|0)>(c|0)){f=c+g|0;v[i+88>>2]=f;d=h;f=k-f&7;if(f){while(1){d=d-1|0;e=v[e>>2];f=f-1|0;if(f){continue}break}}if((k+(g^-1)|0)-c>>>0>=7){while(1){e=v[v[v[v[v[v[v[v[e>>2]>>2]>>2]>>2]>>2]>>2]>>2]>>2];d=d-8|0;if((d|0)>(c|0)){continue}break}}k=c-1|0;d=b+c|0;j=c&3;d:{if(!j){f=c;break d}f=c;while(1){d=d-1|0;t[d|0]=w[e+6|0];f=f-1|0;e=v[e>>2];j=j-1|0;if(j){continue}break}}g=0;if(k>>>0<3){break c}while(1){t[d-1|0]=w[e+6|0];e=v[e>>2];t[d-2|0]=w[e+6|0];e=v[e>>2];t[d-3|0]=w[e+6|0];d=d-4|0;e=v[e>>2];t[d|0]=w[e+6|0];e=v[e>>2];f=f-4|0;if(f){continue}break}break c}b=b+h|0;k=k+(g^-1)|0;j=h&3;e:{if(!j){d=b;f=h;break e}d=b;f=h;while(1){d=d-1|0;t[d|0]=w[e+6|0];f=f-1|0;e=v[e>>2];j=j-1|0;if(j){continue}break}}if(k>>>0>=3){while(1){t[d-1|0]=w[e+6|0];e=v[e>>2];t[d-2|0]=w[e+6|0];e=v[e>>2];t[d-3|0]=w[e+6|0];d=d-4|0;e=v[e>>2];t[d|0]=w[e+6|0];e=v[e>>2];f=f-4|0;if(f){continue}break}}v[i+88>>2]=0;g=c-h|0}r=1;if((c|0)<(h|0)){break a}}r=1;q=v[i+112>>2];m=v[i+108>>2];d=v[i+104>>2];p=v[i+84>>2];j=v[i+76>>2];o=v[i+72>>2];f=x[i+64>>1];c=v[a+604>>2];f:{g:{if((g|0)<1){break g}while(1){h:{i:{j:{h=v[i+92>>2];if((h|0)>=(f|0)){e=w[c|0]<=(f|0)){c=c+1|0}else{e=w[c+1|0]<>2]=h-f;j=o-f|0;o=e>>f;k:{e=e&p;k=e&65535;switch(k-256|0){case 1:break g;case 0:break k;default:break i}}m=v[i+116>>2]+2064|0;eg(m,0,38888);q=v[i+116>>2]+4088|0;f=9;h=v[i+92>>2];if((h|0)>=9){break j}p=511}h=v[a>>2];b=v[a+628>>2];v[l+16>>2]=v[a+480>>2];Ld(b,h,22921,l+16|0);break g}f=j+8|0;e=w[c|0]<0){c=c+1|0}else{e=w[c+1|0]<>2]=h-9;p=511;j=f-9|0;f=9;o=e>>9;l:{m:{h=e&511;switch(h-256|0){case 1:break g;case 0:break m;default:break l}}c=v[a>>2];b=v[a+628>>2];v[l+80>>2]=v[a+472>>2];zc(b,c,25368,l+80|0);break f}t[b|0]=e;g=g-1|0;b=b+1|0;d=v[i+116>>2]+(h<<3)|0;break h}n:{n=v[i+116>>2];if(n>>>0<=m>>>0){h=n+40952|0;if(h>>>0>m>>>0){break n}}c=v[a>>2];b=v[a+628>>2];v[l+64>>2]=v[a+472>>2];zc(b,c,27076,l- -64|0);break f}v[m>>2]=d;if(!(d>>>0>>0&d>>>0>=n>>>0)){c=v[a>>2];b=v[a+628>>2];v[l+48>>2]=v[a+472>>2];zc(b,c,27076,l+48|0);break f}t[m+7|0]=w[d+7|0];u[m+4>>1]=x[d+4>>1]+1;d=k<<3;h=d+n|0;t[m+6|0]=w[(h>>>0>>0?h+7|0:m+7|0)|0];m=m+8|0;if(q>>>0>>0){f=((f|0)<11?f:11)+1|0;p=-1<>>0>=256){n=x[(d+n|0)+4>>1];if(!n){c=v[a>>2];b=v[a+628>>2];v[l+32>>2]=v[a+472>>2];zc(b,c,28814,l+32|0);break f}if((g|0)<(n|0)){v[i+100>>2]=h;e=h;while(1){e=v[e>>2];if(x[e+4>>1]>(g|0)){continue}break}v[i+88>>2]=g;k=g-1|0;d=b+g|0;b=g&3;if(b){while(1){d=d-1|0;t[d|0]=w[e+6|0];g=g-1|0;e=v[e>>2];b=b-1|0;if(b){continue}break}}if(k>>>0<3){break q}while(1){t[d-1|0]=w[e+6|0];b=v[e>>2];t[d-2|0]=w[b+6|0];b=v[b>>2];t[d-3|0]=w[b+6|0];d=d-4|0;b=v[b>>2];t[d|0]=w[b+6|0];e=v[b>>2];g=g-4|0;if(g){continue}break}break q}k=b+n|0;d=k;e=h;while(1){d=d-1|0;t[d|0]=w[e+6|0];e=v[e>>2];if(!e){break p}if(b>>>0>>0){continue}break}break p}t[b|0]=e;g=g-1|0;b=b+1|0;break o}g=0;d=h;break g}g=g-n|0;b=k}d=h}if((g|0)>0){continue}break}}v[a+604>>2]=c;v[i+112>>2]=q;v[i+108>>2]=m;v[i+104>>2]=d;v[i+84>>2]=p;v[i+76>>2]=j;v[i+72>>2]=o;u[i+64>>1]=f;if((g|0)<1){break a}c=v[a>>2];b=v[a+628>>2];a=v[a+472>>2];v[l+4>>2]=g;v[l>>2]=a;zc(b,c,30496,l)}r=0}Qb=l+96|0;return r|0}X(16309,6139,573,88271);L()}function Vx(a,b){var 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;j=Qb-16|0;Qb=j;p=fc(16);v[299999]=0;m=S(3315,p|0)|0;c=v[299999];v[299999]=0;a:{b:{c:{if((c|0)!=1){while(1){k=fc(16);v[299999]=0;g=S(3315,k|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break c}c=0;d=v[b+8>>2];if((d|0)>=1){while(1){e=v[v[b>>2]+(c<<2)>>2];if(!(w[e+88|0]!=(q|0)|(w[e+91|0]?v[a+40>>2]:0)|(w[e+90|0]?v[a+44>>2]:0))){Tc(g,e);d=v[b+8>>2]}c=c+1|0;if((d|0)>(c|0)){continue}break}}n=(q<<2)+j|0;v[n>>2]=0;d:{if(v[g+8>>2]<1){break d}c=q&1;mk(g,c?3962:3961);d=0;l=v[g+8>>2];e:{if(c){if((l|0)<=0){break e}while(1){c=d+1|0;f:{g:{if((c|0)>=(l|0)){break g}e=v[g>>2];h=v[e+(c<<2)>>2];i=v[e+(d<<2)>>2];f=A[i+56>>3];o=f*.1;if(o<=A[h+24>>3]-A[i+24>>3]){break g}f=f*.2;e=c;while(1){h:{if(!(!(f>D(A[h+16>>3]-A[i+16>>3]))|v[h>>2]!=v[i>>2]|(!(f>D(A[h+32>>3]-A[i+32>>3]))|!(o>D(A[h+40>>3]-A[i+40>>3]))))){if(!(w[h+91|0]|!w[i+91|0])){ji(g,d);l=v[g+8>>2];break f}if(w[h+92|0]){t[i+92|0]=1}ji(g,e);l=v[g+8>>2];break h}e=e+1|0}if((e|0)>=(l|0)){break g}h=v[v[g>>2]+(e<<2)>>2];if(!(o<=A[h+24>>3]-A[i+24>>3])){continue}break}}d=c}if((d|0)<(l|0)){continue}break}break e}if((l|0)<=0){break e}while(1){c=d+1|0;i:{j:{if((c|0)>=(l|0)){break j}e=v[g>>2];h=v[e+(c<<2)>>2];i=v[e+(d<<2)>>2];f=A[i+56>>3];o=f*.1;if(o<=A[h+16>>3]-A[i+16>>3]){break j}f=f*.2;e=c;while(1){k:{if(!(!(o>D(A[h+32>>3]-A[i+32>>3]))|v[h>>2]!=v[i>>2]|(!(f>D(A[h+24>>3]-A[i+24>>3]))|!(f>D(A[h+40>>3]-A[i+40>>3]))))){if(!(w[h+91|0]|!w[i+91|0])){ji(g,d);l=v[g+8>>2];break i}if(w[h+92|0]){t[i+92|0]=1}ji(g,e);l=v[g+8>>2];break k}e=e+1|0}if((e|0)>=(l|0)){break j}h=v[v[g>>2]+(e<<2)>>2];if(!(o<=A[h+16>>3]-A[i+16>>3])){continue}break}}d=c}if((d|0)<(l|0)){continue}break}}l:{if(v[a+28>>2]){c=0;d=v[g+8>>2];if((d|0)<1){break d}while(1){m:{if(w[v[v[g>>2]+(c<<2)>>2]+90|0]){Tc(m,ji(g,c));d=v[g+8>>2];break m}c=c+1|0}if((c|0)<(d|0)){continue}break}break l}d=v[g+8>>2]}if((d|0)<1){break d}r=n,s=Dr(a,g,q),v[r>>2]=s}Vc(g);dc(k);q=q+1|0;if((q|0)!=4){continue}break}b=v[j>>2];n:{if(!b){a=v[j+4>>2];if(a){dc(Um(a))}a=v[j+8>>2];if(a){dc(Um(a))}c=0;a=v[j+12>>2];if(!a){break n}dc(Um(a));break n}o:{if(!v[b+4>>2]){c=b;break o}c=fc(56);v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c>>2]=1;v[c+4>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+48>>2]=0;v[299999]=0;k=S(1,16)|0;e=v[299999];v[299999]=0;if((e|0)==1){break b}v[299999]=0;d=S(3315,k|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){d=P()|0;O()|0;dc(k);p=c;break a}v[c+52>>2]=k;f=A[b+16>>3];p:{q:{if(!v[d+8>>2]){A[c+16>>3]=f;A[c+24>>3]=A[b+24>>3];A[c+32>>3]=A[b+32>>3];f=A[b+40>>3];break q}if(f<0){A[c+16>>3]=f}f=A[b+24>>3];if(f<0){A[c+24>>3]=f}f=A[b+32>>3];if(f>0){A[c+32>>3]=f}f=A[b+40>>3];if(!(f>0)){break p}}A[c+40>>3]=f}Tc(d,b);v[c+4>>2]=0;v[j>>2]=c}b=v[j+4>>2];if(b){Tx(a,b,c);v[j+4>>2]=0}b=v[j+8>>2];if(b){Tx(a,b,c);v[j+8>>2]=0}b=v[j+12>>2];if(b){Tx(a,b,c)}if(!v[m+8>>2]){break n}mk(m,3961);if(v[m+8>>2]){while(1){n=ji(m,0);r:{s:{if(w[n+88|0]){break s}e=uR(a,n,c);if(!e){break s}Tc(v[e+52>>2],n);d=v[m+8>>2];if((d|0)<1){break r}k=0;while(1){b=v[v[m>>2]+(k<<2)>>2];if(A[b+16>>3]>A[n+32>>3]+A[n+56>>3]*.5){break s}f=(A[b+24>>3]+A[b+40>>3])*.5;t:{if(!(!(f>A[e+24>>3])|!(f>3]))){n=ji(m,k);Tc(v[e+52>>2],n);d=v[m+8>>2];break t}k=k+1|0}if((d|0)>(k|0)){continue}break}}d=v[m+8>>2]}if(d){continue}break}}}Vc(m);dc(p);Qb=j+16|0;return c}d=P()|0;O()|0;break a}d=P()|0;O()|0;p=k;break a}d=P()|0;O()|0;p=c}dc(p);T(d|0);L()}function gsa(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;b=Qb+-64|0;Qb=b;v[a>>2]=0;g=a;v[299999]=0;a=S(1,12)|0;e=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{if((e|0)==1){break x}v[a+8>>2]=0;v[a>>2]=981352;v[a+4>>2]=0;v[299999]=0;v[b+56>>2]=0;Q(4336,b+56|0,a|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break x}a=v[c>>2];v[299999]=0;V(4356,b+48|0,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break w}a=v[b+48>>2];if(a){v[299999]=0;V(4357,v[b+56>>2],b+48|0);a=v[299999];v[299999]=0;if((a|0)==1){break e}a=v[c>>2];v[299999]=0;c=v[b+56>>2];a=S(4358,a|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break v}v[299999]=0;U(4359,b+40|0,c|0,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break v}v[299999]=0;c=b+32|0;v[c>>2]=0;a=v[299999];v[299999]=0;if((a|0)==1){break u}v[299999]=0;e=b+24|0;v[e>>2]=0;a=v[299999];v[299999]=0;if((a|0)==1){break t}v[299999]=0;f=b+16|0;v[f>>2]=0;a=v[299999];v[299999]=0;if((a|0)==1){break s}v[299999]=0;h=Q(4361,b+40|0,-1)|0;a=v[299999];v[299999]=0;if((a|0)==1){break r}d=Bc(h);if(d>>>0>=4294967280){v[299999]=0;R(2530,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break r}L()}y:{z:{if(d>>>0>=11){v[299999]=0;i=d+16&-16;a=S(1,i|0)|0;j=v[299999];v[299999]=0;if((j|0)==1){break r}v[b>>2]=a;v[b+4>>2]=d;v[b+8>>2]=i|-2147483648;break z}t[b+11|0]=d;a=b;if(!d){break y}}gc(a,h,d)}t[a+d|0]=0;v[299999]=0;Q(4095,c|0,b|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break q}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;a=S(1,48)|0;d=v[299999];v[299999]=0;if((d|0)==1){break p}v[b>>2]=a;v[b+4>>2]=10;v[b+8>>2]=-2147483636;v[299999]=0;tc(a,981036,10);d=v[299999];v[299999]=0;if((d|0)==1){break a}v[a+40>>2]=0;v[299999]=0;Y(4362,c|0,b|0,e|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break o}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;a=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[b>>2]=a;v[b+4>>2]=6;v[b+8>>2]=-2147483640;v[299999]=0;tc(a,981080,6);d=v[299999];v[299999]=0;if((d|0)==1){break a}v[a+24>>2]=0;v[299999]=0;Y(4362,e|0,b|0,f|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break m}if(t[b+11|0]<=-1){dc(v[b>>2])}v[299999]=0;a=S(1,48)|0;d=v[299999];v[299999]=0;if((d|0)==1){break l}v[b>>2]=a;v[b+4>>2]=9;v[b+8>>2]=-2147483636;v[299999]=0;tc(a,981108,9);d=v[299999];v[299999]=0;if((d|0)==1){break a}v[a+36>>2]=0;v[299999]=0;Y(4362,f|0,b|0,g|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break k}if(t[b+11|0]<=-1){dc(v[b>>2])}Nf(f);Nf(e);Nf(c);ec(b+40|0);a=v[b+48>>2]}v[b+48>>2]=0;if(!a){break f}v[299999]=0;c=v[a+4>>2]-1|0;v[a+4>>2]=c;e=v[299999];v[299999]=0;if((e|0)!=1){if(c){break f}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break f}}break a}a=P()|0;O()|0;break b}a=P()|0;O()|0;break c}a=P()|0;O()|0;break d}a=P()|0;O()|0;break g}a=P()|0;O()|0;break h}a=P()|0;O()|0;break i}a=P()|0;O()|0;break j}a=P()|0;O()|0;if(t[b+11|0]>-1){break j}dc(v[b>>2]);break j}a=P()|0;O()|0;break j}a=P()|0;O()|0;if(t[b+11|0]>-1){break j}dc(v[b>>2]);break j}a=P()|0;O()|0;break j}a=P()|0;O()|0;if(t[b+11|0]>-1){break j}dc(v[b>>2]);break j}a=P()|0;O()|0;break j}a=P()|0;O()|0;if(t[b+11|0]>-1){break j}dc(v[b>>2])}Nf(f)}Nf(e)}Nf(c)}ec(b+40|0);break d}a=v[b+56>>2];v[b+56>>2]=0;A:{if(!a){break A}v[299999]=0;c=v[a+4>>2]-1|0;v[a+4>>2]=c;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(c){break A}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Qb=b- -64|0;return}a=P()|0;O()|0}ec(b+48|0)}ec(b+56|0)}Nf(g);T(a|0);L()}W(0)|0;O()|0;lc();L()}function O5a(a){a=a|0;var 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,y=0,z=0,A=0,C=0;d=Qb+-64|0;Qb=d;c=x[a+26306>>1];m=v[a+26112>>2];k=jc(B(c,m)>>>3|0);if(k){a:{if(!x[a+26308>>1]){break a}i=a+26484|0;while(1){Ub[v[v[a>>2]>>2]](v[a+4>>2],k,1,B(c&65535,m)>>>3|0)|0;b:{c:{d:{m=v[a+26112>>2];switch(m-8|0){case 0:break c;case 4:break d;default:break b}}if(!x[a+26310>>1]){break b}c=v[a+26028>>2];h=e<<2&28;b=c>>>(h|2)&3;f=c>>>h&3;j=v[a+26352>>2];h=0;c=k;while(1){g=x[a+26316>>1];u[(j+(B(x[a+26320>>1],e>>>g|0)+(h>>>g|0)<<3)|0)+(f<<1)>>1]=(w[c|0]|w[c+1|0]<<8&3840)<<1;g=x[a+26316>>1];u[(j+(B(x[a+26320>>1],e>>>g|0)+((h|1)>>>g|0)<<3)|0)+(b<<1)>>1]=w[c+1|0]>>>3&30|w[c+2|0]<<5;c=c+3|0;h=h+2|0;if(h>>>0>1]){continue}break}break b}if(x[a+26310>>1]<31){break b}t=e<<1&14;y=v[a+26028>>2];g=v[a+26352>>2];f=0;h=k;while(1){c=w[h|0];o=x[a+25204>>1]!=18761;if(o){b=w[h+3|0]|(w[h+1|0]<<16|c<<24|w[h+2|0]<<8)}else{b=c|w[h+1|0]<<8|w[h+2|0]<<16|w[h+3|0]<<24}p=b>>>26&15;q=b>>>22&15;c=0;r=b&2047;n=b>>>11&2047;b=r-n|0;j=0;e:{if((b|0)<128){break e}j=1;if((b|0)<=255){break e}j=2;if((b|0)<512){break e}j=(b|0)<1024?3:4}b=d+32|0;z=b+(q<<1)|0;A=b+(p<<1)|0;b=30;while(1){f:{if((c|0)==(q|0)){u[z>>1]=r;break f}if((c|0)==(p|0)){u[A>>1]=n;break f}l=(b>>3)+h|0;s=w[l|0];C=(d+32|0)+(c<<1)|0;if(o){l=w[l+1|0]|s<<8}else{l=w[l+1|0]<<8|s}l=(((l&65535)>>>(b&7)&127)<>1]=l&30720?2047:l;b=b+7|0}c=c+1|0;if((c|0)!=16){continue}break}c=x[a+26316>>1];b=g+(B(x[a+26320>>1],e>>>c|0)+(f>>c)<<3)|0;j=f&1;c=(y>>>((j|t)<<1)&3)<<1;u[b+c>>1]=x[(x[d+32>>1]<<2)+i>>1]>>>1;b=x[a+26316>>1];u[c+(g+(B(x[a+26320>>1],e>>>b|0)+(f+2>>b)<<3)|0)>>1]=x[(x[d+34>>1]<<2)+i>>1]>>>1;b=x[a+26316>>1];u[c+(g+(B(x[a+26320>>1],e>>>b|0)+(f+4>>b)<<3)|0)>>1]=x[(x[d+36>>1]<<2)+i>>1]>>>1;b=x[a+26316>>1];u[c+(g+(B(x[a+26320>>1],e>>>b|0)+(f+6>>b)<<3)|0)>>1]=x[(x[d+38>>1]<<2)+i>>1]>>>1;b=x[a+26316>>1];u[c+(g+(B(x[a+26320>>1],e>>>b|0)+(f+8>>b)<<3)|0)>>1]=x[(x[d+40>>1]<<2)+i>>1]>>>1;b=x[a+26316>>1];u[c+(g+(B(x[a+26320>>1],e>>>b|0)+(f+10>>b)<<3)|0)>>1]=x[(x[d+42>>1]<<2)+i>>1]>>>1;b=x[a+26316>>1];u[c+(g+(B(x[a+26320>>1],e>>>b|0)+(f+12>>b)<<3)|0)>>1]=x[(x[d+44>>1]<<2)+i>>1]>>>1;b=x[a+26316>>1];u[c+(g+(B(x[a+26320>>1],e>>>b|0)+(f+14>>b)<<3)|0)>>1]=x[(x[d+46>>1]<<2)+i>>1]>>>1;b=x[a+26316>>1];u[c+(g+(B(x[a+26320>>1],e>>>b|0)+(f+16>>b)<<3)|0)>>1]=x[(x[d+48>>1]<<2)+i>>1]>>>1;b=x[a+26316>>1];u[c+(g+(B(x[a+26320>>1],e>>>b|0)+(f+18>>b)<<3)|0)>>1]=x[(x[d+50>>1]<<2)+i>>1]>>>1;b=x[a+26316>>1];u[c+(g+(B(x[a+26320>>1],e>>>b|0)+(f+20>>b)<<3)|0)>>1]=x[(x[d+52>>1]<<2)+i>>1]>>>1;b=x[a+26316>>1];u[c+(g+(B(x[a+26320>>1],e>>>b|0)+(f+22>>b)<<3)|0)>>1]=x[(x[d+54>>1]<<2)+i>>1]>>>1;b=x[a+26316>>1];u[c+(g+(B(x[a+26320>>1],e>>>b|0)+(f+24>>b)<<3)|0)>>1]=x[(x[d+56>>1]<<2)+i>>1]>>>1;b=x[a+26316>>1];u[c+(g+(B(x[a+26320>>1],e>>>b|0)+(f+26>>b)<<3)|0)>>1]=x[(x[d+58>>1]<<2)+i>>1]>>>1;b=x[a+26316>>1];u[c+(g+(B(x[a+26320>>1],e>>>b|0)+(f+28>>b)<<3)|0)>>1]=x[(x[d+60>>1]<<2)+i>>1]>>>1;b=c;c=x[a+26316>>1];u[b+(g+(B(x[a+26320>>1],e>>>c|0)+(f+30>>c)<<3)|0)>>1]=x[(x[d+62>>1]<<2)+i>>1]>>>1;h=h+16|0;f=((j?-1:-31)+f|0)+32|0;if((f|0)<(x[a+26310>>1]-30|0)){continue}break}}e=e+1|0;if(e>>>0>=x[a+26308>>1]){break a}c=x[a+26306>>1];continue}}dc(k);Qb=d- -64|0;return}k=v[a+190640>>2];g:{if(k){c=v[a+25208>>2];v[d+20>>2]=50209;v[d+16>>2]=c;zd(k,4338,d+16|0);break g}k=v[a+25208>>2];v[d+4>>2]=50209;v[d>>2]=k;wc(v[252391],4338,d)}sd(a+190484|0,1);L()}function oR(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=Qb-416|0;Qb=g;c=v[a+4>>2];a:{if((c|0)<0){break a}b:{c:{d:{e:{e=v[b+4>>2];switch(w[e|0]-239|0){case 0:break c;case 16:break d;case 15:break e;default:break b}}if(w[e+1|0]!=255){break b}v[g+12>>2]=2;if(!lR(b,g+12|0,g+16|0)){break a}c=0;while(1){e=b;i=g+12|0;c=c+1|0;if((c|0)==100){f:{if((f|0)<0){break f}c=v[a+4>>2];if((f|0)>(c|0)){break f}d=-1;g:{if((c|0)<=2147483547){d=c+100|0;h=v[a+8>>2];if((d|0)<=(h|0)){break g}c=h<<1;d=h-1>>>0>1073741822?d:(c|0)<(d|0)?d:c}v[a+8>>2]=d;j=a,k=pd(v[a>>2],d,4),v[j>>2]=k;c=v[a+4>>2]}if((c|0)>(f|0)){d=v[a>>2]+(f<<2)|0;Wd(d+400|0,d,c-f<<2)}gc(v[a>>2]+(f<<2)|0,g+16|0,400);v[a+4>>2]=v[a+4>>2]+100}f=f+100|0;c=0}if(lR(e,i,(g+16|0)+(c<<2)|0)){continue}break}if((c|0)<1|(f|0)<0){break a}d=v[a+4>>2];if((f|0)>(d|0)){break a}e=-1;h:{if((2147483647-d|0)>=(c|0)){b=c+d|0;e=v[a+8>>2];if((b|0)<=(e|0)){break h}d=e<<1;e=e-1>>>0>1073741822?b:(b|0)>(d|0)?b:d}v[a+8>>2]=e;j=a,k=pd(v[a>>2],e,4),v[j>>2]=k;d=v[a+4>>2]}if((d|0)>(f|0)){b=v[a>>2]+(f<<2)|0;Wd(b+(c<<2)|0,b,d-f<<2)}gc(v[a>>2]+(f<<2)|0,g+16|0,c<<2);v[a+4>>2]=v[a+4>>2]+c;break a}if(w[e+1|0]!=254){break b}v[g+12>>2]=2;if(!kR(b,g+12|0,g+16|0)){break a}c=0;while(1){e=b;i=g+12|0;c=c+1|0;if((c|0)==100){i:{if((f|0)<0){break i}c=v[a+4>>2];if((f|0)>(c|0)){break i}d=-1;j:{if((c|0)<=2147483547){d=c+100|0;h=v[a+8>>2];if((d|0)<=(h|0)){break j}c=h<<1;d=h-1>>>0>1073741822?d:(c|0)<(d|0)?d:c}v[a+8>>2]=d;j=a,k=pd(v[a>>2],d,4),v[j>>2]=k;c=v[a+4>>2]}if((c|0)>(f|0)){d=v[a>>2]+(f<<2)|0;Wd(d+400|0,d,c-f<<2)}gc(v[a>>2]+(f<<2)|0,g+16|0,400);v[a+4>>2]=v[a+4>>2]+100}f=f+100|0;c=0}if(kR(e,i,(g+16|0)+(c<<2)|0)){continue}break}if((c|0)<1|(f|0)<0){break a}d=v[a+4>>2];if((f|0)>(d|0)){break a}e=-1;k:{if((2147483647-d|0)>=(c|0)){b=c+d|0;e=v[a+8>>2];if((b|0)<=(e|0)){break k}d=e<<1;e=e-1>>>0>1073741822?b:(b|0)>(d|0)?b:d}v[a+8>>2]=e;j=a,k=pd(v[a>>2],e,4),v[j>>2]=k;d=v[a+4>>2]}if((d|0)>(f|0)){b=v[a>>2]+(f<<2)|0;Wd(b+(c<<2)|0,b,d-f<<2)}gc(v[a>>2]+(f<<2)|0,g+16|0,c<<2);v[a+4>>2]=v[a+4>>2]+c;break a}if(w[e+1|0]!=187|w[e+2|0]!=191){break b}v[g+12>>2]=3;if(!Qx(b,g+12|0,g+16|0)){break a}c=0;while(1){e=b;i=g+12|0;c=c+1|0;if((c|0)==100){l:{if((f|0)<0){break l}c=v[a+4>>2];if((f|0)>(c|0)){break l}d=-1;m:{if((c|0)<=2147483547){d=c+100|0;h=v[a+8>>2];if((d|0)<=(h|0)){break m}c=h<<1;d=h-1>>>0>1073741822?d:(c|0)<(d|0)?d:c}v[a+8>>2]=d;j=a,k=pd(v[a>>2],d,4),v[j>>2]=k;c=v[a+4>>2]}if((c|0)>(f|0)){d=v[a>>2]+(f<<2)|0;Wd(d+400|0,d,c-f<<2)}gc(v[a>>2]+(f<<2)|0,g+16|0,400);v[a+4>>2]=v[a+4>>2]+100}f=f+100|0;c=0}if(Qx(e,i,(g+16|0)+(c<<2)|0)){continue}break}if((c|0)<1){break a}h=g+16|0;n:{if((f|0)<0){break n}b=v[a+4>>2];if((f|0)>(b|0)){break n}d=-1;o:{if((2147483647-b|0)>=(c|0)){e=b+c|0;d=v[a+8>>2];if((e|0)<=(d|0)){break o}b=d<<1;d=d-1>>>0>1073741822?e:(b|0)<(e|0)?e:b}v[a+8>>2]=d;j=a,k=pd(v[a>>2],d,4),v[j>>2]=k;b=v[a+4>>2]}if((b|0)>(f|0)){e=v[a>>2]+(f<<2)|0;Wd(e+(c<<2)|0,e,b-f<<2)}gc(v[a>>2]+(f<<2)|0,h,c<<2);v[a+4>>2]=v[a+4>>2]+c}break a}e=-1;f=v[b>>2];p:{if((f|0)<=(2147483647-c|0)){e=c+f|0;d=v[a+8>>2];if((e|0)<=(d|0)){break p}c=d<<1;e=d-1>>>0>1073741822?e:(c|0)<(e|0)?e:c}v[a+8>>2]=e;j=a,k=pd(v[a>>2],e,4),v[j>>2]=k;c=v[a+4>>2]}if((c|0)>0){e=v[a>>2];Wd(e+(f<<2)|0,e,c<<2)}e=v[a>>2];c=0;v[g+12>>2]=0;if((f|0)>=1){b=v[b+4>>2];while(1){v[e+(c<<2)>>2]=v[(w[b+c|0]<<2)+1125776>>2];c=v[g+12>>2]+1|0;v[g+12>>2]=c;if((c|0)<(f|0)){continue}break}}v[a+4>>2]=f+v[a+4>>2]}Qb=g+416|0;return a}function Rd(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{if(!a|!b){break a}if((c|0)<=-1){c=Bc(b)}l=v[a+28>>2];b:{if(l){if(c>>>0>1073741823){break a}if(c>>>0>>0){break b}break a}if(c>>>0>1073741823){break a}}c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{e=v[a+8>>2];if((e|0)==128){f=w[b|0]<<5;if((c|0)<11){break m}f=w[(b+c|0)-1|0]+f|0;break l}if((c|0)<1){break c}j=c&3;i=v[a+24>>2];if(c-1>>>0>=3){g=c&-4;while(1){f=B(w[b+d|0]+i|0,1025);f=B(w[(d|1)+b|0]+(f>>>6^f)|0,1025);f=B(w[(d|2)+b|0]+(f>>>6^f)|0,1025);f=B(w[(d|3)+b|0]+(f>>>6^f)|0,1025);i=f>>>6^f;d=d+4|0;g=g-4|0;if(g){continue}break}}if(j){while(1){f=B(w[b+d|0]+i|0,1025);i=f>>>6^f;d=d+1|0;j=j-1|0;if(j){continue}break}}d=B(i,9);f=B(d>>>11^d,32769);break c}switch(c-2|0){case 4:break h;case 5:break i;case 6:break j;case 7:break k;case 8:break l;case 0:break d;case 1:break e;case 2:break f;case 3:break g;default:break c}}f=w[b+9|0]+f|0}f=w[b+8|0]+f|0}f=w[b+7|0]+f|0}f=w[b+6|0]+f|0}f=w[b+5|0]+f|0}f=w[b+4|0]+f|0}f=w[b+3|0]+f|0}f=w[b+2|0]+f|0}f=w[b+1|0]+f|0}n=(f>>>0)%(e>>>0)|0;i=v[a+4>>2]+B(n,20)|0;n:{if(!v[i+12>>2]){j=0;i=0;break n}j=0;g=v[i>>2];if(g){while(1){d=i;i=g;if(!(v[d+16>>2]!=(f|0)|v[d+8>>2]!=(c|0))){h=v[d+4>>2];if(!Pc(h,b,c)){break a}}j=j+1|0;g=v[i>>2];if(g){continue}break}}if(v[i+16>>2]!=(f|0)|v[i+8>>2]!=(c|0)){break n}h=v[i+4>>2];if(!Pc(h,b,c)){break a}}m=v[a+20>>2];o:{if(!m){break o}d=128;k=v[m+8>>2];p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{if((e|0)==128){e=f;if((k|0)==128){break p}if((c|0)>=1){break B}e=0;break A}e=f;d=k;if((d|0)!=128){break p}e=w[b|0]<<5;if((c|0)<11){break z}e=w[(b+c|0)-1|0]+e|0;break y}h=c&3;g=v[m+24>>2];C:{if(c-1>>>0<3){d=0;break C}e=c&-4;d=0;while(1){g=B(w[b+d|0]+g|0,1025);g=B(w[(d|1)+b|0]+(g>>>6^g)|0,1025);g=B(w[(d|2)+b|0]+(g>>>6^g)|0,1025);g=B(w[(d|3)+b|0]+(g>>>6^g)|0,1025);g=g>>>6^g;d=d+4|0;e=e-4|0;if(e){continue}break}}if(h){while(1){e=B(w[b+d|0]+g|0,1025);g=e>>>6^e;d=d+1|0;h=h-1|0;if(h){continue}break}}d=B(g,9);e=B(d>>>11^d,32769)}d=k;break p}d=128;switch(c-2|0){case 0:break q;case 1:break r;case 2:break s;case 3:break t;case 4:break u;case 5:break v;case 6:break w;case 7:break x;case 8:break y;default:break p}}e=w[b+9|0]+e|0}e=w[b+8|0]+e|0}e=w[b+7|0]+e|0}e=w[b+6|0]+e|0}e=w[b+5|0]+e|0}e=w[b+4|0]+e|0}e=w[b+3|0]+e|0}e=w[b+2|0]+e|0}e=w[b+1|0]+e|0;d=128}d=v[m+4>>2]+B((e>>>0)%(d>>>0)|0,20)|0;if(!v[d+12>>2]){break o}h=v[d>>2];if(h){while(1){k=d;d=h;if(!(v[k+16>>2]!=(e|0)|v[k+8>>2]!=(c|0))){h=v[k+4>>2];if(!Pc(h,b,c)){break a}}j=j+1|0;h=v[d>>2];if(h){continue}break}}if(v[d+16>>2]!=(e|0)|v[d+8>>2]!=(c|0)){break o}h=v[d+4>>2];if(!Pc(h,b,c)){break a}}D:{E:{F:{d=v[a+16>>2];if(!d){break F}e=0;g=0;while(1){h=v[d+4>>2];if(v[d+8>>2]-h>>>0>c>>>0){break D}h=v[d+12>>2];g=g>>>0>>0?h:g;e=e+h|0;d=v[d>>2];if(d){continue}break}if(l){h=0;if(e>>>0>l>>>0){break a}}if(!g){break F}d=g<<2;break E}d=1e3}h=0;e=c<<2;e=d>>>0>>0?e:d;d=Ub[v[259704]](e+24|0)|0;if(!d){break a}v[d+16>>2]=0;v[d+12>>2]=e;h=d+20|0;v[d+4>>2]=h;v[d+8>>2]=e+h;v[d>>2]=v[a+16>>2];v[a+16>>2]=d}b=gc(h,b,c);e=v[d+4>>2]+c|0;v[d+4>>2]=e+1;h=0;t[e|0]=0;v[d+16>>2]=v[d+16>>2]+1;if(!b){break a}G:{if(!i){d=v[a+4>>2]+B(n,20)|0;v[d+8>>2]=c;v[d+4>>2]=b;v[d+16>>2]=f;v[d+12>>2]=1;v[d>>2]=0;break G}d=Ub[v[259704]](20)|0;if(!d){break a}v[d+8>>2]=c;v[d+4>>2]=b;v[d+16>>2]=f;v[d+12>>2]=1;v[d>>2]=0;v[i>>2]=d}v[a+12>>2]=v[a+12>>2]+1;H:{if(j>>>0<4){break H}c=v[a+8>>2];if(c>>>0>2730){break H}if(wV(a,B(c,6))){break a}}h=b}return h}function BGa(a,b,c,d,e,f,g,h,i,k,l,m){a=a|0;b=b|0;c=c|0;d=+d;e=e|0;f=f|0;g=g|0;h=+h;i=+i;k=+k;l=+l;m=+m;var n=0,p=0,q=0,r=0,s=0,u=0;n=v[a+12>>2];p=v[a+8>>2]+1|0;if((n|0)<(p|0)){if(!n){v[a+12>>2]=32;n=32}if((n|0)<(p|0)){while(1){n=n<<1;if((p|0)>(n|0)){continue}break}v[a+12>>2]=n}p=v[a>>2];a:{if(!n){if(!p){break a}dc(p);break a}if((n|0)<=0){if(!p){break a}dc(p);break a}n=n<<6;if(p){r=be(p,n);break a}r=jc(n)}v[a>>2]=r;n=v[a+4>>2];r=v[a+12>>2];b:{if(!r){p=0;if(!n){break b}dc(n);break b}p=0;if((r|0)<=0){if(!n){break b}dc(n);break b}p=B(r,48);if(n){p=be(n,p);break b}p=jc(p)}v[a+4>>2]=p}n=w[b+11|0];n=n<<24>>24<0?v[b+4>>2]:n;p=n+1|0;p=fc((p|0)!=(p&1073741823)?-1:p<<2);v[p+(n<<2)>>2]=0;if((n|0)>=1){while(1){s=p+(q<<2)|0,u=v[Rq(b,q)>>2],v[s>>2]=u;q=q+1|0;if((n|0)!=(q|0)){continue}break}}n=v[a>>2];b=v[a+8>>2];q=n+(b<<6)|0;t[q|0]=p;t[q+1|0]=p>>>8;t[q+2|0]=p>>>16;t[q+3|0]=p>>>24;q=0;p=w[c+11|0];r=p<<24>>24<0?v[c+4>>2]:p;p=r+1|0;p=fc((p|0)!=(p&1073741823)?-1:p<<2);v[p+(r<<2)>>2]=0;if((r|0)>=1){while(1){s=p+(q<<2)|0,u=v[Rq(c,q)>>2],v[s>>2]=u;q=q+1|0;if((r|0)!=(q|0)){continue}break}n=v[a>>2];b=v[a+8>>2]}c=(b<<6)+n|0;t[c+16|0]=e;t[c+17|0]=e>>>8;t[c+18|0]=e>>>16;t[c+19|0]=e>>>24;o(+d);e=j(1)|0;q=j(0)|0;t[c+8|0]=q;t[c+9|0]=q>>>8;t[c+10|0]=q>>>16;t[c+11|0]=q>>>24;t[c+12|0]=e;t[c+13|0]=e>>>8;t[c+14|0]=e>>>16;t[c+15|0]=e>>>24;t[c+4|0]=p;t[c+5|0]=p>>>8;t[c+6|0]=p>>>16;t[c+7|0]=p>>>24;q=0;c=w[g+11|0];c=c<<24>>24<0?v[g+4>>2]:c;e=c+1|0;e=fc((e|0)!=(e&1073741823)?-1:e<<2);v[e+(c<<2)>>2]=0;if((c|0)>=1){while(1){s=e+(q<<2)|0,u=v[Rq(g,q)>>2],v[s>>2]=u;q=q+1|0;if((c|0)!=(q|0)){continue}break}n=v[a>>2];b=v[a+8>>2]}c=(b<<6)+n|0;o(+m);g=j(1)|0;n=j(0)|0;t[c+56|0]=n;t[c+57|0]=n>>>8;t[c+58|0]=n>>>16;t[c+59|0]=n>>>24;t[c+60|0]=g;t[c+61|0]=g>>>8;t[c+62|0]=g>>>16;t[c+63|0]=g>>>24;o(+l);g=j(1)|0;n=j(0)|0;t[c+48|0]=n;t[c+49|0]=n>>>8;t[c+50|0]=n>>>16;t[c+51|0]=n>>>24;t[c+52|0]=g;t[c+53|0]=g>>>8;t[c+54|0]=g>>>16;t[c+55|0]=g>>>24;o(+k);g=j(1)|0;n=j(0)|0;t[c+40|0]=n;t[c+41|0]=n>>>8;t[c+42|0]=n>>>16;t[c+43|0]=n>>>24;t[c+44|0]=g;t[c+45|0]=g>>>8;t[c+46|0]=g>>>16;t[c+47|0]=g>>>24;o(+i);g=j(1)|0;n=j(0)|0;t[c+32|0]=n;t[c+33|0]=n>>>8;t[c+34|0]=n>>>16;t[c+35|0]=n>>>24;t[c+36|0]=g;t[c+37|0]=g>>>8;t[c+38|0]=g>>>16;t[c+39|0]=g>>>24;o(+h);g=j(1)|0;n=j(0)|0;t[c+24|0]=n;t[c+25|0]=n>>>8;t[c+26|0]=n>>>16;t[c+27|0]=n>>>24;t[c+28|0]=g;t[c+29|0]=g>>>8;t[c+30|0]=g>>>16;t[c+31|0]=g>>>24;t[c+20|0]=e;t[c+21|0]=e>>>8;t[c+22|0]=e>>>16;t[c+23|0]=e>>>24;c=v[a+4>>2]+B(b,48)|0;o(+A[f>>3]);e=j(1)|0;g=j(0)|0;t[c|0]=g;t[c+1|0]=g>>>8;t[c+2|0]=g>>>16;t[c+3|0]=g>>>24;t[c+4|0]=e;t[c+5|0]=e>>>8;t[c+6|0]=e>>>16;t[c+7|0]=e>>>24;o(+A[f+8>>3]);e=j(1)|0;g=j(0)|0;t[c+8|0]=g;t[c+9|0]=g>>>8;t[c+10|0]=g>>>16;t[c+11|0]=g>>>24;t[c+12|0]=e;t[c+13|0]=e>>>8;t[c+14|0]=e>>>16;t[c+15|0]=e>>>24;o(+A[f+16>>3]);e=j(1)|0;g=j(0)|0;t[c+16|0]=g;t[c+17|0]=g>>>8;t[c+18|0]=g>>>16;t[c+19|0]=g>>>24;t[c+20|0]=e;t[c+21|0]=e>>>8;t[c+22|0]=e>>>16;t[c+23|0]=e>>>24;o(+A[f+24>>3]);e=j(1)|0;g=j(0)|0;t[c+24|0]=g;t[c+25|0]=g>>>8;t[c+26|0]=g>>>16;t[c+27|0]=g>>>24;t[c+28|0]=e;t[c+29|0]=e>>>8;t[c+30|0]=e>>>16;t[c+31|0]=e>>>24;o(+A[f+32>>3]);e=j(1)|0;g=j(0)|0;t[c+32|0]=g;t[c+33|0]=g>>>8;t[c+34|0]=g>>>16;t[c+35|0]=g>>>24;t[c+36|0]=e;t[c+37|0]=e>>>8;t[c+38|0]=e>>>16;t[c+39|0]=e>>>24;o(+A[f+40>>3]);e=j(1)|0;f=j(0)|0;t[c+40|0]=f;t[c+41|0]=f>>>8;t[c+42|0]=f>>>16;t[c+43|0]=f>>>24;t[c+44|0]=e;t[c+45|0]=e>>>8;t[c+46|0]=e>>>16;t[c+47|0]=e>>>24;v[a+8>>2]=b+1}function TY(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;f=Qb-16|0;Qb=f;v[b+12>>2]=0;v[b>>2]=c;g=c+d|0;v[b+8>>2]=g;Ub[v[b+28>>2]](b);c=v[b>>2];a:{b:{if(g>>>0<=c>>>0){break b}k=a+132|0;m=a+164|0;n=a+168|0;o=a+464|0;while(1){c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{d=w[c|0];switch(d-99|0){case 1:break i;case 0:break k;case 2:break l;default:break j}}d=c+6|0;if((d|0)==(g|0)){break h}if(d>>>0>=g>>>0){break d}switch(w[c+5|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break h;default:break d}}m:{d=c+10|0;if((d|0)==(g|0)){break m}if(d>>>0>=g>>>0){break d}switch(w[c+9|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break m;default:break d}}if(Oc(c,280796,9)){break d}break b}if((d|0)==70){break e}}if(d-48>>>0<=9){Ub[v[b+32>>2]](b);e=1;l=c;if(!v[b+12>>2]){break c}break b}h=c+6|0;if(!((d|0)!=82|h>>>0>=g>>>0)){if(!e|w[c+1|0]!=68){break d}v[b>>2]=l;e=v[v[a+128>>2]+52>>2];d=v[b+8>>2];Ub[v[b+28>>2]](b);n:{c=v[b>>2];o:{if(c>>>0>=d>>>0|w[c|0]-48>>>0>9){break o}c=Ub[v[b+36>>2]](b)|0;Ub[v[b+32>>2]](b);if((c|0)<0){break o}h=d;d=v[b>>2];if((c|0)<(h+(d^-1)|0)){break n}}c=3;if(e){break a}break f}v[b>>2]=(c+d|0)+1;e=0;if(!v[b+12>>2]){break c}c=3;break a}if(!((d|0)!=45|g>>>0<=h>>>0)){if(!e|w[c+1|0]!=124){break d}v[b>>2]=l;e=v[v[a+128>>2]+52>>2];d=v[b+8>>2];Ub[v[b+28>>2]](b);p:{c=v[b>>2];q:{if(c>>>0>=d>>>0|w[c|0]-48>>>0>9){break q}c=Ub[v[b+36>>2]](b)|0;Ub[v[b+32>>2]](b);if((c|0)<0){break q}h=d;d=v[b>>2];if((c|0)<(h+(d^-1)|0)){break p}}c=3;if(!e){break f}break a}v[b>>2]=(c+d|0)+1;e=0;if(!v[b+12>>2]){break c}c=3;break a}if((d|0)!=47|c+2>>>0>=g>>>0){break d}h=c+1|0;v[b>>2]=h;Ub[v[b+32>>2]](b);if(v[b+12>>2]){break b}e=0;c=v[b>>2];j=c-h|0;if(j-1>>>0>20|c>>>0>=g>>>0){break c}p=w[h|0];c=449936;i=247874;while(1){d=c;r:{if(w[i|0]!=(p|0)){break r}if((Bc(i)|0)!=(j|0)){break r}if(Pc(h,i,j)){break r}c=v[b+376>>2];if(!(v[d+32>>2]&(c&1?2:1))){break c}if(c&2){if(mc(i,236315)){break c}}i=v[a+532>>2];if(i){c=v[i>>2]?i:0}else{c=0}h=b;j=v[d+8>>2];s:{if((j|0)==11){Ub[v[d+12>>2]](a,b);c=v[b+12>>2];break s}t:{u:{v:{w:{x:{y:{z:{switch(v[d+4>>2]-2|0){case 1:v[f+12>>2]=k;if(c){break y}e=f+12|0;break u;case 2:v[f+12>>2]=n;e=f+12|0;if(!c){break u}e=c+212|0;break x;case 3:v[f+12>>2]=o;e=f+12|0;if(!c){break u}e=c+284|0;break x;case 4:v[f+12>>2]=b;e=f+12|0;break u;case 5:v[f+12>>2]=a;e=f+12|0;break u;case 6:v[f+12>>2]=i;e=f+12|0;c=0;break w;case 0:break v;default:break z}}v[f+12>>2]=k;e=f+12|0;break u}e=c+144|0}i=v[e>>2];c=v[c>>2]}if(i){break t}break g}v[f+12>>2]=m;e=f+12|0}c=0}if(j-9>>>0<=1){c=Ub[v[b+68>>2]](b,d,e,c,0)|0;break s}c=Ub[v[b+64>>2]](b,d,e,c,0)|0}v[h+12>>2]=c;if(!c){e=0;break c}if((c&255)==162){break g}break a}c=d+36|0;i=v[d+36>>2];if(i){continue}break}break c}if(!Oc(c,300803,5)){break b}break d}e=0;v[b+12>>2]=0;break c}v[b+12>>2]=3;break a}A:{d=c+14|0;if((d|0)==(g|0)){break A}if(d>>>0>=g>>>0){break d}switch(w[c+13|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break A;default:break d}}if(Oc(c,217915,13)){break d}d=v[b+376>>2];if(d&1){v[b+376>>2]=d|2}v[b>>2]=c+13;break c}Ub[v[b+32>>2]](b);e=0;if(v[b+12>>2]){break b}}Ub[v[b+28>>2]](b);c=v[b>>2];if(g>>>0>c>>>0){continue}break}}c=v[b+12>>2]}Qb=f+16|0;return c}function $la(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=Qb-1072|0;Qb=e;c=e+1040|0;v[c>>2]=0;v[c+4>>2]=0;v[e+1032>>2]=0;v[e+1036>>2]=0;j=e+1023|0;h=e+1032|0;v[h>>2]=983340;v[h+4>>2]=0;v[h+8>>2]=0;v[h+12>>2]=0;a:{b:{c:while(1){c=e;while(1){d=v[v[b>>2]+8>>2];v[299999]=0;f=Y(d|0,b|0,c|0,1)|0;d=v[299999];v[299999]=0;d:{e:{f:{if((d|0)!=1){d=!f;g=d;if(w[c|0]==10|d){break e}d=v[v[b>>2]+8>>2];v[299999]=0;g=d;d=c+1|0;g=Y(g|0,b|0,d|0,1)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break f}}b=P()|0;O()|0;break b}g=!g;if(g){c=d;break e}if(w[d|0]!=10){break d}c=d}t[c|0]=0;g:{if(!w[e|0]){break g}v[299999]=0;i=Q(4340,e+1048|0,e|0)|0;c=v[299999];v[299999]=0;h:{i:{j:{k:{if((c|0)!=1){c=v[e+1040>>2];if(c){while(1){v[299999]=0;f=Y(4541,c+8|0,e+1048|0,-1)|0;d=v[299999];v[299999]=0;if((d|0)==1){break k}if(!f){break h}c=v[c>>2];if(c){continue}break}}ec(i);v[299999]=0;f=Q(4340,e+1048|0,e|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break j}v[299999]=0;d=S(4976,f|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break i}v[299999]=0;Le(h,d);c=v[299999];v[299999]=0;if((c|0)==1){break i}ec(f);break g}b=P()|0;O()|0;break b}b=P()|0;O()|0;ec(i);break b}b=P()|0;O()|0;break b}b=P()|0;O()|0;ec(f);break b}ec(i)}if(!g){continue c}c=0;v[299999]=0;k=v[e+1036>>2];U(4553,a+48|0,0,k-1|0);b=v[299999];v[299999]=0;l:{m:{n:{if((b|0)!=1){b=v[e+1040>>2];if(!b){break m}while(1){if(!(v[a+64>>2]<=(c|0)&v[a+68>>2]>=(c|0))){v[299999]=0;c=aa(4369,e|0,227445,271729,619,308072,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break l}v[299999]=0;R(4370,c|0);a=v[299999];v[299999]=0;if((a|0)!=1){break a}b=P()|0;O()|0;qc(c);break b}f=v[a+52>>2];d=v[a+56>>2];v[299999]=0;Q(4535,f+(c-d<<3)|0,b+8|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}c=c+1|0;b=v[b>>2];if(b){continue}break}break m}b=P()|0;O()|0;break b}b=P()|0;O()|0;break b}c=0;o:{p:{q:{r:{if((k|0)>0){i=a+100|0;j=a+12|0;g=a+72|0;f=e+8|0;while(1){if(!(v[a+64>>2]<=(c|0)&v[a+68>>2]>=(c|0))){v[299999]=0;c=aa(4369,e|0,227445,271729,619,308072,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break l}v[299999]=0;R(4370,c|0);a=v[299999];v[299999]=0;if((a|0)!=1){break a}b=P()|0;O()|0;qc(c);break b}d=v[a+52>>2];b=v[a+56>>2];v[299999]=0;d=Q(4977,g|0,d+(c-b<<3)|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break o}v[d+24>>2]=c;if(!(v[a+64>>2]<=(c|0)&v[a+68>>2]>=(c|0))){v[299999]=0;c=aa(4369,e+1048|0,227445,271729,619,308072,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break q}v[299999]=0;R(4370,c|0);a=v[299999];v[299999]=0;if((a|0)!=1){break a}b=P()|0;O()|0;qc(c);break b}d=v[a+52>>2];b=v[a+56>>2];v[299999]=0;Y(4612,e|0,d+(c-b<<3)|0,j|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break r}v[299999]=0;d=Q(4978,i|0,e|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break p}v[d+52>>2]=c;v[e+24>>2]=981312;v[e>>2]=981280;d=v[e+28>>2];if(d){b=v[d+4>>2]-1|0;v[d+4>>2]=b;if(!b){Ub[v[v[d>>2]+4>>2]](d)}v[e+28>>2]=0}v[e+16>>2]=981312;d=v[e+20>>2];if(d){b=v[d+4>>2]-1|0;v[d+4>>2]=b;if(!b){Ub[v[v[d>>2]+4>>2]](d)}v[e+20>>2]=0}ec(f);c=c+1|0;if((k|0)!=(c|0)){continue}break}}Ic(h);Qb=e+1072|0;return}b=P()|0;O()|0;break b}b=P()|0;O()|0;break b}b=P()|0;O()|0;$c(e);break b}b=P()|0;O()|0;break b}b=P()|0;O()|0;break b}c=c+2|0;if((d|0)!=(j|0)){continue}break}break}v[299999]=0;c=aa(4369,e+1048|0,280123,241219,113,343812,0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){v[299999]=0;R(4370,c|0);a=v[299999];v[299999]=0;if((a|0)!=1){break a}b=P()|0;O()|0;qc(c);break b}b=P()|0;O()|0}Ic(h);T(b|0);L()}L()}function Hta(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=Qb-80|0;Qb=f;h=f+48|0;v[h>>2]=0;v[h+4>>2]=0;t[h+8|0]=0;v[299999]=0;j=f+32|0;v[j>>2]=0;v[j+4>>2]=0;t[j+8|0]=0;c=v[299999];v[299999]=0;a:{if((c|0)!=1){v[299999]=0;k=wg(b);c=v[299999];v[299999]=0;b:{if((c|0)!=1){l=a+12|0;c:{d:{while(1){v[299999]=0;d=Q(4155,b|0,k|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break c}if(!d){break d}v[299999]=0;V(4145,f+16|0,b|0);c=v[299999];v[299999]=0;e:{f:{g:{h:{i:{j:{k:{l:{m:{if((c|0)!=1){v[299999]=0;d=Q(4160,f- -64|0,f+16|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break m}v[299999]=0;uf(h,d);c=v[299999];v[299999]=0;if((c|0)==1){break l}xc(d);if(t[f+27|0]<=-1){dc(v[f+16>>2])}v[299999]=0;d=md(h,978064);c=v[299999];v[299999]=0;if((c|0)==1){break c}if(!d){break e}v[299999]=0;i=f- -64|0;v[i>>2]=0;v[i+4>>2]=0;t[i+8|0]=0;c=v[299999];v[299999]=0;if((c|0)==1){break j}v[299999]=0;e=f+16|0;v[e>>2]=0;v[e+4>>2]=0;t[e+8|0]=0;c=v[299999];v[299999]=0;if((c|0)==1){break i}v[299999]=0;v[f>>2]=0;v[f+4>>2]=0;t[f+8|0]=0;c=f;d=v[299999];v[299999]=0;if((d|0)==1){break g}v[299999]=0;$(4232,b|0,e|0,c|0,i|0);d=v[299999];v[299999]=0;n:{if((d|0)==1){break n}v[299999]=0;g=v[i+4>>2];d=v[299999];v[299999]=0;if((d|0)==1){break n}if(!g){break h}v[299999]=0;g=v[e+4>>2];d=v[299999];v[299999]=0;if((d|0)==1){break n}if(!g){break h}v[299999]=0;U(4277,a|0,i|0,e|0);d=v[299999];v[299999]=0;if((d|0)!=1){break h}}b=P()|0;O()|0;xc(c);break f}b=P()|0;O()|0;break b}b=P()|0;O()|0;break k}b=P()|0;O()|0;xc(d)}if(t[f+27|0]>-1){break b}dc(v[f+16>>2]);break b}b=P()|0;O()|0;break b}b=P()|0;O()|0;xc(i);break b}xc(c);xc(e);xc(i);continue}b=P()|0;O()|0}xc(e);xc(i);break b}v[299999]=0;d=md(h,978116);c=v[299999];v[299999]=0;if((c|0)==1){break c}o:{p:{if(d){break p}v[299999]=0;d=md(h,978180);c=v[299999];v[299999]=0;if((c|0)==1){break c}if(d){break p}v[299999]=0;d=md(h,978224);c=v[299999];v[299999]=0;if((c|0)==1){break c}if(d){break p}v[299999]=0;d=md(h,978304);c=v[299999];v[299999]=0;if((c|0)==1){break c}if(!d){break o}}v[299999]=0;e=f+16|0;v[e>>2]=0;v[e+4>>2]=0;t[e+8|0]=0;c=v[299999];v[299999]=0;q:{r:{s:{t:{if((c|0)!=1){v[299999]=0;v[f+64>>2]=0;v[f+68>>2]=1072693248;d=Y(4278,b|0,f- -64|0,e|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break q}if(!d){break r}v[299999]=0;g=Yk(f- -64|0,e);c=v[299999];v[299999]=0;if((c|0)==1){break t}v[f+76>>2]=d;v[299999]=0;$(4280,f|0,l|0,g|0,f- -64|0);c=v[299999];v[299999]=0;if((c|0)!=1){break s}b=P()|0;O()|0;xc(g);xc(e);break b}b=P()|0;O()|0;break b}b=P()|0;O()|0;xc(e);break b}xc(g)}xc(e);continue}b=P()|0;O()|0;xc(e);break b}v[299999]=0;d=md(h,978384);c=v[299999];v[299999]=0;if((c|0)==1){break c}if(!d){continue}v[299999]=0;e=f- -64|0;v[e>>2]=0;v[e+4>>2]=0;t[e+8|0]=0;c=v[299999];v[299999]=0;u:{v:{if((c|0)!=1){v[299999]=0;g=f+16|0;v[g>>2]=0;v[g+4>>2]=0;t[g+8|0]=0;c=v[299999];v[299999]=0;if((c|0)==1){break u}v[299999]=0;U(4281,b|0,g|0,e|0);c=v[299999];v[299999]=0;w:{if((c|0)==1){break w}v[299999]=0;d=v[e+4>>2];c=v[299999];v[299999]=0;if((c|0)==1){break w}if(!d){break v}v[299999]=0;d=v[g+4>>2];c=v[299999];v[299999]=0;if((c|0)==1){break w}if(!d){break v}v[299999]=0;U(4282,a|0,e|0,g|0);c=v[299999];v[299999]=0;if((c|0)!=1){break v}}b=P()|0;O()|0;xc(g);xc(e);break b}b=P()|0;O()|0;break b}xc(g);xc(e);continue}break}b=P()|0;O()|0;xc(e);break b}xc(j);xc(h);Qb=f+80|0;return}b=P()|0;O()|0;break b}b=P()|0;O()|0}xc(j);break a}b=P()|0;O()|0}xc(h);T(b|0);L()}function Bw(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=C(0);c=Qb-240|0;Qb=c;h=tf(a,x[b>>1]);a:{b:{c:{e=v[b+4>>2];if(e>>>0>=2){d:{e:{switch(x[b+2>>1]-1|0){case 0:case 5:d=kg(a,e,1,82624);if(!d){break a}if(nC(a,b,d)){break b}dc(d);break a;case 2:case 7:d=kg(a,e,2,82624);if(!d){break a}e=v[b+4>>2];if(e>>>0<=2){if(x[a+456>>1]==19789){f:{g:{switch(e-1|0){case 0:f=v[b+8>>2];break f;case 1:break g;default:break b}}f=v[b+8>>2];u[d+2>>1]=f}u[d>>1]=f>>>16;break b}h:{switch(e-1|0){case 1:break h;case 0:break d;default:break b}}e=v[b+8>>2];u[d+2>>1]=e>>>16;u[d>>1]=e;break b}if(jh(a,b,d)){break b}dc(d);break a;case 3:case 8:d=kg(a,e,4,82624);if(!d){break a}if(v[b+4>>2]==1){v[d>>2]=v[b+8>>2];break b}if(jh(a,b,d)){break b}dc(d);break a;case 4:case 9:d=kg(a,e,4,82624);if(!d){break a}if(sM(a,b,d)){break b}dc(d);break a;case 10:d=kg(a,e,4,82624);if(!d){break a}if(v[b+4>>2]==1){z[d>>2]=z[b+8>>2];break b}if(jh(a,b,d)){break b}dc(d);break a;case 1:case 6:d=kg(a,e+1|0,1,82624);if(!d){break a}g=v[b+4>>2];if(g>>>0<=4){v[c+232>>2]=v[b+8>>2];e=d;f=c+232|0;if(w[a+12|0]&128){Mn(c+232|0);g=v[b+4>>2]}oe(e,f,g);break c}if(jh(a,b,d)){break c}dc(d);break a;case 11:break e;default:break a}}d=kg(a,e,8,82624);if(!d){break a}if(jh(a,b,d)){break b}dc(d);break a}u[d>>1]=v[b+8>>2];break b}if(!e){d=v[a>>2];g=v[a+628>>2];e=v[tf(a,x[b>>1])+16>>2];a=v[b+4>>2];v[c+40>>2]=1;v[c+36>>2]=a;v[c+32>>2]=e;Ld(g,d,49811,c+32|0);break a}i:{j:{k:{l:{m:{e=x[b+2>>1];switch(e-1|0){case 1:case 6:break i;case 11:break j;case 4:case 9:case 10:break k;case 3:case 8:break l;case 0:case 2:case 5:case 7:break m;default:break a}}n:{o:{g=v[h+8>>2]-4|0;switch(g|0){case 0:case 5:break n;default:break o}}f=v[b+8>>2];p:{if(x[a+456>>1]==19789){e=e<<2;d=e+v[a+468>>2]|0;f=f>>>v[e+v[a+464>>2]>>2]|0;break p}d=v[a+468>>2]+(e<<2)|0}e=v[d>>2]&f;u[c+232>>1]=e;d=x[b>>1];if(w[h+15|0]){v[c+96>>2]=1;v[c+100>>2]=c+232;f=Id(a,d,c+96|0);break n}v[c+80>>2]=e&65535;f=Id(a,d,c+80|0)}switch(g|0){case 0:case 5:break l;default:break a}}f=v[b+8>>2];q:{if(x[a+456>>1]==19789){e=x[b+2>>1]<<2;d=e+v[a+468>>2]|0;f=f>>>v[e+v[a+464>>2]>>2]|0;break q}d=v[a+468>>2]+(x[b+2>>1]<<2)|0}e=v[d>>2]&f;v[c+232>>2]=e;b=x[b>>1];if(w[h+15|0]){v[c+64>>2]=1;v[c+68>>2]=c+232;f=Id(a,b,c- -64|0);break a}v[c+48>>2]=e;f=Id(a,b,c+48|0);break a}r:{if((e|0)==11){g=v[b+8>>2];e=c;if(x[a+456>>1]==19789){g=g>>>v[v[a+464>>2]+44>>2]|0}v[e+228>>2]=v[v[a+468>>2]+44>>2]&g;oe(c+232|0,c+228|0,4);i=z[c+232>>2];break r}i=C(1);if(!jh(a,b,c+232|0)){break r}f=v[c+232>>2];e=v[c+236>>2];if(e){if(x[b+2>>1]==5){i=C(C(f>>>0)/C(e>>>0));break r}i=C(C(f|0)/C(e|0));break r}d=v[a>>2];g=v[a+628>>2];e=v[tf(a,x[b>>1])+16>>2];v[c+148>>2]=f;v[c+144>>2]=e;zc(g,d,55782,c+144|0)}z[c+224>>2]=i;b=x[b>>1];if(w[h+15|0]){v[c+128>>2]=1;v[c+132>>2]=c+224;f=Id(a,b,c+128|0);break a}A[c+112>>3]=i;f=Id(a,b,c+112|0);break a}if(!jh(a,b,c+232|0)){break a}b=x[b>>1];s:{if(w[h+15|0]){v[c+176>>2]=1;v[c+180>>2]=c+232;a=Id(a,b,c+176|0);break s}A[c+160>>3]=A[c+232>>3];a=Id(a,b,c+160|0)}f=(a|0)!=0;break a}v[c+232>>2]=v[b+8>>2];d=c+228|0;f=c+232|0;if(w[a+12|0]&128){Mn(c+232|0);e=v[b+4>>2]}else{e=1}oe(d,f,e);t[c+229|0]=0;b=x[b>>1];if(w[h+15|0]){v[c+208>>2]=1;v[c+212>>2]=c+228;f=Id(a,b,c+208|0);break a}v[c+192>>2]=c+228;f=Id(a,b,c+192|0);break a}t[v[b+4>>2]+d|0]=0}e=x[b>>1];if(w[h+15|0]){b=v[b+4>>2];v[c+20>>2]=d;v[c+16>>2]=b;f=Id(a,e,c+16|0);dc(d);break a}v[c>>2]=d;f=Id(a,e,c);dc(d)}Qb=c+240|0;return f}function HMa(a,b){a=a|0;b=b|0;var 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;i=v[a+4>>2];j=v[i+52>>2];o=j>>>0<268435456?852576:852704;m=j>>>16|0;c=v[a+24>>2];k=v[a+20>>2];d=v[a+16>>2];n=v[a+12>>2];h=v[a+8>>2];f=!(j&16777216);a:{b:{c:{while(1){if(!f){d:{e:{e=k-d|0;f=n-h>>1;l=(e|0)<(f|0)?e:f;f:{if((l|0)<1){f=h;break f}while(1){g:{h:{i:{e=x[h>>1];if(e>>>0>127){break i}f=h+2|0;if(w[e+o|0]){t[d|0]=e;if(c){break h}c=0;break g}if((e|0)!=43){break i}t[d|0]=43;h=d+1|0;if(h>>>0>>0){t[d+1|0]=45;d=d+2|0;if(c){v[c+4>>2]=g;v[c>>2]=g;g=g+1|0;c=c+8|0}else{c=0}e=k-d|0;h=f;l=n-f>>1;l=(e|0)<(l|0)?e:l;if((l|0)>0){continue}break f}if(c){v[c>>2]=g;g=g+1|0;c=c+4|0}else{c=0}t[i+63|0]=1;t[i+76|0]=45;v[b>>2]=15;d=h;break f}t[d|0]=43;d=d+1|0;m=0;if(c){break e}c=0;break d}v[c>>2]=g;g=g+1|0;c=c+4|0}d=d+1|0;e=(l|0)>1;h=f;l=l-1|0;if(e){continue}break}}p=16777216;l=0;if(d>>>0>>0|f>>>0>=n>>>0){break a}break b}v[c>>2]=g;c=c+4|0}e=g;f=1;continue}l=1;if(h>>>0>=n>>>0){break c}j:{k:{while(1){if(d>>>0>=k>>>0){break j}f=x[h>>1];if(!(f>>>0>127|!w[f+o|0])){l:{if(!(m&255)){break l}t[d|0]=w[(j&255)+852832|0];d=d+1|0;if(!c){c=0;break l}v[c>>2]=e-1;c=c+4|0}if(w[f+852448|0]==255){break k}if(d>>>0>>0){t[d|0]=45;d=d+1|0;if(!c){c=0;break k}v[c>>2]=e-1;c=c+4|0;break k}t[i+63|0]=1;t[i+76|0]=45;p=16777216;l=0;break j}h=h+2|0;m:{n:{switch(m<<24>>24){case 0:t[d|0]=w[(f>>>10|0)+852832|0];g=d+1|0;o:{if(g>>>0>>0){t[d+1|0]=w[(f>>>4&63)+852832|0];d=d+2|0;if(!c){c=0;break o}v[c+4>>2]=e;v[c>>2]=e;c=c+8|0;e=e+1|0;break o}if(c){v[c>>2]=e;e=e+1|0;c=c+4|0}else{c=0}t[i+63|0]=1;t[i+76|0]=w[(f>>>4&63)+852832|0];v[b>>2]=15;d=g}j=f<<2&60;m=1;break m;case 1:t[d|0]=w[(j&255|f>>>14)+852832|0];g=d+1|0;p:{if(g>>>0>>0){t[d+1|0]=w[(f>>>8&63)+852832|0];g=d+2|0;if(g>>>0>>0){t[d+2|0]=w[(f>>>2&63)+852832|0];d=d+3|0;if(!c){c=0;break p}v[c+8>>2]=e;v[c+4>>2]=e;v[c>>2]=e;c=c+12|0;e=e+1|0;break p}if(c){v[c+4>>2]=e;v[c>>2]=e;e=e+1|0;c=c+8|0}else{c=0}t[i+63|0]=1;t[i+76|0]=w[(f>>>2&63)+852832|0];v[b>>2]=15;d=g;break p}if(c){v[c>>2]=e;e=e+1|0;c=c+4|0}else{c=0}t[i+63|0]=2;t[i+77|0]=w[(f>>>2&63)+852832|0];t[i+76|0]=w[(f>>>8&63)+852832|0];v[b>>2]=15;d=g}j=f<<4&48;m=2;break m;case 2:break n;default:break m}}t[d|0]=w[(j&255|f>>>12)+852832|0];g=d+1|0;q:{if(g>>>0>>0){t[d+1|0]=w[(f>>>6&63)+852832|0];g=d+2|0;if(g>>>0>>0){t[d+2|0]=w[(f&63)+852832|0];d=d+3|0;j=0;if(!c){c=0;break q}v[c+8>>2]=e;v[c+4>>2]=e;v[c>>2]=e;c=c+12|0;e=e+1|0;break q}j=0;if(c){v[c+4>>2]=e;v[c>>2]=e;e=e+1|0;c=c+8|0}else{c=0}t[i+63|0]=1;t[i+76|0]=w[(f&63)+852832|0];v[b>>2]=15;d=g;break q}j=0;if(c){v[c>>2]=e;e=e+1|0;c=c+4|0}else{c=0}t[i+63|0]=2;t[i+77|0]=w[(f&63)+852832|0];t[i+76|0]=w[(f>>>6&63)+852832|0];v[b>>2]=15;d=g}m=0}if(h>>>0>>0){continue}break}break c}g=e;f=0;continue}break}g=e;f=h;break b}g=e;f=h;break a}v[b>>2]=15}e=i;r:{if(!(!w[a+2|0]|f>>>0>>0)){s:{if(!l){h=d;break s}t:{u:{v:{w:{if(m&255){h=w[(j&255)+852832|0];if(d>>>0>>0){t[d|0]=h;h=d+1|0;if(!c){break v}v[c>>2]=g-1;c=c+4|0;break w}j=t[i+63|0];t[i+63|0]=j+1;t[(i+j|0)+76|0]=h;v[b>>2]=15}h=d}if(h>>>0>=k>>>0){break t}t[h|0]=45;h=h+1|0;if(c){break u}c=0;break s}c=0;if(h>>>0>=k>>>0){break t}t[d+1|0]=45;h=d+2|0;break s}v[c>>2]=g-1;c=c+4|0;break s}d=t[i+63|0];t[i+63|0]=d+1;t[(d+i|0)+76|0]=45;v[b>>2]=15}b=v[i+52>>2]&-268435456|16777216;break r}h=d;b=v[i+52>>2]&-268435456|(j&255|p|m<<24>>24<<16)}v[e+52>>2]=b;v[a+24>>2]=c;v[a+16>>2]=h;v[a+8>>2]=f}function OIa(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;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;n=Qb+-64|0;Qb=n;a:{if(!a){break a}o=v[a+52>>2];b:{if(!v[a+104>>2]){break b}k=v[a+8>>2];if(v[k+48>>2]){break b}k=v[k+44>>2];if(k){if(v[k+36>>2]|v[k+40>>2]|(v[k+44>>2]|v[k+48>>2])){break b}}Xi(a,522,346112,0,0);v[a+104>>2]=0}k=0;c:{if(d|!c){break c}if(v[a+364>>2]){l=dz(v[a+296>>2],c,b);b=l?l:b;break c}if(!b){b=0;break c}j=Bc(b);l=Bc(c);m=j+l|0;p=Ub[v[259707]](m+2|0)|0;if(!p){v[n+48>>2]=280500;oc(0,0,0,0,0,2,2,3,280500,0,0,0,350051,n+48|0);break c}k=gc(p,c,l);l=l+k|0;t[l|0]=58;gc(l+1|0,b,j);t[(k+m|0)+1|0]=0}d:{j=v[a+372>>2];if(j){v[a+372>>2]=v[j+24>>2];v[a+368>>2]=v[a+368>>2]-1;v[j>>2]=0;v[j+4>>2]=0;v[j+56>>2]=0;v[j+48>>2]=0;v[j+52>>2]=0;v[j+40>>2]=0;v[j+44>>2]=0;v[j+32>>2]=0;v[j+36>>2]=0;v[j+24>>2]=0;v[j+28>>2]=0;v[j+16>>2]=0;v[j+20>>2]=0;v[j+8>>2]=0;v[j+12>>2]=0;v[j+4>>2]=1;e:{if(v[a+364>>2]){k=b;break e}if(k){break e}f:{g:{if(!b){break g}k=b;while(1){l=k;k=k+1|0;if(w[l|0]){continue}break}l=l-b|0;if((l|0)<0){break g}k=Ub[v[259707]](l+1|0)|0;if(k){break f}oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0)}v[j+8>>2]=0;v[a+84>>2]=2;c=v[a>>2];b=0;h:{if(!c){break h}b=0;if(v[c+108>>2]!=-554844497){break h}b=v[c+124>>2]}c=v[a+108>>2];d=v[a+112>>2];v[n+36>>2]=0;v[n+32>>2]=347702;oc(b,d,c,a,0,1,2,2,347702,0,0,0,237069,n+32|0);v[a+212>>2]=1;v[a+172>>2]=-1;v[a+84>>2]=2;break a}r=gc(k,b,l)+l|0,s=0,t[r|0]=s}v[j+8>>2]=k;if(!v[294265]){break d}b=v[294262];if(!b){break d}Ub[b|0](j);break d}i:{if(v[a+364>>2]){j=XF(v[a+8>>2],b);break i}l=v[a+8>>2];if(!k){j=Qy(l,b);break i}j=XF(l,k)}if(j){break d}v[a+84>>2]=2;c=v[a>>2];b=0;j:{if(!c){break j}b=0;if(v[c+108>>2]!=-554844497){break j}b=v[c+124>>2]}c=v[a+108>>2];d=v[a+112>>2];v[n+4>>2]=0;v[n>>2]=347702;oc(b,d,c,a,0,1,2,2,347702,0,0,0,237069,n);v[a+212>>2]=1;v[a+172>>2]=-1;v[a+84>>2]=2;break a}k:{if(!v[a+280>>2]){break k}b=v[a+36>>2];if(!b){break k}b=v[b+28>>2];u[j+56>>1]=(b|0)<65535?b:65535}if(!o){$f(v[a+8>>2],j)}l:{if((e|0)<1){break l}p=j+48|0;b=0;if(!d){k=0;l=0;while(1){m=k<<2;m=qk(0,v[(m|4)+f>>2],v[f+m>>2]);if(m){v[(l?l:p)>>2]=m;l=m}k=k+2|0;b=b+1|0;if((e|0)!=(b|0)){continue}break}break l}k=0;l=0;while(1){m=k<<2;q=v[m+f>>2];m=qk(0,v[(m|4)+f>>2],q);if(m){v[(l?l:p)>>2]=m;if((c|0)==(q|0)){v[j+36>>2]=m}l=m}k=k+2|0;b=b+1|0;if((e|0)!=(b|0)){continue}break}}v[a+264>>2]=-1;Au(a,j);m:{if(!o){break m}if(v[o+4>>2]==1){$f(o,j);break m}$y(o,j)}g=h?g-(w[a+276|0]&4?0:h)|0:g;n:{if(v[j+36>>2]|!d){break n}b=sk(v[a+8>>2],o,c);v[j+36>>2]=b;if(b){break n}f=258814;o:{if((c|0)!=258814){if(!c){break o}b=c;while(1){d=w[b|0];if((d|0)!=w[f|0]){break o}f=f+1|0;b=b+1|0;if(d){continue}break}}b=sk(v[a+8>>2],j,c);v[j+36>>2]=b;if(b){break n}}if(!qk(j,0,c)){Jj(a,237069);break a}if(c){My(a,201,353043,c,0);break n}My(a,201,353003,0,0)}if((g|0)<1){break a}b=0;k=0;while(1){c=(b<<2)+i|0;h=c;p:{q:{d=v[c+4>>2];r:{if(v[c+8>>2]|!d){break r}if(v[a+364>>2]){d=dz(v[a+296>>2],d,v[c>>2]);if(!d){break r}MF(a,d,0,v[c+12>>2],v[c+16>>2]);break p}e=v[c>>2];if(!e){break r}l=Bc(e);f=Bc(d);j=l+f|0;m=Ub[v[259707]](j+2|0)|0;if(m){break q}v[n+16>>2]=280500;oc(0,0,0,0,0,2,2,3,280500,0,0,0,350051,n+16|0)}MF(a,v[c>>2],v[h+4>>2],v[c+12>>2],v[c+16>>2]);break p}d=gc(m,d,f);f=d+f|0;t[f|0]=58;gc(f+1|0,e,l);t[(d+j|0)+1|0]=0;MF(a,d,0,v[c+12>>2],v[c+16>>2]);Ub[v[259708]](d)}b=b+5|0;k=k+1|0;if((k|0)!=(g|0)){continue}break}}Qb=n- -64|0}function EW(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=Qb-80|0;Qb=h;v[h- -64>>2]=v[211321];k=v[211320];v[h+56>>2]=v[211319];v[h+60>>2]=k;k=v[211318];v[h+48>>2]=v[211317];v[h+52>>2]=k;k=v[211316];v[h+40>>2]=v[211315];v[h+44>>2]=k;v[h+32>>2]=v[211328];k=v[211327];v[h+24>>2]=v[211326];v[h+28>>2]=k;k=v[211325];v[h+16>>2]=v[211324];v[h+20>>2]=k;k=v[211323];v[h+8>>2]=v[211322];v[h+12>>2]=k;a:{if(!d|v[d>>2]>0){break a}if(!a){v[d>>2]=1;break a}k=v[v[v[a+24>>2]+20>>2]+56>>2];b:{if(k){v[h+72>>2]=0;Ub[k|0](a,0,h+72|0,d)|0;if(v[d>>2]<=0){break b}break a}v[h+72>>2]=260}c:{if(!c){e=1;v[h+76>>2]=1;c=h+76|0;break c}e=v[c>>2];v[h+76>>2]=e;if((e|0)>0){break c}v[c>>2]=v[h+72>>2];break a}j=b&7;d:{if(!j){break d}j=8-j|0;if((j|0)<(e|0)){e=e-j|0;v[h+76>>2]=e;b=b+j|0;break d}e=1;v[h+76>>2]=1}j=e;e=v[h+72>>2];e:{if(!(b?(j|0)>=(e|0):0)){j=Pg(e);if(!j){v[d>>2]=7;j=0;break a}v[d>>2]=-126;e=v[h+72>>2];v[c>>2]=e;k=j;break e}j=b;k=0}l=gc(ic(j,0,e),a,260);t[l+33|0]=0;t[l+34|0]=0;f:{g:{if(v[a+20>>2]==(a+108|0)){v[l+20>>2]=l+108;break g}e=Pg(64);v[l+20>>2]=e;if(!e){break f}f=v[a+20>>2];g=w[f+4|0]|w[f+5|0]<<8|(w[f+6|0]<<16|w[f+7|0]<<24);i=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);t[e|0]=i;t[e+1|0]=i>>>8;t[e+2|0]=i>>>16;t[e+3|0]=i>>>24;t[e+4|0]=g;t[e+5|0]=g>>>8;t[e+6|0]=g>>>16;t[e+7|0]=g>>>24;g=w[f+60|0]|w[f+61|0]<<8|(w[f+62|0]<<16|w[f+63|0]<<24);i=w[f+56|0]|w[f+57|0]<<8|(w[f+58|0]<<16|w[f+59|0]<<24);t[e+56|0]=i;t[e+57|0]=i>>>8;t[e+58|0]=i>>>16;t[e+59|0]=i>>>24;t[e+60|0]=g;t[e+61|0]=g>>>8;t[e+62|0]=g>>>16;t[e+63|0]=g>>>24;g=w[f+52|0]|w[f+53|0]<<8|(w[f+54|0]<<16|w[f+55|0]<<24);i=w[f+48|0]|w[f+49|0]<<8|(w[f+50|0]<<16|w[f+51|0]<<24);t[e+48|0]=i;t[e+49|0]=i>>>8;t[e+50|0]=i>>>16;t[e+51|0]=i>>>24;t[e+52|0]=g;t[e+53|0]=g>>>8;t[e+54|0]=g>>>16;t[e+55|0]=g>>>24;g=w[f+44|0]|w[f+45|0]<<8|(w[f+46|0]<<16|w[f+47|0]<<24);i=w[f+40|0]|w[f+41|0]<<8|(w[f+42|0]<<16|w[f+43|0]<<24);t[e+40|0]=i;t[e+41|0]=i>>>8;t[e+42|0]=i>>>16;t[e+43|0]=i>>>24;t[e+44|0]=g;t[e+45|0]=g>>>8;t[e+46|0]=g>>>16;t[e+47|0]=g>>>24;g=w[f+36|0]|w[f+37|0]<<8|(w[f+38|0]<<16|w[f+39|0]<<24);i=w[f+32|0]|w[f+33|0]<<8|(w[f+34|0]<<16|w[f+35|0]<<24);t[e+32|0]=i;t[e+33|0]=i>>>8;t[e+34|0]=i>>>16;t[e+35|0]=i>>>24;t[e+36|0]=g;t[e+37|0]=g>>>8;t[e+38|0]=g>>>16;t[e+39|0]=g>>>24;g=w[f+28|0]|w[f+29|0]<<8|(w[f+30|0]<<16|w[f+31|0]<<24);i=w[f+24|0]|w[f+25|0]<<8|(w[f+26|0]<<16|w[f+27|0]<<24);t[e+24|0]=i;t[e+25|0]=i>>>8;t[e+26|0]=i>>>16;t[e+27|0]=i>>>24;t[e+28|0]=g;t[e+29|0]=g>>>8;t[e+30|0]=g>>>16;t[e+31|0]=g>>>24;g=w[f+20|0]|w[f+21|0]<<8|(w[f+22|0]<<16|w[f+23|0]<<24);i=w[f+16|0]|w[f+17|0]<<8|(w[f+18|0]<<16|w[f+19|0]<<24);t[e+16|0]=i;t[e+17|0]=i>>>8;t[e+18|0]=i>>>16;t[e+19|0]=i>>>24;t[e+20|0]=g;t[e+21|0]=g>>>8;t[e+22|0]=g>>>16;t[e+23|0]=g>>>24;g=w[f+12|0]|w[f+13|0]<<8|(w[f+14|0]<<16|w[f+15|0]<<24);f=w[f+8|0]|w[f+9|0]<<8|(w[f+10|0]<<16|w[f+11|0]<<24);t[e+8|0]=f;t[e+9|0]=f>>>8;t[e+10|0]=f>>>16;t[e+11|0]=f>>>24;t[e+12|0]=g;t[e+13|0]=g>>>8;t[e+14|0]=g>>>16;t[e+15|0]=g>>>24}h:{e=v[v[v[a+24>>2]+20>>2]+56>>2];i:{if(e){j=Ub[e|0](a,l,c,d)|0;if(!j){break i}}if(v[d>>2]<1){break h}}if(!k){break f}a=v[k+20>>2];if((a|0)==(k+108|0)){break f}_e(a);break f}c=v[a+24>>2];if(!c|!w[c+17|0]?0:w[c+17|0]){v[c+4>>2]=v[c+4>>2]+1}if((b|0)==(j|0)){t[b+33|0]=1}v[h+44>>2]=j;v[h+12>>2]=j;v[h+68>>2]=0;b=h+68|0;Ub[v[a+4>>2]](v[a+16>>2],h+40|0,0,0,5,b);v[h+68>>2]=0;Ub[v[a>>2]](v[a+12>>2],h+8|0,0,0,0,5,b);break a}_e(k);j=0}Qb=h+80|0;return j}function zIa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=Qb-32|0;Qb=i;b=v[a+420>>2];a:{if(!v[a+264>>2]){break a}b:{c:{e=v[b+128>>2];switch(e|0){case 0:break a;case 1:break b;default:break c}}while(1){c=g;g=c+1|0;e=e>>1;if(e>>>0>1){continue}break}if(c>>>0<14){break b}c=v[b+120>>2];d=v[c>>2];v[d+20>>2]=41;Ub[v[d>>2]](c)}c=g<<4;d=v[b+124>>2];d:{if(v[b+108>>2]){c=v[((d<<2)+b|0)+92>>2]+(c<<2)|0;v[c>>2]=v[c>>2]+1;break d}d=v[((d<<2)+b|0)+60>>2];e=v[d+(c<<2)>>2];f=v[b+16>>2];c=t[(c+d|0)+1024|0];if(!c){d=v[b+120>>2];h=v[d>>2];v[h+20>>2]=41;Ub[v[h>>2]](d);if(v[b+108>>2]){break d}}d=c+f|0;e=v[b+12>>2]|(e&(-1<=8){while(1){c=v[b+112>>2];v[b+112>>2]=c+1;t[c|0]=e>>>16;c=v[b+116>>2]-1|0;v[b+116>>2]=c;if(!c){f=v[b+120>>2];c=v[f+24>>2];if(!(Ub[v[c+12>>2]](f)|0)){f=v[b+120>>2];h=v[f>>2];v[h+20>>2]=25;Ub[v[h>>2]](f)}v[b+112>>2]=v[c>>2];v[b+116>>2]=v[c+4>>2]}c=d;e:{if((e&16711680)!=16711680){break e}d=v[b+112>>2];v[b+112>>2]=d+1;t[d|0]=0;d=v[b+116>>2]-1|0;v[b+116>>2]=d;if(d){break e}f=v[b+120>>2];d=v[f+24>>2];if(!(Ub[v[d+12>>2]](f)|0)){f=v[b+120>>2];h=v[f>>2];v[h+20>>2]=25;Ub[v[h>>2]](f)}v[b+112>>2]=v[d>>2];v[b+116>>2]=v[d+4>>2]}d=c-8|0;e=e<<8;if((c|0)>15){continue}break}}v[b+16>>2]=d;v[b+12>>2]=e}if(!(v[b+108>>2]|!g)){c=v[b+16>>2]+g|0;g=v[b+12>>2]|(v[b+128>>2]&(-1<=8){while(1){d=v[b+112>>2];v[b+112>>2]=d+1;t[d|0]=g>>>16;d=v[b+116>>2]-1|0;v[b+116>>2]=d;if(!d){e=v[b+120>>2];d=v[e+24>>2];if(!(Ub[v[d+12>>2]](e)|0)){e=v[b+120>>2];f=v[e>>2];v[f+20>>2]=25;Ub[v[f>>2]](e)}v[b+112>>2]=v[d>>2];v[b+116>>2]=v[d+4>>2]}d=c;f:{if((g&16711680)!=16711680){break f}c=v[b+112>>2];v[b+112>>2]=c+1;t[c|0]=0;c=v[b+116>>2]-1|0;v[b+116>>2]=c;if(c){break f}e=v[b+120>>2];c=v[e+24>>2];if(!(Ub[v[c+12>>2]](e)|0)){e=v[b+120>>2];f=v[e>>2];v[f+20>>2]=25;Ub[v[f>>2]](e)}v[b+112>>2]=v[c>>2];v[b+116>>2]=v[c+4>>2]}c=d-8|0;g=g<<8;if((d|0)>15){continue}break}}v[b+16>>2]=c;v[b+12>>2]=g}v[b+128>>2]=0;g:{if(v[b+108>>2]){break g}f=v[b+132>>2];if(!f){break g}d=v[b+136>>2];g=0;while(1){if(!g){e=v[b+16>>2];g=v[b+12>>2]|(t[d|0]&1)<<23-e;c=e+1|0;if((e|0)>=7){while(1){e=v[b+112>>2];v[b+112>>2]=e+1;t[e|0]=g>>>16;e=v[b+116>>2]-1|0;v[b+116>>2]=e;if(!e){h=v[b+120>>2];e=v[h+24>>2];if(!(Ub[v[e+12>>2]](h)|0)){h=v[b+120>>2];j=v[h>>2];v[j+20>>2]=25;Ub[v[j>>2]](h)}v[b+112>>2]=v[e>>2];v[b+116>>2]=v[e+4>>2]}e=c;h:{if((g&16711680)!=16711680){break h}c=v[b+112>>2];v[b+112>>2]=c+1;t[c|0]=0;c=v[b+116>>2]-1|0;v[b+116>>2]=c;if(c){break h}h=v[b+120>>2];c=v[h+24>>2];if(!(Ub[v[c+12>>2]](h)|0)){h=v[b+120>>2];j=v[h>>2];v[j+20>>2]=25;Ub[v[j>>2]](h)}v[b+112>>2]=v[c>>2];v[b+116>>2]=v[c+4>>2]}c=e-8|0;g=g<<8;if((e|0)>15){continue}break}}v[b+16>>2]=c;v[b+12>>2]=g}f=f-1|0;if(!f){break g}d=d+1|0;g=v[b+108>>2];continue}}v[b+132>>2]=0}v[i+24>>2]=0;v[i+28>>2]=0;v[i+16>>2]=0;v[i+20>>2]=0;v[i>>2]=0;v[i+4>>2]=0;v[i+8>>2]=0;v[i+12>>2]=0;if(v[a+288>>2]>=1){g=0;while(1){c=v[((g<<2)+a|0)+292>>2];i:{if(v[a+360>>2]|v[a+368>>2]){break i}d=v[c+20>>2]<<2;e=d+(i+16|0)|0;if(v[e>>2]){break i}h=a+d|0;f=v[h+120>>2];if(!f){f=Ub[v[v[a+4>>2]>>2]](a,0,280)|0;v[f+276>>2]=0;v[h+120>>2]=f}oU(a,f,v[(b+d|0)+76>>2]);v[e>>2]=1}j:{if(!v[a+364>>2]){break j}c=v[c+24>>2]<<2;e=c+i|0;if(v[e>>2]){break j}f=a+c|0;d=v[f+136>>2];if(!d){d=Ub[v[v[a+4>>2]>>2]](a,0,280)|0;v[d+276>>2]=0;v[f+136>>2]=d}oU(a,d,v[(b+c|0)+92>>2]);v[e>>2]=1}g=g+1|0;if((g|0)>2]){continue}break}}Qb=i+32|0}function SRa(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,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,z=0,A=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;b=v[b+84>>2];n=B(v[b+108>>2],u[c+54>>1]);g=B(v[b+44>>2],u[c+22>>1]);h=B(n+g|0,6810);i=B(v[b+100>>2],u[c+50>>1]);f=B(v[b+36>>2],u[c+18>>1]);j=B(i+f|0,6810);O=h+B(g,4209)|0;o=B(u[c+6>>1],v[b+12>>2])<<13|1024;g=B(v[b+76>>2],u[c+38>>1]);k=B(v[b+140>>2],u[c+70>>1]);p=g-k|0;r=o+B(p,2896)|0;s=B(g+k|0,6476);P=r+s|0;l=O+P>>11;Q=j+B(f,4209)|0;x=B(u[c+2>>1],v[b+4>>2])<<13|1024;g=B(v[b+68>>2],u[c+34>>1]);f=B(v[b+132>>2],u[c+66>>1]);y=g-f|0;z=x+B(y,2896)|0;A=B(f+g|0,6476);R=z+A|0;m=Q+R>>11;f=B(l+m|0,6810);C=B(v[b+96>>2],u[c+48>>1]);D=B(v[b+32>>2],u[c+16>>1]);k=B(C+D|0,6810);g=v[d>>2]+e|0;a=v[a+332>>2]+128|0;m=f+B(m,4209)|0;E=B(v[b+104>>2],u[c+52>>1]);F=B(v[b+40>>2],u[c+20>>1]);G=B(E+F|0,6810);F=G+B(F,4209)|0;S=B(u[c+4>>1],v[b+8>>2])<<13|1024;q=B(v[b+72>>2],u[c+36>>1]);H=B(v[b+136>>2],u[c+68>>1]);T=q-H|0;U=S+B(T,2896)|0;q=B(q+H|0,6476);H=U+q|0;I=F+H>>11;V=B(u[c+8>>1],v[b+16>>2])<<13|1024;J=B(v[b+80>>2],u[c+40>>1]);K=B(v[b+144>>2],u[c+72>>1]);W=J-K|0;X=V+B(W,2896)|0;J=B(J+K|0,6476);K=X+J|0;Y=B(v[b+112>>2],u[c+56>>1]);L=B(v[b+48>>2],u[c+24>>1]);Z=B(Y+L|0,6810);L=Z+B(L,4209)|0;M=K+L>>11;_=I-M|0;D=k+B(D,4209)|0;$=B(u[c>>1],v[b>>2])<<13|1024;N=B(v[b+64>>2],u[c+32>>1]);b=B(v[b+128>>2],u[c+64>>1]);aa=N-b|0;ba=$+B(aa,2896)|0;N=B(b+N|0,6476);ca=ba+N|0;b=(D+ca<<2)+131072&-8192;c=B(_,2896)+b|0;I=B(I+M|0,6476);M=c+I|0;t[g|0]=w[a+(m+M>>>18&1023)|0];t[g+4|0]=w[a+(M-m>>>18&1023)|0];f=f+B(l,-17828)|0;c=c-I|0;t[g+1|0]=w[a+(f+c>>>18&1023)|0];t[g+3|0]=w[a+(c-f>>>18&1023)|0];t[g+2|0]=w[a+(b+B(_,-11584)>>>18&1023)|0];g=h+B(n,-17828)|0;h=r-s|0;f=g+h>>11;j=j+B(i,-17828)|0;n=z-A|0;i=j+n>>11;c=B(f+i|0,6810);b=v[d+4>>2]+e|0;i=c+B(i,4209)|0;r=B(E,-17828)+G|0;s=U-q|0;l=r+s>>11;z=B(Y,-17828)+Z|0;A=X-J|0;m=z+A>>11;E=l-m|0;k=k+B(C,-17828)|0;C=ba-N|0;G=(k+C<<2)+131072&-8192;q=B(E,2896)+G|0;l=B(l+m|0,6476);m=q+l|0;t[b|0]=w[a+(i+m>>>18&1023)|0];t[b+4|0]=w[a+(m-i>>>18&1023)|0];c=c+B(f,-17828)|0;f=q-l|0;t[b+1|0]=w[a+(c+f>>>18&1023)|0];t[b+3|0]=w[a+(f-c>>>18&1023)|0];t[b+2|0]=w[a+(G+B(E,-11584)>>>18&1023)|0];f=o+B(p,-11584)>>11;i=x+B(y,-11584)>>11;c=B(f+i|0,6810);b=v[d+8>>2]+e|0;i=c+B(i,4209)|0;y=(B(aa,-11584)+$<<2)+131072&-8192;p=B(T,-11584)+S>>11;o=B(W,-11584)+V>>11;l=p-o|0;x=y+B(l,2896)|0;p=B(p+o|0,6476);o=x+p|0;t[b|0]=w[a+(i+o>>>18&1023)|0];t[b+4|0]=w[a+(o-i>>>18&1023)|0];c=c+B(f,-17828)|0;f=x-p|0;t[b+1|0]=w[a+(c+f>>>18&1023)|0];t[b+3|0]=w[a+(f-c>>>18&1023)|0];t[b+2|0]=w[a+(y+B(l,-11584)>>>18&1023)|0];g=h-g>>11;h=n-j>>11;c=B(g+h|0,6810);b=v[d+12>>2]+e|0;h=c+B(h,4209)|0;k=(C-k<<2)+131072&-8192;j=s-r>>11;f=A-z>>11;n=j-f|0;i=k+B(n,2896)|0;j=B(f+j|0,6476);f=i+j|0;t[b|0]=w[a+(h+f>>>18&1023)|0];t[b+4|0]=w[a+(f-h>>>18&1023)|0];c=c+B(g,-17828)|0;g=i-j|0;t[b+1|0]=w[a+(c+g>>>18&1023)|0];t[b+3|0]=w[a+(g-c>>>18&1023)|0];t[b+2|0]=w[a+(k+B(n,-11584)>>>18&1023)|0];g=P-O>>11;h=R-Q>>11;c=B(g+h|0,6810);b=v[d+16>>2]+e|0;d=c+B(h,4209)|0;f=(ca-D<<2)+131072&-8192;e=H-F>>11;h=K-L>>11;j=e-h|0;k=f+B(j,2896)|0;e=B(e+h|0,6476);h=k+e|0;t[b|0]=w[a+(d+h>>>18&1023)|0];t[b+4|0]=w[a+(h-d>>>18&1023)|0];c=c+B(g,-17828)|0;d=k-e|0;t[b+1|0]=w[a+(c+d>>>18&1023)|0];t[b+3|0]=w[a+(d-c>>>18&1023)|0];t[b+2|0]=w[a+(f+B(j,-11584)>>>18&1023)|0]}function D3(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;a:{b:{if(!v[a+16>>2]){if((d|0)<1){break b}q=v[a+28>>2];o=v[a+20>>2];while(1){m=d;i=A[b+8>>3];g=A[b>>3];j=A[b+16>>3];h=j;c:{if(!v[a+24>>2]|o){break c}h=A[v[a+32>>2]>>3];f=v[a+36>>2];l=f-1|0;g=g*+(l|0);e=H(g);d:{if(D(e)<2147483648){d=~~e;break d}d=-2147483648}e:{if((d|0)<=-1){break e}k=v[a+32>>2];h=A[k+(l<<3)>>3];n=f;e=I(g);f:{if(D(e)<2147483648){f=~~e;break f}f=-2147483648}if((n|0)<=(f|0)){break e}e=A[k+(d<<3)>>3];h=e+(g-+(d|0))*(A[k+(f<<3)>>3]-e)}g=h;h=A[v[a+40>>2]>>3];f=v[a+44>>2];l=f-1|0;i=i*+(l|0);e=H(i);g:{if(D(e)<2147483648){d=~~e;break g}d=-2147483648}h:{if((d|0)<=-1){break h}k=v[a+40>>2];h=A[k+(l<<3)>>3];n=f;e=I(i);i:{if(D(e)<2147483648){f=~~e;break i}f=-2147483648}if((n|0)<=(f|0)){break h}e=A[k+(d<<3)>>3];h=e+(i-+(d|0))*(A[k+(f<<3)>>3]-e)}i=h;h=A[v[a+48>>2]>>3];f=v[a+52>>2];l=f-1|0;e=j*+(l|0);j=H(e);j:{if(D(j)<2147483648){d=~~j;break j}d=-2147483648}if((d|0)<=-1){break c}k=v[a+48>>2];h=A[k+(l<<3)>>3];n=f;j=I(e);k:{if(D(j)<2147483648){f=~~j;break k}f=-2147483648}if((n|0)<=(f|0)){break c}j=A[k+(d<<3)>>3];h=j+(e-+(d|0))*(A[k+(f<<3)>>3]-j)}j=h;l:{if(!q){e=i;p=j;break l}p=A[a+144>>3]+(g*A[a+120>>3]+i*A[a+128>>3]+j*A[a+136>>3]);e=A[a+112>>3]+(g*A[a+88>>3]+i*A[a+96>>3]+j*A[a+104>>3]);g=A[a+80>>3]+(g*A[a+56>>3]+i*A[a+64>>3]+j*A[a+72>>3])}m:{if(!o|!v[a+24>>2]){break m}h=A[v[a+32>>2]>>3];f=v[a+36>>2];l=f-1|0;g=g*+(l|0);i=H(g);n:{if(D(i)<2147483648){d=~~i;break n}d=-2147483648}o:{if((d|0)<=-1){break o}k=v[a+32>>2];h=A[k+(l<<3)>>3];n=f;i=I(g);p:{if(D(i)<2147483648){f=~~i;break p}f=-2147483648}if((n|0)<=(f|0)){break o}i=A[k+(d<<3)>>3];h=i+(g-+(d|0))*(A[k+(f<<3)>>3]-i)}g=h;h=A[v[a+40>>2]>>3];f=v[a+44>>2];l=f-1|0;i=e*+(l|0);e=H(i);q:{if(D(e)<2147483648){d=~~e;break q}d=-2147483648}r:{if((d|0)<=-1){break r}k=v[a+40>>2];h=A[k+(l<<3)>>3];n=f;e=I(i);s:{if(D(e)<2147483648){f=~~e;break s}f=-2147483648}if((n|0)<=(f|0)){break r}e=A[k+(d<<3)>>3];h=e+(i-+(d|0))*(A[k+(f<<3)>>3]-e)}e=h;f=v[a+52>>2];l=f-1|0;i=p*+(l|0);j=H(i);t:{if(D(j)<2147483648){d=~~j;break t}d=-2147483648}if((d|0)<=-1){p=A[v[a+48>>2]>>3];break m}k=v[a+48>>2];n=f;j=I(i);u:{if(D(j)<2147483648){f=~~j;break u}f=-2147483648}if((n|0)<=(f|0)){p=A[k+(l<<3)>>3];break m}j=A[k+(d<<3)>>3];p=j+(i-+(d|0))*(A[k+(f<<3)>>3]-j)}b=b+24|0;d=m-1|0;A[c+16>>3]=p;A[c+8>>3]=e;A[c>>3]=g;c=c+24|0;if((m|0)>1){continue}break}break b}if(v[a+20>>2]){break a}if((d|0)<1){break b}m=d-1|0;if(!v[a+24>>2]){if(d&1){i=A[a+56>>3];e=A[a+88>>3];g=A[b>>3];A[c+16>>3]=g*A[a+120>>3];A[c+8>>3]=g*e;A[c>>3]=g*i;m=d-2|0;c=c+24|0;b=b+8|0}if((d|0)==1){break b}while(1){i=A[a+56>>3];e=A[a+88>>3];g=A[b>>3];A[c+16>>3]=g*A[a+120>>3];A[c+8>>3]=g*e;A[c>>3]=g*i;i=A[a+56>>3];e=A[a+88>>3];g=A[b+8>>3];A[c+40>>3]=g*A[a+120>>3];A[c+32>>3]=g*e;A[c+24>>3]=g*i;c=c+48|0;b=b+16|0;d=(m|0)>1;m=m-2|0;if(d){continue}break}break b}k=v[a+36>>2];q=k-1|0;i=+(q|0);while(1){d=m;h=A[v[a+32>>2]>>3];g=A[b>>3]*i;e=H(g);v:{if(D(e)<2147483648){m=~~e;break v}m=-2147483648}w:{if((m|0)<=-1){break w}o=v[a+32>>2];h=A[o+(q<<3)>>3];e=I(g);x:{if(D(e)<2147483648){f=~~e;break x}f=-2147483648}if((f|0)>=(k|0)){break w}e=A[o+(m<<3)>>3];h=e+(g-+(m|0))*(A[o+(f<<3)>>3]-e)}g=h;b=b+8|0;e=A[a+56>>3];j=A[a+88>>3];A[c+16>>3]=g*A[a+120>>3];A[c+8>>3]=g*j;A[c>>3]=g*e;m=d-1|0;c=c+24|0;if((d|0)>0){continue}break}}return 0}X(19336,6744,846,188290);L()}function x6a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=Qb-128|0;Qb=d;v[d+120>>2]=0;v[d+124>>2]=0;v[289141]=0;v[289140]=0;v[289139]=0;b=x[a+26308>>1];if(b){k=a+232|0;g=v[252391];h=x[a+26306>>1];while(1){c=h&65535;h=0;if(c){l=i&1;m=i<<1&14;while(1){c=k;b=v[c>>2];a:{if(!b){break a}f=0;if(v[289141]){while(1){c=b;b=v[c>>2];if(b){continue}break a}}while(1){b=0;b:{if(f){break b}e=v[289140];c:{if((e|0)>=1){b=v[289139];break c}while(1){d:{e:{f=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;f:{if((f|0)==-1){if(!v[a+26160>>2]){v[d+112>>2]=v[a+25208>>2];wc(g,8292,d+112|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,g);v[a+26160>>2]=1;break f}b=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[d+96>>2]=b;v[d+100>>2]=b>>31;wc(g,14622,d+96|0)}v[a+26160>>2]=1;break f}if(!v[a+26144>>2]){break f}if((f|0)==255){break e}}v[289141]=0;break d}b=0;e=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[289141]=(e|0)!=0;if(!e){break d}f=1;break b}j=v[289140];e=j+8|0;v[289140]=e;b=f&255|v[289139]<<8;v[289139]=b;if((j|0)<-7){continue}break}}f=0;v[289140]=e-1;b=b<<32-e>>>31|0}c=v[(b<<2)+c>>2];if(v[c>>2]){continue}break}}g:{h:{i:{j:{f=v[c+8>>2];c=f+1|0;if(c){if((c|0)==17){break i}break j}v[289140]=0;v[289141]=0;v[289139]=0;b=0;break h}b=0;if(v[289141]|!f){break h}b=v[289140];k:{if((f|0)<=(b|0)){e=v[289139];break k}while(1){c=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;l:{if((c|0)==-1){if(!v[a+26160>>2]){v[d+48>>2]=v[a+25208>>2];wc(g,8292,d+48|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,g);v[a+26160>>2]=1;v[289141]=0;break l}b=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[d+32>>2]=b;v[d+36>>2]=b>>31;wc(g,14622,d+32|0)}v[a+26160>>2]=1;v[289141]=0;break l}if(!((c|0)==255?v[a+26144>>2]:0)){v[289141]=0;break l}e=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[289141]=(e|0)!=0;b=0;if(e){break h}}b=v[289140]+8|0;v[289140]=b;e=c&255|v[289139]<<8;v[289139]=e;if((b|0)<(f|0)){continue}break}}c=b-f|0;v[289140]=c;b=32-f|0;b=e<>>b|0;break h}c=-32768;if(v[a+26152>>2]-1>>>0>16842750){break g}b=0;if(v[289141]){break h}c=v[289140];m:{if((c|0)>=16){e=v[289139];break m}while(1){e=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;n:{if((e|0)==-1){if(!v[a+26160>>2]){v[d+80>>2]=v[a+25208>>2];wc(g,8292,d+80|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,g);v[a+26160>>2]=1;v[289141]=0;break n}c=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[d+64>>2]=c;v[d+68>>2]=c>>31;wc(g,14622,d- -64|0)}v[a+26160>>2]=1;v[289141]=0;break n}if(!((e|0)==255?v[a+26144>>2]:0)){v[289141]=0;break n}c=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[289141]=(c|0)!=0;b=0;if(c){break h}}b=v[289140];c=b+8|0;v[289140]=c;e=e&255|v[289139]<<8;v[289139]=e;if((b|0)<8){continue}break}}v[289140]=c-16;b=e<<32-c>>>16|0}c=b+(b>>>f-1&1?0:(-1<>>0<=1){b=h<<1;e=b+(d+120|l<<2)|0;c=c+x[e>>1]|0;u[e>>1]=c;u[b+(d+116|0)>>1]=c;break o}b=(d+116|0)+((h&1)<<1)|0;u[b>>1]=c+x[b>>1]}c=h&1;if(x[a+26310>>1]>h>>>0){b=x[a+26316>>1];u[(v[a+26352>>2]+(B(x[a+26320>>1],i>>>b|0)+(h>>>b|0)<<3)|0)+((v[a+26028>>2]>>>((c|m)<<1)&3)<<1)>>1]=x[(d+116|0)+(c<<1)>>1]}if(x[(d+116|0)+(c<<1)>>1]>=4096){p:{if(v[a+26160>>2]){break p}v[d+16>>2]=v[a+25208>>2];wc(g,8292,d+16|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,g);break p}c=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[d>>2]=c;v[d+4>>2]=c>>31;wc(g,14622,d)}v[a+26160>>2]=1}h=h+1|0;c=x[a+26306>>1];if(h>>>0>>0){continue}break}h=c;b=x[a+26308>>1]}i=i+1|0;if(i>>>0<(b&65535)>>>0){continue}break}}Qb=d+128|0}function MAa(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,n=0,o=0,p=0,q=0,r=0,s=0;f=Qb-1040|0;Qb=f;v[f+1024>>2]=13;v[a+4>>2]=b;v[a+792>>2]=1;v[a>>2]=d;ic(a+20|0,0,256);j=-1<<((b|0)>(e|0)?e:b);i=j^-1;Ub[v[v[d>>2]+36>>2]](d,f+768|0,f+512|0,i);a:{b:{c:{d:{e:{f:{g:{switch(v[c>>2]-5|0){case 0:b=v[a>>2];e=Ub[v[v[b>>2]+28>>2]](b)|0;v[a+8>>2]=e;if((e|0)<1){break c}c=0;if((e|0)!=1){b=e&-2;h=a+280|0;m=a+536|0;while(1){d=c<<3;A[d+h>>3]=A[d+(f+768|0)>>3];A[d+m>>3]=A[d+(f+512|0)>>3];d=d|8;A[d+h>>3]=A[d+(f+768|0)>>3];A[d+m>>3]=A[d+(f+512|0)>>3];c=c+2|0;b=b-2|0;if(b){continue}break}}if(!(e&1)){break f}b=c<<3;c=b+a|0;A[c+280>>3]=A[b+(f+768|0)>>3];A[c+536>>3]=A[b+(f+512|0)>>3];break f;case 1:break g;default:break d}}b=v[v[c+8>>2]+12>>2]/2|0;v[a+8>>2]=b;d=v[a>>2];if((Ub[v[v[d>>2]+28>>2]](d)|0)>(b|0)){break d}b=v[a>>2];h:{if(v[a+8>>2]<=(Ub[v[v[b>>2]+28>>2]](b)|0)){d=v[a+8>>2];break h}kc(0,-1,220032,0);b=v[a>>2];d=Ub[v[v[b>>2]+28>>2]](b)|0;v[a+8>>2]=d}if((d|0)<1){break c}d=0;while(1){e=d<<1;yc(v[c+8>>2],e,f+1024|0,0);h=v[f+1024>>2];if(h-1>>>0>1){break e}b=(d<<3)+a|0;A[b+280>>3]=(h|0)==1?+v[f+1032>>2]:A[f+1032>>3];h=f+1024|0;hc(h);yc(v[c+8>>2],e|1,h,0);e=v[f+1024>>2];if(e-1>>>0>1){break e}A[b+536>>3]=((e|0)==1?+v[f+1032>>2]:A[f+1032>>3])-A[b+280>>3];hc(f+1024|0);d=d+1|0;e=v[a+8>>2];if((d|0)<(e|0)){continue}break}}c=0;b=0-j|0;n=+(i|0);if((e|0)<1){break b}j=(i|0)>0?i:0;while(1){h=ed(b,4);v[((c<<2)+a|0)+20>>2]=h;d=c<<3;m=d+(f+512|0)|0;k=A[d+(f+768|0)>>3];d=a+d|0;p=A[d+536>>3];q=A[d+280>>3];d=0;while(1){g=k;l=q+p*+(d|0)/n;i:{if(g>l){break i}g=l;l=k+A[m>>3];if(!(g>l)){break i}g=l}o=h+(d<<2)|0;g=g*65536;j:{if(D(g)<2147483648){e=~~g;break j}e=-2147483648}v[o>>2]=e;e=(d|0)!=(j|0);d=d+1|0;if(e){continue}break}c=c+1|0;if((c|0)>2]){continue}break}break b}hc(f+1024|0)}v[a+792>>2]=0;break a}b=0-j|0;n=+(i|0)}v[a+12>>2]=0;v[a+16>>2]=0;c=v[a>>2];if((Ub[v[v[c>>2]+12>>2]](c)|0)==7){c=v[a>>2];d=v[c+12>>2];v[a+12>>2]=d;j=v[c+16>>2];r=a,s=Ub[v[v[d>>2]+28>>2]](d)|0,v[r+16>>2]=s;h=v[c+20>>2];c=v[a+12>>2];Ub[v[v[c>>2]+36>>2]](c,f+256|0,f,j);d=0;c=v[a+16>>2];if((c|0)>0){while(1){r=(d<<2)+a|0,s=ed(b,4),v[r+148>>2]=s;c=v[a+16>>2];d=d+1|0;if((c|0)>(d|0)){continue}break}}e=0;i=(i|0)>0?i:0;g=A[a+536>>3];k=A[a+280>>3];while(1){l=k+g*+(e|0)/n+.5;k:{if(D(l)<2147483648){b=~~l;break k}b=-2147483648}if((c|0)>=1){d=0;m=(b|0)<0?0:(b|0)>(j|0)?j:b;while(1){o=v[((d<<2)+a|0)+148>>2]+(e<<2)|0;b=d<<3;l=(A[b+(f+256|0)>>3]+A[b+f>>3]*(+w[h+(B(c,m)+d|0)|0]/255))*65536;l:{if(D(l)<2147483648){b=~~l;break l}b=-2147483648}v[o>>2]=b;c=v[a+16>>2];d=d+1|0;if((c|0)>(d|0)){continue}break}}b=(e|0)==(i|0);e=e+1|0;if(!b){continue}break}break a}c=v[a>>2];if((Ub[v[v[c>>2]+12>>2]](c)|0)!=8){break a}e=v[a>>2];c=v[e+16>>2];v[a+12>>2]=c;j=Ub[v[v[c>>2]+28>>2]](c)|0;v[a+16>>2]=j;d=0;c=v[e+20>>2];if((j|0)>0){while(1){r=(d<<2)+a|0,s=ed(b,4),v[r+148>>2]=s;d=d+1|0;if((d|0)>2]){continue}break}}e=0;i=(i|0)>0?i:0;while(1){g=A[a+280>>3]+A[a+536>>3]*+(e|0)/n;k=A[f+768>>3];m:{if(g>3];if(!(k>3]=g;Ub[v[v[c>>2]+16>>2]](c,f+256|0,f);d=0;if(v[a+16>>2]>=1){while(1){h=v[((d<<2)+a|0)+148>>2]+(e<<2)|0;g=A[(d<<3)+f>>3]*65536;n:{if(D(g)<2147483648){b=~~g;break n}b=-2147483648}v[h>>2]=b;d=d+1|0;if((d|0)>2]){continue}break}}b=(e|0)==(i|0);e=e+1|0;if(!b){continue}break}}Qb=f+1040|0;return a|0}function MV(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;c=v[a+44>>2];d=v[a+12>>2]-5|0;k=c>>>0>>0?c:d;d=v[a>>2];l=v[d+4>>2];h=(b|0)==4;a:{while(1){c=v[d+16>>2];e=v[a+5820>>2]+42>>3;if(c>>>0>>0){f=1;break a}e=c-e|0;g=v[a+108>>2]-v[a+92>>2]|0;c=g+v[d+4>>2]|0;f=c>>>0<65535?c:65535;e=e>>>0>>0?e:f;if(k>>>0>e>>>0){f=1;if(!(h|(e|0)!=0)|!b|(c|0)!=(e|0)){break a}}i=h&(c|0)==(e|0);hz(a,0,0,i);t[(v[a+20>>2]+v[a+8>>2]|0)-4|0]=e;t[(v[a+20>>2]+v[a+8>>2]|0)-3|0]=e>>>8;c=e^-1;t[(v[a+20>>2]+v[a+8>>2]|0)-2|0]=c;t[(v[a+20>>2]+v[a+8>>2]|0)-1|0]=c>>>8;c=v[a>>2];d=v[c+28>>2];qh(d);f=v[c+16>>2];j=v[d+20>>2];f=f>>>0>>0?f:j;b:{if(!f){break b}gc(v[c+12>>2],v[d+16>>2],f);v[c+12>>2]=f+v[c+12>>2];v[d+16>>2]=f+v[d+16>>2];v[c+20>>2]=f+v[c+20>>2];v[c+16>>2]=v[c+16>>2]-f;c=v[d+20>>2]-f|0;v[d+20>>2]=c;if(c){break b}v[d+16>>2]=v[d+8>>2]}if(g){c=e>>>0>>0?e:g;gc(v[v[a>>2]+12>>2],v[a+56>>2]+v[a+92>>2]|0,c);d=v[a>>2];v[d+12>>2]=c+v[d+12>>2];v[d+16>>2]=v[d+16>>2]-c;v[d+20>>2]=c+v[d+20>>2];v[a+92>>2]=c+v[a+92>>2];e=e-c|0}if(e){c=v[a>>2];f=v[c+12>>2];g=v[c+4>>2];d=e>>>0>>0?e:g;if(d){v[c+4>>2]=g-d;f=gc(f,v[c>>2],d);c:{d:{switch(v[v[c+28>>2]+24>>2]-1|0){case 0:m=c,n=$m(v[c+48>>2],f,d),v[m+48>>2]=n;break c;case 1:break d;default:break c}}m=c,n=Kf(v[c+48>>2],f,d),v[m+48>>2]=n}v[c>>2]=d+v[c>>2];v[c+8>>2]=d+v[c+8>>2];c=v[a>>2];f=v[c+12>>2]}v[c+12>>2]=e+f;v[c+16>>2]=v[c+16>>2]-e;v[c+20>>2]=v[c+20>>2]+e}d=v[a>>2];if(!i){continue}break}f=0}e=l-v[d+4>>2]|0;e:{if(!e){c=v[a+108>>2];break e}c=v[a+44>>2];f:{if(c>>>0<=e>>>0){v[a+5808>>2]=2;gc(v[a+56>>2],v[d>>2]-c|0,c);d=v[a+44>>2];v[a+108>>2]=d;c=d;break f}d=v[a+108>>2];g:{if(e>>>0>2]-d>>>0){break g}d=d-c|0;v[a+108>>2]=d;g=v[a+56>>2];gc(g,c+g|0,d);c=v[a+5808>>2];if(c>>>0>1){break g}v[a+5808>>2]=c+1}gc(v[a+56>>2]+v[a+108>>2]|0,v[v[a>>2]>>2]-e|0,e);c=e+v[a+108>>2]|0;v[a+108>>2]=c;d=v[a+44>>2]}v[a+92>>2]=c;g=d;d=v[a+5812>>2];g=g-d|0;v[a+5812>>2]=(e>>>0>g>>>0?g:e)+d}if(y[a+5824>>2]>>0){v[a+5824>>2]=c}e=3;h:{if(!f){break h}d=v[a>>2];e=v[d+4>>2];i:{if(!(e|!(b&-5))){e=1;if(v[a+92>>2]==(c|0)){break h}f=v[a+60>>2]+(c^-1)|0;e=0;break i}f=v[a+60>>2]+(c^-1)|0;if(f>>>0>=e>>>0){break i}h=v[a+92>>2];g=v[a+44>>2];if((h|0)<(g|0)){break i}c=c-g|0;v[a+108>>2]=c;v[a+92>>2]=h-g;d=v[a+56>>2];gc(d,d+g|0,c);c=v[a+5808>>2];if(c>>>0<=1){v[a+5808>>2]=c+1}f=v[a+44>>2]+f|0;d=v[a>>2];e=v[d+4>>2]}c=e>>>0>>0?e:f;j:{if(!c){e=v[a+108>>2];break j}f=v[a+108>>2];g=v[a+56>>2];v[d+4>>2]=e-c;e=gc(f+g|0,v[d>>2],c);k:{l:{switch(v[v[d+28>>2]+24>>2]-1|0){case 0:m=d,n=$m(v[d+48>>2],e,c),v[m+48>>2]=n;break k;case 1:break l;default:break k}}m=d,n=Kf(v[d+48>>2],e,c),v[m+48>>2]=n}v[d>>2]=c+v[d>>2];v[d+8>>2]=c+v[d+8>>2];e=c+v[a+108>>2]|0;v[a+108>>2]=e}if(y[a+5824>>2]>>0){v[a+5824>>2]=e}d=v[a+44>>2];c=v[a+12>>2]-(v[a+5820>>2]+42>>3)|0;c=c>>>0<65535?c:65535;f=c>>>0>d>>>0?d:c;g=v[a+92>>2];d=e-g|0;if(f>>>0>d>>>0){e=0;if(!((b|0)==4|(d|0)!=0)|!b|(v[v[a>>2]+4>>2]|c>>>0>>0)){break h}}f=0;f=(b|0)==4?!v[v[a>>2]+4>>2]&c>>>0>=d>>>0:f;b=c>>>0>>0?c:d;hz(a,g+v[a+56>>2]|0,b,f);v[a+92>>2]=b+v[a+92>>2];a=v[a>>2];b=v[a+28>>2];qh(b);c=v[a+16>>2];d=v[b+20>>2];c=c>>>0>>0?c:d;m:{if(!c){break m}gc(v[a+12>>2],v[b+16>>2],c);v[a+12>>2]=c+v[a+12>>2];v[b+16>>2]=c+v[b+16>>2];v[a+20>>2]=c+v[a+20>>2];v[a+16>>2]=v[a+16>>2]-c;a=v[b+20>>2]-c|0;v[b+20>>2]=a;if(a){break m}v[b+16>>2]=v[b+8>>2]}e=f?2:0}return e|0}function xy(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{e=v[a+128>>2];switch(e|0){case 0:break a;case 1:break b;default:break c}}while(1){c=f;f=c+1|0;e=e>>1;if(e>>>0>1){continue}break}if(c>>>0<14){break b}c=v[a+120>>2];d=v[c>>2];v[d+20>>2]=41;Ub[v[d>>2]](c)}c=f<<4;d=v[a+124>>2];d:{if(v[a+108>>2]){c=v[((d<<2)+a|0)+92>>2]+(c<<2)|0;v[c>>2]=v[c>>2]+1;break d}d=v[((d<<2)+a|0)+60>>2];e=v[d+(c<<2)>>2];g=v[a+16>>2];c=t[(c+d|0)+1024|0];if(!c){d=v[a+120>>2];h=v[d>>2];v[h+20>>2]=41;Ub[v[h>>2]](d);if(v[a+108>>2]){break d}}d=c+g|0;e=v[a+12>>2]|(e&(-1<=8){while(1){c=v[a+112>>2];v[a+112>>2]=c+1;t[c|0]=e>>>16;c=v[a+116>>2]-1|0;v[a+116>>2]=c;if(!c){g=v[a+120>>2];c=v[g+24>>2];if(!(Ub[v[c+12>>2]](g)|0)){g=v[a+120>>2];h=v[g>>2];v[h+20>>2]=25;Ub[v[h>>2]](g)}v[a+112>>2]=v[c>>2];v[a+116>>2]=v[c+4>>2]}c=d;e:{if((e&16711680)!=16711680){break e}d=v[a+112>>2];v[a+112>>2]=d+1;t[d|0]=0;d=v[a+116>>2]-1|0;v[a+116>>2]=d;if(d){break e}g=v[a+120>>2];d=v[g+24>>2];if(!(Ub[v[d+12>>2]](g)|0)){g=v[a+120>>2];h=v[g>>2];v[h+20>>2]=25;Ub[v[h>>2]](g)}v[a+112>>2]=v[d>>2];v[a+116>>2]=v[d+4>>2]}d=c-8|0;e=e<<8;if((c|0)>15){continue}break}}v[a+16>>2]=d;v[a+12>>2]=e}if(!(v[a+108>>2]|!f)){c=v[a+16>>2]+f|0;f=v[a+12>>2]|(v[a+128>>2]&(-1<=8){while(1){d=v[a+112>>2];v[a+112>>2]=d+1;t[d|0]=f>>>16;d=v[a+116>>2]-1|0;v[a+116>>2]=d;if(!d){e=v[a+120>>2];d=v[e+24>>2];if(!(Ub[v[d+12>>2]](e)|0)){e=v[a+120>>2];g=v[e>>2];v[g+20>>2]=25;Ub[v[g>>2]](e)}v[a+112>>2]=v[d>>2];v[a+116>>2]=v[d+4>>2]}d=c;f:{if((f&16711680)!=16711680){break f}c=v[a+112>>2];v[a+112>>2]=c+1;t[c|0]=0;c=v[a+116>>2]-1|0;v[a+116>>2]=c;if(c){break f}e=v[a+120>>2];c=v[e+24>>2];if(!(Ub[v[c+12>>2]](e)|0)){e=v[a+120>>2];g=v[e>>2];v[g+20>>2]=25;Ub[v[g>>2]](e)}v[a+112>>2]=v[c>>2];v[a+116>>2]=v[c+4>>2]}c=d-8|0;f=f<<8;if((d|0)>15){continue}break}}v[a+16>>2]=c;v[a+12>>2]=f}v[a+128>>2]=0;g:{if(v[a+108>>2]){break g}g=v[a+132>>2];if(!g){break g}d=v[a+136>>2];f=0;while(1){if(!f){e=v[a+16>>2];f=v[a+12>>2]|(t[d|0]&1)<<23-e;c=e+1|0;if((e|0)>=7){while(1){e=v[a+112>>2];v[a+112>>2]=e+1;t[e|0]=f>>>16;e=v[a+116>>2]-1|0;v[a+116>>2]=e;if(!e){h=v[a+120>>2];e=v[h+24>>2];if(!(Ub[v[e+12>>2]](h)|0)){h=v[a+120>>2];i=v[h>>2];v[i+20>>2]=25;Ub[v[i>>2]](h)}v[a+112>>2]=v[e>>2];v[a+116>>2]=v[e+4>>2]}e=c;h:{if((f&16711680)!=16711680){break h}c=v[a+112>>2];v[a+112>>2]=c+1;t[c|0]=0;c=v[a+116>>2]-1|0;v[a+116>>2]=c;if(c){break h}h=v[a+120>>2];c=v[h+24>>2];if(!(Ub[v[c+12>>2]](h)|0)){h=v[a+120>>2];i=v[h>>2];v[i+20>>2]=25;Ub[v[i>>2]](h)}v[a+112>>2]=v[c>>2];v[a+116>>2]=v[c+4>>2]}c=e-8|0;f=f<<8;if((e|0)>15){continue}break}}v[a+16>>2]=c;v[a+12>>2]=f}g=g-1|0;if(!g){break g}d=d+1|0;f=v[a+108>>2];continue}}v[a+132>>2]=0}i:{if(v[a+108>>2]){break i}gU(a);c=v[a+112>>2];v[a+112>>2]=c+1;t[c|0]=255;c=v[a+116>>2]-1|0;v[a+116>>2]=c;j:{if(c){f=v[a+112>>2];break j}f=v[a+120>>2];c=v[f+24>>2];if(!(Ub[v[c+12>>2]](f)|0)){f=v[a+120>>2];d=v[f>>2];v[d+20>>2]=25;Ub[v[d>>2]](f)}f=v[c>>2];v[a+116>>2]=v[c+4>>2]}v[a+112>>2]=f+1;t[f|0]=b-48;b=v[a+116>>2]-1|0;v[a+116>>2]=b;if(b){break i}c=v[a+120>>2];b=v[c+24>>2];if(!(Ub[v[b+12>>2]](c)|0)){c=v[a+120>>2];f=v[c>>2];v[f+20>>2]=25;Ub[v[f>>2]](c)}v[a+112>>2]=v[b>>2];v[a+116>>2]=v[b+4>>2]}b=v[a+120>>2];k:{if(!v[b+360>>2]){if(v[b+288>>2]<1){break k}f=0;while(1){v[((f<<2)+a|0)+20>>2]=0;f=f+1|0;if((f|0)>2]){continue}break}break k}v[a+128>>2]=0;v[a+132>>2]=0}}function ww(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=Qb-16|0;Qb=i;d=v[a+12>>2];a:{if(!(d&64)){g=Qb+-64|0;Qb=g;b:{c:{d:{if(!v[a+8>>2]){d=v[a+628>>2];v[g>>2]=v[a>>2];zc(d,82688,15775,g);break d}d=v[a+12>>2];if(d>>>10&1){zc(v[a+628>>2],v[a>>2],20796,0);d=0;break b}e=v[a+40>>2];if(!(e&2)){d=v[a+628>>2];v[g+16>>2]=v[a>>2];zc(d,82688,23260,g+16|0);break d}e=e&1048576;if(x[a+98>>1]==1){if(e){break c}u[a+138>>1]=1;break c}if(e){break c}d=v[a+628>>2];v[g+48>>2]=v[a>>2];zc(d,82688,25483,g+48|0)}d=0;break b}e=a;e:{if(!v[a+184>>2]){d=v[a+40>>2];h=a;f:{if(w[a+13|0]&4){f=x[a+98>>1];if(!(v[a+60>>2]|!(d&4))){break f}f=cO(a);break f}f=x[a+98>>1];if(!(v[a+60>>2]|!(d&131072))){break f}f=kO(a)}d=f;v[h+180>>2]=d;v[a+176>>2]=d;if(x[a+138>>1]==2){v[a+176>>2]=(d>>>0)/x[a+98>>1]}j=a,k=jc(d<<2),v[j+184>>2]=k;f=jc(v[a+180>>2]<<2);v[a+188>>2]=f;d=0;h=v[a+184>>2];if(!(!h|!f)){eg(h,0,v[a+180>>2]<<2);eg(v[a+188>>2],0,v[a+180>>2]<<2);v[a+40>>2]=v[a+40>>2]|50331648;d=1}if(!d){break e}d=v[a+12>>2]}if(d&1024){d=Uk(a)}else{d=-1}v[e+508>>2]=d;j=a,k=Di(a),v[j+588>>2]=k;v[a+12>>2]=v[a+12>>2]|64;d=1;break b}v[a+180>>2]=0;d=v[a+628>>2];e=v[a+12>>2];v[g+32>>2]=v[a>>2];v[g+36>>2]=e&1024?28640:29986;zc(d,82688,26601,g+32|0);d=0}Qb=g- -64|0;if(!d){f=-1;break a}d=v[a+12>>2]}if(!(v[a+596>>2]?d&16:0)){f=-1;d=Qb-16|0;Qb=d;e=v[a+596>>2];if(e){if(w[a+13|0]&2){dc(e);v[a+12>>2]=v[a+12>>2]&-513}v[a+596>>2]=0}if(w[a+13|0]&4){e=v[a+508>>2]}else{e=ir(a)}g=(e|0)>8192?e:8192;e=jc(g);g:{if(!e){e=v[a+628>>2];v[d>>2]=v[a>>2];zc(e,82720,31484,d);e=0;break g}h=v[a+12>>2]|512;v[a+608>>2]=0;v[a+600>>2]=g;v[a+596>>2]=e;v[a+604>>2]=e;v[a+12>>2]=h|16;e=1}Qb=d+16|0;if(!e){break a}}f=x[a+138>>1];h:{i:{j:{d=v[a+60>>2];if(d>>>0<=c>>>0){if((f|0)!=2){break j}zc(v[a+628>>2],v[a>>2],1532,0);f=-1;break a}d=c>>>0>=d>>>0;e=d;if((f|0)!=2){break i}e=x[a+98>>1];if(!e){b=v[a>>2];a=v[a+628>>2];v[i+4>>2]=e;v[i>>2]=0;zc(a,b,6024,i);f=-1;break a}e=(c>>>0)/y[a+100>>2]|0;break h}v[a+60>>2]=c+1;e=c>>>0>=d>>>0}d=e;e=(c>>>0)/y[a+100>>2]|0}k:{if(e>>>0>2]){break k}g=Qb-16|0;Qb=g;l:{if(x[a+138>>1]==1){f=uh(v[a+184>>2],(v[a+180>>2]<<2)+4|0);h=uh(v[a+188>>2],(v[a+180>>2]<<2)+4|0);m:{if(!(h?f:0)){if(f){dc(f)}if(h){dc(h)}v[a+180>>2]=0;f=v[a+628>>2];v[g>>2]=v[a>>2];zc(f,82688,35660,g);f=0;break m}v[a+188>>2]=h;v[a+184>>2]=f;eg(f+(v[a+180>>2]<<2)|0,0,4);eg(v[a+188>>2]+(v[a+180>>2]<<2)|0,0,4);v[a+180>>2]=v[a+180>>2]+1;f=1}Qb=g+16|0;break l}X(33660,34991,594,82741);L()}if(f){break k}f=-1;break a}if((e|0)!=v[a+480>>2]){f=-1;g=0;h=v[a+12>>2];n:{if(!(h&64)){break n}if(h&4096){v[a+12>>2]=h&-4097;if(!(Ub[v[a+536>>2]](a)|0)){break n}}g=Ae(a)}if(!g){break a}v[a+480>>2]=e;g=v[a+176>>2];o:{if(!(e>>>0>=g>>>0&d)){d=v[a+100>>2];break o}g=0;h=v[a+60>>2];d=v[a+100>>2];if(h>>>0<0-d>>>0){g=((d+h|0)-1>>>0)/(d>>>0)|0}v[a+176>>2]=g}v[a+472>>2]=B((e>>>0)%(g>>>0)|0,d);if(!(w[a+12|0]&32)){if(!(Ub[v[a+524>>2]](a)|0)){break a}v[a+12>>2]=v[a+12>>2]|32}v[a+608>>2]=0;v[a+604>>2]=v[a+596>>2];d=v[a+188>>2]+(e<<2)|0;if(v[d>>2]){v[d>>2]=0;v[a+484>>2]=0}if(!(Ub[v[a+532>>2]](a,0)|0)){break a}v[a+12>>2]=v[a+12>>2]|4096}f=v[a+472>>2];if((f|0)!=(c|0)){if(c>>>0>>0){v[a+604>>2]=v[a+596>>2];f=B(v[a+100>>2],(e>>>0)%y[a+176>>2]|0);v[a+472>>2]=f}if(!(Ub[v[a+568>>2]](a,c-f|0)|0)){f=-1;break a}v[a+472>>2]=c}Ub[v[a+652>>2]](a,b,v[a+588>>2]);f=Ub[v[a+544>>2]](a,b,v[a+588>>2],0)|0;v[a+472>>2]=c+1}Qb=i+16|0;return f}function PR(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{b:{k=dE(a,b);c:{if((k|0)==9999){break c}b=0;if((k|0)>=1){b=v[a+3524>>2];while(1){g=a;d:{if(b){h=v[a+3520>>2];b=b-1|0;break d}b=v[a+4>>2];h=Ub[v[v[b>>2]+28>>2]](b)|0;e:{if((h|0)!=255){if((h|0)!=-1){break e}break a}while(1){b=v[a+4>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==255){continue}break}j=273732;if(b){break b}}v[a+3520>>2]=h;b=7}v[g+3524>>2]=b;f=h>>>b&1|f<<1;i=i+1|0;if((k|0)!=(i|0)){continue}break}h=0;b=(1<(f|0)?(-1<>2]+b|0;v[d>>2]=b;v[e>>2]=b;ic(e+4|0,0,252);n=1;while(1){b=v[a+3524>>2];i=0;h=0;while(1){d=a;f:{if(b){f=v[a+3520>>2];b=b-1|0;break f}b=v[a+4>>2];f=Ub[v[v[b>>2]+28>>2]](b)|0;g:{if((f|0)!=255){if((f|0)!=-1){break g}break a}while(1){b=v[a+4>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==255){continue}break}j=273732;if(b){break b}}v[a+3520>>2]=f;b=7}v[d+3524>>2]=b;i=f>>>b&1|i<<1&131070;d=i&65535;h=h+1|0;g=(h<<1)+c|0;j=x[g+18>>1];if(d>>>0>>0){j=258085;break b}k=x[g+52>>1];g=d-j|0;if((k|0)<=(g|0)){j=258085;if((h|0)!=16){continue}break b}break}i=0;d=0;g=w[((w[c+h|0]+(g&65535)|0)+c|0)+86|0];k=0;h:{if((g|0)!=240){break h}i:{while(1){k=a;j:{if(b){f=v[a+3520>>2];b=b-1|0;break j}b=v[a+4>>2];f=Ub[v[v[b>>2]+28>>2]](b)|0;k:{if((f|0)!=255){if((f|0)!=-1){break k}break a}while(1){b=v[a+4>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==255){continue}break}j=273732;if(b){break b}}v[a+3520>>2]=f;b=7}v[k+3524>>2]=b;d=f>>>b&1|d<<1&131070;g=d&65535;i=i+1|0;h=(i<<1)+c|0;j=x[h+18>>1];if(g>>>0>>0){j=258085;break b}g=g-j|0;if((g|0)>1]){break i}if((i|0)!=16){continue}break}j=258085;break b}h=0;l=0;g=w[((w[c+i|0]+(g&65535)|0)+c|0)+86|0];k=16;if((g|0)!=240){break h}l:{while(1){d=a;m:{if(b){f=v[a+3520>>2];b=b-1|0;break m}b=v[a+4>>2];f=Ub[v[v[b>>2]+28>>2]](b)|0;n:{if((f|0)!=255){if((f|0)!=-1){break n}break a}while(1){b=v[a+4>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==255){continue}break}j=273732;if(b){break b}}v[a+3520>>2]=f;b=7}v[d+3524>>2]=b;h=f>>>b&1|h<<1&131070;d=h&65535;l=l+1|0;g=(l<<1)+c|0;i=x[g+18>>1];if(d>>>0>>0){j=258085;break b}d=d-i|0;if((d|0)>1]){break l}if((l|0)!=16){continue}break}j=258085;break b}h=0;i=0;g=w[((w[c+l|0]+(d&65535)|0)+c|0)+86|0];k=32;if((g|0)!=240){break h}o:{while(1){d=a;p:{if(b){f=v[a+3520>>2];b=b-1|0;break p}b=v[a+4>>2];f=Ub[v[v[b>>2]+28>>2]](b)|0;q:{if((f|0)!=255){if((f|0)!=-1){break q}break a}while(1){b=v[a+4>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==255){continue}break}j=273732;if(b){break b}}v[a+3520>>2]=f;b=7}v[d+3524>>2]=b;h=f>>>b&1|h<<1&131070;d=h&65535;i=i+1|0;g=(i<<1)+c|0;j=x[g+18>>1];if(d>>>0>>0){j=258085;break b}d=d-j|0;if((d|0)>1]){break o}if((i|0)!=16){continue}break}j=258085;break b}g=w[((w[c+i|0]+(d&65535)|0)+c|0)+86|0];k=48}h=1;m=g&255;if(!m){break c}h=0;g=0;i=0;l=m&15;if(l){while(1){d=a;if(b){b=b-1|0}else{b=v[a+4>>2];f=Ub[v[v[b>>2]+28>>2]](b)|0;r:{if((f|0)!=255){if((f|0)!=-1){break r}break a}while(1){b=v[a+4>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==255){continue}break}j=273732;if(b){break b}}v[a+3520>>2]=f;b=7}v[d+3524>>2]=b;i=f>>>b&1|i<<1;g=g+1|0;if((l|0)!=(g|0)){continue}break}}d=(1<(i|0)?(-1<>>4)+n|0;if((b|0)>63){break c}v[(v[(b<<2)+967440>>2]<<2)+e>>2]=d;n=b+1|0;if((b|0)!=63){continue}break}}return h}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,j,0);return 0}return 0}function d3a(a){a=a|0;var 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;n=Qb-16|0;Qb=n;j=3;c=v[a+32>>2];a:{if(!c){break a}d=v[c+364>>2];if(!d){break a}h=v[d+588>>2];e=v[d+584>>2];c=v[c+360>>2];b:{if(!(!w[d+556|0]|(c|0)!=v[d+564>>2]|(e|0)!=v[d+568>>2])){if(!e){break b}if(!Pc(h,v[d+572>>2],e<<2)){break b}}j=b$(d+556|0,c,e,h);if(j){break a}}c:{d:{e:{i=v[a+20>>2];c=v[i-4>>2];h=w[c|0];if((h|0)!=255){if((h|0)!=30){break e}e=sh(a,c,0,0)>>16;break d}e=((w[c+3|0]|(w[c+2|0]<<8|w[c+1|0]<<16))<<8)+32768>>16;break d}b=c+1|0;f:{switch(h-28|0){case 0:e=0;if(y[a+8>>2]<=c+2>>>0){break c}e=(w[c+2|0]|w[b|0]<<8)<<16>>16;break d;case 1:e=0;if(y[a+8>>2]<=c+4>>>0){break c}e=w[c+1|0]|w[c+2|0]<<8|(w[c+3|0]<<16|w[c+4|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);break d;default:break f}}e=h-139|0;if(h>>>0<=246){break d}c=v[a+8>>2];if(h>>>0<=250){e=0;if(b>>>0>=c>>>0){break c}e=(w[b|0]|h<<8)-63124|0;break d}e=0;if(b>>>0>=c>>>0){break c}e=64148-(w[b|0]|h<<8)|0}j=3;if(y[a+24>>2]>>0){break a}i=v[a+20>>2]}b=v[v[d+560>>2]+8>>2];v[n+12>>2]=0;j=161;i=(i-v[a+16>>2]|0)-4>>2;g=B(v[d+576>>2],e);g:{if(i>>>0>>0){break g}c=v[d+604>>2];f=v[d+600>>2];h=B(e,5);h:{if(c>>>0>=f+h>>>0){break h}k=v[d+596>>2];f=c;j=c+h|0;c=v[d+592>>2];b=Cc(b,1,f,j,c,n+12|0);v[d+592>>2]=b;j=v[n+12>>2];if(j){break g}f=v[d+600>>2];v[d+596>>2]=b+f;v[d+604>>2]=h+v[d+604>>2];if(!c|(b|0)==(c|0)){break h}l=v[a+16>>2];m=v[a+20>>2];if(l>>>0>=m>>>0){break h}j=b-c|0;while(1){b=v[l>>2];if(!(b>>>0>>0|b>>>0>=k>>>0)){v[l>>2]=b+j;m=v[a+20>>2]}l=l+4|0;if(m>>>0>l>>>0){continue}break}}v[d+600>>2]=h+f;p=i-g|0;h=p+e|0;j=0;if(e){c=h;while(1){l=v[d+580>>2];i:{j:{q=j+p<<2;b=v[q+v[a+16>>2]>>2];g=w[b|0];if((g|0)!=255){if((g|0)!=30){break j}f=sh(a,b,0,0)>>16;break i}f=((w[b+3|0]|(w[b+2|0]<<8|w[b+1|0]<<16))<<8)+32768>>16;break i}k=b+1|0;k:{switch(g-28|0){case 0:f=0;if(y[a+8>>2]<=b+2>>>0){break i}f=(w[b+2|0]|w[k|0]<<8)<<16>>16;break i;case 1:f=0;if(y[a+8>>2]<=b+4>>>0){break i}b=w[b+1|0]|w[b+2|0]<<8|(w[b+3|0]<<16|w[b+4|0]<<24);f=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break i;default:break k}}f=g-139|0;if(g>>>0<=246){break i}b=v[a+8>>2];if(g>>>0<=250){f=0;if(b>>>0<=k>>>0){break i}f=(w[k|0]|g<<8)-63124|0;break i}f=0;if(b>>>0<=k>>>0){break i}f=64148-(w[k|0]|g<<8)|0}k=f<<16;m=1;f=v[d+576>>2];if(f>>>0>=2){while(1){l=l+4|0;l:{m:{b=v[v[a+16>>2]+(c<<2)>>2];g=w[b|0];if((g|0)!=255){if((g|0)!=30){break m}i=sh(a,b,0,0)>>16;f=v[d+576>>2];break l}i=((w[b+3|0]|(w[b+2|0]<<8|w[b+1|0]<<16))<<8)+32768>>16;break l}o=b+1|0;n:{switch(g-28|0){case 0:i=0;if(y[a+8>>2]<=b+2>>>0){break l}i=(w[b+2|0]|w[o|0]<<8)<<16>>16;break l;case 1:i=0;if(y[a+8>>2]<=b+4>>>0){break l}b=w[b+1|0]|w[b+2|0]<<8|(w[b+3|0]<<16|w[b+4|0]<<24);i=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break l;default:break n}}if(g>>>0<=246){i=g-139|0;break l}b=v[a+8>>2];if(g>>>0<=250){i=0;if(b>>>0<=o>>>0){break l}i=(w[o|0]|g<<8)-63124|0;break l}i=0;if(b>>>0<=o>>>0){break l}i=64148-(w[o|0]|g<<8)|0}c=c+1|0;k=B(v[l>>2],i)+k|0;m=m+1|0;if(m>>>0>>0){continue}break}}v[v[a+16>>2]+q>>2]=v[d+596>>2];b=v[d+596>>2];v[d+596>>2]=b+1;t[b|0]=255;b=v[d+596>>2];v[d+596>>2]=b+1;t[b|0]=k>>>24;b=v[d+596>>2];v[d+596>>2]=b+1;t[b|0]=k>>>16;b=v[d+596>>2];v[d+596>>2]=b+1;t[b|0]=k>>>8;b=v[d+596>>2];v[d+596>>2]=b+1;t[b|0]=k;j=j+1|0;if((e|0)!=(j|0)){continue}break}j=v[n+12>>2]}v[a+20>>2]=v[a+16>>2]+(h<<2)}t[d+557|0]=1}Qb=n+16|0;return j|0}function k2(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;k=Qb-(((b<<3)+8&1073741808)<<2)|0;a:{if((b|0)<2){break a}j=c<<1;n=B(1-d|0,c);l=(b-d|0)+1>>1;i=d?l:b-l|0;b:{if((i|0)<1){break b}if((i|0)!=1){m=i&-2;while(1){f=(B(g,j)+n<<2)+a|0;h=v[f+4>>2];e=(g<<6)+k|0;v[e>>2]=v[f>>2];v[e+4>>2]=h;h=v[f+60>>2];v[e+56>>2]=v[f+56>>2];v[e+60>>2]=h;h=v[f+52>>2];v[e+48>>2]=v[f+48>>2];v[e+52>>2]=h;h=v[f+44>>2];v[e+40>>2]=v[f+40>>2];v[e+44>>2]=h;h=v[f+36>>2];v[e+32>>2]=v[f+32>>2];v[e+36>>2]=h;h=v[f+28>>2];v[e+24>>2]=v[f+24>>2];v[e+28>>2]=h;h=v[f+20>>2];v[e+16>>2]=v[f+16>>2];v[e+20>>2]=h;h=v[f+12>>2];v[e+8>>2]=v[f+8>>2];v[e+12>>2]=h;f=g|1;e=(f<<6)+k|0;f=(B(f,j)+n<<2)+a|0;h=v[f+60>>2];v[e+56>>2]=v[f+56>>2];v[e+60>>2]=h;h=v[f+52>>2];v[e+48>>2]=v[f+48>>2];v[e+52>>2]=h;h=v[f+44>>2];v[e+40>>2]=v[f+40>>2];v[e+44>>2]=h;h=v[f+36>>2];v[e+32>>2]=v[f+32>>2];v[e+36>>2]=h;h=v[f+28>>2];v[e+24>>2]=v[f+24>>2];v[e+28>>2]=h;h=v[f+20>>2];v[e+16>>2]=v[f+16>>2];v[e+20>>2]=h;h=v[f+12>>2];v[e+8>>2]=v[f+8>>2];v[e+12>>2]=h;h=v[f+4>>2];v[e>>2]=v[f>>2];v[e+4>>2]=h;g=g+2|0;m=m-2|0;if(m){continue}break}}if(!(i&1)){break b}f=(g<<6)+k|0;e=f;g=(B(g,j)+n<<2)+a|0;m=v[g+4>>2];v[e>>2]=v[g>>2];v[e+4>>2]=m;e=v[g+60>>2];v[f+56>>2]=v[g+56>>2];v[f+60>>2]=e;e=v[g+52>>2];v[f+48>>2]=v[g+48>>2];v[f+52>>2]=e;e=v[g+44>>2];v[f+40>>2]=v[g+40>>2];v[f+44>>2]=e;e=v[g+36>>2];v[f+32>>2]=v[g+32>>2];v[f+36>>2]=e;e=v[g+28>>2];v[f+24>>2]=v[g+24>>2];v[f+28>>2]=e;e=v[g+20>>2];v[f+16>>2]=v[g+16>>2];v[f+20>>2]=e;e=v[g+12>>2];v[f+8>>2]=v[g+8>>2];v[f+12>>2]=e}g=(b-!d|0)-i|0;if((g|0)>=1){b=(n<<2)+a|0;d=(B(2-d|0,c)<<2)+a|0;while(1){v[b>>2]=v[d>>2];v[b+4>>2]=v[d+4>>2];v[b+8>>2]=v[d+8>>2];v[b+12>>2]=v[d+12>>2];v[b+16>>2]=v[d+16>>2];v[b+20>>2]=v[d+20>>2];v[b+24>>2]=v[d+24>>2];v[b+28>>2]=v[d+28>>2];v[b+32>>2]=v[d+32>>2];v[b+36>>2]=v[d+36>>2];v[b+40>>2]=v[d+40>>2];v[b+44>>2]=v[d+44>>2];v[b+48>>2]=v[d+48>>2];v[b+52>>2]=v[d+52>>2];v[b+56>>2]=v[d+56>>2];v[b+60>>2]=v[d+60>>2];d=(j<<2)+d|0;b=(c<<2)+b|0;f=(g|0)>1;g=g-1|0;if(f){continue}break}}if((i|0)<1){break a}g=0;if((i|0)!=1){f=i&-2;while(1){b=(g<<6)+k|0;j=v[b+4>>2];d=(B(g+l|0,c)<<2)+a|0;e=d;v[e>>2]=v[b>>2];v[e+4>>2]=j;e=v[b+60>>2];v[d+56>>2]=v[b+56>>2];v[d+60>>2]=e;e=v[b+52>>2];v[d+48>>2]=v[b+48>>2];v[d+52>>2]=e;e=v[b+44>>2];v[d+40>>2]=v[b+40>>2];v[d+44>>2]=e;e=v[b+36>>2];v[d+32>>2]=v[b+32>>2];v[d+36>>2]=e;e=v[b+28>>2];v[d+24>>2]=v[b+24>>2];v[d+28>>2]=e;e=v[b+20>>2];v[d+16>>2]=v[b+16>>2];v[d+20>>2]=e;e=v[b+12>>2];v[d+8>>2]=v[b+8>>2];v[d+12>>2]=e;b=g|1;d=(B(b+l|0,c)<<2)+a|0;e=d;b=(b<<6)+k|0;j=v[b+60>>2];v[e+56>>2]=v[b+56>>2];v[e+60>>2]=j;e=v[b+52>>2];v[d+48>>2]=v[b+48>>2];v[d+52>>2]=e;e=v[b+44>>2];v[d+40>>2]=v[b+40>>2];v[d+44>>2]=e;e=v[b+36>>2];v[d+32>>2]=v[b+32>>2];v[d+36>>2]=e;e=v[b+28>>2];v[d+24>>2]=v[b+24>>2];v[d+28>>2]=e;e=v[b+20>>2];v[d+16>>2]=v[b+16>>2];v[d+20>>2]=e;e=v[b+12>>2];v[d+8>>2]=v[b+8>>2];v[d+12>>2]=e;e=v[b+4>>2];v[d>>2]=v[b>>2];v[d+4>>2]=e;g=g+2|0;f=f-2|0;if(f){continue}break}}if(!(i&1)){break a}b=(B(g+l|0,c)<<2)+a|0;a=(g<<6)+k|0;d=v[a+4>>2];v[b>>2]=v[a>>2];v[b+4>>2]=d;c=v[a+60>>2];v[b+56>>2]=v[a+56>>2];v[b+60>>2]=c;c=v[a+52>>2];v[b+48>>2]=v[a+48>>2];v[b+52>>2]=c;c=v[a+44>>2];v[b+40>>2]=v[a+40>>2];v[b+44>>2]=c;c=v[a+36>>2];v[b+32>>2]=v[a+32>>2];v[b+36>>2]=c;c=v[a+28>>2];v[b+24>>2]=v[a+24>>2];v[b+28>>2]=c;c=v[a+20>>2];v[b+16>>2]=v[a+16>>2];v[b+20>>2]=c;c=v[a+12>>2];v[b+8>>2]=v[a+8>>2];v[b+12>>2]=c}}function NY(a,b){a=a|0;b=b|0;var 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,u=0;h=Qb-1328|0;Qb=h;j=v[a+4>>2];k=v[j+328>>2];v[h+1324>>2]=0;n=v[j+136>>2];p=v[j+100>>2];l=v[v[j+128>>2]+52>>2];a:{b:{if(l){c=Ub[v[v[l>>2]>>2]](v[l+4>>2],b,h+664|0)|0;v[h+1324>>2]=c;if(c){break a}c=0;g=v[j+288>>2];c:{if(!(g&255)){break c}k=g&3;f=v[h+664>>2];if((g-1&255)>>>0<3){d=0}else{d=g&252;while(1){e=f;f=e+4|0;d=d-4|0;if(d&255){continue}break}d=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24)}if(!k){break c}while(1){d=w[f|0]|d<<8;f=f+1|0;k=k-1|0;if(k&255){continue}break}}f=v[h+668>>2];d:{if(!f){f=0;break d}c=f-g|0;f=Fd(p,c,h+1324|0);if(v[h+1324>>2]){break d}gc(f,v[h+664>>2]+v[j+288>>2]|0,c)}Ub[v[v[l>>2]+4>>2]](v[l+4>>2],h+664|0);if(!v[h+1324>>2]){break b}break a}c=v[j+292>>2]+v[j+288>>2]|0;g=Yc(k,(v[j+284>>2]+v[j+308>>2]|0)+B(c,b)|0);v[h+1324>>2]=g;if(g){break a}c=ne(k,c<<1);v[h+1324>>2]=c;if(c){break a}c=v[k+32>>2];o=v[j+288>>2];if(o&255){i=o&3;m=o-1&255;e:{if(m>>>0<3){f=c;d=0;break e}d=o&252;f=c;while(1){g=f;f=g+4|0;d=d-4|0;if(d&255){continue}break}d=w[g|0]|w[g+1|0]<<8|(w[g+2|0]<<16|w[g+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24)}if(i){while(1){d=w[f|0]|d<<8;f=f+1|0;i=i-1|0;if(i&255){continue}break}}c=(c+m|0)+1|0}i=0;m=v[j+292>>2];f:{if(!(m&255)){break f}i=m&3;q=m-1|0;r=q&255;g:{if(r>>>0<3){f=c;e=0;break g}e=m&252;f=c;while(1){g=f;f=g+4|0;e=e-4|0;if(e&255){continue}break}e=w[g|0]|w[g+1|0]<<8|(w[g+2|0]<<16|w[g+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24)}if(i){while(1){e=w[f|0]|e<<8;f=f+1|0;i=i-1|0;if(i&255){continue}break}}g=m&3;f=((c+r|0)+o|0)+1|0;if((q&255)>>>0<3){i=0}else{i=m&252;while(1){c=f;f=c+4|0;i=i-4|0;if(i&255){continue}break}c=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);i=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)}if(!g){break f}while(1){i=w[f|0]|i<<8;f=f+1|0;g=g-1|0;if(g&255){continue}break}}Vd(k);h:{i:{if(!(!(y[k+4>>2]>>0|y[j+300>>2]<=d>>>0)&e>>>0<=i>>>0)){v[h+1324>>2]=9;break i}c=i-e|0;if(c){break h}}i=0;f=0;break a}i=0;f=Fd(p,c,h+1324|0);if(v[h+1324>>2]){break a}e=$z(k,v[j+308>>2]+e|0,f,c);v[h+1324>>2]=e;if(e){break a}}e=v[j+316>>2]+(d<<3)|0;v[a+1364>>2]=v[e>>2];e=v[e+4>>2];v[a+1372>>2]=0;v[a+1376>>2]=0;v[a+1368>>2]=e;d=v[j+304>>2]+B(d,252)|0;e=v[d+220>>2];v[a+1380>>2]=v[d+216>>2];v[a+1384>>2]=e;g=v[d+228>>2];e=a+1388|0;v[e>>2]=v[d+224>>2];v[e+4>>2]=g;e=v[d+236>>2];v[a+1396>>2]=v[d+232>>2];v[a+1400>>2]=e;g=v[d+4>>2];v[a+1360>>2]=g;e=(g|0)>-1?g:0;if(e>>>0<=c>>>0){if((g|0)>=0){Ub[v[n+16>>2]](f,c,4330)}j:{if(w[a+70|0]){d=Ub[v[v[n+12>>2]+8>>2]](a,f+e|0,c-e|0)|0;v[h+1324>>2]=d;i=0;break j}i=h+664|0;Ub[v[n+24>>2]](i,a,1);g=d;d=h+8|0;Ub[v[n+28>>2]](j,g,d);v[h+1200>>2]=d;g=f+e|0;c=c-e|0;d=Ub[v[v[n+12>>2]+12>>2]](i,g,c)|0;v[h+1324>>2]=d;i=0;if((d&255)!=164){break j}t[v[a+8>>2]+160|0]=0;d=Ub[v[v[n+12>>2]+12>>2]](h+664|0,g,c)|0;v[h+1324>>2]=d;i=1}if(!v[v[l>>2]+8>>2]|(!l|d)){break a}c=v[a+32>>2];v[h+668>>2]=0;v[h+664>>2]=((c+(c>>31)|0)+32768&-65536)>>16;c=v[a+40>>2];v[h+672>>2]=(((c>>31)+c|0)+32768&-65536)>>16;c=v[a+44>>2];v[h+676>>2]=(((c>>31)+c|0)+32768&-65536)>>16;s=h,u=Ub[v[v[l>>2]+8>>2]](v[l+4>>2],b,0,h+664|0)|0,v[s+1324>>2]=u;v[a+32>>2]=v[h+664>>2]<<16;v[a+40>>2]=v[h+672>>2]<<16;v[a+44>>2]=v[h+676>>2]<<16;break a}v[h+1324>>2]=9}if(f){Ub[v[p+8>>2]](p,f)}t[v[a+8>>2]+161|0]=i;Qb=h+1328|0;return v[h+1324>>2]}function g2(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=(b-d|0)+1|0;k=h>>1;l=Qb-(((b<<3)+8&1073741808)<<2)|0;a:{if((h|0)<2){break a}e=(k-((k|0)<1?k:1)|0)+1|0;m=e&1;if((h|0)>=4){j=e&-2;while(1){e=(B(c,g)<<2)+a|0;i=v[e+4>>2];f=(g<<6)+l|0;v[f>>2]=v[e>>2];v[f+4>>2]=i;i=v[e+60>>2];v[f+56>>2]=v[e+56>>2];v[f+60>>2]=i;i=v[e+52>>2];v[f+48>>2]=v[e+48>>2];v[f+52>>2]=i;i=v[e+44>>2];v[f+40>>2]=v[e+40>>2];v[f+44>>2]=i;i=v[e+36>>2];v[f+32>>2]=v[e+32>>2];v[f+36>>2]=i;i=v[e+28>>2];v[f+24>>2]=v[e+24>>2];v[f+28>>2]=i;i=v[e+20>>2];v[f+16>>2]=v[e+16>>2];v[f+20>>2]=i;i=v[e+12>>2];v[f+8>>2]=v[e+8>>2];v[f+12>>2]=i;e=g|1;f=(e<<6)+l|0;e=(B(c,e)<<2)+a|0;i=v[e+60>>2];v[f+56>>2]=v[e+56>>2];v[f+60>>2]=i;i=v[e+52>>2];v[f+48>>2]=v[e+48>>2];v[f+52>>2]=i;i=v[e+44>>2];v[f+40>>2]=v[e+40>>2];v[f+44>>2]=i;i=v[e+36>>2];v[f+32>>2]=v[e+32>>2];v[f+36>>2]=i;i=v[e+28>>2];v[f+24>>2]=v[e+24>>2];v[f+28>>2]=i;i=v[e+20>>2];v[f+16>>2]=v[e+16>>2];v[f+20>>2]=i;i=v[e+12>>2];v[f+8>>2]=v[e+8>>2];v[f+12>>2]=i;i=v[e+4>>2];v[f>>2]=v[e>>2];v[f+4>>2]=i;g=g+2|0;j=j-2|0;if(j){continue}break}}if(!m){break a}e=(g<<6)+l|0;g=(B(c,g)<<2)+a|0;j=v[g+4>>2];v[e>>2]=v[g>>2];v[e+4>>2]=j;f=v[g+60>>2];v[e+56>>2]=v[g+56>>2];v[e+60>>2]=f;f=v[g+52>>2];v[e+48>>2]=v[g+48>>2];v[e+52>>2]=f;f=v[g+44>>2];v[e+40>>2]=v[g+40>>2];v[e+44>>2]=f;f=v[g+36>>2];v[e+32>>2]=v[g+32>>2];v[e+36>>2]=f;f=v[g+28>>2];v[e+24>>2]=v[g+24>>2];v[e+28>>2]=f;f=v[g+20>>2];v[e+16>>2]=v[g+16>>2];v[e+20>>2]=f;f=v[g+12>>2];v[e+8>>2]=v[g+8>>2];v[e+12>>2]=f}f=c<<1;g=b-k|0;if((g|0)>=1){b=(B(c,k)<<2)+a|0;e=(B(1-d|0,c)<<2)+a|0;while(1){v[e>>2]=v[b>>2];v[e+4>>2]=v[b+4>>2];v[e+8>>2]=v[b+8>>2];v[e+12>>2]=v[b+12>>2];v[e+16>>2]=v[b+16>>2];v[e+20>>2]=v[b+20>>2];v[e+24>>2]=v[b+24>>2];v[e+28>>2]=v[b+28>>2];v[e+32>>2]=v[b+32>>2];v[e+36>>2]=v[b+36>>2];v[e+40>>2]=v[b+40>>2];v[e+44>>2]=v[b+44>>2];v[e+48>>2]=v[b+48>>2];v[e+52>>2]=v[b+52>>2];v[e+56>>2]=v[b+56>>2];v[e+60>>2]=v[b+60>>2];b=(c<<2)+b|0;e=(f<<2)+e|0;j=(g|0)>1;g=g-1|0;if(j){continue}break}}b:{if((h|0)<2){break b}e=B(c,d);b=(k-((k|0)<1?k:1)|0)+1|0;k=b&1;g=0;if((h|0)>=4){c=b&-2;while(1){b=(g<<6)+l|0;j=v[b+4>>2];d=(e+B(f,g)<<2)+a|0;v[d>>2]=v[b>>2];v[d+4>>2]=j;h=v[b+60>>2];v[d+56>>2]=v[b+56>>2];v[d+60>>2]=h;h=v[b+52>>2];v[d+48>>2]=v[b+48>>2];v[d+52>>2]=h;h=v[b+44>>2];v[d+40>>2]=v[b+40>>2];v[d+44>>2]=h;h=v[b+36>>2];v[d+32>>2]=v[b+32>>2];v[d+36>>2]=h;h=v[b+28>>2];v[d+24>>2]=v[b+24>>2];v[d+28>>2]=h;h=v[b+20>>2];v[d+16>>2]=v[b+16>>2];v[d+20>>2]=h;h=v[b+12>>2];v[d+8>>2]=v[b+8>>2];v[d+12>>2]=h;b=g|1;d=(e+B(b,f)<<2)+a|0;b=(b<<6)+l|0;j=v[b+60>>2];v[d+56>>2]=v[b+56>>2];v[d+60>>2]=j;h=v[b+52>>2];v[d+48>>2]=v[b+48>>2];v[d+52>>2]=h;h=v[b+44>>2];v[d+40>>2]=v[b+40>>2];v[d+44>>2]=h;h=v[b+36>>2];v[d+32>>2]=v[b+32>>2];v[d+36>>2]=h;h=v[b+28>>2];v[d+24>>2]=v[b+24>>2];v[d+28>>2]=h;h=v[b+20>>2];v[d+16>>2]=v[b+16>>2];v[d+20>>2]=h;h=v[b+12>>2];v[d+8>>2]=v[b+8>>2];v[d+12>>2]=h;h=v[b+4>>2];v[d>>2]=v[b>>2];v[d+4>>2]=h;g=g+2|0;c=c-2|0;if(c){continue}break}}if(!k){break b}b=(e+B(f,g)<<2)+a|0;a=(g<<6)+l|0;d=v[a+4>>2];v[b>>2]=v[a>>2];v[b+4>>2]=d;c=v[a+60>>2];v[b+56>>2]=v[a+56>>2];v[b+60>>2]=c;c=v[a+52>>2];v[b+48>>2]=v[a+48>>2];v[b+52>>2]=c;c=v[a+44>>2];v[b+40>>2]=v[a+40>>2];v[b+44>>2]=c;c=v[a+36>>2];v[b+32>>2]=v[a+32>>2];v[b+36>>2]=c;c=v[a+28>>2];v[b+24>>2]=v[a+24>>2];v[b+28>>2]=c;c=v[a+20>>2];v[b+16>>2]=v[a+16>>2];v[b+20>>2]=c;c=v[a+12>>2];v[b+8>>2]=v[a+8>>2];v[b+12>>2]=c}}function bha(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;d=Qb-32|0;Qb=d;t[d+15|0]=c;a:{b:{c:{d:{e:{f:{g:{h:{if(b){e=v[a>>2];if(!(!e|(b|0)>-1)){b=v[e+8>>2]+b|0}if(v[e+8>>2]>=(b|0)?!(!e|(b|0)<0):0){break h}rO();L()}e=v[a>>2];if(!e){break g}b=0}g=Qb-16|0;Qb=g;h=d+8|0;v[h>>2]=0;i:{j:{k:{l:{f=v[e+8>>2];b=(f&b>>31)+b|0;if(!((b|0)>=0&(b|0)<=(f|0))){v[299999]=0;ba(4543);a=v[299999];v[299999]=0;if((a|0)!=1){break j}break l}m:{n:{o:{p:{q:{if(w[b+v[e+12>>2]|0]==(c&255)){v[299999]=0;Q(4336,h|0,e|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break l}break q}if(!c){v[299999]=0;U(5177,g+8|0,e|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break n}v[299999]=0;Q(4344,h|0,g+8|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){b=v[g+8>>2];v[g+8>>2]=0;if(!b){break q}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;e=v[299999];v[299999]=0;if((e|0)!=1){if(c){break q}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break q}}break a}a=P()|0;O()|0;ec(g+8|0);break k}v[299999]=0;U(5177,g|0,e|0,((b|0)<(f|0)?f:b)|0);f=v[299999];v[299999]=0;if((f|0)==1){break p}v[299999]=0;Q(4344,h|0,g|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break o}f=v[g>>2];v[g>>2]=0;r:{if(!f){break r}v[299999]=0;i=v[f+4>>2]-1|0;v[f+4>>2]=i;j=v[299999];v[299999]=0;if((j|0)==1){break m}if(i){break r}v[299999]=0;R(4338,f|0);f=v[299999];v[299999]=0;if((f|0)==1){break m}}t[b+v[v[h>>2]+12>>2]|0]=c;if((b|0)!=v[e+8>>2]){break q}t[(b+v[v[h>>2]+12>>2]|0)+1|0]=0}Qb=g+16|0;break i}a=P()|0;O()|0;break k}a=P()|0;O()|0;ec(g);break k}a=P()|0;O()|0;break k}break a}a=P()|0;O()|0}ec(h);T(a|0)}L()}b=v[d+8>>2];if(!b){break f}c=v[v[b>>2]+28>>2];v[299999]=0;U(c|0,d+16|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break e}b=P()|0;O()|0;break b}v[299999]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+20>>2]=0;v[d+16>>2]=990592;fa(5155,d+8|0,d+16|0,d+15|0,0,1);b=v[299999];v[299999]=0;if((b|0)==1){break c}v[d+16>>2]=990496;b=v[d+28>>2];if(b){t[b|0]=0;dc(v[d+28>>2])}v[d+28>>2]=0;Qc(d+16|0);b=v[d+8>>2];s:{if(b){c=v[v[b>>2]+28>>2];v[299999]=0;U(c|0,d+16|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break s}b=P()|0;O()|0;break b}v[d+16>>2]=0}v[299999]=0;Q(4344,a|0,d+16|0)|0;b=v[299999];v[299999]=0;t:{if((b|0)!=1){b=v[d+16>>2];v[d+16>>2]=0;if(!b){break t}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;e=v[299999];v[299999]=0;if((e|0)!=1){if(c){break t}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break t}}break a}b=P()|0;O()|0;ec(d+16|0);break b}b=a;a=v[a>>2];v[b+4>>2]=v[(a?a+12|0:1129608)>>2];a=v[d+8>>2];v[d+8>>2]=0;if(!a){break d}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break d}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break d}}break a}v[d+16>>2]=0}v[299999]=0;Q(4344,a|0,d+16|0)|0;b=v[299999];v[299999]=0;u:{if((b|0)!=1){b=v[d+16>>2];v[d+16>>2]=0;if(!b){break u}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;e=v[299999];v[299999]=0;if((e|0)!=1){if(c){break u}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break u}}break a}b=P()|0;O()|0;ec(d+16|0);break b}b=a;a=v[a>>2];v[b+4>>2]=v[(a?a+12|0:1129608)>>2];a=v[d+8>>2];v[d+8>>2]=0;if(!a){break d}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break d}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Qb=d+32|0;return}a=P()|0;O()|0;Ag(d+16|0);T(a|0);L()}ec(d+8|0);T(b|0);L()}W(0)|0;O()|0;lc();L()}function YA(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=v[b+88>>2];j=v[g+40>>2];i=v[g+36>>2];t[a+2306|0]=e;t[a+2305|0]=c;t[a+2304|0]=d;v[a+2292>>2]=0;v[a+2296>>2]=0;b=w[g+45|0];f=w[g+44|0];a:{if((f|0)==(c|0)){break a}h=(b|0)==3?8:f;b:{c:{d:{if((e|0)==1){e:{switch(h-1|0){case 1:e=655;f:{switch(c-4|0){case 4:e=656;break b;case 0:break b;case 12:break f;default:break a}}e=657;break b;case 3:e=658;g:{switch(c-8|0){case 8:break g;case 0:break b;default:break a}}e=659;break b;case 0:break d;case 7:break e;default:break a}}e=660;if((c|0)==16){break b}break a}h:{switch(h-1|0){case 1:e=661;i:{switch(c-4|0){case 4:e=662;break b;case 12:break i;case 0:break b;default:break a}}e=663;break b;case 3:e=664;j:{switch(c-8|0){case 8:break j;case 0:break b;default:break a}}e=665;break b;case 7:break h;case 0:break c;default:break a}}e=666;if((c|0)==16){break b}break a}e=Gib(c-2|0,31);if(e>>>0>=8|!(139>>>e&1)){break a}e=v[(e<<2)+190124>>2];break b}e=Gib(c-2|0,31);if(e>>>0>=8|!(139>>>e&1)){break a}e=v[(e<<2)+190156>>2]}v[a+2296>>2]=e}e=a+2292|0;k:{l:{m:{n:{if(!((b|d)&255)){b=0;if(f>>>0<=8){b=(c|0)==16?667:668;v[e>>2]=b}e=(c|0)==16?2:1;break n}if(!((d|0)!=4|b)){b=(c|0)==16;v[e>>2]=f>>>0<9?b?669:670:671;e=b?4:2;break m}if(!((d|0)!=2|b)){b=(c|0)==16;v[e>>2]=f>>>0<9?b?672:673:674;e=b?6:3;break m}if(!((d|0)!=6|b)){b=(c|0)==16;v[e>>2]=f>>>0<9?b?675:676:677;e=b?8:4;break m}h=(b|0)!=4;if(!(h|(d|0)!=4)){b=0;if(!((c|0)!=16|f>>>0>8)){v[e>>2]=678;b=678}e=(c|0)==16?4:2;break n}if(!((d|0)!=6|h)){b=(c|0)==16;v[e>>2]=f>>>0<9?b?679:680:681;e=b?8:4;break m}h=(b|0)!=2;if(!(h|(d|0)!=2)){b=0;if(!((c|0)!=16|f>>>0>8)){v[e>>2]=682;b=682}e=(c|0)==16?6:3;break n}if(!((d|0)!=6|h)){b=(c|0)==16;v[e>>2]=f>>>0<9?b?683:684:685;e=b?8:4;break m}h=(b|0)!=3;if(!(h|(d|0)!=2)){b=(c|0)==16;v[e>>2]=b?686:687;e=b?6:3;break m}if(!((d|0)!=6|h)){b=(c|0)==16;v[e>>2]=b?688:689;e=b?8:4;break m}if(!((b|0)!=6|(d|0)!=6)){b=0;if(!((c|0)!=16|f>>>0>8)){v[e>>2]=690;b=690}e=(c|0)==16?8:4;break n}if(!((b|0)!=8|(d|0)!=8)){b=0;if(f>>>0<=8){b=(c|0)==16?667:668;v[e>>2]=b}e=(c|0)==16?2:1;break n}if(!((b|0)!=8|(d|0)!=12)){b=(c|0)==16;v[e>>2]=f>>>0<9?b?669:670:671;e=b?4:2;break m}if(!((b|0)!=8|(d|0)!=10)){b=(c|0)==16;v[e>>2]=f>>>0<9?b?672:673:674;e=b?6:3;break m}if(!((b|0)!=8|(d|0)!=14)){b=(c|0)==16;v[e>>2]=f>>>0<9?b?675:676:677;e=b?8:4;break m}if(!((b|0)!=12|(d|0)!=12)){b=0;if(!((c|0)!=16|f>>>0>8)){v[e>>2]=678;b=678}e=(c|0)==16?4:2;break n}if(!((b|0)!=12|(d|0)!=14)){b=(c|0)==16;v[e>>2]=f>>>0<9?b?679:680:681;e=b?8:4;break m}if(!((b|0)!=10|(d|0)!=10)){b=0;if(!((c|0)!=16|f>>>0>8)){v[e>>2]=682;b=682}e=(c|0)==16?6:3;break n}if(!((b|0)!=10|(d|0)!=14)){b=(c|0)==16;v[e>>2]=f>>>0<9?b?683:684:685;e=b?8:4;break m}if((b|0)!=14|(d|0)!=14){break l}b=0;if(!((c|0)!=16|f>>>0>8)){v[e>>2]=690;b=690}e=(c|0)==16?8:4}if(!b){break l}}v[a+2308>>2]=i;v[a+2300>>2]=g;h=B(e,i);l=B(h,j);k=Ub[v[a+152>>2]](l)|0;if(!k){pc(a,1,0,0);return 1}i=v[g+1176>>2];v[a+2316>>2]=k;v[a+2312>>2]=i;b=0;if(j){i=0;while(1){o:{b=Ub[v[a+2292>>2]](a)|0;v[a+2312>>2]=v[a+2312>>2]+v[g+1168>>2];v[a+2316>>2]=h+v[a+2316>>2];if(b){break o}i=i+1|0;if(j>>>0>i>>>0){continue}}break}i=v[g+1176>>2];f=!b}else{f=1}if(i){Ub[v[a+156>>2]](i,v[g+1172>>2])}v[g+1176>>2]=k;v[g+1172>>2]=l;v[g+1168>>2]=h;v[g+1164>>2]=e;t[g+45|0]=d;t[g+44|0]=c;v[g+64>>2]=0;v[g+844>>2]=0;t[g+55|0]=0;t[g+56|0]=0;if(!f){break k}}b=0}return b}function kta(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;e=Qb-32|0;Qb=e;a:{b:{c:{g=t[a+11|0]<0?v[a>>2]:a;d=v[g>>2];if((d|0)!=115){if((d|0)!=35){break a}f=Aj(e+16|0,a,1,-1,a);d=f+4|0;j=f+8|0;a=w[f+11|0];g=a<<24>>24;d:{i=(g|0)<0?v[f+4>>2]:a;if(i>>>0<6){while(1){v[299999]=0;U(3132,e|0,979500,f|0);a=v[299999];v[299999]=0;if((a|0)==1){break d}if(t[j+3|0]<=-1){dc(v[f>>2])}v[e+24>>2]=v[e+8>>2];a=v[e+4>>2];v[e+16>>2]=v[e>>2];v[e+20>>2]=a;a=w[j+3|0];g=a<<24>>24;i=(g|0)<0?v[d>>2]:a;if(i>>>0<6){continue}break}}e:{if(i>>>0>=8){i=(g|0)<0;break e}while(1){v[299999]=0;U(3132,e|0,979508,f|0);a=v[299999];v[299999]=0;if((a|0)==1){break c}if(t[j+3|0]<=-1){dc(v[f>>2])}v[e+24>>2]=v[e+8>>2];a=v[e+4>>2];v[e+16>>2]=v[e>>2];v[e+20>>2]=a;a=w[j+3|0];i=a<<24>>24<0;if((i?v[d>>2]:a)>>>0<8){continue}break}}g=v[f>>2];k=i?g:f;f=v[k>>2];a=f-48|0;f:{if(a>>>0<10){break f}if(f-97>>>0<=5){a=f-87|0;break f}a=f-65>>>0<6?f-55|0:0}a=a<<4;v[c>>2]=a;f=v[(i?g+4|0:d)>>2];d=f-48|0;g:{if(d>>>0<10){break g}if(f-97>>>0<=5){d=f-87|0;break g}d=f-65>>>0<6?f-55|0:0}v[c>>2]=a+d;a=v[k+24>>2];d=a-48|0;h:{if(d>>>0<10){break h}if(a-97>>>0<=5){d=a-87|0;break h}d=a-65>>>0<6?a-55|0:0}a=d<<4;v[b>>2]=a;c=v[k+28>>2];d=c-48|0;i:{if(d>>>0<10){break i}if(c-97>>>0<=5){d=c-87|0;break i}d=c-65>>>0<6?c-55|0:0}a=a+d<<4;v[b>>2]=a;c=v[k+16>>2];d=c-48|0;j:{if(d>>>0<10){break j}if(c-97>>>0<=5){d=c-87|0;break j}d=c-65>>>0<6?c-55|0:0}a=a+d<<4;v[b>>2]=a;c=v[k+20>>2];d=c-48|0;k:{if(d>>>0<10){break k}if(c-97>>>0<=5){d=c-87|0;break k}d=c-65>>>0<6?c-55|0:0}c=a+d<<4;v[b>>2]=c;d=v[(i?g+8|0:j)>>2];a=d-48|0;l:{if(a>>>0<10){break l}if(d-97>>>0<=5){a=d-87|0;break l}a=d-65>>>0<6?d-55|0:0}c=a+c<<4;v[b>>2]=c;d=v[k+12>>2];a=d-48|0;m:{if(a>>>0<10){break m}if(d-97>>>0<=5){a=d-87|0;break m}a=d-65>>>0<6?d-55|0:0}v[b>>2]=a+c;if(!i){break a}dc(g);break a}break c}if(v[g+4>>2]!=99|v[g+8>>2]!=35){break a}g=Aj(e+16|0,a,3,-1,a);v[299999]=0;U(4307,e|0,g|0,44);a=v[299999];v[299999]=0;n:{o:{p:{q:{r:{if((a|0)!=1){s:{d=v[e>>2];switch(((v[e+4>>2]-d|0)/12|0)-3|0){case 1:break r;case 0:break s;default:break p}}v[c>>2]=255;v[299999]=0;h=+ha(4171,d+24|0);a=v[299999];v[299999]=0;if((a|0)==1){break o}v[299999]=0;l=+ha(4171,v[e>>2]+12|0);a=v[299999];v[299999]=0;if((a|0)==1){break o}v[299999]=0;m=+ha(4171,v[e>>2]);a=v[299999];v[299999]=0;if((a|0)!=1){break q}break o}d=P()|0;O()|0;break n}v[299999]=0;h=+ha(4171,d|0);a=v[299999];v[299999]=0;t:{if((a|0)!=1){h=h*255;u:{if(D(h)<2147483648){a=~~h;break u}a=-2147483648}v[c>>2]=a;v[299999]=0;h=+ha(4171,v[e>>2]+36|0);a=v[299999];v[299999]=0;if((a|0)==1){break o}v[299999]=0;l=+ha(4171,v[e>>2]+24|0);a=v[299999];v[299999]=0;if((a|0)==1){break t}v[299999]=0;m=+ha(4171,v[e>>2]+12|0);a=v[299999];v[299999]=0;if((a|0)!=1){break q}break o}break o}break o}h=F(h,1)*255;v:{if(D(h)<2147483648){a=~~h;break v}a=-2147483648}c=a<<16;h=F(l,1)*255;w:{if(D(h)<2147483648){a=~~h;break w}a=-2147483648}a=c+(a<<8)|0;h=F(m,1)*255;x:{if(D(h)<2147483648){c=~~h;break x}c=-2147483648}v[b>>2]=c+a;d=v[e>>2]}if(d){a=v[e+4>>2];if((d|0)==(a|0)){a=d}else{while(1){b=a-12|0;if(t[a-1|0]<=-1){dc(v[b>>2])}a=b;if((d|0)!=(a|0)){continue}break}a=v[e>>2]}v[e+4>>2]=d;dc(a)}if(t[g+11|0]>-1){break a}dc(v[g>>2]);break a}d=P()|0;O()|0;Qg(e)}if(t[g+11|0]>-1){break b}dc(v[g>>2]);break b}d=P()|0;O()|0;if(t[j+3|0]>-1){break b}dc(v[f>>2]);T(d|0);L()}T(d|0);L()}Qb=e+32|0}function wE(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0;f=Qb-48|0;Qb=f;a:{b:{c:{d:{e=v[a+56>>2];e=Ub[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){break d}h=v[a+56>>2];h=Ub[v[v[h>>2]+28>>2]](h)|0;if((h|0)==-1){break d}g=v[a+56>>2];g=Ub[v[v[g>>2]+28>>2]](g)|0;if((g|0)==-1){break d}i=v[a+56>>2];i=Ub[v[v[i>>2]+28>>2]](i)|0;if((i|0)==-1){break d}v[a+68>>2]=v[a+68>>2]+4;j=v[a+56>>2];j=Ub[v[v[j>>2]+28>>2]](j)|0;if((j|0)==-1){break d}k=v[a+56>>2];k=Ub[v[v[k>>2]+28>>2]](k)|0;if((k|0)==-1){break d}l=v[a+56>>2];l=Ub[v[v[l>>2]+28>>2]](l)|0;if((l|0)==-1){break d}m=v[a+56>>2];m=Ub[v[v[m>>2]+28>>2]](m)|0;if((m|0)==-1){break d}v[a+68>>2]=v[a+68>>2]+4;n=v[a+56>>2];n=Ub[v[v[n>>2]+28>>2]](n)|0;if((n|0)==-1){break d}o=v[a+56>>2];o=Ub[v[v[o>>2]+28>>2]](o)|0;if((o|0)==-1){break d}p=v[a+56>>2];p=Ub[v[v[p>>2]+28>>2]](p)|0;if((p|0)==-1){break d}q=v[a+56>>2];q=Ub[v[v[q>>2]+28>>2]](q)|0;if((q|0)==-1){break d}v[a+68>>2]=v[a+68>>2]+4;r=v[a+56>>2];r=Ub[v[v[r>>2]+28>>2]](r)|0;if((r|0)==-1){break d}s=v[a+56>>2];s=Ub[v[v[s>>2]+28>>2]](s)|0;if((s|0)==-1){break d}t=v[a+56>>2];t=Ub[v[v[t>>2]+28>>2]](t)|0;if((t|0)==-1){break d}u=v[a+56>>2];u=Ub[v[v[u>>2]+28>>2]](u)|0;if((u|0)==-1){break d}v[a+68>>2]=v[a+68>>2]+4;w=v[a+56>>2];w=Ub[v[v[w>>2]+28>>2]](w)|0;if((w|0)==-1){break d}v[a+68>>2]=v[a+68>>2]+1;e:{i=i|(h<<16|e<<24|g<<8);if(i){h=m|(k<<16|j<<24|l<<8);if(h){break e}}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,230225,0);break a}f:{e=v[a+24>>2];g:{if(e>>>0<(i>>>0)/10>>>0){break g}j=u|(s<<16|r<<24|t<<8);g=v[a+28>>2];k=q|(o<<16|n<<24|p<<8);if(g>>>0<(h>>>0)/10>>>0|(k>>>0)/10>>>0>e>>>0){break g}if(g>>>0>=(j>>>0)/10>>>0){break f}}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,230172,0);v[a+72>>2]=1;break a}e=v[a+56>>2];e=Ub[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){break d}v[a+68>>2]=v[a+68>>2]+1;l=e>>>3&1;g=e>>>1&3;if(e&1){break c}e=v[a+56>>2];e=Ub[v[v[e>>2]+28>>2]](e)|0;h:{if(!g){if((e|0)==-1){break d}v[a+68>>2]=v[a+68>>2]+1;v[f+16>>2]=e&128?e|-256:e;e=v[a+56>>2];e=Ub[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){break d}v[a+68>>2]=v[a+68>>2]+1;v[f>>2]=e&128?e|-256:e;e=v[a+56>>2];e=Ub[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){break d}v[a+68>>2]=v[a+68>>2]+1;v[f+20>>2]=e&128?e|-256:e;e=v[a+56>>2];e=Ub[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){break d}v[a+68>>2]=v[a+68>>2]+1;v[f+4>>2]=e&128?e|-256:e;e=v[a+56>>2];e=Ub[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){break d}v[a+68>>2]=v[a+68>>2]+1;v[f+24>>2]=e&128?e|-256:e;e=v[a+56>>2];e=Ub[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){break d}v[a+68>>2]=v[a+68>>2]+1;v[f+8>>2]=e&128?e|-256:e;e=v[a+56>>2];e=Ub[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){break d}v[a+68>>2]=v[a+68>>2]+1;v[f+28>>2]=e&128?e|-256:e;e=v[a+56>>2];e=Ub[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){break d}v[a+68>>2]=v[a+68>>2]+1;v[f+12>>2]=e&128?e|-256:e;break h}if((e|0)==-1){break d}v[a+68>>2]=v[a+68>>2]+1;v[f+16>>2]=e&128?e|-256:e;e=v[a+56>>2];e=Ub[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){break d}v[a+68>>2]=v[a+68>>2]+1;v[f>>2]=e&128?e|-256:e}uE(a,g,0);Ul(v[a+76>>2]);e=Ir(a,0,i,h,g,l,0,0,f+16|0,f,0);break b}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,258367,0);break a}e=Ir(a,1,i,h,g,l,0,0,f+16|0,f,d-18|0)}if(c){b=w&7;i:{if(v[a+28>>2]!=-1){break i}c=h+j|0;if(c>>>0<=y[a+32>>2]){break i}gy(v[a+40>>2],c,v[a+36>>2])}ik(v[a+40>>2],e,k,j,b);if(e){Ub[v[v[e>>2]+4>>2]](e)}if((d|0)!=-1){break a}Jr(a,f+44|0);break a}v[e+4>>2]=b;Tc(v[a+48>>2],e)}Qb=f+48|0}function t5(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=v[a+12>>2];f=g;j=v[f+584>>2];a:{b:{c:{d:{e:{f:{g:{while(1){a=v[j+3204>>2];if(a>>>0>=19){break d}b=0;h:{i:{j:{k:{l:{m:{switch(a|0){case 1:a=v[f+584>>2];b=v[a+252>>2];if(b){break l}b=0;break j;case 2:a=v[f+584>>2];c=v[a+256>>2];b=0;if(!c){break j}d=c+4|0;e=v[c>>2]-4|0;break k;case 3:a=v[f+584>>2];c=v[a+260>>2];b=0;if(!c){break j}d=c+4|0;e=v[c>>2]-4|0;break k;case 4:a=v[f+584>>2];c=v[a+264>>2];b=0;if(!c){break j}d=c+4|0;e=v[c>>2]-4|0;break k;case 5:a=v[f+584>>2];c=v[a+268>>2];b=0;if(!c){break j}d=c+4|0;e=v[c>>2]-4|0;break k;case 6:a=v[f+584>>2];c=v[a+272>>2];b=0;if(!c){break j}d=c+4|0;e=v[c>>2]-4|0;break k;case 7:a=v[f+584>>2];c=v[a+276>>2];b=0;if(!c){break j}d=c+4|0;e=v[c>>2]-4|0;break k;case 8:a=v[f+584>>2];c=v[a+280>>2];b=0;if(!c){break j}d=c+4|0;e=v[c>>2]-4|0;break k;case 9:a=v[f+584>>2];c=v[a+284>>2];b=0;if(!c){break j}d=c+4|0;e=v[c>>2]-4|0;break k;case 10:a=v[f+584>>2];c=v[a+288>>2];b=0;if(!c){break j}d=c+4|0;e=v[c>>2]-4|0;break k;case 11:a=v[f+584>>2];c=v[a+292>>2];b=0;if(!c){break j}d=c+4|0;e=v[c>>2]-4|0;break k;case 12:a=v[f+584>>2];c=v[a+296>>2];b=0;if(!c){break j}d=c+4|0;e=v[c>>2]-4|0;break k;case 13:a=v[f+584>>2];c=x[a+300>>1];b=0;if(!c){break j}v[a+3208>>2]=67165695;t[a+3213|0]=c;t[a+3212|0]=c>>>8;d=a+3208|0;e=6;b=6;break j;case 14:b=v[f+584>>2];d=w[b+194|0];e=B(d,3);if(e>>>0>=248){break c}t[b+3208|0]=255;t[b+3212|0]=8;a=0;t[b+3210|0]=0;t[b+3209|0]=w[b+304|0];t[b+3217|0]=d;f=v[b+308>>2];t[b+3216|0]=f;t[b+3211|0]=e+8;t[b+3215|0]=f>>>8;f=b+3213|0;g=x[b+312>>1];g=g<<8|g>>>8;t[f|0]=g;t[f+1|0]=g>>>8;if(d){c=w[b+193|0];while(1){f=b+B(a,3)|0;g=b+(a+c|0)|0;t[f+3218|0]=w[g+316|0];t[f+3219|0]=w[g+319|0];t[f+3220|0]=w[g+322|0];a=a+1|0;if((d|0)!=(a|0)){continue}break}}d=b+3208|0;v[b+3204>>2]=v[b+3204>>2]+1;e=e+10|0;break e;case 15:b=v[f+584>>2];d=w[b+194|0];if(d>>>0>=125){break b}u[b+3208>>1]=56063;t[b+3212|0]=d;t[b+3210|0]=0;t[b+3211|0]=(d<<1)+6;a=0;if(d){f=w[b+193|0];if((d|0)!=1){e=d&254;g=b+3208|0;c=b+325|0;k=b+328|0;while(1){h=g+(a<<1)|0;i=a+f|0;t[h+5|0]=w[i+c|0];t[h+6|0]=w[i+k|0];h=a|1;i=g+(h<<1)|0;h=f+h|0;t[i+5|0]=w[h+c|0];t[i+6|0]=w[h+k|0];a=a+2|0;e=e-2|0;if(e){continue}break}}if(d&1){e=(a<<1)+b|0;a=(a+f|0)+b|0;t[e+3213|0]=w[a+325|0];t[e+3214|0]=w[a+328|0]}a=d<<1}d=b+3208|0;e=a+b|0;t[e+3215|0]=0;e=e+3213|0;t[e|0]=0;t[e+1|0]=63;v[b+3204>>2]=v[b+3204>>2]+1;e=a+8|0;break e;case 16:a=v[f+584>>2];e=x[a+1148>>1];if(!e){if(!fj(a)){break h}e=x[a+1148>>1];if(!e){break a}}u[a+1148>>1]=0;d=v[a+1152>>2];if(v[a+1144>>2]){break e}n:{switch(v[a+1124>>2]-2|0){case 0:if(y[a+1128>>2]>2]){v[a+3204>>2]=17;break e}v[a+3204>>2]=18;break e;case 1:break n;default:break e}}v[a+3204>>2]=18;break e;case 17:a=v[f+584>>2];t[a+3208|0]=255;v[a+3204>>2]=16;d=w[a+302|0];t[a+3209|0]=d-48;d=d+1|0;t[a+302|0]=(d&255)==8?0:d;d=a+3208|0;break f;case 18:break m;case 0:break g;default:break i}}a=v[f+584>>2];u[a+3208>>1]=55807;d=a+3208|0;break f}d=b+4|0;e=v[b>>2]-4|0}b=e}v[a+3204>>2]=v[a+3204>>2]+1}if(!b){continue}break e}break}zc(v[g+628>>2],62414,62806,0);sd(v[g+584>>2]+4|0,1);L()}a=v[f+584>>2];u[a+3208>>1]=55551;v[a+3204>>2]=v[a+3204>>2]+1;d=a+3208|0}e=2}v[j+1024>>2]=d;v[j+1028>>2]=e;return 1}X(62944,7087,2057,87605);L()}X(63355,7087,2196,87622);L()}X(63754,7087,2232,87642);L()}X(43294,7087,2266,87662);L()}function mQ(a){a=a|0;var b=0,c=0,d=0;d=Qb-32|0;Qb=d;v[a>>2]=981976;a:{b:{c:{c=v[a+16>>2];if((c|0)>=1){if((c|0)>=v[a+20>>2]){v[299999]=0;c=aa(4369,d+8|0,291478,241690,963,342135,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break b}v[299999]=0;R(4370,c|0);d=v[299999];v[299999]=0;if((d|0)!=1){break c}W(0)|0;O()|0;qc(c);break a}c=c+v[a+36>>2]|0;t[c|0]=0;t[c+1|0]=0;t[c+2|0]=0;t[c+3|0]=0;t[c+4|0]=0;t[c+5|0]=0;t[c+6|0]=0;t[c+7|0]=0;t[c+24|0]=0;t[c+25|0]=0;t[c+26|0]=0;t[c+27|0]=0;t[c+28|0]=0;t[c+29|0]=0;t[c+30|0]=0;t[c+31|0]=0;t[c+16|0]=0;t[c+17|0]=0;t[c+18|0]=0;t[c+19|0]=0;t[c+20|0]=0;t[c+21|0]=0;t[c+22|0]=0;t[c+23|0]=0;t[c+8|0]=0;t[c+9|0]=0;t[c+10|0]=0;t[c+11|0]=0;t[c+12|0]=0;t[c+13|0]=0;t[c+14|0]=0;t[c+15|0]=0;v[a+24>>2]=v[a+16>>2]+1;v[299999]=0;S(4424,a|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}}v[a+24>>2]=0;v[a+16>>2]=0;c=v[a+48>>2];b=v[c+20>>2];v[299999]=0;V(4425,c|0,(b>>>1|0)+32768|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}b=v[c+20>>2];v[299999]=0;V(4425,c|0,(b>>>1|0)+32768|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}b=v[c+20>>2];v[299999]=0;V(4425,c|0,(b>>>1|0)+32768|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}b=v[c+20>>2];v[299999]=0;V(4425,c|0,(b>>>1|0)+32768|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}b=v[c+20>>2];v[299999]=0;V(4425,c|0,(b>>>1|0)+32768|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}b=v[c+20>>2];v[299999]=0;V(4425,c|0,(b>>>1|0)+32768|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}b=v[c+20>>2];v[299999]=0;V(4425,c|0,(b>>>1|0)+32768|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}b=v[c+20>>2];v[299999]=0;V(4425,c|0,(b>>>1|0)+32768|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}b=v[c+20>>2];v[299999]=0;V(4425,c|0,(b>>>1|0)+32768|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}b=v[c+20>>2];v[299999]=0;V(4425,c|0,(b>>>1|0)+32768|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}b=v[c+20>>2];v[299999]=0;V(4425,c|0,(b>>>1|0)+32768|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}b=v[c+20>>2];v[299999]=0;V(4425,c|0,(b>>>1|0)+32768|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}b=v[c+20>>2];v[299999]=0;V(4425,c|0,(b>>>1|0)+32768|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}b=v[c+20>>2];v[299999]=0;V(4425,c|0,(b>>>1|0)+32768|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}b=v[c+20>>2];v[299999]=0;V(4425,c|0,(b>>>1|0)+32768|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}b=v[c+20>>2];v[299999]=0;V(4425,c|0,(b>>>1|0)+32768|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}b=v[c+20>>2];v[299999]=0;V(4425,c|0,(b>>>1|0)+32768|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}b=v[c+20>>2];v[299999]=0;V(4425,c|0,(b>>>1|0)+32768|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}b=v[c+20>>2];v[299999]=0;V(4425,c|0,(b>>>1|0)+32768|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}b=v[c+20>>2];v[299999]=0;V(4425,c|0,(b>>>1|0)+32768|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}b=v[c+20>>2];v[299999]=0;V(4425,c|0,(b>>>1|0)+32768|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}b=v[c+20>>2];v[299999]=0;V(4425,c|0,(b>>>1|0)+32768|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}b=v[c+20>>2];v[299999]=0;V(4425,c|0,(b>>>1|0)+32768|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}b=v[c+20>>2];v[299999]=0;V(4425,c|0,(b>>>1|0)+32768|0);c=v[299999];v[299999]=0;if((c|0)==1){break b}Fx(a);Qb=d+32|0;return a|0}L()}W(0)|0;O()|0}Fx(a);lc();L()}function UR(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;f=Qb-48|0;Qb=f;v[f+32>>2]=13;v[f+16>>2]=13;a:{b:{c:{d:{e:{if(mc(b,284119)){if(mc(b,221141)){break e}}b=fc(16);v[b+8>>2]=-1;v[b+12>>2]=0;v[b>>2]=962604;break d}f:{if(mc(b,284207)){if(mc(b,325221)){break f}}b=fc(56);v[b>>2]=962704;v[b+4>>2]=c;v[b+52>>2]=0;v[b+44>>2]=0;v[b+48>>2]=0;break c}g:{if(mc(b,284187)){if(mc(b,309266)){break g}}b=8;a=1;g=1;h=1;i=1;if(v[d>>2]==7){b=f+16|0;rc(v[d+8>>2],237517,b,e);a=v[f+24>>2];g=v[f+16>>2];hc(b);rc(v[d+8>>2],235571,b,e);h=v[f+24>>2];i=v[f+16>>2];hc(b);rc(v[d+8>>2],235009,b,e);j=v[f+24>>2];k=v[f+16>>2];hc(b);rc(v[d+8>>2],228703,b,e);l=v[f+24>>2];m=v[f+16>>2];hc(b);rc(v[d+8>>2],283377,b,e);a=(g|0)==1?a:1;i=(i|0)==1?h:1;g=(k|0)==1?j:1;h=v[f+16>>2]==1?v[f+24>>2]:1;hc(b);b=(m|0)==1?l:8}d=fc(53336);v[299999]=0;b=ma(3813,d|0,c|0,a|0,i|0,g|0,b|0,h|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break c}break b}h:{if(mc(b,284149)){if(mc(b,316461)){break h}}b=fc(148);v[b>>2]=962904;v[b+4>>2]=c;v[b+144>>2]=0;a=b+8|0;v[b+140>>2]=a;v[b+136>>2]=a;break c}i:{if(mc(b,284134)){if(mc(b,321010)){break i}}b=1728;a=0;i=1;if(v[d>>2]==7){b=f+16|0;rc(v[d+8>>2],320548,b,e);a=v[f+24>>2];i=v[f+16>>2];hc(b);rc(v[d+8>>2],280196,b,e);g=v[f+24>>2];h=v[f+16>>2];hc(b);rc(v[d+8>>2],248331,b,e);j=v[f+24>>2];k=v[f+16>>2];hc(b);rc(v[d+8>>2],235571,b,e);l=v[f+24>>2];m=v[f+16>>2];hc(b);rc(v[d+8>>2],234253,b,e);n=v[f+24>>2];o=v[f+16>>2];hc(b);rc(v[d+8>>2],263284,b,e);p=v[f+24>>2];q=v[f+16>>2];hc(b);rc(v[d+8>>2],333401,b,e);g=h?0:g;h=k?0:j;j=v[f+16>>2]?0:v[f+24>>2];a=(i|0)==1?a:0;k=(o|0)==1?n:0;hc(b);i=q?1:p;b=(m|0)==1?l:1728}d=fc(84);v[299999]=0;b=xb(3814,d|0,c|0,a|0,g|0,h|0,b|0,k|0,i|0,j|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break c}break b}j:{if(mc(b,284197)){if(mc(b,310514)){break j}}b=-1;if(v[d>>2]==7){a=f+16|0;b=rc(v[d+8>>2],255597,a,e);b=v[b>>2]==1?v[f+24>>2]:-1;hc(a)}a=fc(3528);v[a+192>>2]=b;v[a>>2]=967336;v[a+4>>2]=c;b=0;v[a+3468>>2]=0;v[a+188>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;ic(a+724|0,0,2736);v[a+3504>>2]=0;c=a+3496|0;v[c>>2]=0;v[c+4>>2]=0;c=a+3488|0;v[c>>2]=0;v[c+4>>2]=0;c=a+3480|0;v[c>>2]=0;v[c+4>>2]=0;if(!w[1177324]){ic(1177328,0,384);while(1){t[b+1177715|0]=b|3;t[b+1177714|0]=b|2;t[b+1177713|0]=b|1;t[b+1177712|0]=b;b=b+4|0;if((b|0)!=256){continue}break}ic(1177968,255,383);t[1177324]=1}b=a;break c}k:{if(mc(b,284165)){if(mc(b,261768)){break k}}b=8;a=1;g=1;h=1;if(v[d>>2]==7){g=f+16|0;rc(v[d+8>>2],237517,g,e);a=v[f+24>>2];b=v[f+16>>2];hc(g);rc(v[d+8>>2],235571,g,e);h=v[f+24>>2];i=v[f+16>>2];hc(g);rc(v[d+8>>2],235009,g,e);j=v[f+24>>2];k=v[f+16>>2];hc(g);rc(v[d+8>>2],228703,g,e);a=(b|0)==1?a:1;h=(i|0)==1?h:1;b=v[f+16>>2]==1?v[f+24>>2]:8;hc(g);g=(k|0)==1?j:1}d=fc(34120);v[299999]=0;b=aa(3815,d|0,c|0,a|0,h|0,g|0,b|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break c}break b}if(!mc(b,284221)){if(v[d>>2]==7){rc(v[d+8>>2],235848,f+32|0,e)}a=fc(152);v[299999]=0;b=Y(3697,a|0,c|0,f+32|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}hc(f+32|0);break c}if(!mc(b,284177)){a=fc(240);v[299999]=0;b=Q(3816,a|0,c|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){break c}break a}a=Ub[v[v[a>>2]+52>>2]](a)|0;v[f>>2]=b;kc(1,a,345431,f);b=fc(8);v[b>>2]=968068}v[b+4>>2]=c}Qb=f+48|0;return b}a=P()|0;O()|0;dc(d);T(a|0);L()}b=P()|0;O()|0;dc(a);T(b|0);L()}function Fma(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=Qb-48|0;Qb=c;b=a+8|0;a:{if(v[a+8>>2]){Ch(c+40|0,a,b);break a}v[c+40>>2]=0;Wc(c+40|0,0)}b:{c:{d:{e:{if(v[b>>2]){v[299999]=0;U(4891,c+32|0,a|0,b|0);d=v[299999];v[299999]=0;if((d|0)!=1){break e}break d}v[299999]=0;v[c+32>>2]=0;Q(4336,c+32|0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break d}}f:{g:{h:{if(v[b>>2]){v[299999]=0;U(4889,c+24|0,a|0,b|0);d=v[299999];v[299999]=0;if((d|0)!=1){break h}break g}v[299999]=0;v[c+24>>2]=0;Q(4336,c+24|0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break g}}i:{j:{k:{if(v[b>>2]){v[299999]=0;U(4890,c+16|0,a|0,b|0);d=v[299999];v[299999]=0;if((d|0)!=1){break k}break j}v[299999]=0;v[c+16>>2]=0;Q(4336,c+16|0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break j}}l:{m:{n:{if(v[b>>2]){v[299999]=0;U(4892,c+8|0,a|0,b|0);d=v[299999];v[299999]=0;if((d|0)!=1){break n}break m}v[299999]=0;v[c+8>>2]=0;Q(4336,c+8|0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break m}}o:{p:{q:{if(v[b>>2]){v[299999]=0;U(4893,c|0,a|0,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break q}break p}v[299999]=0;v[c>>2]=0;Q(4336,c|0,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break p}}r:{s:{d=v[c+40>>2];a=0;t:{if(!d){break t}b=v[d+8>>2];a=0;if((b|0)<1){break t}d=v[d+12>>2];a=0;if((d|0)<1){break t}e=v[c+32>>2];a=0;if(!e){break t}a=0;if((b|0)!=v[e+72>>2]){break t}a=0;if((d|0)!=v[e+76>>2]){break t}a=v[c+24>>2];u:{if(a){v[299999]=0;a=v[a+12>>2];if(a){a=v[a+4>>2]}else{a=0}e=v[299999];v[299999]=0;if((e|0)==1){break s}v[299999]=0;e=v[v[c+24>>2]+12>>2];if(e){e=v[e+8>>2]}else{e=0}f=v[299999];v[299999]=0;if((f|0)==1){break s}e=qr(b,d,a,e);break u}e=v[c+16>>2];a=0;if(!e){break t}e=qr(b,d,x[e+10>>1],x[e+8>>1])}a=0;if(e-1>>>0>11){break t}if(!v[c>>2]){e=v[c+8>>2];a=0;if(!e){break t}a=0;if(qr(b,d,x[e+10>>1],x[e+8>>1])-1>>>0>11){break t}}a=v[c+32>>2]!=0}b=v[c>>2];v[c>>2]=0;v:{if(!b){break v}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)==1){break b}if(d){break v}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}}b=v[c+8>>2];v[c+8>>2]=0;w:{if(!b){break w}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)==1){break b}if(d){break w}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}}b=v[c+16>>2];v[c+16>>2]=0;x:{if(!b){break x}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)==1){break b}if(d){break x}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}}b=v[c+24>>2];v[c+24>>2]=0;y:{if(!b){break y}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)==1){break b}if(d){break y}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}}b=v[c+32>>2];v[c+32>>2]=0;z:{if(!b){break z}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)==1){break b}if(d){break z}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}}b=v[c+40>>2];v[c+40>>2]=0;A:{if(!b){break A}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)==1){break r}if(d){break A}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break r}}Qb=c+48|0;return a|0}a=P()|0;O()|0;ec(c);break o}break b}a=P()|0;O()|0}ec(c+8|0);break l}a=P()|0;O()|0}ec(c+16|0);break i}a=P()|0;O()|0}ec(c+24|0);break f}a=P()|0;O()|0}ec(c+32|0);break c}a=P()|0;O()|0}ec(c+40|0);T(a|0);L()}W(0)|0;O()|0;lc();L()}function bFa(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,p=0,q=0,r=0,s=0,t=0,u=0,x=0;ic(a+160|0,0,96);d=a;while(1){f=v[(g<<2)+b>>2]+c|0;j=w[f+4|0];k=w[f+5|0];e=j-k|0;l=w[f|0];n=w[f+9|0];h=l-n|0;s=e+h|0;o=w[f+2|0];t=w[f+7|0];u=o-t|0;p=w[f+1|0];q=w[f+8|0];i=p-q|0;r=w[f+3|0];x=w[f+6|0];f=r-x|0;m=i-f|0;v[d+20>>2]=s-(u+m|0)<<2;j=j+k|0;k=l+n|0;l=j+k|0;r=r+x|0;p=p+q|0;q=r+p|0;o=o+t|0;v[d>>2]=(l+(q+o|0)<<2)-5120;n=o<<1;v[d+16>>2]=(B(q-n|0,-3580)+B(l-n|0,9373)|0)+1024>>11;k=k-j|0;l=p-r|0;j=B(k+l|0,6810)+1024|0;v[d+24>>2]=j+B(l,-17828)>>11;v[d+8>>2]=j+B(k,4209)>>11;j=(B(h-e|0,7791)+B(f+i|0,-4815)|0)+1024|0;k=u<<13;m=((m<<12)-k|0)+B(m+s|0,2531)|0;v[d+28>>2]=j-m>>11;v[d+12>>2]=j+m>>11;v[d+4>>2]=(((k+(B(h,11443)+B(i,10323)|0)|0)+B(f,5260)|0)+B(e,1812)|0)+1024>>11;d=d+32|0;g=g+1|0;if((g|0)!=5){continue}break}b=v[a+128>>2];c=v[a>>2];d=b+c|0;f=v[a+96>>2];g=v[a+32>>2];e=f+g|0;h=B(d-e|0,8290)+16384|0;d=d+e|0;e=v[a+64>>2];i=B(d-(e<<2)|0,3707);v[a+128>>2]=h-i>>15;v[a+64>>2]=h+i>>15;v[a>>2]=B(d+e|0,10486)+16384>>15;d=g-f|0;c=c-b|0;b=B(d+c|0,8716)+16384|0;v[a+96>>2]=b+B(d,-22820)>>15;v[a+32>>2]=b+B(c,5387)>>15;b=v[a+100>>2];c=v[a+36>>2];d=b+c|0;f=v[a+132>>2];g=v[a+4>>2];e=f+g|0;h=d+e|0;i=v[a+68>>2];v[a+4>>2]=B(h+i|0,10486)+16384>>15;d=B(e-d|0,8290)+16384|0;e=B(h-(i<<2)|0,3707);v[a+132>>2]=d-e>>15;v[a+68>>2]=d+e>>15;c=c-b|0;d=g-f|0;b=B(c+d|0,8716)+16384|0;v[a+36>>2]=b+B(d,5387)>>15;v[a+100>>2]=b+B(c,-22820)>>15;b=v[a+136>>2];c=v[a+8>>2];d=b+c|0;f=v[a+104>>2];g=v[a+40>>2];e=f+g|0;h=B(d-e|0,8290)+16384|0;d=d+e|0;e=v[a+72>>2];i=B(d-(e<<2)|0,3707);v[a+136>>2]=h-i>>15;v[a+72>>2]=h+i>>15;v[a+8>>2]=B(d+e|0,10486)+16384>>15;d=g-f|0;c=c-b|0;b=B(d+c|0,8716)+16384|0;v[a+104>>2]=b+B(d,-22820)>>15;v[a+40>>2]=b+B(c,5387)>>15;b=v[a+140>>2];c=v[a+12>>2];d=b+c|0;f=v[a+108>>2];g=v[a+44>>2];e=f+g|0;h=B(d-e|0,8290)+16384|0;d=d+e|0;e=v[a+76>>2];i=B(d-(e<<2)|0,3707);v[a+140>>2]=h-i>>15;v[a+76>>2]=h+i>>15;v[a+12>>2]=B(d+e|0,10486)+16384>>15;d=g-f|0;c=c-b|0;b=B(d+c|0,8716)+16384|0;v[a+108>>2]=b+B(d,-22820)>>15;v[a+44>>2]=b+B(c,5387)>>15;b=v[a+144>>2];c=v[a+16>>2];d=b+c|0;f=v[a+112>>2];g=v[a+48>>2];e=f+g|0;h=B(d-e|0,8290)+16384|0;d=d+e|0;e=v[a+80>>2];i=B(d-(e<<2)|0,3707);v[a+144>>2]=h-i>>15;v[a+80>>2]=h+i>>15;v[a+16>>2]=B(d+e|0,10486)+16384>>15;d=g-f|0;c=c-b|0;b=B(d+c|0,8716)+16384|0;v[a+112>>2]=b+B(d,-22820)>>15;v[a+48>>2]=b+B(c,5387)>>15;b=v[a+148>>2];c=v[a+20>>2];d=b+c|0;f=v[a+116>>2];g=v[a+52>>2];e=f+g|0;h=B(d-e|0,8290)+16384|0;d=d+e|0;e=v[a+84>>2];i=B(d-(e<<2)|0,3707);v[a+148>>2]=h-i>>15;v[a+84>>2]=h+i>>15;v[a+20>>2]=B(d+e|0,10486)+16384>>15;d=g-f|0;c=c-b|0;b=B(d+c|0,8716)+16384|0;v[a+116>>2]=b+B(d,-22820)>>15;v[a+52>>2]=b+B(c,5387)>>15;b=v[a+152>>2];c=v[a+24>>2];d=b+c|0;f=v[a+120>>2];g=v[a+56>>2];e=f+g|0;h=B(d-e|0,8290)+16384|0;d=d+e|0;e=v[a+88>>2];i=B(d-(e<<2)|0,3707);v[a+152>>2]=h-i>>15;v[a+88>>2]=h+i>>15;v[a+24>>2]=B(d+e|0,10486)+16384>>15;d=g-f|0;c=c-b|0;b=B(d+c|0,8716)+16384|0;v[a+120>>2]=b+B(d,-22820)>>15;v[a+56>>2]=b+B(c,5387)>>15;b=v[a+156>>2];c=v[a+28>>2];d=b+c|0;f=v[a+124>>2];g=v[a+60>>2];e=f+g|0;h=B(d-e|0,8290)+16384|0;d=d+e|0;e=v[a+92>>2];i=B(d-(e<<2)|0,3707);v[a+156>>2]=h-i>>15;v[a+92>>2]=h+i>>15;v[a+28>>2]=B(d+e|0,10486)+16384>>15;d=g-f|0;c=c-b|0;b=B(d+c|0,8716)+16384|0;v[a+124>>2]=b+B(d,-22820)>>15;v[a+60>>2]=b+B(c,5387)>>15}function M9a(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,n=0;g=Qb-48|0;Qb=g;v[g+40>>2]=0;v[g+36>>2]=0;a:{b:{if(w[a+285|0]|w[a+286|0]|(w[a+287|0]|w[a+288|0])){break b}if(w[a+289|0]){break b}f=1029;pc(a,1029,0,0);break a}c:{if(!(w[a+292|0]|(w[a+300|0]|w[a+293|0]))){if(!w[a+291|0]){break c}}f=1029;pc(a,1029,0,0);break a}d:{e:{if(!(w[a+288|0]|(w[a+286|0]|w[a+287|0]))){if(!w[a+289|0]){break e}}f=d;if(c>>>0>=2){break d}f=1028;pc(a,1028,0,0);break a}f=d;if((c|0)!=1){break d}f=1028;pc(a,1028,0,0);break a}while(1){l=f;f=f+1|0;if(w[l|0]){continue}break}m=l-d|0;if((m|0)>(c|0)){f=1043;pc(a,1043,0,0);break a}f:{n=c-2|0;f=Rs(a,l+2|0,n-m|0,g+36|0,g+40|0,g+44|0);if(f){if(!Oc(d,2186,21)){f=0;if((c|0)!=2615){break a}b=v[48260];v[g+24>>2]=v[48259];v[g+28>>2]=b;b=v[48258];v[g+16>>2]=v[48257];v[g+20>>2]=b;b=v[48256];v[g+8>>2]=v[48255];v[g+12>>2]=b;b=v[48254];v[g>>2]=v[48253];v[g+4>>2]=b;f=W0(a,g,1,8128,e);if(!f){break f}b=v[g+36>>2];if(!b){break a}Ub[v[a+156>>2]](b,v[g+40>>2]);break a}b=v[g+36>>2];if(!b){break a}Ub[v[a+156>>2]](b,v[g+40>>2]);break a}g:{h:{i:{j:{k:{if(!(w[a+286|0]|w[a+287|0])){l:{if(!(w[a+288|0]|w[a+289|0])){t[a+311|0]=(c|0)!=0;break l}t[a+298|0]=1}if(w[a+288|0]|w[a+289|0]){break k}if(c){break j}f=v[a+2236>>2];if(f){Ub[v[a+156>>2]](f,v[a+2232>>2])}v[a+2232>>2]=0;v[a+2236>>2]=0;f=0;h=0;break i}t[a+298|0]=1}if(w[a+288|0]){h=v[a+528>>2];j=h;f=h+88|0;i=v[h+88>>2];h=v[i+1148>>2];if(h){Ub[v[a+156>>2]](h,v[i+1144>>2])}i=v[g+44>>2];h=Ub[v[a+152>>2]](i)|0;v[v[j+88>>2]+1148>>2]=h;if(h){break h}f=1;pc(a,1,0,0);break a}j=v[a+512>>2];if(!j){j=v[a+528>>2]}f=j+88|0;i=v[j+88>>2];h=v[i+1148>>2];if(h){Ub[v[a+156>>2]](h,v[i+1144>>2])}i=v[g+44>>2];h=Ub[v[a+152>>2]](i)|0;v[v[j+88>>2]+1148>>2]=h;if(!h){f=1;pc(a,1,0,0);break a}break h}f=v[g+44>>2];h=Ub[v[a+152>>2]](f)|0;v[a+2236>>2]=h;if(!h){f=1;pc(a,1,0,0);break a}gc(h,v[g+36>>2],f);v[a+2232>>2]=f;h=v[a+2236>>2]}j=0;m:{if(!w[a+114|0]){break m}i=!c;n:{k=Ub[v[a+152>>2]](40)|0;if(!k){break n}v[k+4>>2]=707;v[k>>2]=708;j=v[a+700>>2];o:{if(j){v[j+8>>2]=k;break o}v[a+696>>2]=k}v[k+8>>2]=0;v[k+12>>2]=j;v[a+700>>2]=k;v[k+16>>2]=v[a+436>>2];v[k+20>>2]=v[a+440>>2];v[k+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=k}v[k+32>>2]=f;t[k+28|0]=i;if(f){i=Ub[v[a+152>>2]](f)|0;v[k+36>>2]=i;if(!i){break n}gc(i,h,f)}j=0;break m}pc(a,1,0,0);j=1}f=j;if(!f){break g}break a}gc(h,v[g+36>>2],i);f=v[f>>2];t[f+60|0]=1;v[f+1144>>2]=i}p:{q:{if(!w[a+112|0]){break q}f=Ub[v[b+4>>2]](a,b,e)|0;if(f){b=v[g+36>>2];if(!b){break a}Ub[v[a+156>>2]](b,v[g+40>>2]);break a}f=v[e>>2];b=!c;t[f+32|0]=b;if(b){break q}r:{s:{t:{if(!v[g+36>>2]){f=d;while(1){l=f;f=f+1|0;if(w[l|0]){continue}break}m=l-d|0;if((m|0)>(c|0)){f=1043;pc(a,1043,0,0);break a}f=Rs(a,l+2|0,n-m|0,g+36|0,g+40|0,g+44|0);if(f){break t}f=v[e>>2]}v[f+36>>2]=m;if(!m){break r}f=1;b=Ub[v[a+152>>2]](m+1|0)|0;v[v[e>>2]+40>>2]=b;c=v[e>>2];b=v[c+40>>2];if(b){break s}pc(a,1,0,0);break a}b=v[g+36>>2];if(!b){break a}Ub[v[a+156>>2]](b,v[g+40>>2]);break a}gc(b,d,v[c+36>>2]);f=v[e>>2]}t[f+44|0]=w[l+1|0];d=v[g+44>>2];v[f+48>>2]=d;b=Ub[v[a+152>>2]](d)|0;v[v[e>>2]+52>>2]=b;b=v[v[e>>2]+52>>2];if(!b){f=1;pc(a,1,0,0);break a}c=v[g+36>>2];gc(b,c,d);break p}c=v[g+36>>2]}f=0;if(!c){break a}Ub[v[a+156>>2]](c,v[g+40>>2]);break a}f=0}Qb=g+48|0;return f|0}function m6a(a){a=a|0;var 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,y=0,z=0,A=0,C=0;c=Qb-96|0;Qb=c;if(Oo(a,c+8|0,0)){dc(v[c+84>>2]);u[a+25204>>1]=18761;v[289144]=0;v[289145]=0;v[289146]=0;j=x[a+26308>>1];o=0-x[a+26312>>1]|0;if((j|0)>(o|0)){r=v[c+60>>2];b=x[a+26306>>1];d=x[a+26314>>1];while(1){a:{if(!(b&65535)){b=0;break a}p=0-(d&65535)|0;b=o<<1&14;A=(b|d&1)<<1;C=(b|(d^-1)&1)<<1;s=32768;t=32768;while(1){b:{if(v[r>>2]){d=r;while(1){b=f-1|0;v[289146]=b;c:{if((f|0)>0){f=b;break c}v[c+92>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+92|0,1,4)|0;e=w[c+92|0];l=n;if(x[a+25204>>1]==18761){g=e|w[c+93|0]<<8|w[c+94|0]<<16|w[c+95|0]<<24}else{g=w[c+95|0]|(w[c+93|0]<<16|e<<24|w[c+94|0]<<8)}v[289144]=g;v[289145]=l;f=v[289146]+32|0;v[289146]=f;e=l;i=e;m=g;k=g;n=g;h=e}y=d;b=h;j=n;q=63-f|0;d=q&31;if((q&63)>>>0>=32){b=j<>>32-d|b<>>31<<2)>>2];if(v[d>>2]){continue}break}j=v[d+8>>2];d=r;if(v[d>>2]){while(1){h=f-1|0;v[289146]=h;d:{if((f|0)>0){f=h;break d}v[c+92>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+92|0,1,4)|0;e=w[c+92|0];l=k;if(x[a+25204>>1]!=18761){g=w[c+95|0]|(w[c+93|0]<<16|e<<24|w[c+94|0]<<8)}else{g=e|w[c+93|0]<<8|w[c+94|0]<<16|w[c+95|0]<<24}v[289144]=g;v[289145]=l;f=v[289146]+32|0;v[289146]=f;e=l;m=g;k=g;i=e}n=k;y=d;h=i;b=h;q=k;z=63-f|0;d=z&31;if((z&63)>>>0>=32){b=q<>>32-d|b<>>31<<2)>>2];if(v[d>>2]){continue}break}}d=v[d+8>>2];break b}d=v[r+8>>2];j=d}e:{f:{g:{b=j;switch(b+1|0){case 1:break e;case 0:break g;default:break f}}g=0;l=0;f=0;v[289144]=0;v[289145]=0;v[289146]=0;m=0;e=0;k=0;i=0;n=0;h=0;b=0;break e}f=f-j|0;v[289146]=f;if((f|0)<=-1){v[c+92>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+92|0,1,4)|0;h=w[c+92|0];l=m;if(x[a+25204>>1]==18761){g=h|w[c+93|0]<<8|w[c+94|0]<<16|w[c+95|0]<<24}else{g=w[c+95|0]|(w[c+93|0]<<16|h<<24|w[c+94|0]<<8)}v[289144]=g;v[289145]=l;f=v[289146]+32|0;v[289146]=f;m=g;e=l}h=e;k=m;i=64-j|0;n=i-f|0;b=n&31;if((n&63)>>>0>=32){h=k<>>32-b|h<>>0>=32?h>>>b|0:((1<>>b;i=e;k=m;n=k;h=e}b=(b>>>j-1&1?0:(-1<>1]<=p>>>0)){b=x[a+26316>>1];u[(v[a+26352>>2]+(B(x[a+26320>>1],o>>>b|0)+(p>>b)<<3)|0)+((v[a+26028>>2]>>>A&3)<<1)>>1]=t}h:{i:{j:{b=d;switch(b+1|0){case 1:break h;case 0:break j;default:break i}}g=0;l=0;f=0;v[289144]=0;v[289145]=0;v[289146]=0;m=0;e=0;k=0;i=0;n=0;h=0;b=0;break h}f=f-d|0;v[289146]=f;if((f|0)<=-1){v[c+92>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+92|0,1,4)|0;e=w[c+92|0];l=g;if(x[a+25204>>1]!=18761){g=w[c+95|0]|(w[c+93|0]<<16|e<<24|w[c+94|0]<<8)}else{g=e|w[c+93|0]<<8|w[c+94|0]<<16|w[c+95|0]<<24}v[289144]=g;v[289145]=l;f=v[289146]+32|0;v[289146]=f}e=l;m=g;h=64-d|0;b=h-f|0;i=b&31;if((b&63)>>>0>=32){b=m<>>32-i|e<>>0>=32?b>>>e|0:((1<>>e;e=l;i=e;k=g;n=g;h=e}b=(b>>>d-1&1?0:(-1<>>0>=x[a+26310>>1]){break k}d=x[a+26316>>1];u[(v[a+26352>>2]+(B(x[a+26320>>1],o>>>d|0)+(b>>d)<<3)|0)+((v[a+26028>>2]>>>C&3)<<1)>>1]=s}p=p+2|0;b=x[a+26306>>1];d=x[a+26314>>1];if((p|0)<(b-d|0)){continue}break}j=x[a+26308>>1]}o=o+1|0;if((o|0)<(j&65535)){continue}break}}v[a+26124>>2]=65535}Qb=c+96|0}function Pi(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;k=Qb-112|0;Qb=k;l=h;o=i&2147483647;p=c-(b>>>0<1)|0;j=b-1|0;q=(j|0)==-1&(p|0)==-1;n=d;r=(c|0)==(p|0)&b>>>0>j>>>0|c>>>0>p>>>0;m=d+r|0;p=e&2147483647;j=p;j=m>>>0>>0?j+1|0:j;r=m-1|0;a:{b:{j=j-(m>>>0<1)|0;if(!((r|0)==-1&(j|0)==2147418111?q:j>>>0>2147418111)){j=f;m=g-(j>>>0<1)|0;j=j-1|0;q=(j|0)!=-1|(m|0)!=-1;r=(g|0)==(m|0)&f>>>0>j>>>0|g>>>0>m>>>0;m=r+l|0;j=o;j=m>>>0>>0?j+1|0:j;r=m;m=m-1|0;j=j-(r>>>0<1)|0;if((m|0)==-1&(j|0)==2147418111?q:(j|0)==2147418111&(m|0)!=-1|j>>>0<2147418111){break b}}if(!(!n&(p|0)==2147418112?!(b|c):p>>>0<2147418112)){h=d;i=e|32768;f=b;g=c;break a}if(!(!l&(o|0)==2147418112?!(f|g):o>>>0<2147418112)){i=i|32768;break a}if(!(b|n|(p^2147418112|c))){j=d;d=!(b^f|d^h|(c^g|e^i^-2147483648));h=d?0:j;i=d?2147450880:e;f=d?0:b;g=d?0:c;break a}if(!(f|l|(o^2147418112|g))){break a}if(!(b|n|(c|p))){if(f|l|(g|o)){break a}f=b&f;g=c&g;h=d&h;i=e&i;break a}if(f|l|(g|o)){break b}f=b;g=c;h=d;i=e;break a}j=(o|0)==(p|0);j=j&(l|0)==(n|0)?(c|0)==(g|0)&b>>>0>>0|c>>>0>>0:j&l>>>0>n>>>0|o>>>0>p>>>0;m=j?f:b;o=j?g:c;n=j?i:e;p=n;q=j?h:d;n=n&65535;i=j?e:i;e=i;h=j?d:h;r=i>>>16&32767;l=p>>>16&32767;if(!l){d=!(n|q);i=d<<6;l=E(d?m:q)+32|0;d=E(d?o:n);d=i+((d|0)==32?l:d)|0;Oh(k+96|0,m,o,q,n,d-15|0);q=v[k+104>>2];n=v[k+108>>2];m=v[k+96>>2];l=16-d|0;o=v[k+100>>2]}f=j?b:f;g=j?c:g;i=e&65535;if(!r){b=!(h|i);c=b<<6;d=E(b?f:h)+32|0;b=E(b?g:i);b=c+((b|0)==32?d:b)|0;Oh(k+80|0,f,g,h,i,b-15|0);r=16-b|0;h=v[k+88>>2];i=v[k+92>>2];g=v[k+84>>2];f=v[k+80>>2]}b=h;i=i<<3|b>>>29;h=b<<3|g>>>29;i=i|524288;b=q;j=n<<3|b>>>29;n=b<<3|o>>>29;q=j;j=e^p;b=f;c=g<<3|b>>>29;b=b<<3;d=c;f=l-r|0;e=b;c:{if(!f){break c}if(f>>>0>127){h=0;i=0;c=0;e=1;break c}Oh(k- -64|0,b,d,h,i,128-f|0);qp(k+48|0,b,d,h,i,f);h=v[k+56>>2];i=v[k+60>>2];c=v[k+52>>2];e=v[k+48>>2]|((v[k+64>>2]|v[k+72>>2])!=0|(v[k+68>>2]|v[k+76>>2])!=0)}g=c;d=n;q=q|524288;b=m;c=o<<3|b>>>29;f=b<<3;d:{if((j|0)<-1|(j|0)<=-1){j=f;o=e;b=j-e|0;n=h;m=d-h|0;e=(c|0)==(g|0)&e>>>0>j>>>0|c>>>0>>0;h=m-e|0;c=c-((j>>>0>>0)+g|0)|0;i=(q-((d>>>0>>0)+i|0)|0)-(e>>>0>m>>>0)|0;if(!(b|h|(c|i))){f=0;g=0;h=0;i=0;break a}if(i>>>0>524287){break d}f=b;d=!(h|i);e=d<<6;g=E(d?b:h)+32|0;b=E(d?c:i);b=e+((b|0)==32?g:b)|0;b=b-12|0;Oh(k+32|0,f,c,h,i,b);l=l-b|0;h=v[k+40>>2];i=v[k+44>>2];b=v[k+32>>2];c=v[k+36>>2];break d}c=c+g|0;b=e+f|0;c=b>>>0>>0?c+1|0:c;f=(c|0)==(g|0)&e>>>0>b>>>0|c>>>0>>0;j=i+q|0;e=d+h|0;j=e>>>0>>0?j+1|0:j;d=f+e|0;h=d;i=d>>>0>>0?j+1|0:j;if(!(i&1048576)){break d}d=h;j=d<<31;b=b&1|((c&1)<<31|b>>>1);c=j|c>>>1;l=l+1|0;h=(i&1)<<31|d>>>1;i=i>>>1|0}o=0;n=p&-2147483648;if((l|0)>=32767){h=o;i=n|2147418112;f=0;g=0;break a}d=0;e:{if((l|0)>0){d=l;break e}Oh(k+16|0,b,c,h,i,l+127|0);qp(k,b,c,h,i,1-l|0);b=v[k>>2]|((v[k+16>>2]|v[k+24>>2])!=0|(v[k+20>>2]|v[k+28>>2])!=0);c=v[k+4>>2];h=v[k+8>>2];i=v[k+12>>2]}j=h<<29;p=(c&7)<<29|b>>>3;f=p;l=b&7;b=f+(l>>>0>4)|0;e=c>>>3|j;c=e;c=b>>>0>>0?c+1|0:c;f=b;j=d<<16;d=o|((i&7)<<29|h>>>3);g=c;b=d+((e|0)==(c|0)&b>>>0

>>0|c>>>0>>0)|0;i=n|(j|i>>>3&65535);i=b>>>0>>0?i+1|0:i;h=b;f:{if((l|0)==4){c=0;j=g+c|0;d=f&1;b=f+d|0;j=b>>>0>>0?j+1|0:j;f=b;g=j;c=(c|0)==(j|0)&b>>>0>>0|c>>>0>j>>>0;b=c+h|0;j=i;h=b;i=b>>>0>>0?j+1|0:j;break f}if(!l){break a}}}v[a>>2]=f;v[a+4>>2]=g;v[a+8>>2]=h;v[a+12>>2]=i;Qb=k+112|0}function wMa(a,b){a=a|0;b=b|0;var 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;h=Qb-16|0;Qb=h;f=v[a+8>>2];v[h+8>>2]=f;n=v[a+12>>2];i=v[a+16>>2];a:{b:{c:{m=v[a+4>>2];e=v[m+8>>2];if(v[e+60>>2]){j=f;break c}if(!(w[m+36|0]!=1|f>>>0>=n>>>0|y[a+20>>2]<=i>>>0)){t[m+36|0]=0;p=t[(t[e+52|0]+e|0)+48|0];k=w[m+37|0];break b}c=0;break a}c=1;break a}c=2}d:while(1){e:{f:{g:{h:{i:{j:{switch(c|0){case 0:if(f>>>0>=n>>>0){break h}j=f;while(1){k:{if(y[a+20>>2]>i>>>0){f=j+1|0;c=w[j|0];d=c<<24>>24;l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{switch(c-10|0){case 5:c=0;if(v[e+64>>2]!=3){break l}break k;case 4:if(v[e+64>>2]==3){t[e+49|0]=8;c=1;break k}v[h+8>>2]=f;t[e+68|0]=0;d=65535;c=14;break i;case 17:v[h+8>>2]=j;m=v[a+4>>2];c=1;continue d;case 0:case 3:v[h+8>>2]=f;v:{w:{g=w[e+48|0];switch(g|0){case 0:case 3:break v;default:break w}}g=0;t[e+48|0]=0}t[e+68|0]=0;t[e+52|0]=0;t[e+50|0]=0;break t;default:break u}}v[h+8>>2]=f;t[e+68|0]=0;l=t[e+52|0];g=w[(l+e|0)+48|0];if(v[e+64>>2]!=4|(d+95&255)>>>0>62){break t}if((g&252)!=4){break s}}p=g<<24>>24;switch(p|0){case 8:break n;case 3:break o;case 2:break p;case 1:break q;case 0:break r;default:break m}}d=c+65216|0;if((l|0)<2){break i}t[e+52|0]=w[e+53|0];break i}d=(d|0)>-1?c:65535;break i}t[e+52|0]=w[e+53|0];d=(d|0)>-1?c+128|0:65535;break i}d=(d|0)<0?65535:x[v[v[e+8>>2]+36>>2]+(((d^128)&255)<<2)>>1];t[e+52|0]=w[e+53|0];break i}if((d|0)<0){d=65535;break i}if((d&255)>>>0<92){d=c;break i}if((c|0)==92){d=165;break i}if((c|0)!=126){d=c;break i}d=8254;break i}d=(d-33&255)>>>0<63?c+65344|0:65535;break i}if(f>>>0>>0){k=c;c=2;continue d}t[v[a+4>>2]+37|0]=d;t[v[a+4>>2]+36|0]=1;break h}v[h+8>>2]=f;t[e+68|0]=0;d=65535;c=15;break i}v[h+8>>2]=j;v[b>>2]=15;f=j;break h}t[e+52|0]=c;j=f;if((f|0)!=(n|0)){continue}break};f=n;break h;case 1:break g;default:break j}}g=w[f|0];c=g-33|0;if(!((k+223&254)>>>0>93|(c&255)>>>0>93)){f=f+1|0;v[h+8>>2]=f;c=g|k<<8;d=c;x:{y:{switch(p-4|0){case 0:d=k&1;l=d+k|0;o=l&255;q=o>>>1|0;t[h+14|0]=o>>>0<96?q+112|0:l<<24>>24<0?0:q-80|0;d=g+(d?g>>>0<96?31:32:126)|0;break x;case 3:d=c+32896|0;break;default:break y}}t[h+14|0]=d>>>8}t[h+15|0]=d;d=em(v[(p<<2)+e>>2],h+14|0,2);break i}d=65535;if((c&255)>>>0<94){c=k;break i}if(!(!(1<>>0>31)){c=k;break i}f=f+1|0;v[h+8>>2]=f;c=(g|k<<8)+65536|0}if(d>>>0<=65533){g=v[a+24>>2];if(g){v[g+(i-v[a+16>>2]<<1)>>2]=((c>>>0<256?-1:-2)+f|0)-v[a+8>>2]}u[i>>1]=d;i=i+2|0;break e}if(d>>>0>=65536){u[i>>1]=(d+67043328>>>10|0)-10240;z:{A:{B:{g=v[a+24>>2];C:{if(!g){c=i+2|0;if(c>>>0>2]){break B}break C}l=v[a+16>>2];o=((c>>>0<256?-1:-2)+f|0)-v[a+8>>2]|0;v[g+(i-l<<1)>>2]=o;c=i+2|0;if(c>>>0>2]){break A}}i=c;c=v[a+4>>2];g=t[c+65|0];t[c+65|0]=g+1;u[(c+(g<<1)|0)+116>>1]=d&1023|56320;break e}u[c>>1]=d&1023|56320;break z}u[c>>1]=d&1023|56320;v[g+(c-l<<1)>>2]=o}i=i+4|0;break e}j=v[a+4>>2];k=1;if(c>>>0>=256){t[j+38|0]=c;k=2;c=c>>>8|0}t[j+36|0]=k;t[j+37|0]=c;v[b>>2]=(d|0)==65534?10:12}v[a+8>>2]=f;v[a+16>>2]=i;break f}c=w[m+36|0];oz(m,h+8|0,n,1,b);D:{E:{F:{if(v[e+64>>2]|v[e+60>>2]){break F}if(v[b>>2]>0){break E}if(!w[e+68|0]){break F}v[b>>2]=18;f=v[a+4>>2];v[f+256>>2]=2;t[f+36|0]=c+(v[h+8>>2]-j|0)}if(v[b>>2]<1){break D}}v[a+16>>2]=i;v[a+8>>2]=v[h+8>>2];t[e+68|0]=0;break f}if(!v[e+60>>2]){t[e+68|0]=1}f=v[h+8>>2];break e}Qb=h+16|0;return}c=0;continue}}function mna(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=Qb-48|0;Qb=d;g=v[b>>2];c=v[a>>2];e=c;a:{b:{c:{d:{if(v[c+148>>2]&16){c=v[a>>2];if(v[e+148>>2]&128){e=v[c+40>>2];if(e){break d}}if(v[c+148>>2]&16){break c}break b}e=v[e+40>>2];if(!e){break b}}if(!(Ub[v[v[e>>2]+28>>2]](e)|0)){break b}if(Ub[v[v[g>>2]+16>>2]](g)|0){Ub[v[v[g>>2]+12>>2]](g,358460,1)|0}b=v[v[a>>2]+40>>2];Ub[v[v[b>>2]+20>>2]](b,0,0,0)|0;kQ(g,v[v[a>>2]+40>>2],0);break b}e=d+32|0;Pl(e,v[v[a>>2]+108>>2]);v[299999]=0;V(4503,d+24|0,e|0);e=v[299999];v[299999]=0;e:{f:{g:{if((e|0)!=1){v[299999]=0;e=v[d+24>>2];v[d+16>>2]=0;v[d+20>>2]=v[282402];c=Z(4504,e|0,d+16|0,0,0)|0;f=v[299999];v[299999]=0;h:{if((f|0)==1){break h}i:{if(!c){break i}j:{k:{l:{m:{n:{while(1){v[299999]=0;c=Z(4504,e|0,d+16|0,0,0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break g}if(!c){break i}v[299999]=0;c=Nc(d+16|0,307139,-1);f=v[299999];v[299999]=0;if((f|0)==1){break g}o:{p:{if(c){v[299999]=0;c=Nc(d+16|0,217587,-1);f=v[299999];v[299999]=0;if((f|0)==1){break g}if(c){break p}}c=v[v[g>>2]+16>>2];v[299999]=0;c=S(c|0,g|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break g}if(c){c=v[v[g>>2]+12>>2];v[299999]=0;Y(c|0,g|0,358460,1)|0;c=v[299999];v[299999]=0;if((c|0)==1){break g}}v[299999]=0;V(4503,d+8|0,b|0);c=v[299999];v[299999]=0;if((c|0)==1){break o}c=v[d+16>>2];c=v[(c?c+12|0:1129608)>>2];v[299999]=0;f=v[d+8>>2];U(4599,f|0,c|0,0);c=v[299999];v[299999]=0;if((c|0)==1){break n}v[299999]=0;v[d>>2]=0;Q(4336,d|0,e|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break m}v[299999]=0;c=v[d>>2];v[d+40>>2]=0;Q(4336,d+40|0,f|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break l}v[299999]=0;Y(4604,v[d+40>>2],c|0,0)|0;c=v[299999];v[299999]=0;q:{if((c|0)!=1){c=v[d+40>>2];v[d+40>>2]=0;if(!c){break q}v[299999]=0;h=v[c+4>>2]-1|0;v[c+4>>2]=h;i=v[299999];v[299999]=0;if((i|0)!=1){if(h){break q}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)!=1){break q}}break a}e=P()|0;O()|0;ec(d+40|0);break k}c=v[d>>2];v[d>>2]=0;r:{if(!c){break r}v[299999]=0;h=v[c+4>>2]-1|0;v[c+4>>2]=h;i=v[299999];v[299999]=0;if((i|0)==1){break a}if(h){break r}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}v[299999]=0;R(4601,f|0);c=v[299999];v[299999]=0;if((c|0)==1){break n}c=v[d+8>>2];v[d+8>>2]=0;if(!c){break p}v[299999]=0;f=v[c+4>>2]-1|0;v[c+4>>2]=f;h=v[299999];v[299999]=0;if((h|0)==1){break a}if(f){break p}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}v[299999]=0;R(4601,e|0);c=v[299999];v[299999]=0;if((c|0)!=1){continue}break g}break}e=P()|0;O()|0;break f}e=P()|0;O()|0;break j}e=P()|0;O()|0;break j}e=P()|0;O()|0}ec(d)}ec(d+8|0);break f}a=v[v[a>>2]+108>>2];v[299999]=0;V(4494,a|0,1);a=v[299999];v[299999]=0;if((a|0)==1){break h}ec(d+16|0);a=v[d+24>>2];v[d+24>>2]=0;s:{if(!a){break s}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(b){break s}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}a=v[d+32>>2];v[d+32>>2]=0;if(!a){break b}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;e=v[299999];v[299999]=0;if((e|0)!=1){if(b){break b}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}}break a}e=P()|0;O()|0;break f}e=P()|0;O()|0;break e}e=P()|0;O()|0}ec(d+16|0);ec(d+24|0)}ec(d+32|0);T(e|0);L()}Qb=d+48|0;return}W(0)|0;O()|0;lc();L()}function my(a,b,c,d,e,f,g,h,i,j,k,l){var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0;m=Qb-192|0;Qb=m;v[m+48>>2]=13;v[m+32>>2]=13;v[m+16>>2]=13;v[m>>2]=13;q=fc(112);r=v[a+20>>2];o=v[a+4>>2];v[299999]=0;Z(3430,q|0,o|0,c|0,r|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=P()|0;O()|0;dc(q);T(a|0);L()}v[a+20>>2]=q;c=v[a+8>>2];Ub[v[v[c>>2]+64>>2]](c,v[a+28>>2]);c=cu(v[a+28>>2]);v[a+28>>2]=c;vf(c);r=v[a+108>>2];ME(v[a+28>>2],A[d>>3],A[d+8>>3],A[d+16>>3],A[d+24>>3],A[d+32>>3],A[d+40>>3]);c=v[a+8>>2];Ub[v[v[c>>2]+76>>2]](c,v[a+28>>2],A[d>>3],A[d+8>>3],A[d+16>>3],A[d+24>>3],A[d+32>>3],A[d+40>>3]);n=A[e>>3];c=v[a+28>>2];p=A[e+8>>3];A[c+608>>3]=p;A[c+600>>3]=n;c=v[c+596>>2];A[c+16>>3]=p;A[c+8>>3]=n;v[c>>2]=1;n=A[e+16>>3];c=v[a+28>>2];p=A[e+8>>3];A[c+608>>3]=p;A[c+600>>3]=n;Ud(v[c+596>>2],n,p);n=A[e+16>>3];c=v[a+28>>2];p=A[e+24>>3];A[c+608>>3]=p;A[c+600>>3]=n;Ud(v[c+596>>2],n,p);n=A[e>>3];c=v[a+28>>2];p=A[e+24>>3];A[c+608>>3]=p;A[c+600>>3]=n;Ud(v[c+596>>2],n,p);c=v[a+28>>2];Hf(v[c+596>>2]);d=v[c+596>>2];d=v[((v[d+28>>2]<<2)+v[d+24>>2]|0)-4>>2];q=(v[d+12>>2]<<3)-8|0;A[c+600>>3]=A[q+v[d>>2]>>3];A[c+608>>3]=A[q+v[d+4>>2]>>3];Vi(v[a+28>>2]);c=v[a+8>>2];Ub[v[v[c>>2]+220>>2]](c,v[a+28>>2]);vf(v[a+28>>2]);c=0;q=f|g;if(q){qf(b,v[a+4>>2],m+48|0,0);d=v[m+56>>2];if(v[rc(Ub[v[v[d>>2]+76>>2]](d)|0,240654,m+32|0,0)>>2]==7){if(v[rc(v[m+40>>2],310883,m+16|0,0)>>2]!=5){c=Wl(m+16|0,0)}hc(m+16|0)}hc(m+32|0);hc(m+48|0);d=v[a+28>>2];if(v[d+388>>2]){v[d+388>>2]=0;o=v[a+8>>2];Ub[v[v[o>>2]+124>>2]](o,d);d=v[a+28>>2]}if(A[d+392>>3]!=1){v[d+392>>2]=0;v[d+396>>2]=1072693248;o=v[a+8>>2];Ub[v[v[o>>2]+128>>2]](o,d);d=v[a+28>>2]}if(A[d+400>>3]!=1){v[d+400>>2]=0;v[d+404>>2]=1072693248;o=v[a+8>>2];Ub[v[v[o>>2]+132>>2]](o,d);d=v[a+28>>2]}o=v[a+8>>2];Ub[v[v[o>>2]+332>>2]](o,d);d=v[a+8>>2];Ub[v[v[d>>2]+316>>2]](d,v[a+28>>2],e,c,h,i,g)}n=A[a+48>>3];d=v[a+28>>2];A[a+48>>3]=A[d+16>>3];p=A[a+56>>3];A[a+56>>3]=A[d+24>>3];h=a- -64|0;s=A[h>>3];A[h>>3]=A[d+32>>3];t=A[a+72>>3];A[a+72>>3]=A[d+40>>3];u=A[a+80>>3];A[a+80>>3]=A[d+48>>3];w=A[a+88>>3];A[a+88>>3]=A[d+56>>3];h=v[a+8>>2];Ub[v[v[h>>2]+64>>2]](h,d);h=v[a+28>>2];d=fc(672);v[299999]=0;Y(3429,d|0,h|0,1)|0;i=v[299999];v[299999]=0;if((i|0)==1){a=P()|0;O()|0;dc(d);T(a|0);L()}v[a+28>>2]=d;TE(a,b);d=v[a+28>>2];if(v[d+668>>2]){while(1){b=_k(d);v[a+28>>2]=b;d=v[a+8>>2];Ub[v[v[d>>2]+68>>2]](d,b);d=v[a+28>>2];if(v[d+668>>2]){continue}break}}dc(Kp(d));v[a+28>>2]=h;b=v[a+8>>2];Ub[v[v[b>>2]+68>>2]](b,h);if(q){b=v[a+8>>2];Ub[v[v[b>>2]+320>>2]](b,v[a+28>>2])}v[a+108>>2]=r;A[a+88>>3]=w;A[a+80>>3]=u;A[a+72>>3]=t;A[a+64>>3]=s;A[a+56>>3]=p;A[a+48>>3]=n;b=_k(v[a+28>>2]);v[a+28>>2]=b;d=v[a+8>>2];Ub[v[v[d>>2]+68>>2]](d,b);b=v[a+20>>2];d=v[b+104>>2];dc(UE(b));v[a+20>>2]=d;a:{if(g){d=0;ic(m- -64|0,0,128);b:{if(v[l>>2]==6){b=v[l+8>>2];if(v[b+12>>2]<1){break b}while(1){yc(b,d,m,0);b=v[m>>2];if(b-1>>>0<=1){f=(m- -64|0)+(d<<2)|0;n=((b|0)==1?+v[m+8>>2]:A[m+8>>3])*65536;c:{if(D(n)<2147483648){b=~~n;break c}b=-2147483648}v[f>>2]=b}hc(m);if(d>>>0>30){break b}d=d+1|0;b=v[l+8>>2];if((d|0)>2]){continue}break}break b}if(!c){break b}Ub[v[v[c>>2]+32>>2]](c,m- -64|0)}b=v[a+8>>2];Ub[v[v[b>>2]+328>>2]](b,v[a+28>>2],e,j,k,m- -64|0);break a}if(!f){break a}b=v[a+8>>2];Ub[v[v[b>>2]+324>>2]](b,v[a+28>>2],e)}if(c){Ub[v[v[c>>2]+4>>2]](c)}Qb=m+192|0}function u_(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=jc(16);if(c){v[c+12>>2]=1706;v[c+4>>2]=1707;v[c>>2]=0;v[c+8>>2]=1708}if(!c){return 7}b=6;a:{if(!(!c|!a)){d=Ub[v[c+4>>2]](c,208)|0;b=64;if(!d){break a}ic(d+16|0,0,188);v[d+204>>2]=1;v[d+12>>2]=4;v[d+4>>2]=2;v[d+8>>2]=10;v[d>>2]=c;v[a>>2]=d;b=0}}j=b;b:{if(b){dc(c);break b}b=v[a>>2];d=b;if(b){vi(d,369856)}if(b){vi(b,447412)}if(b){vi(b,449672)}if(b){vi(b,376016)}if(b){vi(b,451636)}if(b){vi(b,381492)}if(b){vi(b,453748)}if(b){vi(b,454656)}if(b){vi(b,380864)}if(b){vi(b,382180)}if(b){vi(b,444928)}if(b){vi(b,382824)}if(b){vi(b,445112)}if(b){vi(b,445384)}if(b){vi(b,380780)}if(b){vi(b,374200)}}i=v[a>>2];h=Qb-432|0;Qb=h;c:{b=ei(310778);if(!b){break c}while(1){f=0;d:{e:{f:{d=b;c=w[b|0];switch(c|0){case 0:break c;case 9:break d;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break e;default:break f}}if((c|0)==32){break d}}g:{h:{while(1){a=c&255;if(!a|(a|0)==58){break g}t[(h+288|0)+f|0]=c;c=f|1;a=d+1|0;e=w[d+1|0];if(!(e?(e|0)!=58:0)){d=a;f=c;break g}t[c+(h+288|0)|0]=e;c=f|2;a=d+2|0;e=w[d+2|0];if(!e|(e|0)==58){break h}t[c+(h+288|0)|0]=e;c=f|3;a=d+3|0;e=w[d+3|0];if(!(!e|(e|0)==58)){t[c+(h+288|0)|0]=e;d=d+4|0;f=f+4|0;if((f|0)==128){f=128;break g}c=w[d|0];continue}break}d=a;f=c;break g}d=a;f=c}t[(h+288|0)+f|0]=0;if((b|0)==(d|0)|w[d|0]!=58){break c}a=1;f=d+1|0;c=0;i:{while(1){b=w[f|0];if(!b){b=c;break i}if((b|0)==61){b=c;break i}t[(h+144|0)+c|0]=b;b=c|1;e=a+1|0;f=e+d|0;g=w[f|0];if(!(g?(g|0)!=61:0)){a=e;break i}t[(h+144|0)+b|0]=g;b=c|2;e=a+2|0;f=e+d|0;g=w[f|0];if(!g){a=e;break i}if((g|0)==61){a=e;break i}t[(h+144|0)+b|0]=g;b=c|3;e=a+3|0;f=e+d|0;g=w[f|0];if(!g){a=e;break i}if((g|0)==61){a=e;break i}t[(h+144|0)+b|0]=g;a=a+4|0;f=d+a|0;b=128;c=c+4|0;if((c|0)!=128){continue}break}a=129}t[(h+144|0)+b|0]=0;if((a|0)==1|w[f|0]!=61){break c}a=1;b=f+1|0;c=0;j:{while(1){e=a;d=c;k:{l:{g=w[b|0];switch(g|0){case 0:case 9:break j;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break k;default:break l}}if((g|0)!=32){break k}break j}t[c+h|0]=g;d=c|1;m:{n:{e=a+1|0;b=e+f|0;g=w[b|0];switch(g|0){case 0:case 9:break j;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break m;default:break n}}if((g|0)==32){break j}}t[d+h|0]=g;d=c|2;o:{p:{e=a+2|0;b=e+f|0;g=w[b|0];switch(g|0){case 0:case 9:break j;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break o;default:break p}}if((g|0)==32){break j}}t[d+h|0]=g;d=c|3;q:{r:{e=a+3|0;b=e+f|0;g=w[b|0];switch(g|0){case 0:case 9:break j;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break q;default:break r}}if((g|0)==32){break j}}t[d+h|0]=g;a=a+4|0;b=f+a|0;d=128;c=c+4|0;if((c|0)!=128){continue}break}e=129}t[d+h|0]=0;s:{t:{a=w[b|0];switch(a|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break c;case 0:case 9:break s;default:break t}}if((a|0)!=32){break c}}if((e|0)==1){break c}f=h+288|0;c=h+144|0;u:{if(!i){break u}v:{if(!h|(!f|!c)){break v}e=i+20|0;a=v[i+16>>2];d=e+(a<<2)|0;w:{if((a|0)<1){break w}while(1){if(!mc(v[v[v[e>>2]>>2]+8>>2],f)){break w}e=e+4|0;if(d>>>0>e>>>0){continue}break}}if((d|0)==(e|0)){break u}d=v[e>>2];a=v[v[d>>2]+32>>2];if(!a){break v}a=Ub[a|0](d,236717)|0;if(!a){break v}a=v[a>>2];if(!a){break v}Ub[a|0](v[e>>2],c,h,1)|0}}if(!w[b|0]){break c}}b=b+1|0;continue}}Qb=h+432|0;return j|0}function QZa(a,b){a=a|0;b=b|0;var 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;g=Qb-16|0;Qb=g;n=v[a+100>>2];v[g+8>>2]=0;c=Ub[v[a+516>>2]](a,1129333068,b,g+4|0)|0;v[g+12>>2]=c;a:{b:{if(c){break b}c=v[g+4>>2];c:{if(c>>>0<12){break c}c=Xh(b,c,g+8|0);v[g+12>>2]=c;if(c){break b}c=v[g+8>>2];l=Fd(n,20,g+12|0);if(v[g+12>>2]){break b}e=w[c|0]|w[c+1|0]<<8;f=e<<8|e>>>8;u[l>>1]=f;if((f&65535)>>>0>1){break c}e=w[c+2|0]|w[c+3|0]<<8;h=e<<8|e>>>8;u[a+660>>1]=h;e=w[c+4|0]|w[c+5|0]<<8;e=e<<8|e>>>8;u[a+648>>1]=e;d=w[c+6|0]|w[c+7|0]<<8;j=d<<8|d>>>8;u[l+2>>1]=j;m=e&65535;d=m<<1;e=v[g+4>>2];if(d+12>>>0>e>>>0){break c}i=w[c+8|0]|w[c+9|0]<<8|(w[c+10|0]<<16|w[c+11|0]<<24);k=i<<24|i<<8&16711680|(i>>>8&65280|i>>>24);if(k>>>0>=e>>>0){break c}i=j&65535;if(e-k>>>0>>0|i>>>0<(h&65535)>>>0){break c}c=c+12|0;v[l+8>>2]=c;i=v[g+8>>2];v[l+4>>2]=k+i;d:{if((f&65535)!=1){break d}if(e>>>0>>0){break c}c=c+d|0;f=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);k=w[c+8|0]|w[c+9|0]<<8|(w[c+10|0]<<16|w[c+11|0]<<24);c=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(c){if(d>>>0>e-c>>>0|c>>>0>=e>>>0){break c}e=Cc(n,2,0,m,0,g+12|0);if(v[g+12>>2]){break b}i=v[g+8>>2];h=x[a+648>>1]<<1;j=h+e|0;e:{if(j>>>0<=e>>>0){break e}d=c+i|0;m=h-1|0;h=(m>>>1|0)+1&3;f:{if(!h){c=e;break f}c=e;while(1){o=w[d|0]|w[d+1|0]<<8;u[c>>1]=o<<8|o>>>8;c=c+2|0;d=d+2|0;h=h-1|0;if(h){continue}break}}if(m>>>0<6){break e}while(1){h=w[d|0]|w[d+1|0]<<8;u[c>>1]=h<<8|h>>>8;h=w[d+2|0]|w[d+3|0]<<8;u[c+2>>1]=h<<8|h>>>8;h=w[d+4|0]|w[d+5|0]<<8;u[c+4>>1]=h<<8|h>>>8;h=w[d+6|0]|w[d+7|0]<<8;u[c+6>>1]=h<<8|h>>>8;d=d+8|0;c=c+8|0;if(j>>>0>c>>>0){continue}break}}v[a+656>>2]=e}c=f<<8&16711680|f<<24|(f>>>8&65280|f>>>24);if(c){e=v[g+4>>2];if(e>>>0<=c>>>0){break c}o=e-c|0;e=x[a+648>>1];if(o>>>0>>0){break c}e=Cc(n,2,0,e,0,g+12|0);if(v[g+12>>2]){break b}i=v[g+8>>2];f=x[a+648>>1]<<1;h=f+e|0;g:{if(h>>>0<=e>>>0){break g}d=c+i|0;j=f-1|0;f=(j>>>1|0)+1&3;h:{if(!f){c=e;break h}c=e;while(1){m=w[d|0]|w[d+1|0]<<8;u[c>>1]=m<<8|m>>>8;c=c+2|0;d=d+2|0;f=f-1|0;if(f){continue}break}}if(j>>>0<6){break g}while(1){f=w[d|0]|w[d+1|0]<<8;u[c>>1]=f<<8|f>>>8;f=w[d+2|0]|w[d+3|0]<<8;u[c+2>>1]=f<<8|f>>>8;f=w[d+4|0]|w[d+5|0]<<8;u[c+4>>1]=f<<8|f>>>8;f=w[d+6|0]|w[d+7|0]<<8;u[c+6>>1]=f<<8|f>>>8;d=d+8|0;c=c+8|0;if(h>>>0>c>>>0){continue}break}}v[a+652>>2]=e}c=k<<8&16711680|k<<24|(k>>>8&65280|k>>>24);if(!c){break d}e=v[g+4>>2];if(e>>>0<=c>>>0){break c}o=e-c|0;e=x[a+660>>1];if(o>>>0>>0){break c}e=Cc(n,2,0,e,0,g+12|0);if(v[g+12>>2]){break b}i=v[g+8>>2];f=x[a+660>>1]<<1;k=f+e|0;i:{if(k>>>0<=e>>>0){break i}d=c+i|0;h=f-1|0;f=(h>>>1|0)+1&3;j:{if(!f){c=e;break j}c=e;while(1){j=w[d|0]|w[d+1|0]<<8;u[c>>1]=j<<8|j>>>8;c=c+2|0;d=d+2|0;f=f-1|0;if(f){continue}break}}if(h>>>0<6){break i}while(1){f=w[d|0]|w[d+1|0]<<8;u[c>>1]=f<<8|f>>>8;f=w[d+2|0]|w[d+3|0]<<8;u[c+2>>1]=f<<8|f>>>8;f=w[d+4|0]|w[d+5|0]<<8;u[c+4>>1]=f<<8|f>>>8;f=w[d+6|0]|w[d+7|0]<<8;u[c+6>>1]=f<<8|f>>>8;d=d+8|0;c=c+8|0;if(k>>>0>c>>>0){continue}break}}v[a+664>>2]=e}v[l+12>>2]=i;v[l+16>>2]=v[g+4>>2];v[a+868>>2]=l;d=0;p=a,q=Cc(n,4,0,x[a+660>>1],0,g+12|0),v[p+672>>2]=q;if(v[g+12>>2]){break b}if(!oZ(a,0)){break a}}v[g+12>>2]=8}nf(b,g+8|0);if(l){Ub[v[n+8>>2]](n,l)}v[a+868>>2]=0;d=v[g+12>>2]}Qb=g+16|0;return d|0}function iOa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=Qb-160|0;Qb=c;v[a+8>>2]=0;v[a>>2]=0;v[a+4>>2]=0;d=t[b+11|0];g=(d|0)<0;a:{b:{c:{e=g?v[b+4>>2]:d&255;d:{if(!e){break d}v[c+156>>2]=0;v[c+152>>2]=0;d=v[b>>2];v[299999]=0;fa(2732,(g?d:b)|0,e|0,c+156|0,c+152|0,0);d=v[299999];v[299999]=0;if((d|0)==1){break c}j=RN(v[c+156>>2]);if(j){e:{f:{g:{h:{i:{j:{while(1){k:{v[299999]=0;h=S(2733,j|0)|0;d=v[299999];v[299999]=0;l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{if((d|0)!=1){if(!h){break e}switch(w[h+18|0]){case 4:break u;case 0:break v;default:continue}}b=P()|0;O()|0;break b}i=v[c+156>>2];f=Bc(i);if(f>>>0>=4294967280){v[299999]=0;R(2530,c+16|0);b=v[299999];v[299999]=0;if((b|0)==1){break s}break a}w:{x:{if(f>>>0>=11){v[299999]=0;g=f+16&-16;d=S(1,g|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break t}v[c+16>>2]=d;v[c+20>>2]=f;v[c+24>>2]=g|-2147483648;break x}t[c+27|0]=f;d=c+16|0;if(!f){break w}}gc(d,i,f)}t[d+f|0]=0;v[299999]=0;e=Q(2730,c+16|0,335628)|0;d=v[299999];v[299999]=0;if((d|0)==1){break r}v[c+40>>2]=v[e+8>>2];d=v[e+4>>2];v[c+32>>2]=v[e>>2];v[c+36>>2]=d;v[e>>2]=0;v[e+4>>2]=0;v[e+8>>2]=0;i=h+19|0;f=Bc(i);if(f>>>0>=4294967280){v[299999]=0;R(2530,c|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}b=P()|0;O()|0;break o}y:{z:{if(f>>>0>=11){v[299999]=0;g=f+16&-16;d=S(1,g|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break q}v[c>>2]=d;v[c+4>>2]=f;v[c+8>>2]=g|-2147483648;break z}t[c+11|0]=f;d=c;if(!f){break y}}gc(d,i,f)}t[d+f|0]=0;v[299999]=0;e=w[c+11|0];d=e<<24>>24<0;e=Y(2531,c+32|0,(d?v[c>>2]:c)|0,(d?v[c+4>>2]:e)|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break p}v[c+56>>2]=v[e+8>>2];d=v[e+4>>2];v[c+48>>2]=v[e>>2];v[c+52>>2]=d;v[e>>2]=0;v[e+4>>2]=0;v[e+8>>2]=0;if(t[c+11|0]<=-1){dc(v[c>>2])}if(t[c+43|0]<=-1){dc(v[c+32>>2])}if(t[c+27|0]<=-1){dc(v[c+16>>2])}g=v[c+48>>2];e=t[c+59|0];On((e|0)<0?g:c+48|0,c- -64|0);d=v[c+76>>2]&61440;if((e|0)<=-1){dc(g)}if((d|0)!=16384){continue}}if(w[h+19|0]==46){continue}e=h+19|0;d=Bc(e);v[299999]=0;U(1564,c- -64|0,e|0,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break k}v[299999]=0;U(2731,c+32|0,b|0,530220);d=v[299999];v[299999]=0;if((d|0)==1){break j}v[299999]=0;e=w[c+75|0];d=e<<24>>24<0;e=Y(2653,c+32|0,(d?v[c+64>>2]:c- -64|0)|0,(d?v[c+68>>2]:e)|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break i}v[c+56>>2]=v[e+8>>2];d=v[e+4>>2];v[c+48>>2]=v[e>>2];v[c+52>>2]=d;v[e>>2]=0;v[e+4>>2]=0;v[e+8>>2]=0;e=v[a+4>>2];if(e>>>0>=y[a+8>>2]){break m}d=v[c+52>>2];v[e>>2]=v[c+48>>2];v[e+4>>2]=d;v[e+8>>2]=v[c+56>>2];v[c+56>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[a+4>>2]=e+12;break l}b=P()|0;O()|0;break b}b=P()|0;O()|0;break b}b=P()|0;O()|0;break n}b=P()|0;O()|0;break o}b=P()|0;O()|0;if(t[c+11|0]>-1){break o}dc(v[c>>2])}if(t[c+43|0]>-1){break n}dc(v[c+32>>2])}if(t[c+27|0]>-1){break b}dc(v[c+16>>2]);break b}v[299999]=0;V(2648,a|0,c+48|0);d=v[299999];v[299999]=0;if((d|0)==1){break h}if(t[c+59|0]>-1){break l}dc(v[c+48>>2])}if(t[c+43|0]<=-1){dc(v[c+32>>2])}if(t[c+75|0]>-1){continue}dc(v[c+64>>2]);continue}break}b=P()|0;O()|0;break b}b=P()|0;O()|0;break f}b=P()|0;O()|0;break g}b=P()|0;O()|0;if(t[c+59|0]>-1){break g}dc(v[c+48>>2])}if(t[c+43|0]>-1){break f}dc(v[c+32>>2])}if(t[c+75|0]>-1){break b}dc(v[c+64>>2]);break b}SN(j)}a=v[c+156>>2];if(!a){break d}dc(a)}Qb=c+160|0;return}b=P()|0;O()|0}Qg(a);T(b|0);L()}L()}function w3(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:{b:{c:{c=v[b+8>>2];if(c&7){break c}f=v[a+12>>2];d=v[b+64>>2];if((d|0)>=0&(d|0)<=v[b+60>>2]){break b}d=f;c=d>>>24|0;v[b+4>>2]=v[b+4>>2]|32;e=v[b+28>>2];v[b+28>>2]=e-1;d:{if((e|0)>=1){v[b+60>>2]=v[b+60>>2]+1;e=v[b+24>>2];v[b+24>>2]=e+1;t[e|0]=c;break d}if((Fc(b,c)|0)==-1){break c}}c=v[b+8>>2];if(c&7){break c}e=v[b+64>>2];if((e|0)>=0&(e|0)<=v[b+60>>2]){break b}c=d>>>16|0;v[b+4>>2]=v[b+4>>2]|32;e=v[b+28>>2];v[b+28>>2]=e-1;e:{if((e|0)>=1){v[b+60>>2]=v[b+60>>2]+1;e=v[b+24>>2];v[b+24>>2]=e+1;t[e|0]=c;break e}if((Fc(b,c&255)|0)==-1){break c}}c=v[b+8>>2];if(c&7){break c}e=v[b+64>>2];if((e|0)>=0&(e|0)<=v[b+60>>2]){break b}d=d>>>8|0;v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;f:{if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;t[c|0]=d;break f}if((Fc(b,d&255)|0)==-1){break c}}c=v[b+8>>2];if(c&7){break c}d=v[b+64>>2];if((d|0)>=0&(d|0)<=v[b+60>>2]){break b}v[b+4>>2]=v[b+4>>2]|32;d=v[b+28>>2];v[b+28>>2]=d-1;g:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;t[d|0]=f;break g}if((Fc(b,f&255)|0)==-1){break c}}c=v[b+8>>2];if(c&7){break c}f=v[a+16>>2];d=v[b+64>>2];if((d|0)>=0&(d|0)<=v[b+60>>2]){break a}d=f;c=d>>>24|0;v[b+4>>2]=v[b+4>>2]|32;e=v[b+28>>2];v[b+28>>2]=e-1;h:{if((e|0)>=1){v[b+60>>2]=v[b+60>>2]+1;e=v[b+24>>2];v[b+24>>2]=e+1;t[e|0]=c;break h}if((Fc(b,c)|0)==-1){break c}}c=v[b+8>>2];if(c&7){break c}e=v[b+64>>2];if((e|0)>=0&(e|0)<=v[b+60>>2]){break a}c=d>>>16|0;v[b+4>>2]=v[b+4>>2]|32;e=v[b+28>>2];v[b+28>>2]=e-1;i:{if((e|0)>=1){v[b+60>>2]=v[b+60>>2]+1;e=v[b+24>>2];v[b+24>>2]=e+1;t[e|0]=c;break i}if((Fc(b,c&255)|0)==-1){break c}}c=v[b+8>>2];if(c&7){break c}e=v[b+64>>2];if((e|0)>=0&(e|0)<=v[b+60>>2]){break a}d=d>>>8|0;v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;j:{if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;t[c|0]=d;break j}if((Fc(b,d&255)|0)==-1){break c}}c=v[b+8>>2];if(c&7){break c}d=v[b+64>>2];if((d|0)>=0&(d|0)<=v[b+60>>2]){break a}v[b+4>>2]=v[b+4>>2]|32;d=v[b+28>>2];v[b+28>>2]=d-1;k:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;t[d|0]=f;break k}if((Fc(b,f&255)|0)==-1){break c}}c=v[b+8>>2];if(c&7){break c}d=v[a+20>>2];a=v[b+64>>2];if((a|0)>=0&(a|0)<=v[b+60>>2]){break a}a=d;f=d>>>24|0;v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;l:{if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;t[c|0]=f;break l}if((Fc(b,f)|0)==-1){break c}}c=v[b+8>>2];if(c&7){break c}f=v[b+64>>2];if((f|0)>=0&(f|0)<=v[b+60>>2]){break a}f=a>>>16|0;v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;m:{if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;t[c|0]=f;break m}if((Fc(b,f&255)|0)==-1){break c}}c=v[b+8>>2];if(c&7){break c}f=v[b+64>>2];if((f|0)>=0&(f|0)<=v[b+60>>2]){break a}a=a>>>8|0;v[b+4>>2]=v[b+4>>2]|32;f=v[b+28>>2];v[b+28>>2]=f-1;n:{if((f|0)>=1){v[b+60>>2]=v[b+60>>2]+1;f=v[b+24>>2];v[b+24>>2]=f+1;t[f|0]=a;break n}if((Fc(b,a&255)|0)==-1){break c}}c=v[b+8>>2];if(c&7){break c}a=v[b+64>>2];if((a|0)>=0&(a|0)<=v[b+60>>2]){break a}v[b+4>>2]=v[b+4>>2]|32;a=v[b+28>>2];v[b+28>>2]=a-1;if((a|0)>=1){v[b+60>>2]=v[b+60>>2]+1;a=v[b+24>>2];v[b+24>>2]=a+1;t[a|0]=d;return 0}if((Fc(b,d&255)|0)==-1){break c}return 0}return-1}v[b+8>>2]=c|4;return-1}v[b+8>>2]=c|4;return-1}function _P(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=Qb-32|0;Qb=e;v[a>>2]=982260;v[299999]=0;V(4494,a|0,1);b=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{if((b|0)==1){break l}v[299999]=0;b=a+20|0;c=S(4469,b|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break l}if(!c|v[a+4>>2]<2){break j}c=v[294590];if(!c){v[299999]=0;c=S(1,32)|0;d=v[299999];v[299999]=0;if((d|0)==1){break l}v[c>>2]=0;v[c+4>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[299999]=0;Q(4475,c|0,982428)|0;d=v[299999];v[299999]=0;if((d|0)==1){break i}v[294590]=c}v[299999]=0;v[e+24>>2]=0;Q(4336,e+24|0,a|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break l}v[299999]=0;U(4476,c|0,b|0,e+24|0);b=v[299999];v[299999]=0;if((b|0)==1){break k}b=v[e+24>>2];v[e+24>>2]=0;if(!b){break j}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)!=1){if(c){break j}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break j}}break a}W(0)|0;O()|0;break b}W(0)|0;O()|0;ec(e+24|0);break b}c=v[a+16>>2];if(!c){d=0;v[e+16>>2]=0;b=0;break g}b=0;v[299999]=0;v[c+4>>2]=v[c+4>>2]+1;c=v[299999];v[299999]=0;if((c|0)==1){break h}d=v[a+16>>2];v[e+16>>2]=d;if(!d){break g}v[299999]=0;U(4495,d|0,4487,a|0);c=v[299999];v[299999]=0;b=d;if((c|0)!=1){break g}break f}W(0)|0;O()|0;dc(c);break b}W(0)|0;O()|0;break b}c=0;v[299999]=0;U(4495,a|0,4487,a|0);g=v[299999];v[299999]=0;if((g|0)==1){break f}if(b){g=v[a+116>>2];if(g){while(1){c=0;f=v[g+8>>2];if(f){v[299999]=0;v[f+4>>2]=v[f+4>>2]+1;c=v[299999];v[299999]=0;if((c|0)==1){break e}c=v[g+8>>2]}v[e+8>>2]=c;f=v[c+24>>2];h=v[c+20>>2];v[299999]=0;U(4495,b|0,h|0,f|0);f=v[299999];v[299999]=0;if((f|0)==1){break d}v[299999]=0;f=v[c+4>>2]-1|0;v[c+4>>2]=f;h=v[299999];v[299999]=0;if((h|0)==1){break a}if(!f){v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}g=v[g>>2];if(g){continue}break}}c=b}b=v[a+72>>2];if(b){Ic(b+4|0);dc(b)}b=v[a+12>>2];if(b){dc(b)}v[e+16>>2]=0;m:{if(!c){break m}v[299999]=0;b=v[c+4>>2]-1|0;v[c+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break m}v[299999]=0;R(4338,d|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}Ic(a+108|0);Ic(a+88|0);b=v[a+64>>2];v[a+64>>2]=0;n:{if(!b){break n}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break n}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a+56>>2];v[a+56>>2]=0;o:{if(!b){break o}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break o}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}v[a+20>>2]=981280;v[a+44>>2]=981312;b=v[a+48>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Ub[v[v[b>>2]+4>>2]](b)}v[a+48>>2]=0}v[a+36>>2]=981312;b=v[a+40>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Ub[v[v[b>>2]+4>>2]](b)}v[a+40>>2]=0}ec(a+28|0);b=v[a+16>>2];v[a+16>>2]=0;p:{if(!b){break p}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break p}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}Qc(a);Qb=e+32|0;return a|0}W(0)|0;O()|0;break c}W(0)|0;O()|0;break c}W(0)|0;O()|0;ec(e+8|0)}ec(e+16|0)}Ic(a+108|0);Ic(a+88|0);ec(a- -64|0);ec(a+56|0);$c(a+20|0);ec(a+16|0);Qc(a);lc();L()}W(0)|0;O()|0;lc();L()}function N9a(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,n=0,o=0,p=0;a:{b:{c:{if(w[a+285|0]|w[a+286|0]|(w[a+287|0]|w[a+288|0])){break c}if(w[a+289|0]){break c}break b}if(w[a+300|0]|w[a+293|0]|(w[a+292|0]|w[a+291|0])){break b}d:{e:{f:{g:{g=w[a+286|0];if(!g){f=w[a+287|0];if(!f){if(!(w[a+289|0]?1:w[a+288|0])){break g}if((c|0)!=32){break a}if(f){break e}break f}if((c|0)!=32){break a}break e}if((c|0)==32){break e}break a}if(!(c&-33)){break f}break a}if(w[a+288|0]|w[a+289|0]){break e}t[a+309|0]=(c|0)!=0;break d}t[a+296|0]=1}f=w[d+28|0]|w[d+29|0]<<8|(w[d+30|0]<<16|w[d+31|0]<<24);h=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=w[d+24|0]|w[d+25|0]<<8|(w[d+26|0]<<16|w[d+27|0]<<24);i=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=w[d+20|0]|w[d+21|0]<<8|(w[d+22|0]<<16|w[d+23|0]<<24);j=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=w[d+16|0]|w[d+17|0]<<8|(w[d+18|0]<<16|w[d+19|0]<<24);k=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=w[d+12|0]|w[d+13|0]<<8|(w[d+14|0]<<16|w[d+15|0]<<24);l=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=w[d+8|0]|w[d+9|0]<<8|(w[d+10|0]<<16|w[d+11|0]<<24);m=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);n=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);o=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);h:{i:{j:{if(!(w[a+288|0]|(w[a+287|0]|g))){if(!w[a+289|0]){break j}}k:{if(!w[a+288|0]){f=v[a+512>>2];if(f){break k}}f=v[a+528>>2]}f=v[f+88>>2];v[f+1136>>2]=h;v[f+1132>>2]=i;v[f+1128>>2]=j;v[f+1124>>2]=k;v[f+1120>>2]=l;v[f+1116>>2]=m;v[f+1112>>2]=n;v[f+1108>>2]=o;t[f+58|0]=1;break i}if(c){v[a+2224>>2]=h;v[a+2220>>2]=i;v[a+2216>>2]=j;v[a+2212>>2]=k;v[a+2208>>2]=l;v[a+2204>>2]=m;v[a+2200>>2]=n;v[a+2196>>2]=o}f=0;l:{if(!w[a+114|0]){break l}p=!c;f=Ub[v[a+152>>2]](64)|0;if(!f){pc(a,1,0,0);f=1;break l}v[f+4>>2]=703;v[f>>2]=704;g=v[a+700>>2];m:{if(g){v[g+8>>2]=f;break m}v[a+696>>2]=f}v[f+8>>2]=0;v[f+12>>2]=g;v[a+700>>2]=f;v[f+16>>2]=v[a+436>>2];v[f+20>>2]=v[a+440>>2];v[f+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=f}v[f+60>>2]=h;v[f+56>>2]=i;v[f+52>>2]=j;v[f+48>>2]=k;v[f+44>>2]=l;v[f+40>>2]=m;v[f+36>>2]=n;v[f+32>>2]=o;t[f+28|0]=p;f=0}if(f){break h}}n:{if(!w[a+112|0]){break n}f=Ub[v[b+4>>2]](a,b,e)|0;if(f){break h}a=v[e>>2];b=!c;t[a+32|0]=b;if(b){break n}b=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);v[a+36>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);v[a+40>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=w[d+8|0]|w[d+9|0]<<8|(w[d+10|0]<<16|w[d+11|0]<<24);v[a+44>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=w[d+12|0]|w[d+13|0]<<8|(w[d+14|0]<<16|w[d+15|0]<<24);v[a+48>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=w[d+16|0]|w[d+17|0]<<8|(w[d+18|0]<<16|w[d+19|0]<<24);v[a+52>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=w[d+20|0]|w[d+21|0]<<8|(w[d+22|0]<<16|w[d+23|0]<<24);v[a+56>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=w[d+24|0]|w[d+25|0]<<8|(w[d+26|0]<<16|w[d+27|0]<<24);v[a+60>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=a;a=w[d+28|0]|w[d+29|0]<<8|(w[d+30|0]<<16|w[d+31|0]<<24);v[b+64>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}f=0}return f|0}pc(a,1029,0,0);return 1029}pc(a,1028,0,0);return 1028}function B6a(a){a=a|0;var 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;h=Qb-112|0;Qb=h;v[h+24>>2]=0;v[h+16>>2]=0;v[h+20>>2]=0;if(Oo(a,h+32|0,0)){b=v[h+40>>2]>>1;v[h+40>>2]=b;j=v[h+44>>2];o=B(b,j);e=x[a+59254>>1];b=0;while(1){g=c;d=k;c=d+((x[a+59256>>1]<<1)/(j|0)|0)|0;k=x[a+26306>>1];i=k&65534;k=e&65535?(c|0)<(k|0)?c:i:i;a:{if(!x[a+26308>>1]){break a}m=0;if((d|0)>=(k|0)){break a}while(1){l=v[a+26352>>2]+(B(x[a+26310>>1],m)<<3)|0;c=d;while(1){e=(b|0)%(o|0)|0;if(!e){f=Mv(a,n,h+32|0);n=n+1|0}j=v[h+44>>2];b:{if(x[a+26310>>1]<=(c|0)){b=e+j|0;break b}c:{if((j|0)<3){break c}u[l+(c<<3)>>1]=x[(e<<1)+f>>1];if((j|0)==3){break c}b=1;i=j-3|0;q=i&1;if((j|0)!=4){r=c+1|0;i=i&-2;while(1){u[l+(B(x[a+26310>>1],b>>>1|0)+r<<3)>>1]=x[(b+e<<1)+f>>1];p=b+1|0;u[l+(B(x[a+26310>>1],p>>>1|0)+c<<3)>>1]=x[(e+p<<1)+f>>1];b=b+2|0;i=i-2|0;if(i){continue}break}}if(!q){break c}u[l+(((b&1)+c|0)+B(x[a+26310>>1],b>>>1|0)<<3)>>1]=x[(b+e<<1)+f>>1]}i=l+(c<<3)|0;b=e+j|0;e=(b<<1)+f|0;u[i+2>>1]=x[e-4>>1]-16384;u[i+4>>1]=x[e-2>>1]-16384}c=c+2|0;if((k|0)>(c|0)){continue}break}m=((j>>1)+m|0)-1|0;if((m|0)>1]){continue}break}e=x[a+59254>>1]}c=g+1|0;if(g>>>0<(e&65535)>>>0){continue}break}b=a+25861|0;while(1){c=b;d=t[b|0];if(d){b=c+1|0;if(d-48>>>0>9){continue}}break}v[h+8>>2]=h+24;b=h+16|0;v[h+4>>2]=b|4;v[h>>2]=b;ef(c,25359,h);i=x[a+26308>>1];d:{if(!i){break d}c=v[h+48>>2];b=(c<<2)+4|0;d=v[h+24>>2]+B(v[h+20>>2]+B(v[h+16>>2],1e3)|0,1e3)|0;l=v[a+26036>>2];j=(l|0)==-2147483112?(d|0)>1000006?(d|0)<3e6?c<<1:b:b:b;m=c>>1;k=0;g=v[a+26352>>2];e=g;while(1){f=x[a+26310>>1];e:{f:{if(!(k&m)){break f}b=0;if(!(f&65535)){break e}while(1){d=f&65535;c=u[((b-d<<3)+e|0)+2>>1];c=((i&65535)-1|0)!=(k|0)?(u[((b+d<<3)+e|0)+2>>1]+c|0)+1>>>1|0:c;d=(b<<3)+e|0;u[d+2>>1]=c;f=x[a+26310>>1];c=u[((b-f<<3)+e|0)+4>>1];if((x[a+26308>>1]-1|0)!=(k|0)){c=(c+u[((b+f<<3)+e|0)+4>>1]|0)+1>>>1|0}u[d+4>>1]=c;b=b+2|0;f=x[a+26310>>1];if(b>>>0>=f>>>0){break f}i=x[a+26308>>1];continue}}c=1;b=f;if((b&65535)>>>0<2){break e}while(1){i=c+1|0;n=(c-1<<3)+e|0;d=u[n+2>>1];f=(c<<3)+e|0;o=f;if(((b&65535)-1|0)!=(c|0)){d=(d+u[((i<<3)+e|0)+2>>1]|0)+1>>>1|0}u[o+2>>1]=d;b=u[n+4>>1];if((x[a+26310>>1]-1|0)!=(c|0)){b=(b+u[((i<<3)+e|0)+4>>1]|0)+1>>>1|0}u[f+4>>1]=b;b=x[a+26310>>1];c=c+2|0;if(b>>>0>c>>>0){continue}break}}e=((b&65535)<<3)+e|0;k=k+1|0;i=x[a+26308>>1];if(k>>>0>>0){continue}break}if(e>>>0<=g>>>0){break d}if(l>>>0<=2147484159){while(1){b=u[g>>1]-512|0;c=u[g+4>>1];d=B(x[a+59260>>1],b+c|0);d=(d|0)<67107840?d>>10:65535;u[g>>1]=(d|0)>0?d:0;d=u[g+2>>1];c=B(x[a+59262>>1],b+(B(d,-778)-(c<<11)>>12)|0);c=(c|0)<67107840?c>>10:65535;u[g+2>>1]=(c|0)>0?c:0;b=B(x[a+59264>>1],b+d|0);b=(b|0)<67107840?b>>10:65535;u[g+4>>1]=(b|0)>0?b:0;g=g+8|0;if(g>>>0>>0){continue}break d}}while(1){c=j+(u[g+2>>1]<<2)|0;u[g+2>>1]=c;b=j+(u[g+4>>1]<<2)|0;u[g+4>>1]=b;d=u[g>>1];b=b<<16>>16;c=c<<16>>16;f=B(x[a+59260>>1],d+(B(b,22929)+B(c,200)>>14)|0);f=(f|0)<67107840?f>>10:65535;u[g>>1]=(f|0)>0?f:0;f=B(x[a+59262>>1],d+(B(b,-11751)+B(c,-5640)>>14)|0);f=(f|0)<67107840?f>>10:65535;u[g+2>>1]=(f|0)>0?f:0;b=B(x[a+59264>>1],d+(B(b,-101)+B(c,29040)>>14)|0);b=(b|0)<67107840?b>>10:65535;u[g+4>>1]=(b|0)>0?b:0;g=g+8|0;if(g>>>0>>0){continue}break}}dc(v[h+108>>2]);v[a+26124>>2]=16383}Qb=h+112|0}function OWa(a){a=a|0;var b=0,c=0,d=0;t[a+8|0]=0;v[a+4>>2]=1;v[a+24>>2]=457656;v[a>>2]=456868;v[a+88>>2]=457704;v[a+72>>2]=0;b=a- -64|0;v[b>>2]=0;v[b+4>>2]=0;v[a+40>>2]=0;v[a+44>>2]=1072693248;v[a+28>>2]=0;v[a+32>>2]=255;v[a+48>>2]=0;v[a+52>>2]=0;v[a+56>>2]=0;v[a+116>>2]=0;v[a+120>>2]=0;v[a+80>>2]=0;v[a+84>>2]=1071644672;v[a+124>>2]=0;v[a+140>>2]=0;v[a+144>>2]=0;v[a+148>>2]=0;v[a+152>>2]=0;v[a+236>>2]=0;v[a+184>>2]=0;v[a+188>>2]=0;v[a+176>>2]=0;v[a+180>>2]=0;v[a+168>>2]=0;v[a+172>>2]=0;v[a+160>>2]=0;v[a+164>>2]=0;v[a+224>>2]=0;v[a+216>>2]=0;v[a+220>>2]=0;v[a+208>>2]=0;v[a+212>>2]=0;v[a+200>>2]=0;v[a+204>>2]=0;v[a+240>>2]=1065353216;v[a+244>>2]=0;v[a+248>>2]=0;v[a+252>>2]=0;v[a+256>>2]=0;v[a+296>>2]=1;v[a+260>>2]=1065353216;v[a+264>>2]=1065353216;v[a+272>>2]=1056964608;v[a+276>>2]=1065353216;v[a+280>>2]=0;v[a+284>>2]=0;v[a+288>>2]=0;v[a+292>>2]=1;u[a+268>>1]=0;v[a+300>>2]=0;v[a+304>>2]=0;v[a+308>>2]=0;v[a+312>>2]=0;v[a+316>>2]=0;v[a+320>>2]=0;v[a+332>>2]=0;v[a+336>>2]=0;v[a+340>>2]=0;v[a+344>>2]=0;v[a+348>>2]=0;v[a+352>>2]=0;v[299999]=0;b=S(1,24)|0;c=v[299999];v[299999]=0;a:{if((c|0)!=1){c=b+24|0;v[a+352>>2]=c;v[a+344>>2]=b;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=0;v[b+4>>2]=0;v[a+348>>2]=c;ic(a+360|0,0,88);v[a+96>>2]=1e3;v[a+100>>2]=0;v[a+192>>2]=0;v[a+196>>2]=0;v[a+128>>2]=255;v[a+132>>2]=0;v[a+104>>2]=0;v[a+108>>2]=255;t[a+127|0]=0;v[a+136>>2]=0;v[a+140>>2]=0;v[a+112>>2]=255;v[a+116>>2]=0;v[a+144>>2]=0;v[a+148>>2]=0;v[a+152>>2]=0;v[a+168>>2]=0;v[a+172>>2]=0;v[a+176>>2]=0;v[a+180>>2]=0;v[a+184>>2]=0;v[a+188>>2]=0;v[a+160>>2]=0;v[a+164>>2]=0;b=a+452|0;v[b>>2]=0;v[b+4>>2]=0;v[a+448>>2]=457752;v[a+204>>2]=0;v[a+460>>2]=0;v[a+464>>2]=0;v[a+468>>2]=0;v[a+472>>2]=0;v[299999]=0;Y(2151,a+464|0,457792,5)|0;c=v[299999];v[299999]=0;b:{c:{d:{e:{f:{if((c|0)!=1){if(t[a+463|0]>-1){break f}v[a+456>>2]=0;b=v[a+452>>2];break e}b=P()|0;O()|0;if(t[a+475|0]<=-1){dc(v[a+464>>2])}if(t[a+463|0]>-1){break d}dc(v[a+452>>2]);break d}t[a+463|0]=0}v[b>>2]=0;u[a+496>>1]=0;v[a+488>>2]=0;v[a+492>>2]=0;v[a+480>>2]=0;v[a+484>>2]=0;v[a+500>>2]=0;v[a+504>>2]=0;v[a+508>>2]=0;v[a+512>>2]=0;b=a+524|0;v[b>>2]=0;v[b+4>>2]=0;v[a+520>>2]=457752;v[a+532>>2]=0;v[a+536>>2]=0;v[a+540>>2]=0;v[a+544>>2]=0;v[299999]=0;c=a+536|0;Y(2151,c|0,457792,5)|0;d=v[299999];v[299999]=0;if((d|0)!=1){if(t[a+535|0]>-1){break c}v[a+528>>2]=0;b=v[a+524>>2];break b}b=P()|0;O()|0;if(t[a+547|0]<=-1){dc(v[a+536>>2])}if(t[a+535|0]<=-1){dc(v[a+524>>2])}Nz(a+448|0)}kH(a+88|0);v[a+24>>2]=457656;c=v[a+52>>2];if(!c){break a}dc(c);v[a+52>>2]=0;T(b|0);L()}t[a+535|0]=0}v[b>>2]=0;u[a+568>>1]=0;v[a+560>>2]=0;v[a+564>>2]=0;v[a+552>>2]=0;v[a+556>>2]=0;v[a+572>>2]=0;v[a+576>>2]=0;v[a+580>>2]=0;v[a+584>>2]=0;v[a+696>>2]=0;v[a+688>>2]=0;v[a+692>>2]=0;v[a+632>>2]=0;v[a+624>>2]=0;v[a+628>>2]=0;v[a+616>>2]=0;v[a+620>>2]=1082261504;v[a+608>>2]=0;v[a+612>>2]=1082556416;v[a+600>>2]=0;v[a+604>>2]=1080541184;v[a+592>>2]=0;v[a+596>>2]=1080705024;v[a+20>>2]=0;v[a+12>>2]=0;v[a+16>>2]=0;g:{if(t[a+547|0]<=-1){v[a+540>>2]=0;c=v[a+536>>2];break g}t[a+547|0]=0}v[c>>2]=0;v[a+680>>2]=0;v[a+684>>2]=-1074790400;t[a+672|0]=0;v[a+664>>2]=0;v[a+668>>2]=1072693248;v[a+660>>2]=0;v[a+652>>2]=0;v[a+656>>2]=0;return a|0}b=P()|0;O()|0;v[a+24>>2]=457656}T(b|0);L()}function Yeb(a){a=a|0;var 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;f=v[a+572>>2];b=v[a+664>>2];a:{if((f|0)<(b|0)|(f|0)>=v[a+668>>2]){break a}f=Ub[v[a+220>>2]](a,v[a+680>>2]+(f-b|0)|0)|0;k=Ub[v[a+228>>2]](a,(v[a+680>>2]+v[a+572>>2]|0)-v[a+664>>2]|0)|0;b=v[a+580>>2];m=f+(b<<1)|0;f=v[a+672>>2];d=m+(f<<1)|0;c=v[a+656>>2];e=(c|0)/v[a+584>>2]|0;f=f+(b+k|0)|0;g=v[a+644>>2];b:{if(!w[a+648|0]){k=c+b|0;c=g+(e<<2)|0;b=v[a+660>>2];if(!w[a+649|0]){break b}if((b|0)<=(k|0)){break a}while(1){t[d+1|0]=w[c|0]&248|w[c+1|0]>>>5;t[d|0]=w[c+1|0]<<3&224|w[c+2|0]>>>3;t[f|0]=w[c+3|0];c=c+4|0;b=v[a+584>>2];f=b+f|0;d=(b<<1)+d|0;k=b+k|0;if((k|0)>2]){continue}break}break a}k=c+b|0;c=g+(e<<3)|0;b=v[a+660>>2];if(w[a+649|0]){if((b|0)<=(k|0)){break a}while(1){t[d+1|0]=w[c|0]&248|w[c+2|0]>>>5;t[d|0]=w[c+2|0]<<3&224|w[c+4|0]>>>3;t[f|0]=w[c+6|0];c=c+8|0;b=v[a+584>>2];f=b+f|0;d=(b<<1)+d|0;k=b+k|0;if((k|0)>2]){continue}break}break a}if((b|0)<=(k|0)){break a}while(1){b=w[c+6|0]|w[c+7|0]<<8;e=(b<<8|b>>>8)&65535;if(e){m=f;c:{d:{if((e|0)!=65535){g=w[f|0];g=g<<8|g;if(g){break d}}t[d+1|0]=w[c|0]&248|w[c+2|0]>>>5;t[d|0]=w[c+2|0]<<3&224|w[c+4|0]>>>3;b=w[c+6|0];break c}if((g|0)==65535){g=w[c+4|0]|w[c+5|0]<<8;i=w[c+2|0]|w[c+3|0]<<8;b=B(e,(i<<8|i>>>8)&65535);i=w[d|0];j=w[d+1|0];h=i>>>3&28|j<<5;l=h<<8&64512|h;h=e^65535;b=(b+B(l,h)|0)+32768|0;b=(b>>>16|0)+b|0;l=w[c|0]|w[c+1|0]<<8;i=(B(e,(l<<8|l>>>8)&65535)+B(h,i<<11&63488|i<<3)|0)+32768|0;t[d+1|0]=b>>>29|(i>>>16|0)+i>>>24&248;g=(B((g<<8|g>>>8)&65535,e)+B(B(h,j&248),257)|0)+32768|0;t[d|0]=b>>>21&224|(g>>>16|0)+g>>>27;b=e>>>8|0;break c}i=w[c+4|0]|w[c+5|0]<<8;j=e^65535;b=B(j,g^65535)^-1;l=b>>>16|0;e=(e<<16>>>0)/(l>>>0)|0;h=w[c+2|0]|w[c+3|0]<<8;n=B(e,(h<<8|h>>>8)&65535);g=(B(g,j)>>>0)/(l>>>0)|0;h=w[d|0];l=w[d+1|0];j=h>>>3&28|l<<5;j=(n+B(g,j<<8&64512|j)|0)+32767|0;n=B(g,h<<11&63488|h<<3);h=w[c|0]|w[c+1|0]<<8;t[d+1|0]=j>>>29|(n+B(e,(h<<8|h>>>8)&65535)|0)+32767>>>24&248;t[d|0]=j>>>21&224|(B(B(g,l&248),257)+B(e,(i<<8|i>>>8)&65535)|0)+32767>>>27;b=b>>>24|0}t[m|0]=b}c=c+8|0;b=v[a+584>>2];f=b+f|0;d=(b<<1)+d|0;k=b+k|0;if((k|0)>2]){continue}break}break a}if((b|0)<=(k|0)){break a}while(1){b=w[c+3|0];if(b){e:{f:{if((b|0)!=255){e=w[f|0];if(e){break f}}t[d+1|0]=w[c|0]&248|w[c+1|0]>>>5;t[d|0]=w[c+1|0]<<3&224|w[c+2|0]>>>3;b=w[c+3|0];break e}if((e|0)==255){g=w[c+2|0];e=b^255;i=w[d+1|0];h=w[d|0];j=(B(w[c+1|0],b)+B(e,(i<<5|h>>>3)&252)|0)+128|0;j=(j>>>8&255)+j|0;i=(B(e,i&248)+B(w[c|0],b)|0)+128|0;t[d+1|0]=j>>>13&7|(i>>>8&255)+i>>>8&248;e=(B(e,h<<3&248)+B(b,g)|0)+128|0;t[d|0]=(e>>>8&255)+e>>>11&31|j>>>5&224;break e}i=w[c+2|0];m=b<<8;h=b^255;b=B(h,e^255)>>>8^-1;j=b&255;g=(m>>>0)/(j>>>0)|0;e=(B(e,h)>>>0)/(j>>>0)|0;h=(B(g,w[c+1|0])+B(e,w[d+1|0])|0)+127|0;t[d+1|0]=h>>>13&7|(B(g,w[c|0])+B(e,w[d|0])|0)+127>>>8&248;t[d|0]=(B(g,i)+B(e,w[d+2|0])|0)+127>>>11&31|h>>>5&224}t[f|0]=b}c=c+4|0;b=v[a+584>>2];f=b+f|0;d=(b<<1)+d|0;k=b+k|0;if((k|0)>2]){continue}break}}f=v[a+680>>2]+v[a+572>>2]|0;b=v[a+664>>2];d=v[a+556>>2];c=v[a+672>>2];g:{if((c|0)>=v[a+552>>2]){if(d){break g}d=0}v[a+552>>2]=c}c=v[a+676>>2];if((c|0)>(d|0)){v[a+556>>2]=c}d=v[a+564>>2];f=f-b|0;h:{if((f|0)>=v[a+560>>2]){if(d){break h}d=0}v[a+560>>2]=f}if((d|0)<=(f|0)){v[a+564>>2]=f+1}return 0}function oqa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;f=Qb-128|0;Qb=f;h=Tk(f+88|0);t[a+16|0]=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{c=v[b>>2];k:{if(!(v[c+8>>2]?c:0)){v[299999]=0;e=a+36|0;c=Q(4538,f+8|0,e|0)|0;b=v[299999];v[299999]=0;l:{m:{n:{o:{if((b|0)!=1){v[299999]=0;b=Q(4342,f+48|0,c|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break o}v[c+24>>2]=981312;v[c>>2]=981280;d=v[c+28>>2];if(d){g=v[d+4>>2]-1|0;v[d+4>>2]=g;if(!g){Ub[v[v[d>>2]+4>>2]](d)}v[c+28>>2]=0}v[c+16>>2]=981312;d=v[c+20>>2];if(d){g=v[d+4>>2]-1|0;v[d+4>>2]=g;if(!g){Ub[v[v[d>>2]+4>>2]](d)}v[c+20>>2]=0}ec(c+8|0);if(w[b+32|0]){break n}v[299999]=0;V(4536,b|0,1);c=v[299999];v[299999]=0;if((c|0)!=1){if(w[b+32|0]){break n}v[299999]=0;Q(4535,a+20|0,e|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){break m}}a=P()|0;O()|0;$c(b);break a}a=P()|0;O()|0;break a}a=P()|0;O()|0;$c(c);break a}v[299999]=0;V(4537,f+8|0,b|0);c=v[299999];v[299999]=0;if((c|0)==1){break l}v[299999]=0;Q(4535,a+20|0,f+8|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}ec(f+8|0)}v[b+24>>2]=981312;v[b>>2]=981280;c=v[b+28>>2];if(c){d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(!d){Ub[v[v[c>>2]+4>>2]](c)}v[b+28>>2]=0}v[b+16>>2]=981312;c=v[b+20>>2];if(c){d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(!d){Ub[v[v[c>>2]+4>>2]](c)}v[b+20>>2]=0}ec(b+8|0);break k}a=P()|0;O()|0;$c(b);break a}v[299999]=0;d=Q(4538,f+8|0,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break j}v[299999]=0;c=Q(4342,f+48|0,d|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break i}v[d+24>>2]=981312;v[d>>2]=981280;e=v[d+28>>2];if(e){g=v[e+4>>2]-1|0;v[e+4>>2]=g;if(!g){Ub[v[v[e>>2]+4>>2]](e)}v[d+28>>2]=0}v[d+16>>2]=981312;e=v[d+20>>2];if(e){g=v[e+4>>2]-1|0;v[e+4>>2]=g;if(!g){Ub[v[v[e>>2]+4>>2]](e)}v[d+20>>2]=0}ec(d+8|0);p:{if(w[c+32|0]){break p}v[299999]=0;V(4536,c|0,1);d=v[299999];v[299999]=0;if((d|0)==1){break h}if(w[c+32|0]){break p}v[299999]=0;b=Q(4341,f+8|0,b|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break g}v[299999]=0;Q(4478,c|0,b|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break f}v[b+24>>2]=981312;v[b>>2]=981280;d=v[b+28>>2];if(d){e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(!e){Ub[v[v[d>>2]+4>>2]](d)}v[b+28>>2]=0}v[b+16>>2]=981312;d=v[b+20>>2];if(d){e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(!e){Ub[v[v[d>>2]+4>>2]](d)}v[b+20>>2]=0}ec(b+8|0)}v[299999]=0;V(4537,f+8|0,c|0);b=v[299999];v[299999]=0;if((b|0)==1){break e}v[299999]=0;Q(4535,a+20|0,f+8|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break d}ec(f+8|0);v[c+24>>2]=981312;v[c>>2]=981280;b=v[c+28>>2];if(b){d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(!d){Ub[v[v[b>>2]+4>>2]](b)}v[c+28>>2]=0}v[c+16>>2]=981312;b=v[c+20>>2];if(b){d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(!d){Ub[v[v[b>>2]+4>>2]](b)}v[c+20>>2]=0}ec(c+8|0)}v[299999]=0;Q(4433,a+28|0,358460)|0;a=v[299999];v[299999]=0;if((a|0)==1){break c}v[h+24>>2]=981312;v[h>>2]=981280;a=v[h+28>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Ub[v[v[a>>2]+4>>2]](a)}v[h+28>>2]=0}v[h+16>>2]=981312;a=v[h+20>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Ub[v[v[a>>2]+4>>2]](a)}v[h+20>>2]=0}ec(h+8|0);Qb=f+128|0;return}a=P()|0;O()|0;break a}a=P()|0;O()|0;$c(d);break a}a=P()|0;O()|0;$c(c);break a}a=P()|0;O()|0;$c(c);break a}a=P()|0;O()|0;$c(b);$c(c);break a}a=P()|0;O()|0;$c(c);break a}a=P()|0;O()|0;ec(f+8|0);$c(c);break a}a=P()|0;O()|0;break a}a=P()|0;O()|0;ec(f+8|0);$c(b)}$c(h);T(a|0);L()}function QLa(a,b){a=a|0;b=b|0;var 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,x=0;m=v[a+20>>2];e=v[a+16>>2];k=v[a+12>>2];h=v[a+8>>2];g=v[a+4>>2];j=v[g+8>>2];n=w[j+68|0];l=w[j+67|0];r=w[j+66|0];i=w[j+65|0];a:{b:{c:{q=w[j+64|0];if(q){if(i&255){break c}c=0;break a}if(i&255){break b}c=2;break a}c=1;break a}c=3}while(1){d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{switch(c|0){case 0:i=0;if(h>>>0>=k>>>0|e>>>0>=m>>>0){break d}c=(l<<24>>24<<2)+j|0;while(1){d=w[h|0];if(d>>>0<32){break d}h=h+1|0;n:{if(d<<24>>24>=0){u[e>>1]=d;e=e+2|0;break n}d=v[c>>2]+(d&127)|0;if(d>>>0<=65535){u[e>>1]=d;e=e+2|0;break n}u[e>>1]=(d>>>10|0)-10304;o=d&1023|-9216;d=e+2|0;if(m>>>0<=d>>>0){break l}u[e+2>>1]=o;e=e+4|0}if(h>>>0>=k>>>0){break d}if(e>>>0>>0){continue}break};break d;case 1:if(h>>>0>=k>>>0){d=e;break g}o:{p:{q:{r:{s:{t:{u:{if(e>>>0>>0){o=g+37|0;x=g+38|0;c=h;while(1){h=c+1|0;s=2;d=x;p=2;f=w[c|0];c=f;v:{w:{x:{switch(i&255){case 4:c=f&31;p=5;l=f>>>5|0;break w;case 6:break o;case 5:break p;case 3:break q;case 2:break r;case 1:break w;case 0:break x;default:break v}}if(1<>>0<=15){if(f>>>0>=9){p=4;s=1;d=o;c=n;A:{switch(f-11|0){case 4:break j;case 0:break w;case 3:break A;default:break s}}p=1;d=o;break y}r=f-1|0;p=3;break z}if(f>>>0<24){break t}l=f-24|0;p=6}s=1;d=o}c=n}t[d|0]=f;t[g+36|0]=s;i=p;n=c}c=h;if((k|0)!=(c|0)){continue}break}break h}v[b>>2]=15;d=e;break g}u[e>>1]=f;e=e+2|0;break k}l=f-16|0;break k}v[b>>2]=12;t[g+36|0]=1;t[g+37|0]=f;break i}u[e>>1]=n<<8|f;e=e+2|0;break k}d=r<<24>>24;if(f<<24>>24>=0){u[e>>1]=v[(d<<2)+862416>>2]+f;e=e+2|0;break k}d=v[(d<<2)+j>>2]+(f&127)|0;if(d>>>0<=65535){u[e>>1]=d;e=e+2|0;break k}u[e>>1]=(d>>>10|0)-10304;c=d&1023|-9216;d=e+2|0;if(m>>>0>d>>>0){u[e+2>>1]=c;e=e+4|0;break k}t[g+65|0]=1;u[g+116>>1]=c;v[b>>2]=15;i=3;break g}v[(l<<24>>24<<2)+j>>2]=((n&255)<<15|f<<7)+65536;break k}B:{if(!f){t[g+36|0]=2;t[g+38|0]=0;break B}C:{c=(l<<24>>24<<2)+j|0;d=f<<7;D:{if(f>>>0<=103){break D}d=(f<<7)+44032|0;if((f-104&255)>>>0<=63){break D}if(f>>>0<249){break C}d=v[(f<<2)+861452>>2]}v[c>>2]=d;break k}t[g+36|0]=2;t[g+38|0]=f}i=6;d=e;break g;case 2:i=0;c=h+1|0;E:{if(k>>>0<=c>>>0|e>>>0>=m>>>0){break E}while(1){d=w[h|0];if((d+32&255)>>>0<19){break E}u[e>>1]=w[c|0]|d<<8;d=h+2|0;e=e+2|0;c=h+3|0;if(k>>>0>c>>>0){h=d;if(e>>>0>>0){continue}}break}h=d}c=3;continue;default:break m}}q=0;if(h>>>0>=k>>>0){d=e;break g}F:{G:{if(e>>>0>>0){c=h;while(1){h=c+1|0;c=w[c|0];H:{I:{J:{K:{switch(i&255){case 1:t[g+38|0]=c;i=2;d=2;break J;case 2:break F;case 0:break K;default:break H}}d=c+32|0;if((d&255)>>>0<=18){if(c>>>0<232){q=1;l=d;break k}if(c>>>0<240){break f}if((c|0)!=240){if((c|0)!=241){break G}i=4;break e}t[g+37|0]=240;d=1;i=1;break I}t[g+37|0]=c;i=2;d=1}n=c}t[g+36|0]=d}c=h;if((k|0)!=(c|0)){continue}break}break h}v[b>>2]=15;d=e;break g}v[b>>2]=12;t[g+36|0]=1;t[g+37|0]=c;break i}u[e>>1]=c|n<<8;e=e+2|0;break j}t[g+65|0]=1;u[g+116>>1]=o;v[b>>2]=15;break g}c=0;continue}c=2;continue}i=0;d=e;break g}d=e;h=k}b=v[b>>2];L:{if((b|0)>=1){c=0;if((b|0)!=15){break L}}c=i;if(c&255){break L}c=0;t[g+36|0]=0}t[j+68|0]=n;t[j+67|0]=l;t[j+66|0]=r;t[j+65|0]=c;t[j+64|0]=q;v[a+16>>2]=d;v[a+8>>2]=h;return}l=c+24|0;i=6}q=1;t[g+36|0]=1;t[g+37|0]=c}c=1;continue}}function tN(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;m=Qb-16|0;Qb=m;a:{b:{c:{d:{e:{f:{if(b>>>0<=36){while(1){f=v[a+4>>2];g:{if(f>>>0>2]){v[a+4>>2]=f+1;f=w[f|0];break g}f=Re(a)}if((f|0)==32|f-9>>>0<5){continue}break}h:{i:{switch(f-43|0){case 0:case 2:break i;default:break h}}n=(f|0)==45?-1:0;f=v[a+4>>2];if(f>>>0>2]){v[a+4>>2]=f+1;f=w[f|0];break h}f=Re(a)}j:{if(!(b&-17|(f|0)!=48)){f=v[a+4>>2];k:{if(f>>>0>2]){v[a+4>>2]=f+1;f=w[f|0];break k}f=Re(a)}if((f&-33)==88){b=16;f=v[a+4>>2];l:{if(f>>>0>2]){v[a+4>>2]=f+1;f=w[f|0];break l}f=Re(a)}if(w[f+1010209|0]<16){break e}if(!v[a+104>>2]){d=0;e=0;if(c){break a}break b}b=v[a+4>>2];v[a+4>>2]=b-1;if(!c){break b}v[a+4>>2]=b-2;d=0;e=0;break a}if(b){break j}b=8;break e}b=b?b:10;if(b>>>0>w[f+1010209|0]){break j}if(v[a+104>>2]){v[a+4>>2]=v[a+4>>2]-1}d=0;e=0;Bj(a,0,0);v[299402]=28;break a}if((b|0)!=10){break e}c=f-48|0;if(c>>>0<=9){b=0;while(1){b=B(b,10)+c|0;g=b>>>0<429496729;f=v[a+4>>2];m:{if(f>>>0>2]){v[a+4>>2]=f+1;f=w[f|0];break m}f=Re(a)}c=f-48|0;if(g&c>>>0<=9){continue}break}g=b}if(c>>>0>9){break f}h=Bib(g,0,10,0);b=Tb;while(1){f=c+h|0;i=f>>>0>>0?b+1|0:b;g=f;k=(i|0)==429496729&f>>>0>=2576980378|i>>>0>429496729;b=v[a+4>>2];n:{if(b>>>0>2]){v[a+4>>2]=b+1;f=w[b|0];break n}f=Re(a)}c=f-48|0;if(k|c>>>0>9){break f}h=Bib(g,i,10,0);b=Tb;if((b|0)==-1&(c^-1)>>>0>=h>>>0|(b|0)!=-1){continue}break}b=10;break d}v[299402]=28;d=0;e=0;break a}b=10;if(c>>>0<=9){break d}break c}if(b-1&b){h=w[f+1010209|0];if(h>>>0>>0){c=0;while(1){c=B(b,c)+h|0;g=c>>>0<119304647;f=v[a+4>>2];o:{if(f>>>0>2]){v[a+4>>2]=f+1;f=w[f|0];break o}f=Re(a)}h=w[f+1010209|0];if(g&h>>>0>>0){continue}break}g=c}if(b>>>0<=h>>>0){break d}k=b;while(1){j=Bib(g,i,k,0);l=Tb;c=h&255;if((l|0)==-1&(c^-1)>>>0>>0){break d}i=l;f=c+j|0;i=f>>>0>>0?i+1|0:i;g=f;c=b;f=v[a+4>>2];p:{if(f>>>0>2]){v[a+4>>2]=f+1;f=w[f|0];break p}f=Re(a)}h=w[f+1010209|0];if(c>>>0<=h>>>0){break d}xh(m,k,0,0,0,g,i,0,0);if(!(v[m+8>>2]|v[m+12>>2])){continue}break}break d}l=t[(B(b,23)>>>5&7)+1010465|0];c=w[f+1010209|0];if(c>>>0>>0){while(1){h=h<>>0<134217728;f=v[a+4>>2];q:{if(f>>>0>2]){v[a+4>>2]=f+1;f=w[f|0];break q}f=Re(a)}c=w[f+1010209|0];if(g&c>>>0>>0){continue}break}g=h}if(b>>>0<=c>>>0){break d}j=l&31;if((l&63)>>>0>=32){h=0;j=-1>>>j|0}else{k=-1>>>j|0;h=k;j=h|(1<>>0>j>>>0){break d}while(1){k=c&255;f=g;c=l;g=c&31;if((c&63)>>>0>=32){i=f<>>32-g|i<>2];r:{if(c>>>0>2]){v[a+4>>2]=c+1;f=w[c|0];break r}f=Re(a)}c=w[f+1010209|0];if(k>>>0<=c>>>0){break d}if((i|0)==(h|0)&g>>>0<=j>>>0|i>>>0>>0){continue}break}}if(w[f+1010209|0]>=b>>>0){break c}while(1){f=v[a+4>>2];s:{if(f>>>0>2]){v[a+4>>2]=f+1;c=w[f|0];break s}c=Re(a)}if(w[c+1010209|0]>>0){continue}break}v[299402]=68;n=d&1?0:n;g=d;i=e}if(v[a+104>>2]){v[a+4>>2]=v[a+4>>2]-1}t:{if((e|0)==(i|0)&d>>>0>g>>>0|e>>>0>i>>>0){break t}if(!(n|d&1)){v[299402]=68;a=d;d=a-1|0;e=e-(a>>>0<1)|0;break a}if((e|0)==(i|0)&d>>>0>=g>>>0|e>>>0>i>>>0){break t}v[299402]=68;break a}a=n;c=a^g;d=c-a|0;b=a>>31;e=(b^i)-((a>>>0>c>>>0)+b|0)|0;break a}d=0;e=0;Bj(a,0,0)}Qb=m+16|0;Tb=e;return d}function BT(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0;i=Qb-384|0;Qb=i;a:{b:{switch(b-1|0){case 0:b=v[a+40>>2];j=g*6;k=j*f+d;l=j*.5;g=l*e;A[i+88>>3]=k-g;j=j*e+c;e=l*f;A[i+80>>3]=j+e;Jc(b,351284,i+80|0);b=v[a+40>>2];A[i+72>>3]=d-g;A[i+64>>3]=e+c;Jc(b,351377,i- -64|0);b=v[a+40>>2];A[i+56>>3]=g+d;A[i+48>>3]=c-e;Jc(b,351377,i+48|0);b=v[a+40>>2];A[i+40>>3]=k+g;A[i+32>>3]=j-e;Jc(b,351377,i+32|0);_c(v[a+40>>2],h?354659:350176);break a;case 1:g=g*6*.5;c=g*e+c;b=Qb-224|0;Qb=b;m=v[a+40>>2];d=g*f+d;A[b+216>>3]=d;e=c+g;A[b+208>>3]=e;Jc(m,351284,b+208|0);m=v[a+40>>2];j=d+g;A[b+200>>3]=j;A[b+192>>3]=c;A[b+184>>3]=j;f=g*.55228475;l=f+c;A[b+176>>3]=l;n=f+d;A[b+168>>3]=n;A[b+160>>3]=e;Jc(m,354608,b+160|0);m=v[a+40>>2];A[b+152>>3]=d;k=c-g;A[b+144>>3]=k;A[b+136>>3]=n;A[b+128>>3]=k;A[b+120>>3]=j;j=c-f;A[b+112>>3]=j;Jc(m,354608,b+112|0);m=v[a+40>>2];g=d-g;A[b+104>>3]=g;A[b+96>>3]=c;A[b+88>>3]=g;A[b+80>>3]=j;c=d-f;A[b+72>>3]=c;A[b+64>>3]=k;Jc(m,354608,b- -64|0);m=v[a+40>>2];A[b+56>>3]=d;A[b+48>>3]=e;A[b+40>>3]=c;A[b+32>>3]=e;A[b+24>>3]=g;A[b+16>>3]=l;Jc(m,354608,b+16|0);a=v[a+40>>2];v[b>>2]=h?303074:237307;Jc(a,346845,b);Qb=b+224|0;break a;case 2:b=v[a+40>>2];A[i+144>>3]=c;A[i+152>>3]=d;Jc(b,351284,i+144|0);b=v[a+40>>2];g=g*6;k=g*.5;j=k*e;k=k*f;l=k+d;A[i+136>>3]=j+l;n=j+c;A[i+128>>3]=n-k;Jc(b,351377,i+128|0);b=v[a+40>>2];A[i+120>>3]=g*f+d;A[i+112>>3]=g*e+c;Jc(b,351377,i+112|0);b=v[a+40>>2];A[i+104>>3]=l-j;A[i+96>>3]=k+n;Jc(b,351377,i+96|0);_c(v[a+40>>2],h?354659:350176);break a;case 3:b=v[a+40>>2];g=g*10;j=g*.8660254037844387;k=j*f+d;g=g*.49999999999999994;l=g*e;A[i+200>>3]=k-l;f=g*f;e=j*e+c;A[i+192>>3]=f+e;Jc(b,351284,i+192|0);b=v[a+40>>2];A[i+184>>3]=d;A[i+176>>3]=c;Jc(b,351377,i+176|0);b=v[a+40>>2];A[i+168>>3]=l+k;A[i+160>>3]=e-f;Jc(b,351377,i+160|0);_c(v[a+40>>2],354898);break a;case 4:b=v[a+40>>2];g=g*10;j=g*.8660254037844387;k=j*f+d;g=g*.49999999999999994;l=g*e;A[i+248>>3]=k-l;f=g*f;e=j*e+c;A[i+240>>3]=f+e;Jc(b,351284,i+240|0);b=v[a+40>>2];A[i+232>>3]=d;A[i+224>>3]=c;Jc(b,351377,i+224|0);b=v[a+40>>2];A[i+216>>3]=l+k;A[i+208>>3]=e-f;Jc(b,351377,i+208|0);_c(v[a+40>>2],h?354659:350176);break a;case 5:b=v[a+40>>2];g=g*6*.5;e=g*e;A[i+280>>3]=d-e;f=g*f;A[i+272>>3]=f+c;Jc(b,351284,i+272|0);b=v[a+40>>2];A[i+264>>3]=e+d;A[i+256>>3]=c-f;Jc(b,351377,i+256|0);_c(v[a+40>>2],354898);break a;case 6:b=v[a+40>>2];g=g*10;j=g*.49999999999999994;k=j*e;A[i+328>>3]=d-k;j=j*f;A[i+320>>3]=j+c;Jc(b,351284,i+320|0);b=v[a+40>>2];g=g*.8660254037844387;A[i+312>>3]=g*f+d;A[i+304>>3]=g*e+c;Jc(b,351377,i+304|0);b=v[a+40>>2];A[i+296>>3]=k+d;A[i+288>>3]=c-j;Jc(b,351377,i+288|0);_c(v[a+40>>2],354898);break a;case 7:b=v[a+40>>2];g=g*10;j=g*.49999999999999994;k=j*e;A[i+376>>3]=d-k;j=j*f;A[i+368>>3]=j+c;Jc(b,351284,i+368|0);b=v[a+40>>2];g=g*.8660254037844387;A[i+360>>3]=g*f+d;A[i+352>>3]=g*e+c;Jc(b,351377,i+352|0);b=v[a+40>>2];A[i+344>>3]=k+d;A[i+336>>3]=c-j;Jc(b,351377,i+336|0);_c(v[a+40>>2],h?354659:350176);break a;case 8:break b;default:break a}}b=v[a+40>>2];g=g*6*.5;j=g*.8660254037844387;k=j*e;g=g*.49999999999999994;l=g*f;A[i+24>>3]=d-k-l;f=j*f;e=g*e;A[i+16>>3]=f+c-e;Jc(b,351284,i+16|0);b=v[a+40>>2];A[i+8>>3]=l+(k+d);A[i>>3]=e+(c-f);Jc(b,351377,i);_c(v[a+40>>2],354898)}Qb=i+384|0}function csa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=+d;var e=0,f=0;e=Qb-176|0;Qb=e;v[e+8>>2]=0;v[e>>2]=0;v[e+4>>2]=0;v[299999]=0;b=Y(4216,e+32|0,b|0,24)|0;a=v[299999];v[299999]=0;a:{if((a|0)!=1){v[e+24>>2]=0;v[e+16>>2]=0;v[e+20>>2]=0;while(1){v[299999]=0;a=Y(4217,b|0,e+16|0,44)|0;f=v[299999];v[299999]=0;b:{c:{d:{if((f|0)!=1){if(w[(a+v[v[a>>2]-12>>2]|0)+16|0]&5){break c}f=v[e+4>>2];if((f|0)!=v[e+8>>2]){if(t[e+27|0]>=0){a=v[e+20>>2];v[f>>2]=v[e+16>>2];v[f+4>>2]=a;v[f+8>>2]=v[e+24>>2];break b}v[299999]=0;U(2345,f|0,v[e+16>>2],v[e+20>>2]);a=v[299999];v[299999]=0;if((a|0)!=1){break b}a=P()|0;O()|0;v[e+4>>2]=f;break d}v[299999]=0;V(2652,e|0,e+16|0);a=v[299999];v[299999]=0;if((a|0)!=1){continue}}a=P()|0;O()|0}if(t[e+27|0]<=-1){dc(v[e+16>>2])}lf(Jx(b)- -64|0);break a}if(t[e+27|0]<=-1){dc(v[e+16>>2])}v[b+64>>2]=977544;v[b>>2]=977504;v[b+12>>2]=977356;v[b+8>>2]=977524;if(t[b+55|0]<=-1){dc(v[b+44>>2])}kh(b+12|0);lf(b- -64|0);e:{f:{g:{h:{i:{f=v[e>>2];if((v[e+4>>2]-f|0)/12>>>0>3){b=0;a=w[f+11|0];j:{if(!(a<<24>>24<0?v[f+4>>2]:a)){break j}v[299999]=0;b=Y(4306,f|0,0,10)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break j}a=W(0)|0;O()|0;ea(a|0)|0;v[299999]=0;ba(4230);a=v[299999];v[299999]=0;if((a|0)==1){break h}v[299999]=0;b=Y(4385,f|0,0,10)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break j}a=W(0)|0;O()|0;ea(a|0)|0;v[299999]=0;ba(4230);a=v[299999];v[299999]=0;b=0;if((a|0)==1){break h}}A[c>>3]=+(b|0)*d;b=v[e>>2];if((v[e+4>>2]-b|0)/12>>>0<=1){break i}a=0;f=w[b+23|0];k:{if(!(f<<24>>24<0?v[b+16>>2]:f)){break k}v[299999]=0;b=b+12|0;a=Y(4306,b|0,0,10)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break k}a=W(0)|0;O()|0;ea(a|0)|0;v[299999]=0;ba(4230);a=v[299999];v[299999]=0;if((a|0)==1){break h}v[299999]=0;a=Y(4385,b|0,0,10)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break k}a=W(0)|0;O()|0;ea(a|0)|0;v[299999]=0;ba(4230);b=v[299999];v[299999]=0;a=0;if((b|0)==1){break h}}A[c+8>>3]=+(a|0)*d;b=v[e>>2];if((v[e+4>>2]-b|0)/12>>>0<3){break i}a=0;f=w[b+35|0];l:{if(!(f<<24>>24<0?v[b+28>>2]:f)){break l}v[299999]=0;b=b+24|0;a=Y(4306,b|0,0,10)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break l}a=W(0)|0;O()|0;ea(a|0)|0;v[299999]=0;ba(4230);a=v[299999];v[299999]=0;if((a|0)==1){break h}v[299999]=0;a=Y(4385,b|0,0,10)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break l}a=W(0)|0;O()|0;ea(a|0)|0;v[299999]=0;ba(4230);b=v[299999];v[299999]=0;a=0;if((b|0)==1){break h}}A[c+16>>3]=+(a|0)*d;b=v[e>>2];if((v[e+4>>2]-b|0)/12>>>0<4){break i}a=0;f=w[b+47|0];m:{if(!(f<<24>>24<0?v[b+40>>2]:f)){break m}v[299999]=0;b=b+36|0;a=Y(4306,b|0,0,10)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break m}a=W(0)|0;O()|0;ea(a|0)|0;v[299999]=0;ba(4230);a=v[299999];v[299999]=0;if((a|0)==1){break h}v[299999]=0;a=Y(4385,b|0,0,10)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break m}a=W(0)|0;O()|0;ea(a|0)|0;v[299999]=0;ba(4230);b=v[299999];v[299999]=0;a=0;if((b|0)==1){break h}}A[c+24>>3]=+(a|0)*d;f=v[e>>2]}if(!f){break e}a=v[e+4>>2];if((f|0)!=(a|0)){break g}a=f;break f}v[299999]=0;R(4218,e|0);a=v[299999];v[299999]=0;if((a|0)==1){break h}L()}a=P()|0;O()|0;Qg(e);T(a|0);L()}while(1){b=a-12|0;if(t[a-1|0]<=-1){dc(v[b>>2])}a=b;if((b|0)!=(f|0)){continue}break}a=v[e>>2]}v[e+4>>2]=f;dc(a)}Qb=e+176|0;return}v[e+4>>2]=f+12;continue}}a=P()|0;O()|0}Qg(e);T(a|0);L()}function kB(a){var 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;h=Qb-16|0;Qb=h;d=jc(160);a:{if(!d){d=0;break a}v[d>>2]=1032700;b:{if(bi(a,h+12|0)){break b}if(bi(a,d+8|0)){break b}f=1032688;c:{if(!v[258013]){break c}g=v[d+8>>2];b=1032048;while(1){if((g|0)==v[b>>2]){f=b;break c}c=b;b=b+32|0;if(v[c+36>>2]){continue}break}}v[d+4>>2]=f;v[d>>2]=f+12;c=v[h+12>>2];v[d+12>>2]=c;d:{e:{m=d;f:{g:{if((c|0)==1){b=0;c=v[a+8>>2];if(c&7){break b}b=v[a+64>>2];if((b|0)>=0&(b|0)<=v[a+60>>2]){break e}b=v[a+28>>2];v[a+28>>2]=b-1;h:{if((b|0)>=1){v[a+60>>2]=v[a+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;i=w[b|0];break h}i=Hc(a,1);if((i|0)==-1){break d}c=v[a+8>>2]}b=0;if(c&7){break b}b=v[a+64>>2];if((b|0)>=0&(b|0)<=v[a+60>>2]){break e}b=v[a+28>>2];v[a+28>>2]=b-1;i:{if((b|0)>=1){v[a+60>>2]=v[a+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;f=w[b|0];break i}f=Hc(a,1);if((f|0)==-1){break d}c=v[a+8>>2]}b=0;if(c&7){break b}b=v[a+64>>2];if((b|0)>=0&(b|0)<=v[a+60>>2]){break e}b=v[a+28>>2];v[a+28>>2]=b-1;j:{if((b|0)>=1){v[a+60>>2]=v[a+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;j=w[b|0];break j}j=Hc(a,1);if((j|0)==-1){break d}c=v[a+8>>2]}b=0;if(c&7){break b}b=v[a+64>>2];if((b|0)>=0&(b|0)<=v[a+60>>2]){break e}b=v[a+28>>2];v[a+28>>2]=b-1;k:{if((b|0)>=1){v[a+60>>2]=v[a+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;k=w[b|0];break k}k=Hc(a,1);if((k|0)==-1){break d}c=v[a+8>>2]}b=0;if(c&7){break b}b=v[a+64>>2];if((b|0)>=0&(b|0)<=v[a+60>>2]){break e}b=v[a+28>>2];v[a+28>>2]=b-1;l:{if((b|0)>=1){v[a+60>>2]=v[a+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;e=w[b|0];break l}e=Hc(a,1);if((e|0)==-1){break d}c=v[a+8>>2]}b=0;if(c&7){break b}b=v[a+64>>2];if((b|0)>=0&(b|0)<=v[a+60>>2]){break e}b=v[a+28>>2];v[a+28>>2]=b-1;m:{if((b|0)>=1){v[a+60>>2]=v[a+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;l=w[b|0];break m}l=Hc(a,1);if((l|0)==-1){break d}c=v[a+8>>2]}b=0;if(c&7){break b}b=v[a+64>>2];if((b|0)>=0&(b|0)<=v[a+60>>2]){break e}b=v[a+28>>2];v[a+28>>2]=b-1;n:{if((b|0)>=1){v[a+60>>2]=v[a+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;g=w[b|0];break n}g=Hc(a,1);if((g|0)==-1){break d}c=v[a+8>>2]}b=0;if(c&7){break b}b=v[a+64>>2];if((b|0)>=0&(b|0)<=v[a+60>>2]){break e}b=v[a+28>>2];v[a+28>>2]=b-1;if((b|0)>=1){v[a+60>>2]=v[a+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;b=w[b|0];break g}b=Hc(a,1);if((b|0)==-1){break d}break g}b=c-8|0;break f}n=b&255;b=k&255|(j<<8&65280|(f<<16&16711680|i<<24));c=b>>>16|0;b=l&255|(e<<8&65280|b<<16);f=n|(g<<8&65280|b<<16);c=c<<16|b>>>16;b=d;if((c|0)==1|c>>>0>1){Sc(42539,0);c=-1}else{c=f}v[b+12>>2]=c;b=c-16|0}v[m+16>>2]=b;b=0;if(c-1>>>0<7){break b}if(!(w[v[d+4>>2]+8|0]&3)){c=di(0,0);if(!c){break b}if(Cm(c,a,v[d+16>>2])){Sc(43461,0);b=c;break b}Dm(c);o:{a=v[v[d>>2]+8>>2];if(!a){break o}if(!(Ub[a|0](d,c)|0)){break o}Sc(44323,0);b=c;break b}Te(c)}if(v[282952]<1){break a}g=v[252391];e=Qb-32|0;Qb=e;b=1032688;p:{if(!v[258013]){break p}f=v[d+8>>2];a=1032048;while(1){if((f|0)==v[a>>2]){b=a;break p}c=a;a=a+32|0;if(v[c+36>>2]){continue}break}}Rc(46535,9,1,g);c=v[d+8>>2];a=v[d+12>>2];v[e+4>>2]=v[b+4>>2];v[e+8>>2]=34;v[e+12>>2]=c;v[e+16>>2]=a;v[e>>2]=34;wc(g,47216,e);a=v[v[d>>2]+16>>2];if(a){Ub[a|0](d,g)}Qb=e+32|0;break a}v[a+8>>2]=c|4}b=0}a=v[v[d>>2]+4>>2];if(a){Ub[a|0](d)}dc(d);d=0;if(!b){break a}Te(b)}Qb=h+16|0;return d}function p0(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0;i=Qb-48|0;Qb=i;g=v[c>>2];f=v[c+4>>2];c=0;v[i+32>>2]=0;v[i+24>>2]=0;v[i+28>>2]=0;j=f-g|0;r=j>>2;f=0;a:{b:{c:{if(j){if((j|0)<=-1){break c}o=fc(j);v[i+24>>2]=o;v[i+32>>2]=(r<<2)+o;f=gc(o,g,j)+j|0;v[i+28>>2]=f}v[i+8>>2]=b;LI(o,f,i+8|0);v[i+16>>2]=0;v[i+8>>2]=0;if(!j){break a}u=e?12:0;s=d+4|0;j=0;g=0;while(1){h=v[(n<<2)+o>>2];m=v[v[v[b+12>>2]+(h<<2)>>2]+4>>2];d:{e:{f:{if(c>>>0>j>>>0){v[j>>2]=h;k=j+4|0;v[i+12>>2]=k;break f}c=c-j|0;c=c>>2>>>0<536870911?c?c>>1:1:1073741823;if(c>>>0>=1073741824){break e}c=c<<2;f=fc(c);v[f>>2]=h;c=c+f|0;v[i+16>>2]=c;k=f+4|0;v[i+12>>2]=k;v[i+8>>2]=f;if(j){dc(j)}j=f}f=j;g:{h:{n=n+1|0;i:{if(r>>>0<=n>>>0){break i}while(1){l=v[(n<<2)+o>>2];if((m|0)!=v[v[v[b+12>>2]+(l<<2)>>2]+4>>2]){break i}j:{if(c>>>0>k>>>0){v[k>>2]=l;k=k+4|0;v[i+12>>2]=k;break j}p=k-f|0;h=p>>2;q=h+1|0;if(q>>>0>=1073741824){break g}j=c-f|0;c=j>>1;c=j>>2>>>0<536870911?c>>>0>>0?q:c:1073741823;if(c){if(c>>>0>=1073741824){break h}j=fc(c<<2)}else{j=0}h=j+(h<<2)|0;v[h>>2]=l;c=(c<<2)+j|0;k=h+4|0;if((p|0)>=1){gc(j,f,p)}v[i+16>>2]=c;v[i+12>>2]=k;v[i+8>>2]=j;if(f){dc(f)}f=j}n=n+1|0;if((r|0)!=(n|0)){continue}break}n=r}v[i+40>>2]=b;KI(j,k,i+40|0);q=m-u|0;No(a,1,q-g|0);c=0;if((j|0)==(k|0)){break d}while(1){h=v[j>>2];f=h<<2;p=v[v[f+v[b+12>>2]>>2]>>2]-u|0;No(a,4,p-c|0);f=v[f+v[b+12>>2]>>2];c=i;k:{if(e){f=yI(f,6);break k}if(f){v[f+16>>2]=v[f+16>>2]+1}}v[c+40>>2]=f;Gs(f);r0(a,v[v[i+40>>2]+40>>2],p,q,0);l:{f=s;c=v[f>>2];if(!c){c=s;f=c;break l}while(1){g=v[c+16>>2];m:{if((g|0)>(h|0)){g=v[c>>2];if(g){break m}f=c;break l}if((g|0)>=(h|0)){break l}f=c+4|0;g=v[c+4>>2];if(!g){break l}c=f}f=c;c=g;continue}}l=v[f>>2];if(!l){l=fc(24);v[l+16>>2]=h;v[l+8>>2]=c;v[l>>2]=0;v[l+4>>2]=0;v[l+20>>2]=0;v[f>>2]=l;c=v[v[d>>2]>>2];if(c){v[d>>2]=c;f=v[f>>2]}else{f=l}m=v[s>>2];c=(m|0)==(f|0);t[f+12|0]=c;n:{if(c){break n}while(1){h=v[f+8>>2];if(w[h+12|0]){break n}o:{c=v[h+8>>2];g=v[c>>2];p:{if((h|0)==(g|0)){g=v[c+4>>2];if(!(!g|w[g+12|0])){break o}q:{if(v[h>>2]==(f|0)){g=h;break q}g=v[h+4>>2];m=v[g>>2];v[h+4>>2]=m;f=g;if(m){v[m+8>>2]=h;c=v[h+8>>2]}v[f+8>>2]=c;c=v[h+8>>2];v[(((h|0)!=v[c>>2])<<2)+c>>2]=g;v[g>>2]=h;v[h+8>>2]=g;c=v[g+8>>2]}t[g+12|0]=1;t[c+12|0]=0;f=v[c>>2];g=v[f+4>>2];v[c>>2]=g;if(g){v[g+8>>2]=c}v[f+8>>2]=v[c+8>>2];g=v[c+8>>2];v[((v[g>>2]!=(c|0))<<2)+g>>2]=f;v[f+4>>2]=c;break p}if(!(w[g+12|0]|!g)){break o}r:{if(v[h>>2]!=(f|0)){f=h;break r}m=v[f+4>>2];v[h>>2]=m;g=f;if(m){v[m+8>>2]=h;c=v[h+8>>2]}v[g+8>>2]=c;c=v[h+8>>2];v[(((h|0)!=v[c>>2])<<2)+c>>2]=f;v[f+4>>2]=h;v[h+8>>2]=f;c=v[f+8>>2]}t[f+12|0]=1;t[c+12|0]=0;f=v[c+4>>2];g=v[f>>2];v[c+4>>2]=g;if(g){v[g+8>>2]=c}v[f+8>>2]=v[c+8>>2];g=v[c+8>>2];v[((v[g>>2]!=(c|0))<<2)+g>>2]=f;v[f>>2]=c}v[c+8>>2]=f;break n}t[h+12|0]=1;h=(c|0)==(m|0);t[c+12|0]=h;t[g+12|0]=1;f=c;if(!h){continue}break}}v[d+8>>2]=v[d+8>>2]+1;k=v[i+12>>2]}v[l+20>>2]=x;dd(i+40|0);x=x+1|0;c=p;j=j+4|0;if((k|0)!=(j|0)){continue}break}break d}cf(9961);L()}ue(i+8|0);L()}cf(9961);L()}s0(a,4);if(n>>>0>=r>>>0){break b}c=v[i+16>>2];j=v[i+8>>2];o=v[i+24>>2];g=q;continue}}ue(i+24|0);L()}c=v[i+8>>2]}No(a,5,0);No(a,5,r);MI(a);if(c){dc(c)}a=v[i+24>>2];if(a){dc(a)}Qb=i+48|0}function vE(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0;m=Qb-16|0;Qb=m;a:{b:{f=v[a+56>>2];f=Ub[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break b}g=v[a+56>>2];g=Ub[v[v[g>>2]+28>>2]](g)|0;if((g|0)==-1){break b}i=v[a+56>>2];i=Ub[v[v[i>>2]+28>>2]](i)|0;if((i|0)==-1){break b}j=v[a+56>>2];j=Ub[v[v[j>>2]+28>>2]](j)|0;if((j|0)==-1){break b}v[a+68>>2]=v[a+68>>2]+4;k=v[a+56>>2];k=Ub[v[v[k>>2]+28>>2]](k)|0;if((k|0)==-1){break b}h=v[a+56>>2];h=Ub[v[v[h>>2]+28>>2]](h)|0;if((h|0)==-1){break b}l=v[a+56>>2];l=Ub[v[v[l>>2]+28>>2]](l)|0;if((l|0)==-1){break b}n=v[a+56>>2];n=Ub[v[v[n>>2]+28>>2]](n)|0;if((n|0)==-1){break b}v[a+68>>2]=v[a+68>>2]+4;o=v[a+56>>2];o=Ub[v[v[o>>2]+28>>2]](o)|0;if((o|0)==-1){break b}p=v[a+56>>2];p=Ub[v[v[p>>2]+28>>2]](p)|0;if((p|0)==-1){break b}q=v[a+56>>2];q=Ub[v[v[q>>2]+28>>2]](q)|0;if((q|0)==-1){break b}r=v[a+56>>2];r=Ub[v[v[r>>2]+28>>2]](r)|0;if((r|0)==-1){break b}v[a+68>>2]=v[a+68>>2]+4;s=v[a+56>>2];s=Ub[v[v[s>>2]+28>>2]](s)|0;if((s|0)==-1){break b}t=v[a+56>>2];t=Ub[v[v[t>>2]+28>>2]](t)|0;if((t|0)==-1){break b}u=v[a+56>>2];u=Ub[v[v[u>>2]+28>>2]](u)|0;if((u|0)==-1){break b}w=v[a+56>>2];w=Ub[v[v[w>>2]+28>>2]](w)|0;if((w|0)==-1){break b}v[a+68>>2]=v[a+68>>2]+4;x=v[a+56>>2];x=Ub[v[v[x>>2]+28>>2]](x)|0;if((x|0)==-1){break b}v[a+68>>2]=v[a+68>>2]+1;c:{j=j|(g<<16|f<<24|i<<8);if(j){g=n|(h<<16|k<<24|l<<8);if(g){break c}}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,230066,0);break a}d:{f=v[a+24>>2];e:{if(f>>>0<(j>>>0)/10>>>0){break e}i=w|(t<<16|s<<24|u<<8);h=v[a+28>>2];k=r|(p<<16|o<<24|q<<8);if(h>>>0<(g>>>0)/10>>>0|(k>>>0)/10>>>0>f>>>0){break e}if(h>>>0>=(i>>>0)/10>>>0){break d}}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,230002,0);v[a+72>>2]=1;break a}f=v[a+56>>2];h=Ub[v[v[f>>2]+28>>2]](f)|0;if((h|0)==-1){break b}v[a+68>>2]=v[a+68>>2]+1;l=h&1;if(!l){f=v[a+56>>2];f=Ub[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break b}v[a+68>>2]=v[a+68>>2]+1;v[m+8>>2]=f&128?f|-256:f;f=v[a+56>>2];f=Ub[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break b}v[a+68>>2]=v[a+68>>2]+1;v[m>>2]=f&128?f|-256:f;f=v[a+56>>2];f=Ub[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break b}v[a+68>>2]=v[a+68>>2]+1;v[m+12>>2]=f&128?f|-256:f;f=v[a+56>>2];f=Ub[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break b}v[a+68>>2]=v[a+68>>2]+1;v[m+4>>2]=f&128?f|-256:f}f:{if(!(!e|(c|0)!=0)|v[a+28>>2]!=-1){break f}f=g+i|0;if(f>>>0<=y[a+32>>2]){break f}gy(v[a+40>>2],f,v[a+36>>2])}if(e>>>0>=2){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,229038,0);break a}g:{if((e|0)==1){f=cy(a,v[d>>2]);if(f){if(!(Ub[v[v[f>>2]+8>>2]](f)|0)){break g}}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,228981,0);break a}f=zE(v[a+40>>2],k,i,j,g)}dy(a,l,0);Ul(v[a+76>>2]);g=tE(a,j,g,l,h>>>1&1,f,0,0,m+8|0,m);h:{if(c){ik(v[a+40>>2],g,k,i,x&7);Ub[v[v[g>>2]+4>>2]](g);break h}v[g+4>>2]=b;Tc(v[a+48>>2],g)}if((e|0)==1){c=v[d>>2];b=0;i:{d=v[a+52>>2];e=v[d+8>>2];if((e|0)<1){break i}f=v[d>>2];while(1){if((c|0)!=v[v[f+(b<<2)>>2]+4>>2]){b=b+1|0;if((e|0)!=(b|0)){continue}break i}break}ji(d,b);break a}a=v[a+48>>2];d=v[a+8>>2];if((d|0)>=1){e=v[a>>2];b=0;while(1){if((c|0)==v[v[e+(b<<2)>>2]+4>>2]){ji(a,b);break a}b=b+1|0;if((d|0)!=(b|0)){continue}break}}break a}Ub[v[v[f>>2]+4>>2]](f);break a}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,258367,0)}Qb=m+16|0}function xg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=Qb-16|0;Qb=i;h=v[a>>2];a:{b:{f=v[a+4>>2];c:{if(!f){f=0;break c}if(v[a+40>>2]){break c}e=f<<1;if((e|0)<0){d=6;break b}if(e){d=10;if((e|0)>268435455){break b}f=f<<4;d=Ub[v[h+4>>2]](h,f)|0;if(!d){d=64;break b}ic(d,0,f);f=v[a+4>>2]}t[a+16|0]=1;v[a+40>>2]=d;j=(f<<3)+d|0;v[a+44>>2]=j;e=a;g=v[a+24>>2];if(g){g=(u[a+22>>1]<<3)+g|0}else{g=0}v[e+60>>2]=g;g=a- -64|0;e=v[a+28>>2];if(e){e=e+u[a+22>>1]|0}else{e=0}v[g>>2]=e;e=a;g=v[a+32>>2];if(g){g=g+(u[a+20>>1]<<1)|0}else{g=0}v[e+68>>2]=g;e=u[a+22>>1]<<3;v[a+80>>2]=e+j;v[a+76>>2]=d+e}d:{e:{f:{b=u[a+58>>1]+(u[a+22>>1]+b|0)|0;j=b>>>0<=f>>>0;g:{if(j){b=f;break g}d=10;b=b+7&-8;if(b>>>0>32767){break a}e=v[a+24>>2];if((f|0)<0){break f}h:{i:{j:{if(!b){if(e){Ub[v[h+8>>2]](h,e)}e=0;v[a+24>>2]=0;g=a+28|0;d=v[g>>2];if(!d){break j}Ub[v[h+8>>2]](h,d);break j}k:{l:{m:{if(!f){e=Ub[v[h+4>>2]](h,b<<3)|0;d=!e<<6;break m}d=Ub[v[h+12>>2]](h,f<<3,b<<3,e)|0;e=d?d:e;d=!d<<6}if(!(d|!e)){if((b|0)>(f|0)){break l}}v[a+24>>2]=e;if(!d){break k}break e}ic((f<<3)+e|0,0,b-f<<3);v[a+24>>2]=e}g=a+28|0;n:{if(!f){e=Ub[v[h+4>>2]](h,b)|0;d=!e<<6;break n}e=v[a+28>>2];d=Ub[v[h+12>>2]](h,f,b,e)|0;e=d?d:e;d=!d<<6}if(d|!e|(b|0)<=(f|0)){break i}ic(e+f|0,0,b-f|0)}v[i+12>>2]=0;v[g>>2]=e;break h}v[i+12>>2]=d;v[a+28>>2]=e;if(d){break e}}if(w[a+16|0]){e=Cc(h,8,f<<1,b<<1,v[a+40>>2],i+12|0);v[a+40>>2]=e;d=v[i+12>>2];if(d){break e}d=b<<3;f=f<<3;Wd(d+e|0,f+e|0,f);v[a+44>>2]=d+v[a+40>>2]}v[a+4>>2]=b}if(!(v[a+40>>2]|!b)){f=0;e=b<<1;if((e|0)<0){d=6;break d}if(e){d=10;if((e|0)>268435455){break d}d=v[a>>2];b=b<<4;f=Ub[v[d+4>>2]](d,b)|0;if(!f){d=64;break d}ic(f,0,b);b=v[a+4>>2]}t[a+16|0]=1;v[a+40>>2]=f;e=(b<<3)+f|0;v[a+44>>2]=e;b=a;d=v[a+24>>2];if(d){d=d+(u[a+22>>1]<<3)|0}else{d=0}v[b+60>>2]=d;d=a- -64|0;b=v[a+28>>2];if(b){b=b+u[a+22>>1]|0}else{b=0}v[d>>2]=b;b=a;d=v[a+32>>2];if(d){d=d+(u[a+20>>1]<<1)|0}else{d=0}v[b+68>>2]=d;b=u[a+22>>1]<<3;v[a+80>>2]=b+e;v[a+76>>2]=b+f}d=0;v[i+12>>2]=0;b=u[a+56>>1]+(u[a+20>>1]+c|0)|0;c=v[a+8>>2];o:{if(b>>>0>c>>>0){d=10;b=b+3&-4;if(b>>>0>32767){break a}k=a,l=Cc(h,2,c,b,v[a+32>>2],i+12|0),v[k+32>>2]=l;d=v[i+12>>2];if(d){break e}v[a+8>>2]=b;break o}if(j){break a}}d=0;b=a;c=v[a+24>>2];if(c){c=c+(u[a+22>>1]<<3)|0}else{c=0}v[b+60>>2]=c;c=a- -64|0;b=v[a+28>>2];if(b){b=b+u[a+22>>1]|0}else{b=0}v[c>>2]=b;b=a;c=v[a+32>>2];if(c){c=c+(u[a+20>>1]<<1)|0}else{c=0}v[b+68>>2]=c;if(!w[a+16|0]){break a}b=u[a+22>>1]<<3;v[a+76>>2]=b+v[a+40>>2];v[a+80>>2]=b+v[a+44>>2];break a}d=6;v[i+12>>2]=6;v[a+24>>2]=e}b=v[a>>2];c=v[a+24>>2];if(c){Ub[v[b+8>>2]](b,c)}v[a+24>>2]=0;c=v[a+28>>2];if(c){Ub[v[b+8>>2]](b,c)}v[a+28>>2]=0;c=v[a+32>>2];if(c){Ub[v[b+8>>2]](b,c)}v[a+32>>2]=0;c=v[a+40>>2];if(c){Ub[v[b+8>>2]](b,c)}v[a+40>>2]=0;c=v[a+52>>2];if(c){Ub[v[b+8>>2]](b,c)}v[a+20>>2]=0;v[a+36>>2]=0;v[a+44>>2]=0;v[a+48>>2]=0;v[a+52>>2]=0;v[a+12>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a+88>>2]=0;b=v[a+24>>2];v[a+56>>2]=v[a+20>>2];v[a+60>>2]=b;c=v[a+32>>2];b=a- -64|0;v[b>>2]=v[a+28>>2];v[b+4>>2]=c;b=v[a+40>>2];v[a+72>>2]=v[a+36>>2];v[a+76>>2]=b;b=v[a+48>>2];v[a+80>>2]=v[a+44>>2];v[a+84>>2]=b;break a}v[a+40>>2]=0;v[i+12>>2]=d;break a}v[a+40>>2]=0;v[i+12>>2]=d}Qb=i+16|0;return d}function Zeb(a){a=a|0;var 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;b=v[a+572>>2];d=v[a+664>>2];a:{if((b|0)<(d|0)|(b|0)>=v[a+668>>2]){break a}j=Ub[v[a+220>>2]](a,v[a+680>>2]+(b-d|0)|0)|0;b=v[a+580>>2];d=(j+(b<<2)|0)+B(v[a+672>>2],3)|0;g=v[a+656>>2];c=(g|0)/v[a+584>>2]|0;e=v[a+644>>2];b:{if(!w[a+648|0]){g=b+g|0;b=e+(c<<2)|0;c=v[a+660>>2];if(!w[a+649|0]){break b}if((c|0)<=(g|0)){break a}while(1){t[d+1|0]=w[b+2|0]&248|w[b+1|0]>>>5;t[d|0]=w[b+1|0]<<3&224|w[b|0]>>>3;t[d+2|0]=w[b+3|0];b=b+4|0;c=v[a+584>>2];d=B(c,3)+d|0;g=c+g|0;if((g|0)>2]){continue}break}break a}g=b+g|0;b=e+(c<<3)|0;c=v[a+660>>2];if(w[a+649|0]){if((c|0)<=(g|0)){break a}while(1){t[d+1|0]=w[b+4|0]&248|w[b+2|0]>>>5;t[d|0]=w[b+2|0]<<3&224|w[b|0]>>>3;t[d+2|0]=w[b+6|0];b=b+8|0;c=v[a+584>>2];d=B(c,3)+d|0;g=c+g|0;if((g|0)>2]){continue}break}break a}if((c|0)<=(g|0)){break a}while(1){c=w[b+6|0]|w[b+7|0]<<8;c=(c<<8|c>>>8)&65535;c:{if(!c){break c}d:{if((c|0)!=65535){e=w[d+2|0];e=e<<8|e;if(e){break d}}t[d+1|0]=w[b+4|0]&248|w[b+2|0]>>>5;t[d|0]=w[b+2|0]<<3&224|w[b|0]>>>3;t[d+2|0]=w[b+6|0];break c}if((e|0)==65535){e=w[b|0]|w[b+1|0]<<8;f=w[b+2|0]|w[b+3|0]<<8;o=B(c,(f<<8|f>>>8)&65535);f=w[d|0];k=w[d+1|0];h=f>>>3&28|k<<5;j=h<<8&64512|h;h=c^65535;i=(o+B(j,h)|0)+32768|0;i=(i>>>16|0)+i|0;l=w[b+4|0]|w[b+5|0]<<8;f=(B(c,(l<<8|l>>>8)&65535)+B(h,f<<11&63488|f<<3)|0)+32768|0;t[d+1|0]=i>>>29|(f>>>16|0)+f>>>24&248;c=(B((e<<8|e>>>8)&65535,c)+B(B(h,k&248),257)|0)+32768|0;t[d|0]=i>>>21&224|(c>>>16|0)+c>>>27;break c}h=w[d+1|0];f=w[d|0];k=w[b|0]|w[b+1|0]<<8;i=w[b+2|0]|w[b+3|0]<<8;l=w[b+4|0]|w[b+5|0]<<8;m=c^65535;n=B(m,e^65535)^-1;t[d+2|0]=n>>>24;j=B(e,m);m=n>>>16|0;e=(j>>>0)/(m>>>0)|0;c=(c<<16>>>0)/(m>>>0)|0;j=B(c,(i<<8|i>>>8)&65535);i=f>>>3&28|h<<5;i=(j+B(e,i<<8&64512|i)|0)+32767|0;t[d+1|0]=(B(e,f<<11&63488|f<<3)+B(c,(l<<8|l>>>8)&65535)|0)+32767>>>24&248|i>>>29;t[d|0]=i>>>21&224|(B(B(e,h&248),257)+B(c,(k<<8|k>>>8)&65535)|0)+32767>>>27}b=b+8|0;c=v[a+584>>2];d=B(c,3)+d|0;g=c+g|0;if((g|0)>2]){continue}break}break a}if((c|0)<=(g|0)){break a}while(1){c=w[b+3|0];e:{if(!c){break e}f:{if((c|0)!=255){e=w[d+2|0];if(e){break f}}t[d+1|0]=w[b+2|0]&248|w[b+1|0]>>>5;t[d|0]=w[b+1|0]<<3&224|w[b|0]>>>3;t[d+2|0]=w[b+3|0];break e}h=w[d|0];k=w[d+1|0];f=h>>>3&28|k<<5;h=h<<3;k=k&-8;if((e|0)==255){i=w[b+2|0];e=c^255;f=(B(e,f&255)+B(c,w[b+1|0])|0)+128|0;f=(f>>>8&255)+f|0;h=(B(e,h&255)+B(c,w[b|0])|0)+128|0;t[d|0]=f>>>5&224|(h>>>8&255)+h>>>11&31;c=(B(e,k&255)+B(c,i)|0)+128|0;t[d+1|0]=(c>>>8&255)+c>>>8&248|f>>>13&7;break e}i=w[b|0];l=w[b+2|0];m=w[b+1|0];n=c^255;o=B(n,e^255)>>>8^-1;t[d+2|0]=o;j=f&255;f=o&255;e=(B(e,n)>>>0)/(f>>>0)|0;c=(c<<8>>>0)/(f>>>0)|0;f=(B(j,e)+B(c,m)|0)+127|0;t[d+1|0]=(B(e,k&255)+B(c,l)|0)+127>>>8&248|f>>>13&7;t[d|0]=f>>>5&224|(B(e,h&255)+B(c,i)|0)+127>>>11&31}b=b+4|0;c=v[a+584>>2];d=B(c,3)+d|0;g=c+g|0;if((g|0)>2]){continue}break}}d=v[a+680>>2]+v[a+572>>2]|0;g=v[a+664>>2];b=v[a+556>>2];c=v[a+672>>2];g:{if((c|0)>=v[a+552>>2]){if(b){break g}b=0}v[a+552>>2]=c}j=b;b=v[a+676>>2];if((j|0)<(b|0)){v[a+556>>2]=b}b=v[a+564>>2];d=d-g|0;h:{if((d|0)>=v[a+560>>2]){if(b){break h}b=0}v[a+560>>2]=d}if((b|0)<=(d|0)){v[a+564>>2]=d+1}return 0}function _eb(a){a=a|0;var 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;b=v[a+572>>2];d=v[a+664>>2];a:{if((b|0)<(d|0)|(b|0)>=v[a+668>>2]){break a}k=Ub[v[a+220>>2]](a,v[a+680>>2]+(b-d|0)|0)|0;b=v[a+580>>2];d=(k+(b<<2)|0)+B(v[a+672>>2],3)|0;g=v[a+656>>2];c=(g|0)/v[a+584>>2]|0;e=v[a+644>>2];b:{if(!w[a+648|0]){g=b+g|0;b=e+(c<<2)|0;c=v[a+660>>2];if(!w[a+649|0]){break b}if((c|0)<=(g|0)){break a}while(1){t[d+1|0]=w[b|0]&248|w[b+1|0]>>>5;t[d|0]=w[b+1|0]<<3&224|w[b+2|0]>>>3;t[d+2|0]=w[b+3|0];b=b+4|0;c=v[a+584>>2];d=B(c,3)+d|0;g=c+g|0;if((g|0)>2]){continue}break}break a}g=b+g|0;b=e+(c<<3)|0;c=v[a+660>>2];if(w[a+649|0]){if((c|0)<=(g|0)){break a}while(1){t[d+1|0]=w[b|0]&248|w[b+2|0]>>>5;t[d|0]=w[b+2|0]<<3&224|w[b+4|0]>>>3;t[d+2|0]=w[b+6|0];b=b+8|0;c=v[a+584>>2];d=B(c,3)+d|0;g=c+g|0;if((g|0)>2]){continue}break}break a}if((c|0)<=(g|0)){break a}while(1){c=w[b+6|0]|w[b+7|0]<<8;c=(c<<8|c>>>8)&65535;c:{if(!c){break c}d:{if((c|0)!=65535){e=w[d+2|0];e=e<<8|e;if(e){break d}}t[d+1|0]=w[b|0]&248|w[b+2|0]>>>5;t[d|0]=w[b+2|0]<<3&224|w[b+4|0]>>>3;t[d+2|0]=w[b+6|0];break c}if((e|0)==65535){e=w[b+4|0]|w[b+5|0]<<8;f=w[b+2|0]|w[b+3|0]<<8;n=B(c,(f<<8|f>>>8)&65535);f=w[d|0];j=w[d+1|0];h=f>>>3&28|j<<5;k=h<<8&64512|h;h=c^65535;i=(n+B(k,h)|0)+32768|0;i=(i>>>16|0)+i|0;m=w[b|0]|w[b+1|0]<<8;f=(B(c,(m<<8|m>>>8)&65535)+B(h,f<<11&63488|f<<3)|0)+32768|0;t[d+1|0]=i>>>29|(f>>>16|0)+f>>>24&248;c=(B((e<<8|e>>>8)&65535,c)+B(B(h,j&248),257)|0)+32768|0;t[d|0]=i>>>21&224|(c>>>16|0)+c>>>27;break c}h=w[d+1|0];f=w[d|0];j=w[b|0]|w[b+1|0]<<8;i=w[b+2|0]|w[b+3|0]<<8;m=w[b+4|0]|w[b+5|0]<<8;o=c^65535;l=B(o,e^65535)^-1;t[d+2|0]=l>>>24;k=(i<<8|i>>>8)&65535;i=l>>>16|0;c=(c<<16>>>0)/(i>>>0)|0;e=(B(e,o)>>>0)/(i>>>0)|0;l=f>>>3&28|h<<5;i=(B(k,c)+B(e,l<<8&64512|l)|0)+32767|0;t[d+1|0]=i>>>29|(B(e,f<<11&63488|f<<3)+B(c,(j<<8|j>>>8)&65535)|0)+32767>>>24&248;t[d|0]=i>>>21&224|(B(B(e,h&248),257)+B(c,(m<<8|m>>>8)&65535)|0)+32767>>>27}b=b+8|0;c=v[a+584>>2];d=B(c,3)+d|0;g=c+g|0;if((g|0)>2]){continue}break}break a}if((c|0)<=(g|0)){break a}while(1){c=w[b+3|0];e:{if(!c){break e}f:{if((c|0)!=255){e=w[d+2|0];if(e){break f}}t[d+1|0]=w[b|0]&248|w[b+1|0]>>>5;t[d|0]=w[b+1|0]<<3&224|w[b+2|0]>>>3;t[d+2|0]=w[b+3|0];break e}h=w[d|0];j=w[d+1|0];f=h>>>3&28|j<<5;h=h<<3;j=j&-8;if((e|0)==255){i=w[b|0];e=c^255;h=(B(e,h&255)+B(c,w[b+2|0])|0)+128|0;f=(B(e,f&255)+B(c,w[b+1|0])|0)+128|0;f=(f>>>8&255)+f|0;t[d|0]=(h>>>8&255)+h>>>11&31|f>>>5&224;c=(B(e,j&255)+B(c,i)|0)+128|0;t[d+1|0]=f>>>13&7|(c>>>8&255)+c>>>8&248;break e}i=w[b+2|0];m=w[b+1|0];o=w[b|0];l=c^255;n=B(l,e^255)>>>8^-1;t[d+2|0]=n;k=f&255;f=n&255;e=(B(e,l)>>>0)/(f>>>0)|0;c=(c<<8>>>0)/(f>>>0)|0;f=(B(k,e)+B(c,m)|0)+127|0;t[d+1|0]=f>>>13&7|(B(e,j&255)+B(c,o)|0)+127>>>8&248;t[d|0]=(B(e,h&255)+B(c,i)|0)+127>>>11&31|f>>>5&224}b=b+4|0;c=v[a+584>>2];d=B(c,3)+d|0;g=c+g|0;if((g|0)>2]){continue}break}}d=v[a+680>>2]+v[a+572>>2]|0;g=v[a+664>>2];b=v[a+556>>2];c=v[a+672>>2];g:{if((c|0)>=v[a+552>>2]){if(b){break g}b=0}v[a+552>>2]=c}k=b;b=v[a+676>>2];if((k|0)<(b|0)){v[a+556>>2]=b}b=v[a+564>>2];d=d-g|0;h:{if((d|0)>=v[a+560>>2]){if(b){break h}b=0}v[a+560>>2]=d}if((b|0)<=(d|0)){v[a+564>>2]=d+1}return 0}function esa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=+d;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a=Qb-144|0;Qb=a;e=fc(64);v[a>>2]=e;v[a+4>>2]=13;v[a+8>>2]=-2147483632;v[299999]=0;tc(e,981216,13);h=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{if((h|0)!=1){v[e+52>>2]=0;e=v[v[b>>2]+220>>2];v[299999]=0;Q(e|0,b|0,a|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break c}if(t[a+11|0]<=-1){dc(v[a>>2])}i=a+96|0;v[i+8>>2]=0;v[i>>2]=0;v[i+4>>2]=0;v[299999]=0;e=S(1,32)|0;h=v[299999];v[299999]=0;if((h|0)==1){break e}v[a>>2]=e;v[a+4>>2]=4;v[a+8>>2]=-2147483640;v[299999]=0;tc(e,981148,4);h=v[299999];v[299999]=0;if((h|0)==1){break a}v[e+16>>2]=0;v[299999]=0;Y(4373,c|0,a|0,i|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break f}if(t[a+11|0]<=-1){dc(v[a>>2])}n:{o:{p:{q:{r:{s:{t:while(1){v[299999]=0;c=v[i+4>>2]-v[i>>2]>>2;e=v[299999];v[299999]=0;u:{if((e|0)!=1){if((c|0)>(j|0)){break u}qj(i);Qb=a+144|0;return}c=P()|0;O()|0;break d}v[299999]=0;h=a+88|0;v[h>>2]=0;c=v[299999];v[299999]=0;if((c|0)==1){break g}v[299999]=0;Y(4375,i|0,j|0,h|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break i}v[299999]=0;e=a+72|0;v[e+8>>2]=0;v[e>>2]=0;v[e+4>>2]=0;c=v[299999];v[299999]=0;if((c|0)==1){break j}v[299999]=0;c=S(1,32)|0;g=v[299999];v[299999]=0;if((g|0)==1){break l}v[a>>2]=c;v[a+4>>2]=4;v[a+8>>2]=-2147483640;v[299999]=0;tc(c,981168,4);g=v[299999];v[299999]=0;if((g|0)==1){break a}v[c+16>>2]=0;v[299999]=0;Y(4373,h|0,a|0,e|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break m}if(t[a+11|0]<=-1){dc(v[a>>2])}c=0;while(1){v[299999]=0;g=v[e+4>>2]-v[e>>2]>>2;f=v[299999];v[299999]=0;v:{if((f|0)!=1){if((c|0)<(g|0)){break v}qj(e);Nf(h);j=j+1|0;continue t}c=P()|0;O()|0;break k}v[299999]=0;g=a- -64|0;v[g>>2]=0;f=v[299999];v[299999]=0;if((f|0)!=1){v[299999]=0;Y(4375,e|0,c|0,g|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break s}v[299999]=0;V(4377,a+48|0,g|0);f=v[299999];v[299999]=0;if((f|0)==1){break r}v[299999]=0;v[a>>2]=0;t[a+11|0]=0;$(4378,a+32|0,g|0,981188,a|0);f=v[299999];v[299999]=0;if((f|0)==1){break q}if(t[a+11|0]<=-1){dc(v[a>>2])}v[299999]=0;La(4379,a|0,a+32|0,a|0,+d);f=v[299999];v[299999]=0;if((f|0)==1){break p}k=A[a+24>>3];l=A[a+8>>3]-k;A[a+136>>3]=l;f=v[v[b>>2]+236>>2];v[299999]=0;Q(f|0,b|0,a+136|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break p}m=A[a>>3];A[a+136>>3]=C(m);A[a+128>>3]=C(k);A[a+120>>3]=C(A[a+16>>3]-m);A[a+112>>3]=C(l);f=v[v[b>>2]+276>>2];v[299999]=0;aa(f|0,b|0,a+48|0,a+136|0,a+128|0,a+120|0,a+112|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break p}if(t[a+43|0]<=-1){dc(v[a+32>>2])}if(t[a+59|0]<=-1){dc(v[a+48>>2])}Nf(g);c=c+1|0;continue}break}break}c=P()|0;O()|0;break k}c=P()|0;O()|0;break n}c=P()|0;O()|0;break n}c=P()|0;O()|0;if(t[a+11|0]>-1){break o}dc(v[a>>2]);break o}c=P()|0;O()|0;if(t[a+43|0]>-1){break o}dc(v[a+32>>2])}if(t[a+59|0]>-1){break n}dc(v[a+48>>2])}Nf(g);break k}break a}c=P()|0;O()|0;if(t[a+11|0]>-1){break k}dc(v[a>>2]);break k}c=P()|0;O()|0}qj(e);break h}c=P()|0;O()|0;break h}c=P()|0;O()|0}Nf(h);break d}c=P()|0;O()|0;break d}c=P()|0;O()|0;if(t[a+11|0]>-1){break d}dc(v[a>>2]);break d}c=P()|0;O()|0}qj(i);break b}c=P()|0;O()|0;if(t[a+11|0]>-1){break b}dc(v[a>>2]);T(c|0);L()}T(c|0);L()}W(0)|0;O()|0;lc();L()}function $8a(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,n=0,o=0;n=Qb-1280|0;Qb=n;a:{if(!(w[a+285|0]|w[a+288|0])){c=1029;pc(a,1029,0,0);break a}if(!c){c=1028;pc(a,1028,0,0);break a}m=w[d|0];if(m>>>0>=6){c=1053;pc(a,1053,0,0);break a}if(w[a+325|0]!=3){c=1037;pc(a,1037,0,0);break a}ic(n+512|0,0,768);ic(n+256|0,255,256);i=ic(n,0,256);g=c-1|0;c=d+1|0;b:{c:{d:{e:{if(m>>>0<=1){while(1){f:{switch(g|0){case 1:break b;case 0:break e;default:break f}}l=w[c+1|0];h=w[c|0];if(l>>>0>>0){break c}d=g-2|0;f=l-h|0;if(d>>>0>>0){break d}k=j>>>0>l>>>0;o=l+1|0;g:{if(!(f+1&1)){f=h;c=c+2|0;break g}d=(i+512|0)+B(h,3)|0;t[d|0]=w[c+2|0];t[d+1|0]=w[c+3|0];t[d+2|0]=w[c+4|0];t[i+h|0]=1;f=h+1|0;g=g-5|0;d=g;c=c+5|0}j=k?j:o;if((h|0)==(l|0)){continue}while(1){g=(i+512|0)+B(f,3)|0;t[g|0]=w[c|0];t[g+1|0]=w[c+1|0];t[g+2|0]=w[c+2|0];t[f+i|0]=1;t[g+3|0]=w[c+3|0];t[g+4|0]=w[c+4|0];t[g+5|0]=w[c+5|0];g=f+1|0;t[g+i|0]=1;f=f+2|0;d=d-6|0;c=c+6|0;if((g|0)!=(l|0)){continue}break}g=d;continue}}d=m&254;if((d|0)==2){l=(d|0)==4;while(1){h:{switch(g|0){case 1:break b;case 0:break e;default:break h}}d=w[c|0];h=w[c+1|0];if(d>>>0>h>>>0){break c}k=h-d|0;f=k+1|0;if(g-2>>>0<(l?f<<2:f)>>>0){break d}c=c+2|0;o=d+g|0;f=f&3;if(f){while(1){g=w[c|0];t[d+i|0]=1;t[(i+256|0)+d|0]=g;d=d+1|0;c=c+1|0;f=f-1|0;if(f){continue}break}}if(k>>>0>=3){while(1){f=w[c|0];t[d+i|0]=1;g=i+256|0;t[g+d|0]=f;f=w[c+1|0];k=d+1|0;t[k+i|0]=1;t[g+k|0]=f;f=w[c+2|0];k=d+2|0;t[k+i|0]=1;t[g+k|0]=f;k=w[c+3|0];f=d+3|0;t[f+i|0]=1;t[g+f|0]=k;d=d+4|0;c=c+4|0;if((f|0)!=(h|0)){continue}break}}j=h>>>0>>0?j:h+1|0;g=(o-3|0)-h|0;continue}}l=(d|0)==4;while(1){i:{switch(g|0){case 1:break b;case 0:break e;default:break i}}d=w[c|0];f=w[c+1|0];if(d>>>0>f>>>0){break c}g=g-2|0;h=(f-d|0)+1|0;if(g>>>0<(l?h<<2:h)>>>0){break d}j=f>>>0>>0?j:f+1|0;c=c+2|0;while(1){h=(i+512|0)+B(d,3)|0;t[h|0]=w[c|0];t[h+1|0]=w[c+1|0];t[h+2|0]=w[c+2|0];h=w[c+3|0];t[d+i|0]=1;t[(i+256|0)+d|0]=h;g=g-4|0;c=c+4|0;h=(d|0)==(f|0);d=d+1|0;if(!h){continue}break}continue}}j:{k:{switch(w[a+324|0]-1|0){case 0:if(j>>>0<3){break j}c=1054;pc(a,1054,0,0);break a;case 1:if(j>>>0<5){break j}c=1054;pc(a,1054,0,0);break a;case 3:break k;default:break j}}if(j>>>0<17){break j}c=1054;pc(a,1054,0,0);break a}d=i+512|0;g=i+256|0;l:{m:{if(!w[a+114|0]){break m}c=Ub[v[a+152>>2]](1316)|0;if(!c){pc(a,1,0,0);c=1;break l}v[c+32>>2]=j;t[c+28|0]=m;v[c+4>>2]=745;v[c>>2]=746;gc(c+36|0,d,768);gc(c+804|0,g,256);gc(c+1060|0,i,256);f=v[a+700>>2];n:{if(f){v[f+8>>2]=c;break n}v[a+696>>2]=c}v[c+8>>2]=0;v[c+12>>2]=f;v[a+700>>2]=c;v[c+16>>2]=v[a+436>>2];v[c+20>>2]=v[a+440>>2];v[c+24>>2]=v[a+444>>2];if(v[a+516>>2]|(w[a+496|0]|!w[a+432|0])){break m}v[a+516>>2]=c}c=Z0(a,m,j,d,g,i)}if(c){break a}if(!w[a+112|0]){c=0;break a}c=Ub[v[b+4>>2]](a,b,e)|0;if(c){break a}b=v[e>>2];v[b+36>>2]=j;t[b+32|0]=m;c=0;d=0;while(1){a=b+B(d,5)|0;e=(i+512|0)+B(d,3)|0;t[a+40|0]=w[e|0];t[a+41|0]=w[e+1|0];t[a+42|0]=w[e+2|0];t[a+43|0]=w[(i+256|0)+d|0];t[a+44|0]=w[d+i|0];d=d+1|0;if((d|0)!=256){continue}break}break a}c=1028;pc(a,1028,0,0);break a}c=1054;pc(a,1054,0,0);break a}c=1028;pc(a,1028,0,0)}Qb=n+1280|0;return c|0}function bka(a){a=a|0;var 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,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,Q=0,S=0;f=Qb-32|0;Qb=f;F=989712;a:{b:{b=w[a+89|0];k=v[a+92>>2];c:{if(((k|0)<2?b:0)|!b&(k|0)<3){break c}F=358460;h=v[a+96>>2];if((h|0)<1){break c}t=v[a+132>>2];u=v[a+128>>2];x=v[a+144>>2];y=v[a+140>>2];z=v[a+108>>2];A=v[a+104>>2];C=v[a+120>>2];D=v[a+116>>2];while(1){b=l;l=b+1|0;d:{a=b+2|0;if((h|0)<=(a|0)){break d}e:{f:{if(!((b|0)<=(C|0)&(b|0)>=(D|0))){while(1){a=a+1|0;if((b|0)!=((a|0)%(k|0)|0)){break f}if((a|0)!=(h|0)){continue}break d}}if((b|0)<(y|0)|(b|0)>(x|0)){while(1){a=a+1|0;if((b|0)!=((a|0)%(k|0)|0)){a=vc(f+8|0,227445,271729,619,307344,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}if((a|0)!=(h|0)){continue}break d}}if((l|0)<(D|0)|(b|0)>=(C|0)){break e}K=(l|0)<(y|0)|(b|0)>=(x|0);M=(b-t<<2)+u|0;N=(b-z<<2)+A|0;Q=(l-t<<2)+u|0;S=(l-z<<2)+A|0;while(1){g:{G=a+1|0;c=(G|0)%(k|0)|0;if((c|0)==(b|0)){break g}h:{i:{j:{k:{if(!K){if((a|0)<(D|0)|(a|0)>(C|0)){break k}if((a|0)<(y|0)|(a|0)>(x|0)){break j}if((c|0)<(D|0)|(c|0)>(C|0)){break i}if((c|0)<(y|0)|(c|0)>(x|0)){break h}r=v[S>>2];i=v[N>>2];m=r-i|0;s=v[Q>>2];j=v[M>>2];n=s-j|0;g=v[(c-t<<2)+u>>2];d=v[(a-t<<2)+u>>2];o=g-d|0;p=v[(a-z<<2)+A>>2];E=i-p|0;c=v[(c-z<<2)+A>>2];q=c-p|0;H=d-j|0;a=B(o,E)+B(q,H)|0;I=r-p|0;J=d-s|0;e=B(I,o)+B(J,q)|0;l:{m:{if(!(a|e)){e=B(j-d|0,o)+B(q,E)|0;E=(e|0)>-1?(e|0)!=0:-1;e=B(j-g|0,o)+B(i-c|0,q)|0;a=1;if((B(E,(e|0)>-1?(e|0)!=0:-1)|0)<1){break m}d=B(s-d|0,o)+B(q,I)|0;e=(d|0)>-1?(d|0)!=0:-1;d=B(s-g|0,o)+B(r-c|0,q)|0;a=1;if((B(e,(d|0)>-1?(d|0)!=0:-1)|0)<1){break m}d=B(n,H)+B(p-i|0,m)|0;e=(d|0)>-1?(d|0)!=0:-1;d=B(n,J)+B(p-r|0,m)|0;a=1;if((B(e,(d|0)>-1?(d|0)!=0:-1)|0)<1){break m}a=B(g-j|0,n)+B(c-i|0,m)|0;d=(a|0)>-1?(a|0)!=0:-1;a=B(g-s|0,n)+B(c-r|0,m)|0;a=(B(d,(a|0)>-1?(a|0)!=0:-1)|0)<1;break l}c=B(j-g|0,m)+B(c-i|0,n)|0;g=(c|0)>-1?(c|0)!=0:-1;c=B(j-d|0,m)+B(p-i|0,n)|0;a=(B((a|0)>-1?(a|0)!=0:-1,(e|0)>-1?(e|0)!=0:-1)|0)<1&(B(g,(c|0)>-1?(c|0)!=0:-1)|0)<1}}if(!a){break g}F=989744;break c}a=vc(f+8|0,227445,271729,619,307344,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}a=vc(f+8|0,227445,271729,619,307344,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}a=vc(f+8|0,227445,271729,619,307344,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}a=vc(f+8|0,227445,271729,619,307344,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}a=vc(f+8|0,227445,271729,619,307344,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}a=G;if((h|0)!=(a|0)){continue}break}break d}a=vc(f+8|0,227445,271729,619,307344,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}while(1){a=a+1|0;if((b|0)==((a|0)%(k|0)|0)){if((a|0)!=(h|0)){continue}break d}break}a=vc(f+8|0,227445,271729,619,307344,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}if((h|0)!=(l|0)){continue}break}}Qb=f+32|0;return F|0}L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function Qla(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=Qb-48|0;Qb=c;f=v[b>>2];e=v[a+36>>2];if(e){id(e);dc(e)}e=v[a+64>>2];if(e){id(e);dc(e)}v[a+64>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;a:{b:{c:{d:{e:{f:{g:{h:{e=xr(f);if(e&127){a=vc(c+24|0,247776,241966,569,340569,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break h}break b}g=Cj(f);if(g>>>0>=65536){a=vc(c+24|0,276413,241966,573,340569,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break h}break b}Vk(a+40|0,0,g-1|0);if(g){while(1){Wn(f,c+16|0,3);if(!(v[a+56>>2]<=(d|0)&v[a+60>>2]>=(d|0))){a=vc(c+24|0,227445,271729,619,307752,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break h}break b}t[v[a+44>>2]+(d-v[a+48>>2]<<2)|0]=w[c+16|0];if(!(v[a+56>>2]<=(d|0)&v[a+60>>2]>=(d|0))){a=vc(c+24|0,227445,271729,619,307752,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break h}break b}t[(v[a+44>>2]+(d-v[a+48>>2]<<2)|0)+1|0]=w[c+17|0];if(!(v[a+56>>2]<=(d|0)&v[a+60>>2]>=(d|0))){a=vc(c+24|0,227445,271729,619,307752,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break h}break b}t[(v[a+44>>2]+(d-v[a+48>>2]<<2)|0)+2|0]=w[c+18|0];if(!(v[a+56>>2]<=(d|0)&v[a+60>>2]>=(d|0))){a=vc(c+24|0,227445,271729,619,307752,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break h}break b}t[(v[a+44>>2]+(d-v[a+48>>2]<<2)|0)+3|0]=(B(w[c+17|0],9)+(w[c+16|0]<<1)|0)+B(w[c+18|0],5)>>>4;d=d+1|0;if((g|0)!=(d|0)){continue}break}}if(!(e&128)){break c}h=wr(f);if((h|0)<=-1){a=vc(c+24|0,276413,241966,591,340569,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break h}break b}Vk(a+8|0,0,h-1|0);d=0;e=v[b>>2];if(e){v[e+4>>2]=v[e+4>>2]+1;d=v[b>>2]}v[299999]=0;v[c+8>>2]=d;V(4550,c+16|0,c+8|0);b=v[299999];v[299999]=0;if((b|0)!=1){f=v[c+8>>2];d=0;v[c+8>>2]=0;i:{if(!f){break i}v[299999]=0;e=v[f+4>>2]-1|0;v[f+4>>2]=e;b=v[299999];v[299999]=0;if((b|0)==1){break a}if(e){break i}v[299999]=0;R(4338,f|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}e=v[c+16>>2];b=e;if((h|0)<=0){break d}while(1){v[299999]=0;f=S(4631,e|0)|0;b=v[299999];v[299999]=0;j:{k:{if((b|0)!=1){b=f<<16;if((b|0)>=0&b>>16<(g|0)){break j}v[299999]=0;b=aa(4369,c+24|0,276413,241966,600,340569,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break k}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break h}a=P()|0;O()|0;qc(b);b=c+16|0;break f}a=P()|0;O()|0;b=c+16|0;break f}a=P()|0;O()|0;b=c+16|0;break f}if(!(v[a+28>>2]<(d|0)|v[a+24>>2]>(d|0))){u[v[a+12>>2]+(d-v[a+16>>2]<<1)>>1]=f;d=d+1|0;if((h|0)==(d|0)){break e}continue}break}v[299999]=0;b=aa(4369,c+24|0,227445,271729,619,307204,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break g}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break h}a=P()|0;O()|0;qc(b);b=c+16|0;break f}a=P()|0;O()|0;b=c+8|0;break f}L()}a=P()|0;O()|0;b=c+16|0}ec(b);T(a|0);L()}b=v[c+16>>2]}v[c+16>>2]=0;if(!b){break c}v[299999]=0;e=v[b+4>>2]-1|0;v[b+4>>2]=e;a=v[299999];v[299999]=0;if((a|0)==1){break a}if(e){break c}v[299999]=0;R(4338,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Qb=c+48|0;return}b=P()|0;O()|0;qc(a);T(b|0);L()}W(0)|0;O()|0;lc();L()}function Vk(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;m=Qb-32|0;Qb=m;d=c-b|0;a:{if((d|0)<=-2){a=vc(m+8|0,236288,241351,178,337131,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}b=P()|0;O()|0;qc(a);T(b|0);L()}b:{c:{if((d|0)==-1){b=v[a+16>>2];if((b|0)<=v[a+20>>2]){c=v[a>>2];d=v[c+16>>2];Ub[d|0](Ub[v[c+4>>2]](v[a+4>>2],b-v[a+8>>2]|0)|0,(v[a+20>>2]-v[a+16>>2]|0)+1|0)}b=v[a+4>>2];if(b){dc(b)}v[a+4>>2]=0;v[a+8>>2]=0;v[a+20>>2]=-1;v[a+12>>2]=-1;v[a+16>>2]=0;break c}e=v[a+12>>2];d=v[a+8>>2];if(!((e|0)<(c|0)|(d|0)>(b|0))){f=v[a+16>>2];d:{e:{if((f|0)>(b|0)){f=v[a>>2];e=v[f+8>>2];h=Ub[v[f+4>>2]](v[a+4>>2],b-d|0)|0;f=v[a+16>>2];d=b;break e}if((b|0)<=(f|0)){break d}h=v[a>>2];e=v[h+16>>2];h=Ub[v[h+4>>2]](v[a+4>>2],f-d|0)|0;f=b;d=v[a+16>>2]}Ub[e|0](h,f-d|0)}d=v[a+20>>2];f:{g:{if((d|0)<(c|0)){e=v[a>>2];f=v[e+8>>2];h=Ub[v[e+4>>2]](v[a+4>>2],(d-v[a+8>>2]|0)+1|0)|0;e=v[a+20>>2];d=c;break g}if((c|0)>=(d|0)){break f}d=v[a>>2];f=v[d+16>>2];h=Ub[v[d+4>>2]](v[a+4>>2],(c-v[a+8>>2]|0)+1|0)|0;e=c;d=v[a+20>>2]}Ub[f|0](h,d-e|0)}v[a+20>>2]=c;v[a+16>>2]=b;break c}f=e;e=(d|0)>(e|0);h=e?b:f;f=e?b:d;if((f|0)>(b|0)){while(1){d=h-f|0;d=(d|0)<32768?d:32768;f=f-((d|0)>8?d:8)|0;if((f|0)>(b|0)){continue}break}}if((c|0)>(h|0)){while(1){d=h-f|0;d=(d|0)<32768?d:32768;h=((d|0)>8?d:8)+h|0;if((h|0)<(c|0)){continue}break}}j=1-f|0;d=B(v[v[a>>2]>>2],j+h|0);k=ic(fc(d),0,d);h:{d=v[a+16>>2];i:{j:{if((d|0)>(b|0)){d=v[a>>2];e=v[d+8>>2];d=v[d+4>>2];v[299999]=0;d=Q(d|0,k|0,b-f|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break i}g=v[a+16>>2];v[299999]=0;V(e|0,d|0,g-b|0);d=v[299999];v[299999]=0;if((d|0)==1){break i}e=v[a+16>>2];break j}e=b;if((b|0)<=(d|0)){break j}e=v[a>>2];g=v[e+16>>2];i=v[a+4>>2];e=v[e+4>>2];l=v[a+8>>2];v[299999]=0;d=Q(e|0,i|0,d-l|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break i}e=v[a+16>>2];v[299999]=0;V(g|0,d|0,b-e|0);d=v[299999];v[299999]=0;e=b;if((d|0)==1){break i}}g=v[a+20>>2];k:{if((g|0)<(c|0)){d=v[a>>2];i=v[d+8>>2];d=v[d+4>>2];v[299999]=0;d=Q(d|0,k|0,g+j|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break i}g=v[a+20>>2];v[299999]=0;V(i|0,d|0,c-g|0);d=v[299999];v[299999]=0;if((d|0)==1){break i}d=v[a+20>>2];break k}d=c;if((g|0)<=(d|0)){break k}d=v[a>>2];g=v[d+16>>2];j=v[a+4>>2];d=v[d+4>>2];i=v[a+8>>2];v[299999]=0;d=Q(d|0,j|0,(c-i|0)+1|0)|0;j=v[299999];v[299999]=0;if((j|0)==1){break i}j=v[a+20>>2];v[299999]=0;V(g|0,d|0,j-c|0);g=v[299999];v[299999]=0;d=c;if((g|0)==1){break i}}if((d|0)<(e|0)){break h}g=v[a>>2];j=v[g+12>>2];g=v[g+4>>2];v[299999]=0;g=Q(g|0,k|0,e-f|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break i}i=v[a+4>>2];l=v[v[a>>2]+4>>2];n=v[a+8>>2];v[299999]=0;i=Q(l|0,i|0,e-n|0)|0;l=v[299999];v[299999]=0;if((l|0)==1){break i}v[299999]=0;$(j|0,g|0,i|0,(d-e|0)+1|0,1);d=v[299999];v[299999]=0;if((d|0)!=1){break h}}a=W(0)|0;O()|0;ea(a|0)|0;dc(k);v[299999]=0;ba(4483);a=v[299999];v[299999]=0;if((a|0)!=1){break a}a=P()|0;O()|0;v[299999]=0;ba(4230);b=v[299999];v[299999]=0;if((b|0)==1){break b}T(a|0);L()}d=v[a+4>>2];if(d){dc(d)}v[a+20>>2]=c;v[a+16>>2]=b;v[a+12>>2]=h;v[a+8>>2]=f;v[a+4>>2]=k}Qb=m+32|0;return}W(0)|0;O()|0;lc()}L()}function VGa(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=C(0),m=C(0),n=0,o=0,p=0,q=0,r=0,s=0,x=0,E=0,F=0,G=C(0);g=Qb-384|0;Qb=g;a:{if(!(w[a+208|0]|w[a+203|0])){nk(a,v[b+596>>2],A[b+104>>3],b+16|0);k=A[b+392>>3];e=v[a+104>>2];Ub[v[v[e>>2]+132>>2]](e,g+380|0)|0;e=v[a+104>>2];Ub[v[v[e>>2]+136>>2]](e,888352)|0;p=A[c+232>>3];q=A[c+240>>3];r=A[c+200>>3];s=A[c+224>>3];x=A[c+208>>3];E=A[c+216>>3];F=A[c+184>>3];z[g+20>>2]=A[c+192>>3]/72*25.4;z[g+16>>2]=F/72*25.4;z[g+4>>2]=E/72*25.4;z[g>>2]=x/72*25.4;m=C(r/72*25.4);G=C(s/72*25.4);i=v[c+380>>2]!=0;h=v[c+384>>2]!=0;j=Qb-32|0;Qb=j;f=g+144|0;d=f;v[d>>2]=0;v[d+4>>2]=0;v[d+24>>2]=0;v[d+28>>2]=1065353216;v[d+32>>2]=0;v[d+36>>2]=0;v[d+76>>2]=0;v[d+80>>2]=1;v[d+68>>2]=0;v[d+72>>2]=0;v[d+60>>2]=1056964608;v[d+64>>2]=1065353216;u[d+56>>1]=0;v[d+48>>2]=1065353216;v[d+52>>2]=1065353216;v[d+8>>2]=0;v[d+12>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+84>>2]=1;v[d+88>>2]=0;v[d+92>>2]=0;v[d+96>>2]=0;v[d+100>>2]=0;v[d+104>>2]=0;v[d+108>>2]=0;v[d+120>>2]=0;v[d+124>>2]=0;v[d+128>>2]=0;v[d+132>>2]=0;v[d+136>>2]=0;v[d+140>>2]=0;e=fc(24);v[d+132>>2]=e;d=e+24|0;v[f+140>>2]=d;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;v[e>>2]=0;v[e+4>>2]=0;v[f+136>>2]=d;ic(f+148|0,0,88);v[f+80>>2]=1;v[f+84>>2]=1;z[f+76>>2]=h>>>0;z[f+72>>2]=i>>>0;v[299999]=0;l=C(p);h=Pa(3142,j|0,256,C(l),C(C(q)))|0;e=v[299999];v[299999]=0;b:{if((e|0)!=1){v[f+88>>2]=v[h>>2];e=v[f+92>>2];if(e){d=v[f+96>>2];if((e|0)==(d|0)){d=e}else{while(1){i=d-12|0;n=v[i>>2];if(n){v[d-8>>2]=n;dc(n)}d=i;if((e|0)!=(d|0)){continue}break}d=v[f+92>>2]}v[f+96>>2]=e;dc(d);v[f+100>>2]=0;v[f+92>>2]=0;v[f+96>>2]=0}v[f+92>>2]=v[h+4>>2];v[f+96>>2]=v[h+8>>2];v[f+100>>2]=v[h+12>>2];e=v[h+20>>2];v[f+104>>2]=v[h+16>>2];v[f+108>>2]=e;e=v[h+28>>2];v[f+112>>2]=v[h+24>>2];v[f+116>>2]=e;e=v[g+16>>2];d=v[g+20>>2];i=v[g+4>>2];h=v[g>>2];z[f+20>>2]=G;z[f+16>>2]=m;v[f+8>>2]=h;v[f+12>>2]=i;v[f>>2]=e;v[f+4>>2]=d;Qb=j+32|0;break b}a=P()|0;O()|0;Ne(f+80|0);T(a|0);L()}k=k*255;c:{if(D(k)<2147483648){e=~~k;break c}e=-2147483648}d=v[g+232>>2];if(d){m=C((q-p)/+(d>>>0));i=v[c+8>>2];while(1){v[299999]=0;Ya(3143,c|0,+l,g+16|0);d=v[299999];v[299999]=0;if((d|0)==1){break a}d=v[v[i>>2]+20>>2];v[299999]=0;$(d|0,i|0,g+16|0,g|0,0);d=v[299999];v[299999]=0;if((d|0)==1){break a}f=v[g+8>>2];h=v[g+4>>2];j=v[g>>2];d=v[v[g+236>>2]>>2]+(o<<2)|0;t[d+3|0]=e;t[d+2|0]=B(j,255)+32768>>>16;t[d+1|0]=B(h,255)+32768>>>16;t[d|0]=B(f,255)+32768>>>16;l=C(l+m);o=o+1|0;if(o>>>0>2]){continue}break}}c=v[a+104>>2];e=kp(c,457612,457624);if(e){c=v[v[e>>2]+560>>2];v[299999]=0;V(c|0,e|0,g+144|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}c=v[a+104>>2];e=v[v[c>>2]+328>>2];v[299999]=0;Q(e|0,c|0,888336)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}c=v[a+104>>2]}v[g+16>>2]=4;e=v[v[c>>2]+292>>2];v[299999]=0;Q(e|0,c|0,g+16|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}a=v[a+104>>2];c=v[v[a>>2]+136>>2];v[299999]=0;Q(c|0,a|0,g+380|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break a}v[299999]=0;R(3139,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}Ne(g+224|0)}Qb=g+384|0;return 1}a=P()|0;O()|0;Ne(g+224|0);T(a|0);L()}function Jza(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Qb-32|0;Qb=c;v[c+16>>2]=13;v[c>>2]=13;v[a+16>>2]=0;v[a+20>>2]=0;v[a+68>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;v[a+40>>2]=0;v[a+44>>2]=0;v[a+48>>2]=0;v[a+52>>2]=0;a:{if(v[b+12>>2]<=1){kc(0,-1,227201,0);break a}hg(b,0,c+16|0);d=a;b:{c:{d:{switch(v[c+16>>2]-1|0){case 8:v[a+8>>2]=v[c+24>>2];v[a+12>>2]=v[c+28>>2];f=1;break c;default:kc(0,-1,247597,0);break b;case 0:break d}}v[a+8>>2]=v[c+24>>2]+1;f=0}v[d+4>>2]=f;d=c+16|0;hc(d);yc(b,1,d,0);e:{f:{g:{h:{if(v[c+16>>2]!=4){break h}d=v[c+24>>2];if(!mc(d,308939)){v[a>>2]=0;i:{j:{k:{l:{if(v[b+12>>2]<=2){v[a+56>>2]=0;break l}yc(b,2,c,0);d=v[c>>2];m:{if((d|0)==5){v[a+56>>2]=0;break m}if(d-1>>>0>1){break e}v[a+56>>2]=1;A[a+16>>3]=(d|0)==1?+v[c+8>>2]:A[c+8>>3]}hc(c);if(v[b+12>>2]>3){break k}}v[a+60>>2]=0;break j}yc(b,3,c,0);d=v[c>>2];n:{if((d|0)==5){v[a+60>>2]=0;break n}if(d-1>>>0>1){break e}v[a+60>>2]=1;A[a+40>>3]=(d|0)==1?+v[c+8>>2]:A[c+8>>3]}hc(c);if(v[b+12>>2]>4){break i}}v[a+64>>2]=0;break f}yc(b,4,c,0);b=v[c>>2];if((b|0)==5){v[a+64>>2]=0;hc(c);break f}if(b-1>>>0>1){break e}v[a+64>>2]=1;A[a+48>>3]=(b|0)==1?+v[c+8>>2]:A[c+8>>3];hc(c);break f}if(!mc(d,231758)){if(v[b+12>>2]>1){break g}kc(0,-1,227201,0);break b}if(!mc(d,320694)){if(v[b+12>>2]<=2){kc(0,-1,227201,0);break b}v[a>>2]=2;d=yc(b,2,c,0);b=v[c>>2];if(v[d>>2]-1>>>0<=1){e=A[c+8>>3];d=v[c+8>>2];v[a+60>>2]=1;A[a+40>>3]=(b|0)==1?+(d|0):e;hc(c);break f}if((b|0)==5){v[a+60>>2]=0;hc(c);break f}kc(0,-1,246417,0);v[a>>2]=1;hc(c);break f}if(!mc(d,309710)){if(v[b+12>>2]<=2){kc(0,-1,227201,0);break b}v[a>>2]=3;d=yc(b,2,c,0);b=v[c>>2];if(v[d>>2]-1>>>0<=1){e=A[c+8>>3];d=v[c+8>>2];v[a+56>>2]=1;A[a+16>>3]=(b|0)==1?+(d|0):e;hc(c);break f}if((b|0)==5){v[a+56>>2]=0;hc(c);break f}kc(0,-1,246417,0);v[a>>2]=1;hc(c);break f}if(!mc(d,310908)){if(v[b+12>>2]<=5){kc(0,-1,227201,0);break b}v[a>>2]=4;o:{if(v[yc(b,2,c,0)>>2]-1>>>0<=1){A[a+16>>3]=v[c>>2]==1?+v[c+8>>2]:A[c+8>>3];break o}kc(0,-1,246417,0);v[a>>2]=1}hc(c);if(v[yc(b,3,c,0)>>2]-1>>>0>=2){kc(0,-1,246417,0);v[a>>2]=1}A[a+24>>3]=v[c>>2]==1?+v[c+8>>2]:A[c+8>>3];hc(c);if(v[yc(b,4,c,0)>>2]-1>>>0>=2){kc(0,-1,246417,0);v[a>>2]=1}A[a+32>>3]=v[c>>2]==1?+v[c+8>>2]:A[c+8>>3];hc(c);if(v[yc(b,5,c,0)>>2]-1>>>0>=2){kc(0,-1,246417,0);v[a>>2]=1}A[a+40>>3]=v[c>>2]==1?+v[c+8>>2]:A[c+8>>3];hc(c);break f}if(!mc(d,322186)){if(v[b+12>>2]<=1){kc(0,-1,227201,0);break b}v[a>>2]=5;break f}if(!mc(d,320864)){if(v[b+12>>2]<=2){kc(0,-1,227201,0);break b}v[a>>2]=6;d=yc(b,2,c,0);b=v[c>>2];if(v[d>>2]-1>>>0<=1){e=A[c+8>>3];d=v[c+8>>2];v[a+60>>2]=1;A[a+40>>3]=(b|0)==1?+(d|0):e;hc(c);break f}if((b|0)==5){v[a+60>>2]=0;hc(c);break f}kc(0,-1,246417,0);v[a>>2]=1;hc(c);break f}if(mc(d,309761)){break h}if(v[b+12>>2]<=2){kc(0,-1,227201,0);break b}v[a>>2]=7;d=yc(b,2,c,0);b=v[c>>2];if(v[d>>2]-1>>>0<=1){e=A[c+8>>3];d=v[c+8>>2];v[a+56>>2]=1;A[a+16>>3]=(b|0)==1?+(d|0):e;hc(c);break f}if((b|0)==5){v[a+56>>2]=0;hc(c);break f}kc(0,-1,246417,0);v[a>>2]=1;hc(c);break f}kc(0,-1,278919,0);break b}v[a>>2]=1}hc(c+16|0);v[a+68>>2]=1;break a}kc(0,-1,246417,0);hc(c)}hc(c+16|0)}Qb=c+32|0;return a|0}function Vga(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;e=Qb-16|0;Qb=e;v[a>>2]=0;a:{b:{c:{d:{e:{f:{g:{f=v[d>>2];h:{if(!f){break h}v[299999]=0;V(5223,e+8|0,f|0);f=v[299999];v[299999]=0;i:{j:{if((f|0)!=1){v[299999]=0;d=Q(4344,d|0,e+8|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break j}d=v[d>>2];f=v[e+8>>2];v[e+8>>2]=0;if(!f){break i}v[299999]=0;g=v[f+4>>2]-1|0;v[f+4>>2]=g;h=v[299999];v[299999]=0;if((h|0)!=1){if(g){break i}v[299999]=0;R(4338,f|0);f=v[299999];v[299999]=0;if((f|0)!=1){break i}}break a}d=P()|0;O()|0;break b}d=P()|0;O()|0;ec(e+8|0);break b}if(!d){break h}if(v[d+8>>2]){break g}}v[299999]=0;$(5224,e+8|0,b|0,c|0,10);b=v[299999];v[299999]=0;k:{if((b|0)!=1){v[299999]=0;Q(4344,a|0,e+8|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break k}a=v[e+8>>2];v[e+8>>2]=0;if(!a){break f}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break f}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break f}}break a}d=P()|0;O()|0;break b}d=P()|0;O()|0;ec(e+8|0);break b}v[299999]=0;f=Km(d,323360,-1);g=v[299999];v[299999]=0;if((g|0)==1){break c}l:{if(f){v[299999]=0;f=Km(d,323858,-1);g=v[299999];v[299999]=0;if((g|0)==1){break c}if(f){break l}}v[299999]=0;$(5224,e+8|0,b|0,c|0,8);b=v[299999];v[299999]=0;m:{if((b|0)!=1){v[299999]=0;Q(4344,a|0,e+8|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break m}a=v[e+8>>2];v[e+8>>2]=0;if(!a){break f}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break f}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break f}}break a}d=P()|0;O()|0;break b}d=P()|0;O()|0;ec(e+8|0);break b}v[299999]=0;f=Km(d,324893,-1);g=v[299999];v[299999]=0;if((g|0)==1){break c}n:{o:{if(!f){break o}v[299999]=0;f=Km(d,324919,-1);g=v[299999];v[299999]=0;if((g|0)==1){break c}if(!f){break o}v[299999]=0;f=Km(d,329334,-1);g=v[299999];v[299999]=0;if((g|0)==1){break c}if(!f){break o}v[299999]=0;f=Km(d,329334,-1);g=v[299999];v[299999]=0;if((g|0)==1){break c}if(f){break n}}v[299999]=0;$(5224,e+8|0,b|0,c|0,5);b=v[299999];v[299999]=0;p:{if((b|0)!=1){v[299999]=0;Q(4344,a|0,e+8|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break p}a=v[e+8>>2];v[e+8>>2]=0;if(!a){break f}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break f}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break f}}break a}d=P()|0;O()|0;break b}d=P()|0;O()|0;ec(e+8|0);break b}v[299999]=0;f=Km(d,325690,-1);g=v[299999];v[299999]=0;if((g|0)==1){break c}q:{if(f){v[299999]=0;d=Km(d,326325,-1);f=v[299999];v[299999]=0;if((f|0)==1){break c}if(d){break q}}v[299999]=0;$(5224,e+8|0,b|0,c|0,0);b=v[299999];v[299999]=0;r:{if((b|0)!=1){v[299999]=0;Q(4344,a|0,e+8|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break r}ec(e+8|0);break f}d=P()|0;O()|0;break b}d=P()|0;O()|0;ec(e+8|0);break b}v[299999]=0;$(5224,e+8|0,b|0,c|0,10);b=v[299999];v[299999]=0;if((b|0)==1){break e}v[299999]=0;Q(4344,a|0,e+8|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break d}ec(e+8|0)}Qb=e+16|0;return}d=P()|0;O()|0;break b}d=P()|0;O()|0;ec(e+8|0);break b}d=P()|0;O()|0}ec(a);T(d|0);L()}W(0)|0;O()|0;lc();L()}function al(a,b,c,d){a=a|0;b=+b;c=+c;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;g=Qb-272|0;Qb=g;f=ic(g,0,256);A[f+264>>3]=c;A[f+256>>3]=b;a:{if(v[a+392>>2]<=0){a=0;g=0;break a}while(1){i=v[((h<<2)+a|0)+264>>2];Ub[v[v[i>>2]+16>>2]](i,f+256|0,f+(h<<3)|0);h=h+1|0;if((h|0)>2]){continue}break}b=A[f+128>>3]*65536;b:{if(D(b)<2147483648){a=~~b;break b}a=-2147483648}h=a;b=A[f+120>>3]*65536;c:{if(D(b)<2147483648){a=~~b;break c}a=-2147483648}b=A[f+112>>3]*65536;d:{if(D(b)<2147483648){j=~~b;break d}j=-2147483648}b=A[f+104>>3]*65536;e:{if(D(b)<2147483648){k=~~b;break e}k=-2147483648}b=A[f+96>>3]*65536;f:{if(D(b)<2147483648){l=~~b;break f}l=-2147483648}b=A[f+88>>3]*65536;g:{if(D(b)<2147483648){m=~~b;break g}m=-2147483648}b=A[f+80>>3]*65536;h:{if(D(b)<2147483648){n=~~b;break h}n=-2147483648}b=A[f+72>>3]*65536;i:{if(D(b)<2147483648){o=~~b;break i}o=-2147483648}b=A[f+64>>3]*65536;j:{if(D(b)<2147483648){p=~~b;break j}p=-2147483648}b=A[f+56>>3]*65536;k:{if(D(b)<2147483648){q=~~b;break k}q=-2147483648}b=A[f+48>>3]*65536;l:{if(D(b)<2147483648){r=~~b;break l}r=-2147483648}b=A[f+40>>3]*65536;m:{if(D(b)<2147483648){s=~~b;break m}s=-2147483648}b=A[f+32>>3]*65536;n:{if(D(b)<2147483648){t=~~b;break n}t=-2147483648}b=A[f+24>>3]*65536;o:{if(D(b)<2147483648){u=~~b;break o}u=-2147483648}b=A[f+16>>3]*65536;p:{if(D(b)<2147483648){e=~~b;break p}e=-2147483648}b=A[f+8>>3]*65536;q:{if(D(b)<2147483648){g=~~b;break q}g=-2147483648}i=g;b=A[f>>3]*65536;if(D(b)<2147483648){g=~~b;break a}g=-2147483648}v[d+64>>2]=h;v[d+60>>2]=a;v[d+56>>2]=j;v[d+52>>2]=k;v[d+48>>2]=l;v[d+44>>2]=m;v[d+40>>2]=n;v[d+36>>2]=o;v[d+32>>2]=p;v[d+28>>2]=q;v[d+24>>2]=r;v[d+20>>2]=s;v[d+16>>2]=t;v[d+12>>2]=u;v[d+8>>2]=e;v[d+4>>2]=i;v[d>>2]=g;a=d;b=A[f+136>>3]*65536;r:{if(D(b)<2147483648){e=~~b;break r}e=-2147483648}v[a+68>>2]=e;a=d;b=A[f+144>>3]*65536;s:{if(D(b)<2147483648){e=~~b;break s}e=-2147483648}v[a+72>>2]=e;a=d;b=A[f+152>>3]*65536;t:{if(D(b)<2147483648){e=~~b;break t}e=-2147483648}v[a+76>>2]=e;a=d;b=A[f+160>>3]*65536;u:{if(D(b)<2147483648){e=~~b;break u}e=-2147483648}v[a+80>>2]=e;a=d;b=A[f+168>>3]*65536;v:{if(D(b)<2147483648){e=~~b;break v}e=-2147483648}v[a+84>>2]=e;a=d;b=A[f+176>>3]*65536;w:{if(D(b)<2147483648){e=~~b;break w}e=-2147483648}v[a+88>>2]=e;a=d;b=A[f+184>>3]*65536;x:{if(D(b)<2147483648){e=~~b;break x}e=-2147483648}v[a+92>>2]=e;a=d;b=A[f+192>>3]*65536;y:{if(D(b)<2147483648){e=~~b;break y}e=-2147483648}v[a+96>>2]=e;a=d;b=A[f+200>>3]*65536;z:{if(D(b)<2147483648){e=~~b;break z}e=-2147483648}v[a+100>>2]=e;a=d;b=A[f+208>>3]*65536;A:{if(D(b)<2147483648){e=~~b;break A}e=-2147483648}v[a+104>>2]=e;a=d;b=A[f+216>>3]*65536;B:{if(D(b)<2147483648){e=~~b;break B}e=-2147483648}v[a+108>>2]=e;a=d;b=A[f+224>>3]*65536;C:{if(D(b)<2147483648){e=~~b;break C}e=-2147483648}v[a+112>>2]=e;a=d;b=A[f+232>>3]*65536;D:{if(D(b)<2147483648){e=~~b;break D}e=-2147483648}v[a+116>>2]=e;a=d;b=A[f+240>>3]*65536;E:{if(D(b)<2147483648){e=~~b;break E}e=-2147483648}v[a+120>>2]=e;b=A[f+248>>3]*65536;F:{if(D(b)<2147483648){a=~~b;break F}a=-2147483648}v[d+124>>2]=a;Qb=f+272|0}function sn(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;t[c+20|0]=0;t[c+21|0]=0;t[c+22|0]=0;t[c+23|0]=0;d=w[c+68|0]|w[c+69|0]<<8|(w[c+70|0]<<16|w[c+71|0]<<24);e=d+(w[c+24|0]|w[c+25|0]<<8|(w[c+26|0]<<16|w[c+27|0]<<24))|0;t[c+68|0]=e;t[c+69|0]=e>>>8;t[c+70|0]=e>>>16;t[c+71|0]=e>>>24;d=w[c+64|0]|w[c+65|0]<<8|(w[c+66|0]<<16|w[c+67|0]<<24)|b<>>8;t[c+66|0]=d>>>16;t[c+67|0]=d>>>24;g=c+72|0;if((e|0)>=8){b=w[c+328|0]|w[c+329|0]<<8|(w[c+330|0]<<16|w[c+331|0]<<24);while(1){e=b+1|0;t[c+328|0]=e;t[c+329|0]=e>>>8;t[c+330|0]=e>>>16;t[c+331|0]=e>>>24;t[(b+c|0)+72|0]=d;b=w[c+328|0]|w[c+329|0]<<8|(w[c+330|0]<<16|w[c+331|0]<<24);if((b|0)>=255){d=v[a+1096>>2];Ub[v[v[d>>2]+44>>2]](d,b&255)|0;b=v[a+1096>>2];Ub[v[v[b>>2]+16>>2]](b,g,1,w[c+328|0]|w[c+329|0]<<8|(w[c+330|0]<<16|w[c+331|0]<<24))|0;t[c+328|0]=0;t[c+329|0]=0;t[c+330|0]=0;t[c+331|0]=0;b=0}d=(w[c+64|0]|w[c+65|0]<<8|(w[c+66|0]<<16|w[c+67|0]<<24))>>>8|0;t[c+64|0]=d;t[c+65|0]=d>>>8;t[c+66|0]=d>>>16;t[c+67|0]=d>>>24;f=w[c+68|0]|w[c+69|0]<<8|(w[c+70|0]<<16|w[c+71|0]<<24);e=f-8|0;t[c+68|0]=e;t[c+69|0]=e>>>8;t[c+70|0]=e>>>16;t[c+71|0]=e>>>24;if((f|0)>15){continue}break}}b=(w[c+32|0]|w[c+33|0]<<8|(w[c+34|0]<<16|w[c+35|0]<<24))+1|0;t[c+32|0]=b;t[c+33|0]=b>>>8;t[c+34|0]=b>>>16;t[c+35|0]=b>>>24;h=w[c+36|0]|w[c+37|0]<<8|(w[c+38|0]<<16|w[c+39|0]<<24);if((h|0)<=(b|0)){i=w[c+24|0]|w[c+25|0]<<8|(w[c+26|0]<<16|w[c+27|0]<<24);f=i+1|0;t[c+24|0]=f;t[c+25|0]=f>>>8;t[c+26|0]=f>>>16;t[c+27|0]=f>>>24;f=h+(1<>>8;t[c+38|0]=f>>>16;t[c+39|0]=f>>>24}if((b|0)>=(w[c+44|0]|w[c+45|0]<<8|(w[c+46|0]<<16|w[c+47|0]<<24))){b=(w[c+24|0]|w[c+25|0]<<8|(w[c+26|0]<<16|w[c+27|0]<<24))+e|0;t[c+68|0]=b;t[c+69|0]=b>>>8;t[c+70|0]=b>>>16;t[c+71|0]=b>>>24;d=(w[c+56|0]|w[c+57|0]<<8|(w[c+58|0]<<16|w[c+59|0]<<24))<>>8;t[c+66|0]=d>>>16;t[c+67|0]=d>>>24;if((b|0)>=8){b=w[c+328|0]|w[c+329|0]<<8|(w[c+330|0]<<16|w[c+331|0]<<24);while(1){e=b+1|0;t[c+328|0]=e;t[c+329|0]=e>>>8;t[c+330|0]=e>>>16;t[c+331|0]=e>>>24;t[(b+c|0)+72|0]=d;b=w[c+328|0]|w[c+329|0]<<8|(w[c+330|0]<<16|w[c+331|0]<<24);if((b|0)>=255){d=v[a+1096>>2];Ub[v[v[d>>2]+44>>2]](d,b&255)|0;b=v[a+1096>>2];Ub[v[v[b>>2]+16>>2]](b,g,1,w[c+328|0]|w[c+329|0]<<8|(w[c+330|0]<<16|w[c+331|0]<<24))|0;t[c+328|0]=0;t[c+329|0]=0;t[c+330|0]=0;t[c+331|0]=0;b=0}d=(w[c+64|0]|w[c+65|0]<<8|(w[c+66|0]<<16|w[c+67|0]<<24))>>>8|0;t[c+64|0]=d;t[c+65|0]=d>>>8;t[c+66|0]=d>>>16;t[c+67|0]=d>>>24;f=w[c+68|0]|w[c+69|0]<<8|(w[c+70|0]<<16|w[c+71|0]<<24);e=f-8|0;t[c+68|0]=e;t[c+69|0]=e>>>8;t[c+70|0]=e>>>16;t[c+71|0]=e>>>24;if((f|0)>15){continue}break}}t[c+32|0]=0;t[c+33|0]=0;t[c+34|0]=0;t[c+35|0]=0;t[c+16|0]=0;t[c+17|0]=0;t[c+18|0]=0;t[c+19|0]=0;t[c+20|0]=1;t[c+21|0]=0;t[c+22|0]=0;t[c+23|0]=0;a=w[c+28|0]|w[c+29|0]<<8|(w[c+30|0]<<16|w[c+31|0]<<24);t[c+24|0]=a;t[c+25|0]=a>>>8;t[c+26|0]=a>>>16;t[c+27|0]=a>>>24;a=w[c+40|0]|w[c+41|0]<<8|(w[c+42|0]<<16|w[c+43|0]<<24);t[c+36|0]=a;t[c+37|0]=a>>>8;t[c+38|0]=a>>>16;t[c+39|0]=a>>>24;a=w[c+48|0]|w[c+49|0]<<8|(w[c+50|0]<<16|w[c+51|0]<<24);t[c+44|0]=a;t[c+45|0]=a>>>8;t[c+46|0]=a>>>16;t[c+47|0]=a>>>24}}function tEa(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,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0;m=Qb-640|0;Qb=m;a:{b:{c:{d:{e:{f=v[a+4>>2];if((f|0)>=1){while(1){e=d<<3;if(A[e+b>>3]!=A[(a+e|0)+2472>>3]){break e}d=d+1|0;if((f|0)!=(d|0)){continue}break}break d}if(!f){break d}break b}if((d|0)!=(f|0)){break c}}b=v[a+8>>2];if((b|0)<1){break a}h=b&3;d=0;if(b-1>>>0>=3){f=b&-4;b=a+2728|0;while(1){e=d<<3;A[e+c>>3]=A[b+e>>3];g=e|8;A[g+c>>3]=A[b+g>>3];g=e|16;A[g+c>>3]=A[b+g>>3];e=e|24;A[e+c>>3]=A[b+e>>3];d=d+4|0;f=f-4|0;if(f){continue}break}}if(!h){break a}while(1){b=d<<3;A[b+c>>3]=A[(a+b|0)+2728>>3];d=d+1|0;h=h-1|0;if(h){continue}break}break a}if((f|0)<=0){break b}d=0;while(1){i=0;e=d<<2;o=v[(e+a|0)+1044>>2];h=o-1|0;j=d<<3;k=(d<<4)+a|0;l=(A[j+b>>3]-A[k+16>>3])*A[(a+j|0)+2200>>3]+A[k+1176>>3];f:{if(!(l>=0)){break f}i=l;l=+(h|0);if(!(i>l)){break f}i=l}r=e+(m+512|0)|0;k=o-2|0;if(D(i)<2147483648){e=~~i}else{e=-2147483648}e=(o|0)>1?(e|0)==(h|0)?k:e:e;v[r>>2]=e;i=i-+(e|0);A[j+m>>3]=i;A[j+(m+256|0)>>3]=1-i;d=d+1|0;if((f|0)!=(d|0)){continue}break}if((f|0)<2){break b}d=f-1|0;h=d&1;g:{if((f|0)==2){e=f;break g}j=d&-2;o=a+1044|0;d=f;while(1){e=d-2|0;k=e<<2;d=d<<2;g=B(v[k+(m+512|0)>>2]+B(v[k+o>>2],v[(d+m|0)+508>>2]+g|0)|0,v[(d+o|0)-12>>2]);d=e;j=j-2|0;if(j){continue}break}}if(!h){break b}d=e<<2;g=B(v[(d+m|0)+508>>2]+g|0,v[(a+d|0)+1036>>2])}h:{k=v[a+8>>2];if((k|0)<1){break h}u=B(k,v[m+512>>2]+g|0);j=1<1?j:1;o=d&2147483646;w=d&1;x=(f|0)==31;r=v[a+2468>>2];e=r;while(1){i:{if(x){break i}h=q+u|0;p=v[a+2456>>2];n=v[a+2460>>2];d=0;g=o;if((j|0)>=2){while(1){A[(d<<3)+e>>3]=A[n+(h+v[p+(d<<2)>>2]<<3)>>3];s=d|1;A[(s<<3)+e>>3]=A[n+(h+v[p+(s<<2)>>2]<<3)>>3];d=d+2|0;g=g-2|0;if(g){continue}break}}if(!w){break i}A[(d<<3)+e>>3]=A[n+(h+v[p+(d<<2)>>2]<<3)>>3]}p=0;g=j;if((f|0)>0){while(1){j:{if((g|0)<1){break j}d=v[a+2468>>2];h=g-1|0;n=(h>>>1|0)+1|0;s=n&1;e=p<<3;i=A[e+m>>3];l=A[e+(m+256|0)>>3];e=0;if(h>>>0>=2){h=n&-2;while(1){n=e<<3;A[d+(e<<2)>>3]=l*A[n+d>>3]+i*A[d+(n|8)>>3];t=e|2;A[d+(t<<2)>>3]=l*A[d+(t<<3)>>3]+i*A[d+(n|24)>>3];e=e+4|0;h=h-2|0;if(h){continue}break}}if(!s){break j}h=d+(e<<2)|0;e=e<<3;A[h>>3]=l*A[e+d>>3]+i*A[d+(e|8)>>3]}g=g>>1;p=p+1|0;if((f|0)!=(p|0)){continue}break}}e=(q<<3)+c|0;d=(q<<4)+a|0;i=A[d+1688>>3];i=i+A[r>>3]*(A[d+1696>>3]-i);A[e>>3]=i;l=A[d+528>>3];k:{if(!(i>3];if(!(i>l)){break k}}A[e>>3]=l}q=q+1|0;if((k|0)==(q|0)){break h}e=v[a+2468>>2];continue}}l:{if((f|0)<1){break l}h=f&3;d=0;if(f-1>>>0>=3){f=f&-4;e=a+2472|0;while(1){g=d<<3;A[g+e>>3]=A[b+g>>3];j=g|8;A[j+e>>3]=A[b+j>>3];j=g|16;A[j+e>>3]=A[b+j>>3];g=g|24;A[g+e>>3]=A[b+g>>3];d=d+4|0;f=f-4|0;if(f){continue}break}}if(!h){break l}while(1){f=d<<3;A[(f+a|0)+2472>>3]=A[b+f>>3];d=d+1|0;h=h-1|0;if(h){continue}break}}if((k|0)<1){break a}h=k&3;d=0;if(k-1>>>0>=3){f=k&-4;b=a+2728|0;while(1){e=d<<3;A[e+b>>3]=A[c+e>>3];g=e|8;A[g+b>>3]=A[c+g>>3];g=e|16;A[g+b>>3]=A[c+g>>3];e=e|24;A[e+b>>3]=A[c+e>>3];d=d+4|0;f=f-4|0;if(f){continue}break}}if(!h){break a}while(1){b=d<<3;A[(b+a|0)+2728>>3]=A[b+c>>3];d=d+1|0;h=h-1|0;if(h){continue}break}}Qb=m+640|0}function XI(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,q=0,r=C(0),s=0,t=0,y=0,A=0,E=0,F=0,G=0,H=0,I=0,J=0,K=C(0);e=Qb-80|0;Qb=e;Mi(a,e+48|0,8);d=x[e+52>>1];s=x[e+56>>1];i=(d>>>0)/(s>>>0)|0;k=bd(B(i,c),4);if(k){if(x[e+58>>1]<=x[e+54>>1]){A=(c|0)<1;G=A|d>>>0>>0;t=i>>>0>1?i:1;H=c-1|0;d=(H>>>1|0)+1|0;s=d&-2;I=d&1;while(1){a:{if(G){break a}g=0;if(!b){h=0;if(!o){while(1){f=0;while(1){u[e+76>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],e+76|0,1,2)|0;g=w[e+76|0];j=(B(f,i)+h<<2)+k|0;if(x[a+25204>>1]!=18761){d=w[e+77|0]|g<<8}else{d=g|w[e+77|0]<<8}z[j>>2]=C((d&65535)>>>0)*C(30517578125e-15);f=f+2|0;if((f|0)<(c|0)){continue}break}h=h+1|0;if((t|0)!=(h|0)){continue}break a}}while(1){f=0;while(1){u[e+76>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],e+76|0,1,2)|0;g=w[e+76|0];j=(B(f|1,i)+h<<2)+k|0;if(x[a+25204>>1]!=18761){d=w[e+77|0]|g<<8}else{d=g|w[e+77|0]<<8}z[j>>2]=C(C(C((d&65535)>>>0)*C(30517578125e-15))-z[(B(f,i)+h<<2)+k>>2])/C(x[e+58>>1]);f=f+2|0;if((f|0)<(c|0)){continue}break}h=h+1|0;if((t|0)!=(h|0)){continue}break}break a}while(1){f=0;while(1){v[e+76>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],e+76|0,1,4)|0;d=w[e+76|0];if(x[a+25204>>1]!=18761){d=w[e+79|0]|(w[e+77|0]<<16|d<<24|w[e+78|0]<<8)}else{d=d|w[e+77|0]<<8|w[e+78|0]<<16|w[e+79|0]<<24}b:{if(o){z[(B(f|1,i)+g<<2)+k>>2]=C((l(2,d),p())-z[(B(f,i)+g<<2)+k>>2])/C(x[e+58>>1]);break b}v[(B(f,i)+g<<2)+k>>2]=d}f=f+2|0;if((f|0)<(c|0)){continue}break}g=g+1|0;if((t|0)!=(g|0)){continue}break}}c:{if(!o){break c}d=x[e+58>>1];E=(x[e+50>>1]-x[a+26312>>1]|0)+B(d,o)|0;j=E-d|0;if(j>>>0>=x[a+26308>>1]|j>>>0>=E>>>0){break c}while(1){q=1;if(i>>>0>1){J=j<<1&14;while(1){m=x[e+56>>1];if(!A){K=C(m>>>0);f=0;while(1){y=f<<2;g=e+32|0;d=(B(f,i)+q<<2)+k|0;r=z[d-4>>2];z[y+g>>2]=r;z[g+(y|4)>>2]=C(z[d>>2]-r)/K;f=f+2|0;if((f|0)<(c|0)){continue}break}}F=(x[e+48>>1]-x[a+26314>>1]|0)+B(m,q)|0;n=F-m|0;d:{if(n>>>0>=x[a+26310>>1]|n>>>0>=F>>>0){break d}y=v[a+26028>>2];while(1){g=y>>>((n&1|J)<<1)|0;d=g&3;f=0;e:{if((c|0)>=3){f=d;if(g&1){break e}}g=x[a+26316>>1];d=(v[a+26352>>2]+(B(x[a+26320>>1],j>>>g|0)+(n>>>g|0)<<3)|0)+(d<<1)|0;r=C(z[(e+32|f<<2)>>2]*C(x[d>>1]));f:{if(C(D(r))>1]=(d|0)>0?d:0}g:{if(A){break g}h=0;g=s;if(H>>>0>=2){while(1){m=e+32|0;f=h<<2;d=m+f|0;z[d>>2]=z[(f|4)+m>>2]+z[d>>2];d=(f|8)+m|0;z[d>>2]=z[(f|12)+m>>2]+z[d>>2];h=h+4|0;g=g-2|0;if(g){continue}break}}if(!I){break g}f=h<<2;g=e+32|0;d=f+g|0;z[d>>2]=z[g+(f|4)>>2]+z[d>>2]}n=n+1|0;if(n>>>0>=x[a+26310>>1]){break d}if(n>>>0>>0){continue}break}}q=q+1|0;if((q|0)!=(i|0)){continue}break}}h=0;if(!G){while(1){f=0;while(1){d=(B(f,i)+h<<2)+k|0;z[d>>2]=z[(B(f|1,i)+h<<2)+k>>2]+z[d>>2];f=f+2|0;if((f|0)<(c|0)){continue}break}h=h+1|0;if((t|0)!=(h|0)){continue}break}}j=j+1|0;if(j>>>0>=x[a+26308>>1]){break c}if(j>>>0>>0){continue}break}}o=o+1|0;if(o>>>0>1]/x[e+58>>1]>>>0){continue}break}}dc(k);Qb=e+80|0;return}c=v[a+190640>>2];h:{if(c){b=v[a+25208>>2];v[e+20>>2]=38091;v[e+16>>2]=b;zd(c,4338,e+16|0);break h}b=v[a+25208>>2];v[e+4>>2]=38091;v[e>>2]=b;wc(v[252391],4338,e)}sd(a+190484|0,1);L()}function Yua(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=v[v[a+4>>2]+12>>2]+32|0;d=v[c>>2];a:{if(!d){break a}a=c;while(1){e=v[d+16>>2]<(b|0);a=e?a:d;d=v[(e<<2)+d>>2];if(d){continue}break}if((a|0)==(c|0)|v[a+16>>2]>(b|0)){break a}a=v[a+20>>2];k=Qb-16|0;Qb=k;f=1e3;c=jc(1e3);v[c>>2]=0;b=4;j=v[a+4>>2];l=v[a+8>>2];if((j|0)!=(l|0)){a=c;b:{while(1){c:{e=v[j+36>>2];d=w[j+43|0];i=v[j+32>>2];v[299999]=0;h=i;i=d<<24>>24<0;$(2656,k|0,(i?h:j+32|0)|0,(i?e:d)|0,0);d=v[299999];v[299999]=0;if((d|0)==1){break c}d=w[k+11|0];e=d<<24>>24<0;i=e?v[k>>2]:k;d=e?v[k+4>>2]:d;e=d+4|0;d:{if(!a){b=0;f=e>>>0>1e3?e:1e3;h=jc(f);a=h;break d}h=b+e|0;if(h>>>0<=f>>>0){h=c+4|0;break d}while(1){f=f<<1;if(h>>>0>f>>>0){continue}break}c=be(a,f);if(c){h=b+c|0;a=c;break d}c=gc(jc(f),a,b);dc(a);h=b+c|0;a=c}t[h|0]=d;t[h+1|0]=d>>>8;t[h+2|0]=d>>>16;t[h+3|0]=d>>>24;i=gc(h+4|0,i,d);g=A[j>>3]*100;e:{if(g<4294967296&g>=0){c=~~g>>>0;break e}c=0}f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{if(!a){b=0;f=1e3;i=jc(1e3);a=i;break o}b=b+e|0;h=b+4|0;if(h>>>0<=f>>>0){d=d+i|0;t[d|0]=c;t[d+1|0]=c>>>8;t[d+2|0]=c>>>16;t[d+3|0]=c>>>24;e=d+4|0;g=A[j+8>>3]*100;if(!(g<4294967296&g>=0)){break n}c=~~g>>>0;break m}while(1){f=f<<1;if(h>>>0>f>>>0){continue}break}d=be(a,f);if(d){a=b+d|0;t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;e=a+4|0;g=A[j+8>>3]*100;if(g<4294967296&g>=0){c=~~g>>>0;a=d;break m}c=0;a=d;break m}i=jc(f);d=gc(i,a,b);dc(a);a=b+d|0}t[a|0]=c;t[a+1|0]=c>>>8;t[a+2|0]=c>>>16;t[a+3|0]=c>>>24;g=A[j+8>>3]*100;p:{if(g<4294967296&g>=0){c=~~g>>>0;break p}c=0}if(i){h=b+4|0;e=a+4|0;a=i;break m}h=0;f=1e3;b=jc(1e3);e=b;break l}c=0}q:{i=b+8|0;r:{if(i>>>0<=f>>>0){b=a;break r}while(1){f=f<<1;if(i>>>0>f>>>0){continue}break}b=be(a,f);if(!b){break q}e=b+h|0}t[e|0]=c;t[e+1|0]=c>>>8;t[e+2|0]=c>>>16;t[e+3|0]=c>>>24;g=A[j+16>>3]*100;if(!(g<4294967296&g>=0)){break k}a=~~g>>>0;break j}b=jc(f);d=gc(b,a,h);dc(a);e=d+h|0}t[e|0]=c;t[e+1|0]=c>>>8;t[e+2|0]=c>>>16;t[e+3|0]=c>>>24;g=A[j+16>>3]*100;s:{if(g<4294967296&g>=0){a=~~g>>>0;break s}a=0}if(b){i=h+4|0;break j}i=0;f=1e3;d=jc(1e3);b=d;break i}a=0}h=i+4|0;if(h>>>0<=f>>>0){t[e+4|0]=a;t[e+5|0]=a>>>8;t[e+6|0]=a>>>16;t[e+7|0]=a>>>24;c=e+8|0;g=A[j+24>>3]*100;if(!(g<4294967296&g>=0)){break h}e=~~g>>>0;break g}while(1){f=f<<1;if(h>>>0>f>>>0){continue}break}d=be(b,f);if(d){b=d+i|0;t[b|0]=a;t[b+1|0]=a>>>8;t[b+2|0]=a>>>16;t[b+3|0]=a>>>24;c=b+4|0;g=A[j+24>>3]*100;if(g<4294967296&g>=0){e=~~g>>>0;b=d;break g}e=0;b=d;break g}d=jc(f);c=gc(d,b,i);dc(b);b=c+i|0}t[b|0]=a;t[b+1|0]=a>>>8;t[b+2|0]=a>>>16;t[b+3|0]=a>>>24;g=A[j+24>>3]*100;t:{if(g<4294967296&g>=0){e=~~g>>>0;break t}e=0}if(d){h=i+4|0;c=b+4|0;b=d;break g}h=0;f=1e3;c=jc(1e3);a=c;break f}e=0}a=i+8|0;if(a>>>0<=f>>>0){a=b;break f}while(1){f=f<<1;if(a>>>0>f>>>0){continue}break}a=be(b,f);if(!a){a=jc(f);gc(a,b,h);dc(b)}c=a+h|0}t[c|0]=e;t[c+1|0]=e>>>8;t[c+2|0]=e>>>16;t[c+3|0]=e>>>24;if(t[k+11|0]<=-1){dc(v[k>>2])}b=h+4|0;j=j+48|0;if((l|0)!=(j|0)){continue}break b}break}b=P()|0;O()|0;if(a){dc(a)}T(b|0);L()}c=a}t[c|0]=b;t[c+1|0]=b>>>8;t[c+2|0]=b>>>16;t[c+3|0]=b>>>24;Qb=k+16|0;f=c}return f|0}function mm(a,b,c,d,e,f){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;h=Qb-48|0;Qb=h;g=v[a+11748>>2]==2;i=g?a+11760|0:a+11776|0;j=v[i+4>>2];r=1;o=v[i>>2];n=v[c>>2];k=v[c+4>>2];a:{if(!((o|0)!=(n|0)|(k|0)!=(j|0))){k=0;break a}g=g?a+11752|0:a+11768|0;m=v[g+4>>2];q=o;o=v[g>>2];p=(e-k|0)+16>>5;s=(j-m|0)+16>>5;j=(d-n|0)+16>>5;q=Ac((q-o|0)+16>>5,p)-Ac(s,j)|0;if(!q){k=0;break a}l=ad(Ac((n-o|0)+16>>5,p)-Ac((k-m|0)+16>>5,j)|0,q);k=v[g>>2];k=Ac(l,v[i>>2]-k|0)+k|0;n=v[g+4>>2];m=Ac(l,v[i+4>>2]-n|0);l=v[g>>2];o=v[i>>2];if((l|0)==(o|0)){p=k-l|0;j=p>>31;k=v[a+11700>>2]>(j^j+p)?l:k}l=m+n|0;g=v[g+4>>2];n=v[i+4>>2];if((g|0)==(n|0)){m=l-g|0;j=m>>31;l=v[a+11700>>2]>(j^j+m)?g:l}j=v[c>>2];if((j|0)==(d|0)){m=k-d|0;g=m>>31;k=v[a+11700>>2]>(g^g+m)?d:k}g=v[c+4>>2];if((g|0)==(e|0)){m=l-e|0;d=m>>31;l=v[a+11700>>2]>(d^d+m)?e:l}e=((j+o|0)/-2|0)+k|0;d=e>>31;d=d^d+e;e=v[a+11696>>2];if((d|0)>(e|0)){break a}g=((g+n|0)/-2|0)+l|0;d=g>>31;if((e|0)<(d^d+g)){break a}v[i>>2]=k;v[i+4>>2]=l;r=0}d=v[a+11732>>2];i=d;e=v[a+11728>>2];v[h+8>>2]=e;v[h+12>>2]=d;b:{c:{d:{switch(v[a+11748>>2]-2|0){case 0:g=e;v[h+40>>2]=2;e:{if(f){j=v[a+11764>>2];d=Ac(v[a+11644>>2],v[a+11760>>2])+Ac(v[a+11648>>2],j)|0;j=ol(a+3876|0,j);break e}j=v[a+11764>>2];d=Ac(v[a+11644>>2],v[a+11760>>2])+Ac(v[a+11648>>2],j)|0;j=ol(b,j)}n=(Ac(v[v[a>>2]+64>>2],d)+Ac(v[v[a>>2]+72>>2],j)|0)+v[a+11656>>2]|0;v[h+16>>2]=n;d=(Ac(v[v[a>>2]+68>>2],d)+Ac(v[v[a>>2]+76>>2],j)|0)+v[a+11660>>2]|0;v[h+20>>2]=d;if((g|0)==(n|0)&(d|0)==(i|0)){break b}d=v[a+4>>2];i=d+4|0;e=h+16|0;break c;case 2:break d;default:break b}}v[h+40>>2]=4;d=v[a+11764>>2];e=Ac(v[a+11644>>2],v[a+11760>>2]);i=Ac(v[a+11648>>2],d);d=ol(b,d);e=e+i|0;t=h,u=(Ac(v[v[a>>2]+64>>2],e)+Ac(v[v[a>>2]+72>>2],d)|0)+v[a+11656>>2]|0,v[t+16>>2]=u;e=Ac(v[v[a>>2]+68>>2],e)+Ac(v[v[a>>2]+76>>2],d)|0;d=a+11660|0;v[h+20>>2]=e+v[d>>2];e=v[a+11772>>2];i=Ac(v[a+11644>>2],v[a+11768>>2]);g=Ac(v[a+11648>>2],e);e=ol(b,e);i=g+i|0;t=h,u=(Ac(v[v[a>>2]+64>>2],i)+Ac(v[v[a>>2]+72>>2],e)|0)+v[a+11656>>2]|0,v[t+24>>2]=u;t=h,u=(Ac(v[v[a>>2]+68>>2],i)+Ac(v[v[a>>2]+76>>2],e)|0)+v[d>>2]|0,v[t+28>>2]=u;e=v[a+11780>>2];i=Ac(v[a+11644>>2],v[a+11776>>2]);g=Ac(v[a+11648>>2],e);e=ol(b,e);i=g+i|0;t=h,u=(Ac(v[v[a>>2]+64>>2],i)+Ac(v[v[a>>2]+72>>2],e)|0)+v[a+11656>>2]|0,v[t+32>>2]=u;t=h,u=(Ac(v[v[a>>2]+68>>2],i)+Ac(v[v[a>>2]+76>>2],e)|0)+v[d>>2]|0,v[t+36>>2]=u;d=v[a+4>>2];i=d+12|0;e=h+32|0}Ub[v[i>>2]](d,h+8|0);d=v[e+4>>2];v[a+11728>>2]=v[e>>2];v[a+11732>>2]=d}f:{if(!((f|0)!=0|r)){break f}g:{if(f){b=v[c+4>>2];d=Ac(v[a+11644>>2],v[c>>2])+Ac(v[a+11648>>2],b)|0;b=ol(a+3876|0,b);break g}e=v[c+4>>2];d=Ac(v[a+11644>>2],v[c>>2])+Ac(v[a+11648>>2],e)|0;b=ol(b,e)}t=h,u=(Ac(v[v[a>>2]+64>>2],d)+Ac(v[v[a>>2]+72>>2],b)|0)+v[a+11656>>2]|0,v[t+16>>2]=u;b=(Ac(v[v[a>>2]+68>>2],d)+Ac(v[v[a>>2]+76>>2],b)|0)+v[a+11660>>2]|0;v[h+20>>2]=b;if(v[h+16>>2]==v[a+11728>>2]&(b|0)==v[a+11732>>2]){break f}v[h+40>>2]=2;b=v[a+11732>>2];v[h+8>>2]=v[a+11728>>2];v[h+12>>2]=b;b=v[a+4>>2];Ub[v[b+4>>2]](b,h+8|0);b=v[h+20>>2];v[a+11728>>2]=v[h+16>>2];v[a+11732>>2]=b}if(!r){v[c>>2]=k;v[c+4>>2]=l}Qb=h+48|0}function ly(a,b,c){a=a|0;b=+b;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,p=0,q=0,r=0,s=0,t=0;f=Qb-272|0;Qb=f;A[f+264>>3]=b;e=ic(f,0,256);a:{if(v[a+360>>2]<=0){a=0;f=0;break a}while(1){h=v[((g<<2)+a|0)+232>>2];Ub[v[v[h>>2]+16>>2]](h,e+264|0,e+(g<<3)|0);g=g+1|0;if((g|0)>2]){continue}break}b=A[e+128>>3]*65536;b:{if(D(b)<2147483648){a=~~b;break b}a=-2147483648}g=a;b=A[e+120>>3]*65536;c:{if(D(b)<2147483648){a=~~b;break c}a=-2147483648}b=A[e+112>>3]*65536;d:{if(D(b)<2147483648){i=~~b;break d}i=-2147483648}b=A[e+104>>3]*65536;e:{if(D(b)<2147483648){j=~~b;break e}j=-2147483648}b=A[e+96>>3]*65536;f:{if(D(b)<2147483648){k=~~b;break f}k=-2147483648}b=A[e+88>>3]*65536;g:{if(D(b)<2147483648){l=~~b;break g}l=-2147483648}b=A[e+80>>3]*65536;h:{if(D(b)<2147483648){m=~~b;break h}m=-2147483648}b=A[e+72>>3]*65536;i:{if(D(b)<2147483648){n=~~b;break i}n=-2147483648}b=A[e+64>>3]*65536;j:{if(D(b)<2147483648){o=~~b;break j}o=-2147483648}b=A[e+56>>3]*65536;k:{if(D(b)<2147483648){p=~~b;break k}p=-2147483648}b=A[e+48>>3]*65536;l:{if(D(b)<2147483648){q=~~b;break l}q=-2147483648}b=A[e+40>>3]*65536;m:{if(D(b)<2147483648){r=~~b;break m}r=-2147483648}b=A[e+32>>3]*65536;n:{if(D(b)<2147483648){s=~~b;break n}s=-2147483648}b=A[e+24>>3]*65536;o:{if(D(b)<2147483648){t=~~b;break o}t=-2147483648}b=A[e+16>>3]*65536;p:{if(D(b)<2147483648){d=~~b;break p}d=-2147483648}b=A[e+8>>3]*65536;q:{if(D(b)<2147483648){f=~~b;break q}f=-2147483648}h=f;b=A[e>>3]*65536;if(D(b)<2147483648){f=~~b;break a}f=-2147483648}v[c+64>>2]=g;v[c+60>>2]=a;v[c+56>>2]=i;v[c+52>>2]=j;v[c+48>>2]=k;v[c+44>>2]=l;v[c+40>>2]=m;v[c+36>>2]=n;v[c+32>>2]=o;v[c+28>>2]=p;v[c+24>>2]=q;v[c+20>>2]=r;v[c+16>>2]=s;v[c+12>>2]=t;v[c+8>>2]=d;v[c+4>>2]=h;v[c>>2]=f;a=c;b=A[e+136>>3]*65536;r:{if(D(b)<2147483648){d=~~b;break r}d=-2147483648}v[a+68>>2]=d;a=c;b=A[e+144>>3]*65536;s:{if(D(b)<2147483648){d=~~b;break s}d=-2147483648}v[a+72>>2]=d;a=c;b=A[e+152>>3]*65536;t:{if(D(b)<2147483648){d=~~b;break t}d=-2147483648}v[a+76>>2]=d;a=c;b=A[e+160>>3]*65536;u:{if(D(b)<2147483648){d=~~b;break u}d=-2147483648}v[a+80>>2]=d;a=c;b=A[e+168>>3]*65536;v:{if(D(b)<2147483648){d=~~b;break v}d=-2147483648}v[a+84>>2]=d;a=c;b=A[e+176>>3]*65536;w:{if(D(b)<2147483648){d=~~b;break w}d=-2147483648}v[a+88>>2]=d;a=c;b=A[e+184>>3]*65536;x:{if(D(b)<2147483648){d=~~b;break x}d=-2147483648}v[a+92>>2]=d;a=c;b=A[e+192>>3]*65536;y:{if(D(b)<2147483648){d=~~b;break y}d=-2147483648}v[a+96>>2]=d;a=c;b=A[e+200>>3]*65536;z:{if(D(b)<2147483648){d=~~b;break z}d=-2147483648}v[a+100>>2]=d;a=c;b=A[e+208>>3]*65536;A:{if(D(b)<2147483648){d=~~b;break A}d=-2147483648}v[a+104>>2]=d;a=c;b=A[e+216>>3]*65536;B:{if(D(b)<2147483648){d=~~b;break B}d=-2147483648}v[a+108>>2]=d;a=c;b=A[e+224>>3]*65536;C:{if(D(b)<2147483648){d=~~b;break C}d=-2147483648}v[a+112>>2]=d;a=c;b=A[e+232>>3]*65536;D:{if(D(b)<2147483648){d=~~b;break D}d=-2147483648}v[a+116>>2]=d;a=c;b=A[e+240>>3]*65536;E:{if(D(b)<2147483648){d=~~b;break E}d=-2147483648}v[a+120>>2]=d;b=A[e+248>>3]*65536;F:{if(D(b)<2147483648){a=~~b;break F}a=-2147483648}v[c+124>>2]=a;Qb=e+272|0}function Mr(a,b,c){a=a|0;b=+b;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,p=0,q=0,r=0,s=0,t=0;f=Qb-272|0;Qb=f;A[f+264>>3]=b;e=ic(f,0,256);a:{if(v[a+376>>2]<=0){a=0;f=0;break a}while(1){h=v[((g<<2)+a|0)+248>>2];Ub[v[v[h>>2]+16>>2]](h,e+264|0,e+(g<<3)|0);g=g+1|0;if((g|0)>2]){continue}break}b=A[e+128>>3]*65536;b:{if(D(b)<2147483648){a=~~b;break b}a=-2147483648}g=a;b=A[e+120>>3]*65536;c:{if(D(b)<2147483648){a=~~b;break c}a=-2147483648}b=A[e+112>>3]*65536;d:{if(D(b)<2147483648){i=~~b;break d}i=-2147483648}b=A[e+104>>3]*65536;e:{if(D(b)<2147483648){j=~~b;break e}j=-2147483648}b=A[e+96>>3]*65536;f:{if(D(b)<2147483648){k=~~b;break f}k=-2147483648}b=A[e+88>>3]*65536;g:{if(D(b)<2147483648){l=~~b;break g}l=-2147483648}b=A[e+80>>3]*65536;h:{if(D(b)<2147483648){m=~~b;break h}m=-2147483648}b=A[e+72>>3]*65536;i:{if(D(b)<2147483648){n=~~b;break i}n=-2147483648}b=A[e+64>>3]*65536;j:{if(D(b)<2147483648){o=~~b;break j}o=-2147483648}b=A[e+56>>3]*65536;k:{if(D(b)<2147483648){p=~~b;break k}p=-2147483648}b=A[e+48>>3]*65536;l:{if(D(b)<2147483648){q=~~b;break l}q=-2147483648}b=A[e+40>>3]*65536;m:{if(D(b)<2147483648){r=~~b;break m}r=-2147483648}b=A[e+32>>3]*65536;n:{if(D(b)<2147483648){s=~~b;break n}s=-2147483648}b=A[e+24>>3]*65536;o:{if(D(b)<2147483648){t=~~b;break o}t=-2147483648}b=A[e+16>>3]*65536;p:{if(D(b)<2147483648){d=~~b;break p}d=-2147483648}b=A[e+8>>3]*65536;q:{if(D(b)<2147483648){f=~~b;break q}f=-2147483648}h=f;b=A[e>>3]*65536;if(D(b)<2147483648){f=~~b;break a}f=-2147483648}v[c+64>>2]=g;v[c+60>>2]=a;v[c+56>>2]=i;v[c+52>>2]=j;v[c+48>>2]=k;v[c+44>>2]=l;v[c+40>>2]=m;v[c+36>>2]=n;v[c+32>>2]=o;v[c+28>>2]=p;v[c+24>>2]=q;v[c+20>>2]=r;v[c+16>>2]=s;v[c+12>>2]=t;v[c+8>>2]=d;v[c+4>>2]=h;v[c>>2]=f;a=c;b=A[e+136>>3]*65536;r:{if(D(b)<2147483648){d=~~b;break r}d=-2147483648}v[a+68>>2]=d;a=c;b=A[e+144>>3]*65536;s:{if(D(b)<2147483648){d=~~b;break s}d=-2147483648}v[a+72>>2]=d;a=c;b=A[e+152>>3]*65536;t:{if(D(b)<2147483648){d=~~b;break t}d=-2147483648}v[a+76>>2]=d;a=c;b=A[e+160>>3]*65536;u:{if(D(b)<2147483648){d=~~b;break u}d=-2147483648}v[a+80>>2]=d;a=c;b=A[e+168>>3]*65536;v:{if(D(b)<2147483648){d=~~b;break v}d=-2147483648}v[a+84>>2]=d;a=c;b=A[e+176>>3]*65536;w:{if(D(b)<2147483648){d=~~b;break w}d=-2147483648}v[a+88>>2]=d;a=c;b=A[e+184>>3]*65536;x:{if(D(b)<2147483648){d=~~b;break x}d=-2147483648}v[a+92>>2]=d;a=c;b=A[e+192>>3]*65536;y:{if(D(b)<2147483648){d=~~b;break y}d=-2147483648}v[a+96>>2]=d;a=c;b=A[e+200>>3]*65536;z:{if(D(b)<2147483648){d=~~b;break z}d=-2147483648}v[a+100>>2]=d;a=c;b=A[e+208>>3]*65536;A:{if(D(b)<2147483648){d=~~b;break A}d=-2147483648}v[a+104>>2]=d;a=c;b=A[e+216>>3]*65536;B:{if(D(b)<2147483648){d=~~b;break B}d=-2147483648}v[a+108>>2]=d;a=c;b=A[e+224>>3]*65536;C:{if(D(b)<2147483648){d=~~b;break C}d=-2147483648}v[a+112>>2]=d;a=c;b=A[e+232>>3]*65536;D:{if(D(b)<2147483648){d=~~b;break D}d=-2147483648}v[a+116>>2]=d;a=c;b=A[e+240>>3]*65536;E:{if(D(b)<2147483648){d=~~b;break E}d=-2147483648}v[a+120>>2]=d;b=A[e+248>>3]*65536;F:{if(D(b)<2147483648){a=~~b;break F}a=-2147483648}v[c+124>>2]=a;Qb=e+272|0}function Bua(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=Qb-48|0;Qb=e;Gp(e+32|0,b,c);v[a+8>>2]=0;v[a>>2]=0;v[a+4>>2]=0;a:{c=v[b+4>>2];b=v[c+8>>2];l=v[c+12>>2];if((b|0)==(l|0)){break a}b:{if(d){while(1){d=w[b+11|0];c=d<<24>>24<0;g=c?v[b+4>>2]:d;h=c?v[b>>2]:b;d=w[e+43|0];c=d<<24>>24<0;f=c?v[e+36>>2]:d;c:{if(f){if((f|0)>(g|0)){break c}i=g+h|0;j=c?v[e+32>>2]:e+32|0;m=w[j|0];d=g;c=h;while(1){k=d-f|0;d=k+1|0;if(d>>>0>>0){break c}c=fi(c,m,d);if(!c){break c}if(Pc(c,j,f)){c=c+1|0;d=i-c|0;if((f|0)<=(d|0)){continue}break c}break}if((c|0)==(i|0)|(c|0)!=(h|0)){break c}}v[299999]=0;U(1564,e|0,h|0,g|0);c=v[299999];v[299999]=0;d:{e:{f:{g:{h:{if((c|0)!=1){v[299999]=0;Y(4094,e|0,(t[e+11|0]<0?v[e>>2]:e)|0,47)|0;c=v[299999];v[299999]=0;if((c|0)==1){break h}v[e+24>>2]=v[e+8>>2];v[e+8>>2]=0;c=v[e+4>>2];v[e+16>>2]=v[e>>2];v[e+20>>2]=c;v[e>>2]=0;v[e+4>>2]=0;c=v[a+4>>2];if(c>>>0>2]){break e}v[299999]=0;V(2648,a|0,e+16|0);c=v[299999];v[299999]=0;if((c|0)==1){break g}if(t[e+27|0]>-1){break d}dc(v[e+16>>2]);break d}b=P()|0;O()|0;break b}b=P()|0;O()|0;break f}b=P()|0;O()|0;if(t[e+27|0]>=0){break f}dc(v[e+16>>2])}if(t[e+11|0]>-1){break b}dc(v[e>>2]);break b}d=v[e+20>>2];v[c>>2]=v[e+16>>2];v[c+4>>2]=d;v[c+8>>2]=v[e+24>>2];v[e+24>>2]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[a+4>>2]=c+12}if(t[e+11|0]>-1){break c}dc(v[e>>2])}b=b+20|0;if((l|0)!=(b|0)){continue}break a}}while(1){d=w[b+11|0];c=d<<24>>24<0;h=c?v[b+4>>2]:d;g=c?v[b>>2]:b;d=w[e+43|0];c=d<<24>>24<0;i:{f=c?v[e+36>>2]:d;j:{if(f){if((f|0)>(h|0)){break i}i=g+h|0;j=c?v[e+32>>2]:e+32|0;m=w[j|0];d=h;c=g;while(1){k=d-f|0;d=k+1|0;if(d>>>0>>0){break i}c=fi(c,m,d);if(!c){break i}if(Pc(c,j,f)){c=c+1|0;d=i-c|0;if((f|0)<=(d|0)){continue}break i}break}if((c|0)==(i|0)|(c|0)!=(g|0)|f>>>0>=h>>>0){break i}break j}if(!h){break i}}d=g+h|0;c=f+g|0;while(1){k:{f=w[c|0];if(!((f|0)!=92&(f|0)!=47)){if((c|0)==(d|0)){break i}c=c-g|0;if((c|0)==-1){break i}c=c+1|0;if(c>>>0>=h>>>0){break k}c=c+g|0;while(1){f=w[c|0];if(!((f|0)!=92&(f|0)!=47)){if((c|0)==(d|0)){break k}if((c-g|0)!=-1){break i}break k}c=c+1|0;if((d|0)!=(c|0)){continue}break}break k}c=c+1|0;if((d|0)!=(c|0)){continue}break i}break}v[299999]=0;U(1564,e|0,g|0,h|0);c=v[299999];v[299999]=0;l:{m:{n:{if((c|0)!=1){v[299999]=0;Y(4094,e|0,(t[e+11|0]<0?v[e>>2]:e)|0,47)|0;c=v[299999];v[299999]=0;if((c|0)==1){break n}v[e+24>>2]=v[e+8>>2];v[e+8>>2]=0;c=v[e+4>>2];v[e+16>>2]=v[e>>2];v[e+20>>2]=c;v[e>>2]=0;v[e+4>>2]=0;c=v[a+4>>2];o:{if(c>>>0>2]){d=v[e+20>>2];v[c>>2]=v[e+16>>2];v[c+4>>2]=d;v[c+8>>2]=v[e+24>>2];v[e+24>>2]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[a+4>>2]=c+12;break o}v[299999]=0;V(2648,a|0,e+16|0);c=v[299999];v[299999]=0;if((c|0)==1){break m}if(t[e+27|0]>-1){break o}dc(v[e+16>>2])}if(t[e+11|0]>-1){break i}dc(v[e>>2]);break i}b=P()|0;O()|0;break b}b=P()|0;O()|0;break l}b=P()|0;O()|0;if(t[e+27|0]>-1){break l}dc(v[e+16>>2])}if(t[e+11|0]>-1){break b}dc(v[e>>2]);break b}b=b+20|0;if((l|0)!=(b|0)){continue}break}break a}Qg(a);if(t[e+43|0]<=-1){dc(v[e+32>>2])}T(b|0);L()}if(t[e+43|0]<=-1){dc(v[e+32>>2])}Qb=e+48|0}function Xn(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;h=Qb-16|0;Qb=h;c=v[a+344>>2]+1|0;v[a+344>>2]=c;a:{if(c>>>0>2]){break a}b:{if(w[a+398|0]){v[a+344>>2]=0;ic(v[a+352>>2],0,v[a+336>>2]+1|0);c:{f=w[a+399|0];c=f+1|0;b=c&255;if(b>>>0>6){break c}d=w[b+76355|0];g=(d+v[a+320>>2]|0)+(w[b+76348|0]^-1)|0;v[a+340>>2]=(g>>>0)/(d>>>0);if(w[a+208|0]&2){break b}e=w[b+76099|0];b=(e+v[a+324>>2]|0)+(w[b+76092|0]^-1)|0;v[a+328>>2]=(b>>>0)/(e>>>0);if(d>>>0<=g>>>0&b>>>0>=e>>>0){break b}c=f+2|0;b=c&255;if(b>>>0>6){break c}d=w[b+76355|0];g=(d+v[a+320>>2]|0)+(w[b+76348|0]^-1)|0;v[a+340>>2]=(g>>>0)/(d>>>0);if(w[a+208|0]&2){break b}e=w[b+76099|0];b=(e+v[a+324>>2]|0)+(w[b+76092|0]^-1)|0;v[a+328>>2]=(b>>>0)/(e>>>0);if(d>>>0<=g>>>0&b>>>0>=e>>>0){break b}c=f+3|0;b=c&255;if(b>>>0>6){break c}d=w[b+76355|0];g=(d+v[a+320>>2]|0)+(w[b+76348|0]^-1)|0;v[a+340>>2]=(g>>>0)/(d>>>0);if(w[a+208|0]&2){break b}e=w[b+76099|0];b=(e+v[a+324>>2]|0)+(w[b+76092|0]^-1)|0;v[a+328>>2]=(b>>>0)/(e>>>0);if(d>>>0<=g>>>0&b>>>0>=e>>>0){break b}c=f+4|0;b=c&255;if(b>>>0>6){break c}d=w[b+76355|0];g=(d+v[a+320>>2]|0)+(w[b+76348|0]^-1)|0;v[a+340>>2]=(g>>>0)/(d>>>0);if(w[a+208|0]&2){break b}e=w[b+76099|0];b=(e+v[a+324>>2]|0)+(w[b+76092|0]^-1)|0;v[a+328>>2]=(b>>>0)/(e>>>0);if(d>>>0<=g>>>0&b>>>0>=e>>>0){break b}c=f+5|0;b=c&255;if(b>>>0>6){break c}d=w[b+76355|0];g=(d+v[a+320>>2]|0)+(w[b+76348|0]^-1)|0;v[a+340>>2]=(g>>>0)/(d>>>0);if(w[a+208|0]&2){break b}e=w[b+76099|0];b=(e+v[a+324>>2]|0)+(w[b+76092|0]^-1)|0;v[a+328>>2]=(b>>>0)/(e>>>0);if(d>>>0<=g>>>0&b>>>0>=e>>>0){break b}c=f+6|0;b=c&255;if(b>>>0>6){break c}d=w[b+76355|0];g=(d+v[a+320>>2]|0)+(w[b+76348|0]^-1)|0;v[a+340>>2]=(g>>>0)/(d>>>0);if(w[a+208|0]&2){break b}e=w[b+76099|0];b=(e+v[a+324>>2]|0)+(w[b+76092|0]^-1)|0;v[a+328>>2]=(b>>>0)/(e>>>0);if(d>>>0<=g>>>0&b>>>0>=e>>>0){break b}c=f+7|0;if(f>>>0<249){break c}b=c&255;d=w[b+76355|0];g=(d+v[a+320>>2]|0)+(w[b+76348|0]^-1)|0;v[a+340>>2]=(g>>>0)/(d>>>0);if(w[a+208|0]&2){break b}e=w[b+76099|0];b=(e+v[a+324>>2]|0)+(w[b+76092|0]^-1)|0;v[a+328>>2]=(b>>>0)/(e>>>0);if(d>>>0<=g>>>0&b>>>0>=e>>>0){break b}c=f+8|0;f=c&255;if(f>>>0>6){break c}b=w[f+76355|0];v[a+340>>2]=((b+v[a+320>>2]|0)+(w[f+76348|0]^-1)>>>0)/(b>>>0);if(w[a+208|0]&2){break b}b=w[f+76099|0];v[a+328>>2]=((b+v[a+324>>2]|0)+(w[f+76092|0]^-1)>>>0)/(b>>>0);t[a+399|0]=c;break a}t[a+399|0]=c}if(!(w[a+204|0]&32)){v[a+228>>2]=1;v[a+224>>2]=h+15;g=a+212|0;d:{while(1){if(!v[a+216>>2]){f=v[a+380>>2];e:{while(1){if(f){break e}td(a,0);f=Rx(a);v[a+380>>2]=f;if(v[a+348>>2]==1229209940){continue}break}hd(a,76106);L()}c=v[a+272>>2];v[a+216>>2]=c;b=v[a+268>>2];v[a+212>>2]=b;d=a;e=b;if(c>>>0>f>>>0){v[a+216>>2]=f;c=f}yf(d,e,c);kd(a,b,c);v[a+380>>2]=v[a+380>>2]-v[a+216>>2]}c=Mj(g,1);f:{if(c){if((c|0)==1){if(v[a+380>>2]|(v[a+216>>2]|!v[a+228>>2])){break f}break d}b=a;a=v[a+236>>2];hd(b,a?a:76231);L()}if(v[a+228>>2]){continue}}break}Gc(a,76156)}v[a+228>>2]=0;v[a+200>>2]=v[a+200>>2]|8;v[a+204>>2]=v[a+204>>2]|32}if(v[a+216>>2]?1:v[a+380>>2]){Gc(a,76320)}Zu(a+212|0);v[a+200>>2]=v[a+200>>2]|8;break a}t[a+399|0]=c}Qb=h+16|0}function Ou(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=Qb-32|0;Qb=h;a:{if(!a){break a}a=w[a|0]!=47|w[a+1|0]!=47?a:w[a+2|0]==47?a:a+1|0;b:{c=Ub[v[259704]](44)|0;if(!c){v[h+16>>2]=352260;oc(0,0,0,0,0,30,2,3,352260,0,0,0,350051,h+16|0);break b}v[c>>2]=0;v[c+4>>2]=0;v[c+40>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;b=bs(c,a);pj(c);if(b){break b}b=a;while(1){c=b;b=c+1|0;if(w[c|0]){continue}break}b=0;d=c-a|0;if((d|0)<0){break a}c=Ub[v[259707]](d+1|0)|0;if(!c){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break a}b=gc(c,a,d);t[d+b|0]=0;break a}d=w[a|0];c:{if(!d){break c}c=d;b=a;while(1){d:{if((c&255)==58){if((b|0)==335603){break d}if(!Oc(b,335603,3)){break d}}c=w[b+1|0];b=b+1|0;if(c){continue}break c}break}g=b-a|0;if(g-1>>>0>19|((d&223)-65&255)>>>0>25){break c}b=1;while(1){if((b|0)!=(g|0)){c=a+b|0;b=b+1|0;if(((w[c|0]&223)-65&255)>>>0<26){continue}break c}break}b=0;e=Qb+-64|0;Qb=e;c=a;e:{if(!c){break e}if(w[a|0]){b=a;while(1){d=f;f=d+1|0;g=w[b+1|0];b=b+1|0;if(g){continue}break}f=0;i=d+21|0;d=Ub[v[259707]](i)|0;if(d){b=w[c|0];if(b){while(1){g=c;if((i-f|0)<=3){f:{g:{if((i|0)>=1048577){v[e+32>>2]=348278;oc(0,0,0,0,0,30,2,3,348278,0,0,0,350051,e+32|0);break g}i=i<<1;b=Ub[v[259709]](d,i|1)|0;if(b){break f}v[e+48>>2]=355204;oc(0,0,0,0,0,30,2,3,355204,0,0,0,350051,e+48|0)}v[e+16>>2]=352086;b=0;oc(0,0,0,0,0,30,2,3,352086,0,0,0,350051,e+16|0);Ub[v[259708]](d);break e}d=b;b=w[g|0]}j=b&255;h:{if((j|0)==64|((b&-33)-65&255)>>>0<26|(b-48&255)>>>0<10){break h}i:{switch(j-33|0){default:if((j|0)==126){break h}break;case 0:case 6:case 7:case 8:case 9:case 12:case 13:case 62:break h;case 1:case 2:case 3:case 4:case 5:case 10:case 11:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 58:case 59:case 60:case 61:break i}}c=322730;k=w[322730];if(k){while(1){if((j|0)==(k|0)){break h}k=w[c+1|0];c=c+1|0;if(k){continue}break}}c=d+f|0;t[c|0]=37;k=c;c=j>>>4|0;t[k+1|0]=j>>>0<160?c|48:c+55|0;f=f+2|0;b=b&15;if(b>>>0<=9){b=b|48;break h}b=b+55|0}t[d+f|0]=b;c=g+1|0;f=f+1|0;b=w[g+1|0];if(b){continue}break}}t[d+f|0]=0;b=d;break e}v[e>>2]=352086;b=0;oc(0,0,0,0,0,30,2,3,352086,0,0,0,350051,e);break e}c=Ub[v[259707]](1)|0;if(!c){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break e}t[c|0]=0;b=c}Qb=e- -64|0;if(!b){break c}d=Ub[v[259704]](44)|0;if(!d){v[h>>2]=352260;oc(0,0,0,0,0,30,2,3,352260,0,0,0,350051,h);break c}v[d>>2]=0;v[d+4>>2]=0;v[d+40>>2]=0;v[d+32>>2]=0;v[d+36>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;c=bs(d,b);pj(d);if(!c){break a}}b=a;while(1){c=b;b=c+1|0;if(w[c|0]){continue}break}b=0;d=c-a|0;if((d|0)<0){break a}c=Ub[v[259707]](d+1|0)|0;if(!c){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break a}b=gc(c,a,d);t[d+b|0]=0}Qb=h+32|0;return b}function f2a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;i=Qb+-64|0;Qb=i;v[i+60>>2]=0;h=b+108|0;n=v[a+8>>2];a:{b:{if(v[b+72>>2]!=v[a+16>>2]){v[i+60>>2]=6;break b}if(!((c|0)!=2&c>>>0<=4)){v[i+60>>2]=19;break b}if(t[v[b+156>>2]+4|0]&1){e=v[b+88>>2];if(e){Ub[v[n+8>>2]](n,e)}v[b+88>>2]=0;e=v[b+156>>2];v[e+4>>2]=v[e+4>>2]&-2}if(aI(b,c,d)){v[i+60>>2]=98;break b}f=b+76|0;e=v[f>>2];c:{if(!e){break c}g=v[b+84>>2];if(!g){break c}q=b,r=Cc(n,g,0,e,0,i+60|0),v[q+88>>2]=r;if(v[i+60>>2]){break b}e=v[b+156>>2];v[e+4>>2]=v[e+4>>2]|1;e=v[b+76>>2]<<6;l=(w[b+94|0]==6?(e|0)/3|0:e)-(v[b+104>>2]<<6)|0;m=0-(v[b+100>>2]<<6)|0;if(d){m=v[d>>2]+m|0;l=v[d+4>>2]+l|0}if(l|m){dh(h,m,l)}p=i;d:{e:{if(c>>>0<=1){if(w[b+124|0]&64){d=a;g=Qb+-64|0;Qb=g;a=v[h+4>>2];if(a){e=(u[h+2>>1]<<3)+a|0}else{e=0}c=98;j=v[f+4>>2];f:{if(j&1073733632){break f}v[g+56>>2]=j<<2;v[g+48>>2]=0;v[g+52>>2]=0;v[g+28>>2]=1712;v[g+24>>2]=3;v[g+20>>2]=h;v[g+44>>2]=g+8;j=v[f>>2];v[g+60>>2]=j<<2;k=v[f+12>>2];c=v[f+8>>2];v[g+12>>2]=c;v[g+8>>2]=k+((c|0)<0?0:B(c,j-1|0));if(a>>>0>>0){c=a;while(1){v[c>>2]=v[c>>2]<<2;v[c+4>>2]=v[c+4>>2]<<2;c=c+8|0;if(e>>>0>c>>>0){continue}break}c=Ub[v[d+56>>2]](v[d+52>>2],g+16|0)|0;if(a>>>0>=e>>>0){break f}while(1){v[a>>2]=v[a>>2]/4;v[a+4>>2]=v[a+4>>2]/4;a=a+8|0;if(e>>>0>a>>>0){continue}break}break f}c=Ub[v[d+56>>2]](v[d+52>>2],g+16|0)|0}Qb=g- -64|0;break e}v[i+16>>2]=1;v[i+12>>2]=h;v[i+8>>2]=f;c=Ub[v[a+56>>2]](v[a+52>>2],i+8|0)|0;break e}g:{switch(c-3|0){default:a=v[i+60>>2];break d;case 0:d=Qb+-64|0;Qb=d;e=v[a+4>>2];v[d+48>>2]=0;v[d+52>>2]=0;v[d+28>>2]=1713;v[d+24>>2]=3;v[d+20>>2]=h;v[d+44>>2]=d+8;v[d+56>>2]=v[f+4>>2];g=v[f>>2];v[d+60>>2]=g;j=v[f+12>>2];c=v[f+8>>2];v[d+12>>2]=c;v[d+8>>2]=j+((c|0)<0?0:B(c,g-1|0));f=e+184|0;dh(h,0-v[e+180>>2]|0,0-v[f>>2]|0);c=Ub[v[a+56>>2]](v[a+52>>2],d+16|0)|0;h:{if(c){g=e+180|0;break h}v[d+8>>2]=v[d+8>>2]+1;g=e+188|0;f=e+192|0;dh(h,v[e+180>>2]-v[g>>2]|0,v[e+184>>2]-v[f>>2]|0);c=Ub[v[a+56>>2]](v[a+52>>2],d+16|0)|0;if(c){break h}v[d+8>>2]=v[d+8>>2]+1;g=e+196|0;f=e+200|0;dh(h,v[e+188>>2]-v[g>>2]|0,v[e+192>>2]-v[f>>2]|0);c=Ub[v[a+56>>2]](v[a+52>>2],d+16|0)|0}dh(h,v[g>>2],v[f>>2]);Qb=d- -64|0;break e;case 1:break g}}e=Qb-48|0;Qb=e;d=v[a+4>>2];k=v[f+8>>2];v[e+8>>2]=1;v[e+4>>2]=h;v[e>>2]=f;v[f+8>>2]=B(k,3);v[f>>2]=y[f>>2]/3;dh(h,0-v[d+184>>2]|0,v[d+180>>2]);c=Ub[v[a+56>>2]](v[a+52>>2],e)|0;g=v[d+184>>2];j=v[d+180>>2];i:{if(c){break i}v[f+12>>2]=k+v[f+12>>2];dh(h,g-v[d+192>>2]|0,v[d+188>>2]-j|0);c=Ub[v[a+56>>2]](v[a+52>>2],e)|0;j=v[d+188>>2];g=v[d+192>>2];o=v[f+12>>2]-k|0;v[f+12>>2]=o;if(c){break i}k=k<<1;v[f+12>>2]=k+o;dh(h,g-v[d+200>>2]|0,v[d+196>>2]-j|0);c=Ub[v[a+56>>2]](v[a+52>>2],e)|0;j=v[d+196>>2];g=v[d+200>>2];v[f+12>>2]=v[f+12>>2]-k}dh(h,g,0-j|0);v[f+8>>2]=v[f+8>>2]/3;v[f>>2]=B(v[f>>2],3);Qb=e+48|0}a=c;v[p+60>>2]=a}if(a){break b}}v[b+72>>2]=1651078259;break a}if(!(t[v[b+156>>2]+4|0]&1)){break a}a=v[b+88>>2];if(a){Ub[v[n+8>>2]](n,a)}v[b+88>>2]=0;a=v[b+156>>2];v[a+4>>2]=v[a+4>>2]&-2}if(l|m){dh(h,0-m|0,0-l|0)}Qb=i- -64|0;return v[i+60>>2]}function DGa(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;a=ic(a,0,256);d=v[b>>2]+c|0;g=w[d+3|0];f=w[d+1|0];e=g+f|0;i=w[d+4|0];h=w[d|0];j=i+h|0;k=e+j|0;d=w[d+2|0];v[a>>2]=(k+d<<3)-5120;e=B(j-e|0,6476)+512|0;d=B(k-(d<<2)|0,2896);v[a+16>>2]=e-d>>10;v[a+8>>2]=d+e>>10;g=f-g|0;f=h-i|0;d=B(g+f|0,6810)+512|0;v[a+12>>2]=d+B(g,-17828)>>10;v[a+4>>2]=d+B(f,4209)>>10;d=v[b+4>>2]+c|0;g=w[d+3|0];f=w[d+1|0];e=g+f|0;i=w[d+4|0];h=w[d|0];j=i+h|0;k=e+j|0;d=w[d+2|0];v[a+32>>2]=(k+d<<3)-5120;e=B(j-e|0,6476)+512|0;d=B(k-(d<<2)|0,2896);v[a+48>>2]=e-d>>10;v[a+40>>2]=d+e>>10;g=f-g|0;f=h-i|0;d=B(g+f|0,6810)+512|0;v[a+44>>2]=d+B(g,-17828)>>10;v[a+36>>2]=d+B(f,4209)>>10;d=v[b+8>>2]+c|0;g=w[d+3|0];f=w[d+1|0];e=g+f|0;i=w[d+4|0];h=w[d|0];j=i+h|0;k=e+j|0;d=w[d+2|0];v[a+64>>2]=(k+d<<3)-5120;e=B(j-e|0,6476)+512|0;d=B(k-(d<<2)|0,2896);v[a+80>>2]=e-d>>10;v[a+72>>2]=d+e>>10;g=f-g|0;f=h-i|0;d=B(g+f|0,6810)+512|0;v[a+76>>2]=d+B(g,-17828)>>10;v[a+68>>2]=d+B(f,4209)>>10;d=v[b+12>>2]+c|0;g=w[d+3|0];f=w[d+2|0];e=w[d+1|0];i=e+g|0;h=w[d+4|0];j=w[d|0];k=h+j|0;l=i+k|0;d=(f+l<<3)-5120|0;v[a+96>>2]=d;i=B(k-i|0,6476)+512|0;f=B(l-(f<<2)|0,2896);v[a+112>>2]=i-f>>10;v[a+104>>2]=f+i>>10;f=e-g|0;e=j-h|0;g=B(f+e|0,6810)+512|0;v[a+108>>2]=g+B(f,-17828)>>10;v[a+100>>2]=g+B(e,4209)>>10;b=v[b+16>>2]+c|0;c=w[b+4|0];g=w[b|0];f=c+g|0;e=w[b+3|0];i=w[b+1|0];h=e+i|0;j=B(f-h|0,6476)+512|0;f=f+h|0;h=w[b+2|0];b=B(f-(h<<2)|0,2896);v[a+144>>2]=j-b>>10;v[a+136>>2]=b+j>>10;e=i-e|0;g=g-c|0;b=B(e+g|0,6810)+512|0;v[a+140>>2]=b+B(e,-17828)>>10;c=(f+h<<3)-5120|0;f=v[a>>2];e=c+f|0;i=v[a+32>>2];h=i+d|0;j=B(e-h|0,8290)+16384|0;e=e+h|0;h=v[a+64>>2];k=B(e-(h<<2)|0,3707);v[a+128>>2]=j-k>>15;v[a+64>>2]=j+k>>15;v[a>>2]=B(e+h|0,10486)+16384>>15;d=i-d|0;f=f-c|0;c=B(d+f|0,8716)+16384|0;v[a+96>>2]=c+B(d,-22820)>>15;v[a+32>>2]=c+B(f,5387)>>15;b=b+B(g,4209)>>10;c=v[a+4>>2];d=b+c|0;g=v[a+100>>2];f=v[a+36>>2];e=g+f|0;i=B(d-e|0,8290)+16384|0;d=d+e|0;e=v[a+68>>2];h=B(d-(e<<2)|0,3707);v[a+132>>2]=i-h>>15;v[a+68>>2]=h+i>>15;v[a+4>>2]=B(d+e|0,10486)+16384>>15;d=f-g|0;c=c-b|0;b=B(d+c|0,8716)+16384|0;v[a+100>>2]=b+B(d,-22820)>>15;v[a+36>>2]=b+B(c,5387)>>15;b=v[a+136>>2];c=v[a+8>>2];d=b+c|0;g=v[a+104>>2];f=v[a+40>>2];e=g+f|0;i=B(d-e|0,8290)+16384|0;d=d+e|0;e=v[a+72>>2];h=B(d-(e<<2)|0,3707);v[a+136>>2]=i-h>>15;v[a+72>>2]=h+i>>15;v[a+8>>2]=B(d+e|0,10486)+16384>>15;d=f-g|0;c=c-b|0;b=B(d+c|0,8716)+16384|0;v[a+104>>2]=b+B(d,-22820)>>15;v[a+40>>2]=b+B(c,5387)>>15;b=v[a+140>>2];c=v[a+12>>2];d=b+c|0;g=v[a+108>>2];f=v[a+44>>2];e=g+f|0;i=B(d-e|0,8290)+16384|0;d=d+e|0;e=v[a+76>>2];h=B(d-(e<<2)|0,3707);v[a+140>>2]=i-h>>15;v[a+76>>2]=h+i>>15;v[a+12>>2]=B(d+e|0,10486)+16384>>15;d=f-g|0;c=c-b|0;b=B(d+c|0,8716)+16384|0;v[a+108>>2]=b+B(d,-22820)>>15;v[a+44>>2]=b+B(c,5387)>>15;b=v[a+144>>2];c=v[a+16>>2];d=b+c|0;g=v[a+112>>2];f=v[a+48>>2];e=g+f|0;i=B(d-e|0,8290)+16384|0;d=d+e|0;e=v[a+80>>2];h=B(d-(e<<2)|0,3707);v[a+144>>2]=i-h>>15;v[a+80>>2]=h+i>>15;v[a+16>>2]=B(d+e|0,10486)+16384>>15;d=f-g|0;c=c-b|0;b=B(d+c|0,8716)+16384|0;v[a+112>>2]=b+B(d,-22820)>>15;v[a+48>>2]=b+B(c,5387)>>15}function RO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Qb-32|0;Qb=c;v[a>>2]=0;d=v[282402];v[a+4>>2]=d;a:{b:{c:{d:{e:{f:{g:{h:{if(b-1>>>0>6){break h}i:{j:{k:{l:{m:{switch(b-6|0){case 1:v[299999]=0;d=Q(4340,c+8|0,311751)|0;b=v[299999];v[299999]=0;if((b|0)==1){break l}v[299999]=0;U(4423,c+16|0,322756,d|0);b=v[299999];v[299999]=0;n:{o:{p:{if((b|0)!=1){v[299999]=0;U(4546,c+24|0,c+16|0,322677);b=v[299999];v[299999]=0;if((b|0)==1){break p}v[299999]=0;Q(4535,a|0,c+24|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break o}ec(c+24|0);ec(c+16|0);ec(d);break h}b=P()|0;O()|0;ec(d);break a}b=P()|0;O()|0;break n}b=P()|0;O()|0;ec(c+24|0)}ec(c+16|0);ec(d);break a;case 0:v[299999]=0;v[c+4>>2]=d;v[c>>2]=0;Q(4584,c|0,32)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}v[299999]=0;Q(4584,c|0,32)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break k}break b;default:break m}}v[c+4>>2]=d;v[c>>2]=0;f=b<<1|1;d=0;while(1){v[299999]=0;Q(4584,c|0,32)|0;e=v[299999];v[299999]=0;if((e|0)==1){break j}e=(d|0)==(f|0);d=d+1|0;if(!e){continue}break}v[299999]=0;U(4546,c+8|0,c|0,322756);d=v[299999];v[299999]=0;q:{r:{s:{t:{u:{if((d|0)!=1){v[299999]=0;U(4546,c+16|0,c+8|0,v[(b<<2)+984912>>2]);b=v[299999];v[299999]=0;if((b|0)==1){break u}v[299999]=0;U(4546,c+24|0,c+16|0,355681);b=v[299999];v[299999]=0;if((b|0)==1){break t}v[299999]=0;Q(4535,a|0,c+24|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break s}ec(c+24|0);ec(c+16|0);ec(c+8|0);ec(c);break h}b=P()|0;O()|0;ec(c);break a}b=P()|0;O()|0;break q}b=P()|0;O()|0;break r}b=P()|0;O()|0;ec(c+24|0)}ec(c+16|0)}ec(c+8|0);ec(c);break a}b=P()|0;O()|0;break a}v[299999]=0;Q(4584,c|0,32)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}v[299999]=0;Q(4584,c|0,32)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}v[299999]=0;Q(4584,c|0,32)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}v[299999]=0;Q(4584,c|0,32)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}v[299999]=0;Q(4584,c|0,32)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}v[299999]=0;Q(4584,c|0,32)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}v[299999]=0;Q(4584,c|0,32)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}v[299999]=0;Q(4584,c|0,32)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}v[299999]=0;Q(4584,c|0,32)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}v[299999]=0;Q(4584,c|0,32)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}v[299999]=0;Q(4584,c|0,32)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}v[299999]=0;Q(4584,c|0,32)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}v[299999]=0;U(4546,c+8|0,c|0,322756);b=v[299999];v[299999]=0;if((b|0)!=1){break i}b=P()|0;O()|0;ec(c);break a}b=P()|0;O()|0;ec(c);break a}v[299999]=0;U(4546,c+16|0,c+8|0,321577);b=v[299999];v[299999]=0;if((b|0)==1){break g}v[299999]=0;U(4546,c+24|0,c+16|0,322677);b=v[299999];v[299999]=0;if((b|0)==1){break f}v[299999]=0;Q(4535,a|0,c+24|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break e}ec(c+24|0);ec(c+16|0);ec(c+8|0);ec(c)}Qb=c+32|0;return}b=P()|0;O()|0;break c}b=P()|0;O()|0;break d}b=P()|0;O()|0;ec(c+24|0)}ec(c+16|0)}ec(c+8|0);ec(c);break a}b=P()|0;O()|0;ec(c)}ec(a);T(b|0);L()}function G4(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;i=Qb-144|0;Qb=i;a:{b:{c:{g=v[a+584>>2];if(g){if(v[g+116>>2]){e=v[g+88>>2];d:{if(!e){e=c;break d}d=v[g+100>>2];f=x[d+4>>1]-e|0;e:{if((f|0)>(c|0)){v[g+88>>2]=c+e;e=f;while(1){f:{d=v[d>>2];e=e-1|0;if((e|0)<=(c|0)){break f}if(d){continue}}break}if(!d){e=c;break e}h=b+c|0;e=c;while(1){h=h-1|0;t[h|0]=w[d+6|0];e=e-1|0;if(!e){break e}d=v[d>>2];if(d){continue}break}break e}b=b+f|0;h=b;e=f;while(1){g:{j=v[d>>2];h=h-1|0;t[h|0]=w[d+6|0];e=e-1|0;if(!e){break g}d=j;if(d){continue}}break}v[g+88>>2]=0;e=c-f|0}s=1;if((c|0)<(f|0)){break a}}s=1;q=v[g+112>>2];k=v[g+108>>2];d=v[g+104>>2];o=v[g+84>>2];m=v[g+76>>2];c=v[g+72>>2];l=x[g+64>>1];j=v[a+604>>2];if((e|0)<1){break c}while(1){f=v[g+92>>2];if((f|0)<(l|0)){b=v[a>>2];f=v[a+628>>2];v[i+16>>2]=v[a+480>>2];Ld(f,b,22921,i+16|0);break c}c=w[j|0]|c<<8;h=m+8|0;if((l|0)<=(h|0)){j=j+1|0}else{h=m+16|0;c=w[j+1|0]|c<<8;j=j+2|0}v[g+92>>2]=f-l;h:{i:{j:{m=h-l|0;p=c>>m&o;n=p&65535;switch(n-256|0){case 0:break j;case 1:break c;default:break i}}k=v[g+116>>2]+2064|0;eg(k,0,38888);q=v[g+116>>2]+4080|0;h=v[g+92>>2];if((h|0)<=8){b=v[a>>2];f=v[a+628>>2];v[i+112>>2]=v[a+480>>2];Ld(f,b,22921,i+112|0);o=511;l=9;break c}c=w[j|0]|c<<8;k:{if((m|0)>0){j=j+1|0;f=m+8|0;break k}c=w[j+1|0]|c<<8;j=j+2|0;f=m+16|0}v[g+92>>2]=h-9;o=511;l=9;l:{m:{m=f-9|0;f=c>>m;switch((f&511)-256|0){case 0:break m;case 1:break c;default:break l}}b=v[a>>2];c=v[a+628>>2];v[i+128>>2]=v[a+472>>2];zc(c,b,25368,i+128|0);break b}t[b|0]=f;e=e-1|0;d=v[g+116>>2]+((f&511)<<3)|0;b=b+1|0;break h}n:{h=v[g+116>>2];if(h>>>0<=k>>>0){f=h+40952|0;if(f>>>0>k>>>0){break n}}b=v[a>>2];c=v[a+628>>2];v[i+96>>2]=v[a+472>>2];zc(c,b,25368,i+96|0);break b}v[k>>2]=d;if(!(d>>>0>>0&d>>>0>=h>>>0)){b=v[a>>2];c=v[a+628>>2];v[i+80>>2]=v[a+472>>2];zc(c,b,25368,i+80|0);break b}t[k+7|0]=w[d+7|0];u[k+4>>1]=x[d+4>>1]+1;d=n<<3;f=d+h|0;t[k+6|0]=w[(f>>>0>>0?f+7|0:k+7|0)|0];k=k+8|0;if(q>>>0>>0){l=((l|0)<11?l:11)+1|0;o=-1<>>0>=256){r=x[(d+h|0)+4>>1];if(!r){b=v[a>>2];c=v[a+628>>2];v[i+32>>2]=v[a+472>>2];zc(c,b,33423,i+32|0);break b}if((e|0)<(r|0)){v[g+100>>2]=f;d=f;o:{while(1){d=v[d>>2];if(!d){break o}if(x[d+4>>1]>(e|0)){continue}break}v[g+88>>2]=e;h=b+e|0;while(1){p:{h=h-1|0;t[h|0]=w[d+6|0];d=v[d>>2];e=e-1|0;if(!e){break p}if(d){continue}}break}if(!d){break o}b=v[a+628>>2];d=v[a>>2];v[i+48>>2]=v[a+472>>2];zc(b,d,36266,i+48|0)}d=f;break c}p=b+r|0;d=p;h=f;while(1){q:{n=v[h>>2];d=d-1|0;t[d|0]=w[h+6|0];if(!n){break q}h=n;if(b>>>0>>0){continue}}break}if(n){b=v[a+628>>2];d=v[a>>2];v[i+64>>2]=v[a+472>>2];zc(b,d,36266,i- -64|0);d=f;break c}e=e-r|0;d=f;b=p;break h}t[b|0]=p;e=e-1|0;d=f;b=b+1|0}if((e|0)>0){continue}break}break c}X(32035,6139,364,88287);L()}X(16309,6139,363,88287);L()}v[a+604>>2]=j;v[g+112>>2]=q;v[g+108>>2]=k;v[g+104>>2]=d;v[g+84>>2]=o;v[g+76>>2]=m;v[g+72>>2]=c;u[g+64>>1]=l;if((e|0)<1){break a}b=v[a>>2];c=v[a+628>>2];a=v[a+472>>2];v[i+4>>2]=e;v[i>>2]=a;zc(c,b,35215,i)}s=0}Qb=i+144|0;return s|0}function lV(a){a=a|0;var b=0,c=0,d=0,e=0;d=v[a+420>>2];b=v[d+12>>2];c=(b+v[d+16>>2]|0)-1&-65536;c=((b|0)>(c|0)?c|32768:c)<>2];v[d+12>>2]=c;b=v[d+32>>2];a:{if(c>>>0>=134217728){b:{if((b|0)<0){break b}if(v[d+24>>2]){while(1){b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;c:{if(c){break c}if(Ub[v[b+12>>2]](a)|0){break c}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[d+24>>2]-1|0;v[d+24>>2]=b;if(b){continue}break}b=v[d+32>>2]}c=v[a+24>>2];e=v[c>>2];v[c>>2]=e+1;t[e|0]=b+1;b=v[c+4>>2]-1|0;v[c+4>>2]=b;d:{if(b){break d}if(Ub[v[c+12>>2]](a)|0){break d}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}if(v[d+32>>2]!=254){break b}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break b}if(Ub[v[b+12>>2]](a)|0){break b}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[d+20>>2];v[d+20>>2]=0;v[d+24>>2]=b+v[d+24>>2];break a}e:{if(!b){v[d+24>>2]=v[d+24>>2]+1;break e}if((b|0)<0){break e}if(v[d+24>>2]){while(1){b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;f:{if(c){break f}if(Ub[v[b+12>>2]](a)|0){break f}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[d+24>>2]-1|0;v[d+24>>2]=b;if(b){continue}break}b=v[d+32>>2]}c=v[a+24>>2];e=v[c>>2];v[c>>2]=e+1;t[e|0]=b;b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(b){break e}if(Ub[v[c+12>>2]](a)|0){break e}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}if(!v[d+20>>2]){break a}if(v[d+24>>2]){while(1){b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;g:{if(c){break g}if(Ub[v[b+12>>2]](a)|0){break g}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[d+24>>2]-1|0;v[d+24>>2]=b;if(b){continue}break}}while(1){b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=255;c=v[b+4>>2]-1|0;v[b+4>>2]=c;h:{if(c){break h}if(Ub[v[b+12>>2]](a)|0){break h}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;i:{if(c){break i}if(Ub[v[b+12>>2]](a)|0){break i}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[d+20>>2]-1|0;v[d+20>>2]=b;if(b){continue}break}}c=v[d+12>>2];j:{if(!(c&134215680)){break j}if(v[d+24>>2]){while(1){b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;k:{if(c){break k}if(Ub[v[b+12>>2]](a)|0){break k}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[d+24>>2]-1|0;v[d+24>>2]=b;if(b){continue}break}c=v[d+12>>2]}b=v[a+24>>2];e=v[b>>2];v[b>>2]=e+1;t[e|0]=c>>>19;c=v[b+4>>2]-1|0;v[b+4>>2]=c;l:{if(c){break l}if(Ub[v[b+12>>2]](a)|0){break l}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}m:{if((v[d+12>>2]&133693440)!=133693440){break m}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break m}if(Ub[v[b+12>>2]](a)|0){break m}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}e=v[d+12>>2];if(!(e&522240)){break j}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=e>>>11;c=v[b+4>>2]-1|0;v[b+4>>2]=c;n:{if(c){break n}if(Ub[v[b+12>>2]](a)|0){break n}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}if((v[d+12>>2]&522240)!=522240){break j}d=v[a+24>>2];b=v[d>>2];v[d>>2]=b+1;t[b|0]=0;b=v[d+4>>2]-1|0;v[d+4>>2]=b;if(b){break j}if(Ub[v[d+12>>2]](a)|0){break j}d=v[a>>2];v[d+20>>2]=25;Ub[v[d>>2]](a)}}function RE(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0,y=0,z=0,B=0,C=0,E=0,F=0,G=0,H=0,I=0;h=Qb-32|0;Qb=h;j=v[b+8>>2];p=v[a+8>>2];Ub[v[v[p>>2]+64>>2]](p,v[a+28>>2]);p=v[a+28>>2];q=fc(672);v[299999]=0;E=Y(3429,q|0,p|0,1)|0;G=v[299999];v[299999]=0;if((G|0)!=1){v[a+28>>2]=q;a:{if(c){BS(E);c=v[a+8>>2];Ub[v[v[c>>2]+228>>2]](c,v[a+28>>2]);c=v[a+28>>2];v[c+408>>2]=v[c+412>>2];break a}if(e){break a}Vi(E);c=v[a+28>>2];e=v[a+8>>2];q=v[e>>2];if(d){Ub[v[q+224>>2]](e,c);break a}Ub[v[q+220>>2]](e,c)}vf(v[a+28>>2]);c=v[a+28>>2];g=A[c+16>>3];i=A[c+40>>3];k=A[c+24>>3];r=A[c+32>>3];f=g*i-k*r;b:{if(D(f)<=1e-10){b=-1;c=v[a+108>>2];c:{if(!c){break c}c=v[c+4>>2];if(v[c+8>>2]==13){break c}b=v[c+16>>2];b=Ub[v[v[b>>2]+52>>2]](b)|0}kc(1,b,259157,0);break b}f=1/f;l=i*f;s=A[b+16>>3];m=A[a+48>>3];t=A[b+24>>3];u=A[a- -64>>3];w=s*m+t*u;z=f*-r;n=s;s=A[a+56>>3];B=t;t=A[a+72>>3];x=n*s+B*t;F=l*w+z*x;C=f*-k;n=C*w;w=g*f;x=n+w*x;o=A[b+32>>3];y=A[b+40>>3];n=m*o+u*y;o=s*o+t*y;y=l*n+z*o;o=C*n+w*o;n=r;r=A[c+56>>3];B=i;i=A[c+48>>3];H=l;l=A[b+48>>3];I=m*l;m=A[b+56>>3];u=A[a+80>>3]+(I+u*m);l=s*l+t*m+A[a+88>>3];m=f*(n*r-B*i)+(H*u+z*l);f=f*(k*i-g*r)+(C*u+w*l);ME(c,F,x,y,o,m,f);b=v[a+8>>2];Ub[v[v[b>>2]+76>>2]](b,v[a+28>>2],F,x,y,o,m,f);if(v[j+176>>2]){f=A[j+144>>3];A[h+24>>3]=f;g=A[j+152>>3];A[h+16>>3]=g;i=A[j+160>>3];A[h+8>>3]=i;k=A[j+168>>3];A[h>>3]=k;b=v[a+28>>2];A[b+608>>3]=g;A[b+600>>3]=f;b=v[b+596>>2];A[b+16>>3]=g;A[b+8>>3]=f;v[b>>2]=1;b=v[a+28>>2];A[b+608>>3]=g;A[b+600>>3]=i;Ud(v[b+596>>2],i,g);b=v[a+28>>2];A[b+608>>3]=k;A[b+600>>3]=i;Ud(v[b+596>>2],i,k);b=v[a+28>>2];A[b+608>>3]=k;A[b+600>>3]=f;Ud(v[b+596>>2],f,k);b=v[a+28>>2];Hf(v[b+596>>2]);c=v[b+596>>2];c=v[((v[c+28>>2]<<2)+v[c+24>>2]|0)-4>>2];d=(v[c+12>>2]<<3)-8|0;A[b+600>>3]=A[d+v[c>>2]>>3];A[b+608>>3]=A[d+v[c+4>>2]>>3];Vi(v[a+28>>2]);b=v[a+8>>2];Ub[v[v[b>>2]+220>>2]](b,v[a+28>>2]);vf(v[a+28>>2])}b=v[a+28>>2];c=v[j+8>>2];d=Ub[v[v[c>>2]+8>>2]](c)|0;c=v[b+116>>2];if(c){Ub[v[v[c>>2]+4>>2]](c)}v[b+116>>2]=d;b=v[a+8>>2];Ub[v[v[b>>2]+108>>2]](b,v[a+28>>2]);if(v[j+140>>2]){gc(v[a+28>>2]+124|0,j+12|0,128);b=v[a+8>>2];Ub[v[v[b>>2]+116>>2]](b,v[a+28>>2]);du(v[a+28>>2],h+24|0,h+16|0,h+8|0,h);f=A[h+24>>3];b=v[a+28>>2];g=A[h+16>>3];A[b+608>>3]=g;A[b+600>>3]=f;b=v[b+596>>2];A[b+16>>3]=g;A[b+8>>3]=f;v[b>>2]=1;f=A[h+8>>3];b=v[a+28>>2];g=A[h+16>>3];A[b+608>>3]=g;A[b+600>>3]=f;Ud(v[b+596>>2],f,g);f=A[h+8>>3];b=v[a+28>>2];g=A[h>>3];A[b+608>>3]=g;A[b+600>>3]=f;Ud(v[b+596>>2],f,g);f=A[h+24>>3];b=v[a+28>>2];g=A[h>>3];A[b+608>>3]=g;A[b+600>>3]=f;Ud(v[b+596>>2],f,g);b=v[a+28>>2];Hf(v[b+596>>2]);c=v[b+596>>2];c=v[((v[c+28>>2]<<2)+v[c+24>>2]|0)-4>>2];d=(v[c+12>>2]<<3)-8|0;A[b+600>>3]=A[d+v[c>>2]>>3];A[b+608>>3]=A[d+v[c+4>>2]>>3];b=v[a+8>>2];Ub[v[v[b>>2]+204>>2]](b,v[a+28>>2]);vf(v[a+28>>2])}_S(a,j)}b=v[a+28>>2];if(v[b+668>>2]){while(1){b=_k(b);v[a+28>>2]=b;c=v[a+8>>2];Ub[v[v[c>>2]+68>>2]](c,b);b=v[a+28>>2];if(v[b+668>>2]){continue}break}}dc(Kp(b));v[a+28>>2]=p;a=v[a+8>>2];Ub[v[v[a>>2]+68>>2]](a,p);Qb=h+32|0;return}a=P()|0;O()|0;dc(q);T(a|0);L()}function $D(a){var 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,u=0,x=0,y=0,z=0,B=0,C=0,E=0,F=0,G=0,H=0;B=fc(16);v[299999]=0;F=S(3315,B|0)|0;f=v[299999];v[299999]=0;a:{b:{if((f|0)!=1){c=fc(16);v[299999]=0;i=S(3315,c|0)|0;f=v[299999];v[299999]=0;c:{d:{e:{f:{if((f|0)!=1){c=fc(16);v[299999]=0;k=S(3315,c|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break f}c=v[a+8>>2];if((c|0)>0){break e}break d}f=P()|0;O()|0;break a}f=P()|0;O()|0;break a}f=0;while(1){g=v[a>>2];e=v[g+(f<<2)>>2];j=1;G=1;f=f+1|0;g:{h:{if((f|0)>=(c|0)){break h}c=v[g+(f<<2)>>2];if(!c){break h}i:{j:{k:{l:{m:{o=w[e+88|0];switch(o-1|0){case 2:break j;case 1:break k;case 0:break l;default:break m}}g=e+24|0;m=c+24|0;d=A[c+16>>3]-A[e+32>>3];break i}g=e+32|0;m=c+32|0;d=A[c+24>>3]-A[e+40>>3];break i}g=c+40|0;m=e+40|0;d=A[e+16>>3]-A[c+32>>3];break i}g=c+16|0;m=e+16|0;d=A[e+24>>3]-A[c+40>>3]}if((o|0)!=w[c+88|0]|v[c+4>>2]>((v[e+4>>2]+v[e+8>>2]|0)+1|0)){break h}G=0;l=A[e+56>>3];if(d>3]-A[g>>3])>l*.5){break h}j=0;if(w[e+92|0]){break h}if(!(d>l*.15)){break g}}c=fc(112);m=t[e+89|0];o=w[e+88|0];g=v[e>>2];v[299999]=0;n=hk(g);g=v[299999];v[299999]=0;n:{o:{p:{if((g|0)==1){break p}g=1;q:{if(n){break q}n=v[e>>2];v[299999]=0;n=Cr(n);H=v[299999];v[299999]=0;if((H|0)==1){break p}if(n){break q}e=v[e>>2];v[299999]=0;e=Dj(e);g=v[299999];v[299999]=0;if((g|0)==1){break p}g=e?-1:0}v[299999]=0;b=sa(3967,c|0,a|0,b|0,f-b|0,o|0,m|0,g|0,j^1)|0;e=v[299999];v[299999]=0;if((e|0)==1){break p}Tc(k,c);d=A[b>>3];if(v[k+8>>2]){break o}p=A[b+24>>3];q=A[b+8>>3];r=d;s=A[b+16>>3];break n}f=P()|0;O()|0;break a}r=d>r?r:d;d=A[b+24>>3];p=d>3];q=d>3];s=d>s?s:d}if(!j){b=f;break g}c=fc(72);d=A[v[v[k>>2]>>2]+56>>3];v[299999]=0;Na(3968,c|0,k|0,+r,+s,+q,+p,+d)|0;b=v[299999];v[299999]=0;r:{s:{if((b|0)!=1){Tc(i,c);c=fc(16);v[299999]=0;k=S(3315,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break s}if(G){break r}b=f;break g}f=P()|0;O()|0;break a}f=P()|0;O()|0;break a}b=fc(40);v[b+4>>2]=0;v[b+8>>2]=0;v[b>>2]=i;v[b+12>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+32>>2]=0;v[b+36>>2]=0;e=v[i+8>>2];t:{if((e|0)<1){break t}i=v[i>>2];c=v[i>>2];d=A[c+8>>3];A[b+8>>3]=d;l=A[c+24>>3];A[b+24>>3]=l;C=A[c+16>>3];A[b+16>>3]=C;E=A[c+32>>3];A[b+32>>3]=E;j=1;if((e|0)==1){break t}while(1){c=v[i+(j<<2)>>2];h=A[c+8>>3];if(h>3]=h;d=h}h=A[c+24>>3];if(h>3]=h;l=h}h=A[c+16>>3];if(h>C){A[b+16>>3]=h;C=h}h=A[c+32>>3];if(h>E){A[b+32>>3]=h;E=h}j=j+1|0;if((e|0)!=(j|0)){continue}break}}Tc(F,b);d=A[b+8>>3];u:{if(!v[F+8>>2]){u=A[b+32>>3];x=A[b+16>>3];y=d;z=A[b+24>>3];break u}y=d>y?y:d;d=A[b+32>>3];u=d>3];x=d>3];z=d>z?z:d}c=fc(16);v[299999]=0;i=S(3315,c|0)|0;e=v[299999];v[299999]=0;b=f;if((e|0)==1){break b}}c=v[a+8>>2];if((f|0)<(c|0)){continue}break}if(!k){break c}}dc(Vc(k))}if(i){dc(Vc(i))}a=fc(56);A[a+24>>3]=z;A[a+8>>3]=y;v[a>>2]=B;v[a+40>>2]=0;v[a+44>>2]=0;A[a+32>>3]=u;A[a+16>>3]=x;v[a+48>>2]=0;v[a+52>>2]=0;return a}f=P()|0;O()|0;c=B;break a}f=P()|0;O()|0}dc(c);T(f|0);L()}function I9a(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,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0,A=0,B=0,C=0;f=Qb-16|0;Qb=f;a:{b:{if(w[a+285|0]|w[a+286|0]|(w[a+287|0]|w[a+288|0])){break b}if(w[a+289|0]){break b}g=1029;pc(a,1029,0,0);break a}if(c>>>0>5){g=d;while(1){j=g;g=g+1|0;if(w[j|0]){continue}break}r=j+3|0;q=r;while(1){h=q;q=h+1|0;if(w[h|0]){continue}break}l=q;while(1){i=l;l=i+1|0;if(w[i|0]){continue}break}m=j-d|0;if(!(!((m|0)>(c|0)|(h-d|0)>(c|0))&(i-d|0)<=(c|0))){g=1043;pc(a,1043,0,0);break a}if((d|0)==(j|0)){g=1044;pc(a,1044,0,0);break a}s=w[g|0];if(s>>>0>=2){g=1038;pc(a,1038,0,0);break a}if(w[j+2|0]){g=1038;pc(a,1038,0,0);break a}v[f+12>>2]=0;v[f+4>>2]=0;n=h-j|0;k=i-h|0;c=(c-(n+m|0)|0)-k|0;o=c-1|0;z=c+4|0;u=k-1|0;x=n-3|0;h=0;c=0;i=0;c:{if(!v[a+192>>2]){break c}d:{if(s){g=Rs(a,l,o,f+4|0,f+8|0,f+12|0);if(!g){break d}b=v[f+4>>2];if(!b){break a}Ub[v[a+156>>2]](b,v[f+8>>2]);break a}v[f+12>>2]=o;c=z-4|0;v[f+8>>2]=c;c=Ub[v[a+152>>2]](c)|0;v[f+4>>2]=c;if(!c){g=1;pc(a,1,0,0);break a}gc(c,l,o)}g=m+1|0;i=Ub[v[a+152>>2]](g)|0;y=n-2|0;c=Ub[v[a+152>>2]](y)|0;h=Ub[v[a+152>>2]](k)|0;if(h?!i|!c:1){if(h){Ub[v[a+156>>2]](h,k)}if(c){Ub[v[a+156>>2]](c,y)}if(i){Ub[v[a+156>>2]](i,g)}b=v[f+4>>2];if(b){Ub[v[a+156>>2]](b,v[f+8>>2])}g=1;pc(a,1,0,0);break a}A=gc(i,d,m);B=gc(c,r,x);C=gc(h,q,u);p=v[f+4>>2];if(Ub[v[a+192>>2]](a,2,A,p,B,C)|0){break c}Ub[v[a+156>>2]](C,k);Ub[v[a+156>>2]](B,y);Ub[v[a+156>>2]](A,g);if(p){Ub[v[a+156>>2]](p,v[f+8>>2])}g=904;pc(a,904,0,0);break a}e:{if(!w[a+112|0]){break e}g=Ub[v[b+4>>2]](a,b,e)|0;if(g){if(h){Ub[v[a+156>>2]](h,k)}if(c){Ub[v[a+156>>2]](c,n-2|0)}if(i){Ub[v[a+156>>2]](i,m+1|0)}if(!p){break a}Ub[v[a+156>>2]](p,v[f+8>>2]);break a}b=v[e>>2];v[b+52>>2]=u;v[b+44>>2]=x;v[b+32>>2]=m;t[b+40|0]=w[j+1|0];t[b+41|0]=w[j+2|0];f:{if(!o|p){break f}if(s){g=Rs(a,l,o,f+4|0,f+8|0,f+12|0);if(!g){break f}if(h){Ub[v[a+156>>2]](h,k)}if(c){Ub[v[a+156>>2]](c,n-2|0)}if(i){Ub[v[a+156>>2]](i,m+1|0)}b=v[f+4>>2];if(!b){break a}Ub[v[a+156>>2]](b,v[f+8>>2]);break a}v[f+12>>2]=o;b=z-4|0;v[f+8>>2]=b;b=Ub[v[a+152>>2]](b)|0;v[f+4>>2]=b;if(!b){g=1;pc(a,1,0,0);break a}gc(b,l,o)}g=m+1|0;b=Ub[v[a+152>>2]](g)|0;v[v[e>>2]+36>>2]=b;l=n-2|0;b=Ub[v[a+152>>2]](l)|0;v[v[e>>2]+48>>2]=b;b=Ub[v[a+152>>2]](k)|0;v[v[e>>2]+56>>2]=b;b=v[e>>2];j=v[b+36>>2];if(v[b+56>>2]?!j|!v[b+48>>2]:1){if(h){Ub[v[a+156>>2]](h,k)}if(c){Ub[v[a+156>>2]](c,l)}if(i){Ub[v[a+156>>2]](i,g)}b=v[f+4>>2];if(b){Ub[v[a+156>>2]](b,v[f+8>>2])}g=1;pc(a,1,0,0);break a}gc(j,d,m);gc(v[v[e>>2]+48>>2],r,x);gc(v[v[e>>2]+56>>2],q,u);b=v[f+12>>2];v[v[e>>2]+60>>2]=b;if(!b){break e}d=Ub[v[a+152>>2]](b+1|0)|0;v[v[e>>2]+64>>2]=d;d=v[v[e>>2]+64>>2];if(!d){if(h){Ub[v[a+156>>2]](h,k)}if(c){Ub[v[a+156>>2]](c,l)}if(i){Ub[v[a+156>>2]](i,g)}b=v[f+4>>2];if(b){Ub[v[a+156>>2]](b,v[f+8>>2])}g=1;pc(a,1,0,0);break a}gc(d,v[f+4>>2],b)}if(h){Ub[v[a+156>>2]](h,k)}if(c){Ub[v[a+156>>2]](c,n-2|0)}if(i){Ub[v[a+156>>2]](i,m+1|0)}g=0;b=v[f+4>>2];if(!b){break a}Ub[v[a+156>>2]](b,v[f+8>>2]);break a}g=1028;pc(a,1028,0,0)}Qb=f+16|0;return g|0}function dc(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(!a){break a}d=a-8|0;b=v[a-4>>2];a=b&-8;f=d+a|0;b:{if(b&1){break b}if(!(b&3)){break a}b=v[d>>2];d=d-b|0;if(d>>>0>>0<=255){e=v[d+8>>2];b=b>>>3|0;c=v[d+12>>2];if((c|0)==(e|0)){i=1202032,j=v[300508]&Gib(-2,b),v[i>>2]=j;break b}v[e+12>>2]=c;v[c+8>>2]=e;break b}h=v[d+24>>2];b=v[d+12>>2];c:{if((d|0)!=(b|0)){c=v[d+8>>2];v[c+12>>2]=b;v[b+8>>2]=c;break c}d:{e=d+20|0;c=v[e>>2];if(c){break d}e=d+16|0;c=v[e>>2];if(c){break d}b=0;break c}while(1){g=e;b=c;e=b+20|0;c=v[e>>2];if(c){continue}e=b+16|0;c=v[b+16>>2];if(c){continue}break}v[g>>2]=0}if(!h){break b}e=v[d+28>>2];c=(e<<2)+1202336|0;e:{if(v[c>>2]==(d|0)){v[c>>2]=b;if(b){break e}i=1202036,j=v[300509]&Gib(-2,e),v[i>>2]=j;break b}v[h+(v[h+16>>2]==(d|0)?16:20)>>2]=b;if(!b){break b}}v[b+24>>2]=h;c=v[d+16>>2];if(c){v[b+16>>2]=c;v[c+24>>2]=b}c=v[d+20>>2];if(!c){break b}v[b+20>>2]=c;v[c+24>>2]=b;break b}b=v[f+4>>2];if((b&3)!=3){break b}v[300510]=a;v[f+4>>2]=b&-2;v[d+4>>2]=a|1;v[a+d>>2]=a;return}if(d>>>0>=f>>>0){break a}b=v[f+4>>2];if(!(b&1)){break a}f:{if(!(b&2)){if(v[300514]==(f|0)){v[300514]=d;a=v[300511]+a|0;v[300511]=a;v[d+4>>2]=a|1;if(v[300513]!=(d|0)){break a}v[300510]=0;v[300513]=0;return}if(v[300513]==(f|0)){v[300513]=d;a=v[300510]+a|0;v[300510]=a;v[d+4>>2]=a|1;v[a+d>>2]=a;return}a=(b&-8)+a|0;g:{if(b>>>0<=255){e=v[f+8>>2];b=b>>>3|0;c=v[f+12>>2];if((c|0)==(e|0)){i=1202032,j=v[300508]&Gib(-2,b),v[i>>2]=j;break g}v[e+12>>2]=c;v[c+8>>2]=e;break g}h=v[f+24>>2];b=v[f+12>>2];h:{if((f|0)!=(b|0)){c=v[f+8>>2];v[c+12>>2]=b;v[b+8>>2]=c;break h}i:{e=f+20|0;c=v[e>>2];if(c){break i}e=f+16|0;c=v[e>>2];if(c){break i}b=0;break h}while(1){g=e;b=c;e=b+20|0;c=v[e>>2];if(c){continue}e=b+16|0;c=v[b+16>>2];if(c){continue}break}v[g>>2]=0}if(!h){break g}e=v[f+28>>2];c=(e<<2)+1202336|0;j:{if(v[c>>2]==(f|0)){v[c>>2]=b;if(b){break j}i=1202036,j=v[300509]&Gib(-2,e),v[i>>2]=j;break g}v[h+(v[h+16>>2]==(f|0)?16:20)>>2]=b;if(!b){break g}}v[b+24>>2]=h;c=v[f+16>>2];if(c){v[b+16>>2]=c;v[c+24>>2]=b}c=v[f+20>>2];if(!c){break g}v[b+20>>2]=c;v[c+24>>2]=b}v[d+4>>2]=a|1;v[a+d>>2]=a;if(v[300513]!=(d|0)){break f}v[300510]=a;return}v[f+4>>2]=b&-2;v[d+4>>2]=a|1;v[a+d>>2]=a}if(a>>>0<=255){a=a>>>3|0;b=(a<<3)+1202072|0;c=v[300508];a=1<>2]}v[b+8>>2]=d;v[a+12>>2]=d;v[d+12>>2]=b;v[d+8>>2]=a;return}e=31;v[d+16>>2]=0;v[d+20>>2]=0;if(a>>>0<=16777215){b=a>>>8|0;g=b+1048320>>>16&8;b=b<>>16&4;b=b<>>16&2;b=(b<>>15|0)-(c|(e|g))|0;e=(b<<1|a>>>b+21&1)+28|0}v[d+28>>2]=e;g=(e<<2)+1202336|0;l:{m:{c=v[300509];b=1<>2]=d;v[d+24>>2]=g;break n}e=a<<((e|0)==31?0:25-(e>>>1|0)|0);b=v[g>>2];while(1){c=b;if((v[b+4>>2]&-8)==(a|0)){break m}b=e>>>29|0;e=e<<1;g=c+(b&4)|0;b=v[g+16>>2];if(b){continue}break}v[g+16>>2]=d;v[d+24>>2]=c}v[d+12>>2]=d;v[d+8>>2]=d;break l}a=v[c+8>>2];v[a+12>>2]=d;v[c+8>>2]=d;v[d+24>>2]=0;v[d+12>>2]=c;v[d+8>>2]=a}a=v[300516]-1|0;v[300516]=a?a:-1}}function x2(){var a=0,b=0,c=0,d=0,e=0,f=0,g=C(0),h=C(0),i=C(0),j=0,k=C(0);v[289102]=0;v[289103]=4;v[289100]=0;v[289101]=3;ic(1156416,0,132);v[289137]=46;while(1){d=(a>>>4&1)+(a>>>6&1)|0;c=(((a>>>3&1)+(a&1)|0)+(a>>>1&1)|0)+(a>>>2&1)|0;b=9;a:{b:{switch((a>>>5&1)+(a>>>7|0)|0){case 0:b=4;c:{switch(d|0){case 0:b=c?(c|0)==1?2:3:1;break a;case 1:break a;default:break c}}b=5;break a;case 1:break b;default:break a}}b=8;if(d){break a}b=c?7:6}v[(a<<2)+1131824>>2]=b;a=a+1|0;if((a|0)!=256){continue}break}a=0;while(1){d=(a>>>4&1)+(a>>>6&1)|0;c=(((a>>>3&1)+(a&1)|0)+(a>>>1&1)|0)+(a>>>2&1)|0;b=9;d:{e:{switch((a>>>5&1)+(a>>>7|0)|0){case 1:b=8;if(d){break d}b=c?7:6;break d;case 0:break e;default:break d}}b=4;f:{switch(d|0){case 0:b=c?(c|0)==1?2:3:1;break d;case 1:break d;default:break f}}b=5}v[(a<<2|1024)+1131824>>2]=b;a=a+1|0;if((a|0)!=256){continue}break}a=0;while(1){d=(a>>>5&1)+(a>>>7|0)|0;c=(((a>>>3&1)+(a&1)|0)+(a>>>1&1)|0)+(a>>>2&1)|0;b=9;g:{h:{switch((a>>>4&1)+(a>>>6&1)|0){case 1:b=8;if(d){break g}b=c?7:6;break g;case 0:break h;default:break g}}b=4;i:{switch(d|0){case 0:b=c?(c|0)==1?2:3:1;break g;case 1:break g;default:break i}}b=5}v[(a<<2|2048)+1131824>>2]=b;a=a+1|0;if((a|0)!=256){continue}break}a=0;while(1){c=(a>>>5&1)+(a>>>7|0)+((a>>>4&1)+(a>>>6&1))|0;b=9;j:{k:{switch((((a>>>3&1)+(a&1)|0)+(a>>>1&1)|0)+(a>>>2&1)|0){case 2:b=c?8:7;break j;case 1:b=c?(c|0)==1?5:6:4;break j;case 0:break k;default:break j}}b=c?(c|0)==1?2:3:1}v[(a<<2|3072)+1131824>>2]=b;a=a+1|0;if((a|0)!=256){continue}break}a=0;while(1){b=0;j=(a<<2)+1135920|0;c=a<<4;d=c&544;e=c&2176;d=(((d|0)==32|0)!=(((e|0)==128?-1:0)|0))-(((d|0)==544|0)!=(((e|0)==2176?-1:0)|0))|0;e=c&272;c=c&1088;c=(((e|0)==16|0)!=(((c|0)==64?-1:0)|0))-(((e|0)==272|0)!=(((c|0)==1088?-1:0)|0))|0;if(d|c){d=((d|0)!=0|(c|0)<1)&(d|0)<1}else{d=0}v[j>>2]=d;a=a+1|0;if((a|0)!=256){continue}break}while(1){a=0;c=b<<4;d=c&272;e=c&1088;d=(((d|0)==16|0)!=(((e|0)==64?-1:0)|0))-(((d|0)==272|0)!=(((e|0)==1088?-1:0)|0))|0;j=0-d|0;e=d;d=c&544;c=c&2176;d=(((d|0)==32|0)!=(((c|0)==128?-1:0)|0))-(((d|0)==544|0)!=(((c|0)==2176?-1:0)|0))|0;c=(d|0)<0?j:e;v[(b<<2)+1136944>>2]=d?(c|0)==-1?15:c?17:16:c?14:13;b=b+1|0;if((b|0)!=256){continue}break}while(1){b=a<<2;c=a&8192;v[b+1137968>>2]=c?12:a&254?11:10;v[(b|4)+1137968>>2]=c?12:11;a=a+2|0;if((a|0)!=2048){continue}break}b=0;while(1){a=b<<2;v[a+1146160>>2]=12;v[a+1146164>>2]=12;v[a+1146168>>2]=12;v[a+1146172>>2]=12;b=b+4|0;if((b|0)!=2048){continue}break}a=0;while(1){b=a<<2;e=b+1154864|0;g=C(C(a|0)*C(.015625));h=C(g*g);f=H(+h*64+.5)*.015625*8192;l:{if(D(f)<2147483648){d=~~f;break l}d=-2147483648}v[e>>2]=d;e=b+1155888|0;i=C(g+C(-1));i=C(i*i);f=H(+i*64+.5)*.015625*8192;m:{if(D(f)<2147483648){d=~~f;break m}d=-2147483648}v[e>>2]=d;e=b+1154352|0;k=h;h=C(g+C(-1.5));f=H(+C(k-C(h*h))*64+.5)*.015625*8192;n:{if(D(f)<2147483648){d=~~f;break n}d=-2147483648}v[e>>2]=d;e=b+1155376|0;g=a&64?h:C(g+C(-.5));f=H(+C(i-C(g*g))*64+.5)*.015625*8192;o:{if(D(f)<2147483648){d=~~f;break o}d=-2147483648}v[e>>2]=d;a=a+1|0;if((a|0)!=128){continue}break}}function Gi(a,b,c){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,p=0,q=0;v[a+20>>2]=1;q=Od(a,1,c);f=v[a+20>>2];h=q|f<<1;f=f>>>0<256?h:h&255|256;v[a+20>>2]=f;h=Od(a,f,c);f=v[a+20>>2];e=h|f<<1;f=f>>>0<256?e:e&255|256;v[a+20>>2]=f;f=Od(a,f,c);e=v[a+20>>2];d=f|e<<1;e=e>>>0<256?d:d&255|256;v[a+20>>2]=e;a:{b:{if(h){h=Od(a,e,c);e=v[a+20>>2];d=h|e<<1;e=e>>>0<256?d:d&255|256;v[a+20>>2]=e;if(f){e=Od(a,e,c);f=v[a+20>>2];d=e|f<<1;f=f>>>0<256?d:d&255|256;v[a+20>>2]=f;if(!h){f=Od(a,f,c);h=v[a+20>>2];d=f|h<<1;h=h>>>0<256?d:d&255|256;v[a+20>>2]=h;h=Od(a,h,c);d=v[a+20>>2];g=h|d<<1;d=d>>>0<256?g:g&255|256;v[a+20>>2]=d;d=Od(a,d,c);g=v[a+20>>2];i=d|g<<1;g=g>>>0<256?i:i&255|256;v[a+20>>2]=g;g=Od(a,g,c);i=v[a+20>>2];j=g|i<<1;i=i>>>0<256?j:j&255|256;v[a+20>>2]=i;c=Od(a,i,c);m=a;a=v[a+20>>2];i=c|a<<1;v[m+20>>2]=a>>>0<256?i:i&255|256;a=(c|(g|((h|(e<<2|f<<1))<<2|d<<1))<<1)+20|0;break a}h=Od(a,f,c);f=v[a+20>>2];d=h|f<<1;f=f>>>0<256?d:d&255|256;v[a+20>>2]=f;if(!e){f=Od(a,f,c);e=v[a+20>>2];d=f|e<<1;e=e>>>0<256?d:d&255|256;v[a+20>>2]=e;e=Od(a,e,c);d=v[a+20>>2];g=e|d<<1;d=d>>>0<256?g:g&255|256;v[a+20>>2]=d;d=Od(a,d,c);g=v[a+20>>2];i=d|g<<1;g=g>>>0<256?i:i&255|256;v[a+20>>2]=g;g=Od(a,g,c);i=v[a+20>>2];j=g|i<<1;i=i>>>0<256?j:j&255|256;v[a+20>>2]=i;i=Od(a,i,c);j=v[a+20>>2];k=i|j<<1;j=j>>>0<256?k:k&255|256;v[a+20>>2]=j;j=Od(a,j,c);k=v[a+20>>2];l=j|k<<1;k=k>>>0<256?l:l&255|256;v[a+20>>2]=k;c=Od(a,k,c);m=a;a=v[a+20>>2];k=c|a<<1;v[m+20>>2]=a>>>0<256?k:k&255|256;a=(c|(j|((g|((e|(h<<2|f<<1))<<2|d<<1))<<2|i<<1))<<1)+84|0;break a}if(!h){break b}e=0;h=0;while(1){d=Od(a,f,c);f=v[a+20>>2];g=d|f<<1;f=f>>>0<256?g:g&255|256;v[a+20>>2]=f;h=d|h<<1;e=e+1|0;if((e|0)!=32){continue}break}a=h+4436|0;break a}f=Od(a,e,c);e=v[a+20>>2];d=f|e<<1;e=e>>>0<256?d:d&255|256;v[a+20>>2]=e;e=Od(a,e,c);d=v[a+20>>2];g=e|d<<1;d=d>>>0<256?g:g&255|256;v[a+20>>2]=d;c=Od(a,d,c);m=a;a=v[a+20>>2];d=c|a<<1;v[m+20>>2]=a>>>0<256?d:d&255|256;a=(c|(e|(f<<1|h<<2))<<1)+4|0;break a}c=Od(a,e,c);m=a;a=v[a+20>>2];h=c|a<<1;v[m+20>>2]=a>>>0<256?h:h&255|256;a=c|f<<1;break a}f=Od(a,f,c);h=v[a+20>>2];e=f|h<<1;h=h>>>0<256?e:e&255|256;v[a+20>>2]=h;h=Od(a,h,c);e=v[a+20>>2];d=h|e<<1;e=e>>>0<256?d:d&255|256;v[a+20>>2]=e;e=Od(a,e,c);d=v[a+20>>2];g=e|d<<1;d=d>>>0<256?g:g&255|256;v[a+20>>2]=d;d=Od(a,d,c);g=v[a+20>>2];i=d|g<<1;g=g>>>0<256?i:i&255|256;v[a+20>>2]=g;g=Od(a,g,c);i=v[a+20>>2];j=g|i<<1;i=i>>>0<256?j:j&255|256;v[a+20>>2]=i;i=Od(a,i,c);j=v[a+20>>2];k=i|j<<1;j=j>>>0<256?k:k&255|256;v[a+20>>2]=j;j=Od(a,j,c);k=v[a+20>>2];l=j|k<<1;k=k>>>0<256?l:l&255|256;v[a+20>>2]=k;k=Od(a,k,c);l=v[a+20>>2];n=k|l<<1;l=l>>>0<256?n:n&255|256;v[a+20>>2]=l;l=Od(a,l,c);n=v[a+20>>2];o=l|n<<1;n=n>>>0<256?o:o&255|256;v[a+20>>2]=n;n=Od(a,n,c);o=v[a+20>>2];p=n|o<<1;o=o>>>0<256?p:p&255|256;v[a+20>>2]=o;o=Od(a,o,c);p=v[a+20>>2];m=o|p<<1;p=p>>>0<256?m:m&255|256;v[a+20>>2]=p;c=Od(a,p,c);m=a;a=v[a+20>>2];p=c|a<<1;v[m+20>>2]=a>>>0<256?p:p&255|256;a=(c|(o|((l|((j|((g|((e|(f<<2|h<<1))<<2|d<<1))<<2|i<<1))<<2|k<<1))<<2|n<<1))<<1)+340|0}if(q){if(!a){return 0}a=0-a|0}v[b>>2]=a;return 1}function hfb(a){a=a|0;var 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;b=v[a+572>>2];d=v[a+664>>2];a:{if((b|0)<(d|0)|(b|0)>=v[a+668>>2]){break a}d=Ub[v[a+220>>2]](a,v[a+680>>2]+(b-d|0)|0)|0;g=Ub[v[a+228>>2]](a,(v[a+680>>2]+v[a+572>>2]|0)-v[a+664>>2]|0)|0;b=v[a+580>>2];e=v[a+672>>2];d=(d+B(b,3)|0)+B(e,3)|0;f=v[a+656>>2];c=(f|0)/v[a+584>>2]|0;g=e+(b+g|0)|0;e=v[a+644>>2];b:{if(!w[a+648|0]){f=b+f|0;b=e+(c<<2)|0;c=v[a+660>>2];if(!w[a+649|0]){break b}if((c|0)<=(f|0)){break a}while(1){t[d|0]=w[b|0];t[d+1|0]=w[b+1|0];t[d+2|0]=w[b+2|0];t[g|0]=w[b+3|0];b=b+4|0;c=v[a+584>>2];g=c+g|0;d=B(c,3)+d|0;f=c+f|0;if((f|0)>2]){continue}break}break a}f=b+f|0;b=e+(c<<3)|0;c=v[a+660>>2];if(w[a+649|0]){if((c|0)<=(f|0)){break a}while(1){t[d|0]=w[b|0];t[d+1|0]=w[b+2|0];t[d+2|0]=w[b+4|0];t[g|0]=w[b+6|0];b=b+8|0;c=v[a+584>>2];g=c+g|0;d=B(c,3)+d|0;f=c+f|0;if((f|0)>2]){continue}break}break a}if((c|0)<=(f|0)){break a}while(1){c=w[b+6|0]|w[b+7|0]<<8;c=(c<<8|c>>>8)&65535;c:{if(!c){break c}d:{if((c|0)!=65535){e=w[g|0];e=e<<8|e;if(e){break d}}t[d|0]=w[b|0];t[d+1|0]=w[b+2|0];t[d+2|0]=w[b+4|0];t[g|0]=w[b+6|0];break c}if((e|0)==65535){e=w[b|0]|w[b+1|0]<<8;h=w[b+2|0]|w[b+3|0]<<8;i=w[b+4|0]|w[b+5|0]<<8;o=B(c,(i<<8|i>>>8)&65535);i=w[d+2|0];j=i<<8|i;i=c^65535;k=(o+B(j,i)|0)+32768|0;t[d+2|0]=(k>>>16|0)+k>>>24;j=B((h<<8|h>>>8)&65535,c);h=w[d+1|0];h=(j+B(i,h<<8|h)|0)+32768|0;t[d+1|0]=(h>>>16|0)+h>>>24;j=B((e<<8|e>>>8)&65535,c);c=w[d|0];c=(j+B(i,c<<8|c)|0)+32768|0;t[d|0]=(c>>>16|0)+c>>>24;break c}h=w[d|0];i=w[d+1|0];k=w[b|0]|w[b+1|0]<<8;l=w[b+2|0]|w[b+3|0]<<8;m=c^65535;o=B(m,e^65535)^-1;n=o>>>16|0;e=(B(e,m)>>>0)/(n>>>0)|0;j=w[d+2|0];c=(c<<16>>>0)/(n>>>0)|0;m=w[b+4|0]|w[b+5|0]<<8;t[d+2|0]=(B(e,j<<8|j)+B(c,(m<<8|m>>>8)&65535)|0)+32767>>>24;t[d+1|0]=(B(e,i|i<<8)+B(c,(l<<8|l>>>8)&65535)|0)+32767>>>24;t[d|0]=(B(e,h|h<<8)+B(c,(k<<8|k>>>8)&65535)|0)+32767>>>24;t[g|0]=o>>>24}b=b+8|0;c=v[a+584>>2];g=c+g|0;d=B(c,3)+d|0;f=c+f|0;if((f|0)>2]){continue}break}break a}if((c|0)<=(f|0)){break a}while(1){c=w[b+3|0];e:{if(!c){break e}f:{if((c|0)!=255){e=w[g|0];if(e){break f}}t[d|0]=w[b|0];t[d+1|0]=w[b+1|0];t[d+2|0]=w[b+2|0];t[g|0]=w[b+3|0];break e}if((e|0)==255){e=c^255;h=(B(c,w[b|0])+B(e,w[d|0])|0)+128|0;t[d|0]=(h>>>8&255)+h>>>8;h=(B(c,w[b+1|0])+B(e,w[d+1|0])|0)+128|0;t[d+1|0]=(h>>>8&255)+h>>>8;c=(B(c,w[b+2|0])+B(e,w[d+2|0])|0)+128|0;t[d+2|0]=(c>>>8&255)+c>>>8;break e}h=w[b|0];i=w[b+1|0];k=c^255;l=B(k,e^255)>>>8^-1;n=l&255;c=(c<<8>>>0)/(n>>>0)|0;e=(B(e,k)>>>0)/(n>>>0)|0;t[d+2|0]=(B(c,w[b+2|0])+B(e,w[d+2|0])|0)+127>>>8;t[d+1|0]=(B(c,i)+B(e,w[d+1|0])|0)+127>>>8;t[d|0]=(B(c,h)+B(e,w[d|0])|0)+127>>>8;t[g|0]=l}b=b+4|0;c=v[a+584>>2];g=c+g|0;d=B(c,3)+d|0;f=c+f|0;if((f|0)>2]){continue}break}}d=v[a+680>>2]+v[a+572>>2]|0;g=v[a+664>>2];b=v[a+556>>2];f=v[a+672>>2];g:{if((f|0)>=v[a+552>>2]){if(b){break g}b=0}v[a+552>>2]=f}j=b;b=v[a+676>>2];if((j|0)<(b|0)){v[a+556>>2]=b}b=v[a+564>>2];d=d-g|0;h:{if((d|0)>=v[a+560>>2]){if(b){break h}b=0}v[a+560>>2]=d}if((b|0)<=(d|0)){v[a+564>>2]=d+1}return 0}function R6(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{if(!d){d=v[a+584>>2];if(d){k=(c|0)/v[d+8>>2]|0;b:{if(v[d>>2]!=1){if(v[d+16>>2]<(k|0)){break b}c=v[d+12>>2];Ub[v[d+20>>2]](d,b,k);b=c}c=v[a+600>>2];g=c-v[a+608>>2]|0;d=v[a+604>>2];if((k|0)<1){break a}c=0;while(1){if((g|0)<=3){v[a+604>>2]=d;v[a+608>>2]=v[a+600>>2]-g;if(!Ae(a)){return-1}g=v[a+600>>2]-v[a+608>>2]|0;d=v[a+604>>2]}e=c;h=c;c:{if((c|0)>=(k|0)){break c}while(1){f=1;h=e;i=u[(e<<1)+b>>1]&-256;d:{while(1){e=f+h|0;if((k|0)<=(e|0)){j=f;break d}e:{if((i|0)!=w[((e<<1)+b|0)+1|0]<<8){j=f;break e}j=f+1|0;e=j+h|0;if((k|0)<=(e|0)){break d}if((i|0)!=w[((e<<1)+b|0)+1|0]<<8){break e}j=129;f=f+2|0;if((f|0)!=129){continue}break c}break}if(j>>>0<=3){continue}break c}break}h=j>>>0>3?h:e}f=h-c|0;f:{if((f&-2)!=2){break f}e=c+1|0;i=x[(c<<1)+b>>1];l=(i&65280)<<16>>16;while(1){if((l|0)!=w[((e<<1)+b|0)+1|0]<<8){break f}e=e+1|0;if((h|0)!=(e|0)){continue}break}t[d+1|0]=i>>>8;t[d|0]=f+126;g=g-2|0;d=d+2|0;c=h}if((c|0)<(h|0)){while(1){e=h-c|0;i=(e|0)<127?e:127;if((i+3|0)>(g|0)){v[a+604>>2]=d;v[a+608>>2]=v[a+600>>2]-g;if(!Ae(a)){return-1}g=v[a+600>>2]-v[a+608>>2]|0;d=v[a+604>>2]}t[d|0]=i;d=d+1|0;g=g-1|0;if(i){e=i;f=e&3;if(f){while(1){t[d|0]=w[((c<<1)+b|0)+1|0];d=d+1|0;c=c+1|0;e=e-1|0;f=f-1|0;if(f){continue}break}}if(i-1>>>0>=3){while(1){f=(c<<1)+b|0;t[d|0]=w[f+1|0];t[d+1|0]=w[f+3|0];t[d+2|0]=w[f+5|0];t[d+3|0]=w[f+7|0];d=d+4|0;c=c+4|0;e=e-4|0;if(e){continue}break}}g=g-i|0}if((c|0)<(h|0)){continue}break}}e=0;g:{if((j|0)<4){j=0;break g}t[d|0]=j+126;t[d+1|0]=w[((h<<1)+b|0)+1|0];g=g-2|0;d=d+2|0}c=c+j|0;if((k|0)>(c|0)){continue}break}while(1){if((g|0)<=3){v[a+604>>2]=d;v[a+608>>2]=v[a+600>>2]-g;if(!Ae(a)){return-1}g=v[a+600>>2]-v[a+608>>2]|0;d=v[a+604>>2]}c=e;h=c;h:{if((c|0)>=(k|0)){break h}while(1){f=1;h=c;i=x[(c<<1)+b>>1];i:{while(1){c=f+h|0;if((k|0)<=(c|0)){j=f;break i}j:{l=i&255;if(l^w[(c<<1)+b|0]){j=f;break j}j=f+1|0;c=j+h|0;if((k|0)<=(c|0)){break i}if(l^w[(c<<1)+b|0]){break j}j=129;f=f+2|0;if((f|0)!=129){continue}break h}break}if(j>>>0<=3){continue}break h}break}h=j>>>0>3?h:c}i=h-e|0;k:{if((i&-2)!=2){break k}c=e+1|0;f=x[(e<<1)+b>>1];while(1){if(w[(c<<1)+b|0]^f&255){break k}c=c+1|0;if((h|0)!=(c|0)){continue}break}t[d+1|0]=f;t[d|0]=i+126;g=g-2|0;d=d+2|0;e=h}if((e|0)<(h|0)){while(1){c=h-e|0;i=(c|0)<127?c:127;if((i+3|0)>(g|0)){v[a+604>>2]=d;v[a+608>>2]=v[a+600>>2]-g;if(!Ae(a)){return-1}g=v[a+600>>2]-v[a+608>>2]|0;d=v[a+604>>2]}t[d|0]=i;d=d+1|0;g=g-1|0;if(i){c=i;f=c&3;if(f){while(1){t[d|0]=w[(e<<1)+b|0];d=d+1|0;e=e+1|0;c=c-1|0;f=f-1|0;if(f){continue}break}}if(i-1>>>0>=3){while(1){f=(e<<1)+b|0;t[d|0]=w[f|0];t[d+1|0]=w[f+2|0];t[d+2|0]=w[f+4|0];t[d+3|0]=w[f+6|0];d=d+4|0;e=e+4|0;c=c-4|0;if(c){continue}break}}g=g-i|0}if((e|0)<(h|0)){continue}break}}l:{if((j|0)<4){j=0;break l}t[d|0]=j+126;t[d+1|0]=w[(h<<1)+b|0];g=g-2|0;d=d+2|0}e=e+j|0;if((k|0)>(e|0)){continue}break}c=v[a+600>>2];break a}X(34494,6284,390,84318);L()}X(25714,6284,383,84318);L()}X(33866,6284,382,84318);L()}v[a+604>>2]=d;v[a+608>>2]=c-g;return 1}function XGa(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=C(0),m=0,n=0,o=0,p=0,q=0,r=0,s=0,x=C(0);g=Qb-384|0;Qb=g;a:{if(!(w[a+208|0]|w[a+203|0])){nk(a,v[b+596>>2],A[b+104>>3],b+16|0);k=A[b+392>>3];e=v[a+104>>2];Ub[v[v[e>>2]+132>>2]](e,g+380|0)|0;e=v[a+104>>2];Ub[v[v[e>>2]+136>>2]](e,888348)|0;o=A[c+216>>3];p=A[c+224>>3];q=A[c+200>>3];r=A[c+208>>3];s=A[c+184>>3];z[g+20>>2]=A[c+192>>3]/72*25.4;z[g+16>>2]=s/72*25.4;z[g+4>>2]=r/72*25.4;z[g>>2]=q/72*25.4;i=v[c+364>>2]!=0;h=v[c+368>>2]!=0;j=Qb-32|0;Qb=j;f=g+144|0;d=f;v[d>>2]=0;v[d+4>>2]=0;v[d+24>>2]=0;v[d+28>>2]=1065353216;v[d+32>>2]=0;v[d+36>>2]=0;v[d+76>>2]=0;v[d+80>>2]=1;v[d+68>>2]=0;v[d+72>>2]=0;v[d+60>>2]=1056964608;v[d+64>>2]=1065353216;u[d+56>>1]=0;v[d+48>>2]=1065353216;v[d+52>>2]=1065353216;v[d+8>>2]=0;v[d+12>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+84>>2]=1;v[d+88>>2]=0;v[d+92>>2]=0;v[d+96>>2]=0;v[d+100>>2]=0;v[d+104>>2]=0;v[d+108>>2]=0;v[d+120>>2]=0;v[d+124>>2]=0;v[d+128>>2]=0;v[d+132>>2]=0;v[d+136>>2]=0;v[d+140>>2]=0;e=fc(24);v[d+132>>2]=e;d=e+24|0;v[f+140>>2]=d;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;v[e>>2]=0;v[e+4>>2]=0;v[f+136>>2]=d;ic(f+148|0,0,88);v[f+80>>2]=1;v[f+84>>2]=1;z[f+76>>2]=h>>>0;z[f+72>>2]=i>>>0;v[299999]=0;l=C(o);h=Pa(3142,j|0,256,C(l),C(C(p)))|0;e=v[299999];v[299999]=0;b:{if((e|0)!=1){v[f+88>>2]=v[h>>2];e=v[f+92>>2];if(e){d=v[f+96>>2];if((e|0)==(d|0)){d=e}else{while(1){i=d-12|0;m=v[i>>2];if(m){v[d-8>>2]=m;dc(m)}d=i;if((e|0)!=(d|0)){continue}break}d=v[f+92>>2]}v[f+96>>2]=e;dc(d);v[f+100>>2]=0;v[f+92>>2]=0;v[f+96>>2]=0}v[f+92>>2]=v[h+4>>2];v[f+96>>2]=v[h+8>>2];v[f+100>>2]=v[h+12>>2];e=v[h+20>>2];v[f+104>>2]=v[h+16>>2];v[f+108>>2]=e;e=v[h+28>>2];v[f+112>>2]=v[h+24>>2];v[f+116>>2]=e;e=v[g+16>>2];d=v[g+20>>2];i=v[g+4>>2];v[f+156>>2]=v[g>>2];v[f+160>>2]=i;v[f+148>>2]=e;v[f+152>>2]=d;t[f+144|0]=1;Qb=j+32|0;break b}a=P()|0;O()|0;Ne(f+80|0);T(a|0);L()}k=k*255;c:{if(D(k)<2147483648){e=~~k;break c}e=-2147483648}d=v[g+232>>2];if(d){x=C((p-o)/+(d>>>0));i=v[c+8>>2];while(1){v[299999]=0;Ya(3141,c|0,+l,g+16|0);d=v[299999];v[299999]=0;if((d|0)==1){break a}d=v[v[i>>2]+20>>2];v[299999]=0;$(d|0,i|0,g+16|0,g|0,0);d=v[299999];v[299999]=0;if((d|0)==1){break a}f=v[g+8>>2];h=v[g+4>>2];j=v[g>>2];d=v[v[g+236>>2]>>2]+(n<<2)|0;t[d+3|0]=e;t[d+2|0]=B(j,255)+32768>>>16;t[d+1|0]=B(h,255)+32768>>>16;t[d|0]=B(f,255)+32768>>>16;l=C(l+x);n=n+1|0;if(n>>>0>2]){continue}break}}c=v[a+104>>2];e=kp(c,457612,457624);if(e){c=v[v[e>>2]+560>>2];v[299999]=0;V(c|0,e|0,g+144|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}c=v[a+104>>2];e=v[v[c>>2]+328>>2];v[299999]=0;Q(e|0,c|0,888336)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}c=v[a+104>>2]}v[g+16>>2]=4;e=v[v[c>>2]+292>>2];v[299999]=0;Q(e|0,c|0,g+16|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}a=v[a+104>>2];c=v[v[a>>2]+136>>2];v[299999]=0;Q(c|0,a|0,g+380|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break a}v[299999]=0;R(3139,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}Ne(g+224|0)}Qb=g+384|0;return 1}a=P()|0;O()|0;Ne(g+224|0);T(a|0);L()}function _w(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,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,w=0,y=0,z=0,A=0,C=0;if(v[299395]<=-1){bO()}if((e|0)<(f|0)){C=c-1|0;while(1){z=B(d,e);A=e<<1;if((c|0)>=1){s=B(e,3);t=0-s|0;r=a;y=0;while(1){o=(b<<1)+r|0;i=e<<1;g=i+r|0;k=0;a:{if((b|0)<=(e|0)){n=0;q=0;m=0;h=0;break a}n=u[r>>1];q=n;i=g+i|0;if(i>>>0>>0){q=u[i>>1]}m=n;i=(s<<1)+g|0;if(i>>>0>>0){m=u[i>>1]}h=u[g>>1]-((n+q|0)+1>>1)|0;u[g>>1]=h;g=(A<<1)+g|0}l=0;j=0;w=s<<1;p=w+g|0;if(p>>>0>>0){while(1){l=j;j=h;i=q;q=m;m=u[p>>1];h=u[g>>1]-((B(i+q|0,9)-(m+n|0)|0)+8>>4)|0;u[g>>1]=h;n=(t<<1)+g|0;u[n>>1]=x[n>>1]+((B(j+l|0,9)-(h+k|0)|0)+16>>>5|0);k=l;n=i;g=(A<<1)+g|0;p=w+g|0;if(p>>>0>>0){continue}break}l=j}b:{if(g>>>0>=o>>>0){i=l;j=h;break b}w=m+1|0;j=u[g>>1]-(w+q>>1)|0;u[g>>1]=j;n=t<<1;i=n+g|0;u[i>>1]=x[i>>1]+((B(h+l|0,9)-(j+k|0)|0)+16>>>5|0);q=A<<1;g=q+g|0;if(o>>>0<=g>>>0){k=l;i=h;break b}m=m+w>>1;i=h;while(1){k=i;i=j;j=u[g>>1]-m|0;u[g>>1]=j;h=g+n|0;u[h>>1]=x[h>>1]+((B(i+k|0,9)-(j+l|0)|0)+16>>>5|0);l=k;g=g+q|0;if(o>>>0>g>>>0){continue}break}}l=t<<1;h=l+g|0;c:{if(h>>>0>=o>>>0){break c}if(h>>>0>=r>>>0){u[h>>1]=x[h>>1]+((B(j+i|0,9)-k|0)+16>>>5|0)}k=g;g=A<<1;k=k+g|0;h=k+l|0;if(h>>>0>=o>>>0){break c}if(h>>>0>=r>>>0){u[h>>1]=x[h>>1]+((B(j,9)-i|0)+16>>>5|0)}k=l+(g+k|0)|0;if(k>>>0>=o>>>0|k>>>0>>0){break c}u[k>>1]=x[k>>1]+(16-j>>>5|0)}r=(z<<1)+r|0;y=e+y|0;if((y|0)<(c|0)){continue}break}}p=(C|0)/(e|0)|0;if((p|0)>=-2){o=0-z|0;k=z<<1;t=k;y=B(z,3);s=0-y|0;g=1;k=a+k|0;while(1){l=b<<1;j=l+k|0;d:{e:{f:{q=g>>>0<3;m=g;g:{if(!(q|(p|0)<(g+3|0))){g=k;if((b|0)<1){break f}while(1){u[g>>1]=x[g>>1]-((B(u[g+t>>1]+u[(o<<1)+g>>1]|0,9)-(u[(s<<1)+g>>1]+u[(y<<1)+g>>1]|0)|0)+8>>>4|0);g=(e<<1)+g|0;if(j>>>0>g>>>0){continue}break}break g}if((b|0)<1|(m|0)>(p|0)){break g}h=(((m|0)<(p|0)?z:o)<<1)+k|0;g=k;while(1){u[g>>1]=x[g>>1]-((u[(o<<1)+g>>1]+u[h>>1]|0)+1>>>1|0);i=e<<1;h=i+h|0;g=g+i|0;if(j>>>0>g>>>0){continue}break}}i=s<<1;g=i+k|0;n=l+g|0;h=(m|0)>(p|0);j=h;l=m>>>0>5;if(h|m>>>0<6){break e}if((b|0)<1){break d}while(1){u[g>>1]=x[g>>1]+((B(u[g+t>>1]+u[(o<<1)+g>>1]|0,9)-(u[g+i>>1]+u[(y<<1)+g>>1]|0)|0)+16>>>5|0);g=(e<<1)+g|0;if(n>>>0>g>>>0){continue}break}break d}g=(s<<1)+k|0;n=l+g|0;j=(m|0)>(p|0);l=m>>>0>5;if(m>>>0<6){break e}if((m|0)<=(p|0)){break d}}if(q){break d}h=j?0:k;w=s<<1;j=(p|0)<(m-2|0)?0:t+(w+k|0)|0;if(l){if((b|0)<1){break d}while(1){l=u[(o<<1)+g>>1];r=u[g+w>>1];u[g>>1]=x[g>>1]+((B(l+(j?u[j>>1]:0)|0,9)-(r+(h?u[h>>1]:0)|0)|0)+16>>>5|0);i=e<<1;h=h?i+h|0:0;j=j?j+i|0:0;g=g+i|0;if(n>>>0>g>>>0){continue}break}break d}if(m>>>0<=3){if((b|0)<=0){break d}while(1){u[g>>1]=x[g>>1]+((B(j?u[j>>1]:0,9)-(h?u[h>>1]:0)|0)+16>>>5|0);i=e<<1;h=h?i+h|0:0;j=j?j+i|0:0;g=g+i|0;if(n>>>0>g>>>0){continue}break}break d}if((b|0)<1){break d}while(1){l=u[(o<<1)+g>>1];u[g>>1]=x[g>>1]+((B(l+(j?u[j>>1]:0)|0,9)-(h?u[h>>1]:0)|0)+16>>>5|0);i=e<<1;h=h?i+h|0:0;j=j?j+i|0:0;g=g+i|0;if(n>>>0>g>>>0){continue}break}}g=m+2|0;k=(t<<1)+k|0;if((p|0)>=(m-1|0)){continue}break}}e=A;if((f|0)>(e|0)){continue}break}}}function uMa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=Qb-48|0;Qb=f;h=v[a+8>>2];v[f+12>>2]=h;e=v[a+12>>2];a:{b:{c:{d:{e:{f:{g:{g=v[a+4>>2];i=v[g+8>>2];if(v[i+64>>2]==1){j=a+8|0;c=x[a>>1];c=c>>>0<28?c:28;gc(f+16|0,a,c);u[f+16>>1]=c;v[f+20>>2]=v[i+40>>2];if(v[i+60>>2]){break g}c=0;break b}k=v[a+16>>2];l=v[v[i+40>>2]+24>>2];if(v[i+60>>2]){break e}if(w[g+36|0]!=1|e>>>0<=h>>>0|y[a+20>>2]<=k>>>0){break f}t[g+36|0]=0;j=w[g+37|0];break d}c=1;break b}c=0;break c}c=1;break c}c=2}while(1){h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{switch(c|0){case 0:r:{s:{if(e>>>0>h>>>0){if(y[a+20>>2]<=k>>>0){break k}while(1){c=h+1|0;t:{u:{v:{d=w[h|0];switch(d-14|0){case 13:break r;case 1:break u;case 0:break v;default:break p}}t[i+68|0]=1;t[i+52|0]=1;break t}t[i+52|0]=0;if(w[i+68|0]){break s}}h=c;if((c|0)!=(e|0)){continue}break}h=e}v[f+12>>2]=h;break j}t[i+68|0]=0;v[b>>2]=18;b=v[a+4>>2];t[b+37|0]=15;v[b+256>>2]=2;t[v[a+4>>2]+36|0]=1;v[a+8>>2]=c;break i}v[f+12>>2]=h;g=v[a+4>>2];c=1;continue;case 1:break q;default:break o}}t[i+68|0]=0;oz(g,f+12|0,e,2,b);if(v[b>>2]<=0){h=v[f+12>>2];break h}v[a+16>>2]=k;v[a+8>>2]=v[f+12>>2];break a}v[f+12>>2]=c;t[i+68|0]=0;d=d<<24>>24;j=d&255;if(w[i+52|0]!=1){break m}if(c>>>0>=e>>>0){break n}h=c;c=2;continue}d=65535;m=j&65535;c=w[h|0];n=c-33|0;if(!((j+223&254)>>>0>93|(n&255)>>>0>93)){t[f+17|0]=c^128;t[f+16|0]=j^128;h=h+1|0;v[f+12>>2]=h;j=c|m<<8;d=em(l,f+16|0,2);break l}if((n&255)>>>0<94|(1<>>0<=31:0)){break l}h=h+1|0;v[f+12>>2]=h;j=c|m<<8;break l}t[v[a+4>>2]+37|0]=d;t[v[a+4>>2]+36|0]=1;h=c;break j}if((d|0)<0){d=65535}else{d=em(l,h,1)}h=c}if((d|0)<=65533){c=v[a+24>>2];if(c){v[c+(k-v[a+16>>2]<<1)>>2]=(((j&65535)>>>0<256?-1:-2)+h|0)-v[a+8>>2]}u[k>>1]=d;k=k+2|0;break h}c=v[a+4>>2];e=c;if((j&65535)>>>0<256){g=1}else{t[c+38|0]=j;j=(j&65280)>>>8|0;g=2}t[e+36|0]=g;t[c+37|0]=j;v[b>>2]=(d|0)==65534?10:12;break j}v[f+12>>2]=h;v[b>>2]=15}v[a+8>>2]=h}v[a+16>>2]=k;break a}c=0;continue}}while(1)if(c){oz(g,j,e,2,b);c=0;continue}else{g=v[b>>2];if((g|0)>0){break a}e=v[a+8>>2];d=v[a+12>>2];if(e>>>0>=d>>>0){break a}v[f+24>>2]=e;c=e;w:{while(1){if(w[c|0]==27){break w}c=c+1|0;if((d|0)!=(c|0)){continue}break}c=d}v[f+28>>2]=c;x:{if((c|0)==(e|0)){break x}e=v[a+4>>2];g=w[e+36|0];c=g<<24>>24;y:{if((c|0)<=0){d=v[f+20>>2];break y}d=v[f+20>>2];gc(d+37|0,e+37|0,g);c=w[v[a+4>>2]+36|0]}t[d+36|0]=c;BG(f+16|0,b);c=v[a+24>>2];z:{if(!c){break z}e=v[j>>2];if((e|0)==(h|0)){break z}d=v[a+16>>2];g=v[f+32>>2];if(d>>>0>=g>>>0){break z}e=e-h|0;while(1){i=v[c>>2];if((i|0)>=0){v[c>>2]=e+i}c=c+4|0;d=d+2|0;if(g>>>0>d>>>0){continue}break}}v[a+8>>2]=v[f+24>>2];v[a+16>>2]=v[f+32>>2];v[a+24>>2]=v[f+40>>2];c=v[f+20>>2];e=w[c+36|0];d=e<<24>>24;if((d|0)>=1){gc(v[a+4>>2]+37|0,c+37|0,e);d=w[c+36|0]}e=v[a+4>>2];t[e+36|0]=d;g=v[b>>2];if((g|0)!=15){break x}g=w[c+65|0];d=g<<24>>24;if((d|0)<1){g=15}else{gc(e+116|0,c+116|0,g);e=v[a+4>>2];d=w[c+65|0];g=v[b>>2]}t[e+65|0]=d;t[c+65|0]=0}if((g|0)>0){break a}e=v[a+12>>2];if((e|0)==v[a+8>>2]){break a}g=v[a+4>>2];c=1;continue}}Qb=f+48|0}function pK(a,b,c,d,e,f,g){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,u=0,x=0,y=0,z=0,A=0,C=0,D=0;m=Qb-32|0;Qb=m;a:{b:{c:{if((b|0)<0){break c}o=v[a+16>>2];if((o|0)<=(b|0)){break c}n=v[a+24>>2];j=v[n+(b<<2)>>2];if(v[j>>2]|v[j+4>>2]){break b}k=1;i=-1;h=-1;b=-1;d:{if((o|0)<1){break d}h=v[n>>2];b=B(v[h+20>>2]-1|0,v[h+12>>2])+v[h+4>>2]|0;h=v[h>>2]+B(v[h+8>>2],v[h+16>>2]-1|0)|0;if((o|0)==1){break d}while(1){l=v[n+(k<<2)>>2];q=v[l+4>>2]+B(v[l+12>>2],v[l+20>>2]-1|0)|0;b=(b|0)<(q|0)?q:b;l=v[l>>2]+B(v[l+8>>2],v[l+16>>2]-1|0)|0;h=(h|0)<(l|0)?l:h;k=k+1|0;if((o|0)!=(k|0)){continue}break}}v[m+28>>2]=f;v[m+24>>2]=g;v[m+4>>2]=0;v[m+12>>2]=e;s=(b+e|0)/(e|0)|0;v[m+20>>2]=s;v[m>>2]=0;v[m+8>>2]=d;u=(d+h|0)/(d|0)|0;v[m+16>>2]=u;e:{if(Kq(a,c,m)){break e}b=v[j>>2];e=v[j+8>>2];f=v[j+16>>2];h=v[j+4>>2];k=v[j+12>>2];i=v[j+20>>2];d=v[v[a+24>>2]+(c<<2)>>2];Dm(v[d+32>>2]);g=0;if((s|0)<1){i=0;break e}if((u|0)<1){i=0;break e}z=h+B(k,i-1|0)|0;A=b+B(e,f-1|0)|0;f:{g:{h:{i:{j:while(1){l=v[d+4>>2]+B(v[d+12>>2],g)|0;o=0;k:while(1){c=v[d>>2]+B(v[d+8>>2],o)|0;e=v[j>>2];b=c-e|0;if((b|0)>=0){f=v[j+4>>2];h=l-f|0;if((h|0)<0){break a}n=v[j+8>>2];a=(n+b|0)-1|0;a=e+(a-((a|0)%(n|0)|0)|0)|0;x=(a|0)>(A|0)?A:a;a=x-c|0;q=B(a,a);r=v[j+12>>2];a=(r+h|0)-1|0;a=f+(a-((a|0)%(r|0)|0)|0)|0;y=(a|0)>(z|0)?z:a;a=y-l|0;k=B(a,a);C=q+k|0;a=h-((h|0)%(r|0)|0)|0;i=a+(f-l|0)|0;i=B(i,i);p=e-c|0;c=b-((b|0)%(n|0)|0)|0;p=p+c|0;p=B(p,p);D=i+p|0;l:{if(!(q>>>0

>>0|C>>>0>>0)&i>>>0<=k>>>0){break l}b=i+q|0;h=k+p|0;if(!(q>>>0>p>>>0|i>>>0>k>>>0|b>>>0>h>>>0)){b=x-e|0;h=a;break l}if(!(i>>>0>>0|C>>>0>D>>>0|b>>>0>h>>>0)){h=y-f|0;b=x-e|0;break l}h=y-f|0;b=c}a=(b|0)/(n|0)|0;if((a|0)<0){break i}c=v[j+16>>2];if((c|0)<=(a|0)){break i}b=(h|0)/(r|0)|0;if((b|0)<0|(b|0)>=v[j+20>>2]){break i}if((Df(v[j+32>>2],B(v[j+36>>2],a+B(b,c)|0),0)|0)<0){break f}f=v[j+28>>2];e=v[j+24>>2];m:{if((e|0)<1){b=0;break m}c=v[j+32>>2];n=c;k=c+8|0;h=e+7>>>3|0;b=0;while(1){a=v[n+8>>2];if(a&7){break f}i=v[c+64>>2];if((i|0)>=0&(i|0)<=v[c+60>>2]){break g}a=v[c+28>>2];v[c+28>>2]=a-1;n:{if((a|0)>=1){v[c+60>>2]=v[c+60>>2]+1;a=v[c+24>>2];v[c+24>>2]=a+1;a=w[a|0];break n}i=-1;a=Hc(c,1);if((a|0)==-1){break e}}b=b<<8|a;a=(h|0)>1;h=h-1|0;if(a){continue}break}}if(f){break h}a=(-1<>2];c=v[j+24>>2];o:{if((b|0)==(c|0)){break o}if((b|0)<=(c|0)){if((b|0)>=(c|0)){break o}a=a>>c-b;break o}a=a<>2]){break h}c=v[d+32>>2];e=c;k=c+8|0;h=(b+7|0)/8|0;f=(-1<>2];if(a&7){break f}b=v[c+64>>2];if((b|0)>=0&(b|0)<=v[c+60>>2]){break g}h=h-1|0;b=f>>(h<<3);a=b&255;v[c+4>>2]=v[c+4>>2]|32;i=v[c+28>>2];v[c+28>>2]=i-1;p:{if((i|0)>=1){v[c+60>>2]=v[c+60>>2]+1;i=v[c+24>>2];v[c+24>>2]=i+1;t[i|0]=b;b=a;break p}b=Fc(c,a)}if((b|0)==(a|0)){continue}break}break f}break}break}break a}X(25560,7190,1118,188182);L()}ia();L()}v[k>>2]=a|4}i=-1}Qb=m+32|0;return i}X(21034,7190,1068,188182);L()}X(23600,7190,1070,188182);L()}X(35160,7190,1260,188220);L()}function IO(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;f=Qb-80|0;Qb=f;if(!w[b+88|0]){j=b,k=Ub[v[v[b>>2]+36>>2]](b)|0,v[j+72>>2]=k;j=b,k=Ub[v[v[b>>2]+44>>2]](b)|0,v[j+76>>2]=k;j=b,k=Ub[v[v[b>>2]+40>>2]](b)|0,v[j+80>>2]=k;i=Ub[v[v[b>>2]+48>>2]](b)|0;t[b+88|0]=1;v[b+84>>2]=i}i=Ct(f+24|0,v[b+72>>2]);v[299999]=0;U(4546,f+32|0,i|0,335744);d=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{if((d|0)!=1){s:{if(w[b+88|0]){d=v[b+84>>2];break s}d=v[v[b>>2]+36>>2];v[299999]=0;d=S(d|0,b|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break r}v[b+72>>2]=d;d=v[v[b>>2]+44>>2];v[299999]=0;d=S(d|0,b|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break r}v[b+76>>2]=d;d=v[v[b>>2]+40>>2];v[299999]=0;d=S(d|0,b|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break r}v[b+80>>2]=d;d=v[v[b>>2]+48>>2];v[299999]=0;d=S(d|0,b|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break r}t[b+88|0]=1;v[b+84>>2]=d}v[299999]=0;g=c-1|0;c=Q(4545,f+16|0,g-d|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break r}v[299999]=0;U(4547,f+40|0,f+32|0,c|0);d=v[299999];v[299999]=0;if((d|0)==1){break q}v[299999]=0;U(4546,f+48|0,f+40|0,335744);d=v[299999];v[299999]=0;if((d|0)==1){break p}if(!w[b+88|0]){d=v[v[b>>2]+36>>2];v[299999]=0;d=S(d|0,b|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break o}v[b+72>>2]=d;d=v[v[b>>2]+44>>2];v[299999]=0;d=S(d|0,b|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break o}v[b+76>>2]=d;d=v[v[b>>2]+40>>2];v[299999]=0;d=S(d|0,b|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break o}v[b+80>>2]=d;d=v[v[b>>2]+48>>2];v[299999]=0;d=S(d|0,b|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break o}t[b+88|0]=1;v[b+84>>2]=d}d=v[b+76>>2];v[299999]=0;d=Q(4545,f+8|0,d|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break o}v[299999]=0;U(4547,f+56|0,f+48|0,d|0);e=v[299999];v[299999]=0;if((e|0)==1){break n}v[299999]=0;U(4546,f- -64|0,f+56|0,335744);e=v[299999];v[299999]=0;if((e|0)==1){break m}if(!w[b+88|0]){e=v[v[b>>2]+36>>2];v[299999]=0;e=S(e|0,b|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break l}v[b+72>>2]=e;e=v[v[b>>2]+44>>2];v[299999]=0;e=S(e|0,b|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break l}v[b+76>>2]=e;e=v[v[b>>2]+40>>2];v[299999]=0;e=S(e|0,b|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break l}v[b+80>>2]=e;e=v[v[b>>2]+48>>2];v[299999]=0;e=S(e|0,b|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break l}t[b+88|0]=1;v[b+84>>2]=e}e=v[b+80>>2];v[299999]=0;g=Q(4545,f|0,g-e|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break l}v[299999]=0;U(4547,f+72|0,f- -64|0,g|0);e=v[299999];v[299999]=0;if((e|0)==1){break k}v[299999]=0;U(5084,a|0,b|0,f+72|0);a=v[299999];v[299999]=0;if((a|0)==1){break j}ec(f+72|0);ec(g);ec(f- -64|0);ec(f+56|0);ec(d);ec(f+48|0);ec(f+40|0);ec(c);ec(f+32|0);ec(i);Qb=f+80|0;return}b=P()|0;O()|0;break a}b=P()|0;O()|0;break b}b=P()|0;O()|0;break c}b=P()|0;O()|0;break d}b=P()|0;O()|0;break e}b=P()|0;O()|0;break f}b=P()|0;O()|0;break g}b=P()|0;O()|0;break h}b=P()|0;O()|0;break i}b=P()|0;O()|0;ec(f+72|0)}ec(g)}ec(f- -64|0)}ec(f+56|0)}ec(d)}ec(f+48|0)}ec(f+40|0)}ec(c)}ec(f+32|0)}ec(i);T(b|0);L()}function x9a(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;a:{if(w[a+286|0]|!w[a+285|0]|(w[a+287|0]|w[a+288|0])){break a}if(w[a+289|0]){break a}if(!(1<>>0<=28:0)){pc(a,1028,0,0);return 1028}f=w[d|0]|w[d+1|0]<<8;u[a+1016>>1]=f<<8|f>>>8;b:{c:{d:{e:{f:{g:{if(c>>>0<=2){u[a+1018>>1]=0;break g}i=1;t[a+1018|0]=1;t[a+1019|0]=w[d+2|0];if((c|0)!=3){break f}}i=0;u[a+1020>>1]=0;break e}t[a+1020|0]=1;t[a+1021|0]=w[d+3|0];if(c>>>0>4){break d}}v[a+1024>>2]=0;v[a+1028>>2]=0;t[a+1022|0]=0;break c}t[a+1022|0]=1;f=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);v[a+1024>>2]=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=w[d+8|0]|w[d+9|0]<<8|(w[d+10|0]<<16|w[d+11|0]<<24);v[a+1028>>2]=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);j=1;if(c>>>0<13){break c}t[a+1032|0]=1;f=w[d+12|0]|w[d+13|0]<<8|(w[d+14|0]<<16|w[d+15|0]<<24);v[a+1036>>2]=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=w[d+16|0]|w[d+17|0]<<8|(w[d+18|0]<<16|w[d+19|0]<<24);v[a+1040>>2]=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=w[d+20|0]|w[d+21|0]<<8|(w[d+22|0]<<16|w[d+23|0]<<24);v[a+1044>>2]=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=w[d+24|0]|w[d+25|0]<<8|(w[d+26|0]<<16|w[d+27|0]<<24);v[a+1048>>2]=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=1;break b}v[a+1036>>2]=0;v[a+1040>>2]=0;t[a+1032|0]=0;f=a+1044|0;v[f>>2]=0;v[f+4>>2]=0;f=0}h=0;h:{if(!w[a+114|0]){break h}g=Ub[v[a+152>>2]](64)|0;if(!g){pc(a,1,0,0);h=1;break h}v[g+4>>2]=715;v[g>>2]=716;h=v[a+700>>2];i:{if(h){v[h+8>>2]=g;break i}v[a+696>>2]=g}v[g+8>>2]=0;v[g+12>>2]=h;v[a+700>>2]=g;v[g+16>>2]=v[a+436>>2];v[g+20>>2]=v[a+440>>2];v[g+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=g}u[g+28>>1]=x[a+1016>>1];t[g+30|0]=w[a+1018|0];t[g+31|0]=w[a+1019|0];t[g+32|0]=w[a+1020|0];t[g+33|0]=w[a+1021|0];t[g+34|0]=w[a+1022|0];v[g+36>>2]=v[a+1024>>2];v[g+40>>2]=v[a+1028>>2];t[g+44|0]=w[a+1032|0];v[g+48>>2]=v[a+1036>>2];v[g+52>>2]=v[a+1040>>2];v[g+56>>2]=v[a+1044>>2];v[g+60>>2]=v[a+1048>>2];h=0}j:{if(h){break j}h=i1(a);if(h){break j}h=0;if(!w[a+112|0]){break j}h=Ub[v[b+4>>2]](a,b,e)|0;if(h){break j}b=v[e>>2];a=w[d|0]|w[d+1|0]<<8;u[b+32>>1]=a<<8|a>>>8;k:{if(c>>>0>=3){t[b+34|0]=1;t[b+35|0]=w[d+2|0];break k}t[b+34|0]=0}l:{if(i){t[b+36|0]=1;t[b+37|0]=w[d+3|0];break l}t[b+36|0]=0}m:{if(j){t[b+38|0]=1;a=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);v[b+40>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=w[d+8|0]|w[d+9|0]<<8|(w[d+10|0]<<16|w[d+11|0]<<24);v[b+44>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break m}t[b+38|0]=0}if(f){t[b+48|0]=1;a=w[d+12|0]|w[d+13|0]<<8|(w[d+14|0]<<16|w[d+15|0]<<24);v[b+52>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=w[d+16|0]|w[d+17|0]<<8|(w[d+18|0]<<16|w[d+19|0]<<24);v[b+56>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=w[d+20|0]|w[d+21|0]<<8|(w[d+22|0]<<16|w[d+23|0]<<24);v[b+60>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=w[d+24|0]|w[d+25|0]<<8|(w[d+26|0]<<16|w[d+27|0]<<24);v[b+64>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return 0}h=0;t[b+48|0]=0}return h|0}pc(a,1029,0,0);return 1029}function wf(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=Qb-16|0;Qb=g;v[c>>2]=2147483632;v[c+16>>2]=v[c+8>>2];f=v[c+20>>2];v[c+28>>2]=f;u[f+2>>1]=0;a:{e=v[a+28>>2];a=v[a+20>>2];f=e-a|0;if(!f){break a}d=v[b+20>>2];e=v[b+28>>2]-d|0;if(!e){break a}i=f>>3;b=a+8|0;v[g+4>>2]=b;a=d+8|0;v[g>>2]=a;k=e>>3;while(1){e=u[a+2>>1];f=e>>31;j=u[b+2>>1];d=j>>31;a=u[a>>1];l=a+((f^e+f)&65535)|0;b=u[b>>1];j=b+((d^d+j)&65535)|0;f=(j|0)>(l|0)?l:j;a=(a|0)<(b|0)?b:a;if((f|0)>(a|0)){f=f-a|0;b:{c:{d:{e:{f:{g:{h:{i:{d=v[g>>2];e=v[g+4>>2];switch((x[d+2>>1]>>>14&2|x[e+2>>1]>>>15)-1|0){case 0:break h;case 2:break f;case 1:break g;default:break i}}b=u[d>>1];b=v[d+4>>2]+((a|0)>(b|0)?a-b|0:0)|0;d=u[e>>1];d=v[e+4>>2]+((a|0)>(d|0)?a-d|0:0)|0;e=v[c+16>>2];while(1){h=e;e=B(w[b|0],w[d|0]);t[h|0]=(e|0)==65025?-1:e>>>8|0;e=v[c+28>>2];j:{k:{if((v[c>>2]+1|0)!=(a|0)){break k}h=u[e+2>>1];if((h|0)<1){break k}u[e+2>>1]=h+1;h=v[c+16>>2];break j}v[c+28>>2]=e+8;h=v[c+16>>2];u[e+10>>1]=1;u[e+8>>1]=a;v[e+12>>2]=h}b=b+1|0;d=d+1|0;v[c>>2]=a;e=h+1|0;v[c+16>>2]=e;a=a+1|0;f=f-1|0;if(f){continue}break}break b}b=u[d>>1];b=v[d+4>>2]+((a|0)>(b|0)?a-b|0:0)|0;d=w[v[e+4>>2]];if((d|0)==255){break d}e=v[c+16>>2];while(1){d=B(w[b|0],d&255);t[e|0]=(d|0)==65025?-1:d>>>8|0;e=v[c+28>>2];l:{m:{if((v[c>>2]+1|0)!=(a|0)){break m}d=u[e+2>>1];if((d|0)<1){break m}u[e+2>>1]=d+1;d=v[c+16>>2];break l}v[c+28>>2]=e+8;d=v[c+16>>2];u[e+10>>1]=1;u[e+8>>1]=a;v[e+12>>2]=d}v[c>>2]=a;e=d+1|0;v[c+16>>2]=e;f=f-1|0;if(!f){break b}a=a+1|0;b=b+1|0;d=w[v[v[g+4>>2]+4>>2]];continue}}b=u[e>>1];b=v[e+4>>2]+((a|0)>(b|0)?a-b|0:0)|0;d=w[v[d+4>>2]];if((d|0)==255){break e}e=v[c+16>>2];while(1){d=B(w[b|0],d&255);t[e|0]=(d|0)==65025?-1:d>>>8|0;e=v[c+28>>2];n:{o:{if((v[c>>2]+1|0)!=(a|0)){break o}d=u[e+2>>1];if((d|0)<1){break o}u[e+2>>1]=d+1;d=v[c+16>>2];break n}v[c+28>>2]=e+8;d=v[c+16>>2];u[e+10>>1]=1;u[e+8>>1]=a;v[e+12>>2]=d}v[c>>2]=a;e=d+1|0;v[c+16>>2]=e;f=f-1|0;if(!f){break b}a=a+1|0;b=b+1|0;d=w[v[v[g>>2]+4>>2]];continue}}b=B(w[v[d+4>>2]],w[v[e+4>>2]]);b=(b|0)==65025?255:b>>>8|0;p:{if((v[c>>2]+1|0)!=(a|0)){break p}d=v[c+28>>2];e=u[d+2>>1];if((e|0)>-1|(b|0)!=w[v[d+4>>2]]){break p}u[d+2>>1]=e-f;break c}t[v[c+16>>2]]=b;b=v[c+28>>2];v[c+28>>2]=b+8;d=v[c+16>>2];v[c+16>>2]=d+1;u[b+10>>1]=0-f;u[b+8>>1]=a;v[b+12>>2]=d;break c}gc(v[c+16>>2],b,f);d=v[c+28>>2];q:{r:{if((v[c>>2]+1|0)!=(a|0)){break r}b=u[d+2>>1];if((b|0)<1){break r}u[d+2>>1]=b+f;b=v[c+16>>2];break q}v[c+28>>2]=d+8;b=v[c+16>>2];u[d+10>>1]=f;u[d+8>>1]=a;v[d+12>>2]=b}v[c+16>>2]=b+f;break c}gc(v[c+16>>2],b,f);d=v[c+28>>2];s:{t:{if((v[c>>2]+1|0)!=(a|0)){break t}b=u[d+2>>1];if((b|0)<1){break t}u[d+2>>1]=b+f;b=v[c+16>>2];break s}v[c+28>>2]=d+8;b=v[c+16>>2];u[d+10>>1]=f;u[d+8>>1]=a;v[d+12>>2]=b}v[c+16>>2]=b+f}v[c>>2]=(a+f|0)-1}}u:{if((j|0)==(l|0)){k=k-1|0;i=i-1|0;if(i){v[g+4>>2]=v[g+4>>2]+8}if(!k){break a}v[g>>2]=v[g>>2]+8;break u}if((j|0)<(l|0)){i=i-1|0;if(!i){break a}v[g+4>>2]=v[g+4>>2]+8;break u}k=k-1|0;if(!k){break a}v[g>>2]=v[g>>2]+8}if(!i){break a}a=v[g>>2];b=v[g+4>>2];continue}}Qb=g+16|0}function Rl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{b:{c:{i=w[a+409|0];if(i){d=v[a+320>>2];f=v[a+376>>2];if((f|0)!=((i>>>0>=8?B(i>>>3|0,d):B(d,i)+7>>>3|0)|0)?f:0){break c}if(!d){break b}h=v[a+356>>2];j=w[a+399|0];l=B(d,i);g=l&7;d:{if(!g){f=0;k=0;break d}f=((i>>>0>7?B(i>>>3|0,d):l+7>>>3|0)+b|0)-1|0;m=w[f|0];k=255<>>g|0}h=h+1|0;e:{f:{g:{if(!w[a+398|0]){break g}e=v[a+208>>2];if(!(e&2)|j>>>0>5){break g}h:{i:{switch(c|0){case 0:g=j&1;break h;case 1:break i;default:break g}}g=1;if(!(j&1)){break g}}g=g<<3-(j+1>>>1|0)&7;if(g>>>0>=d>>>0){break e}if(i>>>0<=7){g=(i|0)==1?0:(i|0)==2?1:2;l=8/(i>>>0)|0;j:{if(e&65536){a=(B(g,12)+(j<<1&508)|0)+75936|0;if(c){break j}a=(B(g,24)+(j<<2)|0)+75792|0;break j}a=(B(g,12)+(j<<1&508)|0)+75972|0;if(c){break j}a=(B(g,24)+(j<<2)|0)+75864|0}a=v[a>>2];while(1){g=a&255;if(g){c=b;if((g|0)!=255){j=w[h|0]&a|w[b|0]&(a^-1)}else{j=w[h|0]}t[c|0]=j}a=Gib(a,24);h=h+1|0;b=b+1|0;c=d>>>0>l>>>0;d=d-l|0;if(c){continue}break}break f}if(i&7){break a}k=i>>>3|0;g=B(k,g);e=B(d,k)-g|0;f=k;if(c){a=k<<(6-j>>>1);f=a>>>0>e>>>0?e:a}a=g+h|0;d=b+g|0;c=k<<(7-j>>>1);k:{switch(f-1|0){case 2:t[d|0]=w[a|0];t[d+1|0]=w[a+1|0];t[d+2|0]=w[a+2|0];if(c>>>0>=e>>>0){break e}while(1){d=c+d|0;a=a+c|0;t[d|0]=w[a|0];t[d+1|0]=w[a+1|0];t[d+2|0]=w[a+2|0];e=e-c|0;if(c>>>0>>0){continue}break};break e;case 0:t[d|0]=w[a|0];if(c>>>0>=e>>>0){break e}while(1){d=c+d|0;a=a+c|0;t[d|0]=w[a|0];e=e-c|0;if(c>>>0>>0){continue}break};break e;case 1:while(1){t[d|0]=w[a|0];t[d+1|0]=w[a+1|0];if(c>>>0>=e>>>0){break e}d=c+d|0;a=a+c|0;e=e-c|0;if(e>>>0>1){continue}break};t[d|0]=w[a|0];return;default:break k}}l:{if(d&1|f>>>0>15|(a&1|f&1)){break l}if(c&1){break l}if(!(d&3|a&3|(f&3|c&3))){b=c-f>>>2<<2;while(1){h=f;while(1){v[d>>2]=v[a>>2];d=d+4|0;a=a+4|0;h=h-4|0;if(h){continue}break}if(c>>>0>=e>>>0){break e}a=a+b|0;d=b+d|0;e=e-c|0;if(f>>>0<=e>>>0){continue}break}c=e-1|0;b=e&7;if(b){while(1){t[d|0]=w[a|0];e=e-1|0;d=d+1|0;a=a+1|0;b=b-1|0;if(b){continue}break}}if(c>>>0<7){break e}while(1){t[d|0]=w[a|0];t[d+1|0]=w[a+1|0];t[d+2|0]=w[a+2|0];t[d+3|0]=w[a+3|0];t[d+4|0]=w[a+4|0];t[d+5|0]=w[a+5|0];t[d+6|0]=w[a+6|0];t[d+7|0]=w[a+7|0];d=d+8|0;a=a+8|0;e=e-8|0;if(e){continue}break}break e}b=c-f>>>1<<1;while(1){h=f;while(1){u[d>>1]=x[a>>1];d=d+2|0;a=a+2|0;h=h-2|0;if(h){continue}break}if(c>>>0>=e>>>0){break e}a=a+b|0;d=b+d|0;e=e-c|0;if(f>>>0<=e>>>0){continue}break}c=e-1|0;b=e&7;if(b){while(1){t[d|0]=w[a|0];e=e-1|0;d=d+1|0;a=a+1|0;b=b-1|0;if(b){continue}break}}if(c>>>0<7){break e}while(1){t[d|0]=w[a|0];t[d+1|0]=w[a+1|0];t[d+2|0]=w[a+2|0];t[d+3|0]=w[a+3|0];t[d+4|0]=w[a+4|0];t[d+5|0]=w[a+5|0];t[d+6|0]=w[a+6|0];t[d+7|0]=w[a+7|0];d=d+8|0;a=a+8|0;e=e-8|0;if(e){continue}break}break e}gc(d,a,f);if(c>>>0>=e>>>0){break e}while(1){d=c+d|0;a=a+c|0;e=e-c|0;f=e>>>0>>0?e:f;gc(d,a,f);if(c>>>0>>0){continue}break}break e}gc(b,h,i>>>0>7?B(i>>>3|0,d):l+7>>>3|0)}if(!f){break e}t[f|0]=w[f|0]&(k^-1)|k&m}return}hd(a,75612);L()}hd(a,75655);L()}hd(a,75715);L()}hd(a,76024);L()}function m5(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=Qb+-64|0;Qb=h;a:{b:{d=v[a+584>>2];if(d){if(!v[d+16>>2]){break b}c=jc(40);v[c>>2]=0;c=Ue(d+624|0,1,c,4);k=O()|0;c:{while(1){if(g){break c}v[299999]=0;R(543,d|0);f=v[299999];v[299999]=0;j=-1;d:{if(!f){break d}g=v[3e5];if(!g){break d}j=sc(v[f>>2],c,k);if(!j){break a}_(g|0)}g=O()|0;if((j|0)==1){continue}break}e=1}dc(c);e:{if(!e){break e}if((KK(d,1)|0)!=1){break e}f=d;f:{if(w[a+13|0]&4){e=v[a+72>>2];c=v[a+68>>2];g=Ll(a);break f}c=v[a+100>>2];e=v[a+60>>2]-v[a+472>>2]|0;e=c>>>0>>0?c:e;c=v[a+56>>2];g=eO(a)}v[f+840>>2]=g;g:{if(x[a+138>>1]!=2){b=c;break g}if(!b){b=c;break g}b=0;f=x[d+834>>1];if(0-f>>>0>c>>>0){b=((c+f|0)-1>>>0)/(f>>>0)|0}c=x[d+836>>1];if(0-c>>>0<=e>>>0){e=0;break g}e=((c+e|0)-1>>>0)/(c>>>0)|0}c=v[d+28>>2];f=v[d+32>>2];if(!(c>>>0>=b>>>0&f>>>0>=e>>>0)){g=v[a+628>>2];v[h+60>>2]=f;v[h+56>>2]=c;v[h+52>>2]=e;v[h+48>>2]=b;Ld(g,88091,42077,h+48|0);c=v[d+28>>2]}f=v[d+32>>2];if(!(f>>>0<=e>>>0&b>>>0>=c>>>0)){a=v[a+628>>2];v[h+12>>2]=f;v[h+8>>2]=c;v[h+4>>2]=e;v[h>>2]=b;zc(a,88091,43013,h);break e}c=v[d+36>>2];e=x[a+138>>1];if((c|0)!=(((e|0)==1?x[a+98>>1]:1)|0)){zc(v[a+628>>2],88091,43688,0);break e}if(v[d+212>>2]!=x[a+84>>1]){zc(v[a+628>>2],88091,44553,0);break e}c=v[d+216>>2];b=v[c+8>>2];h:{if((e|0)==1){e=x[d+834>>1];f=x[d+836>>1];c=v[c+12>>2];i:{if((e|0)==(b|0)&(f|0)==(c|0)){break i}g=v[a+628>>2];v[h+44>>2]=f;v[h+40>>2]=e;v[h+36>>2]=c;v[h+32>>2]=b;Ld(g,88091,45660,h+32|0);b=v[d+216>>2];if(!(v[b+8>>2]<=x[d+834>>1]&v[b+12>>2]<=x[d+836>>1])){zc(v[a+628>>2],88091,46436,0);break e}if(cr(a,33918)){break i}b=v[a+628>>2];c=v[d+216>>2];e=v[c+12>>2];v[h+16>>2]=v[c+8>>2];v[h+20>>2]=e;Ld(b,88091,47127,h+16|0);b=v[d+216>>2];u[d+834>>1]=v[b+8>>2];u[d+836>>1]=v[b+12>>2]}b=v[d+36>>2];if((b|0)<2){break h}c=v[d+216>>2];i=1;while(1){e=c+B(i,88)|0;if(!(v[e+8>>2]!=1|v[e+12>>2]!=1)){i=i+1|0;if((b|0)!=(i|0)){continue}break h}break}i=0;zc(v[a+628>>2],88091,47313,0);break e}if((b|0)==1&v[c+12>>2]==1){break h}zc(v[a+628>>2],88091,47313,0);break e}c=d;j:{k:{if(!(x[a+138>>1]!=1|x[d+832>>1]!=6|v[d+924>>2]!=1)){v[d+40>>2]=3;v[d+44>>2]=2;break k}v[d+40>>2]=0;v[d+44>>2]=0;if(x[a+138>>1]!=1){break k}b=0;i=530;f=1;if(x[d+834>>1]!=1){break j}f=1;if(x[d+836>>1]!=1){break j}}b=1;i=520;f=0}v[c+68>>2]=f;v[a+556>>2]=i;v[a+548>>2]=i;v[a+540>>2]=i;g=0;e=0;c=jc(40);v[c>>2]=0;c=Ue(d+624|0,1,c,4);i=O()|0;l:{while(1){if(g){break l}v[299999]=0;S(22,d|0)|0;f=v[299999];v[299999]=0;j=-1;m:{if(!f){break m}g=v[3e5];if(!g){break m}j=sc(v[f>>2],c,i);if(!j){break a}_(g|0)}g=O()|0;if((j|0)==1){continue}break}e=1}dc(c);i=(e|0)!=0;if(!e|b){break e}c=v[d+216>>2];f=0;a=v[a+584>>2];e=v[d+36>>2];n:{if((e|0)>=1){j=0;while(1){i=v[c+8>>2];g=v[c+12>>2];k=FK(a,v[c+28>>2]<<3,g<<3);b=0;if(!k){break n}v[(a+(j<<2)|0)+844>>2]=k;c=c+88|0;f=B(i,g)+f|0;j=j+1|0;if((e|0)!=(j|0)){continue}break}}v[a+888>>2]=f;b=1}if(!b){i=0;break e}v[d+884>>2]=8;i=1}Qb=h- -64|0;return i|0}X(29012,7121,691,88091);L()}X(39945,7121,692,88091);L()}dc(c);sd(f,g);L()}function aqa(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;e=Qb-48|0;Qb=e;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{f=v[a+20>>2];if(f){while(1){d=0;g=v[f+8>>2];if(g){v[299999]=0;v[g+4>>2]=v[g+4>>2]+1;d=v[299999];v[299999]=0;if((d|0)==1){break b}d=v[f+8>>2]}v[299999]=0;v[e+40>>2]=d;g=Y(4541,d+36|0,b|0,-1)|0;h=v[299999];v[299999]=0;if((h|0)==1){break j}k:{if(!g){break k}v[299999]=0;g=Y(4541,d+20|0,c|0,-1)|0;h=v[299999];v[299999]=0;if((h|0)==1){break j}if(g){break k}v[299999]=0;a=Q(4560,e|0,c|0)|0;b=v[299999];v[299999]=0;l:{m:{n:{o:{if((b|0)!=1){v[299999]=0;U(4423,e+8|0,357967,a|0);b=v[299999];v[299999]=0;if((b|0)==1){break o}b=v[e+8>>2];b=v[(b?b+12|0:1129608)>>2];v[299999]=0;b=aa(4369,e+16|0,b|0,241263,771,343937,0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break n}v[299999]=0;R(4370,b|0);c=v[299999];v[299999]=0;if((c|0)==1){break m}break d}d=P()|0;O()|0;break i}d=P()|0;O()|0;ec(a);break i}d=P()|0;O()|0;break l}d=P()|0;O()|0;qc(b)}ec(e+8|0);ec(a);break i}p:{if(!d){break p}v[299999]=0;g=v[d+4>>2]-1|0;v[d+4>>2]=g;h=v[299999];v[299999]=0;if((h|0)==1){break a}if(g){break p}v[299999]=0;R(4338,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break a}}f=v[f>>2];if(f){continue}break}}f=Fe(b);d=v[v[a+92>>2]+((f>>>0)%y[a+88>>2]<<2)>>2];if(d){while(1){if((f|0)==v[d+12>>2]){if(!Ri(d+16|0,b,-1)){break e}}d=v[d+8>>2];if(d){continue}break}}v[299999]=0;a=Q(4560,e|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}v[299999]=0;U(4423,e+8|0,357737,a|0);b=v[299999];v[299999]=0;if((b|0)==1){break h}b=v[e+8>>2];b=v[(b?b+12|0:1129608)>>2];v[299999]=0;c=aa(4369,e+16|0,b|0,241263,776,343937,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break g}v[299999]=0;R(4370,c|0);b=v[299999];v[299999]=0;if((b|0)!=1){break d}b=P()|0;O()|0;qc(c);break f}d=P()|0;O()|0}ec(e+40|0);T(d|0);L()}b=P()|0;O()|0;break c}b=P()|0;O()|0}ec(e+8|0);break c}f=0;b=v[d+24>>2];if(b){v[299999]=0;v[b+4>>2]=v[b+4>>2]+1;b=v[299999];v[299999]=0;if((b|0)==1){break b}f=v[d+24>>2]}v[299999]=0;v[e+16>>2]=f;h=f+20|0;g=Fe(h);b=v[299999];v[299999]=0;q:{if((b|0)==1){break q}b=0;v[299999]=0;a=a+52|0;d=a;d=v[v[d+12>>2]+((g>>>0)%y[d+8>>2]<<2)>>2];i=v[299999];v[299999]=0;if((i|0)==1){break q}r:{if(!d){break r}while(1){s:{if((g|0)!=v[d+12>>2]){break s}v[299999]=0;b=Y(4541,d+16|0,h|0,-1)|0;i=v[299999];v[299999]=0;if((i|0)==1){break q}if(b){break s}b=d;break r}d=v[d+8>>2];if(d){continue}break}b=0}v[299999]=0;V(4561,a|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break q}v[299999]=0;Q(4535,f+20|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break q}v[299999]=0;a=Q(4555,a|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break q}v[299999]=0;Q(4344,a+24|0,e+16|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break q}a=v[e+16>>2];v[e+16>>2]=0;t:{if(!a){break t}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break t}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Qb=e+48|0;return}a=P()|0;O()|0;ec(e+16|0);T(a|0);L()}L()}ec(a);T(b|0);L()}a=P()|0;O()|0;T(a|0);L()}W(0)|0;O()|0;lc();L()}function YW(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;v[b>>2]=0;n=A[a>>3];j=A[c>>3];k=n*((A[d>>3]-j)/e);l=A[c+8>>3];n=(A[d+8>>3]-l)/e*n;e=0;a:{b:{switch(v[a+56>>2]-1|0){case 0:e=+v[a+24>>2];q=n*e;e=k*e;default:if(!v[b+4>>2]){c:{if(v[b+8>>2]){d=v[b+12>>2];a=0;break c}g=v[b+16>>2];d=fc((g&1073741823)!=(g|0)?-1:g<<2);a=v[b+12>>2];if(a){dc(a);g=v[b+8>>2]+v[b+16>>2]|0;f=v[b>>2];a=v[b+4>>2]}else{a=0}v[b+8>>2]=g;v[b+12>>2]=d}s=d,t=fc(1024),v[s>>2]=t;v[b+4>>2]=a+1}a=v[v[b+12>>2]>>2]+((f&63)<<4)|0;A[a+8>>3]=l+k-q;A[a>>3]=j-n-e;d=v[b>>2]+1|0;v[b>>2]=d;k=A[c+8>>3]-k-q;e=n+A[c>>3]-e;f=v[b+4>>2];c=d>>>6|0;if(f>>>0<=c>>>0){a=v[b+8>>2];d:{if(a>>>0>c>>>0){a=v[b+12>>2];break d}g=a+v[b+16>>2]|0;a=fc((g&1073741823)!=(g|0)?-1:g<<2);i=v[b+12>>2];if(i){gc(a,i,f<<2);dc(i);g=v[b+8>>2]+v[b+16>>2]|0;f=v[b+4>>2];d=v[b>>2]}v[b+8>>2]=g;v[b+12>>2]=a}s=(c<<2)+a|0,t=fc(1024),v[s>>2]=t;v[b+4>>2]=f+1}a=v[v[b+12>>2]+(c<<2)>>2]+((d&63)<<4)|0;A[a+8>>3]=k;A[a>>3]=e;break a;case 1:break b}}e=A[a+8>>3];e=Rw(e/(e+.125/A[a+48>>3]));e=3.141592653589793/(e+e);e:{if(D(e)<2147483648){i=~~e;break e}i=-2147483648}d=0;if(!v[b+4>>2]){f:{if(v[b+8>>2]){f=v[b+12>>2];break f}h=v[b+16>>2];f=fc((h&1073741823)!=(h|0)?-1:h<<2);d=v[b+12>>2];if(d){dc(d);h=v[b+8>>2]+v[b+16>>2]|0;g=v[b+4>>2];d=v[b>>2]}else{d=0}v[b+8>>2]=h;v[b+12>>2]=f}s=f,t=fc(1024),v[s>>2]=t;v[b+4>>2]=g+1}q=3.141592653589793/+(i+1|0);d=v[v[b+12>>2]>>2]+((d&63)<<4)|0;A[d+8>>3]=l+k;A[d>>3]=j-n;d=v[b>>2]+1|0;v[b>>2]=d;g:{if(v[a+24>>2]>=1){if((i|0)<1){break g}g=0;e=Ff(k,-n);while(1){j=A[a>>3];e=q+e;l=Ee(e);l=A[c+8>>3]+l*j;r=Ve(e);j=A[c>>3]+r*j;h=v[b+4>>2];o=d>>>6|0;if(h>>>0<=o>>>0){f=v[b+8>>2];h:{if(f>>>0>o>>>0){f=v[b+12>>2];break h}m=f+v[b+16>>2]|0;f=fc((m&1073741823)!=(m|0)?-1:m<<2);p=v[b+12>>2];if(p){gc(f,p,h<<2);dc(p);m=v[b+8>>2]+v[b+16>>2]|0;h=v[b+4>>2];d=v[b>>2]}v[b+8>>2]=m;v[b+12>>2]=f}s=(o<<2)+f|0,t=fc(1024),v[s>>2]=t;v[b+4>>2]=h+1}d=v[v[b+12>>2]+(o<<2)>>2]+((d&63)<<4)|0;A[d+8>>3]=l;A[d>>3]=j;d=v[b>>2]+1|0;v[b>>2]=d;g=g+1|0;if((i|0)!=(g|0)){continue}break}break g}if((i|0)<1){break g}g=0;e=Ff(-k,n);while(1){j=A[a>>3];e=e-q;l=Ee(e);l=A[c+8>>3]+l*j;r=Ve(e);j=A[c>>3]+r*j;h=v[b+4>>2];o=d>>>6|0;if(h>>>0<=o>>>0){f=v[b+8>>2];i:{if(f>>>0>o>>>0){f=v[b+12>>2];break i}m=f+v[b+16>>2]|0;f=fc((m&1073741823)!=(m|0)?-1:m<<2);p=v[b+12>>2];if(p){gc(f,p,h<<2);dc(p);m=v[b+8>>2]+v[b+16>>2]|0;h=v[b+4>>2];d=v[b>>2]}v[b+8>>2]=m;v[b+12>>2]=f}s=(o<<2)+f|0,t=fc(1024),v[s>>2]=t;v[b+4>>2]=h+1}d=v[v[b+12>>2]+(o<<2)>>2]+((d&63)<<4)|0;A[d+8>>3]=l;A[d>>3]=j;d=v[b>>2]+1|0;v[b>>2]=d;g=g+1|0;if((i|0)!=(g|0)){continue}break}}e=A[c+8>>3]-k;k=n+A[c>>3];f=v[b+4>>2];c=d>>>6|0;if(f>>>0<=c>>>0){a=v[b+8>>2];j:{if(a>>>0>c>>>0){a=v[b+12>>2];break j}g=a+v[b+16>>2]|0;a=fc((g&1073741823)!=(g|0)?-1:g<<2);i=v[b+12>>2];if(i){gc(a,i,f<<2);dc(i);g=v[b+8>>2]+v[b+16>>2]|0;f=v[b+4>>2];d=v[b>>2]}v[b+8>>2]=g;v[b+12>>2]=a}s=(c<<2)+a|0,t=fc(1024),v[s>>2]=t;v[b+4>>2]=f+1}a=v[v[b+12>>2]+(c<<2)>>2]+((d&63)<<4)|0;A[a+8>>3]=e;A[a>>3]=k}v[b>>2]=v[b>>2]+1}function tO(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;e=Qb+-64|0;Qb=e;k=Bg(e+48|0,e+60|0,B(v[b+8>>2],7),1);t[v[e+60>>2]]=0;h=v[e+60>>2];j=v[b+12>>2];v[e+44>>2]=j;v[e+40>>2]=0;g=j;a:{b:{while(1){c:{d=v[v[b>>2]+60>>2];v[299999]=0;f=Q(d|0,b|0,e+44|0)|0;d=v[299999];v[299999]=0;d:{e:{f:{g:{h:{i:{j:{k:{if((d|0)!=1){d=322772;switch(f-34|0){case 0:break i;case 5:break j;case 4:break k;case 26:break e;case 28:break f;case 1:case 2:case 3:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 27:break g;default:break h}}d=P()|0;O()|0;break b}d=322789;break e}d=322782;break e}d=322765;break e}if(!f){break c}}l:{if(f>>>0<32){break l}if(f>>>0<126){break d}if(c){break l}if(f>>>0>127){break d}}v[299999]=0;v[e>>2]=f;U(5169,e+24|0,322758,e|0);d=v[299999];v[299999]=0;m:{n:{o:{p:{q:{r:{if((d|0)!=1){v[299999]=0;v[e+16>>2]=0;Q(4336,e+16|0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break r}d=v[v[b>>2]+32>>2];v[299999]=0;$(d|0,e+32|0,b|0,e+24|0,e+16|0);d=v[299999];v[299999]=0;if((d|0)==1){break q}v[299999]=0;Q(4344,e+40|0,e+32|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break p}d=v[e+32>>2];v[e+32>>2]=0;s:{if(!d){break s}v[299999]=0;f=v[d+4>>2]-1|0;v[d+4>>2]=f;i=v[299999];v[299999]=0;if((i|0)==1){break a}if(f){break s}v[299999]=0;R(4338,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break a}}d=v[e+16>>2];v[e+16>>2]=0;t:{if(!d){break t}v[299999]=0;f=v[d+4>>2]-1|0;v[d+4>>2]=f;i=v[299999];v[299999]=0;if((i|0)==1){break a}if(f){break t}v[299999]=0;R(4338,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break a}}d=v[e+24>>2];v[e+24>>2]=0;if(!d){break m}v[299999]=0;f=v[d+4>>2]-1|0;v[d+4>>2]=f;i=v[299999];v[299999]=0;if((i|0)!=1){if(f){break m}v[299999]=0;R(4338,d|0);d=v[299999];v[299999]=0;if((d|0)!=1){break m}}break a}d=P()|0;O()|0;break b}d=P()|0;O()|0;break n}d=P()|0;O()|0;break o}d=P()|0;O()|0;ec(e+32|0)}ec(e+16|0)}ec(e+24|0);break b}d=v[v[e+40>>2]+12>>2];if(d){break e}break d}d=322777}if(v[e+44>>2]!=(g|0)){f=g;g=j-g|0;h=Xc(h,f,g)+g|0;g=v[e+44>>2]}l=1;if(!w[d|0]){break d}h=Bc(d)+ce(h,d)|0}j=v[e+44>>2];continue}break}v[a>>2]=0;u:{v:{w:{if(l){ce(h,g);v[299999]=0;U(5159,e+32|0,b|0,v[e+60>>2]);b=v[299999];v[299999]=0;x:{if((b|0)!=1){v[299999]=0;Q(4344,a|0,e+32|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break x}a=v[e+32>>2];v[e+32>>2]=0;if(!a){break w}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break w}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break w}}break a}d=P()|0;O()|0;break u}d=P()|0;O()|0;ec(e+32|0);break u}v[299999]=0;Q(4336,a|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break v}}a=v[e+40>>2];v[e+40>>2]=0;y:{if(!a){break y}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break y}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Lc(k);Qb=e- -64|0;return}d=P()|0;O()|0}ec(a)}ec(e+40|0);Lc(k);T(d|0);L()}W(0)|0;O()|0;lc();L()}function Ria(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=+f;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,u=0,y=0,z=0,C=0,E=0,F=0;h=Qb-1312|0;Qb=h;p=x[c+8>>1];i=B(p,d);g=B(x[c+10>>1],d);a:{b:{c:{if(!e){m=g;break c}o=v[e>>2];d:{if((o|0)<0){break d}r=v[e+4>>2];if((r|0)<0){break d}m=v[e+8>>2];if((g|0)<(m|0)){break d}g=i;i=v[e+12>>2];if((g|0)>=(i|0)){break c}}a=vc(h+256|0,324977,241480,1587,339877,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}n=x[a+10>>1];k=x[b+10>>1];l=x[a+8>>1];y=x[b+8>>1];j=x[b+16>>1];z=j-1|0;e:{if(z>>>0<2){break e}e=1;if((j|0)!=3){g=j-2&-2;while(1){s=h+256|0;v[s+(e<<2)>>2]=(e<<16>>>0)/(z>>>0);u=e+1|0;v[s+(u<<2)>>2]=(u<<16>>>0)/(z>>>0);e=e+2|0;g=g-2|0;if(g){continue}break}}if(!(j&1)){break e}v[(h+256|0)+(e<<2)>>2]=(e<<16>>>0)/(z>>>0)}f:{if(!(!(f<1.001)|!(f>.999))){if(!(f<.1|f>10)){e=0;while(1){t[e+h|0]=e;g=e|1;t[g+h|0]=g;g=e|2;t[g+h|0]=g;g=e|3;t[g+h|0]=g;g=e|4;t[g+h|0]=g;g=e|5;t[g+h|0]=g;g=e|6;t[g+h|0]=g;g=e|7;t[g+h|0]=g;e=e+8|0;if((e|0)!=256){continue}break}break f}a=vc(h,255925,241480,657,341386,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}g:{if(t[1180864]&1){break g}if(!Je(1180864)){break g}Ie(1180864)}if(A[141200]!=f){if(f<.1|f>10){a=vc(h,255925,241480,657,341386,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}E=1/f;e=0;while(1){j=e+1180608|0;C=H(de(+(e|0)/255,E)*255+.5);h:{if(D(C)<2147483648){g=~~C;break h}g=-2147483648}t[j|0]=g;g=e|1;j=g+1180608|0;C=H(de(+(g|0)/255,E)*255+.5);i:{if(D(C)<2147483648){g=~~C;break i}g=-2147483648}t[j|0]=g;e=e+2|0;if((e|0)!=256){continue}break}t[1180863]=255;A[141200]=f;t[1180608]=0}gc(h,1180608,256);p=x[c+8>>1]}e=(r|0)/(d|0)|0;s=x[c+12>>1];u=v[c+16>>2];g=(o|0)/(d|0)|0;if(!v[b+20>>2]){gi(b)}j:{if(!x[b+8>>1]){j=x[b+12>>1];if(v[282398]<(j+x[b+14>>1]|0)){a=vc(h+1288|0,260231,271771,592,225838,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}j=j+v[282397]|0;break j}j=v[b+20>>2]+x[b+12>>1]|0}i=i-r|0;l=l>>>0>y>>>0?y:l;y=(i|0)<(l|0)?i:l;k:{if((y|0)<1){break k}i=m-o|0;m=k>>>0>>0?k:n;F=(i|0)<(m|0)?i:m;if((F|0)<1){break k}i=r-B(d,e)|0;n=i>>31;e=n+e|0;p=(e|0)>-1?(e|0)<(p|0)?u+B(B(e,s),3)|0:0:0;m=g;e=o-B(d,g)|0;g=e>>31;m=m+g|0;r=e+(d&g)|0;n=i+(d&n)|0;s=x[b+14>>1];o=x[a+8>>1]?v[a+16>>2]:0;u=B(x[a+12>>1],3);i=0;while(1){e=0;b=r;g=m;while(1){k=w[e+j|0];l:{if(!k){break l}if(k>>>0>=z>>>0){a=B(e,3)+o|0;k=B(g,3)+p|0;t[a|0]=w[w[k|0]+h|0];t[a+1|0]=w[w[k+1|0]+h|0];t[a+2|0]=w[w[k+2|0]+h|0];break l}a=B(e,3)+o|0;l=w[a|0];k=v[(h+256|0)+(k<<2)>>2];q=l;l=B(g,3)+p|0;t[a|0]=q-(B(k,q-w[w[l|0]+h|0]|0)>>>16|0);q=w[a+1|0];t[a+1|0]=q-(B(k,q-w[w[l+1|0]+h|0]|0)>>>16|0);q=a;a=w[a+2|0];t[q+2|0]=a-(B(k,a-w[w[l+2|0]+h|0]|0)>>>16|0)}a=b+1|0;b=(a|0)<(d|0)?a:0;g=((a|0)>=(d|0))+g|0;e=e+1|0;if((F|0)!=(e|0)){continue}break}n=n+1|0;if((n|0)>=(d|0)){n=0;p=B(x[c+12>>1],3)+p|0}j=j+s|0;o=o+u|0;i=i+1|0;if((y|0)!=(i|0)){continue}break}}Qb=h+1312|0;return}L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function P9a(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;a:{b:{c:{if(!(w[a+285|0]|w[a+286|0]|(w[a+287|0]|w[a+288|0]))){break c}if(w[a+289|0]?1:w[a+300|0]){break c}if(!(w[a+287|0]|!w[a+294|0])){pc(a,1031,0,0);return 1031}if(c>>>0>=257){break b}d:{e:{f:{g:{g=w[a+286|0];if(w[a+288|0]?1:g|w[a+287|0]){h:{i:{f=w[a+325|0];switch(f-4|0){case 0:case 2:break i;default:break h}}pc(a,1030,0,0);return 1030}j:{if(c){if(!((c|0)==2|f)|!((c|0)==6|(f|0)!=2)){break b}if((f|0)!=3){break j}f=v[a+512>>2];if(!f){f=v[a+528>>2]}if(y[v[f+88>>2]+64>>2]>=c>>>0){break j}break b}if(w[a+307|0]){break j}pc(a,1034,0,0);return 1034}if(w[a+287|0]|g){break g}}k:{if(w[a+288|0]){t[a+294|0]=1;break k}t[a+307|0]=1}if(w[a+288|0]){break f}v[a+1932>>2]=c;h=gc(a+1936|0,d,c);f=0;l:{if(!w[a+114|0]){break l}f=Ub[v[a+152>>2]](288)|0;if(!f){pc(a,1,0,0);f=1;break l}v[f+4>>2]=699;v[f>>2]=700;g=v[a+700>>2];m:{if(g){v[g+8>>2]=f;break m}v[a+696>>2]=f}v[f+8>>2]=0;v[f+12>>2]=g;v[a+700>>2]=f;v[f+16>>2]=v[a+436>>2];v[f+20>>2]=v[a+440>>2];v[f+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=f}v[f+28>>2]=c;gc(f+32|0,h,256);f=0}if(!f){break e}break d}t[a+294|0]=1}if(w[a+288|0]){f=v[v[a+528>>2]+88>>2];n:{o:{switch(w[a+325|0]){case 0:g=w[d|0]|w[d+1|0]<<8;u[f+838>>1]=0;u[f+840>>1]=0;u[f+842>>1]=0;u[f+844>>1]=0;u[f+846>>1]=0;u[f+836>>1]=g<<8|g>>>8;break n;case 2:u[f+836>>1]=0;g=w[d|0]|w[d+1|0]<<8;u[f+838>>1]=g<<8|g>>>8;g=w[d+2|0]|w[d+3|0]<<8;u[f+840>>1]=g<<8|g>>>8;g=w[d+4|0]|w[d+5|0]<<8;v[f+844>>2]=0;u[f+842>>1]=g<<8|g>>>8;break n;case 3:break o;default:break n}}v[f+844>>2]=c;v[f+836>>2]=0;v[f+840>>2]=0;gc(f+848|0,d,c)}t[f+56|0]=1;break e}f=v[a+512>>2];if(!f){f=v[a+528>>2]}h=v[f+88>>2];t[h+56|0]=1;p:{q:{if(c){i=w[a+325|0];g=d;f=c;break q}i=w[a+325|0];f=v[a+1932>>2];if(!(i|(f|0)==2)|!((f|0)==6|(i|0)!=2)){break a}g=a+1936|0;if((i|0)!=3){break q}if(y[h+64>>2]>=f>>>0?f:0){break p}break a}r:{switch(i|0){case 0:f=w[g|0]|w[g+1|0]<<8;u[h+838>>1]=0;u[h+840>>1]=0;u[h+842>>1]=0;u[h+844>>1]=0;u[h+846>>1]=0;u[h+836>>1]=f<<8|f>>>8;break e;case 3:break p;case 2:break r;default:break e}}u[h+836>>1]=0;f=w[g|0]|w[g+1|0]<<8;u[h+838>>1]=f<<8|f>>>8;f=w[g+2|0]|w[g+3|0]<<8;u[h+840>>1]=f<<8|f>>>8;f=w[g+4|0]|w[g+5|0]<<8;v[h+844>>2]=0;u[h+842>>1]=f<<8|f>>>8;break e}v[h+844>>2]=f;v[h+836>>2]=0;v[h+840>>2]=0;gc(h+848|0,g,f)}f=0;if(!w[a+112|0]){break d}f=Ub[v[b+4>>2]](a,b,e)|0;if(f){break d}if(w[a+288|0]?1:w[a+286|0]|w[a+287|0]){f=0;b=v[e>>2];t[b+33|0]=0;a=w[a+325|0];t[b+34|0]=a;if(!c){t[b+32|0]=1;return 0}t[b+32|0]=0;s:{switch(a|0){case 0:a=w[d|0]|w[d+1|0]<<8;u[b+296>>1]=a<<8|a>>>8;return 0;case 2:a=w[d|0]|w[d+1|0]<<8;u[b+298>>1]=a<<8|a>>>8;a=w[d+2|0]|w[d+3|0]<<8;u[b+300>>1]=a<<8|a>>>8;a=w[d+4|0]|w[d+5|0]<<8;u[b+302>>1]=a<<8|a>>>8;return 0;case 3:break s;default:break d}}v[b+36>>2]=c;gc(b+40|0,d,c);return 0}a=v[e>>2];v[a+304>>2]=c;t[a+33|0]=1;t[a+34|0]=0;t[a+32|0]=!c;gc(a+308|0,d,c);f=0}return f|0}pc(a,1029,0,0);return 1029}pc(a,1028,0,0);return 1028}pc(a,1035,0,0);return 1035}function bV(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=Qb-112|0;Qb=h;a:{if(!b|v[b+4>>2]!=1|(!c|v[c+4>>2]!=18)){break a}f=a;d=v[c+8>>2];b:{c:{d:{k=b;if(!k){break d}j=v[k+4>>2];if(!d|(j|0)==18){break d}i=286150;e:{if((d|0)!=286150){e=d;while(1){g=w[e|0];if((g|0)!=w[i|0]){break e}i=i+1|0;e=e+1|0;if(g){continue}break}}if(!f){if((j|0)==1){e=Ub[v[259704]](24)|0;if(!e){so(2,2,0,286187);break d}v[e>>2]=0;v[e+4>>2]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;v[e+4>>2]=18;d=Ub[v[259707]](37)|0;f:{if(!d){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break f}f=w[286182]|w[286183]<<8|(w[286184]<<16|w[286185]<<24);t[d+32|0]=f;t[d+33|0]=f>>>8;t[d+34|0]=f>>>16;t[d+35|0]=f>>>24;f=w[286178]|w[286179]<<8|(w[286180]<<16|w[286181]<<24);g=w[286174]|w[286175]<<8|(w[286176]<<16|w[286177]<<24);t[d+24|0]=g;t[d+25|0]=g>>>8;t[d+26|0]=g>>>16;t[d+27|0]=g>>>24;t[d+28|0]=f;t[d+29|0]=f>>>8;t[d+30|0]=f>>>16;t[d+31|0]=f>>>24;f=w[286170]|w[286171]<<8|(w[286172]<<16|w[286173]<<24);g=w[286166]|w[286167]<<8|(w[286168]<<16|w[286169]<<24);t[d+16|0]=g;t[d+17|0]=g>>>8;t[d+18|0]=g>>>16;t[d+19|0]=g>>>24;t[d+20|0]=f;t[d+21|0]=f>>>8;t[d+22|0]=f>>>16;t[d+23|0]=f>>>24;f=w[286162]|w[286163]<<8|(w[286164]<<16|w[286165]<<24);g=w[286158]|w[286159]<<8|(w[286160]<<16|w[286161]<<24);t[d+8|0]=g;t[d+9|0]=g>>>8;t[d+10|0]=g>>>16;t[d+11|0]=g>>>24;t[d+12|0]=f;t[d+13|0]=f>>>8;t[d+14|0]=f>>>16;t[d+15|0]=f>>>24;f=w[286154]|w[286155]<<8|(w[286156]<<16|w[286157]<<24);g=w[286150]|w[286151]<<8|(w[286152]<<16|w[286153]<<24);t[d|0]=g;t[d+1|0]=g>>>8;t[d+2|0]=g>>>16;t[d+3|0]=g>>>24;t[d+4|0]=f;t[d+5|0]=f>>>8;t[d+6|0]=f>>>16;t[d+7|0]=f>>>24;t[d+36|0]=0}v[e+8>>2]=d;d=Ub[v[259707]](4)|0;g:{if(!d){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break g}t[d+2|0]=w[258816];f=w[258814]|w[258815]<<8;t[d|0]=f;t[d+1|0]=f>>>8;t[d+3|0]=0}v[e+12>>2]=d;v[e>>2]=v[k+48>>2];v[k+48>>2]=e;break b}g=0;f=v[k+32>>2];if(!f){break c}}g=v[f+52>>2];if(g){break c}e=dV(f);break b}l=(j|0)!=2;f=k;while(1){g=0;h:{i:{switch(j-1|0){case 0:break i;case 4:case 5:case 16:break c;default:break h}}g=v[f+48>>2];if(g){while(1){i=v[g+8>>2];j:{if(!i){break j}e=d;if((d|0)!=(i|0)){while(1){j=w[i|0];if((j|0)!=w[e|0]){break j}e=e+1|0;i=i+1|0;if(j){continue}break}}e=v[g+12>>2];if(!(e?1:l)){break j}if((_U(k,f,e)|0)==1){break c}}g=v[g>>2];if(g){continue}break}}if((f|0)==(k|0)){break h}g=v[f+36>>2];if(!g){break h}i=v[g+8>>2];if(!i){break h}e=d;if((d|0)!=(i|0)){while(1){j=w[i|0];if((j|0)!=w[e|0]){break h}e=e+1|0;i=i+1|0;if(j){continue}break}}e=v[g+12>>2];if(!(e?1:l)){break h}if((_U(k,f,e)|0)==1){break c}}f=v[f+20>>2];if(!f){break d}j=v[f+4>>2];continue}}g=0}e=g}if(e){break a}e=v[c+12>>2];k:{if(!e){v[h+48>>2]=1634100580;v[h+52>>2]=7629941;break k}v[h+32>>2]=e;Ai(h+48|0,50,237122,h+32|0)}if(sk(a,b,h+48|0)){e=1;while(1){if((e|0)==1001){e=0;break a}d=v[c+12>>2];l:{if(!d){v[h>>2]=e;Ai(h+48|0,50,292300,h);break l}v[h+20>>2]=e;v[h+16>>2]=d;Ai(h+48|0,50,292310,h+16|0)}e=e+1|0;if(sk(a,b,h+48|0)){continue}break}}e=qk(b,v[c+8>>2],h+48|0)}Qb=h+112|0;return e}function U3a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(a){i=v[a+100>>2];f=v[a+540>>2];if(f){Ub[v[f+12>>2]](a)}c=v[a+712>>2];if(c){f=v[c+8>>2];e=v[c+108>>2];if(e){d=v[e+28>>2];b=c+140|0;if(v[b>>2]){nf(e,b)}b=v[c+136>>2];if(b){Ub[v[d+8>>2]](d,b)}v[c+140>>2]=0;v[c+132>>2]=0;v[c+136>>2]=0;v[c+124>>2]=0;v[c+128>>2]=0;v[c+116>>2]=0;v[c+120>>2]=0;v[c+108>>2]=0;v[c+112>>2]=0}e=v[c+1240>>2];if(e){d=v[e+28>>2];b=c+1272|0;if(v[b>>2]){nf(e,b)}b=v[c+1268>>2];if(b){Ub[v[d+8>>2]](d,b)}b=c+1240|0;v[b+32>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=0;v[b+4>>2]=0}e=v[c+36>>2];if(e){d=v[e+28>>2];b=c+68|0;if(v[b>>2]){nf(e,b)}b=v[c- -64>>2];if(b){Ub[v[d+8>>2]](d,b)}v[c+68>>2]=0;v[c+60>>2]=0;v[c+64>>2]=0;v[c+52>>2]=0;v[c+56>>2]=0;v[c+44>>2]=0;v[c+48>>2]=0;v[c+36>>2]=0;v[c+40>>2]=0}e=v[c+1204>>2];if(e){d=v[e+28>>2];b=c+1236|0;if(v[b>>2]){nf(e,b)}b=v[c+1232>>2];if(b){Ub[v[d+8>>2]](d,b)}b=c+1204|0;v[b+32>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=0;v[b+4>>2]=0}b=v[c+2024>>2];if(b){while(1){g=v[((h<<2)+c|0)+2028>>2];if(g){e=v[g+608>>2];if(e){d=v[e+28>>2];b=g+640|0;if(v[b>>2]){nf(e,b)}b=v[g+636>>2];if(b){Ub[v[d+8>>2]](d,b)}v[g+640>>2]=0;v[g+632>>2]=0;v[g+636>>2]=0;v[g+624>>2]=0;v[g+628>>2]=0;v[g+616>>2]=0;v[g+620>>2]=0;v[g+608>>2]=0;v[g+612>>2]=0}b=f;d=v[g+644>>2];if(d){Ub[v[b+8>>2]](b,d)}v[g+644>>2]=0;d=v[g+572>>2];if(d){Ub[v[b+8>>2]](b,d)}v[g+572>>2]=0;d=v[g+580>>2];if(d){Ub[v[b+8>>2]](b,d)}v[g+580>>2]=0;b=v[g+592>>2];if(b){Ub[v[f+8>>2]](f,b)}v[g+592>>2]=0;b=v[c+2024>>2]}h=h+1|0;if(h>>>0>>0){continue}break}b=v[c+2028>>2];if(b){Ub[v[f+8>>2]](f,b)}v[c+2028>>2]=0}v[c+144>>2]=0;v[c+148>>2]=0;v[c+152>>2]=0;h=v[v[c+4>>2]+28>>2];e=h;d=c+1192|0;b=v[d>>2];if(b){Ub[v[e+8>>2]](e,b)}v[d>>2]=0;v[d+4>>2]=0;d=c+1188|0;b=v[d>>2];if(b){Ub[v[h+8>>2]](h,b)}v[c+1180>>2]=0;v[c+1184>>2]=0;v[d>>2]=0;j$(c+3112|0,f);h=c+1980|0;e=v[h>>2];if(e){d=v[e+28>>2];b=c+2012|0;if(v[b>>2]){nf(e,b)}b=v[c+2008>>2];if(b){Ub[v[d+8>>2]](d,b)}v[h+32>>2]=0;v[h+24>>2]=0;v[h+28>>2]=0;v[h+16>>2]=0;v[h+20>>2]=0;v[h+8>>2]=0;v[h+12>>2]=0;v[h>>2]=0;v[h+4>>2]=0}b=f;e=c+2016|0;d=v[e>>2];if(d){Ub[v[b+8>>2]](b,d)}v[e>>2]=0;e=c+1944|0;d=v[e>>2];if(d){Ub[v[b+8>>2]](b,d)}v[e>>2]=0;e=c+1952|0;d=v[e>>2];if(d){Ub[v[b+8>>2]](b,d)}v[e>>2]=0;e=c+1964|0;d=v[e>>2];if(d){Ub[v[b+8>>2]](b,d)}v[e>>2]=0;d=c+3060|0;if(v[d>>2]){nf(v[c+4>>2],d)}t[c+3052|0]=0;v[c+3056>>2]=0;v[c+3064>>2]=0;d=v[c+3092>>2];if(d){Ub[v[b+8>>2]](b,d)}v[c+3092>>2]=0;d=v[c+1348>>2];if(d){Ub[v[b+8>>2]](b,d)}v[c+1348>>2]=0;d=v[c+1352>>2];if(d){Ub[v[b+8>>2]](b,d)}v[c+1352>>2]=0;d=v[c+1360>>2];if(d){Ub[v[b+8>>2]](b,d)}v[c+1360>>2]=0;b=v[c+1364>>2];if(b){Ub[v[f+8>>2]](f,b)}v[c+1364>>2]=0;b=v[c+3108>>2];if(b){Ub[b|0](v[c+3104>>2]);b=v[c+3104>>2];if(b){Ub[v[f+8>>2]](f,b)}v[c+3104>>2]=0}b=v[c+3132>>2];if(b){Ub[v[f+8>>2]](f,b)}v[c+3132>>2]=0;f=v[a+712>>2];if(f){Ub[v[i+8>>2]](i,f)}v[a+712>>2]=0}f=v[a+548>>2];if(f){Ub[v[f+44>>2]](a)}v[a+736>>2]=0}}function JKa(a,b){a=a|0;b=b|0;var 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;a:{while(1){b:{c:{if(y[a+116>>2]<=261){iz(a);c=v[a+116>>2];if(!(b|c>>>0>261)){return 0}if(!c){break a}if(c>>>0<3){break c}}c=v[a+108>>2];d=v[a+84>>2]&(w[(c+v[a+56>>2]|0)+2|0]^v[a+72>>2]<>2]);v[a+72>>2]=d;e=v[a+68>>2]+(d<<1)|0;d=x[e>>1];u[v[a+64>>2]+((c&v[a+52>>2])<<1)>>1]=d;u[e>>1]=c;if(!d|v[a+44>>2]-262>>>0>>0){break c}c=LV(a,d);v[a+96>>2]=c;break b}c=v[a+96>>2]}d:{if(c>>>0>=3){d=v[a+5792>>2];e=v[a+108>>2]-v[a+112>>2]|0;u[v[a+5796>>2]+(d<<1)>>1]=e;v[a+5792>>2]=d+1;c=c-3|0;t[d+v[a+5784>>2]|0]=c;c=((w[(c&255)+876400|0]<<2)+a|0)+1176|0;u[c>>1]=x[c>>1]+1;c=e-1&65535;c=((w[(c>>>0<256?c:(c>>>7|0)+256|0)+875888|0]<<2)+a|0)+2440|0;u[c>>1]=x[c>>1]+1;c=v[a+96>>2];d=v[a+116>>2]-c|0;v[a+116>>2]=d;h=v[a+5788>>2]-1|0;i=v[a+5792>>2];if(!(d>>>0<3|c>>>0>y[a+128>>2])){e=c-1|0;v[a+96>>2]=e;g=v[a+72>>2];c=v[a+108>>2];k=v[a+52>>2];l=v[a+64>>2];m=v[a+68>>2];n=v[a+84>>2];o=v[a+56>>2];f=v[a+88>>2];while(1){d=c;c=c+1|0;v[a+108>>2]=c;g=(w[(d+o|0)+3|0]^g<>2]=g;j=(g<<1)+m|0;u[((c&k)<<1)+l>>1]=x[j>>1];u[j>>1]=c;e=e-1|0;v[a+96>>2]=e;if(e){continue}break}c=d+2|0;v[a+108>>2]=c;if((h|0)!=(i|0)){continue}break d}v[a+96>>2]=0;c=c+v[a+108>>2]|0;v[a+108>>2]=c;d=v[a+56>>2]+c|0;e=w[d|0];v[a+72>>2]=e;v[a+72>>2]=v[a+84>>2]&(w[d+1|0]^e<>2]);if((h|0)!=(i|0)){continue}break d}c=w[v[a+56>>2]+v[a+108>>2]|0];d=v[a+5792>>2];u[v[a+5796>>2]+(d<<1)>>1]=0;v[a+5792>>2]=d+1;t[d+v[a+5784>>2]|0]=c;c=(c<<2)+a|0;u[c+148>>1]=x[c+148>>1]+1;v[a+116>>2]=v[a+116>>2]-1;c=v[a+108>>2]+1|0;v[a+108>>2]=c;if(v[a+5792>>2]!=(v[a+5788>>2]-1|0)){continue}}d=a;e=v[a+92>>2];if((e|0)>=0){f=e+v[a+56>>2]|0}else{f=0}Lj(d,f,c-e|0,0);v[a+92>>2]=v[a+108>>2];c=v[a>>2];d=v[c+28>>2];qh(d);e=v[c+16>>2];g=v[d+20>>2];e=e>>>0>>0?e:g;e:{if(!e){break e}gc(v[c+12>>2],v[d+16>>2],e);v[c+12>>2]=e+v[c+12>>2];v[d+16>>2]=e+v[d+16>>2];v[c+20>>2]=e+v[c+20>>2];v[c+16>>2]=v[c+16>>2]-e;c=v[d+20>>2]-e|0;v[d+20>>2]=c;if(c){break e}v[d+16>>2]=v[d+8>>2]}if(v[v[a>>2]+16>>2]){continue}break}return 0}c=v[a+108>>2];v[a+5812>>2]=c>>>0<2?c:2;if((b|0)==4){b=a;d=v[a+92>>2];if((d|0)>=0){f=d+v[a+56>>2]|0}else{f=0}Lj(b,f,c-d|0,1);v[a+92>>2]=v[a+108>>2];b=v[a>>2];c=v[b+28>>2];qh(c);d=v[b+16>>2];e=v[c+20>>2];d=d>>>0>>0?d:e;f:{if(!d){break f}gc(v[b+12>>2],v[c+16>>2],d);v[b+12>>2]=d+v[b+12>>2];v[c+16>>2]=d+v[c+16>>2];v[b+20>>2]=d+v[b+20>>2];v[b+16>>2]=v[b+16>>2]-d;b=v[c+20>>2]-d|0;v[c+20>>2]=b;if(b){break f}v[c+16>>2]=v[c+8>>2]}return(v[v[a>>2]+16>>2]?3:2)|0}g:{if(!v[a+5792>>2]){break g}b=a;d=v[a+92>>2];if((d|0)>=0){f=d+v[a+56>>2]|0}else{f=0}Lj(b,f,c-d|0,0);v[a+92>>2]=v[a+108>>2];b=v[a>>2];c=v[b+28>>2];qh(c);d=v[b+16>>2];e=v[c+20>>2];d=d>>>0>>0?d:e;h:{if(!d){break h}gc(v[b+12>>2],v[c+16>>2],d);v[b+12>>2]=d+v[b+12>>2];v[c+16>>2]=d+v[c+16>>2];v[b+20>>2]=d+v[b+20>>2];v[b+16>>2]=v[b+16>>2]-d;b=v[c+20>>2]-d|0;v[c+20>>2]=b;if(b){break h}v[c+16>>2]=v[c+8>>2]}if(v[v[a>>2]+16>>2]){break g}return 0}return 1}function r3(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=v[b+8>>2];a:{b:{if(d&7){break b}f=v[a+12>>2];c:{c=v[b+64>>2];if((c|0)>=0&(c|0)<=v[b+60>>2]){break c}c=f;d=c>>>24|0;v[b+4>>2]=v[b+4>>2]|32;e=v[b+28>>2];v[b+28>>2]=e-1;d:{if((e|0)>=1){v[b+60>>2]=v[b+60>>2]+1;e=v[b+24>>2];v[b+24>>2]=e+1;t[e|0]=d;break d}if((Fc(b,d)|0)==-1){break b}}d=v[b+8>>2];if(d&7){break b}e=v[b+64>>2];if((e|0)>=0&(e|0)<=v[b+60>>2]){break c}d=c>>>16|0;v[b+4>>2]=v[b+4>>2]|32;e=v[b+28>>2];v[b+28>>2]=e-1;e:{if((e|0)>=1){v[b+60>>2]=v[b+60>>2]+1;e=v[b+24>>2];v[b+24>>2]=e+1;t[e|0]=d;break e}if((Fc(b,d&255)|0)==-1){break b}}d=v[b+8>>2];if(d&7){break b}e=v[b+64>>2];if((e|0)>=0&(e|0)<=v[b+60>>2]){break c}c=c>>>8|0;v[b+4>>2]=v[b+4>>2]|32;d=v[b+28>>2];v[b+28>>2]=d-1;f:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;t[d|0]=c;break f}if((Fc(b,c&255)|0)==-1){break b}}d=v[b+8>>2];if(d&7){break b}c=v[b+64>>2];if((c|0)>=0&(c|0)<=v[b+60>>2]){break c}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;g:{if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;t[c|0]=f;break g}if((Fc(b,f&255)|0)==-1){break b}}if(uK(b,v[a+16>>2])){break b}d=v[b+8>>2];if(d&7){break b}c=v[b+64>>2];if((c|0)>=0&(c|0)<=v[b+60>>2]){break c}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;h:{if((c|0)<=0){if((Fc(b,0)|0)!=-1){break h}break b}v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;t[c|0]=0}d=v[b+8>>2];if(d&7){break b}f=v[a+20>>2];c=v[b+64>>2];if((c|0)>=0&(c|0)<=v[b+60>>2]){break c}c=f;d=c>>>24|0;v[b+4>>2]=v[b+4>>2]|32;e=v[b+28>>2];v[b+28>>2]=e-1;i:{if((e|0)>=1){v[b+60>>2]=v[b+60>>2]+1;e=v[b+24>>2];v[b+24>>2]=e+1;t[e|0]=d;break i}if((Fc(b,d)|0)==-1){break b}}d=v[b+8>>2];if(d&7){break b}e=v[b+64>>2];if((e|0)>=0&(e|0)<=v[b+60>>2]){break c}d=c>>>16|0;v[b+4>>2]=v[b+4>>2]|32;e=v[b+28>>2];v[b+28>>2]=e-1;j:{if((e|0)>=1){v[b+60>>2]=v[b+60>>2]+1;e=v[b+24>>2];v[b+24>>2]=e+1;t[e|0]=d;break j}if((Fc(b,d&255)|0)==-1){break b}}d=v[b+8>>2];if(d&7){break b}e=v[b+64>>2];if((e|0)>=0&(e|0)<=v[b+60>>2]){break c}c=c>>>8|0;v[b+4>>2]=v[b+4>>2]|32;d=v[b+28>>2];v[b+28>>2]=d-1;k:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;t[d|0]=c;break k}if((Fc(b,c&255)|0)==-1){break b}}d=v[b+8>>2];if(d&7){break b}c=v[b+64>>2];if((c|0)>=0&(c|0)<=v[b+60>>2]){break c}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;l:{if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;t[c|0]=f;break l}if((Fc(b,f&255)|0)==-1){break b}}if(Hg(b,4,v[a+24>>2],0)){break b}if((zn(b,v[a+28>>2],v[a+24>>2]<<1)|0)!=v[a+24>>2]<<1){break b}if(Hg(b,2,v[a+32>>2],0)){break b}d=v[b+8>>2];if(d&7){break b}c=v[b+64>>2];if((c|0)>=0&(c|0)<=v[b+60>>2]){break c}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;m:{if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=w[a+36|0];f=v[b+24>>2];v[b+24>>2]=f+1;t[f|0]=c;break m}if((Fc(b,w[a+36|0])|0)==-1){break b}}if(w[a+36|0]){d=0;if((zn(b,a+37|0,67)|0)!=67){break b}break a}d=0;if((cw(b,67)|0)==67){break a}break b}v[b+8>>2]=d|4}d=-1}return d|0}function zO(){var a=0,b=0,c=0;a:{if(w[1197264]){break a}t[1197264]=1;ic(1180882,0,1022);a=-255;b=-255;while(1){c=b<<1;u[c+1182416>>1]=b+8>>>4;u[c+1182418>>1]=b+9>>>4;u[c+1182420>>1]=b+10>>>4;c=b+3|0;if((c|0)==256){while(1){b=a<<1;u[b+1183440>>1]=b+8>>>4;u[b+1183442>>1]=b+10>>>4;u[b+1183444>>1]=b+12>>>4;b=a+3|0;if((b|0)==256){b=-255;while(1){a=b<<1;c=B(b,3);u[a+1184464>>1]=c+8>>>4;u[a+1184466>>1]=c+11>>>4;u[a+1184468>>1]=c+14>>>4;a=b+3|0;if((a|0)==256){b=-255;while(1){u[(b<<1)+1185488>>1]=(b<<2)+8>>>4;a=b+1|0;u[(a<<1)+1185488>>1]=(a<<2)+8>>>4;a=b+2|0;u[(a<<1)+1185488>>1]=(a<<2)+8>>>4;a=b+3|0;if((a|0)==256){b=-255;while(1){a=b<<1;c=B(b,5);u[a+1186512>>1]=c+8>>>4;u[a+1186514>>1]=c+13>>>4;u[a+1186516>>1]=c+18>>>4;a=b+3|0;if((a|0)==256){b=-255;while(1){a=b<<1;c=B(b,6);u[a+1187536>>1]=c+8>>>4;u[a+1187538>>1]=c+14>>>4;u[a+1187540>>1]=c+20>>>4;a=b+3|0;if((a|0)==256){b=-255;while(1){a=b<<1;c=B(b,7);u[a+1188560>>1]=c+8>>>4;u[a+1188562>>1]=c+15>>>4;u[a+1188564>>1]=c+22>>>4;a=b+3|0;if((a|0)==256){b=-255;while(1){u[(b<<1)+1189584>>1]=(b<<3)+8>>>4;a=b+1|0;u[(a<<1)+1189584>>1]=(a<<3)+8>>>4;a=b+2|0;u[(a<<1)+1189584>>1]=(a<<3)+8>>>4;a=b+3|0;if((a|0)==256){b=-255;while(1){a=b<<1;c=B(b,9);u[a+1190608>>1]=c+8>>>4;u[a+1190610>>1]=c+17>>>4;u[a+1190612>>1]=c+26>>>4;a=b+3|0;if((a|0)==256){b=-255;while(1){a=b<<1;c=B(b,10);u[a+1191632>>1]=c+8>>>4;u[a+1191634>>1]=c+18>>>4;u[a+1191636>>1]=c+28>>>4;a=b+3|0;if((a|0)==256){b=-255;while(1){a=b<<1;c=B(b,11);u[a+1192656>>1]=c+8>>>4;u[a+1192658>>1]=c+19>>>4;u[a+1192660>>1]=c+30>>>4;a=b+3|0;if((a|0)==256){b=-255;while(1){a=b<<1;c=B(b,12);u[a+1193680>>1]=c+8>>>4;u[a+1193682>>1]=c+20>>>4;u[a+1193684>>1]=c+32>>>4;a=b+3|0;if((a|0)==256){b=-255;while(1){a=b<<1;c=B(b,13);u[a+1194704>>1]=c+8>>>4;u[a+1194706>>1]=c+21>>>4;u[a+1194708>>1]=c+34>>>4;a=b+3|0;if((a|0)==256){b=-255;while(1){a=b<<1;c=B(b,14);u[a+1195728>>1]=c+8>>>4;u[a+1195730>>1]=c+22>>>4;u[a+1195732>>1]=c+36>>>4;a=b+3|0;if((a|0)==256){b=-255;while(1){a=b<<1;c=B(b,15);u[a+1196752>>1]=c+8>>>4;u[a+1196754>>1]=c+23>>>4;u[a+1196756>>1]=c+38>>>4;a=b+3|0;if((a|0)==256){break a}u[(a<<1)+1196752>>1]=B(a,15)+8>>>4;b=b+4|0;continue}}else{u[(a<<1)+1195728>>1]=B(a,14)+8>>>4;b=b+4|0;continue}}}else{u[(a<<1)+1194704>>1]=B(a,13)+8>>>4;b=b+4|0;continue}}}else{u[(a<<1)+1193680>>1]=B(a,12)+8>>>4;b=b+4|0;continue}}}else{u[(a<<1)+1192656>>1]=B(a,11)+8>>>4;b=b+4|0;continue}}}else{u[(a<<1)+1191632>>1]=B(a,10)+8>>>4;b=b+4|0;continue}}}else{u[(a<<1)+1190608>>1]=B(a,9)+8>>>4;b=b+4|0;continue}}}else{u[(a<<1)+1189584>>1]=(a<<3)+8>>>4;b=b+4|0;continue}}}else{u[(a<<1)+1188560>>1]=B(a,7)+8>>>4;b=b+4|0;continue}}}else{u[(a<<1)+1187536>>1]=B(a,6)+8>>>4;b=b+4|0;continue}}}else{u[(a<<1)+1186512>>1]=B(a,5)+8>>>4;b=b+4|0;continue}}}else{u[(a<<1)+1185488>>1]=(a<<2)+8>>>4;b=b+4|0;continue}}}else{u[(a<<1)+1184464>>1]=B(a,3)+8>>>4;b=b+4|0;continue}}}else{b=b<<1;u[b+1183440>>1]=b+8>>>4;a=a+4|0;continue}}}else{u[(c<<1)+1182416>>1]=b+11>>>4;b=b+4|0;continue}}}}function kr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Qb-16|0;Qb=c;a:{b:{d=v[a>>2];c:{if(d){uO(c,d,b);b=v[c>>2];d:{if(b){d=v[v[b>>2]+28>>2];v[299999]=0;U(d|0,c+8|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break d}a=P()|0;O()|0;break b}v[c+8>>2]=0}v[299999]=0;Q(4344,a|0,c+8|0)|0;b=v[299999];v[299999]=0;e:{if((b|0)!=1){b=v[c+8>>2];v[c+8>>2]=0;if(!b){break e}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)!=1){if(d){break e}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break e}}break a}a=P()|0;O()|0;ec(c+8|0);break b}b=v[a>>2];v[a+4>>2]=v[(b?b+12|0:1129608)>>2];b=v[c>>2];v[c>>2]=0;if(!b){break c}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)!=1){if(d){break c}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break c}}break a}if((b|0)>=1){v[c>>2]=0;f:{g:{if(b){v[299999]=0;d=S(1,16)|0;e=v[299999];v[299999]=0;if((e|0)==1){break g}v[d+8>>2]=0;v[d+12>>2]=0;v[d+4>>2]=0;v[d>>2]=990592;v[299999]=0;Q(4336,c|0,d|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break g}v[299999]=0;e=S(1,b+1|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break g}v[d+8>>2]=b;v[d+12>>2]=e;t[b+e|0]=0}break f}b=P()|0;O()|0;a=v[c>>2];v[c>>2]=0;h:{i:{if(!a){break i}v[299999]=0;c=v[a+4>>2]-1|0;v[a+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break h}if(c){break i}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break h}}T(b|0);L()}break a}b=v[c>>2];j:{if(b){d=v[v[b>>2]+28>>2];v[299999]=0;U(d|0,c+8|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break j}a=P()|0;O()|0;break b}v[c+8>>2]=0}v[299999]=0;Q(4344,a|0,c+8|0)|0;b=v[299999];v[299999]=0;k:{if((b|0)!=1){b=v[c+8>>2];v[c+8>>2]=0;if(!b){break k}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)!=1){if(d){break k}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break k}}break a}a=P()|0;O()|0;ec(c+8|0);break b}b=v[a>>2];v[a+4>>2]=v[(b?b+12|0:1129608)>>2];b=v[c>>2];v[c>>2]=0;if(!b){break c}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)!=1){if(d){break c}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break c}}break a}v[c>>2]=0;Wc(c,0);b=v[c>>2];l:{if(b){d=v[v[b>>2]+28>>2];v[299999]=0;U(d|0,c+8|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break l}a=P()|0;O()|0;break b}v[c+8>>2]=0}v[299999]=0;Q(4344,a|0,c+8|0)|0;b=v[299999];v[299999]=0;m:{if((b|0)!=1){b=v[c+8>>2];v[c+8>>2]=0;if(!b){break m}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)!=1){if(d){break m}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break m}}break a}a=P()|0;O()|0;ec(c+8|0);break b}b=v[a>>2];v[a+4>>2]=v[(b?b+12|0:1129608)>>2];b=v[c>>2];v[c>>2]=0;if(!b){break c}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(d){break c}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}Qb=c+16|0;a=v[a>>2];if(a){a=v[a+12>>2]}else{a=0}return a|0}ec(c);T(a|0);L()}W(0)|0;O()|0;lc();L()}function VNa(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,n=0,o=0,p=0,q=0,r=0;k=Qb-224|0;Qb=k;l=a;o=c;m=Qb-16|0;Qb=m;a=k;v[a+72>>2]=0;v[a+24>>2]=40;v[a+20>>2]=a+29;v[a+128>>2]=0;v[a+80>>2]=40;v[a+76>>2]=a+85;u[a+28>>1]=0;v[a+184>>2]=0;v[a+136>>2]=40;v[a+132>>2]=a+141;u[a+84>>1]=0;u[a+140>>1]=0;p=a+132|0;c=a+20|0;a:{b:{if(!b){v[299999]=0;b=ga(2745)|0;n=v[299999];v[299999]=0;if((n|0)==1){break b}}v[a>>2]=b;if(l){v[299999]=0;n=Y(2746,p|0,47,j|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}v[299999]=0;b=ni(m+8|0,l);l=v[299999];v[299999]=0;if((l|0)==1){break b}l=v[b+4>>2];b=v[b>>2];v[299999]=0;Z(2748,n|0,b|0,l|0,j|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}}b=Jm(d,47);b=b?b+1|0:d;v[a+8>>2]=b;q=a,r=Bc(b),v[q+16>>2]=r;c:{if((b|0)==(d|0)){c=a;break c}v[299999]=0;Z(2748,c|0,d|0,b-d|0,j|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}}b=v[c>>2];t[a+188|0]=0;v[a+12>>2]=o?o:358460;v[a+4>>2]=b;Qb=m+16|0;break a}b=P()|0;O()|0;bn(p);bn(a+76|0);bn(c);T(b|0);L()}d:{e:{f:{g:{if(!g){while(1){h:{v[299999]=0;b=Q(2755,a|0,j|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break h}if(!b){b=0;break e}v[299999]=0;b=Q(2756,k+192|0,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break h}if(!b){continue}i:{if(v[j>>2]>0){break i}d=v[k+196>>2];if(!(w[d+2|0]!=218|w[d+3|0]!=39)){v[299999]=0;b=S(2757,j|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break h}if(v[j>>2]<1){break f}break i}v[i>>2]=3}v[299999]=0;R(2758,k+192|0);b=v[299999];v[299999]=0;if((b|0)==1){break h}b=0;if(v[j>>2]>0){break e}v[i>>2]=3;continue}break}break g}while(1){j:{v[299999]=0;b=Q(2755,a|0,j|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break j}if(!b){b=0;break e}v[299999]=0;b=Q(2756,k+192|0,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break j}if(!b){continue}k:{if(v[j>>2]>0){break k}l:{d=v[k+196>>2];if(w[d+2|0]!=218|w[d+3|0]!=39){break l}v[299999]=0;b=Z(g|0,h|0,e|0,f|0,d+4|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break j}if(!b){break l}v[299999]=0;b=S(2757,j|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break j}if(v[j>>2]>=1){break k}break f}v[i>>2]=3}v[299999]=0;R(2758,k+192|0);b=v[299999];v[299999]=0;if((b|0)==1){break j}b=0;if(v[j>>2]>0){break e}v[i>>2]=3;continue}break}}b=P()|0;O()|0;if(w[a+140|0]){c=v[a+132>>2];v[299999]=0;R(2744,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break d}}if(w[a+84|0]){c=v[a+76>>2];v[299999]=0;R(2744,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break d}}if(w[a+28|0]){a=v[a+20>>2];v[299999]=0;R(2744,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break d}}T(b|0);L()}v[b+4>>2]=d;v[b+16>>2]=v[k+208>>2];v[b+20>>2]=v[k+212>>2]}m:{n:{if(!w[a+140|0]){break n}c=v[a+132>>2];v[299999]=0;R(2744,c|0);c=v[299999];v[299999]=0;if((c|0)!=1){break n}break m}o:{if(w[a+84|0]){c=v[a+76>>2];v[299999]=0;R(2744,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break o}}if(w[a+28|0]){a=v[a+20>>2];v[299999]=0;R(2744,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break o}}Qb=k+224|0;return b|0}}}W(0)|0;O()|0;lc();L()}function d1(a,b){var c=0,d=0,e=0,f=0,g=0;f=Qb+-64|0;Qb=f;a:{b:{c:{d:{e:{c=t[b|0];switch(c-97|0){case 17:break c;case 0:case 22:break e;default:break d}}g=(c|0)==119?578:66;break b}v[f>>2]=b;zc(0,76916,2485,f);break a}g=(w[b+1|0]==43)<<1}c=jc(Bc(3143)+689|0);if(!c){v[f+16>>2]=3143;zc(a,76916,8130,f+16|0);break a}eg(c,0,688);d=c+688|0;v[c>>2]=d;ce(d,3143);u[c+476>>1]=65535;v[c+8>>2]=g&2;v[c+480>>2]=-1;v[c+484>>2]=0;v[c+628>>2]=a;v[c+472>>2]=-1;v[c+648>>2]=101;v[c+644>>2]=100;v[c+640>>2]=99;v[c+636>>2]=98;v[c+632>>2]=97;v[c+624>>2]=103;v[c+620>>2]=102;pp(c);a=g?1:2049;d=g&576?a:a|32768;v[c+12>>2]=d;e=w[b|0];f:{if(!e){break f}if(!g){a=b;while(1){g=c;g:{h:{i:{switch((e<<24>>24)-66|0){case 33:d=d&-32769;break h;case 1:d=d|32768;break h;case 43:d=d&-2049;break h;case 11:d=d|2048;break h;case 6:d=d&-4|2;break h;case 10:d=d&-4|2;break h;case 0:d=d&-4|1;break h;case 38:break i;default:break g}}d=d|65536}v[g+12>>2]=d}e=w[a+1|0];a=a+1|0;if(e){continue}break}break f}if(!(g&64)){a=b;while(1){g=c;j:{k:{l:{switch((e<<24>>24)-66|0){case 6:d=d&-4|2;break k;case 10:d=d&-4|2;break k;case 0:d=d&-4|1;break k;case 38:break l;default:break j}}d=d|65536}v[g+12>>2]=d}e=w[a+1|0];a=a+1|0;if(e){continue}break}break f}a=b;while(1){g=c;m:{n:{o:{switch((e<<24>>24)-66|0){case 32:d=d|128;break n;case 0:d=d&-4|1;break n;case 10:d=d&-4|2;break n;case 6:d=d&-4|2;break n;case 38:break o;default:break m}}d=d|65536}v[g+12>>2]=d}e=w[a+1|0];a=a+1|0;if(e){continue}break}}p:{q:{r:{if(!(w[c+9|0]&2)){if((Ub[v[c+632>>2]](v[c+628>>2],c+456|0,8)|0)==8){break r}if(!v[c+8>>2]){break q}d=v[c+12>>2]}u[c+458>>1]=42;a=d&128;u[c+456>>1]=a?19789:18761;if(a){a=w[c+459|0];t[c+459|0]=w[c+458|0];t[c+458|0]=a}v[c+460>>2]=0;Ub[v[c+640>>2]](v[c+628>>2],0,0)|0;if((Ub[v[c+636>>2]](v[c+628>>2],c+456|0,8)|0)!=8){zc(v[c+628>>2],3143,15679,0);break p}v[c+468>>2]=76944;a=c;if(x[c+456>>1]==19789){v[c+12>>2]=v[c+12>>2]|128;b=77008}else{b=77072}v[a+464>>2]=b;if(!ux(c)){break p}u[c+32>>1]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;e=c;break a}e=x[c+456>>1];if(!((e|0)==18761|(e|0)==19789)){a=v[c+628>>2];v[f+36>>2]=e;v[f+32>>2]=e;zc(a,3143,19346,f+32|0);break p}v[c+468>>2]=76944;d=v[c+12>>2];a=c;if((e|0)==19789){d=d|128;v[c+12>>2]=d;e=77008}else{e=77072}v[a+464>>2]=e;if(d&128){a=w[c+459|0];t[c+459|0]=w[c+458|0];t[c+458|0]=a;Mn(c+460|0)}s:{t:{u:{a=x[c+458>>1];switch(a-42|0){case 0:break s;case 1:break u;default:break t}}zc(v[c+628>>2],3143,21705,0);break p}b=v[c+628>>2];v[f+52>>2]=a;v[f+48>>2]=a;zc(b,3143,23643,f+48|0);break p}v[c+604>>2]=0;v[c+596>>2]=0;v[c+600>>2]=0;a=v[c+12>>2];v[c+12>>2]=a|512;e=c;if(a&65536){break a}b=t[b|0]-97|0;if(b){if((b|0)!=17){break p}v[c+20>>2]=v[c+460>>2];v:{if(!(a&2048)){break v}if(Ub[v[c+620>>2]](v[c+628>>2],c+612|0,c+616|0)|0){break v}v[c+12>>2]=v[c+12>>2]&-2049}if(!KM(c)){break p}v[c+608>>2]=-1;v[c+12>>2]=v[c+12>>2]|16;break a}if(ux(c)){break a}break p}zc(v[c+628>>2],3143,13028,0)}e=0;v[c+8>>2]=0;vP(c)}Qb=f- -64|0;return e}function cfb(a){a=a|0;var 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;b=v[a+572>>2];c=v[a+664>>2];a:{if((b|0)<(c|0)|(b|0)>=v[a+668>>2]){break a}i=Ub[v[a+220>>2]](a,v[a+680>>2]+(b-c|0)|0)|0;b=v[a+580>>2];c=(i+(b<<2)|0)+(v[a+672>>2]<<2)|0;f=v[a+656>>2];d=(f|0)/v[a+584>>2]|0;e=v[a+644>>2];b:{if(!w[a+648|0]){f=b+f|0;b=e+(d<<2)|0;d=v[a+660>>2];if(!w[a+649|0]){break b}if((d|0)<=(f|0)){break a}while(1){t[c|0]=w[b+3|0];t[c+1|0]=w[b+2|0];t[c+2|0]=w[b+1|0];t[c+3|0]=w[b|0];b=b+4|0;d=v[a+584>>2];c=(d<<2)+c|0;f=d+f|0;if((f|0)>2]){continue}break}break a}f=b+f|0;b=e+(d<<3)|0;d=v[a+660>>2];if(w[a+649|0]){if((d|0)<=(f|0)){break a}while(1){t[c|0]=w[b+6|0];t[c+1|0]=w[b+4|0];t[c+2|0]=w[b+2|0];t[c+3|0]=w[b|0];b=b+8|0;d=v[a+584>>2];c=(d<<2)+c|0;f=d+f|0;if((f|0)>2]){continue}break}break a}if((d|0)<=(f|0)){break a}while(1){d=w[b+6|0]|w[b+7|0]<<8;d=(d<<8|d>>>8)&65535;c:{if(!d){break c}d:{if((d|0)!=65535){e=w[c|0];e=e<<8|e;if(e){break d}}t[c|0]=w[b+6|0];t[c+1|0]=w[b+4|0];t[c+2|0]=w[b+2|0];t[c+3|0]=w[b|0];break c}if((e|0)==65535){e=w[b+2|0]|w[b+3|0]<<8;j=w[b+4|0]|w[b+5|0]<<8;h=w[b|0]|w[b+1|0]<<8;g=B(d,(h<<8|h>>>8)&65535);h=w[c+3|0];i=h<<8|h;h=d^65535;g=(g+B(i,h)|0)+32768|0;t[c+3|0]=(g>>>16|0)+g>>>24;i=B((e<<8|e>>>8)&65535,d);e=w[c+2|0];e=(i+B(h,e<<8|e)|0)+32768|0;t[c+2|0]=(e>>>16|0)+e>>>24;i=B((j<<8|j>>>8)&65535,d);d=w[c+1|0];d=(i+B(h,d<<8|d)|0)+32768|0;t[c+1|0]=(d>>>16|0)+d>>>24;break c}j=w[c+1|0];h=w[c+2|0];g=w[c+3|0];k=w[b|0]|w[b+1|0]<<8;l=w[b+2|0]|w[b+3|0]<<8;m=w[b+4|0]|w[b+5|0]<<8;n=d^65535;o=B(n,e^65535)^-1;t[c|0]=o>>>24;i=g|g<<8;g=o>>>16|0;e=(B(e,n)>>>0)/(g>>>0)|0;d=(d<<16>>>0)/(g>>>0)|0;t[c+3|0]=(B(i,e)+B(d,(k<<8|k>>>8)&65535)|0)+32767>>>24;t[c+2|0]=(B(e,h|h<<8)+B(d,(l<<8|l>>>8)&65535)|0)+32767>>>24;t[c+1|0]=(B(e,j|j<<8)+B(d,(m<<8|m>>>8)&65535)|0)+32767>>>24}b=b+8|0;d=v[a+584>>2];c=(d<<2)+c|0;f=d+f|0;if((f|0)>2]){continue}break}break a}if((d|0)<=(f|0)){break a}while(1){d=w[b+3|0];e:{if(!d){break e}f:{if((d|0)!=255){e=w[c|0];if(e){break f}}t[c|0]=d;t[c+1|0]=w[b+2|0];t[c+2|0]=w[b+1|0];t[c+3|0]=w[b|0];break e}if((e|0)==255){e=d^255;j=(B(d,w[b+2|0])+B(e,w[c+1|0])|0)+128|0;t[c+1|0]=(j>>>8&255)+j>>>8;j=(B(d,w[b+1|0])+B(e,w[c+2|0])|0)+128|0;t[c+2|0]=(j>>>8&255)+j>>>8;d=(B(d,w[b|0])+B(e,w[c+3|0])|0)+128|0;t[c+3|0]=(d>>>8&255)+d>>>8;break e}j=w[b+2|0];h=w[b+1|0];g=w[b|0];k=d^255;l=B(k,e^255)>>>8^-1;t[c|0]=l;i=g;g=l&255;d=(d<<8>>>0)/(g>>>0)|0;e=(B(e,k)>>>0)/(g>>>0)|0;t[c+3|0]=(B(i,d)+B(e,w[c+3|0])|0)+127>>>8;t[c+2|0]=(B(d,h)+B(e,w[c+2|0])|0)+127>>>8;t[c+1|0]=(B(d,j)+B(e,w[c+1|0])|0)+127>>>8}b=b+4|0;d=v[a+584>>2];c=(d<<2)+c|0;f=d+f|0;if((f|0)>2]){continue}break}}c=v[a+680>>2]+v[a+572>>2]|0;f=v[a+664>>2];b=v[a+556>>2];d=v[a+672>>2];g:{if((d|0)>=v[a+552>>2]){if(b){break g}b=0}v[a+552>>2]=d}i=b;b=v[a+676>>2];if((i|0)<(b|0)){v[a+556>>2]=b}b=v[a+564>>2];c=c-f|0;h:{if((c|0)>=v[a+560>>2]){if(b){break h}b=0}v[a+560>>2]=c}if((b|0)<=(c|0)){v[a+564>>2]=c+1}return 0}function lfb(a){a=a|0;var 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;b=v[a+572>>2];c=v[a+664>>2];a:{if((b|0)<(c|0)|(b|0)>=v[a+668>>2]){break a}j=Ub[v[a+220>>2]](a,v[a+680>>2]+(b-c|0)|0)|0;b=v[a+580>>2];c=(j+(b<<2)|0)+(v[a+672>>2]<<2)|0;f=v[a+656>>2];d=(f|0)/v[a+584>>2]|0;e=v[a+644>>2];b:{if(!w[a+648|0]){f=b+f|0;b=e+(d<<2)|0;d=v[a+660>>2];if(!w[a+649|0]){break b}if((d|0)<=(f|0)){break a}while(1){t[c|0]=w[b|0];t[c+1|0]=w[b+1|0];t[c+2|0]=w[b+2|0];t[c+3|0]=w[b+3|0];b=b+4|0;d=v[a+584>>2];c=(d<<2)+c|0;f=d+f|0;if((f|0)>2]){continue}break}break a}f=b+f|0;b=e+(d<<3)|0;d=v[a+660>>2];if(w[a+649|0]){if((d|0)<=(f|0)){break a}while(1){t[c|0]=w[b|0];t[c+1|0]=w[b+2|0];t[c+2|0]=w[b+4|0];t[c+3|0]=w[b+6|0];b=b+8|0;d=v[a+584>>2];c=(d<<2)+c|0;f=d+f|0;if((f|0)>2]){continue}break}break a}if((d|0)<=(f|0)){break a}while(1){d=w[b+6|0]|w[b+7|0]<<8;d=(d<<8|d>>>8)&65535;c:{if(!d){break c}d:{if((d|0)!=65535){e=w[c+3|0];e=e<<8|e;if(e){break d}}t[c|0]=w[b|0];t[c+1|0]=w[b+2|0];t[c+2|0]=w[b+4|0];t[c+3|0]=w[b+6|0];break c}if((e|0)==65535){e=w[b|0]|w[b+1|0]<<8;g=w[b+2|0]|w[b+3|0]<<8;i=w[b+4|0]|w[b+5|0]<<8;h=B(d,(i<<8|i>>>8)&65535);i=w[c+2|0];j=i<<8|i;i=d^65535;h=(h+B(j,i)|0)+32768|0;t[c+2|0]=(h>>>16|0)+h>>>24;j=B((g<<8|g>>>8)&65535,d);g=w[c+1|0];g=(j+B(i,g<<8|g)|0)+32768|0;t[c+1|0]=(g>>>16|0)+g>>>24;j=B((e<<8|e>>>8)&65535,d);d=w[c|0];d=(j+B(i,d<<8|d)|0)+32768|0;t[c|0]=(d>>>16|0)+d>>>24;break c}g=w[c|0];i=w[c+1|0];h=w[c+2|0];k=w[b|0]|w[b+1|0]<<8;l=w[b+2|0]|w[b+3|0]<<8;m=w[b+4|0]|w[b+5|0]<<8;n=d^65535;o=B(n,e^65535)^-1;t[c+3|0]=o>>>24;j=h|h<<8;h=o>>>16|0;e=(B(e,n)>>>0)/(h>>>0)|0;d=(d<<16>>>0)/(h>>>0)|0;t[c+2|0]=(B(j,e)+B(d,(m<<8|m>>>8)&65535)|0)+32767>>>24;t[c+1|0]=(B(e,i|i<<8)+B(d,(l<<8|l>>>8)&65535)|0)+32767>>>24;t[c|0]=(B(e,g|g<<8)+B(d,(k<<8|k>>>8)&65535)|0)+32767>>>24}b=b+8|0;d=v[a+584>>2];c=(d<<2)+c|0;f=d+f|0;if((f|0)>2]){continue}break}break a}if((d|0)<=(f|0)){break a}while(1){d=w[b+3|0];e:{if(!d){break e}f:{if((d|0)!=255){e=w[c+3|0];if(e){break f}}t[c|0]=w[b|0];t[c+1|0]=w[b+1|0];t[c+2|0]=w[b+2|0];t[c+3|0]=w[b+3|0];break e}if((e|0)==255){e=d^255;g=(B(d,w[b|0])+B(e,w[c|0])|0)+128|0;t[c|0]=(g>>>8&255)+g>>>8;g=(B(d,w[b+1|0])+B(e,w[c+1|0])|0)+128|0;t[c+1|0]=(g>>>8&255)+g>>>8;d=(B(d,w[b+2|0])+B(e,w[c+2|0])|0)+128|0;t[c+2|0]=(d>>>8&255)+d>>>8;break e}g=w[b|0];i=w[b+1|0];h=w[b+2|0];k=d^255;l=B(k,e^255)>>>8^-1;t[c+3|0]=l;j=h;h=l&255;d=(d<<8>>>0)/(h>>>0)|0;e=(B(e,k)>>>0)/(h>>>0)|0;t[c+2|0]=(B(j,d)+B(e,w[c+2|0])|0)+127>>>8;t[c+1|0]=(B(d,i)+B(e,w[c+1|0])|0)+127>>>8;t[c|0]=(B(d,g)+B(e,w[c|0])|0)+127>>>8}b=b+4|0;d=v[a+584>>2];c=(d<<2)+c|0;f=d+f|0;if((f|0)>2]){continue}break}}c=v[a+680>>2]+v[a+572>>2]|0;f=v[a+664>>2];b=v[a+556>>2];d=v[a+672>>2];g:{if((d|0)>=v[a+552>>2]){if(b){break g}b=0}v[a+552>>2]=d}j=b;b=v[a+676>>2];if((j|0)<(b|0)){v[a+556>>2]=b}b=v[a+564>>2];c=c-f|0;h:{if((c|0)>=v[a+560>>2]){if(b){break h}b=0}v[a+560>>2]=c}if((b|0)<=(c|0)){v[a+564>>2]=c+1}return 0}function efb(a){a=a|0;var 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;b=v[a+572>>2];c=v[a+664>>2];a:{if((b|0)<(c|0)|(b|0)>=v[a+668>>2]){break a}i=Ub[v[a+220>>2]](a,v[a+680>>2]+(b-c|0)|0)|0;b=v[a+580>>2];c=(i+(b<<2)|0)+(v[a+672>>2]<<2)|0;f=v[a+656>>2];d=(f|0)/v[a+584>>2]|0;e=v[a+644>>2];b:{if(!w[a+648|0]){f=b+f|0;b=e+(d<<2)|0;d=v[a+660>>2];if(!w[a+649|0]){break b}if((d|0)<=(f|0)){break a}while(1){t[c|0]=w[b+2|0];t[c+1|0]=w[b+1|0];t[c+2|0]=w[b|0];t[c+3|0]=w[b+3|0];b=b+4|0;d=v[a+584>>2];c=(d<<2)+c|0;f=d+f|0;if((f|0)>2]){continue}break}break a}f=b+f|0;b=e+(d<<3)|0;d=v[a+660>>2];if(w[a+649|0]){if((d|0)<=(f|0)){break a}while(1){t[c|0]=w[b+4|0];t[c+1|0]=w[b+2|0];t[c+2|0]=w[b|0];t[c+3|0]=w[b+6|0];b=b+8|0;d=v[a+584>>2];c=(d<<2)+c|0;f=d+f|0;if((f|0)>2]){continue}break}break a}if((d|0)<=(f|0)){break a}while(1){d=w[b+6|0]|w[b+7|0]<<8;d=(d<<8|d>>>8)&65535;c:{if(!d){break c}d:{if((d|0)!=65535){e=w[c+3|0];e=e<<8|e;if(e){break d}}t[c|0]=w[b+4|0];t[c+1|0]=w[b+2|0];t[c+2|0]=w[b|0];t[c+3|0]=w[b+6|0];break c}if((e|0)==65535){e=w[b+2|0]|w[b+3|0]<<8;j=w[b+4|0]|w[b+5|0]<<8;h=w[b|0]|w[b+1|0]<<8;g=B(d,(h<<8|h>>>8)&65535);h=w[c+2|0];i=h<<8|h;h=d^65535;g=(g+B(i,h)|0)+32768|0;t[c+2|0]=(g>>>16|0)+g>>>24;i=B((e<<8|e>>>8)&65535,d);e=w[c+1|0];e=(i+B(h,e<<8|e)|0)+32768|0;t[c+1|0]=(e>>>16|0)+e>>>24;i=B((j<<8|j>>>8)&65535,d);d=w[c|0];d=(i+B(h,d<<8|d)|0)+32768|0;t[c|0]=(d>>>16|0)+d>>>24;break c}j=w[c|0];h=w[c+1|0];g=w[c+2|0];k=w[b|0]|w[b+1|0]<<8;l=w[b+2|0]|w[b+3|0]<<8;m=w[b+4|0]|w[b+5|0]<<8;n=d^65535;o=B(n,e^65535)^-1;t[c+3|0]=o>>>24;i=g|g<<8;g=o>>>16|0;e=(B(e,n)>>>0)/(g>>>0)|0;d=(d<<16>>>0)/(g>>>0)|0;t[c+2|0]=(B(i,e)+B(d,(k<<8|k>>>8)&65535)|0)+32767>>>24;t[c+1|0]=(B(e,h|h<<8)+B(d,(l<<8|l>>>8)&65535)|0)+32767>>>24;t[c|0]=(B(e,j|j<<8)+B(d,(m<<8|m>>>8)&65535)|0)+32767>>>24}b=b+8|0;d=v[a+584>>2];c=(d<<2)+c|0;f=d+f|0;if((f|0)>2]){continue}break}break a}if((d|0)<=(f|0)){break a}while(1){d=w[b+3|0];e:{if(!d){break e}f:{if((d|0)!=255){e=w[c+3|0];if(e){break f}}t[c|0]=w[b+2|0];t[c+1|0]=w[b+1|0];t[c+2|0]=w[b|0];t[c+3|0]=w[b+3|0];break e}if((e|0)==255){e=d^255;j=(B(d,w[b+2|0])+B(e,w[c|0])|0)+128|0;t[c|0]=(j>>>8&255)+j>>>8;j=(B(d,w[b+1|0])+B(e,w[c+1|0])|0)+128|0;t[c+1|0]=(j>>>8&255)+j>>>8;d=(B(d,w[b|0])+B(e,w[c+2|0])|0)+128|0;t[c+2|0]=(d>>>8&255)+d>>>8;break e}j=w[b+2|0];h=w[b+1|0];g=w[b|0];k=d^255;l=B(k,e^255)>>>8^-1;t[c+3|0]=l;i=g;g=l&255;d=(d<<8>>>0)/(g>>>0)|0;e=(B(e,k)>>>0)/(g>>>0)|0;t[c+2|0]=(B(i,d)+B(e,w[c+2|0])|0)+127>>>8;t[c+1|0]=(B(d,h)+B(e,w[c+1|0])|0)+127>>>8;t[c|0]=(B(d,j)+B(e,w[c|0])|0)+127>>>8}b=b+4|0;d=v[a+584>>2];c=(d<<2)+c|0;f=d+f|0;if((f|0)>2]){continue}break}}c=v[a+680>>2]+v[a+572>>2]|0;f=v[a+664>>2];b=v[a+556>>2];d=v[a+672>>2];g:{if((d|0)>=v[a+552>>2]){if(b){break g}b=0}v[a+552>>2]=d}i=b;b=v[a+676>>2];if((i|0)<(b|0)){v[a+556>>2]=b}b=v[a+564>>2];c=c-f|0;h:{if((c|0)>=v[a+560>>2]){if(b){break h}b=0}v[a+560>>2]=c}if((b|0)<=(c|0)){v[a+564>>2]=c+1}return 0}function DTa(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,p=0,q=0;h=Qb-16|0;Qb=h;o=v[b>>2];i=v[o>>2];e=v[i>>2];v[v[e>>2]+20>>2]=c;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;v[e+24>>2]=0;v[e+28>>2]=-1;v[e+208>>2]=0;v[e+212>>2]=-1;v[e+176>>2]=0;v[e+180>>2]=0;v[e+400>>2]=0;v[e+404>>2]=0;v[i+364>>2]=0;v[o+156>>2]=0;if(w[a+96|0]){t[a+96|0]=0;c=a;v[c+64>>2]=2147483647;v[c+68>>2]=2147483647;v[c+48>>2]=2147483647;v[c+52>>2]=2147483647;v[c+8>>2]=0;v[c+12>>2]=0;v[c+1172>>2]=0;v[c+88>>2]=-2147483647;v[c+92>>2]=-2147483647;v[c+80>>2]=2147483647;v[c+84>>2]=2147483647;v[c+72>>2]=0;v[c+76>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0}o=a+100|0;while(1){a:{l=h+8|0;j=v[b>>2];k=j+8|0;m=j+176|0;n=j+168|0;while(1){b:{c:{d:{e:{switch(v[j+156>>2]){case 1:c=v[j+160>>2];break d;case 2:break c;case 0:break e;default:continue}}d=v[j>>2];g=d+8|0;i=d+384|0;e=d+376|0;while(1){f:{g:{h:{i:{switch(v[d+364>>2]){case 1:c=v[d+368>>2];break h;case 2:break g;case 0:break i;default:continue}}c=ss(v[d>>2],e,i);v[d+364>>2]=1;v[d+368>>2]=c}if(!c){c=0;break f}v[g+320>>2]=0;v[g+340>>2]=0;v[g+344>>2]=0;ms(g,A[e>>3],A[i>>3],1);j:{while(1){c=ss(v[d>>2],n,m);if(c-1>>>0<=13){v[d+368>>2]=c;f=A[n>>3];if((c|0)==1){A[e>>3]=f;A[i>>3]=A[m>>3];break j}ms(g,f,A[m>>3],c);continue}if(!c){v[d+368>>2]=0;break j}if((c&15)!=15){continue}break}ms(g,A[n>>3],A[m>>3],c)}TW(g);v[d+364>>2]=2}c=SW(g,n,m);if(c){break f}v[d+364>>2]=1;continue}break}v[j+156>>2]=1;v[j+160>>2]=c}if(!c){c=0;break b}v[k+120>>2]=0;v[k+124>>2]=0;v[k+72>>2]=0;ns(k,A[n>>3],A[m>>3],1);k:{while(1){d=v[j>>2];g=d+8|0;i=d+384|0;e=d+376|0;c=v[d+364>>2];l:{m:{while(1){n:{o:{p:{switch(c|0){case 1:c=v[d+368>>2];break o;case 2:break n;case 0:break p;default:continue}}c=ss(v[d>>2],e,i);v[d+364>>2]=1;v[d+368>>2]=c}if(!c){break m}v[g+320>>2]=0;v[g+340>>2]=0;v[g+344>>2]=0;ms(g,A[e>>3],A[i>>3],1);q:{while(1){c=ss(v[d>>2],l,h);if(c-1>>>0<=13){v[d+368>>2]=c;f=A[l>>3];if((c|0)==1){A[e>>3]=f;A[i>>3]=A[h>>3];break q}ms(g,f,A[h>>3],c);continue}if(!c){v[d+368>>2]=0;break q}if((c&15)!=15){continue}break}ms(g,A[l>>3],A[h>>3],c)}TW(g);v[d+364>>2]=2}c=SW(g,l,h);if(!c){c=1;v[d+364>>2]=1;continue}break}if(c-1>>>0>13){break l}v[j+160>>2]=c;f=A[l>>3];if((c|0)==1){A[n>>3]=f;A[m>>3]=A[h>>3];break k}ns(k,f,A[h>>3],c);continue}v[j+160>>2]=0;break k}if((c&15)!=15){continue}break}ns(k,A[l>>3],A[h>>3],c)}_W(k);v[j+156>>2]=2}c=ZW(k,l,h);if(c){break b}v[j+156>>2]=1;continue}break}e=c;if(c-1>>>0>=14){if(!e){break a}if((e&-49)!=79|v[a+1172>>2]!=2){continue}qd(o,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3;continue}c=v[b+4>>2];q=A[h+8>>3];f=A[h>>3];p=A[c+32>>3]+(q*A[c>>3]+f*A[c+16>>3]);A[h+8>>3]=p;f=A[c+40>>3]+(q*A[c+8>>3]+f*A[c+24>>3]);A[h>>3]=f;if((e|0)==1){cH(a,p,f)}else{f=f*256;f=f+(f<0?-.5:.5);r:{if(D(f)<2147483648){i=~~f;break r}i=-2147483648}c=o;e=a;f=p*256;f=f+(f<0?-.5:.5);s:{if(D(f)<2147483648){d=~~f;break s}d=-2147483648}qd(c,e,d,i);v[a+1172>>2]=2}continue}break}Qb=h+16|0}function lQ(a,b,c){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,p=0;f=v[a>>2];m=a;e=w[a+8|0];a:{b:{if(!e){i=c?x[c+8>>1]:0;d=w[a+9|0];if(d>>>0<=7){c:{d:{switch(d-1|0){case 0:i=B(i&1,255);if(!f){break c}e=b+f|0;d=0-f&7;h=f-1|0;g=(h>>>3|0)+b|0;if(h){h=f&-2;while(1){t[e-1|0]=w[g|0]>>>d&1?-1:0;e=e-2|0;j=g;g=(d|0)==7;j=j-g|0;d=g?0:d+1|0;t[e|0]=w[j|0]>>>d&1?-1:0;g=(d|0)==7;d=g?0:d+1|0;g=j-g|0;h=h-2|0;if(h){continue}break}}if(!(f&1)){break c}t[e-1|0]=w[g|0]>>>d&1?-1:0;break c;case 1:i=B(i&3,85);if(!f){break c}e=b+f|0;h=f-1|0;g=(h>>>2|0)+b|0;d=((f<<1)+6^-1)&6;if(h){h=f&-2;while(1){t[e-1|0]=B(w[g|0]>>>d&3,85);e=e-2|0;j=g;g=(d|0)==6;j=j-g|0;d=g?0:d+2|0;t[e|0]=B(w[j|0]>>>d&3,85);g=(d|0)==6;d=g?0:d+2|0;g=j-g|0;h=h-2|0;if(h){continue}break}}if(!(f&1)){break c}t[e-1|0]=B(w[g|0]>>>d&3,85);break c;case 3:break d;default:break c}}i=B(i&15,17);if(!f){break c}e=b+f|0;d=f<<2&4;h=f-1|0;g=(h>>>1|0)+b|0;if(h){h=f&-2;while(1){t[e-1|0]=B(w[g|0]>>>d&15,17);e=e-2|0;j=(d|0)==4;g=g-j|0;d=(d|0)!=4;t[e|0]=B(w[g|0]>>>(d<<2)&15,17);g=g-d|0;d=j<<2;h=h-2|0;if(h){continue}break}}if(!(f&1)){break c}t[e-1|0]=B(w[g|0]>>>d&15,17)}t[a+11|0]=8;t[a+9|0]=8;v[a+4>>2]=f;d=8}if(!c){break a}e:{f:{switch(d-8|0){case 0:if(!f){break e}e=b+f|0;d=(f<<1)+b|0;if((f|0)!=1){c=f&-2;while(1){b=e-1|0;t[d-1|0]=w[b|0]!=(i|0)?-1:0;t[d-2|0]=w[b|0];e=e-2|0;t[d-3|0]=w[e|0]!=(i|0)?-1:0;d=d-4|0;t[d|0]=w[e|0];c=c-2|0;if(c){continue}break}}if(!(f&1)){break e}b=e-1|0;t[d-1|0]=w[b|0]!=(i|0)?-1:0;t[d-2|0]=w[b|0];break e;case 8:break f;default:break e}}if(!f){break e}g=(i&65280)>>>8|0;c=v[a+4>>2];e=c+b|0;d=(c<<1)+b|0;b=0;h=i&255;while(1){i=e-1|0;j=d-1|0;e=e-2|0;g:{if((g|0)==w[e|0]){c=0;if((h|0)==w[i|0]){break g}}c=255}t[j|0]=c;t[d-2|0]=c;t[d-3|0]=w[i|0];d=d-4|0;t[d|0]=w[e|0];b=b+1|0;if((f|0)!=(b|0)){continue}break}}t[a+10|0]=2;t[a+8|0]=4;b=a;a=w[a+9|0]<<1;t[b+11|0]=a;a=a&254;if(a>>>0>=8){a=B(a>>>3|0,f);break b}a=B(a,f)+7>>>3|0;break b}if(!c|(e|0)!=2){break a}h:{i:{switch(w[a+9|0]-8|0){case 0:if(!f){break h}e=v[a+4>>2]+b|0;d=(f<<2)+b|0;g=x[c+2>>1]&255;j=x[c+4>>1]&255;k=x[c+6>>1]&255;while(1){c=e-1|0;l=d-1|0;b=e-3|0;j:{if(!((g|0)!=w[b|0]|(j|0)!=w[e-2|0])){i=0;if((k|0)==w[c|0]){break j}}i=255}t[l|0]=i;t[d-2|0]=w[c|0];t[d-3|0]=w[e-2|0];d=d-4|0;t[d|0]=w[b|0];e=b;h=h+1|0;if((h|0)!=(f|0)){continue}break};break h;case 8:break i;default:break h}}if(!f){break h}h=x[c+6>>1];j=h>>>8|0;k=x[c+4>>1];l=k>>>8|0;c=x[c+2>>1];n=c>>>8|0;e=v[a+4>>2]+b|0;d=(f<<3)+b|0;b=0;o=c&255;while(1){g=e-1|0;p=d-1|0;c=e-6|0;k:{l:{if(w[c|0]!=(n|0)|w[e-5|0]!=(o|0)|(w[e-4|0]!=(l|0)|w[e-3|0]!=(k&255))){break l}if((j|0)!=w[e-2|0]){break l}i=0;if(w[g|0]==(h&255)){break k}}i=255}t[p|0]=i;t[d-2|0]=i;t[d-3|0]=w[g|0];t[d-4|0]=w[e-2|0];t[d-5|0]=w[e-3|0];t[d-6|0]=w[e-4|0];t[d-7|0]=w[e-5|0];d=d-8|0;t[d|0]=w[c|0];e=c;b=b+1|0;if((f|0)!=(b|0)){continue}break}}t[a+10|0]=4;t[a+8|0]=6;b=a;a=w[a+9|0]<<2;t[b+11|0]=a;a=a&252;if(a>>>0>=8){a=B(a>>>3|0,f);break b}a=B(a,f)+7>>>3|0}v[m+4>>2]=a}}function voa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=Qb+-64|0;Qb=e;a:{b:{c:{if(w[a+89|0]){b=vc(e+24|0,231644,241010,168,341679,0);v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}a=P()|0;O()|0;qc(b);break c}if(!v[a+4>>2]){b=vc(e+24|0,277458,241010,170,341679,0);v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}a=P()|0;O()|0;qc(b);break c}d:{e:{f=v[b+8>>2];f:{if(!f|!v[f+8>>2]){break f}Bi(e+24|0,b,0);f=v[e+24>>2];if(!f){ec(e+24|0);break f}f=v[f+8>>2];ec(e+24|0);if(f){break e}}if(!v[a+44>>2]){b=vc(e+24|0,258623,241010,174,341679,0);v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}a=P()|0;O()|0;qc(b);break c}g=a+8|0;f=v[a+16>>2];g:{if(!f|!v[f+8>>2]){break g}Bi(e+24|0,g,0);f=v[e+24>>2];if(!f){ec(e+24|0);break g}f=v[f+8>>2];ec(e+24|0);if(f){break d}}h=fk(e+16|0,224915);v[299999]=0;U(4690,e+24|0,a|0,h|0);f=v[299999];v[299999]=0;h:{if((f|0)!=1){v[299999]=0;Q(4478,g|0,e+24|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break h}v[e+48>>2]=981312;v[e+24>>2]=981280;g=v[e+52>>2];if(g){f=v[g+4>>2]-1|0;v[g+4>>2]=f;if(!f){Ub[v[v[g>>2]+4>>2]](g)}v[e+52>>2]=0}v[e+40>>2]=981312;g=v[e+44>>2];if(g){f=v[g+4>>2]-1|0;v[g+4>>2]=f;if(!f){Ub[v[v[g>>2]+4>>2]](g)}v[e+44>>2]=0}ec(e+32|0);ec(h);break d}a=P()|0;O()|0;ec(h);break c}a=P()|0;O()|0;$c(e+24|0);ec(h);break c}$C(a+8|0,b)}v[a+56>>2]=6;v[a+100>>2]=d;h=Bh();g=h;f=a;i:{j:{k:{d=v[c>>2];if(!d){i=pr(8);v[i>>2]=0;v[i+4>>2]=0;v[299999]=0;S(4691,i|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break k}v[i>>2]=984720;Wc(c,v[Wc(a+104|0,i)>>2]);d=v[c>>2]}or(g,f,d);or(h,a,a);c=v[b+8>>2];if(!c|!v[c+8>>2]){break a}Bi(e+24|0,b,0);b=v[e+24>>2];if(!b){ec(e+24|0);break a}b=v[b+8>>2];ec(e+24|0);if(!b){break a}b=e+24|0;g=a+8|0;Ub[v[v[h>>2]+16>>2]](b,h,a,g);v[299999]=0;d=a+44|0;Q(4344,d|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break i}f=v[e+24>>2];v[e+24>>2]=0;l:{if(!f){break l}v[299999]=0;c=v[f+4>>2]-1|0;v[f+4>>2]=c;b=v[299999];v[299999]=0;if((b|0)==1){break j}if(c){break l}v[299999]=0;R(4338,f|0);b=v[299999];v[299999]=0;if((b|0)==1){break j}}m:{if(!v[d>>2]){break m}b=v[a+16>>2];n:{if(!b|!v[b+8>>2]){break n}Bi(e+24|0,g,0);b=v[e+24>>2];if(!b){ec(e+24|0);break n}b=v[b+8>>2];ec(e+24|0);if(!b){break n}if(!jj(g)){break n}b=v[294597];if(!b){break n}Ub[b|0](d,g,a+60|0,a+62|0)}if(!w[a+62|0]){break m}t[a+61|0]=1}if(v[d>>2]){break a}a=e+8|0;Bi(a,g,0);v[299999]=0;U(4423,e+16|0,358267,a|0);a=v[299999];v[299999]=0;o:{p:{q:{if((a|0)!=1){a=v[e+16>>2];a=v[(a?a+12|0:1129608)>>2];v[299999]=0;b=aa(4369,e+24|0,a|0,241010,207,341679,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break q}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}a=P()|0;O()|0;qc(b);break p}a=P()|0;O()|0;break o}a=P()|0;O()|0}ec(e+16|0)}ec(e+8|0);break c}a=P()|0;O()|0;Wk(i);break c}W(0)|0;O()|0;lc();L()}a=P()|0;O()|0;ec(e+24|0)}T(a|0)}L()}t[a+89|0]=1;b=a+96|0;if(v[b>>2]!=1){v[b>>2]=1}Wc(a+168|0,a);Ub[4692](a);Qb=e- -64|0}function p0a(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;j=Qb-16|0;Qb=j;v[j+8>>2]=c;v[j+12>>2]=a;c=ic(c,0,652);e=w[b+8|0];t[c+188|0]=e;a:{if(!e){break a}g=e&3;if(e-1>>>0>=3){e=e&252;h=c+192|0;i=b+12|0;while(1){v[h+(d<<2)>>2]=u[i+(d<<1)>>1];f=d|1;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];f=d|2;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];f=d|3;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];d=d+4|0;e=e-4|0;if(e){continue}break}}if(!g){break a}while(1){v[(c+(d<<2)|0)+192>>2]=u[((d<<1)+b|0)+12>>1];d=d+1|0;g=g-1|0;if(g){continue}break}}e=w[b+9|0];t[c+189|0]=e;b:{if(!e){break b}g=e&3;d=0;if(e-1>>>0>=3){e=e&252;h=c+248|0;i=b+40|0;while(1){v[h+(d<<2)>>2]=u[i+(d<<1)>>1];f=d|1;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];f=d|2;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];f=d|3;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];d=d+4|0;e=e-4|0;if(e){continue}break}}if(!g){break b}while(1){v[(c+(d<<2)|0)+248>>2]=u[((d<<1)+b|0)+40>>1];d=d+1|0;g=g-1|0;if(g){continue}break}}e=w[b+10|0];t[c+190|0]=e;c:{if(!e){break c}g=e&3;d=0;if(e-1>>>0>=3){e=e&252;h=c+288|0;i=b+60|0;while(1){v[h+(d<<2)>>2]=u[i+(d<<1)>>1];f=d|1;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];f=d|2;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];f=d|3;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];d=d+4|0;e=e-4|0;if(e){continue}break}}if(!g){break c}while(1){v[(c+(d<<2)|0)+288>>2]=u[((d<<1)+b|0)+60>>1];d=d+1|0;g=g-1|0;if(g){continue}break}}e=w[b+11|0];t[c+191|0]=e;d:{if(!e){break d}g=e&3;d=0;if(e-1>>>0>=3){e=e&252;h=c+344|0;i=b+88|0;while(1){v[h+(d<<2)>>2]=u[i+(d<<1)>>1];f=d|1;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];f=d|2;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];f=d|3;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];d=d+4|0;e=e-4|0;if(e){continue}break}}if(!g){break d}while(1){v[(c+(d<<2)|0)+344>>2]=u[((d<<1)+b|0)+88>>1];d=d+1|0;g=g-1|0;if(g){continue}break}}v[c+384>>2]=v[b+108>>2];v[c+388>>2]=v[b+112>>2];v[c+392>>2]=v[b+116>>2];v[c+396>>2]=x[b+120>>1];v[c+400>>2]=x[b+122>>1];e=w[b+124|0];t[c+404|0]=e;e:{if(!e){break e}g=e&3;d=0;if(e-1>>>0>=3){e=e&252;h=c+408|0;i=b+128|0;while(1){v[h+(d<<2)>>2]=u[i+(d<<1)>>1];f=d|1;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];f=d|2;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];f=d|3;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];d=d+4|0;e=e-4|0;if(e){continue}break}}if(!g){break e}while(1){v[(c+(d<<2)|0)+408>>2]=u[((d<<1)+b|0)+128>>1];d=d+1|0;g=g-1|0;if(g){continue}break}}e=w[b+125|0];t[c+405|0]=e;f:{if(!e){break f}g=e&3;d=0;if(e-1>>>0>=3){e=e&252;h=c+460|0;i=b+154|0;while(1){v[h+(d<<2)>>2]=u[i+(d<<1)>>1];f=d|1;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];f=d|2;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];f=d|3;v[h+(f<<2)>>2]=u[i+(f<<1)>>1];d=d+4|0;e=e-4|0;if(e){continue}break}}if(!g){break f}while(1){v[(c+(d<<2)|0)+460>>2]=u[((d<<1)+b|0)+154>>1];d=d+1|0;g=g-1|0;if(g){continue}break}}t[c+512|0]=w[b+126|0];v[c+520>>2]=v[b+4>>2];v[c+524>>2]=v[b+184>>2];b=v[b+180>>2];v[c+552>>2]=c;v[c+528>>2]=b;g:{h:{a=v[a+128>>2];d=v[a+60>>2];if((d|0)==-1){break h}v[c+648>>2]=d;if(!d){break h}while(1){b=d<<13^d;b=b>>>17^b;d=b<<5^b;if((d|0)<0){continue}break}v[a+60>>2]=d;break g}a=j+4^(j+8^j+12);a=a>>>10^a^a>>>20;v[c+648>>2]=a?a:29572}Qb=j+16|0}function rU(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=Qb-48|0;Qb=h;f=v[a+248>>2];a:{if((f|0)>=41){g=89;if(!(w[a+362|0]&8)|(f|0)>1024){break a}}if(d){v[d>>2]=0}if(!b){g=1;break a}i=kl(b);b:{if(!b|(i|0)<1){break b}f=PF();if(!f){break b}c:{d:{if(!b|(i|0)<1){break d}g=TF(0);if(!g){break d}v[g+8>>2]=0;v[g+4>>2]=2983;v[g>>2]=b;e=g;j=e;if(!Zi(v[e+16>>2],b,i)){break c}Ub[v[259708]](g)}j=0}e=j;if(!e){Wi(f);e=0;break b}b=Uy(f);if(!b){cm(e);Wi(f);e=0;break b}v[b>>2]=e;v[b+4>>2]=0;xV(v[e+16>>2],b);e:{f:{g=v[f+40>>2];e=v[f+44>>2];g:{if((g|0)<(e|0)){e=v[f+48>>2];break g}v[f+44>>2]=e<<1;e=Ub[v[259709]](v[f+48>>2],e<<3)|0;v[f+48>>2]=e;if(!e){break f}g=v[f+40>>2]}v[(g<<2)+e>>2]=b;v[f+40>>2]=g+1;v[f+36>>2]=b;break e}Qd(f,0);Sh(b);v[f+44>>2]=v[f+44>>2]/2}e=f}if(!e){g=27;break a}h:{if(c){v[e+4>>2]=c;break h}v[e+4>>2]=e}b=v[e+296>>2];if(b){Zm(b)}b=v[a+296>>2];v[e+296>>2]=b;m=e,n=Rd(b,258814,3),v[m+312>>2]=n;m=e,n=Rd(v[e+296>>2],235579,5),v[m+316>>2]=n;m=e,n=Rd(v[e+296>>2],286150,36),v[m+320>>2]=n;if(v[a+328>>2]>=1){b=0;while(1){c=v[a+336>>2];f=b<<2;wu(e,v[c+f>>2],v[c+(f|4)>>2]);b=b+2|0;if((b|0)>2]){continue}break}}f=v[e>>2];v[e>>2]=v[a>>2];xu(e);v[e+16>>2]=v[a+16>>2];v[e+360>>2]=v[a+360>>2];v[e+272>>2]=v[a+272>>2];b=v[a+8>>2];i:{if(!b){b=qo(335485);if(!b){v[e+296>>2]=0;v[e>>2]=f;Wi(e);g=1;break a}v[b+92>>2]=64;c=v[e+296>>2];v[b+80>>2]=c;aG(c);v[e+8>>2]=b;c=b;break i}v[e+8>>2]=b;k=v[b+16>>2];l=v[b+12>>2];c=0}g=Qy(b,227634);j:{if(!g){v[e+296>>2]=0;v[e>>2]=f;Wi(e);g=1;if(c){break j}break a}b=v[e+8>>2];v[b+12>>2]=0;v[b+16>>2]=0;$f(b,g);Au(e,v[v[e+8>>2]+12>>2]);v[e+172>>2]=7;b=v[a+248>>2];v[e+104>>2]=0;v[e+248>>2]=b+1;b=v[a+276>>2];v[e+276>>2]=b;if(v[a+16>>2]?1:v[a+104>>2]){v[e+276>>2]=b|8}v[e+364>>2]=v[a+364>>2];v[e+348>>2]=v[a+348>>2];v[e+352>>2]=v[a+352>>2];Ay(e);b=v[v[e+36>>2]+16>>2];g=w[b|0];k:{if(!g){break k}l:{if(!((g|0)!=60|w[b+1|0]!=47)){if(v[e+172>>2]==-1?v[e+212>>2]:0){break k}v[e+84>>2]=85;v[h+32>>2]=292175;oc(0,0,0,e,0,1,85,3,0,0,0,0,350078,h+32|0);v[e+12>>2]=0;if(v[e+288>>2]){break k}b=e+212|0;break l}if(v[e+172>>2]==-1?v[e+212>>2]:0){break k}v[e+84>>2]=86;v[h+16>>2]=262450;oc(0,0,0,e,0,1,86,3,0,0,0,0,350078,h+16|0);v[e+12>>2]=0;if(v[e+288>>2]){break k}b=e+212|0}v[b>>2]=1}m:{if(v[e+52>>2]==v[v[e+8>>2]+12>>2]|(v[e+172>>2]==-1?v[e+212>>2]:0)){break m}v[e+84>>2]=85;v[h>>2]=292175;oc(0,0,0,e,0,1,85,3,0,0,0,0,350078,h);v[e+12>>2]=0;if(v[e+288>>2]){break m}v[e+212>>2]=1}n:{o:{p:{q:{if(!v[e+12>>2]){b=v[e+84>>2];g=b?b:1;break q}if(!d){g=0;break q}b=v[v[v[e+8>>2]+12>>2]+12>>2];v[d>>2]=b;if(b){while(1){v[b+20>>2]=0;b=v[b+24>>2];if(b){continue}break}}g=0;b=v[v[e+8>>2]+12>>2];v[b+12>>2]=0;break p}b=v[e+8>>2];if(!b){break o}b=v[b+12>>2]}pk(b);b=v[e+8>>2];v[b+16>>2]=k;v[b+12>>2]=l;if(!a){break n}}v[a+440>>2]=v[a+440>>2]+v[e+440>>2]}if(v[e+388>>2]){ZF(e+384|0,a+384|0)}v[e+348>>2]=0;v[e+352>>2]=0;v[e+296>>2]=0;v[e>>2]=f;Wi(e);if(!c){break a}}$p(c)}Qb=h+48|0;return g}function g5(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=C(0),l=C(0),m=0;d=Qb-144|0;Qb=d;e=v[a+584>>2];dw(a,1,0);a:{b:{if(e){if(v[e+16>>2]){break b}v[e+36>>2]=1;v[e+40>>2]=0;b=jc(40);v[b>>2]=0;b=Ue(e+624|0,1,b,4);i=O()|0;c:{while(1){if(g){break c}v[299999]=0;R(43,e|0);g=v[299999];v[299999]=0;c=-1;d:{if(!g){break d}h=v[3e5];if(!h){break d}c=sc(v[g>>2],b,i);if(!c){dc(b);sd(g,h);L()}_(h|0)}g=O()|0;if((c|0)==1){continue}break}f=1}dc(b);e:{if(!f){break e}b=x[a+90>>1];u[e+832>>1]=b;f:{g:{switch(b-3|0){case 3:u[e+834>>1]=x[a+204>>1];u[e+836>>1]=x[a+206>>1];v[d+80>>2]=d+140;if(Kd(a,532,d+80|0)){break f}b=x[a+84>>1];v[d+112>>2]=0;b=1<>2]=k;l=C(b>>1);z[d+128>>2]=l;z[d+124>>2]=k;z[d+120>>2]=l;z[d+116>>2]=k;v[d+64>>2]=d+112;Id(a,532,d- -64|0);break f;case 0:case 1:a=v[a+628>>2];v[d+96>>2]=b;zc(a,88112,49139,d+96|0);break e;default:break g}}u[e+834>>1]=1;u[e+836>>1]=1}b=x[a+84>>1];if((b|0)!=8){a=v[a+628>>2];v[d+48>>2]=b;zc(a,88112,49583,d+48|0);break e}v[e+72>>2]=8;h:{if(w[a+13|0]&4){b=x[e+836>>1]<<3;if(y[a+72>>2]%(b>>>0)|0){a=v[a+628>>2];v[d+32>>2]=b;zc(a,88112,49893,d+32|0);break e}b=x[e+834>>1]<<3;if(!(y[a+68>>2]%(b>>>0)|0)){break h}a=v[a+628>>2];v[d+16>>2]=b;zc(a,88112,50473,d+16|0);break e}b=v[a+100>>2];if(b>>>0>=y[a+60>>2]){break h}j=b;b=x[e+836>>1]<<3;if(!((j>>>0)%(b>>>0)|0)){break h}a=v[a+628>>2];v[d>>2]=b;zc(a,88112,51081,d);break e}i:{if(w[e+928|0]&3){b=v[e+912>>2];if(w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24)|(w[b+4|0]|w[b+5|0]<<8|(w[b+6|0]<<16|w[b+7|0]<<24))?b:0){break i}b=v[a+584>>2];dw(a,0,0);if(!HK(b,v[b+920>>2])){break e}c=0;i=0;f=jc(40);v[f>>2]=0;g=Ue(b+624|0,1,f,4);j=O()|0;j:{while(1){if(c){break j}v[299999]=0;IG(b,1);h=v[299999];v[299999]=0;f=-1;k:{if(!h){break k}c=v[3e5];if(!c){break k}f=sc(v[h>>2],g,j);if(!f){break a}_(c|0)}c=O()|0;if((f|0)==1){continue}break}i=1}dc(g);if(!i){break e}c=v[b+928>>2];l:{if(!(c&1)){break l}f=v[b+88>>2];if(f){v[f+128>>2]=0}if(x[b+832>>1]!=6){break l}f=v[b+92>>2];if(!f){break l}v[f+128>>2]=0}m:{if(!(c&2)){break m}c=v[b+120>>2];if(c){v[c+276>>2]=0}c=v[b+136>>2];if(c){v[c+276>>2]=0}if(x[b+832>>1]!=6){break m}c=v[b+124>>2];if(c){v[c+276>>2]=0}c=v[b+140>>2];if(!c){break m}v[c+276>>2]=0}c=v[b+912>>2];if(c){dc(c)}v[b+916>>2]=1e3;c=jc(1e3);v[b+912>>2]=c;if(!c){v[b+916>>2]=0;zc(v[v[b+828>>2]+628>>2],51766,52160,0);break e}v[b+796>>2]=537;v[b+792>>2]=538;v[b+788>>2]=539;v[b+24>>2]=b+780;c=0;i=0;f=jc(40);v[f>>2]=0;g=Ue(b+624|0,1,f,4);j=O()|0;n:{while(1){if(c){break n}v[299999]=0;R(545,b|0);h=v[299999];v[299999]=0;f=-1;o:{if(!h){break o}c=v[3e5];if(!c){break o}f=sc(v[h>>2],g,j);if(!f){break a}_(c|0)}c=O()|0;if((f|0)==1){continue}break}i=1}dc(g);if(!i){break e}v[a+12>>2]=v[a+12>>2]|8;v[a+48>>2]=v[a+48>>2]|4;break i}v[a+48>>2]=v[a+48>>2]&-5}v[e+796>>2]=540;v[e+792>>2]=541;v[e+788>>2]=542;v[e+24>>2]=e+780;m=1}Qb=d+144|0;return m|0}X(29012,7121,1172,88112);L()}X(48344,7121,1173,88112);L()}dc(g);sd(h,c);L()}function USa(a,b,c){a=a|0;b=b|0;c=c|0;var d=C(0),e=0,f=0,g=0,h=0,i=0,j=C(0),k=0,l=C(0);e=gc(a+8|0,b,80);f=a+88|0;Oz(f,b+80|0);z[a+244>>2]=C(1)/z[a+52>>2];b=v[f>>2];if((b|0)==4){pY(a,0);b=v[a+88>>2]}if((b|0)==3){pY(a,1);b=v[a+88>>2]}a:{b:{c:{if((b|0)!=1){break c}d:{e:{f:{switch(c-5|0){case 0:c=fc(288);v[299999]=0;b=Q(2452,c|0,e|0)|0;e=v[299999];v[299999]=0;if((e|0)!=1){break d}a=P()|0;O()|0;break a;case 1:b=fc(276);h=A[a+256>>3];d=z[a+264>>2];i=A[a+248>>3];v[b>>2]=465952;gc(b+12|0,e,80);v[299999]=0;Q(2453,b+92|0,f|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}z[b+256>>2]=d;d=C(C(1)/d);z[b+260>>2]=d;z[b+264>>2]=C(1)/z[a+56>>2];j=z[a+60>>2];z[b+248>>2]=C(d*z[b+44>>2])+C(i);z[b+252>>2]=C(d*z[b+48>>2])+C(h);d=z[b+52>>2];k=b,l=JN(d),z[k+8>>2]=l;k=b,l=LN(d),z[k+4>>2]=l;z[b+268>>2]=C(1)/j;break d;case 2:b=fc(272);h=A[a+256>>3];d=z[a+264>>2];i=A[a+248>>3];v[b>>2]=466004;gc(b+12|0,e,80);v[299999]=0;Q(2453,b+92|0,f|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){z[b+256>>2]=d;d=C(C(1)/d);z[b+260>>2]=d;z[b+264>>2]=C(1)/z[a+56>>2];j=z[a+60>>2];z[b+248>>2]=C(d*z[b+44>>2])+C(i);z[b+252>>2]=C(d*z[b+48>>2])+C(h);d=z[b+52>>2];k=b,l=JN(d),z[k+8>>2]=l;k=b,l=LN(d),z[k+4>>2]=l;z[b+268>>2]=C(1)/j;break d}break b;case 3:b=fc(284);v[b+12>>2]=0;v[b+16>>2]=0;v[b>>2]=466056;v[b+20>>2]=0;v[b+24>>2]=0;gc(b+48|0,e,80);v[299999]=0;Q(2453,b+128|0,f|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){c=v[a+160>>2];v[b+12>>2]=v[a+156>>2];v[b+16>>2]=c;c=v[a+168>>2];v[b+20>>2]=v[a+164>>2];v[b+24>>2]=c;break d}break b;case 4:c=fc(248);v[c>>2]=466112;b=c;v[b+12>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+44>>2]=0;v[b+48>>2]=0;v[b+36>>2]=0;v[b+40>>2]=1065353216;v[b+52>>2]=0;v[b+56>>2]=0;v[b+96>>2]=1;v[b+88>>2]=0;v[b+92>>2]=1;v[b+80>>2]=0;v[b+84>>2]=0;v[b+72>>2]=1056964608;v[b+76>>2]=1065353216;u[b+68>>1]=0;v[b+60>>2]=1065353216;v[b+64>>2]=1065353216;v[b+100>>2]=0;v[b+104>>2]=0;v[b+108>>2]=0;v[b+112>>2]=0;v[b+116>>2]=0;v[b+120>>2]=0;v[b+132>>2]=0;v[b+136>>2]=0;v[b+140>>2]=0;v[b+144>>2]=0;v[b+148>>2]=0;v[b+152>>2]=0;v[299999]=0;b=S(1,24)|0;g=v[299999];v[299999]=0;if((g|0)!=1){g=b+24|0;v[c+152>>2]=g;v[c+144>>2]=b;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=0;v[b+4>>2]=0;v[c+148>>2]=g;ic(c+160|0,0,88);gc(c+12|0,e,80);v[299999]=0;b=c+92|0;Q(2454,b|0,f|0)|0;e=v[299999];v[299999]=0;if((e|0)!=1){break e}a=P()|0;O()|0;Ne(b);break a}a=P()|0;O()|0;break a;case 5:c=fc(284);v[299999]=0;b=Y(2455,c|0,e|0,1)|0;e=v[299999];v[299999]=0;if((e|0)!=1){break d}a=P()|0;O()|0;break a;case 6:c=fc(284);v[299999]=0;b=Y(2455,c|0,e|0,0)|0;e=v[299999];v[299999]=0;if((e|0)!=1){break d}a=P()|0;O()|0;break a;default:break f}}if((c|0)==100){break c}Rc(321326,16,1,v[252391]);c=fc(12);v[c>>2]=466220;v[299999]=0;b=S(2456,0)|0;e=v[299999];v[299999]=0;if((e|0)!=1){v[299999]=0;v[299450]=b-1;v[299451]=0;b=v[299999];v[299999]=0;if((b|0)!=1){break e}}a=P()|0;O()|0;break a}b=c}v[a+268>>2]=b}return}a=P()|0;O()|0;c=b}dc(c);T(a|0);L()}function w0(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;b=Qb-256|0;Qb=b;a:{if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,v[252391]);break a}u[a+25204>>1]=18761;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+252|0,4,1)|0;v[b+176>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+176|0,1,4)|0;c=w[b+176|0];if(x[a+25204>>1]==18761){c=c|w[b+177|0]<<8|w[b+178|0]<<16|w[b+179|0]<<24}else{c=w[b+179|0]|(w[b+177|0]<<16|c<<24|w[b+178|0]<<8)}d=(Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0)+c|0;e=w[b+252|0]|w[b+253|0]<<8|(w[b+254|0]<<16|w[b+255|0]<<24);if(!((e|0)!=1179011410&(e|0)!=1414744396)){v[b+176>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+176|0,1,4)|0;if((d|0)<=((Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0)+7|0)){break a}while(1){w0(a);if((d|0)>((Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0)+7|0)){continue}break}break a}if((w[b+252|0]|w[b+253|0]<<8|(w[b+254|0]<<16|w[b+255|0]<<24))==1735680878){if((d|0)<=((Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0)+7|0)){break a}e=b+176|4;g=b+184|0;h=b+188|0;i=b+192|0;j=b+196|0;while(1){u[b+176>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+176|0,1,2)|0;c=w[b+176|0];if(x[a+25204>>1]==18761){c=c|w[b+177|0]<<8}else{c=w[b+177|0]|c<<8}u[b+176>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+176|0,1,2)|0;f=c&65535;c=w[b+176|0];f=(f+1&131070)!=20;if(x[a+25204>>1]==18761){c=c|w[b+177|0]<<8}else{c=w[b+177|0]|c<<8}b:{if(!(f|(c&65535)!=20)){t[b+131|0]=0;c=b+112|0;Ub[v[v[a>>2]>>2]](v[a+4>>2],c,19,1)|0;v[b+216>>2]=0;v[b+208>>2]=0;v[b+212>>2]=0;v[b+200>>2]=0;v[b+204>>2]=0;v[b+192>>2]=0;v[b+196>>2]=0;v[b+184>>2]=0;v[b+188>>2]=0;v[b+16>>2]=e;v[b+176>>2]=0;v[b+180>>2]=0;v[b>>2]=j;v[b+4>>2]=i;v[b+8>>2]=h;v[b+12>>2]=g;v[b+20>>2]=b+176;if((ef(c,64727,b)|0)!=6){break b}v[b+196>>2]=v[b+196>>2]-1900;v[b+192>>2]=v[b+192>>2]-1;if((oa(b+176|0)|0)<1){break b}k=a,l=oa(b+176|0)|0,v[k+26016>>2]=l;break b}Ub[v[v[a>>2]+8>>2]](v[a+4>>2],c&65535,1)|0}if((d|0)>((Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0)+7|0)){continue}break}break a}d=v[a>>2];c:{d:{if(!((w[b+252|0]|w[b+253|0]<<8|(w[b+254|0]<<16|w[b+255|0]<<24))!=1414087753|c>>>0>63)){e=b+176|0;Ub[v[d>>2]](v[a+4>>2],e,64,1)|0;d=0;t[c+e|0]=0;c=b+72|0;v[c>>2]=0;v[c+4>>2]=0;v[b+80>>2]=0;v[b+84>>2]=0;v[b+88>>2]=0;v[b+92>>2]=0;v[b+96>>2]=0;v[b+100>>2]=0;v[b+104>>2]=0;v[b+52>>2]=b+84;v[b+64>>2]=0;v[b+68>>2]=0;v[b+36>>2]=b+76;v[b+40>>2]=c;c=b- -64|0;v[b+44>>2]=c|4;v[b+48>>2]=c;v[b+32>>2]=b+112;if((ef(e,81048,b+32|0)|0)!=6){break a}if(!yi(199456,b+112|0)){break c}if(yi(199460,b+112|0)){break d}d=1;break c}Ub[v[d+8>>2]](v[a+4>>2],c,1)|0;break a}if(!yi(199464,b+112|0)){d=2;break c}if(!yi(199468,b+112|0)){d=3;break c}if(!yi(199472,b+112|0)){d=4;break c}if(!yi(199476,b+112|0)){d=5;break c}if(!yi(199480,b+112|0)){d=6;break c}if(!yi(199484,b+112|0)){d=7;break c}if(!yi(199488,b+112|0)){d=8;break c}if(!yi(199492,b+112|0)){d=9;break c}if(!yi(199496,b+112|0)){d=10;break c}d=yi(199500,b+112|0)?12:11}v[b+80>>2]=d;v[b+84>>2]=v[b+84>>2]-1900;if((oa(b- -64|0)|0)<1){break a}k=a,l=oa(b- -64|0)|0,v[k+26016>>2]=l}Qb=b+256|0}function S9a(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;a:{if(!(w[a+285|0]|w[a+286|0]|(w[a+287|0]|w[a+288|0]))){f=1029;break a}f=1029;if(w[a+300|0]|w[a+289|0]){break a}if(!(w[a+287|0]|!w[a+293|0])){f=1031;break a}f=1028;if((c>>>0)%3|c>>>0>768){break a}b:{c:{d:{e:{f:{g:{g=w[a+286|0];if(w[a+288|0]?1:g|w[a+287|0]){f=1030;h=w[a+325|0];if(h>>>0>6|!(1<>>0)/3|0;v[a+332>>2]=h;if(w[a+288|0]){break d}v[a+1160>>2]=h;i:{if(f>>>0<3){break i}g=0;f=d;if((c-3&65535)>>>0>=3){i=h&32766;j=a+1164|0;while(1){l=j+B(g,3)|0;t[l|0]=w[f|0];t[l+1|0]=w[f+1|0];t[l+2|0]=w[f+2|0];l=j+B(g|1,3)|0;t[l|0]=w[f+3|0];t[l+1|0]=w[f+4|0];t[l+2|0]=w[f+5|0];g=g+2|0;f=f+6|0;i=i-2|0;if(i){continue}break}}if(!(h&1)){break i}g=B(g,3)+a|0;t[g+1164|0]=w[f|0];t[g+1165|0]=w[f+1|0];t[g+1166|0]=w[f+2|0]}g=0;j:{if(!w[a+114|0]){break j}i=a+1164|0;f=Ub[v[a+152>>2]](800)|0;if(!f){pc(a,1,0,0);g=1;break j}v[f+4>>2]=697;v[f>>2]=698;g=v[a+700>>2];k:{if(g){v[g+8>>2]=f;break k}v[a+696>>2]=f}v[f+8>>2]=0;v[f+12>>2]=g;v[a+700>>2]=f;v[f+16>>2]=v[a+436>>2];v[f+20>>2]=v[a+440>>2];v[f+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=f}v[f+28>>2]=h;gc(f+32|0,i,768);g=0}if(!g){break c}break b}t[a+293|0]=1;h=((c&65535)>>>0)/3|0;v[a+332>>2]=h}if(w[a+288|0]){j=v[v[a+528>>2]+88>>2];v[j+64>>2]=h;t[j+55|0]=1;if(!h){h=0;break c}g=0;f=d;if((h|0)!=1){i=h&32766;l=j+68|0;while(1){k=l+B(g,3)|0;t[k|0]=w[f|0];t[k+1|0]=w[f+1|0];t[k+2|0]=w[f+2|0];k=l+B(g|1,3)|0;t[k|0]=w[f+3|0];t[k+1|0]=w[f+4|0];t[k+2|0]=w[f+5|0];g=g+2|0;f=f+6|0;i=i-2|0;if(i){continue}break}}if(!(h&1)){break c}g=j+B(g,3)|0;t[g+68|0]=w[f|0];t[g+69|0]=w[f+1|0];t[g+70|0]=w[f+2|0];break c}f=v[a+512>>2];if(!f){f=v[a+528>>2]}j=v[f+88>>2];t[j+55|0]=1;if(!c){i=v[a+1160>>2];v[j+64>>2]=i;gc(j+68|0,a+1164|0,768);if(!w[a+307|0]){break c}t[j+56|0]=1;f=1035;g=v[a+1932>>2];if(!g|g>>>0>i>>>0){break a}v[j+844>>2]=g;gc(j+848|0,a+1936|0,g);break c}v[j+64>>2]=h;if(!h){h=0;break c}g=0;f=d;if((h|0)!=1){i=h&32766;l=j+68|0;while(1){k=l+B(g,3)|0;t[k|0]=w[f|0];t[k+1|0]=w[f+1|0];t[k+2|0]=w[f+2|0];k=l+B(g|1,3)|0;t[k|0]=w[f+3|0];t[k+1|0]=w[f+4|0];t[k+2|0]=w[f+5|0];g=g+2|0;f=f+6|0;i=i-2|0;if(i){continue}break}}if(!(h&1)){break c}g=j+B(g,3)|0;t[g+68|0]=w[f|0];t[g+69|0]=w[f+1|0];t[g+70|0]=w[f+2|0]}g=0;if(!w[a+112|0]){break b}g=Ub[v[b+4>>2]](a,b,e)|0;if(g){break b}b=v[e>>2];v[b+36>>2]=h;t[b+32|0]=!c;g=0;if(!h){break b}i=h&1;l:{if((h|0)==1){a=0;break l}c=h&32766;a=0;e=b+40|0;while(1){f=e+B(a,3)|0;t[f|0]=w[d|0];t[f+1|0]=w[d+1|0];t[f+2|0]=w[d+2|0];f=e+B(a|1,3)|0;t[f|0]=w[d+3|0];t[f+1|0]=w[d+4|0];t[f+2|0]=w[d+5|0];a=a+2|0;d=d+6|0;c=c-2|0;if(c){continue}break}}if(!i){break b}a=b+B(a,3)|0;t[a+40|0]=w[d|0];t[a+41|0]=w[d+1|0];t[a+42|0]=w[d+2|0]}return g|0}pc(a,f,0,0);return f|0}function s_(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;j=Qb-16|0;Qb=j;g=v[a+72>>2];m=v[a+64>>2];i=v[a+68>>2];a:{if(!c){break a}b:{c:{d:{e:{f:{g:{switch(v[a>>2]){case 0:if(Yc(v[a+164>>2],2)){break f}if((RH(v[a+164>>2],j+12|0,1)|0)!=1){break f}e=w[j+12|0];v[a+44>>2]=e&128;k=e&31;v[a+40>>2]=k;f=1<>2]=f-256;if(k>>>0>16){break f}v[a+52>>2]=9;v[a+56>>2]=e>>>7;v[a+60>>2]=k>>>0>9?256:f-255|0;g=0;f=MH(a);if(f>>>0>255){break f}if(b){t[b|0]=f}if(c>>>0<2){break e}k=1;v[a>>2]=1;i=f;m=f;break;case 2:break d;case 1:break g;default:break a}}e=0;break c}f=0;break b}e=1;i=f;m=f;break a}e=1}while(1){h:{if(!e){e=MH(a);f=k;if((e|0)<0){break b}i:{j:{k:{while(1){if((e|0)!=256){break k}if(!v[a+44>>2]){break j}t[a+32|0]=1;m=0;v[a+56>>2]=0;i=0;e=MH(a);if((e|0)>=0){continue}break}f=k;break b}f=e;if(e>>>0<256){break i}}f=e;d=e-256|0;g=v[a+56>>2];if(d>>>0>=g>>>0){if(d>>>0>g>>>0){break h}d=v[a+92>>2];g=v[a+96>>2];l:{if(d>>>0>>0){g=v[a+88>>2];break l}f=((g>>>1|0)+g|0)+4|0;l=v[a+168>>2];m:{n:{h=v[a+88>>2];if((h|0)!=(a+100|0)){d=65536;if(f>>>0>65536){break n}d=f;break m}h=0;v[a+88>>2]=0;d=f>>>0<65536?f:65536;g=0;break m}if((g|0)==65536){break h}}g=Cc(l,1,g,d,h,j+12|0);v[a+88>>2]=g;if(v[j+12>>2]){break h}v[a+96>>2]=d;d=v[a+92>>2]}v[a+92>>2]=d+1;t[d+g|0]=i;f=m;if(f>>>0<256){break i}}l=a+100|0;d=v[a+76>>2];while(1){if(!d){break h}d=v[a+92>>2];g=v[a+96>>2];o:{if(d>>>0>>0){g=v[a+88>>2];break o}d=((g>>>1|0)+g|0)+4|0;n=v[a+168>>2];h=v[a+88>>2];p:{if((l|0)!=(h|0)){if(d>>>0<=65536){break p}d=65536;if((g|0)==65536){break h}break p}h=0;v[a+88>>2]=0;d=d>>>0<65536?d:65536;g=0}g=Cc(n,1,g,d,h,j+12|0);v[a+88>>2]=g;if(v[j+12>>2]){break h}v[a+96>>2]=d;d=v[a+92>>2]}f=f-256|0;h=w[f+v[a+80>>2]|0];v[a+92>>2]=d+1;t[d+g|0]=h;d=v[a+76>>2];f=x[d+(f<<1)>>1];if(f>>>0>255){continue}break}}d=v[a+92>>2];i=v[a+96>>2];q:{if(d>>>0>>0){i=v[a+88>>2];break q}g=((i>>>1|0)+i|0)+4|0;l=v[a+168>>2];r:{s:{t:{u:{h=v[a+88>>2];if((h|0)!=(a+100|0)){d=65536;if(g>>>0>65536){break u}d=g;break t}h=0;v[a+88>>2]=0;d=g>>>0<65536?g:65536;i=0;break t}if((i|0)==65536){break s}}i=Cc(l,1,i,d,h,j+12|0);v[a+88>>2]=i;if(!v[j+12>>2]){break r}}i=f;break h}v[a+96>>2]=d;d=v[a+92>>2]}v[a+92>>2]=d+1;t[d+i|0]=f;v[a>>2]=2;i=f;g=e;d=k;e=1;continue}v:{if(b){while(1){e=v[a+92>>2];if(!e){break v}e=e-1|0;v[a+92>>2]=e;t[b+d|0]=w[e+v[a+88>>2]|0];d=d+1|0;if((d|0)!=(c|0)){continue}break}e=c;break a}e=v[a+92>>2];while(1){if(!e){break v}e=e-1|0;v[a+92>>2]=e;d=d+1|0;if((d|0)!=(c|0)){continue}break}e=c;break a}k=d;e=v[a+56>>2];if(e>>>0>2]){h=v[a+84>>2];if(h>>>0<=e>>>0){e=h?h+(h>>>2|0)|0:512;l=Cc(v[a+168>>2],3,h,e,v[a+76>>2],j+12|0);v[a+76>>2]=l;f=k;if(v[j+12>>2]){break b}f=l+(e<<1)|0;v[a+80>>2]=f;Wd(f,l+(h<<1)|0,h);v[a+84>>2]=e;e=v[a+56>>2]}u[v[a+76>>2]+(e<<1)>>1]=m;t[v[a+80>>2]+e|0]=i;v[a+56>>2]=v[a+56>>2]+1}v[a>>2]=1;m=g;e=0;continue}break}g=e;f=k}e=f;v[a>>2]=3}v[a+72>>2]=g;v[a+68>>2]=i;v[a+64>>2]=m;Qb=j+16|0;return e}function IPa(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,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,z=0;m=v[a+332>>2];b=v[b+84>>2];g=B(v[b+64>>2],u[c+32>>1]);f=B(v[b+96>>2],u[c+48>>1]);i=B(v[b+32>>2],u[c+16>>1]);h=B(f+i|0,4433)+1024|0;a=Qb-128|0;j=B(v[b>>2],u[c>>1]);k=j+g<<2;i=h+B(i,6270)>>11;v[a+96>>2]=k-i;v[a>>2]=i+k;g=j-g<<2;h=h+B(f,-15137)>>11;v[a+64>>2]=g-h;v[a+32>>2]=g+h;h=B(v[b+100>>2],u[c+50>>1]);f=B(v[b+36>>2],u[c+18>>1]);g=B(h+f|0,4433)+1024|0;i=B(v[b+68>>2],u[c+34>>1]);j=B(v[b+4>>2],u[c+2>>1]);k=i+j<<2;f=g+B(f,6270)>>11;v[a+100>>2]=k-f;v[a+4>>2]=f+k;f=j-i<<2;g=g+B(h,-15137)>>11;v[a+68>>2]=f-g;v[a+36>>2]=f+g;h=B(v[b+104>>2],u[c+52>>1]);f=B(v[b+40>>2],u[c+20>>1]);g=B(h+f|0,4433)+1024|0;i=B(v[b+72>>2],u[c+36>>1]);j=B(v[b+8>>2],u[c+4>>1]);k=i+j<<2;f=g+B(f,6270)>>11;v[a+104>>2]=k-f;v[a+8>>2]=f+k;f=j-i<<2;g=g+B(h,-15137)>>11;v[a+72>>2]=f-g;v[a+40>>2]=f+g;h=B(v[b+108>>2],u[c+54>>1]);f=B(v[b+44>>2],u[c+22>>1]);g=B(h+f|0,4433)+1024|0;i=B(v[b+76>>2],u[c+38>>1]);j=B(v[b+12>>2],u[c+6>>1]);k=i+j<<2;f=g+B(f,6270)>>11;v[a+108>>2]=k-f;v[a+12>>2]=f+k;f=j-i<<2;g=g+B(h,-15137)>>11;v[a+76>>2]=f-g;v[a+44>>2]=f+g;h=B(v[b+112>>2],u[c+56>>1]);f=B(v[b+48>>2],u[c+24>>1]);g=B(h+f|0,4433)+1024|0;i=B(v[b+80>>2],u[c+40>>1]);j=B(v[b+16>>2],u[c+8>>1]);k=i+j<<2;f=g+B(f,6270)>>11;v[a+112>>2]=k-f;v[a+16>>2]=f+k;f=j-i<<2;g=g+B(h,-15137)>>11;v[a+80>>2]=f-g;v[a+48>>2]=f+g;h=B(v[b+116>>2],u[c+58>>1]);f=B(v[b+52>>2],u[c+26>>1]);g=B(h+f|0,4433)+1024|0;i=B(v[b+84>>2],u[c+42>>1]);j=B(v[b+20>>2],u[c+10>>1]);k=i+j<<2;f=g+B(f,6270)>>11;v[a+116>>2]=k-f;v[a+20>>2]=f+k;f=j-i<<2;g=g+B(h,-15137)>>11;v[a+84>>2]=f-g;v[a+52>>2]=f+g;h=B(v[b+120>>2],u[c+60>>1]);f=B(v[b+56>>2],u[c+28>>1]);g=B(h+f|0,4433)+1024|0;i=B(v[b+88>>2],u[c+44>>1]);j=B(v[b+24>>2],u[c+12>>1]);k=i+j<<2;f=g+B(f,6270)>>11;v[a+120>>2]=k-f;v[a+24>>2]=f+k;f=j-i<<2;g=g+B(h,-15137)>>11;v[a+88>>2]=f-g;v[a+56>>2]=f+g;h=B(v[b+124>>2],u[c+62>>1]);f=B(v[b+60>>2],u[c+30>>1]);g=B(h+f|0,4433)+1024|0;i=B(v[b+92>>2],u[c+46>>1]);b=B(v[b+28>>2],u[c+14>>1]);c=i+b<<2;f=g+B(f,6270)>>11;v[a+124>>2]=c-f;v[a+28>>2]=c+f;b=b-i<<2;c=g+B(h,-15137)>>11;v[a+92>>2]=b-c;v[a+60>>2]=b+c;b=m+128|0;g=0;c=a;while(1){h=v[c+4>>2];m=v[c+28>>2];f=B(h+m|0,-7373);i=v[c+20>>2];l=i+h|0;j=v[c+12>>2];n=j+m|0;k=B(l+n|0,9633);a=v[(g<<2)+d>>2]+e|0;o=v[c>>2]+16|0;p=v[c+16>>2];r=o+p<<13;s=v[c+24>>2];q=v[c+8>>2];x=B(s+q|0,4433);q=x+B(q,6270)|0;y=r+q|0;z=f+B(h,12299)|0;h=k+B(l,-3196)|0;l=z+h|0;t[a|0]=w[b+(y+l>>>18&1023)|0];t[a+7|0]=w[b+(y-l>>>18&1023)|0];k=k+B(n,-16069)|0;l=B(j,25172);j=B(i+j|0,-20995);l=k+(l+j|0)|0;n=o-p<<13;o=B(s,-15137)+x|0;p=n+o|0;t[a+1|0]=w[b+(l+p>>>18&1023)|0];t[a+6|0]=w[b+(p-l>>>18&1023)|0];h=h+(j+B(i,16819)|0)|0;i=n-o|0;t[a+2|0]=w[b+(h+i>>>18&1023)|0];t[a+5|0]=w[b+(i-h>>>18&1023)|0];h=k+(f+B(m,2446)|0)|0;m=r-q|0;t[a+3|0]=w[b+(h+m>>>18&1023)|0];t[a+4|0]=w[b+(m-h>>>18&1023)|0];c=c+32|0;g=g+1|0;if((g|0)!=4){continue}break}}function iA(a){var 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;if(!a){return 0}m=v[a+12>>2];d=m>>31;o=v[a+8>>2];c=o>>31;k=v[a+4>>2];b=k>>31;e=v[a>>2];a=e>>31;i=d^d+m;j=c^c+o;h=b^b+k;g=a^a+e;a=(g|0)>0?g:0;a=(a|0)<(h|0)?h:a;a=(a|0)<(j|0)?j:a;a=(a|0)<(i|0)?i:a;a:{b:{if((a|0)<23171){break b}c:{if(a>>>0<=65535){l=((a<<16|11584)>>>0)/23170|0;break c}l=2147483647;if(a>>>0>1518469119){break c}b=a<<16|11585;d=a>>>16|0;a=E(d);c=32-a|0;d=b>>>c|d<>>0)/23170|0;d=B(l,-23170)+d|0;a=b<>>31;d=(b>>>0<23170?0:-23170)+b|0;l=l<<1|b>>>0>23169;a=a<<1;c=c-1|0;if(c){continue}break}}a=l>>31;a=a+l^a;if(a){d=e?(g|0)!=2147483647?g:2147483647:2147483647;d=k?(d|0)>(h|0)?h:d:d;d=o?(d|0)>(j|0)?j:d:d;p=m?(d|0)>(i|0)?i:d:d;d=p>>31;q=a>>>17^65535;c=d^d+p;d:{if(q>>>0>=c>>>0){d=((c<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break d}d=2147483647;b=a>>>1|0;n=b+(c<<16)|0;c=(c>>>16|0)+(b>>>0>n>>>0)|0;if(c>>>0>=a>>>0){break d}r=E(c);f=32-r|0;c=n>>>f|c<>>0)/(a>>>0)|0;b=c-B(a,d)|0;c=n<>>31;b=n-(a>>>0>n>>>0?0:a)|0;d=d<<1|a>>>0<=n>>>0;c=c<<1;f=f-1|0;if(f){continue}break}}b=0;if(!((p|0)<0^(l|0)<0?0-d|0:d)){break a}e:{if(g>>>0<=q>>>0){d=((g<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break e}d=2147483647;b=a>>>1|0;c=b+(g<<16)|0;b=(g>>>16|0)+(c>>>0>>0)|0;if(b>>>0>=a>>>0){break e}g=E(b);f=32-g|0;b=c>>>f|b<>>0)/(a>>>0)|0;b=b-B(a,d)|0;c=c<>>31;b=g-(a>>>0>g>>>0?0:a)|0;d=d<<1|a>>>0<=g>>>0;c=c<<1;f=f-1|0;if(f){continue}break}}g=(l|0)<0;n=(e|0)<0;f:{if(h>>>0<=q>>>0){f=((h<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break f}f=2147483647;b=a>>>1|0;c=b+(h<<16)|0;e=(h>>>16|0)+(c>>>0>>0)|0;if(e>>>0>=a>>>0){break f}h=E(e);b=32-h|0;e=c>>>b|e<>>0)/(a>>>0)|0;e=e-B(a,f)|0;c=c<>>31;e=h-(a>>>0>h>>>0?0:a)|0;f=f<<1|a>>>0<=h>>>0;c=c<<1;b=b-1|0;if(b){continue}break}}h=g^n;g=0-d|0;n=(k|0)<0^(l|0)<0;p=0-f|0;g:{if(j>>>0<=q>>>0){b=((j<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break g}b=2147483647;e=a>>>1|0;c=e+(j<<16)|0;e=(j>>>16|0)+(c>>>0>>0)|0;if(e>>>0>=a>>>0){break g}j=E(e);k=32-j|0;e=c>>>k|e<>>0)/(a>>>0)|0;e=e-B(a,b)|0;c=c<>>31;e=j-(a>>>0>j>>>0?0:a)|0;b=b<<1|a>>>0<=j>>>0;c=c<<1;k=k-1|0;if(k){continue}break}}e=h?g:d;k=n?p:f;d=(l|0)<0;o=d^(o|0)<0?0-b|0:b;if(i>>>0<=q>>>0){a=((i<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;m=d^(m|0)<0?0-a|0:a;break b}d=2147483647;b=a>>>1|0;c=b+(i<<16)|0;b=(i>>>16|0)+(c>>>0>>0)|0;if(b>>>0>>0){i=E(b);f=32-i|0;b=c>>>f|b<>>0)/(a>>>0)|0;b=b-B(a,d)|0;c=c<>>31;b=i-(a>>>0>i>>>0?0:a)|0;d=d<<1|a>>>0<=i>>>0;c=c<<1;f=f-1|0;if(f){continue}break}}m=(m|0)<0^(l|0)<0?0-d|0:d;break b}a=(l|0)<0;m=a^(m|0)<0?-2147483647:2147483647;o=a^(o|0)<0?-2147483647:2147483647;k=a^(k|0)<0?-2147483647:2147483647;e=a^(e|0)<0?-2147483647:2147483647}a=B(e,m)-B(k,o)|0;b=0;if(!a){break a}b=a;a=a>>31;b=(((B(e,e)+B(k,k)|0)+B(o,o)|0)+B(m,m)>>>0)/((b+a^a)>>>0)>>>0<51}return b}function zQa(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,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;I=Qb-512|0;Qb=I;A=v[a+332>>2];a=v[b+84>>2];b=I;while(1){l=B(v[a+64>>2],u[c+32>>1]);k=B(v[a+192>>2],u[c+96>>1]);h=l-k|0;o=B(h,11363);i=B(v[a+96>>2],u[c+48>>1]);m=B(v[a+32>>2],u[c+16>>1]);p=B(i+m|0,11086);D=o+B(k,20995)|0;j=B(v[a+128>>2],u[c+64>>1]);E=B(j,10703);n=B(u[c>>1],v[a>>2])<<13|1024;x=E+n|0;y=D+x|0;f=B(v[a+224>>2],u[c+112>>1]);F=B(f+m|0,8956);g=B(v[a+160>>2],u[c+80>>1]);r=g+m|0;z=B(r,10217);s=F+(z+(p+B(m,-18730)|0)|0)|0;v[b+480>>2]=y-s>>11;v[b>>2]=s+y>>11;h=B(h,2260);y=h+B(l,7373)|0;j=B(j,4433);s=j+n|0;q=y+s|0;G=B(g+i|0,1136);C=G+(p+B(i,589)|0)|0;p=f+i|0;H=B(p,-5461);C=C+H|0;v[b+448>>2]=q-C>>11;v[b+32>>2]=q+C>>11;l=o+B(l,-4926)|0;o=n-j|0;j=l+o|0;q=z+(B(g,-9222)+G|0)|0;z=B(f+g|0,-11086);q=q+z|0;v[b+416>>2]=j-q>>11;v[b+64>>2]=j+q>>11;k=h+B(k,-4176)|0;n=n-E|0;h=k+n|0;j=z+(F+(H+B(f,8728)|0)|0)|0;v[b+384>>2]=h-j>>11;v[b+96>>2]=h+j>>11;n=n-k|0;k=B(p,-10217);p=B(m-f|0,7350);h=(k+B(f,25733)|0)+p|0;f=B(f-g|0,3363);h=h+f|0;v[b+352>>2]=n-h>>11;v[b+128>>2]=h+n>>11;n=o-l|0;l=B(r,5461);h=B(g,-6278);g=B(g-i|0,11529);f=f+(l+(h+g|0)|0)|0;v[b+320>>2]=n-f>>11;v[b+160>>2]=f+n>>11;f=s-y|0;h=B(i,16154);i=B(m-i|0,3363);g=k+(g+(h+i|0)|0)|0;v[b+288>>2]=f-g>>11;v[b+192>>2]=f+g>>11;g=x-D|0;i=p+(l+(i+B(m,-15038)|0)|0)|0;v[b+256>>2]=g-i>>11;v[b+224>>2]=g+i>>11;b=b+4|0;a=a+4|0;c=c+2|0;J=J+1|0;if((J|0)!=8){continue}break}b=A+128|0;n=0;a=I;while(1){i=v[a+12>>2];m=v[a+4>>2];k=B(i+m|0,11086);o=v[a+8>>2];p=v[a+24>>2];h=o-p|0;A=B(h,11363);c=v[(n<<2)+d>>2]+e|0;f=v[a+28>>2];E=B(f+m|0,8956);g=v[a+20>>2];D=g+m|0;j=B(D,10217);x=E+(j+(k+B(m,-18730)|0)|0)|0;y=A+B(p,20995)|0;l=(v[a>>2]<<13)+131072|0;r=v[a+16>>2];z=B(r,10703);F=l+z|0;s=y+F|0;t[c|0]=w[b+(x+s>>>18&1023)|0];t[c+15|0]=w[b+(s-x>>>18&1023)|0];x=f+i|0;s=B(x,-5461);q=k+B(i,589)|0;k=B(g+i|0,1136);q=s+(q+k|0)|0;h=B(h,2260);G=h+B(o,7373)|0;r=B(r,4433);H=r+l|0;C=G+H|0;t[c+1|0]=w[b+(q+C>>>18&1023)|0];t[c+14|0]=w[b+(C-q>>>18&1023)|0];j=j+(k+B(g,-9222)|0)|0;k=B(f+g|0,-11086);j=j+k|0;o=A+B(o,-4926)|0;A=l-r|0;r=o+A|0;t[c+2|0]=w[b+(j+r>>>18&1023)|0];t[c+13|0]=w[b+(r-j>>>18&1023)|0];k=k+(E+(s+B(f,8728)|0)|0)|0;p=h+B(p,-4176)|0;l=l-z|0;h=p+l|0;t[c+3|0]=w[b+(k+h>>>18&1023)|0];t[c+12|0]=w[b+(h-k>>>18&1023)|0];h=B(m-f|0,7350);k=B(x,-10217);j=h+(k+B(f,25733)|0)|0;f=B(f-g|0,3363);j=j+f|0;l=l-p|0;t[c+4|0]=w[b+(j+l>>>18&1023)|0];t[c+11|0]=w[b+(l-j>>>18&1023)|0];l=B(D,5461);j=B(g,-6278);g=B(g-i|0,11529);f=f+(l+(j+g|0)|0)|0;o=A-o|0;t[c+5|0]=w[b+(f+o>>>18&1023)|0];t[c+10|0]=w[b+(o-f>>>18&1023)|0];f=B(i,16154);i=B(m-i|0,3363);g=k+(g+(f+i|0)|0)|0;f=H-G|0;t[c+6|0]=w[b+(g+f>>>18&1023)|0];t[c+9|0]=w[b+(f-g>>>18&1023)|0];i=h+(l+(i+B(m,-15038)|0)|0)|0;m=F-y|0;t[c+7|0]=w[b+(i+m>>>18&1023)|0];t[c+8|0]=w[b+(m-i>>>18&1023)|0];a=a+32|0;n=n+1|0;if((n|0)!=16){continue}break}Qb=I+512|0}function Y1a(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;d=Qb-16|0;Qb=d;a:{b:{if(k_(a,b,c)){Zz(b);h=Qb-16|0;Qb=h;e=b+132|0;g=e;c:{if(!(a?g:0)){v[h+8>>2]=40;break c}j=v[a+28>>2];f=w_(a);v[h+8>>2]=f;if(f){break c}v[g+24>>2]=0;v[g+28>>2]=0;v[g>>2]=0;v[g+4>>2]=0;v[g+32>>2]=0;v[g+36>>2]=0;v[g+16>>2]=0;v[g+20>>2]=0;v[g+8>>2]=0;v[g+12>>2]=0;v[g+28>>2]=j;f=QH(j,8276,h+8|0);if(!v[h+8>>2]){v[f>>2]=a;v[f+4>>2]=g;i=v[g+28>>2];k=f+8264|0;v[f+8272>>2]=k;v[f+8>>2]=i;v[f+8268>>2]=k;v[f+8264>>2]=0;d:{i=w_(a);e:{if(i){break e}i=v[a+8>>2];v[f+48>>2]=1698;v[f+44>>2]=1699;v[f+68>>2]=i;i=v[a+28>>2];v[f+16>>2]=0;v[f+52>>2]=i;v[f+12>>2]=f+4168;i=3;if(gG(f+12|0,-15)){break e}if(v[f+12>>2]){break d}}v[h+8>>2]=i;if(f){Ub[v[j+8>>2]](j,f)}break c}v[h+8>>2]=0;v[g+12>>2]=f}k=v[a+8>>2];f:{g:{if(!Yc(a,v[a+4>>2]-4|0)){i=pi(a,h+12|0);l=v[h+12>>2];Yc(a,k);k=l?0:i;if(k-1>>>0<=40958){l=Fd(j,k,h+8|0);if(!v[h+8>>2]){if((NH(f,0,l,k)|0)==(k|0)){break f}NH(f,0,0,0);if(l){Ub[v[j+8>>2]](j,l)}}v[h+8>>2]=0;break g}if(k){break g}}i=2147483647}v[g+8>>2]=0;v[g+4>>2]=i;v[g+24>>2]=1700;v[g+20>>2]=1701;v[g>>2]=0;break c}tk(f+12|0);v[f+52>>2]=0;v[f+44>>2]=0;v[f+48>>2]=0;v[f+24>>2]=0;v[f+28>>2]=0;v[f>>2]=0;v[f+4>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;v[f+16>>2]=0;if(f){Ub[v[j+8>>2]](j,f)}v[g+4>>2]=k;v[g+8>>2]=0;v[g+12>>2]=0;v[g+24>>2]=1700;v[g+20>>2]=0;v[g>>2]=l}Qb=h+16|0;f=v[h+8>>2];if((f&255)==7){break b}if(f){h=Qb-16|0;Qb=h;f=40;h:{if(!e|!a){break h}j=v[a+28>>2];f=Yc(a,0);if(f){break h}f=Lf(a,h+12|0,2);if(f){break h}f=3;if(w[h+12|0]!=31|w[h+13|0]!=157){break h}v[h+8>>2]=0;f=e;v[f+24>>2]=0;v[f+28>>2]=0;v[f+32>>2]=0;v[f+36>>2]=0;v[f+16>>2]=0;v[f+20>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;v[f>>2]=0;v[f+4>>2]=0;v[f+28>>2]=j;g=Fd(j,4292,h+8|0);f=v[h+8>>2];if(!f){v[g>>2]=a;v[g+4>>2]=e;i=v[e+28>>2];k=g+4280|0;v[g+4288>>2]=k;v[g+8>>2]=i;v[g+4284>>2]=k;v[g+4280>>2]=0;i:{i=Yc(a,0);j:{if(i){break j}i=Lf(a,h+14|0,2);if(i){break j}i=3;if(w[h+14|0]!=31){break j}if(w[h+15|0]==157){break i}}v[h+8>>2]=i;if(g){Ub[v[j+8>>2]](j,g)}f=v[h+8>>2];break h}ic(g+12|0,0,172);v[g+176>>2]=a;i=v[a+28>>2];v[g+100>>2]=g+112;v[g+96>>2]=0;v[g+88>>2]=0;v[g+92>>2]=0;v[g+180>>2]=i;v[g+104>>2]=0;v[g+108>>2]=64;v[g+48>>2]=0;v[g+36>>2]=0;v[g+40>>2]=0;t[g+44|0]=0;v[g+64>>2]=9;v[g+12>>2]=0;v[g+16>>2]=0;v[e+12>>2]=g}v[e+8>>2]=0;v[e>>2]=0;v[e+4>>2]=2147483647;v[e+24>>2]=1702;v[e+20>>2]=1703}Qb=h+16|0;if((f&255)==7|f){break b}}v[b+104>>2]=e;v[b+172>>2]=a;if(k_(e,b,c)){break b}}a=0;if((c|0)<0){break a}if(c&65535){Zz(b);a=6;break a}k:{l:{a=v[b+180>>2];m:{if(!a){break m}c=v[b+176>>2];if(!c|(w[a|0]|32)!=105|((w[a+1|0]|32)!=115|(w[a+2|0]|32)!=111)){break m}a=a+3|0;if(!mc(a,324724)){break l}if(!mc(a,323043)){if(!mc(c,334370)){break l}}if(mc(a,333835)){break m}if(!mc(c,309743)){break l}}v[d+4>>2]=0;v[d+8>>2]=0;break k}v[d+4>>2]=1970170211;v[d+8>>2]=65539}v[d>>2]=b;a=Rj(381008,0,d,0);break a}Zz(b);a=2}Qb=d+16|0;return a|0}function LUa(a,b){a=a|0;b=b|0;var 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;f=v[a+464>>2];if(v[a+280>>2]){c=v[f+52>>2];if(!c){if(!(Ub[v[v[a+460>>2]+8>>2]](a)|0)){d=v[a>>2];v[d+20>>2]=25;Ub[v[d>>2]](a)}if(v[a+336>>2]>=1){d=0;while(1){g=d<<2;e=v[(g+a|0)+340>>2];a:{b:{if(v[a+224>>2]){if(v[a+408>>2]){break b}if(v[a+416>>2]){break a}}c=v[((v[e+20>>2]<<2)+f|0)+56>>2];t[c|0]=0;t[c+1|0]=0;t[c+2|0]=0;t[c+3|0]=0;t[c+4|0]=0;t[c+5|0]=0;t[c+6|0]=0;t[c+7|0]=0;t[c+56|0]=0;t[c+57|0]=0;t[c+58|0]=0;t[c+59|0]=0;t[c+60|0]=0;t[c+61|0]=0;t[c+62|0]=0;t[c+63|0]=0;t[c+48|0]=0;t[c+49|0]=0;t[c+50|0]=0;t[c+51|0]=0;t[c+52|0]=0;t[c+53|0]=0;t[c+54|0]=0;t[c+55|0]=0;t[c+40|0]=0;t[c+41|0]=0;t[c+42|0]=0;t[c+43|0]=0;t[c+44|0]=0;t[c+45|0]=0;t[c+46|0]=0;t[c+47|0]=0;t[c+32|0]=0;t[c+33|0]=0;t[c+34|0]=0;t[c+35|0]=0;t[c+36|0]=0;t[c+37|0]=0;t[c+38|0]=0;t[c+39|0]=0;t[c+24|0]=0;t[c+25|0]=0;t[c+26|0]=0;t[c+27|0]=0;t[c+28|0]=0;t[c+29|0]=0;t[c+30|0]=0;t[c+31|0]=0;t[c+16|0]=0;t[c+17|0]=0;t[c+18|0]=0;t[c+19|0]=0;t[c+20|0]=0;t[c+21|0]=0;t[c+22|0]=0;t[c+23|0]=0;t[c+8|0]=0;t[c+9|0]=0;t[c+10|0]=0;t[c+11|0]=0;t[c+12|0]=0;t[c+13|0]=0;t[c+14|0]=0;t[c+15|0]=0;c=f+g|0;v[c+36>>2]=0;v[c+20>>2]=0;if(!v[a+224>>2]){if(v[a+432>>2]){break b}break a}if(!v[a+408>>2]){break a}}ic(v[((v[e+24>>2]<<2)+f|0)+120>>2],0,256)}d=d+1|0;if((d|0)>2]){continue}break}}v[f+16>>2]=-16;v[f+8>>2]=0;v[f+12>>2]=0;c=v[a+280>>2];v[f+52>>2]=c}v[f+52>>2]=c-1}c:{if(!(v[f+16>>2]==-1|v[a+364>>2]<1)){p=f+184|0;q=v[a+428>>2];while(1){d=k<<2;m=v[d+b>>2];d=v[(a+d|0)+368>>2]<<2;n=v[(d+a|0)+340>>2];o=v[n+20>>2];h=(o<<2)+f|0;g=d+f|0;j=g;d=v[h+56>>2]+v[g+36>>2]|0;d:{if(!rf(a,d)){v[j+36>>2]=0;c=v[g+20>>2];break d}i=0;c=0;l=rf(a,d+1|0);d=(l+d|0)+2|0;e=rf(a,d);e:{if(!e){break e}c=e;d=v[h+56>>2]+20|0;if(!rf(a,d)){break e}while(1){c=c<<1;if((c|0)==32768){break c}d=d+1|0;if(rf(a,d)){continue}break}}h=a+o|0;f:{if(1<>1>(c|0)){break f}e=l<<2;if(1<>1<(c|0)){i=e+12|0;break f}i=e+4|0}v[j+36>>2]=i;g:{if(c>>>0<2){d=c;break g}e=d+14|0;d=c;while(1){c=c>>1;d=(rf(a,e)?c:0)|d;if(c>>>0>1){continue}break}}c=v[g+20>>2]+(l?d^-1:d+1|0)|0;v[g+20>>2]=c}u[m>>1]=c;d=1;h:{if(v[a+432>>2]<1){break h}c=v[n+24>>2];i=c+a|0;g=(c<<2)+f|0;while(1){c=d;d=(v[g+120>>2]+B(c,3)|0)-3|0;if(rf(a,d)){break h}while(1){if(!rf(a,d+1|0)){d=d+3|0;e=v[a+432>>2]>(c|0);c=c+1|0;if(e){continue}break c}break}h=rf(a,p);e=d+2|0;d=rf(a,e);i:{if(!d){e=0;break i}j:{if(!rf(a,e)){break j}d=d<<1;e=v[g+120>>2]+(w[i+264|0]<(c|0)?217:189)|0;if(!rf(a,e)){break j}while(1){d=d<<1;if((d|0)==32768){break c}e=e+1|0;if(rf(a,e)){continue}break}}if(d>>>0<2){e=d;break i}j=e+14|0;e=d;while(1){d=d>>1;e=(rf(a,j)?d:0)|e;if(d>>>0>1){continue}break}}u[(v[(c<<2)+q>>2]<<1)+m>>1]=h?e^-1:e+1|0;d=c+1|0;if(v[a+432>>2]>(c|0)){continue}break}}k=k+1|0;if((k|0)>2]){continue}break}}return 1}b=v[a>>2];v[b+20>>2]=117;Ub[v[b+4>>2]](a,-1);v[f+16>>2]=-1;return 1}function ZK(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=a+b|0;c=v[a+4>>2];a:{b:{if(c&1){break b}if(!(c&3)){break a}c=v[a>>2];b=c+b|0;c:{a=a-c|0;if((a|0)!=v[300513]){if(c>>>0<=255){e=v[a+8>>2];c=c>>>3|0;d=v[a+12>>2];if((d|0)!=(e|0)){break c}i=1202032,j=v[300508]&Gib(-2,c),v[i>>2]=j;break b}h=v[a+24>>2];c=v[a+12>>2];d:{if((c|0)!=(a|0)){d=v[a+8>>2];v[d+12>>2]=c;v[c+8>>2]=d;break d}e:{e=a+20|0;d=v[e>>2];if(d){break e}e=a+16|0;d=v[e>>2];if(d){break e}c=0;break d}while(1){g=e;c=d;e=c+20|0;d=v[e>>2];if(d){continue}e=c+16|0;d=v[c+16>>2];if(d){continue}break}v[g>>2]=0}if(!h){break b}e=v[a+28>>2];d=(e<<2)+1202336|0;f:{if(v[d>>2]==(a|0)){v[d>>2]=c;if(c){break f}i=1202036,j=v[300509]&Gib(-2,e),v[i>>2]=j;break b}v[h+(v[h+16>>2]==(a|0)?16:20)>>2]=c;if(!c){break b}}v[c+24>>2]=h;d=v[a+16>>2];if(d){v[c+16>>2]=d;v[d+24>>2]=c}d=v[a+20>>2];if(!d){break b}v[c+20>>2]=d;v[d+24>>2]=c;break b}c=v[f+4>>2];if((c&3)!=3){break b}v[300510]=b;v[f+4>>2]=c&-2;v[a+4>>2]=b|1;v[f>>2]=b;return}v[e+12>>2]=d;v[d+8>>2]=e}c=v[f+4>>2];g:{if(!(c&2)){if(v[300514]==(f|0)){v[300514]=a;b=v[300511]+b|0;v[300511]=b;v[a+4>>2]=b|1;if(v[300513]!=(a|0)){break a}v[300510]=0;v[300513]=0;return}if(v[300513]==(f|0)){v[300513]=a;b=v[300510]+b|0;v[300510]=b;v[a+4>>2]=b|1;v[a+b>>2]=b;return}b=(c&-8)+b|0;h:{if(c>>>0<=255){e=v[f+8>>2];c=c>>>3|0;d=v[f+12>>2];if((d|0)==(e|0)){i=1202032,j=v[300508]&Gib(-2,c),v[i>>2]=j;break h}v[e+12>>2]=d;v[d+8>>2]=e;break h}h=v[f+24>>2];c=v[f+12>>2];i:{if((f|0)!=(c|0)){d=v[f+8>>2];v[d+12>>2]=c;v[c+8>>2]=d;break i}j:{d=f+20|0;e=v[d>>2];if(e){break j}d=f+16|0;e=v[d>>2];if(e){break j}c=0;break i}while(1){g=d;c=e;d=c+20|0;e=v[d>>2];if(e){continue}d=c+16|0;e=v[c+16>>2];if(e){continue}break}v[g>>2]=0}if(!h){break h}e=v[f+28>>2];d=(e<<2)+1202336|0;k:{if(v[d>>2]==(f|0)){v[d>>2]=c;if(c){break k}i=1202036,j=v[300509]&Gib(-2,e),v[i>>2]=j;break h}v[h+(v[h+16>>2]==(f|0)?16:20)>>2]=c;if(!c){break h}}v[c+24>>2]=h;d=v[f+16>>2];if(d){v[c+16>>2]=d;v[d+24>>2]=c}d=v[f+20>>2];if(!d){break h}v[c+20>>2]=d;v[d+24>>2]=c}v[a+4>>2]=b|1;v[a+b>>2]=b;if(v[300513]!=(a|0)){break g}v[300510]=b;return}v[f+4>>2]=c&-2;v[a+4>>2]=b|1;v[a+b>>2]=b}if(b>>>0<=255){b=b>>>3|0;c=(b<<3)+1202072|0;d=v[300508];b=1<>2]}v[c+8>>2]=a;v[b+12>>2]=a;v[a+12>>2]=c;v[a+8>>2]=b;return}e=31;v[a+16>>2]=0;v[a+20>>2]=0;if(b>>>0<=16777215){c=b>>>8|0;g=c+1048320>>>16&8;c=c<>>16&4;c=c<>>16&2;c=(c<>>15|0)-(d|(e|g))|0;e=(c<<1|b>>>c+21&1)+28|0}v[a+28>>2]=e;g=(e<<2)+1202336|0;m:{d=v[300509];c=1<>2]=a;v[a+24>>2]=g;break n}e=b<<((e|0)==31?0:25-(e>>>1|0)|0);c=v[g>>2];while(1){d=c;if((v[c+4>>2]&-8)==(b|0)){break m}c=e>>>29|0;e=e<<1;g=d+(c&4)|0;c=v[g+16>>2];if(c){continue}break}v[g+16>>2]=a;v[a+24>>2]=d}v[a+12>>2]=a;v[a+8>>2]=a;return}b=v[d+8>>2];v[b+12>>2]=a;v[d+8>>2]=a;v[a+24>>2]=0;v[a+12>>2]=d;v[a+8>>2]=b}}function WSa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=C(0),h=C(0),i=0,j=C(0),k=C(0),l=C(0),m=C(0),n=0,o=0;d=Qb-48|0;Qb=d;a:{b:{c:{switch(b-5|0){case 4:b=v[c+164>>2];A[d+16>>3]=z[b>>2];A[d>>3]=z[b+4>>2];e=a+56|0;f=d+16|0;ke(e,f,d);z[b>>2]=A[d+16>>3];z[b+4>>2]=A[d>>3];a=v[c+164>>2];A[d+16>>3]=z[a+8>>2];A[d>>3]=z[a+12>>2];ke(e,f,d);z[a+8>>2]=A[d+16>>3];z[a+12>>2]=A[d>>3];a=v[c+164>>2];A[d+16>>3]=z[a+16>>2];A[d>>3]=z[a+20>>2];ke(e,f,d);z[a+16>>2]=A[d+16>>3];z[a+20>>2]=A[d>>3];break a;case 3:A[d+16>>3]=z[c+148>>2];A[d>>3]=z[c+152>>2];a=a+56|0;b=d+16|0;ke(a,b,d);z[c+148>>2]=A[d+16>>3];z[c+152>>2]=A[d>>3];A[d+16>>3]=z[c+156>>2];A[d>>3]=z[c+160>>2];ke(a,b,d);z[c+156>>2]=A[d+16>>3];z[c+160>>2]=A[d>>3];break a;case 0:a=a+56|0;b=v[a>>2];z[c+16>>2]=K(D(A[b>>3]*A[b+24>>3]-A[b+8>>3]*A[b+16>>3]))*+z[c+16>>2];b=v[a>>2];z[c+20>>2]=K(D(A[b>>3]*A[b+24>>3]-A[b+8>>3]*A[b+16>>3]))*+z[c+20>>2];A[d+16>>3]=z[c>>2];A[d>>3]=z[c+4>>2];b=d+16|0;ke(a,b,d);z[c>>2]=A[d+16>>3];z[c+4>>2]=A[d>>3];A[d+16>>3]=z[c+8>>2];A[d>>3]=z[c+12>>2];ke(a,b,d);z[c+8>>2]=A[d+16>>3];z[c+12>>2]=A[d>>3];break a;default:if((b|0)==100){break b}break;case 1:case 2:break c}}if((b&-2)!=10){break a}a=a+56|0;b=0;while(1){e=B(b,12);f=v[e+v[c+200>>2]>>2];A[d+16>>3]=z[f>>2];A[d>>3]=z[f+4>>2];i=d+16|0;ke(a,i,d);z[f>>2]=A[d+16>>3];z[f+4>>2]=A[d>>3];f=v[e+v[c+200>>2]>>2];A[d+16>>3]=z[f+8>>2];A[d>>3]=z[f+12>>2];ke(a,i,d);z[f+8>>2]=A[d+16>>3];z[f+12>>2]=A[d>>3];f=v[e+v[c+200>>2]>>2];A[d+16>>3]=z[f+16>>2];A[d>>3]=z[f+20>>2];ke(a,i,d);z[f+16>>2]=A[d+16>>3];z[f+20>>2]=A[d>>3];e=v[e+v[c+200>>2]>>2];A[d+16>>3]=z[e+24>>2];A[d>>3]=z[e+28>>2];ke(a,i,d);z[e+24>>2]=A[d+16>>3];z[e+28>>2]=A[d>>3];b=b+1|0;if((b|0)!=4){continue}break}break a}b=fc(24);v[b>>2]=0;v[b+4>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[d+8>>2]=0;v[d>>2]=0;v[d+4>>2]=0;d:{e:{f:{g:{h:{i=c+120|0;n=v[i>>2];f=v[c+124>>2]-n|0;if(f){if((f|0)<=-1){v[299999]=0;R(2185,d|0);a=v[299999];v[299999]=0;if((a|0)==1){break h}L()}v[299999]=0;e=S(1,f|0)|0;o=v[299999];v[299999]=0;if((o|0)==1){break h}gc(e,n,f)}v[299999]=0;KX(a+56|0,d+16|0);a=v[299999];v[299999]=0;if((a|0)==1){break f}g=z[d+16>>2];j=z[e>>2];h=z[d+24>>2];k=z[e+4>>2];z[b>>2]=C(g*j)+C(h*k);l=j;j=z[d+20>>2];m=k;k=z[d+28>>2];z[b+4>>2]=C(l*j)+C(m*k);l=z[e+8>>2];m=z[e+12>>2];z[b+12>>2]=C(j*l)+C(k*m);z[b+8>>2]=C(g*l)+C(h*m);l=g;g=z[e+16>>2];m=h;h=z[e+20>>2];z[b+16>>2]=z[d+32>>2]+C(C(l*g)+C(m*h));z[b+20>>2]=z[d+36>>2]+C(C(j*g)+C(k*h));v[299999]=0;U(2451,i|0,b|0,b+24|0);a=v[299999];v[299999]=0;if((a|0)!=1){break g}c=P()|0;O()|0;break e}c=P()|0;O()|0;e=v[d>>2];if(!e){break d}v[d+4>>2]=e;break e}h=z[b+12>>2];g=C(C(h*z[b>>2])-C(z[b+4>>2]*z[b+8>>2]));a=v[c+132>>2];z[a>>2]=h/g;z[a+4>>2]=C(-z[b+4>>2])/g;z[a+8>>2]=C(-z[b+8>>2])/g;z[a+12>>2]=z[b>>2]/g;z[a+16>>2]=-z[b+16>>2];z[a+20>>2]=-z[b+20>>2];dc(e);dc(b);break a}c=P()|0;O()|0;if(!e){break d}}dc(e)}dc(b);T(c|0);L()}Qb=d+48|0}function hhb(a,b){a=a|0;b=b|0;var 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;v[a+4>>2]=v[b+24>>2];v[a+8>>2]=v[b+28>>2];v[a+12>>2]=v[b+16>>2];v[a+16>>2]=v[b+20>>2];v[a+20>>2]=v[b+32>>2];v[a+24>>2]=v[b+36>>2];v[a+28>>2]=v[b+40>>2];v[a+32>>2]=v[b+44>>2];c=v[b+48>>2];v[a+56>>2]=c;a:{d=jc(28);b:{if(!d){break b}v[d+20>>2]=c;v[d>>2]=0;u[d+16>>1]=0;v[d+12>>2]=0;t[d+8|0]=0;c=jc(B(c,488));v[d+24>>2]=c;if(!c){break b}c=r2();v[d+4>>2]=c;if(c){break a}dc(v[d+24>>2])}v[a+64>>2]=0;return-1}e=v[d+20>>2];c:{if((e|0)<1){break c}f=e&3;c=v[d+24>>2];if(e-1>>>0>=3){e=e&-4;while(1){t[c+418|0]=0;u[c+416>>1]=0;v[c+12>>2]=0;v[c>>2]=0;v[c+488>>2]=0;t[c+5|0]=0;t[c+6|0]=0;t[c+7|0]=0;t[c+8|0]=0;v[c+976>>2]=0;v[c+1464>>2]=0;t[c+906|0]=0;u[c+904>>1]=0;v[c+500>>2]=0;t[c+1394|0]=0;u[c+1392>>1]=0;v[c+988>>2]=0;t[c+493|0]=0;t[c+494|0]=0;t[c+495|0]=0;t[c+496|0]=0;t[c+1882|0]=0;u[c+1880>>1]=0;v[c+1476>>2]=0;t[c+981|0]=0;t[c+982|0]=0;t[c+983|0]=0;t[c+984|0]=0;h=c+1469|0;t[h|0]=0;t[h+1|0]=0;t[h+2|0]=0;t[h+3|0]=0;c=c+1952|0;e=e-4|0;if(e){continue}break}}if(!f){break c}while(1){t[c+418|0]=0;u[c+416>>1]=0;v[c+12>>2]=0;v[c>>2]=0;t[c+5|0]=0;t[c+6|0]=0;t[c+7|0]=0;t[c+8|0]=0;c=c+488|0;f=f-1|0;if(f){continue}break}}v[a+64>>2]=d;c=jc(v[a+56>>2]<<5);v[a+88>>2]=c;if(!c){return-1}i=v[a+56>>2];d:{if((i|0)<=0){d=v[a+16>>2];h=v[a+12>>2];break d}l=v[b+52>>2];g=v[a+8>>2];d=v[a+16>>2];j=v[a+4>>2];h=v[a+12>>2];e=0;while(1){b=l+(e<<2)|0;v[c+16>>2]=w[b|0];t[c+20|0]=w[b+1|0]!=0;f=w[b+2|0];v[c>>2]=f;b=w[b+3|0];v[c+24>>2]=0;v[c+28>>2]=0;v[c+4>>2]=b;k=f-1|0;v[c+8>>2]=((k+h>>>0)/(f>>>0)|0)-((j+k>>>0)/(f>>>0)|0);f=b-1|0;v[c+12>>2]=((f+d>>>0)/(b>>>0)|0)-((f+g>>>0)/(b>>>0)|0);c=c+32|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}v[a>>2]=0;l=-1;b=v[a+20>>2];b=(b+((v[a+28>>2]^-1)+h|0)>>>0)/(b>>>0)|0;v[a+36>>2]=b;c=v[a+24>>2];c=(c+((v[a+32>>2]^-1)+d|0)>>>0)/(c>>>0)|0;v[a+40>>2]=c;b=B(b,c);v[a+44>>2]=b;d=jc(B(b,56));v[a+48>>2]=d;e:{if(!d){break e}if(v[a+44>>2]>=1){h=v[a+56>>2];f=0;while(1){b=v[a+36>>2];v[d>>2]=0;v[d+48>>2]=0;i=v[a+28>>2];c=v[a+20>>2];e=b;b=(f|0)/(b|0)|0;e=f-B(e,b)|0;g=i+B(c,e)|0;j=v[a+4>>2];v[d+4>>2]=g>>>0>j>>>0?g:j;j=v[a+32>>2];g=v[a+24>>2];k=j+B(g,b)|0;m=v[a+8>>2];v[d+8>>2]=k>>>0>m>>>0?k:m;c=i+B(c,e+1|0)|0;e=v[a+12>>2];v[d+12>>2]=c>>>0>>0?c:e;c=v[a+16>>2];v[d+40>>2]=0;v[d+44>>2]=0;v[d+20>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+32>>2]=0;b=j+B(g,b+1|0)|0;v[d+16>>2]=b>>>0>>0?b:c;c=jc(h<<5);v[d+36>>2]=c;if(!c){break e}h=v[a+56>>2];if((h|0)>=1){j=v[d+16>>2];k=v[d+12>>2];m=v[d+8>>2];o=v[d+4>>2];b=v[a+88>>2];e=0;while(1){v[c+16>>2]=0;v[c+24>>2]=0;g=v[b>>2];n=g-1|0;v[c>>2]=(n+o>>>0)/(g>>>0);i=v[b+4>>2];v[c+28>>2]=0;v[c+8>>2]=(k+n>>>0)/(g>>>0);g=i-1|0;v[c+12>>2]=(g+j>>>0)/(i>>>0);v[c+4>>2]=(g+m>>>0)/(i>>>0);c=c+32|0;b=b+32|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}}d=d+56|0;f=f+1|0;if((f|0)>2]){continue}break}}v[a+84>>2]=4;l=0;v[a+96>>2]=0}return l|0}function L5a(a,b){a=a|0;b=b|0;var 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,y=0,z=0,A=0,C=0;e=Qb-176|0;Qb=e;a:{if(!v[a+26028>>2]){break a}b:{c:{if(!b){b=32;c=jc(32);if(!c){break a}break c}k=zh(b,50391);break b}while(1){if(!mt(c,b-16|0)){dc(c);if(v[299402]!=68){break a}b=b<<1;c=jc(b);if(c){continue}break a}break}b=Bc(c);d:{if(w[c|0]!=47){break d}b=b+c|0;d=b-1|0;b=w[d|0]==47?d:b;g=w[50835]|w[50836]<<8|(w[50837]<<16|w[50838]<<24);m=w[50827]|w[50828]<<8|(w[50829]<<16|w[50830]<<24);f=w[50831]|w[50832]<<8|(w[50833]<<16|w[50834]<<24);while(1){t[b+8|0]=g;t[b+9|0]=g>>>8;t[b+10|0]=g>>>16;t[b+11|0]=g>>>24;d=m;t[b|0]=d;t[b+1|0]=d>>>8;t[b+2|0]=d>>>16;t[b+3|0]=d>>>24;d=f;t[b+4|0]=d;t[b+5|0]=d>>>8;t[b+6|0]=d>>>16;t[b+7|0]=d>>>24;k=zh(c,50391);if(k){break d}k=0;if((b|0)==(c|0)){break d}while(1){b=b-1|0;if(w[b|0]!=47){continue}break}if(w[c|0]==47){continue}break}}dc(c)}if(!k){break a}e:{if(!Qw(e+48|0,128,k)){break e}q=v[252391];while(1){b=af(e+48|0,35);if(b){t[b|0]=0}v[e+24>>2]=e+44;v[e+20>>2]=e+40;v[e+16>>2]=e+36;f:{if((ef(e+48|0,51484,e+16|0)|0)!=3){break f}g=v[e+36>>2];r=x[a+26310>>1];if(g>>>0>=r>>>0){break f}h=v[e+40>>2];s=x[a+26308>>1];if(v[e+44>>2]>v[a+26016>>2]|h>>>0>=s>>>0){break f}y=(h<<1&14|g&1)<<1;z=h+1|0;A=g+1|0;f=h-1|0;m=g-1|0;l=0;b=0;while(1){if(f>>>0>>0){n=f<<1&14;c=m;while(1){d=c;g:{if(d>>>0>=r>>>0|(f|0)==(h|0)&(d|0)==(g|0)){break g}j=v[a+26028>>2];o=(j|0)==1;h:{if(!o){c=j>>>y&3;i=j>>>((n|d&1)<<1)&3;break h}i=x[a+26314>>1];p=x[a+26312>>1];c=t[(i+g&15|(p+h&15)<<4)+194800|0];i=t[(d+i&15|(f+p&15)<<4)+194800|0]}if((c|0)!=(i|0)){break g}c=x[a+26316>>1];b=x[(v[a+26352>>2]+(B(x[a+26320>>1],f>>c)+(d>>c)<<3)|0)+((o?t[(d+x[a+26314>>1]&15|(x[a+26312>>1]+f&15)<<4)+194800|0]:j>>>((n|d&1)<<1)&3)<<1)>>1]+b|0;l=l+1|0}c=d+1|0;if((d|0)!=(A|0)){continue}break}}c=(f|0)!=(z|0);f=f+1|0;if(c){continue}break}if(!l){z=h+2|0;A=g+2|0;f=h-2|0;m=g-2|0;l=0;while(1){if(f>>>0>>0){n=f<<1&14;c=m;while(1){d=c;i:{if(d>>>0>=r>>>0|(f|0)==(h|0)&(d|0)==(g|0)){break i}j=v[a+26028>>2];o=(j|0)==1;j:{if(!o){c=j>>>y&3;i=j>>>((n|d&1)<<1)&3;break j}i=x[a+26314>>1];p=x[a+26312>>1];c=t[(i+g&15|(p+h&15)<<4)+194800|0];i=t[(d+i&15|(f+p&15)<<4)+194800|0]}if((c|0)!=(i|0)){break i}c=x[a+26316>>1];b=x[(v[a+26352>>2]+(B(x[a+26320>>1],f>>c)+(d>>c)<<3)|0)+((o?t[(d+x[a+26314>>1]&15|(x[a+26312>>1]+f&15)<<4)+194800|0]:j>>>((n|d&1)<<1)&3)<<1)>>1]+b|0;l=l+1|0}c=d+1|0;if((d|0)!=(A|0)){continue}break}}c=(f|0)==(z|0);f=f+1|0;if(!c){continue}break}}c=(b|0)/(l|0)|0;b=x[a+26316>>1];d=v[a+26352>>2]+(B(x[a+26320>>1],h>>b)+(g>>b)<<3)|0;b=v[a+26028>>2];k:{if((b|0)!=1){b=b>>>y&3;break k}b=t[(x[a+26314>>1]+g&15|(x[a+26312>>1]+h&15)<<4)+194800|0]}u[d+(b<<1)>>1]=c;if(v[a+188>>2]){if(!C){Rc(52032,21,1,q);h=v[e+40>>2];g=v[e+36>>2]}v[e+4>>2]=h;v[e>>2]=g;wc(q,52380,e);C=C+1|0}}if(Qw(e+48|0,128,k)){continue}break}if(!C){break e}ff(10,q)}Be(k)}Qb=e+176|0}function ATa(a,b){a=a|0;b=b|0;var 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;e=Qb-48|0;Qb=e;i=v[a+464>>2];a:{b:{if(v[i+40>>2]|!v[a+280>>2]){break b}d=v[a+460>>2];v[d+24>>2]=v[d+24>>2]+(v[i+12>>2]/8|0);v[i+12>>2]=0;f=0;if(!(Ub[v[d+8>>2]](a)|0)){break a}if(v[a+336>>2]>=1){d=0;while(1){v[((d<<2)+i|0)+20>>2]=0;d=d+1|0;if((d|0)>2]){continue}break}}v[i+16>>2]=0;v[i+40>>2]=v[a+280>>2];if(v[a+436>>2]){break b}v[i+36>>2]=0}if(!v[i+36>>2]){o=v[a+432>>2];p=v[a+428>>2];v[e+40>>2]=a;h=v[a+24>>2];c=v[h>>2];v[e+24>>2]=c;k=v[h+4>>2];v[e+28>>2]=k;d=v[i+12>>2];g=v[i+8>>2];v[e+16>>2]=v[i+32>>2];f=v[i+28>>2];v[e+8>>2]=v[i+24>>2];v[e+12>>2]=f;f=v[i+20>>2];v[e>>2]=v[i+16>>2];v[e+4>>2]=f;if(v[a+364>>2]>=1){while(1){h=n<<2;k=v[h+b>>2];m=i+h|0;c=v[m+96>>2];c:{d:{e:{if((d|0)>7){break e}f=0;if(!bg(e+24|0,g,d,0)){break a}g=v[e+32>>2];d=v[e+36>>2];if((d|0)>7){break e}c=Wh(e+24|0,g,d,c,1);break d}f=g>>d-8&255;j=v[(c+(f<<2)|0)+144>>2];if(j){c=w[(c+f|0)+1168|0];d=d-j|0;break c}c=Wh(e+24|0,g,d,c,9)}f=0;if((c|0)<0){break a}g=v[e+32>>2];d=v[e+36>>2]}j=v[m+136>>2];m=v[m+176>>2];f:{g:{if(m){if(c){if((d|0)<(c|0)){f=0;if(!bg(e+24|0,g,d,c)){break a}g=v[e+32>>2];d=v[e+36>>2]}d=d-c|0;c=c<<2;f=v[c+72672>>2];l=g>>d&f;c=l-((l|0)>v[c+72668>>2]?0:f)|0}else{c=0}h=(v[(a+h|0)+368>>2]<<2)+e|0;c=c+v[h+4>>2]|0;v[h+4>>2]=c;u[k>>1]=c;h=1;if((m|0)<2){break g}while(1){h:{i:{j:{if((d|0)>7){break j}f=0;if(!bg(e+24|0,g,d,0)){break a}g=v[e+32>>2];d=v[e+36>>2];if((d|0)>7){break j}c=Wh(e+24|0,g,d,j,1);break i}c=g>>d-8&255;f=v[(j+(c<<2)|0)+144>>2];if(f){c=w[(c+j|0)+1168|0];d=d-f|0;break h}c=Wh(e+24|0,g,d,j,9)}f=0;if((c|0)<0){break a}g=v[e+32>>2];d=v[e+36>>2]}l=c>>>4|0;c=c&15;k:{if(c){if((d|0)<(c|0)){f=0;if(!bg(e+24|0,g,d,c)){break a}g=v[e+32>>2];d=v[e+36>>2]}h=h+l|0;d=d-c|0;c=c<<2;f=v[c+72672>>2];l=g>>d&f;u[(v[(h<<2)+p>>2]<<1)+k>>1]=l-((l|0)>v[c+72668>>2]?0:f);break k}if((l|0)!=15){break f}h=h+15|0}h=h+1|0;if((m|0)>(h|0)){continue}break}break g}h=1;if(!c){break g}if((d|0)<(c|0)){f=0;if(!bg(e+24|0,g,d,c)){break a}g=v[e+32>>2];d=v[e+36>>2]}d=d-c|0}if((h|0)>(o|0)){break f}while(1){l:{m:{n:{if((d|0)>7){break n}f=0;if(!bg(e+24|0,g,d,0)){break a}g=v[e+32>>2];d=v[e+36>>2];if((d|0)>7){break n}c=Wh(e+24|0,g,d,j,1);break m}c=g>>d-8&255;f=v[(j+(c<<2)|0)+144>>2];if(f){c=w[(c+j|0)+1168|0];d=d-f|0;break l}c=Wh(e+24|0,g,d,j,9)}f=0;if((c|0)<0){break a}g=v[e+32>>2];d=v[e+36>>2]}k=c>>>4|0;c=c&15;o:{if(c){if((d|0)<(c|0)){f=0;if(!bg(e+24|0,g,d,c)){break a}g=v[e+32>>2];d=v[e+36>>2]}d=d-c|0;break o}c=(k|0)!=15;k=15;if(c){break f}}h=(h+k|0)+1|0;if((o|0)>=(h|0)){continue}break}}n=n+1|0;if((n|0)>2]){continue}break}h=v[a+24>>2];k=v[e+28>>2];c=v[e+24>>2]}v[h+4>>2]=k;v[h>>2]=c;v[i+12>>2]=d;v[i+8>>2]=g;v[i+32>>2]=v[e+16>>2];a=v[e+12>>2];v[i+24>>2]=v[e+8>>2];v[i+28>>2]=a;a=v[e+4>>2];v[i+16>>2]=v[e>>2];v[i+20>>2]=a}v[i+40>>2]=v[i+40>>2]-1;f=1}Qb=e+48|0;return f|0}function mJ(a){var b=0,c=0,d=0,e=0,f=0;c=v[a+512>>2];a:{b:{c:{d:{e:{if(!w[a+288|0]){v[a+992>>2]=0;v[a+984>>2]=0;v[a+988>>2]=0;v[a+976>>2]=0;v[a+968>>2]=0;v[a+1012>>2]=0;v[a+536>>2]=0;d=a+498|0;if(w[a+498|0]){break c}if(!c){break e}b=xj(a,c,v[a+316>>2],v[a+320>>2],w[a+324|0],w[a+325|0],w[a+326|0],w[a+327|0],w[a+328|0],1);break d}if(w[a+498|0]){break b}f:{g:{switch(w[a+2253|0]){case 1:case 4:b=v[v[a+2248>>2]+88>>2];d=w[a+324|0];t[b+54|0]=d;t[b+53|0]=d;break f;case 2:case 5:t[v[v[a+2248>>2]+88>>2]+54|0]=w[a+324|0];break f;case 3:case 6:t[v[v[a+2248>>2]+88>>2]+53|0]=w[a+324|0];break f;case 0:break g;default:break f}}b=xj(a,v[a+2248>>2],v[a+316>>2],v[a+320>>2],w[a+324|0],w[a+325|0],w[a+326|0],w[a+327|0],w[a+328|0],1);if(b){break a}}b=w[a+325|0];e=w[a+324|0];d=v[v[a+2248>>2]+88>>2];if((e|0)==w[d+44|0]){f=(b|0)==w[d+45|0]}d=a+498|0;t[a+2272|0]=f;b=xj(a,v[a+528>>2],v[a+316>>2],v[a+320>>2],e,b,w[a+326|0],w[a+327|0],w[a+328|0],1);break d}b=xj(a,v[a+528>>2],v[a+316>>2],v[a+320>>2],w[a+324|0],w[a+325|0],w[a+326|0],w[a+327|0],w[a+328|0],1)}if(b){break a}if(w[a+288|0]){break b}}c=c?c:v[a+528>>2];v[a+536>>2]=c;if(w[c+64|0]|w[c+65|0]|(w[c+31|0]?0:v[a+12>>2]!=1)){break b}pJ(a);if(w[a+497|0]){t[d|0]=2;break b}t[a+498|0]=0;if(v[a+676>>2]<=v[a+672>>2]|v[a+684>>2]<=v[a+680>>2]){break b}Vv(a)}b=0;if(w[a+497|0]){break a}h:{i:{switch(w[a+325|0]){case 0:j:{switch(w[a+324|0]-1|0){case 0:if(!w[a+328|0]){v[a+1012>>2]=891;break h}v[a+1012>>2]=892;break h;case 1:if(!w[a+328|0]){v[a+1012>>2]=893;break h}v[a+1012>>2]=894;break h;case 3:if(!w[a+328|0]){v[a+1012>>2]=895;break h}v[a+1012>>2]=896;break h;case 7:if(!w[a+328|0]){v[a+1012>>2]=897;break h}v[a+1012>>2]=898;break h;case 15:break j;default:break h}}if(!w[a+328|0]){v[a+1012>>2]=899;break h}v[a+1012>>2]=900;break h;case 2:k:{switch(w[a+324|0]-8|0){case 0:if(!w[a+328|0]){v[a+1012>>2]=901;break h}v[a+1012>>2]=902;break h;case 8:break k;default:break h}}if(!w[a+328|0]){v[a+1012>>2]=903;break h}v[a+1012>>2]=904;break h;case 3:l:{switch(w[a+324|0]-1|0){case 0:if(!w[a+328|0]){v[a+1012>>2]=905;break h}v[a+1012>>2]=906;break h;case 1:if(!w[a+328|0]){v[a+1012>>2]=907;break h}v[a+1012>>2]=908;break h;case 3:if(!w[a+328|0]){v[a+1012>>2]=909;break h}v[a+1012>>2]=910;break h;case 7:break l;default:break h}}if(!w[a+328|0]){v[a+1012>>2]=911;break h}v[a+1012>>2]=912;break h;case 4:m:{switch(w[a+324|0]-8|0){case 0:if(!w[a+328|0]){v[a+1012>>2]=913;break h}v[a+1012>>2]=914;break h;case 8:break m;default:break h}}if(!w[a+328|0]){v[a+1012>>2]=915;break h}v[a+1012>>2]=916;break h;case 6:break i;default:break h}}n:{switch(w[a+324|0]-8|0){case 0:if(!w[a+328|0]){v[a+1012>>2]=917;break h}v[a+1012>>2]=918;break h;case 8:break n;default:break h}}if(!w[a+328|0]){v[a+1012>>2]=919;break h}v[a+1012>>2]=920}v[a+620>>2]=0;v[a+624>>2]=0;v[a+612>>2]=0;v[a+616>>2]=1;v[a+628>>2]=0;v[a+632>>2]=0}return b}function zGa(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,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,y=0;c=Qb-160|0;Qb=c;a:{b:{c:{d:{e:{f:{g:{h:{i:{if(w[a+208|0]){break i}i=B(e,f)<<2;if((i|0)<1){break i}x=A[b+104>>3];k=fc(i);j=c+128|0;i=j;v[i+12>>2]=0;v[i+16>>2]=0;v[i+4>>2]=1;v[i+8>>2]=8;v[i>>2]=466676;v[i+20>>2]=0;v[i+24>>2]=0;t[i+28|0]=0;v[c+48>>2]=e;v[c+96>>2]=f;v[299999]=0;v[c+40>>2]=0-(e<<2);gn(i,k,c+48|0,c+96|0,c+40|0);i=v[299999];v[299999]=0;if((i|0)==1){break f}p=v[g+8>>2];v[299999]=0;q=S(1,36)|0;i=v[299999];v[299999]=0;if((i|0)==1){break e}i=v[g+4>>2];v[299999]=0;m=ca(3160,q|0,d|0,e|0,p|0,i|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break d}v[299999]=0;R(3161,m|0);d=v[299999];v[299999]=0;if((d|0)==1){break e}i=255;j:{if(!w[a+202|0]){break j}l=A[b+392>>3]*255;if(l<4294967296&l>=0){i=~~l>>>0;break j}i=0}v[c+120>>2]=0;v[c+124>>2]=0;v[c+112>>2]=0;v[c+116>>2]=0;v[c+104>>2]=0;v[c+108>>2]=0;v[c+96>>2]=0;v[c+100>>2]=0;k:{if((f|0)<1|(e|0)<1){break k}d=f-1|0;if(!h){l:{while(1){n=B(d,e);h=0;m:{while(1){v[299999]=0;Q(3163,m|0,c+96|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break m}v[299999]=0;$(3164,g|0,c+96|0,c+48|0,0);f=v[299999];v[299999]=0;if((f|0)==1){break l}f=h+n<<2;t[f+k|0]=B(v[c+56>>2],255)+32768>>>16;t[k+(f|1)|0]=B(v[c+52>>2],255)+32768>>>16;t[k+(f|2)|0]=B(v[c+48>>2],255)+32768>>>16;t[k+(f|3)|0]=i;h=h+1|0;if((h|0)!=(e|0)){continue}break}f=(d|0)>0;d=d-1|0;if(f){continue}break k}break}f=P()|0;O()|0;break a}f=P()|0;O()|0;break a}while(1){y=B(d,e);o=0;while(1){v[299999]=0;Q(3163,m|0,c+96|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break h}v[299999]=0;$(3164,g|0,c+96|0,c+48|0,0);f=v[299999];v[299999]=0;if((f|0)==1){break g}f=o+y<<2;t[f+k|0]=B(v[c+56>>2],255)+32768>>>16;t[k+(f|1)|0]=B(v[c+52>>2],255)+32768>>>16;t[k+(f|2)|0]=B(v[c+48>>2],255)+32768>>>16;r=k+(f|3)|0;t[r|0]=i;f=0;n:{if((p|0)>0){while(1){n=w[(c+96|0)+f|0];s=f<<3;if((n|0)>2]|v[(s|4)+h>>2]<(n|0)){break n}f=f+1|0;if((p|0)!=(f|0)){continue}break}}t[r|0]=0}o=o+1|0;if((o|0)!=(e|0)){continue}break}f=(d|0)>0;d=d-1|0;if(f){continue}break}}Ip(m);dc(q);A[c+48>>3]=A[b+16>>3];A[c+56>>3]=-A[b+24>>3];u=A[b+32>>3];A[c+64>>3]=-u;l=A[b+40>>3];A[c+72>>3]=l;A[c+80>>3]=u+A[b+48>>3];A[c+88>>3]=x-(l+A[b+56>>3]);v[c+40>>2]=0;v[c+44>>2]=0;v[299999]=0;v[c+32>>2]=0;v[c+36>>2]=0;fa(3156,a|0,c+48|0,c+40|0,c+32|0,1);b=v[299999];v[299999]=0;if((b|0)==1){break c}b=v[a+104>>2];A[c+24>>3]=A[c+40>>3]+0;A[c+16>>3]=A[c+32>>3]+0;v[c+8>>2]=1049880894;v[c+12>>2]=1071027177;v[c>>2]=1049880894;v[c+4>>2]=1071027177;a=v[v[b>>2]+356>>2];v[299999]=0;aa(a|0,b|0,j|0,c+24|0,c+16|0,c+8|0,c|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break b}sj(j)}Qb=c+160|0;return}f=P()|0;O()|0;break a}f=P()|0;O()|0;break a}f=P()|0;O()|0;break a}f=P()|0;O()|0;break a}f=P()|0;O()|0;dc(q);break a}f=P()|0;O()|0;break a}f=P()|0;O()|0}sj(j);T(f|0);L()}function jU(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0;k=Qb-48|0;Qb=k;a:{if(v[a+292>>2]){break a}i=v[a+36>>2];if((v[i+20>>2]-v[i+16>>2]|0)>249){break a}nd(a)}g=v[a+36>>2];i=v[g+16>>2];b:{if(!(w[i|0]==60&w[i+1|0]==47)){if(v[a+172>>2]==-1?v[a+212>>2]:0){break b}v[a+84>>2]=74;v[k+32>>2]=287617;oc(0,0,0,a,0,1,74,3,0,0,0,0,350078,k+32|0);v[a+12>>2]=0;if(v[a+288>>2]){break b}v[a+212>>2]=1;break b}v[a+200>>2]=v[a+200>>2]+2;v[g+16>>2]=i+2;v[g+32>>2]=v[g+32>>2]+2;i=w[i+2|0];if((i|0)==37){wd(a);g=v[a+36>>2];i=w[v[g+16>>2]]}c:{if(i&255){break c}if((cd(g)|0)>0){break c}vd(a)}d:{e:{f:{if((f|0)<1){break f}i=v[a+36>>2];l=v[i+16>>2];i=v[i+20>>2]-l|0;if(i>>>0>>0){break f}g=v[a+184>>2];if(!((g|0)==(l|0)|(f|0)<1)){j=-1;g:{if(!l){break g}j=1;if(!g){break g}j=Oc(l,g,f)}}if(j){break f}h=1;g=v[a+36>>2];j=v[g+16>>2];if(!(w[j+f|0]!=62|f>>>0>=i>>>0)){d=f+1|0;v[g+16>>2]=d+j;v[g+32>>2]=d+v[g+32>>2];break d}v[g+16>>2]=f+j;v[g+32>>2]=v[g+32>>2]+f;break e}i=v[a+184>>2];if(!b){h=mU(a,i);break e}h:{if(v[a+292>>2]){break h}f=v[a+36>>2];if((v[f+20>>2]-v[f+16>>2]|0)>249){break h}nd(a)}i:{l=v[a+36>>2];g=v[l+16>>2];h=w[g|0];j:{if(!h){break j}f=b;while(1){j=w[f|0];if((j|0)==(h&255)){f=f+1|0;h=w[g+1|0];g=g+1|0;if(h){continue}break j}break}if((h&255)!=58|j){break j}f=g+1|0;h=w[g+1|0];k:{l:{if(!h){g=i;j=f;break l}g=i;while(1){m=w[g|0];if((m|0)!=(h&255)){j=f;break k}g=g+1|0;h=w[f+1|0];j=f+1|0;f=j;if(h){continue}break}}m=w[g|0];h=0}if(m){break j}g=h&255;f=g-9|0;if((1<>>0<=23:0)|(g|0)==62){break i}}f=tF(a,k+44|0);h=(f|0)==(i|0)?v[k+44>>2]==(b|0)?1:f:f;break e}v[l+16>>2]=j;h=1}m:{if(v[a+292>>2]){break m}f=v[a+36>>2];if((v[f+20>>2]-v[f+16>>2]|0)>249){break m}nd(a)}if(v[a+172>>2]==-1){break b}Bd(a);i=v[a+36>>2];j=v[i+16>>2];f=w[j|0];n:{if(!((f|0)==62&(f-9&255)>>>0>1)){if(v[a+172>>2]==-1?v[a+212>>2]:0){break n}v[a+84>>2]=73;v[k+16>>2]=345774;oc(0,0,0,a,0,1,73,3,0,0,0,0,350078,k+16|0);v[a+12>>2]=0;if(v[a+288>>2]){break n}v[a+212>>2]=1;break n}v[i+16>>2]=j+1;v[i+32>>2]=v[i+32>>2]+1;v[a+200>>2]=v[a+200>>2]+1;if(w[j+1|0]){break n}cd(i)}if((h|0)==1){break d}f=h?h:282804;o:{if(d){break o}d=v[a+52>>2];if(!d){d=0;break o}d=x[d+56>>1]}zy(a,76,349795,v[a+184>>2],d,f)}d=v[a>>2];p:{if(!d){break p}d=v[d+120>>2];if(v[a+212>>2]|!d){break p}Ub[d|0](v[a+4>>2],v[a+184>>2],b,c)}b=v[a+236>>2];if((b|0)>=1){c=b-1|0;v[a+236>>2]=c;d=((b|0)==1?0:b-2|0)<<2;b=v[a+244>>2];v[a+232>>2]=d+b;v[b+(c<<2)>>2]=-1}if(!e|!v[a+336>>2]){break b}h=v[a+328>>2];if((h|0)<(e|0)){v[k>>2]=e;Ub[v[259806]](v[294239],354882,k);h=v[a+328>>2];e=h}if((h|0)<1|(e|0)<1){break b}f=e&3;if(e-1>>>0>=3){b=e&-4;while(1){c=h<<2;v[(c+v[a+336>>2]|0)-4>>2]=0;v[(c+v[a+336>>2]|0)-8>>2]=0;v[(c+v[a+336>>2]|0)-12>>2]=0;h=h-4|0;v[v[a+336>>2]+(h<<2)>>2]=0;b=b-4|0;if(b){continue}break}}if(f){while(1){h=h-1|0;v[v[a+336>>2]+(h<<2)>>2]=0;f=f-1|0;if(f){continue}break}}v[a+328>>2]=h}Qb=k+48|0}function QQa(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;f=Qb-144|0;Qb=f;a:{if(!v[a+20>>2]){e=0;break a}g=w[c+11|0];h=g<<24>>24<0;ks(f+112|0,h?v[c>>2]:c,h?v[c+4>>2]:g,0);g=v[d>>2];A[f+8>>3]=A[e>>3];v[f>>2]=g;e=f+48|0;AN(e,273320,f);b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{e=Bc(e);if(e>>>0>=4294967280){v[299999]=0;R(2530,f+32|0);a=v[299999];v[299999]=0;if((a|0)==1){break m}L()}n:{o:{if(e>>>0>=11){v[299999]=0;h=e+16&-16;g=S(1,h|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break m}v[f+32>>2]=g;v[f+36>>2]=e;v[f+40>>2]=h|-2147483648;break o}t[f+43|0]=e;g=f+32|0;if(!e){break n}}gc(g,f+48|0,e)}t[e+g|0]=0;v[299999]=0;e=w[f+43|0];g=e<<24>>24<0;Y(2531,f+112|0,(g?v[f+32>>2]:f+32|0)|0,(g?v[f+36>>2]:e)|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break f}v[299999]=0;e=f+112|0;v[f+136>>2]=e;h=a+8|0;da(2532,f+16|0,h|0,e|0,467268,f+136|0,f+128|0);e=v[299999];v[299999]=0;if((e|0)==1){break l}e=v[v[f+16>>2]+28>>2];if(e){break i}g=v[a+20>>2];i=v[v[g>>2]+16>>2];e=0;v[299999]=0;g=Q(i|0,g|0,c|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break d}if(!g){break i}c=v[d>>2];v[299999]=0;c=Y(2533,b|0,g|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break d}if(!c){break i}e=v[a+36>>2];if((e|0)==-1){break j}v[299999]=0;b=S(1,20)|0;d=v[299999];v[299999]=0;if((d|0)!=1){break k}break d}c=P()|0;O()|0;break b}c=P()|0;O()|0;break c}v[b>>2]=0;d=b+8|0;p:{if(t[f+123|0]>=0){i=v[f+116>>2];v[d>>2]=v[f+112>>2];v[d+4>>2]=i;v[d+8>>2]=v[f+120>>2];break p}v[299999]=0;U(2534,d|0,v[f+112>>2],v[f+116>>2]);d=v[299999];v[299999]=0;if((d|0)==1){break e}e=v[a+36>>2]}v[b+4>>2]=a+24;d=v[a+24>>2];v[b>>2]=d;v[d+4>>2]=b;v[a+24>>2]=b;b=v[a+32>>2]+1|0;v[a+32>>2]=b;if((b|0)<=(e|0)){break j}e=v[a+28>>2];q:{if(t[e+19|0]>=0){v[f+24>>2]=v[e+16>>2];d=v[e+12>>2];v[f+16>>2]=v[e+8>>2];v[f+20>>2]=d;break q}b=v[e+12>>2];d=v[e+8>>2];v[299999]=0;U(2534,f+16|0,d|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break h}b=v[a+32>>2];e=v[a+28>>2]}d=v[e>>2];v[d+4>>2]=v[e+4>>2];v[v[e+4>>2]>>2]=d;v[a+32>>2]=b-1;if(t[e+19|0]<=-1){dc(v[e+8>>2])}dc(e);v[299999]=0;b=zz(h,f+16|0);d=v[299999];v[299999]=0;if((d|0)==1){break g}if((b|0)!=(a+12|0)){a=v[b+28>>2];if(a){Ub[v[v[a>>2]+4>>2]](a)}v[299999]=0;vX(h,b);a=v[299999];v[299999]=0;if((a|0)==1){break g}}if(t[f+27|0]>-1){break j}dc(v[f+16>>2])}v[c+160>>2]=g;a=v[v[g>>2]+8>>2];v[299999]=0;S(a|0,g|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break d}v[299999]=0;a=f+112|0;v[f+136>>2]=a;da(2532,f+16|0,h|0,a|0,467268,f+136|0,f+128|0);a=v[299999];v[299999]=0;if((a|0)==1){break d}v[v[f+16>>2]+28>>2]=c;e=c}if(t[f+43|0]<=-1){dc(v[f+32>>2])}if(t[f+123|0]>-1){break a}dc(v[f+112>>2]);break a}c=P()|0;O()|0;break c}c=P()|0;O()|0;if(t[f+27|0]>-1){break c}dc(v[f+16>>2]);break c}c=P()|0;O()|0;break c}c=P()|0;O()|0;dc(b);break c}c=P()|0;O()|0}if(t[f+43|0]>-1){break b}dc(v[f+32>>2])}if(t[f+123|0]<=-1){dc(v[f+112>>2])}T(c|0);L()}Qb=f+144|0;return e|0}function BLa(a,b){a=a|0;b=b|0;var 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,x=0,y=0,z=0;l=v[a+4>>2];d=v[l+44>>2];d=d?d:64;g=v[a+24>>2];q=v[a+20>>2];f=v[a+16>>2];r=v[a+12>>2];h=v[a+8>>2];n=t[l+36|0];a:{b:{y=v[l+48>>2];i=y&3;c:{if(!i){s=q;break c}if((n|0)<1){s=q;break c}p=-1;s=q;if(f>>>0>>0){break b}}c=0;break a}c=1}d:{e:while(1){f:{g:{if(!c){j=d;o=r-h|0;c=s-f>>1;i=(c|0)>(o|0)?o:c;h:{if((i|0)<1){break h}while(1){c=w[h|0];i:{if((c<<24)-1342177280>>24>=0){j=d;d=(c+d|0)-144|0;if((d|0)>12287){break h}u[f>>1]=d;v[g>>2]=m;d=d&-128|64;break i}j=d;if(c>>>0>32){break h}u[f>>1]=c;v[g>>2]=m;d=(c|0)==32?d:64}h=h+1|0;f=f+2|0;g=g+4|0;m=m+1|0;c=(i|0)>1;i=i-1|0;if(c){continue}break}i=0;j=d}c=0;break g}m=m+i|0;o=y>>2;while(1){if(h>>>0>=r>>>0){j=d;break d}c=w[h|0];t[((n<<24>>24)+l|0)+37|0]=c;if(c>>>0<=32){c=t[c+864480|0]}else{c=c-13|0}j:{k:{l:{j=i-1|0;switch(j|0){case 0:break j;case 1:break l;default:break k}}c=B(c,243);break j}c=B(c,59049)}n=n+1|0;h=h+1|0;e=12;if((c|0)<0){j=d;break f}o=c+o|0;i=j;if(i){continue}break}i=0;x=0;n=0;j=d;k=o+d|0;if(k>>>0>1114111){break f}c=1}while(1){m:{n:{o:{p:{q:{if(!c){r:{s:{t:{u:{v:{w:{if(f>>>0>>0){c=h;while(1){p=m;d=j;if(c>>>0>=r>>>0){h=c;break d}h=c+1|0;m=p+1|0;e=w[c|0];if((e<<24)-1342177280>>24>-1){break w}if(e>>>0>=33){if(h>>>0>>0&(e-37&255)>>>0<=213){break v}j=64;c=h;if((e|0)==255){continue}t[l+37|0]=e;if(e>>>0<80){break t}if(e>>>0>250){break u}c=B(e,243)-50480|0;i=1;break r}u[f>>1]=e;v[g>>2]=p;j=(e|0)==32?d:64;g=g+4|0;c=h;f=f+2|0;if(q>>>0>f>>>0){continue}break}}e=15;if(h>>>0>>0){break f}break d}k=(e+d|0)-144|0;if((k|0)>12287){x=n;break m}u[f>>1]=k;v[g>>2]=p;g=g+4|0;f=f+2|0;d=k&-128|64;s=v[a+20>>2];break o}o=B(e,243)+(e>>>0>143?-50480:-19504)|0;z=c+2|0;c=w[c+1|0];x:{if(c>>>0>=33){c=c-13|0;break x}m=c&31;if(((c&63)>>>0>=32?1>>>m|0:((1<>>m)&1){break q}c=t[c+864480|0]}k=c+(d+o|0)|0;if(k>>>0>=1114112){break q}m=p+2|0;x=n;h=z;break m}if(e>>>0>253){c=187660;i=3;break r}c=B(e,59049)-14810786|0;break s}if(e>>>0>=37){c=B(e,243)-19504|0;i=1;break r}if(e>>>0<34){c=-14536567;i=3;break r}c=B(e,59049)-2195326|0}i=2}y=i|c<<2;n=1;c=1;continue e}y:{z:{A:{if(k-12352>>>0<=42851){j=12400;if((k|0)<12448){break A}j=30481;if(k-19968>>>0<20902){break A}j=49617;if((k|0)>44031){break A}j=k&-128|64;break A}j=k&-128|64;if((k|0)>65535){break z}}u[f>>1]=k;f=f+2|0;c=1;d=g;break y}u[f>>1]=(k>>>10|0)-10304;c=2;d=f+2|0;if(d>>>0>=q>>>0){break p}u[f+2>>1]=k&1023|56320;v[g>>2]=p;f=f+4|0;d=g+4|0}v[d>>2]=p;g=(c<<2)+g|0;n=x;break n}t[l+37|0]=e;t[l+38|0]=w[h|0];n=2;e=12;j=d;h=z;break f}v[g>>2]=p;t[l+65|0]=1;u[l+116>>1]=k&1023|56320;g=g+4|0;e=15;f=d;n=x;break f}c=0;continue e}c=0;continue}c=1;continue}}break}v[b>>2]=e}B:{if(v[b>>2]==12){v[l+44>>2]=64;b=0;break B}v[l+44>>2]=j;b=o<<2|i}t[l+36|0]=n;v[l+48>>2]=b;v[a+24>>2]=g;v[a+16>>2]=f;v[a+8>>2]=h}function TSa(a,b){a=a|0;b=b|0;var 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,x=0;c=Qb-128|0;Qb=c;a:{b:{c:{d=a+96|0;d:{if(!w[d+1432|0]){f=a+1596|0;g=a+1628|0;if(!(!w[g+1160|0]|v[g+1172>>2]!=2)){qd(g+100|0,g,v[g+1164>>2],v[g+1168>>2]);v[g+1172>>2]=3}Dd(g);e:{if(!v[g+12>>2]){break e}v[g+1176>>2]=v[g+84>>2];d=v[g+80>>2];a=(v[g+88>>2]-d|0)+2|0;f:{if(a>>>0<=y[f+24>>2]){break f}e=v[f+20>>2];if(e){dc(e)}v[f+24>>2]=a;t=f,x=fc((a|0)!=(a&536870911)?-1:a<<3),v[t+20>>2]=x;if((a|0)==v[f+16>>2]){break f}e=v[f+12>>2];if(e){dc(e)}v[f+16>>2]=a;t=f,x=fc(a),v[t+12>>2]=x}v[f>>2]=d;v[f+4>>2]=2147483632;v[f+28>>2]=v[f+20>>2];a=v[b+8>>2];if(v[a+4>>2]!=1){v[a+4>>2]=1;ic(a+2400|0,0,513)}if(!Sf(g,f)){break e}while(1){l=v[b>>2];m=v[b+4>>2];p=v[b+8>>2];i=v[f+20>>2];o=v[f+28>>2]-i>>3;n=v[f+8>>2];while(1){a=v[i+12>>2];d=u[i+8>>1];h=u[i+10>>1];e=h>>31;e=(e^e+h)&65535;h=v[m+4>>2];g:{if(e>>>0<=h>>>0){break g}j=h;h=e+255&130816;if((j|0)==(h|0)){break g}k=v[m>>2];if(k){dc(k)}v[m+4>>2]=h;t=m,x=fc(h<<2),v[t>>2]=x}h=v[m>>2];RX(p,h,d,n,e);h:{if(v[l+16>>2]<(n|0)|v[l+8>>2]>(n|0)){break h}j=u[i+10>>1]<0;k=j?0:a;q=w[a|0];a=v[l+4>>2];i:{if((d|0)>=(a|0)){a=d;break i}d=a-d|0;e=e-d|0;if((e|0)<1){break h}k=j?0:d+k|0;h=(d<<2)+h|0}r=v[l>>2];j=a;s=n;d=v[l+12>>2];if((d|0)<(a+e|0)){d=d-a|0;if((d|0)<0){break h}e=d+1|0}ig(r,j,s,e,h,k,q)}i=i+8|0;o=o-1|0;if(o){continue}break}if(Sf(g,f)){continue}break}}break d}if(!w[d+1433|0]){v[c+112>>2]=0;v[c+116>>2]=0;v[c+120>>2]=0;v[c+124>>2]=0;v[c+104>>2]=0;v[c+108>>2]=0;v[c+96>>2]=2147483632;v[c+80>>2]=0;v[c+84>>2]=0;v[c+88>>2]=0;v[c+92>>2]=0;v[c+72>>2]=0;v[c+76>>2]=0;v[c+64>>2]=2147483632;v[c+48>>2]=0;v[c+52>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[299999]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=2147483632;da(2458,a+1628|0,d|0,c- -64|0,c+32|0,c+96|0,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break c}a=v[c+52>>2];if(a){dc(a)}a=v[c+40>>2];if(a){dc(a)}a=v[c+84>>2];if(a){dc(a)}a=v[c+72>>2];if(a){dc(a)}a=v[c+116>>2];if(a){dc(a)}a=v[c+104>>2];if(!a){break d}dc(a);break d}v[c+112>>2]=0;v[c+116>>2]=0;v[c+120>>2]=0;v[c+124>>2]=0;v[c+104>>2]=0;v[c+108>>2]=0;v[c+96>>2]=2147483632;v[c+80>>2]=0;v[c+84>>2]=0;v[c+88>>2]=0;v[c+92>>2]=0;v[c+72>>2]=0;v[c+76>>2]=0;v[c+64>>2]=2147483632;v[c+48>>2]=0;v[c+52>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=2147483632;v[c+16>>2]=0;v[c+20>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=2147483632;d=v[a+1524>>2];v[299999]=0;da(2459,a+1628|0,(((d|0)==1?1180:1304)+a|0)+96|0,c- -64|0,c+32|0,c+96|0,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break b}a=v[c+52>>2];if(a){dc(a)}a=v[c+40>>2];if(a){dc(a)}a=v[c+84>>2];if(a){dc(a)}a=v[c+72>>2];if(a){dc(a)}a=v[c+116>>2];if(a){dc(a)}a=v[c+104>>2];if(!a){break d}dc(a)}Qb=c+128|0;return}a=P()|0;O()|0;break a}a=P()|0;O()|0;Md(c)}Md(c+32|0);Md(c- -64|0);Md(c+96|0);T(a|0);L()}function s5a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=C(0),m=0,n=0;g=Qb-32|0;Qb=g;a:{b:{if(!c|!d){break b}v[(b<<2)+c>>2]=65008;v[d>>2]=1;b=v[c+4>>2];i=t[b|0];if((i-2&-3)!=41){break b}e=1;while(1){f=e+1|0;v[d>>2]=f;c:{h=t[b+1|0];b=fi(214107,h,13);if(!b){break c}b=b-214107|0;if((b|0)==12){break c}b=t[b+214120|0];j=(((b|0)>49?b:49)&255)-48|0;b=0;while(1){if(t[v[(b+f<<2)+c>>2]]-48>>>0<10){b=b+1|0;if((j|0)!=(b|0)){continue}break c}break}v[g+16>>2]=h;wc(v[252391],214133,g+16|0);b=1;break a}d:{e:{switch(h-52|0){case 58:v[d>>2]=e+2;k=a,l=C(xf(v[(f<<2)+c>>2])),z[k+52>>2]=l;break d;case 46:v[d>>2]=e+2;k=a,l=C(xf(v[(f<<2)+c>>2])),z[k+56>>2]=l;break d;case 15:b=e+2|0;v[d>>2]=b;k=a,m=1/xf(v[(f<<2)+c>>2]),A[k+80>>3]=m;v[d>>2]=e+3;k=a,m=1/xf(v[(b<<2)+c>>2]),A[k+96>>3]=m;break d;case 51:b=e+2|0;v[d>>2]=b;k=a,m=1/xf(v[(f<<2)+c>>2]),A[k+112>>3]=m;v[d>>2]=e+3;k=a,m=xf(v[(b<<2)+c>>2]),A[k+120>>3]=m;break d;case 55:v[d>>2]=e+2;k=a,n=he(v[(f<<2)+c>>2]),v[k+20>>2]=n;break d;case 31:v[d>>2]=e+2;k=a,n=he(v[(f<<2)+c>>2]),v[k+28>>2]=n;break d;case 64:v[d>>2]=e+2;k=a,n=he(v[(f<<2)+c>>2]),v[k+16>>2]=n;break d;case 61:v[d>>2]=e+2;k=a,n=he(v[(f<<2)+c>>2]),v[k+24>>2]=n;break d;case 57:v[d>>2]=e+2;k=a,n=he(v[(f<<2)+c>>2]),v[k+152>>2]=n;break d;case 20:v[d>>2]=e+2;k=a,n=he(v[(f<<2)+c>>2]),v[k+156>>2]=n;break d;case 63:e=he(v[(f<<2)+c>>2]);b=e>>31;v[a+160>>2]=b^b+e;b=v[d>>2];v[d>>2]=b+1;k=a,n=!mc(v[(b<<2)+c>>2],214164),v[k+164>>2]=n;break d;case 59:b=v[(f<<2)+c>>2];if(t[b|0]-48>>>0>9|w[b+1|0]){break d}v[d>>2]=e+2;k=a,n=he(b),v[k+168>>2]=n;break d;case 28:v[d>>2]=e+2;v[a+12>>2]=v[(f<<2)+c>>2];break d;case 23:v[d>>2]=e+2;v[a+8>>2]=v[(f<<2)+c>>2];break d;case 70:v[a+32>>2]=1;break d;case 49:v[a+36>>2]=1;break d;case 53:v[a+40>>2]=1;break d;case 47:v[a+48>>2]=1;break d;case 66:v[a+188>>2]=1;break d;case 52:v[a+180>>2]=1;case 50:v[a+184>>2]=1;break d;case 13:v[d>>2]=e+2;k=a,n=he(v[(f<<2)+c>>2]),v[k+200>>2]=n;b=v[d>>2];v[d>>2]=b+1;k=a,n=he(v[(b<<2)+c>>2]),v[k+204>>2]=n;b=v[d>>2];v[d>>2]=b+1;k=a,n=he(v[(b<<2)+c>>2]),v[k+208>>2]=n;b=v[d>>2];v[d>>2]=b+1;k=a,n=he(v[(b<<2)+c>>2]),v[k+212>>2]=n;case 45:v[a+216>>2]=1;break d;case 67:v[a+220>>2]=1;break d;case 25:v[a+224>>2]=(i&255)==43;break d;case 16:case 48:v[a+192>>2]=(h|0)==68?2:1;case 54:v[a+44>>2]=0;break d;case 35:v[a+196>>2]=1;break d;case 32:v[a+176>>2]=1;break d;case 0:v[a+172>>2]=16;break d;default:v[g>>2]=h;wc(v[252391],214168,g);b=1;break a;case 62:break e}}b=e+2|0;v[d>>2]=b;k=a,l=C(xf(v[(f<<2)+c>>2])),z[k+60>>2]=l;f=e+3|0;v[d>>2]=f;k=a,l=C(xf(v[(b<<2)+c>>2])),z[k+64>>2]=l;b=e+4|0;v[d>>2]=b;k=a,l=C(xf(v[(f<<2)+c>>2])),z[k+68>>2]=l;v[d>>2]=e+5;k=a,l=C(xf(v[(b<<2)+c>>2])),z[k+72>>2]=l}e=v[d>>2];b=v[(e<<2)+c>>2];i=t[b|0];if((i-2&-3)==41){continue}break}}b=0;if(v[a+224>>2]>-1){break a}v[a+224>>2]=v[a+220>>2]}Qb=g+32|0;return b|0}function Q_(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;i=Qb-16|0;Qb=i;a:{b:{c:{d:{e:{k=v[b+8>>2];if(y[b+4>>2]<=k+3>>>0){break e}o=v[a>>2];e=v[b+20>>2];if(e){if((Ub[e|0](b,k,i+12|0,4)|0)!=4){break e}h=v[b+8>>2];e=i+12|0;break d}e=v[b>>2];if(e){e=e+k|0;h=k;break d}v[b+8>>2]=k+4;e=2;break c}e=85;break a}f=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24);j=h+4|0;v[b+8>>2]=j;e=2;if((f<<8&16711680|f<<24|(f>>>8&65280|f>>>24))!=1954115633){break c}f=v[b+4>>2];if(f>>>0<=h+5>>>0){break b}f:{g:{h:{e=v[b+20>>2];i:{if(e){if((Ub[e|0](b,j,i+12|0,2)|0)!=2){break b}h=v[b+20>>2];j=v[b+8>>2];e=i+12|0;break i}e=v[b>>2];if(!e){break h}h=0;e=e+j|0}f=w[e+1|0];e=w[e|0];v[b+8>>2]=j+2;g=j+8|0;p=f|e<<8;if(!h){f=v[b+4>>2];break g}e=85;if(!(Ub[h|0](b,g,0,0)|0)){break f}break a}v[b+8>>2]=h+6;g=h+12|0}e=85;if(f>>>0>>0){break a}}v[b+8>>2]=g;e=142;if(!p){break a}m=-1;n=(c|0)>0?c&65535:c;q=(n|0)<0;j:{k:{l:{while(1){h=v[b+4>>2];if(h>>>0<=g+3>>>0){break l}m:{n:{o:{p:{c=v[b+20>>2];q:{if(c){if((Ub[c|0](b,g,i+12|0,4)|0)!=4){break l}h=v[b+20>>2];g=v[b+8>>2];c=i+12|0;break q}c=v[b>>2];if(!c){break p}h=0;c=c+g|0}c=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);v[b+8>>2]=g+4;j=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);c=g+8|0;if(!h){h=v[b+4>>2];break o}if(!(Ub[h|0](b,c,0,0)|0)){break n}e=85;break a}v[b+8>>2]=g+4;c=g+8|0;j=0}if(c>>>0<=h>>>0){break m}e=85;break a}h=v[b+4>>2]}v[b+8>>2]=c;r:{s:{t:{if(g+11>>>0>=h>>>0){break t}f=v[b+20>>2];u:{if(f){if((Ub[f|0](b,c,i+12|0,4)|0)!=4){break t}h=v[b+4>>2];c=v[b+8>>2];f=i+12|0;break u}f=v[b>>2];if(!f){break s}f=c+f|0}f=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);break r}e=85;break a}f=0}g=c+4|0;v[b+8>>2]=g;v:{w:{x:{if(c+7>>>0>=h>>>0){break x}c=v[b+20>>2];y:{if(c){if((Ub[c|0](b,g,i+12|0,4)|0)!=4){break x}g=v[b+8>>2];c=i+12|0;break y}c=v[b>>2];if(!c){break w}c=c+g|0}c=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);break v}e=85;break a}c=0}g=g+4|0;v[b+8>>2]=g;z:{A:{if((j|0)!=1415139377){if((j|0)!=1128875040){break A}c=c-22|0;f=f+22|0;r=1;if(q){break z}m=m+1|0;break A}c=c-24|0;f=f+24|0;r=0;if((n|0)<0){break z}m=m+1|0}if(!q&(m|0)==(n|0)){break z}l=l+1|0;if((l|0)==(p|0)){break a}continue}break}e=8;h=v[b+4>>2];if(h>>>0>>0|h-f>>>0>>0){break a}l=f+k|0;f=v[b+20>>2];B:{if(f){e=85;if(!(Ub[f|0](b,l,0,0)|0)){break B}break a}e=85;if(h>>>0>>0){break a}}v[b+8>>2]=l;if((c|0)<=0){e=6;if(c){break a}g=0;e=Lf(b,0,0);if(e){break j}break k}g=Ub[v[o+4>>2]](o,c)|0;if(!g){e=64;break a}f=ic(g,0,c);e=Lf(b,f,c);if(!e){break k}Ub[v[o+8>>2]](o,f);break j}e=85;break a}e=OH(a,g,c,n>>31&n,r?289063:333549,d)}if((e&255)!=2){break a}}a=e;c=v[b+20>>2];C:{if(c){e=85;if(!(Ub[c|0](b,k,0,0)|0)){break C}break a}e=85;if(y[b+4>>2]>>0){break a}}v[b+8>>2]=k;e=a;break a}e=85}Qb=i+16|0;return e}function tMa(a,b){a=a|0;b=b|0;var 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;h=Qb-16|0;Qb=h;k=v[a+20>>2];f=v[a+16>>2];l=v[a+12>>2];c=v[a+8>>2];v[h+8>>2]=v[a+24>>2];v[h+4>>2]=0;i=v[a+4>>2];j=v[i+8>>2];g=v[j+40>>2];a:{if(v[j+64>>2]==1){v[a+4>>2]=g;v[g+56>>2]=v[i+56>>2];nW(a,b);f=v[j+40>>2];v[i+56>>2]=v[f+56>>2];if(v[b>>2]==15){c=i;d=w[f+63|0];b=d<<24>>24;if((b|0)>=1){gc(i+76|0,f+76|0,d);f=v[j+40>>2];b=w[f+63|0]}t[c+63|0]=b;t[f+63|0]=0}v[a+4>>2]=i;break a}d=v[i+52>>2];n=w[i+35|0];j=v[g+24>>2];p=b;g=v[i+56>>2];b:{c:{d:{if(!(!g|f>>>0>=k>>>0)){i=c;break d}if(c>>>0>=l>>>0){i=c;break b}v[h+4>>2]=65535;e:{f:{g:{if(f>>>0>=k>>>0){i=c;g=d;break g}q=!n;while(1){i=c+2|0;g=x[c>>1];if(!(g>>>0>31|!(1<>2]=12;v[v[a+4>>2]+56>>2]=g;break b}e=g&15;c=v[j+52>>2];o=v[(x[c+(g>>>9&126)>>1]+(g>>>4&63)<<2)+c>>2];m=x[v[j+188>>2]+((e|o<<4&1048560)<<1)>>1];c=m>>>0<256?1:2;h:{i:{j:{if(o>>>(e|16)&1){v[h+4>>2]=m;break j}if(!(!m|g-57344>>>0>6399&q)){v[h+4>>2]=m;break j}c=v[j+224>>2];if(!c){break i}c=fs(c,g,h+4|0,n<<24>>24);if((c|0)>-1){break j}c=0-c|0}if(!c|(c|0)>2){break i}e=v[h+4>>2];if((c|0)==1&e>>>0>127){break i}if((c|0)!=2){break h}if((e+24159&65534)>>>0>23901){break i}if((e+95&254)>>>0<94){break h}}v[h+4>>2]=65535;break e}if((e|0)==65535){break e}g=e>>>0>255;k:{if((g|0)==d<<24>>24){break k}t[f|0]=e>>>0>255?14:15;f=f+1|0;d=v[h+8>>2];if(!d){break k}c=v[a+8>>2];v[h+8>>2]=d+4;v[d>>2]=(i-c>>1)-1}l:{m:{n:{e=v[h+4>>2];if(e>>>0<=255){if(f>>>0>=k>>>0){break n}t[f|0]=e;f=f+1|0;d=v[h+8>>2];if(!d){break l}c=v[a+8>>2];v[h+8>>2]=d+4;v[d>>2]=(i-c>>1)-1;break l}e=e>>>8^-128;if(f>>>0>>0){t[f|0]=e;d=v[h+8>>2];if(d){c=v[a+8>>2];v[h+8>>2]=d+4;v[d>>2]=(i-c>>1)-1}e=w[h+4|0]^-128;c=f+1|0;if(c>>>0>>0){t[f+1|0]=e;f=f+2|0;d=v[h+8>>2];if(!d){break l}c=v[a+8>>2];v[h+8>>2]=d+4;v[d>>2]=(i-c>>1)-1;break l}f=v[a+4>>2];d=t[f+63|0];t[f+63|0]=d+1;t[(d+f|0)+76|0]=e;v[b>>2]=15;f=c;break l}d=v[a+4>>2];c=t[d+63|0];t[d+63|0]=c+1;t[(c+d|0)+76|0]=e;c=w[h+4|0];e=v[a+4>>2];d=t[e+63|0];t[e+63|0]=d+1;t[(d+e|0)+76|0]=c^128;break m}d=v[a+4>>2];c=t[d+63|0];t[d+63|0]=c+1;t[(c+d|0)+76|0]=e}v[b>>2]=15}if(i>>>0>=l>>>0){break f}e=v[a+20>>2];v[h+4>>2]=65535;d=g;c=i;if(e>>>0>f>>>0){continue}break}}v[b>>2]=15}d=g;break b}c=10;if((g&63488)!=55296){break c}c=12;if(g&1024){break c}}c=0;if(i>>>0>=l>>>0){break c}c=x[i>>1];e=(c&64512)==56320;g=e?(c+(g<<10)|0)-56613888|0:g;i=(e<<1)+i|0;c=e?10:12}v[p>>2]=c;v[v[a+4>>2]+56>>2]=g}o:{if(!(d&255)|v[b>>2]>0|(!w[a+2|0]|i>>>0>>0)){break o}j=v[a+4>>2];if(v[j+56>>2]){break o}e=v[a+8>>2];c=i-e|0;p:{if((c|0)<1){c=-1;break p}d=-1;g=c>>>1|0;c=g-1|0;if((x[e+(c<<1)>>1]&64512)!=56320){break p}if(c){d=g-2|0;if((x[e+(d<<1)>>1]&64512)!=55296){break p}}c=d}v[h+12>>2]=f;Fh(j,855364,1,h+12|0,k,h+8|0,c,b);f=v[h+12>>2];d=0}v[a+16>>2]=f;v[a+8>>2]=i;v[v[a+4>>2]+52>>2]=d<<24>>24}Qb=h+16|0}function GTa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;e=Qb-48|0;Qb=e;h=v[a+464>>2];a:{b:{if(v[h+40>>2]|!v[a+280>>2]){break b}d=v[a+460>>2];v[d+24>>2]=v[d+24>>2]+(v[h+12>>2]/8|0);v[h+12>>2]=0;f=0;if(!(Ub[v[d+8>>2]](a)|0)){break a}if(v[a+336>>2]>=1){d=0;while(1){v[((d<<2)+h|0)+20>>2]=0;d=d+1|0;if((d|0)>2]){continue}break}}v[h+16>>2]=0;v[h+40>>2]=v[a+280>>2];if(v[a+436>>2]){break b}v[h+36>>2]=0}if(!v[h+36>>2]){v[e+40>>2]=a;c=v[a+24>>2];i=v[c>>2];v[e+24>>2]=i;j=v[c+4>>2];v[e+28>>2]=j;d=v[h+12>>2];g=v[h+8>>2];v[e+16>>2]=v[h+32>>2];f=v[h+28>>2];v[e+8>>2]=v[h+24>>2];v[e+12>>2]=f;f=v[h+20>>2];v[e>>2]=v[h+16>>2];v[e+4>>2]=f;if(v[a+364>>2]>=1){while(1){j=l<<2;n=v[j+b>>2];i=h+j|0;c=v[i+96>>2];c:{d:{e:{if((d|0)>7){break e}f=0;if(!bg(e+24|0,g,d,0)){break a}g=v[e+32>>2];d=v[e+36>>2];if((d|0)>7){break e}c=Wh(e+24|0,g,d,c,1);break d}f=g>>d-8&255;k=v[(c+(f<<2)|0)+144>>2];if(k){c=w[(c+f|0)+1168|0];d=d-k|0;break c}c=Wh(e+24|0,g,d,c,9)}f=0;if((c|0)<0){break a}g=v[e+32>>2];d=v[e+36>>2]}k=v[i+136>>2];m=v[i+176>>2];f:{g:{if(m){if(c){if((c|0)>(d|0)){f=0;if(!bg(e+24|0,g,d,c)){break a}g=v[e+32>>2];d=v[e+36>>2]}d=d-c|0;c=c<<2;f=v[c+72672>>2];i=g>>d&f;c=i-((i|0)>v[c+72668>>2]?0:f)|0}else{c=0}f=(v[(a+j|0)+368>>2]<<2)+e|0;c=c+v[f+4>>2]|0;v[f+4>>2]=c;u[n>>1]=c;i=1;if((m|0)<2){break g}while(1){h:{i:{j:{if((d|0)>7){break j}f=0;if(!bg(e+24|0,g,d,0)){break a}g=v[e+32>>2];d=v[e+36>>2];if((d|0)>7){break j}c=Wh(e+24|0,g,d,k,1);break i}c=g>>d-8&255;f=v[(k+(c<<2)|0)+144>>2];if(f){c=w[(c+k|0)+1168|0];d=d-f|0;break h}c=Wh(e+24|0,g,d,k,9)}f=0;if((c|0)<0){break a}g=v[e+32>>2];d=v[e+36>>2]}j=c>>>4|0;c=c&15;k:{if(c){if((c|0)>(d|0)){f=0;if(!bg(e+24|0,g,d,c)){break a}g=v[e+32>>2];d=v[e+36>>2]}j=i+j|0;d=d-c|0;c=c<<2;f=v[c+72672>>2];i=g>>d&f;u[(v[(j<<2)+70032>>2]<<1)+n>>1]=i-((i|0)>v[c+72668>>2]?0:f);break k}if((j|0)!=15){break f}j=i+15|0}i=j+1|0;if((m|0)>(i|0)){continue}break}if((j|0)<=62){break g}break f}i=1;if(!c){break g}if((c|0)>(d|0)){f=0;if(!bg(e+24|0,g,d,c)){break a}g=v[e+32>>2];d=v[e+36>>2]}d=d-c|0}while(1){l:{m:{n:{if((d|0)>7){break n}f=0;if(!bg(e+24|0,g,d,0)){break a}g=v[e+32>>2];d=v[e+36>>2];if((d|0)>7){break n}c=Wh(e+24|0,g,d,k,1);break m}c=g>>d-8&255;f=v[(k+(c<<2)|0)+144>>2];if(f){c=w[(c+k|0)+1168|0];d=d-f|0;break l}c=Wh(e+24|0,g,d,k,9)}f=0;if((c|0)<0){break a}g=v[e+32>>2];d=v[e+36>>2]}j=c>>>4|0;c=c&15;o:{if(c){if((c|0)>(d|0)){f=0;if(!bg(e+24|0,g,d,c)){break a}g=v[e+32>>2];d=v[e+36>>2]}d=d-c|0;break o}c=(j|0)!=15;j=15;if(c){break f}}i=(i+j|0)+1|0;if((i|0)<64){continue}break}}l=l+1|0;if((l|0)>2]){continue}break}j=v[e+28>>2];i=v[e+24>>2];c=v[a+24>>2]}v[c+4>>2]=j;v[c>>2]=i;v[h+12>>2]=d;v[h+8>>2]=g;v[h+32>>2]=v[e+16>>2];a=v[e+12>>2];v[h+24>>2]=v[e+8>>2];v[h+28>>2]=a;a=v[e+4>>2];v[h+16>>2]=v[e>>2];v[h+20>>2]=a}v[h+40>>2]=v[h+40>>2]-1;f=1}Qb=e+48|0;return f|0}function ESa(a,b){a=a|0;b=b|0;var 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,w=0,z=0,A=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;j=Qb-128|0;Qb=j;X=v[a+328>>2]-1|0;E=v[a+448>>2];a:{b:{while(1){k=v[a+144>>2];l=v[a+152>>2];if((k|0)>(l|0)){break b}d=v[a+456>>2];if(v[d+20>>2]|(k|0)==(l|0)&y[a+148>>2]>v[a+156>>2]+!v[a+408>>2]>>>0){break b}if(Ub[v[d>>2]](a)|0){continue}break}a=0;break a}if(v[a+36>>2]>=1){n=v[a+216>>2];while(1){c:{if(!v[n+52>>2]){break c}t=v[a+156>>2];I=X>>>0<=t>>>0;d:{if(!I){d=v[n+12>>2];m=d<<1;e=d;break d}d=v[n+12>>2];l=y[n+32>>2]%(d>>>0)|0;m=l?l:d;e=m}F=e;e:{if(t){d=(Ub[v[v[a+4>>2]+32>>2]](a,v[((o<<2)+E|0)+72>>2],B(t-1|0,d),d+m|0,0)|0)+(v[n+12>>2]<<2)|0;break e}d=Ub[v[v[a+4>>2]+32>>2]](a,v[((o<<2)+E|0)+72>>2],0,m,0)|0}Y=d;if((F|0)<1){break c}Z=F-1|0;q=v[E+112>>2]+B(o,24)|0;k=v[n+80>>2];d=x[k+4>>1];J=d<<8;K=d<<7;d=x[k+18>>1];L=d<<8;M=d<<7;l=x[k>>1];_=B(l,5);d=x[k+32>>1];N=d<<8;O=d<<7;P=B(l,9);d=x[k+16>>1];Q=d<<8;R=d<<7;d=x[k+2>>1];S=d<<8;T=d<<7;U=B(l,36);d=o<<2;$=v[(d+v[a+468>>2]|0)+4>>2];G=v[b+d>>2];p=0;while(1){d=(p<<2)+Y|0;m=v[d>>2];w=p|t?v[d-4>>2]:m;V=v[n+28>>2]-1|0;z=0;A=(p|0)==(Z|0)&I?m:v[d+4>>2];C=u[A>>1];d=C;r=u[m>>1];k=r;D=u[w>>1];l=D;H=0;while(1){h=l;l=D;W=k;k=r;f=d;d=C;gc(j,m,128);if(z>>>0>>0){C=u[A+128>>1];r=u[m+128>>1];D=u[w+128>>1]}i=v[q+4>>2];if(!(x[j+2>>1]|!i)){s=j;c=B(W-r|0,U);f:{if((c|0)>=0){e=(c+T|0)/(S|0)|0;g=e;if((i|0)<1){break f}c=1<(e|0)?e:c-1|0;break f}e=(T-c|0)/(S|0)|0;c=1<0?(c|0)>(e|0)?e:c-1|0:e)|0}u[s+2>>1]=g}i=v[q+8>>2];if(!(x[j+16>>1]|!i)){s=j;c=B(l-d|0,U);g:{if((c|0)>=0){e=(c+R|0)/(Q|0)|0;g=e;if((i|0)<1){break g}c=1<(e|0)?e:c-1|0;break g}e=(R-c|0)/(Q|0)|0;c=1<0?(c|0)>(e|0)?e:c-1|0:e)|0}u[s+16>>1]=g}i=v[q+12>>2];if(!(x[j+32>>1]|!i)){s=j;c=B((l-(k<<1)|0)+d|0,P);h:{if((c|0)>=0){e=(c+O|0)/(N|0)|0;g=e;if((i|0)<1){break h}c=1<(e|0)?e:c-1|0;break h}e=(O-c|0)/(N|0)|0;c=1<0?(c|0)>(e|0)?e:c-1|0:e)|0}u[s+32>>1]=g}c=v[q+16>>2];if(!(x[j+18>>1]|!c)){g=j;f=B((h-(f+D|0)|0)+C|0,_);i:{if((f|0)>=0){h=(f+M|0)/(L|0)|0;e=h;if((c|0)<1){break i}f=1<(h|0)?h:f-1|0;break i}h=(M-f|0)/(L|0)|0;f=1<0?(f|0)>(h|0)?h:f-1|0:h)|0}u[g+18>>1]=e}c=v[q+20>>2];if(!(x[j+4>>1]|!c)){g=j;f=B((W-(k<<1)|0)+r|0,P);j:{if((f|0)>=0){h=(f+K|0)/(J|0)|0;e=h;if((c|0)<1){break j}f=1<(h|0)?h:f-1|0;break j}h=(K-f|0)/(J|0)|0;f=1<0?(f|0)>(h|0)?h:f-1|0:h)|0}u[g+4>>1]=e}Ub[$|0](a,n,j,G,H);A=A+128|0;w=w+128|0;m=m+128|0;H=v[n+36>>2]+H|0;z=z+1|0;if(V>>>0>=z>>>0){continue}break}G=(v[n+40>>2]<<2)+G|0;p=p+1|0;if((F|0)!=(p|0)){continue}break}}n=n+88|0;o=o+1|0;if((o|0)>2]){continue}break}}b=v[a+156>>2]+1|0;v[a+156>>2]=b;a=b>>>0>2]?3:4}Qb=j+128|0;return a|0}function hI(a,b){var 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,w=0;c=v[a+36>>2];m=v[a+40>>2];l=v[a+28>>2];n=v[a+24>>2];r=l+B(n,40)|0;a:{if(b){s=8;if((n|0)<=0){break a}a=l;while(1){v[a+24>>2]=v[a+20>>2];v[a+28>>2]=v[a+8>>2];a=a+40|0;if(r>>>0>a>>>0){continue}break}break a}s=4;if((n|0)<1){break a}a=l;while(1){v[a+24>>2]=v[a+16>>2];v[a+28>>2]=v[a+4>>2];a=a+40|0;if(r>>>0>a>>>0){continue}break}}if((c|0)>=1){w=(c<<2)+m|0;while(1){j=v[m>>2];a=j;h=v[a+36>>2];b:{if(a>>>0>h>>>0){break b}c:{while(1){d:{if(x[a>>1]&s){c=a;e:while(1){d=c;g=d>>>0>=h>>>0;if(!g){c=d+40|0;if(x[d+40>>1]&s){continue}}f=1;f:{g:{e=d+40|0;c=e;k=h>>>0>>0;if(!k){while(1){if(x[c>>1]&s){break g}f=f+1|0;c=d+B(f,40)|0;if(h>>>0>=c>>>0){continue}break}}if((a|0)!=(d|0)){break f}e=v[a+24>>2]-v[a+28>>2]|0;if(!e){break b}if(a>>>0>j>>>0){break d}break c}if(f>>>0<2){continue}f=d+B(f,40)|0;o=f-40|0;f=v[d+28>>2]>v[f+28>>2];g=f?d:c;i=v[g+24>>2];g=v[g+28>>2];p=i-g|0;d=f?c:d;k=v[d+24>>2];f=v[d+28>>2];t=k-f|0;if(!((i|0)!=(k|0)&(f|0)!=(g|0))){while(1){d=v[e+28>>2];v[e+24>>2]=(d|0)>(f|0)?(d|0)<(g|0)?k:d+p|0:d+t|0;e=e+40|0;if(o>>>0>=e>>>0){continue}continue e}}u=ad(i-k|0,g-f|0);while(1){d=e;q=d;i=v[d+28>>2];h:{if((i|0)<=(f|0)){d=i+t|0;break h}d=i+p|0;if((g|0)<=(i|0)){break h}d=Ac(i-f|0,u)+k|0}v[q+24>>2]=d;e=e+40|0;if(o>>>0>=e>>>0){continue}break}continue}break}i:{if(g|k){break i}f=v[d+28>>2]>v[a+28>>2];g=f?d:a;c=v[g+24>>2];g=v[g+28>>2];o=c-g|0;f=f?a:d;k=v[f+24>>2];f=v[f+28>>2];p=k-f|0;if(!((c|0)!=(k|0)&(f|0)!=(g|0))){while(1){c=v[e+28>>2];v[e+24>>2]=(c|0)>(f|0)?(c|0)<(g|0)?k:c+o|0:c+p|0;e=e+40|0;if(h>>>0>=e>>>0){continue}break i}}t=ad(c-k|0,g-f|0);while(1){c=e;q=c;i=v[c+28>>2];j:{if((i|0)<=(f|0)){c=i+p|0;break j}c=i+o|0;if((g|0)<=(i|0)){break j}c=Ac(i-f|0,t)+k|0}v[q+24>>2]=c;e=e+40|0;if(h>>>0>=e>>>0){continue}break}}if(a>>>0<=l>>>0){break b}g=a-40|0;if(g>>>0>>0){break b}c=v[d+28>>2]>v[a+28>>2];e=c?d:a;h=v[e+24>>2];e=v[e+28>>2];k=h-e|0;a=c?a:d;d=v[a+24>>2];c=v[a+28>>2];i=d-c|0;if(!((d|0)!=(h|0)&(c|0)!=(e|0))){while(1){a=v[j+28>>2];v[j+24>>2]=(a|0)>(c|0)?(a|0)<(e|0)?d:a+k|0:a+i|0;j=j+40|0;if(g>>>0>=j>>>0){continue}break b}}u=ad(h-d|0,e-c|0);while(1){a=j;q=a;h=v[a+28>>2];k:{if((h|0)<=(c|0)){a=h+i|0;break k}a=h+k|0;if((e|0)<=(h|0)){break k}a=Ac(h-c|0,u)+d|0}v[q+24>>2]=a;j=j+40|0;if(g>>>0>=j>>>0){continue}break}break b}a=a+40|0;if(h>>>0>=a>>>0){continue}break b}break}while(1){v[j+24>>2]=e+v[j+28>>2];j=j+40|0;if(j>>>0>>0){continue}break}}c=a+40|0;if(h>>>0>>0){break b}while(1){v[a- -64>>2]=e+v[a+68>>2];a=c;c=a+40|0;if(h>>>0>=c>>>0){continue}break}}m=m+4|0;if(w>>>0>m>>>0){continue}break}}l:{if(b){if((n|0)<=0){break l}while(1){v[l+20>>2]=v[l+24>>2];l=l+40|0;if(r>>>0>l>>>0){continue}break}break l}if((n|0)<1){break l}while(1){v[l+16>>2]=v[l+24>>2];l=l+40|0;if(r>>>0>l>>>0){continue}break}}}function UI(a,b){var 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,w=0,z=0,A=0,C=0;g=Qb-32|0;d=x[a+26308>>1];if(d){m=x[a+26310>>1];e=m;while(1){e=e&65535;if(e){p=i<<1&14;n=i-1|0;s=n<<1&14;o=i+1|0;w=o<<1&14;C=v[a+26336>>2];f=v[a+26028>>2];h=0;while(1){q=x[a+26308>>1];v[g+24>>2]=0;v[g+28>>2]=0;v[g+16>>2]=0;v[g+20>>2]=0;v[g+8>>2]=0;v[g+12>>2]=0;v[g>>2]=0;v[g+4>>2]=0;j=(b|0)!=(h|0)?h:b>>>0>i>>>0?h:q-b>>>0>i>>>0?e-b|0:b;r=j&1;h=j+1|0;z=h&1;l=j-1|0;A=l&1;a:{if(n>>>0>=q>>>0){break a}k=B(e,n);if(e>>>0>l>>>0){c=(f|0)!=1?f>>>((s|A)<<1)&3:t[(x[a+26314>>1]+l&15|(x[a+26312>>1]+n&15)<<4)+194800|0];d=x[(v[a+26352>>2]+(k+l<<3)|0)+(c<<1)>>1];c=(c<<2)+g|0;v[c+16>>2]=v[c+16>>2]+1;v[c>>2]=d+v[c>>2]}if(e>>>0>j>>>0){c=(f|0)!=1?f>>>((r|s)<<1)&3:t[(x[a+26314>>1]+j&15|(x[a+26312>>1]+n&15)<<4)+194800|0];d=x[(v[a+26352>>2]+(j+k<<3)|0)+(c<<1)>>1];c=(c<<2)+g|0;v[c+16>>2]=v[c+16>>2]+1;v[c>>2]=d+v[c>>2]}if(e>>>0<=h>>>0){break a}c=(f|0)!=1?f>>>((s|z)<<1)&3:t[(x[a+26314>>1]+h&15|(x[a+26312>>1]+n&15)<<4)+194800|0];d=x[(v[a+26352>>2]+(h+k<<3)|0)+(c<<1)>>1];c=(c<<2)+g|0;v[c+16>>2]=v[c+16>>2]+1;v[c>>2]=d+v[c>>2]}b:{if(i>>>0>=q>>>0){break b}k=B(e,i);if(e>>>0>l>>>0){c=(f|0)!=1?f>>>((p|A)<<1)&3:t[(x[a+26314>>1]+l&15|(x[a+26312>>1]+i&15)<<4)+194800|0];d=x[(v[a+26352>>2]+(k+l<<3)|0)+(c<<1)>>1];c=(c<<2)+g|0;v[c+16>>2]=v[c+16>>2]+1;v[c>>2]=d+v[c>>2]}if(e>>>0>j>>>0){c=(f|0)!=1?f>>>((p|r)<<1)&3:t[(x[a+26314>>1]+j&15|(x[a+26312>>1]+i&15)<<4)+194800|0];d=x[(v[a+26352>>2]+(j+k<<3)|0)+(c<<1)>>1];c=(c<<2)+g|0;v[c+16>>2]=v[c+16>>2]+1;v[c>>2]=d+v[c>>2]}if(e>>>0<=h>>>0){break b}c=(f|0)!=1?f>>>((p|z)<<1)&3:t[(x[a+26314>>1]+h&15|(x[a+26312>>1]+i&15)<<4)+194800|0];d=x[(v[a+26352>>2]+(h+k<<3)|0)+(c<<1)>>1];c=(c<<2)+g|0;v[c+16>>2]=v[c+16>>2]+1;v[c>>2]=d+v[c>>2]}c:{if(o>>>0>=q>>>0){break c}k=B(e,o);if(e>>>0>l>>>0){c=(f|0)!=1?f>>>((w|A)<<1)&3:t[(x[a+26314>>1]+l&15|(x[a+26312>>1]+o&15)<<4)+194800|0];d=x[(v[a+26352>>2]+(k+l<<3)|0)+(c<<1)>>1];c=(c<<2)+g|0;v[c+16>>2]=v[c+16>>2]+1;v[c>>2]=d+v[c>>2]}if(e>>>0>j>>>0){c=(f|0)!=1?f>>>((r|w)<<1)&3:t[(x[a+26314>>1]+j&15|(x[a+26312>>1]+o&15)<<4)+194800|0];d=x[(v[a+26352>>2]+(j+k<<3)|0)+(c<<1)>>1];c=(c<<2)+g|0;v[c+16>>2]=v[c+16>>2]+1;v[c>>2]=d+v[c>>2]}if(e>>>0<=h>>>0){break c}d=(f|0)!=1?f>>>((w|z)<<1)&3:t[(x[a+26314>>1]+h&15|(x[a+26312>>1]+o&15)<<4)+194800|0];e=x[(v[a+26352>>2]+(h+k<<3)|0)+(d<<1)>>1];d=(d<<2)+g|0;v[d+16>>2]=v[d+16>>2]+1;v[d>>2]=e+v[d>>2]}d=(f|0)!=1?f>>>((p|r)<<1)&3:t[(x[a+26314>>1]+j&15|(x[a+26312>>1]+i&15)<<4)+194800|0];e=0;if((C|0)>=1){while(1){d:{if((d|0)==(e|0)){break d}c=e<<2;m=v[(c+g|0)+16>>2];if(!m){break d}u[(v[a+26352>>2]+(B(x[a+26310>>1],i)+j<<3)|0)+(e<<1)>>1]=y[c+g>>2]/(m>>>0)}e=e+1|0;if((C|0)!=(e|0)){continue}break}m=x[a+26310>>1]}e=m;if(h>>>0>>0){continue}break}d=x[a+26308>>1];e=m}else{e=0}i=i+1|0;if(i>>>0>>0){continue}break}}}function FD(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;g=Qb-32|0;Qb=g;a:{b:{if(!d){break b}if(w[a+8|0]){v[299999]=0;R(d|0,e|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}a=W(0)|0;O()|0;ea(a|0)|0;ka();break b}c:{d:{e:{f=v[a+16>>2];if(!f){v[g+24>>2]=0;break e}v[f+4>>2]=v[f+4>>2]+1;h=v[a+16>>2];v[g+24>>2]=h;if(!h){break e}i=v[a+84>>2];v[299999]=0;f=S(1,28)|0;j=v[299999];v[299999]=0;f:{if((j|0)==1){break f}v[f+4>>2]=0;v[f>>2]=982576;v[f+24>>2]=e;v[f+20>>2]=d;c=(c|0)<0?(i|0)>0?i-b|0:c:c;v[f+16>>2]=c;v[f+12>>2]=b;v[f+8>>2]=0;v[299999]=0;v[g+16>>2]=0;Q(4336,g+16|0,f|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break f}f=v[a+80>>2];v[299999]=0;fa(4486,h|0,b+f|0,c|0,d|0,e|0);b=v[299999];v[299999]=0;g:{if((b|0)!=1){h:{v[299999]=0;b=S(1,12)|0;c=v[299999];v[299999]=0;if((c|0)==1){break h}v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;c=b;d=v[g+16>>2];if(d){v[299999]=0;v[d+4>>2]=v[d+4>>2]+1;d=v[299999];v[299999]=0;if((d|0)==1){break h}d=v[g+16>>2]}else{d=0}v[c+8>>2]=d;v[299999]=0;Le(a+108|0,b);a=v[299999];v[299999]=0;if((a|0)==1){break h}a=v[g+16>>2];v[g+16>>2]=0;if(!a){break g}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break g}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break g}}break a}}d=P()|0;O()|0;ec(g+16|0);break d}v[299999]=0;a=v[h+4>>2]-1|0;v[h+4>>2]=a;b=v[299999];v[299999]=0;if((b|0)!=1){if(a){break b}v[299999]=0;R(4338,h|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}}break a}d=P()|0;O()|0;break d}v[299999]=0;f=S(4469,a+20|0)|0;h=v[299999];v[299999]=0;i:{j:{k:{l:{m:{if((h|0)==1){break m}if(f){break k}if((c|0)<0){break l}f=v[a+72>>2];v[299999]=0;f=Y(4481,f|0,b|0,c|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break m}if((c|0)!=(f|0)){break l}v[299999]=0;R(d|0,e|0);a=v[299999];v[299999]=0;if((a|0)!=1){break k}a=W(0)|0;O()|0;ea(a|0)|0;v[299999]=0;ba(4230);a=v[299999];v[299999]=0;if((a|0)!=1){break k}}d=P()|0;O()|0;break d}v[299999]=0;f=S(1,28)|0;h=v[299999];v[299999]=0;if((h|0)==1){break j}v[f+4>>2]=0;v[f>>2]=982576;v[f+24>>2]=e;v[f+20>>2]=d;v[f+16>>2]=c;v[f+12>>2]=b;v[f+8>>2]=0;v[299999]=0;v[g+8>>2]=0;Q(4336,g+8|0,f|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break j}v[299999]=0;b=S(1,12)|0;c=v[299999];v[299999]=0;if((c|0)==1){break i}v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;c=b;d=v[g+8>>2];if(d){v[299999]=0;v[d+4>>2]=v[d+4>>2]+1;d=v[299999];v[299999]=0;if((d|0)==1){break i}d=v[g+8>>2]}else{d=0}v[c+8>>2]=d;v[299999]=0;Le(a+108|0,b);a=v[299999];v[299999]=0;if((a|0)==1){break i}a=v[g+8>>2];v[g+8>>2]=0;if(!a){break k}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break c}if(b){break k}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break c}}v[g+24>>2]=0;break b}d=P()|0;O()|0;break d}d=P()|0;O()|0;ec(g+8|0)}ec(g+24|0);T(d|0);L()}break a}Qb=g+32|0;return}W(0)|0;O()|0;lc();L()}function kT(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{d=v[a>>2];if(!d){break b}if(Rf(v[d>>2],b)){break b}if(Rf(v[d+4>>2],c)){break b}b=v[a>>2];break a}c:{d:{e:{g=a+4|0;d=v[g>>2];if(!d){break e}if(Rf(v[d>>2],b)){break e}if(Rf(v[d+4>>2],c)){break e}c=4;e=g;break d}f:{d=v[a+8>>2];if(!d){break f}if(Rf(v[d>>2],b)){break f}if(Rf(v[d+4>>2],c)){break f}e=a+8|0;c=8;break d}e=a+12|0;g:{d=v[a+12>>2];if(!d){break g}if(Rf(v[d>>2],b)){break g}if(Rf(v[d+4>>2],c)){break g}c=12;break d}e=0;i=Qb-16|0;Qb=i;d=0;h:{j=Gj(v[v[294330]+32>>2],b);if(!j){break h}if(v[j+8>>2]<=0){break h}i:{while(1){d=v[v[j>>2]+(k<<2)>>2];h=fc(8);v[299999]=0;f=Q(3064,h|0,d|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break i}f=Xm(f,v[c+4>>2]);d=cl(v[f+4>>2],240511);dc(Dc(f));if(d){break h}k=k+1|0;if((k|0)>2]){continue}break}d=0;break h}a=P()|0;O()|0;dc(h);T(a|0);L()}j:{k:{l:{m:{n:{if(!d){o:{if(Ad(c,217754)){if(Ad(c,320870)){break o}}e=fc(24);v[299999]=0;f=S(1,8)|0;d=v[299999];v[299999]=0;if((d|0)==1){break l}v[299999]=0;Q(3064,f|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){b=P()|0;O()|0;dc(f);break k}v[299999]=0;d=S(1,8)|0;b=v[299999];v[299999]=0;if((b|0)==1){break l}v[299999]=0;Q(3064,d|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break n}b=P()|0;O()|0;dc(d);break k}if(!Ad(c,309767)){e=fc(24);v[299999]=0;f=S(1,8)|0;d=v[299999];v[299999]=0;p:{if((d|0)==1){break p}v[299999]=0;Q(3064,f|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){b=P()|0;O()|0;dc(f);break k}v[299999]=0;d=S(1,8)|0;b=v[299999];v[299999]=0;if((b|0)==1){break p}v[299999]=0;Q(3064,d|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){b=P()|0;O()|0;dc(d);break k}v[e+16>>2]=0;v[e+20>>2]=1;v[e+8>>2]=1;v[e+12>>2]=1;v[e+4>>2]=d;v[e>>2]=f;break m}b=P()|0;O()|0;break k}v[i+4>>2]=b;v[i>>2]=c;kc(1,-1,247089,i);break m}e=fc(24);v[299999]=0;h=S(1,8)|0;f=v[299999];v[299999]=0;q:{if((f|0)==1){break q}v[299999]=0;Q(3064,h|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){b=P()|0;O()|0;dc(h);break k}v[299999]=0;f=S(1,8)|0;b=v[299999];v[299999]=0;if((b|0)==1){break q}v[299999]=0;Q(3064,f|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){b=P()|0;O()|0;dc(f);break k}v[e+8>>2]=0;v[e+12>>2]=0;v[e+4>>2]=f;v[e>>2]=h;v[299999]=0;f=Q(3364,256,8)|0;c=v[299999];v[299999]=0;b=1;if((c|0)==1){break q}v[e+16>>2]=f;v[f>>2]=0;v[f+4>>2]=0;while(1){f=b<<3;c=f+v[e+16>>2]|0;v[c>>2]=0;v[c+4>>2]=0;c=f+v[e+16>>2]|0;v[c+8>>2]=0;v[c+12>>2]=0;c=f+v[e+16>>2]|0;v[c+16>>2]=0;v[c+20>>2]=0;b=b+3|0;if((b|0)!=256){continue}break}v[e+20>>2]=1;mT(e,a,3370,d);Be(d);break m}b=P()|0;O()|0;break k}v[e+16>>2]=0;v[e+20>>2]=1;v[e+8>>2]=1;v[e+12>>2]=0;v[e+4>>2]=d;v[e>>2]=f}Qb=i+16|0;b=e;break j}b=P()|0;O()|0}dc(e);T(b|0);L()}if(!b){return 0}c=v[a+12>>2];if(c){fo(c)}d=v[a+4>>2];c=v[a>>2];v[g+8>>2]=v[a+8>>2];v[g>>2]=c;v[g+4>>2]=d;break c}b=v[e>>2];Wd(g,a,c)}v[a>>2]=b}v[b+20>>2]=v[b+20>>2]+1;return b}function aS(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;g=Qb-32|0;Qb=g;v[g+16>>2]=13;v[g>>2]=13;a:{b:{c:{if((d|0)>=51){kc(1,-1,239919,0);break c}d:{e:{f:{if(v[a>>2]!=9){break f}h=v[b+4>>2];j=v[h+8>>2];if((j|0)<1){break f}e=v[a+8>>2];l=v[a+12>>2];i=v[h>>2];while(1){h=v[i+(k<<2)>>2];if((e|0)==v[h>>2]&(l|0)==v[h+4>>2]){break e}k=k+1|0;if((j|0)!=(k|0)){continue}break}}qf(a,c,g+16|0,0);if(v[g+16>>2]==6){break d}hc(g+16|0);break c}f=fc(16);v[299999]=0;a=S(1,12)|0;b=v[299999];v[299999]=0;if((b|0)!=1){b=v[h+8>>2];v[299999]=0;Q(3789,a|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}v[f+12>>2]=0;v[f+4>>2]=h;v[f>>2]=a;break c}break a}a=v[g+24>>2];g:{if(v[a+12>>2]>=1){a=v[yc(a,0,g,0)>>2];f=fc(16);h:{i:{if((a|0)==3){v[299999]=0;e=v[g+8>>2];a=S(1,12)|0;k=v[299999];v[299999]=0;if((k|0)!=1){v[299999]=0;Q(3316,a|0,e|0)|0;e=v[299999];v[299999]=0;if((e|0)!=1){break i}break b}break a}v[299999]=0;a=S(1,12)|0;e=v[299999];v[299999]=0;if((e|0)!=1){k=0;v[299999]=0;v[a+8>>2]=0;v[a>>2]=0;v[a+4>>2]=0;e=v[299999];v[299999]=0;if((e|0)==1){break b}v[f+4>>2]=0;v[f+8>>2]=0;v[f>>2]=a;break h}break a}v[f+4>>2]=0;v[f>>2]=a;k=1}v[f+12>>2]=0;hc(g);break g}f=fc(16);v[299999]=0;a=S(1,12)|0;e=v[299999];v[299999]=0;j:{if((e|0)!=1){v[299999]=0;v[a+8>>2]=0;v[a>>2]=0;v[a+4>>2]=0;e=v[299999];v[299999]=0;if((e|0)!=1){break j}break b}break a}k=0;v[f+12>>2]=0;v[f+4>>2]=0;v[f+8>>2]=0;v[f>>2]=a}a=v[g+24>>2];if(v[a+12>>2]>(k|0)){n=d+1|0;while(1){hg(a,k,g);k:{e=aS(g,b,c,n);if(!e){break k}l:{m:{n:{o:{if(v[e+4>>2]|v[e>>2]){break o}a=v[f+12>>2];if(!a){break n}d=v[a+8>>2];if((d|0)<1){break o}l=v[e+12>>2];p:{if(!l){break p}i=v[l+8>>2];if((i|0)<1){break p}h=v[(v[a>>2]+(d<<2)|0)-4>>2];a=0;v[e+12>>2]=0;j=i&3;d=v[l>>2];if(i-1>>>0>=3){m=i&-4;while(1){i=a<<2;v[v[i+d>>2]+8>>2]=0;v[v[d+(i|4)>>2]+8>>2]=0;v[v[d+(i|8)>>2]+8>>2]=0;v[v[d+(i|12)>>2]+8>>2]=0;a=a+4|0;m=m-4|0;if(m){continue}break}}if(j){while(1){v[v[d+(a<<2)>>2]+8>>2]=0;a=a+1|0;j=j-1|0;if(j){continue}break}}q:{r:{d=v[h+12>>2];if(!d){a=fc(16);v[299999]=0;d=S(3315,a|0)|0;j=v[299999];v[299999]=0;if((j|0)==1){break r}v[h+12>>2]=a}gF(d,l);a=v[l+8>>2];s:{if((a|0)<1){break s}j=a&3;i=v[l>>2];d=0;if(a-1>>>0>=3){a=a&-4;while(1){m=d<<2;v[v[m+i>>2]+8>>2]=h;v[v[i+(m|4)>>2]+8>>2]=h;v[v[i+(m|8)>>2]+8>>2]=h;v[v[i+(m|12)>>2]+8>>2]=h;d=d+4|0;a=a-4|0;if(a){continue}break}}if(!j){break s}while(1){v[v[i+(d<<2)>>2]+8>>2]=h;d=d+1|0;j=j-1|0;if(j){continue}break}}dc(Vc(l));break q}b=P()|0;O()|0;dc(a);T(b|0);L()}}dc(qE(e));break k}a=v[f+12>>2];if(a){break m}}d=fc(16);v[299999]=0;a=S(3315,d|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break l}v[f+12>>2]=d}Tc(a,e);v[e+8>>2]=f;break k}a=P()|0;O()|0;dc(d);T(a|0);L()}hc(g);k=k+1|0;a=v[g+24>>2];if((k|0)>2]){continue}break}}hc(g+16|0)}Qb=g+32|0;return f}b=P()|0;O()|0;dc(a);dc(f);T(b|0);L()}a=P()|0;O()|0;dc(f);T(a|0);L()}function Sgb(a,b){a=a|0;b=b|0;var 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,u=0,x=0;d=Qb+-64|0;Qb=d;b=0;c=v[a+8>>2];a:{if(c&7){break a}b:{c:{b=v[a+64>>2];if((b|0)>=0&(b|0)<=v[a+60>>2]){break c}b=v[a+28>>2];v[a+28>>2]=b-1;d:{if((b|0)>=1){v[a+60>>2]=v[a+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;f=w[b|0];break d}f=Hc(a,1);if((f|0)==-1){b=0;break a}c=v[a+8>>2]}b=0;if(c&7){break a}b=v[a+64>>2];if((b|0)>=0&(b|0)<=v[a+60>>2]){break c}b=v[a+28>>2];v[a+28>>2]=b-1;if((b|0)>=1){v[a+60>>2]=v[a+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;b=w[b|0];break b}b=Hc(a,1);if((b|0)!=-1){break b}b=0;break a}v[a+8>>2]=c|4;b=0;break a}b=b&255|f<<8&65280;v[d+40>>2]=b;if((b|0)!=20551){b=0;break a}b=ri(a);if((b|0)==-1){b=0;break a}if(!((b|0)==32|b-9>>>0<5)){b=0;break a}while(1){b=ri(a);if((b|0)==-1){b=0;break a}if((b|0)==32|b-9>>>0<5){continue}break}c=ri(a);if((c|0)==-1){b=0;break a}c=c<<24;f=b<<24;e:{if((f|0)==1291845632){b=1;if((c|0)==1275068416){break e}}b=0;if((f|0)!=1275068416|(c|0)!=1291845632){break a}}t[d+44|0]=b;while(1){b=ri(a);if((b|0)==-1){b=0;break a}if(!((b|0)==32|b-9>>>0<5)){continue}break}while(1){c=ri(a);if((c|0)==-1){b=0;break a}if((c|0)==32|c-9>>>0<5){continue}break}b=0;f:{switch(c-43|0){case 2:b=1;break;case 0:break f;default:break a}}t[d+45|0]=b;while(1){b=0;c=ri(a);if((c|0)==-1){break a}if(!((c|0)==32|c-9>>>0<5)){continue}break}if(HJ(a,d+48|0)){break a}if(HJ(a,d+52|0)){break a}if(HJ(a,d+56|0)){break a}c=vB();if(!c){break a}v[d+16>>2]=1;v[d+20>>2]=1;v[d+8>>2]=0;v[d+12>>2]=0;h=v[d+52>>2];v[d+24>>2]=h;i=v[d+56>>2];v[d+28>>2]=i;e=v[d+48>>2];v[d+32>>2]=e;k=w[d+45|0];v[d+36>>2]=k;g:{h:{if(Kq(c,0,d+8|0)){break h}f=yj(1,h);if(!f){break h}if(!i){break g}l=(e+7|0)/8|0;i:{if(!h){a=0;while(1){if(cj(c,0,0,a,0,1,f)){break i}a=a+1|0;if((i|0)!=(a|0)){continue}break}break g}if((e|0)>32){break i}j:{k:{if((e|0)>=1){q=(l|0)>1?l:1;r=1<>2];if(g&7){break i}p=v[a+64>>2];if((p|0)>=0&v[a+60>>2]>=(p|0)){break k}g=v[a+28>>2];v[a+28>>2]=g-1;l:{if((g|0)>=1){v[a+60>>2]=v[a+60>>2]+1;g=v[a+24>>2];v[a+24>>2]=g+1;g=w[g|0];break l}g=Hc(a,1);if((g|0)==-1){break i}}m=(g&255)<<((x?(e^-1)+l|0:e)<<3)|m;e=e+1|0;if((q|0)!=(e|0)){continue}break}e=m&u;if((e|0)<0){break i}e=e&s;v[v[v[f+28>>2]>>2]+(j<<2)>>2]=e-(k?e&r?o:0:0);j=j+1|0;if((j|0)!=(h|0)){continue}break}if(cj(c,0,0,n,h,1,f)){break i}n=n+1|0;if((n|0)!=(i|0)){continue}break}break g}e=h<<2;a=0;if(k){break j}while(1){ic(v[v[f+28>>2]>>2],0,e);if(cj(c,0,0,a,h,1,f)){break i}a=a+1|0;if((i|0)!=(a|0)){continue}break}break g}v[a+8>>2]=g|4;break i}while(1){ic(v[v[f+28>>2]>>2],0,e);if(cj(c,0,0,a,h,1,f)){break i}a=a+1|0;if((i|0)!=(a|0)){continue}break}break g}$e(f)}Wg(c);break a}$e(f);v[c+28>>2]=769;v[v[v[c+24>>2]>>2]+40>>2]=0;b=c}Qb=d- -64|0;return b|0}function vUa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=v[a+408>>2];f=v[a+464>>2];a:{if(v[a+224>>2]){c=v[a+412>>2];b:{c:{d:{if(!b){if(!c){break d}break c}if((b|0)>(c|0)|(c|0)>v[a+432>>2]|v[a+336>>2]!=1){break c}}c=v[a+416>>2];e:{if(!c){e=v[a+420>>2];break e}e=c-1|0;if((e|0)!=v[a+420>>2]){break c}}if((e|0)<14){break b}}c=v[a>>2];v[c+24>>2]=b;v[c+20>>2]=17;v[v[a>>2]+28>>2]=v[a+412>>2];v[v[a>>2]+32>>2]=v[a+416>>2];v[v[a>>2]+36>>2]=v[a+420>>2];Ub[v[v[a>>2]>>2]](a)}b=v[a+336>>2];if((b|0)>=1){e=0;while(1){d=v[v[((e<<2)+a|0)+340>>2]+4>>2];g=v[a+160>>2];c=v[a+408>>2];b=0;f:{if(!c){break f}b=c;if(v[g+(d<<8)>>2]>-1){break f}b=v[a>>2];v[b+24>>2]=d;v[b+20>>2]=118;v[v[a>>2]+28>>2]=0;Ub[v[v[a>>2]+4>>2]](a,-1);b=v[a+408>>2]}if((b|0)<=v[a+412>>2]){while(1){c=(g+(d<<8)|0)+(b<<2)|0;h=v[c>>2];if(v[a+416>>2]!=(((h|0)>0?h:0)|0)){h=v[a>>2];v[h+24>>2]=d;v[h+20>>2]=118;v[v[a>>2]+28>>2]=b;Ub[v[v[a>>2]+4>>2]](a,-1)}v[c>>2]=v[a+420>>2];c=v[a+412>>2]>(b|0);b=b+1|0;if(c){continue}break}}b=v[a+336>>2];e=e+1|0;if((b|0)>(e|0)){continue}break}}e=v[a+408>>2];v[f+4>>2]=v[a+416>>2]?e?268:269:e?270:271;g:{if((b|0)<1){break g}b=0;while(1){d=b<<2;c=v[(d+a|0)+340>>2];h:{if(!e){if(v[a+416>>2]){break h}c=v[c+20>>2];Jz(a,1,c,((c<<2)+f|0)+44|0);break h}e=v[c+24>>2];c=(e<<2)+f|0;Jz(a,0,e,c+44|0);v[f+60>>2]=v[c+44>>2]}v[(d+f|0)+20>>2]=0;b=b+1|0;if((b|0)>=v[a+336>>2]){break g}e=v[a+408>>2];continue}}v[f+16>>2]=0;break a}i:{if(!(v[a+420>>2]|(v[a+416>>2]|b))){b=v[a+412>>2];if(!v[a+220>>2]&(b|0)>63|(b|0)==v[a+432>>2]){break i}}b=v[a>>2];v[b+20>>2]=125;Ub[v[b+4>>2]](a,-1)}v[f+4>>2]=v[a+432>>2]==63?272:273;b=0;if(v[a+336>>2]>0){while(1){c=b<<2;d=v[(c+a|0)+340>>2];g=v[d+20>>2];Jz(a,1,g,((g<<2)+f|0)- -64|0);if(v[a+432>>2]){d=v[d+24>>2];Jz(a,0,d,((d<<2)+f|0)+80|0)}v[(c+f|0)+20>>2]=0;b=b+1|0;if((b|0)>2]){continue}break}}if(v[a+364>>2]<=0){break a}while(1){b=e<<2;g=b+f|0;b=v[((v[(a+b|0)+368>>2]<<2)+a|0)+340>>2];v[g+96>>2]=v[((v[b+20>>2]<<2)+f|0)- -64>>2];v[g+136>>2]=v[((v[b+24>>2]<<2)+f|0)+80>>2];j:{if(!v[b+52>>2]){b=0;break j}c=v[b+36>>2];d=v[b+40>>2];b=1;k:{l:{switch(v[a+432>>2]){case 3:b=(((d|0)!=1)<<3|((c|0)!=1)<<2)+71824|0;break k;case 8:b=d-1|0;d=B(b>>>0<2?b:2,12);b=c-1|0;b=(d+((b>>>0<2?b:2)<<2)|0)+71840|0;break k;case 15:b=d-1|0;d=(b>>>0<3?b:3)<<4;b=c-1|0;b=(d+((b>>>0<3?b:3)<<2)|0)+71888|0;break k;case 24:b=d-1|0;d=B(b>>>0<4?b:4,20);b=c-1|0;b=(d+((b>>>0<4?b:4)<<2)|0)+71952|0;break k;case 35:b=d-1|0;d=B(b>>>0<5?b:5,24);b=c-1|0;b=(d+((b>>>0<5?b:5)<<2)|0)+72064|0;break k;case 48:b=d-1|0;d=B(b>>>0<6?b:6,28);b=c-1|0;b=(d+((b>>>0<6?b:6)<<2)|0)+72208|0;break k;case 0:break j;default:break l}}b=d-1|0;d=(b>>>0<7?b:7)<<5;b=c-1|0;b=(d+((b>>>0<7?b:7)<<2)|0)+72416|0}b=v[b>>2]+1|0}v[g+176>>2]=b;e=e+1|0;if((e|0)>2]){continue}break}}v[f+36>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;v[f+40>>2]=v[a+280>>2]}function e0a(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;k=Qb-16|0;Qb=k;i=Fd(a,2496,k+12|0);e=v[k+12>>2];if(!e){v[i>>2]=a;v[i+212>>2]=x[b+120>>1];d=w[b+124|0];a:{if(!d){break a}j=d-1|0;a=i+224|0;e=b+128|0;f=d&7;b:{if(!f){g=d;break b}g=d;while(1){v[a>>2]=u[e>>1];g=g-1|0;e=e+2|0;a=a+12|0;f=f-1|0;if(f){continue}break}}if(j>>>0<7){break a}while(1){v[a>>2]=u[e>>1];v[a+12>>2]=u[e+2>>1];v[a+24>>2]=u[e+4>>1];v[a+36>>2]=u[e+6>>1];v[a+48>>2]=u[e+8>>1];v[a+60>>2]=u[e+10>>1];v[a+72>>2]=u[e+12>>1];v[a+84>>2]=u[e+14>>1];e=e+16|0;a=a+96|0;g=g-8|0;if(g){continue}break}}g=1;v[i+208>>2]=d+1;v[i+8>>2]=x[b+122>>1];d=w[b+125|0];c:{if(!d){break c}j=d-1|0;a=i+20|0;e=b+154|0;h=d&7;d:{if(!h){f=d;break d}f=d;while(1){v[a>>2]=u[e>>1];f=f-1|0;e=e+2|0;a=a+12|0;h=h-1|0;if(h){continue}break}}if(j>>>0<7){break c}while(1){v[a>>2]=u[e>>1];v[a+12>>2]=u[e+2>>1];v[a+24>>2]=u[e+4>>1];v[a+36>>2]=u[e+6>>1];v[a+48>>2]=u[e+8>>1];v[a+60>>2]=u[e+10>>1];v[a+72>>2]=u[e+12>>1];v[a+84>>2]=u[e+14>>1];e=e+16|0;a=a+96|0;f=f-8|0;if(f){continue}break}}v[i+4>>2]=d+1;f=0;a=i+412|0;MZ(a,w[b+8|0],b+12|0,w[b+9|0],b+40|0,v[b+116>>2],0);MZ(a,w[b+10|0],b+60|0,w[b+11|0],b+88|0,v[b+116>>2],1);a=w[b+8|0];e:{if(!a){break e}d=a-1|0;a=(d>>>1|0)+1|0;j=a&1;if(d>>>0>=2){h=a&-2;e=b+12|0;while(1){a=f<<1;d=x[e+(a|6)>>1]-x[e+(a|4)>>1]|0;a=x[e+(a|2)>>1]-x[a+e>>1]|0;a=a<<16>>16>g<<16>>16?a:g;g=d<<16>>16>a<<16>>16?d:a;f=f+4|0;h=h-2|0;if(h){continue}break}}if(!j){break e}a=b+12|0;d=f<<1;a=x[a+(d|2)>>1]-x[a+d>>1]|0;g=a<<16>>16>g<<16>>16?a:g}a=w[b+9|0];f:{if(!a){break f}d=a-1|0;a=(d>>>1|0)+1|0;j=a&1;g:{if(d>>>0<2){f=0;break g}h=a&-2;f=0;e=b+40|0;while(1){a=f<<1;d=x[e+(a|6)>>1]-x[e+(a|4)>>1]|0;a=x[e+(a|2)>>1]-x[a+e>>1]|0;a=a<<16>>16>g<<16>>16?a:g;g=d<<16>>16>a<<16>>16?d:a;f=f+4|0;h=h-2|0;if(h){continue}break}}if(!j){break f}a=b+40|0;d=f<<1;a=x[a+(d|2)>>1]-x[a+d>>1]|0;g=a<<16>>16>g<<16>>16?a:g}a=w[b+10|0];h:{if(!a){break h}d=a-1|0;a=(d>>>1|0)+1|0;j=a&1;i:{if(d>>>0<2){f=0;break i}h=a&-2;f=0;e=b+60|0;while(1){a=f<<1;d=x[e+(a|6)>>1]-x[e+(a|4)>>1]|0;a=x[e+(a|2)>>1]-x[a+e>>1]|0;a=a<<16>>16>g<<16>>16?a:g;g=d<<16>>16>a<<16>>16?d:a;f=f+4|0;h=h-2|0;if(h){continue}break}}if(!j){break h}a=b+60|0;d=f<<1;a=x[a+(d|2)>>1]-x[a+d>>1]|0;g=a<<16>>16>g<<16>>16?a:g}a=w[b+11|0];j:{if(!a){break j}d=a-1|0;a=(d>>>1|0)+1|0;j=a&1;k:{if(d>>>0<2){f=0;break k}h=a&-2;f=0;e=b+88|0;while(1){a=f<<1;d=x[e+(a|6)>>1]-x[e+(a|4)>>1]|0;a=x[e+(a|2)>>1]-x[a+e>>1]|0;a=a<<16>>16>g<<16>>16?a:g;g=d<<16>>16>a<<16>>16?d:a;f=f+4|0;h=h-2|0;if(h){continue}break}}if(!j){break j}a=b+88|0;d=f<<1;a=x[a+(d|2)>>1]-x[a+d>>1]|0;g=a<<16>>16>g<<16>>16?a:g}d=ad(1e3,g<<16>>16);a=v[b+108>>2];v[i+2476>>2]=(a|0)<(d|0)?a:d;v[i+2480>>2]=v[b+112>>2];a=v[b+116>>2];v[i+404>>2]=0;v[i+408>>2]=0;v[i+200>>2]=0;v[i+204>>2]=0;v[i+2488>>2]=a;e=v[k+12>>2]}v[c>>2]=i;Qb=k+16|0;return e|0}function W8a(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,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,z=0,A=0,B=0;if(w[a+288|0]?1:w[a+286|0]|!w[a+285|0]){pc(a,1029,0,0);return 1029}if(c>>>0>=21){pc(a,1028,0,0);return 1028}h=1;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{if(c>>>0>20){break l}i=1;m:{if(!(1<>>0>5){break m}h=0;if(w[d+8|0]|w[d+10|0]|(w[d+12|0]|w[d+14|0])){break m}if(w[d+16|0]){break m}}g=w[d+2|0]|w[d+3|0]<<8;o=g<<8|g>>>8;g=w[d|0]|w[d+1|0]<<8;p=g<<8|g>>>8;g=w[d+5|0];if(c>>>0<7){f=g;h=1;break i}f=w[d+6|0]|w[d+7|0]<<8;i=f<<8|f>>>8;if(c>>>0<9){break b}f=w[d+8|0]|w[d+9|0]<<8;h=f<<8|f>>>8;if(c>>>0<11){break e}f=w[d+10|0]|w[d+11|0]<<8;k=f<<8|f>>>8;if(c>>>0<13){break f}f=w[d+12|0]|w[d+13|0]<<8;l=f<<8|f>>>8;if(c>>>0<15){break g}f=w[d+14|0]|w[d+15|0]<<8;m=f<<8|f>>>8;if(c>>>0<17){break h}f=w[d+16|0]|w[d+17|0]<<8;j=f<<8|f>>>8;n=19;f=g;if(c>>>0>18){break k}break a}i=h&255|f<<8;c=w[d+15|0]|w[d+16|0]<<8;j=c<<8|c>>>8;c=w[d+13|0]|w[d+14|0]<<8;m=c<<8|c>>>8;c=w[d+11|0]|w[d+12|0]<<8;l=c<<8|c>>>8;c=w[d+9|0]|w[d+10|0]<<8;k=c<<8|c>>>8;c=w[d+7|0]|w[d+8|0]<<8;h=c<<8|c>>>8;c=w[d+2|0]|w[d+3|0]<<8;o=c<<8|c>>>8;c=w[d|0]|w[d+1|0]<<8;p=c<<8|c>>>8;n=17;break k}f=w[d|0]|w[d+1|0]<<8;p=f<<8|f>>>8;n:{o:{if(c>>>0<3){o=p;break o}f=w[d+2|0]|w[d+3|0]<<8;o=f<<8|f>>>8;if(c>>>0>=5){break n}}f=0;break j}g=w[d+4|0];if((c|0)==5){f=g;break j}f=w[d+5|0]|w[d+6|0]<<8;i=f<<8|f>>>8;if(c>>>0<8){break b}f=w[d+7|0]|w[d+8|0]<<8;h=f<<8|f>>>8;if(c>>>0<10){break e}f=w[d+9|0]|w[d+10|0]<<8;k=f<<8|f>>>8;if(c>>>0<12){break f}f=w[d+11|0]|w[d+12|0]<<8;l=f<<8|f>>>8;if(c>>>0<14){break g}f=w[d+13|0]|w[d+14|0]<<8;m=f<<8|f>>>8;if(c>>>0<16){break h}f=w[d+15|0]|w[d+16|0]<<8;j=f<<8|f>>>8;n=17;f=g;if(c>>>0<18){break a}}f=w[d+n|0];break a}i=1}k=1;l=1;m=1;j=1;break a}f=g;j=h;break a}f=g;break c}f=g;break d}k=i;f=g}l=i}m=h;j=h;break a}f=g;h=i;k=h;l=h;m=h;j=h}if(!((f&255)>>>0<6&g>>>0<=5)){pc(a,1064,0,0);return 1064}d=p&65535;n=o&65535;r=i&65535;s=h&65535;x=k&65535;y=l&65535;z=m&65535;A=j&65535;B=f&255;c=Ub[v[a+152>>2]](48)|0;p:{if(!c){pc(a,1,0,0);c=1;break p}v[c+4>>2]=747;v[c>>2]=748;q=v[a+700>>2];q:{if(q){v[q+8>>2]=c;break q}v[a+696>>2]=c}v[c+8>>2]=0;v[c+12>>2]=q;v[a+700>>2]=c;v[c+16>>2]=v[a+436>>2];v[c+20>>2]=v[a+440>>2];v[c+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=c}t[c+46|0]=B;u[c+44>>1]=A;u[c+42>>1]=z;u[c+40>>1]=y;u[c+38>>1]=x;u[c+36>>1]=s;u[c+34>>1]=r;t[c+32|0]=g;u[c+30>>1]=n;u[c+28>>1]=d;c=Y0(a,d,n,g,r,s,x,y,z,A,B)}r:{if(c){break r}c=0;if(!w[a+112|0]){break r}c=Ub[v[b+4>>2]](a,b,e)|0;if(c){break r}a=v[e>>2];t[a+50|0]=f;u[a+48>>1]=j;u[a+46>>1]=m;u[a+44>>1]=l;u[a+42>>1]=k;u[a+40>>1]=h;u[a+38>>1]=i;t[a+36|0]=g;u[a+34>>1]=o;u[a+32>>1]=p;c=0}return c|0}function oA(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=Qb-16|0;Qb=j;e=Fd(v[a+100>>2],(v[a+16>>2]<<1)+392|0,j+4|0);d=v[j+4>>2];if(!d){v[e>>2]=a;f=v[a+16>>2];v[e+388>>2]=c;g=e+392|0;v[e+8>>2]=g;v[e+4>>2]=f;v[e+368>>2]=0;v[e+372>>2]=0;c=0;u[e+364>>1]=0;v[e+376>>2]=0;v[e+380>>2]=0;v[e+384>>2]=0;m=v[a+92>>2];a:{if(!f){break a}d=f&7;if(f-1>>>0>=7){h=f&-8;while(1){f=c<<1;u[f+g>>1]=16383;u[(f|2)+g>>1]=16383;u[(f|4)+g>>1]=16383;u[(f|6)+g>>1]=16383;u[(f|8)+g>>1]=16383;u[(f|10)+g>>1]=16383;u[(f|12)+g>>1]=16383;u[(f|14)+g>>1]=16383;c=c+8|0;h=h-8|0;if(h){continue}break}}if(!d){break a}while(1){u[(c<<1)+g>>1]=16383;c=c+1|0;d=d-1|0;if(d){continue}break}}b:{if(bA(a)){break b}h=0;d=367384;while(1){i=v[(v[d+8>>2]<<2)+369232>>2];c=v[i+4>>2];c:{if(!c|v[d+16>>2]!=10){break c}d=v[c>>2];if(d){while(1){f=c;c=Fg(a,d);v[j+12>>2]=c;d:{if(!c|c>>>0>=y[e+4>>2]){break d}c=(c<<1)+g|0;if((x[c>>1]&16383)!=16383){break d}u[c>>1]=h}d=aA(a,d,j+12|0);while(1){c=v[j+12>>2];if(!(!c|y[f+4>>2]>>0)){e:{if(c>>>0>=y[e+4>>2]){break e}c=(c<<1)+g|0;if((x[c>>1]&16383)!=16383){break e}u[c>>1]=h}d=aA(a,d,j+12|0);continue}break}c=f+8|0;d=v[f+8>>2];if(d){continue}break}}c=v[i+8>>2];d=v[c>>2];if(!d){break c}while(1){f=c;c=Fg(a,d);v[j+8>>2]=c;f:{if(!c|c>>>0>=y[e+4>>2]){break f}c=(c<<1)+g|0;i=x[c>>1];if((i&16383)!=(h&65535)){break f}u[c>>1]=i|16384}d=aA(a,d,j+8|0);while(1){c=v[j+8>>2];if(!(!c|y[f+4>>2]>>0)){g:{if(c>>>0>=y[e+4>>2]){break g}c=(c<<1)+g|0;i=x[c>>1];if((i&16383)!=(h&65535)){break g}u[c>>1]=i|16384}d=aA(a,d,j+8|0);continue}break}c=f+8|0;d=v[f+8>>2];if(d){continue}break}}h=h+1|0;d=v[(h<<2)+369488>>2];if((h|0)!=87){continue}break}c=Fg(a,48);if(!(!c|c>>>0>=y[e+4>>2])){c=(c<<1)+g|0;u[c>>1]=x[c>>1]|32768}c=Fg(a,49);if(!(!c|c>>>0>=y[e+4>>2])){c=(c<<1)+g|0;u[c>>1]=x[c>>1]|32768}c=Fg(a,50);if(!(!c|c>>>0>=y[e+4>>2])){c=(c<<1)+g|0;u[c>>1]=x[c>>1]|32768}c=Fg(a,51);if(!(!c|c>>>0>=y[e+4>>2])){c=(c<<1)+g|0;u[c>>1]=x[c>>1]|32768}c=Fg(a,52);if(!(!c|c>>>0>=y[e+4>>2])){c=(c<<1)+g|0;u[c>>1]=x[c>>1]|32768}c=Fg(a,53);if(!(!c|c>>>0>=y[e+4>>2])){c=(c<<1)+g|0;u[c>>1]=x[c>>1]|32768}c=Fg(a,54);if(!(!c|c>>>0>=y[e+4>>2])){c=(c<<1)+g|0;u[c>>1]=x[c>>1]|32768}c=Fg(a,55);if(!(!c|c>>>0>=y[e+4>>2])){c=(c<<1)+g|0;u[c>>1]=x[c>>1]|32768}c=Fg(a,56);if(!(!c|c>>>0>=y[e+4>>2])){c=(c<<1)+g|0;u[c>>1]=x[c>>1]|32768}c=Fg(a,57);if(!c|c>>>0>=y[e+4>>2]){break b}c=(c<<1)+g|0;u[c>>1]=x[c>>1]|32768}f=v[v[e+388>>2]+12>>2];h:{if((f|0)==16383){break h}h=v[e+4>>2];if((h|0)<1){break h}d=0;if((h|0)!=1){c=h&-2;while(1){i=d<<1;k=i+g|0;l=x[k>>1];if((l&16383)==16383){u[k>>1]=f|l&49152}i=(i|2)+g|0;k=x[i>>1];if((k&16383)==16383){u[i>>1]=f|k&49152}d=d+2|0;c=c-2|0;if(c){continue}break}}if(!(h&1)){break h}c=(d<<1)+g|0;d=x[c>>1];if((d&16383)!=16383){break h}u[c>>1]=f|d&49152}qq(a,m);v[e+12>>2]=0;d=0}v[b>>2]=e;Qb=j+16|0;return d}function bOa(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,z=0,A=0,B=0,C=0;i=Qb-32|0;Qb=i;v[i+28>>2]=f;a:{if(!h|v[h>>2]>0){break a}if(d?!a|!b:1){v[h>>2]=1;break a}b:{j=v[d>>2];c:{if(j>>>0>e>>>0){break c}c=((c>>>0<2147483649?c+2147483647|0:-1)|0)==(c|0)?c-1|0:c;f=v[b>>2];if((e-j|0)<=-1&e>>>0>j>>>0|c>>>0>>0){break c}p=c>>>0<=f>>>0;f=c-f|0;if(!(p|(f|0)>-1)){break c}if(!(f&1)){break b}}v[h>>2]=1;break a}if(t[a+65|0]>=1){n=i+28|0;if(n){k=v[n>>2]}f=v[b>>2];o=t[a+65|0];d:{if((o|0)>=1){while(1){if((c|0)==(f|0)){f=0;q=a+116|0;while(1){u[q+(f<<1)>>1]=x[q+(l<<1)>>1];f=f+1|0;l=l+1|0;if((o|0)>(l|0)){continue}break}t[a+65|0]=f;v[b>>2]=c;if(k){v[n>>2]=k}v[h>>2]=15;f=1;break d}u[f>>1]=x[((l<<1)+a|0)+116>>1];l=l+1|0;if(k){v[k>>2]=-1;k=k+4|0}else{k=0}f=f+2|0;if((l|0)!=(o|0)){continue}break}}t[a+65|0]=0;v[b>>2]=f;if(k){v[n>>2]=k}f=0}if(f){break a}}if(!((e|0)!=(j|0)|g)&t[a+254|0]>-1){break a}t[i+2|0]=g;v[i+4>>2]=a;v[i+24>>2]=v[i+28>>2];v[i+12>>2]=e;v[i+8>>2]=j;v[i+16>>2]=v[b>>2];u[i>>1]=28;v[i+20>>2]=c;a=0;n=0;o=0;q=Qb-32|0;Qb=q;g=v[i+4>>2];e=v[v[g+24>>2]+20>>2];c=v[i+24>>2];e:{if(c){r=v[e+28>>2];if(r){break e}a=-1}else{a=0}r=v[e+24>>2]}m=v[i+16>>2];l=v[i+8>>2];e=t[g+254|0];f:{if((e|0)>-1){f=a;a=0;k=0;break f}o=w[i+2|0];n=v[i+12>>2];e=gc(q,g+222|0,0-e|0);v[i+8>>2]=e;f=t[g+254|0];t[i+2|0]=0;v[i+12>>2]=e-f;t[g+254|0]=0;f=-1;k=l}C=g+37|0;s=g+68|0;z=g+222|0;g:while(1){h:{j=0;A=0;i:{if(v[h>>2]>0){break i}Ub[r|0](i,h);if(!w[i+2|0]|v[h>>2]>0|v[i+8>>2]!=v[i+12>>2]){break i}A=!w[g+36|0]}B=1;while(1){p=0;j:{if(!c){break j}e=v[i+16>>2]-m|0;k:{if((e|0)<1){e=c;break k}m=e<<1;e=m+c|0;j=(f|0)>-1?f-j|0:-1;l:{if(!j){break l}if((j|0)<=0){j=c+m|0;m=c+4|0;ic(c,255,((j>>>0>m>>>0?j:m)-c|0)+3&-4);break l}while(1){m=v[c>>2];if((m|0)>=0){v[c>>2]=j+m}c=c+4|0;if(e>>>0>c>>>0){continue}break}}v[i+24>>2]=e}p=e;if((f|0)<0){break j}f=v[i+8>>2]+(f-l|0)|0;p=e}c=p;e=t[g+254|0];if((e|0)<=-1){m:{if(!k){o=w[i+2|0];n=v[i+12>>2];k=v[i+8>>2];a=gc(q,z,0-e|0);v[i+8>>2]=a;e=t[g+254|0];t[i+2|0]=0;v[i+12>>2]=a-e;t[g+254|0]=0;a=f;e=e+f|0;f=(e|0)>-1?e:-1;break m}v[h>>2]=5}}m=v[i+16>>2];l=v[i+8>>2];n:{e=v[h>>2];o:{if((e|0)<=0){if(y[i+12>>2]>l>>>0){continue g}if(k){v[i+12>>2]=n;v[i+8>>2]=k;t[i+2|0]=o;k=0;f=a;continue g}if(!w[i+2|0]){break o}if(t[g+36|0]>=1){v[h>>2]=11;break n}k=0;if(!A){continue g}CW(g,1);break o}if(!(1<>>0>19:1)){break n}if(!k){break o}a=v[i+12>>2]-l|0;if((a|0)>=1){gc(z,l,a);t[g+254|0]=0-a}v[i+12>>2]=n;v[i+8>>2]=k;t[i+2|0]=o}Qb=q+32|0;break h}j=t[g+36|0];t[g+62|0]=j;if((j|0)>=1){gc(s,C,j)}t[g+36|0]=0;e=v[g+256>>2];p:{if((e|0)!=1){break p}e=1;if(v[h>>2]!=10){break p}e=0;v[g+256>>2]=0}Ub[v[g+4>>2]](v[g+16>>2],i,s,j,e,h);v[g+256>>2]=1;B=0;continue}}break}v[d>>2]=v[i+8>>2];v[b>>2]=v[i+16>>2]}Qb=i+32|0}function Wsa(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;f=Qb-32|0;Qb=f;a:{b:{d=v[a+4>>2];c:{if((d|0)<1){break c}d:{e:{if(!w[a+8|0]){break e}a=v[a>>2];if(a){break e}e=0;break d}e=v[a>>2]}a=v[e>>2];if((a|0)==35){a=e+4|0;h=255;f:{switch(d-7|0){case 2:d=v[e+4>>2];a=d-48|0;g:{if(a>>>0<10){break g}if(d-97>>>0<=5){a=d-87|0;break g}a=d-65>>>0<6?d-55|0:0}h=a<<4;v[c>>2]=h;a=v[e+8>>2];d=a-48|0;h:{if(d>>>0<10){break h}if(a-97>>>0<=5){d=a-87|0;break h}d=a-65>>>0<6?a-55|0:0}a=e+12|0;h=d+h|0;break;case 0:break f;default:break c}}v[c>>2]=h;c=v[a+16>>2];d=c-48|0;i:{if(d>>>0<10){break i}if(c-97>>>0<=5){d=c-87|0;break i}d=c-65>>>0<6?c-55|0:0}e=d<<4;v[b>>2]=e;c=v[a+20>>2];d=c-48|0;j:{if(d>>>0<10){break j}if(c-97>>>0<=5){d=c-87|0;break j}d=c-65>>>0<6?c-55|0:0}e=d+e<<4;v[b>>2]=e;c=v[a+8>>2];d=c-48|0;k:{if(d>>>0<10){break k}if(c-97>>>0<=5){d=c-87|0;break k}d=c-65>>>0<6?c-55|0:0}e=d+e<<4;v[b>>2]=e;c=v[a+12>>2];d=c-48|0;l:{if(d>>>0<10){break l}if(c-97>>>0<=5){d=c-87|0;break l}d=c-65>>>0<6?c-55|0:0}e=d+e<<4;v[b>>2]=e;c=v[a>>2];d=c-48|0;m:{if(d>>>0<10){break m}if(c-97>>>0<=5){d=c-87|0;break m}d=c-65>>>0<6?c-55|0:0}d=d+e<<4;v[b>>2]=d;c=v[a+4>>2];a=c-48|0;n:{if(a>>>0<10){break n}if(c-97>>>0<=5){a=c-87|0;break n}a=c-65>>>0<6?c-55|0:0}v[b>>2]=a+d;break c}if((a|0)!=115|(d|0)<3|(v[e+4>>2]!=99|v[e+8>>2]!=35)){break c}if((d|0)<4){break c}a=f+16|0;v[a>>2]=0;v[a+4>>2]=0;t[a+8|0]=0;h=a;v[299999]=0;$(4184,a|0,e+12|0,0,-1);a=v[299999];v[299999]=0;o:{p:{q:{r:{if((a|0)!=1){v[299999]=0;$(4190,f|0,h|0,44,0);a=v[299999];v[299999]=0;if((a|0)==1){break r}s:{d=v[f>>2];switch(((v[f+4>>2]-d|0)/12|0)-3|0){case 1:break q;case 0:break s;default:break o}}v[c>>2]=255;v[299999]=0;g=+ha(4191,d+24|0);a=v[299999];v[299999]=0;if((a|0)==1){break b}v[299999]=0;i=+ha(4191,v[f>>2]+12|0);a=v[299999];v[299999]=0;if((a|0)==1){break b}v[299999]=0;j=+ha(4191,v[f>>2]);a=v[299999];v[299999]=0;if((a|0)!=1){break p}break b}a=P()|0;O()|0;break a}a=P()|0;O()|0;break a}v[299999]=0;g=+ha(4191,d|0);a=v[299999];v[299999]=0;t:{if((a|0)!=1){g=F(g,1)*255;u:{if(D(g)<2147483648){a=~~g;break u}a=-2147483648}v[c>>2]=a;v[299999]=0;g=+ha(4191,v[f>>2]+36|0);a=v[299999];v[299999]=0;if((a|0)==1){break b}v[299999]=0;i=+ha(4191,v[f>>2]+24|0);a=v[299999];v[299999]=0;if((a|0)==1){break t}v[299999]=0;j=+ha(4191,v[f>>2]+12|0);a=v[299999];v[299999]=0;if((a|0)!=1){break p}break b}break b}break b}g=F(g,1)*255;v:{if(D(g)<2147483648){a=~~g;break v}a=-2147483648}c=a<<16;g=F(i,1)*255;w:{if(D(g)<2147483648){a=~~g;break w}a=-2147483648}c=c+(a<<8)|0;g=F(j,1)*255;x:{if(D(g)<2147483648){a=~~g;break x}a=-2147483648}v[b>>2]=a+c;d=v[f>>2]}if(d){a=v[f+4>>2];if((d|0)==(a|0)){a=d}else{while(1){a=xc(a-12|0);if((d|0)!=(a|0)){continue}break}a=v[f>>2]}v[f+4>>2]=d;dc(a)}xc(h)}Qb=f+32|0;return}a=P()|0;O()|0;Kx(f)}xc(h);T(a|0);L()}function GA(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;e=w[c+52|0]|w[c+53|0]<<8|(w[c+54|0]<<16|w[c+55|0]<<24);t[c+44|0]=e;t[c+45|0]=e>>>8;t[c+46|0]=e>>>16;t[c+47|0]=e>>>24;e=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);t[c+12|0]=e;t[c+13|0]=e>>>8;t[c+14|0]=e>>>16;t[c+15|0]=e>>>24;d=1;a:{if((b|0)>=1){while(1){b:{c:{if((d|0)==1){t[c+16|0]=1;t[c+17|0]=0;t[c+18|0]=0;t[c+19|0]=0;sn(a,w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24),c);b=b-1|0;break c}if((b|0)<(d|0)){break b}t[c+16|0]=d;t[c+17|0]=d>>>8;t[c+18|0]=d>>>16;t[c+19|0]=d>>>24;sn(a,((w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24))+d|0)-2|0,c);b=b-d|0}e=w[c+32|0]|w[c+33|0]<<8|(w[c+34|0]<<16|w[c+35|0]<<24);d=e?d+1|0:1;if((b|0)>0){continue}break a}break}e=(w[c+16|0]|w[c+17|0]<<8|(w[c+18|0]<<16|w[c+19|0]<<24))+1|0;t[c+16|0]=e;t[c+17|0]=e>>>8;t[c+18|0]=e>>>16;t[c+19|0]=e>>>24;d=a;if((b|0)==1){b=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24)}else{b=((w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24))+b|0)-2|0}sn(d,b,c)}e=w[c+32|0]|w[c+33|0]<<8|(w[c+34|0]<<16|w[c+35|0]<<24)}d=w[c+48|0]|w[c+49|0]<<8|(w[c+50|0]<<16|w[c+51|0]<<24);t[c+44|0]=d;t[c+45|0]=d>>>8;t[c+46|0]=d>>>16;t[c+47|0]=d>>>24;if((d|0)<=(e|0)){b=w[c+68|0]|w[c+69|0]<<8|(w[c+70|0]<<16|w[c+71|0]<<24);f=b+(w[c+24|0]|w[c+25|0]<<8|(w[c+26|0]<<16|w[c+27|0]<<24))|0;t[c+68|0]=f;t[c+69|0]=f>>>8;t[c+70|0]=f>>>16;t[c+71|0]=f>>>24;b=w[c+64|0]|w[c+65|0]<<8|(w[c+66|0]<<16|w[c+67|0]<<24)|(w[c+56|0]|w[c+57|0]<<8|(w[c+58|0]<<16|w[c+59|0]<<24))<>>8;t[c+66|0]=b>>>16;t[c+67|0]=b>>>24;e=c;h=c;if((f|0)>=8){i=c+72|0;d=w[c+328|0]|w[c+329|0]<<8|(w[c+330|0]<<16|w[c+331|0]<<24);while(1){f=d+1|0;t[c+328|0]=f;t[c+329|0]=f>>>8;t[c+330|0]=f>>>16;t[c+331|0]=f>>>24;t[(c+d|0)+72|0]=b;d=w[c+328|0]|w[c+329|0]<<8|(w[c+330|0]<<16|w[c+331|0]<<24);if((d|0)>=255){b=v[a+1096>>2];Ub[v[v[b>>2]+44>>2]](b,d&255)|0;b=v[a+1096>>2];Ub[v[v[b>>2]+16>>2]](b,i,1,w[c+328|0]|w[c+329|0]<<8|(w[c+330|0]<<16|w[c+331|0]<<24))|0;t[c+328|0]=0;t[c+329|0]=0;t[c+330|0]=0;t[c+331|0]=0;d=0}b=(w[c+64|0]|w[c+65|0]<<8|(w[c+66|0]<<16|w[c+67|0]<<24))>>>8|0;t[c+64|0]=b;t[c+65|0]=b>>>8;t[c+66|0]=b>>>16;t[c+67|0]=b>>>24;g=w[c+68|0]|w[c+69|0]<<8|(w[c+70|0]<<16|w[c+71|0]<<24);f=g-8|0;t[c+68|0]=f;t[c+69|0]=f>>>8;t[c+70|0]=f>>>16;t[c+71|0]=f>>>24;if((g|0)>15){continue}break}a=w[c+48|0]|w[c+49|0]<<8|(w[c+50|0]<<16|w[c+51|0]<<24)}else{a=d}t[h+44|0]=a;t[e+45|0]=a>>>8;t[e+46|0]=a>>>16;t[e+47|0]=a>>>24;t[c+32|0]=0;t[c+33|0]=0;t[c+34|0]=0;t[c+35|0]=0;t[c+16|0]=0;t[c+17|0]=0;t[c+18|0]=0;t[c+19|0]=0;t[c+20|0]=1;t[c+21|0]=0;t[c+22|0]=0;t[c+23|0]=0;a=w[c+28|0]|w[c+29|0]<<8|(w[c+30|0]<<16|w[c+31|0]<<24);t[c+24|0]=a;t[c+25|0]=a>>>8;t[c+26|0]=a>>>16;t[c+27|0]=a>>>24;a=w[c+40|0]|w[c+41|0]<<8|(w[c+42|0]<<16|w[c+43|0]<<24);t[c+36|0]=a;t[c+37|0]=a>>>8;t[c+38|0]=a>>>16;t[c+39|0]=a>>>24}}function k4a(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;i=Qb-160|0;Qb=i;a:{b:{if(Oc(a,310814,13)){break b}c:{switch(w[a+13|0]){case 0:case 9:case 10:case 13:case 32:break c;default:break b}}a=v[e+32>>2];d:{e:{if(!a|!v[a+72>>2]){break e}if(!Yh(309969,v[a+92>>2])){break e}if(v[a+80>>2]){break d}}b=v[e+32>>2];a=u[b+12>>1];v[b+40>>2]=a;v[i+16>>2]=a;a=i+32|0;zd(a,289130,i+16|0);c=sq(v[e+32>>2],309969,a);if(c){break a}}a=v[e+32>>2];f:{g:{if(!a|!v[a+72>>2]){break g}if(!Yh(309924,v[a+92>>2])){break g}if(v[a+80>>2]){break f}}b=v[e+32>>2];a=u[b+14>>1];v[b+44>>2]=a;v[i>>2]=a;a=i+32|0;zd(a,289130,i);c=sq(v[e+32>>2],309924,a);if(c){break a}}v[e>>2]=v[e>>2]&-17;v[d>>2]=1596;c=0;break a}h:{if(Oc(a,310828,21)){break h}c=0;switch(w[a+21|0]){case 0:case 9:case 10:case 13:case 32:break a;default:break h}}i:{if(Oc(a,309882,7)){break i}c=a+7|0;j:{switch(w[a+7|0]){case 9:case 10:case 13:case 32:t[a+7|0]=0;c=a+8|0;break;case 0:break j;default:break i}}c=sq(v[e+32>>2],a,c);break a}g=v[e+32>>2];c=a;k:{while(1){l:{f=-1;m:{n:{d=w[c|0];switch(d|0){case 0:break k;case 9:break l;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break m;default:break n}}if((d|0)==32){break l}}c=c+1|0;continue}break}t[c|0]=0;f=d}d=0;o:{if(!a|!w[a|0]){break o}h=Yh(a,g+112|0);if(!h){break o}d=v[h>>2];if(d>>>0>=83){d=(v[g+104>>2]+(d<<4)|0)-1328|0;break o}d=(d<<4)+374384|0}if((f|0)!=-1){t[c|0]=f}if(!(v[d+4>>2]!=1?d:0)){if(w[c|0]){t[c|0]=0;c=c+1|0}f=a+b|0;while(1){b=w[c|0];if(!((b|0)!=32&(b|0)!=9)){c=c+1|0;continue}break}b=((b|0)==34)+c|0;p:{if(b>>>0>=f>>>0){break p}while(1){q:{r:{f=f-1|0;switch(w[f|0]-9|0){case 25:break q;case 0:case 23:break r;default:break p}}t[f|0]=0;if(b>>>0>>0){continue}break p}break}t[f|0]=0}c=sq(v[e+32>>2],a,b);break a}c=Ak(e+40|0,335759,a,b);if(c){break a}b=v[e+40>>2];l=v[b>>2];f=0;s:{t:{u:{a=v[e+48>>2];switch(a|0){case 0:break s;case 1:break u;default:break t}}v[e+48>>2]=0;break s}v[b>>2]=v[b+4>>2];c=1;g=a-1|0;v:{if((g|0)==1){break v}h=a-2|0;b=h&3;d=1;if(a-3>>>0>=3){h=h&-4;while(1){j=v[e+40>>2];a=c<<2;m=j+a|0;k=j;j=d<<2;v[m>>2]=v[(k+j|0)+4>>2];k=v[e+40>>2];v[(k+a|0)+4>>2]=v[(j+k|0)+8>>2];k=v[e+40>>2];v[(k+a|0)+8>>2]=v[(j+k|0)+12>>2];j=a;a=v[e+40>>2];d=d+4|0;v[(j+a|0)+12>>2]=v[a+(d<<2)>>2];c=c+4|0;h=h-4|0;if(h){continue}break}}if(!b){break v}while(1){a=v[e+40>>2];d=d+1|0;v[a+(c<<2)>>2]=v[a+(d<<2)>>2];c=c+1|0;b=b-1|0;if(b){continue}break}}v[e+48>>2]=g;if(!g){break s}d=0;a=v[v[e+40>>2]>>2];c=a;b=0;while(1){f=w[c|0];if(f){while(1){t[a+d|0]=f;d=d+1|0;f=w[c+1|0];c=c+1|0;if(f){continue}break}g=v[e+48>>2]}b=b+1|0;if(g>>>0>b>>>0){t[a+d|0]=32;g=v[e+48>>2];d=d+1|0}if(b>>>0>>0){c=v[v[e+40>>2]+(b<<2)>>2];continue}break}f=375712;if((a|0)==375712){break s}t[a+d|0]=0;f=a}c=sq(v[e+32>>2],l,f)}Qb=i+160|0;return c|0}function JVa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=v[a+408>>2];e=v[a+464>>2];a:{if(v[a+224>>2]){c=v[a+412>>2];b:{c:{d:{if(!b){if(!c){break d}break c}if((b|0)>(c|0)|(c|0)>v[a+432>>2]|v[a+336>>2]!=1){break c}}c=v[a+416>>2];e:{if(!c){d=v[a+420>>2];break e}d=c-1|0;if((d|0)!=v[a+420>>2]){break c}}if((d|0)<14){break b}}c=v[a>>2];v[c+24>>2]=b;v[c+20>>2]=17;v[v[a>>2]+28>>2]=v[a+412>>2];v[v[a>>2]+32>>2]=v[a+416>>2];v[v[a>>2]+36>>2]=v[a+420>>2];Ub[v[v[a>>2]>>2]](a)}b=v[a+336>>2];if((b|0)>=1){d=0;while(1){g=v[v[((d<<2)+a|0)+340>>2]+4>>2];f=v[a+160>>2];c=v[a+408>>2];b=0;f:{if(!c){break f}b=c;if(v[f+(g<<8)>>2]>-1){break f}b=v[a>>2];v[b+24>>2]=g;v[b+20>>2]=118;v[v[a>>2]+28>>2]=0;Ub[v[v[a>>2]+4>>2]](a,-1);b=v[a+408>>2]}if((b|0)<=v[a+412>>2]){while(1){c=(f+(g<<8)|0)+(b<<2)|0;h=v[c>>2];if(v[a+416>>2]!=(((h|0)>0?h:0)|0)){h=v[a>>2];v[h+24>>2]=g;v[h+20>>2]=118;v[v[a>>2]+28>>2]=b;Ub[v[v[a>>2]+4>>2]](a,-1)}v[c>>2]=v[a+420>>2];c=v[a+412>>2]>(b|0);b=b+1|0;if(c){continue}break}}b=v[a+336>>2];d=d+1|0;if((b|0)>(d|0)){continue}break}}c=v[a+408>>2];if(!v[a+416>>2]){if(!c){v[e+4>>2]=262;break a}v[e+4>>2]=263;break a}if(!c){v[e+4>>2]=264;break a}v[e+4>>2]=265;break a}g:{if(!(v[a+420>>2]|(v[a+416>>2]|b))){b=v[a+412>>2];if((b|0)>63|(b|0)==v[a+432>>2]){break g}}b=v[a>>2];v[b+20>>2]=125;Ub[v[b+4>>2]](a,-1)}v[e+4>>2]=266;b=v[a+336>>2]}if((b|0)>=1){d=0;while(1){g=d<<2;c=v[(g+a|0)+340>>2];h:{i:{if(v[a+224>>2]){if(v[a+408>>2]){break i}if(v[a+416>>2]){break h}}b=v[c+20>>2];if(b>>>0>=16){f=v[a>>2];v[f+24>>2]=b;v[f+20>>2]=50;Ub[v[v[a>>2]>>2]](a)}f=(b<<2)+e|0;b=v[f+56>>2];if(!b){b=Ub[v[v[a+4>>2]>>2]](a,1,64)|0;v[f+56>>2]=b}t[b|0]=0;t[b+1|0]=0;t[b+2|0]=0;t[b+3|0]=0;t[b+4|0]=0;t[b+5|0]=0;t[b+6|0]=0;t[b+7|0]=0;t[b+56|0]=0;t[b+57|0]=0;t[b+58|0]=0;t[b+59|0]=0;t[b+60|0]=0;t[b+61|0]=0;t[b+62|0]=0;t[b+63|0]=0;t[b+48|0]=0;t[b+49|0]=0;t[b+50|0]=0;t[b+51|0]=0;t[b+52|0]=0;t[b+53|0]=0;t[b+54|0]=0;t[b+55|0]=0;t[b+40|0]=0;t[b+41|0]=0;t[b+42|0]=0;t[b+43|0]=0;t[b+44|0]=0;t[b+45|0]=0;t[b+46|0]=0;t[b+47|0]=0;t[b+32|0]=0;t[b+33|0]=0;t[b+34|0]=0;t[b+35|0]=0;t[b+36|0]=0;t[b+37|0]=0;t[b+38|0]=0;t[b+39|0]=0;t[b+24|0]=0;t[b+25|0]=0;t[b+26|0]=0;t[b+27|0]=0;t[b+28|0]=0;t[b+29|0]=0;t[b+30|0]=0;t[b+31|0]=0;t[b+16|0]=0;t[b+17|0]=0;t[b+18|0]=0;t[b+19|0]=0;t[b+20|0]=0;t[b+21|0]=0;t[b+22|0]=0;t[b+23|0]=0;t[b+8|0]=0;t[b+9|0]=0;t[b+10|0]=0;t[b+11|0]=0;t[b+12|0]=0;t[b+13|0]=0;t[b+14|0]=0;t[b+15|0]=0;b=e+g|0;v[b+36>>2]=0;v[b+20>>2]=0;if(!v[a+224>>2]){if(v[a+432>>2]){break i}break h}if(!v[a+408>>2]){break h}}b=v[c+24>>2];if(b>>>0>=16){c=v[a>>2];v[c+24>>2]=b;v[c+20>>2]=50;Ub[v[v[a>>2]>>2]](a)}c=(b<<2)+e|0;b=v[c+120>>2];if(!b){b=Ub[v[v[a+4>>2]>>2]](a,1,256)|0;v[c+120>>2]=b}ic(b,0,256)}d=d+1|0;if((d|0)>2]){continue}break}}v[e+16>>2]=-16;v[e+8>>2]=0;v[e+12>>2]=0;v[e+52>>2]=v[a+280>>2]}function y0(a,b){var c=0,d=0,e=0,f=C(0),g=C(0),h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;c=Qb-128|0;Qb=c;v[c+76>>2]=0;v[c+44>>2]=0;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],b,0)|0;k=a+26328|0;l=a+25797|0;b=c+48|0;m=b|12;n=b|8;o=b|4;while(1){v[c+124>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+124|0,1,4)|0;b=w[c+124|0];p=a;a:{b:{c:{if(x[a+25204>>1]==18761){b=b|w[c+125|0]<<8|w[c+126|0]<<16|w[c+127|0]<<24}else{b=w[c+127|0]|(w[c+125|0]<<16|b<<24|w[c+126|0]<<8)}if((b|0)==1347114067){v[c+124>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+124|0,1,4)|0;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+80|0,1,40)|0;v[c+124>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+124|0,1,4)|0;b=w[c+124|0];if(x[a+25204>>1]==18761){h=b|w[c+125|0]<<8|w[c+126|0]<<16|w[c+127|0]<<24}else{h=w[c+127|0]|(w[c+125|0]<<16|b<<24|w[c+126|0]<<8)}e=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;if(!Pc(c+80|0,67146,18)){v[a+26080>>2]=h;v[a+26056>>2]=e;v[a+26060>>2]=e>>31}if(!Pc(c+80|0,67260,19)){v[a+26088>>2]=h;v[a+26072>>2]=e;v[a+26076>>2]=e>>31}d:{if(Pc(c+80|0,67341,19)){break d}Ub[v[v[a>>2]+32>>2]](v[a+4>>2],67450,c+76|0)|0;b=v[c+76>>2];if(b>>>0>20){break d}ce(l,v[(b<<2)+199312>>2])}if(!Pc(c+80|0,67453,26)){v[c+76>>2]=0;while(1){v[c+124>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+124|0,1,4)|0;b=w[c+124|0];d=v[c+76>>2];i=(d<<2)+c|0;if(x[a+25204>>1]==18761){b=b|w[c+125|0]<<8|w[c+126|0]<<16|w[c+127|0]<<24}else{b=w[c+127|0]|(w[c+125|0]<<16|b<<24|w[c+126|0]<<8)}v[i>>2]=b;v[c+76>>2]=d+1;if((d|0)<8){continue}break}SI(a,c)}if(!Pc(c+80|0,67544,22)){b=0;v[c+76>>2]=0;while(1){Ub[v[v[a>>2]+32>>2]](v[a+4>>2],67749,(b<<2)+c|0)|0;d=v[c+76>>2];b=d+1|0;v[c+76>>2]=b;if((d|0)<8){continue}break}SI(a,c)}if(!Pc(c+80|0,67835,26)){Ub[v[v[a>>2]+32>>2]](v[a+4>>2],67450,c+44|0)|0}if(!Pc(c+80|0,67932,27)){Ub[v[v[a>>2]+32>>2]](v[a+4>>2],67450,k)|0}if(!Pc(c+80|0,68060,24)){Ub[v[v[a>>2]+32>>2]](v[a+4>>2],67450,c+76|0)|0;b=v[c+76>>2];Ub[v[v[a>>2]+32>>2]](v[a+4>>2],67450,c+76|0)|0;d=v[c+76>>2];Ub[v[v[a>>2]+32>>2]](v[a+4>>2],67450,c+76|0)|0;i=v[c+76>>2];Ub[v[v[a>>2]+32>>2]](v[a+4>>2],67450,c+76|0)|0;j=v[c+76>>2]==1?2:(i|0)==1?3:(d|0)==1?1:(b|0)==1?0:j}if(!Pc(c+80|0,68197,23)){Ub[v[v[a>>2]+32>>2]](v[a+4>>2],67450,c+76|0)|0;v[a+26328>>2]=v[c+76>>2]-v[a+26328>>2]}if(Pc(c+80|0,68289,17)|z[a+59268>>2]!=C(0)){break a}Ub[v[v[a>>2]+32>>2]](v[a+4>>2],67450,c+48|0)|0;Ub[v[v[a>>2]+32>>2]](v[a+4>>2],67450,o)|0;Ub[v[v[a>>2]+32>>2]](v[a+4>>2],67450,n)|0;Ub[v[v[a>>2]+32>>2]](v[a+4>>2],67450,m)|0;f=C(v[c+48>>2]);b=a;d=v[c+52>>2];if(d){g=C(f/C(d|0))}else{g=C(0)}z[b+59268>>2]=g;b=a;d=v[c+56>>2];if(d){g=C(f/C(d|0))}else{g=C(0)}z[b+59272>>2]=g;b=v[c+60>>2];if(b){break c}f=C(0);break b}b=v[c+44>>2];if(b){v[a+26028>>2]=B(w[((v[a+26328>>2]/90|0)+j&3)+68404|0],(b|0)==1?16843009:0)}Qb=c+128|0;return}f=C(f/C(b|0))}z[p+59276>>2]=f}y0(a,e);Ub[v[v[a>>2]+8>>2]](v[a+4>>2],e+h|0,0)|0;continue}}function lTa(a,b){a=a|0;b=b|0;var 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,x=0;c=Qb-128|0;Qb=c;a:{b:{c:{d=a+96|0;d:{if(!w[d+1432|0]){f=a+1596|0;g=a+1628|0;if(!(!w[g+1160|0]|v[g+1172>>2]!=2)){qd(g+100|0,g,v[g+1164>>2],v[g+1168>>2]);v[g+1172>>2]=3}Dd(g);e:{if(!v[g+12>>2]){break e}v[g+1176>>2]=v[g+84>>2];d=v[g+80>>2];a=(v[g+88>>2]-d|0)+2|0;f:{if(a>>>0<=y[f+24>>2]){break f}e=v[f+20>>2];if(e){dc(e)}v[f+24>>2]=a;t=f,x=fc((a|0)!=(a&536870911)?-1:a<<3),v[t+20>>2]=x;if((a|0)==v[f+16>>2]){break f}e=v[f+12>>2];if(e){dc(e)}v[f+16>>2]=a;t=f,x=fc(a),v[t+12>>2]=x}v[f>>2]=d;v[f+4>>2]=2147483632;v[f+28>>2]=v[f+20>>2];if(!Sf(g,f)){break e}while(1){l=v[b>>2];m=v[b+4>>2];p=v[b+8>>2];i=v[f+20>>2];o=v[f+28>>2]-i>>3;n=v[f+8>>2];while(1){a=v[i+12>>2];d=u[i+8>>1];h=u[i+10>>1];e=h>>31;e=(e^e+h)&65535;h=v[m+4>>2];g:{if(e>>>0<=h>>>0){break g}j=h;h=e+255&130816;if((j|0)==(h|0)){break g}k=v[m>>2];if(k){dc(k)}v[m+4>>2]=h;t=m,x=fc(h<<2),v[t>>2]=x}h=v[m>>2];kY(p,h,d,n,e);h:{if(v[l+16>>2]<(n|0)|v[l+8>>2]>(n|0)){break h}j=u[i+10>>1]<0;k=j?0:a;q=w[a|0];a=v[l+4>>2];i:{if((d|0)>=(a|0)){a=d;break i}d=a-d|0;e=e-d|0;if((e|0)<1){break h}k=j?0:d+k|0;h=(d<<2)+h|0}r=v[l>>2];j=a;s=n;d=v[l+12>>2];if((d|0)<(a+e|0)){d=d-a|0;if((d|0)<0){break h}e=d+1|0}ig(r,j,s,e,h,k,q)}i=i+8|0;o=o-1|0;if(o){continue}break}if(Sf(g,f)){continue}break}}break d}if(!w[d+1433|0]){v[c+112>>2]=0;v[c+116>>2]=0;v[c+120>>2]=0;v[c+124>>2]=0;v[c+104>>2]=0;v[c+108>>2]=0;v[c+96>>2]=2147483632;v[c+80>>2]=0;v[c+84>>2]=0;v[c+88>>2]=0;v[c+92>>2]=0;v[c+72>>2]=0;v[c+76>>2]=0;v[c+64>>2]=2147483632;v[c+48>>2]=0;v[c+52>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[299999]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=2147483632;da(2430,a+1628|0,d|0,c- -64|0,c+32|0,c+96|0,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break c}a=v[c+52>>2];if(a){dc(a)}a=v[c+40>>2];if(a){dc(a)}a=v[c+84>>2];if(a){dc(a)}a=v[c+72>>2];if(a){dc(a)}a=v[c+116>>2];if(a){dc(a)}a=v[c+104>>2];if(!a){break d}dc(a);break d}v[c+112>>2]=0;v[c+116>>2]=0;v[c+120>>2]=0;v[c+124>>2]=0;v[c+104>>2]=0;v[c+108>>2]=0;v[c+96>>2]=2147483632;v[c+80>>2]=0;v[c+84>>2]=0;v[c+88>>2]=0;v[c+92>>2]=0;v[c+72>>2]=0;v[c+76>>2]=0;v[c+64>>2]=2147483632;v[c+48>>2]=0;v[c+52>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=2147483632;v[c+16>>2]=0;v[c+20>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=2147483632;d=v[a+1524>>2];v[299999]=0;da(2431,a+1628|0,(((d|0)==1?1180:1304)+a|0)+96|0,c- -64|0,c+32|0,c+96|0,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break b}a=v[c+52>>2];if(a){dc(a)}a=v[c+40>>2];if(a){dc(a)}a=v[c+84>>2];if(a){dc(a)}a=v[c+72>>2];if(a){dc(a)}a=v[c+116>>2];if(a){dc(a)}a=v[c+104>>2];if(!a){break d}dc(a)}Qb=c+128|0;return}a=P()|0;O()|0;break a}a=P()|0;O()|0;Md(c)}Md(c+32|0);Md(c- -64|0);Md(c+96|0);T(a|0);L()}function iTa(a,b){a=a|0;b=b|0;var 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,x=0;c=Qb-128|0;Qb=c;a:{b:{c:{d=a+96|0;d:{if(!w[d+1432|0]){f=a+1596|0;g=a+1628|0;if(!(!w[g+1160|0]|v[g+1172>>2]!=2)){qd(g+100|0,g,v[g+1164>>2],v[g+1168>>2]);v[g+1172>>2]=3}Dd(g);e:{if(!v[g+12>>2]){break e}v[g+1176>>2]=v[g+84>>2];d=v[g+80>>2];a=(v[g+88>>2]-d|0)+2|0;f:{if(a>>>0<=y[f+24>>2]){break f}e=v[f+20>>2];if(e){dc(e)}v[f+24>>2]=a;t=f,x=fc((a|0)!=(a&536870911)?-1:a<<3),v[t+20>>2]=x;if((a|0)==v[f+16>>2]){break f}e=v[f+12>>2];if(e){dc(e)}v[f+16>>2]=a;t=f,x=fc(a),v[t+12>>2]=x}v[f>>2]=d;v[f+4>>2]=2147483632;v[f+28>>2]=v[f+20>>2];if(!Sf(g,f)){break e}while(1){l=v[b>>2];m=v[b+4>>2];p=v[b+8>>2];i=v[f+20>>2];o=v[f+28>>2]-i>>3;n=v[f+8>>2];while(1){a=v[i+12>>2];d=u[i+8>>1];h=u[i+10>>1];e=h>>31;e=(e^e+h)&65535;h=v[m+4>>2];g:{if(e>>>0<=h>>>0){break g}j=h;h=e+255&130816;if((j|0)==(h|0)){break g}k=v[m>>2];if(k){dc(k)}v[m+4>>2]=h;t=m,x=fc(h<<2),v[t>>2]=x}h=v[m>>2];iY(p,h,d,n,e);h:{if(v[l+16>>2]<(n|0)|v[l+8>>2]>(n|0)){break h}j=u[i+10>>1]<0;k=j?0:a;q=w[a|0];a=v[l+4>>2];i:{if((d|0)>=(a|0)){a=d;break i}d=a-d|0;e=e-d|0;if((e|0)<1){break h}k=j?0:d+k|0;h=(d<<2)+h|0}r=v[l>>2];j=a;s=n;d=v[l+12>>2];if((d|0)<(a+e|0)){d=d-a|0;if((d|0)<0){break h}e=d+1|0}ig(r,j,s,e,h,k,q)}i=i+8|0;o=o-1|0;if(o){continue}break}if(Sf(g,f)){continue}break}}break d}if(!w[d+1433|0]){v[c+112>>2]=0;v[c+116>>2]=0;v[c+120>>2]=0;v[c+124>>2]=0;v[c+104>>2]=0;v[c+108>>2]=0;v[c+96>>2]=2147483632;v[c+80>>2]=0;v[c+84>>2]=0;v[c+88>>2]=0;v[c+92>>2]=0;v[c+72>>2]=0;v[c+76>>2]=0;v[c+64>>2]=2147483632;v[c+48>>2]=0;v[c+52>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[299999]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=2147483632;da(2432,a+1628|0,d|0,c- -64|0,c+32|0,c+96|0,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break c}a=v[c+52>>2];if(a){dc(a)}a=v[c+40>>2];if(a){dc(a)}a=v[c+84>>2];if(a){dc(a)}a=v[c+72>>2];if(a){dc(a)}a=v[c+116>>2];if(a){dc(a)}a=v[c+104>>2];if(!a){break d}dc(a);break d}v[c+112>>2]=0;v[c+116>>2]=0;v[c+120>>2]=0;v[c+124>>2]=0;v[c+104>>2]=0;v[c+108>>2]=0;v[c+96>>2]=2147483632;v[c+80>>2]=0;v[c+84>>2]=0;v[c+88>>2]=0;v[c+92>>2]=0;v[c+72>>2]=0;v[c+76>>2]=0;v[c+64>>2]=2147483632;v[c+48>>2]=0;v[c+52>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=2147483632;v[c+16>>2]=0;v[c+20>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=2147483632;d=v[a+1524>>2];v[299999]=0;da(2433,a+1628|0,(((d|0)==1?1180:1304)+a|0)+96|0,c- -64|0,c+32|0,c+96|0,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break b}a=v[c+52>>2];if(a){dc(a)}a=v[c+40>>2];if(a){dc(a)}a=v[c+84>>2];if(a){dc(a)}a=v[c+72>>2];if(a){dc(a)}a=v[c+116>>2];if(a){dc(a)}a=v[c+104>>2];if(!a){break d}dc(a)}Qb=c+128|0;return}a=P()|0;O()|0;break a}a=P()|0;O()|0;Md(c)}Md(c+32|0);Md(c- -64|0);Md(c+96|0);T(a|0);L()}function hTa(a,b){a=a|0;b=b|0;var 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,x=0;c=Qb-128|0;Qb=c;a:{b:{c:{d=a+96|0;d:{if(!w[d+1432|0]){f=a+1596|0;g=a+1628|0;if(!(!w[g+1160|0]|v[g+1172>>2]!=2)){qd(g+100|0,g,v[g+1164>>2],v[g+1168>>2]);v[g+1172>>2]=3}Dd(g);e:{if(!v[g+12>>2]){break e}v[g+1176>>2]=v[g+84>>2];d=v[g+80>>2];a=(v[g+88>>2]-d|0)+2|0;f:{if(a>>>0<=y[f+24>>2]){break f}e=v[f+20>>2];if(e){dc(e)}v[f+24>>2]=a;t=f,x=fc((a|0)!=(a&536870911)?-1:a<<3),v[t+20>>2]=x;if((a|0)==v[f+16>>2]){break f}e=v[f+12>>2];if(e){dc(e)}v[f+16>>2]=a;t=f,x=fc(a),v[t+12>>2]=x}v[f>>2]=d;v[f+4>>2]=2147483632;v[f+28>>2]=v[f+20>>2];if(!Sf(g,f)){break e}while(1){l=v[b>>2];m=v[b+4>>2];p=v[b+8>>2];i=v[f+20>>2];o=v[f+28>>2]-i>>3;n=v[f+8>>2];while(1){a=v[i+12>>2];d=u[i+8>>1];h=u[i+10>>1];e=h>>31;e=(e^e+h)&65535;h=v[m+4>>2];g:{if(e>>>0<=h>>>0){break g}j=h;h=e+255&130816;if((j|0)==(h|0)){break g}k=v[m>>2];if(k){dc(k)}v[m+4>>2]=h;t=m,x=fc(h<<2),v[t>>2]=x}h=v[m>>2];gY(p,h,d,n,e);h:{if(v[l+16>>2]<(n|0)|v[l+8>>2]>(n|0)){break h}j=u[i+10>>1]<0;k=j?0:a;q=w[a|0];a=v[l+4>>2];i:{if((d|0)>=(a|0)){a=d;break i}d=a-d|0;e=e-d|0;if((e|0)<1){break h}k=j?0:d+k|0;h=(d<<2)+h|0}r=v[l>>2];j=a;s=n;d=v[l+12>>2];if((d|0)<(a+e|0)){d=d-a|0;if((d|0)<0){break h}e=d+1|0}ig(r,j,s,e,h,k,q)}i=i+8|0;o=o-1|0;if(o){continue}break}if(Sf(g,f)){continue}break}}break d}if(!w[d+1433|0]){v[c+112>>2]=0;v[c+116>>2]=0;v[c+120>>2]=0;v[c+124>>2]=0;v[c+104>>2]=0;v[c+108>>2]=0;v[c+96>>2]=2147483632;v[c+80>>2]=0;v[c+84>>2]=0;v[c+88>>2]=0;v[c+92>>2]=0;v[c+72>>2]=0;v[c+76>>2]=0;v[c+64>>2]=2147483632;v[c+48>>2]=0;v[c+52>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[299999]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=2147483632;da(2434,a+1628|0,d|0,c- -64|0,c+32|0,c+96|0,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break c}a=v[c+52>>2];if(a){dc(a)}a=v[c+40>>2];if(a){dc(a)}a=v[c+84>>2];if(a){dc(a)}a=v[c+72>>2];if(a){dc(a)}a=v[c+116>>2];if(a){dc(a)}a=v[c+104>>2];if(!a){break d}dc(a);break d}v[c+112>>2]=0;v[c+116>>2]=0;v[c+120>>2]=0;v[c+124>>2]=0;v[c+104>>2]=0;v[c+108>>2]=0;v[c+96>>2]=2147483632;v[c+80>>2]=0;v[c+84>>2]=0;v[c+88>>2]=0;v[c+92>>2]=0;v[c+72>>2]=0;v[c+76>>2]=0;v[c+64>>2]=2147483632;v[c+48>>2]=0;v[c+52>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=2147483632;v[c+16>>2]=0;v[c+20>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=2147483632;d=v[a+1524>>2];v[299999]=0;da(2435,a+1628|0,(((d|0)==1?1180:1304)+a|0)+96|0,c- -64|0,c+32|0,c+96|0,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break b}a=v[c+52>>2];if(a){dc(a)}a=v[c+40>>2];if(a){dc(a)}a=v[c+84>>2];if(a){dc(a)}a=v[c+72>>2];if(a){dc(a)}a=v[c+116>>2];if(a){dc(a)}a=v[c+104>>2];if(!a){break d}dc(a)}Qb=c+128|0;return}a=P()|0;O()|0;break a}a=P()|0;O()|0;Md(c)}Md(c+32|0);Md(c- -64|0);Md(c+96|0);T(a|0);L()}function bZ(a,b){var 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,w=0,z=0,A=0,C=0,D=0;g=Qb-16|0;Qb=g;h=v[b+28>>2];i=v[a+736>>2];v[g>>2]=0;a:{b:{if(i){c:{if(!v[a+704>>2]){break c}if(Ub[v[a+516>>2]](a,1668702578,b,g+8|0)|0){break c}f=ne(b,v[g+8>>2]);v[g+12>>2]=f;if(f){break c}f=v[b>>2];d=v[b+32>>2];d:{if((Sg(b)|0)!=65536){v[g+12>>2]=0;break d}o=Cc(h,4,0,v[i>>2],0,g+12|0);if(v[g+12>>2]){break d}p=Cc(h,4,0,v[i>>2],0,g+12|0);if(v[g+12>>2]){break d}q=Cc(h,4,0,v[i>>2],0,g+12|0);if(v[g+12>>2]){break d}e=He(b);s=e&4095;k=He(b);c=v[g+8>>2];if((s<<2)+k>>>0>c>>>0){v[g+12>>2]=8;break d}l=k+(d-f|0)|0;if(e&32768){e=v[b+32>>2];f=v[b>>2];d=v[b+36>>2];v[b+32>>2]=d-f>>>0>l>>>0?f+l|0:d;r=Rz(b,c,g);k=v[b+32>>2];d=v[b>>2];f=e-f|0;e=v[b+36>>2];v[b+32>>2]=f>>>0>>0?d+f|0:e;l=k-d|0}m=Cc(h,4,0,v[a+700>>2],0,g+12|0);e:{if(v[g+12>>2]){break e}if(s){k=v[g>>2];f=0;while(1){A=He(b);d=He(b);f:{if(d&32768){c=0;if(!v[i>>2]){break f}while(1){C=(c<<2)+o|0,D=He(b)<<16>>16<<2,v[C>>2]=D;c=c+1|0;if(c>>>0>2]){continue}break}break f}e=d&4095;if(e>>>0>=y[i+60>>2]){v[g+12>>2]=8;break e}c=v[i+64>>2];if(!c){v[g+12>>2]=8;break e}t=e;e=v[i>>2];gc(o,c+(B(t,e)<<2)|0,e<<2)}g:{if(!(d&16384)){break g}c=0;if(!v[i>>2]){break g}while(1){C=(c<<2)+p|0,D=He(b)<<16>>16<<2,v[C>>2]=D;c=c+1|0;e=v[i>>2];if(c>>>0>>0){continue}break}c=0;if(!e){break g}while(1){C=(c<<2)+q|0,D=He(b)<<16>>16<<2,v[C>>2]=D;c=c+1|0;if(c>>>0>2]){continue}break}}u=aZ(i,d,o,p,q);if(u){j=v[b+32>>2];c=v[b>>2];e=v[b+36>>2];v[b+32>>2]=e-c>>>0>l>>>0?c+l|0:e;w=j-c|0;h:{if(d&8192){e=Rz(b,v[g+8>>2],g+4|0);d=v[g+4>>2];f=e;break h}v[g+4>>2]=k;d=k;e=f;f=r}j=qH(b,v[g+8>>2],d?d:v[a+700>>2]);i:{j:{k:{if(!f|!j){break k}if((e|0)!=-1){c=0;if(!d){break j}while(1){n=x[f+(c<<1)>>1];if(n>>>0>2]){n=(n<<2)+m|0;t=v[n>>2];C=n,D=Ac(v[j+(c<<2)>>2],u)+t|0,v[C>>2]=D}c=c+1|0;if((d|0)!=(c|0)){continue}break}break k}f=-1;if((d|0)!=v[a+700>>2]){break i}c=0;if(!d){break i}while(1){f=c<<2;d=f+m|0;n=v[d>>2];C=d,D=Ac(v[f+j>>2],u)+n|0,v[C>>2]=D;c=c+1|0;if(c>>>0>2]){continue}break}}f=-1;if((e|0)==-1){break i}}if(e){Ub[v[h+8>>2]](h,e)}f=0}if(j){Ub[v[h+8>>2]](h,j)}d=v[b>>2];e=v[b+36>>2];v[b+32>>2]=w>>>0>>0?d+w|0:e}l=l+A|0;z=z+1|0;if((z|0)!=(s|0)){continue}break}}f=v[a+700>>2];if(!f){break e}e=v[a+704>>2];d=0;if((f|0)!=1){k=f&-2;while(1){c=d<<2;j=c+e|0;v[j>>2]=v[j>>2]+(v[c+m>>2]+512>>10);c=c|4;j=c+e|0;v[j>>2]=v[j>>2]+(v[c+m>>2]+512>>10);d=d+2|0;k=k-2|0;if(k){continue}break}}if(!(f&1)){break e}f=d<<2;d=f+e|0;v[d>>2]=v[d>>2]+(v[f+m>>2]+512>>10)}Vd(b);if((r|0)==-1){break a}break b}Vd(b);break b}}v[g+12>>2]=0}if(r){Ub[v[h+8>>2]](h,r)}}if(o){Ub[v[h+8>>2]](h,o)}if(p){Ub[v[h+8>>2]](h,p)}if(q){Ub[v[h+8>>2]](h,q)}if(m){Ub[v[h+8>>2]](h,m)}C_(a+108|0,2017);Qb=g+16|0;return v[g+12>>2]}function bTa(a,b){a=a|0;b=b|0;var 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,x=0;c=Qb-128|0;Qb=c;a:{b:{c:{d=a+96|0;d:{if(!w[d+1432|0]){f=a+1596|0;g=a+1628|0;if(!(!w[g+1160|0]|v[g+1172>>2]!=2)){qd(g+100|0,g,v[g+1164>>2],v[g+1168>>2]);v[g+1172>>2]=3}Dd(g);e:{if(!v[g+12>>2]){break e}v[g+1176>>2]=v[g+84>>2];d=v[g+80>>2];a=(v[g+88>>2]-d|0)+2|0;f:{if(a>>>0<=y[f+24>>2]){break f}e=v[f+20>>2];if(e){dc(e)}v[f+24>>2]=a;t=f,x=fc((a|0)!=(a&536870911)?-1:a<<3),v[t+20>>2]=x;if((a|0)==v[f+16>>2]){break f}e=v[f+12>>2];if(e){dc(e)}v[f+16>>2]=a;t=f,x=fc(a),v[t+12>>2]=x}v[f>>2]=d;v[f+4>>2]=2147483632;v[f+28>>2]=v[f+20>>2];if(!Sf(g,f)){break e}while(1){l=v[b>>2];m=v[b+4>>2];p=v[b+8>>2];i=v[f+20>>2];o=v[f+28>>2]-i>>3;n=v[f+8>>2];while(1){a=v[i+12>>2];d=u[i+8>>1];h=u[i+10>>1];e=h>>31;e=(e^e+h)&65535;h=v[m+4>>2];g:{if(e>>>0<=h>>>0){break g}j=h;h=e+255&130816;if((j|0)==(h|0)){break g}k=v[m>>2];if(k){dc(k)}v[m+4>>2]=h;t=m,x=fc(h<<2),v[t>>2]=x}h=v[m>>2];eY(p,h,d,n,e);h:{if(v[l+16>>2]<(n|0)|v[l+8>>2]>(n|0)){break h}j=u[i+10>>1]<0;k=j?0:a;q=w[a|0];a=v[l+4>>2];i:{if((d|0)>=(a|0)){a=d;break i}d=a-d|0;e=e-d|0;if((e|0)<1){break h}k=j?0:d+k|0;h=(d<<2)+h|0}r=v[l>>2];j=a;s=n;d=v[l+12>>2];if((d|0)<(a+e|0)){d=d-a|0;if((d|0)<0){break h}e=d+1|0}ig(r,j,s,e,h,k,q)}i=i+8|0;o=o-1|0;if(o){continue}break}if(Sf(g,f)){continue}break}}break d}if(!w[d+1433|0]){v[c+112>>2]=0;v[c+116>>2]=0;v[c+120>>2]=0;v[c+124>>2]=0;v[c+104>>2]=0;v[c+108>>2]=0;v[c+96>>2]=2147483632;v[c+80>>2]=0;v[c+84>>2]=0;v[c+88>>2]=0;v[c+92>>2]=0;v[c+72>>2]=0;v[c+76>>2]=0;v[c+64>>2]=2147483632;v[c+48>>2]=0;v[c+52>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[299999]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=2147483632;da(2436,a+1628|0,d|0,c- -64|0,c+32|0,c+96|0,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break c}a=v[c+52>>2];if(a){dc(a)}a=v[c+40>>2];if(a){dc(a)}a=v[c+84>>2];if(a){dc(a)}a=v[c+72>>2];if(a){dc(a)}a=v[c+116>>2];if(a){dc(a)}a=v[c+104>>2];if(!a){break d}dc(a);break d}v[c+112>>2]=0;v[c+116>>2]=0;v[c+120>>2]=0;v[c+124>>2]=0;v[c+104>>2]=0;v[c+108>>2]=0;v[c+96>>2]=2147483632;v[c+80>>2]=0;v[c+84>>2]=0;v[c+88>>2]=0;v[c+92>>2]=0;v[c+72>>2]=0;v[c+76>>2]=0;v[c+64>>2]=2147483632;v[c+48>>2]=0;v[c+52>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=2147483632;v[c+16>>2]=0;v[c+20>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=2147483632;d=v[a+1524>>2];v[299999]=0;da(2437,a+1628|0,(((d|0)==1?1180:1304)+a|0)+96|0,c- -64|0,c+32|0,c+96|0,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break b}a=v[c+52>>2];if(a){dc(a)}a=v[c+40>>2];if(a){dc(a)}a=v[c+84>>2];if(a){dc(a)}a=v[c+72>>2];if(a){dc(a)}a=v[c+116>>2];if(a){dc(a)}a=v[c+104>>2];if(!a){break d}dc(a)}Qb=c+128|0;return}a=P()|0;O()|0;break a}a=P()|0;O()|0;Md(c)}Md(c+32|0);Md(c- -64|0);Md(c+96|0);T(a|0);L()}function aTa(a,b){a=a|0;b=b|0;var 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,x=0;c=Qb-128|0;Qb=c;a:{b:{c:{d=a+96|0;d:{if(!w[d+1432|0]){f=a+1596|0;g=a+1628|0;if(!(!w[g+1160|0]|v[g+1172>>2]!=2)){qd(g+100|0,g,v[g+1164>>2],v[g+1168>>2]);v[g+1172>>2]=3}Dd(g);e:{if(!v[g+12>>2]){break e}v[g+1176>>2]=v[g+84>>2];d=v[g+80>>2];a=(v[g+88>>2]-d|0)+2|0;f:{if(a>>>0<=y[f+24>>2]){break f}e=v[f+20>>2];if(e){dc(e)}v[f+24>>2]=a;t=f,x=fc((a|0)!=(a&536870911)?-1:a<<3),v[t+20>>2]=x;if((a|0)==v[f+16>>2]){break f}e=v[f+12>>2];if(e){dc(e)}v[f+16>>2]=a;t=f,x=fc(a),v[t+12>>2]=x}v[f>>2]=d;v[f+4>>2]=2147483632;v[f+28>>2]=v[f+20>>2];if(!Sf(g,f)){break e}while(1){l=v[b>>2];m=v[b+4>>2];p=v[b+8>>2];i=v[f+20>>2];o=v[f+28>>2]-i>>3;n=v[f+8>>2];while(1){a=v[i+12>>2];d=u[i+8>>1];h=u[i+10>>1];e=h>>31;e=(e^e+h)&65535;h=v[m+4>>2];g:{if(e>>>0<=h>>>0){break g}j=h;h=e+255&130816;if((j|0)==(h|0)){break g}k=v[m>>2];if(k){dc(k)}v[m+4>>2]=h;t=m,x=fc(h<<2),v[t>>2]=x}h=v[m>>2];cY(p,h,d,n,e);h:{if(v[l+16>>2]<(n|0)|v[l+8>>2]>(n|0)){break h}j=u[i+10>>1]<0;k=j?0:a;q=w[a|0];a=v[l+4>>2];i:{if((d|0)>=(a|0)){a=d;break i}d=a-d|0;e=e-d|0;if((e|0)<1){break h}k=j?0:d+k|0;h=(d<<2)+h|0}r=v[l>>2];j=a;s=n;d=v[l+12>>2];if((d|0)<(a+e|0)){d=d-a|0;if((d|0)<0){break h}e=d+1|0}ig(r,j,s,e,h,k,q)}i=i+8|0;o=o-1|0;if(o){continue}break}if(Sf(g,f)){continue}break}}break d}if(!w[d+1433|0]){v[c+112>>2]=0;v[c+116>>2]=0;v[c+120>>2]=0;v[c+124>>2]=0;v[c+104>>2]=0;v[c+108>>2]=0;v[c+96>>2]=2147483632;v[c+80>>2]=0;v[c+84>>2]=0;v[c+88>>2]=0;v[c+92>>2]=0;v[c+72>>2]=0;v[c+76>>2]=0;v[c+64>>2]=2147483632;v[c+48>>2]=0;v[c+52>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[299999]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=2147483632;da(2438,a+1628|0,d|0,c- -64|0,c+32|0,c+96|0,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break c}a=v[c+52>>2];if(a){dc(a)}a=v[c+40>>2];if(a){dc(a)}a=v[c+84>>2];if(a){dc(a)}a=v[c+72>>2];if(a){dc(a)}a=v[c+116>>2];if(a){dc(a)}a=v[c+104>>2];if(!a){break d}dc(a);break d}v[c+112>>2]=0;v[c+116>>2]=0;v[c+120>>2]=0;v[c+124>>2]=0;v[c+104>>2]=0;v[c+108>>2]=0;v[c+96>>2]=2147483632;v[c+80>>2]=0;v[c+84>>2]=0;v[c+88>>2]=0;v[c+92>>2]=0;v[c+72>>2]=0;v[c+76>>2]=0;v[c+64>>2]=2147483632;v[c+48>>2]=0;v[c+52>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=2147483632;v[c+16>>2]=0;v[c+20>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=2147483632;d=v[a+1524>>2];v[299999]=0;da(2439,a+1628|0,(((d|0)==1?1180:1304)+a|0)+96|0,c- -64|0,c+32|0,c+96|0,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break b}a=v[c+52>>2];if(a){dc(a)}a=v[c+40>>2];if(a){dc(a)}a=v[c+84>>2];if(a){dc(a)}a=v[c+72>>2];if(a){dc(a)}a=v[c+116>>2];if(a){dc(a)}a=v[c+104>>2];if(!a){break d}dc(a)}Qb=c+128|0;return}a=P()|0;O()|0;break a}a=P()|0;O()|0;Md(c)}Md(c+32|0);Md(c- -64|0);Md(c+96|0);T(a|0);L()}function _Sa(a,b){a=a|0;b=b|0;var 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,x=0;c=Qb-128|0;Qb=c;a:{b:{c:{d=a+96|0;d:{if(!w[d+1432|0]){f=a+1596|0;g=a+1628|0;if(!(!w[g+1160|0]|v[g+1172>>2]!=2)){qd(g+100|0,g,v[g+1164>>2],v[g+1168>>2]);v[g+1172>>2]=3}Dd(g);e:{if(!v[g+12>>2]){break e}v[g+1176>>2]=v[g+84>>2];d=v[g+80>>2];a=(v[g+88>>2]-d|0)+2|0;f:{if(a>>>0<=y[f+24>>2]){break f}e=v[f+20>>2];if(e){dc(e)}v[f+24>>2]=a;t=f,x=fc((a|0)!=(a&536870911)?-1:a<<3),v[t+20>>2]=x;if((a|0)==v[f+16>>2]){break f}e=v[f+12>>2];if(e){dc(e)}v[f+16>>2]=a;t=f,x=fc(a),v[t+12>>2]=x}v[f>>2]=d;v[f+4>>2]=2147483632;v[f+28>>2]=v[f+20>>2];if(!Sf(g,f)){break e}while(1){l=v[b>>2];m=v[b+4>>2];p=v[b+8>>2];i=v[f+20>>2];o=v[f+28>>2]-i>>3;n=v[f+8>>2];while(1){a=v[i+12>>2];d=u[i+8>>1];h=u[i+10>>1];e=h>>31;e=(e^e+h)&65535;h=v[m+4>>2];g:{if(e>>>0<=h>>>0){break g}j=h;h=e+255&130816;if((j|0)==(h|0)){break g}k=v[m>>2];if(k){dc(k)}v[m+4>>2]=h;t=m,x=fc(h<<2),v[t>>2]=x}h=v[m>>2];_X(p,h,d,n,e);h:{if(v[l+16>>2]<(n|0)|v[l+8>>2]>(n|0)){break h}j=u[i+10>>1]<0;k=j?0:a;q=w[a|0];a=v[l+4>>2];i:{if((d|0)>=(a|0)){a=d;break i}d=a-d|0;e=e-d|0;if((e|0)<1){break h}k=j?0:d+k|0;h=(d<<2)+h|0}r=v[l>>2];j=a;s=n;d=v[l+12>>2];if((d|0)<(a+e|0)){d=d-a|0;if((d|0)<0){break h}e=d+1|0}ig(r,j,s,e,h,k,q)}i=i+8|0;o=o-1|0;if(o){continue}break}if(Sf(g,f)){continue}break}}break d}if(!w[d+1433|0]){v[c+112>>2]=0;v[c+116>>2]=0;v[c+120>>2]=0;v[c+124>>2]=0;v[c+104>>2]=0;v[c+108>>2]=0;v[c+96>>2]=2147483632;v[c+80>>2]=0;v[c+84>>2]=0;v[c+88>>2]=0;v[c+92>>2]=0;v[c+72>>2]=0;v[c+76>>2]=0;v[c+64>>2]=2147483632;v[c+48>>2]=0;v[c+52>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[299999]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=2147483632;da(2442,a+1628|0,d|0,c- -64|0,c+32|0,c+96|0,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break c}a=v[c+52>>2];if(a){dc(a)}a=v[c+40>>2];if(a){dc(a)}a=v[c+84>>2];if(a){dc(a)}a=v[c+72>>2];if(a){dc(a)}a=v[c+116>>2];if(a){dc(a)}a=v[c+104>>2];if(!a){break d}dc(a);break d}v[c+112>>2]=0;v[c+116>>2]=0;v[c+120>>2]=0;v[c+124>>2]=0;v[c+104>>2]=0;v[c+108>>2]=0;v[c+96>>2]=2147483632;v[c+80>>2]=0;v[c+84>>2]=0;v[c+88>>2]=0;v[c+92>>2]=0;v[c+72>>2]=0;v[c+76>>2]=0;v[c+64>>2]=2147483632;v[c+48>>2]=0;v[c+52>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=2147483632;v[c+16>>2]=0;v[c+20>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=2147483632;d=v[a+1524>>2];v[299999]=0;da(2443,a+1628|0,(((d|0)==1?1180:1304)+a|0)+96|0,c- -64|0,c+32|0,c+96|0,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break b}a=v[c+52>>2];if(a){dc(a)}a=v[c+40>>2];if(a){dc(a)}a=v[c+84>>2];if(a){dc(a)}a=v[c+72>>2];if(a){dc(a)}a=v[c+116>>2];if(a){dc(a)}a=v[c+104>>2];if(!a){break d}dc(a)}Qb=c+128|0;return}a=P()|0;O()|0;break a}a=P()|0;O()|0;Md(c)}Md(c+32|0);Md(c- -64|0);Md(c+96|0);T(a|0);L()}function ZSa(a,b){a=a|0;b=b|0;var 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,x=0;c=Qb-128|0;Qb=c;a:{b:{c:{d=a+96|0;d:{if(!w[d+1432|0]){f=a+1596|0;g=a+1628|0;if(!(!w[g+1160|0]|v[g+1172>>2]!=2)){qd(g+100|0,g,v[g+1164>>2],v[g+1168>>2]);v[g+1172>>2]=3}Dd(g);e:{if(!v[g+12>>2]){break e}v[g+1176>>2]=v[g+84>>2];d=v[g+80>>2];a=(v[g+88>>2]-d|0)+2|0;f:{if(a>>>0<=y[f+24>>2]){break f}e=v[f+20>>2];if(e){dc(e)}v[f+24>>2]=a;t=f,x=fc((a|0)!=(a&536870911)?-1:a<<3),v[t+20>>2]=x;if((a|0)==v[f+16>>2]){break f}e=v[f+12>>2];if(e){dc(e)}v[f+16>>2]=a;t=f,x=fc(a),v[t+12>>2]=x}v[f>>2]=d;v[f+4>>2]=2147483632;v[f+28>>2]=v[f+20>>2];if(!Sf(g,f)){break e}while(1){l=v[b>>2];m=v[b+4>>2];p=v[b+8>>2];i=v[f+20>>2];o=v[f+28>>2]-i>>3;n=v[f+8>>2];while(1){a=v[i+12>>2];d=u[i+8>>1];h=u[i+10>>1];e=h>>31;e=(e^e+h)&65535;h=v[m+4>>2];g:{if(e>>>0<=h>>>0){break g}j=h;h=e+255&130816;if((j|0)==(h|0)){break g}k=v[m>>2];if(k){dc(k)}v[m+4>>2]=h;t=m,x=fc(h<<2),v[t>>2]=x}h=v[m>>2];YX(p,h,d,n,e);h:{if(v[l+16>>2]<(n|0)|v[l+8>>2]>(n|0)){break h}j=u[i+10>>1]<0;k=j?0:a;q=w[a|0];a=v[l+4>>2];i:{if((d|0)>=(a|0)){a=d;break i}d=a-d|0;e=e-d|0;if((e|0)<1){break h}k=j?0:d+k|0;h=(d<<2)+h|0}r=v[l>>2];j=a;s=n;d=v[l+12>>2];if((d|0)<(a+e|0)){d=d-a|0;if((d|0)<0){break h}e=d+1|0}ig(r,j,s,e,h,k,q)}i=i+8|0;o=o-1|0;if(o){continue}break}if(Sf(g,f)){continue}break}}break d}if(!w[d+1433|0]){v[c+112>>2]=0;v[c+116>>2]=0;v[c+120>>2]=0;v[c+124>>2]=0;v[c+104>>2]=0;v[c+108>>2]=0;v[c+96>>2]=2147483632;v[c+80>>2]=0;v[c+84>>2]=0;v[c+88>>2]=0;v[c+92>>2]=0;v[c+72>>2]=0;v[c+76>>2]=0;v[c+64>>2]=2147483632;v[c+48>>2]=0;v[c+52>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[299999]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=2147483632;da(2444,a+1628|0,d|0,c- -64|0,c+32|0,c+96|0,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break c}a=v[c+52>>2];if(a){dc(a)}a=v[c+40>>2];if(a){dc(a)}a=v[c+84>>2];if(a){dc(a)}a=v[c+72>>2];if(a){dc(a)}a=v[c+116>>2];if(a){dc(a)}a=v[c+104>>2];if(!a){break d}dc(a);break d}v[c+112>>2]=0;v[c+116>>2]=0;v[c+120>>2]=0;v[c+124>>2]=0;v[c+104>>2]=0;v[c+108>>2]=0;v[c+96>>2]=2147483632;v[c+80>>2]=0;v[c+84>>2]=0;v[c+88>>2]=0;v[c+92>>2]=0;v[c+72>>2]=0;v[c+76>>2]=0;v[c+64>>2]=2147483632;v[c+48>>2]=0;v[c+52>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=2147483632;v[c+16>>2]=0;v[c+20>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=2147483632;d=v[a+1524>>2];v[299999]=0;da(2445,a+1628|0,(((d|0)==1?1180:1304)+a|0)+96|0,c- -64|0,c+32|0,c+96|0,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break b}a=v[c+52>>2];if(a){dc(a)}a=v[c+40>>2];if(a){dc(a)}a=v[c+84>>2];if(a){dc(a)}a=v[c+72>>2];if(a){dc(a)}a=v[c+116>>2];if(a){dc(a)}a=v[c+104>>2];if(!a){break d}dc(a)}Qb=c+128|0;return}a=P()|0;O()|0;break a}a=P()|0;O()|0;Md(c)}Md(c+32|0);Md(c- -64|0);Md(c+96|0);T(a|0);L()}function YSa(a,b){a=a|0;b=b|0;var 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,x=0;c=Qb-128|0;Qb=c;a:{b:{c:{d=a+96|0;d:{if(!w[d+1432|0]){f=a+1596|0;g=a+1628|0;if(!(!w[g+1160|0]|v[g+1172>>2]!=2)){qd(g+100|0,g,v[g+1164>>2],v[g+1168>>2]);v[g+1172>>2]=3}Dd(g);e:{if(!v[g+12>>2]){break e}v[g+1176>>2]=v[g+84>>2];d=v[g+80>>2];a=(v[g+88>>2]-d|0)+2|0;f:{if(a>>>0<=y[f+24>>2]){break f}e=v[f+20>>2];if(e){dc(e)}v[f+24>>2]=a;t=f,x=fc((a|0)!=(a&536870911)?-1:a<<3),v[t+20>>2]=x;if((a|0)==v[f+16>>2]){break f}e=v[f+12>>2];if(e){dc(e)}v[f+16>>2]=a;t=f,x=fc(a),v[t+12>>2]=x}v[f>>2]=d;v[f+4>>2]=2147483632;v[f+28>>2]=v[f+20>>2];if(!Sf(g,f)){break e}while(1){l=v[b>>2];m=v[b+4>>2];p=v[b+8>>2];i=v[f+20>>2];o=v[f+28>>2]-i>>3;n=v[f+8>>2];while(1){a=v[i+12>>2];d=u[i+8>>1];h=u[i+10>>1];e=h>>31;e=(e^e+h)&65535;h=v[m+4>>2];g:{if(e>>>0<=h>>>0){break g}j=h;h=e+255&130816;if((j|0)==(h|0)){break g}k=v[m>>2];if(k){dc(k)}v[m+4>>2]=h;t=m,x=fc(h<<2),v[t>>2]=x}h=v[m>>2];WX(p,h,d,n,e);h:{if(v[l+16>>2]<(n|0)|v[l+8>>2]>(n|0)){break h}j=u[i+10>>1]<0;k=j?0:a;q=w[a|0];a=v[l+4>>2];i:{if((d|0)>=(a|0)){a=d;break i}d=a-d|0;e=e-d|0;if((e|0)<1){break h}k=j?0:d+k|0;h=(d<<2)+h|0}r=v[l>>2];j=a;s=n;d=v[l+12>>2];if((d|0)<(a+e|0)){d=d-a|0;if((d|0)<0){break h}e=d+1|0}ig(r,j,s,e,h,k,q)}i=i+8|0;o=o-1|0;if(o){continue}break}if(Sf(g,f)){continue}break}}break d}if(!w[d+1433|0]){v[c+112>>2]=0;v[c+116>>2]=0;v[c+120>>2]=0;v[c+124>>2]=0;v[c+104>>2]=0;v[c+108>>2]=0;v[c+96>>2]=2147483632;v[c+80>>2]=0;v[c+84>>2]=0;v[c+88>>2]=0;v[c+92>>2]=0;v[c+72>>2]=0;v[c+76>>2]=0;v[c+64>>2]=2147483632;v[c+48>>2]=0;v[c+52>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[299999]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=2147483632;da(2446,a+1628|0,d|0,c- -64|0,c+32|0,c+96|0,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break c}a=v[c+52>>2];if(a){dc(a)}a=v[c+40>>2];if(a){dc(a)}a=v[c+84>>2];if(a){dc(a)}a=v[c+72>>2];if(a){dc(a)}a=v[c+116>>2];if(a){dc(a)}a=v[c+104>>2];if(!a){break d}dc(a);break d}v[c+112>>2]=0;v[c+116>>2]=0;v[c+120>>2]=0;v[c+124>>2]=0;v[c+104>>2]=0;v[c+108>>2]=0;v[c+96>>2]=2147483632;v[c+80>>2]=0;v[c+84>>2]=0;v[c+88>>2]=0;v[c+92>>2]=0;v[c+72>>2]=0;v[c+76>>2]=0;v[c+64>>2]=2147483632;v[c+48>>2]=0;v[c+52>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=2147483632;v[c+16>>2]=0;v[c+20>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=2147483632;d=v[a+1524>>2];v[299999]=0;da(2447,a+1628|0,(((d|0)==1?1180:1304)+a|0)+96|0,c- -64|0,c+32|0,c+96|0,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break b}a=v[c+52>>2];if(a){dc(a)}a=v[c+40>>2];if(a){dc(a)}a=v[c+84>>2];if(a){dc(a)}a=v[c+72>>2];if(a){dc(a)}a=v[c+116>>2];if(a){dc(a)}a=v[c+104>>2];if(!a){break d}dc(a)}Qb=c+128|0;return}a=P()|0;O()|0;break a}a=P()|0;O()|0;Md(c)}Md(c+32|0);Md(c- -64|0);Md(c+96|0);T(a|0);L()}function XSa(a,b){a=a|0;b=b|0;var 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,x=0;c=Qb-128|0;Qb=c;a:{b:{c:{d=a+96|0;d:{if(!w[d+1432|0]){f=a+1596|0;g=a+1628|0;if(!(!w[g+1160|0]|v[g+1172>>2]!=2)){qd(g+100|0,g,v[g+1164>>2],v[g+1168>>2]);v[g+1172>>2]=3}Dd(g);e:{if(!v[g+12>>2]){break e}v[g+1176>>2]=v[g+84>>2];d=v[g+80>>2];a=(v[g+88>>2]-d|0)+2|0;f:{if(a>>>0<=y[f+24>>2]){break f}e=v[f+20>>2];if(e){dc(e)}v[f+24>>2]=a;t=f,x=fc((a|0)!=(a&536870911)?-1:a<<3),v[t+20>>2]=x;if((a|0)==v[f+16>>2]){break f}e=v[f+12>>2];if(e){dc(e)}v[f+16>>2]=a;t=f,x=fc(a),v[t+12>>2]=x}v[f>>2]=d;v[f+4>>2]=2147483632;v[f+28>>2]=v[f+20>>2];if(!Sf(g,f)){break e}while(1){l=v[b>>2];m=v[b+4>>2];p=v[b+8>>2];i=v[f+20>>2];o=v[f+28>>2]-i>>3;n=v[f+8>>2];while(1){a=v[i+12>>2];d=u[i+8>>1];h=u[i+10>>1];e=h>>31;e=(e^e+h)&65535;h=v[m+4>>2];g:{if(e>>>0<=h>>>0){break g}j=h;h=e+255&130816;if((j|0)==(h|0)){break g}k=v[m>>2];if(k){dc(k)}v[m+4>>2]=h;t=m,x=fc(h<<2),v[t>>2]=x}h=v[m>>2];UX(p,h,d,n,e);h:{if(v[l+16>>2]<(n|0)|v[l+8>>2]>(n|0)){break h}j=u[i+10>>1]<0;k=j?0:a;q=w[a|0];a=v[l+4>>2];i:{if((d|0)>=(a|0)){a=d;break i}d=a-d|0;e=e-d|0;if((e|0)<1){break h}k=j?0:d+k|0;h=(d<<2)+h|0}r=v[l>>2];j=a;s=n;d=v[l+12>>2];if((d|0)<(a+e|0)){d=d-a|0;if((d|0)<0){break h}e=d+1|0}ig(r,j,s,e,h,k,q)}i=i+8|0;o=o-1|0;if(o){continue}break}if(Sf(g,f)){continue}break}}break d}if(!w[d+1433|0]){v[c+112>>2]=0;v[c+116>>2]=0;v[c+120>>2]=0;v[c+124>>2]=0;v[c+104>>2]=0;v[c+108>>2]=0;v[c+96>>2]=2147483632;v[c+80>>2]=0;v[c+84>>2]=0;v[c+88>>2]=0;v[c+92>>2]=0;v[c+72>>2]=0;v[c+76>>2]=0;v[c+64>>2]=2147483632;v[c+48>>2]=0;v[c+52>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[299999]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=2147483632;da(2448,a+1628|0,d|0,c- -64|0,c+32|0,c+96|0,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break c}a=v[c+52>>2];if(a){dc(a)}a=v[c+40>>2];if(a){dc(a)}a=v[c+84>>2];if(a){dc(a)}a=v[c+72>>2];if(a){dc(a)}a=v[c+116>>2];if(a){dc(a)}a=v[c+104>>2];if(!a){break d}dc(a);break d}v[c+112>>2]=0;v[c+116>>2]=0;v[c+120>>2]=0;v[c+124>>2]=0;v[c+104>>2]=0;v[c+108>>2]=0;v[c+96>>2]=2147483632;v[c+80>>2]=0;v[c+84>>2]=0;v[c+88>>2]=0;v[c+92>>2]=0;v[c+72>>2]=0;v[c+76>>2]=0;v[c+64>>2]=2147483632;v[c+48>>2]=0;v[c+52>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=2147483632;v[c+16>>2]=0;v[c+20>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=2147483632;d=v[a+1524>>2];v[299999]=0;da(2449,a+1628|0,(((d|0)==1?1180:1304)+a|0)+96|0,c- -64|0,c+32|0,c+96|0,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break b}a=v[c+52>>2];if(a){dc(a)}a=v[c+40>>2];if(a){dc(a)}a=v[c+84>>2];if(a){dc(a)}a=v[c+72>>2];if(a){dc(a)}a=v[c+116>>2];if(a){dc(a)}a=v[c+104>>2];if(!a){break d}dc(a)}Qb=c+128|0;return}a=P()|0;O()|0;break a}a=P()|0;O()|0;Md(c)}Md(c+32|0);Md(c- -64|0);Md(c+96|0);T(a|0);L()}function $Sa(a,b){a=a|0;b=b|0;var 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,x=0;c=Qb-128|0;Qb=c;a:{b:{c:{d=a+96|0;d:{if(!w[d+1432|0]){f=a+1596|0;g=a+1628|0;if(!(!w[g+1160|0]|v[g+1172>>2]!=2)){qd(g+100|0,g,v[g+1164>>2],v[g+1168>>2]);v[g+1172>>2]=3}Dd(g);e:{if(!v[g+12>>2]){break e}v[g+1176>>2]=v[g+84>>2];d=v[g+80>>2];a=(v[g+88>>2]-d|0)+2|0;f:{if(a>>>0<=y[f+24>>2]){break f}e=v[f+20>>2];if(e){dc(e)}v[f+24>>2]=a;t=f,x=fc((a|0)!=(a&536870911)?-1:a<<3),v[t+20>>2]=x;if((a|0)==v[f+16>>2]){break f}e=v[f+12>>2];if(e){dc(e)}v[f+16>>2]=a;t=f,x=fc(a),v[t+12>>2]=x}v[f>>2]=d;v[f+4>>2]=2147483632;v[f+28>>2]=v[f+20>>2];if(!Sf(g,f)){break e}while(1){l=v[b>>2];m=v[b+4>>2];p=v[b+8>>2];i=v[f+20>>2];o=v[f+28>>2]-i>>3;n=v[f+8>>2];while(1){a=v[i+12>>2];d=u[i+8>>1];h=u[i+10>>1];e=h>>31;e=(e^e+h)&65535;h=v[m+4>>2];g:{if(e>>>0<=h>>>0){break g}j=h;h=e+255&130816;if((j|0)==(h|0)){break g}k=v[m>>2];if(k){dc(k)}v[m+4>>2]=h;t=m,x=fc(h<<2),v[t>>2]=x}h=v[m>>2];aY(p,h,d,n,e);h:{if(v[l+16>>2]<(n|0)|v[l+8>>2]>(n|0)){break h}j=u[i+10>>1]<0;k=j?0:a;q=w[a|0];a=v[l+4>>2];i:{if((d|0)>=(a|0)){a=d;break i}d=a-d|0;e=e-d|0;if((e|0)<1){break h}k=j?0:d+k|0;h=(d<<2)+h|0}r=v[l>>2];j=a;s=n;d=v[l+12>>2];if((d|0)<(a+e|0)){d=d-a|0;if((d|0)<0){break h}e=d+1|0}ig(r,j,s,e,h,k,q)}i=i+8|0;o=o-1|0;if(o){continue}break}if(Sf(g,f)){continue}break}}break d}if(!w[d+1433|0]){v[c+112>>2]=0;v[c+116>>2]=0;v[c+120>>2]=0;v[c+124>>2]=0;v[c+104>>2]=0;v[c+108>>2]=0;v[c+96>>2]=2147483632;v[c+80>>2]=0;v[c+84>>2]=0;v[c+88>>2]=0;v[c+92>>2]=0;v[c+72>>2]=0;v[c+76>>2]=0;v[c+64>>2]=2147483632;v[c+48>>2]=0;v[c+52>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[299999]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=2147483632;da(2440,a+1628|0,d|0,c- -64|0,c+32|0,c+96|0,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break c}a=v[c+52>>2];if(a){dc(a)}a=v[c+40>>2];if(a){dc(a)}a=v[c+84>>2];if(a){dc(a)}a=v[c+72>>2];if(a){dc(a)}a=v[c+116>>2];if(a){dc(a)}a=v[c+104>>2];if(!a){break d}dc(a);break d}v[c+112>>2]=0;v[c+116>>2]=0;v[c+120>>2]=0;v[c+124>>2]=0;v[c+104>>2]=0;v[c+108>>2]=0;v[c+96>>2]=2147483632;v[c+80>>2]=0;v[c+84>>2]=0;v[c+88>>2]=0;v[c+92>>2]=0;v[c+72>>2]=0;v[c+76>>2]=0;v[c+64>>2]=2147483632;v[c+48>>2]=0;v[c+52>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=2147483632;v[c+16>>2]=0;v[c+20>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=2147483632;d=v[a+1524>>2];v[299999]=0;da(2441,a+1628|0,(((d|0)==1?1180:1304)+a|0)+96|0,c- -64|0,c+32|0,c+96|0,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break b}a=v[c+52>>2];if(a){dc(a)}a=v[c+40>>2];if(a){dc(a)}a=v[c+84>>2];if(a){dc(a)}a=v[c+72>>2];if(a){dc(a)}a=v[c+116>>2];if(a){dc(a)}a=v[c+104>>2];if(!a){break d}dc(a)}Qb=c+128|0;return}a=P()|0;O()|0;break a}a=P()|0;O()|0;Md(c)}Md(c+32|0);Md(c- -64|0);Md(c+96|0);T(a|0);L()}function QU(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=Qb-96|0;Qb=f;a:{if(!b|!c){break a}b:{c:{switch(d-1|0){case 0:if(!e){break b}d:{if(!a){b=0;d=0;c=0;break d}b=v[a>>2];d=v[a+4>>2];c=0;if((v[a+28>>2]&-2)!=-1412623820){break d}c=(b^-1)+a>>>0<249?b:0}v[f+32>>2]=354662;oc(0,d,b,c,0,23,1,2,0,0,0,0,237306,f+32|0);break a;case 1:if(!e){break b}e:{if(!a){b=0;d=0;c=0;break e}b=v[a>>2];d=v[a+4>>2];c=0;if((v[a+28>>2]&-2)!=-1412623820){break e}c=(b^-1)+a>>>0<249?b:0}v[f+48>>2]=354708;oc(0,d,b,c,0,23,1,2,0,0,0,0,237306,f+48|0);break a;case 2:if(e){break b}f:{if(!a){b=0;d=0;c=0;break f}b=v[a>>2];d=v[a+4>>2];c=0;if((v[a+28>>2]&-2)!=-1412623820){break f}c=(b^-1)+a>>>0<249?b:0}v[f+64>>2]=355620;oc(0,d,b,c,0,23,1,2,0,0,0,0,237306,f- -64|0);break a;case 3:if(e){break b}g:{if(!a){b=0;d=0;c=0;break g}b=v[a>>2];d=v[a+4>>2];c=0;if((v[a+28>>2]&-2)!=-1412623820){break g}c=(b^-1)+a>>>0<249?b:0}v[f+80>>2]=354826;oc(0,d,b,c,0,23,1,2,0,0,0,0,237306,f+80|0);break a;default:break c}}h:{if(!a){b=0;d=0;c=0;break h}b=v[a>>2];d=v[a+4>>2];c=0;if((v[a+28>>2]&-2)!=-1412623820){break h}c=(b^-1)+a>>>0<249?b:0}v[f>>2]=352413;oc(0,d,b,c,0,23,1,2,0,0,0,0,237306,f);break a}g=mo(c,f+92|0);i:{h=v[b+40>>2];if(h){break i}i=b;h=v[b+32>>2];if(h){h=v[h+80>>2]}else{h=0}h=oo(0,h);v[i+40>>2]=h;if(h){break i}j:{if(!a){b=0;c=0;d=0;break j}b=v[a>>2];c=v[a+4>>2];d=0;if((v[a+28>>2]&-2)!=-1412623820){break j}d=(b^-1)+a>>>0<249?b:0}v[f+16>>2]=356825;oc(0,c,b,d,0,23,2,3,356825,0,0,0,350051,f+16|0);if(g){Ub[v[259708]](g)}a=v[f+92>>2];if(!a){break a}Ub[v[259708]](a);break a}i=g?g:c;c=v[b+32>>2];k:{if(!c){break k}c=v[c+44>>2];if(!c){break k}c=am(v[c+40>>2],i,v[f+92>>2]);if(!c|v[c+36>>2]){break k}k=v[c+44>>2];v[c+44>>2]=0;iV(v[v[v[b+32>>2]+44>>2]+40>>2],i,v[f+92>>2]);BF(c)}c=am(h,i,v[f+92>>2]);l:{if(c){if(v[c+36>>2]){if(g){Ub[v[259708]](g)}a=v[f+92>>2];if(!a){break a}Ub[v[259708]](a);break a}i=v[f+92>>2];if(!i){break l}Ub[v[259708]](i);v[f+92>>2]=0;break l}c=Ub[v[259704]](56)|0;if(!c){RU(a);if(g){Ub[v[259708]](g)}a=v[f+92>>2];if(!a){break a}Ub[v[259708]](a);break a}v[c>>2]=0;v[c+4>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c+4>>2]=15;j=we(i);v[c+8>>2]=j;if(!j){RU(a);if(g){Ub[v[259708]](g)}a=v[f+92>>2];if(a){Ub[v[259708]](a)}Ub[v[259708]](c);break a}j=v[f+92>>2];v[c+48>>2]=j;if(RF(h,i,j,c)){BF(c);if(!g){break a}Ub[v[259708]](g);break a}v[c+44>>2]=k}v[c+36>>2]=d;m:{if(!(!a|(v[a+28>>2]&-2)!=-1412623820)){v[c+40>>2]=e;if(!e){break m}v[e+20>>2]=1;break m}l=c,m=Cu(v[b+32>>2],e),v[l+40>>2]=m}v[c+20>>2]=b;v[c+32>>2]=v[b+32>>2];a=v[b+16>>2];n:{if(!a){v[b+16>>2]=c;a=b+12|0;break n}v[a+24>>2]=c;v[c+28>>2]=a;a=b+16|0}v[a>>2]=c;if(g){Ub[v[259708]](g)}}Qb=f+96|0}function pU(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=Qb-16|0;Qb=h;f=v[a+36>>2];b=v[f+16>>2];a:{if(w[b|0]!=60){break a}i=v[a+304>>2];d=v[a+300>>2];v[f+16>>2]=b+1;v[f+32>>2]=v[f+32>>2]+1;v[a+200>>2]=v[a+200>>2]+1;if(!w[b+1|0]){cd(f)}f=nh(a);if(!f){Nd(a,68,352537);break a}Bd(a);b:{if(v[a+292>>2]){break b}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break b}nd(a)}while(1){c:{d:{e:{f:{g:{c=v[a+36>>2];k=v[c+16>>2];g=w[k|0];b=g-47|0;if(b){if((b|0)==15){break e}else{break g}}if(w[k+1|0]!=62){break f}break e}if((g|0)==13|(g-9&255)>>>0<2){break f}if(g>>>0<32){break e}}if(v[a+172>>2]==-1){break e}l=v[c+36>>2];h:{i:{v[h+12>>2]=0;j:{if(v[a+292>>2]){break j}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break j}nd(a)}c=nh(a);k:{if(!c){Nd(a,68,352734);b=0;break k}Bd(a);l:{if(w[v[v[a+36>>2]+16>>2]]==61){xd(a);Bd(a);if(v[a+36>>2]){b=yF(a,0,0,0)}else{b=0}v[a+172>>2]=7;m:{if(!v[a+268>>2]){break m}if(!ag(c,273072)){break m}if(HU(b)){break m}$l(a,98,350016,b)}if(ag(c,286280)){if(ag(b,231542)){v[v[a+232>>2]>>2]=0;break l}if(ag(b,274191)){v[v[a+232>>2]>>2]=1;break l}$l(a,102,353522,b)}break l}hf(a,41,349680,c);b=0;break k}v[h+12>>2]=b;b=c}g=b;j=v[h+12>>2];if(!(!g|!j)){b=0;c=a;n:{o:{p:{if((e|0)<=0){if(d){break p}b=22;d=Ub[v[259704]](88)|0;if(d){break o}d=0;Qd(a,0);Ub[v[259708]](j);i=22;break h}while(1){if(!ag(v[(b<<2)+d>>2],g)){b=b+2|0;if((e|0)>(b|0)){continue}break p}break}q:{if(v[a+172>>2]==-1?v[a+212>>2]:0){break q}v[a+84>>2]=42;v[h>>2]=g;oc(0,0,0,a,0,1,42,3,g,0,0,0,353837,h);v[a+12>>2]=0;if(v[a+288>>2]){break q}v[a+212>>2]=1}Ub[v[259708]](j);break h}if((e+4|0)<=(i|0)){break n}b=i<<1;i=Ub[v[259709]](d,i<<3)|0;if(!i){break i}d=i}i=b;v[c+304>>2]=b;v[a+300>>2]=d}b=(e<<2)+d|0;v[b>>2]=g;v[b+4>>2]=v[h+12>>2];e=e+2|0;v[(e<<2)+d>>2]=0;v[b+12>>2]=0;break h}if(!j){break h}Ub[v[259708]](j);break h}Qd(a,0);Ub[v[259708]](j);i=b}r:{if(v[a+292>>2]){break r}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break r}nd(a)}s:{t:{u:{b=v[v[a+36>>2]+16>>2];switch(w[b|0]-9|0){case 0:case 1:case 4:case 23:break s;case 38:break u;case 53:break e;default:break t}}if(w[b+1|0]==62){break e}}Nd(a,65,350211)}Bd(a);c=v[a+36>>2];if(v[c+36>>2]!=(l|0)|v[c+16>>2]!=(k|0)|(v[h+12>>2]|g)){break d}Nd(a,1,349025)}b=v[a>>2];v:{if(!b){break v}b=v[b+56>>2];if(v[a+212>>2]|!b){break v}a=v[a+4>>2];if((e|0)<1){break c}Ub[b|0](a,f,d)}if(!(!d|(e|0)<2)){b=1;while(1){a=v[(b<<2)+d>>2];if(a){Ub[v[259708]](a)}b=b+2|0;if((e|0)>(b|0)){continue}break}}e=f;break a}if(v[a+292>>2]){continue}b=v[c+16>>2];w:{if((b-v[c+12>>2]|0)<501|(v[c+20>>2]-b|0)>499){break w}bh(c);b=v[a+36>>2];if(w[v[b+16>>2]]){break w}if((cd(b)|0)>0){break w}vd(a)}if(v[a+292>>2]){continue}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){continue}nd(a);continue}break}Ub[b|0](a,f,0);e=f}Qb=h+16|0;return e}function _da(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=Qb-32|0;Qb=g;WN(g+24|0,b);c=v[g+24>>2];if(c){i=v[c+8>>2]}d=g+24|0;ec(d);e=g+20|0;c=v[b>>2];if(c){c=v[c+8>>2]}else{c=0}j=Bg(d,e,c+1|0,1);c=v[b>>2];ce(v[g+20>>2],v[(c?c+12|0:1129608)>>2]);k=v[g+20>>2];a:{b:{c:{d:{e:{f:{c=i+1|0;d=c;h=v[b>>2];if(h){e=v[h+8>>2]}else{e=0}g:{if((d|0)>=(e|0)){break g}h:{if(c){f=!h;d=c;i:{if((i|0)>-2){break i}d=c;if(!h){break i}d=v[h+8>>2]+c|0}if(!(f|(d|0)<0|v[h+8>>2]<(d|0))){f=v[h+12>>2];break h}v[299999]=0;ba(4543);a=v[299999];v[299999]=0;if((a|0)==1){break f}break a}if(!h){break g}d=0;f=v[h+12>>2]}if(w[d+f|0]==47){j:{d=i+2|0;if(!d){c=0;break j}c=d;c=(i|0)<=-3?c+v[h+8>>2]|0:c;if((c|0)>=0&v[h+8>>2]>=(c|0)){break j}v[299999]=0;ba(4543);a=v[299999];v[299999]=0;if((a|0)!=1){break a}break f}c=w[c+f|0]==47?i+3|0:d}v[299999]=0;c=Ml(h,47,c);d=v[299999];v[299999]=0;if((d|0)==1){break f}e=(c|0)>0?c:e}v[g+8>>2]=0;v[g+12>>2]=v[282402];f=e+k|0;c=f;k:{l:{while(1){m:{n:{d=w[c|0];if(d){if((d|0)!=63&(d|0)!=35){break n}v[299999]=0;Q(4433,g+8|0,c|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break d}t[c|0]=0}c=yd(f,335616);if(c){while(1){d=Bc(c);e=((d|0)<3?d:3)+c|0;while(1){d=w[e|0];t[c|0]=d;c=c+1|0;e=e+1|0;if(d){continue}break}c=yd(f,335616);if(c){continue}break}}c=yd(f,335618);if(c){while(1){d=Bc(c);e=((d|0)<1?d:1)+c|0;while(1){d=w[e|0];t[c|0]=d;c=c+1|0;e=e+1|0;if(d){continue}break}c=yd(f,335618);if(c){continue}break}}c=yd(f,335621);if(c){while(1){d=Bc(c);e=((d|0)<2?d:2)+c|0;while(1){d=w[e|0];t[c|0]=d;c=c+1|0;e=e+1|0;if(d){continue}break}c=yd(f,335621);if(c){continue}break}}e=yd(f,335625);if(e){while(1){c=e;o:{while(1){c=c-1|0;if(f>>>0>c>>>0){break o}if(w[c|0]!=47){continue}break}d=Bc(c);e=(e-c|0)+3|0;e=((d|0)<(e|0)?d:e)+c|0;while(1){d=w[e|0];t[c|0]=d;c=c+1|0;e=e+1|0;if(d){continue}break}}e=yd(f,335625);if(e){continue}break}}c=(Bc(f)+f|0)-2|0;p:{if(c>>>0>>0){break p}v[299999]=0;d=Q(4340,g|0,335645)|0;e=v[299999];v[299999]=0;if((e|0)==1){break m}v[299999]=0;e=Nc(d,c,-1);h=v[299999];v[299999]=0;if((h|0)==1){break l}ec(d);if(e){break p}t[c+1|0]=0}c=(Bc(f)+f|0)-3|0;if(f>>>0<=c>>>0){break k}break e}c=c+1|0;continue}break}c=P()|0;O()|0;break c}c=P()|0;O()|0;ec(d);break c}v[299999]=0;d=Q(4340,g|0,335648)|0;e=v[299999];v[299999]=0;q:{if((e|0)!=1){v[299999]=0;e=Nc(d,c,-1);h=v[299999];v[299999]=0;if((h|0)==1){break q}ec(d);if(e){break e}while(1){d=c;c=c-1|0;if(f>>>0>c>>>0){break e}if(w[c|0]!=47){continue}break}t[d|0]=0;break e}c=P()|0;O()|0;break c}c=P()|0;O()|0;ec(d);break c}c=P()|0;O()|0;break b}v[299999]=0;Q(4433,b|0,v[g+20>>2])|0;c=v[299999];v[299999]=0;if((c|0)==1){break d}v[299999]=0;U(4547,a|0,b|0,g+8|0);a=v[299999];v[299999]=0;if((a|0)==1){break d}ec(g+8|0);Lc(j);Qb=g+32|0;return}c=P()|0;O()|0}ec(g+8|0)}Lc(j);T(c|0);L()}L()}function U5a(a){a=a|0;var 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,w=0,y=0;b=Qb-912|0;Qb=b;c=x[a+26308>>1];if(c){k=v[252391];i=x[a+26310>>1];d=v[b+132>>2];g=v[b+140>>2];e=v[b+136>>2];n=v[b+128>>2];l=a+26484|0;while(1){i=i&65535;a:{if(!i){i=0;break a}t=o|1;p=0;while(1){d=b+144|0;c=i-p|0;w=(c|0)<128?c:128;WI(a,d,B(w,3));i=d;g=0;d=0;q=0;r=0;s=0;if((c|0)>=1){while(1){q=u[i+10>>1]+q|0;r=u[i+8>>1]+r|0;c=(q+r|0)+2>>2;m=q-c|0;n=u[i>>1]+d|0;if(n>>>0>=1024){b:{if(v[a+26160>>2]){break b}v[b+112>>2]=v[a+25208>>2];wc(k,8292,b+112|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,k);break b}d=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[b+96>>2]=d;v[b+100>>2]=d>>31;wc(k,14622,b+96|0)}v[a+26160>>2]=1}e=v[a+26352>>2];f=p+s|0;d=e+(f+B(x[a+26310>>1],o)<<3)|0;j=m+n|0;j=(j|0)<4095?j:4095;u[d>>1]=x[(((j|0)>0?j:0)<<1)+l>>1];j=n-c|0;j=(j|0)<4095?j:4095;u[d+2>>1]=x[(((j|0)>0?j:0)<<1)+l>>1];h=d;j=r-c|0;d=j+n|0;d=(d|0)<4095?d:4095;u[h+4>>1]=x[(((d|0)>0?d:0)<<1)+l>>1];d=u[i+2>>1]+n|0;if(d>>>0>=1024){c:{if(v[a+26160>>2]){break c}v[b+80>>2]=v[a+25208>>2];wc(k,8292,b+80|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,k);break c}e=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[b+64>>2]=e;v[b+68>>2]=e>>31;wc(k,14622,b- -64|0)}v[a+26160>>2]=1;e=v[a+26352>>2]}y=f|1;e=e+(y+B(x[a+26310>>1],o)<<3)|0;h=d+m|0;h=(h|0)<4095?h:4095;u[e>>1]=x[(((h|0)>0?h:0)<<1)+l>>1];h=d-c|0;h=(h|0)<4095?h:4095;u[e+2>>1]=x[(((h|0)>0?h:0)<<1)+l>>1];h=e;e=d+j|0;e=(e|0)<4095?e:4095;u[h+4>>1]=x[(((e|0)>0?e:0)<<1)+l>>1];e=u[i+4>>1]+g|0;if(e>>>0>=1024){d:{if(v[a+26160>>2]){break d}v[b+48>>2]=v[a+25208>>2];wc(k,8292,b+48|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,k);break d}g=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[b+32>>2]=g;v[b+36>>2]=g>>31;wc(k,14622,b+32|0)}v[a+26160>>2]=1}h=v[a+26352>>2];g=h+(f+B(x[a+26310>>1],t)<<3)|0;f=e+m|0;f=(f|0)<4095?f:4095;u[g>>1]=x[(((f|0)>0?f:0)<<1)+l>>1];f=e-c|0;f=(f|0)<4095?f:4095;u[g+2>>1]=x[(((f|0)>0?f:0)<<1)+l>>1];f=g;g=e+j|0;g=(g|0)<4095?g:4095;u[f+4>>1]=x[(((g|0)>0?g:0)<<1)+l>>1];g=u[i+6>>1]+e|0;if(g>>>0>=1024){e:{if(v[a+26160>>2]){break e}v[b+16>>2]=v[a+25208>>2];wc(k,8292,b+16|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,k);break e}f=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[b>>2]=f;v[b+4>>2]=f>>31;wc(k,14622,b)}v[a+26160>>2]=1;h=v[a+26352>>2]}f=h+(B(x[a+26310>>1],t)+y<<3)|0;m=g+m|0;m=(m|0)<4095?m:4095;u[f>>1]=x[(((m|0)>0?m:0)<<1)+l>>1];c=g-c|0;c=(c|0)<4095?c:4095;u[f+2>>1]=x[(((c|0)>0?c:0)<<1)+l>>1];c=g+j|0;c=(c|0)<4095?c:4095;u[f+4>>1]=x[(((c|0)>0?c:0)<<1)+l>>1];i=i+12|0;s=s+2|0;if((w|0)>(s|0)){continue}break}}i=x[a+26310>>1];p=p+128|0;if(i>>>0>p>>>0){continue}break}c=x[a+26308>>1]}o=o+2|0;if(o>>>0>>0){continue}break}v[b+140>>2]=g;v[b+136>>2]=e;v[b+128>>2]=n;v[b+132>>2]=d}Qb=b+912|0}function DW(a,b,c,d,e,f){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,x=0,z=0;g=Qb-32|0;Qb=g;v[g+28>>2]=0;a:{if(!f|v[f>>2]>0){break a}if(d?!a|!b:1){v[f>>2]=1;break a}b:{k=((e>>>0<2147483649?e+2147483647|0:-1)|0)==(e|0)?e-1|0:e;m=v[d>>2];c:{if(k>>>0>>0){break c}e=v[b>>2];if(e>>>0>c>>>0){break c}h=k-m|0;if(!(c>>>0<=e>>>0|(c-e|0)>-1)|k>>>0>m>>>0&h>>1>>>0>=1073741824){break c}if(!(h&1)){break b}}v[f>>2]=1;break a}if(t[a+63|0]>=1){h=0;h=g+28|0?v[g+28>>2]:h;e=v[b>>2];i=t[a+63|0];d:{if((i|0)>=1){while(1){if((c|0)==(e|0)){e=0;n=a+76|0;while(1){t[e+n|0]=w[j+n|0];e=e+1|0;j=j+1|0;if((i|0)>(j|0)){continue}break}t[a+63|0]=e;v[b>>2]=c;if(h){v[g+28>>2]=h}v[f>>2]=15;e=1;break d}t[e|0]=w[(a+j|0)+76|0];j=j+1|0;if(h){v[h>>2]=-1;h=h+4|0}else{h=0}e=e+1|0;if((i|0)!=(j|0)){continue}break}}t[a+63|0]=0;v[b>>2]=e;if(h){v[g+28>>2]=h}e=0}if(e){break a}}if((k|0)==(m|0)&t[a+253|0]>-1){break a}t[g+2|0]=0;v[g+4>>2]=a;v[g+24>>2]=v[g+28>>2];v[g+12>>2]=k;v[g+8>>2]=m;v[g+16>>2]=v[b>>2];u[g>>1]=28;v[g+20>>2]=c;j=f;c=0;n=0;o=Qb-48|0;Qb=o;i=v[g+4>>2];a=v[v[i+24>>2]+20>>2];e=v[g+24>>2];e:{if(e){p=v[a+36>>2];if(p){break e}c=-1}else{c=0}p=v[a+32>>2]}f=v[g+16>>2];m=v[g+8>>2];a=t[i+253|0];f:{if((a|0)>-1){a=c;c=0;h=0;break f}q=w[g+2|0];n=v[g+12>>2];a=gc(o,i+184|0,0-(a<<1)|0);v[g+8>>2]=a;h=t[i+253|0];t[g+2|0]=0;v[g+12>>2]=a-(h<<1);t[i+253|0]=0;a=-1;h=m}k=h;r=i+112|0;s=i+184|0;g:while(1){h:{h=0;x=0;i:{if(v[j>>2]>0){break i}Ub[p|0](g,j);if(!w[g+2|0]|v[j>>2]>0|v[g+8>>2]!=v[g+12>>2]){break i}x=!v[i+56>>2]}z=1;while(1){j:{if(!e){e=0;break j}f=v[g+16>>2]-f|0;k:{if((f|0)<1){f=e;break k}l=f<<2;f=l+e|0;h=(a|0)>-1?a-h|0:-1;l:{if(!h){break l}if((h|0)<=0){h=e+l|0;l=e+4|0;ic(e,255,((h>>>0>l>>>0?h:l)-e|0)+3&-4);break l}while(1){l=v[e>>2];if((l|0)>=0){v[e>>2]=h+l}e=e+4|0;if(f>>>0>e>>>0){continue}break}}v[g+24>>2]=f}e=f;if((a|0)>=0){a=(v[g+8>>2]-m>>1)+a|0}}f=t[i+253|0];if((f|0)<=-1){m:{if(!k){q=w[g+2|0];n=v[g+12>>2];k=v[g+8>>2];c=gc(o,s,0-(f<<1)|0);v[g+8>>2]=c;f=t[i+253|0];t[g+2|0]=0;v[g+12>>2]=c-(f<<1);t[i+253|0]=0;c=a;a=f+a|0;a=(a|0)>-1?a:-1;break m}v[j>>2]=5}}f=v[g+16>>2];m=v[g+8>>2];n:{h=v[j>>2];o:{if((h|0)<=0){if(y[g+12>>2]>m>>>0){continue g}if(k){v[g+12>>2]=n;v[g+8>>2]=k;t[g+2|0]=q;k=0;a=c;continue g}if(!w[g+2|0]){break o}if(v[i+56>>2]){v[j>>2]=11;break n}k=0;if(!x){continue g}CW(i,2);break o}if(h-10>>>0<3&z){break n}if(!k){break o}a=v[g+8>>2];c=v[g+12>>2]-a|0;if((c|0)>=1){c=c>>1;e=c;if((e|0)>=1){gc(s,a,e<<1)}t[i+253|0]=0-c}v[g+12>>2]=n;v[g+8>>2]=k;t[g+2|0]=q}Qb=o+48|0;break h}l=v[i+56>>2];p:{if(l>>>0<=65535){u[r>>1]=l;h=1;break p}u[i+114>>1]=l&1023|56320;u[i+112>>1]=(l>>>10|0)-10304;h=2}z=0;v[i+56>>2]=0;t[i+64|0]=h;Ub[v[i>>2]](v[i+12>>2],g,r,h,l,v[j>>2]!=10,j);continue}}break}v[d>>2]=v[g+8>>2];v[b>>2]=v[g+16>>2]}Qb=g+32|0}function Ly(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=-1;c=v[a+28>>2];a:{if(!c){break a}d=v[c+16>>2];if(!d){break a}f=v[a+16>>2];v[a+16>>2]=-1;h=v[d+12>>2];b:{c:{d:{e:{f:{g:{h:{while(1){b=0;i:{if(v[d+32>>2]){break i}b=v[d+8>>2];if(!((b|0)==v[d+24>>2]|b>>>0>2147483646)){v[d+24>>2]=b}b=v[d+20>>2];c=v[d+4>>2];if((b|0)==(c|0)|c>>>0>2147483646){break i}v[d+20>>2]=c;b=c}j:{if(v[a+60>>2]+512>>>0<=b>>>0){break j}if(v[a>>2]==3){break d}b=-1;k:{c=v[a+28>>2];l:{if(!c|v[c+28>>2]){break l}m:{if(v[c+4>>2]){b=Vy(c,4096);break m}c=v[c+16>>2];if(!c){break l}b=v[c+12>>2]!=2?-1:0}if(!(b|(h|0)!=2)){b=0;n:{if(v[d+32>>2]){break n}b=v[d+8>>2];if(!((b|0)==v[d+24>>2]|b>>>0>2147483646)){v[d+24>>2]=b}b=v[d+20>>2];c=v[d+4>>2];if((b|0)==(c|0)|c>>>0>2147483646){break n}v[d+20>>2]=c;b=c}if(v[a+60>>2]!=(b|0)){break j}v[a+16>>2]=f;v[a>>2]=3;break j}if((b|0)>-1){break k}}v[a+16>>2]=f;v[a>>2]=3;if(f){break a}if(!v[v[a+20>>2]+8>>2]){break j}break a}if(b){break j}v[a>>2]=3;break d}o:{g=v[d+32>>2];p:{if(!g){b=v[d+8>>2];if(!((b|0)==v[d+24>>2]|b>>>0>2147483646)){v[d+24>>2]=b}c=v[d+20>>2];b=v[d+4>>2];if(!((c|0)==(b|0)|b>>>0>2147483646)){v[d+20>>2]=b;c=b}b=v[a+60>>2];if(c>>>0>>0){break o}e=v[a+20>>2];c=0;if(g){break p}c=v[d>>2];break p}b=v[a+60>>2];if((b|0)!=-512){break h}e=v[a+20>>2];b=-512;c=0}c=yy(e,b+c|0,512,0);v[a+60>>2]=v[a+60>>2]+512;e=v[a+20>>2];b=e+12|0;if(c){break f}if(!v[e+12>>2]|v[a+16>>2]!=-1){break e}continue}break}if(g){break h}c=v[d+8>>2];if(!((c|0)==v[d+24>>2]|c>>>0>2147483646)){v[d+24>>2]=c}e=v[d+20>>2];c=v[d+4>>2];if((e|0)==(c|0)|c>>>0>2147483646){c=e}else{v[d+20>>2]=c}c=c-b|0;e=v[d>>2];break g}c=0-b|0;e=0}b=yy(v[a+20>>2],b+e|0,c,0);v[a+60>>2]=v[a+60>>2]+c;if(!b){break e}b=v[a+20>>2]+12|0}v[b>>2]=0}q:{switch(v[a>>2]-1|0){case 0:break q;case 2:break d;default:break c}}if((h|0)==2){break c}e=v[a+60>>2];if(e>>>0<4096){break c}c=0;r:{if(v[d+32>>2]){break r}b=v[d+8>>2];if(!((b|0)==v[d+24>>2]|b>>>0>2147483646)){v[d+24>>2]=b}c=v[d+20>>2];b=v[d+4>>2];if((c|0)==(b|0)|b>>>0>2147483646){break r}v[d+20>>2]=b;c=b}if(c-e>>>0>512){break c}b=Vu(d,e);if((b|0)<0){break c}v[a+60>>2]=v[a+60>>2]-b;break c}if(v[a+16>>2]==5){break c}s:{if(!v[d+32>>2]){b=v[d+8>>2];if(!((b|0)==v[d+24>>2]|b>>>0>2147483646)){v[d+24>>2]=b}c=v[d+20>>2];b=v[d+4>>2];if(!((c|0)==(b|0)|b>>>0>2147483646)){v[d+20>>2]=b;c=b}e=v[d>>2];b=v[a+60>>2];c=c-b|0;break s}e=0;b=v[a+60>>2];c=0-b|0}e=yy(v[a+20>>2],b+e|0,c,1);b=0;t:{if(v[d+32>>2]){break t}b=v[d+8>>2];if(!((b|0)==v[d+24>>2]|b>>>0>2147483646)){v[d+24>>2]=b}b=v[d+20>>2];c=v[d+4>>2];if((b|0)==(c|0)|c>>>0>2147483646){break t}v[d+20>>2]=c;b=c}v[a+16>>2]=5;v[a+60>>2]=b;if(!e){break c}b=v[a+20>>2];if(!v[b+12>>2]){break b}v[b+12>>2]=0}v[a+16>>2]=f;b=0;if(v[v[a+20>>2]+12>>2]){break a}v[a>>2]=3}b=-1}return b}function EH(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;a:{if(v[a+200>>2]==(b|0)&v[a+204>>2]==(d|0)){break a}v[a+200>>2]=b;v[a+204>>2]=d;d=v[a+4>>2];if(!d){break a}f=Ac(v[a+8>>2],b);v[a+12>>2]=f;v[a+16>>2]=f+32&-64;f=d-1|0;if(!f){break a}d=a+20|0;while(1){h=Ac(v[d>>2],b);i=v[a+12>>2];j=h-i|0;g=j>>31;g=(g^g+j)>>>0<128?i:h;v[d+4>>2]=g;v[d+8>>2]=g+32&-64;d=d+12|0;f=f-1|0;if(f){continue}break}}b:{if(v[a+404>>2]==(c|0)&v[a+408>>2]==(e|0)){break b}v[a+404>>2]=c;v[a+408>>2]=e;b=v[a+208>>2];c:{if(!b){break c}d=Ac(v[a+212>>2],c);v[a+216>>2]=d;v[a+220>>2]=d+32&-64;f=b-1|0;if(!f){break c}d=a+224|0;while(1){g=Ac(v[d>>2],c);h=v[a+216>>2];i=g-h|0;b=i>>31;b=(b^b+i)>>>0<128?h:g;v[d+4>>2]=b;v[d+8>>2]=b+32&-64;d=d+12|0;f=f-1|0;if(f){continue}break}}t[a+2492|0]=(B(c,125)|0)>2]<<3&(c|0)<=34359737;d=v[a+2480>>2];d:{if((d|0)<1){break d}while(1){if((Ac(d,c)|0)<33){break d}b=(d|0)>1;d=d-1|0;if(b){continue}break}d=0}v[a+2484>>2]=d;b=v[a+412>>2];if(b){d=a+416|0;while(1){k=d,l=Ac(v[d+8>>2],c)+e|0,v[k+28>>2]=l;k=d,l=Ac(v[d+12>>2],c)+e|0,v[k+24>>2]=l;k=d,l=Ac(v[d>>2],c)+e|0,v[k+16>>2]=l;k=d,l=Ac(v[d+4>>2],c),v[k+20>>2]=l;v[d+16>>2]=v[d+16>>2]+32&-64;d=d+32|0;b=b-1|0;if(b){continue}break}}b=v[a+928>>2];if(b){d=a+932|0;while(1){k=d,l=Ac(v[d+8>>2],c)+e|0,v[k+28>>2]=l;k=d,l=Ac(v[d+12>>2],c)+e|0,v[k+24>>2]=l;k=d,l=Ac(v[d>>2],c)+e|0,v[k+16>>2]=l;k=d,l=Ac(v[d+4>>2],c),v[k+20>>2]=l;v[d+16>>2]=v[d+16>>2]+32&-64;d=d+32|0;b=b-1|0;if(b){continue}break}}b=v[a+1444>>2];if(b){d=a+1448|0;while(1){k=d,l=Ac(v[d+8>>2],c)+e|0,v[k+28>>2]=l;k=d,l=Ac(v[d+12>>2],c)+e|0,v[k+24>>2]=l;k=d,l=Ac(v[d>>2],c)+e|0,v[k+16>>2]=l;k=d,l=Ac(v[d+4>>2],c),v[k+20>>2]=l;v[d+16>>2]=v[d+16>>2]+32&-64;d=d+32|0;b=b-1|0;if(b){continue}break}}b=v[a+1960>>2];if(b){d=a+1964|0;while(1){k=d,l=Ac(v[d+8>>2],c)+e|0,v[k+28>>2]=l;k=d,l=Ac(v[d+12>>2],c)+e|0,v[k+24>>2]=l;k=d,l=Ac(v[d>>2],c)+e|0,v[k+16>>2]=l;k=d,l=Ac(v[d+4>>2],c),v[k+20>>2]=l;v[d+16>>2]=v[d+16>>2]+32&-64;d=d+32|0;b=b-1|0;if(b){continue}break}}e:{g=v[a+412>>2];if(!g){break e}d=v[a+1444>>2];if(!d){break e}b=a+1448|0;f=a+416|0;while(1){e=b;f:{if(!d){break f}while(1){i=v[f>>2]-v[e>>2]|0;h=i>>31;if((Ac(h^h+i,c)|0)<=63){v[f+28>>2]=v[e+28>>2];v[f+24>>2]=v[e+24>>2];v[f+16>>2]=v[e+16>>2];v[f+20>>2]=v[e+20>>2];break f}e=e+32|0;d=d-1|0;if(d){continue}break}}g=g-1|0;if(!g){break e}f=f+32|0;d=v[a+1444>>2];continue}}g=v[a+928>>2];if(!g){break b}d=v[a+1960>>2];if(!d){break b}b=a+1964|0;f=a+932|0;while(1){e=b;g:{if(!d){break g}while(1){i=v[f>>2]-v[e>>2]|0;h=i>>31;if((Ac(h^h+i,c)|0)>=64){e=e+32|0;d=d-1|0;if(d){continue}break g}break}v[f+28>>2]=v[e+28>>2];v[f+24>>2]=v[e+24>>2];v[f+16>>2]=v[e+16>>2];v[f+20>>2]=v[e+20>>2]}g=g-1|0;if(!g){break b}f=f+32|0;d=v[a+1960>>2];continue}}}function f0(a,b){var 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,x=0,y=0;a:{if(!b|!a){break a}s=zh(a,33904);if(!s){break a}e=s;if(!(!e|!b)){c=Qb+-64|0;Qb=c;b:{if(!e|!b){break b}q=b?v[b>>2]:-1;n=b?v[b+4>>2]:-1;a=b?v[b+8>>2]:-1;o=b?v[b+20>>2]:0;k=b?v[b+24>>2]:0;l=b?v[b+12>>2]:-1;j=(a|0)==32;p=j?24:a;y=(B(p,q)+31|0)/32|0;r=+C(o>>>0)*39.37+.5;c:{if(D(r)<2147483648){x=~~r;break c}x=-2147483648}r=+C(k>>>0)*39.37+.5;d:{if(D(r)<2147483648){o=~~r;break d}o=-2147483648}e:{if(j){k=1;break e}i=b?v[b+36>>2]:0;if(i){f=i?v[i+12>>2]:0;h=f<<2;g=v[i>>2];k=1;break e}k=1;f:{if((a|0)==1){f=2;h=8;g=1038780;break f}f=1<1?f:1;i=m&3;k=0;a=g;if(m-1>>>0>=3){m=m&2147483644;while(1){t[a+1|0]=d;t[a+2|0]=d;t[a|0]=d;d=d+j|0;t[a+6|0]=d;t[a+5|0]=d;t[a+4|0]=d;d=d+j|0;t[a+10|0]=d;t[a+9|0]=d;t[a+8|0]=d;d=d+j|0;t[a+14|0]=d;t[a+13|0]=d;t[a+12|0]=d;a=a+16|0;d=d+j|0;m=m-4|0;if(m){continue}break}}if(!i){break f}while(1){t[a+1|0]=d;t[a+2|0]=d;t[a|0]=d;a=a+4|0;d=d+j|0;i=i-1|0;if(i){continue}break}}i=0}zg(e,0,0);u[c+62>>1]=19778;a=h+54|0;d=y<<2;j=B(d,n);m=a+j|0;u[c+60>>1]=m;u[c+56>>1]=0;u[c+58>>1]=m>>>16;u[c+54>>1]=a;u[c+52>>1]=a>>>16;Rc(c+62|0,1,2,e);Rc(c+60|0,1,2,e);Rc(c+58|0,1,2,e);Rc(c+56|0,1,2,e);Rc(c+56|0,1,2,e);Rc(c+54|0,1,2,e);Rc(c+52|0,1,2,e);v[c+44>>2]=40;v[c+40>>2]=q;v[c+36>>2]=n;u[c+50>>1]=1;v[c+32>>2]=0;u[c+48>>1]=p;v[c+28>>2]=j;v[c+24>>2]=x;v[c+20>>2]=o;v[c+16>>2]=f;v[c+12>>2]=f;Rc(c+44|0,1,4,e);Rc(c+40|0,1,4,e);Rc(c+36|0,1,4,e);Rc(c+50|0,1,2,e);Rc(c+48|0,1,2,e);Rc(c+32|0,1,4,e);Rc(c+28|0,1,4,e);Rc(c+24|0,1,4,e);Rc(c+20|0,1,4,e);Rc(c+16|0,1,4,e);Rc(c+12|0,1,4,e);g:{if((f|0)<1){break g}if((Rc(g,1,h,e)|0)!=(h|0)){if(k){break b}dc(g);break b}if(k){break g}dc(g)}h:{i:{j:{k:{o=(p|0)==1&(i|0)!=0;l:{if(o){if(!w[v[i>>2]]){xI(b,b)}if(b){fw(b)}break l}if(b){fw(b)}if((p|0)==24){break k}}a=b?v[b+40>>2]:0;if((n|0)<1){break j}g=0-(l<<2)|0;a=a+(B(n-1|0,l)<<2)|0;h=0;f=0;while(1){f=(Rc(a,1,d,e)|0)==(d|0)?f:1;a=a+g|0;h=h+1|0;if((n|0)!=(h|0)){continue}break}break j}f=0;a=b?v[b+40>>2]:0;if((n|0)<1){break i}g=d+B(q,-3)|0;if((q|0)>=1){h=a+(B(n-1|0,l)<<2)|0;d=0;k=0-l<<2;while(1){a=0;while(1){l=(a<<2)+h|0;t[c+10|0]=w[l|0];t[c+9|0]=w[l+1|0];t[c+8|0]=w[l+2|0];f=(Rc(c+8|0,1,3,e)|0)==3?f:1;a=a+1|0;if((q|0)!=(a|0)){continue}break}m:{if(!g){break m}a=0;if((g|0)<=0){break m}l=t[c+8|0];while(1){ff(l,e);a=a+1|0;if((g|0)!=(a|0)){continue}break}}h=h+k|0;d=d+1|0;if((n|0)!=(d|0)){continue}break}break j}if((g|0)<1){break i}d=0;while(1){a=0;while(1){ff(0,e);a=a+1|0;if((g|0)!=(a|0)){continue}break}d=d+1|0;if((n|0)!=(d|0)){continue}break}}if(b){fw(b)}if(w[v[i>>2]]|!o){break h}xI(b,b);break h}if(b){fw(b)}}}Qb=c- -64|0}Be(s)}}function M5a(a){a=a|0;var 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,y=0;d=Qb-2064|0;Qb=d;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],67,0)|0;v[d>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],d,1,4)|0;k=w[d|0];if(x[a+25204>>1]==18761){b=k|w[d+1|0]<<8|w[d+2|0]<<16|w[d+3|0]<<24}else{b=w[d+3|0]|(w[d+1|0]<<16|k<<24|w[d+2|0]<<8)}k=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],b,0)|0;m=k<<1;if(m){while(1){v[d+2060>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+2060|0,1,4)|0;b=w[d+2060|0];c=(e<<2)+d|0;if(x[a+25204>>1]==18761){b=b|w[d+2061|0]<<8|w[d+2062|0]<<16|w[d+2063|0]<<24}else{b=w[d+2063|0]|(w[d+2061|0]<<16|b<<24|w[d+2062|0]<<8)}v[c>>2]=b+B(v[a+26048>>2],e&1);e=e+1|0;if((m|0)!=(e|0)){continue}break}}Ub[v[v[a>>2]+8>>2]](v[a+4>>2],78,0)|0;m=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],88,0)|0;e=(k<<3)+d|0;v[e>>2]=B(x[a+26306>>1],x[a+26304>>1]);v[d+2060>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+2060|0,1,4)|0;b=w[d+2060|0];if(x[a+25204>>1]==18761){b=b|w[d+2061|0]<<8|w[d+2062|0]<<16|w[d+2063|0]<<24}else{b=w[d+2063|0]|(w[d+2061|0]<<16|b<<24|w[d+2062|0]<<8)}v[e+4>>2]=b+v[a+26048>>2];if(k){e=0;while(1){E0(a,(e<<3)+d|0,m);e=e+1|0;if((k|0)!=(e|0)){continue}break}}if(x[a+26308>>1]>=5?m:0){e=2;while(1){if(m>>>(e-x[a+26304>>1]&7)&1){k=e+1|0;b=x[a+26310>>1];if(b>>>0>=3){b=v[a+26028>>2];p=b>>>(k<<2)&3;o=e-1|0;r=b>>>(o<<2)&3;q=b>>>(e<<2&28|2)&3;c=v[a+26352>>2];i=1;while(1){l=r<<1;f=x[a+26320>>1];b=x[a+26316>>1];g=B(f,o>>b);j=i+1>>>b|0;h=x[l+(c+(g+j<<3)|0)>>1];s=(c+(B(f,e>>>b|0)+(i>>>b|0)<<3)|0)+(q<<1)|0;n=i-1>>b;g=x[l+(c+(n+g<<3)|0)>>1];l=p<<1;f=B(f,k>>>b|0);b=x[l+(c+(f+n<<3)|0)>>1];f=x[l+(c+(f+j<<3)|0)>>1];l=((g+h|0)+b|0)+f|0;j=g>>>0>h>>>0?h:g;j=(b|0)<(j|0)?b:j;h=g>>>0>>0?h:g;b=(b|0)>(h|0)?b:h;u[s>>1]=l-(((f|0)<(j|0)?f:j)+((b|0)<(f|0)?f:b)|0)>>>1;i=i+4|0;b=x[a+26310>>1];if((i|0)<(b-1|0)){continue}break}}if(b>>>0>4){b=2;r=e<<2&28;q=e+2|0;s=q<<2&28;j=e-2|0;t=j<<2&28;while(1){c=x[a+26304>>1];a:{if(m>>>(q-c&7)&1?1:m>>>(j-c&7)&1){c=x[a+26316>>1];i=B(x[a+26320>>1],e>>>c|0);g=(v[a+26028>>2]>>>r&3)<<1;h=v[a+26352>>2];u[g+(h+(i+(b>>>c|0)<<3)|0)>>1]=x[g+(h+(i+(b+2>>>c|0)<<3)|0)>>1]+x[g+(h+(i+(b-2>>c)<<3)|0)>>1]>>>1;break a}g=v[a+26028>>2];p=(g>>>r&3)<<1;f=x[a+26320>>1];c=x[a+26316>>1];o=B(f,e>>>c|0);h=v[a+26352>>2];l=b>>>c|0;i=x[(h+(l+B(f,q>>>c|0)<<3)|0)+((g>>>s&3)<<1)>>1];g=x[(h+(l+B(f,j>>c)<<3)|0)+((g>>>t&3)<<1)>>1];f=x[p+(h+(o+(b+2>>>c|0)<<3)|0)>>1];c=x[p+(h+(o+(b-2>>c)<<3)|0)>>1];n=c>>>0>f>>>0?f:c;n=(g|0)<(n|0)?g:n;y=i+(g+(c+f|0)|0)|0;c=c>>>0>>0?f:c;c=(c|0)<(g|0)?g:c;u[p+(h+(l+o<<3)|0)>>1]=y-(((i|0)<(n|0)?i:n)+((c|0)<(i|0)?i:c)|0)>>>1}b=b+4|0;if((b|0)<(x[a+26310>>1]-2|0)){continue}break}}e=k}else{e=e+1|0}if((e|0)<(x[a+26308>>1]-2|0)){continue}break}}Qb=d+2064|0}function jfb(a){a=a|0;var 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;b=v[a+572>>2];c=v[a+664>>2];a:{if((b|0)<(c|0)|(b|0)>=v[a+668>>2]){break a}i=Ub[v[a+220>>2]](a,v[a+680>>2]+(b-c|0)|0)|0;b=v[a+580>>2];c=(i+(b<<2)|0)+(v[a+672>>2]<<2)|0;f=v[a+656>>2];d=(f|0)/v[a+584>>2]|0;e=v[a+644>>2];b:{if(!w[a+648|0]){f=b+f|0;b=e+(d<<2)|0;d=v[a+660>>2];if(!w[a+649|0]){break b}if((d|0)<=(f|0)){break a}while(1){t[c|0]=w[b+3|0];t[c+1|0]=w[b|0];t[c+2|0]=w[b+1|0];t[c+3|0]=w[b+2|0];b=b+4|0;d=v[a+584>>2];c=(d<<2)+c|0;f=d+f|0;if((f|0)>2]){continue}break}break a}f=b+f|0;b=e+(d<<3)|0;d=v[a+660>>2];if(w[a+649|0]){if((d|0)<=(f|0)){break a}while(1){t[c|0]=w[b+6|0];t[c+1|0]=w[b|0];t[c+2|0]=w[b+2|0];t[c+3|0]=w[b+4|0];b=b+8|0;d=v[a+584>>2];c=(d<<2)+c|0;f=d+f|0;if((f|0)>2]){continue}break}break a}if((d|0)<=(f|0)){break a}while(1){d=w[b+6|0]|w[b+7|0]<<8;d=(d<<8|d>>>8)&65535;c:{if(!d){break c}d:{if((d|0)!=65535){e=w[c|0];e=e<<8|e;if(e){break d}}t[c|0]=w[b+6|0];t[c+1|0]=w[b|0];t[c+2|0]=w[b+2|0];t[c+3|0]=w[b+4|0];break c}if((e|0)==65535){e=w[b|0]|w[b+1|0]<<8;j=w[b+2|0]|w[b+3|0]<<8;h=w[b+4|0]|w[b+5|0]<<8;g=B(d,(h<<8|h>>>8)&65535);h=w[c+3|0];i=h<<8|h;h=d^65535;g=(g+B(i,h)|0)+32768|0;t[c+3|0]=(g>>>16|0)+g>>>24;i=B((j<<8|j>>>8)&65535,d);j=w[c+2|0];j=(i+B(h,j<<8|j)|0)+32768|0;t[c+2|0]=(j>>>16|0)+j>>>24;i=B((e<<8|e>>>8)&65535,d);d=w[c+1|0];d=(i+B(h,d<<8|d)|0)+32768|0;t[c+1|0]=(d>>>16|0)+d>>>24;break c}j=w[c+1|0];h=w[c+2|0];g=w[c+3|0];k=w[b|0]|w[b+1|0]<<8;l=w[b+2|0]|w[b+3|0]<<8;m=w[b+4|0]|w[b+5|0]<<8;n=d^65535;o=B(n,e^65535)^-1;t[c|0]=o>>>24;i=g|g<<8;g=o>>>16|0;e=(B(e,n)>>>0)/(g>>>0)|0;d=(d<<16>>>0)/(g>>>0)|0;t[c+3|0]=(B(i,e)+B(d,(m<<8|m>>>8)&65535)|0)+32767>>>24;t[c+2|0]=(B(e,h|h<<8)+B(d,(l<<8|l>>>8)&65535)|0)+32767>>>24;t[c+1|0]=(B(e,j|j<<8)+B(d,(k<<8|k>>>8)&65535)|0)+32767>>>24}b=b+8|0;d=v[a+584>>2];c=(d<<2)+c|0;f=d+f|0;if((f|0)>2]){continue}break}break a}if((d|0)<=(f|0)){break a}while(1){d=w[b+3|0];e:{if(!d){break e}f:{if((d|0)!=255){e=w[c|0];if(e){break f}}t[c|0]=d;t[c+1|0]=w[b|0];t[c+2|0]=w[b+1|0];t[c+3|0]=w[b+2|0];break e}if((e|0)==255){break e}j=w[b|0];h=w[b+1|0];g=w[b+2|0];k=d^255;l=B(k,e^255)>>>8^-1;t[c|0]=l;i=g;g=l&255;d=(d<<8>>>0)/(g>>>0)|0;e=(B(e,k)>>>0)/(g>>>0)|0;t[c+3|0]=(B(i,d)+B(e,w[c+3|0])|0)+127>>>8;t[c+2|0]=(B(d,h)+B(e,w[c+2|0])|0)+127>>>8;t[c+1|0]=(B(d,j)+B(e,w[c+1|0])|0)+127>>>8}b=b+4|0;d=v[a+584>>2];c=(d<<2)+c|0;f=d+f|0;if((f|0)>2]){continue}break}}c=v[a+680>>2]+v[a+572>>2]|0;f=v[a+664>>2];b=v[a+556>>2];d=v[a+672>>2];g:{if((d|0)>=v[a+552>>2]){if(b){break g}b=0}v[a+552>>2]=d}i=b;b=v[a+676>>2];if((i|0)<(b|0)){v[a+556>>2]=b}b=v[a+564>>2];c=c-f|0;h:{if((c|0)>=v[a+560>>2]){if(b){break h}b=0}v[a+560>>2]=c}if((b|0)<=(c|0)){v[a+564>>2]=c+1}return 0}function b_(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,n=0,o=0,p=0,q=0,r=0,s=0;g=Qb-48|0;Qb=g;Bo(a,g+32|0);h=3;k=v[g+40>>2];a:{if(!k){break a}l=v[g+32>>2];v[g+28>>2]=l;i=v[g+36>>2];b:{c:{d:{e:{e=v[b+8>>2];f:{if((e|0)==7){f=v[a+8>>2];v[a+8>>2]=i-1;m=1;n=v[a>>2];v[a>>2]=l+1;Bo(a,g);v[a+8>>2]=f;v[a>>2]=n;f=8;if(v[g+8>>2]==3){break f}break e}if((k|0)!=3){break e}m=d;f=e}e=f;if(!d){break a}n=1;v[g+28>>2]=l+1;if(!m){break c}i=i-1|0;break d}q=!d;n=0;m=1}l=d<<1;o=B(d,3);p=d<<2;r=e-1|0;s=k-2|0;while(1){e=v[(n<<2)+c>>2];f=v[b+16>>2];Rg(g+28|0,i);k=e+f|0;h=3;g:{h:{i:{j:{k:{l:{switch(r|0){case 0:h=v[g+28>>2];f=h;m:{if(w[h|0]!=116|h+3>>>0>=i>>>0|(w[h+1|0]!=114|w[h+2|0]!=117)){break m}if(w[f+3|0]!=101){break m}e=1;v[g+28>>2]=h+5;break k}e=0;n:{if(w[h|0]!=102|h+4>>>0>=i>>>0|(w[h+1|0]!=97|w[h+2|0]!=108)){break n}if(w[f+3|0]!=115){break n}h=(w[h+4|0]==101?6:0)+h|0}v[g+28>>2]=h;break k;case 2:e=pm(g+28|0,i,0);break k;case 3:e=pm(g+28|0,i,3);break k;case 7:break h;case 6:break i;case 4:case 5:break j;case 1:break l;default:break a}}j=v[g+28>>2];v[g>>2]=j;f=qm(g,i,10);e=0;h=v[g>>2];if((j|0)==(h|0)){break k}if(!(w[h|0]!=35|h>>>0>=i>>>0)){j=h+1|0;v[g>>2]=j;f=qm(g,i,f);h=v[g>>2];if((j|0)==(h|0)){break k}}v[g+28>>2]=h;e=f}o:{switch(w[b+20|0]-1|0){case 0:t[k|0]=e;break g;case 1:u[k>>1]=e;break g;default:break o}}v[k>>2]=e;break g}e=v[g+28>>2];if(e>>>0>=i>>>0){break g}j=i-e|0;f=v[a+16>>2];p:{q:{switch(s|0){case 2:v[g+28>>2]=e+1;e=j-1|0;break p;case 0:break q;default:break a}}v[g+28>>2]=e+1;e=j-2|0}h=v[k>>2];if(h){if(h){Ub[v[f+8>>2]](f,h)}v[k>>2]=0}f=Fd(f,e+1|0,g+24|0);h=v[g+24>>2];if(h){break a}h=e;e=gc(f,v[g+28>>2],e);t[h+e|0]=0;v[k>>2]=e;break g}if((ys(g+28|0,i,4,g,0)|0)<=3){break a}e=v[g>>2];v[k>>2]=((e>>31)+e|0)+32768&-65536;e=v[g+4>>2];v[k+4>>2]=((e>>31)+e|0)+32768&-65536;e=v[g+8>>2];v[k+8>>2]=((e>>31)+e|0)+32768&-65536;e=v[g+12>>2];v[k+12>>2]=((e>>31)+e|0)+32768&-65536;break g}k=v[a+16>>2];e=Cc(k,4,0,p,0,g+24|0);h=v[g+24>>2];if(h){break a}f=ys(g+28|0,i,d,e,0);if((f|0)<0|d>>>0>f>>>0){break b}f=g+28|0;Rg(f,i);f=ys(f,i,d,e+p|0,0);if((f|0)<0|d>>>0>f>>>0){break b}f=g+28|0;Rg(f,i);f=ys(f,i,d,e+(l<<2)|0,0);if((f|0)<0|d>>>0>f>>>0){break b}f=g+28|0;Rg(f,i);f=ys(f,i,d,e+(o<<2)|0,0);if((f|0)<0|d>>>0>f>>>0){break b}Rg(g+28|0,i);f=0;if(!q){while(1){j=f<<2;h=v[j+c>>2];j=v[e+j>>2];v[h>>2]=((j>>31)+j|0)+32768&-65536;j=v[e+(d+f<<2)>>2];v[h+4>>2]=((j>>31)+j|0)+32768&-65536;j=v[e+(f+l<<2)>>2];v[h+8>>2]=((j>>31)+j|0)+32768&-65536;j=h;h=v[e+(f+o<<2)>>2];v[j+12>>2]=((h>>31)+h|0)+32768&-65536;f=f+1|0;if((f|0)!=(d|0)){continue}break}}if(e){Ub[v[k+8>>2]](k,e)}}n=n+1|0;m=m-1|0;if(m){continue}break}}h=0;break a}v[g+24>>2]=3;if(e){Ub[v[k+8>>2]](k,e)}h=v[g+24>>2]}Qb=g+48|0;return h|0}function y6a(a){a=a|0;var 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;h=Qb+-64|0;Qb=h;c=x[a+26306>>1];j=bd(B(c,v[a+26108>>2]),2);if(j){if(x[a+26304>>1]){m=v[252391];while(1){a:{e=v[a+26112>>2];if((e|0)==16){Mi(a,j,B(v[a+26108>>2],c&65535));c=x[a+26306>>1];break a}v[289140]=0;v[289141]=0;v[289139]=0;b=B(v[a+26108>>2],c&65535);if(!b){break a}i=0;f=0;if((e|0)==-1){ic(j,0,b<<1);v[289140]=0;v[289141]=0;v[289139]=0;break a}while(1){b:{if((e|0)==-1){i=0;v[289140]=0;v[289141]=0;v[289139]=0;c=0;break b}c=0;if(i|!e){break b}c=v[289140];c:{if((e|0)<=(c|0)){d=v[289139];break c}while(1){d:{e:{b=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;f:{if((b|0)==-1){if(!v[a+26160>>2]){v[h+48>>2]=v[a+25208>>2];wc(m,8292,h+48|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,m);v[a+26160>>2]=1;break f}d=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[h+32>>2]=d;v[h+36>>2]=d>>31;wc(m,14622,h+32|0)}v[a+26160>>2]=1;break f}if(!v[a+26144>>2]){break f}if((b|0)==255){break e}}v[289141]=0;break d}c=0;d=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[289141]=(d|0)!=0;if(!d){break d}i=1;break b}c=v[289140]+8|0;v[289140]=c;d=b&255|v[289139]<<8;v[289139]=d;if((c|0)<(e|0)){continue}break}}i=0;b=c-e|0;v[289140]=b;e=32-e|0;c=d<>>e|0}u[(f<<1)+j>>1]=c;f=f+1|0;c=x[a+26306>>1];if(f>>>0>=B(c,v[a+26108>>2])>>>0){break a}e=v[a+26112>>2];continue}}g:{if(!(c&65535)){c=0;break g}q=v[a+26028>>2];e=v[a+26148>>2];i=0;d=j;while(1){b=i-x[a+26314>>1]|0;c=n-x[a+26312>>1]|0;r=(e|0)!=2;d=r?d:((v[a+160>>2]!=0)<<1)+d|0;s=d;h:{if(q){g=x[a+26322>>1];i:{if(!g){f=b;break i}f=(b+1>>1)+c|0;c=g+((b>>1^-1)+c|0)|0}b=e;if(x[a+26308>>1]<=c>>>0){break h}b=e;if(x[a+26310>>1]<=f>>>0){break h}b=x[a+26316>>1];f=(v[a+26352>>2]+(B(x[a+26320>>1],c>>>b|0)+(f>>>b|0)<<3)|0)+((q>>>((c<<1&14|f&1)<<1)&3)<<1)|0;b=x[d>>1];if(b>>>0<=4095){b=x[((b<<1)+a|0)+26484>>1]}u[f>>1]=b;b=e;break h}j:{if(x[a+26308>>1]<=c>>>0|b>>>0>=x[a+26310>>1]){break j}l=v[a+26108>>2];if(!l){break j}o=v[a+26352>>2];f=0;if((l|0)!=1){p=l&-2;while(1){k=f<<1;g=x[k+d>>1];if(g>>>0<=4095){g=x[((g<<1)+a|0)+26484>>1]}u[k+((b+B(x[a+26310>>1],c)<<3)+o|0)>>1]=g;k=(f|1)<<1;g=x[k+d>>1];if(g>>>0<4096){g=x[((g<<1)+a|0)+26484>>1]}u[k+((b+B(x[a+26310>>1],c)<<3)+o|0)>>1]=g;f=f+2|0;p=p-2|0;if(p){continue}break}}if(!(l&1)){break j}g=d;d=f<<1;f=x[g+d>>1];if(f>>>0<=4095){f=x[((f<<1)+a|0)+26484>>1]}u[d+((b+B(x[a+26310>>1],c)<<3)+o|0)>>1]=f}b=v[a+26108>>2]}d=s+(b<<1)|0;d=r?d:(v[a+160>>2]?-2:0)+d|0;c=x[a+26306>>1];i=i+1|0;if(c>>>0>i>>>0){continue}break}}n=n+1|0;if(n>>>0>1]){continue}break}}dc(j);Qb=h- -64|0;return}e=v[a+190640>>2];k:{if(e){b=v[a+25208>>2];v[h+20>>2]=27590;v[h+16>>2]=b;zd(e,4338,h+16|0);break k}e=v[a+25208>>2];v[h+4>>2]=27590;v[h>>2]=e;wc(v[252391],4338,h)}sd(a+190484|0,1);L()}function uY(a,b,c){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,p=0,q=0,r=0,s=0,t=0,u=0,x=0;q=a+24|0;a:{b:{c:{d:{e:{if(v[a+200>>2]){d=v[a+176>>2];if(d>>>0>=y[a+180>>2]){break e}v[a+176>>2]=d+1;d=v[v[a+192>>2]+(d>>>4&268435452)>>2]+((d&63)<<4)|0;A[b>>3]=A[d>>3];A[c>>3]=A[d+8>>3];break d}d=2;if(ls(q,b,c)){break a}}r=a+208|0;f:{if(v[a+424>>2]){d=v[a+400>>2];if(d>>>0>=y[a+404>>2]){break f}v[a+400>>2]=d+1;d=v[v[a+416>>2]+(d>>>4&268435452)>>2]+((d&63)<<4)|0;A[b>>3]=A[d>>3];A[c>>3]=A[d+8>>3];break d}d=2;if(dn(r,b,c)){break a}}d=0;p=v[a>>2];g=v[p>>2];j=v[g+20>>2];s=v[g>>2];if(j>>>0>=s>>>0){break a}e=j+1|0;v[g+20>>2]=e;t=v[g+12>>2];d=j>>>6&67108860;h=j&255;n=v[t+d>>2]+(h<<4)|0;A[b>>3]=A[n>>3];m=A[n+8>>3];A[c>>3]=m;n=v[g+16>>2];d=w[h+v[n+d>>2]|0];if(d-1>>>0<=13){h=v[p+4>>2];f=A[b>>3];A[b>>3]=A[h+32>>3]+(f*A[h>>3]+m*A[h+16>>3]);m=A[h+40>>3]+(f*A[h+8>>3]+A[c>>3]*A[h+24>>3]);A[c>>3]=m}g:{switch(d-3|0){case 0:h:{if(e>>>0>=s>>>0){break h}v[g+20>>2]=j+2;d=e>>>6&67108860;e=e&255;g=v[d+t>>2]+(e<<4)|0;i=A[g+8>>3];f=A[g>>3];if(w[e+v[d+n>>2]|0]-1>>>0>13){k=i;break h}d=v[p+4>>2];k=A[d+40>>3]+(f*A[d+8>>3]+i*A[d+24>>3]);f=A[d+32>>3]+(f*A[d>>3]+i*A[d+16>>3])}i=A[b>>3];l=A[a+16>>3];o=A[a+8>>3];i:{if(!v[a+200>>2]){QW(q,o,l,i,m,f,k);break i}PW(a+152|0,o,l,i,m,f,k)}if(v[a+200>>2]){d=v[a+176>>2];if(d>>>0>=y[a+180>>2]){break b}v[a+176>>2]=d+1;d=v[v[a+192>>2]+(d>>>4&268435452)>>2]+((d&63)<<4)|0;A[b>>3]=A[d>>3];A[c>>3]=A[d+8>>3];break b}ls(q,b,c);if(v[a+200>>2]){break b}ls(q,b,c);break d;case 1:break g;default:break a}}j:{if(e>>>0>=s>>>0){d=e;break j}d=j+2|0;v[g+20>>2]=d;j=e>>>6&67108860;e=e&255;h=v[j+t>>2]+(e<<4)|0;f=A[h+8>>3];k=A[h>>3];if(w[e+v[j+n>>2]|0]-1>>>0>13){i=f;break j}e=v[p+4>>2];i=A[e+40>>3]+(k*A[e+8>>3]+f*A[e+24>>3]);k=A[e+32>>3]+(k*A[e>>3]+f*A[e+16>>3])}k:{if(d>>>0>=s>>>0){break k}v[g+20>>2]=d+1;e=d>>>6&67108860;d=d&255;g=v[e+t>>2]+(d<<4)|0;l=A[g+8>>3];f=A[g>>3];if(w[d+v[e+n>>2]|0]-1>>>0>13){o=l;break k}d=v[p+4>>2];o=A[d+40>>3]+(f*A[d+8>>3]+l*A[d+24>>3]);f=A[d+32>>3]+(f*A[d>>3]+l*A[d+16>>3])}l=A[b>>3];u=A[a+16>>3];x=A[a+8>>3];l:{if(!v[a+424>>2]){wz(r,x,u,l,m,k,i,f,o);break l}NG(a+368|0,x,u,l,m,k,i,f,o)}if(v[a+424>>2]){d=v[a+400>>2];if(d>>>0>=y[a+404>>2]){break c}v[a+400>>2]=d+1;d=v[v[a+416>>2]+(d>>>4&268435452)>>2]+((d&63)<<4)|0;A[b>>3]=A[d>>3];A[c>>3]=A[d+8>>3];break c}dn(r,b,c);if(v[a+424>>2]){break c}dn(r,b,c)}d=2;break a}d=2;e=v[a+400>>2];if(e>>>0>=y[a+404>>2]){break a}v[a+400>>2]=e+1;e=v[v[a+416>>2]+(e>>>4&268435452)>>2]+((e&63)<<4)|0;A[b>>3]=A[e>>3];A[c>>3]=A[e+8>>3];break a}d=2;e=v[a+176>>2];if(e>>>0>=y[a+180>>2]){break a}v[a+176>>2]=e+1;e=v[v[a+192>>2]+(e>>>4&268435452)>>2]+((e&63)<<4)|0;A[b>>3]=A[e>>3];A[c>>3]=A[e+8>>3]}A[a+8>>3]=A[b>>3];A[a+16>>3]=A[c>>3];return d}function Gma(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=Qb-48|0;Qb=c;b=a+8|0;a:{if(v[a+8>>2]){Ch(c+40|0,a,b);break a}v[c+40>>2]=0;Wc(c+40|0,0)}b:{c:{d:{e:{if(v[b>>2]){v[299999]=0;U(4891,c+32|0,a|0,b|0);d=v[299999];v[299999]=0;if((d|0)!=1){break e}break d}v[299999]=0;v[c+32>>2]=0;Q(4336,c+32|0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break d}}f:{g:{h:{if(v[b>>2]){v[299999]=0;U(4889,c+24|0,a|0,b|0);d=v[299999];v[299999]=0;if((d|0)!=1){break h}break g}v[299999]=0;v[c+24>>2]=0;Q(4336,c+24|0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break g}}i:{j:{k:{if(v[b>>2]){v[299999]=0;U(4890,c+16|0,a|0,b|0);d=v[299999];v[299999]=0;if((d|0)!=1){break k}break j}v[299999]=0;v[c+16>>2]=0;Q(4336,c+16|0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break j}}l:{m:{n:{if(v[b>>2]){v[299999]=0;U(4892,c+8|0,a|0,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break n}break m}v[299999]=0;v[c+8>>2]=0;Q(4336,c+8|0,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break m}}a=0;o:{p:{b=v[c+40>>2];q:{if(!b){break q}d=v[b+8>>2];if((d|0)<1){break q}b=v[b+12>>2];if(v[c+8>>2]|(v[c+32>>2]|(b|0)<1)){break q}a=v[c+24>>2];r:{if(!a){break r}v[299999]=0;a=v[a+12>>2];if(a){a=v[a+4>>2]}else{a=0}e=v[299999];v[299999]=0;if((e|0)==1){break p}if((a|0)!=(d|0)){break r}v[299999]=0;a=v[v[c+24>>2]+12>>2];if(a){e=v[a+8>>2]}else{e=0}f=v[299999];v[299999]=0;a=1;if((f|0)==1){break p}if((b|0)==(e|0)){break q}}e=v[c+16>>2];if(!(!e|(d|0)!=x[e+10>>1])){a=1;if((b|0)==x[e+8>>1]){break q}}a=0}b=v[c+8>>2];v[c+8>>2]=0;s:{if(!b){break s}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)==1){break b}if(d){break s}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}}b=v[c+16>>2];v[c+16>>2]=0;t:{if(!b){break t}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)==1){break b}if(d){break t}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}}b=v[c+24>>2];v[c+24>>2]=0;u:{if(!b){break u}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)==1){break b}if(d){break u}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}}b=v[c+32>>2];v[c+32>>2]=0;v:{if(!b){break v}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)==1){break b}if(d){break v}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}}b=v[c+40>>2];v[c+40>>2]=0;w:{if(!b){break w}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)==1){break o}if(d){break w}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break o}}Qb=c+48|0;return a|0}a=P()|0;O()|0;ec(c+8|0);break l}break b}a=P()|0;O()|0}ec(c+16|0);break i}a=P()|0;O()|0}ec(c+24|0);break f}a=P()|0;O()|0}ec(c+32|0);break c}a=P()|0;O()|0}ec(c+40|0);T(a|0);L()}W(0)|0;O()|0;lc();L()}function PE(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=Qb-16|0;Qb=h;v[h>>2]=13;d=c;a:{b:{c:{switch(v[b>>2]){case 0:a=B(v[c>>2]^98,16777619);v[c>>2]=a;a=a^v[b+8>>2]!=0;break b;case 1:a=c;c=B(v[c>>2]^105,16777619);v[a>>2]=c;a=v[b+8>>2];a=B(B(B(c^a&255,16777619)^a>>>8&255,16777619)^a>>>16&255,16777619)^a>>>24;break b;case 2:e=B(v[c>>2]^114,16777619);v[c>>2]=e;f=v[b+12>>2];a=f;c=v[b+8>>2];b=B(B(B(B(B(e^c&255,16777619)^c>>>8&255,16777619)^c>>>16&255,16777619)^c>>>24,16777619)^a&255,16777619);c=a;a=B(B(b^c>>>8&255,16777619)^c>>>16&255,16777619)^c>>>24;break b;case 3:d=B(v[c>>2]^115,16777619);v[c>>2]=d;a=v[b+8>>2];b=v[a>>2];if((b|0)<1){break a}a=v[a+4>>2];f=b&3;if(b-1>>>0>=3){g=b&-4;while(1){b=B(w[a+e|0]^d,16777619);v[c>>2]=b;b=B(b^w[a+(e|1)|0],16777619);v[c>>2]=b;b=B(b^w[a+(e|2)|0],16777619);v[c>>2]=b;d=B(b^w[a+(e|3)|0],16777619);v[c>>2]=d;e=e+4|0;g=g-4|0;if(g){continue}break}}if(!f){break a}while(1){d=B(w[a+e|0]^d,16777619);v[c>>2]=d;e=e+1|0;f=f-1|0;if(f){continue}break};break a;case 4:d=B(v[c>>2]^110,16777619);v[c>>2]=d;a=v[b+8>>2];b=Bc(a);if((b|0)<1){break a}f=b&3;if(b-1>>>0>=3){g=b&-4;while(1){b=B(w[a+e|0]^d,16777619);v[c>>2]=b;b=B(b^w[a+(e|1)|0],16777619);v[c>>2]=b;b=B(b^w[a+(e|2)|0],16777619);v[c>>2]=b;d=B(b^w[a+(e|3)|0],16777619);v[c>>2]=d;e=e+4|0;g=g-4|0;if(g){continue}break}}if(!f){break a}while(1){d=B(w[a+e|0]^d,16777619);v[c>>2]=d;e=e+1|0;f=f-1|0;if(f){continue}break};break a;case 5:a=v[c>>2]^122;break b;case 6:e=B(v[c>>2]^97,16777619);v[c>>2]=e;d=v[v[b+8>>2]+12>>2];v[c>>2]=B(B(B(B(e^d&255,16777619)^d>>>8&255,16777619)^d>>>16&255,16777619)^d>>>24,16777619);if((d|0)<1){break a}e=0;while(1){hg(v[b+8>>2],e,h);PE(a,h,c);hc(h);e=e+1|0;if((d|0)!=(e|0)){continue}break};break a;case 7:d=B(v[c>>2]^100,16777619);v[c>>2]=d;i=v[v[b+8>>2]+16>>2];v[c>>2]=B(B(B(B(d^i&255,16777619)^i>>>8&255,16777619)^i>>>16&255,16777619)^i>>>24,16777619);if((i|0)<1){break a}while(1){j=v[v[v[b+8>>2]+4>>2]+(k<<5)>>2];g=Bc(j);d:{if((g|0)<1){break d}f=g&3;d=v[c>>2];e=0;if(g-1>>>0>=3){g=g&-4;while(1){d=B(w[e+j|0]^d,16777619);v[c>>2]=d;d=B(d^w[(e|1)+j|0],16777619);v[c>>2]=d;d=B(d^w[(e|2)+j|0],16777619);v[c>>2]=d;d=B(d^w[(e|3)+j|0],16777619);v[c>>2]=d;e=e+4|0;g=g-4|0;if(g){continue}break}}if(!f){break d}while(1){d=B(w[e+j|0]^d,16777619);v[c>>2]=d;e=e+1|0;f=f-1|0;if(f){continue}break}}Qp(v[b+8>>2],k,h);PE(a,h,c);hc(h);k=k+1|0;if((k|0)!=(i|0)){continue}break};break a;case 9:e=B(v[c>>2]^102,16777619);v[c>>2]=e;f=c;a=v[b+8>>2];c=B(B(B(B(e^a&255,16777619)^a>>>8&255,16777619)^a>>>16&255,16777619)^a>>>24,16777619);v[f>>2]=c;a=v[b+12>>2];a=B(B(B(c^a&255,16777619)^a>>>8&255,16777619)^a>>>16&255,16777619)^a>>>24;break b;case 8:break a;default:break c}}a=v[c>>2]^117}v[d>>2]=B(a,16777619)}Qb=h+16|0}function $sa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=Qb-48|0;Qb=d;a:{b:{c:{d:{e:{f:{g:{h:{if((wo(a)|0)<1){break h}if(!rj(a)){break h}f=d+16|0;Xu(f,a);v[299999]=0;f=Q(4160,d+32|0,f|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break d}if(t[d+27|0]<=-1){dc(v[d+16>>2])}i:{j:{k:{if(!c){l:{m:{while(1){v[299999]=0;c=v[f+4>>2];e=v[299999];v[299999]=0;if((e|0)==1){break c}if(!c){break i}v[299999]=0;c=md(f,979544);e=v[299999];v[299999]=0;if((e|0)==1){break c}n:{o:{if(!c){v[299999]=0;md(f,979572);c=v[299999];v[299999]=0;if((c|0)!=1){break o}break c}v[299999]=0;V(4150,d+16|0,a|0);c=v[299999];v[299999]=0;if((c|0)==1){break n}v[299999]=0;U(4204,b|0,d+16|0,1);c=v[299999];v[299999]=0;if((c|0)==1){break f}if(t[d+27|0]>-1){break o}dc(v[d+16>>2])}v[299999]=0;c=Ji(a);e=v[299999];v[299999]=0;if((e|0)==1){break c}if(!c){break i}v[299999]=0;V(4145,d|0,a|0);c=v[299999];v[299999]=0;if((c|0)==1){break m}v[299999]=0;c=Q(4160,d+16|0,d|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break l}v[299999]=0;uf(f,c);e=v[299999];v[299999]=0;if((e|0)==1){break k}xc(c);if(t[d+11|0]>-1){continue}dc(v[d>>2]);continue}break}a=P()|0;O()|0;break b}a=P()|0;O()|0;break b}a=P()|0;O()|0;break j}p:{q:{while(1){v[299999]=0;e=v[f+4>>2];g=v[299999];v[299999]=0;if((g|0)==1){break g}if(!e){break i}v[299999]=0;e=md(f,979544);g=v[299999];v[299999]=0;if((g|0)==1){break g}r:{if(e){v[299999]=0;V(4150,d+16|0,a|0);e=v[299999];v[299999]=0;s:{if((e|0)!=1){v[299999]=0;U(4204,b|0,d+16|0,1);e=v[299999];v[299999]=0;if((e|0)==1){break s}if(t[d+27|0]>-1){break r}dc(v[d+16>>2]);break r}a=P()|0;O()|0;break b}break f}v[299999]=0;e=md(f,979572);g=v[299999];v[299999]=0;if((g|0)==1){break g}if(!e){break r}v[299999]=0;V(4150,d+16|0,a|0);e=v[299999];v[299999]=0;t:{if((e|0)!=1){v[299999]=0;U(4204,c|0,d+16|0,1);e=v[299999];v[299999]=0;if((e|0)==1){break t}if(t[d+27|0]>-1){break r}dc(v[d+16>>2]);break r}a=P()|0;O()|0;break b}a=P()|0;O()|0;if(t[d+27|0]>-1){break b}dc(v[d+16>>2]);break b}v[299999]=0;e=Ji(a);g=v[299999];v[299999]=0;if((g|0)==1){break g}if(!e){break i}v[299999]=0;V(4145,d|0,a|0);e=v[299999];v[299999]=0;if((e|0)!=1){v[299999]=0;e=Q(4160,d+16|0,d|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break q}v[299999]=0;uf(f,e);g=v[299999];v[299999]=0;if((g|0)==1){break p}xc(e);if(t[d+11|0]>-1){continue}dc(v[d>>2]);continue}break}a=P()|0;O()|0;break b}a=P()|0;O()|0;break j}}a=P()|0;O()|0;xc(d+16|0)}if(t[d+11|0]>-1){break b}dc(v[d>>2]);break b}v[299999]=0;_i(a);a=v[299999];v[299999]=0;if((a|0)==1){break e}xc(f)}Qb=d+48|0;return}a=P()|0;O()|0;break b}a=P()|0;O()|0;if(t[d+27|0]>-1){break b}dc(v[d+16>>2]);break b}a=P()|0;O()|0;break b}a=P()|0;O()|0;if(t[d+27|0]>-1){break a}dc(v[d+16>>2]);T(a|0);L()}a=P()|0;O()|0}xc(f)}T(a|0);L()}function Cpa(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,h=0,i=0;g=Qb-80|0;Qb=g;h=v[d+20>>2];if(!h|!v[h+8>>2]){d=d+36|0}else{d=d+20|0}v[a>>2]=0;v[a+4>>2]=v[282402];a:{b:{d=v[d>>2];c:{if(d){h=v[v[d>>2]+28>>2];v[299999]=0;U(h|0,g+40|0,d|0,1);d=v[299999];v[299999]=0;if((d|0)!=1){break c}b=P()|0;O()|0;break b}v[g+40>>2]=0}v[299999]=0;Q(4344,a|0,g+40|0)|0;d=v[299999];v[299999]=0;d:{if((d|0)!=1){d=v[g+40>>2];v[g+40>>2]=0;if(!d){break d}v[299999]=0;h=v[d+4>>2]-1|0;v[d+4>>2]=h;i=v[299999];v[299999]=0;if((i|0)!=1){if(h){break d}v[299999]=0;R(4338,d|0);d=v[299999];v[299999]=0;if((d|0)!=1){break d}}break a}b=P()|0;O()|0;ec(g+40|0);break b}d=v[a>>2];v[a+4>>2]=v[(d?d+12|0:1129608)>>2];v[299999]=0;d=Y(4612,g+40|0,a|0,c|0)|0;c=v[299999];v[299999]=0;e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{if((c|0)!=1){v[299999]=0;R(4613,d|0);c=v[299999];v[299999]=0;if((c|0)==1){break p}c=v[f>>2];v[299999]=0;V(4591,g+32|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break o}v[299999]=0;U(4456,g+24|0,d|0,301006);c=v[299999];v[299999]=0;if((c|0)==1){break n}v[299999]=0;V(4503,g+16|0,g+32|0);c=v[299999];v[299999]=0;if((c|0)==1){break m}v[299999]=0;c=v[g+16>>2];V(4503,g+8|0,g+24|0);f=v[299999];v[299999]=0;if((f|0)==1){break l}b=v[b+8>>2];v[299999]=0;$(4596,c|0,v[g+8>>2],b|0,e|0);b=v[299999];v[299999]=0;if((b|0)==1){break k}a=v[g+8>>2];v[g+8>>2]=0;q:{if(!a){break q}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break q}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}a=v[g+16>>2];v[g+16>>2]=0;r:{if(!a){break r}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break r}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}a=v[g+24>>2];v[g+24>>2]=0;s:{if(!a){break s}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break s}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}a=v[g+32>>2];v[g+32>>2]=0;t:{if(!a){break t}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break e}if(b){break t}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break e}}v[d+24>>2]=981312;v[d>>2]=981280;a=v[d+28>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Ub[v[v[a>>2]+4>>2]](a)}v[d+28>>2]=0}v[d+16>>2]=981312;a=v[d+20>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Ub[v[v[a>>2]+4>>2]](a)}v[d+20>>2]=0}ec(d+8|0);Qb=g+80|0;return}c=P()|0;O()|0;break f}c=P()|0;O()|0;break g}c=P()|0;O()|0;break g}c=P()|0;O()|0;break h}c=P()|0;O()|0;break i}c=P()|0;O()|0;break j}c=P()|0;O()|0;ec(g+8|0)}ec(g+16|0)}ec(g+24|0)}ec(g+32|0)}$c(d)}ec(a);T(c|0);L()}break a}ec(a);T(b|0);L()}W(0)|0;O()|0;lc();L()}function nqa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=Qb-32|0;Qb=d;a:{b:{c:{d:{e:{f:{g:{h:{i:{if(!(w[a+16|0]|b)){j=a+20|0;c=v[a+20>>2];j:{if(c){b=j;if(v[c+8>>2]){break j}}b=a+36|0}v[d+24>>2]=0;v[d+28>>2]=v[282402];k:{b=v[b>>2];l:{m:{if(b){c=v[v[b>>2]+28>>2];v[299999]=0;U(c|0,d+16|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break m}b=P()|0;O()|0;break l}v[d+16>>2]=0}v[299999]=0;Q(4344,d+24|0,d+16|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){b=v[d+16>>2];v[d+16>>2]=0;if(!b){break k}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;e=v[299999];v[299999]=0;if((e|0)!=1){if(c){break k}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break k}}W(0)|0;O()|0;lc();L()}b=P()|0;O()|0;ec(d+16|0)}ec(d+24|0);T(b|0);L()}b=v[d+24>>2];v[d+28>>2]=v[(b?b+12|0:1129608)>>2];v[299999]=0;b=Q(4539,d+8|0,d+24|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break h}v[299999]=0;c=Q(4540,d+16|0,b|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break b}v[299999]=0;e=Y(4541,c|0,d+24|0,-1)|0;f=v[299999];v[299999]=0;if((f|0)==1){break c}ec(c);ec(b);if(e){t[a+16|0]=1;b=1;c=v[d+24>>2];if(c){b=v[c+8>>2]<<1|1}v[299999]=0;i=Z(4407,d+16|0,d+8|0,b|0,1)|0;b=v[299999];v[299999]=0;if((b|0)==1){break d}f=v[d+8>>2];e=v[d+24>>2];n:{if(!e){break n}c=w[v[e+12>>2]];if(!c){break n}b=1;while(1){g=0;o:{p:{q:{r:{s:{t:{u:{if(e){v[299999]=0;g=Q(4542,e|0,b|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break u}}g=g-b|0;if((g|0)<=1&((g|0)!=1|c<<24>>24>-1)){break t}while(1){t[f+1|0]=w[(c&15)+982624|0];t[f|0]=w[((c&240)>>>4|0)+982624|0];f=f+2|0;v:{if(b){e=v[d+24>>2];h=!e;c=b;w:{if((b|0)>-1){break w}c=b;if(!e){break w}c=v[e+8>>2]+b|0}if(!(h|(c|0)<0|v[e+8>>2]<(c|0))){h=v[e+12>>2];break v}v[299999]=0;ba(4543);a=v[299999];v[299999]=0;if((a|0)==1){break s}break e}e=v[d+24>>2];if(!e){break n}c=0;h=v[e+12>>2]}c=w[c+h|0];if(!c){break n}b=b+1|0;h=(g|0)>1;g=g-1|0;if(h){continue}break}break o}f=P()|0;O()|0;Lc(i);break a}t[f|0]=c;if(!b){break r}e=v[d+24>>2];g=!e;c=b;x:{if((b|0)>-1){break x}c=b;if(!e){break x}c=v[e+8>>2]+b|0}if(!(g|(c|0)<0|v[e+8>>2]<(c|0))){g=v[e+12>>2];break q}v[299999]=0;ba(4543);a=v[299999];v[299999]=0;if((a|0)!=1){break e}}f=P()|0;O()|0;Lc(i);break a}e=v[d+24>>2];if(!e){e=0;c=0;break p}c=0;g=v[e+12>>2]}c=w[c+g|0]}f=f+1|0;b=b+1|0}if(c&255){continue}break}}t[f|0]=0;v[299999]=0;Q(4535,a+28|0,d+24|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break i}v[299999]=0;Q(4433,j|0,v[d+8>>2])|0;b=v[299999];v[299999]=0;if((b|0)==1){break i}Lc(i)}t[a+16|0]=1;ec(d+24|0)}b=v[a+20>>2];if(!b|!v[b+8>>2]){break g}a=a+20|0;break f}f=P()|0;O()|0;Lc(i);break a}f=P()|0;O()|0;break a}a=a+36|0}Qb=d+32|0;return a|0}L()}f=P()|0;O()|0;break a}f=P()|0;O()|0;ec(c);ec(b);break a}f=P()|0;O()|0;ec(b)}ec(d+24|0);T(f|0);L()}function SZa(a){a=a|0;var 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,u=0,w=0,y=0,z=0,A=0,C=0,D=0,E=0;A=v[a+480>>2];v[a+136>>2]=v[A+16>>2];f=v[A+20>>2];j=Ub[v[v[a+4>>2]>>2]](a,1,f<<5)|0;v[j+16>>2]=0;v[j+20>>2]=31;v[j+8>>2]=0;v[j+12>>2]=63;v[j>>2]=0;v[j+4>>2]=31;xH(a,j);l=1;a:{b:{if((f|0)<2){break b}while(1){m=b+1|0;c:{d:{e:{f:{g:{if(l<<1<=(f|0)){k=m&1;if(b){break g}c=0;e=0;b=j;break d}h=m&3;if(b>>>0>=3){break f}c=0;e=0;b=j;break e}h=m&-2;c=0;e=0;b=j;while(1){g=v[b+28>>2];if((g|0)>(e|0)){d=v[b+24>>2]>0;c=d?b:c;e=d?g:e}g=v[b+60>>2];if((g|0)>(e|0)){d=v[b+56>>2]>0;c=d?b+32|0:c;e=d?g:e}b=b- -64|0;h=h-2|0;if(h){continue}break}break d}i=m&-4;c=0;e=0;b=j;while(1){g=v[b+24>>2];d=(g|0)>(e|0);c=d?b:c;k=v[b+56>>2];g=d?g:e;d=(k|0)>(g|0);e=d?b+32|0:c;c=v[b+88>>2];g=d?k:g;d=(c|0)>(g|0);e=d?b- -64|0:e;k=v[b+120>>2];g=d?c:g;d=(k|0)>(g|0);c=d?b+96|0:e;e=d?k:g;b=b+128|0;i=i-4|0;if(i){continue}break}}if(!h){break c}while(1){g=v[b+24>>2];d=(g|0)>(e|0);c=d?b:c;e=d?g:e;b=b+32|0;h=h-1|0;if(h){continue}break}break c}if(!k|v[b+28>>2]<=(e|0)){break c}c=v[b+24>>2]>0?b:c}if(!c){break b}d=(l<<5)+j|0;v[d+4>>2]=v[c+4>>2];v[d+12>>2]=v[c+12>>2];v[d+20>>2]=v[c+20>>2];v[d>>2]=v[c>>2];v[d+8>>2]=v[c+8>>2];v[d+16>>2]=v[c+16>>2];h:{i:{j:{k:{l:{y=v[c+4>>2];e=v[c>>2];q=y-e<<4;k=v[c+12>>2];h=v[c+8>>2];u=B(k-h|0,12);g=v[c+20>>2];b=v[c+16>>2];switch((g-b<<3>(((q|0)>(u|0)?q:u)|0)?2:(q|0)<=(u|0))|0){case 2:break j;case 1:break k;case 0:break l;default:break h}}e=(e+y|0)/2|0;v[c+4>>2]=e;b=d;break i}e=(h+k|0)/2|0;v[c+12>>2]=e;b=d+8|0;break i}e=(b+g|0)/2|0;v[c+20>>2]=e;b=d+16|0}v[b>>2]=e+1}xH(a,c);xH(a,d);b=m;l=l+1|0;if((l|0)!=(f|0)){continue}break}l=f;if((f|0)<1){break a}}while(1){i=0;n=0;o=0;p=0;b=(r<<5)+j|0;s=v[b>>2];E=v[b+4>>2];m:{if((s|0)>(E|0)){break m}q=v[b+12>>2];d=v[b+8>>2];if((q|0)<(d|0)){break m}z=v[b+20>>2];g=v[b+16>>2];if((z|0)<(g|0)){break m}u=v[v[a+480>>2]+24>>2];m=g+1|0;y=g<<3|4;e=(z-g|0)+1&1;while(1){C=s<<3|4;k=v[(s<<2)+u>>2];h=d;while(1){f=((h<<6)+k|0)+(g<<1)|0;D=h<<2|2;n:{if(!e){b=f;f=g;break n}b=f+2|0;f=x[f>>1];if(f){o=B(f,D)+o|0;n=B(f,C)+n|0;i=f+i|0;p=B(f,y)+p|0}f=m}c=f;if((g|0)!=(z|0)){while(1){f=x[b>>1];if(f){o=B(f,D)+o|0;n=B(f,C)+n|0;i=f+i|0;p=B(f,c<<3|4)+p|0}f=c+1|0;w=x[b+2>>1];if(w){o=B(w,D)+o|0;n=B(w,C)+n|0;i=i+w|0;p=B(w,f<<3|4)+p|0}b=b+4|0;c=c+2|0;if((f|0)!=(z|0)){continue}break}}b=(h|0)!=(q|0);h=h+1|0;if(b){continue}break}b=(s|0)!=(E|0);s=s+1|0;if(b){continue}break}}b=i>>1;t[v[v[a+136>>2]>>2]+r|0]=(b+n|0)/(i|0);t[v[v[a+136>>2]+4>>2]+r|0]=(b+o|0)/(i|0);t[v[v[a+136>>2]+8>>2]+r|0]=(b+p|0)/(i|0);r=r+1|0;if((r|0)!=(l|0)){continue}break}f=l}v[a+132>>2]=f;b=v[a>>2];v[b+24>>2]=f;v[b+20>>2]=98;Ub[v[v[a>>2]+4>>2]](a,1);v[A+28>>2]=1}function Rya(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;g=Qb-16|0;Qb=g;v[a>>2]=0;v[a+4>>2]=0;v[a+56>>2]=0;v[a+60>>2]=0;v[a+48>>2]=0;v[a+52>>2]=0;v[a+40>>2]=0;v[a+44>>2]=0;d=a+32|0;v[d>>2]=0;v[d+4>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;e=ic(a+72|0,0,96);v[a+280>>2]=13;v[a+256>>2]=13;v[a+240>>2]=13;v[a+224>>2]=13;v[a+208>>2]=13;v[a+192>>2]=13;v[a+176>>2]=13;v[g>>2]=13;i=a+280|0;a:{if(b){f=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=f;f=v[b+28>>2];v[a+24>>2]=v[b+24>>2];v[a+28>>2]=f;f=v[b+20>>2];v[a+16>>2]=v[b+16>>2];v[a+20>>2]=f;f=v[b+12>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=f;f=v[b+60>>2];v[d+24>>2]=v[b+56>>2];v[d+28>>2]=f;f=v[b+52>>2];v[d+16>>2]=v[b+48>>2];v[d+20>>2]=f;f=v[b+44>>2];v[d+8>>2]=v[b+40>>2];v[d+12>>2]=f;f=v[b+36>>2];v[d>>2]=v[b+32>>2];v[d+4>>2]=f;v[a+64>>2]=v[b+64>>2];v[a+168>>2]=v[b+168>>2];zf(b+280|0,i);break a}v[a+168>>2]=0;v[a+24>>2]=0;v[a+28>>2]=1082703872;v[a+16>>2]=0;v[a+20>>2]=1082335232;v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+32>>2]=0;v[d>>2]=0;v[d+4>>2]=0;v[a+280>>2]=5}b=a+136|0;f=a+104|0;$t(c,220482,a);b:{if($t(c,220457,d)){v[a+64>>2]=1;break b}if(v[a+64>>2]){break b}h=v[a+4>>2];v[d>>2]=v[a>>2];v[d+4>>2]=h;h=v[a+28>>2];v[d+24>>2]=v[a+24>>2];v[d+28>>2]=h;h=v[a+20>>2];v[d+16>>2]=v[a+16>>2];v[d+20>>2]=h;h=v[a+12>>2];v[d+8>>2]=v[a+8>>2];v[d+12>>2]=h}h=v[d+4>>2];v[e>>2]=v[d>>2];v[e+4>>2]=h;h=v[d+28>>2];v[e+24>>2]=v[d+24>>2];v[e+28>>2]=h;h=v[d+20>>2];v[e+16>>2]=v[d+16>>2];v[e+20>>2]=h;h=v[d+12>>2];v[e+8>>2]=v[d+8>>2];v[e+12>>2]=h;$t(c,220473,e);e=v[d+28>>2];v[f+24>>2]=v[d+24>>2];v[f+28>>2]=e;e=v[d+20>>2];v[f+16>>2]=v[d+16>>2];v[f+20>>2]=e;e=v[d+12>>2];v[f+8>>2]=v[d+8>>2];v[f+12>>2]=e;e=v[d+4>>2];v[f>>2]=v[d>>2];v[f+4>>2]=e;$t(c,220465,f);e=v[d+28>>2];v[b+24>>2]=v[d+24>>2];v[b+28>>2]=e;e=v[d+20>>2];v[b+16>>2]=v[d+16>>2];v[b+20>>2]=e;e=v[d+12>>2];v[b+8>>2]=v[d+8>>2];v[b+12>>2]=e;e=v[d+4>>2];v[b>>2]=v[d>>2];v[b+4>>2]=e;$t(c,220450,b);rc(c,276842,g,0);if(v[g>>2]==1){v[a+168>>2]=v[g+8>>2]}hc(g);b=v[a+168>>2];if((b|0)<=-1){e=((b|0)>-360?b:-360)-b|0;d=(e|0)!=0;b=(B(d+((e-d>>>0)/360|0)|0,360)+b|0)+360|0;v[a+168>>2]=b}if((b|0)>=360){e=b;b=(b-((b|0)<719?b:719)|0)+359|0;v[a+168>>2]=(e+(((b>>>0)%360|0)-b|0)|0)-360}rc(c,291837,a+176|0,0);rc(c,244404,a+192|0,0);rc(c,240654,a+208|0,0);rc(c,304090,a+224|0,0);rc(c,244446,a+240|0,0);rc(c,244417,a+256|0,0);c:{d:{if(v[rc(c,231686,g,0)>>2]-1>>>0<=1){j=v[g>>2]==1?+v[g+8>>2]:A[g+8>>3];A[a+272>>3]=j;if(!(j<1)){break c}b=a+272|0;break d}b=a+272|0}v[b>>2]=0;v[b+4>>2]=1072693248}hc(g);rc(c,236851,g,0);if(v[g>>2]==7){hc(i);zf(g,i)}hc(g);Qb=g+16|0;return a|0}function aF(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=Qb-144|0;Qb=e;v[e+128>>2]=13;v[e+112>>2]=13;v[e+96>>2]=13;v[e+80>>2]=13;v[e+64>>2]=13;v[e+48>>2]=13;a:{b:{c:{d:{e:{if(v[d+8>>2]<=(c|0)){kc(1,-1,283737,0);c=fc(72);d=v[a>>2];v[299999]=0;Y(3360,c|0,d|0,b|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){break e}break c}f=v[d+16>>2];if(!f){g=v[d>>2];f=v[d+12>>2];if(f){while(1){if(!((g|0)!=v[f>>2]|v[d+4>>2]!=v[f+4>>2])){kc(1,-1,283640,0);c=fc(72);d=v[a>>2];v[299999]=0;Y(3360,c|0,d|0,b|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){break e}break c}f=v[f+12>>2];if(f){continue}break}}v[e+140>>2]=v[d+4>>2];v[e+136>>2]=g;v[e+128>>2]=9;f=0;if(v[qf(e+128|0,v[a+4>>2],e+112|0,0)>>2]!=7){c=e+112|0;v[e+32>>2]=v[(v[c>>2]<<2)+1121632>>2];kc(1,-1,336071,e+32|0);hc(c);hc(e+128|0);c=fc(72);d=v[a>>2];v[299999]=0;Y(3360,c|0,d|0,b|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){break e}break c}g=fc(296);h=v[d+12>>2];if(h){f=v[h+20>>2]}v[299999]=0;h=Y(3361,g|0,f|0,v[e+120>>2])|0;f=v[299999];v[299999]=0;if((f|0)==1){break a}f:{if(v[rc(v[e+120>>2],236947,e+96|0,0)>>2]==6){v[d+20>>2]=g;f=0;g=fc(16);v[299999]=0;S(3315,g|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break a}v[d+16>>2]=g;g=v[e+104>>2];if(v[g+12>>2]<1){break f}while(1){g:{if(v[hg(g,f,e+80|0)>>2]==9){h:{if(v[qf(e+80|0,v[a+4>>2],e- -64|0,0)>>2]==7){g=e+48|0;h=v[rc(v[e+72>>2],227850,g,0)>>2];i=v[e+56>>2];hc(g);j=v[d+16>>2];g=fc(24);k=v[e+88>>2];l=v[e+92>>2];v[g+16>>2]=0;v[g+20>>2]=0;v[g+12>>2]=d;v[g+8>>2]=(h|0)==1?i:1;v[g>>2]=k;v[g+4>>2]=l;Tc(j,g);break h}v[e>>2]=v[(v[e- -64>>2]<<2)+1121632>>2];kc(1,-1,336071,e)}hc(e- -64|0);break g}v[e+16>>2]=v[(v[e+80>>2]<<2)+1121632>>2];kc(1,-1,336158,e+16|0)}hc(e+80|0);f=f+1|0;g=v[e+104>>2];if((f|0)>2]){continue}break}break f}i=v[d+4>>2];g=b-1|0;f=v[a+16>>2]+(g<<3)|0;v[f>>2]=v[d>>2];v[f+4>>2]=i;f=fc(72);i=v[a>>2];v[299999]=0;ca(3362,f|0,i|0,b|0,v[e+120>>2],h|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break b}h=g<<2;v[h+v[a+12>>2]>>2]=f;f=v[h+v[a+12>>2]>>2];if(v[f+64>>2]){break f}dc(ZR(f));f=fc(72);h=v[a>>2];v[299999]=0;Y(3360,f|0,h|0,b|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break b}v[v[a+12>>2]+(g<<2)>>2]=f}hc(e+96|0);hc(e+112|0);hc(e+128|0);f=v[d+16>>2];if(!f){break d}}i:{j:{g=v[f+8>>2];if((g|0)<1){f=0;break j}h=v[f>>2];f=0;while(1){i=v[h+(f<<2)>>2];j=v[i+8>>2];if((j|0)>(c|0)){aF(a,b,c,i);g=v[v[d+16>>2]+8>>2];break j}c=c-j|0;f=f+1|0;if((g|0)!=(f|0)){continue}break}break i}if((f|0)!=(g|0)){break d}}kc(1,-1,283705,0);c=fc(72);d=v[a>>2];v[299999]=0;Y(3360,c|0,d|0,b|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){break e}break c}v[(v[a+12>>2]+(b<<2)|0)-4>>2]=c}Qb=e+144|0;return}a=P()|0;O()|0;dc(c);T(a|0);L()}a=P()|0;O()|0;dc(f);T(a|0);L()}a=P()|0;O()|0;dc(g);T(a|0);L()}function WDa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;c=Qb-16|0;Qb=c;d=Qb-48|0;Qb=d;v[d+32>>2]=13;v[d+16>>2]=13;v[d>>2]=13;Gf(d+32|0,v[a+4>>2]);Kg(v[a+108>>2],d+16|0,0,0,0,0,0,0,0);b=v[d+16>>2];if((b|0)==9){b=-1;e=v[a+108>>2];a:{if(!e){break a}e=v[e+4>>2];if(v[e+8>>2]==13){break a}b=v[e+16>>2];b=Ub[v[v[b>>2]+52>>2]](b)|0}kc(1,b,256592,0);hc(d+16|0);v[d+16>>2]=11;b=11}b:{c:{d:{e:{f:{while(1){g:{h:{i:{switch(b-4|0){case 6:if(!mc(v[d+24>>2],321617)){break e}default:b=-1;e=v[a+108>>2];j:{if(!e){break j}e=v[e+4>>2];if(v[e+8>>2]==13){break j}b=v[e+16>>2];b=Ub[v[v[b>>2]+52>>2]](b)|0}kc(1,b,233840,0);hc(d+16|0);break h;case 0:break i;case 8:break f}}b=ud(v[d+24>>2]);e=d+16|0;hc(e);Kg(v[a+108>>2],e,0,0,0,0,0,0,0);k:{switch(v[d+16>>2]-9|0){case 0:e=-1;f=v[a+108>>2];l:{if(!f){break l}f=v[f+4>>2];if(v[f+8>>2]==13){break l}e=v[f+16>>2];e=Ub[v[v[e>>2]+52>>2]](e)|0}kc(1,e,256592,0);hc(d+16|0);v[d+16>>2]=11;case 2:uc(b);hc(d+16|0);break h;case 3:break g;default:break k}}fe(v[d+40>>2],b,d+16|0)}Kg(v[a+108>>2],d+16|0,0,0,0,0,0,0,0);b=v[d+16>>2];if((b|0)!=9){continue}b=-1;e=v[a+108>>2];m:{if(!e){break m}e=v[e+4>>2];if(v[e+8>>2]==13){break m}b=v[e+16>>2];b=Ub[v[v[b>>2]+52>>2]](b)|0}kc(1,b,256592,0);hc(d+16|0);b=11;v[d+16>>2]=11;continue}break}uc(b);if(v[d+16>>2]!=12){break e}}b=-1;e=v[a+108>>2];n:{if(!e){break n}e=v[e+4>>2];if(v[e+8>>2]==13){break n}b=v[e+16>>2];b=Ub[v[v[b>>2]+52>>2]](b)|0}kc(1,b,283558,0);hc(d+16|0);hc(d+32|0);b=0;break d}hc(d+16|0);b=0;v[c+12>>2]=0;if(v[rc(v[d+40>>2],268438,d,0)>>2]!=1){hc(d);rc(v[d+40>>2],320503,d,0)}if(v[d>>2]==1){b=v[d+8>>2];v[c+12>>2]=1}hc(d);f=v[v[a+108>>2]+4>>2];e=v[f+16>>2];f=v[f+8>>2]==13;if(e?f:1){if(f){b=-1}else{b=Ub[v[v[e>>2]+52>>2]](e)|0}kc(1,b,304232,0);hc(d+32|0);b=0;break d}f=fc(40);g=v[c+12>>2];v[299999]=0;b=Yt(f,e,d+32|0,g,b);e=v[299999];v[299999]=0;if((e|0)==1){break c}b=VR(b,d+32|0,0)}Qb=d+48|0;break b}a=P()|0;O()|0;dc(f);T(a|0);L()}o:{if(!b){break o}p:{if(!dT(a,0,b,1)){break p}if(v[c+12>>2]){while(1){if((Ub[v[v[b>>2]+28>>2]](b)|0)!=-1){continue}break}Ub[v[v[b>>2]+4>>2]](b);a=v[v[a+108>>2]+4>>2];b=v[a+8>>2]==13?0:v[a+16>>2];a=Ub[v[v[b>>2]+28>>2]](b)|0;while(1){e=(a|0)!=69;a=Ub[v[v[b>>2]+28>>2]](b)|0;d=Ub[v[v[b>>2]+32>>2]](b)|0;if(!((a|0)!=73|e)){if(w[d+937984|0]==1&d>>>0<=255){break o}if((d|0)!=-1){continue}break o}if((d|0)!=-1){continue}break}break o}a=Ub[v[v[b>>2]+72>>2]](b)|0;a=Ub[v[v[a>>2]+28>>2]](a)|0;while(1){e=(a|0)!=69;a=Ub[v[v[b>>2]+72>>2]](b)|0;a=Ub[v[v[a>>2]+28>>2]](a)|0;d=Ub[v[v[b>>2]+72>>2]](b)|0;d=Ub[v[v[d>>2]+32>>2]](d)|0;if(!((a|0)!=73|e)){if(w[d+937984|0]==1&d>>>0<=255){break p}if((d|0)!=-1){continue}break p}if((d|0)!=-1){continue}break}}Ub[v[v[b>>2]+4>>2]](b)}Qb=c+16|0}function vU(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=Qb-1312|0;Qb=g;if(c>>>0>=4){e=v[a>>2];v[e+24>>2]=c;v[e+20>>2]=52;Ub[v[v[a>>2]>>2]](a)}h=v[((b?120:136)+a|0)+(c<<2)>>2];if(!h){e=v[a>>2];v[e+24>>2]=c;v[e+20>>2]=52;Ub[v[v[a>>2]>>2]](a)}i=v[d>>2];if(!i){i=Ub[v[v[a+4>>2]>>2]](a,1,1280)|0;v[d>>2]=i}c=w[h+1|0];a:{if(!c){c=0;break a}ic(g+1040|0,1,c)}e=w[h+2|0];d=e+c|0;if(d>>>0>256){f=v[a>>2];v[f+20>>2]=9;Ub[v[f>>2]](a)}b:{if(!e){d=c;break b}ic((g+1040|0)+c|0,2,e)}e=w[h+3|0];c=e+d|0;if((c|0)>=257){f=v[a>>2];v[f+20>>2]=9;Ub[v[f>>2]](a)}c:{if(!e){c=d;break c}ic((g+1040|0)+d|0,3,e)}e=w[h+4|0];d=e+c|0;if((d|0)>=257){f=v[a>>2];v[f+20>>2]=9;Ub[v[f>>2]](a)}d:{if(!e){d=c;break d}ic((g+1040|0)+c|0,4,e)}e=w[h+5|0];c=e+d|0;if((c|0)>=257){f=v[a>>2];v[f+20>>2]=9;Ub[v[f>>2]](a)}e:{if(!e){c=d;break e}ic((g+1040|0)+d|0,5,e)}e=w[h+6|0];d=e+c|0;if((d|0)>=257){f=v[a>>2];v[f+20>>2]=9;Ub[v[f>>2]](a)}f:{if(!e){d=c;break f}ic((g+1040|0)+c|0,6,e)}e=w[h+7|0];c=e+d|0;if((c|0)>=257){f=v[a>>2];v[f+20>>2]=9;Ub[v[f>>2]](a)}g:{if(!e){c=d;break g}ic((g+1040|0)+d|0,7,e)}e=w[h+8|0];d=e+c|0;if((d|0)>=257){f=v[a>>2];v[f+20>>2]=9;Ub[v[f>>2]](a)}h:{if(!e){d=c;break h}ic((g+1040|0)+c|0,8,e)}e=w[h+9|0];c=e+d|0;if((c|0)>=257){f=v[a>>2];v[f+20>>2]=9;Ub[v[f>>2]](a)}i:{if(!e){c=d;break i}ic((g+1040|0)+d|0,9,e)}e=w[h+10|0];d=e+c|0;if((d|0)>=257){f=v[a>>2];v[f+20>>2]=9;Ub[v[f>>2]](a)}j:{if(!e){d=c;break j}ic((g+1040|0)+c|0,10,e)}e=w[h+11|0];c=e+d|0;if((c|0)>=257){f=v[a>>2];v[f+20>>2]=9;Ub[v[f>>2]](a)}k:{if(!e){c=d;break k}ic((g+1040|0)+d|0,11,e)}e=w[h+12|0];d=e+c|0;if((d|0)>=257){f=v[a>>2];v[f+20>>2]=9;Ub[v[f>>2]](a)}l:{if(!e){d=c;break l}ic((g+1040|0)+c|0,12,e)}e=w[h+13|0];c=e+d|0;if((c|0)>=257){f=v[a>>2];v[f+20>>2]=9;Ub[v[f>>2]](a)}m:{if(!e){c=d;break m}ic((g+1040|0)+d|0,13,e)}e=w[h+14|0];d=e+c|0;if((d|0)>=257){f=v[a>>2];v[f+20>>2]=9;Ub[v[f>>2]](a)}n:{if(!e){d=c;break n}ic((g+1040|0)+c|0,14,e)}e=w[h+15|0];c=e+d|0;if((c|0)>=257){f=v[a>>2];v[f+20>>2]=9;Ub[v[f>>2]](a)}o:{if(!e){c=d;break o}ic((g+1040|0)+d|0,15,e)}d=w[h+16|0];e=d+c|0;if((e|0)>=257){f=v[a>>2];v[f+20>>2]=9;Ub[v[f>>2]](a)}p:{if(!d){e=c;break p}ic((g+1040|0)+c|0,16,d)}c=0;t[(g+1040|0)+e|0]=0;j=w[g+1040|0];if(j){f=j<<24>>24;d=0;while(1){if(j<<24>>24==(f|0)){while(1){v[(d<<2)+g>>2]=c;c=c+1|0;d=d+1|0;j=t[d+(g+1040|0)|0];if((j|0)==(f|0)){continue}break}}if(1<>2];v[k+20>>2]=9;Ub[v[k>>2]](a)}f=f+1|0;c=c<<1;if(j&255){continue}break}}c=0;ic(i+1024|0,0,256);if((e|0)>=1){d=b?15:255;while(1){b=w[(c+h|0)+17|0];if(!(w[(b+i|0)+1024|0]?0:b>>>0<=d>>>0)){f=v[a>>2];v[f+20>>2]=9;Ub[v[f>>2]](a)}v[(b<<2)+i>>2]=v[(c<<2)+g>>2];t[(b+i|0)+1024|0]=w[(g+1040|0)+c|0];c=c+1|0;if((e|0)!=(c|0)){continue}break}}Qb=g+1312|0}function H9a(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;f=v[a+512>>2];a:{b:{c:{if(w[a+285|0]|w[a+286|0]|(w[a+287|0]|w[a+288|0])){break c}if(w[a+289|0]){break c}break b}if(w[a+291|0]|(w[a+300|0]|w[a+292|0])){break b}if(c>>>0>=7){break a}d:{h=w[a+289|0];if(h){e:{g=w[a+336|0];if((g|0)!=8){if((g|0)==12&(c|0)!=2){break a}if((g|0)==10){break e}if((g|0)!=14){break d}if((c|0)!=6){break a}break d}if((c|0)==2){break d}break a}if((c|0)==6){break d}break a}if(w[a+288|0]?1:w[a+286|0]|w[a+287|0]){f:{g:{g=w[a+325|0];if(g){if((g|0)==4&(c|0)!=2){break a}if((g|0)==2){break g}if((g|0)==6&(c|0)!=6){break f}if((c|0)==1|(g|0)!=3){break d}break a}if((c|0)==2){break d}break a}if((c|0)==6){break d}}break a}if((c|0)==6){break d}break a}g=w[a+286|0];h:{if(h|w[a+288|0]?1:g|w[a+287|0]){t[a+299|0]=1;break h}t[a+312|0]=(c|0)!=0}if(!f){f=v[a+528>>2]}f=v[f+88>>2];i:{j:{if(h){t[f+61|0]=1;k:{switch(w[a+336|0]-8|0){case 0:case 4:g=f;f=w[d|0]|w[d+1|0]<<8;u[g+1154>>1]=f<<8|f>>>8;break j;case 2:case 6:break k;default:break j}}g=w[d|0]|w[d+1|0]<<8;u[f+1156>>1]=g<<8|g>>>8;g=w[d+2|0]|w[d+3|0]<<8;u[f+1158>>1]=g<<8|g>>>8;g=f;f=w[d+4|0]|w[d+5|0]<<8;u[g+1160>>1]=f<<8|f>>>8;break j}if(w[a+288|0]?1:w[a+287|0]|g){t[f+61|0]=1;l:{switch(w[a+325|0]){case 0:case 4:g=f;f=w[d|0]|w[d+1|0]<<8;u[g+1154>>1]=f<<8|f>>>8;break j;case 2:case 6:g=w[d|0]|w[d+1|0]<<8;u[f+1156>>1]=g<<8|g>>>8;g=w[d+2|0]|w[d+3|0]<<8;u[f+1158>>1]=g<<8|g>>>8;g=f;f=w[d+4|0]|w[d+5|0]<<8;u[g+1160>>1]=f<<8|f>>>8;break j;case 3:break l;default:break j}}t[f+1152|0]=w[d|0];break j}m:{if(!c){f=x[a+2244>>1];h=x[a+2242>>1];i=x[a+2240>>1];break m}f=w[d|0]|w[d+1|0]<<8;i=f<<8|f>>>8;u[a+2240>>1]=i;f=w[d+2|0]|w[d+3|0]<<8;h=f<<8|f>>>8;u[a+2242>>1]=h;f=w[d+4|0]|w[d+5|0]<<8;f=f<<8|f>>>8;u[a+2244>>1]=f}g=0;n:{if(!w[a+114|0]){break n}i=i&65535;h=h&65535;j=f&65535;f=Ub[v[a+152>>2]](36)|0;if(!f){pc(a,1,0,0);g=1;break n}v[f+4>>2]=709;v[f>>2]=710;g=v[a+700>>2];o:{if(g){v[g+8>>2]=f;break o}v[a+696>>2]=f}v[f+8>>2]=0;v[f+12>>2]=g;v[a+700>>2]=f;v[f+16>>2]=v[a+436>>2];v[f+20>>2]=v[a+440>>2];v[f+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=f}u[f+32>>1]=j;u[f+30>>1]=h;u[f+28>>1]=i;g=0}f=g;if(f){break i}}f=0;if(!w[a+112|0]){break i}f=Ub[v[b+4>>2]](a,b,e)|0;if(f){break i}b=v[e>>2];t[b+32|0]=!c;t[b+33|0]=w[a+325|0];f=0;p:{q:{switch(c-1|0){case 0:t[b+33|0]=3;t[b+34|0]=w[d|0];break p;case 1:t[b+33|0]=0;a=w[d|0]|w[d+1|0]<<8;u[b+36>>1]=a<<8|a>>>8;return 0;case 5:break q;default:break i}}t[b+33|0]=2;a=w[d|0]|w[d+1|0]<<8;u[b+38>>1]=a<<8|a>>>8;a=w[d+2|0]|w[d+3|0]<<8;u[b+40>>1]=a<<8|a>>>8;a=w[d+4|0]|w[d+5|0]<<8;u[b+42>>1]=a<<8|a>>>8}}return f|0}pc(a,1029,0,0);return 1029}pc(a,1028,0,0);return 1028}function F5a(a){a=a|0;var 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,w=0,y=0;f=Qb-48|0;Qb=f;v[f+16>>2]=1;r=x[a+26310>>1];v[f+32>>2]=1;v[f+24>>2]=-1;v[f+20>>2]=r;v[f+28>>2]=0-r;UI(a,3);if(v[a+188>>2]){Rc(58754,21,1,v[252391])}e=x[a+26308>>1];if(e>>>0>=7){b=x[a+26310>>1];m=v[a+26028>>2];h=3;while(1){g=h<<1&14;c=(m>>>(g<<1|2)&1)+3|0;d=b&65535;if((c|0)<(d-3|0)){j=m>>>((g|c&1)<<1)&3;y=v[a+26352>>2];b=d;while(1){e=1;b=(y+(B(b,h)<<3)|0)+(c<<3)|0;g=x[b+(j<<1)>>1];d=0;while(1){w=d<<2;i=e<<3;k=x[(b-i|0)+2>>1];i=x[(b+i|0)+2>>1];n=j<<1;l=e<<4;q=x[n+(l+b|0)>>1];l=x[n+(b-l|0)>>1];v[w+f>>2]=((k+g|0)+i<<1)-(q+l|0);s=l-g|0;l=s>>31;o=k-i|0;n=o>>31;p=q-g|0;q=p>>31;t=x[(b+B(e,-24)|0)+2>>1]-k|0;k=t>>31;i=x[(b+B(e,24)|0)+2>>1]-i|0;e=i>>31;v[w+(f+8|0)>>2]=B(((l^l+s)+(n^n+o)|0)+(q^q+p)|0,3)+((k^k+t)+(e^e+i)<<1);d=d+1|0;e=v[(f+16|0)+(d<<2)>>2];if((e|0)>0){continue}break}g=(v[f+8>>2]>v[f+12>>2])<<2;d=v[g+f>>2]>>2;e=b;k=v[(g|f+16)>>2]<<3;g=x[(k+b|0)+2>>1];b=x[(b-k|0)+2>>1];a:{if(g>>>0>=b>>>0){d=(d|0)<(g|0)?d:g;b=(b|0)>(d|0)?b:d;break a}b=(b|0)>(d|0)?d:b;b=(b|0)<(g|0)?g:b}u[e+2>>1]=b;c=c+2|0;b=x[a+26310>>1];if((c|0)<(b-3|0)){continue}break}e=x[a+26308>>1]}h=h+1|0;if((h|0)<((e&65535)-3|0)){continue}break}}b:{if((e&65535)>>>0<3){break b}b=x[a+26310>>1];m=v[a+26028>>2];g=1;while(1){c=g<<1&14;j=m>>>(c<<1)&1;h=j+1|0;d=b&65535;if((h|0)<(d-1|0)){e=m>>>((c|j)<<1)&3;k=v[a+26352>>2];b=d;while(1){b=(k+(B(b,g)<<3)|0)+(h<<3)|0;d=0;c=1;while(1){j=e<<1;c=c<<3;i=c+b|0;c=b-c|0;c=(x[j+i>>1]+x[c+j>>1]|0)+(x[b+2>>1]<<1)-(x[c+2>>1]+x[i+2>>1])|0;c=(c|0)<131070?c>>1:65535;u[b+j>>1]=(c|0)>0?c:0;e=2-e|0;d=d+1|0;c=v[(f+16|0)+(d<<2)>>2];if((c|0)>0){continue}break}h=h+2|0;b=x[a+26310>>1];if((h|0)<(b-1|0)){continue}break}e=x[a+26308>>1]}g=g+1|0;if((g|0)<((e&65535)-1|0)){continue}break}if((e&65535)>>>0<3){break b}g=r+1|0;d=x[a+26310>>1];k=v[a+26028>>2];r=v[f+20>>2];m=1;while(1){c=m<<1&14;h=(k>>>(c<<1|2)&1)+1|0;b=d&65535;if((h|0)<(b-1|0)){q=2-(k>>>((c|h&1)<<1)&3)|0;y=v[a+26352>>2];while(1){d=1;j=(y+(B(b,m)<<3)|0)+(h<<3)|0;i=x[j+2>>1];w=i<<1;c=0;e=r;b=g;while(1){s=c<<2;b=b<<3;c=b+j|0;l=q<<1;n=x[c+l>>1];b=j-b|0;o=x[b+l>>1];b=x[b+2>>1];p=x[c+2>>1];v[s+f>>2]=w+(n+o|0)-(b+p);t=b-i|0;b=t>>31;o=o-n|0;c=o>>31;p=p-i|0;n=p>>31;v[s+(f+8|0)>>2]=((b^b+t)+(c^c+o)|0)+(n^n+p);b=e;c=d;d=c+1|0;e=v[(f+16|0)+(d<<2)>>2];b=b+e|0;if((b|0)>0){continue}break}e=j+l|0;b=v[f+8>>2];d=v[f+12>>2];c:{if((b|0)==(d|0)){b=v[f+4>>2]+v[f>>2]>>2;b=(b|0)<65535?b:65535;break c}b=v[(((b|0)>(d|0))<<2)+f>>2];b=(b|0)<131070?b>>1:65535}u[e>>1]=(b|0)>0?b:0;h=h+2|0;b=x[a+26310>>1];if((h|0)<(b-1|0)){continue}break}d=b;e=x[a+26308>>1]}m=m+1|0;if((m|0)<((e&65535)-1|0)){continue}break}}Qb=f+48|0}function Hda(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,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{g=Qb-48|0;Qb=g;h=a;v[a>>2]=0;t[a+11|0]=0;v[299999]=0;v[g+44>>2]=0;b=Q(5428,e|0,g+44|0)|0;a=v[299999];v[299999]=0;b:{c:{d:{e:{if((a|0)!=1){if(v[g+44>>2]<=0){v[g+24>>2]=c;e=v[d>>2];v[299999]=0;a=w[v[v[b+24>>2]+12>>2]+70|0];i=v[299999];v[299999]=0;f:{g:{h:{i:{if((i|0)!=1){v[299999]=0;i=(e>>>0)/(a>>>0)|0;a=i<<1;j=a+a|0;a=S(15,(a>>>0>j>>>0?-1:j)|0)|0;j=v[299999];v[299999]=0;if((j|0)==1){break c}v[299999]=0;v[g+8>>2]=a;Ga(5430,b|0,g+8|0,a+(i<<1)|0,g+24|0,c+e|0,0,1,g+44|0);e=v[299999];v[299999]=0;if((e|0)==1){break i}if(v[g+44>>2]>0){break f}v[299999]=0;i=v[g+8>>2]-a|0;U(4236,h|0,i|0,0);e=v[299999];v[299999]=0;if((e|0)==1){break h}v[g+40>>2]=0;j=v[h>>2];k=v[h+4>>2];e=w[h+11|0];v[299999]=0;l=j;j=e<<24>>24<0;BW(j?l:h,j?k:e,g+40|0,a,i>>1,g+44|0);e=v[299999];v[299999]=0;if((e|0)!=1){if(v[g+44>>2]>0){break g}v[299999]=0;U(4236,h|0,v[g+40>>2],0);e=v[299999];v[299999]=0;if((e|0)!=1){break f}}c=P()|0;O()|0;break b}c=P()|0;O()|0;break b}c=P()|0;O()|0;break b}c=P()|0;O()|0;break b}if(t[h+11|0]<=-1){v[v[h>>2]>>2]=0;v[h+4>>2]=0;break f}t[h+11|0]=0;v[h>>2]=0}dc(a);v[299999]=0;R(5432,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break c}}j:{k:{if(!f){break k}a=w[h+11|0];if(a<<24>>24<0?v[h+4>>2]:a){break k}a=v[d>>2];if(!a){break k}if(a>>>0>=4294967280){v[299999]=0;R(2530,g+24|0);a=v[299999];v[299999]=0;if((a|0)==1){break j}break d}l:{if(a>>>0>=11){v[299999]=0;d=a+16&-16;b=S(1,d|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break j}v[g+24>>2]=b;v[g+28>>2]=a;v[g+32>>2]=d|-2147483648;break l}t[g+35|0]=a;b=g+24|0}m=gc(b,c,a)+a|0,n=0,t[m|0]=n;a=v[g+24>>2];b=t[g+35|0];d=(b|0)<0;e=d?v[g+28>>2]:b&255;if(e>>>0>=1073741808){v[299999]=0;R(2530,g+8|0);c=v[299999];v[299999]=0;if((c|0)!=1){break d}break e}m:{n:{if(e>>>0>=2){v[299999]=0;f=e+4&-4;c=S(1,f<<2)|0;i=v[299999];v[299999]=0;if((i|0)==1){break e}v[g+8>>2]=c;v[g+12>>2]=e;v[g+16>>2]=f|-2147483648;break n}t[g+19|0]=e;c=g+8|0;if(!e){break m}}a=d?a:g+24|0;f=e-1|0;d=e&7;o:{if(!d){b=a;break o}b=a;while(1){v[c>>2]=t[b|0];c=c+4|0;b=b+1|0;d=d-1|0;if(d){continue}break}}if(f>>>0<7){break m}a=a+e|0;while(1){v[c>>2]=t[b|0];v[c+4>>2]=t[b+1|0];v[c+8>>2]=t[b+2|0];v[c+12>>2]=t[b+3|0];v[c+16>>2]=t[b+4|0];v[c+20>>2]=t[b+5|0];v[c+24>>2]=t[b+6|0];v[c+28>>2]=t[b+7|0];c=c+32|0;b=b+8|0;if((a|0)!=(b|0)){continue}break}}v[c>>2]=0;if(t[h+11|0]<=-1){dc(v[h>>2])}a=v[g+12>>2];v[h>>2]=v[g+8>>2];v[h+4>>2]=a;v[h+8>>2]=v[g+16>>2];if(t[g+35|0]>-1){break k}dc(v[g+24>>2])}Qb=g+48|0;break a}c=P()|0;O()|0;break b}c=P()|0;O()|0;break b}c=P()|0;O()|0;if((b|0)>-1){break b}dc(a);break b}L()}c=P()|0;O()|0}if(t[h+11|0]<=-1){dc(v[h>>2])}T(c|0);L()}}function HV(a,b,c){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,p=0;if((c|0)>=0){k=x[b+2>>1];i=k?4:3;e=k?7:138;j=a+5817|0;g=-1;while(1){p=n;l=k;n=n+1|0;k=x[((n<<2)+b|0)+2>>1];d=f+1|0;a:{if(!((l|0)!=(k|0)|(e|0)<=(d|0))){f=d;break a}b:{if((d|0)<(i|0)){f=(l<<2)+a|0;g=f+2684|0;h=f+2686|0;f=v[a+5820>>2];while(1){i=x[h>>1];m=x[g>>1];e=x[a+5816>>1]|m<>1]=e;o=a;c:{if((16-i|0)<(f|0)){f=v[a+20>>2];v[a+20>>2]=f+1;t[f+v[a+8>>2]|0]=e;f=v[a+20>>2];v[a+20>>2]=f+1;t[f+v[a+8>>2]|0]=w[j|0];f=v[a+5820>>2];u[a+5816>>1]=m>>>16-f;f=(f+i|0)-16|0;break c}f=f+i|0}v[o+5820>>2]=f;d=d-1|0;if(d){continue}break}break b}o=a;d:{if(l){e:{if((g|0)==(l|0)){e=v[a+5820>>2];f=d;break e}d=(l<<2)+a|0;e=x[d+2686>>1];h=x[d+2684>>1];g=v[a+5820>>2];m=x[a+5816>>1]|h<>1]=m;d=a;f:{if((g|0)>(16-e|0)){g=v[a+20>>2];v[a+20>>2]=g+1;t[g+v[a+8>>2]|0]=m;g=v[a+20>>2];v[a+20>>2]=g+1;t[g+v[a+8>>2]|0]=w[j|0];g=v[a+5820>>2];u[a+5816>>1]=h>>>16-g;i=(e+g|0)-16|0;break f}i=e+g|0}e=i;v[d+5820>>2]=e}h=x[a+2748>>1];d=x[a+5816>>1]|h<>1];g:{if((16-g|0)<(e|0)){u[a+5816>>1]=d;e=v[a+20>>2];v[a+20>>2]=e+1;t[e+v[a+8>>2]|0]=d;d=v[a+20>>2];v[a+20>>2]=d+1;t[d+v[a+8>>2]|0]=w[j|0];d=v[a+5820>>2];e=(d+g|0)-16|0;d=h>>>16-d|0;break g}e=e+g|0}v[a+5820>>2]=e;f=f+65533|0;if((e|0)>=15){d=f<>1]=d;e=v[a+20>>2];v[a+20>>2]=e+1;t[e+v[a+8>>2]|0]=d;d=v[a+20>>2];v[a+20>>2]=d+1;t[d+v[a+8>>2]|0]=w[j|0];d=f&65535;f=v[a+5820>>2];u[a+5816>>1]=d>>>16-f;f=f-14|0;break d}u[a+5816>>1]=f<>1];e=v[a+5820>>2];d=x[a+5816>>1]|h<>1];h:{if((e|0)>(16-g|0)){u[a+5816>>1]=d;e=v[a+20>>2];v[a+20>>2]=e+1;t[e+v[a+8>>2]|0]=d;d=v[a+20>>2];v[a+20>>2]=d+1;t[d+v[a+8>>2]|0]=w[j|0];d=v[a+5820>>2];e=(d+g|0)-16|0;d=h>>>16-d|0;break h}e=e+g|0}v[a+5820>>2]=e;f=f+65534|0;if((e|0)>=14){d=f<>1]=d;e=v[a+20>>2];v[a+20>>2]=e+1;t[e+v[a+8>>2]|0]=d;d=v[a+20>>2];v[a+20>>2]=d+1;t[d+v[a+8>>2]|0]=w[j|0];d=f&65535;f=v[a+5820>>2];u[a+5816>>1]=d>>>16-f;f=f-13|0;break d}u[a+5816>>1]=f<>1];e=v[a+5820>>2];d=x[a+5816>>1]|h<>1];i:{if((e|0)>(16-g|0)){u[a+5816>>1]=d;e=v[a+20>>2];v[a+20>>2]=e+1;t[e+v[a+8>>2]|0]=d;d=v[a+20>>2];v[a+20>>2]=d+1;t[d+v[a+8>>2]|0]=w[j|0];d=v[a+5820>>2];e=(d+g|0)-16|0;d=h>>>16-d|0;break i}e=e+g|0}v[a+5820>>2]=e;f=f+65526|0;if((e|0)>=10){d=f<>1]=d;e=v[a+20>>2];v[a+20>>2]=e+1;t[e+v[a+8>>2]|0]=d;d=v[a+20>>2];v[a+20>>2]=d+1;t[d+v[a+8>>2]|0]=w[j|0];d=f&65535;f=v[a+5820>>2];u[a+5816>>1]=d>>>16-f;f=f-9|0;break d}u[a+5816>>1]=f<>2]=f}f=0;j:{if(!k){e=138;d=3;break j}d=(l|0)==(k|0);e=d?6:7;d=d?3:4}i=d;g=l}if((c|0)!=(p|0)){continue}break}}}function Iva(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;d=Qb-48|0;Qb=d;v[d+32>>2]=13;v[d+16>>2]=13;v[d>>2]=13;v[a+4>>2]=0;v[a+8>>2]=0;v[a>>2]=c;v[a+12>>2]=0;v[a+16>>2]=0;a:{if(v[Sm(b,c,0,d+32|0,0)>>2]!=8){break a}c=v[d+40>>2];if(v[rc(Ub[v[v[c>>2]+76>>2]](c)|0,316328,d+16|0,0)>>2]!=1){hc(d+16|0);break a}v[a+4>>2]=v[d+24>>2];hc(d+16|0);if(v[a+4>>2]<1){break a}c=v[d+40>>2];if(v[rc(Ub[v[v[c>>2]+76>>2]](c)|0,225630,d+16|0,0)>>2]!=1){hc(d+16|0);break a}h=v[d+24>>2];hc(d+16|0);if((h|0)<0){break a}g=v[a+4>>2];if((g|0)>=1000001){kc(1,-1,256629,0);break a}j=g<<4;e=fc((g|0)!=(g&268435455)?-1:j);b:{if(!g){break b}i=j-16|0;f=(i>>>4|0)+1&7;c:{if(!f){c=e;break c}c=e;while(1){v[c>>2]=13;c=c+16|0;f=f-1|0;if(f){continue}break}}if(i>>>0<112){break b}f=e+j|0;while(1){v[c+112>>2]=13;v[c+96>>2]=13;v[c+80>>2]=13;v[c+64>>2]=13;v[c+48>>2]=13;v[c+32>>2]=13;v[c+16>>2]=13;v[c>>2]=13;c=c+128|0;if((f|0)!=(c|0)){continue}break}}v[a+8>>2]=e;l=a,m=ed(g,4),v[l+12>>2]=m;g=ed(v[a+4>>2],4);c=v[d+40>>2];Ub[v[v[c>>2]+20>>2]](c);v[d+16>>2]=5;c=fc(40);v[299999]=0;e=Yt(c,v[d+40>>2],d+16|0,1,h);f=v[299999];v[299999]=0;d:{e:{f:{if((f|0)!=1){c=fc(160);v[299999]=0;j=Y(4033,c|0,b|0,e|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break e}f=0;c=fc(56);v[299999]=0;e=Z(3437,c|0,b|0,j|0,0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break f}g:{h:{i:{if(v[a+4>>2]>=1){while(1){Kg(e,d+16|0,1,0,0,0,0,0,0);Kg(e,d,1,0,0,0,0,0,0);j:{k:{if(!(v[d+16>>2]==1&v[d>>2]==1)){hc(d+16|0);hc(d);break k}i=f<<2;v[i+v[a+12>>2]>>2]=v[d+24>>2];k=g+i|0;v[k>>2]=v[d+8>>2];hc(d+16|0);hc(d);l:{if(v[i+v[a+12>>2]>>2]<0){break l}i=v[k>>2];if((i|0)<0){break l}if(!f|(i|0)>=v[k-4>>2]){break j}}}Zk(e);dc(c);uc(g);break i}f=f+1|0;if((f|0)>2]){continue}break}}fS(j);Zk(e);dc(c);c=v[g>>2];if((c|0)>(h|0)){e=v[d+40>>2];Ub[v[v[e>>2]+48>>2]](e,c-h|0)|0}f=v[a+4>>2];if((f|0)>=1){h=0;while(1){v[d+16>>2]=5;c=fc(40);e=v[d+40>>2];m:{if((f-1|0)==(h|0)){v[299999]=0;Yt(c,e,d+16|0,0,0);e=v[299999];v[299999]=0;if((e|0)!=1){break m}a=P()|0;O()|0;break d}f=g+(h<<2)|0;j=v[f>>2];f=v[f+4>>2];v[299999]=0;Yt(c,e,d+16|0,1,f-j|0);e=v[299999];v[299999]=0;if((e|0)!=1){break m}a=P()|0;O()|0;break d}e=fc(160);v[299999]=0;f=Y(4033,e|0,b|0,c|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break h}c=fc(56);v[299999]=0;e=Z(3437,c|0,b|0,f|0,0)|0;j=v[299999];v[299999]=0;if((j|0)==1){break g}Kg(e,v[a+8>>2]+(h<<4)|0,0,0,0,0,0,0,0);fS(f);Zk(e);dc(c);f=v[a+4>>2];h=h+1|0;if((f|0)>(h|0)){continue}break}}uc(g);v[a+16>>2]=1}b=v[d+40>>2];Ub[v[v[b>>2]+24>>2]](b);break a}a=P()|0;O()|0;c=e;break d}a=P()|0;O()|0;break d}a=P()|0;O()|0;break d}a=P()|0;O()|0;break d}a=P()|0;O()|0}dc(c);T(a|0);L()}hc(d+32|0);Qb=d+48|0;return a|0}function Zfa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=Qb-32|0;Qb=f;a:{if(!v[b+12>>2]){v[a>>2]=0;Wc(a,0);break a}g=v[d+4>>2];j=v[d+12>>2];h=v[d>>2];k=v[d+8>>2];i=fc(72);v[299999]=0;j=j-g|0;g=k-h|0;e=Z(4919,i|0,j|0,g|0,0)|0;l=v[299999];v[299999]=0;b:{c:{if((l|0)!=1){v[f>>2]=0;Wc(f,e);i=v[b+12>>2];d:{e:{b=v[f>>2];if(!v[b+20>>2]){v[299999]=0;R(4368,b|0);e=v[299999];v[299999]=0;if((e|0)==1){break e}}f:{if(!x[b+8>>1]){e=x[b+14>>1];b=x[b+12>>1];if(v[282398]<(e+b|0)){v[299999]=0;a=aa(4369,f+8|0,260231,271771,577,336631,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break e}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}d=P()|0;O()|0;qc(a);break d}b=b+v[282397]|0;break f}b=v[b+20>>2]+x[b+12>>1]|0}e=x[v[f>>2]+14>>1];v[299999]=0;la(5274,i|0,c|0,d|0,b|0,e|0,1,0);b=v[299999];v[299999]=0;if((b|0)==1){break e}g:{h:{i:{j:{k:{l:{if((j|0)<1){break l}if((g|0)>=1){i=g&-4;g=g&3;k=k+(h^-1)>>>0<3;h=0;while(1){b=v[f>>2];if(!v[b+20>>2]){v[299999]=0;R(4368,b|0);c=v[299999];v[299999]=0;if((c|0)==1){break g}}m:{if(x[b+8>>1]<=h>>>0){c=x[b+14>>1];b=x[b+12>>1];if(v[282398]<(c+b|0)){break k}b=b+v[282397]|0;break m}b=v[b+20>>2]+(x[b+12>>1]+B(x[b+14>>1],h)|0)|0}d=0;c=i;if(!k){while(1){e=b+d|0;t[e|0]=w[e|0]^128;e=b+(d|1)|0;t[e|0]=w[e|0]^128;e=b+(d|2)|0;t[e|0]=w[e|0]^128;e=b+(d|3)|0;t[e|0]=w[e|0]^128;d=d+4|0;c=c-4|0;if(c){continue}break}}c=g;if(c){while(1){e=b+d|0;t[e|0]=w[e|0]^128;d=d+1|0;c=c-1|0;if(c){continue}break}}h=h+1|0;if((j|0)!=(h|0)){continue}break}break l}d=v[f>>2];if(!v[d+20>>2]){c=0;b=0;while(1){if(!c){v[299999]=0;R(4368,d|0);c=v[299999];v[299999]=0;if((c|0)==1){break j}}if(v[282398]<(x[d+12>>1]+x[d+14>>1]|0)&x[d+8>>1]<=b>>>0){break k}b=b+1|0;if((j|0)==(b|0)){break l}d=v[f>>2];c=v[d+20>>2];continue}}b=0;c=v[282398];i=x[d+8>>1];while(1){if((c|0)<(x[d+12>>1]+x[d+14>>1]|0)&b>>>0>=i>>>0){break k}b=b+1|0;if((j|0)!=(b|0)){continue}break}}v[299999]=0;V(4910,v[f>>2],256);b=v[299999];v[299999]=0;if((b|0)!=1){break h}break e}v[299999]=0;a=aa(4369,f+8|0,260231,271771,577,336631,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break i}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}d=P()|0;O()|0;qc(a);break d}d=P()|0;O()|0;break d}d=P()|0;O()|0;break d}b=v[f>>2];if(!b){v[a>>2]=0;break a}v[299999]=0;v[b+4>>2]=v[b+4>>2]+1;b=v[299999];v[299999]=0;if((b|0)==1){break e}b=a;a=v[f>>2];v[b>>2]=a;v[f>>2]=0;if(!a){break a}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break a}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break a}}W(0)|0;O()|0;lc();L()}d=P()|0;O()|0;break d}d=P()|0;O()|0}ec(f);break c}d=P()|0;O()|0;dc(i)}T(d|0)}L()}Qb=f+32|0}function yd(a,b){var 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=t[b|0];if(!c){return a}a=af(a,c);a:{if(!a){break a}if(!w[b+1|0]){return a}if(!w[a+1|0]){break a}if(!w[b+2|0]){d=w[a+1|0];c=(d|0)!=0;b:{if(!d){break b}f=d|w[a|0]<<8;e=w[b+1|0]|w[b|0]<<8;if((f|0)==(e|0)){break b}b=a+1|0;while(1){a=b;d=w[a+1|0];c=(d|0)!=0;if(!d){break b}b=a+1|0;f=d|f<<8&65280;if((e|0)!=(f|0)){continue}break}}return c?a:0}if(!w[a+2|0]){break a}if(!w[b+3|0]){d=b;b=a+2|0;e=w[a+2|0];c=(e|0)!=0;c:{d:{if(!e){break d}f=w[a+1|0]<<16|w[a|0]<<24|e<<8;e=w[d+1|0]<<16|w[d|0]<<24|w[d+2|0]<<8;if((f|0)==(e|0)){break d}while(1){a=b+1|0;d=w[b+1|0];c=(d|0)!=0;if(!d){break c}b=a;f=(d|f)<<8;if((e|0)!=(f|0)){continue}break}break c}a=b}return c?a-2|0:0}if(!w[a+3|0]){break a}if(!w[b+4|0]){d=b;b=a+3|0;e=w[a+3|0];c=(e|0)!=0;e:{f:{if(!e){break f}f=e|(w[a+1|0]<<16|w[a|0]<<24|w[a+2|0]<<8);a=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);e=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if((f|0)==(e|0)){break f}while(1){a=b+1|0;d=w[b+1|0];c=(d|0)!=0;if(!d){break e}b=a;f=d|f<<8;if((e|0)!=(f|0)){continue}break}break e}a=b}return c?a-3|0:0}d=a;h=Qb-1056|0;Qb=h;a=h+1048|0;v[a>>2]=0;v[a+4>>2]=0;a=h+1040|0;v[a>>2]=0;v[a+4>>2]=0;v[h+1032>>2]=0;v[h+1036>>2]=0;v[h+1024>>2]=0;v[h+1028>>2]=0;j=b;g:{h:{i:{j:{c=w[b|0];k:{if(!c){i=-1;a=1;break k}while(1){if(!w[d+g|0]){break h}a=c&255;g=g+1|0;v[(a<<2)+h>>2]=g;b=(h+1024|0)+(a>>>3&28)|0;v[b>>2]=v[b>>2]|1<>>0>1){break j}}e=-1;b=1;break i}b=0;k=1;c=1;while(1){e=w[(c+i|0)+j|0];f=w[a+j|0];l:{if((e|0)==(f|0)){if((c|0)==(k|0)){b=b+k|0;c=1;break l}c=c+1|0;break l}if(e>>>0>f>>>0){k=a-i|0;b=a;c=1;break l}i=b;b=b+1|0;k=1;c=1}a=b+c|0;if(g>>>0>a>>>0){continue}break}b=1;e=-1;if(g>>>0<=1){a=k;break i}a=0;f=1;c=1;while(1){m=w[(c+e|0)+j|0];l=w[b+j|0];m:{if((m|0)==(l|0)){if((c|0)==(f|0)){a=a+f|0;c=1;break m}c=c+1|0;break m}if(l>>>0>m>>>0){f=b-e|0;a=b;c=1;break m}e=a;a=a+1|0;f=1;c=1}b=a+c|0;if(g>>>0>b>>>0){continue}break}a=k;b=f}c=a;a=e+1>>>0>i+1>>>0;f=a?b:c;l=a?e:i;m=l+1|0;n:{if(Pc(j,j+f|0,m)){a=(l^-1)+g|0;f=(a>>>0>>0?l:a)+1|0;n=g-f|0;k=0;break n}n=g-f|0;k=n}p=g-1|0;o=g|63;e=0;a=d;while(1){o:{if(d-a>>>0>=g>>>0){break o}b=fi(d,0,o);if(b){d=b;if(b-a>>>0>>0){break h}break o}d=d+o|0}b=w[a+p|0];c=g;p:{q:{if(!(v[(h+1024|0)+(b>>>3&28)>>2]>>>b&1)){break q}b=g-v[(b<<2)+h>>2]|0;if(b){c=k?e?b>>>0>>0?n:b:b:b;break q}r:{c=m;b=c>>>0>e>>>0?c:e;i=w[j+b|0];if(i){while(1){if(w[a+b|0]!=(i&255)){break r}b=b+1|0;i=w[j+b|0];if(i){continue}break}}while(1){if(c>>>0<=e>>>0){break g}c=c-1|0;if(w[j+c|0]==w[a+c|0]){continue}break}c=f;e=k;break p}c=b-l|0}e=0}a=a+c|0;continue}}a=0}Qb=h+1056|0;d=a}return d}function k3a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;f=v[a+16>>2];if(y[a+20>>2]>=f+16>>>0){h=v[a+32>>2];g=h;d=v[f>>2];c=w[d|0];a:{if((c|0)==30){d=sh(a,d,0,0);break a}e=d+1|0;b:{c:{d:{e:{switch(c-28|0){case 0:if(y[a+8>>2]<=d+2>>>0){break b}b=(w[d+2|0]|w[e|0]<<8)<<16>>16;break c;case 1:if(y[a+8>>2]<=d+4>>>0){break b}b=w[d+1|0]|w[d+2|0]<<8|(w[d+3|0]<<16|w[d+4|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break d;default:break e}}if(c>>>0<=246){b=c-139|0;break b}d=v[a+8>>2];if(c>>>0<=250){if(d>>>0<=e>>>0){break b}b=(w[e|0]|c<<8)-63124|0;break c}if(d>>>0<=e>>>0){break b}b=64148-(w[e|0]|c<<8)|0}d=2147483647;if((b|0)>32767){break a}}d=(b|0)<-32767?-2147483647:b<<16;break a}d=b<<16}v[g+84>>2]=((d>>31)+d|0)+32768&-65536;g=h;c=v[f+4>>2];e=w[c|0];f:{if((e|0)==30){c=sh(a,c,0,0);break f}d=c+1|0;g:{h:{i:{j:{switch(e-28|0){case 0:b=0;if(y[a+8>>2]<=c+2>>>0){break g}b=(w[c+2|0]|w[d|0]<<8)<<16>>16;break h;case 1:b=0;if(y[a+8>>2]<=c+4>>>0){break g}b=w[c+1|0]|w[c+2|0]<<8|(w[c+3|0]<<16|w[c+4|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break i;default:break j}}if(e>>>0<=246){b=e-139|0;break g}c=v[a+8>>2];if(e>>>0<=250){b=0;if(c>>>0<=d>>>0){break g}b=(w[d|0]|e<<8)-63124|0;break h}b=0;if(c>>>0<=d>>>0){break g}b=64148-(w[d|0]|e<<8)|0}c=2147483647;if((b|0)>32767){break f}}c=(b|0)<-32767?-2147483647:b<<16;break f}c=b<<16}v[g+88>>2]=((c>>31)+c|0)+32768&-65536;g=h;b=v[f+8>>2];e=w[b|0];k:{if((e|0)==30){c=sh(a,b,0,0);break k}d=b+1|0;l:{m:{n:{switch(e-28|0){case 0:c=0;if(y[a+8>>2]<=b+2>>>0){break k}b=(w[b+2|0]|w[d|0]<<8)<<16>>16;break l;case 1:c=0;if(y[a+8>>2]<=b+4>>>0){break k}b=w[b+1|0]|w[b+2|0]<<8|(w[b+3|0]<<16|w[b+4|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break m;default:break n}}c=(e<<16)-9109504|0;if(e>>>0<=246){break k}b=v[a+8>>2];if(e>>>0<=250){c=0;if(b>>>0<=d>>>0){break k}b=(w[d|0]|e<<8)-63124|0;break l}c=0;if(b>>>0<=d>>>0){break k}b=64148-(w[d|0]|e<<8)|0}c=2147483647;if((b|0)>32767){break k}}c=(b|0)<-32767?-2147483647:b<<16}v[g+92>>2]=((c>>31)+c|0)+32768&-65536;b=v[f+12>>2];c=w[b|0];o:{if((c|0)==30){d=sh(a,b,0,0);break o}e=b+1|0;p:{q:{r:{switch(c-28|0){case 0:d=0;if(y[a+8>>2]<=b+2>>>0){break o}a=(w[b+2|0]|w[e|0]<<8)<<16>>16;break p;case 1:d=0;if(y[a+8>>2]<=b+4>>>0){break o}a=w[b+1|0]|w[b+2|0]<<8|(w[b+3|0]<<16|w[b+4|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break q;default:break r}}d=(c<<16)-9109504|0;if(c>>>0<=246){break o}a=v[a+8>>2];if(c>>>0<=250){d=0;if(a>>>0<=e>>>0){break o}a=(w[e|0]|c<<8)-63124|0;break p}d=0;if(a>>>0<=e>>>0){break o}a=64148-(w[e|0]|c<<8)|0}d=2147483647;if((a|0)>32767){break o}}d=(a|0)<-32767?-2147483647:a<<16}v[h+96>>2]=((d>>31)+d|0)+32768&-65536;a=0}else{a=161}return a|0}function G_(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;i=Qb-16|0;Qb=i;o=v[a>>2];k=v[b+20>>2];a:{b:{if(k){a=85;if(Ub[k|0](b,c,0,0)|0){break a}j=v[b+4>>2];break b}a=85;j=v[b+4>>2];if(j>>>0>>0){break a}}v[b+8>>2]=c;v[i>>2]=0;c:{d:{if(c+1>>>0>=j>>>0){break d}e:{f:{a=v[b+20>>2];g:{if(a){if((Ub[a|0](b,c,i+6|0,2)|0)!=2){break d}j=v[b+8>>2];l=i+6|0;a=v[i>>2];break g}a=v[b>>2];if(!a){break f}l=a+c|0;j=c;a=0}k=w[l|0]|w[l+1|0]<<8;j=j+2|0;v[b+8>>2]=j;if(a){break a}a=8;p=(k<<8|k>>>8)<<16>>16;if((p|0)>4078){break a}if((p|0)>=0){break e}a=1;break a}j=c+2|0;v[b+8>>2]=j}while(1){v[i>>2]=0;if(y[b+4>>2]<=j+3>>>0){break d}h:{i:{a=v[b+20>>2];if(a){if((Ub[a|0](b,j,i+8|0,4)|0)!=4){break d}j=v[b+8>>2];a=v[i>>2];l=i+8|0;break i}a=v[b>>2];if(a){l=a+j|0;a=0;break i}l=j+4|0;v[b+8>>2]=l;n=0;break h}k=w[l|0]|w[l+1|0]<<8|(w[l+2|0]<<16|w[l+3|0]<<24);l=j+4|0;v[b+8>>2]=l;if(a){break a}n=k<<8&16711680|k<<24|(k>>>8&65280|k>>>24)}v[i>>2]=0;if(y[b+4>>2]<=j+5>>>0){break d}j:{k:{a=v[b+20>>2];if(a){if((Ub[a|0](b,l,i+12|0,2)|0)!=2){break d}l=v[b+8>>2];a=v[i>>2];j=i+12|0;break k}a=v[b>>2];if(a){j=a+l|0;a=0;break k}j=l+2|0;v[b+8>>2]=j;m=0;break j}k=w[j|0]|w[j+1|0]<<8;j=l+2|0;v[b+8>>2]=j;if(a){break a}m=k<<8|k>>>8}v[i>>2]=0;if(y[b+4>>2]<=l+3>>>0){break c}l:{m:{a=v[b+20>>2];if(a){if((Ub[a|0](b,j,i+14|0,2)|0)!=2){break c}j=v[b+8>>2];a=v[i>>2];l=i+14|0;break m}a=v[b>>2];if(a){l=a+j|0;a=0;break m}j=j+2|0;v[b+8>>2]=j;k=0;break l}k=w[l|0]|w[l+1|0]<<8;j=j+2|0;v[b+8>>2]=j;if(a){break a}k=(k<<8|k>>>8)<<16>>16}if((e|0)!=(n|0)){a=1;k=(p|0)==(q|0);q=q+1|0;if(k){break a}continue}break}v[h>>2]=(m<<16>>16)+1;a=8;if((m&65535)>>>0>2726){break a}e=c+k|0;c=v[b+20>>2];n:{if(c){a=85;if(!(Ub[c|0](b,e,0,0)|0)){break n}break a}a=85;if(e>>>0>y[b+4>>2]){break a}}v[b+8>>2]=e;c=0;v[i>>2]=0;m=Cc(o,8,0,v[h>>2],0,i);a=v[i>>2];if(a){break a}a=v[h>>2];o:{if((a|0)>=1){while(1){e=m+(c<<3)|0;r=e,s=Ed(b,i),u[r>>1]=s;if(v[i>>2]){break o}k=v[b+8>>2]+2|0;p:{a=v[b+20>>2];q:{if(a){if(Ub[a|0](b,k,0,0)|0){break q}break p}if(k>>>0<=y[b+4>>2]){break p}}v[i>>2]=85;break o}v[b+8>>2]=k;v[i>>2]=0;k=kf(b,i);if(v[i>>2]){break o}n=v[b+8>>2]+4|0;r:{a=v[b+20>>2];s:{if(a){if(Ub[a|0](b,n,0,0)|0){break s}break r}if(n>>>0<=y[b+4>>2]){break r}}v[i>>2]=85;break o}v[b+8>>2]=n;v[i>>2]=0;if((k|0)<=-1){v[i>>2]=8;break o}v[e+4>>2]=k&16777215;a=v[h>>2];c=c+1|0;if((a|0)>(c|0)){continue}break}}b=0;c=o;if(f){Pk(m,a,8,1677);a=v[h>>2]}c=Cc(c,4,0,a,0,i);a=v[i>>2];if(!a){if(v[h>>2]>=1){while(1){v[c+(b<<2)>>2]=v[(m+(b<<3)|0)+4>>2]+d;b=b+1|0;if((b|0)>2]){continue}break}}v[g>>2]=c;v[i>>2]=0;a=0}if(!m){break a}}Ub[v[o+8>>2]](o,m);a=v[i>>2];break a}a=85;v[i>>2]=85;break a}a=85}Qb=i+16|0;return a}function O0a(a){a=a|0;var 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;m=v[a+4>>2];c=v[m+68>>2];if(c){while(1){if(!v[c>>2]){e=v[c+8>>2];b=B(e,v[c+4>>2])+b|0;d=B(e,v[c+12>>2])+d|0}c=v[c+44>>2];if(c){continue}break}}c=v[m+72>>2];if(c){while(1){if(!v[c>>2]){e=v[c+8>>2];b=(B(e,v[c+4>>2])<<7)+b|0;d=(B(e,v[c+12>>2])<<7)+d|0}c=v[c+44>>2];if(c){continue}break}}a:{if((d|0)<1){break a}n=1e9;e=v[m+68>>2];if(e){while(1){if(!v[e>>2]){g=v[e+4>>2];b=v[e+12>>2];b:{if((((g-1>>>0)/(b>>>0)|0)+1|0)<=(n|0)){v[e+16>>2]=g;break b}v[e+16>>2]=B(b,n);b=v[a>>2];v[b+20>>2]=51;Ub[v[b>>2]](a);v[e+40>>2]=1;g=v[e+16>>2]}i=v[e+8>>2];b=999999984/(i>>>0)|0;h=v[a+4>>2];if(i>>>0>=999999985){c=v[a>>2];v[c+20>>2]=72;Ub[v[c>>2]](a)}k=h;h=(b|0)<(g|0)?b:g;v[k+80>>2]=h;c=0;k=nq(a,1,g<<2);if(g){while(1){d=v[a+4>>2];b=g-c|0;h=b>>>0>h>>>0?h:b;b=B(i,h);if(b>>>0>=999999985){f=v[a>>2];v[f+20>>2]=56;v[f+24>>2]=3;Ub[v[v[a>>2]>>2]](a)}f=b&7;f=b+(f?8-f|0:0)|0;j=f+16|0;b=jc(j);if(!b){l=v[a>>2];v[l+20>>2]=56;v[l+24>>2]=4;Ub[v[v[a>>2]>>2]](a)}v[d+76>>2]=j+v[d+76>>2];d=d- -64|0;j=v[d>>2];v[b+8>>2]=0;v[b+4>>2]=f;v[b>>2]=j;v[d>>2]=b;c:{if(!h){break c}d=b+16|0;b=h;f=b&3;if(f){while(1){v[k+(c<<2)>>2]=d;b=b-1|0;d=d+i|0;c=c+1|0;f=f-1|0;if(f){continue}break}}if(h-1>>>0<3){break c}while(1){f=k+(c<<2)|0;v[f>>2]=d;d=d+i|0;j=d+i|0;l=j+i|0;v[f+12>>2]=l;v[f+8>>2]=j;v[f+4>>2]=d;c=c+4|0;d=i+l|0;b=b-4|0;if(b){continue}break}}if(c>>>0>>0){continue}break}}v[e>>2]=k;b=v[m+80>>2];v[e+36>>2]=0;v[e+24>>2]=0;v[e+28>>2]=0;v[e+20>>2]=b}e=v[e+44>>2];if(e){continue}break}}g=v[m+72>>2];if(!g){break a}while(1){if(!v[g>>2]){h=v[g+4>>2];b=v[g+12>>2];d:{if((((h-1>>>0)/(b>>>0)|0)+1|0)<=(n|0)){v[g+16>>2]=h;break d}v[g+16>>2]=B(b,n);b=v[a>>2];v[b+20>>2]=51;Ub[v[b>>2]](a);v[g+40>>2]=1;h=v[g+16>>2]}i=v[g+8>>2]<<7;b=999999984/(i>>>0)|0;e=v[a+4>>2];if(i>>>0>=999999985){c=v[a>>2];v[c+20>>2]=72;Ub[v[c>>2]](a)}k=e;e=(b|0)<(h|0)?b:h;v[k+80>>2]=e;c=0;k=nq(a,1,h<<2);if(h){while(1){d=v[a+4>>2];b=h-c|0;e=b>>>0>e>>>0?e:b;f=B(i,e);if(f>>>0>=999999985){b=v[a>>2];v[b+20>>2]=56;v[b+24>>2]=3;Ub[v[v[a>>2]>>2]](a)}j=f|16;b=jc(j);if(!b){l=v[a>>2];v[l+20>>2]=56;v[l+24>>2]=4;Ub[v[v[a>>2]>>2]](a)}v[d+76>>2]=j+v[d+76>>2];d=d- -64|0;j=v[d>>2];v[b+8>>2]=0;v[b+4>>2]=f;v[b>>2]=j;v[d>>2]=b;e:{if(!e){break e}d=b+16|0;b=e;f=b&3;if(f){while(1){v[k+(c<<2)>>2]=d;b=b-1|0;c=c+1|0;d=d+i|0;f=f-1|0;if(f){continue}break}}if(e-1>>>0<3){break e}while(1){f=k+(c<<2)|0;v[f>>2]=d;d=d+i|0;j=d+i|0;v[f+8>>2]=j;v[f+4>>2]=d;d=i+j|0;v[f+12>>2]=d;d=d+i|0;c=c+4|0;b=b-4|0;if(b){continue}break}}if(c>>>0>>0){continue}break}}v[g>>2]=k;b=v[m+80>>2];v[g+36>>2]=0;v[g+24>>2]=0;v[g+28>>2]=0;v[g+20>>2]=b}g=v[g+44>>2];if(g){continue}break}}}function rMa(a,b){a=a|0;b=b|0;var 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;g=Qb-16|0;Qb=g;c=v[a+8>>2];v[g+8>>2]=c;l=v[a+12>>2];i=v[a+16>>2];a:{b:{c:{m=v[a+4>>2];d=v[m+8>>2];if(v[d+60>>2]){k=c;break c}if(!(w[m+36|0]!=1|c>>>0>=l>>>0|y[a+20>>2]<=i>>>0)){t[m+36|0]=0;h=w[m+37|0];break b}f=0;break a}f=1;break a}f=2}d:{while(1){e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{switch(f|0){case 0:q:{r:{s:{if(c>>>0>>0){if(y[a+20>>2]<=i>>>0){break h}k=c;while(1){c=k+1|0;t:{u:{v:{h=w[k|0];switch(h-10|0){case 0:case 3:break k;case 17:break q;case 5:break u;case 4:break v;default:break o}}if(!w[d+49|0]){break r}t[d+68|0]=1;t[d+52|0]=1;break t}t[d+52|0]=0;if(w[d+68|0]){break s}}k=c;if((c|0)!=(l|0)){continue}break}c=l}v[g+8>>2]=c;break g}t[d+68|0]=0;v[b>>2]=18;b=v[a+4>>2];t[b+37|0]=15;v[b+256>>2]=2;t[v[a+4>>2]+36|0]=1;break g}v[g+8>>2]=c;t[d+68|0]=0;f=65535;h=14;break i}v[g+8>>2]=k;m=v[a+4>>2];f=1;continue;case 1:break p;default:break n}}e=w[m+36|0];oz(m,g+8|0,l,3,b);c=v[b>>2];w:{if(!v[d+60>>2]){if((c|0)>0){break e}if(!w[d+68|0]){break w}v[b>>2]=18;b=v[a+4>>2];v[b+256>>2]=2;t[b+36|0]=e+(v[g+8>>2]-k|0);break e}if((c|0)>0){break e}}c=v[g+8>>2];break f}e=h<<24>>24;v[g+8>>2]=c;t[d+68|0]=0;if(!w[d+52|0]){break l}if(c>>>0>=l>>>0){break m}f=2;continue}j=w[c|0];e=j-33|0;x:{if(!((h+223&254)>>>0>93|(e&255)>>>0>93)){c=c+1|0;v[g+8>>2]=c;p=g;e=t[(t[d+52|0]+d|0)+48|0];y:{if((e|0)>=32){n=v[d+12>>2];t[g+15|0]=j;t[g+13|0]=e+96;o=3;f=h;break y}o=2;n=v[(e<<2)+d>>2];t[g+13|0]=h;f=j}t[p+14|0]=f;h=j|h<<8;f=em(n,g+13|0,o);break x}f=65535;if((e&255)>>>0<94|(1<>>0<=31:0)){break x}c=c+1|0;v[g+8>>2]=c;h=j|h<<8|65536}if(t[d+52|0]<2){break i}t[d+52|0]=w[d+53|0];break i}t[v[a+4>>2]+37|0]=e;t[v[a+4>>2]+36|0]=1;break g}if((e|0)>=0){break j}f=65535;break i}v[g+8>>2]=c;t[d+52|0]=0;t[d+53|0]=0;t[d+48|0]=0;t[d+49|0]=0;t[d+50|0]=0;t[d+51|0]=0;t[d+68|0]=0}f=h}if(f>>>0<=65533){e=v[a+24>>2];if(e){v[e+(i-v[a+16>>2]<<1)>>2]=((h>>>0<256?-1:-2)+c|0)-v[a+8>>2]}u[i>>1]=f;i=i+2|0;break f}if(f>>>0>=65536){u[i>>1]=(f+67043328>>>10|0)-10240;z:{A:{B:{j=v[a+24>>2];C:{if(!j){e=i+2|0;if(e>>>0>2]){break B}break C}n=v[a+16>>2];o=((h>>>0<256?-1:-2)+c|0)-v[a+8>>2]|0;v[(i-n<<1)+j>>2]=o;e=i+2|0;if(e>>>0>2]){break A}}i=e;e=v[a+4>>2];j=t[e+65|0];t[e+65|0]=j+1;u[(e+(j<<1)|0)+116>>1]=f&1023|56320;break f}u[e>>1]=f&1023|56320;break z}u[e>>1]=f&1023|56320;v[(e-n<<1)+j>>2]=o}i=i+4|0;break f}k=v[a+4>>2];p=k;if(h>>>0>=256){t[k+38|0]=h;h=h>>>8|0;l=2}else{l=1}t[p+36|0]=l;t[k+37|0]=h;v[b>>2]=(f|0)==65534?10:12;break g}v[g+8>>2]=c;v[b>>2]=15}v[a+8>>2]=c;v[a+16>>2]=i;break d}f=0;continue}break}v[a+16>>2]=i;v[a+8>>2]=v[g+8>>2];t[d+68|0]=0}Qb=g+16|0}function lK(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=Qb-112|0;Qb=e;v[e+8>>2]=0;m=-1;i=dp(a,1918128707);a:{if(!i){break a}b:{c:{d:{e:{f:{k=dp(a,1733579331);if(k){j=dp(a,1649693251);if(!j){break f}h=dp(a,1918392666);if(!h){break f}f=dp(a,1733843290);if(!f){break d}a=dp(a,1649957210);if(!a){break d}if(v[i+4>>2]!=1668641398|v[h+4>>2]!=1482250784|(v[k+4>>2]!=1668641398|v[f+4>>2]!=1482250784)){break c}if(v[j+4>>2]!=1668641398|v[a+4>>2]!=1482250784){break c}d=jc(152);if(!d){break c}v[d+4>>2]=1028120;v[d+8>>2]=3;v[d+12>>2]=3;ic(d+16|0,0,136);v[d>>2]=1;l=ti();g=0;if(!l){break b}if(zl(l,-1,d)){break e}v[d+24>>2]=1;v[d+28>>2]=1;v[d+16>>2]=0;g:{if(!b){v[d+20>>2]=0;A[d+56>>3]=+v[h+12>>2]*152587890625e-16;A[d+88>>3]=+v[h+16>>2]*152587890625e-16;A[d+120>>3]=+v[h+20>>2]*152587890625e-16;A[d+64>>3]=+v[f+12>>2]*152587890625e-16;A[d+96>>3]=+v[f+16>>2]*152587890625e-16;A[d+128>>3]=+v[f+20>>2]*152587890625e-16;A[d+72>>3]=+v[a+12>>2]*152587890625e-16;A[d+104>>3]=+v[a+16>>2]*152587890625e-16;b=v[a+20>>2];v[d+144>>2]=0;v[d+148>>2]=0;v[d+112>>2]=0;v[d+116>>2]=0;v[d+80>>2]=0;v[d+84>>2]=0;A[d+136>>3]=+(b|0)*152587890625e-16;if(yn(d+32|0,i+12|0)){break e}if(yn(d+40|0,k+12|0)){break e}if(!yn(d+48|0,j+12|0)){break g}break e}v[d+20>>2]=1;A[e+16>>3]=+v[h+12>>2]*152587890625e-16;A[e+48>>3]=+v[h+16>>2]*152587890625e-16;A[e+80>>3]=+v[h+20>>2]*152587890625e-16;A[e+24>>3]=+v[f+12>>2]*152587890625e-16;A[e+56>>3]=+v[f+16>>2]*152587890625e-16;A[e+88>>3]=+v[f+20>>2]*152587890625e-16;A[e+32>>3]=+v[a+12>>2]*152587890625e-16;A[e- -64>>3]=+v[a+16>>2]*152587890625e-16;b=v[a+20>>2];v[e+104>>2]=0;v[e+108>>2]=0;v[e+72>>2]=0;v[e+76>>2]=0;A[e+96>>3]=+(b|0)*152587890625e-16;v[e+40>>2]=0;v[e+44>>2]=0;if(nK(d+56|0,e+16|0)){break e}v[e+8>>2]=0;v[e+12>>2]=0;if(yn(e+8|0,i+12|0)){break e}if(aw(d+32|0,e+8|0,v[e+12>>2])){break e}b=v[e+8>>2];if(b){dc(b)}v[e+8>>2]=0;v[e+12>>2]=0;if(yn(e+8|0,k+12|0)){break e}if(aw(d+40|0,e+8|0,v[e+12>>2])){break e}b=v[e+8>>2];if(b){dc(b)}v[e+8>>2]=0;v[e+12>>2]=0;if(yn(e+8|0,j+12|0)){break e}if(aw(d+48|0,e+8|0,v[e+12>>2])){break e}b=v[e+8>>2];if(b){dc(b);v[e+8>>2]=0}v[e+12>>2]=0}ci(i);ci(h);ci(k);ci(f);ci(j);ci(a);jK(d);v[c>>2]=l;m=0;break a}ci(i);break a}ci(i);ci(k);if(!j){break a}ci(j);break a}g=l;break b}a=0}d=0;g=0}ci(i);ci(h);ci(k);if(f){ci(f)}ci(j);if(a){ci(a)}if(g){a=v[g>>2];if((a|0)>=1){while(1){c=v[g+8>>2];a=a-1|0;f=a<<2;b=v[c+f>>2];l=v[b>>2];v[b>>2]=l-1;if((l|0)<=1){Ub[v[v[b+4>>2]>>2]](b);dc(b);c=v[g+8>>2];a=v[g>>2]-1|0}v[c+f>>2]=0;v[g>>2]=a;if((a|0)>0){continue}break}}a=v[g+8>>2];if(a){dc(a)}dc(g)}if(!d){break a}a=v[d>>2];v[d>>2]=a-1;if((a|0)>1){break a}Ub[v[v[d+4>>2]>>2]](d);dc(d)}Qb=e+112|0;return m}function _z(a,b,c,d,e,f){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,w=0,x=0,y=0;p=e>>8;a:{if((d|0)==(f|0)){b:{if(v[a+188>>2]){break b}f=v[a+180>>2];if(!(v[a+184>>2]?1:f)){break b}e=v[a+156>>2];c:{j=v[a+192>>2]+(v[a+160>>2]-v[a+172>>2]<<2)|0;c=v[j>>2];d:{if(!c){c=0;break d}g=v[c>>2];if((e|0)<(g|0)){break d}e:{while(1){d=c;if((e|0)==(g|0)){break c}c=v[d+12>>2];if(c){g=v[c>>2];if((e|0)<(g|0)){break e}continue}break}c=0}j=d+12|0}d=v[a+204>>2];if((d|0)>=v[a+200>>2]){break a}v[a+204>>2]=d+1;d=v[a+196>>2]+(d<<4)|0;v[d+8>>2]=f;v[d>>2]=e;e=v[a+184>>2];v[d+12>>2]=c;v[d+4>>2]=e;v[j>>2]=d;break b}v[d+8>>2]=f+v[d+8>>2];v[d+4>>2]=v[d+4>>2]+v[a+184>>2]}v[a+180>>2]=0;v[a+184>>2]=0;v[a+160>>2]=b;c=v[a+164>>2];v[a+156>>2]=(c|0)>(p|0)?c-1|0:p;c=1;v[a+188>>2]=v[a+176>>2]<=(b|0)|v[a+172>>2]>(b|0)?c:v[a+168>>2]<=(p|0);return}g=c&255;f:{y=a;q=c>>8;g:{if((q|0)==(p|0)){i=v[a+180>>2];c=v[a+184>>2];break g}j=f-d|0;t=1;k=a;l=e-c|0;h:{if((l|0)>=1){u=256;c=256-g|0;break h}l=0-l|0;t=-1;c=g}c=B(c,j);h=(c|0)/(l|0)|0;r=c-B(h,l)|0;s=r>>31;m=h+s|0;i=m+v[a+184>>2]|0;v[k+184>>2]=i;k=v[a+180>>2]+B(m,g|u)|0;v[a+180>>2]=k;i:{if(v[a+188>>2]|!(i|k)){break i}h=v[a+156>>2];j:{o=v[a+192>>2]+(v[a+160>>2]-v[a+172>>2]<<2)|0;c=v[o>>2];k:{if(!c){c=0;break k}n=v[c>>2];if((h|0)<(n|0)){break k}l:{while(1){g=c;if((h|0)==(n|0)){break j}c=v[g+12>>2];if(c){n=v[c>>2];if((h|0)<(n|0)){break l}continue}break}c=0}o=g+12|0}g=v[a+204>>2];if((g|0)>=v[a+200>>2]){break a}v[a+204>>2]=g+1;g=v[a+196>>2]+(g<<4)|0;v[g+8>>2]=k;v[g>>2]=h;v[g+12>>2]=c;v[g+4>>2]=i;v[o>>2]=g;break i}v[g+8>>2]=k+v[g+8>>2];v[g+4>>2]=i+v[g+4>>2]}v[a+160>>2]=b;o=v[a+164>>2];w=o-1|0;i=q+t|0;g=(i|0)<(o|0)?w:i;v[a+156>>2]=g;c=1;d=d+m|0;x=v[a+176>>2]<=(b|0);c=x|v[a+172>>2]>(b|0)?c:v[a+168>>2]<=(i|0);v[a+188>>2]=c;if((i|0)!=(p|0)){h=r+(l&s)|0;j=j<<8;k=(j|0)/(l|0)|0;j=j-B(k,l)|0;m=j>>31;r=(m&l)+j|0;s=k+m|0;while(1){n=h+r|0;k=s+((n|0)>=(l|0))|0;m:{if(!k|c){break m}m=k<<8;n:{q=v[a+192>>2]+(b-v[a+172>>2]<<2)|0;c=v[q>>2];o:{if(!c){c=0;break o}j=v[c>>2];if((j|0)>(g|0)){break o}p:{while(1){h=c;if((g|0)==(j|0)){break n}c=v[h+12>>2];if(c){j=v[c>>2];if((j|0)>(g|0)){break p}continue}break}c=0}q=h+12|0}h=v[a+204>>2];if((h|0)>=v[a+200>>2]){break f}v[a+204>>2]=h+1;h=v[a+196>>2]+(h<<4)|0;v[h+8>>2]=m;v[h>>2]=g;v[h+12>>2]=c;v[h+4>>2]=k;v[q>>2]=h;break m}v[h+8>>2]=m+v[h+8>>2];v[h+4>>2]=k+v[h+4>>2]}v[a+160>>2]=b;i=i+t|0;g=(i|0)<(o|0)?w:i;v[a+156>>2]=g;c=1;h=n-((l|0)>(n|0)?0:l)|0;d=d+k|0;c=v[a+172>>2]>(b|0)|x?c:v[a+168>>2]<=(i|0);v[a+188>>2]=c;if((i|0)!=(p|0)){continue}break}}g=256-u|0;i=0;c=0}b=f-d|0;v[y+184>>2]=c+b;v[a+180>>2]=B(b,(e&255)+g|0)+i;return}v[a+184>>2]=k;v[a+180>>2]=m}sd(a,1);L()}function iJa(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;h=Qb-48|0;Qb=h;a:{if(!a){break a}d=v[a+52>>2];if(!d){break a}g=v[d+16>>2];if(!g){b=Zy(a,b,c);if(b){d=v[a+52>>2];v[d+16>>2]=b;v[d+12>>2]=b;v[b+20>>2]=d;v[b+32>>2]=v[d+32>>2];v[a+264>>2]=c+1;v[a+260>>2]=c;break a}v[a+84>>2]=2;c=v[a>>2];b=0;b:{if(!c){break b}b=0;if(v[c+108>>2]!=-554844497){break b}b=v[c+124>>2]}c=v[a+108>>2];d=v[a+112>>2];v[h+4>>2]=0;v[h>>2]=347702;oc(b,d,c,a,0,1,2,2,347702,0,0,0,235144,h);v[a+212>>2]=1;v[a+172>>2]=-1;v[a+84>>2]=2;break a}c:{d:{if(!(v[g+4>>2]!=3|v[g+8>>2]!=883676)){d=g+44|0;e=v[g+40>>2];f=v[a+264>>2];if(f){e:{f:{if((d|0)==(e|0)){d=0;g:{if(!e){break g}d=e;while(1){f=d;d=d+1|0;if(w[f|0]){continue}break}d=0;f=f-e|0;if((f|0)<0){break g}i=Ub[v[259707]](f+1|0)|0;if(!i){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);v[g+44>>2]=0;break f}d=gc(i,e,f);t[f+d|0]=0}v[g+44>>2]=0;break f}if((f|0)!=(v[a+260>>2]+1|0)){d=e;break e}h:{if(!e){break h}f=v[a+296>>2];while(1){if(!f){break h}d=v[f+16>>2];if(d){while(1){if(e>>>0<=y[d+4>>2]&e>>>0>=d+20>>>0){break h}d=v[d>>2];if(d){continue}break}}f=v[f+20>>2];if(f){continue}break}d=e;break e}d=we(e)}v[g+40>>2]=d}if(!d){v[a+84>>2]=2;c=v[a>>2];b=0;i:{if(!c){break i}b=0;if(v[c+108>>2]!=-554844497){break i}b=v[c+124>>2]}c=v[a+108>>2];d=v[a+112>>2];v[h+20>>2]=0;v[h+16>>2]=347702;oc(b,d,c,a,0,1,2,2,347702,0,0,0,316570,h+16|0);v[a+212>>2]=1;v[a+172>>2]=-1;v[a+84>>2]=2;break a}e=v[a+260>>2];f=e+c|0;if(!(w[a+362|0]&8|f>>>0<10000001)){Jj(a,283819);break a}j:{if((c^-1)>>>0>=e>>>0){i=v[a+264>>2];j=i+c|0;if((j|0)>-1){break j}}v[a+84>>2]=2;c=v[a>>2];b=0;k:{if(!c){break k}b=0;if(v[c+108>>2]!=-554844497){break k}b=v[c+124>>2]}c=v[a+108>>2];d=v[a+112>>2];v[h+36>>2]=0;v[h+32>>2]=347702;oc(b,d,c,a,0,1,2,2,347702,0,0,0,289539,h+32|0);v[a+212>>2]=1;v[a+172>>2]=-1;v[a+84>>2]=2;break a}if((f|0)>=(i|0)){e=j<<1;d=Ub[v[259709]](d,e)|0;if(!d){Jj(a,235144);break a}v[a+264>>2]=e;v[g+40>>2]=d;e=v[a+260>>2]}gc(d+e|0,b,c);b=a;a=v[a+260>>2]+c|0;v[b+260>>2]=a;t[a+v[g+40>>2]|0]=0;break a}if((d|0)==(e|0)){break d}d=v[g+32>>2];l:{if(!d){break l}f=v[d+80>>2];if(!f){break l}if(!e){break d}while(1){d=v[f+16>>2];if(d){while(1){if(e>>>0<=y[d+4>>2]&e>>>0>=d+20>>>0){break d}d=v[d>>2];if(d){continue}break}}f=v[f+20>>2];if(f){continue}break}}b=VF(e,b,c);break c}b=Zy(a,b,c);if(!b){break a}$f(v[a+52>>2],b);if(!v[v[a+52>>2]+12>>2]){break a}v[a+260>>2]=c;v[a+264>>2]=c+1;break a}b=UF(e,b,c)}v[g+44>>2]=0;v[g+40>>2]=b;if(!b){Jj(a,235144)}if(!v[v[a+52>>2]+12>>2]){break a}c=v[g+40>>2];m:{if(!c){b=0;break m}b=0;if(!w[c|0]){break m}while(1){b=b+1|0;d=w[c+1|0];c=c+1|0;if(d){continue}break}}v[a+260>>2]=b;v[a+264>>2]=b+1}Qb=h+48|0}function pQa(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,n=0,o=0,p=0,q=0,r=0,s=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;F=Qb-256|0;Qb=F;z=v[a+332>>2];a=v[b+84>>2];j=8;b=F;while(1){a:{b:{g=x[c+32>>1];f=u[c+16>>1];if((g|f)&65535){break b}g=0;if(x[c+48>>1]|x[c+64>>1]|(x[c+80>>1]|x[c+96>>1])){break b}if(x[c+112>>1]){break b}g=B(u[c>>1],v[a>>2])<<2;v[b+192>>2]=g;v[b+160>>2]=g;v[b+128>>2]=g;v[b+96>>2]=g;v[b+64>>2]=g;v[b+32>>2]=g;v[b>>2]=g;f=56;break a}k=B(v[a+192>>2],u[c+96>>1]);q=B(v[a+64>>2],g<<16>>16);g=B(k+q|0,4433);f=B(f,v[a+32>>2]);r=B(v[a+224>>2],u[c+112>>1]);l=B(f+r|0,-7373);n=B(v[a+160>>2],u[c+80>>1]);h=n+f|0;m=B(v[a+96>>2],u[c+48>>1]);s=m+r|0;o=B(h+s|0,9633);y=B(u[c+64>>1],v[a+128>>2])<<13;p=B(u[c>>1],v[a>>2])<<13|1024;C=y+p|0;q=g+B(q,6270)|0;D=C+q|0;i=l+B(f,12299)|0;f=o+B(h,-3196)|0;h=i+f|0;v[b+224>>2]=D-h>>11;v[b>>2]=h+D>>11;h=p-y|0;g=g+B(k,-15137)|0;k=h+g|0;o=o+B(s,-16069)|0;i=B(m,25172);m=B(m+n|0,-20995);s=o+(i+m|0)|0;v[b+192>>2]=k-s>>11;v[b+32>>2]=k+s>>11;g=h-g|0;f=f+(m+B(n,16819)|0)|0;v[b+160>>2]=g-f>>11;v[b+64>>2]=g+f>>11;g=o+(l+B(r,2446)|0)|0;f=C-q|0;v[b+96>>2]=g+f>>11;g=f-g>>11;f=32}v[(f<<2)+b>>2]=g;c=c+2|0;a=a+4|0;b=b+4|0;i=j>>>0>1;j=j-1|0;if(i){continue}break}b=z+128|0;r=0;a=F;while(1){i=v[a+12>>2];g=v[a+4>>2];n=B(i+g|0,11086);m=v[a+8>>2];o=v[a+24>>2];k=m-o|0;z=B(k,11363);c=v[(r<<2)+d>>2]+e|0;f=v[a+28>>2];s=B(f+g|0,8956);j=v[a+20>>2];q=j+g|0;h=B(q,10217);y=s+(h+(n+B(g,-18730)|0)|0)|0;p=v[a+16>>2];C=B(p,10703);l=(v[a>>2]<<13)+131072|0;D=C+l|0;H=z+B(o,20995)|0;E=D+H|0;t[c|0]=w[b+(y+E>>>18&1023)|0];t[c+15|0]=w[b+(E-y>>>18&1023)|0];k=B(k,2260);y=k+B(m,7373)|0;p=B(p,4433);E=p+l|0;A=y+E|0;I=B(j+i|0,1136);G=I+(n+B(i,589)|0)|0;n=f+i|0;J=B(n,-5461);G=G+J|0;t[c+1|0]=w[b+(A+G>>>18&1023)|0];t[c+14|0]=w[b+(A-G>>>18&1023)|0];A=h+(B(j,-9222)+I|0)|0;h=B(f+j|0,-11086);A=A+h|0;m=z+B(m,-4926)|0;z=l-p|0;p=m+z|0;t[c+2|0]=w[b+(A+p>>>18&1023)|0];t[c+13|0]=w[b+(p-A>>>18&1023)|0];h=h+(s+(J+B(f,8728)|0)|0)|0;o=k+B(o,-4176)|0;l=l-C|0;k=o+l|0;t[c+3|0]=w[b+(h+k>>>18&1023)|0];t[c+12|0]=w[b+(k-h>>>18&1023)|0];k=B(g-f|0,7350);n=B(n,-10217);h=k+(n+B(f,25733)|0)|0;f=B(f-j|0,3363);h=h+f|0;l=l-o|0;t[c+4|0]=w[b+(h+l>>>18&1023)|0];t[c+11|0]=w[b+(l-h>>>18&1023)|0];l=B(q,5461);h=B(j,-6278);j=B(j-i|0,11529);f=f+(l+(h+j|0)|0)|0;m=z-m|0;t[c+5|0]=w[b+(f+m>>>18&1023)|0];t[c+10|0]=w[b+(m-f>>>18&1023)|0];f=B(i,16154);i=B(g-i|0,3363);j=n+(j+(f+i|0)|0)|0;f=E-y|0;t[c+6|0]=w[b+(j+f>>>18&1023)|0];t[c+9|0]=w[b+(f-j>>>18&1023)|0];i=k+(l+(i+B(g,-15038)|0)|0)|0;g=D-H|0;t[c+7|0]=w[b+(i+g>>>18&1023)|0];t[c+8|0]=w[b+(g-i>>>18&1023)|0];a=a+32|0;r=r+1|0;if((r|0)!=8){continue}break}Qb=F+256|0}function s8(a,b,c,d){a=a|0;b=b|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=Qb-16|0;Qb=l;a:{b:{c:{d:{e:{f:{if(!d){k=v[a+584>>2];if(!k){break f}h=(c|0)/v[k+8>>2]|0;if(v[k>>2]==2){c=b}else{if(v[k+16>>2]<(h|0)){break e}c=v[k+12>>2]}d=0;j=c;eg(c,0,h<<2);e=v[a+608>>2];c=v[a+604>>2];g:{h:{if((h|0)>=1){if((e|0)<=0){break b}f=e;while(1){g=t[c|0];e=g&255;i:{if((g|0)>=0){c=c+1|0;f=f-1|0;if(f){while(1){if(!e|(d|0)>=(h|0)){break i}g=(d<<2)+j|0;v[g>>2]=v[g>>2]|w[c|0]<<24;c=c+1|0;d=d+1|0;e=e-1|0;f=f-1|0;if(f){continue}break}}e=0;f=0;if((d|0)!=(h|0)){break b}break g}f=f-2|0;g=c+2|0;e=e-126|0;j:{if(!e|(d|0)>=(h|0)){break j}c=w[c+1|0]<<24;while(1){i=(d<<2)+j|0;v[i>>2]=c|v[i>>2];d=d+1|0;e=e-1|0;if(!e){break j}if((d|0)<(h|0)){continue}break}}c=g}if((d|0)<(h|0)&(f|0)>0){continue}break}if((d|0)==(h|0)){break h}break c}if(h){break b}break d}e=0;if((f|0)<1){break g}while(1){g=t[c|0];d=g&255;k:{if((g|0)>=0){c=c+1|0;f=f-1|0;if(!f){f=0;break g}while(1){if(!d|(e|0)>=(h|0)){break k}g=(e<<2)+j|0;v[g>>2]=v[g>>2]|w[c|0]<<16;c=c+1|0;e=e+1|0;d=d-1|0;f=f-1|0;if(f){continue}break}f=0;break g}f=f-2|0;g=c+2|0;d=d-126|0;l:{if(!d|(e|0)>=(h|0)){break l}c=w[c+1|0]<<16;while(1){i=(e<<2)+j|0;v[i>>2]=c|v[i>>2];e=e+1|0;d=d-1|0;if(!d){break l}if((e|0)<(h|0)){continue}break}}c=g}if((e|0)>=(h|0)){break g}if((f|0)>0){continue}break}}if((e|0)!=(h|0)){d=e;break c}d=0;m:{n:{if((f|0)<1){break n}while(1){g=t[c|0];e=g&255;o:{if((g|0)>=0){c=c+1|0;f=f-1|0;if(f){while(1){if(!e|(d|0)>=(h|0)){break o}g=(d<<2)+j|0;v[g>>2]=v[g>>2]|w[c|0]<<8;c=c+1|0;d=d+1|0;e=e-1|0;f=f-1|0;if(f){continue}break}}e=0;g=0;if((d|0)!=(h|0)){break b}break m}f=f-2|0;g=c+2|0;e=e-126|0;p:{if(!e|(d|0)>=(h|0)){break p}c=w[c+1|0]<<8;while(1){i=(d<<2)+j|0;v[i>>2]=c|v[i>>2];d=d+1|0;e=e-1|0;if(!e){break p}if((d|0)<(h|0)){continue}break}}c=g}if((d|0)>=(h|0)){break n}if((f|0)>0){continue}break}}if((d|0)!=(h|0)){break c}g=0;if((f|0)<1){e=f;break m}e=f;while(1){f=t[c|0];d=f&255;q:{if((f|0)>=0){c=c+1|0;e=e-1|0;if(!e){e=0;break m}while(1){if(!d|(g|0)>=(h|0)){break q}f=(g<<2)+j|0;v[f>>2]=v[f>>2]|w[c|0];c=c+1|0;g=g+1|0;d=d-1|0;e=e-1|0;if(e){continue}break}e=0;break m}e=e-2|0;f=c+2|0;d=d-126|0;r:{if(!d|(g|0)>=(h|0)){break r}c=w[c+1|0];while(1){i=(g<<2)+j|0;v[i>>2]=c|v[i>>2];g=g+1|0;d=d-1|0;if(!d){break r}if((g|0)<(h|0)){continue}break}}c=f}if((g|0)>=(h|0)){break m}if((e|0)>0){continue}break}}d=g;if((h|0)!=(d|0)){break b}break d}X(33866,6284,292,84207);L()}X(25714,6284,294,84207);L()}X(34494,6284,301,84207);L()}Ub[v[k+20>>2]](k,b,h);b=1;break a}e=f}b=v[a>>2];f=v[a+628>>2];g=v[a+472>>2];v[l+4>>2]=h-d;v[l>>2]=g;zc(f,b,37982,l);b=0}v[a+608>>2]=e;v[a+604>>2]=c;Qb=l+16|0;return b|0}function mYa(a,b){a=a|0;b=b|0;var 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;g=Qb-32|0;Qb=g;i=v[b+28>>2];v[g+4>>2]=2;c=v[a+496>>2];if(c){d=v[c+36>>2];if(d){Ub[v[i+8>>2]](i,d)}v[c+36>>2]=0;v[c+40>>2]=0;d=v[c+28>>2];if(d){Ub[v[i+8>>2]](i,d)}v[c+28>>2]=0;v[c+32>>2]=0;if(c){Ub[v[i+8>>2]](i,c)}v[a+496>>2]=0}d=Fd(i,44,g+4|0);a:{if(v[g+4>>2]){break a}c=ne(b,v[b+4>>2]);v[g+4>>2]=c;if(c){break a}c=v[a+476>>2];v[d+12>>2]=v[a+472>>2];v[d+16>>2]=c;c=v[a+468>>2];v[d+4>>2]=v[a+464>>2];v[d+8>>2]=c;v[d+20>>2]=v[a+476>>2];v[d+24>>2]=v[a+468>>2];f=v[a+492>>2];c=v[f+36>>2];b:{if(c){c=Ub[v[c>>2]](g+8|0,v[b+28>>2],v[b+32>>2],v[b+36>>2])|0;v[g+4>>2]=c;if(!c){v[g+24>>2]=a+132;v[g+20>>2]=2046;v[g+16>>2]=d;c=g+8|0;q=g,r=Ub[v[v[f+36>>2]+8>>2]](c)|0,v[q+4>>2]=r;Ub[v[v[f+36>>2]+4>>2]](c);c=v[g+4>>2]}if((c&255)==2){f=v[b+4>>2];if(f>>>0<7){break b}c=v[b+32>>2];if(w[c+1|0]>3|(f|0)!=(w[c+2|0]|w[c+3|0]<<8|(w[c+4|0]<<16|w[c+5|0]<<24))){break b}l=v[b+28>>2];j=v[b+36>>2];f=Qb-16|0;Qb=f;v[f+12>>2]=0;c:{d:{if(j>>>0>>0){v[f+12>>2]=2;break d}e=(c+99|0)+(w[c+99|0]|w[c+100|0]<<8)|0;if(j>>>0>>0|(w[e+18|0]|w[e+19|0]<<8)>>>0<18){break c}e=w[e+32|0]|w[e+33|0]<<8|(w[e+34|0]<<16|w[e+35|0]<<24);if(!e){break c}k=c+e|0;c=k+2|0;if(j>>>0>>0){v[f+12>>2]=2;break d}e=w[k|0]|w[k+1|0]<<8;v[d+40>>2]=e;if(j>>>0<(e<<2)+c>>>0){v[f+12>>2]=2;break d}if(!e){break c}e=Cc(l,16,0,e,0,f+12|0);v[d+36>>2]=e;if(v[f+12>>2]){break d}o=v[d+40>>2];j=v[a+92>>2];m=v[a+36>>2];e:{if((m|0)<1){break e}p=v[a+40>>2];while(1){n=v[(h<<2)+p>>2];if(x[n+8>>1]!=7){h=h+1|0;if((m|0)!=(h|0)){continue}break e}break}h=qq(a,n);v[f+12>>2]=h;if(h){break d}}h=o<<2;if((h|0)>=1){h=(h+k|0)+2|0;while(1){q=e,r=Fg(a,w[c|0]),v[q>>2]=r;q=e,r=Fg(a,w[c+1|0]),v[q+4>>2]=r;k=(w[c+2|0]|w[c+3|0]<<8)<<16>>16;v[e+12>>2]=0;v[e+8>>2]=k;e=e+16|0;c=c+4|0;if(h>>>0>c>>>0){continue}break}}f:{if(j){c=qq(a,j);v[f+12>>2]=c;break f}c=v[f+12>>2]}if(c){break d}Pk(v[d+36>>2],v[d+40>>2],16,2047);if(v[f+12>>2]){break d}h=0;break c}c=v[d+36>>2];if(c){Ub[v[l+8>>2]](l,c)}v[d+36>>2]=0;v[d+40>>2]=0;h=v[f+12>>2]}Qb=f+16|0;c=h;v[g+4>>2]=c}if(c){break b}}c=v[d+8>>2];v[a+464>>2]=v[d+4>>2];v[a+468>>2]=c;c=v[d+16>>2];v[a+472>>2]=v[d+12>>2];v[a+476>>2]=c;v[a+52>>2]=v[d+4>>2]>>16;v[a+56>>2]=v[d+8>>2]>>16;v[a+60>>2]=v[d+12>>2]+65535>>16;v[a- -64>>2]=v[d+16>>2]+65535>>16;u[a+70>>1]=v[d+20>>2]+32768>>>16;u[a+72>>1]=v[d+24>>2]+32768>>>16;if(!v[d+40>>2]){break b}v[a+496>>2]=d;v[a+8>>2]=v[a+8>>2]|64;d=0}Vd(b)}if(d){a=v[d+36>>2];if(a){Ub[v[i+8>>2]](i,a)}v[d+36>>2]=0;v[d+40>>2]=0;a=v[d+28>>2];if(a){Ub[v[i+8>>2]](i,a)}v[d+28>>2]=0;v[d+32>>2]=0;if(d){Ub[v[i+8>>2]](i,d)}}Qb=g+32|0;return v[g+4>>2]}function yia(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,n=0,o=0,p=0,q=0,r=0,s=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0;j=Qb+-64|0;Qb=j;v[j+56>>2]=0;v[j+60>>2]=0;v[j+48>>2]=0;v[j+52>>2]=0;v[j+40>>2]=0;v[j+44>>2]=0;v[j+32>>2]=0;v[j+36>>2]=0;jD(a,d,j+32|0,j+48|0);a:{b:{c:{g=v[b+8>>2];f=v[b>>2];if(x[c+10>>1]==(g-f|0)){h=v[b+12>>2];i=v[b+4>>2];if(x[c+8>>1]==(h-i|0)){break c}}a=vc(j+8|0,270211,241395,611,343547,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}d:{if(!((f|0)>v[j+48>>2]|(i|0)>v[j+52>>2]|(g|0)>2])){if((h|0)>=v[j+60>>2]){break d}}a=vc(j+8|0,260251,241395,616,343547,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}f=v[d+8>>2]-v[d>>2]|0;g=v[d+12>>2]-v[d+4>>2]|0;if(!((f|0)==x[e+10>>1]&(g|0)==x[e+8>>1])){h=v[e+20>>2];if(h){dc(h)}v[e+16>>2]=0;v[e+20>>2]=0;u[e+12>>1]=f;u[e+10>>1]=f;u[e+8>>1]=g;g=B(f&65535,g&65535);if(g){g=fc((E=-1,F=Bib(g,0,3,0),G=Tb,G?E:F));v[e+16>>2]=g;v[e+20>>2]=g}}q=a+80|0;Xd(q,0,3);r=a+92|0;Xd(r,0,3);s=a+68|0;Xd(s,0,3);zO();y=v[j+32>>2];n=v[j+40>>2]-y|0;Xd(s,n+2|0,3);if(!(v[a+20>>2]<1&v[a+16>>2]<=0)){Xd(q,n,3);Xd(r,n,3);v[a+100>>2]=-1;v[a+104>>2]=-1}o=v[d+4>>2];if((o|0)>2]){z=v[j+44>>2]-1|0;A=v[j+36>>2];C=B(n+1|0,3);D=B(y,-3);while(1){k=v[v[a+40>>2]+(o<<2)>>2];f=k>>4;g=f+1|0;e:{if(!(v[a+20>>2]<1&v[a+16>>2]<=0)){i=f;f=j+32|0;i=yO(a,i,f,b,c);g=yO(a,g,f,b,c);break e}p=B(y-v[b>>2]|0,3);m=v[c+16>>2];h=v[b+4>>2];g=((g|0)<(z|0)?g:z)-h|0;i=x[c+12>>1];l=x[c+8>>1];g=p+((g|0)>-1?(l|0)>(g|0)?m+B(B(g,i),3)|0:0:0)|0;f=((f|0)>(A|0)?f:A)-h|0;i=p+((f|0)>-1?(f|0)<(l|0)?m+B(B(f,i),3)|0:0:0)|0}h=v[a+64>>2];if((n|0)>=1){m=h+C|0;k=((k&15)<<10)+1181392|0;f=h+3|0;while(1){l=w[i+2|0];t[f+2|0]=w[k+(w[g+2|0]-l<<1)|0]+l;l=w[i+1|0];t[f+1|0]=w[k+(w[g+1|0]-l<<1)|0]+l;l=w[i|0];t[f|0]=w[k+(w[g|0]-l<<1)|0]+l;i=i+3|0;g=g+3|0;f=f+3|0;if(m>>>0>f>>>0){continue}break}}g=w[h+3|0]|w[h+4|0]<<8;t[h|0]=g;t[h+1|0]=g>>>8;t[h+2|0]=w[h+5|0];f=v[a+64>>2];g=f+C|0;f=f+B(n,3)|0;h=w[f|0]|w[f+1|0]<<8;t[g|0]=h;t[g+1|0]=h>>>8;t[g+2|0]=w[f+2|0];h=v[a+64>>2];g=0;f=o-v[d+4>>2]|0;f:{if((f|0)<0|(f|0)>=x[e+8>>1]){break f}i=v[e+16>>2];if(!i){break f}g=i+B(B(f,x[e+12>>1]),3)|0}f=v[d>>2];m=v[d+8>>2];if((f|0)<(m|0)){l=(h+D|0)+3|0;p=v[a+52>>2];while(1){k=v[p+(f<<2)>>2];h=l+B(k>>4,3)|0;i=w[h+2|0];k=((k&15)<<10)+1181392|0;t[g+2|0]=i+w[k+(w[h+5|0]-i<<1)|0];i=w[h+1|0];t[g+1|0]=w[k+(w[h+4|0]-i<<1)|0]+i;i=w[h+3|0];h=w[h|0];t[g|0]=w[k+(i-h<<1)|0]+h;g=g+3|0;f=f+1|0;if((m|0)!=(f|0)){continue}break}}o=o+1|0;if((o|0)>2]){continue}break}}Xd(q,0,3);Xd(r,0,3);Xd(s,0,3);Qb=j- -64|0;return}L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function C0(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;c=Qb-192|0;Qb=c;k=v[a+26336>>2];g=(k|0)<4?k:4;a:{if((k|0)<1){break a}d=A[b>>3];e=A[b+8>>3];f=A[b+16>>3];A[c+112>>3]=d*.180423+0+e*.072169+f*.950227;A[c+104>>3]=d*.35758+0+e*.71516+f*.119193;A[c+96>>3]=d*.412453+0+e*.212671+f*.019334;h=(g|0)>1;b:{if(!h){break b}d=A[b+24>>3];e=A[b+32>>3];f=A[b+40>>3];A[c+136>>3]=d*.180423+0+e*.072169+f*.950227;A[c+128>>3]=d*.35758+0+e*.71516+f*.119193;A[c+120>>3]=d*.412453+0+e*.212671+f*.019334;h=h?g:1;if((h|0)==2){break b}d=A[b+48>>3];e=A[b+56>>3];f=A[b- -64>>3];A[c+160>>3]=d*.180423+0+e*.072169+f*.950227;A[c+152>>3]=d*.35758+0+e*.71516+f*.119193;A[c+144>>3]=d*.412453+0+e*.212671+f*.019334;if((h|0)==3){break b}d=A[b+72>>3];e=A[b+80>>3];f=A[b+88>>3];A[c+184>>3]=d*.180423+0+e*.072169+f*.950227;A[c+176>>3]=d*.35758+0+e*.71516+f*.119193;A[c+168>>3]=d*.412453+0+e*.212671+f*.019334}if((k|0)<1){break a}e=A[c+112>>3];f=A[c+96>>3];l=A[c+104>>3];d=e+(f+0+l);A[c+112>>3]=e/d;A[c+104>>3]=l/d;A[c+96>>3]=f/d;z[a+59284>>2]=C(1)/C(d);b=(g|0)>1;if(!b){break a}e=A[c+136>>3];f=A[c+120>>3];l=A[c+128>>3];d=e+(f+0+l);A[c+136>>3]=e/d;A[c+128>>3]=l/d;A[c+120>>3]=f/d;z[a+59288>>2]=C(1)/C(d);b=b?g:1;if((b|0)==2){break a}e=A[c+160>>3];f=A[c+144>>3];l=A[c+152>>3];d=e+(f+0+l);A[c+160>>3]=e/d;A[c+152>>3]=l/d;A[c+144>>3]=f/d;z[a+59292>>2]=C(1)/C(d);if((b|0)==3){break a}e=A[c+184>>3];f=A[c+168>>3];l=A[c+176>>3];d=e+(f+0+l);A[c+184>>3]=e/d;A[c+176>>3]=l/d;A[c+168>>3]=f/d;z[a+59296>>2]=C(1)/C(d)}D0(c+96|0,c,g);b=0;v[a+26132>>2]=0;h=v[a+26336>>2];c:{if((h|0)<1){break c}g=h&3;m=h-1|0;if(m>>>0>=3){k=h&-4;i=a+59348|0;while(1){z[i+(b<<2)>>2]=A[B(b,24)+c>>3];j=b|1;z[i+(j<<2)>>2]=A[B(j,24)+c>>3];j=b|2;z[i+(j<<2)>>2]=A[B(j,24)+c>>3];j=b|3;z[i+(j<<2)>>2]=A[B(j,24)+c>>3];b=b+4|0;k=k-4|0;if(k){continue}break}}if(g){while(1){z[((b<<2)+a|0)+59348>>2]=A[B(b,24)+c>>3];b=b+1|0;g=g-1|0;if(g){continue}break}}g=h&3;b=0;if(m>>>0>=3){k=h&-4;i=a+59364|0;while(1){z[i+(b<<2)>>2]=A[(B(b,24)+c|0)+8>>3];j=b|1;z[i+(j<<2)>>2]=A[(B(j,24)+c|0)+8>>3];j=b|2;z[i+(j<<2)>>2]=A[(B(j,24)+c|0)+8>>3];j=b|3;z[i+(j<<2)>>2]=A[(B(j,24)+c|0)+8>>3];b=b+4|0;k=k-4|0;if(k){continue}break}}if(g){while(1){z[((b<<2)+a|0)+59364>>2]=A[(B(b,24)+c|0)+8>>3];b=b+1|0;g=g-1|0;if(g){continue}break}}g=h&3;b=0;if(m>>>0>=3){k=h&-4;h=a+59380|0;while(1){z[h+(b<<2)>>2]=A[(B(b,24)+c|0)+16>>3];i=b|1;z[h+(i<<2)>>2]=A[(B(i,24)+c|0)+16>>3];i=b|2;z[h+(i<<2)>>2]=A[(B(i,24)+c|0)+16>>3];i=b|3;z[h+(i<<2)>>2]=A[(B(i,24)+c|0)+16>>3];b=b+4|0;k=k-4|0;if(k){continue}break}}if(!g){break c}while(1){z[((b<<2)+a|0)+59380>>2]=A[(B(b,24)+c|0)+16>>3];b=b+1|0;g=g-1|0;if(g){continue}break}}Qb=c+192|0}function dsa(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;f=Qb-48|0;Qb=f;a:{b:{c:{d:{e:{if((c|0)<1){break e}j=e+1|0;while(1){if(v[v[a>>2]+16>>2]<=v[b>>2]){break e}i=c;v[f+32>>2]=0;c=v[a>>2];g=v[b>>2];v[b>>2]=g+1;v[299999]=0;Y(4381,c|0,f+32|0,g|0)|0;c=v[299999];v[299999]=0;f:{g:{h:{if((c|0)!=1){v[f+24>>2]=0;v[f+28>>2]=v[282402];i:{c=v[v[f+32>>2]+20>>2];j:{k:{if(c){g=v[v[c>>2]+28>>2];v[299999]=0;U(g|0,f+8|0,c|0,1);c=v[299999];v[299999]=0;if((c|0)!=1){break k}c=P()|0;O()|0;break j}v[f+8>>2]=0}v[299999]=0;Q(4344,f+24|0,f+8|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){c=v[f+8>>2];v[f+8>>2]=0;if(!c){break i}v[299999]=0;g=v[c+4>>2]-1|0;v[c+4>>2]=g;h=v[299999];v[299999]=0;if((h|0)!=1){if(g){break i}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)!=1){break i}}break a}c=P()|0;O()|0;ec(f+8|0)}ec(f+24|0);break b}c=v[f+24>>2];v[f+28>>2]=v[(c?c+12|0:1129608)>>2];if(!c){break g}g=v[v[c>>2]+48>>2];v[299999]=0;g=Z(g|0,c|0,1,f+20|0,10)|0;c=v[299999];v[299999]=0;if((c|0)==1){break d}h=v[f+20>>2];c=v[f+24>>2];if(c){c=v[c+8>>2]}else{c=0}if((c|0)!=(h|0)){break f}v[299999]=0;V(3049,d|0,g-1|0);c=v[299999];v[299999]=0;if((c|0)==1){break d}v[299999]=0;V(3049,d|0,e|0);c=v[299999];v[299999]=0;if((c|0)==1){break d}v[299999]=0;V(3049,d|0,0);c=v[299999];v[299999]=0;if((c|0)==1){break d}v[f+8>>2]=0;v[f+12>>2]=v[282402];l:{c=v[v[f+32>>2]+12>>2];m:{n:{if(c){g=v[v[c>>2]+28>>2];v[299999]=0;U(g|0,f+40|0,c|0,1);c=v[299999];v[299999]=0;if((c|0)!=1){break n}c=P()|0;O()|0;break m}v[f+40>>2]=0}v[299999]=0;Q(4344,f+8|0,f+40|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){c=v[f+40>>2];v[f+40>>2]=0;if(!c){break l}v[299999]=0;g=v[c+4>>2]-1|0;v[c+4>>2]=g;h=v[299999];v[299999]=0;if((h|0)!=1){if(g){break l}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)!=1){break l}}break a}c=P()|0;O()|0;ec(f+40|0)}ec(f+8|0);break c}c=v[f+8>>2];v[f+12>>2]=v[(c?c+12|0:1129608)>>2];v[299999]=0;g=Q(4361,f+8|0,-1)|0;c=v[299999];v[299999]=0;if((c|0)==1){break h}c=v[f+8>>2];if(c){c=v[c+8>>2]}else{c=0}v[299999]=0;U(3050,d|0,g|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break h}ec(f+8|0);break f}c=P()|0;O()|0;break b}c=P()|0;O()|0;ec(f+8|0);break c}v[f+20>>2]=-1}c=v[v[f+32>>2]+8>>2];v[299999]=0;fa(4382,a|0,b|0,c|0,d|0,j|0);c=v[299999];v[299999]=0;if((c|0)==1){break d}ec(f+24|0);c=v[f+32>>2];v[f+32>>2]=0;o:{if(!c){break o}v[299999]=0;g=v[c+4>>2]-1|0;v[c+4>>2]=g;h=v[299999];v[299999]=0;if((h|0)==1){break a}if(g){break o}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}c=i-1|0;if((i|0)>1){continue}break}}Qb=f+48|0;return}c=P()|0;O()|0}ec(f+24|0)}ec(f+32|0);T(c|0);L()}W(0)|0;O()|0;lc();L()}function aY(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,z=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0;f=v[a+4>>2];g=v[f>>2];m=A[g+32>>3];F=A[g>>3];r=A[g+16>>3];p=A[g+40>>3];n=A[g+8>>3];q=A[a+16>>3];j=A[g+24>>3];s=A[a+24>>3];h=(e|0)>1?e:1;v[f+24>>2]=h;v[f+4>>2]=h;i=f;q=q+ +(c|0);o=j;j=s+ +(d|0);s=o*j;o=(p+(n*q+s))*256;o=o+(o<0?-.5:.5);a:{if(D(o)<2147483648){d=~~o;break a}d=-2147483648}v[i+40>>2]=d;i=f;r=j*r;j=(m+(q*F+r))*256;j=j+(j<0?-.5:.5);b:{if(D(j)<2147483648){c=~~j;break b}c=-2147483648}v[i+20>>2]=c;i=f;j=p;p=q+ +(e>>>0);n=(j+(p*n+s))*256;n=n+(n<0?-.5:.5);c:{if(D(n)<2147483648){g=~~n;break c}g=-2147483648}d=g-d|0;g=(d|0)/(h|0)|0;l=d-B(g,h)|0;k=(l|0)<1;v[i+28>>2]=g-k;i=f;m=(m+(p*F+r))*256;m=m+(m<0?-.5:.5);d:{if(D(m)<2147483648){d=~~m;break d}d=-2147483648}c=d-c|0;d=(c|0)/(h|0)|0;g=d;c=c-B(d,h)|0;d=(c|0)<1;v[i+8>>2]=g-d;g=l+(k?e:0)|0;v[f+32>>2]=g;c=c+(d?e:0)|0;v[f+12>>2]=c;v[f+36>>2]=g-e;v[f+16>>2]=c-e;c=v[a+4>>2];f=v[c+40>>2];c=v[c+20>>2];while(1){g=v[a+36>>2];d=v[a>>2];l=c-v[a+32>>2]|0;c=l>>8;v[d+8>>2]=c;k=f-g|0;h=v[d+32>>2];f=(v[d+36>>2]+(k>>8)>>>0)%(h>>>0)|0;v[d+40>>2]=f;g=v[v[d>>2]>>2];i=v[g+4>>2];x=v[g+16>>2];g=v[d+16>>2];c=(c+v[d+20>>2]>>>0)%(g>>>0)|0;v[d+24>>2]=c;h=i+B(x,f>>>0>2]?f:h+(f^-1)|0)|0;v[d+4>>2]=h;i=v[d+12>>2];f=h+((i>>>0>c>>>0?c:g+(c^-1)|0)<<2)|0;x=w[f+2|0];G=w[f+1|0];H=w[f|0];z=w[f+3|0];c=c+1|0;c=c>>>0>>0?c:0;v[d+24>>2]=c;c=h+((c>>>0>>0?c:g+(c^-1)|0)<<2)|0;i=w[c+2|0];I=w[c+1|0];J=w[c|0];g=w[c+3|0];c=v[a>>2];d=v[c+40>>2]+1|0;h=v[c+32>>2];d=h>>>0>d>>>0?d:0;v[c+40>>2]=d;f=v[v[c>>2]>>2];C=v[f+4>>2];E=v[f+16>>2];u=v[c+16>>2];f=(v[c+20>>2]+v[c+8>>2]>>>0)%(u>>>0)|0;v[c+24>>2]=f;d=C+B(E,d>>>0>2]?d:h+(d^-1)|0)|0;v[c+4>>2]=d;c=d+((f>>>0>2]?f:u+(f^-1)|0)<<2)|0;C=w[c+2|0];E=w[c+1|0];u=w[c|0];K=w[c+3|0];c=v[a>>2];d=v[c+24>>2]+1|0;f=v[c+16>>2];d=f>>>0>d>>>0?d:0;v[c+24>>2]=d;c=v[c+4>>2]+((d>>>0>2]?d:f+(d^-1)|0)<<2)|0;L=w[c+2|0];M=w[c+1|0];N=w[c|0];h=k&255;f=256-h|0;l=l&255;k=256-l|0;d=B(f,k);f=B(f,l);z=B(d,z)+B(f,g)|0;g=B(h,k);k=w[c+3|0];c=B(h,l);t[b+3|0]=((z+B(g,K)|0)+B(k,c)|0)+32768>>>16;t[b+2|0]=(((B(d,H)+B(f,J)|0)+B(g,u)|0)+B(c,N)|0)+32768>>>16;t[b+1|0]=(((B(d,G)+B(f,I)|0)+B(g,E)|0)+B(c,M)|0)+32768>>>16;t[b|0]=(((B(d,x)+B(f,i)|0)+B(g,C)|0)+B(c,L)|0)+32768>>>16;d=v[a+4>>2];c=d;f=v[c+16>>2]+v[c+12>>2]|0;v[c+16>>2]=f;c=v[c+20>>2]+v[c+8>>2]|0;v[d+20>>2]=c;if((f|0)>=1){c=c+1|0;v[d+20>>2]=c;v[d+16>>2]=f-v[d+4>>2]}g=v[d+36>>2]+v[d+32>>2]|0;v[d+36>>2]=g;f=v[d+40>>2]+v[d+28>>2]|0;v[d+40>>2]=f;if((g|0)>=1){f=f+1|0;v[d+40>>2]=f;v[d+36>>2]=g-v[d+24>>2]}b=b+4|0;e=e-1|0;if(e){continue}break}}function WX(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,z=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0;f=v[a+4>>2];g=v[f>>2];m=A[g+32>>3];F=A[g>>3];r=A[g+16>>3];p=A[g+40>>3];n=A[g+8>>3];q=A[a+16>>3];j=A[g+24>>3];s=A[a+24>>3];h=(e|0)>1?e:1;v[f+24>>2]=h;v[f+4>>2]=h;i=f;q=q+ +(c|0);o=j;j=s+ +(d|0);s=o*j;o=(p+(n*q+s))*256;o=o+(o<0?-.5:.5);a:{if(D(o)<2147483648){d=~~o;break a}d=-2147483648}v[i+40>>2]=d;i=f;r=j*r;j=(m+(q*F+r))*256;j=j+(j<0?-.5:.5);b:{if(D(j)<2147483648){c=~~j;break b}c=-2147483648}v[i+20>>2]=c;i=f;j=p;p=q+ +(e>>>0);n=(j+(p*n+s))*256;n=n+(n<0?-.5:.5);c:{if(D(n)<2147483648){g=~~n;break c}g=-2147483648}d=g-d|0;g=(d|0)/(h|0)|0;l=d-B(g,h)|0;k=(l|0)<1;v[i+28>>2]=g-k;i=f;m=(m+(p*F+r))*256;m=m+(m<0?-.5:.5);d:{if(D(m)<2147483648){d=~~m;break d}d=-2147483648}c=d-c|0;d=(c|0)/(h|0)|0;g=d;c=c-B(d,h)|0;d=(c|0)<1;v[i+8>>2]=g-d;g=l+(k?e:0)|0;v[f+32>>2]=g;c=c+(d?e:0)|0;v[f+12>>2]=c;v[f+36>>2]=g-e;v[f+16>>2]=c-e;c=v[a+4>>2];f=v[c+40>>2];c=v[c+20>>2];while(1){g=v[a+36>>2];d=v[a>>2];l=c-v[a+32>>2]|0;c=l>>8;v[d+8>>2]=c;k=f-g|0;h=v[d+32>>2];f=(v[d+36>>2]+(k>>8)>>>0)%(h>>>0)|0;v[d+40>>2]=f;g=v[v[d>>2]>>2];i=v[g+4>>2];x=v[g+16>>2];g=v[d+16>>2];c=(c+v[d+20>>2]>>>0)%(g>>>0)|0;v[d+24>>2]=c;h=i+B(x,f>>>0>2]?f:h+(f^-1)|0)|0;v[d+4>>2]=h;i=v[d+12>>2];f=h+((i>>>0>c>>>0?c:g+(c^-1)|0)<<2)|0;x=w[f|0];G=w[f+1|0];H=w[f+2|0];z=w[f+3|0];c=c+1|0;c=c>>>0>>0?c:0;v[d+24>>2]=c;c=h+((c>>>0>>0?c:g+(c^-1)|0)<<2)|0;i=w[c|0];I=w[c+1|0];J=w[c+2|0];g=w[c+3|0];c=v[a>>2];d=v[c+40>>2]+1|0;h=v[c+32>>2];d=h>>>0>d>>>0?d:0;v[c+40>>2]=d;f=v[v[c>>2]>>2];C=v[f+4>>2];E=v[f+16>>2];u=v[c+16>>2];f=(v[c+20>>2]+v[c+8>>2]>>>0)%(u>>>0)|0;v[c+24>>2]=f;d=C+B(E,d>>>0>2]?d:h+(d^-1)|0)|0;v[c+4>>2]=d;c=d+((f>>>0>2]?f:u+(f^-1)|0)<<2)|0;C=w[c|0];E=w[c+1|0];u=w[c+2|0];K=w[c+3|0];c=v[a>>2];d=v[c+24>>2]+1|0;f=v[c+16>>2];d=f>>>0>d>>>0?d:0;v[c+24>>2]=d;c=v[c+4>>2]+((d>>>0>2]?d:f+(d^-1)|0)<<2)|0;L=w[c|0];M=w[c+1|0];N=w[c+2|0];h=k&255;f=256-h|0;l=l&255;k=256-l|0;d=B(f,k);f=B(f,l);z=B(d,z)+B(f,g)|0;g=B(h,k);k=w[c+3|0];c=B(h,l);t[b+3|0]=((z+B(g,K)|0)+B(k,c)|0)+32768>>>16;t[b+2|0]=(((B(d,H)+B(f,J)|0)+B(g,u)|0)+B(c,N)|0)+32768>>>16;t[b+1|0]=(((B(d,G)+B(f,I)|0)+B(g,E)|0)+B(c,M)|0)+32768>>>16;t[b|0]=(((B(d,x)+B(f,i)|0)+B(g,C)|0)+B(c,L)|0)+32768>>>16;d=v[a+4>>2];c=d;f=v[c+16>>2]+v[c+12>>2]|0;v[c+16>>2]=f;c=v[c+20>>2]+v[c+8>>2]|0;v[d+20>>2]=c;if((f|0)>=1){c=c+1|0;v[d+20>>2]=c;v[d+16>>2]=f-v[d+4>>2]}g=v[d+36>>2]+v[d+32>>2]|0;v[d+36>>2]=g;f=v[d+40>>2]+v[d+28>>2]|0;v[d+40>>2]=f;if((g|0)>=1){f=f+1|0;v[d+40>>2]=f;v[d+36>>2]=g-v[d+24>>2]}b=b+4|0;e=e-1|0;if(e){continue}break}}function yU(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=Qb+-64|0;Qb=e;g=v[a+172>>2];a:{if(v[a+292>>2]){break a}d=v[a+36>>2];b=v[d+16>>2];if((b-v[d+12>>2]|0)<501|(v[d+20>>2]-b|0)>499){break a}bh(d);d=v[a+36>>2];if(w[v[d+16>>2]]){break a}if((cd(d)|0)>0){break a}vd(a)}l=34;b:{c:{switch(w[v[v[a+36>>2]+16>>2]]-34|0){default:if(!(!v[a+212>>2]|v[a+172>>2]!=-1)){break b}v[a+84>>2]=43;v[e>>2]=289883;oc(0,0,0,a,0,1,43,3,0,0,0,0,350078,e);v[a+12>>2]=0;if(v[a+288>>2]){break b}v[a+212>>2]=1;break b;case 5:l=39;break;case 0:break c}}xd(a);h=100;d=Ub[v[259707]](100)|0;if(!d){Qd(a,0);break b}v[a+172>>2]=13;c=bf(a,e+60|0);while(1){d:{e:{f:{g:{if((c|0)<=255){if((!(1<>>0>13)&(c|0)<=31){break f}if((c|0)!=(l|0)){break g}t[d+f|0]=0;v[a+172>>2]=g;xd(a);break e}if((c|0)<55296|c-65536>>>0<1048576){break g}if(c-57344>>>0>=8190){break f}}if((f+5|0)<(h|0)){b=d;break d}if(!(w[a+362|0]&8|(h|0)<50001)){h:{if(v[a+172>>2]==-1?v[a+212>>2]:0){break h}v[a+84>>2]=110;v[e+36>>2]=261162;v[e+32>>2]=246281;oc(0,0,0,a,0,1,110,3,261162,0,0,0,349936,e+32|0);v[a+12>>2]=0;if(v[a+288>>2]){break h}v[a+212>>2]=1}c=0;Ub[v[259708]](d);v[a+172>>2]=g;break b}h=h<<1;b=Ub[v[259709]](d,h)|0;if(b){break d}c=0;Ub[v[259708]](d);Qd(a,0);v[a+172>>2]=g;break b}t[d+f|0]=0;v[a+172>>2]=g;if((g|0)==-1?v[a+212>>2]:0){break e}v[a+84>>2]=44;v[e+48>>2]=289913;oc(0,0,0,a,0,1,44,3,0,0,0,0,350078,e+48|0);v[a+12>>2]=0;if(v[a+288>>2]){break e}v[a+212>>2]=1}c=d;break b}d=b;i:{if((k|0)<50){k=k+1|0;break i}j:{if(v[a+292>>2]){break j}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break j}nd(a)}k=0;if(v[a+172>>2]!=-1){break i}c=0;Ub[v[259708]](d);break b}k:{if(v[e+60>>2]==1){t[d+f|0]=c;f=f+1|0;break k}f=li(d+f|0,c)+f|0}b=v[a+36>>2];c=v[b+16>>2];l:{if(w[c|0]==10){v[b+32>>2]=1;v[b+28>>2]=v[b+28>>2]+1;break l}v[b+32>>2]=v[b+32>>2]+1}i=b;b=c+v[e+60>>2]|0;v[i+16>>2]=b;if(w[b|0]==37){wd(a)}c=bf(a,e+60|0);if(c){continue}m:{if(v[a+292>>2]){break m}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)<=249){nd(a);if(v[a+292>>2]){break m}}b=v[a+36>>2];c=v[b+16>>2];if((c-v[b+12>>2]|0)<501|(v[b+20>>2]-c|0)>499){break m}bh(b);b=v[a+36>>2];if(w[v[b+16>>2]]){break m}if((cd(b)|0)>0){break m}while(1){c=v[a+40>>2];if((c|0)<2){break m}n:{o:{p:{if(!v[294256]){j=c-1|0;v[a+40>>2]=j;b=v[a+48>>2];break p}v[e+16>>2]=c;b=0;Ub[v[259806]](v[294239],354269,e+16|0);c=v[a+40>>2];if((c|0)<1){break n}j=c-1|0;v[a+40>>2]=j;b=v[a+48>>2];m=0;i=0;if((c|0)==1){break o}}m=v[((c<<2)+b|0)-8>>2];i=j}c=i;v[a+36>>2]=m;c=(c<<2)+b|0;b=v[c>>2];v[c>>2]=0}Sh(b);b=v[a+36>>2];if(w[v[b+16>>2]]){break m}if((cd(b)|0)<1){continue}break}}c=bf(a,e+60|0);continue}}Qb=e- -64|0;return c}function x$(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0;x=Qb-272|0;Qb=x;s=v[b+4>>2];i=v[b+8>>2];v[a+52>>2]=-2147483648;v[a+56>>2]=0;v[a+48>>2]=i;v[a+44>>2]=s;z=v[b+52>>2];f=v[b+28>>2];e=v[b+24>>2];y=v[b+44>>2];v[c>>2]=s;v[d>>2]=i;a:{if((y|0)<1|(e|0)<2){break a}k=u[f+12>>1];g=e-1|0;l=g&3;b:{if(e-2>>>0<3){e=1;m=k;break b}g=g&-4;e=1;m=k;while(1){h=f+B(e,40)|0;j=u[h+132>>1];n=u[h+92>>1];q=u[h+52>>1];h=u[h+12>>1];m=(h|0)>(m|0)?h:m;m=(m|0)<(q|0)?q:m;m=(m|0)<(n|0)?n:m;m=(m|0)<(j|0)?j:m;k=(h|0)<(k|0)?h:k;k=(k|0)>(q|0)?q:k;k=(k|0)>(n|0)?n:k;k=(k|0)>(j|0)?j:k;e=e+4|0;g=g-4|0;if(g){continue}break}}if(l){while(1){g=u[(f+B(e,40)|0)+12>>1];m=(g|0)>(m|0)?g:m;k=(g|0)<(k|0)?g:k;e=e+1|0;l=l-1|0;if(l){continue}break}}if((k|0)>=(m|0)){break a}C=a,D=Ac(k,s)+i|0,v[C>>2]=D;g=Ac(m,s)+i|0;v[a+4>>2]=g;e=g&-32;v[a+24>>2]=e;l=v[a>>2];j=l&-32;v[a+16>>2]=j;v[a+8>>2]=l&-64;n=e+32|0;v[a+28>>2]=n;i=j+32|0;v[a+20>>2]=i;v[a+12>>2]=g+63&-64;if((g|0)<(i|0)){v[a+20>>2]=g;i=g}if((e|0)<(l|0)){v[a+24>>2]=l;e=l}h=g-l|0;v[a+32>>2]=h;f=a;if((h|0)>=65){i=e-i|0}else{v[a+24>>2]=g;v[a+20>>2]=l;i=h}v[f+36>>2]=i;e=n-j|0;v[a+40>>2]=e;j=(h|0)<129?(h|0)<97?4:8:16;f=h-j|0;if((f|0)>(i|0)){v[a+36>>2]=f;i=f}f=h+j|0;if((f|0)<(e|0)){v[a+40>>2]=f;e=f}f=(B(h,3)|0)/4|0;if((f|0)>(i|0)){v[a+36>>2]=f;i=f}f=(B(h,5)|0)/4|0;if((f|0)<(e|0)){v[a+40>>2]=f;e=f}c:{if((e|0)<(i|0)){break c}A=m-k|0;while(1){f=(h-i|0)+l|0;d:{e:{if((h|0)<=(i|0)){e=v[a+16>>2];if((f|0)>=(e|0)){break e}f=(g-f|0)+e|0;break d}e=v[a+20>>2];if((f|0)<=(e|0)){break e}f=(g-f|0)+e|0;break d}e=f;f=g}n=ad(i-h|0,A)+s|0;t=Ac(k,n);q=ic(x,0,260);o=v[a+24>>2];h=f;j=h-e|0;f=v[a+16>>2];p=(o|0)>(f+j|0)?o-j|0:f;o=v[a+8>>2];f=p-o|0;f:{if((f|0)<0){break f}w=p;p=v[a+28>>2];r=v[a+20>>2];j=(p|0)<(j+r|0)?p-j|0:r;if((w|0)>(j|0)){break f}j=j-o|0;if((j|0)>64){break f}p=((g|0)>(h|0)?g-h|0:h-g|0)+((e|0)<(l|0)?l-e|0:e-l|0)|0;l=e-t|0;o=e-o|0;g=0;if((y|0)>0){t=(l-o|0)+f|0;while(1){e=B(g,44)+z|0;r=u[e+8>>1]-u[e+6>>1]|0;h=Ac(u[e+2>>1],n)+t|0;e=f;while(1){w=q+(e<<2)|0;v[w>>2]=v[w>>2]+B(r,v[((h&63)<<2)+373872>>2]);h=h+1|0;w=(e|0)<(j|0);e=e+1|0;if(w){continue}break}g=g+1|0;if((y|0)!=(g|0)){continue}break}}p=B(p,10);g=v[a+52>>2];while(1){r=f-o|0;t=r+p|0;h=f;e=v[q+(h<<2)>>2];if(!((e|0)<=(g|0)&((e|0)!=(g|0)|(t|0)>=v[a+56>>2]))){v[a+56>>2]=t;v[a+52>>2]=e;v[a+44>>2]=n;v[a+48>>2]=l+r;g=e}f=h+1|0;if((h|0)<(j|0)){continue}break}}if(v[a+40>>2]<=(i|0)){break c}i=i+1|0;h=v[a+32>>2];g=v[a+4>>2];l=v[a>>2];continue}}e=v[a+48>>2];a=v[a+44>>2];i=a-s|0;C=b,D=Ac(k,i)+e|0,v[C+2752>>2]=D;C=b,D=Ac(m,i)+e|0,v[C+2756>>2]=D;v[c>>2]=a;v[d>>2]=e}Qb=x+272|0}function P$(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0,y=0;n=Qb-16|0;Qb=n;a:{if(!a|(!b|((a?v[a+8>>2]:-1)|0)!=1)){break a}h=n+12|0;k=n+8|0;if(a){if(h){v[h>>2]=v[a>>2]}if(k){v[k>>2]=v[a+4>>2]}}u=a?v[a+40>>2]:0;w=a?v[a+12>>2]:-1;if((c|0)<0){break a}o=v[n+12>>2];if((d|0)<0|(o|0)<=(c|0)){break a}p=v[n+8>>2];if(!(v[((B(d,w)<<2)+u|0)+(c>>>3&536870908)>>2]>>>(c^-1)&1)|(p|0)<=(d|0)){break a}b:{if((d|0)<-1|(p-1|0)<=(d|0)){break b}e=v[b+12>>2];if(!e){break b}c:{if(((e?v[e+4>>2]:1)|0)>=1){a=Ck(e);break c}a=bd(1,16);if(!a){break b}}v[a+12>>2]=1;v[a+8>>2]=d;v[a+4>>2]=c;v[a>>2]=c;Bk(b,a)}d:{if((d|0)<0){break d}e=v[b+12>>2];if(!e){break d}e:{if(((e?v[e+4>>2]:1)|0)>=1){a=Ck(e);break e}a=bd(1,16);if(!a){break d}}v[a+12>>2]=-1;v[a+8>>2]=d+1;v[a+4>>2]=c;v[a>>2]=c;Bk(b,a)}f:{if(((b?v[b+4>>2]:1)|0)<1){h=c;k=d;break f}x=o-1|0;h=c;k=d;g=d;g:while(1){e=v[b+12>>2];h:{if(!e){break h}f=Ck(b);if(!f){break h}s=v[f+4>>2];q=v[f>>2];m=v[f+12>>2];a=v[f+8>>2];Bk(e,f);g=a+m|0}a=q-1|0;r=(B(g,w)<<2)+u|0;i:{j:{if((q|0)<1){break j}e=a;l=q;i=(a>>>3&536870908)+r|0;j=v[i>>2];f=a&31;k:{if(!(j>>>(f^31)&1)){break k}while(1){l:{l=e;e=-1;v[i>>2]=(-2147483648>>>f^-1)&j;if((l|0)<=0){break l}e=l-1|0;i=(e>>>3&536870908)+r|0;j=v[i>>2];f=e&31;if(j>>>(f^31)&1){continue}break k}break}l=0}if((l|0)>=(q|0)){a=e;break j}d=(d|0)>(g|0)?d:g;k=(g|0)>(k|0)?k:g;c=(a|0)<(c|0)?c:a;h=(h|0)<(l|0)?h:l;e=g-m|0;m:{if((e|0)<0|(e|0)>=(p|0)){break m}f=v[b+12>>2];if(!f){break m}n:{if(((f?v[f+4>>2]:1)|0)>=1){e=Ck(f);break n}e=bd(1,16);if(!e){break m}}v[e+12>>2]=0-m;v[e+8>>2]=g;v[e+4>>2]=a;v[e>>2]=l;Bk(b,e)}a=q;e=0;break i}e=1}while(1){o:{p:{q:{r:{if(!e){s:{if((a|0)>=(o|0)){break s}while(1){i=(a>>5<<2)+r|0;f=v[i>>2];e=a&31;if(!(f>>>(e^31)&1)){break s}v[i>>2]=f&(-2147483648>>>e^-1);a=a+1|0;if((o|0)!=(a|0)){continue}break}a=o}y=(a|0)>(c|0);t=a-1|0;j=(d|0)>(g|0);i=(g|0)>(k|0);f=(h|0)<(l|0);e=g+m|0;t:{if((e|0)<0|(e|0)>=(p|0)){break t}e=v[b+12>>2];if(!e){break t}u:{if(((e?v[e+4>>2]:1)|0)>=1){e=Ck(e);break u}e=bd(1,16);if(!e){break t}}v[e+12>>2]=m;v[e+8>>2]=g;v[e+4>>2]=t;v[e>>2]=l;Bk(b,e)}c=y?t:c;d=j?d:g;k=i?k:g;h=f?h:l;if((a|0)<=(s|0)){break r}f=s+1|0;h=(f|0)>(h|0)?h:f;e=g-m|0;if((e|0)<0|(e|0)>=(p|0)){break r}i=v[b+12>>2];if(!i){break r}v:{if(((i?v[i+4>>2]:1)|0)>=1){j=Ck(i);break v}j=bd(1,16);if(!j){break r}}v[j+12>>2]=0-m;v[j+8>>2]=g;v[j+4>>2]=t;v[j>>2]=f;Bk(b,j);break r}if((a|0)>(s|0)|(a|0)>=(x|0)){break p}a=a+1|0;if(v[(a>>5<<2)+r>>2]>>>(a^-1)&1){break q}}e=1;continue}l=a;break o}if(((b?v[b+4>>2]:1)|0)>0){continue g}break f}e=0;continue}}}e=rI(h,k,(c-h|0)+1|0,(d-k|0)+1|0)}Qb=n+16|0;return e}function XLa(a,b){a=a|0;b=b|0;var 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;j=Qb-16|0;Qb=j;p=v[a+8>>2];f=v[a+12>>2]-p|0;o=f>>1;c=v[a+24>>2];i=v[a+4>>2];k=v[i+8>>2];h=w[k+14|0];a:{b:{c:{g=v[i+56>>2];n=v[a+16>>2];l=v[a+20>>2]-n|0;if(!(!g|(l|0)<=0)){f=h;break c}if((f|0)<1){break a}while(1){f=h;i=m;d:{e:{f:{g:{h:{while(1){v[j+12>>2]=65535;i:{j:{if((d|0)<(l|0)){m=i+1|0;g=x[(i<<1)+p>>1];if((g|0)==126){t[v[a+16>>2]+d|0]=126;if(v[a+24>>2]){v[c>>2]=i;c=c+4|0}h=d+1|0;if((h|0)<(l|0)){break j}e=v[a+4>>2];d=t[e+63|0];t[e+63|0]=d+1;t[(d+e|0)+76|0]=126;v[b>>2]=15;break i}k:{l:{e=g;if(e>>>0>=128){if((Og(v[v[k>>2]+24>>2],g,j+12|0,t[v[a+4>>2]+35|0])|0)!=2){break l}h=v[j+12>>2];if((h+24159&65534)>>>0>23645|(h+95&254)>>>0>=94){break l}e=h-32896|0}v[j+12>>2]=e;if((e|0)==65535){break k}h=e>>>0>255;t[k+14|0]=h;if(!(w[k+12|0]?f<<24>>24==(h|0):0)){t[v[a+16>>2]+d|0]=126;f=v[a+24>>2];if(e>>>0<=255){if(f){v[c>>2]=i;c=c+4|0}f=d+1|0;if((f|0)<(l|0)){break h}e=v[a+4>>2];d=t[e+63|0];t[e+63|0]=d+1;t[(d+e|0)+76|0]=125;v[b>>2]=15;d=f;t[k+12|0]=1;break f}if(f){v[c>>2]=i;c=c+4|0}f=d+1|0;if((f|0)<(l|0)){break g}e=v[a+4>>2];d=t[e+63|0];t[e+63|0]=d+1;t[(d+e|0)+76|0]=123;v[b>>2]=15;d=f;t[k+12|0]=1;break e}if(e>>>0<256){break f}break e}v[j+12>>2]=65535}c=10;if((g&63488)!=55296){break b}c=12;if(g&1024){break b}i=v[a+4>>2];v[i+56>>2]=g;e=g;break c}v[b>>2]=15;h=f;m=i;break a}t[h+v[a+16>>2]|0]=126;if(v[a+24>>2]){v[c>>2]=i;c=c+4|0}h=d+2|0}d=h;i=m;if((o|0)>(i|0)){continue}break}h=f;break a}t[f+v[a+16>>2]|0]=125;if(v[a+24>>2]){v[c>>2]=i;c=c+4|0}d=d+2|0;t[k+12|0]=1;break f}t[f+v[a+16>>2]|0]=123;if(v[a+24>>2]){v[c>>2]=i;c=c+4|0}d=d+2|0;t[k+12|0]=1;break e}g=v[j+12>>2];if((d|0)<(l|0)){t[d+n|0]=g;d=d+1|0;if(!c){c=0;break d}v[c>>2]=i;c=c+4|0;break d}e=v[a+4>>2];f=t[e+63|0];t[e+63|0]=f+1;t[(f+e|0)+76|0]=g;v[b>>2]=15;break d}g=v[j+12>>2]>>>8|0;m:{n:{if((d|0)<(l|0)){t[d+n|0]=g;f=d+1|0;if(c){v[c>>2]=i;if((f|0)<(l|0)){break n}c=c+4|0;break m}c=0;if((f|0)>=(l|0)){break m}t[f+n|0]=v[j+12>>2];d=d+2|0;break d}e=v[a+4>>2];f=t[e+63|0];t[e+63|0]=f+1;t[(f+e|0)+76|0]=g;f=v[j+12>>2];g=v[a+4>>2];e=t[g+63|0];t[g+63|0]=e+1;t[(e+g|0)+76|0]=f;v[b>>2]=15;break d}t[f+n|0]=v[j+12>>2];v[c+4>>2]=i;c=c+8|0;d=d+2|0;break d}d=v[j+12>>2];g=v[a+4>>2];e=t[g+63|0];t[g+63|0]=e+1;t[(e+g|0)+76|0]=d;v[b>>2]=15;d=f}v[j+12>>2]=65535;if((m|0)<(o|0)){continue}break}break a}c=0;o:{if((m|0)>=(o|0)){break o}c=12;h=x[v[a+8>>2]+(m<<1)>>1];if((h&64512)!=56320){break o}v[i+56>>2]=0;m=m+1|0;c=10;g=(h+(g<<10)|0)-56613888|0;break b}g=e}h=f;v[b>>2]=c;v[v[a+4>>2]+56>>2]=g}v[a+16>>2]=v[a+16>>2]+d;v[a+8>>2]=v[a+8>>2]+(m<<1);t[k+14|0]=h;Qb=j+16|0}function BNa(a,b){a=a|0;b=b|0;var 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=-9;f=v[a+4>>2];a:{if(t[f+254|0]>0){break a}m=v[f+24>>2];if(w[m+201|0]&2){break a}l=v[a+12>>2];g=v[a+8>>2];if(w[m+28|0]==1){h=v[(w[f+28|0]&16?40:36)+m>>2];b:{c:{while(1){c=g;if(c>>>0>=l>>>0){break b}d=v[h+(w[c|0]<<2)>>2];g=c+1|0;v[a+8>>2]=g;if((d|0)<=-2146435073){return d&65535}if((d&13631488)==1048576){return(d&1048575)+65536|0}d:{switch((d>>>20&15)-2|0){case 5:break b;case 4:break c;case 0:break d;default:continue}}break}return d&65535}if(v[b>>2]>0){break b}v[a+8>>2]=c;return-9}v[b>>2]=8;return 65535}c=(w[f+28|0]&16?40:36)+m|0;h=w[f+48|0];if(!h){h=w[m+29|0]}o=v[m+44>>2];p=v[c>>2];n=v[f+44>>2];d=-1;e:{f:{g:{h:while(1){j=g;if(l>>>0<=j>>>0){e=0;break f}k=l-j|0;e=0;c=h;while(1){h=e+j|0;e=e+1|0;g=j+e|0;i:{q=c&255;i=v[((q<<10)+p|0)+(w[h|0]<<2)>>2];if((i|0)>=0){c=i>>>24|0;n=(i&16777215)+n|0;if(g>>>0>=l>>>0){break i}i=v[((c<<10)+p|0)+(w[g|0]<<2)>>2];if((i&-2131755008)!=-2143289344){break i}d=x[((i&65535)+n<<1)+o>>1];if(d>>>0>65533){break i}g=h+2|0;h=i>>>24&127;c=d;break e}v[f+48>>2]=q;h=i>>>24&127;j:{k:{l:{m:{n:{o:{k=i>>>20&15;switch(k|0){case 5:break m;case 4:break n;case 0:break o;default:break l}}c=i&65535;break e}k=(i&65535)+n|0;c=x[(k<<1)+o>>1];if(c>>>0<65534){break e}if((c|0)!=65534){break j}d=65534;c=oW(m+28|0,k);if((c|0)==65534){break g}d=c;break f}c=(i&65535)+n|0;d=x[(c<<1)+o>>1];if(d>>>0<55296){c=d;break e}c=c+1|0;if(d>>>0<=57343){c=(x[(c<<1)+o>>1]+(d<<10&1047552)|0)+9216|0;break e}if((d&65534)!=57344){break k}c=x[(c<<1)+o>>1];break e}if((i&13631488)==1048576){c=(i&1048575)+65536|0;break e}n=0;p:{switch(k-2|0){case 6:if(!w[m+29|0]){break g}v[b>>2]=12;h=c;break f;case 0:c=i&65535;break e;case 4:break g;case 5:break p;default:continue h}}v[b>>2]=12;break f}c=65535;if((d|0)!=65535){break g}}v[b>>2]=12;break e}if((e|0)!=(k|0)){continue}break}break}h=c;e=k;break f}if(v[b>>2]>0){break f}v[f+48>>2]=h;v[f+44>>2]=0;v[a+8>>2]=j;return-9}k=e+j|0;if((d|0)>-1){c=d}else{c=v[b>>2];if(!((k|0)!=(l|0)|(c|0)>0|(e|0)<1)){t[f+36|0]=e;e=f+37|0;while(1){t[e|0]=w[j|0];e=e+1|0;j=j+1|0;if(l>>>0>j>>>0){continue}break}v[b>>2]=11;c=65535;g=l;break e}q:{if((c|0)>=1){b=w[m+29|0];t[f+37|0]=w[j|0];if((e|0)==1){t[f+36|0]=1;break q}g=j+1|0;c=1;r:{if((e|0)<2){break r}e=f+38|0;d=((h&255)<<10)+p|0;j=!b;while(1){l=w[g|0];b=v[d+(l<<2)>>2];s:{if((b|0)>=0){b=AG(p,b>>>24|0);break s}b=b>>>20&15;b=(b|0)!=7&(j|(b|0)!=8)}if(b){break r}t[e|0]=l;c=c+1|0;e=e+1|0;g=g+1|0;if(k>>>0>g>>>0){continue}break}}t[f+36|0]=c;c=65535;break e}v[b>>2]=8}c=65535}g=k}v[f+44>>2]=0;v[f+48>>2]=h&255;v[a+8>>2]=g}return c|0}function kV(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=b;i=d;b=0;e=-1;a:{if(!a|!f){break a}b:{c:{h=a;a=v[a+12>>2];if(a){e=a;d:{while(1){d=v[e+16>>2];if(d){while(1){if(d+20>>>0<=f>>>0&y[d+4>>2]>=f>>>0){break d}d=v[d>>2];if(d){continue}break}}e=v[e+20>>2];if(e){continue}break}e=-1;f=Rd(a,f,-1);if(!f){break a}}e:{if(!c){break e}a=v[h+12>>2];e=a;while(1){if(!e){b=c;break e}d=v[e+16>>2];if(d){while(1){if(!(y[d+4>>2]>>0|d+20>>>0>c>>>0)){b=c;break e}d=v[d>>2];if(d){continue}break}}e=v[e+20>>2];if(e){continue}break}e=-1;b=Rd(a,c,-1);if(!b){break a}}if(!f){break c}c=b}e=w[f|0];d=B(e,30);if(e){a=f;while(1){d=((d<<5)+(d>>>3|0)|0)+(e<<24>>24)^d;e=w[a+1|0];a=a+1|0;if(e){continue}break}}b=c;break b}f=0;k=1;d=0}d=(d<<5)+(d>>>3|0)^d;f:{if(!b){break f}e=w[b|0];if(!e){break f}a=b;while(1){d=((e<<24>>24)+(d>>>3|0)|0)+(d<<5)^d;e=w[a+1|0];a=a+1|0;if(e){continue}break}}l=1;d=v[h>>2]+B((((d<<5)+(d>>>3|0)^d)>>>0)%y[h+4>>2]|0,24)|0;g:{if(!v[d+20>>2]){break g}e=v[d>>2];h:{if(v[h+12>>2]){if(e){while(1){a=d;d=e;if(!(v[a+12>>2]|(v[a+4>>2]!=(f|0)|v[a+8>>2]!=(b|0)))){v[a+16>>2]=i;e=0;break a}e=v[d>>2];if(e){continue}break}}if(v[d+4>>2]!=(f|0)){c=d;break h}if(v[d+8>>2]!=(b|0)){c=d;break h}if(v[d+12>>2]){c=d;break h}v[d+16>>2]=i;e=0;break a}c=d;if(e){while(1){g=c;c=e;i:{e=v[g+4>>2];if((f|0)!=(e|0)){a=f;if(!e|k){break i}while(1){j=w[e|0];if((j|0)!=w[a|0]){break i}a=a+1|0;e=e+1|0;if(j){continue}break}}e=v[g+8>>2];if((e|0)!=(b|0)){if(!e){break i}a=b;if(!a){break i}while(1){j=w[e|0];if((j|0)!=w[a|0]){break i}a=a+1|0;e=e+1|0;if(j){continue}break}}if(v[g+12>>2]){break i}v[g+16>>2]=i;e=0;break a}e=v[c>>2];if(e){continue}break}}j:{e=v[c+4>>2];if((f|0)!=(e|0)){if(!e|k){break h}a=f;while(1){g=w[e|0];if((g|0)!=w[a|0]){break j}a=a+1|0;e=e+1|0;if(g){continue}break}}e=v[c+8>>2];if((e|0)!=(b|0)){if(!e|!b){break h}a=b;while(1){g=w[e|0];if((g|0)!=w[a|0]){break j}a=a+1|0;e=e+1|0;if(g){continue}break}}if(v[c+12>>2]){break h}v[c+16>>2]=i;e=0;break a}if(!c){break g}}l=0;m=c;e=-1;d=Ub[v[259704]](24)|0;if(!d){break a}}k:{if(v[h+12>>2]){v[d+8>>2]=b;v[d+4>>2]=f;break k}c=0;e=0;l:{if(k){break l}e=f;while(1){a=e;e=e+1|0;if(w[a|0]){continue}break}e=0;a=a-f|0;if((a|0)<0){break l}g=Ub[v[259707]](a+1|0)|0;if(!g){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break l}e=gc(g,f,a);t[a+e|0]=0}v[d+4>>2]=e;m:{if(!b){break m}f=b;while(1){a=f;f=a+1|0;if(w[a|0]){continue}break}a=a-b|0;if((a|0)<0){break m}f=Ub[v[259707]](a+1|0)|0;if(!f){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break m}c=gc(f,b,a);t[a+c|0]=0}v[d+8>>2]=c}v[d+16>>2]=i;v[d+12>>2]=0;v[d+20>>2]=1;e=0;v[d>>2]=0;v[h+8>>2]=v[h+8>>2]+1;if(l){break a}v[m>>2]=d}return e}function OTa(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,n=0;f=Qb-48|0;Qb=f;a:{if(t[b+11|0]>=0){v[f+40>>2]=v[b+8>>2];g=v[b+4>>2];v[f+32>>2]=v[b>>2];v[f+36>>2]=g;break a}Ke(f+32|0,v[b>>2],v[b+4>>2])}t[f+11|0]=1;v[299999]=0;tc(f,460616,1);b=v[299999];v[299999]=0;b:{c:{d:{if((b|0)!=1){v[f+4>>2]=0;t[f+27|0]=1;v[299999]=0;tc(f+16|0,460624,1);b=v[299999];v[299999]=0;if((b|0)==1){break b}v[f+20>>2]=0;j=t[f+27|0];b=0;h=t[f+11|0];g=(h|0)<0;e:{f:{g:{h:{i:{j:{i=g?v[f+4>>2]:h&255;k:{if(i){b=w[f+43|0];h=b<<24>>24;b=(h|0)<0?v[f+36>>2]:b;if((i|0)>(b|0)){break k}h=(h|0)<0?v[f+32>>2]:f+32|0;k=h+(b<<2)|0;l=g?v[f>>2]:f;n=v[l>>2];g=h;while(1){b=b-i|0;m=b+1|0;if(m>>>0>>0){break k}b=sf(g,n,m);if(!b){break k}if(od(b,l,i)){g=b+4|0;b=k-g>>2;if((i|0)<=(b|0)){continue}break k}break}if((b|0)==(k|0)){break k}b=b-h|0;if((b|0)==-4){break k}b=b>>2}g=((j|0)>0?j:0)&255;while(1){v[299999]=0;h=w[f+27|0];j=h<<24>>24<0;ca(2342,f+32|0,b|0,i|0,(j?v[f+16>>2]:f+16|0)|0,(j?v[f+20>>2]:h)|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break j}b=pv(f+32|0,f,b+g|0);if((b|0)!=-1){continue}break}}if(t[f+27|0]<=-1){dc(v[f+16>>2])}if(t[f+11|0]<=-1){dc(v[f>>2])}v[299999]=0;h=a+8|0;b=jm(h,f+32|0);g=v[299999];v[299999]=0;if((g|0)==1){break e}i=(b|0)==(a+12|0);if(!i){break h}v[299999]=0;g=S(1,20)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break i}break d}b=P()|0;O()|0;if(t[f+27|0]<=-1){dc(v[f+16>>2])}if(t[f+11|0]>-1){break c}dc(v[f>>2]);break c}v[299999]=0;v[g+4>>2]=1;v[g>>2]=459608;v[g+8>>2]=0;v[g+12>>2]=0;v[g>>2]=466844;t[g+16|0]=0;b=g;j=v[299999];v[299999]=0;if((j|0)==1){b=P()|0;O()|0;dc(g);break c}g=v[v[g>>2]+20>>2];v[299999]=0;Z(g|0,b|0,c|0,d|0,e|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break d}l:{if(t[f+43|0]>=0){v[f+8>>2]=v[f+40>>2];c=v[f+36>>2];v[f>>2]=v[f+32>>2];v[f+4>>2]=c;break l}v[299999]=0;U(2345,f|0,v[f+32>>2],v[f+36>>2]);c=v[299999];v[299999]=0;if((c|0)==1){break g}}v[f+12>>2]=b;v[299999]=0;b=cg(h,f+16|0,f);c=v[299999];v[299999]=0;if((c|0)==1){break f}if(!v[b>>2]){v[299999]=0;g=S(1,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){break f}c=v[f+4>>2];v[g+16>>2]=v[f>>2];v[g+20>>2]=c;v[g+24>>2]=v[f+8>>2];v[f+8>>2]=0;v[f>>2]=0;v[f+4>>2]=0;v[g+28>>2]=v[f+12>>2];v[g+8>>2]=v[f+16>>2];v[g>>2]=0;v[g+4>>2]=0;v[b>>2]=g;c=v[v[h>>2]>>2];if(c){v[h>>2]=c;g=v[b>>2]}Uc(v[a+12>>2],g);v[a+16>>2]=v[a+16>>2]+1}if(t[f+11|0]>-1){break h}dc(v[f>>2])}if(t[f+43|0]<=-1){dc(v[f+32>>2])}Qb=f+48|0;return i|0}b=P()|0;O()|0;break c}b=P()|0;O()|0;if(t[f+11|0]>-1){break c}dc(v[f>>2]);break c}b=P()|0;O()|0;break c}break b}b=P()|0;O()|0}if(t[f+43|0]<=-1){dc(v[f+32>>2])}T(b|0);L()}W(0)|0;O()|0;lc();L()}function qQa(a,b){a=a|0;b=b|0;var 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;a:{b:{if(!b|!v[a+12>>2]){break b}p=a+16|0;q=v[p+84>>2];if((q|0)<1){break b}o=fc(40);v[299999]=0;h=SG(o);e=v[299999];v[299999]=0;if((e|0)==1){break a}while(1){c:{d:{e:{f:{k=gm(p,n);switch(v[k+60>>2]){case 0:break e;case 1:break f;default:break c}}c=v[v[a+12>>2]+2228504>>2];if(c){break d}break c}c=v[a+12>>2]}e=Qb-144|0;Qb=e;v[e+140>>2]=v[k>>2];d=fc(40);v[299999]=0;SG(d);f=v[299999];v[299999]=0;g:{if((f|0)!=1){v[e+132>>2]=0;v[e+128>>2]=d;v[e+120>>2]=1038792;v[e+124>>2]=e+128;t[e+15|0]=0;t[e+14|0]=0;fv(e+16|0,c,e+140|0,e+15|0,e+120|0,e+14|0);mg(e+92|0);Qb=e+144|0;e=v[e+128>>2];break g}a=P()|0;O()|0;dc(d);T(a|0);L()}if(!e){break c}c=v[e+16>>2];h:{if((c|0)<1){break h}f=v[e+8>>2];i=c&3;d=0;if(c-1>>>0>=3){c=c&-4;while(1){g=d<<4;j=g+f|0;A[j+8>>3]=-A[j+8>>3];j=f+(g|16)|0;A[j+8>>3]=-A[j+8>>3];j=f+(g|32)|0;A[j+8>>3]=-A[j+8>>3];g=f+(g|48)|0;A[g+8>>3]=-A[g+8>>3];d=d+4|0;c=c-4|0;if(c){continue}break}}if(!i){break h}while(1){c=f+(d<<4)|0;A[c+8>>3]=-A[c+8>>3];d=d+1|0;i=i-1|0;if(i){continue}break}}c=v[a+12>>2];l=+y[c+120>>2];m=+y[c+124>>2];f=v[e+16>>2];i:{if((f|0)<1){break i}m=25.4/m;l=25.4/l;i=v[e+8>>2];d=0;if((f|0)!=1){c=f&-2;while(1){j=d<<4;g=j+i|0;A[g>>3]=l*A[g>>3];A[g+8>>3]=m*A[g+8>>3];g=i+(j|16)|0;A[g>>3]=l*A[g>>3];A[g+8>>3]=m*A[g+8>>3];d=d+2|0;c=c-2|0;if(c){continue}break}}if(!(f&1)){break i}c=i+(d<<4)|0;A[c>>3]=l*A[c>>3];A[c+8>>3]=m*A[c+8>>3]}c=v[a+12>>2];m=+z[k+4>>2]*25.4/+y[c+120>>2]+ +z[a+24>>2];l=25.4/+y[c+124>>2]+ +C(z[a+28>>2]+z[k+8>>2]);f=v[e+16>>2];j:{if((f|0)<1){break j}k=v[e+8>>2];d=0;if((f|0)!=1){c=f&-2;while(1){g=d<<4;i=g+k|0;A[i>>3]=A[i>>3]+m;A[i+8>>3]=A[i+8>>3]+l;i=k+(g|16)|0;A[i>>3]=A[i>>3]+m;A[i+8>>3]=A[i+8>>3]+l;d=d+2|0;c=c-2|0;if(c){continue}break}}if(!(f&1)){break j}c=k+(d<<4)|0;A[c>>3]=A[c>>3]+m;A[c+8>>3]=A[c+8>>3]+l}c=v[h+16>>2];v[h+24>>2]=c+v[e+24>>2];d=v[h+20>>2];j=c;c=v[e+16>>2];f=j+c|0;if((d|0)<(f|0)){if(!d){v[h+20>>2]=32;d=32}if((d|0)<(f|0)){while(1){d=d<<1;if((f|0)>(d|0)){continue}break}v[h+20>>2]=d}r=h,s=be(v[h+8>>2],d<<4),v[r+8>>2]=s;r=h,s=be(v[h+12>>2],v[h+20>>2]),v[r+12>>2]=s;c=v[e+16>>2]}if((c|0)>=1){c=v[h+16>>2];d=0;while(1){f=v[e+8>>2]+(d<<4)|0;k=v[f+4>>2];c=v[h+8>>2]+(c<<4)|0;v[c>>2]=v[f>>2];v[c+4>>2]=k;k=v[f+12>>2];v[c+8>>2]=v[f+8>>2];v[c+12>>2]=k;t[v[h+12>>2]+v[h+16>>2]|0]=w[v[e+12>>2]+d|0];c=v[h+16>>2]+1|0;v[h+16>>2]=c;d=d+1|0;if((d|0)>2]){continue}break}}Ub[v[v[e>>2]+4>>2]](e)}n=n+1|0;if((q|0)!=(n|0)){continue}break}Ub[v[v[o>>2]+16>>2]](h,b)|0;Ub[v[v[o>>2]+4>>2]](h);n=1}return n|0}a=P()|0;O()|0;dc(o);T(a|0);L()}function Pm(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=v[a+344>>2]+1|0;v[a+344>>2]=c;a:{b:{if(c>>>0>2]){break b}if(!w[a+398|0]){break a}v[a+344>>2]=0;c:{if(!(w[a+208|0]&2)){f=w[a+399|0];c=f+1|0;b=c&255;if(b>>>0>6){break c}d=w[b+76663|0];g=(d+v[a+320>>2]|0)+(w[b+76656|0]^-1)|0;v[a+332>>2]=(g>>>0)/(d>>>0);e=w[b+76649|0];b=(e+v[a+324>>2]|0)+(w[b+76642|0]^-1)|0;v[a+328>>2]=(b>>>0)/(e>>>0);if(d>>>0<=g>>>0&b>>>0>=e>>>0){break c}c=f+2|0;b=c&255;if(b>>>0>6){break c}d=w[b+76663|0];g=(d+v[a+320>>2]|0)+(w[b+76656|0]^-1)|0;v[a+332>>2]=(g>>>0)/(d>>>0);e=w[b+76649|0];b=(e+v[a+324>>2]|0)+(w[b+76642|0]^-1)|0;v[a+328>>2]=(b>>>0)/(e>>>0);if(d>>>0<=g>>>0&b>>>0>=e>>>0){break c}c=f+3|0;b=c&255;if(b>>>0>6){break c}d=w[b+76663|0];g=(d+v[a+320>>2]|0)+(w[b+76656|0]^-1)|0;v[a+332>>2]=(g>>>0)/(d>>>0);e=w[b+76649|0];b=(e+v[a+324>>2]|0)+(w[b+76642|0]^-1)|0;v[a+328>>2]=(b>>>0)/(e>>>0);if(d>>>0<=g>>>0&b>>>0>=e>>>0){break c}c=f+4|0;b=c&255;if(b>>>0>6){break c}d=w[b+76663|0];g=(d+v[a+320>>2]|0)+(w[b+76656|0]^-1)|0;v[a+332>>2]=(g>>>0)/(d>>>0);e=w[b+76649|0];b=(e+v[a+324>>2]|0)+(w[b+76642|0]^-1)|0;v[a+328>>2]=(b>>>0)/(e>>>0);if(d>>>0<=g>>>0&b>>>0>=e>>>0){break c}c=f+5|0;b=c&255;if(b>>>0>6){break c}d=w[b+76663|0];g=(d+v[a+320>>2]|0)+(w[b+76656|0]^-1)|0;v[a+332>>2]=(g>>>0)/(d>>>0);e=w[b+76649|0];b=(e+v[a+324>>2]|0)+(w[b+76642|0]^-1)|0;v[a+328>>2]=(b>>>0)/(e>>>0);if(d>>>0<=g>>>0&b>>>0>=e>>>0){break c}c=f+6|0;b=c&255;if(b>>>0>6){break c}d=w[b+76663|0];g=(d+v[a+320>>2]|0)+(w[b+76656|0]^-1)|0;v[a+332>>2]=(g>>>0)/(d>>>0);e=w[b+76649|0];b=(e+v[a+324>>2]|0)+(w[b+76642|0]^-1)|0;v[a+328>>2]=(b>>>0)/(e>>>0);if(d>>>0<=g>>>0&b>>>0>=e>>>0){break c}c=f+7|0;if(f>>>0<249){break c}b=c&255;d=w[b+76663|0];g=(d+v[a+320>>2]|0)+(w[b+76656|0]^-1)|0;v[a+332>>2]=(g>>>0)/(d>>>0);e=w[b+76649|0];b=(e+v[a+324>>2]|0)+(w[b+76642|0]^-1)|0;v[a+328>>2]=(b>>>0)/(e>>>0);if(d>>>0<=g>>>0&b>>>0>=e>>>0){break c}c=f+8|0;f=c&255;if(f>>>0>6){break c}b=w[f+76663|0];v[a+332>>2]=((b+v[a+320>>2]|0)+(w[f+76656|0]^-1)>>>0)/(b>>>0);b=w[f+76649|0];v[a+328>>2]=((b+v[a+324>>2]|0)+(w[f+76642|0]^-1)>>>0)/(b>>>0);break c}c=w[a+399|0]+1|0}t[a+399|0]=c;if((c&255)>>>0>6){break a}c=v[a+352>>2];if(!c){break b}f=v[a+320>>2];a=B(w[a+403|0],w[a+406|0]);d:{if(a>>>0>=8){a=B(f,a>>>3|0);break d}a=B(a,f)+7>>>3|0}ic(c,0,a+1|0)}return}c=a+212|0;while(1){e:{f=Nj(c,4);if(f){if((f|0)!=1){break e}c=v[a+272>>2];f=v[a+228>>2];if(c>>>0>f>>>0){Mt(a,v[a+268>>2],c-f|0)}LP(a);v[a+256>>2]=0;return}if(v[a+228>>2]){continue}Mt(a,v[a+268>>2],v[a+272>>2]);f=v[a+272>>2];v[a+224>>2]=v[a+268>>2];v[a+228>>2]=f;continue}break}c=v[a+236>>2];if(!c){hd(a,48900);L()}hd(a,c);L()}function CLa(a,b){a=a|0;b=b|0;var 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;l=v[a+4>>2];c=v[l+44>>2];e=c?c:64;n=v[a+20>>2];d=v[a+16>>2];o=v[a+12>>2];g=v[a+8>>2];m=t[l+36|0];a:{b:{q=v[l+48>>2];h=q&3;c:{if(!h){p=n;break c}if((m|0)<1){p=n;break c}p=n;if(d>>>0>>0){break b}}c=0;break a}c=1}d:{e:{f:{g:{h:while(1){i:{j:{if(!c){c=e;k=o-g|0;i=p-d>>1;h=(i|0)>(k|0)?k:i;k:{if((h|0)<1){break k}while(1){i=w[g|0];l:{if((i<<24)-1342177280>>24>=0){c=e;e=(i+c|0)-144|0;if((e|0)>12287){break k}u[d>>1]=e;e=e&-128|64;break l}c=e;if(i>>>0>32){break k}u[d>>1]=i;e=(i|0)==32?e:64}g=g+1|0;d=d+2|0;c=(h|0)>1;h=h-1|0;if(c){continue}break}h=0;c=e}i=c;c=0;break j}k=q>>2;while(1){if(g>>>0>=o>>>0){i=e;break g}c=w[g|0];t[((m<<24>>24)+l|0)+37|0]=c;if(c>>>0<=32){c=t[c+864480|0]}else{c=c-13|0}m:{n:{o:{h=h-1|0;switch(h|0){case 0:break m;case 1:break o;default:break n}}c=B(c,243);break m}c=B(c,59049)}m=m+1|0;g=g+1|0;if((c|0)<0){break i}k=c+k|0;if(h){continue}break}h=0;m=0;j=e+k|0;if(j>>>0>1114111){break i}c=1}while(1){p:{q:{r:{s:{t:{u:{if(!c){v:{w:{x:{y:{z:{A:{if(d>>>0>>0){c=g;while(1){e=i;if(c>>>0>=o>>>0){g=c;break g}g=c+1|0;f=w[c|0];if((f<<24)-1342177280>>24>-1){break A}if(f>>>0>=33){if(g>>>0>>0&(f-37&255)>>>0<=213){break z}i=64;c=g;if((f|0)==255){continue}t[l+37|0]=f;if(f>>>0<80){break x}if(f>>>0>250){break y}c=B(f,243)-50480|0;h=1;break v}u[d>>1]=f;i=(f|0)==32?e:64;c=g;d=d+2|0;if(n>>>0>d>>>0){continue}break}}if(g>>>0>>0){break s}break g}j=(e+f|0)-144|0;if((j|0)>12287){break p}u[d>>1]=j;d=d+2|0;e=j&-128|64;p=v[a+20>>2];break r}r=c+2|0;c=w[c+1|0];B:{if(c>>>0>=33){c=c-13|0;break B}k=c&31;if(((c&63)>>>0>=32?1>>>k|0:((1<>>k)&1){break u}c=t[c+864480|0]}k=B(f,243)+(f>>>0>143?-50480:-19504)|0;j=c+(k+e|0)|0;if(j>>>0>=1114112){break u}g=r;break p}if(f>>>0>253){c=187660;h=3;break v}c=B(f,59049)-14810786|0;break w}if(f>>>0>=37){c=B(f,243)-19504|0;h=1;break v}if(f>>>0<34){c=-14536567;h=3;break v}c=B(f,59049)-2195326|0}h=2}q=h|c<<2;m=1;c=1;continue h}C:{D:{if(j-12352>>>0<=42851){i=12400;if((j|0)<12448){break D}i=30481;if(j-19968>>>0<20902){break D}i=49617;if((j|0)>44031){break D}i=j&-128|64;break D}i=j&-128|64;if((j|0)>65535){break C}}u[d>>1]=j;d=d+2|0;break q}u[d>>1]=(j>>>10|0)-10304;e=j&1023|-9216;c=d+2|0;if(c>>>0>=n>>>0){break t}u[d+2>>1]=e;d=d+4|0;break q}t[l+37|0]=f;t[l+38|0]=w[g|0];m=2;g=r;break i}t[l+65|0]=1;u[l+116>>1]=e;d=c}v[b>>2]=15;break e}c=0;continue h}c=0;continue}c=1;continue}}break}v[b>>2]=12;break f}if(v[b>>2]!=12){break e}}v[l+44>>2]=64;b=0;break d}v[l+44>>2]=i;b=k<<2|h}t[l+36|0]=m;v[l+48>>2]=b;v[a+16>>2]=d;v[a+8>>2]=g}function kUa(a,b){a=a|0;b=b|0;var 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;e=Qb-288|0;Qb=e;g=v[a+464>>2];a:{b:{if(v[g+40>>2]|!v[a+280>>2]){break b}d=v[a+460>>2];v[d+24>>2]=v[d+24>>2]+(v[g+12>>2]/8|0);v[g+12>>2]=0;if(!(Ub[v[d+8>>2]](a)|0)){break a}if(v[a+336>>2]>=1){while(1){v[((c<<2)+g|0)+20>>2]=0;c=c+1|0;if((c|0)>2]){continue}break}}v[g+16>>2]=0;v[g+40>>2]=v[a+280>>2];if(v[a+436>>2]){break b}v[g+36>>2]=0}c:{if(!v[g+36>>2]){o=v[a+428>>2];l=v[a+412>>2];d=v[a+420>>2];v[e+280>>2]=a;c=v[a+24>>2];v[e+264>>2]=v[c>>2];v[e+268>>2]=v[c+4>>2];p=-1<>2];d=v[a+408>>2];k=v[b>>2];f=v[g+8>>2];d:{e:{j=v[g+16>>2];if(j){break e}b=0;if((d|0)>(l|0)){break d}n=v[g+60>>2];while(1){f:{g:{h:{if((c|0)>7){break h}if(!bg(e+264|0,f,c,0)){break c}f=v[e+272>>2];c=v[e+276>>2];if((c|0)>7){break h}b=Wh(e+264|0,f,c,n,1);break g}b=f>>c-8&255;j=v[((b<<2)+n|0)+144>>2];if(j){b=w[(b+n|0)+1168|0];c=c-j|0;break f}b=Wh(e+264|0,f,c,n,9)}if((b|0)<0){break c}f=v[e+272>>2];c=v[e+276>>2]}h=b>>>4|0;i:{j:{switch(b&15){default:b=v[a>>2];v[b+20>>2]=121;Ub[v[b+4>>2]](a,-1);case 1:if((c|0)<=0){if(!bg(e+264|0,f,c,1)){break c}f=v[e+272>>2];c=v[e+276>>2]}c=c-1|0;q=f>>>c&1?m:p;break i;case 0:break j}}q=0;if((h|0)==15){break i}j=1<>>0<16){break e}if((c|0)<(h|0)){if(!bg(e+264|0,f,c,h)){break c}f=v[e+272>>2];c=v[e+276>>2]}c=c-h|0;j=(v[(h<<2)+72672>>2]&f>>c)+j|0;if(j){break e}b=0;break d}s=(d|0)>(l|0)?d:l;j=s+1|0;k:{while(1){b=d;d=(v[(d<<2)+o>>2]<<1)+k|0;l:{if(x[d>>1]){if((c|0)<=0){if(!bg(e+264|0,f,c,1)){break c}f=v[e+272>>2];c=v[e+276>>2]}c=c-1|0;if(!(f>>>c&1)){break l}r=u[d>>1];if(r&m){break l}u[d>>1]=((r|0)>-1?m:p)+r;break l}if((h|0)<1){break k}h=h-1|0}d=b+1|0;if((b|0)!=(s|0)){continue}break}b=j}if(q){d=v[(b<<2)+o>>2];u[(d<<1)+k>>1]=q;v[(i<<2)+e>>2]=d;i=i+1|0}d=b+1|0;if((b|0)<(l|0)){continue}break}b=0;break d}if((d|0)<=(l|0)){while(1){b=d;d=(v[(d<<2)+o>>2]<<1)+k|0;m:{if(!x[d>>1]){break m}if((c|0)<=0){if(!bg(e+264|0,f,c,1)){break c}f=v[e+272>>2];c=v[e+276>>2]}c=c-1|0;if(!(f>>>c&1)){break m}h=u[d>>1];if(h&m){break m}u[d>>1]=h+((h|0)>-1?m:p)}d=b+1|0;if((b|0)!=(l|0)){continue}break}}b=j-1|0}a=v[a+24>>2];v[a>>2]=v[e+264>>2];v[a+4>>2]=v[e+268>>2];v[g+16>>2]=b;v[g+12>>2]=c;v[g+8>>2]=f}v[g+40>>2]=v[g+40>>2]-1;c=1;break a}c=0;if((i|0)<1){break a}a=i-1|0;d=i&3;if(d){while(1){i=i-1|0;u[(v[(i<<2)+e>>2]<<1)+k>>1]=0;d=d-1|0;if(d){continue}break}}if(a>>>0<3){break a}while(1){a=(i<<2)+e|0;u[(v[a-4>>2]<<1)+k>>1]=0;u[(v[a-8>>2]<<1)+k>>1]=0;u[(v[a-12>>2]<<1)+k>>1]=0;a=i-4|0;u[(v[(a<<2)+e>>2]<<1)+k>>1]=0;b=(i|0)>4;i=a;if(b){continue}break}}Qb=e+288|0;return c|0}function _fa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=Qb-32|0;Qb=e;a:{c=v[b+12>>2];if(!c){v[a>>2]=0;Wc(a,0);break a}h=v[c+8>>2];c=v[c+4>>2];d=fc(72);v[299999]=0;g=Z(4919,d|0,h|0,c|0,0)|0;j=v[299999];v[299999]=0;b:{c:{if((j|0)!=1){v[e>>2]=0;Wc(e,g);d=v[b+12>>2];d:{e:{b=v[e>>2];if(!v[b+20>>2]){v[299999]=0;R(4368,b|0);g=v[299999];v[299999]=0;if((g|0)==1){break e}}f:{if(!x[b+8>>1]){g=x[b+14>>1];b=x[b+12>>1];if(v[282398]<(g+b|0)){v[299999]=0;a=aa(4369,e+8|0,260231,271771,577,336631,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break e}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}b=P()|0;O()|0;qc(a);break d}b=b+v[282397]|0;break f}b=v[b+20>>2]+x[b+12>>1]|0}g=x[v[e>>2]+14>>1];v[299999]=0;fa(5273,d|0,b|0,g|0,1,0);b=v[299999];v[299999]=0;if((b|0)==1){break e}g:{h:{i:{j:{k:{l:{if((h|0)<1){break l}if((c|0)>=1){g=c&-4;j=c&3;k=c-1>>>0<3;while(1){b=v[e>>2];if(!v[b+20>>2]){v[299999]=0;R(4368,b|0);c=v[299999];v[299999]=0;if((c|0)==1){break g}}m:{if(x[b+8>>1]<=i>>>0){c=x[b+14>>1];b=x[b+12>>1];if(v[282398]<(c+b|0)){break k}d=b+v[282397]|0;break m}d=v[b+20>>2]+(x[b+12>>1]+B(x[b+14>>1],i)|0)|0}b=0;c=g;if(!k){while(1){f=b+d|0;t[f|0]=w[f|0]^128;f=d+(b|1)|0;t[f|0]=w[f|0]^128;f=d+(b|2)|0;t[f|0]=w[f|0]^128;f=d+(b|3)|0;t[f|0]=w[f|0]^128;b=b+4|0;c=c-4|0;if(c){continue}break}}c=j;if(c){while(1){f=b+d|0;t[f|0]=w[f|0]^128;b=b+1|0;c=c-1|0;if(c){continue}break}}i=i+1|0;if((i|0)!=(h|0)){continue}break}break l}b=v[e>>2];if(!v[b+20>>2]){c=0;d=0;while(1){if(!c){v[299999]=0;R(4368,b|0);c=v[299999];v[299999]=0;if((c|0)==1){break j}}if(v[282398]<(x[b+12>>1]+x[b+14>>1]|0)&x[b+8>>1]<=d>>>0){break k}d=d+1|0;if((h|0)==(d|0)){break l}b=v[e>>2];c=v[b+20>>2];continue}}d=0;c=v[282398];g=x[b+8>>1];while(1){if((c|0)<(x[b+12>>1]+x[b+14>>1]|0)&d>>>0>=g>>>0){break k}d=d+1|0;if((h|0)!=(d|0)){continue}break}}v[299999]=0;V(4910,v[e>>2],256);b=v[299999];v[299999]=0;if((b|0)!=1){break h}break e}v[299999]=0;a=aa(4369,e+8|0,260231,271771,577,336631,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break i}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}b=P()|0;O()|0;qc(a);break d}b=P()|0;O()|0;break d}b=P()|0;O()|0;break d}b=v[e>>2];if(!b){v[a>>2]=0;break a}v[299999]=0;v[b+4>>2]=v[b+4>>2]+1;b=v[299999];v[299999]=0;if((b|0)==1){break e}b=a;a=v[e>>2];v[b>>2]=a;v[e>>2]=0;if(!a){break a}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break a}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break a}}W(0)|0;O()|0;lc();L()}b=P()|0;O()|0;break d}b=P()|0;O()|0}ec(e);break c}b=P()|0;O()|0;dc(d)}T(b|0)}L()}Qb=e+32|0}function Qia(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;v[a>>2]=0;Wc(a,b);a:{b:{c:{d:{g=c&3;e:{if(!g){break e}f:{if(c&1){v[299999]=0;h=S(1,24)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}d=x[b+8>>1];c=x[b+10>>1];v[299999]=0;d=Z(4743,h|0,c|0,d|0,0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break c}v[299999]=0;Q(4336,a|0,d|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){break f}break b}v[299999]=0;h=S(1,24)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}d=x[b+10>>1];c=x[b+8>>1];v[299999]=0;d=Z(4743,h|0,c|0,d|0,0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break d}v[299999]=0;Q(4336,a|0,d|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}}i=v[a>>2];g:{if(t[1180864]&1){break g}if(!Je(1180864)){break g}Ie(1180864)}h:{switch(g-1|0){case 2:if(!x[b+8>>1]){break e}g=x[i+8>>1];if(!g){break e}while(1){a=0;c=v[b+16>>2];h=c?c+B(B(x[b+12>>1],l),3)|0:0;d=g;while(1){c=d;d=c-1|0;e=0;i:{if((c|0)>x[i+8>>1]){break i}c=v[i+16>>2];e=0;if(!c){break i}e=c+B(B(x[i+12>>1],d),3)|0}j=e+B(l,3)|0;e=h+B(a,3)|0;c=w[e|0]|w[e+1|0]<<8;t[j|0]=c;t[j+1|0]=c>>>8;t[j+2|0]=w[e+2|0];a=a+1|0;if((g|0)!=(a|0)){continue}break}l=l+1|0;if(l>>>0>1]){continue}break};break e;case 1:e=x[i+8>>1];if(!e){break e}j=x[i+10>>1];if(!j){break e}g=j&3;n=j-1>>>0<3;c=e;while(1){a=0;j:{if(x[b+8>>1]<=k>>>0){break j}d=v[b+16>>2];a=0;if(!d){break j}a=d+B(B(x[b+12>>1],k),3)|0}h=c-1|0;l=0;k:{if(x[i+8>>1]<(c|0)){break k}c=v[i+16>>2];if(!c){break k}l=c+B(B(h,x[i+12>>1]),3)|0}c=j;d=g;if(d){while(1){c=c-1|0;m=B(c,3)+l|0;f=w[a|0]|w[a+1|0]<<8;t[m|0]=f;t[m+1|0]=f>>>8;t[m+2|0]=w[a+2|0];a=a+3|0;d=d-1|0;if(d){continue}break}}if(!n){while(1){m=B(c,3)+l|0;f=m-3|0;d=w[a|0]|w[a+1|0]<<8;t[f|0]=d;t[f+1|0]=d>>>8;t[f+2|0]=w[a+2|0];f=m-6|0;t[f+2|0]=w[a+5|0];d=w[a+3|0]|w[a+4|0]<<8;t[f|0]=d;t[f+1|0]=d>>>8;f=m-9|0;d=w[a+6|0]|w[a+7|0]<<8;t[f|0]=d;t[f+1|0]=d>>>8;t[f+2|0]=w[a+8|0];f=m-12|0;t[f+2|0]=w[a+11|0];d=w[a+9|0]|w[a+10|0]<<8;t[f|0]=d;t[f+1|0]=d>>>8;a=a+12|0;d=(c|0)>4;c=c-4|0;if(d){continue}break}}c=h;k=k+1|0;if((e|0)!=(k|0)){continue}break};break e;case 0:break h;default:break e}}h=x[i+10>>1];if(!h){break e}d=h;while(1){a=0;g=0;l:{if(x[b+8>>1]<=k>>>0){break l}c=v[b+16>>2];g=0;if(!c){break l}g=c+B(B(x[b+12>>1],k),3)|0}d=d-1|0;if(x[b+10>>1]){while(1){c=0;m:{if(x[i+8>>1]<=a>>>0){break m}e=v[i+16>>2];if(!e){break m}c=e+B(B(x[i+12>>1],a),3)|0}j=B(d,3)+c|0;e=g+B(a,3)|0;c=w[e|0]|w[e+1|0]<<8;t[j|0]=c;t[j+1|0]=c>>>8;t[j+2|0]=w[e+2|0];a=a+1|0;if(a>>>0>1]){continue}break}}k=k+1|0;if((h|0)!=(k|0)){continue}break}}return}c=P()|0;O()|0;dc(h);break a}c=P()|0;O()|0;dc(h);break a}c=P()|0;O()|0}ec(a);T(c|0);L()}function nia(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=Qb-32|0;Qb=e;v[a>>2]=0;a:{b:{c:{d:{if(v[c>>2]){f=v[v[b>>2]+32>>2];v[299999]=0;$(f|0,e+24|0,b|0,c|0,d|0);c=v[299999];v[299999]=0;if((c|0)==1){break d}v[299999]=0;Q(4344,a|0,e+24|0)|0;c=v[299999];v[299999]=0;e:{f:{g:{h:{i:{j:{if((c|0)!=1){c=v[e+24>>2];v[e+24>>2]=0;k:{if(!c){break k}v[299999]=0;f=v[c+4>>2]-1|0;v[c+4>>2]=f;g=v[299999];v[299999]=0;if((g|0)==1){break a}if(f){break k}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}c=v[a>>2];if(!c|!v[d>>2]){break b}v[299999]=0;v[e+8>>2]=0;Q(4336,e+8|0,0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break j}f=v[v[b>>2]+32>>2];v[299999]=0;$(f|0,e+16|0,b|0,d|0,e+8|0);b=v[299999];v[299999]=0;if((b|0)==1){break i}b=v[v[c>>2]+12>>2];v[299999]=0;U(b|0,e+24|0,c|0,e+16|0);b=v[299999];v[299999]=0;if((b|0)==1){break h}v[299999]=0;Q(4344,a|0,e+24|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break g}a=v[e+24>>2];v[e+24>>2]=0;l:{if(!a){break l}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break l}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}a=v[e+16>>2];v[e+16>>2]=0;m:{if(!a){break m}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break m}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}a=v[e+8>>2];v[e+8>>2]=0;if(!a){break b}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break b}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}break b}b=P()|0;O()|0;ec(e+24|0);break c}b=P()|0;O()|0;break c}b=P()|0;O()|0;break e}b=P()|0;O()|0;break f}b=P()|0;O()|0;ec(e+24|0)}ec(e+16|0)}ec(e+8|0);break c}if(!v[d>>2]){break b}v[299999]=0;v[e+16>>2]=0;Q(4336,e+16|0,0)|0;c=v[299999];v[299999]=0;n:{o:{p:{if((c|0)!=1){c=v[v[b>>2]+32>>2];v[299999]=0;$(c|0,e+24|0,b|0,d|0,e+16|0);b=v[299999];v[299999]=0;if((b|0)==1){break p}v[299999]=0;Q(4344,a|0,e+24|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break o}a=v[e+24>>2];v[e+24>>2]=0;q:{if(!a){break q}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break q}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}a=v[e+16>>2];v[e+16>>2]=0;if(!a){break b}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break b}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}}break a}b=P()|0;O()|0;break c}b=P()|0;O()|0;break n}b=P()|0;O()|0;ec(e+24|0)}ec(e+16|0);break c}b=P()|0;O()|0}ec(a);T(b|0);L()}Qb=e+32|0;return}W(0)|0;O()|0;lc();L()}function zY(a,b,c,d,e,f,g,h,i,j,k,l){var m=0,n=0,o=0,p=0;m=w[a+1592|0];a:{b:{if((e|0)<=-1){c:{if(m){break c}m=v[a+1532>>2];if(!m){break c}dc(m)}n=1;m=b;if(!m){n=0;e=c<<2;m=fc(B(e,d))}t[a+1592|0]=n;v[a+1532>>2]=m;o=a+1544|0;v[o>>2]=m;v[a+1556>>2]=e;v[a+1552>>2]=d;v[a+1548>>2]=c;n=a+1540|0;v[n>>2]=m;if((e|0)<0){break b}break a}d:{if(m){break d}m=v[a+1532>>2];if(!m){break d}dc(m)}n=1;m=b;if(!m){n=0;e=c<<2;m=fc(B(e,d))}t[a+1592|0]=n;v[a+1532>>2]=m;o=a+1544|0;v[o>>2]=m;v[a+1556>>2]=e;v[a+1552>>2]=d;v[a+1548>>2]=c;n=a+1540|0;v[n>>2]=m;if((e|0)>-1){break a}}v[o>>2]=B(1-d|0,e)+m}A[a+16>>3]=k;A[a+8>>3]=j;e=a+1564|0;v[a+1584>>2]=e;v[a+1580>>2]=d-1;v[a+1576>>2]=c-1;m=a+1568|0;v[m>>2]=0;v[m+4>>2]=0;m=e;e=a+1560|0;v[m>>2]=e;v[e>>2]=n;t[a+1536|0]=1;t[a+1724|0]=0;e=a+1700|0;v[e>>2]=0;v[e+4>>2]=0;e=a+1692|0;v[e>>2]=2147483647;v[e+4>>2]=2147483647;e=a+1684|0;v[e>>2]=0;v[e+4>>2]=0;e=a+1676|0;v[e>>2]=2147483647;v[e+4>>2]=2147483647;e=a+1636|0;v[e>>2]=0;v[e+4>>2]=0;e=a+1716|0;v[e>>2]=-2147483647;v[e+4>>2]=-2147483647;e=a+1708|0;v[e>>2]=2147483647;v[e+4>>2]=2147483647;v[a+2800>>2]=0;m=a+1732|0;k=+(g|0);j=k*256;j=j+(j<0?-.5:.5);e:{if(D(j)<2147483648){e=~~j;break e}e=-2147483648}v[m>>2]=e;n=a+1728|0;p=+(f|0);j=p*256;j=j+(j<0?-.5:.5);f:{if(D(j)<2147483648){m=~~j;break f}m=-2147483648}v[n>>2]=m;n=a+1740|0;j=+(g+i|0)*256;j=j+(j<0?-.5:.5);g:{if(D(j)<2147483648){g=~~j;break g}g=-2147483648}v[n>>2]=g;n=a+1736|0;j=+(f+h|0)*256;j=j+(j<0?-.5:.5);h:{if(D(j)<2147483648){f=~~j;break h}f=-2147483648}v[n>>2]=f;if((f|0)<(m|0)){v[a+1736>>2]=m;v[a+1728>>2]=f}if((e|0)>(g|0)){v[a+1740>>2]=e;v[a+1732>>2]=g}t[a+1756|0]=1;e=0;f=a+1760|0;while(1){m=f+(e<<2)|0;j=+(e|0)/255*255+.5;i:{if(j<4294967296&j>=0){g=~~j>>>0;break i}g=0}v[m>>2]=g;g=e|1;m=f+(g<<2)|0;j=+(g|0)/255*255+.5;j:{if(j<4294967296&j>=0){g=~~j>>>0;break j}g=0}v[m>>2]=g;e=e+2|0;if((e|0)!=256){continue}break}A[a+72>>3]=k;A[a+64>>3]=p;A[a+88>>3]=i|0;A[a+80>>3]=h|0;t[a+192|0]=0;v[a+160>>2]=2147483647;v[a+164>>2]=2147483647;v[a+144>>2]=2147483647;v[a+148>>2]=2147483647;v[a+104>>2]=0;v[a+108>>2]=0;f=a+96|0;v[f+1172>>2]=0;v[a+184>>2]=-2147483647;v[a+188>>2]=-2147483647;v[a+176>>2]=2147483647;v[a+180>>2]=2147483647;v[a+196>>2]=0;v[a+200>>2]=0;v[a+168>>2]=0;v[a+172>>2]=0;v[a+152>>2]=0;v[a+156>>2]=0;e=a;j=+(d|0)*256;j=j+(j<0?-.5:.5);k:{if(D(j)<2147483648){d=~~j;break k}d=-2147483648}v[e+208>>2]=d;e=a;j=+(c|0)*256;j=j+(j<0?-.5:.5);l:{if(D(j)<2147483648){c=~~j;break l}c=-2147483648}v[e+204>>2]=c;if((c|0)<=-1){v[a+204>>2]=0;v[a+196>>2]=c}if((d|0)<=-1){v[a+208>>2]=0;v[a+200>>2]=d}u[f+1432>>1]=0;t[a+224|0]=1;AY(a);v[a+2816>>2]=l;v[a>>2]=b}function lJ(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{if(!w[a+289|0]|!(w[a+2538|0]|w[a+2543|0])){break a}if(!(w[v[a+536>>2]+31|0]|v[a+12>>2]==3)){break a}b:{switch(w[a+336|0]-12|0){case 0:case 2:break b;default:break a}}b=1}h=w[a+498|0];c:{d:{e:{f:{g:{h:{c=v[a+536>>2];if(w[a+287|0]|b|(w[c+64|0]|w[c+65|0]?c:0)){break h}switch(h|0){case 0:case 8:break g;default:break h}}c=v[a+512>>2];if(!c){c=v[a+528>>2]}if(!w[c+31|0]|!w[c+32|0]){break e}c=fh(a,c,b);if(c){break d}c=6;if(w[a+497|0]){break f}break e}if(!w[a+288|0]&(h|0)!=8){break e}b=v[a+2248>>2];if(!h){c=o1(a,b,v[a+528>>2]);if(c){break d}}if(!w[b+31|0]|!w[b+32|0]){break e}c=fh(a,b,0);if(c){break d}c=8;if(!w[a+497|0]){break e}}t[a+498|0]=c}c=0;if(w[a+497|0]){break d}t[a+498|0]=0;xj(a,v[a+528>>2],0,0,0,0,0,0,0,1);if(w[a+2420|0]){c=QA(a);b=uJ(a);if(c){break d}c=b;if(b){break d}}if(w[a+2533|0]){c=QA(a);b=jc(40);v[b>>2]=0;f=Ue(a+2568|0,1,b,4);g=O()|0;b=0;i:{while(1){if(b){v[299999]=0;Z(755,a|0,6,b|0,0)|0;b=v[299999];v[299999]=0;d=-1;j:{if(!b){break j}e=v[3e5];if(!e){break j}d=sc(v[b>>2],f,g);if(!d){break c}_(e|0)}b=O()|0;if((d|0)==1){continue}dc(f);b=6;break i}b=v[a+2516>>2];if(b){d=v[a+2520>>2];e=v[a+156>>2];v[299999]=0;V(e|0,b|0,d|0);b=v[299999];v[299999]=0;d=-1;k:{if(!b){break k}e=v[3e5];if(!e){break k}d=sc(v[b>>2],f,g);if(!d){break c}_(e|0)}b=O()|0;if((d|0)==1){continue}v[a+2516>>2]=0}b=v[a+2452>>2];v[299999]=0;R(35,b|0);b=v[299999];v[299999]=0;d=-1;l:{if(!b){break l}e=v[3e5];if(!e){break l}d=sc(v[b>>2],f,g);if(!d){break c}_(e|0)}b=O()|0;if((d|0)==1){continue}break}t[a+2533|0]=0;dc(f);b=0}if(c){break d}c=b;if(b){break d}}if(w[a+2539|0]){c=QA(a);b=jc(40);v[b>>2]=0;f=Ue(a+2568|0,1,b,4);g=O()|0;b=0;m:{while(1){if(b){v[299999]=0;Z(755,a|0,6,b|0,0)|0;b=v[299999];v[299999]=0;d=-1;n:{if(!b){break n}e=v[3e5];if(!e){break n}d=sc(v[b>>2],f,g);if(!d){break c}_(e|0)}b=O()|0;if((d|0)==1){continue}dc(f);b=6;break m}b=v[a+2524>>2];if(b){d=v[a+2528>>2];e=v[a+156>>2];v[299999]=0;V(e|0,b|0,d|0);b=v[299999];v[299999]=0;d=-1;o:{if(!b){break o}e=v[3e5];if(!e){break o}d=sc(v[b>>2],f,g);if(!d){break c}_(e|0)}b=O()|0;if((d|0)==1){continue}v[a+2524>>2]=0}b=v[a+2464>>2];v[299999]=0;R(35,b|0);b=v[299999];v[299999]=0;d=-1;p:{if(!b){break p}e=v[3e5];if(!e){break p}d=sc(v[b>>2],f,g);if(!d){break c}_(e|0)}b=O()|0;if((d|0)==1){continue}break}t[a+2539|0]=0;dc(f);b=0}if(c){break d}c=b;if(b){break d}}if(h){v[a+288>>2]=0;v[a+292>>2]=0;u[a+286>>1]=0;t[a+293|0]=0;t[a+294|0]=0;t[a+295|0]=0;t[a+296|0]=0;t[a+297|0]=0;t[a+298|0]=0;t[a+299|0]=0;t[a+300|0]=0}c=0;if(!v[a+968>>2]|v[a+12>>2]==2){break d}t[a+502|0]=1}return c}dc(f);sd(b,e);L()}function ina(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=Qb-48|0;Qb=e;a:{b:{if(!w[a+144|0]){a=vc(e+24|0,231625,242011,164,226800,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}b=P()|0;O()|0;qc(a);T(b|0);L()}c=e+16|0;Pl(c,v[a+108>>2]);v[e+8>>2]=0;v[e+12>>2]=v[282402];v[299999]=0;V(4503,e|0,c|0);c=v[299999];v[299999]=0;c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{if((c|0)!=1){v[299999]=0;i=v[e>>2];c=Z(4504,i|0,e+8|0,0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break o}if(c){break l}v[299999]=0;c=aa(4369,e+24|0,v[282394],242011,2145,343886,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}v[299999]=0;R(4370,c|0);d=v[299999];v[299999]=0;if((d|0)!=1){break b}f=W(989228)|0;d=O()|0;qc(c);break m}f=P()|0;O()|0;break d}f=P()|0;O()|0;break e}f=W(989228)|0;d=O()|0}if((ja(989228)|0)!=(d|0)){break e}c=ea(f|0)|0;d=v[v[a>>2]+64>>2];g=v[a+132>>2];v[299999]=0;U(d|0,a|0,c|0,(g|0)<2|0);c=v[299999];v[299999]=0;if((c|0)==1){break k}v[299999]=0;ba(4230);c=v[299999];v[299999]=0;if((c|0)!=1){break l}f=P()|0;O()|0;break e}d=0;g=v[a+132>>2]>1?v[a+140>>2]:-1;f=g;while(1){c=d;p:{if(f){v[299999]=0;d=Z(4504,i|0,e+8|0,0,0)|0;h=v[299999];v[299999]=0;if((h|0)==1){d=c;break j}if(d){break p}g=c}d=0;if(v[a+140>>2]>-1){break i}v[a+140>>2]=g;break i}v[299999]=0;h=Y(4541,e+8|0,b|0,-1)|0;j=v[299999];v[299999]=0;d=c+1|0;if((j|0)==1){break j}if(!h){d=1;break i}f=f-1|0;v[299999]=0;R(4781,i|0);h=v[299999];v[299999]=0;if((h|0)!=1){continue}break}break j}f=P()|0;O()|0;v[299999]=0;ba(4230);a=v[299999];v[299999]=0;if((a|0)!=1){break e}break a}f=W(989228)|0;if((O()|0)!=(ja(989228)|0)){break e}g=ea(f|0)|0;b=v[a+132>>2];if(v[a+140>>2]<=-1){v[a+140>>2]=(b|0)>2?d:c}c=v[v[a>>2]+64>>2];d=0;v[299999]=0;U(c|0,a|0,g|0,(b|0)<2|0);b=v[299999];v[299999]=0;if((b|0)==1){break h}v[299999]=0;ba(4230);b=v[299999];v[299999]=0;if((b|0)==1){break g}}a=v[a+108>>2];v[299999]=0;V(4494,a|0,1);a=v[299999];v[299999]=0;if((a|0)==1){break f}a=v[e>>2];v[e>>2]=0;q:{if(!a){break q}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break q}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}ec(e+8|0);a=v[e+16>>2];v[e+16>>2]=0;r:{if(!a){break r}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break c}if(b){break r}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break c}}Qb=e+48|0;return d|0}f=P()|0;O()|0;v[299999]=0;ba(4230);a=v[299999];v[299999]=0;if((a|0)!=1){break e}break a}f=P()|0;O()|0;break e}f=P()|0;O()|0}ec(e)}ec(e+8|0);ec(e+16|0);T(f|0);L()}W(0)|0;O()|0;lc()}L()}W(0)|0;O()|0;lc();L()}function KQa(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,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0;H=Qb-480|0;Qb=H;A=v[a+332>>2];a=v[b+84>>2];b=H;while(1){n=v[a+160>>2];q=u[c+80>>1];h=v[a+32>>2];g=u[c+16>>1];i=v[a+224>>2];p=u[c+112>>1];j=v[a+96>>2];m=u[c+48>>1];k=B(u[c>>1],v[a>>2])<<13|1024;x=B(v[a+192>>2],u[c+96>>1]);y=k+B(x,-11586)|0;o=B(v[a+64>>2],u[c+32>>1]);l=B(v[a+128>>2],u[c+64>>1]);f=o-l|0;v[b+224>>2]=y+B(f,-11584)>>11;n=B(B(n,q),10033);h=B(h,g);g=B(i,p);r=h-g|0;q=n+B(r,11522)|0;p=k+B(x,9373)|0;C=B(f,374);i=l+o|0;l=B(i,10958);s=p+(C+l|0)|0;j=B(j,m);m=B(j,-11018);z=q+(B(g,20131)-m|0)|0;v[b+448>>2]=s-z>>11;v[b>>2]=s+z>>11;x=k+B(x,-3580)|0;s=B(f,2896);z=B(i,6476);k=x+(s+z|0)|0;D=j-g|0;E=B(D+h|0,6810);F=E+B(h,4209)|0;v[b+416>>2]=k-F>>11;v[b+32>>2]=k+F>>11;k=y+B(f,5792)|0;y=B(r,10033)-n|0;v[b+384>>2]=k-y>>11;v[b+64>>2]=k+y>>11;f=B(f,-3271);k=B(i,4482);i=p+(f-k|0)|0;m=(n+m|0)+B(g,-7121)|0;g=B(h+g|0,4712);m=m+g|0;v[b+288>>2]=i-m>>11;v[b+160>>2]=i+m>>11;o=B(o,11795);i=x+(C+(o-l|0)|0)|0;j=B(j,-6810);g=g+((j+B(h,3897)|0)-n|0)|0;v[b+352>>2]=i-g>>11;v[b+96>>2]=g+i>>11;g=s+(p-z|0)|0;n=E+B(D,-17828)|0;v[b+320>>2]=g-n>>11;v[b+128>>2]=g+n>>11;f=x+(f+(k-o|0)|0)|0;h=q+(j+B(h,-9113)|0)|0;v[b+256>>2]=f-h>>11;v[b+192>>2]=h+f>>11;b=b+4|0;a=a+4|0;c=c+2|0;G=G+1|0;if((G|0)!=8){continue}break}b=A+128|0;n=0;a=H;while(1){o=B(v[a+20>>2],10033);h=v[a+4>>2];f=v[a+28>>2];l=h-f|0;x=o+B(l,11522)|0;c=v[(n<<2)+d>>2]+e|0;k=v[a+12>>2];y=B(k,-11018);m=x+(B(f,20131)-y|0)|0;j=(v[a>>2]<<13)+131072|0;p=v[a+24>>2];A=j+B(p,9373)|0;q=v[a+8>>2];i=v[a+16>>2];g=q-i|0;r=B(g,374);i=i+q|0;C=B(i,10958);s=A+(r+C|0)|0;t[c|0]=w[b+(m+s>>>18&1023)|0];t[c+14|0]=w[b+(s-m>>>18&1023)|0];s=k-f|0;z=B(s+h|0,6810);D=z+B(h,4209)|0;m=j+B(p,-3580)|0;E=B(g,2896);F=B(i,6476);G=m+(E+F|0)|0;t[c+1|0]=w[b+(D+G>>>18&1023)|0];t[c+13|0]=w[b+(G-D>>>18&1023)|0];l=B(l,10033)-o|0;p=j+B(p,-11586)|0;j=p+B(g,5792)|0;t[c+2|0]=w[b+(l+j>>>18&1023)|0];t[c+12|0]=w[b+(j-l>>>18&1023)|0];j=B(h+f|0,4712);k=B(k,-6810);l=j+((k+B(h,3897)|0)-o|0)|0;q=B(q,11795);r=m+(r+(q-C|0)|0)|0;t[c+3|0]=w[b+(l+r>>>18&1023)|0];t[c+11|0]=w[b+(r-l>>>18&1023)|0];l=z+B(s,-17828)|0;r=E+(A-F|0)|0;t[c+4|0]=w[b+(l+r>>>18&1023)|0];t[c+10|0]=w[b+(r-l>>>18&1023)|0];f=j+((o+y|0)+B(f,-7121)|0)|0;o=B(g,-3271);i=B(i,4482);j=A+(o-i|0)|0;t[c+5|0]=w[b+(f+j>>>18&1023)|0];t[c+9|0]=w[b+(j-f>>>18&1023)|0];h=x+(k+B(h,-9113)|0)|0;f=m+(o+(i-q|0)|0)|0;t[c+6|0]=w[b+(h+f>>>18&1023)|0];t[c+8|0]=w[b+(f-h>>>18&1023)|0];t[c+7|0]=w[b+(p+B(g,-11584)>>>18&1023)|0];a=a+32|0;n=n+1|0;if((n|0)!=15){continue}break}Qb=H+480|0}function BU(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=Qb+-64|0;Qb=e;h=34;a:{b:{switch(w[v[v[a+36>>2]+16>>2]]-34|0){default:if(!(!v[a+212>>2]|v[a+172>>2]!=-1)){break a}v[a+84>>2]=36;v[e>>2]=289960;oc(0,0,0,a,0,1,36,3,0,0,0,0,350078,e);v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1;break a;case 5:h=39;break;case 0:break b}}f=Ub[v[259707]](100)|0;if(!f){Qd(a,0);break a}v[a+172>>2]=11;c:{k=v[a+36>>2];if(v[a+292>>2]|(v[k+20>>2]-v[k+16>>2]|0)>249){break c}nd(a);if(v[a+172>>2]!=-1){break c}Ub[v[259708]](f);break a}xd(a);j=100;d=bf(a,e+60|0);while(1){d:{e:{if((d|0)<=255){if((d|0)>31){break e}if(d>>>0>13){break d}if(1<>>0<1048576){break e}if(d-57344>>>0>8189){break d}}if(!((d|0)!=(h|0)|v[a+36>>2]!=(k|0))){d=h;break d}if(v[a+172>>2]==-1){break d}f:{if((i+5|0)<(j|0)){c=f;break f}j=j<<1;c=Ub[v[259709]](f,j)|0;if(c){break f}c=0;Qd(a,0);Ub[v[259708]](f);break a}f=c;g:{if(v[e+60>>2]==1){t[f+i|0]=d;c=i+1|0;break g}c=li(f+i|0,d)+i|0}i=c;c=v[a+36>>2];g=v[c+16>>2];h:{if(w[g|0]==10){v[c+32>>2]=1;v[c+28>>2]=v[c+28>>2]+1;break h}v[c+32>>2]=v[c+32>>2]+1}d=g+v[e+60>>2]|0;v[c+16>>2]=d;g=w[d|0];if((g|0)==37){wd(a);c=v[a+36>>2];d=v[c+16>>2];g=w[d|0]}i:{if(v[a+40>>2]<=1|g){break i}while(1){vd(a);c=v[a+36>>2];d=v[c+16>>2];if(w[d|0]){break i}if(v[a+40>>2]>=2){continue}break}}if(!(v[a+292>>2]|(v[c+20>>2]-d|0)>249)){nd(a)}d=bf(a,e+60|0);if(d){continue}j:{if(v[a+292>>2]){break j}c=v[a+36>>2];if((v[c+20>>2]-v[c+16>>2]|0)>249){break j}nd(a)}d=bf(a,e+60|0);continue}break}c=0;t[f+i|0]=0;k:{if(v[a+172>>2]!=-1){c=f;break k}Ub[v[259708]](f);break a}while(1){l:{v[e+56>>2]=c;m:{n:{o:{p:{g=w[c|0];switch(g-37|0){case 0:break o;case 1:break p;default:break n}}if(w[c+1|0]==35){break m}}v[e+56>>2]=c+1;c=AF(a,e+56|0);if(!(w[v[e+56>>2]]==59?c:0)){ok(a,87,349071,g)}q:{if((g|0)!=37|v[a+216>>2]!=1|(v[a+40>>2]!=1|(v[a+172>>2]==-1?v[a+212>>2]:0))){break q}v[a+84>>2]=88;v[e+48>>2]=233159;oc(0,0,0,a,0,1,88,3,0,0,0,0,350078,e+48|0);v[a+12>>2]=0;if(v[a+288>>2]){break q}v[a+212>>2]=1}if(c){Ub[v[259708]](c)}c=v[e+56>>2];if(!w[c|0]){break l}break m}if(!g){break l}}c=c+1|0;continue}break}if((d|0)!=(h|0)){r:{if(!a){v[e+16>>2]=289960;oc(0,0,0,0,0,1,37,3,0,0,0,0,350078,e+16|0);break r}if(v[a+172>>2]==-1?v[a+212>>2]:0){break r}v[a+84>>2]=37;v[e+32>>2]=289960;oc(0,0,0,a,0,1,37,3,0,0,0,0,350078,e+32|0);v[a+12>>2]=0;if(v[a+288>>2]){break r}v[a+212>>2]=1}c=0;Ub[v[259708]](f);break a}xd(a);d=v[a+248>>2]+1|0;v[a+248>>2]=d;c=0;h=a;if(!(!a|!f)){c=Ey(a,f,kl(f),2);d=v[a+248>>2]}v[h+248>>2]=d-1;if(b){v[b>>2]=f;break a}Ub[v[259708]](f)}Qb=e- -64|0;return c}function cXa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=v[a+492>>2];i=v[b+16>>2];e=v[b+8>>2];Ub[v[b+28>>2]](b);c=3;a=v[b>>2];a:{b:{if(a>>>0>=e>>>0){break b}a=w[a|0];c:{if(a-48>>>0<=9){a=Ub[v[b+36>>2]](b)|0;v[b+144>>2]=a;if(v[b+12>>2]){break a}if((a|0)<0){break b}f=a;a=v[b>>2];d=e-a>>2;if((f|0)<=(d|0)){break c}v[b+144>>2]=d;break c}if((a|0)!=60){break b}Ub[v[b+32>>2]](b);if(v[b+12>>2]){break a}Ub[v[b+28>>2]](b);d=v[b>>2];if(d>>>0>=e>>>0){a=d;break c}a=d;while(1){a=w[a|0]-47|0;d:{if(a){if((a|0)!=15){break d}v[b>>2]=d;v[b+144>>2]=h;a=d;break c}h=h+1|0}Ub[v[b+32>>2]](b);if(v[b+12>>2]){break a}Ub[v[b+28>>2]](b);a=v[b>>2];if(e>>>0>a>>>0){continue}break}}if(v[b+264>>2]|a>>>0>=e>>>0){break b}k=b+200|0;c=Ub[v[v[g>>2]>>2]](k,v[b+144>>2],i)|0;if(c){break b}l=b+148|0;c=Ub[v[v[g>>2]>>2]](l,v[b+144>>2],i)|0;if(c){break b}h=b+252|0;c=Ub[v[v[g>>2]>>2]](h,4,i)|0;if(c){break b}Ub[v[b+28>>2]](b);a=v[b>>2];if(e>>>0>a>>>0){i=0;g=0;d=0;while(1){e:{f:{c=w[a|0];if((c|0)!=101){if((c|0)==62){break e}break f}if(w[a+1|0]!=110|a+3>>>0>=e>>>0|w[a+2|0]!=100){break f}switch(w[a+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:break e;default:break f}}Ub[v[b+32>>2]](b);f=v[b>>2];if(f>>>0>=e>>>0){c=3;break b}if(v[b+12>>2]){break a}g:{h:{j=w[a|0];switch(j-40|0){case 0:case 7:break h;default:break g}}c=3;m=(j|0)==40;if((m?3:2)+a>>>0>=e>>>0){break b}a=a+1|0;f=(f-a|0)-m|0;c=Ub[v[b+192>>2]](l,d,a,f+1|0)|0;if(c){break b}c=f;f=d<<2;t[c+v[f+v[b+172>>2]>>2]|0]=0;if(w[a|0]==46){a=mc(273792,v[f+v[b+172>>2]>>2]);i=a?i:1;g=a?g:d}Ub[v[b+28>>2]](b);if((j|0)==40){Ub[v[b+32>>2]](b)}a=v[b>>2];Ub[v[b+36>>2]](b)|0;c=3;j=v[b>>2];if(j>>>0>=e>>>0){break b}c=a;a=j-a|0;c=Ub[v[b+244>>2]](k,d,c,a+1|0)|0;if(c){break b}t[a+v[f+v[b+224>>2]>>2]|0]=0;d=d+1|0;if((d|0)>=v[b+144>>2]){break e}}Ub[v[b+28>>2]](b);a=v[b>>2];if(e>>>0>a>>>0){continue}}break}v[b+144>>2]=d;if(!(i&255)){c=3;break b}a=v[v[b+172>>2]>>2];if(!mc(273792,a)){break a}c=Ub[v[b+296>>2]](h,0,a,v[v[b+176>>2]>>2])|0;if(c){break b}c=Ub[v[b+296>>2]](h,1,v[v[b+224>>2]>>2],v[v[b+228>>2]>>2])|0;if(c){break b}a=g<<2;c=Ub[v[b+296>>2]](h,2,v[a+v[b+172>>2]>>2],v[a+v[b+176>>2]>>2])|0;if(c){break b}c=Ub[v[b+296>>2]](h,3,v[a+v[b+224>>2]>>2],v[a+v[b+228>>2]>>2])|0;if(c){break b}c=Ub[v[b+192>>2]](l,g,v[v[b+276>>2]>>2],v[v[b+280>>2]>>2])|0;if(c){break b}c=Ub[v[b+244>>2]](k,g,v[v[b+276>>2]+4>>2],v[v[b+280>>2]+4>>2])|0;if(c){break b}c=Ub[v[b+192>>2]](l,0,v[v[b+276>>2]+8>>2],v[v[b+280>>2]+8>>2])|0;if(c){break b}c=Ub[v[b+244>>2]](k,0,v[v[b+276>>2]+12>>2],v[v[b+280>>2]+12>>2])|0;if(!c){break a}break b}v[b+144>>2]=0;c=3}v[b+12>>2]=c}}function yA(a){var 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;a:{b:{if(!a){break b}c:{switch((a?v[a+8>>2]:-1)-1|0){case 0:g=Qb-16|0;Qb=g;d:{if(!(!a|((a?v[a+8>>2]:-1)|0)!=1)){b=g+12|0;d=g+8|0;if(a){if(b){v[b>>2]=v[a>>2]}if(d){v[d>>2]=v[a+4>>2]}}d=Ug(v[g+12>>2],v[g+8>>2],8);if(!d){break d}if(!(!a|!d|(a|0)==(d|0))){v[d+20>>2]=v[a+20>>2];v[d+24>>2]=v[a+24>>2]}k=bd(16,4);if(!k){break d}t[g+7|0]=0;t[g+6|0]=255;while(1){b=g+6|0;v[k+(c<<2)>>2]=w[b+(c&1)|0]|(w[b+(c>>>2&1)|0]<<16|w[b+(c>>>3|0)|0]<<24|w[b+(c>>>1&1)|0]<<8);c=c+1|0;if((c|0)!=16){continue}break}l=a?v[a+40>>2]:0;h=a?v[a+12>>2]:-1;f=d?v[d+40>>2]:0;i=d?v[d+12>>2]:-1;e:{if(v[g+8>>2]<1){break e}c=v[g+12>>2];if((c|0)<1){break e}a=(c+3|0)/4|0;a=(a|0)>1?a:1;b=a&2147483646;r=a&1;s=(c|0)<5;while(1){m=(B(i,j)<<2)+f|0;o=(B(h,j)<<2)+l|0;c=0;a=b;if(!s){while(1){n=c<<2;p=n&24;e=o+(c>>>1&2147483644)|0;v[m+n>>2]=v[k+((v[e>>2]>>>(p^28)&15)<<2)>>2];v[m+(n|4)>>2]=v[k+((v[e>>2]>>>(p^24)&15)<<2)>>2];c=c+2|0;a=a-2|0;if(a){continue}break}}if(r){a=c<<2;v[a+m>>2]=v[k+((v[o+(c>>>1&2147483644)>>2]>>>((a^-1)&28)&15)<<2)>>2]}j=j+1|0;if((j|0)>2]){continue}break}}dc(k)}c=d}Qb=g+16|0;return c;case 1:return j0(a,0);case 3:return i0(a,0);case 7:b=a?v[a+36>>2]:0;if(!b){return Xe(0,a)}if(b){return Vj(a,1)}a=Xe(0,a);f:{if(!a){break f}b=a;if(a){c=v[b+8>>2]}else{c=-1}if((c|0)!=8|(b?v[b+36>>2]:0)){break f}i=b;b=bd(1,16);g:{if(!b){break g}v[b+8>>2]=256;v[b+4>>2]=8;f=bd(256,4);if(!f){break g}v[b>>2]=f;d=b;e=v[b+12>>2];l=v[b+8>>2];if((e|0)>=(l|0)){break g}f=v[b+12>>2];h=v[b>>2];d=0;while(1){if((e|0)<(l|0)){c=h+(e<<2)|0;f=(B(d,255)|0)/255|0;t[c+1|0]=f;t[c+2|0]=f;t[c|0]=f;f=e+1|0;e=f}d=d+1|0;if((d|0)!=256){continue}break}v[b+12>>2]=f;d=b}AI(i,d)}break a;case 15:a=k0(a);break a;case 31:break c;default:break b}}e=Qb-16|0;Qb=e;h:{if(!a|((a?v[a+8>>2]:-1)|0)!=32){break h}i=e+12|0;b=e+8|0;if(a){if(i){v[i>>2]=v[a>>2]}if(b){v[b>>2]=v[a+4>>2]}}f=a?v[a+40>>2]:0;b=a?v[a+12>>2]:-1;h=Ug(v[e+12>>2],v[e+8>>2],8);if(!h){break h}if(!(!a|!h|(a|0)==(h|0))){v[h+20>>2]=v[a+20>>2];v[h+24>>2]=v[a+24>>2]}i=h?v[h+40>>2]:0;a=h?v[h+12>>2]:-1;c=v[e+8>>2];i:{if((c|0)<1){break i}d=v[e+12>>2];if((d|0)<1){break i}l=a<<2;b=b<<2;while(1){a=0;if((d|0)>=1){while(1){g=a+i^3;c=v[(a<<2)+f>>2];q=+C(C(C((c>>>8&255)>>>0)*C(.20000000298023224))+C(C(C(c>>>24>>>0)*C(.30000001192092896))+C(C((c>>>16&255)>>>0)*C(.5))))+.5;j:{if(D(q)<2147483648){d=~~q;break j}d=-2147483648}t[g|0]=d;a=a+1|0;d=v[e+12>>2];if((a|0)<(d|0)){continue}break}c=v[e+8>>2]}i=i+l|0;f=b+f|0;j=j+1|0;if((c|0)>(j|0)){continue}break}}d=h}Qb=e+16|0}return d}return a}function l3a(a){a=a|0;var 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;e=Qb+-64|0;Qb=e;g=v[a+16>>2];b=161;a:{if(y[a+20>>2]>>0){break a}f=v[a+32>>2];n=f+48|0;t[f+64|0]=1;j=-2147483648;i=2147483647;while(1){b=l<<2;k=b+e|0;o=b+(e+32|0)|0;c=v[g>>2];d=w[c|0];b:{if((d|0)==30){b=sh(a,c,0,k);break b}h=c+1|0;c:{d:{e:{switch(d-28|0){case 0:b=0;if(y[a+8>>2]<=c+2>>>0){break c}b=w[c+2|0]|w[h|0]<<8;break c;case 1:b=0;if(y[a+8>>2]<=c+4>>>0){break c}b=w[c+1|0]|w[c+2|0]<<8|(w[c+3|0]<<16|w[c+4|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break d;default:break e}}if(d>>>0<=246){b=d-139|0;break c}c=v[a+8>>2];if(d>>>0<=250){b=0;if(c>>>0<=h>>>0){break c}b=(w[h|0]|d<<8)-63124|0;break c}b=0;if(c>>>0<=h>>>0){break c}b=64148-(w[h|0]|d<<8)|0}if((b|0)<32768){break c}m=b;c=5;f:{if((b|0)<1e5){break f}c=6;if((b|0)<=999999){break f}c=7;if((b|0)<1e7){break f}c=8;if((b|0)<1e8){break f}c=(b|0)<1e9?9:10}d=c-5|0;h=v[(d<<2)+379040>>2];if(((m|0)/(h|0)|0)>=32768){c=c-4|0;v[k>>2]=c;b=ad(b,v[(c<<2)+379040>>2]);break b}v[k>>2]=d;b=ad(b,h);break b}v[k>>2]=0;b=b<<16}v[o>>2]=b;if(b){b=v[k>>2];i=(b|0)<(i|0)?b:i;j=(b|0)>(j|0)?b:j}g=g+4|0;l=l+1|0;if((l|0)!=6){continue}break}if(!(j+9>>>0>9|j-i>>>0>9)){k=0;g=0;b=v[e+32>>2];if(b){g=v[(j-v[e>>2]<<2)+379040>>2];c=g>>1;m=e;g:{if((b|0)<=-1){a=(b-c|0)/(g|0)|0;if((b|0)>(c|-2147483648)){break g}a=-2147483648/(g|0)|0;break g}a=(b+c|0)/(g|0)|0;if((b|0)<(2147483647-c|0)){break g}a=2147483647/(g|0)|0}g=a;v[m+32>>2]=g}b=v[e+36>>2];if(b){d=v[(j-v[e+4>>2]<<2)+379040>>2];c=d>>1;k=(((b|0)>=0?(b|0)<(2147483647-c|0)?b+c|0:2147483647:(b|0)>(c|-2147483648)?b-c|0:-2147483648)|0)/(d|0)|0;v[e+36>>2]=k}b=0;d=0;c=v[e+40>>2];if(c){i=v[(j-v[e+8>>2]<<2)+379040>>2];d=i>>1;d=(((c|0)>=0?(c|0)<(2147483647-d|0)?c+d|0:2147483647:(c|0)>(d|-2147483648)?c-d|0:-2147483648)|0)/(i|0)|0;v[e+40>>2]=d}a=v[e+44>>2];if(a){c=v[(j-v[e+12>>2]<<2)+379040>>2];b=c>>1;b=(((a|0)>=0?(a|0)<(2147483647-b|0)?a+b|0:2147483647:(a|0)>(b|-2147483648)?a-b|0:-2147483648)|0)/(c|0)|0}i=0;h=0;a=v[e+48>>2];if(a){h=v[(j-v[e+16>>2]<<2)+379040>>2];c=h>>1;h=(((a|0)>=0?(a|0)<(2147483647-c|0)?a+c|0:2147483647:(a|0)>(c|-2147483648)?a-c|0:-2147483648)|0)/(h|0)|0}a=v[e+52>>2];if(a){i=v[(j-v[e+20>>2]<<2)+379040>>2];c=i>>1;i=(((a|0)>=0?(a|0)<(2147483647-c|0)?a+c|0:2147483647:(a|0)>(c|-2147483648)?a-c|0:-2147483648)|0)/(i|0)|0}v[f+48>>2]=g;v[f+72>>2]=h;v[f+56>>2]=k;v[f+76>>2]=i;v[f+60>>2]=b;v[f+52>>2]=d;v[f+68>>2]=v[379040-(j<<2)>>2];b=0;if(iA(n)){break a}}v[f+48>>2]=65536;v[f+52>>2]=0;v[f+68>>2]=1;v[f+72>>2]=0;v[f+76>>2]=0;v[f+56>>2]=0;v[f+60>>2]=65536;b=0}Qb=e- -64|0;return b|0}function i$(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;b=ic(b,0,196);d=w[a+188|0];t[b+8|0]=d;a:{if(!d){break a}f=d&3;if(d-1>>>0>=3){d=d&252;g=b+12|0;h=a+192|0;while(1){u[g+(c<<1)>>1]=v[h+(c<<2)>>2];e=c|1;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];e=c|2;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];e=c|3;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];c=c+4|0;d=d-4|0;if(d){continue}break}}if(!f){break a}while(1){u[(b+(c<<1)|0)+12>>1]=v[((c<<2)+a|0)+192>>2];c=c+1|0;f=f-1|0;if(f){continue}break}}d=w[a+189|0];t[b+9|0]=d;b:{if(!d){break b}f=d&3;c=0;if(d-1>>>0>=3){d=d&252;g=b+40|0;h=a+248|0;while(1){u[g+(c<<1)>>1]=v[h+(c<<2)>>2];e=c|1;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];e=c|2;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];e=c|3;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];c=c+4|0;d=d-4|0;if(d){continue}break}}if(!f){break b}while(1){u[(b+(c<<1)|0)+40>>1]=v[((c<<2)+a|0)+248>>2];c=c+1|0;f=f-1|0;if(f){continue}break}}d=w[a+190|0];t[b+10|0]=d;c:{if(!d){break c}f=d&3;c=0;if(d-1>>>0>=3){d=d&252;g=b+60|0;h=a+288|0;while(1){u[g+(c<<1)>>1]=v[h+(c<<2)>>2];e=c|1;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];e=c|2;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];e=c|3;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];c=c+4|0;d=d-4|0;if(d){continue}break}}if(!f){break c}while(1){u[(b+(c<<1)|0)+60>>1]=v[((c<<2)+a|0)+288>>2];c=c+1|0;f=f-1|0;if(f){continue}break}}d=w[a+191|0];t[b+11|0]=d;d:{if(!d){break d}f=d&3;c=0;if(d-1>>>0>=3){d=d&252;g=b+88|0;h=a+344|0;while(1){u[g+(c<<1)>>1]=v[h+(c<<2)>>2];e=c|1;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];e=c|2;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];e=c|3;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];c=c+4|0;d=d-4|0;if(d){continue}break}}if(!f){break d}while(1){u[(b+(c<<1)|0)+88>>1]=v[((c<<2)+a|0)+344>>2];c=c+1|0;f=f-1|0;if(f){continue}break}}v[b+108>>2]=v[a+384>>2];v[b+112>>2]=v[a+388>>2];v[b+116>>2]=v[a+392>>2];u[b+120>>1]=v[a+396>>2];u[b+122>>1]=v[a+400>>2];d=w[a+404|0];t[b+124|0]=d;e:{if(!d){break e}f=d&3;c=0;if(d-1>>>0>=3){d=d&252;g=b+128|0;h=a+408|0;while(1){u[g+(c<<1)>>1]=v[h+(c<<2)>>2];e=c|1;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];e=c|2;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];e=c|3;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];c=c+4|0;d=d-4|0;if(d){continue}break}}if(!f){break e}while(1){u[(b+(c<<1)|0)+128>>1]=v[((c<<2)+a|0)+408>>2];c=c+1|0;f=f-1|0;if(f){continue}break}}d=w[a+405|0];t[b+125|0]=d;f:{if(!d){break f}f=d&3;c=0;if(d-1>>>0>=3){d=d&252;g=b+154|0;h=a+460|0;while(1){u[g+(c<<1)>>1]=v[h+(c<<2)>>2];e=c|1;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];e=c|2;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];e=c|3;u[g+(e<<1)>>1]=v[h+(e<<2)>>2];c=c+4|0;d=d-4|0;if(d){continue}break}}if(!f){break f}while(1){u[(b+(c<<1)|0)+154>>1]=v[((c<<2)+a|0)+460>>2];c=c+1|0;f=f-1|0;if(f){continue}break}}t[b+126|0]=w[a+512|0];v[b+184>>2]=v[a+524>>2];v[b+4>>2]=v[a+520>>2]}function U4(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0;f=v[a+584>>2];d=x[f+834>>1];e=x[f+836>>1];d=B(B(e,d)+2|0,B(v[f+72>>2],((d+v[f+28>>2]|0)-1>>>0)/(d>>>0)|0))+7>>>3|0;i=(c|0)/(d|0)|0;q=B(e,i);p=v[f+888>>2];if((B(d,i)|0)!=(c|0)){Ld(v[a+628>>2],v[a>>2],53367,0)}g=1;a:{if((q|0)<1){break a}A=f+844|0;o=v[f+84>>2];i=v[o+132>>2];C=i&3;D=i-1>>>0<3;while(1){r=0;j=0;if(v[f+76>>2]>=1){while(1){k=v[o+12>>2];b:{if((k|0)<1){break b}d=v[o+28>>2]<<3;l=v[o+8>>2];c=B(i,l);m=d-c|0;u=(r<<2)+f|0;if((l|0)==1){y=m&-8;h=m&7;z=d+(c^-1)|0;n=0;while(1){c=v[v[u+844>>2]+(B(v[f+884>>2],k)+n<<2)>>2];c:{if(!i){break c}g=b+j|0;d=i;e=C;if(e){while(1){t[c|0]=w[g|0];g=g+p|0;c=c+1|0;d=d-1|0;e=e-1|0;if(e){continue}break}}if(D){break c}while(1){t[c|0]=w[g|0];e=g+p|0;t[c+1|0]=w[e|0];e=e+p|0;t[c+2|0]=w[e|0];e=e+p|0;t[c+3|0]=w[e|0];c=c+4|0;g=e+p|0;d=d-4|0;if(d){continue}break}}d:{if((m|0)<1){break d}e=w[c-1|0];d=y;if(z>>>0>=7){while(1){t[c+7|0]=e;t[c+6|0]=e;t[c+5|0]=e;t[c+4|0]=e;t[c+3|0]=e;t[c+2|0]=e;t[c+1|0]=e;t[c|0]=e;c=c+8|0;d=d-8|0;if(d){continue}break}}d=h;if(!d){break d}while(1){t[c|0]=e;c=c+1|0;d=d-1|0;if(d){continue}break}}j=j+1|0;n=n+1|0;if((k|0)!=(n|0)){continue}break}break b}if(i){E=m&-8;z=m&7;y=l&-4;h=l&3;F=l-1|0;G=d+(c^-1)|0;s=0;while(1){c=v[v[u+844>>2]+(B(v[f+884>>2],k)+s<<2)>>2];if((l|0)>=1){d=b+j|0;n=i;while(1){g=0;e=y;if(F>>>0>=3){while(1){t[c|0]=w[d+g|0];t[c+1|0]=w[(g|1)+d|0];t[c+2|0]=w[(g|2)+d|0];t[c+3|0]=w[(g|3)+d|0];g=g+4|0;c=c+4|0;e=e-4|0;if(e){continue}break}}n=n-1|0;e=h;if(e){while(1){t[c|0]=w[d+g|0];g=g+1|0;c=c+1|0;e=e-1|0;if(e){continue}break}}d=d+p|0;if(n){continue}break}}e:{if((m|0)<1){break e}e=w[c-1|0];d=E;if(G>>>0>=7){while(1){t[c+7|0]=e;t[c+6|0]=e;t[c+5|0]=e;t[c+4|0]=e;t[c+3|0]=e;t[c+2|0]=e;t[c+1|0]=e;t[c|0]=e;c=c+8|0;d=d-8|0;if(d){continue}break}}d=z;if(!d){break e}while(1){t[c|0]=e;c=c+1|0;d=d-1|0;if(d){continue}break}}j=j+l|0;s=s+1|0;if((s|0)!=(k|0)){continue}break}break b}e=0;if((m|0)>0){while(1){c=v[v[u+844>>2]+(B(v[f+884>>2],k)+e<<2)>>2];h=w[c-1|0];d=0;while(1){t[c+7|0]=h;t[c+6|0]=h;t[c+5|0]=h;t[c+4|0]=h;t[c+3|0]=h;t[c+2|0]=h;t[c+1|0]=h;t[c|0]=h;c=c+8|0;d=d+8|0;if((m|0)!=(d|0)){continue}break}e=e+1|0;if((k|0)!=(e|0)){continue}break}}j=B(k,l)+j|0}o=o+88|0;r=r+1|0;if((r|0)>2]){continue}break}}c=v[f+884>>2];v[f+884>>2]=c+1;if((c|0)>=7){c=v[f+272>>2]<<3;if((EK(f,A,c)|0)!=(c|0)){g=0;break a}v[f+884>>2]=0}c=x[f+836>>1];v[a+472>>2]=c+v[a+472>>2];g=1;q=q-c|0;if((q|0)<1){break a}b=v[f+840>>2]+b|0;o=v[f+84>>2];continue}}return g|0}function Q$(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0,y=0;m=Qb-16|0;Qb=m;a:{if(!a|(!b|((a?v[a+8>>2]:-1)|0)!=1)){break a}h=m+12|0;i=m+8|0;if(a){if(h){v[h>>2]=v[a>>2]}if(i){v[i>>2]=v[a+4>>2]}}t=a?v[a+40>>2]:0;u=a?v[a+12>>2]:-1;if((c|0)<0){break a}n=v[m+12>>2];if((d|0)<0|(n|0)<=(c|0)){break a}o=v[m+8>>2];if(!(v[((B(d,u)<<2)+t|0)+(c>>>3&536870908)>>2]>>>(c^-1)&1)|(o|0)<=(d|0)){break a}b:{if((d|0)<-1|(o-1|0)<=(d|0)){break b}e=v[b+12>>2];if(!e){break b}c:{if(((e?v[e+4>>2]:1)|0)>=1){a=Ck(e);break c}a=bd(1,16);if(!a){break b}}v[a+12>>2]=1;v[a+8>>2]=d;v[a+4>>2]=c;v[a>>2]=c;Bk(b,a)}d:{if((d|0)<0){break d}e=v[b+12>>2];if(!e){break d}e:{if(((e?v[e+4>>2]:1)|0)>=1){a=Ck(e);break e}a=bd(1,16);if(!a){break d}}v[a+12>>2]=-1;v[a+8>>2]=d+1;v[a+4>>2]=c;v[a>>2]=c;Bk(b,a)}f:{if(((b?v[b+4>>2]:1)|0)<1){h=c;i=d;break f}x=n-1|0;h=c;i=d;g=d;g:while(1){e=v[b+12>>2];h:{if(!e){break h}f=Ck(b);if(!f){break h}w=v[f+4>>2];p=v[f>>2];l=v[f+12>>2];a=v[f+8>>2];Bk(e,f);g=a+l|0}r=(B(g,u)<<2)+t|0;i:{j:{e=p;if((e|0)<0){a=p;break j}while(1){k:{q=(e>>>3&536870908)+r|0;j=v[q>>2];f=e&31;if(!(j>>>(f^31)&1)){a=e;break k}a=-1;v[q>>2]=j&(-2147483648>>>f^-1);f=(e|0)>0;e=e-1|0;if(f){continue}}break}if((a|0)>=(p|0)){break j}k=a+1|0;f=p-1|0;l:{if((k|0)>=(f|0)){break l}d=(d|0)>(g|0)?d:g;i=(g|0)>(i|0)?i:g;c=(c|0)>(f|0)?c:f;h=(h|0)<(k|0)?h:k;a=g-l|0;if((a|0)<0|(a|0)>=(o|0)){break l}e=v[b+12>>2];if(!e){break l}m:{if(((e?v[e+4>>2]:1)|0)>=1){e=Ck(e);break m}e=bd(1,16);if(!e){break l}}v[e+12>>2]=0-l;v[e+8>>2]=g;v[e+4>>2]=f;v[e>>2]=k;Bk(b,e)}a=p+1|0;e=0;break i}e=1}while(1){n:{o:{p:{q:{if(!e){r:{if((a|0)>=(n|0)){break r}while(1){j=(a>>5<<2)+r|0;f=v[j>>2];e=a&31;if(!(f>>>(e^31)&1)){break r}v[j>>2]=f&(-2147483648>>>e^-1);a=a+1|0;if((n|0)!=(a|0)){continue}break}a=n}y=(a|0)>(c|0);s=a-1|0;q=(d|0)>(g|0);j=(g|0)>(i|0);f=(h|0)<(k|0);e=g+l|0;s:{if((e|0)<0|(e|0)>=(o|0)){break s}e=v[b+12>>2];if(!e){break s}t:{if(((e?v[e+4>>2]:1)|0)>=1){e=Ck(e);break t}e=bd(1,16);if(!e){break s}}v[e+12>>2]=l;v[e+8>>2]=g;v[e+4>>2]=s;v[e>>2]=k;Bk(b,e)}c=y?s:c;d=q?d:g;i=j?i:g;h=f?h:k;j=w+1|0;if((j|0)>=(a|0)){break q}h=(h|0)<(j|0)?h:j;e=g-l|0;if((e|0)<0|(e|0)>=(o|0)){break q}f=v[b+12>>2];if(!f){break q}u:{if(((f?v[f+4>>2]:1)|0)>=1){e=Ck(f);break u}e=bd(1,16);if(!e){break q}}v[e+12>>2]=0-l;v[e+8>>2]=g;v[e+4>>2]=s;v[e>>2]=j;Bk(b,e);break q}if((a|0)>=(w|0)|(a|0)>=(x|0)){break o}a=a+1|0;if(v[(a>>5<<2)+r>>2]>>>(a^-1)&1){break p}}e=1;continue}k=a;break n}if(((b?v[b+4>>2]:1)|0)>0){continue g}break f}e=0;continue}}}e=rI(h,i,(c-h|0)+1|0,(d-i|0)+1|0)}Qb=m+16|0;return e}function py(a,b){var 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,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;q=Qb-640|0;Qb=q;while(1){d=o<<3;g=d+q|0;e=a+d|0;d=w[e+4|0]|w[e+5|0]<<8|(w[e+6|0]<<16|w[e+7|0]<<24);e=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24);c=e<<24;l=e<<8&16711680|c;f=d<<24|e>>>8;l=f&65280|(d<<8|e>>>24)&255|l;v[g>>2]=((d&255)<<24|e>>>8)&-16777216|((d&16777215)<<8|e>>>24)&16711680|(d>>>8&65280|d>>>24)|i;v[g+4>>2]=l;o=o+1|0;if((o|0)!=16){continue}break}a=16;x=v[q>>2];h=x;z=v[q+4>>2];d=z;while(1){m=(a<<3)+q|0;e=m;g=d;d=e-56|0;i=v[d>>2];l=v[d+4>>2];c=e-16|0;d=v[c+4>>2];c=v[c>>2];n=Hib(c,d,45);s=Tb;f=d>>>6|0;c=((d&63)<<26|c>>>6)^(Hib(c,d,3)^n);d=c+i|0;f=(f^(Tb^s))+l|0;f=c>>>0>d>>>0?f+1|0:f;i=d;d=d+h|0;c=f+g|0;c=d>>>0>>0?c+1|0:c;i=d;g=e-120|0;d=v[g+4>>2];h=v[g>>2];g=Hib(h,d,63);m=Tb;l=Hib(h,d,56)^g;g=e;e=i;f=d>>>7|0;i=((d&127)<<25|h>>>7)^l;e=e+i|0;c=(f^(Tb^m))+c|0;v[g>>2]=e;v[g+4>>2]=e>>>0>>0?c+1|0:c;a=a+1|0;if((a|0)!=80){continue}break}o=0;e=b;a=v[e+4>>2];A=v[e>>2];p=A;I=a;k=a;d=v[e+12>>2];J=d;B=v[e+8>>2];h=B;j=v[e+60>>2];K=j;C=v[e+56>>2];c=C;g=v[e+52>>2];L=g;D=v[e+48>>2];n=D;m=v[e+44>>2];M=m;E=v[e+40>>2];s=E;a=v[e+36>>2];N=a;F=v[e+32>>2];i=F;t=v[e+28>>2];O=t;G=v[e+24>>2];u=G;r=v[e+20>>2];P=r;H=v[e+16>>2];l=H;e=r;while(1){r=h;y=d;d=(o<<3)+895488|0;h=v[d>>2];Q=v[d+4>>2];d=Hib(i,a,50);f=Tb;d=Hib(i,a,46)^d;f=Tb^f;R=h;h=Hib(i,a,23)^d;d=h+(i&s)|0;f=(a&m)+(Tb^f)|0;f=d>>>0>>0?f+1|0:f;h=d;d=c;h=h+c|0;c=f+j|0;c=d>>>0>h>>>0?c+1|0:c;j=(i^-1)&n;d=j+h|0;c=((a^-1)&g)+c|0;c=d>>>0>>0?c+1|0:c;j=d;d=R+d|0;c=c+Q|0;c=d>>>0>>0?c+1|0:c;d=d+x|0;c=c+z|0;j=d;c=d>>>0>>0?c+1|0:c;h=p;d=k;k=Hib(h,d,36);f=Tb;k=Hib(h,d,30)^k;f=Tb^f;p=h&(l^r)^l&r;k=p+(Hib(h,d,25)^k)|0;f=(Tb^f)+(d&(e^y)^e&y)|0;f=k>>>0

>>0?f+1|0:f;p=k;k=k+j|0;f=c+f|0;f=k>>>0

>>0?f+1|0:f;p=k;k=f;c=c+t|0;u=j+u|0;c=u>>>0>>0?c+1|0:c;t=c;o=o+1|0;if((o|0)!=80){c=(o<<3)+q|0;x=v[c>>2];z=v[c+4>>2];c=n;j=g;n=s;g=m;s=i;m=a;i=u;a=t;u=l;t=e;l=r;e=y;continue}break}c=g+K|0;n=n+C|0;c=n>>>0>>0?c+1|0:c;j=b;v[b+56>>2]=n;v[b+60>>2]=c;c=m+L|0;n=s+D|0;c=n>>>0>>0?c+1|0:c;g=b;v[g+48>>2]=n;v[g+52>>2]=c;c=a+M|0;m=i+E|0;c=m>>>0>>0?c+1|0:c;v[g+40>>2]=m;v[g+44>>2]=c;f=t+N|0;g=u+F|0;f=g>>>0>>0?f+1|0:f;a=b;v[a+32>>2]=g;v[a+36>>2]=f;f=e+O|0;g=l+G|0;f=g>>>0>>0?f+1|0:f;v[a+24>>2]=g;v[a+28>>2]=f;c=y+P|0;e=r+H|0;c=e>>>0>>0?c+1|0:c;v[a+16>>2]=e;v[a+20>>2]=c;c=d+J|0;e=h+B|0;c=e>>>0>>0?c+1|0:c;v[a+8>>2]=e;v[a+12>>2]=c;c=k+I|0;a=p+A|0;c=a>>>0>>0?c+1|0:c;v[j>>2]=a;v[j+4>>2]=c;Qb=q+640|0}function _Y(a,b){var c=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{if((b|0)<=1935833198){if((b|0)<=1751346272){J:{switch(b-1735618608|0){case 9:break z;case 8:break A;case 7:break B;case 6:break C;case 5:break D;case 4:break E;case 3:break F;case 2:break G;case 1:break H;case 0:break I;default:break J}}if((b|0)==1668311156){break y}if((b|0)!=1751216995){break a}return a+442|0}if((b|0)<=1751347821){switch(b-1751346273|0){case 1:case 2:break a;case 3:break w;case 0:break x;default:break v}}K:{switch(b-1751347822|0){case 1:case 2:case 3:case 4:break a;case 5:break t;case 0:break u;default:break K}}if((b|0)==1751413603){break s}if((b|0)!=1751934832){break a}return a+446|0}if((b|0)<=1970168942){if((b|0)<=1936750702){L:{switch(b-1935833199|0){case 1:case 2:case 3:break a;case 4:break q;case 0:break r;default:break L}}switch(b-1935833455|0){case 4:break o;case 0:break p;default:break a}}M:{switch(b-1936750703|0){case 1:case 2:case 3:break a;case 4:break m;case 0:break n;default:break M}}N:{switch(b-1936750959|0){case 1:case 2:case 3:break a;case 4:break k;case 0:break l;default:break N}}switch(b-1937011311|0){case 0:break j;case 4:break i;default:break a}}if((b|0)<=1986228845){O:{switch(b-1970168943|0){case 1:case 2:case 3:break a;case 4:break g;case 0:break h;default:break O}}if((b|0)==1986098019){break f}if((b|0)!=1986228070){break a}return a+318|0}if((b|0)<=1986815855){switch(b-1986228846|0){case 1:case 2:case 3:case 4:break a;case 5:break d;case 0:break e;default:break c}}if((b|0)==1986815856){break b}if((b|0)!=2020108148){break a}return a+460|0}if(x[a+562>>1]<2){break a}return v[a+564>>2]}if(x[a+562>>1]<3){break a}return v[a+564>>2]+4|0}if(x[a+562>>1]<4){break a}return v[a+564>>2]+8|0}if(x[a+562>>1]<5){break a}return v[a+564>>2]+12|0}if(x[a+562>>1]<6){break a}return v[a+564>>2]+16|0}if(x[a+562>>1]<7){break a}return v[a+564>>2]+20|0}if(x[a+562>>1]<8){break a}return v[a+564>>2]+24|0}if(x[a+562>>1]<9){break a}return v[a+564>>2]+28|0}if(x[a+562>>1]<10){break a}return v[a+564>>2]+32|0}if(x[a+562>>1]<11){break a}return v[a+564>>2]+36|0}return a+462|0}return a+448|0}return a+450|0}if((b|0)!=1751347046){break a}return a+238|0}return a+236|0}return a+234|0}return a+444|0}return a+386|0}return a+382|0}return a+388|0}return a+384|0}return a+394|0}return a+390|0}return a+396|0}return a+392|0}return a+400|0}return a+398|0}return a+484|0}return a+486|0}return a+300|0}return a+316|0}return a+314|0}if((b|0)!=1986294627){break a}return a+302|0}c=a+304|0}return c}function YQa(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,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0;E=Qb-416|0;Qb=E;y=v[a+332>>2];a=v[b+84>>2];b=E;while(1){p=v[a+224>>2];l=u[c+112>>1];g=v[a+96>>2];i=u[c+48>>1];s=v[a+160>>2];x=u[c+80>>1];h=v[a+32>>2];j=u[c+16>>1];m=B(u[c>>1],v[a>>2])<<13|1024;f=B(v[a+128>>2],u[c+64>>1]);o=B(v[a+192>>2],u[c+96>>1]);n=f-o|0;k=B(v[a+64>>2],u[c+32>>1]);v[b+192>>2]=m+B(n-k|0,11585)>>11;g=B(g,i);h=B(h,j);j=B(g+h|0,10832);q=m+B(n,793)|0;f=f+o|0;o=B(f,9465);z=q+(o+B(k,11249)|0)|0;i=B(s,x);s=B(i+h|0,9534);p=B(p,l);l=p+h|0;x=B(l,7682);r=(s+(j+B(h,-16549)|0)|0)+x|0;v[b+384>>2]=z-r>>11;v[b>>2]=r+z>>11;r=m+B(n,3989)|0;z=B(f,2592);C=r+(B(k,8672)-z|0)|0;D=B(g+i|0,-2773);A=D+(j+B(g,6859)|0)|0;j=B(g+p|0,-9534);A=A+j|0;v[b+352>>2]=C-A>>11;v[b+32>>2]=C+A>>11;o=q+(B(k,4108)-o|0)|0;q=s+(B(i,-12879)+D|0)|0;s=B(i+p|0,-5384);q=q+s|0;v[b+320>>2]=o-q>>11;v[b+64>>2]=o+q>>11;n=m+B(n,-7678)|0;f=B(f,3570);m=n+(B(k,-1396)-f|0)|0;j=s+(x+(j+B(p,18068)|0)|0)|0;v[b+288>>2]=m-j>>11;v[b+96>>2]=j+m>>11;n=n+(f+B(k,-6581)|0)|0;f=B(h,2611);h=B(l,2773)+B(i-g|0,7682)|0;g=(f+h|0)+B(g,-3818)|0;v[b+256>>2]=n-g>>11;v[b+128>>2]=g+n>>11;k=r+(z+B(k,-10258)|0)|0;g=(h+B(i,3150)|0)+B(p,-14273)|0;v[b+224>>2]=k-g>>11;v[b+160>>2]=g+k>>11;b=b+4|0;a=a+4|0;c=c+2|0;F=F+1|0;if((F|0)!=8){continue}break}b=y+128|0;n=0;a=E;while(1){g=v[a+12>>2];h=v[a+4>>2];f=B(g+h|0,10832);c=v[(n<<2)+d>>2]+e|0;p=v[a+28>>2];s=p+h|0;x=B(s,7682);i=v[a+20>>2];l=B(i+h|0,9534);o=x+(l+(f+B(h,-16549)|0)|0)|0;m=v[a+24>>2];j=v[a+16>>2];y=m+j|0;q=B(y,9465);k=v[a+8>>2];m=j-m|0;j=(v[a>>2]<<13)+131072|0;z=B(m,793)+j|0;r=(q+B(k,11249)|0)+z|0;t[c|0]=w[b+(o+r>>>18&1023)|0];t[c+12|0]=w[b+(r-o>>>18&1023)|0];o=B(g+p|0,-9534);r=f+B(g,6859)|0;f=B(g+i|0,-2773);r=o+(r+f|0)|0;D=j+B(m,3989)|0;C=B(y,2592);A=D+(B(k,8672)-C|0)|0;t[c+1|0]=w[b+(r+A>>>18&1023)|0];t[c+11|0]=w[b+(A-r>>>18&1023)|0];l=l+(f+B(i,-12879)|0)|0;f=B(i+p|0,-5384);l=l+f|0;q=z+(B(k,4108)-q|0)|0;t[c+2|0]=w[b+(l+q>>>18&1023)|0];t[c+10|0]=w[b+(q-l>>>18&1023)|0];f=f+(x+(o+B(p,18068)|0)|0)|0;l=j+B(m,-7678)|0;y=B(y,3570);x=l+(B(k,-1396)-y|0)|0;t[c+3|0]=w[b+(f+x>>>18&1023)|0];t[c+9|0]=w[b+(x-f>>>18&1023)|0];f=B(h,2611);h=B(s,2773)+B(i-g|0,7682)|0;g=(f+h|0)+B(g,-3818)|0;f=l+(y+B(k,-6581)|0)|0;t[c+4|0]=w[b+(g+f>>>18&1023)|0];t[c+8|0]=w[b+(f-g>>>18&1023)|0];g=(h+B(i,3150)|0)+B(p,-14273)|0;i=D+(C+B(k,-10258)|0)|0;t[c+5|0]=w[b+(g+i>>>18&1023)|0];t[c+7|0]=w[b+(i-g>>>18&1023)|0];t[c+6|0]=w[b+(j+B(m-k|0,11585)>>>18&1023)|0];a=a+32|0;n=n+1|0;if((n|0)!=13){continue}break}Qb=E+416|0}function xH(a,b){var 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;l=v[b+20>>2];e=v[b+16>>2];o=v[v[a+480>>2]+24>>2];j=v[b+12>>2];f=v[b+8>>2];g=v[b+4>>2];h=v[b>>2];a:{if(!((j|0)<(f|0)|(g|0)<=(h|0)|(e|0)>(l|0))){p=e<<1;i=h;while(1){m=v[(i<<2)+o>>2];d=f;while(1){a=p+(m+(d<<6)|0)|0;c=e;while(1){if(x[a>>1]){v[b>>2]=i;break a}a=a+2|0;k=(c|0)!=(l|0);c=c+1|0;if(k){continue}break}a=(d|0)!=(j|0);d=d+1|0;if(a){continue}break}a=(g|0)!=(i|0);i=i+1|0;if(a){continue}break}}i=h}b:{if(!((g|0)<=(i|0)|(f|0)>(j|0)|(e|0)>(l|0))){p=e<<1;k=g;while(1){m=v[(k<<2)+o>>2];d=f;while(1){a=p+(m+(d<<6)|0)|0;c=e;while(1){if(x[a>>1]){v[b+4>>2]=k;break b}a=a+2|0;h=(c|0)!=(l|0);c=c+1|0;if(h){continue}break}a=(d|0)!=(j|0);d=d+1|0;if(a){continue}break}a=(i|0)<(k|0);k=k-1|0;if(a){continue}break}}k=g}c:{if(!((i|0)>(k|0)|(f|0)>=(j|0)|(e|0)>(l|0))){m=e<<1;h=f;while(1){d=i;while(1){a=m+(v[(d<<2)+o>>2]+(h<<6)|0)|0;c=e;while(1){if(x[a>>1]){v[b+8>>2]=h;break c}a=a+2|0;g=(c|0)!=(l|0);c=c+1|0;if(g){continue}break}a=(d|0)!=(k|0);d=d+1|0;if(a){continue}break}a=(h|0)!=(j|0);h=h+1|0;if(a){continue}break}}h=f}d:{if(!((i|0)>(k|0)|(h|0)>=(j|0)|(e|0)>(l|0))){m=e<<1;d=j;while(1){f=i;while(1){a=m+(v[(f<<2)+o>>2]+(d<<6)|0)|0;c=e;while(1){if(x[a>>1]){v[b+12>>2]=d;break d}a=a+2|0;g=(c|0)!=(l|0);c=c+1|0;if(g){continue}break}a=(f|0)!=(k|0);f=f+1|0;if(a){continue}break}a=(d|0)>(h|0);d=d-1|0;if(a){continue}break}}d=j}e:{if(!((i|0)>(k|0)|(e|0)>=(l|0)|(d|0)<(h|0))){m=h<<6;f=e;while(1){g=i;while(1){a=(m+v[(g<<2)+o>>2]|0)+(f<<1)|0;c=h;while(1){if(x[a>>1]){v[b+16>>2]=f;break e}a=a- -64|0;j=(c|0)!=(d|0);c=c+1|0;if(j){continue}break}a=(g|0)!=(k|0);g=g+1|0;if(a){continue}break}a=(f|0)!=(l|0);f=f+1|0;if(a){continue}break}}f=e}f:{if(!((i|0)>(k|0)|(f|0)>=(l|0)|(d|0)<(h|0))){m=h<<6;e=l;while(1){g=i;while(1){a=(m+v[(g<<2)+o>>2]|0)+(e<<1)|0;c=h;while(1){if(x[a>>1]){v[b+20>>2]=e;break f}a=a- -64|0;j=(c|0)!=(d|0);c=c+1|0;if(j){continue}break}a=(g|0)!=(k|0);g=g+1|0;if(a){continue}break}a=(e|0)>(f|0);e=e-1|0;if(a){continue}break}}e=l}a=B(d-h|0,12);c=B(a,a);a=k-i<<4;c=c+B(a,a)|0;p=e-f|0;a=p<<3;v[b+24>>2]=c+B(a,a);c=0;if(!((d|0)<(h|0)|(i|0)>(k|0))){l=p+1&3;while(1){if((e|0)>=(f|0)){m=v[(i<<2)+o>>2];g=h;while(1){n=(m+(g<<6)|0)+(f<<1)|0;a=f;j=l;if(l){while(1){a=a+1|0;c=(x[n>>1]!=0)+c|0;n=n+2|0;j=j-1|0;if(j){continue}break}}if(p>>>0>=3){while(1){c=((((x[n>>1]!=0)+c|0)+(x[n+2>>1]!=0)|0)+(x[n+4>>1]!=0)|0)+(x[n+6>>1]!=0)|0;n=n+8|0;j=a+3|0;a=a+4|0;if((e|0)!=(j|0)){continue}break}}a=(d|0)!=(g|0);g=g+1|0;if(a){continue}break}}a=(i|0)!=(k|0);i=i+1|0;if(a){continue}break}}v[b+28>>2]=c}function toa(a){a=a|0;var b=0,c=0,d=0,e=0;e=Qb-16|0;Qb=e;v[e+8>>2]=0;Wc(e+8|0,a);v[299999]=0;Q(4336,a+168|0,0)|0;b=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{g:{h:{if((b|0)!=1){v[299999]=0;R(4693,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break e}b=W(989228)|0;if((O()|0)!=(ja(989228)|0)){break b}b=ea(b|0)|0;v[299999]=0;sg(a+92|0,0,0,16,0);c=v[299999];v[299999]=0;i:{j:{if((c|0)==1){break j}v[299999]=0;c=ga(4695)|0;d=v[299999];v[299999]=0;if((d|0)==1){break j}d=v[v[c>>2]+44>>2];v[299999]=0;$(d|0,c|0,a|0,16,0);c=v[299999];v[299999]=0;if((c|0)!=1){break i}}c=W(0)|0;O()|0;ea(c|0)|0;v[299999]=0;ba(4230);c=v[299999];v[299999]=0;if((c|0)==1){break c}}v[299999]=0;R(4696,a|0);c=v[299999];v[299999]=0;if((c|0)==1){break h}v[299999]=0;c=Nl(b,v[282394]);d=v[299999];v[299999]=0;if((d|0)==1){break h}if(!(!w[a+88|0]|c)){v[299999]=0;b=ga(4695)|0;c=v[299999];v[299999]=0;if((c|0)==1){break h}v[299999]=0;c=Q(4340,e|0,273277)|0;d=v[299999];v[299999]=0;k:{if((d|0)!=1){d=v[v[b>>2]+20>>2];v[299999]=0;Y(d|0,b|0,a|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break k}ec(c);break f}b=W(0)|0;O()|0;break g}b=W(0)|0;O()|0;ec(c);break g}v[299999]=0;c=Nl(b,v[282395]);d=v[299999];v[299999]=0;if((d|0)==1){break h}if(!c){v[299999]=0;b=ga(4695)|0;c=v[299999];v[299999]=0;if((c|0)==1){break h}v[299999]=0;c=Q(4340,e|0,290990)|0;d=v[299999];v[299999]=0;l:{if((d|0)!=1){d=v[v[b>>2]+24>>2];v[299999]=0;Y(d|0,b|0,a|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break l}ec(c);break f}b=W(0)|0;O()|0;break g}b=W(0)|0;O()|0;ec(c);break g}v[299999]=0;d=ga(4695)|0;c=v[299999];v[299999]=0;if((c|0)==1){break h}v[299999]=0;b=v[b+4>>2];b=b?b:246399;c=v[299999];v[299999]=0;m:{n:{if((c|0)==1){break n}v[299999]=0;c=Q(4340,e|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break n}b=v[v[d>>2]+20>>2];v[299999]=0;Y(b|0,d|0,a|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break m}ec(c);break f}b=W(0)|0;O()|0;break g}b=W(0)|0;O()|0;ec(c);break g}b=P()|0;O()|0;break b}b=W(0)|0;O()|0}ea(b|0)|0;v[299999]=0;ba(4230);b=v[299999];v[299999]=0;if((b|0)==1){break c}}v[299999]=0;sg(a+96|0,0,0,2,0);a=v[299999];v[299999]=0;if((a|0)==1){break c}v[299999]=0;ba(4230);a=v[299999];v[299999]=0;if((a|0)==1){break d}}a=v[e+8>>2];v[e+8>>2]=0;o:{if(!a){break o}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break o}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Qb=e+16|0;return}b=P()|0;O()|0;break b}b=P()|0;O()|0;v[299999]=0;ba(4230);a=v[299999];v[299999]=0;if((a|0)!=1){break b}break a}ec(e+8|0);T(b|0);L()}W(0)|0;O()|0;lc();L()}function eY(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,z=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;g=v[a+4>>2];f=v[g>>2];l=A[f+32>>3];E=A[f>>3];s=A[f+16>>3];p=A[f+40>>3];m=A[f+8>>3];q=A[a+16>>3];i=A[f+24>>3];u=A[a+24>>3];h=(e|0)>1?e:1;v[g+24>>2]=h;v[g+4>>2]=h;f=g;q=q+ +(c|0);n=i;i=u+ +(d|0);u=n*i;n=(p+(m*q+u))*256;n=n+(n<0?-.5:.5);a:{if(D(n)<2147483648){d=~~n;break a}d=-2147483648}v[f+40>>2]=d;f=g;s=i*s;i=(l+(q*E+s))*256;i=i+(i<0?-.5:.5);b:{if(D(i)<2147483648){c=~~i;break b}c=-2147483648}v[f+20>>2]=c;r=g;i=p;p=q+ +(e>>>0);m=(i+(p*m+u))*256;m=m+(m<0?-.5:.5);c:{if(D(m)<2147483648){f=~~m;break c}f=-2147483648}d=f-d|0;f=(d|0)/(h|0)|0;k=d-B(f,h)|0;j=(k|0)<1;v[r+28>>2]=f-j;f=g;l=(l+(p*E+s))*256;l=l+(l<0?-.5:.5);d:{if(D(l)<2147483648){d=~~l;break d}d=-2147483648}c=d-c|0;d=(c|0)/(h|0)|0;r=d;c=c-B(d,h)|0;d=(c|0)<1;v[f+8>>2]=r-d;f=k+(j?e:0)|0;v[g+32>>2]=f;c=c+(d?e:0)|0;v[g+12>>2]=c;v[g+36>>2]=f-e;v[g+16>>2]=c-e;c=v[a+4>>2];g=v[c+40>>2];c=v[c+20>>2];while(1){f=v[a+36>>2];d=v[a>>2];k=c-v[a+32>>2]|0;c=k>>8;v[d+8>>2]=c;j=g-f|0;f=(v[d+32>>2]+(j>>8)>>>0)%y[d+28>>2]|0;v[d+36>>2]=f;g=v[v[d>>2]>>2];h=v[g+4>>2];o=v[g+16>>2];g=v[d+16>>2];c=(c+v[d+20>>2]>>>0)%(g>>>0)|0;v[d+24>>2]=c;h=h+B(f,o)|0;v[d+4>>2]=h;o=v[d+12>>2];f=h+((o>>>0>c>>>0?c:g+(c^-1)|0)<<2)|0;F=w[f+2|0];G=w[f+1|0];H=w[f|0];f=w[f+3|0];c=c+1|0;c=c>>>0>>0?c:0;v[d+24>>2]=c;c=h+((c>>>0>>0?c:g+(c^-1)|0)<<2)|0;o=w[c+2|0];I=w[c+1|0];J=w[c|0];g=w[c+3|0];c=v[a>>2];d=v[c+36>>2]+1|0;h=d>>>0>2]?d:0;v[c+36>>2]=h;d=v[v[c>>2]>>2];z=v[d+4>>2];C=v[d+16>>2];x=v[c+16>>2];d=(v[c+20>>2]+v[c+8>>2]>>>0)%(x>>>0)|0;v[c+24>>2]=d;h=z+B(h,C)|0;v[c+4>>2]=h;c=h+((d>>>0>2]?d:x+(d^-1)|0)<<2)|0;z=w[c+2|0];C=w[c+1|0];x=w[c|0];K=w[c+3|0];c=v[a>>2];d=v[c+24>>2]+1|0;h=v[c+16>>2];d=h>>>0>d>>>0?d:0;v[c+24>>2]=d;c=v[c+4>>2]+((d>>>0>2]?d:h+(d^-1)|0)<<2)|0;L=w[c+2|0];M=w[c+1|0];N=w[c|0];r=f;h=j&255;f=256-h|0;k=k&255;j=256-k|0;d=B(f,j);O=g;g=B(f,k);f=B(h,j);j=w[c+3|0];c=B(h,k);t[b+3|0]=(((B(r,d)+B(O,g)|0)+B(f,K)|0)+B(j,c)|0)+32768>>>16;t[b+2|0]=(((B(d,H)+B(g,J)|0)+B(f,x)|0)+B(c,N)|0)+32768>>>16;t[b+1|0]=(((B(d,G)+B(g,I)|0)+B(f,C)|0)+B(c,M)|0)+32768>>>16;t[b|0]=(((B(d,F)+B(g,o)|0)+B(f,z)|0)+B(c,L)|0)+32768>>>16;d=v[a+4>>2];c=d;g=v[c+16>>2]+v[c+12>>2]|0;v[c+16>>2]=g;c=v[c+20>>2]+v[c+8>>2]|0;v[d+20>>2]=c;if((g|0)>=1){c=c+1|0;v[d+20>>2]=c;v[d+16>>2]=g-v[d+4>>2]}f=v[d+36>>2]+v[d+32>>2]|0;v[d+36>>2]=f;g=v[d+40>>2]+v[d+28>>2]|0;v[d+40>>2]=g;if((f|0)>=1){g=g+1|0;v[d+40>>2]=g;v[d+36>>2]=f-v[d+24>>2]}b=b+4|0;e=e-1|0;if(e){continue}break}}function _X(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,z=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;g=v[a+4>>2];f=v[g>>2];l=A[f+32>>3];E=A[f>>3];s=A[f+16>>3];p=A[f+40>>3];m=A[f+8>>3];q=A[a+16>>3];i=A[f+24>>3];u=A[a+24>>3];h=(e|0)>1?e:1;v[g+24>>2]=h;v[g+4>>2]=h;f=g;q=q+ +(c|0);n=i;i=u+ +(d|0);u=n*i;n=(p+(m*q+u))*256;n=n+(n<0?-.5:.5);a:{if(D(n)<2147483648){d=~~n;break a}d=-2147483648}v[f+40>>2]=d;f=g;s=i*s;i=(l+(q*E+s))*256;i=i+(i<0?-.5:.5);b:{if(D(i)<2147483648){c=~~i;break b}c=-2147483648}v[f+20>>2]=c;r=g;i=p;p=q+ +(e>>>0);m=(i+(p*m+u))*256;m=m+(m<0?-.5:.5);c:{if(D(m)<2147483648){f=~~m;break c}f=-2147483648}d=f-d|0;f=(d|0)/(h|0)|0;k=d-B(f,h)|0;j=(k|0)<1;v[r+28>>2]=f-j;f=g;l=(l+(p*E+s))*256;l=l+(l<0?-.5:.5);d:{if(D(l)<2147483648){d=~~l;break d}d=-2147483648}c=d-c|0;d=(c|0)/(h|0)|0;r=d;c=c-B(d,h)|0;d=(c|0)<1;v[f+8>>2]=r-d;f=k+(j?e:0)|0;v[g+32>>2]=f;c=c+(d?e:0)|0;v[g+12>>2]=c;v[g+36>>2]=f-e;v[g+16>>2]=c-e;c=v[a+4>>2];g=v[c+40>>2];c=v[c+20>>2];while(1){f=v[a+36>>2];d=v[a>>2];k=c-v[a+32>>2]|0;c=k>>8;v[d+8>>2]=c;j=g-f|0;f=(v[d+32>>2]+(j>>8)>>>0)%y[d+28>>2]|0;v[d+36>>2]=f;g=v[v[d>>2]>>2];h=v[g+4>>2];o=v[g+16>>2];g=v[d+16>>2];c=(c+v[d+20>>2]>>>0)%(g>>>0)|0;v[d+24>>2]=c;h=h+B(f,o)|0;v[d+4>>2]=h;o=v[d+12>>2];f=h+((o>>>0>c>>>0?c:g+(c^-1)|0)<<2)|0;F=w[f|0];G=w[f+1|0];H=w[f+2|0];f=w[f+3|0];c=c+1|0;c=c>>>0>>0?c:0;v[d+24>>2]=c;c=h+((c>>>0>>0?c:g+(c^-1)|0)<<2)|0;o=w[c|0];I=w[c+1|0];J=w[c+2|0];g=w[c+3|0];c=v[a>>2];d=v[c+36>>2]+1|0;h=d>>>0>2]?d:0;v[c+36>>2]=h;d=v[v[c>>2]>>2];z=v[d+4>>2];C=v[d+16>>2];x=v[c+16>>2];d=(v[c+20>>2]+v[c+8>>2]>>>0)%(x>>>0)|0;v[c+24>>2]=d;h=z+B(h,C)|0;v[c+4>>2]=h;c=h+((d>>>0>2]?d:x+(d^-1)|0)<<2)|0;z=w[c|0];C=w[c+1|0];x=w[c+2|0];K=w[c+3|0];c=v[a>>2];d=v[c+24>>2]+1|0;h=v[c+16>>2];d=h>>>0>d>>>0?d:0;v[c+24>>2]=d;c=v[c+4>>2]+((d>>>0>2]?d:h+(d^-1)|0)<<2)|0;L=w[c|0];M=w[c+1|0];N=w[c+2|0];r=f;h=j&255;f=256-h|0;k=k&255;j=256-k|0;d=B(f,j);O=g;g=B(f,k);f=B(h,j);j=w[c+3|0];c=B(h,k);t[b+3|0]=(((B(r,d)+B(O,g)|0)+B(f,K)|0)+B(j,c)|0)+32768>>>16;t[b+2|0]=(((B(d,H)+B(g,J)|0)+B(f,x)|0)+B(c,N)|0)+32768>>>16;t[b+1|0]=(((B(d,G)+B(g,I)|0)+B(f,C)|0)+B(c,M)|0)+32768>>>16;t[b|0]=(((B(d,F)+B(g,o)|0)+B(f,z)|0)+B(c,L)|0)+32768>>>16;d=v[a+4>>2];c=d;g=v[c+16>>2]+v[c+12>>2]|0;v[c+16>>2]=g;c=v[c+20>>2]+v[c+8>>2]|0;v[d+20>>2]=c;if((g|0)>=1){c=c+1|0;v[d+20>>2]=c;v[d+16>>2]=g-v[d+4>>2]}f=v[d+36>>2]+v[d+32>>2]|0;v[d+36>>2]=f;g=v[d+40>>2]+v[d+28>>2]|0;v[d+40>>2]=g;if((f|0)>=1){g=g+1|0;v[d+40>>2]=g;v[d+36>>2]=f-v[d+24>>2]}b=b+4|0;e=e-1|0;if(e){continue}break}}function fLa(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,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;h=Qb-48|0;Qb=h;g=-1;a:{b:{c:{d:{if(!a|!b){break d}v[h+24>>2]=0;v[h+8>>2]=0;fq(a,ve(a),h+24|0,h+8|0,0);l=nG(v[h+24>>2],0);a=v[h+24>>2];if(a){dc(a)}if(!l){break d}if(f){e:{i=Qb-48|0;Qb=i;n=b;f:{g:{h:{i:{j:{if(b){f=ve(b);a=f+2|0;j=fc((a|0)!=(a&1073741823)?-1:a<<2);m=j;a=b;g=f;k=0;k:{if(!g){break k}while(1){o=v[a>>2];k=g;if(!o){break k}v[m>>2]=o;m=m+4|0;a=a+4|0;g=g-1|0;if(g){continue}break}k=0}g=k;FC(m,0,g);a=(f<<2)+j|0;v[a>>2]=0;v[a+4>>2]=0;g=ve(j);if(g>>>0>=1073741808){break h}l:{m:{if(g>>>0>=2){f=g+4&-4;a=fc(f<<2);v[i+40>>2]=f|-2147483648;v[i+32>>2]=a;v[i+36>>2]=g;break m}t[i+43|0]=g;a=i+32|0;if(!g){break l}}v[299999]=0;tc(a,j,g);f=v[299999];v[299999]=0;if((f|0)==1){break f}}v[(g<<2)+a>>2]=0;v[299999]=0;V(2736,i+32|0,1);a=v[299999];v[299999]=0;if((a|0)==1){break j}if(t[i+43|0]<=-1){dc(v[i+32>>2])}g=ve(n);if(g>>>0>=1073741808){break g}n:{o:{if(g>>>0>=2){f=g+4&-4;a=fc(f<<2);v[i+8>>2]=f|-2147483648;v[i>>2]=a;v[i+4>>2]=g;break o}t[i+11|0]=g;a=i;if(!g){break n}}v[299999]=0;tc(a,n,g);f=v[299999];v[299999]=0;if((f|0)==1){break f}}v[(g<<2)+a>>2]=0;v[299999]=0;V(2735,i+16|0,i|0);a=v[299999];v[299999]=0;if((a|0)==1){break i}g=v[i+16>>2];if(g){a=v[i+20>>2];if((g|0)==(a|0)){a=g}else{while(1){f=a-12|0;if(t[a-1|0]<=-1){dc(v[f>>2])}a=f;if((g|0)!=(a|0)){continue}break}a=v[i+16>>2]}v[i+20>>2]=g;dc(a)}if(t[i+11|0]<=-1){dc(v[i>>2])}dc(j)}Qb=i+48|0;break e}a=P()|0;O()|0;if(t[i+43|0]>-1){break b}dc(v[i+32>>2]);break b}a=P()|0;O()|0;if(t[i+11|0]>-1){break b}dc(v[i>>2]);break b}$d(i+32|0);L()}$d(i);L()}break a}}f=mt(0,0);v[h+44>>2]=0;v[h+40>>2]=0;fq(b,ve(b),h+44|0,h+40|0,0);g=jN(v[h+44>>2]);a=v[h+44>>2];if(a){dc(a);v[h+44>>2]=0}p:{if(g){break p}q:{if(d){g=ve(d);if(g>>>0>=1073741808){break c}r:{s:{if(g>>>0>=2){a=g+4&-4;b=fc(a<<2);v[h+16>>2]=a|-2147483648;v[h+8>>2]=b;v[h+12>>2]=g;break s}t[h+19|0]=g;b=h+8|0;if(!g){break r}}v[299999]=0;tc(b,d,g);a=v[299999];v[299999]=0;if((a|0)==1){break a}}v[(g<<2)+b>>2]=0;v[299999]=0;V(2898,h+24|0,h+8|0);a=v[299999];v[299999]=0;t:{u:{if((a|0)!=1){if(t[h+19|0]<=-1){dc(v[h+8>>2])}v[299999]=0;g=Z(2899,l|0,e|0,(t[h+35|0]<0?v[h+24>>2]:h+24|0)|0,c|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break u}if(t[h+35|0]>-1){break q}dc(v[h+24>>2]);break q}a=P()|0;O()|0;if(t[h+19|0]>-1){break t}dc(v[h+8>>2]);break b}a=P()|0;O()|0;if(t[h+35|0]>-1){break t}dc(v[h+24>>2])}break b}g=XV(l,e,0,c)}if(g){break p}g=lG(l)}if(!f){break d}jN(f);dc(f)}Qb=h+48|0;return g|0}$d(h+8|0);L()}T(a|0);L()}W(0)|0;O()|0;lc();L()}function Hoa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=Qb-16|0;Qb=d;v[a>>2]=982652;v[a+4>>2]=0;c=v[b+12>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=c;t[a+16|0]=w[b+16|0];v[a+20>>2]=0;v[a+24>>2]=v[282402];h=a+20|0;a:{b:{c=v[b+20>>2];c:{d:{if(c){f=v[v[c>>2]+28>>2];v[299999]=0;U(f|0,d+8|0,c|0,1);c=v[299999];v[299999]=0;if((c|0)!=1){break d}b=P()|0;O()|0;break c}v[d+8>>2]=0}v[299999]=0;Q(4344,h|0,d+8|0)|0;c=v[299999];v[299999]=0;e:{if((c|0)!=1){c=v[d+8>>2];v[d+8>>2]=0;if(!c){break e}v[299999]=0;f=v[c+4>>2]-1|0;v[c+4>>2]=f;g=v[299999];v[299999]=0;if((g|0)!=1){if(f){break e}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)!=1){break e}}break a}b=P()|0;O()|0;ec(d+8|0);break c}c=v[a+20>>2];c=v[(c?c+12|0:1129608)>>2];v[a+28>>2]=0;v[a+24>>2]=c;v[a+32>>2]=v[282402];f=a+28|0;c=v[b+28>>2];f:{g:{if(c){g=v[v[c>>2]+28>>2];v[299999]=0;U(g|0,d+8|0,c|0,1);c=v[299999];v[299999]=0;if((c|0)!=1){break g}b=P()|0;O()|0;break f}v[d+8>>2]=0}v[299999]=0;Q(4344,f|0,d+8|0)|0;c=v[299999];v[299999]=0;h:{if((c|0)!=1){c=v[d+8>>2];v[d+8>>2]=0;if(!c){break h}v[299999]=0;g=v[c+4>>2]-1|0;v[c+4>>2]=g;e=v[299999];v[299999]=0;if((e|0)!=1){if(g){break h}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)!=1){break h}}break a}b=P()|0;O()|0;ec(d+8|0);break f}c=v[a+28>>2];c=v[(c?c+12|0:1129608)>>2];v[a+36>>2]=0;v[a+32>>2]=c;v[a+40>>2]=v[282402];g=a+36|0;c=v[b+36>>2];i:{j:{if(c){e=v[v[c>>2]+28>>2];v[299999]=0;U(e|0,d+8|0,c|0,1);c=v[299999];v[299999]=0;if((c|0)!=1){break j}b=P()|0;O()|0;break i}v[d+8>>2]=0}v[299999]=0;Q(4344,g|0,d+8|0)|0;c=v[299999];v[299999]=0;k:{if((c|0)!=1){c=v[d+8>>2];v[d+8>>2]=0;if(!c){break k}v[299999]=0;e=v[c+4>>2]-1|0;v[c+4>>2]=e;i=v[299999];v[299999]=0;if((i|0)!=1){if(e){break k}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)!=1){break k}}break a}b=P()|0;O()|0;ec(d+8|0);break i}c=v[a+36>>2];c=v[(c?c+12|0:1129608)>>2];v[a+44>>2]=0;v[a+40>>2]=c;v[a+48>>2]=v[282402];c=a+44|0;e=v[b+44>>2];l:{m:{if(e){i=v[v[e>>2]+28>>2];v[299999]=0;U(i|0,d+8|0,e|0,1);e=v[299999];v[299999]=0;if((e|0)!=1){break m}b=P()|0;O()|0;break l}v[d+8>>2]=0}v[299999]=0;Q(4344,c|0,d+8|0)|0;e=v[299999];v[299999]=0;if((e|0)!=1){c=v[d+8>>2];v[d+8>>2]=0;if(!c){break b}v[299999]=0;h=v[c+4>>2]-1|0;v[c+4>>2]=h;f=v[299999];v[299999]=0;if((f|0)!=1){if(h){break b}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)!=1){break b}}break a}b=P()|0;O()|0;ec(d+8|0)}ec(c)}ec(g)}ec(f)}ec(h);Qc(a);T(b|0);L()}c=v[a+44>>2];v[a+48>>2]=v[(c?c+12|0:1129608)>>2];c=v[b+56>>2];v[a+52>>2]=v[b+52>>2];v[a+56>>2]=c;Qb=d+16|0;return a|0}W(0)|0;O()|0;lc();L()}function rq(a,b){var 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;h=v[a+88>>2];k=h+12|0;a:{b:{c:{d:{if(t[a+8|0]&1){e:{f:{g:{h:{i:{j:{k:{o=v[b>>2];switch(o|0){case 3:break i;case 2:break j;case 0:break k;case 1:break g;case 4:break h;default:break e}}e=x[a+68>>1];f=e;break e}e=v[a+60>>2]-v[a+52>>2]|0;d=v[a- -64>>2]-v[a+56>>2]|0;break f}e=u[a+76>>1];d=u[a+70>>1]-u[a+72>>1]|0;break f}c=v[b+4>>2];v[h+16>>2]=c;b=v[b+8>>2];v[h+20>>2]=b;if(!c){break c}if(b){break b}break d}e=u[a+70>>1]-u[a+72>>1]|0;d=e}c=d;c=c>>31;f=d+c^c;c=e>>31;e=c+e^c}d=v[b+4>>2];l=d;c=v[b+12>>2];if(c){l=(B(c,d)+36|0)/72|0}g=v[b+8>>2];j=g;b=v[b+16>>2];if(b){j=(B(b,g)+36|0)/72|0}l:{if(d){c=2147483647;m:{if(!e){break m}b=l>>31;d=b+l^b;if(d>>>0<=(e>>>17^65535)>>>0){c=((d<<16)+(e>>>1|0)>>>0)/(e>>>0)|0;break m}b=d<<16;n=b+(e>>>1|0)|0;b=(d>>>16|0)+(b>>>0>n>>>0)|0;if(b>>>0>=e>>>0){break m}d=E(b);i=32-d|0;b=n>>>i|b<>>0)/(e>>>0)|0;m=b-B(c,e)|0;b=n<>>31;m=d-(d>>>0>>0?0:e)|0;c=c<<1|d>>>0>=e>>>0;b=b<<1;i=i-1|0;if(i){continue}break}}c=(l|0)<0?0-c|0:c;v[h+16>>2]=c;if(g){b=2147483647;n:{if(!f){break n}d=j>>31;g=d+j^d;if(g>>>0<=(f>>>17^65535)>>>0){b=((g<<16)+(f>>>1|0)>>>0)/(f>>>0)|0;break n}d=g<<16;n=d+(f>>>1|0)|0;d=(g>>>16|0)+(d>>>0>n>>>0)|0;if(d>>>0>=f>>>0){break n}g=E(d);i=32-g|0;d=n>>>i|d<>>0)/(f>>>0)|0;m=d-B(b,f)|0;e=n<>>31;m=d-(d>>>0>>0?0:f)|0;b=b<<1|d>>>0>=f>>>0;e=e<<1;i=i-1|0;if(i){continue}break}}b=(j|0)<0?0-b|0:b;v[h+20>>2]=b;if((o|0)!=3){break l}if((b|0)<=(c|0)){break c}break d}v[h+20>>2]=c;j=jd(l,f,e);b=c;break l}c=2147483647;o:{if(!f){break o}b=j>>31;d=b+j^b;if(d>>>0<=(f>>>17^65535)>>>0){c=((d<<16)+(f>>>1|0)>>>0)/(f>>>0)|0;break o}b=d<<16;g=b+(f>>>1|0)|0;b=(d>>>16|0)+(b>>>0>g>>>0)|0;if(b>>>0>=f>>>0){break o}d=E(b);i=32-d|0;b=g>>>i|b<>>0)/(f>>>0)|0;m=b-B(c,f)|0;b=g<>>31;m=d-(d>>>0>>0?0:f)|0;c=c<<1|d>>>0>=f>>>0;b=b<<1;i=i-1|0;if(i){continue}break}}b=(j|0)<0?0-c|0:c;v[h+16>>2]=b;v[h+20>>2]=b;l=jd(j,e,f);c=b}if(!o){break a}break b}v[k>>2]=0;v[k+4>>2]=0;v[k+24>>2]=0;v[k+16>>2]=0;v[k+20>>2]=0;v[k+8>>2]=0;v[k+12>>2]=0;v[h+16>>2]=65536;v[h+20>>2]=65536;return}v[h+20>>2]=c;b=c;break b}v[h+16>>2]=b;c=b}d=(c|0)<0;g=x[a+68>>1];e=c;c=c>>31;c=e+c^c;p:{if(g+(c>>>8|0)>>>0<=8190){c=B(c,g)+32768>>>16|0;break p}c=B(g,c>>>16|0)+(B(g,c&65535)+32768>>>16|0)|0}l=d?0-c|0:c;c=b>>31;c=c+b^c;q:{if(g+(c>>>8|0)>>>0<=8190){c=B(c,g)+32768>>>16|0;break q}c=B(g,c>>>16|0)+(B(g,c&65535)+32768>>>16|0)|0}j=(b|0)<0?0-c|0:c}u[h+14>>1]=j+32>>>6;u[h+12>>1]=l+32>>>6;M_(a,k)}function OU(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;k=Qb+-64|0;Qb=k;a:{b:{if(!c|(!b|!d)){break b}j=v[b+32>>2];c:{if(!j){break c}m=v[j+80>>2];if(v[j+48>>2]!=(b|0)){break c}j=v[j+44>>2];if(!j){break c}j=v[j+44>>2];if(!j){break c}if(Se(j,d,e,c)){break b}}d:{n=v[b+44>>2];if(n){break d}n=oo(0,m);v[b+44>>2]=n;if(n){break d}e:{if(!a){b=0;d=0;break e}b=v[a>>2];d=v[a+4>>2];if((v[a+28>>2]&-2)!=-1412623820){break e}l=(b^-1)+a>>>0<249?b:0}v[k>>2]=356912;oc(0,d,b,l,0,23,2,3,356912,0,0,0,350051,k);Hj(i);break a}j=Ub[v[259704]](64)|0;if(!j){f:{if(!a){b=0;d=0;break f}b=v[a>>2];d=v[a+4>>2];if((v[a+28>>2]&-2)!=-1412623820){break f}l=(b^-1)+a>>>0<249?b:0}v[k+16>>2]=291415;oc(0,d,b,l,0,23,2,3,291415,0,0,0,350051,k+16|0);Hj(i);break a}v[j>>2]=0;v[j+4>>2]=0;v[j+40>>2]=0;v[j+44>>2]=0;v[j+4>>2]=16;l=j+56|0;a=l;v[a>>2]=0;v[a+4>>2]=0;v[j+48>>2]=0;v[j+52>>2]=0;v[j+32>>2]=0;v[j+36>>2]=0;v[j+24>>2]=0;v[j+28>>2]=0;v[j+16>>2]=0;v[j+20>>2]=0;o=j+8|0;a=o;v[a>>2]=0;v[a+4>>2]=0;v[j+40>>2]=f;v[j+32>>2]=v[b+32>>2];a=j;g:{h:{if(!m){p=j,q=we(d),v[p+8>>2]=q;p=j,q=we(e),v[p+56>>2]=q;d=we(c);v[j+52>>2]=i;v[j+44>>2]=g;v[j+60>>2]=d;l=j+56|0;o=j+8|0;if(!h){break g}d=we(h);break h}p=j,q=Rd(m,d,-1),v[p+8>>2]=q;p=j,q=Rd(m,e,-1),v[p+56>>2]=q;d=Rd(m,c,-1);v[j+52>>2]=i;v[j+44>>2]=g;v[j+60>>2]=d;if(!h){break g}d=Rd(m,h,-1)}v[a+48>>2]=d}if((Su(n,v[j+8>>2],v[j+56>>2],v[j+60>>2],j)|0)<=-1){NU(j);break a}v[k+60>>2]=0;i:{j:{a=v[b+40>>2];if(a){break j}a=b;e=a;d=v[a+32>>2];if(d){a=v[d+80>>2]}else{a=0}a=oo(0,a);v[e+40>>2]=a;if(a){break j}v[k+32>>2]=291303;oc(0,0,0,0,0,23,2,3,291303,0,0,0,350051,k+32|0);break i}e=mo(c,k+60|0);c=e?e:c;d=am(a,c,v[k+60>>2]);if(!d){d=Ub[v[259704]](56)|0;if(!d){v[k+48>>2]=291415;oc(0,0,0,0,0,23,2,3,291415,0,0,0,350051,k+48|0);break i}v[d>>2]=0;v[d+4>>2]=0;v[d+48>>2]=0;v[d+52>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=0;v[d+36>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d+4>>2]=15;p=d,q=we(c),v[p+8>>2]=q;f=we(v[k+60>>2]);v[d+36>>2]=0;v[d+48>>2]=f;RF(a,c,v[k+60>>2],d)}a=v[k+60>>2];if(a){Ub[v[259708]](a)}if(e){Ub[v[259708]](e)}k:{l:{if(!ag(v[o>>2],235579)){a=v[l>>2];if(!a){break l}if(!ag(a,235579)){break l}}break k}c=v[d+44>>2];m:{while(1){a=c;if(!a){break m}n:{if(!ag(v[a+8>>2],235579)){c=v[l>>2];if(!c){break n}if(!ag(c,235579)){break n}}c=v[a+36>>2];if(c){continue}}break}v[j+36>>2]=v[a+36>>2];v[a+36>>2]=j;break i}}v[j+36>>2]=v[d+44>>2];v[d+44>>2]=j}v[j+20>>2]=b;a=v[b+16>>2];o:{if(!a){v[b+12>>2]=j;break o}v[a+24>>2]=j;v[j+28>>2]=a}v[b+16>>2]=j;break a}Hj(i)}Qb=k- -64|0}function oFa(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,p=0,q=0,r=0,s=0,t=0,u=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;I=Qb-256|0;Qb=I;g=a;while(1){a:{i=g;d=v[(k<<2)+b>>2]+c|0;n=w[d+9|0];o=w[d+6|0];e=n+o|0;q=w[d+14|0];l=w[d+1|0];h=q+l|0;f=e+h|0;j=w[d+10|0];m=w[d+5|0];p=j+m|0;s=w[d+13|0];t=w[d+2|0];r=s+t|0;u=p+r|0;x=w[d+8|0];y=w[d+7|0];z=x+y|0;A=w[d+15|0];C=w[d|0];D=A+C|0;E=z+D|0;F=w[d+11|0];G=w[d+4|0];H=F+G|0;J=w[d+3|0];K=w[d+12|0];d=J+K|0;L=H+d|0;v[g+16>>2]=(B(f-u|0,4433)+B(E-L|0,10703)|0)+1024>>11;v[g>>2]=(E+(f+(u+L|0)|0)<<2)+-8192;f=D-z|0;p=r-p|0;r=d-H|0;e=h-e|0;d=(B(f-p|0,11363)+B(r-e|0,2260)|0)+1024|0;v[g+24>>2]=(d+B(r,-8697)|0)+B(f,-1730)>>11;v[g+8>>2]=(d+B(p,17799)|0)+B(e,11893)>>11;d=m-j|0;e=G-F|0;h=J-K|0;f=t-s|0;j=(B(d-e|0,3363)+B(h+f|0,-11086)|0)+1024|0;n=o-n|0;o=l-q|0;q=B(n+e|0,-10217)+B(o+h|0,-5461)|0;p=q+((j+B(h,8728)|0)+B(e,17760)|0)|0;l=e;e=y-x|0;m=h;h=C-A|0;l=B(l-e|0,7350)+B(m+h|0,8956)|0;v[g+28>>2]=p+l>>11;m=(j+B(f,-9222)|0)+B(d,10055)|0;j=B(n-d|0,11529)+B(f+o|0,1136)|0;d=B(d+e|0,5461)+B(f+h|0,10217)|0;v[g+20>>2]=(m+j|0)+d>>11;f=B(n-e|0,3363)+B(h+o|0,11086)|0;v[g+12>>2]=(f+(j+((q+B(o,589)|0)+B(n,-13631)|0)|0)|0)+1024>>11;v[g+4>>2]=(d+(l+((f+B(h,-18730)|0)+B(e,6387)|0)|0)|0)+1024>>11;e=k-7|0;k=k+1|0;d=7;g=I;b:{switch(e|0){case 0:continue;case 8:break a;default:break b}}g=i+32|0;continue}break}while(1){e=v[g+32>>2];h=v[a+192>>2];b=e+h|0;n=v[g+192>>2];o=v[a+32>>2];c=n+o|0;i=b+c|0;k=v[g+64>>2];f=v[a+160>>2];j=k+f|0;q=v[g+160>>2];l=v[a+64>>2];m=q+l|0;p=j+m|0;s=v[g>>2];t=v[a+224>>2];r=s+t|0;u=v[g+224>>2];x=v[a>>2];y=u+x|0;z=r+y|0;A=v[g+96>>2];C=v[a+128>>2];D=A+C|0;E=v[g+128>>2];F=v[a+96>>2];G=E+F|0;H=D+G|0;v[a+128>>2]=(B(i-p|0,4433)+B(z-H|0,10703)|0)+65536>>17;v[a>>2]=(z+(i+(p+H|0)|0)|0)+8>>4;i=y-r|0;j=m-j|0;m=G-D|0;c=c-b|0;b=(B(i-j|0,11363)+B(m-c|0,2260)|0)+65536|0;v[a+192>>2]=(b+B(m,-8697)|0)+B(i,-1730)>>17;v[a+64>>2]=(b+B(j,17799)|0)+B(c,11893)>>17;b=f-k|0;c=C-A|0;i=F-E|0;k=l-q|0;f=(B(b-c|0,3363)+B(i+k|0,-11086)|0)+65536|0;e=h-e|0;h=o-n|0;n=B(e+c|0,-10217)+B(h+i|0,-5461)|0;j=n+((f+B(i,8728)|0)+B(c,17760)|0)|0;l=c;c=t-s|0;m=i;i=x-u|0;o=B(l-c|0,7350)+B(m+i|0,8956)|0;v[a+224>>2]=j+o>>17;l=(f+B(k,-9222)|0)+B(b,10055)|0;f=B(e-b|0,11529)+B(h+k|0,1136)|0;b=B(b+c|0,5461)+B(i+k|0,10217)|0;v[a+160>>2]=(l+f|0)+b>>17;k=B(e-c|0,3363)+B(h+i|0,11086)|0;v[a+96>>2]=(k+(f+((n+B(h,589)|0)+B(e,-13631)|0)|0)|0)+65536>>17;v[a+32>>2]=(b+(o+((k+B(i,-18730)|0)+B(c,6387)|0)|0)|0)+65536>>17;b=d;d=d-1|0;g=g+4|0;a=a+4|0;if(b){continue}break}Qb=I+256|0}function oYa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=Qb-1568|0;Qb=e;g=v[a+4>>2];t[e+47|0]=0;h=v[v[g+492>>2]+12>>2];a:{if(!(v[v[g+128>>2]+52>>2]|y[g+16>>2]>c>>>0)){f=6;break a}d=d&1024?d|3:d;b:{if(b){v[a+164>>2]=v[b+16>>2];f=v[b+20>>2];break b}v[a+164>>2]=65536;f=65536}v[a+108>>2]=0;v[a+72>>2]=1869968492;v[a+168>>2]=f;j=d&1;t[a+161|0]=!j;f=!(d&3);t[a+160|0]=f;f=Ub[v[h>>2]](e+48|0,g,b,a,v[g+424>>2],v[g+532>>2],f,d>>>16&15,2045)|0;if(f){break a}i=d&1024;t[e+117|0]=i>>>10;v[e+1412>>2]=v[g+404>>2];v[e+1416>>2]=v[g+408>>2];v[e+1420>>2]=v[g+412>>2];v[e+1424>>2]=v[g+416>>2];v[e+1544>>2]=v[g+548>>2];v[e+1548>>2]=v[g+544>>2];f=sv(e+48|0,c,e+16|0,e+47|0);if(!f){k=w[a+160|0];c=e+1436|0;f=v[c+4>>2];v[e+32>>2]=v[c>>2];v[e+36>>2]=f;c=v[e+1432>>2];v[e+24>>2]=v[e+1428>>2];v[e+28>>2]=c;c=v[e+1448>>2];f=v[e+1444>>2];Ub[v[h+4>>2]](e+48|0);v[a+124>>2]=v[a+124>>2]&1|4;c:{if(i){b=v[a+156>>2];d=v[e+80>>2];v[a+32>>2]=(((d>>31)+d|0)+32768&-65536)>>16;d=v[e+88>>2];v[a+40>>2]=(((d>>31)+d|0)+32768&-65536)>>16;d=v[e+36>>2];v[b+20>>2]=v[e+32>>2];v[b+24>>2]=d;d=v[e+28>>2];v[b+12>>2]=v[e+24>>2];v[b+16>>2]=d;v[b+32>>2]=c;v[b+28>>2]=f;t[b+8|0]=1;break c}h=v[e+88>>2];v[a+40>>2]=(((h>>31)+h|0)+32768&-65536)>>16;h=v[e+88>>2];v[a+56>>2]=(((h>>31)+h|0)+32768&-65536)>>16;t[v[a+156>>2]+8|0]=0;i=d&16;d:{if(i){d=v[g+476>>2]-v[g+468>>2]>>16;v[a+52>>2]=d;break d}d=v[e+92>>2];v[a+52>>2]=(((d>>31)+d|0)+32768&-65536)>>16;d=v[e+92>>2];d=(((d>>31)+d|0)+32768&-65536)>>16}v[a+72>>2]=1869968492;v[a+60>>2]=d;if(!(!b|x[b+14>>1]>23)){v[a+124>>2]=v[a+124>>2]|256}h=a+108|0;e:{if(!(v[e+28>>2]|(v[e+24>>2]!=65536|v[e+36>>2]!=65536))){if(!v[e+32>>2]){break e}}ln(h,e+24|0);l=a,m=Ac(v[a+40>>2],v[e+24>>2]),v[l+40>>2]=m;l=a,m=Ac(v[a+52>>2],v[e+36>>2]),v[l+52>>2]=m}if(c|f){dh(h,f,c);v[a+40>>2]=f+v[a+40>>2];v[a+52>>2]=c+v[a+52>>2]}if(!(w[e+47|0]?0:j)){c=v[a+168>>2];f=v[a+164>>2];b=v[e+64>>2];f:{if(v[e+120>>2]?k:0){break f}d=u[b+2>>1];if((d|0)<1){break f}d=d&65535;b=v[b+4>>2];while(1){l=b,m=Ac(v[b>>2],f),v[l>>2]=m;l=b,m=Ac(v[b+4>>2],c),v[l+4>>2]=m;b=b+8|0;j=(d|0)>1;d=d-1|0;if(j){continue}break}}l=a,m=Ac(v[a+40>>2],f),v[l+40>>2]=m;l=a,m=Ac(v[a+52>>2],c),v[l+52>>2]=m}Eo(h,e);b=v[e>>2];v[a+24>>2]=v[e+8>>2]-b;c=v[e+4>>2];d=v[e+12>>2];v[a+36>>2]=d;v[a+32>>2]=b;v[a+28>>2]=d-c;if(!i){break c}zs(a+24|0,v[a+52>>2])}v[a+136>>2]=v[e+16>>2];v[a+140>>2]=v[e+20>>2];f=0;b=v[v[g+128>>2]+52>>2];if(!b){break a}Ub[v[v[b>>2]+4>>2]](v[b+4>>2],e+16|0);v[a+136>>2]=0;v[a+140>>2]=0;break a}Ub[v[h+4>>2]](e+48|0)}Qb=e+1568|0;return f|0}function sR(a,b,c,d,e,f,g){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,u=0,x=0,y=0,z=0,B=0,C=0,E=0,F=0,H=0,I=0,J=0,K=0;z=c;x=v[a>>2]==4;B=x?.14:.07;r=b;k=v[b+8>>2];a:{if((k|0)<1){m=1;i=1;break a}j=k-1|0;s=v[r>>2];i=1;b=0;if(!(z&1)){m=1;while(1){c=b;b=b+1|0;l=v[s+(c<<2)>>2];y=A[l+56>>3];b:{if((c|0)>=(j|0)){break b}h=A[v[s+(b<<2)>>2]+16>>3]-A[l+32>>3];c:{if(w[l+92|0]){if(i>q){i=h;q=h;break c}if(hq)){break c}q=h;break c}d:{if(m>o){m=h;break d}if(ho)){break c}}o=h}n=c?hp)){break b}p=h}u=u+y;if((b|0)!=(k|0)){continue}break}break a}m=1;while(1){c=b;b=b+1|0;l=v[s+(c<<2)>>2];y=A[l+56>>3];e:{if((c|0)>=(j|0)){break e}h=A[v[s+(b<<2)>>2]+24>>3]-A[l+40>>3];f:{if(w[l+92|0]){if(i>q){i=h;q=h;break f}if(hq)){break f}q=h;break f}g:{if(m>o){m=h;break g}if(ho)){break f}}o=h}n=c?hp)){break e}p=h}u=u+y;if((b|0)!=(k|0)){continue}break}}n=G(n,0);y=p-n;h=B;B=u/+(k|0);u=h*B;h:{if(y.01))){h=(o+i)*.5;break h}if(!(m>o)|!(u>q-i)){break i}h=i+-1;break h}h=p+1;break h}h=(p+n)*.5;p=(x?.2:.1)*B;if(p>y){break h}if(!(!(up?p:h);break h}h=n+p}j=fc(16);v[299999]=0;x=S(3315,j|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){j:{if(v[r+8>>2]>=1){b=z&1;F=b?40:32;H=b?24:16;while(1){c=C<<2;b=v[c+v[r>>2]>>2];k=1;k:{if(hk(v[b>>2])){break k}k=1;if(Cr(v[b>>2])){break k}k=Dj(v[b>>2])?-1:0}b=v[r>>2];j=v[b+c>>2];I=t[j+89|0];s=0;c=C+1|0;l:{if((c|0)>=v[r+8>>2]){b=c;break l}m:{n:{l=v[b+(c<<2)>>2];i=A[H+l>>3]-A[j+F>>3];if(h>3]>i){break n}b=1;o:{if(hk(v[l>>2])){break o}if(Cr(v[l>>2])){break o}b=Dj(v[l>>2])?-1:0}if(v[j+48>>2]!=v[l+48>>2]){b=c;break l}if(D(A[j+56>>3]-A[l+56>>3])>.01){b=c;break l}if(!(!v[a+48>>2]|w[l+89|0]==(I&255))){b=c;break l}if(!(!k|!b|(b|0)==(k|0))){b=c;break l}if(!(v[l+4>>2]==(v[j+8>>2]+v[j+4>>2]|0)|v[a>>2]!=6)){b=c;break l}k=k?k:b?b:k;b=c+1|0;if((b|0)>=v[r+8>>2]){break l}j=c<<2;c=b;J=v[r>>2];l=v[J+(b<<2)>>2];j=v[j+J>>2];i=A[H+l>>3]-A[F+j>>3];if(!(h1?K:s)|0)|0;k=v[299999];v[299999]=0;p:{q:{if((k|0)!=1){if((z|0)<2){break q}Yl(x,0,j);break p}break j}Tc(x,j)}i=A[c+56>>3];E=b?i>E?i:E:i;K=s;C=b;if(v[r+8>>2]>(b|0)){continue}break}}j=fc(72);v[299999]=0;a=Na(3968,j|0,x|0,+d,+e,+f,+g,+E)|0;b=v[299999];v[299999]=0;if((b|0)==1){break j}return a}}a=P()|0;O()|0;dc(j);T(a|0);L()}function $i(a,b){a=a|0;b=b|0;var 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;k=v[b+4>>2];if((k|0)>2]){v[a+108>>2]=k}if(v[a+116>>2]<(k|0)){v[a+116>>2]=k}r=v[a+40>>2];g=v[b+28>>2];b=v[b+20>>2];p=g-b>>3;n=p;while(1){m=u[b+8>>1];j=v[b+12>>2];o=u[b+10>>1];c=o>>31;a:{b:{q=c^c+o;h=q;if(h>>>0>4095){break b}e=v[a+4>>2];c=v[a>>2];i=c>>>12|0;if(e>>>0<=i>>>0){d=v[a+8>>2];c:{if(d>>>0>i>>>0){f=v[a+12>>2];break c}d=d+v[a+16>>2]|0;f=fc((d|0)!=(d&1073741823)?-1:d<<2);g=a;l=v[a+12>>2];if(l){gc(f,l,e<<2);dc(l);c=v[a>>2];e=v[a+4>>2];d=v[a+8>>2]+v[a+16>>2]|0}v[g+8>>2]=d;v[a+12>>2]=f}s=(i<<2)+f|0,t=fc(4096),v[s>>2]=t;e=e+1|0;v[a+4>>2]=e}d=4096-(c&4095)|0;d:{if(d>>>0>=h>>>0){break d}g=v[a+12>>2];c=c+d|0;v[a>>2]=c;f=c>>>12|0;if(f>>>0>>0){break d}d=v[a+8>>2];e:{if(d>>>0>f>>>0){d=g;break e}c=d+v[a+16>>2]|0;d=fc((c|0)!=(c&1073741823)?-1:c<<2);c=gc(d,g,e<<2);dc(g);v[a+12>>2]=c;v[a+8>>2]=v[a+8>>2]+v[a+16>>2];c=v[a>>2];e=v[a+4>>2]}s=(f<<2)+d|0,t=fc(4096),v[s>>2]=t;v[a+4>>2]=e+1}v[a>>2]=c+h;if((c|0)<0){break b}gc(v[v[a+12>>2]+(c>>>10&4194300)>>2]+(c&4095)|0,j,h);break a}l=gc(fc(h),j,h);e=v[a+24>>2];j=v[a+20>>2];g=j>>>6|0;if(e>>>0<=g>>>0){c=v[a+28>>2];f:{if(c>>>0>g>>>0){f=v[a+32>>2];break f}c=c+v[a+36>>2]|0;f=fc((c|0)!=(c&1073741823)?-1:c<<2);d=a;i=v[a+32>>2];if(i){gc(f,i,e<<2);dc(i);e=v[a+24>>2];j=v[a+20>>2];c=v[a+28>>2]+v[a+36>>2]|0}v[d+28>>2]=c;v[a+32>>2]=f}s=(g<<2)+f|0,t=fc(512),v[s>>2]=t;v[a+24>>2]=e+1}c=v[v[a+32>>2]+(g<<2)>>2]+((j&63)<<3)|0;v[c+4>>2]=l;v[c>>2]=h;c=v[a+20>>2];v[a+20>>2]=c+1;c=c^-1}g=c;e=v[a+44>>2];j=v[a+40>>2];h=j>>>10|0;if(e>>>0<=h>>>0){c=v[a+48>>2];g:{if(c>>>0>h>>>0){d=v[a+52>>2];break g}c=c+v[a+56>>2]|0;d=fc((c|0)!=(c&1073741823)?-1:c<<2);f=a;i=v[a+52>>2];if(i){gc(d,i,e<<2);dc(i);e=v[a+44>>2];j=v[a+40>>2];c=v[a+48>>2]+v[a+56>>2]|0}v[f+48>>2]=c;v[a+52>>2]=d}s=(h<<2)+d|0,t=fc(12288),v[s>>2]=t;v[a+44>>2]=e+1}c=v[v[a+52>>2]+(h<<2)>>2]+B(j&1023,12)|0;v[c+8>>2]=g;v[c+4>>2]=o;v[c>>2]=m;v[a+40>>2]=v[a+40>>2]+1;if(v[a+104>>2]>(m|0)){v[a+104>>2]=m}c=(m+q|0)-1|0;if((c|0)>v[a+112>>2]){v[a+112>>2]=c}b=b+8|0;n=n-1|0;if(n){continue}break}d=v[a- -64>>2];f=v[a+60>>2];e=f>>>8|0;if(d>>>0<=e>>>0){b=v[a+68>>2];h:{if(b>>>0>e>>>0){b=v[a+72>>2];break h}c=b+v[a+76>>2]|0;b=fc((c|0)!=(c&1073741823)?-1:c<<2);g=a;h=v[a+72>>2];if(h){gc(b,h,d<<2);dc(h);f=w[a+60|0];d=v[a+64>>2];c=v[a+68>>2]+v[a+76>>2]|0}v[g+68>>2]=c;v[a+72>>2]=b}s=(e<<2)+b|0,t=fc(3072),v[s>>2]=t;v[a+64>>2]=d+1}b=v[v[a+72>>2]+(e<<2)>>2]+B(f&255,12)|0;v[b+8>>2]=r;v[b+4>>2]=p;v[b>>2]=k;v[a+60>>2]=v[a+60>>2]+1}function oX(a){var 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,w=0,x=0,y=0,z=0,B=0,C=0,E=0,F=0,G=0;B=A[a+72>>3];C=A[a+80>>3];s=K(B*B+C*C);A[a+200>>3]=s;p=v[a+180>>2];e=v[p- -64>>2];G=v[p+60>>2];g=v[p+56>>2];k=v[p+52>>2];f=v[a+260>>2];if(!f){u[p+68>>1]=2048;v[a+260>>2]=2048;f=2048}c=a;d=A[a+112>>3];E=A[a+8>>3];q=+(k|0);l=E*q;F=A[a+24>>3];h=+(g|0);m=F*h;i=+(((G|0)>2e4?65536:1)|0)*+(f|0);r=d*(l+m)/i;a:{if(D(r)<2147483648){f=~~r;break a}f=-2147483648}v[c+152>>2]=f;v[a+144>>2]=f;c=a;r=A[a+16>>3];n=r*q;q=A[a+32>>3];h=q*h;t=d*(n+h)/i;b:{if(D(t)<2147483648){g=~~t;break b}g=-2147483648}v[c+156>>2]=g;v[a+148>>2]=g;w=a+144|0;x=a+152|0;o=l;l=+(e|0);t=F*l;o=d*(o+t)/i;c:{if(D(o)<2147483648){e=~~o;break c}e=-2147483648}d:{e:{if((e|0)<(f|0)){j=w;c=f;f=e;break e}j=x;k=f;c=e;if((f|0)>=(e|0)){break d}}k=f;v[j>>2]=e;f=c}y=a+148|0;z=a+156|0;l=q*l;n=d*(n+l)/i;f:{if(D(n)<2147483648){b=~~n;break f}b=-2147483648}g:{h:{if((b|0)<(g|0)){c=y;e=g;g=b;break h}c=z;j=g;e=b;if((b|0)<=(g|0)){break g}}j=g;v[c>>2]=b;g=e}n=+(G|0);o=E*n;m=d*(o+m)/i;i:{if(D(m)<2147483648){b=~~m;break i}b=-2147483648}j:{k:{if((b|0)<(k|0)){e=w;c=f;k=b;break k}e=x;c=b;if((b|0)<=(f|0)){break j}}v[e>>2]=b;f=c}m=r*n;h=d*(m+h)/i;l:{if(D(h)<2147483648){b=~~h;break l}b=-2147483648}m:{n:{if((b|0)<(j|0)){e=y;c=g;j=b;break n}e=z;c=b;if((b|0)<=(g|0)){break m}}v[e>>2]=b;g=c}h=d*(o+t)/i;o:{if(D(h)<2147483648){b=~~h;break o}b=-2147483648}p:{q:{if((b|0)<(k|0)){e=w;k=b;c=f;break q}e=x;c=b;if((b|0)<=(f|0)){break p}}v[e>>2]=b;f=c}i=d*(m+l)/i;r:{if(D(i)<2147483648){b=~~i;break r}b=-2147483648}s:{t:{if((b|0)<(j|0)){e=y;j=b;c=g;break t}e=z;c=b;if((b|0)<=(g|0)){break s}}v[e>>2]=b;g=c}if((f|0)==(k|0)){v[w>>2]=0;if(D(d)<2147483648){c=~~d}else{c=-2147483648}v[x>>2]=c}if((g|0)==(j|0)){v[y>>2]=0;d=d*1.2;u:{if(D(d)<2147483648){c=~~d;break u}c=-2147483648}v[z>>2]=c}c=a;d=r*65536;v:{if(D(d)<2147483648){b=~~d;break v}b=-2147483648}v[c+220>>2]=b;c=a;d=E*65536;w:{if(D(d)<2147483648){b=~~d;break w}b=-2147483648}v[c+212>>2]=b;c=a;d=q*65536;x:{if(D(d)<2147483648){b=~~d;break x}b=-2147483648}v[c+224>>2]=b;c=a;d=F*65536;y:{if(D(d)<2147483648){b=~~d;break y}b=-2147483648}v[c+216>>2]=b;c=a;d=C/s*65536;z:{if(D(d)<2147483648){b=~~d;break z}b=-2147483648}v[c+240>>2]=b;c=a;d=B/s*65536;A:{if(D(d)<2147483648){b=~~d;break A}b=-2147483648}v[c+232>>2]=b;c=a;d=A[a+56>>3]/s*65536;B:{if(D(d)<2147483648){b=~~d;break B}b=-2147483648}v[c+228>>2]=b;c=a;d=A[a- -64>>3]/s*65536;C:{if(D(d)<2147483648){b=~~d;break C}b=-2147483648}v[c+236>>2]=b;Bs(p,a+212|0,0)}function Tv(a){var b=0,c=0,d=0,e=0,f=0;c=v[a+528>>2];d=xj(a,c,0,0,0,0,0,0,0,1);a:{if(d){break a}v[c+36>>2]=0;v[c+40>>2]=0;t[c+31|0]=1;t[c+32|0]=1;v[c+48>>2]=0;v[c+52>>2]=0;t[c+44|0]=0;v[c+56>>2]=0;v[c+60>>2]=0;b=c- -64|0;v[b>>2]=0;v[b+4>>2]=0;u[c+70>>1]=0;u[c+72>>1]=0;u[c+74>>1]=0;u[c+76>>1]=0;t[a+433|0]=0;c=a;b=v[a+548>>2];b:{if(b){t[a+306|0]=w[b|0];t[a+307|0]=w[b+1|0];t[a+308|0]=w[b+2|0];t[a+309|0]=w[b+3|0];t[a+310|0]=w[b+4|0];t[a+311|0]=w[b+5|0];t[a+312|0]=w[b+6|0];u[a+1052>>1]=x[b+8>>1];u[a+1054>>1]=x[b+10>>1];u[a+1056>>1]=x[b+12>>1];t[a+1058|0]=w[b+14|0];u[a+1060>>1]=x[b+16>>1];t[a+1062|0]=w[b+18|0];t[a+1080|0]=w[b+19|0];v[a+1088>>2]=v[b+24>>2];t[a+1092|0]=w[b+28|0];v[a+1096>>2]=v[b+32>>2];v[a+1100>>2]=v[b+36>>2];v[a+1104>>2]=v[b+40>>2];v[a+1108>>2]=v[b+44>>2];v[a+1144>>2]=v[a+1116>>2];v[a+1160>>2]=v[b+48>>2];gc(a+1164|0,b+52|0,768);v[a+1932>>2]=v[b+820>>2];gc(a+1936|0,b+824|0,256);v[a+2192>>2]=v[b+1080>>2];v[a+2196>>2]=v[b+1084>>2];v[a+2200>>2]=v[b+1088>>2];v[a+2204>>2]=v[b+1092>>2];v[a+2208>>2]=v[b+1096>>2];v[a+2212>>2]=v[b+1100>>2];v[a+2216>>2]=v[b+1104>>2];v[a+2220>>2]=v[b+1108>>2];v[a+2224>>2]=v[b+1112>>2];t[a+2228|0]=w[b+1116|0];d=v[b+1120>>2];v[a+2232>>2]=d;if(d){d=Ub[v[a+152>>2]](d)|0;v[a+2236>>2]=d;if(!d){pc(a,1,0,0);return 1}gc(d,v[b+1124>>2],v[a+2232>>2])}u[a+2240>>1]=x[b+1128>>1];u[a+2242>>1]=x[b+1130>>1];b=x[b+1132>>1];break b}u[a+306>>1]=0;u[a+308>>1]=0;t[a+309|0]=0;t[a+310|0]=0;t[a+311|0]=0;t[a+312|0]=0;if(!w[a+503|0]){t[a+1062|0]=0;u[a+1060>>1]=0;v[a+1052>>2]=0;b=a+1055|0;t[b|0]=0;t[b+1|0]=0;t[b+2|0]=0;t[b+3|0]=0}v[a+1096>>2]=0;v[a+1100>>2]=0;t[a+1092|0]=0;v[a+1088>>2]=2147483647;t[a+1080|0]=1;v[a+2192>>2]=0;v[a+2196>>2]=0;v[a+1932>>2]=0;v[a+1160>>2]=0;b=a+1104|0;v[b>>2]=0;v[b+4>>2]=0;v[a+1144>>2]=v[a+1116>>2];b=a+2200|0;v[b>>2]=0;v[b+4>>2]=0;b=a+2208|0;v[b>>2]=0;v[b+4>>2]=0;b=a+2216|0;v[b>>2]=0;v[b+4>>2]=0;b=a+2221|0;t[b|0]=0;t[b+1|0]=0;t[b+2|0]=0;t[b+3|0]=0;t[b+4|0]=0;t[b+5|0]=0;t[b+6|0]=0;t[b+7|0]=0;b=v[a+2232>>2];c:{if(!b){break c}d=v[a+2236>>2];if(!d){break c}Ub[v[a+156>>2]](d,b);v[a+2236>>2]=0}v[a+2240>>2]=0;v[a+2232>>2]=0;b=0}u[c+2244>>1]=b;d:{if(w[a+503|0]){break d}c=v[a+688>>2];if(!c){break d}f=a+692|0;while(1){b=c;c=v[b+8>>2];e:{if(w[b+30|0]){break e}d=v[b+12>>2];f:{if(d){v[d+8>>2]=c;break f}v[a+688>>2]=c}v[(c?c+12|0:f)>>2]=d;d=v[b+88>>2];if(w[d+32|0]){e=v[d+28>>2];if(e>>>0<=1){pc(a,999,0,0);return 999}v[d+28>>2]=e-1;Ub[v[a+156>>2]](b,92);break e}d=P1(a,d);Ub[v[a+156>>2]](b,92);if(d){break a}}if(c){continue}break}}d=0}return d}function mOa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=C(0),g=C(0),h=0,i=0,j=C(0),k=C(0),l=C(0),m=C(0),n=C(0),o=C(0),p=0,q=C(0),r=C(0),s=C(0),y=C(0),A=C(0),B=C(0),E=0,F=0,G=C(0);E=Qb-256|0;Qb=E;p=v[a+332>>2];a=v[b+84>>2];i=8;b=E;while(1){a:{b:{h=x[c+32>>1];F=x[c+16>>1];if(h|F){break b}h=0;if(x[c+48>>1]|x[c+64>>1]|(x[c+80>>1]|x[c+96>>1])){break b}if(x[c+112>>1]){break b}g=C(z[a>>2]*C(u[c>>1]));z[b+192>>2]=g;z[b+160>>2]=g;z[b+128>>2]=g;z[b+96>>2]=g;z[b+64>>2]=g;z[b+32>>2]=g;z[b>>2]=g;h=56;break a}j=C(z[a>>2]*C(u[c>>1]));k=C(z[a+128>>2]*C(u[c+64>>1]));q=C(j+k);l=C(z[a+64>>2]*C(h<<16>>16));m=C(z[a+192>>2]*C(u[c+96>>1]));g=C(l+m);n=C(q+g);o=C(z[a+96>>2]*C(u[c+48>>1]));r=C(z[a+160>>2]*C(u[c+80>>1]));s=C(o+r);y=C(z[a+32>>2]*C(F<<16>>16));A=C(z[a+224>>2]*C(u[c+112>>1]));B=C(y+A);f=C(s+B);z[b+224>>2]=n-f;z[b>>2]=n+f;j=C(j-k);k=C(C(C(l-m)*C(1.4142135381698608))-g);l=C(j+k);m=C(r-o);n=C(y-A);o=C(C(m+n)*C(1.8477590084075928));f=C(C(o+C(m*C(-2.613126039505005)))-f);z[b+192>>2]=l-f;z[b+32>>2]=l+f;j=C(j-k);f=C(C(C(B-s)*C(1.4142135381698608))-f);z[b+160>>2]=j-f;z[b+64>>2]=j+f;g=C(q-g);f=C(C(o+C(n*C(-1.0823922157287598)))-f);z[b+96>>2]=g+f;g=C(g-f);h=32}z[(h<<2)+b>>2]=g;c=c+2|0;a=a+4|0;b=b+4|0;h=i>>>0>1;i=i-1|0;if(h){continue}break}a=0;c=E;while(1){b=v[(a<<2)+d>>2]+e|0;h=b;j=C(z[c>>2]+C(128.5));k=z[c+16>>2];q=C(j+k);l=z[c+8>>2];m=z[c+24>>2];g=C(l+m);n=C(q+g);o=z[c+20>>2];r=z[c+12>>2];s=C(o+r);y=z[c+4>>2];A=z[c+28>>2];B=C(y+A);f=C(s+B);G=C(n+f);c:{if(C(D(G))>2];g=v[f>>2];m=A[g+32>>3];G=A[g>>3];u=A[g+16>>3];r=A[g+40>>3];n=A[g+8>>3];s=A[a+16>>3];j=A[g+24>>3];x=A[a+24>>3];h=(e|0)>1?e:1;v[f+24>>2]=h;v[f+4>>2]=h;i=f;s=s+ +(c|0);k=j;j=x+ +(d|0);x=k*j;k=(r+(n*s+x))*256;k=k+(k<0?-.5:.5);a:{if(D(k)<2147483648){d=~~k;break a}d=-2147483648}v[i+40>>2]=d;i=f;u=j*u;j=(m+(s*G+u))*256;j=j+(j<0?-.5:.5);b:{if(D(j)<2147483648){c=~~j;break b}c=-2147483648}v[i+20>>2]=c;i=f;k=r;r=s+ +(e>>>0);n=(k+(r*n+x))*256;n=n+(n<0?-.5:.5);c:{if(D(n)<2147483648){p=~~n;break c}p=-2147483648}d=p-d|0;g=(d|0)/(h|0)|0;l=d-B(g,h)|0;o=(l|0)<1;v[i+28>>2]=g-o;p=f;m=(m+(r*G+u))*256;m=m+(m<0?-.5:.5);d:{if(D(m)<2147483648){d=~~m;break d}d=-2147483648}c=d-c|0;d=(c|0)/(h|0)|0;i=d;c=c-B(d,h)|0;d=(c|0)<1;v[p+8>>2]=i-d;g=l+(o?e:0)|0;v[f+32>>2]=g;c=c+(d?e:0)|0;v[f+12>>2]=c;v[f+36>>2]=g-e;v[f+16>>2]=c-e;c=v[a+4>>2];f=v[c+40>>2];c=v[c+20>>2];while(1){g=v[a+36>>2];d=v[a>>2];l=c-v[a+32>>2]|0;h=l>>8;v[d+8>>2]=h;o=f-g|0;g=v[d+28>>2];c=(v[d+32>>2]+(o>>8)>>>0)%(g>>>0)|0;v[d+36>>2]=c;f=v[v[d>>2]>>2];C=v[f+4>>2];E=v[f+16>>2];f=h+v[d+16>>2]|0;h=v[d+12>>2];f=(f>>>0)%(h>>>0)|0;v[d+20>>2]=f;g=C+B(E,c>>>0>2]?c:g+(c^-1)|0)|0;v[d+4>>2]=g;c=g+(f<<2)|0;C=w[c+2|0];E=w[c+1|0];H=w[c|0];q=w[c+3|0];c=f+1|0;c=c>>>0>>0?c:0;v[d+20>>2]=c;c=g+(c<<2)|0;I=w[c+2|0];J=w[c+1|0];K=w[c|0];f=w[c+3|0];c=v[a>>2];d=v[c+36>>2]+1|0;g=v[c+28>>2];d=g>>>0>d>>>0?d:0;v[c+36>>2]=d;h=v[v[c>>2]>>2];F=v[h+4>>2];h=v[h+16>>2];z=(v[c+16>>2]+v[c+8>>2]>>>0)%y[c+12>>2]|0;v[c+20>>2]=z;i=c;c=F+B(h,d>>>0>2]?d:g+(d^-1)|0)|0;v[i+4>>2]=c;c=c+(z<<2)|0;F=w[c+2|0];z=w[c+1|0];L=w[c|0];g=w[c+3|0];c=v[a>>2];d=v[c+20>>2]+1|0;d=d>>>0>2]?d:0;v[c+20>>2]=d;c=v[c+4>>2]+(d<<2)|0;M=w[c+2|0];N=w[c+1|0];O=w[c|0];P=q;h=o&255;o=256-h|0;l=l&255;q=256-l|0;d=B(o,q);p=f;f=B(l,o);i=g;g=B(h,q);q=w[c+3|0];c=B(h,l);t[b+3|0]=(((B(P,d)+B(p,f)|0)+B(i,g)|0)+B(q,c)|0)+32768>>>16;t[b+2|0]=(((B(d,H)+B(f,K)|0)+B(g,L)|0)+B(c,O)|0)+32768>>>16;t[b+1|0]=(((B(d,E)+B(f,J)|0)+B(g,z)|0)+B(c,N)|0)+32768>>>16;t[b|0]=(((B(d,C)+B(f,I)|0)+B(g,F)|0)+B(c,M)|0)+32768>>>16;d=v[a+4>>2];c=d;f=v[c+16>>2]+v[c+12>>2]|0;v[c+16>>2]=f;c=v[c+20>>2]+v[c+8>>2]|0;v[d+20>>2]=c;if((f|0)>=1){c=c+1|0;v[d+20>>2]=c;v[d+16>>2]=f-v[d+4>>2]}g=v[d+36>>2]+v[d+32>>2]|0;v[d+36>>2]=g;f=v[d+40>>2]+v[d+28>>2]|0;v[d+40>>2]=f;if((g|0)>=1){f=f+1|0;v[d+40>>2]=f;v[d+36>>2]=g-v[d+24>>2]}b=b+4|0;e=e-1|0;if(e){continue}break}}function YX(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,z=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0;f=v[a+4>>2];g=v[f>>2];m=A[g+32>>3];G=A[g>>3];u=A[g+16>>3];r=A[g+40>>3];n=A[g+8>>3];s=A[a+16>>3];j=A[g+24>>3];x=A[a+24>>3];h=(e|0)>1?e:1;v[f+24>>2]=h;v[f+4>>2]=h;i=f;s=s+ +(c|0);k=j;j=x+ +(d|0);x=k*j;k=(r+(n*s+x))*256;k=k+(k<0?-.5:.5);a:{if(D(k)<2147483648){d=~~k;break a}d=-2147483648}v[i+40>>2]=d;i=f;u=j*u;j=(m+(s*G+u))*256;j=j+(j<0?-.5:.5);b:{if(D(j)<2147483648){c=~~j;break b}c=-2147483648}v[i+20>>2]=c;i=f;k=r;r=s+ +(e>>>0);n=(k+(r*n+x))*256;n=n+(n<0?-.5:.5);c:{if(D(n)<2147483648){p=~~n;break c}p=-2147483648}d=p-d|0;g=(d|0)/(h|0)|0;l=d-B(g,h)|0;o=(l|0)<1;v[i+28>>2]=g-o;p=f;m=(m+(r*G+u))*256;m=m+(m<0?-.5:.5);d:{if(D(m)<2147483648){d=~~m;break d}d=-2147483648}c=d-c|0;d=(c|0)/(h|0)|0;i=d;c=c-B(d,h)|0;d=(c|0)<1;v[p+8>>2]=i-d;g=l+(o?e:0)|0;v[f+32>>2]=g;c=c+(d?e:0)|0;v[f+12>>2]=c;v[f+36>>2]=g-e;v[f+16>>2]=c-e;c=v[a+4>>2];f=v[c+40>>2];c=v[c+20>>2];while(1){g=v[a+36>>2];d=v[a>>2];l=c-v[a+32>>2]|0;h=l>>8;v[d+8>>2]=h;o=f-g|0;g=v[d+28>>2];c=(v[d+32>>2]+(o>>8)>>>0)%(g>>>0)|0;v[d+36>>2]=c;f=v[v[d>>2]>>2];C=v[f+4>>2];E=v[f+16>>2];f=h+v[d+16>>2]|0;h=v[d+12>>2];f=(f>>>0)%(h>>>0)|0;v[d+20>>2]=f;g=C+B(E,c>>>0>2]?c:g+(c^-1)|0)|0;v[d+4>>2]=g;c=g+(f<<2)|0;C=w[c|0];E=w[c+1|0];H=w[c+2|0];q=w[c+3|0];c=f+1|0;c=c>>>0>>0?c:0;v[d+20>>2]=c;c=g+(c<<2)|0;I=w[c|0];J=w[c+1|0];K=w[c+2|0];f=w[c+3|0];c=v[a>>2];d=v[c+36>>2]+1|0;g=v[c+28>>2];d=g>>>0>d>>>0?d:0;v[c+36>>2]=d;h=v[v[c>>2]>>2];F=v[h+4>>2];h=v[h+16>>2];z=(v[c+16>>2]+v[c+8>>2]>>>0)%y[c+12>>2]|0;v[c+20>>2]=z;i=c;c=F+B(h,d>>>0>2]?d:g+(d^-1)|0)|0;v[i+4>>2]=c;c=c+(z<<2)|0;F=w[c|0];z=w[c+1|0];L=w[c+2|0];g=w[c+3|0];c=v[a>>2];d=v[c+20>>2]+1|0;d=d>>>0>2]?d:0;v[c+20>>2]=d;c=v[c+4>>2]+(d<<2)|0;M=w[c|0];N=w[c+1|0];O=w[c+2|0];P=q;h=o&255;o=256-h|0;l=l&255;q=256-l|0;d=B(o,q);p=f;f=B(l,o);i=g;g=B(h,q);q=w[c+3|0];c=B(h,l);t[b+3|0]=(((B(P,d)+B(p,f)|0)+B(i,g)|0)+B(q,c)|0)+32768>>>16;t[b+2|0]=(((B(d,H)+B(f,K)|0)+B(g,L)|0)+B(c,O)|0)+32768>>>16;t[b+1|0]=(((B(d,E)+B(f,J)|0)+B(g,z)|0)+B(c,N)|0)+32768>>>16;t[b|0]=(((B(d,C)+B(f,I)|0)+B(g,F)|0)+B(c,M)|0)+32768>>>16;d=v[a+4>>2];c=d;f=v[c+16>>2]+v[c+12>>2]|0;v[c+16>>2]=f;c=v[c+20>>2]+v[c+8>>2]|0;v[d+20>>2]=c;if((f|0)>=1){c=c+1|0;v[d+20>>2]=c;v[d+16>>2]=f-v[d+4>>2]}g=v[d+36>>2]+v[d+32>>2]|0;v[d+36>>2]=g;f=v[d+40>>2]+v[d+28>>2]|0;v[d+40>>2]=f;if((g|0)>=1){f=f+1|0;v[d+40>>2]=f;v[d+36>>2]=g-v[d+24>>2]}b=b+4|0;e=e-1|0;if(e){continue}break}}function TI(a,b){var 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=Qb-16|0;Qb=c;i=x[a+25204>>1];Ub[v[v[a>>2]+8>>2]](v[a+4>>2],b,0)|0;a:{if(Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0){break a}if((Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0)!=77){break a}if((Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0)!=82){break a}o=a,p=B(Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0,257),u[o+25204>>1]=p;v[c+12>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,4)|0;f=w[c+12|0];if(x[a+25204>>1]==18761){f=f|w[c+13|0]<<8|w[c+14|0]<<16|w[c+15|0]<<24}else{f=w[c+15|0]|(w[c+13|0]<<16|f<<24|w[c+14|0]<<8)}h=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;b=(b+f|0)+8|0;if((h|0)<(b|0)){j=a+25797|0;k=b;l=b>>31;while(1){f=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;d=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;e=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;g=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[c+12>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,4)|0;d=(e|(f<<16|d<<8))<<8|g;f=w[c+12|0];if(x[a+25204>>1]==18761){f=f|w[c+13|0]<<8|w[c+14|0]<<16|w[c+15|0]<<24}else{f=w[c+15|0]|(w[c+13|0]<<16|f<<24|w[c+14|0]<<8)}b:{c:{d:{e:{if((d|0)!=5718599){if((d|0)==5526615){break e}if((d|0)!=5263940){break b}Ub[v[v[a>>2]+8>>2]](v[a+4>>2],8,1)|0;u[c+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,2)|0;d=w[c+12|0];if(x[a+25204>>1]==18761){d=d|w[c+13|0]<<8}else{d=w[c+13|0]|d<<8}u[c+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,2)|0;e=w[c+12|0];m=d&65535;if(x[a+25204>>1]==18761){d=e|w[c+13|0]<<8}else{d=w[c+13|0]|e<<8}n=d&65535;break b}v[c+12>>2]=-1;d=c+12|0;Ub[v[v[a>>2]>>2]](v[a+4>>2],d,1,4)|0;g=mc(j,75703);u[c+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],d,1,2)|0;e=w[c+12|0];d=g?0:3;g=((d<<2)+a|0)+59268|0;if(x[a+25204>>1]==18761){e=e|w[c+13|0]<<8}else{e=w[c+13|0]|e<<8}z[g>>2]=(e&65535)>>>0;u[c+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,2)|0;e=w[c+12|0];if(x[a+25204>>1]==18761){break d}e=w[c+13|0]|e<<8;break c}xq(a,Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0);v[a+26048>>2]=k;v[a+26052>>2]=l;break b}e=e|w[c+13|0]<<8}z[(((d^1)<<2)+a|0)+59268>>2]=(e&65535)>>>0;u[c+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,2)|0;e=w[c+12|0];g=(((d^3)<<2)+a|0)+59268|0;if(x[a+25204>>1]!=18761){e=w[c+13|0]|e<<8}else{e=e|w[c+13|0]<<8}z[g>>2]=(e&65535)>>>0;u[c+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,2)|0;e=w[c+12|0];g=(((d^2)<<2)+a|0)+59268|0;if(x[a+25204>>1]!=18761){d=w[c+13|0]|e<<8}else{d=e|w[c+13|0]<<8}z[g>>2]=(d&65535)>>>0}Ub[v[v[a>>2]+8>>2]](v[a+4>>2],(f+h|0)+8|0,0)|0;h=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;if((b|0)>(h|0)){continue}break}}u[a+26306>>1]=n;u[a+26304>>1]=m;u[a+25204>>1]=i}Qb=c+16|0}function Xaa(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;j=Qb-16|0;Qb=j;m=yC(g);p=iC(g);g=p;Ub[v[v[g>>2]+20>>2]](j,g);v[f>>2]=d;a:{b:{c:{i=a;g=w[i|0];switch(g-43|0){case 0:case 2:break c;default:break b}}v[299999]=0;g=Q(5591,m|0,g<<24>>24)|0;i=v[299999];v[299999]=0;if((i|0)==1){break a}i=v[f>>2];v[f>>2]=i+4;v[i>>2]=g;i=a+1|0}d:{g=i;if(!((c-g|0)<=1|w[g|0]!=48|(w[g+1|0]|32)!=120)){v[299999]=0;g=Q(5591,m|0,48)|0;h=v[299999];v[299999]=0;if((h|0)==1){break a}h=v[f>>2];v[f>>2]=h+4;v[h>>2]=g;g=t[i+1|0];v[299999]=0;g=Q(5591,m|0,g|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break a}h=v[f>>2];v[f>>2]=h+4;v[h>>2]=g;i=i+2|0;g=i;while(1){if(c>>>0<=g>>>0){break d}h=t[g|0];v[299999]=0;ga(5559)|0;k=v[299999];v[299999]=0;e:{if((k|0)==1){break e}v[299999]=0;k=v[299999];v[299999]=0;if((k|0)==1){break e}if(!(h-48>>>0<10|(h|32)-97>>>0<6)){break d}g=g+1|0;continue}break}break a}while(1){if(c>>>0<=g>>>0){break d}h=t[g|0];v[299999]=0;ga(5559)|0;k=v[299999];v[299999]=0;if((k|0)==1){break a}v[299999]=0;k=v[299999];v[299999]=0;if((k|0)==1){break a}if(h-48>>>0>=10){break d}g=g+1|0;continue}}f:{if(w[j+11|0]>>>7|0){l=v[j+4>>2]}else{l=w[j+11|0]}if(!l){h=v[f>>2];v[299999]=0;Z(5576,m|0,i|0,g|0,h|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break a}v[f>>2]=v[f>>2]+(g-i<<2);break f}v[299999]=0;Fn(i,g);h=v[299999];v[299999]=0;if((h|0)==1){break a}v[299999]=0;q=S(5573,p|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break a}h=0;k=i;while(1){if(g>>>0<=k>>>0){h=v[f>>2];v[299999]=0;gt((i-a<<2)+d|0,h);i=v[299999];v[299999]=0;if((i|0)!=1){break f}break a}if(w[j+11|0]>>>7|0){l=v[j>>2]}else{l=j}o=t[l+h|0]!=(n|0);if(w[j+11|0]>>>7|0){l=v[j>>2]}else{l=j}if(!(o|t[l+h|0]<1)){n=v[f>>2];v[f>>2]=n+4;v[n>>2]=q;if(w[j+11|0]>>>7|0){l=v[j+4>>2]}else{l=w[j+11|0]}h=(l-1>>>0>h>>>0)+h|0;n=0}l=t[k|0];v[299999]=0;l=Q(5591,m|0,l|0)|0;o=v[299999];v[299999]=0;if((o|0)!=1){o=v[f>>2];v[f>>2]=o+4;v[o>>2]=l;k=k+1|0;n=n+1|0;continue}break}break a}g:{while(1){if(c>>>0>g>>>0){i=w[g|0];if((i|0)==46){v[299999]=0;i=S(5577,p|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break a}h=v[f>>2];k=h+4|0;v[f>>2]=k;v[h>>2]=i;g=g+1|0;break g}v[299999]=0;i=Q(5591,m|0,i<<24>>24)|0;h=v[299999];v[299999]=0;if((h|0)==1){break a}h=v[f>>2];v[f>>2]=h+4;v[h>>2]=i;g=g+1|0;continue}break}k=v[f>>2]}v[299999]=0;Z(5576,m|0,g|0,c|0,k|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break a}i=f;f=v[f>>2]+(c-g<<2)|0;v[i>>2]=f;v[e>>2]=(b|0)==(c|0)?f:(b-a<<2)+d|0;Mc(j);Qb=j+16|0;return}a=P()|0;O()|0;Mc(j);T(a|0);L()}function MQ(a,b,c){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;i=Qb-16|0;Qb=i;a:{b:{c:{d:{e:{d=v[a+708>>2];switch(d|0){case 0:break c;case 1:break e;default:break d}}td(a,c);break b}d=d-1|0;v[a+708>>2]=d;if((d|0)!=1){break c}Gc(a,59427);td(a,c);break b}d=v[a+200>>2];if(!(d&1)){break a}if(d&4){Gc(a,60057);td(a,c);break b}Zc(a,v[a+740>>2]);d=ug(a,c+1|0);v[a+740>>2]=d;yf(a,d,c);kd(a,d,c);d=td(a,0);e=v[a+740>>2];if(d){Zc(a,e);v[a+740>>2]=0;break b}t[c+e|0]=0;g=v[a+740>>2];e=g;while(1){d=e;e=d+1|0;if(w[d|0]){continue}break}if(!((c+g|0)-2>>>0>=e>>>0&c>>>0>=2)){Zc(a,g);v[a+740>>2]=0;Gc(a,60177);break b}k=w[d+1|0];t[i+4|0]=k;e=d+2|0;d=(g-e|0)+c|0;c=(k|0)==8?6:10;h=(d>>>0)/(c>>>0)|0;if((d|0)!=(B(c,h)|0)){Zc(a,g);v[a+740>>2]=0;Gc(a,60438);break b}if(h>>>0>=429496730){Gc(a,60785);break b}v[i+12>>2]=h;g=If(a,B(h,10));v[i+8>>2]=g;f:{g:{if(g){if(c>>>0>d>>>0){break f}if((k|0)!=8){break g}while(1){c=g+B(f,10)|0;u[c>>1]=w[e|0];u[c+2>>1]=w[e+1|0];u[c+4>>1]=w[e+2|0];u[c+6>>1]=w[e+3|0];d=c;c=w[e+4|0]|w[e+5|0]<<8;u[d+8>>1]=c<<8|c>>>8;e=e+6|0;f=f+1|0;if((h|0)!=(f|0)){continue}break}break f}Gc(a,60890);break b}while(1){d=g+B(f,10)|0;c=w[e|0]|w[e+1|0]<<8;u[d>>1]=c<<8|c>>>8;c=w[e+2|0]|w[e+3|0]<<8;u[d+2>>1]=c<<8|c>>>8;c=w[e+4|0]|w[e+5|0]<<8;u[d+4>>1]=c<<8|c>>>8;c=w[e+6|0]|w[e+7|0]<<8;u[d+6>>1]=c<<8|c>>>8;c=w[e+8|0]|w[e+9|0]<<8;u[d+8>>1]=c<<8|c>>>8;e=e+10|0;f=f+1|0;if((h|0)!=(f|0)){continue}break}}v[i>>2]=v[a+740>>2];e=Qb-80|0;Qb=e;h:{if(!a|!b){break h}i:{c=v[b+216>>2];j:{if((2147483647-c|0)<1){break j}c=c+1|0;if(c>>>0>268435454){break j}c=If(a,c<<4);if(c){break i}}Gc(a,53610);break h}d=c;c=v[b+212>>2];g=gc(d,c,v[b+216>>2]<<4);Zc(a,c);v[b+212>>2]=0;while(1){l=(n<<4)+i|0;h=v[l>>2];k:{if(!h){t[e|0]=0;Gc(a,54655);break k}k=v[b+216>>2];f=1;m=0;d=e;j=w[h|0];l:{if(!j){c=1;break l}while(1){h=h+1|0;m:{n:{if(j>>>0>160){c=0;break n}c=0;if((j-33&255)>>>0<94){break n}c=1;if(f){break m}j=32}t[d|0]=j;m=m+1|0;d=d+1|0}j=w[h|0];if(!j){break l}f=c;if(m>>>0<79){continue}break}}c=(m|0)!=0&c;t[d-c|0]=0;c=m-c|0;if(!c){Gc(a,54655);break k}f=((k<<4)+g|0)+(o<<4)|0;c=c+1|0;d=If(a,c);v[f>>2]=d;if(!d){Gc(a,54978);break k}c=gc(d,e,c);d=If(a,B(v[l+12>>2],10));v[f+8>>2]=d;if(!d){Gc(a,54978);Zc(a,c);v[f>>2]=0;break k}c=v[l+12>>2];gc(d,v[l+8>>2],B(c,10));v[f+12>>2]=c;t[f+4|0]=w[l+4|0];o=o+1|0}n=n+1|0;if((n|0)!=1){continue}break}v[b+216>>2]=o;v[b+212>>2]=g;v[b+8>>2]=v[b+8>>2]|8192;v[b+184>>2]=v[b+184>>2]|32}Qb=e+80|0;Zc(a,v[a+740>>2]);v[a+740>>2]=0;Zc(a,v[i+8>>2])}Qb=i+16|0;return}hd(a,59673);L()}function GZ(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{switch(v[a+92>>2]){case 0:f=v[a+64>>2];if((f|0)<(c|0)){j:{if(v[a+84>>2]){e=v[a+36>>2];break j}e=v[a+36>>2];v[a+84>>2]=e;v[a+80>>2]=e;e=e+32|0;v[a+36>>2]=e}if(y[a+32>>2]>e>>>0){g=v[a+4>>2];h=v[a+8>>2];d=v[a+80>>2];v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=e;v[d+28>>2]=0;v[d+4>>2]=0;u[d+12>>1]=w[a+164|0]|((h|0)>(((f+g|0)-1&0-g)-f|0)?8:40);if(!v[a+88>>2]){v[a+88>>2]=d}break f}break a}if((c|0)>=(f|0)){break c}k:{if(v[a+84>>2]){e=v[a+36>>2];break k}e=v[a+36>>2];v[a+84>>2]=e;v[a+80>>2]=e;e=e+32|0;v[a+36>>2]=e}if(y[a+32>>2]>e>>>0){g=v[a+4>>2];h=v[a+8>>2];d=v[a+80>>2];v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=e;v[d+28>>2]=0;v[d+4>>2]=0;e=w[a+164|0];u[d+12>>1]=(h|0)>(f&g-1)?e:e|16;if(!v[a+88>>2]){v[a+88>>2]=d}break h}break a;case 2:break g;case 1:break i;default:break c}}d=v[a+64>>2];if((d|0)<=(c|0)){break e}f=v[a+36>>2];e=v[a+80>>2];g=f-v[e+8>>2]|0;if((g|0)<=-1){v[a+40>>2]=99;return 1}h=v[a+4>>2]-1&d;i=v[a+8>>2];l:{if(!g){d=f;break l}v[e+16>>2]=g>>2;if((h|0)>=(i|0)){d=x[e+12>>1];u[e+12>>1]=(d&8?16:32)|d}v[a+80>>2]=f;d=f+32|0;v[a+36>>2]=d;v[f+8>>2]=d;v[f+16>>2]=0;v[e+28>>2]=f;u[a+76>>1]=x[a+76>>1]+1;e=f}g=v[a+32>>2];if(g>>>0<=d>>>0){break a}t[a+79|0]=0;if(!v[a+84>>2]){v[a+84>>2]=d;v[a+80>>2]=d;f=d+32|0;v[a+36>>2]=f;e=d;d=f}if(d>>>0>=g>>>0){break a}v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=d;v[e+28>>2]=0;v[e+4>>2]=0;d=w[a+164|0];u[e+12>>1]=(h|0)<(i|0)?d:d|16;if(!v[a+88>>2]){v[a+88>>2]=e}}t[a+78|0]=1;v[a+92>>2]=2;t[a+79|0]=0;d=v[a+64>>2];break d}d=v[a+64>>2];if((d|0)>=(c|0)){break d}f=v[a+36>>2];e=v[a+80>>2];g=f-v[e+8>>2]|0;if((g|0)<=-1){v[a+40>>2]=99;return 1}h=v[a+4>>2];h=((h+d|0)-1&0-h)-d|0;i=v[a+8>>2];m:{if(!g){d=f;break m}v[e+16>>2]=g>>2;if((h|0)>=(i|0)){d=x[e+12>>1];u[e+12>>1]=(d&8?16:32)|d}v[a+80>>2]=f;d=f+32|0;v[a+36>>2]=d;v[f+8>>2]=d;v[f+16>>2]=0;v[e+28>>2]=f;u[a+76>>1]=x[a+76>>1]+1;e=f}g=v[a+32>>2];if(g>>>0<=d>>>0){break a}t[a+79|0]=0;if(!v[a+84>>2]){v[a+84>>2]=d;v[a+80>>2]=d;f=d+32|0;v[a+36>>2]=f;e=d;d=f}if(d>>>0>=g>>>0){break a}v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=d;v[e+28>>2]=0;v[e+4>>2]=0;u[e+12>>1]=w[a+164|0]|((h|0)<(i|0)?8:40);if(!v[a+88>>2]){v[a+88>>2]=e}}t[a+78|0]=1;v[a+92>>2]=1;t[a+79|0]=0;d=v[a+64>>2]}f=1;if(EZ(a,v[a+60>>2],d,b,c,v[a+68>>2],v[a+72>>2])){break b}break c}e=w[a+78|0];d=EZ(a,v[a+60>>2],0-d|0,b,0-c|0,0-v[a+72>>2]|0,0-v[a+68>>2]|0);if(!(w[a+78|0]|!e)){e=v[a+80>>2];v[e+20>>2]=0-v[e+20>>2]}f=1;if(d){break b}}v[a+64>>2]=c;v[a+60>>2]=b;f=0}return f}v[a+40>>2]=98;return 1}function yLa(a,b){a=a|0;b=b|0;var 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;n=v[a+4>>2];c=v[n+52>>2];h=c?c:64;e=v[a+24>>2];o=v[a+12>>2];j=v[a+8>>2];a:{b:{f=v[n+56>>2];d=v[a+16>>2];g=v[a+20>>2]-d|0;if(!(!f|(g|0)<=0)){k=f?-1:0;break b}c=0;break a}c=1}c:while(1){d:{e:{if(!c){c=o-j>>1;g=(c|0)<(g|0)?c:g;f:{if((g|0)<1){break f}while(1){f=x[j>>1];if(f>>>0>12287){break f}i=d;g:{if(f>>>0<=32){h=(f|0)==32?h:64;c=f;break g}c=f-h|0;if(c- -64>>>0>127){break f}h=f&65408|64;c=c-112|0}t[i|0]=c;v[e>>2]=l;d=d+1|0;e=e+4|0;l=l+1|0;j=j+2|0;c=(g|0)>1;g=g-1|0;if(c){continue}break}}g=v[a+20>>2]-d|0;c=0;break e}if(j>>>0>>0){i=x[j>>1];c=(i&64512)==56320;f=c?(i+(f<<10)|0)-56613888|0:f;l=c+l|0;j=(c<<1)+j|0;c=1;break e}f=0-f|0;break d}while(1){h:{i:{j:{k:{if(!c){if(j>>>0>=o>>>0){break d}if((g|0)<=0){break k}k=l;c=j;while(1){l:{l=k+1|0;j=c+2|0;f=x[c>>1];if(f>>>0>32){break l}t[d|0]=f;v[e>>2]=k;h=(f|0)==32?h:64;e=e+4|0;d=d+1|0;if(j>>>0>=o>>>0){break d}i=(g|0)<2;g=g-1|0;k=l;c=j;if(!i){continue}break k}break}if((f&64512)!=55296){break h}c=1;continue c}c=f-h|0;h=f&-128|64;m:{if(f-12352>>>0>=42852){break m}h=12400;if((f|0)<12448){break m}h=30481;if(f-19968>>>0<20902){break m}h=49617;if((f|0)>44031){break m}h=f&-128|64}if(c- -64>>>0<=127){t[d|0]=c-112;v[e>>2]=k;g=g-1|0;e=e+4|0;d=d+1|0;if((f|0)<12288){break j}break i}if(!((g|0)<2|c+10513>>>0>21025)){i=d;n:{o:{p:{q:{if((c|0)>=0){c=c+-64|0;m=(c<<16>>16)/243|0;c=c-B(m,243)<<16>>16;m=m+208&65535;break q}m=-64-c|0;c=(m>>>0)/243|0;p=c^-1;q=0-c|0;c=m-B(c,243)|0;m=(c?p:q)+80|0;if(!c){break p}c=243-c|0}t[d|0]=m;if((c|0)<20){break o}c=c+13|0;break n}t[d|0]=m;c=0}c=w[c+864528|0]}t[i+1|0]=c;v[e+4>>2]=k;v[e>>2]=k;g=g-2|0;e=e+8|0;d=d+2|0;break i}c=cW(c);m=c>>24;i=c>>>0<67108864?m:4;if((i|0)<=(g|0)){r:{switch(i-2|0){case 2:t[d|0]=m;v[e>>2]=k;e=e+4|0;d=d+1|0;case 1:t[d|0]=c>>>16;v[e>>2]=k;e=e+4|0;d=d+1|0;case 0:t[d|0]=c>>>8;v[e>>2]=k;t[d+1|0]=c;v[e+4>>2]=k;e=e+8|0;d=d+2|0;break;default:break r}}g=g-i|0;break i}l=n+76|0;s:{t:{u:{v:{i=i-g|0;switch(i-1|0){case 0:break t;case 1:break u;case 2:break v;default:break s}}t[n+76|0]=c>>>16;l=n+77|0}t[l|0]=c>>>8;l=l+1|0}t[l|0]=c}t[n+63|0]=i;c=c>>(i<<3);w:{switch(g-1|0){case 2:t[d|0]=c>>>16;v[e>>2]=k;e=e+4|0;d=d+1|0;case 1:t[d|0]=c>>>8;v[e>>2]=k;e=e+4|0;d=d+1|0;case 0:t[d|0]=c;v[e>>2]=k;e=e+4|0;d=d+1|0;break;default:break w}}v[b>>2]=15;break d}v[b>>2]=15;break d}c=0;continue c}c=0;continue}c=1;continue}}break}v[n+52>>2]=h;v[n+56>>2]=0-f&f>>31;v[a+24>>2]=e;v[a+16>>2]=d;v[a+8>>2]=j}function x0(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=Qb-16|0;Qb=c;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],b,0)|0;v[c+12>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,4)|0;b=w[c+12|0];if(x[a+25204>>1]==18761){b=b|w[c+13|0]<<8|w[c+14|0]<<16|w[c+15|0]<<24}else{b=w[c+15|0]|(w[c+13|0]<<16|b<<24|w[c+14|0]<<8)}if(b>>>0<=255){if(b){while(1){u[c+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,2)|0;e=w[c+12|0];if(x[a+25204>>1]==18761){e=e|w[c+13|0]<<8}else{e=w[c+13|0]|e<<8}u[c+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,2)|0;d=w[c+12|0];b=b-1|0;if(x[a+25204>>1]==18761){d=d|w[c+13|0]<<8}else{d=w[c+13|0]|d<<8}f=d&65535;g=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;d=a;a:{b:{c:{d:{h=a;e:{f:{g:{h:{i:{e=e&65535;switch(e-289|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:break a;case 15:break g;case 0:break h;default:break i}}if((e|0)!=256){if((e|0)!=12272){break a}u[c+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,2)|0;e=w[c+12|0];if(x[a+25204>>1]!=18761){break f}e=e|w[c+13|0]<<8;break e}u[c+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,2)|0;d=w[c+12|0];e=a;if(x[a+25204>>1]==18761){d=d|w[c+13|0]<<8}else{d=w[c+13|0]|d<<8}u[e+26304>>1]=d;u[c+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,2)|0;e=w[c+12|0];if(x[a+25204>>1]!=18761){break d}u[a+26306>>1]=e|w[c+13|0]<<8;break a}u[c+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,2)|0;d=w[c+12|0];e=a;if(x[a+25204>>1]==18761){d=d|w[c+13|0]<<8}else{d=w[c+13|0]|d<<8}u[e+26308>>1]=d;u[c+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,2)|0;d=w[c+12|0];e=a;if(x[a+25204>>1]==18761){d=d|w[c+13|0]<<8}else{d=w[c+13|0]|d<<8}u[e+26310>>1]=(d&65535)==4284?4287:d;break a}i=a,j=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])>>7,v[i+26100>>2]=j;break a}e=w[c+13|0]|e<<8}z[h+59272>>2]=(e&65535)>>>0;u[c+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,2)|0;e=w[c+12|0];if(x[a+25204>>1]==18761){break c}e=w[c+13|0]|e<<8;break b}u[a+26306>>1]=w[c+13|0]|e<<8;break a}e=e|w[c+13|0]<<8}z[d+59268>>2]=(e&65535)>>>0;u[c+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,2)|0;d=w[c+12|0];e=a;if(x[a+25204>>1]!=18761){d=w[c+13|0]|d<<8}else{d=d|w[c+13|0]<<8}z[e+59280>>2]=(d&65535)>>>0;u[c+12>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,2)|0;d=w[c+12|0];e=a;if(x[a+25204>>1]!=18761){d=w[c+13|0]|d<<8}else{d=d|w[c+13|0]<<8}z[e+59276>>2]=(d&65535)>>>0}Ub[v[v[a>>2]+8>>2]](v[a+4>>2],f+g|0,0)|0;if(b){continue}break}}b=v[a+26100>>2];u[a+26308>>1]=x[a+26308>>1]<>1]=x[a+26310>>1]>>>b}Qb=c+16|0}function V$a(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,h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=Qb-96|0;Qb=h;v[h+80>>2]=0;v[h+84>>2]=0;v[h+72>>2]=0;v[h+76>>2]=0;g=h- -64|0;v[g>>2]=0;v[g+4>>2]=0;v[h+56>>2]=0;v[h+60>>2]=0;v[h+48>>2]=0;v[h+52>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;m=c+10|0;g=Cc(a,8,0,m,0,h+92|0);v[b+20>>2]=g;j=v[h+92>>2];if(!j){a:{if(!c){break a}while(1){j=Ub[d|0](f,l)|0;b:{if(!j){break b}i=0;c:{d:{if(!mc(444976,j)){break d}i=1;if(!mc(444982,j)){break d}i=2;if(!mc(444988,j)){break d}i=3;if(!mc(444997,j)){break d}i=4;if(!mc(445004,j)){break d}i=5;if(!mc(445011,j)){break d}i=6;if(!mc(445014,j)){break d}i=7;if(!mc(445029,j)){break d}i=8;if(!mc(445035,j)){break d}if(mc(445048,j)){break c}i=9}k=i<<2;i=k+(h+48|0)|0;if(v[i>>2]){break c}v[i>>2]=1;v[h+k>>2]=l}i=KZ(j);if(i&2147483647){n=h+48|0;e:{f:{g:{h:{i:{j:{k:{l:{m:{if((i|0)<=915){n:{switch(i-160|0){case 0:break i;case 13:break m;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break e;default:break n}}switch(i-538|0){case 1:break g;case 0:break h;default:break l}}o:{p:{switch(i-937|0){default:q:{switch(i-8725|0){case 4:break j;case 0:break o;case 1:case 2:case 3:break e;default:break q}}k=0;if((i|0)==916){break f}break e;case 19:break k;case 0:break p;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:break e}}k=1;break f}k=2;break f}k=3;break f}if((i|0)!=713){break e}k=4;break f}k=5;break f}k=6;break f}k=7;break f}k=8;break f}k=9}v[n+(k<<2)>>2]=2}v[g+4>>2]=l;v[g>>2]=i;g=g+8|0}if(!e){break b}Ub[e|0](f,j)}l=l+1|0;if((l|0)!=(c|0)){continue}break}if(v[h+48>>2]!=1){break a}v[g>>2]=916;v[g+4>>2]=v[h>>2];g=g+8|0}if(v[h+52>>2]==1){v[g>>2]=937;v[g+4>>2]=v[h+4>>2];g=g+8|0}if(v[h+56>>2]==1){v[g>>2]=8725;v[g+4>>2]=v[h+8>>2];g=g+8|0}if(v[h+60>>2]==1){v[g>>2]=173;v[g+4>>2]=v[h+12>>2];g=g+8|0}if(v[h+64>>2]==1){v[g>>2]=713;v[g+4>>2]=v[h+16>>2];g=g+8|0}if(v[h+68>>2]==1){v[g>>2]=956;v[g+4>>2]=v[h+20>>2];g=g+8|0}if(v[h+72>>2]==1){v[g>>2]=8729;v[g+4>>2]=v[h+24>>2];g=g+8|0}if(v[h+76>>2]==1){v[g>>2]=160;v[g+4>>2]=v[h+28>>2];g=g+8|0}if(v[h+80>>2]==1){v[g>>2]=538;v[g+4>>2]=v[h+32>>2];g=g+8|0}if(v[h+84>>2]==1){v[g>>2]=539;v[g+4>>2]=v[h+36>>2];g=g+8|0}j=v[b+20>>2];e=g-j|0;d=e>>3;r:{if(!e){if(j){Ub[v[a+8>>2]](a,j)}v[b+20>>2]=0;a=v[h+92>>2];j=a?a:163;break r}if(d>>>0>>1>>>0){j=Cc(a,8,m,d,j,h+92|0);v[b+20>>2]=j;v[h+92>>2]=0}Pk(j,d,8,1847);j=v[h+92>>2]}v[b+16>>2]=d}Qb=h+96|0;return j|0}function j4a(a){a=a|0;var 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;c=Qb-16|0;Qb=c;g=v[a+24>>2];e=v[g+4>>2];a:{if(!e){if(!(Ub[v[g+12>>2]](a)|0)){e=0;break a}e=v[g+4>>2]}b=v[g>>2];f=w[b|0];e=e-1|0;if(e){b=b+1|0}else{if(!(Ub[v[g+12>>2]](a)|0)){e=0;break a}e=v[g+4>>2];b=v[g>>2]}k=b+1|0;e=e-1|0;b=w[b|0]|f<<8;f=b-2|0;b=b>>>0>15?14:b>>>0>>0?0:f;if(b){while(1){if(!e){if(!(Ub[v[g+12>>2]](a)|0)){e=0;break a}k=v[g>>2];e=v[g+4>>2]}t[(c+2|0)+d|0]=w[k|0];k=k+1|0;e=e-1|0;d=d+1|0;if((b|0)!=(d|0)){continue}break}}m=f-b|0;b:{c:{d:{d=v[a+436>>2];h=d-224|0;if(h){if((h|0)==14){break d}else{break c}}f=b+m|0;e:{f:{g:{h:{if(b>>>0>=14){if(w[c+2|0]!=74){break g}if(w[c+3|0]!=70|w[c+4|0]!=73|(w[c+6|0]|w[c+5|0]!=70)){break h}v[a+284>>2]=1;b=w[c+7|0];t[a+288|0]=b;d=w[c+8|0];t[a+289|0]=d;h=w[c+9|0];t[a+290|0]=h;i=w[c+10|0]|w[c+11|0]<<8;i=i<<8|i>>>8;u[a+292>>1]=i;j=w[c+12|0]|w[c+13|0]<<8;j=j<<8|j>>>8;u[a+294>>1]=j;l=1;if((b|0)!=1){d=v[a>>2];v[d+24>>2]=b;v[d+20>>2]=122;v[v[a>>2]+28>>2]=w[a+289|0];Ub[v[v[a>>2]+4>>2]](a,-1);l=w[a+288|0];h=w[a+290|0];j=x[a+294>>1];i=x[a+292>>1];d=w[a+289|0]}b=v[a>>2];v[b+24>>2]=l;v[b+20>>2]=89;v[b+40>>2]=h;v[b+36>>2]=j&65535;v[b+32>>2]=i&65535;v[b+28>>2]=d;Ub[v[b+4>>2]](a,1);f=f-14|0;h=f;d=w[c+14|0];b=w[c+15|0];if(d|b){b=v[a>>2];v[b+20>>2]=92;v[b+24>>2]=w[c+14|0];v[v[a>>2]+28>>2]=w[c+15|0];Ub[v[v[a>>2]+4>>2]](a,1);d=w[c+14|0];b=w[c+15|0]}if((B(B(b,d),3)|0)==(h|0)){break e}b=v[a>>2];v[b+24>>2]=f;v[b+20>>2]=90;break f}if(w[c+2|0]!=74|b>>>0<6){break g}}if(w[c+3|0]!=70|w[c+4|0]!=88|(w[c+6|0]|w[c+5|0]!=88)){break g}i:{switch(w[c+7|0]-16|0){case 0:b=v[a>>2];v[b+24>>2]=f;v[b+20>>2]=110;break f;case 1:b=v[a>>2];v[b+24>>2]=f;v[b+20>>2]=111;break f;case 3:b=v[a>>2];v[b+24>>2]=f;v[b+20>>2]=112;break f;default:break i}}b=v[a>>2];v[b+20>>2]=91;v[b+24>>2]=w[c+7|0];v[v[a>>2]+28>>2]=f;break f}b=v[a>>2];v[b+24>>2]=f;v[b+20>>2]=79;Ub[v[v[a>>2]+4>>2]](a,1);break e}Ub[v[v[a>>2]+4>>2]](a,1)}break b}j:{if(w[c+2|0]!=65|b>>>0<12|(w[c+3|0]!=100|w[c+4|0]!=111)){break j}if(w[c+5|0]!=98|w[c+6|0]!=101){break j}f=w[c+8|0];h=w[c+7|0];i=w[c+10|0];j=w[c+9|0];l=w[c+12|0];n=w[c+11|0];d=w[c+13|0];b=v[a>>2];v[b+20>>2]=78;v[b+36>>2]=d;v[b+32>>2]=l|n<<8;v[b+28>>2]=i|j<<8;v[b+24>>2]=f|h<<8;Ub[v[b+4>>2]](a,1);t[a+300|0]=d;v[a+296>>2]=1;break b}b=v[a>>2];v[b+24>>2]=f;v[b+20>>2]=80;Ub[v[v[a>>2]+4>>2]](a,1);break b}b=v[a>>2];v[b+24>>2]=d;v[b+20>>2]=70;Ub[v[v[a>>2]>>2]](a)}v[g+4>>2]=e;v[g>>2]=k;e=1;if((m|0)<1){break a}Ub[v[v[a+24>>2]+16>>2]](a,m)}Qb=c+16|0;return e|0}function pe(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=v[a+420>>2];g=w[b|0];h=v[((g&127)<<2)+72736>>2];f=h>>16;e=v[d+16>>2]-f|0;v[d+16>>2]=e;a:{b:{if((g>>>7|0)!=(c|0)){if((e|0)>=(f|0)){v[d+16>>2]=f;v[d+12>>2]=e+v[d+12>>2]}c=g&128^h&255;break b}if((e|0)>32767){break a}if((e|0)<(f|0)){v[d+16>>2]=f;v[d+12>>2]=e+v[d+12>>2]}c=g&128^h>>>8}t[b|0]=c;b=v[d+28>>2];e=v[d+12>>2];c=v[d+16>>2];while(1){b=b-1|0;v[d+28>>2]=b;e=e<<1;v[d+12>>2]=e;c=c<<1;v[d+16>>2]=c;if(!b){f=e>>19;c:{if((e|0)>=134217728){c=v[d+32>>2];d:{if((c|0)<0){break d}if(v[d+24>>2]){while(1){b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;e:{if(c){break e}if(Ub[v[b+12>>2]](a)|0){break e}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[d+24>>2]-1|0;v[d+24>>2]=b;if(b){continue}break}c=v[d+32>>2]}b=v[a+24>>2];e=v[b>>2];v[b>>2]=e+1;t[e|0]=c+1;c=v[b+4>>2]-1|0;v[b+4>>2]=c;f:{if(c){break f}if(Ub[v[b+12>>2]](a)|0){break f}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}if(v[d+32>>2]!=254){break d}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break d}if(Ub[v[b+12>>2]](a)|0){break d}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}v[d+32>>2]=f&255;b=v[d+20>>2];v[d+20>>2]=0;v[d+24>>2]=b+v[d+24>>2];break c}if((f|0)==255){v[d+20>>2]=v[d+20>>2]+1;break c}b=v[d+32>>2];g:{if(!b){v[d+24>>2]=v[d+24>>2]+1;break g}if((b|0)<0){break g}if(v[d+24>>2]){while(1){b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;h:{if(c){break h}if(Ub[v[b+12>>2]](a)|0){break h}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[d+24>>2]-1|0;v[d+24>>2]=b;if(b){continue}break}b=v[d+32>>2]}c=v[a+24>>2];e=v[c>>2];v[c>>2]=e+1;t[e|0]=b;b=v[c+4>>2]-1|0;v[c+4>>2]=b;if(b){break g}if(Ub[v[c+12>>2]](a)|0){break g}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}if(v[d+20>>2]){if(v[d+24>>2]){while(1){b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;i:{if(c){break i}if(Ub[v[b+12>>2]](a)|0){break i}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[d+24>>2]-1|0;v[d+24>>2]=b;if(b){continue}break}}while(1){b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=255;c=v[b+4>>2]-1|0;v[b+4>>2]=c;j:{if(c){break j}if(Ub[v[b+12>>2]](a)|0){break j}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;k:{if(c){break k}if(Ub[v[b+12>>2]](a)|0){break k}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[d+20>>2]-1|0;v[d+20>>2]=b;if(b){continue}break}}v[d+32>>2]=f&255}e=v[d+12>>2]&524287;v[d+12>>2]=e;b=v[d+28>>2]+8|0;v[d+28>>2]=b;c=v[d+16>>2]}if((c|0)<32768){continue}break}}}function fba(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;j=Qb-16|0;Qb=j;m=zC(g);o=mC(g);g=o;Ub[v[v[g>>2]+20>>2]](j,g);v[f>>2]=d;a:{b:{c:{h=a;g=w[h|0];switch(g-43|0){case 0:case 2:break c;default:break b}}v[299999]=0;h=Q(5579,m|0,g<<24>>24)|0;g=v[299999];v[299999]=0;if((g|0)==1){break a}g=v[f>>2];v[f>>2]=g+1;t[g|0]=h;h=a+1|0}d:{g=h;if(!((c-g|0)<=1|w[g|0]!=48|(w[g+1|0]|32)!=120)){v[299999]=0;i=Q(5579,m|0,48)|0;g=v[299999];v[299999]=0;if((g|0)==1){break a}g=v[f>>2];v[f>>2]=g+1;t[g|0]=i;g=t[h+1|0];v[299999]=0;i=Q(5579,m|0,g|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break a}g=v[f>>2];v[f>>2]=g+1;t[g|0]=i;h=h+2|0;g=h;while(1){if(c>>>0<=g>>>0){break d}k=t[g|0];v[299999]=0;ga(5559)|0;i=v[299999];v[299999]=0;e:{if((i|0)==1){break e}v[299999]=0;i=v[299999];v[299999]=0;if((i|0)==1){break e}if(!(k-48>>>0<10|(k|32)-97>>>0<6)){break d}g=g+1|0;continue}break}break a}while(1){if(c>>>0<=g>>>0){break d}k=t[g|0];v[299999]=0;ga(5559)|0;i=v[299999];v[299999]=0;if((i|0)==1){break a}v[299999]=0;i=v[299999];v[299999]=0;if((i|0)==1){break a}if(k-48>>>0>=10){break d}g=g+1|0;continue}}f:{if(w[j+11|0]>>>7|0){l=v[j+4>>2]}else{l=w[j+11|0]}if(!l){i=v[f>>2];v[299999]=0;Z(5555,m|0,h|0,g|0,i|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break a}v[f>>2]=v[f>>2]+(g-h|0);break f}v[299999]=0;Fn(h,g);i=v[299999];v[299999]=0;if((i|0)==1){break a}v[299999]=0;q=S(5546,o|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break a}i=0;n=h;while(1){if(g>>>0<=n>>>0){i=v[f>>2];v[299999]=0;Fn((h-a|0)+d|0,i);h=v[299999];v[299999]=0;if((h|0)!=1){break f}break a}if(w[j+11|0]>>>7|0){l=v[j>>2]}else{l=j}k=t[l+i|0]!=(p|0);if(w[j+11|0]>>>7|0){l=v[j>>2]}else{l=j}if(!(k|t[l+i|0]<1)){k=v[f>>2];v[f>>2]=k+1;t[k|0]=q;if(w[j+11|0]>>>7|0){l=v[j+4>>2]}else{l=w[j+11|0]}i=(l-1>>>0>i>>>0)+i|0;p=0}k=t[n|0];v[299999]=0;l=Q(5579,m|0,k|0)|0;k=v[299999];v[299999]=0;if((k|0)!=1){k=v[f>>2];v[f>>2]=k+1;t[k|0]=l;n=n+1|0;p=p+1|0;continue}break}break a}while(1){g:{if(c>>>0>g>>>0){h=w[g|0];if((h|0)!=46){break g}v[299999]=0;i=S(5556,o|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break a}h=v[f>>2];v[f>>2]=h+1;t[h|0]=i;g=g+1|0}h=v[f>>2];v[299999]=0;Z(5555,m|0,g|0,c|0,h|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break a}h=f;f=v[f>>2]+(c-g|0)|0;v[h>>2]=f;v[e>>2]=(b|0)==(c|0)?f:(b-a|0)+d|0;Mc(j);Qb=j+16|0;return}v[299999]=0;i=Q(5579,m|0,h<<24>>24)|0;h=v[299999];v[299999]=0;if((h|0)==1){break a}h=v[f>>2];v[f>>2]=h+1;t[h|0]=i;g=g+1|0;continue}}a=P()|0;O()|0;Mc(j);T(a|0);L()}function $O(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;e=Qb-32|0;Qb=e;v[a>>2]=0;d=v[282402];v[a+4>>2]=d;a:{b:{c:{d:{e:{f:{g:{h:{g=v[b+36>>2];if(!(!g|!v[g+8>>2])){v[e+28>>2]=d;v[e+24>>2]=0;d=v[v[g>>2]+28>>2];v[299999]=0;U(d|0,e+16|0,g|0,1);d=v[299999];v[299999]=0;i:{j:{if((d|0)!=1){v[299999]=0;Q(4344,e+24|0,e+16|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){f=v[e+16>>2];v[e+16>>2]=0;if(!f){break i}v[299999]=0;g=v[f+4>>2]-1|0;v[f+4>>2]=g;d=v[299999];v[299999]=0;if((d|0)!=1){if(g){break i}v[299999]=0;R(4338,f|0);d=v[299999];v[299999]=0;if((d|0)!=1){break i}}W(0)|0;O()|0;lc();L()}d=P()|0;O()|0;ec(e+16|0);break j}d=P()|0;O()|0}ec(e+24|0);break b}d=v[e+24>>2];v[e+28>>2]=v[(d?d+12|0:1129608)>>2];v[299999]=0;R(4958,b+36|0);d=v[299999];v[299999]=0;if((d|0)==1){break d}v[299999]=0;U(4959,e+8|0,b|0,e+24|0);d=v[299999];v[299999]=0;if((d|0)==1){break e}v[299999]=0;U(4546,e+16|0,e+8|0,357671);d=v[299999];v[299999]=0;if((d|0)==1){break g}v[299999]=0;Q(4535,a|0,e+16|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break h}ec(e+16|0);ec(e+8|0);ec(e+24|0)}k:{l:{m:{n:{o:{p:{d=v[c>>2];q:{if(!d){break q}i=v[d+8>>2];if((i|0)<1){break q}d=0;while(1){l=i;r:{s:{t:{u:{v:{w:{x:{y:{z:{if(d){f=v[c>>2];h=!f;j=(d|0)>-1;g=d;A:{if(j){break A}g=d;if(!f){break A}g=v[f+8>>2]+d|0}if(!(h|(g|0)<0)){h=v[f+8>>2];if((g|0)<=(h|0)){break z}}v[299999]=0;ba(4543);b=v[299999];v[299999]=0;if((b|0)==1){break w}break a}f=v[c>>2];if(!f){break t}g=10;if(w[v[f+12>>2]]==10){break y}break u}k=v[f+12>>2];if(w[g+k|0]!=10){break v}f=d;if(!j){f=d+h|0;if((f|0)<0){break x}}if((f|0)>(h|0)){break x}g=w[f+k|0]}v[299999]=0;Q(4584,a|0,g<<24>>24)|0;g=v[299999];v[299999]=0;if((g|0)==1){break l}d=d+1|0;break r}v[299999]=0;ba(4543);b=v[299999];v[299999]=0;if((b|0)!=1){break a}}d=P()|0;O()|0;break b}if(!f){break t}}v[299999]=0;f=Ml(f,10,d);g=v[299999];v[299999]=0;if((g|0)==1){break k}if((f|0)>-1){break s}}f=i}v[299999]=0;$(4568,e+16|0,c|0,d|0,f-d|0);d=v[299999];v[299999]=0;if((d|0)==1){break p}v[299999]=0;U(4961,e+24|0,b|0,e+16|0);d=v[299999];v[299999]=0;if((d|0)==1){break o}v[299999]=0;Q(4606,a|0,e+24|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break n}ec(e+24|0);ec(e+16|0);d=f}if((l|0)>(d|0)){continue}break}}Qb=e+32|0;return}d=P()|0;O()|0;break b}d=P()|0;O()|0;break m}d=P()|0;O()|0;ec(e+24|0)}ec(e+16|0);break b}d=P()|0;O()|0;break b}d=P()|0;O()|0;break b}d=P()|0;O()|0;ec(e+16|0);break f}d=P()|0;O()|0}ec(e+8|0);break c}d=P()|0;O()|0;break c}d=P()|0;O()|0}ec(e+24|0)}ec(a);T(d|0);L()}L()}function sU(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0;j=Qb-48|0;Qb=j;a:{if((e|0)>=41){i=89;if(!b|!(w[b+362|0]&8)|(e|0)>1024){break a}}if(h){v[h>>2]=0}i=1;if(!(f|g)|!a){break a}f=qU(f,g,b);if(!f){i=27;break a}v[f+4>>2]=f;b:{if(!b){g=2;break b}g=v[b+96>>2];l=v[b+104>>2];m=v[b+276>>2];k=v[b+272>>2];v[f+68>>2]=v[b+68>>2];v[f+72>>2]=v[b+72>>2];v[f+76>>2]=v[b+76>>2];v[f+80>>2]=v[b+80>>2]}v[f+276>>2]=m;v[f+272>>2]=k;v[f+104>>2]=l;v[f+96>>2]=g;c:{if(!c){k=0;break c}k=v[f>>2];v[f>>2]=c;if(!d){break c}v[f+4>>2]=d}xu(f);d=qo(335485);if(!d){v[f+72>>2]=0;v[f+76>>2]=0;v[f+80>>2]=0;Wi(f);break a}v[d+92>>2]=64;v[d+44>>2]=v[a+44>>2];v[d+48>>2]=v[a+48>>2];g=v[a+80>>2];v[d+80>>2]=g;aG(g);g=v[a+72>>2];if(g){n=d,o=we(g),v[n+72>>2]=o}g=Qy(d,227634);d:{if(!g){if(c){v[f>>2]=k}break d}$f(d,g);Au(f,v[d+12>>2]);v[f+8>>2]=a;v[g+32>>2]=a;e:{if(v[f+292>>2]){break e}a=v[f+36>>2];if((v[a+20>>2]-v[a+16>>2]|0)>249){break e}nd(f)}g=v[f+36>>2];a=v[g+16>>2];f:{if((v[g+20>>2]-a|0)<4){break f}t[j+44|0]=w[a|0];t[j+45|0]=w[a+1|0];t[j+46|0]=w[a+2|0];t[j+47|0]=w[a+3|0];a=cq(j+44|0,4);if(!a){break f}aq(f,a)}a=v[v[f+36>>2]+16>>2];g:{if(w[a|0]!=60|w[a+1|0]!=63|(w[a+2|0]!=120|w[a+3|0]!=109)){break g}if(w[a+4|0]!=108){break g}a=w[a+5|0]-9|0;if(a>>>0>23|!(1<>2]=e;v[f+172>>2]=7;Ay(f);a=v[v[f+36>>2]+16>>2];e=w[a|0];h:{if(!e){break h}i:{if(!((e|0)!=60|w[a+1|0]!=47)){if(v[f+172>>2]==-1?v[f+212>>2]:0){break h}v[f+84>>2]=85;v[j+32>>2]=292175;oc(0,0,0,f,0,1,85,3,0,0,0,0,350078,j+32|0);v[f+12>>2]=0;if(v[f+288>>2]){break h}a=f+212|0;break i}if(v[f+172>>2]==-1?v[f+212>>2]:0){break h}v[f+84>>2]=86;v[j+16>>2]=262450;oc(0,0,0,f,0,1,86,3,0,0,0,0,350078,j+16|0);v[f+12>>2]=0;if(v[f+288>>2]){break h}a=f+212|0}v[a>>2]=1}j:{if(v[f+52>>2]==v[d+12>>2]|(v[f+172>>2]==-1?v[f+212>>2]:0)){break j}v[f+84>>2]=85;v[j>>2]=292175;oc(0,0,0,f,0,1,85,3,0,0,0,0,350078,j);v[f+12>>2]=0;if(v[f+288>>2]){break j}v[f+212>>2]=1}k:{if(!v[f+12>>2]){a=v[f+84>>2];i=a?a:1;break k}i=0;if(!h){break k}i=v[v[d+12>>2]+12>>2];v[h>>2]=i;if(i){while(1){v[i+20>>2]=0;i=v[i+24>>2];if(i){continue}break}}v[v[d+12>>2]+12>>2]=0;i=0}l:{if(!b){break l}v[b+440>>2]=v[b+440>>2]+v[f+440>>2];a=v[f+36>>2];if(!a){break l}v[b+444>>2]=(v[a+16>>2]+(v[b+444>>2]+v[a+36>>2]|0)|0)-v[a+12>>2]}if(v[f+388>>2]){ZF(f+384|0,b+384|0)}if(c){v[f>>2]=k}if(b){v[b+72>>2]=v[f+72>>2];v[b+76>>2]=v[f+76>>2];v[b+80>>2]=v[f+80>>2]}}v[f+72>>2]=0;v[f+76>>2]=0;v[f+80>>2]=0;Wi(f);v[d+44>>2]=0;v[d+48>>2]=0;$p(d)}Qb=j+48|0;return i}function Kpa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Qb+-64|0;Qb=d;e=Fe(c);a:{b:{c:{b=v[v[b+28>>2]+((e>>>0)%y[b+24>>2]<<2)>>2];if(b){while(1){if((e|0)==v[b+12>>2]){if(!Ri(b+16|0,c,-1)){break c}}b=v[b+8>>2];if(b){continue}break}}a=fk(d+24|0,358168);v[299999]=0;U(4547,d+32|0,a|0,c|0);b=v[299999];v[299999]=0;d:{e:{f:{if((b|0)!=1){b=v[d+32>>2];b=v[(b?b+12|0:1129608)>>2];v[299999]=0;b=aa(4369,d+40|0,b|0,242181,249,226829,0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break f}v[299999]=0;R(4370,b|0);c=v[299999];v[299999]=0;if((c|0)==1){break e}break b}b=P()|0;O()|0;ec(a);T(b|0);L()}c=P()|0;O()|0;break d}c=P()|0;O()|0;qc(b)}ec(d+32|0);ec(a);T(c|0);L()}e=0;f=v[b+24>>2];if(f){v[f+4>>2]=v[f+4>>2]+1;e=v[b+24>>2]}v[a>>2]=e;v[299999]=0;V(4591,d+16|0,e|0);b=v[299999];v[299999]=0;g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{if((b|0)!=1){v[299999]=0;V(4503,d+8|0,d+16|0);b=v[299999];v[299999]=0;if((b|0)==1){break p}v[299999]=0;b=v[d+8>>2];v[d+32>>2]=0;v[d+36>>2]=v[282402];b=Z(4504,b|0,d+32|0,0,0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break k}if((b|0)>-1){break l}v[299999]=0;U(4423,d+24|0,358323,c|0);b=v[299999];v[299999]=0;if((b|0)==1){break o}b=v[d+24>>2];b=v[(b?b+12|0:1129608)>>2];v[299999]=0;e=aa(4369,d+40|0,b|0,242181,260,226829,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break n}v[299999]=0;R(4370,e|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}b=W(0)|0;O()|0;qc(e);break m}b=W(0)|0;O()|0;break h}b=W(0)|0;O()|0;break i}b=W(0)|0;O()|0;break j}b=W(0)|0;O()|0}ec(d+24|0);break j}ec(d+32|0);a=v[d+8>>2];v[d+8>>2]=0;q:{if(!a){break q}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break q}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}a=v[d+16>>2];v[d+16>>2]=0;r:{if(!a){break r}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break g}if(b){break r}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break g}}Qb=d- -64|0;return}b=W(0)|0;O()|0}ec(d+32|0);ec(d+8|0)}ec(d+16|0)}ea(b|0)|0;v[299999]=0;U(4423,d+32|0,358323,c|0);b=v[299999];v[299999]=0;s:{t:{u:{if((b|0)!=1){b=v[d+32>>2];b=v[(b?b+12|0:1129608)>>2];v[299999]=0;b=aa(4369,d+40|0,b|0,242181,264,226829,0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break u}v[299999]=0;R(4370,b|0);c=v[299999];v[299999]=0;if((c|0)!=1){break b}e=P()|0;O()|0;qc(b);break t}e=P()|0;O()|0;break s}e=P()|0;O()|0}ec(d+32|0)}v[299999]=0;ba(4230);b=v[299999];v[299999]=0;if((b|0)!=1){ec(a);T(e|0);L()}break a}break a}L()}W(0)|0;O()|0;lc();L()}function F$(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=Qb-22064|0;Qb=e;g=v[b+100>>2];ic(e+15424|4,0,2756);v[e+15424>>2]=g;v[a+7728>>2]=0;v[a+52>>2]=0;g=v[v[(v[v[a>>2]+8>>2]<<2)+369232>>2]+16>>2];c=w[g|0];a:{if(!c){break a}while(1){if((c&255)==32){while(1){c=w[g+1|0];g=g+1|0;if((c|0)==32){continue}break}}d=g+1|0;if((c&255)==32){while(1){g=d;d=d+1|0;c=w[g|0];if((c|0)==32){continue}break}}j=v[a+36>>2];h=c&255;if(c<<24>>24>-1){g=d}else{f=h>>>0<240;c=h>>>0<224;i=c?1:f?2:3;k=i-1|0;h=(c?31:f?15:7)&h;c=i;f=c;while(1){h=w[d|0]&63|h<<6;c=c-1|0;d=d+1|0;f=f-1|0;if(f){continue}break}if(k>>>0>=3){while(1){h=w[d+3|0]&63|((w[d+1|0]&63|(h<<12|(w[d|0]&63)<<6))<<12|(w[d+2|0]&63)<<6);d=d+4|0;c=c-4|0;if(c){continue}break}}g=(g+i|0)+1|0}j=v[j>>2];d=0;while(1){c=w[g|0];if((c|32)!=32){g=g+1|0;d=c;if(c<<24>>24>-1){continue}f=d>>>0<240;c=d>>>0<224;i=c?1:f?2:3;k=i-1|0;d=(c?31:f?15:7)&d;c=g;f=i;l=f;while(1){d=w[c|0]&63|d<<6;f=f-1|0;c=c+1|0;l=l-1|0;if(l){continue}break}if(k>>>0>=3){while(1){d=w[c+3|0]&63|((w[c+1|0]&63|(d<<12|(w[c|0]&63)<<6))<<12|(w[c+2|0]&63)<<6);c=c+4|0;f=f-4|0;if(f){continue}break}}g=g+i|0;continue}break}b:{if(!d){d=Fg(j,h);if(d){break b}c=w[g|0]}if(c&255){continue}break a}break}if(mn(b,d,1)){break a}c=v[b+84>>2];if(u[c+110>>1]<1){break a}d=e+16|0;ic(d,0,15396);g=v[a+40>>2];v[e+32>>2]=0;v[e+36>>2]=0;v[e+40>>2]=0;v[e+44>>2]=0;v[e+24>>2]=65536;v[e+28>>2]=65536;v[e+56>>2]=g;v[e+20>>2]=b;v[e+18164>>2]=0;v[e+18172>>2]=d;if(Fv(e+15424|0,c+108|0)){break a}if(uq(e+15424|0,0)){break a}f=0;Ev(e+15424|0,0,0,0);b=v[e+15468>>2];if((b|0)>=1){c=v[e+15476>>2];g=c+B(b,44)|0;while(1){b=v[c+20>>2];if(!(!b|v[b+20>>2]!=(c|0)|(b>>>0<=c>>>0|f>>>0>15))){b=u[c+2>>1]-u[b+2>>1]|0;d=b>>31;v[(B(f,12)+a|0)+56>>2]=d^b+d;f=f+1|0}c=c+44|0;if(g>>>0>c>>>0){continue}break}}v[e+12>>2]=f;pA(e+12|0,a+56|0,y[e+56>>2]/100|0);v[a+52>>2]=v[e+12>>2];if(uq(e+15424|0,1)){break a}f=0;Ev(e+15424|0,0,0,1);b=v[e+16816>>2];if((b|0)>=1){c=v[e+16824>>2];g=c+B(b,44)|0;while(1){b=v[c+20>>2];if(!(!b|v[b+20>>2]!=(c|0)|(b>>>0<=c>>>0|f>>>0>15))){b=u[c+2>>1]-u[b+2>>1]|0;d=b>>31;v[(B(f,12)+a|0)+7732>>2]=d^b+d;f=f+1|0}c=c+44|0;if(g>>>0>c>>>0){continue}break}}v[e+12>>2]=f;pA(e+12|0,a+7732|0,y[e+56>>2]/100|0);v[a+7728>>2]=v[e+12>>2]}if(v[a+52>>2]){b=v[a+56>>2]}else{b=(B(v[a+40>>2],50)|0)/2048|0}t[a+256|0]=0;v[a+252>>2]=b;v[a+248>>2]=(b|0)/5;if(v[a+7728>>2]){b=v[a+7732>>2]}else{b=(B(v[a+40>>2],50)|0)/2048|0}t[a+7932|0]=0;v[a+7928>>2]=b;v[a+7924>>2]=(b|0)/5;gI(e+15424|0);Qb=e+22064|0}function u5a(a){a=a|0;var 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,w=0,y=0,z=0,C=0,E=0,F=0,G=0,H=0;i=Qb+-64|0;Qb=i;a:{b:{k=A[a+26344>>3];if(k!=1){if(v[a+188>>2]){Rc(213997,24,1,v[252391]);k=A[a+26344>>3]}c:{if(k<1){e=x[a+26310>>1];b=e;y=x[a+26308>>1];c=+(y>>>0)/k+.5;d:{if(c<4294967296&c>=0){r=~~c>>>0;break d}r=0}p=bd(B(b,r),8);if(p){e:{if(!r|!e){break e}m=v[a+26336>>2];if((m|0)<1){break e}F=v[a+26352>>2];f=m&-2;z=m&1;c=0;G=e<<3;while(1){d=G;if(D(c)<2147483648){b=~~c}else{b=-2147483648}g=(B(b,e)<<3)+F|0;l=(y|0)>(b+1|0)?d+g|0:g;w=B(e,s);q=c-+(b|0);h=1-q;n=0;while(1){C=n+w|0;o=0;b=f;if((m|0)!=1){while(1){t=(C<<3)+p|0;d=o<<1;H=t+d|0;j=h*+x[g+d>>1]+q*+x[l+d>>1]+.5;f:{if(j<4294967296&j>=0){E=~~j>>>0;break f}E=0}u[H>>1]=E;d=d|2;t=d+t|0;j=h*+x[g+d>>1]+q*+x[l+d>>1]+.5;g:{if(j<4294967296&j>=0){d=~~j>>>0;break g}d=0}u[t>>1]=d;o=o+2|0;b=b-2|0;if(b){continue}break}}if(z){b=o<<1;d=b+((C<<3)+p|0)|0;j=h*+x[b+g>>1]+q*+x[b+l>>1]+.5;h:{if(j<4294967296&j>=0){b=~~j>>>0;break h}b=0}u[d>>1]=b}l=l+8|0;g=g+8|0;n=n+1|0;if((e|0)!=(n|0)){continue}break}c=k+c;s=s+1|0;if((r|0)!=(s|0)){continue}break}}u[a+26308>>1]=r;break c}b=v[a+190640>>2];i:{if(b){e=v[a+25208>>2];v[i+20>>2]=214022;v[i+16>>2]=e;zd(b,4338,i+16|0);break i}b=v[a+25208>>2];v[i+4>>2]=214022;v[i>>2]=b;wc(v[252391],4338,i)}break a}d=x[a+26308>>1];b=d;s=x[a+26310>>1];c=k*+(s>>>0)+.5;j:{if(c<4294967296&c>=0){e=~~c>>>0;break j}e=0}p=bd(B(b,e),8);if(!p){break b}k:{if(!e|!d){break k}m=v[a+26336>>2];if((m|0)<1){break k}j=1/k;r=v[a+26352>>2];F=m&-2;G=m&1;c=0;C=s<<3;while(1){if(D(c)<2147483648){b=~~c}else{b=-2147483648}g=(b<<3)+r|0;l=(s|0)>(b+1|0)?g+8|0:g;k=c-+(b|0);q=1-k;n=0;while(1){y=B(e,n)+z|0;o=0;b=F;if((m|0)!=1){while(1){w=(y<<3)+p|0;f=o<<1;E=w+f|0;h=q*+x[g+f>>1]+k*+x[l+f>>1]+.5;l:{if(h<4294967296&h>=0){t=~~h>>>0;break l}t=0}u[E>>1]=t;f=f|2;w=f+w|0;h=q*+x[g+f>>1]+k*+x[l+f>>1]+.5;m:{if(h<4294967296&h>=0){f=~~h>>>0;break m}f=0}u[w>>1]=f;o=o+2|0;b=b-2|0;if(b){continue}break}}if(G){b=o<<1;f=b+((y<<3)+p|0)|0;h=q*+x[b+g>>1]+k*+x[b+l>>1]+.5;n:{if(h<4294967296&h>=0){b=~~h>>>0;break n}b=0}u[f>>1]=b}l=l+C|0;g=g+C|0;n=n+1|0;if((d|0)!=(n|0)){continue}break}c=j+c;z=z+1|0;if((e|0)!=(z|0)){continue}break}}u[a+26310>>1]=e}dc(v[a+26352>>2]);v[a+26352>>2]=p}Qb=i- -64|0;return}b=v[a+190640>>2];o:{if(b){e=v[a+25208>>2];v[i+52>>2]=214022;v[i+48>>2]=e;zd(b,4338,i+48|0);break o}b=v[a+25208>>2];v[i+36>>2]=214022;v[i+32>>2]=b;wc(v[252391],4338,i+32|0)}}sd(a+190484|0,1);L()}function Hma(a){a=a|0;var b=0,c=0,d=0,e=0;c=Qb-48|0;Qb=c;b=a+8|0;a:{if(v[a+8>>2]){Ch(c+40|0,a,b);break a}v[c+40>>2]=0;Wc(c+40|0,0)}b:{c:{d:{e:{if(v[b>>2]){v[299999]=0;U(4891,c+32|0,a|0,b|0);d=v[299999];v[299999]=0;if((d|0)!=1){break e}break d}v[299999]=0;v[c+32>>2]=0;Q(4336,c+32|0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break d}}f:{g:{h:{if(v[b>>2]){v[299999]=0;U(4889,c+24|0,a|0,b|0);d=v[299999];v[299999]=0;if((d|0)!=1){break h}break g}v[299999]=0;v[c+24>>2]=0;Q(4336,c+24|0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break g}}i:{j:{k:{if(v[b>>2]){v[299999]=0;U(4890,c+16|0,a|0,b|0);d=v[299999];v[299999]=0;if((d|0)!=1){break k}break j}v[299999]=0;v[c+16>>2]=0;Q(4336,c+16|0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break j}}l:{m:{if(v[b>>2]){v[299999]=0;U(4892,c+8|0,a|0,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break m}break l}v[299999]=0;v[c+8>>2]=0;Q(4336,c+8|0,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break l}}b=v[c+40>>2];a=0;n:{if(!b){break n}d=v[b+8>>2];a=0;if((d|0)<1){break n}e=v[b+12>>2];a=0;if((e|0)<1){break n}b=v[c+32>>2];a=0;if(!b){break n}a=0;if((d|0)!=v[b+72>>2]){break n}a=0;if((e|0)!=v[b+76>>2]){break n}a=0;if(v[c+24>>2]){break n}a=0;if(v[c+16>>2]){break n}a=!v[c+8>>2]}b=v[c+8>>2];v[c+8>>2]=0;o:{if(!b){break o}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)==1){break b}if(d){break o}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}}b=v[c+16>>2];v[c+16>>2]=0;p:{if(!b){break p}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)==1){break b}if(d){break p}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}}b=v[c+24>>2];v[c+24>>2]=0;q:{if(!b){break q}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)==1){break b}if(d){break q}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}}b=v[c+32>>2];v[c+32>>2]=0;r:{if(!b){break r}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)==1){break b}if(d){break r}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}}b=v[c+40>>2];v[c+40>>2]=0;s:{t:{if(!b){break t}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)==1){break s}if(d){break t}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break s}}Qb=c+48|0;return a|0}break b}a=P()|0;O()|0;ec(c+16|0);break i}a=P()|0;O()|0}ec(c+24|0);break f}a=P()|0;O()|0}ec(c+32|0);break c}a=P()|0;O()|0}ec(c+40|0);T(a|0);L()}W(0)|0;O()|0;lc();L()}function $Y(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;e=Qb-16|0;Qb=e;j=v[a+28>>2];f=Yc(a,c);v[e+12>>2]=f;a:{if(f){break a}f=Ed(a,e+12|0);if(v[e+12>>2]){break a}if((f|0)!=1){v[e+12>>2]=8;break a}g=kf(a,e+12|0);if(v[e+12>>2]){break a}i=Ed(a,e+12|0);v[d>>2]=i;if(v[e+12>>2]){break a}if(!i){v[e+12>>2]=8;break a}f=0;l=Cc(j,4,0,i,0,e+12|0);if(v[e+12>>2]){break a}if(v[d>>2]){while(1){n=(f<<2)+l|0,o=kf(a,e+12|0),v[n>>2]=o;if(v[e+12>>2]){break a}f=f+1|0;if(f>>>0>2]){continue}break}}f=Yc(a,c+g|0);v[e+12>>2]=f;if(f){break a}n=d,o=Ed(a,e+12|0),u[n+8>>1]=o;if(v[e+12>>2]){break a}f=Ed(a,e+12|0);v[d+12>>2]=f;if(v[e+12>>2]){break a}if(v[v[b+12>>2]>>2]!=x[d+8>>1]){v[e+12>>2]=8;break a}n=d,o=Cc(j,4,0,f,0,e+12|0),v[n+16>>2]=o;if(v[e+12>>2]){break a}if(v[d+12>>2]){b=x[d+8>>1];while(1){i=Cc(j,12,0,b&65535,0,e+12|0);v[v[d+16>>2]+(h<<2)>>2]=i;if(v[e+12>>2]){break a}b=0;if(x[d+8>>1]){f=0;while(1){g=Ed(a,e+12|0);if(v[e+12>>2]){break a}k=Ed(a,e+12|0);if(v[e+12>>2]){break a}m=Ed(a,e+12|0);if(v[e+12>>2]){break a}b=i+B(f,12)|0;v[b+8>>2]=m<<16>>16<<2;v[b+4>>2]=k<<16>>16<<2;v[b>>2]=g<<16>>16<<2;b=x[d+8>>1];f=f+1|0;if(b>>>0>f>>>0){continue}break}}h=h+1|0;if(h>>>0>2]){continue}break}}f=Cc(j,16,0,v[d>>2],0,e+12|0);v[d+4>>2]=f;if(v[e+12>>2]|!v[d>>2]){break a}b=Yc(a,v[l>>2]+c|0);v[e+12>>2]=b;if(b){break a}k=0;while(1){g=(k<<4)+f|0;n=g,o=Ed(a,e+12|0),v[n>>2]=o;if(v[e+12>>2]){break a}i=Ed(a,e+12|0);if(v[e+12>>2]){break a}b=Ed(a,e+12|0);v[g+4>>2]=b;if(v[e+12>>2]){break a}if(b>>>0>>0){v[e+12>>2]=8;break a}if(b>>>0>y[d+12>>2]){v[e+12>>2]=8;break a}n=g,o=Cc(j,4,0,b,0,e+12|0),v[n+8>>2]=o;if(v[e+12>>2]){break a}f=0;b:{if(!v[g+4>>2]){b=0;break b}while(1){b=Ed(a,e+12|0);v[v[g+8>>2]+(f<<2)>>2]=b;if(v[e+12>>2]){break a}if(b>>>0>2]){b=v[g+4>>2];f=f+1|0;if(b>>>0<=f>>>0){break b}continue}break}v[e+12>>2]=8;break a}n=g,o=Cc(j,2,0,B(v[g>>2],b),0,e+12|0),v[n+12>>2]=o;if(v[e+12>>2]){break a}h=v[g+4>>2];if(B(h,v[g>>2])){f=0;while(1){if(i){b=f+i|0;while(1){h=Ed(a,e+12|0);if(v[e+12>>2]){break a}u[v[g+12>>2]+(f<<1)>>1]=h;f=f+1|0;if((b|0)!=(f|0)){continue}break}h=v[g+4>>2];f=b}b=i;if(h>>>0>b>>>0){while(1){h=dg(a,e+12|0);if(v[e+12>>2]){break a}u[v[g+12>>2]+(f<<1)>>1]=h;f=f+1|0;b=b+1|0;h=v[g+4>>2];if(b>>>0>>0){continue}break}}if(B(v[g>>2],h)>>>0>f>>>0){continue}break}}k=k+1|0;if(k>>>0>=y[d>>2]){break a}f=v[d+4>>2];b=Yc(a,v[(k<<2)+l>>2]+c|0);v[e+12>>2]=b;if(!b){continue}break}}if(l){Ub[v[j+8>>2]](j,l)}Qb=e+16|0;return v[e+12>>2]}function u$(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,z=0;n=Qb-16|0;Qb=n;f=uq(a,d);a:{if(f){break a}Ev(a,b,c,d);o=v[a>>2];f=v[a+2748>>2];g=v[v[f>>2]+8>>2];b=B(d,1348)+a|0;j=b;v[b+56>>2]=0;c=0;c=(d|0)==1?w[v[(g<<2)+369232>>2]+12|0]:c;p=b+44|0;e=v[p>>2];b=v[b+52>>2];g=v[(d?12:4)+a>>2];if(!d){h=ad(64,v[a+12>>2])}q=ad(32,g);i=(B(d,1348)+a|0)- -64|0;a=Ac(v[((f+44|0)+B(d,9804)|0)+204>>2],g);k=ad((a|0)<16?a:16,g);if((e|0)>=1){l=B(e,44)+b|0;r=B(h,3);y=c&255;d=b;while(1){a=u[d+10>>1];b:{if((a|0)<(h|0)|(q|0)>1]){break b}f=w[d+1|0];if((f|0)==4|(a<<1<(r|0)?v[d+24>>2]:0)){break b}c:{s=v[j+56>>2];d:{if((s|0)<=0){c=u[d+2>>1];break d}c=u[d+2>>1];z=v[i>>2];a=0;while(1){e=B(a,44)+z|0;x=c-u[e>>1]|0;m=x>>31;if((f|0)==w[e+13|0]&(k|0)>(m^m+x)){break c}a=a+1|0;if((s|0)!=(a|0)){continue}break}}f=r$(p,c,f<<24>>24,y,o,n+12|0);if(f){break a}a=v[n+12>>2];v[a+40>>2]=d;v[a+36>>2]=d;v[a>>2]=0;v[a+4>>2]=0;v[a+32>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;t[a+13|0]=w[d+1|0];c=u[d+2>>1];u[a>>1]=c;c=Ac(c,g);v[a+8>>2]=c;v[a+4>>2]=c;v[d+16>>2]=d;break b}v[d+16>>2]=v[e+36>>2];v[v[e+40>>2]+16>>2]=d;v[e+40>>2]=d}d=d+44|0;if(l>>>0>d>>>0){continue}break}while(1){e:{if(w[b+1|0]!=4){break e}g=v[j+56>>2];if((g|0)<1){break e}e=u[b+2>>1];f=v[i>>2];d=0;while(1){a=f+B(d,44)|0;h=e-u[a>>1]|0;c=h>>31;if((k|0)<=(c^c+h)){d=d+1|0;if((g|0)!=(d|0)){continue}break e}break}v[b+16>>2]=v[a+36>>2];v[v[a+40>>2]+16>>2]=b;v[a+40>>2]=b}b=b+44|0;if(l>>>0>b>>>0){continue}break}}f=0;e=v[i>>2];if(!e){break a}a=v[j+56>>2];if((a|0)<1){break a}l=B(a,44)+e|0;a=e;while(1){b=v[a+36>>2];d=b;if(d){while(1){v[d+12>>2]=a;d=v[d+16>>2];if((b|0)!=(d|0)){continue}break}}a=a+44|0;if(l>>>0>a>>>0){continue}break}while(1){j=e+28|0;g=e+24|0;m=v[e+36>>2];d=m;b=0;f=0;while(1){o=t[d|0]&1;p=!o;f:{g:{h:{i:{i=v[d+24>>2];if(i){a=v[i+12>>2];h=(a|0)!=0&(a|0)!=(e|0);a=v[d+20>>2];if(!a){break i}if(!(h|v[a+12>>2]!=0)){break f}k=0;c=g;if(h){break h}break g}a=v[d+20>>2];if(!a){break f}k=0;c=g;if(v[a+12>>2]){break g}break f}if(!h){break f}}k=1;a=i;c=j}c=v[c>>2];j:{if(c){q=u[d+2>>1]-u[a+2>>1]|0;i=q>>31;r=u[e>>1]-u[c>>1]|0;h=r>>31;if((i^i+q)>>>0>=(h^h+r)>>>0){break j}}c=v[a+12>>2]}if(k){v[j>>2]=c;t[c+12|0]=w[c+12|0]|2;break f}v[g>>2]=c}b=b+o|0;f=f+p|0;d=v[d+16>>2];if((m|0)!=(d|0)){continue}break}t[e+12|0]=(b|0)!=0&b>>>0>=f>>>0;if(!(!v[e+28>>2]|!v[g>>2])){v[j>>2]=0}e=e+44|0;if(l>>>0>e>>>0){continue}break}f=0}Qb=n+16|0;return f}function zG(a,b){a=a|0;b=b|0;var 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;h=v[a+4>>2];if(v[h+48>>2]<=7){yG(a,b);return}i=v[a+12>>2];c=v[a+8>>2];l=i-c|0;if(v[h+44>>2]?1:l){g=v[a+16>>2];d=v[a+20>>2];if(g>>>0>=d>>>0){v[b>>2]=15;return}k=1;m=d-g>>1;f=v[a+24>>2];a:{b:{c:{d:{e:{f:{g:{h:{d=v[h+44>>2];if(d){v[h+44>>2]=0;t[h+36|0]=1;t[h+37|0]=d;break h}k=w[h+36|0];if(k){break h}k=0;i=l;d=c;break g}e=k<<24>>24;n=4-e|0;o=((e+i|0)-c|0)-4|0;k=0;i=l;i:{j:{while(1){t[(e+h|0)+37|0]=w[c|0];i=i-1|0;k=k+1|0;d=c+1|0;k:{l:{switch(e-1|0){case 0:c=w[h+37|0]|w[h+38|0]<<8;j=c<<8|c>>>8;if((j&63488)!=55296){u[g>>1]=j;e=0;g=g+2|0;m=m-1|0;if(f){v[f>>2]=-1;f=f+4|0}else{f=0}break j}if(!(j&1024)){break k}e=2;break i;case 2:break l;default:break k}}i=w[h+39|0];if((i&252)==220){i=w[h+40|0]|i<<8;c=w[h+37|0]|w[h+38|0]<<8;u[g>>1]=c<<8|c>>>8;if(m>>>0>=2){u[g+2>>1]=i;e=0;g=g+4|0;m=m-2|0;k=n;i=o;if(f){v[f>>2]=-1;v[f+4>>2]=-1;f=f+8|0}else{f=0}break j}g=g+2|0;t[h+65|0]=1;u[h+116>>1]=i;v[b>>2]=15;m=0;k=n;i=o;e=0;break j}v[b>>2]=12;if((v[a+8>>2]-d|0)<2){break f}c=c-1|0;break e}e=e+1|0;c=d;if(i){continue}break}i=0;k=l}j=0}t[h+36|0]=e}if(!(j&65535)){break d}c=d;break c}v[h+44>>2]=w[h+39|0]|256}t[h+36|0]=2;v[a+24>>2]=f;v[a+16>>2]=g;v[a+8>>2]=c;return}c=m<<1;c=c>>>0>i>>>0?i&-2:c;if(!c){c=d;break c}i=i-c|0;e=c>>>1|0;m=m-e|0;m:{n:{if(!f){while(1){c=d+2|0;f=w[d|0]|w[d+1|0]<<8;j=f<<8|f>>>8;o:{if((j&63488)!=55296){u[g>>1]=j;break o}f=0;if(j&1024|e>>>0<2){break n}f=w[c|0];if((f&252)!=220){f=0;break m}c=w[d+3|0];u[g>>1]=j;u[g+2>>1]=c|f<<8;g=g+2|0;e=e-1|0;c=d+4|0}d=c;g=g+2|0;e=e-1|0;if(e){continue}break}e=0;break a}while(1){c=d+2|0;l=w[d|0]|w[d+1|0]<<8;j=l<<8|l>>>8;p:{if((j&63488)!=55296){u[g>>1]=j;d=2;break p}if(j&1024|e>>>0<2){break n}l=w[c|0];if((l&252)!=220){break m}c=w[d+3|0];u[g>>1]=j;u[g+2>>1]=c|l<<8;v[f>>2]=k;f=f+4|0;g=g+2|0;e=e-1|0;c=d+4|0;d=4}j=d;d=c;v[f>>2]=k;g=g+2|0;f=f+4|0;k=j+k|0;e=e-1|0;if(e){continue}break}e=f;break a}if(!e){break b}}m=e+m|0;i=((e<<1)+i|0)-2|0}if(!(j&65535)){break b}t[h+36|0]=2;d=j<<8|(j&65280)>>>8;t[h+37|0]=d;t[h+38|0]=d>>>8;l=12;q:{if(j&1024){e=f;break q}if(i>>>0<2){break b}d=w[c|0];if((d&252)!=220){e=f;i=1;break q}d=w[c+1|0]|d<<8;u[g>>1]=j;e=0;if(f){v[f>>2]=k;e=f+4|0}g=g+2|0;i=i-2|0;t[h+65|0]=1;u[h+116>>1]=d;t[h+36|0]=0;l=15;c=c+2|0}d=c;v[b>>2]=l;break a}e=f;d=c}r:{if(!i|v[b>>2]>0){break r}if(!m){v[b>>2]=15;break r}c=w[d|0];b=t[h+36|0];t[h+36|0]=b+1;t[(b+h|0)+37|0]=c;d=d+1|0}v[a+24>>2]=e;v[a+16>>2]=g;v[a+8>>2]=d}}function zta(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=Qb-80|0;Qb=c;d=c- -64|0;e=a+4|0;vQ(d,e);f=v[a+16>>2];g=v[v[f>>2]+32>>2];v[299999]=0;d=Q(g|0,f|0,d|0)|0;f=v[299999];v[299999]=0;a:{b:{if((f|0)==1){break b}c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{if(!d){v[299999]=0;V(4193,c+32|0,a+20|0);d=v[299999];v[299999]=0;if((d|0)==1){break r}v[299999]=0;V(4193,c+16|0,e|0);d=v[299999];v[299999]=0;if((d|0)==1){break q}v[299999]=0;U(2650,c+48|0,c+32|0,c+16|0);d=v[299999];v[299999]=0;if((d|0)==1){break p}if(t[c+75|0]<=-1){dc(v[c+64>>2])}v[c+72>>2]=v[c+56>>2];t[c+59|0]=0;d=v[c+52>>2];v[c+64>>2]=v[c+48>>2];v[c+68>>2]=d;v[c+48>>2]=0;if(t[c+27|0]<=-1){dc(v[c+16>>2])}if(t[c+43|0]<=-1){dc(v[c+32>>2])}e=v[a+16>>2];f=v[v[e>>2]+32>>2];d=0;v[299999]=0;e=Q(f|0,e|0,c- -64|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break b}if(!e){break c}}v[c+16>>2]=0;a=v[a+16>>2];d=v[v[a>>2]+20>>2];v[299999]=0;Y(d|0,a|0,c- -64|0,c+16|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break n}a=v[v[c+16>>2]+4>>2];v[299999]=0;a=KG(a,0);d=v[299999];v[299999]=0;if((d|0)==1){break m}v[299999]=0;v[c+12>>2]=a;d=S(15,a- -64|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break l}a=v[c+16>>2];e=v[a+4>>2];a=v[a>>2];v[299999]=0;e=JG(a,e,d,c+12|0,0);a=v[299999];v[299999]=0;if((a|0)==1){break l}if((e|0)!=1){break g}a=v[v[b>>2]+136>>2];v[299999]=0;Q(a|0,b|0,978452)|0;a=v[299999];v[299999]=0;if((a|0)==1){break l}v[299999]=0;U(1564,c+32|0,d|0,v[c+12>>2]);a=v[299999];v[299999]=0;if((a|0)==1){break k}v[299999]=0;a=Y(2347,c+32|0,0,978456)|0;f=v[299999];v[299999]=0;if((f|0)==1){break j}v[c+56>>2]=v[a+8>>2];f=v[a+4>>2];v[c+48>>2]=v[a>>2];v[c+52>>2]=f;v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;a=v[v[b>>2]+176>>2];v[299999]=0;Q(a|0,b|0,c+48|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break i}if(t[c+59|0]<=-1){dc(v[c+48>>2])}if(t[c+43|0]<=-1){dc(v[c+32>>2])}dc(d);a=v[c+16>>2];if(!a){break d}if(w[a+8|0]){break f}break e}a=P()|0;O()|0;break a}a=P()|0;O()|0;break o}a=P()|0;O()|0;if(t[c+27|0]>-1){break o}dc(v[c+16>>2])}if(t[c+43|0]>-1){break a}dc(v[c+32>>2]);break a}a=P()|0;O()|0;break a}a=P()|0;O()|0;break a}a=P()|0;O()|0;break a}a=P()|0;O()|0;break a}a=P()|0;O()|0;break h}a=P()|0;O()|0;if(t[c+59|0]>-1){break h}dc(v[c+48>>2])}if(t[c+43|0]>-1){break a}dc(v[c+32>>2]);break a}dc(d);a=v[c+16>>2];if(!a){break d}if(!w[a+8|0]){break e}}b=v[a>>2];if(!b){break e}dc(b)}dc(a)}d=(e|0)==1}if(t[c+75|0]<=-1){dc(v[c+64>>2])}Qb=c+80|0;return d|0}a=P()|0;O()|0}if(t[c+75|0]<=-1){dc(v[c+64>>2])}T(a|0);L()}function xFa(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,p=0,q=0,r=0,s=0,t=0,u=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0;E=Qb-160|0;Qb=E;d=a;while(1){a:{e=d;d=v[(j<<2)+b>>2]+c|0;k=w[d+12|0];r=w[d|0];h=k+r|0;s=w[d+11|0];t=w[d+1|0];g=s+t|0;l=w[d+10|0];m=w[d+2|0];o=l+m|0;u=w[d+9|0];f=w[d+3|0];p=u+f|0;y=w[d+8|0];z=w[d+4|0];q=y+z|0;A=w[d+7|0];C=w[d+5|0];i=A+C|0;d=w[d+6|0];v[e>>2]=((((((h+g|0)+o|0)+p|0)+q|0)+i|0)+d|0)-1664;d=d<<1;p=p-d|0;q=q-d|0;x=h-d|0;o=o-d|0;n=g-d|0;i=i-d|0;d=(B(p-q|0,-3570)+B(x-o|0,9465)|0)+B(n-i|0,-2592)|0;h=(B(p+q|0,-7678)+B(o+x|0,793)|0)+B(i+n|0,3989)|0;v[e+24>>2]=(d-h|0)+4096>>13;v[e+16>>2]=(d+h|0)+4096>>13;d=f-u|0;h=m-l|0;m=B(d+h|0,-5384);g=C-A|0;l=z-y|0;k=r-k|0;r=B(g+l|0,2773)+B(k+d|0,7682)|0;u=m+B(d,18068)|0;f=d;d=t-s|0;s=B(f+d|0,-9534);v[e+28>>2]=(r+((u+s|0)+B(g,-14273)|0)|0)+4096>>13;f=m;m=B(h+k|0,9534);f=(f+(m+B(h,-12879)|0)|0)+B(g,18515)|0;h=B(l-g|0,7682)+B(d+h|0,-2773)|0;v[e+20>>2]=(f+h|0)+4096>>13;f=B(d,6859);d=B(d+k|0,10832)+4096|0;v[e+12>>2]=h+((s+(f+d|0)|0)+B(l,-19183)|0)>>13;v[e+4>>2]=r+((m+(d+B(k,-16549)|0)|0)+B(l,2611)|0)>>13;v[e+8>>2]=(((((B(n,8672)+B(x,11249)|0)+B(o,4108)|0)+B(p,-1396)|0)+B(q,-6581)|0)+B(i,-10258)|0)+4096>>13;g=j-7|0;j=j+1|0;h=7;d=E;b:{switch(g|0){case 0:continue;case 5:break a;default:break b}}d=e+32|0;continue}break}while(1){c=v[d+32>>2];e=v[a+96>>2];m=c+e|0;r=v[a+192>>2];b=r<<1;l=m-b|0;j=v[d>>2];g=v[a+128>>2];s=j+g|0;k=s-b|0;i=v[d+128>>2];t=v[a>>2];u=i+t|0;p=u-b|0;n=v[d+64>>2];f=v[a+64>>2];y=n+f|0;q=y-b|0;z=v[d+96>>2];A=v[a+32>>2];C=z+A|0;x=C-b|0;D=v[a+224>>2];F=v[a+160>>2];G=D+F|0;o=G-b|0;b=(B(l-k|0,-2704)+B(p-q|0,7169)|0)+B(x-o|0,-1963)|0;H=(B(k+l|0,-5816)+B(p+q|0,601)|0)+B(o+x|0,3021)|0;v[a+192>>2]=(b-H|0)- -8192>>14;v[a+128>>2]=(b+H|0)- -8192>>14;b=e-c|0;c=f-n|0;n=B(b+c|0,-4078);e=F-D|0;j=g-j|0;g=t-i|0;i=B(e+j|0,2100)+B(g+b|0,5819)|0;D=n+B(b,13685)|0;f=b;b=A-z|0;t=B(f+b|0,-7221);v[a+224>>2]=(i+((D+t|0)+B(e,-10811)|0)|0)- -8192>>14;f=B(c+g|0,7221);n=(n+(f+B(c,-9754)|0)|0)+B(e,14023)|0;c=B(j-e|0,5819)+B(b+c|0,-2100)|0;v[a+160>>2]=(n+c|0)- -8192>>14;e=B(b,5195);b=B(b+g|0,8204)- -8192|0;v[a+96>>2]=c+((t+(e+b|0)|0)+B(j,-14529)|0)>>14;v[a+32>>2]=i+((f+(b+B(g,-12534)|0)|0)+B(j,1978)|0)>>14;v[a+64>>2]=(((((B(x,6568)+B(p,8520)|0)+B(q,3112)|0)+B(l,-1058)|0)+B(k,-4985)|0)+B(o,-7770)|0)- -8192>>14;v[a>>2]=B(r+((s+(m+(y+(u+C|0)|0)|0)|0)+G|0)|0,6205)- -8192>>14;b=h;h=b-1|0;d=d+4|0;a=a+4|0;if(b){continue}break}Qb=E+160|0}function _Ha(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=Qb-16|0;Qb=j;f=v[b+4>>2];if(f){h=v[f+4>>2]}else{h=0}f=j;e=v[b+4>>2];if(e){k=v[e>>2]}else{k=0}i=fc(B(h,6)+4|0);e=i;if((h|0)>0){e=i;while(1){g=v[k>>2];a:{if(g>>>0<=127){t[e|0]=g;e=e+1|0;break a}if(g>>>0<=2047){t[e+1|0]=g&63|128;t[e|0]=g>>>6|192;e=e+2|0;break a}if(g>>>0<=65535){t[e+2|0]=g&63|128;t[e|0]=g>>>12|224;t[e+1|0]=g>>>6&63|128;e=e+3|0;break a}if(g>>>0<=2097150){t[e+3|0]=g&63|128;t[e|0]=g>>>18|240;t[e+2|0]=g>>>6&63|128;t[e+1|0]=g>>>12&63|128;e=e+4|0;break a}if(g>>>0<=67108862){t[e+4|0]=g&63|128;t[e|0]=g>>>24|248;t[e+3|0]=g>>>6&63|128;t[e+2|0]=g>>>12&63|128;t[e+1|0]=g>>>18&63|128;e=e+5|0;break a}if(g>>>0>2147483646){break a}t[e+5|0]=g&63|128;t[e|0]=g>>>30|252;t[e+4|0]=g>>>6&63|128;t[e+3|0]=g>>>12&63|128;t[e+2|0]=g>>>18&63|128;t[e+1|0]=g>>>24&63|128;e=e+6|0}k=k+4|0;m=m+1|0;if((h|0)!=(m|0)){continue}break}}t[e|0]=0;b:{h=e-i|0;if(h>>>0<4294967280){c:{d:{if(h>>>0>=11){k=h+16&-16;e=fc(k);v[f+8>>2]=k|-2147483648;v[f>>2]=e;v[f+4>>2]=h;f=e;break d}t[f+11|0]=h;if(!h){break c}}gc(f,i,h)}t[f+h|0]=0;dc(i);break b}$d(f);L()}e:{f:{f=v[b+8>>2];if(!f){break f}e=v[v[f>>2]+12>>2];v[299999]=0;e=S(e|0,f|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break e}if(e){break f}e=v[a+28>>2];f=v[f+8>>2];v[299999]=0;e=Q(3047,e|0,f|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break e}if(!e){break f}g:{if(v[e+4>>2]){i=v[a+28>>2];h=v[e+12>>2];f=v[e+8>>2];v[299999]=0;f=Y(3048,i|0,f|0,h|0)|0;i=v[299999];v[299999]=0;if((i|0)!=1){break g}break e}f=v[e+8>>2]}l=A[e+40>>3];dc(e);v[299999]=0;V(3049,c|0,f-1|0);f=v[299999];v[299999]=0;if((f|0)==1){break e}v[299999]=0;V(3049,c|0,d|0);f=v[299999];v[299999]=0;if((f|0)==1){break e}v[299999]=0;e=c;l=l*100;h:{if(l<4294967296&l>=0){f=~~l>>>0;break h}f=0}V(3049,e|0,f|0);f=v[299999];v[299999]=0;if((f|0)==1){break e}v[299999]=0;f=w[j+11|0];e=f<<24>>24<0;U(3050,c|0,(e?v[j>>2]:j)|0,(e?v[j+4>>2]:f)|0);f=v[299999];v[299999]=0;if((f|0)==1){break e}v[299999]=0;R(3051,b|0);f=v[299999];v[299999]=0;if((f|0)==1){break e}f=v[b+88>>2];if(!f){break f}e=0;i:{i=v[f+8>>2];if((i|0)>0){d=d+1|0;while(1){h=v[v[f>>2]+(e<<2)>>2];if(h){v[299999]=0;$(3052,a|0,h|0,c|0,d|0);h=v[299999];v[299999]=0;if((h|0)==1){break i}}e=e+1|0;if((i|0)!=(e|0)){continue}break}}v[299999]=0;R(3053,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break f}break e}break e}if(t[j+11|0]<=-1){dc(v[j>>2])}Qb=j+16|0;return}a=P()|0;O()|0;if(t[j+11|0]<=-1){dc(v[j>>2])}T(a|0);L()}function pab(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,v=0,y=0,z=0,A=0,C=0;if(e){z=e-1|0;A=e-2|0;y=(e|0)==1;while(1){a=f;u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];u[g+6>>1]=x[a+6>>1];f=a+8|0;g=g+8|0;a:{if(!y&o>>>0>=z>>>0){break a}k=o?(o|0)==(A|0)?d:b:c;l=!o&y;if(l){if(k>>>0<2){break a}l=k-1|0;m=l&1;if((k|0)!=2){k=l&-2;while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];u[g+6>>1]=x[a+6>>1];u[g+8>>1]=x[a>>1];u[g+10>>1]=x[a+2>>1];u[g+12>>1]=x[a+4>>1];u[g+14>>1]=x[a+6>>1];g=g+16|0;k=k-2|0;if(k){continue}break}}if(!m){break a}u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];u[g+6>>1]=x[a+6>>1];g=g+8|0;break a}p=a+4|0;q=a+2|0;l=l?0:f;r=l+4|0;s=l+2|0;v=k<<1;m=k+1>>>1|0;if(k>>>0>=3){C=m>>>0>2?m:2;j=1;while(1){h=x[a>>1];b:{if((h|0)==x[l>>1]){u[g>>1]=h;break b}h=w[a|0]|w[a+1|0]<<8;i=w[l|0]|w[l+1|0]<<8;h=((h<<8|h>>>8)&65535)+((k+(B(((i<<8|i>>>8)&65535)-((h<<8|h>>>8)&65535)|0,j)<<1)|0)/(v|0)|0)&65535;h=h<<8|h>>>8;t[g|0]=h;t[g+1|0]=h>>>8}h=g+2|0;i=x[q>>1];c:{if((i|0)==x[s>>1]){u[h>>1]=i;break c}i=w[q|0]|w[q+1|0]<<8;n=w[s|0]|w[s+1|0]<<8;i=((i<<8|i>>>8)&65535)+((k+(B(((n<<8|n>>>8)&65535)-((i<<8|i>>>8)&65535)|0,j)<<1)|0)/(v|0)|0)&65535;i=i<<8|i>>>8;t[h|0]=i;t[h+1|0]=i>>>8}h=g+4|0;i=x[p>>1];d:{if((i|0)==x[r>>1]){u[h>>1]=i;break d}i=w[p|0]|w[p+1|0]<<8;n=w[r|0]|w[r+1|0]<<8;i=((i<<8|i>>>8)&65535)+((k+(B(((n<<8|n>>>8)&65535)-((i<<8|i>>>8)&65535)|0,j)<<1)|0)/(v|0)|0)&65535;i=i<<8|i>>>8;t[h|0]=i;t[h+1|0]=i>>>8}u[g+6>>1]=x[a+6>>1];g=g+8|0;j=j+1|0;if((C|0)!=(j|0)){continue}break}}if(k>>>0<=m>>>0){break a}while(1){j=x[a>>1];e:{if((j|0)==x[l>>1]){u[g>>1]=j;break e}j=w[a|0]|w[a+1|0]<<8;i=j>>>8|0;h=w[l|0]|w[l+1|0]<<8;j=((j<<8|i)&65535)+((k+(B(((h<<8|h>>>8)&65535)-((i|j<<8)&65535)|0,m)<<1)|0)/(v|0)|0)&65535;j=j<<8|j>>>8;t[g|0]=j;t[g+1|0]=j>>>8}j=g+2|0;h=x[q>>1];f:{if((h|0)==x[s>>1]){u[j>>1]=h;break f}h=w[q|0]|w[q+1|0]<<8;n=h>>>8|0;i=w[s|0]|w[s+1|0]<<8;h=((h<<8|n)&65535)+((k+(B(((i<<8|i>>>8)&65535)-((n|h<<8)&65535)|0,m)<<1)|0)/(v|0)|0)&65535;h=h<<8|h>>>8;t[j|0]=h;t[j+1|0]=h>>>8}j=g+4|0;h=x[p>>1];g:{if((h|0)==x[r>>1]){u[j>>1]=h;break g}h=w[p|0]|w[p+1|0]<<8;n=h>>>8|0;i=w[r|0]|w[r+1|0]<<8;h=((h<<8|n)&65535)+((k+(B(((i<<8|i>>>8)&65535)-((n|h<<8)&65535)|0,m)<<1)|0)/(v|0)|0)&65535;h=h<<8|h>>>8;t[j|0]=h;t[j+1|0]=h>>>8}u[g+6>>1]=x[l+6>>1];g=g+8|0;m=m+1|0;if((k|0)!=(m|0)){continue}break}}o=o+1|0;if((o|0)!=(e|0)){continue}break}}return 0}function FU(a){var b=0,c=0,d=0,e=0,f=0,g=0;g=Qb-48|0;Qb=g;a:{b:{c:{d:{e:{f:{e=v[a+36>>2];b=v[e+16>>2];if(!(w[b|0]!=38|w[b+1|0]!=35)){d=v[a+200>>2];if(w[b+2|0]!=120){break f}v[a+200>>2]=d+3;v[e+16>>2]=b+3;v[e+32>>2]=v[e+32>>2]+3;b=w[b+3|0];if((b|0)==37){wd(a);e=v[a+36>>2];b=w[v[e+16>>2]]}g:{if(b&255){break g}if((cd(e)|0)>0){break g}vd(a)}h:{if(v[a+292>>2]){break h}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break h}nd(a)}c=v[a+36>>2];f=v[c+16>>2];i:{if(w[f|0]==59){e=0;d=0;break i}e=0;b=0;d=0;while(1){if((b|0)<21){b=b+1|0}else{if(!(v[a+292>>2]|(v[c+20>>2]-f|0)>249)){nd(a)}if(v[a+172>>2]==-1){break b}c=v[a+36>>2];b=0}f=-48;j:{c=w[v[c+16>>2]];if((c-48&255)>>>0<10){break j}k:{if(c>>>0>=97){if(c>>>0>102){break k}f=-87;if((b|0)>=20){break k}break j}if(c>>>0<65|c>>>0>70){break k}f=-55;if((b|0)<20){break j}}if(!(!v[a+212>>2]|v[a+172>>2]!=-1)){d=0;break i}v[a+84>>2]=6;v[g>>2]=275579;d=0;oc(0,0,0,a,0,1,6,3,0,0,0,0,350078,g);v[a+12>>2]=0;if(v[a+288>>2]){break i}v[a+212>>2]=1;break i}d=c+((d<<4)+f|0)|0;e=d>>>0>1114111?d:e;b=b+1|0;xd(a);c=v[a+36>>2];f=v[c+16>>2];if(w[f|0]!=59){continue}break}}c=v[a+36>>2];b=v[c+16>>2];if(w[b|0]==59){break e}break d}if(!(!v[a+212>>2]|v[a+172>>2]!=-1)){break c}v[a+84>>2]=8;v[g+32>>2]=275645;oc(0,0,0,a,0,1,8,3,0,0,0,0,350078,g+32|0);v[a+12>>2]=0;if(v[a+288>>2]){break c}v[a+212>>2]=1;break c}v[a+200>>2]=d+2;v[e+16>>2]=b+2;v[e+32>>2]=v[e+32>>2]+2;b=w[b+2|0];if((b|0)==37){wd(a);e=v[a+36>>2];b=w[v[e+16>>2]]}l:{if(b&255){break l}if((cd(e)|0)>0){break l}vd(a)}m:{if(v[a+292>>2]){break m}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break m}nd(a)}c=v[a+36>>2];f=v[c+16>>2];n:{if(w[f|0]==59){e=0;d=0;break n}e=0;b=0;d=0;while(1){if((b|0)<21){b=b+1|0}else{if(!(v[a+292>>2]|(v[c+20>>2]-f|0)>249)){nd(a)}if(v[a+172>>2]==-1){break b}c=v[a+36>>2];b=0}c=w[v[c+16>>2]];if((c-48&255)>>>0<=9){d=(c+B(d,10)|0)-48|0;e=d>>>0>1114111?d:e;b=b+1|0;xd(a);c=v[a+36>>2];f=v[c+16>>2];if(w[f|0]!=59){continue}break n}break}if(!(!v[a+212>>2]|v[a+172>>2]!=-1)){d=0;break n}v[a+84>>2]=7;v[g+16>>2]=275614;d=0;oc(0,0,0,a,0,1,7,3,0,0,0,0,350078,g+16|0);v[a+12>>2]=0;if(v[a+288>>2]){break n}v[a+212>>2]=1}c=v[a+36>>2];b=v[c+16>>2];if(w[b|0]!=59){break d}}v[c+32>>2]=v[c+32>>2]+1;v[a+200>>2]=v[a+200>>2]+1;v[c+16>>2]=b+1}o:{if(d>>>0<=255){if(d>>>0>31){break o}if(d>>>0>13){break c}if(1<>>0>55295&d-57344>>>0>8189&d-65536>>>0>1048575){break c}}if(!e){break a}}ok(a,9,354424,d)}d=0}Qb=g+48|0;return d}function Hva(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;g=Qb-32|0;Qb=g;v[a+40>>2]=13;v[a+1536>>2]=13;v[a+1512>>2]=13;v[a+1488>>2]=13;v[a+1464>>2]=13;v[a+1440>>2]=13;v[a+1416>>2]=13;v[a+1392>>2]=13;v[a+1368>>2]=13;v[a+1344>>2]=13;v[a+1320>>2]=13;v[a+1296>>2]=13;v[a+1272>>2]=13;v[a+1248>>2]=13;v[a+1224>>2]=13;v[a+1200>>2]=13;v[a+1176>>2]=13;v[g+8>>2]=13;v[a+28>>2]=1;v[a+32>>2]=0;v[a+16>>2]=-1;v[a+8>>2]=0;v[a+12>>2]=0;ic(a+60|0,0,1056);v[a+1528>>2]=-1;v[a+1504>>2]=-1;v[a+1480>>2]=-1;v[a+1456>>2]=-1;v[a+1432>>2]=-1;v[a+1408>>2]=-1;v[a+1384>>2]=-1;v[a+1360>>2]=-1;v[a+1336>>2]=-1;v[a+1312>>2]=-1;v[a+1288>>2]=-1;v[a+1264>>2]=-1;v[a+1240>>2]=-1;v[a+1216>>2]=-1;v[a+1192>>2]=-1;v[a+1168>>2]=-1;v[a+1116>>2]=65532;v[a+1120>>2]=0;v[a>>2]=b;k=a,l=Ub[v[v[b>>2]+100>>2]](b)|0,v[k+4>>2]=l;a:{b:{c:{d:{e:{if(c){b=gR(a);v[a+28>>2]=b;if(b){break e}v[a+32>>2]=3;break a}b=0;d=Qb-1040|0;Qb=d;c=v[a>>2];Ub[v[v[c>>2]+56>>2]](c,1024,-1);c=v[a>>2];h=Ub[v[v[c>>2]+40>>2]](c,d,1024)|0;t[h+d|0]=0;f:{if((h|0)<9){break f}f=h-9|0;while(1){if(Oc(d+f|0,273766,9)){c=(f|0)>0;f=f-1|0;if(c){continue}break f}break}b=(d+f|0)+9|0;while(1){c=b;b=b+1|0;e=w[c|0];if((e|0)==32|e-9>>>0<5){continue}break}b=0;g:{if(!e){break g}while(1){if(e-48>>>0>9){break g}e=e<<24>>24;if(((-2147483601-e|0)/10|0)<(b|0)){break g}b=(e+B(b,10)|0)-48|0;e=w[c+1|0];c=c+1|0;if(e){continue}break}}v[a+56>>2]=b;b=v[a>>2];k=a,l=Ub[v[v[b>>2]+52>>2]](b)+(f-h)|0,v[k+60>>2]=l;b=v[a+56>>2]}Qb=d+1040|0;v[g+28>>2]=b;if(!b){v[a+28>>2]=0;v[a+32>>2]=3;break a}f=fc(12);v[f+4>>2]=16;v[f+8>>2]=0;v[299999]=0;b=Q(3364,16,4)|0;c=v[299999];v[299999]=0;if((c|0)==1){break d}v[f>>2]=b;while(1){if(fR(a,g+28|0,f,0)){continue}break}b=v[f+8>>2];v[a+68>>2]=b;e=ed(b,4);v[a+64>>2]=e;b=0;d=v[a+68>>2];h:{if((d|0)<=0){c=v[f>>2];break h}h=d&3;c=v[f>>2];if(d-1>>>0>=3){j=d&-4;while(1){d=b<<2;v[d+e>>2]=v[c+d>>2];i=d|4;v[i+e>>2]=v[c+i>>2];i=d|8;v[i+e>>2]=v[c+i>>2];d=d|12;v[d+e>>2]=v[c+d>>2];b=b+4|0;j=j-4|0;if(j){continue}break}}if(!h){break h}while(1){d=b<<2;v[d+e>>2]=v[c+d>>2];b=b+1|0;h=h-1|0;if(h){continue}break}}v[299999]=0;uc(c);b=v[299999];v[299999]=0;if((b|0)==1){break c}dc(f);if(v[a+28>>2]){break e}v[a+32>>2]=3;break a}Ce(v[a+48>>2],227655,g+8|0);if(v[g+8>>2]==9){v[a+20>>2]=v[g+16>>2];v[a+24>>2]=v[g+20>>2];hc(g+8|0);break b}hc(g+8|0);b=gR(a);v[a+28>>2]=b;if(b){break b}v[a+32>>2]=3;break a}a=P()|0;O()|0;dc(f);T(a|0);L()}W(0)|0;O()|0;lc();L()}v[v[a+48>>2]>>2]=a}Qb=g+32|0;return a|0}function jaa(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;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;j=Qb-1072|0;Qb=j;v[j+16>>2]=f;v[j+20>>2]=g;v[j+24>>2]=h;v[j+28>>2]=i;a=j+960|0;v[j+956>>2]=a;k=Ai(a,100,273874,j+16|0);v[j+48>>2]=1563;a=j+48|0;p=Mf(j+536|0,0,a);v[j+48>>2]=1563;l=Mf(j+528|0,0,a);n=j+544|0;a:{b:{c:{if(k>>>0>=100){v[299999]=0;a=ga(5559)|0;k=v[299999];v[299999]=0;if((k|0)==1){break b}v[j>>2]=f;v[j+4>>2]=g;v[299999]=0;v[j+8>>2]=h;v[j+12>>2]=i;k=Z(5582,j+956|0,a|0,273874,j|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break b}if((k|0)==-1){v[299999]=0;ba(5538);a=v[299999];v[299999]=0;if((a|0)!=1){break c}break b}Ig(p,v[j+956>>2]);Ig(l,jc(k<<2));if(!v[l>>2]){v[299999]=0;ba(5538);a=v[299999];v[299999]=0;if((a|0)==1){break b}break c}n=v[l>>2]}v[299999]=0;a=v[d+28>>2];v[j+520>>2]=a;v[a+4>>2]=v[a+4>>2]+1;a=v[299999];v[299999]=0;d:{e:{f:{g:{h:{i:{j:{if((a|0)!=1){v[299999]=0;r=S(5466,j+520|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break j}v[299999]=0;a=v[j+956>>2];Z(5576,r|0,a|0,a+k|0,n|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break j}q=(k|0)>=1?w[v[j+956>>2]]==45:q;h=ge(j+488|0);f=ge(j+472|0);g=ge(j+456|0);v[299999]=0;ua(5621,c|0,q|0,j+520|0,j+512|0,j+508|0,j+504|0,h|0,f|0,g|0,j+452|0);a=v[299999];v[299999]=0;if((a|0)==1){break i}v[j+36>>2]=1563;i=Mf(j+40|0,0,j+36|0);c=j+48|0;a=v[j+452>>2];k:{if((a|0)<(k|0)){s=v[j+452>>2];if(w[f+11|0]>>>7|0){m=v[f+4>>2]}else{m=w[f+11|0]}if(w[g+11|0]>>>7|0){o=v[g+4>>2]}else{o=w[g+11|0]}a=(s+(m+(o+(k-a<<1)|0)|0)|0)+1|0;break k}o=v[j+452>>2];if(w[g+11|0]>>>7|0){a=v[g+4>>2]}else{a=w[g+11|0]}if(w[f+11|0]>>>7|0){m=v[f+4>>2]}else{m=w[f+11|0]}a=(o+(a+m|0)|0)+2|0}if(a>>>0<101){break h}Ig(i,jc(a<<2));c=v[i>>2];if(c){break h}v[299999]=0;ba(5538);a=v[299999];v[299999]=0;if((a|0)!=1){break c}break g}k=P()|0;O()|0;break a}k=P()|0;O()|0;break e}k=P()|0;O()|0;break f}a=v[d+4>>2];v[299999]=0;Ba(5622,c|0,j+36|0,j+32|0,a|0,n|0,(k<<2)+n|0,r|0,q|0,j+512|0,v[j+508>>2],v[j+504>>2],h|0,f|0,g|0,v[j+452>>2]);a=v[299999];v[299999]=0;if((a|0)!=1){v[299999]=0;c=aa(5595,b|0,c|0,v[j+36>>2],v[j+32>>2],d|0,e|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break d}}}k=P()|0;O()|0;ee(i)}le(g);le(f);Mc(h)}a=v[j+520>>2];b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}break a}ee(i);le(g);le(f);Mc(h);a=v[j+520>>2];b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}ee(l);ee(p);Qb=j+1072|0;return c|0}L()}k=P()|0;O()|0}ee(l);ee(p);T(k|0);L()}function BZ(a,b,c){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,p=0,q=0,r=0,s=0,t=0,u=0,x=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0;j=v[a+16>>2];l=w[j+6|0]<<8|w[j+7|0]&254;if(!l){return 0}z=v[a>>2];E=v[z+508>>2]+v[z+512>>2]|0;e=v[b>>2];s=e+1|0;p=c?s:e;u=l+2|0;t=j+14|0;x=l>>>1|0;h=x;a:{b:{c:{d:{while(1){i=g+h|0;m=(i&-2)+t|0;k=w[m|0]<<8|w[m+1|0];e=i>>>1|0;d=e;f=m+u|0;m=w[f|0]<<8|w[f+1|0];if(m>>>0<=p>>>0){if(k>>>0>=p>>>0){break d}g=e+1|0}else{h=d}if(g>>>0>>0){continue}break}g=0;break c}g=0;d=f+l|0;f=d+l|0;A=w[f|0]<<8|w[f+1|0];h=(m|0)==65535&x-1>>>0<=e>>>0&(k|0)==65535&(A|0)!=0&(f+A|0)+2>>>0>E>>>0;q=h?0:A;d=w[d|0]|w[d+1|0]<<8;F=(d<<8|d>>>8)<<16>>16;n=h?1:F;e:{f:{g:{h:{if(w[a+20|0]&2){o=e+1|0;h=(q|0)==65535?o:e;if(i>>>0<2){break h}g=e-1|0;r=g<<1;d=r+t|0;i=w[d|0]<<8|w[d+1|0];if(p>>>0>i>>>0){break h}n=(j+B(l,3)|0)+16|0;G=t+u|0;i:{while(1){j:{j=i;d=g;C=r+G|0;D=C+l|0;f=D+l|0;q=w[f|0]<<8|w[f+1|0];h=(q|0)==65535?h:d;if(!d){break j}g=d-1|0;r=g<<1;i=r+t|0;i=w[i|0]<<8|w[i+1|0];if(p>>>0<=i>>>0){continue}break i}break}d=0;f=n}i=w[D|0]|w[D+1|0]<<8;n=(i<<8|i>>>8)<<16>>16;i=w[C+1|0]|w[C|0]<<8;break g}d=e;if((q|0)==65535){break e}break f}d=e;j=k;i=m}k:{if((h|0)!=(o|0)){k=j;break k}if((d|0)!=(e|0)){n=F;q=A;i=m;j=k}g=0;if(o>>>0>=x>>>0){d=e;k=j;break e}d=(o<<1)+t|0;f=u+d|0;r=w[f|0]<<8|w[f+1|0];l:{if(r>>>0>p>>>0){h=e;break l}h=e;m:{while(1){n:{i=r;j=d;k=(d+u|0)+l|0;f=k+l|0;q=w[f|0]<<8|w[f+1|0];h=(q|0)==65535?h:o;o=o+1|0;if((x|0)==(o|0)){break n}d=(o<<1)+t|0;f=u+d|0;r=w[f|0]<<8|w[f+1|0];if(r>>>0<=p>>>0){continue}break m}break}o=x}d=w[k|0]|w[k+1|0]<<8;n=(d<<8|d>>>8)<<16>>16;j=w[j+1|0]|w[j|0]<<8}k=j;d=o-1|0;if((e|0)==(h|0)){break e}}if((d|0)==(h|0)){e=h;m=i;break f}e=(h<<1)+t|0;k=w[e|0]<<8|w[e+1|0];e=e+u|0;m=w[e|0]<<8|w[e+1|0];e=e+l|0;f=e+l|0;q=w[f|0]<<8|w[f+1|0];e=w[e|0]|w[e+1|0]<<8;n=(e<<8|e>>>8)<<16>>16;e=h}if(q){g=0;d=((p-m<<1)+q|0)+f|0;if(d>>>0>E>>>0?c:0){break c}d=w[d+1|0]|w[d|0]<<8;if(!d){break c}d=d+n&65535;g=d>>>0>2]?d:0;d=e;if(c){break b}break a}d=n+p|0;g=d&65535;if(!c){break a}o:{if(y[z+16>>2]>g>>>0){break o}c=k+n|0;p:{if((d|0)>-1){break p}g=0;if((c|0)<0){break p}s=0-n|0;break o}s=(d|0)<65536?(c|0)>65535?65536-n|0:p:p;g=0}d=e;break b}if(c){break b}break a}d=e;if(!c){break a}}c=g;if(k>>>0>>0){g=0;d=d+1|0;if((x|0)==(d|0)){break a}}q:{if(AZ(a,d)){g=c;if(c){break q}return 0}v[a+24>>2]=s;if(c){v[a+28>>2]=c;g=c;break q}v[a+24>>2]=s;zZ(a);g=v[a+28>>2];if(!g){return 0}s=v[a+24>>2]}v[b>>2]=s}return g}function oaa(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;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;j=Qb-464|0;Qb=j;v[j+16>>2]=f;v[j+20>>2]=g;v[j+24>>2]=h;v[j+28>>2]=i;a=j+352|0;v[j+348>>2]=a;k=Ai(a,100,273874,j+16|0);v[j+48>>2]=1563;a=j+48|0;p=Mf(j+232|0,0,a);v[j+48>>2]=1563;l=Mf(j+224|0,0,a);n=j+240|0;a:{b:{c:{if(k>>>0>=100){v[299999]=0;a=ga(5559)|0;k=v[299999];v[299999]=0;if((k|0)==1){break b}v[j>>2]=f;v[j+4>>2]=g;v[299999]=0;v[j+8>>2]=h;v[j+12>>2]=i;k=Z(5582,j+348|0,a|0,273874,j|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break b}if((k|0)==-1){v[299999]=0;ba(5538);a=v[299999];v[299999]=0;if((a|0)!=1){break c}break b}Ig(p,v[j+348>>2]);Ig(l,jc(k));if(!v[l>>2]){v[299999]=0;ba(5538);a=v[299999];v[299999]=0;if((a|0)==1){break b}break c}n=v[l>>2]}v[299999]=0;a=v[d+28>>2];v[j+216>>2]=a;v[a+4>>2]=v[a+4>>2]+1;a=v[299999];v[299999]=0;d:{e:{f:{g:{h:{i:{j:{if((a|0)!=1){v[299999]=0;r=S(5533,j+216|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break j}v[299999]=0;a=v[j+348>>2];Z(5555,r|0,a|0,a+k|0,n|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break j}q=(k|0)>=1?w[v[j+348>>2]]==45:q;h=ge(j+192|0);f=ge(j+176|0);g=ge(j+160|0);v[299999]=0;ua(5619,c|0,q|0,j+216|0,j+208|0,j+207|0,j+206|0,h|0,f|0,g|0,j+156|0);a=v[299999];v[299999]=0;if((a|0)==1){break i}v[j+36>>2]=1563;i=Mf(j+40|0,0,j+36|0);c=j+48|0;a=v[j+156>>2];k:{if((a|0)<(k|0)){s=v[j+156>>2];if(w[f+11|0]>>>7|0){m=v[f+4>>2]}else{m=w[f+11|0]}if(w[g+11|0]>>>7|0){o=v[g+4>>2]}else{o=w[g+11|0]}a=(s+(m+(o+(k-a<<1)|0)|0)|0)+1|0;break k}o=v[j+156>>2];if(w[g+11|0]>>>7|0){a=v[g+4>>2]}else{a=w[g+11|0]}if(w[f+11|0]>>>7|0){m=v[f+4>>2]}else{m=w[f+11|0]}a=(o+(a+m|0)|0)+2|0}if(a>>>0<101){break h}Ig(i,jc(a));c=v[i>>2];if(c){break h}v[299999]=0;ba(5538);a=v[299999];v[299999]=0;if((a|0)!=1){break c}break g}k=P()|0;O()|0;break a}k=P()|0;O()|0;break e}k=P()|0;O()|0;break f}a=v[d+4>>2];v[299999]=0;Ba(5620,c|0,j+36|0,j+32|0,a|0,n|0,k+n|0,r|0,q|0,j+208|0,t[j+207|0],t[j+206|0],h|0,f|0,g|0,v[j+156>>2]);a=v[299999];v[299999]=0;if((a|0)!=1){v[299999]=0;c=aa(5584,b|0,c|0,v[j+36>>2],v[j+32>>2],d|0,e|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break d}}}k=P()|0;O()|0;ee(i)}Mc(g);Mc(f);Mc(h)}a=v[j+216>>2];b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}break a}ee(i);Mc(g);Mc(f);Mc(h);a=v[j+216>>2];b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}ee(l);ee(p);Qb=j+464|0;return c|0}L()}k=P()|0;O()|0}ee(l);ee(p);T(k|0);L()}function tua(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=Qb-32|0;Qb=c;a:{b:{c:{d:{e:{f:{g:{e=v[a+60>>2];i=a- -64|0;h:{if((e|0)!=(i|0)){while(1){f=e;i:{if(t[e+27|0]>=0){v[c+24>>2]=v[f+24>>2];e=v[f+20>>2];v[c+16>>2]=v[f+16>>2];v[c+20>>2]=e;break i}Ke(c+16|0,v[f+16>>2],v[f+20>>2])}v[c+28>>2]=v[f+28>>2];d=0;g=ve(b);j=w[c+27|0];e=j<<24>>24;if((g|0)==(((e|0)<0?v[c+20>>2]:j)|0)){v[299999]=0;e=ca(2608,c+16|0,0,-1,b|0,g|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break a}h=e?h:v[c+28>>2];d=!e;e=w[c+27|0]}if(e<<24>>24<=-1){dc(v[c+16>>2])}if(d){break h}d=v[f+4>>2];j:{if(!d){e=v[f+8>>2];if((f|0)==v[e>>2]){break j}d=f+8|0;while(1){f=v[d>>2];d=f+8|0;e=v[f+8>>2];if((f|0)!=v[e>>2]){continue}break}break j}while(1){e=d;d=v[d>>2];if(d){continue}break}}if((e|0)!=(i|0)){continue}break}}f=fc(36);h=v[a+24>>2];d=ve(b);if(d>>>0>=1073741808){v[299999]=0;R(2530,c|0);a=v[299999];v[299999]=0;if((a|0)==1){break g}L()}k:{l:{if(d>>>0>=2){v[299999]=0;g=d+4&-4;e=S(1,g<<2)|0;i=v[299999];v[299999]=0;if((i|0)==1){break g}v[c>>2]=e;v[c+4>>2]=d;v[c+8>>2]=g|-2147483648;break l}t[c+11|0]=d;e=c;if(!d){break k}}v[299999]=0;tc(e,b,d);g=v[299999];v[299999]=0;if((g|0)==1){break a}}v[(d<<2)+e>>2]=0;v[299999]=0;U(4143,c+16|0,h|0,c|0);e=v[299999];v[299999]=0;if((e|0)==1){break f}v[299999]=0;h=Q(4158,f|0,c+16|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break e}if(t[c+27|0]<=-1){dc(v[c+16>>2])}if(t[c+11|0]<=-1){dc(v[c>>2])}d=ve(b);if(d>>>0>=1073741808){break b}m:{n:{if(d>>>0>=2){g=d+4&-4;e=fc(g<<2);v[c+24>>2]=g|-2147483648;v[c+16>>2]=e;v[c+20>>2]=d;break n}t[c+27|0]=d;e=c+16|0;if(!d){break m}}v[299999]=0;tc(e,b,d);b=v[299999];v[299999]=0;if((b|0)==1){break a}}v[(d<<2)+e>>2]=0;v[c+28>>2]=f;v[299999]=0;b=cg(a+60|0,c,c+16|0);e=v[299999];v[299999]=0;if((e|0)==1){break c}if(!v[b>>2]){v[299999]=0;d=S(1,32)|0;e=v[299999];v[299999]=0;if((e|0)==1){break c}e=v[c+20>>2];v[d+16>>2]=v[c+16>>2];v[d+20>>2]=e;v[d+24>>2]=v[c+24>>2];v[c+24>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[d+28>>2]=v[c+28>>2];v[d+8>>2]=v[c>>2];v[d>>2]=0;v[d+4>>2]=0;v[b>>2]=d;e=v[v[a+60>>2]>>2];if(e){v[a+60>>2]=e;d=v[b>>2]}Uc(v[a- -64>>2],d);v[a+68>>2]=v[a+68>>2]+1}if(t[c+27|0]>-1){break h}dc(v[c+16>>2])}Qb=c+32|0;return h|0}a=P()|0;O()|0;dc(f);T(a|0);L()}d=P()|0;O()|0;break d}d=P()|0;O()|0;if(t[c+27|0]>-1){break d}dc(v[c+16>>2])}if(t[c+11|0]<=-1){dc(v[c>>2])}dc(f);T(d|0);L()}a=P()|0;O()|0;if(t[c+27|0]<=-1){dc(v[c+16>>2])}T(a|0);L()}$d(c+16|0);L()}W(0)|0;O()|0;lc();L()}function kY(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,z=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;g=v[a+4>>2];f=v[g>>2];l=A[f+32>>3];G=A[f>>3];r=A[f+16>>3];p=A[f+40>>3];m=A[f+8>>3];q=A[a+16>>3];i=A[f+24>>3];s=A[a+24>>3];h=(e|0)>1?e:1;v[g+24>>2]=h;v[g+4>>2]=h;f=g;q=q+ +(c|0);n=i;i=s+ +(d|0);s=n*i;n=(p+(m*q+s))*256;n=n+(n<0?-.5:.5);a:{if(D(n)<2147483648){d=~~n;break a}d=-2147483648}v[f+40>>2]=d;f=g;r=i*r;i=(l+(q*G+r))*256;i=i+(i<0?-.5:.5);b:{if(D(i)<2147483648){c=~~i;break b}c=-2147483648}v[f+20>>2]=c;j=g;i=p;p=q+ +(e>>>0);m=(i+(p*m+s))*256;m=m+(m<0?-.5:.5);c:{if(D(m)<2147483648){f=~~m;break c}f=-2147483648}d=f-d|0;f=(d|0)/(h|0)|0;k=d-B(f,h)|0;o=(k|0)<1;v[j+28>>2]=f-o;f=g;l=(l+(p*G+r))*256;l=l+(l<0?-.5:.5);d:{if(D(l)<2147483648){d=~~l;break d}d=-2147483648}c=d-c|0;d=(c|0)/(h|0)|0;j=d;c=c-B(d,h)|0;d=(c|0)<1;v[f+8>>2]=j-d;f=k+(o?e:0)|0;v[g+32>>2]=f;c=c+(d?e:0)|0;v[g+12>>2]=c;v[g+36>>2]=f-e;v[g+16>>2]=c-e;c=v[a+4>>2];g=v[c+40>>2];c=v[c+20>>2];while(1){f=v[a+36>>2];d=v[a>>2];h=c-v[a+32>>2]|0;c=h>>8;v[d+8>>2]=c;k=g-f|0;f=(v[d+28>>2]+(k>>8)>>>0)%y[d+24>>2]|0;v[d+32>>2]=f;g=v[v[d>>2]>>2];o=v[g+4>>2];C=v[g+16>>2];u=v[d+12>>2];g=(c+v[d+16>>2]>>>0)%(u>>>0)|0;v[d+20>>2]=g;f=o+B(f,C)|0;v[d+4>>2]=f;c=f+(g<<2)|0;o=w[c+2|0];C=w[c+1|0];H=w[c|0];j=w[c+3|0];c=g+1|0;c=c>>>0>>0?c:0;v[d+20>>2]=c;c=f+(c<<2)|0;u=w[c+2|0];I=w[c+1|0];J=w[c|0];g=w[c+3|0];c=v[a>>2];d=v[c+32>>2]+1|0;d=d>>>0>2]?d:0;v[c+32>>2]=d;f=v[v[c>>2]>>2];E=v[f+4>>2];f=v[f+16>>2];x=(v[c+16>>2]+v[c+8>>2]>>>0)%y[c+12>>2]|0;v[c+20>>2]=x;F=c;c=E+B(d,f)|0;v[F+4>>2]=c;c=c+(x<<2)|0;E=w[c+2|0];x=w[c+1|0];K=w[c|0];f=w[c+3|0];c=v[a>>2];d=v[c+20>>2]+1|0;d=d>>>0>2]?d:0;v[c+20>>2]=d;c=v[c+4>>2]+(d<<2)|0;L=w[c+2|0];M=w[c+1|0];N=w[c|0];F=j;h=h&255;j=256-h|0;k=k&255;z=256-k|0;d=B(j,z);O=g;g=B(h,z);z=f;f=B(k,j);j=w[c+3|0];c=B(h,k);t[b+3|0]=(((B(F,d)+B(O,g)|0)+B(z,f)|0)+B(j,c)|0)+32768>>>16;t[b+2|0]=(((B(d,H)+B(g,J)|0)+B(f,K)|0)+B(c,N)|0)+32768>>>16;t[b+1|0]=(((B(d,C)+B(g,I)|0)+B(f,x)|0)+B(c,M)|0)+32768>>>16;t[b|0]=(((B(d,o)+B(g,u)|0)+B(f,E)|0)+B(c,L)|0)+32768>>>16;d=v[a+4>>2];c=d;g=v[c+16>>2]+v[c+12>>2]|0;v[c+16>>2]=g;c=v[c+20>>2]+v[c+8>>2]|0;v[d+20>>2]=c;if((g|0)>=1){c=c+1|0;v[d+20>>2]=c;v[d+16>>2]=g-v[d+4>>2]}f=v[d+36>>2]+v[d+32>>2]|0;v[d+36>>2]=f;g=v[d+40>>2]+v[d+28>>2]|0;v[d+40>>2]=g;if((f|0)>=1){g=g+1|0;v[d+40>>2]=g;v[d+36>>2]=f-v[d+24>>2]}b=b+4|0;e=e-1|0;if(e){continue}break}}function UX(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,z=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;g=v[a+4>>2];f=v[g>>2];l=A[f+32>>3];G=A[f>>3];r=A[f+16>>3];p=A[f+40>>3];m=A[f+8>>3];q=A[a+16>>3];i=A[f+24>>3];s=A[a+24>>3];h=(e|0)>1?e:1;v[g+24>>2]=h;v[g+4>>2]=h;f=g;q=q+ +(c|0);n=i;i=s+ +(d|0);s=n*i;n=(p+(m*q+s))*256;n=n+(n<0?-.5:.5);a:{if(D(n)<2147483648){d=~~n;break a}d=-2147483648}v[f+40>>2]=d;f=g;r=i*r;i=(l+(q*G+r))*256;i=i+(i<0?-.5:.5);b:{if(D(i)<2147483648){c=~~i;break b}c=-2147483648}v[f+20>>2]=c;j=g;i=p;p=q+ +(e>>>0);m=(i+(p*m+s))*256;m=m+(m<0?-.5:.5);c:{if(D(m)<2147483648){f=~~m;break c}f=-2147483648}d=f-d|0;f=(d|0)/(h|0)|0;k=d-B(f,h)|0;o=(k|0)<1;v[j+28>>2]=f-o;f=g;l=(l+(p*G+r))*256;l=l+(l<0?-.5:.5);d:{if(D(l)<2147483648){d=~~l;break d}d=-2147483648}c=d-c|0;d=(c|0)/(h|0)|0;j=d;c=c-B(d,h)|0;d=(c|0)<1;v[f+8>>2]=j-d;f=k+(o?e:0)|0;v[g+32>>2]=f;c=c+(d?e:0)|0;v[g+12>>2]=c;v[g+36>>2]=f-e;v[g+16>>2]=c-e;c=v[a+4>>2];g=v[c+40>>2];c=v[c+20>>2];while(1){f=v[a+36>>2];d=v[a>>2];h=c-v[a+32>>2]|0;c=h>>8;v[d+8>>2]=c;k=g-f|0;f=(v[d+28>>2]+(k>>8)>>>0)%y[d+24>>2]|0;v[d+32>>2]=f;g=v[v[d>>2]>>2];o=v[g+4>>2];C=v[g+16>>2];u=v[d+12>>2];g=(c+v[d+16>>2]>>>0)%(u>>>0)|0;v[d+20>>2]=g;f=o+B(f,C)|0;v[d+4>>2]=f;c=f+(g<<2)|0;o=w[c|0];C=w[c+1|0];H=w[c+2|0];j=w[c+3|0];c=g+1|0;c=c>>>0>>0?c:0;v[d+20>>2]=c;c=f+(c<<2)|0;u=w[c|0];I=w[c+1|0];J=w[c+2|0];g=w[c+3|0];c=v[a>>2];d=v[c+32>>2]+1|0;d=d>>>0>2]?d:0;v[c+32>>2]=d;f=v[v[c>>2]>>2];E=v[f+4>>2];f=v[f+16>>2];x=(v[c+16>>2]+v[c+8>>2]>>>0)%y[c+12>>2]|0;v[c+20>>2]=x;F=c;c=E+B(d,f)|0;v[F+4>>2]=c;c=c+(x<<2)|0;E=w[c|0];x=w[c+1|0];K=w[c+2|0];f=w[c+3|0];c=v[a>>2];d=v[c+20>>2]+1|0;d=d>>>0>2]?d:0;v[c+20>>2]=d;c=v[c+4>>2]+(d<<2)|0;L=w[c|0];M=w[c+1|0];N=w[c+2|0];F=j;h=h&255;j=256-h|0;k=k&255;z=256-k|0;d=B(j,z);O=g;g=B(h,z);z=f;f=B(k,j);j=w[c+3|0];c=B(h,k);t[b+3|0]=(((B(F,d)+B(O,g)|0)+B(z,f)|0)+B(j,c)|0)+32768>>>16;t[b+2|0]=(((B(d,H)+B(g,J)|0)+B(f,K)|0)+B(c,N)|0)+32768>>>16;t[b+1|0]=(((B(d,C)+B(g,I)|0)+B(f,x)|0)+B(c,M)|0)+32768>>>16;t[b|0]=(((B(d,o)+B(g,u)|0)+B(f,E)|0)+B(c,L)|0)+32768>>>16;d=v[a+4>>2];c=d;g=v[c+16>>2]+v[c+12>>2]|0;v[c+16>>2]=g;c=v[c+20>>2]+v[c+8>>2]|0;v[d+20>>2]=c;if((g|0)>=1){c=c+1|0;v[d+20>>2]=c;v[d+16>>2]=g-v[d+4>>2]}f=v[d+36>>2]+v[d+32>>2]|0;v[d+36>>2]=f;g=v[d+40>>2]+v[d+28>>2]|0;v[d+40>>2]=g;if((f|0)>=1){g=g+1|0;v[d+40>>2]=g;v[d+36>>2]=f-v[d+24>>2]}b=b+4|0;e=e-1|0;if(e){continue}break}}function Qea(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;f=Qb-16|0;Qb=f;g=a;a:{if(c){h=Cj(v[b>>2]);break a}h=v[a+12>>2]}v[g+24>>2]=h;j=f+8|0;h=j;d=fc(100);v[d>>2]=996308;v[d+4>>2]=0;b:{c:{d:{g=v[b>>2];if(g){v[299999]=0;v[g+4>>2]=v[g+4>>2]+1;e=v[299999];v[299999]=0;if((e|0)==1){break d}e=v[b>>2]}v[d+80>>2]=0;v[d+84>>2]=0;v[d+12>>2]=e;v[d+8>>2]=e;v[d+96>>2]=-1;v[d+88>>2]=0;v[d+92>>2]=0;v[h>>2]=0;Wc(h,d);e:{if(c){b=v[d+12>>2];v[299999]=0;b=S(4548,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break e}v[d+96>>2]=b}b=32;v[d+84>>2]=32;k=d+16|0;i=v[d+92>>2];e=v[d+88>>2];f:{while(1){g:{if((e|0)>=(i|0)){v[d+88>>2]=0;v[d+92>>2]=0;b=v[d+96>>2];b=b>>>0<64?b:64;if((b|0)<1){break g}c=v[d+12>>2];e=v[v[c>>2]+8>>2];v[299999]=0;i=Y(e|0,c|0,k|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break f}v[d+92>>2]=i;v[d+96>>2]=v[d+96>>2]-i;if((i|0)<1){break g}e=v[d+88>>2];b=v[d+84>>2]}g=e+1|0;v[d+88>>2]=g;c=b-8|0;v[d+84>>2]=c;v[d+80>>2]=v[d+80>>2]|w[(d+e|0)+16|0]<15;b=c;e=g;if(l){continue}}break}break b}break c}break c}a=P()|0;O()|0;Qc(d);dc(d);T(a|0);L()}a=P()|0;O()|0;ec(h);T(a|0);L()}v[299999]=0;Q(4344,a- -64|0,j|0)|0;b=v[299999];v[299999]=0;h:{if((b|0)!=1){i:{b=v[f+8>>2];v[f+8>>2]=0;j:{if(!b){break j}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;e=v[299999];v[299999]=0;if((e|0)==1){break h}if(c){break j}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break h}}b=f+8|0;dD(b,996384,7);v[299999]=0;Q(4344,a+68|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break i}b=v[f+8>>2];v[f+8>>2]=0;k:{if(!b){break k}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;e=v[299999];v[299999]=0;if((e|0)==1){break h}if(c){break k}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break h}}b=f+8|0;dD(b,996448,13);v[299999]=0;Q(4344,a+76|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break i}b=v[f+8>>2];v[f+8>>2]=0;l:{if(!b){break l}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;e=v[299999];v[299999]=0;if((e|0)==1){break h}if(c){break l}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break h}}b=f+8|0;dD(b,997088,13);v[299999]=0;Q(4344,a+72|0,b|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break i}a=v[f+8>>2];v[f+8>>2]=0;m:{if(!a){break m}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break h}if(b){break m}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break h}}Qb=f+16|0;return}}a=P()|0;O()|0;ec(f+8|0);T(a|0);L()}W(0)|0;O()|0;lc();L()}function UXa(a,b){a=a|0;b=b|0;var 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;j=Qb-16|0;Qb=j;l=v[a+492>>2];g=v[b+8>>2];Ub[v[b+28>>2]](b);d=v[b>>2];a:{if(g>>>0<=d>>>0){v[b+12>>2]=3;break a}b:{k=w[d|0];if(!(k-48>>>0>=10&(k|0)!=91)){f=v[b+16>>2];c:{if((k|0)==91){v[b>>2]=d+1;m=256;c=256;break c}m=Ub[v[b+36>>2]](b)|0;c=(m|0)<256?m:256}Ub[v[b+28>>2]](b);if(y[b>>2]>=g>>>0){break a}h=c;i=b+100|0;e=v[a+384>>2];d:{if(!e){break d}c=f;if(e){Ub[v[c+8>>2]](c,e)}v[a+384>>2]=0;c=v[a+388>>2];if(c){Ub[v[f+8>>2]](f,c)}v[a+388>>2]=0;c=v[b+148>>2];if(!c){break d}Ub[c|0](i)}v[a+372>>2]=h;v[b+96>>2]=h;o=a,p=Cc(f,2,0,h,0,j+12|0),v[o+384>>2]=p;e=v[j+12>>2];if(e){break b}o=a,p=Cc(f,4,0,h,0,j+12|0),v[o+388>>2]=p;e=v[j+12>>2];if(e){break b}e=Ub[v[v[l>>2]>>2]](i,h,f)|0;v[j+12>>2]=e;if(e){break b}e:{if((h|0)<1){break e}f=h&3;c=0;if(h-1>>>0>=3){e=h&-4;while(1){Ub[v[b+144>>2]](i,c,273792,8)|0;Ub[v[b+144>>2]](i,c|1,273792,8)|0;Ub[v[b+144>>2]](i,c|2,273792,8)|0;Ub[v[b+144>>2]](i,c|3,273792,8)|0;c=c+4|0;e=e-4|0;if(e){continue}break}}if(!f){break e}while(1){Ub[v[b+144>>2]](i,c,273792,8)|0;c=c+1|0;f=f-1|0;if(f){continue}break}}Ub[v[b+28>>2]](b);c=v[b>>2];f:{if(g>>>0<=c>>>0){break f}e=0;n=(k|0)==91;while(1){g:{h:{i:{f=w[c|0];switch(f-93|0){case 0:break h;case 7:break i;default:break g}}d=c+3|0;if(w[c+1|0]!=101|g>>>0<=d>>>0|w[c+2|0]!=102){break g}switch(w[c+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break f;default:break g}}d=c+1|0;break f}j:{k:{l:{if(!((k|0)!=91&f-48>>>0>=10)){m:{if(n){d=c;f=e;break m}f=Ub[v[b+36>>2]](b)|0;Ub[v[b+28>>2]](b);d=v[b>>2];if((d|0)==(c|0)){break k}}if(w[d|0]!=47|d+2>>>0>=g>>>0|(e|0)>=(m|0)){break l}d=d+1|0;v[b>>2]=d;Ub[v[b+32>>2]](b);c=v[b>>2];if(v[b+12>>2]|c>>>0>=g>>>0){break a}if((e|0)<(h|0)){l=c-d|0;c=Ub[v[b+144>>2]](i,f,d,l+1|0)|0;v[b+12>>2]=c;if(c){break a}t[l+v[v[b+124>>2]+(f<<2)>>2]|0]=0}e=e+1|0;break j}Ub[v[b+32>>2]](b);d=c;if(v[b+12>>2]){break a}break j}if(!n){break j}}v[b+12>>2]=2;break a}Ub[v[b+28>>2]](b);c=v[b>>2];if(g>>>0>c>>>0){continue}break}}v[a+368>>2]=1;v[b>>2]=d;break a}n:{if(d+17>>>0>=g>>>0){break n}if(Oc(d,272936,16)){break n}v[a+368>>2]=2;break a}o:{if(d+15>>>0>=g>>>0){break o}if(Oc(d,272875,14)){break o}v[a+368>>2]=4;break a}p:{if(d+18>>>0>=g>>>0){break p}if(Oc(d,272953,17)){break p}v[a+368>>2]=3;break a}v[b+12>>2]=162;break a}v[b+12>>2]=e}Qb=j+16|0}function RQa(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,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0;D=Qb-448|0;Qb=D;x=v[a+332>>2];a=v[b+84>>2];b=D;while(1){j=v[a+192>>2];n=u[c+96>>1];i=v[a+64>>2];k=u[c+32>>1];o=B(u[c>>1],v[a>>2])<<13|1024;p=B(v[a+128>>2],u[c+64>>1]);l=o+B(p,-11586)>>11;h=B(v[a+224>>2],u[c+112>>1]);m=B(v[a+32>>2],u[c+16>>1]);f=B(v[a+96>>2],u[c+48>>1]);y=m-f|0;g=B(v[a+160>>2],u[c+80>>1]);q=h+(y-g|0)<<2;v[b+320>>2]=l-q;v[b+96>>2]=l+q;n=B(j,n);i=B(i,k);k=B(n+i|0,9058);l=k+B(n,-14084)|0;q=o+B(p,2578)|0;r=l+q|0;j=h<<13;h=B(f+g|0,-1297)-j|0;C=B(f+m|0,10935);z=h+(C+B(f,-3474)|0)|0;v[b+384>>2]=r-z>>11;v[b+32>>2]=r+z>>11;n=B(n,-11295)+B(i,5027)|0;r=o+B(p,-7223)|0;z=n+r|0;s=h;h=g+m|0;A=B(h,9810);s=s+(A+B(g,-19447)|0)|0;v[b+352>>2]=z-s>>11;v[b+64>>2]=z+s>>11;l=q-l|0;y=B(y,3826)-j|0;s=B(f,5529);f=B(g-f|0,11512);q=y+(s+f|0)|0;v[b+256>>2]=l-q>>11;v[b+160>>2]=l+q>>11;p=o+B(p,10438)|0;o=k+B(i,2237)|0;i=p-o|0;k=B(h,6164);l=y+(k+B(m,-8693)|0)|0;v[b+224>>2]=i-l>>11;v[b+192>>2]=i+l>>11;p=p+o|0;m=j+(A+(C+B(m,-9232)|0)|0)|0;v[b+416>>2]=p-m>>11;v[b>>2]=m+p>>11;m=r-n|0;f=j+(k+(f+B(g,-13850)|0)|0)|0;v[b+288>>2]=m-f>>11;v[b+128>>2]=f+m>>11;b=b+4|0;a=a+4|0;c=c+2|0;E=E+1|0;if((E|0)!=8){continue}break}b=x+128|0;p=0;a=D;while(1){f=v[a+12>>2];m=v[a+4>>2];i=B(f+m|0,10935);k=v[a+24>>2];x=v[a+8>>2];l=B(k+x|0,9058);c=v[(p<<2)+d>>2]+e|0;q=v[a+28>>2];o=q<<13;g=v[a+20>>2];y=g+m|0;h=B(y,9810);r=o+(h+(i+B(m,-9232)|0)|0)|0;C=l+B(x,2237)|0;n=(v[a>>2]<<13)+131072|0;j=v[a+16>>2];z=n+B(j,10438)|0;A=C+z|0;t[c|0]=w[b+(r+A>>>18&1023)|0];t[c+13|0]=w[b+(A-r>>>18&1023)|0];s=i+B(f,-3474)|0;i=B(f+g|0,-1297)-o|0;r=s+i|0;l=l+B(k,-14084)|0;A=n+B(j,2578)|0;s=l+A|0;t[c+1|0]=w[b+(r+s>>>18&1023)|0];t[c+12|0]=w[b+(s-r>>>18&1023)|0];i=i+(h+B(g,-19447)|0)|0;k=B(k,-11295)+B(x,5027)|0;x=n+B(j,-7223)|0;h=k+x|0;t[c+2|0]=w[b+(i+h>>>18&1023)|0];t[c+11|0]=w[b+(h-i>>>18&1023)|0];i=m-f|0;h=q+(i-g|0)<<13;j=n+B(j,-11586)|0;t[c+3|0]=w[b+(h+j>>>18&1023)|0];t[c+10|0]=w[b+(j-h>>>18&1023)|0];j=B(y,6164);h=o+B(g,-13850)|0;g=B(g-f|0,11512);n=j+(h+g|0)|0;k=x-k|0;t[c+4|0]=w[b+(n+k>>>18&1023)|0];t[c+9|0]=w[b+(k-n>>>18&1023)|0];h=g+B(f,5529)|0;f=B(i,3826)-o|0;g=h+f|0;o=A-l|0;t[c+5|0]=w[b+(g+o>>>18&1023)|0];t[c+8|0]=w[b+(o-g>>>18&1023)|0];f=f+(j+B(m,-8693)|0)|0;g=z-C|0;t[c+6|0]=w[b+(f+g>>>18&1023)|0];t[c+7|0]=w[b+(g-f>>>18&1023)|0];a=a+32|0;p=p+1|0;if((p|0)!=14){continue}break}Qb=D+448|0}function CQ(a,b,c){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,p=0;a:{b:{c:{d=v[a+200>>2];if(d&1){if(d&4){Gc(a,65728);td(a,c);return}if(!(!b|!(w[b+9|0]&4))){Gc(a,65853);td(a,c);return}Zc(a,v[a+740>>2]);d=If(a,c+1|0);v[a+740>>2]=d;if(!d){Gc(a,65938);return}yf(a,d,c);kd(a,d,c);d=td(a,0);h=v[a+740>>2];if(d){Zc(a,h);v[a+740>>2]=0;return}t[c+h|0]=0;h=v[a+740>>2];d=h;while(1){e=d;d=d+1|0;if(w[e|0]){continue}break}i=c+h|0;if((i-e|0)<=12){Gc(a,66052);break b}c=w[d|0];d:{if(c&128){h=0-(0-(w[e+4|0]|(c<<24|w[e+2|0]<<16|w[e+3|0]<<8))&2147483647)|0;break d}h=w[e+4|0]|(w[e+2|0]<<16|c<<24|w[e+3|0]<<8)}c=w[e+5|0];e:{if(c&128){k=0-(0-(w[e+8|0]|(c<<24|w[e+6|0]<<16|w[e+7|0]<<8))&2147483647)|0;break e}k=w[e+8|0]|(w[e+6|0]<<16|c<<24|w[e+7|0]<<8)}f:{j=w[e+9|0];g=w[e+10|0];if(!(!j&(g|0)!=2|(j|0)==1&(g|0)!=3|(j|0)==2&(g|0)!=3)){if((g|0)==4|(j|0)!=3){break f}}Gc(a,66209);break b}if(j>>>0>=4){Gc(a,66300)}e=e+11|0;d=e;while(1){c=d;d=c+1|0;if(w[c|0]){continue}break}m=If(a,g<<2);if(!m){break c}if(g){l=i+1|0;d=0;while(1){c=c+1|0;v[(d<<2)+m>>2]=c;g:{if(c>>>0<=i>>>0){while(1){if(!w[c|0]){break g}c=c+1|0;if((l|0)!=(c|0)){continue}break}}Gc(a,66052);break a}d=d+1|0;if((g|0)!=(d|0)){continue}break}}n=v[a+740>>2];i=Qb-80|0;Qb=i;h:{if(!a|!b){break h}i:{j:{if(!n){t[i|0]=0;break j}c=1;d=i;f=w[n|0];k:{if(!f){l=1;break k}while(1){n=n+1|0;l=0;p=d;l:{if(!((f-33&255)>>>0<94|(f&255)>>>0>160)){l=1;if(c){break l}f=32}t[p|0]=f;o=o+1|0;d=d+1|0}f=w[n|0];if(!f){break k}c=l;if(o>>>0<79){continue}break}}c=(o|0)!=0&l;t[d-c|0]=0;d=o-c|0;if(d){break i}}Gc(a,37784);break h}m:{n:{if(j>>>0<=3){f=0;if(!g){break m}break n}hd(a,38556);L()}while(1){c=v[(f<<2)+m>>2];if(lE(c,Bc(c))){f=f+1|0;if((g|0)!=(f|0)){continue}break m}break}hd(a,39976);L()}c=d+1|0;d=If(a,c);v[b+160>>2]=d;if(!d){Gc(a,41226);break h}gc(d,i,c);t[b+181|0]=g;t[b+180|0]=j;v[b+168>>2]=k;v[b+164>>2]=h;c=Bc(e)+1|0;d=If(a,c);v[b+172>>2]=d;if(!d){Gc(a,41844);break h}gc(d,e,c);c=(g<<2)+4|0;d=If(a,c);v[b+176>>2]=d;if(!d){Gc(a,42749);break h}f=0;ic(d,0,c);if(g>>>0>=1){while(1){k=f<<2;h=k+m|0;d=Bc(v[h>>2])+1|0;c=If(a,d);v[k+v[b+176>>2]>>2]=c;c=v[k+v[b+176>>2]>>2];if(!c){Gc(a,43758);break h}gc(c,v[h>>2],d);f=f+1|0;if((g|0)!=(f|0)){continue}break}}v[b+8>>2]=v[b+8>>2]|1024;v[b+184>>2]=v[b+184>>2]|128}Qb=i+80|0;break a}hd(a,65596);L()}Zc(a,v[a+740>>2]);v[a+740>>2]=0;Gc(a,66399);return}Zc(a,v[a+740>>2]);v[a+740>>2]=0;return}Zc(a,v[a+740>>2]);v[a+740>>2]=0;Zc(a,m)}function kfb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=v[a+572>>2];d=v[a+664>>2];a:{if((c|0)<(d|0)|(c|0)>=v[a+668>>2]){break a}b=Ub[v[a+220>>2]](a,v[a+680>>2]+(c-d|0)|0)|0;d=v[a+580>>2];c=(b+(d<<2)|0)+(v[a+672>>2]<<2)|0;e=v[a+656>>2];b=(e|0)/v[a+584>>2]|0;f=v[a+644>>2];if(!w[a+648|0]){e=d+e|0;d=f+(b<<2)|0;b=v[a+660>>2];if(w[a+649|0]){if((b|0)<=(e|0)){break a}while(1){b:{c:{b=w[d+3|0];if((b|0)!=255){if(b){break c}v[c>>2]=0;break b}t[c|0]=w[d|0];t[c+1|0]=w[d+1|0];b=w[d+2|0];t[c+3|0]=255;t[c+2|0]=b;break b}t[c|0]=((B(b,w[d|0])+127&65535)>>>0)/255;t[c+1|0]=((B(b,w[d+1|0])+127&65535)>>>0)/255;f=w[d+2|0];t[c+3|0]=b;t[c+2|0]=((B(b,f)+127&65535)>>>0)/255}d=d+4|0;b=v[a+584>>2];c=(b<<2)+c|0;e=b+e|0;if((e|0)>2]){continue}break}break a}if((b|0)<=(e|0)){break a}while(1){b=w[d+3|0];d:{if(!b){break d}if((b|0)==255){t[c|0]=w[d|0];t[c+1|0]=w[d+1|0];b=w[d+2|0];t[c+3|0]=255;t[c+2|0]=b;break d}f=b^255;t[c|0]=((B(b,w[d|0])+B(f,w[c|0])|0)+127>>>0)/255;t[c+1|0]=((B(b,w[d+1|0])+B(f,w[c+1|0])|0)+127>>>0)/255;g=w[d+2|0];t[c+3|0]=(B(f,w[c+3|0]^255)+127>>>0)/255^-1;t[c+2|0]=((B(b,g)+B(f,w[c+2|0])|0)+127>>>0)/255}d=d+4|0;b=v[a+584>>2];c=(b<<2)+c|0;e=b+e|0;if((e|0)>2]){continue}break}break a}e=d+e|0;d=f+(b<<3)|0;b=v[a+660>>2];if(w[a+649|0]){if((b|0)<=(e|0)){break a}while(1){e:{f:{b=w[d+6|0];if((b|0)!=255){if(b){break f}v[c>>2]=0;break e}t[c|0]=w[d|0];t[c+1|0]=w[d+2|0];b=w[d+4|0];t[c+3|0]=255;t[c+2|0]=b;break e}t[c|0]=((B(b,w[d|0])+127&65535)>>>0)/255;t[c+1|0]=((B(b,w[d+2|0])+127&65535)>>>0)/255;f=w[d+4|0];t[c+3|0]=b;t[c+2|0]=((B(b,f)+127&65535)>>>0)/255}d=d+8|0;b=v[a+584>>2];c=(b<<2)+c|0;e=b+e|0;if((e|0)>2]){continue}break}break a}if((b|0)<=(e|0)){break a}while(1){b=w[d+6|0];g:{if(!b){break g}if((b|0)==255){t[c|0]=w[d|0];t[c+1|0]=w[d+2|0];b=w[d+4|0];t[c+3|0]=255;t[c+2|0]=b;break g}f=b^255;t[c|0]=((B(b,w[d|0])+B(f,w[c|0])|0)+127>>>0)/255;t[c+1|0]=((B(b,w[d+2|0])+B(f,w[c+1|0])|0)+127>>>0)/255;g=w[d+4|0];t[c+3|0]=(B(f,w[c+3|0]^255)+127>>>0)/255^-1;t[c+2|0]=((B(b,g)+B(f,w[c+2|0])|0)+127>>>0)/255}d=d+8|0;b=v[a+584>>2];c=(b<<2)+c|0;e=b+e|0;if((e|0)>2]){continue}break}}c=v[a+680>>2]+v[a+572>>2]|0;e=v[a+664>>2];d=v[a+556>>2];b=v[a+672>>2];h:{if((b|0)>=v[a+552>>2]){if(d){break h}d=0}v[a+552>>2]=b}b=d;d=v[a+676>>2];if((b|0)<(d|0)){v[a+556>>2]=d}d=v[a+564>>2];c=c-e|0;i:{if((c|0)>=v[a+560>>2]){if(d){break i}d=0}v[a+560>>2]=c}if((c|0)>=(d|0)){v[a+564>>2]=c+1}return 0}function dfb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=v[a+572>>2];d=v[a+664>>2];a:{if((c|0)<(d|0)|(c|0)>=v[a+668>>2]){break a}b=Ub[v[a+220>>2]](a,v[a+680>>2]+(c-d|0)|0)|0;d=v[a+580>>2];c=(b+(d<<2)|0)+(v[a+672>>2]<<2)|0;e=v[a+656>>2];b=(e|0)/v[a+584>>2]|0;f=v[a+644>>2];if(!w[a+648|0]){e=d+e|0;d=f+(b<<2)|0;b=v[a+660>>2];if(w[a+649|0]){if((b|0)<=(e|0)){break a}while(1){b:{c:{b=w[d+3|0];if((b|0)!=255){if(b){break c}v[c>>2]=0;break b}t[c|0]=w[d+2|0];t[c+1|0]=w[d+1|0];b=w[d|0];t[c+3|0]=255;t[c+2|0]=b;break b}t[c|0]=((B(b,w[d+2|0])+127&65535)>>>0)/255;t[c+1|0]=((B(b,w[d+1|0])+127&65535)>>>0)/255;f=w[d|0];t[c+3|0]=b;t[c+2|0]=((B(b,f)+127&65535)>>>0)/255}d=d+4|0;b=v[a+584>>2];c=(b<<2)+c|0;e=b+e|0;if((e|0)>2]){continue}break}break a}if((b|0)<=(e|0)){break a}while(1){b=w[d+3|0];d:{if(!b){break d}if((b|0)==255){t[c|0]=w[d+2|0];t[c+1|0]=w[d+1|0];b=w[d|0];t[c+3|0]=255;t[c+2|0]=b;break d}f=b^255;t[c|0]=((B(b,w[d+2|0])+B(f,w[c|0])|0)+127>>>0)/255;t[c+1|0]=((B(b,w[d+1|0])+B(f,w[c+1|0])|0)+127>>>0)/255;g=w[d|0];t[c+3|0]=(B(f,w[c+3|0]^255)+127>>>0)/255^-1;t[c+2|0]=((B(b,g)+B(f,w[c+2|0])|0)+127>>>0)/255}d=d+4|0;b=v[a+584>>2];c=(b<<2)+c|0;e=b+e|0;if((e|0)>2]){continue}break}break a}e=d+e|0;d=f+(b<<3)|0;b=v[a+660>>2];if(w[a+649|0]){if((b|0)<=(e|0)){break a}while(1){e:{f:{b=w[d+6|0];if((b|0)!=255){if(b){break f}v[c>>2]=0;break e}t[c|0]=w[d+4|0];t[c+1|0]=w[d+2|0];b=w[d|0];t[c+3|0]=255;t[c+2|0]=b;break e}t[c|0]=((B(b,w[d+4|0])+127&65535)>>>0)/255;t[c+1|0]=((B(b,w[d+2|0])+127&65535)>>>0)/255;f=w[d|0];t[c+3|0]=b;t[c+2|0]=((B(b,f)+127&65535)>>>0)/255}d=d+8|0;b=v[a+584>>2];c=(b<<2)+c|0;e=b+e|0;if((e|0)>2]){continue}break}break a}if((b|0)<=(e|0)){break a}while(1){b=w[d+6|0];g:{if(!b){break g}if((b|0)==255){t[c|0]=w[d+4|0];t[c+1|0]=w[d+2|0];b=w[d|0];t[c+3|0]=255;t[c+2|0]=b;break g}f=b^255;t[c|0]=((B(b,w[d+4|0])+B(f,w[c|0])|0)+127>>>0)/255;t[c+1|0]=((B(b,w[d+2|0])+B(f,w[c+1|0])|0)+127>>>0)/255;g=w[d|0];t[c+3|0]=(B(f,w[c+3|0]^255)+127>>>0)/255^-1;t[c+2|0]=((B(b,g)+B(f,w[c+2|0])|0)+127>>>0)/255}d=d+8|0;b=v[a+584>>2];c=(b<<2)+c|0;e=b+e|0;if((e|0)>2]){continue}break}}c=v[a+680>>2]+v[a+572>>2]|0;e=v[a+664>>2];d=v[a+556>>2];b=v[a+672>>2];h:{if((b|0)>=v[a+552>>2]){if(d){break h}d=0}v[a+552>>2]=b}b=d;d=v[a+676>>2];if((b|0)<(d|0)){v[a+556>>2]=d}d=v[a+564>>2];c=c-e|0;i:{if((c|0)>=v[a+560>>2]){if(d){break i}d=0}v[a+560>>2]=c}if((c|0)>=(d|0)){v[a+564>>2]=c+1}return 0}function u4(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;j=Qb-16|0;Qb=j;k=v[a+584>>2];a:{if((b|0)==65557){f=v[c>>2];v[k+120>>2]=f;b=1;if(!(w[k+124|0]&2)){break a}g=-2;c=k- -64|0;b:{if(!c|!v[c+32>>2]|!v[c+36>>2]){break b}h=v[c+28>>2];if(!h|(c|0)!=v[h>>2]){break b}c:{d:{d=v[h+4>>2];switch(d-57|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 13:case 14:case 15:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 47:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:break b;case 0:case 12:case 16:case 34:case 46:case 56:break c;default:break d}}if((d|0)==666){break c}if((d|0)!=42){break b}}l=(f|0)==-1?6:f;if(l>>>0>9){break b}e:{if(!v[h+5824>>2]|!v[h+136>>2]&v[B(v[h+132>>2],12)+873288>>2]==v[B(l,12)+873288>>2]){break e}if((Nj(c,5)|0)==-2){break b}if(v[c+16>>2]){break e}g=-5;break b}c=v[h+132>>2];if((c|0)!=(l|0)){f:{if(c){break f}g:{h:{switch(v[h+5808>>2]){case 1:g=v[h+76>>2];i=g-1|0;f=v[h+68>>2]+(g<<1)|0;c=v[h+44>>2];d=g&3;if(d){while(1){f=f-2|0;m=x[f>>1];e=m-c|0;u[f>>1]=e>>>0>m>>>0?0:e;g=g-1|0;d=d-1|0;if(d){continue}break}}if(i>>>0>=3){while(1){e=f-2|0;i=x[e>>1];d=i-c|0;u[e>>1]=d>>>0>i>>>0?0:d;e=f-4|0;i=x[e>>1];d=i-c|0;u[e>>1]=d>>>0>i>>>0?0:d;e=f-6|0;i=x[e>>1];d=i-c|0;u[e>>1]=d>>>0>i>>>0?0:d;f=f-8|0;e=x[f>>1];d=e-c|0;u[f>>1]=d>>>0>e>>>0?0:d;g=g-4|0;if(g){continue}break}}i=c-1|0;f=v[h+64>>2]+(c<<1)|0;d=c&3;i:{if(!d){g=c;break i}g=c;while(1){f=f-2|0;m=x[f>>1];e=m-c|0;u[f>>1]=e>>>0>m>>>0?0:e;g=g-1|0;d=d-1|0;if(d){continue}break}}if(i>>>0>=3){while(1){e=f-2|0;i=x[e>>1];d=i-c|0;u[e>>1]=d>>>0>i>>>0?0:d;e=f-4|0;i=x[e>>1];d=i-c|0;u[e>>1]=d>>>0>i>>>0?0:d;e=f-6|0;i=x[e>>1];d=i-c|0;u[e>>1]=d>>>0>i>>>0?0:d;f=f-8|0;e=x[f>>1];d=e-c|0;u[f>>1]=d>>>0>e>>>0?0:d;g=g-4|0;if(g){continue}break}}c=v[h+76>>2];g=v[h+68>>2];break g;case 0:break f;default:break h}}g=v[h+68>>2];c=v[h+76>>2];u[(g+(c<<1)|0)-2>>1]=0}ic(g,0,(c<<1)-2|0);v[h+5808>>2]=0}v[h+132>>2]=l;c=B(l,12);v[h+144>>2]=x[c+873284>>1];v[h+140>>2]=x[c+873280>>1];v[h+128>>2]=x[c+873282>>1];v[h+124>>2]=x[c+873286>>1]}v[h+136>>2]=0;g=0}if(!g){break a}b=v[a+628>>2];a=v[a>>2];v[j+4>>2]=v[k+88>>2];v[j>>2]=a;zc(b,88388,18004,j);b=0;break a}b=Ub[v[k+132>>2]](a,b,c)|0}Qb=j+16|0;return b|0}function hta(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=Qb-32|0;Qb=c;a:{if(t[b+11|0]>=0){d=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=d;v[a+8>>2]=v[b+8>>2];break a}Ke(a,v[b>>2],v[b+4>>2])}v[299999]=0;b=S(1,16)|0;d=v[299999];v[299999]=0;b:{c:{d:{e:{f:{if((d|0)!=1){v[c+16>>2]=b;v[c+20>>2]=2;v[c+24>>2]=-2147483644;v[299999]=0;tc(b,979516,2);d=v[299999];v[299999]=0;if((d|0)==1){break b}v[b+8>>2]=0;t[c+11|0]=1;v[299999]=0;tc(c,979528,1);b=v[299999];v[299999]=0;if((b|0)==1){break b}v[c+4>>2]=0;g=t[c+11|0];b=0;e=t[c+27|0];d=(e|0)<0;f=d?v[c+20>>2]:e&255;g:{if(f){b=w[a+11|0];e=b<<24>>24;b=(e|0)<0?v[a+4>>2]:b;if((f|0)>(b|0)){break g}e=(e|0)<0?v[a>>2]:a;h=e+(b<<2)|0;i=d?v[c+16>>2]:c+16|0;j=v[i>>2];d=e;while(1){b=b-f|0;k=b+1|0;if(k>>>0>>0){break g}b=sf(d,j,k);if(!b){break g}if(od(b,i,f)){d=b+4|0;b=h-d>>2;if((f|0)<=(b|0)){continue}break g}break}if((b|0)==(h|0)){break g}b=b-e|0;if((b|0)==-4){break g}b=b>>2}d=((g|0)>0?g:0)&255;while(1){v[299999]=0;e=w[c+11|0];g=e<<24>>24<0;ca(2342,a|0,b|0,f|0,(g?v[c>>2]:c)|0,(g?v[c+4>>2]:e)|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break f}b=pv(a,c+16|0,b+d|0);if((b|0)!=-1){continue}break}}if(t[c+11|0]<=-1){dc(v[c>>2])}if(t[c+27|0]<=-1){dc(v[c+16>>2])}v[299999]=0;f=S(1,16)|0;b=v[299999];v[299999]=0;if((b|0)==1){break e}v[c+16>>2]=f;v[c+20>>2]=2;v[c+24>>2]=-2147483644;v[299999]=0;tc(f,979516,2);b=v[299999];v[299999]=0;if((b|0)==1){break b}v[f+8>>2]=0;t[c+11|0]=1;v[299999]=0;tc(c,979528,1);b=v[299999];v[299999]=0;if((b|0)==1){break b}v[c+4>>2]=0;b=w[a+11|0];d=b<<24>>24<0;b=d?v[a+4>>2]:b;h:{if((b|0)<2){break h}e=d?v[a>>2]:a;g=e+(b<<2)|0;h=t[c+11|0];i=v[f>>2];d=e;while(1){b=b-1|0;if(!b){break h}b=sf(d,i,b);if(!b){break h}if(od(b,f,2)){d=b+4|0;j=g-d|0;b=j>>2;if((j|0)>=8){continue}break h}break}if((b|0)==(g|0)){break h}b=b-e|0;if((b|0)==-4){break h}d=((h|0)>0?h:0)&255;b=b>>2;while(1){v[299999]=0;e=w[c+11|0];f=e<<24>>24<0;ca(2342,a|0,b|0,2,(f?v[c>>2]:c)|0,(f?v[c+4>>2]:e)|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break d}b=pv(a,c+16|0,b+d|0);if((b|0)!=-1){continue}break}}if(t[c+11|0]<=-1){dc(v[c>>2])}if(t[c+27|0]<=-1){dc(v[c+16>>2])}Qb=c+32|0;return}b=P()|0;O()|0;break c}b=P()|0;O()|0;if(t[c+11|0]<=-1){dc(v[c>>2])}if(t[c+27|0]>-1){break c}dc(v[c+16>>2]);break c}b=P()|0;O()|0;break c}b=P()|0;O()|0;if(t[c+11|0]<=-1){dc(v[c>>2])}if(t[c+27|0]>-1){break c}dc(v[c+16>>2])}if(t[a+11|0]<=-1){dc(v[a>>2])}T(b|0);L()}W(0)|0;O()|0;lc();L()}function IAa(a,b,c,d,e,f){a=a|0;b=+b;c=+c;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;v[a+112>>2]=e;A[a+8>>3]=c;A[a>>3]=b;g=A[d>>3];A[a+64>>3]=g;i=A[d+8>>3];A[a+72>>3]=i;h=A[d+16>>3];A[a+80>>3]=h;j=A[d+24>>3];A[a+88>>3]=j;b=b/72;d=a;c=c/72;k=c;a:{b:{c:{if((e|0)!=270){if((e|0)!=180){if((e|0)!=90){break c}v[a+16>>2]=0;v[a+20>>2]=0;v[a+40>>2]=0;v[a+44>>2]=0;A[a+32>>3]=b;A[a+96>>3]=b*(j-i);A[a+48>>3]=i*-b;A[a+24>>3]=f?c:-c;A[a+56>>3]=c*(f?-g:h);b=h-g;break a}v[a+24>>2]=0;v[a+28>>2]=0;A[a+16>>3]=-b;v[a+32>>2]=0;v[a+36>>2]=0;A[a+48>>3]=b*h;A[a+96>>3]=b*(h-g);A[a+40>>3]=f?c:-c;A[a+56>>3]=c*(f?-i:j);break b}v[a+16>>2]=0;v[a+20>>2]=0;A[a+48>>3]=b*j;v[a+40>>2]=0;v[a+44>>2]=0;A[a+32>>3]=-b;A[a+96>>3]=b*(j-i);A[a+24>>3]=f?-c:c;A[a+56>>3]=c*(f?h:-g);b=h-g;break a}A[a+16>>3]=b;v[a+24>>2]=0;v[a+28>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;A[a+96>>3]=b*(h-g);A[a+48>>3]=g*-b;A[a+40>>3]=f?-c:c;A[a+56>>3]=c*(f?j:-i)}b=j-i}A[d+104>>3]=k*b;d=fc(12);v[d+4>>2]=15;v[d+8>>2]=0;v[d>>2]=896936;v[a+116>>2]=d;e=fc(12);d=e;v[d+4>>2]=15;v[d+8>>2]=0;v[d>>2]=896936;d=a;v[d+408>>2]=0;v[d+412>>2]=0;v[d+400>>2]=0;v[d+404>>2]=1072693248;v[d+392>>2]=0;v[d+396>>2]=1072693248;v[d+388>>2]=0;v[d+380>>2]=0;v[d+384>>2]=0;v[d+252>>2]=0;v[d+124>>2]=0;v[d+120>>2]=e;v[d+424>>2]=0;v[d+428>>2]=0;v[d+416>>2]=0;v[d+420>>2]=1;v[d+432>>2]=0;v[d+436>>2]=0;v[d+448>>2]=0;v[d+452>>2]=0;v[d+440>>2]=0;v[d+444>>2]=1072693248;v[d+456>>2]=0;v[d+460>>2]=0;v[d+480>>2]=0;v[d+484>>2]=1076101120;v[d+472>>2]=0;v[d+476>>2]=0;v[d+464>>2]=0;v[d+468>>2]=1072693248;v[d+496>>2]=0;v[d+500>>2]=0;v[d+488>>2]=0;v[d+492>>2]=0;v[d+504>>2]=0;v[d+508>>2]=1072693248;v[d+512>>2]=0;v[d+516>>2]=0;v[d+520>>2]=0;v[d+524>>2]=0;v[d+528>>2]=0;v[d+532>>2]=1072693248;v[d+536>>2]=0;v[d+540>>2]=0;v[d+544>>2]=0;v[d+548>>2]=0;v[d+552>>2]=0;v[d+556>>2]=0;v[d+560>>2]=0;v[d+564>>2]=0;v[d+568>>2]=0;v[d+572>>2]=1072693248;v[d+576>>2]=0;v[d+580>>2]=0;v[d+584>>2]=0;v[d+588>>2]=0;v[d+592>>2]=0;e=fc(40);v[e>>2]=0;d=e;v[d+28>>2]=0;v[d+32>>2]=16;v[d+8>>2]=0;v[d+12>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[299999]=0;d=Q(3364,16,4)|0;f=v[299999];v[299999]=0;if((f|0)!=1){v[e+24>>2]=d;v[a+600>>2]=0;v[a+604>>2]=0;v[a+596>>2]=e;v[a+608>>2]=0;v[a+612>>2]=0;v[a+616>>2]=0;v[a+620>>2]=0;v[a+624>>2]=0;v[a+628>>2]=0;v[a+632>>2]=0;v[a+636>>2]=0;v[a+640>>2]=0;v[a+644>>2]=0;v[a+664>>2]=0;v[a+668>>2]=0;A[a+648>>3]=A[a+96>>3];A[a+656>>3]=A[a+104>>3];return a|0}a=P()|0;O()|0;dc(e);T(a|0);L()}function Bqa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=Qb-16|0;Qb=h;i=jc(40);v[i>>2]=0;v[h+12>>2]=0;v[299999]=0;j=Y(368,1,0,0)|0;e=v[299999];v[299999]=0;f=-1;k=4;a:{b:{c:{if(!e){break c}g=v[3e5];if(!g){break c}f=sc(v[e>>2],i,4);if(!f){break b}_(g|0)}e=O()|0;d:{e:{if((f|0)==1){break e}v[h+8>>2]=j;e=0;if(!v[h+8>>2]){break d}v[v[h+8>>2]+700>>2]=1e6;v[v[h+8>>2]+704>>2]=1e6;v[299999]=0;e=v[h+8>>2];if(e){v[e+156>>2]=24}else{e=0}j=e;e=v[299999];v[299999]=0;f=-1;f:{if(!e){break f}g=v[3e5];if(!g){break f}f=sc(v[e>>2],i,4);if(!f){break b}_(g|0)}e=O()|0;if((f|0)==1){break e}i=Ue(j,1,i,4);k=O()|0;e=0}while(1){if(e){v[299999]=0;dc(i);ba(370);e=v[299999];v[299999]=0;g:{if(!e){break g}g=v[3e5];if(!g){break g}if(!sc(v[e>>2],i,k)){break b}_(g|0)}e=O()|0;continue}v[299999]=0;e=v[h+8>>2];if(e){v[e+676>>2]=0;v[e+672>>2]=0;v[e+668>>2]=0}e=v[299999];v[299999]=0;f=-1;h:{if(!e){break h}g=v[3e5];if(!g){break h}f=sc(v[e>>2],i,k);if(!f){break b}_(g|0)}e=O()|0;if((f|0)==1){continue}v[299999]=0;e=v[h+8>>2];if(e){v[e+164>>2]=d;v[e+160>>2]=c;v[e+168>>2]=b}e=v[299999];v[299999]=0;f=-1;i:{if(!e){break i}g=v[3e5];if(!g){break i}f=sc(v[e>>2],i,k);if(!f){break b}_(g|0)}e=O()|0;if((f|0)==1){continue}v[299999]=0;j=Q(372,v[h+8>>2],a|0)|0;e=v[299999];v[299999]=0;f=-1;j:{if(!e){break j}g=v[3e5];if(!g){break j}f=sc(v[e>>2],i,k);if(!f){break b}_(g|0)}e=O()|0;if((f|0)==1){continue}if(!j){v[h+12>>2]=1}v[v[h+8>>2]+272>>2]=8192;k:{if(v[h+12>>2]){break k}e=v[h+8>>2];j=v[e+272>>2];v[299999]=0;j=Q(373,e|0,j|0)|0;e=v[299999];v[299999]=0;f=-1;l:{if(!e){break l}g=v[3e5];if(!g){break l}f=sc(v[e>>2],i,k);if(!f){break b}_(g|0)}e=O()|0;if((f|0)==1){continue}v[v[h+8>>2]+268>>2]=j;if(v[v[h+8>>2]+268>>2]){break k}v[h+12>>2]=1}e=v[h+8>>2];if(v[h+12>>2]){j=v[v[h+8>>2]+268>>2];v[299999]=0;V(378,e|0,j|0);e=v[299999];v[299999]=0;f=-1;m:{if(!e){break m}g=v[3e5];if(!g){break m}f=sc(v[e>>2],i,k);if(!f){break b}_(g|0)}e=O()|0;if((f|0)==1){continue}v[v[h+8>>2]+268>>2]=0;v[299999]=0;U(379,v[h+8>>2],0,0);e=v[299999];v[299999]=0;f=-1;n:{if(!e){break n}g=v[3e5];if(!g){break n}f=sc(v[e>>2],i,k);if(!f){break b}_(g|0)}e=O()|0;if((f|0)==1){continue}e=0;break d}v[299999]=0;$(78,e|0,0,0,0);e=v[299999];v[299999]=0;f=-1;o:{if(!e){break o}g=v[3e5];if(!g){break o}f=sc(v[e>>2],i,k);if(!f){break b}_(g|0)}e=O()|0;if((f|0)==1){continue}break}e=v[h+8>>2]}dc(i);Qb=h+16|0;break a}dc(i);sd(e,g);L()}return e|0}function w9a(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,n=0,o=0;a:{b:{if(w[a+286|0]|!w[a+285|0]|(w[a+287|0]|w[a+288|0])){break b}if(w[a+289|0]){break b}if(!(1<>>0<=22:0)){pc(a,1028,0,0);return 1028}t[a+287|0]=1;f=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);v[a+316>>2]=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);v[a+320>>2]=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=w[d+8|0];t[a+324|0]=f;g=w[d+9|0];t[a+325|0]=g;i=w[d+10|0];t[a+326|0]=i;j=w[d+11|0];t[a+327|0]=j;h=w[d+12|0];t[a+328|0]=h;if(!(1<>>0<=16:0)){break a}c:{d:{switch(g|0){default:pc(a,1037,0,0);return 1037;case 3:if(f>>>0<9){break c}break a;case 0:break c;case 2:case 4:case 6:break d}}if(f>>>0>7){break c}break a}if(i){pc(a,1038,0,0);return 1038}if(j){pc(a,1039,0,0);return 1039}if(h>>>0>=2){pc(a,1040,0,0);return 1040}v[a+48>>2]=v[a+48>>2]+1;e:{f:{g:{if(c>>>0<14){j=0;f=0;h=65535;break g}f=w[d+17|0]|w[d+18|0]<<8;k=f<<8|f>>>8;f=w[d+15|0]|w[d+16|0]<<8;f=f<<8|f>>>8;g=w[d+13|0]|w[d+14|0]<<8;l=g<<8|g>>>8;j=0;if(c>>>0>=20){break f}h=65535}i=0;g=0;break e}g=w[d+19|0]|w[d+20|0]<<8;h=g<<8|g>>>8;if(c>>>0<22){i=1;g=1;break e}n=w[d+21|0];j=1;i=1;g=1}l=l&65535;o=f&65535;k=k&65535;h=h&65535;h:{if(w[a+114|0]){f=Ub[v[a+152>>2]](40)|0;if(!f){pc(a,1,0,0);f=1;break h}v[f+4>>2]=717;v[f>>2]=718;m=v[a+700>>2];i:{if(m){v[m+8>>2]=f;break i}v[a+696>>2]=f}v[f+8>>2]=0;v[f+12>>2]=m;v[a+700>>2]=f;v[f+16>>2]=v[a+436>>2];v[f+20>>2]=v[a+440>>2];v[f+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=f}t[f+38|0]=n;u[f+36>>1]=h;t[f+34|0]=i;u[f+32>>1]=k;u[f+30>>1]=o;u[f+28>>1]=l}f=h1(a,l,o,k,i,h,n)}j:{if(f){break j}k:{if(!w[a+112|0]){break k}f=Ub[v[b+4>>2]](a,b,e)|0;if(f){break j}a=v[e>>2];b=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);v[a+32>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);v[a+36>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);t[a+40|0]=w[d+8|0];t[a+41|0]=w[d+9|0];t[a+42|0]=w[d+10|0];t[a+43|0]=w[d+11|0];t[a+44|0]=w[d+12|0];if(c>>>0>=14){b=w[d+13|0]|w[d+14|0]<<8;u[a+46>>1]=b<<8|b>>>8;b=w[d+15|0]|w[d+16|0]<<8;u[a+48>>1]=b<<8|b>>>8;b=w[d+17|0]|w[d+18|0]<<8;u[a+50>>1]=b<<8|b>>>8}if(g){b=w[d+19|0]|w[d+20|0]<<8;u[a+52>>1]=b<<8|b>>>8}if(!j){break k}t[a+54|0]=w[d+21|0]}f=0}return f|0}pc(a,1029,0,0);return 1029}pc(a,1036,0,0);return 1036}function zK(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=v[a+604>>2];if((c|0)<1){b=e}else{l=v[a+596>>2]+v[a+600>>2]|0;while(1){f=b+1|0;j=w[b|0];a:{if((c|0)<2){h=1;b=f;c=0;break a}b=b+c|0;h=1;d=c;while(1){d=d-1|0;if(w[f|0]!=(j|0)){b=f;c=d;break a}f=f+1|0;h=h+1|0;if((h|0)!=(c|0)){continue}break}h=c;c=0}d=e;b:{c:{d:{e:{while(1){f:{f=i;g:{h:{i:{j:{if((h|0)==1){while(1){k:{if(d+2>>>0>>0){e=d;break k}l:{m:{if((i&-3)!=1){v[a+608>>2]=v[a+608>>2]+(d-v[a+604>>2]|0);if(Ae(a)){break m}return-1}v[a+608>>2]=v[a+608>>2]+(g-v[a+604>>2]|0);if(!Ae(a)){return-1}e=v[a+604>>2];f=d-g|0;if((f|0)<1){g=e;break k}k=(g^-1)+d|0;d=f&7;if(d){while(1){t[e|0]=w[g|0];e=e+1|0;g=g+1|0;f=f-1|0;d=d-1|0;if(d){continue}break}}if(k>>>0<=6){break l}while(1){t[e|0]=w[g|0];t[e+1|0]=w[g+1|0];t[e+2|0]=w[g+2|0];t[e+3|0]=w[g+3|0];t[e+4|0]=w[g+4|0];t[e+5|0]=w[g+5|0];t[e+6|0]=w[g+6|0];t[e+7|0]=w[g+7|0];e=e+8|0;g=g+8|0;d=(f|0)>8;f=f-8|0;if(d){continue}break}break l}e=v[a+604>>2];break k}g=v[a+604>>2]}if((i|0)!=3){switch(i|0){case 2:break h;case 1:break i;case 0:break j;default:break b}}i=2;d=e;f=e-2|0;if(w[f|0]!=255){continue}e=w[g|0];if(e>>>0>125){continue}e=e+2|0;t[g|0]=e;t[f|0]=w[d-1|0];i=(e&255)!=127;continue}}while(1){i=f;n:{if(e+2>>>0>>0){break n}if((i&-3)==1){v[a+608>>2]=v[a+608>>2]+(g-v[a+604>>2]|0);if(!Ae(a)){return-1}f=v[a+604>>2];d=e-g|0;if((d|0)<1){e=f;g=e;break n}k=(g^-1)+e|0;e=d&7;if(e){while(1){t[f|0]=w[g|0];f=f+1|0;g=g+1|0;d=d-1|0;e=e-1|0;if(e){continue}break}}if(k>>>0>=7){while(1){t[f|0]=w[g|0];t[f+1|0]=w[g+1|0];t[f+2|0]=w[g+2|0];t[f+3|0]=w[g+3|0];t[f+4|0]=w[g+4|0];t[f+5|0]=w[g+5|0];t[f+6|0]=w[g+6|0];t[f+7|0]=w[g+7|0];f=f+8|0;g=g+8|0;e=(d|0)>8;d=d-8|0;if(e){continue}break}}g=v[a+604>>2];e=f;break n}v[a+608>>2]=v[a+608>>2]+(e-v[a+604>>2]|0);if(!Ae(a)){return-1}e=v[a+604>>2]}f=2;if((i|0)==3){continue}break}switch(i|0){case 2:break h;case 1:break i;case 0:break j;default:break b}}if((h|0)<2){break e}i=2;if((h|0)>128){break g}break d}if((h|0)>=2){i=3;if((h|0)>128){break g}t[e|0]=1-h;f=e+2|0;e=e+1|0;break c}d=w[g|0]+1|0;t[g|0]=d;f=e+1|0;i=(d&255)!=127;break c}if((h|0)<2){break e}i=2;if((h|0)<129){break f}}t[e+1|0]=j;t[e|0]=129;h=h-128|0;d=e+2|0;e=d;continue}break}break d}t[e|0]=0;f=e+2|0;i=1;g=e;e=e+1|0;break c}t[e|0]=1-h;f=e+2|0;e=e+1|0}t[e|0]=j;e=f}if((c|0)>0){continue}break}b=v[a+604>>2]}v[a+604>>2]=e;v[a+608>>2]=v[a+608>>2]+(e-b|0);return 1}function zka(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;var j=0;if(f){a=x[a+26>>1];d=B(a,g);c=e>>>0<8;j=h<<2;while(1){g=e;if(!c){while(1){h=w[i+3|0]^255;v[b>>2]=(B(h,w[i+1|0]^255)>>>0)/255<<8|(B(h,w[i|0]^255)>>>0)/255|(B(h,w[i+2|0]^255)>>>0)/255<<16|-16777216;h=a+i|0;i=w[h+3|0]^255;v[b+4>>2]=(B(i,w[h|0]^255)>>>0)/255|(B(i,w[h+1|0]^255)>>>0)/255<<8|(B(i,w[h+2|0]^255)>>>0)/255<<16|-16777216;h=a+h|0;i=w[h+3|0]^255;v[b+8>>2]=(B(i,w[h|0]^255)>>>0)/255|(B(i,w[h+1|0]^255)>>>0)/255<<8|(B(i,w[h+2|0]^255)>>>0)/255<<16|-16777216;h=a+h|0;i=w[h+3|0]^255;v[b+12>>2]=(B(i,w[h|0]^255)>>>0)/255|(B(i,w[h+1|0]^255)>>>0)/255<<8|(B(i,w[h+2|0]^255)>>>0)/255<<16|-16777216;h=a+h|0;i=w[h+3|0]^255;v[b+16>>2]=(B(i,w[h|0]^255)>>>0)/255|(B(i,w[h+1|0]^255)>>>0)/255<<8|(B(i,w[h+2|0]^255)>>>0)/255<<16|-16777216;h=a+h|0;i=w[h+3|0]^255;v[b+20>>2]=(B(i,w[h|0]^255)>>>0)/255|(B(i,w[h+1|0]^255)>>>0)/255<<8|(B(i,w[h+2|0]^255)>>>0)/255<<16|-16777216;h=a+h|0;i=w[h+3|0]^255;v[b+24>>2]=(B(i,w[h|0]^255)>>>0)/255|(B(i,w[h+1|0]^255)>>>0)/255<<8|(B(i,w[h+2|0]^255)>>>0)/255<<16|-16777216;h=a+h|0;i=w[h+3|0]^255;v[b+28>>2]=(B(i,w[h|0]^255)>>>0)/255|(B(i,w[h+1|0]^255)>>>0)/255<<8|(B(i,w[h+2|0]^255)>>>0)/255<<16|-16777216;b=b+32|0;i=a+h|0;g=g-8|0;if(g>>>0>7){continue}break}}f=f-1|0;a:{switch(g-1|0){case 6:g=w[i+3|0]^255;v[b>>2]=(B(g,w[i+1|0]^255)>>>0)/255<<8|(B(g,w[i|0]^255)>>>0)/255|(B(g,w[i+2|0]^255)>>>0)/255<<16|-16777216;i=a+i|0;b=b+4|0;case 5:g=w[i+3|0]^255;v[b>>2]=(B(g,w[i+1|0]^255)>>>0)/255<<8|(B(g,w[i|0]^255)>>>0)/255|(B(g,w[i+2|0]^255)>>>0)/255<<16|-16777216;i=a+i|0;b=b+4|0;case 4:g=w[i+3|0]^255;v[b>>2]=(B(g,w[i+1|0]^255)>>>0)/255<<8|(B(g,w[i|0]^255)>>>0)/255|(B(g,w[i+2|0]^255)>>>0)/255<<16|-16777216;i=a+i|0;b=b+4|0;case 3:g=w[i+3|0]^255;v[b>>2]=(B(g,w[i+1|0]^255)>>>0)/255<<8|(B(g,w[i|0]^255)>>>0)/255|(B(g,w[i+2|0]^255)>>>0)/255<<16|-16777216;i=a+i|0;b=b+4|0;case 2:g=w[i+3|0]^255;v[b>>2]=(B(g,w[i+1|0]^255)>>>0)/255<<8|(B(g,w[i|0]^255)>>>0)/255|(B(g,w[i+2|0]^255)>>>0)/255<<16|-16777216;i=a+i|0;b=b+4|0;case 1:g=w[i+3|0]^255;v[b>>2]=(B(g,w[i+1|0]^255)>>>0)/255<<8|(B(g,w[i|0]^255)>>>0)/255|(B(g,w[i+2|0]^255)>>>0)/255<<16|-16777216;i=a+i|0;b=b+4|0;case 0:g=w[i+3|0]^255;v[b>>2]=(B(g,w[i+1|0]^255)>>>0)/255<<8|(B(g,w[i|0]^255)>>>0)/255|(B(g,w[i+2|0]^255)>>>0)/255<<16|-16777216;i=a+i|0;b=b+4|0;break;default:break a}}i=d+i|0;b=b+j|0;if(f){continue}break}}}function OF(a,b,c){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,p=0,q=0,r=0;a:{if(!b|(!a|v[a+4>>2]!=1)){break a}d=v[a+44>>2];b:{if(!d){break b}if(!c){while(1){c:{if(v[d+36>>2]){break c}e=v[d+8>>2];if((e|0)==(b|0)){return d}f=b;if(!e){break c}while(1){g=w[e|0];if((g|0)!=w[f|0]){break c}f=f+1|0;e=e+1|0;if(g){continue}break}return d}d=v[d+24>>2];if(d){continue}break b}}while(1){d:{l=v[d+36>>2];if(!l){break d}e=v[d+8>>2];if((e|0)!=(b|0)){f=b;if(!e){break d}while(1){g=w[e|0];if((g|0)!=w[f|0]){break d}f=f+1|0;e=e+1|0;if(g){continue}break}}e=v[l+8>>2];if((e|0)==(c|0)){return d}f=c;if(!e){break d}while(1){g=w[e|0];if((g|0)!=w[f|0]){break d}f=f+1|0;e=e+1|0;if(g){continue}break}return d}d=v[d+24>>2];if(d){continue}break}}e:{n=v[a+32>>2];f:{if(!n|!v[n+44>>2]){break f}g:{h:{f=v[a+36>>2];if(!f){break h}f=v[f+12>>2];if(!f){break h}m=po(po(we(f),322829),v[a+8>>2]);q=m;if(m){break g}break a}m=v[a+8>>2]}i:{if(!c){h=ko(v[n+44>>2],m,b,0);if(h){break i}h=0;a=v[n+48>>2];if(!a){break i}h=ko(a,m,b,0);break i}d=0;r=Qb-16|0;Qb=r;g=0;j:{if(!a){break j}i=v[a+4>>2];g=0;if((i|0)==18){break j}p=10;while(1){k:{l:{if((i|0)!=1){break l}o=v[a+48>>2];if(!o){break l}while(1){if(!d){d=Ub[v[259704]]((p<<2)+4|0)|0;if(!d){break k}v[(j<<2)+d>>2]=0}m:{n:{if((j|0)<1){break n}l=1;k=0;g=v[o+12>>2];if(!g){while(1){if(!v[v[(k<<2)+d>>2]+12>>2]){break m}k=k+1|0;if((k|0)!=(j|0)){continue}break n}}while(1){i=v[v[(k<<2)+d>>2]+12>>2];if((g|0)==(i|0)){break m}f=g;o:{if(!i){break o}while(1){e=w[f|0];if((e|0)!=w[i|0]){break o}i=i+1|0;f=f+1|0;if(e){continue}break}if(!l){break n}break m}k=k+1|0;l=(k|0)<(j|0);if((j|0)!=(k|0)){continue}break}}if((j|0)>=(p|0)){d=Ub[v[259709]](d,p<<3|4)|0;if(!d){break k}p=p<<1}v[(j<<2)+d>>2]=o;j=j+1|0;v[(j<<2)+d>>2]=0}o=v[o>>2];if(o){continue}break}}a=v[a+20>>2];g=d;if(!a){break j}i=v[a+4>>2];continue}break}v[r>>2]=227135;oc(0,0,0,0,0,2,2,3,227135,0,0,0,350051,r);g=0}Qb=r+16|0;if(!g){break e}a=v[g>>2];p:{if(!a){break p}e=g;while(1){d=e;e=v[a+8>>2];q:{if((e|0)!=(c|0)){f=c;if(!e){break q}while(1){l=w[e|0];if((l|0)!=w[f|0]){break q}f=f+1|0;e=e+1|0;if(l){continue}break}}h=ko(v[n+44>>2],m,b,v[a+12>>2]);if(h){break p}a=v[n+48>>2];if(!a){break q}h=ko(a,m,b,v[v[d>>2]+12>>2]);if(h){break p}}e=d+4|0;a=v[d+4>>2];if(a){continue}break}h=0}Ub[v[259708]](g)}if(q){Ub[v[259708]](q)}if(!h){break f}if(v[h+48>>2]){break a}}return 0}if(!q){break a}Ub[v[259708]](q)}return h}function qd(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;a:{if(w[a+28|0]){o=v[a+24>>2];e=o&10;q=v[a+12>>2];f=v[a+8>>2];g=v[a>>2];k=((q|0)<(d|0))<<1|(f|0)<(c|0)|((g|0)>(c|0))<<2;r=v[a+4>>2];i=k|((r|0)>(d|0))<<3;if(!(!e|(e|0)!=(i&10))){v[a+24>>2]=i;break a}e=v[a+20>>2];j=v[a+16>>2];b:{switch(o<<1&10|k&5){case 0:oi(a,b,j,e,c,d,o,i);v[a+24>>2]=i;break a;case 1:g=a;k=b;n=j;l=e;m=f;h=+(d-e|0)*+(f-j|0)/+(c-j|0);h=h+(h<0?-.5:.5);c:{if(D(h)<2147483648){f=~~h;break c}f=-2147483648}e=f+e|0;f=((e|0)<(r|0))<<3|((e|0)>(q|0))<<1;oi(g,k,n,l,m,e,o,f);g=b;b=v[a+8>>2];oi(a,g,b,e,b,d,f,i);v[a+24>>2]=i;break a;case 2:g=a;k=b;n=f;l=e;m=f;h=+(d-e|0)*+(f-j|0)/+(c-j|0);h=h+(h<0?-.5:.5);d:{if(D(h)<2147483648){f=~~h;break d}f=-2147483648}e=f+e|0;f=((e|0)<(r|0))<<3|((e|0)>(q|0))<<1;oi(g,k,n,l,m,e,o,f);oi(a,b,v[a+8>>2],e,c,d,f,i);v[a+24>>2]=i;break a;case 3:oi(a,b,f,e,f,d,o,i);v[a+24>>2]=i;break a;case 4:f=a;k=b;n=j;l=e;m=g;h=+(d-e|0)*+(g-j|0)/+(c-j|0);h=h+(h<0?-.5:.5);e:{if(D(h)<2147483648){g=~~h;break e}g=-2147483648}e=g+e|0;g=((e|0)<(r|0))<<3|((e|0)>(q|0))<<1;oi(f,k,n,l,m,e,o,g);f=b;b=v[a>>2];oi(a,f,b,e,b,d,g,i);v[a+24>>2]=i;break a;case 6:k=a;n=b;l=f;m=e;u=f;h=+(d-e|0);s=+(c-j|0);p=h*+(f-j|0)/s;p=p+(p<0?-.5:.5);f:{if(D(p)<2147483648){f=~~p;break f}f=-2147483648}f=f+e|0;t=((f|0)<(r|0))<<3|((f|0)>(q|0))<<1;oi(k,n,l,m,u,f,o,t);l=v[a+8>>2];m=v[a>>2];h=h*+(g-j|0)/s;h=h+(h<0?-.5:.5);g:{if(D(h)<2147483648){g=~~h;break g}g=-2147483648}e=g+e|0;g=((e|0)<(r|0))<<3|((e|0)>(q|0))<<1;oi(k,n,l,f,m,e,t,g);f=b;b=v[a>>2];oi(a,f,b,e,b,d,g,i);v[a+24>>2]=i;break a;case 8:f=a;k=b;n=g;l=e;m=g;h=+(d-e|0)*+(g-j|0)/+(c-j|0);h=h+(h<0?-.5:.5);h:{if(D(h)<2147483648){g=~~h;break h}g=-2147483648}e=g+e|0;g=((e|0)<(r|0))<<3|((e|0)>(q|0))<<1;oi(f,k,n,l,m,e,o,g);oi(a,b,v[a>>2],e,c,d,g,i);v[a+24>>2]=i;break a;case 9:k=a;n=b;l=g;m=e;u=g;h=+(d-e|0);s=+(c-j|0);p=h*+(g-j|0)/s;p=p+(p<0?-.5:.5);i:{if(D(p)<2147483648){g=~~p;break i}g=-2147483648}g=g+e|0;t=((g|0)<(r|0))<<3|((g|0)>(q|0))<<1;oi(k,n,l,m,u,g,o,t);l=v[a>>2];m=v[a+8>>2];h=h*+(f-j|0)/s;h=h+(h<0?-.5:.5);j:{if(D(h)<2147483648){f=~~h;break j}f=-2147483648}e=f+e|0;f=((e|0)<(r|0))<<3|((e|0)>(q|0))<<1;oi(k,n,l,g,m,e,t,f);g=b;b=v[a+8>>2];oi(a,g,b,e,b,d,f,i);v[a+24>>2]=i;break a;case 12:oi(a,b,g,e,g,d,o,i);break;default:break b}}v[a+24>>2]=i;break a}mv(b,v[a+16>>2],v[a+20>>2],c,d)}v[a+20>>2]=d;v[a+16>>2]=c}function ifb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=v[a+572>>2];c=v[a+664>>2];a:{if((b|0)<(c|0)|(b|0)>=v[a+668>>2]){break a}d=Ub[v[a+220>>2]](a,v[a+680>>2]+(b-c|0)|0)|0;c=v[a+580>>2];b=(d+(c<<2)|0)+(v[a+672>>2]<<2)|0;e=v[a+656>>2];d=(e|0)/v[a+584>>2]|0;f=v[a+644>>2];if(!w[a+648|0]){e=c+e|0;c=f+(d<<2)|0;d=v[a+660>>2];if(w[a+649|0]){if((d|0)<=(e|0)){break a}while(1){b:{c:{d=w[c+3|0];if((d|0)!=255){if(d){break c}v[b>>2]=0;break b}t[b|0]=255;t[b+1|0]=w[c|0];t[b+2|0]=w[c+1|0];t[b+3|0]=w[c+2|0];break b}t[b|0]=d;t[b+1|0]=((B(d,w[c|0])+127&65535)>>>0)/255;t[b+2|0]=((B(d,w[c+1|0])+127&65535)>>>0)/255;t[b+3|0]=((B(d,w[c+2|0])+127&65535)>>>0)/255}c=c+4|0;d=v[a+584>>2];b=(d<<2)+b|0;e=d+e|0;if((e|0)>2]){continue}break}break a}if((d|0)<=(e|0)){break a}while(1){d=w[c+3|0];d:{if(!d){break d}if((d|0)==255){t[b|0]=255;t[b+1|0]=w[c|0];t[b+2|0]=w[c+1|0];t[b+3|0]=w[c+2|0];break d}f=d^255;t[b|0]=(B(f,w[b|0]^255)+127>>>0)/255^-1;t[b+1|0]=((B(d,w[c|0])+B(f,w[b+1|0])|0)+127>>>0)/255;t[b+2|0]=((B(d,w[c+1|0])+B(f,w[b+2|0])|0)+127>>>0)/255;t[b+3|0]=((B(d,w[c+2|0])+B(f,w[b+3|0])|0)+127>>>0)/255}c=c+4|0;d=v[a+584>>2];b=(d<<2)+b|0;e=d+e|0;if((e|0)>2]){continue}break}break a}e=c+e|0;c=f+(d<<3)|0;d=v[a+660>>2];if(w[a+649|0]){if((d|0)<=(e|0)){break a}while(1){e:{f:{d=w[c+6|0];if((d|0)!=255){if(d){break f}v[b>>2]=0;break e}t[b|0]=255;t[b+1|0]=w[c|0];t[b+2|0]=w[c+2|0];t[b+3|0]=w[c+4|0];break e}t[b|0]=d;t[b+1|0]=((B(d,w[c|0])+127&65535)>>>0)/255;t[b+2|0]=((B(d,w[c+2|0])+127&65535)>>>0)/255;t[b+3|0]=((B(d,w[c+4|0])+127&65535)>>>0)/255}c=c+8|0;d=v[a+584>>2];b=(d<<2)+b|0;e=d+e|0;if((e|0)>2]){continue}break}break a}if((d|0)<=(e|0)){break a}while(1){d=w[c+6|0];g:{if(!d){break g}if((d|0)==255){t[b|0]=255;t[b+1|0]=w[c|0];t[b+2|0]=w[c+2|0];t[b+3|0]=w[c+4|0];break g}f=d^255;t[b|0]=(B(f,w[b|0]^255)+127>>>0)/255^-1;t[b+1|0]=((B(d,w[c|0])+B(f,w[b+1|0])|0)+127>>>0)/255;t[b+2|0]=((B(d,w[c+2|0])+B(f,w[b+2|0])|0)+127>>>0)/255;t[b+3|0]=((B(d,w[c+4|0])+B(f,w[b+3|0])|0)+127>>>0)/255}c=c+8|0;d=v[a+584>>2];b=(d<<2)+b|0;e=d+e|0;if((e|0)>2]){continue}break}}b=v[a+680>>2]+v[a+572>>2]|0;e=v[a+664>>2];c=v[a+556>>2];d=v[a+672>>2];h:{if((d|0)>=v[a+552>>2]){if(c){break h}c=0}v[a+552>>2]=d}d=c;c=v[a+676>>2];if((d|0)<(c|0)){v[a+556>>2]=c}c=v[a+564>>2];b=b-e|0;i:{if((b|0)>=v[a+560>>2]){if(c){break i}c=0}v[a+560>>2]=b}if((b|0)>=(c|0)){v[a+564>>2]=b+1}return 0}function bfb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=v[a+572>>2];c=v[a+664>>2];a:{if((b|0)<(c|0)|(b|0)>=v[a+668>>2]){break a}d=Ub[v[a+220>>2]](a,v[a+680>>2]+(b-c|0)|0)|0;c=v[a+580>>2];b=(d+(c<<2)|0)+(v[a+672>>2]<<2)|0;e=v[a+656>>2];d=(e|0)/v[a+584>>2]|0;f=v[a+644>>2];if(!w[a+648|0]){e=c+e|0;c=f+(d<<2)|0;d=v[a+660>>2];if(w[a+649|0]){if((d|0)<=(e|0)){break a}while(1){b:{c:{d=w[c+3|0];if((d|0)!=255){if(d){break c}v[b>>2]=0;break b}t[b|0]=255;t[b+1|0]=w[c+2|0];t[b+2|0]=w[c+1|0];t[b+3|0]=w[c|0];break b}t[b|0]=d;t[b+1|0]=((B(d,w[c+2|0])+127&65535)>>>0)/255;t[b+2|0]=((B(d,w[c+1|0])+127&65535)>>>0)/255;t[b+3|0]=((B(d,w[c|0])+127&65535)>>>0)/255}c=c+4|0;d=v[a+584>>2];b=(d<<2)+b|0;e=d+e|0;if((e|0)>2]){continue}break}break a}if((d|0)<=(e|0)){break a}while(1){d=w[c+3|0];d:{if(!d){break d}if((d|0)==255){t[b|0]=255;t[b+1|0]=w[c+2|0];t[b+2|0]=w[c+1|0];t[b+3|0]=w[c|0];break d}f=d^255;t[b|0]=(B(f,w[b|0]^255)+127>>>0)/255^-1;t[b+1|0]=((B(d,w[c+2|0])+B(f,w[b+1|0])|0)+127>>>0)/255;t[b+2|0]=((B(d,w[c+1|0])+B(f,w[b+2|0])|0)+127>>>0)/255;t[b+3|0]=((B(d,w[c|0])+B(f,w[b+3|0])|0)+127>>>0)/255}c=c+4|0;d=v[a+584>>2];b=(d<<2)+b|0;e=d+e|0;if((e|0)>2]){continue}break}break a}e=c+e|0;c=f+(d<<3)|0;d=v[a+660>>2];if(w[a+649|0]){if((d|0)<=(e|0)){break a}while(1){e:{f:{d=w[c+6|0];if((d|0)!=255){if(d){break f}v[b>>2]=0;break e}t[b|0]=255;t[b+1|0]=w[c+4|0];t[b+2|0]=w[c+2|0];t[b+3|0]=w[c|0];break e}t[b|0]=d;t[b+1|0]=((B(d,w[c+4|0])+127&65535)>>>0)/255;t[b+2|0]=((B(d,w[c+2|0])+127&65535)>>>0)/255;t[b+3|0]=((B(d,w[c|0])+127&65535)>>>0)/255}c=c+8|0;d=v[a+584>>2];b=(d<<2)+b|0;e=d+e|0;if((e|0)>2]){continue}break}break a}if((d|0)<=(e|0)){break a}while(1){d=w[c+6|0];g:{if(!d){break g}if((d|0)==255){t[b|0]=255;t[b+1|0]=w[c+4|0];t[b+2|0]=w[c+2|0];t[b+3|0]=w[c|0];break g}f=d^255;t[b|0]=(B(f,w[b|0]^255)+127>>>0)/255^-1;t[b+1|0]=((B(d,w[c+4|0])+B(f,w[b+1|0])|0)+127>>>0)/255;t[b+2|0]=((B(d,w[c+2|0])+B(f,w[b+2|0])|0)+127>>>0)/255;t[b+3|0]=((B(d,w[c|0])+B(f,w[b+3|0])|0)+127>>>0)/255}c=c+8|0;d=v[a+584>>2];b=(d<<2)+b|0;e=d+e|0;if((e|0)>2]){continue}break}}b=v[a+680>>2]+v[a+572>>2]|0;e=v[a+664>>2];c=v[a+556>>2];d=v[a+672>>2];h:{if((d|0)>=v[a+552>>2]){if(c){break h}c=0}v[a+552>>2]=d}d=c;c=v[a+676>>2];if((d|0)<(c|0)){v[a+556>>2]=c}c=v[a+564>>2];b=b-e|0;i:{if((b|0)>=v[a+560>>2]){if(c){break i}c=0}v[a+560>>2]=b}if((b|0)>=(c|0)){v[a+564>>2]=b+1}return 0}function xG(a,b){a=a|0;b=b|0;var 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;h=v[a+4>>2];if(v[h+48>>2]<=7){yG(a,b);return}i=v[a+12>>2];c=v[a+8>>2];m=i-c|0;if(v[h+44>>2]?1:m){g=v[a+16>>2];d=v[a+20>>2];if(g>>>0>=d>>>0){v[b>>2]=15;return}k=1;l=d-g>>1;f=v[a+24>>2];a:{b:{c:{d:{e:{f:{g:{h:{d=v[h+44>>2];if(d){v[h+44>>2]=0;t[h+36|0]=1;t[h+37|0]=d;break h}k=w[h+36|0];if(k){break h}k=0;i=m;d=c;break g}e=k<<24>>24;n=4-e|0;o=((e+i|0)-c|0)-4|0;k=0;i=m;i:{j:{while(1){t[(e+h|0)+37|0]=w[c|0];i=i-1|0;k=k+1|0;d=c+1|0;k:{l:{switch(e-1|0){case 0:j=w[h+37|0]|w[h+38|0]<<8;if((j&63488)!=55296){u[g>>1]=j;e=0;g=g+2|0;l=l-1|0;if(f){v[f>>2]=-1;f=f+4|0}else{f=0}break j}if(!(j&1024)){break k}e=2;break i;case 2:break l;default:break k}}i=w[h+40|0];if((i&252)==220){c=w[h+39|0]|i<<8;u[g>>1]=w[h+37|0]|w[h+38|0]<<8;if(l>>>0>=2){u[g+2>>1]=c;e=0;g=g+4|0;l=l-2|0;k=n;i=o;if(f){v[f>>2]=-1;v[f+4>>2]=-1;f=f+8|0}else{f=0}break j}g=g+2|0;t[h+65|0]=1;u[h+116>>1]=c;v[b>>2]=15;l=0;k=n;i=o;e=0;break j}v[b>>2]=12;if((v[a+8>>2]-d|0)<2){break f}c=c-1|0;break e}e=e+1|0;c=d;if(i){continue}break}i=0;k=m}j=0}t[h+36|0]=e}if(!j){break d}c=d;break c}v[h+44>>2]=w[h+39|0]|256}t[h+36|0]=2;v[a+24>>2]=f;v[a+16>>2]=g;v[a+8>>2]=c;return}c=l<<1;c=c>>>0>i>>>0?i&-2:c;if(!c){c=d;break c}i=i-c|0;e=c>>>1|0;l=l-e|0;m:{n:{if(!f){while(1){c=d+2|0;j=w[d|0]|w[d+1|0]<<8;o:{if((j&63488)!=55296){u[g>>1]=j;break o}f=0;if(j&1024|e>>>0<2){break n}f=w[d+3|0];if((f&252)!=220){f=0;break m}c=w[d+2|0];u[g>>1]=j;u[g+2>>1]=c|f<<8;g=g+2|0;e=e-1|0;c=d+4|0}d=c;g=g+2|0;e=e-1|0;if(e){continue}break}e=0;break a}while(1){c=d+2|0;j=w[d|0]|w[d+1|0]<<8;p:{if((j&63488)!=55296){u[g>>1]=j;d=2;break p}if(j&1024|e>>>0<2){break n}m=w[d+3|0];if((m&252)!=220){break m}c=w[d+2|0];u[g>>1]=j;u[g+2>>1]=c|m<<8;v[f>>2]=k;f=f+4|0;g=g+2|0;e=e-1|0;c=d+4|0;d=4}j=d;d=c;v[f>>2]=k;g=g+2|0;f=f+4|0;k=j+k|0;e=e-1|0;if(e){continue}break}e=f;break a}if(!e){break b}}l=e+l|0;i=((e<<1)+i|0)-2|0}if(!j){break b}t[h+36|0]=2;t[h+37|0]=j;t[h+38|0]=j>>>8;m=12;q:{if(j&1024){e=f;break q}if(i>>>0<2){break b}d=w[c+1|0];if((d&252)!=220){e=f;i=1;break q}d=w[c|0]|d<<8;u[g>>1]=j;e=0;if(f){v[f>>2]=k;e=f+4|0}g=g+2|0;i=i-2|0;t[h+65|0]=1;u[h+116>>1]=d;t[h+36|0]=0;m=15;c=c+2|0}d=c;v[b>>2]=m;break a}e=f;d=c}r:{if(!i|v[b>>2]>0){break r}if(!l){v[b>>2]=15;break r}c=w[d|0];b=t[h+36|0];t[h+36|0]=b+1;t[(b+h|0)+37|0]=c;d=d+1|0}v[a+24>>2]=e;v[a+16>>2]=g;v[a+8>>2]=d}}function oJa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;f=Qb-48|0;Qb=f;a:{if(!a){break a}b:{if(v[a+32>>2]){g=a+8|0;b=v[a+8>>2];if(!b){b=Ub[v[259704]](96)|0;if(!b){v[f+32>>2]=354108;oc(0,0,0,0,0,1,2,3,354108,0,0,0,350051,f+32|0);v[a+84>>2]=2;v[a+8>>2]=0;b=v[a>>2];if(!(!b|v[b+108>>2]!=-554844497)){c=v[b+124>>2]}b=v[a+108>>2];e=v[a+112>>2];v[f+20>>2]=0;v[f+16>>2]=347702;oc(c,e,b,a,0,1,2,2,347702,0,0,0,228864,f+16|0);v[a+212>>2]=1;v[a+172>>2]=-1;v[a+84>>2]=2;break a}ic(b+16|0,0,76);v[b>>2]=0;v[b+4>>2]=13;v[b+44>>2]=0;v[b+56>>2]=0;v[b+60>>2]=0;v[b+48>>2]=0;v[b+52>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b+64>>2]=0;v[b+68>>2]=0;v[b+36>>2]=0;v[b+40>>2]=1;v[b+92>>2]=160;v[b+76>>2]=1;v[b+32>>2]=b;v[a+8>>2]=b}v[b+92>>2]=128;v[b+88>>2]=v[a+360>>2];break b}d=qo(v[a+20>>2]);v[a+8>>2]=d;if(d){v[d+92>>2]=v[a+360>>2]>>>15&4;v[d+88>>2]=v[a+360>>2];c=v[a+24>>2];c:{if(!c){break c}b=c;while(1){e=b;b=b+1|0;if(w[e|0]){continue}break}b=0;e=e-c|0;if((e|0)<0){break c}g=Ub[v[259707]](e+1|0)|0;if(!g){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break c}b=gc(g,c,e);t[e+b|0]=0}g=a+8|0;v[d+60>>2]=b;v[d+40>>2]=v[a+28>>2];if(!v[a+364>>2]){break b}b=v[a+296>>2];v[d+80>>2]=b;if(!w[1176924]){c=jc(4);v[294232]=c;if(!c){break b}t[1176924]=1}if(!b){break b}v[b>>2]=v[b>>2]+1;break b}v[a+84>>2]=2;c=v[a>>2];b=0;d:{if(!c){break d}b=0;if(v[c+108>>2]!=-554844497){break d}b=v[c+124>>2]}c=v[a+108>>2];e=v[a+112>>2];v[f+4>>2]=0;v[f>>2]=347702;oc(b,e,c,a,0,1,2,2,347702,0,0,0,228864,f);v[a+212>>2]=1;v[a+172>>2]=-1;v[a+84>>2]=2;break a}b=v[g>>2];if(!b|v[b+72>>2]){break a}b=v[a+36>>2];if(!b){break a}c=v[b+4>>2];if(!c){break a}b=0;d=Qb+-64|0;Qb=d;e:{if(!c){break e}f:{b=Ub[v[259704]](44)|0;if(!b){v[d>>2]=352260;oc(0,0,0,0,0,30,2,3,352260,0,0,0,350051,d);break f}v[b>>2]=0;v[b+4>>2]=0;v[b+40>>2]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;e=bs(b,c);pj(b);if(e){break f}b=c;while(1){e=b;b=b+1|0;if(w[e|0]){continue}break}b=0;e=e-c|0;if((e|0)<0){break e}h=Ub[v[259707]](e+1|0)|0;if(!h){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break e}b=gc(h,c,e);t[e+b|0]=0;break e}c=Ou(c);if(!c){b=0;break e}v[d+40>>2]=0;v[d+44>>2]=0;v[d+56>>2]=0;v[d+48>>2]=0;v[d+52>>2]=0;v[d+32>>2]=0;v[d+36>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+40>>2]=c;v[d+16>>2]=0;v[d+20>>2]=0;b=no(d+16|0);Ub[v[259708]](c)}Qb=d- -64|0;v[v[g>>2]+72>>2]=b;if(b){break a}Jj(a,228864)}Qb=f+48|0}function Tj(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0,y=0,z=0,A=0;a:{b:{c:{switch(d-4|0){case 4:d=0;if((b|0)>=32){o=b-32>>>5|0;q=o+1|0;while(1){d=g<<2;f=v[(d|28)+c>>2];h=v[(d|24)+c>>2];i=v[(d|20)+c>>2];k=v[(d|16)+c>>2];l=v[(d|12)+c>>2];m=v[(d|8)+c>>2];n=v[(d|4)+c>>2];d=v[c+d>>2];v[(j<<2)+a>>2]=(f>>>24|0)-e>>>28&8|((h>>>24|0)-e>>>28&8|((i>>>24|0)-e>>>28&8|((k>>>24|0)-e>>>28&8|((l>>>24|0)-e>>>28&8|((m>>>24|0)-e>>>28&8|((n>>>24|0)-e>>>28&8|((d>>>24|0)-e>>>28&8|(d>>>16&255)-e>>>29&4|(d>>>8&255)-e>>>30&2|(d&255)<(e|0))<<4|(n>>>16&255)-e>>>29&4|(n>>>8&255)-e>>>30&2|(n&255)<(e|0))<<4|(m>>>16&255)-e>>>29&4|(m>>>8&255)-e>>>30&2|(m&255)<(e|0))<<4|(l>>>16&255)-e>>>29&4|(l>>>8&255)-e>>>30&2|(l&255)<(e|0))<<4|(k>>>16&255)-e>>>29&4|(k>>>8&255)-e>>>30&2|(k&255)<(e|0))<<4|(i>>>16&255)-e>>>29&4|(i>>>8&255)-e>>>30&2|(i&255)<(e|0))<<4|(h>>>16&255)-e>>>29&4|(h>>>8&255)-e>>>30&2|(h&255)<(e|0))<<4|(f>>>16&255)-e>>>29&4|(f>>>8&255)-e>>>30&2|(f&255)<(e|0);g=g+8|0;d=(j|0)!=(o|0);j=j+1|0;if(d){continue}break}d=b&-32}if((b|0)<=(d|0)){break a}while(1){if(!(d&3)){f=v[(g<<2)+c>>2];g=g+1|0}p=((f>>>24|0)<(e|0))<<(d^-1)|p;f=f<<8;d=d+1|0;if((d|0)!=(b|0)){continue}break};break b;case 0:break c;default:break a}}if((b|0)>=32){i=b-32>>>5|0;q=i+1|0;while(1){h=g<<2;d=v[(h|12)+c>>2];f=v[(h|8)+c>>2];k=(f>>>4&15)-e>>>30&2|(f&15)<(e|0);l=(f>>>8&15)-e>>>29&4;m=(f>>>12&15)-e>>>28&8;n=(f>>>16&15)-e>>>27&16;o=(f>>>20&15)-e>>>26&32;r=(f>>>24&15)-e>>>25&64;s=(f>>>28|0)-e>>>24&128;f=v[(h|4)+c>>2];t=(f>>>4&15)-e>>>30&2|(f&15)<(e|0);u=(f>>>8&15)-e>>>29&4;w=(f>>>12&15)-e>>>28&8;x=(f>>>16&15)-e>>>27&16;y=(f>>>20&15)-e>>>26&32;z=(f>>>24&15)-e>>>25&64;A=(f>>>28|0)-e>>>24&128;f=v[c+h>>2];v[(j<<2)+a>>2]=(d>>>4&15)-e>>>30&2|(d&15)<(e|0)|((d>>>8&15)-e>>>29&4|((d>>>12&15)-e>>>28&8|((d>>>16&15)-e>>>27&16|((d>>>20&15)-e>>>26&32|((d>>>24&15)-e>>>25&64|((d>>>28|0)-e>>>24&128|(k|(l|(m|(n|(o|(r|(s|(t|(u|(w|(x|(y|(z|(A|((f>>>4&15)-e>>>30&2|(f&15)<(e|0)|((f>>>8&15)-e>>>29&4|((f>>>12&15)-e>>>28&8|((f>>>16&15)-e>>>27&16|((f>>>20&15)-e>>>26&32|((f>>>28|0)-e>>>24&128|(f>>>24&15)-e>>>25&64))))))<<8)))))))<<8)))))))<<8))))));g=g+4|0;f=(j|0)!=(i|0);j=j+1|0;if(f){continue}break}f=b&-32}if((b|0)<=(f|0)){break a}while(1){if(!(f&7)){d=v[(g<<2)+c>>2];g=g+1|0}p=((d>>>28|0)<(e|0))<<(f^-1)|p;d=d<<4;f=f+1|0;if((f|0)!=(b|0)){continue}break}}v[(q<<2)+a>>2]=p}}function re(a,b){var c=0,d=0,e=0,f=0,g=0;c=Qb-16|0;Qb=c;a:{b:{switch(b-3|0){case 0:u[c>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c,1,2)|0;b=w[c|0];if(x[a+25204>>1]==18761){a=b|w[c+1|0]<<8}else{a=w[c+1|0]|b<<8}d=+((a&65535)>>>0);break a;case 1:v[c>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c,1,4)|0;b=w[c|0];d=+((b|w[c+1|0]<<8|w[c+2|0]<<16|w[c+3|0]<<24)>>>0);if(x[a+25204>>1]==18761){break a}d=+((w[c+3|0]|(w[c+1|0]<<16|b<<24|w[c+2|0]<<8))>>>0);break a;case 2:v[c>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c,1,4)|0;b=w[c|0];if(x[a+25204>>1]==18761){b=b|w[c+1|0]<<8|w[c+2|0]<<16|w[c+3|0]<<24}else{b=w[c+3|0]|(w[c+1|0]<<16|b<<24|w[c+2|0]<<8)}v[c>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c,1,4)|0;e=w[c|0];d=+(b>>>0);if(x[a+25204>>1]==18761){a=e|w[c+1|0]<<8|w[c+2|0]<<16|w[c+3|0]<<24}else{a=w[c+3|0]|(w[c+1|0]<<16|e<<24|w[c+2|0]<<8)}d=d/+(a>>>0);break a;case 5:u[c>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c,1,2)|0;b=w[c|0];if(x[a+25204>>1]==18761){a=b|w[c+1|0]<<8}else{a=w[c+1|0]|b<<8}d=+(a<<16>>16);break a;case 6:v[c>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c,1,4)|0;b=w[c|0];d=+(b|w[c+1|0]<<8|w[c+2|0]<<16|w[c+3|0]<<24);if(x[a+25204>>1]==18761){break a}d=+(w[c+3|0]|(w[c+1|0]<<16|b<<24|w[c+2|0]<<8));break a;case 7:v[c+12>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,4)|0;e=w[c+12|0];b=c;if(x[a+25204>>1]==18761){e=e|w[c+13|0]<<8|w[c+14|0]<<16|w[c+15|0]<<24}else{e=w[c+15|0]|(w[c+13|0]<<16|e<<24|w[c+14|0]<<8)}d=+(e|0);A[b>>3]=d;v[c+12>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+12|0,1,4)|0;b=w[c+12|0];if(x[a+25204>>1]==18761){a=b|w[c+13|0]<<8|w[c+14|0]<<16|w[c+15|0]<<24}else{a=w[c+15|0]|(w[c+13|0]<<16|b<<24|w[c+14|0]<<8)}d=d/+(a|0);break a;case 8:v[c>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c,1,4)|0;b=w[c|0];if(x[a+25204>>1]==18761){a=b|w[c+1|0]<<8|w[c+2|0]<<16|w[c+3|0]<<24}else{a=w[c+3|0]|(w[c+1|0]<<16|b<<24|w[c+2|0]<<8)}d=+(l(2,a),p());break a;case 9:b=x[a+25204>>1]!=18761?7:0;f=b|c,g=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[f|0]=g;f=b^1|c,g=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[f|0]=g;f=b^2|c,g=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[f|0]=g;f=b^3|c,g=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[f|0]=g;f=b^4|c,g=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[f|0]=g;f=b^5|c,g=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[f|0]=g;f=b^6|c,g=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[f|0]=g;f=b^7|c,g=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0,t[f|0]=g;d=A[c>>3];break a;default:break b}}d=+(Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0)}Qb=c+16|0;return d}function AGa(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;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,y=0;c=Qb-144|0;Qb=c;a:{b:{c:{d:{e:{if(w[a+208|0]){break e}h=v[b+116>>2];if(Ub[v[v[h>>2]+40>>2]](h)|0){break e}h=B(e,f)<<2;if((h|0)<1){break e}q=A[b+104>>3];o=fc(h);k=c+112|0;h=k;v[h+12>>2]=0;v[h+16>>2]=0;v[h+4>>2]=1;v[h+8>>2]=8;v[h>>2]=466676;v[h+20>>2]=0;v[h+24>>2]=0;t[h+28|0]=0;v[c+48>>2]=e;v[c+96>>2]=f;v[299999]=0;v[c+40>>2]=0-(e<<2);gn(h,o,c+48|0,c+96|0,c+40|0);h=v[299999];v[299999]=0;f:{g:{h:{i:{j:{if((h|0)!=1){v[299999]=0;n=S(1,36)|0;h=v[299999];v[299999]=0;if((h|0)==1){break j}v[299999]=0;i=ca(3160,n|0,d|0,e|0,1,1)|0;d=v[299999];v[299999]=0;if((d|0)==1){break i}v[299999]=0;R(3161,i|0);d=v[299999];v[299999]=0;if((d|0)==1){break j}d=v[b+116>>2];h=v[v[d>>2]+20>>2];v[299999]=0;$(h|0,d|0,b+124|0,c+96|0,0);d=v[299999];v[299999]=0;if((d|0)==1){break h}h=255;k:{if(!w[a+202|0]){break k}j=A[b+392>>3]*255;if(j<4294967296&j>=0){h=~~j>>>0;break k}h=0}if((f|0)<1){break f}d=f-1|0;if((e|0)<1){break g}r=B(v[c+104>>2],255)+32768>>>16|0;s=B(v[c+100>>2],255)+32768>>>16|0;u=B(v[c+96>>2],255)+32768>>>16|0;x=(g|0)!=0;while(1){l:{v[299999]=0;g=S(3162,i|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break l}y=B(d,e);f=0;while(1){l=(f+y<<2)+o|0;m=w[g|0]==(x|0);t[l|0]=m?r:-1;t[l+1|0]=m?s:-1;t[l+2|0]=m?u:-1;t[l+3|0]=m?h:0;g=g+1|0;f=f+1|0;if((f|0)!=(e|0)){continue}break}f=(d|0)>0;d=d-1|0;if(f){continue}break f}break}f=P()|0;O()|0;break a}f=P()|0;O()|0;break a}f=P()|0;O()|0;break a}f=P()|0;O()|0;dc(n);break a}f=P()|0;O()|0;break a}while(1){v[299999]=0;S(3162,i|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break b}e=(d|0)>0;d=d-1|0;if(e){continue}break}}Ip(i);dc(n);A[c+48>>3]=A[b+16>>3];A[c+56>>3]=-A[b+24>>3];j=A[b+32>>3];A[c+64>>3]=-j;p=A[b+40>>3];A[c+72>>3]=p;A[c+80>>3]=j+A[b+48>>3];A[c+88>>3]=q-(p+A[b+56>>3]);v[c+40>>2]=0;v[c+44>>2]=0;v[299999]=0;v[c+32>>2]=0;v[c+36>>2]=0;fa(3156,a|0,c+48|0,c+40|0,c+32|0,1);b=v[299999];v[299999]=0;if((b|0)==1){break d}a=v[a+104>>2];A[c+24>>3]=A[c+40>>3]+0;A[c+16>>3]=A[c+32>>3]+0;v[c+8>>2]=1049880894;v[c+12>>2]=1071027177;v[c>>2]=1049880894;v[c+4>>2]=1071027177;b=v[v[a>>2]+356>>2];v[299999]=0;aa(b|0,a|0,k|0,c+24|0,c+16|0,c+8|0,c|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break c}sj(k)}Qb=c+144|0;return}f=P()|0;O()|0;break a}f=P()|0;O()|0;break a}f=P()|0;O()|0}sj(k);T(f|0);L()}function z6a(a){a=a|0;var 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,z=0,A=0,C=0,D=0;f=Qb-96|0;Qb=f;a:{if(!x[a+26304>>1]){break a}while(1){C=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;if(y[a+26168>>2]<=2147483646){d=v[a>>2];b=v[d+8>>2];c=v[a+4>>2];v[f+92>>2]=-1;Ub[v[d>>2]](c,f+92|0,1,4)|0;d=w[f+92|0];if(x[a+25204>>1]==18761){d=d|w[f+93|0]<<8|w[f+94|0]<<16|w[f+95|0]<<24}else{d=w[f+95|0]|(w[f+93|0]<<16|d<<24|w[f+94|0]<<8)}Ub[b|0](c,d,0)|0}if(!Oo(a,f+8|0,0)){break a}d=B(v[f+16>>2],v[a+26028>>2]?v[f+20>>2]:1);e=v[a+26148>>2];c=(d>>>0)/(e>>>0)|0;b:{if(v[f+12>>2]<1){break b}b=0;if(e>>>0<=d>>>0){t=c>>>0>1?c:1;h=0;l=0;o=0;while(1){b=Mv(a,o,f+8|0);z=v[a+26164>>2];q=v[a+26148>>2];i=v[a+26028>>2];c:{if(i){g=0;while(1){c=x[a+26314>>1];e=x[a+26312>>1];j=(q|0)!=2;b=j?b:((v[a+160>>2]!=0)<<1)+b|0;d=(h+m|0)-c|0;e=(l+p|0)-e|0;k=x[a+26322>>1];d:{if(!k){c=d;break d}c=(d+1>>1)+e|0;e=k+((d>>1^-1)+e|0)|0}if(!(x[a+26308>>1]<=e>>>0|x[a+26310>>1]<=c>>>0)){d=x[a+26316>>1];d=(v[a+26352>>2]+(B(x[a+26320>>1],e>>>d|0)+(c>>>d|0)<<3)|0)+((i>>>((e<<1&14|c&1)<<1)&3)<<1)|0;c=x[b>>1];if(c>>>0<=4095){c=x[((c<<1)+a|0)+26484>>1]}u[d>>1]=c}b=(q<<1)+b|0;b=j?b:(v[a+160>>2]?-2:0)+b|0;h=h+1|0;if(!(z>>>0>h>>>0&x[a+26306>>1]>h>>>0)){l=l+1|0;h=0}g=g+1|0;if((t|0)!=(g|0)){continue}break}break c}i=v[a+26108>>2];d=i&-2;D=i&1;r=0;while(1){j=(l+p|0)-x[a+26312>>1]|0;A=(q|0)!=2;b=A?b:((v[a+160>>2]!=0)<<1)+b|0;e:{if(j>>>0>=x[a+26308>>1]){break e}k=(h+m|0)-x[a+26314>>1]|0;if(!i|k>>>0>=x[a+26310>>1]){break e}s=v[a+26352>>2];e=0;c=d;if((i|0)!=1){while(1){n=e<<1;g=x[n+b>>1];if(g>>>0<=4095){g=x[((g<<1)+a|0)+26484>>1]}u[n+((k+B(j,x[a+26310>>1])<<3)+s|0)>>1]=g;n=(e|1)<<1;g=x[n+b>>1];if(g>>>0<4096){g=x[((g<<1)+a|0)+26484>>1]}u[n+((k+B(j,x[a+26310>>1])<<3)+s|0)>>1]=g;e=e+2|0;c=c-2|0;if(c){continue}break}}if(!D){break e}c=e<<1;e=x[c+b>>1];if(e>>>0<=4095){e=x[((e<<1)+a|0)+26484>>1]}u[c+((k+B(j,x[a+26310>>1])<<3)+s|0)>>1]=e}b=(i<<1)+b|0;b=A?b:(v[a+160>>2]?-2:0)+b|0;h=h+1|0;if(!(z>>>0>h>>>0&x[a+26306>>1]>h>>>0)){l=l+1|0;h=0}r=r+1|0;if((r|0)!=(t|0)){continue}break}}o=o+1|0;if((o|0)>2]){continue}break}break b}while(1){Mv(a,b,f+8|0);b=b+1|0;if((b|0)>2]){continue}break}}Ub[v[v[a>>2]+8>>2]](v[a+4>>2],C+4|0,0)|0;m=v[a+26164>>2]+m|0;if(m>>>0>=x[a+26306>>1]){p=v[a+26168>>2]+p|0;m=0}dc(v[f+84>>2]);if(x[a+26304>>1]>p>>>0){continue}break}}Qb=f+96|0}function via(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;var j=0,k=0,l=0,m=0,n=0,o=0;j=Qb-16|0;Qb=j;k=((e<<2)+b|0)+(h<<2)|0;n=(B(g,10)|0)/4|0;g=(h<<1)+e|0;a:{if(f&3|e&1){if(!f|!e){break a}while(1){h=e;while(1){c=w[i+9|0];d=w[i+8|0];b:{switch(h-1|0){default:if((f|0)!=1){Gd(v[a+68>>2],w[i+7|0],d,c,j+12|0,j+8|0,j+4|0);v[k+12>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216}Gd(v[a+68>>2],w[i+3|0],d,c,j+12|0,j+8|0,j+4|0);v[b+12>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;case 2:if((f|0)!=1){Gd(v[a+68>>2],w[i+6|0],d,c,j+12|0,j+8|0,j+4|0);v[k+8>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216}Gd(v[a+68>>2],w[i+2|0],d,c,j+12|0,j+8|0,j+4|0);v[b+8>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;case 1:if((f|0)!=1){Gd(v[a+68>>2],w[i+5|0],d,c,j+12|0,j+8|0,j+4|0);v[k+4>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216}Gd(v[a+68>>2],w[i+1|0],d,c,j+12|0,j+8|0,j+4|0);v[b+4>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;break;case 0:break b}}if((f|0)!=1){Gd(v[a+68>>2],w[i+4|0],d,c,j+12|0,j+8|0,j+4|0);v[k>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216}Gd(v[a+68>>2],w[i|0],d,c,j+12|0,j+8|0,j+4|0);v[b>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;i=i+10|0;c=(h>>>0<4?h:4)<<2;b=c+b|0;k=c+k|0;c=h>>>0>4;d=h-4|0;h=d>>>0>h>>>0?0:d;if(c){continue}break}if(f>>>0<3){break a}i=i+n|0;f=f-2|0;c=g<<2;k=c+k|0;b=b+c|0;continue}}if(f>>>0<2){break a}d=e>>>2|0;o=g<<2;while(1){c=d;while(1){e=w[i+8|0];g=w[i+9|0];h=j+12|0;l=j+8|0;m=j+4|0;Gd(v[a+68>>2],w[i|0],e,g,h,l,m);v[b>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Gd(v[a+68>>2],w[i+1|0],e,g,h,l,m);v[b+4>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Gd(v[a+68>>2],w[i+2|0],e,g,h,l,m);v[b+8>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Gd(v[a+68>>2],w[i+3|0],e,g,h,l,m);v[b+12>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Gd(v[a+68>>2],w[i+4|0],e,g,h,l,m);v[k>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Gd(v[a+68>>2],w[i+5|0],e,g,h,l,m);v[k+4>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Gd(v[a+68>>2],w[i+6|0],e,g,h,l,m);v[k+8>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Gd(v[a+68>>2],w[i+7|0],e,g,h,l,m);v[k+12>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;i=i+10|0;k=k+16|0;b=b+16|0;c=c-1|0;if(c){continue}break}i=i+n|0;k=k+o|0;b=b+o|0;f=f-2|0;if(f>>>0>1){continue}break}}Qb=j+16|0}function yla(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;l=Qb-32|0;Qb=l;s=v[a+52>>2];p=v[a+16>>2];f=v[a>>2];o=jc(ir(f));a:{if(!o){zc(v[f+628>>2],v[f>>2],46701,0);break a}eg(o,0,ir(f));b:{c:{d:{switch(x[a+28>>1]-1|0){case 0:case 4:e=x[a+30>>1]-2|0;if((e&65535)>>>0>=7){break b}e=(e<<16>>16<<2)+76796|0;break c;case 1:case 5:e=x[a+30>>1]-1|0;if((e&65535)>>>0>=8){break b}e=(e<<16>>16<<2)+76824|0;break c;case 2:case 6:e=x[a+30>>1]-1|0;if((e&65535)>>>0>=8){break b}e=(e<<16>>16<<2)+76856|0;break c;case 3:case 7:break d;default:break b}}e=x[a+30>>1]-1|0;if((e&65535)>>>0>=7){break b}e=(e<<16>>16<<2)+76888|0}n=v[e>>2]}v[l+16>>2]=l+28;hi(f,278,l+16|0);v[l+4>>2]=l+24;v[l>>2]=l+26;hi(f,530,l);i=1;g=Qb-80|0;Qb=g;e:{f:{if(x[f+138>>1]==1){if(!(w[f+13|0]&64|x[f+90>>1]!=6)){v[g+4>>2]=g+78;v[g>>2]=g+76;Kd(f,530,g);h=x[g+78>>1];e=x[g+76>>1];j=B(h,e);if(!j){zc(v[f+628>>2],v[f>>2],9852,0);e=0;break e}e=(B(x[f+84>>1],B(j+2|0,((e+v[f+56>>2]|0)-1>>>0)/(e>>>0)|0))+7>>>3>>>0)/(h>>>0)|0;break e}m=x[f+98>>1];h=Bib(v[f+56>>2],0,m,0);j=Tb;e=h;if(!m|!j){break f}e=v[f>>2];h=v[f+628>>2];v[g+64>>2]=18329;zc(h,e,22641,g- -64|0);e=0;break f}e=v[f+56>>2]}h=e;m=x[f+84>>1];e=Bib(e,0,m,0);j=(Tb|0)!=0;g:{h:{i:{j:{if(m){if(j){e=v[f>>2];j=v[f+628>>2];v[g+32>>2]=18329;zc(j,e,22641,g+32|0);m=x[f+84>>1];e=Bib(m,0,h,0);j=(Tb|0)!=0;break j}if(!(e&7)){break i}if(!j){break g}e=v[f>>2];h=v[f+628>>2];v[g+48>>2]=18329;zc(h,e,22641,g+48|0);e=0;break g}if(e&7){break g}}if(!m){break h}}if(!j){break h}e=v[f>>2];h=v[f+628>>2];v[g+16>>2]=18329;zc(h,e,22641,g+16|0);e=0}e=e>>>3|0;break e}e=(e>>>3|0)+1|0}Qb=g+80|0;k:{if(!d){break k}i=p-c|0;m=i>>>0>p>>>0?0:i;j=n&1;p=0-j&0-(c<<1);h=j?d-1|0:0;l:{while(1){i=v[l+28>>2];g=x[l+24>>1];r=v[a+76>>2]+k|0;t=g;i=i-((r>>>0)%(i>>>0)|0)|0;i=i+k>>>0>d>>>0?d-k|0:i;g=(i>>>0)%(g>>>0)|0;q=0;if(!((gr(f,jr(f,r,0),o,B((g?t-g|0:0)+i+(v[a+76>>2]+k>>>0)%y[l+28>>2]|0,e))|0)>-1|!v[a+4>>2])){break l}Ub[s|0](a,(B(c,h)<<2)+b|0,0,h,c,i,m,p,B((v[a+76>>2]+k>>>0)%y[l+28>>2]|0,e)+o|0);h=(j?0-i|0:i)+h|0;k=i+k|0;if(k>>>0>>0){continue}break}q=1}i=q;if(!(n&2)){break k}h=0;while(1){k=(B(c,h)<<2)+b|0;n=(k+(c<<2)|0)-4|0;if(k>>>0>>0){while(1){a=v[k>>2];v[k>>2]=v[n>>2];v[n>>2]=a;k=k+4|0;n=n-4|0;if(k>>>0>>0){continue}break}}h=h+1|0;if((h|0)!=(d|0)){continue}break}}dc(o)}Qb=l+32|0;return i|0}function WC(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,m=0;g=Qb-48|0;Qb=g;o(+a);d=j(1)|0;f=j(0)|0;a:{b:{e=d;d=e;h=e&2147483647;c:{if(h>>>0<=1074752122){if((d&1048575)==598523){break c}if(h>>>0<=1073928572){if((e|0)>0|(e|0)>=0){a=a+-1.5707963267341256;c=a+-6.077100506506192e-11;A[b>>3]=c;A[b+8>>3]=a-c+-6.077100506506192e-11;d=1;break a}a=a+1.5707963267341256;c=a+6.077100506506192e-11;A[b>>3]=c;A[b+8>>3]=a-c+6.077100506506192e-11;d=-1;break a}if((e|0)>0|(e|0)>=0){a=a+-3.1415926534682512;c=a+-1.2154201013012384e-10;A[b>>3]=c;A[b+8>>3]=a-c+-1.2154201013012384e-10;d=2;break a}a=a+3.1415926534682512;c=a+1.2154201013012384e-10;A[b>>3]=c;A[b+8>>3]=a-c+1.2154201013012384e-10;d=-2;break a}if(h>>>0<=1075594811){if(h>>>0<=1075183036){if((h|0)==1074977148){break c}if((e|0)>0|(e|0)>=0){a=a+-4.712388980202377;c=a+-1.8231301519518578e-10;A[b>>3]=c;A[b+8>>3]=a-c+-1.8231301519518578e-10;d=3;break a}a=a+4.712388980202377;c=a+1.8231301519518578e-10;A[b>>3]=c;A[b+8>>3]=a-c+1.8231301519518578e-10;d=-3;break a}if((h|0)==1075388923){break c}if((e|0)>0|(e|0)>=0){a=a+-6.2831853069365025;c=a+-2.430840202602477e-10;A[b>>3]=c;A[b+8>>3]=a-c+-2.430840202602477e-10;d=4;break a}a=a+6.2831853069365025;c=a+2.430840202602477e-10;A[b>>3]=c;A[b+8>>3]=a-c+2.430840202602477e-10;d=-4;break a}if(h>>>0>1094263290){break b}}k=a*.6366197723675814+6755399441055744+-6755399441055744;c=a+k*-1.5707963267341256;i=k*6.077100506506192e-11;a=c-i;A[b>>3]=a;o(+a);d=j(1)|0;j(0)|0;e=h>>>20|0;f=(e-(d>>>20&2047)|0)<17;if(D(k)<2147483648){d=~~k}else{d=-2147483648}d:{if(f){break d}i=c;a=k*6.077100506303966e-11;c=c-a;i=k*2.0222662487959506e-21-(i-c-a);a=c-i;A[b>>3]=a;f=e;o(+a);e=j(1)|0;j(0)|0;if((f-(e>>>20&2047)|0)<50){break d}i=c;a=k*2.0222662487111665e-21;c=c-a;i=k*8.4784276603689e-32-(i-c-a);a=c-i;A[b>>3]=a}A[b+8>>3]=c-a-i;break a}if(h>>>0>=2146435072){a=a-a;A[b>>3]=a;A[b+8>>3]=a;d=0;break a}l(0,f|0);l(1,e&1048575|1096810496);a=+n();d=0;f=1;while(1){m=(g+16|0)+(d<<3)|0;if(D(a)<2147483648){d=~~a}else{d=-2147483648}c=+(d|0);A[m>>3]=c;a=(a-c)*16777216;d=1;m=f&1;f=0;if(m){continue}break}A[g+32>>3]=a;e:{if(a!=0){d=2;break e}f=1;while(1){d=f;f=d-1|0;if(A[(g+16|0)+(d<<3)>>3]==0){continue}break}}d=GN(g+16|0,g,(h>>>20|0)-1046|0,d+1|0,1);a=A[g>>3];if((e|0)<-1|(e|0)<=-1){A[b>>3]=-a;A[b+8>>3]=-A[g+8>>3];d=0-d|0;break a}A[b>>3]=a;A[b+8>>3]=A[g+8>>3]}Qb=g+48|0;return d}function kq(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=Qb-32|0;Qb=g;h=a+520|0;e=h;a:{b:{d=a+448|0;if(!d){break b}i=w[e+27|0];j=i<<24>>24;b=d;c=w[b+27|0];k=c<<24>>24;i=(j|0)<0?v[e+20>>2]:i;f=0;c:{if((i|0)!=(((k|0)<0?v[b+20>>2]:c)|0)){break c}if(i){c=e+16|0;c=(j|0)<0?v[c>>2]:c;j=b+16|0;f=0;if(od(c,(k|0)<0?v[j>>2]:j,i)){break c}}c=w[e+15|0];j=c<<24>>24;i=w[b+15|0];k=i<<24>>24;f=(k|0)<0?v[b+8>>2]:i;i=(j|0)<0?v[e+8>>2]:c;if((f|0)!=(i|0)){break b}if(i){c=e+4|0;c=(j|0)<0?v[c>>2]:c;j=b+4|0;f=0;if(od(c,(k|0)<0?v[j>>2]:j,i)){break c}}if(v[e+64>>2]!=v[b+64>>2]|v[e+52>>2]!=v[b+52>>2]|(v[e+40>>2]!=v[b+40>>2]|A[e+32>>3]!=A[b+32>>3])){break b}if(v[e+44>>2]!=v[b+44>>2]){break b}f=0;if(w[e+48|0]!=w[b+48|0]){break c}f=w[e+49|0]==w[b+49|0]}break a}f=0}c=f;l=A[a+592>>3];d:{if(c){if(!(l>1)){break d}A[g+24>>3]=A[a+504>>3]*A[a+608>>3]/l;a=v[a+12>>2];Ub[v[v[a>>2]+32>>2]](a,g+24|0);break d}if(l>1){A[v[a+12>>2]+128>>3]=A[a+504>>3]*A[a+608>>3]/l}b=w[a+463|0];e:{if(!(b<<24>>24<0?v[a+456>>2]:b)){b=v[a+12>>2];c=v[a+488>>2]!=0;v[g+20>>2]=w[a+496|0]<<2|(v[a+492>>2]?c|2:c)|w[a+497|0]<<7;A[g+24>>3]=A[v[a+16>>2]+24>>3];A[g+8>>3]=A[v[a+16>>2]+32>>3];Ub[v[v[b>>2]+140>>2]](b,a+464|0,a+480|0,g+20|0,g+24|0,g+8|0)|0;break e}b=v[a+12>>2];A[g+24>>3]=A[v[a+16>>2]+24>>3];A[g+8>>3]=A[v[a+16>>2]+32>>3];Ub[v[v[b>>2]+144>>2]](b,a+452|0,a+512|0,a+480|0,g+24|0,g+8|0)|0}b=v[a+12>>2]+16|0;v[b+24>>2]=0;v[b+28>>2]=1072693248;v[b+72>>2]=0;v[b+76>>2]=1072693248;v[b+32>>2]=0;v[b+36>>2]=0;v[b+40>>2]=0;v[b+44>>2]=0;v[b+56>>2]=0;v[b+60>>2]=0;v[b+48>>2]=0;v[b+52>>2]=1072693248;b=b- -64|0;v[b>>2]=0;v[b+4>>2]=0;b=v[a+12>>2];Ub[v[v[b>>2]+40>>2]](b,a+500|0);a=v[a+12>>2];Ub[v[v[a>>2]+32>>2]](a,a+128|0);f:{if((d|0)==(h|0)){break f}a=h+16|0;b=d+16|0;e=w[d+27|0];c=e<<24>>24;g:{if(t[h+27|0]>=0){if((c|0)>=0){c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;v[a+8>>2]=v[b+8>>2];break g}Lh(a,v[d+16>>2],v[d+20>>2]);break g}f=a;a=(c|0)<0;wi(f,a?v[d+16>>2]:b,a?v[d+20>>2]:e)}a=h+4|0;b=d+4|0;e=w[d+15|0];c=e<<24>>24;if(t[h+15|0]>=0){if((c|0)>=0){c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;v[a+8>>2]=v[b+8>>2];break f}Lh(a,v[d+4>>2],v[d+8>>2]);break f}f=a;a=(c|0)<0;wi(f,a?v[d+4>>2]:b,a?v[d+8>>2]:e)}A[h+32>>3]=A[d+32>>3];v[h+40>>2]=v[d+40>>2];v[h+44>>2]=v[d+44>>2];t[h+48|0]=w[d+48|0];t[h+49|0]=w[d+49|0];v[h+52>>2]=v[d+52>>2];A[h+56>>3]=A[d+56>>3];v[h+64>>2]=v[d+64>>2]}Qb=g+32|0}function cU(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=Qb-32|0;Qb=f;g=v[a+36>>2];d=v[g+20>>2];a:{b:{e=v[g+16>>2];b=w[e|0];c:{if(((b&223)-65&255)>>>0>=26){if((b|0)!=95){break b}if(e>>>0>>0){break c}break b}if(e>>>0>=d>>>0){break b}}b=e;while(1){d:{c=b;b=b+1|0;c=w[c+1|0];if(!(((c&223)-65&255)>>>0<26|(c-48&255)>>>0<10|c-45>>>0<2)){if((c|0)!=95){break d}}if(b>>>0>>0){continue}}break}if(c<<24>>24<1|b>>>0>=d>>>0){break b}d=b-e|0;if(!(w[a+362|0]&8|(d|0)<50001)){if(!(!v[a+212>>2]|v[a+172>>2]!=-1)){c=0;break a}v[a+84>>2]=110;v[f+4>>2]=280515;v[f>>2]=246281;c=0;oc(0,0,0,a,0,1,110,3,280515,0,0,0,349936,f);v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1;break a}c=Rd(v[a+296>>2],e,d);e=v[a+36>>2];v[e+16>>2]=b;v[a+200>>2]=d+v[a+200>>2];v[e+32>>2]=d+v[e+32>>2];if(c){break a}c=0;Qd(a,0);break a}if(!(v[a+292>>2]|(d-e|0)>249)){nd(a);g=v[a+36>>2];e=v[g+16>>2]}d=v[g+12>>2];c=0;e:{f:{b=bf(a,f+28|0);switch(b-47|0){case 0:case 15:break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:break e;default:break f}}if((b|0)==32){break a}}if(!AU(v[a+360>>2],b)|(b|0)==58){break a}g=e-d|0;e=0;while(1){g:{h:{switch(b-47|0){default:if((b|0)==32){break g}break;case 0:case 15:break g;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:break h}}if(!Wp(v[a+360>>2],b)|(b|0)==58){break g}i:{if((c|0)<101){c=c+1|0;break i}if(!(w[a+362|0]&8|(e|0)<50001)){te(a,110,280515);c=0;break a}j:{if(v[a+292>>2]){break j}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break j}nd(a)}c=0;if(v[a+172>>2]==-1){break a}}d=v[f+28>>2];b=v[a+36>>2];h=v[b+16>>2];k:{if(w[h|0]==10){v[b+32>>2]=1;v[b+28>>2]=v[b+28>>2]+1;break k}v[b+32>>2]=v[b+32>>2]+1}i=b;b=d+h|0;v[i+16>>2]=b;if(w[b|0]==37){wd(a)}e=e+d|0;b=bf(a,f+28|0);if(b){continue}b=v[a+36>>2];d=v[f+28>>2];c=v[b+16>>2]-d|0;v[b+16>>2]=c;if(!(v[a+292>>2]|(v[b+20>>2]-c|0)>249)){nd(a);d=v[f+28>>2];b=v[a+36>>2];c=v[b+16>>2]}v[b+16>>2]=c+d;c=0;if(v[a+172>>2]==-1){break a}b=bf(a,f+28|0);continue}break}if(!(w[a+362|0]&8|(e|0)<50001)){if(!(!v[a+212>>2]|v[a+172>>2]!=-1)){c=0;break a}v[a+84>>2]=110;v[f+20>>2]=280515;v[f+16>>2]=246281;c=0;oc(0,0,0,a,0,1,110,3,280515,0,0,0,349936,f+16|0);v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1;break a}c=Rd(v[a+296>>2],g+v[v[a+36>>2]+12>>2]|0,e)}Qb=f+32|0;return c}function ZU(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=v[b>>2];e=f;a:{while(1){b:{c=w[e|0];d=c-48|0;c:{if(((c&223)-65&255)>>>0<26|(d&255)>>>0<10){break c}d:{switch(c-33|0){case 31:break b;case 0:case 3:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 25:case 26:case 28:case 62:case 93:break c;case 4:break d;default:break a}}e:{d=w[e+1|0];if((d-48&255)>>>0<10){break e}switch(d-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break e;default:break a}}d=w[e+2|0];if((d-48&255)>>>0<10){break c}switch(d-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break c;default:break a}}e=((c|0)==37?3:1)+e|0;continue}break}f:{if(!a){break f}c=v[a+16>>2];if(c){Ub[v[259708]](c)}d=e-f|0;g:{if(w[a+36|0]&2){c=0;if(!f|(d|0)<0){break g}c=Ub[v[259707]](d+1|0)|0;if(!c){c=0;oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break g}h=gc(c,f,d)+d|0,i=0,t[h|0]=i;break g}c=bm(f,d)}v[a+16>>2]=c;if(w[e|0]==64){break f}f=v[b>>2];break a}f=e+1|0}h:{i:{c=w[f|0];if((c|0)==91){c=f;while(1){e=c;g=w[c+1|0];d=1;if(!g){break h}c=e+1|0;if((g|0)!=93){continue}break}e=e+2|0;break i}e=f;while(1){j:{if(((c&223)-65&255)>>>0<26|(c-48&255)>>>0<10){break j}k:{switch((c&255)-33|0){case 0:case 3:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 26:case 28:case 62:case 93:break j;case 4:break k;default:break i}}l:{d=w[e+1|0];if((d-48&255)>>>0<10){break l}switch(d-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break l;default:break i}}d=w[e+2|0];if((d-48&255)>>>0<10){break j}switch(d-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break j;default:break i}}e=((c&255)==37?3:1)+e|0;c=w[e|0];continue}}if(a){c=v[a+8>>2];if(c){Ub[v[259708]](c)}c=0;v[a+8>>2]=0;d=v[a+12>>2];if(d){Ub[v[259708]](d)}m:{if((e|0)==(f|0)){e=f;break m}d=e-f|0;if(w[a+36|0]&2){if((d|0)<0){break m}g=Ub[v[259707]](d+1|0)|0;if(!g){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break m}c=gc(g,f,d);t[d+c|0]=0;break m}c=bm(f,d)}v[a+12>>2]=c}n:{if(w[e|0]!=58){break n}c=w[e+1|0];d=1;if((c-48&255)>>>0>9){break h}f=e+1|0;d=0;while(1){d=(B(d,10)+(c&255)|0)-48|0;c=w[f+1|0];e=f+1|0;f=e;if((c-48&255)>>>0<10){continue}break}if(!a){break n}v[a+20>>2]=d&2147483647}v[b>>2]=e;d=0}return d}function C4(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,y=0,z=0,A=0,B=0,C=0,D=0;e=v[a+584>>2];if(!e){return 0}if(v[e+144>>2]){D=v[e+140>>2];f=v[a+604>>2];i=x[e+64>>1];p=x[e+66>>1];k=x[e+68>>1];g=v[e+76>>2];j=v[e+72>>2];z=v[e+124>>2];l=v[e+136>>2];d=v[e+132>>2];n=x[e+120>>1];h=b;a:{if((n|0)!=65535){break a}h=b;if((c|0)<1){break a}j=j<>g;if((o|0)<16){f=f+1|0}else{g=o-16|0;t[f+1|0]=j>>g;f=f+2|0}d=d+1|0;c=c-1|0;l=i+l|0;n=w[b|0];h=b+1|0}A=h;b:{if((c|0)<1){break b}while(1){s=v[e+144>>2];o=c;c:{while(1){h=n;n=w[A|0];b=d+1|0;c=o-1|0;A=A+1|0;B=h+(n<<12)|0;m=h^n<<5;y=m<<3;q=y+s|0;r=v[q>>2];if((B|0)!=(r|0)){break c}h=(o|0)>1;n=x[(s+y|0)+4>>1];d=b;o=c;if(h){continue}break}break b}d:{if((r|0)>=0){y=m?m-9001|0:-1;while(1){m=m+y|0;m=(m|0)<0?m+9001|0:m;r=m<<3;q=r+s|0;C=v[q>>2];if((C|0)==(B|0)){n=x[(s+r|0)+4>>1];d=b;break d}if((C|0)>-1){continue}break}}if(f>>>0>D>>>0){v[a+608>>2]=f-v[a+596>>2];Ae(a);f=v[a+596>>2]}j=h|j<>g;if((h|0)<16){f=f+1|0}else{g=h-16|0;t[f+1|0]=j>>g;f=f+2|0}v[q>>2]=B;u[q+4>>1]=k;e:{f:{h=k+1|0;if((h|0)==4094){d=v[e+144>>2];b=d+72e3|0;k=8993;while(1){v[b>>2]=-1;v[b-8>>2]=-1;v[b-16>>2]=-1;v[b-24>>2]=-1;v[b-32>>2]=-1;v[b-40>>2]=-1;v[b-48>>2]=-1;v[b-56>>2]=-1;b=b+-64|0;l=k>>>0>7;k=k-8|0;if(l){continue}break}v[d>>2]=-1;d=0;v[e+128>>2]=0;j=j<>g;p=511;k=258;if((b|0)<16){break f}g=b-16|0;t[f+1|0]=j>>g;f=f+2|0;break e}l=i+l|0;g:{h:{if((k|0)>=(p|0)){if((i|0)>=12){break g}i=i+1|0;p=-1<=8388607){d=2147483647;if(l>>>0<256){break i}d=(b|0)/(l>>8)|0;break i}d=(b<<8)/(l|0)|0}if((d|0)<=v[e+128>>2]){d=v[e+144>>2];b=d+72e3|0;k=8993;while(1){v[b>>2]=-1;v[b-8>>2]=-1;v[b-16>>2]=-1;v[b-24>>2]=-1;v[b-32>>2]=-1;v[b-40>>2]=-1;v[b-48>>2]=-1;v[b-56>>2]=-1;b=b+-64|0;l=k>>>0>7;k=k-8|0;if(l){continue}break}v[d>>2]=-1;d=0;v[e+128>>2]=0;j=j<>g;p=511;k=258;if((b|0)<16){break f}g=b-16|0;t[f+1|0]=j>>g;f=f+2|0;break e}v[e+128>>2]=d}d=b;k=h;break d}X(40391,6139,940,88325);L()}f=f+1|0}l=i;i=9}if((o|0)>1){continue}break}}v[e+136>>2]=l;v[e+132>>2]=d;v[e+124>>2]=z;v[e+76>>2]=g;v[e+72>>2]=j;u[e+68>>1]=k;u[e+66>>1]=p;u[e+64>>1]=i;v[e+120>>2]=n;v[a+604>>2]=f;return 1}X(38838,6139,842,88325);L()}function $Ga(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=C(0),m=0,n=0,o=0,p=0,q=C(0),r=C(0),s=C(0),u=0,x=0,y=0,E=0,F=0;d=Qb-400|0;Qb=d;a:{b:{c:{d:{if(!(w[a+208|0]|w[a+203|0])){nk(a,v[b+596>>2],A[b+104>>3],b+16|0);j=A[b+392>>3];f=v[a+104>>2];Ub[v[v[f>>2]+132>>2]](f,d+396|0)|0;f=v[a+104>>2];Ub[v[v[f>>2]+136>>2]](f,888344)|0;i=A[c+208>>3];m=A[c+200>>3];n=A[c+192>>3];o=A[c+184>>3];h=fc(24);z[h>>2]=A[c+216>>3]/72*25.4;z[h+4>>2]=A[c+224>>3]/72*25.4;z[h+8>>2]=A[c+232>>3]/72*25.4;z[h+12>>2]=A[c+240>>3]/72*25.4;z[h+16>>2]=A[c+248>>3]/72*25.4;z[h+20>>2]=A[c+256>>3]/72*25.4;v[d+152>>2]=0;v[d+144>>2]=0;v[d+148>>2]=0;j=j*255;e:{if(D(j)<2147483648){f=~~j;break e}f=-2147483648}v[299999]=0;e=S(1,24)|0;k=v[299999];v[299999]=0;if((k|0)==1){break d}v[d+144>>2]=e;v[d+152>>2]=e+24;E=d,F=gc(e,h,24)+24|0,v[E+148>>2]=F;v[299999]=0;Eb(3137,d+160|0,C(C(o)),C(C(m)),C(C(n)),C(C(i)),d+144|0);e=v[299999];v[299999]=0;if((e|0)==1){break c}e=v[d+144>>2];if(e){v[d+148>>2]=e;dc(e)}e=v[d+248>>2];if(e){j=i-n;i=+(e>>>0);r=C(j/i);s=C((m-o)/i);p=v[c+8>>2];e=0;while(1){i=+q;l=C(0);k=0;while(1){v[299999]=0;Aa(3138,c|0,+l,+i,d+16|0);g=v[299999];v[299999]=0;if((g|0)==1){break b}g=v[v[p>>2]+20>>2];v[299999]=0;$(g|0,p|0,d+16|0,d|0,0);g=v[299999];v[299999]=0;if((g|0)==1){break b}u=v[d+8>>2];x=v[d+4>>2];y=v[d>>2];g=v[v[d+252>>2]+B(e,12)>>2]+(k<<2)|0;t[g+3|0]=f;t[g+2|0]=B(y,255)+32768>>>16;t[g+1|0]=B(x,255)+32768>>>16;t[g|0]=B(u,255)+32768>>>16;l=C(l+s);k=k+1|0;g=v[d+248>>2];if(k>>>0>>0){continue}break}q=C(q+r);e=e+1|0;if(g>>>0>e>>>0){continue}break}}c=v[a+104>>2];f=kp(c,457612,457624);if(f){c=v[v[f>>2]+560>>2];v[299999]=0;V(c|0,f|0,d+160|0);c=v[299999];v[299999]=0;if((c|0)==1){break b}c=v[a+104>>2];f=v[v[c>>2]+328>>2];v[299999]=0;Q(f|0,c|0,888336)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}c=v[a+104>>2]}v[d+16>>2]=4;f=v[v[c>>2]+292>>2];v[299999]=0;Q(f|0,c|0,d+16|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}a=v[a+104>>2];c=v[v[a>>2]+136>>2];v[299999]=0;Q(c|0,a|0,d+396|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break b}v[299999]=0;R(3139,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break b}Ne(d+240|0);dc(h)}Qb=d+400|0;return 1}c=P()|0;O()|0;a=v[d+144>>2];if(!a){break a}v[d+148>>2]=a;dc(a);break a}c=P()|0;O()|0;a=v[d+144>>2];if(!a){break a}v[d+148>>2]=a;dc(a);break a}c=P()|0;O()|0;Ne(d+240|0)}dc(h);T(c|0);L()}function g9a(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;g=v[a+8>>2];if((g&-2)!=2){pc(a,1030,0,0);return 1030}a:{b:{c:{d:{e:{if(!((g|0)!=3|y[a+272>>2]<2)|(w[a+286|0]|w[a+287|0])){break e}if(w[a+288|0]|w[a+289|0]){break e}if((c|0)!=16){pc(a,1028,0,0);return 1028}t[a+289|0]=1;c=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);v[a+316>>2]=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);v[a+320>>2]=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);g=w[d+8|0];t[a+336|0]=g;f=w[d+9|0];t[a+337|0]=f;k=w[d+10|0];t[a+338|0]=k;l=w[d+11|0];t[a+339|0]=l;c=w[d+12|0];t[a+340|0]=c;h=w[d+13|0];t[a+341|0]=h;i=w[d+14|0];t[a+342|0]=i;j=w[d+15|0];t[a+343|0]=j;if(!(1<>>0<=14:0)){pc(a,1037,0,0);return 1037}if(!(1<>>0<=20:0)){break d}if((k|0)!=8){break c}f:{switch(l|0){case 0:case 8:break f;default:break b}}g:{h:{switch(g-12|0){case 0:case 2:if(!(1<>>0<=16:0)){break d}i:{j:{switch(h|0){case 0:break i;case 8:break j;default:break c}}if((c|0)==8){break i}break d}if(i){break a}if(j>>>0<2){break g}break b;default:break h}}if(c){break d}if(h){break c}if(i){break a}if(!j){break g}break b}k:{l:{if(w[a+284|0]){break l}v[a+12>>2]=3;t[a+284|0]=1;f=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);h=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);v[a+16>>2]=h;f=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);v[a+20>>2]=f;m:{switch(g-12|0){default:c=0;break;case 0:case 2:break m}}t[a+44|0]=c;if(!(h>>>0<=y[a+124>>2]&f>>>0<=y[a+128>>2])){c=4097;if(!pc(a,4097,0,0)){break k}}c=v[a+188>>2];if(!c){break l}if(Ub[c|0](a,v[a+16>>2],v[a+20>>2])|0){break l}pc(a,904,0,0);return 904}t[a+325|0]=0;v[a+48>>2]=v[a+48>>2]+1;c=kJ(a);if(c){break k}if(w[a+112|0]){c=Ub[v[b+4>>2]](a,b,e)|0;if(c){break k}a=v[e>>2];b=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);v[a+32>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);v[a+36>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);t[a+40|0]=w[d+8|0];t[a+41|0]=w[d+9|0];t[a+42|0]=w[d+10|0];t[a+43|0]=w[d+11|0];t[a+44|0]=w[d+12|0];t[a+45|0]=w[d+13|0];t[a+46|0]=w[d+14|0];t[a+47|0]=w[d+15|0]}c=0}return c|0}pc(a,1029,0,0);return 1029}pc(a,1036,0,0);return 1036}pc(a,1038,0,0);return 1038}pc(a,1040,0,0);return 1040}pc(a,1039,0,0);return 1039}function Dpa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;f=Qb+-64|0;Qb=f;v[f+56>>2]=0;v[f+60>>2]=v[282402];a:{e=v[c+36>>2];b:{if(e){g=v[v[e>>2]+28>>2];v[299999]=0;U(g|0,f+24|0,e|0,1);e=v[299999];v[299999]=0;if((e|0)!=1){break b}e=P()|0;O()|0;break a}v[f+24>>2]=0}v[299999]=0;Q(4344,f+56|0,f+24|0)|0;e=v[299999];v[299999]=0;c:{d:{if((e|0)!=1){e=v[f+24>>2];v[f+24>>2]=0;if(!e){break d}v[299999]=0;g=v[e+4>>2]-1|0;v[e+4>>2]=g;h=v[299999];v[299999]=0;if((h|0)!=1){if(g){break d}v[299999]=0;R(4338,e|0);e=v[299999];v[299999]=0;if((e|0)!=1){break d}}break c}e=P()|0;O()|0;ec(f+24|0);break a}e=v[f+56>>2];v[f+60>>2]=v[(e?e+12|0:1129608)>>2];e:{f:{g:{h:{i:{j:{k:{l:{m:{if(!d){break m}v[299999]=0;g=Fe(f+56|0);e=v[299999];v[299999]=0;if((e|0)==1){break k}v[299999]=0;e=v[v[d+12>>2]+((g>>>0)%y[d+8>>2]<<2)>>2];h=v[299999];v[299999]=0;if((h|0)==1){break k}if(!e){break m}while(1){if((g|0)==v[e+12>>2]){v[299999]=0;h=Y(4541,e+16|0,f+56|0,-1)|0;i=v[299999];v[299999]=0;if((i|0)==1){break f}if(!h){break l}}e=v[e+8>>2];if(e){continue}break}}v[f+48>>2]=0;v[f+40>>2]=0;v[f+44>>2]=0;v[f+32>>2]=0;v[f+36>>2]=0;v[f+24>>2]=0;v[f+28>>2]=0;v[299999]=0;g=Q(4475,f+24|0,982916)|0;e=v[299999];v[299999]=0;if((e|0)==1){break j}v[299999]=0;U(4603,f+8|0,a|0,f+56|0);e=v[299999];v[299999]=0;if((e|0)==1){break i}v[299999]=0;da(4610,f+16|0,a|0,b|0,c|0,f+24|0,f+8|0);e=v[299999];v[299999]=0;if((e|0)==1){break h}e=v[f+8>>2];v[f+8>>2]=0;n:{if(!e){break n}v[299999]=0;h=v[e+4>>2]-1|0;v[e+4>>2]=h;i=v[299999];v[299999]=0;if((i|0)==1){break e}if(h){break n}v[299999]=0;R(4338,e|0);e=v[299999];v[299999]=0;if((e|0)==1){break e}}o:{if(!d){break o}v[299999]=0;e=Q(4609,d|0,f+56|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break g}v[299999]=0;Q(4535,e+24|0,f+16|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break g}v[299999]=0;e=v[g+24>>2];v[f+12>>2]=g;v[f+8>>2]=e;e=v[299999];v[299999]=0;if((e|0)==1){break g}if(!v[f+8>>2]){break o}while(1){v[299999]=0;$(4611,a|0,b|0,c|0,d|0);e=v[299999];v[299999]=0;if((e|0)==1){break g}e=v[f+8>>2];if(!e){break o}e=v[e>>2];v[f+8>>2]=e;if(e){continue}break}}ec(f+16|0);id(g)}ec(f+56|0);Qb=f- -64|0;return}e=P()|0;O()|0;break a}e=P()|0;O()|0;break a}e=P()|0;O()|0;id(g);break a}e=P()|0;O()|0;ec(f+8|0);id(g);break a}e=P()|0;O()|0;ec(f+16|0);id(g);break a}e=P()|0;O()|0;break a}}W(0)|0;O()|0;lc();L()}ec(f+56|0);T(e|0);L()}function dIa(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;f=Qb-96|0;Qb=f;g=v[v[a+4>>2]+28>>2];j=Ub[v[v[g>>2]+52>>2]](g)|0;g=km();h=v[v[a+4>>2]+28>>2];l=g,m=Ub[v[v[h>>2]+24>>2]](h)|0,k=v[v[g>>2]+24>>2],Ub[k](l|0,m|0);Ub[v[v[j>>2]+68>>2]](j,g);h=us();Ub[v[v[h>>2]+428>>2]](h,j);Ub[v[v[a>>2]+36>>2]](a,b,f+88|0,f+80|0,f+72|0,f- -64|0);g=f;if((c|0)>=1){i=+(c|0)}else{i=A[f+88>>3];a:{if(D(i)<2147483648){c=~~i;break a}c=-2147483648}i=+(B(c,72)|0)/25.4}b:{if(D(i)<2147483648){c=~~i;break b}c=-2147483648}v[g+60>>2]=c;g=f;if((d|0)>=1){i=+(d|0)}else{i=A[f+80>>3];c:{if(D(i)<2147483648){d=~~i;break c}d=-2147483648}i=+(B(d,72)|0)/25.4}d:{if(D(i)<2147483648){d=~~i;break d}d=-2147483648}v[g+56>>2]=d;c=B(c,d)<<2;d=ic(fc(c),255,c);c=f+8|0;v[c>>2]=0;v[c+4>>2]=0;t[c+40|0]=0;v[c+32>>2]=0;v[c+36>>2]=-1074790400;t[c+21|0]=0;t[c+22|0]=0;t[c+23|0]=0;t[c+24|0]=0;t[c+25|0]=0;t[c+26|0]=0;t[c+27|0]=0;t[c+28|0]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[299999]=0;v[c+16>>2]=d;g=v[299999];v[299999]=0;e:{if((g|0)==1){break e}v[299999]=0;v[c+4>>2]=v[f+60>>2];g=v[299999];v[299999]=0;if((g|0)==1){break e}v[299999]=0;v[c+8>>2]=v[f+56>>2];g=v[299999];v[299999]=0;if((g|0)==1){break e}v[299999]=0;v[f+4>>2]=B(v[f+60>>2],e?4:-4);v[c+12>>2]=v[f+4>>2];e=v[299999];v[299999]=0;if((e|0)==1){break e}e=v[v[h>>2]+456>>2];v[299999]=0;V(e|0,h|0,c|0);e=v[299999];v[299999]=0;if((e|0)==1){break e}e=v[v[h>>2]+448>>2];v[299999]=0;V(e|0,h|0,1);e=v[299999];v[299999]=0;if((e|0)==1){break e}A[f+88>>3]=A[f+88>>3]*(25.4/A[f+72>>3]);A[f+80>>3]=A[f+80>>3]*(25.4/A[f+64>>3]);e=v[v[h>>2]+36>>2];v[299999]=0;Q(e|0,h|0,f+88|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break e}e=v[v[h>>2]+28>>2];v[299999]=0;Q(e|0,h|0,f+80|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break e}t[f+4|0]=0;e=v[v[a>>2]+40>>2];v[299999]=0;$(e|0,a|0,h|0,b|0,f+4|0);a=v[299999];v[299999]=0;if((a|0)==1){break e}v[299999]=0;v[c>>2]=0;v[c+4>>2]=0;t[c+40|0]=0;v[c+32>>2]=0;v[c+36>>2]=-1074790400;t[c+21|0]=0;t[c+22|0]=0;t[c+23|0]=0;t[c+24|0]=0;t[c+25|0]=0;t[c+26|0]=0;t[c+27|0]=0;t[c+28|0]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;a=v[299999];v[299999]=0;if((a|0)==1){break e}a=v[v[j>>2]+12>>2];v[299999]=0;S(a|0,j|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break e}Ub[v[v[h>>2]+4>>2]](h);Ze(c);Qb=f+96|0;return d|0}a=P()|0;O()|0;Ze(c);T(a|0);L()}function eIa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;i=Qb-224|0;Qb=i;a:{e=v[a+4>>2];if(!(!v[e>>2]|!b)){g=v[e+32>>2];h=v[e+36>>2];f=Qb-16|0;Qb=f;e=i+8|0;v[e+176>>2]=0;v[e+180>>2]=0;v[e>>2]=885392;t[e+201|0]=0;v[e+168>>2]=h;v[e+160>>2]=g;v[e+108>>2]=0;v[e+104>>2]=b;v[e+184>>2]=0;v[e+188>>2]=0;v[e+192>>2]=0;v[e+196>>2]=0;b:{c:{d:{e:{f:{if(!b){break f}v[f>>2]=0;g=v[v[b>>2]+52>>2];v[299999]=0;Q(g|0,b|0,f|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break e}b=v[e+104>>2];v[f>>2]=255;g=v[v[b>>2]+60>>2];v[299999]=0;Q(g|0,b|0,f|0)|0;b=v[299999];v[299999]=0;g:{h:{i:{j:{k:{if((b|0)!=1){b=v[e+104>>2];v[f>>2]=0;v[f+4>>2]=1072693248;g=v[v[b>>2]+68>>2];v[299999]=0;Q(g|0,b|0,f|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break k}g=v[e+104>>2];v[299999]=0;b=S(1,32)|0;h=v[299999];v[299999]=0;if((h|0)==1){break j}v[f>>2]=b;v[f+4>>2]=5;v[f+8>>2]=-2147483640;v[299999]=0;tc(b,885856,5);h=v[299999];v[299999]=0;if((h|0)==1){break c}v[b+20>>2]=0;b=v[v[g>>2]+220>>2];v[299999]=0;Q(b|0,g|0,f|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break i}if(t[f+11|0]<=-1){dc(v[f>>2])}b=v[e+104>>2];v[f>>2]=0;g=v[v[b>>2]+244>>2];v[299999]=0;Q(g|0,b|0,f|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break h}b=v[e+104>>2];v[f>>2]=0;v[f+4>>2]=1076101120;g=v[v[b>>2]+236>>2];v[299999]=0;Q(g|0,b|0,f|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break g}b=v[e+104>>2];g=v[v[b>>2]+16>>2];v[299999]=0;Q(g|0,b|0,e+108|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break f}a=P()|0;O()|0;break d}a=P()|0;O()|0;break d}a=P()|0;O()|0;break d}a=P()|0;O()|0;break d}a=P()|0;O()|0;if(t[f+11|0]>-1){break d}dc(v[f>>2]);break d}a=P()|0;O()|0;break d}a=P()|0;O()|0;break d}u[e+202>>1]=0;u[e+204>>1]=0;v[e+172>>2]=0;t[e+200|0]=1;t[e+205|0]=0;t[e+206|0]=0;t[e+207|0]=0;t[e+208|0]=0;Qb=f+16|0;b=e;break b}a=P()|0;O()|0}b=e+176|0;rF(b);c=v[b+4>>2];d=v[b+8>>2];l:{if((c|0)==(d|0)){break l}while(1){dc(v[c>>2]);c=c+4|0;if((d|0)!=(c|0)){continue}break}c=v[b+8>>2];d=v[b+4>>2];if((c|0)==(d|0)){break l}v[b+8>>2]=c+(((c-d|0)-4>>>2^-1)<<2)}b=v[b>>2];if(b){dc(b)}T(a|0);L()}W(0)|0;O()|0;lc();L()}e=v[v[v[a+4>>2]>>2]+24>>2];v[299999]=0;v[b+164>>2]=e;e=v[299999];v[299999]=0;if((e|0)==1){break a}v[b+172>>2]=d;a=v[v[a+4>>2]>>2];v[299999]=0;Qa(3045,a|0,b|0,c+1|0,72,72,0,0,1,0,0,0);a=v[299999];v[299999]=0;if((a|0)==1){break a}qF(b)}Qb=i+224|0;return}a=P()|0;O()|0;qF(b);T(a|0);L()}function v4a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=Qb-48|0;Qb=e;a:{b:{c:{if(!mc(b,227521)){f=6;if(d){break a}d=v[c>>2];b=0;c=367384;while(1){if(!((d|0)!=v[c+8>>2]|v[c+16>>2]!=10)){c=b;break c}c=b+1|0;g=v[(c<<2)+369488>>2];if((d|0)==v[g+8>>2]&v[g+16>>2]==10){break c}c=b+2|0;g=v[(c<<2)+369488>>2];if((d|0)==v[g+8>>2]&v[g+16>>2]==10){break c}b=b+3|0;c=v[(b<<2)+369488>>2];if((b|0)!=87){continue}break}break a}if(!mc(b,227506)){f=6;if(d){break a}v[a+16>>2]=v[c>>2];break b}if(!mc(b,232166)){f=6;if(d){break a}b=v[c>>2];if(!b){f=35;break a}d=v[b+116>>2];v[e+16>>2]=d;if(!d){f=oA(b,e+16|0,a);if(f){break a}d=v[e+16>>2];v[b+116>>2]=d;v[b+120>>2]=1570}v[d+12>>2]=v[c+4>>2];break b}if(!mc(b,272655)){if(d){f=6;d:{switch(Yf(c,0,10)|0){case 0:f=0;t[a+20|0]=0;break a;case 1:break d;default:break a}}t[a+20|0]=1;break b}t[a+20|0]=w[c|0];break b}e:{f:{g:{if(!mc(b,235072)){if(d){b=Yf(c,e+12|0,10);d=v[e+12>>2];if(w[d|0]!=44|(c|0)==(d|0)){break e}d=d+1|0;l=e,m=Yf(d,e+12|0,10),v[l+20>>2]=m;c=v[e+12>>2];if(w[c|0]!=44){break e}if((c|0)!=(d|0)){break g}break e}b=v[c>>2];break f}f=12;if(mc(b,272686)){break a}if(d){f=0;if(!Yf(c,0,10)){t[a+21|0]=0;break a}t[a+21|0]=1;break a}t[a+21|0]=w[c|0];break b}d=c+1|0;l=e,m=Yf(d,e+12|0,10),v[l+24>>2]=m;c=v[e+12>>2];if(w[c|0]!=44|(c|0)==(d|0)){break e}d=c+1|0;l=e,m=Yf(d,e+12|0,10),v[l+28>>2]=m;c=v[e+12>>2];if(w[c|0]!=44|(c|0)==(d|0)){break e}d=c+1|0;l=e,m=Yf(d,e+12|0,10),v[l+32>>2]=m;c=v[e+12>>2];if(w[c|0]!=44|(c|0)==(d|0)){break e}d=c+1|0;l=e,m=Yf(d,e+12|0,10),v[l+36>>2]=m;c=v[e+12>>2];if(w[c|0]!=44|(c|0)==(d|0)){break e}d=c+1|0;l=e,m=Yf(d,e+12|0,10),v[l+40>>2]=m;c=v[e+12>>2];if(w[c|0]!=44|(c|0)==(d|0)){break e}d=c+1|0;l=e,m=Yf(d,e+12|0,10),v[l+44>>2]=m;f=v[e+12>>2];if((w[f|0]|32)!=32){break e}c=e+16|0;if((d|0)!=(f|0)){break f}f=6;break a}f=6;if((b|0)<0){break a}d=v[c+8>>2];if((d|0)<0){break a}g=v[c+16>>2];if((g|0)<0){break a}h=v[c+24>>2];if((h|0)<0){break a}i=v[c+4>>2];if((i|0)<0){break a}j=v[c+12>>2];if((j|0)<0){break a}k=v[c+20>>2];if((k|0)<0){break a}c=v[c+28>>2];if((c|0)<0|(b|0)>(d|0)|((d|0)>(g|0)|(g|0)>(h|0))){break a}if((i|0)>500|(j|0)>500|((k|0)>500|(c|0)>500)){break a}v[a+48>>2]=h;v[a+36>>2]=j;v[a+24>>2]=b;v[a+52>>2]=c;v[a+44>>2]=k;v[a+40>>2]=g;v[a+32>>2]=d;v[a+28>>2]=i;break b}f=6;break a}v[a+12>>2]=c}f=0}Qb=e+48|0;return f|0}function X1a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=v[b>>2];if(!f){return 35}b=6;a:{if(y[f+16>>2]<=c>>>0){break a}g=v[f+104>>2];i=v[f+292>>2];b=i+(c<<4)|0;j=u[b+6>>1];k=j+u[b+8>>1]|0;v[a+76>>2]=k;h=u[b>>1];b=u[b+2>>1];t[a+94|0]=1;u[a+92>>1]=1;e=b-h|0;v[a+80>>2]=e;b=3;b:{c:{switch((1<<(v[f+312>>2]&3))-1|0){case 0:b=e+7>>>3|0;break b;case 1:b=e+15>>>3&536870910;break b;case 3:b=e+31>>>3&536870908;break b;case 7:break c;default:break a}}b=e+63>>>3&536870904}v[a+104>>2]=j;v[a+100>>2]=h;v[a+72>>2]=1651078259;v[a+84>>2]=b;b=u[((c<<4)+i|0)+4>>1];v[a+36>>2]=j<<6;v[a+32>>2]=h<<6;v[a+28>>2]=k<<6;v[a+24>>2]=e<<6;v[a+40>>2]=b<<6;zs(a+24|0,v[f+208>>2]+v[f+204>>2]<<6);d:{if(d&4194304){break d}d=B(v[a+76>>2],v[a+84>>2]);b=fA(a,d);if(b){break a}b=Yc(g,v[((c<<4)+i|0)+12>>2]);if(b){break a}b=Lf(g,v[a+88>>2],d);if(b){break a}c=v[f+312>>2];if(!(!d|c&8)){h=d-1|0;c=v[a+88>>2];e=d&3;e:{if(!e){b=d;break e}b=d;while(1){g=w[c|0];g=g>>>4|(g&15)<<4;g=g>>>2&51|(g&51)<<2;t[c|0]=g>>>1&85|(g&85)<<1;c=c+1|0;b=b-1|0;e=e-1|0;if(e){continue}break}}if(h>>>0>=3){while(1){e=w[c|0];e=e>>>4|(e&15)<<4;e=e>>>2&51|(e&51)<<2;t[c|0]=e>>>1&85|(e&85)<<1;e=w[c+1|0];e=e>>>4|(e&15)<<4;e=e>>>2&51|(e&51)<<2;t[c+1|0]=e>>>1&85|(e&85)<<1;e=w[c+2|0];e=e>>>4|(e&15)<<4;e=e>>>2&51|(e&51)<<2;t[c+2|0]=e>>>1&85|(e&85)<<1;e=w[c+3|0];e=e>>>4|(e&15)<<4;e=e>>>2&51|(e&51)<<2;t[c+3|0]=e>>>1&85|(e&85)<<1;c=c+4|0;b=b-4|0;if(b){continue}break}}c=v[f+312>>2]}if(!((c>>>2^c>>>3)&1)){break d}b=0;f:{switch((1<<(c>>>4&3))-2|0){case 0:if(d>>>0<2){break d}a=v[a+88>>2];c=d-2|0;b=(c>>>1|0)+1&3;if(b){while(1){f=w[a+1|0];t[a+1|0]=w[a|0];t[a|0]=f;a=a+2|0;d=d-2|0;b=b-1|0;if(b){continue}break}}if(c>>>0<6){break d}while(1){b=w[a+1|0];t[a+1|0]=w[a|0];t[a|0]=b;b=w[a+2|0];t[a+2|0]=w[a+3|0];t[a+3|0]=b;b=w[a+4|0];t[a+4|0]=w[a+5|0];t[a+5|0]=b;b=w[a+6|0];t[a+6|0]=w[a+7|0];t[a+7|0]=b;a=a+8|0;d=d-8|0;if(d>>>0>1){continue}break};break d;case 2:break f;default:break a}}if(d>>>0<4){break d}a=v[a+88>>2];b=d-4|0;if(!(b&4)){c=w[a+3|0];t[a+3|0]=w[a|0];t[a|0]=c;c=w[a+1|0];t[a+1|0]=w[a+2|0];t[a+2|0]=c;d=b;a=a+4|0}if(b>>>0<4){break d}while(1){b=w[a+3|0];t[a+3|0]=w[a|0];t[a|0]=b;b=w[a+1|0];t[a+1|0]=w[a+2|0];t[a+2|0]=b;b=w[a+4|0];t[a+4|0]=w[a+7|0];t[a+7|0]=b;b=w[a+5|0];t[a+5|0]=w[a+6|0];t[a+6|0]=b;a=a+8|0;d=d-8|0;if(d>>>0>3){continue}break}}b=0}return b|0}function hS(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{if((d|0)==1){if((c|0)!=4){break a}v[b>>2]=v[b>>2]>>1;return}f=c+d|0;e=(f<<2)+b|0;v[e>>2]=v[e-8>>2];b:{if((d|0)==2){d=c+1|0;h=(d<<2)+b|0;v[e+4>>2]=v[h>>2];v[e+8>>2]=v[(c<<2)+b>>2];v[e+12>>2]=v[h>>2];break b}v[e+4>>2]=v[e-12>>2];if((d|0)==3){e=(f<<2)+b|0;d=c+1|0;v[e+8>>2]=v[(d<<2)+b>>2];v[e+12>>2]=v[((c<<2)+b|0)+8>>2];break b}e=(f<<2)+b|0;v[e+8>>2]=v[e-16>>2];if((d|0)==4){d=c+1|0;v[e+12>>2]=v[(d<<2)+b>>2];break b}v[e+12>>2]=v[e-20>>2];d=c+1|0}e=(c<<2)+b|0;v[e-4>>2]=v[(d<<2)+b>>2];d=e-12|0;i=d,j=Hib(v[e+8>>2],v[e+12>>2],32),v[i>>2]=j;v[d+4>>2]=Tb;if((c|0)==4){v[b>>2]=v[b+32>>2]}if(v[a+36>>2]){c=3;if(f>>>0<3){break a}a=v[b+8>>2];while(1){e=(c<<2)+b|0;d=v[e+4>>2];v[e>>2]=v[e>>2]-((a+d|0)+2>>2);a=d;c=c+2|0;if(f>>>0>=c>>>0){continue}break}if(f>>>0<5){break a}a=f-5|0;c=(a>>>1|0)+1|0;e=c&1;d=4;if(a>>>0>=2){a=c&-2;while(1){c=d<<2;f=c+b|0;h=(c|4)+b|0;v[f>>2]=v[f>>2]+(v[h>>2]+v[f-4>>2]>>1);f=(c|8)+b|0;v[f>>2]=v[f>>2]+(v[(c|12)+b>>2]+v[h>>2]>>1);d=d+4|0;a=a-2|0;if(a){continue}break}}if(!e){break a}c=d<<2;a=c+b|0;v[a>>2]=v[a>>2]+(v[(c|4)+b>>2]+v[a-4>>2]>>1);return}e=f+2|0;if(e){c=1;while(1){d=(c<<2)+b|0;g=+v[d>>2]*1.230174104914001;c:{if(D(g)<2147483648){a=~~g;break c}a=-2147483648}v[d>>2]=a;c=c+2|0;if(e>>>0>=c>>>0){continue}break}}d=f+3|0;c=0;while(1){h=(c<<2)+b|0;g=+v[h>>2]*.8128930661159609;d:{if(D(g)<2147483648){a=~~g;break d}a=-2147483648}v[h>>2]=a;c=c+2|0;if(d>>>0>=c>>>0){continue}break}e:{f:{if(!e){a=-1;break f}a=v[b>>2];c=1;while(1){d=a;h=(c<<2)+b|0;a=v[h+4>>2];g=+v[h>>2]+ +(a+d|0)*-.443506852043971;g:{if(D(g)<2147483648){d=~~g;break g}d=-2147483648}v[h>>2]=d;c=c+2|0;if(e>>>0>=c>>>0){continue}break}a=f+1|0;if(a>>>0<2){break e}}c=2;while(1){e=c<<2;d=e+b|0;g=+v[d>>2]+ +(v[(e|4)+b>>2]+v[d-4>>2]|0)*-.882911075530934;h:{if(D(g)<2147483648){e=~~g;break h}e=-2147483648}v[d>>2]=e;c=c+2|0;if(c>>>0<=a>>>0){continue}break}}c=3;if(f>>>0>=3){a=v[b+8>>2];while(1){d=a;e=(c<<2)+b|0;a=v[e+4>>2];g=+(d+a|0)*.052980118572961+ +v[e>>2];i:{if(D(g)<2147483648){d=~~g;break i}d=-2147483648}v[e>>2]=d;c=c+2|0;if(f>>>0>=c>>>0){continue}break}}c=4;f=f-1|0;if(f>>>0<4){break a}while(1){d=c<<2;a=d+b|0;g=+(v[(d|4)+b>>2]+v[a-4>>2]|0)*1.586134342059924+ +v[a>>2];j:{if(D(g)<2147483648){d=~~g;break j}d=-2147483648}v[a>>2]=d;c=c+2|0;if(f>>>0>=c>>>0){continue}break}}}function Qfa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;j=Qb-16|0;Qb=j;a:{b:{c:{d:{if(!v[b+12>>2]){v[a>>2]=0;Wc(a,0);break d}g=v[d+4>>2];f=v[d+12>>2];k=v[d>>2];l=v[d+8>>2];e=fc(24);v[299999]=0;m=f-g|0;f=l-k|0;g=Z(4743,e|0,m|0,f|0,0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break a}v[j+8>>2]=0;Wc(j+8|0,g);e=v[j+8>>2];if(x[e+8>>1]){i=v[e+16>>2]}g=v[b+12>>2];h=x[e+12>>1];e=0;v[299999]=0;h=B(h,3);la(5274,g|0,c|0,d|0,i|0,h|0,3,0);g=v[299999];v[299999]=0;if((g|0)==1){break b}g=v[b+20>>2];e:{if(!g){break e}n=v[b+16>>2];if(!n){e=g;break e}e=g;if(v[b+36>>2]<0){break e}e=v[b+40>>2];v[299999]=0;la(5274,n|0,c|0,d|0,i+1|0,h|0,3,e|0);e=v[299999];v[299999]=0;if((e|0)==1){break b}e=v[b+40>>2];g=v[b+20>>2];v[299999]=0;la(5274,g|0,c|0,d|0,i+2|0,h|0,3,e|0);c=v[299999];v[299999]=0;if((c|0)==1){break b}e=v[b+20>>2]}g=v[j+8>>2];f:{if(!(!(!e|!v[b+16>>2])&v[b+36>>2]>-1)){if((m|0)<1|(f|0)<1){break f}d=f&-4;e=f&3;c=0;k=l+(k^-1)>>>0<3;while(1){b=0;g:{if(x[g+8>>1]<=c>>>0){break g}i=v[g+16>>2];b=0;if(!i){break g}b=i+B(B(x[g+12>>1],c),3)|0}i=d;if(!k){while(1){f=127-w[b|0]|0;t[b+2|0]=f;t[b+1|0]=f;t[b|0]=f;f=127-w[b+3|0]|0;t[b+3|0]=f;t[b+5|0]=f;t[b+4|0]=f;f=127-w[b+6|0]|0;t[b+6|0]=f;t[b+8|0]=f;t[b+7|0]=f;f=127-w[b+9|0]|0;t[b+9|0]=f;t[b+11|0]=f;t[b+10|0]=f;b=b+12|0;i=i-4|0;if(i){continue}break}}i=e;if(e){while(1){f=127-w[b|0]|0;t[b+2|0]=f;t[b+1|0]=f;t[b|0]=f;b=b+3|0;i=i-1|0;if(i){continue}break}}c=c+1|0;if((m|0)!=(c|0)){continue}break}break f}i=0;c=0;c=x[g+8>>1]?v[g+16>>2]:c;if((m|0)<1|(f|0)<1){break f}k=B(x[g+12>>1],3);while(1){b=c;d=0;while(1){e=t[b+2|0];l=(e>>1)+e|0;e=t[b|0]+128|0;h=l+e|0;h=(h|0)<255?h:255;t[b+2|0]=(h|0)>0?h:0;h=t[b+1|0];e=e-(h>>2)|0;h=e+(h<<1)|0;h=(h|0)<255?h:255;t[b|0]=(h|0)>0?h:0;e=e-(l>>1)|0;e=(e|0)<255?e:255;t[b+1|0]=(e|0)>0?e:0;b=b+3|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}c=c+k|0;i=i+1|0;if((m|0)!=(i|0)){continue}break}}if(!g){v[a>>2]=0;break d}v[299999]=0;v[g+4>>2]=v[g+4>>2]+1;b=v[299999];v[299999]=0;if((b|0)==1){break b}b=a;a=v[j+8>>2];v[b>>2]=a;v[j+8>>2]=0;if(!a){break d}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break c}if(b){break d}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break c}}Qb=j+16|0;return}W(0)|0;O()|0;lc();L()}a=P()|0;O()|0;ec(j+8|0);T(a|0);L()}a=P()|0;O()|0;dc(e);T(a|0);L()}function osa(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,n=0,o=0,p=0;i=Qb-16|0;Qb=i;v[i+8>>2]=d;v[i+12>>2]=c;j=v[a+4>>2];if(j){a:{a=Qb-80|0;Qb=a;b:{c=v[j+16>>2];if(c){k=Ub[v[v[c>>2]+52>>2]](c)|0;c=km();d=v[j+16>>2];o=c,p=Ub[v[v[d>>2]+24>>2]](d)|0,n=v[v[c>>2]+24>>2],Ub[n](o|0,p|0);Ub[v[v[k>>2]+68>>2]](k,c);f=us();Ub[v[v[f>>2]+428>>2]](f,k);c=v[j+12>>2];v[a+8>>2]=0;v[a+76>>2]=0;v[a+72>>2]=0;It(c,b,a+8|0,a+76|0,a+72|0);c=v[a+8>>2];A[a+64>>3]=c|0;g=v[a+76>>2];A[a+56>>3]=g|0;m=+v[a+72>>2];l=a;d=v[i+12>>2];c:{if((d|0)>=1){h=+(d|0);break c}h=+(B(c,96)|0)/m}d:{if(D(h)<2147483648){c=~~h;break d}c=-2147483648}v[l+76>>2]=c;l=a;d=v[i+8>>2];e:{if((d|0)>=1){h=+(d|0);break e}h=+(B(g,96)|0)/m}f:{if(D(h)<2147483648){g=~~h;break f}g=-2147483648}v[l+72>>2]=g;c=B(c,g)<<2;g=fc(c);d=ic(g,255,c);c=a+8|0;v[c>>2]=0;v[c+4>>2]=0;t[c+40|0]=0;v[c+32>>2]=0;v[c+36>>2]=-1074790400;t[c+21|0]=0;t[c+22|0]=0;t[c+23|0]=0;t[c+24|0]=0;t[c+25|0]=0;t[c+26|0]=0;t[c+27|0]=0;t[c+28|0]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[299999]=0;v[c+16>>2]=d;d=v[299999];v[299999]=0;if((d|0)==1){break b}v[299999]=0;v[c+4>>2]=v[a+76>>2];d=v[299999];v[299999]=0;if((d|0)==1){break b}v[299999]=0;v[c+8>>2]=v[a+72>>2];d=v[299999];v[299999]=0;if((d|0)==1){break b}v[299999]=0;v[a+4>>2]=B(v[a+76>>2],e?4:-4);v[c+12>>2]=v[a+4>>2];d=v[299999];v[299999]=0;if((d|0)==1){break b}d=v[v[f>>2]+456>>2];v[299999]=0;V(d|0,f|0,c|0);d=v[299999];v[299999]=0;if((d|0)==1){break b}d=v[v[f>>2]+448>>2];v[299999]=0;V(d|0,f|0,1);d=v[299999];v[299999]=0;if((d|0)==1){break b}d=v[v[f>>2]+36>>2];v[299999]=0;Q(d|0,f|0,a- -64|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break b}d=v[v[f>>2]+28>>2];v[299999]=0;Q(d|0,f|0,a+56|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break b}v[299999]=0;$(4380,j|0,f|0,b|0,a|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}b=v[v[k>>2]+12>>2];v[299999]=0;S(b|0,k|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}Ub[v[v[f>>2]+4>>2]](f);v[299999]=0;v[c>>2]=0;v[c+4>>2]=0;t[c+40|0]=0;v[c+32>>2]=0;v[c+36>>2]=-1074790400;t[c+21|0]=0;t[c+22|0]=0;t[c+23|0]=0;t[c+24|0]=0;t[c+25|0]=0;t[c+26|0]=0;t[c+27|0]=0;t[c+28|0]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;b=v[299999];v[299999]=0;if((b|0)==1){break b}Ze(c)}Qb=a+80|0;a=g;break a}a=P()|0;O()|0;Ze(c);T(a|0);L()}}else{a=0}Qb=i+16|0;return a|0}function Gfa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=Qb-48|0;Qb=d;c=v[b>>2];a:{b:{if(!c){b=vc(d+24|0,240130,242139,1063,344287,0);v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break a}a=P()|0;O()|0;qc(b);break b}v[d+12>>2]=0;c:{d:{e:{while(1){v[299999]=0;$(5301,a|0,d+20|0,b|0,d+8|0);f=v[299999];v[299999]=0;if((f|0)==1){break e}if(v[d+20>>2]!=11){continue}break}f:{if(!w[a+49|0]){v[299999]=0;b=aa(4369,d+24|0,227275,242139,1075,344287,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break f}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break a}a=P()|0;O()|0;qc(b);break c}b=v[c+44>>2];e=v[c+40>>2];f=v[c+16>>2];v[299999]=0;h=((b+f|0)-e|0)+1|0;U(4553,c+48|0,0,h+(f^-1)|0);b=v[299999];v[299999]=0;g:{h:{if((b|0)==1){break h}if((f|0)<(h|0)){b=f;while(1){if(!(v[a+136>>2]<=(b|0)&v[a+140>>2]>=(b|0))){v[299999]=0;b=aa(4369,d+24|0,227445,271729,619,307558,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break d}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break a}a=P()|0;O()|0;qc(b);break c}e=b-f|0;if(!((e|0)>=v[c+64>>2]&(e|0)<=v[c+68>>2])){v[299999]=0;b=aa(4369,d+24|0,227445,271729,619,307558,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break d}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break a}a=P()|0;O()|0;qc(b);break c}g=v[a+124>>2]+(b-v[a+128>>2]<<4)|0;i=v[g+4>>2];e=v[c+52>>2]+(e-v[c+56>>2]<<4)|0;v[e>>2]=v[g>>2];v[e+4>>2]=i;i=v[g+12>>2];v[e+8>>2]=v[g+8>>2];v[e+12>>2]=i;b=b+1|0;if((h|0)!=(b|0)){continue}break}}a=v[c+40>>2];if((a|0)>v[c+44>>2]){break g}i:{while(1){b=v[(v[c+28>>2]+B(a-v[c+32>>2]|0,12)|0)+4>>2];v[299999]=0;R(5066,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break i}if(v[c+44>>2]<=(a|0)){break g}a=a+1|0;if((a|0)>=v[c+40>>2]){continue}break}v[299999]=0;b=aa(4369,d+24|0,227445,271729,619,308234,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break h}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break a}a=P()|0;O()|0;qc(b);break c}a=P()|0;O()|0;break c}a=P()|0;O()|0;break c}a=v[d+12>>2];v[d+12>>2]=0;j:{k:{if(!a){break k}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;f=v[299999];v[299999]=0;if((f|0)==1){break j}if(b){break k}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break j}}Qb=d+48|0;return}W(0)|0;O()|0;lc();L()}a=P()|0;O()|0;break c}a=P()|0;O()|0;break c}a=P()|0;O()|0}xx(d+8|0)}T(a|0)}L()}function dXa(a,b){a=a|0;b=b|0;var 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;j=Qb-16|0;Qb=j;l=v[a+492>>2];h=v[b+8>>2];Ub[v[b+28>>2]](b);d=v[b>>2];a:{if(h>>>0<=d>>>0){v[b+12>>2]=3;break a}b:{k=w[d|0];if(!(k-48>>>0>=10&(k|0)!=91)){f=v[b+16>>2];c:{if((k|0)==91){v[b>>2]=d+1;g=256;break c}e=3;g=Ub[v[b+36>>2]](b)|0;if((g|0)>256){break b}}Ub[v[b+28>>2]](b);if(y[b>>2]>=h>>>0){break a}i=b+92|0;e=v[a+384>>2];d:{if(!e){break d}c=f;if(e){Ub[v[c+8>>2]](c,e)}v[a+384>>2]=0;c=v[a+388>>2];if(c){Ub[v[f+8>>2]](f,c)}v[a+388>>2]=0;c=v[b+140>>2];if(!c){break d}Ub[c|0](i)}v[a+372>>2]=g;v[b+88>>2]=g;n=a,o=Cc(f,2,0,g,0,j+12|0),v[n+384>>2]=o;e=v[j+12>>2];if(e){break b}n=a,o=Cc(f,4,0,g,0,j+12|0),v[n+388>>2]=o;e=v[j+12>>2];if(e){break b}e=Ub[v[v[l>>2]>>2]](i,g,f)|0;v[j+12>>2]=e;if(e){break b}e:{if((g|0)<1){break e}f=g&3;c=0;if(g-1>>>0>=3){e=g&-4;while(1){Ub[v[b+136>>2]](i,c,273792,8)|0;Ub[v[b+136>>2]](i,c|1,273792,8)|0;Ub[v[b+136>>2]](i,c|2,273792,8)|0;Ub[v[b+136>>2]](i,c|3,273792,8)|0;c=c+4|0;e=e-4|0;if(e){continue}break}}if(!f){break e}while(1){Ub[v[b+136>>2]](i,c,273792,8)|0;c=c+1|0;f=f-1|0;if(f){continue}break}}Ub[v[b+28>>2]](b);c=v[b>>2];f:{if(h>>>0<=c>>>0){break f}e=0;m=(k|0)==91;while(1){g:{h:{i:{f=w[c|0];switch(f-93|0){case 0:break h;case 7:break i;default:break g}}d=c+3|0;if(w[c+1|0]!=101|h>>>0<=d>>>0|w[c+2|0]!=102){break g}switch(w[c+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:break f;default:break g}}d=c+1|0;break f}j:{k:{l:{if(!((k|0)!=91&f-48>>>0>=10)){m:{if(m){d=c;f=e;break m}f=Ub[v[b+36>>2]](b)|0;Ub[v[b+28>>2]](b);d=v[b>>2];if((d|0)==(c|0)){break k}}if(w[d|0]!=47|d+2>>>0>=h>>>0|(e|0)>=(g|0)){break l}d=d+1|0;v[b>>2]=d;Ub[v[b+32>>2]](b);c=v[b>>2];if(v[b+12>>2]|c>>>0>=h>>>0){break a}l=c-d|0;c=Ub[v[b+136>>2]](i,f,d,l+1|0)|0;v[b+12>>2]=c;if(c){break a}t[l+v[v[b+116>>2]+(f<<2)>>2]|0]=0;e=e+1|0;break j}Ub[v[b+32>>2]](b);d=c;if(v[b+12>>2]){break a}break j}if(!m){break j}}v[b+12>>2]=2;break a}Ub[v[b+28>>2]](b);c=v[b>>2];if(h>>>0>c>>>0){continue}break}}v[a+368>>2]=1;v[b>>2]=d;break a}n:{if(d+17>>>0>=h>>>0){break n}if(Oc(d,272936,16)){break n}v[a+368>>2]=2;break a}o:{if(d+15>>>0>=h>>>0){break o}if(Oc(d,272875,14)){break o}v[a+368>>2]=4;break a}p:{if(d+18>>>0>=h>>>0){break p}if(Oc(d,272953,17)){break p}v[a+368>>2]=3;break a}v[b+12>>2]=162;break a}v[b+12>>2]=e}Qb=j+16|0}function hva(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=Qb-80|0;Qb=c;g=v[v[a+4>>2]+8>>2];if(g){Ub[v[v[g>>2]+4>>2]](g);v[v[a+4>>2]+8>>2]=0}g=c- -64|0;QG(g,b,972448);h=g|4;g=h;a:{b:{c:{d:{e:{f:{g:{h:{while(1){i:{v[299999]=0;e=S(2911,c- -64|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break i}if(!e){break b}v[299999]=0;U(2731,c+24|0,b|0,972472);d=v[299999];v[299999]=0;if((d|0)==1){break h}v[299999]=0;V(2726,c+8|0,i|0);d=v[299999];v[299999]=0;if((d|0)==1){break g}v[299999]=0;e=w[c+19|0];d=e<<24>>24<0;e=Y(2653,c+24|0,(d?v[c+8>>2]:c+8|0)|0,(d?v[c+12>>2]:e)|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break f}v[c+48>>2]=v[e+8>>2];d=v[e+4>>2];v[c+40>>2]=v[e>>2];v[c+44>>2]=d;v[e>>2]=0;v[e+4>>2]=0;v[e+8>>2]=0;v[299999]=0;f=Q(2725,c+40|0,972492)|0;d=v[299999];v[299999]=0;if((d|0)==1){break e}d=v[f>>2];v[c+56>>2]=v[f+4>>2];e=w[f+7|0]|w[f+8|0]<<8|(w[f+9|0]<<16|w[f+10|0]<<24);t[c+59|0]=e;t[c+60|0]=e>>>8;t[c+61|0]=e>>>16;t[c+62|0]=e>>>24;v[f>>2]=0;v[f+4>>2]=0;e=w[f+11|0];v[f+8>>2]=0;if(t[c+75|0]<=-1){dc(v[c+64>>2])}v[c+64>>2]=d;d=g;f=w[c+59|0]|w[c+60|0]<<8|(w[c+61|0]<<16|w[c+62|0]<<24);t[d+3|0]=f;t[d+4|0]=f>>>8;t[d+5|0]=f>>>16;t[d+6|0]=f>>>24;v[h>>2]=v[c+56>>2];t[c+75|0]=e;if(t[c+51|0]<=-1){dc(v[c+40>>2])}if(t[c+19|0]<=-1){dc(v[c+8>>2])}if(t[c+35|0]<=-1){dc(v[c+24>>2])}i=i+1|0;continue}break}a=P()|0;O()|0;break a}a=P()|0;O()|0;break a}a=P()|0;O()|0;break c}a=P()|0;O()|0;break d}a=P()|0;O()|0;if(t[c+51|0]>-1){break d}dc(v[c+40>>2])}if(t[c+19|0]>-1){break c}dc(v[c+8>>2])}if(t[c+35|0]>-1){break a}dc(v[c+24>>2]);break a}v[299999]=0;S(2903,c- -64|0)|0;b=v[299999];v[299999]=0;j:{if((b|0)==1){break j}v[299999]=0;e=S(1,16)|0;b=v[299999];v[299999]=0;if((b|0)==1){break j}v[e+4>>2]=0;v[e+8>>2]=0;v[e>>2]=972532;v[e+12>>2]=0;d=e+4|0;k:{l:{m:{if(t[c+75|0]>=0){b=v[c+68>>2];v[d>>2]=v[c+64>>2];v[d+4>>2]=b;v[d+8>>2]=v[c+72>>2];break m}v[299999]=0;Y(2544,d|0,v[c+64>>2],v[c+68>>2])|0;b=v[299999];v[299999]=0;if((b|0)==1){break l}}b=w[e+15|0];g=b<<24>>24<0;b=g?v[e+8>>2]:b;if(!b){break k}b=b-1|0;if(v[(b<<2)+(g?v[d>>2]:d)>>2]!=47){break k}v[299999]=0;U(2666,d|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break k}}a=P()|0;O()|0;if(t[e+15|0]<=-1){dc(v[d>>2])}dc(e);break a}v[v[a+4>>2]+8>>2]=e;if(t[c+75|0]<=-1){dc(v[c+64>>2])}Qb=c+80|0;return}a=P()|0;O()|0}if(t[c+75|0]<=-1){dc(v[c+64>>2])}T(a|0);L()}function z9a(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;f=1029;a:{b:{if(!w[a+285|0]){break b}if(!w[a+114|0]){f=17;break b}if(w[a+286|0]|w[a+287|0]|(w[a+288|0]|w[a+289|0])){break b}f=1028;if(c>>>0<5|(c+2&3?(c|0)!=5:0)){break b}i=1;t[a+305|0]=1;f=w[d+1|0];k=w[d|0];c:{d:{e:{if(!w[a+264|0]){g=w[d+4|0]|(w[d+2|0]<<16|f<<24|w[d+3|0]<<8);if((c|0)!=5){break e}h=2147483647;f=0;break c}g=w[d+2|0]|w[d+3|0]<<8|(w[d+4|0]<<16|w[d+5|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);h=2147483647;if((c|0)!=5){break d}break c}f=w[d+5|0]}h=2147483647;if(c>>>0<10){break c}i=w[d+6|0]|w[d+7|0]<<8|(w[d+8|0]<<16|w[d+9|0]<<24);i=i<<24|i<<8&16711680|(i>>>8&65280|i>>>24);if(c>>>0<14){break c}h=w[d+10|0]|w[d+11|0]<<8|(w[d+12|0]<<16|w[d+13|0]<<24);h=h<<24|h<<8&16711680|(h>>>8&65280|h>>>24)}l=f&255;f:{g:{if(w[a+114|0]){f=Ub[v[a+152>>2]](60)|0;if(!f){break g}v[f+4>>2]=711;v[f>>2]=712;j=v[a+700>>2];h:{if(j){v[j+8>>2]=f;break h}v[a+696>>2]=f}v[f+8>>2]=0;v[f+12>>2]=j;v[a+700>>2]=f;v[f+16>>2]=v[a+436>>2];v[f+20>>2]=v[a+440>>2];v[f+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=f}v[f+48>>2]=0;v[f+44>>2]=h;v[f+40>>2]=i;t[f+36|0]=l;v[f+32>>2]=g;t[f+28|0]=k;v[f+56>>2]=g}f=0;break f}pc(a,1,0,0);f=1}i:{if(f){break i}if(!(g|w[a+460|0])){t[a+460|0]=1}if(!w[a+112|0]){break a}f=Ub[v[b+4>>2]](a,b,e)|0;if(f){break i}b=v[e>>2];t[b+32|0]=w[d|0];f=w[d+1|0];j:{k:{if(!w[a+264|0]){v[b+36>>2]=w[d+4|0]|(w[d+2|0]<<16|f<<24|w[d+3|0]<<8);if((c|0)!=5){break k}break a}t[b+40|0]=f;f=w[d+2|0]|w[d+3|0]<<8|(w[d+4|0]<<16|w[d+5|0]<<24);v[b+36>>2]=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);if(c>>>0>9){break j}break a}t[b+40|0]=w[d+5|0];if(c>>>0>=10){break j}break a}f=w[d+6|0]|w[d+7|0]<<8|(w[d+8|0]<<16|w[d+9|0]<<24);v[b+44>>2]=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);if(c>>>0<14){break a}f=w[d+10|0]|w[d+11|0]<<8|(w[d+12|0]<<16|w[d+13|0]<<24);c=c-14|0;v[b+52>>2]=c>>>2;v[b+48>>2]=f<<8&16711680|f<<24|(f>>>8&65280|f>>>24);if(c>>>0<4){break a}b=Ub[v[a+152>>2]](c&-4)|0;v[v[e>>2]+56>>2]=b;e=v[e>>2];c=v[e+56>>2];if(!c){f=1;break b}f=0;if(!v[e+52>>2]){break i}d=d+14|0;b=0;while(1){a=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);v[c>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);d=d+4|0;c=c+4|0;b=b+1|0;if(b>>>0>2]){continue}break}}return f|0}pc(a,f,0,0);return f|0}return 0}function tIa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;l=v[a+372>>2];c=v[a+420>>2];e=v[a+24>>2];v[c+112>>2]=v[e>>2];v[c+116>>2]=v[e+4>>2];if(!(v[c+36>>2]|!v[a+236>>2])){xy(c,v[c+40>>2])}if(v[a+316>>2]>=1){while(1){e=k<<2;d=v[(e+a|0)+320>>2]<<2;h=v[(d+a|0)+292>>2];d=c+d|0;f=v[d+20>>2];e=u[v[b+e>>2]>>1]>>l;v[d+20>>2]=e;d=e-f|0;f=d>>31;i=d+f|0;e=0;a:{if(!d){break a}g=f^i;while(1){d=e;e=d+1|0;f=g>>>0>1;g=g>>>1|0;if(f){continue}break}if(d>>>0<11){break a}d=v[a>>2];v[d+20>>2]=6;Ub[v[d>>2]](a)}d=v[h+20>>2];b:{if(v[c+108>>2]){d=v[((d<<2)+c|0)+76>>2]+(e<<2)|0;v[d>>2]=v[d>>2]+1;break b}d=v[((d<<2)+c|0)+44>>2];f=v[d+(e<<2)>>2];g=v[c+16>>2];d=t[(d+e|0)+1024|0];if(!d){h=v[c+120>>2];j=v[h>>2];v[j+20>>2]=41;Ub[v[j>>2]](h);if(v[c+108>>2]){break b}}f=f&(-1<>2]|f<<24-d;if((d|0)>=8){while(1){f=v[c+112>>2];v[c+112>>2]=f+1;t[f|0]=g>>>16;f=v[c+116>>2]-1|0;v[c+116>>2]=f;if(!f){h=v[c+120>>2];f=v[h+24>>2];if(!(Ub[v[f+12>>2]](h)|0)){h=v[c+120>>2];j=v[h>>2];v[j+20>>2]=25;Ub[v[j>>2]](h)}v[c+112>>2]=v[f>>2];v[c+116>>2]=v[f+4>>2]}f=d;c:{if((g&16711680)!=16711680){break c}d=v[c+112>>2];v[c+112>>2]=d+1;t[d|0]=0;d=v[c+116>>2]-1|0;v[c+116>>2]=d;if(d){break c}h=v[c+120>>2];d=v[h+24>>2];if(!(Ub[v[d+12>>2]](h)|0)){h=v[c+120>>2];j=v[h>>2];v[j+20>>2]=25;Ub[v[j>>2]](h)}v[c+112>>2]=v[d>>2];v[c+116>>2]=v[d+4>>2]}d=f-8|0;g=g<<8;if((f|0)>15){continue}break}}v[c+16>>2]=d;v[c+12>>2]=g}if(!(v[c+108>>2]|!e)){d=i&(-1<>2]+e|0;g=v[c+12>>2]|d<<24-e;if((e|0)>=8){while(1){d=v[c+112>>2];v[c+112>>2]=d+1;t[d|0]=g>>>16;d=v[c+116>>2]-1|0;v[c+116>>2]=d;if(!d){f=v[c+120>>2];d=v[f+24>>2];if(!(Ub[v[d+12>>2]](f)|0)){f=v[c+120>>2];i=v[f>>2];v[i+20>>2]=25;Ub[v[i>>2]](f)}v[c+112>>2]=v[d>>2];v[c+116>>2]=v[d+4>>2]}d=e;d:{if((g&16711680)!=16711680){break d}e=v[c+112>>2];v[c+112>>2]=e+1;t[e|0]=0;e=v[c+116>>2]-1|0;v[c+116>>2]=e;if(e){break d}f=v[c+120>>2];e=v[f+24>>2];if(!(Ub[v[e+12>>2]](f)|0)){f=v[c+120>>2];i=v[f>>2];v[i+20>>2]=25;Ub[v[i>>2]](f)}v[c+112>>2]=v[e>>2];v[c+116>>2]=v[e+4>>2]}e=d-8|0;g=g<<8;if((d|0)>15){continue}break}}v[c+16>>2]=e;v[c+12>>2]=g}k=k+1|0;if((k|0)>2]){continue}break}}b=v[a+24>>2];v[b>>2]=v[c+112>>2];v[b+4>>2]=v[c+116>>2];a=v[a+236>>2];if(a){b=c;e=v[c+36>>2];if(e){a=e}else{v[c+36>>2]=a;v[c+40>>2]=v[c+40>>2]+1&7}v[b+36>>2]=a-1}return 1}function is(a,b,c,d,e,f,g,h,i,j,k){var l=0,m=0,n=0,o=0,p=0,q=0,r=0;o=Qb-16|0;Qb=o;t[a+67|0]=0;a:{if(b){m=Qb-48|0;Qb=m;v[m+12>>2]=0;n=v[d>>2];n=oG(b,c,0,0,n,e-n>>1,m+12|0,t[a+35|0],j);b:{if((n|0)>=2){j=v[m+12>>2];if((j&520093696)==16777216&w[v[a+24>>2]+200|0]==219){break b}v[d>>2]=(v[d>>2]+(n<<1)|0)-4;l=j>>>24&31;c:{if(l>>>0<=3){e=m+16|1;d=e;b=e;d:{switch(l-1|0){case 2:t[m+17|0]=j>>>16;d=m+16|2;case 1:t[d|0]=j>>>8;b=d+1|0;break;case 0:break d;default:break c}}t[b|0]=j;break c}e=(v[b+32>>2]+b|0)+(j&16777215)|0}b=v[a+52>>2];e:{if(!b){break e}d=2;f:{if(!((l|0)!=1|(b|0)<2)){b=15;d=1;break f}if((b|0)!=1){break e}b=14;if(l>>>0<2){break e}}v[a+52>>2]=d;t[m+16|0]=b;b=m+16|1;if((b|0)!=(e|0)){gc(b,e,l)}l=l+1|0;e=m+16|0}Fh(a,e,l,f,g,h,i,k);l=1;break b}if((n|0)<=-1){v[a+180>>2]=c;e=v[d>>2];g:{if((n|0)>-3){break g}j=-2-n|0;b=j&3;if(-3-n>>>0>=3){j=j&-4;p=a+184|0;while(1){q=l<<1;u[q+p>>1]=x[e>>1];u[(q|2)+p>>1]=x[e+2>>1];u[(q|4)+p>>1]=x[e+4>>1];u[(q|6)+p>>1]=x[e+6>>1];l=l+4|0;e=e+8|0;j=j-4|0;if(j){continue}break}}if(!b){break g}while(1){u[((l<<1)+a|0)+184>>1]=x[e>>1];l=l+1|0;e=e+2|0;b=b-1|0;if(b){continue}break}}v[d>>2]=e;t[a+253|0]=-2-n;l=1;break b}if((n|0)!=1){break b}t[a+67|0]=1}Qb=m+48|0;if(l){break a}}h:{i:{if(!(w[a+29|0]&128)){break i}if(c>>>0>=65536){if(c>>>0>1114111){break i}b=-65536;d=846608;break h}j:{if(c>>>0>=40870){if(c>>>0>55295){break j}b=-40870;d=846624;break h}if(c>>>0<1106){break i}if(c>>>0<7743){b=-1106;d=846640;break h}if((c|0)==7743){break i}if(c>>>0>=8208){break j}b=-7744;d=846656;break h}b=-59493;d=846672;if(c-59493>>>0<4295){break h}if(c>>>0<9795){break i}if(c>>>0<11905){b=-9795;d=846688;break h}b=-64042;d=846704;if(c-64042>>>0<1030){break h}b=-15585;d=846720;if(c-15585>>>0<885){break h}if(c>>>0<13851){break i}if(c>>>0<14616){b=-13851;d=846736;break h}b=-18872;d=846752;if(c-18872>>>0<703){break h}if(c>>>0<16736){break i}if(c>>>0<17207){b=-16736;d=846768;break h}b=-18318;d=846784;if(c-18318>>>0<441){break h}if(c>>>0<17623){break i}if(c>>>0<17996){b=-17623;d=846800;break h}b=-65510;d=846816;if(c-65510>>>0<=25){break h}}v[k>>2]=10;r=c;break a}b=(v[d+8>>2]+(b+c|0)|0)-1687218|0;t[o+12|0]=((b>>>0)/12600|0)-127;t[o+13|0]=((b>>>0)/1260>>>0)%10|48;c=(b>>>0)/10|0;t[o+14|0]=((c>>>0)%126|0)-127;t[o+15|0]=b-B(c,10)|48;Fh(a,o+12|0,4,f,g,h,i,k)}Qb=o+16|0;return r}function pFa(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,p=0,q=0,r=0,s=0,t=0,u=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;G=Qb-224|0;Qb=G;e=a;while(1){a:{d=v[(r<<2)+b>>2]+c|0;f=w[d+10|0];t=e;x=w[d+12|0];H=w[d+2|0];I=x+H|0;J=w[d+7|0];u=I+J|0;j=w[d+9|0];h=w[d+5|0];l=j+h|0;g=w[d+4|0];m=g+f|0;i=w[d+14|0];k=w[d|0];n=i+k|0;s=l+(m+n|0)|0;y=w[d+8|0];z=w[d+6|0];o=y+z|0;A=w[d+11|0];C=w[d+3|0];p=A+C|0;D=w[d+13|0];E=w[d+1|0];q=D+E|0;F=o+(p+q|0)|0;v[e>>2]=(u+(s+F|0)|0)-1920;d=k-i|0;g=g-f|0;f=h-j|0;i=E-D|0;j=C-A|0;h=z-y|0;v[e+12>>2]=(B(d-(g+f|0)|0,11018)+B(i-(j+h|0)|0,6810)|0)+4096>>13;k=u<<1;v[e+24>>2]=(B(s-k|0,9373)+B(F-k|0,-3580)|0)+4096>>13;k=H-x|0;s=B(k,10033);u=((B(d,-2912)+B(i,-17828)|0)-s|0)+B(f,-7121)|0;i=(B(f+j|0,4712)+B(g+i|0,11018)|0)+B(d-h|0,11522)|0;v[e+28>>2]=(u+i|0)+4096>>13;v[e+20>>2]=B(h+(f+(d-(j+k|0)|0)|0)|0,10033)+4096>>13;v[e+4>>2]=(i+(((s+B(j,3897)|0)+B(g,-4209)|0)+B(h,13930)|0)|0)+4096>>13;f=((B(q-m|0,6476)+B(n-p|0,11332)|0)+B(o-l|0,7752)|0)+4096|0;d=(I+(m+q>>>1|0)|0)-(J<<1)|0;v[e+16>>2]=(f+B(l-d|0,6541)|0)+B(n-d|0,-748)>>13;v[e+8>>2]=(f+B(p-d|0,12543)|0)+B(o-d|0,-18336)>>13;f=r-7|0;d=7;r=r+1|0;e=G;b:{switch(f|0){case 0:continue;case 7:break a;default:break b}}e=t+32|0;continue}break}while(1){f=v[e+128>>2];m=v[a>>2];n=v[e+192>>2];b=m-n|0;l=v[a+128>>2];p=v[e+64>>2];j=l-p|0;q=v[a+160>>2];o=v[e+32>>2];c=q-o|0;g=v[a+32>>2];i=v[e+160>>2];h=g-i|0;k=v[a+96>>2];s=v[e+96>>2];t=k-s|0;A=v[a+192>>2];C=v[e>>2];r=A-C|0;v[a+96>>2]=(B(b-(j+c|0)|0,12536)+B(h-(t+r|0)|0,7748)|0)+16384>>15;l=l+p|0;m=m+n|0;n=q+o|0;D=(l+m|0)+n|0;E=v[a+224>>2];y=v[a+64>>2];z=y+f|0;F=E+z|0;x=F<<1;o=A+C|0;p=k+s|0;q=g+i|0;g=o+(p+q|0)|0;v[a+192>>2]=(B(D-x|0,10664)+B(g-x|0,-4073)|0)+16384>>15;v[a>>2]=B(F+(g+D|0)|0,9321)+16384>>15;f=y-f|0;g=B(f,11415);u=((B(b,-3314)+B(h,-20284)|0)-g|0)+B(c,-8102)|0;h=(B(c+t|0,5361)+B(h+j|0,12536)|0)+B(b-r|0,13109)|0;v[a+224>>2]=(u+h|0)+16384>>15;v[a+160>>2]=B(r+(c+(b-(f+t|0)|0)|0)|0,11415)+16384>>15;v[a+32>>2]=(h+(((g+B(t,4434)|0)+B(j,-4788)|0)+B(r,15850)|0)|0)+16384>>15;c=((B(q-l|0,7369)+B(m-p|0,12893)|0)+B(o-n|0,8820)|0)+16384|0;b=(z+(l+q>>1)|0)-(E<<1)|0;v[a+128>>2]=(c+B(n-b|0,7442)|0)+B(m-b|0,-852)>>15;v[a+64>>2]=(c+B(p-b|0,14271)|0)+B(o-b|0,-20862)>>15;b=d;d=d-1|0;e=e+4|0;a=a+4|0;if(b){continue}break}Qb=G+224|0}function yEa(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,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;g=Qb-32|0;Qb=g;v[a>>2]=896232;v[g+16>>2]=13;v[g>>2]=13;v[a+1064>>2]=0;b=a+1056|0;v[b>>2]=0;v[b+4>>2]=0;v[a+1048>>2]=0;v[a+1052>>2]=0;a:{b:{if(!oy(a,c)){break b}if(v[a+4>>2]!=1){kc(1,-1,225401,0);break b}c:{if(v[rc(c,235498,g+16|0,0)>>2]==6){b=v[v[g+24>>2]+12>>2];if((b|0)>0){break c}}kc(1,-1,246710,0);break b}v[a+1044>>2]=b;p=a,q=ed(b,4),v[p+1048>>2]=q;p=a,q=ed(v[a+1044>>2]+1|0,8),v[p+1052>>2]=q;p=a,q=ed(v[a+1044>>2]<<1,8),v[p+1056>>2]=q;p=a,q=ed(v[a+1044>>2],8),v[p+1060>>2]=q;d:{e:{h=v[a+1044>>2];f:{if((h|0)<1){break f}i=a+1048|0;k=h&3;b=0;if(h-1>>>0>=3){l=h&-4;while(1){j=b<<2;v[j+v[i>>2]>>2]=0;v[v[i>>2]+(j|4)>>2]=0;v[v[i>>2]+(j|8)>>2]=0;v[v[i>>2]+(j|12)>>2]=0;b=b+4|0;l=l-4|0;if(l){continue}break}}if(k){while(1){v[v[i>>2]+(b<<2)>>2]=0;b=b+1|0;k=k-1|0;if(k){continue}break}}b=0;if((h|0)<=0){break f}k=f+1|0;while(1){f=vg(yc(v[g+24>>2],b,g,0),d,e,k);j=b<<2;v[j+v[i>>2]>>2]=f;if(!f){break d}h=v[i>>2];if(!b){v[a+8>>2]=v[v[h>>2]+8>>2]}f=246976;h=v[h+j>>2];if(v[h+4>>2]!=1|v[h+8>>2]!=v[a+8>>2]){break e}hc(g);b=b+1|0;if((b|0)>2]){continue}break}}b=g+16|0;hc(b);g:{if(v[rc(c,236933,b,0)>>2]==6){d=v[a+1044>>2];if(v[v[g+24>>2]+12>>2]==(d-1|0)){break g}}kc(1,-1,246758,0);break b}b=v[a+1052>>2];A[b>>3]=A[a+16>>3];if((d|0)>=2){b=1;while(1){if(v[yc(v[g+24>>2],b-1|0,g,0)>>2]-1>>>0>1){f=246870;break e}A[v[a+1052>>2]+(b<<3)>>3]=v[g>>2]==1?+v[g+8>>2]:A[g+8>>3];hc(g);b=b+1|0;d=v[a+1044>>2];if((b|0)<(d|0)){continue}break}b=v[a+1052>>2]}A[b+(d<<3)>>3]=A[a+24>>3];b=g+16|0;hc(b);h:{if(v[rc(c,284030,b,0)>>2]!=6){break h}c=v[g+24>>2];b=v[a+1044>>2];if(v[c+12>>2]!=b<<1){break h}i:{if((b|0)<1){break i}b=0;f=246923;if(v[yc(c,0,g,0)>>2]-1>>>0>1){break e}while(1){A[v[a+1056>>2]+(b<<3)>>3]=v[g>>2]==1?+v[g+8>>2]:A[g+8>>3];hc(g);b=b+1|0;if((b|0)>=v[a+1044>>2]<<1){break i}if(v[yc(v[g+24>>2],b,g,0)>>2]-1>>>0<=1){continue}break}break e}hc(g+16|0);e=v[a+1044>>2];if((e|0)>=1){f=v[a+1060>>2];i=v[a+1056>>2];d=v[a+1052>>2];b=0;while(1){m=0;h=b<<3;n=A[h+d>>3];c=b+1|0;o=A[d+(c<<3)>>3];if(n!=o){b=i+(b<<4)|0;m=(A[b+8>>3]-A[b>>3])/(o-n)}A[f+h>>3]=m;b=c;if((e|0)!=(b|0)){continue}break}}v[a+1064>>2]=1;break a}kc(1,-1,246814,0);break b}kc(1,-1,f,0)}hc(g)}hc(g+16|0)}Qb=g+32|0;return a|0}function xea(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=Qb-32|0;Qb=e;v[e+16>>2]=0;v[e+20>>2]=v[282402];a:{b:{c:{while(1){f=a;a=a+1|0;g=t[f|0];d=g;if((d|0)==32|d-9>>>0<5){continue}d=f;while(1){d:{a=g&255;h=a-47|0;if((1<>>0<=15:0)|!a){break d}a=g<<24>>24;if((a|0)==32|a-9>>>0<5){break d}g=w[d+1|0];d=d+1|0;continue}break}v[299999]=0;a=Y(4605,e+24|0,f|0,d-f|0)|0;f=v[299999];v[299999]=0;e:{if((f|0)!=1){v[299999]=0;f=Q(4535,e+16|0,a|0)|0;g=v[299999];v[299999]=0;f:{g:{h:{if((g|0)!=1){f=v[f>>2];if(!f){ec(a);break a}f=v[f+8>>2];ec(a);if(!f){break a}if(c){v[299999]=0;V(4563,e+24|0,e+16|0);a=v[299999];v[299999]=0;if((a|0)==1){break h}v[299999]=0;Q(4535,e+16|0,e+24|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break g}ec(e+24|0)}v[e>>2]=0;v[e+4>>2]=v[282402];if(w[d|0]==61){break f}a=d;break e}g=P()|0;O()|0;ec(a);break b}g=P()|0;O()|0;break b}g=P()|0;O()|0;ec(e+24|0);break b}f=d+1|0;a=f;i:{j:{g=w[d+1|0];switch(g-34|0){case 0:case 5:break j;default:break i}}h=d+2|0;a=h;f=a;d=w[d+2|0];k:{if((g|0)==(d|0)){break k}while(1){if(!d){f=a;break k}if((d|0)==62){f=a;break k}d=w[a+1|0];f=a+1|0;a=f;if((d|0)!=(g|0)){continue}break}}v[299999]=0;a=Y(4605,e+24|0,h|0,f-h|0)|0;d=v[299999];v[299999]=0;l:{if((d|0)!=1){v[299999]=0;Q(4535,e|0,a|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break l}ec(a);a=(w[f|0]==(g|0))+f|0;break e}g=P()|0;O()|0;ec(e);break b}g=P()|0;O()|0;ec(a);ec(e);break b}while(1){m:{n:{o:{d=g&255;switch(d-47|0){case 0:case 15:break m;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:break n;default:break o}}if(!d){break m}}d=g<<24>>24;if((d|0)==32|d-9>>>0<5){break m}g=w[a+1|0];a=a+1|0;continue}break}v[299999]=0;d=Y(4605,e+24|0,f|0,a-f|0)|0;f=v[299999];v[299999]=0;p:{if((f|0)!=1){v[299999]=0;Q(4535,e|0,d|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break p}ec(d);break e}g=P()|0;O()|0;ec(e);break b}g=P()|0;O()|0;ec(d);ec(e);break b}g=P()|0;O()|0;break b}v[299999]=0;V(4967,e+8|0,e|0);d=v[299999];v[299999]=0;if((d|0)!=1){v[299999]=0;d=Q(4609,b|0,e+16|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break c}v[299999]=0;Q(4535,d+24|0,e+8|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break c}ec(e+8|0);ec(e);continue}break}g=P()|0;O()|0;ec(e);break b}g=P()|0;O()|0;ec(e+8|0);ec(e)}ec(e+16|0);T(g|0);L()}ec(e+16|0);Qb=e+32|0}function ao(a,b,c,d){var e=0,f=0,g=0;if(!(!a|!b)){f=v[b+56>>2];a:{if(!f|!(v[b+184>>2]&c&16384)){break a}if((d|0)==-1){e=1;g=a;if(v[b+48>>2]>=1){Zc(a,v[f+4>>2]);if(v[b+48>>2]>1){while(1){Zc(a,v[(v[b+56>>2]+B(e,28)|0)+4>>2]);e=e+1|0;if((e|0)>2]){continue}break}}f=v[b+56>>2]}Zc(g,f);v[b+48>>2]=0;v[b+56>>2]=0;break a}e=B(d,28);Zc(a,v[(e+f|0)+4>>2]);v[(e+v[b+56>>2]|0)+4>>2]=0}e=v[b+184>>2];if(e&c&8192){v[b+8>>2]=v[b+8>>2]&-17;Zc(a,v[b+76>>2]);u[b+22>>1]=0;v[b+76>>2]=0;e=v[b+184>>2]}if(c&e&256){Zc(a,v[b+224>>2]);Zc(a,v[b+228>>2]);v[b+224>>2]=0;v[b+228>>2]=0;v[b+8>>2]=v[b+8>>2]&-16385;e=v[b+184>>2]}if(c&e&128){Zc(a,v[b+160>>2]);Zc(a,v[b+172>>2]);v[b+172>>2]=0;v[b+160>>2]=0;e=v[b+176>>2];if(e){f=a;if(w[b+181|0]){Zc(a,v[e>>2]);if(w[b+181|0]>=2){e=1;while(1){Zc(a,v[v[b+176>>2]+(e<<2)>>2]);e=e+1|0;if(e>>>0>2]}Zc(f,e);v[b+176>>2]=0}v[b+8>>2]=v[b+8>>2]&-1025;e=v[b+184>>2]}if(c&e&16){Zc(a,v[b+196>>2]);Zc(a,v[b+200>>2]);v[b+196>>2]=0;v[b+200>>2]=0;v[b+8>>2]=v[b+8>>2]&-4097}f=v[b+212>>2];b:{if(!f|!(v[b+184>>2]&c&32)){break b}if((d|0)==-1){e=1;g=a;if(v[b+216>>2]>=1){Zc(a,v[f>>2]);Zc(a,v[v[b+212>>2]+8>>2]);if(v[b+216>>2]>1){while(1){f=e<<4;Zc(a,v[f+v[b+212>>2]>>2]);Zc(a,v[(f+v[b+212>>2]|0)+8>>2]);e=e+1|0;if((e|0)>2]){continue}break}}f=v[b+212>>2]}Zc(g,f);v[b+212>>2]=0;v[b+216>>2]=0;v[b+8>>2]=v[b+8>>2]&-8193;break b}e=d<<4;Zc(a,v[e+f>>2]);Zc(a,v[(e+v[b+212>>2]|0)+8>>2]);e=e+v[b+212>>2]|0;v[e+8>>2]=0;v[e>>2]=0}f=v[b+188>>2];c:{if(!f|!(v[b+184>>2]&c&512)){break c}if((d|0)==-1){e=1;g=a;if(v[b+192>>2]>=1){Zc(a,v[f+8>>2]);if(v[b+192>>2]>1){while(1){Zc(a,v[(v[b+188>>2]+B(e,20)|0)+8>>2]);e=e+1|0;if((e|0)>2]){continue}break}}f=v[b+188>>2]}Zc(g,f);v[b+188>>2]=0;v[b+192>>2]=0;break c}e=B(d,20);Zc(a,v[(e+f|0)+8>>2]);v[(e+v[b+188>>2]|0)+8>>2]=0}e=v[b+184>>2];if(e&c&8){Zc(a,v[b+124>>2]);v[b+124>>2]=0;v[b+8>>2]=v[b+8>>2]&-65;e=v[b+184>>2]}if(c&e&4096){Zc(a,v[b+16>>2]);v[b+16>>2]=0;u[b+20>>1]=0;v[b+8>>2]=v[b+8>>2]&-9;e=v[b+184>>2]}if(c&e&64){f=v[b+232>>2];if(f){g=a;if(v[b+4>>2]){Zc(a,v[f>>2]);if(y[b+4>>2]>=2){e=1;while(1){Zc(a,v[v[b+232>>2]+(e<<2)>>2]);e=e+1|0;if(e>>>0>2]){continue}break}}f=v[b+232>>2]}Zc(g,f);v[b+232>>2]=0;e=v[b+184>>2]}v[b+8>>2]=v[b+8>>2]&-32769}v[b+184>>2]=(((d|0)==-1?c:c&-16929)^-1)&e}}function u9a(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,n=0;a:{b:{if(w[a+286|0]|!w[a+285|0]|(w[a+287|0]|w[a+288|0])){break b}if(w[a+289|0]){break b}c:{if(c>>>0>=41){c=c-11|0;g=(c>>>0)/30|0;if((B(g,30)|0)==(c|0)){break c}}pc(a,1028,0,0);return 1028}c=w[d+7|0]|w[d+8|0]<<8|(w[d+9|0]<<16|w[d+10|0]<<24);h=w[d+3|0]|w[d+4|0]<<8|(w[d+5|0]<<16|w[d+6|0]<<24);f=w[d|0]|w[d+1|0]<<8;l=w[d+2|0];j=B(g,36);i=Ub[v[a+152>>2]](j)|0;if(!i){break a}m=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);h=h<<8&16711680|h<<24|(h>>>8&65280|h>>>24);n=f<<8|f>>>8;c=d+11|0;d=i;while(1){f=w[c|0]|w[c+1|0]<<8;u[d>>1]=f<<8|f>>>8;t[d+2|0]=w[c+2|0];t[d+3|0]=w[c+3|0];t[d+4|0]=w[c+4|0];f=w[c+5|0]|w[c+6|0]<<8|(w[c+7|0]<<16|w[c+8|0]<<24);v[d+8>>2]=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=w[c+9|0]|w[c+10|0]<<8|(w[c+11|0]<<16|w[c+12|0]<<24);v[d+12>>2]=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);t[d+16|0]=w[c+13|0];f=w[c+14|0]|w[c+15|0]<<8|(w[c+16|0]<<16|w[c+17|0]<<24);v[d+20>>2]=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=w[c+18|0]|w[c+19|0]<<8|(w[c+20|0]<<16|w[c+21|0]<<24);v[d+24>>2]=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=w[c+22|0]|w[c+23|0]<<8|(w[c+24|0]<<16|w[c+25|0]<<24);v[d+28>>2]=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=w[c+26|0]|w[c+27|0]<<8|(w[c+28|0]<<16|w[c+29|0]<<24);v[d+32>>2]=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);c=c+30|0;d=d+36|0;k=k+1|0;if((k|0)!=(g|0)){continue}break}d=n&65535;d:{e:{f:{if(!w[a+114|0]){break f}c=Ub[v[a+152>>2]](48)|0;if(!c){break e}v[c+4>>2]=749;v[c>>2]=750;f=v[a+700>>2];g:{if(f){v[f+8>>2]=c;break g}v[a+696>>2]=c}v[c+8>>2]=0;v[c+12>>2]=f;v[a+700>>2]=c;v[c+16>>2]=v[a+436>>2];v[c+20>>2]=v[a+440>>2];v[c+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=c}v[c+40>>2]=g;v[c+36>>2]=m;v[c+32>>2]=h;t[c+30|0]=l;u[c+28>>1]=d;if(!g){break f}k=c;f=B(g,36);c=Ub[v[a+152>>2]](f)|0;v[k+44>>2]=c;if(!c){break e}gc(c,i,f)}c=X0(a,d,l,h,m,g,i);break d}pc(a,1,0,0);c=1}if(c){Ub[v[a+156>>2]](i,j);return c|0}if(w[a+112|0]){b=Ub[v[b+4>>2]](a,b,e)|0;if(b){Ub[v[a+156>>2]](i,j);return b|0}b=v[e>>2];v[b+44>>2]=g;v[b+40>>2]=m;v[b+36>>2]=h;t[b+34|0]=l;u[b+32>>1]=n;b=Ub[v[a+152>>2]](j)|0;v[v[e>>2]+48>>2]=b;b=v[v[e>>2]+48>>2];if(!b){break a}gc(b,i,j)}Ub[v[a+156>>2]](i,j);return 0}pc(a,1029,0,0);return 1029}pc(a,1,0,0);return 1}function dRa(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,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,z=0,A=0,C=0,D=0;C=Qb-352|0;Qb=C;z=v[a+332>>2];a=v[b+84>>2];b=C;while(1){q=v[a+224>>2];r=u[c+112>>1];g=v[a+96>>2];j=u[c+48>>1];n=v[a+160>>2];o=u[c+80>>1];k=v[a+32>>2];s=u[c+16>>1];f=B(u[c>>1],v[a>>2])<<13|1024;l=B(v[a+192>>2],u[c+96>>1]);m=B(v[a+64>>2],u[c+32>>1]);p=l+m|0;h=B(v[a+128>>2],u[c+64>>1]);x=p-h|0;v[b+160>>2]=f+B(x,-11585)>>11;g=B(g,j);k=B(k,s);i=g+k|0;s=B(i,7274);j=B(n,o);n=B(j+k|0,5492);q=B(q,r);r=B(q+(j+i|0)|0,3264);o=f+B(x,11116)|0;x=o+B(h-l|0,20862)|0;f=x+B(l,17333)|0;i=n+(s+B(k,-7562)|0)|0;k=r+B(k+q|0,3e3)|0;i=i+k|0;v[b+320>>2]=f-i>>11;v[b>>2]=f+i>>11;f=B(l,-6461);l=o+B(p,-9467)|0;p=f+l|0;f=n+B(j,-9766)|0;n=r+B(g+j|0,-9527)|0;f=f+n|0;v[b+256>>2]=p-f>>11;v[b+64>>2]=p+f>>11;f=o;o=B(h-m|0,3529);p=(f+o|0)+B(m,-12399)|0;f=k;k=B(g+q|0,-14731);f=f+(k+B(q,17223)|0)|0;v[b+224>>2]=p-f>>11;v[b+96>>2]=p+f>>11;l=l+(B(h,15929)+B(m,-11395)|0)|0;j=r+((B(j,8203)+B(g,-12019)|0)+B(q,-13802)|0)|0;v[b+192>>2]=l-j>>11;v[b+128>>2]=j+l>>11;h=o+(x+B(h,-14924)|0)|0;g=n+(k+(s+B(g,16984)|0)|0)|0;v[b+288>>2]=h-g>>11;v[b+32>>2]=g+h>>11;b=b+4|0;a=a+4|0;c=c+2|0;y=y+1|0;if((y|0)!=8){continue}break}b=z+128|0;l=0;a=C;while(1){h=v[a+12>>2];m=v[a+4>>2];c=h+m|0;o=B(c,7274);g=v[a+20>>2];z=B(g+m|0,5492);j=v[a+28>>2];k=B(j+(c+g|0)|0,3264);f=(v[a>>2]<<13)+131072|0;r=v[a+24>>2];s=v[a+8>>2];p=r+s|0;q=v[a+16>>2];x=p-q|0;n=f+B(x,11116)|0;c=v[(l<<2)+d>>2]+e|0;i=z+(o+B(m,-7562)|0)|0;m=k+B(j+m|0,3e3)|0;i=i+m|0;y=n+B(q-r|0,20862)|0;A=y+B(r,17333)|0;t[c|0]=w[b+(i+A>>>18&1023)|0];t[c+10|0]=w[b+(A-i>>>18&1023)|0];i=k+B(g+h|0,-9527)|0;A=o+B(h,16984)|0;o=B(j+h|0,-14731);A=i+(A+o|0)|0;D=B(q-s|0,3529);y=D+(y+B(q,-14924)|0)|0;t[c+1|0]=w[b+(A+y>>>18&1023)|0];t[c+9|0]=w[b+(y-A>>>18&1023)|0];z=i+(z+B(g,-9766)|0)|0;i=B(r,-6461);r=n+B(p,-9467)|0;p=i+r|0;t[c+2|0]=w[b+(z+p>>>18&1023)|0];t[c+8|0]=w[b+(p-z>>>18&1023)|0];m=m+(o+B(j,17223)|0)|0;n=(n+D|0)+B(s,-12399)|0;t[c+3|0]=w[b+(m+n>>>18&1023)|0];t[c+7|0]=w[b+(n-m>>>18&1023)|0];h=k+((B(g,8203)+B(h,-12019)|0)+B(j,-13802)|0)|0;g=r+(B(q,15929)+B(s,-11395)|0)|0;t[c+4|0]=w[b+(h+g>>>18&1023)|0];t[c+6|0]=w[b+(g-h>>>18&1023)|0];t[c+5|0]=w[b+(f+B(x,-11585)>>>18&1023)|0];a=a+32|0;l=l+1|0;if((l|0)!=11){continue}break}Qb=C+352|0}function OR(a,b,c){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,p=0,q=0,r=0,s=0,u=0,y=0,z=0;while(1){d=k<<2;e=d+967696|0;f=(k<<1)+a|0;d=b+d|0;g=v[d+4>>2];a:{b:{i=v[d+8>>2];if(g|i){break b}i=0;if(v[d+12>>2]|v[d+16>>2]|(v[d+20>>2]|v[d+24>>2])){break b}if(v[d+28>>2]){break b}e=B(v[e>>2],B(v[d>>2],x[f>>1]));e=k?e:e+4096|0;v[d+28>>2]=e;v[d+24>>2]=e;v[d+20>>2]=e;v[d+16>>2]=e;v[d+12>>2]=e;v[d+8>>2]=e;v[d+4>>2]=e;v[d>>2]=e;break a}i=B(v[e+8>>2],B(x[f+4>>1],i));l=(i>>5)+i|0;j=l>>2;h=B(v[e+24>>2],B(v[d+24>>2],x[f+12>>1]));r=(h>>5)+h|0;m=r>>2;h=m+((l-j|0)+(h>>4)|0)|0;l=B(v[e+16>>2],B(v[d+16>>2],x[f+8>>1]));n=B(v[e>>2],B(v[d>>2],x[f>>1]));n=k?n:n+4096|0;s=l+n|0;o=h+s|0;p=B(v[e+4>>2],B(g,x[f+2>>1]));q=B(v[e+28>>2],B(v[d+28>>2],x[f+14>>1]));u=p-q|0;y=B(v[e+20>>2],B(v[d+20>>2],x[f+10>>1]));g=u+y|0;z=B(v[e+12>>2],B(v[d+12>>2],x[f+6>>1]));p=p+q|0;e=z+p|0;f=(e>>9)-e|0;f=(g>>1)+((f>>2)-f|0)|0;v[d+28>>2]=o-f;v[d>>2]=f+o;f=s-h|0;g=(g>>9)-g|0;e=(g>>2)-(g+(e>>1)|0)|0;v[d+16>>2]=f-e;v[d+12>>2]=e+f;e=u-y|0;f=(e>>3)-(e>>7)|0;j=j+(i>>4)+(m-r)|0;h=n-l|0;m=j+h|0;g=p-z|0;i=(g>>3)-(g>>7)|0;l=(i-(g>>11)>>1)+i+(e-f)|0;v[d+24>>2]=m-l;v[d+4>>2]=m+l;j=h-j|0;e=g-((f+i|0)+(f-(e>>11)>>1)|0)|0;v[d+20>>2]=j-e;v[d+8>>2]=e+j}d=k>>>0<56;k=k+8|0;if(d){continue}break}k=0;while(1){d=(k<<2)+b|0;e=v[d+32>>2];c:{d:{a=v[d+64>>2];if(e|a){break d}a=0;if(v[d+96>>2]|v[d+128>>2]|(v[d+160>>2]|v[d+192>>2])){break d}if(v[d+224>>2]){break d}a=v[d>>2];v[d+224>>2]=a;v[d+192>>2]=a;v[d+160>>2]=a;v[d+128>>2]=a;v[d+96>>2]=a;v[d+64>>2]=a;v[d+32>>2]=a;break c}f=v[d+192>>2];j=(f>>5)+f|0;g=j>>2;h=(a>>5)+a|0;i=h>>2;m=v[d+128>>2];l=v[d>>2];r=m+l|0;h=g+(f>>4)+(h-i)|0;n=r-h|0;s=v[d+160>>2];o=v[d+224>>2];p=e-o|0;f=s+p|0;q=(f>>9)-f|0;o=e+o|0;u=v[d+96>>2];e=o+u|0;q=(q>>2)-(q+(e>>1)|0)|0;v[d+128>>2]=n-q;v[d+96>>2]=n+q;h=h+r|0;e=(e>>9)-e|0;e=((e>>2)-e|0)+(f>>1)|0;v[d+224>>2]=h-e;v[d>>2]=e+h;e=p-s|0;f=(e>>3)-(e>>7)|0;i=i+(a>>4)+(g-j)|0;j=l-m|0;h=i+j|0;a=o-u|0;g=(a>>3)-(a>>7)|0;m=(g-(a>>11)>>1)+g+(e-f)|0;v[d+192>>2]=h-m;v[d+32>>2]=h+m;i=j-i|0;a=a-((f+g|0)+(f-(e>>11)>>1)|0)|0;v[d+160>>2]=i-a;v[d+64>>2]=a+i}k=k+1|0;if((k|0)!=8){continue}break}a=0;while(1){t[a+c|0]=w[((v[(a<<2)+b>>2]>>>13|0)+512&1023)+1177328|0];d=a|1;t[d+c|0]=w[((v[(d<<2)+b>>2]>>>13|0)+512&1023)+1177328|0];a=a+2|0;if((a|0)!=64){continue}break}}function eR(a){var b=0,c=0,d=0,e=0;a:{if(v[a+1168>>2]>=0){v[299999]=0;R(3098,a+1176|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}if(v[a+1192>>2]>-1){v[299999]=0;R(3098,a+1200|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}if(v[a+1216>>2]>=0){v[299999]=0;R(3098,a+1224|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}if(v[a+1240>>2]>=0){v[299999]=0;R(3098,a+1248|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}if(v[a+1264>>2]>=0){v[299999]=0;R(3098,a+1272|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}if(v[a+1288>>2]>=0){v[299999]=0;R(3098,a+1296|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}if(v[a+1312>>2]>=0){v[299999]=0;R(3098,a+1320|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}if(v[a+1336>>2]>=0){v[299999]=0;R(3098,a+1344|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}if(v[a+1360>>2]>=0){v[299999]=0;R(3098,a+1368|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}if(v[a+1384>>2]>=0){v[299999]=0;R(3098,a+1392|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}if(v[a+1408>>2]>=0){v[299999]=0;R(3098,a+1416|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}if(v[a+1432>>2]>=0){v[299999]=0;R(3098,a+1440|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}if(v[a+1456>>2]>=0){v[299999]=0;R(3098,a+1464|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}if(v[a+1480>>2]>=0){v[299999]=0;R(3098,a+1488|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}if(v[a+1504>>2]>=0){v[299999]=0;R(3098,a+1512|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}if(v[a+1528>>2]>=0){v[299999]=0;R(3098,a+1536|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a+8>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}v[299999]=0;R(3098,a+40|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+64>>2];if(b){v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a+72>>2];if(b){v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}}while(1){b=v[((e<<2)+a|0)+80>>2];if(b){c=v[b+8>>2];b:{if(!c){break b}d=0;if(v[b+4>>2]>=1){while(1){v[299999]=0;R(3098,(d<<4)+c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}c=v[b+8>>2];d=d+1|0;if((d|0)>2]){continue}break}if(!c){break b}}dc(c)}c=v[b+12>>2];v[299999]=0;uc(c);c=v[299999];v[299999]=0;if((c|0)==1){break a}dc(b)}e=e+1|0;if((e|0)!=128){continue}break}return a}W(0)|0;O()|0;lc();L()}function kia(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=Qb-16|0;Qb=e;v[a>>2]=0;a:{b:{c:{d:{if(v[d>>2]){v[299999]=0;v[e>>2]=0;Q(4336,e|0,0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break d}f=v[v[b>>2]+32>>2];v[299999]=0;$(f|0,e+8|0,b|0,d|0,e|0);d=v[299999];v[299999]=0;e:{f:{g:{h:{if((d|0)!=1){v[299999]=0;Q(4344,a|0,e+8|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break h}d=v[e+8>>2];v[e+8>>2]=0;i:{if(!d){break i}v[299999]=0;f=v[d+4>>2]-1|0;v[d+4>>2]=f;g=v[299999];v[299999]=0;if((g|0)==1){break a}if(f){break i}v[299999]=0;R(4338,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break a}}d=v[e>>2];v[e>>2]=0;j:{if(!d){break j}v[299999]=0;f=v[d+4>>2]-1|0;v[d+4>>2]=f;g=v[299999];v[299999]=0;if((g|0)==1){break a}if(f){break j}v[299999]=0;R(4338,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break a}}if(!c|!w[c|0]){break b}d=v[a>>2];if(!d){break e}d=v[d+12>>2];v[299999]=0;$(5160,e+8|0,b|0,c|0,d|0);b=v[299999];v[299999]=0;if((b|0)==1){break g}v[299999]=0;Q(4344,a|0,e+8|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break f}a=v[e+8>>2];v[e+8>>2]=0;if(!a){break b}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break b}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}break b}c=P()|0;O()|0;ec(e);break c}c=P()|0;O()|0;ec(e+8|0);ec(e);break c}c=P()|0;O()|0;break c}c=P()|0;O()|0;ec(e+8|0);break c}v[299999]=0;U(5159,e+8|0,b|0,c|0);b=v[299999];v[299999]=0;k:{if((b|0)!=1){v[299999]=0;Q(4344,a|0,e+8|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break k}a=v[e+8>>2];v[e+8>>2]=0;if(!a){break b}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break b}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}}break a}c=P()|0;O()|0;break c}c=P()|0;O()|0;ec(e+8|0);break c}if(!c|!w[c|0]){break b}v[299999]=0;U(5159,e+8|0,b|0,c|0);b=v[299999];v[299999]=0;l:{if((b|0)!=1){v[299999]=0;Q(4344,a|0,e+8|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break l}a=v[e+8>>2];v[e+8>>2]=0;if(!a){break b}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break b}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}}break a}c=P()|0;O()|0;break c}c=P()|0;O()|0;ec(e+8|0);break c}c=P()|0;O()|0}ec(a);T(c|0);L()}Qb=e+16|0;return}W(0)|0;O()|0;lc();L()}function qSa(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,n=0,o=0,p=0,q=0,r=0,s=0,y=0,z=0,A=0,C=0,D=0;A=Qb-256|0;Qb=A;n=v[a+332>>2];a=v[b+84>>2];h=8;b=A;while(1){a:{b:{f=x[c+32>>1];g=u[c+16>>1];if((f|g)&65535){break b}f=0;if(x[c+48>>1]|x[c+64>>1]|(x[c+80>>1]|x[c+96>>1])){break b}if(x[c+112>>1]){break b}f=B(u[c>>1],v[a>>2])<<2;v[b+192>>2]=f;v[b+160>>2]=f;v[b+128>>2]=f;v[b+96>>2]=f;v[b+64>>2]=f;v[b+32>>2]=f;v[b>>2]=f;i=56;break a}l=B(v[a+192>>2],u[c+96>>1]);q=B(v[a+64>>2],f<<16>>16);f=B(l+q|0,4433);g=B(g,v[a+32>>2]);y=B(v[a+224>>2],u[c+112>>1]);o=B(g+y|0,-7373);r=B(v[a+160>>2],u[c+80>>1]);m=r+g|0;k=B(v[a+96>>2],u[c+48>>1]);i=k+y|0;j=B(m+i|0,9633);s=B(u[c+64>>1],v[a+128>>2])<<13;z=B(u[c>>1],v[a>>2])<<13|1024;p=s+z|0;q=f+B(q,6270)|0;C=p+q|0;D=o+B(g,12299)|0;g=j+B(m,-3196)|0;m=D+g|0;v[b+224>>2]=C-m>>11;v[b>>2]=m+C>>11;m=z-s|0;f=f+B(l,-15137)|0;l=m+f|0;j=j+B(i,-16069)|0;i=B(k,25172);k=B(k+r|0,-20995);i=j+(i+k|0)|0;v[b+192>>2]=l-i>>11;v[b+32>>2]=l+i>>11;f=m-f|0;g=g+(k+B(r,16819)|0)|0;v[b+160>>2]=f-g>>11;v[b+64>>2]=f+g>>11;f=j+(o+B(y,2446)|0)|0;g=p-q|0;v[b+96>>2]=f+g>>11;f=g-f>>11;i=32}v[(i<<2)+b>>2]=f;c=c+2|0;a=a+4|0;b=b+4|0;p=h>>>0>1;h=h-1|0;if(p){continue}break}b=n+128|0;p=0;c=A;while(1){a=v[(p<<2)+d>>2]+e|0;c:{d:{f=v[c+8>>2];h=v[c+4>>2];if(f|h){break d}f=0;if(v[c+12>>2]|v[c+16>>2]|(v[c+20>>2]|v[c+24>>2])){break d}if(v[c+28>>2]){break d}f=Bib(w[b+(v[c>>2]+16>>>5&1023)|0],0,16843009,16843009);t[a|0]=f;t[a+1|0]=f>>>8;t[a+2|0]=f>>>16;t[a+3|0]=f>>>24;f=Tb;t[a+4|0]=f;t[a+5|0]=f>>>8;t[a+6|0]=f>>>16;t[a+7|0]=f>>>24;break c}g=v[c+28>>2];y=B(g+h|0,-7373);o=v[c+12>>2];j=o+g|0;r=v[c+20>>2];n=r+h|0;k=B(j+n|0,9633);i=y+B(h,12299)|0;h=k+B(n,-3196)|0;n=i+h|0;l=v[c>>2]+16|0;q=v[c+16>>2];m=l+q<<13;s=B(f,6270);i=f;f=v[c+24>>2];i=B(i+f|0,4433);s=s+i|0;z=m+s|0;t[a|0]=w[b+(n+z>>>18&1023)|0];t[a+7|0]=w[b+(z-n>>>18&1023)|0];k=k+B(j,-16069)|0;j=B(o,25172);o=B(o+r|0,-20995);j=k+(j+o|0)|0;n=l-q<<13;f=i+B(f,-15137)|0;l=n+f|0;t[a+1|0]=w[b+(j+l>>>18&1023)|0];t[a+6|0]=w[b+(l-j>>>18&1023)|0];h=h+(o+B(r,16819)|0)|0;f=n-f|0;t[a+2|0]=w[b+(h+f>>>18&1023)|0];t[a+5|0]=w[b+(f-h>>>18&1023)|0];f=k+(y+B(g,2446)|0)|0;h=m-s|0;t[a+3|0]=w[b+(f+h>>>18&1023)|0];t[a+4|0]=w[b+(h-f>>>18&1023)|0]}c=c+32|0;p=p+1|0;if((p|0)!=8){continue}break}Qb=A+256|0}function lu(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;o=Qb-1152|0;Qb=o;k=(d+f)*.5;l=(c+e)*.5;n=v[b+8>>2];n=Ub[v[v[n>>2]+28>>2]](n)|0;i=1;a:{if((n|0)<=0){break a}b:{while(1){i=(j<<2)+g|0;m=v[i>>2]-v[i+128>>2]|0;i=m>>31;if((i^i+m)>>>0>256){break b}j=j+1|0;if((n|0)!=(j|0)){continue}break}j=0;while(1){i=(j<<2)+g|0;p=v[i+128>>2]-v[i+256>>2]|0;m=p>>31;i=0;if((m^m+p)>>>0>256){break a}j=j+1|0;if((n|0)!=(j|0)){continue}break}j=0;while(1){i=(j<<2)+g|0;p=v[i+256>>2]-v[i+384>>2]|0;m=p>>31;i=0;if((m^m+p)>>>0>256){break a}j=j+1|0;if((n|0)!=(j|0)){continue}break}j=0;while(1){i=(j<<2)+g|0;m=v[i+384>>2]-v[i>>2]|0;i=m>>31;i=i^i+m;if(i>>>0<=256){j=j+1|0;if((n|0)!=(j|0)){continue}}break}i=i>>>0<257;break a}i=0}c:{if(!(!(i&(h|0)>0)&(h|0)!=6)){al(b,l,k,o);gc(v[a+28>>2]+124|0,o,128);g=v[a+8>>2];Ub[v[v[g>>2]+116>>2]](g,v[a+28>>2]);k=A[b+248>>3];l=A[b+232>>3];q=A[b+216>>3];g=v[a+28>>2];r=A[b+256>>3]+(A[b+224>>3]*c+A[b+240>>3]*d);A[g+608>>3]=r;k=k+(q*c+l*d);A[g+600>>3]=k;g=v[g+596>>2];A[g+16>>3]=r;A[g+8>>3]=k;v[g>>2]=1;k=A[b+248>>3];l=A[b+232>>3];q=A[b+216>>3];g=v[a+28>>2];r=A[b+256>>3]+(A[b+224>>3]*e+A[b+240>>3]*d);A[g+608>>3]=r;d=k+(q*e+l*d);A[g+600>>3]=d;Ud(v[g+596>>2],d,r);d=A[b+248>>3];k=A[b+232>>3];l=A[b+216>>3];g=v[a+28>>2];q=A[b+256>>3]+(A[b+224>>3]*e+A[b+240>>3]*f);A[g+608>>3]=q;d=d+(l*e+k*f);A[g+600>>3]=d;Ud(v[g+596>>2],d,q);d=A[b+248>>3];e=A[b+232>>3];k=A[b+216>>3];g=v[a+28>>2];l=A[b+256>>3]+(A[b+224>>3]*c+A[b+240>>3]*f);A[g+608>>3]=l;c=d+(k*c+e*f);A[g+600>>3]=c;Ud(v[g+596>>2],c,l);b=v[a+28>>2];Hf(v[b+596>>2]);g=v[b+596>>2];g=v[((v[g+28>>2]<<2)+v[g+24>>2]|0)-4>>2];h=(v[g+12>>2]<<3)-8|0;A[b+600>>3]=A[h+v[g>>2]>>3];A[b+608>>3]=A[h+v[g+4>>2]>>3];b=v[a+8>>2];Ub[v[v[b>>2]+204>>2]](b,v[a+28>>2]);vf(v[a+28>>2]);break c}al(b,c,k,o+1024|0);al(b,e,k,o+896|0);al(b,l,d,o+768|0);al(b,l,f,o+640|0);al(b,l,k,o+512|0);j=gc(o,g,128);n=j+1024|0;m=gc(j+128|0,n,128);p=gc(j+256|0,j+768|0,128);s=gc(j+384|0,j+512|0,128);i=h+1|0;lu(a,b,c,d,l,k,j,i);h=gc(j,n,128);j=gc(m,g+128|0,128);n=gc(p,h+512|0,128);m=gc(s,h+640|0,128);lu(a,b,c,k,l,f,h,i);h=gc(h,h+768|0,128);j=gc(j,h+512|0,128);n=gc(n,g+256|0,128);m=gc(m,h+896|0,128);lu(a,b,l,d,e,k,h,i);h=gc(h,h+512|0,128);gc(j,h+640|0,128);gc(n,h+896|0,128);gc(m,g+384|0,128);lu(a,b,l,k,e,f,h,i)}Qb=o+1152|0}function Gha(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;var j=C(0),k=0,l=0,m=C(0),n=0,o=C(0),p=0,q=0,r=C(0),s=C(0),u=C(0),x=C(0),y=C(0),A=C(0),E=C(0),F=C(0),G=0,H=C(0),I=C(0),J=C(0),K=C(0),L=C(0);c=Qb-32|0;Qb=c;if(!(!f|!e)){d=B(g,3);G=h<<2;while(1){f=f-1|0;h=e;while(1){g=v[a+72>>2];l=t[i+1|0];k=t[i+2|0];j=C(C(C(w[i|0])*C(100))/C(255));a:{if(j>2])/C(903.2919921875));z[c+24>>2]=j;o=C(C(C(j/z[g+20>>2])*C(7.7870001792907715))+C(.13793103396892548));break a}o=C(C(j+C(16))/C(116));z[c+24>>2]=o*C(o*C(o*z[g+20>>2]))}j=z[g+16>>2];p=c;m=C(C(C(l|0)/C(500))+o);b:{if(m>2]=j;j=z[g+24>>2];m=C(o+C(C(k|0)/C(-200)));c:{if(m>2]=C(C(m+C(-.1379300057888031))*j)/C(7.7870001792907715);break c}z[c+20>>2]=m*C(m*C(m*j))}g=v[a+72>>2];E=z[g+72>>2];r=z[g+96>>2];H=z[g+60>>2];I=z[g+52>>2];J=z[g+56>>2];F=z[g+68>>2];s=z[g+92>>2];K=z[g+48>>2];L=z[g+40>>2];o=z[g+44>>2];p=c;k=v[g>>2];q=k;u=z[c+28>>2];x=z[c+24>>2];y=z[c+20>>2];j=C(C(C(z[g+28>>2]*u)+C(z[g+32>>2]*x))+C(z[g+36>>2]*y));A=z[g+88>>2];m=j>A?j:A;j=z[g- -64>>2];j=C(C((j>m?m:j)-A)/z[g+4>>2]);d:{if(C(D(j))>2];n=(j>C(0)?.5:-.5)+ +j;e:{if(n<4294967296&n>=0){k=~~n>>>0;break e}k=0}v[p+16>>2]=k;p=c;k=v[g>>2];q=k;j=C(C(C(L*u)+C(o*x))+C(K*y));j=j>s?j:s;j=C(C((j>2]);f:{if(C(D(j))>2];n=(j>C(0)?.5:-.5)+ +j;g:{if(n<4294967296&n>=0){k=~~n>>>0;break g}k=0}v[p+12>>2]=k;p=c;k=v[g>>2];q=k;j=C(C(C(I*u)+C(J*x))+C(H*y));j=j>r?j:r;j=C(C((j>2]);h:{if(C(D(j))>2];n=(j>C(0)?.5:-.5)+ +j;i:{if(n<4294967296&n>=0){k=~~n>>>0;break i}k=0}v[p+8>>2]=k;l=v[c+16>>2];k=v[g+76>>2];v[c+16>>2]=k>>>0>l>>>0?l:k;l=v[c+12>>2];k=v[g+80>>2];v[c+12>>2]=k>>>0>l>>>0?l:k;k=v[c+8>>2];g=v[g+84>>2];v[c+8>>2]=g>>>0>k>>>0?k:g;v[b>>2]=v[c+16>>2]|v[c+12>>2]<<8|v[c+8>>2]<<16|-16777216;i=i+3|0;b=b+4|0;h=h-1|0;if(h){continue}break}i=d+i|0;b=b+G|0;if(f){continue}break}}Qb=c+32|0}function Zx(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(v[a+16>>2]){a=0}else{d=v[a+49196>>2];c=v[a+24>>2];while(1){b:{c:{d:{e:{if((c|0)>=(d|0)){b=v[a+20>>2];break e}while(1){b=v[a+4>>2];e=Ub[v[v[b>>2]+28>>2]](b)|0;if((e|0)==-1){break d}c=v[a+24>>2]+8|0;v[a+24>>2]=c;d=v[a+53324>>2];f=v[a+53320>>2]+1|0;d=f>>>0<1?d+1|0:d;v[a+53320>>2]=f;v[a+53324>>2]=d;b=e&255|v[a+20>>2]<<8;v[a+20>>2]=b;d=v[a+49196>>2];if((d|0)>(c|0)){continue}break}}c=c-d|0;v[a+24>>2]=c;d=(-1<>c;if((d|0)==256){break c}if((d|0)==257){break d}if((d|0)!=-1){break b}}v[a+16>>2]=1;return 0}v[a+53316>>2]=1;v[a+53308>>2]=0;v[a+53312>>2]=0;v[a+49192>>2]=258;v[a+49196>>2]=9;d=9;continue}break}c=v[a+49192>>2];if((c|0)<=4096){e=v[a+53308>>2]}else{kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,284283,0);v[a+53316>>2]=1;v[a+53308>>2]=0;v[a+53312>>2]=0;v[a+49192>>2]=258;v[a+49196>>2]=9;c=258;e=0}f:{if((d|0)<=255){v[a+53308>>2]=1;t[a+49208|0]=d;b=d;break f}if((c|0)>(d|0)){c=v[(B(d,12)+a|0)+28>>2];v[a+53308>>2]=c;b=d;g:{if((c|0)<2){break g}g=c-2|0;f=c-1&3;if(f){while(1){c=c-1|0;b=B(b,12)+a|0;t[(c+a|0)+49208|0]=w[b+36|0];b=v[b+32>>2];f=f-1|0;if(f){continue}break}}if(g>>>0<3){break g}g=a+28|0;h=a+49208|0;while(1){f=c+h|0;b=g+B(b,12)|0;t[f-1|0]=w[b+8|0];b=g+B(v[b+4>>2],12)|0;t[f-2|0]=w[b+8|0];b=g+B(v[b+4>>2],12)|0;t[f-3|0]=w[b+8|0];f=c-4|0;b=g+B(v[b+4>>2],12)|0;t[f+h|0]=w[b+8|0];b=v[b+4>>2];i=(c|0)>5;c=f;if(i){continue}break}}t[a+49208|0]=b;break f}if((c|0)!=(d|0)){break a}t[(a+49208|0)+e|0]=v[a+49204>>2];v[a+53308>>2]=v[a+53308>>2]+1;b=w[a+49208|0]}v[a+49204>>2]=b&255;h:{if(v[a+53316>>2]){v[a+53316>>2]=0;break h}f=v[a+49192>>2];c=B(f,12)+a|0;v[c+28>>2]=e+1;e=v[a+49200>>2];t[c+36|0]=b;v[c+32>>2]=e;b=f+1|0;v[a+49192>>2]=b;b=b+v[a+12>>2]|0;if((b|0)!=2048){if((b|0)!=1024){if((b|0)!=512){break h}v[a+49196>>2]=10;break h}v[a+49196>>2]=11;break h}v[a+49196>>2]=12}v[a+49200>>2]=d;b=v[a+53308>>2];e=b;c=b+v[a+53328>>2]|0;b=v[a+53332>>2]+(b>>31)|0;b=c>>>0>>0?b+1|0:b;e=c;c=b;v[a+53328>>2]=e;v[a+53332>>2]=b;i:{if(!b&e>>>0<50000001){break i}d=v[a+53320>>2];b=v[a+53324>>2];c=Dib(e,c,250,0);e=Tb;if((e|0)==(b|0)&c>>>0<=d>>>0|b>>>0>e>>>0){break i}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,257300,0);v[a+16>>2]=1;return 0}v[a+53312>>2]=0;a=1}return a}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,284348,0);v[a+16>>2]=1;return 0}function fKa(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;f=Qb-32|0;Qb=f;a:{b:{c:{d:{e:{f:{d=v[a+4>>2];h=v[a+8>>2];if(d>>>0>>0){if((b|0)==(d|0)){v[b>>2]=0;c=v[c>>2];v[b>>2]=c;if(!c){break f}d=v[v[c>>2]+8>>2];v[299999]=0;S(d|0,c|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){break f}c=P()|0;O()|0;v[a+4>>2]=b;T(c|0);L()}e=d;g=d-4|0;if(g>>>0>>0){h=g;while(1){v[e>>2]=0;i=v[h>>2];v[e>>2]=i;if(i){j=v[v[i>>2]+8>>2];v[299999]=0;S(j|0,i|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break d}}e=e+4|0;h=h+4|0;if(h>>>0>>0){continue}break}}v[a+4>>2]=e;if((d-b|0)!=4){while(1){d=d-4|0;e=v[d>>2];g=g-4|0;h=v[g>>2];v[d>>2]=h;if(h){Ub[v[v[h>>2]+8>>2]](h)|0}if(e){Ub[v[v[e>>2]+12>>2]](e)|0}if((b|0)!=(g|0)){continue}break}e=v[a+4>>2]}a=v[b>>2];c=v[((c>>>0>>0&b>>>0<=c>>>0)<<2)+c>>2];v[b>>2]=c;if(c){Ub[v[v[c>>2]+8>>2]](c)|0}if(!a){break e}Ub[v[v[a>>2]+12>>2]](a)|0;break e}g=v[a>>2];e=(d-g>>2)+1|0;if(e>>>0>=1073741824){break c}v[f+24>>2]=a+8;d=0;h=h-g|0;i=h>>1;e=h>>2>>>0<536870911?e>>>0>i>>>0?e:i:1073741823;if(e){if(e>>>0>=1073741824){break b}d=fc(e<<2)}v[299999]=0;v[f+8>>2]=d;g=(b-g>>2<<2)+d|0;v[f+16>>2]=g;v[f+20>>2]=(e<<2)+d;v[f+12>>2]=g;V(2951,f+8|0,c|0);c=v[299999];v[299999]=0;if((c|0)!=1){c=v[f+12>>2];d=c;g=v[a>>2];g:{if((g|0)!=(b|0)){d=c;e=b;while(1){d=d-4|0;v[d>>2]=0;h=d;e=e-4|0;d=v[e>>2];v[h>>2]=d;if(d){h=v[v[d>>2]+8>>2];v[299999]=0;S(h|0,d|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break g}}d=v[f+12>>2]-4|0;v[f+12>>2]=d;if((e|0)!=(g|0)){continue}break}}e=v[f+16>>2];h:{g=v[a+4>>2];if((g|0)!=(b|0)){while(1){v[e>>2]=0;d=v[b>>2];v[e>>2]=d;if(d){e=v[v[d>>2]+8>>2];v[299999]=0;S(e|0,d|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break h}}e=v[f+16>>2]+4|0;v[f+16>>2]=e;b=b+4|0;if((g|0)!=(b|0)){continue}break}d=v[f+12>>2];b=v[a+4>>2]}g=v[a>>2];v[a>>2]=d;v[f+12>>2]=g;v[a+4>>2]=e;v[f+16>>2]=b;d=v[a+8>>2];v[a+8>>2]=v[f+20>>2];v[f+8>>2]=g;v[f+20>>2]=d;if((b|0)!=(g|0)){while(1){b=b-4|0;v[f+16>>2]=b;a=v[b>>2];v[b>>2]=0;if(a){b=v[v[a>>2]+12>>2];v[299999]=0;S(b|0,a|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break a}b=v[f+16>>2]}if((b|0)!=(g|0)){continue}break}b=v[f+8>>2]}if(b){dc(b)}b=c;break e}}}a=P()|0;O()|0;zV(f+8|0);T(a|0);L()}v[a+4>>2]=b+4}Qb=f+32|0;return b|0}b=P()|0;O()|0;v[a+4>>2]=e;T(b|0);L()}ue(a);L()}cf(274079);L()}W(0)|0;O()|0;lc();L()}function ay(a,b,c){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;d=Qb+-64|0;Qb=d;v[d+48>>2]=13;v[d+32>>2]=13;v[d+16>>2]=13;v[d>>2]=13;a:{b:{c:{d:{e:{f:{g:{h:{switch(v[b>>2]-5|0){case 0:break a;case 4:break h;default:break g}}e=v[a+4>>2];h=v[e+8>>2];if((h|0)<1){break g}f=v[b+8>>2];j=v[b+12>>2];i=v[e>>2];e=0;while(1){g=v[i+(e<<2)>>2];if((f|0)==v[g>>2]&(j|0)==v[g+4>>2]){break f}e=e+1|0;if((h|0)!=(e|0)){continue}break}}e=0;qf(b,v[a>>2],d+48|0,0);i:{if(v[d+48>>2]==7){g=0;b=v[d+56>>2];b=v[v[b+8>>2]+(449666%((v[b+12>>2]<<1)-1>>>0)<<2)>>2];j:{if(!b){break j}while(1){if(mc(279704,v[b>>2])){b=v[b+24>>2];if(b){continue}break j}break}if(v[b+8>>2]!=4){break j}g=!mc(v[b+16>>2],321582)}if(g){break i}}hc(d+48|0);break a}b=0;if(v[rc(v[d+56>>2],321232,d+32|0,0)>>2]==6){n=c,o=$x(a,d+32|0,0),v[n>>2]=o;break c}f=d+32|0;hc(f);h=2;j=1;k:{if(v[rc(v[d+56>>2],311953,f,0)>>2]!=4){g=0;break k}if(v[d+32>>2]!=4){g=0;break k}f=v[d+40>>2];if(!mc(f,253445)){g=0;b=1;j=0;h=1;break k}if(!mc(f,253439)){g=0;break k}l:{if(!mc(f,273710)){h=3;g=0;break l}g=0;if(mc(f,273717)){break k}h=4;g=1}j=0}f=d+32|0;hc(f);Ce(v[d+56>>2],237110,f);m:{if(v[d+32>>2]!=9){break m}e=v[a+4>>2];k=v[e+8>>2];if((k|0)<1){break m}f=v[d+40>>2];l=v[d+44>>2];m=v[e>>2];e=0;while(1){i=v[(e<<2)+m>>2];if((f|0)==v[i>>2]&(l|0)==v[i+4>>2]){break e}e=e+1|0;if((k|0)!=(e|0)){continue}break}}v[c>>2]=b|g;e=0;if(v[qf(d+32|0,v[a>>2],d+16|0,0)>>2]!=6){break d}b=0;n:{e=v[d+24>>2];if(v[e+12>>2]>0){j=h-1|0;g=0;while(1){hg(e,b,d);o:{if(v[d>>2]!=9){break o}e=v[a+4>>2];i=v[e+8>>2];if((i|0)<1){break o}f=v[d+8>>2];k=v[d+12>>2];l=v[e>>2];e=0;while(1){h=v[l+(e<<2)>>2];if(!((f|0)==v[h>>2]&(k|0)==v[h+4>>2])){e=e+1|0;if((i|0)!=(e|0)){continue}break o}break}g=1;e=c;p:{q:{switch(j|0){case 0:f=0;if(!v[c>>2]){break p}f=v[h+20>>2]!=0;break p;case 1:f=1;if(v[c>>2]){break p}f=v[h+20>>2]!=0;break p;case 2:f=1;if(v[c>>2]){break p}f=!v[h+20>>2];break p;case 3:break q;default:break o}}f=0;if(!v[c>>2]){break p}f=!v[h+20>>2]}v[e>>2]=f}hc(d);b=b+1|0;e=v[d+24>>2];if((b|0)>2]){continue}break}if(g){break n}}hc(d+16|0);hc(d+32|0);hc(d+48|0);e=0;break a}hc(d+16|0);break c}v[c>>2]=v[g+20>>2];break b}a=v[i+20>>2];v[c>>2]=b?a:j?a:!a;break c}hc(d+16|0);hc(d+32|0);hc(d+48|0);break a}hc(d+32|0);hc(d+48|0)}e=1}Qb=d- -64|0;return e}function QV(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;f=-102;a:{if(!a){break a}d=v[a+224>>2];if(!d){break a}if(!v[d>>2]){return-100}if(!c){return 0}v[d+20>>2]=c;v[d+16>>2]=b;f=v[d+132>>2];b=v[d+128>>2];a=c;if(!(v[d+200>>2]|(!f&b>>>0>=c>>>0|(f|0)!=0))){c=b;v[d+20>>2]=b}g=v[d+120>>2];b=v[d+8>>2];e=g+b|0;h=v[d+124>>2];h=b>>>0>e>>>0?h+1|0:h;if(!(!v[d+200>>2]|(!h&a>>>0<=e>>>0|(h|0)!=0))){c=b+g|0;v[d+20>>2]=c}a=0;if(!c){return 0}k=d+4|0;l=d+136|0;while(1){b:{if(b){break b}b=v[d+124>>2];e=b;g=v[d+120>>2];if(!(b|g)){b=0;break b}f=-1;h=v[d+196>>2]+v[d+68>>2]|0;b=v[d+64>>2];c=b+v[d+192>>2]|0;if(Uh(l,v[d+180>>2],c,b>>>0>c>>>0?h+1|0:h,0)){break a}b=!e&g>>>0<16384;c=b?g:16384;h=b?e:0;b=c;if((b|0)!=(Ub[v[d+140>>2]](v[d+164>>2],v[d+180>>2],v[d>>2],b)|0)){break a}v[d+8>>2]=b;v[d+4>>2]=v[d>>2];g=h+v[d+68>>2]|0;e=c+v[d+64>>2]|0;v[d+64>>2]=e;v[d+68>>2]=c>>>0>e>>>0?g+1|0:g;g=v[d+120>>2];f=v[d+124>>2]-((c>>>0>g>>>0)+h|0)|0;v[d+120>>2]=g-c;v[d+124>>2]=f}c:{d:{e:{c=v[d+184>>2];if(!(v[d+200>>2]?0:c)){if(!(!!(v[d+120>>2]|v[d+124>>2])|b)){return a|0}c=v[d+20>>2];g=b>>>0>c>>>0?c:b;f:{if(!g){break f}f=g&3;b=0;if(g-1>>>0>=3){c=g&-4;while(1){t[v[d+16>>2]+b|0]=w[v[d+4>>2]+b|0];e=b|1;t[e+v[d+16>>2]|0]=w[e+v[d+4>>2]|0];e=b|2;t[e+v[d+16>>2]|0]=w[e+v[d+4>>2]|0];e=b|3;t[e+v[d+16>>2]|0]=w[e+v[d+4>>2]|0];b=b+4|0;c=c-4|0;if(c){continue}break}}if(!f){break f}while(1){t[v[d+16>>2]+b|0]=w[v[d+4>>2]+b|0];b=b+1|0;f=f-1|0;if(f){continue}break}}i=v[d+108>>2];b=g;f=v[d+104>>2];e=b+f|0;v[d+104>>2]=e;v[d+108>>2]=f>>>0>e>>>0?i+1|0:i;m=d,n=Kf(v[d+112>>2],v[d+16>>2],b),v[m+112>>2]=n;f=v[d+128>>2];c=v[d+132>>2]-(b>>>0>f>>>0)|0;v[d+128>>2]=f-b;v[d+132>>2]=c;v[d+8>>2]=v[d+8>>2]-b;v[d+20>>2]=v[d+20>>2]-b;v[d+16>>2]=v[d+16>>2]+b;v[d+4>>2]=v[d+4>>2]+b;v[d+24>>2]=v[d+24>>2]+b;a=a+b|0;break e}if((c|0)==12){break e}g=v[d+16>>2];f=v[d+24>>2];b=Mj(k,2);if((b|0)>=0){b=v[d+28>>2]?-3:b}e=v[d+24>>2];c=e-f|0;h=v[d+104>>2];j=c+h|0;e=0-(f>>>0>e>>>0)|0;i=e+v[d+108>>2]|0;v[d+104>>2]=j;v[d+108>>2]=h>>>0>j>>>0?i+1|0:i;m=d,n=Kf(v[d+112>>2],g,c),v[m+112>>2]=n;f=e;e=v[d+128>>2];g=v[d+132>>2]-(f+(c>>>0>e>>>0)|0)|0;v[d+128>>2]=e-c;v[d+132>>2]=g;a=a+c|0;if(!b){break e}f=a;if((b|0)==1){break a}break d}if(v[d+20>>2]){break c}b=a}f=b;break a}b=v[d+8>>2];continue}}return f|0}function Jf(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=Qb-112|0;Qb=g;if(!v[294235]){$F()}a:{if(!a){break a}b=t[a|0];if(!b){break a}h=v[294233];b:{if(!h){break b}e=b-97>>>0<26?b&95:b;t[g|0]=e;b=0;c:{if(!(e&255)){break c}e=0;while(1){b=99;e=e+1|0;if((e|0)==99){break c}b=t[a+e|0];i=b-97>>>0<26?b&95:b;t[e+g|0]=i;b=e;if(i&255){continue}break}}t[b+g|0]=0;e=v[294234];if((e|0)<1){break b}while(1){if(!mc(v[(h+(f<<3)|0)+4>>2],g)){f=v[h+(f<<3)>>2];break b}f=f+1|0;if((e|0)!=(f|0)){continue}break}f=0}h=f?f:a;while(1){d:{e=t[d+h|0];e=e-97>>>0<26?e&95:e;t[d+g|0]=e;if(!(e&255)){e=d;break d}e=99;d=d+1|0;if((d|0)!=99){continue}}break}d=0;t[e+g|0]=0;f=v[294235];e:{if(!f){break e}b=v[294238];if((b|0)<=0){break e}while(1){e=v[f+(d<<2)>>2];if(!mc(g,v[e>>2])){break a}d=d+1|0;if((b|0)!=(d|0)){continue}break}}e=0;b=0;d=0;c=Qb-512|0;Qb=c;f:{if(!a){break f}i=v[294233];j=0;g:{if(!i){break g}while(1){h:{f=t[a+d|0];f=f-97>>>0<26?f&95:f;t[c+d|0]=f;if(!(f&255)){f=d;break h}f=99;d=d+1|0;if((d|0)!=99){continue}}break}t[c+f|0]=0;d=0;f=v[294234];j=0;if((f|0)<1){break g}while(1){if(!mc(v[(i+(d<<3)|0)+4>>2],c)){j=v[i+(d<<3)>>2];break g}d=d+1|0;if((f|0)!=(d|0)){continue}break}j=0}d=j;f=d?d:a;while(1){i:{a=t[b+f|0];a=a-97>>>0<26?a&95:a;t[b+c|0]=a;if(!(a&255)){d=b;break i}d=499;b=b+1|0;if((b|0)!=499){continue}}break}b=0;t[c+d|0]=0;if(!w[c|0]){break f}b=1;if(!Pc(c,323858,6)){break f}if(!Pc(c,323360,5)){break f}b=2;if(!Pc(c,324919,7)){break f}if(!Pc(c,324893,6)){break f}b=9;if(!Pc(c,329908,16)){break f}if(!Pc(c,329918,6)){break f}if(!Pc(c,329334,5)){break f}b=4;if(!Pc(c,326315,16)){break f}if(!Pc(c,326325,6)){break f}if(!Pc(c,325690,5)){break f}b=10;if(!Pc(c,334334,11)){break f}if(!Pc(c,334322,12)){break f}if(!Pc(c,334360,12)){break f}b=11;if(!Pc(c,329936,11)){break f}if(!Pc(c,329924,12)){break f}if(!Pc(c,329983,12)){break f}if(!Pc(c,328430,11)){b=12;break f}if(!Pc(c,326331,11)){b=13;break f}if(!Pc(c,325589,11)){b=14;break f}if(!Pc(c,324966,11)){b=15;break f}if(!Pc(c,324427,11)){b=16;break f}if(!Pc(c,323864,11)){b=17;break f}if(!Pc(c,323279,11)){b=18;break f}if(!Pc(c,311918,12)){b=19;break f}if(!Pc(c,310723,10)){b=20;break f}b=Pc(c,311911,7)?-1:21}Qb=c+512|0;a=b-1|0;if(a>>>0>20){break a}a=v[(a<<2)+884208>>2];if(!mc(h,a)){break a}e=Jf(a)}Qb=g+112|0;return e}function ava(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;f=Qb-96|0;Qb=f;g=v[v[a+4>>2]>>2];j=Ub[v[v[g>>2]+52>>2]](g)|0;g=km();h=v[v[a+4>>2]>>2];l=g,m=Ub[v[v[h>>2]+24>>2]](h)|0,k=v[v[g>>2]+24>>2],Ub[k](l|0,m|0);Ub[v[v[j>>2]+68>>2]](j,g);h=us();Ub[v[v[h>>2]+428>>2]](h,j);Ub[v[v[a>>2]+36>>2]](a,b,f+72|0,f- -64|0,f+88|0,f+80|0);g=f;if((c|0)>=1){i=+(c|0)}else{i=A[f+72>>3];a:{if(D(i)<2147483648){c=~~i;break a}c=-2147483648}i=+(B(c,96)|0)/A[f+88>>3]}b:{if(D(i)<2147483648){c=~~i;break b}c=-2147483648}v[g+60>>2]=c;g=f;if((d|0)>=1){i=+(d|0)}else{i=A[f+64>>3];c:{if(D(i)<2147483648){d=~~i;break c}d=-2147483648}i=+(B(d,96)|0)/A[f+88>>3]}d:{if(D(i)<2147483648){d=~~i;break d}d=-2147483648}v[g+56>>2]=d;c=B(c,d)<<2;d=ic(fc(c),255,c);c=f+8|0;v[c>>2]=0;v[c+4>>2]=0;t[c+40|0]=0;v[c+32>>2]=0;v[c+36>>2]=-1074790400;t[c+21|0]=0;t[c+22|0]=0;t[c+23|0]=0;t[c+24|0]=0;t[c+25|0]=0;t[c+26|0]=0;t[c+27|0]=0;t[c+28|0]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[299999]=0;v[c+16>>2]=d;g=v[299999];v[299999]=0;e:{if((g|0)==1){break e}v[299999]=0;v[c+4>>2]=v[f+60>>2];g=v[299999];v[299999]=0;if((g|0)==1){break e}v[299999]=0;v[c+8>>2]=v[f+56>>2];g=v[299999];v[299999]=0;if((g|0)==1){break e}v[299999]=0;v[f+4>>2]=B(v[f+60>>2],e?4:-4);v[c+12>>2]=v[f+4>>2];e=v[299999];v[299999]=0;if((e|0)==1){break e}e=v[v[h>>2]+456>>2];v[299999]=0;V(e|0,h|0,c|0);e=v[299999];v[299999]=0;if((e|0)==1){break e}e=v[v[h>>2]+448>>2];v[299999]=0;V(e|0,h|0,1);e=v[299999];v[299999]=0;if((e|0)==1){break e}e=v[v[h>>2]+36>>2];v[299999]=0;Q(e|0,h|0,f+72|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break e}e=v[v[h>>2]+28>>2];v[299999]=0;Q(e|0,h|0,f- -64|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break e}t[f+4|0]=0;e=v[v[a>>2]+40>>2];v[299999]=0;$(e|0,a|0,h|0,b|0,f+4|0);a=v[299999];v[299999]=0;if((a|0)==1){break e}a=v[v[j>>2]+12>>2];v[299999]=0;S(a|0,j|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break e}Ub[v[v[h>>2]+4>>2]](h);v[299999]=0;v[c>>2]=0;v[c+4>>2]=0;t[c+40|0]=0;v[c+32>>2]=0;v[c+36>>2]=-1074790400;t[c+21|0]=0;t[c+22|0]=0;t[c+23|0]=0;t[c+24|0]=0;t[c+25|0]=0;t[c+26|0]=0;t[c+27|0]=0;t[c+28|0]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;a=v[299999];v[299999]=0;if((a|0)==1){break e}Ze(c);Qb=f+96|0;return d|0}a=P()|0;O()|0;Ze(c);T(a|0);L()}function xEa(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;g=Qb-272|0;Qb=g;v[a>>2]=896264;v[a+1576>>2]=0;v[a+1056>>2]=0;v[a+1044>>2]=0;v[a+1048>>2]=0;a:{b:{if(!oy(a,c)){break b}if(!v[a+1040>>2]){kc(1,-1,283274,0);break b}if(v[b>>2]!=8){kc(1,-1,257397,0);break b}d=v[b+8>>2];b=fc(8);v[299999]=0;S(3312,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}v[a+1044>>2]=b;b=fc(16);v[299999]=0;i=S(3315,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}Ub[v[v[d>>2]+20>>2]](d);while(1){e=0;j=fc(8);v[299999]=0;c=S(3312,j|0)|0;f=v[299999];v[299999]=0;c:{if((f|0)!=1){d:{f=Ub[v[v[d>>2]+28>>2]](d)|0;if((f|0)!=-1){while(1){gd(v[a+1044>>2],f<<24>>24);e:{if(e){e=(f|0)!=13&(f|0)!=10;break e}e=1;if((f|0)==37){break e}e=0;if(!((f|0)==32|f-9>>>0<5)){break d}}f=Ub[v[v[d>>2]+28>>2]](d)|0;if((f|0)!=-1){continue}break}}Dc(c);dc(j);c=0;break c}f:{switch(f-123|0){case 0:case 2:gd(c,f<<24>>24);break c;default:break f}}gd(c,f<<24>>24);e=Ub[v[v[d>>2]+32>>2]](d)|0;g:{if(!(f-45>>>0<2|f-48>>>0<10)){if((e|0)==-1){break g}while(1){if(!(e-48>>>0<10|(e|32)-97>>>0<26)){break g}Ub[v[v[d>>2]+28>>2]](d)|0;e=e<<24>>24;gd(v[a+1044>>2],e);gd(c,e);e=Ub[v[v[d>>2]+32>>2]](d)|0;if((e|0)!=-1){continue}break}break g}if((e|0)==-1){break g}while(1){if(e-48>>>0>9&e-45>>>0>=2){break g}Ub[v[v[d>>2]+28>>2]](d)|0;e=e<<24>>24;gd(v[a+1044>>2],e);gd(c,e);e=Ub[v[v[d>>2]+32>>2]](d)|0;if((e|0)!=-1){continue}break}}break c}a=P()|0;O()|0;dc(j);T(a|0);L()}if(c){Tc(i,c);continue}break}Ub[v[v[d>>2]+24>>2]](d);h:{i:{if(v[i+8>>2]>=1){if(!Ad(v[v[b>>2]>>2],217551)){break i}}kc(1,-1,246664,0);break h}v[g+8>>2]=0;v[g+12>>2]=1;if(!WE(a,i,g+12|0,g+8|0)){break h}v[a+1052>>2]=v[g+8>>2];d=v[a+4>>2];j:{if((d|0)<1){break j}c=0;if((d|0)!=1){f=d&-2;e=a+16|0;j=a+1064|0;while(1){k=g+16|0;l=c<<3;h=A[e+(c<<4)>>3];A[k+l>>3]=h;A[j+l>>3]=h+-1;m=k;k=c|1;l=k<<3;h=A[e+(k<<4)>>3];A[m+l>>3]=h;A[j+l>>3]=h+-1;c=c+2|0;f=f-2|0;if(f){continue}break}}if(!(d&1)){break j}d=c<<3;h=A[((c<<4)+a|0)+16>>3];A[d+(g+16|0)>>3]=h;A[(a+d|0)+1064>>3]=h+-1}Ub[v[v[a>>2]+16>>2]](a,g+16|0,a+1320|0);v[a+1576>>2]=1}e=v[i+8>>2];if((e|0)>=1){c=0;while(1){d=v[v[i>>2]+(c<<2)>>2];if(d){Dc(d);dc(d);e=v[i+8>>2]}c=c+1|0;if((e|0)>(c|0)){continue}break}}Vc(i);dc(b)}Qb=g+272|0;return a|0}a=P()|0;O()|0;dc(b);T(a|0);L()}function mia(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=Qb-16|0;Qb=e;v[a>>2]=0;a:{b:{c:{d:{if(v[c>>2]){v[299999]=0;v[e>>2]=0;Q(4336,e|0,0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break d}f=v[v[b>>2]+32>>2];v[299999]=0;$(f|0,e+8|0,b|0,c|0,e|0);c=v[299999];v[299999]=0;e:{f:{g:{h:{if((c|0)!=1){v[299999]=0;Q(4344,a|0,e+8|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break h}c=v[e+8>>2];v[e+8>>2]=0;i:{if(!c){break i}v[299999]=0;f=v[c+4>>2]-1|0;v[c+4>>2]=f;g=v[299999];v[299999]=0;if((g|0)==1){break a}if(f){break i}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}c=v[e>>2];v[e>>2]=0;j:{if(!c){break j}v[299999]=0;f=v[c+4>>2]-1|0;v[c+4>>2]=f;g=v[299999];v[299999]=0;if((g|0)==1){break a}if(f){break j}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}if(!d|!w[d|0]){break b}c=v[a>>2];if(!c){break e}v[299999]=0;U(5158,e+8|0,c|0,d|0);b=v[299999];v[299999]=0;if((b|0)==1){break g}v[299999]=0;Q(4344,a|0,e+8|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break f}a=v[e+8>>2];v[e+8>>2]=0;if(!a){break b}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break b}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}break b}d=P()|0;O()|0;ec(e);break c}d=P()|0;O()|0;ec(e+8|0);ec(e);break c}d=P()|0;O()|0;break c}d=P()|0;O()|0;ec(e+8|0);break c}v[299999]=0;U(5159,e+8|0,b|0,d|0);b=v[299999];v[299999]=0;k:{if((b|0)!=1){v[299999]=0;Q(4344,a|0,e+8|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break k}a=v[e+8>>2];v[e+8>>2]=0;if(!a){break b}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break b}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}}break a}d=P()|0;O()|0;break c}d=P()|0;O()|0;ec(e+8|0);break c}if(!d|!w[d|0]){break b}v[299999]=0;U(5159,e+8|0,b|0,d|0);b=v[299999];v[299999]=0;l:{if((b|0)!=1){v[299999]=0;Q(4344,a|0,e+8|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break l}a=v[e+8>>2];v[e+8>>2]=0;if(!a){break b}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break b}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}}break a}d=P()|0;O()|0;break c}d=P()|0;O()|0;ec(e+8|0);break c}d=P()|0;O()|0}ec(a);T(d|0);L()}Qb=e+16|0;return}W(0)|0;O()|0;lc();L()}function i3(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;v[a+76>>2]=0;v[a+80>>2]=0;c=a- -64|0;v[c>>2]=0;v[c+4>>2]=0;v[a+56>>2]=0;c=v[b+8>>2];a:{if(c&7){break a}b:{d=v[b+64>>2];if((d|0)>=0&(d|0)<=v[b+60>>2]){break b}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;c:{if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=w[a+12|0];d=v[b+24>>2];v[b+24>>2]=d+1;t[d|0]=c;break c}if((Fc(b,w[a+12|0])|0)==-1){break a}}c=v[b+8>>2];if(c&7){break a}d=v[b+64>>2];if((d|0)>=0&(d|0)<=v[b+60>>2]){break b}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;d:{if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=w[a+13|0];d=v[b+24>>2];v[b+24>>2]=d+1;t[d|0]=c;break d}if((Fc(b,w[a+13|0])|0)==-1){break a}}c=v[b+8>>2];if(c&7){break a}d=v[b+64>>2];if((d|0)>=0&(d|0)<=v[b+60>>2]){break b}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;e:{if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=w[a+52|0];d=v[b+24>>2];v[b+24>>2]=d+1;t[d|0]=c;break e}if((Fc(b,w[a+52|0])|0)==-1){break a}}c=v[b+8>>2];if(c&7){break a}d=v[b+64>>2];if((d|0)>=0&(d|0)<=v[b+60>>2]){break b}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;f:{if((c|0)<=0){if((Fc(b,0)|0)!=-1){break f}break a}v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;t[c|0]=0}c=v[a+16>>2];if(Jh(b,c,c>>31)){break a}c=v[a+20>>2];if(Jh(b,c,c>>31)){break a}c=v[a+24>>2];if(Jh(b,c,c>>31)){break a}c=v[a+28>>2];if(Jh(b,c,c>>31)){break a}c=v[a+32>>2];if(Jh(b,c,c>>31)){break a}c=v[a+36>>2];if(Jh(b,c,c>>31)){break a}c=v[a+40>>2];if(Jh(b,c,c>>31)){break a}c=v[a+44>>2];if(Jh(b,c,c>>31)){break a}c=v[a+48>>2];if(Jh(b,c,c>>31)){break a}if(Hg(b,2,v[a+60>>2],0)){break a}if(Hg(b,2,v[a+72>>2],0)){break a}c=0;d=B(v[a+60>>2],w[a+12|0]);if((d|0)>0){while(1){if(Hg(b,1,w[v[a+68>>2]+c|0],0)){break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}}c=0;d=B(v[a+72>>2],w[a+13|0]);if((d|0)>0){while(1){if(Hg(b,1,w[v[a+80>>2]+c|0],0)){break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}}d=w[a+12|0];g:{if(!d){d=1;break g}c=w[a+52|0];e=d&7;h:{if(d-1>>>0<7){d=1;break h}f=d&248;d=1;while(1){d=B(c,B(c,B(c,B(c,B(c,B(c,B(c,B(c,d))))))));f=f-8|0;if(f){continue}break}}if(!e){break g}while(1){d=B(c,d);e=e-1|0;if(e){continue}break}}d=B(w[a+13|0],d);if((d|0)<=0){return 0}c=0;while(1){if(Hg(b,1,w[v[a+56>>2]+c|0],0)){break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}return 0}v[b+8>>2]=c|4}return-1}function yZa(a){a=a|0;var 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;n=Qb-16|0;Qb=n;g=v[a+12>>2];k=v[a+200>>2];b=v[a+196>>2];l=u[a+32>>1];a:{if(l){if(y[g+8>>2]>1]+(u[g+20>>1]+l|0)>>>0){d=xg(g,0,l);if(d){break a}}d=20;if((l|0)>4094){break a}}d=20;e=l<<1;if((e+b|0)+2>>>0>k>>>0){break a}c=v[g+68>>2];j=w[b|0];h=w[b+1|0]|j<<8;if((l|0)>=1){u[c>>1]=h}if(j<<24>>16<0){break a}j=c+e|0;while(1){e=c+2|0;if(e>>>0>>0){c=w[b+2|0]|w[b+3|0]<<8;f=c<<8|c>>>8;u[e>>1]=f;i=h<<16;c=e;e=f<<16>>16;h=e;b=b+2|0;if((e|0)>i>>16){continue}break a}break}e=v[g+4>>2];f=u[g+58>>1];if((l|0)<1){j=0}else{c=u[c>>1];if((c|0)<-1){break a}j=c+1|0}c=j+4|0;if(e>>>0>1]|0)>>>0){d=xg(g,c,0);if(d){break a}}c=v[a+8>>2];v[c+136>>2]=0;v[c+140>>2]=0;e=b+4|0;if(e>>>0>k>>>0){d=20;break a}b=w[b+2|0]|w[b+3|0]<<8;b=b<<8|b>>>8;b:{c:{d:{e:{if(w[a+16|0]&2){c=b&65535;break e}c=b&65535;if((c|0)>(k-e|0)){break d}d=v[a+156>>2];v[n+12>>2]=v[d+392>>2];d=YY(v[d+8>>2],n+12|0,d+396|0,c);f=v[a+156>>2];v[f+392>>2]=x[n+12>>1];if(d){break a}d=v[a+8>>2];v[d+140>>2]=c;i=d;d=v[f+396>>2];v[i+136>>2]=d;if(!(b&65535)){break e}gc(d,e,c)}b=c+e|0;if((j|0)>=1){e=v[g- -64>>2];f=j+e|0;while(1){c=b+1|0;if(c>>>0>k>>>0){d=20;break a}m=w[b|0];t[e|0]=m;d=e+1|0;i=f;f:{if(!(m&8)){b=c;c=d;break f}b=b+2|0;if(k>>>0>>0){d=20;break a}h=w[c|0];if(f>>>0>>0){d=20;break a}c=d;if(!h){break f}ic(d,m,h);c=((h-1&255)+e|0)+2|0}e=c;if(i>>>0>e>>>0){continue}break}}d=v[g+64>>2];if(!(!j|!(w[d|0]&64))){v[g+36>>2]=v[g+36>>2]|64}if(b>>>0>k>>>0){d=20;break a}if((j|0)<=0){break b}f=v[g+60>>2];m=f+(j<<3)|0;c=f;e=d;while(1){o=w[e|0];g:{if(o&2){i=b+1|0;if(i>>>0>k>>>0){d=20;break a}b=w[b|0];h=o&16?b:0-b|0;b=i;break g}h=0;if(o&16){break g}i=b+2|0;if(i>>>0>k>>>0){d=20;break a}b=w[b|0]|w[b+1|0]<<8;h=(b<<8|b>>>8)<<16>>16;b=i}p=h+p|0;v[c>>2]=p;e=e+1|0;c=c+8|0;if(m>>>0>c>>>0){continue}break}break c}d=22;break a}h=0;if((j|0)<=0){break b}while(1){i=w[d|0];h:{if(i&4){e=b+1|0;if(e>>>0>k>>>0){d=20;break a}b=w[b|0];c=i&32?b:0-b|0;b=e;break h}c=0;if(i&32){break h}e=b+2|0;if(e>>>0>k>>>0){d=20;break a}b=w[b|0]|w[b+1|0]<<8;c=(b<<8|b>>>8)<<16>>16;b=e}h=c+h|0;v[f+4>>2]=h;t[d|0]=i&1;d=d+1|0;f=f+8|0;if(m>>>0>f>>>0){continue}break}}u[g+56>>1]=l;u[g+58>>1]=j;v[a+196>>2]=b;d=0}Qb=n+16|0;return d|0}function Xeb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=v[a+572>>2];c=v[a+664>>2];a:{if((d|0)<(c|0)|(d|0)>=v[a+668>>2]){break a}d=Ub[v[a+220>>2]](a,v[a+680>>2]+(d-c|0)|0)|0;c=v[a+580>>2];d=(d+(c<<1)|0)+(v[a+672>>2]<<1)|0;b=v[a+656>>2];e=(b|0)/v[a+584>>2]|0;i=v[a+644>>2];b:{if(!w[a+648|0]){f=b+c|0;b=i+(e<<2)|0;c=v[a+660>>2];if(!w[a+649|0]){break b}if((c|0)<=(f|0)){break a}while(1){t[d+1|0]=w[b+2|0]>>>1&124|w[b+1|0]>>>6;t[d|0]=w[b+1|0]<<2&224|w[b|0]>>>3;b=b+4|0;c=v[a+584>>2];d=(c<<1)+d|0;f=c+f|0;if((f|0)>2]){continue}break}break a}f=b+c|0;b=i+(e<<3)|0;c=v[a+660>>2];if(w[a+649|0]){if((c|0)<=(f|0)){break a}while(1){t[d+1|0]=w[b+4|0]>>>1&124|w[b+2|0]>>>6;t[d|0]=w[b+2|0]<<2&224|w[b|0]>>>3;b=b+8|0;c=v[a+584>>2];d=(c<<1)+d|0;f=c+f|0;if((f|0)>2]){continue}break}break a}if((c|0)<=(f|0)){break a}while(1){c=w[b+6|0]|w[b+7|0]<<8;e=(c<<8|c>>>8)&65535;if(e){l=d;c:{if((e|0)==65535){t[d+1|0]=w[b+4|0]>>>1&124|w[b+2|0]>>>6;c=w[b+2|0]<<2&-32|w[b|0]>>>3;break c}i=w[b|0]|w[b+1|0]<<8;j=w[b+2|0]|w[b+3|0]<<8;c=B(e,(j<<8|j>>>8)&65535);j=e^65535;k=w[d+1|0];g=w[d|0];h=(c+B(B(j,(k<<6|g>>>2)&248),257)|0)+32768|0;h=(h>>>16|0)+h|0;c=w[b+4|0]|w[b+5|0]<<8;g=g<<3&248;g=(B(e,(c<<8|c>>>8)&65535)+B(j,g<<8|g)|0)+32768|0;t[d+1|0]=h>>>30|(g>>>16|0)+g>>>25&124;e=(B((i<<8|i>>>8)&65535,e)+B(B(j,k<<1&240),257)|0)+32768|0;c=h>>>22&224|(e>>>16|0)+e>>>30}t[l|0]=c}b=b+8|0;c=v[a+584>>2];d=(c<<1)+d|0;f=c+f|0;if((f|0)>2]){continue}break}break a}if((c|0)<=(f|0)){break a}while(1){e=w[b+3|0];if(e){l=d;d:{if((e|0)==255){t[d+1|0]=w[b+2|0]>>>1&124|w[b+1|0]>>>6;c=w[b+1|0]<<2&-32|w[b|0]>>>3;break d}j=w[b|0];i=e^255;k=w[d+1|0];g=w[d|0];h=(B(e,w[b+1|0])+B(i,(k<<6|g>>>2)&248)|0)+128|0;h=(h>>>8&255)+h|0;k=(B(i,k<<1&240)+B(e,w[b+2|0])|0)+128|0;t[d+1|0]=h>>>14&3|(k>>>8&255)+k>>>9&124;e=(B(i,g<<3&248)+B(e,j)|0)+128|0;c=(e>>>8&255)+e>>>11&31|h>>>6&224}t[l|0]=c}b=b+4|0;c=v[a+584>>2];d=(c<<1)+d|0;f=c+f|0;if((f|0)>2]){continue}break}}d=v[a+680>>2]+v[a+572>>2]|0;c=v[a+664>>2];b=v[a+556>>2];f=v[a+672>>2];e:{if((f|0)>=v[a+552>>2]){if(b){break e}b=0}v[a+552>>2]=f}l=b;b=v[a+676>>2];if((l|0)<(b|0)){v[a+556>>2]=b}b=v[a+564>>2];d=d-c|0;f:{if((d|0)>=v[a+560>>2]){if(b){break f}b=0}v[a+560>>2]=d}if((b|0)<=(d|0)){v[a+564>>2]=d+1}return 0}function Web(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=v[a+572>>2];c=v[a+664>>2];a:{if((d|0)<(c|0)|(d|0)>=v[a+668>>2]){break a}d=Ub[v[a+220>>2]](a,v[a+680>>2]+(d-c|0)|0)|0;c=v[a+580>>2];d=(d+(c<<1)|0)+(v[a+672>>2]<<1)|0;b=v[a+656>>2];e=(b|0)/v[a+584>>2]|0;i=v[a+644>>2];b:{if(!w[a+648|0]){f=b+c|0;b=i+(e<<2)|0;c=v[a+660>>2];if(!w[a+649|0]){break b}if((c|0)<=(f|0)){break a}while(1){t[d+1|0]=w[b|0]>>>1&124|w[b+1|0]>>>6;t[d|0]=w[b+1|0]<<2&224|w[b+2|0]>>>3;b=b+4|0;c=v[a+584>>2];d=(c<<1)+d|0;f=c+f|0;if((f|0)>2]){continue}break}break a}f=b+c|0;b=i+(e<<3)|0;c=v[a+660>>2];if(w[a+649|0]){if((c|0)<=(f|0)){break a}while(1){t[d+1|0]=w[b|0]>>>1&124|w[b+2|0]>>>6;t[d|0]=w[b+2|0]<<2&224|w[b+4|0]>>>3;b=b+8|0;c=v[a+584>>2];d=(c<<1)+d|0;f=c+f|0;if((f|0)>2]){continue}break}break a}if((c|0)<=(f|0)){break a}while(1){c=w[b+6|0]|w[b+7|0]<<8;e=(c<<8|c>>>8)&65535;if(e){l=d;c:{if((e|0)==65535){t[d+1|0]=w[b|0]>>>1&124|w[b+2|0]>>>6;c=w[b+2|0]<<2&-32|w[b+4|0]>>>3;break c}i=w[b+4|0]|w[b+5|0]<<8;j=w[b+2|0]|w[b+3|0]<<8;c=B(e,(j<<8|j>>>8)&65535);j=e^65535;k=w[d+1|0];g=w[d|0];h=(c+B(B(j,(k<<6|g>>>2)&248),257)|0)+32768|0;h=(h>>>16|0)+h|0;c=w[b|0]|w[b+1|0]<<8;g=g<<3&248;g=(B(e,(c<<8|c>>>8)&65535)+B(j,g<<8|g)|0)+32768|0;t[d+1|0]=h>>>30|(g>>>16|0)+g>>>25&124;e=(B((i<<8|i>>>8)&65535,e)+B(B(j,k<<1&240),257)|0)+32768|0;c=h>>>22&224|(e>>>16|0)+e>>>30}t[l|0]=c}b=b+8|0;c=v[a+584>>2];d=(c<<1)+d|0;f=c+f|0;if((f|0)>2]){continue}break}break a}if((c|0)<=(f|0)){break a}while(1){e=w[b+3|0];if(e){l=d;d:{if((e|0)==255){t[d+1|0]=w[b|0]>>>1&124|w[b+1|0]>>>6;c=w[b+1|0]<<2&-32|w[b+2|0]>>>3;break d}j=w[b+2|0];i=e^255;k=w[d+1|0];g=w[d|0];h=(B(e,w[b+1|0])+B(i,(k<<6|g>>>2)&248)|0)+128|0;h=(h>>>8&255)+h|0;k=(B(i,k<<1&240)+B(e,w[b|0])|0)+128|0;t[d+1|0]=h>>>14&3|(k>>>8&255)+k>>>9&124;e=(B(i,g<<3&248)+B(e,j)|0)+128|0;c=(e>>>8&255)+e>>>11&31|h>>>6&224}t[l|0]=c}b=b+4|0;c=v[a+584>>2];d=(c<<1)+d|0;f=c+f|0;if((f|0)>2]){continue}break}}d=v[a+680>>2]+v[a+572>>2]|0;c=v[a+664>>2];b=v[a+556>>2];f=v[a+672>>2];e:{if((f|0)>=v[a+552>>2]){if(b){break e}b=0}v[a+552>>2]=f}l=b;b=v[a+676>>2];if((l|0)<(b|0)){v[a+556>>2]=b}b=v[a+564>>2];d=d-c|0;f:{if((d|0)>=v[a+560>>2]){if(b){break f}b=0}v[a+560>>2]=d}if((b|0)<=(d|0)){v[a+564>>2]=d+1}return 0}function aPa(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,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;C=Qb-512|0;Qb=C;s=v[a+332>>2];a=v[b+84>>2];b=C;while(1){l=B(v[a+64>>2],u[c+32>>1]);n=B(v[a+192>>2],u[c+96>>1]);i=l-n|0;p=B(i,11363);k=B(v[a+96>>2],u[c+48>>1]);j=B(v[a+32>>2],u[c+16>>1]);g=B(k+j|0,11086);q=p+B(n,20995)|0;o=B(v[a+128>>2],u[c+64>>1]);x=B(o,10703);h=B(u[c>>1],v[a>>2])<<13|1024;y=x+h|0;r=q+y|0;f=B(v[a+224>>2],u[c+112>>1]);D=B(f+j|0,8956);m=B(v[a+160>>2],u[c+80>>1]);E=m+j|0;z=B(E,10217);A=D+(z+(g+B(j,-18730)|0)|0)|0;v[b+480>>2]=r-A>>11;v[b>>2]=r+A>>11;i=B(i,2260);r=i+B(l,7373)|0;o=B(o,4433);A=o+h|0;F=r+A|0;G=f+k|0;H=B(G,-5461);I=B(k+m|0,1136);g=H+(I+(g+B(k,589)|0)|0)|0;v[b+448>>2]=F-g>>11;v[b+32>>2]=g+F>>11;l=p+B(l,-4926)|0;p=h-o|0;g=l+p|0;o=B(f+m|0,-11086);z=o+(z+(B(m,-9222)+I|0)|0)|0;v[b+416>>2]=g-z>>11;v[b+64>>2]=g+z>>11;n=i+B(n,-4176)|0;h=h-x|0;g=n+h|0;i=o+((B(f,8728)+H|0)+D|0)|0;v[b+384>>2]=g-i>>11;v[b+96>>2]=g+i>>11;h=h-n|0;g=B(j-f|0,7350);n=B(G,-10217);i=g+(n+B(f,25733)|0)|0;f=B(f-m|0,3363);i=i+f|0;v[b+352>>2]=h-i>>11;v[b+128>>2]=h+i>>11;h=p-l|0;l=B(E,5461);i=B(m,-6278);m=B(m-k|0,11529);f=f+(l+(i+m|0)|0)|0;v[b+320>>2]=h-f>>11;v[b+160>>2]=f+h>>11;f=A-r|0;h=B(k,16154);k=B(j-k|0,3363);m=n+(m+(h+k|0)|0)|0;v[b+288>>2]=f-m>>11;v[b+192>>2]=f+m>>11;f=y-q|0;k=g+(l+(k+B(j,-15038)|0)|0)|0;v[b+256>>2]=f-k>>11;v[b+224>>2]=f+k>>11;b=b+4|0;a=a+4|0;c=c+2|0;J=J+1|0;if((J|0)!=8){continue}break}a=s+128|0;k=0;b=C;while(1){j=v[b+4>>2];f=v[b+28>>2];m=B(j+f|0,-7373);h=v[b+20>>2];g=h+j|0;l=v[b+12>>2];s=l+f|0;n=B(g+s|0,9633);i=v[b+24>>2];q=v[b+8>>2];p=B(i+q|0,4433);c=v[(k<<2)+d>>2]+e|0;o=m+B(j,12299)|0;j=n+B(g,-3196)|0;g=o+j|0;o=v[b>>2]+16|0;x=v[b+16>>2];y=o+x<<13;q=p+B(q,6270)|0;r=y+q|0;t[c|0]=w[a+(g+r>>>18&1023)|0];t[c+7|0]=w[a+(r-g>>>18&1023)|0];n=n+B(s,-16069)|0;g=B(l,25172);l=B(h+l|0,-20995);g=n+(g+l|0)|0;s=o-x<<13;p=p+B(i,-15137)|0;i=s+p|0;t[c+1|0]=w[a+(g+i>>>18&1023)|0];t[c+6|0]=w[a+(i-g>>>18&1023)|0];j=j+(l+B(h,16819)|0)|0;h=s-p|0;t[c+2|0]=w[a+(j+h>>>18&1023)|0];t[c+5|0]=w[a+(h-j>>>18&1023)|0];j=n+(m+B(f,2446)|0)|0;f=y-q|0;t[c+3|0]=w[a+(j+f>>>18&1023)|0];t[c+4|0]=w[a+(f-j>>>18&1023)|0];b=b+32|0;k=k+1|0;if((k|0)!=16){continue}break}Qb=C+512|0}function Rfa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;i=Qb-16|0;Qb=i;a:{b:{c:{c=v[b+12>>2];d:{if(!c){v[a>>2]=0;Wc(a,0);break d}k=v[c+8>>2];d=v[c+4>>2];c=fc(24);v[299999]=0;f=Z(4743,c|0,k|0,d|0,0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break a}v[i+8>>2]=0;Wc(i+8|0,f);c=v[i+8>>2];if(x[c+8>>1]){j=v[c+16>>2]}f=v[b+12>>2];g=x[c+12>>1];c=0;v[299999]=0;g=B(g,3);fa(5273,f|0,j|0,g|0,3,0);f=v[299999];v[299999]=0;if((f|0)==1){break b}f=v[b+20>>2];e:{if(!f){break e}e=v[b+16>>2];if(!e){c=f;break e}c=f;if(v[b+36>>2]<0){break e}c=v[b+40>>2];v[299999]=0;fa(5273,e|0,j+1|0,g|0,3,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break b}c=v[b+40>>2];f=v[b+20>>2];v[299999]=0;fa(5273,f|0,j+2|0,g|0,3,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break b}c=v[b+20>>2]}g=v[i+8>>2];f:{if(!(!(!c|!v[b+16>>2])&v[b+36>>2]>-1)){if((k|0)<1|(d|0)<1){break f}f=d&-4;j=d&3;e=0;l=d-1>>>0<3;while(1){b=0;g:{if(x[g+8>>1]<=e>>>0){break g}c=v[g+16>>2];b=0;if(!c){break g}b=c+B(B(x[g+12>>1],e),3)|0}c=f;if(!l){while(1){d=127-w[b|0]|0;t[b+2|0]=d;t[b+1|0]=d;t[b|0]=d;d=127-w[b+3|0]|0;t[b+3|0]=d;t[b+5|0]=d;t[b+4|0]=d;d=127-w[b+6|0]|0;t[b+6|0]=d;t[b+8|0]=d;t[b+7|0]=d;d=127-w[b+9|0]|0;t[b+9|0]=d;t[b+11|0]=d;t[b+10|0]=d;b=b+12|0;c=c-4|0;if(c){continue}break}}c=j;if(c){while(1){d=127-w[b|0]|0;t[b+2|0]=d;t[b+1|0]=d;t[b|0]=d;b=b+3|0;c=c-1|0;if(c){continue}break}}e=e+1|0;if((k|0)!=(e|0)){continue}break}break f}f=0;c=0;c=x[g+8>>1]?v[g+16>>2]:c;if((k|0)<1|(d|0)<1){break f}l=B(x[g+12>>1],3);while(1){b=c;j=0;while(1){e=t[b+2|0];m=(e>>1)+e|0;e=t[b|0]+128|0;h=m+e|0;h=(h|0)<255?h:255;t[b+2|0]=(h|0)>0?h:0;h=t[b+1|0];e=e-(h>>2)|0;h=e+(h<<1)|0;h=(h|0)<255?h:255;t[b|0]=(h|0)>0?h:0;e=e-(m>>1)|0;e=(e|0)<255?e:255;t[b+1|0]=(e|0)>0?e:0;b=b+3|0;j=j+1|0;if((d|0)!=(j|0)){continue}break}c=c+l|0;f=f+1|0;if((k|0)!=(f|0)){continue}break}}if(!g){v[a>>2]=0;break d}v[299999]=0;v[g+4>>2]=v[g+4>>2]+1;b=v[299999];v[299999]=0;if((b|0)==1){break b}b=a;a=v[i+8>>2];v[b>>2]=a;v[i+8>>2]=0;if(!a){break d}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break c}if(b){break d}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break c}}Qb=i+16|0;return}W(0)|0;O()|0;lc();L()}a=P()|0;O()|0;ec(i+8|0);T(a|0);L()}a=P()|0;O()|0;dc(c);T(a|0);L()}function xja(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=Qb-32|0;Qb=d;v[a+8>>2]=0;v[a>>2]=989420;v[a+4>>2]=0;v[a+12>>2]=v[282402];g=a+8|0;a:{b:{c=v[b+8>>2];c:{d:{if(c){f=v[v[c>>2]+28>>2];v[299999]=0;U(f|0,d+8|0,c|0,1);c=v[299999];v[299999]=0;if((c|0)!=1){break d}b=P()|0;O()|0;break c}v[d+8>>2]=0}v[299999]=0;Q(4344,g|0,d+8|0)|0;c=v[299999];v[299999]=0;e:{if((c|0)!=1){c=v[d+8>>2];v[d+8>>2]=0;if(!c){break e}v[299999]=0;f=v[c+4>>2]-1|0;v[c+4>>2]=f;e=v[299999];v[299999]=0;if((e|0)!=1){if(f){break e}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)!=1){break e}}break a}b=P()|0;O()|0;ec(d+8|0);break c}c=v[a+8>>2];c=v[(c?c+12|0:1129608)>>2];v[a+16>>2]=0;v[a+12>>2]=c;v[a+20>>2]=v[282402];f=a+16|0;c=v[b+16>>2];f:{g:{if(c){e=v[v[c>>2]+28>>2];v[299999]=0;U(e|0,d+16|0,c|0,1);c=v[299999];v[299999]=0;if((c|0)!=1){break g}b=P()|0;O()|0;break f}v[d+16>>2]=0}v[299999]=0;Q(4344,f|0,d+16|0)|0;c=v[299999];v[299999]=0;h:{if((c|0)!=1){c=v[d+16>>2];v[d+16>>2]=0;if(!c){break h}v[299999]=0;e=v[c+4>>2]-1|0;v[c+4>>2]=e;h=v[299999];v[299999]=0;if((h|0)!=1){if(e){break h}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)!=1){break h}}break a}b=P()|0;O()|0;ec(d+16|0);break f}c=v[a+16>>2];c=v[(c?c+12|0:1129608)>>2];v[a+24>>2]=0;v[a+20>>2]=c;v[a+28>>2]=v[282402];c=a+24|0;e=v[b+24>>2];i:{j:{if(e){h=v[v[e>>2]+28>>2];v[299999]=0;U(h|0,d+24|0,e|0,1);e=v[299999];v[299999]=0;if((e|0)!=1){break j}b=P()|0;O()|0;break i}v[d+24>>2]=0}v[299999]=0;Q(4344,c|0,d+24|0)|0;e=v[299999];v[299999]=0;if((e|0)!=1){c=v[d+24>>2];v[d+24>>2]=0;if(!c){break b}v[299999]=0;g=v[c+4>>2]-1|0;v[c+4>>2]=g;f=v[299999];v[299999]=0;if((f|0)!=1){if(g){break b}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)!=1){break b}}break a}b=P()|0;O()|0;ec(d+24|0)}ec(c)}ec(f)}ec(g);Qc(a);T(b|0);L()}c=v[a+24>>2];v[a+28>>2]=v[(c?c+12|0:1129608)>>2];c=v[b+36>>2];v[a+32>>2]=v[b+32>>2];v[a+36>>2]=c;c=v[b+44>>2];v[a+40>>2]=v[b+40>>2];v[a+44>>2]=c;c=v[b+52>>2];v[a+48>>2]=v[b+48>>2];v[a+52>>2]=c;c=v[b+60>>2];v[a+56>>2]=v[b+56>>2];v[a+60>>2]=c;g=b- -64|0;f=v[g+4>>2];c=a- -64|0;v[c>>2]=v[g>>2];v[c+4>>2]=f;c=v[b+76>>2];v[a+72>>2]=v[b+72>>2];v[a+76>>2]=c;c=v[b+84>>2];v[a+80>>2]=v[b+80>>2];v[a+84>>2]=c;t[a+88|0]=w[b+88|0];Qb=d+32|0;return a|0}W(0)|0;O()|0;lc();L()}function afb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=v[a+572>>2];c=v[a+664>>2];a:{if((d|0)<(c|0)|(d|0)>=v[a+668>>2]){break a}d=Ub[v[a+220>>2]](a,v[a+680>>2]+(d-c|0)|0)|0;c=v[a+580>>2];d=(d+(c<<1)|0)+(v[a+672>>2]<<1)|0;b=v[a+656>>2];e=(b|0)/v[a+584>>2]|0;j=v[a+644>>2];b:{if(!w[a+648|0]){f=b+c|0;b=j+(e<<2)|0;c=v[a+660>>2];if(!w[a+649|0]){break b}if((c|0)<=(f|0)){break a}while(1){t[d+1|0]=w[b|0]&248|w[b+1|0]>>>5;t[d|0]=w[b+1|0]<<3&224|w[b+2|0]>>>3;b=b+4|0;c=v[a+584>>2];d=(c<<1)+d|0;f=c+f|0;if((f|0)>2]){continue}break}break a}f=b+c|0;b=j+(e<<3)|0;c=v[a+660>>2];if(w[a+649|0]){if((c|0)<=(f|0)){break a}while(1){t[d+1|0]=w[b|0]&248|w[b+2|0]>>>5;t[d|0]=w[b+2|0]<<3&224|w[b+4|0]>>>3;b=b+8|0;c=v[a+584>>2];d=(c<<1)+d|0;f=c+f|0;if((f|0)>2]){continue}break}break a}if((c|0)<=(f|0)){break a}while(1){c=w[b+6|0]|w[b+7|0]<<8;e=(c<<8|c>>>8)&65535;if(e){k=d;c:{if((e|0)==65535){t[d+1|0]=w[b|0]&248|w[b+2|0]>>>5;c=w[b+2|0]<<3&-32|w[b+4|0]>>>3;break c}j=w[b+4|0]|w[b+5|0]<<8;i=w[b+2|0]|w[b+3|0]<<8;c=B(e,(i<<8|i>>>8)&65535);i=w[d|0];l=w[d+1|0];h=i>>>3&28|l<<5;g=h<<8&64512|h;h=e^65535;g=(c+B(g,h)|0)+32768|0;g=(g>>>16|0)+g|0;c=w[b|0]|w[b+1|0]<<8;i=(B(e,(c<<8|c>>>8)&65535)+B(h,i<<11&63488|i<<3)|0)+32768|0;t[d+1|0]=g>>>29|(i>>>16|0)+i>>>24&248;e=(B((j<<8|j>>>8)&65535,e)+B(B(h,l&248),257)|0)+32768|0;c=g>>>21&224|(e>>>16|0)+e>>>27}t[k|0]=c}b=b+8|0;c=v[a+584>>2];d=(c<<1)+d|0;f=c+f|0;if((f|0)>2]){continue}break}break a}if((c|0)<=(f|0)){break a}while(1){e=w[b+3|0];if(e){k=d;d:{if((e|0)==255){t[d+1|0]=w[b|0]&248|w[b+1|0]>>>5;c=w[b+1|0]<<3&-32|w[b+2|0]>>>3;break d}i=w[b+2|0];j=e^255;h=w[d+1|0];l=w[d|0];g=(B(e,w[b+1|0])+B(j,(h<<5|l>>>3)&252)|0)+128|0;g=(g>>>8&255)+g|0;h=(B(j,h&248)+B(e,w[b|0])|0)+128|0;t[d+1|0]=g>>>13&7|(h>>>8&255)+h>>>8&248;e=(B(j,l<<3&248)+B(e,i)|0)+128|0;c=(e>>>8&255)+e>>>11&31|g>>>5&224}t[k|0]=c}b=b+4|0;c=v[a+584>>2];d=(c<<1)+d|0;f=c+f|0;if((f|0)>2]){continue}break}}d=v[a+680>>2]+v[a+572>>2]|0;c=v[a+664>>2];b=v[a+556>>2];f=v[a+672>>2];e:{if((f|0)>=v[a+552>>2]){if(b){break e}b=0}v[a+552>>2]=f}k=b;b=v[a+676>>2];if((k|0)<(b|0)){v[a+556>>2]=b}b=v[a+564>>2];d=d-c|0;f:{if((d|0)>=v[a+560>>2]){if(b){break f}b=0}v[a+560>>2]=d}if((b|0)<=(d|0)){v[a+564>>2]=d+1}return 0}function WY(a,b){var c=0,d=0,e=0,f=0;f=v[v[a>>2]+96>>2];e=v[v[a+8>>2]+140>>2];if((e|0)>=1){gc(v[a+132>>2],v[a+136>>2],x[a+128>>1]<<3)}gc(v[a+156>>2]+288|0,v[a+4>>2]+180|0,68);a:{if(b){c=v[a+156>>2];v[c+224>>2]=65536;v[c+228>>2]=65536;gc(v[a+140>>2],v[a+136>>2],x[a+128>>1]<<3);break a}c=v[a+156>>2];d=v[v[a+4>>2]+44>>2];v[c+224>>2]=v[d+4>>2];v[c+228>>2]=v[d+8>>2]}c=v[a+136>>2]+(x[a+128>>1]<<3)|0;d=c-32|0;v[d>>2]=v[d>>2]+32&-64;d=c-24|0;v[d>>2]=v[d>>2]+32&-64;d=c-12|0;v[d>>2]=v[d>>2]+32&-64;c=c-4|0;v[c>>2]=v[c>>2]+32&-64;b:{if((e|0)>=1){d=v[v[a+12>>2]- -64>>2];c=v[a+156>>2];t[c+564|0]=b;v[c+468>>2]=e;v[c+464>>2]=v[c+396>>2];b=v[a+124>>2];v[c+144>>2]=v[a+120>>2];v[c+148>>2]=b;b=v[a+132>>2];v[c+152>>2]=v[a+128>>2];v[c+156>>2]=b;b=v[a+140>>2];v[c+160>>2]=v[a+136>>2];v[c+164>>2]=b;b=v[a+148>>2];v[c+168>>2]=v[a+144>>2];v[c+172>>2]=b;v[c+176>>2]=v[a+152>>2];b=v[a+156>>2];v[b+364>>2]=0;v[b+356>>2]=3;c=v[b+148>>2];v[b+36>>2]=v[b+144>>2];v[b+40>>2]=c;v[b+368>>2]=v[b+468>>2];c=v[b+156>>2];v[b+44>>2]=v[b+152>>2];v[b+48>>2]=c;c=v[b+164>>2];v[b+52>>2]=v[b+160>>2];v[b+56>>2]=c;c=v[b+172>>2];v[b+60>>2]=v[b+168>>2];v[b+64>>2]=c;v[b+68>>2]=v[b+176>>2];v[b+360>>2]=v[b+464>>2];c=v[b+148>>2];v[b+72>>2]=v[b+144>>2];v[b+76>>2]=c;c=v[b+156>>2];v[b+80>>2]=v[b+152>>2];v[b+84>>2]=c;c=v[b+164>>2];v[b+88>>2]=v[b+160>>2];v[b+92>>2]=c;c=v[b+172>>2];v[b+96>>2]=v[b+168>>2];v[b+100>>2]=c;v[b+104>>2]=v[b+176>>2];v[b+140>>2]=v[b+176>>2];c=v[b+172>>2];v[b+132>>2]=v[b+168>>2];v[b+136>>2]=c;c=v[b+164>>2];v[b+124>>2]=v[b+160>>2];v[b+128>>2]=c;c=v[b+156>>2];v[b+116>>2]=v[b+152>>2];v[b+120>>2]=c;c=v[b+148>>2];v[b+108>>2]=v[b+144>>2];v[b+112>>2]=c;u[b+352>>1]=1;v[b+348>>2]=65537;u[b+298>>1]=16384;u[b+300>>1]=0;u[b+302>>1]=16384;u[b+304>>1]=0;v[b+316>>2]=1;u[b+294>>1]=16384;u[b+296>>1]=0;v[b+308>>2]=1;v[b+432>>2]=0;v[b+16>>2]=0;b=Ub[v[v[b>>2]+708>>2]](b)|0;c=v[a+156>>2];if(w[c+565|0]?b:0){break b}t[d|0]=w[d|0]|w[c+344|0]<<5|4}if(v[f+64>>2]==40){b=0;if(w[v[a+156>>2]+615|0]){break b}}b=v[a+136>>2]+(x[a+128>>1]<<3)|0;c=b-32|0;e=v[c+4>>2];v[a+68>>2]=v[c>>2];v[a+72>>2]=e;c=b-24|0;e=v[c+4>>2];v[a+76>>2]=v[c>>2];v[a+80>>2]=e;c=b-16|0;e=v[c+4>>2];v[a+180>>2]=v[c>>2];v[a+184>>2]=e;b=b-8|0;c=v[b+4>>2];v[a+188>>2]=v[b>>2];v[a+192>>2]=c;b=0}return b}function Eia(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,n=0,o=0,p=0,q=0,r=0,s=0,u=0;h=Qb+-64|0;Qb=h;v[h+32>>2]=0;v[h+36>>2]=0;v[h+24>>2]=0;v[h+28>>2]=0;v[h+16>>2]=0;v[h+20>>2]=0;v[h+8>>2]=0;v[h+12>>2]=0;jD(a,d,h+8|0,h+24|0);a:{b:{c:{f=v[b+8>>2];i=v[b>>2];if(x[c+10>>1]==(f-i|0)){g=v[b+12>>2];k=v[b+4>>2];if(x[c+8>>1]==(g-k|0)){break c}}a=vc(h+40|0,270211,241395,416,343631,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}d:{if(!((i|0)>v[h+24>>2]|(k|0)>v[h+28>>2]|(f|0)>2])){if((g|0)>=v[h+36>>2]){break d}}a=vc(h+40|0,260251,241395,421,343631,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}i=v[d+8>>2]-v[d>>2]|0;f=v[d+12>>2]-v[d+4>>2]|0;if(!((i|0)==x[e+10>>1]&(f|0)==x[e+8>>1])){Gt(e,f,i,0)}NO(e,256);f=0;q=a+92|0;Xd(q,0,1);r=a+104|0;Xd(r,0,1);s=a+68|0;Xd(s,0,1);zO();l=v[h+8>>2];k=v[h+16>>2]-l|0;Xd(s,k+2|0,1);Xd(q,k,1);Xd(r,k,1);v[a+112>>2]=-1;v[a+116>>2]=-1;u=a+80|0;Xd(u,0,1);Xd(u,256,1);g=x[c+16>>1];j=g-1|0;m=j>>1;while(1){i=255;t[v[a+76>>2]+f|0]=f>>>0>>0?(m+B(f,255)|0)/(j|0)|0:255;n=f|1;if(n>>>0>>0){i=(m+B(n,255)|0)/(j|0)|0}t[n+v[a+76>>2]|0]=i;f=f+2|0;if((f|0)!=256){continue}break}j=v[d+4>>2];if((j|0)>2]){n=0-l|0;m=k+1|0;while(1){l=v[v[a+40>>2]+(j<<2)>>2];i=l>>4;g=h+8|0;f=AO(a,i,g,b,c);i=AO(a,i+1|0,g,b,c);g=v[a+64>>2];if((k|0)>=1){l=((l&15)<<10)+1181392|0;p=g+m|0;g=g+1|0;while(1){o=w[f|0];t[g|0]=w[l+(w[i|0]-o<<1)|0]+o;f=f+1|0;i=i+1|0;g=g+1|0;if(p>>>0>g>>>0){continue}break}g=v[a+64>>2]}t[g|0]=w[g+1|0];f=v[a+64>>2];t[f+m|0]=w[f+k|0];f=j-v[d+4>>2]|0;g=v[a+64>>2];if(!v[e+20>>2]){gi(e)}e:{if(!((f|0)>1]&(f|0)>=0)){f=x[e+12>>1];if(v[282398]<(f+x[e+14>>1]|0)){a=vc(h+40|0,260231,271771,577,336631,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}f=f+v[282397]|0;break e}f=v[e+20>>2]+(x[e+12>>1]+B(f,x[e+14>>1])|0)|0}i=v[d>>2];if((i|0)>2]){l=(g+n|0)+1|0;while(1){p=v[v[a+52>>2]+(i<<2)>>2];o=l+(p>>4)|0;g=w[o|0];t[f|0]=g+w[(((p&15)<<10)+(w[o+1|0]-g<<1)|0)+1181392|0];f=f+1|0;i=i+1|0;if((i|0)>2]){continue}break}}j=j+1|0;if((j|0)>2]){continue}break}}Xd(q,0,1);Xd(r,0,1);Xd(s,0,1);Xd(u,0,1);Qb=h- -64|0;return}L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function _ja(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,p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0;f=Qb-32|0;Qb=f;a:{b:{c:{if(w[a+89|0]){break c}if(!w[a+88|0]){D=a,E=Ub[v[v[a>>2]+36>>2]](a)|0,v[D+72>>2]=E;D=a,E=Ub[v[v[a>>2]+44>>2]](a)|0,v[D+76>>2]=E;D=a,E=Ub[v[v[a>>2]+40>>2]](a)|0,v[D+80>>2]=E;e=Ub[v[v[a>>2]+48>>2]](a)|0;t[a+88|0]=1;v[a+84>>2]=e}i=v[a+92>>2];if((i|0)>=1){z=v[a+76>>2]<<1;k=v[a+108>>2];l=v[a+104>>2];m=v[a+120>>2];n=v[a+116>>2];o=v[a+132>>2];p=v[a+128>>2];q=v[a+144>>2];r=v[a+140>>2];A=v[a+72>>2];e=0;while(1){if(!((e|0)<=(q|0)&(e|0)>=(r|0))){a=vc(f+8|0,227445,271729,632,307270,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}C=i;a=e;j=v[(a-o<<2)+p>>2]-c|0;if(j){while(1){d=a;a=a+1|0;g=(a|0)%(i|0)|0;if(!((g|0)>=(r|0)&(g|0)<=(q|0))){a=vc(f+8|0,227445,271729,632,307270,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}x=v[(g-o<<2)+p>>2];h=x-c|0;if(!h){continue}break}if((e|0)!=(d|0)){s=(e+1|0)%(i|0)|0;if(!((s|0)>=(n|0)&(m|0)>=(s|0))){a=vc(f+8|0,227445,271729,632,307270,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}u=(d|0)%(i|0)|0;if(!((u|0)>=(n|0)&(m|0)>=(u|0))){a=vc(f+8|0,227445,271729,632,307270,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}e=1;if((B(v[(u-k<<2)+l>>2]-b|0,v[(s-k<<2)+l>>2]-b|0)|0)<1){break c}}if(!(!((j|0)<=-1&(h|0)>0)&((j|0)<1|(h|0)>-1))){d=(d|0)%(i|0)|0;if(!((d|0)>=(n|0)&(d|0)<=(m|0))){a=vc(f+8|0,227445,271729,632,307270,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}if(!((d|0)<=(q|0)&(d|0)>=(r|0))){a=vc(f+8|0,227445,271729,632,307270,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}if(!((g|0)<=(m|0)&(g|0)>=(n|0))){a=vc(f+8|0,227445,271729,632,307270,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}e=1;h=v[(d-o<<2)+p>>2];j=x-h|0;d=v[(d-k<<2)+l>>2];g=B(v[(g-k<<2)+l>>2]-d|0,c-h|0);h=B(j,b-d|0)-g|0;if(!h){break c}d=B(j,z-(d+A|0)|0)-g|0;if(!d){break c}e=(d|0)>-1?1:-1;y=(((h|0)>-1?e:0-e|0)>>>31|0)+y|0}}else{a=e+1|0}e=a;if((C|0)>(a|0)){continue}break}}e=y&1}Qb=f+32|0;return e|0}L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function GZa(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,h=0,i=0,j=0,k=0,l=0;k=3;a:{if((d|0)<0){break a}j=v[a+8>>2];f=v[a+12>>2];i=x[f+2>>1];if((e|0)<0|y[j+4>>2]>>0){break a}f=x[f>>1];if(y[j>>2]>>0){break a}i=B(i,w[a+18|0]);if(B(i+7>>>3|0,f)+b>>>0>c>>>0){break a}a=d>>>3|0;h=v[j+8>>2];j=v[j+12>>2];c=(a+B(h,e)|0)+j|0;g=d&7;if(g){k=0;if(!f){break a}if(i>>>0>=8){while(1){d=0;e=i;a=c;while(1){j=a;k=b;d=w[b|0]|d;t[a|0]=w[a|0]|d>>>g;l=e;e=e-8|0;a=a+1|0;b=b+1|0;d=d<<8;if((l|0)>15){continue}break}if((l|0)>8){d=w[k+1|0]&65280>>>e|d;b=k+2|0}t[a|0]=w[a|0]|d>>>g;if((e+g|0)>=9){t[j+2|0]=w[j+2|0]|d<<8>>>g}c=c+h|0;a=f;f=a-1|0;k=0;if((a|0)>1){continue}break a}}d=65280>>>i|0;if(g+i>>>0>=9){if(!i){break a}if((h|0)!=1){if(f&1){a=d&w[b|0];t[c|0]=w[c|0]|a>>>g;t[c+1|0]=w[c+1|0]|a<<8>>>g;c=c+h|0;b=b+1|0;a=f-1|0}else{a=f}if((f|0)==1){break a}while(1){e=d&w[b|0];t[c|0]=w[c|0]|e>>>g;t[c+1|0]=w[c+1|0]|e<<8>>>g;c=c+h|0;e=d&w[b+1|0];t[c|0]=w[c|0]|e>>>g;t[c+1|0]=w[c+1|0]|e<<8>>>g;b=b+2|0;c=c+h|0;e=(a|0)>2;a=a-2|0;if(e){continue}break}break a}e=w[j+(a+e|0)|0];if(f&1){a=d&w[b|0];t[c|0]=a>>>g|e;e=w[c+1|0]|a<<8>>>g;t[c+1|0]=e;c=c+h|0;b=b+1|0;a=f-1|0}else{a=f}if((f|0)==1){break a}while(1){f=e;e=d&w[b|0];t[c|0]=f|e>>>g;e=w[c+1|0]|e<<8>>>g;t[c+1|0]=e;c=c+h|0;f=d&w[b+1|0];t[c|0]=e|f>>>g;e=w[c+1|0]|f<<8>>>g;t[c+1|0]=e;b=b+2|0;c=c+h|0;f=(a|0)>2;a=a-2|0;if(f){continue}break}break a}if(!i){break a}if(f&1){t[c|0]=w[c|0]|(d&w[b|0])>>>g;c=c+h|0;b=b+1|0;a=f-1|0}else{a=f}if((f|0)==1){break a}while(1){t[c|0]=w[c|0]|(d&w[b|0])>>>g;c=c+h|0;t[c|0]=w[c|0]|(d&w[b+1|0])>>>g;b=b+2|0;c=c+h|0;e=(a|0)>2;a=a-2|0;if(e){continue}break}break a}k=0;if(!f){break a}if(i>>>0>=8){while(1){a=f;d=i;f=c;while(1){e=b;t[f|0]=w[b|0]|w[f|0];j=d;d=d-8|0;f=f+1|0;b=b+1|0;if((j|0)>15){continue}break}if((j|0)>8){t[f|0]=w[f|0]|w[e+1|0]&65280>>>d;b=e+2|0}c=c+h|0;f=a-1|0;if((a|0)>1){continue}break a}}if(!i){break a}d=65280>>>i|0;e=f-1|0;a=f&3;if(a){while(1){t[c|0]=w[c|0]|d&w[b|0];c=c+h|0;f=f-1|0;b=b+1|0;a=a-1|0;if(a){continue}break}}if(e>>>0<3){break a}while(1){t[c|0]=w[c|0]|d&w[b|0];a=c+h|0;t[a|0]=w[a|0]|d&w[b+1|0];a=a+h|0;t[a|0]=w[a|0]|d&w[b+2|0];a=a+h|0;t[a|0]=w[a|0]|d&w[b+3|0];b=b+4|0;c=a+h|0;a=(f|0)>4;f=f-4|0;if(a){continue}break}}return k|0}function DOa(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,n=0,o=0,p=0,q=0,r=0,s=0,y=0,z=0,A=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;b=v[b+84>>2];f=B(v[b+160>>2],u[c+80>>1]);h=B(v[b+32>>2],u[c+16>>1]);g=B(f+h|0,2998);l=v[d>>2]+e|0;a=v[a+332>>2]+128|0;m=B(v[b+96>>2],x[c+48>>1]);D=g+(m+h<<13)|0;E=B(B(u[c+32>>1],v[b+64>>2]),10033);r=B(u[c>>1],v[b>>2])<<13|1024;s=B(v[b+128>>2],u[c+64>>1]);F=r+B(s,5793)|0;G=E+F|0;H=(D+G<<2)+131072&-8192;i=B(v[b+168>>2],u[c+84>>1]);n=B(v[b+40>>2],u[c+20>>1]);y=B(i+n|0,2998);j=B(v[b+104>>2],u[c+52>>1]);I=y+(j+n<<13)|0;z=B(B(u[c+36>>1],v[b+72>>2]),10033);A=B(u[c+4>>1],v[b+8>>2])<<13|1024;k=B(v[b+136>>2],u[c+68>>1]);J=A+B(k,5793)|0;K=z+J|0;C=I+K>>11;L=H+B(C,5793)|0;o=B(v[b+164>>2],u[c+82>>1]);p=B(v[b+36>>2],u[c+18>>1]);M=B(o+p|0,2998);q=B(v[b+100>>2],u[c+50>>1]);N=M+(q+p<<13)|0;O=B(B(u[c+34>>1],v[b+68>>2]),10033);P=B(u[c+2>>1],v[b+4>>2])<<13|1024;c=B(v[b+132>>2],u[c+66>>1]);Q=P+B(c,5793)|0;R=O+Q|0;b=B(N+R>>11,10033);t[l|0]=w[a+(L+b>>>18&1023)|0];t[l+2|0]=w[a+(L-b>>>18&1023)|0];t[l+1|0]=w[a+(H+B(C,-11586)>>>18&1023)|0];b=v[d+4>>2]+e|0;l=n-(i+j|0)<<2;n=A+B(k,-11586)>>11;k=l+n|0;h=h-(f+m|0)<<2;A=r+B(s,-11586)>>11;C=(h+A<<13)+131072|0;s=B(k,5793)+C|0;p=p-(o+q|0)<<2;c=B(c,-11586)+P>>11;r=B(p+c|0,10033);t[b|0]=w[a+(s+r>>>18&1023)|0];t[b+2|0]=w[a+(s-r>>>18&1023)|0];t[b+1|0]=w[a+(C+B(k,-11586)>>>18&1023)|0];b=v[d+8>>2]+e|0;f=g+(f-m<<13)|0;g=F-E|0;m=(f+g<<2)+131072&-8192;i=(i-j<<13)+y|0;j=J-z|0;y=i+j>>11;z=m+B(y,5793)|0;o=(o-q<<13)+M|0;q=Q-O|0;k=B(o+q>>11,10033);t[b|0]=w[a+(z+k>>>18&1023)|0];t[b+2|0]=w[a+(z-k>>>18&1023)|0];t[b+1|0]=w[a+(m+B(y,-11586)>>>18&1023)|0];b=v[d+12>>2]+e|0;f=(g-f<<2)+131072&-8192;i=j-i>>11;g=f+B(i,5793)|0;j=B(q-o>>11,10033);t[b|0]=w[a+(g+j>>>18&1023)|0];t[b+2|0]=w[a+(g-j>>>18&1023)|0];t[b+1|0]=w[a+(f+B(i,-11586)>>>18&1023)|0];b=v[d+16>>2]+e|0;h=(A-h<<13)+131072|0;f=n-l|0;g=h+B(f,5793)|0;c=B(c-p|0,10033);t[b|0]=w[a+(g+c>>>18&1023)|0];t[b+2|0]=w[a+(g-c>>>18&1023)|0];t[b+1|0]=w[a+(h+B(f,-11586)>>>18&1023)|0];b=v[d+20>>2]+e|0;d=(G-D<<2)+131072&-8192;c=K-I>>11;e=d+B(c,5793)|0;f=B(R-N>>11,10033);t[b|0]=w[a+(e+f>>>18&1023)|0];t[b+2|0]=w[a+(e-f>>>18&1023)|0];t[b+1|0]=w[a+(d+B(c,-11586)>>>18&1023)|0]}function OG(a,b,c,d,e,f,g,h){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,w=0,x=0;t=c+e;k=+v[a+24>>2];e=Ff(k*f,k*e);s=Ff(k*h,k*g);k=A[a+8>>3];k=Rw(k/(k+.125/A[a+48>>3]));l=v[b+4>>2];n=v[b>>2];o=n>>>6|0;if(l>>>0<=o>>>0){i=v[b+8>>2];a:{if(i>>>0>o>>>0){p=v[b+12>>2];break a}j=i+v[b+16>>2]|0;p=fc((j|0)!=(j&1073741823)?-1:j<<2);i=b;m=v[b+12>>2];if(m){gc(p,m,l<<2);dc(m);n=v[b>>2];l=v[b+4>>2];j=v[b+8>>2]+v[b+16>>2]|0}v[i+8>>2]=j;v[b+12>>2]=p}w=(o<<2)+p|0,x=fc(1024),v[w>>2]=x;v[b+4>>2]=l+1}u=k+k;i=v[v[b+12>>2]+(o<<2)>>2]+((n&63)<<4)|0;A[i+8>>3]=d+f;A[i>>3]=t;q=v[b>>2]+1|0;v[b>>2]=q;b:{if(v[a+24>>2]>=1){k=(e>s?s+6.283185307179586:s)-e;f=k/u;c:{if(D(f)<2147483648){m=~~f;break c}m=-2147483648}if((m|0)<1){break b}t=k/+(m+1|0);l=0;while(1){f=A[a>>3];e=t+e;k=f*Ee(e)+d;f=f*Ve(e)+c;p=v[b+4>>2];o=q>>>6|0;if(p>>>0<=o>>>0){i=v[b+8>>2];d:{if(i>>>0>o>>>0){r=v[b+12>>2];break d}j=i+v[b+16>>2]|0;r=fc((j|0)!=(j&1073741823)?-1:j<<2);i=b;n=v[b+12>>2];if(n){gc(r,n,p<<2);dc(n);q=v[b>>2];p=v[b+4>>2];j=v[b+8>>2]+v[b+16>>2]|0}v[i+8>>2]=j;v[b+12>>2]=r}w=(o<<2)+r|0,x=fc(1024),v[w>>2]=x;v[b+4>>2]=p+1}i=v[v[b+12>>2]+(o<<2)>>2]+((q&63)<<4)|0;A[i+8>>3]=k;A[i>>3]=f;q=v[b>>2]+1|0;v[b>>2]=q;l=l+1|0;if((m|0)!=(l|0)){continue}break}break b}k=e-(e>3];e=e-t;k=f*Ee(e)+d;f=f*Ve(e)+c;p=v[b+4>>2];o=q>>>6|0;if(p>>>0<=o>>>0){i=v[b+8>>2];f:{if(i>>>0>o>>>0){r=v[b+12>>2];break f}j=i+v[b+16>>2]|0;r=fc((j|0)!=(j&1073741823)?-1:j<<2);i=b;n=v[b+12>>2];if(n){gc(r,n,p<<2);dc(n);q=v[b>>2];p=v[b+4>>2];j=v[b+8>>2]+v[b+16>>2]|0}v[i+8>>2]=j;v[b+12>>2]=r}w=(o<<2)+r|0,x=fc(1024),v[w>>2]=x;v[b+4>>2]=p+1}i=v[v[b+12>>2]+(o<<2)>>2]+((q&63)<<4)|0;A[i+8>>3]=k;A[i>>3]=f;q=v[b>>2]+1|0;v[b>>2]=q;l=l+1|0;if((m|0)!=(l|0)){continue}break}}l=v[b+4>>2];n=q>>>6|0;if(l>>>0<=n>>>0){a=v[b+8>>2];g:{if(a>>>0>n>>>0){a=v[b+12>>2];break g}j=a+v[b+16>>2]|0;a=fc((j|0)!=(j&1073741823)?-1:j<<2);i=b;m=v[b+12>>2];if(m){gc(a,m,l<<2);dc(m);q=v[b>>2];l=v[b+4>>2];j=v[b+8>>2]+v[b+16>>2]|0}v[i+8>>2]=j;v[b+12>>2]=a}w=(n<<2)+a|0,x=fc(1024),v[w>>2]=x;v[b+4>>2]=l+1}a=v[v[b+12>>2]+(n<<2)>>2]+((q&63)<<4)|0;A[a+8>>3]=d+h;A[a>>3]=c+g;v[b>>2]=v[b>>2]+1}function fFa(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,p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0,A=0,C=0;t[a+192|0]=0;t[a+193|0]=0;t[a+194|0]=0;t[a+195|0]=0;t[a+196|0]=0;t[a+197|0]=0;t[a+198|0]=0;t[a+199|0]=0;t[a+248|0]=0;t[a+249|0]=0;t[a+250|0]=0;t[a+251|0]=0;t[a+252|0]=0;t[a+253|0]=0;t[a+254|0]=0;t[a+255|0]=0;t[a+240|0]=0;t[a+241|0]=0;t[a+242|0]=0;t[a+243|0]=0;t[a+244|0]=0;t[a+245|0]=0;t[a+246|0]=0;t[a+247|0]=0;t[a+232|0]=0;t[a+233|0]=0;t[a+234|0]=0;t[a+235|0]=0;t[a+236|0]=0;t[a+237|0]=0;t[a+238|0]=0;t[a+239|0]=0;t[a+224|0]=0;t[a+225|0]=0;t[a+226|0]=0;t[a+227|0]=0;t[a+228|0]=0;t[a+229|0]=0;t[a+230|0]=0;t[a+231|0]=0;t[a+216|0]=0;t[a+217|0]=0;t[a+218|0]=0;t[a+219|0]=0;t[a+220|0]=0;t[a+221|0]=0;t[a+222|0]=0;t[a+223|0]=0;t[a+208|0]=0;t[a+209|0]=0;t[a+210|0]=0;t[a+211|0]=0;t[a+212|0]=0;t[a+213|0]=0;t[a+214|0]=0;t[a+215|0]=0;t[a+200|0]=0;t[a+201|0]=0;t[a+202|0]=0;t[a+203|0]=0;t[a+204|0]=0;t[a+205|0]=0;t[a+206|0]=0;t[a+207|0]=0;f=a;while(1){d=v[(k<<2)+b>>2]+c|0;i=w[d+11|0];l=w[d|0];g=i+l|0;m=w[d+5|0];n=w[d+6|0];j=m+n|0;o=g-j|0;p=w[d+10|0];q=w[d+1|0];e=p+q|0;r=w[d+7|0];s=w[d+4|0];h=r+s|0;u=w[d+9|0];x=w[d+2|0];y=u+x|0;z=w[d+8|0];A=w[d+3|0];C=z+A|0;d=y-C|0;v[f+24>>2]=o-((e-h|0)+d|0)<<2;g=g+j|0;j=y+C|0;v[f+16>>2]=B(g-j|0,10033)+1024>>11;v[f>>2]=(g+(h+(e+j|0)|0)<<2)-6144;v[f+8>>2]=((e-(d+h|0)|0)+B(d+o|0,11190)|0)+1024>>11;h=s-r|0;j=q-p|0;g=B(h+j|0,4433);d=l-i|0;e=A-z|0;l=g+B(h,-15137)|0;h=m-n|0;i=x-u|0;v[f+12>>2]=((B(d-e|0,10703)+l|0)+B(h+i|0,-4433)|0)+1024>>11;m=B(d+e|0,7053);n=m+B(e,5946)|0;e=B(e+i|0,-1512);g=g+B(j,6270)|0;v[f+28>>2]=(((n+e|0)-g|0)+B(h,-9191)|0)+1024>>11;j=e;e=B(d+i|0,9191)+1024|0;v[f+20>>2]=((j+(e+B(i,-19165)|0)|0)-l|0)+B(h,7053)>>11;v[f+4>>2]=(g+(m+(e+B(d,-4758)|0)|0)|0)+B(h,1512)>>11;f=f+32|0;k=k+1|0;if((k|0)!=6){continue}break}b=7;while(1){f=v[a+160>>2];d=v[a>>2];c=f+d|0;e=v[a+96>>2];h=v[a+64>>2];i=e+h|0;v[a+64>>2]=B(c-i|0,17837)+32768>>16;c=c+i|0;i=v[a+128>>2];k=v[a+32>>2];g=i+k|0;v[a+128>>2]=B(c-(g<<1)|0,10298)+32768>>16;v[a>>2]=B(c+g|0,14564)+32768>>16;c=h-e|0;f=d-f|0;d=B(c+f|0,5331)+32768|0;e=k-i|0;v[a+160>>2]=d+B(c-e|0,14564)>>16;v[a+96>>2]=B(f-(c+e|0)|0,14564)+32768>>16;v[a+32>>2]=d+B(f+e|0,14564)>>16;c=b;b=c-1|0;a=a+4|0;if(c){continue}break}}function $eb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=v[a+572>>2];c=v[a+664>>2];a:{if((d|0)<(c|0)|(d|0)>=v[a+668>>2]){break a}d=Ub[v[a+220>>2]](a,v[a+680>>2]+(d-c|0)|0)|0;c=v[a+580>>2];d=(d+(c<<1)|0)+(v[a+672>>2]<<1)|0;b=v[a+656>>2];e=(b|0)/v[a+584>>2]|0;i=v[a+644>>2];b:{if(!w[a+648|0]){f=b+c|0;b=i+(e<<2)|0;c=v[a+660>>2];if(!w[a+649|0]){break b}if((c|0)<=(f|0)){break a}while(1){t[d+1|0]=w[b+2|0]&248|w[b+1|0]>>>5;t[d|0]=w[b+1|0]<<3&224|w[b|0]>>>3;b=b+4|0;c=v[a+584>>2];d=(c<<1)+d|0;f=c+f|0;if((f|0)>2]){continue}break}break a}f=b+c|0;b=i+(e<<3)|0;c=v[a+660>>2];if(w[a+649|0]){if((c|0)<=(f|0)){break a}while(1){t[d+1|0]=w[b+4|0]&248|w[b+2|0]>>>5;t[d|0]=w[b+2|0]<<3&224|w[b|0]>>>3;b=b+8|0;c=v[a+584>>2];d=(c<<1)+d|0;f=c+f|0;if((f|0)>2]){continue}break}break a}if((c|0)<=(f|0)){break a}while(1){c=w[b+6|0]|w[b+7|0]<<8;e=(c<<8|c>>>8)&65535;if(e){l=d;c:{if((e|0)==65535){t[d+1|0]=w[b+4|0]&248|w[b+2|0]>>>5;c=w[b+2|0]<<3&-32|w[b|0]>>>3;break c}i=w[b|0]|w[b+1|0]<<8;j=w[b+2|0]|w[b+3|0]<<8;c=B(e,(j<<8|j>>>8)&65535);j=e^65535;k=w[d+1|0];g=w[d|0];h=(c+B(B(j,(k<<5|g>>>3)&252),257)|0)+32768|0;h=(h>>>16|0)+h|0;c=w[b+4|0]|w[b+5|0]<<8;g=g<<3&248;g=(B(e,(c<<8|c>>>8)&65535)+B(j,g<<8|g)|0)+32768|0;t[d+1|0]=h>>>29|(g>>>16|0)+g>>>24&248;e=(B((i<<8|i>>>8)&65535,e)+B(B(j,k&248),257)|0)+32768|0;c=h>>>21&224|(e>>>16|0)+e>>>27}t[l|0]=c}b=b+8|0;c=v[a+584>>2];d=(c<<1)+d|0;f=c+f|0;if((f|0)>2]){continue}break}break a}if((c|0)<=(f|0)){break a}while(1){e=w[b+3|0];if(e){l=d;d:{if((e|0)==255){t[d+1|0]=w[b+2|0]&248|w[b+1|0]>>>5;c=w[b+1|0]<<3&-32|w[b|0]>>>3;break d}j=w[b|0];i=e^255;k=w[d+1|0];g=w[d|0];h=(B(e,w[b+1|0])+B(i,(k<<5|g>>>3)&252)|0)+128|0;h=(h>>>8&255)+h|0;k=(B(i,k&248)+B(e,w[b+2|0])|0)+128|0;t[d+1|0]=h>>>13&7|(k>>>8&255)+k>>>8&248;e=(B(i,g<<3&248)+B(e,j)|0)+128|0;c=(e>>>8&255)+e>>>11&31|h>>>5&224}t[l|0]=c}b=b+4|0;c=v[a+584>>2];d=(c<<1)+d|0;f=c+f|0;if((f|0)>2]){continue}break}}d=v[a+680>>2]+v[a+572>>2]|0;c=v[a+664>>2];b=v[a+556>>2];f=v[a+672>>2];e:{if((f|0)>=v[a+552>>2]){if(b){break e}b=0}v[a+552>>2]=f}l=b;b=v[a+676>>2];if((l|0)<(b|0)){v[a+556>>2]=b}b=v[a+564>>2];d=d-c|0;f:{if((d|0)>=v[a+560>>2]){if(b){break f}b=0}v[a+560>>2]=d}if((b|0)<=(d|0)){v[a+564>>2]=d+1}return 0}function TO(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;l=Qb-32|0;Qb=l;h=v[b>>2];i=xr(h);v[a>>2]=i;a:{b:{if(i-1>>>0>=7){a=vc(l+8|0,225192,240926,254,341577,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}j=Cj(h);f=Cj(h);m=Cj(h);g=Cj(h);o=a,p=Cj(h)-32768|0,v[o+20>>2]=p;o=a,p=wr(h),v[o+24>>2]=p;i=a+20|0;j=j-32768|0;n=32768-f|0;k=f-32768|0;m=m-32768|0;f=32768-g|0;g=g-32768|0;c:{d:{if(e){d=v[a>>2];e:{if(!(d>>>0>5|!(1<>2]+(f+n|0)|0;d=e+4|0;break e}k=v[e+8>>2]+k|0;d=e+12|0}f=i;e=v[e+24>>2]+v[e+20>>2]|0;break d}if(!d){break c}k=v[d+16>>2]+(f+n|0)|0;f=d+20|0;d=d+4|0;e=v[i>>2]}d=v[d>>2];v[i>>2]=e+v[f>>2];j=d+j|0}v[a+4>>2]=j;v[a+16>>2]=g+k;v[a+12>>2]=j+m;v[a+8>>2]=k;j=wr(h);d=v[a+20>>2];if(!((d|0)>=0&(d+v[a+24>>2]|0)<=(c|0))){a=vc(l+8|0,225192,240926,293,341577,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}k=a+28|0;Cp(k);if((j|0)>=1){e=0;while(1){f=Qb+-64|0;Qb=f;v[f+28>>2]=0;v[f+32>>2]=0;v[f+36>>2]=0;v[f+40>>2]=0;h=f+44|0;d=h;v[d>>2]=0;v[d+4>>2]=0;v[f+52>>2]=0;v[f+56>>2]=0;v[f+20>>2]=0;v[f+24>>2]=0;v[f+16>>2]=1;v[d>>2]=984984;v[d+4>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;d=v[a>>2];v[f+36>>2]=0;v[f+40>>2]=0;v[f+60>>2]=a;v[f+16>>2]=d;v[299999]=0;i=S(1,56)|0;d=v[299999];v[299999]=0;f:{g:{if((d|0)==1){break g}d=i;v[d>>2]=0;v[d+4>>2]=0;v[d+48>>2]=0;v[d+52>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=0;v[d+36>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;g=v[f+20>>2];v[d+8>>2]=v[f+16>>2];v[d+12>>2]=g;g=v[f+28>>2];v[d+16>>2]=v[f+24>>2];v[d+20>>2]=g;g=v[f+36>>2];v[d+24>>2]=v[f+32>>2];v[d+28>>2]=g;v[d+32>>2]=v[f+40>>2];v[299999]=0;Q(4387,d+36|0,h|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break g}v[i+52>>2]=v[f+60>>2];v[299999]=0;g=a+28|0;Le(g,i);d=v[299999];v[299999]=0;if((d|0)==1){break g}d=v[a+40>>2];v[f+12>>2]=g;v[f+8>>2]=d;if(!d){v[299999]=0;V(4468,f+8|0,g|0);a=v[299999];v[299999]=0;if((a|0)==1){break g}L()}Ic(h);Qb=f- -64|0;d=d+8|0;break f}a=P()|0;O()|0;Ic(h);T(a|0);L()}TO(d,b,c,a,e);i=(j|0)>1;j=j-1|0;if(v[d+4>>2]>2]&v[d+8>>2]>2]){e=d}else{d=v[a+40>>2];v[l+12>>2]=k;v[l+8>>2]=d;Mm(k,l+8|0)}if(i){continue}break}}Qb=l+32|0;return}L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function Kz(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{d=b;g=v[b>>2];if(g){c=v[b+4>>2];if(!c){break b}while(1){d=c;c=v[c>>2];if(c){continue}break}}g=v[d+4>>2];if(g){break b}g=0;e=1;break a}v[g+8>>2]=v[d+8>>2];e=0}f=v[d+8>>2];c=v[f>>2];c:{if((d|0)==(c|0)){v[f>>2]=g;if((a|0)==(d|0)){c=0;a=g;break c}c=v[f+4>>2];break c}v[f+4>>2]=g}h=!w[d+12|0];if((b|0)!=(d|0)){f=v[b+8>>2];v[d+8>>2]=f;v[f+((v[v[b+8>>2]>>2]!=(b|0))<<2)>>2]=d;f=v[b>>2];v[d>>2]=f;v[f+8>>2]=d;f=v[b+4>>2];v[d+4>>2]=f;if(f){v[f+8>>2]=d}t[d+12|0]=w[b+12|0];a=(a|0)==(b|0)?d:a}if(!(h|!a)){if(e){while(1){b=w[c+12|0];d:{e=v[c+8>>2];if(v[e>>2]!=(c|0)){e:{f:{if(!b){t[c+12|0]=1;t[e+12|0]=0;d=v[e+4>>2];b=v[d>>2];v[e+4>>2]=b;if(b){v[b+8>>2]=e}v[d+8>>2]=v[e+8>>2];b=v[e+8>>2];v[(((e|0)!=v[b>>2])<<2)+b>>2]=d;v[d>>2]=e;v[e+8>>2]=d;b=v[c>>2];a=(b|0)==(a|0)?c:a;c=v[b+4>>2]}d=v[c>>2];g:{if(!(w[d+12|0]?0:d)){b=v[c+4>>2];if(w[b+12|0]?0:b){break g}t[c+12|0]=0;c=v[c+8>>2];h:{if((c|0)==(a|0)){c=a;break h}if(w[c+12|0]){break d}}t[c+12|0]=1;return}b=v[c+4>>2];if(!b){break f}}if(w[b+12|0]){break f}d=c;break e}t[d+12|0]=1;t[c+12|0]=0;a=v[d+4>>2];v[c>>2]=a;if(a){v[a+8>>2]=c}v[d+8>>2]=v[c+8>>2];a=v[c+8>>2];v[((v[a>>2]!=(c|0))<<2)+a>>2]=d;v[d+4>>2]=c;v[c+8>>2]=d;b=c}c=v[d+8>>2];t[d+12|0]=w[c+12|0];t[c+12|0]=1;t[b+12|0]=1;b=v[c+4>>2];a=v[b>>2];v[c+4>>2]=a;if(a){v[a+8>>2]=c}v[b+8>>2]=v[c+8>>2];a=v[c+8>>2];v[(((c|0)!=v[a>>2])<<2)+a>>2]=b;v[b>>2]=c;v[c+8>>2]=b;return}if(!b){t[c+12|0]=1;t[e+12|0]=0;b=v[c+4>>2];v[e>>2]=b;if(b){v[b+8>>2]=e}v[c+8>>2]=v[e+8>>2];b=v[e+8>>2];v[(((e|0)!=v[b>>2])<<2)+b>>2]=c;v[c+4>>2]=e;v[e+8>>2]=c;a=(a|0)==(e|0)?c:a;c=v[e>>2]}b=v[c>>2];i:{if(!(!b|w[b+12|0])){d=c;break i}d=v[c+4>>2];if(!(w[d+12|0]?0:d)){t[c+12|0]=0;c=v[c+8>>2];if((a|0)!=(c|0)?w[c+12|0]:0){break d}t[c+12|0]=1;return}if(b){if(!w[b+12|0]){d=c;break i}d=v[c+4>>2]}t[d+12|0]=1;t[c+12|0]=0;a=v[d>>2];v[c+4>>2]=a;if(a){v[a+8>>2]=c}v[d+8>>2]=v[c+8>>2];a=v[c+8>>2];v[((v[a>>2]!=(c|0))<<2)+a>>2]=d;v[d>>2]=c;v[c+8>>2]=d;b=c}c=v[d+8>>2];t[d+12|0]=w[c+12|0];t[c+12|0]=1;t[b+12|0]=1;b=v[c>>2];a=v[b+4>>2];v[c>>2]=a;if(a){v[a+8>>2]=c}v[b+8>>2]=v[c+8>>2];a=v[c+8>>2];v[(((c|0)!=v[a>>2])<<2)+a>>2]=b;v[b+4>>2]=c;v[c+8>>2]=b;return}b=v[c+8>>2];c=v[((v[b>>2]==(c|0))<<2)+b>>2];continue}}t[g+12|0]=1}}function lha(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;f=Qb-32|0;Qb=f;v[f+12>>2]=0;g=v[a+12>>2];h=ex(f+16|0,1,322139);if(g){g=b+g|0;while(1){e=g;g=e+1|0;if(w[e|0]==32){continue}break}}g=Yf(e,f+12|0,d);Et(h);a:{b:{e=v[f+12>>2];if(e){v[c>>2]=e-v[a+12>>2];break b}v[c>>2]=-1;fx(f+16|0,e,v[a+12>>2]+b|0);c:{d:{e:{f:{g:{h:{i:{j:{e=v[f+16>>2];k:{if(!e){break k}b=v[v[e>>2]+24>>2];v[299999]=0;U(b|0,f+8|0,e|0,2);b=v[299999];v[299999]=0;if((b|0)==1){break e}v[299999]=0;Q(4344,f+16|0,f+8|0)|0;b=v[299999];v[299999]=0;l:{if((b|0)!=1){b=v[f+8>>2];v[f+8>>2]=0;if(!b){break l}v[299999]=0;e=v[b+4>>2]-1|0;v[b+4>>2]=e;h=v[299999];v[299999]=0;if((h|0)!=1){if(e){break l}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break l}}break a}e=P()|0;O()|0;ec(f+8|0);break d}e=v[f+16>>2];if(!e){break k}b=v[v[e>>2]+44>>2];v[299999]=0;g=Z(b|0,e|0,0,f+8|0,d|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break j}b=v[f+8>>2];if((b|0)<=0){e=v[f+16>>2];break k}v[c>>2]=v[a+8>>2];a=v[a+12>>2];v[299999]=0;U(5159,f|0,v[f+16>>2],a+b|0);a=v[299999];v[299999]=0;if((a|0)==1){break i}v[299999]=0;Q(4344,f+16|0,f|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break h}a=v[f>>2];v[f>>2]=0;m:{if(!a){break m}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(b){break m}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}e=v[f+16>>2];if(!e){break k}a=v[v[e>>2]+28>>2];v[299999]=0;U(a|0,f|0,e|0,1);a=v[299999];v[299999]=0;if((a|0)==1){break g}v[299999]=0;Q(4344,f+16|0,f|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break f}a=v[f>>2];v[f>>2]=0;n:{if(!a){break n}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;d=v[299999];v[299999]=0;if((d|0)==1){break c}if(b){break n}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break c}}e=v[f+16>>2];if(!e){break k}v[c>>2]=v[c>>2]-v[e+8>>2]}v[f+16>>2]=0;if(!e){break b}v[299999]=0;a=v[e+4>>2]-1|0;v[e+4>>2]=a;b=v[299999];v[299999]=0;if((b|0)!=1){if(a){break b}v[299999]=0;R(4338,e|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}}break a}e=P()|0;O()|0;break d}e=P()|0;O()|0;break d}e=P()|0;O()|0;ec(f);break d}e=P()|0;O()|0;break d}e=P()|0;O()|0;ec(f);break d}e=P()|0;O()|0}ec(f+16|0);T(e|0);L()}break a}Qb=f+32|0;return g|0}W(0)|0;O()|0;lc();L()}function kha(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;f=Qb-32|0;Qb=f;v[f+12>>2]=0;g=v[a+12>>2];h=ex(f+16|0,1,322139);if(g){g=b+g|0;while(1){e=g;g=e+1|0;if(w[e|0]==32){continue}break}}g=Iw(e,f+12|0,d);Et(h);a:{b:{e=v[f+12>>2];if(e){v[c>>2]=e-v[a+12>>2];break b}v[c>>2]=-1;fx(f+16|0,e,v[a+12>>2]+b|0);c:{d:{e:{f:{g:{h:{i:{j:{e=v[f+16>>2];k:{if(!e){break k}b=v[v[e>>2]+24>>2];v[299999]=0;U(b|0,f+8|0,e|0,2);b=v[299999];v[299999]=0;if((b|0)==1){break e}v[299999]=0;Q(4344,f+16|0,f+8|0)|0;b=v[299999];v[299999]=0;l:{if((b|0)!=1){b=v[f+8>>2];v[f+8>>2]=0;if(!b){break l}v[299999]=0;e=v[b+4>>2]-1|0;v[b+4>>2]=e;h=v[299999];v[299999]=0;if((h|0)!=1){if(e){break l}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break l}}break a}e=P()|0;O()|0;ec(f+8|0);break d}e=v[f+16>>2];if(!e){break k}b=v[v[e>>2]+48>>2];v[299999]=0;g=Z(b|0,e|0,0,f+8|0,d|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break j}b=v[f+8>>2];if((b|0)<=0){e=v[f+16>>2];break k}v[c>>2]=v[a+8>>2];a=v[a+12>>2];v[299999]=0;U(5159,f|0,v[f+16>>2],a+b|0);a=v[299999];v[299999]=0;if((a|0)==1){break i}v[299999]=0;Q(4344,f+16|0,f|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break h}a=v[f>>2];v[f>>2]=0;m:{if(!a){break m}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(b){break m}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}e=v[f+16>>2];if(!e){break k}a=v[v[e>>2]+28>>2];v[299999]=0;U(a|0,f|0,e|0,1);a=v[299999];v[299999]=0;if((a|0)==1){break g}v[299999]=0;Q(4344,f+16|0,f|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break f}a=v[f>>2];v[f>>2]=0;n:{if(!a){break n}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;d=v[299999];v[299999]=0;if((d|0)==1){break c}if(b){break n}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break c}}e=v[f+16>>2];if(!e){break k}v[c>>2]=v[c>>2]-v[e+8>>2]}v[f+16>>2]=0;if(!e){break b}v[299999]=0;a=v[e+4>>2]-1|0;v[e+4>>2]=a;b=v[299999];v[299999]=0;if((b|0)!=1){if(a){break b}v[299999]=0;R(4338,e|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}}break a}e=P()|0;O()|0;break d}e=P()|0;O()|0;break d}e=P()|0;O()|0;ec(f);break d}e=P()|0;O()|0;break d}e=P()|0;O()|0;ec(f);break d}e=P()|0;O()|0}ec(f+16|0);T(e|0);L()}break a}Qb=f+32|0;return g|0}W(0)|0;O()|0;lc();L()}function jNa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=Qb-16|0;Qb=d;e=v[a+8>>2];f=v[a+12>>2]-e|0;a:{if(!f){break a}l=v[a+4>>2];if(v[l+52>>2]==1){Fh(l,849232,2,a+16|0,v[a+20>>2],a+24|0,-1,b);v[l+52>>2]=0}g=v[a+16>>2];v[d+12>>2]=g;c=v[a+20>>2];if(c>>>0<=g>>>0){v[b>>2]=15;break a}f=f>>1;j=v[a+24>>2];v[d+8>>2]=j;k=c-g|0;b:{c:{d:{e:{f:{g:{h:{c=v[l+56>>2];h=c&65535;if(!h){break h}i=x[e>>1];if((i&64512)!=56320|k>>>0<4){break h}t[g|0]=c>>>8;t[v[d+12>>2]+1|0]=c;t[v[d+12>>2]+2|0]=i>>>8;t[v[d+12>>2]+3|0]=i;g=v[d+12>>2]+4|0;v[d+12>>2]=g;j=0;c=v[d+8>>2];if(c){v[c+8>>2]=-1;v[c>>2]=-1;v[c+4>>2]=-1;j=c+16|0;v[d+8>>2]=j;v[c+12>>2]=-1}k=k-4|0;f=f-1|0;e=e+2|0;v[l+56>>2]=0;i=1;break g}i=0;if(h){break f}}c=f<<1;c=c>>>0>k>>>0?k&-2:c;k=k-c|0;h=c>>>1|0;m=f-h|0;i:{j:{if(j){if(!c){break i}while(1){k:{f=e+2|0;c=x[e>>1];l:{if((c&63488)!=55296){t[g|0]=c>>>8;t[v[d+12>>2]+1|0]=c;g=v[d+12>>2]+2|0;v[d+12>>2]=g;e=v[d+8>>2];v[e>>2]=i;v[d+8>>2]=e+8;v[e+4>>2]=i;i=i+1|0;e=f;break l}if(c&1024|h>>>0<2){break k}j=x[f>>1];if((j&64512)!=56320){break k}t[g|0]=c>>>8;t[v[d+12>>2]+1|0]=c;t[v[d+12>>2]+2|0]=j>>>8;t[v[d+12>>2]+3|0]=j;g=v[d+12>>2]+4|0;v[d+12>>2]=g;f=v[d+8>>2];v[f+8>>2]=i;v[f+4>>2]=i;v[f>>2]=i;v[d+8>>2]=f+16;v[f+12>>2]=i;i=i+2|0;h=h-1|0;e=e+4|0}h=h-1|0;if(h){continue}break i}break}break j}if(!c){break i}while(1){f=e+2|0;c=x[e>>1];m:{if((c&63488)!=55296){t[g|0]=c>>>8;t[v[d+12>>2]+1|0]=c;g=v[d+12>>2]+2|0;e=f;break m}if(c&1024|h>>>0<2){break j}j=x[f>>1];if((j&64512)!=56320){break j}t[g|0]=c>>>8;t[v[d+12>>2]+1|0]=c;t[v[d+12>>2]+2|0]=j>>>8;t[v[d+12>>2]+3|0]=j;h=h-1|0;g=v[d+12>>2]+4|0;e=e+4|0}v[d+12>>2]=g;h=h-1|0;if(h){continue}break}break i}e=f;k=(h<<1)+k|0;if(c){break f}break e}if(!m|!k){break b}m=2;f=e+2|0;c=x[e>>1];if((c&63488)!=55296){break d}e=f}n:{if(!(c&1024)){m=0;if(y[a+12>>2]<=e>>>0){break n}f=x[e>>1];if((f&64512)==56320){t[d+7|0]=f;t[d+6|0]=f>>>8;t[d+5|0]=c;t[d+4|0]=c>>>8;e=e+2|0;c=0;m=4;break n}v[b>>2]=12;break n}v[b>>2]=12;m=0}v[l+56>>2]=c&65535}if(!m){break b}break c}e=c<<8|c>>>8;t[d+4|0]=e;t[d+5|0]=e>>>8;e=f}Fh(l,d+4|0,m,d+12|0,v[a+20>>2],d+8|0,i,b);g=v[d+12>>2];k=v[a+20>>2]-g|0}if(!(k|(y[a+12>>2]<=e>>>0|v[b>>2]>0))){v[b>>2]=15}v[a+16>>2]=g;v[a+8>>2]=e;v[a+24>>2]=v[d+8>>2]}Qb=d+16|0}function dKa(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;g=Qb-16|0;Qb=g;f=Qb-16|0;Qb=f;v[g+8>>2]=0;v[g>>2]=0;v[g+4>>2]=0;a:{b:{d=v[a>>2];if(!d){break b}e=w[b+11|0];c:{d:{if(((e<<24>>24<0?v[b+4>>2]:e)|0)==1){v[299999]=0;j=ca(2608,b|0,0,-1,878864,1)|0;d=v[299999];v[299999]=0;if((d|0)!=1){e=v[a>>2];d=v[e+24>>2];e=v[e+28>>2]-d|0;if((e|0)<=0){break b}h=e>>2;e=h;if(j){break d}e=(h|0)>1?h:1;b=0;while(1){v[f+8>>2]=0;d=v[(b<<2)+d>>2];v[f+8>>2]=d;e:{if(!d){break e}h=v[v[d>>2]+8>>2];v[299999]=0;S(h|0,d|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){break e}break c}d=v[g+4>>2];v[299999]=0;Y(2952,g|0,d|0,f+8|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){d=v[f+8>>2];v[f+8>>2]=0;if(d){h=v[v[d>>2]+12>>2];v[299999]=0;S(h|0,d|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break a}}b=b+1|0;if((e|0)==(b|0)){break b}d=v[v[a>>2]+24>>2];continue}break}break c}break a}e=v[d+28>>2];d=v[d+24>>2];e=e-d|0;if((e|0)<=0){break b}e=e>>2}n=(e|0)>1?e:1;e=0;while(1){f:{i=w[b+11|0];h=i<<24>>24<0;k=e<<2;j=v[k+d>>2];l=w[j+59|0];m=l<<24>>24<0;i=h?v[b+4>>2]:i;g:{if((i|0)!=((m?v[j+52>>2]:l)|0)){break g}if(i){d=j+48|0;if(od(h?v[b>>2]:b,m?v[d>>2]:d,i)){break g}d=v[v[a>>2]+24>>2]}v[f+8>>2]=0;d=v[d+k>>2];v[f+8>>2]=d;h:{if(!d){break h}h=v[v[d>>2]+8>>2];v[299999]=0;S(h|0,d|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){break h}break c}d=v[g+4>>2];v[299999]=0;Y(2952,g|0,d|0,f+8|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break f}d=v[f+8>>2];v[f+8>>2]=0;if(!d){break g}h=v[v[d>>2]+12>>2];v[299999]=0;S(h|0,d|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break a}}e=e+1|0;if((n|0)==(e|0)){break b}d=v[v[a>>2]+24>>2];continue}break}}b=P()|0;O()|0;a=v[f+8>>2];v[f+8>>2]=0;if(a){c=v[v[a>>2]+12>>2];v[299999]=0;S(c|0,a|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break a}}qj(g);T(b|0);L()}Qb=f+16|0;i:{j:{if((c|0)!=(g|0)){v[299999]=0;U(2953,c|0,v[g>>2],v[g+4>>2]);a=v[299999];v[299999]=0;if((a|0)==1){break j}}b=v[g>>2];if(b){a=v[g+4>>2];if((b|0)==(a|0)){a=b}else{while(1){a=a-4|0;f=v[a>>2];v[a>>2]=0;if(f){d=v[v[f>>2]+12>>2];v[299999]=0;S(d|0,f|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break i}}if((a|0)!=(b|0)){continue}break}a=v[g>>2]}v[g+4>>2]=b;dc(a)}Qb=g+16|0;return v[c>>2]!=v[c+4>>2]|0}a=P()|0;O()|0;qj(g);T(a|0);L()}}W(0)|0;O()|0;lc();L()}function Z0a(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;v[a+64>>2]=0;v[a+1140>>2]=b;v[a+1344>>2]=a+1140;j=a+112|0;v[a+1136>>2]=j;d=b+c|0;v[a+1148>>2]=d;v[a+1144>>2]=b;k=160;a:{if((c|0)<1){break a}c=j;while(1){e=b+1|0;f=22;b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{g=w[b|0];switch(g-1|0){case 0:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 13:case 14:case 20:case 21:case 29:case 30:break a;case 11:break j;case 12:break k;case 9:break f;case 10:break g;case 1:case 15:case 16:case 17:case 18:case 19:case 22:case 23:case 24:case 25:case 26:case 27:case 28:break h;default:break i}}f=2;break f}if(e>>>0>=d>>>0){break a}e=b+2|0;g=20;f=4;switch(w[b+1|0]-7|0){case 5:break e;case 0:break f;default:break a}}if((g|0)==255){break d}}if(g>>>0<32){break a}l:{if(g>>>0<=246){b=g-139|0;break l}f=b+2|0;if(f>>>0>d>>>0){break a}if(g>>>0<=250){b=(w[e|0]|g<<8)-63124|0}else{b=64148-(w[e|0]|g<<8)|0}e=f}b=i?b:b<<16;f=(i|0)!=0;break c}f=24}g=f;if(i){break a}}b=v[(g<<2)+382656>>2];if((b|0)>c-j>>2){return 161}c=c-(b<<2)|0;b=a;m:{n:{switch(g-2>>>1|0){case 1:v[a+64>>2]=1;v[a+32>>2]=v[c>>2]+v[a+32>>2];v[a+36>>2]=v[c+4>>2]+v[a+36>>2];v[a+40>>2]=v[c+8>>2];a=v[c+12>>2];break m;case 9:n=c,o=ad(v[c>>2],v[c+4>>2]),v[n>>2]=o;c=c+4|0;i=0;b=e;break b;case 10:b=v[c>>2]>>16;d=v[a+1376>>2];if(d){b=Yh(b,d);if(!b){break a}b=v[b>>2]}if((b|0)<0|v[a+1364>>2]<=(b|0)|(h|0)>15){break a}d=B(h,12)+a|0;v[d+1140>>2]=e;f=d+1156|0;g=b<<2;l=g+v[a+1368>>2]|0;b=v[l>>2];v[f>>2]=b;e=d+1152|0;h=h+1|0;m=(B(h,12)+a|0)+1148|0;d=v[a+1372>>2];o:{if(d){d=v[d+g>>2]+b|0;break o}d=b;b=v[a+1360>>2];b=d+((b|0)>0?b:0)|0;v[f>>2]=b;d=v[l+4>>2]}v[m>>2]=d;v[e>>2]=b;if(!b){break a}v[a+1344>>2]=e;break b;case 11:if((h|0)<1){break a}h=h-1|0;b=B(h,12)+a|0;d=v[b+1148>>2];e=b+1140|0;b=v[e>>2];v[a+1344>>2]=e;break b;case 0:break n;default:break a}}v[a+64>>2]=1;v[a+32>>2]=v[c>>2]+v[a+32>>2];v[a+40>>2]=v[c+4>>2];a=0}v[b+44>>2]=a;k=0;break a}e=b+5|0;if(d>>>0>>0){break a}b=w[b+1|0]|w[b+2|0]<<8|(w[b+3|0]<<16|w[b+4|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(b+32e3>>>0>=64001){f=1;if(!i){break c}break a}b=i?b:b<<16;f=(i|0)!=0}i=f;if((c-j|0)>1020){break a}v[c>>2]=b;c=c+4|0;b=e}v[a+1136>>2]=c;if(b>>>0>>0){continue}break}}return k|0}function Yda(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=Qb-32|0;Qb=d;v[d+16>>2]=0;v[d+20>>2]=v[282402];a:{b:{c:{d:{e:{c=v[b+8>>2];if(!c|!v[c+8>>2]){break e}v[299999]=0;U(4713,d+24|0,b|0,0);c=v[299999];v[299999]=0;f:{g:{if((c|0)!=1){c=v[d+24>>2];if(!c){ec(d+24|0);break e}c=v[c+8>>2];ec(d+24|0);if(!c){break e}v[299999]=0;V(5409,d+24|0,b+8|0);b=v[299999];v[299999]=0;h:{i:{j:{k:{l:{if((b|0)!=1){b=v[d+24>>2];b=v[(b?b+12|0:1129608)>>2];v[299999]=0;c=cx(999852,b,5);e=v[299999];v[299999]=0;if((e|0)==1){break g}if(!c){break k}v[299999]=0;c=Q(4340,d+8|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break l}v[299999]=0;v[a>>2]=0;v[a+4>>2]=v[282402];a=v[299999];v[299999]=0;if((a|0)!=1){break j}b=P()|0;O()|0;ec(c);break f}b=P()|0;O()|0;break a}b=P()|0;O()|0;break f}v[299999]=0;c=b+5|0;e=cx(999858,c,12);f=v[299999];v[299999]=0;if((f|0)==1){break g}m:{if(!e){c=b+17|0;break m}v[299999]=0;e=cx(999871,c,3);f=v[299999];v[299999]=0;if((f|0)==1){break g}if(!e){c=b+8|0;break m}e=Bc(c);if(e>>>0>=5){if(w[c|0]!=47){break m}if(w[b+6|0]!=47){c=b+6|0;break m}if((t[b+7|0]|32)-97>>>0>=26){break m}e=w[b+8|0];if((e|0)!=124&(e|0)!=58|w[b+9|0]!=47){break m}c=b+7|0;break m}if(w[c|0]!=47|e>>>0<3|w[b+6|0]==47){break m}c=b+6|0}v[299999]=0;c=Q(4340,d|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break i}v[d+8>>2]=0;v[299999]=0;v[d+12>>2]=v[282402];Q(4535,d+16|0,d+8|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break h}b=P()|0;O()|0;ec(d+8|0);ec(c);break f}ec(c);ec(d+24|0);break b}b=P()|0;O()|0;break f}ec(d+8|0);ec(c);ec(d+24|0);b=v[d+16>>2];v[a>>2]=0;v[a+4>>2]=v[282402];if(!b){break d}c=v[v[b>>2]+28>>2];v[299999]=0;U(c|0,d+24|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break c}b=P()|0;O()|0;ec(a);break a}b=P()|0;O()|0;break a}b=P()|0;O()|0}ec(d+24|0);break a}v[a>>2]=0;v[a+4>>2]=v[282402]}v[d+24>>2]=0}v[299999]=0;Q(4344,a|0,d+24|0)|0;b=v[299999];v[299999]=0;n:{if((b|0)!=1){b=v[d+24>>2];v[d+24>>2]=0;if(!b){break n}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;e=v[299999];v[299999]=0;if((e|0)!=1){if(c){break n}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break n}}W(0)|0;O()|0;lc();L()}b=P()|0;O()|0;ec(d+24|0);ec(a);break a}b=a;a=v[a>>2];v[b+4>>2]=v[(a?a+12|0:1129608)>>2]}ec(d+16|0);Qb=d+32|0;return}ec(d+16|0);T(b|0);L()}function iz(a){var 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;h=v[a+44>>2];l=h-262|0;c=v[a+116>>2];d=h;while(1){i=v[a+108>>2];j=v[a+60>>2]-(i+c|0)|0;if(d+l>>>0<=i>>>0){f=v[a+56>>2];gc(f,f+h|0,h-j|0);v[a+112>>2]=v[a+112>>2]-h;i=v[a+108>>2]-h|0;v[a+108>>2]=i;v[a+92>>2]=v[a+92>>2]-h;f=v[a+76>>2];g=f-1|0;b=v[a+68>>2]+(f<<1)|0;d=v[a+44>>2];c=f&3;if(c){while(1){b=b-2|0;k=x[b>>1];e=k-d|0;u[b>>1]=e>>>0>k>>>0?0:e;f=f-1|0;c=c-1|0;if(c){continue}break}}if(g>>>0>=3){while(1){e=b-2|0;g=x[e>>1];c=g-d|0;u[e>>1]=c>>>0>g>>>0?0:c;e=b-4|0;g=x[e>>1];c=g-d|0;u[e>>1]=c>>>0>g>>>0?0:c;e=b-6|0;g=x[e>>1];c=g-d|0;u[e>>1]=c>>>0>g>>>0?0:c;b=b-8|0;e=x[b>>1];c=e-d|0;u[b>>1]=c>>>0>e>>>0?0:c;f=f-4|0;if(f){continue}break}}b=v[a+64>>2]+(d<<1)|0;f=d;c=d&3;if(c){while(1){b=b-2|0;g=x[b>>1];e=g-d|0;u[b>>1]=e>>>0>g>>>0?0:e;f=f-1|0;c=c-1|0;if(c){continue}break}}if(d-1>>>0>=3){while(1){e=b-2|0;g=x[e>>1];c=g-d|0;u[e>>1]=c>>>0>g>>>0?0:c;e=b-4|0;g=x[e>>1];c=g-d|0;u[e>>1]=c>>>0>g>>>0?0:c;e=b-6|0;g=x[e>>1];c=g-d|0;u[e>>1]=c>>>0>g>>>0?0:c;b=b-8|0;e=x[b>>1];c=e-d|0;u[b>>1]=c>>>0>e>>>0?0:c;f=f-4|0;if(f){continue}break}}j=h+j|0}a:{b=v[a>>2];e=v[b+4>>2];if(!e){break a}f=v[a+116>>2];d=a;c=e>>>0>j>>>0?j:e;if(c){j=v[a+56>>2];v[b+4>>2]=e-c;f=gc(f+(j+i|0)|0,v[b>>2],c);b:{c:{switch(v[v[b+28>>2]+24>>2]-1|0){case 0:m=b,n=$m(v[b+48>>2],f,c),v[m+48>>2]=n;break b;case 1:break c;default:break b}}m=b,n=Kf(v[b+48>>2],f,c),v[m+48>>2]=n}v[b>>2]=c+v[b>>2];v[b+8>>2]=c+v[b+8>>2];f=v[a+116>>2]}c=c+f|0;v[d+116>>2]=c;b=v[a+5812>>2];d:{if(b+c>>>0<3){break d}d=v[a+108>>2]-b|0;j=v[a+56>>2];f=d+j|0;i=w[f|0];v[a+72>>2]=i;e=v[a+84>>2];g=i;i=v[a+88>>2];f=e&(w[f+1|0]^g<>2]=f;while(1){if(!b){break d}f=e&(w[(d+j|0)+2|0]^f<>2]=f;g=v[a+68>>2]+(f<<1)|0;u[v[a+64>>2]+((v[a+52>>2]&d)<<1)>>1]=x[g>>1];u[g>>1]=d;b=b-1|0;v[a+5812>>2]=b;d=d+1|0;if(c+b>>>0>2){continue}break}}if(!v[v[a>>2]+4>>2]|c>>>0>261){break a}d=v[a+44>>2];continue}break}b=v[a+60>>2];d=v[a+5824>>2];e:{if(b>>>0<=d>>>0){break e}f=a;h=v[a+116>>2]+v[a+108>>2]|0;f:{if(h>>>0>d>>>0){d=h+v[a+56>>2]|0;a=b-h|0;a=a>>>0<258?a:258;ic(d,0,a);a=a+h|0;break f}h=h+258|0;if(h>>>0<=d>>>0){break e}i=d+v[a+56>>2]|0;b=b-d|0;d=h-d|0;d=b>>>0>>0?b:d;ic(i,0,d);a=d+v[a+5824>>2]|0}v[f+5824>>2]=a}}function QK(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;e=t[b|0];a:{if((e|0)<0|(d|0)<1){break a}f=b;g=d;b:{c:{if((d|0)<64){break c}d:{e:{if(b&3){if(e){break b}g=d-8|0;f=b+1|0;if(!(f&3)){h=8;e=d;break e}h=8;e=w[f|0];if(e){break b}j=d-16|0;f=b+2|0;if(!(f&3)){h=16;e=g;g=j;break e}h=16;e=w[f|0];if(e){break b}g=d-24|0;f=b+3|0;if(!(f&3)){h=24;e=j;break e}h=24;e=w[f|0];if(e){break b}f=b+4|0;if(!(f&3)){h=32;e=g;g=d-32|0;break e}e=w[f|0];h=32;break b}break d}if((e|0)<40){break c}}e=g;while(1){if(v[f>>2]){g=e;break c}f=f+4|0;h=h+32|0;j=(e|0)>63;g=e-32|0;e=g;if(j){continue}break}}f:{if((g|0)<8){e=g;break f}while(1){e=w[f|0];if(e){h=w[e+86224|0]+h|0;break a}f=f+1|0;h=h+8|0;j=(g|0)>15;e=g-8|0;g=e;if(j){continue}break}}if((e|0)<1){break a}g=w[w[f|0]+86224|0];h=((e|0)<(g|0)?e:g)+h|0;break a}h=w[(e&255)+86224|0]+h|0}e=t[c|0];g:{if((e|0)<0|(d|0)<1){break g}f=c;g=d;h:{i:{if((d|0)<64){break i}j:{k:{if(c&3){if(e){break h}g=d-8|0;f=c+1|0;if(!(f&3)){i=8;e=d;break k}i=8;e=w[f|0];if(e){break h}j=d-16|0;f=c+2|0;if(!(f&3)){i=16;e=g;g=j;break k}i=16;e=w[f|0];if(e){break h}g=d-24|0;f=c+3|0;if(!(f&3)){i=24;e=j;break k}i=24;e=w[f|0];if(e){break h}f=c+4|0;if(!(f&3)){i=32;e=g;g=d-32|0;break k}e=w[f|0];i=32;break h}break j}if((e|0)<40){break i}}e=g;while(1){if(v[f>>2]){g=e;break i}f=f+4|0;i=i+32|0;j=(e|0)>63;g=e-32|0;e=g;if(j){continue}break}}l:{if((g|0)<8){e=g;break l}while(1){e=w[f|0];if(e){i=w[e+86224|0]+i|0;break g}f=f+1|0;i=i+8|0;j=(g|0)>15;e=g-8|0;g=e;if(j){continue}break}}if((e|0)<1){break g}g=w[w[f|0]+86224|0];i=((e|0)<(g|0)?e:g)+i|0;break g}i=w[(e&255)+86224|0]+i|0}g=0;while(1){f=d;if(i>>>0>>0){m:{if(w[(i>>>3|0)+c|0]>>>((i^-1)&7)&1){e=Mq(c,i,d);break m}e=Oq(c,i,d)}f=e+i|0}n:{if(f>>>0>=h>>>0){e=(i-h|0)+3|0;if(e>>>0>=7){f=d;if(h>>>0>>0){o:{if(w[(h>>>3|0)+b|0]>>>((h^-1)&7)&1){e=Mq(b,h,d);break o}e=Oq(b,h,d)}f=e+h|0}Kk(a,1,3);if(!(w[(g>>>3|0)+b|0]>>>((g^-1)&7)&1&(0-h|0)!=(g|0))){Nq(a,h-g|0,84448);Nq(a,f-h|0,85104);break n}Nq(a,h-g|0,85104);Nq(a,f-h|0,84448);break n}g=B(e,6);Kk(a,x[g+86754>>1],x[g+86752>>1]);f=h;break n}Kk(a,1,4)}if(d>>>0>f>>>0){p:{if(w[(f>>>3|0)+b|0]>>>((f^-1)&7)&1){h=Mq(b,f,d);i=Oq(c,f,d)+f|0;g=Mq(c,i,d);break p}h=Oq(b,f,d);i=Mq(c,f,d)+f|0;g=Oq(c,i,d)}i=g+i|0;h=f+h|0;g=f;continue}break}}function Iu(a,b){var c=0,d=0,e=0;a:{if(!b|!a){break a}b:{c:{d:{e:{f:{g:{h:{i:{e=v[b+4>>2];switch(e-1|0){case 17:break c;case 8:case 12:break d;case 4:break e;case 6:case 7:break f;case 1:break g;case 0:case 10:break h;case 2:case 3:break i;default:break a}}if(v[a+32>>2]){break a}c=v[b+40>>2];b=v[a+8>>2];if(!((b|0)==v[a+24>>2]|b>>>0>2147483646)){v[a+24>>2]=b}b=v[a+4>>2];if(!((b|0)==v[a+20>>2]|b>>>0>2147483646)){v[a+20>>2]=b}if(v[a+12>>2]==2){break a}if(c){break b}break a}c=b;while(1){j:{k:{switch(e-3|0){case 0:case 1:e=v[c+40>>2];if(v[a+32>>2]|!e){break j}d=v[a+8>>2];if(!((d|0)==v[a+24>>2]|d>>>0>2147483646)){v[a+24>>2]=d}d=v[a+4>>2];if(!((d|0)==v[a+20>>2]|d>>>0>2147483646)){v[a+20>>2]=d}if(v[a+12>>2]==2){break j}Zi(a,e,-1);break j;case 2:break k;default:break j}}Iu(a,c)}l:{d=v[c+12>>2];if(v[d+4>>2]!=17?d:0){break l}if((b|0)==(c|0)){break a}while(1){d=v[c+24>>2];if(d){break l}c=v[c+20>>2];if(!c){break a}if((b|0)!=(c|0)){continue}break}break a}e=v[d+4>>2];c=d;continue}}c=v[b+12>>2];if(!c){break a}while(1){m:{if(v[c+4>>2]==3){if(v[a+32>>2]){break m}b=v[c+40>>2];d=v[a+8>>2];if(!((d|0)==v[a+24>>2]|d>>>0>2147483646)){v[a+24>>2]=d}d=v[a+4>>2];if(!((d|0)==v[a+20>>2]|d>>>0>2147483646)){v[a+20>>2]=d}if(!b|v[a+12>>2]==2){break m}Zi(a,b,-1);break m}Iu(a,c)}c=v[c+24>>2];if(c){continue}break}break a}if(v[a+32>>2]){break a}c=v[b+40>>2];b=v[a+8>>2];if(!((b|0)==v[a+24>>2]|b>>>0>2147483646)){v[a+24>>2]=b}b=v[a+4>>2];if(!((b|0)==v[a+20>>2]|b>>>0>2147483646)){v[a+20>>2]=b}if(v[a+12>>2]==2){break a}if(c){break b}break a}d=v[b+8>>2];b=v[b+32>>2];n:{o:{if(!b){break o}c=v[b+44>>2];p:{if(!c){break p}c=v[c+48>>2];if(!c){break p}c=Se(c,d,0,0);if(c){break n}}if(v[b+40>>2]==1){break o}b=v[b+48>>2];if(!b){break o}b=v[b+48>>2];if(!b){break o}c=Se(b,d,0,0);if(c){break n}}c=mi(d)}if(!c){return}c=v[c+12>>2];if(!c){break a}while(1){Iu(a,c);c=v[c+24>>2];if(c){continue}break}break a}c=v[b+12>>2];if(!c){break a}while(1){b=v[c+4>>2];if(!(b>>>0>4|!(1<>2];if(c){continue}break}break a}if(v[a+32>>2]){break a}c=v[b+8>>2];b=v[a+8>>2];if(!((b|0)==v[a+24>>2]|b>>>0>2147483646)){v[a+24>>2]=b}b=v[a+4>>2];if(!((b|0)==v[a+20>>2]|b>>>0>2147483646)){v[a+20>>2]=b}if(!c|v[a+12>>2]==2){break a}}Zi(a,c,-1)}}function Qja(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;h=Qb-32|0;Qb=h;v[a+8>>2]=0;v[a>>2]=989420;v[a+4>>2]=0;v[a+12>>2]=v[282402];v[299999]=0;Q(4340,a+16|0,989342)|0;f=v[299999];v[299999]=0;if((f|0)==1){b=P()|0;O()|0;ec(a+8|0);Qc(a);T(b|0);L()}v[a+24>>2]=0;f=v[282402];t[a+88|0]=0;v[a+68>>2]=1;u[a+64>>1]=0;v[a+60>>2]=0;u[a+56>>1]=0;v[a+48>>2]=-1;v[a+52>>2]=50;v[a+40>>2]=255;v[a+44>>2]=1;t[a+36|0]=0;v[a+32>>2]=0;v[a+28>>2]=f;v[a+92>>2]=d;t[a+89|0]=e;v[a>>2]=989504;v[299999]=0;f=a+100|0;v[f+20>>2]=-1;v[f+12>>2]=-1;v[f+16>>2]=0;v[f+4>>2]=0;v[f+8>>2]=0;v[f>>2]=983280;d=v[299999];v[299999]=0;a:{b:{if((d|0)!=1){v[299999]=0;e=a+124|0;v[e+20>>2]=-1;v[e+12>>2]=-1;v[e+16>>2]=0;v[e+4>>2]=0;v[e+8>>2]=0;v[e>>2]=983280;d=v[299999];v[299999]=0;c:{if((d|0)!=1){d=v[a+92>>2];v[a+96>>2]=d-w[a+89|0];v[299999]=0;U(4553,f|0,0,d-1|0);d=v[299999];v[299999]=0;d:{e:{f:{g:{h:{if((d|0)==1){break h}g=v[a+92>>2];d=0;v[299999]=0;U(4553,e|0,0,g-1|0);g=v[299999];v[299999]=0;if((g|0)==1){break h}if(v[a+92>>2]>0){i=v[a+128>>2];j=v[a+104>>2];while(1){if(!(v[a+116>>2]<=(d|0)&v[a+120>>2]>=(d|0))){v[299999]=0;c=aa(4369,h+8|0,227445,271729,619,307344,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break g}v[299999]=0;R(4370,c|0);b=v[299999];v[299999]=0;if((b|0)==1){break e}break a}g=d<<2;v[(d-v[a+108>>2]<<2)+j>>2]=v[g+b>>2];if(!(v[a+140>>2]<=(d|0)&v[a+144>>2]>=(d|0))){v[299999]=0;c=aa(4369,h+8|0,227445,271729,619,307344,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break g}v[299999]=0;R(4370,c|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}d=P()|0;O()|0;qc(c);break d}v[i+(d-v[a+132>>2]<<2)>>2]=v[c+g>>2];d=d+1|0;if((d|0)>2]){continue}break}}v[299999]=0;R(5079,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break f}}d=P()|0;O()|0;break d}d=P()|0;O()|0;break d}v[299999]=0;c=S(5080,a|0)|0;b=v[299999];v[299999]=0;i:{j:{if((b|0)!=1){if(!w[c|0]){break i}v[299999]=0;c=aa(4369,h+8|0,c|0,241176,756,339522,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break j}v[299999]=0;R(4370,c|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}d=P()|0;O()|0;qc(c);break d}d=P()|0;O()|0;break d}d=P()|0;O()|0;break d}Qb=h+32|0;return a|0}d=P()|0;O()|0;qc(c)}fd(e);break c}d=P()|0;O()|0}fd(f);break b}d=P()|0;O()|0}lx(a);T(d|0);L()}L()}function vH(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Qb-16|0;Qb=f;v[a+4>>2]=c;v[a>>2]=b;if(c){v[a+400>>2]=v[c+124>>2];v[a+404>>2]=v[c+128>>2];v[a+412>>2]=v[c+136>>2];v[a+416>>2]=v[c+140>>2];v[a+408>>2]=v[c+132>>2];v[a+420>>2]=v[c+144>>2];v[a+216>>2]=v[c+120>>2];d=v[c+80>>2];v[a+248>>2]=v[c+76>>2];v[a+252>>2]=d;d=v[c+88>>2];v[a+256>>2]=v[c+84>>2];v[a+260>>2]=d;d=v[c+96>>2];v[a+264>>2]=v[c+92>>2];v[a+268>>2]=d;d=v[c+104>>2];v[a+272>>2]=v[c+100>>2];v[a+276>>2]=d;d=v[c+112>>2];v[a+280>>2]=v[c+108>>2];v[a+284>>2]=d;d=v[c+44>>2];e=v[d+4>>2];v[a+220>>2]=v[d>>2];v[a+224>>2]=e;e=v[d+12>>2];v[a+228>>2]=v[d+8>>2];v[a+232>>2]=e;e=v[d+20>>2];v[a+236>>2]=v[d+16>>2];v[a+240>>2]=e;v[a+244>>2]=v[d+24>>2];v[a+424>>2]=v[c+148>>2];v[a+428>>2]=v[c+152>>2];d=v[c+160>>2];v[a+448>>2]=v[c+156>>2];v[a+452>>2]=d;d=v[c+168>>2];v[a+456>>2]=v[c+164>>2];v[a+460>>2]=d;d=v[c+176>>2];v[a+464>>2]=v[c+172>>2];v[a+468>>2]=d;gc(a+288|0,c+180|0,68);v[a+384>>2]=v[c+248>>2];v[a+388>>2]=v[c+252>>2];u[a+472>>1]=x[c+256>>1];v[a+476>>2]=v[c+260>>2];d=v[c+268>>2];v[a+180>>2]=v[c+264>>2];v[a+184>>2]=d;d=v[c+276>>2];v[a+188>>2]=v[c+272>>2];v[a+192>>2]=d;d=v[c+284>>2];v[a+196>>2]=v[c+280>>2];v[a+200>>2]=d;d=v[c+292>>2];v[a+204>>2]=v[c+288>>2];v[a+208>>2]=d;v[a+212>>2]=v[c+296>>2];ic(a+36|0,0,108)}e=v[a+8>>2];a:{b:{c:{c=x[b+284>>1]+32|0;d=v[a+20>>2];d:{if(c>>>0<=d>>>0){c=d;break d}i=a,j=Cc(e,1,d<<2,c<<2,v[a+24>>2],f+8|0),v[i+24>>2]=j;e=v[f+8>>2];if(e){break c}e=v[a+8>>2]}v[a+20>>2]=c;c=x[b+286>>1];b=v[a+392>>2];if(c>>>0<=b>>>0){c=b;break b}i=a,j=Cc(e,1,b,c,v[a+396>>2],f+12|0),v[i+396>>2]=j;e=v[f+12>>2];if(!e){break b}v[a+392>>2]=b&65535;break a}v[a+20>>2]=d;break a}e=0;v[a+152>>2]=0;v[a+392>>2]=c&65535;b=v[a+148>>2];c=v[a+144>>2];v[a+72>>2]=c;v[a+76>>2]=b;v[a+108>>2]=c;v[a+112>>2]=b;v[a+36>>2]=c;v[a+40>>2]=b;d=v[a+164>>2];b=d;c=v[a+160>>2];v[a+88>>2]=c;v[a+92>>2]=d;g=v[a+172>>2];d=g;h=v[a+168>>2];v[a+96>>2]=h;v[a+100>>2]=d;g=v[a+176>>2];v[a+104>>2]=g;v[a+124>>2]=c;v[a+128>>2]=b;v[a+132>>2]=h;v[a+136>>2]=d;v[a+140>>2]=g;v[a+52>>2]=c;v[a+56>>2]=b;v[a+60>>2]=h;v[a+64>>2]=d;v[a+68>>2]=g;b=v[a+156>>2];c=v[a+152>>2];v[a+80>>2]=c;v[a+84>>2]=b;v[a+116>>2]=c;v[a+120>>2]=b;v[a+44>>2]=c;v[a+48>>2]=b;t[a+492|0]=0}Qb=f+16|0;return e}function jha(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=Qb-32|0;Qb=e;v[e+12>>2]=0;f=v[a+12>>2];h=ex(e+16|0,1,322139);if(f){f=b+f|0;while(1){d=f;f=d+1|0;if(w[d|0]==32){continue}break}}g=Kw(d,e+12|0);Et(h);a:{b:{d=v[e+12>>2];if(d){v[c>>2]=d-v[a+12>>2];break b}v[c>>2]=-1;fx(e+16|0,d,v[a+12>>2]+b|0);c:{d:{e:{f:{g:{h:{i:{j:{d=v[e+16>>2];k:{if(!d){break k}b=v[v[d>>2]+24>>2];v[299999]=0;U(b|0,e+8|0,d|0,2);b=v[299999];v[299999]=0;if((b|0)==1){break e}v[299999]=0;Q(4344,e+16|0,e+8|0)|0;b=v[299999];v[299999]=0;l:{if((b|0)!=1){b=v[e+8>>2];v[e+8>>2]=0;if(!b){break l}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;f=v[299999];v[299999]=0;if((f|0)!=1){if(d){break l}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break l}}break a}d=P()|0;O()|0;ec(e+8|0);break d}d=v[e+16>>2];if(!d){break k}b=v[v[d>>2]+52>>2];v[299999]=0;g=+wa(b|0,d|0,0,e+8|0);b=v[299999];v[299999]=0;if((b|0)==1){break j}b=v[e+8>>2];if((b|0)<=-1){d=v[e+16>>2];break k}v[c>>2]=v[a+8>>2];a=v[a+12>>2];v[299999]=0;U(5159,e|0,v[e+16>>2],a+b|0);a=v[299999];v[299999]=0;if((a|0)==1){break i}v[299999]=0;Q(4344,e+16|0,e|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break h}a=v[e>>2];v[e>>2]=0;m:{if(!a){break m}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(b){break m}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}d=v[e+16>>2];if(!d){break k}a=v[v[d>>2]+28>>2];v[299999]=0;U(a|0,e|0,d|0,1);a=v[299999];v[299999]=0;if((a|0)==1){break g}v[299999]=0;Q(4344,e+16|0,e|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break f}a=v[e>>2];v[e>>2]=0;n:{if(!a){break n}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;d=v[299999];v[299999]=0;if((d|0)==1){break c}if(b){break n}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break c}}d=v[e+16>>2];if(!d){break k}v[c>>2]=v[c>>2]-v[d+8>>2]}v[e+16>>2]=0;if(!d){break b}v[299999]=0;a=v[d+4>>2]-1|0;v[d+4>>2]=a;b=v[299999];v[299999]=0;if((b|0)!=1){if(a){break b}v[299999]=0;R(4338,d|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}}break a}d=P()|0;O()|0;break d}d=P()|0;O()|0;break d}d=P()|0;O()|0;ec(e);break d}d=P()|0;O()|0;break d}d=P()|0;O()|0;ec(e);break d}d=P()|0;O()|0}ec(e+16|0);T(d|0);L()}break a}Qb=e+32|0;return+g}W(0)|0;O()|0;lc();L()}function cNa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=Qb-16|0;Qb=d;e=v[a+8>>2];f=v[a+12>>2]-e|0;a:{if(!f){break a}l=v[a+4>>2];if(v[l+52>>2]==1){Fh(l,849234,2,a+16|0,v[a+20>>2],a+24|0,-1,b);v[l+52>>2]=0}g=v[a+16>>2];v[d+12>>2]=g;c=v[a+20>>2];if(c>>>0<=g>>>0){v[b>>2]=15;break a}f=f>>1;j=v[a+24>>2];v[d+8>>2]=j;k=c-g|0;b:{c:{d:{e:{f:{g:{h:{c=v[l+56>>2];h=c&65535;if(!h){break h}i=x[e>>1];if((i&64512)!=56320|k>>>0<4){break h}t[g|0]=c;t[v[d+12>>2]+1|0]=c>>>8;t[v[d+12>>2]+2|0]=i;t[v[d+12>>2]+3|0]=i>>>8;g=v[d+12>>2]+4|0;v[d+12>>2]=g;j=0;c=v[d+8>>2];if(c){v[c+8>>2]=-1;v[c>>2]=-1;v[c+4>>2]=-1;j=c+16|0;v[d+8>>2]=j;v[c+12>>2]=-1}k=k-4|0;f=f-1|0;e=e+2|0;v[l+56>>2]=0;i=1;break g}i=0;if(h){break f}}c=f<<1;c=c>>>0>k>>>0?k&-2:c;k=k-c|0;h=c>>>1|0;m=f-h|0;i:{j:{if(j){if(!c){break i}while(1){k:{f=e+2|0;c=x[e>>1];l:{if((c&63488)!=55296){t[g|0]=c;t[v[d+12>>2]+1|0]=c>>>8;g=v[d+12>>2]+2|0;v[d+12>>2]=g;e=v[d+8>>2];v[e>>2]=i;v[d+8>>2]=e+8;v[e+4>>2]=i;i=i+1|0;e=f;break l}if(c&1024|h>>>0<2){break k}j=x[f>>1];if((j&64512)!=56320){break k}t[g|0]=c;t[v[d+12>>2]+1|0]=c>>>8;t[v[d+12>>2]+2|0]=j;t[v[d+12>>2]+3|0]=j>>>8;g=v[d+12>>2]+4|0;v[d+12>>2]=g;f=v[d+8>>2];v[f+8>>2]=i;v[f+4>>2]=i;v[f>>2]=i;v[d+8>>2]=f+16;v[f+12>>2]=i;i=i+2|0;h=h-1|0;e=e+4|0}h=h-1|0;if(h){continue}break i}break}break j}if(!c){break i}while(1){f=e+2|0;c=x[e>>1];m:{if((c&63488)!=55296){t[g|0]=c;t[v[d+12>>2]+1|0]=c>>>8;g=v[d+12>>2]+2|0;e=f;break m}if(c&1024|h>>>0<2){break j}j=x[f>>1];if((j&64512)!=56320){break j}t[g|0]=c;t[v[d+12>>2]+1|0]=c>>>8;t[v[d+12>>2]+2|0]=j;t[v[d+12>>2]+3|0]=j>>>8;h=h-1|0;g=v[d+12>>2]+4|0;e=e+4|0}v[d+12>>2]=g;h=h-1|0;if(h){continue}break}break i}e=f;k=(h<<1)+k|0;if(c){break f}break e}if(!m|!k){break b}m=2;f=e+2|0;c=x[e>>1];if((c&63488)!=55296){break d}e=f}n:{if(!(c&1024)){m=0;if(y[a+12>>2]<=e>>>0){break n}f=x[e>>1];if((f&64512)==56320){t[d+6|0]=f;t[d+7|0]=f>>>8;t[d+4|0]=c;t[d+5|0]=c>>>8;e=e+2|0;c=0;m=4;break n}v[b>>2]=12;break n}v[b>>2]=12;m=0}v[l+56>>2]=c&65535}if(!m){break b}break c}t[d+4|0]=c;t[d+5|0]=c>>>8;e=f}Fh(l,d+4|0,m,d+12|0,v[a+20>>2],d+8|0,i,b);g=v[d+12>>2];k=v[a+20>>2]-g|0}if(!(k|(y[a+12>>2]<=e>>>0|v[b>>2]>0))){v[b>>2]=15}v[a+16>>2]=g;v[a+8>>2]=e;v[a+24>>2]=v[d+8>>2]}Qb=d+16|0}function oVa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=v[a+464>>2];if(v[a+280>>2]){c=v[e+52>>2];if(!c){if(!(Ub[v[v[a+460>>2]+8>>2]](a)|0)){d=v[a>>2];v[d+20>>2]=25;Ub[v[d>>2]](a)}if(v[a+336>>2]>=1){d=0;while(1){g=d<<2;f=v[(g+a|0)+340>>2];a:{b:{if(v[a+224>>2]){if(v[a+408>>2]){break b}if(v[a+416>>2]){break a}}c=v[((v[f+20>>2]<<2)+e|0)+56>>2];t[c|0]=0;t[c+1|0]=0;t[c+2|0]=0;t[c+3|0]=0;t[c+4|0]=0;t[c+5|0]=0;t[c+6|0]=0;t[c+7|0]=0;t[c+56|0]=0;t[c+57|0]=0;t[c+58|0]=0;t[c+59|0]=0;t[c+60|0]=0;t[c+61|0]=0;t[c+62|0]=0;t[c+63|0]=0;t[c+48|0]=0;t[c+49|0]=0;t[c+50|0]=0;t[c+51|0]=0;t[c+52|0]=0;t[c+53|0]=0;t[c+54|0]=0;t[c+55|0]=0;t[c+40|0]=0;t[c+41|0]=0;t[c+42|0]=0;t[c+43|0]=0;t[c+44|0]=0;t[c+45|0]=0;t[c+46|0]=0;t[c+47|0]=0;t[c+32|0]=0;t[c+33|0]=0;t[c+34|0]=0;t[c+35|0]=0;t[c+36|0]=0;t[c+37|0]=0;t[c+38|0]=0;t[c+39|0]=0;t[c+24|0]=0;t[c+25|0]=0;t[c+26|0]=0;t[c+27|0]=0;t[c+28|0]=0;t[c+29|0]=0;t[c+30|0]=0;t[c+31|0]=0;t[c+16|0]=0;t[c+17|0]=0;t[c+18|0]=0;t[c+19|0]=0;t[c+20|0]=0;t[c+21|0]=0;t[c+22|0]=0;t[c+23|0]=0;t[c+8|0]=0;t[c+9|0]=0;t[c+10|0]=0;t[c+11|0]=0;t[c+12|0]=0;t[c+13|0]=0;t[c+14|0]=0;t[c+15|0]=0;c=e+g|0;v[c+36>>2]=0;v[c+20>>2]=0;if(!v[a+224>>2]){if(v[a+432>>2]){break b}break a}if(!v[a+408>>2]){break a}}ic(v[((v[f+24>>2]<<2)+e|0)+120>>2],0,256)}d=d+1|0;if((d|0)>2]){continue}break}}v[e+16>>2]=-16;v[e+8>>2]=0;v[e+12>>2]=0;c=v[a+280>>2];v[e+52>>2]=c}v[e+52>>2]=c-1}c:{d:{if(v[e+16>>2]==-1){break d}d=v[a+408>>2];if((d|0)>v[a+412>>2]){break d}g=e+184|0;c=v[v[a+340>>2]+24>>2];h=c+a|0;f=(c<<2)+e|0;i=v[b>>2];j=v[a+428>>2];while(1){c=d;d=(v[f+120>>2]+B(c,3)|0)-3|0;if(rf(a,d)){break d}while(1){if(!rf(a,d+1|0)){d=d+3|0;b=v[a+412>>2]>(c|0);c=c+1|0;if(b){continue}break c}break}k=rf(a,g);b=d+2|0;d=rf(a,b);e:{if(!d){b=0;break e}f:{if(!rf(a,b)){break f}d=d<<1;b=v[f+120>>2]+(w[h+264|0]<(c|0)?217:189)|0;if(!rf(a,b)){break f}while(1){d=d<<1;if((d|0)==32768){break c}b=b+1|0;if(rf(a,b)){continue}break}}if(d>>>0<2){b=d;break e}l=b+14|0;b=d;while(1){d=d>>1;b=(rf(a,l)?d:0)|b;if(d>>>0>1){continue}break}}u[(v[(c<<2)+j>>2]<<1)+i>>1]=(k?b^-1:b+1|0)<>2];d=c+1|0;if(v[a+412>>2]>(c|0)){continue}break}}return 1}b=v[a>>2];v[b+20>>2]=117;Ub[v[b+4>>2]](a,-1);v[e+16>>2]=-1;return 1}function n4(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=Qb-48|0;Qb=d;a:{b:{c:{d:{j=v[a+584>>2];if(j){if(v[j+124>>2]!=1){break d}v[j+80>>2]=c;v[j+76>>2]=b;g=j- -64|0;e:{while(1){f:{switch(Mj(g,1)+3|0){case 0:b=v[a+628>>2];c=v[a>>2];f=v[a+472>>2];v[d+40>>2]=v[j+88>>2];v[d+36>>2]=f;v[d+32>>2]=c;zc(b,88429,28293,d+32|0);b=0;l=Qb-16|0;f=-2;g:{if(!v[g+36>>2]|(!g|!v[g+32>>2])){break g}e=v[g+28>>2];if(!e|(g|0)!=v[e>>2]){break g}c=v[e+4>>2];if(c-16180>>>0>31){break g}h=v[g+4>>2];if(!h){f=-5;if(y[e+64>>2]<8){break g}}h:{if((c|0)==16211){b=v[e+108>>2];break h}v[e+4>>2]=16211;c=v[e+64>>2];f=v[e+60>>2]<<(c&7);v[e+60>>2]=f;i:{j:{k:{c=c&-8;if(c){b=c-8|0;h=(b>>>3|0)+1|0;i=h&3;c=0;if(b>>>0>=24){break k}b=0;break j}v[e+108>>2]=0;v[e+64>>2]=0;i=e+108|0;break i}m=h&1073741820;b=0;while(1){k=l+12|0;t[k+b|0]=f;t[(b|1)+k|0]=f>>>8;t[(b|2)+k|0]=f>>>16;h=b|3;t[k+h|0]=f>>>24;b=b+4|0;f=0;m=m-4|0;if(m){continue}break}}if(i){c=f;while(1){h=b;t[(l+12|0)+b|0]=c;c=c>>>8|0;b=b+1|0;i=i-1|0;if(i){continue}break}}v[e+108>>2]=0;v[e+64>>2]=0;v[e+60>>2]=c;i=e+108|0;f=0;b=0;while(1){c=w[(l+12|0)+f|0];b=(c|0)==((b>>>0<2?0:255)|0)?b+1|0:c?0:4-b|0;if(f>>>0>=h>>>0){break i}f=f+1|0;if(b>>>0<4){continue}break}}v[i>>2]=b;h=v[g+4>>2]}c=v[g>>2];f=0;l:{if(!h|b>>>0>3){break l}while(1){i=w[c+f|0];b=(i|0)==((b>>>0<2?0:255)|0)?b+1|0:i?0:4-b|0;f=f+1|0;if(h>>>0<=f>>>0){break l}if(b>>>0<4){continue}break}}v[e+108>>2]=b;v[g>>2]=c+f;v[g+4>>2]=v[g+4>>2]-f;c=v[g+8>>2]+f|0;v[g+8>>2]=c;f=-3;if((b|0)!=4){break g}f=0;v[e+52>>2]=0;v[e+44>>2]=0;v[e+48>>2]=0;v[e+32>>2]=0;v[g+24>>2]=0;b=v[e+12>>2];if(b){v[g+48>>2]=b&1}v[e+60>>2]=0;v[e+64>>2]=0;v[e+36>>2]=0;v[e+24>>2]=32768;v[e+16>>2]=0;v[e+8>>2]=0;v[e+7108>>2]=1;v[e+7112>>2]=-1;b=e+1332|0;v[e+112>>2]=b;v[e+84>>2]=b;v[e+80>>2]=b;v[g+8>>2]=c;v[e+4>>2]=16191}if(f){break b}break;case 4:break e;case 3:break f;default:break c}}if(v[j+80>>2]){continue}break}b=1;break a}c=v[j+80>>2];b=1;if(!c){break a}b=v[a+628>>2];f=v[a>>2];a=v[a+472>>2];v[d+24>>2]=c;v[d+20>>2]=a;v[d+16>>2]=f;zc(b,88429,30562,d+16|0);break b}X(21265,6646,136,88429);L()}X(27391,6646,137,88429);L()}b=v[a+628>>2];a=v[a>>2];v[d+4>>2]=v[j+88>>2];v[d>>2]=a;zc(b,88429,18004,d)}b=0}Qb=d+48|0;return b|0}function yVa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;e=v[a+464>>2];if(v[a+280>>2]){c=v[e+52>>2];if(!c){if(!(Ub[v[v[a+460>>2]+8>>2]](a)|0)){c=v[a>>2];v[c+20>>2]=25;Ub[v[c>>2]](a)}if(v[a+336>>2]>=1){while(1){g=d<<2;f=v[(g+a|0)+340>>2];a:{b:{if(v[a+224>>2]){if(v[a+408>>2]){break b}if(v[a+416>>2]){break a}}c=v[((v[f+20>>2]<<2)+e|0)+56>>2];t[c|0]=0;t[c+1|0]=0;t[c+2|0]=0;t[c+3|0]=0;t[c+4|0]=0;t[c+5|0]=0;t[c+6|0]=0;t[c+7|0]=0;t[c+56|0]=0;t[c+57|0]=0;t[c+58|0]=0;t[c+59|0]=0;t[c+60|0]=0;t[c+61|0]=0;t[c+62|0]=0;t[c+63|0]=0;t[c+48|0]=0;t[c+49|0]=0;t[c+50|0]=0;t[c+51|0]=0;t[c+52|0]=0;t[c+53|0]=0;t[c+54|0]=0;t[c+55|0]=0;t[c+40|0]=0;t[c+41|0]=0;t[c+42|0]=0;t[c+43|0]=0;t[c+44|0]=0;t[c+45|0]=0;t[c+46|0]=0;t[c+47|0]=0;t[c+32|0]=0;t[c+33|0]=0;t[c+34|0]=0;t[c+35|0]=0;t[c+36|0]=0;t[c+37|0]=0;t[c+38|0]=0;t[c+39|0]=0;t[c+24|0]=0;t[c+25|0]=0;t[c+26|0]=0;t[c+27|0]=0;t[c+28|0]=0;t[c+29|0]=0;t[c+30|0]=0;t[c+31|0]=0;t[c+16|0]=0;t[c+17|0]=0;t[c+18|0]=0;t[c+19|0]=0;t[c+20|0]=0;t[c+21|0]=0;t[c+22|0]=0;t[c+23|0]=0;t[c+8|0]=0;t[c+9|0]=0;t[c+10|0]=0;t[c+11|0]=0;t[c+12|0]=0;t[c+13|0]=0;t[c+14|0]=0;t[c+15|0]=0;c=e+g|0;v[c+36>>2]=0;v[c+20>>2]=0;if(!v[a+224>>2]){if(v[a+432>>2]){break b}break a}if(!v[a+408>>2]){break a}}ic(v[((v[f+24>>2]<<2)+e|0)+120>>2],0,256)}d=d+1|0;if((d|0)>2]){continue}break}}v[e+16>>2]=-16;v[e+8>>2]=0;v[e+12>>2]=0;c=v[a+280>>2];v[e+52>>2]=c}v[e+52>>2]=c-1}if(!(v[e+16>>2]==-1|v[a+364>>2]<1)){while(1){c=i<<2;n=v[c+b>>2];c=v[(a+c|0)+368>>2]<<2;l=v[v[(c+a|0)+340>>2]+20>>2];h=(l<<2)+e|0;g=c+e|0;m=g;d=v[h+56>>2]+v[g+36>>2]|0;c:{if(!rf(a,d)){v[m+36>>2]=0;c=v[g+20>>2];break c}j=0;c=0;k=rf(a,d+1|0);d=(d+k|0)+2|0;f=rf(a,d);d:{if(!f){break d}c=f;d=v[h+56>>2]+20|0;if(!rf(a,d)){break d}while(1){c=c<<1;if((c|0)==32768){b=v[a>>2];v[b+20>>2]=117;Ub[v[b+4>>2]](a,-1);v[e+16>>2]=-1;return 1}d=d+1|0;if(rf(a,d)){continue}break}}h=a+l|0;e:{if(1<>1>(c|0)){break e}f=k<<2;if(1<>1<(c|0)){j=f+12|0;break e}j=f+4|0}v[m+36>>2]=j;f:{if(c>>>0<2){d=c;break f}f=d+14|0;d=c;while(1){c=c>>1;d=(rf(a,f)?c:0)|d;if(c>>>0>1){continue}break}}c=v[g+20>>2]+(k?d^-1:d+1|0)|0;v[g+20>>2]=c}u[n>>1]=c<>2];i=i+1|0;if((i|0)>2]){continue}break}}return 1}function f3(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=v[b+8>>2];a:{if(c&7){break a}b:{d=v[b+64>>2];if((d|0)>=0&(d|0)<=v[b+60>>2]){break b}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;c:{if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=w[a+12|0];d=v[b+24>>2];v[b+24>>2]=d+1;t[d|0]=c;break c}if((Fc(b,w[a+12|0])|0)==-1){break a}}c=v[b+8>>2];if(c&7){break a}d=v[b+64>>2];if((d|0)>=0&(d|0)<=v[b+60>>2]){break b}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;d:{if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=w[a+13|0];d=v[b+24>>2];v[b+24>>2]=d+1;t[d|0]=c;break d}if((Fc(b,w[a+13|0])|0)==-1){break a}}c=v[b+8>>2];if(c&7){break a}d=v[b+64>>2];if((d|0)>=0&(d|0)<=v[b+60>>2]){break b}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;e:{if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=w[a+52|0];d=v[b+24>>2];v[b+24>>2]=d+1;t[d|0]=c;break e}if((Fc(b,w[a+52|0])|0)==-1){break a}}c=v[b+8>>2];if(c&7){break a}d=v[b+64>>2];if((d|0)>=0&(d|0)<=v[b+60>>2]){break b}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;f:{if((c|0)<=0){if((Fc(b,0)|0)!=-1){break f}break a}v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;t[c|0]=0}c=v[a+16>>2];if(Jh(b,c,c>>31)){break a}c=v[a+20>>2];if(Jh(b,c,c>>31)){break a}c=v[a+24>>2];if(Jh(b,c,c>>31)){break a}c=v[a+28>>2];if(Jh(b,c,c>>31)){break a}c=v[a+32>>2];if(Jh(b,c,c>>31)){break a}c=v[a+36>>2];if(Jh(b,c,c>>31)){break a}c=v[a+40>>2];if(Jh(b,c,c>>31)){break a}c=v[a+44>>2];if(Jh(b,c,c>>31)){break a}c=v[a+48>>2];if(Jh(b,c,c>>31)){break a}if(Hg(b,2,v[a+60>>2],0)){break a}if(Hg(b,2,v[a+72>>2],0)){break a}c=0;d=B(v[a+60>>2],w[a+12|0]);if((d|0)>0){while(1){if(Hg(b,2,v[v[a+68>>2]+(c<<2)>>2],0)){break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}}c=0;d=B(v[a+72>>2],w[a+13|0]);if((d|0)>0){while(1){if(Hg(b,2,v[v[a+80>>2]+(c<<2)>>2],0)){break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}}d=w[a+12|0];g:{if(!d){d=1;break g}c=w[a+52|0];e=d&7;h:{if(d-1>>>0<7){d=1;break h}f=d&248;d=1;while(1){d=B(c,B(c,B(c,B(c,B(c,B(c,B(c,B(c,d))))))));f=f-8|0;if(f){continue}break}}if(!e){break g}while(1){d=B(c,d);e=e-1|0;if(e){continue}break}}d=B(w[a+13|0],d);if((d|0)<=0){return 0}c=0;while(1){if(Hg(b,2,v[v[a+56>>2]+(c<<2)>>2],0)){break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}return 0}v[b+8>>2]=c|4}return-1}function Xda(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Qb+-64|0;Qb=c;d=aD(c+24|0,b);v[c+24>>2]=999812;a:{if(!w[c+56|0]){v[299999]=0;V(4536,d|0,1);e=v[299999];v[299999]=0;if((e|0)==1){break a}}v[c+48>>2]=981312;v[c+24>>2]=981280;d=v[c+52>>2];if(d){e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(!e){Ub[v[v[d>>2]+4>>2]](d)}v[c+52>>2]=0}v[c+40>>2]=981312;d=v[c+44>>2];if(d){e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(!e){Ub[v[v[d>>2]+4>>2]](d)}v[c+44>>2]=0}ec(c+32|0);b:{c:{b=v[b>>2];b=v[(b?b+12|0:1129608)>>2];if(b){d=w[b|0];if((d|0)==239){if(w[b+1|0]!=187){break c}b=(w[b+2|0]==191?3:0)+b|0;d=w[b|0]}if(d&255){break c}}v[a>>2]=0;v[a+4>>2]=v[282402];break b}d=c+16|0;b=fk(d,b);v[c+24>>2]=0;v[c+28>>2]=v[282402];ec(b);v[299999]=0;V(5418,d|0,c+24|0);b=v[299999];v[299999]=0;d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{if((b|0)!=1){v[299999]=0;d=Q(4340,c+8|0,999793)|0;b=v[299999];v[299999]=0;if((b|0)==1){break p}b=v[c+16>>2];b=v[(b?b+12|0:1129608)>>2];if(w[b|0]!=47){break n}if(w[b+1|0]!=47){break o}v[299999]=0;Q(4644,d|0,b+2|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break m}b=P()|0;O()|0;break g}b=P()|0;O()|0;break e}b=P()|0;O()|0;break f}v[299999]=0;U(4423,c|0,999744,c+16|0);b=v[299999];v[299999]=0;if((b|0)==1){break h}v[299999]=0;Q(4535,d|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){ec(c);break m}b=P()|0;O()|0;ec(c);break g}v[299999]=0;U(4423,c|0,999860,c+16|0);b=v[299999];v[299999]=0;if((b|0)==1){break l}v[299999]=0;Q(4606,d|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break k}ec(c)}v[a>>2]=0;v[a+4>>2]=v[282402];b=v[d>>2];if(!b){break j}e=v[v[b>>2]+28>>2];v[299999]=0;U(e|0,c|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break i}b=P()|0;O()|0;ec(a);break g}b=P()|0;O()|0;break g}b=P()|0;O()|0;ec(c);break g}v[c>>2]=0}v[299999]=0;Q(4344,a|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){b=v[c>>2];v[c>>2]=0;if(!b){break d}v[299999]=0;e=v[b+4>>2]-1|0;v[b+4>>2]=e;f=v[299999];v[299999]=0;if((f|0)!=1){if(e){break d}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break d}}W(0)|0;O()|0;lc();L()}b=P()|0;O()|0;ec(c);ec(a);break g}b=P()|0;O()|0}ec(d)}ec(c+16|0)}ec(c+24|0);T(b|0);L()}b=a;a=v[a>>2];v[b+4>>2]=v[(a?a+12|0:1129608)>>2];ec(d);ec(c+16|0);ec(c+24|0)}Qb=c- -64|0;return}a=P()|0;O()|0;$c(d);T(a|0);L()}function Q0(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;a:{if((d|0)<1){break a}v[e>>2]=0;f=v[a+1020>>2];if((f|0)>=16383){g=Ub[v[v[b>>2]+12>>2]](b,v[a+1028>>2],1,16383,0,0)|0;v[a+1024>>2]=g;if((g|0)<=16382){t[g+v[a+1028>>2]|0]=255}v[a+1020>>2]=0;f=0}if(v[a+1024>>2]<=(f|0)){break a}v[a+1020>>2]=f+1;g=w[v[a+1028>>2]+f|0];if((g<<16)-131072>>>0>458752){break a}v[a+1044>>2]=0;p=g+1|0;u[a+1032>>1]=p;g=1<>1]=g;r=1<>1]=r;j=g+2|0;u[a+1042>>1]=j;u[a+1038>>1]=j;u[a+1036>>1]=g+1;ic(v[a+1060>>2],0,4096);ic(v[a+1068>>2],0,4096);ic(v[a+1064>>2],0,4096);n=fc(d+1|0);f=v[a+1060>>2];g=gJ(a,b);b:{if((g&65535)==x[a+1036>>1]){break b}i=d;j=n;while(1){l=g<<16>>16;if((l|0)<0){break b}c:{d:{if(x[a+1034>>1]==(g&65535)){u[a+1032>>1]=p;u[a+1040>>1]=r;u[a+1042>>1]=x[a+1038>>1];while(1){h=gJ(a,b);g=h&65535;if((g|0)==x[a+1034>>1]){continue}break}if((g|0)==x[a+1036>>1]){break c}h=(h|0)>1]?h:0;t[j|0]=h;i=i-1|0;if(i&65535){j=j+1|0;g=h;break d}if(!c){j=n;i=d;g=h;break d}g=h;j=n;i=d;if(!(fJ(a,c,j,i)&32768)){break d}break b}m=v[a+1060>>2];k=u[a+1042>>1];o=g;e:{if((k|0)>(l|0)){break e}o=g;if(m+4094>>>0<=f>>>0){break e}if((k|0)<(l|0)){v[e>>2]=v[e>>2]+1}t[f|0]=h;f=f+1|0;m=v[a+1060>>2];o=q}k=o;f:{if(m+4094>>>0<=f>>>0|u[a+1038>>1]>k<<16>>16){break f}while(1){k=k<<16>>16;t[f|0]=w[k+v[a+1064>>2]|0];f=f+1|0;k=u[v[a+1068>>2]+(k<<1)>>1];if((k|0)>1]){break f}if(v[a+1060>>2]+4094>>>0>f>>>0){continue}break}}t[f|0]=k;m=u[a+1042>>1];l=u[a+1040>>1];g:{if((m|0)>=(l|0)){k=h;g=q;break g}t[v[a+1064>>2]+m|0]=k;h=u[a+1042>>1];u[a+1042>>1]=h+1;u[v[a+1068>>2]+(h<<1)>>1]=q;l=x[a+1040>>1];m=x[a+1042>>1]}f=f+1|0;h:{if(m<<16>>16>16){break h}h=u[a+1032>>1];if((h|0)>11){break h}u[a+1032>>1]=h+1;u[a+1040>>1]=l<<1}i:{if(y[a+1060>>2]>=f>>>0){break i}if(!c){while(1){f=f-1|0;t[j|0]=w[f|0];i=i-1|0;h=i&65535;i=h?i:d;j=h?j+1|0:n;if(y[a+1060>>2]>>0){continue}break i}}while(1){f=f-1|0;t[j|0]=w[f|0];j:{i=i-1|0;if(i&65535){j=j+1|0;break j}j=n;i=d;if(!(fJ(a,c,j,i)&32768)){break j}break b}if(y[a+1060>>2]>>0){continue}break}}h=k}q=g;g=gJ(a,b);if((g&65535)!=x[a+1036>>1]){continue}}break}if(!c|(i&65535)==(d&65535)){break b}fJ(a,c,n,d-(i<<16>>16)|0)}dc(n)}}function $Q(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=Nx(a);b=v[a+32>>2];c=v[a+36>>2];a:{if(b>>>0>=c>>>0){break a}while(1){d=w[b|0]-9|0;if(d>>>0>23|!(1<>2]=b;if((b|0)!=(c|0)){continue}break}b=c}if(!(w[b|0]==61&(c-b|0)>=1)){dc(Dc(i));return 0}b=b+1|0;v[a+32>>2]=b;b:{if(b>>>0>=c>>>0){break b}while(1){d=w[b|0]-9|0;if(d>>>0>23|!(1<>2]=b;if((b|0)!=(c|0)){continue}break}b=c}c:{d:{if(b>>>0>=c>>>0){break d}switch(w[b|0]-34|0){case 0:case 5:break c;default:break d}}dc(Dc(i));return 0}v[a+32>>2]=b+1;j=w[b|0];k=fc(8);v[299999]=0;f=S(3312,k|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){c=v[a+32>>2];e=v[a+36>>2];e:{if(c>>>0>=e>>>0){break e}while(1){f:{g:{h:{d=w[c|0];if((d|0)!=(j|0)){b=c;if((d|0)==38){d=c+1|0;v[a+32>>2]=d;b=d;if(!(e>>>0<=b>>>0|w[b|0]!=35)){b=c+2|0;v[a+32>>2]=b;d=0;i:{if(b>>>0>=e>>>0){break i}if(w[b|0]==120){b=c+3|0;v[a+32>>2]=b;j:{if(b>>>0>=e>>>0){break j}while(1){k:{c=-48;g=t[b|0];l:{if((g-48&255)>>>0<10){break l}c=-87;if((g-97&255)>>>0<6){break l}c=-55;if((g-65&255)>>>0>5){break k}}b=b+1|0;v[a+32>>2]=b;d=g+((d<<4)+c|0)|0;if((b|0)!=(e|0)){continue}break j}break}if((g|0)!=59){break j}v[a+32>>2]=b+1}Mx(f,d);break f}while(1){c=w[b|0];if((c-48&255)>>>0<=9){b=b+1|0;v[a+32>>2]=b;d=(c+B(d,10)|0)-48|0;if((b|0)!=(e|0)){continue}break i}break}if((c|0)!=59){break i}v[a+32>>2]=b+1}Mx(f,d);break f}while(1){g=b;b=b+1|0;v[a+32>>2]=b;if(b>>>0>=e>>>0){break h}h=w[b|0];if(!((h|0)==(j|0)|(h|0)==38)&(h|0)!=59){continue}break}e=b-d|0;if((h|0)!=59){break g}b=g+2|0;v[a+32>>2]=b;break g}while(1){m:{b=b+1|0;v[a+32>>2]=b;if(b>>>0>=e>>>0){break m}d=w[b|0];if((d|0)==(j|0)){break m}if((d|0)!=38){continue}}break}De(f,c,b-c|0);break f}v[a+32>>2]=c+1;break e}e=b-d|0}n:{o:{switch(e-2|0){case 0:if(!Oc(d,231561,2)){gd(f,60);break f}if(Oc(d,232432,2)){break n}gd(f,62);break f;case 1:if(Oc(d,242513,3)){break n}gd(f,38);break f;case 2:break o;default:break n}}if(!Oc(d,235218,4)){gd(f,39);break f}if(Oc(d,227629,4)){break n}gd(f,34);break f}De(f,c,(b-d|0)+1|0)}c=v[a+32>>2];e=v[a+36>>2];if(c>>>0>>0){continue}break}}a=fc(16);v[a+8>>2]=0;v[a+12>>2]=0;v[a+4>>2]=k;v[a>>2]=i;return a}a=P()|0;O()|0;dc(k);T(a|0);L()}function sV(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{if(!b|!a){break a}g=v[a+32>>2];if(g){i=v[g+80>>2]}b:{c:{d:{switch(c-1|0){case 0:case 1:case 2:h=v[a+48>>2];if(h){break b}k=a+48|0;h=Ub[v[259704]](16)|0;if(!h){h=0;break c}v[h+4>>2]=256;v[h+8>>2]=0;v[h+12>>2]=0;g=Ub[v[259704]](6144)|0;v[h>>2]=g;if(!g){Ub[v[259708]](h);h=0;break c}ic(g,0,6144);v[h+12>>2]=i;if(!w[1176924]){g=jc(4);v[294232]=g;if(!g){break c}t[1176924]=1}if(!i){break c}v[i>>2]=v[i>>2]+1;break c;case 3:case 4:break d;default:break a}}h=v[a+60>>2];if(h){break b}k=a+60|0;h=Ub[v[259704]](16)|0;if(!h){h=0;break c}v[h+4>>2]=256;v[h+8>>2]=0;v[h+12>>2]=0;g=Ub[v[259704]](6144)|0;v[h>>2]=g;if(!g){Ub[v[259708]](h);h=0;break c}ic(g,0,6144);v[h+12>>2]=i;if(!w[1176924]){g=jc(4);v[294232]=g;if(!g){break c}t[1176924]=1}if(!i){break c}v[i>>2]=v[i>>2]+1}v[k>>2]=h}if(!h){break a}g=b;m=Qb-16|0;Qb=m;l=Ub[v[259704]](76)|0;e:{if(!l){v[m>>2]=291335;oc(0,0,0,0,0,2,2,3,291335,0,0,0,350051,m);l=0;break e}j=ic(l,0,72);v[j+72>>2]=0;v[j+4>>2]=17;v[j+48>>2]=c;f:{g:{if(!i){h:{if(!g){c=0;break h}c=g;while(1){k=c;c=c+1|0;if(w[k|0]){continue}break}c=0;n=k-g|0;if((n|0)<0){break h}k=Ub[v[259707]](n+1|0)|0;if(!k){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break h}c=gc(k,g,n);t[n+c|0]=0}v[j+8>>2]=c;if(d){c=d;while(1){g=c;c=g+1|0;if(w[g|0]){continue}break}c=0;k=g-d|0;i:{if((k|0)<0){break i}g=Ub[v[259707]](k+1|0)|0;if(!g){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break i}c=gc(g,d,k);t[k+c|0]=0}v[j+52>>2]=c}if(!e){break f}c=e;while(1){d=c;c=c+1|0;if(w[d|0]){continue}break}c=0;g=d-e|0;if((g|0)<0){break g}d=Ub[v[259707]](g+1|0)|0;if(!d){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break g}c=gc(d,e,g);t[g+c|0]=0;break g}o=j,p=Rd(i,g,-1),v[o+8>>2]=p;if(d){o=j,p=Rd(i,d,-1),v[o+52>>2]=p}if(!e){break f}c=Rd(i,e,-1)}v[j+56>>2]=c}j:{if(f){e=0;if(w[f|0]){c=f;while(1){e=e+1|0;d=w[c+1|0];c=c+1|0;if(d){continue}break}}v[j+44>>2]=e;if(!(!i|(e|0)>4)){c=Rd(i,f,e);break j}c=Ub[v[259707]](e+1|0)|0;if(!c){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break j}o=gc(c,f,e)+e|0,p=0,t[o|0]=p;break j}c=0;v[j+44>>2]=0}v[j+40>>2]=c;v[j+64>>2]=0;v[j+68>>2]=0;v[j+36>>2]=0}Qb=m+16|0;if(!l){break a}v[l+32>>2]=v[a+32>>2];if(!Su(h,b,0,0,l)){return l}rV(l)}return 0}function DFa(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,p=0,q=0,r=0,s=0,t=0,u=0,x=0,y=0,z=0,A=0,C=0,D=0;q=Qb-96|0;d=a;while(1){a:{f=d;d=v[(t<<2)+b>>2]+c|0;y=w[d+9|0];n=w[d+1|0];r=y+n|0;z=w[d+10|0];A=w[d|0];h=z+A|0;l=w[d+8|0];o=w[d+2|0];j=l+o|0;p=w[d+7|0];s=w[d+3|0];i=p+s|0;k=w[d+6|0];e=w[d+4|0];g=k+e|0;d=w[d+5|0];v[f>>2]=(((((r+h|0)+j|0)+i|0)+g|0)+d<<1)-2816;m=d<<1;h=h-m|0;i=i-m|0;x=j-m|0;u=g-m|0;d=B(h+i|0,11116)+B(x+u|0,1649)|0;g=B(h,-13275);r=r-m|0;h=B(h-r|0,9746)+2048|0;v[f+24>>2]=d+((g+h|0)+B(x,-6461)|0)>>12;j=B(r-i|0,7587);v[f+8>>2]=(d+((j+B(i,-8342)|0)+B(u,-11395)|0)|0)+2048>>12;d=s-p|0;n=n-y|0;s=B(d+n|0,-11467);p=A-z|0;i=B(p+d|0,6263);m=i+(s+B(d,10695)|0)|0;g=o-l|0;d=B(g+d|0,3264);k=e-k|0;v[f+28>>2]=((m+d|0)+B(k,-10538)|0)+2048>>12;e=B(g+n|0,-6263);l=e+B(g,-16294)|0;g=B(g+p|0,8756);v[f+20>>2]=(((l+g|0)+d|0)+B(k,11467)|0)+2048>>12;d=B(n+p|0,10538)+2048|0;v[f+12>>2]=(s+(e+(d+B(n,10456)|0)|0)|0)+B(k,-8756)>>12;v[f+4>>2]=(i+(g+(d+B(p,-14090)|0)|0)|0)+B(k,3264)>>12;v[f+16>>2]=j+(((h+B(r,511)|0)+B(x,-11116)|0)+B(u,4813)|0)>>12;e=t-7|0;t=t+1|0;g=7;d=q;b:{switch(e|0){case 0:continue;case 3:break a;default:break b}}d=f+32|0;continue}break}while(1){y=v[d+64>>2];n=v[a>>2];r=y+n|0;z=v[a+160>>2];e=z<<1;b=r-e|0;A=v[a+224>>2];l=v[a+96>>2];o=A+l|0;C=o-e|0;p=v[d>>2];s=v[a+64>>2];k=p+s|0;m=k-e|0;h=v[a+128>>2];j=v[a+192>>2];f=h+j|0;t=f-e|0;x=B(b+C|0,11759)+B(m+t|0,1744)|0;D=B(b,-14043);i=b;q=v[d+32>>2];c=v[a+32>>2];b=q+c|0;u=b-e|0;i=B(i-u|0,10310)+16384|0;v[a+192>>2]=x+((D+i|0)+B(m,-6835)|0)>>15;e=B(u-C|0,8026);v[a+64>>2]=(x+((e+B(C,-8825)|0)+B(t,-12054)|0)|0)+16384>>15;v[a>>2]=B(z+(f+(o+(k+(b+r|0)|0)|0)|0)|0,8666)+16384>>15;b=l-A|0;l=c-q|0;k=B(b+l|0,-12131);o=n-y|0;f=B(o+b|0,6626);q=f+(k+B(b,11314)|0)|0;c=s-p|0;b=B(c+b|0,3453);j=h-j|0;v[a+224>>2]=((q+b|0)+B(j,-11148)|0)+16384>>15;q=B(c+l|0,-6626);h=q+B(c,-17237)|0;c=B(c+o|0,9262);v[a+160>>2]=(((h+c|0)+b|0)+B(j,12131)|0)+16384>>15;b=B(l+o|0,11148)+16384|0;v[a+96>>2]=(k+(q+(b+B(l,11061)|0)|0)|0)+B(j,-9262)>>15;v[a+32>>2]=(f+(c+(b+B(o,-14905)|0)|0)|0)+B(j,3453)>>15;v[a+128>>2]=(((i+B(u,540)|0)+B(m,-11759)|0)+B(t,5091)|0)+e>>15;b=g;g=b-1|0;d=d+4|0;a=a+4|0;if(b){continue}break}}function rba(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,h=0;g=Qb-352|0;Qb=g;v[g+336>>2]=c;v[g+344>>2]=b;h=ge(g+208|0);v[299999]=0;a=v[d+28>>2];v[g+16>>2]=a;v[a+4>>2]=v[a+4>>2]+1;a=v[299999];v[299999]=0;a:{b:{c:{d:{if((a|0)!=1){v[299999]=0;b=S(5466,g+16|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break d}v[299999]=0;Z(5576,b|0,1016064,1016090,g+224|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break d}b=v[g+16>>2];a=v[b+4>>2]-1|0;v[b+4>>2]=a;if((a|0)==-1){Ub[v[v[b>>2]+8>>2]](b)}a=ge(g+192|0);b=w[a+11|0]>>>7|0?(v[a+8>>2]&2147483647)-1|0:10;v[299999]=0;V(5542,a|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}c=g;if(w[a+11|0]>>>7|0){b=v[a>>2]}else{b=a}v[c+188>>2]=b;v[g+12>>2]=g+16;v[g+8>>2]=0;while(1){e:{v[299999]=0;d=Q(5567,g+344|0,g+336|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break e}if(!d){break c}d=v[g+188>>2];if(w[a+11|0]>>>7|0){c=v[a+4>>2]}else{c=w[a+11|0]}if((d|0)==(c+b|0)){if(w[a+11|0]>>>7|0){c=v[a+4>>2]}else{c=w[a+11|0]}if(w[a+11|0]>>>7|0){b=v[a+4>>2]}else{b=w[a+11|0]}v[299999]=0;V(5542,a|0,b<<1);b=v[299999];v[299999]=0;if((b|0)==1){break b}b=w[a+11|0]>>>7|0?(v[a+8>>2]&2147483647)-1|0:10;v[299999]=0;V(5542,a|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}d=g;if(w[a+11|0]>>>7|0){b=v[a>>2]}else{b=a}v[d+188>>2]=c+b}v[299999]=0;d=S(5569,g+344|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break e}v[299999]=0;d=In(d,16,b,g+188|0,g+8|0,0,h,g+16|0,g+12|0,g+224|0);c=v[299999];v[299999]=0;if((c|0)==1){break e}if(d){break c}v[299999]=0;S(5571,g+344|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){continue}}break}break b}b=P()|0;O()|0;break a}b=P()|0;O()|0;c=v[g+16>>2];a=v[c+4>>2]-1|0;v[c+4>>2]=a;if((a|0)==-1){Ub[v[v[c>>2]+8>>2]](c)}break a}v[299999]=0;V(5542,a|0,v[g+188>>2]-b|0);b=v[299999];v[299999]=0;f:{if((b|0)==1){break f}if(w[a+11|0]>>>7|0){b=v[a>>2]}else{b=a}v[299999]=0;d=ga(5559)|0;c=v[299999];v[299999]=0;if((c|0)==1){break f}v[g>>2]=f;v[299999]=0;c=Z(5560,b|0,d|0,243371,g|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break f}if((c|0)!=1){v[e>>2]=4}v[299999]=0;c=Q(5568,g+344|0,g+336|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break f}if(c){v[e>>2]=v[e>>2]|2}b=v[g+344>>2];Mc(a);Mc(h);Qb=g+352|0;return b|0}}b=P()|0;O()|0;Mc(a)}Mc(h);T(b|0);L()}function QEa(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,j=0,k=0;h=Qb-112|0;Qb=h;v[a+4>>2]=b;v[a>>2]=962156;v[a>>2]=894536;gc(a+8|0,c,e);v[a+52>>2]=g;v[a+48>>2]=f;v[a+44>>2]=e;v[a+40>>2]=d;a:{if((e|0)<1){break a}b=e&3;g=0;if(e-1>>>0>=3){k=e&-4;c=a+60|0;j=a+8|0;while(1){t[c+g|0]=w[g+j|0];i=g|1;t[i+c|0]=w[i+j|0];i=g|2;t[i+c|0]=w[i+j|0];i=g|3;t[i+c|0]=w[i+j|0];g=g+4|0;k=k-4|0;if(k){continue}break}}if(!b){break a}while(1){c=a+g|0;t[c+60|0]=w[c+8|0];g=g+1|0;b=b-1|0;if(b){continue}break}}b:{c:{switch(d|0){case 0:b=e;e=a+60|0;t[b+e|0]=f;t[(e+v[a+44>>2]|0)+1|0]=v[a+48>>2]>>>8;t[(e+v[a+44>>2]|0)+2|0]=x[a+50>>1];t[(e+v[a+44>>2]|0)+3|0]=v[a+52>>2];t[(e+v[a+44>>2]|0)+4|0]=v[a+52>>2]>>>8;c=v[a+44>>2];d=c+5|0;f=a;if((c|0)>=-5){v[h+88>>2]=0;v[h+92>>2]=0;v[h+16>>2]=-1732584194;v[h+20>>2]=271733878;v[h+8>>2]=1732584193;v[h+12>>2]=-271733879;g=0;d:{if((c|0)<59){b=d;c=e;break d}c=e;b=d;while(1){i=(g+h|0)+24|0;g=64-g|0;gc(i,c,g);v[h+88>>2]=64;c=c+g|0;eo(h+8|0);b=b-g|0;g=v[h+88>>2];if((b+g|0)>63){continue}break}}if((b|0)>=1){gc((g+h|0)+24|0,c,b);v[h+88>>2]=v[h+88>>2]+b}v[h+92>>2]=d+v[h+92>>2];Rp(h+8|0);b=v[h+108>>2];v[e+8>>2]=v[h+104>>2];v[e+12>>2]=b;b=v[h+100>>2];v[e>>2]=v[h+96>>2];v[e+4>>2]=b;c=v[a+44>>2];d=c+5|0}v[f+56>>2]=(c|0)>11?16:d;break b;case 1:d=a+60|0;t[d+e|0]=f;t[(d+v[a+44>>2]|0)+1|0]=v[a+48>>2]>>>8;t[(d+v[a+44>>2]|0)+2|0]=x[a+50>>1];t[(d+v[a+44>>2]|0)+3|0]=v[a+52>>2];t[(d+v[a+44>>2]|0)+4|0]=v[a+52>>2]>>>8;t[(d+v[a+44>>2]|0)+5|0]=115;t[(d+v[a+44>>2]|0)+6|0]=65;t[(d+v[a+44>>2]|0)+7|0]=108;t[(d+v[a+44>>2]|0)+8|0]=84;f=a;g=v[a+44>>2];if((g|0)>=-9){e=g+9|0;v[h+88>>2]=0;v[h+92>>2]=0;v[h+16>>2]=-1732584194;v[h+20>>2]=271733878;v[h+8>>2]=1732584193;v[h+12>>2]=-271733879;c=0;e:{if((g|0)<55){b=e;g=d;break e}g=d;b=e;while(1){i=(c+h|0)+24|0;c=64-c|0;gc(i,g,c);v[h+88>>2]=64;g=c+g|0;eo(h+8|0);b=b-c|0;c=v[h+88>>2];if((b+c|0)>63){continue}break}}if((b|0)>=1){gc((c+h|0)+24|0,g,b);v[h+88>>2]=v[h+88>>2]+b}v[h+92>>2]=e+v[h+92>>2];Rp(h+8|0);b=v[h+108>>2];v[d+8>>2]=v[h+104>>2];v[d+12>>2]=b;b=v[h+100>>2];v[d>>2]=v[h+96>>2];v[d+4>>2]=b;g=v[a+44>>2]}v[f+56>>2]=(g|0)>11?16:g+5|0;break b;case 2:break c;default:break b}}v[a+56>>2]=e}Qb=h+112|0;return a|0}function Eba(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,h=0;g=Qb-272|0;Qb=g;v[g+256>>2]=c;v[g+264>>2]=b;h=ge(g+208|0);v[299999]=0;a=v[d+28>>2];v[g+16>>2]=a;v[a+4>>2]=v[a+4>>2]+1;a=v[299999];v[299999]=0;a:{b:{c:{d:{if((a|0)!=1){v[299999]=0;b=S(5533,g+16|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break d}v[299999]=0;Z(5555,b|0,1016064,1016090,g+224|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break d}b=v[g+16>>2];a=v[b+4>>2]-1|0;v[b+4>>2]=a;if((a|0)==-1){Ub[v[v[b>>2]+8>>2]](b)}a=ge(g+192|0);b=w[a+11|0]>>>7|0?(v[a+8>>2]&2147483647)-1|0:10;v[299999]=0;V(5542,a|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}c=g;if(w[a+11|0]>>>7|0){b=v[a>>2]}else{b=a}v[c+188>>2]=b;v[g+12>>2]=g+16;v[g+8>>2]=0;while(1){e:{v[299999]=0;d=Q(5473,g+264|0,g+256|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break e}if(!d){break c}d=v[g+188>>2];if(w[a+11|0]>>>7|0){c=v[a+4>>2]}else{c=w[a+11|0]}if((d|0)==(c+b|0)){if(w[a+11|0]>>>7|0){c=v[a+4>>2]}else{c=w[a+11|0]}if(w[a+11|0]>>>7|0){b=v[a+4>>2]}else{b=w[a+11|0]}v[299999]=0;V(5542,a|0,b<<1);b=v[299999];v[299999]=0;if((b|0)==1){break b}b=w[a+11|0]>>>7|0?(v[a+8>>2]&2147483647)-1|0:10;v[299999]=0;V(5542,a|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}d=g;if(w[a+11|0]>>>7|0){b=v[a>>2]}else{b=a}v[d+188>>2]=c+b}v[299999]=0;d=S(5474,g+264|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break e}v[299999]=0;d=Jn(d,16,b,g+188|0,g+8|0,0,h,g+16|0,g+12|0,g+224|0);c=v[299999];v[299999]=0;if((c|0)==1){break e}if(d){break c}v[299999]=0;S(5476,g+264|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){continue}}break}break b}b=P()|0;O()|0;break a}b=P()|0;O()|0;c=v[g+16>>2];a=v[c+4>>2]-1|0;v[c+4>>2]=a;if((a|0)==-1){Ub[v[v[c>>2]+8>>2]](c)}break a}v[299999]=0;V(5542,a|0,v[g+188>>2]-b|0);b=v[299999];v[299999]=0;f:{if((b|0)==1){break f}if(w[a+11|0]>>>7|0){b=v[a>>2]}else{b=a}v[299999]=0;d=ga(5559)|0;c=v[299999];v[299999]=0;if((c|0)==1){break f}v[g>>2]=f;v[299999]=0;c=Z(5560,b|0,d|0,243371,g|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break f}if((c|0)!=1){v[e>>2]=4}v[299999]=0;c=Q(5539,g+264|0,g+256|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break f}if(c){v[e>>2]=v[e>>2]|2}b=v[g+264>>2];Mc(a);Mc(h);Qb=g+272|0;return b|0}}b=P()|0;O()|0;Mc(a)}Mc(h);T(b|0);L()}function wsa(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;a=v[a+4>>2];if(!a){return 0}c=Qb-128|0;Qb=c;g=a+12|0;Wc(g,0);v[c+104>>2]=0;v[c+108>>2]=v[282402];v[299999]=0;V(4339,c+112|0,b|0);a=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{if((a|0)!=1){v[299999]=0;e=Q(4340,c+16|0,(t[c+123|0]<0?v[c+112>>2]:c+112|0)|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){d=W(0)|0;O()|0;if(t[c+123|0]>-1){break d}dc(v[c+112>>2]);break d}if(t[c+123|0]<=-1){dc(v[c+112>>2])}v[299999]=0;a=Q(4341,c+24|0,e|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break l}v[299999]=0;b=Q(4342,c- -64|0,a|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break k}v[a+24>>2]=981312;v[a>>2]=981280;d=v[a+28>>2];if(d){f=v[d+4>>2]-1|0;v[d+4>>2]=f;if(!f){Ub[v[v[d>>2]+4>>2]](d)}v[a+28>>2]=0}v[a+16>>2]=981312;d=v[a+20>>2];if(d){f=v[d+4>>2]-1|0;v[d+4>>2]=f;if(!f){Ub[v[v[d>>2]+4>>2]](d)}v[a+20>>2]=0}ec(a+8|0);ec(e);v[c+8>>2]=0;v[299999]=0;Q(4336,c+8|0,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break j}v[299999]=0;$(4343,c+24|0,b|0,c+8|0,0);a=v[299999];v[299999]=0;if((a|0)==1){break i}v[299999]=0;Q(4344,g|0,c+24|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break h}a=v[c+24>>2];v[c+24>>2]=0;m:{if(!a){break m}v[299999]=0;d=v[a+4>>2]-1|0;v[a+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)==1){break b}if(d){break m}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break b}}a=v[c+8>>2];v[c+8>>2]=0;n:{if(!a){break n}v[299999]=0;d=v[a+4>>2]-1|0;v[a+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)==1){break b}if(d){break n}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break b}}a=v[g>>2];v[299999]=0;S(4345,a|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break f}v[b+24>>2]=981312;v[b>>2]=981280;a=v[b+28>>2];if(a){d=v[a+4>>2]-1|0;v[a+4>>2]=d;if(!d){Ub[v[v[a>>2]+4>>2]](a)}v[b+28>>2]=0}v[b+16>>2]=981312;a=v[b+20>>2];if(a){d=v[a+4>>2]-1|0;v[a+4>>2]=d;if(!d){Ub[v[v[a>>2]+4>>2]](a)}v[b+20>>2]=0}ec(b+8|0);ec(c+104|0);a=1;break c}d=W(0)|0;O()|0;break d}d=W(0)|0;O()|0;ec(e);break d}d=W(0)|0;O()|0;$c(a);ec(e);break d}d=W(0)|0;O()|0;break e}d=W(0)|0;O()|0;break g}d=W(0)|0;O()|0;ec(c+24|0)}ec(c+8|0);break e}d=W(0)|0;O()|0}$c(b)}ec(c+104|0);ea(d|0)|0;ka();a=0}Qb=c+128|0;break a}W(0)|0;O()|0;lc();L()}return a|0}function oP(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;e=Qb-48|0;Qb=e;a:{b:{if(!w[b+144|0]){a=vc(e+24|0,231625,242011,164,226800,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}b=P()|0;O()|0;qc(a);T(b|0);L()}c:{d:{e:{f:{g:{h:{i:{d=v[b+24>>2];if(!d){k=b+112|0;break i}v[d+4>>2]=v[d+4>>2]+1;v[a>>2]=v[b+24>>2];break h}j:{k:{l:{while(1){v[299999]=0;i=Q(4387,e+8|0,k|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break f}j=0;f=v[e+16>>2];if(!f){break l}while(1){d=0;h=v[f+8>>2];if(h){v[299999]=0;v[h+4>>2]=v[h+4>>2]+1;d=v[299999];v[299999]=0;if((d|0)==1){break k}d=v[f+8>>2]}v[299999]=0;v[e+24>>2]=d;h=v[d+148>>2];g=v[299999];v[299999]=0;m:{if((g|0)!=1){v[299999]=0;U(4853,a|0,d|0,0);g=v[299999];v[299999]=0;if((g|0)!=1){break m}}d=W(0)|0;O()|0;ec(e+24|0);break g}if(v[a>>2]){v[299999]=0;a=v[d+4>>2]-1|0;v[d+4>>2]=a;b=v[299999];v[299999]=0;if((b|0)!=1){if(a){break j}v[299999]=0;R(4338,d|0);a=v[299999];v[299999]=0;if((a|0)!=1){break j}}break a}v[a>>2]=0;v[299999]=0;g=v[d+4>>2]-1|0;v[d+4>>2]=g;l=v[299999];v[299999]=0;if((l|0)==1){break a}if(!g){v[299999]=0;R(4338,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break a}}j=h&1?1:j;f=v[f>>2];if(f){continue}break}if(!c|!j){break l}if(w[b+144|0]){Ic(i);if(!w[b+144|0]){break e}continue}break}v[299999]=0;a=aa(4369,e+24|0,231625,242011,164,226800,0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}d=W(0)|0;O()|0;qc(a);break g}d=W(0)|0;O()|0;break g}Ic(i);if(v[b+148>>2]&8){a=vc(e+24|0,v[282395],242011,808,336595,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}f=P()|0;O()|0;qc(a);break c}v[a>>2]=0;Wc(a,0);break h}d=W(0)|0;O()|0;break g}Ic(i)}Qb=e+48|0;return}Ic(i);break d}d=W(0)|0;O()|0;break d}v[299999]=0;a=aa(4369,e+24|0,231625,242011,164,226800,0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}d=W(0)|0;O()|0;qc(a);break d}d=W(0)|0;O()|0}ea(d|0)|0;v[299999]=0;ba(4483);a=v[299999];v[299999]=0;if((a|0)!=1){break b}f=P()|0;O()|0;v[299999]=0;ba(4230);a=v[299999];v[299999]=0;if((a|0)!=1){break c}break a}T(f|0);L()}L()}W(0)|0;O()|0;lc();L()}function vFa(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,p=0,q=0,r=0,s=0,t=0,u=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0;G=Qb-192|0;Qb=G;e=a;while(1){a:{o=e;d=v[(k<<2)+b>>2]+c|0;f=w[d|0];g=w[d+13|0];l=f-g|0;i=w[d+3|0];j=w[d+10|0];A=i-j|0;r=w[d+2|0];s=w[d+11|0];m=r-s|0;t=w[d+1|0];u=w[d+12|0];h=t-u|0;C=m+h|0;x=w[d+5|0];y=w[d+8|0];n=x-y|0;z=w[d+4|0];D=w[d+9|0];q=z-D|0;E=n-q|0;F=w[d+6|0];p=w[d+7|0];d=F-p|0;v[e+28>>2]=l+A-((C+E|0)+d);x=x+y|0;t=t+u|0;u=x+t|0;i=i+j|0;j=z+D|0;r=r+s|0;s=j+r|0;y=F+p|0;g=f+g|0;z=y+g|0;v[e>>2]=((u+(i+s|0)|0)+z|0)-1792;f=i<<1;v[e+16>>2]=((B(s-f|0,-7223)+B(u-f|0,2578)|0)+B(z-f|0,10438)|0)+4096>>13;f=r-j|0;g=g-y|0;i=t-x|0;j=B(g+i|0,9058)+4096|0;v[e+24>>2]=(B(f,-11295)+j|0)+B(i,-14084)>>13;v[e+8>>2]=(j+B(f,5027)|0)+B(g,2237)>>13;f=A<<13;g=((B(E,11512)-f|0)+B(C,-1297)|0)+4096|0;p=(g+B(m,-19447)|0)+B(q,9175)|0;m=B(d+q|0,6164)+B(l+m|0,9810)|0;v[e+20>>2]=p+m>>13;p=(g+B(h,-3474)|0)+B(n,-25148)|0;h=B(n-d|0,3826)+B(l+h|0,10935)|0;v[e+12>>2]=p+h>>13;v[e+4>>2]=(m+((d+(f+h|0)|0)+B(d+l|0,-9232)|0)|0)+4096>>13;l=k-7|0;k=k+1|0;d=7;e=G;b:{switch(l|0){case 0:continue;case 6:break a;default:break b}}e=o+32|0;continue}break}while(1){c=v[e+32>>2];m=v[a+128>>2];h=c+m|0;o=v[e+96>>2];k=v[a+64>>2];n=o+k|0;l=h+n|0;q=v[e+64>>2];f=v[a+96>>2];g=q+f|0;b=g<<1;i=v[e>>2];j=v[a+160>>2];A=i+j|0;r=v[e+128>>2];s=v[a+32>>2];t=r+s|0;u=A+t|0;C=v[a+224>>2];x=v[a+192>>2];y=C+x|0;z=v[e+160>>2];D=v[a>>2];E=z+D|0;F=y+E|0;v[a+128>>2]=((B(l-b|0,-4717)+B(u-b|0,1684)|0)+B(F-b|0,6817)|0)- -8192>>14;v[a>>2]=B(F+(u+(g+l|0)|0)|0,5350)- -8192>>14;b=D-z|0;q=f-q|0;o=k-o|0;k=s-r|0;f=o+k|0;l=j-i|0;m=m-c|0;g=l-m|0;c=x-C|0;v[a+224>>2]=B(b+q-((f+g|0)+c)|0,5350)- -8192>>14;h=n-h|0;n=E-y|0;i=t-A|0;j=B(n+i|0,5915)- -8192|0;v[a+192>>2]=(B(h,-7376)+j|0)+B(i,-9198)>>14;v[a+64>>2]=(j+B(h,3283)|0)+B(n,1461)>>14;h=B(q,5350);n=((B(g,7518)-h|0)+B(f,-847)|0)- -8192|0;p=(n+B(o,-12700)|0)+B(m,5992)|0;o=B(c+m|0,4025)+B(b+o|0,6406)|0;v[a+160>>2]=p+o>>14;p=(n+B(k,-2269)|0)+B(l,-16423)|0;k=B(l-c|0,2499)+B(b+k|0,7141)|0;v[a+96>>2]=p+k>>14;v[a+32>>2]=(o+((h+(k+B(b,-6029)|0)|0)+B(c,-679)|0)|0)- -8192>>14;b=d;d=d-1|0;e=e+4|0;a=a+4|0;if(b){continue}break}Qb=G+192|0}function zPa(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,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,z=0,A=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;b=v[b+84>>2];l=B(B(u[c+26>>1],v[b+52>>2]),10033);m=B(u[c+10>>1],v[b+20>>2])<<13|1024;k=B(v[b+84>>2],u[c+42>>1]);p=m+B(k,5793)|0;i=l+p>>11;q=B(B(u[c+18>>1],v[b+36>>2]),10033);n=B(u[c+2>>1],v[b+4>>2])<<13|1024;o=B(v[b+68>>2],u[c+34>>1]);r=n+B(o,5793)|0;g=q+r>>11;h=B(i+g|0,2998);f=v[d>>2]+e|0;a=v[a+332>>2]+128|0;s=B(B(u[c+22>>1],v[b+44>>2]),10033);x=B(u[c+6>>1],v[b+12>>2])<<13|1024;y=B(v[b+76>>2],u[c+38>>1]);z=x+B(y,5793)|0;j=s+z>>11;A=h+(j+g<<13)|0;C=B(B(u[c+16>>1],v[b+32>>2]),10033);D=B(u[c>>1],v[b>>2])<<13|1024;E=B(v[b+64>>2],u[c+32>>1]);F=D+B(E,5793)|0;G=(C+F<<2)+131072&-8192;H=B(B(u[c+24>>1],v[b+48>>2]),10033);I=B(u[c+8>>1],v[b+16>>2])<<13|1024;J=B(v[b+80>>2],u[c+40>>1]);K=I+B(J,5793)|0;L=H+K>>11;M=G+B(L,5793)|0;N=B(B(u[c+20>>1],v[b+40>>2]),10033);O=B(u[c+4>>1],v[b+8>>2])<<13|1024;P=B(v[b+72>>2],u[c+36>>1]);Q=O+B(P,5793)|0;b=B(N+Q>>11,10033);c=M+b|0;t[f|0]=w[a+(A+c>>>18&1023)|0];t[f+5|0]=w[a+(c-A>>>18&1023)|0];c=g-(i+j|0)<<13;g=B(L,-11586)+G|0;t[f+1|0]=w[a+(c+g>>>18&1023)|0];t[f+4|0]=w[a+(g-c>>>18&1023)|0];c=h+(i-j<<13)|0;b=M-b|0;t[f+2|0]=w[a+(c+b>>>18&1023)|0];t[f+3|0]=w[a+(b-c>>>18&1023)|0];c=m+B(k,-11586)>>11;f=n+B(o,-11586)>>11;i=B(c+f|0,2998);b=v[d+4>>2]+e|0;g=B(y,-11586)+x>>11;h=i+(g+f<<13)|0;k=(B(E,-11586)+D<<2)+131072&-8192;j=B(J,-11586)+I>>11;m=k+B(j,5793)|0;o=B(B(P,-11586)+O>>11,10033);n=m+o|0;t[b|0]=w[a+(h+n>>>18&1023)|0];t[b+5|0]=w[a+(n-h>>>18&1023)|0];f=f-(c+g|0)<<13;h=k+B(j,-11586)|0;t[b+1|0]=w[a+(f+h>>>18&1023)|0];t[b+4|0]=w[a+(h-f>>>18&1023)|0];c=i+(c-g<<13)|0;f=m-o|0;t[b+2|0]=w[a+(c+f>>>18&1023)|0];t[b+3|0]=w[a+(f-c>>>18&1023)|0];c=p-l>>11;f=r-q>>11;l=B(c+f|0,2998);b=v[d+8>>2]+e|0;d=z-s>>11;e=l+(d+f<<13)|0;g=(F-C<<2)+131072&-8192;i=K-H>>11;h=g+B(i,5793)|0;j=B(Q-N>>11,10033);k=h+j|0;t[b|0]=w[a+(e+k>>>18&1023)|0];t[b+5|0]=w[a+(k-e>>>18&1023)|0];e=f-(c+d|0)<<13;f=g+B(i,-11586)|0;t[b+1|0]=w[a+(e+f>>>18&1023)|0];t[b+4|0]=w[a+(f-e>>>18&1023)|0];c=l+(c-d<<13)|0;d=h-j|0;t[b+2|0]=w[a+(c+d>>>18&1023)|0];t[b+3|0]=w[a+(d-c>>>18&1023)|0]}function uZ(a){var 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;d=Qb-16|0;Qb=d;c=v[a+104>>2];b=Ub[v[a+516>>2]](a,1886352244,c,d+4|0)|0;a:{if(b){break a}h=v[c+8>>2];m=v[d+4>>2];f=v[a+476>>2];b=Bf(c,32);if(b){break a}b:{c:{d:{e:{f:{if((f|0)!=151552){b=3;if((f|0)!=131072){break b}f=v[c+28>>2];i=Ed(c,d+8|0);b=v[d+8>>2];if(b){break b}b=3;if(i>>>0>x[a+264>>1]){break b}l=Cc(f,2,0,i,0,d+8|0);if(v[d+8>>2]){break c}b=ne(c,i<<1);v[d+8>>2]=b;if(b){break c}if(!i){break f}b=0;while(1){q=l+(b<<1)|0,r=He(c),u[q>>1]=r;b=b+1|0;if((i|0)!=(b|0)){continue}break}Vd(c);n=i&1;g:{if((i|0)==1){b=0;break g}e=i&65534;b=0;while(1){k=g<<1;j=x[l+(k|2)>>1];o=j-257|0;k=x[l+k>>1];p=k-257|0;b=k>>>0>257?(b&65535)<(p|0)?p:b:b;b=j>>>0>257?(b&65535)<(o|0)?o:b:b;g=g+2|0;e=e-2|0;if(e){continue}break}}if(!n){break d}e=x[l+(g<<1)>>1];g=e-257|0;b=e>>>0>257?(g|0)>(b&65535)?g:b:b;break d}g=v[c+28>>2];f=Ed(c,d+12|0);b=v[d+12>>2];if(b){break b}b=3;if(x[a+264>>1]<=(f-1&65535)>>>0|f>>>0>258){break b}b=0;e=Cc(g,1,0,f,0,d+12|0);h:{if(v[d+12>>2]){break h}c=Lf(c,e,f);v[d+12>>2]=c;if(c){break h}while(1){c=t[b+e|0]+b|0;if(!((c|0)<0|(c|0)>(f|0))){b=b+1|0;if((f|0)!=(b|0)){continue}break e}break}v[d+12>>2]=3}if(e){Ub[v[g+8>>2]](g,e)}b=v[d+12>>2];break b}Vd(c);b=0;break d}v[a+640>>2]=e;u[a+636>>1]=f;b=0;break b}e=0;n=b&65535;g=Cc(f,4,0,n,0,d+8|0);if(v[d+8>>2]){break c}i:{j:{if(!n){break j}m=h+m|0;while(1){if(m>>>0<=y[c+8>>2]){if((b&65535)>>>0<=(e&65535)>>>0){break j}while(1){c=Cc(f,1,0,1,0,d+8|0);v[(e<<2)+g>>2]=c;if(v[d+8>>2]){break i}t[c|0]=0;e=e+1|0;if((n|0)!=(e|0)){continue}break}break j}h=dg(c,d+8|0);if(v[d+8>>2]){break i}k=(e<<2)+g|0;o=k;j=f;h=h&255;if(!(m>>>0>=h>>>0&y[c+8>>2]<=m-h>>>0)){h=m-v[c+8>>2]|0;h=(h|0)>0?h:0}j=Cc(j,1,0,h+1|0,0,d+8|0);v[o>>2]=j;if(v[d+8>>2]){break i}j=Lf(c,j,h);v[d+8>>2]=j;if(j){break i}t[v[k>>2]+h|0]=0;e=e+1|0;if((n|0)!=(e|0)){continue}break}}v[a+644>>2]=g;v[a+640>>2]=l;u[a+638>>1]=b;u[a+636>>1]=i;b=0;break b}b=b&65535;c=b>>>0>1?b:1;b=0;while(1){e=(b<<2)+g|0;i=v[e>>2];if(i){Ub[v[f+8>>2]](f,i)}v[e>>2]=0;b=b+1|0;if((c|0)!=(b|0)){continue}break}}if(g){Ub[v[f+8>>2]](f,g)}if(l){Ub[v[f+8>>2]](f,l)}b=v[d+8>>2]}t[a+632|0]=1}Qb=d+16|0;return b}function Kna(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;d=Qb-48|0;Qb=d;a:{b:{c:{if(w[a+144|0]){b=vc(d+24|0,231667,242011,230,340419,0);v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}a=P()|0;O()|0;qc(b);break c}if(!v[a+4>>2]){b=vc(d+24|0,290820,242011,232,340419,0);v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}a=P()|0;O()|0;qc(b);break c}d:{e=v[b+8>>2];e:{if(!e|!v[e+8>>2]){break e}Bi(d+24|0,b,0);e=v[d+24>>2];if(!e){ec(d+24|0);break e}e=v[e+8>>2];ec(d+24|0);if(e){break d}}b=vc(d+24|0,316426,242011,234,340419,0);v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}a=P()|0;O()|0;qc(b);break c}i=a+72|0;$C(i,b);v[a+152>>2]=0;v[a+68>>2]=0;h=Bh();or(h,a,a);f=h;e=a;f:{b=v[c>>2];if(!b){g=pr(8);v[g>>2]=0;v[g+4>>2]=0;v[299999]=0;S(4691,g|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break f}v[g>>2]=984720;Si(c,Wc(a+164|0,g));b=v[c>>2]}or(f,e,b);t[a+144|0]=1;b=d+16|0;Ub[v[v[h>>2]+16>>2]](b,h,a,i);v[299999]=0;$(4757,d+24|0,b|0,0,-1);b=v[299999];v[299999]=0;g:{h:{i:{j:{k:{l:{m:{if((b|0)!=1){v[299999]=0;c=Q(4344,a+108|0,d+24|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break m}e=v[c>>2];f=v[d+24>>2];v[d+24>>2]=0;n:{if(!f){break n}v[299999]=0;c=v[f+4>>2]-1|0;v[f+4>>2]=c;b=v[299999];v[299999]=0;if((b|0)==1){break a}if(c){break n}v[299999]=0;R(4338,f|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}f=v[d+16>>2];v[d+16>>2]=0;o:{if(!f){break o}v[299999]=0;c=v[f+4>>2]-1|0;v[f+4>>2]=c;b=v[299999];v[299999]=0;if((b|0)==1){break a}if(c){break o}v[299999]=0;R(4338,f|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}if(e){break g}a=d+8|0;Bi(a,i,0);v[299999]=0;U(4423,d+16|0,358230,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break k}a=v[d+16>>2];a=v[(a?a+12|0:1129608)>>2];v[299999]=0;b=aa(4369,d+24|0,a|0,242011,253,340419,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break j}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}a=P()|0;O()|0;qc(b);break i}a=P()|0;O()|0;break l}a=P()|0;O()|0;ec(d+24|0)}ec(d+16|0);break c}a=P()|0;O()|0;break h}a=P()|0;O()|0}ec(d+16|0)}ec(d+8|0);break c}FD(v[a+108>>2],0,-1,4822,a);Qb=d+48|0;return}a=P()|0;O()|0;Wk(g)}T(a|0)}L()}W(0)|0;O()|0;lc();L()}function AO(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0;g=Qb-48|0;Qb=g;a:{b:{c:{h=v[c+4>>2];f=v[c+12>>2];i=(b|0)<(h|0)?h:(b|0)<(f|0)?b:f-1|0;b=v[a+116>>2];if((i|0)==(b|0)){break c}k=v[a+88>>2];f=k;if((i|0)==v[a+112>>2]){break b}v[a+112>>2]=b;v[a+116>>2]=i;v[a+88>>2]=v[a+100>>2];v[a+100>>2]=k;d:{h=v[a+16>>2];f=v[a+20>>2];if(!(h|f)){b=i-v[d+4>>2]|0;f=v[d>>2];d=v[c+8>>2];c=v[c>>2];if(!v[e+20>>2]){gi(e)}e:{if(!((b|0)>1]&(b|0)>=0)){b=x[e+12>>1];if(v[282398]<(b+x[e+14>>1]|0)){a=vc(g+24|0,260231,271771,592,225838,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break d}break a}b=b+v[282397]|0;break e}b=v[e+20>>2]+(x[e+12>>1]+B(b,x[e+14>>1])|0)|0}if((c|0)>=(d|0)){break c}d=d-f|0;c=c-f|0;b=b+c|0;while(1){t[k|0]=w[v[a+76>>2]+w[b|0]|0];k=k+1|0;b=b+1|0;c=c+1|0;if((d|0)>(c|0)){continue}break}break c}v[g+8>>2]=v[c>>2]<>2];v[g+20>>2]=i+1<>2]=i<>2]=b<>2]|0,0-v[d+4>>2]|0);b=v[g+12>>2];if(!v[e+20>>2]){gi(e)}f:{if(!((b|0)>1]&(b|0)>=0)){n=x[e+14>>1];b=x[e+12>>1];if(v[282398]<(n+b|0)){a=vc(g+24|0,260231,271771,592,225838,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break d}break a}f=b+v[282397]|0;break f}n=x[e+14>>1];f=v[e+20>>2]+(x[e+12>>1]+B(b,n)|0)|0}j=v[g+16>>2];i=v[g+8>>2];if((j|0)<=(i|0)){break c}o=v[a+16>>2];A=1<>2];s=o+c|0;u=1<>2]-v[g+12>>2]|0;c=1<(h|0)?h:c;if((y|0)>=1){E=0-b|0;m=v[a+76>>2];b=b+f|0;p=(d|0)<(j|0)?d:j;c=z<>>0<=b>>>0){break g}j=c;if(c){while(1){e=w[w[b|0]+m|0]+e|0;b=b+1|0;j=j-1|0;if(j){continue}break}}if(F>>>0<3){break g}while(1){e=w[w[b+3|0]+m|0]+(w[w[b+2|0]+m|0]+(w[w[b+1|0]+m|0]+(w[w[b|0]+m|0]+e|0)|0)|0)|0;b=b+4|0;if(r>>>0>b>>>0){continue}break}}b=h+n|0;l=(l-h|0)+r|0;q=q+1|0;if((y|0)!=(q|0)){continue}break}}t[k|0]=(l|0)==(C|0)?e+u>>s:(((l|0)/2|0)+e|0)/(l|0)|0;j=v[g+16>>2];if((d|0)>=(j|0)){break c}z=z+1|0;k=k+1|0;c=v[a+20>>2];b=d;continue}}L()}f=v[a+100>>2]}Qb=g+48|0;return f}b=P()|0;O()|0;qc(a);T(b|0);L()}function y1a(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,p=0;j=Qb-16|0;Qb=j;i=v[c>>2];v[j+12>>2]=0;d=8;e=a+5|0;a:{if(e>>>0>b>>>0){break a}f=w[a+3|0];h=w[a+4|0];a=v[c+92>>2];d=h+a|0;if(d>>>0>y[c+96>>2]){g=a;a=d+3&-4;o=c,p=Cc(i,36,g,a,v[c+100>>2],j+12|0),v[o+100>>2]=p;d=v[j+12>>2];if(d){break a}v[c+96>>2]=a}d=8;a=b;b=f&4;i=f&1;k=f&2;m=f&8;l=f&16;if(a>>>0>>2|0)+(k?i+9|0:i|8)+(m>>>3)+(l>>>4)|0,h)+e>>>0){break a}n=v[c+92>>2];b:{if(!h){break b}a=v[c+100>>2]+B(n,36)|0;if(!b){b=0;while(1){f=a;c:{if(i){d=e+2|0;g=w[e+1|0]|w[e|0]<<8;break c}d=e+1|0;g=w[e|0]}v[f>>2]=g;f=a;d:{if(k){e=d+2|0;g=w[d+1|0]|w[d|0]<<8;break d}e=d+1|0;g=w[d|0]}v[f+4>>2]=g;v[a+8>>2]=w[e|0];v[a+20>>2]=w[e+2|0]|w[e+1|0]<<8;e:{if(m){d=w[e+4|0]<<8|w[e+3|0]<<16;g=5;f=e+6|0;break e}d=w[e+3|0]<<8;g=4;f=e+5|0}v[a+24>>2]=w[e+g|0]|d;g=a;f:{if(l){e=f+2|0;f=w[f+1|0]|w[f|0]<<8;break f}e=f+1|0;f=w[f|0]}v[g+28>>2]=f;a=a+36|0;b=b+1|0;if((h|0)!=(b|0)){continue}break}break b}if(!m){d=0;while(1){f=a;g:{if(i){b=e+2|0;g=w[e+1|0]|w[e|0]<<8;break g}b=e+1|0;g=w[e|0]}v[f>>2]=g;h:{if(k){e=w[b+1|0]|w[b|0]<<8;b=b+2|0;break h}e=w[b|0];b=b+1|0}v[a+4>>2]=e;v[a+8>>2]=w[b|0];v[a+20>>2]=w[b+3|0]|(w[b+2|0]<<8|w[b+1|0]<<16);v[a+24>>2]=w[b+5|0]|w[b+4|0]<<8;f=a;i:{if(l){e=b+8|0;b=w[b+7|0]|w[b+6|0]<<8;break i}e=b+7|0;b=w[b+6|0]}v[f+28>>2]=b;a=a+36|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}break b}b=0;if(!i){while(1){v[a>>2]=w[e|0];f=a;j:{if(k){d=e+3|0;g=w[e+2|0]|w[e+1|0]<<8;break j}d=e+2|0;g=w[e+1|0]}v[f+4>>2]=g;v[a+8>>2]=w[d|0];v[a+20>>2]=w[d+3|0]|(w[d+2|0]<<8|w[d+1|0]<<16);v[a+24>>2]=w[d+6|0]|(w[d+5|0]<<8|w[d+4|0]<<16);f=a;k:{if(l){e=d+9|0;g=w[d+8|0]|w[d+7|0]<<8;break k}e=d+8|0;g=w[d+7|0]}v[f+28>>2]=g;a=a+36|0;b=b+1|0;if((h|0)!=(b|0)){continue}break b}}while(1){v[a>>2]=w[e+1|0]|w[e|0]<<8;f=a;l:{if(k){d=e+4|0;g=w[e+3|0]|w[e+2|0]<<8;break l}d=e+3|0;g=w[e+2|0]}v[f+4>>2]=g;v[a+8>>2]=w[d|0];v[a+20>>2]=w[d+3|0]|(w[d+2|0]<<8|w[d+1|0]<<16);v[a+24>>2]=w[d+6|0]|(w[d+5|0]<<8|w[d+4|0]<<16);f=a;m:{if(l){e=d+9|0;g=w[d+8|0]|w[d+7|0]<<8;break m}e=d+8|0;g=w[d+7|0]}v[f+28>>2]=g;a=a+36|0;b=b+1|0;if((h|0)!=(b|0)){continue}break}}v[c+92>>2]=h+n;d=v[j+12>>2]}Qb=j+16|0;return d|0}function iua(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{d=v[a+4>>2];if((d|0)!=v[a+8>>2]){c=v[b+4>>2];v[d>>2]=v[b>>2];v[d+4>>2]=c;c=v[b+28>>2];v[d+24>>2]=v[b+24>>2];v[d+28>>2]=c;c=v[b+20>>2];v[d+16>>2]=v[b+16>>2];v[d+20>>2]=c;c=v[b+12>>2];v[d+8>>2]=v[b+8>>2];v[d+12>>2]=c;c=d+32|0;b:{if(t[b+43|0]>=0){f=v[b+36>>2];v[c>>2]=v[b+32>>2];v[c+4>>2]=f;v[c+8>>2]=v[b+40>>2];break b}f=v[b+36>>2];b=v[b+32>>2];v[299999]=0;U(2345,c|0,b|0,f|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}v[a+4>>2]=d+48;return}f=Qb-32|0;Qb=f;d=a;c:{d:{a=v[a+4>>2];i=v[d>>2];g=(a-i|0)/48|0;c=g+1|0;if(c>>>0<89478486){e=v[d+8>>2];v[f+24>>2]=d+8;e=(e-i|0)/48|0;j=e<<1;e=e>>>0<44739242?c>>>0>j>>>0?c:j:89478485;if(e){if(e>>>0>=89478486){break d}h=fc(B(e,48))}v[f+8>>2]=h;c=B(g,48)+h|0;v[f+16>>2]=c;h=B(e,48)+h|0;v[f+20>>2]=h;v[f+12>>2]=c;e=v[b+28>>2];v[c+24>>2]=v[b+24>>2];v[c+28>>2]=e;e=v[b+20>>2];v[c+16>>2]=v[b+16>>2];v[c+20>>2]=e;e=v[b+12>>2];v[c+8>>2]=v[b+8>>2];v[c+12>>2]=e;e=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=e;e=c+32|0;e:{f:{if(t[b+43|0]>=0){g=v[b+36>>2];v[e>>2]=v[b+32>>2];v[e+4>>2]=g;v[e+8>>2]=v[b+40>>2];break f}a=v[b+36>>2];b=v[b+32>>2];v[299999]=0;U(2345,e|0,b|0,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break e}a=v[d+4>>2];i=v[d>>2]}e=c+48|0;if((a|0)==(i|0)){b=a}else{while(1){a=a-48|0;g=v[a+4>>2];c=c-48|0;b=c;v[b>>2]=v[a>>2];v[b+4>>2]=g;b=v[a+28>>2];v[c+24>>2]=v[a+24>>2];v[c+28>>2]=b;b=v[a+20>>2];v[c+16>>2]=v[a+16>>2];v[c+20>>2]=b;b=v[a+12>>2];v[c+8>>2]=v[a+8>>2];v[c+12>>2]=b;v[c+40>>2]=v[a+40>>2];b=v[a+36>>2];v[c+32>>2]=v[a+32>>2];v[c+36>>2]=b;v[a+32>>2]=0;v[a+36>>2]=0;v[a+40>>2]=0;if((a|0)!=(i|0)){continue}break}a=v[d+4>>2];b=v[d>>2]}v[d>>2]=c;v[f+12>>2]=b;v[d+4>>2]=e;c=v[d+8>>2];v[d+8>>2]=h;v[f+8>>2]=b;v[f+20>>2]=c;if((a|0)!=(b|0)){while(1){d=a-48|0;v[f+16>>2]=d;if(t[d+43|0]<=-1){dc(v[a-16>>2])}a=d;if((b|0)!=(a|0)){continue}break}}if(b){dc(b)}Qb=f+32|0;break c}d=P()|0;O()|0;a=v[f+16>>2];c=v[f+12>>2];if((a|0)!=(c|0)){while(1){b=a-48|0;v[f+16>>2]=b;e=c;if(t[b+43|0]<=-1){dc(v[a-16>>2]);a=v[f+16>>2]}else{a=b}if((e|0)!=(a|0)){continue}break}}a=v[f+8>>2];if(a){dc(a)}T(d|0);L()}ue(d);L()}cf(274079);L()}return}b=P()|0;O()|0;v[a+4>>2]=d;T(b|0);L()}function Wu(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=v[((b<<2)+a|0)+88>>2];if(!g){c=v[a>>2];v[c+24>>2]=b;v[c+20>>2]=54;Ub[v[v[a>>2]>>2]](a)}c=v[a+384>>2];a:{if((c|0)<0){break a}f=c+1|0;e=f&3;d=v[a+380>>2];b:{if(c>>>0<3){f=0;c=0;break b}h=f&-4;f=0;c=0;while(1){i=f;f=c<<2;f=x[(v[d+(f|12)>>2]<<1)+g>>1]>255?1:x[(v[d+(f|8)>>2]<<1)+g>>1]>255?1:x[(v[d+(f|4)>>2]<<1)+g>>1]>255?1:x[(v[f+d>>2]<<1)+g>>1]>255?1:i;c=c+4|0;h=h-4|0;if(h){continue}break}}if(!e){break a}while(1){f=x[(v[d+(c<<2)>>2]<<1)+g>>1]>255?1:f;c=c+1|0;e=e-1|0;if(e){continue}break}}if(!v[g+128>>2]){c=v[a+24>>2];d=v[c>>2];v[c>>2]=d+1;t[d|0]=255;d=v[c+4>>2]-1|0;v[c+4>>2]=d;c:{if(d){break c}if(Ub[v[c+12>>2]](a)|0){break c}c=v[a>>2];v[c+20>>2]=25;Ub[v[c>>2]](a)}c=v[a+24>>2];d=v[c>>2];v[c>>2]=d+1;t[d|0]=219;d=v[c+4>>2]-1|0;v[c+4>>2]=d;d:{if(d){break d}if(Ub[v[c+12>>2]](a)|0){break d}c=v[a>>2];v[c+20>>2]=25;Ub[v[c>>2]](a)}d=v[a+384>>2];c=v[a+24>>2];e=v[c>>2];v[c>>2]=e+1;i=e;e=f?(d<<1)+5|0:d+4|0;t[i|0]=e>>>8;d=v[c+4>>2]-1|0;v[c+4>>2]=d;e:{if(d){break e}if(Ub[v[c+12>>2]](a)|0){break e}c=v[a>>2];v[c+20>>2]=25;Ub[v[c>>2]](a)}c=v[a+24>>2];d=v[c>>2];v[c>>2]=d+1;t[d|0]=e;d=v[c+4>>2]-1|0;v[c+4>>2]=d;f:{if(d){break f}if(Ub[v[c+12>>2]](a)|0){break f}c=v[a>>2];v[c+20>>2]=25;Ub[v[c>>2]](a)}c=v[a+24>>2];d=v[c>>2];v[c>>2]=d+1;t[d|0]=(f<<4)+b;b=v[c+4>>2]-1|0;v[c+4>>2]=b;g:{if(b){break g}if(Ub[v[c+12>>2]](a)|0){break g}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}c=0;h:{if(v[a+384>>2]<0){break h}if(!f){while(1){b=c;e=w[(v[v[a+380>>2]+(c<<2)>>2]<<1)+g|0];c=v[a+24>>2];d=v[c>>2];v[c>>2]=d+1;t[d|0]=e;d=v[c+4>>2]-1|0;v[c+4>>2]=d;i:{if(d){break i}if(Ub[v[c+12>>2]](a)|0){break i}c=v[a>>2];v[c+20>>2]=25;Ub[v[c>>2]](a)}c=b+1|0;if((b|0)>2]){continue}break h}}while(1){b=c;d=x[(v[v[a+380>>2]+(c<<2)>>2]<<1)+g>>1];c=v[a+24>>2];e=v[c>>2];v[c>>2]=e+1;t[e|0]=d>>>8;e=v[c+4>>2]-1|0;v[c+4>>2]=e;j:{if(e){break j}if(Ub[v[c+12>>2]](a)|0){break j}c=v[a>>2];v[c+20>>2]=25;Ub[v[c>>2]](a)}c=v[a+24>>2];e=v[c>>2];v[c>>2]=e+1;t[e|0]=d;d=v[c+4>>2]-1|0;v[c+4>>2]=d;k:{if(d){break k}if(Ub[v[c+12>>2]](a)|0){break k}c=v[a>>2];v[c+20>>2]=25;Ub[v[c>>2]](a)}c=b+1|0;if((b|0)>2]){continue}break}}v[g+128>>2]=1}return f}function ALa(a,b){a=a|0;b=b|0;var 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=v[a+4>>2];d=v[k+52>>2];j=d?d:64;l=v[a+12>>2];h=v[a+8>>2];e=v[k+56>>2];d=v[a+16>>2];g=v[a+20>>2]-d|0;c=!!((g|0)>0?e:0);a:while(1){b:{c:{if(!c){c=l-h>>1;g=(c|0)<(g|0)?c:g;d:{if((g|0)<1){break d}while(1){e=x[h>>1];if(e>>>0>12287){break d}f=d;e:{if(e>>>0<=32){j=(e|0)==32?j:64;c=e;break e}c=e-j|0;if(c- -64>>>0>127){break d}j=e&65408|64;c=c-112|0}t[f|0]=c;h=h+2|0;d=d+1|0;c=(g|0)>1;g=g-1|0;if(c){continue}break}}g=v[a+20>>2]-d|0;c=0;break c}if(h>>>0>>0){f=x[h>>1];c=(f&64512)==56320;e=c?(f+(e<<10)|0)-56613888|0:e;h=(c<<1)+h|0;c=1;break c}e=0-e|0;break b}while(1){f:{g:{h:{i:{if(!c){if(h>>>0>=l>>>0){break b}if((g|0)<=0){break i}c=h;while(1){j:{h=c+2|0;e=x[c>>1];if(e>>>0>32){break j}t[d|0]=e;j=(e|0)==32?j:64;d=d+1|0;if(h>>>0>=l>>>0){break b}f=(g|0)<2;g=g-1|0;c=h;if(!f){continue}break i}break}if((e&64512)!=55296){break f}c=1;continue a}c=e-j|0;f=e&-128|64;k:{if(e-12352>>>0>=42852){break k}f=12400;if((e|0)<12448){break k}f=30481;if(e-19968>>>0<20902){break k}f=49617;if((e|0)>44031){break k}f=e&-128|64}j=f;if(c- -64>>>0<=127){t[d|0]=c-112;g=g-1|0;d=d+1|0;if((e|0)<12288){break h}break g}if(!((g|0)<2|c+10513>>>0>21025)){f=d;l:{m:{n:{o:{if((c|0)>=0){c=c+-64|0;i=(c<<16>>16)/243|0;c=c-B(i,243)<<16>>16;i=i+208&65535;break o}i=-64-c|0;c=(i>>>0)/243|0;m=c^-1;n=0-c|0;c=i-B(c,243)|0;i=(c?m:n)+80|0;if(!c){break n}c=243-c|0}t[d|0]=i;if((c|0)<20){break m}c=c+13|0;break l}t[d|0]=i;c=0}c=w[c+864528|0]}t[f+1|0]=c;g=g-2|0;d=d+2|0;break g}c=cW(c);f=c>>24;i=c>>>0<67108864?f:4;if((i|0)<=(g|0)){p:{switch(i-3|0){case 1:t[d|0]=f;d=d+1|0;case 0:t[d+2|0]=c;t[d+1|0]=c>>>8;t[d|0]=c>>>16;d=d+3|0;break;default:break p}}g=g-i|0;break g}f=k+76|0;q:{r:{s:{t:{l=i-g|0;switch(l-1|0){case 0:break r;case 1:break s;case 2:break t;default:break q}}t[k+76|0]=c>>>16;f=k+77|0}t[f|0]=c>>>8;f=f+1|0}t[f|0]=c}t[k+63|0]=l;c=c>>(l<<3);u:{switch(g-1|0){case 2:t[d|0]=c>>>16;d=d+1|0;case 1:t[d|0]=c>>>8;d=d+1|0;case 0:t[d|0]=c;d=d+1|0;break;default:break u}}v[b>>2]=15;break b}v[b>>2]=15;break b}c=0;continue a}c=0;continue}c=1;continue}}break}v[k+52>>2]=j;v[k+56>>2]=0-e&e>>31;v[a+16>>2]=d;v[a+8>>2]=h}function zha(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,y=0,z=0,A=0,C=0,D=0;j=Qb-32|0;Qb=j;t=v[a+52>>2];n=v[a+12>>2];k=v[a>>2];e=Uk(k);f=B(n?4:3,e);m=jc(f);a:{if(!m){zc(v[k+628>>2],v[k>>2],46020,0);break a}eg(m,0,f);v[j+16>>2]=j+28;Kd(k,322,j+16|0);v[j>>2]=j+24;Kd(k,323,j);b:{c:{d:{e:{f:{g:{h:{switch(x[a+28>>1]-1|0){case 0:case 4:f=x[a+30>>1];if(f>>>0>8){break d}h=1<>1];if(f>>>0>8){break d}h=1<>1];if(f>>>0>8){break d}h=1<>1];if(f>>>0>7){break d}g=1<>2]+c|0)|0;f=d-1|0;break b}g=0}r=c-v[j+28>>2]|0;z=1;f=0}u=1;i:{if(!d){break i}if(c){p=e+m|0;q=e+p|0;s=n?e+q|0:0;h=0;while(1){e=v[j+24>>2];i=v[a+76>>2];e=e-((i+h>>>0)%(e>>>0)|0)|0;o=e+h>>>0>d>>>0?d-h|0:e;w=(B(c,f)<<2)+b|0;e=0;while(1){j:{k:{l:{if(A=(fr(k,m,v[a+80>>2]+e|0,i+h|0,0)|0)<=-1,C=0,D=v[a+4>>2],D?A:C){break l}if(A=(fr(k,p,v[a+80>>2]+e|0,v[a+76>>2]+h|0,1)|0)<=-1,C=0,D=v[a+4>>2],D?A:C){break l}if(A=(fr(k,q,v[a+80>>2]+e|0,v[a+76>>2]+h|0,2)|0)<=-1,C=0,D=v[a+4>>2],D?A:C){break l}if(!n){break k}if((fr(k,s,v[a+80>>2]+e|0,v[a+76>>2]+h|0,3)|0)>-1|!v[a+4>>2]){break k}}u=0;break j}i=v[a+76>>2];l=v[j+24>>2];i=B(Ll(k),(i+h>>>0)%(l>>>0)|0);l=v[j+28>>2];m:{if(l+e>>>0<=c>>>0){Ub[t|0](a,(e<<2)+w|0,e,f,l,o,0,r,i+m|0,i+p|0,i+q|0,n?i+s|0:0);break m}y=c-e|0;l=l-y|0;Ub[t|0](a,(e<<2)+w|0,e,f,y,o,l,l+r|0,i+m|0,i+p|0,i+q|0,n?i+s|0:0)}e=v[j+28>>2]+e|0;if(e>>>0>=c>>>0){break j}i=v[a+76>>2];continue}break}f=(z?o:0-o|0)+f|0;h=h+o|0;if(h>>>0>>0){continue}break}}if(!(g&2)){break i}i=0;while(1){a=(B(c,i)<<2)+b|0;e=(a+(c<<2)|0)-4|0;if(a>>>0>>0){while(1){g=v[a>>2];v[a>>2]=v[e>>2];v[e>>2]=g;a=a+4|0;e=e-4|0;if(a>>>0>>0){continue}break}}i=i+1|0;if((i|0)!=(d|0)){continue}break}}dc(m)}Qb=j+32|0;return u|0}function QN(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;i=Qb-32|0;Qb=i;d=v[a+12>>2];a:{b:{if(d&131072){break b}f=v[v[a+188>>2]+(b<<2)>>2];if(!f){d=v[a>>2];a=v[a+628>>2];v[i+4>>2]=b;v[i>>2]=0;zc(a,d,26512,i);c=0;break a}if(!(!(d&2048)|!((x[a+94>>1]|256)&d))){c:{if(!(d&512)){break c}c=v[a+596>>2];if(!c){break c}dc(c);d=v[a+12>>2]}d=d&-513;v[a+12>>2]=d;d:{c=v[a+616>>2];if(c>>>0>=f>>>0){g=v[a+184>>2]+(b<<2)|0;if(y[g>>2]<=c-f>>>0){break d}}v[a+504>>2]=-1;c=0;break a}v[a+600>>2]=f;v[a+596>>2]=v[a+612>>2]+v[g>>2];break b}if(f>>>0>y[a+600>>2]){v[a+504>>2]=-1;if(!(d&512)){d=v[a+628>>2];a=v[a>>2];v[i+20>>2]=b;v[i+16>>2]=a;zc(d,77138,28710,i+16|0);c=0;break a}c=0;if(!VN(a,f>>>0<4294966272?f+1023&-1024:0)){break a}}g=v[a+596>>2];d=f;c=Qb-80|0;Qb=c;e:{e=v[a+12>>2];if(!(e&131072)){f:{if(!(e&2048)){e=b<<2;if((Ub[v[a+640>>2]](v[a+628>>2],v[e+v[a+184>>2]>>2],0)|0)!=v[e+v[a+184>>2]>>2]){d=v[a+628>>2];g=v[a>>2];e=v[a+472>>2];h=v[a+500>>2];v[c+44>>2]=b;v[c+40>>2]=h;v[c+36>>2]=e;v[c+32>>2]=g;zc(d,77138,44862,c+32|0);d=-1;break f}g=Ub[v[a+632>>2]](v[a+628>>2],g,d)|0;if((g|0)==(d|0)){break f}e=v[a+628>>2];h=v[a>>2];j=v[a+472>>2];k=v[a+500>>2];v[c+16>>2]=d;v[c+12>>2]=g;v[c+8>>2]=k;v[c+4>>2]=j;v[c>>2]=h;zc(e,77138,45135,c);d=-1;break f}h=v[a+616>>2];e=v[v[a+184>>2]+(b<<2)>>2];if(h>>>0>>0){g=v[a+628>>2];j=v[a>>2];k=v[a+472>>2];l=v[a+500>>2];v[c+68>>2]=d;v[c- -64>>2]=h-e;v[c+60>>2]=b;v[c+56>>2]=l;v[c+52>>2]=k;v[c+48>>2]=j;zc(g,77138,45819,c+48|0);d=-1;break f}oe(g,e+v[a+612>>2]|0,d)}Qb=c+80|0;break e}X(30408,31925,415,77266);L()}c=0;if((d|0)!=(f|0)){break a}d=v[a+12>>2];if(d&(x[a+94>>1]|256)){break b}tC(v[a+596>>2],f);d=v[a+12>>2]}if(!(d&32)){c=0;if(!(Ub[v[a+516>>2]](a)|0)){break a}d=v[a+12>>2]|32;v[a+12>>2]=d}v[a+504>>2]=b;g=a;e=v[a+72>>2];h=e;j=b;c=v[a+56>>2];f=v[a+68>>2];if(c>>>0<0-f>>>0){c=((c+f|0)-1>>>0)/(f>>>0)|0}else{c=m}v[g+472>>2]=B(h,(j>>>0)%(c>>>0)|0);c=a;g=b;h=v[a+60>>2];if(h>>>0<0-e>>>0){e=((e+h|0)-1>>>0)/(e>>>0)|0}else{e=0}v[c+500>>2]=B((g>>>0)%(e>>>0)|0,f);f=0;c=0;if(!(d&131072)){c=v[v[a+188>>2]+(b<<2)>>2];f=v[a+596>>2]}v[a+608>>2]=c;v[a+604>>2]=f;c=Ub[v[a+520>>2]](a,(b>>>0)/y[a+176>>2]&65535)|0}Qb=i+32|0;return c}function fPa(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,x,y,z,A,B,C){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;m=m|0;n=n|0;o=o|0;p=p|0;q=q|0;r=r|0;s=s|0;x=x|0;y=y|0;z=z|0;A=A|0;B=B|0;C=C|0;var D=0,E=0,F=0,G=0,H=0;v[a+28>>2]=0;v[a+32>>2]=0;v[a+112>>2]=0;v[a+116>>2]=0;v[a>>2]=0;v[a+4>>2]=0;v[a+36>>2]=0;v[a+120>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;E=a+28|0;F=a+12|0;a:{b:{c:{d:{if((a|0)==(b|0)){break d}if(t[b+11|0]>=0){D=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=D;v[a+8>>2]=v[b+8>>2];break d}D=v[b+4>>2];b=v[b>>2];v[299999]=0;Y(2544,a|0,b|0,D|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break c}}e:{if((d|0)==(F|0)){break e}D=w[d+11|0];b=D<<24>>24;f:{if(t[a+23|0]>=0){if((b|0)<0){break f}b=v[d+4>>2];v[F>>2]=v[d>>2];v[F+4>>2]=b;v[F+8>>2]=v[d+8>>2];break e}G=v[d>>2];H=v[d+4>>2];v[299999]=0;b=(b|0)<0;Y(2545,F|0,(b?G:d)|0,(b?H:D)|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break c}break e}b=v[d+4>>2];d=v[d>>2];v[299999]=0;Y(2544,F|0,d|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break c}}g:{if((c|0)==(E|0)){break g}d=w[c+11|0];b=d<<24>>24;if(t[a+39|0]>=0){if((b|0)>=0){b=v[c+4>>2];v[E>>2]=v[c>>2];v[E+4>>2]=b;v[E+8>>2]=v[c+8>>2];break g}b=v[c+4>>2];c=v[c>>2];v[299999]=0;Y(2544,E|0,c|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break g}break c}D=v[c>>2];G=v[c+4>>2];v[299999]=0;b=(b|0)<0;Y(2545,E|0,(b?D:c)|0,(b?G:d)|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break c}}v[a+48>>2]=h;v[a+44>>2]=g;v[a+40>>2]=f;v[a+24>>2]=e;if(!i){break b}b=w[i+4|0]|w[i+5|0]<<8|(w[i+6|0]<<16|w[i+7|0]<<24);c=w[i|0]|w[i+1|0]<<8|(w[i+2|0]<<16|w[i+3|0]<<24);t[a+52|0]=c;t[a+53|0]=c>>>8;t[a+54|0]=c>>>16;t[a+55|0]=c>>>24;t[a+56|0]=b;t[a+57|0]=b>>>8;t[a+58|0]=b>>>16;t[a+59|0]=b>>>24;b=w[i+8|0]|w[i+9|0]<<8;t[a+60|0]=b;t[a+61|0]=b>>>8;break a}b=P()|0;O()|0;Qg(a+112|0);if(t[a+39|0]<=-1){dc(v[E>>2])}if(t[a+23|0]<=-1){dc(v[F>>2])}if(t[a+11|0]<=-1){dc(v[a>>2])}T(b|0);L()}v[a+52>>2]=0;v[a+56>>2]=0;u[a+60>>1]=0}u[a+110>>1]=C;u[a+108>>1]=B;u[a+106>>1]=A;u[a+104>>1]=z;u[a+102>>1]=y;u[a+100>>1]=x;v[a+96>>2]=s;u[a+92>>1]=r;u[a+90>>1]=q;u[a+88>>1]=p;v[a+84>>2]=o;v[a+80>>2]=n;v[a+76>>2]=m;v[a+72>>2]=l;v[a+68>>2]=k;v[a+64>>2]=j;return a|0}function YH(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!a){return 35}f=v[a+96>>2];if(!f){return 6}i=v[f+8>>2];a:{b:{j=v[f+12>>2];d=v[j+44>>2];c:{if((d|0)<=0){h=6;g=i;if(!d){break c}break b}e=Ub[v[i+4>>2]](i,d)|0;if(!e){h=64;break b}ic(e,0,d);f=v[a+96>>2];g=v[f+8>>2];j=v[f+12>>2]}v[e+4>>2]=a;v[e>>2]=v[f+4>>2];h=64;d:{d=Ub[v[g+4>>2]](g,44)|0;e:{if(!d){break e}c=d;t[c|0]=0;t[c+1|0]=0;t[c+2|0]=0;t[c+3|0]=0;t[c+4|0]=0;t[c+5|0]=0;t[c+6|0]=0;t[c+7|0]=0;t[c+40|0]=0;t[c+41|0]=0;t[c+42|0]=0;t[c+43|0]=0;t[c+32|0]=0;t[c+33|0]=0;t[c+34|0]=0;t[c+35|0]=0;t[c+36|0]=0;t[c+37|0]=0;t[c+38|0]=0;t[c+39|0]=0;t[c+24|0]=0;t[c+25|0]=0;t[c+26|0]=0;t[c+27|0]=0;t[c+28|0]=0;t[c+29|0]=0;t[c+30|0]=0;t[c+31|0]=0;t[c+16|0]=0;t[c+17|0]=0;t[c+18|0]=0;t[c+19|0]=0;t[c+20|0]=0;t[c+21|0]=0;t[c+22|0]=0;t[c+23|0]=0;t[c+8|0]=0;t[c+9|0]=0;t[c+10|0]=0;t[c+11|0]=0;t[c+12|0]=0;t[c+13|0]=0;t[c+14|0]=0;t[c+15|0]=0;v[e+156>>2]=c;if(!(w[v[f>>2]+1|0]&2)){c=Ub[v[g+4>>2]](g,96)|0;if(!c){break e}ic(c+4|0,0,92);v[c>>2]=g;v[d>>2]=c}d=v[j+64>>2];if(!d){break d}h=Ub[d|0](e)|0;if(!h){break d}}c=v[v[e+4>>2]+96>>2];g=v[c+8>>2];a=v[v[c+12>>2]+68>>2];if(a){Ub[a|0](e)}f=v[e+156>>2];f:{if(!f){v[e+88>>2]=0;break f}b=v[f+4>>2];g:{if(b&1){d=v[e+88>>2];if(d){a=v[v[e+4>>2]+100>>2];Ub[v[a+8>>2]](a,d);f=v[e+156>>2];b=v[f+4>>2]}v[e+88>>2]=0;v[f+4>>2]=b&-2;break g}v[e+88>>2]=0}if(!(w[v[c>>2]+1|0]&2)){c=v[f>>2];if(c){d=v[c>>2];a=v[c+24>>2];if(a){Ub[v[d+8>>2]](d,a)}v[c+24>>2]=0;a=v[c+28>>2];if(a){Ub[v[d+8>>2]](d,a)}v[c+28>>2]=0;a=v[c+32>>2];if(a){Ub[v[d+8>>2]](d,a)}v[c+32>>2]=0;a=v[c+40>>2];if(a){Ub[v[d+8>>2]](d,a)}v[c+40>>2]=0;a=v[c+52>>2];if(a){Ub[v[d+8>>2]](d,a)}v[c+20>>2]=0;v[c+36>>2]=0;v[c+44>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+12>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;v[c+88>>2]=0;a=v[c+24>>2];v[c+56>>2]=v[c+20>>2];v[c+60>>2]=a;a=v[c+32>>2];b=c- -64|0;v[b>>2]=v[c+28>>2];v[b+4>>2]=a;a=v[c+40>>2];v[c+72>>2]=v[c+36>>2];v[c+76>>2]=a;a=v[c+48>>2];v[c+80>>2]=v[c+44>>2];v[c+84>>2]=a;Ub[v[d+8>>2]](d,c);f=v[e+156>>2]}v[f>>2]=0}Ub[v[g+8>>2]](g,f);v[e+156>>2]=0}Ub[v[i+8>>2]](i,e);return h}v[e+8>>2]=v[a+84>>2];v[a+84>>2]=e;h=0;if(!b){break a}v[b>>2]=e;break a}if(!b){break a}v[b>>2]=0;return h}return h}function AH(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;l=v[a+88>>2];v[c>>2]=0;a:{b:{if(w[a+848|0]){g=v[a+844>>2];f=v[a+828>>2];break b}v[a+828>>2]=0;v[a+832>>2]=0;v[a+836>>2]=0;v[a+840>>2]=0;v[a+844>>2]=0;v[a+848>>2]=0;j=8;d=x[a+152>>1];if(!d){break a}f=v[a+156>>2];d=f+(d<<4)|0;m=v[a+104>>2];while(1){c:{if(v[f>>2]==1111770656){e=v[f+12>>2];if(e){break c}}f=f+16|0;if(d>>>0>f>>>0){continue}break a}break}if(Yc(m,v[f+8>>2])|e>>>0<8){break a}k=a+828|0;if(Xh(m,e,k)){break a}f=v[a+828>>2];v[a+832>>2]=e+f;d:{e:{if((w[f+1|0]|w[f|0]<<8)!=1){break e}d=w[f+4|0]|w[f+5|0]<<8|(w[f+6|0]<<16|w[f+7|0]<<24);h=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(h>>>0<8){break e}d=w[f+3|0];g=d|w[f+2|0]<<8;if(e>>>0>>0|g>>>0>h-8>>>2>>>0){break e}v[a+840>>2]=e-h;n=f+h|0;v[a+836>>2]=n;v[a+844>>2]=g;e=f+8|0;j=e+(g<<2)|0;f:{if(!g){break f}o=g-1|0;i=d&3;g:{if(!i){d=g;break g}d=g;h=e;while(1){d=d-1|0;j=B(w[h+3|0]|w[h+2|0]<<8,10)+j|0;e=h+4|0;h=e;i=i-1|0;if(i){continue}break}}if(o>>>0<3){break f}while(1){j=(((B(w[e+3|0]|w[e+2|0]<<8,10)+j|0)+B(w[e+7|0]|w[e+6|0]<<8,10)|0)+B(w[e+11|0]|w[e+10|0]<<8,10)|0)+B(w[e+15|0]|w[e+14|0]<<8,10)|0;e=e+16|0;d=d-4|0;if(d){continue}break}}if(j>>>0<=n>>>0){break d}}nf(m,k);v[k+16>>2]=0;v[k+20>>2]=0;v[k+8>>2]=0;v[k+12>>2]=0;v[k>>2]=0;v[k+4>>2]=0;return 8}t[a+848|0]=1}j=6;if(!l|!b){break a}n=Bc(b);if(!n|!g){break a}f=f+8|0;e=f+(g<<2)|0;d=x[l+14>>1];while(1){h=w[f+3|0]|w[f+2|0]<<8;if((d|0)==(w[f+1|0]|w[f|0]<<8)){if(!h){break a}while(1){h:{o=w[e+5|0];if(!(o&16)){break h}i=v[a+840>>2];d=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(i>>>0<=d>>>0){break h}g=i-d|0;if(g>>>0<=n>>>0){break h}l=w[e+6|0]|w[e+7|0]<<8|(w[e+8|0]<<16|w[e+9|0]<<24);m=d;d=v[a+836>>2];if(Oc(b,m+d|0,g)){break h}g=l<<8&16711680|l<<24|(l>>>8&65280|l>>>24);i:{switch(o&15){case 0:case 1:if(g>>>0>=i>>>0){break h}d=d+g|0;if(!fi(d,0,i)){break h}v[c+4>>2]=d;v[c>>2]=1;return 0;case 2:v[c+4>>2]=g;v[c>>2]=2;return 0;case 3:break i;default:break h}}v[c+4>>2]=g;v[c>>2]=3;return 0}e=e+10|0;h=h-1|0;if(h){continue}break}break a}f=f+4|0;e=B(h,10)+e|0;g=g-1|0;if(g){continue}break}}return j|0}function B4a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;j=Qb-80|0;Qb=j;e=Fv(b,c);a:{if(e){break a}e=v[b+2740>>2];if(!(e&1)){e=u$(b,v[d+52>>2],d+56|0,0);if(e){break a}e=v[b+2740>>2]}b:{if(e&2){break b}e=u$(b,v[d+9856>>2],d+9860|0,1);if(e){break a}if(w[(v[v[d+36>>2]+8>>2]+(a<<1)|0)+1|0]&64){break b}a=v[b+1404>>2];if((a|0)<1){break b}i=v[b+1412>>2];q=i+B(a,44)|0;o=v[d+9848>>2];while(1){a=Ac(y[d+40>>2]/40|0,o);c:{if(!v[d+10064>>2]){break c}e=(a|0)<32?a:32;a=0;g=0;m=0;while(1){h=B(a,36)+d|0;f=v[h+10100>>2];d:{if(!(f&1)){break d}k=f>>>3&1;n=(f&6)!=0;if(!(k|n^v[b+1416>>2]==t[i+13|0])){break d}p=h+10068|0;l=u[i>>1]-v[p>>2]|0;f=l>>31;l=Ac(f^f+l,o);f=(l|0)<(e|0);e=f?l:e;g=f?p:g;m=f?k:m;if(k|(!(t[i+12|0]&1)|!l)){break d}f=u[i>>1];if(((f|0)>2]|0)==(n|0)){break d}n=f;f=h+10080|0;k=n-v[f>>2]|0;h=k>>31;h=Ac(h^h+k,o);if((h|0)>=(e|0)){break d}m=0;e=h;g=f}a=a+1|0;if(a>>>0>2]){continue}break}if(!g){break c}v[i+20>>2]=g;if(!(m&255)){break c}t[i+12|0]=w[i+12|0]|8}i=i+44|0;if(q>>>0>i>>>0){continue}break}}a=v[b+2740>>2];e:{if(!(v[d+24>>2]|a&8)){x$(j+16|0,b,j+12|0,j+8|0);d=v[b+24>>2];if((d|0)<1){break e}a=v[b+28>>2];d=a+B(d,40)|0;e=v[j+8>>2];g=v[j+12>>2];while(1){r=a,s=Ac(u[a+12>>1],g)+e|0,v[r+16>>2]=s;a=a+40|0;if(d>>>0>a>>>0){continue}break}break e}if(a&1){break e}t$(b,0);a=v[b+44>>2];if((a|0)>=1){e=v[b+52>>2];g=e+B(a,44)|0;while(1){a=v[e+12>>2];if(a){d=e+36|0;f=v[a+8>>2];h=v[e+40>>2];while(1){a=v[d>>2];v[a+16>>2]=f;u[a>>1]=x[a>>1]|4;d=a+32|0;if((a|0)!=(h|0)){continue}break}}e=e+44|0;if(g>>>0>e>>>0){continue}break}}iI(b,0);hI(b,0)}if(!(w[b+2740|0]&2)){t$(b,1);a=v[b+1392>>2];if((a|0)>=1){e=v[b+1400>>2];g=e+B(a,44)|0;while(1){a=v[e+12>>2];if(a){d=e+36|0;f=v[a+8>>2];h=v[e+40>>2];while(1){a=v[d>>2];v[a+20>>2]=f;u[a>>1]=x[a>>1]|8;d=a+32|0;if((a|0)!=(h|0)){continue}break}}e=e+44|0;if(g>>>0>e>>>0){continue}break}}iI(b,1);hI(b,1)}e=0;d=v[b+24>>2];if((d|0)<=0){break a}a=v[b+28>>2];b=a+B(d,40)|0;d=v[c+4>>2];g=v[c+8>>2];while(1){v[d>>2]=v[a+16>>2];v[d+4>>2]=v[a+20>>2];c=x[a>>1];t[g|0]=c&1?0:c&2?2:1;g=g+1|0;d=d+8|0;a=a+40|0;if(b>>>0>a>>>0){continue}break}}Qb=j+80|0;return e|0}function WUa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=v[a+464>>2];if(v[a+280>>2]){c=v[e+52>>2];if(!c){if(!(Ub[v[v[a+460>>2]+8>>2]](a)|0)){c=v[a>>2];v[c+20>>2]=25;Ub[v[c>>2]](a)}if(v[a+336>>2]>=1){while(1){g=f<<2;d=v[(g+a|0)+340>>2];a:{b:{if(v[a+224>>2]){if(v[a+408>>2]){break b}if(v[a+416>>2]){break a}}c=v[((v[d+20>>2]<<2)+e|0)+56>>2];t[c|0]=0;t[c+1|0]=0;t[c+2|0]=0;t[c+3|0]=0;t[c+4|0]=0;t[c+5|0]=0;t[c+6|0]=0;t[c+7|0]=0;t[c+56|0]=0;t[c+57|0]=0;t[c+58|0]=0;t[c+59|0]=0;t[c+60|0]=0;t[c+61|0]=0;t[c+62|0]=0;t[c+63|0]=0;t[c+48|0]=0;t[c+49|0]=0;t[c+50|0]=0;t[c+51|0]=0;t[c+52|0]=0;t[c+53|0]=0;t[c+54|0]=0;t[c+55|0]=0;t[c+40|0]=0;t[c+41|0]=0;t[c+42|0]=0;t[c+43|0]=0;t[c+44|0]=0;t[c+45|0]=0;t[c+46|0]=0;t[c+47|0]=0;t[c+32|0]=0;t[c+33|0]=0;t[c+34|0]=0;t[c+35|0]=0;t[c+36|0]=0;t[c+37|0]=0;t[c+38|0]=0;t[c+39|0]=0;t[c+24|0]=0;t[c+25|0]=0;t[c+26|0]=0;t[c+27|0]=0;t[c+28|0]=0;t[c+29|0]=0;t[c+30|0]=0;t[c+31|0]=0;t[c+16|0]=0;t[c+17|0]=0;t[c+18|0]=0;t[c+19|0]=0;t[c+20|0]=0;t[c+21|0]=0;t[c+22|0]=0;t[c+23|0]=0;t[c+8|0]=0;t[c+9|0]=0;t[c+10|0]=0;t[c+11|0]=0;t[c+12|0]=0;t[c+13|0]=0;t[c+14|0]=0;t[c+15|0]=0;c=e+g|0;v[c+36>>2]=0;v[c+20>>2]=0;if(!v[a+224>>2]){if(v[a+432>>2]){break b}break a}if(!v[a+408>>2]){break a}}ic(v[((v[d+24>>2]<<2)+e|0)+120>>2],0,256)}f=f+1|0;if((f|0)>2]){continue}break}}v[e+16>>2]=-16;v[e+8>>2]=0;v[e+12>>2]=0;c=v[a+280>>2];v[e+52>>2]=c}v[e+52>>2]=c-1}c:{if(v[e+16>>2]==-1){break c}g=v[b>>2];i=v[a+428>>2];c=v[a+412>>2];b=c;d:{if((c|0)<1){break d}b=c;while(1){if(x[g+(v[(b<<2)+i>>2]<<1)>>1]){break d}d=(b|0)>1;b=b-1|0;if(d){continue}break}b=0}d=v[a+408>>2];if((c|0)<(d|0)){break c}c=v[a+420>>2];j=-1<>2]+24>>2]<<2)+e|0;while(1){f=(v[m+120>>2]+B(d,3)|0)-3|0;if((b|0)<(d|0)){if(rf(a,f)){break c}}c=d;e:{f:{g:{while(1){h=g+(v[(c<<2)+i>>2]<<1)|0;if(x[h>>1]){if(!rf(a,f+2|0)){break e}d=u[h>>1];if((d|0)>-1){break g}d=d+j|0;break f}if(rf(a,f+1|0)){d=rf(a,l)?j:k;break f}f=f+3|0;d=v[a+412>>2]>(c|0);c=c+1|0;if(d){continue}break}b=v[a>>2];v[b+20>>2]=117;Ub[v[b+4>>2]](a,-1);v[e+16>>2]=-1;return 1}d=d+k|0}u[h>>1]=d}d=c+1|0;if(v[a+412>>2]>(c|0)){continue}break}}return 1}function pq(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=Qb-16|0;Qb=e;v[e+8>>2]=0;a:{b:{c:{f=v[a+8>>2];d:{if(y[a+4>>2]<=f+3>>>0){break d}e:{f:{d=v[a+20>>2];if(d){if((Ub[d|0](a,f,e+12|0,4)|0)!=4){break d}f=v[a+8>>2];d=v[e+8>>2];i=e+12|0;break f}d=v[a>>2];if(d){i=d+f|0;d=0;break f}g=f+4|0;v[a+8>>2]=g;h=0;break e}h=w[i|0]|w[i+1|0]<<8|(w[i+2|0]<<16|w[i+3|0]<<24);g=f+4|0;v[a+8>>2]=g;if(d){break a}h=h<<8&16711680|h<<24|(h>>>8&65280|h>>>24)}d=2;if((b|0)!=(h|0)){break a}v[e+8>>2]=0;if(y[a+4>>2]<=f+7>>>0){break d}b=v[a+20>>2];g:{if(!b){v[a+8>>2]=g+4;break g}if((Ub[b|0](a,g,e+12|0,4)|0)!=4){break d}d=v[e+8>>2];g=v[a+8>>2];v[a+8>>2]=g+4;if(d){break a}}f=g+20|0;b=v[a+20>>2];h:{if(b){d=85;if(Ub[b|0](a,f,0,0)|0){break a}b=v[a+4>>2];break h}d=85;b=v[a+4>>2];if(f>>>0>b>>>0){break a}}v[a+8>>2]=f;v[e+8>>2]=0;if(g+21>>>0>=b>>>0){break d}b=v[a+20>>2];i:{if(b){if((Ub[b|0](a,f,e+12|0,2)|0)!=2){break d}f=v[a+8>>2];d=v[e+8>>2];b=e+12|0;break i}b=v[a>>2];if(!b){break c}d=0;b=b+f|0}h=w[b|0]|w[b+1|0]<<8;b=f+2|0;v[a+8>>2]=b;if(d){break a}d=2;j=(h<<8|h>>>8)&65535;if(!j){break a}i=0;v[e+8>>2]=0;if(y[a+4>>2]<=f+5>>>0){break d}while(1){j:{k:{l:{m:{n:{o:{d=v[a+20>>2];p:{if(d){if((Ub[d|0](a,b,e+12|0,4)|0)!=4){break d}b=v[a+8>>2];f=e+12|0;d=v[e+8>>2];break p}d=v[a>>2];if(!d){break o}f=b+d|0;d=0}k=w[f+3|0];l=w[f+2|0];m=w[f+1|0];h=w[f|0];g=b+4|0;v[a+8>>2]=g;if(d){break a}if((m<<16|h<<24|l<<8|k)==2){v[e+8>>2]=0;q:{if(y[a+4>>2]<=b+7>>>0){break q}d=v[a+20>>2];if(d){if((Ub[d|0](a,g,e+12|0,4)|0)!=4){break q}g=v[a+8>>2];f=v[e+8>>2];d=e+12|0;break l}d=v[a>>2];if(d){d=d+g|0;f=0;break l}v[a+8>>2]=b+8;b=0;break k}v[e+8>>2]=85;break j}d=b+12|0;b=v[a+20>>2];if(!b){break n}if(!(Ub[b|0](a,d,0,0)|0)){break m}d=85;break a}v[a+8>>2]=b+4;d=b+12|0}if(y[a+4>>2]>=d>>>0){break m}d=85;break a}v[a+8>>2]=d;v[e+8>>2]=0;break j}b=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);v[a+8>>2]=g+4;if(f){break j}b=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24)}kf(a,e+8|0);if(v[e+8>>2]){break j}v[c>>2]=b;d=0;break a}i=i+1|0;if((j|0)==(i|0)){break b}b=v[a+8>>2];v[e+8>>2]=0;if(y[a+4>>2]>b+3>>>0){continue}break}}d=85;v[e+8>>2]=85;break a}v[a+8>>2]=g+22}d=2}Qb=e+16|0;return d}function ss(a,b,c){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,p=0,q=0,r=0,s=0,t=0,u=0;n=a+24|0;a:{b:{c:{d:{e:{if(v[a+200>>2]){d=v[a+176>>2];if(d>>>0>=y[a+180>>2]){break e}v[a+176>>2]=d+1;d=v[v[a+192>>2]+(d>>>4&268435452)>>2]+((d&63)<<4)|0;A[b>>3]=A[d>>3];A[c>>3]=A[d+8>>3];break d}e=2;if(ls(n,b,c)){break a}}o=a+208|0;f:{if(v[a+424>>2]){d=v[a+400>>2];if(d>>>0>=y[a+404>>2]){break f}v[a+400>>2]=d+1;d=v[v[a+416>>2]+(d>>>4&268435452)>>2]+((d&63)<<4)|0;A[b>>3]=A[d>>3];A[c>>3]=A[d+8>>3];break d}e=2;if(dn(o,b,c)){break a}}e=0;f=v[a>>2];g=v[f+20>>2];p=v[f>>2];if(g>>>0>=p>>>0){break a}d=g+1|0;v[f+20>>2]=d;q=v[f+12>>2];r=g>>>6&67108860;s=g&255;e=v[q+r>>2]+(s<<4)|0;A[b>>3]=A[e>>3];h=A[e+8>>3];A[c>>3]=h;g:{h:{e=w[v[v[f+16>>2]+r>>2]+s|0];switch(e-3|0){case 0:break h;case 1:break g;default:break a}}if(d>>>0

>>0){v[f+20>>2]=g+2;d=v[(d>>>6&67108860)+q>>2]+(d<<4&4080)|0;i=A[d+8>>3];j=A[d>>3]}k=A[b>>3];l=A[a+16>>3];m=A[a+8>>3];i:{if(!v[a+200>>2]){QW(n,m,l,k,h,j,i);break i}PW(a+152|0,m,l,k,h,j,i)}if(v[a+200>>2]){d=v[a+176>>2];if(d>>>0>=y[a+180>>2]){break b}v[a+176>>2]=d+1;d=v[v[a+192>>2]+(d>>>4&268435452)>>2]+((d&63)<<4)|0;A[b>>3]=A[d>>3];A[c>>3]=A[d+8>>3];break b}ls(n,b,c);if(v[a+200>>2]){break b}ls(n,b,c);break d}j:{if(d>>>0>=p>>>0){e=d;break j}e=g+2|0;v[f+20>>2]=e;d=v[(d>>>6&67108860)+q>>2]+(d<<4&4080)|0;t=A[d+8>>3];u=A[d>>3]}if(e>>>0

>>0){v[f+20>>2]=e+1;d=v[(e>>>6&67108860)+q>>2]+(e<<4&4080)|0;i=A[d+8>>3];j=A[d>>3]}k=A[b>>3];l=A[a+16>>3];m=A[a+8>>3];k:{if(!v[a+424>>2]){wz(o,m,l,k,h,u,t,j,i);break k}NG(a+368|0,m,l,k,h,u,t,j,i)}if(v[a+424>>2]){d=v[a+400>>2];if(d>>>0>=y[a+404>>2]){break c}v[a+400>>2]=d+1;d=v[v[a+416>>2]+(d>>>4&268435452)>>2]+((d&63)<<4)|0;A[b>>3]=A[d>>3];A[c>>3]=A[d+8>>3];break c}dn(o,b,c);if(v[a+424>>2]){break c}dn(o,b,c)}e=2;break a}e=2;d=v[a+400>>2];if(d>>>0>=y[a+404>>2]){break a}v[a+400>>2]=d+1;d=v[v[a+416>>2]+(d>>>4&268435452)>>2]+((d&63)<<4)|0;A[b>>3]=A[d>>3];A[c>>3]=A[d+8>>3];break a}e=2;d=v[a+176>>2];if(d>>>0>=y[a+180>>2]){break a}v[a+176>>2]=d+1;d=v[v[a+192>>2]+(d>>>4&268435452)>>2]+((d&63)<<4)|0;A[b>>3]=A[d>>3];A[c>>3]=A[d+8>>3]}A[a+8>>3]=A[b>>3];A[a+16>>3]=A[c>>3];return e}function jna(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;e=Qb-48|0;Qb=e;a:{b:{c:{d:{b=v[a+140>>2];if((b|0)<=-1){b=e+40|0;Pl(b,v[a+108>>2]);v[e+32>>2]=0;v[e+36>>2]=v[282402];v[299999]=0;V(4503,e+24|0,b|0);b=v[299999];v[299999]=0;e:{f:{g:{h:{i:{j:{k:{if((b|0)!=1){v[299999]=0;f=v[e+24>>2];b=Z(4504,f|0,e+32|0,0,0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break k}if(b){break g}v[299999]=0;b=aa(4369,e|0,v[282394],242011,2058,342022,0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break j}v[299999]=0;R(4370,b|0);c=v[299999];v[299999]=0;if((c|0)==1){break i}L()}d=P()|0;O()|0;break b}d=P()|0;O()|0;break c}d=W(989228)|0;c=O()|0;break h}d=W(989228)|0;c=O()|0;qc(b)}if((ja(989228)|0)!=(c|0)){break c}b=ea(d|0)|0;c=v[v[a>>2]+64>>2];v[299999]=0;U(c|0,a|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){v[299999]=0;ba(4230);b=v[299999];v[299999]=0;if((b|0)!=1){break g}d=P()|0;O()|0;break c}break f}b=0;l:{m:{while(1){n:{c=b;v[299999]=0;b=Z(4504,f|0,e+32|0,0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){b=c;break n}if(!b){break m}v[299999]=0;R(4781,f|0);d=v[299999];v[299999]=0;b=c+1|0;if((d|0)!=1){continue}}break}d=W(989228)|0;if((O()|0)!=(ja(989228)|0)){break c}d=ea(d|0)|0;f=b;b=v[a+132>>2];v[a+140>>2]=(b|0)>2?f:c;c=v[v[a>>2]+64>>2];v[299999]=0;U(c|0,a|0,d|0,(b|0)<2|0);b=v[299999];v[299999]=0;if((b|0)==1){break f}v[299999]=0;ba(4230);b=v[299999];v[299999]=0;if((b|0)==1){break l}break e}v[a+140>>2]=c;break e}d=P()|0;O()|0;break c}d=P()|0;O()|0;v[299999]=0;ba(4230);a=v[299999];v[299999]=0;if((a|0)!=1){break c}break a}b=v[a+108>>2];v[299999]=0;V(4494,b|0,1);b=v[299999];v[299999]=0;if((b|0)==1){break d}b=v[e+24>>2];v[e+24>>2]=0;o:{if(!b){break o}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break o}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}ec(e+32|0);b=v[e+40>>2];v[e+40>>2]=0;p:{if(!b){break p}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break p}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a+140>>2]}Qb=e+48|0;return b|0}d=P()|0;O()|0}ec(e+24|0)}ec(e+32|0);ec(e+40|0);T(d|0);L()}W(0)|0;O()|0;lc();L()}function cIa(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,h=0,i=0,j=0,k=0,l=0,m=0,n=0;g=Qb-96|0;Qb=g;j=v[v[a+4>>2]+28>>2];k=Ub[v[v[j>>2]+52>>2]](j)|0;j=km();h=v[v[a+4>>2]+28>>2];m=j,n=Ub[v[v[h>>2]+24>>2]](h)|0,l=v[v[j>>2]+24>>2],Ub[l](m|0,n|0);Ub[v[v[k>>2]+68>>2]](k,j);h=us();Ub[v[v[h>>2]+428>>2]](h,k);Ub[v[v[a>>2]+36>>2]](a,b,g+88|0,g+80|0,g+72|0,g- -64|0);j=g;if((e|0)>=1){i=+(e|0)}else{i=A[g+88>>3];a:{if(D(i)<2147483648){e=~~i;break a}e=-2147483648}i=+(B(e,72)|0)/25.4}b:{if(D(i)<2147483648){e=~~i;break b}e=-2147483648}v[j+60>>2]=e;j=g;if((f|0)>=1){i=+(f|0)}else{i=A[g+80>>3];c:{if(D(i)<2147483648){f=~~i;break c}f=-2147483648}i=+(B(f,72)|0)/25.4}d:{if(D(i)<2147483648){f=~~i;break d}f=-2147483648}v[j+56>>2]=f;e=B(e,f)<<2;f=ic(fc(e),255,e);e=g+8|0;v[e>>2]=0;v[e+4>>2]=0;t[e+40|0]=0;v[e+32>>2]=0;v[e+36>>2]=-1074790400;t[e+21|0]=0;t[e+22|0]=0;t[e+23|0]=0;t[e+24|0]=0;t[e+25|0]=0;t[e+26|0]=0;t[e+27|0]=0;t[e+28|0]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;v[299999]=0;v[e+16>>2]=f;f=v[299999];v[299999]=0;e:{if((f|0)==1){break e}v[299999]=0;v[e+4>>2]=v[g+60>>2];f=v[299999];v[299999]=0;if((f|0)==1){break e}v[299999]=0;v[e+8>>2]=v[g+56>>2];f=v[299999];v[299999]=0;if((f|0)==1){break e}v[299999]=0;v[g+4>>2]=0-(v[g+60>>2]<<2);v[e+12>>2]=v[g+4>>2];f=v[299999];v[299999]=0;if((f|0)==1){break e}f=v[v[h>>2]+456>>2];v[299999]=0;V(f|0,h|0,e|0);f=v[299999];v[299999]=0;if((f|0)==1){break e}f=v[v[h>>2]+448>>2];v[299999]=0;V(f|0,h|0,0);f=v[299999];v[299999]=0;if((f|0)==1){break e}A[g+88>>3]=A[g+88>>3]*(25.4/A[g+72>>3]);A[g+80>>3]=A[g+80>>3]*(25.4/A[g+64>>3]);f=v[v[h>>2]+36>>2];v[299999]=0;Q(f|0,h|0,g+88|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break e}f=v[v[h>>2]+28>>2];v[299999]=0;Q(f|0,h|0,g+80|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break e}t[g+4|0]=0;f=v[v[a>>2]+40>>2];v[299999]=0;$(f|0,a|0,h|0,b|0,g+4|0);a=v[299999];v[299999]=0;if((a|0)==1){break e}v[299999]=0;Y(3046,e|0,c|0,d|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break e}a=v[v[k>>2]+12>>2];v[299999]=0;S(a|0,k|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break e}Ub[v[v[h>>2]+4>>2]](h);Ze(e);Qb=g+96|0;return}a=P()|0;O()|0;Ze(e);T(a|0);L()}function k6a(a){a=a|0;var 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;c=Qb-96|0;Qb=c;a:{b:{b=v[a+160>>2];c:{if(v[a+180>>2]?1:b){b=b?b-1|0:0;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],v[a+26048>>2]+((b>>>0<3?b:3)<<2)|0,0)|0;d=v[a>>2];g=v[d+8>>2];b=v[a+4>>2];v[c+92>>2]=-1;Ub[v[d>>2]](b,c+92|0,1,4)|0;d=w[c+92|0];if(x[a+25204>>1]==18761){d=d|w[c+93|0]<<8|w[c+94|0]<<16|w[c+95|0]<<24}else{d=w[c+95|0]|(w[c+93|0]<<16|d<<24|w[c+94|0]<<8)}Ub[g|0](b,d,0)|0;G0(a);break c}dc(v[a+26352>>2]);b=x[a+26308>>1];u[a+26318>>1]=b;d=x[a+26310>>1];u[a+26320>>1]=d;b=bd(B(b,d),8);v[a+26352>>2]=b;if(!b){b=v[a+190640>>2];if(b){d=v[a+25208>>2];v[c+20>>2]=44206;v[c+16>>2]=d;zd(b,4338,c+16|0);break a}b=v[a+25208>>2];v[c+4>>2]=44206;v[c>>2]=b;wc(v[252391],4338,c);break a}d=bd(x[a+26306>>1],2);if(!d){break b}h=v[252391];while(1){Ub[v[v[a>>2]+8>>2]](v[a+4>>2],v[a+26048>>2]+(g<<2)|0,0)|0;f=v[a>>2];i=v[f+8>>2];b=v[a+4>>2];v[c+92>>2]=-1;Ub[v[f>>2]](b,c+92|0,1,4)|0;e=w[c+92|0];f=0;if(x[a+25204>>1]==18761){e=e|w[c+93|0]<<8|w[c+94|0]<<16|w[c+95|0]<<24}else{e=w[c+95|0]|(w[c+93|0]<<16|e<<24|w[c+94|0]<<8)}Ub[i|0](b,e,0)|0;if(x[a+26304>>1]){i=g&1;m=g>>>1&1;while(1){b=x[a+26306>>1];if((Ub[v[v[a>>2]>>2]](v[a+4>>2],d,2,b)|0)<(b|0)){d:{if(v[a+26160>>2]){break d}v[c+80>>2]=v[a+25208>>2];wc(h,8292,c+80|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,h);break d}e=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[c+64>>2]=e;v[c+68>>2]=e>>31;wc(h,14622,c- -64|0)}v[a+26160>>2]=1}if(x[a+25204>>1]!=18761){sp(d,d,b<<1)}j=f-(x[a+26312>>1]+m|0)|0;e:{if(j>>>0>=x[a+26308>>1]){break e}e=x[a+26306>>1];if(!e){break e}n=f<<1&14;b=0;while(1){k=b-(i+x[a+26314>>1]|0)|0;l=x[a+26310>>1];if(k>>>0>>0){u[(v[a+26352>>2]+(B(j,l)+k<<3)|0)+((v[a+26028>>2]>>>((b&1|n)<<1)&3)<<1)>>1]=x[d+(b<<1)>>1];e=x[a+26306>>1]}b=b+1|0;if(e>>>0>b>>>0){continue}break}}f=f+1|0;if(f>>>0>1]){continue}break}}g=g+1|0;if((g|0)!=4){continue}break}dc(d);u[a+26316>>1]=0;v[a+26028>>2]=0}Qb=c+96|0;return}b=v[a+190640>>2];f:{if(b){d=v[a+25208>>2];v[c+52>>2]=44206;v[c+48>>2]=d;zd(b,4338,c+48|0);break f}b=v[a+25208>>2];v[c+36>>2]=44206;v[c+32>>2]=b;wc(v[252391],4338,c+32|0)}}sd(a+190484|0,1);L()}function T$(a,b){var 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;i=Qb-32|0;Qb=i;a:{if(!b){break a}v[b>>2]=0;if(!a){break a}m=a?v[a+36>>2]:0;if(m){W$(m,b);if(!v[b>>2]){break a}d=Qb-32|0;Qb=d;b:{if(!a){break b}e=a?v[a+8>>2]:-1;v[d+20>>2]=e;if((e|0)>16){break b}f=d;c:{if(a?v[a+36>>2]:0){a=Vj(a,1);break c}if(a){v[a+16>>2]=v[a+16>>2]+1}}e=f;f=a;v[e+8>>2]=a;a=d+28|0;e=d+24|0;g=d+20|0;if(f){if(a){v[a>>2]=v[f>>2]}if(e){v[e>>2]=v[f+4>>2]}if(g){v[g>>2]=v[f+8>>2]}}e=1<>2];a=tm(e);v[d+12>>2]=a;if(!a){break b}d:{if(!a){break d}g=v[a>>2];if((g|0)<(e|0)){g=vj(a+20|0,g<<2,e<<2);v[a+20>>2]=g;if(!g){break d}v[a>>2]=e}v[a+4>>2]=e}if(a){e=v[a+20>>2]}else{e=0}e:{f:{if(v[d+20>>2]==1){Uj(f,d+16|0,0);c=v[d+24>>2];f=v[d+28>>2];g=v[d+16>>2];z[e+4>>2]=g|0;z[e>>2]=B(c,f)-g|0;break f}g=f?v[f+12>>2]:-1;f=f?v[f+40>>2]:0;n=v[d+24>>2];g:{if((n|0)<1){break g}k=v[d+28>>2];h:{switch(Gib(v[d+20>>2]-2|0,31)|0){case 0:if((k|0)<1){break g}while(1){l=(B(h,g)<<2)+f|0;c=0;while(1){j=e+((v[l+(c>>4<<2)>>2]>>>((c<<1^-1)&30)&3)<<2)|0;z[j>>2]=z[j>>2]+C(1);c=c+1|0;if((k|0)>(c|0)){continue}break}h=h+1|0;if((n|0)>(h|0)){continue}break};break g;case 1:if((k|0)<1){break g}while(1){l=(B(h,g)<<2)+f|0;c=0;while(1){j=e+((v[l+(c>>3<<2)>>2]>>>((c<<2^-1)&28)&15)<<2)|0;z[j>>2]=z[j>>2]+C(1);c=c+1|0;if((k|0)>(c|0)){continue}break}h=h+1|0;if((n|0)>(h|0)){continue}break};break g;case 3:if((k|0)<1){break g}while(1){l=(B(h,g)<<2)+f|0;c=0;while(1){j=e+(w[c+l^3]<<2)|0;z[j>>2]=z[j>>2]+C(1);c=c+1|0;if((k|0)>(c|0)){continue}break}h=h+1|0;if((n|0)>(h|0)){continue}break};break g;case 7:break h;default:break e}}if((k|0)<1){break g}while(1){l=(B(h,g)<<2)+f|0;c=0;while(1){j=e+(x[(l+(c<<1)^2)>>1]<<2)|0;z[j>>2]=z[j>>2]+C(1);c=c+1|0;if((k|0)>(c|0)){continue}break}h=h+1|0;if((n|0)>(h|0)){continue}break}}}dd(d+8|0);c=a;break b}Zh(d+12|0)}Qb=d+32|0;v[i+12>>2]=c;a=m?v[m+12>>2]:0;i:{if((a|0)<1){break i}while(1){Jo(m,o,i+28|0,i+24|0,i+20|0);aj(c,o,i+16|0);j:{d=v[i+28>>2];k:{if((d|0)==v[i+24>>2]){if((d|0)==v[i+20>>2]){break j}if(v[i+16>>2]){break k}break j}if(!v[i+16>>2]){break j}}v[b>>2]=1;break i}o=o+1|0;if((a|0)!=(o|0)){continue}break}}Zh(i+12|0)}}Qb=i+32|0}function TZ(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;if(!(w[a+16|0]&8)){e=B(c,204)+b|0;p=v[e+200>>2];g=v[e+204>>2]+Ac(v[a>>2],p)|0;f=Ac(v[a+4>>2],p);a:{b:{c:{d:{e:{switch(c|0){case 1:if(w[d+121|0]){break d}break b;case 0:if(!w[d+120|0]){break b}m=w[d+122|0]!=0;break;default:break e}}v[a+12>>2]=f;j=a+12|0;break c}q=w[d+123|0];v[a+12>>2]=f;r=v[a>>2];o=w[b+2492|0];m=2;e=v[b+412>>2];f:{g:{if(!e){break g}k=v[a+4>>2]+r|0;h=b+416|0;n=v[b+2488>>2];l=0-n|0;while(1){i=k-v[h+12>>2]|0;if((i|0)<(l|0)){break g}if((k|0)<=(n+v[h+8>>2]|0)){if(!o){e=0;if((i|0)>v[b+2484>>2]){break f}}s=v[h+16>>2];m=3;e=1;break f}h=h+32|0;e=e-1|0;if(e){continue}break}}e=0}j=v[b+928>>2];h:{if(!j){k=0;break h}k=0;n=v[b+2488>>2];l=0-n|0;h=((j<<5)+b|0)+932|0;while(1){i=v[h-24>>2]-r|0;if((l|0)>(i|0)){break h}if((v[h-20>>2]-n|0)>(r|0)){h=h-32|0;j=j-1|0;if(j){continue}break h}break}if(!o&v[b+2484>>2]<=(i|0)){break h}k=v[h-16>>2];e=m}j=a+12|0;m=(q|0)!=0;i:{switch(e-1|0){case 1:v[a+8>>2]=k;if(!q){break a}v[a+12>>2]=(f|0)<64?64:f+32&-64;break a;case 2:v[a+8>>2]=k;v[a+12>>2]=s-k;break a;case 0:break i;default:break c}}v[a+8>>2]=s-f;if(!q){break a}b=(f|0)<64?64:f+32&-64;v[a+12>>2]=b;v[a+8>>2]=s-b;break a}e=v[a+20>>2];if(e){if(!(w[e+16|0]&8)){TZ(e,b,c,d)}g=((v[e+8>>2]-(f>>1)|0)+(v[e+12>>2]>>1)|0)+Ac((v[a>>2]-(v[e>>2]+(v[e+4>>2]>>1)|0)|0)+(v[a+4>>2]>>1)|0,p)|0}v[a+12>>2]=f;o=a;e=f;j:{if(!w[d+124|0]){break j}if((f|0)<=64){if((f|0)>=32){g=(f>>>1|0)+g&-64;e=64;break j}b=g+32&-64;if((f|0)<1){g=b;e=f;break j}e=b-g|0;l=e>>31;c=f+g|0;d=c+32&-64;c=d-c|0;g=c>>31;g=(l^e+l)>>>0>(g^c+g)>>>0?d:b;e=f;break j}b=v[(B(c,204)+b|0)+12>>2];c=f-b|0;d=c>>31;if((d^c+d)>>>0<=39){f=b;e=54;if((f|0)<49){break j}}if((f|0)<=191){c=f&63;e=f;if(c>>>0<10){break j}b=f&-64;e=b|10;if(c>>>0<=31){break j}e=f;if(c>>>0>53){break j}e=b|54;break j}e=f+32&-64}b=e;v[o+12>>2]=b;i=(g+32&-64)-g|0;f=i>>31;c=b+g|0;d=(c+32&-64)-c|0;c=d>>31;c=((f^f+i)>>>0>(c^c+d)>>>0?d:i)+g|0;v[a+8>>2]=c;if(!m){break a}e=(b|0)<64?64:b+32&-64;v[j>>2]=e;d=e>>1;v[a+12>>2]=e;v[a+8>>2]=(e&64?c+d&-64|32:(c+d|0)+32&-64)-d;break a}v[a+12>>2]=f;v[a+8>>2]=g}v[a+16>>2]=v[a+16>>2]|8}}function ffb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=v[a+572>>2];d=v[a+664>>2];a:{if((c|0)<(d|0)|(c|0)>=v[a+668>>2]){break a}b=Ub[v[a+220>>2]](a,v[a+680>>2]+(c-d|0)|0)|0;c=v[a+580>>2];d=(b+(c<<2)|0)+(v[a+672>>2]<<2)|0;e=v[a+656>>2];b=(e|0)/v[a+584>>2]|0;f=v[a+644>>2];b:{if(!w[a+648|0]){e=c+e|0;c=f+(b<<2)|0;b=v[a+660>>2];if(!w[a+649|0]){break b}if((b|0)<=(e|0)){break a}while(1){t[d|0]=w[c+2|0];t[d+1|0]=w[c+1|0];b=w[c|0];t[d+3|0]=255;t[d+2|0]=b;c=c+4|0;b=v[a+584>>2];d=(b<<2)+d|0;e=b+e|0;if((e|0)>2]){continue}break}break a}e=c+e|0;c=f+(b<<3)|0;b=v[a+660>>2];if(w[a+649|0]){if((b|0)<=(e|0)){break a}while(1){t[d|0]=w[c+4|0];t[d+1|0]=w[c+2|0];b=w[c|0];t[d+3|0]=255;t[d+2|0]=b;c=c+8|0;b=v[a+584>>2];d=(b<<2)+d|0;e=b+e|0;if((e|0)>2]){continue}break}break a}if((b|0)<=(e|0)){break a}while(1){b=w[c+6|0]|w[c+7|0]<<8;b=(b<<8|b>>>8)&65535;if(b){c:{if((b|0)==65535){t[d|0]=w[c+4|0];t[d+1|0]=w[c+2|0];t[d+2|0]=w[c|0];break c}f=w[c+2|0]|w[c+3|0]<<8;h=w[c+4|0]|w[c+5|0]<<8;g=w[c|0]|w[c+1|0]<<8;i=B(b,(g<<8|g>>>8)&65535);g=w[d+2|0];j=g<<8|g;g=b^65535;i=(i+B(j,g)|0)+32768|0;t[d+2|0]=(i>>>16|0)+i>>>24;i=B((f<<8|f>>>8)&65535,b);f=w[d+1|0];f=(i+B(g,f<<8|f)|0)+32768|0;t[d+1|0]=(f>>>16|0)+f>>>24;f=B(b,(h<<8|h>>>8)&65535);b=w[d|0];b=(f+B(g,b<<8|b)|0)+32768|0;t[d|0]=(b>>>16|0)+b>>>24}t[d+3|0]=255}c=c+8|0;b=v[a+584>>2];d=(b<<2)+d|0;e=b+e|0;if((e|0)>2]){continue}break}break a}if((b|0)<=(e|0)){break a}while(1){b=w[c+3|0];if(b){d:{if((b|0)==255){t[d|0]=w[c+2|0];t[d+1|0]=w[c+1|0];t[d+2|0]=w[c|0];break d}f=b^255;h=(B(b,w[c+2|0])+B(f,w[d|0])|0)+128|0;t[d|0]=(h>>>8&255)+h>>>8;h=(B(b,w[c+1|0])+B(f,w[d+1|0])|0)+128|0;t[d+1|0]=(h>>>8&255)+h>>>8;b=(B(b,w[c|0])+B(f,w[d+2|0])|0)+128|0;t[d+2|0]=(b>>>8&255)+b>>>8}t[d+3|0]=255}c=c+4|0;b=v[a+584>>2];d=(b<<2)+d|0;e=b+e|0;if((e|0)>2]){continue}break}}d=v[a+680>>2]+v[a+572>>2]|0;e=v[a+664>>2];c=v[a+556>>2];b=v[a+672>>2];e:{if((b|0)>=v[a+552>>2]){if(c){break e}c=0}v[a+552>>2]=b}b=c;c=v[a+676>>2];if((b|0)<(c|0)){v[a+556>>2]=c}c=v[a+564>>2];d=d-e|0;f:{if((d|0)>=v[a+560>>2]){if(c){break f}c=0}v[a+560>>2]=d}if((c|0)<=(d|0)){v[a+564>>2]=d+1}return 0}function qR(a,b){a=a|0;b=b|0;var 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;a:{d=Qb-32|0;Qb=d;e=v[a+116>>2];v[e+132>>2]=0;b:{a=v[e+208>>2];j=v[a+8>>2];c:{d:{if((j|0)<1){break d}g=v[a>>2];h=v[b+492>>2];if(!h){a=0;while(1){h=v[g+(a<<2)>>2];v[e+132>>2]=h;if(v[h>>2]==-1&v[h+4>>2]==-1){break c}v[e+132>>2]=0;a=a+1|0;if((j|0)!=(a|0)){continue}break}break d}a=0;while(1){l=v[g+(a<<2)>>2];v[e+132>>2]=l;if(v[h+8>>2]==v[l>>2]&v[h+12>>2]==v[l+4>>2]){break c}v[e+132>>2]=0;a=a+1|0;if((j|0)!=(a|0)){continue}break}}a=fc(40);v[299999]=0;Q(3959,a|0,b|0)|0;j=v[299999];v[299999]=0;if((j|0)==1){break b}v[e+132>>2]=a;Tc(v[e+208>>2],a);a=v[b+492>>2];if(!a){break c}if(!(Ub[v[v[a>>2]+20>>2]](a)|0)){break c}v[e+244>>2]=1}g=v[b+492>>2];c=A[b+496>>3];i=A[b+520>>3]*c;c=c*A[b+528>>3];f=i*A[b+16>>3]+c*A[b+32>>3];c=i*A[b+24>>3]+c*A[b+40>>3];c=K(f*f+c*c);A[e+136>>3]=c;e:{if(!g){CS(b,d,d|8,d+16|0,d+24|0);break e}f:{if(v[g+20>>2]!=4){break f}a=0;l=-1;h=-1;j=-1;while(1){n=v[(g+(a<<2)|0)+164>>2];g:{if(!n){break g}o=w[n|0];l=(o|0)==109?w[n+1|0]?l:a:l;h=(h|0)>-1|((o&223)-65&255)>>>0>25?h:w[n+1|0]?h:a;if(!(A[(g+(a<<3)|0)+1464>>3]>0)|(j|0)>-1){break g}j=a}a=a+1|0;if((a|0)!=256){continue}break}a=e;k=c;h:{i:{j:{if((l|0)<0){break j}f=A[(g+((l&255)<<3)|0)+1464>>3];if(!(f>0)){break j}c=f/.6;break i}k:{if((h|0)<0){break k}f=A[(g+((h&255)<<3)|0)+1464>>3];if(!(f>0)){break k}c=f+f;break i}if((j|0)<0){break h}f=A[(g+((j&255)<<3)|0)+1464>>3];if(!(f>0)){break h}c=f+f}c=k*c;A[a+136>>3]=c}i=A[g+40>>3];if(i==0){break f}A[e+136>>3]=c*D(A[g- -64>>3]/i)}CS(b,d,d|8,d+16|0,d+24|0);if(v[g+20>>2]!=4){break e}c=A[g+48>>3];i=A[g+40>>3];f=A[d+8>>3];k=A[g+56>>3];p=A[d+24>>3];m=A[g- -64>>3];A[d+24>>3]=f*k+p*m;q=k;k=A[d>>3];r=m;m=A[d+16>>3];A[d+16>>3]=q*k+r*m;A[d+8>>3]=i*f+c*p;A[d>>3]=i*k+c*m}l:{if(A[e+136>>3]==0){v[e+144>>2]=0;v[e+148>>2]=0;c=A[d>>3];break l}c=A[d>>3];i=D(c);k=A[d+8>>3];f=D(k);if(i>=f){v[e+148>>2]=f>i*.1;v[e+144>>2]=!(c>0)<<1;break l}v[e+148>>2]=i>f*.1;v[e+144>>2]=k>0?1:3}a=1;if(!(!(D(A[d+16>>3])<.001)|(!(c>0)|!(D(A[d+8>>3])<.001)))){a=!(A[d+24>>3]<0)}v[e+152>>2]=a;Qb=d+32|0;break a}b=P()|0;O()|0;dc(a);T(b|0);L()}}function Vna(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Qb+-64|0;Qb=d;a:{b:{c:{d:{e:{f:{g:{h:{i:{if(w[a+60|0]){if(!v[294598]){b=vc(d+16|0,300931,241010,1848,339676,0);v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}a=P()|0;O()|0;qc(b);break c}e=d+16|0;Qm(e);f=v[v[a>>2]+60>>2];v[299999]=0;U(f|0,a|0,e|0,0);a=v[299999];v[299999]=0;if((a|0)!=1){j:{a=v[d+16>>2];e=v[v[a>>2]+24>>2];v[299999]=0;R(e|0,a|0);e=v[299999];v[299999]=0;if((e|0)==1){break j}e=v[v[a>>2]+20>>2];v[299999]=0;Z(e|0,a|0,0,0,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break j}v[299999]=0;U(v[294598],d+16|0,b|0,c|0);a=v[299999];v[299999]=0;if((a|0)==1){break j}a=v[d+16>>2];v[d+16>>2]=0;if(!a){break i}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break i}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break i}}break a}}a=P()|0;O()|0;ec(d+16|0);break c}if(c){YP(b);c=d+16|0;Cx(c,b,301006);b=v[v[a>>2]+60>>2];v[299999]=0;U(b|0,a|0,c|0,0);a=v[299999];v[299999]=0;if((a|0)==1){break d}a=v[d+16>>2];v[d+16>>2]=0;if(!a){break i}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break i}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break i}}break a}Uw(d+16|0,b);v[299999]=0;V(4537,d+8|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break h}v[299999]=0;V(4777,d+56|0,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break g}v[299999]=0;U(4778,v[d+56>>2],d+16|0,d+8|0);a=v[299999];v[299999]=0;k:{if((a|0)!=1){a=v[d+56>>2];v[d+56>>2]=0;if(!a){break k}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break k}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break k}}break a}a=P()|0;O()|0;ec(d+56|0);break f}ec(d+8|0);v[d+40>>2]=981312;v[d+16>>2]=981280;a=v[d+44>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Ub[v[v[a>>2]+4>>2]](a)}v[d+44>>2]=0}v[d+32>>2]=981312;a=v[d+36>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Ub[v[v[a>>2]+4>>2]](a)}v[d+36>>2]=0}ec(d+24|0)}Qb=d- -64|0;return}a=P()|0;O()|0;break e}a=P()|0;O()|0}ec(d+8|0)}$c(d+16|0);break c}a=P()|0;O()|0;ec(d+16|0)}T(a|0)}L()}W(0)|0;O()|0;lc();L()}function bRa(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,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,z=0,A=0,C=0,D=0;A=Qb-384|0;Qb=A;p=v[a+332>>2];a=v[b+84>>2];b=A;while(1){s=v[a+128>>2];l=u[c+64>>1];o=B(v[a+32>>2],u[c+16>>1]);j=B(v[a+224>>2],u[c+112>>1]);i=o-j|0;m=B(v[a+96>>2],u[c+48>>1]);k=B(v[a+160>>2],u[c+80>>1]);g=m-k|0;h=B(i+g|0,4433);n=B(v[a+64>>2],u[c+32>>1]);q=B(v[a+192>>2],u[c+96>>1]);x=n-q<<13;f=B(u[c>>1],v[a>>2])<<13|1024;y=x+f|0;i=h+B(i,6270)|0;v[b+320>>2]=y-i>>11;v[b+32>>2]=i+y>>11;i=f-x|0;h=h+B(g,-15137)|0;v[b+224>>2]=i-h>>11;v[b+128>>2]=h+i>>11;s=B(B(l,s),10033);l=s+f|0;i=q<<13;g=i+B(n,11190)|0;q=l-g|0;y=k+o|0;h=B(y+j|0,7053);x=B(m,-4433);z=h+((x+B(o,-5540)|0)+B(j,-16244)|0)|0;v[b+192>>2]=q-z>>11;v[b+160>>2]=q+z>>11;l=g+l|0;g=B(o,2295);o=B(m,10703);m=h+B(y,2139)|0;g=(g+o|0)+m|0;v[b+352>>2]=l-g>>11;v[b>>2]=g+l>>11;n=B(n,2998)-i|0;f=f-s|0;s=n+f|0;i=x+B(k,-12112)|0;k=B(j+k|0,-8565);m=m+(i+k|0)|0;v[b+288>>2]=s-m>>11;v[b+64>>2]=m+s>>11;f=f-n|0;j=k+(h+(B(j,12998)-o|0)|0)|0;v[b+256>>2]=f-j>>11;v[b+96>>2]=f+j>>11;b=b+4|0;a=a+4|0;c=c+2|0;r=r+1|0;if((r|0)!=8){continue}break}b=p+128|0;o=0;a=A;while(1){k=v[a+4>>2];f=v[a+20>>2];h=k+f|0;j=v[a+28>>2];m=B(h+j|0,7053);c=v[(o<<2)+d>>2]+e|0;l=m+B(h,2139)|0;n=v[a+12>>2];s=B(n,10703);i=l+(s+B(k,2295)|0)|0;g=v[a+24>>2];q=g<<13;p=v[a+8>>2];x=q+B(p,11190)|0;h=(v[a>>2]<<13)+131072|0;y=B(v[a+16>>2],10033);z=h+y|0;r=x+z|0;t[c|0]=w[b+(i+r>>>18&1023)|0];t[c+11|0]=w[b+(r-i>>>18&1023)|0];i=p-g<<13;g=i+h|0;r=k-j|0;C=n-f|0;D=B(r+C|0,4433);r=D+B(r,6270)|0;t[c+1|0]=w[b+(g+r>>>18&1023)|0];t[c+10|0]=w[b+(g-r>>>18&1023)|0];n=B(n,-4433);g=n+B(f,-12112)|0;f=B(f+j|0,-8565);l=(g+f|0)+l|0;p=B(p,2998)-q|0;g=h-y|0;q=p+g|0;t[c+2|0]=w[b+(l+q>>>18&1023)|0];t[c+9|0]=w[b+(q-l>>>18&1023)|0];f=f+(m+(B(j,12998)-s|0)|0)|0;p=g-p|0;t[c+3|0]=w[b+(f+p>>>18&1023)|0];t[c+8|0]=w[b+(p-f>>>18&1023)|0];f=B(C,-15137)+D|0;h=h-i|0;t[c+4|0]=w[b+(f+h>>>18&1023)|0];t[c+7|0]=w[b+(h-f>>>18&1023)|0];j=m+((n+B(k,-5540)|0)+B(j,-16244)|0)|0;k=z-x|0;t[c+5|0]=w[b+(j+k>>>18&1023)|0];t[c+6|0]=w[b+(k-j>>>18&1023)|0];a=a+32|0;o=o+1|0;if((o|0)!=12){continue}break}Qb=A+384|0}function pm(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=Qb-16|0;Qb=h;e=v[a>>2];a:{if(e>>>0>=b>>>0){break a}b:{c:{d=w[e|0];switch(d-43|0){case 0:case 2:break c;default:break b}}e=e+1|0;if((e|0)==(b|0)){break a}m=(d|0)==45;d=w[e|0];switch(d-43|0){case 0:case 2:break a;default:break b}}d:{if((d|0)==46){d=e;break d}v[h+8>>2]=e;f=qm(h+8|0,b,10);e:{d=v[h+8>>2];if((e|0)!=(d|0)){if(w[d|0]!=35|b>>>0<=d>>>0){break e}i=d+1|0;v[h+8>>2]=i;f=qm(h+8|0,b,f);d=v[h+8>>2];if((i|0)!=(d|0)){break e}}f=0;break a}if((d|0)==(e|0)){f=0;break a}l=(f|0)>32767;i=l?f:f<<16}f:{if(!(w[d|0]!=46|b>>>0<=d>>>0)){g=1;d=d+1|0;if(d>>>0>=b>>>0){e=0;break f}e=0;g:{if(!i){while(1){h:{f=w[d|0];switch(f|0){case 0:case 9:case 10:case 12:case 13:case 32:break f;default:break h}}if(f<<24>>24<0|f-48>>>0>9){break f}i:{if((g|0)>214748363|(e|0)>214748363){break i}e=t[f+382528|0]+B(e,10)|0;if((c|0)>=1){c=c-1|0;break i}g=B(g,10)}d=d+1|0;if((d|0)!=(b|0)){continue}break g}}while(1){j:{f=w[d|0];switch(f|0){case 0:case 9:case 10:case 12:case 13:case 32:break f;default:break j}}if(f<<24>>24<0|f-48>>>0>9){break f}k=t[f+382528|0]+B(e,10)|0;f=(g|0)<214748364&(e|0)<214748364;e=f?k:e;g=f?B(g,10):g;d=d+1|0;if((d|0)!=(b|0)){continue}break}}d=b;break f}e=0;g=1}k:{l:{m:{n:{k=d+1|0;if(!((w[d|0]|32)!=101|k>>>0>=b>>>0)){v[h+12>>2]=k;j=qm(h+12|0,b,10);o:{d=v[h+12>>2];if((k|0)!=(d|0)){if(w[d|0]!=35|b>>>0<=d>>>0){break o}f=d+1|0;v[h+12>>2]=f;j=qm(h+12|0,b,j);d=v[h+12>>2];if((f|0)!=(d|0)){break o}}f=0;break a}f=0;if((d|0)==(k|0)){break a}if((j|0)>1e3){break n}b=j;j=(j|0)<-1e3;c=(j?0:b)+c|0}v[a>>2]=d;f=0;if(!(e|i)){break a}b=2147483647;if(l){break k}if(j){break a}if((c|0)<=0){break m}while(1){if((i|0)>214748363){break k}p:{if((e|0)>=214748364){if((g|0)==1){break k}g=(g|0)/10|0;break p}e=B(e,10)}i=B(i,10);a=(c|0)>1;c=c-1|0;if(a){continue}break}break l}v[a>>2]=d;b=2147483647;if(e|i){break k}break a}if((c|0)>=0){break l}while(1){a=i;i=(i|0)/10|0;q:{if((g|0)<=214748363){g=B(g,10);break q}e=(e|0)/10|0}if(!(e?0:a+9>>>0<=18)){a=c;c=c+1|0;if(a>>>0>c>>>0){break l}continue}break}break a}if(!e){b=i;break k}b=ad(e,g)+i|0}f=m?0-b|0:b}Qb=h+16|0;return f}function lM(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{if(b<.016939999535679817){break a}f=(b+-.016939999535679817)*285.7142768952314;if(c){e=Bib(v[299450],v[299451],1284865837,1481765933)+1|0;d=Tb;d=e>>>0<1?d+1|0:d;v[299450]=e;v[299451]=d;f=f+ +(d>>>1|0)*4.656612875245797e-10+-.5}b:{if(D(f)<2147483648){e=~~f;break b}e=-2147483648}if((e|0)>=163){break a}f=+z[(e<<3)+82800>>2];if(f>a){break a}f=(a-f)*285.7142768952314;if(c){c=Bib(v[299450],v[299451],1284865837,1481765933)+1|0;d=Tb;d=c>>>0<1?d+1|0:d;v[299450]=c;v[299451]=d;f=f+ +(d>>>1|0)*4.656612875245797e-10+-.5}if(D(f)<2147483648){c=~~f}else{c=-2147483648}if((c|0)>=u[(e<<3)+82804>>1]){break a}return c+u[(e<<3)+82806>>1]|0}h=Qb-800|0;Qb=h;if(!w[1130896]){c=99;while(1){e=(c<<3)+h|0;v[e>>2]=0;v[e+4>>2]=1073741824;d=e-8|0;v[d>>2]=0;v[d+4>>2]=1073741824;d=e-16|0;v[d>>2]=0;v[d+4>>2]=1073741824;e=e-24|0;v[e>>2]=0;v[e+4>>2]=1073741824;e=c-4|0;d=(e<<3)+h|0;v[d>>2]=0;v[d+4>>2]=1073741824;c=c-5|0;if(e){continue}break}c=162;while(1){e=c;d=c<<3;c=u[d+82804>>1]-1|0;i=(e|0)==162?1:e?c:1;g=d+82806|0;k=(+(e|0)+.5)*.0035000001080334187+.016939999535679817+-.473684211;l=+z[d+82800>>2];while(1){f=Ff(k,(+(c|0)+.5)*.0035000001080334187+l+-.210526316)*15.915494277358546+50;c:{if(D(f)<2147483648){d=~~f;break c}d=-2147483648}j=(d<<3)+h|0;f=D(f-(+(d|0)+.5));if(A[j>>3]>f){v[(d<<2)+1130496>>2]=u[g>>1]+c;A[j>>3]=f}c=c-i|0;if((c|0)>-1){continue}break}c=e-1|0;if(e){continue}break}e=100;g=99;while(1){c=1;d=g;if(A[(d<<3)+h>>3]>1.5){while(1){d:{if(A[((c+d>>>0)%100<<3)+h>>3]<1.5){i=c;break d}i=50;g=c+1|0;if((g|0)==50){break d}i=g;if(A[((g+d>>>0)%100<<3)+h>>3]<1.5){break d}c=c+2|0;continue}break}j=e+99|0;c=1;g=-1;while(1){e:{if(A[((g+j>>>0)%100<<3)+h>>3]<1.5){e=c;break e}e=c+1|0;if((e|0)==50){g=-50;e=50;break e}g=c^-1;if(A[((j+g>>>0)%100<<3)+h>>3]<1.5){break e}g=-2-c|0;c=c+2|0;continue}break}v[(d<<2)+1130496>>2]=v[(((e>>>0>i>>>0?d+i|0:g+j|0)|0)%100<<2)+1130496>>2]}g=d-1|0;e=d;if(d){continue}break}t[1130896]=1}a=Ff(b+-.473684211,a+-.210526316)*15.915494277358546+50;f:{if(D(a)<2147483648){c=~~a;break f}c=-2147483648}Qb=h+800|0;return v[(c<<2)+1130496>>2]}function bI(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;h=Qb-16|0;Qb=h;v[h+8>>2]=0;m=v[v[a>>2]+28>>2];v[b>>2]=0;a:{b:{if(v[a+28>>2]){break b}v[h+12>>2]=0;c:{f=v[a+12>>2];if(f){l=w[a+16|0];j=v[a>>2];i=v[j+28>>2];f=f+1|0;r=a,s=Cc(i,4,0,f,0,h+12|0),v[r+28>>2]=s;if(v[h+12>>2]){break c}e=Yc(j,v[a+8>>2]+v[a+4>>2]|0);v[h+12>>2]=e;if(e){break c}f=B(f,l);e=ne(j,f);v[h+12>>2]=e;if(e){break c}e=v[j+32>>2];k=f+e|0;g=v[a+28>>2];d:{e:{switch(l-1|0){case 2:if((f|0)<=0){break d}while(1){v[g>>2]=w[e+2|0]|(w[e+1|0]<<8|w[e|0]<<16);g=g+4|0;e=e+3|0;if(k>>>0>e>>>0){continue}break};break d;case 1:if((f|0)<=0){break d}while(1){v[g>>2]=w[e+1|0]|w[e|0]<<8;g=g+4|0;e=e+2|0;if(k>>>0>e>>>0){continue}break};break d;case 0:if((f|0)<=0){break d}while(1){v[g>>2]=w[e|0];g=g+4|0;e=e+1|0;if(k>>>0>e>>>0){continue}break};break d;default:break e}}if((f|0)<=0){break d}while(1){f=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24);v[g>>2]=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);g=g+4|0;e=e+4|0;if(k>>>0>e>>>0){continue}break}}Vd(j);if(v[h+12>>2]){break c}}v[h+8>>2]=0;break b}f=v[a+28>>2];if(f){Ub[v[i+8>>2]](i,f)}v[a+28>>2]=0;g=v[h+12>>2];v[h+8>>2]=g;if(g){break a}}g=0;i=v[a+12>>2];if(!i){break a}f=v[a+24>>2];j=Cc(m,4,0,i+1|0,0,h+8|0);g=v[h+8>>2];f:{if(g){break f}p=f+i|0;g:{h:{i:{j:{if(c){e=Fd(m,p,h+8|0);if(v[h+8>>2]){break g}q=v[a+32>>2];v[j>>2]=e;n=v[a+12>>2];if(n){g=1;k=0;i=0;while(1){f=g<<2;o=v[f+v[a+28>>2]>>2]-1|0;k:{if(o>>>0>>0){v[f+j>>2]=(e+i|0)+k;break k}l=f+j|0;f=v[a+24>>2];f=f>>>0>>0?f:o;o=(f+e|0)+k|0;v[l>>2]=o;if((f|0)!=(i|0)){n=v[l-4>>2];gc(n,i+q|0,o-n|0);t[v[l>>2]]=0;v[l>>2]=v[l>>2]+1;n=v[a+12>>2];k=k+1|0}i=f}g=g+1|0;if(n>>>0>=g>>>0){continue}break}break j}v[b>>2]=j;break i}f=v[a+32>>2];v[j>>2]=f;e=0;k=v[a+12>>2];if(!k){break j}g=1;while(1){l=g<<2;i=v[l+v[a+28>>2]>>2]-1|0;if(i>>>0>=e>>>0){e=v[a+24>>2];e=e>>>0>>0?e:i}v[j+l>>2]=e+f;g=g+1|0;if(k>>>0>=g>>>0){continue}break}e=0}v[b>>2]=j;if(!c){break h}}v[c>>2]=e}if(!d){break g}v[d>>2]=p}g=v[h+8>>2];if(!g|!e){break f}if(e){Ub[v[m+8>>2]](m,e)}g=v[h+8>>2]}if(!g|!j){break a}if(j){Ub[v[m+8>>2]](m,j)}g=v[h+8>>2]}Qb=h+16|0;return g}function Oo(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=Qb-65568|0;Qb=d;if(!c){j=a,k=ic(a+232|0,0,24576),v[j+24812>>2]=k}b=ic(b,0,80);v[b+52>>2]=v[a+24812>>2];v[b+56>>2]=v[a+24812>>2];v[b+60>>2]=v[a+24812>>2];v[b- -64>>2]=v[a+24812>>2];v[b+68>>2]=v[a+24812>>2];g=v[a+24812>>2];v[b+24>>2]=2147483647;v[b+72>>2]=g;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+32|0,2,1)|0;a:{if(w[d+33|0]!=216){break a}b:{c:{d:{while(1){Ub[v[v[a>>2]>>2]](v[a+4>>2],d+32|0,2,2)|0;g=w[d+33|0]|w[d+32|0]<<8;if(g>>>0<65281){break a}e=w[d+35|0]|w[d+34|0]<<8;f=e-2|0;Ub[v[v[a>>2]>>2]](v[a+4>>2],d+32|0,1,f)|0;e:{f:{g:{h:{i:{j:{k:{l:{m:{switch(g-65472|0){case 0:e=v[b+16>>2];break l;case 29:break i;case 26:break j;case 4:break k;case 3:break m;default:break h}}e=w[d+39|0];e=B(e>>>4|0,e)-1&3;v[b+16>>2]=e}v[b>>2]=w[d+32|0];v[b+4>>2]=w[d+34|0]|w[d+33|0]<<8;v[b+8>>2]=w[d+36|0]|w[d+35|0]<<8;v[b+12>>2]=w[d+37|0]+e;if(v[a+26152>>2]|(f|0)!=9){break h}Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;break h}if(c){break e}if(e>>>0<3){break g}e=d+32|0;f=f+e|0;while(1){h=w[e|0];if(h>>>0>3){break h}v[(b+(h<<2)|0)+52>>2]=v[a+24812>>2];e=qn(a,e+1|0,0);if(f>>>0>e>>>0){continue}break}break h}e=(d+32|0)+(w[d+32|0]<<1)|0;v[b+20>>2]=w[e+1|0];v[b>>2]=v[b>>2]-(w[e+3|0]&15);break h}v[b+24>>2]=w[d+33|0]|w[d+32|0]<<8}if((g|0)!=65498){continue}i=1;if(!c){break f}break a}if((g|0)!=65498){continue}}f=v[b+16>>2];n:{if(!f){break n}c=v[b+56>>2];v[b+72>>2]=c;v[b+68>>2]=c;v[b+64>>2]=c;v[b+60>>2]=c;if((f|0)<1){break n}c=f&7;g=v[b+52>>2];e=0;if(f-1>>>0>=7){i=f&-8;f=b+52|0;while(1){h=e<<2;v[f+(h|4)>>2]=g;v[f+(h|8)>>2]=g;v[f+(h|12)>>2]=g;v[f+(h|16)>>2]=g;v[f+(h|20)>>2]=g;v[f+(h|24)>>2]=g;v[f+(h|28)>>2]=g;e=e+8|0;v[f+(e<<2)>>2]=g;i=i-8|0;if(i){continue}break}}if(!c){break n}while(1){e=e+1|0;v[(b+(e<<2)|0)+52>>2]=g;c=c-1|0;if(c){continue}break}}c=b;b=bd(B(v[b+12>>2],v[b+8>>2]),4);v[c+76>>2]=b;if(b){break b}b=v[a+190640>>2];if(!b){break d}c=v[a+25208>>2];v[d+20>>2]=21825;v[d+16>>2]=c;zd(b,4338,d+16|0);break c}if((g|0)!=65498){continue}break}i=1;break a}b=v[a+25208>>2];v[d+4>>2]=21825;v[d>>2]=b;wc(v[252391],4338,d)}sd(a+190484|0,1);L()}i=1;v[a+26144>>2]=1}Qb=d+65568|0;return i}function EGa(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;d=Qb-112|0;Qb=d;a:{b:{c:{if(w[a+203|0]){break c}g=v[a+168>>2];if(!g){break c}v[d+80>>2]=0;v[d+84>>2]=0;v[d+72>>2]=0;v[d+76>>2]=0;v[d+64>>2]=0;v[d+68>>2]=0;i=v[b+492>>2];v[299999]=0;g=Y(3154,g|0,i+8|0,d+56|0)|0;i=v[299999];v[299999]=0;d:{e:{f:{g:{if((i|0)!=1){if(!g|v[b+592>>2]==3){break d}i=v[c>>2];v[299999]=0;g=S(15,((i|0)!=(i&1073741823)?-1:i<<2)|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break g}v[d+48>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;if((i|0)<1){break e}e=v[d+92>>2];if(!e){break f}b=0;while(1){h=t[v[c+4>>2]+b|0];h:{if(!e){break h}e=x[(h<<2)+e>>1];v[299999]=0;V(3155,d+40|0,e|0);e=v[299999];v[299999]=0;if((e|0)!=1){break h}break b}f=g+(b<<2)|0;e=v[d+88>>2];i:{if(e){e=v[e+(h<<2)>>2];break i}e=h?h:65534}v[f>>2]=e;b=b+1|0;if((b|0)>=v[c>>2]){break e}e=v[d+92>>2];continue}}b=P()|0;O()|0;break a}b=P()|0;O()|0;break a}c=v[c+4>>2];h=v[d+88>>2];if(h){e=i&3;b=0;if(i-1>>>0>=3){j=i&-4;while(1){v[g+(b<<2)>>2]=v[h+(t[b+c|0]<<2)>>2];f=b|1;v[g+(f<<2)>>2]=v[h+(t[c+f|0]<<2)>>2];f=b|2;v[g+(f<<2)>>2]=v[h+(t[c+f|0]<<2)>>2];f=b|3;v[g+(f<<2)>>2]=v[h+(t[c+f|0]<<2)>>2];b=b+4|0;j=j-4|0;if(j){continue}break}}if(!e){break e}while(1){v[g+(b<<2)>>2]=v[h+(t[b+c|0]<<2)>>2];b=b+1|0;e=e-1|0;if(e){continue}break}break e}h=i&3;b=0;if(i-1>>>0>=3){e=i&-4;while(1){j=t[b+c|0];v[g+(b<<2)>>2]=j?j:65534;f=b|1;j=t[f+c|0];v[g+(f<<2)>>2]=j?j:65534;f=b|2;j=t[f+c|0];v[g+(f<<2)>>2]=j?j:65534;f=b|3;j=t[f+c|0];v[g+(f<<2)>>2]=j?j:65534;b=b+4|0;e=e-4|0;if(e){continue}break}}if(!h){break e}while(1){e=t[b+c|0];v[g+(b<<2)>>2]=e?e:65534;b=b+1|0;h=h-1|0;if(h){continue}break}}a=v[a+104>>2];v[d+32>>2]=954437176;v[d+36>>2]=1078043534;v[d+24>>2]=954437176;v[d+28>>2]=1078043534;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;b=v[v[a>>2]+284>>2];v[299999]=0;sa(b|0,a|0,d+40|0,g|0,i|0,d+32|0,d+24|0,d+16|0,d+8|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break b}dc(g);if(t[d+51|0]>-1){break d}dc(v[d+40>>2])}if(t[d+87|0]<=-1){dc(v[d+76>>2])}if(t[d+75|0]>-1){break c}dc(v[d+64>>2])}Qb=d+112|0;return}b=P()|0;O()|0;if(t[d+51|0]>-1){break a}dc(v[d+40>>2])}$T(d+56|0);T(b|0);L()}function Tia(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;var j=0,k=0,l=0,m=0,n=0,o=0;k=(g|0)/4|0;a:{if(!f){break a}c=f-1|0;j=v[a+60>>2];if(e>>>0>=4){d=e-4|0;m=d&4;n=d>>>0<4;o=(e-(d&-4)|0)-5|0;while(1){l=c;a=e;f=b;c=i;if(!m){a=v[(w[i|0]<<2)+j>>2];v[b>>2]=v[a>>2];v[b+4>>2]=v[a+4>>2];v[b+8>>2]=v[a+8>>2];v[b+12>>2]=v[a+12>>2];f=b+16|0;c=i+1|0;a=d}g=d;if(!n){while(1){b=f;g=v[(w[c|0]<<2)+j>>2];v[b>>2]=v[g>>2];v[b+4>>2]=v[g+4>>2];v[b+8>>2]=v[g+8>>2];v[b+12>>2]=v[g+12>>2];g=c;i=v[(w[c+1|0]<<2)+j>>2];v[b+16>>2]=v[i>>2];v[b+20>>2]=v[i+4>>2];v[b+24>>2]=v[i+8>>2];v[b+28>>2]=v[i+12>>2];f=b+32|0;c=c+2|0;a=a-8|0;if(a>>>0>3){continue}break}i=g+1|0;g=a;b=b+16|0}b:{if(g){a=2;c=v[(w[c|0]<<2)+j>>2];c:{switch(o|0){case 2:v[f>>2]=v[c>>2];f=b+20|0;c=c+4|0;case 1:v[f>>2]=v[c>>2];f=f+4|0;c=c+4|0;break;case 0:break c;default:break b}}v[f>>2]=v[c>>2];f=f+4|0;break b}a=1}c=l-1|0;i=(i+k|0)+a|0;b=(h<<2)+f|0;if(l){continue}break}break a}d:{switch(e-1|0){case 1:if(f&1){a=v[(w[i|0]<<2)+j>>2];v[b>>2]=v[a>>2];v[b+4>>2]=v[a+4>>2];i=(i+k|0)+1|0;b=((h<<2)+b|0)+8|0;f=f-2|0}else{f=c}if(!c){break a}while(1){a=v[(w[i|0]<<2)+j>>2];v[b>>2]=v[a>>2];v[b+4>>2]=v[a+4>>2];a=h<<2;b=a+b|0;c=b+8|0;d=(i+k|0)+1|0;e=v[(w[d|0]<<2)+j>>2];v[c>>2]=v[e>>2];v[b+12>>2]=v[e+4>>2];b=(a+c|0)+8|0;i=(d+k|0)+1|0;a=(f|0)==1;f=f-2|0;if(!a){continue}break};break a;case 2:if(f&1){a=v[(w[i|0]<<2)+j>>2];v[b>>2]=v[a>>2];v[b+4>>2]=v[a+4>>2];v[b+8>>2]=v[a+8>>2];i=(i+k|0)+1|0;b=((h<<2)+b|0)+12|0;f=f-2|0}else{f=c}if(!c){break a}while(1){a=v[(w[i|0]<<2)+j>>2];v[b>>2]=v[a>>2];v[b+4>>2]=v[a+4>>2];v[b+8>>2]=v[a+8>>2];c=h<<2;a=c+b|0;d=a+12|0;e=(i+k|0)+1|0;b=v[(w[e|0]<<2)+j>>2];v[d>>2]=v[b>>2];v[a+16>>2]=v[b+4>>2];v[a+20>>2]=v[b+8>>2];b=(c+d|0)+12|0;i=(e+k|0)+1|0;a=(f|0)==1;f=f-2|0;if(!a){continue}break};break a;case 0:break d;default:break a}}if(f&1){v[b>>2]=v[v[(w[i|0]<<2)+j>>2]>>2];i=(i+k|0)+1|0;b=((h<<2)+b|0)+4|0;f=f-2|0}else{f=c}if(!c){break a}while(1){v[b>>2]=v[v[(w[i|0]<<2)+j>>2]>>2];a=h<<2;b=(a+b|0)+4|0;c=(i+k|0)+1|0;v[b>>2]=v[v[(w[c|0]<<2)+j>>2]>>2];b=(a+b|0)+4|0;i=(c+k|0)+1|0;a=(f|0)!=1;f=f-2|0;if(a){continue}break}}}function Rja(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;var j=0,k=0,l=0,m=0,n=0,o=0;k=(g|0)/4|0;a:{if(!f){break a}c=f-1|0;j=v[a+64>>2];if(e>>>0>=4){d=e-4|0;m=d&4;n=d>>>0<4;o=(e-(d&-4)|0)-5|0;while(1){l=c;a=e;f=b;c=i;if(!m){a=v[(w[i|0]<<2)+j>>2];v[b>>2]=v[a>>2];v[b+4>>2]=v[a+4>>2];v[b+8>>2]=v[a+8>>2];v[b+12>>2]=v[a+12>>2];f=b+16|0;c=i+1|0;a=d}g=d;if(!n){while(1){b=f;g=v[(w[c|0]<<2)+j>>2];v[b>>2]=v[g>>2];v[b+4>>2]=v[g+4>>2];v[b+8>>2]=v[g+8>>2];v[b+12>>2]=v[g+12>>2];g=c;i=v[(w[c+1|0]<<2)+j>>2];v[b+16>>2]=v[i>>2];v[b+20>>2]=v[i+4>>2];v[b+24>>2]=v[i+8>>2];v[b+28>>2]=v[i+12>>2];f=b+32|0;c=c+2|0;a=a-8|0;if(a>>>0>3){continue}break}i=g+1|0;g=a;b=b+16|0}b:{if(g){a=2;c=v[(w[c|0]<<2)+j>>2];c:{switch(o|0){case 2:v[f>>2]=v[c>>2];f=b+20|0;c=c+4|0;case 1:v[f>>2]=v[c>>2];f=f+4|0;c=c+4|0;break;case 0:break c;default:break b}}v[f>>2]=v[c>>2];f=f+4|0;break b}a=1}c=l-1|0;i=(i+k|0)+a|0;b=(h<<2)+f|0;if(l){continue}break}break a}d:{switch(e-1|0){case 1:if(f&1){a=v[(w[i|0]<<2)+j>>2];v[b>>2]=v[a>>2];v[b+4>>2]=v[a+4>>2];i=(i+k|0)+1|0;b=((h<<2)+b|0)+8|0;f=f-2|0}else{f=c}if(!c){break a}while(1){a=v[(w[i|0]<<2)+j>>2];v[b>>2]=v[a>>2];v[b+4>>2]=v[a+4>>2];a=h<<2;b=a+b|0;c=b+8|0;d=(i+k|0)+1|0;e=v[(w[d|0]<<2)+j>>2];v[c>>2]=v[e>>2];v[b+12>>2]=v[e+4>>2];b=(a+c|0)+8|0;i=(d+k|0)+1|0;a=(f|0)==1;f=f-2|0;if(!a){continue}break};break a;case 2:if(f&1){a=v[(w[i|0]<<2)+j>>2];v[b>>2]=v[a>>2];v[b+4>>2]=v[a+4>>2];v[b+8>>2]=v[a+8>>2];i=(i+k|0)+1|0;b=((h<<2)+b|0)+12|0;f=f-2|0}else{f=c}if(!c){break a}while(1){a=v[(w[i|0]<<2)+j>>2];v[b>>2]=v[a>>2];v[b+4>>2]=v[a+4>>2];v[b+8>>2]=v[a+8>>2];c=h<<2;a=c+b|0;d=a+12|0;e=(i+k|0)+1|0;b=v[(w[e|0]<<2)+j>>2];v[d>>2]=v[b>>2];v[a+16>>2]=v[b+4>>2];v[a+20>>2]=v[b+8>>2];b=(c+d|0)+12|0;i=(e+k|0)+1|0;a=(f|0)==1;f=f-2|0;if(!a){continue}break};break a;case 0:break d;default:break a}}if(f&1){v[b>>2]=v[v[(w[i|0]<<2)+j>>2]>>2];i=(i+k|0)+1|0;b=((h<<2)+b|0)+4|0;f=f-2|0}else{f=c}if(!c){break a}while(1){v[b>>2]=v[v[(w[i|0]<<2)+j>>2]>>2];a=h<<2;b=(a+b|0)+4|0;c=(i+k|0)+1|0;v[b>>2]=v[v[(w[c|0]<<2)+j>>2]>>2];b=(a+b|0)+4|0;i=(c+k|0)+1|0;a=(f|0)!=1;f=f-2|0;if(a){continue}break}}}function IV(a,b,c){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;a:{if(!v[a+5792>>2]){d=v[a+5820>>2];break a}l=a+5817|0;while(1){n=e+1|0;f=w[v[a+5784>>2]+e|0];o=a;k=x[v[a+5796>>2]+(e<<1)>>1];b:{c:{if(!k){d=(f<<2)+b|0;e=x[d+2>>1];h=x[d>>1];d=v[a+5820>>2];f=x[a+5816>>1]|h<>1]=f;if((d|0)>(16-e|0)){d=v[a+20>>2];v[a+20>>2]=d+1;t[d+v[a+8>>2]|0]=f;d=v[a+20>>2];v[a+20>>2]=d+1;t[d+v[a+8>>2]|0]=w[l|0];d=v[a+5820>>2];u[a+5816>>1]=h>>>16-d;d=(d+e|0)-16|0;break c}d=d+e|0;break c}m=w[f+876400|0];i=m<<2;d=i+b|0;e=x[d+1030>>1];h=x[d+1028>>1];g=v[a+5820>>2];d=x[a+5816>>1]|h<>1]=d;j=a;d:{if((g|0)>(16-e|0)){g=v[a+20>>2];v[a+20>>2]=g+1;t[g+v[a+8>>2]|0]=d;d=v[a+20>>2];v[a+20>>2]=d+1;t[d+v[a+8>>2]|0]=w[l|0];g=v[a+5820>>2];d=h>>>16-g|0;u[a+5816>>1]=d;e=(e+g|0)-16|0;break d}e=e+g|0}v[j+5820>>2]=e;if(m-8>>>0<=19){f=f-v[i+878368>>2]|0;j=a;i=v[i+878e3>>2];e:{if((16-i|0)<(e|0)){e=f<>1]=e;d=v[a+20>>2];v[a+20>>2]=d+1;t[d+v[a+8>>2]|0]=e;e=v[a+20>>2];v[a+20>>2]=e+1;t[e+v[a+8>>2]|0]=w[l|0];e=v[a+5820>>2];d=(f&65535)>>>16-e|0;u[a+5816>>1]=d;e=(e+i|0)-16|0;break e}d=f<>1]=d;e=e+i|0}v[j+5820>>2]=e}i=k-1|0;m=w[(i>>>0<256?i:(i>>>7|0)+256|0)+875888|0];k=m<<2;h=k+c|0;g=x[h+2>>1];j=d;d=x[h>>1];f=j|d<>1]=f;j=a;f:{if((16-g|0)<(e|0)){e=v[a+20>>2];v[a+20>>2]=e+1;t[e+v[a+8>>2]|0]=f;e=v[a+20>>2];v[a+20>>2]=e+1;t[e+v[a+8>>2]|0]=w[l|0];e=v[a+5820>>2];f=d>>>16-e|0;u[a+5816>>1]=f;d=(e+g|0)-16|0;break f}d=e+g|0}v[j+5820>>2]=d;if(m>>>0<4){break b}e=i-v[k+878496>>2]|0;h=v[k+878128>>2];if((16-h|0)<(d|0)){d=e<>1]=d;f=v[a+20>>2];v[a+20>>2]=f+1;t[f+v[a+8>>2]|0]=d;d=v[a+20>>2];v[a+20>>2]=d+1;t[d+v[a+8>>2]|0]=w[l|0];d=e&65535;e=v[a+5820>>2];u[a+5816>>1]=d>>>16-e;d=(e+h|0)-16|0;break c}u[a+5816>>1]=e<>2]=d}e=n;if(e>>>0>2]){continue}break}}c=x[b+1026>>1];b=x[b+1024>>1];e=x[a+5816>>1]|b<>1]=e;if((16-c|0)<(d|0)){d=v[a+20>>2];v[a+20>>2]=d+1;t[d+v[a+8>>2]|0]=e;e=v[a+20>>2];v[a+20>>2]=e+1;t[e+v[a+8>>2]|0]=w[a+5817|0];d=b;b=v[a+5820>>2];u[a+5816>>1]=d>>>16-b;v[a+5820>>2]=(b+c|0)-16;return}v[a+5820>>2]=c+d}function Bea(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;h=Qb-16|0;Qb=h;v[a>>2]=0;v[a+4>>2]=v[282402];i=b+16|0;a:{b:{c:{d:{e:{f:{g:{f=v[b+16>>2];if(f){g=v[f+8>>2]}else{g=0}g=g-v[b+24>>2]|0;if(!g){v[299999]=0;f=Z(4407,h|0,h+12|0,327680,1)|0;g=v[299999];v[299999]=0;if((g|0)==1){break g}while(1){g=v[v[b>>2]+8>>2];v[299999]=0;g=Y(g|0,b|0,v[h+12>>2],327680)|0;j=v[299999];v[299999]=0;if((j|0)==1){break f}if(!g){Lc(f);break c}g=v[i>>2];if(g){g=v[g+8>>2]}else{g=0}g=g-v[b+24>>2]|0;if(!g){continue}break}Lc(f);f=v[i>>2]}if(f){break e}j=-1;break d}b=P()|0;O()|0;break a}b=P()|0;O()|0;Lc(f);break a}j=v[b+24>>2];v[299999]=0;j=Ml(f,d<<24>>24,j);f=v[299999];v[299999]=0;h:{i:{j:{k:{if((f|0)!=1){if((j|0)<0){break d}d=v[b+24>>2];f=d+c|0;e=e+j|0;c=c?(e|0)>(f|0)?f:e:e;if((c|0)>(d|0)){break k}v[b+24>>2]=c;f=0;break j}b=P()|0;O()|0;break a}v[299999]=0;$(4568,h|0,i|0,d|0,c-d|0);d=v[299999];v[299999]=0;if((d|0)==1){break i}v[299999]=0;Q(4535,a|0,h|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){b=P()|0;O()|0;ec(h);break a}ec(h);g=v[a>>2];v[b+24>>2]=c;i=0;if(!g){f=0;break j}f=0;while(1){v[299999]=0;c=Ml(g,10,i);d=v[299999];v[299999]=0;if((d|0)==1){break h}if((c|0)<0){break j}f=f+1|0;i=c+1|0;g=v[a>>2];if(g){continue}break}}v[b+28>>2]=v[b+28>>2]+f;break c}b=P()|0;O()|0;break a}b=P()|0;O()|0;break a}f=v[b+24>>2];v[299999]=0;$(4568,h|0,i|0,f|0,g|0);f=v[299999];v[299999]=0;l:{m:{n:{if((f|0)!=1){v[299999]=0;Q(4535,a|0,h|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break n}ec(h);g=0;f=v[i>>2];if(f){k=v[f+8>>2]}v[b+24>>2]=k;i=v[a>>2];o:{if(!i){f=0;break o}f=0;while(1){v[299999]=0;g=Ml(i,10,g);i=v[299999];v[299999]=0;if((i|0)==1){break b}if((g|0)>=0){f=f+1|0;g=g+1|0;i=v[a>>2];if(i){continue}}break}k=v[b+24>>2]}v[b+28>>2]=v[b+28>>2]+f;f=v[v[b>>2]+36>>2];v[299999]=0;fa(f|0,h|0,b|0,(c?(c-j|0)+k|0:0)|0,d|0,e|0);b=v[299999];v[299999]=0;if((b|0)==1){break m}v[299999]=0;Q(4606,a|0,h|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break l}ec(h);break c}b=P()|0;O()|0;break a}b=P()|0;O()|0;ec(h);break a}b=P()|0;O()|0;break a}b=P()|0;O()|0;ec(h);break a}Qb=h+16|0;return}b=P()|0;O()|0}ec(a);T(b|0);L()}function Zi(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=-1;a:{b:{if(v[a+32>>2]|(!b|!a)){break b}f=v[a+24>>2];d=v[a+8>>2];if(!((f|0)==(d|0)|d>>>0>2147483646)){v[a+24>>2]=d;f=d}d=v[a+20>>2];e=v[a+4>>2];if(!((d|0)==(e|0)|e>>>0>2147483646)){v[a+20>>2]=e;d=e}h=v[a+12>>2];if((h|0)==2|(c|0)<-1){break b}if(!c){return 0}if((c|0)<=-1){c=0;if(!w[b|0]){return 0}g=b;while(1){c=c+1|0;e=w[g+1|0];g=g+1|0;if(e){continue}break}}e=(c+d|0)+2|0;if(e>>>0>f>>>0){if(!((h|0)!=5|e>>>0<1e7)){vo(a,351554);return-1}h=Qb-16|0;Qb=h;c:{if(v[a+32>>2]|!a){break c}f=v[a+24>>2];d=v[a+8>>2];if(!((f|0)==(d|0)|d>>>0>2147483646)){v[a+24>>2]=d;f=d}g=v[a+20>>2];d=v[a+4>>2];if(!((g|0)==(d|0)|d>>>0>2147483646)){v[a+20>>2]=d;g=d}i=v[a+12>>2];if((i|0)==2){break c}if(!((i|0)!=5|e>>>0<1e7)){v[h>>2]=351554;oc(0,0,0,0,0,29,2,3,351554,0,0,0,350051,h);if(v[a+32>>2]){break c}v[a+32>>2]=2;break c}j=1;if(e>>>0>>0){break c}d:{e:{f:{g:{h:{i:{switch(i|0){case 0:case 3:d=f?f<<1:e+10|0;if(e>>>0<=d>>>0){break h}while(1){if((d|0)<=-1){vo(a,239837);j=0;break c}d=d<<1;if(e>>>0>d>>>0){continue}break};break h;case 4:if(g>>>0<4096){d=e;break f}d=f;while(1){d=d<<1;if(e>>>0<=d>>>0){break h}if((d|0)>-1){continue}break};vo(a,239837);j=0;break c;case 1:break g;default:break i}}d=e+10|0}if((i|0)!=3){break f}e=v[a+16>>2];if(!e){break f}i=v[a>>2];f=i-e|0;if(f>>>0>d>>>0){Wd(e,i,g);f=v[a+16>>2];v[a>>2]=f;t[f+v[a+20>>2]|0]=0;break e}g=Ub[v[259709]](e,d+f|0)|0;if(!g){vo(a,239837);j=0;break c}v[a+16>>2]=g;v[a>>2]=f+g;break e}d=e+10|0}j:{k:{e=v[a>>2];l:{if(!e){f=Ub[v[259707]](d)|0;break l}if(f-g>>>0>99){break k}f=Ub[v[259709]](e,d)|0}if(f){break j}break d}f=Ub[v[259707]](d)|0;if(!f){break d}g=gc(f,v[a>>2],v[a+20>>2]);Ub[v[259708]](v[a>>2]);t[g+v[a+20>>2]|0]=0}v[a>>2]=f}v[a+24>>2]=d;v[a+8>>2]=d>>>0<2147483647?d:2147483647;d=v[a+20>>2];v[a+4>>2]=d>>>0<2147483647?d:2147483647;break c}vo(a,239837);j=0}Qb=h+16|0;if(!j){break a}d=v[a+20>>2]}Wd(v[a>>2]+d|0,b,c);b=v[a+20>>2]+c|0;v[a+20>>2]=b;g=0;t[b+v[a>>2]|0]=0;b=v[a+24>>2];v[a+8>>2]=b>>>0<2147483647?b:2147483647;b=a;a=v[a+20>>2];v[b+4>>2]=a>>>0<2147483647?a:2147483647}return g}vo(a,239837);return 2}function jFa(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,p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0;t[a+224|0]=0;t[a+225|0]=0;t[a+226|0]=0;t[a+227|0]=0;t[a+228|0]=0;t[a+229|0]=0;t[a+230|0]=0;t[a+231|0]=0;t[a+248|0]=0;t[a+249|0]=0;t[a+250|0]=0;t[a+251|0]=0;t[a+252|0]=0;t[a+253|0]=0;t[a+254|0]=0;t[a+255|0]=0;t[a+240|0]=0;t[a+241|0]=0;t[a+242|0]=0;t[a+243|0]=0;t[a+244|0]=0;t[a+245|0]=0;t[a+246|0]=0;t[a+247|0]=0;t[a+232|0]=0;t[a+233|0]=0;t[a+234|0]=0;t[a+235|0]=0;t[a+236|0]=0;t[a+237|0]=0;t[a+238|0]=0;t[a+239|0]=0;f=a;while(1){d=v[(m<<2)+b>>2]+c|0;h=w[d|0];e=w[d+3|0];i=w[d+10|0];z=e-i|0;l=w[d+13|0];g=h-l|0;p=w[d+2|0];q=w[d+11|0];j=p-q|0;r=w[d+1|0];s=w[d+12|0];k=r-s|0;A=j+k|0;u=w[d+5|0];x=w[d+8|0];n=u-x|0;y=w[d+4|0];C=w[d+9|0];o=y-C|0;D=n-o|0;E=w[d+6|0];F=w[d+7|0];d=E-F|0;v[f+28>>2]=z+g-((A+D|0)+d)<<2;y=y+C|0;p=p+q|0;q=y+p|0;e=e+i|0;i=u+x|0;r=r+s|0;s=i+r|0;u=E+F|0;l=h+l|0;x=u+l|0;v[f>>2]=(((q+e|0)+s|0)+x<<2)-7168;h=e<<1;v[f+16>>2]=((B(q-h|0,-7223)+B(s-h|0,2578)|0)+B(x-h|0,10438)|0)+1024>>11;e=l-u|0;i=r-i|0;l=B(e+i|0,9058)+1024|0;h=p-y|0;v[f+24>>2]=(l+B(h,-11295)|0)+B(i,-14084)>>11;v[f+8>>2]=(l+B(h,5027)|0)+B(e,2237)>>11;h=z<<13;e=((B(D,11512)-h|0)+B(A,-1297)|0)+1024|0;i=(e+B(j,-19447)|0)+B(o,9175)|0;j=B(d+o|0,6164)+B(g+j|0,9810)|0;v[f+20>>2]=i+j>>11;e=(e+B(k,-3474)|0)+B(n,-25148)|0;k=B(n-d|0,3826)+B(g+k|0,10935)|0;v[f+12>>2]=e+k>>11;v[f+4>>2]=(j+((d+(h+k|0)|0)+B(d+g|0,-9232)|0)|0)+1024>>11;f=f+32|0;d=7;m=m+1|0;if((m|0)!=7){continue}break}while(1){j=v[a+128>>2];k=v[a+64>>2];f=j+k|0;n=v[a+192>>2];o=v[a>>2];g=n+o|0;e=f+g|0;c=v[a+96>>2];m=v[a+160>>2];h=v[a+32>>2];b=m+h|0;v[a>>2]=B(e+(c+b|0)|0,10700)+32768>>16;e=B(e-(c<<2)|0,3783);i=B(g-b|0,9434)+32768|0;g=B(g-f|0,9850);v[a+192>>2]=e+(i-g|0)>>16;f=B(b-f|0,3367);v[a+128>>2]=(f+i|0)+B(b-(c<<1)|0,-7566)>>16;v[a+64>>2]=(e+(f+g|0)|0)+32768>>16;b=k-j|0;c=o-n|0;f=B(b+c|0,6565)+32768|0;e=f+B(b,20017)|0;g=b;b=h-m|0;g=B(g+b|0,-14752);v[a+160>>2]=e+g>>16;e=g;g=B(c-b|0,1822);b=B(b+c|0,10009);v[a+96>>2]=((e+g|0)+b|0)+32768>>16;v[a+32>>2]=b+(f-g|0)>>16;b=d;d=d-1|0;a=a+4|0;if(b){continue}break}}function eS(a,b){var c=0,d=0,e=0,f=0;c=Qb+-64|0;Qb=c;v[c+48>>2]=13;v[c+32>>2]=13;v[c+16>>2]=13;v[c>>2]=13;a:{if(v[a>>2]!=7){kc(0,-1,247204,0);break a}rc(v[a+8>>2],310906,c+48|0,0);b:{c:{if(v[c+48>>2]==4){e=v[c+56>>2];if(!mc(e,244465)){b=v[a+8>>2];a=c+32|0;rc(b,321761,a,0);d=fc(12);v[299999]=0;a=Q(3737,d|0,a|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break c}hc(c+32|0);break b}if(!mc(e,310913)){b=c+32|0;rc(v[a+8>>2],321049,b,0);d=v[a+8>>2];a=c+16|0;rc(d,321761,a,0);d=fc(16);v[299999]=0;a=Y(3738,d|0,b|0,a|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){hc(c+32|0);hc(c+16|0);break b}break c}if(!mc(e,270248)){d=fc(12);v[299999]=0;a=Q(3739,d|0,a|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break b}break c}if(!mc(e,320669)){d=v[a+8>>2];a=c+32|0;rc(d,320669,a,0);d=fc(8);v[299999]=0;a=Y(3740,d|0,a|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){hc(c+32|0);break b}break c}if(!mc(e,291259)){b=v[a+8>>2];a=c+32|0;rc(b,316328,a,0);d=fc(8);v[299999]=0;a=Q(3741,d|0,a|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){hc(c+32|0);break b}break c}if(!mc(e,283066)){b=c+32|0;Ce(v[a+8>>2],227660,b);d=v[a+8>>2];a=c+16|0;rc(d,310537,a,0);d=fc(16);v[299999]=0;a=Y(3742,d|0,b|0,a|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){hc(c+32|0);hc(c+16|0);break b}break c}if(!mc(e,227537)){b=v[a+8>>2];a=c+32|0;rc(b,310706,a,0);d=fc(8);v[299999]=0;a=Q(3743,d|0,a|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){hc(c+32|0);break b}break c}if(!mc(e,255678)){b=c+32|0;rc(v[a+8>>2],321049,b,0);e=c+16|0;rc(v[a+8>>2],236940,e,0);rc(v[a+8>>2],236357,c,0);d=fc(32);v[299999]=0;a=Z(3744,d|0,b|0,e|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){hc(c+32|0);hc(c+16|0);hc(c);break b}break c}if(!mc(e,284780)){b=c+32|0;Ce(v[a+8>>2],310537,b);d=v[a+8>>2];a=c+16|0;rc(d,320879,a,0);d=fc(32);v[299999]=0;a=Y(3745,d|0,b|0,a|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){hc(c+32|0);hc(c+16|0);break b}break c}d=fc(8);v[299999]=0;a=Q(3746,d|0,e|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break b}break c}kc(0,-1,247204,0);hc(c+48|0);break a}a=P()|0;O()|0;dc(d);T(a|0);L()}hc(c+48|0);if(Ub[v[v[a>>2]+8>>2]](a)|0){f=a;break a}Ub[v[v[a>>2]+4>>2]](a)}Qb=c- -64|0;return f}function bE(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{switch(b-1|0){case 1:d=A[a+120>>3];f=A[a+112>>3];b=v[a+212>>2];g=v[b+8>>2];if((g|0)>=1){h=v[b>>2];b=0;while(1){c=v[h+(b<<2)>>2];e=A[c+16>>3];A[c+16>>3]=f-A[c>>3];A[c>>3]=f-e;e=A[c+24>>3];A[c+24>>3]=d-A[c+8>>3];A[c+8>>3]=d-e;b=b+1|0;if((g|0)!=(b|0)){continue}break}f=A[a+112>>3];d=A[a+120>>3]}a=v[a+216>>2];c=v[a+8>>2];if((c|0)<1){break a}g=v[a>>2];b=0;while(1){a=v[g+(b<<2)>>2];e=A[a+16>>3];A[a+16>>3]=f-A[a>>3];A[a>>3]=f-e;e=A[a+24>>3];A[a+24>>3]=d-A[a+8>>3];A[a+8>>3]=d-e;b=b+1|0;if((c|0)!=(b|0)){continue}break};break a;case 0:d=A[a+112>>3];b=v[a+212>>2];g=v[b+8>>2];if((g|0)>=1){h=v[b>>2];b=0;while(1){c=v[h+(b<<2)>>2];f=A[c+16>>3];A[c+16>>3]=A[c+24>>3];e=A[c>>3];A[c>>3]=A[c+8>>3];A[c+24>>3]=d-e;A[c+8>>3]=d-f;v[c+32>>2]=!v[c+32>>2];b=b+1|0;if((g|0)!=(b|0)){continue}break}d=A[a+112>>3]}a=v[a+216>>2];g=v[a+8>>2];if((g|0)<1){break a}h=v[a>>2];b=0;if((g|0)!=1){c=g&-2;while(1){i=b<<2;a=v[i+h>>2];f=A[a+16>>3];A[a+16>>3]=A[a+24>>3];e=A[a>>3];A[a>>3]=A[a+8>>3];A[a+24>>3]=d-e;A[a+8>>3]=d-f;a=v[h+(i|4)>>2];f=A[a+16>>3];A[a+16>>3]=A[a+24>>3];e=A[a>>3];A[a>>3]=A[a+8>>3];A[a+24>>3]=d-e;A[a+8>>3]=d-f;b=b+2|0;c=c-2|0;if(c){continue}break}}if(!(g&1)){break a}a=v[h+(b<<2)>>2];f=A[a+16>>3];A[a+16>>3]=A[a+24>>3];e=A[a>>3];A[a>>3]=A[a+8>>3];A[a+24>>3]=d-e;A[a+8>>3]=d-f;return;case 2:break b;default:break a}}d=A[a+120>>3];b=v[a+212>>2];g=v[b+8>>2];if((g|0)>=1){h=v[b>>2];b=0;while(1){c=v[h+(b<<2)>>2];f=A[c+24>>3];A[c+24>>3]=A[c+16>>3];e=A[c+8>>3];A[c+8>>3]=A[c>>3];A[c+16>>3]=d-e;A[c>>3]=d-f;v[c+32>>2]=!v[c+32>>2];b=b+1|0;if((g|0)!=(b|0)){continue}break}d=A[a+120>>3]}a=v[a+216>>2];g=v[a+8>>2];if((g|0)<1){break a}h=v[a>>2];b=0;if((g|0)!=1){c=g&-2;while(1){i=b<<2;a=v[i+h>>2];f=A[a+24>>3];A[a+24>>3]=A[a+16>>3];e=A[a+8>>3];A[a+8>>3]=A[a>>3];A[a+16>>3]=d-e;A[a>>3]=d-f;a=v[h+(i|4)>>2];f=A[a+8>>3];A[a+8>>3]=A[a>>3];e=A[a+24>>3];A[a+24>>3]=A[a+16>>3];A[a>>3]=d-e;A[a+16>>3]=d-f;b=b+2|0;c=c-2|0;if(c){continue}break}}if(!(g&1)){break a}a=v[h+(b<<2)>>2];f=A[a+24>>3];A[a+24>>3]=A[a+16>>3];e=A[a+8>>3];A[a+8>>3]=A[a>>3];A[a+16>>3]=d-e;A[a>>3]=d-f}}function mSa(a){a=a|0;var b=0,c=0,d=0,e=C(0),f=C(0),g=0,h=C(0),i=C(0),j=C(0),k=C(0),l=C(0),m=C(0),n=C(0),o=0,p=0;o=Qb-16|0;Qb=o;p=a+212|0;g=aH(o,p);a=v[g>>2];b=v[a+36>>2];h=z[b+28>>2];c=v[a+12>>2];i=z[c+28>>2];j=z[b+12>>2];e=z[b+4>>2];d=v[a>>2];k=z[d+28>>2];l=z[d+4>>2];m=z[c+4>>2];n=z[d+12>>2];f=C(z[d+24>>2]+z[b>>2]);z[c+8>>2]=C(C(C(C(C(C(z[d+8>>2]+z[c>>2])*C(6))-C(z[d>>2]*C(4)))-C(f+f))+C(C(z[b+8>>2]+z[c+24>>2])*C(3)))-z[b+24>>2])*C(.1111111119389534);e=C(k+e);z[c+12>>2]=C(C(C(C(C(C(n+m)*C(6))-C(l*C(4)))-C(e+e))+C(C(j+i)*C(3)))-h)*C(.1111111119389534);b=v[a+36>>2];h=z[b+4>>2];c=v[a+12>>2];i=z[c+4>>2];j=z[b+20>>2];d=v[a>>2];e=z[d+4>>2];k=z[b+28>>2];l=z[d+28>>2];m=z[c+28>>2];n=z[d+20>>2];f=C(z[d>>2]+z[b+24>>2]);z[c+16>>2]=C(C(C(C(C(C(z[d+16>>2]+z[c+24>>2])*C(6))-C(z[d+24>>2]*C(4)))-C(f+f))+C(C(z[b+16>>2]+z[c>>2])*C(3)))-z[b>>2])*C(.1111111119389534);e=C(e+k);z[c+20>>2]=C(C(C(C(C(C(n+m)*C(6))-C(l*C(4)))-C(e+e))+C(C(j+i)*C(3)))-h)*C(.1111111119389534);b=v[a>>2];h=z[b+28>>2];c=v[a+24>>2];i=z[c+28>>2];j=z[b+12>>2];e=z[b+4>>2];d=v[a+36>>2];k=z[d+28>>2];l=z[d+4>>2];m=z[c+4>>2];n=z[d+12>>2];f=C(z[d+24>>2]+z[b>>2]);z[c+8>>2]=C(C(C(C(C(C(z[d+8>>2]+z[c>>2])*C(6))-C(z[d>>2]*C(4)))-C(f+f))+C(C(z[b+8>>2]+z[c+24>>2])*C(3)))-z[b+24>>2])*C(.1111111119389534);e=C(k+e);z[c+12>>2]=C(C(C(C(C(C(n+m)*C(6))-C(l*C(4)))-C(e+e))+C(C(j+i)*C(3)))-h)*C(.1111111119389534);b=v[a>>2];h=z[b+4>>2];c=v[a+24>>2];i=z[c+4>>2];j=z[b+20>>2];d=v[a+36>>2];e=z[d+4>>2];k=z[b+28>>2];l=z[d+28>>2];m=z[c+28>>2];n=z[d+20>>2];f=C(z[d>>2]+z[b+24>>2]);z[c+16>>2]=C(C(C(C(C(C(z[d+16>>2]+z[c+24>>2])*C(6))-C(z[d+24>>2]*C(4)))-C(f+f))+C(C(z[b+16>>2]+z[c>>2])*C(3)))-z[b>>2])*C(.1111111119389534);e=C(e+k);z[c+20>>2]=C(C(C(C(C(C(n+m)*C(6))-C(l*C(4)))-C(e+e))+C(C(j+i)*C(3)))-h)*C(.1111111119389534);a:{if((g|0)!=(p|0)){b=v[g+4>>2];v[299999]=0;U(2465,p|0,a|0,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}b=v[g>>2];if(b){a=v[g+4>>2];if((b|0)==(a|0)){a=b}else{while(1){c=a-12|0;d=v[c>>2];if(d){v[a-8>>2]=d;dc(d)}a=c;if((c|0)!=(b|0)){continue}break}a=v[g>>2]}v[g+4>>2]=b;dc(a)}Qb=o+16|0;return}a=P()|0;O()|0;Vh(g);T(a|0);L()}function Q5a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=Qb-144|0;Qb=c;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],200896,0)|0;d=v[a>>2];b=v[d+8>>2];e=v[a+4>>2];Ub[b|0](e,(Ub[v[d+28>>2]](e)<<2)-1|0,1)|0;u[a+25204>>1]=19789;v[c+96>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+96|0,1,4)|0;d=w[c+96|0];if(x[a+25204>>1]==18761){d=d|w[c+97|0]<<8|w[c+98|0]<<16|w[c+99|0]<<24}else{d=w[c+99|0]|(w[c+97|0]<<16|d<<24|w[c+98|0]<<8)}Ub[v[v[a>>2]+8>>2]](v[a+4>>2],164600,0)|0;b=c+96|0;Ub[v[v[a>>2]>>2]](v[a+4>>2],b,1,40)|0;VI(b,10,1,d);j=x[c+118>>1]|x[c+120>>1]<<16;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],v[a+26048>>2],0)|0;a:{b:{b=x[a+26306>>1];d=bd(b,2);if(d){if(x[a+26308>>1]){break b}b=0;break a}d=v[a+190640>>2];c:{if(d){b=v[a+25208>>2];v[c+20>>2]=49688;v[c+16>>2]=b;zd(d,4338,c+16|0);break c}d=v[a+25208>>2];v[c+4>>2]=49688;v[c>>2]=d;wc(v[252391],4338,c)}sd(a+190484|0,1);L()}f=v[252391];while(1){e=d;g=Ub[v[v[a>>2]>>2]](v[a+4>>2],d,2,b&65535)|0;b=x[a+26306>>1];if((g|0)<(b|0)){d:{if(v[a+26160>>2]){break d}v[c+80>>2]=v[a+25208>>2];wc(f,8292,c+80|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,f);break d}b=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[c+64>>2]=b;v[c+68>>2]=b>>31;wc(f,14622,c- -64|0)}v[a+26160>>2]=1;b=x[a+26306>>1]}VI(e,(b&65534)>>>1|0,!h,j);b=9;e=x[a+26314>>1];if(e>>>0>9){while(1){g=x[(b<<1)+d>>1];v[a+26120>>2]=v[a+26120>>2]+((g<<8|g>>>8)&65535);b=b+1|0;if((e|0)!=(b|0)){continue}break}}e:{if(!x[a+26310>>1]){break e}g=h<<1&14;b=0;while(1){i=x[a+26316>>1];e=x[(b+e<<1)+d>>1];e=(e<<8|e>>>8)&65535;u[(v[a+26352>>2]+(B(x[a+26320>>1],h>>>i|0)+(b>>>i|0)<<3)|0)+((v[a+26028>>2]>>>((g|b&1)<<1)&3)<<1)>>1]=e;if(e>>>0>=16384){f:{if(v[a+26160>>2]){break f}v[c+48>>2]=v[a+25208>>2];wc(f,8292,c+48|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,f);break f}e=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[c+32>>2]=e;v[c+36>>2]=e>>31;wc(f,14622,c+32|0)}v[a+26160>>2]=1}b=b+1|0;if(b>>>0>=x[a+26310>>1]){break e}e=x[a+26314>>1];continue}}b=x[a+26308>>1];h=h+1|0;if(b>>>0<=h>>>0){break a}b=x[a+26306>>1];continue}}dc(d);d=x[a+26314>>1];if(d>>>0>=10){v[a+26120>>2]=y[a+26120>>2]/(B(d-9|0,b)>>>0)}v[a+26124>>2]=16368;Qb=c+144|0}function nsa(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,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;i=Qb-16|0;Qb=i;v[i+8>>2]=f;v[i+12>>2]=e;j=v[a+4>>2];if(j){a:{a=Qb-80|0;Qb=a;b:{e=v[j+16>>2];if(e){k=Ub[v[v[e>>2]+52>>2]](e)|0;e=km();f=v[j+16>>2];p=e,q=Ub[v[v[f>>2]+24>>2]](f)|0,o=v[v[e>>2]+24>>2],Ub[o](p|0,q|0);Ub[v[v[k>>2]+68>>2]](k,e);g=us();Ub[v[v[g>>2]+428>>2]](g,k);e=v[j+12>>2];v[a+8>>2]=0;v[a+76>>2]=0;v[a+72>>2]=0;It(e,b,a+8|0,a+76|0,a+72|0);e=v[a+8>>2];A[a+64>>3]=e|0;f=v[a+76>>2];A[a+56>>3]=f|0;n=+v[a+72>>2];m=a;l=v[i+12>>2];c:{if((l|0)>=1){h=+(l|0);break c}h=+(B(e,96)|0)/n}d:{if(D(h)<2147483648){e=~~h;break d}e=-2147483648}v[m+76>>2]=e;m=a;l=v[i+8>>2];e:{if((l|0)>=1){h=+(l|0);break e}h=+(B(f,96)|0)/n}f:{if(D(h)<2147483648){f=~~h;break f}f=-2147483648}v[m+72>>2]=f;e=B(e,f)<<2;f=ic(fc(e),255,e);e=a+8|0;v[e>>2]=0;v[e+4>>2]=0;t[e+40|0]=0;v[e+32>>2]=0;v[e+36>>2]=-1074790400;t[e+21|0]=0;t[e+22|0]=0;t[e+23|0]=0;t[e+24|0]=0;t[e+25|0]=0;t[e+26|0]=0;t[e+27|0]=0;t[e+28|0]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;v[299999]=0;v[e+16>>2]=f;f=v[299999];v[299999]=0;if((f|0)==1){break b}v[299999]=0;v[e+4>>2]=v[a+76>>2];f=v[299999];v[299999]=0;if((f|0)==1){break b}v[299999]=0;v[e+8>>2]=v[a+72>>2];f=v[299999];v[299999]=0;if((f|0)==1){break b}v[299999]=0;v[a+4>>2]=0-(v[a+76>>2]<<2);v[e+12>>2]=v[a+4>>2];f=v[299999];v[299999]=0;if((f|0)==1){break b}f=v[v[g>>2]+456>>2];v[299999]=0;V(f|0,g|0,e|0);f=v[299999];v[299999]=0;if((f|0)==1){break b}f=v[v[g>>2]+448>>2];v[299999]=0;V(f|0,g|0,0);f=v[299999];v[299999]=0;if((f|0)==1){break b}f=v[v[g>>2]+36>>2];v[299999]=0;Q(f|0,g|0,a- -64|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break b}f=v[v[g>>2]+28>>2];v[299999]=0;Q(f|0,g|0,a+56|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break b}v[299999]=0;$(4380,j|0,g|0,b|0,a|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}v[299999]=0;Y(3046,e|0,c|0,d|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}b=v[v[k>>2]+12>>2];v[299999]=0;S(b|0,k|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}Ub[v[v[g>>2]+4>>2]](g);Ze(e)}Qb=a+80|0;break a}a=P()|0;O()|0;Ze(e);T(a|0);L()}}Qb=i+16|0}function Bv(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=v[a+24>>2];g=v[e+4>>2];f=v[e>>2];v[a+228>>2]=d;v[a+224>>2]=c;v[a+220>>2]=b;a:{if(!g){if(!(Ub[v[e+12>>2]](a)|0)){break a}f=v[e>>2];g=v[e+4>>2]}i=w[f|0];b=g-1|0;if(b){c=f+1|0}else{if(!(Ub[v[e+12>>2]](a)|0)){break a}b=v[e+4>>2];c=v[e>>2]}g=w[c|0];d=a;f=b-1|0;if(f){b=c+1|0}else{if(!(Ub[v[e+12>>2]](a)|0)){break a}f=v[e+4>>2];b=v[e>>2]}v[d+212>>2]=w[b|0];d=a;f=f-1|0;if(f){c=b+1|0}else{if(!(Ub[v[e+12>>2]](a)|0)){break a}f=v[e+4>>2];c=v[e>>2]}b=w[c|0]<<8;v[d+32>>2]=b;d=a;f=f-1|0;if(f){c=c+1|0}else{if(!(Ub[v[e+12>>2]](a)|0)){break a}b=v[a+32>>2];f=v[e+4>>2];c=v[e>>2]}v[d+32>>2]=w[c|0]+b;h=a;f=f-1|0;if(f){c=c+1|0}else{if(!(Ub[v[e+12>>2]](a)|0)){break a}f=v[e+4>>2];c=v[e>>2]}b=w[c|0]<<8;v[h+28>>2]=b;f=f-1|0;if(f){c=c+1|0}else{if(!(Ub[v[e+12>>2]](a)|0)){break a}b=v[a+28>>2];f=v[e+4>>2];c=v[e>>2]}h=b;b=c;v[d+28>>2]=h+w[b|0];d=a;c=f-1|0;if(c){b=b+1|0}else{if(!(Ub[v[e+12>>2]](a)|0)){break a}c=v[e+4>>2];b=v[e>>2]}v[d+36>>2]=w[b|0];d=v[a>>2];v[d+24>>2]=v[a+436>>2];v[d+28>>2]=v[a+28>>2];v[d+32>>2]=v[a+32>>2];f=v[a+36>>2];v[d+20>>2]=102;v[d+36>>2]=f;Ub[v[d+4>>2]](a,1);if(v[v[a+460>>2]+16>>2]){d=v[a>>2];v[d+20>>2]=60;Ub[v[d>>2]](a)}d=(g|i<<8)-8|0;b:{if(!(!v[a+32>>2]|!v[a+28>>2])){g=v[a+36>>2];if((g|0)>0){break b}}g=v[a>>2];v[g+20>>2]=33;Ub[v[g>>2]](a);g=v[a+36>>2]}if((d|0)!=(B(g,3)|0)){d=v[a>>2];v[d+20>>2]=12;Ub[v[d>>2]](a)}g=v[a+216>>2];if(!g){g=Ub[v[v[a+4>>2]>>2]](a,1,B(v[a+36>>2],88))|0;v[a+216>>2]=g}b=b+1|0;f=c-1|0;if(v[a+36>>2]>=1){c=0;while(1){v[g+4>>2]=c;if(!f){if(!(Ub[v[e+12>>2]](a)|0)){break a}f=v[e+4>>2];b=v[e>>2]}v[g>>2]=w[b|0];h=g;d=f-1|0;if(d){b=b+1|0}else{if(!(Ub[v[e+12>>2]](a)|0)){break a}d=v[e+4>>2];b=v[e>>2]}i=w[b|0];v[h+12>>2]=i&15;v[g+8>>2]=i>>>4;h=g;d=d-1|0;if(d){f=b+1|0}else{if(!(Ub[v[e+12>>2]](a)|0)){break a}d=v[e+4>>2];f=v[e>>2]}v[h+16>>2]=w[f|0];b=v[a>>2];v[b+24>>2]=v[g>>2];v[b+28>>2]=v[g+8>>2];v[b+32>>2]=v[g+12>>2];i=v[g+16>>2];v[b+20>>2]=103;v[b+36>>2]=i;Ub[v[b+4>>2]](a,1);b=f+1|0;f=d-1|0;g=g+88|0;c=c+1|0;if((c|0)>2]){continue}break}}v[v[a+460>>2]+16>>2]=1;v[e+4>>2]=f;v[e>>2]=b;return 1}return 0}function q8a(a,b){a=a|0;b=b|0;var 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,u=0,x=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;if(w[b+32|0]){return _d(a,v[b>>2],0,0)|0}c=v[a+428>>2];t[c+8|0]=w[b+33|0];E=c+8|0;a:{if(!v[b+36>>2]){h=1;break a}C=w[b+33|0]==16?25:17;e=v[b+40>>2];A=v[e+28>>2];t[c+9|0]=w[e|0];b:{if(w[b+33|0]!=16){i=26;h=25;f=24;j=23;k=22;l=21;m=20;n=19;o=18;p=17;q=16;r=15;s=14;u=13;x=12;z=11;g=e+8|0;B=c+10|0;break b}q=24;d=v[e+4>>2];d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);t[c+10|0]=d;t[c+11|0]=d>>>8;t[c+12|0]=d>>>16;t[c+13|0]=d>>>24;d=v[e+8>>2];d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);t[c+14|0]=d;t[c+15|0]=d>>>8;t[c+16|0]=d>>>16;t[c+17|0]=d>>>24;i=34;h=33;f=32;j=31;k=30;l=29;m=28;n=27;o=26;p=25;r=23;s=22;u=21;x=20;z=19;g=e+12|0;B=c+18|0}d=v[g>>2];t[B|0]=d>>>24;t[c+z|0]=d>>>16;t[c+x|0]=d>>>8;t[c+u|0]=d;d=v[e+16>>2];t[c+s|0]=d>>>24;t[c+r|0]=d>>>16;t[c+q|0]=d>>>8;t[c+p|0]=d;d=v[e+20>>2];t[c+o|0]=d>>>24;t[c+n|0]=d>>>16;t[c+m|0]=d>>>8;t[c+l|0]=d;d=v[e+24>>2];t[c+k|0]=d>>>24;t[c+j|0]=d>>>16;t[c+f|0]=d>>>8;t[c+h|0]=d;c=c+i|0;d=v[e+28>>2];if(d){c=gc(c,v[e+32>>2],d)+v[e+28>>2]|0}h=(A+C|0)+1|0;if(y[b+36>>2]<2){break a}i=1;while(1){t[c|0]=0;F=v[e- -64>>2];t[c+1|0]=w[e+36|0];g=c+1|0;B=c;c:{if(w[b+33|0]==16){j=24;f=v[e+40>>2];f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);t[c+2|0]=f;t[c+3|0]=f>>>8;t[c+4|0]=f>>>16;t[c+5|0]=f>>>24;f=v[e+44>>2];f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);t[c+6|0]=f;t[c+7|0]=f>>>8;t[c+8|0]=f>>>16;t[c+9|0]=f>>>24;k=e+48|0;l=25;m=23;n=22;o=21;p=20;q=19;r=18;s=17;u=16;x=15;z=14;f=13;A=12;D=11;c=10;break c}k=e+44|0;l=17;j=16;m=15;n=14;o=13;p=12;q=11;r=10;s=9;u=8;x=7;z=6;f=5;A=4;D=3;c=2}d=v[k>>2];t[B+c|0]=d>>>24;t[c+g|0]=d>>>16;t[g+D|0]=d>>>8;t[g+A|0]=d;c=v[e+52>>2];t[f+g|0]=c>>>24;t[g+z|0]=c>>>16;t[g+x|0]=c>>>8;t[g+u|0]=c;c=v[e+56>>2];t[g+s|0]=c>>>24;t[g+r|0]=c>>>16;t[g+q|0]=c>>>8;t[g+p|0]=c;c=v[e+60>>2];t[g+o|0]=c>>>24;t[g+n|0]=c>>>16;t[g+m|0]=c>>>8;t[g+j|0]=c;c=g+l|0;d=v[e+64>>2];if(d){c=gc(c,v[e+68>>2],d)+v[e+64>>2]|0}h=((h+C|0)+F|0)+1|0;e=e+36|0;i=i+1|0;if(i>>>0>2]){continue}break}}return _d(a,v[b>>2],h,E)|0}function Wna(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Qb+-64|0;Qb=d;rD(d+56|0,a);a:{b:{c:{f=d;e=v[d+56>>2];a=v[e+8>>2];if(a){v[299999]=0;v[a+4>>2]=v[a+4>>2]+1;a=v[299999];v[299999]=0;if((a|0)==1){break c}a=v[e+8>>2]}else{a=0}v[f+48>>2]=a;d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{if(!c){v[299999]=0;c=v[a+16>>2];e=v[299999];v[299999]=0;if((e|0)==1){break n}if((c|0)<2){break m}}v[299999]=0;V(4775,v[d+56>>2],b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break l}}a=P()|0;O()|0;break d}v[299999]=0;U(4595,d+32|0,a|0,0);c=v[299999];v[299999]=0;if((c|0)==1){break e}c=v[d+40>>2];v[d+16>>2]=c;v[d+20>>2]=d+32;if(!c){v[299999]=0;V(4468,d+16|0,d+32|0);a=v[299999];v[299999]=0;if((a|0)==1){break k}L()}e=v[d+56>>2];c=v[c+8>>2];v[299999]=0;U(4603,d+24|0,e|0,c+36|0);c=v[299999];v[299999]=0;if((c|0)==1){break k}v[299999]=0;V(4591,d+8|0,v[d+24>>2]);c=v[299999];v[299999]=0;if((c|0)==1){break j}b=v[b>>2];v[299999]=0;Y(4776,b|0,983456,4)|0;c=v[299999];v[299999]=0;if((c|0)==1){break i}v[299999]=0;Y(4604,b|0,v[d+8>>2],0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break i}b=v[d+8>>2];v[d+8>>2]=0;o:{if(!b){break o}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(c){break o}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[d+24>>2];v[d+24>>2]=0;p:{if(!b){break p}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(c){break p}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}Ic(d+32|0)}if(!a){break f}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break f}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break f}}break a}a=P()|0;O()|0;break g}a=P()|0;O()|0;break h}a=P()|0;O()|0;ec(d+8|0)}ec(d+24|0)}Ic(d+32|0);break d}a=v[d+56>>2];v[d+56>>2]=0;q:{if(!a){break q}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break q}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Qb=d- -64|0;return}a=P()|0;O()|0}ec(d+48|0);break b}a=P()|0;O()|0}ec(d+56|0);T(a|0);L()}W(0)|0;O()|0;lc();L()}function o2(a,b){var 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;a:{b:{a=v[a+12>>2];d=v[a+44>>2];c:{if(!d){break c}g=v[a+48>>2];k=g+B(d,716)|0;if(!b){while(1){a=v[g>>2];if(a){e=v[g+4>>2];h=e+(a<<6)|0;while(1){d=v[e+56>>2];d:{if(!d){break d}a=v[e+52>>2];if(!a){break d}i=B(a,36)+d|0;while(1){if(!(!v[d+4>>2]|v[e+32>>2]<1)){b=v[d>>2];f=0;while(1){e:{if(!v[b+28>>2]){break e}cB(v[b+32>>2]);cB(v[b+36>>2]);c=v[b+24>>2];if(!c){break e}a=v[b+28>>2];j=a+B(c,60)|0;while(1){if(Dm(v[a+20>>2])){break b}c=v[a>>2]<1?0:v[a+4>>2];v[a+16>>2]=3;v[a+8>>2]=0;v[a+40>>2]=c;c=v[d+12>>2]-v[a+36>>2]|0;v[a+12>>2]=c;if((c|0)<0){break a}c=v[b+36>>2];aB(c,v[c+12>>2]+((a-v[b+28>>2]|0)/60<<4)|0,v[a+12>>2]);a=a+60|0;if((j|0)!=(a|0)){continue}break}}b=b+52|0;f=f+1|0;if((f|0)>2]){continue}break}}d=d+36|0;if((i|0)!=(d|0)){continue}break}}e=e- -64|0;if((h|0)!=(e|0)){continue}break}}g=g+716|0;if((k|0)!=(g|0)){continue}break c}}while(1){a=v[g>>2];if(a){f=v[g+4>>2];i=f+(a<<6)|0;while(1){e=v[f+56>>2];f:{if(!e){break f}a=v[f+52>>2];if(!a){break f}j=B(a,36)+e|0;while(1){if(!(!v[e+4>>2]|v[f+32>>2]<1)){d=v[e>>2];h=0;while(1){g:{if(!v[d+28>>2]){break g}cB(v[d+32>>2]);cB(v[d+36>>2]);a=v[d+24>>2];if(!a){break g}c=v[d+28>>2];o=c+B(a,60)|0;while(1){if(Dm(v[c+20>>2])){break b}a=v[c>>2]<1?0:v[c+4>>2];v[c+16>>2]=3;v[c+8>>2]=0;v[c+40>>2]=a;a=v[e+12>>2]-v[c+36>>2]|0;v[c+12>>2]=a;if((a|0)<=-1){break a}a=v[d+36>>2];aB(a,v[a+12>>2]+((c-v[d+28>>2]|0)/60<<4)|0,v[c+12>>2]);b=v[c>>2];h:{if(!b){break h}l=v[c+4>>2];a=l;m=B(b,72);n=m-72|0;b=((n>>>0)/72|0)+1&7;if(b){while(1){v[a+32>>2]=0;a=a+72|0;b=b-1|0;if(b){continue}break}}if(n>>>0<504){break h}b=l+m|0;while(1){v[a+32>>2]=0;v[a+536>>2]=0;v[a+464>>2]=0;v[a+392>>2]=0;v[a+320>>2]=0;v[a+248>>2]=0;v[a+176>>2]=0;v[a+104>>2]=0;a=a+576|0;if((b|0)!=(a|0)){continue}break}}c=c+60|0;if((o|0)!=(c|0)){continue}break}}d=d+52|0;h=h+1|0;if((h|0)>2]){continue}break}}e=e+36|0;if((j|0)!=(e|0)){continue}break}}f=f- -64|0;if((i|0)!=(f|0)){continue}break}}g=g+716|0;if((k|0)!=(g|0)){continue}break}}return}X(29184,7578,526,189477);L()}X(30455,7578,532,189477);L()}function sH(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;i=Qb-16|0;Qb=i;v[i+12>>2]=0;m=v[a+100>>2];j=v[a+736>>2];a:{b:{if(!j){e=ws(a,0);v[i+12>>2]=e;if(e){break b}j=v[a+736>>2]}k=v[j+12>>2];e=v[k>>2];d=v[j+4>>2];if(!d){d=Cc(m,4,0,e,0,i+12|0);v[j+4>>2]=d;if(v[i+12>>2]){break b}}e=b>>>0>e>>>0?e:b;c:{if(!e){break c}h=e&3;if(e-1>>>0>=3){b=e&-4;while(1){f=v[c>>2];if((f|0)!=v[d>>2]){v[d>>2]=f;g=1}f=v[c+4>>2];if((f|0)!=v[d+4>>2]){v[d+4>>2]=f;g=1}f=v[c+8>>2];if((f|0)!=v[d+8>>2]){v[d+8>>2]=f;g=1}f=v[c+12>>2];if((f|0)!=v[d+12>>2]){v[d+12>>2]=f;g=1}d=d+16|0;c=c+16|0;b=b-4|0;if(b){continue}break}}if(!h){break c}while(1){b=v[c>>2];if((b|0)!=v[d>>2]){v[d>>2]=b;g=1}d=d+4|0;c=c+4|0;h=h-1|0;if(h){continue}break}}f=v[k>>2];b=v[a+4>>2];d:{if(b&2147418112){if(e>>>0>=f>>>0){break d}c=v[(v[k+16>>2]+B(b>>>16|0,12)|0)-12>>2]+(e<<2)|0;n=f+(e^-1)|0;b=f-e&3;e:{if(!b){h=e;break e}h=e;while(1){l=v[c>>2];if((l|0)!=v[d>>2]){v[d>>2]=l;g=1}d=d+4|0;c=c+4|0;h=h+1|0;b=b-1|0;if(b){continue}break}}if(n>>>0<3){break d}while(1){b=v[c>>2];if((b|0)!=v[d>>2]){v[d>>2]=b;g=1}b=v[c+4>>2];if((b|0)!=v[d+4>>2]){v[d+4>>2]=b;g=1}b=v[c+8>>2];if((b|0)!=v[d+8>>2]){v[d+8>>2]=b;g=1}b=v[c+12>>2];if((b|0)!=v[d+12>>2]){v[d+12>>2]=b;g=1}d=d+16|0;c=c+16|0;h=h+4|0;if((f|0)!=(h|0)){continue}break}break d}if(e>>>0>=f>>>0){break d}n=f+(e^-1)|0;c=v[k+12>>2]+B(e,24)|0;b=f-e&3;f:{if(!b){h=e;break f}h=e;while(1){l=v[c+8>>2];if((l|0)!=v[d>>2]){v[d>>2]=l;g=1}d=d+4|0;c=c+24|0;h=h+1|0;b=b-1|0;if(b){continue}break}}if(n>>>0<3){break d}while(1){b=v[c+8>>2];if((b|0)!=v[d>>2]){v[d>>2]=b;g=1}b=v[c+32>>2];if((b|0)!=v[d+4>>2]){v[d+4>>2]=b;g=1}b=v[c+56>>2];if((b|0)!=v[d+8>>2]){v[d+8>>2]=b;g=1}b=v[c+80>>2];if((b|0)!=v[d+12>>2]){v[d+12>>2]=b;g=1}d=d+16|0;c=c+96|0;h=h+4|0;if((f|0)!=(h|0)){continue}break}}if(v[j+8>>2]){b=-1;if(!(g&255)){break a}}g=Cc(m,4,0,f,0,i+12|0);if(v[i+12>>2]){break b}b=v[a+736>>2];if(!w[b+24|0]){dZ(a);b=v[a+736>>2]}cZ(b,e,v[j+4>>2],g);b=Sz(a,v[k>>2],g,0);v[i+12>>2]=b;if(b){break b}v[a+8>>2]=v[a+8>>2]&-32769|((e|0)!=0)<<15}if(g){Ub[v[m+8>>2]](m,g)}b=v[i+12>>2]}Qb=i+16|0;return b|0}function mfb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=v[a+572>>2];d=v[a+664>>2];a:{if((b|0)<(d|0)|(b|0)>=v[a+668>>2]){break a}g=Ub[v[a+220>>2]](a,v[a+680>>2]+(b-d|0)|0)|0;b=v[a+580>>2];d=(g+B(b,3)|0)+B(v[a+672>>2],3)|0;e=v[a+656>>2];c=(e|0)/v[a+584>>2]|0;h=v[a+644>>2];b:{if(!w[a+648|0]){e=b+e|0;b=h+(c<<2)|0;c=v[a+660>>2];if(!w[a+649|0]){break b}if((c|0)<=(e|0)){break a}while(1){t[d|0]=w[b|0];t[d+1|0]=w[b+1|0];t[d+2|0]=w[b+2|0];b=b+4|0;c=v[a+584>>2];d=B(c,3)+d|0;e=c+e|0;if((e|0)>2]){continue}break}break a}e=b+e|0;b=h+(c<<3)|0;c=v[a+660>>2];if(w[a+649|0]){if((c|0)<=(e|0)){break a}while(1){t[d|0]=w[b|0];t[d+1|0]=w[b+2|0];t[d+2|0]=w[b+4|0];b=b+8|0;c=v[a+584>>2];d=B(c,3)+d|0;e=c+e|0;if((e|0)>2]){continue}break}break a}if((c|0)<=(e|0)){break a}while(1){c=w[b+6|0]|w[b+7|0]<<8;c=(c<<8|c>>>8)&65535;c:{if(!c){break c}if((c|0)==65535){t[d|0]=w[b|0];t[d+1|0]=w[b+2|0];t[d+2|0]=w[b+4|0];break c}h=w[b|0]|w[b+1|0]<<8;f=w[b+2|0]|w[b+3|0]<<8;i=w[b+4|0]|w[b+5|0]<<8;j=B(c,(i<<8|i>>>8)&65535);i=w[d+2|0];g=i<<8|i;i=c^65535;g=(j+B(g,i)|0)+32768|0;t[d+2|0]=(g>>>16|0)+g>>>24;g=B((f<<8|f>>>8)&65535,c);f=w[d+1|0];f=(g+B(i,f<<8|f)|0)+32768|0;t[d+1|0]=(f>>>16|0)+f>>>24;g=B((h<<8|h>>>8)&65535,c);c=w[d|0];c=(g+B(i,c<<8|c)|0)+32768|0;t[d|0]=(c>>>16|0)+c>>>24}b=b+8|0;c=v[a+584>>2];d=B(c,3)+d|0;e=c+e|0;if((e|0)>2]){continue}break}break a}if((c|0)<=(e|0)){break a}while(1){c=w[b+3|0];d:{if(!c){break d}if((c|0)==255){t[d|0]=w[b|0];t[d+1|0]=w[b+1|0];t[d+2|0]=w[b+2|0];break d}h=c^255;f=(B(c,w[b|0])+B(h,w[d|0])|0)+128|0;t[d|0]=(f>>>8&255)+f>>>8;f=(B(c,w[b+1|0])+B(h,w[d+1|0])|0)+128|0;t[d+1|0]=(f>>>8&255)+f>>>8;c=(B(c,w[b+2|0])+B(h,w[d+2|0])|0)+128|0;t[d+2|0]=(c>>>8&255)+c>>>8}b=b+4|0;c=v[a+584>>2];d=B(c,3)+d|0;e=c+e|0;if((e|0)>2]){continue}break}}d=v[a+680>>2]+v[a+572>>2]|0;e=v[a+664>>2];b=v[a+556>>2];c=v[a+672>>2];e:{if((c|0)>=v[a+552>>2]){if(b){break e}b=0}v[a+552>>2]=c}g=b;b=v[a+676>>2];if((g|0)<(b|0)){v[a+556>>2]=b}b=v[a+564>>2];d=d-e|0;f:{if((d|0)>=v[a+560>>2]){if(b){break f}b=0}v[a+560>>2]=d}if((b|0)<=(d|0)){v[a+564>>2]=d+1}return 0}function hVa(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;e=1;a:{if(!v[a+16>>2]){break a}f=v[a+20>>2];if(!f){break a}d=Qb-224|0;Qb=d;b:{c:{c=v[c>>2];if((c|0)>=8){a=v[f+4>>2];if(!w[a+25|0]){g=A[b+8>>3];h=A[b>>3];t[a+25|0]=1;ze(a,h,g,1)}v[d+176>>2]=0;v[d+180>>2]=0;v[d+184>>2]=0;v[d+188>>2]=0;v[d+192>>2]=0;v[d+196>>2]=0;v[d+200>>2]=0;v[d+204>>2]=0;v[d+208>>2]=0;v[d+212>>2]=64;v[d+216>>2]=0;v[d+160>>2]=0;v[d+164>>2]=1072693248;v[d+8>>2]=0;v[d+12>>2]=1072693248;v[d>>2]=0;v[d+4>>2]=0;v[299999]=0;A[d+8>>3]=25;a=v[299999];v[299999]=0;if((a|0)==1){break c}v[d+160>>2]=0;v[d+164>>2]=1077477376;g=A[b+56>>3];h=A[b+48>>3];i=A[b+40>>3];j=A[b+32>>3];k=A[b+24>>3];l=A[b+16>>3];n=A[b+8>>3];o=A[b>>3];d:{if(!v[d+216>>2]){v[299999]=0;wz(d,o,n,l,k,j,i,h,g);a=v[299999];v[299999]=0;if((a|0)!=1){break d}break c}v[299999]=0;Hb(2506,d+160|0,+o,+n,+l,+k,+j,+i,+h,+g);a=v[299999];v[299999]=0;if((a|0)==1){break c}}e:{f:{a=v[f+4>>2];e=v[a>>2];if(e){e=e-1|0;if(!(w[v[v[a+16>>2]+(e>>>6&67108860)>>2]+(e&255)|0]&64)){break f}}v[299999]=0;U(2507,a|0,d|0,0);a=v[299999];v[299999]=0;if((a|0)!=1){break e}break c}v[299999]=0;U(2508,a|0,d|0,0);a=v[299999];v[299999]=0;if((a|0)==1){break c}}a=c-8|0;if(a>>>0>=6){b=b- -64|0;c=(a>>>0)/6|0;e=0;while(1){a=b+B(e,48)|0;g=A[a+40>>3];h=A[a+32>>3];i=A[a+24>>3];j=A[a+16>>3];k=A[a+8>>3];l=A[a>>3];a=v[f+4>>2];v[299999]=0;Aa(2509,a|0,+l,+k,4);m=v[299999];v[299999]=0;if((m|0)==1){break c}v[299999]=0;Aa(2509,a|0,+j,+i,4);m=v[299999];v[299999]=0;if((m|0)==1){break c}v[299999]=0;Aa(2509,a|0,+h,+g,4);a=v[299999];v[299999]=0;if((a|0)==1){break c}e=e+1|0;if((c|0)!=(e|0)){continue}break}}b=v[d+200>>2];if(b){a=b-1|0;v[d+200>>2]=a;e=v[d+208>>2]+(b<<2)|0;while(1){c=d;e=e-4|0;b=v[e>>2];if(b){dc(b);a=v[d+200>>2]}b=a;a=b-1|0;v[c+200>>2]=a;if(b){continue}break}}a=v[d+208>>2];if(a){dc(a)}}Qb=d+224|0;break b}f=P()|0;O()|0;b=v[d+200>>2];if(b){a=b-1|0;v[d+200>>2]=a;e=v[d+208>>2]+(b<<2)|0;while(1){c=d;e=e-4|0;b=v[e>>2];if(b){dc(b);a=v[d+200>>2]}b=a;a=b-1|0;v[c+200>>2]=a;if(b){continue}break}}a=v[d+208>>2];if(a){dc(a)}T(f|0);L()}e=0}return e|0}function gfb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=v[a+572>>2];d=v[a+664>>2];a:{if((b|0)<(d|0)|(b|0)>=v[a+668>>2]){break a}g=Ub[v[a+220>>2]](a,v[a+680>>2]+(b-d|0)|0)|0;b=v[a+580>>2];d=(g+B(b,3)|0)+B(v[a+672>>2],3)|0;e=v[a+656>>2];c=(e|0)/v[a+584>>2]|0;f=v[a+644>>2];b:{if(!w[a+648|0]){e=b+e|0;b=f+(c<<2)|0;c=v[a+660>>2];if(!w[a+649|0]){break b}if((c|0)<=(e|0)){break a}while(1){t[d|0]=w[b+2|0];t[d+1|0]=w[b+1|0];t[d+2|0]=w[b|0];b=b+4|0;c=v[a+584>>2];d=B(c,3)+d|0;e=c+e|0;if((e|0)>2]){continue}break}break a}e=b+e|0;b=f+(c<<3)|0;c=v[a+660>>2];if(w[a+649|0]){if((c|0)<=(e|0)){break a}while(1){t[d|0]=w[b+4|0];t[d+1|0]=w[b+2|0];t[d+2|0]=w[b|0];b=b+8|0;c=v[a+584>>2];d=B(c,3)+d|0;e=c+e|0;if((e|0)>2]){continue}break}break a}if((c|0)<=(e|0)){break a}while(1){c=w[b+6|0]|w[b+7|0]<<8;c=(c<<8|c>>>8)&65535;c:{if(!c){break c}if((c|0)==65535){t[d|0]=w[b+4|0];t[d+1|0]=w[b+2|0];t[d+2|0]=w[b|0];break c}f=w[b+2|0]|w[b+3|0]<<8;i=w[b+4|0]|w[b+5|0]<<8;h=w[b|0]|w[b+1|0]<<8;j=B(c,(h<<8|h>>>8)&65535);h=w[d+2|0];g=h<<8|h;h=c^65535;g=(j+B(g,h)|0)+32768|0;t[d+2|0]=(g>>>16|0)+g>>>24;g=B((f<<8|f>>>8)&65535,c);f=w[d+1|0];f=(g+B(h,f<<8|f)|0)+32768|0;t[d+1|0]=(f>>>16|0)+f>>>24;g=B(c,(i<<8|i>>>8)&65535);c=w[d|0];c=(g+B(h,c<<8|c)|0)+32768|0;t[d|0]=(c>>>16|0)+c>>>24}b=b+8|0;c=v[a+584>>2];d=B(c,3)+d|0;e=c+e|0;if((e|0)>2]){continue}break}break a}if((c|0)<=(e|0)){break a}while(1){c=w[b+3|0];d:{if(!c){break d}if((c|0)==255){t[d|0]=w[b+2|0];t[d+1|0]=w[b+1|0];t[d+2|0]=w[b|0];break d}f=c^255;i=(B(c,w[b+2|0])+B(f,w[d|0])|0)+128|0;t[d|0]=(i>>>8&255)+i>>>8;i=(B(c,w[b+1|0])+B(f,w[d+1|0])|0)+128|0;t[d+1|0]=(i>>>8&255)+i>>>8;c=(B(c,w[b|0])+B(f,w[d+2|0])|0)+128|0;t[d+2|0]=(c>>>8&255)+c>>>8}b=b+4|0;c=v[a+584>>2];d=B(c,3)+d|0;e=c+e|0;if((e|0)>2]){continue}break}}d=v[a+680>>2]+v[a+572>>2]|0;e=v[a+664>>2];b=v[a+556>>2];c=v[a+672>>2];e:{if((c|0)>=v[a+552>>2]){if(b){break e}b=0}v[a+552>>2]=c}g=b;b=v[a+676>>2];if((g|0)<(b|0)){v[a+556>>2]=b}b=v[a+564>>2];d=d-e|0;f:{if((d|0)>=v[a+560>>2]){if(b){break f}b=0}v[a+560>>2]=d}if((b|0)<=(d|0)){v[a+564>>2]=d+1}return 0}function f6a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=Qb-48|0;Qb=e;v[293244]=0;c=x[a+26308>>1];if(c){j=v[252391];f=x[a+26306>>1];while(1){b=f&65535;f=0;if(b){m=h<<1&14;while(1){d=(f>>>0)%14|0;a:{if(!d){v[e+32>>2]=0;v[e+36>>2]=0;v[e+40>>2]=0;v[e+44>>2]=0;break a}if(((d>>>0)%3|0)!=2){break a}b=v[293244];if(!b){b=v[a+26300>>2];Ub[v[v[a>>2]>>2]](v[a+4>>2],b+1156592|0,1,16384-b|0)|0;Ub[v[v[a>>2]>>2]](v[a+4>>2],1156592,1,v[a+26300>>2])|0;b=v[293244]}b=b-2|0;c=b&131071;v[293244]=c;c=(c>>>3^16368)+1156592|0;i=4>>>(((w[c|0]|w[c+1|0]<<8)>>>(b&7)^-1)&3)|0}c=v[293244];k=(d&1)<<2;g=k+(e+32|0)|0;b:{if(v[g>>2]){if(!c){b=v[a+26300>>2];Ub[v[v[a>>2]>>2]](v[a+4>>2],b+1156592|0,1,16384-b|0)|0;Ub[v[v[a>>2]>>2]](v[a+4>>2],1156592,1,v[a+26300>>2])|0;c=v[293244]}b=c+131064&131071;v[293244]=b;b=(b>>>3^16368)+1156592|0;c=(w[b|0]|w[b+1|0]<<8)>>>(c&7)&255;if(!c){break b}d=(e+40|0)+k|0;b=v[d>>2]+(-128<>2]=(b&((b|0)<0?d:(i|0)==4?d:-1))+(c<>2];Ub[v[v[a>>2]>>2]](v[a+4>>2],b+1156592|0,1,16384-b|0)|0;Ub[v[v[a>>2]>>2]](v[a+4>>2],1156592,1,v[a+26300>>2])|0;c=v[293244]}b=c+131064&131071;v[293244]=b;l=g;g=(b>>>3^16368)+1156592|0;c=(w[g|0]|w[g+1|0]<<8)>>>(c&7)&255;v[l>>2]=c;if(!c&d>>>0<12){break b}if(!b){b=v[a+26300>>2];Ub[v[v[a>>2]>>2]](v[a+4>>2],b+1156592|0,1,16384-b|0)|0;Ub[v[v[a>>2]>>2]](v[a+4>>2],1156592,1,v[a+26300>>2])|0;b=v[293244]}b=b-4|0;d=b&131071;v[293244]=d;d=(d>>>3^16368)+1156592|0;v[(e+40|0)+k>>2]=(w[d|0]|w[d+1|0]<<8)>>>(b&7)&15|c<<4}c:{if(x[a+26310>>1]<=f>>>0){break c}c=f&1;b=v[(e+40|0)+(c<<2)>>2];d=x[a+26316>>1];u[(v[a+26352>>2]+(B(x[a+26320>>1],h>>>d|0)+(f>>>d|0)<<3)|0)+((v[a+26028>>2]>>>((c|m)<<1)&3)<<1)>>1]=b;if((b&65535)>>>0<4099){break c}d:{if(v[a+26160>>2]){break d}v[e+16>>2]=v[a+25208>>2];wc(j,8292,e+16|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,j);break d}b=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[e>>2]=b;v[e+4>>2]=b>>31;wc(j,14622,e)}v[a+26160>>2]=1}f=f+1|0;b=x[a+26306>>1];if(f>>>0>>0){continue}break}c=x[a+26308>>1];f=b}h=h+1|0;if(h>>>0>>0){continue}break}}Qb=e+48|0}function v$(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;j=v[(c?16:12)+b>>2];f=v[(c?8:4)+b>>2];b=B(c,9804)+a|0;d=b+9840|0;a:{if((f|0)==v[d>>2]&(j|0)==v[b+9844>>2]){break a}v[d>>2]=f;v[b+9844>>2]=j;d=v[a+10064>>2];b:{if(!d){break b}b=0;while(1){if(!(w[(B(b,36)+a|0)+10100|0]&16)){b=b+1|0;if((d|0)!=(b|0)){continue}break b}break}b=Ac(v[(B(b,36)+a|0)+10080>>2],f);d=v[v[a+36>>2]+12>>2];g=x[v[v[a+4>>2]+88>>2]+12>>1];d=b+(d?g>>>0>5?d>>>0>=g>>>0?52:40:40:40)&-64;if((b|0)==(d|0)|(c|0)!=1){break b}g=jd(f,d,b);d=v[a+40>>2];b=v[a+10064>>2];c:{if(!b){break c}l=b&1;d:{if((b|0)==1){b=0;break d}e=b&-2;i=a+10068|0;b=0;while(1){h=i+B(b,36)|0;k=v[h+24>>2];d=(d|0)>(k|0)?d:k;h=0-v[h+28>>2]|0;d=(d|0)>(h|0)?d:h;h=i+B(b|1,36)|0;k=v[h+24>>2];d=(d|0)>(k|0)?d:k;h=0-v[h+28>>2]|0;d=(d|0)>(h|0)?d:h;b=b+2|0;e=e-2|0;if(e){continue}break}}if(!l){break c}b=B(b,36)+a|0;e=v[b+10092>>2];d=(d|0)>(e|0)?d:e;b=0-v[b+10096>>2]|0;d=(b|0)<(d|0)?d:b}b=g-f|0;e=Ac(d,b);b=Ac(d,b);f=((e|0)<0?0-b|0:b)>>>0<128?g:f}b=B(c,9804)+a|0;v[b+48>>2]=j;v[b+44>>2]=f;e:{if(!c){v[a+8>>2]=f;b=a+16|0;break e}v[a+12>>2]=f;b=a+20|0}v[b>>2]=j;d=B(c,9804)+a|0;i=d;if(v[d+52>>2]){b=0;while(1){g=d+B(b,12)|0;e=Ac(v[g+56>>2],f);v[g- -64>>2]=e;v[g+60>>2]=e;b=b+1|0;if(b>>>0>2]){continue}break}}m=d,n=(Ac(v[d+252>>2],f)|0)<40,t[m+256|0]=n;if(!v[a+10064>>2]|(c|0)!=1){break a}d=0;while(1){b=B(d,36)+a|0;g=b+10076|0;c=b+10068|0;e=Ac(v[c>>2],f)+j|0;v[g>>2]=e;i=b+10072|0;v[i>>2]=e;e=b+10088|0;l=b+10080|0;h=Ac(v[l>>2],f)+j|0;v[e>>2]=h;v[b+10084>>2]=h;b=b+10100|0;v[b>>2]=v[b>>2]&-2;c=Ac(v[c>>2]-v[l>>2]|0,f);if(c+48>>>0<=96){h=g;g=v[i>>2]+32&-64;v[h>>2]=g;i=e;e=c>>31;e=e+c^e;e=(e|0)<32?0:(e|0)<48?32:64;v[i>>2]=g+((c|0)<0?e:0-e|0);v[b>>2]=v[b>>2]|1}d=d+1|0;c=v[a+10064>>2];if(d>>>0>>0){continue}break}if(!c){break a}f=0;while(1){b=B(f,36)+a|0;j=b+10100|0;g=v[j>>2];f:{if((g&5)!=5){break f}e=b+10076|0;i=b+10088|0;b=0;while(1){d=B(b,36)+a|0;if(!((v[d+10100>>2]&5)!=1|v[d+10076>>2]>v[i>>2]|v[d+10088>>2]>2])){v[j>>2]=g&-2;break f}b=b+1|0;if((c|0)!=(b|0)){continue}break}}f=f+1|0;if((c|0)!=(f|0)){continue}break}}}function tNa(a,b){a=a|0;b=b|0;var 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,u=0,w=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;l=v[a+4>>2];f=v[l+56>>2];e=f?-1:0;m=v[a+12>>2];c=v[a+8>>2];d=m-c>>1;j=v[a+16>>2];g=v[a+20>>2]-j|0;h=(d|0)<(g|0)?d:g;d=v[l+24>>2];g=v[a+24>>2];a:{b:{c:{d:{if(!(!f|(h|0)<=0)){d=j;i=c;break d}n=(d|0)==847004?255:127;e:{if((h|0)<16){d=j;break e}i=h>>>4|0;f=i;d=j;f:{while(1){k=x[c>>1];t[d|0]=k;o=x[c+2>>1];t[d+1|0]=o;p=x[c+4>>1];t[d+2|0]=p;q=x[c+6>>1];t[d+3|0]=q;r=x[c+8>>1];t[d+4|0]=r;s=x[c+10>>1];t[d+5|0]=s;u=x[c+12>>1];t[d+6|0]=u;w=x[c+14>>1];t[d+7|0]=w;z=x[c+16>>1];t[d+8|0]=z;A=x[c+18>>1];t[d+9|0]=A;B=x[c+20>>1];t[d+10|0]=B;C=x[c+22>>1];t[d+11|0]=C;D=x[c+24>>1];t[d+12|0]=D;E=x[c+26>>1];t[d+13|0]=E;F=x[c+28>>1];t[d+14|0]=F;G=x[c+30>>1];t[d+15|0]=G;if((k|o|p|q|r|s|u|w|z|A|B|C|D|E|F|G)>>>0>n>>>0){break f}d=d+16|0;c=c+32|0;k=(f|0)>1;f=f-1|0;if(k){continue}break}f=0}f=i-f|0;i=f<<4;h=h-i|0;if(!g){g=0;break e}j=i+j|0;if((f|0)<1){break e}while(1){v[g>>2]=e;v[g+60>>2]=e+15;v[g+56>>2]=e+14;v[g+52>>2]=e+13;v[g+48>>2]=e+12;v[g+44>>2]=e+11;v[g+40>>2]=e+10;v[g+36>>2]=e+9;v[g+32>>2]=e+8;v[g+28>>2]=e+7;v[g+24>>2]=e+6;v[g+20>>2]=e+5;v[g+16>>2]=e+4;v[g+12>>2]=e+3;v[g+8>>2]=e+2;v[g+4>>2]=e+1;g=g- -64|0;e=e+16|0;i=(f|0)>1;f=f-1|0;if(i){continue}break}}if((h|0)<1){i=c;break a}while(1){g:{i=c+2|0;f=x[c>>1];if(n>>>0>>0){break g}t[d|0]=f;d=d+1|0;k=(h|0)>1;c=i;h=h-1|0;if(k){continue}}break}if(f>>>0<=n>>>0){break a}if((f&64512)!=55296){break c}}if(i>>>0>=m>>>0){break b}h=x[i>>1];c=(h&64512)==56320;f=c?(h+(f<<10)|0)-56613888|0:f;i=(c<<1)+i|0}v[b>>2]=(f&-2048)==55296?12:10}v[l+56>>2]=f}c=0;h:{if(!g){break h}h=d-j|0;if(!h){c=g;break h}j=(j^-1)+d|0;f=h&7;i:{if(!f){c=g;break i}c=g;while(1){v[c>>2]=e;h=h-1|0;c=c+4|0;e=e+1|0;f=f-1|0;if(f){continue}break}}if(j>>>0<7){break h}while(1){v[c>>2]=e;v[c+28>>2]=e+7;v[c+24>>2]=e+6;v[c+20>>2]=e+5;v[c+16>>2]=e+4;v[c+12>>2]=e+3;v[c+8>>2]=e+2;v[c+4>>2]=e+1;c=c+32|0;e=e+8|0;h=h-8|0;if(h){continue}break}}if(!(v[b>>2]>0|i>>>0>=m>>>0|y[a+20>>2]>d>>>0)){v[b>>2]=15}v[a+24>>2]=c;v[a+16>>2]=d;v[a+8>>2]=i}function K0(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;i=Qb-16|0;Qb=i;if((e|0)>0){while(1){if((g&255)==255){Ub[v[v[d>>2]+12>>2]](d,i+15|0,1,1,0,0)|0;g=w[i+15|0]}a:{if(g<<24>>24<=-1){h=g-127|0;t[i+15|0]=h;g=255;if(((h&255)+o|0)>(e|0)){q=Ub[v[v[d>>2]+24>>2]](d)|0;g=e-o|0;t[i+15|0]=g;g=h+(g^-1)^-128}b:{c:{switch(w[c+16|0]-8|0){case 24:h=0;Ub[v[v[d>>2]+12>>2]](d,i+8|0,4,1,0,0)|0;if(!w[i+15|0]){break b}while(1){j=B(h,3)+b|0;m=x[i+8>>1];t[j|0]=m;t[j+1|0]=m>>>8;t[j+2|0]=w[i+10|0];gh(a,h+o|0,f,w[i+11|0]);h=h+1|0;if(h>>>0>2]+12>>2]](d,i+5|0,3,1,0,0)|0;j=w[i+15|0];if(!j){break b}m=j&3;h=0;if(j-1>>>0>=3){j=j&252;while(1){k=B(h,3)+b|0;l=w[i+5|0]|w[i+6|0]<<8;t[k|0]=l;t[k+1|0]=l>>>8;t[k+2|0]=w[i+7|0];k=B(h|1,3)+b|0;t[k+2|0]=w[i+7|0];l=w[i+5|0]|w[i+6|0]<<8;t[k|0]=l;t[k+1|0]=l>>>8;k=B(h|2,3)+b|0;t[k+2|0]=w[i+7|0];l=w[i+5|0]|w[i+6|0]<<8;t[k|0]=l;t[k+1|0]=l>>>8;k=B(h|3,3)+b|0;t[k+2|0]=w[i+7|0];l=w[i+5|0]|w[i+6|0]<<8;t[k|0]=l;t[k+1|0]=l>>>8;h=h+4|0;j=j-4|0;if(j){continue}break}}if(!m){break b}while(1){j=B(h,3)+b|0;k=w[i+5|0]|w[i+6|0]<<8;t[j|0]=k;t[j+1|0]=k>>>8;t[j+2|0]=w[i+7|0];h=h+1|0;m=m-1|0;if(m){continue}break};break b;case 7:case 8:Ub[v[v[d>>2]+12>>2]](d,i+2|0,2,1,0,0)|0;l=w[i+15|0];if(!l){break b}h=x[i+2>>1];j=h<<3;m=h>>>7&248;k=h>>>2&248;p=l&3;h=0;if(l-1>>>0>=3){l=l&252;while(1){n=B(h,3)+b|0;t[n+2|0]=m;t[n+1|0]=k;t[n|0]=j;n=B(h|1,3)+b|0;t[n+2|0]=m;t[n+1|0]=k;t[n|0]=j;n=B(h|2,3)+b|0;t[n+2|0]=m;t[n+1|0]=k;t[n|0]=j;n=B(h|3,3)+b|0;t[n+2|0]=m;t[n+1|0]=k;t[n|0]=j;h=h+4|0;l=l-4|0;if(l){continue}break}}if(!p){break b}while(1){l=B(h,3)+b|0;t[l+2|0]=m;t[l+1|0]=k;t[l|0]=j;h=h+1|0;p=p-1|0;if(p){continue}break};break b;case 0:break c;default:break b}}Ub[v[v[d>>2]+12>>2]](d,i+1|0,1,1,0,0)|0;h=w[i+15|0];if(!h){break b}ic(b,w[i+1|0],h)}if((g&255)==255){g=255;break a}Ub[v[v[d>>2]+20>>2]](d,q,0)|0;break a}j=g+1|0;h=((j&255)+o|0)>(e|0);m=e-o|0;j=h?m:j;t[i+15|0]=j;cJ(a,b,c,d,j&255,f,o);g=h?g-m|0:-1}h=w[i+15|0];b=(x[a+26>>1]==24?B(h,3):h)+b|0;o=h+o|0;if((o|0)<(e|0)){continue}break}}Qb=i+16|0;return g&255} +function Fr(a){var 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=Qb-80|0;Qb=p;c=v[a+4>>2];a:{if((c|0)>=10){b=v[a>>2];b=Ub[v[v[b>>2]+36>>2]](b)|0;d=0;if((b|0)==-1){break a}c=b+10|0}b=v[a+24>>2];f=ic(p,0,b+1|0);b:{if(v[a+28>>2]<=(b|0)){break b}i=f|1;l=c-11|0;c=b;while(1){if((b|0)>=1){Wd(i,f,b)}t[f|0]=w[v[a+32>>2]+c|0];b=v[a>>2];e=Ub[v[v[b>>2]+36>>2]](b)|0;if((e|0)==-1){d=0;if(v[a+24>>2]>=(c|0)){break a}break b}c:{d:{switch(l|0){case 0:b=v[a+32>>2];t[b+c|0]=e+w[b+(c-v[a+24>>2]|0)|0];break c;case 1:b=v[a+32>>2]+c|0;t[b|0]=e+w[b|0];break c;case 2:d=v[a+32>>2];b=d+c|0;t[b|0]=e+(w[b|0]+w[d+(c-v[a+24>>2]|0)|0]>>>1|0);break c;case 3:d=v[a+32>>2];g=d+c|0;j=w[g|0];b=v[a+24>>2];k=w[d+(c-b|0)|0];m=w[b+f|0];h=(j+k|0)-m|0;b=h-m|0;d=b>>31;n=d^b+d;d=h-k|0;o=d>>31;b=h-j|0;h=b>>31;d=o^d+o;b=h^b+h;if(!(d>>>0>b>>>0|d>>>0>n>>>0)){t[g|0]=e+k;break c}if(b>>>0<=n>>>0){t[g|0]=e+j;break c}t[g|0]=e+m;break c;default:break d}}t[v[a+32>>2]+c|0]=e}c=c+1|0;if((c|0)>=v[a+28>>2]){break b}b=v[a+24>>2];continue}}e:{if(v[a+4>>2]!=2){break e}f:{g:{h:{c=v[a+16>>2];switch(c-8|0){case 8:break g;case 0:break h;default:break f}}c=v[a+24>>2];if((c|0)>=v[a+28>>2]){break e}while(1){d=v[a+32>>2];b=d+c|0;t[b|0]=w[d+(c-v[a+12>>2]|0)|0]+w[b|0];c=c+1|0;if((c|0)>2]){continue}break}break e}c=v[a+24>>2];if((c|0)>=v[a+28>>2]){break e}while(1){i=v[a+32>>2];d=i+c|0;l=c+1|0;b=v[a+12>>2]<<1;b=(w[l+i|0]|w[i+(c-b|0)|0]+w[d|0]<<8)+w[i+(l-b|0)|0]|0;t[d|0]=b>>>8;t[l+v[a+32>>2]|0]=b;c=c+2|0;if((c|0)>2]){continue}break}break e}h=0;b=f;f=v[a+12>>2];l=ic(b,0,f);b=v[a+8>>2];if((b|0)<1|(f|0)<1){break e}d=-1<>2];m=g;e=0;c=0;j=0;k=0;while(1){n=0;if((f|0)>=1){while(1){o=v[a+16>>2];if((o|0)>(c|0)){k=w[v[a+32>>2]+m|0]|k<<8;m=m+1|0;c=c+8|0}b=l+n|0;c=c-o|0;i=d&w[b|0]+(k>>>c|0);t[b|0]=i;j=i&255|j<=8){e=e-8|0;t[v[a+32>>2]+g|0]=j>>>e;f=v[a+12>>2];g=g+1|0}n=n+1|0;if((n|0)<(f|0)){continue}break}b=v[a+8>>2]}h=h+1|0;if((h|0)<(b|0)){continue}break}if((e|0)<1){break e}b=8-e|0;t[v[a+32>>2]+g|0]=((-1<>2]=v[a+24>>2];d=1}Qb=p+80|0;return d}function FMa(a,b){a=a|0;b=b|0;var 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;m=v[a+4>>2];f=v[m+44>>2];g=f>>>16|0;d=v[a+24>>2];q=v[a+20>>2];e=v[a+16>>2];p=v[a+12>>2];k=v[a+8>>2];h=w[m+36|0];l=h?-1:0;i=l;c=!(f&16777216);while(1){a:{b:{c:{if(!c){h=0;d:{i=q-e>>1;c=p-k|0;j=(c|0)>(i|0)?i:c;e:{if((j|0)<1){break e}c=k;while(1){k=c+1|0;c=w[c|0];if((c-32&255)>>>0>=95){t[m+37|0]=c;v[b>>2]=12;h=1;break e}if((c|0)==38){break d}u[e>>1]=c;if(d){v[d>>2]=l;l=l+1|0;d=d+4|0}else{d=0}e=e+2|0;i=(j|0)>1;c=k;j=j-1|0;if(i){continue}break}}l=16777216;if(k>>>0>=p>>>0){c=f;break b}r=15;c=f;if(e>>>0>=q>>>0){break c}break b}g=255;f=0;i=l+1|0;s=i;c=1;continue}f:{if(k>>>0>=p>>>0){c=f;break f}l=s;c=f;while(1){f=l;g:{h:{if(e>>>0>>0){n=w[k|0];t[((h&255)+m|0)+37|0]=n;h=h+1|0;k=k+1|0;r=12;if(n>>>0>126){break c}l=f+1|0;j=63;i:{j:{k:{switch(n-44|0){default:j=t[n+852448|0];if((j|0)<0){break j}break;case 3:break i;case 0:break k}}l:{switch((g<<24>>24)+1|0){case 2:case 4:case 5:case 7:g=g+1|0;c=(c&65535)<<6|j;break g;case 3:o=(c&65535)<<4|j>>2;if((o&65535)-32>>>0<95){break c}u[e>>1]=o;if(d){v[d>>2]=i;i=f;d=d+4|0}else{d=0}e=e+2|0;t[m+37|0]=n;g=3;c=j&3;h=1;break g;case 6:o=(c&65535)<<2|j>>4;if((o&65535)-32>>>0<95){break c}u[e>>1]=o;if(d){v[d>>2]=i;i=f;d=d+4|0}else{d=0}e=e+2|0;t[m+37|0]=n;c=j&15;g=6;h=1;break g;case 0:case 1:break h;case 8:break l;default:break g}}f=(c&65535)<<6|j;if((f&65535)-32>>>0<95){break c}u[e>>1]=f;e=e+2|0;if(!d){h=0;d=0;c=0;g=0;break g}v[d>>2]=i;d=d+4|0;h=0;c=0;g=0;i=l;break g}if((n|0)!=45){break i}if((g&255)==255){u[e>>1]=38;e=e+2|0;if(d){v[d>>2]=i-1;d=d+4|0}else{d=0}f=c;g=255;break a}if(c&65535){break c}o=g&255;if(o>>>0>6){break c}f=0;if(1<>2]=15;break f}c=j&255;g=1}if((k|0)!=(p|0)){continue}break}k=p}l=0;if(h&255|v[b>>2]>0){break b}h=0;if(!w[a+2|0]|k>>>0

>>0){break b}r=11;if((g&255)!=255){break c}t[m+37|0]=38;h=1}v[b>>2]=r;l=16777216}t[m+36|0]=h;v[m+44>>2]=c&65535|((g&255)<<16|l);v[a+24>>2]=d;v[a+16>>2]=e;v[a+8>>2]=k;return}c=0;continue}}function UDa(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;a=ic(a,0,256);d=v[b>>2]+c|0;e=w[d+2|0];f=w[d|0];g=e+f|0;d=w[d+1|0];v[a>>2]=(g+d<<3)-3072;v[a+4>>2]=B(f-e|0,10033)+512>>10;v[a+8>>2]=B(g-(d<<1)|0,5793)+512>>10;d=v[b+4>>2]+c|0;e=w[d+2|0];f=w[d|0];g=e+f|0;d=w[d+1|0];v[a+32>>2]=(g+d<<3)-3072;v[a+36>>2]=B(f-e|0,10033)+512>>10;v[a+40>>2]=B(g-(d<<1)|0,5793)+512>>10;d=v[b+8>>2]+c|0;e=w[d+2|0];f=w[d|0];g=e+f|0;d=w[d+1|0];v[a+64>>2]=(g+d<<3)-3072;v[a+68>>2]=B(f-e|0,10033)+512>>10;v[a+72>>2]=B(g-(d<<1)|0,5793)+512>>10;d=v[b+12>>2]+c|0;e=w[d+2|0];f=w[d|0];g=e+f|0;h=w[d+1|0];d=(g+h<<3)-3072|0;v[a+96>>2]=d;v[a+100>>2]=B(f-e|0,10033)+512>>10;v[a+104>>2]=B(g-(h<<1)|0,5793)+512>>10;e=v[b+16>>2]+c|0;f=w[e+2|0];g=w[e|0];h=f+g|0;i=w[e+1|0];e=(h+i<<3)-3072|0;v[a+128>>2]=e;f=B(g-f|0,10033)+512>>10;v[a+132>>2]=f;v[a+136>>2]=B(h-(i<<1)|0,5793)+512>>10;b=v[b+20>>2]+c|0;g=w[b+2|0];h=w[b|0];c=g+h|0;b=w[b+1|0];v[a+168>>2]=B(c-(b<<1)|0,5793)+512>>10;c=(b+c<<3)-3072|0;i=v[a>>2];b=c+i|0;k=v[a+64>>2];j=d+k|0;v[a+64>>2]=B(b-j|0,17837)+16384>>15;b=b+j|0;j=v[a+32>>2];l=j+e|0;v[a+128>>2]=B(b-(l<<1)|0,10298)+16384>>15;v[a>>2]=B(b+l|0,14564)+16384>>15;b=k-d|0;c=i-c|0;d=B(b+c|0,5331)+16384|0;e=j-e|0;v[a+160>>2]=d+B(b-e|0,14564)>>15;v[a+96>>2]=B(c-(b+e|0)|0,14564)+16384>>15;v[a+32>>2]=d+B(c+e|0,14564)>>15;c=B(h-g|0,10033)+512>>10;d=v[a+4>>2];b=c+d|0;e=v[a+100>>2];g=v[a+68>>2];h=e+g|0;v[a+68>>2]=B(b-h|0,17837)+16384>>15;b=b+h|0;h=v[a+36>>2];i=h+f|0;v[a+132>>2]=B(b-(i<<1)|0,10298)+16384>>15;v[a+4>>2]=B(b+i|0,14564)+16384>>15;b=g-e|0;c=d-c|0;d=B(b+c|0,5331)+16384|0;e=h-f|0;v[a+36>>2]=d+B(e+c|0,14564)>>15;v[a+164>>2]=d+B(b-e|0,14564)>>15;v[a+100>>2]=B(c-(b+e|0)|0,14564)+16384>>15;b=v[a+136>>2];c=v[a+40>>2];e=v[a+168>>2];f=v[a+8>>2];d=e+f|0;g=v[a+104>>2];h=v[a+72>>2];i=g+h|0;v[a+72>>2]=B(d-i|0,17837)+16384>>15;d=d+i|0;i=b+c|0;v[a+136>>2]=B(d-(i<<1)|0,10298)+16384>>15;v[a+8>>2]=B(d+i|0,14564)+16384>>15;d=h-g|0;e=f-e|0;f=B(d+e|0,5331)+16384|0;b=c-b|0;v[a+168>>2]=f+B(d-b|0,14564)>>15;v[a+104>>2]=B(e-(b+d|0)|0,14564)+16384>>15;v[a+40>>2]=f+B(b+e|0,14564)>>15}function Ax(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=Qb-32|0;Qb=c;a:{b:{c:{d:{if(v[a+16>>2]){break d}if(jj(a+20|0)){break d}h=a+108|0;f=v[c+8>>2];e:{f:{while(1){v[c+24>>2]=0;b=0;e=v[a+116>>2];if(e){g:{while(1){g=c;b=v[e+8>>2];if(b){v[299999]=0;v[b+4>>2]=v[b+4>>2]+1;b=v[299999];v[299999]=0;if((b|0)==1){break f}b=v[e+8>>2]}else{b=0}v[g+16>>2]=b;h:{i:{j:{k:{if(!w[a+8|0]){d=v[b+16>>2];if((d|0)<=-1){v[c+16>>2]=0;break j}b=v[b+12>>2];g=v[a+72>>2];v[299999]=0;d=Y(4481,g|0,b|0,d|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}b=v[c+16>>2];if((d|0)!=v[b+16>>2]){break k}}v[299999]=0;Q(4344,c+24|0,c+16|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break h}break b}v[c+16>>2]=0;if(!b){break i}}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;g=v[299999];v[299999]=0;if((g|0)!=1){if(d){break i}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break i}}break c}e=v[e>>2];if(e){continue}break g}break}b=v[c+16>>2];v[c+16>>2]=0;if(!b){break g}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)!=1){if(d){break g}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break g}}break c}b=v[c+24>>2]}if(!b){break e}v[299999]=0;b=v[b+8>>2];d=v[299999];v[299999]=0;l:{if((d|0)!=1){if(b){break l}b=v[c+24>>2];d=v[b+20>>2];if(!d){break l}b=v[b+24>>2];v[299999]=0;R(d|0,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break l}b=W(0)|0;O()|0;ea(b|0)|0;v[299999]=0;ba(4230);b=v[299999];v[299999]=0;if((b|0)!=1){break l}}break f}b=v[a+116>>2];v[c+20>>2]=h;v[c+16>>2]=b;e=v[c+24>>2];m:{n:{if(b){while(1){f=b;if(v[b+8>>2]==(e|0)){break n}b=v[f>>2];v[c+16>>2]=b;if(b){continue}break}}v[c+12>>2]=h;break m}v[299999]=0;v[c+12>>2]=h;V(4460,h|0,c+16|0);b=v[299999];v[299999]=0;if((b|0)==1){break f}e=v[c+24>>2]}v[c+24>>2]=0;if(!e){continue}v[299999]=0;b=v[e+4>>2]-1|0;v[e+4>>2]=b;d=v[299999];v[299999]=0;if((d|0)!=1){if(b){continue}v[299999]=0;R(4338,e|0);b=v[299999];v[299999]=0;if((b|0)!=1){continue}}break}break c}b=P()|0;O()|0;v[c+8>>2]=f;break a}v[c+8>>2]=f}Qb=c+32|0;return}W(0)|0;O()|0;v[c+8>>2]=f;lc();L()}b=P()|0;O()|0;v[c+8>>2]=f;ec(c+16|0)}ec(c+24|0);T(b|0);L()}function uW(a,b,c){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,p=0,q=0,r=0,s=0,y=0,z=0,A=0;n=Qb+-64|0;Qb=n;a:{b:{c:{d:{d=x[v[294124]>>1];if(!d){g=v[294130];e=g>>>1|0;k=v[294120];break d}if(Bc(a)>>>0>=60){v[c>>2]=15;break b}f=w[a|0];e:{if(f){i=n;while(1){g=k;f:{g:{while(1){h:{a=a+1|0;i:{j:{k:{if(f<<24>>24<0){break k}k=1;e=w[(f&255)+845776|0];switch(e|0){case 2:break g;case 1:break j;case 0:break k;default:break h}}e=w[a|0];break i}if(g&255){break g}k=0;g=w[a|0];e=g<<24>>24;if((e|0)<0|(w[g+845776|0]-1&255)>>>0>1){break g}}g=0;f=e;if(e&255){continue}break f}break}k=0;f=e}t[i|0]=f;i=i+1|0;f=w[a|0];if(f){continue}}break}t[i|0]=0;k=v[294120];g=v[294130];e=g>>>1|0;a=e;if(d){break e}a=n;break d}t[n|0]=0;k=v[294120];g=v[294130];a=g>>>1|0}e=a;d=v[294126];i=0;while(1){f=e;a=mc(n,d+(x[(e<<1)+k>>1]<<1)|0);if((a|0)>=0){i=e;f=g;if(!a){break c}}g=f;a=e;e=f+i>>>1|0;if((a|0)!=(e|0)){continue}break}break b}A=v[294125];i=0;while(1){f=e;d=a;s=(x[(e<<1)+k>>1]<<1)+A|0;l=0;r=0;y=0;while(1){o=d+1|0;p=0;h=w[d|0];l:{if(!h){break l}while(1){m:{n:{o:{d=h;if(d<<24>>24<0){break o}m=1;y=0;p:{p=w[(d&255)+845776|0];switch(p|0){case 2:break m;case 0:break o;case 1:break p;default:break l}}if(l&255){break m}m=0;j=w[o|0];h=j<<24>>24;if((h|0)<0){break m}if((w[j+845776|0]-1&255)>>>0<=1){break n}break m}h=w[o|0]}o=o+1|0;l=0;d=0;m=0;if(h&255){continue}}break}p=d;y=m}h=s+1|0;z=0;q=0;j=r;d=w[s|0];q:{if(!d){break q}while(1){r:{m=d;s:{t:{if(d<<24>>24<0){break t}l=1;j=0;u:{q=w[(m&255)+845776|0];switch(q|0){case 2:break r;case 0:break t;case 1:break u;default:break q}}if(r&255){break r}l=0;j=w[h|0];d=j<<24>>24;if((d|0)<0){break r}if((w[j+845776|0]-1&255)>>>0<=1){break s}break r}d=w[h|0]}h=h+1|0;r=0;m=0;l=0;if(d&255){continue}}break}q=m;j=l}if((p|q)&255){d=o;s=h;l=y;r=j;z=(p&255)-(q&255)|0;if(!z){continue}}break}d=z;if((d|0)>=0){i=e;f=g;if(!d){break c}}g=f;d=e;e=f+i>>>1|0;if((d|0)!=(e|0)){continue}break}break b}a=u[v[294121]+(e<<1)>>1];if((a|0)<=-1){v[c>>2]=-122}if(b){t[b|0]=!w[v[294124]+2|0]|(a&16384)>>>14;a=x[v[294121]+(e<<1)>>1]}a=a&4095;break a}a=-1}Qb=n- -64|0;return a}function wLa(a,b){a=a|0;b=b|0;var 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;f=Qb-32|0;Qb=f;i=v[a+16>>2];m=v[v[a+4>>2]+8>>2];g=v[a+12>>2];d=v[a+8>>2];j=f;f=x[a>>1];f=f>>>0<28?f:28;h=gc(j,a,f);u[h>>1]=f;j=v[m+80>>2];a:{if(d>>>0>=g>>>0){break a}while(1){b:{if(y[a+20>>2]>i>>>0){n=v[a+4>>2];o=t[n+36|0];if(w[((o|0)>0?n+37|0:d)|0]!=27){break b}f=0;c:{while(1){k=B(f,5);l=k+864976|0;c=w[l|0];e=0;d:{while(1){p=c&255;e:{if((e|0)<(o|0)){if(w[(e+n|0)+37|0]!=(p|0)){break d}break e}c=(e-o|0)+d|0;if(c>>>0>=g>>>0){v[b>>2]=11;break d}if(t[c|0]!=(p|0)){break d}}e=e+1|0;c=w[(k+e|0)+864976|0];if(c){continue}break}if(v[b>>2]==11){break c}c=Bc(l);e=v[a+4>>2];j=t[e+36|0];t[e+36|0]=0;d=(c-j|0)+d|0;j=f;break b}f=f+1|0;if((f|0)!=20){continue}break}if(v[b>>2]==11){break c}g=w[v[a+4>>2]+36|0];v[b>>2]=12;d=!g+d|0;break a}if(d>>>0>>0){e=g+(d^-1)|0;c=g-d&3;if(c){while(1){f=w[d|0];k=v[a+4>>2];l=t[k+36|0];t[k+36|0]=l+1;t[(k+l|0)+37|0]=f;d=d+1|0;c=c-1|0;if(c){continue}break}}if(e>>>0>=3){while(1){f=w[d|0];c=v[a+4>>2];e=t[c+36|0];t[c+36|0]=e+1;t[(e+c|0)+37|0]=f;f=w[d+1|0];c=v[a+4>>2];e=t[c+36|0];t[c+36|0]=e+1;t[(e+c|0)+37|0]=f;f=w[d+2|0];c=v[a+4>>2];e=t[c+36|0];t[c+36|0]=e+1;t[(e+c|0)+37|0]=f;f=w[d+3|0];c=v[a+4>>2];e=t[c+36|0];t[c+36|0]=e+1;t[(e+c|0)+37|0]=f;d=d+4|0;if((g|0)!=(d|0)){continue}break}}d=g}v[b>>2]=0;break a}v[b>>2]=15;break a}f:{g:{if(!j){if(d>>>0>=g>>>0){break f}while(1){f=w[d|0];if((f|0)==27){break f}if(y[a+20>>2]<=i>>>0){break g}u[i>>1]=f;i=i+2|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}d=g;break f}if(d>>>0>=g>>>0){break f}e=1;c=g-d|0;h:{if((c|0)<2){break h}while(1){if(w[d+e|0]==27){c=e;break h}e=e+1|0;if((e|0)!=(c|0)){continue}break}}v[h+16>>2]=i;v[h+8>>2]=d;v[h+12>>2]=d+c;f=v[h+4>>2];d=v[f+24>>2];v[f+24>>2]=v[(j<<2)+m>>2];BG(h,b);e=v[h+4>>2];v[e+24>>2]=d;i=v[h+16>>2];d=v[h+8>>2];f=v[b>>2];if((f|0)<1){break f}if((f|0)!=15){break a}b=w[e+65|0];c=b<<24>>24;if((c|0)>=1){gc(v[a+4>>2]+116|0,e+116|0,b);c=w[e+65|0]}t[v[a+4>>2]+65|0]=c;t[e+65|0]=0;break a}v[b>>2]=15}if(d>>>0>>0){continue}break}}v[m+80>>2]=j;v[a+8>>2]=d;v[a+16>>2]=i;Qb=h+32|0}function P2a(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,p=0,q=0;d=Qb-48|0;Qb=d;a:{b:{if(!a){break b}if(!b){f=6;break a}if(u[a>>1]<1){break a}h=v[b+20>>2];i=v[b+16>>2];while(1){m=u[v[a+12>>2]+(n<<1)>>1];if((m|0)<0){break b}k=v[a+4>>2];e=k+(g<<3)|0;f=v[e+4>>2];o=(v[e>>2]<>2]=o;f=(f<>2]=f;l=k+(m<<3)|0;k=v[l>>2];q=v[l+4>>2];j=v[d+36>>2];v[d+40>>2]=v[d+32>>2];v[d+44>>2]=j;p=v[a+8>>2];j=p+g|0;g=w[j|0]&3;c:{if((g|0)==3){break c}d:{switch(g-1|0){case 1:break b;case 0:break c;default:break d}}g=(q<>2]=g;v[d+32>>2]=k;l=l-8|0;break e}v[d+36>>2]=(g+f|0)/2;v[d+32>>2]=(k+o|0)/2}j=j-1|0;e=e-8|0}f=Ub[v[b>>2]](d+32|0,c)|0;if(f){break a}f:{if(e>>>0>>0){while(1){k=j+1|0;g=e+8|0;g:{h:{i:{switch(w[j+1|0]&3){case 1:v[d+24>>2]=(v[e+8>>2]<>2]=(v[e+12>>2]<>2]](d+24|0,c)|0;if(f){break a}break g;case 0:v[d+40>>2]=(v[e+8>>2]<>2]=(v[e+12>>2]<>>0>>0){while(1){e=w[k+1|0];j=(v[g+8>>2]<>2]=j;f=(v[g+12>>2]<>2]=f;k=k+1|0;g=g+8|0;j:{e=e&3;k:{if(e){if((e|0)!=1){g=7;f=0;break h}f=Ub[v[b+8>>2]](d+40|0,d+24|0,c)|0;if(f){break k}e=g;j=k;break g}v[d+16>>2]=(j+v[d+40>>2]|0)/2;v[d+20>>2]=(f+v[d+44>>2]|0)/2;f=Ub[v[b+8>>2]](d+40|0,d+16|0,c)|0;if(!f){break j}}g=10;break h}e=v[d+28>>2];v[d+40>>2]=v[d+24>>2];v[d+44>>2]=e;if(g>>>0>>0){continue}break}}f=Ub[v[b+8>>2]](d+40|0,d+32|0,c)|0;break f;default:break i}}g=7;f=0;if((w[j+2|0]&3)!=2|e+16>>>0>l>>>0){break h}v[d+24>>2]=(v[e+8>>2]<>2]=(v[e+12>>2]<>2]=(v[e+16>>2]<>2]=(v[e+20>>2]<>>0<=l>>>0){v[d+8>>2]=(v[e+24>>2]<>2]=(v[e+28>>2]<>2]](d+24|0,d+16|0,d+8|0,c)|0;if(f){g=10;break h}j=j+3|0;e=g;break g}f=Ub[v[b+12>>2]](d+24|0,d+16|0,d+32|0,c)|0;break f}if((g|0)!=7){break a}break b}if(e>>>0>>0){continue}break}}f=Ub[v[b+4>>2]](d+32|0,c)|0}if(f){break a}g=m+1|0;f=0;n=n+1|0;if((n|0)>1]){continue}break}break a}f=20}Qb=d+48|0;return f|0}function ZW(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=a+72|0;j=a+92|0;d=v[a+124>>2];h=2;a:{b:{c:{while(1){d:{e:{f:{g:{h:{i:{j:{k:{switch(d|0){case 1:d=v[a+72>>2];break j;case 10:break a;case 2:break i;case 0:break k;case 9:break b;case 8:break c;case 7:break d;case 6:break e;case 5:break f;case 4:break g;case 3:break h;default:continue}}cv(k,v[a+120>>2]!=0);xz(k,A[a+112>>3],v[a+120>>2]);d=v[a+72>>2];if(d>>>0<=2){v[a+120>>2]=0}v[a+132>>2]=0;v[a+136>>2]=0;v[a+124>>2]=1}h=d;d=v[a+120>>2];if(h>>>0<(d?3:2)>>>0){break a}v[a+132>>2]=0;v[a+136>>2]=0;d=d?4:2;v[a+124>>2]=d;h=1;continue}d=v[v[a+84>>2]>>2];YW(a,j,d,d+24|0,A[d+16>>3]);v[a+132>>2]=1;v[a+136>>2]=0;v[a+124>>2]=7;v[a+128>>2]=4;d=7;continue}e=v[a+72>>2];d=e-1|0;f=v[a+84>>2];e=e-2|0;e=v[f+(e>>>4&268435452)>>2]+B(e&63,24)|0;YW(a,j,v[f+(d>>>4&268435452)>>2]+B(d&63,24)|0,e,A[e+16>>3]);v[a+136>>2]=0;v[a+124>>2]=7;v[a+128>>2]=6;d=7;continue}e=v[a+72>>2];d=v[a+132>>2];l:{if(v[a+120>>2]){if(d>>>0>>0){break l}v[a+124>>2]=8;v[a+128>>2]=5;d=8;continue}if(d>>>0>>0){break l}d=3;v[a+124>>2]=3;continue}f=v[a+84>>2];g=((d+e|0)-1>>>0)%(e>>>0)|0;g=v[f+(g>>>4&268435452)>>2]+B(g&63,24)|0;i=v[f+(d>>>4&268435452)>>2]+B(d&63,24)|0;d=(d+1>>>0)%(e>>>0)|0;XW(a,j,g,i,v[f+(d>>>4&268435452)>>2]+B(d&63,24)|0,A[g+16>>3],A[i+16>>3]);v[a+136>>2]=0;e=v[a+124>>2];d=7;v[a+124>>2]=7;v[a+128>>2]=e;v[a+132>>2]=v[a+132>>2]+1;continue}v[a+124>>2]=6;h=1}d=v[a+132>>2];if(d>>>0<=!v[a+120>>2]>>>0){v[a+124>>2]=9;v[a+128>>2]=10;d=9;continue}e=d-1|0;v[a+132>>2]=e;f=v[a+84>>2];e=v[f+(e>>>4&268435452)>>2]+B(e&63,24)|0;g=v[a+72>>2];i=(d>>>0)%(g>>>0)|0;d=((d+g|0)-2>>>0)%(g>>>0)|0;d=v[f+(d>>>4&268435452)>>2]+B(d&63,24)|0;XW(a,j,v[f+(i>>>4&268435452)>>2]+B(i&63,24)|0,e,d,A[e+16>>3],A[d+16>>3]);v[a+136>>2]=0;v[a+128>>2]=v[a+124>>2];d=7;v[a+124>>2]=7;continue}d=v[a+136>>2];if(d>>>0>=y[a+92>>2]){d=v[a+128>>2];v[a+124>>2]=d;continue}break}v[a+136>>2]=d+1;a=v[v[a+104>>2]+(d>>>4&268435452)>>2]+((d&63)<<4)|0;A[b>>3]=A[a>>3];A[c>>3]=A[a+8>>3];return h}v[a+124>>2]=v[a+128>>2];return 95}v[a+124>>2]=v[a+128>>2];l=111}return l}function YK(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;j=Qb-128|0;Qb=j;a:{b:{c:{if(!rp(f,g,h,i,0,0,0,0)){break c}l=h;m=i&65535;o=i>>>16&32767;d:{e:{if((o|0)!=32767){n=4;if(o){break e}n=f|l|(g|m)?3:2;break d}n=!(f|l|(g|m))}}if(!n){break c}r=e>>>16|0;p=r&32767;if((p|0)!=32767){break b}}pf(j+16|0,b,c,d,e,f,g,h,i);e=v[j+16>>2];d=v[j+20>>2];c=v[j+24>>2];b=v[j+28>>2];hN(j,e,d,c,b,e,d,c,b);d=v[j+8>>2];e=v[j+12>>2];h=v[j>>2];i=v[j+4>>2];break a}l=p<<16;n=d;q=l|e&65535;m=q;o=h;q=i>>>16&32767;k=i&65535|q<<16;if((rp(b,c,n,m,f,g,h,k)|0)<=0){if(rp(b,c,n,m,f,g,o,k)){h=b;i=c;break a}pf(j+112|0,b,c,d,e,0,0,0,0);d=v[j+120>>2];e=v[j+124>>2];h=v[j+112>>2];i=v[j+116>>2];break a}if(p){i=c;h=b}else{pf(j+96|0,b,c,n,m,0,0,0,1081540608);h=v[j+108>>2];m=h;n=v[j+104>>2];p=(h>>>16|0)-120|0;i=v[j+100>>2];h=v[j+96>>2]}if(!q){pf(j+80|0,f,g,o,k,0,0,0,1081540608);f=v[j+92>>2];k=f;o=v[j+88>>2];q=(k>>>16|0)-120|0;g=v[j+84>>2];f=v[j+80>>2]}s=k&65535|65536;m=m&65535|65536;if((p|0)>(q|0)){while(1){k=n;l=o;t=k-l|0;l=m-((k>>>0>>0)+s|0)|0;k=(g|0)==(i|0)&f>>>0>h>>>0|g>>>0>i>>>0;l=l-(k>>>0>t>>>0)|0;k=t-k|0;f:{if((l|0)>0|(l|0)>=0){m=h;h=h-f|0;i=i-((f>>>0>m>>>0)+g|0)|0;if(!(h|k|(i|l))){pf(j+32|0,b,c,d,e,0,0,0,0);d=v[j+40>>2];e=v[j+44>>2];h=v[j+32>>2];i=v[j+36>>2];break a}l=l<<1|k>>>31;n=k<<1|i>>>31;break f}l=m<<1|n>>>31;n=n<<1|i>>>31}m=l;l=i<<1|h>>>31;h=h<<1;i=l;p=p-1|0;if((q|0)<(p|0)){continue}break}p=q}l=n;q=l-o|0;k=m-((l>>>0>>0)+s|0)|0;l=(g|0)==(i|0)&f>>>0>h>>>0|g>>>0>i>>>0;k=k-(l>>>0>q>>>0)|0;o=q-l|0;g:{if((k|0)<0){o=n;k=m;break g}n=h;h=h-f|0;i=i-((f>>>0>n>>>0)+g|0)|0;if(h|o|(i|k)){break g}pf(j+48|0,b,c,d,e,0,0,0,0);d=v[j+56>>2];e=v[j+60>>2];h=v[j+48>>2];i=v[j+52>>2];break a}if((k|0)==65535|k>>>0<65535){while(1){b=i>>>31|0;p=p-1|0;m=i<<1|h>>>31;h=h<<1;i=m;c=b;b=o;k=k<<1|b>>>31;o=c|b<<1;if(k>>>0<65536){continue}break}}b=r&32768;if((p|0)<=0){pf(j- -64|0,h,i,o,k&65535|(b|p+120)<<16,0,0,0,1065811968);d=v[j+72>>2];e=v[j+76>>2];h=v[j+64>>2];i=v[j+68>>2];break a}d=o;e=k&65535|(b|p)<<16}v[a>>2]=h;v[a+4>>2]=i;v[a+8>>2]=d;v[a+12>>2]=e;Qb=j+128|0}function $ua(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,h=0,i=0,j=0,k=0,l=0,m=0,n=0;g=Qb-96|0;Qb=g;j=v[v[a+4>>2]>>2];k=Ub[v[v[j>>2]+52>>2]](j)|0;j=km();h=v[v[a+4>>2]>>2];m=j,n=Ub[v[v[h>>2]+24>>2]](h)|0,l=v[v[j>>2]+24>>2],Ub[l](m|0,n|0);Ub[v[v[k>>2]+68>>2]](k,j);h=us();Ub[v[v[h>>2]+428>>2]](h,k);Ub[v[v[a>>2]+36>>2]](a,b,g+72|0,g- -64|0,g+88|0,g+80|0);j=g;if((e|0)>=1){i=+(e|0)}else{i=A[g+72>>3];a:{if(D(i)<2147483648){e=~~i;break a}e=-2147483648}i=+(B(e,96)|0)/A[g+88>>3]}b:{if(D(i)<2147483648){e=~~i;break b}e=-2147483648}v[j+60>>2]=e;j=g;if((f|0)>=1){i=+(f|0)}else{i=A[g+64>>3];c:{if(D(i)<2147483648){f=~~i;break c}f=-2147483648}i=+(B(f,96)|0)/A[g+88>>3]}d:{if(D(i)<2147483648){f=~~i;break d}f=-2147483648}v[j+56>>2]=f;e=B(e,f)<<2;f=ic(fc(e),255,e);e=g+8|0;v[e>>2]=0;v[e+4>>2]=0;t[e+40|0]=0;v[e+32>>2]=0;v[e+36>>2]=-1074790400;t[e+21|0]=0;t[e+22|0]=0;t[e+23|0]=0;t[e+24|0]=0;t[e+25|0]=0;t[e+26|0]=0;t[e+27|0]=0;t[e+28|0]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;v[299999]=0;v[e+16>>2]=f;f=v[299999];v[299999]=0;e:{if((f|0)==1){break e}v[299999]=0;v[e+4>>2]=v[g+60>>2];f=v[299999];v[299999]=0;if((f|0)==1){break e}v[299999]=0;v[e+8>>2]=v[g+56>>2];f=v[299999];v[299999]=0;if((f|0)==1){break e}v[299999]=0;v[g+4>>2]=0-(v[g+60>>2]<<2);v[e+12>>2]=v[g+4>>2];f=v[299999];v[299999]=0;if((f|0)==1){break e}f=v[v[h>>2]+456>>2];v[299999]=0;V(f|0,h|0,e|0);f=v[299999];v[299999]=0;if((f|0)==1){break e}f=v[v[h>>2]+448>>2];v[299999]=0;V(f|0,h|0,0);f=v[299999];v[299999]=0;if((f|0)==1){break e}f=v[v[h>>2]+36>>2];v[299999]=0;Q(f|0,h|0,g+72|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break e}f=v[v[h>>2]+28>>2];v[299999]=0;Q(f|0,h|0,g- -64|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break e}t[g+4|0]=0;f=v[v[a>>2]+40>>2];v[299999]=0;$(f|0,a|0,h|0,b|0,g+4|0);a=v[299999];v[299999]=0;if((a|0)==1){break e}v[299999]=0;Y(3046,e|0,c|0,d|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break e}a=v[v[k>>2]+12>>2];v[299999]=0;S(a|0,k|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break e}Ub[v[v[h>>2]+4>>2]](h);Ze(e);Qb=g+96|0;return}a=P()|0;O()|0;Ze(e);T(a|0);L()}function JX(a){a=a|0;var b=0,c=0,d=0;b=a;v[b>>2]=0;v[b+4>>2]=0;t[b+96|0]=0;v[b+88>>2]=-2147483647;v[b+92>>2]=-2147483647;v[b+80>>2]=2147483647;v[b+84>>2]=2147483647;v[b+64>>2]=2147483647;v[b+68>>2]=2147483647;v[b+48>>2]=2147483647;v[b+52>>2]=2147483647;v[b+100>>2]=0;v[b+104>>2]=0;v[b+40>>2]=0;v[b+44>>2]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b+72>>2]=0;v[b+76>>2]=0;v[b+56>>2]=0;v[b+60>>2]=0;v[b+108>>2]=0;v[b+112>>2]=0;v[b+116>>2]=0;v[b+120>>2]=0;t[b+121|0]=0;t[b+122|0]=0;t[b+123|0]=0;t[b+124|0]=0;t[b+125|0]=0;t[b+126|0]=0;t[b+127|0]=0;t[b+128|0]=0;v[b+1172>>2]=0;v[b+1164>>2]=0;v[b+1168>>2]=0;t[b+1160|0]=1;v[b+1156>>2]=0;b=b+132|0;while(1){v[(d<<2)+b>>2]=d;c=d|1;v[(c<<2)+b>>2]=c;c=d|2;v[(c<<2)+b>>2]=c;c=d|3;v[(c<<2)+b>>2]=c;c=d|4;v[(c<<2)+b>>2]=c;c=d|5;v[(c<<2)+b>>2]=c;c=d|6;v[(c<<2)+b>>2]=c;c=d|7;v[(c<<2)+b>>2]=c;d=d+8|0;if((d|0)!=256){continue}break}v[a+1180>>2]=0;v[a+1184>>2]=0;b=a+1188|0;v[b>>2]=0;v[b+4>>2]=0;b=a+1200|0;v[b>>2]=0;v[b+4>>2]=0;v[a+1196>>2]=126;b=a+1208|0;v[b>>2]=0;v[b+4>>2]=0;b=a+1220|0;v[b>>2]=0;v[b+4>>2]=0;v[a+1216>>2]=64;b=a+1228|0;v[b>>2]=0;v[b+4>>2]=0;b=a+1240|0;v[b>>2]=0;v[b+4>>2]=0;v[a+1236>>2]=254;b=a+1248|0;v[b>>2]=0;v[b+4>>2]=0;b=a+1292|0;v[b>>2]=-2147483647;v[b+4>>2]=-2147483647;b=a+1284|0;v[b>>2]=2147483647;v[b+4>>2]=2147483647;v[a+1256>>2]=256;b=a+1276|0;v[b>>2]=0;v[b+4>>2]=0;b=a+1268|0;v[b>>2]=0;v[b+4>>2]=0;b=a+1260|0;v[b>>2]=0;v[b+4>>2]=0;b=a+1308|0;v[b>>2]=0;v[b+4>>2]=0;b=a+1300|0;v[b>>2]=0;v[b+4>>2]=0;b=a+1332|0;v[b>>2]=0;v[b+4>>2]=0;b=a+1316|0;v[b>>2]=0;v[b+4>>2]=126;b=a+1324|0;v[b>>2]=0;v[b+4>>2]=0;b=a+1352|0;v[b>>2]=0;v[b+4>>2]=0;v[a+1340>>2]=64;b=a+1344|0;v[b>>2]=0;v[b+4>>2]=0;b=a+1372|0;v[b>>2]=0;v[b+4>>2]=0;v[a+1360>>2]=254;b=a+1364|0;v[b>>2]=0;v[b+4>>2]=0;b=a+1416|0;v[b>>2]=-2147483647;v[b+4>>2]=-2147483647;b=a+1408|0;v[b>>2]=2147483647;v[b+4>>2]=2147483647;v[a+1424>>2]=0;v[a+1380>>2]=256;b=a+1400|0;v[b>>2]=0;v[b+4>>2]=0;b=a+1392|0;v[b>>2]=0;v[b+4>>2]=0;b=a+1384|0;v[b>>2]=0;v[b+4>>2]=0;u[a+1432>>1]=0;return a|0}function DE(a){var 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;g=v[a+200>>2];b=Gj(v[a+24>>2],g);if(b){v[b+28>>2]=v[b+28>>2]+1;return b}a:{b:{c:{f=v[a+424>>2];a=v[f>>2];if(!a){break c}if(Rf(v[a>>2],g)){break c}a=v[f>>2];break b}b=4;d:{e:{i=f+4|0;c=v[i>>2];if(c){a=i;if(!Rf(v[c>>2],g)){break e}}f:{a=v[f+8>>2];if(!a){break f}if(Rf(v[a>>2],g)){break f}b=8;a=f+8|0;break e}b=12;a=f+12|0;c=v[f+12>>2];if(c){if(!Rf(v[c>>2],g)){break e}}b=0;c=Qb-384|0;Qb=c;g:{h:{i:{a=Gj(v[v[294330]+28>>2],g);if(a){a=cl(v[a+4>>2],240511)}else{a=0}j:{if(!a){v[c>>2]=g;kc(1,-1,272817,c);break j}b=fc(32);v[299999]=0;d=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break i}e=0;v[299999]=0;Q(3064,d|0,g|0)|0;j=v[299999];v[299999]=0;if((j|0)==1){a=P()|0;O()|0;dc(d);break h}v[b+4>>2]=0;v[b+8>>2]=0;v[b>>2]=d;j=1;v[b+28>>2]=1;v[b+12>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;l=8;q=b,r=ed(8,16),v[q+12>>2]=r;if(Tp(c+128|0,256,a)){while(1){k:{l:{k=Xf(c+128|0,357665);if(!k){break l}d=Xf(0,357665);if(!d){break l}h=Xf(0,357665);o=h?d:k;m=h?h:d;d=Bc(m);h=(d|0)/2|0;if((d|0)<10){n=v[b+16>>2];m:{if((n|0)!=(l|0)){d=v[b+12>>2];break m}l=l<<1;d=pd(v[b+12>>2],l,16);v[b+12>>2]=d}d=(n<<4)+d|0;v[c+64>>2]=d;ef(k,221178,c- -64|0);v[c+48>>2]=d+4;ef(o,221178,c+48|0);v[c+32>>2]=d+8;ef(m,221178,c+32|0);v[d+12>>2]=h;v[b+16>>2]=n+1;break k}if((k|0)==(o|0)){n:{if((e|0)!=(p|0)){d=v[b+20>>2];break n}p=e+16|0;d=pd(v[b+20>>2],p,24);v[b+20>>2]=d}d=B(e,24)+d|0;v[c+96>>2]=d;ef(k,221178,c+96|0);e=0;while(1){v[c+80>>2]=c+124;ef((e<<1)+m|0,221145,c+80|0);t[(d+e|0)+4|0]=v[c+124>>2];e=e+1|0;if((h|0)!=(e|0)){continue}break}e=v[b+24>>2];v[d+20>>2]=h;e=e+1|0;v[b+24>>2]=e;break k}v[c+116>>2]=g;v[c+112>>2]=j;kc(1,-1,272756,c+112|0);break k}v[c+20>>2]=g;v[c+16>>2]=j;kc(1,-1,272756,c+16|0)}j=j+1|0;if(Tp(c+128|0,256,a)){continue}break}}Be(a)}Qb=c+384|0;a=b;break g}a=P()|0;O()|0}dc(b);T(a|0);L()}b=0;if(!a){break a}b=v[f+12>>2];if(b){Zn(b)}b=v[f+4>>2];c=v[f>>2];v[i+8>>2]=v[f+8>>2];v[i>>2]=c;v[i+4>>2]=b;break d}a=v[a>>2];Wd(i,f,b)}v[f>>2]=a}v[a+28>>2]=v[a+28>>2]+1;b=a}return b}function jIa(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;c=Qb-16|0;Qb=c;f=v[a+4>>2];g=v[f+32>>2];if(g){Ub[v[v[g>>2]+12>>2]](g)|0;f=v[a+4>>2];v[f+32>>2]=0}f=v[f+28>>2];f=Ub[v[v[f>>2]+52>>2]](f)|0;v[v[a+4>>2]+32>>2]=f;f=km();g=v[v[a+4>>2]+28>>2];j=f,k=Ub[v[v[g>>2]+24>>2]](g)|0,i=v[v[f>>2]+24>>2],Ub[i](j|0,k|0);g=v[v[a+4>>2]+32>>2];Ub[v[v[g>>2]+68>>2]](g,f);v[c>>2]=1;Ub[v[v[f>>2]+20>>2]](f,c);f=0;v[v[294330]+456>>2]=v[v[a+4>>2]+32>>2];g=v[v[a+4>>2]>>2];if(g){dc(Gr(g))}Ub[v[v[a>>2]+24>>2]](c,a);h=w[c+11|0];g=h<<24>>24;a:{b:{c:{d:{if(!((g|0)<0?v[c+4>>2]:h)){v[299999]=0;f=ca(2608,c|0,0,-1,885220,0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break d}g=t[c+11|0];f=!f}if((g|0)<=-1){dc(v[c>>2])}e:{f:{g:{if(!f){break g}g=w[1176279];f=g<<24>>24<0;h:{i:{h=v[294068];if(f?h:g){if(f){break i}v[c+8>>2]=v[294069];f=v[294068];v[c>>2]=v[294067];v[c+4>>2]=f;break h}f=ei(311903);j:{if(f){break j}f=ei(311899);if(f){break j}f=ei(311727)}f=f?f:242508;g=Bc(f);v[c+8>>2]=0;v[c>>2]=0;v[c+4>>2]=0;v[299999]=0;U(2715,f|0,g|0,c|0);f=v[299999];v[299999]=0;if((f|0)!=1){break h}a=P()|0;O()|0;if(t[c+11|0]<=-1){dc(v[c>>2])}T(a|0);L()}Ke(c,v[294067],h)}f=v[v[a>>2]+28>>2];v[299999]=0;V(f|0,a|0,c|0);f=v[299999];v[299999]=0;if((f|0)==1){break f}if(t[c+11|0]>-1){break g}dc(v[c>>2])}v[a+8>>2]=0;d=wy(d);e=wy(e);f=w[b+11|0];g=f<<24>>24<0;ks(c,g?v[b>>2]:b,g?v[b+4>>2]:f,0);v[299999]=0;b=S(1,48)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break e}break c}a=P()|0;O()|0;if(t[c+11|0]>-1){break a}dc(v[c>>2]);T(a|0);L()}v[299999]=0;ca(3041,b|0,(t[c+11|0]<0?v[c>>2]:c)|0,d|0,e|0,0)|0;f=v[299999];v[299999]=0;if((f|0)!=1){v[v[a+4>>2]>>2]=b;if(d){dc(Dc(d))}if(e){dc(Dc(e))}d=v[a+4>>2];b=v[d>>2];k:{if(!b){v[a+8>>2]=12;a=0;break k}v[a+8>>2]=v[b+44>>2];if(!v[b+40>>2]){dc(Gr(b));v[v[a+4>>2]>>2]=0;a=0;break k}b=v[d+36>>2];v[299999]=0;vu(b);b=v[299999];v[299999]=0;if((b|0)==1){break c}a=!v[a+8>>2]}if(t[c+11|0]<=-1){dc(v[c>>2])}Qb=c+16|0;return a|0}a=P()|0;O()|0;dc(b);break b}W(0)|0;O()|0;lc();L()}a=P()|0;O()|0}if(t[c+11|0]>-1){break a}dc(v[c>>2])}T(a|0);L()}function HOa(a,b){a=a|0;b=b|0;var c=0,d=0;b=Qb-96|0;Qb=b;c=fc(80);v[b+64>>2]=c;v[b+68>>2]=16;v[b+72>>2]=-2147483628;v[299999]=0;tc(c,467916,16);d=v[299999];v[299999]=0;if((d|0)!=1){a:{v[c+64>>2]=0;v[299999]=0;U(2682,b+80|0,b- -64|0,1);c=v[299999];v[299999]=0;b:{c:{d:{e:{f:{g:{h:{if((c|0)!=1){if(t[b+75|0]<=-1){dc(v[b+64>>2])}v[299999]=0;c=S(1,96)|0;d=v[299999];v[299999]=0;if((d|0)==1){break h}v[b+48>>2]=c;v[b+52>>2]=20;v[b+56>>2]=-2147483624;v[299999]=0;tc(c,467984,20);d=v[299999];v[299999]=0;if((d|0)==1){break a}v[c+80>>2]=0;v[299999]=0;U(2694,b+48|0,b+80|0,1);c=v[299999];v[299999]=0;if((c|0)==1){break g}if(t[b+59|0]<=-1){dc(v[b+48>>2])}v[299999]=0;c=S(1,112)|0;d=v[299999];v[299999]=0;if((d|0)==1){break h}v[b+32>>2]=c;v[b+36>>2]=24;v[b+40>>2]=-2147483620;v[299999]=0;tc(c,468068,24);d=v[299999];v[299999]=0;if((d|0)==1){break a}v[c+96>>2]=0;v[299999]=0;U(2694,b+32|0,b+80|0,1);c=v[299999];v[299999]=0;if((c|0)==1){break f}if(t[b+43|0]<=-1){dc(v[b+32>>2])}v[299999]=0;c=S(1,96)|0;d=v[299999];v[299999]=0;if((d|0)==1){break h}v[b+16>>2]=c;v[b+20>>2]=22;v[b+24>>2]=-2147483624;v[299999]=0;tc(c,468168,22);d=v[299999];v[299999]=0;if((d|0)==1){break a}v[c+88>>2]=0;v[299999]=0;U(2694,b+16|0,b+80|0,1);c=v[299999];v[299999]=0;if((c|0)==1){break e}if(t[b+27|0]<=-1){dc(v[b+16>>2])}v[299999]=0;c=S(1,64)|0;d=v[299999];v[299999]=0;if((d|0)==1){break h}v[b>>2]=c;v[b+4>>2]=15;v[b+8>>2]=-2147483632;v[299999]=0;tc(c,468260,15);d=v[299999];v[299999]=0;if((d|0)==1){break a}v[c+60>>2]=0;v[299999]=0;U(2694,b|0,b+80|0,1);c=v[299999];v[299999]=0;if((c|0)==1){break d}if(t[b+11|0]<=-1){dc(v[b>>2])}v[a>>2]=v[b+80>>2];v[a+4>>2]=v[b+84>>2];v[a+8>>2]=v[b+88>>2];Qb=b+96|0;return}a=P()|0;O()|0;if(t[b+75|0]>-1){break b}dc(v[b+64>>2]);T(a|0);L()}a=P()|0;O()|0;break c}a=P()|0;O()|0;if(t[b+59|0]>-1){break c}dc(v[b+48>>2]);break c}a=P()|0;O()|0;if(t[b+43|0]>-1){break c}dc(v[b+32>>2]);break c}a=P()|0;O()|0;if(t[b+27|0]>-1){break c}dc(v[b+16>>2]);break c}a=P()|0;O()|0;if(t[b+11|0]>-1){break c}dc(v[b>>2])}Qg(b+80|0)}T(a|0);L()}}W(0)|0;O()|0;lc();L()}function Fea(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=Qb-32|0;Qb=d;v[a+24>>2]=0;a:{b:{c:{e=v[a+12>>2];e=Ub[v[v[e>>2]+8>>2]](e,b,c)|0;if(e){v[d+8>>2]=0;d:{c=v[a+16>>2];if(!c){break d}f=v[v[c>>2]+76>>2];v[299999]=0;V(f|0,d+24|0,c|0);c=v[299999];v[299999]=0;e:{if((c|0)!=1){v[299999]=0;Q(4344,d+8|0,d+24|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){c=v[d+24>>2];v[d+24>>2]=0;if(!c){break d}v[299999]=0;f=v[c+4>>2]-1|0;v[c+4>>2]=f;g=v[299999];v[299999]=0;if((g|0)!=1){if(f){break d}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)!=1){break d}}break b}a=P()|0;O()|0;ec(d+24|0);break e}a=P()|0;O()|0}break a}v[299999]=0;$(5361,d+16|0,b|0,e|0,d+8|0);b=v[299999];v[299999]=0;f:{g:{if((b|0)!=1){v[299999]=0;Q(4535,a+16|0,d+16|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break g}ec(d+16|0);a=v[d+8>>2];v[d+8>>2]=0;if(!a){break c}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break b}if(b){break c}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break b}break c}a=P()|0;O()|0;break f}a=P()|0;O()|0;ec(d+16|0)}break a}v[d+8>>2]=0;h:{b=v[a+16>>2];if(!b){break h}c=v[v[b>>2]+76>>2];v[299999]=0;V(c|0,d+24|0,b|0);b=v[299999];v[299999]=0;i:{j:{if((b|0)!=1){v[299999]=0;Q(4344,d+8|0,d+24|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break j}b=v[d+24>>2];v[d+24>>2]=0;if(!b){break h}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;f=v[299999];v[299999]=0;if((f|0)!=1){if(c){break h}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break h}}break b}a=P()|0;O()|0;break i}a=P()|0;O()|0;ec(d+24|0)}break a}v[299999]=0;$(5361,d+16|0,0,0,d+8|0);b=v[299999];v[299999]=0;k:{l:{if((b|0)!=1){v[299999]=0;Q(4535,a+16|0,d+16|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break l}ec(d+16|0);a=v[d+8>>2];v[d+8>>2]=0;if(!a){break c}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break c}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break c}}break b}a=P()|0;O()|0;break k}a=P()|0;O()|0;ec(d+16|0)}break a}Qb=d+32|0;return e|0}W(0)|0;O()|0;lc();L()}ec(d+8|0);T(a|0);L()}function ik(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0;a:{if((d|0)==-2147483648){break a}f=v[b+12>>2];if((2147483647-f|0)<(d|0)){break a}h=0-d&d>>31;g=v[a+12>>2];o=(g|0)<(d+f|0)?g-d|0:f;if((h|0)>=(o|0)){break a}g=(c|0)>-1?c&-8:0;f=v[a+8>>2];i=v[b+8>>2]+c|0;f=(f|0)<(i|0)?f:i;if((g|0)>=(f|0)){break a}i=f&7;k=i?255<<8-i&255:255;j=c&7;q=c>>>3|0;r=0-c>>>3|0;n=255>>>i|0;if((g|0)!=(f-1&-8)){s=f-8|0;p=g+8|0;u=255<<8-j;x=(c|0)<0;while(1){c=B(v[a+16>>2],d+h|0);f=v[a+20>>2];b:{if(!x){f=c+(f+q|0)|0;c=w[f|0];m=v[b+20>>2]+B(v[b+16>>2],h)|0;l=w[m|0];c:{d:{switch(e|0){case 0:c=l>>>j|c;break c;case 1:c=(l|65280)>>>j&c;break c;case 2:c=l>>>j^c;break c;case 3:c=(l^255)>>>j^c;break c;case 4:break d;default:break c}}c=c&u|l>>>j}t[f|0]=c;i=p;c=f+1|0;break b}m=(v[b+20>>2]+r|0)+B(v[b+16>>2],h)|0;l=w[m|0];i=0;c=c+f|0}m=m+1|0;if((i|0)<(s|0)){while(1){f=l<<8;l=w[m|0];g=(f|l)>>>j|0;f=w[c|0];e:{f:{switch(e|0){case 0:f=f|g;break e;case 1:f=f&g;break e;case 2:f=f^g;break e;case 3:f=f^g^-1;break e;case 4:break f;default:break e}}f=g}t[c|0]=f;m=m+1|0;c=c+1|0;i=i+8|0;if((s|0)>(i|0)){continue}break}}g=(w[m|0]|l<<8)>>>j|0;f=w[c|0];g:{h:{switch(e|0){case 0:f=g&k|f;break g;case 1:f=(g|n)&f;break g;case 2:f=g&k^f;break g;case 3:f=(g^-1)&k^f;break g;case 4:break h;default:break g}}f=g&k|f&n}t[c|0]=f;h=h+1|0;if((o|0)>(h|0)){continue}break}break a}if((c|0)>=0){g=255>>>j&k;i=g^-1;while(1){p=(v[a+20>>2]+q|0)+B(v[a+16>>2],d+h|0)|0;c=w[p|0];f=w[v[b+20>>2]+B(v[b+16>>2],h)|0];i:{j:{switch(e|0){case 4:c=g&f>>>j|c&i;break i;case 3:c=(f^255)>>>j&k^c;break i;case 2:c=f>>>j&k^c;break i;case 1:c=((f|65280)>>>j|n)&c;break i;case 0:break j;default:break i}}c=f>>>j&k|c}t[p|0]=c;h=h+1|0;if((o|0)>(h|0)){continue}break}break a}while(1){f=w[(v[b+20>>2]+r|0)+B(v[b+16>>2],h)|0];g=v[a+20>>2]+B(v[a+16>>2],d+h|0)|0;c=w[g|0];k:{l:{switch(e|0){case 4:c=f&k|c&n;break k;case 3:c=(f^-1)&k^c;break k;case 2:c=f&k^c;break k;case 1:c=(f|n)&c;break k;case 0:break l;default:break k}}c=f&k|c}t[g|0]=c;h=h+1|0;if((o|0)>(h|0)){continue}break}}}function XU(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(!b){return-1}e=v[b>>2];a:{if(!a){while(1){a=w[e|0];c=a-48|0;b:{if(((a&223)-65&255)>>>0<26|(c&255)>>>0<10){break b}c:{switch(a-33|0){case 0:case 3:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 25:case 26:case 28:case 30:case 31:case 62:case 93:break b;case 4:break c;default:break a}}d:{c=w[e+1|0];if((c-48&255)>>>0<10){break d}switch(c-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break d;default:break a}}c=w[e+2|0];if((c-48&255)>>>0<10){break b}switch(c-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break b;default:break a}}e=((a|0)==37?3:1)+e|0;continue}}while(1){e:{c=w[e|0];d=c-48|0;f:{if(((c&223)-65&255)>>>0<26|(d&255)>>>0<10){break f}g:{h:{switch(c-33|0){case 0:case 3:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 25:case 26:case 28:case 30:case 31:case 62:case 93:break f;case 4:break h;default:break g}}i:{d=w[e+1|0];if((d-48&255)>>>0<10){break i}switch(d-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break i;default:break g}}d=w[e+2|0];if((d-48&255)>>>0<10){break f}switch(d-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break f;default:break g}}g=v[a+36>>2];if(!(g&1)){break e}switch(c-91|0){case 0:case 1:case 2:case 3:case 5:case 32:case 33:case 34:break f;default:break e}}e=((c|0)==37?3:1)+e|0;continue}break}c=v[a+28>>2];if(c){Ub[v[259708]](c);g=v[a+36>>2]}f=v[b>>2];d=e-f|0;j:{if(g&2){c=0;if(!f|(d|0)<0){break j}c=Ub[v[259707]](d+1|0)|0;if(!c){c=0;oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break j}h=gc(c,f,d)+d|0,i=0,t[h|0]=i;break j}c=bm(f,d)}v[a+28>>2]=c;c=v[a+40>>2];if(c){Ub[v[259708]](c)}c=0;f=v[b>>2];k:{if(!f){break k}d=e-f|0;if((d|0)<0){break k}c=Ub[v[259707]](d+1|0)|0;if(!c){c=0;oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break k}h=gc(c,f,d)+d|0,i=0,t[h|0]=i}v[a+40>>2]=c}v[b>>2]=e;return 0}function DEa(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,p=0,q=0,r=0,s=0,t=0,u=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;u=Qb-256|0;Qb=u;e=a;while(1){a:{h=e;d=v[(l<<2)+b>>2]+c|0;i=w[d+4|0];m=w[d+3|0];g=i+m|0;k=w[d+7|0];j=w[d|0];f=k+j|0;n=g+f|0;p=w[d+5|0];o=w[d+2|0];q=p+o|0;r=w[d+6|0];s=w[d+1|0];d=r+s|0;t=q+d|0;v[e+16>>2]=n-t<<2;v[e>>2]=(n+t<<2)-4096;g=f-g|0;f=d-q|0;d=B(g+f|0,4433)+1024|0;v[e+24>>2]=d+B(f,-15137)>>11;v[e+8>>2]=d+B(g,6270)>>11;d=m-i|0;i=j-k|0;m=B(d+i|0,-7373)+1024|0;g=s-r|0;f=g+d|0;k=o-p|0;n=k+i|0;j=B(f+n|0,9633);o=m+B(d,2446)|0;d=j+B(f,-16069)|0;v[e+28>>2]=o+d>>11;j=j+B(n,-3196)|0;f=B(k,16819);k=B(g+k|0,-20995)+1024|0;v[e+20>>2]=j+(f+k|0)>>11;v[e+12>>2]=d+(k+B(g,25172)|0)>>11;v[e+4>>2]=j+(m+B(i,12299)|0)>>11;i=l-7|0;l=l+1|0;d=7;e=u;b:{switch(i|0){case 0:continue;case 8:break a;default:break b}}e=h+32|0;continue}break}while(1){i=v[e+32>>2];m=v[a+192>>2];b=i+m|0;k=v[e+192>>2];j=v[a+32>>2];c=k+j|0;h=b+c|0;l=v[e+64>>2];g=v[a+160>>2];f=l+g|0;n=v[e+160>>2];p=v[a+64>>2];o=n+p|0;q=f+o|0;r=v[e>>2];s=v[a+224>>2];t=r+s|0;x=v[e+224>>2];y=v[a>>2];z=x+y|0;A=t+z|0;C=v[e+96>>2];D=v[a+128>>2];E=C+D|0;F=v[e+128>>2];G=v[a+96>>2];H=F+G|0;I=E+H|0;v[a+128>>2]=(B(h-q|0,4433)+B(A-I|0,10703)|0)+32768>>16;v[a>>2]=((h+(q+I|0)|0)+A|0)+4>>3;h=z-t|0;f=o-f|0;o=H-E|0;c=c-b|0;b=(B(h-f|0,11363)+B(o-c|0,2260)|0)+32768|0;v[a+192>>2]=(b+B(o,-8697)|0)+B(h,-1730)>>16;v[a+64>>2]=(b+B(f,17799)|0)+B(c,11893)>>16;b=g-l|0;c=D-C|0;h=G-F|0;l=p-n|0;g=(B(b-c|0,3363)+B(h+l|0,-11086)|0)+32768|0;i=m-i|0;m=j-k|0;k=B(i+c|0,-10217)+B(m+h|0,-5461)|0;n=k+((g+B(h,8728)|0)+B(c,17760)|0)|0;j=c;c=s-r|0;f=h;h=y-x|0;j=B(j-c|0,7350)+B(f+h|0,8956)|0;v[a+224>>2]=n+j>>16;f=(g+B(l,-9222)|0)+B(b,10055)|0;g=B(i-b|0,11529)+B(l+m|0,1136)|0;b=B(b+c|0,5461)+B(h+l|0,10217)|0;v[a+160>>2]=(f+g|0)+b>>16;l=B(i-c|0,3363)+B(h+m|0,11086)|0;v[a+96>>2]=(l+(g+((k+B(m,589)|0)+B(i,-13631)|0)|0)|0)+32768>>16;v[a+32>>2]=(b+(j+((l+B(h,-18730)|0)+B(c,6387)|0)|0)|0)+32768>>16;b=d;d=d-1|0;e=e+4|0;a=a+4|0;if(b){continue}break}Qb=u+256|0}function fQa(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,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,z=0,A=0,C=0,D=0;z=Qb-224|0;Qb=z;n=v[a+332>>2];b=v[b+84>>2];a=z;while(1){h=v[b+160>>2];i=u[c+80>>1];j=v[b+32>>2];o=u[c+16>>1];q=v[b+96>>2];l=u[c+48>>1];p=B(u[c>>1],v[b>>2])<<13|1024;g=B(v[b+128>>2],u[c+64>>1]);f=B(v[b+192>>2],u[c+96>>1]);m=B(v[b+64>>2],u[c+32>>1]);k=f+m|0;v[a+96>>2]=p+B(g-k|0,11585)>>11;h=B(h,i);i=B(j,o);j=B(h+i|0,5027);k=p+B(k,10438)|0;o=B(g-f|0,7223);s=k+(o+B(f,-637)|0)|0;f=B(q,l);q=B(f+i|0,7663);i=B(i-f|0,1395);l=j+(q-i|0)|0;v[a+192>>2]=s-l>>11;v[a>>2]=l+s>>11;l=B(m,-20239);m=B(m-g|0,2578);l=k+(l+m|0)|0;f=B(f+h|0,-11295);h=f+(j+B(h,15326)|0)|0;v[a+128>>2]=l-h>>11;v[a+64>>2]=h+l>>11;g=o+(m+(p+B(g,-15083)|0)|0)|0;f=f+(i+q|0)|0;v[a+160>>2]=g-f>>11;v[a+32>>2]=f+g>>11;a=a+4|0;b=b+4|0;c=c+2|0;r=r+1|0;if((r|0)!=8){continue}break}b=n+128|0;r=0;a=z;while(1){g=v[a+12>>2];m=v[a+4>>2];j=B(g+m|0,10935);n=v[a+24>>2];o=v[a+8>>2];q=B(n+o|0,9058);c=v[(r<<2)+d>>2]+e|0;s=v[a+28>>2];p=s<<13;f=v[a+20>>2];l=f+m|0;k=B(l,9810);x=p+(k+(j+B(m,-9232)|0)|0)|0;C=q+B(o,2237)|0;i=(v[a>>2]<<13)+131072|0;h=v[a+16>>2];D=i+B(h,10438)|0;y=C+D|0;t[c|0]=w[b+(x+y>>>18&1023)|0];t[c+13|0]=w[b+(y-x>>>18&1023)|0];q=q+B(n,-14084)|0;x=i+B(h,2578)|0;y=q+x|0;A=j+B(g,-3474)|0;j=B(f+g|0,-1297)-p|0;A=A+j|0;t[c+1|0]=w[b+(y+A>>>18&1023)|0];t[c+12|0]=w[b+(y-A>>>18&1023)|0];j=j+(k+B(f,-19447)|0)|0;n=B(n,-11295)+B(o,5027)|0;o=i+B(h,-7223)|0;k=n+o|0;t[c+2|0]=w[b+(j+k>>>18&1023)|0];t[c+11|0]=w[b+(k-j>>>18&1023)|0];j=m-g|0;k=s+(j-f|0)<<13;h=i+B(h,-11586)|0;t[c+3|0]=w[b+(k+h>>>18&1023)|0];t[c+10|0]=w[b+(h-k>>>18&1023)|0];h=B(l,6164);i=p+B(f,-13850)|0;f=B(f-g|0,11512);i=h+(i+f|0)|0;n=o-n|0;t[c+4|0]=w[b+(i+n>>>18&1023)|0];t[c+9|0]=w[b+(n-i>>>18&1023)|0];f=f+B(g,5529)|0;g=B(j,3826)-p|0;f=f+g|0;p=x-q|0;t[c+5|0]=w[b+(f+p>>>18&1023)|0];t[c+8|0]=w[b+(p-f>>>18&1023)|0];g=g+(h+B(m,-8693)|0)|0;f=D-C|0;t[c+6|0]=w[b+(g+f>>>18&1023)|0];t[c+7|0]=w[b+(f-g>>>18&1023)|0];a=a+32|0;r=r+1|0;if((r|0)!=7){continue}break}Qb=z+224|0}function tOa(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,n=0,o=0,p=0,q=0,r=0,s=0,y=0,z=0,A=0;z=Qb-256|0;Qb=z;p=v[a+332>>2];a=v[b+84>>2];b=z;i=8;while(1){a:{b:{g=x[c+32>>1];f=u[c+16>>1];if((g|f)&65535){break b}g=0;if(x[c+48>>1]|x[c+64>>1]|(x[c+80>>1]|x[c+96>>1])){break b}if(x[c+112>>1]){break b}g=B(v[a>>2],u[c>>1]);v[b+192>>2]=g;v[b+160>>2]=g;v[b+128>>2]=g;v[b+96>>2]=g;v[b+64>>2]=g;v[b+32>>2]=g;v[b>>2]=g;f=56;break a}k=B(v[a+192>>2],u[c+96>>1]);j=B(v[a+64>>2],g<<16>>16);g=k+j|0;l=B(v[a+128>>2],u[c+64>>1]);q=B(v[a>>2],u[c>>1]);r=l+q|0;m=g+r|0;n=B(v[a+160>>2],u[c+80>>1]);o=B(v[a+96>>2],u[c+48>>1]);s=n+o|0;y=B(v[a+224>>2],u[c+112>>1]);h=B(f,v[a+32>>2]);A=y+h|0;f=s+A|0;v[b+224>>2]=m-f;v[b>>2]=f+m;n=n-o|0;o=h-y|0;m=B(n+o|0,473)>>8;k=(B(j-k|0,362)>>8)-g|0;j=q-l|0;l=k+j|0;f=m+((B(n,-669)>>8)-f|0)|0;v[b+192>>2]=l-f;v[b+32>>2]=f+l;k=j-k|0;f=(B(A-s|0,362)>>8)-f|0;v[b+160>>2]=k-f;v[b+64>>2]=f+k;f=f+((B(o,277)>>8)-m|0)|0;g=r-g|0;v[b+128>>2]=f+g;g=g-f|0;f=24}v[(f<<2)+b>>2]=g;c=c+2|0;a=a+4|0;b=b+4|0;h=i>>>0>1;i=i-1|0;if(h){continue}break}b=p+128|0;g=0;c=z;while(1){a=v[(g<<2)+d>>2]+e|0;c:{d:{i=v[c+8>>2];h=v[c+4>>2];if(i|h){break d}i=0;if(v[c+12>>2]|v[c+16>>2]|(v[c+20>>2]|v[c+24>>2])){break d}if(v[c+28>>2]){break d}h=Bib(w[b+(v[c>>2]>>>5&1023)|0],0,16843009,16843009);t[a|0]=h;t[a+1|0]=h>>>8;t[a+2|0]=h>>>16;t[a+3|0]=h>>>24;h=Tb;t[a+4|0]=h;t[a+5|0]=h>>>8;t[a+6|0]=h>>>16;t[a+7|0]=h>>>24;break c}p=v[c+28>>2];k=p+h|0;j=v[c+12>>2];l=v[c+20>>2];q=j+l|0;f=k+q|0;r=v[c+24>>2];m=r+i|0;n=v[c+16>>2];o=v[c>>2];s=n+o|0;y=m+s|0;t[a|0]=w[b+(f+y>>>5&1023)|0];t[a+7|0]=w[b+(y-f>>>5&1023)|0];j=l-j|0;p=h-p|0;h=B(j+p|0,473)>>8;f=h+((B(j,-669)>>8)-f|0)|0;j=(B(i-r|0,362)>>8)-m|0;l=o-n|0;i=j+l|0;t[a+1|0]=w[b+(f+i>>>5&1023)|0];t[a+6|0]=w[b+(i-f>>>5&1023)|0];i=(B(k-q|0,362)>>8)-f|0;f=l-j|0;t[a+2|0]=w[b+(i+f>>>5&1023)|0];t[a+5|0]=w[b+(f-i>>>5&1023)|0];h=i+((B(p,277)>>8)-h|0)|0;i=s-m|0;t[a+4|0]=w[b+(h+i>>>5&1023)|0];t[a+3|0]=w[b+(i-h>>>5&1023)|0]}c=c+32|0;g=g+1|0;if((g|0)!=8){continue}break}Qb=z+256|0}function c9a(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,n=0;a:{b:{if(w[a+286|0]|!w[a+285|0]|(w[a+287|0]|w[a+288|0])){break b}if(w[a+289|0]){break b}if(!(1<>>0<=20:0)){break a}k=w[d+2|0];if(k>>>0>=3){pc(a,1052,0,0);return 1052}j=w[d+3|0];g=j;if(g>>>0>=8){pc(a,1053,0,0);return 1053}if(!(c>>>0<13|g)|!((j|0)!=7|c>>>0<5)){break a}t[a+2253|0]=j;t[a+288|0]=1;v[a+48>>2]=v[a+48>>2]+1;g=w[d|0]|w[d+1|0]<<8;m=(g>>>8|g<<8)&65535;if(c>>>0>=5){h=w[d+8|0]|w[d+9|0]<<8|(w[d+10|0]<<16|w[d+11|0]<<24);h=h<<24|h<<8&16711680|(h>>>8&65280|h>>>24);g=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24)}else{g=0}if(c>>>0>=13){i=w[d+16|0]|w[d+17|0]<<8|(w[d+18|0]<<16|w[d+19|0]<<24);n=i<<24|i<<8&16711680|(i>>>8&65280|i>>>24);i=w[d+12|0]|w[d+13|0]<<8|(w[d+14|0]<<16|w[d+15|0]<<24);i=i<<24|i<<8&16711680|(i>>>8&65280|i>>>24)}else{i=0}c:{if(w[a+114|0]){f=Ub[v[a+152>>2]](48)|0;if(!f){pc(a,1,0,0);h=1;break c}v[f+4>>2]=737;v[f>>2]=738;l=v[a+700>>2];d:{if(l){v[l+8>>2]=f;break d}v[a+696>>2]=f}v[f+8>>2]=0;v[f+12>>2]=l;v[a+700>>2]=f;v[f+16>>2]=v[a+436>>2];v[f+20>>2]=v[a+440>>2];v[f+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=f}v[f+44>>2]=n;v[f+40>>2]=i;v[f+36>>2]=h;v[f+32>>2]=g;t[f+31|0]=j;t[f+30|0]=k;u[f+28>>1]=m}h=$0(a,m,k,j,g,h,i,n)}e:{if(h){break e}f:{if(!w[a+112|0]){break f}h=Ub[v[b+4>>2]](a,b,e)|0;if(h){break e}b=w[d|0]|w[d+1|0]<<8;a=v[e>>2];t[a+35|0]=j;t[a+34|0]=k;u[a+32>>1]=b<<8|b>>>8;if(c>>>0>=5){b=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);v[a+36>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=w[d+8|0]|w[d+9|0]<<8|(w[d+10|0]<<16|w[d+11|0]<<24);v[a+40>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24)}if(c>>>0<13){break f}b=w[d+12|0]|w[d+13|0]<<8|(w[d+14|0]<<16|w[d+15|0]<<24);v[a+44>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=a;a=w[d+16|0]|w[d+17|0]<<8|(w[d+18|0]<<16|w[d+19|0]<<24);v[b+48>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}h=0}return h|0}pc(a,1029,0,0);return 1029}pc(a,1028,0,0);return 1028}function CNa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=v[a+20>>2];if((c|0)!=100){d=v[a>>2];v[d+24>>2]=c;v[d+20>>2]=21;Ub[v[v[a>>2]>>2]](a)}v[a+256>>2]=0;v[a+244>>2]=0;v[a+80>>2]=b;a:{b:{c:{switch(b|0){case 1:v[a+76>>2]=1;v[a+244>>2]=1;a=v[a+84>>2];v[a+24>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=1;v[a+12>>2]=1;v[a>>2]=1;return;case 2:v[a+76>>2]=3;v[a+256>>2]=1;a=v[a+84>>2];v[a+176>>2]=66;v[a+88>>2]=71;v[a+24>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=1;v[a+12>>2]=1;v[a>>2]=82;break b;case 3:v[a+76>>2]=3;v[a+244>>2]=1;a=v[a+84>>2];v[a+176>>2]=3;v[a+88>>2]=2;v[a+24>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=2;v[a+12>>2]=2;v[a>>2]=1;break a;case 4:v[a+76>>2]=4;v[a+256>>2]=1;a=v[a+84>>2];v[a+264>>2]=75;v[a+176>>2]=89;v[a+88>>2]=77;v[a+24>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=1;v[a+12>>2]=1;v[a>>2]=67;v[a+288>>2]=0;v[a+280>>2]=0;v[a+284>>2]=0;v[a+272>>2]=1;v[a+276>>2]=1;break b;case 5:v[a+76>>2]=4;v[a+256>>2]=1;a=v[a+84>>2];v[a+264>>2]=4;v[a+176>>2]=3;v[a+88>>2]=2;v[a+24>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=2;v[a+12>>2]=2;v[a>>2]=1;v[a+288>>2]=0;v[a+280>>2]=0;v[a+284>>2]=0;v[a+272>>2]=2;v[a+276>>2]=2;break a;case 0:b=v[a+36>>2];v[a+76>>2]=b;d:{if(b-1>>>0>=10){c=v[a>>2];v[c+24>>2]=b;v[c+20>>2]=27;v[v[a>>2]+28>>2]=10;Ub[v[v[a>>2]>>2]](a);b=v[a+76>>2];if((b|0)<1){break d}}d=v[a+84>>2];a=0;if((b|0)!=1){e=b&-2;while(1){c=d+B(a,88)|0;v[c+24>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=1;v[c+12>>2]=1;v[c>>2]=a;f=a|1;c=d+B(f,88)|0;v[c+24>>2]=0;v[c+8>>2]=1;v[c+12>>2]=1;v[c+16>>2]=0;v[c+20>>2]=0;v[c>>2]=f;a=a+2|0;e=e-2|0;if(e){continue}break}}if(!(b&1)){break d}b=d+B(a,88)|0;v[b+24>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=1;v[b+12>>2]=1;v[b>>2]=a}return;default:break c}}b=v[a>>2];v[b+20>>2]=11;Ub[v[b>>2]](a);return}v[a+200>>2]=0;v[a+192>>2]=0;v[a+196>>2]=0;v[a+184>>2]=1;v[a+188>>2]=1;v[a+112>>2]=0;v[a+104>>2]=0;v[a+108>>2]=0;v[a+96>>2]=1;v[a+100>>2]=1;return}v[a+200>>2]=1;v[a+192>>2]=1;v[a+196>>2]=1;v[a+184>>2]=1;v[a+188>>2]=1;v[a+112>>2]=1;v[a+104>>2]=1;v[a+108>>2]=1;v[a+96>>2]=1;v[a+100>>2]=1}function X1(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(!a|!b){break a}e=Ub[v[v[b>>2]+36>>2]](b)|0;c=Ub[v[v[b>>2]+20>>2]](b,4)|0;g=Ub[v[v[b>>2]+20>>2]](b,4)|0;b:{c:{switch(c|0){case 1:c=1;if(Ub[v[v[b>>2]+20>>2]](b,4)|0){break b}c=Ub[v[v[b>>2]+20>>2]](b,4)|0;if(c){break b}c=(Ub[v[v[b>>2]+40>>2]](b)|0)+12|0;break b;case 0:break c;default:break b}}c=Ub[v[v[b>>2]+40>>2]](b)|0;c=(c|0)>0?c+8|0:0}if((g|0)!=1783636e3){break a}if((Ub[v[v[b>>2]+20>>2]](b,4)|0)!=218793738){break a}if(((Ub[v[v[b>>2]+36>>2]](b)|0)-e|0)!=(c|0)){break a}g=Ub[v[v[b>>2]+36>>2]](b)|0;c=Ub[v[v[b>>2]+20>>2]](b,4)|0;e=Ub[v[v[b>>2]+20>>2]](b,4)|0;d:{e:{switch(c|0){case 1:c=1;if(Ub[v[v[b>>2]+20>>2]](b,4)|0){break d}c=Ub[v[v[b>>2]+20>>2]](b,4)|0;if(c){break d}c=(Ub[v[v[b>>2]+40>>2]](b)|0)+12|0;break d;case 0:break e;default:break d}}c=Ub[v[v[b>>2]+40>>2]](b)|0;c=(c|0)>0?c+8|0:0}if((e|0)!=1718909296){break a}h=a,i=Ub[v[v[b>>2]+20>>2]](b,4)|0,v[h+52>>2]=i;d=Ub[v[v[b>>2]+20>>2]](b,4)|0;e=(c-16|0)/4|0;v[a+60>>2]=e;v[a+56>>2]=d;e=e<<2;f=jc(e);if(!f){v[a+64>>2]=0;v[v[a>>2]+20>>2]=1;return 0}d=0;f=ic(f,0,e);v[a+64>>2]=f;Ub[v[v[b>>2]+16>>2]](b,f,e);if(((Ub[v[v[b>>2]+36>>2]](b)|0)-g|0)!=(c|0)){break a}if(!W1(a,b)){break a}Ub[v[v[b>>2]+36>>2]](b)|0;d=Ub[v[v[b>>2]+20>>2]](b,4)|0;c=Ub[v[v[b>>2]+20>>2]](b,4)|0;f:{g:{switch(d|0){case 1:d=1;if(Ub[v[v[b>>2]+20>>2]](b,4)|0){break f}d=Ub[v[v[b>>2]+20>>2]](b,4)|0;if(d){break f}d=(Ub[v[v[b>>2]+40>>2]](b)|0)+12|0;break f;case 0:break g;default:break f}}d=Ub[v[v[b>>2]+40>>2]](b)|0;d=(d|0)>0?d+8|0:0}while(1){if((c|0)!=1785737827){Ub[v[v[b>>2]+24>>2]](b,d-8|0);Ub[v[v[b>>2]+36>>2]](b)|0;d=Ub[v[v[b>>2]+20>>2]](b,4)|0;c=Ub[v[v[b>>2]+20>>2]](b,4)|0;h:{i:{switch(d|0){case 1:d=1;if(Ub[v[v[b>>2]+20>>2]](b,4)|0){break h}d=Ub[v[v[b>>2]+20>>2]](b,4)|0;if(d){break h}d=(Ub[v[v[b>>2]+40>>2]](b)|0)+12|0;break h;case 0:break i;default:break h}}d=Ub[v[v[b>>2]+40>>2]](b)|0;d=(d|0)>0?d+8|0:0}if((c|0)!=1785737827){continue}}break}c=Ub[v[v[b>>2]+36>>2]](b)|0;v[a+76>>2]=d-8;v[a+72>>2]=c;d=_A(v[a+4>>2],b)}return d}function wm(a,b){var c=0,d=0,e=0,f=0;c=v[a+996>>2];e=c+v[a+1080>>2]|0;v[a+996>>2]=e;d=(c|0)>0?v[a+992>>2]&v[(c<<2)+54352>>2]|b<>2]=d;if((e|0)>=8){c=v[a+1108>>2];while(1){v[a+1108>>2]=c+1;t[v[a+1112>>2]+c|0]=d;c=v[a+1108>>2];if((c|0)>=254){d=v[a+1096>>2];Ub[v[v[d>>2]+44>>2]](d,c&255)|0;c=v[a+1096>>2];Ub[v[v[c>>2]+16>>2]](c,v[a+1112>>2],1,v[a+1108>>2])|0;v[a+1108>>2]=0;c=0}d=v[a+992>>2]>>>8|0;v[a+992>>2]=d;f=v[a+996>>2];e=f-8|0;v[a+996>>2]=e;if((f|0)>15){continue}break}}c=v[a+1088>>2];a:{if(c?0:u[a+1086>>1]<=u[a+1084>>1]){break a}if(c){v[a+1088>>2]=0;c=v[a+1092>>2];v[a+1080>>2]=c;u[a+1084>>1]=-1<>2]+1|0;v[a+1080>>2]=c;if((c|0)==12){u[a+1084>>1]=4096;break a}u[a+1084>>1]=-1<>2]!=(b|0)){break b}c=v[a+1108>>2];if((e|0)>=1){while(1){v[a+1108>>2]=c+1;t[v[a+1112>>2]+c|0]=d;c=v[a+1108>>2];if((c|0)>=254){b=v[a+1096>>2];Ub[v[v[b>>2]+44>>2]](b,c&255)|0;b=v[a+1096>>2];Ub[v[v[b>>2]+16>>2]](b,v[a+1112>>2],1,v[a+1108>>2])|0;v[a+1108>>2]=0;c=0}d=v[a+992>>2]>>>8|0;v[a+992>>2]=d;b=v[a+996>>2];v[a+996>>2]=b-8;if((b|0)>8){continue}break}}if((c|0)>=1){b=v[a+1096>>2];Ub[v[v[b>>2]+44>>2]](b,c&255)|0;b=v[a+1096>>2];Ub[v[v[b>>2]+16>>2]](b,v[a+1112>>2],1,v[a+1108>>2])|0;v[a+1108>>2]=0}b=v[a+1096>>2];Ub[v[v[b>>2]+32>>2]](b)|0;b=v[a+1096>>2];if(!(Ub[v[v[b>>2]+40>>2]](b)|0)){break b}b=w[26936]|w[26937]<<8|(w[26938]<<16|w[26939]<<24);c=w[26932]|w[26933]<<8|(w[26934]<<16|w[26935]<<24);t[a+88|0]=c;t[a+89|0]=c>>>8;t[a+90|0]=c>>>16;t[a+91|0]=c>>>24;t[a+92|0]=b;t[a+93|0]=b>>>8;t[a+94|0]=b>>>16;t[a+95|0]=b>>>24;b=w[26928]|w[26929]<<8|(w[26930]<<16|w[26931]<<24);c=w[26924]|w[26925]<<8|(w[26926]<<16|w[26927]<<24);t[a+80|0]=c;t[a+81|0]=c>>>8;t[a+82|0]=c>>>16;t[a+83|0]=c>>>24;t[a+84|0]=b;t[a+85|0]=b>>>8;t[a+86|0]=b>>>16;t[a+87|0]=b>>>24;b=w[26920]|w[26921]<<8|(w[26922]<<16|w[26923]<<24);c=w[26916]|w[26917]<<8|(w[26918]<<16|w[26919]<<24);t[a+72|0]=c;t[a+73|0]=c>>>8;t[a+74|0]=c>>>16;t[a+75|0]=c>>>24;t[a+76|0]=b;t[a+77|0]=b>>>8;t[a+78|0]=b>>>16;t[a+79|0]=b>>>24}}function pVa(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,j=C(0),k=0,l=0,m=0,n=0;a:{if(!(!c|!d|(v[c>>2]?0:(d|0)==1))){v[a+500>>2]=1;b=0;if(v[a+624>>2]==8){break a}Ub[v[v[a>>2]+136>>2]](a,457432)|0;kq(a);i=rv(a,a+88|0);g=v[a+16>>2];h=v[a+12>>2];l=A[e>>3];m=A[f>>3];e=Qb-144|0;Qb=e;v[e+140>>2]=d;b:{c:{d:{e:{f:{g:{if(!v[i+4>>2]){d=kv(e+136|0,g+48|0);v[299999]=0;Pj(d,g+52|0,0);a=v[299999];v[299999]=0;if((a|0)==1){break d}v[299999]=0;iq(d,e+80|0);a=v[299999];v[299999]=0;if((a|0)==1){break e}A[e+72>>3]=l;A[e+64>>3]=m;v[299999]=0;f=Q(2369,e+56|0,d|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break f}v[299999]=0;hq(f);a=v[299999];v[299999]=0;if((a|0)==1){break g}v[299999]=0;Pj(f,g+56|0,0);a=v[299999];v[299999]=0;if((a|0)==1){break g}v[299999]=0;ke(f,e+72|0,e- -64|0);a=v[299999];v[299999]=0;if((a|0)==1){break g}A[e+48>>3]=C(A[e+80>>3]);A[e+40>>3]=C(A[e+88>>3]);A[e+32>>3]=C(A[e+96>>3]);A[e+24>>3]=C(A[e+104>>3]);A[e+16>>3]=C(A[e+112>>3]);A[e+8>>3]=C(A[e+120>>3]);a=v[v[h>>2]+120>>2];v[299999]=0;ma(a|0,h|0,e+48|0,e+40|0,e+32|0,e+24|0,e+16|0,e+8|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break g}v[g+2860>>2]=v[h+160>>2];z[e+48>>2]=A[e+72>>3];z[e+40>>2]=A[e+64>>3];a=v[v[h>>2]+92>>2];v[299999]=0;ca(a|0,h|0,c|0,e+140|0,e+48|0,e+40|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break g}v[e+48>>2]=0;v[e+40>>2]=0;h:{while(1){i:{v[e+32>>2]=0;a=v[v[h>>2]+184>>2];v[299999]=0;a=Z(a|0,h|0,e+32|0,e+48|0,e+40|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break i}if(!a){break h}c=v[e+32>>2];if(!c){continue}v[299999]=0;j=z[e+40>>2];j:{if(C(D(j))>2];k:{if(C(D(j))>2]+4>>2]](i);return 0}v[a+500>>2]=0;b=Ub[v[v[a>>2]+276>>2]](a,b,e,f,g,h)|0}return b|0}function MHa(a,b){a=a|0;b=b|0;var 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,w=0,z=0,A=0;if(v[a+76>>2]>=1){w=v[a+284>>2]-1|0;r=v[a+400>>2];e=v[a+84>>2];while(1){i=s<<2;c=v[e+12>>2];p=Ub[v[v[a+4>>2]+32>>2]](a,v[(i+r|0)- -64>>2],B(c,v[r+8>>2]),c,1)|0;if(y[r+8>>2]>>0){g=v[e+12>>2]}else{c=v[e+12>>2];g=y[e+32>>2]%(c>>>0)|0;g=g?g:c}k=v[e+28>>2];l=v[e+8>>2];c=(k>>>0)%(l>>>0)|0;m=(c|0)>0?l-c|0:c;a:{if((g|0)<1){break a}o=b+i|0;q=v[(i+v[a+416>>2]|0)+4>>2];if((m|0)<=0){d=0;if((g|0)!=1){c=g&-2;while(1){Ub[q|0](a,e,v[o>>2],v[(d<<2)+p>>2],B(v[e+40>>2],d),0,k);i=d|1;Ub[q|0](a,e,v[o>>2],v[(i<<2)+p>>2],B(i,v[e+40>>2]),0,k);d=d+2|0;c=c-2|0;if(c){continue}break}}if(!(g&1)){break a}Ub[q|0](a,e,v[o>>2],v[(d<<2)+p>>2],B(v[e+40>>2],d),0,k);break a}z=m<<7;i=m&-8;t=m&7;A=m-1|0;n=0;while(1){c=v[(n<<2)+p>>2];Ub[q|0](a,e,v[o>>2],c,B(v[e+40>>2],n),0,k);d=c+(k<<7)|0;qe(d,z);f=x[d-128>>1];j=0;c=i;if(A>>>0>=7){while(1){h=j<<7;u[h+d>>1]=f;u[d+(h|128)>>1]=f;u[d+(h|256)>>1]=f;u[d+(h|384)>>1]=f;u[d+(h|512)>>1]=f;u[d+(h|640)>>1]=f;u[d+(h|768)>>1]=f;u[d+(h|896)>>1]=f;j=j+8|0;c=c-8|0;if(c){continue}break}}c=t;if(c){while(1){u[d+(j<<7)>>1]=f;j=j+1|0;c=c-1|0;if(c){continue}break}}n=n+1|0;if((n|0)!=(g|0)){continue}break}}b:{if(v[r+8>>2]!=(w|0)|v[e+12>>2]<=(g|0)){break b}c=k+m|0;i=(c>>>0)/(l>>>0)|0;k=c<<7;if(c>>>0>=l>>>0){m=l-1|0;q=i>>>0>1?i:1;i=l&-8;t=l&7;while(1){c=(g<<2)+p|0;n=v[c-4>>2];d=v[c>>2];qe(d,k);o=0;if((l|0)>0){while(1){f=x[(m<<7)+n>>1];j=0;c=i;if(m>>>0>=7){while(1){h=j<<7;u[h+d>>1]=f;u[(h|128)+d>>1]=f;u[(h|256)+d>>1]=f;u[(h|384)+d>>1]=f;u[(h|512)+d>>1]=f;u[(h|640)+d>>1]=f;u[(h|768)+d>>1]=f;u[(h|896)+d>>1]=f;j=j+8|0;c=c-8|0;if(c){continue}break}}c=t;if(c){while(1){u[(j<<7)+d>>1]=f;j=j+1|0;c=c-1|0;if(c){continue}break}}c=l<<7;n=c+n|0;d=c+d|0;o=o+1|0;if((q|0)!=(o|0)){continue}break}}g=g+1|0;if((g|0)>2]){continue}break}break b}while(1){qe(v[(g<<2)+p>>2],k);g=g+1|0;if((g|0)>2]){continue}break}}e=e+88|0;s=s+1|0;if((s|0)>2]){continue}break}}return YT(a,b)|0}function Gla(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;d=Qb-16|0;Qb=d;v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=982500;v[a+4>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;h=a;a:{b:{c:{d:{e:{f:{g:{h:{a=v[c>>2];i:{if(!a){break i}i=v[a+8>>2];if(!i){break i}v[299999]=0;f=b- -64|0;a=f;g=v[a+24>>2];v[d+12>>2]=a;v[d+8>>2]=g;a=v[299999];v[299999]=0;if((a|0)==1){break f}a=v[d+8>>2];if(!a){break i}g=b+36|0;while(1){if(v[d+12>>2]!=(f|0)){v[299999]=0;V(4468,d+8|0,f|0);a=v[299999];v[299999]=0;if((a|0)==1){break f}break a}v[299999]=0;a=Y(4541,c|0,a+16|0,i|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break g}j:{if(a){break j}a=v[d+8>>2];if(!(v[d+12>>2]==(f|0)?a:0)){v[299999]=0;V(4468,d+8|0,f|0);a=v[299999];v[299999]=0;if((a|0)!=1){break a}a=P()|0;O()|0;break b}b=v[a+24>>2];v[299999]=0;v[d>>2]=0;a=v[v[g+12>>2]+((b>>>0)%y[g+8>>2]<<2)>>2];e=v[299999];v[299999]=0;if((e|0)==1){break h}k:{l:{if(!a){break l}while(1){if(!((b|0)==v[a+12>>2]&(b|0)==v[a+16>>2])){a=v[a+8>>2];if(a){continue}break l}break}if(!v[a+20>>2]|v[b+4>>2]<1){break l}v[299999]=0;Q(4336,d|0,b|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break c}a=v[d>>2];if(!a){break k}if(v[a+4>>2]>0){break l}v[299999]=0;Q(4336,d|0,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break c}}a=v[d>>2];if(!a){break k}v[299999]=0;a=S(1,12)|0;b=v[299999];v[299999]=0;if((b|0)==1){break e}v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;b=a;e=v[d>>2];if(e){v[299999]=0;v[e+4>>2]=v[e+4>>2]+1;e=v[299999];v[299999]=0;if((e|0)==1){break e}e=v[d>>2]}else{e=0}v[b+8>>2]=e;v[299999]=0;Le(h,a);a=v[299999];v[299999]=0;if((a|0)==1){break e}a=v[d>>2]}v[d>>2]=0;if(!a){break j}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;e=v[299999];v[299999]=0;if((e|0)==1){break d}if(b){break j}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break d}}a=v[d+8>>2];if(!a){break i}a=v[a>>2];v[d+8>>2]=a;if(a){continue}break}}Qb=d+16|0;return}a=P()|0;O()|0;ec(d);break b}a=P()|0;O()|0;break b}a=P()|0;O()|0;break b}a=P()|0;O()|0;ec(d);break b}W(0)|0;O()|0;lc();L()}a=P()|0;O()|0;ec(d)}Ic(h);T(a|0);L()}L()}function DO(a){var b=0,c=0,d=0,e=C(0),f=0,g=0,h=0,i=0,j=0,k=C(0),l=C(0),m=C(0),n=0,o=C(0),p=C(0),q=C(0),r=C(0),s=C(0),u=0,w=0,x=0,y=0,A=0,E=0,F=0,G=0,H=0,I=0,J=0,K=C(0);j=Qb-32|0;Qb=j;a:{b:{if(v[a+68>>2]){break b}c=jc(6168);v[a+68>>2]=c;if(c){break b}zc(v[v[a>>2]+628>>2],1027808,49477,0);a=0;break a}c=v[a>>2];v[j+16>>2]=j+28;hi(c,529,j+16|0);c=v[a>>2];v[j>>2]=j+24;hi(c,532,j);h=v[j+28>>2];c=v[j+24>>2];f=v[a+68>>2];eg(f+24|0,0,256);d=f+280|0;v[f>>2]=d;while(1){t[b+d|0]=b;a=b|1;t[a+d|0]=a;a=b|2;t[a+d|0]=a;a=b|3;t[a+d|0]=a;a=b|4;t[a+d|0]=a;a=b|5;t[a+d|0]=a;a=b|6;t[a+d|0]=a;a=b|7;t[a+d|0]=a;b=b+8|0;if((b|0)!=256){continue}break}eg(d+256|0,255,512);x=d+4864|0;v[f+20>>2]=x;y=d+3840|0;v[f+16>>2]=y;A=d+2816|0;v[f+12>>2]=A;E=d+1792|0;v[f+8>>2]=E;F=d+768|0;v[f+4>>2]=F;k=z[c+12>>2];p=C(z[c+16>>2]+C(-128));l=z[c+20>>2];q=z[c>>2];K=z[c+4>>2];r=C(z[c+8>>2]+C(-128));c:{if(C(D(r))>2];e=C(C(2)-C(m+m));i=+C(e*C(65536))+.5;d:{if(D(i)<2147483648){c=~~i;break d}c=-2147483648}s=z[h>>2];o=C(C(2)-C(s+s));i=+C(o*C(65536))+.5;e:{if(D(i)<2147483648){a=~~i;break e}a=-2147483648}k=C(k+C(-128));l=C(l+C(-128));m=C(m*e);e=z[h+4>>2];i=+C(C(m/e)*C(65536))+.5;f:{if(D(i)<2147483648){I=~~i;break f}I=-2147483648}m=C(k-r);k=C(l-p);l=C(K-q);i=+C(C(C(s*o)/e)*C(65536))+.5;g:{if(D(i)<2147483648){J=~~i;break g}J=-2147483648}b=m!=C(0);f=k!=C(0);h=l!=C(0);if(C(D(q))>2]=B(h,f)+32768>>16;w=n+E|0;h=c;e=C(C(C(b-G|0)*C(127))/o);i:{if(C(D(e))>2]=B(h,g)+32768>>16;v[n+A>>2]=0-B(f,J);v[n+y>>2]=32768-B(I,g);h=n+x|0;e=C(C(C((b-d|0)+128|0)*C(255))/l);j:{if(C(D(e))>2]=g;b=b+1|0;u=u+1|0;if((u|0)!=256){continue}break}a=1}Qb=j+32|0;return a}function UZ(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,x=0;i=Qb-16|0;Qb=i;g=v[b>>2];e=g<<1;u=a,x=Cc(d,4,0,e,0,i+12|0),v[u+12>>2]=x;a:{if(v[i+12>>2]){break a}u=a,x=Cc(d,28,0,g,0,i+12|0),v[u+8>>2]=x;if(v[i+12>>2]){break a}u=a,x=Cc(d,16,0,e|1,0,i+12|0),v[u+24>>2]=x;if(v[i+12>>2]){break a}v[a>>2]=g;v[a+28>>2]=0;v[a+20>>2]=0;v[a+4>>2]=0;v[a+16>>2]=v[a+12>>2]+(g<<2);b:{if(!g){break b}h=g-1|0;d=v[a+8>>2];b=v[b+8>>2];e=g&3;c:{if(!e){f=g;break c}f=g;while(1){v[d>>2]=v[b>>2];v[d+4>>2]=v[b+4>>2];v[d+16>>2]=v[b+8>>2];b=b+12|0;d=d+28|0;f=f-1|0;e=e-1|0;if(e){continue}break}}if(h>>>0<3){break b}while(1){v[d>>2]=v[b>>2];v[d+4>>2]=v[b+4>>2];v[d+16>>2]=v[b+8>>2];v[d+28>>2]=v[b+12>>2];v[d+32>>2]=v[b+16>>2];v[d+44>>2]=v[b+20>>2];v[d+56>>2]=v[b+24>>2];v[d+60>>2]=v[b+28>>2];v[d+72>>2]=v[b+32>>2];v[d+84>>2]=v[b+36>>2];v[d+88>>2]=v[b+40>>2];v[d+100>>2]=v[b+44>>2];b=b+48|0;d=d+112|0;f=f-4|0;if(f){continue}break}}e=0;d:{if(!c){break d}j=v[c>>2];k=v[c+8>>2];v[a+32>>2]=c;if(!j){break d}while(1){p=v[k>>2];if(p){m=v[k+8>>2];b=0;l=0;q=0;while(1){if(!b){q=w[m|0];m=m+1|0;b=128}e:{if(!(b&q)|g>>>0<=l>>>0){break e}h=v[a+8>>2]+B(l,28)|0;c=v[h+16>>2];if(c&4){break e}v[h+16>>2]=c|4;c=v[a+16>>2];v[h+20>>2]=0;f:{if(!e){break f}r=v[h>>2];t=r+v[h+4>>2]|0;f=e;d=c;while(1){n=v[d>>2];s=v[n>>2];if(!((s|0)>(t|0)|(v[n+4>>2]+s|0)<(r|0))){v[h+20>>2]=n;break f}d=d+4|0;f=f-1|0;if(f){continue}break}}if(e>>>0>=g>>>0){break e}d=e+1|0;v[a+4>>2]=d;v[c+(e<<2)>>2]=h;e=d}b=b>>1;l=l+1|0;if((p|0)!=(l|0)){continue}break}}k=k+16|0;j=j-1|0;if(j){continue}break}}if(!g|(e|0)==(g|0)){break a}while(1){f=v[a+8>>2]+B(o,28)|0;b=v[f+16>>2];g:{if(b&4){break g}v[f+16>>2]=b|4;c=v[a+16>>2];v[f+20>>2]=0;h:{if(!e){break h}k=v[f>>2];l=k+v[f+4>>2]|0;b=e;d=c;while(1){h=v[d>>2];j=v[h>>2];if(!((j|0)>(l|0)|(k|0)>(j+v[h+4>>2]|0))){v[f+20>>2]=h;break h}d=d+4|0;b=b-1|0;if(b){continue}break}}if(e>>>0>=g>>>0){break g}b=e+1|0;v[a+4>>2]=b;v[c+(e<<2)>>2]=f;e=b}o=o+1|0;if((o|0)!=(g|0)){continue}break}}Qb=i+16|0;return v[i+12>>2]}function XR(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=fc(1552);f=v[a+8>>2];v[299999]=0;d=Y(3796,e|0,f|0,d|0)|0;f=v[299999];v[299999]=0;if((f|0)!=1){a:{v[a+24>>2]=e;b:{c:{d:{if(!v[d+28>>2]){kc(1,-1,282727,0);e=v[a+24>>2];v[a+44>>2]=v[e+32>>2];break d}f=Qb-16|0;Qb=f;v[f>>2]=13;rc(v[v[a+24>>2]+48>>2],227392,f,0);h=1;e:{if(v[f>>2]!=7){break e}h=0;d=Qb-32|0;Qb=d;v[d+16>>2]=13;rc(v[f+8>>2],239321,d+16|0,0);f:{if(v[d+16>>2]==4){e=v[d+24>>2];if(!mc(e,286853)){e=fc(92);v[299999]=0;g=Y(3799,e|0,a|0,f|0)|0;i=v[299999];v[299999]=0;if((i|0)!=1){break f}break a}v[d>>2]=e;kc(1,-1,239635,d);break f}kc(1,-1,218051,0)}hc(d+16|0);Qb=d+32|0;d=g;if(!d){break e}h=1;g:{if(Ub[v[v[d>>2]+8>>2]](d)|0){break g}e=0;g=d;if(b|c){e=Ub[v[v[d>>2]+12>>2]](d,b,c)|0}c=Ub[v[v[d>>2]+24>>2]](g,e)|0;if(e){Ub[v[v[d>>2]+20>>2]](d,e)}h:{if(c){break h}c=0;b=Ub[v[v[d>>2]+16>>2]](d)|0;i:{if(!b){break i}c=Ub[v[v[d>>2]+24>>2]](d,b)|0;Ub[v[v[d>>2]+20>>2]](d,b);j:{if(c){break j}c=0;b=Ub[v[v[d>>2]+16>>2]](d)|0;if(!b){break i}c=Ub[v[v[d>>2]+24>>2]](d,b)|0;Ub[v[v[d>>2]+20>>2]](d,b);if(c){break j}c=0;b=Ub[v[v[d>>2]+16>>2]](d)|0;if(!b){break i}c=Ub[v[v[d>>2]+24>>2]](d,b)|0;Ub[v[v[d>>2]+20>>2]](d,b)}if(c){break h}}kc(3,-1,286735,0)}if(!c){h=0;break g}b=v[a+24>>2];g=Ub[v[v[d>>2]+28>>2]](d)|0;e=Ub[v[v[d>>2]+32>>2]](d)|0;i=Ub[v[v[d>>2]+36>>2]](d)|0;c=Ub[v[v[d>>2]+40>>2]](d)|0;j=Ub[v[v[d>>2]+44>>2]](d)|0;k=Ub[v[v[d>>2]+48>>2]](d)|0;v[b+1120>>2]=e;v[b+1116>>2]=g;v[b+1112>>2]=1;k:{l:{if((c|0)>=33){v[b+1156>>2]=32;break l}v[b+1156>>2]=c;if((c|0)<1){break k}}g=0;while(1){t[(b+g|0)+1124|0]=w[g+i|0];g=g+1|0;if((g|0)>2]){continue}break}}v[b+1164>>2]=k;v[b+1160>>2]=j}Ub[v[v[d>>2]+4>>2]](d)}hc(f);Qb=f+16|0;m:{if(!h){v[a+44>>2]=4;break m}e=fc(184);v[299999]=0;b=Q(3797,e|0,a|0)|0;c=v[299999];v[299999]=0;d=1;if((c|0)==1){break a}v[a+28>>2]=e;if(v[b+176>>2]){break b}kc(1,-1,271977,0);v[a+44>>2]=2;b=v[a+28>>2];if(b){dc(tT(b))}v[a+28>>2]=0}e=v[a+24>>2];if(!e){break c}}dc(eR(e))}d=0;v[a+24>>2]=0}return d}}a=P()|0;O()|0;dc(e);T(a|0);L()}function fO(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Qb-32|0;Qb=f;i=x[b+14>>1];d=x[b+8>>1];g=x[b+10>>1];v[a+8>>2]=g-1;h=B(d,i);a:{b:{c:{if(!g){break c}while(1){if(!v[b+20>>2]){gi(b)}d:{if(!x[b+8>>1]){c=x[b+12>>1];if(v[282398]<(c+x[b+14>>1]|0)){a=vc(f+8|0,260231,271771,592,225838,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}c=c+v[282397]|0;break d}c=v[b+20>>2]+x[b+12>>1]|0}e=v[a+8>>2];if(h){c=c+e|0;j=h+c|0;while(1){if(w[c|0]){break c}c=c+i|0;if(j>>>0>c>>>0){continue}break}}v[a+8>>2]=e-1;if((e|0)>=1){continue}break}}c=d-1|0;v[a>>2]=c;e:{if(!d){break e}while(1){if(!v[b+20>>2]){gi(b)}f:{if(x[b+8>>1]<(d|0)){c=x[b+12>>1];if(v[282398]<(c+x[b+14>>1]|0)){a=vc(f+8|0,260231,271771,592,225838,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}c=c+v[282397]|0;break f}c=v[b+20>>2]+(x[b+12>>1]+B(x[b+14>>1],c)|0)|0}if(g){d=c+g|0;while(1){if(w[c|0]){break e}c=c+1|0;if(d>>>0>c>>>0){continue}break}}d=v[a>>2];c=d-1|0;v[a>>2]=c;if((d|0)>0){continue}break}}d=0;v[a+4>>2]=0;g:{if(v[a+8>>2]<0){break g}while(1){if(!v[b+20>>2]){gi(b)}h:{if(!x[b+8>>1]){c=x[b+12>>1];if(v[282398]<(c+x[b+14>>1]|0)){a=vc(f+8|0,260231,271771,592,225838,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}c=c+v[282397]|0;break h}c=v[b+20>>2]+x[b+12>>1]|0}e=v[a+4>>2];if(h){c=c+e|0;j=h+c|0;while(1){if(w[c|0]){break g}c=c+i|0;if(j>>>0>c>>>0){continue}break}}v[a+4>>2]=e+1;if((e|0)>2]){continue}break}}v[a+12>>2]=0;i:{if(v[a>>2]<0){break i}while(1){if(!v[b+20>>2]){gi(b)}j:{if(!(x[b+8>>1]>(d|0)&(d|0)>=0)){c=x[b+12>>1];if(v[282398]<(c+x[b+14>>1]|0)){a=vc(f+8|0,260231,271771,592,225838,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}c=c+v[282397]|0;break j}c=v[b+20>>2]+(x[b+12>>1]+B(x[b+14>>1],d)|0)|0}if(g){d=c+g|0;while(1){if(w[c|0]){break i}c=c+1|0;if(d>>>0>c>>>0){continue}break}}c=v[a+12>>2];d=c+1|0;v[a+12>>2]=d;if((c|0)>2]){continue}break}}Qb=f+32|0;return}L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function wd(a){var b=0,c=0,d=0,e=0;c=Qb+-64|0;Qb=c;b=v[v[a+36>>2]+16>>2];a:{if(w[b|0]!=37){break a}b:{c:{switch(v[a+172>>2]+1|0){case 0:if(v[a+212>>2]){break a}v[a+84>>2]=18;v[c+16>>2]=228747;oc(0,0,0,a,0,1,18,3,0,0,0,0,350078,c+16|0);v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1;break a;case 1:case 2:case 5:v[a+84>>2]=19;v[c+32>>2]=271923;oc(0,0,0,a,0,1,19,3,0,0,0,0,350078,c+32|0);v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1;break a;case 15:v[a+84>>2]=20;v[c+48>>2]=271945;oc(0,0,0,a,0,1,20,3,0,0,0,0,350078,c+48|0);v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1;break a;case 3:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 16:case 17:break a;case 4:break c;default:break b}}if(!v[a+96>>2]&v[a+40>>2]==1){break a}switch(w[b+1|0]){case 0:case 9:case 10:case 13:case 32:break a;default:break b}}xd(a);b=nh(a);if(v[294256]){v[c>>2]=b;Ub[v[259806]](v[294239],349969,c)}if(!b){te(a,24,0);break a}if(w[v[v[a+36>>2]+16>>2]]==59){xd(a);d=v[a>>2];d:{if(!d){break d}d=v[d+96>>2];if(!d){break d}e=Ub[d|0](v[a+4>>2],b)|0}if(v[a+172>>2]==-1){break a}if(!e){e:{if(!(v[a+88>>2]|v[a+92>>2]?v[a+28>>2]!=1:0)){hf(a,26,353078,b);break e}f:{if(!(!v[a+104>>2]|!v[a+112>>2])){Xi(a,27,353078,b,0);break f}$l(a,27,353078,b)}v[a+100>>2]=0}oj(a,0,0,0);break a}if(v[v[a+36>>2]+40>>2]!=3036){Xr(a,GU(a,e));break a}d=v[e+48>>2];if((d&-2)==4){if(!(v[a+16>>2]|(w[a+360|0]&30|(d|0)!=5))){if(!v[a+104>>2]){break a}}if((Xr(a,NF(a,e))|0)<0){break a}g:{if(v[a+292>>2]){break g}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break g}nd(a)}if(v[a+172>>2]==-1){break a}d=v[a+36>>2];b=v[d+16>>2];h:{if((v[d+20>>2]-b|0)<4){break h}t[c+60|0]=w[b|0];t[c+61|0]=w[b+1|0];t[c+62|0]=w[b+2|0];t[c+63|0]=w[b+3|0];b=cq(c+60|0,4);if(!b){break h}aq(a,b)}if(v[e+48>>2]!=5){break a}b=v[v[a+36>>2]+16>>2];if(w[b|0]!=60|w[b+1|0]!=63|(w[b+2|0]!=120|w[b+3|0]!=109)){break a}if(w[b+4|0]!=108){break a}b=w[b+5|0]-9|0;if(b>>>0>23|!(1<>2]!=2)){qd(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Dd(a);a:{if(!v[a+12>>2]){break a}v[a+1176>>2]=v[a+84>>2];if(!(!w[b+1160|0]|v[b+1172>>2]!=2)){qd(b+100|0,b,v[b+1164>>2],v[b+1168>>2]);v[b+1172>>2]=3}Dd(b);if(!v[b+12>>2]){break a}g=v[b+84>>2];v[b+1176>>2]=g;h=v[b+88>>2];i=v[a+88>>2];h=(h|0)<(i|0)?h:i;i=v[b+80>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((h|0)<(i|0)){break a}j=v[a+84>>2];k=(g|0)>(j|0)?g:j;g=v[b+92>>2];j=v[a+92>>2];if((k|0)>(((g|0)<(j|0)?g:j)|0)){break a}g=(h-i|0)+3|0;b:{if(g>>>0<=y[e+24>>2]){break b}h=v[e+20>>2];if(h){dc(h)}v[e+24>>2]=g;l=e,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[e+12>>2]){break b}h=v[e+8>>2];if(h){dc(h)}v[e+12>>2]=g;l=e,m=fc(g),v[l+8>>2]=m}v[e>>2]=2147483632;v[e+16>>2]=v[e+8>>2];g=v[e+20>>2];v[e+28>>2]=g;u[g+2>>1]=0;g=(v[a+88>>2]-v[a+80>>2]|0)+3|0;c:{if(g>>>0<=y[c+24>>2]){break c}h=v[c+20>>2];if(h){dc(h)}v[c+24>>2]=g;l=c,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[c+12>>2]){break c}h=v[c+8>>2];if(h){dc(h)}v[c+12>>2]=g;l=c,m=fc(g),v[l+8>>2]=m}v[c>>2]=2147483632;v[c+16>>2]=v[c+8>>2];g=v[c+20>>2];v[c+28>>2]=g;u[g+2>>1]=0;g=(v[b+88>>2]-v[b+80>>2]|0)+3|0;d:{if(g>>>0<=y[d+24>>2]){break d}h=v[d+20>>2];if(h){dc(h)}v[d+24>>2]=g;l=d,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[d+12>>2]){break d}h=v[d+8>>2];if(h){dc(h)}v[d+12>>2]=g;l=d,m=fc(g),v[l+8>>2]=m}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];g=v[d+20>>2];v[d+28>>2]=g;u[g+2>>1]=0;if(!Kc(a,c)){break a}if(!Kc(b,d)){break a}g=v[f+8>>2];if(v[g+4>>2]!=1){v[g+4>>2]=1;ic(g+2400|0,0,513)}while(1){g=v[c+4>>2];h=v[d+4>>2];if((g|0)>=(h|0)){if((g|0)>(h|0)){while(1){if(!Kc(b,d)){break a}g=v[c+4>>2];h=v[d+4>>2];if((g|0)>(h|0)){continue}break}}if((g|0)!=(h|0)){continue}wf(c,d,e);if(v[e+28>>2]!=v[e+20>>2]){v[e+4>>2]=v[c+4>>2];QX(e,v[f>>2],v[f+4>>2],v[f+8>>2])}if(!Kc(a,c)){break a}if(Kc(b,d)){continue}break a}if(Kc(a,c)){continue}break}}}function EXa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;e=Qb-1552|0;Qb=e;f=6;g=v[a+4>>2];a:{if(y[g+16>>2]<=c>>>0){break a}h=v[g+136>>2];v[a+164>>2]=v[b+16>>2];v[a+168>>2]=v[b+20>>2];d=d&1024?d|3:d;i=d&1;t[a+161|0]=!i;f=!(d&3);t[a+160|0]=f;v[a+108>>2]=0;v[a+72>>2]=1869968492;f=Ub[v[v[h+12>>2]>>2]](e+32|0,g,b,a,0,0,f,d>>>16&15,2092)|0;if(f){break a}j=d&1024;t[e+101|0]=j>>>10;f=NY(e+32|0,c);if(!f){k=w[a+161|0];l=w[a+160|0];c=e+1420|0;f=v[c+4>>2];v[e+24>>2]=v[c>>2];v[e+28>>2]=f;c=v[e+1416>>2];v[e+16>>2]=v[e+1412>>2];v[e+20>>2]=c;c=v[e+1432>>2];f=v[e+1428>>2];Ub[v[v[h+12>>2]+4>>2]](e+32|0);v[a+124>>2]=v[a+124>>2]&1|4;if(j){b=v[a+156>>2];d=v[e+64>>2];v[a+32>>2]=(((d>>31)+d|0)+32768&-65536)>>16;d=a;a=v[e+72>>2];v[d+40>>2]=(((a>>31)+a|0)+32768&-65536)>>16;a=v[e+28>>2];v[b+20>>2]=v[e+24>>2];v[b+24>>2]=a;a=v[e+20>>2];v[b+12>>2]=v[e+16>>2];v[b+16>>2]=a;v[b+32>>2]=c;v[b+28>>2]=f;t[b+8|0]=1;f=0;break a}h=v[e+72>>2];v[a+40>>2]=(((h>>31)+h|0)+32768&-65536)>>16;h=v[e+72>>2];v[a+56>>2]=(((h>>31)+h|0)+32768&-65536)>>16;t[v[a+156>>2]+8|0]=0;h=v[g+200>>2];g=v[g+208>>2];v[a+72>>2]=1869968492;g=g-h>>16;v[a+60>>2]=g;v[a+52>>2]=g;if(x[b+14>>1]<=23){v[a+124>>2]=v[a+124>>2]|256}g=a+108|0;b:{if(!(v[e+20>>2]|(v[e+16>>2]!=65536|v[e+28>>2]!=65536))){if(!v[e+24>>2]){break b}}ln(g,e+16|0);m=a,n=Ac(v[a+40>>2],v[e+16>>2]),v[m+40>>2]=n;m=a,n=Ac(v[a+52>>2],v[e+28>>2]),v[m+52>>2]=n}if(c|f){dh(g,f,c);v[a+40>>2]=f+v[a+40>>2];v[a+52>>2]=c+v[a+52>>2]}if(!(k?0:i)){c=v[a+168>>2];h=v[a+164>>2];f=v[e+48>>2];c:{if(v[e+104>>2]?l:0){break c}b=u[f+2>>1];if((b|0)<1){break c}b=b&65535;f=v[f+4>>2];while(1){m=f,n=Ac(v[f>>2],h),v[m>>2]=n;m=f,n=Ac(v[f+4>>2],c),v[m+4>>2]=n;f=f+8|0;i=(b|0)>1;b=b-1|0;if(i){continue}break}}m=a,n=Ac(v[a+40>>2],h),v[m+40>>2]=n;m=a,n=Ac(v[a+52>>2],c),v[m+52>>2]=n}Eo(g,e);b=v[e>>2];v[a+24>>2]=v[e+8>>2]-b;c=v[e+4>>2];f=v[e+12>>2];v[a+36>>2]=f;v[a+32>>2]=b;v[a+28>>2]=f-c;if(d&16){zs(a+24|0,v[a+52>>2])}f=0;break a}Ub[v[v[h+12>>2]+4>>2]](e+32|0)}Qb=e+1552|0;return f|0}function uTa(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;d=Qb-128|0;Qb=d;a:{b:{c:{e=a+96|0;d:{if(!w[e+1432|0]){v[b+120>>2]=0;if(!v[b+60>>2]){break d}g=a+1596|0;h=v[b+104>>2];e=(v[b+112>>2]-h|0)+2|0;e:{if(e>>>0<=y[a+1620>>2]){break e}f=v[a+1616>>2];if(f){dc(f)}v[a+1620>>2]=e;i=a,j=fc((e|0)!=(e&536870911)?-1:e<<3),v[i+1616>>2]=j;if((e|0)==v[a+1612>>2]){break e}f=v[a+1608>>2];if(f){dc(f)}v[a+1612>>2]=e;i=a,j=fc(e),v[i+1608>>2]=j}v[a+1596>>2]=h;v[a+1600>>2]=2147483632;v[a+1624>>2]=v[a+1616>>2];if(!rY(b,g)){break d}a=c+4|0;while(1){qY(g,v[c>>2],a);if(rY(b,g)){continue}break}break d}if(!w[e+1433|0]){v[d+112>>2]=0;v[d+116>>2]=0;v[d+120>>2]=0;v[d+124>>2]=0;v[d+104>>2]=0;v[d+108>>2]=0;v[d+96>>2]=2147483632;v[d+80>>2]=0;v[d+84>>2]=0;v[d+88>>2]=0;v[d+92>>2]=0;v[d+72>>2]=0;v[d+76>>2]=0;v[d+64>>2]=2147483632;v[d+48>>2]=0;v[d+52>>2]=0;v[d+56>>2]=0;v[d+60>>2]=0;v[299999]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=2147483632;da(2424,b|0,e|0,d- -64|0,d+32|0,d+96|0,c|0);a=v[299999];v[299999]=0;if((a|0)==1){break c}a=v[d+52>>2];if(a){dc(a)}a=v[d+40>>2];if(a){dc(a)}a=v[d+84>>2];if(a){dc(a)}a=v[d+72>>2];if(a){dc(a)}a=v[d+116>>2];if(a){dc(a)}a=v[d+104>>2];if(!a){break d}dc(a);break d}v[d+112>>2]=0;v[d+116>>2]=0;v[d+120>>2]=0;v[d+124>>2]=0;v[d+104>>2]=0;v[d+108>>2]=0;v[d+96>>2]=2147483632;v[d+80>>2]=0;v[d+84>>2]=0;v[d+88>>2]=0;v[d+92>>2]=0;v[d+72>>2]=0;v[d+76>>2]=0;v[d+64>>2]=2147483632;v[d+48>>2]=0;v[d+52>>2]=0;v[d+56>>2]=0;v[d+60>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=2147483632;v[d+16>>2]=0;v[d+20>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=2147483632;e=v[a+1524>>2];v[299999]=0;da(2425,b|0,(((e|0)==1?1180:1304)+a|0)+96|0,d- -64|0,d+32|0,d+96|0,c|0);a=v[299999];v[299999]=0;if((a|0)==1){break b}a=v[d+52>>2];if(a){dc(a)}a=v[d+40>>2];if(a){dc(a)}a=v[d+84>>2];if(a){dc(a)}a=v[d+72>>2];if(a){dc(a)}a=v[d+116>>2];if(a){dc(a)}a=v[d+104>>2];if(!a){break d}dc(a)}Qb=d+128|0;return}a=P()|0;O()|0;break a}a=P()|0;O()|0;Md(d)}Md(d+32|0);Md(d- -64|0);Md(d+96|0);T(a|0);L()}function nP(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=Qb-32|0;Qb=c;a:{b:{if(!w[a+144|0]){c=vc(c+8|0,231625,242011,164,226800,0);v[299999]=0;R(4370,c|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}a=P()|0;O()|0;qc(c);break a}v[299999]=0;d=a+148|0;b=v[d>>2];e=v[299999];v[299999]=0;c:{d:{if((e|0)==1){break d}e:{f:{g:{h:{if(b&256){break h}v[299999]=0;b=v[d>>2];e=v[299999];v[299999]=0;if((e|0)==1){break d}if(b&1){break h}v[299999]=0;b=v[d>>2];e=v[299999];v[299999]=0;if((e|0)==1){break d}if(b&8){v[299999]=0;R(4854,a|0);b=v[299999];v[299999]=0;if((b|0)==1){break d}}v[299999]=0;sg(d,0,0,0,14);b=v[299999];v[299999]=0;if((b|0)==1){break d}v[299999]=0;sg(d,0,0,1,0);b=v[299999];v[299999]=0;if((b|0)==1){break d}f=v[a+152>>2];v[a+152>>2]=0;v[299999]=0;$(4757,c+8|0,a+108|0,0,-1);b=v[299999];v[299999]=0;if((b|0)==1){break g}v[299999]=0;Q(4344,a+156|0,c+8|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break f}b=v[c+8>>2];v[c+8>>2]=0;i:{if(!b){break i}v[299999]=0;e=v[b+4>>2]-1|0;v[b+4>>2]=e;g=v[299999];v[299999]=0;if((g|0)==1){break e}if(e){break i}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break e}}v[299999]=0;Q(4336,a+160|0,a|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break d}v[299999]=0;b=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break d}v[a+152>>2]=b;v[299999]=0;Y(4855,b|0,4856,a|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break d}if(!f){break h}dc(f)}Qb=c+32|0;return}b=W(0)|0;O()|0;break c}b=W(0)|0;O()|0;ec(c+8|0);break c}W(0)|0;O()|0;lc();break b}b=W(0)|0;O()|0}ea(b|0)|0;v[299999]=0;sg(d,0,0,0,1);c=v[299999];v[299999]=0;j:{if((c|0)==1){break j}v[299999]=0;sg(d,0,0,4,0);c=v[299999];v[299999]=0;if((c|0)==1){break j}v[299999]=0;c=ga(4695)|0;d=v[299999];v[299999]=0;if((d|0)==1){break j}d=v[v[c>>2]+40>>2];v[299999]=0;$(d|0,c|0,a|0,4,1);a=v[299999];v[299999]=0;if((a|0)==1){break j}if(f){dc(f)}v[299999]=0;ba(4483);a=v[299999];v[299999]=0;if((a|0)!=1){break b}}a=P()|0;O()|0;v[299999]=0;ba(4230);c=v[299999];v[299999]=0;if((c|0)!=1){break a}W(0)|0;O()|0;lc();L()}L()}T(a|0);L()}function DNa(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;a:{if(w[b+8|0]){break a}e=v[b+12>>2];j=v[a+24>>2];k=w[j+200|0];if((k|0)==219){e=e&-17;v[b+12>>2]=e;v[a+28>>2]=e}b:{if(v[j+40>>2]|!(e&16)){break b}c:{e=v[a+24>>2];f=w[e+200|0];d=f;if(!(!d|(d|0)==12)){break c}d=v[e+36>>2];if(v[d+148>>2]!=-2147483638|v[d+84>>2]!=-2147483515){break c}h=v[e+188>>2];d=v[e+52>>2];d:{if(!f){f=d+(x[d>>1]<<1)|0;if(x[(h+(x[f>>1]<<1)|0)+20>>1]!=3877){break c}if(x[(h+(x[f+16>>1]<<1)|0)+10>>1]==3861){break d}break c}f=x[d>>1];g=v[d+(f<<2)>>2];if(!(g&67108864)|x[(h+(g<<5&2097120)|0)+20>>1]!=37){break c}f=v[(d+(f<<2)|0)+32>>2];if(!(f&2097152)|x[(h+(f<<5&2097120)|0)+10>>1]!=21){break c}}g=v[e+196>>2];if(g){f=Pg((g+(w[e+28|0]<<10)|0)+80|0);if(!f){v[c>>2]=7;return}c=w[e+28|0]<<10;f=gc(f,v[e+36>>2],c);v[f+84>>2]=-2147483638;v[f+148>>2]=-2147483515;h=gc(c+f|0,h,g);i=h;e:{if(!w[e+200|0]){u[(h+(x[d+(x[d>>1]<<1)>>1]<<1)|0)+20>>1]=3861;d=x[(d+(x[d>>1]<<1)|0)+16>>1]+5|0;c=3877;break e}u[(h+(v[d+(x[d>>1]<<2)>>2]<<5&2097120)|0)+20>>1]=21;d=v[(d+(x[d>>1]<<2)|0)+32>>2]<<4&1048560|5;c=37}u[(d<<1)+i>>1]=c;i=ce(h+g|0,v[e+12>>2]+4|0);d=Bc(i)+i|0;c=w[258806]|w[258807]<<8|(w[258808]<<16|w[258809]<<24);g=w[258802]|w[258803]<<8|(w[258804]<<16|w[258805]<<24);t[d|0]=g;t[d+1|0]=g>>>8;t[d+2|0]=g>>>16;t[d+3|0]=g>>>24;t[d+4|0]=c;t[d+5|0]=c>>>8;t[d+6|0]=c>>>16;t[d+7|0]=c>>>24;c=w[258810]|w[258811]<<8;t[d+8|0]=c;t[d+9|0]=c>>>8;if(!v[e+40>>2]){v[e+40>>2]=f;v[e+216>>2]=i;v[e+192>>2]=h;break b}_e(f);break b}v[c>>2]=3;return}if(v[c>>2]>0){break a}c=v[b+12>>2]&-17;v[b+12>>2]=c;v[a+28>>2]=c}b=v[b+20>>2];f:{g:{if(yd(b,334924)){e=32768;if(yd(b,334914)){break g}if(yd(b,334922)){break g}break f}e=4096;if(yd(b,310753)){break g}if(yd(b,236209)){break g}e=8192;if(yd(b,320998)){break g}if(yd(b,273788)){break g}e=16384;if(yd(b,310637)){break g}if(!yd(b,235187)){break f}}v[a+28>>2]=v[a+28>>2]|e}if((k|0)==12){t[a+60|0]=3}b=v[j+224>>2];if(!b){break a}b=w[b+68|0]+((k|0)==12)<<24>>24;if((b|0)<=t[a+60|0]){break a}t[a+60|0]=b}}function qTa(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,h=0,i=0,j=0,k=0,l=0,m=0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){qd(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Dd(a);a:{if(!v[a+12>>2]){break a}v[a+1176>>2]=v[a+84>>2];if(!(!w[b+1160|0]|v[b+1172>>2]!=2)){qd(b+100|0,b,v[b+1164>>2],v[b+1168>>2]);v[b+1172>>2]=3}Dd(b);if(!v[b+12>>2]){break a}g=v[b+84>>2];v[b+1176>>2]=g;h=v[b+88>>2];i=v[a+88>>2];h=(h|0)<(i|0)?h:i;i=v[b+80>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((h|0)<(i|0)){break a}j=v[a+84>>2];k=(g|0)>(j|0)?g:j;g=v[b+92>>2];j=v[a+92>>2];if((k|0)>(((g|0)<(j|0)?g:j)|0)){break a}g=(h-i|0)+3|0;b:{if(g>>>0<=y[e+24>>2]){break b}h=v[e+20>>2];if(h){dc(h)}v[e+24>>2]=g;l=e,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[e+12>>2]){break b}h=v[e+8>>2];if(h){dc(h)}v[e+12>>2]=g;l=e,m=fc(g),v[l+8>>2]=m}v[e>>2]=2147483632;v[e+16>>2]=v[e+8>>2];g=v[e+20>>2];v[e+28>>2]=g;u[g+2>>1]=0;g=(v[a+88>>2]-v[a+80>>2]|0)+3|0;c:{if(g>>>0<=y[c+24>>2]){break c}h=v[c+20>>2];if(h){dc(h)}v[c+24>>2]=g;l=c,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[c+12>>2]){break c}h=v[c+8>>2];if(h){dc(h)}v[c+12>>2]=g;l=c,m=fc(g),v[l+8>>2]=m}v[c>>2]=2147483632;v[c+16>>2]=v[c+8>>2];g=v[c+20>>2];v[c+28>>2]=g;u[g+2>>1]=0;g=(v[b+88>>2]-v[b+80>>2]|0)+3|0;d:{if(g>>>0<=y[d+24>>2]){break d}h=v[d+20>>2];if(h){dc(h)}v[d+24>>2]=g;l=d,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[d+12>>2]){break d}h=v[d+8>>2];if(h){dc(h)}v[d+12>>2]=g;l=d,m=fc(g),v[l+8>>2]=m}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];g=v[d+20>>2];v[d+28>>2]=g;u[g+2>>1]=0;if(!Kc(a,c)){break a}if(!Kc(b,d)){break a}g=v[f+8>>2];if(v[g>>2]!=1){v[g>>2]=1;ic(g+2168|0,0,513)}while(1){g=v[c+4>>2];h=v[d+4>>2];if((g|0)>=(h|0)){if((g|0)>(h|0)){while(1){if(!Kc(b,d)){break a}g=v[c+4>>2];h=v[d+4>>2];if((g|0)>(h|0)){continue}break}}if((g|0)!=(h|0)){continue}wf(c,d,e);if(v[e+28>>2]!=v[e+20>>2]){v[e+4>>2]=v[c+4>>2];mY(e,v[f>>2],v[f+4>>2],v[f+8>>2])}if(!Kc(a,c)){break a}if(Kc(b,d)){continue}break a}if(Kc(a,c)){continue}break}}}function nTa(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,h=0,i=0,j=0,k=0,l=0,m=0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){qd(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Dd(a);a:{if(!v[a+12>>2]){break a}v[a+1176>>2]=v[a+84>>2];if(!(!w[b+1160|0]|v[b+1172>>2]!=2)){qd(b+100|0,b,v[b+1164>>2],v[b+1168>>2]);v[b+1172>>2]=3}Dd(b);if(!v[b+12>>2]){break a}g=v[b+84>>2];v[b+1176>>2]=g;h=v[b+88>>2];i=v[a+88>>2];h=(h|0)<(i|0)?h:i;i=v[b+80>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((h|0)<(i|0)){break a}j=v[a+84>>2];k=(g|0)>(j|0)?g:j;g=v[b+92>>2];j=v[a+92>>2];if((k|0)>(((g|0)<(j|0)?g:j)|0)){break a}g=(h-i|0)+3|0;b:{if(g>>>0<=y[e+24>>2]){break b}h=v[e+20>>2];if(h){dc(h)}v[e+24>>2]=g;l=e,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[e+12>>2]){break b}h=v[e+8>>2];if(h){dc(h)}v[e+12>>2]=g;l=e,m=fc(g),v[l+8>>2]=m}v[e>>2]=2147483632;v[e+16>>2]=v[e+8>>2];g=v[e+20>>2];v[e+28>>2]=g;u[g+2>>1]=0;g=(v[a+88>>2]-v[a+80>>2]|0)+3|0;c:{if(g>>>0<=y[c+24>>2]){break c}h=v[c+20>>2];if(h){dc(h)}v[c+24>>2]=g;l=c,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[c+12>>2]){break c}h=v[c+8>>2];if(h){dc(h)}v[c+12>>2]=g;l=c,m=fc(g),v[l+8>>2]=m}v[c>>2]=2147483632;v[c+16>>2]=v[c+8>>2];g=v[c+20>>2];v[c+28>>2]=g;u[g+2>>1]=0;g=(v[b+88>>2]-v[b+80>>2]|0)+3|0;d:{if(g>>>0<=y[d+24>>2]){break d}h=v[d+20>>2];if(h){dc(h)}v[d+24>>2]=g;l=d,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[d+12>>2]){break d}h=v[d+8>>2];if(h){dc(h)}v[d+12>>2]=g;l=d,m=fc(g),v[l+8>>2]=m}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];g=v[d+20>>2];v[d+28>>2]=g;u[g+2>>1]=0;if(!Kc(a,c)){break a}if(!Kc(b,d)){break a}g=v[f+8>>2];if(v[g>>2]!=1){v[g>>2]=1;ic(g+2144|0,0,513)}while(1){g=v[c+4>>2];h=v[d+4>>2];if((g|0)>=(h|0)){if((g|0)>(h|0)){while(1){if(!Kc(b,d)){break a}g=v[c+4>>2];h=v[d+4>>2];if((g|0)>(h|0)){continue}break}}if((g|0)!=(h|0)){continue}wf(c,d,e);if(v[e+28>>2]!=v[e+20>>2]){v[e+4>>2]=v[c+4>>2];lY(e,v[f>>2],v[f+4>>2],v[f+8>>2])}if(!Kc(a,c)){break a}if(Kc(b,d)){continue}break a}if(Kc(a,c)){continue}break}}}function Rka(a){a=a|0;var 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;o=Qb-32|0;Qb=o;a:{if(x[a+16>>1]>=3){a=vc(o+8|0,234779,241521,402,341894,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}b=P()|0;O()|0;qc(a);T(b|0);L()}b:{if(!v[a+20>>2]){break b}j=a+40|0;Xd(j,0,1);Xd(a+52|0,0,4);r=a;g=Qb-16|0;Qb=g;c:{d:{e:{f:{g:{d=a;if(!(!x[a+8>>1]|!x[a+10>>1])){a=v[d+20>>2];if(a|v[d+36>>2]){break g}}Xd(j,0,1);break f}if(!a){a=Bg(g,g+12|0,v[d+60>>2],1);gc(v[g+12>>2],v[d+36>>2],v[d+60>>2]);v[299999]=0;gx(a,j);b=v[299999];v[299999]=0;if((b|0)==1){break e}h=v[d+60>>2];Lc(a);break f}Xd(j,0,1);k=(x[d+10>>1]<<1)+1024|0;l=Bg(g,g+12|0,k,1);a=x[d+8>>1];if(a){m=a-1|0;n=(v[d+20>>2]+x[d+12>>1]|0)+B(m,x[d+14>>1])|0;while(1){a=x[d+10>>1];b=a<<1;if(((b+h|0)+2|0)>(k|0)){v[299999]=0;k=(b+k|0)+1024|0;U(5064,l|0,k|0,1);a=v[299999];v[299999]=0;if((a|0)==1){break d}a=x[d+10>>1]}p=v[g+12>>2]+h|0;e=p;if(a){f=a+n|0;q=0;e=p;b=n;while(1){c=w[b|0];h:{i:{q=q^1;j:{if(!(q&1)){if(!c){a=0;break i}a=1;c=b+1|0;if(f>>>0<=c>>>0){b=c;break i}i=f-b|0;while(1){b=c;if(!w[c|0]){break j}a=a+1|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}a=i;b=f;break j}a=0;if(c){break i}a=1;c=b+1|0;if(f>>>0<=c>>>0){b=c;break i}i=f-b|0;while(1){b=c;if(w[c|0]){break j}a=a+1|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}a=i;b=f}if(a>>>0<=191){break i}k:{if(a>>>0<=16383){t[e+1|0]=a;t[e|0]=(a>>>8|0)+-64;break k}while(1){c=e;t[c+2|0]=0;t[c|0]=255;t[c+1|0]=255;i=a;a=a-16383|0;e=c+3|0;if((i|0)>32766){continue}break}if((i|0)<=16574){break i}t[c+4|0]=a;t[c+3|0]=(a>>>8|0)+-64}a=2;break h}t[e|0]=a;a=1}e=a+e|0;if(b>>>0>>0){continue}break}}n=n-x[d+14>>1]|0;h=(h-p|0)+e|0;a=(m|0)>0;m=m-1|0;if(a){continue}break}}v[299999]=0;U(5064,l|0,h|0,1);a=v[299999];v[299999]=0;if((a|0)==1){break d}v[299999]=0;gx(j,l);a=v[299999];v[299999]=0;if((a|0)==1){break d}Lc(l)}Qb=g+16|0;break c}b=P()|0;O()|0;Lc(a);T(b|0);L()}a=P()|0;O()|0;Lc(l);T(a|0);L()}v[r+60>>2]=h;if(!h){break b}Xd(d+28|0,0,1);v[d+20>>2]=0}Qb=o+32|0;return}L()}function oea(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=Qb-48|0;Qb=f;a:{i=v[c+8>>2];if(i){while(1){e=v[i+8>>2];b:{if(!e){break b}c=f+32|0;h=fk(c,a);v[299999]=0;j=Fe(c);c=v[299999];v[299999]=0;if((c|0)==1){break a}v[299999]=0;k=e+68|0;c=k;c=v[v[c+12>>2]+((j>>>0)%y[c+8>>2]<<2)>>2];g=v[299999];v[299999]=0;if((g|0)==1){break a}g=0;c:{if(!c){break c}while(1){d:{if((j|0)!=v[c+12>>2]){break d}v[299999]=0;l=Y(4541,c+16|0,f+32|0,-1)|0;m=v[299999];v[299999]=0;if((m|0)==1){break a}if(l){break d}g=c;break c}c=v[c+8>>2];if(c){continue}break}}v[f+44>>2]=k;v[f+40>>2]=g;ec(h);if(!g){break b}e:{f:{c=v[i+8>>2];if((e|0)==(c|0)){j=Ol(f+16|0,g+24|0);g=v[f+24>>2];if(!g){break e}g:{while(1){h:{c=v[g+8>>2];i:{if(!c){break i}v[299999]=0;v[c+4>>2]=v[c+4>>2]+1;c=v[299999];v[299999]=0;if((c|0)==1){break h}c=v[g+8>>2];v[f+8>>2]=c;if(c){v[299999]=0;h=Q(4340,f|0,b|0)|0;e=v[299999];v[299999]=0;j:{k:{if((e|0)!=1){v[299999]=0;k=Fe(f);e=v[299999];v[299999]=0;l:{if((e|0)==1){break l}v[299999]=0;c=v[v[c+28>>2]+((k>>>0)%y[c+24>>2]<<2)>>2];e=v[299999];v[299999]=0;if((e|0)==1){break l}e=0;m:{n:{if(!c){break n}while(1){o:{if((k|0)!=v[c+12>>2]){break o}v[299999]=0;l=Y(4541,c+16|0,f|0,-1)|0;m=v[299999];v[299999]=0;if((m|0)==1){break m}if(l){break o}e=c;break n}c=v[c+8>>2];if(c){continue}break}}ec(h);if(!e){break j}v[299999]=0;c=Q(5381,d|0,e+24|0)|0;e=v[299999];v[299999]=0;if((e|0)!=1){v[299999]=0;Q(4344,c+24|0,f+8|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){break j}}c=P()|0;O()|0;break k}c=P()|0;O()|0;ec(h);break k}c=P()|0;O()|0;ec(h);break k}c=P()|0;O()|0}ec(f+8|0);break g}c=v[f+8>>2]}v[f+8>>2]=0;if(!c){break i}v[299999]=0;e=v[c+4>>2]-1|0;v[c+4>>2]=e;h=v[299999];v[299999]=0;if((h|0)==1){break f}if(e){break i}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break f}}g=v[g>>2];if(g){continue}break e}break}c=P()|0;O()|0}Ic(j);T(c|0);L()}Ei(f+40|0,c+68|0);L()}W(0)|0;O()|0;lc();L()}Ic(j)}i=v[i>>2];if(i){continue}break}}Qb=f+48|0;return}a=P()|0;O()|0;ec(h);T(a|0);L()}function Uf(a){var b=0,c=0,d=0,e=0,f=0;d=v[a>>2];c=v[a+4>>2];e=v[a+20>>2];f=v[e>>2];b=v[f>>2];v[e>>2]=v[f+12>>2];e=c-b|0;c=e>>>0>>0;e=c?e:b;b=d+(c?b:0)|0;c=v[a+8>>2];while(1){c=c-1|0;v[a+8>>2]=c;d=b<<1;v[a>>2]=d;v[a+4>>2]=e<<1;a:{if(c){b=d;break a}e=a;c=v[a+28>>2];b:{c:{if((c|0)!=255){if(b&67108864){f=c+1|0;v[a+28>>2]=f;if((f|0)==255){v[a>>2]=d&134217726;b=v[a+24>>2];c=v[b+8>>2];d:{e:{if(c&7){break e}d=v[b+64>>2];if(!((d|0)<0|(d|0)>v[b+60>>2])){v[b+8>>2]=c|4;break e}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=b;b=v[b+24>>2];v[c+24>>2]=b+1;t[b|0]=255;break d}if((Fc(b,255)|0)!=-1){break d}}v[a+36>>2]=v[a+36>>2]|1}v[a+32>>2]=v[a+28>>2];b=v[a>>2];v[a+28>>2]=b>>>20&255;b=b&1048575;break c}f:{if((c|0)<-1){break f}b=v[a+24>>2];c=v[b+8>>2];g:{if(c&7){break g}d=v[b+64>>2];if(!((d|0)<0|(d|0)>v[b+60>>2])){v[b+8>>2]=c|4;break g}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=b;b=v[b+24>>2];v[c+24>>2]=b+1;t[b|0]=f;break f}if((Fc(b,f&255)|0)!=-1){break f}}v[a+36>>2]=v[a+36>>2]|1}v[a+32>>2]=v[a+28>>2];b=v[a>>2];v[a+28>>2]=b>>>19&255;b=b&524287;c=8;break b}h:{if((c|0)<0){break h}b=v[a+24>>2];d=v[b+8>>2];i:{if(d&7){break i}f=v[b+64>>2];if(!((f|0)<0|(f|0)>v[b+60>>2])){v[b+8>>2]=d|4;break i}v[b+4>>2]=v[b+4>>2]|32;d=v[b+28>>2];v[b+28>>2]=d-1;if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=b;b=v[b+24>>2];v[d+24>>2]=b+1;t[b|0]=c;break h}if((Fc(b,c&255)|0)!=-1){break h}}v[a+36>>2]=v[a+36>>2]|1}v[a+32>>2]=v[a+28>>2];b=v[a>>2];v[a+28>>2]=b>>>19&255;b=b&524287;c=8;break b}b=v[a+24>>2];c=v[b+8>>2];j:{k:{if(c&7){break k}d=v[b+64>>2];if(!((d|0)<0|(d|0)>v[b+60>>2])){v[b+8>>2]=c|4;break k}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=b;b=v[b+24>>2];v[c+24>>2]=b+1;t[b|0]=255;break j}if((Fc(b,255)|0)!=-1){break j}}v[a+36>>2]=v[a+36>>2]|1}v[a+32>>2]=v[a+28>>2];b=v[a>>2];v[a+28>>2]=b>>>20&255;b=b&1048575}c=7}v[e+8>>2]=c;v[a>>2]=b}e=v[a+4>>2];if(!(e&32768)){continue}break}}function pC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=v[b>>2];a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{if(!d){break l}g=v[d>>2];if(!g){break l}if(!a){d=c;break j}v[d>>2]=0;d=c;break k}m:{if(!v[v[282445]>>2]){if(!a){break m}if(!c){break a}g=c;while(1){d=t[e|0];if(d){v[a>>2]=d&57343;a=a+4|0;e=e+1|0;g=g-1|0;if(g){continue}break a}break}v[a>>2]=0;v[b>>2]=0;return c-g|0}d=c;if(!a){break i}break g}return Bc(e)|0}f=1;break g}f=0;break h}f=1}while(1){if(!f){f=w[e|0]>>>3|0;if((f-16|f+(g>>26))>>>0>7){break f}h=e+1|0;f=h;n:{if(!(g&33554432)){break n}if((w[h|0]&192)!=128){e=e-1|0;break d}h=e+2|0;f=h;if(!(g&524288)){break n}if((w[h|0]&192)!=128){e=e-1|0;break d}f=e+3|0}e=f;d=d-1|0;f=1;continue}while(1){g=w[e|0];o:{if(e&3|g-1>>>0>126){break o}g=v[e>>2];if((g|g-16843009)&-2139062144){break o}while(1){d=d-4|0;g=v[e+4>>2];f=e+4|0;e=f;if(!((g-16843009|g)&-2139062144)){continue}break}e=f}f=g&255;if(f-1>>>0<=126){d=d-1|0;e=e+1|0;continue}break}f=f-194|0;if(f>>>0>50){break e}e=e+1|0;g=v[(f<<2)+1009360>>2];f=0;continue}}while(1){if(!f){if(!d){break a}while(1){p:{f=w[e|0];h=f-1|0;q:{r:{if(h>>>0>126){g=f;break r}if(e&3|d>>>0<5){break q}s:{while(1){g=v[e>>2];if((g|g-16843009)&-2139062144){break s}v[a>>2]=g&255;v[a+4>>2]=w[e+1|0];v[a+8>>2]=w[e+2|0];v[a+12>>2]=w[e+3|0];a=a+16|0;e=e+4|0;d=d-4|0;if(d>>>0>4){continue}break}g=w[e|0]}f=g&255;h=f-1|0}if(h>>>0>126){break p}}v[a>>2]=f;a=a+4|0;e=e+1|0;d=d-1|0;if(d){continue}break a}break}f=f-194|0;if(f>>>0>50){break e}e=e+1|0;g=v[(f<<2)+1009360>>2];f=1;continue}h=w[e|0];f=h>>>3|0;if((f-16|f+(g>>26))>>>0>7){break f}t:{u:{i=e+1|0;f=h-128|g<<6;h=i;v:{if((f|0)>-1){break v}h=w[i|0]-128|0;if(h>>>0>63){break u}i=e+2|0;f=h|f<<6;h=i;if((f|0)>-1){break v}h=w[i|0]-128|0;if(h>>>0>63){break u}f=h|f<<6;h=e+3|0}e=h;v[a>>2]=f;d=d-1|0;a=a+4|0;break t}v[299402]=25;e=e-1|0;break c}f=0;continue}}e=e-1|0;if(g){break d}g=w[e|0]}if(g&255){break d}if(a){v[a>>2]=0;v[b>>2]=0}return c-d|0}v[299402]=25;if(!a){break b}}v[b>>2]=e}return-1}v[b>>2]=e;return c|0}function Vf(a){var b=0,c=0,d=0,e=0,f=0;d=v[a>>2];c=v[a+4>>2];e=v[a+20>>2];f=v[e>>2];b=v[f>>2];v[e>>2]=v[f+8>>2];e=c;c=b>>>0>c>>>0;e=c?b:e;b=d+(c?0:b)|0;c=v[a+8>>2];while(1){c=c-1|0;v[a+8>>2]=c;d=b<<1;v[a>>2]=d;v[a+4>>2]=e<<1;a:{if(c){b=d;break a}e=a;c=v[a+28>>2];b:{c:{if((c|0)!=255){if(b&67108864){f=c+1|0;v[a+28>>2]=f;if((f|0)==255){v[a>>2]=d&134217726;b=v[a+24>>2];c=v[b+8>>2];d:{e:{if(c&7){break e}d=v[b+64>>2];if(!((d|0)<0|(d|0)>v[b+60>>2])){v[b+8>>2]=c|4;break e}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=b;b=v[b+24>>2];v[c+24>>2]=b+1;t[b|0]=255;break d}if((Fc(b,255)|0)!=-1){break d}}v[a+36>>2]=v[a+36>>2]|1}v[a+32>>2]=v[a+28>>2];b=v[a>>2];v[a+28>>2]=b>>>20&255;b=b&1048575;break c}f:{if((c|0)<-1){break f}b=v[a+24>>2];c=v[b+8>>2];g:{if(c&7){break g}d=v[b+64>>2];if(!((d|0)<0|(d|0)>v[b+60>>2])){v[b+8>>2]=c|4;break g}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=b;b=v[b+24>>2];v[c+24>>2]=b+1;t[b|0]=f;break f}if((Fc(b,f&255)|0)!=-1){break f}}v[a+36>>2]=v[a+36>>2]|1}v[a+32>>2]=v[a+28>>2];b=v[a>>2];v[a+28>>2]=b>>>19&255;b=b&524287;c=8;break b}h:{if((c|0)<0){break h}b=v[a+24>>2];d=v[b+8>>2];i:{if(d&7){break i}f=v[b+64>>2];if(!((f|0)<0|(f|0)>v[b+60>>2])){v[b+8>>2]=d|4;break i}v[b+4>>2]=v[b+4>>2]|32;d=v[b+28>>2];v[b+28>>2]=d-1;if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=b;b=v[b+24>>2];v[d+24>>2]=b+1;t[b|0]=c;break h}if((Fc(b,c&255)|0)!=-1){break h}}v[a+36>>2]=v[a+36>>2]|1}v[a+32>>2]=v[a+28>>2];b=v[a>>2];v[a+28>>2]=b>>>19&255;b=b&524287;c=8;break b}b=v[a+24>>2];c=v[b+8>>2];j:{k:{if(c&7){break k}d=v[b+64>>2];if(!((d|0)<0|(d|0)>v[b+60>>2])){v[b+8>>2]=c|4;break k}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=b;b=v[b+24>>2];v[c+24>>2]=b+1;t[b|0]=255;break j}if((Fc(b,255)|0)!=-1){break j}}v[a+36>>2]=v[a+36>>2]|1}v[a+32>>2]=v[a+28>>2];b=v[a>>2];v[a+28>>2]=b>>>20&255;b=b&1048575}c=7}v[e+8>>2]=c;v[a>>2]=b}e=v[a+4>>2];if(!(e&32768)){continue}break}}function r0(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0;k=(c+31|0)/32|0;if((d|0)>0){C=k<<2;while(1){a:{b:{c:{d:{z=l>>>0<2;e:{if(!z){i=v[(B(l-2|0,k)<<2)+b>>2];break e}i=0;if(!l){break d}}g=(B(l-1|0,k)<<2)+b|0;j=v[g>>2];m=1;f=i;if(!e){break b}h=s;s=!Pc((B(k,l)<<2)+b|0,g,C);D=h^s;h=1;break c}j=0;h=0;m=0;f=0;if(!e){break b}}f=w[a+39741|0];m=f<<2;g=x[m+1038400>>1];o=a;f:{g:{if((D&255)==(f>>>0>46|0)){f=x[a+4>>1]-g|0;u[a+4>>1]=f;if(f<<16>>16>=0){if(g>>>0>(f&65535)>>>0){f=g;g=m+1038402|0;break g}v[a>>2]=g+v[a>>2];g=m+1038402|0;break g}v[a>>2]=g+v[a>>2];break f}f=x[a+4>>1]-g|0;h:{if(g>>>0<=(f&65535)>>>0){f=g;break h}v[a>>2]=g+v[a>>2]}g=m+1038403|0}t[o+39741|0]=w[g|0];while(1){f=f<<1;u[a+4>>1]=f;v[a>>2]=v[a>>2]<<1;g=w[a+6|0]-1|0;t[a+6|0]=g;if(!(g&255)){ql(a);f=x[a+4>>1]}if(f<<16>>16>-1){continue}break}}if(s){break a}s=0;m=h;f=i}if((c|0)<1){break a}E=B(l-2|0,k);F=B(l-1|0,k);i=f>>>29|0;y=j>>>28|0;q=f<<3;n=j<<4;A=B(k,l);o=v[(A<<2)+b>>2];j=0;f=0;while(1){h=(i<<11|y<<4|f)+a|0;r=w[h+24|0];p=r<<2;g=x[p+1038400>>1];G=h;h=r>>>0>46;r=o>>>31|0;i:{j:{if((h|0)==(r|0)){h=x[a+4>>1]-g|0;u[a+4>>1]=h;if(h<<16>>16>=0){if(g>>>0>(h&65535)>>>0){h=g;g=p+1038402|0;break j}v[a>>2]=g+v[a>>2];g=p+1038402|0;break j}v[a>>2]=g+v[a>>2];break i}h=x[a+4>>1]-g|0;k:{if(g>>>0<=(h&65535)>>>0){h=g;break k}v[a>>2]=g+v[a>>2]}g=p+1038403|0}t[G+24|0]=w[g|0];while(1){h=h<<1;u[a+4>>1]=h;v[a>>2]=v[a>>2]<<1;g=w[a+6|0]-1|0;t[a+6|0]=g;if(!(g&255)){ql(a);h=x[a+4>>1]}if(h<<16>>16>-1){continue}break}}g=y<<1|n>>>31;h=i<<1|q>>>31;p=f<<1;f=j&31;l:{if(!(z|(f|0)!=28)){q=0;f=(j>>>5|0)+1|0;if(f>>>0>>0){q=v[(f+E<<2)+b>>2]}n=n<<1;i=o<<1;break l}q=q<<1;m:{if(!(m^1|(f|0)!=27)){n=0;f=(j>>>5|0)+1|0;if(f>>>0>=k>>>0){break m}n=v[(f+F<<2)+b>>2];break m}n=n<<1;if((f|0)!=31){break m}f=(j>>>5|0)+1|0;i=0;if(f>>>0>=k>>>0){break l}i=v[(f+A<<2)+b>>2];break l}i=o<<1}o=i;y=g&127;i=h&31;f=r|p&14;j=j+1|0;if((j|0)!=(c|0)){continue}break}}l=l+1|0;if((l|0)!=(d|0)){continue}break}}}function oz(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{f=v[b>>2];if(f>>>0>=c>>>0){break a}k=t[a+36|0];g=v[a+8>>2];h=v[g+60>>2];v[b>>2]=f+1;f=w[f|0];t[a+36|0]=k+1;t[(a+k|0)+37|0]=f;b:{c:{d:{e:{f=w[f+854736|0];if(!f){break e}f:{g:{while(1){j=(h<<5)+(f<<24>>24)|0;i=74;f=0;l=0;while(1){h=f;f=i+l>>1;if((h|0)==(f|0)){break e}h=f;h:{m=v[(f<<2)+854352>>2];if((m|0)<=(j|0)){l=f;h=i;if((j|0)<=(m|0)){break h}}i=h;if((h|0)==(l|0)){break e}continue}break}i:{i=t[f+854656|0];switch(i+1|0){case 0:break d;case 2:case 3:break g;default:break i}}h=v[b>>2];if(h>>>0>>0){f=t[a+36|0];v[b>>2]=h+1;i=w[h|0];t[a+36|0]=f+1;t[(a+f|0)+37|0]=i;h=j;j=0;f=w[i+854736|0];if(!f){break d}continue}break}v[g+60>>2]=j;switch(i+1|0){case 1:break a;case 0:break c;default:break f}}v[g+60>>2]=0}j:{k:{l:{m:{switch(d-1|0){case 0:n:{o:{p:{c=t[f+854192|0];switch(c+1|0){case 0:break k;case 2:case 3:break o;case 17:break p;default:break n}}if(!w[g+50|0]){break c}c=t[g+52|0];if((c|0)<=1){t[g+53|0]=c}t[g+52|0]=2;break l}if(!(x[(v[g+64>>2]<<1)+853324>>1]>>>c&1)){break k}t[g+50|0]=c;break l}if(!(x[(v[g+64>>2]<<1)+853324>>1]>>>c&1)){break k}t[g+48|0]=c;break l;case 2:q:{r:{s:{t:{u:{v:{c=t[f+854272|0];switch(c+1|0){case 0:break k;case 35:break r;case 2:case 34:break s;case 3:break t;case 18:break u;case 17:break v;default:break q}}if(!w[g+50|0]){break c}c=t[g+52|0];if((c|0)<=1){t[g+53|0]=c}t[g+52|0]=2;break l}if(!w[g+51|0]){break c}c=t[g+52|0];if((c|0)<=1){t[g+53|0]=c}t[g+52|0]=3;break l}if(!v[g+64>>2]){break k}}t[g+49|0]=c;break l}t[g+50|0]=c;break l}if(!v[g+64>>2]){break k}t[g+51|0]=c;break l;case 1:break m;default:break c}}if((f|0)!=48){break k}}c=v[e>>2];if((c|0)<=0){t[a+36|0]=0;return}switch(c-18|0){case 1:break j;case 0:break b;default:break a}}v[e>>2]=19}v[a+256>>2]=0;break a}j=0}v[g+60>>2]=j}v[e>>2]=18}c=t[a+36|0];if((c|0)<2){break a}h=c-k<<24>>24;c=(c<<24)-16777216>>24;w:{if((h|0)>=(c|0)){h=c&255;break w}c=h-c|0;t[a+254|0]=c;gc(a+222|0,a+38|0,0-(c<<24>>24)|0)}v[b>>2]=v[b>>2]-h;t[a+36|0]=1}}function VT(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{b:{c:{d:{e:{f:{if(!(!b|!c)){g=fc(40);f=v[b+32>>2];e=v[b+28>>2];h=v[b+24>>2];k=A[b+16>>3];l=A[b+8>>3];b=v[b>>2];v[299999]=0;Cb(3153,g|0,b|0,+l,+k,h|0,e|0,f|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break f}b=v[a+4>>2];e=v[a+8>>2];g:{if(b>>>0>>0){v[b>>2]=g;v[a+4>>2]=b+4;break g}f=v[a>>2];h=b-f|0;i=h>>2;b=i+1|0;if(b>>>0>=1073741824){break e}e=e-f|0;j=e>>1;e=e>>2>>>0<536870911?b>>>0>j>>>0?b:j:1073741823;if(e){if(e>>>0>=1073741824){break d}b=fc(e<<2)}else{b=0}i=b+(i<<2)|0;v[i>>2]=g;if((h|0)>=1){gc(b,f,h)}v[a+8>>2]=b+(e<<2);v[a+4>>2]=i+4;v[a>>2]=b;if(!f){break g}dc(f)}b=v[a+28>>2];h:{if((b|0)!=v[a+32>>2]){v[b>>2]=c;v[a+28>>2]=b+4;break h}e=a+24|0;g=v[e>>2];f=b-g|0;h=f>>2;b=h+1|0;if(b>>>0>=1073741824){break c}e=f>>1;e=h>>>0<536870911?b>>>0>e>>>0?b:e:1073741823;if(e){if(e>>>0>=1073741824){break b}b=fc(e<<2)}else{b=0}h=b+(h<<2)|0;v[h>>2]=c;if((f|0)>=1){gc(b,g,f)}v[a+32>>2]=b+(e<<2);v[a+28>>2]=h+4;v[a+24>>2]=b;if(!g){break h}dc(g)}b=v[a+16>>2];f=v[a+20>>2];if((b|0)==f<<5){g=a+12|0;if((b+1|0)<=-1){break a}c=Qb-16|0;Qb=c;i:{j:{if(b>>>0<=1073741822){b=b+32&-32;f=f<<6;b=b>>>0>f>>>0?b:f}else{b=2147483647}k:{if(b>>>0<=v[g+8>>2]<<5>>>0){break k}v[c+8>>2]=0;v[c>>2]=0;v[c+4>>2]=0;if((b|0)<=-1){v[299999]=0;R(2185,c|0);a=v[299999];v[299999]=0;if((a|0)==1){break j}L()}v[299999]=0;h=(b-1>>>5|0)+1|0;f=S(1,h<<2)|0;b=v[299999];v[299999]=0;if((b|0)==1){break j}v[c+8>>2]=h;v[c>>2]=f;e=v[g>>2];b=v[g+4>>2];v[c+4>>2]=b;v[f+((b>>>0<33?0:b-1>>>5|0)<<2)>>2]=0;l:{if((b|0)<1){break l}j=b>>>5|0;i=j<<2;m=Wd(f,e,i);b=b-(j<<5)|0;if((b|0)<1){break l}j=i+m|0;b=-1>>>32-b|0;v[j>>2]=v[j>>2]&(b^-1)|b&v[e+i>>2]}v[g+8>>2]=h;v[g>>2]=f;if(!e){break k}dc(e)}Qb=c+16|0;break i}a=P()|0;O()|0;b=v[c>>2];if(b){dc(b)}T(a|0);L()}b=v[a+16>>2]}v[a+16>>2]=b+1;c=1<>2]+(b>>>3&536870908)|0;b=a;if(d){a=c|v[a>>2]}else{a=v[a>>2]&(c^-1)}v[b>>2]=a}return}a=P()|0;O()|0;dc(g);T(a|0);L()}ue(a);L()}cf(274079);L()}ue(e);L()}cf(274079);L()}ue(g);L()}function GD(a,b,c){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,p=0;m=Qb-160|0;Qb=m;a:{if(!a|!b){break a}b:{f=v[b+48>>2];if((2147483639-f|0)>=1){d=f+1|0;j=d+8|0;if(j>>>0<153391689){break b}}Gc(a,50839);break a}e=d;d=v[b+52>>2];c:{if((e|0)<=(d|0)){break c}e=v[b+56>>2];if(e){v[b+52>>2]=j;f=If(a,B(j,28));v[b+56>>2]=f;if(!f){v[b+56>>2]=e;v[b+52>>2]=d;g=1;break a}gc(f,e,B(d,28));Zc(a,e);break c}v[b+48>>2]=0;v[b+52>>2]=9;e=If(a,252);v[b+56>>2]=e;if(!e){v[b+52>>2]=d;v[b+48>>2]=f;g=1;break a}v[b+184>>2]=v[b+184>>2]|16384}d:{while(1){k=B(n,28)+c|0;h=v[k+4>>2];e:{if(!h){break e}if(v[k>>2]+1>>>0>=4){Gc(a,51372);break e}j=v[b+48>>2];o=v[b+56>>2];e=1;i=0;f=m+80|0;g=w[h|0];f:{if(!g){d=1;break f}while(1){h=h+1|0;g:{h:{if(g>>>0>160){d=0;break h}d=0;if((g-33&255)>>>0<94){break h}d=1;if(e){break g}g=32}t[f|0]=g;i=i+1|0;f=f+1|0}g=w[h|0];if(!g){break f}e=d;if(i>>>0<79){continue}break}}d=(i|0)!=0&(d|0)!=0;t[f-d|0]=0;l=i-d|0;if(!l){Gc(a,51958);break e}p=B(j,28);i:{if(v[k>>2]<1){d=0;j=0;break i}j=0;d=0;h=v[k+20>>2];if(h){e=1;i=0;f=m;g=w[h|0];j:{if(!g){d=1;break j}while(1){h=h+1|0;k:{l:{if(g>>>0>160){d=0;break l}d=0;if((g-33&255)>>>0<94){break l}d=1;if(e){break k}g=32}t[f|0]=g;i=i+1|0;f=f+1|0}g=w[h|0];if(!g){break j}e=d;if(i>>>0<79){continue}break}}d=(i|0)!=0&(d|0)!=0;t[f-d|0]=0;d=i-d|0}e=v[k+24>>2];if(!e){break i}j=Bc(e)}e=o+p|0;f=v[k+8>>2];m:{if(!(w[f|0]?f:0)){if(v[k>>2]>=1){v[e>>2]=1;h=0;break m}v[e>>2]=-1;h=0;break m}h=Bc(f);v[e>>2]=v[k>>2]}f=If(a,(((d+l|0)+j|0)+h|0)+4|0);v[e+4>>2]=f;if(!f){break d}gc(f,m+80|0,l);i=e+4|0;t[v[i>>2]+l|0]=0;n:{if(v[k>>2]>=1){f=(v[e+4>>2]+l|0)+1|0;v[e+20>>2]=f;gc(f,v[k+20>>2],d);t[v[e+20>>2]+d|0]=0;d=(v[e+20>>2]+d|0)+1|0;v[e+24>>2]=d;gc(d,v[k+24>>2],j);t[v[e+24>>2]+j|0]=0;i=e+24|0;break n}v[e+20>>2]=0;v[e+24>>2]=0;j=l}d=(v[i>>2]+j|0)+1|0;v[e+8>>2]=d;if(h){gc(d,v[k+8>>2],h);d=v[e+8>>2]}t[d+h|0]=0;d=v[e>>2]>0;v[e+16>>2]=d?h:0;v[e+12>>2]=d?0:h;v[b+48>>2]=v[b+48>>2]+1}n=n+1|0;if((n|0)!=1){continue}break}g=0;break a}g=1}Qb=m+160|0;return g}function T9a(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;if((c|0)!=13){pc(a,1028,0,0);return 1028}c=v[a+8>>2];if(c-1>>>0>=2){pc(a,1030,0,0);return 1030}a:{b:{c:{if(!((c|0)!=1|y[a+272>>2]<2)|(w[a+286|0]|w[a+287|0])){break c}if(w[a+300|0]|w[a+289|0]){break c}t[a+286|0]=1;f=w[a+288|0];if(!(w[a+2253|0]!=7?f:0)){c=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);v[a+316>>2]=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);v[a+320>>2]=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)}c=w[d+8|0];t[a+324|0]=c;g=w[d+9|0];t[a+325|0]=g;h=w[d+10|0];t[a+326|0]=h;i=w[d+11|0];t[a+327|0]=i;j=w[d+12|0];t[a+328|0]=j;if(!(1<>>0<=16:0)){break b}d:{e:{switch(g|0){case 3:if(c>>>0<9){break d}break b;case 0:break d;case 2:case 4:case 6:break e;default:break a}}if(c>>>0>7){break d}break b}if(h){pc(a,1038,0,0);return 1038}if(i){pc(a,1039,0,0);return 1039}if(j>>>0>=2){pc(a,1040,0,0);return 1040}f:{if(!f){break f}f=w[v[v[a+528>>2]+88>>2]+45|0];if((f|0)==(g|0)|(f?(g|0)==3:0)|!g&(f|0)!=3){break f}break a}g:{h:{if(w[a+284|0]){break h}v[a+12>>2]=1;t[a+284|0]=1;f=v[a+316>>2];v[a+16>>2]=f;h=v[a+320>>2];v[a+20>>2]=h;i:{j:{switch(g-3|0){case 0:c=8;break i;case 1:case 3:break i;default:break j}}c=1}t[a+44|0]=c;if(!(f>>>0<=y[a+124>>2]&h>>>0<=y[a+128>>2])){c=4097;if(!pc(a,4097,0,0)){break g}}c=v[a+188>>2];if(!c){break h}if(Ub[c|0](a,v[a+16>>2],v[a+20>>2])|0){break h}pc(a,904,0,0);return 904}if(!w[a+288|0]){v[a+48>>2]=v[a+48>>2]+1}c=mJ(a);if(c){break g}c=0;if(!w[a+112|0]){break g}c=Ub[v[b+4>>2]](a,b,e)|0;if(c){break g}b=v[e>>2];c=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);v[b+32>>2]=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);v[b+36>>2]=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[b+40|0]=w[a+324|0];t[b+41|0]=w[a+325|0];t[b+42|0]=w[a+326|0];t[b+43|0]=w[a+327|0];t[b+44|0]=w[a+328|0];c=0}return c|0}pc(a,1029,0,0);return 1029}pc(a,1036,0,0);return 1036}pc(a,1037,0,0);return 1037}function XN(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=Qb-48|0;Qb=g;d=v[a+12>>2];a:{b:{if(d&131072){break b}h=v[v[a+188>>2]+(b<<2)>>2];if(!h){d=v[a+628>>2];a=v[a>>2];v[g+8>>2]=b;v[g+4>>2]=0;v[g>>2]=a;zc(d,77124,15267,g);c=0;break a}if(!(!(d&2048)|!((x[a+94>>1]|256)&d))){c:{if(!(d&512)){break c}c=v[a+596>>2];if(!c){break c}dc(c);d=v[a+12>>2]}d=d&-513;v[a+12>>2]=d;c=v[a+616>>2];e=v[a+184>>2]+(b<<2)|0;f=v[e>>2];if(!(c>>>0>=h>>>0&f>>>0<=c-h>>>0)){d=v[a+628>>2];e=v[a>>2];v[g+44>>2]=h;v[g+40>>2]=c-f;v[g+36>>2]=b;v[g+32>>2]=e;zc(d,77124,17702,g+32|0);v[a+480>>2]=-1;c=0;break a}v[a+600>>2]=h;v[a+596>>2]=v[a+612>>2]+v[e>>2];break b}if(h>>>0>y[a+600>>2]){v[a+480>>2]=-1;if(!(d&512)){d=v[a+628>>2];a=v[a>>2];v[g+20>>2]=b;v[g+16>>2]=a;zc(d,77124,20135,g+16|0);c=0;break a}c=0;if(!VN(a,h>>>0<4294966272?h+1023&-1024:0)){break a}}e=v[a+596>>2];d=h;c=Qb+-64|0;Qb=c;d:{f=v[a+12>>2];if(!(f&131072)){e:{if(!(f&2048)){f=b<<2;if((Ub[v[a+640>>2]](v[a+628>>2],v[f+v[a+184>>2]>>2],0)|0)!=v[f+v[a+184>>2]>>2]){d=v[a+628>>2];e=v[a>>2];f=v[a+472>>2];v[c+24>>2]=b;v[c+20>>2]=f;v[c+16>>2]=e;zc(d,77124,41732,c+16|0);d=-1;break e}e=Ub[v[a+632>>2]](v[a+628>>2],e,d)|0;if((e|0)==(d|0)){break e}f=v[a+628>>2];i=v[a>>2];j=v[a+472>>2];v[c+12>>2]=d;v[c+8>>2]=e;v[c+4>>2]=j;v[c>>2]=i;zc(f,77124,42663,c);d=-1;break e}i=v[a+616>>2];f=v[v[a+184>>2]+(b<<2)>>2];if(i>>>0>>0){e=v[a+628>>2];j=v[a>>2];k=v[a+472>>2];v[c+48>>2]=d;v[c+44>>2]=i-f;v[c+40>>2]=b;v[c+36>>2]=k;v[c+32>>2]=j;zc(e,77124,43498,c+32|0);d=-1;break e}oe(e,f+v[a+612>>2]|0,d)}Qb=c- -64|0;break d}X(30408,31925,176,77248);L()}c=0;if((d|0)!=(h|0)){break a}d=v[a+12>>2];if(d&(x[a+94>>1]|256)){break b}tC(v[a+596>>2],h);d=v[a+12>>2]}if(!(d&32)){c=0;if(!(Ub[v[a+516>>2]](a)|0)){break a}d=v[a+12>>2]|32;v[a+12>>2]=d}v[a+480>>2]=b;c=v[a+176>>2];h=(b>>>0)/(c>>>0)|0;v[a+472>>2]=B(v[a+100>>2],b-B(c,h)|0);c=0;e=0;if(!(d&131072)){e=v[v[a+188>>2]+(b<<2)>>2];c=v[a+596>>2]}v[a+608>>2]=e;v[a+604>>2]=c;c=Ub[v[a+520>>2]](a,h&65535)|0}Qb=g+48|0;return c}function LZa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=Qb-16|0;Qb=o;a:{b:{if(!v[c+88>>2]){v[c+100>>2]=v[d+100>>2];v[c+104>>2]=v[d+104>>2];e=v[d+80>>2];v[c+80>>2]=e;f=v[d+76>>2];t[c+94|0]=7;v[c+76>>2]=f;u[c+92>>1]=256;e=e<<2;v[c+84>>2]=e;e=B(e,f);f=fA(c,e);v[o+12>>2]=f;if(f){break a}ic(v[c+88>>2],0,e);break b}i=v[d+104>>2];j=i-v[d+76>>2]|0;k=v[c+104>>2];m=k-v[c+76>>2]|0;l=v[d+100>>2];g=l+v[d+80>>2]|0;f=v[c+100>>2];e=f+v[c+80>>2]|0;if(!((e|0)<(g|0)|(f|0)>(l|0)|(i|0)>(k|0))){if((j|0)>=(m|0)){break b}}i=(i|0)<(k|0)?k:i;m=i-((j|0)>(m|0)?m:j)|0;k=(f|0)<(l|0)?f:l;g=((e|0)>(g|0)?e:g)-k|0;j=g<<2;l=Fd(v[a+100>>2],B(m,j),o+12|0);f=v[o+12>>2];if(f){break a}if(v[c+76>>2]){e=(l+B(j,i-v[c+104>>2]|0)|0)+(v[c+100>>2]-k<<2)|0;f=v[c+88>>2];while(1){e=gc(e,f,v[c+80>>2]<<2)+j|0;f=v[c+84>>2]+f|0;h=h+1|0;if(h>>>0>2]){continue}break}}ZH(c,l);v[c+100>>2]=k;v[c+104>>2]=i;v[c+80>>2]=g;v[c+84>>2]=j;v[c+76>>2]=m;e=v[c+156>>2];v[e+4>>2]=v[e+4>>2]|1;v[c+72>>2]=1651078259}c:{if((b|0)==65535){if(w[a+676|0]){e=w[a+680|0];h=w[a+679|0];n=w[a+678|0];g=w[a+677|0];break c}b=v[a+656>>2];if(b){e=255;h=255;n=255;g=255;if(w[b+(x[a+668>>1]<<1)|0]&2){break c}}h=0;e=255;n=0;g=0;break c}a=v[a+672>>2]+(b<<2)|0;e=w[a+3|0];h=w[a+2|0];n=w[a+1|0];g=w[a|0]}f=0;i=v[d+76>>2];if(!i|!v[d+80>>2]){break a}l=h&255;m=n&255;g=g&255;b=e&255;a=v[c+84>>2];n=(v[c+88>>2]+B(a,v[c+104>>2]-v[d+104>>2]|0)|0)+(v[d+100>>2]-v[c+100>>2]<<2)|0;j=v[d+88>>2];k=0;e=1;while(1){h=0;f=0;if(e){while(1){f=(h<<2)+n|0;e=(B(b,w[j+h|0])>>>0)/255|0;a=255-e|0;t[f+1|0]=(((B(a,w[f+1|0])&65535)>>>0)/255|0)+(((B(e,m)&65535)>>>0)/255|0);t[f|0]=(((B(a,w[f|0])&65535)>>>0)/255|0)+(((B(e,g)&65535)>>>0)/255|0);t[f+2|0]=(((B(a,w[f+2|0])&65535)>>>0)/255|0)+(((B(e,l)&65535)>>>0)/255|0);t[f+3|0]=e+(((B(a,w[f+3|0])&65535)>>>0)/255|0);f=v[d+80>>2];h=h+1|0;if(f>>>0>h>>>0){continue}break}i=v[d+76>>2];a=v[c+84>>2]}n=a+n|0;j=v[d+84>>2]+j|0;e=f;k=k+1|0;if(k>>>0>>0){continue}break}f=0}Qb=o+16|0;return f|0}function j0a(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,p=0,q=0,r=0,s=0,u=0,x=0;e=Qb-16|0;Qb=e;a:{if(v[a+4>>2]){break a}d=6;b:{if(v[a+12>>2]!=1){break b}f=(b|0)!=0;b=(B(f,36)+a|0)+16|0;d=v[c>>2];g=(((d>>31)+d|0)+32768&-65536)>>16;d=v[c+4>>2];k=v[a>>2];d=uv(b,g,(((d>>31)+d|0)+32768&-65536)>>16,k,e);if(d){break b}d=v[c+8>>2];g=(((d>>31)+d|0)+32768&-65536)>>16;d=v[c+12>>2];d=uv(b,g,(((d>>31)+d|0)+32768&-65536)>>16,k,e+4|0);if(d){break b}d=b;b=v[c+16>>2];g=(((b>>31)+b|0)+32768&-65536)>>16;b=v[c+20>>2];d=uv(d,g,(((b>>31)+b|0)+32768&-65536)>>16,k,e+8|0);if(d){break b}h=v[e+8>>2];n=128>>>(h&7)|0;i=v[e+4>>2];o=128>>>(i&7)|0;j=v[e>>2];p=128>>>(j&7)|0;g=B(f,36)+a|0;q=g;f=v[g+48>>2];l=v[g+40>>2];c:{if(l){m=h>>3;r=i>>3;s=j>>3;d=l;c=f;while(1){b=v[c>>2];if((w[v[c+8>>2]+s|0]&p?j>>>0>>0:0)|(w[v[c+8>>2]+r|0]&o?b>>>0>i>>>0:0)|(w[m+v[c+8>>2]|0]&n?b>>>0>h>>>0:0)){break c}c=c+16|0;d=d-1|0;if(d){continue}break}}m=l+1|0;b=v[g+44>>2];if(m>>>0>b>>>0){v[e+12>>2]=0;c=b;b=l+8&-8;f=Cc(k,16,c,b,f,e+12|0);v[q+48>>2]=f;d=v[e+12>>2];if(d){break b}v[g+44>>2]=b}b=0;c=(l<<4)+f|0;v[c+12>>2]=0;v[c>>2]=0;v[g+40>>2]=m}if((j|0)>=0){if(b>>>0<=j>>>0){b=v[c+4>>2];v[e+12>>2]=0;d=j+8>>>3|0;b=b+7>>>3|0;if(d>>>0>b>>>0){f=b;b=d+7&1073741816;u=c,x=Cc(k,1,f,b,v[c+8>>2],e+12|0),v[u+8>>2]=x;d=v[e+12>>2];if(d){break b}v[c+4>>2]=b<<3}v[c>>2]=j+1}b=v[c+8>>2]+(j>>>3|0)|0;t[b|0]=w[b|0]|p}d:{if((i|0)>=0){if(y[c>>2]<=i>>>0){b=v[c+4>>2];v[e+12>>2]=0;d=i+8>>>3|0;b=b+7>>>3|0;if(d>>>0>b>>>0){f=b;b=d+7&1073741816;u=c,x=Cc(k,1,f,b,v[c+8>>2],e+12|0),v[u+8>>2]=x;d=v[e+12>>2];if(d){break b}v[c+4>>2]=b<<3}v[c>>2]=i+1}b=v[c+8>>2]+(i>>>3|0)|0;t[b|0]=w[b|0]|o;if((h|0)>-1){break d}break a}if((h|0)<0){break a}}if(y[c>>2]<=h>>>0){b=v[c+4>>2];v[e+12>>2]=0;d=h+8>>>3|0;b=b+7>>>3|0;if(d>>>0>b>>>0){f=b;b=d+7&1073741816;u=c,x=Cc(k,1,f,b,v[c+8>>2],e+12|0),v[u+8>>2]=x;d=v[e+12>>2];if(d){break b}v[c+4>>2]=b<<3}v[c>>2]=h+1}a=v[c+8>>2]+(h>>>3|0)|0;t[a|0]=w[a|0]|n;break a}v[a+4>>2]=d}Qb=e+16|0}function MCa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{if(!a|!b){break a}b:{c=w[a+407|0];if(c>>>0>7){break b}v[a+744>>2]=17;d=b+32|0;e=8-c|0;yf(a,d+c|0,e);t[a+407|0]=8;c:{if(mS(d,c,e)){if(c>>>0<=3){if(mS(d,c,4-c|0)){break c}}hd(a,9650);L()}if(c>>>0>2){break b}v[a+200>>2]=v[a+200>>2]|4096;break b}hd(a,5764);L()}d:{e:{while(1){f:{d=Rx(a);g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{c=v[a+348>>2];if((c|0)!=1229278788){if((c|0)!=1229472850){if((c|0)!=1229209940){break r}c=v[a+200>>2];if(c&8){v[a+200>>2]=c|8192}e=_t(a,1229209940);c=v[a+200>>2];if(!e){break q}v[a+200>>2]=c|4;Rt(a,b,d);b=v[a+200>>2];if(!(b&1)){break f}if(b&2|w[a+401|0]!=3){break a}hd(a,21212);L()}_Q(a,b,d);continue}XQ(a,d);continue}if(_t(a,c)){Rt(a,b,d);if((c|0)!=1347179589){continue}v[a+200>>2]=v[a+200>>2]|2;continue}s:{if((c|0)<=1883789682){if((c|0)<=1749635923){if((c|0)<=1665684044){if((c|0)==1347179589){break s}if((c|0)!=1649100612){break g}JQ(a,b,d);continue}if((c|0)==1665684045){break p}if((c|0)!=1732332865){break g}VQ(a,b,d);continue}if((c|0)<=1767135347){if((c|0)==1749635924){break o}if((c|0)!=1766015824){break g}PQ(a,b,d);continue}if((c|0)==1767135348){break h}if((c|0)==1866876531){break n}if((c|0)!=1883455820){break g}CQ(a,b,d);continue}if((c|0)<=1934772033){if((c|0)<=1933787467){if((c|0)==1883789683){break l}if((c|0)!=1933723988){break g}UQ(a,b,d);continue}if((c|0)==1933787468){break m}if((c|0)!=1934642260){break g}MQ(a,b,d);continue}if((c|0)<=1950960964){if((c|0)==1934772034){break k}if((c|0)!=1950701684){break g}xQ(a,b,d);continue}if((c|0)==1950960965){break j}if((c|0)==1951551059){break i}if((c|0)!=2052348020){break g}wQ(a,b,d);continue}ZQ(a,b,d);continue}if(!(c&1)){break e}if(c&2?0:w[a+401|0]==3){break d}v[a+380>>2]=d;v[a+200>>2]=c|4;break a}TQ(a,b,d);continue}IQ(a,b,d);continue}EQ(a,b,d);continue}BQ(a,b,d);continue}HQ(a,b,d);continue}SQ(a,b,d);continue}AQ(a,b,d);continue}LQ(a,b,d);continue}uQ(a,b,d);continue}Rt(a,b,d);continue}break}hd(a,18903);L()}hd(a,18903);L()}hd(a,21212);L()}}function Qya(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;j=Qb-32|0;Qb=j;v[a+64>>2]=1;v[a+48>>2]=13;v[a+32>>2]=13;v[a+16>>2]=13;v[a>>2]=b;b=v[b+24>>2];v[a+12>>2]=e;v[a+8>>2]=c;v[a+4>>2]=b;i=A[e>>3];h=i;f=A[e+32>>3];a:{if(!(h>f)){h=A[e+16>>3];if(!(f>h)){break a}}A[e+32>>3]=h}h=i;f=A[e+48>>3];b:{if(!(h>f)){h=A[e+16>>3];if(!(f>h)){break b}}A[e+48>>3]=h}h=A[e+8>>3];f=h;g=A[e+40>>3];c:{if(!(f>g)){f=A[e+24>>3];if(!(g>f)){break c}}A[e+40>>3]=f}f=h;g=A[e+56>>3];d:{if(!(f>g)){f=A[e+24>>3];if(!(g>f)){break d}}A[e+56>>3]=f}f=i;g=A[e+72>>3];e:{if(!(f>g)){f=A[e+16>>3];if(!(g>f)){break e}}A[e+72>>3]=f}f=i;g=A[e+88>>3];f:{if(!(f>g)){f=A[e+16>>3];if(!(g>f)){break f}}A[e+88>>3]=f}f=h;g=A[e+80>>3];g:{if(!(f>g)){f=A[e+24>>3];if(!(g>f)){break g}}A[e+80>>3]=f}f=h;g=A[e+96>>3];h:{if(!(f>g)){f=A[e+24>>3];if(!(g>f)){break h}}A[e+96>>3]=f}f=i;g=A[e+104>>3];i:{if(!(f>g)){f=A[e+16>>3];if(!(g>f)){break i}}A[e+104>>3]=f}f=i;g=A[e+120>>3];j:{if(!(f>g)){f=A[e+16>>3];if(!(g>f)){break j}}A[e+120>>3]=f}f=h;g=A[e+112>>3];k:{if(!(f>g)){f=A[e+24>>3];if(!(g>f)){break k}}A[e+112>>3]=f}f=h;g=A[e+128>>3];l:{if(!(f>g)){f=A[e+24>>3];if(!(g>f)){break l}}A[e+128>>3]=f}f=i;g=A[e+136>>3];m:{if(!(f>g)){f=A[e+16>>3];if(!(g>f)){break m}}A[e+136>>3]=f}f=A[e+152>>3];n:{if(!(f>3];if(!(f>i)){break n}}A[e+152>>3]=i}i=h;f=A[e+144>>3];o:{if(!(f>3];if(!(f>i)){break o}}A[e+144>>3]=i}f=A[e+160>>3];p:{if(!(f>3];if(!(f>h)){break p}}A[e+160>>3]=h}c=a+16|0;Ce(d,234460,c);q:{r:{b=v[a+16>>2];s:{if(!(1<>>0<=9:0)){b=v[a+8>>2];v[j+4>>2]=v[(v[c>>2]<<2)+1121632>>2];v[j>>2]=b;kc(1,-1,335873,j);hc(c);v[a+16>>2]=5;break s}c=a+32|0;Ce(d,234499,c);b=v[c>>2];if(1<>>0<=9:0){break r}b=v[a+8>>2];v[j+20>>2]=v[(v[c>>2]<<2)+1121632>>2];v[j+16>>2]=b;kc(1,-1,335817,j+16|0);hc(c)}v[a+64>>2]=0;v[a+48>>2]=5;v[a+32>>2]=5;break q}b=a+48|0;Ce(d,301749,b);t:{switch(v[b>>2]-5|0){case 0:case 4:break q;default:break t}}hc(b);v[b>>2]=5}Qb=j+32|0;return a|0}function rna(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=Qb-32|0;Qb=d;a:{if(!w[a+144|0]){a=vc(d+8|0,231625,242011,164,226800,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}b=P()|0;O()|0;qc(a);T(b|0);L()}v[299999]=0;f=a+148|0;sg(f,0,0,256,0);c=v[299999];v[299999]=0;b:{c:{d:{e:{f:{g:{h:{if((c|0)==1){break h}c=v[a+120>>2];if(c){while(1){e=v[c+8>>2];v[299999]=0;V(4709,e|0,0);e=v[299999];v[299999]=0;if((e|0)==1){break d}c=v[c>>2];if(c){continue}break}}i:{if(!b){break i}v[d+8>>2]=0;c=v[a+120>>2];j:{if(!c){break j}while(1){b=v[c+8>>2];v[299999]=0;b=v[b+148>>2];e=v[299999];v[299999]=0;if((e|0)==1){break e}k:{if(b&1){v[299999]=0;Q(4344,d+8|0,c+8|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break k}break e}c=v[c>>2];if(c){continue}}b=v[d+8>>2];if(!b){break j}v[299999]=0;V(4709,b|0,1);b=v[299999];v[299999]=0;if((b|0)==1){break e}b=v[d+8>>2];v[d+8>>2]=0;l:{if(!b){break l}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;e=v[299999];v[299999]=0;if((e|0)==1){break f}if(c){break l}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break f}}v[d+8>>2]=0;c=v[a+120>>2];if(c){continue}break}}if(!w[a+144|0]){v[299999]=0;a=aa(4369,d+8|0,231625,242011,164,226800,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break h}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}c=W(0)|0;O()|0;qc(a);break b}v[299999]=0;a=v[f>>2];b=v[299999];v[299999]=0;if((b|0)==1){break h}if(!(a&1)){break i}while(1){v[299999]=0;a=v[f>>2];b=v[299999];v[299999]=0;if((b|0)==1){break c}if(a&1){continue}break}}v[299999]=0;sg(f,0,0,0,256);a=v[299999];v[299999]=0;if((a|0)!=1){break g}}c=W(0)|0;O()|0;break b}Qb=d+32|0;return}W(0)|0;O()|0;lc();break a}c=W(0)|0;O()|0;ec(d+8|0);break b}c=W(0)|0;O()|0;break b}c=W(0)|0;O()|0}ea(c|0)|0;v[299999]=0;sg(f,0,0,0,256);a=v[299999];v[299999]=0;if((a|0)!=1){v[299999]=0;ba(4483);a=v[299999];v[299999]=0;if((a|0)!=1){break a}}a=P()|0;O()|0;v[299999]=0;ba(4230);b=v[299999];v[299999]=0;if((b|0)!=1){T(a|0);L()}W(0)|0;O()|0;lc();L()}L()}function AX(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;z[a+8>>2]=z[a>>2]+c;z[a+12>>2]=z[a+4>>2]+d;f=v[a+80>>2];if(f){h=f-4|0;e=v[h>>2];if(e){e=f+B(e,96)|0;while(1){g=e;e=e-96|0;a:{if(!v[g-4>>2]){break a}g=g-8|0;i=v[g>>2];if(!i){break a}dc(i);v[g>>2]=0}if((e|0)!=(f|0)){continue}break}}dc(h)}i=t[b+11|0];l=v[b>>2];v[a+88>>2]=0;e=w[b+11|0];f=e<<24>>24<0?v[b+4>>2]:e;v[a+84>>2]=f;if((f|0)>=1){e=fc((m=-1,n=Bib(f,0,96,0)|4,o=Tb,o?m:n));v[e>>2]=f;g=e+4|0;e=g;j=B(f,96);k=j-96|0;h=((k>>>0)/96|0)+1&7;if(h){e=g;while(1){v[e+68>>2]=0;v[e+72>>2]=0;v[e+84>>2]=0;v[e+88>>2]=0;v[e+76>>2]=0;v[e+80>>2]=0;v[e+92>>2]=1;e=e+96|0;h=h-1|0;if(h){continue}break}}if(k>>>0>=672){h=g+j|0;while(1){v[e+68>>2]=0;v[e+72>>2]=0;v[e+84>>2]=0;v[e+88>>2]=0;v[e+76>>2]=0;v[e+80>>2]=0;v[e+164>>2]=0;v[e+168>>2]=0;v[e+92>>2]=1;v[e+172>>2]=0;v[e+176>>2]=0;v[e+180>>2]=0;v[e+184>>2]=0;v[e+260>>2]=0;v[e+264>>2]=0;v[e+188>>2]=1;v[e+268>>2]=0;v[e+272>>2]=0;v[e+276>>2]=0;v[e+280>>2]=0;v[e+356>>2]=0;v[e+360>>2]=0;v[e+284>>2]=1;v[e+364>>2]=0;v[e+368>>2]=0;v[e+372>>2]=0;v[e+376>>2]=0;v[e+380>>2]=1;v[e+452>>2]=0;v[e+456>>2]=0;v[e+460>>2]=0;v[e+464>>2]=0;v[e+468>>2]=0;v[e+472>>2]=0;v[e+548>>2]=0;v[e+552>>2]=0;v[e+476>>2]=1;v[e+556>>2]=0;v[e+560>>2]=0;v[e+564>>2]=0;v[e+568>>2]=0;v[e+644>>2]=0;v[e+648>>2]=0;v[e+572>>2]=1;v[e+652>>2]=0;v[e+656>>2]=0;v[e+660>>2]=0;v[e+664>>2]=0;v[e+740>>2]=0;v[e+744>>2]=0;v[e+668>>2]=1;v[e+748>>2]=0;v[e+752>>2]=0;v[e+756>>2]=0;v[e+760>>2]=0;v[e+764>>2]=1;e=e+768|0;if((h|0)!=(e|0)){continue}break}}b=(i|0)<0?l:b;v[a+80>>2]=g;h=f&3;e=0;if(f-1>>>0>=3){a=f&-4;while(1){f=v[b+(e<<2)>>2];i=g+B(e,96)|0;t[i+64|0]=0;v[i>>2]=f;f=e|1;i=v[b+(f<<2)>>2];f=g+B(f,96)|0;t[f+64|0]=0;v[f>>2]=i;f=e|2;i=v[b+(f<<2)>>2];f=g+B(f,96)|0;t[f+64|0]=0;v[f>>2]=i;f=e|3;i=v[b+(f<<2)>>2];f=g+B(f,96)|0;t[f+64|0]=0;v[f>>2]=i;e=e+4|0;a=a-4|0;if(a){continue}break}}if(h){while(1){a=v[b+(e<<2)>>2];f=g+B(e,96)|0;t[f+64|0]=0;v[f>>2]=a;e=e+1|0;h=h-1|0;if(h){continue}break}}return}v[a+80>>2]=0}function mT(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=Qb-832|0;Qb=e;f=fc(12);v[299999]=0;v[f+8>>2]=-1;v[f+4>>2]=d;v[f>>2]=c;c=v[299999];v[299999]=0;if((c|0)!=1){Ge(f,e+576|0,e+60|0);if(Ge(f,e+320|0,e+56|0)){i=e+320|1;d=e+576|1;while(1){a:{if(v[e+320>>2]==1667593077&v[e+324>>2]==7364973){if(w[e+576|0]==47){g=fc(8);v[299999]=0;h=Q(3063,g|0,d|0)|0;c=v[299999];v[299999]=0;b:{c:{if((c|0)!=1){if(!b){break c}c=kT(b,v[a>>2],h);break b}a=P()|0;O()|0;dc(g);T(a|0);L()}c=wS(v[294330],v[a>>2],h)}Dc(h);dc(g);if(c){v[a+8>>2]=v[c+8>>2];g=v[c+16>>2];if(g){_E(a,v[a+16>>2],g)}fo(c)}}Ge(f,e+576|0,e+60|0);break a}if(!Pc(e+576|0,284452,7)){j=a,k=he(e+320|0),v[j+12>>2]=k;Ge(f,e+576|0,e+60|0);break a}if(!Pc(e+320|0,240329,13)){d:{if(!Ge(f,e+576|0,e+60|0)){break d}while(1){if(!Pc(e+576|0,240342,11)){break d}e:{if(Ge(f,e+320|0,e+56|0)){if(Pc(e+320|0,240342,11)){break e}}kc(1,-1,242709,0);break d}f:{g:{if(w[e+576|0]!=60){break g}c=v[e+60>>2];g=c+e|0;if(w[g+575|0]!=62|(c|0)<4|c&1){break g}t[g+575|0]=0;v[e>>2]=e+40;if((ef(d,221178,e)|0)!=1){break g}c=(v[e+60>>2]-2|0)/2|0;v[e+60>>2]=c;g=v[e+40>>2];lT(a,g,g,c,he(e+320|0));break f}kc(1,-1,242709,0)}if(Ge(f,e+576|0,e+60|0)){continue}break}}Ge(f,e+576|0,e+60|0);break a}if(!Pc(e+320|0,283225,14)){h:{if(!Ge(f,e+576|0,e+60|0)){break h}while(1){if(!Pc(e+576|0,283239,12)){break h}i:{j:{if(!Ge(f,e+320|0,e+56|0)){break j}if(!Pc(e+320|0,283239,12)){break j}if(!Ge(f,e- -64|0,e+52|0)){break j}if(Pc(e- -64|0,283239,12)){break i}}kc(1,-1,242748,0);break h}k:{if(w[e+576|0]!=60|w[e+320|0]!=60){break k}c=v[e+60>>2];if(c&1|(c|0)<4|(c|0)!=v[e+56>>2]){break k}c=c-1|0;t[c+(e+576|0)|0]=0;t[c+(e+320|0)|0]=0;v[e+32>>2]=e+48;ef(d,221178,e+32|0);v[e+16>>2]=e+44;ef(i,221178,e+16|0);c=(v[e+60>>2]-2|0)/2|0;v[e+60>>2]=c;lT(a,v[e+48>>2],v[e+44>>2],c,he(e- -64|0))}if(Ge(f,e+576|0,e+60|0)){continue}break}}Ge(f,e+576|0,e+60|0);break a}ce(e+576|0,e+320|0)}if(Ge(f,e+320|0,e+56|0)){continue}break}}dc(f);Qb=e+832|0;return}a=P()|0;O()|0;dc(f);T(a|0);L()}function TXa(a,b){a=a|0;b=b|0;var 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;f=Qb-16|0;Qb=f;i=v[b+16>>2];n=v[a+492>>2];Ub[v[b+28>>2]](b);h=v[b>>2];a:{if(!(h>>>0>=y[b+8>>2]|w[h|0]!=91)){Ub[v[b+32>>2]](b);Ub[v[b+28>>2]](b);a=v[b>>2];if(a>>>0>2]&w[a|0]==93){break a}v[b+12>>2]=3;break a}h=Ub[v[b+36>>2]](b)|0;if((h|0)<=-1){v[b+12>>2]=3;break a}b:{d=v[b+8>>2];c=v[b>>2];c:{if(d>>>0>>0){break c}d=d-c>>3;if((d|0)>=(h|0)){break c}if(v[b+368>>2]){h=d;break c}e=Fd(i,24,f+12|0);v[b+368>>2]=e;c=v[f+12>>2];if(c){break b}h=f;v[e+16>>2]=1675;v[e+12>>2]=1676;v[e+8>>2]=0;v[e>>2]=80;v[e+4>>2]=241;c=Ub[v[i+4>>2]](i,964)|0;d:{if(!c){v[e+20>>2]=c;c=64;break d}o=e,p=ic(c,0,964),v[o+20>>2]=p;c=0}v[h+12>>2]=c;h=d;if(c){break b}}Ub[v[b+32>>2]](b);if(v[b+12>>2]){break a}j=b+316|0;Ub[v[b+28>>2]](b);if(!v[b+312>>2]){c=Ub[v[v[n>>2]>>2]](j,h,i)|0;v[f+12>>2]=c;if(c){break b}}d=v[b>>2];e:{if(y[b+8>>2]<=d+4>>>0){break e}e=0;while(1){if(Oc(d,240716,3)){break e}Ub[v[b+32>>2]](b);d=Ub[v[b+36>>2]](b)|0;k=v[v[a+128>>2]+52>>2];c=v[b+8>>2];Ub[v[b+28>>2]](b);f:{g=v[b>>2];g:{if(g>>>0>=c>>>0|w[g|0]-48>>>0>9){break g}g=Ub[v[b+36>>2]](b)|0;Ub[v[b+32>>2]](b);if((g|0)<0){break g}l=c;c=v[b>>2];m=c+1|0;if((g|0)<(l-m|0)){break f}}if(k){break a}v[b+12>>2]=3;break a}v[b>>2]=(c+g|0)+1;if(v[b+12>>2]){break a}Ub[v[b+32>>2]](b);if(v[b+12>>2]){break a}Ub[v[b+28>>2]](b);c=v[b>>2];h:{if(y[b+8>>2]<=c+4>>>0){break h}if(Oc(c,225441,3)){break h}Ub[v[b+32>>2]](b);Ub[v[b+28>>2]](b)}c=v[b+368>>2];if(c){gA(d,e,c,i);d=e}if(!v[b+312>>2]){c=v[a+172>>2];i:{if((c|0)>=0){if(c>>>0>g>>>0){c=3;v[f+12>>2]=3;break b}k=Fd(i,g,f+12|0);c=v[f+12>>2];if(c){break b}c=gc(k,m,g);Ub[v[n+16>>2]](c,g,4330);l=d;d=v[a+172>>2];o=f,p=Ub[v[b+360>>2]](j,l,d+c|0,g-d|0)|0,v[o+12>>2]=p;if(c){Ub[v[i+8>>2]](i,c)}c=v[f+12>>2];break i}c=Ub[v[b+360>>2]](j,d,m,g)|0;v[f+12>>2]=c}if(c){break b}}e=e+1|0;d=v[b>>2];if(y[b+8>>2]>d+4>>>0){continue}break}}if(v[b+312>>2]){break a}v[b+312>>2]=h;break a}v[b+12>>2]=c}Qb=f+16|0}function lpa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=Qb-32|0;Qb=c;d=v[b>>2];if(d){v[d+4>>2]=v[d+4>>2]+1;f=v[b>>2]}v[299999]=0;v[c+16>>2]=f;V(4550,c+24|0,c+16|0);b=v[299999];v[299999]=0;a:{b:{c:{d:{if((b|0)!=1){b=v[c+16>>2];v[c+16>>2]=0;e:{if(!b){break e}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(d){break e}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}v[299999]=0;g=a+12|0;R(4474,g|0);a=v[299999];v[299999]=0;if((a|0)==1){break c}v[299999]=0;f=S(4631,v[c+24>>2])|0;a=v[299999];v[299999]=0;if((a|0)==1){break d}f:{if(!f){break f}a=0;if((f|0)<=0){break f}while(1){v[299999]=0;b=S(1,28)|0;d=v[299999];v[299999]=0;g:{h:{i:{if((d|0)==1){break i}v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=982944;v[b+4>>2]=0;d=v[282402];v[b+20>>2]=0;v[b+24>>2]=d;v[b+16>>2]=d;v[299999]=0;v[c+8>>2]=0;Q(4336,c+8|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break i}v[299999]=0;V(4632,v[c+8>>2],c+24|0);b=v[299999];v[299999]=0;if((b|0)==1){break h}v[299999]=0;b=S(1,12)|0;d=v[299999];v[299999]=0;if((d|0)==1){break h}v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;d=b;e=v[c+8>>2];if(e){v[299999]=0;v[e+4>>2]=v[e+4>>2]+1;e=v[299999];v[299999]=0;if((e|0)==1){break h}e=v[c+8>>2]}else{e=0}v[d+8>>2]=e;v[299999]=0;Le(g,b);b=v[299999];v[299999]=0;if((b|0)==1){break h}b=v[c+8>>2];v[c+8>>2]=0;if(!b){break g}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)!=1){if(d){break g}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break g}}break a}b=P()|0;O()|0;a=c+24|0;break b}b=P()|0;O()|0;ec(c+8|0);a=c+24|0;break b}a=a+1|0;if((f|0)!=(a|0)){continue}break}}a=v[c+24>>2];v[c+24>>2]=0;j:{if(!a){break j}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(b){break j}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Qb=c+32|0;return}b=P()|0;O()|0;a=c+16|0;break b}b=P()|0;O()|0;a=c+24|0;break b}b=P()|0;O()|0;a=c+24|0}ec(a);T(b|0);L()}W(0)|0;O()|0;lc();L()}function g3a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;g=v[a+16>>2];if(y[a+20>>2]>=g+12>>>0){h=v[a+32>>2];e=h;a:{b:{b=v[g>>2];c=w[b|0];if((c|0)!=255){if((c|0)!=30){break b}d=sh(a,b,0,0)>>16;break a}d=((w[b+3|0]|(w[b+2|0]<<8|w[b+1|0]<<16))<<8)+32768>>16;break a}f=b+1|0;c:{switch(c-28|0){case 0:d=0;if(y[a+8>>2]<=b+2>>>0){break a}d=(w[b+2|0]|w[f|0]<<8)<<16>>16;break a;case 1:d=0;if(y[a+8>>2]<=b+4>>>0){break a}b=w[b+1|0]|w[b+2|0]<<8|(w[b+3|0]<<16|w[b+4|0]<<24);d=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break a;default:break c}}d=c-139|0;if(c>>>0<=246){break a}b=v[a+8>>2];if(c>>>0<=250){d=0;if(b>>>0<=f>>>0){break a}d=(w[f|0]|c<<8)-63124|0;break a}d=0;if(b>>>0<=f>>>0){break a}d=64148-(w[f|0]|c<<8)|0}v[e+132>>2]=d;e=h;d:{e:{c=v[g+4>>2];f=w[c|0];if((f|0)!=255){if((f|0)!=30){break e}d=sh(a,c,0,0)>>16;break d}d=((w[c+3|0]|(w[c+2|0]<<8|w[c+1|0]<<16))<<8)+32768>>16;break d}b=c+1|0;f:{switch(f-28|0){case 0:d=0;if(y[a+8>>2]<=c+2>>>0){break d}d=(w[c+2|0]|w[b|0]<<8)<<16>>16;break d;case 1:d=0;if(y[a+8>>2]<=c+4>>>0){break d}c=w[c+1|0]|w[c+2|0]<<8|(w[c+3|0]<<16|w[c+4|0]<<24);d=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);break d;default:break f}}d=f-139|0;if(f>>>0<=246){break d}c=v[a+8>>2];if(f>>>0<=250){d=0;if(b>>>0>=c>>>0){break d}d=(w[b|0]|f<<8)-63124|0;break d}d=0;if(b>>>0>=c>>>0){break d}d=64148-(w[b|0]|f<<8)|0}v[e+136>>2]=d;g:{h:{b=v[g+8>>2];c=w[b|0];if((c|0)!=255){if((c|0)!=30){break h}e=sh(a,b,0,0)>>16;break g}e=((w[b+3|0]|(w[b+2|0]<<8|w[b+1|0]<<16))<<8)+32768>>16;break g}f=b+1|0;i:{switch(c-28|0){case 0:e=0;if(y[a+8>>2]<=b+2>>>0){break g}e=(w[b+2|0]|w[f|0]<<8)<<16>>16;break g;case 1:e=0;if(y[a+8>>2]<=b+4>>>0){break g}a=w[b+1|0]|w[b+2|0]<<8|(w[b+3|0]<<16|w[b+4|0]<<24);e=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break g;default:break i}}e=c-139|0;if(c>>>0<=246){break g}a=v[a+8>>2];if(c>>>0<=250){e=0;if(a>>>0<=f>>>0){break g}e=(w[f|0]|c<<8)-63124|0;break g}e=0;if(a>>>0<=f>>>0){break g}e=64148-(w[f|0]|c<<8)|0}v[h+140>>2]=e;a=0}else{a=161}return a|0}function nV(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;h=Qb+-64|0;Qb=h;a:{if(a){f=v[a+12>>2];b:{if(f){while(1){if(v[f+4>>2]==14){break b}f=v[f+24>>2];if(f){continue}break}}f=v[a+44>>2]}if(f){break a}}e=Ub[v[259704]](64)|0;if(!e){v[h>>2]=233262;oc(0,0,0,0,0,2,2,3,233262,0,0,0,350051,h);break a}v[e>>2]=0;v[e+4>>2]=0;v[e+56>>2]=0;v[e+60>>2]=0;v[e+48>>2]=0;v[e+52>>2]=0;v[e+40>>2]=0;v[e+44>>2]=0;v[e+32>>2]=0;v[e+36>>2]=0;v[e+24>>2]=0;v[e+28>>2]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;v[e+4>>2]=14;if(b){g=b;while(1){f=g;g=f+1|0;if(w[f|0]){continue}break}g=0;c:{i=f-b|0;if((i|0)>=0){f=Ub[v[259707]](i+1|0)|0;if(f){break c}oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0)}v[e+8>>2]=0;v[h+48>>2]=233262;oc(0,0,0,0,0,2,2,3,233262,0,0,0,350051,h+48|0);Ub[v[259708]](e);break a}b=gc(f,b,i);t[b+i|0]=0;v[e+8>>2]=b}if(c){f=c;while(1){b=f;f=b+1|0;if(w[b|0]){continue}break}d:{g=b-c|0;if((g|0)>=0){b=Ub[v[259707]](g+1|0)|0;if(b){break d}oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0)}v[e+52>>2]=0;v[h+32>>2]=233262;oc(0,0,0,0,0,2,2,3,233262,0,0,0,350051,h+32|0);a=v[e+8>>2];if(a){Ub[v[259708]](a)}g=0;Ub[v[259708]](e);break a}b=gc(b,c,g);t[b+g|0]=0;v[e+52>>2]=b}if(d){f=d;while(1){b=f;f=b+1|0;if(w[b|0]){continue}break}e:{c=b-d|0;if((c|0)>=0){b=Ub[v[259707]](c+1|0)|0;if(b){break e}oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0)}v[e+56>>2]=0;v[h+16>>2]=233262;oc(0,0,0,0,0,2,2,3,233262,0,0,0,350051,h+16|0);a=v[e+8>>2];if(a){Ub[v[259708]](a)}a=v[e+52>>2];if(a){Ub[v[259708]](a)}g=0;Ub[v[259708]](e);break a}b=gc(b,d,c);t[b+c|0]=0;v[e+56>>2]=b}if(a){v[a+44>>2]=e;v[e+32>>2]=a;v[e+20>>2]=a;f=v[a+12>>2];f:{if(!f){v[a+12>>2]=e;g=a+16|0;break f}g=a+12|0;if(v[a+4>>2]!=13){g:{while(1){if(v[f+4>>2]==1){break g}f=v[f+24>>2];if(f){continue}break}b=v[a+16>>2];v[e+28>>2]=b;v[b+24>>2]=e;v[e+24>>2]=0;g=a+16|0;break f}v[e+24>>2]=f;a=v[f+28>>2];v[e+28>>2]=a;v[(a?a+24|0:g)>>2]=e;g=f+28|0;break f}v[f+28>>2]=e;v[e+24>>2]=f}v[g>>2]=e}if(v[294265]){g=e;a=v[294262];if(!a){break a}Ub[a|0](e)}g=e}Qb=h- -64|0;return g}function dPa(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;d=Qb-32|0;Qb=d;a:{if(t[a+23|0]>=0){v[d+8>>2]=v[a+20>>2];e=v[a+16>>2];v[d>>2]=v[a+12>>2];v[d+4>>2]=e;break a}Ke(d,v[a+12>>2],v[a+16>>2])}e=w[b+11|0];f=e<<24>>24<0;b:{c:{d:{h=f?v[b+4>>2]:e;if(!h){break d}g=w[d+11|0];e=g<<24>>24<0;g=e?v[d+4>>2]:g;if((h|0)>(g|0)){break d}e=e?v[d>>2]:d;i=e+(g<<2)|0;j=f?v[b>>2]:b;l=v[j>>2];f=e;while(1){g=g-h|0;k=g+1|0;if(k>>>0>>0){break d}f=sf(f,l,k);if(!f){break d}if(od(f,j,h)){f=f+4|0;g=i-f>>2;if((h|0)<=(g|0)){continue}break d}break}if((f|0)==(i|0)|(e|0)!=(f|0)){break d}c=v[b+4>>2];b=w[b+11|0];v[299999]=0;ca(2654,d+16|0,d|0,(b<<24>>24<0?c:b)|0,-1,d|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){if(t[d+11|0]<=-1){dc(v[d>>2])}v[d+8>>2]=v[d+24>>2];b=v[d+20>>2];v[d>>2]=v[d+16>>2];v[d+4>>2]=b;break c}break b}if(!c){break c}v[299999]=0;V(2655,d+16|0,d|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}if(t[d+11|0]<=-1){dc(v[d>>2])}v[d+8>>2]=v[d+24>>2];b=v[d+20>>2];v[d>>2]=v[d+16>>2];v[d+4>>2]=b}b=w[a+11|0];c=v[a>>2];e=v[a+4>>2];v[299999]=0;f=c;c=b<<24>>24<0;$(2656,d+16|0,(c?f:a)|0,(c?e:b)|0,0);b=v[299999];v[299999]=0;if((b|0)==1){break b}b=t[d+27|0];e:{if((b|0)>-1){b=b&255;break e}b=v[d+20>>2];dc(v[d+16>>2])}c=b+8|0;f:{b=v[a+112>>2];e=v[a+116>>2]-b|0;if((e|0)<1){break f}e=(e>>>0)/12|0;f=e>>>0>1?e:1;g=0;while(1){g:{b=B(g,12)+b|0;h=v[b>>2];i=v[b+4>>2];e=w[b+11|0];v[299999]=0;j=b;b=e<<24>>24<0;$(2656,d+16|0,(b?h:j)|0,(b?i:e)|0,0);b=v[299999];v[299999]=0;if((b|0)==1){break g}b=t[d+27|0];h:{if((b|0)>-1){b=b&255;break h}b=v[d+20>>2];dc(v[d+16>>2])}c=(b+c|0)+4|0;g=g+1|0;if((f|0)==(g|0)){break f}b=v[a+112>>2];continue}break}break b}v[299999]=0;a=t[d+11|0];b=(a|0)<0;$(2656,d+16|0,(b?v[d>>2]:d)|0,(b?v[d+4>>2]:a&255)|0,0);a=v[299999];v[299999]=0;if((a|0)!=1){a=t[d+27|0];i:{if((a|0)>-1){b=a&255;break i}b=v[d+20>>2];dc(v[d+16>>2])}if(t[d+11|0]<=-1){dc(v[d>>2])}Qb=d+32|0;return(b+c|0)+78|0}}a=P()|0;O()|0;if(t[d+11|0]<=-1){dc(v[d>>2])}T(a|0);L()}function kj(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=Qb-16|0;Qb=d;v[a+8>>2]=0;v[a>>2]=981280;c=v[282402];v[a+20>>2]=0;v[a+12>>2]=c;v[a+16>>2]=999976;v[299999]=0;c=S(1,52)|0;e=v[299999];v[299999]=0;g=a+8|0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{if((e|0)!=1){v[299999]=0;e=Rm(c,8,5413,5414,5415,5416,5417);f=v[299999];v[299999]=0;if((f|0)==1){break k}v[e+4>>2]=v[e+4>>2]+1;c=v[a+20>>2];l:{if(!c){break l}f=v[c+4>>2]-1|0;v[c+4>>2]=f;if(f){break l}Ub[v[v[c>>2]+4>>2]](c)}v[a+20>>2]=e;v[a+24>>2]=999976;v[a+28>>2]=0;v[299999]=0;c=S(1,52)|0;e=v[299999];v[299999]=0;if((e|0)==1){break j}v[299999]=0;e=Rm(c,8,5413,5414,5415,5416,5417);f=v[299999];v[299999]=0;if((f|0)==1){break i}v[e+4>>2]=v[e+4>>2]+1;c=v[a+28>>2];m:{if(!c){break m}f=v[c+4>>2]-1|0;v[c+4>>2]=f;if(f){break m}Ub[v[v[c>>2]+4>>2]](c)}t[a+32|0]=0;v[a+28>>2]=e;if(w[b+32|0]){break h}v[299999]=0;V(4536,b|0,1);c=v[299999];v[299999]=0;if((c|0)==1){break g}if(w[b+32|0]){break h}v[299999]=0;Q(4535,g|0,b+8|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break g}break a}b=P()|0;O()|0;v[a+16>>2]=981312;break b}b=P()|0;O()|0;dc(c);v[a+16>>2]=981312;d=v[a+20>>2];if(!d){break b}c=v[d+4>>2]-1|0;v[d+4>>2]=c;if(!c){Ub[v[v[d>>2]+4>>2]](d)}v[a+20>>2]=0;break b}b=P()|0;O()|0;v[a+24>>2]=981312;break c}b=P()|0;O()|0;dc(c);v[a+24>>2]=981312;d=v[a+28>>2];if(!d){break c}c=v[d+4>>2]-1|0;v[d+4>>2]=c;if(!c){Ub[v[v[d>>2]+4>>2]](d)}v[a+28>>2]=0;break c}v[299999]=0;U(4713,d+8|0,b|0,0);b=v[299999];v[299999]=0;if((b|0)==1){break e}v[299999]=0;Q(4535,g|0,d+8|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break f}ec(d+8|0);v[299999]=0;V(4536,a|0,0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}}b=P()|0;O()|0;break d}b=P()|0;O()|0;ec(d+8|0);break d}b=P()|0;O()|0}v[a+24>>2]=981312;d=v[a+28>>2];if(!d){break c}c=v[d+4>>2]-1|0;v[d+4>>2]=c;if(!c){Ub[v[v[d>>2]+4>>2]](d)}v[a+28>>2]=0}v[a+16>>2]=981312;d=v[a+20>>2];if(!d){break b}c=v[d+4>>2]-1|0;v[d+4>>2]=c;if(!c){Ub[v[v[d>>2]+4>>2]](d)}v[a+20>>2]=0}ec(g);T(b|0);L()}Qb=d+16|0;return a|0}function xd(a){var b=0,c=0,d=0,e=0,f=0;e=Qb-208|0;Qb=e;a:{if(!a|v[a+172>>2]==-1){break a}c=v[a+36>>2];if(!c){break a}b=v[c+16>>2];if(b>>>0>y[c+20>>2]){v[a+84>>2]=1;v[e>>2]=0;oc(0,0,0,a,0,1,1,3,0,0,0,0,350179,e);v[a+12>>2]=0;if(!v[a+288>>2]){v[a+212>>2]=1}v[a+84>>2]=1;dU(a);break a}b:{if(w[b|0]){break b}if((cd(c)|0)>0){break b}if(v[a+172>>2]==5){break a}vd(a);break a}d=v[a+36>>2];b=v[d+16>>2];c=w[b|0];c:{d:{e:{if(v[a+256>>2]==1){f:{if((c|0)==10){v[d+32>>2]=1;v[d+28>>2]=v[d+28>>2]+1;break f}v[d+32>>2]=v[d+32>>2]+1}f=w[b|0];g:{if(f&128){if((f|0)==192){break c}c=w[b+1|0];if(!c){cd(d);d=v[a+36>>2];b=v[d+16>>2];c=w[b+1|0]}if((c&192)!=128){break c}if((f&224)==224){c=w[b+2|0];if(!c){cd(d);d=v[a+36>>2];b=v[d+16>>2];c=w[b+2|0]}if((c&192)!=128){break c}h:{if((f&240)==240){if(!w[b+3|0]){cd(d);d=v[a+36>>2];b=v[d+16>>2]}if((f&248)!=240|(w[b+3|0]&192)!=128){break c}c=b+3|0;v[d+16>>2]=b+4;f=(w[b+1|0]&63)<<12|(w[b|0]&7)<<18;b=(w[b+2|0]&63)<<6;break h}c=b+2|0;v[d+16>>2]=b+3;f=(w[b+1|0]&63)<<6;b=(w[b|0]&15)<<12}b=b|f;c=b|w[c|0]&63;if(!((b&2095104)==55296|c>>>0>1114111)&(c&2097150)!=65534){break g}Wy(a,352889,c);d=v[a+36>>2];break g}v[d+16>>2]=b+2;break g}v[d+16>>2]=b+1}v[a+200>>2]=v[a+200>>2]+1;if(!w[v[d+16>>2]]){break e}break d}i:{if((c|0)==10){v[d+32>>2]=1;v[d+28>>2]=v[d+28>>2]+1;break i}v[d+32>>2]=v[d+32>>2]+1}v[d+16>>2]=b+1;v[a+200>>2]=v[a+200>>2]+1;if(w[b+1|0]){break d}}cd(d)}b=v[a+36>>2];c=w[v[b+16>>2]];if((c|0)==37){if(v[a+32>>2]){break a}wd(a);b=v[a+36>>2];c=w[v[b+16>>2]]}if(c&255){break a}if((cd(b)|0)>0){break a}vd(a);break a}j:{if((v[d+20>>2]-b|0)<=3){if(v[a+172>>2]==-1?v[a+212>>2]:0){break j}v[a+84>>2]=9;v[e+16>>2]=0;v[e+20>>2]=0;oc(0,0,0,a,0,1,9,3,0,0,0,0,357292,e+16|0);v[a+12>>2]=0;if(v[a+288>>2]){break j}v[a+212>>2]=1;break j}c=w[b|0];d=w[b+1|0];f=w[b+2|0];v[e+44>>2]=w[b+3|0];v[e+40>>2]=f;v[e+36>>2]=d;v[e+32>>2]=c;c=e+48|0;Ai(c,149,354752,e+32|0);Ij(a,9,237225,c)}v[a+256>>2]=10;a=v[a+36>>2];v[a+16>>2]=v[a+16>>2]+1}Qb=e+208|0}function haa(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){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;m=m|0;n=n|0;o=o|0;var p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;u=Qb-16|0;Qb=u;v[c>>2]=a;z=d&512;A=h<<2;while(1){if((x|0)==4){if(w[n+11|0]>>>7|0){e=v[n+4>>2]}else{e=w[n+11|0]}if(e>>>0>1){C=u,D=xi(n),v[C+8>>2]=D;C=c,D=rw(dC(u+8|0,1),En(n),v[c>>2]),v[C>>2]=D}d=d&176;if((d|0)!=16){if((d|0)==32){a=v[c>>2]}v[b>>2]=a}Qb=u+16|0}else{a:{b:{switch(t[i+x|0]){case 0:v[b>>2]=v[c>>2];break a;case 1:v[b>>2]=v[c>>2];p=Ub[v[v[g>>2]+44>>2]](g,32)|0;h=v[c>>2];v[c>>2]=h+4;v[h>>2]=p;break a;case 3:if(w[n+11|0]>>>7|0){h=v[n+4>>2]}else{h=w[n+11|0]}if(!h){break a}if(w[n+11|0]>>>7|0){h=v[n>>2]}else{h=n}p=v[h>>2];h=v[c>>2];v[c>>2]=h+4;v[h>>2]=p;break a;case 2:if(w[m+11|0]>>>7|0){h=v[m+4>>2]}else{h=w[m+11|0]}if(!h|!z){break a}C=c,D=rw(xi(m),En(m),v[c>>2]),v[C>>2]=D;break a;case 4:break b;default:break a}}B=v[c>>2];e=e+A|0;h=e;while(1){c:{if(f>>>0<=h>>>0){break c}if(!(Ub[v[v[g>>2]+12>>2]](g,2048,v[h>>2])|0)){break c}h=h+4|0;continue}break}p=o;if((p|0)>=1){while(1){if(!((p|0)<1|e>>>0>=h>>>0)){h=h-4|0;q=v[h>>2];r=v[c>>2];v[c>>2]=r+4;v[r>>2]=q;p=p-1|0;continue}break}if((p|0)<1){q=0}else{q=Ub[v[v[g>>2]+44>>2]](g,48)|0}y=q;r=v[c>>2];while(1){q=r+4|0;if((p|0)>=1){v[r>>2]=y;p=p-1|0;r=q;continue}break}v[c>>2]=q;v[r>>2]=j}d:{if((e|0)==(h|0)){r=Ub[v[v[g>>2]+44>>2]](g,48)|0;p=v[c>>2];h=p+4|0;v[c>>2]=h;v[p>>2]=r;break d}if(w[l+11|0]>>>7|0){p=v[l>>2]}else{p=l}p=t[p|0];if(w[l+11|0]>>>7|0){q=v[l+4>>2]}else{q=w[l+11|0]}q=q?p:-1;p=0;s=0;while(1){if((e|0)!=(h|0)){e:{if((p|0)!=(q|0)){r=p;break e}r=v[c>>2];v[c>>2]=r+4;v[r>>2]=k;r=0;if(w[l+11|0]>>>7|0){q=v[l+4>>2]}else{q=w[l+11|0]}s=s+1|0;if(q>>>0<=s>>>0){q=p;break e}if(w[l+11|0]>>>7|0){p=v[l>>2]}else{p=l}if(w[p+s|0]==127){q=-1;break e}if(w[l+11|0]>>>7|0){p=v[l>>2]}else{p=l}q=t[p+s|0]}h=h-4|0;y=v[h>>2];p=v[c>>2];v[c>>2]=p+4;v[p>>2]=y;p=r+1|0;continue}break}h=v[c>>2]}gt(B,h)}x=x+1|0;continue}break}}function eba(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,j=0,k=0,l=0,m=0;i=Qb-256|0;Qb=i;v[i+248>>2]=37;v[i+252>>2]=0;m=uw(i+248|1,320503,v[c+4>>2]);v[i+204>>2]=i+208;a=pg();a:{if(m){k=v[c+8>>2];j=i- -64|0;v[j>>2]=g;v[j+4>>2]=h;v[i+56>>2]=e;v[i+60>>2]=f;v[i+48>>2]=k;a=Mh(i+208|0,30,a,i+248|0,i+48|0);break a}v[i+80>>2]=e;v[i+84>>2]=f;v[i+88>>2]=g;v[i+92>>2]=h;a=Mh(i+208|0,30,a,i+248|0,i+80|0)}v[i+128>>2]=1563;k=Mf(i+192|0,0,i+128|0);l=i+208|0;j=l;b:{c:{d:{if((a|0)>=30){e:{if(m){v[299999]=0;a=ga(5559)|0;j=v[299999];v[299999]=0;if((j|0)==1){break c}j=v[c+8>>2];v[i+16>>2]=g;v[i+20>>2]=h;v[i>>2]=j;v[299999]=0;v[i+8>>2]=e;v[i+12>>2]=f;a=Z(5582,i+204|0,a|0,i+248|0,i|0)|0;e=v[299999];v[299999]=0;if((e|0)!=1){break e}break c}v[299999]=0;a=ga(5559)|0;j=v[299999];v[299999]=0;if((j|0)==1){break c}v[i+32>>2]=e;v[i+36>>2]=f;v[299999]=0;v[i+40>>2]=g;v[i+44>>2]=h;a=Z(5582,i+204|0,a|0,i+248|0,i+32|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break c}}if((a|0)==-1){v[299999]=0;ba(5538);a=v[299999];v[299999]=0;if((a|0)==1){break c}break d}Ig(k,v[i+204>>2]);j=v[i+204>>2]}g=a+j|0;h=hj(j,g,c);v[i+116>>2]=1563;e=Mf(i+120|0,0,i+116|0);f:{g:{if(v[i+204>>2]==(i+208|0)){a=i+128|0;break g}a=jc(a<<1);if(!a){v[299999]=0;ba(5538);a=v[299999];v[299999]=0;if((a|0)!=1){break d}c=P()|0;O()|0;break f}Ig(e,a);l=v[i+204>>2]}v[299999]=0;f=v[c+28>>2];v[i+104>>2]=f;v[f+4>>2]=v[f+4>>2]+1;f=v[299999];v[299999]=0;h:{i:{if((f|0)!=1){v[299999]=0;la(5583,l|0,h|0,g|0,a|0,i+116|0,i+112|0,i+104|0);f=v[299999];v[299999]=0;if((f|0)==1){break i}f=v[i+104>>2];g=v[f+4>>2]-1|0;v[f+4>>2]=g;if((g|0)==-1){Ub[v[v[f>>2]+8>>2]](f)}v[299999]=0;a=aa(5584,b|0,a|0,v[i+116>>2],v[i+112>>2],c|0,d|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break h}ee(e);ee(k);Qb=i+256|0;return a|0}c=P()|0;O()|0;break f}c=P()|0;O()|0;a=v[i+104>>2];b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}break f}c=P()|0;O()|0}ee(e);break b}L()}c=P()|0;O()|0}ee(k);T(c|0);L()}function Waa(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,j=0,k=0,l=0,m=0;i=Qb-432|0;Qb=i;v[i+424>>2]=37;v[i+428>>2]=0;m=uw(i+424|1,320503,v[c+4>>2]);v[i+380>>2]=i+384;a=pg();a:{if(m){k=v[c+8>>2];j=i- -64|0;v[j>>2]=g;v[j+4>>2]=h;v[i+56>>2]=e;v[i+60>>2]=f;v[i+48>>2]=k;a=Mh(i+384|0,30,a,i+424|0,i+48|0);break a}v[i+80>>2]=e;v[i+84>>2]=f;v[i+88>>2]=g;v[i+92>>2]=h;a=Mh(i+384|0,30,a,i+424|0,i+80|0)}v[i+128>>2]=1563;k=Mf(i+368|0,0,i+128|0);l=i+384|0;j=l;b:{c:{d:{if((a|0)>=30){e:{if(m){v[299999]=0;a=ga(5559)|0;j=v[299999];v[299999]=0;if((j|0)==1){break c}j=v[c+8>>2];v[i+16>>2]=g;v[i+20>>2]=h;v[i>>2]=j;v[299999]=0;v[i+8>>2]=e;v[i+12>>2]=f;a=Z(5582,i+380|0,a|0,i+424|0,i|0)|0;e=v[299999];v[299999]=0;if((e|0)!=1){break e}break c}v[299999]=0;a=ga(5559)|0;j=v[299999];v[299999]=0;if((j|0)==1){break c}v[i+32>>2]=e;v[i+36>>2]=f;v[299999]=0;v[i+40>>2]=g;v[i+44>>2]=h;a=Z(5582,i+380|0,a|0,i+424|0,i+32|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break c}}if((a|0)==-1){v[299999]=0;ba(5538);a=v[299999];v[299999]=0;if((a|0)==1){break c}break d}Ig(k,v[i+380>>2]);j=v[i+380>>2]}g=a+j|0;h=hj(j,g,c);v[i+116>>2]=1563;e=Mf(i+120|0,0,i+116|0);f:{g:{if(v[i+380>>2]==(i+384|0)){a=i+128|0;break g}a=jc(a<<3);if(!a){v[299999]=0;ba(5538);a=v[299999];v[299999]=0;if((a|0)!=1){break d}c=P()|0;O()|0;break f}Ig(e,a);l=v[i+380>>2]}v[299999]=0;f=v[c+28>>2];v[i+104>>2]=f;v[f+4>>2]=v[f+4>>2]+1;f=v[299999];v[299999]=0;h:{i:{if((f|0)!=1){v[299999]=0;la(5594,l|0,h|0,g|0,a|0,i+116|0,i+112|0,i+104|0);f=v[299999];v[299999]=0;if((f|0)==1){break i}f=v[i+104>>2];g=v[f+4>>2]-1|0;v[f+4>>2]=g;if((g|0)==-1){Ub[v[v[f>>2]+8>>2]](f)}v[299999]=0;a=aa(5595,b|0,a|0,v[i+116>>2],v[i+112>>2],c|0,d|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break h}ee(e);ee(k);Qb=i+432|0;return a|0}c=P()|0;O()|0;break f}c=P()|0;O()|0;a=v[i+104>>2];b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}break f}c=P()|0;O()|0}ee(e);break b}L()}c=P()|0;O()|0}ee(k);T(c|0);L()}function oU(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=Qb-2128|0;Qb=d;e=d+2096|0;v[e>>2]=0;v[e+4>>2]=0;e=d+2104|0;v[e>>2]=0;v[e+4>>2]=0;t[d+2112|0]=0;v[d+2080>>2]=0;v[d+2084>>2]=0;v[d+2088>>2]=0;v[d+2092>>2]=0;ic(d+1040|0,0,1028);f=ic(d,255,1028);v[c+1024>>2]=1;i=1e9;j=-1;a:while(1){d=v[(h<<2)+c>>2];e=!d|(d|0)>(i|0);i=e?i:d;j=e?j:h;g=1e9;d=0;e=-1;h=h+1|0;if((h|0)!=257){continue}while(1){h=v[(d<<2)+c>>2];l=!h|(g|0)<(h|0)|(d|0)==(j|0);i=l?e:d;e=d|1;if((e|0)==257){if((i|0)<=-1){d=0;while(1){c=v[(f+1040|0)+(d<<2)>>2];if(c){if((c|0)>=33){e=v[a>>2];v[e+20>>2]=40;Ub[v[e>>2]](a)}c=c+(f+2080|0)|0;t[c|0]=w[c|0]+1}d=d+1|0;if((d|0)!=257){continue}break}a=32;while(1){c=a-1|0;i=(f+2080|0)+a|0;j=w[i|0];if(j){g=a-2|0;h=c+(f+2080|0)|0;while(1){d=g;while(1){e=d;d=d-1|0;k=e+(f+2080|0)|0;if(!w[k|0]){continue}break}t[i|0]=j-2;t[h|0]=w[h|0]+1;d=(e+f|0)+2081|0;t[d|0]=w[d|0]+2;t[k|0]=w[k|0]-1;j=w[i|0];if(j){continue}break}}d=a>>>0>17;a=c;if(d){continue}break}d=16;while(1){a=(f+2080|0)+d|0;d=d-1|0;c=w[a|0];if(!c){continue}break}t[a|0]=c-1;t[b+16|0]=w[f+2096|0];a=v[f+2092>>2];v[b+8>>2]=v[f+2088>>2];v[b+12>>2]=a;a=v[f+2084>>2];v[b>>2]=v[f+2080>>2];v[b+4>>2]=a;e=0;g=1;while(1){d=0;while(1){if(v[(f+1040|0)+(d<<2)>>2]==(g|0)){t[(b+e|0)+17|0]=d;e=e+1|0}a=d|1;if(v[(f+1040|0)+(a<<2)>>2]==(g|0)){t[(b+e|0)+17|0]=a;e=e+1|0}d=d+2|0;if((d|0)!=256){continue}break}g=g+1|0;if((g|0)!=33){continue}break}v[b+276>>2]=0;Qb=f+2128|0;return}d=j<<2;e=d+c|0;l=e;k=v[e>>2];g=i<<2;e=g+c|0;v[l>>2]=k+v[e>>2];v[e>>2]=0;e=d+(f+1040|0)|0;v[e>>2]=v[e>>2]+1;e=d+f|0;d=v[e>>2];if((d|0)>=0){while(1){d=d<<2;e=d+(f+1040|0)|0;v[e>>2]=v[e>>2]+1;e=d+f|0;d=v[e>>2];if((d|0)>-1){continue}break}}v[e>>2]=i;d=g+(f+1040|0)|0;v[d>>2]=v[d>>2]+1;h=0;i=1e9;j=-1;d=v[f+g>>2];if((d|0)<0){continue a}while(1){d=d<<2;e=d+(f+1040|0)|0;v[e>>2]=v[e>>2]+1;d=v[d+f>>2];if((d|0)>-1){continue}break}continue a}else{k=v[(e<<2)+c>>2];g=l?g:h;h=!k|(k|0)>(g|0)|(e|0)==(j|0);g=h?g:k;e=h?i:e;d=d+2|0;continue}}}}function FZ(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;v[a+168>>2]=f;n=a+168|0;v[a+48>>2]=n;i=v[a+64>>2];v[a+192>>2]=v[a+60>>2];v[a+196>>2]=i;v[a+188>>2]=c;v[a+184>>2]=b;v[a+180>>2]=e;v[a+176>>2]=d;v[a+172>>2]=g;g=n;while(1){j=v[g+12>>2];m=v[g+20>>2];b=(j|0)<(m|0);i=v[g+4>>2];e=v[g+28>>2];k=(i|0)<(e|0);a:{b:{if(!(((b?m:j)|0)<=((k?e:i)|0)&((b?j:m)|0)>=((k?i:e)|0))){b=v[g+24>>2];v[g+48>>2]=b;v[g+52>>2]=e;c=e+m|0;v[g+44>>2]=c>>1;d=i+j|0;v[g+12>>2]=d>>1;e=v[g+8>>2];k=e+f|0;v[g+8>>2]=k>>1;l=b;b=v[g+16>>2];h=l+b|0;v[g+40>>2]=h>>1;l=c;c=j+m|0;j=l+c|0;v[g+36>>2]=j>>2;c=c+d|0;v[g+20>>2]=c>>2;b=b+e|0;d=b+k|0;v[g+16>>2]=d>>2;e=b+h|0;v[g+32>>2]=e>>2;b=3;v[g+28>>2]=c+j>>3;v[g+24>>2]=d+e>>3;break b}b=-3;if((e|0)==(i|0)){break b}o=k?2:1;c=v[a+92>>2];if((o|0)!=(c|0)){b=v[a+4>>2];d=k?e&b-1:((b+e|0)-1&0-b)-e|0;l=v[a+8>>2];if(c){b=v[a+36>>2];h=v[a+80>>2];c=b-v[h+8>>2]|0;if((c|0)<=-1){v[a+40>>2]=99;return 1}c:{if(!c){c=b;break c}v[h+16>>2]=c>>2;if((d|0)>=(l|0)){c=x[h+12>>1];u[h+12>>1]=(c&8?16:32)|c}v[a+80>>2]=b;c=b+32|0;v[a+36>>2]=c;v[b+8>>2]=c;v[b+16>>2]=0;v[h+28>>2]=b;u[a+76>>1]=x[a+76>>1]+1}if(y[a+32>>2]<=c>>>0){v[a+40>>2]=98;return 1}t[a+79|0]=0}d:{if(v[a+84>>2]){c=v[a+36>>2];break d}b=v[a+36>>2];v[a+84>>2]=b;v[a+80>>2]=b;c=b+32|0;v[a+36>>2]=c}if(y[a+32>>2]<=c>>>0){v[a+40>>2]=98;return 1}b=v[a+80>>2];v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=c;v[b+28>>2]=0;v[b+4>>2]=0;h=w[a+164|0];u[b+12>>1]=h;e:{f:{if(!k){u[b+12>>1]=h|8;c=40;if((d|0)>=(l|0)){break f}break e}c=16;if((d|0)<(l|0)){break e}}u[b+12>>1]=c|h}if(!v[a+88>>2]){v[a+88>>2]=b}u[a+78>>1]=1;v[a+92>>2]=o}b=v[a+72>>2];c=v[a+68>>2];if(!k){if(!Vz(a,3,1864,c,b)){break a}return 1}v[g+28>>2]=0-e;v[g+20>>2]=0-m;v[g+12>>2]=0-j;v[g+4>>2]=0-i;d=w[a+78|0];b=Vz(a,3,1864,0-b|0,0-c|0);if(!(w[a+78|0]|!d)){c=v[a+80>>2];v[c+20>>2]=0-v[c+20>>2]}v[g+4>>2]=0-v[g+4>>2];if(!b){break a}return 1}v[a+48>>2]=(b<<3)+g}g=v[a+48>>2];if(n>>>0<=g>>>0){f=v[g>>2];continue}break}v[a+64>>2]=i;v[a+60>>2]=f;return 0}function UOa(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,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0;z=Qb-400|0;Qb=z;A=v[a+332>>2];a=v[b+84>>2];b=z;while(1){j=v[a+192>>2];o=u[c+96>>1];k=v[a+64>>2];n=u[c+32>>1];l=B(u[c>>1],v[a>>2])<<13|1024;g=B(v[a+128>>2],u[c+64>>1]);m=l+B(g,-11586)>>11;i=B(v[a+224>>2],u[c+112>>1]);f=B(v[a+32>>2],u[c+16>>1]);h=B(v[a+96>>2],u[c+48>>1]);r=f-h|0;p=B(v[a+160>>2],u[c+80>>1]);q=i+(r-p|0)<<2;v[b+280>>2]=m-q;v[b+84>>2]=m+q;o=B(j,o);k=B(k,n);n=B(o+k|0,9058);m=n+B(o,-14084)|0;q=l+B(g,2578)|0;x=m+q|0;j=i<<13;i=B(h+p|0,-1297)-j|0;C=B(f+h|0,10935);y=i+(C+B(h,-3474)|0)|0;v[b+336>>2]=x-y>>11;v[b+28>>2]=x+y>>11;o=B(o,-11295)+B(k,5027)|0;x=l+B(g,-7223)|0;y=o+x|0;s=i;i=f+p|0;D=B(i,9810);s=s+(D+B(p,-19447)|0)|0;v[b+308>>2]=y-s>>11;v[b+56>>2]=y+s>>11;m=q-m|0;r=B(r,3826)-j|0;s=B(h,5529);h=B(p-h|0,11512);q=r+(s+h|0)|0;v[b+224>>2]=m-q>>11;v[b+140>>2]=m+q>>11;g=l+B(g,10438)|0;l=n+B(k,2237)|0;k=g-l|0;n=B(i,6164);m=r+(n+B(f,-8693)|0)|0;v[b+196>>2]=k-m>>11;v[b+168>>2]=k+m>>11;g=g+l|0;f=j+((B(f,-9232)+C|0)+D|0)|0;v[b+364>>2]=g-f>>11;v[b>>2]=f+g>>11;f=x-o|0;h=j+(n+(h+B(p,-13850)|0)|0)|0;v[b+252>>2]=f-h>>11;v[b+112>>2]=f+h>>11;b=b+4|0;a=a+4|0;c=c+2|0;E=E+1|0;if((E|0)!=7){continue}break}a=A+128|0;h=0;b=z;while(1){p=v[b+16>>2];f=v[b+24>>2];g=B(p-f|0,7223);c=v[(h<<2)+d>>2]+e|0;l=v[b+12>>2];j=v[b+4>>2];k=B(l+j|0,7663);n=B(j-l|0,1395);i=j;j=v[b+20>>2];A=B(i+j|0,5027);m=(k-n|0)+A|0;s=g+B(f,-637)|0;o=(v[b>>2]<<13)+131072|0;i=f;f=v[b+8>>2];r=i+f|0;i=o+B(r,10438)|0;q=s+i|0;t[c|0]=w[a+(m+q>>>18&1023)|0];t[c+6|0]=w[a+(q-m>>>18&1023)|0];l=B(j+l|0,-11295);k=l+(k+n|0)|0;n=B(f-p|0,2578);g=g+(n+(o+B(p,-15083)|0)|0)|0;t[c+1|0]=w[a+(k+g>>>18&1023)|0];t[c+5|0]=w[a+(g-k>>>18&1023)|0];g=l+(A+B(j,15326)|0)|0;f=i+(n+B(f,-20239)|0)|0;t[c+2|0]=w[a+(g+f>>>18&1023)|0];t[c+4|0]=w[a+(f-g>>>18&1023)|0];t[c+3|0]=w[a+(o+B(p-r|0,11585)>>>18&1023)|0];b=b+28|0;h=h+1|0;if((h|0)!=14){continue}break}Qb=z+400|0}function gaa(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,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;g=Qb-496|0;Qb=g;a=g+488|0;h=v[d+28>>2];v[a>>2]=h;v[h+4>>2]=v[h+4>>2]+1;v[299999]=0;o=S(5466,a|0)|0;a=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{g:{if((a|0)!=1){a=f;h:{if(w[a+11|0]>>>7|0){h=v[a+4>>2];break h}h=w[a+11|0]}if(h){if(w[a+11|0]>>>7|0){h=v[a>>2]}else{h=a}l=v[h>>2];v[299999]=0;k=Q(5591,o|0,45)|0;h=v[299999];v[299999]=0;if((h|0)==1){break g}p=(k|0)==(l|0)}m=ge(g+456|0);i=ge(g+440|0);j=ge(g+424|0);v[299999]=0;ua(5621,c|0,p|0,g+488|0,g+480|0,g+476|0,g+472|0,m|0,i|0,j|0,g+420|0);c=v[299999];v[299999]=0;if((c|0)==1){break f}v[g+4>>2]=1563;n=Mf(g+8|0,0,g+4|0);c=g+16|0;if(w[a+11|0]>>>7|0){a=v[f+4>>2]}else{a=w[f+11|0]}i:{if((a|0)>v[g+420>>2]){if(w[f+11|0]>>>7|0){h=v[f+4>>2]}else{h=w[f+11|0]}l=v[g+420>>2];k=l;l=k;if(w[i+11|0]>>>7|0){a=v[i+4>>2]}else{a=w[i+11|0]}if(w[j+11|0]>>>7|0){q=v[j+4>>2]}else{q=w[j+11|0]}a=(l+(a+(q+(h-k<<1)|0)|0)|0)+1|0;break i}k=v[g+420>>2];if(w[j+11|0]>>>7|0){a=v[j+4>>2]}else{a=w[j+11|0]}if(w[i+11|0]>>>7|0){h=v[i+4>>2]}else{h=w[i+11|0]}a=(k+(a+h|0)|0)+2|0}if(a>>>0<101){break e}Ig(n,jc(a<<2));c=v[n>>2];if(c){break e}v[299999]=0;ba(5538);a=v[299999];v[299999]=0;if((a|0)==1){break d}L()}f=P()|0;O()|0;break b}f=P()|0;O()|0;break b}f=P()|0;O()|0;break c}k=v[d+4>>2];if(w[f+11|0]>>>7|0){h=v[f>>2]}else{h=f}if(w[f+11|0]>>>7|0){a=v[f>>2]}else{a=f}if(w[f+11|0]>>>7|0){f=v[f+4>>2]}else{f=w[f+11|0]}v[299999]=0;Ba(5622,c|0,g+4|0,g|0,k|0,h|0,a+(f<<2)|0,o|0,p|0,g+480|0,v[g+476>>2],v[g+472>>2],m|0,i|0,j|0,v[g+420>>2]);a=v[299999];v[299999]=0;if((a|0)!=1){v[299999]=0;b=aa(5595,b|0,c|0,v[g+4>>2],v[g>>2],d|0,e|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break a}}}f=P()|0;O()|0;ee(n)}le(j);le(i);Mc(m)}b=v[g+488>>2];a=v[b+4>>2]-1|0;v[b+4>>2]=a;if((a|0)==-1){Ub[v[v[b>>2]+8>>2]](b)}T(f|0);L()}ee(n);le(j);le(i);Mc(m);c=v[g+488>>2];a=v[c+4>>2]-1|0;v[c+4>>2]=a;if((a|0)==-1){Ub[v[v[c>>2]+8>>2]](c)}Qb=g+496|0;return b|0}function KRa(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,n=0,o=0,p=0,q=0,r=0,s=0,y=0,z=0,A=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=v[b+84>>2];j=B(v[b+108>>2],u[c+54>>1]);f=B(v[b+44>>2],u[c+22>>1]);g=B(j+f|0,4433)+1024|0;k=B(v[b+100>>2],u[c+50>>1]);h=B(v[b+36>>2],u[c+18>>1]);i=B(k+h|0,4433)+1024|0;m=B(v[b+76>>2],u[c+38>>1]);n=B(v[b+12>>2],u[c+6>>1]);y=m+n<<2;z=g+B(f,6270)>>11;o=y+z|0;p=B(v[b+68>>2],u[c+34>>1]);q=B(v[b+4>>2],u[c+2>>1]);A=p+q<<2;C=i+B(h,6270)>>11;l=A+C|0;h=B(o+l|0,4433);f=v[d>>2]+e|0;a=v[a+332>>2]+128|0;r=B(v[b+64>>2],x[c+32>>1]);D=B(v[b>>2],x[c>>1]);E=r+D<<2;F=B(v[b+96>>2],u[c+48>>1]);s=B(v[b+32>>2],u[c+16>>1]);G=B(F+s|0,4433)+1024|0;s=G+B(s,6270)>>11;H=(E+s|0)+16|0;I=B(v[b+72>>2],x[c+36>>1]);J=B(v[b+8>>2],x[c+4>>1]);K=I+J<<2;L=B(v[b+104>>2],u[c+52>>1]);b=B(v[b+40>>2],u[c+20>>1]);M=B(L+b|0,4433)+1024|0;N=M+B(b,6270)>>11;b=K+N|0;c=H+b<<13;l=h+B(l,6270)|0;t[f|0]=w[a+(c+l>>>18&1023)|0];t[f+3|0]=w[a+(c-l>>>18&1023)|0];c=h+B(o,-15137)|0;b=H-b<<13;t[f+1|0]=w[a+(c+b>>>18&1023)|0];t[f+2|0]=w[a+(b-c>>>18&1023)|0];f=g+B(j,-15137)>>11;g=n-m<<2;h=f+g|0;i=i+B(k,-15137)>>11;j=q-p<<2;k=i+j|0;c=B(h+k|0,4433);b=v[d+4>>2]+e|0;k=c+B(k,6270)|0;m=B(F,-15137)+G>>11;n=D-r<<2;o=(m+n|0)+16|0;p=B(L,-15137)+M>>11;q=J-I<<2;l=p+q|0;r=o+l<<13;t[b|0]=w[a+(k+r>>>18&1023)|0];t[b+3|0]=w[a+(r-k>>>18&1023)|0];c=c+B(h,-15137)|0;h=o-l<<13;t[b+1|0]=w[a+(c+h>>>18&1023)|0];t[b+2|0]=w[a+(h-c>>>18&1023)|0];f=g-f|0;g=j-i|0;c=B(f+g|0,4433);b=v[d+8>>2]+e|0;g=c+B(g,6270)|0;i=(n-m|0)+16|0;h=q-p|0;j=i+h<<13;t[b|0]=w[a+(g+j>>>18&1023)|0];t[b+3|0]=w[a+(j-g>>>18&1023)|0];c=c+B(f,-15137)|0;f=i-h<<13;t[b+1|0]=w[a+(c+f>>>18&1023)|0];t[b+2|0]=w[a+(f-c>>>18&1023)|0];f=y-z|0;g=A-C|0;c=B(f+g|0,4433);b=v[d+12>>2]+e|0;d=c+B(g,6270)|0;e=(E-s|0)+16|0;g=K-N|0;i=e+g<<13;t[b|0]=w[a+(d+i>>>18&1023)|0];t[b+3|0]=w[a+(i-d>>>18&1023)|0];c=c+B(f,-15137)|0;d=e-g<<13;t[b+1|0]=w[a+(c+d>>>18&1023)|0];t[b+2|0]=w[a+(d-c>>>18&1023)|0]}function LG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Qb-80|0;Qb=c;d=w[a+11|0];b=d<<24>>24<0;a:{b:{c:{e=v[a+4>>2];d:{if(!(b?e:d)){break d}e:{if(!b){v[c+56>>2]=v[a+8>>2];b=v[a+4>>2];v[c+48>>2]=v[a>>2];v[c+52>>2]=b;break e}Ke(c+48|0,v[a>>2],e)}v[299999]=0;U(2682,c- -64|0,c+48|0,0);b=v[299999];v[299999]=0;f:{g:{h:{i:{j:{k:{l:{m:{if((b|0)!=1){if(t[c+59|0]<=-1){dc(v[c+48>>2])}b=v[c+64>>2];if((b|0)!=v[c+68>>2]){d=0;while(1){v[299999]=0;S(2734,B(d,12)+b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break m}d=d+1|0;b=v[c+64>>2];if(d>>>0<(v[c+68>>2]-b|0)/12>>>0){continue}break}}if(t[a+11|0]<0){break l}v[c+24>>2]=v[a+8>>2];b=v[a+4>>2];v[c+16>>2]=v[a>>2];v[c+20>>2]=b;break k}d=P()|0;O()|0;if(t[c+59|0]>-1){break a}dc(v[c+48>>2]);T(d|0);L()}d=P()|0;O()|0;break b}b=v[a+4>>2];d=v[a>>2];v[299999]=0;U(2345,c+16|0,d|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break j}}v[299999]=0;V(2735,c+32|0,c+16|0);b=v[299999];v[299999]=0;if((b|0)==1){break i}if(t[c+27|0]<=-1){dc(v[c+16>>2])}b=v[c+32>>2];if((b|0)!=v[c+36>>2]){d=0;while(1){v[299999]=0;V(2736,B(d,12)+b|0,0);b=v[299999];v[299999]=0;if((b|0)==1){break c}d=d+1|0;b=v[c+32>>2];if(d>>>0<(v[c+36>>2]-b|0)/12>>>0){continue}break}}v[c+12>>2]=0;v[c+8>>2]=0;d=v[a>>2];e=v[a+4>>2];b=w[a+11|0];v[299999]=0;f=a;a=b<<24>>24<0;fa(2732,(a?d:f)|0,(a?e:b)|0,c+12|0,c+8|0,0);a=v[299999];v[299999]=0;if((a|0)==1){break c}a=Ja(v[c+12>>2])|0;if(a>>>0>=4294963201){v[299402]=0-a}a=v[c+12>>2];if(a){dc(a)}a=v[c+32>>2];if(!a){break f}b=v[c+36>>2];if((a|0)!=(b|0)){break h}b=a;break g}d=P()|0;O()|0;break b}d=P()|0;O()|0;if(t[c+27|0]>-1){break b}dc(v[c+16>>2]);break b}while(1){d=b-12|0;if(t[b-1|0]<=-1){dc(v[d>>2])}b=d;if((b|0)!=(a|0)){continue}break}b=v[c+32>>2]}v[c+36>>2]=a;dc(b)}a=v[c+64>>2];if(!a){break d}b=v[c+68>>2];if((a|0)==(b|0)){b=a}else{while(1){d=b-12|0;if(t[b-1|0]<=-1){dc(v[d>>2])}b=d;if((a|0)!=(b|0)){continue}break}b=v[c+64>>2]}v[c+68>>2]=a;dc(b)}Qb=c+80|0;return}d=P()|0;O()|0;Qg(c+32|0)}Qg(c- -64|0)}T(d|0);L()}function rW(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=C(0),k=0,l=0,m=0,n=0,o=0,p=0,q=C(0),r=0;h=Qb-16|0;Qb=h;e=t[a+48|0];i=v[a+28>>2];n=v[a>>2];d=v[a+24>>2];a:{b:{if((d|0)>v[a+32>>2]){if((e|0)>26){break a}d=e+1|0;break b}if((e|0)<1|(d|0)>=v[a+36>>2]){break a}d=e-1|0}c:{if(v[b>>2]>0){break c}t[a+48|0]=d;d=v[(d<<2)+845936>>2];v[a+28>>2]=d;c=Pg(B(d,12));v[a>>2]=c;if(!c){v[b>>2]=7;break c}f=v[a+28>>2];e=B(f,12)+c|0;d:{if(e>>>0<=c>>>0){break d}d=B(f,12)-1|0;g=((d>>>0)/12|0)+1&7;if(g){while(1){v[c+8>>2]=0;v[c>>2]=-2147483647;v[c+4>>2]=0;c=c+12|0;g=g-1|0;if(g){continue}break}}if(d>>>0<84){break d}while(1){v[c+8>>2]=0;v[c+12>>2]=-2147483647;v[c>>2]=-2147483647;v[c+4>>2]=0;v[c+24>>2]=-2147483647;v[c+28>>2]=0;v[c+36>>2]=-2147483647;v[c+40>>2]=0;v[c+48>>2]=-2147483647;v[c+52>>2]=0;v[c+60>>2]=-2147483647;v[c+64>>2]=0;v[c+84>>2]=-2147483647;v[c+16>>2]=0;v[c+20>>2]=0;v[c+32>>2]=0;v[c+44>>2]=0;v[c+56>>2]=0;v[c+68>>2]=0;v[c+72>>2]=-2147483647;v[c+76>>2]=0;v[c+80>>2]=0;v[c+88>>2]=0;v[c+92>>2]=0;c=c+96|0;if(e>>>0>c>>>0){continue}break}}v[a+24>>2]=0;e=a;q=C(f|0);j=C(z[a+44>>2]*q);e:{if(C(D(j))>2]=d;e=a;j=C(z[a+40>>2]*q);f:{if(C(D(j))>2]=d;if(v[b>>2]>0){break c}if((i|0)>0){while(1){d=i-1|0;k=B(d,12)+n|0;m=v[k>>2];if((m|0)>=0){v[h+8>>2]=v[k+8>>2];o=v[a>>2];g=0;f=-1;b=v[a+28>>2];e=(m^67108864)%(b|0)|0;c=e;g:{h:{i:{while(1){r=B(c,12);l=r+o|0;p=v[l>>2];j:{if((p|0)==(m|0)){b=v[a+8>>2];v[h+4>>2]=v[h+8>>2];v[h>>2]=v[(o+r|0)+8>>2];if(Ub[b|0](h+4|0,h)|0){break g}b=v[a+28>>2];break j}if((p|0)>-1){break j}if((p|0)==-2147483647){break i}f=(f|0)<0?c:f}g=g?g:((m|0)%(b-1|0)|0)+1|0;c=(g+c|0)%(b|0)|0;if((e|0)!=(c|0)){continue}break}if((f|0)>-1){break h}f=e;break h}f=(f|0)>-1?f:c}l=B(f,12)+o|0}v[l+8>>2]=v[k+8>>2];v[l+4>>2]=v[k+4>>2];v[l>>2]=v[k>>2];v[a+24>>2]=v[a+24>>2]+1}b=(i|0)>1;i=d;if(b){continue}break}}_e(n);break a}v[a+28>>2]=i;v[a>>2]=n}Qb=h+16|0}function ITa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=hm(a+44|0);v[299999]=0;d=S(2366,a+48|0)|0;c=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{if((c|0)!=1){v[299999]=0;e=S(2366,a+52|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break f}v[299999]=0;f=S(2366,a+56|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break e}v[299999]=0;JX(a+96|0);c=v[299999];v[299999]=0;if((c|0)==1){break d}c=0;v[a+1532>>2]=0;v[a+1596>>2]=0;v[a+1600>>2]=2147483632;b=a+1540|0;v[b>>2]=0;v[b+4>>2]=0;t[a+1536|0]=0;b=a+1548|0;v[b>>2]=0;v[b+4>>2]=0;b=a+1556|0;v[b>>2]=0;v[b+4>>2]=0;v[a+1564>>2]=0;t[a+1592|0]=0;v[a+1584>>2]=0;b=a+1576|0;v[b>>2]=0;v[b+4>>2]=0;b=a+1568|0;v[b>>2]=1;v[b+4>>2]=1;ic(a+1608|0,0,68);t[a+1724|0]=0;b=a+1716|0;v[b>>2]=-2147483647;v[b+4>>2]=-2147483647;b=a+1708|0;v[b>>2]=2147483647;v[b+4>>2]=2147483647;b=a+1700|0;v[b>>2]=0;v[b+4>>2]=0;b=a+1692|0;v[b>>2]=2147483647;v[b+4>>2]=2147483647;b=a+1728|0;v[b>>2]=0;v[b+4>>2]=0;b=a+1684|0;v[b>>2]=0;v[b+4>>2]=0;b=a+1676|0;v[b>>2]=2147483647;v[b+4>>2]=2147483647;b=a+1736|0;v[b>>2]=0;v[b+4>>2]=0;b=a+1744|0;v[b>>2]=0;v[b+4>>2]=0;b=a+1749|0;t[b|0]=0;t[b+1|0]=0;t[b+2|0]=0;t[b+3|0]=0;t[b+4|0]=0;t[b+5|0]=0;t[b+6|0]=0;t[b+7|0]=0;v[a+2800>>2]=0;b=a+2792|0;v[b>>2]=0;v[b+4>>2]=0;t[a+2788|0]=1;v[a+2784>>2]=0;b=a+1760|0;while(1){v[b+(c<<2)>>2]=c;d=c|1;v[b+(d<<2)>>2]=d;d=c|2;v[b+(d<<2)>>2]=d;d=c|3;v[b+(d<<2)>>2]=d;d=c|4;v[b+(d<<2)>>2]=d;d=c|5;v[b+(d<<2)>>2]=d;d=c|6;v[b+(d<<2)>>2]=d;d=c|7;v[b+(d<<2)>>2]=d;c=c+8|0;if((c|0)!=256){continue}break}v[a+2848>>2]=0;v[a+2852>>2]=0;v[a+2816>>2]=0;v[a>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a+2840>>2]=0;v[a+2844>>2]=-1074790400;t[a+2832|0]=1;v[a+2824>>2]=0;v[a+2828>>2]=1072693248;t[a+2820|0]=0;v[a+40>>2]=2;v[a+32>>2]=0;v[a+36>>2]=1079115776;v[a+24>>2]=0;v[a+28>>2]=1079115776;c=a+2808|0;v[c>>2]=0;v[c+4>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;c=a+2856|0;v[c>>2]=0;v[c+4>>2]=0;return a|0}c=P()|0;O()|0;break a}c=P()|0;O()|0;break b}c=P()|0;O()|0;break c}c=P()|0;O()|0;Cd(f)}Cd(e)}Cd(d)}Cd(b);T(c|0);L()}function WE(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=Qb-16|0;Qb=i;a:{b:{e=v[c>>2];if((e|0)>2]){while(1){v[c>>2]=e+1;e=v[v[b>>2]+(e<<2)>>2];f=v[e+4>>2];g=t[f|0];c:{if(!(g-48>>>0>=10&(g-45&255)>>>0>1)){l=xf(f);h=v[d>>2];e=v[a+1056>>2];d:{if((h|0)<(e|0)){e=v[a+1048>>2];break d}e=e?e<<1:16;v[a+1056>>2]=e;e=pd(v[a+1048>>2],e,16);v[a+1048>>2]=e;h=v[d>>2]}v[(h<<4)+e>>2]=40;A[((v[d>>2]<<4)+e|0)+8>>3]=l;v[d>>2]=v[d>>2]+1;break c}if(!Ad(e,217551)){e=v[d>>2];f=v[a+1056>>2];e:{if((e|0)<(f|0)){h=v[a+1048>>2];f=e;break e}f=f?f<<1:16;v[a+1056>>2]=f;h=pd(v[a+1048>>2],f,16);v[a+1048>>2]=h;f=v[d>>2]}v[(f<<4)+h>>2]=42;v[((v[d>>2]<<4)+h|0)+8>>2]=0;v[d>>2]=v[d>>2]+1;g=0;if(!WE(a,b,c,d)){break a}f=v[c>>2];if((f|0)>=v[b+8>>2]){kc(1,-1,256959,0);g=0;break a}v[c>>2]=f+1;f=v[v[b>>2]+(f<<2)>>2];if(!Ad(f,273683)){v[(v[a+1048>>2]+(e<<4)|0)+8>>2]=v[d>>2];break c}if(!Ad(f,217551)){f=v[d>>2];g=v[a+1056>>2];f:{if((f|0)<(g|0)){h=v[a+1048>>2];g=f;break f}g=g?g<<1:16;v[a+1056>>2]=g;h=pd(v[a+1048>>2],g,16);v[a+1048>>2]=h;g=v[d>>2]}v[(g<<4)+h>>2]=41;v[((v[d>>2]<<4)+h|0)+8>>2]=0;g=v[d>>2]+1|0;v[d>>2]=g;v[(v[a+1048>>2]+(e<<4)|0)+8>>2]=g;g=0;if(!WE(a,b,c,d)){break a}e=v[c>>2];if((e|0)>=v[b+8>>2]){kc(1,-1,256959,0);g=0;break a}v[c>>2]=e+1;if(!Ad(v[v[b>>2]+(e<<2)>>2],277247)){v[(v[a+1048>>2]+(f<<4)|0)+8>>2]=v[d>>2];break c}kc(1,-1,256911,0);g=0;break a}kc(1,-1,256817,0);g=0;break a}g=1;if(!Ad(e,217547)){break a}if(!Ad(e,273683)){kc(1,-1,256771,0);g=0;break a}if(!Ad(e,277247)){break b}f=40;h=-1;while(1){g=(f+h|0)/2|0;j=Ad(e,v[(g<<2)+896288>>2]);k=(j|0)>0;f=k?f:g;h=k?g:(j|0)<0?h:g;if((f-h|0)>1){continue}break}if(j){v[i>>2]=e;kc(1,-1,246616,i);g=0;break a}e=v[d>>2];f=v[a+1056>>2];g:{if((e|0)<(f|0)){f=v[a+1048>>2];break g}e=f?f<<1:16;v[a+1056>>2]=e;f=pd(v[a+1048>>2],e,16);v[a+1048>>2]=f;e=v[d>>2]}v[(e<<4)+f>>2]=h;v[d>>2]=v[d>>2]+1}e=v[c>>2];if((e|0)>2]){continue}break}}kc(1,-1,256959,0);g=0;break a}kc(1,-1,256861,0);g=0}Qb=i+16|0;return g}function IMa(a,b){a=a|0;b=b|0;var 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,x=0,y=0;m=v[a+4>>2];i=w[m+36|0];k=i?-1:0;f=v[m+44>>2];j=f>>>16|0;c=v[a+24>>2];s=v[a+20>>2];g=v[a+16>>2];n=v[a+12>>2];e=v[a+8>>2];d=!(f&16777216);a:{b:{while(1){if(!d){i=0;c:{d=s-g>>1;h=n-e|0;h=(d|0)<(h|0)?d:h;d:{if((h|0)<1){d=e;break d}d=e;while(1){e=w[d|0];d=d+1|0;e:{if(!((e|0)!=92&(e-32&255)>>>0<94)){if(1<>>0<=13:0){break e}t[m+37|0]=e;v[b>>2]=12;i=1;break d}if((e|0)==43){break c}}u[g>>1]=e;if(c){v[c>>2]=k;k=k+1|0;c=c+4|0}else{c=0}g=g+2|0;e=(h|0)>1;h=h-1|0;if(e){continue}break}}o=16777216;if(d>>>0>=n>>>0){break a}p=15;if(g>>>0>=s>>>0){break b}break a}j=255;f=0;k=k+1|0;r=k;e=d;d=1;continue}if(e>>>0>=n>>>0){o=0;d=e;break a}o=0;p=15;d=e;h=k;f:{g:{h:{while(1){x=i;k=r;e=d;if(g>>>0>=s>>>0){break f}q=w[e|0];t[((x&255)+m|0)+37|0]=q;i=x+1|0;d=e+1|0;i:{j:{if(q>>>0>125){l=253;break j}y=w[q+852448|0];l=y<<24>>24;if((y&253)!=253){break i}}if((j&255)==255){t[m+37|0]=43;o=16777216;i=1;p=12;j=255;d=e;break b}o=16777216;p=12;if(f&65535){break f}f=0;if((l&255)!=253){break g}break b}r=k+1|0;k:{l:{if((l|0)>=0){m:{switch((j<<24>>24)+1|0){case 2:case 4:case 5:case 7:j=j+1|0;f=(f&65535)<<6|l;break k;case 3:u[g>>1]=f<<4|l>>>2;if(c){v[c>>2]=h;h=k;c=c+4|0}else{c=0}g=g+2|0;t[m+37|0]=q;j=3;f=l&3;i=1;break k;case 6:u[g>>1]=f<<2|l>>>4;if(c){v[c>>2]=h;h=k;c=c+4|0}else{c=0}g=g+2|0;t[m+37|0]=q;f=l&15;j=6;i=1;break k;case 0:case 1:break l;case 8:break m;default:break k}}u[g>>1]=f<<6|l;g=g+2|0;if(!c){c=0;i=0;f=0;j=0;break k}v[c>>2]=h;c=c+4|0;i=0;f=0;j=0;h=r;break k}n:{if((j&255)==255){u[g>>1]=43;g=g+2|0;if(c){v[c>>2]=h-1;c=c+4|0}else{c=0}j=255;break n}if(f&65535){break h}f=0}k=r;e=d;break g}f=l&255;j=1}if((d|0)!=(n|0)){continue}break}d=n;break a}o=16777216;p=12;break b}d=0;continue}break}i=x;d=e}v[b>>2]=p}t[m+36|0]=!w[a+2|0]|v[b>>2]>0?i:(d|0)==(n|0)?f&65535?i:0:i;v[m+44>>2]=f&65535|((j&255)<<16|o);v[a+24>>2]=c;v[a+16>>2]=g;v[a+8>>2]=d}function NIa(a,b){a=a|0;b=b|0;var 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;h=v[a+420>>2];if(v[a+236>>2]){e=v[h+68>>2];if(!e){Ju(a,v[h+72>>2]);e=v[a+236>>2];v[h+68>>2]=e;v[h+72>>2]=v[h+72>>2]+1&7}v[h+68>>2]=e-1}if(v[a+316>>2]>=1){r=h+204|0;p=v[a+380>>2];while(1){f=q<<2;c=v[(f+a|0)+320>>2]<<2;m=v[(c+a|0)+292>>2];k=v[m+20>>2];j=(k<<2)+h|0;g=c+h|0;l=g;n=v[j+76>>2]+v[g+52>>2]|0;o=v[b+f>>2];c=u[o>>1];d=c-v[g+36>>2]|0;a:{if(!d){pe(a,n,0);v[l+52>>2]=0;break a}v[g+36>>2]=c;pe(a,n,1);e=0;b:{if((d|0)>0){i=2;f=0;c=4;break b}d=0-d|0;i=3;f=1;c=8}pe(a,n+1|0,f);v[l+52>>2]=c;c=i+n|0;g=d-1|0;c:{if(!g){break c}e=1;pe(a,c,1);c=v[j+76>>2]+20|0;d=g;if((d|0)==1){break c}while(1){pe(a,c,1);c=c+1|0;e=e<<1;d=d>>1;if(d>>>0>1){continue}break}}pe(a,c,0);f=l;d=a+k|0;d:{if(1<>1<=(e|0)){if(1<>1>=(e|0)){break d}d=v[l+52>>2]+8|0}else{d=0}v[f+52>>2]=d}if(e>>>0<2){break a}c=c+14|0;while(1){e=e>>1;pe(a,c,(g&e)!=0);if(e>>>0>1){continue}break}}f=v[m+24>>2];d=v[a+384>>2];i=d;e:{f:{if((d|0)>=1){while(1){if(x[(v[(i<<2)+p>>2]<<1)+o>>1]){break f}c=(i|0)>1;i=i-1|0;if(c){continue}break}}m=((f<<2)+h|0)+140|0;c=1;break e}l=a+f|0;k=(f<<2)+h|0;m=k+140|0;c=1;while(1){e=(v[k+140>>2]+B(c,3)|0)-3|0;pe(a,e,0);d=x[(v[(c<<2)+p>>2]<<1)+o>>1];if(!d){while(1){pe(a,e+1|0,0);e=e+3|0;c=c+1|0;d=x[(v[(c<<2)+p>>2]<<1)+o>>1];if(!d){continue}break}}g=c;pe(a,e+1|0,1);f=d<<16;c=f>>16;pe(a,r,(c|0)<1);d=e+2|0;g:{h:{i:{j:{e=c;c=f>>31;j=(e+c^c)-1|0;if(!j){break j}pe(a,d,1);if((j|0)==1){break j}pe(a,d,1);c=v[k+140>>2]+((g|0)>w[l+184|0]?217:189)|0;e=2;d=j>>1;if(d>>>0>1){break i}pe(a,c,0);c=c+14|0;break h}pe(a,d,0);break g}while(1){f=c;pe(a,c,1);c=c+1|0;e=e<<1;d=d>>1;if(d>>>0>=2){continue}break}pe(a,c,0);if(!e){break g}c=f+15|0}while(1){e=e>>1;pe(a,c,(j&e)!=0);if(e>>>0>1){continue}break}}c=g+1|0;if((g|0)<(i|0)){continue}break}d=v[a+384>>2]}if((c|0)<=(d|0)){pe(a,(v[m>>2]+B(c,3)|0)-3|0,1)}q=q+1|0;if((q|0)>2]){continue}break}}return 1}function xSa(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,h=0,i=0,j=0,k=0,l=0,m=0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){qd(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Dd(a);a:{if(!v[a+12>>2]){break a}v[a+1176>>2]=v[a+84>>2];if(!(!w[b+1160|0]|v[b+1172>>2]!=2)){qd(b+100|0,b,v[b+1164>>2],v[b+1168>>2]);v[b+1172>>2]=3}Dd(b);if(!v[b+12>>2]){break a}g=v[b+84>>2];v[b+1176>>2]=g;h=v[b+88>>2];i=v[a+88>>2];h=(h|0)<(i|0)?h:i;i=v[b+80>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((h|0)<(i|0)){break a}j=v[a+84>>2];k=(g|0)>(j|0)?g:j;g=v[b+92>>2];j=v[a+92>>2];if((k|0)>(((g|0)<(j|0)?g:j)|0)){break a}g=(h-i|0)+3|0;b:{if(g>>>0<=y[e+24>>2]){break b}h=v[e+20>>2];if(h){dc(h)}v[e+24>>2]=g;l=e,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[e+12>>2]){break b}h=v[e+8>>2];if(h){dc(h)}v[e+12>>2]=g;l=e,m=fc(g),v[l+8>>2]=m}v[e>>2]=2147483632;v[e+16>>2]=v[e+8>>2];g=v[e+20>>2];v[e+28>>2]=g;u[g+2>>1]=0;g=(v[a+88>>2]-v[a+80>>2]|0)+3|0;c:{if(g>>>0<=y[c+24>>2]){break c}h=v[c+20>>2];if(h){dc(h)}v[c+24>>2]=g;l=c,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[c+12>>2]){break c}h=v[c+8>>2];if(h){dc(h)}v[c+12>>2]=g;l=c,m=fc(g),v[l+8>>2]=m}v[c>>2]=2147483632;v[c+16>>2]=v[c+8>>2];g=v[c+20>>2];v[c+28>>2]=g;u[g+2>>1]=0;g=(v[b+88>>2]-v[b+80>>2]|0)+3|0;d:{if(g>>>0<=y[d+24>>2]){break d}h=v[d+20>>2];if(h){dc(h)}v[d+24>>2]=g;l=d,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[d+12>>2]){break d}h=v[d+8>>2];if(h){dc(h)}v[d+12>>2]=g;l=d,m=fc(g),v[l+8>>2]=m}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];g=v[d+20>>2];v[d+28>>2]=g;u[g+2>>1]=0;if(!Kc(a,c)){break a}if(!Kc(b,d)){break a}while(1){g=v[c+4>>2];h=v[d+4>>2];if((g|0)>=(h|0)){if((g|0)>(h|0)){while(1){if(!Kc(b,d)){break a}g=v[c+4>>2];h=v[d+4>>2];if((g|0)>(h|0)){continue}break}}if((g|0)!=(h|0)){continue}wf(c,d,e);if(v[e+28>>2]!=v[e+20>>2]){v[e+4>>2]=v[c+4>>2];XX(e,v[f>>2],v[f+4>>2],v[f+8>>2])}if(!Kc(a,c)){break a}if(Kc(b,d)){continue}break a}if(Kc(a,c)){continue}break}}}function vSa(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,h=0,i=0,j=0,k=0,l=0,m=0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){qd(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Dd(a);a:{if(!v[a+12>>2]){break a}v[a+1176>>2]=v[a+84>>2];if(!(!w[b+1160|0]|v[b+1172>>2]!=2)){qd(b+100|0,b,v[b+1164>>2],v[b+1168>>2]);v[b+1172>>2]=3}Dd(b);if(!v[b+12>>2]){break a}g=v[b+84>>2];v[b+1176>>2]=g;h=v[b+88>>2];i=v[a+88>>2];h=(h|0)<(i|0)?h:i;i=v[b+80>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((h|0)<(i|0)){break a}j=v[a+84>>2];k=(g|0)>(j|0)?g:j;g=v[b+92>>2];j=v[a+92>>2];if((k|0)>(((g|0)<(j|0)?g:j)|0)){break a}g=(h-i|0)+3|0;b:{if(g>>>0<=y[e+24>>2]){break b}h=v[e+20>>2];if(h){dc(h)}v[e+24>>2]=g;l=e,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[e+12>>2]){break b}h=v[e+8>>2];if(h){dc(h)}v[e+12>>2]=g;l=e,m=fc(g),v[l+8>>2]=m}v[e>>2]=2147483632;v[e+16>>2]=v[e+8>>2];g=v[e+20>>2];v[e+28>>2]=g;u[g+2>>1]=0;g=(v[a+88>>2]-v[a+80>>2]|0)+3|0;c:{if(g>>>0<=y[c+24>>2]){break c}h=v[c+20>>2];if(h){dc(h)}v[c+24>>2]=g;l=c,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[c+12>>2]){break c}h=v[c+8>>2];if(h){dc(h)}v[c+12>>2]=g;l=c,m=fc(g),v[l+8>>2]=m}v[c>>2]=2147483632;v[c+16>>2]=v[c+8>>2];g=v[c+20>>2];v[c+28>>2]=g;u[g+2>>1]=0;g=(v[b+88>>2]-v[b+80>>2]|0)+3|0;d:{if(g>>>0<=y[d+24>>2]){break d}h=v[d+20>>2];if(h){dc(h)}v[d+24>>2]=g;l=d,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[d+12>>2]){break d}h=v[d+8>>2];if(h){dc(h)}v[d+12>>2]=g;l=d,m=fc(g),v[l+8>>2]=m}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];g=v[d+20>>2];v[d+28>>2]=g;u[g+2>>1]=0;if(!Kc(a,c)){break a}if(!Kc(b,d)){break a}while(1){g=v[c+4>>2];h=v[d+4>>2];if((g|0)>=(h|0)){if((g|0)>(h|0)){while(1){if(!Kc(b,d)){break a}g=v[c+4>>2];h=v[d+4>>2];if((g|0)>(h|0)){continue}break}}if((g|0)!=(h|0)){continue}wf(c,d,e);if(v[e+28>>2]!=v[e+20>>2]){v[e+4>>2]=v[c+4>>2];VX(e,v[f>>2],v[f+4>>2],v[f+8>>2])}if(!Kc(a,c)){break a}if(Kc(b,d)){continue}break a}if(Kc(a,c)){continue}break}}}function tSa(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,h=0,i=0,j=0,k=0,l=0,m=0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){qd(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Dd(a);a:{if(!v[a+12>>2]){break a}v[a+1176>>2]=v[a+84>>2];if(!(!w[b+1160|0]|v[b+1172>>2]!=2)){qd(b+100|0,b,v[b+1164>>2],v[b+1168>>2]);v[b+1172>>2]=3}Dd(b);if(!v[b+12>>2]){break a}g=v[b+84>>2];v[b+1176>>2]=g;h=v[b+88>>2];i=v[a+88>>2];h=(h|0)<(i|0)?h:i;i=v[b+80>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((h|0)<(i|0)){break a}j=v[a+84>>2];k=(g|0)>(j|0)?g:j;g=v[b+92>>2];j=v[a+92>>2];if((k|0)>(((g|0)<(j|0)?g:j)|0)){break a}g=(h-i|0)+3|0;b:{if(g>>>0<=y[e+24>>2]){break b}h=v[e+20>>2];if(h){dc(h)}v[e+24>>2]=g;l=e,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[e+12>>2]){break b}h=v[e+8>>2];if(h){dc(h)}v[e+12>>2]=g;l=e,m=fc(g),v[l+8>>2]=m}v[e>>2]=2147483632;v[e+16>>2]=v[e+8>>2];g=v[e+20>>2];v[e+28>>2]=g;u[g+2>>1]=0;g=(v[a+88>>2]-v[a+80>>2]|0)+3|0;c:{if(g>>>0<=y[c+24>>2]){break c}h=v[c+20>>2];if(h){dc(h)}v[c+24>>2]=g;l=c,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[c+12>>2]){break c}h=v[c+8>>2];if(h){dc(h)}v[c+12>>2]=g;l=c,m=fc(g),v[l+8>>2]=m}v[c>>2]=2147483632;v[c+16>>2]=v[c+8>>2];g=v[c+20>>2];v[c+28>>2]=g;u[g+2>>1]=0;g=(v[b+88>>2]-v[b+80>>2]|0)+3|0;d:{if(g>>>0<=y[d+24>>2]){break d}h=v[d+20>>2];if(h){dc(h)}v[d+24>>2]=g;l=d,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[d+12>>2]){break d}h=v[d+8>>2];if(h){dc(h)}v[d+12>>2]=g;l=d,m=fc(g),v[l+8>>2]=m}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];g=v[d+20>>2];v[d+28>>2]=g;u[g+2>>1]=0;if(!Kc(a,c)){break a}if(!Kc(b,d)){break a}while(1){g=v[c+4>>2];h=v[d+4>>2];if((g|0)>=(h|0)){if((g|0)>(h|0)){while(1){if(!Kc(b,d)){break a}g=v[c+4>>2];h=v[d+4>>2];if((g|0)>(h|0)){continue}break}}if((g|0)!=(h|0)){continue}wf(c,d,e);if(v[e+28>>2]!=v[e+20>>2]){v[e+4>>2]=v[c+4>>2];TX(e,v[f>>2],v[f+4>>2],v[f+8>>2])}if(!Kc(a,c)){break a}if(Kc(b,d)){continue}break a}if(Kc(a,c)){continue}break}}}function maa(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){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;m=m|0;n=n|0;o=o|0;var p=0,q=0,r=0,s=0,u=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;y=Qb-16|0;Qb=y;v[c>>2]=a;B=d&512;while(1){if((z|0)==4){if(w[n+11|0]>>>7|0){e=v[n+4>>2]}else{e=w[n+11|0]}if(e>>>0>1){D=y,E=xi(n),v[D+8>>2]=E;D=c,E=rw(WL(y+8|0,1),Hn(n),v[c>>2]),v[D>>2]=E}d=d&176;if((d|0)!=16){if((d|0)==32){a=v[c>>2]}v[b>>2]=a}Qb=y+16|0;return}a:{b:{switch(t[i+z|0]){case 0:v[b>>2]=v[c>>2];break a;case 1:v[b>>2]=v[c>>2];p=Ub[v[v[g>>2]+28>>2]](g,32)|0;q=v[c>>2];v[c>>2]=q+1;t[q|0]=p;break a;case 3:if(w[n+11|0]>>>7|0){p=v[n+4>>2]}else{p=w[n+11|0]}if(!p){break a}if(w[n+11|0]>>>7|0){p=v[n>>2]}else{p=n}p=w[p|0];q=v[c>>2];v[c>>2]=q+1;t[q|0]=p;break a;case 2:if(w[m+11|0]>>>7|0){p=v[m+4>>2]}else{p=w[m+11|0]}if(!p|!B){break a}D=c,E=rw(xi(m),Hn(m),v[c>>2]),v[D>>2]=E;break a;case 4:break b;default:break a}}C=v[c>>2];e=e+h|0;r=e;while(1){c:{if(f>>>0<=r>>>0){break c}p=t[r|0];if((p|0)>=0){p=(x[v[g+8>>2]+((p&255)<<1)>>1]&2048)!=0}else{p=0}if(!p){break c}r=r+1|0;continue}break}p=o;if((p|0)>=1){while(1){if(!((p|0)<1|e>>>0>=r>>>0)){r=r-1|0;q=w[r|0];s=v[c>>2];v[c>>2]=s+1;t[s|0]=q;p=p-1|0;continue}break}if((p|0)<1){q=0}else{q=Ub[v[v[g>>2]+28>>2]](g,48)|0}while(1){s=v[c>>2];v[c>>2]=s+1;if((p|0)>=1){t[s|0]=q;p=p-1|0;continue}break}t[s|0]=j}d:{if((e|0)==(r|0)){p=Ub[v[v[g>>2]+28>>2]](g,48)|0;q=v[c>>2];v[c>>2]=q+1;t[q|0]=p;break d}if(w[l+11|0]>>>7|0){p=v[l>>2]}else{p=l}q=t[p|0];if(w[l+11|0]>>>7|0){p=v[l+4>>2]}else{p=w[l+11|0]}q=p?q:-1;p=0;u=0;while(1){if((e|0)==(r|0)){break d}e:{if((p|0)!=(q|0)){s=p;break e}q=v[c>>2];v[c>>2]=q+1;t[q|0]=k;s=0;if(w[l+11|0]>>>7|0){q=v[l+4>>2]}else{q=w[l+11|0]}u=u+1|0;if(q>>>0<=u>>>0){q=p;break e}if(w[l+11|0]>>>7|0){p=v[l>>2]}else{p=l}if(w[p+u|0]==127){q=-1;break e}if(w[l+11|0]>>>7|0){p=v[l>>2]}else{p=l}q=t[p+u|0]}r=r-1|0;p=w[r|0];A=v[c>>2];v[c>>2]=A+1;t[A|0]=p;p=s+1|0;continue}}Fn(C,v[c>>2])}z=z+1|0;continue}}function mY(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,E=0,F=0,G=0,H=0,I=C(0),J=0,K=C(0),L=0,M=0,N=0,O=0;n=v[a+20>>2];x=v[a+28>>2]-n>>3;r=v[a+4>>2];E=+(r|0);while(1){F=v[n+12>>2];h=u[n+8>>1];a=u[n+10>>1];f=a>>31;j=(f^a+f)&65535;f=v[c+4>>2];a:{if(j>>>0<=f>>>0){break a}o=f;f=j+255&130816;if((o|0)==(f|0)){break a}e=v[c>>2];if(e){dc(e)}v[c+4>>2]=f;N=c,O=fc(f<<2),v[N>>2]=O}y=0;s=v[c>>2];o=s;f=h;if(a){while(1){g=+(f|0);p=(A[d+88>>3]+(A[d+56>>3]*g+A[d+72>>3]*E))*A[d+24>>3]+A[d+32>>3]*(A[d+96>>3]+(A[d+64>>3]*g+A[d+80>>3]*E));g=D(A[d+40>>3]+p);p=D(p+A[d+48>>3]);G=g>p?0:1;g=(g>=1?G:p>=1?G:g)*512+.5;b:{if(D(g)<2147483648){e=~~g;break b}e=-2147483648}H=(e+d|0)+2168|0;if(!w[H|0]){i=v[d+112>>2];c:{if((i|0)>=2){g=+(e|0)*.001953125;k=v[d+108>>2];a=1;while(1){l=a<<2;I=z[l+k>>2];if(g<+I){if(!(!(g<+z[k>>2])|(a|0)!=1)){a=v[d+104>>2];v[((e<<2)+d|0)+116>>2]=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);break c}a=v[d+104>>2];i=a+l|0;m=a;a=l-4|0;l=m+a|0;J=w[l+3|0];L=w[i+3|0]-J|0;M=(e<<2)+d|0;m=w[l|0];q=m;K=z[a+k>>2];g=(g-+K)/+C(I-K)*256+.5;d:{if(g<4294967296&g>=0){a=~~g>>>0;break d}a=0}m=q+(B(a,w[i|0]-m|0)>>>8|0)&255;k=w[l+2|0];q=(B(a,L)>>>8|0)+J<<24|((B(a,w[i+2|0]-k|0)>>>8|0)+k&255)<<16;k=w[i+1|0];i=w[l+1|0];v[M+116>>2]=m|(q|((B(a,k-i|0)>>>8|0)+i&255)<<8);break c}a=a+1|0;if((i|0)!=(a|0)){continue}break}}a=v[d+104>>2];if(!a|(i|0)<1){break c}a=(a+(i<<2)|0)-4|0;v[((e<<2)+d|0)+116>>2]=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24)}t[H|0]=1}a=o;e=v[((e<<2)+d|0)+116>>2];t[a|0]=e;t[a+1|0]=e>>>8;t[a+2|0]=e>>>16;t[a+3|0]=e>>>24;f=f+1|0;o=a+4|0;y=y+1|0;if((y|0)!=(j|0)){continue}break}}e:{if(v[b+16>>2]<(r|0)|v[b+8>>2]>(r|0)){break e}e=u[n+10>>1]<0;f=e?0:F;o=w[F|0];a=v[b+4>>2];f:{if((h|0)>=(a|0)){a=h;break f}h=a-h|0;j=j-h|0;if((j|0)<1){break e}f=e?0:f+h|0;s=(h<<2)+s|0}q=v[b>>2];e=a;m=r;h=v[b+12>>2];if((h|0)<(a+j|0)){h=h-a|0;if((h|0)<0){break e}j=h+1|0}ig(q,e,m,j,s,f,o)}n=n+8|0;x=x-1|0;if(x){continue}break}}function kTa(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,h=0,i=0,j=0,k=0,l=0,m=0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){qd(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Dd(a);a:{if(!v[a+12>>2]){break a}v[a+1176>>2]=v[a+84>>2];if(!(!w[b+1160|0]|v[b+1172>>2]!=2)){qd(b+100|0,b,v[b+1164>>2],v[b+1168>>2]);v[b+1172>>2]=3}Dd(b);if(!v[b+12>>2]){break a}g=v[b+84>>2];v[b+1176>>2]=g;h=v[b+88>>2];i=v[a+88>>2];h=(h|0)<(i|0)?h:i;i=v[b+80>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((h|0)<(i|0)){break a}j=v[a+84>>2];k=(g|0)>(j|0)?g:j;g=v[b+92>>2];j=v[a+92>>2];if((k|0)>(((g|0)<(j|0)?g:j)|0)){break a}g=(h-i|0)+3|0;b:{if(g>>>0<=y[e+24>>2]){break b}h=v[e+20>>2];if(h){dc(h)}v[e+24>>2]=g;l=e,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[e+12>>2]){break b}h=v[e+8>>2];if(h){dc(h)}v[e+12>>2]=g;l=e,m=fc(g),v[l+8>>2]=m}v[e>>2]=2147483632;v[e+16>>2]=v[e+8>>2];g=v[e+20>>2];v[e+28>>2]=g;u[g+2>>1]=0;g=(v[a+88>>2]-v[a+80>>2]|0)+3|0;c:{if(g>>>0<=y[c+24>>2]){break c}h=v[c+20>>2];if(h){dc(h)}v[c+24>>2]=g;l=c,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[c+12>>2]){break c}h=v[c+8>>2];if(h){dc(h)}v[c+12>>2]=g;l=c,m=fc(g),v[l+8>>2]=m}v[c>>2]=2147483632;v[c+16>>2]=v[c+8>>2];g=v[c+20>>2];v[c+28>>2]=g;u[g+2>>1]=0;g=(v[b+88>>2]-v[b+80>>2]|0)+3|0;d:{if(g>>>0<=y[d+24>>2]){break d}h=v[d+20>>2];if(h){dc(h)}v[d+24>>2]=g;l=d,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[d+12>>2]){break d}h=v[d+8>>2];if(h){dc(h)}v[d+12>>2]=g;l=d,m=fc(g),v[l+8>>2]=m}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];g=v[d+20>>2];v[d+28>>2]=g;u[g+2>>1]=0;if(!Kc(a,c)){break a}if(!Kc(b,d)){break a}while(1){g=v[c+4>>2];h=v[d+4>>2];if((g|0)>=(h|0)){if((g|0)>(h|0)){while(1){if(!Kc(b,d)){break a}g=v[c+4>>2];h=v[d+4>>2];if((g|0)>(h|0)){continue}break}}if((g|0)!=(h|0)){continue}wf(c,d,e);if(v[e+28>>2]!=v[e+20>>2]){v[e+4>>2]=v[c+4>>2];jY(e,v[f>>2],v[f+4>>2],v[f+8>>2])}if(!Kc(a,c)){break a}if(Kc(b,d)){continue}break a}if(Kc(a,c)){continue}break}}}function gTa(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,h=0,i=0,j=0,k=0,l=0,m=0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){qd(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Dd(a);a:{if(!v[a+12>>2]){break a}v[a+1176>>2]=v[a+84>>2];if(!(!w[b+1160|0]|v[b+1172>>2]!=2)){qd(b+100|0,b,v[b+1164>>2],v[b+1168>>2]);v[b+1172>>2]=3}Dd(b);if(!v[b+12>>2]){break a}g=v[b+84>>2];v[b+1176>>2]=g;h=v[b+88>>2];i=v[a+88>>2];h=(h|0)<(i|0)?h:i;i=v[b+80>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((h|0)<(i|0)){break a}j=v[a+84>>2];k=(g|0)>(j|0)?g:j;g=v[b+92>>2];j=v[a+92>>2];if((k|0)>(((g|0)<(j|0)?g:j)|0)){break a}g=(h-i|0)+3|0;b:{if(g>>>0<=y[e+24>>2]){break b}h=v[e+20>>2];if(h){dc(h)}v[e+24>>2]=g;l=e,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[e+12>>2]){break b}h=v[e+8>>2];if(h){dc(h)}v[e+12>>2]=g;l=e,m=fc(g),v[l+8>>2]=m}v[e>>2]=2147483632;v[e+16>>2]=v[e+8>>2];g=v[e+20>>2];v[e+28>>2]=g;u[g+2>>1]=0;g=(v[a+88>>2]-v[a+80>>2]|0)+3|0;c:{if(g>>>0<=y[c+24>>2]){break c}h=v[c+20>>2];if(h){dc(h)}v[c+24>>2]=g;l=c,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[c+12>>2]){break c}h=v[c+8>>2];if(h){dc(h)}v[c+12>>2]=g;l=c,m=fc(g),v[l+8>>2]=m}v[c>>2]=2147483632;v[c+16>>2]=v[c+8>>2];g=v[c+20>>2];v[c+28>>2]=g;u[g+2>>1]=0;g=(v[b+88>>2]-v[b+80>>2]|0)+3|0;d:{if(g>>>0<=y[d+24>>2]){break d}h=v[d+20>>2];if(h){dc(h)}v[d+24>>2]=g;l=d,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[d+12>>2]){break d}h=v[d+8>>2];if(h){dc(h)}v[d+12>>2]=g;l=d,m=fc(g),v[l+8>>2]=m}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];g=v[d+20>>2];v[d+28>>2]=g;u[g+2>>1]=0;if(!Kc(a,c)){break a}if(!Kc(b,d)){break a}while(1){g=v[c+4>>2];h=v[d+4>>2];if((g|0)>=(h|0)){if((g|0)>(h|0)){while(1){if(!Kc(b,d)){break a}g=v[c+4>>2];h=v[d+4>>2];if((g|0)>(h|0)){continue}break}}if((g|0)!=(h|0)){continue}wf(c,d,e);if(v[e+28>>2]!=v[e+20>>2]){v[e+4>>2]=v[c+4>>2];hY(e,v[f>>2],v[f+4>>2],v[f+8>>2])}if(!Kc(a,c)){break a}if(Kc(b,d)){continue}break a}if(Kc(a,c)){continue}break}}}function dTa(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,h=0,i=0,j=0,k=0,l=0,m=0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){qd(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Dd(a);a:{if(!v[a+12>>2]){break a}v[a+1176>>2]=v[a+84>>2];if(!(!w[b+1160|0]|v[b+1172>>2]!=2)){qd(b+100|0,b,v[b+1164>>2],v[b+1168>>2]);v[b+1172>>2]=3}Dd(b);if(!v[b+12>>2]){break a}g=v[b+84>>2];v[b+1176>>2]=g;h=v[b+88>>2];i=v[a+88>>2];h=(h|0)<(i|0)?h:i;i=v[b+80>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((h|0)<(i|0)){break a}j=v[a+84>>2];k=(g|0)>(j|0)?g:j;g=v[b+92>>2];j=v[a+92>>2];if((k|0)>(((g|0)<(j|0)?g:j)|0)){break a}g=(h-i|0)+3|0;b:{if(g>>>0<=y[e+24>>2]){break b}h=v[e+20>>2];if(h){dc(h)}v[e+24>>2]=g;l=e,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[e+12>>2]){break b}h=v[e+8>>2];if(h){dc(h)}v[e+12>>2]=g;l=e,m=fc(g),v[l+8>>2]=m}v[e>>2]=2147483632;v[e+16>>2]=v[e+8>>2];g=v[e+20>>2];v[e+28>>2]=g;u[g+2>>1]=0;g=(v[a+88>>2]-v[a+80>>2]|0)+3|0;c:{if(g>>>0<=y[c+24>>2]){break c}h=v[c+20>>2];if(h){dc(h)}v[c+24>>2]=g;l=c,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[c+12>>2]){break c}h=v[c+8>>2];if(h){dc(h)}v[c+12>>2]=g;l=c,m=fc(g),v[l+8>>2]=m}v[c>>2]=2147483632;v[c+16>>2]=v[c+8>>2];g=v[c+20>>2];v[c+28>>2]=g;u[g+2>>1]=0;g=(v[b+88>>2]-v[b+80>>2]|0)+3|0;d:{if(g>>>0<=y[d+24>>2]){break d}h=v[d+20>>2];if(h){dc(h)}v[d+24>>2]=g;l=d,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[d+12>>2]){break d}h=v[d+8>>2];if(h){dc(h)}v[d+12>>2]=g;l=d,m=fc(g),v[l+8>>2]=m}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];g=v[d+20>>2];v[d+28>>2]=g;u[g+2>>1]=0;if(!Kc(a,c)){break a}if(!Kc(b,d)){break a}while(1){g=v[c+4>>2];h=v[d+4>>2];if((g|0)>=(h|0)){if((g|0)>(h|0)){while(1){if(!Kc(b,d)){break a}g=v[c+4>>2];h=v[d+4>>2];if((g|0)>(h|0)){continue}break}}if((g|0)!=(h|0)){continue}wf(c,d,e);if(v[e+28>>2]!=v[e+20>>2]){v[e+4>>2]=v[c+4>>2];fY(e,v[f>>2],v[f+4>>2],v[f+8>>2])}if(!Kc(a,c)){break a}if(Kc(b,d)){continue}break a}if(Kc(a,c)){continue}break}}}function HSa(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,h=0,i=0,j=0,k=0,l=0,m=0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){qd(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Dd(a);a:{if(!v[a+12>>2]){break a}v[a+1176>>2]=v[a+84>>2];if(!(!w[b+1160|0]|v[b+1172>>2]!=2)){qd(b+100|0,b,v[b+1164>>2],v[b+1168>>2]);v[b+1172>>2]=3}Dd(b);if(!v[b+12>>2]){break a}g=v[b+84>>2];v[b+1176>>2]=g;h=v[b+88>>2];i=v[a+88>>2];h=(h|0)<(i|0)?h:i;i=v[b+80>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((h|0)<(i|0)){break a}j=v[a+84>>2];k=(g|0)>(j|0)?g:j;g=v[b+92>>2];j=v[a+92>>2];if((k|0)>(((g|0)<(j|0)?g:j)|0)){break a}g=(h-i|0)+3|0;b:{if(g>>>0<=y[e+24>>2]){break b}h=v[e+20>>2];if(h){dc(h)}v[e+24>>2]=g;l=e,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[e+12>>2]){break b}h=v[e+8>>2];if(h){dc(h)}v[e+12>>2]=g;l=e,m=fc(g),v[l+8>>2]=m}v[e>>2]=2147483632;v[e+16>>2]=v[e+8>>2];g=v[e+20>>2];v[e+28>>2]=g;u[g+2>>1]=0;g=(v[a+88>>2]-v[a+80>>2]|0)+3|0;c:{if(g>>>0<=y[c+24>>2]){break c}h=v[c+20>>2];if(h){dc(h)}v[c+24>>2]=g;l=c,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[c+12>>2]){break c}h=v[c+8>>2];if(h){dc(h)}v[c+12>>2]=g;l=c,m=fc(g),v[l+8>>2]=m}v[c>>2]=2147483632;v[c+16>>2]=v[c+8>>2];g=v[c+20>>2];v[c+28>>2]=g;u[g+2>>1]=0;g=(v[b+88>>2]-v[b+80>>2]|0)+3|0;d:{if(g>>>0<=y[d+24>>2]){break d}h=v[d+20>>2];if(h){dc(h)}v[d+24>>2]=g;l=d,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[d+12>>2]){break d}h=v[d+8>>2];if(h){dc(h)}v[d+12>>2]=g;l=d,m=fc(g),v[l+8>>2]=m}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];g=v[d+20>>2];v[d+28>>2]=g;u[g+2>>1]=0;if(!Kc(a,c)){break a}if(!Kc(b,d)){break a}while(1){g=v[c+4>>2];h=v[d+4>>2];if((g|0)>=(h|0)){if((g|0)>(h|0)){while(1){if(!Kc(b,d)){break a}g=v[c+4>>2];h=v[d+4>>2];if((g|0)>(h|0)){continue}break}}if((g|0)!=(h|0)){continue}wf(c,d,e);if(v[e+28>>2]!=v[e+20>>2]){v[e+4>>2]=v[c+4>>2];dY(e,v[f>>2],v[f+4>>2],v[f+8>>2])}if(!Kc(a,c)){break a}if(Kc(b,d)){continue}break a}if(Kc(a,c)){continue}break}}}function FSa(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,h=0,i=0,j=0,k=0,l=0,m=0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){qd(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Dd(a);a:{if(!v[a+12>>2]){break a}v[a+1176>>2]=v[a+84>>2];if(!(!w[b+1160|0]|v[b+1172>>2]!=2)){qd(b+100|0,b,v[b+1164>>2],v[b+1168>>2]);v[b+1172>>2]=3}Dd(b);if(!v[b+12>>2]){break a}g=v[b+84>>2];v[b+1176>>2]=g;h=v[b+88>>2];i=v[a+88>>2];h=(h|0)<(i|0)?h:i;i=v[b+80>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((h|0)<(i|0)){break a}j=v[a+84>>2];k=(g|0)>(j|0)?g:j;g=v[b+92>>2];j=v[a+92>>2];if((k|0)>(((g|0)<(j|0)?g:j)|0)){break a}g=(h-i|0)+3|0;b:{if(g>>>0<=y[e+24>>2]){break b}h=v[e+20>>2];if(h){dc(h)}v[e+24>>2]=g;l=e,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[e+12>>2]){break b}h=v[e+8>>2];if(h){dc(h)}v[e+12>>2]=g;l=e,m=fc(g),v[l+8>>2]=m}v[e>>2]=2147483632;v[e+16>>2]=v[e+8>>2];g=v[e+20>>2];v[e+28>>2]=g;u[g+2>>1]=0;g=(v[a+88>>2]-v[a+80>>2]|0)+3|0;c:{if(g>>>0<=y[c+24>>2]){break c}h=v[c+20>>2];if(h){dc(h)}v[c+24>>2]=g;l=c,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[c+12>>2]){break c}h=v[c+8>>2];if(h){dc(h)}v[c+12>>2]=g;l=c,m=fc(g),v[l+8>>2]=m}v[c>>2]=2147483632;v[c+16>>2]=v[c+8>>2];g=v[c+20>>2];v[c+28>>2]=g;u[g+2>>1]=0;g=(v[b+88>>2]-v[b+80>>2]|0)+3|0;d:{if(g>>>0<=y[d+24>>2]){break d}h=v[d+20>>2];if(h){dc(h)}v[d+24>>2]=g;l=d,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[d+12>>2]){break d}h=v[d+8>>2];if(h){dc(h)}v[d+12>>2]=g;l=d,m=fc(g),v[l+8>>2]=m}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];g=v[d+20>>2];v[d+28>>2]=g;u[g+2>>1]=0;if(!Kc(a,c)){break a}if(!Kc(b,d)){break a}while(1){g=v[c+4>>2];h=v[d+4>>2];if((g|0)>=(h|0)){if((g|0)>(h|0)){while(1){if(!Kc(b,d)){break a}g=v[c+4>>2];h=v[d+4>>2];if((g|0)>(h|0)){continue}break}}if((g|0)!=(h|0)){continue}wf(c,d,e);if(v[e+28>>2]!=v[e+20>>2]){v[e+4>>2]=v[c+4>>2];bY(e,v[f>>2],v[f+4>>2],v[f+8>>2])}if(!Kc(a,c)){break a}if(Kc(b,d)){continue}break a}if(Kc(a,c)){continue}break}}}function CSa(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,h=0,i=0,j=0,k=0,l=0,m=0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){qd(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Dd(a);a:{if(!v[a+12>>2]){break a}v[a+1176>>2]=v[a+84>>2];if(!(!w[b+1160|0]|v[b+1172>>2]!=2)){qd(b+100|0,b,v[b+1164>>2],v[b+1168>>2]);v[b+1172>>2]=3}Dd(b);if(!v[b+12>>2]){break a}g=v[b+84>>2];v[b+1176>>2]=g;h=v[b+88>>2];i=v[a+88>>2];h=(h|0)<(i|0)?h:i;i=v[b+80>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((h|0)<(i|0)){break a}j=v[a+84>>2];k=(g|0)>(j|0)?g:j;g=v[b+92>>2];j=v[a+92>>2];if((k|0)>(((g|0)<(j|0)?g:j)|0)){break a}g=(h-i|0)+3|0;b:{if(g>>>0<=y[e+24>>2]){break b}h=v[e+20>>2];if(h){dc(h)}v[e+24>>2]=g;l=e,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[e+12>>2]){break b}h=v[e+8>>2];if(h){dc(h)}v[e+12>>2]=g;l=e,m=fc(g),v[l+8>>2]=m}v[e>>2]=2147483632;v[e+16>>2]=v[e+8>>2];g=v[e+20>>2];v[e+28>>2]=g;u[g+2>>1]=0;g=(v[a+88>>2]-v[a+80>>2]|0)+3|0;c:{if(g>>>0<=y[c+24>>2]){break c}h=v[c+20>>2];if(h){dc(h)}v[c+24>>2]=g;l=c,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[c+12>>2]){break c}h=v[c+8>>2];if(h){dc(h)}v[c+12>>2]=g;l=c,m=fc(g),v[l+8>>2]=m}v[c>>2]=2147483632;v[c+16>>2]=v[c+8>>2];g=v[c+20>>2];v[c+28>>2]=g;u[g+2>>1]=0;g=(v[b+88>>2]-v[b+80>>2]|0)+3|0;d:{if(g>>>0<=y[d+24>>2]){break d}h=v[d+20>>2];if(h){dc(h)}v[d+24>>2]=g;l=d,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[d+12>>2]){break d}h=v[d+8>>2];if(h){dc(h)}v[d+12>>2]=g;l=d,m=fc(g),v[l+8>>2]=m}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];g=v[d+20>>2];v[d+28>>2]=g;u[g+2>>1]=0;if(!Kc(a,c)){break a}if(!Kc(b,d)){break a}while(1){g=v[c+4>>2];h=v[d+4>>2];if((g|0)>=(h|0)){if((g|0)>(h|0)){while(1){if(!Kc(b,d)){break a}g=v[c+4>>2];h=v[d+4>>2];if((g|0)>(h|0)){continue}break}}if((g|0)!=(h|0)){continue}wf(c,d,e);if(v[e+28>>2]!=v[e+20>>2]){v[e+4>>2]=v[c+4>>2];$X(e,v[f>>2],v[f+4>>2],v[f+8>>2])}if(!Kc(a,c)){break a}if(Kc(b,d)){continue}break a}if(Kc(a,c)){continue}break}}}function ASa(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,h=0,i=0,j=0,k=0,l=0,m=0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){qd(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Dd(a);a:{if(!v[a+12>>2]){break a}v[a+1176>>2]=v[a+84>>2];if(!(!w[b+1160|0]|v[b+1172>>2]!=2)){qd(b+100|0,b,v[b+1164>>2],v[b+1168>>2]);v[b+1172>>2]=3}Dd(b);if(!v[b+12>>2]){break a}g=v[b+84>>2];v[b+1176>>2]=g;h=v[b+88>>2];i=v[a+88>>2];h=(h|0)<(i|0)?h:i;i=v[b+80>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((h|0)<(i|0)){break a}j=v[a+84>>2];k=(g|0)>(j|0)?g:j;g=v[b+92>>2];j=v[a+92>>2];if((k|0)>(((g|0)<(j|0)?g:j)|0)){break a}g=(h-i|0)+3|0;b:{if(g>>>0<=y[e+24>>2]){break b}h=v[e+20>>2];if(h){dc(h)}v[e+24>>2]=g;l=e,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[e+12>>2]){break b}h=v[e+8>>2];if(h){dc(h)}v[e+12>>2]=g;l=e,m=fc(g),v[l+8>>2]=m}v[e>>2]=2147483632;v[e+16>>2]=v[e+8>>2];g=v[e+20>>2];v[e+28>>2]=g;u[g+2>>1]=0;g=(v[a+88>>2]-v[a+80>>2]|0)+3|0;c:{if(g>>>0<=y[c+24>>2]){break c}h=v[c+20>>2];if(h){dc(h)}v[c+24>>2]=g;l=c,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[c+12>>2]){break c}h=v[c+8>>2];if(h){dc(h)}v[c+12>>2]=g;l=c,m=fc(g),v[l+8>>2]=m}v[c>>2]=2147483632;v[c+16>>2]=v[c+8>>2];g=v[c+20>>2];v[c+28>>2]=g;u[g+2>>1]=0;g=(v[b+88>>2]-v[b+80>>2]|0)+3|0;d:{if(g>>>0<=y[d+24>>2]){break d}h=v[d+20>>2];if(h){dc(h)}v[d+24>>2]=g;l=d,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[d+12>>2]){break d}h=v[d+8>>2];if(h){dc(h)}v[d+12>>2]=g;l=d,m=fc(g),v[l+8>>2]=m}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];g=v[d+20>>2];v[d+28>>2]=g;u[g+2>>1]=0;if(!Kc(a,c)){break a}if(!Kc(b,d)){break a}while(1){g=v[c+4>>2];h=v[d+4>>2];if((g|0)>=(h|0)){if((g|0)>(h|0)){while(1){if(!Kc(b,d)){break a}g=v[c+4>>2];h=v[d+4>>2];if((g|0)>(h|0)){continue}break}}if((g|0)!=(h|0)){continue}wf(c,d,e);if(v[e+28>>2]!=v[e+20>>2]){v[e+4>>2]=v[c+4>>2];ZX(e,v[f>>2],v[f+4>>2],v[f+8>>2])}if(!Kc(a,c)){break a}if(Kc(b,d)){continue}break a}if(Kc(a,c)){continue}break}}}function H5a(a){a=a|0;var 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,w=0,y=0;j=Qb-32|0;Qb=j;a:{if(!x[a+26316>>1]){break a}if(v[a+180>>2]){v[a+26308>>2]=x[a+26318>>1]|x[a+26320>>1]<<16;break a}b:{p=x[a+26308>>1];d=x[a+26310>>1];e=bd(B(p,d),8);if(e){if(!p|!d){break b}y=x[a+26320>>1];q=v[a+26352>>2];k=v[a+26028>>2];if((k|0)!=1){h=d&65534;l=d&1;while(1){m=B(d,f);n=B(f>>>1|0,y);o=f<<1&14;c=0;if((d|0)!=1){b=o<<1;r=k>>>b&3;s=k>>>(b|2)&3;b=h;while(1){g=r<<1;w=g+(e+(c+m<<3)|0)|0;i=g;g=(n+(c>>>1|0)<<3)+q|0;u[w>>1]=x[i+g>>1];i=s<<1;u[i+(e+(m+(c|1)<<3)|0)>>1]=x[g+i>>1];c=c+2|0;b=b-2|0;if(b){continue}break}}if(l){b=(k>>>((o|c&1)<<1)&3)<<1;u[b+(e+(c+m<<3)|0)>>1]=x[b+((n+(c>>>1|0)<<3)+q|0)>>1]}f=f+1|0;if((p|0)!=(f|0)){continue}break}break b}h=d&65534;r=d&1;k=x[a+26314>>1];s=x[a+26312>>1];while(1){m=B(d,f);n=f+s&15;o=B(f>>>1|0,y);c=0;b=h;if((d|0)!=1){while(1){l=(n<<4)+194800|0;g=t[l+(c+k&15)|0]<<1;w=g+(e+(c+m<<3)|0)|0;i=g;g=(o+(c>>>1|0)<<3)+q|0;u[w>>1]=x[i+g>>1];i=c|1;l=t[l+(i+k&15)|0]<<1;u[l+(e+(m+i<<3)|0)>>1]=x[g+l>>1];c=c+2|0;b=b-2|0;if(b){continue}break}}if(r){b=t[(c+k&15|n<<4)+194800|0]<<1;u[b+(e+(c+m<<3)|0)>>1]=x[b+((o+(c>>>1|0)<<3)+q|0)>>1]}f=f+1|0;if((p|0)!=(f|0)){continue}break}break b}b=v[a+190640>>2];c:{if(b){h=v[a+25208>>2];v[j+20>>2]=57408;v[j+16>>2]=h;zd(b,4338,j+16|0);break c}b=v[a+25208>>2];v[j+4>>2]=57408;v[j>>2]=b;wc(v[252391],4338,j)}sd(a+190484|0,1);L()}dc(v[a+26352>>2]);u[a+26316>>1]=0;v[a+26352>>2]=e}d=v[a+26028>>2];d:{if(!d|v[a+26336>>2]!=3){break d}b=v[a+184>>2];v[a+26128>>2]=b;if(b){v[a+26336>>2]=4;break d}f=x[a+26308>>1];e=d>>>5&1;if(f>>>0>e>>>0){h=x[a+26310>>1];while(1){c=d>>>(e<<2&28|2)&1;b=h&65535;if(c>>>0>>0){h=v[a+26352>>2];while(1){b=h+(B(b,e)+c<<3)|0;u[b+2>>1]=x[b+6>>1];c=c+2|0;b=x[a+26310>>1];if(c>>>0>>0){continue}break}f=x[a+26308>>1];h=b}e=e+2|0;if(e>>>0>>0){continue}break}}v[a+26028>>2]=d&(d<<1^-1|1431655765)}if(v[a+180>>2]){v[a+26028>>2]=0}Qb=j+32|0}function laa(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,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;g=Qb-192|0;Qb=g;a=g+184|0;h=v[d+28>>2];v[a>>2]=h;v[h+4>>2]=v[h+4>>2]+1;v[299999]=0;o=S(5533,a|0)|0;a=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{g:{if((a|0)!=1){a=f;h:{if(w[a+11|0]>>>7|0){h=v[a+4>>2];break h}h=w[a+11|0]}if(h){if(w[a+11|0]>>>7|0){h=v[a>>2]}else{h=a}l=w[h|0];v[299999]=0;k=Q(5579,o|0,45)|0;h=v[299999];v[299999]=0;if((h|0)==1){break g}p=(l|0)==(k&255)}m=ge(g+160|0);i=ge(g+144|0);j=ge(g+128|0);v[299999]=0;ua(5619,c|0,p|0,g+184|0,g+176|0,g+175|0,g+174|0,m|0,i|0,j|0,g+124|0);c=v[299999];v[299999]=0;if((c|0)==1){break f}v[g+4>>2]=1563;n=Mf(g+8|0,0,g+4|0);c=g+16|0;if(w[a+11|0]>>>7|0){a=v[f+4>>2]}else{a=w[f+11|0]}i:{if((a|0)>v[g+124>>2]){if(w[f+11|0]>>>7|0){h=v[f+4>>2]}else{h=w[f+11|0]}l=v[g+124>>2];k=l;l=k;if(w[i+11|0]>>>7|0){a=v[i+4>>2]}else{a=w[i+11|0]}if(w[j+11|0]>>>7|0){q=v[j+4>>2]}else{q=w[j+11|0]}a=(l+(a+(q+(h-k<<1)|0)|0)|0)+1|0;break i}k=v[g+124>>2];if(w[j+11|0]>>>7|0){a=v[j+4>>2]}else{a=w[j+11|0]}if(w[i+11|0]>>>7|0){h=v[i+4>>2]}else{h=w[i+11|0]}a=(k+(a+h|0)|0)+2|0}if(a>>>0<101){break e}Ig(n,jc(a));c=v[n>>2];if(c){break e}v[299999]=0;ba(5538);a=v[299999];v[299999]=0;if((a|0)==1){break d}L()}f=P()|0;O()|0;break b}f=P()|0;O()|0;break b}f=P()|0;O()|0;break c}k=v[d+4>>2];if(w[f+11|0]>>>7|0){h=v[f>>2]}else{h=f}if(w[f+11|0]>>>7|0){a=v[f>>2]}else{a=f}if(w[f+11|0]>>>7|0){f=v[f+4>>2]}else{f=w[f+11|0]}v[299999]=0;Ba(5620,c|0,g+4|0,g|0,k|0,h|0,a+f|0,o|0,p|0,g+176|0,t[g+175|0],t[g+174|0],m|0,i|0,j|0,v[g+124>>2]);a=v[299999];v[299999]=0;if((a|0)!=1){v[299999]=0;b=aa(5584,b|0,c|0,v[g+4>>2],v[g>>2],d|0,e|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break a}}}f=P()|0;O()|0;ee(n)}Mc(j);Mc(i);Mc(m)}b=v[g+184>>2];a=v[b+4>>2]-1|0;v[b+4>>2]=a;if((a|0)==-1){Ub[v[v[b>>2]+8>>2]](b)}T(f|0);L()}ee(n);Mc(j);Mc(i);Mc(m);c=v[g+184>>2];a=v[c+4>>2]-1|0;v[c+4>>2]=a;if((a|0)==-1){Ub[v[v[c>>2]+8>>2]](c)}Qb=g+192|0;return b|0}function OW(a,b,c,d,e,f,g,h){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,w=0,x=0,y=0,z=0;a:{if(h>>>0>32){break a}while(1){s=c;m=e;u=(s+m)*.5;e=(m+g)*.5;c=(u+e)*.5;t=b;q=d;w=(t+q)*.5;d=(q+f)*.5;b=(w+d)*.5;b:{i=g-s;r=f-t;k=i*(q-f)-r*(m-g);c:{if(D(k)>1e-30){if(!(k*k<=(r*r+i*i)*A[a+8>>3])){break b}i=A[a+16>>3];if(i<.01){h=v[a+32>>2];o=v[a+28>>2];n=o>>>6|0;if(h>>>0<=n>>>0){j=v[a+36>>2];d:{if(j>>>0>n>>>0){j=v[a+40>>2];break d}l=j+v[a+44>>2]|0;j=fc((l&1073741823)!=(l|0)?-1:l<<2);p=v[a+40>>2];if(p){gc(j,p,h<<2);dc(p);l=v[a+36>>2]+v[a+44>>2]|0;o=v[a+28>>2];h=v[a+32>>2]}v[a+36>>2]=l;v[a+40>>2]=j}y=(n<<2)+j|0,z=fc(1024),v[y>>2]=z;v[a+32>>2]=h+1}h=a+28|0;a=v[v[a+40>>2]+(n<<2)>>2]+((o&63)<<4)|0;A[a+8>>3]=c;A[a>>3]=b;break c}m=D(Ff(g-m,f-q)-Ff(m-s,q-t));if(!(i>(m>=3.141592653589793?6.283185307179586-m:m))){break b}h=v[a+32>>2];o=v[a+28>>2];n=o>>>6|0;if(h>>>0<=n>>>0){j=v[a+36>>2];e:{if(j>>>0>n>>>0){j=v[a+40>>2];break e}l=j+v[a+44>>2]|0;j=fc((l&1073741823)!=(l|0)?-1:l<<2);p=v[a+40>>2];if(p){gc(j,p,h<<2);dc(p);l=v[a+36>>2]+v[a+44>>2]|0;o=v[a+28>>2];h=v[a+32>>2]}v[a+36>>2]=l;v[a+40>>2]=j}y=(n<<2)+j|0,z=fc(1024),v[y>>2]=z;v[a+32>>2]=h+1}h=a+28|0;a=v[v[a+40>>2]+(n<<2)>>2]+((o&63)<<4)|0;A[a+8>>3]=c;A[a>>3]=b;break c}k=q-t;x=r*r+i*i;f:{if(x==0){i=m-s;i=k*k+i*i;break f}k=(r*k+i*(m-s))/x;if(k>0&k<1){break a}if(k<=0){i=t-q;k=i*i;i=s-m;i=k+i*i;break f}if(k>=1){i=f-q;k=i*i;i=g-m;i=k+i*i;break f}r=t+r*k-q;i=s+i*k-m;i=r*r+i*i}if(!(i>3])){break b}h=v[a+32>>2];o=v[a+28>>2];n=o>>>6|0;if(h>>>0<=n>>>0){j=v[a+36>>2];g:{if(j>>>0>n>>>0){j=v[a+40>>2];break g}l=j+v[a+44>>2]|0;j=fc((l&1073741823)!=(l|0)?-1:l<<2);p=v[a+40>>2];if(p){gc(j,p,h<<2);dc(p);l=v[a+36>>2]+v[a+44>>2]|0;o=v[a+28>>2];h=v[a+32>>2]}v[a+36>>2]=l;v[a+40>>2]=j}y=(n<<2)+j|0,z=fc(1024),v[y>>2]=z;v[a+32>>2]=h+1}h=a+28|0;a=v[v[a+40>>2]+(n<<2)>>2]+((o&63)<<4)|0;A[a+8>>3]=m;A[a>>3]=q}v[h>>2]=v[h>>2]+1;break a}h=h+1|0;OW(a,t,s,w,u,b,c,h);if((h|0)!=33){continue}break}}}function sba(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;a=Qb-384|0;Qb=a;v[a+368>>2]=c;v[a+376>>2]=b;hC(a+216|0,d,a+240|0,a+236|0,a+232|0);b=ge(a+200|0);c=w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10;v[299999]=0;V(5542,b|0,c|0);c=v[299999];v[299999]=0;a:{b:{c:{if((c|0)!=1){d=a;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+196>>2]=c;v[a+28>>2]=a+32;v[a+24>>2]=0;t[a+23|0]=1;t[a+22|0]=69;while(1){d:{v[299999]=0;d=Q(5567,a+376|0,a+368|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break d}if(!d){break c}g=v[a+196>>2];if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}if((g|0)==(d+c|0)){if(w[b+11|0]>>>7|0){c=v[b+4>>2]}else{c=w[b+11|0]}if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}v[299999]=0;V(5542,b|0,d<<1);d=v[299999];v[299999]=0;if((d|0)==1){break b}d=w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10;v[299999]=0;V(5542,b|0,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break b}d=a;g=c;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+196>>2]=g+c}v[299999]=0;d=S(5569,a+376|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break d}v[299999]=0;d=vw(d,a+23|0,a+22|0,c,a+196|0,v[a+236>>2],v[a+232>>2],a+216|0,a+32|0,a+28|0,a+24|0,a+240|0);g=v[299999];v[299999]=0;if((g|0)==1){break d}if(d){break c}v[299999]=0;S(5571,a+376|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){continue}}break}break b}break b}if(w[a+227|0]>>>7|0){d=v[a+220>>2]}else{d=w[a+227|0]}e:{if(!d|!w[a+23|0]){break e}d=v[a+28>>2];if((d-(a+32|0)|0)>159){break e}v[a+28>>2]=d+4;v[d>>2]=v[a+24>>2]}v[299999]=0;$(5558,a|0,c|0,v[a+196>>2],e|0);c=v[299999];v[299999]=0;f:{if((c|0)==1){break f}c=v[a+8>>2];d=v[a+12>>2];g=v[a+4>>2];v[f>>2]=v[a>>2];v[f+4>>2]=g;v[f+8>>2]=c;v[f+12>>2]=d;v[299999]=0;Xg(a+216|0,a+32|0,v[a+28>>2],e);c=v[299999];v[299999]=0;if((c|0)==1){break f}v[299999]=0;c=Q(5568,a+376|0,a+368|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break f}if(c){v[e>>2]=v[e>>2]|2}c=v[a+376>>2];Mc(b);Mc(a+216|0);Qb=a+384|0;break a}}c=P()|0;O()|0;Mc(b);Mc(a+216|0);T(c|0);L()}return c|0}function tTa(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,h=0,i=0,j=0,k=0,l=0,m=0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){qd(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Dd(a);a:{if(!v[a+12>>2]){break a}v[a+1176>>2]=v[a+84>>2];if(!(!w[b+1160|0]|v[b+1172>>2]!=2)){qd(b+100|0,b,v[b+1164>>2],v[b+1168>>2]);v[b+1172>>2]=3}Dd(b);if(!v[b+12>>2]){break a}g=v[b+84>>2];v[b+1176>>2]=g;h=v[b+88>>2];i=v[a+88>>2];h=(h|0)<(i|0)?h:i;i=v[b+80>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((h|0)<(i|0)){break a}j=v[a+84>>2];k=(g|0)>(j|0)?g:j;g=v[b+92>>2];j=v[a+92>>2];if((k|0)>(((g|0)<(j|0)?g:j)|0)){break a}g=(h-i|0)+3|0;b:{if(g>>>0<=y[e+24>>2]){break b}h=v[e+20>>2];if(h){dc(h)}v[e+24>>2]=g;l=e,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[e+12>>2]){break b}h=v[e+8>>2];if(h){dc(h)}v[e+12>>2]=g;l=e,m=fc(g),v[l+8>>2]=m}v[e>>2]=2147483632;v[e+16>>2]=v[e+8>>2];g=v[e+20>>2];v[e+28>>2]=g;u[g+2>>1]=0;g=(v[a+88>>2]-v[a+80>>2]|0)+3|0;c:{if(g>>>0<=y[c+24>>2]){break c}h=v[c+20>>2];if(h){dc(h)}v[c+24>>2]=g;l=c,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[c+12>>2]){break c}h=v[c+8>>2];if(h){dc(h)}v[c+12>>2]=g;l=c,m=fc(g),v[l+8>>2]=m}v[c>>2]=2147483632;v[c+16>>2]=v[c+8>>2];g=v[c+20>>2];v[c+28>>2]=g;u[g+2>>1]=0;g=(v[b+88>>2]-v[b+80>>2]|0)+3|0;d:{if(g>>>0<=y[d+24>>2]){break d}h=v[d+20>>2];if(h){dc(h)}v[d+24>>2]=g;l=d,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[d+12>>2]){break d}h=v[d+8>>2];if(h){dc(h)}v[d+12>>2]=g;l=d,m=fc(g),v[l+8>>2]=m}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];g=v[d+20>>2];v[d+28>>2]=g;u[g+2>>1]=0;if(!Kc(a,c)){break a}if(!Kc(b,d)){break a}i=f+4|0;while(1){g=v[c+4>>2];h=v[d+4>>2];if((g|0)>=(h|0)){if((g|0)>(h|0)){while(1){if(!Kc(b,d)){break a}g=v[c+4>>2];h=v[d+4>>2];if((g|0)>(h|0)){continue}break}}if((g|0)!=(h|0)){continue}wf(c,d,e);if(v[e+28>>2]!=v[e+20>>2]){v[e+4>>2]=v[c+4>>2];Fz(e,v[f>>2],i)}if(!Kc(a,c)){break a}if(Kc(b,d)){continue}break a}if(Kc(a,c)){continue}break}}}function Gba(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;a=Qb-288|0;Qb=a;v[a+272>>2]=c;v[a+280>>2]=b;lC(a+224|0,d,a+240|0,a+239|0,a+238|0);b=ge(a+208|0);c=w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10;v[299999]=0;V(5542,b|0,c|0);c=v[299999];v[299999]=0;a:{b:{c:{if((c|0)!=1){d=a;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+204>>2]=c;v[a+28>>2]=a+32;v[a+24>>2]=0;t[a+23|0]=1;t[a+22|0]=69;while(1){d:{v[299999]=0;d=Q(5473,a+280|0,a+272|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break d}if(!d){break c}g=v[a+204>>2];if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}if((g|0)==(d+c|0)){if(w[b+11|0]>>>7|0){c=v[b+4>>2]}else{c=w[b+11|0]}if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}v[299999]=0;V(5542,b|0,d<<1);d=v[299999];v[299999]=0;if((d|0)==1){break b}d=w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10;v[299999]=0;V(5542,b|0,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break b}d=a;g=c;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+204>>2]=g+c}v[299999]=0;d=S(5474,a+280|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break d}v[299999]=0;d=yw(d,a+23|0,a+22|0,c,a+204|0,t[a+239|0],t[a+238|0],a+224|0,a+32|0,a+28|0,a+24|0,a+240|0);g=v[299999];v[299999]=0;if((g|0)==1){break d}if(d){break c}v[299999]=0;S(5476,a+280|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){continue}}break}break b}break b}if(w[a+235|0]>>>7|0){d=v[a+228>>2]}else{d=w[a+235|0]}e:{if(!d|!w[a+23|0]){break e}d=v[a+28>>2];if((d-(a+32|0)|0)>159){break e}v[a+28>>2]=d+4;v[d>>2]=v[a+24>>2]}v[299999]=0;$(5558,a|0,c|0,v[a+204>>2],e|0);c=v[299999];v[299999]=0;f:{if((c|0)==1){break f}c=v[a+8>>2];d=v[a+12>>2];g=v[a+4>>2];v[f>>2]=v[a>>2];v[f+4>>2]=g;v[f+8>>2]=c;v[f+12>>2]=d;v[299999]=0;Xg(a+224|0,a+32|0,v[a+28>>2],e);c=v[299999];v[299999]=0;if((c|0)==1){break f}v[299999]=0;c=Q(5539,a+280|0,a+272|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break f}if(c){v[e>>2]=v[e>>2]|2}c=v[a+280>>2];Mc(b);Mc(a+224|0);Qb=a+288|0;break a}}c=P()|0;O()|0;Mc(b);Mc(a+224|0);T(c|0);L()}return c|0}function cz(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=Qb-96|0;Qb=h;e=-1;a:{if(!a|!v[a+12>>2]){break a}c=v[a+16>>2];if(!c){break a}i=v[a+20>>2];if(!i){break a}e=0;if(v[i+32>>2]){break a}f=v[i+8>>2];if(!((f|0)==v[i+24>>2]|f>>>0>2147483646)){v[i+24>>2]=f}f=v[i+20>>2];d=v[i+4>>2];if(!((f|0)==(d|0)|d>>>0>2147483646)){v[i+20>>2]=d;f=d}if(!f){break a}j=f>>>0>65536?b?f:65536:f;b:{c:{d:{f=v[c+32>>2];if(!f){d=v[c+24>>2];g=v[c+8>>2];if((d|0)==(g|0)|g>>>0>2147483646){g=d}else{v[c+24>>2]=g}d=g;g=v[c+20>>2];e=v[c+4>>2];if(!((g|0)==(e|0)|e>>>0>2147483646)){v[c+20>>2]=e;g=e}d=d-g|0;if(d){break d}}d=j<<1;break c}e=d-1|0;d=j<<1;g=0;if(e>>>0>d>>>0){break b}}if((d|0)>=1){bG(c,d);f=v[c+32>>2]}e:{if(f){break e}d=v[c+24>>2];g=v[c+8>>2];if((d|0)==(g|0)|g>>>0>2147483646){g=d}else{v[c+24>>2]=g}d=g;g=v[c+20>>2];e=v[c+4>>2];if(!((g|0)==(e|0)|e>>>0>2147483646)){v[c+20>>2]=e;g=e}d=d-g|0;if(!d){break e}e=d-1|0;g=0;break b}e=0;g=f}v[h+92>>2]=j;v[h+88>>2]=e>>>0>131072?b?e:131072:e;f:{g:{h:{d=v[v[a+12>>2]+4>>2];if(!d){break h}if(g){a=0}else{a=v[c+8>>2];if(!((a|0)==v[c+24>>2]|a>>>0>2147483646)){v[c+24>>2]=a}f=v[c+20>>2];a=v[c+4>>2];if((f|0)==(a|0)|a>>>0>2147483646){a=f}else{v[c+20>>2]=a}a=a+v[c>>2]|0}a=Ub[d|0](a,h+88|0,v[i+32>>2]?0:v[i>>2],h+92|0)|0;Vu(i,v[h+92>>2]);i:{if(v[c+32>>2]){break i}e=v[c+24>>2];b=v[c+8>>2];if(!((e|0)==(b|0)|b>>>0>2147483646)){v[c+24>>2]=b;e=b}d=v[h+88>>2];b=v[c+20>>2];f=v[c+4>>2];if(!((b|0)==(f|0)|f>>>0>2147483646)){v[c+20>>2]=f;b=f}if(d>>>0>e-b>>>0){break i}b=b+d|0;v[c+20>>2]=b;v[c+8>>2]=e>>>0<2147483647?e:2147483647;v[c+4>>2]=b>>>0<2147483647?b:2147483647;if(b>>>0>=e>>>0){break i}t[b+v[c>>2]|0]=0}switch(a+3|0){case 0:break g;case 1:break h;default:break f}}a=v[i>>2];b=w[a|0];f=w[a+1|0];d=w[a+2|0];v[h+28>>2]=w[a+3|0];v[h+24>>2]=d;v[h+20>>2]=f;v[h+16>>2]=b;a=h+32|0;Ai(a,49,309211,h+16|0);t[h+81|0]=0;v[h>>2]=a;oc(0,0,0,0,0,27,6003,3,a,0,0,0,349566,h);a=-2;break f}a=0}b=v[h+88>>2];e=b?b:a}Qb=h+96|0;return e}function be(a,b){a=a|0;b=b|0;var 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;if(!a){return jc(b)|0}if(b>>>0>=4294967232){v[299402]=48;return 0}g=b>>>0<11?16:b+11&-8;f=a-8|0;j=v[f+4>>2];e=j&-8;a:{if(!(j&3)){if(g>>>0<256){break a}if(e>>>0>=g+4>>>0){c=f;if(e-g>>>0<=v[300628]<<1>>>0){break a}}c=0;break a}h=e+f|0;b:{if(e>>>0>=g>>>0){d=e-g|0;if(d>>>0<16){break b}v[f+4>>2]=j&1|g|2;c=f+g|0;v[c+4>>2]=d|3;v[h+4>>2]=v[h+4>>2]|1;ZK(c,d);break b}if(v[300514]==(h|0)){e=e+v[300511]|0;if(e>>>0<=g>>>0){break a}v[f+4>>2]=j&1|g|2;d=f+g|0;c=e-g|0;v[d+4>>2]=c|1;v[300511]=c;v[300514]=d;break b}if(v[300513]==(h|0)){d=e+v[300510]|0;if(d>>>0>>0){break a}c=d-g|0;c:{if(c>>>0>=16){v[f+4>>2]=j&1|g|2;e=f+g|0;v[e+4>>2]=c|1;d=d+f|0;v[d>>2]=c;v[d+4>>2]=v[d+4>>2]&-2;break c}v[f+4>>2]=d|j&1|2;c=d+f|0;v[c+4>>2]=v[c+4>>2]|1;c=0;e=0}v[300513]=e;v[300510]=c;break b}d=v[h+4>>2];if(d&2){break a}k=e+(d&-8)|0;if(k>>>0>>0){break a}m=k-g|0;d:{if(d>>>0<=255){e=v[h+8>>2];c=d>>>3|0;d=v[h+12>>2];if((d|0)==(e|0)){n=1202032,o=v[300508]&Gib(-2,c),v[n>>2]=o;break d}v[e+12>>2]=d;v[d+8>>2]=e;break d}l=v[h+24>>2];i=v[h+12>>2];e:{if((i|0)!=(h|0)){c=v[h+8>>2];v[c+12>>2]=i;v[i+8>>2]=c;break e}f:{e=h+20|0;c=v[e>>2];if(c){break f}e=h+16|0;c=v[e>>2];if(c){break f}i=0;break e}while(1){d=e;i=c;e=c+20|0;c=v[e>>2];if(c){continue}e=i+16|0;c=v[i+16>>2];if(c){continue}break}v[d>>2]=0}if(!l){break d}d=v[h+28>>2];c=(d<<2)+1202336|0;g:{if(v[c>>2]==(h|0)){v[c>>2]=i;if(i){break g}n=1202036,o=v[300509]&Gib(-2,d),v[n>>2]=o;break d}v[(v[l+16>>2]==(h|0)?16:20)+l>>2]=i;if(!i){break d}}v[i+24>>2]=l;c=v[h+16>>2];if(c){v[i+16>>2]=c;v[c+24>>2]=i}c=v[h+20>>2];if(!c){break d}v[i+20>>2]=c;v[c+24>>2]=i}if(m>>>0<=15){v[f+4>>2]=j&1|k|2;c=f+k|0;v[c+4>>2]=v[c+4>>2]|1;break b}v[f+4>>2]=j&1|g|2;d=f+g|0;v[d+4>>2]=m|3;c=f+k|0;v[c+4>>2]=v[c+4>>2]|1;ZK(d,m)}c=f}if(c){return c+8|0}f=jc(b);if(!f){return 0}c=v[a-4>>2];c=(c&3?-4:-8)+(c&-8)|0;gc(f,a,b>>>0>c>>>0?c:b);dc(a);return f|0}function IX(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){qd(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Dd(a);a:{if(!v[a+12>>2]){break a}v[a+1176>>2]=v[a+84>>2];if(!(!w[b+1160|0]|v[b+1172>>2]!=2)){qd(b+100|0,b,v[b+1164>>2],v[b+1168>>2]);v[b+1172>>2]=3}Dd(b);i=v[b+12>>2];if(i){v[b+1176>>2]=v[b+84>>2]}g=(v[a+88>>2]-v[a+80>>2]|0)+3|0;b:{if(g>>>0<=y[e+24>>2]){break b}h=v[e+20>>2];if(h){dc(h)}v[e+24>>2]=g;j=e,k=fc((g|0)!=(g&536870911)?-1:g<<3),v[j+20>>2]=k;if((g|0)==v[e+12>>2]){break b}h=v[e+8>>2];if(h){dc(h)}v[e+12>>2]=g;j=e,k=fc(g),v[j+8>>2]=k}v[e>>2]=2147483632;v[e+16>>2]=v[e+8>>2];g=v[e+20>>2];v[e+28>>2]=g;u[g+2>>1]=0;g=(v[a+88>>2]-v[a+80>>2]|0)+3|0;c:{if(g>>>0<=y[c+24>>2]){break c}h=v[c+20>>2];if(h){dc(h)}v[c+24>>2]=g;j=c,k=fc((g|0)!=(g&536870911)?-1:g<<3),v[j+20>>2]=k;if((g|0)==v[c+12>>2]){break c}h=v[c+8>>2];if(h){dc(h)}v[c+12>>2]=g;j=c,k=fc(g),v[j+8>>2]=k}v[c>>2]=2147483632;v[c+16>>2]=v[c+8>>2];g=v[c+20>>2];v[c+28>>2]=g;u[g+2>>1]=0;g=(v[b+88>>2]-v[b+80>>2]|0)+3|0;d:{if(g>>>0<=y[d+24>>2]){break d}h=v[d+20>>2];if(h){dc(h)}v[d+24>>2]=g;j=d,k=fc((g|0)!=(g&536870911)?-1:g<<3),v[j+20>>2]=k;if((g|0)==v[d+12>>2]){break d}h=v[d+8>>2];if(h){dc(h)}v[d+12>>2]=g;j=d,k=fc(g),v[j+8>>2]=k}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];h=v[d+20>>2];v[d+28>>2]=h;g=0;u[h+2>>1]=0;if(!Kc(a,c)){break a}if(i){g=Kc(b,d)}i=v[f+20>>2]-1|0;if((i|0)>=0){while(1){h=v[(v[v[f+32>>2]+(i>>>4&268435452)>>2]+((i&63)<<3)|0)+4>>2];if(h){dc(h)}i=i-1|0;if((i|0)>-1){continue}break}}v[f+60>>2]=0;v[f>>2]=0;v[f+20>>2]=0;v[f+120>>2]=0;v[f+112>>2]=-2147483647;v[f+116>>2]=-2147483647;v[f+104>>2]=2147483647;v[f+108>>2]=2147483647;v[f+40>>2]=0;while(1){i=g&1;g=0;e:{f:{if(!i){break f}while(1){i=v[d+4>>2];h=v[c+4>>2];if((i|0)<(h|0)){if(Kc(b,d)){continue}break f}break}g=1;if((h|0)!=(i|0)){break f}YG(c,d,e);if(v[e+28>>2]==v[e+20>>2]){break e}v[e+4>>2]=v[c+4>>2];$i(f,e);break e}jf(c,e,f)}if(Kc(a,c)){continue}break}}}function nFa(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,p=0,q=0,r=0,s=0,t=0,u=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;h=a;while(1){d=v[(p<<2)+b>>2]+c|0;i=w[d+9|0];k=w[d+6|0];f=i+k|0;n=w[d+14|0];j=w[d+1|0];g=n+j|0;e=f+g|0;m=w[d+13|0];o=w[d+2|0];l=m+o|0;r=w[d+10|0];s=w[d+5|0];q=r+s|0;t=l+q|0;u=w[d+8|0];x=w[d+7|0];y=u+x|0;z=w[d+15|0];A=w[d|0];C=z+A|0;D=y+C|0;E=w[d+11|0];F=w[d+4|0];G=E+F|0;H=w[d+12|0];I=w[d+3|0];d=H+I|0;J=G+d|0;v[h+16>>2]=(B(e-t|0,4433)+B(D-J|0,10703)|0)+1024>>11;v[h>>2]=((e+(t+J|0)|0)+D<<2)+-8192;e=C-y|0;l=l-q|0;q=d-G|0;f=g-f|0;d=(B(e-l|0,11363)+B(q-f|0,2260)|0)+1024|0;v[h+24>>2]=(d+B(q,-8697)|0)+B(e,-1730)>>11;v[h+8>>2]=(d+B(l,17799)|0)+B(f,11893)>>11;d=s-r|0;f=F-E|0;g=I-H|0;e=o-m|0;m=(B(d-f|0,3363)+B(g+e|0,-11086)|0)+1024|0;i=k-i|0;k=j-n|0;n=B(i+f|0,-10217)+B(k+g|0,-5461)|0;o=n+((m+B(g,8728)|0)+B(f,17760)|0)|0;j=f;f=x-u|0;l=g;g=A-z|0;j=B(j-f|0,7350)+B(l+g|0,8956)|0;v[h+28>>2]=o+j>>11;l=(m+B(e,-9222)|0)+B(d,10055)|0;m=B(i-d|0,11529)+B(e+k|0,1136)|0;d=B(d+f|0,5461)+B(e+g|0,10217)|0;v[h+20>>2]=(l+m|0)+d>>11;e=B(i-f|0,3363)+B(g+k|0,11086)|0;v[h+12>>2]=(e+(m+((n+B(k,589)|0)+B(i,-13631)|0)|0)|0)+1024>>11;v[h+4>>2]=(d+(j+((e+B(g,-18730)|0)+B(f,6387)|0)|0)|0)+1024>>11;h=h+32|0;p=p+1|0;if((p|0)!=8){continue}break}b=7;while(1){h=v[a+128>>2];d=v[a+96>>2];c=h+d|0;f=v[a+224>>2];g=v[a>>2];e=f+g|0;i=c+e|0;k=v[a+160>>2];p=v[a+64>>2];m=k+p|0;n=v[a+192>>2];j=v[a+32>>2];o=n+j|0;l=m+o|0;v[a+128>>2]=(i-l|0)+4>>3;v[a>>2]=(i+l|0)+4>>3;e=e-c|0;i=o-m|0;c=B(e+i|0,4433)+32768|0;v[a+192>>2]=c+B(i,-15137)>>16;v[a+64>>2]=c+B(e,6270)>>16;c=d-h|0;h=g-f|0;d=B(c+h|0,-7373)+32768|0;f=j-n|0;i=f+c|0;g=p-k|0;k=g+h|0;e=B(i+k|0,9633);j=d+B(c,2446)|0;c=e+B(i,-16069)|0;v[a+224>>2]=j+c>>16;e=e+B(k,-3196)|0;j=B(g,16819);g=B(f+g|0,-20995)+32768|0;v[a+160>>2]=e+(j+g|0)>>16;v[a+96>>2]=c+(g+B(f,25172)|0)>>16;v[a+32>>2]=e+(d+B(h,12299)|0)>>16;c=b;b=c-1|0;a=a+4|0;if(c){continue}break}}function AFa(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,p=0,q=0,r=0,s=0,t=0,u=0,x=0,y=0,z=0,A=0,C=0;n=Qb-128|0;d=a;while(1){a:{e=d;d=v[(h<<2)+b>>2]+c|0;k=w[d+11|0];l=w[d|0];i=k+l|0;o=w[d+6|0];p=w[d+5|0];j=o+p|0;q=i-j|0;r=w[d+10|0];s=w[d+1|0];g=r+s|0;t=w[d+7|0];u=w[d+4|0];f=t+u|0;x=w[d+9|0];y=w[d+2|0];m=x+y|0;z=w[d+8|0];A=w[d+3|0];C=z+A|0;d=m-C|0;v[e+24>>2]=q-((g-f|0)+d|0);i=i+j|0;m=m+C|0;v[e>>2]=(i+(f+(m+g|0)|0)|0)-1536;v[e+16>>2]=B(i-m|0,10033)+4096>>13;v[e+8>>2]=((g-(d+f|0)|0)+B(d+q|0,11190)|0)+4096>>13;f=u-t|0;j=s-r|0;i=B(f+j|0,4433);d=l-k|0;g=A-z|0;l=i+B(f,-15137)|0;f=p-o|0;k=y-x|0;v[e+12>>2]=((B(d-g|0,10703)+l|0)+B(f+k|0,-4433)|0)+4096>>13;o=B(d+g|0,7053);m=o+B(g,5946)|0;g=B(g+k|0,-1512);i=i+B(j,6270)|0;v[e+28>>2]=(((m+g|0)-i|0)+B(f,-9191)|0)+4096>>13;j=g;g=B(d+k|0,9191)+4096|0;v[e+20>>2]=((j+(g+B(k,-19165)|0)|0)-l|0)+B(f,7053)>>13;v[e+4>>2]=(i+(o+(g+B(d,-4758)|0)|0)|0)+B(f,1512)>>13;f=h-7|0;h=h+1|0;g=7;d=n;b:{switch(f|0){case 0:continue;case 4:break a;default:break b}}d=e+32|0;continue}break}while(1){b=v[d+64>>2];c=v[a+128>>2];n=v[a+192>>2];f=v[a+160>>2];e=n+f|0;k=v[d+96>>2];i=v[a>>2];h=k+i|0;l=e+h|0;o=v[d>>2];p=v[a+96>>2];j=o+p|0;q=v[d+32>>2];r=v[a+64>>2];s=q+r|0;t=j+s|0;v[a+128>>2]=B(l-t|0,8918)- -8192>>14;h=h-e|0;u=v[a+32>>2];x=u+b|0;y=v[a+224>>2];m=y+c|0;z=x-m|0;e=s-j|0;v[a+192>>2]=B(h-(z+e|0)|0,7282)- -8192>>14;v[a+64>>2]=(B(z-e|0,7282)+B(e+h|0,9947)|0)- -8192>>14;v[a>>2]=B(l+(m+(t+x|0)|0)|0,7282)- -8192>>14;e=c-y|0;l=u-b|0;h=B(e+l|0,3941);b=i-k|0;c=p-o|0;k=h+B(e,-13455)|0;e=f-n|0;n=r-q|0;v[a+96>>2]=((B(b-c|0,9514)+k|0)+B(e+n|0,-3941)|0)- -8192>>14;f=B(b+c|0,6269);j=f+B(c,5285)|0;c=B(c+n|0,-1344);h=h+B(l,5573)|0;v[a+224>>2]=(((j+c|0)-h|0)+B(e,-8170)|0)- -8192>>14;j=c;c=B(b+n|0,8170)- -8192|0;v[a+160>>2]=((j+(c+B(n,-17036)|0)|0)-k|0)+B(e,6269)>>14;v[a+32>>2]=(h+(f+(c+B(b,-4229)|0)|0)|0)+B(e,1344)>>14;b=g;g=g-1|0;d=d+4|0;a=a+4|0;if(b){continue}break}}function gna(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=Qb-48|0;Qb=c;d=v[a>>2];Ub[v[v[d>>2]+20>>2]](d,0,0,0)|0;oO(c+40|0,a);d=v[c+40>>2];v[c+32>>2]=0;v[c+36>>2]=v[282402];a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{while(1){v[299999]=0;h=Z(4504,d|0,c+32|0,0,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break c}if(!h){break d}a=v[c+32>>2];a=v[(a?a+12|0:1129608)>>2];v[299999]=0;U(4599,b|0,a|0,0);a=v[299999];v[299999]=0;if((a|0)==1){break c}v[299999]=0;v[c+24>>2]=0;Q(4336,c+24|0,d|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break j}v[299999]=0;a=v[c+24>>2];v[c>>2]=0;Q(4336,c|0,b|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break i}v[299999]=0;f=Y(4604,v[c>>2],a|0,0)|0;a=v[299999];v[299999]=0;k:{if((a|0)!=1){a=v[c>>2];v[c>>2]=0;if(!a){break k}v[299999]=0;e=v[a+4>>2]-1|0;v[a+4>>2]=e;g=v[299999];v[299999]=0;if((g|0)!=1){if(e){break k}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break k}}break a}a=P()|0;O()|0;ec(c);break h}a=v[c+24>>2];v[c+24>>2]=0;l:{if(!a){break l}v[299999]=0;e=v[a+4>>2]-1|0;v[a+4>>2]=e;g=v[299999];v[299999]=0;if((g|0)==1){break a}if(e){break l}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}v[299999]=0;R(4601,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break g}v[299999]=0;R(4781,d|0);a=v[299999];v[299999]=0;if((a|0)==1){break g}if((f|0)==(h|0)){continue}break}v[299999]=0;b=aa(4369,c|0,v[282394],242011,2258,343754,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break f}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break e}L()}a=P()|0;O()|0;break b}a=P()|0;O()|0}ec(c+24|0);break b}a=P()|0;O()|0;break b}a=P()|0;O()|0;break b}a=P()|0;O()|0;qc(b);break b}ec(c+32|0);a=v[c+40>>2];v[c+40>>2]=0;m:{if(!a){break m}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(b){break m}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Qb=c+48|0;return}a=P()|0;O()|0}ec(c+32|0);ec(c+40|0);T(a|0);L()}W(0)|0;O()|0;lc();L()}function mqa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=Qb-16|0;Qb=d;v[a>>2]=0;v[a+4>>2]=v[282402];a:{b:{c:{d:{e:{c=v[b>>2];if(!c){v[d>>2]=0;break e}f:{g:{if(v[c+8>>2]){b=v[v[c>>2]+24>>2];v[299999]=0;U(b|0,d|0,c|0,2);b=v[299999];v[299999]=0;if((b|0)==1){break g}b=v[d>>2];h:{if(b){e=v[v[b>>2]+24>>2];v[299999]=0;U(e|0,d+8|0,b|0,2);b=v[299999];v[299999]=0;if((b|0)!=1){break h}b=P()|0;O()|0;ec(d);break c}v[d+8>>2]=0}v[299999]=0;Q(4344,a|0,d+8|0)|0;b=v[299999];v[299999]=0;i:{if((b|0)!=1){b=v[d+8>>2];v[d+8>>2]=0;if(!b){break i}v[299999]=0;e=v[b+4>>2]-1|0;v[b+4>>2]=e;c=v[299999];v[299999]=0;if((c|0)!=1){if(e){break i}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break i}}break a}b=P()|0;O()|0;ec(d+8|0);ec(d);break c}b=v[a>>2];v[a+4>>2]=v[(b?b+12|0:1129608)>>2];b=v[d>>2];v[d>>2]=0;if(!b){break b}v[299999]=0;e=v[b+4>>2]-1|0;v[b+4>>2]=e;c=v[299999];v[299999]=0;if((c|0)==1){break f}if(e){break b}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break f}break b}v[299999]=0;v[c+4>>2]=v[c+4>>2]+1;e=v[299999];v[299999]=0;j:{if((e|0)!=1){e=v[b>>2];v[d>>2]=e;if(!e){break e}b=v[v[e>>2]+24>>2];v[299999]=0;U(b|0,d+8|0,e|0,2);c=v[299999];v[299999]=0;b=e;if((c|0)==1){break j}break d}b=P()|0;O()|0;break c}b=P()|0;O()|0;ec(d);break c}b=P()|0;O()|0;break c}break a}b=0;v[d+8>>2]=0}v[299999]=0;Q(4344,a|0,d+8|0)|0;c=v[299999];v[299999]=0;k:{if((c|0)!=1){c=v[d+8>>2];v[d+8>>2]=0;if(!c){break k}v[299999]=0;f=v[c+4>>2]-1|0;v[c+4>>2]=f;g=v[299999];v[299999]=0;if((g|0)!=1){if(f){break k}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)!=1){break k}}break a}b=P()|0;O()|0;ec(d+8|0);ec(d);break c}c=v[a>>2];v[a+4>>2]=v[(c?c+12|0:1129608)>>2];v[d>>2]=0;if(!b){break b}v[299999]=0;c=b;b=v[b+4>>2]-1|0;v[c+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break b}v[299999]=0;R(4338,e|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}}break a}ec(a);T(b|0);L()}Qb=d+16|0;return a|0}W(0)|0;O()|0;lc();L()}function dab(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,j=0,k=0,l=0;a:{b:{if(f){a=c<<1;l=b<<1;if(((c+1|0)/2|0)>(b|0)){break b}if(!d){break a}b=0;while(1){i=x[e>>1];c:{if((i|0)==x[f>>1]){u[g>>1]=i;break c}i=w[e|0]|w[e+1|0]<<8;h=i;j=(h<<8|h>>>8)&65535;h=w[f|0]|w[f+1|0]<<8;i=j+((B(((h<<8|h>>>8)&65535)-((i<<8|i>>>8)&65535)|0,l)+c|0)/(a|0)|0)&65535;i=i<<8|i>>>8;t[g|0]=i;t[g+1|0]=i>>>8}i=g+2|0;h=x[e+2>>1];d:{if((h|0)==x[f+2>>1]){u[i>>1]=h;break d}h=e+2|0;j=w[h+1|0]<<8;k=w[h|0]|j;h=j|w[h|0];j=(h<<8|h>>>8)&65535;h=w[f+2|0]|w[f+3|0]<<8;h=j+((B(((h<<8|h>>>8)&65535)-((k<<8|k>>>8)&65535)|0,l)+c|0)/(a|0)|0)&65535;h=h<<8|h>>>8;t[i|0]=h;t[i+1|0]=h>>>8}i=g+4|0;h=x[e+4>>1];e:{if((h|0)==x[f+4>>1]){u[i>>1]=h;break e}h=e+4|0;j=w[h+1|0]<<8;k=w[h|0]|j;h=j|w[h|0];j=(h<<8|h>>>8)&65535;h=w[f+4|0]|w[f+5|0]<<8;h=j+((B(((h<<8|h>>>8)&65535)-((k<<8|k>>>8)&65535)|0,l)+c|0)/(a|0)|0)&65535;h=h<<8|h>>>8;t[i|0]=h;t[i+1|0]=h>>>8}u[g+6>>1]=x[f+6>>1];g=g+8|0;f=f+8|0;e=e+8|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}break a}gc(g,e,d<<3);break a}if(!d){break a}b=0;while(1){i=x[e>>1];f:{if((i|0)==x[f>>1]){u[g>>1]=i;break f}i=w[e|0]|w[e+1|0]<<8;h=i;j=(h<<8|h>>>8)&65535;h=w[f|0]|w[f+1|0]<<8;i=j+((B(((h<<8|h>>>8)&65535)-((i<<8|i>>>8)&65535)|0,l)+c|0)/(a|0)|0)&65535;i=i<<8|i>>>8;t[g|0]=i;t[g+1|0]=i>>>8}i=g+2|0;h=x[e+2>>1];g:{if((h|0)==x[f+2>>1]){u[i>>1]=h;break g}h=e+2|0;j=w[h+1|0]<<8;k=w[h|0]|j;h=j|w[h|0];j=(h<<8|h>>>8)&65535;h=w[f+2|0]|w[f+3|0]<<8;h=j+((B(((h<<8|h>>>8)&65535)-((k<<8|k>>>8)&65535)|0,l)+c|0)/(a|0)|0)&65535;h=h<<8|h>>>8;t[i|0]=h;t[i+1|0]=h>>>8}i=g+4|0;h=x[e+4>>1];h:{if((h|0)==x[f+4>>1]){u[i>>1]=h;break h}h=e+4|0;j=w[h+1|0]<<8;k=w[h|0]|j;h=j|w[h|0];j=(h<<8|h>>>8)&65535;h=w[f+4|0]|w[f+5|0]<<8;h=j+((B(((h<<8|h>>>8)&65535)-((k<<8|k>>>8)&65535)|0,l)+c|0)/(a|0)|0)&65535;h=h<<8|h>>>8;t[i|0]=h;t[i+1|0]=h>>>8}u[g+6>>1]=x[e+6>>1];g=g+8|0;e=e+8|0;f=f+8|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}}return 0}function WI(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;j=Qb-784|0;Qb=j;l=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;a:{b:{c=c+3|0;n=c&-4;if((n|0)<=0){break b}while(1){c:{h=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;e=h&15;t[(j+16|0)+g|0]=e;if(e>>>0>12){break c}h=h>>>4&15;t[(j+16|0)+(g|1)|0]=h;if(h>>>0>=13){break c}g=g+2|0;if((n|0)>(g|0)){continue}break b}break}c=0;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],l,0)|0;while(1){Mi(a,j+4|0,6);e=1;f=c<<1;g=x[j+8>>1];d=x[j+4>>1];l=x[j+12>>1];u[f+b>>1]=g>>>8&240|d>>>4&3840|l>>>12;h=x[j+10>>1];m=x[j+6>>1];i=x[j+14>>1];u[(f|2)+b>>1]=h>>>8&240|m>>>4&3840|i>>>12;u[(f|4)+b>>1]=d&4095;u[(f|6)+b>>1]=m&4095;u[(f|8)+b>>1]=g&4095;u[(f|10)+b>>1]=h&4095;u[(f|12)+b>>1]=l&4095;u[(f|14)+b>>1]=i&4095;c=c+8|0;if((n|0)>(c|0)){continue}break}break a}g=0;if(c&4){c=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;f=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;g=c<<8;d=g;c=f+d|0;f=(f>>31)+(d>>31)|0;f=c>>>0>>0?f+1|0:f;d=c;g=16}if((n|0)<1){e=0;break a}while(1){h=w[(j+16|0)+m|0];l=h;if((g|0)<(h|0)){c=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;e=c;c=c>>31;i=e;k=g+8|0;e=k&31;if((k&63)>>>0>=32){c=i<>>32-e|c<>>0>e>>>0?c+1|0:c;f=e;d=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;e=d;k=f;i=d>>31;f=g;d=f&31;if((f&63)>>>0>=32){f=e<>>32-d|i<>>0>>0?c+1|0:c;f=c;c=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;e=c;k=d;c=c>>31;i=g+24|0;d=i&31;if((i&63)>>>0>=32){c=e<>>32-d|c<>>0>>0?f+1|0:f;c=d;d=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;e=d;k=c;c=d>>31;i=g+16|0;d=i&31;if((i&63)>>>0>=32){c=e<>>32-d|c<>>0>>0?c+1|0:c;g=g+32|0;f=c}e=0;c=65535>>>16-h&d;u[(m<<1)+b>>1]=(c>>>h-1&1?0:(-1<>>0>=32){f=c>>31;d=c>>d}else{f=c>>d;d=((1<>>d}m=m+1|0;if((n|0)!=(m|0)){continue}break}}Qb=j+784|0;return e}function TEa(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;a=ic(a,0,256);d=v[b>>2]+c|0;e=w[d|0];f=w[d+5|0];h=e-f|0;j=w[d+1|0];i=w[d+4|0];g=j-i|0;k=w[d+2|0];l=w[d+3|0];d=k-l|0;v[a+12>>2]=h-(g+d|0)<<3;e=e+f|0;f=k+l|0;v[a+8>>2]=B(e-f|0,10033)+512>>10;e=e+f|0;f=i+j|0;v[a>>2]=(e+f<<3)-6144;v[a+16>>2]=B(e-(f<<1)|0,5793)+512>>10;e=d-g<<3;d=B(d+h|0,2998)+512>>10;v[a+20>>2]=e+d;v[a+4>>2]=d+(g+h<<3);d=v[b+4>>2]+c|0;e=w[d|0];f=w[d+5|0];h=e-f|0;j=w[d+1|0];i=w[d+4|0];g=j-i|0;k=w[d+2|0];l=w[d+3|0];d=k-l|0;v[a+44>>2]=h-(g+d|0)<<3;e=e+f|0;f=k+l|0;v[a+40>>2]=B(e-f|0,10033)+512>>10;f=e+f|0;j=i+j|0;e=(f+j<<3)-6144|0;v[a+32>>2]=e;v[a+48>>2]=B(f-(j<<1)|0,5793)+512>>10;f=d-g<<3;d=B(d+h|0,2998)+512>>10;v[a+52>>2]=f+d;d=d+(g+h<<3)|0;v[a+36>>2]=d;b=v[b+8>>2]+c|0;f=w[b+2|0];j=w[b+3|0];c=f-j|0;i=w[b|0];k=w[b+5|0];h=i-k|0;g=B(c+h|0,2998)+512>>10;l=w[b+1|0];m=w[b+4|0];b=l-m|0;v[a+84>>2]=g+(c-b<<3);f=f+j|0;j=i+k|0;i=f+j|0;k=l+m|0;v[a+80>>2]=B(i-(k<<1)|0,5793)+512>>10;l=v[a>>2];i=(i+k<<3)-6144|0;v[a+32>>2]=B(l-i|0,17837)+16384>>15;i=i+l|0;v[a+64>>2]=B(i-(e<<1)|0,10298)+16384>>15;v[a>>2]=B(e+i|0,14564)+16384>>15;e=v[a+4>>2];g=g+(b+h<<3)|0;v[a+36>>2]=B(e-g|0,17837)+16384>>15;g=e+g|0;v[a+68>>2]=B(g-(d<<1)|0,10298)+16384>>15;v[a+4>>2]=B(d+g|0,14564)+16384>>15;d=v[a+40>>2];g=v[a+8>>2];e=B(j-f|0,10033)+512>>10;v[a+40>>2]=B(g-e|0,17837)+16384>>15;g=e+g|0;v[a+72>>2]=B(g-(d<<1)|0,10298)+16384>>15;v[a+8>>2]=B(d+g|0,14564)+16384>>15;b=h-(b+c|0)<<3;c=v[a+12>>2];d=b+c|0;h=v[a+44>>2];v[a+76>>2]=B(d-(h<<1)|0,10298)+16384>>15;v[a+12>>2]=B(d+h|0,14564)+16384>>15;v[a+44>>2]=B(c-b|0,17837)+16384>>15;b=v[a+80>>2];c=v[a+16>>2];d=b+c|0;h=v[a+48>>2];v[a+80>>2]=B(d-(h<<1)|0,10298)+16384>>15;v[a+16>>2]=B(d+h|0,14564)+16384>>15;v[a+48>>2]=B(c-b|0,17837)+16384>>15;b=v[a+84>>2];c=v[a+20>>2];d=b+c|0;h=v[a+52>>2];v[a+84>>2]=B(d-(h<<1)|0,10298)+16384>>15;v[a+20>>2]=B(d+h|0,14564)+16384>>15;v[a+52>>2]=B(c-b|0,17837)+16384>>15}function LZ(a,b,c){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,p=0,q=0,r=0;i=Qb-16|0;Qb=i;d=v[a+12>>2];if(d){v[(v[a+20>>2]+(d<<4)|0)-4>>2]=b}k=v[a+24>>2];a:{if((k|0)<2){break a}o=k;while(1){p=o;g=v[a+32>>2];o=o-1|0;b=g+(o<<4)|0;l=v[b>>2];d=v[b+8>>2];j=p-2|0;b:{c:{while(1){d:{e=g+(j<<4)|0;b=v[e+8>>2];e:{e=v[e>>2];f=e>>>0>l>>>0?l:e;f:{g:{if(f>>>0<8){m=d;break g}m=(f-8>>>3|0)+1|0;e=m+b|0;m=d+m|0;h=d;while(1){if(w[b|0]&w[h|0]){break f}b=b+1|0;h=h+1|0;f=f-8|0;if(f>>>0>7){continue}break}b=e}if(!f|!(w[b|0]&w[m|0]&-256>>f)){break e}}d=j>>>0>o>>>0;b=d?o:j;m=d?j:o;if(b>>>0>=m>>>0|m>>>0>=k>>>0){break b}n=g+(m<<4)|0;l=v[n>>2];if(!l){break c}g=g+(b<<4)|0;b=v[g>>2];if(l>>>0<=b>>>0){k=l+7|0;f=k>>>3|0;break d}d=v[g+4>>2];v[i>>2]=0;k=l+7|0;f=k>>>3|0;d=d+7>>>3|0;if(f>>>0>d>>>0){e=d;d=f+7&1073741816;q=g,r=Cc(c,1,e,d,v[g+8>>2],i),v[q+8>>2]=r;h=v[i>>2];if(h){break a}v[g+4>>2]=d<<3}d=b+1|0;if(l-b&1){if(y[g>>2]>b>>>0){e=v[g+8>>2]+(b>>>3|0)|0;t[e|0]=w[e|0]&-129>>(b&7)}b=d}if((d|0)==(l|0)){break d}while(1){if(y[g>>2]>b>>>0){d=v[g+8>>2]+(b>>>3|0)|0;t[d|0]=w[d|0]&-129>>(b&7)}e=b+1|0;if(e>>>0>2]){d=v[g+8>>2]+(e>>>3|0)|0;t[d|0]=w[d|0]&-129>>(e&7)}b=b+2|0;if((l|0)!=(b|0)){continue}break}break d}b=(j|0)>0;j=j-1|0;if(b){continue}break b}break}if(k>>>0<8){break c}d=f-1|0;h=v[n+8>>2];b=v[g+8>>2];j=f&3;if(j){while(1){t[b|0]=w[h|0]|w[b|0];f=f-1|0;h=h+1|0;b=b+1|0;j=j-1|0;if(j){continue}break}}if(d>>>0<3){break c}while(1){t[b|0]=w[h|0]|w[b|0];t[b+1|0]=w[h+1|0]|w[b+1|0];t[b+2|0]=w[h+2|0]|w[b+2|0];t[b+3|0]=w[h+3|0]|w[b+3|0];h=h+4|0;b=b+4|0;f=f-4|0;if(f){continue}break}}v[n>>2]=0;v[n+12>>2]=0;d=a;b=v[d+24>>2];e=b+(m^-1)|0;if((e|0)>=1){b=v[n+12>>2];v[i+8>>2]=v[n+8>>2];v[i+12>>2]=b;b=v[n+4>>2];v[i>>2]=v[n>>2];v[i+4>>2]=b;b=e<<4;e=Wd(n,n+16|0,b)+b|0;b=v[i+12>>2];v[e+8>>2]=v[i+8>>2];v[e+12>>2]=b;b=v[i+4>>2];v[e>>2]=v[i>>2];v[e+4>>2]=b;b=v[a+24>>2]}k=b-1|0;v[d+24>>2]=k}if((p|0)>2){continue}break}h=0}Qb=i+16|0;return h}function sA(a,b,c){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,p=0,q=0,r=0;a:{if(!a|(((a?v[a+8>>2]:-1)|0)!=1|b-1>>>0>3)){break a}h=c;if(!h){h=I$();if(!h){break a}}g=a?v[a>>2]:-1;e=a?v[a+4>>2]:-1;if((e|0)<2){break a}l=a?v[a+12>>2]:-1;r=a?v[a+40>>2]:0;g=Ug((g|0)/2|0,e>>>1|0,1);if(!g){break a}if(!(!a|!g|(a|0)==(g|0))){v[g+20>>2]=v[a+20>>2];v[g+24>>2]=v[a+24>>2]}a=g;if(a){Qq(a,C(.5),C(.5))}g=a?v[a+12>>2]:-1;o=a?v[a+40>>2]:0;i=g<<1;i=(l|0)<(i|0)?l:i;b:{c:{switch(b-1|0){case 3:if((e|0)<2|(i|0)<1){break b}e=e-2>>>1|0;while(1){k=(B(j,l)<<2)+r|0;m=k+(l<<2)|0;n=(B(f,g)<<2)+o|0;b=0;while(1){d=b<<2;d=v[d+m>>2]&v[d+k>>2];d=B(d<<1&d&-1431655766,129);u[(n+(b<<1)^2)>>1]=w[(d>>>24|0)+h|0]<<8|w[(d>>>8&255)+h|0];b=b+1|0;if((i|0)!=(b|0)){continue}break}j=j+2|0;b=(e|0)==(f|0);f=f+1|0;if(!b){continue}break};break b;case 2:if((e|0)<2|(i|0)<1){break b}e=e-2>>>1|0;while(1){k=(B(j,l)<<2)+r|0;m=k+(l<<2)|0;n=(B(f,g)<<2)+o|0;b=0;while(1){d=b<<2;p=v[d+m>>2];d=v[d+k>>2];q=p|d;d=d&p;d=B(q<<1&q&(d<<1|d)&-1431655766,129);u[(n+(b<<1)^2)>>1]=w[(d>>>24|0)+h|0]<<8|w[(d>>>8&255)+h|0];b=b+1|0;if((i|0)!=(b|0)){continue}break}j=j+2|0;b=(e|0)==(f|0);f=f+1|0;if(!b){continue}break};break b;case 1:if((e|0)<2|(i|0)<1){break b}e=e-2>>>1|0;while(1){k=(B(j,l)<<2)+r|0;m=k+(l<<2)|0;n=(B(f,g)<<2)+o|0;b=0;while(1){d=b<<2;p=v[d+m>>2];d=v[d+k>>2];q=p&d;d=d|p;d=B((q<<1|q|d<<1&d)&-1431655766,129);u[(n+(b<<1)^2)>>1]=w[(d>>>24|0)+h|0]<<8|w[(d>>>8&255)+h|0];b=b+1|0;if((i|0)!=(b|0)){continue}break}j=j+2|0;b=(e|0)==(f|0);f=f+1|0;if(!b){continue}break};break b;case 0:break c;default:break b}}if((e|0)<2|(i|0)<1){break b}e=e-2>>>1|0;while(1){k=(B(j,l)<<2)+r|0;m=k+(l<<2)|0;n=(B(f,g)<<2)+o|0;b=0;while(1){d=b<<2;d=v[d+m>>2]|v[d+k>>2];d=B((d<<1|d)&-1431655766,129);u[(n+(b<<1)^2)>>1]=w[(d>>>24|0)+h|0]<<8|w[(d>>>8&255)+h|0];b=b+1|0;if((i|0)!=(b|0)){continue}break}j=j+2|0;b=(e|0)!=(f|0);f=f+1|0;if(b){continue}break}}if(!c){dc(h)}o=a}return o}function bXa(a,b){a=a|0;b=b|0;var 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,u=0;f=Qb-16|0;Qb=f;j=v[b+16>>2];k=v[b+8>>2];Ub[v[b+28>>2]](b);a:{b:{c:{d:{c=v[b>>2];if(c>>>0>>0){v[b>>2]=c+1;if(w[c|0]==91){break d}}c=3;v[f+12>>2]=3;break c}Ub[v[b+28>>2]](b);e:{f:{d=v[b>>2];g:{if(k>>>0<=d>>>0){break g}while(1){h:{i:{j:{c=w[d|0];if((c|0)!=60){if((c|0)!=93){break j}v[b>>2]=d+1;break b}if(l?0:g){break e}Ub[v[b+32>>2]](b);if(v[b+12>>2]){break b}c=v[b>>2];i=(c+(d^-1)|0)/2|0;if(c-d>>>0<=2){break g}g=Cc(j,1,p,i,g,f+12|0);c=v[f+12>>2];if(c){break c}v[b>>2]=d;l=1;Ub[v[b+44>>2]](b,g,i,f+8|0,1)|0;h=v[f+8>>2];break i}if(c-48>>>0>9){i=p;break i}if(l){break g}h=Ub[v[b+36>>2]](b)|0;if((h|0)<=-1){break e}Ub[v[b+32>>2]](b);if(v[b+12>>2]){break a}c=v[b>>2];g=c+1|0;if(k-c>>>0<=h>>>0){break e}v[b>>2]=(c+h|0)+1;l=0;break h}if(!g){break f}p=i}k:{l:{if(!(h&1)){c=h;break l}c=h-1|0;if(w[g+c|0]){break k}}h=c;if(!c){break g}}i=k-v[b>>2]|0;n=0;while(1){m:{n:{o:{switch(e|0){case 0:e=0;if((m|0)<12){break n}c=v[a+496>>2];o=(w[c+4|0]<<4)+w[c+5|0]|0;d=o<<4|12;v[a+500>>2]=d;if((d|0)>(i|0)){break g}s=a,u=Cc(j,1,12,d,c,f+12|0),v[s+496>>2]=u;c=v[f+12>>2];if(c){break c}case 1:e=1;c=v[a+500>>2];if((m|0)<(c|0)){break n}q=v[a+496>>2];if(o>>>0>=1){r=q+24|0;d=0;while(1){e=(d<<4)+r|0;e=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(e>>>0>i>>>0|(i-e|0)<(c|0)){break g}c=(e+3&-4)+c|0;v[a+500>>2]=c;d=d+1|0;if((o|0)!=(d|0)){continue}break}}s=a,u=Cc(j,1,o<<4|12,c+1|0,q,f+12|0),v[s+496>>2]=u;c=v[f+12>>2];if(c){break c}break;case 2:break o;default:break m}}e=2;if(v[a+500>>2]<=(m|0)){break g}}t[v[a+496>>2]+m|0]=w[g+n|0];m=m+1|0}n=n+1|0;if((n|0)!=(h|0)){continue}break}Ub[v[b+28>>2]](b);d=v[b>>2];if(k>>>0>d>>>0){continue}break}}c=3;v[f+12>>2]=3;break c}c=3;v[f+12>>2]=3;g=0;break c}c=3;v[f+12>>2]=3;l=0}v[b+12>>2]=c}if(!l){break a}if(g){Ub[v[j+8>>2]](j,g)}}Qb=f+16|0}function sha(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=Qb-48|0;Qb=d;v[a>>2]=0;a:{b:{c:{d:{e:{f=v[b+12>>2];f:{if(w[f|0]){h=Bc(f);v[299999]=0;g=Z(4407,d+16|0,d+28|0,B(h,12)+12|0,1)|0;e=v[299999];v[299999]=0;if((e|0)==1){break e}e=v[d+28>>2];b=v[b+12>>2];v[d+32>>2]=b;f=f+h|0;g:{if(f>>>0<=b>>>0){break g}if((c|0)==1){while(1){if(!w[b|0]){break g}c=zp(d+32|0,f);v[299999]=0;b=Pn(e,c);h=v[299999];v[299999]=0;if((h|0)!=1){h:{i:{if((b|0)>=0){e=b+e|0;t[e|0]=0;if(!b){break i}break h}t[e|0]=0}v[d>>2]=c;zd(e,322758,d);e=Bc(e)+e|0}b=v[d+32>>2];if(f>>>0>b>>>0){continue}break g}break}e=P()|0;O()|0;Lc(g);break b}while(1){if(!w[b|0]){break g}b=zp(d+32|0,f);v[299999]=0;b=Pn(e,b);c=v[299999];v[299999]=0;j:{if((c|0)!=1){if((b|0)>-1){break j}t[e|0]=0;e=v[d+28>>2];break g}e=P()|0;O()|0;Lc(g);break b}e=b+e|0;t[e|0]=0;if(!b){e=v[d+28>>2];break g}b=v[d+32>>2];if(f>>>0>b>>>0){continue}break}}t[e|0]=0;v[299999]=0;b=v[d+28>>2];v[d+40>>2]=0;v[d+44>>2]=0;v[d+36>>2]=0;v[d+32>>2]=990400;U(5159,d+8|0,d+32|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break d}v[d+32>>2]=990496;b=v[d+44>>2];if(b){t[b|0]=0;dc(v[d+44>>2])}v[d+44>>2]=0;Qc(d+32|0);v[299999]=0;Q(4344,a|0,d+8|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){a=v[d+8>>2];v[d+8>>2]=0;k:{if(!a){break k}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break k}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Lc(g);break f}e=P()|0;O()|0;ec(d+8|0);Lc(g);break b}v[299999]=0;v[d+32>>2]=0;Q(4344,a|0,d+32|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break c}a=v[d+32>>2];v[d+32>>2]=0;if(!a){break f}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break f}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Qb=d+48|0;return}e=P()|0;O()|0;break b}e=P()|0;O()|0;Ag(d+32|0);Lc(g);break b}e=P()|0;O()|0;ec(d+32|0)}ec(a);T(e|0);L()}W(0)|0;O()|0;lc();L()}function TG(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=C(0),k=0,l=C(0),m=0,n=0,o=0,p=0,q=C(0),r=0;g=Qb-128|0;Qb=g;a:{o=v[b+84>>2];if((o|0)>=1){r=a+264|0;p=g+92|0;while(1){e=d;i=gm(b,h);d=v[i>>2];v[g+124>>2]=d;c=65535;b:{c:{d:{if(d>>>0>1114111){break d}d=x[((d<<1)+a|0)+276>>1];if((d|0)==65535){break d}f=v[a+264>>2];c=d;if(w[(f+B(c,104)|0)+72|0]){break c}}t[g+15|0]=1;t[g+14|0]=0;fv(g+16|0,a,g+124|0,g+15|0,0,g+14|0);if(v[g+16>>2]<=1114111){d=v[a+268>>2];e:{if((d|0)!=v[a+272>>2]){c=gc(d,g+16|0,104)+104|0;v[a+268>>2]=c;break e}v[299999]=0;V(2618,r|0,g+16|0);d=v[299999];v[299999]=0;if((d|0)==1){break a}c=v[a+268>>2]}c=((c-v[a+264>>2]|0)/104|0)-1|0;u[((v[g+16>>2]<<1)+a|0)+276>>1]=c}mg(p);d=c&65535;if((d|0)==65535){d=0;break b}f=v[a+264>>2]}c=B(d,104)+f|0;d=x[c+12>>1];f:{g:{h:{f=v[c+4>>2];switch(f-1|0){case 0:break f;case 1:break h;default:break g}}Cz(b,h,j,C(0));Dz(b,h,C(0),C(0),C(0),C(0));Bz(b,h,2);j=C(j+C(A[a+136>>3]+A[a+8>>3]*+z[c+16>>2]));d=0;break b}f=0}Bz(b,h,f);i:{if(!w[a+105|0]|!e){break i}if(v[gm(b,h)+60>>2]!=v[gm(b,h-1|0)+60>>2]){break i}f=v[a+180>>2];k=g+16|0;if(k?f:0){TK(f,e,d,k)}j=C(j+C(v[g+16>>2]>>6))}l=z[b+8>>2];m=+C(j+l);q=z[b+12>>2];n=+C(q+C(0));Cz(b,h,C(A[b+56>>3]+A[b+24>>3]*m+A[b+40>>3]*n-+l),C(A[b+64>>3]+A[b+32>>3]*m+A[b+48>>3]*n-+q));e=gm(b,h);k=c- -64|0;f=v[k+4>>2];v[e+52>>2]=v[k>>2];v[e+56>>2]=f;f=v[c+60>>2];v[e+44>>2]=v[c+56>>2];v[e+48>>2]=f;f=v[c+52>>2];v[e+36>>2]=v[c+48>>2];v[e+40>>2]=f;f=v[c+44>>2];v[e+28>>2]=v[c+40>>2];v[e+32>>2]=f;Dz(b,h,z[c+24>>2],z[c+36>>2],z[c+28>>2],z[c+32>>2]);l=z[c+16>>2];m=A[a+136>>3];n=A[a+8>>3];t[i+64|0]=w[c+72|0];e=v[c+80>>2];v[i+68>>2]=v[c+76>>2];v[i+72>>2]=e;e=v[c+88>>2];v[i+76>>2]=v[c+84>>2];v[i+80>>2]=e;e=v[c+96>>2];v[i+84>>2]=v[c+92>>2];v[i+88>>2]=e;v[i+92>>2]=v[c+100>>2];j=C(j+C(m+n*+l))}h=h+1|0;if((o|0)!=(h|0)){continue}break}z[b+16>>2]=j+z[b+8>>2];z[b+20>>2]=z[b+12>>2]+C(0)}Qb=g+128|0;return}a=P()|0;O()|0;mg(p);T(a|0);L()}function LSa(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,h=0,i=0,j=0,k=0,l=0,m=0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){qd(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Dd(a);a:{if(!v[a+12>>2]){break a}g=v[a+84>>2];v[a+1176>>2]=g;v[b+120>>2]=0;if(!v[b+60>>2]){break a}h=v[b+112>>2];i=v[a+88>>2];h=(h|0)<(i|0)?h:i;i=v[b+104>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((h|0)<(i|0)){break a}j=v[b+108>>2];k=(g|0)<(j|0)?j:g;g=v[b+116>>2];j=v[a+92>>2];if((k|0)>(((g|0)<(j|0)?g:j)|0)){break a}g=(h-i|0)+3|0;b:{if(g>>>0<=y[e+24>>2]){break b}h=v[e+20>>2];if(h){dc(h)}v[e+24>>2]=g;l=e,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[e+12>>2]){break b}h=v[e+8>>2];if(h){dc(h)}v[e+12>>2]=g;l=e,m=fc(g),v[l+8>>2]=m}v[e>>2]=2147483632;v[e+16>>2]=v[e+8>>2];g=v[e+20>>2];v[e+28>>2]=g;u[g+2>>1]=0;g=(v[a+88>>2]-v[a+80>>2]|0)+3|0;c:{if(g>>>0<=y[c+24>>2]){break c}h=v[c+20>>2];if(h){dc(h)}v[c+24>>2]=g;l=c,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[c+12>>2]){break c}h=v[c+8>>2];if(h){dc(h)}v[c+12>>2]=g;l=c,m=fc(g),v[l+8>>2]=m}v[c>>2]=2147483632;v[c+16>>2]=v[c+8>>2];g=v[c+20>>2];v[c+28>>2]=g;u[g+2>>1]=0;g=(v[b+112>>2]-v[b+104>>2]|0)+3|0;d:{if(g>>>0<=y[d+24>>2]){break d}h=v[d+20>>2];if(h){dc(h)}v[d+24>>2]=g;l=d,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[d+12>>2]){break d}h=v[d+8>>2];if(h){dc(h)}v[d+12>>2]=g;l=d,m=fc(g),v[l+8>>2]=m}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];g=v[d+20>>2];v[d+28>>2]=g;u[g+2>>1]=0;if(!Kc(a,c)){break a}if(!Pd(b,d)){break a}g=v[f+8>>2];if(v[g+4>>2]!=1){v[g+4>>2]=1;ic(g+2400|0,0,513)}while(1){g=v[c+4>>2];h=v[d+4>>2];if((g|0)>=(h|0)){if((g|0)>(h|0)){while(1){if(!Pd(b,d)){break a}g=v[c+4>>2];h=v[d+4>>2];if((g|0)>(h|0)){continue}break}}if((g|0)!=(h|0)){continue}wf(c,d,e);if(v[e+28>>2]!=v[e+20>>2]){v[e+4>>2]=v[c+4>>2];QX(e,v[f>>2],v[f+4>>2],v[f+8>>2])}if(!Kc(a,c)){break a}if(Pd(b,d)){continue}break a}if(Kc(a,c)){continue}break}}}function kx(a,b,c,d){var e=0;e=B(b,3);b=e+a|0;t[c|0]=((w[b+3|0]+B(w[a|0],11)|0)+(w[b|0]+w[a+3|0]<<1)|0)+8>>>4;t[c+1|0]=((w[b+4|0]+B(w[a+1|0],11)|0)+(w[b+1|0]+w[a+4|0]<<1)|0)+8>>>4;t[c+2|0]=((w[b+5|0]+B(w[a+2|0],11)|0)+(w[b+2|0]+w[a+5|0]<<1)|0)+8>>>4;t[c+3|0]=(w[b+6|0]+(w[b+3|0]+B(w[a+6|0]+w[a+3|0]|0,7)|0)|0)+8>>>4;t[c+4|0]=(w[b+7|0]+(w[b+4|0]+B(w[a+7|0]+w[a+4|0]|0,7)|0)|0)+8>>>4;t[c+5|0]=(w[b+8|0]+(w[b+5|0]+B(w[a+8|0]+w[a+5|0]|0,7)|0)|0)+8>>>4;t[c+6|0]=((w[b+6|0]+B(w[a+9|0],11)|0)+(w[b+9|0]+w[a+6|0]<<1)|0)+8>>>4;t[c+7|0]=((w[b+7|0]+B(w[a+10|0],11)|0)+(w[b+10|0]+w[a+7|0]<<1)|0)+8>>>4;t[c+8|0]=((w[b+8|0]+B(w[a+11|0],11)|0)+(w[b+11|0]+w[a+8|0]<<1)|0)+8>>>4;d=B(d,3);c=d+c|0;a=b+e|0;t[c|0]=(w[b+3|0]+(w[a+3|0]+B(w[b|0]+w[a|0]|0,7)|0)|0)+8>>>4;t[c+1|0]=(w[b+4|0]+(w[a+4|0]+B(w[b+1|0]+w[a+1|0]|0,7)|0)|0)+8>>>4;t[c+2|0]=(w[b+5|0]+(w[a+5|0]+B(w[b+2|0]+w[a+2|0]|0,7)|0)|0)+8>>>4;t[c+3|0]=(w[b+3|0]+(w[a+3|0]+(w[a+6|0]+w[b+6|0]|0)|0)|0)+2>>>2;t[c+4|0]=(w[b+4|0]+(w[a+4|0]+(w[a+7|0]+w[b+7|0]|0)|0)|0)+2>>>2;t[c+5|0]=(w[b+5|0]+(w[a+5|0]+(w[a+8|0]+w[b+8|0]|0)|0)|0)+2>>>2;t[c+6|0]=(w[b+6|0]+(w[a+6|0]+B(w[b+9|0]+w[a+9|0]|0,7)|0)|0)+8>>>4;t[c+7|0]=(w[b+7|0]+(w[a+7|0]+B(w[b+10|0]+w[a+10|0]|0,7)|0)|0)+8>>>4;t[c+8|0]=(w[b+8|0]+(w[a+8|0]+B(w[b+11|0]+w[a+11|0]|0,7)|0)|0)+8>>>4;c=c+d|0;b=a+e|0;t[c|0]=((w[a+3|0]+B(w[b|0],11)|0)+(w[a|0]+w[b+3|0]<<1)|0)+8>>>4;t[c+1|0]=((w[a+4|0]+B(w[b+1|0],11)|0)+(w[a+1|0]+w[b+4|0]<<1)|0)+8>>>4;t[c+2|0]=((w[a+5|0]+B(w[b+2|0],11)|0)+(w[a+2|0]+w[b+5|0]<<1)|0)+8>>>4;t[c+3|0]=(w[a+6|0]+(w[a+3|0]+B(w[b+6|0]+w[b+3|0]|0,7)|0)|0)+8>>>4;t[c+4|0]=(w[a+7|0]+(w[a+4|0]+B(w[b+7|0]+w[b+4|0]|0,7)|0)|0)+8>>>4;t[c+5|0]=(w[a+8|0]+(w[a+5|0]+B(w[b+8|0]+w[b+5|0]|0,7)|0)|0)+8>>>4;t[c+6|0]=((w[a+6|0]+B(w[b+9|0],11)|0)+(w[a+9|0]+w[b+6|0]<<1)|0)+8>>>4;t[c+7|0]=((w[a+7|0]+B(w[b+10|0],11)|0)+(w[a+10|0]+w[b+7|0]<<1)|0)+8>>>4;t[c+8|0]=((w[a+8|0]+B(w[b+11|0],11)|0)+(w[a+11|0]+w[b+8|0]<<1)|0)+8>>>4}function h0(a){var 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;i=Qb-16|0;Qb=i;a:{if(!a){break a}b:{switch((a?v[a+8>>2]:-1)-1|0){case 0:e=Qb-16|0;Qb=e;c:{if(!a|((a?v[a+8>>2]:-1)|0)!=1){break c}g=e+12|0;h=e+8|0;if(a){if(g){v[g>>2]=v[a>>2]}if(h){v[h>>2]=v[a+4>>2]}}c=Ug(v[e+12>>2],v[e+8>>2],32);if(!c){break c}if(!(!a|!c|(a|0)==(c|0))){v[c+20>>2]=v[a+20>>2];v[c+24>>2]=v[a+24>>2]}v[e+4>>2]=0;v[e>>2]=-1;l=a?v[a+40>>2]:0;m=a?v[a+12>>2]:-1;g=c?v[c+40>>2]:0;h=c?v[c+12>>2]:-1;a=v[e+8>>2];d:{if((a|0)<1){break d}b=v[e+12>>2];if((b|0)<1){break d}while(1){if((b|0)>=1){n=g+(B(f,h)<<2)|0;j=l+(B(f,m)<<2)|0;a=0;while(1){v[n+(a<<2)>>2]=v[e+((v[j+(a>>>3&536870908)>>2]>>>(a^-1)&1)<<2)>>2];a=a+1|0;b=v[e+12>>2];if((a|0)<(b|0)){continue}break}a=v[e+8>>2]}f=f+1|0;if((f|0)<(a|0)){continue}break}}b=c}Qb=e+16|0;break a;case 1:a=j0(a,1);v[i+12>>2]=a;b=xA(a);dd(i+12|0);break a;case 3:a=i0(a,1);v[i+12>>2]=a;b=xA(a);dd(i+12|0);break a;case 7:b=xA(a);break a;case 15:a=k0(a);v[i+12>>2]=a;b=xA(a);dd(i+12|0);break a;case 23:d=Qb-32|0;Qb=d;e:{if(!a){break e}g=d+28|0;h=d+24|0;b=d+20|0;if(a){if(g){v[g>>2]=v[a>>2]}if(h){v[h>>2]=v[a+4>>2]}if(b){v[b>>2]=v[a+8>>2]}}if(v[d+20>>2]!=32){break e}l=a?v[a+40>>2]:0;m=a?v[a+12>>2]:-1;c=CI(v[d+28>>2],v[d+24>>2],24);g=c?v[c+40>>2]:0;h=c?v[c+12>>2]:-1;b=v[d+24>>2];f:{if((b|0)<1){break f}f=v[d+28>>2];if((f|0)<1){break f}while(1){if((f|0)>=1){n=l+(B(m,k)<<2)|0;b=g+(B(h,k)<<2)|0;e=0;while(1){f=v[(e<<2)+n>>2];if(d+16|0){v[d+16>>2]=f>>>24}j=d+12|0;if(j){v[j>>2]=f>>>16&255}j=d+8|0;if(j){v[j>>2]=f>>>8&255}t[b|0]=v[d+16>>2];t[b+1|0]=v[d+12>>2];t[b+2|0]=v[d+8>>2];b=b+3|0;e=e+1|0;f=v[d+28>>2];if((e|0)<(f|0)){continue}break}b=v[d+24>>2]}k=k+1|0;if((k|0)<(b|0)){continue}break}}if(!(!a|!c|(a|0)==(c|0))){v[c+20>>2]=v[a+20>>2];v[c+24>>2]=v[a+24>>2]}if(!(!a|!c|(a|0)==(c|0))){v[c+28>>2]=v[a+28>>2]}}Qb=d+32|0;b=c;break a;case 31:break b;default:break a}}b=Xe(0,a)}Qb=i+16|0;return b}function pTa(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,h=0,i=0,j=0,k=0,l=0,m=0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){qd(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Dd(a);a:{if(!v[a+12>>2]){break a}g=v[a+84>>2];v[a+1176>>2]=g;v[b+120>>2]=0;if(!v[b+60>>2]){break a}h=v[b+112>>2];i=v[a+88>>2];h=(h|0)<(i|0)?h:i;i=v[b+104>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((h|0)<(i|0)){break a}j=v[b+108>>2];k=(g|0)<(j|0)?j:g;g=v[b+116>>2];j=v[a+92>>2];if((k|0)>(((g|0)<(j|0)?g:j)|0)){break a}g=(h-i|0)+3|0;b:{if(g>>>0<=y[e+24>>2]){break b}h=v[e+20>>2];if(h){dc(h)}v[e+24>>2]=g;l=e,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[e+12>>2]){break b}h=v[e+8>>2];if(h){dc(h)}v[e+12>>2]=g;l=e,m=fc(g),v[l+8>>2]=m}v[e>>2]=2147483632;v[e+16>>2]=v[e+8>>2];g=v[e+20>>2];v[e+28>>2]=g;u[g+2>>1]=0;g=(v[a+88>>2]-v[a+80>>2]|0)+3|0;c:{if(g>>>0<=y[c+24>>2]){break c}h=v[c+20>>2];if(h){dc(h)}v[c+24>>2]=g;l=c,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[c+12>>2]){break c}h=v[c+8>>2];if(h){dc(h)}v[c+12>>2]=g;l=c,m=fc(g),v[l+8>>2]=m}v[c>>2]=2147483632;v[c+16>>2]=v[c+8>>2];g=v[c+20>>2];v[c+28>>2]=g;u[g+2>>1]=0;g=(v[b+112>>2]-v[b+104>>2]|0)+3|0;d:{if(g>>>0<=y[d+24>>2]){break d}h=v[d+20>>2];if(h){dc(h)}v[d+24>>2]=g;l=d,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[d+12>>2]){break d}h=v[d+8>>2];if(h){dc(h)}v[d+12>>2]=g;l=d,m=fc(g),v[l+8>>2]=m}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];g=v[d+20>>2];v[d+28>>2]=g;u[g+2>>1]=0;if(!Kc(a,c)){break a}if(!Pd(b,d)){break a}g=v[f+8>>2];if(v[g>>2]!=1){v[g>>2]=1;ic(g+2168|0,0,513)}while(1){g=v[c+4>>2];h=v[d+4>>2];if((g|0)>=(h|0)){if((g|0)>(h|0)){while(1){if(!Pd(b,d)){break a}g=v[c+4>>2];h=v[d+4>>2];if((g|0)>(h|0)){continue}break}}if((g|0)!=(h|0)){continue}wf(c,d,e);if(v[e+28>>2]!=v[e+20>>2]){v[e+4>>2]=v[c+4>>2];mY(e,v[f>>2],v[f+4>>2],v[f+8>>2])}if(!Kc(a,c)){break a}if(Pd(b,d)){continue}break a}if(Kc(a,c)){continue}break}}}function mTa(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,h=0,i=0,j=0,k=0,l=0,m=0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){qd(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Dd(a);a:{if(!v[a+12>>2]){break a}g=v[a+84>>2];v[a+1176>>2]=g;v[b+120>>2]=0;if(!v[b+60>>2]){break a}h=v[b+112>>2];i=v[a+88>>2];h=(h|0)<(i|0)?h:i;i=v[b+104>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((h|0)<(i|0)){break a}j=v[b+108>>2];k=(g|0)<(j|0)?j:g;g=v[b+116>>2];j=v[a+92>>2];if((k|0)>(((g|0)<(j|0)?g:j)|0)){break a}g=(h-i|0)+3|0;b:{if(g>>>0<=y[e+24>>2]){break b}h=v[e+20>>2];if(h){dc(h)}v[e+24>>2]=g;l=e,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[e+12>>2]){break b}h=v[e+8>>2];if(h){dc(h)}v[e+12>>2]=g;l=e,m=fc(g),v[l+8>>2]=m}v[e>>2]=2147483632;v[e+16>>2]=v[e+8>>2];g=v[e+20>>2];v[e+28>>2]=g;u[g+2>>1]=0;g=(v[a+88>>2]-v[a+80>>2]|0)+3|0;c:{if(g>>>0<=y[c+24>>2]){break c}h=v[c+20>>2];if(h){dc(h)}v[c+24>>2]=g;l=c,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[c+12>>2]){break c}h=v[c+8>>2];if(h){dc(h)}v[c+12>>2]=g;l=c,m=fc(g),v[l+8>>2]=m}v[c>>2]=2147483632;v[c+16>>2]=v[c+8>>2];g=v[c+20>>2];v[c+28>>2]=g;u[g+2>>1]=0;g=(v[b+112>>2]-v[b+104>>2]|0)+3|0;d:{if(g>>>0<=y[d+24>>2]){break d}h=v[d+20>>2];if(h){dc(h)}v[d+24>>2]=g;l=d,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[d+12>>2]){break d}h=v[d+8>>2];if(h){dc(h)}v[d+12>>2]=g;l=d,m=fc(g),v[l+8>>2]=m}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];g=v[d+20>>2];v[d+28>>2]=g;u[g+2>>1]=0;if(!Kc(a,c)){break a}if(!Pd(b,d)){break a}g=v[f+8>>2];if(v[g>>2]!=1){v[g>>2]=1;ic(g+2144|0,0,513)}while(1){g=v[c+4>>2];h=v[d+4>>2];if((g|0)>=(h|0)){if((g|0)>(h|0)){while(1){if(!Pd(b,d)){break a}g=v[c+4>>2];h=v[d+4>>2];if((g|0)>(h|0)){continue}break}}if((g|0)!=(h|0)){continue}wf(c,d,e);if(v[e+28>>2]!=v[e+20>>2]){v[e+4>>2]=v[c+4>>2];lY(e,v[f>>2],v[f+4>>2],v[f+8>>2])}if(!Kc(a,c)){break a}if(Pd(b,d)){continue}break a}if(Kc(a,c)){continue}break}}}function O1(a,b,c,d,e,f,g,h,i,j,k,l,m){var n=0,o=0,p=0,q=0,r=0,s=0,y=0;q=Qb-16|0;Qb=q;o=Ub[v[a+152>>2]](92)|0;a:{if(!o){pc(a,1,0,0);a=1;break a}n=Ub[v[a+152>>2]](1180)|0;b:{if(n){t[n+54|0]=0;t[n+53|0]=0;t[n+49|0]=0;t[n+50|0]=0;t[n+51|0]=0;t[n+52|0]=0;t[n+48|0]=0;t[n+47|0]=0;t[n+46|0]=0;t[n+45|0]=0;t[n+44|0]=0;v[n+40>>2]=0;v[n+36>>2]=0;t[n+34|0]=e;t[n+33|0]=c;t[n+32|0]=0;v[n+28>>2]=1;v[n+4>>2]=0;v[n>>2]=621;v[n+1164>>2]=1;v[n+1168>>2]=0;v[n+1172>>2]=0;p=w[a+308|0];t[n+57|0]=p;r=w[a+309|0];t[n+58|0]=r;s=w[a+310|0];t[n+59|0]=s;y=w[a+311|0];t[n+60|0]=y;c=w[a+312|0];t[n+61|0]=c;if(p){v[n+1104>>2]=v[a+2192>>2]}if(r){v[n+1108>>2]=v[a+2196>>2];v[n+1112>>2]=v[a+2200>>2];v[n+1116>>2]=v[a+2204>>2];v[n+1120>>2]=v[a+2208>>2];v[n+1124>>2]=v[a+2212>>2];v[n+1128>>2]=v[a+2216>>2];v[n+1132>>2]=v[a+2220>>2];v[n+1136>>2]=v[a+2224>>2]}if(s){t[n+1140|0]=w[a+2228|0]}c:{d:{if(!y){break d}p=v[a+2232>>2];v[n+1144>>2]=p;if(!p){break d}c=Ub[v[a+152>>2]](p)|0;v[n+1148>>2]=c;if(!c){c=v[n+1176>>2];if(c){Ub[v[a+156>>2]](c,v[n+1172>>2])}break c}gc(c,v[a+2236>>2],v[n+1144>>2]);c=w[a+312|0]}if(c){u[n+1156>>1]=x[a+2240>>1];u[n+1158>>1]=x[a+2242>>1];u[n+1160>>1]=x[a+2244>>1]}v[q+12>>2]=n;c=0;break b}Ub[v[a+156>>2]](n,1180)}pc(a,1,0,0);c=1}if(c){Ub[v[a+156>>2]](o,92);a=1;break a}t[o+32|0]=e;t[o+31|0]=d;e=0;t[o+30|0]=0;u[o+28>>1]=b;v[o+4>>2]=0;v[o>>2]=622;e=!w[a+432|0]|!(w[a+476|0]?1:w[a+496|0])?e:!w[a+500|0];v[o+80>>2]=0;v[o+84>>2]=0;v[o+60>>2]=l;v[o+56>>2]=k;v[o+52>>2]=j;v[o+48>>2]=i;t[o+44|0]=h;v[o+40>>2]=g;v[o+36>>2]=f;t[o+33|0]=e;v[o+64>>2]=0;v[o+68>>2]=0;u[o+70>>1]=0;u[o+72>>1]=0;u[o+74>>1]=0;u[o+76>>1]=0;v[o+88>>2]=v[q+12>>2];if(b){c=a+692|0;e:{f:{e=v[a+692>>2];if(e){while(1){if(x[e+28>>1]<=b>>>0){break f}e=v[e+12>>2];if(e){continue}break}}e=v[a+688>>2];v[o+8>>2]=e;v[a+688>>2]=o;break e}v[o+12>>2]=e;v[o+8>>2]=v[e+8>>2];v[e+8>>2]=o;e=v[o+8>>2]}v[(e?e+12|0:c)>>2]=o}v[m>>2]=o;a=0}Qb=q+16|0;return a}function BX(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;z[a+8>>2]=z[a>>2]+d;z[a+12>>2]=z[a+4>>2]+e;h=v[a+80>>2];if(h){i=h-4|0;f=v[i>>2];if(f){f=h+B(f,96)|0;while(1){g=f;f=f-96|0;a:{if(!v[g-4>>2]){break a}g=g-8|0;j=v[g>>2];if(!j){break a}dc(j);v[g>>2]=0}if((f|0)!=(h|0)){continue}break}}dc(i)}v[a+88>>2]=0;g=v[c>>2];v[a+84>>2]=g;if((g|0)>=1){c=fc((k=-1,l=Bib(g,0,96,0)|4,m=Tb,m?k:l));v[c>>2]=g;c=c+4|0;f=c;i=B(g,96);j=i-96|0;h=((j>>>0)/96|0)+1&7;if(h){f=c;while(1){v[f+68>>2]=0;v[f+72>>2]=0;v[f+84>>2]=0;v[f+88>>2]=0;v[f+76>>2]=0;v[f+80>>2]=0;v[f+92>>2]=1;f=f+96|0;h=h-1|0;if(h){continue}break}}if(j>>>0>=672){h=c+i|0;while(1){v[f+68>>2]=0;v[f+72>>2]=0;v[f+84>>2]=0;v[f+88>>2]=0;v[f+76>>2]=0;v[f+80>>2]=0;v[f+164>>2]=0;v[f+168>>2]=0;v[f+92>>2]=1;v[f+172>>2]=0;v[f+176>>2]=0;v[f+180>>2]=0;v[f+184>>2]=0;v[f+260>>2]=0;v[f+264>>2]=0;v[f+188>>2]=1;v[f+268>>2]=0;v[f+272>>2]=0;v[f+276>>2]=0;v[f+280>>2]=0;v[f+356>>2]=0;v[f+360>>2]=0;v[f+284>>2]=1;v[f+364>>2]=0;v[f+368>>2]=0;v[f+372>>2]=0;v[f+376>>2]=0;v[f+380>>2]=1;v[f+452>>2]=0;v[f+456>>2]=0;v[f+460>>2]=0;v[f+464>>2]=0;v[f+468>>2]=0;v[f+472>>2]=0;v[f+548>>2]=0;v[f+552>>2]=0;v[f+476>>2]=1;v[f+556>>2]=0;v[f+560>>2]=0;v[f+564>>2]=0;v[f+568>>2]=0;v[f+644>>2]=0;v[f+648>>2]=0;v[f+572>>2]=1;v[f+652>>2]=0;v[f+656>>2]=0;v[f+660>>2]=0;v[f+664>>2]=0;v[f+740>>2]=0;v[f+744>>2]=0;v[f+668>>2]=1;v[f+748>>2]=0;v[f+752>>2]=0;v[f+756>>2]=0;v[f+760>>2]=0;v[f+764>>2]=1;f=f+768|0;if((h|0)!=(f|0)){continue}break}}v[a+80>>2]=c;h=g&3;f=0;if(g-1>>>0>=3){a=g&-4;while(1){g=v[(f<<2)+b>>2];i=c+B(f,96)|0;t[i+64|0]=0;v[i>>2]=g;g=f|1;i=v[(g<<2)+b>>2];g=c+B(g,96)|0;t[g+64|0]=0;v[g>>2]=i;g=f|2;i=v[(g<<2)+b>>2];g=c+B(g,96)|0;t[g+64|0]=0;v[g>>2]=i;g=f|3;i=v[(g<<2)+b>>2];g=c+B(g,96)|0;t[g+64|0]=0;v[g>>2]=i;f=f+4|0;a=a-4|0;if(a){continue}break}}if(h){while(1){a=v[(f<<2)+b>>2];g=c+B(f,96)|0;t[g+64|0]=0;v[g>>2]=a;f=f+1|0;h=h-1|0;if(h){continue}break}}return}v[a+80>>2]=0}function U1a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;a:{e=v[a+444>>2];if(!v[e+48>>2]){if(!(Ub[v[v[a+448>>2]+12>>2]](a,v[((v[e+64>>2]<<2)+e|0)+56>>2])|0)){break a}v[e+48>>2]=1;v[e+76>>2]=v[e+76>>2]+1}b:{switch(v[e+68>>2]){case 2:Ub[v[v[a+452>>2]+4>>2]](a,v[((v[e+64>>2]<<2)+e|0)+56>>2],e+52|0,v[e+72>>2],b,c,d);if(y[e+52>>2]>2]){break a}v[e+68>>2]=0;if(y[c>>2]>=d>>>0){break a}case 0:v[e+52>>2]=0;l=v[a+324>>2];v[e+72>>2]=l-1;c:{if(v[e+76>>2]!=v[a+328>>2]){break c}m=v[a+36>>2];if((m|0)<1){break c}p=v[a+444>>2];q=(v[p+64>>2]<<2)+p|0;j=v[a+216>>2];while(1){f=B(v[j+40>>2],v[j+12>>2]);g=y[j+48>>2]%(f>>>0)|0;g=g?g:f;h=g-1|0;f=(f|0)/(l|0)|0;if(!n){v[p+72>>2]=((h|0)/(f|0)|0)+1}d:{if((f|0)<1){break d}i=h<<2;h=v[v[q+56>>2]+(n<<2)>>2];i=i+h|0;f=f<<1;k=(f|0)>1?f:1;o=k&3;f=0;if(k-1>>>0>=3){k=k&2147483644;while(1){v[h+(f+g<<2)>>2]=v[i>>2];v[h+(g+(f|1)<<2)>>2]=v[i>>2];v[h+(g+(f|2)<<2)>>2]=v[i>>2];v[h+(g+(f|3)<<2)>>2]=v[i>>2];f=f+4|0;k=k-4|0;if(k){continue}break}}if(!o){break d}while(1){v[h+(f+g<<2)>>2]=v[i>>2];f=f+1|0;o=o-1|0;if(o){continue}break}}j=j+88|0;n=n+1|0;if((m|0)!=(n|0)){continue}break}}v[e+68>>2]=1;break;case 1:break b;default:break a}}Ub[v[v[a+452>>2]+4>>2]](a,v[((v[e+64>>2]<<2)+e|0)+56>>2],e+52|0,v[e+72>>2],b,c,d);if(y[e+52>>2]>2]){break a}e:{if(v[e+76>>2]!=1){a=v[a+324>>2];d=a+2|0;b=a+1|0;break e}i=v[a+324>>2];d=i+2|0;b=i+1|0;o=v[a+36>>2];if((o|0)<1){break e}n=v[a+444>>2];a=v[a+216>>2];h=0;while(1){c=(B(v[a+40>>2],v[a+12>>2])|0)/(i|0)|0;if((c|0)>=1){p=B(c,d);k=B(b,c);f=h<<2;j=v[f+v[n+60>>2]>>2];g=v[f+v[n+56>>2]>>2];f=0;while(1){l=f-c<<2;m=f+k<<2;v[l+g>>2]=v[m+g>>2];v[j+l>>2]=v[j+m>>2];l=f+p<<2;m=f<<2;v[l+g>>2]=v[m+g>>2];v[j+l>>2]=v[j+m>>2];f=f+1|0;if((c|0)!=(f|0)){continue}break}}a=a+88|0;h=h+1|0;if((o|0)!=(h|0)){continue}break}}v[e+72>>2]=d;v[e+52>>2]=b;v[e+48>>2]=0;v[e+68>>2]=2;v[e+64>>2]=v[e+64>>2]^1}}function QO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Qb-32|0;Qb=c;v[a>>2]=0;d=v[282402];v[a+4>>2]=d;a:{if(b>>>0>7){break a}b:{c:{d:{e:{switch(b-6|0){case 1:v[299999]=0;d=Q(4340,c+8|0,311751)|0;b=v[299999];v[299999]=0;if((b|0)==1){break d}v[299999]=0;U(4423,c+16|0,335582,d|0);b=v[299999];v[299999]=0;f:{g:{h:{if((b|0)!=1){v[299999]=0;U(4546,c+24|0,c+16|0,322677);b=v[299999];v[299999]=0;if((b|0)==1){break h}v[299999]=0;Q(4535,a|0,c+24|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break g}ec(c+24|0);ec(c+16|0);ec(d);break a}b=P()|0;O()|0;ec(d);break b}b=P()|0;O()|0;break f}b=P()|0;O()|0;ec(c+24|0)}ec(c+16|0);ec(d);break b;case 0:v[299999]=0;d=Q(4340,c+8|0,321577)|0;b=v[299999];v[299999]=0;i:{j:{k:{l:{if((b|0)!=1){v[299999]=0;U(4423,c+16|0,335582,d|0);b=v[299999];v[299999]=0;if((b|0)==1){break l}v[299999]=0;U(4546,c+24|0,c+16|0,355681);b=v[299999];v[299999]=0;if((b|0)==1){break k}v[299999]=0;Q(4535,a|0,c+24|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break j}ec(c+24|0);ec(c+16|0);ec(d);break a}b=P()|0;O()|0;break b}b=P()|0;O()|0;ec(d);break b}b=P()|0;O()|0;break i}b=P()|0;O()|0;ec(c+24|0)}ec(c+16|0);ec(d);break b;default:break e}}v[c+4>>2]=d;v[c>>2]=0;f=b<<1|1;d=0;while(1){v[299999]=0;Q(4584,c|0,32)|0;e=v[299999];v[299999]=0;if((e|0)==1){break c}e=(d|0)==(f|0);d=d+1|0;if(!e){continue}break}v[299999]=0;U(4546,c+8|0,c|0,335582);d=v[299999];v[299999]=0;m:{n:{o:{p:{q:{if((d|0)!=1){v[299999]=0;U(4546,c+16|0,c+8|0,v[(b<<2)+984912>>2]);b=v[299999];v[299999]=0;if((b|0)==1){break q}v[299999]=0;U(4546,c+24|0,c+16|0,355681);b=v[299999];v[299999]=0;if((b|0)==1){break p}v[299999]=0;Q(4535,a|0,c+24|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break o}ec(c+24|0);ec(c+16|0);ec(c+8|0);ec(c);break a}b=P()|0;O()|0;ec(c);break b}b=P()|0;O()|0;break m}b=P()|0;O()|0;break n}b=P()|0;O()|0;ec(c+24|0)}ec(c+16|0)}ec(c+8|0);ec(c);break b}b=P()|0;O()|0;break b}b=P()|0;O()|0;ec(c)}ec(a);T(b|0);L()}Qb=c+32|0}function zF(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=Qb-128|0;Qb=i;a:{if(!c){break a}v[c>>2]=0;if(!b){break a}b:{c:{d:{d=w[b|0];if((d|0)!=58){g=b;while(1){h=g+1|0;f=d&255;if(!f|(f|0)==58){break d}e:{if((e|0)!=100){t[(i+16|0)+e|0]=d;h=g+2|0;f=e|1;d=w[g+1|0];if(d?(d|0)!=58:0){break e}e=f;break d}g=d&255;e=100;break c}t[f+(i+16|0)|0]=d;h=g+3|0;f=e|2;d=w[g+2|0];if(!d){e=f;break d}if((d|0)==58){e=f;break d}t[f+(i+16|0)|0]=d;h=g+4|0;f=e|3;d=w[g+3|0];if(!d){e=f;break d}if((d|0)==58){e=f;break d}else{t[f+(i+16|0)|0]=d;e=e+4|0;d=w[h|0];g=h;continue}}}d=we(b);break a}g=d&255;if(e>>>0>99){break c}f=0;j=100;break b}d=0;j=e<<1;f=Ub[v[259707]](j)|0;if(!f){Qd(a,0);break a}gc(f,i+16|0,e);while(1){f:{d=g&255;if(!(!d|(d|0)==58)){if((e+10|0)<=(j|0)){d=f;break f}j=j<<1;d=Ub[v[259709]](f,j)|0;if(d){break f}d=0;Ub[v[259708]](f);Qd(a,0);break a}t[e+f|0]=0;break b}t[d+e|0]=g;e=e+1|0;g=w[h|0];h=h+1|0;f=d;continue}}if(!(w[h|0]|(g|0)!=58)){if(f){Ub[v[259708]](f)}v[c>>2]=0;d=we(b);break a}d=100;if(!f){f=rk(i+16|0,e);d=j}if((g|0)!=58){d=f;break a}g=w[h|0];v[c>>2]=f;if(!g){d=rk(358460,0);break a}g:{if((g-97&255)>>>0<26|(g-65&255)>>>0<26){break g}c=g&255;if((c|0)==58|(c|0)==95){break g}c=fl(a,h,i+12|0);h:{if((c|0)<=255){if((c&-33)-65>>>0<26|c-192>>>0<23|((c|0)==95|(c|0)>247)){break g}if(c-216>>>0>=31){break h}break g}if(jl(c,880068)|(c|0)==12295|(c-19968>>>0<20902|c-12321>>>0<9)){break g}}hf(a,202,348238,b)}h=h+1|0;i:{j:{if((d|0)<1){e=0;break j}e=0;while(1){k:{t[(i+16|0)+e|0]=g;b=h+1|0;e=e+1|0;g=w[h|0];if(!g){break k}h=b;if((d|0)>(e|0)){continue}}break}if((d|0)>(e|0)){break i}h=b}b=e<<1;c=Ub[v[259707]](b)|0;if(!c){d=0;Qd(a,0);break a}d=gc(c,i+16|0,e);if(g){while(1){l:{if((e+10|0)<=(b|0)){d=c;break l}b=b<<1;d=Ub[v[259709]](c,b)|0;if(d){break l}d=0;Qd(a,0);Ub[v[259708]](c);break a}t[d+e|0]=g;e=e+1|0;g=w[h|0];c=d;h=h+1|0;if(g){continue}break}}t[d+e|0]=0;break a}d=rk(i+16|0,e)}Qb=i+128|0;return d}function NTa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=Qb-48|0;Qb=c;a:{if(t[b+11|0]>=0){v[c+40>>2]=v[b+8>>2];e=v[b+4>>2];v[c+32>>2]=v[b>>2];v[c+36>>2]=e;break a}Ke(c+32|0,v[b>>2],v[b+4>>2])}t[c+27|0]=1;v[299999]=0;tc(c+16|0,460616,1);b=v[299999];v[299999]=0;if((b|0)!=1){b:{v[c+20>>2]=0;t[c+11|0]=1;v[299999]=0;tc(c,460624,1);b=v[299999];v[299999]=0;if((b|0)==1){break b}v[c+4>>2]=0;g=t[c+11|0];b=0;d=t[c+27|0];e=(d|0)<0;c:{d:{e:{f:{g:{h:{f=e?v[c+20>>2]:d&255;i:{if(f){b=w[c+43|0];d=b<<24>>24;b=(d|0)<0?v[c+36>>2]:b;if((f|0)>(b|0)){break i}d=(d|0)<0?v[c+32>>2]:c+32|0;h=d+(b<<2)|0;i=e?v[c+16>>2]:c+16|0;k=v[i>>2];e=d;while(1){b=b-f|0;j=b+1|0;if(j>>>0>>0){break i}b=sf(e,k,j);if(!b){break i}if(od(b,i,f)){e=b+4|0;b=h-e>>2;if((f|0)<=(b|0)){continue}break i}break}if((b|0)==(h|0)){break i}b=b-d|0;if((b|0)==-4){break i}b=b>>2}e=((g|0)>0?g:0)&255;while(1){v[299999]=0;d=w[c+11|0];g=d<<24>>24<0;ca(2342,c+32|0,b|0,f|0,(g?v[c>>2]:c)|0,(g?v[c+4>>2]:d)|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break h}b=pv(c+32|0,c+16|0,b+e|0);if((b|0)!=-1){continue}break}}if(t[c+11|0]<=-1){dc(v[c>>2])}if(t[c+27|0]<=-1){dc(v[c+16>>2])}v[299999]=0;d=jm(a+8|0,c+32|0);b=v[299999];v[299999]=0;if((b|0)==1){break d}g=a+12|0;if((g|0)==(d|0)){break e}b=v[d+28>>2];e=v[v[b>>2]+12>>2];v[299999]=0;S(e|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break d}b=v[d+4>>2];if(b){break g}e=v[d+8>>2];if((d|0)==v[e>>2]){break f}b=d+8|0;while(1){f=v[b>>2];b=f+8|0;e=v[f+8>>2];if((f|0)!=v[e>>2]){continue}break}break f}b=P()|0;O()|0;if(t[c+11|0]<=-1){dc(v[c>>2])}if(t[c+27|0]>-1){break c}dc(v[c+16>>2]);break c}while(1){e=b;b=v[b>>2];if(b){continue}break}}if((d|0)==v[a+8>>2]){v[a+8>>2]=e}v[a+16>>2]=v[a+16>>2]-1;Kz(v[a+12>>2],d);if(t[d+27|0]<=-1){dc(v[d+16>>2])}dc(d)}if(t[c+43|0]<=-1){dc(v[c+32>>2])}Qb=c+48|0;return(d|0)!=(g|0)|0}b=P()|0;O()|0}if(t[c+43|0]<=-1){dc(v[c+32>>2])}T(b|0);L()}}W(0)|0;O()|0;lc();L()}function aI(a,b,c){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;if(v[a+72>>2]==1869968492){if(c){l=v[c>>2];i=v[c+4>>2]}c=0;g=u[a+110>>1];a:{if(!g){break a}e=v[a+112>>2];c=v[e+4>>2];d=v[e>>2];if((g|0)<2){f=c;h=d;break a}j=(g<<3)+e|0;g=e+8|0;h=d;f=c;while(1){e=v[e+12>>2];f=(e|0)>(f|0)?e:f;c=(c|0)>(e|0)?e:c;e=v[g>>2];h=(e|0)>(h|0)?e:h;d=(d|0)>(e|0)?e:d;e=g;g=e+8|0;if(j>>>0>g>>>0){continue}break}}g=i&63;e=g+(f&63)|0;m=l&63;j=m+(h&63)|0;n=g+(c&63)|0;m=m+(d&63)|0;g=6;k=i>>6;i=k+(f>>6)|0;l=l>>6;f=l+(h>>6)|0;h=(c>>6)+k|0;c=l+(d>>6)|0;b:{c:{d:{switch(b-2|0){default:f=f+(j+63>>>6|0)|0;c=c+(m>>>6|0)|0;d=f-c|0;g=2;e=i+(e+63>>>6|0)|0;h=h+(n>>>6|0)|0;i=e-h|0;break c;case 0:d=j+32|0;f=f+(d>>>6|0)|0;b=c;c=m+31|0;b=b+(c>>>6|0)|0;e:{if((f|0)==(b|0)){if((((d&63)+(c&63)|0)-31|0)<=31){f=b;b=b-1|0;break e}f=b+1|0}}c=b;d=e+32|0;e=i+(d>>>6|0)|0;b=h;h=n+31|0;b=b+(h>>>6|0)|0;f:{if((e|0)==(b|0)){if((((d&63)+(h&63)|0)-31|0)<=31){e=b;b=b-1|0;break f}e=b+1|0}}h=b;i=e-b|0;d=f-c|0;b=d+15>>3&-2;g=1;break b;case 1:o=i;k=e;b=v[a>>2];d=v[b+184>>2];g=v[b+192>>2];e=(d|0)<(g|0)?d:g;i=v[b+200>>2];e=o+((k-((e|0)<(i|0)?e:i)|0)+63>>6)|0;d=(d|0)>(g|0)?d:g;h=(n-((d|0)>(i|0)?d:i)>>6)+h|0;i=e-h|0;k=f;d=v[b+180>>2];g=v[b+188>>2];f=(d|0)<(g|0)?d:g;b=v[b+196>>2];f=k+((j-((b|0)>(f|0)?f:b)|0)+63>>6)|0;k=c;c=(d|0)>(g|0)?d:g;c=k+(m-((b|0)<(c|0)?c:b)>>6)|0;d=B(f-c|0,3);b=d+3&-4;g=5;break b;case 2:break d}}o=f;k=j;b=v[a>>2];d=v[b+184>>2];j=v[b+192>>2];f=(d|0)<(j|0)?d:j;l=v[b+200>>2];f=o+((k-((f|0)<(l|0)?f:l)|0)+63>>6)|0;k=c;c=(d|0)>(j|0)?d:j;c=k+(m-((c|0)>(l|0)?c:l)>>6)|0;d=f-c|0;k=i;i=v[b+180>>2];j=v[b+188>>2];m=(i|0)>(j|0)?i:j;b=v[b+196>>2];e=k+((e+((b|0)<(m|0)?m:b)|0)+63>>6)|0;k=h;h=(i|0)<(j|0)?i:j;h=k+(((b|0)>(h|0)?h:b)+n>>6)|0;i=B(e-h|0,3)}b=d}v[a+104>>2]=e;v[a+100>>2]=c;v[a+76>>2]=i;t[a+94|0]=g;u[a+92>>1]=256;v[a+80>>2]=d;v[a+84>>2]=b;a=(c|0)<-32768|(f|0)>32767|(h|0)<-32768|(e|0)>32767}else{a=1}return a}function Tpa(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;g=Qb-32|0;Qb=g;a:{b:{c:{d:{e:{f:{g:{h:{f=v[b>>2];if(f){if((Ml(f,47,0)|0)>-1){break h}f=v[b>>2]}h=fc(28);v[h+8>>2]=0;v[h>>2]=982756;v[h+4>>2]=0;v[h+12>>2]=v[282402];i=h+8|0;if(!f){break g}j=v[v[f>>2]+28>>2];v[299999]=0;U(j|0,g+8|0,f|0,1);f=v[299999];v[299999]=0;if((f|0)!=1){break f}a=P()|0;O()|0;break e}b=vc(g+8|0,269990,242355,157,337601,0);v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}a=P()|0;O()|0;qc(b);break c}v[g+8>>2]=0}v[299999]=0;Q(4344,i|0,g+8|0)|0;f=v[299999];v[299999]=0;if((f|0)!=1){f=v[g+8>>2];v[g+8>>2]=0;if(!f){break d}v[299999]=0;i=v[f+4>>2]-1|0;v[f+4>>2]=i;j=v[299999];v[299999]=0;if((j|0)!=1){if(i){break d}v[299999]=0;R(4338,f|0);f=v[299999];v[299999]=0;if((f|0)!=1){break d}}break a}a=P()|0;O()|0;ec(g+8|0)}ec(i);Qc(h);dc(h);break c}f=v[h+8>>2];f=v[(f?f+12|0:1129608)>>2];v[h+24>>2]=e;v[h+20>>2]=d;t[h+16|0]=c;v[h+12>>2]=f;v[g>>2]=0;Wc(g,h);v[299999]=0;b=Q(4586,a+8|0,b|0)|0;c=v[299999];v[299999]=0;i:{j:{if((c|0)==1){break j}v[299999]=0;Q(4344,b+24|0,g|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break j}b=v[a+52>>2];c=v[a+56>>2];v[299999]=0;U(4553,a+36|0,0,(c-b|0)+1|0);b=v[299999];v[299999]=0;if((b|0)==1){break j}c=v[a+56>>2];d=v[a+52>>2];b=c-d|0;if(!((b|0)<=(c|0)&(b|0)>=(d|0))){v[299999]=0;b=aa(4369,g+8|0,227445,271729,619,308647,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break j}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}a=P()|0;O()|0;qc(b);break i}c=v[a+40>>2];a=v[a+44>>2];v[299999]=0;Q(4344,c+(b-a<<2)|0,g|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break j}a=v[g>>2];v[g>>2]=0;k:{if(!a){break k}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break k}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Qb=g+32|0;return}a=P()|0;O()|0}ec(g)}T(a|0)}L()}W(0)|0;O()|0;lc();L()}function tK(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0;j=jc(44);a:{if(j){v[j+32>>2]=0;v[j+28>>2]=h;v[j+24>>2]=g;v[j+20>>2]=f;v[j+16>>2]=e;v[j+12>>2]=d;v[j+8>>2]=c;v[j+4>>2]=b;v[j>>2]=a;v[j+40>>2]=65536;a=g+7>>>3|0;v[j+36>>2]=a;h=B(a,B(e,f));d=j;b:{if(i){a=di(0,h);break b}f=0;e=Qb-16|0;Qb=e;a=jc(68);c:{if(!a){a=0;break c}v[a+52>>2]=0;v[a+56>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a+60>>2]=0;v[a+64>>2]=-1;v[a>>2]=11;v[a+12>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;d:{c=jc(32);if(!c){if(!(w[a+4|0]&8)){break d}b=v[a+12>>2];if(!b){break d}dc(b);v[a+12>>2]=0;break d}t[c+8|0]=0;v[c>>2]=-1;v[c+4>>2]=0;v[a+56>>2]=c;i=c+8|0;k=i;b=Qb-128|0;Qb=b;g=w[1009631]|w[1009632]<<8|(w[1009633]<<16|w[1009634]<<24);t[b+111|0]=g;t[b+112|0]=g>>>8;t[b+113|0]=g>>>16;t[b+114|0]=g>>>24;g=v[252407];v[b+104>>2]=v[252406];v[b+108>>2]=g;g=v[252405];v[b+96>>2]=v[252404];v[b+100>>2]=g;g=b+96|12;e:{f:{while(1){kN(g);l=b+8|0;ic(l,0,88);if((jb(b+96|0,l|0)|0)==-44){break f}f=f+1|0;if((f|0)!=100){continue}break}break e}ce(k?k:1199920,b+96|0)}Qb=b+128|0;v[e>>2]=438;b=Sw(i,706,e);v[c>>2]=b;if((b|0)<=-1){if(!(w[a+4|0]&8)){break d}b=v[a+12>>2];if(!b){break d}dc(b);v[a+12>>2]=0;break d}if(iN(i)){v[c+4>>2]=v[c+4>>2]|1}if(!v[a+12>>2]){b=jc(8208);v[a+12>>2]=b;g:{if(b){f=v[a+4>>2]|8;c=8192;break g}b=a+32|0;v[a+12>>2]=b;f=v[a+4>>2];c=1}v[a+28>>2]=0;v[a+20>>2]=c;v[a+52>>2]=1028104;b=b+16|0;v[a+24>>2]=b;v[a+16>>2]=b;v[a+4>>2]=f|2;break c}X(36522,6782,703,188128);L()}dc(a);a=0}Qb=e+16|0}v[d+32>>2]=a;h:{if(!a){break h}i:{j:{if((Df(a,h-1|0,0)|0)<0){break j}e=v[j+32>>2];a=v[e+8>>2];if(a&7){break i}b=v[e+64>>2];if(!((b|0)<0|(b|0)>v[e+60>>2])){v[e+8>>2]=a|4;break j}v[e+4>>2]=v[e+4>>2]|32;a=v[e+28>>2];v[e+28>>2]=a-1;k:{if((a|0)<=0){if((Fc(e,0)|0)!=-1){break k}break j}v[e+60>>2]=v[e+60>>2]+1;a=v[e+24>>2];v[e+24>>2]=a+1;t[a|0]=0}if((Df(v[j+32>>2],0,0)|0)>-1){break a}}e=v[j+32>>2];if(!e){break h}}Te(e)}dc(j)}j=0}return j}function Sia(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,n=0,o=0,p=0,q=0,r=0,s=0;i=Qb-1056|0;Qb=i;a:{b:{if(!b){a=vc(i,307032,241480,1405,341439,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}if(!w[1180081]){t[1180081]=1;while(1){t[f+1180096|0]=f>>>0<255?f:255;g=f|1;t[g+1180096|0]=g>>>0<255?g:255;g=f|2;t[g+1180096|0]=g>>>0<255?g:255;g=f|3;t[g+1180096|0]=g>>>0<255?g:255;f=f+4|0;if((f|0)!=512){continue}break}}c:{if(!e){break c}g=x[b+8>>1];j=g+d|0;h=x[a+8>>1];q=(d|0)>0?d:0;o=((h|0)>(j|0)?j:h)-q|0;if((o|0)<1){break c}j=x[b+10>>1]+c|0;h=x[a+10>>1];f=(h|0)>(j|0)?j:h;j=(c|0)>0?c:0;p=f-j|0;if((p|0)<1){break c}k=x[b+16>>1];m=k-1|0;d:{if(m>>>0<2){break d}f=1;if((k|0)!=3){l=k-2&-2;while(1){v[(f<<2)+i>>2]=(f<<16>>>0)/(m>>>0);h=f+1|0;v[(h<<2)+i>>2]=(h<<16>>>0)/(m>>>0);f=f+2|0;l=l-2|0;if(l){continue}break}}if(!(k&1)){break d}v[(f<<2)+i>>2]=(f<<16>>>0)/(m>>>0)}r=w[e|0];s=w[e+1|0];k=w[e+2|0];if(!v[b+20>>2]){gi(b);g=x[b+8>>1]}e:{if(!(g&65535)){n=x[b+14>>1];b=x[b+12>>1];if(v[282398]<(n+b|0)){a=vc(i+1032|0,260231,271771,592,225838,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}b=b+v[282397]|0;break e}n=x[b+14>>1];b=v[b+20>>2]+x[b+12>>1]|0}if((o|0)<1|(p|0)<1){break c}h=0;g=x[a+12>>1];e=(B(B(g,q),3)+(x[a+8>>1]?v[a+16>>2]:0)|0)+B(j,3)|0;b=(b-B((d|0)>0?0:d,n)|0)-((c|0)>0?0:c)|0;while(1){f=0;while(1){a=w[b+f|0];if(a){f:{if(a>>>0>=m>>>0){a=B(f,3)+e|0;t[a|0]=w[(r+w[a|0]|0)+1180096|0];t[a+1|0]=w[(w[a+1|0]+s|0)+1180096|0];l=w[a+2|0]+k|0;a=a+2|0;break f}c=B(f,3)+e|0;a=v[(a<<2)+i>>2];t[c|0]=w[(w[c|0]+(B(a,r)>>>16|0)|0)+1180096|0];t[c+1|0]=w[(w[c+1|0]+(B(a,s)>>>16|0)|0)+1180096|0];l=w[c+2|0]+(B(a,k)>>>16|0)|0;a=c+2|0}t[a|0]=w[l+1180096|0]}f=f+1|0;if((p|0)!=(f|0)){continue}break}b=b+n|0;e=B(g,3)+e|0;h=h+1|0;if((o|0)!=(h|0)){continue}break}}Qb=i+1056|0;return}L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function Kf(a,b,c){var d=0,e=0;if(b){d=a^-1;a:{if(!c|!(b&3)){break a}d=v[((w[b|0]^d&255)<<2)+865088>>2]^d>>>8;a=c-1|0;e=b+1|0;if(!(e&3?a:0)){b=e;c=a;break a}d=v[((w[b+1|0]^d&255)<<2)+865088>>2]^d>>>8;e=c-2|0;a=b+2|0;if(!(!e|!(a&3))){d=v[((w[b+2|0]^d&255)<<2)+865088>>2]^d>>>8;e=c-3|0;a=b+3|0;if(!(!e|!(a&3))){d=v[((w[b+3|0]^d&255)<<2)+865088>>2]^d>>>8;c=c-4|0;b=b+4|0;break a}b=a;c=e;break a}b=a;c=e}if(c>>>0>31){while(1){a=v[b>>2]^d;a=v[b+4>>2]^(v[(a>>>6&1020)+867136>>2]^v[((a&255)<<2)+868160>>2]^v[(a>>>14&1020)+866112>>2]^v[(a>>>22&1020)+865088>>2]);a=v[b+8>>2]^(v[(a>>>6&1020)+867136>>2]^v[((a&255)<<2)+868160>>2]^v[(a>>>14&1020)+866112>>2]^v[(a>>>22&1020)+865088>>2]);a=v[b+12>>2]^(v[(a>>>6&1020)+867136>>2]^v[((a&255)<<2)+868160>>2]^v[(a>>>14&1020)+866112>>2]^v[(a>>>22&1020)+865088>>2]);a=v[b+16>>2]^(v[(a>>>6&1020)+867136>>2]^v[((a&255)<<2)+868160>>2]^v[(a>>>14&1020)+866112>>2]^v[(a>>>22&1020)+865088>>2]);a=v[b+20>>2]^(v[(a>>>6&1020)+867136>>2]^v[((a&255)<<2)+868160>>2]^v[(a>>>14&1020)+866112>>2]^v[(a>>>22&1020)+865088>>2]);a=v[b+24>>2]^(v[(a>>>6&1020)+867136>>2]^v[((a&255)<<2)+868160>>2]^v[(a>>>14&1020)+866112>>2]^v[(a>>>22&1020)+865088>>2]);a=v[b+28>>2]^(v[(a>>>6&1020)+867136>>2]^v[((a&255)<<2)+868160>>2]^v[(a>>>14&1020)+866112>>2]^v[(a>>>22&1020)+865088>>2]);d=v[(a>>>6&1020)+867136>>2]^v[((a&255)<<2)+868160>>2]^v[(a>>>14&1020)+866112>>2]^v[(a>>>22&1020)+865088>>2];b=b+32|0;c=c-32|0;if(c>>>0>31){continue}break}}if(c>>>0>3){while(1){a=v[b>>2]^d;d=v[(a>>>6&1020)+867136>>2]^v[((a&255)<<2)+868160>>2]^v[(a>>>14&1020)+866112>>2]^v[(a>>>22&1020)+865088>>2];b=b+4|0;c=c-4|0;if(c>>>0>3){continue}break}}b:{if(!c){break b}if(c&1){d=v[((w[b|0]^d&255)<<2)+865088>>2]^d>>>8;b=b+1|0;a=c-1|0}else{a=c}if((c|0)==1){break b}while(1){c=v[((w[b|0]^d&255)<<2)+865088>>2]^d>>>8;d=v[((w[b+1|0]^c&255)<<2)+865088>>2]^c>>>8;b=b+2|0;a=a-2|0;if(a){continue}break}}a=d^-1}else{a=0}return a}function xj(a,b,c,d,e,f,g,h,i,j){var k=0,l=0;k=v[b+88>>2];t[k+49|0]=0;t[k+50|0]=0;t[k+48|0]=i;t[k+47|0]=h;t[k+46|0]=g;t[k+45|0]=f;t[k+44|0]=e;v[k+40>>2]=d;v[k+36>>2]=c;a:{b:{switch(f|0){case 0:case 8:l=e>>>0>8?2:1;break a;case 2:case 10:l=e>>>0>8?6:3;break a;case 3:l=1;break a;case 4:case 12:l=e>>>0>8?4:2;break a;case 6:case 14:break b;default:break a}}l=e>>>0>8?8:4}c:{h=B(c,l);g=B(h,d);f=v[k+1172>>2];d:{if((g|0)!=(f|0)){i=v[k+1176>>2];if(i){Ub[v[a+156>>2]](i,f);v[k+1176>>2]=0}if(!g){break d}f=Ub[v[a+152>>2]](g)|0;v[k+1176>>2]=f;if(f){break d}break c}if(!g){break d}i=v[k+1176>>2];e:{if(g>>>0<4){f=i;break e}f=g&-4;f=ic(i,0,f)+f|0;i=v[k+1176>>2]}if(g+i>>>0<=f>>>0){break d}while(1){t[f|0]=0;f=f+1|0;if(f>>>0>2]>>>0){continue}break}}v[k+1172>>2]=g;v[k+1168>>2]=h;v[k+1164>>2]=l;if(!w[k+53|0]){t[k+53|0]=e}if(!w[k+54|0]){t[k+54|0]=e}if(!(w[b+44|0]|(!c|!d))){v[b+60>>2]=d;v[b+56>>2]=0;v[b+52>>2]=c;v[b+48>>2]=0}if(x[b+28>>1]){v[b+64>>2]=0;v[b+68>>2]=0;u[b+70>>1]=0;u[b+72>>1]=0;u[b+74>>1]=0;u[b+76>>1]=0}if(!j){return 0}v[b+80>>2]=0;v[b+84>>2]=0;t[k+55|0]=0;t[k+56|0]=0;f=w[a+308|0];t[k+57|0]=f;t[k+58|0]=w[a+309|0];t[k+59|0]=w[a+310|0];t[k+60|0]=w[a+311|0];t[k+61|0]=w[a+312|0];b=v[k+1144>>2];if(b){c=v[k+1148>>2];if(c){Ub[v[a+156>>2]](c,b);v[k+1148>>2]=0;f=w[a+308|0]}v[k+1144>>2]=0}if(f&255){v[k+1104>>2]=v[a+2192>>2]}if(w[a+309|0]){v[k+1108>>2]=v[a+2196>>2];v[k+1112>>2]=v[a+2200>>2];v[k+1116>>2]=v[a+2204>>2];v[k+1120>>2]=v[a+2208>>2];v[k+1124>>2]=v[a+2212>>2];v[k+1128>>2]=v[a+2216>>2];v[k+1132>>2]=v[a+2220>>2];v[k+1136>>2]=v[a+2224>>2]}if(w[a+310|0]){t[k+1140|0]=w[a+2228|0]}if(w[a+311|0]){b=k;c=v[a+2232>>2];if(c){c=Ub[v[a+152>>2]](c)|0;v[k+1148>>2]=c;if(!c){break c}gc(c,v[a+2236>>2],v[a+2232>>2]);c=v[a+2232>>2]}else{c=0}v[b+1144>>2]=c}if(w[a+312|0]){u[k+1156>>1]=x[a+2240>>1];u[k+1158>>1]=x[a+2242>>1];u[k+1160>>1]=x[a+2244>>1]}return 0}pc(a,1,0,0);return 1}function vaa(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,j=0,k=0;a=Qb-624|0;Qb=a;v[a+608>>2]=c;v[a+616>>2]=b;v[a+16>>2]=5601;b=Mf(a+200|0,a+208|0,a+16|0);v[299999]=0;h=v[e+28>>2];v[a+192>>2]=h;v[h+4>>2]=v[h+4>>2]+1;h=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{if((h|0)!=1){v[299999]=0;h=S(5466,a+192|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break j}t[a+191|0]=0;e=v[e+4>>2];v[299999]=0;c=Ca(5612,a+616|0,c|0,d|0,a+192|0,e|0,f|0,a+191|0,h|0,b|0,a+196|0,a+608|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break e}if(!c){break f}c=w[322935]|w[322936]<<8|(w[322937]<<16|w[322938]<<24);t[a+183|0]=c;t[a+184|0]=c>>>8;t[a+185|0]=c>>>16;t[a+186|0]=c>>>24;c=w[322932]|w[322933]<<8|(w[322934]<<16|w[322935]<<24);v[a+176>>2]=w[322928]|w[322929]<<8|(w[322930]<<16|w[322931]<<24);v[a+180>>2]=c;v[299999]=0;Z(5576,h|0,a+176|0,a+186|0,a+128|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break i}v[a+4>>2]=1563;d=Mf(a+8|0,0,a+4|0);c=a+16|0;if((v[a+196>>2]-v[b>>2]|0)<393){break g}Ig(d,jc((v[a+196>>2]-v[b>>2]>>2)+2|0));if(v[d>>2]){break h}v[299999]=0;ba(5538);c=v[299999];v[299999]=0;if((c|0)==1){break d}break a}e=P()|0;O()|0;break b}e=P()|0;O()|0;break c}e=P()|0;O()|0;break c}c=v[d>>2]}if(w[a+191|0]){t[c|0]=45;c=c+1|0}e=v[b>>2];while(1){if(y[a+196>>2]<=e>>>0){t[c|0]=0;v[a>>2]=g;if((ef(a+16|0,273880,a)|0)!=1){v[299999]=0;R(5603,238035);c=v[299999];v[299999]=0;if((c|0)!=1){break a}break d}ee(d)}else{h=a+128|0;j=c,k=w[(a+176|0)+(gC(h,h+40|0,e)-h>>2)|0],t[j|0]=k;c=c+1|0;e=e+4|0;continue}break}}v[299999]=0;c=Q(5568,a+616|0,a+608|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break e}if(c){v[f>>2]=v[f>>2]|2}e=v[a+616>>2];c=v[a+192>>2];d=v[c+4>>2]-1|0;v[c+4>>2]=d;if((d|0)==-1){Ub[v[v[c>>2]+8>>2]](c)}ee(b);Qb=a+624|0;return e|0}e=P()|0;O()|0;break c}e=P()|0;O()|0;ee(d)}a=v[a+192>>2];c=v[a+4>>2]-1|0;v[a+4>>2]=c;if((c|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}}ee(b);T(e|0);L()}L()}function sVa(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,h=0,i=C(0),j=0,k=0,l=0,m=0;a:{if(v[a+624>>2]==8){break a}Ub[v[v[a>>2]+136>>2]](a,457432)|0;kq(a);e=rv(a,a+88|0);g=v[a+16>>2];f=v[a+12>>2];k=A[c>>3];l=A[d>>3];c=Qb-144|0;Qb=c;b:{c:{d:{e:{f:{g:{if(!v[e+4>>2]){d=kv(c+136|0,g+48|0);v[299999]=0;Pj(d,g+52|0,0);a=v[299999];v[299999]=0;if((a|0)==1){break d}v[299999]=0;iq(d,c+80|0);a=v[299999];v[299999]=0;if((a|0)==1){break e}A[c+72>>3]=k;A[c+64>>3]=l;v[299999]=0;h=Q(2369,c+56|0,d|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break f}v[299999]=0;hq(h);a=v[299999];v[299999]=0;if((a|0)==1){break g}v[299999]=0;Pj(h,g+56|0,0);a=v[299999];v[299999]=0;if((a|0)==1){break g}v[299999]=0;ke(h,c+72|0,c- -64|0);a=v[299999];v[299999]=0;if((a|0)==1){break g}A[c+48>>3]=C(A[c+80>>3]);A[c+40>>3]=C(A[c+88>>3]);A[c+32>>3]=C(A[c+96>>3]);A[c+24>>3]=C(A[c+104>>3]);A[c+16>>3]=C(A[c+112>>3]);A[c+8>>3]=C(A[c+120>>3]);a=v[v[f>>2]+120>>2];v[299999]=0;ma(a|0,f|0,c+48|0,c+40|0,c+32|0,c+24|0,c+16|0,c+8|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break g}v[g+2860>>2]=v[f+160>>2];v[c+48>>2]=v[b>>2];z[c+40>>2]=A[c+72>>3];z[c+32>>2]=A[c+64>>3];a=v[v[f>>2]+104>>2];v[299999]=0;Z(a|0,f|0,c+48|0,c+40|0,c+32|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break g}v[c+48>>2]=0;v[c+40>>2]=0;h:{while(1){i:{v[c+32>>2]=0;a=v[v[f>>2]+184>>2];v[299999]=0;a=Z(a|0,f|0,c+32|0,c+48|0,c+40|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break i}if(!a){break h}b=v[c+32>>2];if(!b){continue}v[299999]=0;i=z[c+40>>2];j:{if(C(D(i))>2];k:{if(C(D(i))>2]+4>>2]](e)}return 0}function Xz(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;h=Qb+-64|0;Qb=h;k=v[b>>2];v[h>>2]=k;v[h+4>>2]=v[c>>2];m=w[e+9|0];o=m?10:9;while(1){n=(g<<2)+h|0;v[n+8>>2]=k;if(w[e+g|0]){j=v[a+8>>2];a:{if(v[a+12>>2]-j>>3>>>0<=i>>>0){j=0;l=v[a+4>>2];if(!l|v[l>>2]){break a}v[l>>2]=130;break a}b:{c:{d:{j=j+(i<<3)|0;switch(v[j+4>>2]-1|0){case 0:break c;case 1:break d;default:break b}}j=v[j>>2]<<16;break a}j=v[j>>2];j=((j>>31)+j|0)- -8192>>14;break a}j=v[j>>2]}v[n+8>>2]=j+k;i=i+1|0}g=g+1|0;if((o|0)!=(g|0)){k=v[(g<<2)+h>>2];continue}break}if(!m){v[h+44>>2]=v[c>>2]}e:{f:{if(f){f=v[h+44>>2]-v[c>>2]|0;e=f>>31;f=e^e+f;g=v[h+40>>2]-v[b>>2]|0;e=g>>31;g=e^e+g;e=v[a+8>>2];g:{if(v[a+12>>2]-e>>3>>>0<=i>>>0){i=0;e=v[a+4>>2];if(!e|v[e>>2]){break g}v[e>>2]=130;break g}h:{i:{j:{e=e+(i<<3)|0;switch(v[e+4>>2]-1|0){case 0:break i;case 1:break j;default:break h}}i=v[e>>2]<<16;break g}e=v[e>>2];i=((e>>31)+e|0)- -8192>>14;break g}i=v[e>>2]}if((f|0)<(g|0)){g=v[h+40>>2]+i|0;break f}g=v[b>>2];e=v[h+44>>2]+i|0;break e}f=h;k:{if(w[e+10|0]){j=v[h+40>>2];g=v[a+8>>2];l:{if(v[a+12>>2]-g>>3>>>0<=i>>>0){k=0;g=v[a+4>>2];if(!g|v[g>>2]){break l}v[g>>2]=130;break l}m:{n:{o:{g=g+(i<<3)|0;switch(v[g+4>>2]-1|0){case 0:break n;case 1:break o;default:break m}}k=v[g>>2]<<16;break l}g=v[g>>2];k=((g>>31)+g|0)- -8192>>14;break l}k=v[g>>2]}i=i+1|0;g=j+k|0;break k}g=v[b>>2]}v[f+48>>2]=g;if(!w[e+11|0]){break f}f=v[h+44>>2];e=v[a+8>>2];p:{if(v[a+12>>2]-e>>3>>>0<=i>>>0){i=0;e=v[a+4>>2];if(!e|v[e>>2]){break p}v[e>>2]=130;g=v[h+48>>2];break p}q:{r:{s:{e=e+(i<<3)|0;switch(v[e+4>>2]-1|0){case 0:break r;case 1:break s;default:break q}}i=v[e>>2]<<16;break p}e=v[e>>2];i=((e>>31)+e|0)- -8192>>14;break p}i=v[e>>2]}e=f+i|0;break e}e=v[c>>2]}Ao(d,v[h+8>>2],v[h+12>>2],v[h+16>>2],v[h+20>>2],v[h+24>>2],v[h+28>>2]);Ao(d,v[h+32>>2],v[h+36>>2],v[h+40>>2],v[h+44>>2],g,e);v[a+12>>2]=v[a+8>>2];v[b>>2]=g;v[c>>2]=e;Qb=h- -64|0}function Nq(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=v[a+584>>2];g=v[i+64>>2];e=v[i+68>>2];if((b|0)>=2624){while(1){h=x[c+620>>1];d=x[c+618>>1];a:{if(d>>>0<=e>>>0){break a}d=d-e|0;e=h>>>d|g;if(v[a+608>>2]>=v[a+600>>2]){Ae(a)}g=v[a+604>>2];v[a+604>>2]=g+1;t[g|0]=e;f=v[a+608>>2]+1|0;v[a+608>>2]=f;e=8;g=0;if(d>>>0<9){break a}while(1){d=d-8|0;e=h>>>d|0;if(v[a+600>>2]<=(f|0)){Ae(a)}f=v[a+604>>2];v[a+604>>2]=f+1;t[f|0]=e;f=v[a+608>>2]+1|0;v[a+608>>2]=f;e=8;if(d>>>0>8){continue}break}}e=e-d|0;g=(h&v[(d<<2)+86176>>2])<>2]>=v[a+600>>2]){Ae(a)}h=v[a+604>>2];v[a+604>>2]=h+1;t[h|0]=g;v[a+608>>2]=v[a+608>>2]+1;g=0;e=8}b=b-u[c+622>>1]|0;if((b|0)>2623){continue}break}}h=c;b:{if((b|0)>=64){c=B((b>>>6|0)+63|0,6)+c|0;if(u[c+4>>1]!=(b&-64)){break b}j=x[c+2>>1];d=x[c>>1];c:{if(d>>>0<=e>>>0){break c}d=d-e|0;e=j>>>d|g;if(v[a+608>>2]>=v[a+600>>2]){Ae(a)}g=v[a+604>>2];v[a+604>>2]=g+1;t[g|0]=e;f=v[a+608>>2]+1|0;v[a+608>>2]=f;e=8;g=0;if(d>>>0<9){break c}while(1){d=d-8|0;e=j>>>d|0;if(v[a+600>>2]<=(f|0)){Ae(a)}f=v[a+604>>2];v[a+604>>2]=f+1;t[f|0]=e;f=v[a+608>>2]+1|0;v[a+608>>2]=f;e=8;if(d>>>0>8){continue}break}}e=e-d|0;g=(v[(d<<2)+86176>>2]&j)<>2]>=v[a+600>>2]){Ae(a)}d=v[a+604>>2];v[a+604>>2]=d+1;t[d|0]=g;v[a+608>>2]=v[a+608>>2]+1;g=0;e=8}b=b-u[c+4>>1]|0}c=B(b,6)+h|0;b=x[c+2>>1];d=x[c>>1];d:{if(d>>>0<=e>>>0){break d}d=d-e|0;c=b>>>d|g;if(v[a+608>>2]>=v[a+600>>2]){Ae(a)}h=v[a+604>>2];v[a+604>>2]=h+1;t[h|0]=c;f=v[a+608>>2]+1|0;v[a+608>>2]=f;e=8;g=0;if(d>>>0<9){break d}while(1){d=d-8|0;c=b>>>d|0;if(v[a+600>>2]<=(f|0)){Ae(a)}h=v[a+604>>2];v[a+604>>2]=h+1;t[h|0]=c;f=v[a+608>>2]+1|0;v[a+608>>2]=f;if(d>>>0>8){continue}break}}c=b&v[(d<<2)+86176>>2];b=e-d|0;f=c<>2]>=v[a+600>>2]){Ae(a)}b=v[a+604>>2];v[a+604>>2]=b+1;t[b|0]=f;v[a+608>>2]=v[a+608>>2]+1;f=0;b=8}v[c+68>>2]=b;v[i+64>>2]=f;return}X(58935,7814,643,86480);L()}function _Ma(a,b){a=a|0;b=b|0;var 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;n=Qb-16|0;o=v[a+12>>2];f=v[a+24>>2];j=v[a+8>>2];g=v[a+4>>2];r=v[g+24>>2];d=v[g+56>>2];e=v[a+16>>2];k=v[a+20>>2];a:{if(!(!d|e>>>0>=k>>>0)){v[g+56>>2]=0;h=-1;c=0;break a}c=1}while(1){b:{c:{d:{e:{f:{g:{if(!c){if(j>>>0>=o>>>0){break f}if(d&1024){break e}c=x[j>>1];if((c&64512)!=56320){break e}p=p+1|0;j=j+2|0;d=(c+(d<<10)|0)-56613888|0;break g}d=j;while(1){if(d>>>0>=o>>>0){j=d;break d}if(e>>>0>=k>>>0){j=d;break d}j=d+2|0;h:{d=x[d>>1];i:{if(d>>>0<=127){v[f>>2]=h;t[e|0]=d;f=f+4|0;h=h+1|0;c=e+1|0;break i}if(d>>>0>2047){break h}v[f>>2]=h;t[e|0]=d>>>6|192;c=e+1|0;if(c>>>0>=k>>>0){f=f+4|0;t[g+63|0]=1;t[g+76|0]=d&63|128;v[b>>2]=15;break i}v[f+4>>2]=h;t[e+1|0]=d&63|128;f=f+8|0;h=h+1|0;c=e+2|0}e=c;d=j;continue}break}p=h+1|0;if((r|0)==849664|(d&63488)!=55296){break g}c=0;continue}c=3;i=(k-e|0)>3?e:n+12|0;j:{if((d|0)<=65535){t[i|0]=d>>>12|224;c=2;break j}t[i|0]=d>>>18|240;t[i+1|0]=d>>>12&63|128}m=c+i|0;t[m|0]=d&63|128;t[m-1|0]=d>>>6&63|128;if((e|0)==(i|0)){break c}m=(n+12|0)+c|0;if(m>>>0>>0){break b}l=(n+12|0)+c|0;if((l-i|0)+1&1){k:{if(e>>>0>=k>>>0){c=w[i|0];q=t[g+63|0];t[g+63|0]=q+1;t[(g+q|0)+76|0]=c;v[b>>2]=15;break k}v[f>>2]=h;t[e|0]=w[i|0];e=e+1|0;f=f+4|0}c=i+1|0}else{c=i}if((i|0)==(l|0)){break b}while(1){l:{if(e>>>0>>0){v[f>>2]=h;t[e|0]=w[c|0];e=e+1|0;f=f+4|0;break l}i=w[c|0];l=t[g+63|0];t[g+63|0]=l+1;t[(g+l|0)+76|0]=i;v[b>>2]=15}m:{if(e>>>0>=k>>>0){i=w[c+1|0];l=t[g+63|0];t[g+63|0]=l+1;t[(g+l|0)+76|0]=i;v[b>>2]=15;break m}v[f>>2]=h;t[e|0]=w[c+1|0];e=e+1|0;f=f+4|0}c=c+2|0;if(m>>>0>=c>>>0){continue}break}break b}v[g+56>>2]=d;break d}v[g+56>>2]=d;v[b>>2]=12}if(!(e>>>0>>0|j>>>0>=o>>>0|v[b>>2]>0)){v[b>>2]=15}v[a+24>>2]=f;v[a+8>>2]=j;v[a+16>>2]=e;return}v[f+8>>2]=h;v[f+4>>2]=h;v[f>>2]=h;if((d|0)>=65536){v[f+12>>2]=h}c=c+1|0;e=c+e|0;f=(c<<2)+f|0}h=p;c=1;continue}}function Yha(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;g=Qb-32|0;Qb=g;f=v[b>>2];f=v[(f?f+12|0:1129608)>>2];v[g+24>>2]=0;a:{b:{c:{d:{if(!f|!w[f|0]){break d}v[299999]=0;f=Q(5163,0,0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break c}v[299999]=0;f=Q(4340,g+16|0,f|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break c}c=c^1;while(1){e:{e=v[b>>2];h=v[v[e>>2]+24>>2];v[299999]=0;U(h|0,g+8|0,e|0,d|0);e=v[299999];v[299999]=0;f:{g:{h:{i:{if((e|0)!=1){v[299999]=0;Q(4344,g+24|0,g+8|0)|0;e=v[299999];v[299999]=0;j:{k:{if((e|0)!=1){e=v[g+8>>2];v[g+8>>2]=0;l:{if(!e){break l}v[299999]=0;h=v[e+4>>2]-1|0;v[e+4>>2]=h;i=v[299999];v[299999]=0;if((i|0)==1){break a}if(h){break l}v[299999]=0;R(4338,e|0);e=v[299999];v[299999]=0;if((e|0)==1){break a}}if(!(c&1)){break j}if(v[g+24>>2]){break e}v[299999]=0;c=Q(5163,0,358460)|0;e=v[299999];v[299999]=0;if((e|0)==1){break k}e=v[f>>2];if(!e){break i}h=v[e+12>>2];if(!(!h|!w[h|0])){e=1;if(!c|!w[c|0]){break f}e=mc(h,c);break f}if(!c){break e}break g}a=P()|0;O()|0;ec(g+8|0);ec(f);break b}a=P()|0;O()|0;ec(f);break b}b=v[f>>2];b=v[(b?b+12|0:1129608)>>2];v[299999]=0;Q(5163,0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break h}break e}a=P()|0;O()|0;ec(f);break b}if(c){break g}break e}a=P()|0;O()|0;ec(f);break b}e=w[c|0]?-1:0}c=0;if(e){continue}}break}b=v[f>>2];v[f>>2]=0;if(!b){break d}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)!=1){if(c){break d}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break d}}break a}v[299999]=0;Q(5165,a|0,g+24|0)|0;a=v[299999];v[299999]=0;m:{if((a|0)!=1){a=v[g+24>>2];v[g+24>>2]=0;n:{if(!a){break n}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break m}if(b){break n}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break m}}Qb=g+32|0;return}a=P()|0;O()|0;break b}break a}a=P()|0;O()|0}ec(g+24|0);T(a|0);L()}W(0)|0;O()|0;lc();L()}function fNa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=-9;a:{b:{c:{d:{e:{h=v[a+4>>2];switch(v[h+48>>2]-8|0){case 1:break d;case 0:break e;default:break b}}c=v[a+8>>2];g=v[a+12>>2];if(c>>>0>=g>>>0){v[b>>2]=8;break c}d=c+2|0;if(g>>>0>>0){t[h+37|0]=w[c|0];t[v[a+4>>2]+36|0]=1;v[a+8>>2]=c+1;v[b>>2]=11;break c}f=w[c|0];i=w[c+1|0]|f<<8;e=a;if((f&248)==216){f:{g:{h:{if(f&4){break h}f=c+4|0;if(f>>>0>g>>>0){break g}g=w[d|0];if((g&252)!=220){break h}d=(w[c+3|0]|g<<8)+(i<<10)|0;if(d>>>0>56613887){break f}d=f}t[h+36|0]=2;t[h+37|0]=w[d-2|0];t[h+38|0]=w[d-1|0];f=12;break a}d=g-c|0;t[h+36|0]=d;e=h+37|0;h=g+(c^-1)|0;d=d&7;if(d){while(1){t[e|0]=w[c|0];e=e+1|0;c=c+1|0;d=d-1|0;if(d){continue}break}}f=11;if(h>>>0<7){d=g;break a}while(1){t[e|0]=w[c|0];t[e+1|0]=w[c+1|0];t[e+2|0]=w[c+2|0];t[e+3|0]=w[c+3|0];t[e+4|0]=w[c+4|0];t[e+5|0]=w[c+5|0];t[e+6|0]=w[c+6|0];t[e+7|0]=w[c+7|0];e=e+8|0;c=c+8|0;if((g|0)!=(c|0)){continue}break}d=g;break a}i=d-56613888|0;d=f}v[e+8>>2]=d;return i|0}c=v[a+8>>2];g=v[a+12>>2];if(c>>>0>=g>>>0){v[b>>2]=8;break c}d=c+2|0;if(d>>>0>g>>>0){t[h+37|0]=w[c|0];t[v[a+4>>2]+36|0]=1;v[a+8>>2]=c+1;v[b>>2]=11;break c}f=w[c+1|0];e=w[c|0]|f<<8;if((f&248)!=216){v[a+8>>2]=d;return e|0}i:{j:{k:{if(f&4){break k}f=c+4|0;if(g>>>0>=f>>>0){g=w[c+3|0];if((g&252)!=220){break k}d=(w[d|0]|g<<8)+(e<<10)|0;if(d>>>0<=56613887){break j}v[a+8>>2]=f;return d-56613888|0}d=g-c|0;t[h+36|0]=d;e=h+37|0;f=g+(c^-1)|0;d=d&7;if(d){while(1){t[e|0]=w[c|0];e=e+1|0;c=c+1|0;d=d-1|0;if(d){continue}break}}d=11;if(f>>>0<7){f=g;break i}while(1){t[e|0]=w[c|0];t[e+1|0]=w[c+1|0];t[e+2|0]=w[c+2|0];t[e+3|0]=w[c+3|0];t[e+4|0]=w[c+4|0];t[e+5|0]=w[c+5|0];t[e+6|0]=w[c+6|0];t[e+7|0]=w[c+7|0];e=e+8|0;c=c+8|0;if((g|0)!=(c|0)){continue}break}f=g;break i}f=d}t[h+36|0]=2;t[h+37|0]=w[f-2|0];t[h+38|0]=w[f-1|0];d=12}v[b>>2]=d;v[a+8>>2]=f;return 65535}c=65535}return c|0}v[b>>2]=f;v[a+8>>2]=d;return 65535}function Lz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:{g=(c-b|0)/12|0;e=v[a+8>>2];d=v[a>>2];if(g>>>0<=(e-d|0)/12>>>0){f=(v[a+4>>2]-d|0)/12|0;e=B(f,12)+b|0;h=f>>>0>>0?e:c;if((h|0)!=(b|0)){while(1){if((b|0)!=(d|0)){Mo(d,v[b>>2],v[b+4>>2])}d=d+12|0;b=b+12|0;if((h|0)!=(b|0)){continue}break}}b=v[a+4>>2];if(f>>>0>>0){b:{if((c|0)!=(h|0)){while(1){v[b+8>>2]=0;v[b>>2]=0;v[b+4>>2]=0;f=v[e+4>>2]-v[e>>2]|0;if(f){if((f|0)<=-1){v[299999]=0;R(2185,b|0);c=v[299999];v[299999]=0;if((c|0)==1){break b}break a}v[299999]=0;d=S(1,f|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break b}v[b>>2]=d;v[b+4>>2]=d;v[b+8>>2]=d+(f>>2<<2);f=b;h=v[e>>2];g=v[e+4>>2]-h|0;if((g|0)>=1){d=gc(d,h,g)+g|0}v[f+4>>2]=d}b=b+12|0;e=e+12|0;if((e|0)!=(c|0)){continue}break}}v[a+4>>2]=b;return}d=P()|0;O()|0;c=v[b>>2];if(c){v[b+4>>2]=c;dc(c)}v[a+4>>2]=b;T(d|0);L()}if((b|0)!=(d|0)){while(1){c=b-12|0;e=v[c>>2];if(e){v[b-8>>2]=e;dc(e)}b=c;if((d|0)!=(b|0)){continue}break}}v[a+4>>2]=d;return}if(d){e=v[a+4>>2];if((e|0)==(d|0)){e=d}else{while(1){f=e-12|0;h=v[f>>2];if(h){v[e-8>>2]=h;dc(h)}e=f;if((e|0)!=(d|0)){continue}break}e=v[a>>2]}v[a+4>>2]=d;dc(e);v[a+8>>2]=0;v[a>>2]=0;v[a+4>>2]=0;e=0}c:{if(g>>>0>=357913942){break c}d=(e|0)/12|0;e=d<<1;d=d>>>0<178956970?e>>>0>>0?g:e:357913941;if(d>>>0>=357913942){break c}e=B(d,12);d=fc(e);v[a>>2]=d;v[a+4>>2]=d;v[a+8>>2]=d+e;d:{e:{if((b|0)!=(c|0)){while(1){v[d+8>>2]=0;v[d>>2]=0;v[d+4>>2]=0;g=v[b>>2];f=v[b+4>>2]-g|0;if(f){if((f|0)<=-1){v[299999]=0;R(2185,d|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}b=P()|0;O()|0;c=v[d>>2];if(!c){break d}v[d+4>>2]=c;dc(c);break d}v[299999]=0;e=S(1,f|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break e}v[d>>2]=e;v[d+4>>2]=e;v[d+8>>2]=e+(f>>2<<2);f=d;h=v[b+4>>2]-g|0;if((h|0)>=1){e=gc(e,g,h)+h|0}v[f+4>>2]=e}d=d+12|0;b=b+12|0;if((c|0)!=(b|0)){continue}break}}v[a+4>>2]=d;return}b=P()|0;O()|0}v[a+4>>2]=d;T(b|0);L()}ue(a);L()}L()}function Daa(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,j=0,k=0;a=Qb-288|0;Qb=a;v[a+272>>2]=c;v[a+280>>2]=b;v[a+16>>2]=5601;b=Mf(a+152|0,a+160|0,a+16|0);v[299999]=0;h=v[e+28>>2];v[a+144>>2]=h;v[h+4>>2]=v[h+4>>2]+1;h=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{if((h|0)!=1){v[299999]=0;h=S(5533,a+144|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break j}t[a+143|0]=0;e=v[e+4>>2];v[299999]=0;c=Ca(5602,a+280|0,c|0,d|0,a+144|0,e|0,f|0,a+143|0,h|0,b|0,a+148|0,a+260|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break e}if(!c){break f}c=w[322935]|w[322936]<<8|(w[322937]<<16|w[322938]<<24);t[a+135|0]=c;t[a+136|0]=c>>>8;t[a+137|0]=c>>>16;t[a+138|0]=c>>>24;c=w[322932]|w[322933]<<8|(w[322934]<<16|w[322935]<<24);v[a+128>>2]=w[322928]|w[322929]<<8|(w[322930]<<16|w[322931]<<24);v[a+132>>2]=c;v[299999]=0;Z(5555,h|0,a+128|0,a+138|0,a+118|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break i}v[a+4>>2]=1563;d=Mf(a+8|0,0,a+4|0);c=a+16|0;if((v[a+148>>2]-v[b>>2]|0)<99){break g}Ig(d,jc((v[a+148>>2]-v[b>>2]|0)+2|0));if(v[d>>2]){break h}v[299999]=0;ba(5538);c=v[299999];v[299999]=0;if((c|0)==1){break d}break a}e=P()|0;O()|0;break b}e=P()|0;O()|0;break c}e=P()|0;O()|0;break c}c=v[d>>2]}if(w[a+143|0]){t[c|0]=45;c=c+1|0}e=v[b>>2];while(1){if(y[a+148>>2]<=e>>>0){t[c|0]=0;v[a>>2]=g;if((ef(a+16|0,273880,a)|0)!=1){v[299999]=0;R(5603,238035);c=v[299999];v[299999]=0;if((c|0)!=1){break a}break d}ee(d)}else{h=a+118|0;j=c,k=w[(a+(kC(h,h+10|0,e)-a|0)|0)+10|0],t[j|0]=k;c=c+1|0;e=e+1|0;continue}break}}v[299999]=0;c=Q(5539,a+280|0,a+272|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break e}if(c){v[f>>2]=v[f>>2]|2}e=v[a+280>>2];c=v[a+144>>2];d=v[c+4>>2]-1|0;v[c+4>>2]=d;if((d|0)==-1){Ub[v[v[c>>2]+8>>2]](c)}ee(b);Qb=a+288|0;return e|0}e=P()|0;O()|0;break c}e=P()|0;O()|0;ee(d)}a=v[a+144>>2];c=v[a+4>>2]-1|0;v[a+4>>2]=c;if((c|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}}ee(b);T(e|0);L()}L()}function DY(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:{g=(c-b|0)/12|0;e=v[a+8>>2];d=v[a>>2];if(g>>>0<=(e-d|0)/12>>>0){f=(v[a+4>>2]-d|0)/12|0;e=B(f,12)+b|0;h=f>>>0>>0?e:c;if((h|0)!=(b|0)){while(1){if((b|0)!=(d|0)){qv(d,v[b>>2],v[b+4>>2])}d=d+12|0;b=b+12|0;if((h|0)!=(b|0)){continue}break}}b=v[a+4>>2];if(f>>>0>>0){b:{if((c|0)!=(h|0)){while(1){v[b+8>>2]=0;v[b>>2]=0;v[b+4>>2]=0;f=v[e+4>>2]-v[e>>2]|0;if(f){if((f|0)<=-1){v[299999]=0;R(2185,b|0);c=v[299999];v[299999]=0;if((c|0)==1){break b}break a}v[299999]=0;d=S(1,f|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break b}v[b>>2]=d;v[b+4>>2]=d;v[b+8>>2]=d+(f>>3<<3);f=b;h=v[e>>2];g=v[e+4>>2]-h|0;if((g|0)>=1){d=gc(d,h,g)+g|0}v[f+4>>2]=d}b=b+12|0;e=e+12|0;if((e|0)!=(c|0)){continue}break}}v[a+4>>2]=b;return}d=P()|0;O()|0;c=v[b>>2];if(c){v[b+4>>2]=c;dc(c)}v[a+4>>2]=b;T(d|0);L()}if((b|0)!=(d|0)){while(1){c=b-12|0;e=v[c>>2];if(e){v[b-8>>2]=e;dc(e)}b=c;if((d|0)!=(b|0)){continue}break}}v[a+4>>2]=d;return}if(d){e=v[a+4>>2];if((e|0)==(d|0)){e=d}else{while(1){f=e-12|0;h=v[f>>2];if(h){v[e-8>>2]=h;dc(h)}e=f;if((e|0)!=(d|0)){continue}break}e=v[a>>2]}v[a+4>>2]=d;dc(e);v[a+8>>2]=0;v[a>>2]=0;v[a+4>>2]=0;e=0}c:{if(g>>>0>=357913942){break c}d=(e|0)/12|0;e=d<<1;d=d>>>0<178956970?e>>>0>>0?g:e:357913941;if(d>>>0>=357913942){break c}e=B(d,12);d=fc(e);v[a>>2]=d;v[a+4>>2]=d;v[a+8>>2]=d+e;d:{e:{if((b|0)!=(c|0)){while(1){v[d+8>>2]=0;v[d>>2]=0;v[d+4>>2]=0;g=v[b>>2];f=v[b+4>>2]-g|0;if(f){if((f|0)<=-1){v[299999]=0;R(2185,d|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}b=P()|0;O()|0;c=v[d>>2];if(!c){break d}v[d+4>>2]=c;dc(c);break d}v[299999]=0;e=S(1,f|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break e}v[d>>2]=e;v[d+4>>2]=e;v[d+8>>2]=e+(f>>3<<3);f=d;h=v[b+4>>2]-g|0;if((h|0)>=1){e=gc(e,g,h)+h|0}v[f+4>>2]=e}d=d+12|0;b=b+12|0;if((c|0)!=(b|0)){continue}break}}v[a+4>>2]=d;return}b=P()|0;O()|0}v[a+4>>2]=d;T(b|0);L()}ue(a);L()}L()}function Ak(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=Qb-48|0;Qb=f;v[a+8>>2]=0;i=v[a+4>>2];if(i){v[v[a>>2]>>2]=375712;v[v[a>>2]+4>>2]=375712;v[v[a>>2]+8>>2]=375712;v[v[a>>2]+12>>2]=375712;v[v[a>>2]+16>>2]=375712}a:{if(!d){break a}h=w[c|0];if(!h){break a}j=6;if(!b){break a}e=w[b|0];if(!e){break a}v[f+24>>2]=0;v[f+28>>2]=0;v[f+16>>2]=0;v[f+20>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;v[f>>2]=0;v[f+4>>2]=0;while(1){b:{c:{d:{g=e&255;if((g|0)!=43){if(!g){break d}g=w[b+1|0];break c}g=w[b+1|0];if(g){break c}k=1;g=0;break b}e:{if((d|0)<1){d=0;b=0;break e}i=c+d|0;while(1){e=c;while(1){f:{if(w[((h&248)>>>3|0)+f|0]>>>(h&7)&1){g=e;break f}h=w[e+1|0];g=e+1|0;e=g;if(h){continue}}break}e=a;b=v[a+8>>2];g:{if((b|0)!=v[a+4>>2]){d=b;break g}v[f+44>>2]=0;d=-1;if((b|0)==-1){break g}if((b|0)==536870911){j=64;break a}h=b;d=(b+(b>>>1|0)|0)+5|0;b=b>>>0>d>>>0?536870911:d>>>0>536870911?536870911:d;l=a,m=Cc(v[a+12>>2],4,h,b,v[a>>2],f+44|0),v[l>>2]=m;j=v[f+44>>2];if(j){break a}v[a+4>>2]=b;d=v[a+8>>2]}v[e+8>>2]=d+1;v[v[a>>2]+(d<<2)>>2]=c>>>0>>0?c:375712;e=w[g|0];h:{i:{if(k){d=0;b=g;if(!(e&255)){h=0;c=g;break h}while(1){j:{if(!(w[((e&248)>>>3|0)+f|0]>>>(e&7)&1)){h=e;c=b;break j}h=0;t[b|0]=0;e=w[b+1|0];c=b+1|0;b=c;if(e){continue}}break}if(c>>>0<=g>>>0){break h}break i}if(!(e&255)){h=0;c=g;d=0;break h}t[g|0]=0;c=g+1|0;h=w[g+1|0]}d=!(h&255)}if(h&255?c>>>0>>0:0){continue}break}i=v[a+4>>2];b=v[a+8>>2]}b=b+d|0;k:{if(b>>>0>>0){break k}v[f+44>>2]=0;if(b+1>>>0<=i>>>0){break k}j=64;if((i|0)==536870911){break a}b=((i>>>1|0)+i|0)+5|0;b=b>>>0>>0?536870911:b>>>0>536870911?536870911:b;l=a,m=Cc(v[a+12>>2],4,i,b,v[a>>2],f+44|0),v[l>>2]=m;j=v[f+44>>2];if(j){break a}v[a+4>>2]=b}l:{if(!d){h=v[a+8>>2];break l}b=v[a+8>>2];h=b+1|0;v[a+8>>2]=h;v[v[a>>2]+(b<<2)>>2]=375712}j=0;v[v[a>>2]+(h<<2)>>2]=0;break a}j=((e&248)>>>3|0)+f|0;t[j|0]=w[j|0]|1<<(e&7)}b=b+1|0;e=g;continue}}Qb=f+48|0;return j}function xO(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=Qb-32|0;Qb=g;v[a>>2]=0;e=v[b+12>>2];j=e+v[b+8>>2]|0;a:{b:{c:{d:{while(1){f=e;if(e>>>0>=j>>>0){break c}v[g+16>>2]=f;e=v[v[b>>2]+60>>2];v[299999]=0;i=Q(e|0,b|0,g+16|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break d}e=f;if((e|0)!=v[g+16>>2]){v[299999]=0;e=S(c|0,i|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break d}e=e?v[g+16>>2]:f}if((e|0)!=(f|0)){continue}break}e=v[b+12>>2];i=v[b+8>>2];v[299999]=0;e=f-e|0;i=Z(4407,g+16|0,g+28|0,(B(i-e|0,6)+e|0)+6|0,1)|0;f=v[299999];v[299999]=0;if((f|0)!=1){if((e|0)>=1){Xc(v[g+28>>2],v[b+12>>2],e)}h=v[g+28>>2];f=e+v[b+12>>2]|0;v[g+12>>2]=f;e=e+h|0;e:{if(f>>>0>=j>>>0){break e}while(1){h=v[v[b>>2]+60>>2];v[299999]=0;h=Q(h|0,b|0,g+12|0)|0;k=v[299999];v[299999]=0;f:{g:{if((k|0)==1){break g}if(v[g+12>>2]==(f|0)){break e}v[299999]=0;k=S(c|0,h|0)|0;l=v[299999];v[299999]=0;if((l|0)==1){break g}if(k){h=e;e=v[g+12>>2]-f|0;e=Xc(h,f,e)+e|0;break f}v[299999]=0;v[g>>2]=0;v[g+4>>2]=0;f=S(d|0,h|0)|0;h=v[299999];v[299999]=0;if((h|0)!=1){h=v[v[b>>2]+56>>2];v[299999]=0;e=Z(h|0,b|0,f|0,e|0,g|0)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break f}}f=P()|0;O()|0;Lc(i);break b}f=P()|0;O()|0;Lc(i);break b}f=v[g+12>>2];if(j>>>0>f>>>0){continue}break}}t[e|0]=0;v[299999]=0;c=b;b=v[g+28>>2];fa(5155,g|0,c|0,b|0,0,e-b|0);b=v[299999];v[299999]=0;h:{i:{if((b|0)!=1){v[299999]=0;Q(4344,a|0,g|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break i}a=v[g>>2];v[g>>2]=0;j:{if(!a){break j}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break h}if(b){break j}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break h}}Lc(i);break a}f=P()|0;O()|0;Lc(i);break b}f=P()|0;O()|0;ec(g);Lc(i);break b}W(0)|0;O()|0;lc();L()}f=P()|0;O()|0;break b}f=P()|0;O()|0;break b}v[299999]=0;Q(4336,a|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break a}f=P()|0;O()|0}ec(a);T(f|0);L()}Qb=g+32|0}function HU(a){var b=0,c=0,d=0,e=0;a:{b:{c:{if(!a){break c}d:{e:{f:{g:{h:{i:{b=w[a|0];switch(b-73|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:break d;case 15:break f;case 0:break h;default:break i}}c=b-105|0;if(!c){break e}if((c|0)==15){break g}break d}if(w[a+1|0]==45){break a}break d}if(w[a+1|0]==45){break a}break d}if(w[a+1|0]!=45){break d}break a}if(w[a+1|0]==45){break a}}d=a+1|0;j:{if(((b&223)-65&255)>>>0>25){e=a;break j}while(1){e=d;d=d+1|0;b=w[e|0];if(((b&223)-65&255)>>>0<26){continue}break}}a=e-a|0;if((a|0)>=4){return!b&(a|0)<9}if((a|0)<2){break c}e=1;if(!b){break b}if((b|0)!=45){break c}k:{l:{m:{a=w[d|0];if((a-48&255)>>>0<10){break m}c=d;if(((a&223)-65&255)>>>0<=25){b=d;while(1){a=w[b+1|0];c=b+1|0;b=c;if(((a&223)-65&255)>>>0<26){continue}break}}n:{o:{b=c-d|0;switch(b-2|0){case 0:break l;case 2:break n;default:break o}}if(b-5>>>0<4){break k}if((b|0)!=3){break c}a=a&255;if(!a){break b}if((a|0)!=45){break c}d=c+1|0;a=w[c+1|0];if((a-48&255)>>>0<10){break m}b=d;if(((a&223)-65&255)>>>0<=25){c=c+2|0;while(1){b=c;c=b+1|0;a=w[b|0];if(((a&223)-65&255)>>>0<26){continue}break}}d=b-d|0;if((d|0)==2){c=b;break l}if(d-5>>>0<4){break k}c=b;if((d|0)!=4){break c}}a=a&255;if(!a){break b}if((a|0)!=45){break c}d=c+1|0;a=w[c+1|0];if((a-48&255)>>>0<10){break m}b=d;if(((a&223)-65&255)>>>0<=25){c=c+2|0;while(1){b=c;c=b+1|0;a=w[b|0];if(((a&223)-65&255)>>>0<26){continue}break}}d=b-d|0;if(d-5>>>0<4){break k}c=b;if((d|0)==2){break l}break c}if((w[d+1|0]-48&255)>>>0>9|(w[d+2|0]-48&255)>>>0>9){break c}c=d+3|0;a=w[d+3|0]}a=a&255;if(!a){break b}if((a|0)!=45){break c}c=c+1|0;e=c;while(1){b=e;e=b+1|0;a=w[b|0];if(((a&223)-65&255)>>>0<26){continue}break}e=0;if((b-c|0)-5>>>0>3){break b}}a=a&255;return!a|(a|0)==45}e=0}return e}e=a+2|0;while(1){a=w[e|0];e=e+1|0;if(((a&223)-65&255)>>>0<26){continue}break}return!a}function gJ(a,b){var c=0,d=0,e=0,f=0,g=0;e=u[a+1044>>1];a:{b:{d=x[a+1046>>1];if(!d){c:{if((e|0)>0){break c}v[a+1056>>2]=v[a+1052>>2];c=v[a+1020>>2];if((c|0)>=16383){c=0;d=Ub[v[v[b>>2]+12>>2]](b,v[a+1028>>2],1,16383,0,0)|0;v[a+1024>>2]=d;if((d|0)<=16382){t[d+v[a+1028>>2]|0]=255}v[a+1020>>2]=0}if(v[a+1024>>2]<=(c|0)){break b}d=c+1|0;v[a+1020>>2]=d;c=w[v[a+1028>>2]+c|0];u[a+1044>>1]=c;if(!c){e=0;break c}c=0;while(1){if((d|0)>=16383){d=Ub[v[v[b>>2]+12>>2]](b,v[a+1028>>2],1,16383,0,0)|0;v[a+1024>>2]=d;if((d|0)<=16382){t[d+v[a+1028>>2]|0]=255}v[a+1020>>2]=0;d=0}f=65535;if(v[a+1024>>2]<=(d|0)){break a}v[a+1020>>2]=d+1;t[v[a+1052>>2]+c|0]=w[v[a+1028>>2]+d|0];c=c+1|0;e=u[a+1044>>1];if((c|0)>=(e|0)){break c}d=v[a+1020>>2];continue}}c=v[a+1056>>2];v[a+1056>>2]=c+1;c=w[c|0];u[a+1046>>1]=8;t[a+1048|0]=c;e=e-1|0;u[a+1044>>1]=e;d=8}f=x[a+1036>>1];if(e<<16>>16<=-1){break a}f=d<<16>>16;g=w[a+1048|0]>>>8-f|0;c=u[a+1032>>1];if((f|0)<(c|0)){while(1){d:{if(e<<16>>16>0){break d}v[a+1056>>2]=v[a+1052>>2];c=v[a+1020>>2];if((c|0)>=16383){c=Ub[v[v[b>>2]+12>>2]](b,v[a+1028>>2],1,16383,0,0)|0;v[a+1024>>2]=c;if((c|0)<=16382){t[c+v[a+1028>>2]|0]=255}v[a+1020>>2]=0;c=0}if(v[a+1024>>2]<=(c|0)){break b}d=c+1|0;v[a+1020>>2]=d;c=w[v[a+1028>>2]+c|0];u[a+1044>>1]=c;e=0;if(!c){break d}c=0;while(1){if((d|0)>=16383){d=Ub[v[v[b>>2]+12>>2]](b,v[a+1028>>2],1,16383,0,0)|0;v[a+1024>>2]=d;if((d|0)<=16382){t[d+v[a+1028>>2]|0]=255}v[a+1020>>2]=0;d=0}f=65535;if(v[a+1024>>2]<=(d|0)){break a}v[a+1020>>2]=d+1;t[v[a+1052>>2]+c|0]=w[v[a+1028>>2]+d|0];c=c+1|0;e=u[a+1044>>1];if((c|0)>=(e|0)){break d}d=v[a+1020>>2];continue}}c=v[a+1056>>2];v[a+1056>>2]=c+1;c=w[c|0];t[a+1048|0]=c;d=x[a+1046>>1];f=d+8|0;u[a+1046>>1]=f;e=e-1|0;u[a+1044>>1]=e;g=c<>16;c=u[a+1032>>1];if((d|0)<(c|0)){continue}break}}u[a+1046>>1]=d-c;f=v[(c<<2)+54352>>2]&g;break a}u[a+1044>>1]=65535;f=65535}return f<<16>>16}function D5a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=Qb+-64|0;Qb=i;k=1;if(v[a+152>>2]>=1){l=v[252391];while(1){if(v[a+188>>2]){v[i>>2]=k;wc(l,59550,i)}j=v[a+26352>>2];c=j;e=x[a+26310>>1];d=x[a+26308>>1];if(B(e,d)){while(1){u[c+6>>1]=x[c>>1];c=c+8|0;e=x[a+26310>>1];d=x[a+26308>>1];if(c>>>0<(B(e,d)<<3)+j>>>0){continue}break}}a:{if((B(d-1|0,e)|0)<=(e|0)){f=d;b=e;break a}g=(e<<3)+j|0;b=e;while(1){if((((g-j>>3)+1|0)%(b|0)|0)>=2){e=0;d=0-b|0;f=0;while(1){c=(i+16|0)+(f<<2)|0;h=(d<<3)+g|0;v[c>>2]=x[h-2>>1]-x[h-6>>1];v[c+4>>2]=x[h+6>>1]-x[h+2>>1];v[c+8>>2]=x[h+14>>1]-x[h+10>>1];f=f+3|0;c=(d|0)<1;d=b+d|0;if(c){continue}break}while(1){b=i+16|0;c=b+(w[e+198496|0]<<2)|0;f=v[c>>2];d=b+(w[(e|1)+198496|0]<<2)|0;b=v[d>>2];if((f|0)>(b|0)){b=b^f;v[c>>2]=b;b=b^v[d>>2];v[d>>2]=b;v[c>>2]=b^v[c>>2]}b=e>>>0<36;e=e+2|0;if(b){continue}break}b=v[i+32>>2]+x[g+2>>1]|0;b=(b|0)<65535?b:65535;u[g>>1]=(b|0)>0?b:0;d=x[a+26308>>1];e=x[a+26310>>1]}g=g+8|0;b=e&65535;f=d&65535;if(g>>>0<(B(b,f-1|0)<<3)+j>>>0){continue}break}}c=j;if(B(b,f)){while(1){u[c+6>>1]=x[c+4>>1];c=c+8|0;b=x[a+26310>>1];f=x[a+26308>>1];if(c>>>0<(B(b,f)<<3)+j>>>0){continue}break}d=f;e=b}if((B(f-1|0,b)|0)>(b|0)){g=(b<<3)+j|0;while(1){if((((g-j>>3)+1|0)%(b|0)|0)>=2){e=0;d=0-b|0;f=0;while(1){c=(i+16|0)+(f<<2)|0;h=(d<<3)+g|0;v[c>>2]=x[h-2>>1]-x[h-6>>1];v[c+4>>2]=x[h+6>>1]-x[h+2>>1];v[c+8>>2]=x[h+14>>1]-x[h+10>>1];f=f+3|0;c=(d|0)<1;d=b+d|0;if(c){continue}break}while(1){b=i+16|0;c=b+(w[e+198496|0]<<2)|0;f=v[c>>2];d=b+(w[(e|1)+198496|0]<<2)|0;b=v[d>>2];if((f|0)>(b|0)){b=b^f;v[c>>2]=b;b=b^v[d>>2];v[d>>2]=b;v[c>>2]=b^v[c>>2]}b=e>>>0<36;e=e+2|0;if(b){continue}break}b=v[i+32>>2]+x[g+2>>1]|0;b=(b|0)<65535?b:65535;u[g+4>>1]=(b|0)>0?b:0;d=x[a+26308>>1];e=x[a+26310>>1]}g=g+8|0;b=e&65535;if(g>>>0<(B(b,(d&65535)-1|0)<<3)+j>>>0){continue}break}}b=v[a+152>>2]>(k|0);k=k+1|0;if(b){continue}break}}Qb=i- -64|0}function vua(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Qb-32|0;Qb=f;a:{b:{d=v[a>>2];g=(v[a+4>>2]-d|0)/40|0;c=g+1|0;if(c>>>0<107374183){h=v[a+8>>2];v[f+24>>2]=a+8;d=(h-d|0)/40|0;h=d<<1;d=d>>>0<53687091?c>>>0>h>>>0?c:h:107374182;if(d){if(d>>>0>=107374183){break b}e=fc(B(d,40))}v[f+8>>2]=e;c=B(g,40)+e|0;v[f+16>>2]=c;h=B(d,40)+e|0;v[f+20>>2]=h;v[f+12>>2]=c;d=v[b+12>>2];v[c+8>>2]=v[b+8>>2];v[c+12>>2]=d;d=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=d;d=c+16|0;c:{d:{e:{if(t[b+27|0]>=0){i=v[b+20>>2];v[d>>2]=v[b+16>>2];v[d+4>>2]=i;v[d+8>>2]=v[b+24>>2];break e}i=v[b+20>>2];j=v[b+16>>2];v[299999]=0;U(2534,d|0,j|0,i|0);i=v[299999];v[299999]=0;if((i|0)==1){break d}}e=(B(g,40)+e|0)+28|0;if(t[b+39|0]>=0){d=v[b+32>>2];v[e>>2]=v[b+28>>2];v[e+4>>2]=d;v[e+8>>2]=v[b+36>>2];break a}g=v[b+32>>2];b=v[b+28>>2];v[299999]=0;U(2345,e|0,b|0,g|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}b=P()|0;O()|0;if(t[d+11|0]>-1){break c}dc(v[d>>2]);break c}b=P()|0;O()|0}a=v[f+16>>2];e=v[f+12>>2];if((a|0)!=(e|0)){while(1){c=a-40|0;v[f+16>>2]=c;if(t[c+39|0]<=-1){dc(v[a-12>>2])}if(t[a-13|0]<=-1){dc(v[a-24>>2])}a=v[f+16>>2];if((e|0)!=(a|0)){continue}break}}a=v[f+8>>2];if(a){dc(a)}T(b|0);L()}ue(a);L()}cf(274079);L()}d=c+40|0;v[f+16>>2]=d;b=v[a+4>>2];e=v[a>>2];f:{if((b|0)==(e|0)){b=e;break f}while(1){b=b-40|0;i=v[b+4>>2];c=c-40|0;v[c>>2]=v[b>>2];v[c+4>>2]=i;g=v[b+12>>2];v[c+8>>2]=v[b+8>>2];v[c+12>>2]=g;v[c+24>>2]=v[b+24>>2];g=v[b+20>>2];v[c+16>>2]=v[b+16>>2];v[c+20>>2]=g;v[b+16>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[c+36>>2]=v[b+36>>2];g=v[b+32>>2];v[c+28>>2]=v[b+28>>2];v[c+32>>2]=g;v[b+36>>2]=0;v[b+28>>2]=0;v[b+32>>2]=0;if((b|0)!=(e|0)){continue}break}v[f+12>>2]=c;e=v[a+4>>2];b=v[a>>2]}v[a+8>>2]=h;v[a+4>>2]=d;v[a>>2]=c;if((b|0)!=(e|0)){while(1){if(t[e-1|0]<=-1){dc(v[e-12>>2])}if(t[e-13|0]<=-1){dc(v[e-24>>2])}a=e-40|0;e=a;if((a|0)!=(b|0)){continue}break}}if(b){dc(b)}Qb=f+32|0}function C6a(a){a=a|0;var 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;e=Qb-96|0;Qb=e;v[e+88>>2]=0;v[e+92>>2]=0;v[e+80>>2]=0;v[e+84>>2]=0;a:{if(!Oo(a,e,0)){break a}b:{if(v[e+4>>2]>=1){o=B(v[e+12>>2],v[e+8>>2]);if((o|0)>=1){m=2147483647;while(1){s=B(k,o);h=Mv(a,k,e);p=v[e+4>>2];t=v[e>>2];l=0;while(1){c=x[h>>1];c=(t|0)<=12?x[(((c&4095)<<1)+a|0)+26484>>1]:c;f=x[a+59254>>1];if(f){d=l+s|0;g=x[a+59256>>1];i=B(g,p);q=(d|0)/(i|0)|0;b=(q|0)<(f|0);f=b?q:f;i=d-B(f,i)|0;b=x[((b?2:4)+a|0)+59254>>1];d=(i|0)/(b|0)|0;b=(i-B(b,d)|0)+B(f,g)|0}f=x[a+26306>>1];c:{if((f|0)!=3984){break c}if((b|0)>1){b=b-2|0;break c}b=b+3982|0;d=d-1|0}i=d-x[a+26312>>1]|0;d:{if(i>>>0>=x[a+26308>>1]){break d}g=b-x[a+26314>>1]|0;if(g>>>0>=x[a+26310>>1]){if((b|0)<2){break d}g=e+80|(g&1)<<3;A[g>>3]=A[g>>3]+ +(c|0);break d}f=x[a+26316>>1];u[(v[a+26352>>2]+(B(x[a+26320>>1],i>>f)+(g>>f)<<3)|0)+((v[a+26028>>2]>>>((g&1|i<<1&14)<<1)&3)<<1)>>1]=c;m=(c|0)<(m|0)?c:m;f=x[a+26306>>1]}h=h+2|0;c=b+1|0;b=(c|0)<(f|0)?c:0;d=((c|0)>=(f|0))+d|0;l=l+1|0;if((o|0)!=(l|0)){continue}break}k=k+1|0;if((p|0)>(k|0)){continue}break}break b}while(1){Mv(a,b,e);b=b+1|0;if((b|0)>2]){continue}break}}m=2147483647}dc(v[e+76>>2]);c=x[a+26306>>1];d=x[a+26310>>1];if(c>>>0>=d+4>>>0){b=x[a+26308>>1];n=+(B(b,(c-d|0)-2|0)>>1);j=A[e+80>>3]/n;A[e+80>>3]=j;n=A[e+88>>3]/n;r=j-n;e:{if(D(r)<2147483648){c=~~r;break e}c=-2147483648}if(!(!c|!b)){h=0;while(1){if((d&65535)>>>0>=2){k=v[a+26028>>2]>>>(h<<2&28|2)&3;l=v[a+26352>>2];b=1;while(1){d=x[a+26316>>1];d=(l+(B(x[a+26320>>1],h>>>d|0)+(b>>>d|0)<<3)|0)+(k<<1)|0;u[d>>1]=c+x[d>>1];b=b+2|0;d=x[a+26310>>1];if(b>>>0>>0){continue}break}b=x[a+26308>>1]}h=h+1|0;if(h>>>0<(b&65535)>>>0){continue}break}}b=a;j=(j+(n+ +(c|0))+1)*.5;f:{if(j<4294967296&j>=0){c=~~j>>>0;break f}c=0}v[b+26120>>2]=c}if(yi(a+25733|0,23360)){break a}v[a+26120>>2]=m}Qb=e+96|0}function iRa(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,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,z=0,A=0;A=Qb-320|0;Qb=A;s=v[a+332>>2];a=v[b+84>>2];b=A;while(1){k=v[a+192>>2];l=u[c+96>>1];i=v[a+64>>2];m=u[c+32>>1];g=B(u[c>>1],v[a>>2])<<13|1024;f=B(v[a+128>>2],u[c+64>>1]);p=g+B(f,-11586)>>11;h=B(v[a+32>>2],u[c+16>>1]);n=B(v[a+160>>2],u[c+80>>1]);q=B(v[a+96>>2],u[c+48>>1]);o=B(v[a+224>>2],u[c+112>>1]);j=q-o|0;r=h-(n+j|0)<<2;v[b+224>>2]=p-r;v[b+64>>2]=p+r;l=B(k,l);i=B(i,m);k=B(l+i|0,6810);i=k+B(i,4209)|0;m=g+B(f,9373)|0;p=i+m|0;r=B(j,2531);n=n<<13;y=r+n|0;q=o+q|0;o=B(q,7791);z=y+(o+B(h,11443)|0)|0;v[b+288>>2]=p-z>>11;v[b>>2]=p+z>>11;i=m-i|0;m=y+(B(h,1812)-o|0)|0;v[b+160>>2]=i-m>>11;v[b+128>>2]=i+m>>11;f=g+B(f,-3580)|0;g=k+B(l,-17828)|0;k=f-g|0;j=(n-r|0)-(j<<12)|0;l=B(q,4815);i=j+(B(h,5260)-l|0)|0;v[b+192>>2]=k-i>>11;v[b+96>>2]=k+i>>11;f=f+g|0;h=B(h,10323)-(j+l|0)|0;v[b+256>>2]=f-h>>11;v[b+32>>2]=f+h>>11;b=b+4|0;a=a+4|0;c=c+2|0;x=x+1|0;if((x|0)!=8){continue}break}a=s+128|0;x=0;c=A;while(1){s=v[c+24>>2];j=v[c+8>>2];f=B(s+j|0,6810);b=v[(x<<2)+d>>2]+e|0;g=v[c+28>>2];k=v[c+12>>2];l=g+k|0;i=B(l,7791);h=v[c+4>>2];g=k-g|0;m=B(g,2531);p=v[c+20>>2];n=p<<13;q=m+n|0;o=(i+B(h,11443)|0)+q|0;r=f+B(j,4209)|0;k=(v[c>>2]<<13)+131072|0;j=v[c+16>>2];y=k+B(j,9373)|0;z=r+y|0;t[b|0]=w[a+(o+z>>>18&1023)|0];t[b+9|0]=w[a+(z-o>>>18&1023)|0];l=B(l,4815);m=(n-m|0)-(g<<12)|0;n=B(h,10323)-(l+m|0)|0;f=f+B(s,-17828)|0;s=k+B(j,-3580)|0;o=f+s|0;t[b+1|0]=w[a+(n+o>>>18&1023)|0];t[b+8|0]=w[a+(o-n>>>18&1023)|0];g=h-(g+p|0)<<13;j=k+B(j,-11586)|0;t[b+2|0]=w[a+(g+j>>>18&1023)|0];t[b+7|0]=w[a+(j-g>>>18&1023)|0];g=m+(B(h,5260)-l|0)|0;f=s-f|0;t[b+3|0]=w[a+(g+f>>>18&1023)|0];t[b+6|0]=w[a+(f-g>>>18&1023)|0];h=q+(B(h,1812)-i|0)|0;f=y-r|0;t[b+4|0]=w[a+(h+f>>>18&1023)|0];t[b+5|0]=w[a+(f-h>>>18&1023)|0];c=c+32|0;x=x+1|0;if((x|0)!=10){continue}break}Qb=A+320|0}function $m(a,b,c){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,p=0,q=0,r=0,s=0,t=0,u=0;d=a&65535;f=a>>>16|0;a:{if((c|0)==1){a=w[b|0]+d|0;a=a>>>0>65520?a-65521|0:a;b=a+f|0;c=b<<16;a=(b>>>0>65520?c+983040|0:c)|a;break a}if(b){if(c>>>0>=16){b:{c:{d:{if(c>>>0>5551){while(1){c=c-5552|0;e=347;a=b;while(1){g=w[a|0]+d|0;h=g+w[a+1|0]|0;i=h+w[a+2|0]|0;j=i+w[a+3|0]|0;k=j+w[a+4|0]|0;l=k+w[a+5|0]|0;m=l+w[a+6|0]|0;n=m+w[a+7|0]|0;o=n+w[a+8|0]|0;p=o+w[a+9|0]|0;q=p+w[a+10|0]|0;r=q+w[a+11|0]|0;s=r+w[a+12|0]|0;t=s+w[a+13|0]|0;u=t+w[a+14|0]|0;d=u+w[a+15|0]|0;f=d+(u+(t+(s+(r+(q+(p+(o+(n+(m+(l+(k+(j+(i+(h+(f+g|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0;a=a+16|0;e=e-1|0;if(e){continue}break}f=(f>>>0)%65521|0;d=(d>>>0)%65521|0;b=b+5552|0;if(c>>>0>5551){continue}break}if(!c){break b}if(c>>>0<16){break d}}while(1){a=w[b|0]+d|0;e=a+w[b+1|0]|0;g=e+w[b+2|0]|0;h=g+w[b+3|0]|0;i=h+w[b+4|0]|0;j=i+w[b+5|0]|0;k=j+w[b+6|0]|0;l=k+w[b+7|0]|0;m=l+w[b+8|0]|0;n=m+w[b+9|0]|0;o=n+w[b+10|0]|0;p=o+w[b+11|0]|0;q=p+w[b+12|0]|0;r=q+w[b+13|0]|0;s=r+w[b+14|0]|0;d=s+w[b+15|0]|0;f=d+(s+(r+(q+(p+(o+(n+(m+(l+(k+(j+(i+(h+(g+(e+(a+f|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0;b=b+16|0;c=c-16|0;if(c>>>0>15){continue}break}if(!c){break c}}g=c-1|0;e=c&3;if(e){a=b;while(1){c=c-1|0;d=w[a|0]+d|0;f=f+d|0;b=a+1|0;a=b;e=e-1|0;if(e){continue}break}}if(g>>>0<3){break c}while(1){a=w[b|0]+d|0;e=a+w[b+1|0]|0;g=e+w[b+2|0]|0;d=g+w[b+3|0]|0;f=d+(g+(e+(a+f|0)|0)|0)|0;b=b+4|0;c=c-4|0;if(c){continue}break}}f=(f>>>0)%65521|0;d=(d>>>0)%65521|0}a=f<<16|d;break a}e:{if(!c){break e}g=c-1|0;e=c&3;if(e){a=b;while(1){c=c-1|0;d=w[a|0]+d|0;f=f+d|0;b=a+1|0;a=b;e=e-1|0;if(e){continue}break}}if(g>>>0<3){break e}while(1){a=w[b|0]+d|0;e=a+w[b+1|0]|0;g=e+w[b+2|0]|0;d=g+w[b+3|0]|0;f=d+(g+(e+(a+f|0)|0)|0)|0;b=b+4|0;c=c-4|0;if(c){continue}break}}a=(f>>>0)%65521<<16|(d>>>0>65520?d-65521|0:d)}else{a=1}}return a}function Mfa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=Qb-48|0;Qb=e;a:{b:{if(v[a+44>>2]){a=vc(e+24|0,325633,242096,1836,338463,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}c=P()|0;O()|0;qc(a);break b}v[e+16>>2]=0;v[299999]=0;v[e+20>>2]=v[282402];Z(4504,b|0,e+16|0,0,0)|0;d=v[299999];v[299999]=0;c:{d:{e:{f:{if((d|0)==1){break f}v[299999]=0;d=Nc(e+16|0,326018,-1);f=v[299999];v[299999]=0;if((f|0)==1){break f}g:{if(!d){break g}v[299999]=0;d=Nc(e+16|0,326052,-1);f=v[299999];v[299999]=0;if((f|0)==1){break f}if(!d){break g}v[299999]=0;a=aa(4369,e+24|0,329298,242096,1840,338463,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break e}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}c=P()|0;O()|0;qc(a);break c}h:{while(1){if((c|0)<1){break h}v[299999]=0;d=Z(4504,b|0,e+16|0,0,0)|0;f=v[299999];v[299999]=0;i:{if((f|0)==1){break i}if(!d){break h}v[299999]=0;d=Nc(e+16|0,326023,-1);f=v[299999];v[299999]=0;if((f|0)==1){break i}j:{if(d){v[299999]=0;d=Nc(e+16|0,326057,-1);f=v[299999];v[299999]=0;if((f|0)==1){break i}if(d){break j}}v[299999]=0;v[e+8>>2]=0;Q(4336,e+8|0,b|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break i}d=v[v[a>>2]+40>>2];v[299999]=0;Q(d|0,a|0,e+8|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){d=v[e+8>>2];v[e+8>>2]=0;if(!d){break j}v[299999]=0;f=v[d+4>>2]-1|0;v[d+4>>2]=f;g=v[299999];v[299999]=0;if((g|0)!=1){if(f){break j}v[299999]=0;R(4338,d|0);d=v[299999];v[299999]=0;if((d|0)!=1){break j}}W(0)|0;O()|0;lc();L()}c=P()|0;O()|0;ec(e+8|0);break c}c=c-1|0;v[299999]=0;R(4601,b|0);d=v[299999];v[299999]=0;if((d|0)!=1){continue}}break}c=P()|0;O()|0;break c}v[299999]=0;R(4601,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break f}b=v[v[a>>2]+48>>2];v[299999]=0;R(b|0,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break d}}c=P()|0;O()|0;break c}c=P()|0;O()|0;break c}ec(e+16|0);Qb=e+48|0;return}ec(e+16|0)}T(c|0)}L()}function rVa(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,h=0,i=C(0),j=0,k=0,l=0,m=0;a:{if(v[a+624>>2]==8){break a}Ub[v[v[a>>2]+136>>2]](a,457432)|0;kq(a);e=rv(a,a+88|0);g=v[a+16>>2];f=v[a+12>>2];k=A[c>>3];l=A[d>>3];c=Qb-144|0;Qb=c;b:{c:{d:{e:{f:{g:{if(!v[e+4>>2]){d=kv(c+136|0,g+48|0);v[299999]=0;Pj(d,g+52|0,0);a=v[299999];v[299999]=0;if((a|0)==1){break d}v[299999]=0;iq(d,c+80|0);a=v[299999];v[299999]=0;if((a|0)==1){break e}A[c+72>>3]=k;A[c+64>>3]=l;v[299999]=0;h=Q(2369,c+56|0,d|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break f}v[299999]=0;hq(h);a=v[299999];v[299999]=0;if((a|0)==1){break g}v[299999]=0;Pj(h,g+56|0,0);a=v[299999];v[299999]=0;if((a|0)==1){break g}v[299999]=0;ke(h,c+72|0,c- -64|0);a=v[299999];v[299999]=0;if((a|0)==1){break g}A[c+48>>3]=C(A[c+80>>3]);A[c+40>>3]=C(A[c+88>>3]);A[c+32>>3]=C(A[c+96>>3]);A[c+24>>3]=C(A[c+104>>3]);A[c+16>>3]=C(A[c+112>>3]);A[c+8>>3]=C(A[c+120>>3]);a=v[v[f>>2]+120>>2];v[299999]=0;ma(a|0,f|0,c+48|0,c+40|0,c+32|0,c+24|0,c+16|0,c+8|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break g}v[g+2860>>2]=v[f+160>>2];z[c+48>>2]=A[c+72>>3];z[c+40>>2]=A[c+64>>3];a=v[v[f>>2]+84>>2];v[299999]=0;Z(a|0,f|0,b|0,c+48|0,c+40|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break g}v[c+48>>2]=0;v[c+40>>2]=0;h:{while(1){i:{v[c+32>>2]=0;a=v[v[f>>2]+184>>2];v[299999]=0;a=Z(a|0,f|0,c+32|0,c+48|0,c+40|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break i}if(!a){break h}b=v[c+32>>2];if(!b){continue}v[299999]=0;i=z[c+40>>2];j:{if(C(D(i))>2];k:{if(C(D(i))>2]+4>>2]](e)}return 0}function qB(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=jc(120);if(!f){return 0}d=jc(12);a:{if(!d){break a}v[d+8>>2]=0;v[d>>2]=0;v[d+4>>2]=0;b:{c:{d:{b=jc(256);if(!b){c=v[d+8>>2];if(!c){break b}b=v[d>>2];if((b|0)<1){break c}while(1){a=v[c+4>>2];c=v[a>>2];v[a>>2]=c-1;if((c|0)<=1){b=v[v[a+8>>2]>>2];if(b){Ub[b|0](a)}dc(a);b=v[d>>2]}a=b-1|0;if((a|0)<=0){v[d>>2]=a;break d}b=v[d+8>>2];Wd(b,b+8|0,a<<3);a=v[d>>2];b=a-1|0;v[d>>2]=b;if((a|0)<2){break d}c=v[d+8>>2];continue}}v[d+4>>2]=32;v[d+8>>2]=b;v[f+112>>2]=d;g=gc(ic(f,0,112),a,104);b=g;v[b+104>>2]=0;v[b+108>>2]=0;c=v[d+8>>2];if(c){b=v[d>>2];if((b|0)>=1){while(1){c=v[c+4>>2];e=v[c>>2];v[c>>2]=e-1;if((e|0)<=1){b=v[v[c+8>>2]>>2];if(b){Ub[b|0](c)}dc(c);b=v[d>>2]}e:{b=b-1|0;if((b|0)<=0){v[d>>2]=b;break e}c=v[d+8>>2];Wd(c,c+8|0,b<<3);c=v[d>>2];b=c-1|0;v[d>>2]=b;if((c|0)<2){break e}c=v[d+8>>2];continue}break}c=v[d+8>>2]}dc(c)}dc(d);h=v[a+112>>2];e=jc(12);if(!e){break a}v[e+8>>2]=0;v[e>>2]=0;v[e+4>>2]=0;f:{g:{h:{b=jc(256);if(!b){c=v[e+8>>2];if(!c){break f}b=v[e>>2];if((b|0)<1){break g}while(1){a=v[c+4>>2];c=v[a>>2];v[a>>2]=c-1;if((c|0)<=1){b=v[v[a+8>>2]>>2];if(b){Ub[b|0](a)}dc(a);b=v[e>>2]}a=b-1|0;if((a|0)<=0){v[e>>2]=a;break h}b=v[e+8>>2];Wd(b,b+8|0,a<<3);a=v[e>>2];b=a-1|0;v[e>>2]=b;if((a|0)<2){break h}c=v[e+8>>2];continue}}v[e+4>>2]=32;v[e+8>>2]=b;i:{if(v[h>>2]>=1){c=v[e>>2];a=0;while(1){if((a|0)>(c|0)){break i}i=a<<3;d=i+v[h+8>>2]|0;j=v[d+4>>2];k=v[d>>2];if(v[e+4>>2]<=(c|0)){c=c+32|0;j:{if(b){b=uh(b,c<<3);break j}b=jc(c<<3)}if(!b){break a}v[e+4>>2]=c;v[e+8>>2]=b;c=v[e>>2]}v[j>>2]=v[j>>2]+1;d=a+1|0;a=c-a|0;if((a|0)>=1){Wd((d<<3)+b|0,b+i|0,a<<3);c=v[e>>2];b=v[e+8>>2]}a=b+i|0;v[a+4>>2]=j;v[a>>2]=k;c=c+1|0;v[e>>2]=c;a=d;if((d|0)>2]){continue}break}}v[g+112>>2]=e;return g}X(31371,7738,765,188461);L()}c=v[e+8>>2]}dc(c)}dc(e);break a}c=v[d+8>>2]}dc(c)}dc(d)}v[f+112>>2]=0;Bm(f);return 0}function WOa(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,h=0,i=0,j=0,k=0,l=0,m=0;g=Qb+-64|0;Qb=g;i=4;a:{b:{m=v[a+12>>2];h=m;k=v[a+8>>2];if((h|0)==(k|0)){break b}if(!f){h=k;while(1){j=v[h>>2];c:{if(t[d+11|0]>=0){v[g+56>>2]=v[d+8>>2];l=v[d+4>>2];v[g+48>>2]=v[d>>2];v[g+52>>2]=l;break c}Ke(g+48|0,v[d>>2],v[d+4>>2])}v[299999]=0;j=Y(2661,j|0,g+48|0,e|0)|0;l=v[299999];v[299999]=0;if((l|0)!=1){if(t[g+59|0]<=-1){dc(v[g+48>>2])}i=j+i|0;h=h+4|0;if((h|0)!=v[a+12>>2]){continue}break b}break}d=P()|0;O()|0;if(t[g+59|0]>=0){break a}dc(v[g+48>>2]);T(d|0);L()}h=k;while(1){j=v[h>>2];d:{if(t[d+11|0]>=0){v[g+40>>2]=v[d+8>>2];l=v[d+4>>2];v[g+32>>2]=v[d>>2];v[g+36>>2]=l;break d}Ke(g+32|0,v[d>>2],v[d+4>>2])}v[299999]=0;j=Y(2662,j|0,g+32|0,e|0)|0;l=v[299999];v[299999]=0;if((l|0)!=1){if(t[g+43|0]<=-1){dc(v[g+32>>2])}i=j+i|0;h=h+4|0;if((h|0)==v[a+12>>2]){break b}continue}break}d=P()|0;O()|0;if(t[g+43|0]>-1){break a}dc(v[g+32>>2]);T(d|0);L()}j=fc(i);k=m-k>>2;t[j|0]=k;t[j+1|0]=k>>>8;t[j+2|0]=k>>>16;t[j+3|0]=k>>>24;v[g+28>>2]=j+4;e:{f:{g:{i=v[a+8>>2];h:{if((i|0)==(h|0)){break h}if(!f){while(1){f=v[i>>2];i:{if(t[d+11|0]>=0){v[g+24>>2]=v[d+8>>2];h=v[d+4>>2];v[g+16>>2]=v[d>>2];v[g+20>>2]=h;break i}Ke(g+16|0,v[d>>2],v[d+4>>2])}v[299999]=0;$(2663,f|0,g+28|0,g+16|0,e|0);f=v[299999];v[299999]=0;if((f|0)==1){break g}if(t[g+27|0]<=-1){dc(v[g+16>>2])}i=i+4|0;if((i|0)!=v[a+12>>2]){continue}break h}}while(1){f=v[i>>2];j:{if(t[d+11|0]>=0){v[g+8>>2]=v[d+8>>2];h=v[d+4>>2];v[g>>2]=v[d>>2];v[g+4>>2]=h;break j}Ke(g,v[d>>2],v[d+4>>2])}v[299999]=0;$(2664,f|0,g+28|0,g|0,e|0);f=v[299999];v[299999]=0;if((f|0)==1){break f}if(t[g+11|0]<=-1){dc(v[g>>2])}i=i+4|0;if((i|0)!=v[a+12>>2]){continue}break}}v[b>>2]=j;v[c>>2]=v[g+28>>2]-j;Qb=g- -64|0;return}d=P()|0;O()|0;h=g+16|0;if(t[g+27|0]>=0){break a}break e}d=P()|0;O()|0;h=g;if(t[g+11|0]>=0){break a}}dc(v[h>>2])}T(d|0);L()}function uba(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,h=C(0);a=Qb-368|0;Qb=a;v[a+352>>2]=c;v[a+360>>2]=b;hC(a+200|0,d,a+224|0,a+220|0,a+216|0);b=ge(a+184|0);c=w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10;v[299999]=0;V(5542,b|0,c|0);c=v[299999];v[299999]=0;a:{b:{c:{if((c|0)!=1){d=a;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+180>>2]=c;v[a+12>>2]=a+16;v[a+8>>2]=0;t[a+7|0]=1;t[a+6|0]=69;while(1){d:{v[299999]=0;d=Q(5567,a+360|0,a+352|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break d}if(!d){break c}g=v[a+180>>2];if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}if((g|0)==(d+c|0)){if(w[b+11|0]>>>7|0){c=v[b+4>>2]}else{c=w[b+11|0]}if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}v[299999]=0;V(5542,b|0,d<<1);d=v[299999];v[299999]=0;if((d|0)==1){break b}d=w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10;v[299999]=0;V(5542,b|0,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break b}d=a;g=c;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+180>>2]=g+c}v[299999]=0;d=S(5569,a+360|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break d}v[299999]=0;d=vw(d,a+7|0,a+6|0,c,a+180|0,v[a+220>>2],v[a+216>>2],a+200|0,a+16|0,a+12|0,a+8|0,a+224|0);g=v[299999];v[299999]=0;if((g|0)==1){break d}if(d){break c}v[299999]=0;S(5571,a+360|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){continue}}break}break b}break b}if(w[a+211|0]>>>7|0){d=v[a+204>>2]}else{d=w[a+211|0]}e:{if(!d|!w[a+7|0]){break e}d=v[a+12>>2];if((d-(a+16|0)|0)>159){break e}v[a+12>>2]=d+4;v[d>>2]=v[a+8>>2]}v[299999]=0;h=C(Za(5554,c|0,v[a+180>>2],e|0));c=v[299999];v[299999]=0;f:{if((c|0)==1){break f}z[f>>2]=h;v[299999]=0;Xg(a+200|0,a+16|0,v[a+12>>2],e);c=v[299999];v[299999]=0;if((c|0)==1){break f}v[299999]=0;c=Q(5568,a+360|0,a+352|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break f}if(c){v[e>>2]=v[e>>2]|2}c=v[a+360>>2];Mc(b);Mc(a+200|0);Qb=a+368|0;break a}}c=P()|0;O()|0;Mc(b);Mc(a+200|0);T(c|0);L()}return c|0}function lY(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,E=0,G=0,H=0,I=0,J=C(0),L=C(0),M=0,N=0,O=0,P=0;m=v[a+20>>2];s=v[a+28>>2]-m>>3;p=v[a+4>>2];E=+(p|0);while(1){G=v[m+12>>2];h=u[m+8>>1];a=u[m+10>>1];f=a>>31;i=(f^a+f)&65535;f=v[c+4>>2];a:{if(i>>>0<=f>>>0){break a}n=f;f=i+255&130816;if((n|0)==(f|0)){break a}e=v[c>>2];if(e){dc(e)}v[c+4>>2]=f;O=c,P=fc(f<<2),v[O>>2]=P}x=0;q=v[c>>2];n=q;f=h;if(a){while(1){g=+(f|0);H=A[d+64>>3]+(A[d+32>>3]*g+A[d+48>>3]*E)-A[d+8>>3];g=A[d+72>>3]+(A[d+40>>3]*g+A[d+56>>3]*E)-A[d+16>>3];g=F(A[d+24>>3]*K(H*H+g*g),1)*512+.5;b:{if(D(g)<2147483648){e=~~g;break b}e=-2147483648}I=(e+d|0)+2144|0;if(!w[I|0]){k=v[d+88>>2];c:{if((k|0)>=2){g=+(e|0)*.001953125;j=v[d+84>>2];a=1;while(1){if(!(!(g<+z[j>>2])|(a|0)!=1)){a=v[d+80>>2];v[((e<<2)+d|0)+92>>2]=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);break c}l=a<<2;J=z[l+j>>2];if(g<+J){a=v[d+80>>2];k=a+l|0;o=a;a=l-4|0;l=o+a|0;r=w[l+3|0];M=w[k+3|0]-r|0;N=(e<<2)+d|0;o=w[l|0];y=o;L=z[a+j>>2];g=(g-+L)/+C(J-L)*256+.5;d:{if(g<4294967296&g>=0){a=~~g>>>0;break d}a=0}j=w[l+2|0];r=(B(a,M)>>>8|0)+r<<24|((B(a,w[k+2|0]-j|0)>>>8|0)+j&255)<<16;j=w[l+1|0];v[N+92>>2]=y+(B(a,w[k|0]-o|0)>>>8|0)&255|(r|((B(a,w[k+1|0]-j|0)>>>8|0)+j&255)<<8);break c}a=a+1|0;if((k|0)!=(a|0)){continue}break}}a=(v[d+80>>2]+(k<<2)|0)-4|0;v[((e<<2)+d|0)+92>>2]=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24)}t[I|0]=1}a=n;e=v[((e<<2)+d|0)+92>>2];t[a|0]=e;t[a+1|0]=e>>>8;t[a+2|0]=e>>>16;t[a+3|0]=e>>>24;f=f+1|0;n=a+4|0;x=x+1|0;if((x|0)!=(i|0)){continue}break}}e:{if(v[b+16>>2]<(p|0)|v[b+8>>2]>(p|0)){break e}e=u[m+10>>1]<0;f=e?0:G;n=w[G|0];a=v[b+4>>2];f:{if((h|0)>=(a|0)){a=h;break f}h=a-h|0;i=i-h|0;if((i|0)<1){break e}f=e?0:f+h|0;q=(h<<2)+q|0}y=v[b>>2];e=a;o=p;h=v[b+12>>2];if((h|0)<(a+i|0)){h=h-a|0;if((h|0)<0){break e}i=h+1|0}ig(y,e,o,i,q,f,n)}m=m+8|0;s=s-1|0;if(s){continue}break}}function zw(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;j=Qb-128|0;Qb=j;v[j+120>>2]=b;v[j+4>>2]=1563;n=Mf(j+8|0,0,j+4|0);k=j+16|0;l=(d-c|0)/12|0;a:{b:{if(l>>>0>=101){k=jc(l);if(!k){v[299999]=0;ba(5538);a=v[299999];v[299999]=0;if((a|0)!=1){break a}b=P()|0;O()|0;break b}Ig(n,k)}h=k;b=c;while(1){if((b|0)==(d|0)){c:{d:{e:while(1){f:{v[299999]=0;h=Q(5473,a|0,j+120|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break f}if(!(h&(l|0)!=0)){v[299999]=0;b=Q(5539,a|0,j+120|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break c}if(!b){break d}v[f>>2]=v[f>>2]|2;break d}v[299999]=0;o=S(5474,a|0)|0;b=v[299999];v[299999]=0;g:{if((b|0)!=1){if(g){break g}v[299999]=0;o=Q(5540,e|0,o|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break g}}b=P()|0;O()|0;break b}r=p+1|0;s=0;h=k;b=c;while(1){if((b|0)==(d|0)){p=r;if(!s){continue e}v[299999]=0;S(5476,a|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){h=k;b=c;if(l+m>>>0<2){continue e}while(1){if((b|0)==(d|0)){continue e}if(w[b+11|0]>>>7|0){i=v[b+4>>2]}else{i=w[b+11|0]}if(!((i|0)==(p|0)|w[h|0]!=2)){t[h|0]=0;m=m-1|0}h=h+1|0;b=b+12|0;continue}}b=P()|0;O()|0;break b}h:{if(w[h|0]!=1){break h}if(w[b+11|0]>>>7|0){i=v[b>>2]}else{i=b}q=t[i+p|0];i:{if(g){break i}v[299999]=0;q=Q(5540,e|0,q<<24>>24)|0;i=v[299999];v[299999]=0;if((i|0)!=1){break i}b=P()|0;O()|0;break b}j:{if((o&255)==(q&255)){s=1;if(w[b+11|0]>>>7|0){i=v[b+4>>2]}else{i=w[b+11|0]}if((i|0)!=(r|0)){break h}t[h|0]=2;m=m+1|0;break j}t[h|0]=0}l=l-1|0}h=h+1|0;b=b+12|0;continue}}break}b=P()|0;O()|0;break b}k:{l:{while(1){if((c|0)==(d|0)){break l}if(w[k|0]!=2){k=k+1|0;c=c+12|0;continue}break}d=c;break k}v[f>>2]=v[f>>2]|4}ee(n);Qb=j+128|0;return d|0}b=P()|0;O()|0}else{if(w[b+11|0]>>>7|0){i=v[b+4>>2]}else{i=w[b+11|0]}m:{if(i){t[h|0]=1;break m}t[h|0]=2;m=m+1|0;l=l-1|0}h=h+1|0;b=b+12|0;continue}break}}ee(n);T(b|0)}L()}function Lba(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,h=C(0);a=Qb-272|0;Qb=a;v[a+256>>2]=c;v[a+264>>2]=b;lC(a+208|0,d,a+224|0,a+223|0,a+222|0);b=ge(a+192|0);c=w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10;v[299999]=0;V(5542,b|0,c|0);c=v[299999];v[299999]=0;a:{b:{c:{if((c|0)!=1){d=a;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+188>>2]=c;v[a+12>>2]=a+16;v[a+8>>2]=0;t[a+7|0]=1;t[a+6|0]=69;while(1){d:{v[299999]=0;d=Q(5473,a+264|0,a+256|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break d}if(!d){break c}g=v[a+188>>2];if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}if((g|0)==(d+c|0)){if(w[b+11|0]>>>7|0){c=v[b+4>>2]}else{c=w[b+11|0]}if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}v[299999]=0;V(5542,b|0,d<<1);d=v[299999];v[299999]=0;if((d|0)==1){break b}d=w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10;v[299999]=0;V(5542,b|0,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break b}d=a;g=c;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+188>>2]=g+c}v[299999]=0;d=S(5474,a+264|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break d}v[299999]=0;d=yw(d,a+7|0,a+6|0,c,a+188|0,t[a+223|0],t[a+222|0],a+208|0,a+16|0,a+12|0,a+8|0,a+224|0);g=v[299999];v[299999]=0;if((g|0)==1){break d}if(d){break c}v[299999]=0;S(5476,a+264|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){continue}}break}break b}break b}if(w[a+219|0]>>>7|0){d=v[a+212>>2]}else{d=w[a+219|0]}e:{if(!d|!w[a+7|0]){break e}d=v[a+12>>2];if((d-(a+16|0)|0)>159){break e}v[a+12>>2]=d+4;v[d>>2]=v[a+8>>2]}v[299999]=0;h=C(Za(5554,c|0,v[a+188>>2],e|0));c=v[299999];v[299999]=0;f:{if((c|0)==1){break f}z[f>>2]=h;v[299999]=0;Xg(a+208|0,a+16|0,v[a+12>>2],e);c=v[299999];v[299999]=0;if((c|0)==1){break f}v[299999]=0;c=Q(5539,a+264|0,a+256|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break f}if(c){v[e>>2]=v[e>>2]|2}c=v[a+264>>2];Mc(b);Mc(a+208|0);Qb=a+272|0;break a}}c=P()|0;O()|0;Mc(b);Mc(a+208|0);T(c|0);L()}return c|0}function tba(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,h=0;a=Qb-368|0;Qb=a;v[a+352>>2]=c;v[a+360>>2]=b;hC(a+200|0,d,a+224|0,a+220|0,a+216|0);b=ge(a+184|0);c=w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10;v[299999]=0;V(5542,b|0,c|0);c=v[299999];v[299999]=0;a:{b:{c:{if((c|0)!=1){d=a;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+180>>2]=c;v[a+12>>2]=a+16;v[a+8>>2]=0;t[a+7|0]=1;t[a+6|0]=69;while(1){d:{v[299999]=0;d=Q(5567,a+360|0,a+352|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break d}if(!d){break c}g=v[a+180>>2];if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}if((g|0)==(d+c|0)){if(w[b+11|0]>>>7|0){c=v[b+4>>2]}else{c=w[b+11|0]}if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}v[299999]=0;V(5542,b|0,d<<1);d=v[299999];v[299999]=0;if((d|0)==1){break b}d=w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10;v[299999]=0;V(5542,b|0,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break b}d=a;g=c;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+180>>2]=g+c}v[299999]=0;d=S(5569,a+360|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break d}v[299999]=0;d=vw(d,a+7|0,a+6|0,c,a+180|0,v[a+220>>2],v[a+216>>2],a+200|0,a+16|0,a+12|0,a+8|0,a+224|0);g=v[299999];v[299999]=0;if((g|0)==1){break d}if(d){break c}v[299999]=0;S(5571,a+360|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){continue}}break}break b}break b}if(w[a+211|0]>>>7|0){d=v[a+204>>2]}else{d=w[a+211|0]}e:{if(!d|!w[a+7|0]){break e}d=v[a+12>>2];if((d-(a+16|0)|0)>159){break e}v[a+12>>2]=d+4;v[d>>2]=v[a+8>>2]}v[299999]=0;h=+wa(5557,c|0,v[a+180>>2],e|0);c=v[299999];v[299999]=0;f:{if((c|0)==1){break f}A[f>>3]=h;v[299999]=0;Xg(a+200|0,a+16|0,v[a+12>>2],e);c=v[299999];v[299999]=0;if((c|0)==1){break f}v[299999]=0;c=Q(5568,a+360|0,a+352|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break f}if(c){v[e>>2]=v[e>>2]|2}c=v[a+360>>2];Mc(b);Mc(a+200|0);Qb=a+368|0;break a}}c=P()|0;O()|0;Mc(b);Mc(a+200|0);T(c|0);L()}return c|0}function rab(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,v=0,y=0,z=0,A=0,C=0;if(e){A=e-1|0;C=e-2|0;z=(e|0)==1;while(1){a=f;u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];u[g+6>>1]=x[a+6>>1];f=a+8|0;g=g+8|0;a:{if(!z&n>>>0>=A>>>0){break a}l=n?(n|0)==(C|0)?d:b:c;k=!n&z;if(!k){j=1;if(l>>>0<=1){break a}p=a+6|0;q=a+4|0;r=a+2|0;k=k?0:f;s=k+6|0;v=k+4|0;y=k+2|0;o=l<<1;while(1){i=x[a>>1];b:{if((i|0)==x[k>>1]){u[g>>1]=i;break b}i=w[a|0]|w[a+1|0]<<8;h=i;m=(h<<8|h>>>8)&65535;h=w[k|0]|w[k+1|0]<<8;i=m+(((B(((h<<8|h>>>8)&65535)-((i<<8|i>>>8)&65535)|0,j)<<1)+l|0)/(o|0)|0)&65535;i=i<<8|i>>>8;t[g|0]=i;t[g+1|0]=i>>>8}i=g+2|0;h=x[r>>1];c:{if((h|0)==x[y>>1]){u[i>>1]=h;break c}h=w[r|0]|w[r+1|0]<<8;m=w[y|0]|w[y+1|0]<<8;h=((h<<8|h>>>8)&65535)+(((B(((m<<8|m>>>8)&65535)-((h<<8|h>>>8)&65535)|0,j)<<1)+l|0)/(o|0)|0)&65535;h=h<<8|h>>>8;t[i|0]=h;t[i+1|0]=h>>>8}i=g+4|0;h=x[q>>1];d:{if((h|0)==x[v>>1]){u[i>>1]=h;break d}h=w[q|0]|w[q+1|0]<<8;m=w[v|0]|w[v+1|0]<<8;h=((h<<8|h>>>8)&65535)+(((B(((m<<8|m>>>8)&65535)-((h<<8|h>>>8)&65535)|0,j)<<1)+l|0)/(o|0)|0)&65535;h=h<<8|h>>>8;t[i|0]=h;t[i+1|0]=h>>>8}i=g+6|0;h=x[p>>1];e:{if((h|0)==x[s>>1]){u[i>>1]=h;break e}h=w[p|0]|w[p+1|0]<<8;m=w[s|0]|w[s+1|0]<<8;h=((h<<8|h>>>8)&65535)+(((B(((m<<8|m>>>8)&65535)-((h<<8|h>>>8)&65535)|0,j)<<1)+l|0)/(o|0)|0)&65535;h=h<<8|h>>>8;t[i|0]=h;t[i+1|0]=h>>>8}g=g+8|0;j=j+1|0;if((l|0)!=(j|0)){continue}break}break a}if(l>>>0<2){break a}j=l-1|0;k=j&1;if((l|0)!=2){j=j&-2;while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];u[g+6>>1]=x[a+6>>1];u[g+8>>1]=x[a>>1];u[g+10>>1]=x[a+2>>1];u[g+12>>1]=x[a+4>>1];u[g+14>>1]=x[a+6>>1];g=g+16|0;j=j-2|0;if(j){continue}break}}if(!k){break a}u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];u[g+6>>1]=x[a+6>>1];g=g+8|0}n=n+1|0;if((n|0)!=(e|0)){continue}break}}return 0}function oua(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;c=Qb-48|0;Qb=c;if(!ph(b)){g=c+32|0;v[g>>2]=0;v[g+4>>2]=0;t[g+8|0]=0;v[299999]=0;f=wg(b);e=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{if((e|0)!=1){while(1){v[299999]=0;i=Q(4155,b|0,f|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break d}if(!i){break a}v[299999]=0;V(4145,c|0,b|0);e=v[299999];v[299999]=0;if((e|0)==1){break o}v[299999]=0;e=Q(4160,c+16|0,c|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break n}v[299999]=0;uf(g,e);h=v[299999];v[299999]=0;if((h|0)==1){break m}xc(e);if(t[c+11|0]<=-1){dc(v[c>>2])}v[299999]=0;e=md(g,974940);h=v[299999];v[299999]=0;if((h|0)==1){break d}if(!e){continue}break}v[299999]=0;e=c+16|0;v[e>>2]=0;v[e+4>>2]=0;t[e+8|0]=0;f=v[299999];v[299999]=0;if((f|0)==1){break k}v[299999]=0;U(4165,b|0,975016,e|0);f=v[299999];v[299999]=0;if((f|0)==1){break g}v[299999]=0;f=v[e+4>>2];h=v[299999];v[299999]=0;if((h|0)==1){break g}if(!f){break h}v[299999]=0;V(4193,c|0,e|0);b=v[299999];v[299999]=0;if((b|0)==1){break j}a=v[a+40>>2];v[299999]=0;a=Q(4194,a|0,(t[c+11|0]<0?v[c>>2]:c)|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break i}v[299999]=0;U(4195,d|0,a|0,0);a=v[299999];v[299999]=0;if((a|0)==1){break i}if(t[c+11|0]>-1){break b}dc(v[c>>2]);break b}b=P()|0;O()|0;break c}b=P()|0;O()|0;break c}b=P()|0;O()|0;break l}b=P()|0;O()|0;xc(e)}if(t[c+11|0]>-1){break c}dc(v[c>>2]);break c}b=P()|0;O()|0;break c}b=P()|0;O()|0;xc(e);break c}b=P()|0;O()|0;if(t[c+11|0]>-1){break e}dc(v[c>>2]);xc(e);break c}v[299999]=0;a=S(1,36)|0;f=v[299999];v[299999]=0;if((f|0)==1){break g}v[299999]=0;b=Q(4196,a|0,b|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break f}v[299999]=0;U(4195,d|0,b|0,1);a=v[299999];v[299999]=0;if((a|0)!=1){break b}}b=P()|0;O()|0;xc(e);break c}b=P()|0;O()|0;dc(a)}xc(e);break c}b=P()|0;O()|0}xc(g);T(b|0);L()}xc(e)}xc(g)}Qb=c+48|0;return i|0}function kX(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=C(0),k=0,l=C(0),m=0,n=0,o=0,p=0,q=C(0),r=0;f=Qb-128|0;Qb=f;a:{p=v[b+84>>2];if((p|0)>=1){r=a+264|0;o=f+92|0;while(1){e=d;i=gm(b,h);d=v[i>>2];v[f+124>>2]=d;b:{c:{if(d>>>0<=1114111){d=x[((d<<1)+a|0)+276>>1];if((d|0)!=65535){break c}}t[f+15|0]=0;t[f+14|0]=0;fv(f+16|0,a,f+124|0,f+15|0,0,f+14|0);if(v[f+16>>2]>=1114112){mg(o);d=0;break b}d=v[a+268>>2];d:{if((d|0)!=v[a+272>>2]){d=gc(d,f+16|0,104)+104|0;v[a+268>>2]=d;break d}v[299999]=0;V(2618,r|0,f+16|0);d=v[299999];v[299999]=0;if((d|0)==1){break a}d=v[a+268>>2]}c=(d-v[a+264>>2]|0)/104|0;d=c-1|0;u[((v[f+16>>2]<<1)+a|0)+276>>1]=d;mg(o);if(c&65535){break c}d=0;break b}c=v[a+264>>2]+B(d&65535,104)|0;d=x[c+12>>1];e:{f:{g:{g=v[c+4>>2];switch(g-1|0){case 0:break e;case 1:break g;default:break f}}Cz(b,h,j,C(0));Dz(b,h,C(0),C(0),C(0),C(0));Bz(b,h,2);j=C(j+C(A[a+136>>3]+A[a+8>>3]*+z[c+16>>2]));d=0;break b}g=0}Bz(b,h,g);h:{if(!w[a+105|0]|!e){break h}if(v[gm(b,h)+60>>2]!=v[gm(b,h-1|0)+60>>2]){break h}g=v[a+180>>2];k=f+16|0;if(k?g:0){TK(g,e,d,k)}j=C(j+C(v[f+16>>2]>>6))}l=z[b+8>>2];m=+C(j+l);q=z[b+12>>2];n=+C(q+C(0));Cz(b,h,C(A[b+56>>3]+A[b+24>>3]*m+A[b+40>>3]*n-+l),C(A[b+64>>3]+A[b+32>>3]*m+A[b+48>>3]*n-+q));e=gm(b,h);k=c- -64|0;g=v[k+4>>2];v[e+52>>2]=v[k>>2];v[e+56>>2]=g;g=v[c+60>>2];v[e+44>>2]=v[c+56>>2];v[e+48>>2]=g;g=v[c+52>>2];v[e+36>>2]=v[c+48>>2];v[e+40>>2]=g;g=v[c+44>>2];v[e+28>>2]=v[c+40>>2];v[e+32>>2]=g;Dz(b,h,z[c+24>>2],z[c+36>>2],z[c+28>>2],z[c+32>>2]);l=z[c+16>>2];m=A[a+136>>3];n=A[a+8>>3];t[i+64|0]=w[c+72|0];e=v[c+80>>2];v[i+68>>2]=v[c+76>>2];v[i+72>>2]=e;e=v[c+88>>2];v[i+76>>2]=v[c+84>>2];v[i+80>>2]=e;e=v[c+96>>2];v[i+84>>2]=v[c+92>>2];v[i+88>>2]=e;v[i+92>>2]=v[c+100>>2];j=C(j+C(m+n*+l))}h=h+1|0;if((p|0)!=(h|0)){continue}break}z[b+16>>2]=j+z[b+8>>2];z[b+20>>2]=z[b+12>>2]+C(0)}Qb=f+128|0;return}a=P()|0;O()|0;mg(o);T(a|0);L()}function xw(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;j=Qb-128|0;Qb=j;v[j+120>>2]=b;v[j+4>>2]=1563;n=Mf(j+8|0,0,j+4|0);k=j+16|0;l=(d-c|0)/12|0;a:{b:{if(l>>>0>=101){k=jc(l);if(!k){v[299999]=0;ba(5538);a=v[299999];v[299999]=0;if((a|0)!=1){break a}b=P()|0;O()|0;break b}Ig(n,k)}h=k;b=c;while(1){if((b|0)==(d|0)){c:{d:{e:while(1){f:{v[299999]=0;h=Q(5567,a|0,j+120|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break f}if(!(h&(l|0)!=0)){v[299999]=0;b=Q(5568,a|0,j+120|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break c}if(!b){break d}v[f>>2]=v[f>>2]|2;break d}v[299999]=0;o=S(5569,a|0)|0;b=v[299999];v[299999]=0;g:{if((b|0)!=1){if(g){break g}v[299999]=0;o=Q(5570,e|0,o|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break g}}b=P()|0;O()|0;break b}r=p+1|0;s=0;h=k;b=c;while(1){if((b|0)==(d|0)){p=r;if(!s){continue e}v[299999]=0;S(5571,a|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){h=k;b=c;if(l+m>>>0<2){continue e}while(1){if((b|0)==(d|0)){continue e}if(w[b+11|0]>>>7|0){i=v[b+4>>2]}else{i=w[b+11|0]}if(!((i|0)==(p|0)|w[h|0]!=2)){t[h|0]=0;m=m-1|0}h=h+1|0;b=b+12|0;continue}}b=P()|0;O()|0;break b}h:{if(w[h|0]!=1){break h}if(w[b+11|0]>>>7|0){i=v[b>>2]}else{i=b}q=v[i+(p<<2)>>2];i:{if(g){break i}v[299999]=0;q=Q(5570,e|0,q|0)|0;i=v[299999];v[299999]=0;if((i|0)!=1){break i}b=P()|0;O()|0;break b}j:{if((o|0)==(q|0)){s=1;if(w[b+11|0]>>>7|0){i=v[b+4>>2]}else{i=w[b+11|0]}if((i|0)!=(r|0)){break h}t[h|0]=2;m=m+1|0;break j}t[h|0]=0}l=l-1|0}h=h+1|0;b=b+12|0;continue}}break}b=P()|0;O()|0;break b}k:{l:{while(1){if((c|0)==(d|0)){break l}if(w[k|0]!=2){k=k+1|0;c=c+12|0;continue}break}d=c;break k}v[f>>2]=v[f>>2]|4}ee(n);Qb=j+128|0;return d|0}b=P()|0;O()|0}else{if(w[b+11|0]>>>7|0){i=v[b+4>>2]}else{i=w[b+11|0]}m:{if(i){t[h|0]=1;break m}t[h|0]=2;m=m+1|0;l=l-1|0}h=h+1|0;b=b+12|0;continue}break}}ee(n);T(b|0)}L()}function Jba(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,h=0;a=Qb-272|0;Qb=a;v[a+256>>2]=c;v[a+264>>2]=b;lC(a+208|0,d,a+224|0,a+223|0,a+222|0);b=ge(a+192|0);c=w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10;v[299999]=0;V(5542,b|0,c|0);c=v[299999];v[299999]=0;a:{b:{c:{if((c|0)!=1){d=a;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+188>>2]=c;v[a+12>>2]=a+16;v[a+8>>2]=0;t[a+7|0]=1;t[a+6|0]=69;while(1){d:{v[299999]=0;d=Q(5473,a+264|0,a+256|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break d}if(!d){break c}g=v[a+188>>2];if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}if((g|0)==(d+c|0)){if(w[b+11|0]>>>7|0){c=v[b+4>>2]}else{c=w[b+11|0]}if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}v[299999]=0;V(5542,b|0,d<<1);d=v[299999];v[299999]=0;if((d|0)==1){break b}d=w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10;v[299999]=0;V(5542,b|0,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break b}d=a;g=c;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+188>>2]=g+c}v[299999]=0;d=S(5474,a+264|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break d}v[299999]=0;d=yw(d,a+7|0,a+6|0,c,a+188|0,t[a+223|0],t[a+222|0],a+208|0,a+16|0,a+12|0,a+8|0,a+224|0);g=v[299999];v[299999]=0;if((g|0)==1){break d}if(d){break c}v[299999]=0;S(5476,a+264|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){continue}}break}break b}break b}if(w[a+219|0]>>>7|0){d=v[a+212>>2]}else{d=w[a+219|0]}e:{if(!d|!w[a+7|0]){break e}d=v[a+12>>2];if((d-(a+16|0)|0)>159){break e}v[a+12>>2]=d+4;v[d>>2]=v[a+8>>2]}v[299999]=0;h=+wa(5557,c|0,v[a+188>>2],e|0);c=v[299999];v[299999]=0;f:{if((c|0)==1){break f}A[f>>3]=h;v[299999]=0;Xg(a+208|0,a+16|0,v[a+12>>2],e);c=v[299999];v[299999]=0;if((c|0)==1){break f}v[299999]=0;c=Q(5539,a+264|0,a+256|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break f}if(c){v[e>>2]=v[e>>2]|2}c=v[a+264>>2];Mc(b);Mc(a+208|0);Qb=a+272|0;break a}}c=P()|0;O()|0;Mc(b);Mc(a+208|0);T(c|0);L()}return c|0}function aD(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Qb-16|0;Qb=c;v[a+8>>2]=0;v[a>>2]=981280;v[a+12>>2]=v[282402];f=a+8|0;a:{b=v[b>>2];b:{if(b){d=v[v[b>>2]+28>>2];v[299999]=0;U(d|0,c+8|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break b}a=P()|0;O()|0;break a}v[c+8>>2]=0}v[299999]=0;Q(4344,f|0,c+8|0)|0;b=v[299999];v[299999]=0;c:{if((b|0)!=1){b=v[c+8>>2];v[c+8>>2]=0;if(!b){break c}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)!=1){if(d){break c}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break c}}W(0)|0;O()|0;lc();L()}a=P()|0;O()|0;ec(c+8|0);break a}b=v[a+8>>2];b=v[(b?b+12|0:1129608)>>2];v[a+20>>2]=0;v[a+12>>2]=b;v[a+16>>2]=999976;v[299999]=0;e=S(1,52)|0;b=v[299999];v[299999]=0;d:{e:{f:{g:{h:{if((b|0)!=1){v[299999]=0;d=Rm(e,8,5413,5414,5415,5416,5417);b=v[299999];v[299999]=0;if((b|0)==1){break h}v[d+4>>2]=v[d+4>>2]+1;b=v[a+20>>2];i:{if(!b){break i}e=v[b+4>>2]-1|0;v[b+4>>2]=e;if(e){break i}Ub[v[v[b>>2]+4>>2]](b)}v[a+20>>2]=d;v[a+24>>2]=999976;v[a+28>>2]=0;v[299999]=0;e=S(1,52)|0;b=v[299999];v[299999]=0;if((b|0)==1){break f}v[299999]=0;d=Rm(e,8,5413,5414,5415,5416,5417);b=v[299999];v[299999]=0;if((b|0)==1){break g}v[d+4>>2]=v[d+4>>2]+1;b=v[a+28>>2];j:{if(!b){break j}f=v[b+4>>2]-1|0;v[b+4>>2]=f;if(f){break j}Ub[v[v[b>>2]+4>>2]](b)}t[a+32|0]=0;v[a+28>>2]=d;Qb=c+16|0;return a|0}b=P()|0;O()|0;v[a+16>>2]=981312;break d}b=P()|0;O()|0;dc(e);v[a+16>>2]=981312;c=v[a+20>>2];if(!c){break d}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(!d){Ub[v[v[c>>2]+4>>2]](c)}v[a+20>>2]=0;break d}b=P()|0;O()|0;dc(e);v[a+24>>2]=981312;c=v[a+28>>2];if(!c){break e}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(!d){Ub[v[v[c>>2]+4>>2]](c)}v[a+28>>2]=0;break e}b=P()|0;O()|0;v[a+24>>2]=981312}v[a+16>>2]=981312;c=v[a+20>>2];if(!c){break d}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(!d){Ub[v[v[c>>2]+4>>2]](c)}v[a+20>>2]=0}ec(f);T(b|0);L()}ec(f);T(a|0);L()}function gH(a){var b=0,c=0,d=0,e=0,f=0;d=a+2848|0;b=v[d>>2];e=v[d+4>>2];if((b|0)!=(e|0)){while(1){c=v[b>>2];if(c){e=v[c>>2];if(e){dc(jq(e));v[c>>2]=0}e=v[c+4>>2];if(e){dc(Cd(e))}dc(c);e=v[d+4>>2]}b=b+4|0;if((e|0)!=(b|0)){continue}break}b=v[d>>2]}v[d+4>>2]=b;if(b){v[d+4>>2]=b;dc(b)}b=v[a+2808>>2];if(b){dc(b)}d=v[a+1628>>2];a:{if(!d){break a}b=d-1|0;v[a+1628>>2]=b;e=v[a+1644>>2]+(d<<2)|0;while(1){c=a;e=e-4|0;d=v[e>>2];if(d){dc(d);b=v[a+1628>>2]}d=b;b=d-1|0;v[c+1628>>2]=b;if(d){continue}break}b=v[a+1644>>2];if(!b){break a}dc(b)}b=v[a+1672>>2];if(b){dc(b)}b=v[a+1660>>2];if(b){dc(b)}b=v[a+1616>>2];if(b){dc(b)}b=v[a+1608>>2];if(b){dc(b)}b:{if(w[a+1592|0]){break b}b=v[a+1532>>2];if(!b){break b}dc(b)}d=a+96|0;c=v[d+1368>>2];if(c){b=c-1|0;v[d+1368>>2]=b;e=v[d+1376>>2]+(c<<2)|0;while(1){f=d;e=e-4|0;c=v[e>>2];if(c){dc(c);b=v[d+1368>>2]}c=b;b=c-1|0;v[f+1368>>2]=b;if(c){continue}break}}b=v[d+1376>>2];if(b){dc(b)}c=v[d+1348>>2];if(c){b=c-1|0;v[d+1348>>2]=b;e=v[d+1356>>2]+(c<<2)|0;while(1){f=d;e=e-4|0;c=v[e>>2];if(c){dc(c);b=v[d+1348>>2]}c=b;b=c-1|0;v[f+1348>>2]=b;if(c){continue}break}}b=v[d+1356>>2];if(b){dc(b)}Gz(d+1304|0);c=v[d+1244>>2];if(c){b=c-1|0;v[d+1244>>2]=b;e=v[d+1252>>2]+(c<<2)|0;while(1){f=d;e=e-4|0;c=v[e>>2];if(c){dc(c);b=v[d+1244>>2]}c=b;b=c-1|0;v[f+1244>>2]=b;if(c){continue}break}}b=v[d+1252>>2];if(b){dc(b)}c=v[d+1224>>2];if(c){b=c-1|0;v[d+1224>>2]=b;e=v[d+1232>>2]+(c<<2)|0;while(1){f=d;e=e-4|0;c=v[e>>2];if(c){dc(c);b=v[d+1224>>2]}c=b;b=c-1|0;v[f+1224>>2]=b;if(c){continue}break}}b=v[d+1232>>2];if(b){dc(b)}Gz(d+1180|0);c=v[d>>2];c:{if(!c){break c}b=c-1|0;v[d>>2]=b;e=v[d+16>>2]+(c<<2)|0;while(1){f=d;e=e-4|0;c=v[e>>2];if(c){dc(c);b=v[d>>2]}c=b;b=c-1|0;v[f>>2]=b;if(c){continue}break}b=v[d+16>>2];if(!b){break c}dc(b)}b=v[d+44>>2];if(b){dc(b)}b=v[d+32>>2];if(b){dc(b)}Cd(a+56|0);Cd(a+52|0);Cd(a+48|0);Cd(a+44|0);return a}function s0(a,b){var c=0,d=0,e=0,f=0;f=((b<<9)+a|0)+65561|0;e=w[f|0];c=x[(e<<2)+1038400>>1];a:{b:{if(e>>>0>=47){d=x[a+4>>1]-c|0;if(d<<16>>16>=0){c:{if(c>>>0>(d&65535)>>>0){d=c;break c}v[a>>2]=c+v[a>>2]}c=(e<<2)+1038402|0;break b}v[a>>2]=c+v[a>>2];break a}d=x[a+4>>1]-c|0;d:{if(c>>>0<=(d&65535)>>>0){d=c;break d}v[a>>2]=c+v[a>>2]}c=(e<<2)+1038403|0}t[f|0]=w[c|0];while(1){d=d<<1;u[a+4>>1]=d;v[a>>2]=v[a>>2]<<1;c=w[a+6|0]-1|0;t[a+6|0]=c;if(!(c&255)){ql(a);d=x[a+4>>1]}if(d<<16>>16>-1){continue}break}}f=((b<<9)+a|0)+65563|0;e=w[f|0];c=x[(e<<2)+1038400>>1];e:{f:{if(e>>>0<=46){d=d-c|0;if(d<<16>>16>=0){g:{if(c>>>0>(d&65535)>>>0){d=c;break g}v[a>>2]=c+v[a>>2]}c=(e<<2)+1038402|0;break f}v[a>>2]=c+v[a>>2];break e}d=d-c|0;h:{if(c>>>0<=(d&65535)>>>0){d=c;break h}v[a>>2]=c+v[a>>2]}c=(e<<2)+1038403|0}t[f|0]=w[c|0];while(1){d=d<<1;u[a+4>>1]=d;v[a>>2]=v[a>>2]<<1;c=w[a+6|0]-1|0;t[a+6|0]=c;if(!(c&255)){ql(a);d=x[a+4>>1]}if(d<<16>>16>-1){continue}break}}f=((b<<9)+a|0)+65566|0;e=w[f|0];c=x[(e<<2)+1038400>>1];i:{j:{if(e>>>0<=46){d=d-c|0;if(d<<16>>16>=0){k:{if(c>>>0>(d&65535)>>>0){d=c;break k}v[a>>2]=c+v[a>>2]}c=(e<<2)+1038402|0;break j}v[a>>2]=c+v[a>>2];break i}d=d-c|0;l:{if(c>>>0<=(d&65535)>>>0){d=c;break l}v[a>>2]=c+v[a>>2]}c=(e<<2)+1038403|0}t[f|0]=w[c|0];while(1){d=d<<1;u[a+4>>1]=d;v[a>>2]=v[a>>2]<<1;c=w[a+6|0]-1|0;t[a+6|0]=c;if(!(c&255)){ql(a);d=x[a+4>>1]}if(d<<16>>16>-1){continue}break}}f=((b<<9)+a|0)+65572|0;e=w[f|0];c=x[(e<<2)+1038400>>1];m:{if(e>>>0<=46){b=d-c|0;u[a+4>>1]=b;if(b<<16>>16>=0){n:{if(c>>>0>(b&65535)>>>0){b=c;break n}v[a>>2]=c+v[a>>2]}c=(e<<2)+1038402|0;break m}v[a>>2]=c+v[a>>2];return}b=d-c|0;o:{if(c>>>0<=(b&65535)>>>0){b=c;break o}v[a>>2]=c+v[a>>2]}c=(e<<2)+1038403|0}t[f|0]=w[c|0];while(1){b=b<<1;u[a+4>>1]=b;v[a>>2]=v[a>>2]<<1;d=w[a+6|0]-1|0;t[a+6|0]=d;if(!(d&255)){ql(a);b=x[a+4>>1]}if(b<<16>>16>-1){continue}break}}function ySa(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,h=0,i=0,j=0,k=0,l=0,m=0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){qd(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Dd(a);a:{if(!v[a+12>>2]){break a}g=v[a+84>>2];v[a+1176>>2]=g;v[b+120>>2]=0;if(!v[b+60>>2]){break a}h=v[b+112>>2];i=v[a+88>>2];h=(h|0)<(i|0)?h:i;i=v[b+104>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((h|0)<(i|0)){break a}j=v[b+108>>2];k=(g|0)<(j|0)?j:g;g=v[b+116>>2];j=v[a+92>>2];if((k|0)>(((g|0)<(j|0)?g:j)|0)){break a}g=(h-i|0)+3|0;b:{if(g>>>0<=y[e+24>>2]){break b}h=v[e+20>>2];if(h){dc(h)}v[e+24>>2]=g;l=e,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[e+12>>2]){break b}h=v[e+8>>2];if(h){dc(h)}v[e+12>>2]=g;l=e,m=fc(g),v[l+8>>2]=m}v[e>>2]=2147483632;v[e+16>>2]=v[e+8>>2];g=v[e+20>>2];v[e+28>>2]=g;u[g+2>>1]=0;g=(v[a+88>>2]-v[a+80>>2]|0)+3|0;c:{if(g>>>0<=y[c+24>>2]){break c}h=v[c+20>>2];if(h){dc(h)}v[c+24>>2]=g;l=c,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[c+12>>2]){break c}h=v[c+8>>2];if(h){dc(h)}v[c+12>>2]=g;l=c,m=fc(g),v[l+8>>2]=m}v[c>>2]=2147483632;v[c+16>>2]=v[c+8>>2];g=v[c+20>>2];v[c+28>>2]=g;u[g+2>>1]=0;g=(v[b+112>>2]-v[b+104>>2]|0)+3|0;d:{if(g>>>0<=y[d+24>>2]){break d}h=v[d+20>>2];if(h){dc(h)}v[d+24>>2]=g;l=d,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[d+12>>2]){break d}h=v[d+8>>2];if(h){dc(h)}v[d+12>>2]=g;l=d,m=fc(g),v[l+8>>2]=m}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];g=v[d+20>>2];v[d+28>>2]=g;u[g+2>>1]=0;if(!Kc(a,c)){break a}if(!Pd(b,d)){break a}while(1){g=v[c+4>>2];h=v[d+4>>2];if((g|0)>=(h|0)){if((g|0)>(h|0)){while(1){if(!Pd(b,d)){break a}g=v[c+4>>2];h=v[d+4>>2];if((g|0)>(h|0)){continue}break}}if((g|0)!=(h|0)){continue}wf(c,d,e);if(v[e+28>>2]!=v[e+20>>2]){v[e+4>>2]=v[c+4>>2];ZX(e,v[f>>2],v[f+4>>2],v[f+8>>2])}if(!Kc(a,c)){break a}if(Pd(b,d)){continue}break a}if(Kc(a,c)){continue}break}}}function wSa(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,h=0,i=0,j=0,k=0,l=0,m=0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){qd(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Dd(a);a:{if(!v[a+12>>2]){break a}g=v[a+84>>2];v[a+1176>>2]=g;v[b+120>>2]=0;if(!v[b+60>>2]){break a}h=v[b+112>>2];i=v[a+88>>2];h=(h|0)<(i|0)?h:i;i=v[b+104>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((h|0)<(i|0)){break a}j=v[b+108>>2];k=(g|0)<(j|0)?j:g;g=v[b+116>>2];j=v[a+92>>2];if((k|0)>(((g|0)<(j|0)?g:j)|0)){break a}g=(h-i|0)+3|0;b:{if(g>>>0<=y[e+24>>2]){break b}h=v[e+20>>2];if(h){dc(h)}v[e+24>>2]=g;l=e,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[e+12>>2]){break b}h=v[e+8>>2];if(h){dc(h)}v[e+12>>2]=g;l=e,m=fc(g),v[l+8>>2]=m}v[e>>2]=2147483632;v[e+16>>2]=v[e+8>>2];g=v[e+20>>2];v[e+28>>2]=g;u[g+2>>1]=0;g=(v[a+88>>2]-v[a+80>>2]|0)+3|0;c:{if(g>>>0<=y[c+24>>2]){break c}h=v[c+20>>2];if(h){dc(h)}v[c+24>>2]=g;l=c,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[c+12>>2]){break c}h=v[c+8>>2];if(h){dc(h)}v[c+12>>2]=g;l=c,m=fc(g),v[l+8>>2]=m}v[c>>2]=2147483632;v[c+16>>2]=v[c+8>>2];g=v[c+20>>2];v[c+28>>2]=g;u[g+2>>1]=0;g=(v[b+112>>2]-v[b+104>>2]|0)+3|0;d:{if(g>>>0<=y[d+24>>2]){break d}h=v[d+20>>2];if(h){dc(h)}v[d+24>>2]=g;l=d,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[d+12>>2]){break d}h=v[d+8>>2];if(h){dc(h)}v[d+12>>2]=g;l=d,m=fc(g),v[l+8>>2]=m}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];g=v[d+20>>2];v[d+28>>2]=g;u[g+2>>1]=0;if(!Kc(a,c)){break a}if(!Pd(b,d)){break a}while(1){g=v[c+4>>2];h=v[d+4>>2];if((g|0)>=(h|0)){if((g|0)>(h|0)){while(1){if(!Pd(b,d)){break a}g=v[c+4>>2];h=v[d+4>>2];if((g|0)>(h|0)){continue}break}}if((g|0)!=(h|0)){continue}wf(c,d,e);if(v[e+28>>2]!=v[e+20>>2]){v[e+4>>2]=v[c+4>>2];XX(e,v[f>>2],v[f+4>>2],v[f+8>>2])}if(!Kc(a,c)){break a}if(Pd(b,d)){continue}break a}if(Kc(a,c)){continue}break}}}function uSa(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,h=0,i=0,j=0,k=0,l=0,m=0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){qd(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Dd(a);a:{if(!v[a+12>>2]){break a}g=v[a+84>>2];v[a+1176>>2]=g;v[b+120>>2]=0;if(!v[b+60>>2]){break a}h=v[b+112>>2];i=v[a+88>>2];h=(h|0)<(i|0)?h:i;i=v[b+104>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((h|0)<(i|0)){break a}j=v[b+108>>2];k=(g|0)<(j|0)?j:g;g=v[b+116>>2];j=v[a+92>>2];if((k|0)>(((g|0)<(j|0)?g:j)|0)){break a}g=(h-i|0)+3|0;b:{if(g>>>0<=y[e+24>>2]){break b}h=v[e+20>>2];if(h){dc(h)}v[e+24>>2]=g;l=e,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[e+12>>2]){break b}h=v[e+8>>2];if(h){dc(h)}v[e+12>>2]=g;l=e,m=fc(g),v[l+8>>2]=m}v[e>>2]=2147483632;v[e+16>>2]=v[e+8>>2];g=v[e+20>>2];v[e+28>>2]=g;u[g+2>>1]=0;g=(v[a+88>>2]-v[a+80>>2]|0)+3|0;c:{if(g>>>0<=y[c+24>>2]){break c}h=v[c+20>>2];if(h){dc(h)}v[c+24>>2]=g;l=c,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[c+12>>2]){break c}h=v[c+8>>2];if(h){dc(h)}v[c+12>>2]=g;l=c,m=fc(g),v[l+8>>2]=m}v[c>>2]=2147483632;v[c+16>>2]=v[c+8>>2];g=v[c+20>>2];v[c+28>>2]=g;u[g+2>>1]=0;g=(v[b+112>>2]-v[b+104>>2]|0)+3|0;d:{if(g>>>0<=y[d+24>>2]){break d}h=v[d+20>>2];if(h){dc(h)}v[d+24>>2]=g;l=d,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[d+12>>2]){break d}h=v[d+8>>2];if(h){dc(h)}v[d+12>>2]=g;l=d,m=fc(g),v[l+8>>2]=m}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];g=v[d+20>>2];v[d+28>>2]=g;u[g+2>>1]=0;if(!Kc(a,c)){break a}if(!Pd(b,d)){break a}while(1){g=v[c+4>>2];h=v[d+4>>2];if((g|0)>=(h|0)){if((g|0)>(h|0)){while(1){if(!Pd(b,d)){break a}g=v[c+4>>2];h=v[d+4>>2];if((g|0)>(h|0)){continue}break}}if((g|0)!=(h|0)){continue}wf(c,d,e);if(v[e+28>>2]!=v[e+20>>2]){v[e+4>>2]=v[c+4>>2];VX(e,v[f>>2],v[f+4>>2],v[f+8>>2])}if(!Kc(a,c)){break a}if(Pd(b,d)){continue}break a}if(Kc(a,c)){continue}break}}}function sSa(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,h=0,i=0,j=0,k=0,l=0,m=0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){qd(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Dd(a);a:{if(!v[a+12>>2]){break a}g=v[a+84>>2];v[a+1176>>2]=g;v[b+120>>2]=0;if(!v[b+60>>2]){break a}h=v[b+112>>2];i=v[a+88>>2];h=(h|0)<(i|0)?h:i;i=v[b+104>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((h|0)<(i|0)){break a}j=v[b+108>>2];k=(g|0)<(j|0)?j:g;g=v[b+116>>2];j=v[a+92>>2];if((k|0)>(((g|0)<(j|0)?g:j)|0)){break a}g=(h-i|0)+3|0;b:{if(g>>>0<=y[e+24>>2]){break b}h=v[e+20>>2];if(h){dc(h)}v[e+24>>2]=g;l=e,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[e+12>>2]){break b}h=v[e+8>>2];if(h){dc(h)}v[e+12>>2]=g;l=e,m=fc(g),v[l+8>>2]=m}v[e>>2]=2147483632;v[e+16>>2]=v[e+8>>2];g=v[e+20>>2];v[e+28>>2]=g;u[g+2>>1]=0;g=(v[a+88>>2]-v[a+80>>2]|0)+3|0;c:{if(g>>>0<=y[c+24>>2]){break c}h=v[c+20>>2];if(h){dc(h)}v[c+24>>2]=g;l=c,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[c+12>>2]){break c}h=v[c+8>>2];if(h){dc(h)}v[c+12>>2]=g;l=c,m=fc(g),v[l+8>>2]=m}v[c>>2]=2147483632;v[c+16>>2]=v[c+8>>2];g=v[c+20>>2];v[c+28>>2]=g;u[g+2>>1]=0;g=(v[b+112>>2]-v[b+104>>2]|0)+3|0;d:{if(g>>>0<=y[d+24>>2]){break d}h=v[d+20>>2];if(h){dc(h)}v[d+24>>2]=g;l=d,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[d+12>>2]){break d}h=v[d+8>>2];if(h){dc(h)}v[d+12>>2]=g;l=d,m=fc(g),v[l+8>>2]=m}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];g=v[d+20>>2];v[d+28>>2]=g;u[g+2>>1]=0;if(!Kc(a,c)){break a}if(!Pd(b,d)){break a}while(1){g=v[c+4>>2];h=v[d+4>>2];if((g|0)>=(h|0)){if((g|0)>(h|0)){while(1){if(!Pd(b,d)){break a}g=v[c+4>>2];h=v[d+4>>2];if((g|0)>(h|0)){continue}break}}if((g|0)!=(h|0)){continue}wf(c,d,e);if(v[e+28>>2]!=v[e+20>>2]){v[e+4>>2]=v[c+4>>2];TX(e,v[f>>2],v[f+4>>2],v[f+8>>2])}if(!Kc(a,c)){break a}if(Pd(b,d)){continue}break a}if(Kc(a,c)){continue}break}}}function jTa(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,h=0,i=0,j=0,k=0,l=0,m=0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){qd(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Dd(a);a:{if(!v[a+12>>2]){break a}g=v[a+84>>2];v[a+1176>>2]=g;v[b+120>>2]=0;if(!v[b+60>>2]){break a}h=v[b+112>>2];i=v[a+88>>2];h=(h|0)<(i|0)?h:i;i=v[b+104>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((h|0)<(i|0)){break a}j=v[b+108>>2];k=(g|0)<(j|0)?j:g;g=v[b+116>>2];j=v[a+92>>2];if((k|0)>(((g|0)<(j|0)?g:j)|0)){break a}g=(h-i|0)+3|0;b:{if(g>>>0<=y[e+24>>2]){break b}h=v[e+20>>2];if(h){dc(h)}v[e+24>>2]=g;l=e,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[e+12>>2]){break b}h=v[e+8>>2];if(h){dc(h)}v[e+12>>2]=g;l=e,m=fc(g),v[l+8>>2]=m}v[e>>2]=2147483632;v[e+16>>2]=v[e+8>>2];g=v[e+20>>2];v[e+28>>2]=g;u[g+2>>1]=0;g=(v[a+88>>2]-v[a+80>>2]|0)+3|0;c:{if(g>>>0<=y[c+24>>2]){break c}h=v[c+20>>2];if(h){dc(h)}v[c+24>>2]=g;l=c,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[c+12>>2]){break c}h=v[c+8>>2];if(h){dc(h)}v[c+12>>2]=g;l=c,m=fc(g),v[l+8>>2]=m}v[c>>2]=2147483632;v[c+16>>2]=v[c+8>>2];g=v[c+20>>2];v[c+28>>2]=g;u[g+2>>1]=0;g=(v[b+112>>2]-v[b+104>>2]|0)+3|0;d:{if(g>>>0<=y[d+24>>2]){break d}h=v[d+20>>2];if(h){dc(h)}v[d+24>>2]=g;l=d,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[d+12>>2]){break d}h=v[d+8>>2];if(h){dc(h)}v[d+12>>2]=g;l=d,m=fc(g),v[l+8>>2]=m}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];g=v[d+20>>2];v[d+28>>2]=g;u[g+2>>1]=0;if(!Kc(a,c)){break a}if(!Pd(b,d)){break a}while(1){g=v[c+4>>2];h=v[d+4>>2];if((g|0)>=(h|0)){if((g|0)>(h|0)){while(1){if(!Pd(b,d)){break a}g=v[c+4>>2];h=v[d+4>>2];if((g|0)>(h|0)){continue}break}}if((g|0)!=(h|0)){continue}wf(c,d,e);if(v[e+28>>2]!=v[e+20>>2]){v[e+4>>2]=v[c+4>>2];jY(e,v[f>>2],v[f+4>>2],v[f+8>>2])}if(!Kc(a,c)){break a}if(Pd(b,d)){continue}break a}if(Kc(a,c)){continue}break}}}function fTa(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,h=0,i=0,j=0,k=0,l=0,m=0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){qd(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Dd(a);a:{if(!v[a+12>>2]){break a}g=v[a+84>>2];v[a+1176>>2]=g;v[b+120>>2]=0;if(!v[b+60>>2]){break a}h=v[b+112>>2];i=v[a+88>>2];h=(h|0)<(i|0)?h:i;i=v[b+104>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((h|0)<(i|0)){break a}j=v[b+108>>2];k=(g|0)<(j|0)?j:g;g=v[b+116>>2];j=v[a+92>>2];if((k|0)>(((g|0)<(j|0)?g:j)|0)){break a}g=(h-i|0)+3|0;b:{if(g>>>0<=y[e+24>>2]){break b}h=v[e+20>>2];if(h){dc(h)}v[e+24>>2]=g;l=e,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[e+12>>2]){break b}h=v[e+8>>2];if(h){dc(h)}v[e+12>>2]=g;l=e,m=fc(g),v[l+8>>2]=m}v[e>>2]=2147483632;v[e+16>>2]=v[e+8>>2];g=v[e+20>>2];v[e+28>>2]=g;u[g+2>>1]=0;g=(v[a+88>>2]-v[a+80>>2]|0)+3|0;c:{if(g>>>0<=y[c+24>>2]){break c}h=v[c+20>>2];if(h){dc(h)}v[c+24>>2]=g;l=c,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[c+12>>2]){break c}h=v[c+8>>2];if(h){dc(h)}v[c+12>>2]=g;l=c,m=fc(g),v[l+8>>2]=m}v[c>>2]=2147483632;v[c+16>>2]=v[c+8>>2];g=v[c+20>>2];v[c+28>>2]=g;u[g+2>>1]=0;g=(v[b+112>>2]-v[b+104>>2]|0)+3|0;d:{if(g>>>0<=y[d+24>>2]){break d}h=v[d+20>>2];if(h){dc(h)}v[d+24>>2]=g;l=d,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[d+12>>2]){break d}h=v[d+8>>2];if(h){dc(h)}v[d+12>>2]=g;l=d,m=fc(g),v[l+8>>2]=m}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];g=v[d+20>>2];v[d+28>>2]=g;u[g+2>>1]=0;if(!Kc(a,c)){break a}if(!Pd(b,d)){break a}while(1){g=v[c+4>>2];h=v[d+4>>2];if((g|0)>=(h|0)){if((g|0)>(h|0)){while(1){if(!Pd(b,d)){break a}g=v[c+4>>2];h=v[d+4>>2];if((g|0)>(h|0)){continue}break}}if((g|0)!=(h|0)){continue}wf(c,d,e);if(v[e+28>>2]!=v[e+20>>2]){v[e+4>>2]=v[c+4>>2];hY(e,v[f>>2],v[f+4>>2],v[f+8>>2])}if(!Kc(a,c)){break a}if(Pd(b,d)){continue}break a}if(Kc(a,c)){continue}break}}}function cTa(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,h=0,i=0,j=0,k=0,l=0,m=0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){qd(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Dd(a);a:{if(!v[a+12>>2]){break a}g=v[a+84>>2];v[a+1176>>2]=g;v[b+120>>2]=0;if(!v[b+60>>2]){break a}h=v[b+112>>2];i=v[a+88>>2];h=(h|0)<(i|0)?h:i;i=v[b+104>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((h|0)<(i|0)){break a}j=v[b+108>>2];k=(g|0)<(j|0)?j:g;g=v[b+116>>2];j=v[a+92>>2];if((k|0)>(((g|0)<(j|0)?g:j)|0)){break a}g=(h-i|0)+3|0;b:{if(g>>>0<=y[e+24>>2]){break b}h=v[e+20>>2];if(h){dc(h)}v[e+24>>2]=g;l=e,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[e+12>>2]){break b}h=v[e+8>>2];if(h){dc(h)}v[e+12>>2]=g;l=e,m=fc(g),v[l+8>>2]=m}v[e>>2]=2147483632;v[e+16>>2]=v[e+8>>2];g=v[e+20>>2];v[e+28>>2]=g;u[g+2>>1]=0;g=(v[a+88>>2]-v[a+80>>2]|0)+3|0;c:{if(g>>>0<=y[c+24>>2]){break c}h=v[c+20>>2];if(h){dc(h)}v[c+24>>2]=g;l=c,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[c+12>>2]){break c}h=v[c+8>>2];if(h){dc(h)}v[c+12>>2]=g;l=c,m=fc(g),v[l+8>>2]=m}v[c>>2]=2147483632;v[c+16>>2]=v[c+8>>2];g=v[c+20>>2];v[c+28>>2]=g;u[g+2>>1]=0;g=(v[b+112>>2]-v[b+104>>2]|0)+3|0;d:{if(g>>>0<=y[d+24>>2]){break d}h=v[d+20>>2];if(h){dc(h)}v[d+24>>2]=g;l=d,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[d+12>>2]){break d}h=v[d+8>>2];if(h){dc(h)}v[d+12>>2]=g;l=d,m=fc(g),v[l+8>>2]=m}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];g=v[d+20>>2];v[d+28>>2]=g;u[g+2>>1]=0;if(!Kc(a,c)){break a}if(!Pd(b,d)){break a}while(1){g=v[c+4>>2];h=v[d+4>>2];if((g|0)>=(h|0)){if((g|0)>(h|0)){while(1){if(!Pd(b,d)){break a}g=v[c+4>>2];h=v[d+4>>2];if((g|0)>(h|0)){continue}break}}if((g|0)!=(h|0)){continue}wf(c,d,e);if(v[e+28>>2]!=v[e+20>>2]){v[e+4>>2]=v[c+4>>2];fY(e,v[f>>2],v[f+4>>2],v[f+8>>2])}if(!Kc(a,c)){break a}if(Pd(b,d)){continue}break a}if(Kc(a,c)){continue}break}}}function GSa(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,h=0,i=0,j=0,k=0,l=0,m=0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){qd(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Dd(a);a:{if(!v[a+12>>2]){break a}g=v[a+84>>2];v[a+1176>>2]=g;v[b+120>>2]=0;if(!v[b+60>>2]){break a}h=v[b+112>>2];i=v[a+88>>2];h=(h|0)<(i|0)?h:i;i=v[b+104>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((h|0)<(i|0)){break a}j=v[b+108>>2];k=(g|0)<(j|0)?j:g;g=v[b+116>>2];j=v[a+92>>2];if((k|0)>(((g|0)<(j|0)?g:j)|0)){break a}g=(h-i|0)+3|0;b:{if(g>>>0<=y[e+24>>2]){break b}h=v[e+20>>2];if(h){dc(h)}v[e+24>>2]=g;l=e,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[e+12>>2]){break b}h=v[e+8>>2];if(h){dc(h)}v[e+12>>2]=g;l=e,m=fc(g),v[l+8>>2]=m}v[e>>2]=2147483632;v[e+16>>2]=v[e+8>>2];g=v[e+20>>2];v[e+28>>2]=g;u[g+2>>1]=0;g=(v[a+88>>2]-v[a+80>>2]|0)+3|0;c:{if(g>>>0<=y[c+24>>2]){break c}h=v[c+20>>2];if(h){dc(h)}v[c+24>>2]=g;l=c,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[c+12>>2]){break c}h=v[c+8>>2];if(h){dc(h)}v[c+12>>2]=g;l=c,m=fc(g),v[l+8>>2]=m}v[c>>2]=2147483632;v[c+16>>2]=v[c+8>>2];g=v[c+20>>2];v[c+28>>2]=g;u[g+2>>1]=0;g=(v[b+112>>2]-v[b+104>>2]|0)+3|0;d:{if(g>>>0<=y[d+24>>2]){break d}h=v[d+20>>2];if(h){dc(h)}v[d+24>>2]=g;l=d,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[d+12>>2]){break d}h=v[d+8>>2];if(h){dc(h)}v[d+12>>2]=g;l=d,m=fc(g),v[l+8>>2]=m}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];g=v[d+20>>2];v[d+28>>2]=g;u[g+2>>1]=0;if(!Kc(a,c)){break a}if(!Pd(b,d)){break a}while(1){g=v[c+4>>2];h=v[d+4>>2];if((g|0)>=(h|0)){if((g|0)>(h|0)){while(1){if(!Pd(b,d)){break a}g=v[c+4>>2];h=v[d+4>>2];if((g|0)>(h|0)){continue}break}}if((g|0)!=(h|0)){continue}wf(c,d,e);if(v[e+28>>2]!=v[e+20>>2]){v[e+4>>2]=v[c+4>>2];dY(e,v[f>>2],v[f+4>>2],v[f+8>>2])}if(!Kc(a,c)){break a}if(Pd(b,d)){continue}break a}if(Kc(a,c)){continue}break}}}function DSa(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,h=0,i=0,j=0,k=0,l=0,m=0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){qd(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Dd(a);a:{if(!v[a+12>>2]){break a}g=v[a+84>>2];v[a+1176>>2]=g;v[b+120>>2]=0;if(!v[b+60>>2]){break a}h=v[b+112>>2];i=v[a+88>>2];h=(h|0)<(i|0)?h:i;i=v[b+104>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((h|0)<(i|0)){break a}j=v[b+108>>2];k=(g|0)<(j|0)?j:g;g=v[b+116>>2];j=v[a+92>>2];if((k|0)>(((g|0)<(j|0)?g:j)|0)){break a}g=(h-i|0)+3|0;b:{if(g>>>0<=y[e+24>>2]){break b}h=v[e+20>>2];if(h){dc(h)}v[e+24>>2]=g;l=e,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[e+12>>2]){break b}h=v[e+8>>2];if(h){dc(h)}v[e+12>>2]=g;l=e,m=fc(g),v[l+8>>2]=m}v[e>>2]=2147483632;v[e+16>>2]=v[e+8>>2];g=v[e+20>>2];v[e+28>>2]=g;u[g+2>>1]=0;g=(v[a+88>>2]-v[a+80>>2]|0)+3|0;c:{if(g>>>0<=y[c+24>>2]){break c}h=v[c+20>>2];if(h){dc(h)}v[c+24>>2]=g;l=c,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[c+12>>2]){break c}h=v[c+8>>2];if(h){dc(h)}v[c+12>>2]=g;l=c,m=fc(g),v[l+8>>2]=m}v[c>>2]=2147483632;v[c+16>>2]=v[c+8>>2];g=v[c+20>>2];v[c+28>>2]=g;u[g+2>>1]=0;g=(v[b+112>>2]-v[b+104>>2]|0)+3|0;d:{if(g>>>0<=y[d+24>>2]){break d}h=v[d+20>>2];if(h){dc(h)}v[d+24>>2]=g;l=d,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[d+12>>2]){break d}h=v[d+8>>2];if(h){dc(h)}v[d+12>>2]=g;l=d,m=fc(g),v[l+8>>2]=m}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];g=v[d+20>>2];v[d+28>>2]=g;u[g+2>>1]=0;if(!Kc(a,c)){break a}if(!Pd(b,d)){break a}while(1){g=v[c+4>>2];h=v[d+4>>2];if((g|0)>=(h|0)){if((g|0)>(h|0)){while(1){if(!Pd(b,d)){break a}g=v[c+4>>2];h=v[d+4>>2];if((g|0)>(h|0)){continue}break}}if((g|0)!=(h|0)){continue}wf(c,d,e);if(v[e+28>>2]!=v[e+20>>2]){v[e+4>>2]=v[c+4>>2];bY(e,v[f>>2],v[f+4>>2],v[f+8>>2])}if(!Kc(a,c)){break a}if(Pd(b,d)){continue}break a}if(Kc(a,c)){continue}break}}}function BSa(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,h=0,i=0,j=0,k=0,l=0,m=0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){qd(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Dd(a);a:{if(!v[a+12>>2]){break a}g=v[a+84>>2];v[a+1176>>2]=g;v[b+120>>2]=0;if(!v[b+60>>2]){break a}h=v[b+112>>2];i=v[a+88>>2];h=(h|0)<(i|0)?h:i;i=v[b+104>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((h|0)<(i|0)){break a}j=v[b+108>>2];k=(g|0)<(j|0)?j:g;g=v[b+116>>2];j=v[a+92>>2];if((k|0)>(((g|0)<(j|0)?g:j)|0)){break a}g=(h-i|0)+3|0;b:{if(g>>>0<=y[e+24>>2]){break b}h=v[e+20>>2];if(h){dc(h)}v[e+24>>2]=g;l=e,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[e+12>>2]){break b}h=v[e+8>>2];if(h){dc(h)}v[e+12>>2]=g;l=e,m=fc(g),v[l+8>>2]=m}v[e>>2]=2147483632;v[e+16>>2]=v[e+8>>2];g=v[e+20>>2];v[e+28>>2]=g;u[g+2>>1]=0;g=(v[a+88>>2]-v[a+80>>2]|0)+3|0;c:{if(g>>>0<=y[c+24>>2]){break c}h=v[c+20>>2];if(h){dc(h)}v[c+24>>2]=g;l=c,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[c+12>>2]){break c}h=v[c+8>>2];if(h){dc(h)}v[c+12>>2]=g;l=c,m=fc(g),v[l+8>>2]=m}v[c>>2]=2147483632;v[c+16>>2]=v[c+8>>2];g=v[c+20>>2];v[c+28>>2]=g;u[g+2>>1]=0;g=(v[b+112>>2]-v[b+104>>2]|0)+3|0;d:{if(g>>>0<=y[d+24>>2]){break d}h=v[d+20>>2];if(h){dc(h)}v[d+24>>2]=g;l=d,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[d+12>>2]){break d}h=v[d+8>>2];if(h){dc(h)}v[d+12>>2]=g;l=d,m=fc(g),v[l+8>>2]=m}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];g=v[d+20>>2];v[d+28>>2]=g;u[g+2>>1]=0;if(!Kc(a,c)){break a}if(!Pd(b,d)){break a}while(1){g=v[c+4>>2];h=v[d+4>>2];if((g|0)>=(h|0)){if((g|0)>(h|0)){while(1){if(!Pd(b,d)){break a}g=v[c+4>>2];h=v[d+4>>2];if((g|0)>(h|0)){continue}break}}if((g|0)!=(h|0)){continue}wf(c,d,e);if(v[e+28>>2]!=v[e+20>>2]){v[e+4>>2]=v[c+4>>2];$X(e,v[f>>2],v[f+4>>2],v[f+8>>2])}if(!Kc(a,c)){break a}if(Pd(b,d)){continue}break a}if(Kc(a,c)){continue}break}}}function Xoa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=Qb-16|0;Qb=e;v[a>>2]=0;a:{b:{c:{d:{e:{f=v[b+8>>2];f:{if(!f){break f}if(d){g:{h:{while(1){i:{b=0;d=v[f+8>>2];if(d){v[299999]=0;v[d+4>>2]=v[d+4>>2]+1;b=v[299999];v[299999]=0;if((b|0)==1){break i}b=v[f+8>>2]}v[e+8>>2]=b;if(v[b+8>>2]==4){v[299999]=0;V(4651,e|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break e}v[299999]=0;b=Nc(e,c,-1);d=v[299999];v[299999]=0;if((d|0)==1){break h}ec(e);if(!b){v[299999]=0;Q(4344,a|0,e+8|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break g}}b=v[e+8>>2]}v[e+8>>2]=0;j:{if(!b){break j}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;g=v[299999];v[299999]=0;if((g|0)==1){break a}if(d){break j}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}f=v[f>>2];if(f){continue}break f}break}b=P()|0;O()|0;break b}b=P()|0;O()|0;ec(e);break d}b=P()|0;O()|0;break d}while(1){b=0;d=v[f+8>>2];if(d){v[299999]=0;v[d+4>>2]=v[d+4>>2]+1;b=v[299999];v[299999]=0;if((b|0)==1){break c}b=v[f+8>>2]}v[e+8>>2]=b;k:{if(v[b+8>>2]!=4){break k}v[299999]=0;V(4651,e|0,b|0);d=v[299999];v[299999]=0;l:{m:{if((d|0)!=1){v[299999]=0;d=Nc(e,c,-1);g=v[299999];v[299999]=0;if((g|0)==1){break m}ec(e);if(d){break k}v[299999]=0;Q(4344,a|0,e+8|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break l}b=P()|0;O()|0;break d}b=P()|0;O()|0;break d}b=P()|0;O()|0;ec(e);break d}a=v[e+8>>2];v[e+8>>2]=0;if(!a){break f}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break f}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break f}}break a}v[299999]=0;v[e+8>>2]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;g=v[299999];v[299999]=0;if((g|0)==1){break a}if(!d){v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}f=v[f>>2];if(f){continue}break}}Qb=e+16|0;return}b=P()|0;O()|0}ec(e+8|0);break b}b=P()|0;O()|0}ec(a);T(b|0);L()}W(0)|0;O()|0;lc();L()}function _ua(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=v[v[a+4>>2]+12>>2];a=jc(1e3);v[a>>2]=0;g=v[e>>2];k=v[e+4>>2];a:{if((g|0)==(k|0)){f=4;break a}c=a+4|0;f=4;d=1e3;while(1){b=v[g+4>>2];b:{c:{d:{e:{f:{g:{if(!a){f=0;d=1e3;i=jc(1e3);a=i;break g}h=f+4|0;if(h>>>0<=d>>>0){t[c|0]=b;t[c+1|0]=b>>>8;t[c+2|0]=b>>>16;t[c+3|0]=b>>>24;c=c+4|0;b=v[g>>2];break f}while(1){d=d<<1;if(h>>>0>d>>>0){continue}break}e=be(a,d);if(e){a=e+f|0;t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;c=a+4|0;b=v[g>>2];a=e;break f}i=jc(d);e=gc(i,a,f);dc(a);a=e+f|0}t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;b=v[g>>2];if(!i){break e}h=f+4|0;c=a+4|0;a=i}h:{i:{f=f+8|0;j:{if(f>>>0<=d>>>0){e=a;break j}while(1){d=d<<1;if(f>>>0>d>>>0){continue}break}e=be(a,d);if(!e){break i}c=e+h|0}t[c|0]=b;t[c+1|0]=b>>>8;t[c+2|0]=b>>>16;t[c+3|0]=b>>>24;j=A[g+8>>3]*100;if(!(j<4294967296&j>=0)){break h}b=~~j>>>0;break c}e=jc(d);c=gc(e,a,h);dc(a);c=c+h|0;break d}b=0;break c}h=0;d=1e3;e=jc(1e3);c=e}t[c|0]=b;t[c+1|0]=b>>>8;t[c+2|0]=b>>>16;t[c+3|0]=b>>>24;j=A[g+8>>3]*100;k:{if(j<4294967296&j>=0){b=~~j>>>0;break k}b=0}if(e){f=h+4|0;break c}f=0;d=1e3;a=jc(1e3);e=a;break b}a=f+4|0;if(a>>>0<=d>>>0){a=c+4|0;break b}while(1){d=d<<1;if(a>>>0>d>>>0){continue}break}c=be(e,d);if(c){a=c+f|0;e=c;break b}c=gc(jc(d),e,f);dc(e);a=c+f|0;e=c}t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;c=w[g+27|0];b=c<<24>>24<0;c=b?v[g+20>>2]:c;h=c+4|0;l=b?v[g+16>>2]:g+16|0;l:{if(!e){i=0;d=h>>>0>1e3?h:1e3;b=jc(d);a=b;break l}i=f+4|0;b=h+i|0;if(b>>>0<=d>>>0){b=a+4|0;a=e;break l}while(1){d=d<<1;if(b>>>0>d>>>0){continue}break}a=be(e,d);if(!a){a=jc(d);gc(a,e,i);dc(e)}b=a+i|0}t[b|0]=c;t[b+1|0]=c>>>8;t[b+2|0]=c>>>16;t[b+3|0]=c>>>24;f=h+i|0;c=gc(b+4|0,l,c)+c|0;g=g+40|0;if((k|0)!=(g|0)){continue}break}}t[a|0]=f;t[a+1|0]=f>>>8;t[a+2|0]=f>>>16;t[a+3|0]=f>>>24;return a|0}function Zla(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=Qb-48|0;Qb=d;e=Qb-32|0;Qb=e;a:{b:{c:{d:{e:{if((c|0)<=-1){v[299999]=0;a=aa(4369,e+8|0,283473,241219,185,225745,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break e}break d}f=v[b+68>>2];g=v[b- -64>>2];if(((f-g|0)+1|0)<=(c|0)){v[299999]=0;a=aa(4369,e+8|0,283494,241219,187,225745,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break e}break d}if(!((c|0)<=(f|0)&(c|0)>=(g|0))){a=vc(e+8|0,227445,271729,632,307914,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break e}break d}f=v[b+52>>2];g=v[b+56>>2];v[d>>2]=0;v[d+4>>2]=v[282402];c=v[f+(c-g<<3)>>2];f:{if(c){f=v[v[c>>2]+28>>2];v[299999]=0;U(f|0,e+8|0,c|0,1);c=v[299999];v[299999]=0;if((c|0)!=1){break f}a=P()|0;O()|0;break c}v[e+8>>2]=0}v[299999]=0;Q(4344,d|0,e+8|0)|0;c=v[299999];v[299999]=0;g:{if((c|0)!=1){c=v[e+8>>2];v[e+8>>2]=0;if(!c){break g}v[299999]=0;f=v[c+4>>2]-1|0;v[c+4>>2]=f;g=v[299999];v[299999]=0;if((g|0)!=1){if(f){break g}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)!=1){break g}}W(0)|0;O()|0;lc();L()}a=P()|0;O()|0;ec(e+8|0);break c}c=v[d>>2];v[d+4>>2]=v[(c?c+12|0:1129608)>>2];Qb=e+32|0;break a}L()}b=P()|0;O()|0;qc(a);T(b|0);L()}ec(d);T(a|0);L()}a=P()|0;O()|0;T(a|0);L()}v[299999]=0;b=Y(4612,d+8|0,d|0,b+12|0)|0;c=v[299999];v[299999]=0;h:{i:{if((c|0)!=1){v[299999]=0;Q(4342,a|0,b|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break i}v[b+24>>2]=981312;v[b>>2]=981280;a=v[b+28>>2];if(a){c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(!c){Ub[v[v[a>>2]+4>>2]](a)}v[b+28>>2]=0}v[b+16>>2]=981312;a=v[b+20>>2];if(a){c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(!c){Ub[v[v[a>>2]+4>>2]](a)}v[b+20>>2]=0}ec(b+8|0);ec(d);Qb=d+48|0;return}c=P()|0;O()|0;break h}c=P()|0;O()|0;$c(b)}ec(d);T(c|0);L()}function YLa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;k=Qb-16|0;Qb=k;j=v[a+16>>2];i=v[a+4>>2];d=v[i+8>>2];m=v[a+12>>2];f=v[a+8>>2];t[k+14|0]=0;t[k+15|0]=0;a:{if(f>>>0>=m>>>0){break a}b:while(1){if(y[a+20>>2]>j>>>0){g=v[i+48>>2];while(1){c=f;f=c+1|0;e=w[c|0];h=e<<24>>24;c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{if((g|0)!=126){r:{if(w[d+13|0]){l=v[i+44>>2];if(l){break q}if((h|0)==126){break r}v[i+44>>2]=e|256;t[d+15|0]=0;break c}if((h|0)!=126){break p}}g=126;v[i+48>>2]=126;break c}g=0;v[i+48>>2]=0;s:{switch(e-123|0){case 1:break l;case 3:break o;case 0:case 2:break s;default:break m}}t[d+13|0]=(h|0)==123;if(w[d+15|0]){break n}t[d+15|0]=1;break c}g=h-33|0;if((g&255)>>>0<94&(l+223&255)>>>0<=92){break j}v[i+44>>2]=0;d=l&255;if((g&255)>>>0>=94){break k}f=c;e=d;break e}t[d+15|0]=0;if((h|0)<=-1){break e}break i}c=v[a+24>>2];if(c){v[c+(j-v[a+16>>2]<<1)>>2]=(f-v[a+8>>2]|0)-2}u[j>>1]=126;t[d+15|0]=0;break f}t[d+15|0]=0;v[b>>2]=18;b=v[a+4>>2];t[b+37|0]=126;v[b+256>>2]=2;t[v[a+4>>2]+38|0]=h;t[v[a+4>>2]+36|0]=2;break a}if((e|0)==10){break c}}t[d+15|0]=0;v[b>>2]=18;t[v[a+4>>2]+37|0]=126;t:{u:{if(w[d+13|0]){g=1;if((h-33&255)>>>0>=94){break u}break t}g=1;if((h|0)>-1){break t}}t[v[a+4>>2]+38|0]=h;g=2;c=f}t[v[a+4>>2]+36|0]=g;f=c;break a}e=d<<8|e|65536;c=12;break g}t[k+15|0]=h^128;t[k+14|0]=l^128;c=em(v[v[d>>2]+24>>2],k+14|0,2);i=v[a+4>>2];v[i+44>>2]=0;if((c|0)>65533){break h}e=c}c=v[a+24>>2];if(c){v[c+(j-v[a+16>>2]<<1)>>2]=((v[a+8>>2]^-1)+f|0)-t[d+13|0]}u[j>>1]=e;break f}e=l<<8&65280|e;c=(c|0)==65534?10:12}v[b>>2]=c;if((e|0)<256){break d}t[v[a+4>>2]+37|0]=e>>>8;t[v[a+4>>2]+38|0]=e;t[v[a+4>>2]+36|0]=2;break a}j=j+2|0;if(f>>>0>>0){continue b}break a}v[b>>2]=12}t[v[a+4>>2]+37|0]=e;t[v[a+4>>2]+36|0]=1;break a}if(f>>>0>>0){continue}break}break a}break}v[b>>2]=15}v[a+8>>2]=f;v[a+16>>2]=j;Qb=k+16|0}function AE(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=Qb-16|0;a:{if(!b){break a}l=b-2|0;while(1){c=g;while(1){i=(c<<4)+a|0;if(!v[i+4>>2]){c=c+1|0;if((c|0)!=(b|0)){continue}break a}break}if((b|0)==(c|0)){break a}j=g^-1;e=c+1|0;b:{if(e>>>0>=b>>>0){d=c;break b}c:{if(!((c^-1)+b&1)){d=c;break c}d=c;f=v[((e<<4)+a|0)+4>>2];if(f){d=f>>>0>2]?e:c}e=c+2|0}if((c|0)==(l|0)){break b}while(1){c=v[((e<<4)+a|0)+4>>2];if(c){d=c>>>0>2]?e:d}f=e+1|0;c=v[((f<<4)+a|0)+4>>2];if(c){d=c>>>0>2]?f:d}e=e+2|0;if((e|0)!=(b|0)){continue}break}}if((d|0)!=(g|0)){f=(d<<4)+a|0;c=v[f+12>>2];v[k+8>>2]=v[f+8>>2];v[k+12>>2]=c;c=v[f+4>>2];v[k>>2]=v[f>>2];v[k+4>>2]=c;d:{if(d>>>0<=g>>>0){break d}i=d+j|0;c=d-g&3;if(c){while(1){e=(d<<4)+a|0;d=d-1|0;h=(d<<4)+a|0;f=v[h+4>>2];v[e>>2]=v[h>>2];v[e+4>>2]=f;f=v[h+12>>2];v[e+8>>2]=v[h+8>>2];v[e+12>>2]=f;c=c-1|0;if(c){continue}break}}if(i>>>0<3){break d}while(1){i=(d<<4)+a|0;h=i-16|0;c=v[h+4>>2];v[i>>2]=v[h>>2];v[i+4>>2]=c;e=i-32|0;c=v[e+4>>2];v[h>>2]=v[e>>2];v[h+4>>2]=c;j=i-48|0;f=j;c=v[f+4>>2];v[e>>2]=v[f>>2];v[e+4>>2]=c;c=v[h+12>>2];v[i+8>>2]=v[h+8>>2];v[i+12>>2]=c;c=v[e+12>>2];v[h+8>>2]=v[e+8>>2];v[h+12>>2]=c;c=v[f+12>>2];v[e+8>>2]=v[f+8>>2];v[e+12>>2]=c;d=d-4|0;f=(d<<4)+a|0;c=v[f+4>>2];v[j>>2]=v[f>>2];v[j+4>>2]=c;c=v[f+12>>2];v[j+8>>2]=v[f+8>>2];v[j+12>>2]=c;if(d>>>0>g>>>0){continue}break}}c=v[k+4>>2];d=(g<<4)+a|0;v[d>>2]=v[k>>2];v[d+4>>2]=c;c=v[k+12>>2];v[d+8>>2]=v[k+8>>2];v[d+12>>2]=c}g=g+1|0;if((g|0)!=(b|0)){continue}break}g=b}c=(b<<4)+a|0;b=v[c+4>>2];d=(g<<4)+a|0;v[d>>2]=v[c>>2];v[d+4>>2]=b;b=v[c+12>>2];v[d+8>>2]=v[c+8>>2];v[d+12>>2]=b;e:{if(v[a+8>>2]==-1){break e}v[a+12>>2]=0;if(v[a+24>>2]==-1){break e}d=v[a+4>>2];b=1;c=1;while(1){j=b;b=(c<<4)+a|0;g=v[b+4>>2];d=j<>2]=d;b=d+1|0;d=g;c=c+1|0;if(v[((c<<4)+a|0)+8>>2]!=-1){continue}break}}}function sTa(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,h=0,i=0,j=0,k=0,l=0,m=0;if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){qd(a+100|0,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}Dd(a);a:{if(!v[a+12>>2]){break a}g=v[a+84>>2];v[a+1176>>2]=g;v[b+120>>2]=0;if(!v[b+60>>2]){break a}h=v[b+112>>2];i=v[a+88>>2];h=(h|0)<(i|0)?h:i;i=v[b+104>>2];j=v[a+80>>2];i=(i|0)>(j|0)?i:j;if((h|0)<(i|0)){break a}j=v[b+108>>2];k=(g|0)<(j|0)?j:g;g=v[b+116>>2];j=v[a+92>>2];if((k|0)>(((g|0)<(j|0)?g:j)|0)){break a}g=(h-i|0)+3|0;b:{if(g>>>0<=y[e+24>>2]){break b}h=v[e+20>>2];if(h){dc(h)}v[e+24>>2]=g;l=e,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[e+12>>2]){break b}h=v[e+8>>2];if(h){dc(h)}v[e+12>>2]=g;l=e,m=fc(g),v[l+8>>2]=m}v[e>>2]=2147483632;v[e+16>>2]=v[e+8>>2];g=v[e+20>>2];v[e+28>>2]=g;u[g+2>>1]=0;g=(v[a+88>>2]-v[a+80>>2]|0)+3|0;c:{if(g>>>0<=y[c+24>>2]){break c}h=v[c+20>>2];if(h){dc(h)}v[c+24>>2]=g;l=c,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[c+12>>2]){break c}h=v[c+8>>2];if(h){dc(h)}v[c+12>>2]=g;l=c,m=fc(g),v[l+8>>2]=m}v[c>>2]=2147483632;v[c+16>>2]=v[c+8>>2];g=v[c+20>>2];v[c+28>>2]=g;u[g+2>>1]=0;g=(v[b+112>>2]-v[b+104>>2]|0)+3|0;d:{if(g>>>0<=y[d+24>>2]){break d}h=v[d+20>>2];if(h){dc(h)}v[d+24>>2]=g;l=d,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[d+12>>2]){break d}h=v[d+8>>2];if(h){dc(h)}v[d+12>>2]=g;l=d,m=fc(g),v[l+8>>2]=m}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];g=v[d+20>>2];v[d+28>>2]=g;u[g+2>>1]=0;if(!Kc(a,c)){break a}if(!Pd(b,d)){break a}i=f+4|0;while(1){g=v[c+4>>2];h=v[d+4>>2];if((g|0)>=(h|0)){if((g|0)>(h|0)){while(1){if(!Pd(b,d)){break a}g=v[c+4>>2];h=v[d+4>>2];if((g|0)>(h|0)){continue}break}}if((g|0)!=(h|0)){continue}wf(c,d,e);if(v[e+28>>2]!=v[e+20>>2]){v[e+4>>2]=v[c+4>>2];Fz(e,v[f>>2],i)}if(!Kc(a,c)){break a}if(Pd(b,d)){continue}break a}if(Kc(a,c)){continue}break}}}function SSa(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,h=0,i=0,j=0,k=0,l=0,m=0;v[a+120>>2]=0;a:{if(!v[a+60>>2]){break a}if(!(!w[b+1160|0]|v[b+1172>>2]!=2)){qd(b+100|0,b,v[b+1164>>2],v[b+1168>>2]);v[b+1172>>2]=3}Dd(b);if(!v[b+12>>2]){break a}g=v[b+84>>2];v[b+1176>>2]=g;h=v[b+88>>2];i=v[a+112>>2];h=(h|0)<(i|0)?h:i;i=v[b+80>>2];j=v[a+104>>2];i=(i|0)>(j|0)?i:j;if((h|0)<(i|0)){break a}j=v[a+108>>2];k=(g|0)>(j|0)?g:j;g=v[b+92>>2];j=v[a+116>>2];if((k|0)>(((g|0)<(j|0)?g:j)|0)){break a}g=(h-i|0)+3|0;b:{if(g>>>0<=y[e+24>>2]){break b}h=v[e+20>>2];if(h){dc(h)}v[e+24>>2]=g;l=e,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[e+12>>2]){break b}h=v[e+8>>2];if(h){dc(h)}v[e+12>>2]=g;l=e,m=fc(g),v[l+8>>2]=m}v[e>>2]=2147483632;v[e+16>>2]=v[e+8>>2];g=v[e+20>>2];v[e+28>>2]=g;u[g+2>>1]=0;g=(v[a+112>>2]-v[a+104>>2]|0)+3|0;c:{if(g>>>0<=y[c+24>>2]){break c}h=v[c+20>>2];if(h){dc(h)}v[c+24>>2]=g;l=c,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[c+12>>2]){break c}h=v[c+8>>2];if(h){dc(h)}v[c+12>>2]=g;l=c,m=fc(g),v[l+8>>2]=m}v[c>>2]=2147483632;v[c+16>>2]=v[c+8>>2];g=v[c+20>>2];v[c+28>>2]=g;u[g+2>>1]=0;g=(v[b+88>>2]-v[b+80>>2]|0)+3|0;d:{if(g>>>0<=y[d+24>>2]){break d}h=v[d+20>>2];if(h){dc(h)}v[d+24>>2]=g;l=d,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[d+12>>2]){break d}h=v[d+8>>2];if(h){dc(h)}v[d+12>>2]=g;l=d,m=fc(g),v[l+8>>2]=m}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];g=v[d+20>>2];v[d+28>>2]=g;u[g+2>>1]=0;if(!Pd(a,c)){break a}if(!Kc(b,d)){break a}i=f+4|0;while(1){g=v[c+4>>2];h=v[d+4>>2];if((g|0)>=(h|0)){if((g|0)>(h|0)){while(1){if(!Kc(b,d)){break a}g=v[c+4>>2];h=v[d+4>>2];if((g|0)>(h|0)){continue}break}}if((g|0)!=(h|0)){continue}wf(c,d,e);if(v[e+28>>2]!=v[e+20>>2]){v[e+4>>2]=v[c+4>>2];Fz(e,v[f>>2],i)}if(!Pd(a,c)){break a}if(Kc(b,d)){continue}break a}if(Pd(a,c)){continue}break}}}function Wia(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0;o=Qb-32|0;Qb=o;e=c-1|0;g=(e+x[b+8>>1]>>>0)/(c>>>0)|0;e=(e+x[b+10>>1]>>>0)/(c>>>0)|0;a:{if(!d){break a}h=v[d>>2];b:{if((h|0)<0){break b}i=v[d+4>>2];if((i|0)<0){break b}f=e;e=v[d+8>>2];if((f|0)<(e|0)){break b}f=g;g=v[d+12>>2];if((f|0)>=(g|0)){break a}}a=vc(o+8|0,329995,241480,879,341001,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)==1){b=P()|0;O()|0;qc(a);T(b|0);L()}L()}if(!w[1180080]){t[1180080]=1;d=1;while(1){v[(d<<2)+1179056>>2]=65536/(d>>>0);f=d+1|0;v[(f<<2)+1179056>>2]=65536/(f>>>0);f=d+2|0;v[(f<<2)+1179056>>2]=65536/(f>>>0);d=d+3|0;if((d|0)!=256){continue}break}}d=v[a+20>>2];if(d){dc(d)}v[a+16>>2]=0;v[a+20>>2]=0;d=e-h|0;u[a+12>>1]=d;u[a+10>>1]=d;e=g-i|0;u[a+8>>1]=e;l=d&65535;m=e&65535;d=B(l,m);if(d){j=fc((K=-1,M=Bib(d,0,3,0),N=Tb,N?K:M));v[a+16>>2]=j;v[a+20>>2]=j}if(!(!m|!l)){H=m?j:0;I=B(c,h);f=B(c,i);p=x[b+12>>1];q=x[b+8>>1];r=(f|0)>-1?(q|0)>(f|0)?v[b+16>>2]+B(B(f,p),3)|0:0:0;D=B(l,3);E=x[b+10>>1];J=B(B(c,p),3);while(1){n=0;e=I;s=c+f|0;F=(q|0)<(s|0)?q:s;c:{if((F|0)<=(f|0)){ic(B(B(l,y),3)+H|0,0,D);break c}while(1){a=0;d=0;g=0;k=0;z=f;A=r;b=0;h=0;i=0;d:{e:{C=c+e|0;G=(E|0)<(C|0)?E:C;if((G|0)<=(e|0)){break e}while(1){d=e;while(1){g=a;a=a+1|0;k=B(d,3)+A|0;b=w[k|0]+b|0;h=w[k+1|0]+h|0;i=w[k+2|0]+i|0;d=d+1|0;if((G|0)>(d|0)){continue}break}A=B(p,3)+A|0;z=z+1|0;if((F|0)>(z|0)){continue}break}if((g|0)<=254){d=b;g=h;k=i;break e}d=(b|0)/(a|0)|0;b=(h|0)/(a|0)|0;a=(i|0)/(a|0)|0;break d}a=v[(a<<2)+1179056>>2];d=B(a,d)+32768>>>16|0;b=B(a,g)+32768>>>16|0;a=B(a,k)+32768>>>16|0}e=B(n,3)+j|0;t[e+1|0]=b;t[e+2|0]=a;t[e|0]=d;e=C;n=n+1|0;if((n|0)!=(l|0)){continue}break}}j=j+D|0;r=r+J|0;f=s;y=y+1|0;if((y|0)!=(m|0)){continue}break}}Qb=o+32|0}function WU(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;if(!b){return-1}e=v[b>>2];a:{if(!a){while(1){a=w[e|0];c=a-48|0;b:{if(((a&223)-65&255)>>>0<26|(c&255)>>>0<10){break b}c:{switch(a-33|0){case 0:case 3:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 25:case 26:case 28:case 30:case 31:case 58:case 60:case 62:case 93:break b;case 4:break c;default:break a}}d:{c=w[e+1|0];if((c-48&255)>>>0<10){break d}switch(c-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break d;default:break a}}c=w[e+2|0];if((c-48&255)>>>0<10){break b}switch(c-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break b;default:break a}}e=((a|0)==37?3:1)+e|0;continue}}while(1){e:{d=w[e|0];c=d-48|0;f:{if(((d&223)-65&255)>>>0<26|(c&255)>>>0<10){break f}g:{h:{switch(d-33|0){case 0:case 3:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 25:case 26:case 28:case 30:case 31:case 58:case 60:case 62:case 93:break f;case 4:break h;default:break g}}i:{c=w[e+1|0];if((c-48&255)>>>0<10){break i}switch(c-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break i;default:break g}}c=w[e+2|0];if((c-48&255)>>>0<10){break f}switch(c-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break f;default:break g}}c=v[a+36>>2];if(!(c&1)){break e}switch(d-92|0){case 0:case 2:case 4:case 31:case 32:case 33:break f;default:break e}}e=((d|0)==37?3:1)+e|0;continue}break}d=v[a+32>>2];if(d){Ub[v[259708]](d);c=v[a+36>>2]}f=v[b>>2];d=e-f|0;j:{if(c&2){c=0;if(!f|(d|0)<0){break j}c=Ub[v[259707]](d+1|0)|0;if(!c){c=0;oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break j}g=gc(c,f,d)+d|0,h=0,t[g|0]=h;break j}c=bm(f,d)}v[a+32>>2]=c}v[b>>2]=e;return 0}function Sqa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;g=Qb-32|0;Qb=g;a:{b:{if(v[a+16>>2]){a=vc(g+8|0,333575,241879,881,338006,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}d=P()|0;O()|0;qc(a);break b}if(jj(a+20|0)){a=vc(g+8|0,329177,241879,882,338006,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}d=P()|0;O()|0;qc(a);break b}if((c|0)<=-1){a=vc(g+8|0,227294,241879,883,338006,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}d=P()|0;O()|0;qc(a);break b}Si(a+16|0,b);v[a+84>>2]=d;v[a+80>>2]=c;e=v[a+16>>2];b=v[e+84>>2];d=(d|0)<0?(b|0)>0?b-c|0:d:d;f=v[e+16>>2];c:{if(!f){b=e;break c}while(1){b=f;f=v[b+84>>2];c=v[e+80>>2]+c|0;d=(d|0)<0?(f|0)>0?f-c|0:d:d;e=b;f=v[b+16>>2];if(f){continue}break}}d:{e:{f:{if(jj(b+20|0)){if(v[b+84>>2]<(v[b+80>>2]+(c+d|0)|0)){break e}break f}if((d|0)<=-1){if(w[b+8|0]){break f}break e}if((bQ(v[b+72>>2],c,d)|0)!=(d|0)){break e}}t[a+8|0]=1;break d}FD(v[a+16>>2],v[a+80>>2],v[a+84>>2],4487,a)}Wc(a- -64|0,0);d=v[a+96>>2];if(d){while(1){b=v[d+8>>2];if(!v[b+8>>2]){v[b+8>>2]=1}d=v[d>>2];if(d){continue}break}}g:{h:{i:{b=v[a+116>>2];if(b){while(1){d=0;c=v[b+8>>2];if(c){v[299999]=0;v[c+4>>2]=v[c+4>>2]+1;c=v[299999];v[299999]=0;if((c|0)==1){break i}d=v[b+8>>2]}v[g+8>>2]=d;c=v[d+16>>2];j:{if((c|0)>-1){break j}e=v[a+84>>2];if((e|0)<1){break j}c=e-v[d+12>>2]|0}e=v[d+24>>2];f=v[d+20>>2];h=v[a+16>>2];i=v[d+12>>2];j=v[a+80>>2];v[299999]=0;fa(4486,h|0,i+j|0,c|0,f|0,e|0);c=v[299999];v[299999]=0;if((c|0)==1){break h}v[299999]=0;c=v[d+4>>2]-1|0;v[d+4>>2]=c;e=v[299999];v[299999]=0;if((e|0)==1){break g}if(!c){v[299999]=0;R(4338,d|0);c=v[299999];v[299999]=0;if((c|0)==1){break g}}b=v[b>>2];if(b){continue}break}}Qb=g+32|0;return}d=P()|0;O()|0;break b}d=P()|0;O()|0;ec(g+8|0);break b}W(0)|0;O()|0;lc();L()}T(d|0)}L()}function zEa(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,p=0,q=0,r=0,s=0,t=0,u=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0;u=Qb-192|0;Qb=u;f=ic(a,0,256);while(1){a:{i=f;d=v[(j<<2)+b>>2]+c|0;l=w[d+5|0];m=w[d+1|0];g=l+m|0;h=w[d+3|0];n=w[d+4|0];o=w[d+2|0];e=n+o|0;p=w[d+6|0];r=w[d|0];d=p+r|0;q=e+d|0;v[f>>2]=((g+h|0)+q<<2)-3584;q=B(q-(h<<2)|0,2896);s=B(d-g|0,7223)+1024|0;d=B(d-e|0,7542);v[f+24>>2]=q+(s-d|0)>>11;e=B(g-e|0,2578);v[f+16>>2]=(e+s|0)+B(g-(h<<1)|0,-5793)>>11;v[f+8>>2]=(q+(d+e|0)|0)+1024>>11;d=o-n|0;g=r-p|0;h=B(d+g|0,5027)+1024|0;t=h+B(d,15326)|0;k=d;d=m-l|0;e=B(k+d|0,-11295);v[f+20>>2]=t+e>>11;k=e;e=B(g-d|0,1395);d=B(d+g|0,7663);v[f+12>>2]=((k+e|0)+d|0)+1024>>11;v[f+4>>2]=d+(h-e|0)>>11;d=j-7|0;j=j+1|0;f=u;b:{switch(d|0){case 0:continue;case 6:break a;default:break b}}f=i+32|0;continue}break}while(1){c=v[f+32>>2];g=v[a+128>>2];h=c+g|0;i=v[f+96>>2];d=v[a+64>>2];e=i+d|0;j=h+e|0;l=v[f+64>>2];m=v[a+96>>2];n=l+m|0;b=n<<1;o=v[a+32>>2];p=v[f+128>>2];r=o+p|0;q=v[f>>2];s=v[a+160>>2];x=q+s|0;y=r+x|0;z=v[a+224>>2];A=v[a+192>>2];C=z+A|0;D=v[f+160>>2];E=v[a>>2];t=D+E|0;k=C+t|0;v[a+128>>2]=((B(j-b|0,-4717)+B(y-b|0,1684)|0)+B(k-b|0,6817)|0)+16384>>15;v[a>>2]=B(((j+n|0)+y|0)+k|0,5350)+16384>>15;b=E-D|0;l=m-l|0;i=d-i|0;d=o-p|0;m=i+d|0;j=s-q|0;g=g-c|0;n=j-g|0;c=A-z|0;v[a+224>>2]=B(b+l-((m+n|0)+c)|0,5350)+16384>>15;h=e-h|0;e=t-C|0;o=r-x|0;p=B(e+o|0,5915)+16384|0;v[a+192>>2]=(B(h,-7376)+p|0)+B(o,-9198)>>15;v[a+64>>2]=(p+B(h,3283)|0)+B(e,1461)>>15;h=B(l,5350);e=((B(n,7518)-h|0)+B(m,-847)|0)+16384|0;k=(e+B(i,-12700)|0)+B(g,5992)|0;i=B(c+g|0,4025)+B(b+i|0,6406)|0;v[a+160>>2]=k+i>>15;k=(e+B(d,-2269)|0)+B(j,-16423)|0;d=B(j-c|0,2499)+B(b+d|0,7141)|0;v[a+96>>2]=k+d>>15;v[a+32>>2]=(i+((h+(d+B(b,-6029)|0)|0)+B(c,-679)|0)|0)+16384>>15;f=f+4|0;a=a+4|0;F=F+1|0;if((F|0)!=7){continue}break}Qb=u+192|0}function D1(a,b){var c=0,d=0,e=0,f=0,g=0;g=Qb-992|0;Qb=g;a:{if(!v[a+4>>2]){break a}b:{switch(b-4|0){case 0:b=x[a+26>>1];if((b|0)==4|b>>>0>4){break a}c=gf(g+16|0,0);lh(c,a);Zf(c,v[a+16>>2],v[a+20>>2],4,v[a+68>>2]);b=v[a+4>>2];d=v[a+44>>2];vn(c,b?d?b+40|0:0:0,d);c:{if(!v[c+4>>2]){ce(a+72|0,c+72|0);break c}yJ(c,a);sB(c,a);d=v[a+20>>2];d:{if(v[a+332>>2]|(d|0)<1){break d}e=v[a+16>>2];if((e|0)<1){break d}while(1){b=0;if((e|0)>0){while(1){VJ(c,b,f,Gq(a,b,f));b=b+1|0;e=v[a+16>>2];if((b|0)<(e|0)){continue}break}d=v[a+20>>2];b=v[a+332>>2]}f=f+1|0;if((f|0)>=(d|0)){break d}if(!b){continue}break}}ek(a,c,1)}v[c>>2]=1032;_g(c);Jg(c);break a;case 4:b=x[a+26>>1];if((b|0)==8|b>>>0>8){break a}c=gf(g+16|0,0);lh(c,a);Zf(c,v[a+16>>2],v[a+20>>2],8,v[a+68>>2]);b=v[a+4>>2];d=v[a+44>>2];vn(c,b?d?b+40|0:0:0,d);e:{if(!v[c+4>>2]){ce(a+72|0,c+72|0);break e}yJ(c,a);sB(c,a);d=v[a+20>>2];f:{if(v[a+332>>2]|(d|0)<1){break f}e=v[a+16>>2];if((e|0)<1){break f}while(1){b=0;if((e|0)>0){while(1){VJ(c,b,f,Gq(a,b,f));b=b+1|0;e=v[a+16>>2];if((b|0)<(e|0)){continue}break}d=v[a+20>>2];b=v[a+332>>2]}f=f+1|0;if((f|0)>=(d|0)){break f}if(!b){continue}break}}ek(a,c,1)}v[c>>2]=1032;_g(c);Jg(c);break a;case 20:break b;default:break a}}b=x[a+26>>1];if((b|0)==24|b>>>0>24){break a}c=gf(g+16|0,0);lh(c,a);Zf(c,v[a+16>>2],v[a+20>>2],24,v[a+68>>2]);g:{if(!v[c+4>>2]){ce(a+72|0,c+72|0);break g}b=v[a+336>>2];if((b|0)>=0){ng(g+12|0,a,b&255);v[c+340>>2]=v[g+12>>2]}yJ(c,a);sB(c,a);if(!(!U2(a)|v[a+964>>2])){si(c)}d=v[a+20>>2];h:{if(v[a+332>>2]|(d|0)<1){break h}e=v[a+16>>2];if((e|0)<1){break h}while(1){b=0;if((e|0)>0){while(1){zm(g+8|0,a,b,f,1);v[g+4>>2]=v[g+8>>2];t2(c,b,f,g+4|0,1);b=b+1|0;e=v[a+16>>2];if((b|0)<(e|0)){continue}break}d=v[a+20>>2];b=v[a+332>>2]}f=f+1|0;if((f|0)>=(d|0)){break h}if(!b){continue}break}}ek(a,c,1)}v[c>>2]=1032;_g(c);Jg(c)}Qb=g+992|0}function CU(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Qb-128|0;Qb=e;a:{if(v[a+292>>2]){break a}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break a}nd(a)}b:{if(v[a+172>>2]==-1){b=0;break b}f=bf(a,e+12|0);c:{while(1){if(!Wp(v[a+360>>2],f)){break c}d:{if((g|0)<101){g=g+1|0;break d}g=0;if(v[a+292>>2]){break d}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break d}nd(a)}e:{if(v[e+12>>2]==1){t[(e+16|0)+d|0]=f;d=d+1|0;break e}d=li((e+16|0)+d|0,f)+d|0}b=v[a+36>>2];c=v[b+16>>2];f:{if(w[c|0]==10){v[b+32>>2]=1;v[b+28>>2]=v[b+28>>2]+1;break f}v[b+32>>2]=v[b+32>>2]+1}i=b;b=c+v[e+12>>2]|0;v[i+16>>2]=b;if(w[b|0]==37){wd(a)}f=bf(a,e+12|0);if(!f){g:{if(v[a+292>>2]){break g}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break g}nd(a)}if(v[a+172>>2]==-1){b=0;break b}g=0;f=bf(a,e+12|0)}if((d|0)<100){continue}break}b=0;h=d<<1;c=Ub[v[259707]](h)|0;if(!c){Qd(a,0);break b}b=gc(c,e+16|0,d);if(Wp(v[a+360>>2],f)){while(1){h:{if((g|0)<101){g=g+1|0;break h}i:{if(v[a+292>>2]){break i}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break i}nd(a)}g=0;if(v[a+172>>2]!=-1){break h}b=0;Ub[v[259708]](c);break b}j:{if((d+10|0)<=(h|0)){b=c;break j}if(!(w[a+362|0]&8|(h|0)<50001)){k:{if(v[a+172>>2]==-1?v[a+212>>2]:0){break k}v[a+84>>2]=110;v[e+4>>2]=249531;v[e>>2]=246281;oc(0,0,0,a,0,1,110,3,249531,0,0,0,349936,e);v[a+12>>2]=0;if(v[a+288>>2]){break k}v[a+212>>2]=1}b=0;Ub[v[259708]](c);break b}h=h<<1;b=Ub[v[259709]](c,h)|0;if(b){break j}b=0;Qd(a,0);Ub[v[259708]](c);break b}l:{if(v[e+12>>2]==1){t[b+d|0]=f;d=d+1|0;break l}d=li(b+d|0,f)+d|0}c=v[a+36>>2];f=v[c+16>>2];m:{if(w[f|0]==10){v[c+32>>2]=1;v[c+28>>2]=v[c+28>>2]+1;break m}v[c+32>>2]=v[c+32>>2]+1}i=c;c=f+v[e+12>>2]|0;v[i+16>>2]=c;if(w[c|0]==37){wd(a)}f=bf(a,e+12|0);c=b;if(Wp(v[a+360>>2],f)){continue}break}}t[b+d|0]=0;break b}if(!d){b=0;break b}b=rk(e+16|0,d)}Qb=e+128|0;return b}function zba(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,h=0,i=0;a=Qb-352|0;Qb=a;v[a+336>>2]=c;v[a+344>>2]=b;h=$j(d);i=Xq(d,a+224|0);Wq(a+208|0,d,a+332|0);b=ge(a+192|0);c=w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10;v[299999]=0;V(5542,b|0,c|0);c=v[299999];v[299999]=0;a:{b:{c:{if((c|0)!=1){d=a;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+188>>2]=c;v[a+12>>2]=a+16;v[a+8>>2]=0;while(1){d:{v[299999]=0;d=Q(5567,a+344|0,a+336|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break d}if(!d){break c}g=v[a+188>>2];if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}if((g|0)==(d+c|0)){if(w[b+11|0]>>>7|0){c=v[b+4>>2]}else{c=w[b+11|0]}if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}v[299999]=0;V(5542,b|0,d<<1);d=v[299999];v[299999]=0;if((d|0)==1){break b}d=w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10;v[299999]=0;V(5542,b|0,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break b}d=a;g=c;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+188>>2]=g+c}v[299999]=0;d=S(5569,a+344|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break d}v[299999]=0;d=In(d,h,c,a+188|0,a+8|0,v[a+332>>2],a+208|0,a+16|0,a+12|0,i);g=v[299999];v[299999]=0;if((g|0)==1){break d}if(d){break c}v[299999]=0;S(5571,a+344|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){continue}}break}break b}break b}if(w[a+219|0]>>>7|0){d=v[a+212>>2]}else{d=w[a+219|0]}e:{if(!d){break e}d=v[a+12>>2];if((d-(a+16|0)|0)>159){break e}v[a+12>>2]=d+4;v[d>>2]=v[a+8>>2]}v[299999]=0;c=gw(5548,c,v[a+188>>2],e,h);d=Tb;g=v[299999];v[299999]=0;f:{if((g|0)==1){break f}v[f>>2]=c;v[f+4>>2]=d;v[299999]=0;Xg(a+208|0,a+16|0,v[a+12>>2],e);c=v[299999];v[299999]=0;if((c|0)==1){break f}v[299999]=0;c=Q(5568,a+344|0,a+336|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break f}if(c){v[e>>2]=v[e>>2]|2}c=v[a+344>>2];Mc(b);Mc(a+208|0);Qb=a+352|0;break a}}c=P()|0;O()|0;Mc(b);Mc(a+208|0);T(c|0);L()}return c|0}function vba(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,h=0,i=0;a=Qb-352|0;Qb=a;v[a+336>>2]=c;v[a+344>>2]=b;h=$j(d);i=Xq(d,a+224|0);Wq(a+208|0,d,a+332|0);b=ge(a+192|0);c=w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10;v[299999]=0;V(5542,b|0,c|0);c=v[299999];v[299999]=0;a:{b:{c:{if((c|0)!=1){d=a;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+188>>2]=c;v[a+12>>2]=a+16;v[a+8>>2]=0;while(1){d:{v[299999]=0;d=Q(5567,a+344|0,a+336|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break d}if(!d){break c}g=v[a+188>>2];if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}if((g|0)==(d+c|0)){if(w[b+11|0]>>>7|0){c=v[b+4>>2]}else{c=w[b+11|0]}if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}v[299999]=0;V(5542,b|0,d<<1);d=v[299999];v[299999]=0;if((d|0)==1){break b}d=w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10;v[299999]=0;V(5542,b|0,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break b}d=a;g=c;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+188>>2]=g+c}v[299999]=0;d=S(5569,a+344|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break d}v[299999]=0;d=In(d,h,c,a+188|0,a+8|0,v[a+332>>2],a+208|0,a+16|0,a+12|0,i);g=v[299999];v[299999]=0;if((g|0)==1){break d}if(d){break c}v[299999]=0;S(5571,a+344|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){continue}}break}break b}break b}if(w[a+219|0]>>>7|0){d=v[a+212>>2]}else{d=w[a+219|0]}e:{if(!d){break e}d=v[a+12>>2];if((d-(a+16|0)|0)>159){break e}v[a+12>>2]=d+4;v[d>>2]=v[a+8>>2]}v[299999]=0;c=gw(5552,c,v[a+188>>2],e,h);d=Tb;g=v[299999];v[299999]=0;f:{if((g|0)==1){break f}v[f>>2]=c;v[f+4>>2]=d;v[299999]=0;Xg(a+208|0,a+16|0,v[a+12>>2],e);c=v[299999];v[299999]=0;if((c|0)==1){break f}v[299999]=0;c=Q(5568,a+344|0,a+336|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break f}if(c){v[e>>2]=v[e>>2]|2}c=v[a+344>>2];Mc(b);Mc(a+208|0);Qb=a+352|0;break a}}c=P()|0;O()|0;Mc(b);Mc(a+208|0);T(c|0);L()}return c|0}function gE(a){var b=0,c=0,d=0,e=0,f=0,g=0;g=Qb-16|0;Qb=g;b=v[a+56>>2];a:{b:{if(!v[a+28>>2]){c=1;while(1){c:{d:{if((b|0)>=(c|0)){d=v[a+52>>2];break d}while(1){b=v[a+4>>2];d=Ub[v[v[b>>2]+28>>2]](b)|0;if((d|0)==-1){b=v[a+56>>2];if(!b){e=1;break a}d=v[a+52>>2];f=d<>2]+8|0;v[a+56>>2]=b;d=d+(v[a+52>>2]<<8)|0;v[a+52>>2]=d;if((b|0)<(c|0)){continue}break}}f=d>>>b-c|0}e=1;f=f&-1>>>32-c;if((f&65535)==65535){break a}f=f<<9-c<<16;if(u[(f>>14)+963744>>1]==(c|0)){d=a;a=b-c|0;v[d+56>>2]=(a|0)>0?a:0;e=u[(f>>16<<2)+963746>>1];break a}c=c+1|0;if((c|0)!=10){continue}break}e:{if((b|0)<11){while(1){b=v[a+4>>2];c=Ub[v[v[b>>2]+28>>2]](b)|0;if((c|0)==-1){b=v[a+56>>2];if(!b){break a}d=v[a+52>>2];c=d<<11-b;break e}f=v[a+56>>2];b=f+8|0;v[a+56>>2]=b;d=c+(v[a+52>>2]<<8)|0;v[a+52>>2]=d;if((f|0)<3){continue}break}}c=d>>>b-11|0}e=-11;c=c<<1&4094;if(!(251854848>>>c&1)){f:{g:{if((b|0)<12){while(1){b=v[a+4>>2];c=Ub[v[v[b>>2]+28>>2]](b)|0;if((c|0)==-1){break g}e=v[a+56>>2];b=e+8|0;v[a+56>>2]=b;d=c+(v[a+52>>2]<<8)|0;v[a+52>>2]=d;if((e|0)<4){continue}break}}c=d>>>b-12|0;break f}b=v[a+56>>2];if(!b){e=1;break a}c=v[a+52>>2]<<12-b}e=-12;c=c&4095;if(!(-251920382>>>c&1)){break b}}f=a;a=b+e|0;v[f+56>>2]=(a|0)>0?a:0;e=u[(c<<2)+963618>>1];break a}h:{i:{if((b|0)<12){while(1){b=v[a+4>>2];c=Ub[v[v[b>>2]+28>>2]](b)|0;if((c|0)==-1){b=v[a+56>>2];if(!b){e=1;break a}c=v[a+52>>2]<<12-b;break h}e=v[a+56>>2];b=e+8|0;v[a+56>>2]=b;d=c+(v[a+52>>2]<<8)|0;v[a+52>>2]=d;if((e|0)<4){continue}break i}}d=v[a+52>>2]}c=d>>>b-12|0}c=c&4095;d=c>>>0<32?(c<<2)+963616|0:(c>>>1&2044)+963744|0;e=u[d>>1];if((e|0)<=0){break b}c=a;a=b-(e&65535)|0;v[c+56>>2]=(a|0)>0?a:0;e=u[d+2>>1];break a}b=Ub[v[v[a>>2]+52>>2]](a)|0;v[g>>2]=c;e=1;kc(1,b,256339,g);v[a+80>>2]=v[a+80>>2]+1;c=a;a=v[a+56>>2];v[c+56>>2]=((a|0)>1?a:1)-1}Qb=g+16|0;return e<<16>>16}function Jy(a){var b=0,c=0,d=0,e=0,f=0;a:{b:{if(!a){break b}e=v[a+64>>2];if(!e){break a}b=2;c:{d:{e:{f:{g:{h:{i:{c=v[a+68>>2];c=v[(c?c:e)+4>>2];switch(c-1|0){case 1:case 17:break a;case 14:case 15:case 16:case 18:case 19:break c;case 9:case 13:break d;case 10:case 11:break e;case 8:case 12:break f;case 3:case 4:case 5:case 6:case 7:break g;case 2:break h;case 0:break i;default:break b}}a=v[a+16>>2];return(a|0)==2?15:(a|0)==4?15:1}b=0;j:{if(!e){break j}a=1;b=0;if(v[e+4>>2]-3>>>0>1){break j}b=v[e+40>>2];k:{if(!b){break k}while(1){l:{a=0;m:{switch(w[b|0]){case 0:break l;case 9:case 10:case 13:case 32:break m;default:break k}}b=b+1|0;continue}break}a=1}b=a}if(!b){return 3}n:{o:{if(!(!e|v[e+4>>2]!=1)){while(1){a=OF(e,286563,286150);p:{if(!a){break p}c=0;q:{r:{s:{if(!a){break s}t:{b=v[a+4>>2]-2|0;if(b){if((b|0)==14){break t}else{break s}}b=v[a+12>>2];if(b){if(!(v[b+24>>2]|v[b+4>>2]-3>>>0>1)){b=v[b+40>>2];if(!b){break s}a=b;while(1){d=a;a=a+1|0;if(w[d|0]){continue}break}a=d-b|0;if((a|0)<0){break s}c=Ub[v[259707]](a+1|0)|0;if(!c){break r}d=a;a=gc(c,b,a);t[d+a|0]=0;break q}c=Mu(v[a+32>>2],b);if(c){break s}}a=Ub[v[259707]](1)|0;if(!a){break r}t[a|0]=0;break q}b=v[a+48>>2];if(!b){break s}a=b;while(1){d=a;a=a+1|0;if(w[d|0]){continue}break}a=d-b|0;if((a|0)<0){break s}c=Ub[v[259707]](a+1|0)|0;if(!c){break r}c=gc(c,b,a);t[a+c|0]=0}a=c;break q}oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);a=0}b=a;if(!a){break p}d=274191;if((b|0)==274191){c=1;break o}while(1){f=w[a|0];if((f|0)==w[d|0]){c=1;d=d+1|0;a=a+1|0;if(f){continue}break o}break}d=231542;c=0;a=b;if((a|0)==231542){break o}while(1){f=w[a|0];if((f|0)==w[d|0]){d=d+1|0;a=a+1|0;if(f){continue}break o}break}Ub[v[259708]](b)}e=v[e+20>>2];if(e){continue}break}}c=-1;break n}Ub[v[259708]](b)}return c?14:13}return c}return 9}return c}return 10}return 0}b=-1}return b}function oK(a){var b=0,c=0,d=0,e=0;a:{b:{c:{d:{e:{f:{if((a|0)==1281){a=aK(1025);if(!a){break c}c=uB(a);Bm(a);if(!c){break c}v[c>>2]=1281;if(v[c+4>>2]!=3|v[c+12>>2]!=3){break e}if(v[c+8>>2]!=257){break d}d=jc(152);if(!d){break c}a=d;v[a+32>>2]=0;v[a+36>>2]=0;v[a+4>>2]=1028120;v[a+8>>2]=3;v[a+12>>2]=3;v[a+136>>2]=0;v[a+140>>2]=0;v[a+128>>2]=-1408749273;v[a+132>>2]=1073502748;v[a+120>>2]=0;v[a+124>>2]=1072693248;v[a+104>>2]=555253372;v[a+108>>2]=-1075389892;v[a+96>>2]=-706436221;v[a+100>>2]=-1076492743;v[a+88>>2]=0;v[a+92>>2]=1072693248;v[a+72>>2]=-1924145349;v[a+76>>2]=1073114775;v[a+64>>2]=0;v[a+68>>2]=0;v[a+56>>2]=0;v[a+60>>2]=1072693248;v[a+24>>2]=0;v[a+28>>2]=1;v[a+16>>2]=0;v[a+20>>2]=0;v[a>>2]=1;v[a+144>>2]=-1408749273;v[a+148>>2]=-1075029476;v[a+112>>2]=-2046466017;v[a+116>>2]=1071705772;v[a+80>>2]=-1924145349;v[a+84>>2]=-1075417449;v[a+40>>2]=0;v[a+44>>2]=0;v[a+48>>2]=0;v[a+52>>2]=0;a=jc(152);if(!a){break c}v[a+4>>2]=1028120;v[a+8>>2]=3;v[a+12>>2]=3;ic(a+32|0,0,120);v[a+24>>2]=0;v[a+28>>2]=1;v[a+16>>2]=0;v[a+20>>2]=1;v[a>>2]=1;nK(a+56|0,d+56|0);g:{b=v[c+20>>2];if(!b){break g}if(!zl(b,0,d)){break g}return 0}b=v[c+36>>2];if(!b){break f}if(!zl(b,-1,a)){break f}return 0}c=aK(a);if(!c){break c}d=uB(c);Bm(c);if(!d){break c}if(a&255){v[d>>2]=a}b=d;break c}e=v[c+24>>2];if(e){b=0;if(zl(e,0,d)){break c}}h:{b=v[c+40>>2];if(!b){break h}if(!zl(b,-1,a)){break h}return 0}e=v[c+28>>2];if(e){b=0;if(zl(e,0,d)){break c}}i:{b=v[c+44>>2];if(!b){break i}if(!zl(b,-1,a)){break i}return 0}e=v[c+32>>2];if(e){b=0;if(zl(e,0,d)){break c}}e=v[c+48>>2];if(e){b=0;if(zl(e,-1,a)){break c}}b=v[d>>2];v[d>>2]=b-1;if((b|0)<2){break b}break a}X(14173,6744,187,188268);L()}X(16225,6744,188,188268);L()}return b}Ub[v[v[d+4>>2]>>2]](d);dc(d)}d=v[a>>2];v[a>>2]=d-1;if((d|0)>1){return c}Ub[v[v[a+4>>2]>>2]](a);dc(a);return c}function XZa(a,b){a=a|0;b=b|0;var 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;d=Qb-48|0;Qb=d;i=v[b+28>>2];v[d+20>>2]=v[b+8>>2];o=d,p=kf(b,d+4|0),v[o+8>>2]=p;c=v[d+4>>2];a:{if(c){break a}c=me(b,447312,d+8|0);v[d+4>>2]=c;if(c){break a}c=1330926671;b:{if(v[d+8>>2]!=1330926671){e=v[d+20>>2];c=Yc(b,e+12|0);v[d+44>>2]=c;if(c){break a}c=2;if(!x[d+12>>1]){break a}j=e+28|0;e=0;while(1){c:{c=me(b,447344,d+24|0);v[d+44>>2]=c;if(c){u[d+12>>1]=e-1;break c}g=v[b+4>>2];h=v[d+32>>2];d:{if(g>>>0>>0){break d}c=v[d+24>>2];m=g-h|0;g=v[d+36>>2];if(!((c|0)==1986884728|m>>>0>=g>>>0)&(c|0)!=1752003704){break d}f=f+1|0;e:{if((c|0)<=1651008867){if((c|0)==1296389185){break e}if((c|0)!=1397313095){break d}l=1;break d}if((c|0)!=1751474532&(c|0)!=1651008868){break d}if(g>>>0<54){c=142;break a}c=Yc(b,h+12|0);v[d+44>>2]=c;if(c){break a}kf(b,d+44|0);c=v[d+44>>2];if(c){break a}c=Yc(b,j+(e<<4)|0);v[d+44>>2]=c;k=1;if(!c){break d}break a}n=1}e=e+1|0;if(e>>>0>1]){continue}}break}c=2;if(!(f&65535)){break a}if(!k){c=142;if(!l|!n){break a}}v[d+4>>2]=0;c=v[d+8>>2];break b}f=x[d+12>>1];if(f){break b}c=2;break a}v[a+148>>2]=c;u[a+152>>1]=f;o=a,p=Cc(i,16,0,f&65535,0,d+4|0),v[o+156>>2]=p;c=v[d+4>>2];if(c){break a}c=Yc(b,v[d+20>>2]+12|0);v[d+4>>2]=c;if(c){break a}c=ne(b,x[d+12>>1]<<4);v[d+4>>2]=c;if(c){break a}j=0;f:{if(!x[d+12>>1]){f=0;break f}f=0;while(1){h=Sg(b);l=Sg(b);i=Sg(b);k=Sg(b);c=v[b+4>>2];g:{if(c>>>0>>0){break g}c=c-i|0;if(c>>>0>>0){if((h|0)!=1986884728&(h|0)!=1752003704){break g}k=c&-4}g=v[a+156>>2];e=f&65535;h:{if(!e){e=0;break h}c=0;while(1){if((h|0)==v[g+(c<<4)>>2]){break g}c=c+1|0;if((e|0)!=(c|0)){continue}break}}c=g+(e<<4)|0;v[c+12>>2]=k;v[c+8>>2]=i;v[c+4>>2]=l;v[c>>2]=h;f=f+1|0}j=j+1|0;if(x[d+12>>1]>(j&65535)>>>0){continue}break}}u[a+152>>1]=f;Vd(b);c=v[d+4>>2]}Qb=d+48|0;return c|0}function yba(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,h=0,i=0;a=Qb-352|0;Qb=a;v[a+336>>2]=c;v[a+344>>2]=b;h=$j(d);i=Xq(d,a+224|0);Wq(a+208|0,d,a+332|0);b=ge(a+192|0);c=w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10;v[299999]=0;V(5542,b|0,c|0);c=v[299999];v[299999]=0;a:{b:{c:{if((c|0)!=1){d=a;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+188>>2]=c;v[a+12>>2]=a+16;v[a+8>>2]=0;while(1){d:{v[299999]=0;d=Q(5567,a+344|0,a+336|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break d}if(!d){break c}g=v[a+188>>2];if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}if((g|0)==(d+c|0)){if(w[b+11|0]>>>7|0){c=v[b+4>>2]}else{c=w[b+11|0]}if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}v[299999]=0;V(5542,b|0,d<<1);d=v[299999];v[299999]=0;if((d|0)==1){break b}d=w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10;v[299999]=0;V(5542,b|0,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break b}d=a;g=c;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+188>>2]=g+c}v[299999]=0;d=S(5569,a+344|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break d}v[299999]=0;d=In(d,h,c,a+188|0,a+8|0,v[a+332>>2],a+208|0,a+16|0,a+12|0,i);g=v[299999];v[299999]=0;if((g|0)==1){break d}if(d){break c}v[299999]=0;S(5571,a+344|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){continue}}break}break b}break b}if(w[a+219|0]>>>7|0){d=v[a+212>>2]}else{d=w[a+219|0]}e:{if(!d){break e}d=v[a+12>>2];if((d-(a+16|0)|0)>159){break e}v[a+12>>2]=d+4;v[d>>2]=v[a+8>>2]}v[299999]=0;c=Z(5549,c|0,v[a+188>>2],e|0,h|0)|0;d=v[299999];v[299999]=0;f:{if((d|0)==1){break f}u[f>>1]=c;v[299999]=0;Xg(a+208|0,a+16|0,v[a+12>>2],e);c=v[299999];v[299999]=0;if((c|0)==1){break f}v[299999]=0;c=Q(5568,a+344|0,a+336|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break f}if(c){v[e>>2]=v[e>>2]|2}c=v[a+344>>2];Mc(b);Mc(a+208|0);Qb=a+352|0;break a}}c=P()|0;O()|0;Mc(b);Mc(a+208|0);T(c|0);L()}return c|0}function xba(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,h=0,i=0;a=Qb-352|0;Qb=a;v[a+336>>2]=c;v[a+344>>2]=b;h=$j(d);i=Xq(d,a+224|0);Wq(a+208|0,d,a+332|0);b=ge(a+192|0);c=w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10;v[299999]=0;V(5542,b|0,c|0);c=v[299999];v[299999]=0;a:{b:{c:{if((c|0)!=1){d=a;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+188>>2]=c;v[a+12>>2]=a+16;v[a+8>>2]=0;while(1){d:{v[299999]=0;d=Q(5567,a+344|0,a+336|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break d}if(!d){break c}g=v[a+188>>2];if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}if((g|0)==(d+c|0)){if(w[b+11|0]>>>7|0){c=v[b+4>>2]}else{c=w[b+11|0]}if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}v[299999]=0;V(5542,b|0,d<<1);d=v[299999];v[299999]=0;if((d|0)==1){break b}d=w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10;v[299999]=0;V(5542,b|0,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break b}d=a;g=c;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+188>>2]=g+c}v[299999]=0;d=S(5569,a+344|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break d}v[299999]=0;d=In(d,h,c,a+188|0,a+8|0,v[a+332>>2],a+208|0,a+16|0,a+12|0,i);g=v[299999];v[299999]=0;if((g|0)==1){break d}if(d){break c}v[299999]=0;S(5571,a+344|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){continue}}break}break b}break b}if(w[a+219|0]>>>7|0){d=v[a+212>>2]}else{d=w[a+219|0]}e:{if(!d){break e}d=v[a+12>>2];if((d-(a+16|0)|0)>159){break e}v[a+12>>2]=d+4;v[d>>2]=v[a+8>>2]}v[299999]=0;c=Z(5550,c|0,v[a+188>>2],e|0,h|0)|0;d=v[299999];v[299999]=0;f:{if((d|0)==1){break f}v[f>>2]=c;v[299999]=0;Xg(a+208|0,a+16|0,v[a+12>>2],e);c=v[299999];v[299999]=0;if((c|0)==1){break f}v[299999]=0;c=Q(5568,a+344|0,a+336|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break f}if(c){v[e>>2]=v[e>>2]|2}c=v[a+344>>2];Mc(b);Mc(a+208|0);Qb=a+352|0;break a}}c=P()|0;O()|0;Mc(b);Mc(a+208|0);T(c|0);L()}return c|0}function wba(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,h=0,i=0;a=Qb-352|0;Qb=a;v[a+336>>2]=c;v[a+344>>2]=b;h=$j(d);i=Xq(d,a+224|0);Wq(a+208|0,d,a+332|0);b=ge(a+192|0);c=w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10;v[299999]=0;V(5542,b|0,c|0);c=v[299999];v[299999]=0;a:{b:{c:{if((c|0)!=1){d=a;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+188>>2]=c;v[a+12>>2]=a+16;v[a+8>>2]=0;while(1){d:{v[299999]=0;d=Q(5567,a+344|0,a+336|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break d}if(!d){break c}g=v[a+188>>2];if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}if((g|0)==(d+c|0)){if(w[b+11|0]>>>7|0){c=v[b+4>>2]}else{c=w[b+11|0]}if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}v[299999]=0;V(5542,b|0,d<<1);d=v[299999];v[299999]=0;if((d|0)==1){break b}d=w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10;v[299999]=0;V(5542,b|0,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break b}d=a;g=c;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+188>>2]=g+c}v[299999]=0;d=S(5569,a+344|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break d}v[299999]=0;d=In(d,h,c,a+188|0,a+8|0,v[a+332>>2],a+208|0,a+16|0,a+12|0,i);g=v[299999];v[299999]=0;if((g|0)==1){break d}if(d){break c}v[299999]=0;S(5571,a+344|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){continue}}break}break b}break b}if(w[a+219|0]>>>7|0){d=v[a+212>>2]}else{d=w[a+219|0]}e:{if(!d){break e}d=v[a+12>>2];if((d-(a+16|0)|0)>159){break e}v[a+12>>2]=d+4;v[d>>2]=v[a+8>>2]}v[299999]=0;c=Z(5551,c|0,v[a+188>>2],e|0,h|0)|0;d=v[299999];v[299999]=0;f:{if((d|0)==1){break f}v[f>>2]=c;v[299999]=0;Xg(a+208|0,a+16|0,v[a+12>>2],e);c=v[299999];v[299999]=0;if((c|0)==1){break f}v[299999]=0;c=Q(5568,a+344|0,a+336|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break f}if(c){v[e>>2]=v[e>>2]|2}c=v[a+344>>2];Mc(b);Mc(a+208|0);Qb=a+352|0;break a}}c=P()|0;O()|0;Mc(b);Mc(a+208|0);T(c|0);L()}return c|0}function Aba(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,h=0,i=0;a=Qb-352|0;Qb=a;v[a+336>>2]=c;v[a+344>>2]=b;h=$j(d);i=Xq(d,a+224|0);Wq(a+208|0,d,a+332|0);b=ge(a+192|0);c=w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10;v[299999]=0;V(5542,b|0,c|0);c=v[299999];v[299999]=0;a:{b:{c:{if((c|0)!=1){d=a;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+188>>2]=c;v[a+12>>2]=a+16;v[a+8>>2]=0;while(1){d:{v[299999]=0;d=Q(5567,a+344|0,a+336|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break d}if(!d){break c}g=v[a+188>>2];if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}if((g|0)==(d+c|0)){if(w[b+11|0]>>>7|0){c=v[b+4>>2]}else{c=w[b+11|0]}if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}v[299999]=0;V(5542,b|0,d<<1);d=v[299999];v[299999]=0;if((d|0)==1){break b}d=w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10;v[299999]=0;V(5542,b|0,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break b}d=a;g=c;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+188>>2]=g+c}v[299999]=0;d=S(5569,a+344|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break d}v[299999]=0;d=In(d,h,c,a+188|0,a+8|0,v[a+332>>2],a+208|0,a+16|0,a+12|0,i);g=v[299999];v[299999]=0;if((g|0)==1){break d}if(d){break c}v[299999]=0;S(5571,a+344|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){continue}}break}break b}break b}if(w[a+219|0]>>>7|0){d=v[a+212>>2]}else{d=w[a+219|0]}e:{if(!d){break e}d=v[a+12>>2];if((d-(a+16|0)|0)>159){break e}v[a+12>>2]=d+4;v[d>>2]=v[a+8>>2]}v[299999]=0;c=Z(5544,c|0,v[a+188>>2],e|0,h|0)|0;d=v[299999];v[299999]=0;f:{if((d|0)==1){break f}v[f>>2]=c;v[299999]=0;Xg(a+208|0,a+16|0,v[a+12>>2],e);c=v[299999];v[299999]=0;if((c|0)==1){break f}v[299999]=0;c=Q(5568,a+344|0,a+336|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break f}if(c){v[e>>2]=v[e>>2]|2}c=v[a+344>>2];Mc(b);Mc(a+208|0);Qb=a+352|0;break a}}c=P()|0;O()|0;Mc(b);Mc(a+208|0);T(c|0);L()}return c|0}function p9a(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:{if(w[a+286|0]|!w[a+285|0]|(w[a+287|0]|w[a+288|0])){break a}if(w[a+289|0]){break a}if((c|0)!=21){pc(a,1028,0,0);return 1028}c=w[d|0]|w[d+1|0]<<8;g=(c<<8|c>>>8)&65535;c=w[d+2|0]|w[d+3|0]<<8;h=(c<<8|c>>>8)&65535;i=w[d+4|0];c=w[d+5|0]|w[d+6|0]<<8|(w[d+7|0]<<16|w[d+8|0]<<24);j=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=w[d+9|0]|w[d+10|0]<<8|(w[d+11|0]<<16|w[d+12|0]<<24);k=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=w[d+13|0]|w[d+14|0]<<8|(w[d+15|0]<<16|w[d+16|0]<<24);l=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=w[d+17|0]|w[d+18|0]<<8|(w[d+19|0]<<16|w[d+20|0]<<24);m=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);b:{if(w[a+114|0]){c=Ub[v[a+152>>2]](52)|0;if(!c){pc(a,1,0,0);c=1;break b}v[c+4>>2]=727;v[c>>2]=728;f=v[a+700>>2];c:{if(f){v[f+8>>2]=c;break c}v[a+696>>2]=c}v[c+8>>2]=0;v[c+12>>2]=f;v[a+700>>2]=c;v[c+16>>2]=v[a+436>>2];v[c+20>>2]=v[a+440>>2];v[c+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=c}v[c+48>>2]=m;v[c+44>>2]=l;v[c+40>>2]=k;v[c+36>>2]=j;t[c+32|0]=i;u[c+30>>1]=h;u[c+28>>1]=g}c=b1(a,g,h,i,j,k,l,m)}d:{if(c){break d}c=0;if(!w[a+112|0]){break d}c=Ub[v[b+4>>2]](a,b,e)|0;if(c){break d}a=v[e>>2];b=w[d|0]|w[d+1|0]<<8;u[a+32>>1]=b<<8|b>>>8;b=w[d+2|0]|w[d+3|0]<<8;u[a+34>>1]=b<<8|b>>>8;t[a+36|0]=w[d+4|0];b=w[d+5|0]|w[d+6|0]<<8|(w[d+7|0]<<16|w[d+8|0]<<24);v[a+40>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=w[d+9|0]|w[d+10|0]<<8|(w[d+11|0]<<16|w[d+12|0]<<24);v[a+44>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=w[d+13|0]|w[d+14|0]<<8|(w[d+15|0]<<16|w[d+16|0]<<24);v[a+48>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=a;a=w[d+17|0]|w[d+18|0]<<8|(w[d+19|0]<<16|w[d+20|0]<<24);v[b+52>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);c=0}return c|0}pc(a,1029,0,0);return 1029}function dm(a,b,c){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,p=0,q=0,r=0,s=0,u=0,x=0,y=0;e=c?b+16|0:b;b=(b<<2)+a|0;b=v[(c?b+136|0:b+120|0)>>2];if(!b){c=v[a>>2];v[c+24>>2]=e;v[c+20>>2]=52;Ub[v[v[a>>2]>>2]](a)}if(!v[b+276>>2]){c=v[a+24>>2];f=v[c>>2];v[c>>2]=f+1;t[f|0]=255;f=v[c+4>>2]-1|0;v[c+4>>2]=f;a:{if(f){break a}if(Ub[v[c+12>>2]](a)|0){break a}c=v[a>>2];v[c+20>>2]=25;Ub[v[c>>2]](a)}c=v[a+24>>2];f=v[c>>2];v[c>>2]=f+1;t[f|0]=196;f=v[c+4>>2]-1|0;v[c+4>>2]=f;b:{if(f){break b}if(Ub[v[c+12>>2]](a)|0){break b}c=v[a>>2];v[c+20>>2]=25;Ub[v[c>>2]](a)}d=w[b+16|0];g=w[b+15|0];h=w[b+14|0];i=w[b+13|0];j=w[b+12|0];k=w[b+11|0];l=w[b+10|0];m=w[b+9|0];n=w[b+8|0];o=w[b+7|0];p=w[b+6|0];q=w[b+5|0];r=w[b+4|0];s=w[b+3|0];u=w[b+2|0];x=w[b+1|0];c=v[a+24>>2];f=v[c>>2];v[c>>2]=f+1;y=f;f=d+(g+(h+((((((((((((u+x|0)+s|0)+r|0)+q|0)+p|0)+o|0)+n|0)+m|0)+l|0)+k|0)+j|0)+i|0)|0)|0)|0;g=f+19|0;t[y|0]=g>>>8;d=v[c+4>>2]-1|0;v[c+4>>2]=d;c:{if(d){break c}if(Ub[v[c+12>>2]](a)|0){break c}c=v[a>>2];v[c+20>>2]=25;Ub[v[c>>2]](a)}c=v[a+24>>2];d=v[c>>2];v[c>>2]=d+1;t[d|0]=g;d=v[c+4>>2]-1|0;v[c+4>>2]=d;d:{if(d){break d}if(Ub[v[c+12>>2]](a)|0){break d}c=v[a>>2];v[c+20>>2]=25;Ub[v[c>>2]](a)}c=v[a+24>>2];d=v[c>>2];v[c>>2]=d+1;t[d|0]=e;e=v[c+4>>2]-1|0;v[c+4>>2]=e;e:{if(e){break e}if(Ub[v[c+12>>2]](a)|0){break e}c=v[a>>2];v[c+20>>2]=25;Ub[v[c>>2]](a)}c=1;while(1){g=w[b+c|0];e=v[a+24>>2];d=v[e>>2];v[e>>2]=d+1;t[d|0]=g;d=v[e+4>>2]-1|0;v[e+4>>2]=d;f:{if(d){break f}if(Ub[v[e+12>>2]](a)|0){break f}e=v[a>>2];v[e+20>>2]=25;Ub[v[e>>2]](a)}c=c+1|0;if((c|0)!=17){continue}break}if(f){c=0;while(1){g=w[(b+c|0)+17|0];e=v[a+24>>2];d=v[e>>2];v[e>>2]=d+1;t[d|0]=g;d=v[e+4>>2]-1|0;v[e+4>>2]=d;g:{if(d){break g}if(Ub[v[e+12>>2]](a)|0){break g}e=v[a>>2];v[e+20>>2]=25;Ub[v[e>>2]](a)}c=c+1|0;if(f>>>0>c>>>0){continue}break}}v[b+276>>2]=1}}function Bab(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;if(e){p=e-1|0;q=e-2|0;n=(e|0)==1;while(1){i=g;a=f;u[g>>1]=x[a>>1];f=a+2|0;g=g+2|0;a:{if(!n&m>>>0>=p>>>0){break a}j=m?(m|0)==(q|0)?d:b:c;h=!m&n;if(h){if(j>>>0<2){break a}h=j-1|0;i=h&7;if(j-2>>>0>=7){h=h&-8;while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a>>1];u[g+4>>1]=x[a>>1];u[g+6>>1]=x[a>>1];u[g+8>>1]=x[a>>1];u[g+10>>1]=x[a>>1];u[g+12>>1]=x[a>>1];u[g+14>>1]=x[a>>1];g=g+16|0;h=h-8|0;if(h){continue}break}}if(!i){break a}while(1){u[g>>1]=x[a>>1];g=g+2|0;i=i-1|0;if(i){continue}break}break a}k=x[a>>1];l=h?0:f;if((k|0)==x[l>>1]){if(j>>>0<2){break a}u[i+2>>1]=k;g=i+4|0;if((j|0)==2){break a}h=j-2|0;i=h&7;if(j-3>>>0>=7){h=h&-8;while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a>>1];u[g+4>>1]=x[a>>1];u[g+6>>1]=x[a>>1];u[g+8>>1]=x[a>>1];u[g+10>>1]=x[a>>1];u[g+12>>1]=x[a>>1];u[g+14>>1]=x[a>>1];g=g+16|0;h=h-8|0;if(h){continue}break}}if(!i){break a}while(1){u[g>>1]=x[a>>1];g=g+2|0;i=i-1|0;if(i){continue}break}break a}h=j+1>>>1|0;b:{if(j>>>0<3){break b}u[i+2>>1]=k;g=i+4|0;if(j>>>0<5){break b}k=h>>>0>2?h:2;o=k-2|0;i=o&7;if(k-3>>>0>=7){k=o&-8;while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a>>1];u[g+4>>1]=x[a>>1];u[g+6>>1]=x[a>>1];u[g+8>>1]=x[a>>1];u[g+10>>1]=x[a>>1];u[g+12>>1]=x[a>>1];u[g+14>>1]=x[a>>1];g=g+16|0;k=k-8|0;if(k){continue}break}}if(!i){break b}while(1){u[g>>1]=x[a>>1];g=g+2|0;i=i-1|0;if(i){continue}break}}if(h>>>0>=j>>>0){break a}i=(h^-1)+j|0;a=j-h&7;if(a){while(1){u[g>>1]=x[l>>1];h=h+1|0;g=g+2|0;a=a-1|0;if(a){continue}break}}if(i>>>0<7){break a}while(1){u[g>>1]=x[l>>1];u[g+2>>1]=x[l>>1];u[g+4>>1]=x[l>>1];u[g+6>>1]=x[l>>1];u[g+8>>1]=x[l>>1];u[g+10>>1]=x[l>>1];u[g+12>>1]=x[l>>1];u[g+14>>1]=x[l>>1];g=g+16|0;h=h+8|0;if((j|0)!=(h|0)){continue}break}}m=m+1|0;if((m|0)!=(e|0)){continue}break}}return 0}function Tba(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,h=0;a=Qb-272|0;Qb=a;v[a+256>>2]=c;v[a+264>>2]=b;h=$j(d);Yq(a+208|0,d,a+255|0);b=ge(a+192|0);c=w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10;v[299999]=0;V(5542,b|0,c|0);c=v[299999];v[299999]=0;a:{b:{c:{if((c|0)!=1){d=a;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+188>>2]=c;v[a+12>>2]=a+16;v[a+8>>2]=0;while(1){d:{v[299999]=0;d=Q(5473,a+264|0,a+256|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break d}if(!d){break c}g=v[a+188>>2];if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}if((g|0)==(d+c|0)){if(w[b+11|0]>>>7|0){c=v[b+4>>2]}else{c=w[b+11|0]}if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}v[299999]=0;V(5542,b|0,d<<1);d=v[299999];v[299999]=0;if((d|0)==1){break b}d=w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10;v[299999]=0;V(5542,b|0,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break b}d=a;g=c;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+188>>2]=g+c}v[299999]=0;d=S(5474,a+264|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break d}v[299999]=0;d=Jn(d,h,c,a+188|0,a+8|0,t[a+255|0],a+208|0,a+16|0,a+12|0,1016064);g=v[299999];v[299999]=0;if((g|0)==1){break d}if(d){break c}v[299999]=0;S(5476,a+264|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){continue}}break}break b}break b}if(w[a+219|0]>>>7|0){d=v[a+212>>2]}else{d=w[a+219|0]}e:{if(!d){break e}d=v[a+12>>2];if((d-(a+16|0)|0)>159){break e}v[a+12>>2]=d+4;v[d>>2]=v[a+8>>2]}v[299999]=0;c=gw(5548,c,v[a+188>>2],e,h);d=Tb;g=v[299999];v[299999]=0;f:{if((g|0)==1){break f}v[f>>2]=c;v[f+4>>2]=d;v[299999]=0;Xg(a+208|0,a+16|0,v[a+12>>2],e);c=v[299999];v[299999]=0;if((c|0)==1){break f}v[299999]=0;c=Q(5539,a+264|0,a+256|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break f}if(c){v[e>>2]=v[e>>2]|2}c=v[a+264>>2];Mc(b);Mc(a+208|0);Qb=a+272|0;break a}}c=P()|0;O()|0;Mc(b);Mc(a+208|0);T(c|0);L()}return c|0}function Nba(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,h=0;a=Qb-272|0;Qb=a;v[a+256>>2]=c;v[a+264>>2]=b;h=$j(d);Yq(a+208|0,d,a+255|0);b=ge(a+192|0);c=w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10;v[299999]=0;V(5542,b|0,c|0);c=v[299999];v[299999]=0;a:{b:{c:{if((c|0)!=1){d=a;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+188>>2]=c;v[a+12>>2]=a+16;v[a+8>>2]=0;while(1){d:{v[299999]=0;d=Q(5473,a+264|0,a+256|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break d}if(!d){break c}g=v[a+188>>2];if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}if((g|0)==(d+c|0)){if(w[b+11|0]>>>7|0){c=v[b+4>>2]}else{c=w[b+11|0]}if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}v[299999]=0;V(5542,b|0,d<<1);d=v[299999];v[299999]=0;if((d|0)==1){break b}d=w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10;v[299999]=0;V(5542,b|0,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break b}d=a;g=c;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+188>>2]=g+c}v[299999]=0;d=S(5474,a+264|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break d}v[299999]=0;d=Jn(d,h,c,a+188|0,a+8|0,t[a+255|0],a+208|0,a+16|0,a+12|0,1016064);g=v[299999];v[299999]=0;if((g|0)==1){break d}if(d){break c}v[299999]=0;S(5476,a+264|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){continue}}break}break b}break b}if(w[a+219|0]>>>7|0){d=v[a+212>>2]}else{d=w[a+219|0]}e:{if(!d){break e}d=v[a+12>>2];if((d-(a+16|0)|0)>159){break e}v[a+12>>2]=d+4;v[d>>2]=v[a+8>>2]}v[299999]=0;c=gw(5552,c,v[a+188>>2],e,h);d=Tb;g=v[299999];v[299999]=0;f:{if((g|0)==1){break f}v[f>>2]=c;v[f+4>>2]=d;v[299999]=0;Xg(a+208|0,a+16|0,v[a+12>>2],e);c=v[299999];v[299999]=0;if((c|0)==1){break f}v[299999]=0;c=Q(5539,a+264|0,a+256|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break f}if(c){v[e>>2]=v[e>>2]|2}c=v[a+264>>2];Mc(b);Mc(a+208|0);Qb=a+272|0;break a}}c=P()|0;O()|0;Mc(b);Mc(a+208|0);T(c|0);L()}return c|0}function MI(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=v[a>>2];b=c|65535;v[a>>2]=(b>>>0>1]>>>0?b:b-32768|0)<>2]=v[a>>2]<>2];g:{if((b|0)!=20480){c=v[a+16>>2];break g}c=v[a+12>>2];b=v[c+4>>2];h:{if((b|0)!=v[c+8>>2]){v[b>>2]=v[a+16>>2];v[c+4>>2]=b+4;break h}e=v[c>>2];g=b-e|0;f=g>>2;b=f+1|0;if(b>>>0>=1073741824){break f}d=g>>1;d=f>>>0<536870911?b>>>0>d>>>0?b:d:1073741823;if(d){if(d>>>0>=1073741824){break e}b=fc(d<<2)}else{b=0}f=b+(f<<2)|0;v[f>>2]=v[a+16>>2];if((g|0)>=1){gc(b,e,g)}v[c+8>>2]=b+(d<<2);v[c+4>>2]=f+4;v[c>>2]=b;if(!e){break h}dc(e)}c=fc(20480);v[a+16>>2]=c;b=0}v[a+20>>2]=b+1;t[b+c|0]=w[a+7|0];if(w[a+7|0]!=255){t[a+7|0]=255;b=v[a+20>>2];i:{if((b|0)!=20480){c=v[a+16>>2];e=255;break i}c=v[a+12>>2];b=v[c+4>>2];j:{if((b|0)!=v[c+8>>2]){v[b>>2]=v[a+16>>2];v[c+4>>2]=b+4;break j}e=v[c>>2];g=b-e|0;f=g>>2;b=f+1|0;if(b>>>0>=1073741824){break d}d=g>>1;d=f>>>0<536870911?b>>>0>d>>>0?b:d:1073741823;if(d){if(d>>>0>=1073741824){break c}b=fc(d<<2)}else{b=0}f=b+(f<<2)|0;v[f>>2]=v[a+16>>2];if((g|0)>=1){gc(b,e,g)}v[c+8>>2]=b+(d<<2);v[c+4>>2]=f+4;v[c>>2]=b;if(!e){break j}dc(e)}c=fc(20480);v[a+16>>2]=c;b=0;e=w[a+7|0]}v[a+20>>2]=b+1;t[b+c|0]=e}c=172;t[a+7|0]=172;b=v[a+20>>2];k:{if((b|0)!=20480){e=v[a+16>>2];break k}c=v[a+12>>2];b=v[c+4>>2];l:{if((b|0)!=v[c+8>>2]){v[b>>2]=v[a+16>>2];v[c+4>>2]=b+4;break l}e=v[c>>2];g=b-e|0;f=g>>2;b=f+1|0;if(b>>>0>=1073741824){break b}d=g>>1;d=f>>>0<536870911?b>>>0>d>>>0?b:d:1073741823;if(d){if(d>>>0>=1073741824){break a}b=fc(d<<2)}else{b=0}f=b+(f<<2)|0;v[f>>2]=v[a+16>>2];if((g|0)>=1){gc(b,e,g)}v[c+8>>2]=b+(d<<2);v[c+4>>2]=f+4;v[c>>2]=b;if(!e){break l}dc(e)}e=fc(20480);v[a+16>>2]=e;c=w[a+7|0];b=0}v[a+20>>2]=b+1;t[b+e|0]=c;return}ue(c);L()}cf(2065);L()}ue(c);L()}cf(2065);L()}ue(c);L()}cf(2065);L()}function A3(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=-1;d=v[b+8>>2];a:{if(d&7){break a}f=v[a+12>>2];b:{c:{e=v[b+64>>2];if((e|0)>=0&(e|0)<=v[b+60>>2]){break c}e=f;d=e>>>24|0;v[b+4>>2]=v[b+4>>2]|32;g=v[b+28>>2];v[b+28>>2]=g-1;d:{if((g|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;t[c|0]=d;break d}if((Fc(b,d)|0)==-1){break a}}c=-1;d=v[b+8>>2];if(d&7){break a}c=v[b+64>>2];if((c|0)>=0&(c|0)<=v[b+60>>2]){break c}d=e>>>16|0;v[b+4>>2]=v[b+4>>2]|32;c=-1;g=v[b+28>>2];v[b+28>>2]=g-1;e:{if((g|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;t[c|0]=d;break e}if((Fc(b,d&255)|0)==-1){break a}}c=-1;d=v[b+8>>2];if(d&7){break a}c=v[b+64>>2];if((c|0)>=0&(c|0)<=v[b+60>>2]){break c}e=e>>>8|0;v[b+4>>2]=v[b+4>>2]|32;c=-1;d=v[b+28>>2];v[b+28>>2]=d-1;f:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;t[c|0]=e;break f}if((Fc(b,e&255)|0)==-1){break a}}c=-1;d=v[b+8>>2];if(d&7){break a}e=v[b+64>>2];if((e|0)>=0&(e|0)<=v[b+60>>2]){break c}v[b+4>>2]=v[b+4>>2]|32;e=v[b+28>>2];v[b+28>>2]=e-1;g:{if((e|0)>=1){v[b+60>>2]=v[b+60>>2]+1;e=v[b+24>>2];v[b+24>>2]=e+1;t[e|0]=f;break g}if((Fc(b,f&255)|0)==-1){break a}}e=0;if(!v[a+12>>2]){return 0}while(1){d=v[b+8>>2];if(d&7){break b}f=v[v[a+16>>2]+(e<<2)>>2];c=v[b+64>>2];if((c|0)>=0&(c|0)<=v[b+60>>2]){break c}d=f>>>8|0;v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;h:{if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;t[c|0]=d;break h}c=-1;if((Fc(b,d&255)|0)==-1){break a}}d=v[b+8>>2];if(d&7){break b}c=v[b+64>>2];if((c|0)>=0&(c|0)<=v[b+60>>2]){break c}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;i:{if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;t[c|0]=f;break i}c=-1;if((Fc(b,f&255)|0)==-1){break a}}c=0;e=e+1|0;if(e>>>0>2]){continue}break}break a}v[b+8>>2]=d|4}c=-1}return c|0}function SHa(a,b){a=a|0;b=b|0;var 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,w=0,z=0;d=v[a+400>>2];e=d;c=v[d+20>>2];j=v[d+16>>2];if((c|0)>(j|0)){m=d+24|0;t=v[a+284>>2]-1|0;p=v[a+308>>2]-1|0;i=v[d+12>>2];while(1){if(i>>>0<=p>>>0){while(1){e=0;n=0;c=v[a+288>>2];if((c|0)>=1){while(1){f=v[((n<<2)+a|0)+292>>2];if(v[f+60>>2]>=1){w=B(v[f+68>>2],i);z=v[(v[a+416>>2]+(v[f+4>>2]<<2)|0)+4>>2];k=v[(i>>>0

>>0?56:72)+f>>2];s=k+1|0;q=B(v[f+40>>2],j);o=0;while(1){a:{if(!(v[f+76>>2]<=(j+o|0)&y[d+8>>2]>=t>>>0)){Ub[z|0](a,f,v[(v[f+4>>2]<<2)+b>>2],v[((e<<2)+d|0)+24>>2],q,w,k);h=v[f+56>>2];if((k|0)>=(h|0)){break a}g=(e+k<<2)+d|0;qe(v[g+24>>2],h-k<<7);h=v[f+56>>2];if((k|0)>=(h|0)){break a}l=g;c=k;if(h-c&1){u[v[l+24>>2]>>1]=x[v[g+20>>2]>>1];c=s}if((h|0)==(s|0)){break a}while(1){g=(c+e<<2)+d|0;u[v[g+24>>2]>>1]=x[v[g+20>>2]>>1];u[v[g+28>>2]>>1]=x[v[g+24>>2]>>1];c=c+2|0;if((h|0)!=(c|0)){continue}break}break a}c=(e<<2)+d|0;qe(v[c+24>>2],v[f+56>>2]<<7);h=v[f+56>>2];if((h|0)<1){break a}l=h&3;g=v[c+20>>2];c=0;if(h-1>>>0>=3){r=h&-4;while(1){u[v[(c+e<<2)+m>>2]>>1]=x[g>>1];u[v[((c|1)+e<<2)+m>>2]>>1]=x[g>>1];u[v[((c|2)+e<<2)+m>>2]>>1]=x[g>>1];u[v[((c|3)+e<<2)+m>>2]>>1]=x[g>>1];c=c+4|0;r=r-4|0;if(r){continue}break}}if(!l){break a}while(1){u[v[((c+e<<2)+d|0)+24>>2]>>1]=x[g>>1];c=c+1|0;l=l-1|0;if(l){continue}break}}e=e+h|0;q=v[f+40>>2]+q|0;o=o+1|0;if((o|0)>2]){continue}break}c=v[a+288>>2]}n=n+1|0;if((n|0)<(c|0)){continue}break}}if(!(Ub[v[v[a+420>>2]+4>>2]](a,m)|0)){v[d+12>>2]=i;v[d+16>>2]=j;return 0}i=i+1|0;if(p>>>0>=i>>>0){continue}break}c=v[d+20>>2]}i=0;v[d+12>>2]=0;j=j+1|0;if((j|0)<(c|0)){continue}break}e=v[a+400>>2]}v[d+8>>2]=v[d+8>>2]+1;c=1;c=v[a+288>>2]<=1?v[v[a+292>>2]+(y[e+8>>2]>2]-1>>>0?12:76)>>2]:c;v[e+12>>2]=0;v[e+16>>2]=0;v[e+20>>2]=c;return 1}function B3(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;v[a+12>>2]=0;v[a+16>>2]=0;d=v[b+8>>2];a:{b:{c:{if(d&7){break c}d:{f=v[b+64>>2];if((f|0)>=0&(f|0)<=v[b+60>>2]){break d}f=v[b+28>>2];v[b+28>>2]=f-1;e:{if((f|0)>=1){v[b+60>>2]=v[b+60>>2]+1;f=v[b+24>>2];v[b+24>>2]=f+1;f=w[f|0];break e}f=Hc(b,1);if((f|0)==-1){break c}d=v[b+8>>2]}if(d&7){break c}g=v[b+64>>2];if((g|0)>=0&(g|0)<=v[b+60>>2]){break d}g=v[b+28>>2];v[b+28>>2]=g-1;f:{if((g|0)>=1){v[b+60>>2]=v[b+60>>2]+1;g=v[b+24>>2];v[b+24>>2]=g+1;g=w[g|0];break f}g=Hc(b,1);if((g|0)==-1){break c}d=v[b+8>>2]}if(d&7){break c}e=v[b+64>>2];if((e|0)>=0&(e|0)<=v[b+60>>2]){break d}e=v[b+28>>2];v[b+28>>2]=e-1;g:{if((e|0)>=1){v[b+60>>2]=v[b+60>>2]+1;e=v[b+24>>2];v[b+24>>2]=e+1;e=w[e|0];break g}e=Hc(b,1);if((e|0)==-1){break c}d=v[b+8>>2]}if(d&7){break c}h=v[b+64>>2];if((h|0)>=0&(h|0)<=v[b+60>>2]){break d}d=v[b+28>>2];v[b+28>>2]=d-1;h:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;d=w[d|0];break h}d=Hc(b,1);if((d|0)==-1){break c}}d=(f<<16|g<<8|e)<<8|d;v[a+12>>2]=d;f=jc(d<<2);v[a+16>>2]=f;if(!f){break b}if(v[a+12>>2]){d=v[b+8>>2];if(d&7){break c}g=0;while(1){e=v[b+64>>2];if((e|0)>=0&(e|0)<=v[b+60>>2]){break d}e=v[b+28>>2];v[b+28>>2]=e-1;i:{if((e|0)>=1){v[b+60>>2]=v[b+60>>2]+1;e=v[b+24>>2];v[b+24>>2]=e+1;e=w[e|0];break i}e=Hc(b,1);if((e|0)==-1){break c}d=v[b+8>>2]}if(d&7){break c}h=v[b+64>>2];if((h|0)>=0&(h|0)<=v[b+60>>2]){break d}d=v[b+28>>2];v[b+28>>2]=d-1;j:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;d=w[d|0];break j}d=Hc(b,1);if((d|0)==-1){break c}}v[f>>2]=e<<8|d;g=g+1|0;d=v[a+12>>2];if(g>>>0>>0){f=v[a+16>>2]+(g<<2)|0;d=v[b+8>>2];if(!(d&7)){continue}break c}break}d=(d<<1)+4|0}else{d=4}b=0;if((c|0)==(d|0)){break a}break c}v[b+8>>2]=d|4}f=v[a+16>>2]}b=-1;if(!f){break a}dc(f)}return b|0}function NCa(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;g=Qb-128|0;Qb=g;d=v[a+28>>2];a:{if(v[d+664>>2]){d=-1;a=v[a+108>>2];b:{if(!a){break b}a=v[a+4>>2];if(v[a+8>>2]==13){break b}a=v[a+16>>2];d=Ub[v[v[a>>2]+52>>2]](a)|0}kc(0,d,245262,0);break a}c:{d=v[d+116>>2];if((Ub[v[v[d>>2]+12>>2]](d)|0)==10){d:{if(c){e=c-1|0;if(v[(e<<4)+b>>2]==4){break d}}d=-1;a=v[a+108>>2];e:{if(!a){break e}a=v[a+4>>2];if(v[a+8>>2]==13){break e}a=v[a+16>>2];d=Ub[v[v[a>>2]+52>>2]](a)|0}kc(1,d,288064,0);break a}if((c|0)>=2){d=v[v[v[a+28>>2]+116>>2]+12>>2];if(!d){break c}if((Ub[v[v[d>>2]+28>>2]](d)|0)!=(e|0)){break c}c=c-2|0;f=c>>>0<31?c:31;d=0;while(1){c=(d<<4)+b|0;i=v[c>>2];if(i-1>>>0<=1){j=(d<<2)+g|0;h=((i|0)==1?+v[c+8>>2]:A[c+8>>3])*65536;f:{if(D(h)<2147483648){c=~~h;break f}c=-2147483648}v[j>>2]=c}c=(d|0)!=(f|0);d=d+1|0;if(c){continue}break}gc(v[a+28>>2]+124|0,g,128);c=v[a+8>>2];Ub[v[v[c>>2]+116>>2]](c,v[a+28>>2])}b=bT(v[a+20>>2],v[((e<<4)+b|0)+8>>2]);if(!b){break a}c=v[a+28>>2];a=v[c+380>>2];if(a){Ub[v[v[a>>2]+4>>2]](a)}v[c+380>>2]=b;break a}d=v[v[a+28>>2]+116>>2];if((Ub[v[v[d>>2]+28>>2]](d)|0)!=(c|0)){d=-1;a=v[a+108>>2];g:{if(!a){break g}a=v[a+4>>2];if(v[a+8>>2]==13){break g}a=v[a+16>>2];d=Ub[v[v[a>>2]+52>>2]](a)|0}kc(1,d,288017,0);break a}d=0;f=v[a+28>>2];e=v[f+380>>2];if(e){Ub[v[v[e>>2]+4>>2]](e)}v[f+380>>2]=0;if((c|0)>=1){c=c-1|0;e=c>>>0<31?c:31;while(1){c=(d<<4)+b|0;f=v[c>>2];if(f-1>>>0<=1){i=(d<<2)+g|0;h=((f|0)==1?+v[c+8>>2]:A[c+8>>3])*65536;h:{if(D(h)<2147483648){c=~~h;break h}c=-2147483648}v[i>>2]=c}c=(d|0)!=(e|0);d=d+1|0;if(c){continue}break}}gc(v[a+28>>2]+124|0,g,128);b=v[a+8>>2];Ub[v[v[b>>2]+116>>2]](b,v[a+28>>2]);break a}d=-1;a=v[a+108>>2];i:{if(!a){break i}a=v[a+4>>2];if(v[a+8>>2]==13){break i}a=v[a+16>>2];d=Ub[v[v[a>>2]+52>>2]](a)|0}kc(1,d,288017,0)}Qb=g+128|0}function BDa(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;g=Qb-128|0;Qb=g;d=v[a+28>>2];a:{if(v[d+664>>2]){d=-1;a=v[a+108>>2];b:{if(!a){break b}a=v[a+4>>2];if(v[a+8>>2]==13){break b}a=v[a+16>>2];d=Ub[v[v[a>>2]+52>>2]](a)|0}kc(0,d,245262,0);break a}c:{d=v[d+120>>2];if((Ub[v[v[d>>2]+12>>2]](d)|0)==10){d:{if(c){e=c-1|0;if(v[(e<<4)+b>>2]==4){break d}}d=-1;a=v[a+108>>2];e:{if(!a){break e}a=v[a+4>>2];if(v[a+8>>2]==13){break e}a=v[a+16>>2];d=Ub[v[v[a>>2]+52>>2]](a)|0}kc(1,d,288192,0);break a}if((c|0)>=2){d=v[v[v[a+28>>2]+120>>2]+12>>2];if(!d){break c}if((Ub[v[v[d>>2]+28>>2]](d)|0)!=(e|0)){break c}c=c-2|0;f=c>>>0<31?c:31;d=0;while(1){c=(d<<4)+b|0;i=v[c>>2];if(i-1>>>0<=1){j=(d<<2)+g|0;h=((i|0)==1?+v[c+8>>2]:A[c+8>>3])*65536;f:{if(D(h)<2147483648){c=~~h;break f}c=-2147483648}v[j>>2]=c}c=(d|0)!=(f|0);d=d+1|0;if(c){continue}break}gc(v[a+28>>2]+252|0,g,128);c=v[a+8>>2];Ub[v[v[c>>2]+120>>2]](c,v[a+28>>2])}b=bT(v[a+20>>2],v[((e<<4)+b|0)+8>>2]);if(!b){break a}c=v[a+28>>2];a=v[c+384>>2];if(a){Ub[v[v[a>>2]+4>>2]](a)}v[c+384>>2]=b;break a}d=v[v[a+28>>2]+120>>2];if((Ub[v[v[d>>2]+28>>2]](d)|0)!=(c|0)){d=-1;a=v[a+108>>2];g:{if(!a){break g}a=v[a+4>>2];if(v[a+8>>2]==13){break g}a=v[a+16>>2];d=Ub[v[v[a>>2]+52>>2]](a)|0}kc(1,d,288145,0);break a}d=0;f=v[a+28>>2];e=v[f+384>>2];if(e){Ub[v[v[e>>2]+4>>2]](e)}v[f+384>>2]=0;if((c|0)>=1){c=c-1|0;e=c>>>0<31?c:31;while(1){c=(d<<4)+b|0;f=v[c>>2];if(f-1>>>0<=1){i=(d<<2)+g|0;h=((f|0)==1?+v[c+8>>2]:A[c+8>>3])*65536;h:{if(D(h)<2147483648){c=~~h;break h}c=-2147483648}v[i>>2]=c}c=(d|0)!=(e|0);d=d+1|0;if(c){continue}break}}gc(v[a+28>>2]+252|0,g,128);b=v[a+8>>2];Ub[v[v[b>>2]+120>>2]](b,v[a+28>>2]);break a}d=-1;a=v[a+108>>2];i:{if(!a){break i}a=v[a+4>>2];if(v[a+8>>2]==13){break i}a=v[a+16>>2];d=Ub[v[v[a>>2]+52>>2]](a)|0}kc(1,d,288145,0)}Qb=g+128|0}function b1a(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;j=c+d|0;if(v[b>>2]?y[b+12>>2]>>0|j>>>0>y[b+4>>2]:1){d=v[a>>2];v[d+20>>2]=23;Ub[v[d>>2]](a)}d=v[b+24>>2];a:{if(d>>>0<=c>>>0&d+v[b+16>>2]>>>0>=j>>>0){break a}if(!v[b+40>>2]){d=v[a>>2];v[d+20>>2]=71;Ub[v[d>>2]](a)}if(v[b+36>>2]){d=v[b+16>>2];b:{if((d|0)<1){break b}g=v[b+20>>2];g=(d|0)>(g|0)?g:d;d=v[b+24>>2];f=v[b+28>>2]-d|0;g=(f|0)>(g|0)?g:f;f=v[b+4>>2]-d|0;f=(f|0)>(g|0)?g:f;if((f|0)<1){break b}l=b+48|0;k=v[b+8>>2]<<7;g=B(k,d);d=0;while(1){h=B(f,k);Ub[v[b+52>>2]](a,l,v[v[b>>2]+(d<<2)>>2],g,h);f=v[b+20>>2];d=f+d|0;i=v[b+16>>2];if((d|0)>=(i|0)){break b}g=g+h|0;h=i-d|0;f=(f|0)<(h|0)?f:h;h=v[b+24>>2]+d|0;i=v[b+28>>2]-h|0;f=(f|0)<(i|0)?f:i;h=v[b+4>>2]-h|0;f=(f|0)<(h|0)?f:h;if((f|0)>0){continue}break}}v[b+36>>2]=0}d=v[b+16>>2];g=j-d|0;g=y[b+24>>2]>>0?c:(g|0)>0?g:0;v[b+24>>2]=g;if((d|0)<1){break a}f=v[b+20>>2];d=(d|0)>(f|0)?f:d;f=v[b+28>>2]-g|0;d=(d|0)<(f|0)?d:f;f=v[b+4>>2]-g|0;f=(d|0)<(f|0)?d:f;if((f|0)<1){break a}l=b+48|0;k=v[b+8>>2]<<7;g=B(k,g);d=0;while(1){h=B(f,k);Ub[v[b+48>>2]](a,l,v[v[b>>2]+(d<<2)>>2],g,h);f=v[b+20>>2];d=f+d|0;i=v[b+16>>2];if((d|0)>=(i|0)){break a}g=g+h|0;h=i-d|0;f=(f|0)<(h|0)?f:h;h=v[b+24>>2]+d|0;i=v[b+28>>2]-h|0;f=(f|0)<(i|0)?f:i;h=v[b+4>>2]-h|0;f=(f|0)<(h|0)?f:h;if((f|0)>0){continue}break}}d=v[b+28>>2];c:{d:{e:{if(j>>>0<=d>>>0){break e}f:{g:{h:{if(c>>>0>d>>>0){d=c;if(!e){break h}d=v[a>>2];v[d+20>>2]=23;Ub[v[d>>2]](a);d=c;break g}if(e){break g}}if(v[b+32>>2]){break f}d=v[a>>2];v[d+20>>2]=23;Ub[v[d>>2]](a);break c}v[b+28>>2]=j;if(!v[b+32>>2]){break d}}a=v[b+24>>2];d=d-a|0;a=j-a|0;if(d>>>0>=a>>>0){break e}g=v[b+8>>2]<<7;while(1){qe(v[v[b>>2]+(d<<2)>>2],g);d=d+1|0;if((a|0)!=(d|0)){continue}break}}if(!e){break c}}v[b+36>>2]=1}return v[b>>2]+(c-v[b+24>>2]<<2)|0}function Vba(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,h=0;a=Qb-272|0;Qb=a;v[a+256>>2]=c;v[a+264>>2]=b;h=$j(d);Yq(a+208|0,d,a+255|0);b=ge(a+192|0);c=w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10;v[299999]=0;V(5542,b|0,c|0);c=v[299999];v[299999]=0;a:{b:{c:{if((c|0)!=1){d=a;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+188>>2]=c;v[a+12>>2]=a+16;v[a+8>>2]=0;while(1){d:{v[299999]=0;d=Q(5473,a+264|0,a+256|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break d}if(!d){break c}g=v[a+188>>2];if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}if((g|0)==(d+c|0)){if(w[b+11|0]>>>7|0){c=v[b+4>>2]}else{c=w[b+11|0]}if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}v[299999]=0;V(5542,b|0,d<<1);d=v[299999];v[299999]=0;if((d|0)==1){break b}d=w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10;v[299999]=0;V(5542,b|0,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break b}d=a;g=c;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+188>>2]=g+c}v[299999]=0;d=S(5474,a+264|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break d}v[299999]=0;d=Jn(d,h,c,a+188|0,a+8|0,t[a+255|0],a+208|0,a+16|0,a+12|0,1016064);g=v[299999];v[299999]=0;if((g|0)==1){break d}if(d){break c}v[299999]=0;S(5476,a+264|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){continue}}break}break b}break b}if(w[a+219|0]>>>7|0){d=v[a+212>>2]}else{d=w[a+219|0]}e:{if(!d){break e}d=v[a+12>>2];if((d-(a+16|0)|0)>159){break e}v[a+12>>2]=d+4;v[d>>2]=v[a+8>>2]}v[299999]=0;c=Z(5544,c|0,v[a+188>>2],e|0,h|0)|0;d=v[299999];v[299999]=0;f:{if((d|0)==1){break f}v[f>>2]=c;v[299999]=0;Xg(a+208|0,a+16|0,v[a+12>>2],e);c=v[299999];v[299999]=0;if((c|0)==1){break f}v[299999]=0;c=Q(5539,a+264|0,a+256|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break f}if(c){v[e>>2]=v[e>>2]|2}c=v[a+264>>2];Mc(b);Mc(a+208|0);Qb=a+272|0;break a}}c=P()|0;O()|0;Mc(b);Mc(a+208|0);T(c|0);L()}return c|0}function Rba(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,h=0;a=Qb-272|0;Qb=a;v[a+256>>2]=c;v[a+264>>2]=b;h=$j(d);Yq(a+208|0,d,a+255|0);b=ge(a+192|0);c=w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10;v[299999]=0;V(5542,b|0,c|0);c=v[299999];v[299999]=0;a:{b:{c:{if((c|0)!=1){d=a;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+188>>2]=c;v[a+12>>2]=a+16;v[a+8>>2]=0;while(1){d:{v[299999]=0;d=Q(5473,a+264|0,a+256|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break d}if(!d){break c}g=v[a+188>>2];if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}if((g|0)==(d+c|0)){if(w[b+11|0]>>>7|0){c=v[b+4>>2]}else{c=w[b+11|0]}if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}v[299999]=0;V(5542,b|0,d<<1);d=v[299999];v[299999]=0;if((d|0)==1){break b}d=w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10;v[299999]=0;V(5542,b|0,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break b}d=a;g=c;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+188>>2]=g+c}v[299999]=0;d=S(5474,a+264|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break d}v[299999]=0;d=Jn(d,h,c,a+188|0,a+8|0,t[a+255|0],a+208|0,a+16|0,a+12|0,1016064);g=v[299999];v[299999]=0;if((g|0)==1){break d}if(d){break c}v[299999]=0;S(5476,a+264|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){continue}}break}break b}break b}if(w[a+219|0]>>>7|0){d=v[a+212>>2]}else{d=w[a+219|0]}e:{if(!d){break e}d=v[a+12>>2];if((d-(a+16|0)|0)>159){break e}v[a+12>>2]=d+4;v[d>>2]=v[a+8>>2]}v[299999]=0;c=Z(5549,c|0,v[a+188>>2],e|0,h|0)|0;d=v[299999];v[299999]=0;f:{if((d|0)==1){break f}u[f>>1]=c;v[299999]=0;Xg(a+208|0,a+16|0,v[a+12>>2],e);c=v[299999];v[299999]=0;if((c|0)==1){break f}v[299999]=0;c=Q(5539,a+264|0,a+256|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break f}if(c){v[e>>2]=v[e>>2]|2}c=v[a+264>>2];Mc(b);Mc(a+208|0);Qb=a+272|0;break a}}c=P()|0;O()|0;Mc(b);Mc(a+208|0);T(c|0);L()}return c|0}function Pba(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,h=0;a=Qb-272|0;Qb=a;v[a+256>>2]=c;v[a+264>>2]=b;h=$j(d);Yq(a+208|0,d,a+255|0);b=ge(a+192|0);c=w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10;v[299999]=0;V(5542,b|0,c|0);c=v[299999];v[299999]=0;a:{b:{c:{if((c|0)!=1){d=a;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+188>>2]=c;v[a+12>>2]=a+16;v[a+8>>2]=0;while(1){d:{v[299999]=0;d=Q(5473,a+264|0,a+256|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break d}if(!d){break c}g=v[a+188>>2];if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}if((g|0)==(d+c|0)){if(w[b+11|0]>>>7|0){c=v[b+4>>2]}else{c=w[b+11|0]}if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}v[299999]=0;V(5542,b|0,d<<1);d=v[299999];v[299999]=0;if((d|0)==1){break b}d=w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10;v[299999]=0;V(5542,b|0,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break b}d=a;g=c;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+188>>2]=g+c}v[299999]=0;d=S(5474,a+264|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break d}v[299999]=0;d=Jn(d,h,c,a+188|0,a+8|0,t[a+255|0],a+208|0,a+16|0,a+12|0,1016064);g=v[299999];v[299999]=0;if((g|0)==1){break d}if(d){break c}v[299999]=0;S(5476,a+264|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){continue}}break}break b}break b}if(w[a+219|0]>>>7|0){d=v[a+212>>2]}else{d=w[a+219|0]}e:{if(!d){break e}d=v[a+12>>2];if((d-(a+16|0)|0)>159){break e}v[a+12>>2]=d+4;v[d>>2]=v[a+8>>2]}v[299999]=0;c=Z(5550,c|0,v[a+188>>2],e|0,h|0)|0;d=v[299999];v[299999]=0;f:{if((d|0)==1){break f}v[f>>2]=c;v[299999]=0;Xg(a+208|0,a+16|0,v[a+12>>2],e);c=v[299999];v[299999]=0;if((c|0)==1){break f}v[299999]=0;c=Q(5539,a+264|0,a+256|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break f}if(c){v[e>>2]=v[e>>2]|2}c=v[a+264>>2];Mc(b);Mc(a+208|0);Qb=a+272|0;break a}}c=P()|0;O()|0;Mc(b);Mc(a+208|0);T(c|0);L()}return c|0}function Oqa(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;e=Qb-32|0;Qb=e;i=a+108|0;a:{b:{c:{d:{while(1){v[e+24>>2]=0;d=0;e:{f:{h=v[a+116>>2];if(h){while(1){d=e;f=v[h+8>>2];if(f){v[299999]=0;v[f+4>>2]=v[f+4>>2]+1;f=v[299999];v[299999]=0;if((f|0)==1){break d}f=v[h+8>>2]}else{f=0}v[d+16>>2]=f;g:{if(!(v[f+20>>2]!=(b|0)|v[f+24>>2]!=(c|0))){v[299999]=0;Q(4344,e+24|0,e+16|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break f}v[e+12>>2]=i;v[e+8>>2]=h;v[299999]=0;V(4460,i|0,e+8|0);d=v[299999];v[299999]=0;if((d|0)!=1){g=v[e+16>>2];v[e+16>>2]=0;if(!g){break g}v[299999]=0;f=v[g+4>>2]-1|0;v[g+4>>2]=f;d=v[299999];v[299999]=0;if((d|0)!=1){if(f){break g}v[299999]=0;R(4338,g|0);d=v[299999];v[299999]=0;if((d|0)!=1){break g}}break a}break f}h=v[h>>2];v[299999]=0;v[e+16>>2]=0;g=v[f+4>>2]-1|0;v[f+4>>2]=g;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(!g){v[299999]=0;R(4338,f|0);d=v[299999];v[299999]=0;if((d|0)==1){break a}}if(h){continue}}break}d=v[e+24>>2]}if(!d){break b}v[299999]=0;d=d+8|0;if(v[d>>2]!=1){v[d>>2]=1}d=v[299999];v[299999]=0;if((d|0)!=1){break e}d=P()|0;O()|0;break c}d=P()|0;O()|0;ec(e+16|0);break c}g=v[e+24>>2];v[e+24>>2]=0;if(!g){continue}v[299999]=0;f=v[g+4>>2]-1|0;v[g+4>>2]=f;d=v[299999];v[299999]=0;if((d|0)!=1){if(f){continue}v[299999]=0;R(4338,g|0);d=v[299999];v[299999]=0;if((d|0)!=1){continue}}break}break a}d=P()|0;O()|0}ec(e+24|0);T(d|0);L()}h:{i:{d=v[a+16>>2];if(!d){break i}v[d+4>>2]=v[d+4>>2]+1;d=v[a+16>>2];v[e+8>>2]=d;if(!d){break i}v[299999]=0;U(4495,d|0,b|0,c|0);a=v[299999];v[299999]=0;if((a|0)==1){a=P()|0;O()|0;ec(e+8|0);T(a|0);L()}v[299999]=0;b=v[d+4>>2]-1|0;v[d+4>>2]=b;a=v[299999];v[299999]=0;if((a|0)!=1){if(b){break h}v[299999]=0;R(4338,d|0);a=v[299999];v[299999]=0;if((a|0)!=1){break h}}break a}v[e+8>>2]=0}Qb=e+32|0;return}W(0)|0;O()|0;lc();L()}function Oba(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,h=0;a=Qb-272|0;Qb=a;v[a+256>>2]=c;v[a+264>>2]=b;h=$j(d);Yq(a+208|0,d,a+255|0);b=ge(a+192|0);c=w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10;v[299999]=0;V(5542,b|0,c|0);c=v[299999];v[299999]=0;a:{b:{c:{if((c|0)!=1){d=a;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+188>>2]=c;v[a+12>>2]=a+16;v[a+8>>2]=0;while(1){d:{v[299999]=0;d=Q(5473,a+264|0,a+256|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break d}if(!d){break c}g=v[a+188>>2];if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}if((g|0)==(d+c|0)){if(w[b+11|0]>>>7|0){c=v[b+4>>2]}else{c=w[b+11|0]}if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}v[299999]=0;V(5542,b|0,d<<1);d=v[299999];v[299999]=0;if((d|0)==1){break b}d=w[b+11|0]>>>7|0?(v[b+8>>2]&2147483647)-1|0:10;v[299999]=0;V(5542,b|0,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break b}d=a;g=c;if(w[b+11|0]>>>7|0){c=v[b>>2]}else{c=b}v[d+188>>2]=g+c}v[299999]=0;d=S(5474,a+264|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break d}v[299999]=0;d=Jn(d,h,c,a+188|0,a+8|0,t[a+255|0],a+208|0,a+16|0,a+12|0,1016064);g=v[299999];v[299999]=0;if((g|0)==1){break d}if(d){break c}v[299999]=0;S(5476,a+264|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){continue}}break}break b}break b}if(w[a+219|0]>>>7|0){d=v[a+212>>2]}else{d=w[a+219|0]}e:{if(!d){break e}d=v[a+12>>2];if((d-(a+16|0)|0)>159){break e}v[a+12>>2]=d+4;v[d>>2]=v[a+8>>2]}v[299999]=0;c=Z(5551,c|0,v[a+188>>2],e|0,h|0)|0;d=v[299999];v[299999]=0;f:{if((d|0)==1){break f}v[f>>2]=c;v[299999]=0;Xg(a+208|0,a+16|0,v[a+12>>2],e);c=v[299999];v[299999]=0;if((c|0)==1){break f}v[299999]=0;c=Q(5539,a+264|0,a+256|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break f}if(c){v[e>>2]=v[e>>2]|2}c=v[a+264>>2];Mc(b);Mc(a+208|0);Qb=a+272|0;break a}}c=P()|0;O()|0;Mc(b);Mc(a+208|0);T(c|0);L()}return c|0}function yab(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;if(e){p=e-1|0;q=e-2|0;m=(e|0)==1;while(1){a=f;u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];f=a+6|0;g=g+6|0;a:{if(!m&l>>>0>=p>>>0){break a}j=l?(l|0)==(q|0)?d:b:c;n=!l&m;if(n){if(j>>>0<2){break a}h=j-1|0;i=h&3;if(j-2>>>0>=3){h=h&-4;while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];u[g+6>>1]=x[a>>1];u[g+8>>1]=x[a+2>>1];u[g+10>>1]=x[a+4>>1];u[g+12>>1]=x[a>>1];u[g+14>>1]=x[a+2>>1];u[g+16>>1]=x[a+4>>1];u[g+18>>1]=x[a>>1];u[g+20>>1]=x[a+2>>1];u[g+22>>1]=x[a+4>>1];g=g+24|0;h=h-4|0;if(h){continue}break}}if(!i){break a}while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];g=g+6|0;i=i-1|0;if(i){continue}break}break a}i=j+1>>>1|0;b:{if(j>>>0<3){break b}k=i>>>0>2?i:2;o=k-1|0;h=o&3;if(k-2>>>0>=3){k=o&-4;while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];u[g+6>>1]=x[a>>1];u[g+8>>1]=x[a+2>>1];u[g+10>>1]=x[a+4>>1];u[g+12>>1]=x[a>>1];u[g+14>>1]=x[a+2>>1];u[g+16>>1]=x[a+4>>1];u[g+18>>1]=x[a>>1];u[g+20>>1]=x[a+2>>1];u[g+22>>1]=x[a+4>>1];g=g+24|0;k=k-4|0;if(k){continue}break}}if(!h){break b}while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];g=g+6|0;h=h-1|0;if(h){continue}break}}if(i>>>0>=j>>>0){break a}a=n?0:f;k=(i^-1)+j|0;h=j-i&3;if(h){while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];i=i+1|0;g=g+6|0;h=h-1|0;if(h){continue}break}}if(k>>>0<3){break a}while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];u[g+6>>1]=x[a>>1];u[g+8>>1]=x[a+2>>1];u[g+10>>1]=x[a+4>>1];u[g+12>>1]=x[a>>1];u[g+14>>1]=x[a+2>>1];u[g+16>>1]=x[a+4>>1];u[g+18>>1]=x[a>>1];u[g+20>>1]=x[a+2>>1];u[g+22>>1]=x[a+4>>1];g=g+24|0;i=i+4|0;if((j|0)!=(i|0)){continue}break}}l=l+1|0;if((l|0)!=(e|0)){continue}break}}return 0}function hua(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;a=Qb-48|0;Qb=a;a:{f=0;b:{if(ph(b)){break b}v[a+40>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;v[299999]=0;f=wg(b);e=v[299999];v[299999]=0;c:{d:{e:{f:{g:{if((e|0)!=1){h:{while(1){v[299999]=0;e=Q(4155,b|0,f|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break h}if(!e){break c}v[299999]=0;V(4145,a+16|0,b|0);e=v[299999];v[299999]=0;if((e|0)==1){break g}if(t[a+43|0]<=-1){dc(v[a+32>>2])}v[a+40>>2]=v[a+24>>2];e=v[a+20>>2];v[a+32>>2]=v[a+16>>2];v[a+36>>2]=e;v[299999]=0;V(4231,a+16|0,a+32|0);e=v[299999];v[299999]=0;if((e|0)==1){break f}if(t[a+43|0]<=-1){dc(v[a+32>>2])}v[a+40>>2]=v[a+24>>2];e=v[a+20>>2];v[a+32>>2]=v[a+16>>2];v[a+36>>2]=e;e=t[a+43|0];if((((e|0)<0?v[a+36>>2]:e&255)|0)!=15){continue}v[299999]=0;e=ca(2608,a+32|0,0,-1,977028,15)|0;h=v[299999];v[299999]=0;if((h|0)==1){break a}if(e){continue}break}v[a+24>>2]=0;v[299999]=0;v[a+16>>2]=0;v[a+20>>2]=0;U(4146,b|0,977092,a+16|0);b=v[299999];v[299999]=0;if((b|0)==1){break e}v[299999]=0;U(4215,a+16|0,a+12|0,a+8|0);b=v[299999];v[299999]=0;if((b|0)==1){break e}v[a+4>>2]=v[a+12>>2]&16777215;b=v[v[c>>2]+52>>2];v[299999]=0;Q(b|0,c|0,a+4|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break e}v[299999]=0;f=v[a+8>>2];g=A[d+48>>3];b=v[299999];v[299999]=0;if((b|0)==1){break e}b=a;g=g*+(f|0);i:{if(D(g)<2147483648){d=~~g;break i}d=-2147483648}v[b+4>>2]=d;b=v[v[c>>2]+60>>2];v[299999]=0;Q(b|0,c|0,a+4|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break e}if(t[a+27|0]<=-1){dc(v[a+16>>2])}if(t[a+43|0]<=-1){dc(v[a+32>>2])}f=1;break b}b=P()|0;O()|0;break d}b=P()|0;O()|0;break d}b=P()|0;O()|0;break d}b=P()|0;O()|0;break d}b=P()|0;O()|0;if(t[a+27|0]>-1){break d}dc(v[a+16>>2])}if(t[a+43|0]<=-1){dc(v[a+32>>2])}T(b|0);L()}if(t[a+43|0]<=-1){dc(v[a+32>>2])}f=0}Qb=a+48|0;return f|0}W(0)|0;O()|0;lc();L()}function Gx(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;g=Qb-32|0;Qb=g;d=c-b|0;a:{b:{if((d|0)<=-2){a=vc(g+8|0,273945,241095,148,337099,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}d=P()|0;O()|0;qc(a);break b}c:{d:{if((d|0)==-1){d=v[a+12>>2];Ub[v[a+32>>2]](v[a+8>>2],v[a+20>>2]-d|0,v[a+24>>2]-d|0);dc(v[a+8>>2]);v[a+20>>2]=b;v[a+12>>2]=b;v[a+8>>2]=0;v[a+24>>2]=c;v[a+16>>2]=c;break d}f=v[a+16>>2];d=v[a+12>>2];if(!((f|0)<(c|0)|(d|0)>(b|0))){Ub[v[a+36>>2]](v[a+8>>2],b-d|0,v[a+20>>2]+(d^-1)|0);d=v[a+12>>2];Ub[v[a+32>>2]](v[a+8>>2],v[a+20>>2]-d|0,(d^-1)+b|0);d=v[a+12>>2];Ub[v[a+36>>2]](v[a+8>>2],(v[a+24>>2]-d|0)+1|0,c-d|0);d=v[a+12>>2];Ub[v[a+32>>2]](v[a+8>>2],(c-d|0)+1|0,v[a+24>>2]-d|0);v[a+24>>2]=c;v[a+20>>2]=b;break d}i=(d|0)>(f|0);f=i?b:f;d=i?b:d;if((d|0)>(b|0)){while(1){e=d;d=f-d|0;d=(d|0)<32768?d:32768;d=e-((d|0)>8?d:8)|0;if((d|0)>(b|0)){continue}break}}if((c|0)>(f|0)){while(1){e=f;f=f-d|0;f=(f|0)<32768?f:32768;f=e+((f|0)>8?f:8)|0;if((f|0)<(c|0)){continue}break}}j=1-d|0;e=B(v[a+28>>2],j+f|0);i=Bg(g+8|0,g+4|0,e,1);ic(v[g+4>>2],0,e);e=v[a+36>>2];h=v[a+20>>2];v[299999]=0;U(e|0,v[g+4>>2],b-d|0,h+(d^-1)|0);e=v[299999];v[299999]=0;if((e|0)==1){break c}l=v[a+8>>2];m=v[a+40>>2];e=v[a+20>>2];h=v[a+12>>2];k=v[a+24>>2];v[299999]=0;da(m|0,v[g+4>>2],e-d|0,k-d|0,l|0,e-h|0,k-h|0);e=v[299999];v[299999]=0;if((e|0)==1){break c}e=v[a+36>>2];h=v[a+24>>2];v[299999]=0;U(e|0,v[g+4>>2],h+j|0,c-d|0);e=v[299999];v[299999]=0;if((e|0)==1){break c}h=v[a+8>>2];k=v[a+32>>2];j=v[a+20>>2];l=v[a+24>>2];e=v[a+12>>2];v[299999]=0;U(k|0,h|0,j-e|0,l-e|0);e=v[299999];v[299999]=0;if((e|0)==1){break c}e=v[a+8>>2];v[a+8>>2]=v[g+4>>2];v[g+4>>2]=e;v[a+24>>2]=c;v[a+20>>2]=b;v[a+16>>2]=f;v[a+12>>2]=d;Lc(i)}Qb=g+32|0;return}d=P()|0;O()|0;Lc(i)}T(d|0)}L()}function lQa(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,h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=Qb-32|0;Qb=h;a:{i=v[a+164>>2];b:{if(!i){break b}g=v[a+168>>2];if(!g){g=Ub[v[v[i>>2]+16>>2]](i)|0}j=CY(h+24|0);v[v[j>>2]>>2]=v[a+8>>2];i=v[v[g>>2]+28>>2];v[299999]=0;b=ca(i|0,g|0,j|0,b|0,c|0,d|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}v[a+12>>2]=b;c:{if(!b){break c}v[b+2228512>>2]=a;m=A[d>>3];k=A[e>>3];l=A[f>>3];v[299999]=0;if(l<4294967296&l>=0){c=~~l>>>0}else{c=0}if(k<4294967296&k>=0){d=~~k>>>0}else{d=0}Ua(2542,b|0,+m,d|0,c|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}c=a+112|0;d:{if(t[a+123|0]<=-1){v[a+116>>2]=0;b=v[a+112>>2];break d}t[a+123|0]=0;b=c}v[b>>2]=0;n=1;b=v[v[a+12>>2]+180>>2];if(!b){break c}e=v[b+20>>2];e:{if(e){d=0;f:{i=w[e|0];if(!i){break f}g=e;while(1){b=d;d=b+1|0;f=w[g+1|0];g=g+1|0;if(f){continue}break}if((i|0)!=60|b>>>0<6|(w[e+1|0]!=117|w[e+2|0]!=116)){break f}if(w[e+3|0]!=102|w[e+4|0]!=56|w[e+5|0]!=62){break f}v[299999]=0;U(1564,h+8|0,e+6|0,b-5|0);b=v[299999];v[299999]=0;if((b|0)!=1){break e}break a}v[299999]=0;$(2543,h+8|0,e|0,d|0,0);b=v[299999];v[299999]=0;if((b|0)==1){break a}break e}t[h+19|0]=0;v[h+8>>2]=0}b=v[a+12>>2];d=b+2228520|0;if(t[b+2228531|0]<=-1){dc(v[d>>2])}b=v[h+12>>2];v[d>>2]=v[h+8>>2];v[d+4>>2]=b;v[d+8>>2]=v[h+16>>2];g=v[a+12>>2];f=g+2228520|0;if((f|0)==(c|0)){break c}d=w[g+2228531|0];e=d<<24>>24;if(t[a+123|0]>=0){if((e|0)>=0){a=v[f+4>>2];v[c>>2]=v[f>>2];v[c+4>>2]=a;v[c+8>>2]=v[f+8>>2];break c}b=v[g+2228524>>2];a=v[g+2228520>>2];v[299999]=0;Y(2544,c|0,a|0,b|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break c}break a}b=v[g+2228524>>2];a=v[g+2228520>>2];v[299999]=0;g=a;a=(e|0)<0;Y(2545,c|0,(a?g:f)|0,(a?b:d)|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break a}}Cd(j)}Qb=h+32|0;return n|0}a=P()|0;O()|0;Cd(j);T(a|0);L()}function T0a(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;j=c+d|0;if(v[b>>2]?y[b+12>>2]>>0|j>>>0>y[b+4>>2]:1){d=v[a>>2];v[d+20>>2]=23;Ub[v[d>>2]](a)}d=v[b+24>>2];a:{if(d>>>0<=c>>>0&d+v[b+16>>2]>>>0>=j>>>0){break a}if(!v[b+40>>2]){d=v[a>>2];v[d+20>>2]=71;Ub[v[d>>2]](a)}if(v[b+36>>2]){d=v[b+16>>2];b:{if((d|0)<1){break b}g=v[b+20>>2];g=(d|0)>(g|0)?g:d;d=v[b+24>>2];f=v[b+28>>2]-d|0;g=(f|0)>(g|0)?g:f;f=v[b+4>>2]-d|0;f=(f|0)>(g|0)?g:f;if((f|0)<1){break b}l=b+48|0;k=v[b+8>>2];g=B(k,d);d=0;while(1){h=B(f,k);Ub[v[b+52>>2]](a,l,v[v[b>>2]+(d<<2)>>2],g,h);f=v[b+20>>2];d=f+d|0;i=v[b+16>>2];if((d|0)>=(i|0)){break b}g=g+h|0;h=i-d|0;f=(f|0)<(h|0)?f:h;h=v[b+24>>2]+d|0;i=v[b+28>>2]-h|0;f=(f|0)<(i|0)?f:i;h=v[b+4>>2]-h|0;f=(f|0)<(h|0)?f:h;if((f|0)>0){continue}break}}v[b+36>>2]=0}d=v[b+16>>2];g=j-d|0;g=y[b+24>>2]>>0?c:(g|0)>0?g:0;v[b+24>>2]=g;if((d|0)<1){break a}f=v[b+20>>2];d=(d|0)>(f|0)?f:d;f=v[b+28>>2]-g|0;d=(d|0)<(f|0)?d:f;f=v[b+4>>2]-g|0;f=(d|0)<(f|0)?d:f;if((f|0)<1){break a}l=b+48|0;k=v[b+8>>2];g=B(k,g);d=0;while(1){h=B(f,k);Ub[v[b+48>>2]](a,l,v[v[b>>2]+(d<<2)>>2],g,h);f=v[b+20>>2];d=f+d|0;i=v[b+16>>2];if((d|0)>=(i|0)){break a}g=g+h|0;h=i-d|0;f=(f|0)<(h|0)?f:h;h=v[b+24>>2]+d|0;i=v[b+28>>2]-h|0;f=(f|0)<(i|0)?f:i;h=v[b+4>>2]-h|0;f=(f|0)<(h|0)?f:h;if((f|0)>0){continue}break}}d=v[b+28>>2];c:{d:{e:{if(j>>>0<=d>>>0){break e}f:{g:{h:{if(c>>>0>d>>>0){d=c;if(!e){break h}d=v[a>>2];v[d+20>>2]=23;Ub[v[d>>2]](a);d=c;break g}if(e){break g}}if(v[b+32>>2]){break f}d=v[a>>2];v[d+20>>2]=23;Ub[v[d>>2]](a);break c}v[b+28>>2]=j;if(!v[b+32>>2]){break d}}a=v[b+24>>2];d=d-a|0;a=j-a|0;if(d>>>0>=a>>>0){break e}g=v[b+8>>2];while(1){qe(v[v[b>>2]+(d<<2)>>2],g);d=d+1|0;if((a|0)!=(d|0)){continue}break}}if(!e){break c}}v[b+36>>2]=1}return v[b>>2]+(c-v[b+24>>2]<<2)|0}function v9a(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,n=0,o=0,p=0,q=0,r=0,s=0;a:{if(w[a+286|0]|!w[a+285|0]|(w[a+287|0]|w[a+288|0])){break a}if(w[a+289|0]){break a}if(!((c|0)==16|c-4>>>0<4)){pc(a,1028,0,0);return 1028}g=w[d+2|0]|w[d+3|0]<<8;f=g<<8|g>>>8;g=w[d|0]|w[d+1|0]<<8;i=g<<8|g>>>8;b:{c:{d:{e:{if(c>>>0>=5){o=w[d+4|0];if((c|0)!=5){break e}}break d}p=w[d+5|0];if(c>>>0<7){k=1;j=1;break d}h=w[d+6|0];if((c|0)==7){k=1;j=1;g=1;break c}g=w[d+12|0]|w[d+13|0]<<8|(w[d+14|0]<<16|w[d+15|0]<<24);q=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);g=w[d+8|0]|w[d+9|0]<<8|(w[d+10|0]<<16|w[d+11|0]<<24);r=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);l=1;k=1;j=1;g=1;m=w[d+7|0];break b}g=0}m=0}i=i&65535;s=f&65535;f:{if(w[a+114|0]){f=Ub[v[a+152>>2]](48)|0;if(!f){pc(a,1,0,0);h=1;break f}v[f+4>>2]=719;v[f>>2]=720;n=v[a+700>>2];g:{if(n){v[n+8>>2]=f;break g}v[a+696>>2]=f}v[f+8>>2]=0;v[f+12>>2]=n;v[a+700>>2]=f;v[f+16>>2]=v[a+436>>2];v[f+20>>2]=v[a+440>>2];v[f+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=f}v[f+44>>2]=q;v[f+40>>2]=r;t[f+37|0]=m;t[f+36|0]=l;t[f+35|0]=h;t[f+34|0]=p;t[f+33|0]=j;t[f+32|0]=o;u[f+28>>1]=s;u[f+30>>1]=i}h=g1(a,i,s,o,j,p,h,l,m,r,q)}h:{if(h){break h}h=0;if(!w[a+112|0]){break h}h=Ub[v[b+4>>2]](a,b,e)|0;if(h){break h}a=v[e>>2];b=w[d|0]|w[d+1|0]<<8;u[a+32>>1]=b<<8|b>>>8;b=w[d+2|0]|w[d+3|0]<<8;u[a+34>>1]=b<<8|b>>>8;if(c>>>0>=5){t[a+36|0]=w[d+4|0]}if(k){t[a+37|0]=w[d+5|0]}if(g){t[a+38|0]=w[d+6|0]}if(l){t[a+39|0]=1;t[a+40|0]=w[d+7|0];b=w[d+8|0]|w[d+9|0]<<8|(w[d+10|0]<<16|w[d+11|0]<<24);v[a+44>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=a;a=w[d+12|0]|w[d+13|0]<<8|(w[d+14|0]<<16|w[d+15|0]<<24);v[b+48>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return 0}h=0;t[a+39|0]=0}return h|0}pc(a,1029,0,0);return 1029}function ima(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0;e=Qb-16|0;Qb=e;a:{if(t[1178440]&1){break a}if(!Je(1178440)){break a}v[294609]=0;Ie(1178440)}c=v[294609];if(!c){a=fc(44);v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=984108;v[a+4>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;v[a+32>>2]=0;v[299999]=0;Q(4475,a+8|0,984348)|0;c=v[299999];v[299999]=0;if((c|0)==1){c=P()|0;O()|0;Qc(a);dc(a);T(c|0);L()}v[a+36>>2]=0;v[a+40>>2]=v[282402];Wc(1178436,a);c=v[294609]}b:{c:{if(t[1178432]&1){break c}if(!Je(1178432)){break c}v[294606]=0;v[294607]=0;v[294604]=0;v[294605]=0;v[299999]=0;v[294604]=982500;v[294605]=0;v[294606]=0;v[294607]=0;a=v[299999];v[299999]=0;if((a|0)==1){break b}Ie(1178432)}v[e+12>>2]=1178416;a=v[294606];v[e+8>>2]=a;if(a){while(1){d=a+8|0;a=Qb-48|0;Qb=a;b=fc(100);v[299999]=0;f=S(4953,b|0)|0;g=v[299999];v[299999]=0;d:{e:{if((g|0)!=1){v[a+40>>2]=0;Wc(a+40|0,f);v[299999]=0;V(4954,v[a+40>>2],d|0);b=v[299999];v[299999]=0;if((b|0)==1){c=P()|0;O()|0;break e}v[299999]=0;U(4955,a+24|0,v[a+40>>2],984299);b=v[299999];v[299999]=0;f:{g:{h:{i:{j:{if((b|0)!=1){if(v[a+28>>2]){v[299999]=0;b=Q(4387,a+8|0,a+24|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break h}v[299999]=0;$(4956,984304,984312,a+8|0,c+8|0);d=v[299999];v[299999]=0;if((d|0)==1){break j}Ic(b)}Ic(a+24|0);b=v[a+40>>2];v[a+40>>2]=0;if(!b){break i}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;f=v[299999];v[299999]=0;if((f|0)!=1){if(d){break i}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break i}}W(0)|0;O()|0;lc();L()}c=P()|0;O()|0;break f}c=P()|0;O()|0;Ic(b);break g}Qb=a+48|0;break d}c=P()|0;O()|0}Ic(a+24|0)}break e}a=P()|0;O()|0;dc(b);T(a|0);L()}ec(a+40|0);T(c|0);L()}Mm(1178416,e+8|0);v[e+12>>2]=1178416;a=v[294606];v[e+8>>2]=a;if(a){continue}break}}Qb=e+16|0;return c|0}a=P()|0;O()|0;Pf(1178432);T(a|0);L()}function JQa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=v[a+12>>2];if(!d){v[a+140>>2]=0;v[a+144>>2]=0;v[a+148>>2]=0;v[a+152>>2]=0;return}v[a+140>>2]=v[d+260>>2];v[a+144>>2]=v[d+248>>2];v[a+148>>2]=v[d+252>>2];v[a+152>>2]=v[d+256>>2];c=Qb-32|0;Qb=c;v[d+2228516>>2]=1;a:{b:{c:{a=v[d+180>>2];d:{if(!a){break d}a=v[a+96>>2];if(!a){break d}a=v[a+12>>2];if(!a){break d}e:{f:{g:{e=v[a+8>>2];b=Bc(e);if(b>>>0<4294967280){h:{i:{if(b>>>0>=11){f=b+16&-16;a=fc(f);v[c+24>>2]=f|-2147483648;v[c+16>>2]=a;v[c+20>>2]=b;break i}t[c+27|0]=b;a=c+16|0;if(!b){break h}}gc(a,e,b)}t[a+b|0]=0;j:{a=w[c+27|0];if(((a<<24>>24<0?v[c+20>>2]:a)|0)==8){v[299999]=0;a=ca(2607,c+16|0,0,-1,278818,8)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}if(!a){break j}}v[d+2228516>>2]=0;break e}b=v[v[d+180>>2]+20>>2];if(!b){break g}a=0;k:{g=w[b|0];if(!g){break k}e=b;while(1){f=a;a=a+1|0;h=w[e+1|0];e=e+1|0;if(h){continue}break}if((g|0)!=60|f>>>0<6|(w[b+1|0]!=117|w[b+2|0]!=116)){break k}if(w[b+3|0]!=102|w[b+4|0]!=56|w[b+5|0]!=62){break k}v[299999]=0;U(1564,c|0,b+6|0,f-5|0);a=v[299999];v[299999]=0;if((a|0)!=1){break f}break c}v[299999]=0;$(2543,c|0,b|0,a|0,0);a=v[299999];v[299999]=0;if((a|0)==1){break c}break f}$d(c+16|0);L()}t[c+11|0]=0;v[c>>2]=0}f=d+2228520|0;e=w[d+2228531|0];a=e<<24>>24;b=v[d+2228524>>2];l:{m:{if((((a|0)<0?b:e)|0)==9){v[299999]=0;a=ca(2608,f|0,0,-1,467376,9)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}if(!a){break m}e=w[d+2228531|0];a=e;b=v[d+2228524>>2]}if(((a<<24>>24<0?b:e)|0)!=9){break l}v[299999]=0;a=ca(2608,f|0,0,-1,467416,9)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}if(a){break l}}v[d+2228516>>2]=0}if(t[c+11|0]>-1){break e}dc(v[c>>2])}if(t[c+27|0]>-1){break d}dc(v[c+16>>2])}Qb=c+32|0;break a}a=P()|0;O()|0;if(t[c+27|0]<=-1){dc(v[c+16>>2])}T(a|0);L()}W(0)|0;O()|0;lc();L()}}function x_(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;b=1;c=v[a+336>>2];a:{b:{if((c|0)==1){c=v[a+340>>2];v[a+356>>2]=v[c+28>>2];d=v[c+32>>2];v[a+360>>2]=d;v[c+64>>2]=1;v[c+56>>2]=1;v[c+60>>2]=1;v[c+72>>2]=1;v[c+68>>2]=v[c+36>>2];g=c;c=v[c+12>>2];d=(d>>>0)%(c>>>0)|0;v[g+76>>2]=d?d:c;v[a+364>>2]=1;v[a+368>>2]=0;break b}if(c-1>>>0>=4){b=v[a>>2];v[b+24>>2]=c;v[b+20>>2]=27;v[v[a>>2]+28>>2]=4;Ub[v[v[a>>2]>>2]](a)}c=B(v[a+424>>2],v[a+312>>2]);v[a+356>>2]=((c+v[a+28>>2]|0)-1|0)/(c|0);c=B(v[a+424>>2],v[a+316>>2]);c=((c+v[a+32>>2]|0)-1|0)/(c|0)|0;v[a+364>>2]=0;v[a+360>>2]=c;if(v[a+336>>2]<1){break a}h=a+368|0;while(1){b=v[((d<<2)+a|0)+340>>2];e=v[b+8>>2];v[b+56>>2]=e;f=v[b+12>>2];v[b+60>>2]=f;c=B(e,f);v[b+64>>2]=c;v[b+68>>2]=B(e,v[b+36>>2]);g=y[b+28>>2]%(e>>>0)|0;v[b+72>>2]=g?g:e;g=b;b=y[b+32>>2]%(f>>>0)|0;v[g+76>>2]=b?b:f;if((c+i|0)>=11){b=v[a>>2];v[b+20>>2]=14;Ub[v[b>>2]](a)}c:{if((c|0)<1){break c}b=B(e,f);e=b-1|0;b=b&3;if(b){while(1){f=v[a+364>>2];v[a+364>>2]=f+1;v[((f<<2)+a|0)+368>>2]=d;c=c-1|0;b=b-1|0;if(b){continue}break}}if(e>>>0<3){break c}while(1){b=v[a+364>>2];v[a+364>>2]=b+1;v[(b<<2)+h>>2]=d;b=v[a+364>>2];v[a+364>>2]=b+1;v[(b<<2)+h>>2]=d;b=v[a+364>>2];v[a+364>>2]=b+1;v[(b<<2)+h>>2]=d;b=v[a+364>>2];v[a+364>>2]=b+1;v[(b<<2)+h>>2]=d;b=(c|0)>4;c=c-4|0;if(b){continue}break}}b=v[a+336>>2];d=d+1|0;if((b|0)>(d|0)){i=v[a+364>>2];continue}break}if((b|0)<1){break a}}c=0;while(1){d=v[((c<<2)+a|0)+340>>2];if(!v[d+80>>2]){b=v[d+16>>2];if(!(v[((b<<2)+a|0)+164>>2]?b>>>0<=3:0)){e=v[a>>2];v[e+24>>2]=b;v[e+20>>2]=54;Ub[v[v[a>>2]>>2]](a)}j=d,k=gc(Ub[v[v[a+4>>2]>>2]](a,1,132)|0,v[((b<<2)+a|0)+164>>2],132),v[j+80>>2]=k;b=v[a+336>>2]}c=c+1|0;if((c|0)<(b|0)){continue}break}}Ub[v[v[a+464>>2]>>2]](a);Ub[v[v[a+448>>2]>>2]](a);v[v[a+456>>2]>>2]=v[v[a+448>>2]+4>>2]}function Pda(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;g=Qb-16|0;Qb=g;a:{if((e|0)>=1){j=b+e|0;while(1){j=j-1|0;h=(j<<3)+a|0;b:{c:{if((j-c|0)>=(e|0)){v[h>>2]=0;v[h+4>>2]=v[282402];f=v[(j-e<<3)+a>>2];d:{if(f){i=v[v[f>>2]+28>>2];v[299999]=0;U(i|0,g|0,f|0,1);f=v[299999];v[299999]=0;if((f|0)!=1){break d}b=P()|0;O()|0;break c}v[g>>2]=0}v[299999]=0;Q(4344,h|0,g|0)|0;f=v[299999];v[299999]=0;if((f|0)!=1){f=v[g>>2];v[g>>2]=0;if(!f){break b}v[299999]=0;i=v[f+4>>2]-1|0;v[f+4>>2]=i;k=v[299999];v[299999]=0;if((k|0)!=1){if(i){break b}v[299999]=0;R(4338,f|0);f=v[299999];v[299999]=0;if((f|0)!=1){break b}}break a}b=P()|0;O()|0;a=v[g>>2];v[g>>2]=0;if(!a){break c}v[299999]=0;c=v[a+4>>2]-1|0;v[a+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break c}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}break c}v[h>>2]=0;v[h+4>>2]=v[282402];f=v[d>>2];e:{if(f){i=v[v[f>>2]+28>>2];v[299999]=0;U(i|0,g+8|0,f|0,1);f=v[299999];v[299999]=0;if((f|0)!=1){break e}b=P()|0;O()|0;break c}v[g+8>>2]=0}v[299999]=0;Q(4344,h|0,g+8|0)|0;f=v[299999];v[299999]=0;if((f|0)!=1){f=v[g+8>>2];v[g+8>>2]=0;if(!f){break b}v[299999]=0;i=v[f+4>>2]-1|0;v[f+4>>2]=i;k=v[299999];v[299999]=0;if((k|0)!=1){if(i){break b}v[299999]=0;R(4338,f|0);f=v[299999];v[299999]=0;if((f|0)!=1){break b}}break a}b=P()|0;O()|0;a=v[g+8>>2];v[g+8>>2]=0;if(!a){break c}v[299999]=0;c=v[a+4>>2]-1|0;v[a+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)!=1){if(c){break c}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break c}}break a}ec(h);T(b|0);L()}f=h;h=v[h>>2];v[f+4>>2]=v[(h?h+12|0:1129608)>>2];if((b|0)<(j|0)){continue}break}}if((b|0)>(c|0)){while(1){b=b-1|0;vr((b<<3)+a|0,(b-c|0)<(e|0)?d:(b-e<<3)+a|0);if((b|0)>(c|0)){continue}break}}Qb=g+16|0;return}W(0)|0;O()|0;lc();L()}function LGa(a,b,c){a=a|0;b=b|0;c=+c;var d=0,e=0,f=0;d=Qb-32|0;Qb=d;cs(d,888832,b);v[299999]=0;b=Q(2725,d|0,888840)|0;e=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{if((e|0)!=1){v[d+24>>2]=v[b+8>>2];e=v[b+4>>2];v[d+16>>2]=v[b>>2];v[d+20>>2]=e;v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;v[299999]=0;b=w[d+27|0];e=b<<24>>24<0;Y(2653,a|0,(e?v[d+16>>2]:d+16|0)|0,(e?v[d+20>>2]:b)|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break f}if(t[d+27|0]<=-1){dc(v[d+16>>2])}if(t[d+11|0]<=-1){dc(v[d>>2])}t[d+27|0]=1;v[299999]=0;tc(d+16|0,888848,1);b=v[299999];v[299999]=0;if((b|0)==1){break b}v[d+20>>2]=0;v[299999]=0;b=t[d+27|0];e=(b|0)<0;Y(2653,a|0,(e?v[d+16>>2]:d+16|0)|0,(e?0:b)&255)|0;b=v[299999];v[299999]=0;if((b|0)==1){break c}if(t[d+27|0]<=-1){dc(v[d+16>>2])}b=Qb-16|0;Qb=b;e=fC(b,20,0);f=w[e+11|0]>>>7|0?(v[e+8>>2]&2147483647)-1|0:1;v[299999]=0;V(5947,e|0,f|0);f=v[299999];v[299999]=0;if((f|0)==1){a=P()|0;O()|0;le(e);T(a|0);L()}v[299999]=0;e=d+16|0;na(5948,e|0,b|0,+c);f=v[299999];v[299999]=0;g:{if((f|0)!=1){le(b);Qb=b+16|0;break g}a=P()|0;O()|0;le(b);break a}v[299999]=0;f=e;b=w[d+27|0];e=b<<24>>24<0;Y(2653,a|0,(e?v[d+16>>2]:f)|0,(e?v[d+20>>2]:b)|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){if(t[d+27|0]<=-1){dc(v[d+16>>2])}t[d+27|0]=1;v[299999]=0;tc(d+16|0,888848,1);b=v[299999];v[299999]=0;if((b|0)==1){break b}v[d+20>>2]=0;v[299999]=0;e=a;a=t[d+27|0];b=(a|0)<0;Y(2653,e|0,(b?v[d+16>>2]:d+16|0)|0,(b?0:a)&255)|0;a=v[299999];v[299999]=0;if((a|0)==1){break d}if(t[d+27|0]<=-1){dc(v[d+16>>2])}Qb=d+32|0;return}break c}a=P()|0;O()|0;break e}a=P()|0;O()|0;if(t[d+27|0]>-1){break e}dc(v[d+16>>2])}if(t[d+11|0]>-1){break a}dc(v[d>>2]);break a}a=P()|0;O()|0;if(t[d+27|0]>-1){break a}dc(v[d+16>>2]);break a}a=P()|0;O()|0;if(t[d+27|0]>-1){break a}dc(v[d+16>>2]);break a}W(0)|0;O()|0;lc();L()}T(a|0);L()}function rha(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0;i=Qb-16|0;Qb=i;t=v[a+52>>2];g=v[a+16>>2];n=v[a+12>>2];h=v[a>>2];f=ir(h);k=B(n?4:3,f);m=jc(k);a:{if(!m){zc(v[h+628>>2],v[h>>2],46020,0);break a}eg(m,0,k);b:{c:{d:{switch(x[a+28>>1]-1|0){case 0:case 4:e=x[a+30>>1]-2|0;if((e&65535)>>>0>=7){break b}e=(e<<16>>16<<2)+76796|0;break c;case 1:case 5:e=x[a+30>>1]-1|0;if((e&65535)>>>0>=8){break b}e=(e<<16>>16<<2)+76824|0;break c;case 2:case 6:e=x[a+30>>1]-1|0;if((e&65535)>>>0>=8){break b}e=(e<<16>>16<<2)+76856|0;break c;case 3:case 7:break d;default:break b}}e=x[a+30>>1]-1|0;if((e&65535)>>>0>=7){break b}e=(e<<16>>16<<2)+76888|0}r=v[e>>2]}v[i>>2]=i+12;hi(h,278,i);e=1;k=Di(h);e:{if(!d){break e}o=f+m|0;p=f+o|0;s=n?f+p|0:0;e=g-c|0;u=g>>>0>>0?0:e;q=r&1;w=0-q&0-(c<<1);e=q?d-1|0:0;f=0;f:{while(1){g=v[i+12>>2];j=v[a+76>>2]+f|0;g=g-((j>>>0)%(g>>>0)|0)|0;g=f+g>>>0>d>>>0?d-f|0:g;l=0;if(!((gr(h,jr(h,j,0),m,B(k,g+((v[a+76>>2]+f>>>0)%y[i+12>>2]|0)|0))|0)>-1|!v[a+4>>2])){break f}l=0;if(!((gr(h,jr(h,j,1),o,B(k,g+((v[a+76>>2]+f>>>0)%y[i+12>>2]|0)|0))|0)>-1|!v[a+4>>2])){break f}l=0;if(!((gr(h,jr(h,j,2),p,B(k,g+((v[a+76>>2]+f>>>0)%y[i+12>>2]|0)|0))|0)>-1|!v[a+4>>2])){break f}g:{if(!n){break g}if((gr(h,jr(h,j,3),s,B(k,g+((v[a+76>>2]+f>>>0)%y[i+12>>2]|0)|0))|0)>-1|!v[a+4>>2]){break g}l=0;break f}j=B(k,(v[a+76>>2]+f>>>0)%y[i+12>>2]|0);Ub[t|0](a,(B(c,e)<<2)+b|0,0,e,c,g,u,w,j+m|0,j+o|0,j+p|0,n?j+s|0:0);e=(q?0-g|0:g)+e|0;f=f+g|0;if(f>>>0>>0){continue}break}l=1}e=l;if(!(r&2)){break e}h=0;while(1){f=(B(c,h)<<2)+b|0;a=(f+(c<<2)|0)-4|0;if(a>>>0>f>>>0){while(1){g=v[f>>2];v[f>>2]=v[a>>2];v[a>>2]=g;a=a-4|0;f=f+4|0;if(a>>>0>f>>>0){continue}break}}h=h+1|0;if((h|0)!=(d|0)){continue}break}}dc(m)}Qb=i+16|0;return e|0}function pta(a,b,c,d,e,f){a=a|0;b=b|0;c=+c;d=+d;e=+e;f=+f;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;g=Qb-96|0;Qb=g;n=c-e;A[g+88>>3]=n;A[g+80>>3]=d;i=g+88|0;j=g+80|0;ke(b,i,j);A[g+72>>3]=A[g+88>>3]*25.4/96;A[g+64>>3]=A[g+80>>3]*25.4/96;k=g+72|0;l=g- -64|0;Ub[v[v[a>>2]+296>>2]](a,k,l)|0;A[g+88>>3]=n;q=f*.552;r=q+d;A[g+80>>3]=r;m=e*.552;s=c-m;A[g+72>>3]=s;h=d+f;A[g+64>>3]=h;A[g+56>>3]=c;A[g+48>>3]=h;ke(b,i,j);ke(b,k,l);o=g+56|0;p=g+48|0;ke(b,o,p);A[g+40>>3]=A[g+88>>3]*25.4/96;A[g+32>>3]=A[g+80>>3]*25.4/96;A[g+24>>3]=A[g+72>>3]*25.4/96;A[g+16>>3]=A[g+64>>3]*25.4/96;A[g+8>>3]=A[g+56>>3]*25.4/96;A[g>>3]=A[g+48>>3]*25.4/96;Ub[v[v[a>>2]+308>>2]](a,g+40|0,g+32|0,g+24|0,g+16|0,g+8|0,g)|0;m=m+c;A[g+88>>3]=m;A[g+80>>3]=h;e=c+e;A[g+72>>3]=e;A[g+64>>3]=r;A[g+56>>3]=e;A[g+48>>3]=d;ke(b,i,j);ke(b,k,l);ke(b,o,p);A[g+40>>3]=A[g+88>>3]*25.4/96;A[g+32>>3]=A[g+80>>3]*25.4/96;A[g+24>>3]=A[g+72>>3]*25.4/96;A[g+16>>3]=A[g+64>>3]*25.4/96;A[g+8>>3]=A[g+56>>3]*25.4/96;A[g>>3]=A[g+48>>3]*25.4/96;Ub[v[v[a>>2]+308>>2]](a,g+40|0,g+32|0,g+24|0,g+16|0,g+8|0,g)|0;A[g+88>>3]=e;h=d-q;A[g+80>>3]=h;A[g+72>>3]=m;e=d-f;A[g+64>>3]=e;A[g+56>>3]=c;A[g+48>>3]=e;ke(b,i,j);ke(b,k,l);ke(b,o,p);A[g+40>>3]=A[g+88>>3]*25.4/96;A[g+32>>3]=A[g+80>>3]*25.4/96;A[g+24>>3]=A[g+72>>3]*25.4/96;A[g+16>>3]=A[g+64>>3]*25.4/96;A[g+8>>3]=A[g+56>>3]*25.4/96;A[g>>3]=A[g+48>>3]*25.4/96;Ub[v[v[a>>2]+308>>2]](a,g+40|0,g+32|0,g+24|0,g+16|0,g+8|0,g)|0;A[g+88>>3]=s;A[g+80>>3]=e;A[g+72>>3]=n;A[g+64>>3]=h;A[g+56>>3]=n;A[g+48>>3]=d;ke(b,i,j);ke(b,k,l);ke(b,o,p);A[g+40>>3]=A[g+88>>3]*25.4/96;A[g+32>>3]=A[g+80>>3]*25.4/96;A[g+24>>3]=A[g+72>>3]*25.4/96;A[g+16>>3]=A[g+64>>3]*25.4/96;A[g+8>>3]=A[g+56>>3]*25.4/96;A[g>>3]=A[g+48>>3]*25.4/96;Ub[v[v[a>>2]+308>>2]](a,g+40|0,g+32|0,g+24|0,g+16|0,g+8|0,g)|0;Qb=g+96|0}function CH(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;v[a+168>>2]=d;k=a+168|0;v[a+48>>2]=k;g=v[a+64>>2];v[a+184>>2]=v[a+60>>2];v[a+188>>2]=g;v[a+180>>2]=c;v[a+176>>2]=b;v[a+172>>2]=e;e=k;while(1){h=v[e+4>>2];f=v[e+20>>2];b=(h|0)<(f|0);a:{b:{i=v[e+12>>2];if(!((i|0)>=((b?h:f)|0)&(i|0)<=((b?f:h)|0))){b=v[e+16>>2];v[e+32>>2]=b;v[e+36>>2]=f;c=f+i|0;v[e+28>>2]=c>>1;g=h+i|0;v[e+12>>2]=g>>1;f=v[e+8>>2];i=f+d|0;v[e+8>>2]=i>>1;f=b+f|0;v[e+24>>2]=f>>1;b=2;v[e+20>>2]=c+g>>2;v[e+16>>2]=f+i>>2;break b}b=-2;if((f|0)==(h|0)){break b}m=(f|0)<(h|0)?1:2;c=v[a+92>>2];if((m|0)!=(c|0)){b=v[a+4>>2];n=(f|0)>=(h|0);g=n?f&b-1:((b+f|0)-1&0-b)-f|0;l=v[a+8>>2];if(c){b=v[a+36>>2];j=v[a+80>>2];c=b-v[j+8>>2]|0;if((c|0)<=-1){v[a+40>>2]=99;return 1}c:{if(!c){c=b;break c}v[j+16>>2]=c>>2;if((g|0)>=(l|0)){c=x[j+12>>1];u[j+12>>1]=(c&8?16:32)|c}v[a+80>>2]=b;c=b+32|0;v[a+36>>2]=c;v[b+8>>2]=c;v[b+16>>2]=0;v[j+28>>2]=b;u[a+76>>1]=x[a+76>>1]+1}if(y[a+32>>2]<=c>>>0){v[a+40>>2]=98;return 1}t[a+79|0]=0}d:{if(v[a+84>>2]){c=v[a+36>>2];break d}b=v[a+36>>2];v[a+84>>2]=b;v[a+80>>2]=b;c=b+32|0;v[a+36>>2]=c}if(y[a+32>>2]<=c>>>0){v[a+40>>2]=98;return 1}b=v[a+80>>2];v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=c;v[b+28>>2]=0;v[b+4>>2]=0;c=w[a+164|0];u[b+12>>1]=c;e:{f:{if(!n){u[b+12>>1]=c|8;j=40;if((g|0)>=(l|0)){break f}break e}j=16;if((g|0)<(l|0)){break e}}u[b+12>>1]=c|j}if(!v[a+88>>2]){v[a+88>>2]=b}u[a+78>>1]=1;v[a+92>>2]=m}b=v[a+72>>2];c=v[a+68>>2];if((f|0)<(h|0)){if(!Vz(a,2,1863,c,b)){break a}return 1}v[e+20>>2]=0-f;v[e+12>>2]=0-i;v[e+4>>2]=0-h;g=w[a+78|0];b=Vz(a,2,1863,0-b|0,0-c|0);if(!(w[a+78|0]|!g)){c=v[a+80>>2];v[c+20>>2]=0-v[c+20>>2]}v[e+4>>2]=0-v[e+4>>2];if(!b){break a}return 1}v[a+48>>2]=(b<<3)+e}e=v[a+48>>2];if(k>>>0<=e>>>0){d=v[e>>2];continue}break}v[a+64>>2]=h;v[a+60>>2]=d;return 0}function f7(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;if(!d){d=v[a+584>>2];if(d){l=(c|0)/v[d+8>>2]|0;a:{if(v[d>>2]!=2){if(v[d+16>>2]<(l|0)){break a}c=v[d+12>>2];Ub[v[d+20>>2]](d,b,l);b=c}c=v[a+600>>2];g=c-v[a+608>>2]|0;d=v[a+604>>2];if((l|0)>=1){c=24;while(1){k=c;m=255<>2]=d;v[a+608>>2]=v[a+600>>2]-g;if(!Ae(a)){return-1}g=v[a+600>>2]-v[a+608>>2]|0;d=v[a+604>>2]}e=c;h=c;b:{if((c|0)>=(l|0)){break b}while(1){h=e;i=v[(e<<2)+b>>2];f=1;c:{while(1){e=f+h|0;if((l|0)<=(e|0)){j=f;break c}d:{if((i^v[(e<<2)+b>>2])&m){j=f;break d}j=f+1|0;e=j+h|0;if((l|0)<=(e|0)){break c}if((i^v[(e<<2)+b>>2])&m){break d}j=129;f=f+2|0;if((f|0)!=129){continue}break b}break}if(j>>>0<=3){continue}break b}break}h=j>>>0>3?h:e}i=h-c|0;e:{if((i&-2)!=2){break e}e=c+1|0;f=v[(c<<2)+b>>2]&m;while(1){if((f|0)!=(v[(e<<2)+b>>2]&m)){break e}e=e+1|0;if((h|0)!=(e|0)){continue}break}t[d+1|0]=f>>>k;t[d|0]=i+126;g=g-2|0;d=d+2|0;c=h}if((c|0)<(h|0)){while(1){e=h-c|0;i=(e|0)<127?e:127;if((i+3|0)>(g|0)){v[a+604>>2]=d;v[a+608>>2]=v[a+600>>2]-g;if(!Ae(a)){return-1}g=v[a+600>>2]-v[a+608>>2]|0;d=v[a+604>>2]}t[d|0]=i;d=d+1|0;g=g-1|0;if(i){e=i;f=e&3;if(f){while(1){t[d|0]=v[(c<<2)+b>>2]>>>k;d=d+1|0;c=c+1|0;e=e-1|0;f=f-1|0;if(f){continue}break}}if(i-1>>>0>=3){while(1){f=(c<<2)+b|0;t[d|0]=v[f>>2]>>>k;t[d+1|0]=v[f+4>>2]>>>k;t[d+2|0]=v[f+8>>2]>>>k;t[d+3|0]=v[f+12>>2]>>>k;d=d+4|0;c=c+4|0;e=e-4|0;if(e){continue}break}}g=g-i|0}if((c|0)<(h|0)){continue}break}}f:{if((j|0)<4){j=0;break f}t[d|0]=j+126;t[d+1|0]=v[(h<<2)+b>>2]>>>k;g=g-2|0;d=d+2|0}c=c+j|0;if((l|0)>(c|0)){continue}break}c=k-8|0;if(k){continue}break}c=v[a+600>>2]}v[a+604>>2]=d;v[a+608>>2]=c-g;return 1}X(34494,6284,524,84303);L()}X(25714,6284,516,84303);L()}X(33866,6284,515,84303);L()}function pV(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=Qb-352|0;Qb=f;a:{if(!a|!v[a+4>>2]){break a}j=v[294239];g=v[259806];h=v[a+48>>2];if(!(!h|v[h+4>>2]!=1)){m=v[h+8>>2]}i=d?e:j;g=d?d:g;d=v[a+12>>2];k=v[a>>2];l=v[a+20>>2];b:{c:{d:{if(b){h=v[b+36>>2];if(!h){j=0;break d}e=v[h+4>>2];e:{if(e){j=h;h=0;break e}e=v[b+40>>2];if((e|0)<2){j=h;h=0;break c}j=v[(v[b+48>>2]+(e<<2)|0)-8>>2];if(!j){j=0;break b}e=v[j+4>>2];if(!e){break c}}v[f+180>>2]=v[j+28>>2];v[f+176>>2]=e;Ub[g|0](i,346657,f+176|0);break b}e=v[a+16>>2];if(e){v[f+148>>2]=l;v[f+144>>2]=e;Ub[g|0](i,346657,f+144|0);j=0;break d}j=0;if(!(1<>>0>19)){break d}v[f+128>>2]=l;Ub[g|0](i,346665,f+128|0)}h=0;break b}if(!l|(k|0)!=1){break b}v[f+160>>2]=v[j+28>>2];Ub[g|0](i,346665,f+160|0)}if(m){v[f+112>>2]=m;Ub[g|0](i,346588,f+112|0)}e=k-1|0;if(!(e>>>0>29|!(1048558845>>>e&1))){Ub[g|0](i,v[(e<<2)+884292>>2],0)}if(d>>>0<=3){Ub[g|0](i,v[(d<<2)+884412>>2],0)}f:{if(c){g:{if(!w[c|0]){break g}e=0;d=c;while(1){m=e;e=e+1|0;n=w[d+1|0];d=d+1|0;if(n){continue}break}if(w[c+m|0]==10){break g}v[f+96>>2]=c;Ub[g|0](i,350078,f+96|0);break f}v[f+80>>2]=c;Ub[g|0](i,237306,f+80|0);break f}v[f+64>>2]=237927;Ub[g|0](i,350078,f- -64|0)}h:{if(!b){break h}ro(j,g,i);if(!h){break h}b=v[h+4>>2];i:{if(b){v[f+52>>2]=v[h+28>>2];v[f+48>>2]=b;Ub[g|0](i,357637,f+48|0);break i}if(!l|(k|0)!=1){break i}v[f+32>>2]=v[h+28>>2];Ub[g|0](i,357646,f+32|0)}ro(h,g,i)}if((k|0)!=12){break a}b=v[a+24>>2];if(!b){break a}c=v[a+36>>2];if((c|0)>99){break a}e=0;if(w[b|0]){d=b;while(1){e=e+1|0;h=w[d+1|0];d=d+1|0;if(h){continue}break}}if((c|0)>=(e|0)){break a}v[f+16>>2]=b;Ub[g|0](i,350078,f+16|0);d=v[a+36>>2];j:{if((d|0)<1){d=0;break j}ic(f+192|0,32,d)}a=f+192|0;b=a+d|0;t[b|0]=94;t[b+1|0]=0;v[f>>2]=a;Ub[g|0](i,350078,f)}Qb=f+352|0}function JF(a){var b=0,c=0;if(v[299402]){b=1501;a:{if(v[299402]==2){break a}b=1502;if(v[299402]==6){break a}b=1503;if(v[299402]==8){break a}b=1504;if(v[299402]==9){break a}b=1505;if(v[299402]==10){break a}b=1506;if(v[299402]==11){break a}b=1507;if(v[299402]==12){break a}b=1508;if(v[299402]==16){break a}b=1509;if(v[299402]==18){break a}b=1510;if(v[299402]==20){break a}b=1511;if(v[299402]==21){break a}b=1512;if(v[299402]==22){break a}b=1513;if(v[299402]==26){break a}b=1514;if(v[299402]==27){break a}b=1515;if(v[299402]==28){break a}b=1516;if(v[299402]==29){break a}b=1517;if(v[299402]==31){break a}b=1518;if(v[299402]==33){break a}b=1519;if(v[299402]==34){break a}b=1520;if(v[299402]==35){break a}b=1521;if(v[299402]==37){break a}b=1522;if(v[299402]==41){break a}b=1523;if(v[299402]==43){break a}b=1524;if(v[299402]==44){break a}b=1525;if(v[299402]==45){break a}b=1526;if(v[299402]==46){break a}b=1527;if(v[299402]==48){break a}b=1528;if(v[299402]==51){break a}b=1529;if(v[299402]==52){break a}b=1530;if(v[299402]==54){break a}b=1531;if(v[299402]==55){break a}b=1532;if(v[299402]==138){break a}b=1533;if(v[299402]==59){break a}b=1534;if(v[299402]==60){break a}b=1535;if(v[299402]==63){break a}b=1536;if(v[299402]==64){break a}b=1537;if(v[299402]==68){break a}b=1538;if(v[299402]==69){break a}b=1539;if(v[299402]==70){break a}b=1540;if(v[299402]==71){break a}b=1541;if(v[299402]==73){break a}b=1542;if(v[299402]==75){break a}b=1550;if(v[299402]==57){break a}b=1551;if(v[299402]==30){break a}b=1552;if(v[299402]==14){break a}b=1541;if(v[299402]==73){break a}b=1553;if(v[299402]==40){break a}b=1554;if(v[299402]==3){break a}b=1513;if(v[299402]==26){break a}b=1555;if(v[299402]==7){break a}b=v[299402]==5?1556:1500}c=b;b=b-1500|0}else{b=0}so(8,c,v[(b<<2)+883712>>2],a)}function RT(a){var b=0,c=0,d=0,e=0,f=0;e=Qb-16|0;Qb=e;a:{if(Ub[v[v[a>>2]+28>>2]](a,0,334305)|0){break a}if(Ub[v[v[a>>2]+28>>2]](a,0,333555)|0){break a}b:{if((Ub[v[v[a>>2]+8>>2]](a,0)|0)!=128){break b}if((Ub[v[v[a>>2]+8>>2]](a,1)|0)!=1){break b}if(!(Ub[v[v[a>>2]+20>>2]](a,2,e+12|0)|0)){break b}b=v[e+12>>2];if(b>>>0>=16){b=1;if(Ub[v[v[a>>2]+28>>2]](a,6,334305)|0){break a}b=v[e+12>>2]}if(b>>>0<11){break b}b=1;if(Ub[v[v[a>>2]+28>>2]](a,6,333555)|0){break a}}c:{if(Ub[v[v[a>>2]+8>>2]](a,0)|0){break c}if((Ub[v[v[a>>2]+8>>2]](a,1)|0)!=1){break c}if(Ub[v[v[a>>2]+8>>2]](a,2)|0){break c}if(Ub[v[v[a>>2]+8>>2]](a,3)|0){break c}b=4;break a}d:{if((Ub[v[v[a>>2]+8>>2]](a,0)|0)!=116){break d}if((Ub[v[v[a>>2]+8>>2]](a,1)|0)!=114){break d}if((Ub[v[v[a>>2]+8>>2]](a,2)|0)!=117){break d}b=4;if((Ub[v[v[a>>2]+8>>2]](a,3)|0)==101){break a}}e:{if((Ub[v[v[a>>2]+8>>2]](a,0)|0)!=116){break e}if((Ub[v[v[a>>2]+8>>2]](a,1)|0)!=116){break e}if((Ub[v[v[a>>2]+8>>2]](a,2)|0)!=99){break e}b=5;if((Ub[v[v[a>>2]+8>>2]](a,3)|0)==102){break a}}f:{if((Ub[v[v[a>>2]+8>>2]](a,0)|0)!=79){break f}if((Ub[v[v[a>>2]+8>>2]](a,1)|0)!=84){break f}if((Ub[v[v[a>>2]+8>>2]](a,2)|0)!=84){break f}if((Ub[v[v[a>>2]+8>>2]](a,3)|0)!=79){break f}c=Qb-16|0;Qb=c;b=9;g:{if(!(Ub[v[v[a>>2]+12>>2]](a,4,c+8|0)|0)|v[c+8>>2]<=0){break g}while(1){f=d<<4;if(!(Ub[v[v[a>>2]+28>>2]](a,f|12,346549)|0)){d=d+1|0;if((d|0)>2]){continue}break g}break}if(!(Ub[v[v[a>>2]+16>>2]](a,f+20|0,c+12|0)|0)){break g}d=v[c+12>>2];if(d>>>0>2147483646){break g}a=nF(a,d);b=(a|0)==2?6:(a|0)==3?7:a}Qb=c+16|0;break a}h:{if((Ub[v[v[a>>2]+8>>2]](a,0)|0)!=1){break h}if(Ub[v[v[a>>2]+8>>2]](a,1)|0){break h}b=nF(a,0);break a}b=9;if((Ub[v[v[a>>2]+8>>2]](a,1)|0)!=1){break a}if(Ub[v[v[a>>2]+8>>2]](a,2)|0){break a}b=nF(a,1)}Qb=e+16|0;return b}function m0(a,b,c){var d=0,e=0,f=C(0),g=0,h=C(0),i=0,j=C(0),k=0,l=0,m=0,n=0,o=0;l=1;a:{b:{c:{d:{switch(b-a>>2){case 2:c=v[v[c>>2]+16>>2];b=b-4|0;d=v[b>>2];e=v[a>>2];if(!(z[c+(d<<2)>>2]>2])){break c}v[a>>2]=d;v[b>>2]=e;break a;case 3:c=v[v[c>>2]+16>>2];b=b-4|0;e=v[b>>2];f=z[c+(e<<2)>>2];g=v[a+4>>2];h=z[c+(g<<2)>>2];d=v[a>>2];j=z[c+(d<<2)>>2];if(!(h>2]=e;v[b>>2]=g;b=v[a+4>>2];d=v[a>>2];if(!(z[c+(b<<2)>>2]>2])){break c}break b}if(f>2]=e;v[b>>2]=d;break a}v[a+4>>2]=d;v[a>>2]=g;e=v[b>>2];if(!(j>z[c+(e<<2)>>2])){break c}v[a+4>>2]=e;v[b>>2]=d;break a;case 4:Jv(a,a+4|0,a+8|0,b-4|0,c);break a;case 5:Jv(a,a+4|0,a+8|0,a+12|0,c);c=v[v[c>>2]+16>>2];b=b-4|0;d=v[b>>2];e=v[a+12>>2];if(!(z[c+(d<<2)>>2]>2])){break c}v[a+12>>2]=d;v[b>>2]=e;b=v[a+12>>2];f=z[c+(b<<2)>>2];d=v[a+8>>2];if(!(f>2])){break c}v[a+8>>2]=b;v[a+12>>2]=d;d=v[a+4>>2];if(!(f>2])){break c}v[a+8>>2]=d;v[a+4>>2]=b;d=v[a>>2];if(!(f>2])){break c}break b;case 0:case 1:break c;default:break d}}i=a+4|0;e=a+8|0;k=v[v[c>>2]+16>>2];g=v[a+8>>2];f=z[k+(g<<2)>>2];e:{f:{g:{n=v[a+4>>2];h=z[(n<<2)+k>>2];o=v[a>>2];j=z[(o<<2)+k>>2];if(!(h>2]=o;v[a>>2]=n;c=i;if(f>2]=g;v[e>>2]=n;c=a;m=i;d=n;if(!(f>2]=g;v[m>>2]=o}c=a+12|0;if((c|0)==(b|0)){break c}i=0;while(1){h:{g=c;l=c;m=v[c>>2];f=z[(m<<2)+k>>2];if(f>2]){while(1){i:{v[l>>2]=d;c=e;if((c|0)==(a|0)){c=a;break i}l=c;e=c-4|0;d=v[e>>2];if(f>2]){continue}}break}v[c>>2]=m;i=i+1|0;if((i|0)==8){break h}}c=g+4|0;if((c|0)==(b|0)){break a}d=v[g>>2];e=g;continue}break}l=(g+4|0)==(b|0)}return l}v[a+4>>2]=d;v[a>>2]=b}return 1}function l0(a,b,c){var d=0,e=0,f=C(0),g=0,h=C(0),i=0,j=C(0),k=0,l=0,m=0,n=0,o=0;l=1;a:{b:{c:{d:{switch(b-a>>2){case 2:c=v[v[c>>2]+12>>2];b=b-4|0;d=v[b>>2];e=v[a>>2];if(!(z[c+(d<<2)>>2]>2])){break c}v[a>>2]=d;v[b>>2]=e;break a;case 3:c=v[v[c>>2]+12>>2];b=b-4|0;e=v[b>>2];f=z[c+(e<<2)>>2];g=v[a+4>>2];h=z[c+(g<<2)>>2];d=v[a>>2];j=z[c+(d<<2)>>2];if(!(h>2]=e;v[b>>2]=g;b=v[a+4>>2];d=v[a>>2];if(!(z[c+(b<<2)>>2]>2])){break c}break b}if(f>2]=e;v[b>>2]=d;break a}v[a+4>>2]=d;v[a>>2]=g;e=v[b>>2];if(!(j>z[c+(e<<2)>>2])){break c}v[a+4>>2]=e;v[b>>2]=d;break a;case 4:Iv(a,a+4|0,a+8|0,b-4|0,c);break a;case 5:Iv(a,a+4|0,a+8|0,a+12|0,c);c=v[v[c>>2]+12>>2];b=b-4|0;d=v[b>>2];e=v[a+12>>2];if(!(z[c+(d<<2)>>2]>2])){break c}v[a+12>>2]=d;v[b>>2]=e;b=v[a+12>>2];f=z[c+(b<<2)>>2];d=v[a+8>>2];if(!(f>2])){break c}v[a+8>>2]=b;v[a+12>>2]=d;d=v[a+4>>2];if(!(f>2])){break c}v[a+8>>2]=d;v[a+4>>2]=b;d=v[a>>2];if(!(f>2])){break c}break b;case 0:case 1:break c;default:break d}}i=a+4|0;e=a+8|0;k=v[v[c>>2]+12>>2];g=v[a+8>>2];f=z[k+(g<<2)>>2];e:{f:{g:{n=v[a+4>>2];h=z[(n<<2)+k>>2];o=v[a>>2];j=z[(o<<2)+k>>2];if(!(h>2]=o;v[a>>2]=n;c=i;if(f>2]=g;v[e>>2]=n;c=a;m=i;d=n;if(!(f>2]=g;v[m>>2]=o}c=a+12|0;if((c|0)==(b|0)){break c}i=0;while(1){h:{g=c;l=c;m=v[c>>2];f=z[(m<<2)+k>>2];if(f>2]){while(1){i:{v[l>>2]=d;c=e;if((c|0)==(a|0)){c=a;break i}l=c;e=c-4|0;d=v[e>>2];if(f>2]){continue}}break}v[c>>2]=m;i=i+1|0;if((i|0)==8){break h}}c=g+4|0;if((c|0)==(b|0)){break a}d=v[g>>2];e=g;continue}break}l=(g+4|0)==(b|0)}return l}v[a+4>>2]=d;v[a>>2]=b}return 1}function GCa(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;g=+g;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0;v[a>>2]=b;b=v[b+24>>2];v[a+12>>2]=0;v[a+4>>2]=b;v[a+16>>2]=v[v[294330]+404>>2];b=fc(112);m=v[a+4>>2];v[299999]=0;Z(3430,b|0,m|0,e|0,0)|0;e=v[299999];v[299999]=0;if((e|0)!=1){a:{v[a+8>>2]=c;v[a+20>>2]=b;b=fc(672);e=v[v[c>>2]+8>>2];v[299999]=0;c=S(e|0,c|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break a}v[299999]=0;c=zb(3434,b|0,+f,+g,h|0,j|0,c|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break a}v[a+40>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;v[a+28>>2]=b;b=v[a+8>>2];Ub[v[v[b>>2]+44>>2]](b,d,c);b=v[a+8>>2];Ub[v[v[b>>2]+36>>2]](b,v[a+28>>2]+16|0);b=v[a+8>>2];Ub[v[v[b>>2]+72>>2]](b,v[a+28>>2]);b=v[a+28>>2];A[a+48>>3]=A[b+16>>3];A[a+56>>3]=A[b+24>>3];A[a- -64>>3]=A[b+32>>3];A[a+72>>3]=A[b+40>>3];A[a+80>>3]=A[b+48>>3];A[a+88>>3]=A[b+56>>3];v[a+96>>2]=0;b=fc(16);v[299999]=0;S(3315,b|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){b:{v[a+108>>2]=0;v[a+100>>2]=1;v[a+104>>2]=b;b=fc(16);v[299999]=0;S(3315,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+120>>2]=l;v[a+116>>2]=k;v[a+112>>2]=b;if(i){f=A[i>>3];b=v[a+28>>2];g=A[i+8>>3];A[b+608>>3]=g;A[b+600>>3]=f;b=v[b+596>>2];A[b+16>>3]=g;A[b+8>>3]=f;v[b>>2]=1;f=A[i+16>>3];b=v[a+28>>2];g=A[i+8>>3];A[b+608>>3]=g;A[b+600>>3]=f;Ud(v[b+596>>2],f,g);f=A[i+16>>3];b=v[a+28>>2];g=A[i+24>>3];A[b+608>>3]=g;A[b+600>>3]=f;Ud(v[b+596>>2],f,g);f=A[i>>3];b=v[a+28>>2];g=A[i+24>>3];A[b+608>>3]=g;A[b+600>>3]=f;Ud(v[b+596>>2],f,g);b=v[a+28>>2];Hf(v[b+596>>2]);c=v[b+596>>2];c=v[((v[c+28>>2]<<2)+v[c+24>>2]|0)-4>>2];d=(v[c+12>>2]<<3)-8|0;A[b+600>>3]=A[d+v[c>>2]>>3];A[b+608>>3]=A[d+v[c+4>>2]>>3];Vi(v[a+28>>2]);b=v[a+8>>2];Ub[v[v[b>>2]+220>>2]](b,v[a+28>>2]);vf(v[a+28>>2])}return a|0}}}}a=P()|0;O()|0;dc(b);T(a|0);L()}function h5(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{c=v[a+584>>2];if(c){if(v[c+16>>2]){break a}g=c;b:{if(w[a+13|0]&4){e=v[a+72>>2];d=v[a+68>>2];h=Ll(a);break b}d=v[a+100>>2];e=v[a+60>>2]-v[a+472>>2]|0;e=d>>>0>>0?d:e;d=v[a+56>>2];h=eO(a)}v[g+840>>2]=h;c:{if(x[a+138>>1]!=2){f=d;break c}if(!b){f=d;break c}g=x[c+834>>1];if(0-g>>>0>d>>>0){f=((d+g|0)-1>>>0)/(g>>>0)|0}d=x[c+836>>1];if(0-d>>>0<=e>>>0){e=0;break c}e=((d+e|0)-1>>>0)/(d>>>0)|0}if(!(e>>>0<65536&f>>>0<=65535)){zc(v[a+628>>2],88128,52864,0);return 0}v[c+32>>2]=e;v[c+28>>2]=f;d:{e:{if(x[a+138>>1]==1){v[c+36>>2]=x[a+98>>1];if(x[c+832>>1]==6){f:{if(v[c+924>>2]==1){v[c+40>>2]=2;f=0;break f}v[c+40>>2]=3;if(x[c+834>>1]==1){f=0;if(x[c+836>>1]==1){break f}}f=1}if(!yB(c,3)){return 0}v[v[c+84>>2]+8>>2]=x[c+834>>1];v[v[c+84>>2]+12>>2]=x[c+836>>1];break e}f=0;v[c+40>>2]=0;if(yB(c,0)){break e}break d}v[c+36>>2]=1;v[c+40>>2]=0;f=0;if(!yB(c,0)){break d}v[v[c+84>>2]>>2]=b;if(!b|x[c+832>>1]!=6){break e}v[v[c+84>>2]+16>>2]=1;v[v[c+84>>2]+20>>2]=1;v[v[c+84>>2]+24>>2]=1}v[c+256>>2]=0;v[c+244>>2]=0;if(!HK(c,v[c+920>>2])){return 0}b=v[c+928>>2];g:{if(b&1){break g}d=v[c+88>>2];if(d){v[d+128>>2]=0}d=v[c+92>>2];if(!d){break g}v[d+128>>2]=0}v[c+216>>2]=(b>>>1^-1)&1;h:{if(!f){f=0;v[c+208>>2]=0;v[a+560>>2]=524;v[a+552>>2]=524;v[a+544>>2]=524;if(GK(c)){break h}break d}v[c+208>>2]=1;v[a+560>>2]=536;v[a+552>>2]=536;v[a+544>>2]=536;f=0;if(!GK(c)){break d}b=v[a+584>>2];g=v[c+76>>2];i:{if((g|0)<1){d=0;break i}a=v[c+84>>2];d=0;e=0;while(1){j=v[a+8>>2];h=v[a+12>>2];i=FK(b,v[a+28>>2]<<3,h<<3);if(!i){break d}v[(b+(e<<2)|0)+844>>2]=i;a=a+88|0;d=B(j,h)+d|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}}v[b+888>>2]=d}v[c+884>>2]=0;f=1}return f|0}X(29012,7121,1306,88128);L()}X(48344,7121,1307,88128);L()}function rR(a,b){var c=0,d=0,e=0;a:{d=w[a+8|0];if(!(d&2)){break a}c=v[a>>2];b:{switch(w[a+9|0]-8|0){case 0:c:{switch(d-2|0){case 4:if(!c){break a}a=c&3;if(c-1>>>0>=3){c=c&-4;while(1){d=w[b+2|0];t[b+2|0]=w[b|0];t[b|0]=d;d=w[b+4|0];t[b+4|0]=w[b+6|0];t[b+6|0]=d;d=w[b+8|0];t[b+8|0]=w[b+10|0];t[b+10|0]=d;d=w[b+12|0];t[b+12|0]=w[b+14|0];t[b+14|0]=d;b=b+16|0;c=c-4|0;if(c){continue}break}}if(!a){break a}while(1){c=w[b+2|0];t[b+2|0]=w[b|0];t[b|0]=c;b=b+4|0;a=a-1|0;if(a){continue}break};break a;case 0:break c;default:break a}}if(!c){break a}a=c&3;if(c-1>>>0>=3){c=c&-4;while(1){d=w[b+2|0];t[b+2|0]=w[b|0];t[b|0]=d;d=w[b+3|0];t[b+3|0]=w[b+5|0];t[b+5|0]=d;d=w[b+6|0];t[b+6|0]=w[b+8|0];t[b+8|0]=d;d=w[b+9|0];t[b+9|0]=w[b+11|0];t[b+11|0]=d;b=b+12|0;c=c-4|0;if(c){continue}break}}if(!a){break a}while(1){c=w[b+2|0];t[b+2|0]=w[b|0];t[b|0]=c;b=b+3|0;a=a-1|0;if(a){continue}break};break a;case 8:break b;default:break a}}d:{switch(d-2|0){case 4:if(!c){break a}if((c|0)!=1){a=c&-2;while(1){d=w[b|0]|w[b+1|0]<<8;e=w[b+4|0]|w[b+5|0]<<8;t[b|0]=e;t[b+1|0]=e>>>8;t[b+4|0]=d;t[b+5|0]=d>>>8;d=w[b+8|0]|w[b+9|0]<<8;e=w[b+12|0]|w[b+13|0]<<8;t[b+8|0]=e;t[b+9|0]=e>>>8;t[b+12|0]=d;t[b+13|0]=d>>>8;b=b+16|0;a=a-2|0;if(a){continue}break}}if(!(c&1)){break a}a=w[b|0]|w[b+1|0]<<8;c=w[b+4|0]|w[b+5|0]<<8;t[b|0]=c;t[b+1|0]=c>>>8;t[b+4|0]=a;t[b+5|0]=a>>>8;return;case 0:break d;default:break a}}if(!c){break a}if((c|0)!=1){a=c&-2;while(1){d=w[b|0]|w[b+1|0]<<8;e=w[b+4|0]|w[b+5|0]<<8;t[b|0]=e;t[b+1|0]=e>>>8;t[b+4|0]=d;t[b+5|0]=d>>>8;d=w[b+6|0]|w[b+7|0]<<8;e=w[b+10|0]|w[b+11|0]<<8;t[b+6|0]=e;t[b+7|0]=e>>>8;t[b+10|0]=d;t[b+11|0]=d>>>8;b=b+12|0;a=a-2|0;if(a){continue}break}}if(!(c&1)){break a}a=w[b|0]|w[b+1|0]<<8;c=w[b+4|0]|w[b+5|0]<<8;t[b|0]=c;t[b+1|0]=c>>>8;t[b+4|0]=a;t[b+5|0]=a>>>8}}function pk(a){var b=0,c=0,d=0,e=0;if(a){a:{switch(v[a+4>>2]-2|0){case 12:bq(a);return;case 16:c=v[a+8>>2];if(c){Ub[v[259708]](c)}c=v[a+12>>2];if(c){Ub[v[259708]](c)}Ub[v[259708]](a);return;case 0:Nu(a);return;default:break a}}b:{if(!v[294265]){break b}c=v[294263];if(!c){break b}Ub[c|0](a)}c=v[a+32>>2];if(c){d=v[c+80>>2]}c:{if(v[a+4>>2]!=17){break c}e=v[a+56>>2];d:{if(!e){break d}if(d){c=d;while(1){b=v[c+16>>2];if(b){while(1){if(e>>>0<=y[b+4>>2]&e>>>0>=b+20>>>0){break d}b=v[b>>2];if(b){continue}break}}c=v[c+20>>2];if(c){continue}break}}Ub[v[259708]](e)}e=v[a+52>>2];if(!e){break c}if(d){c=d;while(1){b=v[c+16>>2];if(b){while(1){if(e>>>0<=y[b+4>>2]&e>>>0>=b+20>>>0){break c}b=v[b>>2];if(b){continue}break}}c=v[c+20>>2];if(c){continue}break}}Ub[v[259708]](e)}b=v[a+12>>2];e:{f:{if(b){c=5;if(v[a+4>>2]==5){break f}hl(b)}c=v[a+4>>2];g:{if(c>>>0>20|!(1<>2];if(!b){break g}while(1){c=v[b+24>>2];Nu(b);b=c;if(b){continue}break}c=v[a+4>>2]}if((c|0)==1){break e}}e=v[a+40>>2];if(!e|(c|0)==5|((c|0)==20|(c|0)==19)){break e}if((e|0)==(a+44|0)){break e}if(d){c=d;while(1){b=v[c+16>>2];if(b){while(1){if(e>>>0<=y[b+4>>2]&e>>>0>=b+20>>>0){break e}b=v[b>>2];if(b){continue}break}}c=v[c+20>>2];if(c){continue}break}}Ub[v[259708]](e)}c=v[a+8>>2];h:{i:{if(!c){break i}j:{b=v[a+4>>2];switch(b-3|0){case 0:case 5:break h;default:break j}}if(d){while(1){b=v[d+16>>2];if(b){while(1){if(c>>>0<=y[b+4>>2]&c>>>0>=b+20>>>0){break i}b=v[b>>2];if(b){continue}break}}d=v[d+20>>2];if(d){continue}break}}Ub[v[259708]](c)}b=v[a+4>>2]}k:{if(!(1<>>0>20){break k}b=v[a+48>>2];if(!b){break k}while(1){c=v[b>>2];d=v[b+8>>2];if(d){Ub[v[259708]](d)}d=v[b+12>>2];if(d){Ub[v[259708]](d)}Ub[v[259708]](b);b=c;if(b){continue}break}}Ub[v[259708]](a)}}function iba(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=Qb-208|0;Qb=f;v[f+200>>2]=37;v[f+204>>2]=0;g=uw(f+200|1,358460,v[c+4>>2]);v[f+156>>2]=f+160;a=pg();a:{if(g){j=v[c+8>>2];A[f+40>>3]=e;v[f+32>>2]=j;a=Mh(f+160|0,30,a,f+200|0,f+32|0);break a}A[f+48>>3]=e;a=Mh(f+160|0,30,a,f+200|0,f+48|0)}v[f+80>>2]=1563;j=Mf(f+144|0,0,f+80|0);i=f+160|0;h=i;b:{c:{d:{if((a|0)>=30){e:{if(g){v[299999]=0;a=ga(5559)|0;h=v[299999];v[299999]=0;if((h|0)==1){break c}v[f>>2]=v[c+8>>2];v[299999]=0;A[f+8>>3]=e;a=Z(5582,f+156|0,a|0,f+200|0,f|0)|0;h=v[299999];v[299999]=0;if((h|0)!=1){break e}break c}v[299999]=0;a=ga(5559)|0;h=v[299999];v[299999]=0;if((h|0)==1){break c}A[f+16>>3]=e;v[299999]=0;a=Z(5582,f+156|0,a|0,f+200|0,f+16|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break c}}if((a|0)==-1){v[299999]=0;ba(5538);a=v[299999];v[299999]=0;if((a|0)==1){break c}break d}Ig(j,v[f+156>>2]);h=v[f+156>>2]}k=a+h|0;l=hj(h,k,c);v[f+68>>2]=1563;h=Mf(f+72|0,0,f+68|0);f:{g:{if(v[f+156>>2]==(f+160|0)){a=f+80|0;break g}a=jc(a<<1);if(!a){v[299999]=0;ba(5538);a=v[299999];v[299999]=0;if((a|0)!=1){break d}c=P()|0;O()|0;break f}Ig(h,a);i=v[f+156>>2]}v[299999]=0;g=v[c+28>>2];v[f+56>>2]=g;v[g+4>>2]=v[g+4>>2]+1;g=v[299999];v[299999]=0;h:{i:{if((g|0)!=1){v[299999]=0;la(5583,i|0,l|0,k|0,a|0,f+68|0,f- -64|0,f+56|0);g=v[299999];v[299999]=0;if((g|0)==1){break i}g=v[f+56>>2];i=v[g+4>>2]-1|0;v[g+4>>2]=i;if((i|0)==-1){Ub[v[v[g>>2]+8>>2]](g)}v[299999]=0;a=aa(5584,b|0,a|0,v[f+68>>2],v[f+64>>2],c|0,d|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break h}ee(h);ee(j);Qb=f+208|0;return a|0}c=P()|0;O()|0;break f}c=P()|0;O()|0;a=v[f+56>>2];b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}break f}c=P()|0;O()|0}ee(h);break b}L()}c=P()|0;O()|0}ee(j);T(c|0);L()}function Yaa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=Qb-384|0;Qb=f;v[f+376>>2]=37;v[f+380>>2]=0;g=uw(f+376|1,358460,v[c+4>>2]);v[f+332>>2]=f+336;a=pg();a:{if(g){j=v[c+8>>2];A[f+40>>3]=e;v[f+32>>2]=j;a=Mh(f+336|0,30,a,f+376|0,f+32|0);break a}A[f+48>>3]=e;a=Mh(f+336|0,30,a,f+376|0,f+48|0)}v[f+80>>2]=1563;j=Mf(f+320|0,0,f+80|0);i=f+336|0;h=i;b:{c:{d:{if((a|0)>=30){e:{if(g){v[299999]=0;a=ga(5559)|0;h=v[299999];v[299999]=0;if((h|0)==1){break c}v[f>>2]=v[c+8>>2];v[299999]=0;A[f+8>>3]=e;a=Z(5582,f+332|0,a|0,f+376|0,f|0)|0;h=v[299999];v[299999]=0;if((h|0)!=1){break e}break c}v[299999]=0;a=ga(5559)|0;h=v[299999];v[299999]=0;if((h|0)==1){break c}A[f+16>>3]=e;v[299999]=0;a=Z(5582,f+332|0,a|0,f+376|0,f+16|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break c}}if((a|0)==-1){v[299999]=0;ba(5538);a=v[299999];v[299999]=0;if((a|0)==1){break c}break d}Ig(j,v[f+332>>2]);h=v[f+332>>2]}k=a+h|0;l=hj(h,k,c);v[f+68>>2]=1563;h=Mf(f+72|0,0,f+68|0);f:{g:{if(v[f+332>>2]==(f+336|0)){a=f+80|0;break g}a=jc(a<<3);if(!a){v[299999]=0;ba(5538);a=v[299999];v[299999]=0;if((a|0)!=1){break d}c=P()|0;O()|0;break f}Ig(h,a);i=v[f+332>>2]}v[299999]=0;g=v[c+28>>2];v[f+56>>2]=g;v[g+4>>2]=v[g+4>>2]+1;g=v[299999];v[299999]=0;h:{i:{if((g|0)!=1){v[299999]=0;la(5594,i|0,l|0,k|0,a|0,f+68|0,f- -64|0,f+56|0);g=v[299999];v[299999]=0;if((g|0)==1){break i}g=v[f+56>>2];i=v[g+4>>2]-1|0;v[g+4>>2]=i;if((i|0)==-1){Ub[v[v[g>>2]+8>>2]](g)}v[299999]=0;a=aa(5595,b|0,a|0,v[f+68>>2],v[f+64>>2],c|0,d|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break h}ee(h);ee(j);Qb=f+384|0;return a|0}c=P()|0;O()|0;break f}c=P()|0;O()|0;a=v[f+56>>2];b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}break f}c=P()|0;O()|0}ee(h);break b}L()}c=P()|0;O()|0}ee(j);T(c|0);L()}function fh(a,b,c){var d=0,e=0;a:{if(!(w[a+460|0]|!(w[a+476|0]?1:w[a+496|0])|(w[a+498|0]|!(w[b+65|0]?1:w[b+64|0])))){d=Ss(a,b);if(d){break a}}v[a+544>>2]=b;if(!c){c=v[a+512>>2];v[a+512>>2]=b;pJ(a);v[a+512>>2]=c}if(!(w[a+497|0]|!w[a+477|0])){t[a+477|0]=0;c=v[a+512>>2];v[a+512>>2]=b;d=Ro(a);v[a+512>>2]=c;if(d){break a}v[a+440>>2]=v[a+440>>2]+1}b:{if(w[a+497|0]|(w[a+460|0]|!(w[a+476|0]?1:w[a+496|0]))){break b}t[a+498|0]=0;if(v[a+676>>2]>2]|v[a+684>>2]>2]){break b}Vv(a);c=a;c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{b=v[b+88>>2];switch(w[b+45|0]){case 14:break f;case 12:break g;case 10:break h;case 8:break i;case 6:break j;case 4:break k;case 3:break l;case 2:break m;case 0:break n;default:break c}}v[a+980>>2]=w[b+44|0]>8?820:821;d=!w[b+56|0];break d}v[a+980>>2]=w[b+44|0]>8?822:823;d=!w[b+56|0];break d}v[a+980>>2]=824;d=!w[b+56|0];break d}v[a+980>>2]=w[b+44|0]>8?825:826;break e}v[a+980>>2]=w[b+44|0]>8?693:694;break e}v[a+980>>2]=w[b+44|0]>8?820:821;d=1;break d}v[a+980>>2]=w[b+44|0]>8?822:823;d=1;break d}v[a+980>>2]=w[b+44|0]>8?825:826;break e}v[a+980>>2]=w[b+44|0]>8?693:694}d=0}t[c+649|0]=d}v[a+584>>2]=1;v[a+576>>2]=1;v[a+580>>2]=0;t[a+568|0]=255;v[a+572>>2]=v[a+664>>2];c=v[b+36>>2];v[a+588>>2]=c;t[a+648|0]=0;v[a+604>>2]=c<<2;if(w[b+44|0]>=9){t[a+648|0]=1;v[a+604>>2]=c<<3}v[a+976>>2]=0;d=Ps(a,0,0,1);if(d){break a}b=Ub[v[a+152>>2]](v[a+604>>2])|0;v[a+644>>2]=b;if(!b){pc(a,1,0,0);return 1}b=v[a+664>>2];while(1){o:{c=b;e=v[a+668>>2];if((e|0)<=(b|0)){d=0;break o}d=Ub[v[a+980>>2]](a)|0;if(d){break o}b=v[a+976>>2];if(b){d=Ub[b|0](a)|0;if(d){break o}}d=Ub[v[a+968>>2]](a)|0;if(d){break o}b=c+1|0;d=Bq(a);if(!d){continue}}break}b=v[a+644>>2];if(b){Ub[v[a+156>>2]](b,v[a+604>>2]);v[a+644>>2]=0}if((c|0)<(e|0)){break a}}d=0}return d}function Uv(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{switch(w[a+498|0]){case 3:b=yg(a,x[a+1154>>1]);if(b){fh(a,b,0)}t[a+498|0]=0;return 0;default:h=x[a+1156>>1];b=x[a+1154>>1];g=u[a+1152>>1];c=x[a+1150>>1];break a;case 0:break b}}b=x[a+1150>>1];g=x[a+1152>>1];h=b>>>0>g>>>0?-1:1;u[a+1156>>1]=h;c=b}c:{d:{if((w[a+1148|0]&254)!=6){e:{while(1){c=yg(a,b&65535);f:{if(!c){break f}if(w[a+498|0]){fh(a,c,0);t[a+498|0]=0;break f}g:{switch(w[a+1148|0]){case 0:t[c+31|0]=1;fh(a,c,0);break f;case 1:t[c+31|0]=0;break f;case 2:if(!w[c+31|0]){break f}fh(a,c,0);break f;case 3:t[c+31|0]=1;break f;case 4:d=w[c+31|0];t[c+31|0]=!d;if(d){break f}fh(a,c,0);break f;case 5:break g;default:break f}}t[c+31|0]=!w[c+31|0]}d=b;c=b+h|0;b=w[a+497|0];d=(b?d:c)<<16>>16;if(b){break e}e=h<<16>>16;if((e|0)>=1){b=c;if((d|0)<=g<<16>>16){continue}}if((e|0)<=-1){b=c;if((d|0)>=g<<16>>16){continue}}break}t[a+498|0]=0;break d}u[a+1154>>1]=d;t[a+498|0]=4;return 0}i=1;h:{if(h<<16>>16>=1){if(c<<16>>16>g<<16>>16){break c}while(1){d=0;b=c;while(1){f=yg(a,b&65535);i:{if(!f){break i}if(d&65535){t[f+31|0]=0;break i}if(e&65535){t[f+31|0]=1;d=b;j=f;break i}if(!w[f+31|0]){e=0;d=0;break i}d=0;t[f+31|0]=0;e=b}b=b+h<<16>>16;if((b|0)<=g<<16>>16){continue}break}e=e&65535?e:1;b=!(d&65535)&i;i=0;if(b){continue}break}break h}if(c<<16>>16>16){break c}while(1){d=0;b=c;while(1){f=yg(a,b&65535);j:{if(!f){break j}if(d&65535){t[f+31|0]=0;break j}if(e&65535){t[f+31|0]=1;d=b;j=f;break j}if(!w[f+31|0]){e=0;d=0;break j}d=0;t[f+31|0]=0;e=b}b=b+h<<16>>16;if((b|0)>=g<<16>>16){continue}break}e=e&65535?e:1;b=!(d&65535)&i;i=0;if(b){continue}break}}t[a+498|0]=0;if(!j|w[a+1148|0]!=6){break d}fh(a,j,0);if(!w[a+497|0]){break d}u[a+1154>>1]=d;t[a+498|0]=3;return 0}return 0}t[a+498|0]=0;return 0}function O2a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=Qb-48|0;Qb=e;a:{b:{c:{d:{if(!mc(b,235072)){if(d){b=Yf(c,e+12|0,10);d=v[e+12>>2];if(w[d|0]!=44|(c|0)==(d|0)){break b}d=d+1|0;l=e,m=Yf(d,e+12|0,10),v[l+20>>2]=m;c=v[e+12>>2];if(w[c|0]!=44){break b}if((c|0)!=(d|0)){break d}break b}b=v[c>>2];break c}if(!mc(b,280145)){if(d){f=6;if(mc(c,286668)){break a}v[a+28>>2]=1;f=0;break a}f=7;if(v[c>>2]!=1){break a}v[a+28>>2]=1;f=0;break a}if(!mc(b,272686)){if(d){if(!Yf(c,0,10)){t[a+32|0]=0;break a}t[a+32|0]=1;break a}t[a+32|0]=w[c|0];break a}f=12;if(mc(b,291980)){break a}f=0;e:{if(d){b=Yf(c,0,10);break e}b=v[c>>2]}v[a+68>>2]=(b|0)>0?b:0;break a}d=c+1|0;l=e,m=Yf(d,e+12|0,10),v[l+24>>2]=m;c=v[e+12>>2];if(w[c|0]!=44|(c|0)==(d|0)){break b}d=c+1|0;l=e,m=Yf(d,e+12|0,10),v[l+28>>2]=m;c=v[e+12>>2];if(w[c|0]!=44|(c|0)==(d|0)){break b}d=c+1|0;l=e,m=Yf(d,e+12|0,10),v[l+32>>2]=m;c=v[e+12>>2];if(w[c|0]!=44|(c|0)==(d|0)){break b}d=c+1|0;l=e,m=Yf(d,e+12|0,10),v[l+36>>2]=m;c=v[e+12>>2];if(w[c|0]!=44|(c|0)==(d|0)){break b}d=c+1|0;l=e,m=Yf(d,e+12|0,10),v[l+40>>2]=m;c=v[e+12>>2];if(w[c|0]!=44|(c|0)==(d|0)){break b}d=c+1|0;l=e,m=Yf(d,e+12|0,10),v[l+44>>2]=m;f=v[e+12>>2];if((w[f|0]|32)!=32){break b}c=e+16|0;if((d|0)!=(f|0)){break c}f=6;break a}f=6;if((b|0)<0){break a}d=v[c+8>>2];if((d|0)<0){break a}g=v[c+16>>2];if((g|0)<0){break a}h=v[c+24>>2];if((h|0)<0){break a}i=v[c+4>>2];if((i|0)<0){break a}j=v[c+12>>2];if((j|0)<0){break a}k=v[c+20>>2];if((k|0)<0){break a}c=v[c+28>>2];if((c|0)<0|(b|0)>(d|0)|((d|0)>(g|0)|(g|0)>(h|0))){break a}if((i|0)>500|(j|0)>500|((k|0)>500|(c|0)>500)){break a}v[a+60>>2]=h;v[a+48>>2]=j;v[a+36>>2]=b;v[a- -64>>2]=c;v[a+56>>2]=k;v[a+52>>2]=g;v[a+44>>2]=d;v[a+40>>2]=i;f=0;break a}f=6}Qb=e+48|0;return f|0}function Bxa(a){a=a|0;var b=0,c=0,d=0;a:{b:{c:{if(v[a+44>>2]>2]){break c}b=-1;if(v[a+52>>2]){break b}v[a+44>>2]=0;while(1){b=v[a+4>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;v[a+8>>2]=b;if(w[b+937984|0]==1&b>>>0<=255){continue}break}d:{e:{f:{b=v[a+8>>2];switch(b-122|0){case 4:break a;case 1:case 2:case 3:break d;case 0:break f;default:break e}}v[a+28>>2]=0;v[a+32>>2]=0;v[a+48>>2]=4;v[a+36>>2]=0;v[a+40>>2]=0;break c}if((b|0)==-1){break a}}while(1){b=v[a+4>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;v[a+12>>2]=b;if(w[b+937984|0]==1&b>>>0<=255){continue}break}d=1;g:{h:{b=v[a+12>>2];if((b|0)==-1){c=1;break h}c=1;if((b|0)==126){break h}while(1){b=v[a+4>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;v[a+16>>2]=b;if(w[b+937984|0]==1&b>>>0<=255){continue}break}c=2;b=v[a+16>>2];if((b|0)==-1|(b|0)==126){break h}while(1){b=v[a+4>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;v[a+20>>2]=b;if(w[b+937984|0]==1&b>>>0<=255){continue}break}c=3;b=v[a+20>>2];if((b|0)==-1|(b|0)==126){break h}while(1){b=v[a+4>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;v[a+24>>2]=b;if(w[b+937984|0]==1&b>>>0<=255){continue}break}c=4;d=0;b=v[a+24>>2];if((b|0)==-1|(b|0)==126){break h}v[a+48>>2]=4;break g}v[a+48>>2]=c-1;if((b|0)!=126&(b|0)!=-1){break g}i:{if(!d){break i}d=3-c|0;b=4-c&7;if(b){while(1){c=c+1|0;v[((c<<2)+a|0)+8>>2]=117;b=b-1|0;if(b){continue}break}}if(d>>>0<7){break i}while(1){d=a+8|0;b=d+(c<<2)|0;v[b+28>>2]=117;v[b+20>>2]=117;v[b+24>>2]=117;v[b+12>>2]=117;v[b+16>>2]=117;v[b+4>>2]=117;v[b+8>>2]=117;c=c+8|0;v[d+(c<<2)>>2]=117;continue}}v[a+52>>2]=1}b=(v[a+24>>2]+B(v[a+20>>2]+B(v[a+16>>2]+B(v[a+12>>2]+B(v[a+8>>2],85)|0,85)|0,85)|0,85)|0)-1743128013|0;v[a+40>>2]=b&255;v[a+28>>2]=b>>>24;v[a+36>>2]=b>>>8&255;v[a+32>>2]=b>>>16&255}b=v[((v[a+44>>2]<<2)+a|0)+28>>2]}return b|0}v[a+48>>2]=0;v[a+52>>2]=1;return-1}function qk(a,b,c){var d=0,e=0,f=0,g=0,h=0;h=Qb-16|0;Qb=h;a:{if(v[a+4>>2]!=1?a:0){break a}b:{if(!c){break b}d=258814;if((c|0)!=258814){e=c;while(1){f=w[e|0];if((f|0)!=w[d|0]){break b}d=d+1|0;e=e+1|0;if(f){continue}break}}d=286150;f=0;if((b|0)==286150){break a}if(!b){break b}e=b;while(1){g=w[e|0];if((g|0)!=w[d|0]){break b}d=d+1|0;e=e+1|0;if(g){continue}break}break a}f=Ub[v[259704]](24)|0;if(!f){v[h>>2]=286207;oc(0,0,0,0,0,2,2,3,286207,0,0,0,350051,h);f=0;break a}v[f>>2]=0;v[f+4>>2]=0;v[f+16>>2]=0;v[f+20>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;v[f+4>>2]=18;if(b){d=b;while(1){e=d;d=d+1|0;if(w[e|0]){continue}break}d=0;e=e-b|0;c:{if((e|0)<0){break c}g=Ub[v[259707]](e+1|0)|0;if(!g){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break c}d=gc(g,b,e);t[e+d|0]=0}v[f+8>>2]=d}if(c){d=c;while(1){b=d;d=d+1|0;if(w[b|0]){continue}break}d=0;b=b-c|0;d:{if((b|0)<0){break d}e=Ub[v[259707]](b+1|0)|0;if(!e){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break d}d=gc(e,c,b);t[b+d|0]=0}v[f+12>>2]=d}if(!a){break a}b=v[a+48>>2];if(!b){v[a+48>>2]=f;break a}e=0;e:{c=v[f+12>>2];d=v[b+12>>2];if(!(c|d)){break e}if((c|0)==(d|0)){e=d;break e}f:{if(!d|!c){break f}e=c;while(1){a=w[d|0];if((a|0)!=w[e|0]){break f}e=e+1|0;d=d+1|0;if(a){continue}break}e=c;break e}g:{d=v[b>>2];h:{if(!d){break h}if(c){while(1){b=d;d=v[d+12>>2];if((d|0)==(c|0)){break g}e=c;i:{if(!d){break i}while(1){a=w[d|0];if((a|0)!=w[e|0]){break i}e=e+1|0;d=d+1|0;if(a){continue}break}break g}d=v[b>>2];if(d){continue}break h}}while(1){b=d;if(!v[d+12>>2]){break g}d=v[b>>2];if(d){continue}break}}v[b>>2]=f;break a}a=v[f+8>>2];if(a){Ub[v[259708]](a);c=v[f+12>>2]}if(c){Ub[v[259708]](c)}Ub[v[259708]](f);f=0;break a}a=v[f+8>>2];if(a){Ub[v[259708]](a);e=v[f+12>>2]}if(e){Ub[v[259708]](e)}Ub[v[259708]](f);f=0}Qb=h+16|0;return f}function U4a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(!v[293566]){h=1174264,i=hH(),v[h>>2]=i}e=fc(24);v[e>>2]=460496;v[e+4>>2]=1;v[e+20>>2]=1;c=e+12|0;v[c>>2]=0;v[c+4>>2]=0;v[e+8>>2]=c;c=v[293894];if(!(!c|(c|0)==(e|0))){Ub[v[v[c>>2]+12>>2]](c)|0}v[293894]=e;e=fc(8);c=v[293566];v[e+4>>2]=c;v[e>>2]=0;d=v[v[c>>2]+8>>2];v[299999]=0;S(d|0,c|0)|0;c=v[299999];v[299999]=0;a:{if((c|0)!=1){c=0;b:{if(yd(a,335724)){break b}c:{if(w[a|0]!=65|(b|0)<8|(w[a+1|0]!=84|w[a+2|0]!=38)){break c}if(w[a+3|0]!=84|w[a+4|0]!=70|(w[a+5|0]!=79|w[a+6|0]!=82)){break c}c=1;if(w[a+7|0]==77){break b}}c=2}d=Qb-48|0;Qb=d;d:{e:{f:{g:{h:{i:{switch(c|0){case 0:f=fc(12);c=v[e+4>>2];v[299999]=0;c=Q(1565,f|0,c|0)|0;g=v[299999];v[299999]=0;if((g|0)!=1){break h}break e;case 1:f=fc(8);c=v[e+4>>2];v[299999]=0;c=Q(1566,f|0,c|0)|0;g=v[299999];v[299999]=0;if((g|0)!=1){break h}break e;case 2:f=fc(8);c=v[e+4>>2];v[299999]=0;c=Q(1567,f|0,c|0)|0;g=v[299999];v[299999]=0;if((g|0)!=1){break h}break e;default:break i}}c=v[e>>2];if(c){break g}c=0;break f}v[e>>2]=c}t[d+43|0]=0;v[d+32>>2]=0;t[d+27|0]=0;v[d+16>>2]=0;t[d+11|0]=0;v[d>>2]=0;f=v[v[c>>2]+12>>2];v[299999]=0;c=aa(f|0,c|0,a|0,b|0,d+32|0,d+16|0,d|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){if(t[d+11|0]<=-1){dc(v[d>>2])}if(t[d+27|0]<=-1){dc(v[d+16>>2])}if(t[d+43|0]>-1){break f}dc(v[d+32>>2]);break f}a=P()|0;O()|0;if(t[d+11|0]<=-1){dc(v[d>>2])}if(t[d+27|0]<=-1){dc(v[d+16>>2])}if(t[d+43|0]<=-1){dc(v[d+32>>2])}T(a|0);L()}Qb=d+48|0;break d}a=P()|0;O()|0;dc(f);T(a|0);L()}if(!c){a=v[e>>2];if(a){Ub[v[v[a>>2]+4>>2]](a);v[e>>2]=0}a=v[e+4>>2];if(a){b=v[v[a>>2]+12>>2];v[299999]=0;S(b|0,a|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break a}v[e+4>>2]=0}dc(e);e=0}return e|0}a=P()|0;O()|0;dc(e);T(a|0);L()}W(0)|0;O()|0;lc();L()}function J9a(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;f=Qb-16|0;Qb=f;a:{b:{if(w[a+285|0]|w[a+286|0]|(w[a+287|0]|w[a+288|0])){break b}if(w[a+289|0]){break b}c=1029;pc(a,1029,0,0);break a}if(c>>>0>2){k=d;while(1){j=k;k=j+1|0;if(w[j|0]){continue}break}i=j-d|0;if((i|0)>(c|0)){c=1043;pc(a,1043,0,0);break a}if((d|0)==(j|0)){c=1044;pc(a,1044,0,0);break a}if(w[k|0]){c=1038;pc(a,1038,0,0);break a}v[f+4>>2]=0;l=(c-i|0)-2|0;c:{if(!v[a+192>>2]){break c}c=Rs(a,j+2|0,l,f+4|0,f+8|0,f+12|0);if(c){b=v[f+4>>2];if(!b){break a}Ub[v[a+156>>2]](b,v[f+8>>2]);break a}c=i+1|0;h=Ub[v[a+152>>2]](c)|0;if(!h){b=v[f+4>>2];if(b){Ub[v[a+156>>2]](b,v[f+8>>2])}c=1;pc(a,1,0,0);break a}m=gc(h,d,i);g=v[f+4>>2];if(Ub[v[a+192>>2]](a,1,m,g,0,0)|0){break c}if(g){Ub[v[a+156>>2]](g,v[f+8>>2])}Ub[v[a+156>>2]](m,c);c=904;pc(a,904,0,0);break a}d:{if(!w[a+112|0]){break d}c=Ub[v[b+4>>2]](a,b,e)|0;if(c){if(g){Ub[v[a+156>>2]](g,v[f+8>>2])}if(!h){break a}Ub[v[a+156>>2]](h,i+1|0);break a}b=v[e>>2];v[b+32>>2]=i;t[b+40|0]=w[k|0];e:{if(!l|g){break e}c=Rs(a,j+2|0,l,f+4|0,f+8|0,f+12|0);if(!c){break e}b=v[f+4>>2];if(b){Ub[v[a+156>>2]](b,v[f+8>>2])}if(!h){break a}Ub[v[a+156>>2]](h,i+1|0);break a}b=i+1|0;c=Ub[v[a+152>>2]](b)|0;v[v[e>>2]+36>>2]=c;c=v[v[e>>2]+36>>2];if(!c){c=v[f+4>>2];if(c){Ub[v[a+156>>2]](c,v[f+8>>2])}if(h){Ub[v[a+156>>2]](h,b)}c=1;pc(a,1,0,0);break a}gc(c,d,i);c=v[f+12>>2];v[v[e>>2]+44>>2]=c;if(!l){g=v[f+4>>2];break d}d=Ub[v[a+152>>2]](c+1|0)|0;v[v[e>>2]+48>>2]=d;g=v[f+4>>2];d=v[v[e>>2]+48>>2];if(!d){if(g){Ub[v[a+156>>2]](g,v[f+8>>2])}if(h){Ub[v[a+156>>2]](h,b)}c=1;pc(a,1,0,0);break a}gc(d,g,c)}if(g){Ub[v[a+156>>2]](g,v[f+8>>2])}c=0;if(!h){break a}Ub[v[a+156>>2]](h,i+1|0);break a}c=1028;pc(a,1028,0,0)}Qb=f+16|0;return c|0}function l6a(a){a=a|0;var 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=Qb+-64|0;Qb=c;e=bd(x[a+26306>>1],2);if(e){d=v[a+26108>>2];if(d){j=v[252391];b=x[a+26304>>1];while(1){f=b&65535;b=0;if(f){f=0;while(1){if(!((f>>>0)%y[a+26168>>2]|0)){Ub[v[v[a>>2]+8>>2]](v[a+4>>2],v[a+26048>>2]+(k<<2)|0,0)|0;d=v[a>>2];g=v[d+8>>2];b=v[a+4>>2];v[c+60>>2]=-1;Ub[v[d>>2]](b,c+60|0,1,4)|0;d=w[c+60|0];if(x[a+25204>>1]==18761){h=d|w[c+61|0]<<8|w[c+62|0]<<16|w[c+63|0]<<24}else{h=w[c+63|0]|(w[c+61|0]<<16|d<<24|w[c+62|0]<<8)}Ub[g|0](b,h+(x[a+26314>>1]<<1)|0,0)|0;k=k+1|0}a:{if(v[a+160>>2]!=(i|0)?v[a+26028>>2]:0){break a}b=x[a+26306>>1];if((Ub[v[v[a>>2]>>2]](v[a+4>>2],e,2,b)|0)<(b|0)){b:{if(v[a+26160>>2]){break b}v[c+48>>2]=v[a+25208>>2];wc(j,8292,c+48|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,j);break b}d=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[c+32>>2]=d;v[c+36>>2]=d>>31;wc(j,14622,c+32|0)}v[a+26160>>2]=1}if(x[a+25204>>1]!=18761){sp(e,e,b<<1)}g=f-x[a+26312>>1]|0;if(g>>>0>=x[a+26308>>1]){break a}d=x[a+26310>>1];if(!d){break a}l=v[a+26352>>2];m=v[a+26028>>2];if(m){d=g<<1&14;b=0;while(1){h=x[a+26316>>1];u[((B(x[a+26320>>1],g>>>h|0)+(b>>>h|0)<<3)+l|0)+((m>>>((d|b&1)<<1)&3)<<1)>>1]=x[e+(b<<1)>>1];b=b+1|0;if(b>>>0>1]){continue}break}break a}b=0;while(1){u[((B(d,g)+b<<3)+l|0)+(i<<1)>>1]=x[e+(b<<1)>>1];b=b+1|0;d=x[a+26310>>1];if(b>>>0>>0){continue}break}}b=x[a+26304>>1];f=f+1|0;if(b>>>0>f>>>0){continue}break}d=v[a+26108>>2]}i=i+1|0;if(i>>>0>>0){continue}break}}dc(e);if(!v[a+26028>>2]){v[a+26132>>2]=1;v[a+26124>>2]=65535}Qb=c- -64|0;return}b=v[a+190640>>2];c:{if(b){e=v[a+25208>>2];v[c+20>>2]=43377;v[c+16>>2]=e;zd(b,4338,c+16|0);break c}b=v[a+25208>>2];v[c+4>>2]=43377;v[c>>2]=b;wc(v[252391],4338,c)}sd(a+190484|0,1);L()}function bX(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=Qb-32|0;Qb=g;d=v[a+32>>2];if(d){e=d-4|0;c=v[e>>2];if(c){c=d+B(c,20)|0;while(1){f=c-20|0;if(t[c-9|0]<=-1){dc(v[f>>2])}c=f;if((d|0)!=(c|0)){continue}break}}dc(e);v[a+32>>2]=0}f=g+24|0;v[f+4>>2]=b;v[f>>2]=b;v[299999]=0;b=v[f+4>>2];d=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);v[f+4>>2]=b+4;b=v[299999];v[299999]=0;a:{if((b|0)==1){break a}v[a+36>>2]=d;b:{c:{if((d|0)<1){break c}v[299999]=0;e=Bib(d,0,20,0);h=e+4|0;b=S(15,(Tb?-1:e>>>0>h>>>0?-1:h)|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}v[b>>2]=d;c=b+4|0;b=c;h=B(d,20);i=h-20|0;e=((i>>>0)/20|0)+1&7;if(e){b=c;while(1){v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;b=b+20|0;e=e-1|0;if(e){continue}break}}if(i>>>0>=140){e=c+h|0;while(1){v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+40>>2]=0;v[b+44>>2]=0;v[b+60>>2]=0;v[b+64>>2]=0;v[b+80>>2]=0;v[b+84>>2]=0;v[b+100>>2]=0;v[b+104>>2]=0;v[b+120>>2]=0;v[b+124>>2]=0;v[b+140>>2]=0;v[b+144>>2]=0;v[b+8>>2]=0;v[b+28>>2]=0;v[b+48>>2]=0;v[b+68>>2]=0;v[b+88>>2]=0;v[b+108>>2]=0;v[b+128>>2]=0;v[b+148>>2]=0;b=b+160|0;if((e|0)!=(b|0)){continue}break}}v[a+32>>2]=c;e=0;if((d|0)<=0){break c}while(1){v[299999]=0;V(2685,g+8|0,f|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}c=B(e,20);b=c+v[a+32>>2]|0;if(t[b+11|0]<=-1){dc(v[b>>2])}d=v[g+12>>2];v[b>>2]=v[g+8>>2];v[b+4>>2]=d;v[b+8>>2]=v[g+16>>2];v[299999]=0;b=v[f+4>>2];d=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);v[f+4>>2]=b+4;b=v[299999];v[299999]=0;if((b|0)==1){break b}v[(c+v[a+32>>2]|0)+12>>2]=d;v[299999]=0;b=v[f+4>>2];d=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);v[f+4>>2]=b+4;b=v[299999];v[299999]=0;if((b|0)==1){break b}v[(c+v[a+32>>2]|0)+16>>2]=d;e=e+1|0;if((e|0)>2]){continue}break}}Qb=g+32|0;return}}a=P()|0;O()|0;T(a|0);L()}function c6a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=Qb-800|0;Qb=e;j=v[252391];while(1){if((Ub[v[v[a>>2]>>2]](v[a+4>>2],e+32|0,1,768)|0)<=767){a:{if(v[a+26160>>2]){break a}v[e+16>>2]=v[a+25208>>2];wc(j,8292,e+16|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,j);break a}d=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[e>>2]=d;v[e+4>>2]=d>>31;wc(j,14622,e)}v[a+26160>>2]=1}c=984;b=((i&65535)>>>0)/82|0;d=(i>>>0<984?b|1:(b<<1)-24|0)+(B(i-B(b,82)|0,12)&65532)|0;b:{c:{d:{switch(i-1476|0){case 2:d=985;b=1;default:if(b>>>0>11){c=d;break c}if(!(b&1)){c=d;break c}b=2;u[(v[a+26352>>2]+(B(x[a+26320>>1],d>>>x[a+26316>>1]|0)<<3)|0)+((v[a+26028>>2]>>>(d<<2)&3)<<1)>>1]=w[e+32|0]<<1;h=v[a+26028>>2];f=v[a+26352>>2];while(1){c=b>>>1|0;g=x[a+26316>>1];g=(f+(B(x[a+26320>>1],d>>>g|0)+(b>>>g|0)<<3)|0)+((h>>>((d<<1&14|b&1)<<1)&3)<<1)|0;b=b+1|0;e:{if(b&2){c=c+(e+32|0)|0;c=w[c+1|0]+w[c-1|0]|0;break e}c=w[c+(e+32|0)|0]<<1}u[g>>1]=c;d=d^1;if((b|0)!=1533){continue}break};b=(v[a+26028>>2]>>>(d<<2&28|2)&3)<<1;c=x[a+26316>>1];f=B(x[a+26320>>1],d>>>c|0)+(1>>>c|0)<<3;c=v[a+26352>>2];u[b+(f+c|0)>>1]=w[e+33|0]<<1;f=d;d=x[a+26316>>1];u[b+(c+(B(x[a+26320>>1],f>>>d|0)+(1533>>>d|0)<<3)|0)>>1]=w[e+797|0]<<1;break b;case 1:case 3:break b;case 0:break c;case 4:break d}}c=985}b=c&1;d=(v[a+26028>>2]>>>((b|c<<1&14)<<1)&3)<<1;h=x[a+26316>>1];f=B(x[a+26320>>1],c>>>h|0)+(b>>>h|0)<<3;h=v[a+26352>>2];u[d+(f+h|0)>>1]=w[e+32|0]<<1;b=b|2;while(1){f=x[a+26316>>1];g=d+(h+(B(x[a+26320>>1],c>>>f|0)+(b>>>f|0)<<3)|0)|0;f=e+32|0;u[g>>1]=w[f+(b>>>1|0)|0]<<1;g=x[a+26316>>1];k=b+2|0;u[d+(h+(B(x[a+26320>>1],c>>>g|0)+(k>>>g|0)<<3)|0)>>1]=w[(k>>>1|0)+f|0]<<1;f=b>>>0<1530;b=b+4|0;if(f){continue}break}}i=i+1|0;if((i|0)!=1481){continue}break}v[a+26124>>2]=510;Qb=e+800|0}function Uoa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Qb-32|0;Qb=d;a:{b:{c:{d:{e:{f:{b=v[b>>2];if(b){tO(d+8|0,b,c);v[a>>2]=0;v[a+4>>2]=v[282402];b=v[d+8>>2];g:{h:{if(b){c=v[v[b>>2]+28>>2];v[299999]=0;U(c|0,d+16|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)==1){break d}b=v[d+16>>2];if(!b){break h}c=v[v[b>>2]+28>>2];v[299999]=0;U(c|0,d+24|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break g}b=P()|0;O()|0;break c}v[d+16>>2]=0}v[d+24>>2]=0}v[299999]=0;Q(4344,a|0,d+24|0)|0;b=v[299999];v[299999]=0;i:{if((b|0)!=1){b=v[d+24>>2];v[d+24>>2]=0;if(!b){break i}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;e=v[299999];v[299999]=0;if((e|0)!=1){if(c){break i}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break i}}break a}b=P()|0;O()|0;ec(d+24|0);break c}b=a;a=v[a>>2];v[b+4>>2]=v[(a?a+12|0:1129608)>>2];a=v[d+16>>2];v[d+16>>2]=0;if(!a){break f}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break f}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break f}}break a}v[a>>2]=0;v[a+4>>2]=v[282402];v[299999]=0;v[d+24>>2]=0;Q(4344,a|0,d+24|0)|0;b=v[299999];v[299999]=0;j:{if((b|0)!=1){b=v[d+24>>2];v[d+24>>2]=0;if(!b){break j}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;e=v[299999];v[299999]=0;if((e|0)!=1){if(c){break j}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break j}}break a}b=P()|0;O()|0;ec(d+24|0);ec(a);T(b|0);L()}b=a;a=v[a>>2];v[b+4>>2]=v[(a?a+12|0:1129608)>>2];break e}a=v[d+8>>2];v[d+8>>2]=0;if(!a){break e}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break e}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Qb=d+32|0;return}b=P()|0;O()|0;break b}ec(d+16|0)}ec(a);ec(d+8|0);T(b|0);L()}W(0)|0;O()|0;lc();L()}function RSa(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,h=0,i=0,j=0,k=0,l=0,m=0;v[a+120>>2]=0;a:{if(!v[a+60>>2]){break a}v[b+120>>2]=0;if(!v[b+60>>2]){break a}g=v[b+112>>2];h=v[a+112>>2];g=(g|0)<(h|0)?g:h;h=v[b+104>>2];i=v[a+104>>2];h=(h|0)>(i|0)?h:i;if((g|0)<(h|0)){break a}i=v[b+108>>2];j=v[a+108>>2];k=(i|0)>(j|0)?i:j;i=v[b+116>>2];j=v[a+116>>2];if((k|0)>(((i|0)<(j|0)?i:j)|0)){break a}g=(g-h|0)+3|0;b:{if(g>>>0<=y[e+24>>2]){break b}h=v[e+20>>2];if(h){dc(h)}v[e+24>>2]=g;l=e,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[e+12>>2]){break b}h=v[e+8>>2];if(h){dc(h)}v[e+12>>2]=g;l=e,m=fc(g),v[l+8>>2]=m}v[e>>2]=2147483632;v[e+16>>2]=v[e+8>>2];g=v[e+20>>2];v[e+28>>2]=g;u[g+2>>1]=0;g=(v[a+112>>2]-v[a+104>>2]|0)+3|0;c:{if(g>>>0<=y[c+24>>2]){break c}h=v[c+20>>2];if(h){dc(h)}v[c+24>>2]=g;l=c,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[c+12>>2]){break c}h=v[c+8>>2];if(h){dc(h)}v[c+12>>2]=g;l=c,m=fc(g),v[l+8>>2]=m}v[c>>2]=2147483632;v[c+16>>2]=v[c+8>>2];g=v[c+20>>2];v[c+28>>2]=g;u[g+2>>1]=0;g=(v[b+112>>2]-v[b+104>>2]|0)+3|0;d:{if(g>>>0<=y[d+24>>2]){break d}h=v[d+20>>2];if(h){dc(h)}v[d+24>>2]=g;l=d,m=fc((g|0)!=(g&536870911)?-1:g<<3),v[l+20>>2]=m;if((g|0)==v[d+12>>2]){break d}h=v[d+8>>2];if(h){dc(h)}v[d+12>>2]=g;l=d,m=fc(g),v[l+8>>2]=m}v[d>>2]=2147483632;v[d+16>>2]=v[d+8>>2];g=v[d+20>>2];v[d+28>>2]=g;u[g+2>>1]=0;if(!Pd(a,c)){break a}if(!Pd(b,d)){break a}i=f+4|0;while(1){g=v[c+4>>2];h=v[d+4>>2];if((g|0)>=(h|0)){if((g|0)>(h|0)){while(1){if(!Pd(b,d)){break a}g=v[c+4>>2];h=v[d+4>>2];if((g|0)>(h|0)){continue}break}}if((g|0)!=(h|0)){continue}wf(c,d,e);if(v[e+28>>2]!=v[e+20>>2]){v[e+4>>2]=v[c+4>>2];Fz(e,v[f>>2],i)}if(!Pd(a,c)){break a}if(Pd(b,d)){continue}break a}if(Pd(a,c)){continue}break}}}function LCa(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;e=Qb-32|0;Qb=e;a:{b:{if(v[v[a+28>>2]+664>>2]){b=-1;a=v[a+108>>2];c:{if(!a){break c}a=v[a+4>>2];if(v[a+8>>2]==13){break c}a=v[a+16>>2];b=Ub[v[v[a>>2]+52>>2]](a)|0}kc(0,b,245051,0);break b}c=v[a+8>>2];if(!(Ub[v[v[c>>2]+28>>2]](c)|0)|!v[a+100>>2]){break b}c=v[b+8>>2];b=v[a+20>>2];v[e+16>>2]=13;d:{while(1){if(v[b+56>>2]==7){if(v[rc(v[b- -64>>2],c,e+16|0,0)>>2]!=5){break d}hc(e+16|0)}b=v[b+104>>2];if(b){continue}break}v[e>>2]=c;kc(1,-1,345478,e);break b}b=e+16|0;c=LS(b);hc(b);if(!c){break b}b=v[a+8>>2];Ub[v[v[b>>2]+64>>2]](b,v[a+28>>2]);k=v[a+28>>2];d=fc(672);v[299999]=0;b=Y(3429,d|0,k|0,1)|0;f=v[299999];v[299999]=0;if((f|0)==1){break a}v[a+28>>2]=d;if(v[c+176>>2]){g=A[c+168>>3];h=A[c+160>>3];i=A[c+144>>3];j=A[c+152>>3];A[b+608>>3]=j;A[b+600>>3]=i;b=v[b+596>>2];A[b+16>>3]=j;A[b+8>>3]=i;v[b>>2]=1;b=v[a+28>>2];A[b+608>>3]=j;A[b+600>>3]=h;Ud(v[b+596>>2],h,j);b=v[a+28>>2];A[b+608>>3]=g;A[b+600>>3]=h;Ud(v[b+596>>2],h,g);b=v[a+28>>2];A[b+608>>3]=g;A[b+600>>3]=i;Ud(v[b+596>>2],i,g);b=v[a+28>>2];Hf(v[b+596>>2]);d=v[b+596>>2];d=v[((v[d+28>>2]<<2)+v[d+24>>2]|0)-4>>2];f=(v[d+12>>2]<<3)-8|0;A[b+600>>3]=A[f+v[d>>2]>>3];A[b+608>>3]=A[f+v[d+4>>2]>>3];Vi(v[a+28>>2]);b=v[a+8>>2];Ub[v[v[b>>2]+220>>2]](b,v[a+28>>2]);vf(v[a+28>>2]);b=v[a+28>>2]}d=v[c+8>>2];f=Ub[v[v[d>>2]+8>>2]](d)|0;d=v[b+116>>2];if(d){Ub[v[v[d>>2]+4>>2]](d)}v[b+116>>2]=f;b=v[a+8>>2];Ub[v[v[b>>2]+108>>2]](b,v[a+28>>2]);_S(a,c);b=v[a+28>>2];if(v[b+668>>2]){while(1){b=_k(b);v[a+28>>2]=b;d=v[a+8>>2];Ub[v[v[d>>2]+68>>2]](d,b);b=v[a+28>>2];if(v[b+668>>2]){continue}break}}dc(Kp(b));v[a+28>>2]=k;a=v[a+8>>2];Ub[v[v[a>>2]+68>>2]](a,k);Ub[v[v[c>>2]+4>>2]](c)}Qb=e+32|0;return}a=P()|0;O()|0;dc(d);T(a|0);L()}function KU(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=Qb+-64|0;Qb=e;a:{if(!d|(!b|!c)){break a}b:{g=v[b+68>>2];if(g){break b}g=oo(0,v[b+80>>2]);v[b+68>>2]=g;if(g){break b}c:{if(!a){b=0;c=0;break c}b=v[a>>2];c=v[a+4>>2];if((v[a+28>>2]&-2)!=-1412623820){break c}h=(b^-1)+a>>>0<249?b:0}v[e>>2]=356957;oc(0,c,b,h,0,23,2,3,356957,0,0,0,350051,e);break a}f=Ub[v[259704]](20)|0;if(!f){d:{if(!a){b=0;d=0;c=0;break d}b=v[a>>2];d=v[a+4>>2];c=0;if((v[a+28>>2]&-2)!=-1412623820){break d}c=(b^-1)+a>>>0<249?b:0}v[e+16>>2]=291415;oc(0,d,b,c,0,23,2,3,291415,0,0,0,350051,e+16|0);break a}j=f,k=we(c),v[j+4>>2]=k;i=f;b=d;e:{if(!a){break e}b=d;if(!v[a+44>>2]){break e}h=we(v[d+8>>2]);b=0}v[i+8>>2]=b;v[f+12>>2]=h;j=f,k=oV(v[d+20>>2]),v[j+16>>2]=k;f:{g:{d=jV(g,c);if(d){break g}d=Ub[v[259704]](12)|0;h:{if(!d){Ub[v[259806]](v[294239],227101,0);d=0;break h}v[d>>2]=0;v[d+4>>2]=0;v[d+8>>2]=0;a=Ub[v[259704]](12)|0;v[d>>2]=a;if(!a){Ub[v[259806]](v[294239],260639,0);Ub[v[259708]](d);d=0;break h}v[a+8>>2]=0;v[a+4>>2]=a;v[a>>2]=a;v[d+4>>2]=3033;v[d+8>>2]=3034}if(!d){v[e+32>>2]=356781;oc(0,0,0,0,0,23,1,2,0,0,0,0,237306,e+32|0);break f}if((SF(g,c,d)|0)>-1){break g}fV(d);a=Qb-16|0;Qb=a;v[a>>2]=356736;oc(0,0,0,0,0,23,1,2,0,0,0,0,237306,a);Qb=a+16|0;break f}if(d){a=v[d>>2];c=v[a+4>>2];i:{if((a|0)==(c|0)){break i}while(1){if((Ub[v[d+8>>2]](v[c+8>>2],f)|0)<1){a=c;break i}a=v[d>>2];c=v[c+4>>2];if((a|0)!=(c|0)){continue}break}}b=Ub[v[259704]](12)|0;j:{if(!b){Ub[v[259806]](v[294239],262498,0);a=1;break j}v[b+8>>2]=f;v[b>>2]=v[a>>2];v[v[a>>2]+4>>2]=b;v[a>>2]=b;v[b+4>>2]=a;a=0}}else{a=1}if(!a){break a}v[e+48>>2]=356736;oc(0,0,0,0,0,23,1,2,0,0,0,0,237306,e+48|0)}a=v[f+4>>2];if(a){Ub[v[259708]](a)}a=v[f+12>>2];if(a){Ub[v[259708]](a)}Ub[v[259708]](f)}Qb=e- -64|0}function Zj(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;a:{b:{if((b|0)<0|v[a+16>>2]<=(b|0)){break b}h=v[v[a+24>>2]+(b<<2)>>2];a=v[h+16>>2];if((a|0)<=(c|0)){break b}b=v[h+20>>2];if((a|0)<(c+e|0)|(b|0)<=(d|0)|(b|0)<(d+f|0)){break b}c:{if(v[g+20>>2]==(f|0)){a=f;if(v[g+24>>2]==(e|0)){break c}}a=0;k=-1;d:{if(v[g+40>>2]<(B(e,f)|0)|v[g+32>>2]<(f|0)){break d}v[g+24>>2]=e;v[g+20>>2]=f;k=0;if((f|0)<1){break d}b=f&3;if(f-1>>>0>=3){j=f&-4;while(1){v[v[g+28>>2]+(a<<2)>>2]=v[g+36>>2]+(B(a,e)<<2);i=a|1;v[v[g+28>>2]+(i<<2)>>2]=v[g+36>>2]+(B(e,i)<<2);i=a|2;v[v[g+28>>2]+(i<<2)>>2]=v[g+36>>2]+(B(e,i)<<2);i=a|3;v[v[g+28>>2]+(i<<2)>>2]=v[g+36>>2]+(B(e,i)<<2);a=a+4|0;j=j-4|0;if(j){continue}break}}if(!b){break d}while(1){v[v[g+28>>2]+(a<<2)>>2]=v[g+36>>2]+(B(a,e)<<2);a=a+1|0;b=b-1|0;if(b){continue}break}}if(k){break b}a=v[g+20>>2]}j=v[g+28>>2];k=v[j>>2];b=0;g=0;g=(a|0)>=2?v[j+4>>2]-k>>2:g;if((f|0)<1){break a}if((e|0)>=1){o=g<<2;while(1){j=k;i=e;if((Df(v[h+32>>2],B(v[h+36>>2],B(v[h+16>>2],d+l|0)+c|0),0)|0)<0){break b}while(1){m=0;e:{g=v[h+36>>2];if((g|0)<=0){break e}while(1){a=v[h+32>>2];b=v[a+8>>2];if(b&7){break b}n=v[a+64>>2];if(!((n|0)>=0&v[a+60>>2]>=(n|0))){b=v[a+28>>2];v[a+28>>2]=b-1;f:{if((b|0)>=1){v[a+60>>2]=v[a+60>>2]+1;b=a;a=v[a+24>>2];v[b+24>>2]=a+1;a=w[a|0];break f}b=-1;a=Hc(a,1);if((a|0)==-1){break a}}m=a&255|m<<8;a=(g|0)>1;g=g-1|0;if(!a){break e}continue}break}v[a+8>>2]=b|4;break b}a=m;g=v[h+24>>2];m=1<>2]){a=a-(m&0-(a>>>g-1&1))|0}v[b>>2]=a;j=j+4|0;a=(i|0)>1;i=i-1|0;if(a){continue}break}k=k+o|0;b=0;l=l+1|0;if((l|0)!=(f|0)){continue}break}break a}while(1){if((Df(v[h+32>>2],B(v[h+36>>2],B(v[h+16>>2],d+l|0)+c|0),0)|0)<0){break b}l=l+1|0;if((l|0)!=(f|0)){continue}break}break a}b=-1}return b}function ETa(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;g=Qb-16|0;Qb=g;h=v[b>>2];d=v[h>>2];v[v[d>>2]+20>>2]=c;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d+24>>2]=0;v[d+28>>2]=-1;v[d+208>>2]=0;v[d+212>>2]=-1;v[d+176>>2]=0;v[d+180>>2]=0;v[d+400>>2]=0;v[d+404>>2]=0;v[h+156>>2]=0;if(w[a+96|0]){t[a+96|0]=0;c=a;v[c+64>>2]=2147483647;v[c+68>>2]=2147483647;v[c+48>>2]=2147483647;v[c+52>>2]=2147483647;v[c+8>>2]=0;v[c+12>>2]=0;v[c+1172>>2]=0;v[c+88>>2]=-2147483647;v[c+92>>2]=-2147483647;v[c+80>>2]=2147483647;v[c+84>>2]=2147483647;v[c+72>>2]=0;v[c+76>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0}l=a+100|0;while(1){a:{j=g+8|0;f=v[b>>2];i=f+8|0;h=f+176|0;d=f+168|0;while(1){b:{c:{d:{e:{switch(v[f+156>>2]){case 1:c=v[f+160>>2];break d;case 2:break c;case 0:break e;default:continue}}c=ss(v[f>>2],d,h);v[f+156>>2]=1;v[f+160>>2]=c}if(!c){c=0;break b}v[i+120>>2]=0;v[i+124>>2]=0;v[i+72>>2]=0;ns(i,A[d>>3],A[h>>3],1);f:{while(1){c=ss(v[f>>2],j,g);if(c-1>>>0<=13){v[f+160>>2]=c;e=A[j>>3];if((c|0)==1){A[d>>3]=e;A[h>>3]=A[g>>3];break f}ns(i,e,A[g>>3],c);continue}if(!c){v[f+160>>2]=0;break f}if((c&15)!=15){continue}break}ns(i,A[j>>3],A[g>>3],c)}_W(i);v[f+156>>2]=2}c=ZW(i,j,g);if(c){break b}v[f+156>>2]=1;continue}break}if(c-1>>>0>=14){if(!c){break a}if((c&-49)!=79|v[a+1172>>2]!=2){continue}qd(l,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3;continue}d=v[b+4>>2];m=A[g+8>>3];e=A[g>>3];k=A[d+32>>3]+(m*A[d>>3]+e*A[d+16>>3]);A[g+8>>3]=k;e=A[d+40>>3]+(m*A[d+8>>3]+e*A[d+24>>3]);A[g>>3]=e;if((c|0)==1){cH(a,k,e)}else{e=e*256;e=e+(e<0?-.5:.5);g:{if(D(e)<2147483648){h=~~e;break g}h=-2147483648}c=l;d=a;e=k*256;e=e+(e<0?-.5:.5);h:{if(D(e)<2147483648){f=~~e;break h}f=-2147483648}qd(c,d,f,h);v[a+1172>>2]=2}continue}break}Qb=g+16|0}function kRa(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,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,z=0,A=0,C=0;y=Qb-288|0;Qb=y;q=v[a+332>>2];a=v[b+84>>2];b=y;while(1){j=v[a+96>>2];i=u[c+48>>1];k=v[a+160>>2];h=u[c+80>>1];o=v[a+224>>2];m=u[c+112>>1];n=v[a+32>>2];z=u[c+16>>1];r=B(u[c>>1],v[a>>2])<<13|1024;l=B(v[a+192>>2],u[c+96>>1]);s=r+B(l,-11586)|0;g=B(v[a+64>>2],u[c+32>>1]);f=B(v[a+128>>2],u[c+64>>1]);x=g-f|0;v[b+128>>2]=s+B(x,-11586)>>11;A=B(f+g|0,10887);C=B(f,2012);f=r+B(l,5793)|0;l=(A-C|0)+f|0;k=B(h,k);h=B(n,z);n=B(k+h|0,7447);j=B(B(i,j),-10033);i=B(m,o);o=B(i+h|0,3962);m=(n-j|0)+o|0;v[b+256>>2]=l-m>>11;v[b>>2]=m+l>>11;m=s+B(x,5793)|0;h=B(h-(i+k|0)|0,10033);v[b+224>>2]=m-h>>11;v[b+32>>2]=h+m>>11;g=B(g,8875);h=g+(f-A|0)|0;k=B(k-i|0,11409);i=n+(j-k|0)|0;v[b+192>>2]=h-i>>11;v[b+64>>2]=h+i>>11;g=(f-g|0)+C|0;f=o+(j+k|0)|0;v[b+160>>2]=g-f>>11;v[b+96>>2]=f+g>>11;b=b+4|0;a=a+4|0;c=c+2|0;p=p+1|0;if((p|0)!=8){continue}break}a=q+128|0;p=0;b=y;while(1){c=v[(p<<2)+d>>2]+e|0;g=v[b+20>>2];f=v[b+4>>2];o=B(g+f|0,7447);k=B(v[b+12>>2],-10033);h=v[b+28>>2];m=B(h+f|0,3962);n=(o-k|0)+m|0;r=(v[b>>2]<<13)+131072|0;l=v[b+24>>2];q=r+B(l,5793)|0;j=v[b+16>>2];i=v[b+8>>2];z=B(j+i|0,10887);x=B(j,2012);s=q+(z-x|0)|0;t[c|0]=w[a+(n+s>>>18&1023)|0];t[c+8|0]=w[a+(s-n>>>18&1023)|0];f=B(f-(h+g|0)|0,10033);n=r+B(l,-11586)|0;j=i-j|0;l=n+B(j,5793)|0;t[c+1|0]=w[a+(f+l>>>18&1023)|0];t[c+7|0]=w[a+(l-f>>>18&1023)|0];g=B(g-h|0,11409);f=o+(k-g|0)|0;h=B(i,8875);i=h+(q-z|0)|0;t[c+2|0]=w[a+(f+i>>>18&1023)|0];t[c+6|0]=w[a+(i-f>>>18&1023)|0];g=m+(g+k|0)|0;f=x+(q-h|0)|0;t[c+3|0]=w[a+(g+f>>>18&1023)|0];t[c+5|0]=w[a+(f-g>>>18&1023)|0];t[c+4|0]=w[a+(n+B(j,-11586)>>>18&1023)|0];b=b+32|0;p=p+1|0;if((p|0)!=9){continue}break}Qb=y+288|0}function foa(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;f=Qb-32|0;Qb=f;a:{b:{c:{d:{if(!w[b+89|0]){a=vc(f+8|0,231584,241010,286,226767,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break d}b=P()|0;O()|0;qc(a);T(b|0);L()}v[a>>2]=0;v[299999]=0;$(4704,f+8|0,b|0,c|0,0);b=v[299999];v[299999]=0;e:{if((b|0)!=1){f:{g:{h:{if(!v[f+8>>2]){break h}v[299999]=0;b=S(4735,20)|0;c=v[299999];v[299999]=0;if((c|0)==1){break g}v[299999]=0;S(4736,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){e=P()|0;O()|0;Wk(b);break b}v[299999]=0;v[f>>2]=0;Q(4336,f|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break g}v[299999]=0;V(4737,v[f>>2],f+8|0);b=v[299999];v[299999]=0;if((b|0)==1){e=P()|0;O()|0;ec(f);break b}v[299999]=0;Q(4344,a|0,f|0)|0;b=v[299999];v[299999]=0;i:{if((b|0)!=1){b=v[f>>2];v[f>>2]=0;j:{if(!b){break j}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;g=v[299999];v[299999]=0;if((g|0)==1){break f}if(c){break j}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break f}}if(!e){break i}v[299999]=0;b=ga(4695)|0;c=v[299999];v[299999]=0;if((c|0)==1){break c}c=v[a>>2];v[299999]=0;U(4726,b|0,c|0,e|0);b=v[299999];v[299999]=0;if((b|0)!=1){break i}break c}e=P()|0;O()|0;ec(f);break b}v[299999]=0;Q(4738,v[f+8>>2],0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break c}b=v[a>>2];if(!b|!d){break h}v[299999]=0;S(4352,b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break c}}a=v[f+8>>2];v[f+8>>2]=0;k:{if(!a){break k}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break e}if(b){break k}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break e}}Qb=f+32|0;return}e=P()|0;O()|0;break b}W(0)|0;O()|0;lc();L()}e=P()|0;O()|0;break a}W(0)|0;O()|0;lc()}L()}e=P()|0;O()|0}ec(f+8|0)}ec(a);T(e|0);L()}function Ila(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;h=Qb-32|0;Qb=h;p=v[a+52>>2];i=v[a>>2];m=jc(Uk(i));a:{if(!m){zc(v[i+628>>2],v[i>>2],46020,0);break a}eg(m,0,Uk(i));v[h+16>>2]=h+28;Kd(i,322,h+16|0);v[h>>2]=h+24;Kd(i,323,h);b:{c:{d:{e:{f:{g:{h:{switch(x[a+28>>1]-1|0){case 0:case 4:g=x[a+30>>1];if(g>>>0>8){break d}e=1<>1];if(g>>>0>8){break d}e=1<>1];if(g>>>0>8){break d}e=1<>1];if(g>>>0>7){break d}f=1<>2]+c|0)|0;break b}f=0}t=1;g=c-v[h+28>>2]|0}q=1;if(!(!d|!c)){while(1){e=v[h+24>>2];j=v[a+76>>2];e=e-((j+l>>>0)%(e>>>0)|0)|0;o=e+l>>>0>d>>>0?d-l|0:e;r=(B(c,n)<<2)+b|0;e=0;while(1){i:{if(!((fr(i,m,v[a+80>>2]+e|0,j+l|0,0)|0)>-1|!v[a+4>>2])){q=0;break i}j=v[a+76>>2];k=v[h+24>>2];j=B(Ll(i),(j+l>>>0)%(k>>>0)|0);k=v[h+28>>2];j:{if(k+e>>>0<=c>>>0){Ub[p|0](a,(e<<2)+r|0,e,n,k,o,0,g,j+m|0);break j}s=c-e|0;k=k-s|0;Ub[p|0](a,(e<<2)+r|0,e,n,s,o,k,g+k|0,j+m|0)}e=v[h+28>>2]+e|0;if(e>>>0>=c>>>0){break i}j=v[a+76>>2];continue}break}n=(t?o:0-o|0)+n|0;l=l+o|0;if(l>>>0>>0){continue}break}}dc(m);if(!(f&2)|!d){break a}f=0;while(1){e=(B(c,f)<<2)+b|0;a=(e+(c<<2)|0)-4|0;if(a>>>0>e>>>0){while(1){g=v[e>>2];v[e>>2]=v[a>>2];v[a>>2]=g;a=a-4|0;e=e+4|0;if(a>>>0>e>>>0){continue}break}}f=f+1|0;if((f|0)!=(d|0)){continue}break}}Qb=h+32|0;return q|0}function $4(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,z=0,A=0,C=0,D=0,E=0;f=v[a+584>>2];k=v[f+32>>2];a:{b:{if(!k){break b}r=f+844|0;e=v[f+884>>2];d=v[v[f+216>>2]+132>>2];if(!d){while(1){if((e|0)>=8){e=0;b=v[f+316>>2]<<3;c=0;if((BK(f,r,b)|0)!=(b|0)){break a}}e=e+1|0;v[f+884>>2]=e;b=x[f+836>>1];v[a+472>>2]=b+v[a+472>>2];k=k-b|0;if((k|0)>0){continue}break b}}m=v[f+888>>2];u=d&3;z=d-1>>>0<3;while(1){if((e|0)>=8){e=0;g=v[f+316>>2]<<3;c=0;if((BK(f,r,g)|0)!=(g|0)){break a}v[f+884>>2]=0}A=f;if(v[f+36>>2]>=1){o=v[f+216>>2];i=0;p=0;while(1){n=v[o+12>>2];c:{if((n|0)<1){break c}s=(p<<2)+f|0;j=0;l=v[o+8>>2];if((l|0)==1){while(1){h=b+i|0;e=v[v[s+844>>2]+(B(v[f+884>>2],n)+j<<2)>>2];g=d;c=u;if(c){while(1){t[h|0]=w[e|0];h=h+m|0;e=e+1|0;g=g-1|0;c=c-1|0;if(c){continue}break}}if(!z){while(1){t[h|0]=w[e|0];c=h+m|0;t[c|0]=w[e+1|0];c=c+m|0;t[c|0]=w[e+2|0];c=c+m|0;t[c|0]=w[e+3|0];e=e+4|0;h=c+m|0;g=g-4|0;if(g){continue}break}}i=i+1|0;j=j+1|0;if((n|0)!=(j|0)){continue}break c}}if((l|0)>=1){C=l&-4;D=l&3;E=l-1|0;q=0;while(1){g=b+i|0;h=v[v[s+844>>2]+(B(v[f+884>>2],n)+q<<2)>>2];j=d;while(1){e=0;c=C;if(E>>>0>=3){while(1){t[e+g|0]=w[h|0];t[(e|1)+g|0]=w[h+1|0];t[(e|2)+g|0]=w[h+2|0];t[(e|3)+g|0]=w[h+3|0];e=e+4|0;h=h+4|0;c=c-4|0;if(c){continue}break}}j=j-1|0;c=D;if(c){while(1){t[e+g|0]=w[h|0];e=e+1|0;h=h+1|0;c=c-1|0;if(c){continue}break}}g=g+m|0;if(j){continue}break}i=i+l|0;q=q+1|0;if((q|0)!=(n|0)){continue}break}break c}i=B(l,n)+i|0}o=o+88|0;p=p+1|0;if((p|0)>2]){continue}break}e=v[f+884>>2]}e=e+1|0;v[A+884>>2]=e;c=x[f+836>>1];v[a+472>>2]=c+v[a+472>>2];b=v[f+840>>2]+b|0;k=k-c|0;if((k|0)>0){continue}break}}c=1;if(y[f+140>>2]>2]){break a}c=(IK(f)|0)!=0}return c|0}function Wv(a){var 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;if(!v[a+4>>2]){return}o=fc(976);i=Nt(o,a,0);if(v[i+4>>2]){b=x[a+26>>1];g=B(v[a+16>>2]-1|0,(b|0)==24?3:1);f=g+v[a+56>>2]|0;c=v[i+56>>2];a:{b:{c:{b=b-8|0;if(b){if((b|0)==16){break c}break b}if(v[a+20>>2]<1|(g|0)<0){break a}b=g+1|0;l=b&-4;m=b&3;while(1){d=0;b=l;if(g>>>0>=3){while(1){j=f-d|0;t[c+d|0]=w[j|0];t[(d|1)+c|0]=w[(d^-1)+f|0];t[(d|2)+c|0]=w[j-2|0];t[(d|3)+c|0]=w[j-3|0];d=d+4|0;b=b-4|0;if(b){continue}break}}b=m;if(b){while(1){t[c+d|0]=w[f-d|0];d=d+1|0;b=b-1|0;if(b){continue}break}}b=v[a+52>>2];c=b+c|0;f=b+f|0;e=e+1|0;if((e|0)>2]){continue}break}break a}if(v[a+20>>2]<1|(g|0)<0){break a}b=((g>>>0)/3|0)+1|0;m=b&2147483646;j=b&1;while(1){b=0;e=m;if(g>>>0>=3){while(1){h=b+c|0;d=f-b|0;t[h|0]=w[d|0];t[h+1|0]=w[d+1|0];t[h+2|0]=w[d+2|0];d=d-3|0;t[h+3|0]=w[d|0];t[h+4|0]=w[d+1|0];t[h+5|0]=w[d+2|0];b=b+6|0;e=e-2|0;if(e){continue}break}}if(j){e=b+c|0;b=f-b|0;t[e|0]=w[b|0];t[e+1|0]=w[b+1|0];t[e+2|0]=w[b+2|0]}b=v[a+52>>2];c=b+c|0;f=b+f|0;l=l+1|0;if((l|0)>2]){continue}break}break a}if(v[a+20>>2]<1|(g|0)<0){break a}c=0;while(1){d=0;while(1){wn(i,d,c,yl(a,g-d|0,c));b=(d|0)!=(g|0);d=d+1|0;if(b){continue}break}c=c+1|0;if((c|0)>2]){continue}break}}n=v[i+964>>2];if(n){g=v[i+20>>2];k=v[i+16>>2];j=jc(B(g,k));if(j){if(!((g|0)<1|(k|0)<1)){l=k&-4;m=k&3;d=k-1|0;f=n+d|0;e=j;while(1){c=0;b=l;if(d>>>0>=3){while(1){h=f-c|0;t[c+e|0]=w[h|0];t[(c|1)+e|0]=w[(c^-1)+f|0];t[(c|2)+e|0]=w[h-2|0];t[(c|3)+e|0]=w[h-3|0];c=c+4|0;b=b-4|0;if(b){continue}break}}b=m;if(b){while(1){t[c+e|0]=w[f-c|0];c=c+1|0;b=b-1|0;if(b){continue}break}}e=e+k|0;f=f+k|0;p=p+1|0;if((g|0)!=(p|0)){continue}break}}dc(n);v[i+964>>2]=j}}ek(a,i,1)}Ub[v[v[o>>2]+4>>2]](i)}function g6(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;if(c-b&4){v[c>>2]=0;c=c+4|0}if(b>>>0>>0){while(1){g=v[b>>2];if(!(g>>>0<=d>>>0&g+j>>>0<=d>>>0)){g=d-j|0;v[b>>2]=g}if(g){e=(j>>>3|0)+a|0;a:{b:{c:{d:{e:{h=j&7;f=8-h|0;if(f>>>0>>0){if(h){t[e|0]=w[e|0]&255<>>0<8){break b}i=g>>>3|0;if(g>>>0<64){break c}if(!(e&3)){h=e;f=i;break d}t[e|0]=0;h=e+1|0;f=i-1|0;if(!f){break d}if(h&3){break e}break d}t[e|0]=w[e|0]&(w[g+85758|0]>>>h^-1);break a}t[e+1|0]=0;f=i-2|0;h=e+2|0;if(!f|!(h&3)){break d}t[e+2|0]=0;f=i-3|0;h=e+3|0;if(!f|!(h&3)){break d}t[e+3|0]=0;f=i-4|0;h=e+4|0}i=f&3;f=f&-4;e=ic(h,0,f)+f|0}f:{switch(i-1|0){case 6:t[e+6|0]=0;case 5:t[e+5|0]=0;case 4:t[e+4|0]=0;case 3:t[e+3|0]=0;case 2:t[e+2|0]=0;case 1:t[e+1|0]=0;case 0:t[e|0]=0;e=e+i|0;break;default:break f}}g=g&7}if(!g){break a}t[e|0]=w[e|0]&255>>>g}j=v[b>>2]+j|0}g=v[b+4>>2];if(!(g>>>0<=d>>>0&g+j>>>0<=d>>>0)){g=d-j|0;v[b+4>>2]=g}if(g){e=(j>>>3|0)+a|0;g:{h:{i:{j:{k:{l:{h=j&7;f=8-h|0;if(f>>>0>>0){if(h){t[e|0]=w[e|0]|255>>>h;g=g-f|0;e=e+1|0}if(g>>>0<8){break i}i=g>>>3|0;if(g>>>0<64){break j}if(!(e&3)){h=e;f=i;break k}t[e|0]=255;h=e+1|0;f=i-1|0;if(!f){break k}if(h&3){break l}break k}f=w[g+85758|0]>>>h|0;break h}t[e+1|0]=255;f=i-2|0;h=e+2|0;if(!f|!(h&3)){break k}t[e+2|0]=255;f=i-3|0;h=e+3|0;if(!f|!(h&3)){break k}t[e+3|0]=255;f=i-4|0;h=e+4|0}i=f&3;f=f&-4;e=ic(h,255,f)+f|0}m:{switch(i-1|0){case 6:t[e+6|0]=255;case 5:t[e+5|0]=255;case 4:t[e+4|0]=255;case 3:t[e+3|0]=255;case 2:t[e+2|0]=255;case 1:t[e+1|0]=255;case 0:t[e|0]=255;e=e+i|0;break;default:break m}}g=g&7}if(!g){break g}f=65280>>>g|0}t[e|0]=f|w[e|0]}j=v[b+4>>2]+j|0}b=b+8|0;if(c>>>0>b>>>0){continue}break}}if((d|0)==(j|0)){return}X(1110,7814,450,85767);L()}function Tdb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=v[v[a+2248>>2]+88>>2];d=v[c+1168>>2];b=(v[c+1176>>2]+B(d,v[a+572>>2])|0)+B(d,v[a+2268>>2])|0;c=v[c+1164>>2];e=(b+B(c,v[a+580>>2])|0)+B(c,v[a+2264>>2])|0;d=v[a+636>>2]+v[a+616>>2]|0;c=v[a+588>>2];a:{b:{if(w[a+2253|0]!=4){if((c|0)<=0){break a}while(1){c=w[e|0]|w[e+1|0]<<8;b=(c<<8|c>>>8)&65535;c=w[d|0]|w[d+1|0]<<8;c=b+((c<<8|c>>>8)&65535)&65535;c=c<<8|c>>>8;t[e|0]=c;t[e+1|0]=c>>>8;c=e+2|0;b=w[c|0]|w[c+1|0]<<8;g=(b<<8|b>>>8)&65535;b=w[d+2|0]|w[d+3|0]<<8;b=g+((b<<8|b>>>8)&65535)&65535;b=b<<8|b>>>8;t[c|0]=b;t[c+1|0]=b>>>8;c=e+4|0;b=w[c|0]|w[c+1|0]<<8;g=(b<<8|b>>>8)&65535;b=w[d+4|0]|w[d+5|0]<<8;b=g+((b<<8|b>>>8)&65535)&65535;b=b<<8|b>>>8;t[c|0]=b;t[c+1|0]=b>>>8;c=e+6|0;b=w[c|0]|w[c+1|0]<<8;g=(b<<8|b>>>8)&65535;b=w[d+6|0]|w[d+7|0]<<8;b=g+((b<<8|b>>>8)&65535)&65535;b=b<<8|b>>>8;t[c|0]=b;t[c+1|0]=b>>>8;d=d+8|0;e=(v[a+584>>2]<<3)+e|0;b=v[a+588>>2];f=f+1|0;if((b|0)>(f|0)){continue}break}break b}if((c|0)<1){break a}while(1){c=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);b=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);t[e|0]=b;t[e+1|0]=b>>>8;t[e+2|0]=b>>>16;t[e+3|0]=b>>>24;t[e+4|0]=c;t[e+5|0]=c>>>8;t[e+6|0]=c>>>16;t[e+7|0]=c>>>24;d=d+8|0;e=(v[a+584>>2]<<3)+e|0;b=v[a+588>>2];f=f+1|0;if((b|0)>(f|0)){continue}break}}if((b|0)<1){break a}c=v[a+540>>2];e=(v[c+1176>>2]+B(v[a+572>>2],v[c+1168>>2])|0)+B(v[a+580>>2],v[c+1164>>2])|0;d=v[a+636>>2]+v[a+616>>2]|0;b=0;while(1){c=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);f=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);t[e|0]=f;t[e+1|0]=f>>>8;t[e+2|0]=f>>>16;t[e+3|0]=f>>>24;t[e+4|0]=c;t[e+5|0]=c>>>8;t[e+6|0]=c>>>16;t[e+7|0]=c>>>24;d=d+8|0;e=(v[a+584>>2]<<3)+e|0;b=b+1|0;if((b|0)>2]){continue}break}}return 0}function _ia(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;j=Qb-48|0;Qb=j;d=x[b+10>>1];e=x[b+8>>1];f=v[a+20>>2];if(f){dc(f)}v[a+16>>2]=0;v[a+20>>2]=0;u[a+12>>1]=d;u[a+10>>1]=d;u[a+8>>1]=e;d=B(d,e);if(d){d=fc((m=-1,n=Bib(d,0,3,0),o=Tb,o?m:n));v[a+16>>2]=d;v[a+20>>2]=d}k=Bg(j+8|0,j+20|0,0,3);a:{b:{c:{d:{e:{f:{if(!x[a+8>>1]|!x[a+10>>1]){break f}g:{if(c){break g}v[299999]=0;U(5064,k|0,256,3);c=v[299999];v[299999]=0;if((c|0)==1){break c}v[299999]=0;Ah(k,3,0);c=v[299999];v[299999]=0;if((c|0)==1){break c}c=v[j+20>>2];d=x[b+16>>1];if(!d){break g}h=16711680/(d-1|0)|0;l=d&1;h:{if((d|0)==1){e=0;d=255;break h}f=d&65534;e=0;d=16711680;while(1){g=B(e,3)+c|0;i=d>>>16|0;t[g+2|0]=i;t[g+1|0]=i;t[g|0]=i;g=B(e|1,3)+c|0;i=d-h|0;d=i>>>16|0;t[g+2|0]=d;t[g+1|0]=d;t[g|0]=d;e=e+2|0;d=i-h|0;f=f-2|0;if(f){continue}break}d=d>>>16|0}if(!l){break g}e=B(e,3)+c|0;t[e+2|0]=d;t[e+1|0]=d;t[e|0]=d}if(!x[a+8>>1]){break f}f=0;while(1){h=x[a+12>>1];e=v[a+16>>2];if(!v[b+20>>2]){v[299999]=0;R(4368,b|0);d=v[299999];v[299999]=0;if((d|0)==1){break e}}i:{if(x[b+8>>1]<=f>>>0){d=x[b+12>>1];if(v[282398]<(d+x[b+14>>1]|0)){v[299999]=0;a=aa(4369,j+24|0,260231,271771,592,225838,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break d}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}e=P()|0;O()|0;qc(a);break b}d=d+v[282397]|0;break i}d=v[b+20>>2]+(x[b+12>>1]+B(x[b+14>>1],f)|0)|0}if(x[a+10>>1]){i=e?e+B(B(f,h),3)|0:0;e=0;while(1){h=i+B(e,3)|0;g=B(w[d+e|0],3)+c|0;l=w[g|0]|w[g+1|0]<<8;t[h|0]=l;t[h+1|0]=l>>>8;t[h+2|0]=w[g+2|0];e=e+1|0;if(e>>>0>1]){continue}break}}f=f+1|0;if(f>>>0>1]){continue}break}}Lc(k);Qb=j+48|0;return}e=P()|0;O()|0;break b}e=P()|0;O()|0;break b}e=P()|0;O()|0}Lc(k);T(e|0)}L()}function sh(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;if(d){v[d>>2]=0}g=4;a:{while(1){f=i;b:{while(1){c:{if(!g){break c}b=b+1|0;if(b>>>0>2]){break c}e=0;break a}e=4-g|0;i=w[b|0];h=i>>>g&15;if((h|0)==14){o=1;g=e;continue}if(h>>>0>9){break b}if((f|0)>=214748364){n=n+1|0;g=e;continue}break}i=0;g=e;if(!(f|h)){continue}l=l+1|0;i=B(f,10)+h|0;continue}break}g=0;d:{if((h|0)!=10){break d}e:while(1){j=(f|0)<214748364&(m|0)<9;while(1){if(e){b=b+1|0;if(b>>>0>=y[a+8>>2]){e=0;break a}i=w[b|0]}k=4-e|0;h=(i&255)>>>e&15;if(h>>>0>9){e=k;break d}if(!(f|h)){n=n-1|0;f=0;e=k;continue e}e=k;if(!j){continue}break}m=m+1|0;f=B(f,10)+h|0;continue}}f:{g:{h:{if(h-11>>>0<=1){k=0;while(1){if(e){b=b+1|0;if(b>>>0>=y[a+8>>2]){e=0;break a}i=w[b|0]}j=(i&255)>>>e&15;if(j>>>0<=9){p=j+B(g,10)|0;j=(g|0)>1e3;g=j?g:p;k=j?1:k;e=4-e|0;continue}break}if(!f){e=0;break a}a=(h|0)==12;if(k){break g}e=a?0-g|0:g;break h}e=0;if(!f){break a}}a=(c+n|0)+e|0;if(d){a=a+l|0;b=l+m|0;if((b|0)<=5){if((f|0)>=32768){e=ad(f,10);v[d>>2]=(a-b|0)+1;break a}i:{j:{if((a|0)<1){break j}c=(a|0)<5?a:5;e=c-b|0;if((e|0)<1){break j}b=a-c|0;f=B(v[(e<<2)+379040>>2],f);a=b;if((f|0)<32768){break i}f=(f>>>0)/10|0;a=b+1|0;break i}a=a-b|0}v[d>>2]=a;e=f<<16;break a}b=b<<2;c=v[b+379020>>2];if(((f|0)/(c|0)|0)>=32768){e=ad(f,v[b+379024>>2]);v[d>>2]=a-4;break a}e=ad(f,c);v[d>>2]=a-5;break a}e=2147483647;b=a+l|0;if((b|0)>5){break a}if((b|0)<-5){break f}if((b|0)>-1){a=m-a|0}else{f=(f|0)/v[379040-(b<<2)>>2]|0;a=l+m|0}c=(a|0)==10;b=c?(f|0)/10|0:f;a=c?9:a;if((a|0)>=1){e=0;a=v[(a<<2)+379040>>2];if(((b|0)/(a|0)|0)>32767){break a}e=ad(b,a);break a}a=B(b,v[379040-(a<<2)>>2]);e=(a|0)>32767?2147483647:a<<16;break a}e=2147483647;if(!a){break a}}e=0}return o?0-e|0:e}function O4(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=Qb-16|0;Qb=j;d=1;a:{if((c|0)<1){break a}k=v[a+608>>2];m=v[a+604>>2];while(1){l=v[a+56>>2];e=(l|0)>0;b:{if((k|0)<1){f=k;g=0;break b}g=0;h=0;d=b;f=k;if((l|0)<1){break b}while(1){c:{d:{e:{f:{g:{f=w[m|0];switch((f>>>6|0)-1|0){case 2:break d;case 1:break e;case 0:break f;default:break g}}h:{if(g&1){e=w[d|0]|h;t[d|0]=e;f=f-1|0;g=g+1|0;d=d+1|0;e=e&255;break h}e=h<<4|h}g=f+g|0;if(!((f|0)<1|(l|0)<=(g|0))){i=(f-((f|0)<2?f:2)|0)+1|0;f=(f-(i&-2)|0)-2|0;h=d;d=i>>>1|0;d=(ic(h,e,d+1|0)+d|0)+1|0}if((f|0)==-1){d=d-1|0;t[d|0]=w[d|0]&240}h=e&15;break c}e=f>>>4&3;i:{if((e|0)==2){e=d;break i}e=v[(e<<2)+88176>>2]+h|0;h=e&15;j:{if(g&1){i=w[d|0]|h;e=d+1|0;break j}i=e<<4;e=d}g=g+1|0;t[d|0]=i}d=f>>>2&3;k:{if((d|0)==2){d=e;e=g;break k}d=v[(d<<2)+88176>>2]+h|0;h=d&15;l:{if(g&1){i=w[e|0]|h;d=e+1|0;break l}i=d<<4;d=e}t[e|0]=i;e=g+1|0}f=f&3;if((f|0)==2){g=e;break c}g=e+1|0;f=v[(f<<2)+88176>>2]+h|0;h=f&15;if(e&1){t[d|0]=w[d|0]|h;d=d+1|0;break c}t[d|0]=f<<4;break c}e=f>>>3&7;m:{if((e|0)==4){e=d;break m}e=v[(e<<2)+88192>>2]+h|0;h=e&15;n:{if(g&1){i=w[d|0]|h;e=d+1|0;break n}i=e<<4;e=d}t[d|0]=i;g=g+1|0}i=g;d=f&7;if((d|0)==4){d=e;break c}g=i+1|0;d=v[(d<<2)+88192>>2]+h|0;h=d&15;if(i&1){t[e|0]=w[e|0]|h;d=e+1|0;break c}t[e|0]=d<<4;d=e;break c}e=g+1|0;h=f&15;o:{if(g&1){t[d|0]=w[d|0]|h;d=d+1|0;break o}t[d|0]=f<<4}g=e}f=k-1|0;m=m+1|0;e=(g|0)<(l|0);if((k|0)<2){break b}k=f;if((g|0)<(l|0)){continue}break}}v[a+608>>2]=f;v[a+604>>2]=m;if((g|0)!=(l|0)){b=v[a>>2];c=v[a+628>>2];a=v[a+472>>2];v[j+12>>2]=l;v[j+8>>2]=g;v[j+4>>2]=a;v[j>>2]=e?5579:9833;zc(c,b,3803,j);d=0;break a}d=v[a+588>>2];b=d+b|0;k=f;c=c-d|0;if((c|0)>0){continue}break}d=1}Qb=j+16|0;return d|0}function KD(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;e=Qb-32|0;Qb=e;a:{b:{d=v[a+8>>2];if((d|0)!=2){c=v[b>>2];c:{if(!c){break c}b=v[c+8>>2];if(!b){break c}d=v[c+12>>2];while(1){c=Ub[v[v[a>>2]+12>>2]](a,d,b)|0;if(!c){a=vc(e+8|0,237882,241835,474,338919,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}b=P()|0;O()|0;qc(a);T(b|0);L()}d=c+d|0;f=c+f|0;b=b-c|0;if(b){continue}break}d=v[a+8>>2]}if((d|0)!=1){break a}v[a+8>>2]=3;break a}d=Qb-16|0;Qb=d;v[e>>2]=0;v[e+4>>2]=v[282402];d:{e:{f:{c=v[b>>2];if(!c|v[c+8>>2]+1>>>0<2){break f}v[299999]=0;$(5166,d+8|0,b|0,0,0);c=v[299999];v[299999]=0;g:{h:{if((c|0)!=1){v[299999]=0;Q(5167,e|0,d+8|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break h}c=v[d+8>>2];v[d+8>>2]=0;i:{if(!c){break i}v[299999]=0;g=v[c+4>>2]-1|0;v[c+4>>2]=g;h=v[299999];v[299999]=0;if((h|0)==1){break e}if(g){break i}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break e}}c=v[e>>2];if(v[c+8>>2]?c:0){break f}b=v[b>>2];b=v[(b?b+12|0:1129608)>>2];v[299999]=0;Q(5168,e|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break f}a=P()|0;O()|0;break g}a=P()|0;O()|0;break g}a=P()|0;O()|0;ec(d+8|0)}ec(e);T(a|0);L()}Qb=d+16|0;break d}W(0)|0;O()|0;lc();L()}j:{k:{l:{d=v[e>>2];m:{if(!d){break m}b=v[d+8>>2];if(!b){break m}d=v[d+12>>2];while(1){c=v[v[a>>2]+12>>2];v[299999]=0;c=Y(c|0,a|0,d|0,b|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break l}if(!c){v[299999]=0;a=aa(4369,e+8|0,237882,241835,474,338919,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break k}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}b=P()|0;O()|0;qc(a);break j}d=c+d|0;f=c+f|0;b=b-c|0;if(b){continue}break}}ec(e);break a}b=P()|0;O()|0;break j}b=P()|0;O()|0}ec(e);T(b|0);L()}L()}Qb=e+32|0;return f|0}function Ao(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;h=Qb+-64|0;Qb=h;j=a+11724|0;FH(a,v[a+11720>>2],v[j>>2],b,c,h+20|0,h+16|0);FH(a,d,e,f,g,h+12|0,h+8|0);k=v[a+4>>2];v[k+16>>2]=v[k+16>>2]+(B(e-c>>16,b>>16)-B(d-b>>16,c>>16)|0);i=v[h+20>>2];l=i+v[a+11720>>2]|0;v[h>>2]=l;k=v[j>>2];j=v[h+16>>2];k=k+j|0;v[h+4>>2]=k;n=v[h+8>>2];o=v[h+12>>2];j=c+j|0;m=b+i|0;if(w[a+11667|0]){v[h+56>>2]=1;b=v[a+11732>>2];v[h+24>>2]=v[a+11728>>2];v[h+28>>2]=b;b=a+8|0;if(!w[a+20|0]){c=v[a+11740>>2];i=v[a+11736>>2];a:{b:{if(!w[a+11664|0]){v[a+11724>>2]=c;v[a+11720>>2]=i;t[a+11667|0]=1;c=v[a+11676>>2];break b}t[a+11665|0]=1;yk(a,i,c);if(w[a+11744|0]){mm(a,b,a+11704|0,v[a+11712>>2],v[a+11716>>2],1)}t[a+11744|0]=0;u[a+11664>>1]=0;v[a+11736>>2]=i;v[a+11740>>2]=c;v[a+11720>>2]=i;v[a+11724>>2]=c;t[a+11667|0]=1;c=v[a+11676>>2];if(!w[a+20|0]){break b}if(!w[c+5|0]){break a}}lm(b,v[a+11668>>2],v[a+11672>>2],c,v[a+11680>>2],0)}gc(a+3876|0,b,3868)}c=Ac(v[a+11644>>2],l);i=Ac(v[a+11648>>2],k);b=ol(b,k);c=c+i|0;p=h,q=(Ac(v[v[a>>2]+64>>2],c)+Ac(v[v[a>>2]+72>>2],b)|0)+v[a+11656>>2]|0,v[p+32>>2]=q;p=h,q=(Ac(v[v[a>>2]+68>>2],c)+Ac(v[v[a>>2]+76>>2],b)|0)+v[a+11660>>2]|0,v[p+36>>2]=q;b=v[a+4>>2];Ub[v[b>>2]](b,h+24|0);i=v[h+32>>2];b=v[h+36>>2];c=0;v[a+11704>>2]=c|l;v[a+11708>>2]=k;v[a+11728>>2]=i;v[a+11732>>2]=b;v[a+11712>>2]=c|m;v[a+11716>>2]=j;t[a+11664|0]=1;t[a+11667|0]=0}if(w[a+11744|0]){mm(a,a+8|0,h,m,j,0)}v[a+11748>>2]=4;t[a+11744|0]=1;b=v[h+4>>2];c=v[h>>2];v[a+11780>>2]=g+n;v[a+11776>>2]=f+o;v[a+11772>>2]=e+n;v[a+11768>>2]=d+o;v[a+11752>>2]=c;v[a+11756>>2]=b;v[a+11760>>2]=m;v[a+11764>>2]=j;b=v[a+11676>>2];if(w[b+5|0]){lm(a+8|0,v[a+11668>>2],v[a+11672>>2],b,v[a+11680>>2],0)}v[a+11724>>2]=g;v[a+11720>>2]=f;Qb=h- -64|0}function vv(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;k=1;a:{b:{if(!v[b>>2]){b=c;break b}if(!v[c>>2]){break b}k=0;if(v[c+8>>2]>2]){break a}}d=v[a+20>>2];c:{if(!d){break c}g=v[b+8>>2];d:{while(1){h=v[(B(f,20)+a|0)+36>>2];if((h|0)>=(g|0)){break d}f=f+1|0;if((d|0)!=(f|0)){continue}break}f=d;break c}if(w[(B(f,20)+a|0)+28|0]&8|(!k&(h|0)<=v[c+8>>2]|(g|0)==(h|0))){break a}}d=v[a+4>>2];if(!(!w[d+12|0]|w[b|0]&16)){e:{if(!k){d=ol(d,(v[b+8>>2]+v[c+8>>2]|0)/2|0);g=Ac((v[c+8>>2]-v[b+8>>2]|0)/2|0,v[a+16>>2]);v[b+12>>2]=d-g;g=d+g|0;d=c;break e}g=ol(d,v[b+8>>2]);d=b}v[d+12>>2]=g}if(v[b+12>>2]>2]?f:0){break a}d=v[a+20>>2];f:{if(d>>>0<=f>>>0){break f}if(!k){if(v[c+12>>2]<=v[(B(f,20)+a|0)+40>>2]){break f}break a}if(v[b+12>>2]>v[(B(f,20)+a|0)+40>>2]){break a}}h=d+!k|0;if(h>>>0>191){break a}j=d-f|0;g:{if(!j){break g}l=f+1|0;h:{if(!(j&1)){g=d;break h}e=a+28|0;m=e+B(h,20)|0;i=m;g=d-1|0;e=e+B(g,20)|0;n=v[e+4>>2];v[i>>2]=v[e>>2];v[i+4>>2]=n;v[i+16>>2]=v[e+16>>2];i=v[e+12>>2];v[m+8>>2]=v[e+8>>2];v[m+12>>2]=i;h=h-1|0;j=j-1|0}if((d|0)==(l|0)){break g}m=a+28|0;while(1){l=m+B(g,20)|0;e=l-20|0;n=v[e+4>>2];d=m+B(h,20)|0;v[d>>2]=v[e>>2];v[d+4>>2]=n;v[d+16>>2]=v[e+16>>2];i=v[e+12>>2];v[d+8>>2]=v[e+8>>2];v[d+12>>2]=i;e=l-40|0;l=v[e+4>>2];d=d-20|0;v[d>>2]=v[e>>2];v[d+4>>2]=l;i=v[e+12>>2];v[d+8>>2]=v[e+8>>2];v[d+12>>2]=i;v[d+16>>2]=v[e+16>>2];h=h-2|0;g=g-2|0;j=j-2|0;if(j){continue}break}}d=B(f,20)+a|0;v[d+44>>2]=v[b+16>>2];f=v[b+12>>2];v[d+36>>2]=v[b+8>>2];v[d+40>>2]=f;f=v[b+4>>2];v[d+28>>2]=v[b>>2];v[d+32>>2]=f;v[a+20>>2]=v[a+20>>2]+1;if(k){break a}v[d- -64>>2]=v[c+16>>2];b=v[c+12>>2];v[d+56>>2]=v[c+8>>2];v[d+60>>2]=b;b=v[c+4>>2];v[d+48>>2]=v[c>>2];v[d+52>>2]=b;v[a+20>>2]=v[a+20>>2]+1}}function BCa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;b=Qb-48|0;Qb=b;v[b+32>>2]=13;v[b+16>>2]=13;v[b>>2]=13;v[a+24>>2]=2;if(v[rc(c,237502,b+32|0,0)>>2]==7){if(v[rc(v[b+40>>2],236357,b+16|0,0)>>2]==1){v[a+24>>2]=v[b+24>>2]}c=b+16|0;hc(c);rc(v[b+40>>2],280473,c,0);a:{b:{if(v[b+16>>2]==4){c=fc(8);v[299999]=0;Q(3063,c|0,v[b+24>>2])|0;f=v[299999];v[299999]=0;if((f|0)==1){break b}v[a+28>>2]=c}c=b+16|0;hc(c);rc(v[b+40>>2],269612,c,0);c=v[b+16>>2];if(c-1>>>0<=1){A[a+120>>3]=(c|0)==1?+v[b+24>>2]:A[b+24>>3]}c=b+16|0;hc(c);rc(v[b+40>>2],230838,c,0);rc(v[b+40>>2],232195,b,0);c=v[b+16>>2];c:{d:{if(c-1>>>0>=2){if(v[b>>2]-1>>>0<=1){break d}break c}d=((c|0)==1?+v[b+24>>2]:A[b+24>>3])*.001;if(!(d<0)){break d}d=-d}c=v[b>>2];e:{if(c-1>>>0>1){break e}e=((c|0)==1?+v[b+8>>2]:A[b+8>>3])*.001;if(!(e<0)){break e}e=-e}if(!(!(d<1.9)|d==0)){A[a+144>>3]=d}d=e!=0?d==0?e:d>e?e:d:d;if(d==0|!(d<1.9)){break c}A[a+128>>3]=d}c=b+16|0;hc(c);hc(b);rc(v[b+40>>2],230830,c,0);c=v[b+16>>2];f:{if(c-1>>>0>1){break f}d=((c|0)==1?+v[b+24>>2]:A[b+24>>3])*.001;d=d>0?-d:d;if(d==0|!(d>-1.9)){break f}A[a+136>>3]=d}c=b+16|0;hc(c);if(v[rc(v[b+40>>2],220491,c,0)>>2]!=6){break a}c=v[b+24>>2];if(v[c+12>>2]<1){break a}if(v[yc(c,0,b,0)>>2]-1>>>0<=1){A[a+88>>3]=(v[b>>2]==1?+v[b+8>>2]:A[b+8>>3])*.001}hc(b);c=v[b+24>>2];if(v[c+12>>2]<=1){break a}if(v[yc(c,1,b,0)>>2]-1>>>0<=1){A[a+96>>3]=(v[b>>2]==1?+v[b+8>>2]:A[b+8>>3])*.001}hc(b);c=v[b+24>>2];if(v[c+12>>2]<3){break a}if(v[yc(c,2,b,0)>>2]-1>>>0<=1){A[a+104>>3]=(v[b>>2]==1?+v[b+8>>2]:A[b+8>>3])*.001}hc(b);c=v[b+24>>2];if(v[c+12>>2]<4){break a}if(v[yc(c,3,b,0)>>2]-1>>>0<=1){A[a+112>>3]=(v[b>>2]==1?+v[b+8>>2]:A[b+8>>3])*.001}hc(b);break a}a=P()|0;O()|0;dc(c);T(a|0);L()}hc(b+16|0)}hc(b+32|0);Qb=b+48|0}function Cha(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=Qb-16|0;Qb=f;c=v[b>>2];c=v[(c?c+12|0:1129608)>>2];d=w[c|0];if(d){while(1){e=d&255^e^e<<6;d=w[c+1|0];c=c+1|0;if(d){continue}break}}a:{c=v[v[a+12>>2]+((e>>>0)%y[a+8>>2]<<2)>>2];b:{if(c){while(1){if(v[c+12>>2]==(e|0)){d=v[c+16>>2];c:{if(d){d=Ub[v[v[d>>2]+36>>2]](d,b,-1)|0;break c}d=v[b>>2];if(!d){break b}d=v[d+12>>2];if(!d){break b}d=w[d|0]?-1:0}if(!d){break b}}c=v[c+8>>2];if(c){continue}break}}c=fc(32);v[c>>2]=0;v[c+4>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;e=c+16|0;v[e>>2]=0;v[e+4>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c+20>>2]=v[282402];b=v[b>>2];d:{if(b){d=v[v[b>>2]+28>>2];v[299999]=0;U(d|0,f+8|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break d}a=P()|0;O()|0;v[e>>2]=0;T(a|0);L()}v[f+8>>2]=0}v[299999]=0;Q(4344,e|0,f+8|0)|0;b=v[299999];v[299999]=0;e:{if((b|0)!=1){b=v[f+8>>2];v[f+8>>2]=0;if(!b){break e}v[299999]=0;e=v[b+4>>2]-1|0;v[b+4>>2]=e;d=v[299999];v[299999]=0;if((d|0)!=1){if(e){break e}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break e}}break a}b=P()|0;O()|0;a=v[f+8>>2];v[f+8>>2]=0;f:{if(!a){break f}v[299999]=0;c=v[a+4>>2]-1|0;v[a+4>>2]=c;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(c){break f}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}a=v[e>>2];v[e>>2]=0;g:{if(!a){break g}v[299999]=0;c=v[a+4>>2]-1|0;v[a+4>>2]=c;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(c){break g}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}T(b|0);L()}b=v[c+16>>2];b=b?b+12|0:1129608;d=v[b>>2];e=0;v[c+24>>2]=0;v[c+20>>2]=d;v[c+28>>2]=v[282402];d=v[b>>2];b=w[d|0];if(b){while(1){e=b&255^e^e<<6;b=w[d+1|0];d=d+1|0;if(b){continue}break}}v[c+12>>2]=e;gk(a,c)}Qb=f+16|0;return c+24|0}W(0)|0;O()|0;lc();L()}function kQa(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,j=0,k=0,l=0,m=0,n=0;h=Qb-32|0;Qb=h;a:{if(b){i=CY(h+24|0);v[v[i>>2]>>2]=v[a+8>>2];j=v[v[b>>2]+28>>2];v[299999]=0;b=ca(j|0,b|0,i|0,c|0,d|0,e|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}v[a+12>>2]=b;b:{if(!b){break b}v[b+2228512>>2]=a;m=A[e>>3];k=A[f>>3];l=A[g>>3];v[299999]=0;if(l<4294967296&l>=0){c=~~l>>>0}else{c=0}if(k<4294967296&k>=0){d=~~k>>>0}else{d=0}Ua(2542,b|0,+m,d|0,c|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}d=a+112|0;c:{if(t[a+123|0]<=-1){v[a+116>>2]=0;b=v[a+112>>2];break c}t[a+123|0]=0;b=d}v[b>>2]=0;n=1;b=v[v[a+12>>2]+180>>2];if(!b){break b}c=v[b+20>>2];d:{if(c){e=0;e:{g=w[c|0];if(!g){break e}b=c;while(1){f=e;e=e+1|0;j=w[b+1|0];b=b+1|0;if(j){continue}break}if((g|0)!=60|f>>>0<6|(w[c+1|0]!=117|w[c+2|0]!=116)){break e}if(w[c+3|0]!=102|w[c+4|0]!=56|w[c+5|0]!=62){break e}v[299999]=0;U(1564,h+8|0,c+6|0,f-5|0);b=v[299999];v[299999]=0;if((b|0)!=1){break d}break a}v[299999]=0;$(2543,h+8|0,c|0,e|0,0);b=v[299999];v[299999]=0;if((b|0)==1){break a}break d}t[h+19|0]=0;v[h+8>>2]=0}c=v[a+12>>2];b=c+2228520|0;if(t[c+2228531|0]<=-1){dc(v[b>>2])}c=v[h+12>>2];v[b>>2]=v[h+8>>2];v[b+4>>2]=c;v[b+8>>2]=v[h+16>>2];b=v[a+12>>2];c=b+2228520|0;if((c|0)==(d|0)){break b}f=w[b+2228531|0];e=f<<24>>24;if(t[a+123|0]>=0){if((e|0)>=0){a=v[c+4>>2];v[d>>2]=v[c>>2];v[d+4>>2]=a;v[d+8>>2]=v[c+8>>2];break b}a=v[b+2228524>>2];b=v[b+2228520>>2];v[299999]=0;Y(2544,d|0,b|0,a|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break b}break a}a=v[b+2228524>>2];b=v[b+2228520>>2];v[299999]=0;g=b;b=(e|0)<0;Y(2545,d|0,(b?g:c)|0,(b?a:f)|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break a}}Cd(i)}Qb=h+32|0;return n|0}a=P()|0;O()|0;Cd(i);T(a|0);L()}function $_(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0;i=Qb+-64|0;Qb=i;v[i+12>>2]=0;m=v[h+556>>2];k=v[g>>2];j=v[k>>2];v[i+28>>2]=0;v[i+32>>2]=0;v[i+36>>2]=0;v[i+40>>2]=0;v[i+20>>2]=0;v[i+24>>2]=0;v[i+48>>2]=a;v[i+44>>2]=f;v[i+52>>2]=0;v[i+16>>2]=k;l=(f|0)==12288|(f|0)==16384;n=l?513:96;k=Cc(j,4,0,n,0,i+60|0);v[i+32>>2]=k;a:{b:{if(!v[i+60>>2]){v[i+36>>2]=k;v[i+40>>2]=n;break b}if(k){Ub[v[j+8>>2]](j,k)}v[i+32>>2]=0;j=v[i+60>>2];if(j){break a}}ic(a+24|0,0,160);v[a+156>>2]=8720;v[a+60>>2]=65536;v[a+44>>2]=2;v[a+48>>2]=65536;v[a+32>>2]=-6553600;v[a+36>>2]=3276800;v[a+184>>2]=l?513:48;v[a+172>>2]=65535;v[a+136>>2]=65535;v[a+128>>2]=65535;v[a+132>>2]=65535;v[a+16>>2]=65535;v[a+20>>2]=65535;v[a+8>>2]=65535;v[a+12>>2]=65535;v[a>>2]=65535;v[a+4>>2]=65535;c:{d:{if(!v[b+12>>2]){j=Yc(d,v[b+20>>2]);if(j){break a}j=Xh(d,v[b+24>>2],i+12|0);if(j){break a}c=v[b+24>>2];v[i+60>>2]=c;break d}j=kA(b,c,i+12|0,i+60|0);if(j){break c}c=v[i+60>>2]}j=v[i+12>>2];j=c$(i+16|0,j,j?c+j|0:0)}e:{if(v[b+12>>2]){if(v[b+32>>2]){break e}b=v[b>>2]}else{b=d}nf(b,i+12|0)}if(j){break a}j=0;if(v[a+132>>2]!=65535){break a}j=d$(g,a,0,0);if(j){break a}f:{if((f|0)==12288|(f|0)==16384){break f}f=v[v[h+128>>2]+60>>2];g:{if((f|0)==-1){b=v[h+96>>2];f=v[b+68>>2];v[a+648>>2]=f;if(!f){break g}while(1){f=Ub[v[m+20>>2]](f)|0;v[b+68>>2]=f;if((f|0)<0){continue}break}break g}v[a+648>>2]=f;if(!f){break g}while(1){f=Ub[v[m+20>>2]](f)|0;v[v[h+128>>2]+60>>2]=f;if((f|0)<0){continue}break}}if(v[a+648>>2]){break f}v[a+648>>2]=v[a+532>>2]}b=v[a+536>>2];if(!b){j=0;break a}j=Yc(d,v[a+116>>2]+(b+e|0)|0);if(j){break a}b=a+608|0;j=Go(b,d,1,l);if(j){break a}j=bI(b,a+644|0,0,0)}a=v[v[i+16>>2]>>2];b=v[i+32>>2];if(b){Ub[v[a+8>>2]](a,b)}Qb=i- -64|0;return j}function Pja(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=Qb-48|0;Qb=d;a:{b:{c:{d:{e:{f:{g:{if(t[1179052]&1){break g}if(!Je(1179052)){break g}v[299999]=0;Q(4647,1179044,32)|0;c=v[299999];v[299999]=0;if((c|0)==1){break f}Ie(1179052)}e=Ap(d+16|0,40);v[299999]=0;U(4546,d+24|0,e|0,989249);c=v[299999];v[299999]=0;if((c|0)!=1){c=0;v[299999]=0;U(4547,a|0,d+24|0,1179044);f=v[299999];v[299999]=0;if((f|0)!=1){ec(d+24|0);ec(e);if(v[b+92>>2]<=0){break e}h:{i:{while(1){v[d+16>>2]=0;v[d+20>>2]=v[282402];if(!(v[b+116>>2]<=(c|0)&v[b+120>>2]>=(c|0))){v[299999]=0;c=aa(4369,d+24|0,227445,271729,619,307344,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break i}v[299999]=0;R(4370,c|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}b=P()|0;O()|0;qc(c);break h}if(!(v[b+140>>2]<=(c|0)&v[b+144>>2]>=(c|0))){v[299999]=0;c=aa(4369,d+24|0,227445,271729,619,307344,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break i}v[299999]=0;R(4370,c|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}b=P()|0;O()|0;qc(c);break h}e=v[v[b+128>>2]+(c-v[b+132>>2]<<2)>>2];v[d>>2]=v[v[b+104>>2]+(c-v[b+108>>2]<<2)>>2];v[299999]=0;v[d+4>>2]=e;e=Y(4635,d+16|0,346520,d|0)|0;f=v[299999];v[299999]=0;j:{if((f|0)==1){break j}v[299999]=0;Q(4606,a|0,e|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break j}ec(d+16|0);c=c+1|0;if((c|0)>2]){continue}break e}break}b=P()|0;O()|0;break h}b=P()|0;O()|0}ec(d+16|0);break d}a=P()|0;O()|0;ec(d+24|0);break a}a=P()|0;O()|0;break a}a=P()|0;O()|0;Pf(1179052);T(a|0);L()}b=v[a>>2];if(b){b=v[b+8>>2]-1|0}else{b=-1}v[299999]=0;U(4607,a|0,b|0,41);b=v[299999];v[299999]=0;if((b|0)!=1){v[299999]=0;Q(4606,a|0,1179044)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break c}}b=P()|0;O()|0}ec(a);T(b|0);L()}Qb=d+48|0;return}L()}ec(e);T(a|0);L()}function dbb(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0;if(e){o=e-1|0;p=e-2|0;while(1){i=g;a=f;t[g|0]=w[a|0];f=a+1|0;g=g+1|0;h=(e|0)==1;a:{if(!h&m>>>0>=o>>>0){break a}j=m?(m|0)==(p|0)?d:b:c;h=h&!m;if(h){if(j>>>0<2){break a}h=j-1|0;i=h&7;if(j-2>>>0>=7){h=h&-8;while(1){t[g|0]=w[a|0];t[g+1|0]=w[a|0];t[g+2|0]=w[a|0];t[g+3|0]=w[a|0];t[g+4|0]=w[a|0];t[g+5|0]=w[a|0];t[g+6|0]=w[a|0];t[g+7|0]=w[a|0];g=g+8|0;h=h-8|0;if(h){continue}break}}if(!i){break a}while(1){t[g|0]=w[a|0];g=g+1|0;i=i-1|0;if(i){continue}break}break a}k=w[a|0];l=h?0:f;if((k|0)==w[l|0]){if(j>>>0<2){break a}t[i+1|0]=k;g=i+2|0;if((j|0)==2){break a}h=j-2|0;i=h&7;if(j-3>>>0>=7){h=h&-8;while(1){t[g|0]=w[a|0];t[g+1|0]=w[a|0];t[g+2|0]=w[a|0];t[g+3|0]=w[a|0];t[g+4|0]=w[a|0];t[g+5|0]=w[a|0];t[g+6|0]=w[a|0];t[g+7|0]=w[a|0];g=g+8|0;h=h-8|0;if(h){continue}break}}if(!i){break a}while(1){t[g|0]=w[a|0];g=g+1|0;i=i-1|0;if(i){continue}break}break a}h=j+1>>>1|0;b:{if(j>>>0<3){break b}t[i+1|0]=k;g=i+2|0;if(j>>>0<5){break b}k=h>>>0>2?h:2;n=k-2|0;i=n&7;if(k-3>>>0>=7){k=n&-8;while(1){t[g|0]=w[a|0];t[g+1|0]=w[a|0];t[g+2|0]=w[a|0];t[g+3|0]=w[a|0];t[g+4|0]=w[a|0];t[g+5|0]=w[a|0];t[g+6|0]=w[a|0];t[g+7|0]=w[a|0];g=g+8|0;k=k-8|0;if(k){continue}break}}if(!i){break b}while(1){t[g|0]=w[a|0];g=g+1|0;i=i-1|0;if(i){continue}break}}if(h>>>0>=j>>>0){break a}i=(h^-1)+j|0;a=j-h&7;if(a){while(1){t[g|0]=w[l|0];h=h+1|0;g=g+1|0;a=a-1|0;if(a){continue}break}}if(i>>>0<7){break a}while(1){t[g|0]=w[l|0];t[g+1|0]=w[l|0];t[g+2|0]=w[l|0];t[g+3|0]=w[l|0];t[g+4|0]=w[l|0];t[g+5|0]=w[l|0];t[g+6|0]=w[l|0];t[g+7|0]=w[l|0];g=g+8|0;h=h+8|0;if((j|0)!=(h|0)){continue}break}}m=m+1|0;if((m|0)!=(e|0)){continue}break}}return 0}function Pu(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=Qb-16|0;Qb=j;a:{if(!a|!b){break a}d=v[a+76>>2];b:{f=v[b>>2];if(!f){g=-1;break b}if(d){m=v[a+80>>2];e=1;c=d;while(1){c:{g=(c-e>>>1|0)+e|0;h=g-1|0;i=v[B(h,20)+m>>2];k=f>>>0>i>>>0;l=(f|0)==(i|0);if(l){break c}c=l?c:f>>>0>>0?h:c;e=k?g+1|0:e;if(c>>>0>=e>>>0){continue}}break}g=g?k?g:h:0}else{g=0}if(g>>>0>=d>>>0){break b}c=v[a+80>>2];if(!c){break b}c=c+B(g,20)|0;if((f|0)!=v[c>>2]){break b}a=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=a;v[c+16>>2]=v[b+16>>2];a=v[b+12>>2];v[c+8>>2]=v[b+8>>2];v[c+12>>2]=a;break a}c=v[a+72>>2];d:{if(c>>>0>=d+1>>>0){e=v[a+80>>2];if(e){break d}}if(!c){v[a+72>>2]=2;c=2}d=B(c,40);c=v[a+80>>2];e:{if(!c){e=Ub[v[259704]](d)|0;break e}e=Ub[v[259709]](c,d)|0}if(!e){if(v[a+172>>2]==-1?v[a+212>>2]:0){break a}v[a+212>>2]=1;v[a+172>>2]=-1;v[a+84>>2]=2;v[j>>2]=350564;oc(0,0,0,a,0,1,2,3,350564,0,0,0,350051,j);break a}v[a+80>>2]=e;v[a+72>>2]=v[a+72>>2]<<1;d=v[a+76>>2]}f:{if((d|0)==(g|0)|d>>>0<=g>>>0){break f}f=g+1|0;if(d-g&1){c=B(d,20)+e|0;e=c-20|0;h=v[e+4>>2];v[c>>2]=v[e>>2];v[c+4>>2]=h;v[c+16>>2]=v[e+16>>2];h=v[e+12>>2];v[c+8>>2]=v[e+8>>2];v[c+12>>2]=h;e=v[a+80>>2];c=d-1|0}else{c=d}if((d|0)==(f|0)){break f}while(1){f=B(c,20);h=f+e|0;d=e;e=f-20|0;d=d+e|0;k=v[d+4>>2];v[h>>2]=v[d>>2];v[h+4>>2]=k;v[h+16>>2]=v[d+16>>2];i=v[d+12>>2];v[h+8>>2]=v[d+8>>2];v[h+12>>2]=i;d=v[a+80>>2];e=d+e|0;d=(d+f|0)-40|0;f=v[d+4>>2];v[e>>2]=v[d>>2];v[e+4>>2]=f;v[e+16>>2]=v[d+16>>2];f=v[d+12>>2];v[e+8>>2]=v[d+8>>2];v[e+12>>2]=f;e=v[a+80>>2];c=c-2|0;if(g>>>0>>0){continue}break}}c=v[b+4>>2];d=B(g,20)+e|0;v[d>>2]=v[b>>2];v[d+4>>2]=c;v[d+16>>2]=v[b+16>>2];c=v[b+12>>2];v[d+8>>2]=v[b+8>>2];v[d+12>>2]=c;v[a+76>>2]=v[a+76>>2]+1}Qb=j+16|0}function xna(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=Qb-80|0;Qb=d;dQ(v[a+108>>2],1);a:{b:{c:{d:{e:{f:{g:{h:{if(w[a+136|0]){if(!Nl(b,v[282394])){break h}}if(c){b=LO(d+16|0,b);v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break a}a=P()|0;O()|0;qc(b);break b}c=Bh();b=v[b+4>>2];b=fk(d+16|0,b?b:246399);e=v[v[c>>2]+20>>2];v[299999]=0;Y(e|0,c|0,a|0,b|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){ec(b);break g}a=P()|0;O()|0;ec(b);break b}e=kj(d+16|0,a+72|0);v[299999]=0;U(4713,d+8|0,e|0,0);g=v[299999];v[299999]=0;i:{j:{if((g|0)!=1){v[299999]=0;g=Q(4340,d+56|0,358308)|0;f=v[299999];v[299999]=0;if((f|0)==1){break f}f=v[e+8>>2];f=v[(f?f+12|0:1129608)>>2];v[299999]=0;U(4546,d|0,g|0,f|0);f=v[299999];v[299999]=0;if((f|0)==1){break j}ec(g);if(!c){break i}a=v[d>>2];a=v[(a?a+12|0:1129608)>>2];k:{if(a){c=v[b+12>>2];g=v[b+16>>2];b=v[b+8>>2];v[299999]=0;aa(4369,d+56|0,a|0,b|0,g|0,c|0,0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break k}break e}v[299999]=0;Q(4852,d+56|0,b|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break e}}v[299999]=0;R(4370,d+56|0);a=v[299999];v[299999]=0;if((a|0)!=1){break a}a=P()|0;O()|0;qc(d+56|0);ec(d);break d}a=P()|0;O()|0;break c}a=P()|0;O()|0;ec(g);break d}v[299999]=0;b=ga(4695)|0;c=v[299999];v[299999]=0;if((c|0)==1){break e}c=v[v[b>>2]+20>>2];v[299999]=0;Y(c|0,b|0,a|0,d|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break e}ec(d);ec(d+8|0);v[e+24>>2]=981312;v[e>>2]=981280;a=v[e+28>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Ub[v[v[a>>2]+4>>2]](a)}v[e+28>>2]=0}v[e+16>>2]=981312;a=v[e+20>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Ub[v[v[a>>2]+4>>2]](a)}v[e+20>>2]=0}ec(e+8|0)}Qb=d+80|0;return}a=P()|0;O()|0;break d}a=P()|0;O()|0;ec(d)}ec(d+8|0)}$c(e)}T(a|0)}L()}function pZa(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;g=Qb-16|0;Qb=g;f=v[a+4>>2]&2147418112;a:{if(d&16){if(w[a+9|0]&128?1:f){h=7;if(!(w[a+740|0]&16)){break a}}if(!c){h=0;break a}b:{if(w[a+292|0]){d=0;f=1;break b}if(x[a+372>>1]==65535){b=u[a+220>>1]-u[a+222>>1]|0;a=b>>31;a=(a^a+b)&65535;f=c&7;h=0;b=0;if(c-1>>>0>=7){c=c&-8;while(1){d=b<<2;v[d+e>>2]=a;v[(d|4)+e>>2]=a;v[(d|8)+e>>2]=a;v[(d|12)+e>>2]=a;v[(d|16)+e>>2]=a;v[(d|20)+e>>2]=a;v[(d|24)+e>>2]=a;v[(d|28)+e>>2]=a;b=b+8|0;c=c-8|0;if(c){continue}break}}if(!f){break a}while(1){v[(b<<2)+e>>2]=a;b=b+1|0;f=f-1|0;if(f){continue}break}break a}b=u[a+442>>1]-u[a+444>>1]|0;a=b>>31;a=(a^a+b)&65535;f=c&7;h=0;b=0;if(c-1>>>0>=7){c=c&-8;while(1){d=b<<2;v[d+e>>2]=a;v[(d|4)+e>>2]=a;v[(d|8)+e>>2]=a;v[(d|12)+e>>2]=a;v[(d|16)+e>>2]=a;v[(d|20)+e>>2]=a;v[(d|24)+e>>2]=a;v[(d|28)+e>>2]=a;b=b+8|0;c=c-8|0;if(c){continue}break}}if(!f){break a}while(1){v[(b<<2)+e>>2]=a;b=b+1|0;f=f-1|0;if(f){continue}break}break a}while(1){h=(d<<2)+e|0;c:{if(f&255){Ub[v[v[a+540>>2]+140>>2]](a,1,b+d|0,g+14|0,g+12|0);f=x[g+12>>1];break c}if(x[a+372>>1]!=65535){i=u[a+442>>1]-u[a+444>>1]|0;f=i>>31;f=f^f+i;break c}i=u[a+220>>1]-u[a+222>>1]|0;f=i>>31;f=f^f+i}v[h>>2]=f&65535;d=d+1|0;if((d|0)!=(c|0)){f=w[a+292|0];continue}break}h=0;break a}if(w[a+9|0]&128?1:f){h=7;if(!(w[a+740|0]&2)){break a}}if(!c){h=0;break a}h=0;d=0;if((c|0)!=1){f=c&-2;while(1){i=g+10|0;j=g+8|0;Ub[v[v[a+540>>2]+140>>2]](a,0,b+d|0,i,j);v[(d<<2)+e>>2]=x[g+8>>1];k=d|1;Ub[v[v[a+540>>2]+140>>2]](a,0,k+b|0,i,j);v[(k<<2)+e>>2]=x[g+8>>1];d=d+2|0;f=f-2|0;if(f){continue}break}}if(!(c&1)){break a}Ub[v[v[a+540>>2]+140>>2]](a,0,b+d|0,g+10|0,g+8|0);v[(d<<2)+e>>2]=x[g+8>>1]}Qb=g+16|0;return h|0}function ufa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Qb-32|0;Qb=c;f=Ci(a,0,262142,a+164|0);d=v[b+20>>2];if(d){v[d+4>>2]=v[d+4>>2]+1;e=v[b+20>>2]}v[c+24>>2]=e;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{d=e;m:{if(e){break m}d=e;if((f|0)<1){break m}d=v[a+3316>>2];n:{if(!d){a=0;break n}a=v[a+3320>>2];v[299999]=0;V(d|0,c|0,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break l}v[299999]=0;Q(4344,c+24|0,c|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break k}a=v[c>>2];v[c>>2]=0;o:{if(!a){break o}v[299999]=0;d=v[a+4>>2]-1|0;v[a+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(d){break o}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}a=v[c+24>>2];e=a}if(!e){break j}v[299999]=0;V(5305,b|0,c+24|0);a=v[299999];v[299999]=0;if((a|0)==1){break g}d=v[c+24>>2]}a=d;if(!a&(f|0)>0){break i}if((((v[a+16>>2]+v[a+44>>2]|0)-v[a+40>>2]|0)+1|0)!=(f|0)?a:0){break h}v[c+24>>2]=0;if(!a){break b}break c}a=P()|0;O()|0;break e}a=P()|0;O()|0;ec(c);break e}if(!a&(f|0)>0){break i}v[c+24>>2]=0;if(a){break c}break b}v[299999]=0;b=aa(4369,c|0,233553,242139,658,342993,0)|0;a=v[299999];v[299999]=0;p:{if((a|0)!=1){v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break p}break d}a=P()|0;O()|0;break e}a=P()|0;O()|0;qc(b);break e}v[299999]=0;b=aa(4369,c|0,233573,242139,660,342993,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break f}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break d}a=P()|0;O()|0;qc(b);break e}a=P()|0;O()|0;break e}a=P()|0;O()|0}ec(c+24|0);T(a|0);L()}L()}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;d=v[299999];v[299999]=0;if((d|0)!=1){if(b){break b}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}}break a}Qb=c+32|0;return}W(0)|0;O()|0;lc();L()}function Ky(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{if(!a){break a}c=v[a+20>>2];if(!c){break a}h=v[c+296>>2]}b:{if(!b){break b}c:{d:{e:{c=v[b+4>>2];switch(c-9|0){case 0:case 4:break c;case 9:break e;default:break d}}while(1){a=v[b>>2];c=v[b+8>>2];if(c){Ub[v[259708]](c)}c=v[b+12>>2];if(c){Ub[v[259708]](c)}Ub[v[259708]](b);b=a;if(b){continue}break}break b}while(1){g=v[b+24>>2];f:{if((c|0)==14){break f}d=v[b+12>>2];if(!(!d|(c|0)==5)){if(v[d+20>>2]==(b|0)){Ky(a,d)}v[b+12>>2]=0}g:{if(!v[294265]){break g}c=v[294263];if(!c){break g}Ub[c|0](b)}c=v[b+4>>2];h:{if(c>>>0>20|!(1<>2];if(!c){break h}while(1){d=v[c+24>>2];HF(a,c);c=d;if(c){continue}break}}e=v[b+40>>2];i:{j:{if((e|0)==(b+44|0)){break j}d=v[b+4>>2];if(!e|(1<>>0<=20:0)){break i}d=h;if(d){while(1){c=v[d+16>>2];if(c){while(1){if(e>>>0<=y[c+4>>2]&e>>>0>=c+20>>>0){break j}c=v[c>>2];if(c){continue}break}}d=v[d+20>>2];if(d){continue}break}}Ub[v[259708]](e)}d=v[b+4>>2]}k:{if(!(1<>>0>20){break k}c=v[b+48>>2];if(!c){break k}while(1){d=v[c>>2];e=v[c+8>>2];if(e){Ub[v[259708]](e)}e=v[c+12>>2];if(e){Ub[v[259708]](e)}Ub[v[259708]](c);c=d;if(c){continue}break}d=v[b+4>>2]}l:{m:{n:{switch(d-3|0){default:f=v[b+8>>2];o:{if(!f){break o}e=h;if(e){while(1){c=v[e+16>>2];if(c){while(1){if(c+20>>>0<=f>>>0&y[c+4>>2]>=f>>>0){break o}c=v[c>>2];if(c){continue}break}}e=v[e+20>>2];if(e){continue}break}}Ub[v[259708]](f);d=v[b+4>>2]}if((d|0)==1){break m}break;case 0:case 5:break n}}if((d|0)!=3){break l}}if(!a){break l}c=v[a+20>>2];if(!c){break l}d=v[c+368>>2];if((d|0)>99){break l}v[b+24>>2]=v[c+372>>2];v[c+368>>2]=d+1;v[c+372>>2]=b;break f}Ub[v[259708]](b)}if(!g){break b}c=v[g+4>>2];b=g;continue}}$p(b)}}function Rqa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;a:{f=v[294590];if(!f){f=fc(32);v[f>>2]=0;v[f+4>>2]=0;v[f+24>>2]=0;v[f+28>>2]=0;v[f+16>>2]=0;v[f+20>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;v[299999]=0;Q(4475,f|0,982428)|0;e=v[299999];v[299999]=0;if((e|0)==1){break a}v[294590]=f}v[a>>2]=0;v[299999]=0;e=S(4469,b|0)|0;g=v[299999];v[299999]=0;b:{c:{d:{e:{f:{if((g|0)!=1){if(!e){break b}v[299999]=0;g=S(4464,b|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break c}v[299999]=0;e=v[v[f+12>>2]+((g>>>0)%y[f+8>>2]<<2)>>2];h=v[299999];v[299999]=0;if((h|0)==1){break c}if(!e){break d}while(1){g:{if((g|0)==v[e+12>>2]){v[299999]=0;h=Q(4461,e+16|0,b|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break c}if(h){break g}}e=v[e+8>>2];if(e){continue}break d}break}e=v[e+60>>2];if(!e){break d}if((d|0)>-1){break f}while(1){if(v[v[e+8>>2]+80>>2]==(c|0)){break e}e=v[e>>2];if(e){continue}break}break d}break c}while(1){g=v[e+8>>2];if(!(v[g+80>>2]!=(c|0)|v[g+84>>2]!=(d|0))){break e}e=v[e>>2];if(e){continue}break}break d}v[299999]=0;Q(4344,a|0,e+8|0)|0;e=v[299999];v[299999]=0;if((e|0)!=1){break d}break c}v[299999]=0;R(4470,f|0);f=v[299999];v[299999]=0;if((f|0)==1){break c}break b}b=P()|0;O()|0;ec(a);T(b|0);L()}h:{if(v[a>>2]){break h}v[299999]=0;e=S(1,128)|0;f=v[299999];v[299999]=0;i:{j:{k:{if((f|0)==1){break k}v[299999]=0;f=S(4484,e|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break j}v[299999]=0;Q(4336,a|0,f|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break k}v[299999]=0;R(4485,f|0);e=v[299999];v[299999]=0;if((e|0)==1){break k}v[299999]=0;$(4491,f|0,b|0,c|0,d|0);b=v[299999];v[299999]=0;if((b|0)!=1){break h}}f=P()|0;O()|0;break i}f=P()|0;O()|0;dc(e)}ec(a);T(f|0);L()}return}a=P()|0;O()|0;dc(f);T(a|0);L()}function VZa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=Qb-16|0;Qb=d;v[a+788>>2]=0;v[a+792>>2]=0;f=a+796|0;v[f>>2]=0;v[f+4>>2]=0;h=a+788|0;a:{b:{c:{d:{if(!(Ub[v[a+516>>2]](a,1128418371,b,d+12|0)|0)){c=2;break d}c=1;if(!(Ub[v[a+516>>2]](a,1161972803,b,d+12|0)|0)){break d}if(!(Ub[v[a+516>>2]](a,1651273571,b,d+12|0)|0)){break d}c=Ub[v[a+516>>2]](a,1935829368,b,d+12|0)|0;if(c){break c}c=3}v[f>>2]=c;if(y[d+12>>2]<8){c=3;break c}i=a+800|0;k=v[b+8>>2];e:{f:{g:{h:{i:{c=v[f>>2];switch(c-1|0){case 2:break h;case 0:case 1:break i;default:break f}}c=Xh(b,v[d+12>>2],h);if(c){break c}g=v[d+12>>2];v[a+792>>2]=g;c=v[a+788>>2];e=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);j=w[c+1|0]<<16|w[c|0]<<24;if(!((j|0)==131072|(j|0)==196608)){c=w[c+2|0]|w[c+3|0]<<8;if(((c<<8|c>>>8|256)&65535)!=768){break e}}c=3;e=e<<8&16711680|e<<24|(e>>>8&65280|e>>>24);if(e>>>0>65535){break c}if(g>>>0>=(B(e,48)|8)>>>0){break g}e=(g-8>>>0)/48|0;break g}c=ne(b,8);if(c){break c}c=He(b);g=He(b);e=Sg(b);Vd(b);if(!c){break e}if((g&65533)!=1){c=3;break c}c=3;if(e>>>0>65535){break c}g=v[d+12>>2];c=Yc(b,v[b+8>>2]-8|0);if(c){break c}e=g>>>0<(e<<2)+8>>>0?g-8>>>2|0:e;c=(e<<2)+8|0;v[a+792>>2]=c;c=Xh(b,c,h);if(c){break c}}v[a+800>>2]=e;c=v[f>>2]}v[a+860>>2]=0;v[a+864>>2]=0;f=a;j:{k:{l:{switch(c|0){case 3:v[a+860>>2]=k;b=v[d+12>>2];break k;case 0:break b;default:break l}}m:{if(!(Ub[v[a+516>>2]](a,1128416340,b,d+8|0)|0)){break m}if(!(Ub[v[a+516>>2]](a,1161970772,b,d+8|0)|0)){break m}if(!(Ub[v[a+516>>2]](a,1650745716,b,d+8|0)|0)){break m}b=v[a+864>>2];break j}v[a+860>>2]=v[b+8>>2];b=v[d+8>>2]}v[f+864>>2]=b}c=0;if(b){break a}break b}c=2}if(v[h>>2]){nf(b,h)}v[a+792>>2]=0;i=f}v[i>>2]=0}Qb=d+16|0;return c|0}function $k(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;h=v[a+28>>2];a:{i=v[a>>2];if(!(!i&(!v[v[(v[a+24>>2]+(h<<2)|0)-4>>2]+20>>2]|(h|0)<1))){j=h;h=v[a+32>>2];if((j|0)>=(h|0)){h=h<<1;v[a+32>>2]=h;p=a,q=pd(v[a+24>>2],h,4),v[p+24>>2]=q;i=v[a>>2]}h=fc(24);b:{if(i){n=A[a+16>>3];o=A[a+8>>3];v[h+16>>2]=16;v[299999]=0;i=Q(3364,16,8)|0;j=v[299999];v[299999]=0;if((j|0)==1){break a}v[h>>2]=i;v[299999]=0;j=Q(3364,16,8)|0;k=v[299999];v[299999]=0;if((k|0)==1){break a}v[h+4>>2]=j;v[299999]=0;k=Q(3364,16,4)|0;l=v[299999];v[299999]=0;if((l|0)==1){break a}v[h+12>>2]=1;v[h+8>>2]=k;A[i>>3]=o;A[j>>3]=n;v[k>>2]=0;v[h+20>>2]=0;i=v[a+28>>2];j=v[a+24>>2]+(i<<2)|0;break b}i=v[(v[a+24>>2]+(v[a+28>>2]<<2)|0)-4>>2];j=(v[i+12>>2]<<3)-8|0;n=A[j+v[i+4>>2]>>3];o=A[j+v[i>>2]>>3];v[h+16>>2]=16;v[299999]=0;i=Q(3364,16,8)|0;j=v[299999];v[299999]=0;if((j|0)==1){break a}v[h>>2]=i;v[299999]=0;j=Q(3364,16,8)|0;k=v[299999];v[299999]=0;if((k|0)==1){break a}v[h+4>>2]=j;v[299999]=0;k=Q(3364,16,4)|0;l=v[299999];v[299999]=0;if((l|0)==1){break a}v[h+12>>2]=1;v[h+8>>2]=k;A[i>>3]=o;A[j>>3]=n;v[k>>2]=0;v[h+20>>2]=0;i=v[a+28>>2];j=v[a+24>>2]+(i<<2)|0}v[j>>2]=h;v[a>>2]=0;h=i+1|0;v[a+28>>2]=h}a=v[(v[a+24>>2]+(h<<2)|0)-4>>2];h=v[a+16>>2];i=v[a+12>>2];c:{if((h|0)>=(i+3|0)){h=v[a+8>>2];break c}h=h<<1;v[a+16>>2]=h;p=a,q=pd(v[a>>2],h,8),v[p>>2]=q;p=a,q=pd(v[a+4>>2],v[a+16>>2],8),v[p+4>>2]=q;h=pd(v[a+8>>2],v[a+16>>2],4);v[a+8>>2]=h;i=v[a+12>>2]}j=v[a>>2];k=i<<3;A[j+k>>3]=b;l=v[a+4>>2];A[l+k>>3]=c;i=i+1|0;m=i<<3;A[j+m>>3]=d;A[l+m>>3]=e;m=j;j=k+16|0;A[m+j>>3]=f;A[j+l>>3]=g;v[(i<<2)+h>>2]=1;v[(v[a+12>>2]<<2)+h>>2]=1;v[((v[a+12>>2]<<2)+h|0)+8>>2]=0;v[a+12>>2]=v[a+12>>2]+3;return}a=P()|0;O()|0;dc(h);T(a|0);L()}function ju(a,b,c,d,e,f,g,h,i,j,k,l){var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0,y=0,z=0;p=Qb-1152|0;Qb=p;m=v[k+8>>2];q=Ub[v[v[m>>2]+28>>2]](m)|0;Lr(k,d,p+256|0);Lr(k,g,p+128|0);Lr(k,j,p);m=0;a:{if((q|0)<1){break a}while(1){n=m<<2;x=v[n+(p+128|0)>>2];y=v[n+(p+256|0)>>2]-x|0;z=y>>31;if((z^z+y)>>>0>256){break a}x=x-v[p+n>>2]|0;n=x>>31;if((n^n+x)>>>0>256){break a}m=m+1|0;if((q|0)!=(m|0)){continue}break}m=q}n=v[a+28>>2];b:{c:{if(!((m|0)==(q|0)|(l|0)==6)){r=e-b;o=A[n+16>>3];s=f-c;t=A[n+32>>3];if(!(D(r*o+s*t)<.5)){break c}u=r;r=A[n+24>>3];w=s;s=A[n+40>>3];if(!(D(u*r+w*s)<.5)){break c}u=h-e;w=i-f;if(!(D(u*o+w*t)<.5)|!(D(u*r+w*s)<.5)){break c}u=b-h;w=u*o;o=c-i;if(!(D(w+o*t)<.5)|!(D(u*r+o*s)<.5)){break c}}gc(n+124|0,p+256|0,128);d=v[a+8>>2];Ub[v[v[d>>2]+116>>2]](d,v[a+28>>2]);d=v[a+28>>2];A[d+608>>3]=c;A[d+600>>3]=b;d=v[d+596>>2];A[d+16>>3]=c;A[d+8>>3]=b;v[d>>2]=1;d=v[a+28>>2];A[d+608>>3]=f;A[d+600>>3]=e;Ud(v[d+596>>2],e,f);d=v[a+28>>2];A[d+608>>3]=i;A[d+600>>3]=h;Ud(v[d+596>>2],h,i);d=v[a+28>>2];Hf(v[d+596>>2]);g=v[d+596>>2];g=v[((v[g+28>>2]<<2)+v[g+24>>2]|0)-4>>2];j=(v[g+12>>2]<<3)-8|0;A[d+600>>3]=A[j+v[g>>2]>>3];A[d+608>>3]=A[j+v[g+4>>2]>>3];d=v[a+8>>2];Ub[v[v[d>>2]+204>>2]](d,v[a+28>>2]);vf(v[a+28>>2]);break b}n=v[k+324>>2];if((n|0)>=1){q=0;while(1){m=q<<3;o=A[m+d>>3];t=A[g+m>>3];A[m+(p+896|0)>>3]=(o+t)*.5;r=o;o=A[j+m>>3];A[m+(p+384|0)>>3]=(r+o)*.5;A[m+(p+640|0)>>3]=(t+o)*.5;q=q+1|0;if((n|0)!=(q|0)){continue}break}}r=b;s=c;n=d;o=(b+e)*.5;t=(c+f)*.5;m=p+896|0;b=(b+h)*.5;c=(c+i)*.5;q=p+384|0;d=l+1|0;ju(a,r,s,n,o,t,m,b,c,q,k,d);r=e;s=f;l=g;e=(e+h)*.5;f=(f+i)*.5;g=p+640|0;ju(a,o,t,m,r,s,l,e,f,g,k,d);ju(a,o,t,m,e,f,g,b,c,q,k,d);ju(a,b,c,q,e,f,g,h,i,j,k,d)}Qb=p+1152|0}function SI(a,b){var c=C(0),d=0,e=C(0),f=0;v[a+59300>>2]=0;c=C(C(z[b>>2]*C(2.0341930389404297))+C(0));z[a+59300>>2]=c;c=C(c+C(z[b+12>>2]*C(-.7274199724197388)));z[a+59300>>2]=c;e=z[b+24>>2];d=a+59304|0;v[d>>2]=0;z[a+59300>>2]=c+C(e*C(-.30676600337028503));c=C(C(z[b+4>>2]*C(2.0341930389404297))+C(0));z[d>>2]=c;c=C(c+C(z[b+16>>2]*C(-.7274199724197388)));z[d>>2]=c;e=z[b+28>>2];f=a+59308|0;v[f>>2]=0;z[d>>2]=c+C(e*C(-.30676600337028503));c=C(C(z[b+8>>2]*C(2.0341930389404297))+C(0));z[f>>2]=c;c=C(c+C(z[b+20>>2]*C(-.7274199724197388)));z[f>>2]=c;e=z[b+32>>2];d=a+59316|0;v[d>>2]=0;z[f>>2]=c+C(e*C(-.30676600337028503));c=C(C(z[b>>2]*C(-.22881099581718445))+C(0));z[d>>2]=c;c=C(c+C(z[b+12>>2]*C(1.2317290306091309)));z[d>>2]=c;e=z[b+24>>2];f=a+59320|0;v[f>>2]=0;z[d>>2]=c+C(e*C(-.0029219998978078365));c=C(C(z[b+4>>2]*C(-.22881099581718445))+C(0));z[f>>2]=c;c=C(c+C(z[b+16>>2]*C(1.2317290306091309)));z[f>>2]=c;e=z[b+28>>2];d=a+59324|0;v[d>>2]=0;z[f>>2]=c+C(e*C(-.0029219998978078365));c=C(C(z[b+8>>2]*C(-.22881099581718445))+C(0));z[d>>2]=c;c=C(c+C(z[b+20>>2]*C(1.2317290306091309)));z[d>>2]=c;e=z[b+32>>2];f=a+59332|0;v[f>>2]=0;z[d>>2]=c+C(e*C(-.0029219998978078365));c=C(C(z[b>>2]*C(-.008565000258386135))+C(0));z[f>>2]=c;c=C(c+C(z[b+12>>2]*C(-.15327300131320953)));z[f>>2]=c;e=z[b+24>>2];d=a+59336|0;v[d>>2]=0;z[f>>2]=c+C(e*C(1.1618390083312988));c=C(C(z[b+4>>2]*C(-.008565000258386135))+C(0));z[d>>2]=c;c=C(c+C(z[b+16>>2]*C(-.15327300131320953)));z[d>>2]=c;e=z[b+28>>2];a=a+59340|0;v[a>>2]=0;z[d>>2]=c+C(e*C(1.1618390083312988));c=C(C(z[b+8>>2]*C(-.008565000258386135))+C(0));z[a>>2]=c;c=C(c+C(z[b+20>>2]*C(-.15327300131320953)));z[a>>2]=c;z[a>>2]=c+C(z[b+32>>2]*C(1.1618390083312988))}function VIa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=v[a+420>>2];if(b){b=v[a>>2];v[b+20>>2]=49;Ub[v[b>>2]](a)}a:{if(v[a+264>>2]){b=v[a+360>>2];if(!v[a+368>>2]){if(!b){v[d+4>>2]=348;break a}v[d+4>>2]=349;break a}if(!b){v[d+4>>2]=350;break a}v[d+4>>2]=351;break a}v[d+4>>2]=352}if(v[a+288>>2]>=1){b=0;while(1){f=b<<2;g=v[(f+a|0)+292>>2];if(!(v[a+360>>2]|v[a+368>>2])){e=v[g+20>>2];if(e>>>0>=16){c=v[a>>2];v[c+24>>2]=e;v[c+20>>2]=50;Ub[v[v[a>>2]>>2]](a)}e=(e<<2)+d|0;c=v[e+76>>2];if(!c){c=Ub[v[v[a+4>>2]>>2]](a,1,64)|0;v[e+76>>2]=c}t[c|0]=0;t[c+1|0]=0;t[c+2|0]=0;t[c+3|0]=0;t[c+4|0]=0;t[c+5|0]=0;t[c+6|0]=0;t[c+7|0]=0;t[c+56|0]=0;t[c+57|0]=0;t[c+58|0]=0;t[c+59|0]=0;t[c+60|0]=0;t[c+61|0]=0;t[c+62|0]=0;t[c+63|0]=0;t[c+48|0]=0;t[c+49|0]=0;t[c+50|0]=0;t[c+51|0]=0;t[c+52|0]=0;t[c+53|0]=0;t[c+54|0]=0;t[c+55|0]=0;t[c+40|0]=0;t[c+41|0]=0;t[c+42|0]=0;t[c+43|0]=0;t[c+44|0]=0;t[c+45|0]=0;t[c+46|0]=0;t[c+47|0]=0;t[c+32|0]=0;t[c+33|0]=0;t[c+34|0]=0;t[c+35|0]=0;t[c+36|0]=0;t[c+37|0]=0;t[c+38|0]=0;t[c+39|0]=0;t[c+24|0]=0;t[c+25|0]=0;t[c+26|0]=0;t[c+27|0]=0;t[c+28|0]=0;t[c+29|0]=0;t[c+30|0]=0;t[c+31|0]=0;t[c+16|0]=0;t[c+17|0]=0;t[c+18|0]=0;t[c+19|0]=0;t[c+20|0]=0;t[c+21|0]=0;t[c+22|0]=0;t[c+23|0]=0;t[c+8|0]=0;t[c+9|0]=0;t[c+10|0]=0;t[c+11|0]=0;t[c+12|0]=0;t[c+13|0]=0;t[c+14|0]=0;t[c+15|0]=0;c=d+f|0;v[c+52>>2]=0;v[c+36>>2]=0}if(v[a+364>>2]){e=v[g+24>>2];if(e>>>0>=16){c=v[a>>2];v[c+24>>2]=e;v[c+20>>2]=50;Ub[v[v[a>>2]>>2]](a)}e=(e<<2)+d|0;c=v[e+140>>2];if(!c){c=Ub[v[v[a+4>>2]>>2]](a,1,256)|0;v[e+140>>2]=c}ic(c,0,256)}b=b+1|0;if((b|0)>2]){continue}break}}v[d+28>>2]=11;v[d+32>>2]=-1;v[d+20>>2]=0;v[d+24>>2]=0;v[d+12>>2]=0;v[d+16>>2]=65536;a=v[a+236>>2];v[d+72>>2]=0;v[d+68>>2]=a}function $N(a,b,c,d,e,f){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;a:{b:{f=f-16|0;if(f){if((f|0)!=16){break a}h=v[a+20>>2];if((h|0)<1){break a}f=v[a+16>>2];if((f|0)<=0){break a}k=((e>>>0>255)+(e>>>0>65535)|0)+(e>>>0>16777215)|0;j=((d>>>0>255)+(d>>>0>65535)|0)+(d>>>0>16777215)|0;l=((c>>>0>255)+(c>>>0>65535)|0)+(c>>>0>16777215)|0;m=f<<2;n=v[a+56>>2];break b}h=v[a+20>>2];f=v[a+16>>2];if((h|0)<1|(f|0)<=0){break a}g=(((((((((((((((c&1)+(c>>>1&1)|0)+(c>>>2&1)|0)+(c>>>3&1)|0)+(c>>>4&1)|0)+(c>>>5&1)|0)+(c>>>6&1)|0)+(c>>>7&1)|0)+(c>>>8&1)|0)+(c>>>9&1)|0)+(c>>>10&1)|0)+(c>>>11&1)|0)+(c>>>12&1)|0)+(c>>>13&1)|0)+(c>>>14&1)|0)+(c>>>15&1)|0;l=(g+((((((((((((((((d&1)+(d>>>1&1)|0)+(d>>>2&1)|0)+(d>>>3&1)|0)+(d>>>4&1)|0)+(d>>>5&1)|0)+(d>>>6&1)|0)+(d>>>7&1)|0)+(d>>>8&1)|0)+(d>>>9&1)|0)+(d>>>10&1)|0)+(d>>>11&1)|0)+(d>>>12&1)|0)+(d>>>13&1)|0)+(d>>>14&1)|0)+(d>>>15&1)|0)|0)-8|0;m=l+((((((((((((((((e>>>1&1)+(e&1)|0)+(e>>>2&1)|0)+(e>>>3&1)|0)+(e>>>4&1)|0)+(e>>>5&1)|0)+(e>>>6&1)|0)+(e>>>7&1)|0)+(e>>>8&1)|0)+(e>>>9&1)|0)+(e>>>10&1)|0)+(e>>>11&1)|0)+(e>>>12&1)|0)+(e>>>13&1)|0)+(e>>>14&1)|0)+(e>>>15&1)|0)|0;n=8-g|0;o=(f+1|0)/2<<2;p=v[a+56>>2];while(1){g=h-1|0;if((f|0)>=1){q=B(g,v[a+52>>2]);r=B(g,o);while(1){k=f-1|0;i=(k<<1)+r|0;s=w[(i|1)+b|0];j=p+(B(k,3)+q|0)|0;i=w[b+i|0];t[j|0]=(i&e)<>>m;t[j+1|0]=(d&i)>>>l;j=(f|0)>1;f=k;if(j){continue}break}}if((h|0)<2){break a}f=v[a+16>>2];h=g;continue}}while(1){c=h-1|0;if((f|0)>=1){o=B(c,v[a+52>>2]);p=B(c,m);while(1){d=f-1|0;e=n+(o+B(d,3)|0)|0;g=p+(d<<2)|0;t[e|0]=w[(g+k|0)+b|0];t[e+1|0]=w[(g+j|0)+b|0];t[e+2|0]=w[(g+l|0)+b|0];e=(f|0)>1;f=d;if(e){continue}break}}if((h|0)<2){break a}f=v[a+16>>2];h=c;continue}}}function B9a(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;if(v[a+8>>2]!=2){pc(a,1030,0,0);return 1030}if(w[a+284|0]){pc(a,1029,0,0);return 1029}if((c&-17)!=12){pc(a,1028,0,0);return 1028}u[a+284>>1]=257;v[a+12>>2]=2;f=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);g=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);v[a+16>>2]=g;f=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);h=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);v[a+20>>2]=h;f=w[d+8|0]|w[d+9|0]<<8|(w[d+10|0]<<16|w[d+11|0]<<24);v[a+24>>2]=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);a:{b:{c:{if((c|0)!=28){v[a+28>>2]=0;v[a+32>>2]=0;t[a+264|0]=1;v[a+36>>2]=0;v[a+40>>2]=0;d=0;break c}c=w[d+12|0]|w[d+13|0]<<8|(w[d+14|0]<<16|w[d+15|0]<<24);v[a+28>>2]=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=w[d+16|0]|w[d+17|0]<<8|(w[d+18|0]<<16|w[d+19|0]<<24);v[a+32>>2]=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=w[d+20|0]|w[d+21|0]<<8|(w[d+22|0]<<16|w[d+23|0]<<24);v[a+36>>2]=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=w[d+27|0];f=w[d+26|0];i=w[d+25|0];d=w[d+24|0];t[a+264|0]=0;d=c|(i<<16|d<<24|f<<8);v[a+40>>2]=d;if(c&1){break b}}t[a+44|0]=16;break a}if(!(c&8)){t[a+44|0]=0;break a}if((d&320)==64){t[a+44|0]=1;break a}t[a+44|0]=16}if(d&64512){pc(a,1060,0,0);return 1060}d:{if(!(y[a+124>>2]>=g>>>0&y[a+128>>2]>=h>>>0)){d=4097;if(!pc(a,4097,0,0)){break d}}e:{c=v[a+188>>2];if(!c){break e}if(Ub[c|0](a,v[a+16>>2],v[a+20>>2])|0){break e}pc(a,904,0,0);return 904}v[a+48>>2]=v[a+48>>2]+1;d=0;if(!w[a+112|0]){break d}d=Ub[v[b+4>>2]](a,b,e)|0;if(d){break d}b=v[e>>2];v[b+32>>2]=v[a+16>>2];v[b+36>>2]=v[a+20>>2];v[b+40>>2]=v[a+24>>2];v[b+44>>2]=v[a+28>>2];v[b+48>>2]=v[a+32>>2];v[b+52>>2]=v[a+36>>2];v[b+56>>2]=v[a+40>>2];d=0}return d|0}function i6a(a){a=a|0;var 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=Qb-32|0;Qb=c;h=x[a+26306>>1];f=h<<1;if(f>>>0>=B(x[a+26310>>1],3)>>>0){f=(f>>>0)/3|0;u[a+26306>>1]=f;m=B(f,12)-(h<<3)|0}d=v[a+26300>>2];u[a+25204>>1]=d&1?18761:19789;a:{b=x[a+26308>>1];if(!b){break a}j=v[252391];h=0;while(1){b:{if(!(d&2)){f=h;break b}f=((h>>>0)/(b>>>1>>>0)|0)+((h<<1>>>0)%(b>>>0)|0)|0;if((f|0)!=1){break b}f=1;if(!(d&4)){break b}d=v[a+4>>2];e=v[v[a>>2]+8>>2];if(v[a+26116>>2]){g=0;Ub[e|0](d,v[a+26048>>2]-((B(B(x[a+26310>>1],b),-3)|0)/4&-2048)|0,0)|0;break b}g=0;Ub[e|0](d,0,2)|0;b=v[a>>2];d=v[b+8>>2];e=v[a+4>>2];Ub[d|0](e,(Ub[v[b+24>>2]](e)|0)/2|0,0)|0}if(x[a+26306>>1]){n=f<<1&14;d=0;while(1){if((g|0)>11){g=g-12|0}else{v[c+28>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+28|0,1,4)|0;b=w[c+28|0];o=i;if(x[a+25204>>1]==18761){i=b|w[c+29|0]<<8|w[c+30|0]<<16|w[c+31|0]<<24}else{i=w[c+31|0]|(w[c+29|0]<<16|b<<24|w[c+30|0]<<8)}g=g+20|0}b=d-x[a+26314>>1]|0;if(b>>>0>1]){e=x[a+26316>>1];p=(v[a+26352>>2]+(B(x[a+26320>>1],f>>e)+(b>>e)<<3)|0)+((v[a+26028>>2]>>>((n|b&1)<<1)&3)<<1)|0;b=o;k=i;l=52-g|0;e=l&31;if((l&63)>>>0>=32){b=k<>>32-e|b<>1]=b>>>20}c:{if(!(w[a+26300|0]&8)|((d>>>0)%10|0)!=9){break c}g=0;if(!(i&255)){break c}d:{if(v[a+26160>>2]){break d}v[c+16>>2]=v[a+25208>>2];wc(j,8292,c+16|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,j);break d}b=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[c>>2]=b;v[c+4>>2]=b>>31;wc(j,14622,c)}v[a+26160>>2]=1}d=d+1|0;if(d>>>0>1]){continue}break}}b=x[a+26308>>1];h=h+1|0;if(b>>>0<=h>>>0){break a}g=g+m|0;d=v[a+26300>>2];continue}}if(!mc(a+25733|0,44919)){v[a+26120>>2]=v[a+26120>>2]>>>4}Qb=c+32|0}function abb(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;if(e){p=e-1|0;q=e-2|0;m=(e|0)==1;while(1){a=f;t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];f=a+3|0;g=g+3|0;a:{if(!m&l>>>0>=p>>>0){break a}j=l?(l|0)==(q|0)?d:b:c;n=!l&m;if(n){if(j>>>0<2){break a}h=j-1|0;i=h&3;if(j-2>>>0>=3){h=h&-4;while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];t[g+3|0]=w[a|0];t[g+4|0]=w[a+1|0];t[g+5|0]=w[a+2|0];t[g+6|0]=w[a|0];t[g+7|0]=w[a+1|0];t[g+8|0]=w[a+2|0];t[g+9|0]=w[a|0];t[g+10|0]=w[a+1|0];t[g+11|0]=w[a+2|0];g=g+12|0;h=h-4|0;if(h){continue}break}}if(!i){break a}while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];g=g+3|0;i=i-1|0;if(i){continue}break}break a}i=j+1>>>1|0;b:{if(j>>>0<3){break b}k=i>>>0>2?i:2;o=k-1|0;h=o&3;if(k-2>>>0>=3){k=o&-4;while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];t[g+3|0]=w[a|0];t[g+4|0]=w[a+1|0];t[g+5|0]=w[a+2|0];t[g+6|0]=w[a|0];t[g+7|0]=w[a+1|0];t[g+8|0]=w[a+2|0];t[g+9|0]=w[a|0];t[g+10|0]=w[a+1|0];t[g+11|0]=w[a+2|0];g=g+12|0;k=k-4|0;if(k){continue}break}}if(!h){break b}while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];g=g+3|0;h=h-1|0;if(h){continue}break}}if(i>>>0>=j>>>0){break a}a=n?0:f;k=(i^-1)+j|0;h=j-i&3;if(h){while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];i=i+1|0;g=g+3|0;h=h-1|0;if(h){continue}break}}if(k>>>0<3){break a}while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];t[g+3|0]=w[a|0];t[g+4|0]=w[a+1|0];t[g+5|0]=w[a+2|0];t[g+6|0]=w[a|0];t[g+7|0]=w[a+1|0];t[g+8|0]=w[a+2|0];t[g+9|0]=w[a|0];t[g+10|0]=w[a+1|0];t[g+11|0]=w[a+2|0];g=g+12|0;i=i+4|0;if((j|0)!=(i|0)){continue}break}}l=l+1|0;if((l|0)!=(e|0)){continue}break}}return 0}function Yla(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=Qb-48|0;Qb=e;d=(v[a+68>>2]-v[a- -64>>2]|0)+1|0;Vk(a+48|0,0,d);f=(b|0)<0?d:b;a:{b:{if((f|0)<(d|0)){while(1){c:{if(v[a+64>>2]<(d|0)){g=v[a+68>>2];b=d-1|0;if((g|0)>=(b|0)){break c}}b=vc(e+8|0,227445,271729,619,308072,0);v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break a}a=P()|0;O()|0;qc(b);break b}if((d|0)>(g|0)){b=vc(e+8|0,227445,271729,619,308072,0);v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break a}a=P()|0;O()|0;qc(b);break b}g=v[a+52>>2];h=d;d=v[a+56>>2];vr(g+(h-d<<3)|0,g+(b-d<<3)|0);d=b;if((b|0)>(f|0)){continue}break}}if(!(v[a+64>>2]<=(f|0)&v[a+68>>2]>=(f|0))){b=vc(e+8|0,227445,271729,619,308072,0);v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break a}a=P()|0;O()|0;qc(b);break b}dx(v[a+52>>2]+(f-v[a+56>>2]<<3)|0,c);v[299999]=0;b=Q(4340,e+8|0,c|0)|0;d=v[299999];v[299999]=0;d:{e:{f:{g:{h:{if((d|0)!=1){v[299999]=0;d=Q(4977,a+72|0,b|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break h}v[d+24>>2]=f;ec(b);v[299999]=0;c=Q(4340,e|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break g}v[299999]=0;b=Y(4612,e+8|0,c|0,a+12|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break f}v[299999]=0;a=Q(4978,a+100|0,b|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break e}v[a+52>>2]=f;v[b+24>>2]=981312;v[b>>2]=981280;a=v[b+28>>2];if(a){d=v[a+4>>2]-1|0;v[a+4>>2]=d;if(!d){Ub[v[v[a>>2]+4>>2]](a)}v[b+28>>2]=0}v[b+16>>2]=981312;a=v[b+20>>2];if(a){d=v[a+4>>2]-1|0;v[a+4>>2]=d;if(!d){Ub[v[v[a>>2]+4>>2]](a)}v[b+20>>2]=0}ec(b+8|0);ec(c);Qb=e+48|0;return}a=P()|0;O()|0;break b}a=P()|0;O()|0;ec(b);break b}a=P()|0;O()|0;break b}a=P()|0;O()|0;break d}a=P()|0;O()|0;$c(b)}ec(c)}T(a|0)}L()}function Bhb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=y[a+4>>2]/((y[b>>2]>256?9:7)>>>0)|0;v[a+12>>2]=d;e=jc(d<<4);v[a+16>>2]=e;a:{if(!e){break a}if(v[a+12>>2]<1){return 0}b:{while(1){d=v[c+8>>2];if(d&7){break a}f=v[c+64>>2];if((f|0)>=0&(f|0)<=v[c+60>>2]){break b}d=v[c+28>>2];v[c+28>>2]=d-1;c:{if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;d=v[c+24>>2];v[c+24>>2]=d+1;d=w[d|0];break c}d=Hc(c,1);if((d|0)==-1){break a}}t[e+1|0]=d;d:{if(y[b>>2]>=257){if(!Of(c,e+4|0)){break d}break a}d=v[c+8>>2];if(d&7){break a}f=v[c+64>>2];if((f|0)>=0&(f|0)<=v[c+60>>2]){break b}d=v[c+28>>2];v[c+28>>2]=d-1;e:{if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;d=v[c+24>>2];v[c+24>>2]=d+1;d=w[d|0];break e}d=Hc(c,1);if((d|0)==-1){break a}}v[e+4>>2]=d&255}if(Of(c,e+12|0)){break a}d=v[c+8>>2];if(d&7){break a}f=v[c+64>>2];if((f|0)>=0&(f|0)<=v[c+60>>2]){break b}d=v[c+28>>2];v[c+28>>2]=d-1;f:{if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;d=v[c+24>>2];v[c+24>>2]=d+1;d=w[d|0];break f}d=Hc(c,1);if((d|0)==-1){break a}}t[e+2|0]=d;g:{if(y[b>>2]>=257){if(!Of(c,e+8|0)){break g}break a}d=v[c+8>>2];if(d&7){break a}f=v[c+64>>2];if((f|0)>=0&(f|0)<=v[c+60>>2]){break b}d=v[c+28>>2];v[c+28>>2]=d-1;h:{if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;d=v[c+24>>2];v[c+24>>2]=d+1;d=w[d|0];break h}d=Hc(c,1);if((d|0)==-1){break a}}v[e+8>>2]=d&255}d=v[c+8>>2];if(d&7){break a}f=v[c+64>>2];if((f|0)>=0&(f|0)<=v[c+60>>2]){break b}d=v[c+28>>2];v[c+28>>2]=d-1;i:{if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;d=v[c+24>>2];v[c+24>>2]=d+1;d=w[d|0];break i}d=Hc(c,1);if((d|0)==-1){break a}}t[e|0]=d;if(w[e+1|0]>w[e+2|0]|y[e+4>>2]>y[e+8>>2]){break a}e=e+16|0;g=g+1|0;if((g|0)>2]){continue}break}return 0}v[c+8>>2]=d|4}a=v[a+16>>2];if(a){dc(a)}return-1}function zab(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,v=0,y=0,z=0;if(e){y=e-1|0;z=e-2|0;v=(e|0)==1;while(1){a=f;u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];f=a+6|0;g=g+6|0;a:{if(!v&n>>>0>=y>>>0){break a}j=n?(n|0)==(z|0)?d:b:c;k=!n&v;if(!k){l=1;if(j>>>0<=1){break a}o=a+4|0;p=a+2|0;k=k?0:f;q=k+4|0;r=k+2|0;s=j<<1;while(1){i=x[a>>1];b:{if((i|0)==x[k>>1]){u[g>>1]=i;break b}i=w[a|0]|w[a+1|0]<<8;h=i;m=(h<<8|h>>>8)&65535;h=w[k|0]|w[k+1|0]<<8;i=m+((j+(B(((h<<8|h>>>8)&65535)-((i<<8|i>>>8)&65535)|0,l)<<1)|0)/(s|0)|0)&65535;i=i<<8|i>>>8;t[g|0]=i;t[g+1|0]=i>>>8}i=g+2|0;h=x[p>>1];c:{if((h|0)==x[r>>1]){u[i>>1]=h;break c}h=w[p|0]|w[p+1|0]<<8;m=w[r|0]|w[r+1|0]<<8;h=((h<<8|h>>>8)&65535)+((j+(B(((m<<8|m>>>8)&65535)-((h<<8|h>>>8)&65535)|0,l)<<1)|0)/(s|0)|0)&65535;h=h<<8|h>>>8;t[i|0]=h;t[i+1|0]=h>>>8}i=g+4|0;h=x[o>>1];d:{if((h|0)==x[q>>1]){u[i>>1]=h;break d}h=w[o|0]|w[o+1|0]<<8;m=w[q|0]|w[q+1|0]<<8;h=((h<<8|h>>>8)&65535)+((j+(B(((m<<8|m>>>8)&65535)-((h<<8|h>>>8)&65535)|0,l)<<1)|0)/(s|0)|0)&65535;h=h<<8|h>>>8;t[i|0]=h;t[i+1|0]=h>>>8}g=g+6|0;l=l+1|0;if((j|0)!=(l|0)){continue}break}break a}if(j>>>0<2){break a}k=j-1|0;l=k&3;if(j-2>>>0>=3){j=k&-4;while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];u[g+6>>1]=x[a>>1];u[g+8>>1]=x[a+2>>1];u[g+10>>1]=x[a+4>>1];u[g+12>>1]=x[a>>1];u[g+14>>1]=x[a+2>>1];u[g+16>>1]=x[a+4>>1];u[g+18>>1]=x[a>>1];u[g+20>>1]=x[a+2>>1];u[g+22>>1]=x[a+4>>1];g=g+24|0;j=j-4|0;if(j){continue}break}}if(!l){break a}while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];g=g+6|0;l=l-1|0;if(l){continue}break}}n=n+1|0;if((n|0)!=(e|0)){continue}break}}return 0}function pHa(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;d=Qb-32|0;Qb=d;cs(d,888832,b);v[299999]=0;b=Q(2725,d|0,888840)|0;g=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{g:{if((g|0)!=1){v[d+24>>2]=v[b+8>>2];g=v[b+4>>2];v[d+16>>2]=v[b>>2];v[d+20>>2]=g;v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;v[299999]=0;b=w[d+27|0];g=b<<24>>24<0;Y(2653,a|0,(g?v[d+16>>2]:d+16|0)|0,(g?v[d+20>>2]:b)|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break g}if(t[d+27|0]<=-1){dc(v[d+16>>2])}if(t[d+11|0]<=-1){dc(v[d>>2])}t[d+27|0]=1;v[299999]=0;tc(d+16|0,888848,1);b=v[299999];v[299999]=0;if((b|0)==1){break a}v[d+20>>2]=0;v[299999]=0;b=t[d+27|0];g=(b|0)<0;Y(2653,a|0,(g?v[d+16>>2]:d+16|0)|0,(g?0:b)&255)|0;b=v[299999];v[299999]=0;if((b|0)==1){break e}if(t[d+27|0]<=-1){dc(v[d+16>>2])}b=w[e+11|0];g=b<<24>>24<0;et(a,g?v[e>>2]:e,g?v[e+4>>2]:b);b=d+16|0;OB(b,c);v[299999]=0;e=b;b=w[d+27|0];c=b<<24>>24<0;Y(2653,a|0,(c?v[d+16>>2]:e)|0,(c?v[d+20>>2]:b)|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){if(t[d+27|0]<=-1){dc(v[d+16>>2])}b=w[f+11|0];c=b<<24>>24<0;et(a,c?v[f>>2]:f,c?v[f+4>>2]:b);t[d+27|0]=1;v[299999]=0;tc(d+16|0,888848,1);b=v[299999];v[299999]=0;if((b|0)==1){break a}v[d+20>>2]=0;v[299999]=0;c=a;a=t[d+27|0];b=(a|0)<0;Y(2653,c|0,(b?v[d+16>>2]:d+16|0)|0,(b?0:a)&255)|0;a=v[299999];v[299999]=0;if((a|0)==1){break d}if(t[d+27|0]<=-1){dc(v[d+16>>2])}Qb=d+32|0;return}a=P()|0;O()|0;if(t[d+27|0]>-1){break c}break b}a=P()|0;O()|0;break f}a=P()|0;O()|0;if(t[d+27|0]>-1){break f}dc(v[d+16>>2])}if(t[d+11|0]>-1){break c}dc(v[d>>2]);T(a|0);L()}a=P()|0;O()|0;if(t[d+27|0]>-1){break c}break b}a=P()|0;O()|0;if(t[d+27|0]>-1){break c}dc(v[d+16>>2])}T(a|0);L()}dc(v[d+16>>2]);T(a|0);L()}W(0)|0;O()|0;lc();L()}function j0(a,b){var 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=Qb-32|0;Qb=c;a:{if(!a|((a?v[a+8>>2]:-1)|0)!=2){break a}f=a?v[a+36>>2]:0;if(!(b|!f)){d=Vj(a,1);break a}h=c+28|0;i=c+24|0;if(a){if(h){v[h>>2]=v[a>>2]}if(i){v[i>>2]=v[a+4>>2]}}e=Ug(v[c+28>>2],v[c+24>>2],8);if(!e){break a}if(!(!a|!e|(a|0)==(e|0))){v[e+20>>2]=v[a+20>>2];v[e+24>>2]=v[a+24>>2]}n=a?v[a+40>>2]:0;o=a?v[a+12>>2]:-1;h=e?v[e+40>>2]:0;i=e?v[e+12>>2]:-1;b:{if((b|0)==1){d=X$();c:{if(f){b=f?v[f+12>>2]:0;if((b|0)<1){break c}a=0;while(1){Jo(f,a,c+20|0,c+16|0,c+12|0);Tg(d,v[c+20>>2],v[c+16>>2],v[c+12>>2]);a=a+1|0;if((b|0)!=(a|0)){continue}break}break c}Tg(d,0,0,0);Tg(d,85,85,85);Tg(d,170,170,170);Tg(d,255,255,255)}AI(e,d);a=v[c+24>>2];if((a|0)<1){break b}b=v[c+28>>2];if((b|0)<1){break b}d=0;while(1){if((b|0)>=1){k=(B(d,i)<<2)+h|0;f=(B(d,o)<<2)+n|0;a=0;while(1){t[a+k^3]=v[f+(a>>>2&1073741820)>>2]>>>((a<<1^-1)&30)&3;a=a+1|0;b=v[c+28>>2];if((a|0)<(b|0)){continue}break}a=v[c+24>>2]}d=d+1|0;if((d|0)<(a|0)){continue}break}break b}g=bd(256,4);if(!g){break a}t[c+23|0]=255;t[c+22|0]=170;t[c+21|0]=85;t[c+20|0]=0;a=0;while(1){b=c+20|0;v[g+(a<<2)>>2]=w[b+(a&3)|0]|(w[b+(a>>>4&3)|0]<<16|w[b+(a>>>6|0)|0]<<24|w[b+(a>>>2&3)|0]<<8);a=a+1|0;if((a|0)!=256){continue}break}d:{if(v[c+24>>2]<1){break d}d=v[c+28>>2];if((d|0)<1){break d}a=(d+3|0)/4|0;a=(a|0)>1?a:1;b=a&2147483646;p=a&1;k=(d|0)<5;while(1){l=(B(i,j)<<2)+h|0;m=(B(j,o)<<2)+n|0;a=0;d=b;if(!k){while(1){v[l+(a<<2)>>2]=v[g+(w[a+m^3]<<2)>>2];f=a|1;v[l+(f<<2)>>2]=v[g+(w[f+m^3]<<2)>>2];a=a+2|0;d=d-2|0;if(d){continue}break}}if(p){v[l+(a<<2)>>2]=v[g+(w[a+m^3]<<2)>>2]}j=j+1|0;if((j|0)>2]){continue}break}}dc(g)}d=e}Qb=c+32|0;return d}function Zy(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=Qb-16|0;Qb=g;a:{b:{d=v[a+372>>2];if(d){v[a+372>>2]=v[d+24>>2];v[a+368>>2]=v[a+368>>2]-1;break b}d=Ub[v[259704]](60)|0;if(d){break b}if(!(!v[a+212>>2]|v[a+172>>2]!=-1)){d=0;break a}v[a+212>>2]=1;v[a+172>>2]=-1;v[a+84>>2]=2;v[g>>2]=235144;oc(0,0,0,a,0,1,2,3,235144,0,0,0,350051,g);d=0;break a}v[d>>2]=0;v[d+4>>2]=0;v[d+56>>2]=0;v[d+48>>2]=0;v[d+52>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=0;v[d+36>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;c:{d:{e:{if(!v[a+364>>2]){break e}f=b+c|0;e=w[f|0];f:{g:{if((c|0)>7){break g}if(t[a+362|0]&1){e=d+44|0;j=gc(e,b,c)+c|0,k=0,t[j|0]=k;v[d+8>>2]=883676;v[d+4>>2]=3;break c}if((c|0)>3){break g}h:{switch(e-34|0){case 26:break h;case 0:case 5:break f;default:break g}}if(w[f+1|0]!=33){break f}}h=w[b|0];i=h-9|0;i:{if(!(1<>>0<=23:0)){if((h|0)!=13|(c|0)>59){break e}if((e|0)==60){break i}break e}if((e|0)!=60|(c|0)>59){break e}}e=1;if(w[f+1|0]==33){break e}if((c|0)<2){break f}while(1){f=w[b+e|0]-9|0;if(f>>>0>23|!(1<>2],b,c);v[d+8>>2]=883676;v[d+4>>2]=3;if(e){break c}break d}v[d+8>>2]=883676;v[d+4>>2]=3}j:{if(!(!b|(c|0)<0)){e=Ub[v[259707]](c+1|0)|0;if(e){break j}oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0)}v[d+40>>2]=0;Jj(a,284404);Ub[v[259708]](d);d=0;break a}j=gc(e,b,c)+c|0,k=0,t[j|0]=k}v[d+40>>2]=e;k:{if(!v[a+280>>2]){break k}b=v[a+36>>2];if(!b){break k}b=v[b+28>>2];if((b|0)<=65534){u[d+56>>1]=b;break k}u[d+56>>1]=65535;if(!(w[a+362|0]&64)){break k}v[d+52>>2]=b}l:{if(!v[294265]){break l}a=v[294262];if(!a){break l}Ub[a|0](d)}}Qb=g+16|0;return d}function Uw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=Qb-80|0;Qb=d;e=d+72|0;Bi(e,b,0);v[299999]=0;V(5403,d+32|0,e|0);b=v[299999];v[299999]=0;a:{b:{c:{if((b|0)!=1){b=v[d+32>>2];if(b){c=v[b+8>>2]}ec(d+32|0);b=v[d+72>>2];e=v[(b?b+12|0:1129608)>>2];b=e+c|0;c=b+1|0;if(w[b+1|0]==47){break c}b=c;break b}c=P()|0;O()|0;break a}c=(c+1|0)+(w[c+1|0]==47)|0;b=c;while(1){d:{e:{f:{g:{f=w[c|0];switch(f-35|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:break d;case 12:break e;case 0:case 28:break f;default:break g}}if(f){break d}}b=w[b|0]==47?b:c;break b}f=w[c+1|0];if(!f){break d}b=(f|0)==35?b:(f|0)==63?b:c}c=c+1|0;continue}}v[299999]=0;b=Y(4605,d+8|0,e|0,b-e|0)|0;e=v[299999];v[299999]=0;h:{i:{j:{k:{l:{m:{n:{if((e|0)!=1){v[299999]=0;U(4546,d+16|0,b|0,335628);e=v[299999];v[299999]=0;if((e|0)==1){break n}v[299999]=0;U(4546,d+24|0,d+16|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break m}v[299999]=0;e=Q(5423,d+32|0,d+24|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break l}v[299999]=0;v[d+32>>2]=999812;Q(4342,a|0,e|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break k}v[d+56>>2]=981312;v[d+32>>2]=981280;a=v[d+60>>2];if(a){c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(!c){Ub[v[v[a>>2]+4>>2]](a)}v[d+60>>2]=0}v[d+48>>2]=981312;a=v[d+52>>2];if(a){c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(!c){Ub[v[v[a>>2]+4>>2]](a)}v[d+52>>2]=0}ec(d+40|0);ec(d+24|0);ec(d+16|0);ec(b);ec(d+72|0);Qb=d+80|0;return}c=P()|0;O()|0;break a}c=P()|0;O()|0;break h}c=P()|0;O()|0;break i}c=P()|0;O()|0;break j}c=P()|0;O()|0;$c(e)}ec(d+24|0)}ec(d+16|0)}ec(b)}ec(d+72|0);T(c|0);L()}function bPa(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;d=Qb-32|0;Qb=d;a:{if(t[a+23|0]>=0){v[d+24>>2]=v[a+20>>2];e=v[a+16>>2];v[d+16>>2]=v[a+12>>2];v[d+20>>2]=e;break a}Ke(d+16|0,v[a+12>>2],v[a+16>>2])}e=w[b+11|0];f=e<<24>>24<0;b:{c:{d:{e:{h=f?v[b+4>>2]:e;if(!h){break e}g=w[d+27|0];e=g<<24>>24<0;g=e?v[d+20>>2]:g;if((h|0)>(g|0)){break e}e=e?v[d+16>>2]:d+16|0;i=e+(g<<2)|0;j=f?v[b>>2]:b;l=v[j>>2];f=e;while(1){g=g-h|0;k=g+1|0;if(k>>>0>>0){break e}f=sf(f,l,k);if(!f){break e}if(od(f,j,h)){f=f+4|0;g=i-f>>2;if((h|0)<=(g|0)){continue}break e}break}if((f|0)==(i|0)|(e|0)!=(f|0)){break e}c=v[b+4>>2];b=w[b+11|0];v[299999]=0;e=d+16|0;ca(2654,d|0,e|0,(b<<24>>24<0?c:b)|0,-1,e|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){if(t[d+27|0]<=-1){dc(v[d+16>>2])}v[d+24>>2]=v[d+8>>2];b=v[d+4>>2];v[d+16>>2]=v[d>>2];v[d+20>>2]=b;break d}a=P()|0;O()|0;break b}if(!c){break d}v[299999]=0;V(2655,d|0,d+16|0);b=v[299999];v[299999]=0;if((b|0)==1){break c}if(t[d+27|0]<=-1){dc(v[d+16>>2])}v[d+24>>2]=v[d+8>>2];b=v[d+4>>2];v[d+16>>2]=v[d>>2];v[d+20>>2]=b}v[d>>2]=0;v[d+4>>2]=0;b=t[a+11|0];c=v[a>>2];e=v[a+4>>2];v[299999]=0;f=a;a=(b|0)<0;U(2657,(a?c:f)|0,(a?e:b&255)|0,d|0);a=v[299999];v[299999]=0;f:{if((a|0)!=1){a=v[d+4>>2];b=v[d>>2];if(b){dc(b)}v[299999]=0;v[d>>2]=0;v[d+4>>2]=0;b=t[d+27|0];c=(b|0)<0;U(2657,(c?v[d+16>>2]:d+16|0)|0,(c?v[d+20>>2]:b&255)|0,d|0);b=v[299999];v[299999]=0;if((b|0)==1){break f}b=v[d+4>>2];c=v[d>>2];if(c){dc(c)}if(t[d+27|0]<=-1){dc(v[d+16>>2])}Qb=d+32|0;return(a+b<<1)+86|0}a=P()|0;O()|0;b=v[d>>2];if(!b){break b}dc(b);break b}a=P()|0;O()|0;b=v[d>>2];if(!b){break b}dc(b);break b}a=P()|0;O()|0}if(t[d+27|0]<=-1){dc(v[d+16>>2])}T(a|0);L()}function r$a(a,b){a=a|0;b=b|0;var 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;if(y[b+160>>2]>>0){Sd(b,8)}e=w[a+3|0]|w[a+2|0]<<8;if(y[b+160>>2]>>0){if(v[b+164>>2]>=1){Sd(b,8)}e=v[b+160>>2]-a|0}if(e>>>0<=15){Sd(b,8)}c=w[a+7|0];k=c|w[a+6|0]<<8;if(!(!(c&1)|v[b+164>>2]<2)){Sd(b,8)}h=k&65534;if((h<<2)+16>>>0>e>>>0){Sd(b,8)}d=k>>>1|0;a:{if(v[b+164>>2]<2){break a}l=w[a+12|0];i=w[a+10|0];f=w[a+11|0];c=w[a+9|0];p=c|w[a+8|0]<<8;g=c;c=w[a+13|0];if((g|c)&1){Sd(b,8)}g=p>>>1|0;if(!(g>>>0>d>>>0|d>>>0>(p&65534)>>>0|(d|0)!=(g+((c|l<<8)>>>1|0)|0))){if((g|0)==1<<(f|i<<8)){break a}}Sd(b,8)}m=a+14|0;b:{if(v[b+164>>2]<2){break b}c=(h+m|0)-2|0;if((w[c|0]<<8|w[c+1|0])==65535){break b}Sd(b,8)}if(k>>>0>=2){n=(a+h|0)+16|0;o=h+n|0;j=h+o|0;r=h+j|0;h=a+e|0;s=d-1|0;k=d>>>0>1?d:1;f=0;c=0;d=0;while(1){a=c;e=f;p=w[j|0]<<8;g=w[j+1|0];l=w[o|0];i=w[o+1|0];c=w[n+1|0]|w[n|0]<<8;f=w[m+1|0]|w[m|0]<<8;if(c>>>0>f>>>0){Sd(b,8)}g=g|p;c:{if(!d|c>>>0>e>>>0){break c}if(v[b+164>>2]>=1){Sd(b,8);break c}if(!(a>>>0<=c>>>0&f>>>0>=e>>>0)){q=q|1;break c}q=q|2}d:{if(!g){break d}if((g|0)!=65535){a=g+j|0;e:{f:{if(v[b+164>>2]>=1){if(a>>>0>>0|h>>>0<((f-c<<1)+a|0)+2>>>0){break f}break e}if(!((d|0)!=(s|0)|(c|0)!=65535)&(f|0)==65535){break e}if(a>>>0>>0){break f}if(y[b+160>>2]>=((f-c<<1)+a|0)+2>>>0){break e}}Sd(b,8)}if(v[b+164>>2]<1|c>>>0>=f>>>0){break d}l=i|l<<8;e=c;while(1){i=w[a+1|0]|w[a|0]<<8;if(!(!i|y[b+172>>2]>(l+i&65535)>>>0)){Sd(b,16)}a=a+2|0;e=e+1|0;if((e|0)!=(f|0)){continue}break}break d}if(!((d|0)!=(s|0)|v[b+164>>2]>1|(c|0)!=65535)){if((f|0)==65535){break d}}Sd(b,8)}j=j+2|0;o=o+2|0;m=m+2|0;n=n+2|0;d=d+1|0;if((k|0)!=(d|0)){continue}break}}return q|0}function qpa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=Qb-16|0;Qb=f;a:{b:{c:{d:{if((c|0)<1){break d}c=c-1|0;if(!d){while(1){d=c;Vn(a,b);v[a+24>>2]=0;v[a+28>>2]=v[282402];c=a+24|0;e=v[b+24>>2];e:{if(e){g=v[v[e>>2]+28>>2];v[299999]=0;U(g|0,f+8|0,e|0,1);e=v[299999];v[299999]=0;if((e|0)!=1){break e}b=P()|0;O()|0;break b}v[f+8>>2]=0}v[299999]=0;Q(4344,c|0,f+8|0)|0;e=v[299999];v[299999]=0;if((e|0)!=1){c=v[f+8>>2];v[f+8>>2]=0;f:{if(!c){break f}v[299999]=0;e=v[c+4>>2]-1|0;v[c+4>>2]=e;g=v[299999];v[299999]=0;if((g|0)==1){break a}if(e){break f}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}c=v[a+24>>2];v[a+28>>2]=v[(c?c+12|0:1129608)>>2];c=d-1|0;b=b+32|0;a=a+32|0;if((d|0)>0){continue}break d}break}break c}while(1){d=c;Vn(a,b);v[a+24>>2]=0;v[a+28>>2]=v[282402];c=a+24|0;e=v[b+24>>2];g:{if(e){g=v[v[e>>2]+28>>2];v[299999]=0;U(g|0,f+8|0,e|0,1);e=v[299999];v[299999]=0;if((e|0)!=1){break g}b=P()|0;O()|0;break b}v[f+8>>2]=0}v[299999]=0;Q(4344,c|0,f+8|0)|0;e=v[299999];v[299999]=0;h:{if((e|0)!=1){c=v[f+8>>2];v[f+8>>2]=0;if(!c){break h}v[299999]=0;e=v[c+4>>2]-1|0;v[c+4>>2]=e;g=v[299999];v[299999]=0;if((g|0)==1){break a}if(e){break h}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)!=1){break h}break a}break c}c=v[a+24>>2];v[a+28>>2]=v[(c?c+12|0:1129608)>>2];ec(b+24|0);ec(b+16|0);c=d-1|0;b=b+32|0;a=a+32|0;if((d|0)>0){continue}break}}Qb=f+16|0;return}b=P()|0;O()|0;d=v[f+8>>2];v[f+8>>2]=0;if(!d){break b}v[299999]=0;f=v[d+4>>2]-1|0;v[d+4>>2]=f;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(f){break b}v[299999]=0;R(4338,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break a}}ec(c);ec(a+16|0);T(b|0);L()}W(0)|0;O()|0;lc();L()}function KFa(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,p=0,q=0,r=0,s=0,t=0,u=0,x=0,y=0;m=Qb+-64|0;d=a;while(1){a:{e=d;d=v[(i<<2)+b>>2]+c|0;f=w[d+4|0];g=w[d+5|0];r=f-g|0;l=w[d|0];n=w[d+9|0];h=l-n|0;s=r+h|0;o=w[d+2|0];t=w[d+7|0];u=o-t|0;p=w[d+1|0];q=w[d+8|0];j=p-q|0;x=w[d+3|0];y=w[d+6|0];d=x-y|0;k=j-d|0;v[e+20>>2]=s-(u+k|0)<<1;f=f+g|0;g=l+n|0;l=f+g|0;x=x+y|0;p=p+q|0;q=x+p|0;o=o+t|0;v[e>>2]=(l+(q+o|0)<<1)-2560;n=o<<1;v[e+16>>2]=(B(q-n|0,-3580)+B(l-n|0,9373)|0)+2048>>12;g=g-f|0;l=p-x|0;f=B(g+l|0,6810)+2048|0;v[e+24>>2]=f+B(l,-17828)>>12;v[e+8>>2]=f+B(g,4209)>>12;f=(B(h-r|0,7791)+B(d+j|0,-4815)|0)+2048|0;g=u<<13;k=((k<<12)-g|0)+B(k+s|0,2531)|0;v[e+28>>2]=f-k>>12;v[e+12>>2]=f+k>>12;v[e+4>>2]=(((g+(B(h,11443)+B(j,10323)|0)|0)+B(d,5260)|0)+B(r,1812)|0)+2048>>12;h=i-7|0;i=i+1|0;r=7;d=m;b:{switch(h|0){case 0:continue;case 2:break a;default:break b}}d=e+32|0;continue}break}while(1){m=v[a+192>>2];i=v[a+96>>2];b=m+i|0;e=v[d>>2];h=v[a+32>>2];c=e+h|0;j=b+c|0;k=v[a+224>>2];f=v[a+64>>2];g=k+f|0;l=g<<1;n=v[a+160>>2];s=v[a+128>>2];o=n+s|0;t=v[d+32>>2];u=v[a>>2];p=t+u|0;q=o+p|0;v[a+128>>2]=(B(j-l|0,-4582)+B(q-l|0,11997)|0)+16384>>15;v[a>>2]=B(q+(g+j|0)|0,10486)+16384>>15;j=p-o|0;c=c-b|0;b=B(j+c|0,8716)+16384|0;v[a+192>>2]=b+B(c,-22820)>>15;v[a+64>>2]=b+B(j,5387)>>15;b=s-n|0;c=u-t|0;j=b+c|0;e=h-e|0;m=i-m|0;i=e-m|0;h=f-k|0;v[a+160>>2]=B(j-(i+h|0)|0,10486)+16384>>15;k=(B(c-b|0,9973)+B(e+m|0,-6163)|0)+16384|0;h=B(h,10486);i=(B(i,5243)-h|0)+B(i+j|0,3240)|0;v[a+224>>2]=k-i>>15;v[a+96>>2]=i+k>>15;v[a+32>>2]=(((h+(B(c,14647)+B(e,13213)|0)|0)+B(m,6732)|0)+B(b,2320)|0)+16384>>15;b=r;r=b-1|0;d=d+4|0;a=a+4|0;if(b){continue}break}}function Wfa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=Qb-48|0;Qb=e;a:{b:{if(v[a+36>>2]){a=vc(e+24|0,328950,242096,1569,338519,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}c=P()|0;O()|0;qc(a);break b}v[e+16>>2]=0;v[299999]=0;v[e+20>>2]=v[282402];Z(4504,b|0,e+16|0,0,0)|0;d=v[299999];v[299999]=0;c:{d:{e:{f:{if((d|0)==1){break f}v[299999]=0;d=Nc(e+16|0,326052,-1);f=v[299999];v[299999]=0;if((f|0)==1){break f}if(d){break d}g:{while(1){if((c|0)<1){break g}v[299999]=0;d=Z(4504,b|0,e+16|0,0,0)|0;f=v[299999];v[299999]=0;h:{if((f|0)==1){break h}if(!d){break g}v[299999]=0;d=Nc(e+16|0,326057,-1);f=v[299999];v[299999]=0;if((f|0)==1){break h}i:{if(d){break i}v[299999]=0;v[e+8>>2]=0;Q(4336,e+8|0,b|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break h}d=v[v[a>>2]+40>>2];v[299999]=0;Q(d|0,a|0,e+8|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){d=v[e+8>>2];v[e+8>>2]=0;if(!d){break i}v[299999]=0;f=v[d+4>>2]-1|0;v[d+4>>2]=f;g=v[299999];v[299999]=0;if((g|0)!=1){if(f){break i}v[299999]=0;R(4338,d|0);d=v[299999];v[299999]=0;if((d|0)!=1){break i}}W(0)|0;O()|0;lc();L()}c=P()|0;O()|0;ec(e+8|0);break c}c=c-1|0;v[299999]=0;R(4601,b|0);d=v[299999];v[299999]=0;if((d|0)!=1){continue}}break}c=P()|0;O()|0;break c}v[299999]=0;R(4601,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break f}b=v[v[a>>2]+48>>2];v[299999]=0;R(b|0,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break e}}c=P()|0;O()|0;break c}ec(e+16|0);Qb=e+48|0;return}v[299999]=0;a=aa(4369,e+24|0,326028,242096,1573,338519,0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}c=P()|0;O()|0;qc(a);break c}c=P()|0;O()|0}ec(e+16|0)}T(c|0)}L()}function FJ(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,p=0,q=0;a:{e=v[a+4>>2];if(!e|!e){break a}l=v[a+44>>2];if(!l){break a}b:{c:{if(!l){break c}m=e+40|0;g=b>>>0>=l>>>0;if(!g){h=m+(b<<2)|0;i=w[h|0];k=w[h+3|0];n=w[h+1|0];h=w[h+2|0]}if(c>>>0>>0){d=m+(c<<2)|0;o=w[d|0];j=w[d+3|0];f=w[d+2|0];d=w[d+1|0]}if(g){break c}g=m+(b<<2)|0;t[g|0]=o;t[g+1|0]=d;t[g+2|0]=f;t[g+3|0]=j;t[a+481|0]=0;e=v[a+4>>2];if(!e){break b}}d=v[a+44>>2];if(!d|c>>>0>=d>>>0){break b}d=(e+40|0)+(c<<2)|0;t[d|0]=i;t[d+1|0]=n;t[d+2|0]=h;t[d+3|0]=k;t[a+481|0]=0}k=v[a+20>>2];if((k|0)<1){break a}d=v[a+16>>2];if((d|0)<1){break a}l=b&15;m=b&1;o=c&15;g=c&1;i=0;while(1){e=0;if((d|0)>0){while(1){d:{e:{f:{g:{f=x[a+26>>1];if((f|0)!=8){j=v[a+56>>2];n=B(v[a+52>>2],i);h=B(e,f)>>>3|0;k=w[j+(n+h|0)|0];d=0;h:{i:{j:{f=f-1|0;switch(f|0){case 0:break i;case 3:break j;default:break h}}d=B(e&1,252)+4&252;d=(k&15<>>d|0;break h}d=(e^-1)&7;d=(k&1<>>d|0}if((b|0)!=(d|0)){break d}j=h+(j+n|0)|0;d=b;switch(f|0){case 0:break f;case 3:break g;default:break d}}f=v[a+56>>2]+(B(v[a+52>>2],i)+e|0)|0;d=w[f|0];if((d|0)!=(b|0)){break d}t[f|0]=c;break e}d=B(e&1,252)+4&252;t[j|0]=w[j|0]&(15<>1];if((d|0)==8){t[v[a+56>>2]+(B(v[a+52>>2],i)+e|0)|0]=b;break k}f=v[a+56>>2]+B(v[a+52>>2],i)+(B(d,e)>>>3)|0;l:{switch(d-1|0){case 3:d=B(e&1,252)+4&252;t[f|0]=w[f|0]&(15<>2];e=e+1|0;if((d|0)>(e|0)){continue}break}k=v[a+20>>2]}i=i+1|0;if((k|0)>(i|0)){continue}break}}}function ZPa(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,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,z=0,A=0,C=0,D=0;x=Qb-192|0;Qb=x;h=v[a+332>>2];b=v[b+84>>2];a=x;while(1){k=v[b+64>>2];i=u[c+32>>1];g=B(u[c>>1],v[b>>2])<<13|1024;j=B(v[b+128>>2],u[c+64>>1]);r=g+B(j,-11586)>>11;f=B(v[b+32>>2],u[c+16>>1]);n=B(v[b+96>>2],u[c+48>>1]);l=B(v[b+160>>2],u[c+80>>1]);o=f-(n+l|0)<<2;v[a+128>>2]=r-o;v[a+32>>2]=o+r;k=B(B(i,k),10033);i=g+B(j,5793)|0;j=k+i|0;g=f+n<<13;f=B(f+l|0,2998);g=g+f|0;v[a+160>>2]=j-g>>11;v[a>>2]=g+j>>11;k=i-k|0;f=f+(l-n<<13)|0;v[a+96>>2]=k-f>>11;v[a+64>>2]=f+k>>11;a=a+4|0;b=b+4|0;c=c+2|0;p=p+1|0;if((p|0)!=8){continue}break}b=h+128|0;n=0;a=x;while(1){l=v[a+4>>2];h=v[a+20>>2];i=l+h|0;f=v[a+28>>2];k=B(i+f|0,7053);c=v[(n<<2)+d>>2]+e|0;o=k+B(i,2139)|0;j=v[a+12>>2];r=B(j,10703);p=o+(r+B(l,2295)|0)|0;m=v[a+24>>2];s=m<<13;g=v[a+8>>2];y=s+B(g,11190)|0;z=B(v[a+16>>2],10033);i=(v[a>>2]<<13)+131072|0;A=z+i|0;q=y+A|0;t[c|0]=w[b+(p+q>>>18&1023)|0];t[c+11|0]=w[b+(q-p>>>18&1023)|0];p=g-m<<13;m=p+i|0;q=l-f|0;C=j-h|0;D=B(q+C|0,4433);q=D+B(q,6270)|0;t[c+1|0]=w[b+(m+q>>>18&1023)|0];t[c+10|0]=w[b+(m-q>>>18&1023)|0];j=B(j,-4433);m=j+B(h,-12112)|0;h=B(f+h|0,-8565);o=(m+h|0)+o|0;g=B(g,2998)-s|0;m=i-z|0;s=g+m|0;t[c+2|0]=w[b+(o+s>>>18&1023)|0];t[c+9|0]=w[b+(s-o>>>18&1023)|0];h=h+(k+(B(f,12998)-r|0)|0)|0;g=m-g|0;t[c+3|0]=w[b+(h+g>>>18&1023)|0];t[c+8|0]=w[b+(g-h>>>18&1023)|0];h=B(C,-15137)+D|0;i=i-p|0;t[c+4|0]=w[b+(h+i>>>18&1023)|0];t[c+7|0]=w[b+(i-h>>>18&1023)|0];f=k+((j+B(l,-5540)|0)+B(f,-16244)|0)|0;l=A-y|0;t[c+5|0]=w[b+(f+l>>>18&1023)|0];t[c+6|0]=w[b+(l-f>>>18&1023)|0];a=a+32|0;n=n+1|0;if((n|0)!=6){continue}break}Qb=x+192|0}function ZV(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=Qb-32|0;Qb=l;a:{b:{c:{d:{g=v[a+8>>2];k=v[a+12>>2];if((g|0)==(k|0)){break d}e=w[b+11|0];f=e<<24>>24<0;j=f?v[b>>2]:b;i=f?v[b+4>>2]:e;if(!i){while(1){h=w[g+11|0];e=h<<24>>24;e:{if((e|0)<0?v[g+4>>2]:h){break e}if((e|0)<1){break d}if(w[j|0]!=w[g|0]){break e}f=g;e=j;while(1){h=h-1|0;if(!h){break d}i=w[e+1|0];e=e+1|0;f=f+1|0;if((i|0)==w[f|0]){continue}break}}g=g+20|0;if((k|0)!=(g|0)){continue}break c}}while(1){h=w[g+11|0];f=h<<24>>24;e=(f|0)<0;f:{if((i|0)!=((e?v[g+4>>2]:h)|0)){break f}m=v[g>>2];if(!e){if(!f){break d}f=g;e=j;if(w[e|0]!=(m&255)){break f}while(1){h=h-1|0;if(!h){break d}m=w[e+1|0];e=e+1|0;f=f+1|0;if((m|0)==w[f|0]){continue}break}break f}if(!Pc(m,j,i)){break d}}g=g+20|0;if((k|0)!=(g|0)){continue}break}break c}if((g|0)!=(k|0)){break b}}v[c>>2]=0;v[d>>2]=0;break a}e=v[g+16>>2];if(e){v[c>>2]=v[g+12>>2];v[d>>2]=e;break a}j=fc(24);v[j>>2]=v[a>>2];v[j+4>>2]=v[a+4>>2];iG(l,j);e=TV(l);v[c>>2]=0;v[d>>2]=0;k=t[b+11|0]<0?v[b>>2]:b;h=Qb-80|0;Qb=h;if(c){g:{v[c>>2]=0;while(1){b=0;a=Qb-352|0;Qb=a;h:{i:{if(!$u(e,a+16|0,a+96|0,256,0,0,0,0)){f=Bc(a+96|0);if(f>>>0>=4294967280){break i}j:{k:{if(f>>>0>=11){i=f+16&-16;b=fc(i);v[a+8>>2]=i|-2147483648;v[a>>2]=b;v[a+4>>2]=f;break k}t[a+11|0]=f;b=a;if(!f){break j}}gc(b,a+96|0,f)}t[b+f|0]=0;b=v[a>>2];f=t[a+11|0];i=mc(k,(f|0)<0?b:a);if((f|0)<=-1){dc(b)}b=!i}Qb=a+352|0;break h}$d(a);L()}if(b){$u(e,h,0,0,0,0,0,0);a=v[h+28>>2];b=v[d>>2];a=b?a>>>0>>0?a:b:a;v[d>>2]=a;b=fc(a);v[c>>2]=b;if(!RV(e,0)){QV(e,b,a);SV(e)}break g}if(!kG(e)){continue}break}}}Qb=h+80|0;lG(e);v[g+16>>2]=v[d>>2];v[g+12>>2]=v[c>>2];dc(j)}Qb=l+32|0}function Eh(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{if(v[c+8>>2]==-1){break a}f=c+8|0;j=b;b:{while(1){g=(e<<4)+c|0;h=v[g+4>>2];if(h>>>0>i>>>0){b=v[a+8>>2];while(1){k=d<<1;l=a;c:{if(b){d=v[a+4>>2];b=b-1|0;break c}b=v[a>>2];d=Ub[v[v[b>>2]+28>>2]](b)|0;v[a+4>>2]=d;v[a+12>>2]=v[a+12>>2]+1;h=v[g+4>>2];b=7}v[l+8>>2]=b;d=d>>>b&1|k;i=i+1|0;if(h>>>0>i>>>0){continue}break}}d:{if(v[g+12>>2]==(d|0)){c=(e<<4)+c|0;e:{f:{b=v[f>>2];switch(b+3|0){case 1:break a;case 0:break f;case 3:break d;default:break e}}d=v[a+4>>2];f=v[c>>2];c=v[a+8>>2];if(c>>>0>=32){b=a;a=c-32|0;v[b+8>>2]=a;a=f-(d>>>a|0)|0;break b}v[a+8>>2]=0;b=32-c|0;d=d&(-1<>>0<=24){e=24-c|0;if(!(e&8)){b=v[a>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;v[a+12>>2]=v[a+12>>2]+1;d=b&255|d<<8;b=24-c|0}if(e>>>0>=8){while(1){c=v[a>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;v[a+12>>2]=v[a+12>>2]+1;e=v[a>>2];e=Ub[v[v[e>>2]+28>>2]](e)|0;v[a+12>>2]=v[a+12>>2]+1;d=e&255|(c<<8&65280|d<<16);b=b-16|0;if(b>>>0>7){continue}break}}if(!b){break g}}c=v[a>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;v[a+4>>2]=c;e=8-b|0;v[a+8>>2]=e;v[a+12>>2]=v[a+12>>2]+1;d=(-1<>>e|d<>2];c=v[a+8>>2];if(c>>>0>=b>>>0){c=c-b|0;v[a+8>>2]=c;a=f+(v[a+4>>2]>>>c&((b|0)==32?-1:-1<>2]=0;d=v[a+4>>2]&(-1<>>0>=8){while(1){c=v[a>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;v[a+12>>2]=v[a+12>>2]+1;d=c&255|d<<8;b=b-8|0;if(b>>>0>7){continue}break}}if(b){c=v[a>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;v[a+4>>2]=c;e=8-b|0;v[a+8>>2]=e;v[a+12>>2]=v[a+12>>2]+1;d=(-1<>>e|d<>2]!=-1){continue}break a}break}a=v[c>>2]}v[j>>2]=a;m=1}return m}function M3a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=v[a+20>>2];if((c&-2)!=200){d=v[a>>2];v[d+24>>2]=c;v[d+20>>2]=21;Ub[v[v[a>>2]>>2]](a)}c=1;a:{b:{c:{d:{e:{d=v[a+20>>2];switch(d-200|0){case 2:break a;case 3:case 4:case 5:case 6:case 7:case 8:case 10:break c;case 1:break d;case 0:break e;default:break b}}Ub[v[v[a+456>>2]+4>>2]](a);Ub[v[v[a+24>>2]+8>>2]](a);v[a+20>>2]=201}c=Ub[v[v[a+456>>2]>>2]](a)|0;if((c|0)!=1){break a}c=v[a+36>>2];d=c;f:{g:{switch(c-1|0){case 2:d=2;c=3;if(v[a+284>>2]){break f}if(v[a+296>>2]){c=2;h:{i:{e=w[a+300|0];switch(e|0){case 1:break i;case 0:break f;default:break h}}c=3;break f}c=v[a>>2];v[c+24>>2]=e;v[c+20>>2]=116;Ub[v[v[a>>2]+4>>2]](a,-1);c=3;break f}f=v[a+216>>2];e=v[f+176>>2];g=v[f+88>>2];f=v[f>>2];if(!((f|0)!=1|(g|0)!=2)&(e|0)==3){break f}if(!((f|0)!=82|(g|0)!=71|(e|0)!=66)){c=2;break f}c=v[a>>2];v[c+24>>2]=f;v[c+20>>2]=113;v[c+32>>2]=e;v[c+28>>2]=g;Ub[v[c+4>>2]](a,1);c=3;break f;case 3:d=4;if(!v[a+296>>2]){c=4;break f}c=4;j:{k:{e=w[a+300|0];switch(e|0){case 2:break k;case 0:break f;default:break j}}c=5;break f}c=v[a>>2];v[c+24>>2]=e;v[c+20>>2]=116;Ub[v[v[a>>2]+4>>2]](a,-1);c=5;break f;case 0:break f;default:break g}}c=0;d=0}v[a+44>>2]=d;v[a+40>>2]=c;v[a+136>>2]=0;v[a+96>>2]=256;v[a+88>>2]=2;v[a+92>>2]=1;v[a+80>>2]=1;v[a+84>>2]=0;v[a+72>>2]=0;v[a+76>>2]=1;v[a+64>>2]=0;v[a+68>>2]=0;v[a+56>>2]=0;v[a+60>>2]=1072693248;v[a+108>>2]=0;v[a+100>>2]=0;v[a+104>>2]=0;v[a+20>>2]=202;c=v[a+424>>2];v[a+52>>2]=c;v[a+48>>2]=c;c=1;break a}c=Ub[v[v[a+456>>2]>>2]](a)|0;break a}c=v[a>>2];v[c+24>>2]=d;v[c+20>>2]=21;Ub[v[v[a>>2]>>2]](a);c=0}if((c|0)==2){if(b){b=v[a>>2];v[b+20>>2]=53;Ub[v[b>>2]](a)}zv(a)}return c|0}function g6a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=Qb+-64|0;Qb=f;d=x[a+26306>>1];i=B(d,5)>>>2|0;d=jc(i+(d<<1)|0);if(!d){g=v[a+190640>>2];a:{if(g){d=v[a+25208>>2];v[f+20>>2]=46503;v[f+16>>2]=d;zd(g,4338,f+16|0);break a}d=v[a+25208>>2];v[f+4>>2]=46503;v[f>>2]=d;wc(v[252391],4338,f)}sd(a+190484|0,1);L()}if(x[a+26304>>1]){g=d+i|0;k=v[252391];while(1){if((Ub[v[v[a>>2]>>2]](v[a+4>>2],d,1,i)|0)<(i|0)){b:{if(v[a+26160>>2]){break b}v[f+48>>2]=v[a+25208>>2];wc(k,8292,f+48|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,k);break b}b=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[f+32>>2]=b;v[f+36>>2]=b>>31;wc(k,14622,f+32|0)}v[a+26160>>2]=1}c=d;b=g;e=b+(x[a+26306>>1]<<1)|0;if(b>>>0>>0){while(1){u[b>>1]=w[c+4|0]&3|w[c|0]<<2;u[b+2>>1]=w[c+4|0]>>>2&3|w[c+1|0]<<2;u[b+4>>1]=w[c+4|0]>>>4&3|w[c+2|0]<<2;u[b+6>>1]=w[c+3|0]<<2|w[c+4|0]>>>6;c=c+5|0;b=b+8|0;if(e>>>0>b>>>0){continue}break}}e=x[a+26310>>1];b=x[a+26312>>1];c:{if(j>>>0>=b>>>0){if(!e){break c}l=v[a+26028>>2];h=v[a+26352>>2];c=0;while(1){e=j-(b&65535)|0;b=x[a+26316>>1];u[(h+(B(x[a+26320>>1],e>>b)+(c>>>b|0)<<3)|0)+((l>>>((e<<1&14|c&1)<<1)&3)<<1)>>1]=x[g+(c<<1)>>1];c=c+1|0;if(c>>>0>=x[a+26310>>1]){break c}b=x[a+26312>>1];continue}}if(!e){break c}h=e&3;b=v[a+26120>>2];c=0;if(e-1>>>0>=3){e=e&65532;while(1){l=b;b=c<<1;b=(((l+x[b+g>>1]|0)+x[g+(b|2)>>1]|0)+x[g+(b|4)>>1]|0)+x[g+(b|6)>>1]|0;c=c+4|0;e=e-4|0;if(e){continue}break}}if(h){while(1){b=x[g+(c<<1)>>1]+b|0;c=c+1|0;h=h-1|0;if(h){continue}break}}v[a+26120>>2]=b}j=j+1|0;if(j>>>0>1]){continue}break}}dc(d);d=x[a+26312>>1];if(d){v[a+26120>>2]=y[a+26120>>2]/(B(d,x[a+26310>>1])>>>0)}v[a+26124>>2]=1023;Qb=f- -64|0}function T_a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0;a:{if((d|0)<1){break a}n=v[a+112>>2];f=v[a+480>>2];j=v[a+120>>2];if((j|0)<1){while(1){qe(v[(e<<2)+c>>2],n);v[f+84>>2]=!v[f+84>>2];e=e+1|0;if((e|0)!=(d|0)){continue}break a}}r=n+1|0;if(n){q=0-j|0;y=n-1|0;C=B(j,y);D=v[a+332>>2];while(1){a=s<<2;z=a+c|0;qe(v[z>>2],n);E=a+b|0;l=0;while(1){o=v[E>>2]+l|0;e=v[z>>2];b:{if(v[f+84>>2]){e=e+y|0;o=o+C|0;x=-1;p=q;a=v[((l<<2)+f|0)+68>>2]+(r<<1)|0;break b}x=1;p=j;a=v[((l<<2)+f|0)+68>>2]}k=l<<2;F=v[k+v[f+16>>2]>>2];G=v[k+v[f+24>>2]>>2];i=0;h=0;g=n;m=0;while(1){k=(x<<1)+a|0;A=w[(w[o|0]+((u[k>>1]+i|0)+8>>4)|0)+D|0];i=w[A+G|0];t[e|0]=i+w[e|0];H=a;a=A-w[i+F|0]|0;u[H>>1]=B(a,3)+m;i=B(a,7);m=B(a,5)+h|0;e=e+x|0;o=o+p|0;h=a;a=k;g=g-1|0;if(g){continue}break}u[a>>1]=m;l=l+1|0;if((j|0)!=(l|0)){continue}break}v[f+84>>2]=!v[f+84>>2];s=s+1|0;if((s|0)!=(d|0)){continue}break}break a}p=j&-4;b=j&3;q=j-1|0;while(1){qe(v[(i<<2)+c>>2],0);k=v[f+84>>2];c:{if(k){e=0;m=p;if(q>>>0>=3){while(1){a=r<<1;h=f+68|0;g=e<<2;u[a+v[h+g>>2]>>1]=0;u[a+v[h+(g|4)>>2]>>1]=0;u[a+v[h+(g|8)>>2]>>1]=0;u[a+v[h+(g|12)>>2]>>1]=0;e=e+4|0;m=m-4|0;if(m){continue}break}}a=b;if(!a){break c}while(1){u[v[((e<<2)+f|0)+68>>2]+(r<<1)>>1]=0;e=e+1|0;a=a-1|0;if(a){continue}break}break c}e=0;a=p;if(q>>>0>=3){while(1){h=f+68|0;g=e<<2;u[v[h+g>>2]>>1]=0;u[v[h+(g|4)>>2]>>1]=0;u[v[h+(g|8)>>2]>>1]=0;u[v[h+(g|12)>>2]>>1]=0;e=e+4|0;a=a-4|0;if(a){continue}break}}a=b;if(!a){break c}while(1){u[v[((e<<2)+f|0)+68>>2]>>1]=0;e=e+1|0;a=a-1|0;if(a){continue}break}}v[f+84>>2]=!k;i=i+1|0;if((i|0)!=(d|0)){continue}break}}}function z2(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=Qb-16|0;Qb=g;b=$s(b?b:19977);a:{if(!b){break a}d=16384;f=-1;if(!Am(b)){while(1){b:{c:{d:{e:{c=cp(1033744,v[b+4>>2]);switch(v[(c?c:1031904)>>2]){case 2:break b;case 1:break d;case 0:break e;default:break c}}d=he(v[b+8>>2]);break b}f=he(v[b+8>>2]);break b}v[g>>2]=v[b+4>>2];Sc(22121,g)}if(!Am(b)){continue}break}}Jq(b);x2();c=jc(108);if(!c){break a}v[c>>2]=0;v[c+4>>2]=0;v[c+76>>2]=0;v[c+80>>2]=0;v[c+72>>2]=f;v[c+68>>2]=d;v[c+64>>2]=0;v[c+60>>2]=a;v[c+56>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c+84>>2]=0;v[c+88>>2]=0;v[c+92>>2]=0;v[c+96>>2]=0;v[c+100>>2]=0;f=N2();f:{if(!f){break f}v[c+84>>2]=1;v[c+104>>2]=f;while(1){d=YJ(v[c+60>>2],f);if(!d){e=0;Sc(24077,0);break f}b=v[d>>2];e=1033504;while(1){a=e;h=v[a>>2];if(h){e=a+12|0;if((b|0)!=(h|0)){continue}}break}if(!(v[a+4>>2]&v[c+84>>2])){e=0;Sc(27821,0);ai(d);break f}a=v[a+8>>2];g:{if(!a){ai(d);b=0;break g}b=Ub[a|0](c,d)|0;ai(d);e=0;if((b|0)<0){break f}}if(!b){continue}break}e=v[c>>2];d=v[e+16>>2];b=v[e+24>>2];v[v[b>>2]+40>>2]=0;a=e;if((d|0)>=3){v[v[b+4>>2]+40>>2]=1;v[v[b+8>>2]+40>>2]=2;b=1025}else{b=769}v[a+28>>2]=b;v[c>>2]=0}a=v[c+104>>2];if(a){dc(a)}d=v[c+96>>2];if(d){a=v[d+8>>2];if(a){b=1;if(v[d>>2]>=1){Te(v[a>>2]);if(v[d>>2]>=2){while(1){Te(v[v[d+8>>2]+(b<<2)>>2]);b=b+1|0;if((b|0)>2]){continue}break}}a=v[d+8>>2]}dc(a)}dc(d)}a=v[c>>2];if(a){Wg(a)}a=v[c+64>>2];if(a){b=v[a+24>>2];if(b){dc(b)}b=v[a+4>>2];if(b){PJ(b)}dc(a)}a=v[c+88>>2];if(a){dc(a)}a=v[c+48>>2];if(a){dc(a)}dc(c)}Qb=g+16|0;return e|0}function vg(a,b,c,d){var e=0,f=0,g=0,h=0;g=Qb-32|0;Qb=g;v[g+16>>2]=13;a:{if((d|0)>=9){kc(1,-1,234683,0);break a}b:{c:{d:{e:{switch(v[a>>2]-4|0){case 3:f=v[a+8>>2];break b;case 4:break c;case 0:break e;default:break d}}if(mc(v[a+8>>2],217754)){break d}if((b|0)!=(c|0)){kc(1,-1,246471,0);break a}e=fc(1048);v[e+8>>2]=b;v[e>>2]=896136;v[e+4>>2]=b;f:{if((b|0)<1){break f}c=b&3;d=0;if(b-1>>>0>=3){h=b&-4;while(1){a=e+16|0;b=d<<4;f=a+b|0;v[f+8>>2]=0;v[f+12>>2]=1072693248;v[f>>2]=0;v[f+4>>2]=0;f=a+(b|16)|0;v[f+8>>2]=0;v[f+12>>2]=1072693248;v[f>>2]=0;v[f+4>>2]=0;f=a+(b|32)|0;v[f+8>>2]=0;v[f+12>>2]=1072693248;v[f>>2]=0;v[f+4>>2]=0;a=a+(b|48)|0;v[a+8>>2]=0;v[a+12>>2]=1072693248;v[a>>2]=0;v[a+4>>2]=0;d=d+4|0;h=h-4|0;if(h){continue}break}}if(!c){break f}while(1){a=(d<<4)+e|0;v[a+24>>2]=0;v[a+28>>2]=1072693248;v[a+16>>2]=0;v[a+20>>2]=0;d=d+1|0;c=c-1|0;if(c){continue}break}}v[e+1040>>2]=0;break a}kc(1,-1,256732,0);break a}f=v[a+8>>2];f=Ub[v[v[f>>2]+76>>2]](f)|0}g:{if(v[rc(f,279638,g+16|0,0)>>2]!=1){kc(1,-1,279526,0);hc(g+16|0);break g}e=v[g+24>>2];hc(g+16|0);h:{i:{j:{k:{switch(e|0){case 0:e=fc(2992);v[299999]=0;Y(3395,e|0,a|0,f|0)|0;break j;case 2:e=fc(1576);v[299999]=0;Y(3396,e|0,g|0,f|0)|0;break j;case 3:e=fc(1072);v[299999]=0;aa(3397,e|0,g|0,f|0,b|0,c|0,d|0)|0;break j;case 4:break k;default:break i}}e=fc(1584);v[299999]=0;Y(3398,e|0,a|0,f|0)|0}a=v[299999];v[299999]=0;if((a|0)!=1){break h}a=P()|0;O()|0;dc(e);T(a|0);L()}v[g>>2]=e;kc(1,-1,336275,g);break g}if(!(Ub[v[v[e>>2]+20>>2]](e)|0)){Ub[v[v[e>>2]+4>>2]](e);break g}if((v[e+8>>2]==(c|0)|(c|0)<0)&v[e+4>>2]==(b|0)){break a}kc(1,-1,234354,0);Ub[v[v[e>>2]+4>>2]](e)}e=0}Qb=g+32|0;return e}function rV(a){var b=0,c=0,d=0,e=0;if(a){d=v[a+32>>2];if(d){d=v[d+80>>2]}else{d=0}c=v[a+12>>2];if(!(!c|v[a+68>>2]!=1|v[c+20>>2]!=(a|0))){hl(c)}e=v[a+8>>2];a:{b:{if(d){c:{if(!e){break c}c=d;while(1){b=v[c+16>>2];if(b){while(1){if(e>>>0<=y[b+4>>2]&e>>>0>=b+20>>>0){break c}b=v[b>>2];if(b){continue}break}}c=v[c+20>>2];if(c){continue}break}Ub[v[259708]](e)}e=v[a+52>>2];d:{if(!e){break d}c=d;while(1){if(!c){break d}b=v[c+16>>2];if(b){while(1){if(e>>>0<=y[b+4>>2]&e>>>0>=b+20>>>0){break d}b=v[b>>2];if(b){continue}break}}c=v[c+20>>2];if(c){continue}break}Ub[v[259708]](e)}e=v[a+56>>2];e:{if(!e){break e}c=d;while(1){if(!c){break e}b=v[c+16>>2];if(b){while(1){if(e>>>0<=y[b+4>>2]&e>>>0>=b+20>>>0){break e}b=v[b>>2];if(b){continue}break}}c=v[c+20>>2];if(c){continue}break}Ub[v[259708]](e)}e=v[a+64>>2];f:{if(!e){break f}c=d;while(1){if(!c){break f}b=v[c+16>>2];if(b){while(1){if(e>>>0<=y[b+4>>2]&e>>>0>=b+20>>>0){break f}b=v[b>>2];if(b){continue}break}}c=v[c+20>>2];if(c){continue}break}Ub[v[259708]](e)}e=v[a+40>>2];g:{if(!e){break g}c=d;while(1){if(!c){break g}b=v[c+16>>2];if(b){while(1){if(e>>>0<=y[b+4>>2]&e>>>0>=b+20>>>0){break g}b=v[b>>2];if(b){continue}break}}c=v[c+20>>2];if(c){continue}break}Ub[v[259708]](e)}c=v[a+36>>2];if(!c){break a}while(1){if(!d){break a}b=v[d+16>>2];if(b){while(1){if(b+20>>>0<=c>>>0&y[b+4>>2]>=c>>>0){break a}b=v[b>>2];if(b){continue}break}}d=v[d+20>>2];if(d){continue}break}break b}if(e){Ub[v[259708]](e)}d=v[a+52>>2];if(d){Ub[v[259708]](d)}d=v[a+56>>2];if(d){Ub[v[259708]](d)}d=v[a+64>>2];if(d){Ub[v[259708]](d)}d=v[a+40>>2];if(d){Ub[v[259708]](d)}c=v[a+36>>2];if(!c){break a}}Ub[v[259708]](c)}Ub[v[259708]](a)}}function eha(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Qb-32|0;Qb=c;t[c+15|0]=b;b=v[a>>2];b=v[(b?b+12|0:1129608)>>2];v[299999]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+20>>2]=0;v[c+16>>2]=990592;fa(5155,c|0,c+16|0,c+15|0,0,1);d=v[299999];v[299999]=0;a:{b:{c:{d:{if((d|0)!=1){v[c+16>>2]=990496;d=v[c+28>>2];if(d){t[d|0]=0;dc(v[c+28>>2])}v[c+28>>2]=0;d=c+16|0;Qc(d);v[299999]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+20>>2]=0;v[c+16>>2]=990592;$(5179,c+8|0,d|0,b|0,c|0);b=v[299999];v[299999]=0;if((b|0)==1){break d}v[c+16>>2]=990496;b=v[c+28>>2];if(b){t[b|0]=0;dc(v[c+28>>2])}v[c+28>>2]=0;Qc(c+16|0);b=v[c+8>>2];e:{if(b){d=v[v[b>>2]+28>>2];v[299999]=0;U(d|0,c+16|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break e}a=P()|0;O()|0;break c}v[c+16>>2]=0}v[299999]=0;Q(4344,a|0,c+16|0)|0;b=v[299999];v[299999]=0;f:{if((b|0)!=1){b=v[c+16>>2];v[c+16>>2]=0;if(!b){break f}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)!=1){if(d){break f}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break f}}break a}a=P()|0;O()|0;ec(c+16|0);break c}b=v[a>>2];v[a+4>>2]=v[(b?b+12|0:1129608)>>2];b=v[c+8>>2];v[c+8>>2]=0;g:{if(!b){break g}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(d){break g}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[c>>2];v[c>>2]=0;h:{if(!b){break h}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(d){break h}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}Qb=c+32|0;return a|0}a=P()|0;O()|0;Ag(c+16|0);T(a|0);L()}a=P()|0;O()|0;Ag(c+16|0);break b}ec(c+8|0)}ec(c);T(a|0);L()}W(0)|0;O()|0;lc();L()}function tGa(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;a=ic(a,0,256);d=v[b>>2]+c|0;e=w[d+3|0];f=w[d|0];g=e+f|0;h=w[d+2|0];d=w[d+1|0];i=h+d|0;v[a+8>>2]=g-i<<4;v[a>>2]=(g+i<<4)+-8192;g=d-h|0;e=f-e|0;d=B(g+e|0,4433)+256|0;v[a+12>>2]=d+B(g,-15137)>>9;v[a+4>>2]=d+B(e,6270)>>9;d=v[b+4>>2]+c|0;f=w[d+3|0];g=w[d|0];e=f+g|0;h=w[d+2|0];d=w[d+1|0];i=h+d|0;v[a+40>>2]=e-i<<4;e=(e+i<<4)+-8192|0;v[a+32>>2]=e;h=d-h|0;f=g-f|0;d=B(h+f|0,4433)+256|0;v[a+44>>2]=d+B(h,-15137)>>9;v[a+36>>2]=d+B(f,6270)>>9;d=v[b+8>>2]+c|0;f=w[d+3|0];g=w[d|0];h=f+g|0;i=w[d+2|0];j=w[d+1|0];d=i+j|0;v[a+72>>2]=h-d<<4;d=(d+h<<4)+-8192|0;v[a+64>>2]=d;h=j-i|0;g=g-f|0;f=B(h+g|0,4433)+256|0;v[a+76>>2]=f+B(h,-15137)>>9;f=f+B(g,6270)>>9;v[a+68>>2]=f;b=v[b+12>>2]+c|0;c=w[b+2|0];g=w[b+3|0];h=w[b|0];i=g+h|0;j=w[b+1|0];k=j+c|0;b=(i+k<<4)+-8192|0;l=v[a>>2];m=(b+l|0)+2|0;n=d+e|0;v[a+64>>2]=m-n>>2;v[a>>2]=m+n>>2;d=e-d|0;e=l-b|0;b=B(d+e|0,4433)+16384|0;v[a+96>>2]=b+B(d,-15137)>>15;v[a+32>>2]=b+B(e,6270)>>15;d=j-c|0;c=h-g|0;b=B(d+c|0,4433)+256|0;e=v[a+4>>2];c=b+B(c,6270)>>9;g=(e+c|0)+2|0;h=v[a+36>>2];j=h+f|0;v[a+68>>2]=g-j>>2;v[a+4>>2]=g+j>>2;f=h-f|0;e=e-c|0;c=B(f+e|0,4433)+16384|0;v[a+100>>2]=c+B(f,-15137)>>15;v[a+36>>2]=c+B(e,6270)>>15;c=v[a+8>>2];e=i-k<<4;f=(c+e|0)+2|0;g=v[a+72>>2];h=v[a+40>>2];i=g+h|0;v[a+72>>2]=f-i>>2;v[a+8>>2]=f+i>>2;f=h-g|0;e=c-e|0;c=B(f+e|0,4433)+16384|0;v[a+104>>2]=c+B(f,-15137)>>15;v[a+40>>2]=c+B(e,6270)>>15;c=v[a+12>>2];b=b+B(d,-15137)>>9;d=(c+b|0)+2|0;e=v[a+76>>2];f=v[a+44>>2];g=e+f|0;v[a+76>>2]=d-g>>2;v[a+12>>2]=d+g>>2;d=f-e|0;c=c-b|0;b=B(d+c|0,4433)+16384|0;v[a+108>>2]=b+B(d,-15137)>>15;v[a+44>>2]=b+B(c,6270)>>15}function Z0(a,b,c,d,e,f){var g=0,h=0,i=0;h=v[v[a+528>>2]+88>>2];a:{b:{c:{d:{e:{f:{switch(b|0){case 5:if(!c){break d}a=0;while(1){if(w[a+f|0]){i=B(a,3);g=i+h|0;i=d+i|0;t[g+68|0]=w[i|0]+w[g+68|0];t[g+69|0]=w[i+1|0]+w[g+69|0];t[g+70|0]=w[i+2|0]+w[g+70|0];g=a+h|0;t[g+848|0]=w[a+e|0]+w[g+848|0]}a=a+1|0;if((c|0)!=(a|0)){continue}break};break e;case 4:if(!c){break d}a=0;while(1){if(w[a+f|0]){i=B(a,3);g=i+h|0;i=d+i|0;t[g+68|0]=w[i|0];t[g+69|0]=w[i+1|0];t[g+70|0]=w[i+2|0];t[(a+h|0)+848|0]=w[a+e|0]}a=a+1|0;if((c|0)!=(a|0)){continue}break};break e;case 3:if(!c){break d}a=0;if((c|0)!=1){d=c&-2;while(1){if(w[a+f|0]){g=a+h|0;t[g+848|0]=w[a+e|0]+w[g+848|0]}g=a|1;if(w[g+f|0]){i=g+h|0;t[i+848|0]=w[e+g|0]+w[i+848|0]}a=a+2|0;d=d-2|0;if(d){continue}break}}if(!(c&1)|!w[a+f|0]){break e}d=a+h|0;t[d+848|0]=w[a+e|0]+w[d+848|0];break e;case 2:if(!c){break d}a=0;if((c|0)!=1){d=c&-2;while(1){if(w[a+f|0]){t[(a+h|0)+848|0]=w[a+e|0]}g=a|1;if(w[g+f|0]){t[(g+h|0)+848|0]=w[e+g|0]}a=a+2|0;d=d-2|0;if(d){continue}break}}if(!(c&1)|!w[a+f|0]){break e}t[(a+h|0)+848|0]=w[a+e|0];break e;case 1:if(!c){break b}a=0;while(1){if(w[a+f|0]){g=B(a,3);e=g+h|0;g=d+g|0;t[e+68|0]=w[g|0]+w[e+68|0];t[e+69|0]=w[g+1|0]+w[e+69|0];t[e+70|0]=w[g+2|0]+w[e+70|0]}a=a+1|0;if((c|0)!=(a|0)){continue}break};break e;case 0:break f;default:break d}}if(!c){break b}a=0;while(1){if(w[a+f|0]){g=B(a,3);e=g+h|0;g=d+g|0;t[e+68|0]=w[g|0];t[e+69|0]=w[g+1|0];t[e+70|0]=w[g+2|0]}a=a+1|0;if((c|0)!=(a|0)){continue}break}}if(b>>>0<2){break c}}g:{if(w[h+56|0]){if(y[h+844>>2]>>0){break g}break c}t[h+56|0]=1}v[h+844>>2]=c}if((b&254)==2){break a}}if(y[h+64>>2]>=c>>>0){break a}v[h+64>>2]=c}return 0}function e6a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;b=Qb-96|0;Qb=b;h=(x[a+26306>>1]<<4>>>0)/10|0;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],B(h,x[a+26312>>1]),1)|0;f=jc((x[a+26306>>1]<<1)+h|0);if(!f){c=v[a+190640>>2];a:{if(c){d=v[a+25208>>2];v[b+20>>2]=47178;v[b+16>>2]=d;zd(c,4338,b+16|0);break a}c=v[a+25208>>2];v[b+4>>2]=47178;v[b>>2]=c;wc(v[252391],4338,b)}sd(a+190484|0,1);L()}if(x[a+26308>>1]){j=f+h|0;g=v[252391];while(1){if((Ub[v[v[a>>2]>>2]](v[a+4>>2],f,1,h)|0)<(h|0)){b:{if(v[a+26160>>2]){break b}v[b+80>>2]=v[a+25208>>2];wc(g,8292,b+80|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,g);break b}c=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[b+64>>2]=c;v[b+68>>2]=c>>31;wc(g,14622,b- -64|0)}v[a+26160>>2]=1}c=f;e=j;i=x[a+26306>>1];if(e>>>0<(i<<1)+e>>>0){while(1){c:{if((c-f&15)!=15){d=c;break c}d=c+1|0;if(!w[c|0]|((x[a+26310>>1]<<1)+j|0)+(x[a+26314>>1]<<1)>>>0<=e>>>0){break c}d:{if(v[a+26160>>2]){break d}v[b+48>>2]=v[a+25208>>2];wc(g,8292,b+48|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,g);break d}c=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[b+32>>2]=c;v[b+36>>2]=c>>31;wc(g,14622,b+32|0)}v[a+26160>>2]=1;i=x[a+26306>>1]}u[e>>1]=w[d|0]|w[d+1|0]<<8;u[e+2>>1]=w[d+2|0]<<4|w[d+1|0]>>>4;c=d+3|0;e=e+4|0;if(e>>>0<(i<<1)+j>>>0){continue}break}}if(x[a+26310>>1]){c=k<<1&14;e=v[a+26028>>2];i=v[a+26352>>2];d=0;while(1){l=x[a+26316>>1];u[(i+(B(x[a+26320>>1],k>>>l|0)+(d>>>l|0)<<3)|0)+((e>>>((c|d&1)<<1)&3)<<1)>>1]=x[(x[a+26314>>1]+d<<1)+j>>1]&4095;d=d+1|0;if(d>>>0>1]){continue}break}}k=k+1|0;if(k>>>0>1]){continue}break}}dc(f);v[a+26124>>2]=v[a+26124>>2]>>>4;v[a+26120>>2]=v[a+26120>>2]>>>4;Qb=b+96|0}function PA(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;g=Qb-16|0;Qb=g;a:{b:{c:{d:{if(w[a+370|0]){v[e>>2]=0;if(!v[a+376>>2]){v[a+372>>2]=32768;f=Ub[v[a+152>>2]](32768)|0;v[a+376>>2]=f;if(!f){f=1;break b}v[a+380>>2]=f;v[a+384>>2]=0}if(y[a+372>>2]>>0){break d}if(w[a+368|0]){break c}while(1){if(w[a+346|0]){break c}e:{f=v[a+384>>2];if(f>>>0>>0){c=v[a+376>>2];h=v[a+372>>2];i=v[a+380>>2];f:{if(c+(h-(i+f|0)|0)>>>0>1023){c=i;break f}if(f){gc(c,i,f);h=v[a+372>>2];c=v[a+376>>2];f=v[a+384>>2]}else{f=0}v[a+380>>2]=c}if(h-f>>>0<1024){f=999;break b}f=rJ(a,c+f|0,1024,g+12|0);if(f){break a}f=v[g+12>>2];c=f+v[a+384>>2]|0;v[a+384>>2]=c;if(!(f|!w[a+369|0])){g:{if(w[a+346|0]){break g}t[a+346|0]=1;f=v[a+168>>2];if(!f){break g}if(!(Ub[f|0](a)|0)){f=901;break b}c=v[a+384>>2]}f=e;if(c){gc(b,v[a+380>>2],c);c=v[a+384>>2]}else{c=0}v[f>>2]=c;v[a+384>>2]=0;v[a+380>>2]=v[a+376>>2];break e}if(f>>>0>1023|c>>>0>=d>>>0){break e}t[a+368|0]=1;break c}gc(b,v[a+380>>2],d);v[e>>2]=d;v[a+380>>2]=v[a+380>>2]+d;v[a+384>>2]=v[a+384>>2]-d;break c}t[a+369|0]=0;if(!w[a+368|0]){continue}break}break c}f=rJ(a,b,d,e);if(f){break a}if(v[e>>2]){break c}t[a+368|0]=1;break c}f=v[c>>2];h:{if(f){break h}f=v[a+384>>2];if(f){j=c,k=gc(b,v[a+380>>2],f)+v[a+384>>2]|0,v[j>>2]=k;v[a+384>>2]=0;v[a+380>>2]=v[a+376>>2];f=v[c>>2];break h}v[c>>2]=b;f=b}i=f-b|0;h=d-i|0;f=rJ(a,f,h,g+12|0);if(f){break a}i:{b=v[g+12>>2];if(!(b|!w[a+369|0])){if(w[a+346|0]){break i}t[a+346|0]=1;b=v[a+168>>2];if(!b){break i}if(Ub[b|0](a)|0){break i}f=901;break b}if(b>>>0>>0){v[c>>2]=b+v[c>>2];t[a+368|0]=1;break c}v[e>>2]=d;break c}v[e>>2]=i}f=0;t[a+369|0]=0;break a}pc(a,f,0,0)}Qb=g+16|0;return f}function Zna(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;f=Qb+-64|0;Qb=f;e=kj(f+24|0,a+72|0);v[299999]=0;g=S(4464,e|0)|0;d=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{g:{h:{if((d|0)==1){break h}v[299999]=0;d=v[v[b+12>>2]+((g>>>0)%y[b+8>>2]<<2)>>2];h=v[299999];v[299999]=0;if((h|0)==1){break h}i:{if(d){while(1){if((g|0)==v[d+12>>2]){v[299999]=0;h=Q(4461,d+16|0,e|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break b}if(h){break i}}d=v[d+8>>2];if(d){continue}break}}v[299999]=0;g=S(4464,e|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break f}v[299999]=0;d=v[v[c+12>>2]+((g>>>0)%y[c+8>>2]<<2)>>2];h=v[299999];v[299999]=0;if((h|0)==1){break f}if(d){while(1){if((g|0)==v[d+12>>2]){v[299999]=0;h=Q(4461,d+16|0,e|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break g}if(h){break i}}d=v[d+8>>2];if(d){continue}break}}v[299999]=0;d=Q(4749,c|0,e|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break e}v[d+52>>2]=0;v[299999]=0;R(4763,a|0);d=v[299999];v[299999]=0;if((d|0)==1){break e}v[299999]=0;U(4764,f+8|0,a|0,0);a=v[299999];v[299999]=0;if((a|0)==1){break d}d=v[f+16>>2];if(d){while(1){a=v[d+8>>2];v[299999]=0;U(4762,a|0,b|0,c|0);a=v[299999];v[299999]=0;if((a|0)==1){break c}d=v[d>>2];if(d){continue}break}}Ic(f+8|0)}v[e+24>>2]=981312;v[e>>2]=981280;a=v[e+28>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Ub[v[v[a>>2]+4>>2]](a)}v[e+28>>2]=0}v[e+16>>2]=981312;a=v[e+20>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Ub[v[v[a>>2]+4>>2]](a)}v[e+20>>2]=0}ec(e+8|0);Qb=f- -64|0;return}d=P()|0;O()|0;break a}d=P()|0;O()|0;break a}d=P()|0;O()|0;break a}d=P()|0;O()|0;break a}d=P()|0;O()|0;break a}d=P()|0;O()|0;Ic(f+8|0);break a}d=P()|0;O()|0}$c(e);T(d|0);L()}function P_a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;d=a+10|0;if(d>>>0>y[b+160>>2]){Sd(b,8)}c=w[a+6|0]|w[a+7|0]<<8|(w[a+8|0]<<16|w[a+9|0]<<24);k=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=w[a+2|0]|w[a+3|0]<<8|(w[a+4|0]<<16|w[a+5|0]<<24);g=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);if(!(!(g>>>0<10|v[b+160>>2]-a>>>0>>0)&(g-10>>>0)/11>>>0>=k>>>0)){Sd(b,8)}if(k){l=a+4|0;c=1;while(1){m=w[d+2|0]|(w[d+1|0]<<8|w[d|0]<<16);a=w[d+7|0]|w[d+8|0]<<8|(w[d+9|0]<<16|w[d+10|0]<<24);e=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=w[d+3|0]|w[d+4|0]<<8|(w[d+5|0]<<16|w[d+6|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!(e>>>0>>0&a>>>0>>0)){Sd(b,8)}if(c>>>0>m>>>0){Sd(b,8)}a:{if(!a){break a}a=a+l|0;if(a>>>0>y[b+160>>2]){Sd(b,8)}c=a-4|0;c=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);f=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);b:{if(f>>>0>v[b+160>>2]-a>>>2>>>0){Sd(b,8);break b}if(!f){break a}}c=0;h=0;while(1){i=w[a+2|0]|(w[a+1|0]<<8|w[a|0]<<16);j=i+w[a+3|0]|0;if(j>>>0>=1114112){Sd(b,8)}if(h>>>0>i>>>0){Sd(b,8)}a=a+4|0;h=j+1|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}c:{if(!e){break c}a=e+l|0;if(a>>>0>y[b+160>>2]){Sd(b,8)}c=a-4|0;c=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d:{if(c>>>0>(v[b+160>>2]-a>>>0)/5>>>0){Sd(b,8);break d}if(!c){break c}}h=0;e=0;while(1){i=w[a+3|0];j=w[a+4|0];f=w[a+2|0]|(w[a+1|0]<<8|w[a|0]<<16);if(f>>>0>=1114112){Sd(b,8)}if(f>>>0>>0){Sd(b,8)}if(!(v[b+164>>2]<1|y[b+172>>2]>(j|i<<8)>>>0)){Sd(b,16)}a=a+5|0;h=f+1|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}}d=d+11|0;c=m+1|0;n=n+1|0;if((n|0)!=(k|0)){continue}break}}return 0}function fp(a,b){var c=0;c=w[b+12|0]|w[b+13|0]<<8;a=w[a+494|0];c=a?c:c<<8|c>>>8;t[b+12|0]=c;t[b+13|0]=c>>>8;c=w[b+14|0]|w[b+15|0]<<8;c=a?c:c<<8|c>>>8;t[b+14|0]=c;t[b+15|0]=c>>>8;c=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);c=a?c:c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);t[b|0]=c;t[b+1|0]=c>>>8;t[b+2|0]=c>>>16;t[b+3|0]=c>>>24;c=w[b+4|0]|w[b+5|0]<<8|(w[b+6|0]<<16|w[b+7|0]<<24);c=a?c:c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);t[b+4|0]=c;t[b+5|0]=c>>>8;t[b+6|0]=c>>>16;t[b+7|0]=c>>>24;c=w[b+8|0]|w[b+9|0]<<8|(w[b+10|0]<<16|w[b+11|0]<<24);c=a?c:c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);t[b+8|0]=c;t[b+9|0]=c>>>8;t[b+10|0]=c>>>16;t[b+11|0]=c>>>24;c=w[b+16|0]|w[b+17|0]<<8|(w[b+18|0]<<16|w[b+19|0]<<24);c=a?c:c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);t[b+16|0]=c;t[b+17|0]=c>>>8;t[b+18|0]=c>>>16;t[b+19|0]=c>>>24;c=w[b+20|0]|w[b+21|0]<<8|(w[b+22|0]<<16|w[b+23|0]<<24);c=a?c:c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);t[b+20|0]=c;t[b+21|0]=c>>>8;t[b+22|0]=c>>>16;t[b+23|0]=c>>>24;c=w[b+24|0]|w[b+25|0]<<8|(w[b+26|0]<<16|w[b+27|0]<<24);c=a?c:c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);t[b+24|0]=c;t[b+25|0]=c>>>8;t[b+26|0]=c>>>16;t[b+27|0]=c>>>24;c=w[b+28|0]|w[b+29|0]<<8|(w[b+30|0]<<16|w[b+31|0]<<24);c=a?c:c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);t[b+28|0]=c;t[b+29|0]=c>>>8;t[b+30|0]=c>>>16;t[b+31|0]=c>>>24;c=w[b+32|0]|w[b+33|0]<<8|(w[b+34|0]<<16|w[b+35|0]<<24);c=a?c:c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);t[b+32|0]=c;t[b+33|0]=c>>>8;t[b+34|0]=c>>>16;t[b+35|0]=c>>>24;c=w[b+36|0]|w[b+37|0]<<8|(w[b+38|0]<<16|w[b+39|0]<<24);a=a?c:c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);t[b+36|0]=a;t[b+37|0]=a>>>8;t[b+38|0]=a>>>16;t[b+39|0]=a>>>24}function dV(a){var b=0,c=0,d=0,e=0,f=0;f=Qb-16|0;Qb=f;a:{if(!a){break a}e=v[a+52>>2];if(e){break a}e=Ub[v[259704]](24)|0;if(!e){v[f>>2]=286226;oc(0,0,0,0,0,2,2,3,286226,0,0,0,350051,f);e=0;break a}b=e;v[b>>2]=0;v[b+4>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b+4>>2]=18;b=Ub[v[259707]](37)|0;b:{if(!b){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break b}c=w[286182]|w[286183]<<8|(w[286184]<<16|w[286185]<<24);t[b+32|0]=c;t[b+33|0]=c>>>8;t[b+34|0]=c>>>16;t[b+35|0]=c>>>24;c=w[286178]|w[286179]<<8|(w[286180]<<16|w[286181]<<24);d=w[286174]|w[286175]<<8|(w[286176]<<16|w[286177]<<24);t[b+24|0]=d;t[b+25|0]=d>>>8;t[b+26|0]=d>>>16;t[b+27|0]=d>>>24;t[b+28|0]=c;t[b+29|0]=c>>>8;t[b+30|0]=c>>>16;t[b+31|0]=c>>>24;c=w[286170]|w[286171]<<8|(w[286172]<<16|w[286173]<<24);d=w[286166]|w[286167]<<8|(w[286168]<<16|w[286169]<<24);t[b+16|0]=d;t[b+17|0]=d>>>8;t[b+18|0]=d>>>16;t[b+19|0]=d>>>24;t[b+20|0]=c;t[b+21|0]=c>>>8;t[b+22|0]=c>>>16;t[b+23|0]=c>>>24;c=w[286162]|w[286163]<<8|(w[286164]<<16|w[286165]<<24);d=w[286158]|w[286159]<<8|(w[286160]<<16|w[286161]<<24);t[b+8|0]=d;t[b+9|0]=d>>>8;t[b+10|0]=d>>>16;t[b+11|0]=d>>>24;t[b+12|0]=c;t[b+13|0]=c>>>8;t[b+14|0]=c>>>16;t[b+15|0]=c>>>24;c=w[286154]|w[286155]<<8|(w[286156]<<16|w[286157]<<24);d=w[286150]|w[286151]<<8|(w[286152]<<16|w[286153]<<24);t[b|0]=d;t[b+1|0]=d>>>8;t[b+2|0]=d>>>16;t[b+3|0]=d>>>24;t[b+4|0]=c;t[b+5|0]=c>>>8;t[b+6|0]=c>>>16;t[b+7|0]=c>>>24;t[b+36|0]=0}v[e+8>>2]=b;b=Ub[v[259707]](4)|0;c:{if(!b){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break c}t[b+2|0]=w[258816];c=w[258814]|w[258815]<<8;t[b|0]=c;t[b+1|0]=c>>>8;t[b+3|0]=0}v[e+12>>2]=b;v[a+52>>2]=e}Qb=f+16|0;return e}function L2(a,b,c){var d=0,e=0,f=0,g=0;f=w[c+1|0];if(f>>>0<33){d=-1;e=v[a+8>>2];a:{if(e&7){break a}b:{c:{d=v[a+64>>2];if((d|0)>=0&(d|0)<=v[a+60>>2]){break c}v[a+4>>2]=v[a+4>>2]|32;d=-1;e=v[a+28>>2];v[a+28>>2]=e-1;d:{if((e|0)>=1){v[a+60>>2]=v[a+60>>2]+1;d=v[a+24>>2];v[a+24>>2]=d+1;t[d|0]=f;break d}if((Fc(a,f)|0)==-1){break a}}d=-1;e=v[a+8>>2];if(e&7){break a}f=w[c+2|0];d=v[a+64>>2];if((d|0)>=0&(d|0)<=v[a+60>>2]){break c}v[a+4>>2]=v[a+4>>2]|32;d=-1;e=v[a+28>>2];v[a+28>>2]=e-1;e:{if((e|0)>=1){v[a+60>>2]=v[a+60>>2]+1;d=v[a+24>>2];v[a+24>>2]=d+1;t[d|0]=f;break e}if((Fc(a,f)|0)==-1){break a}}d=-1;e=v[a+8>>2];if(e&7){break a}f=w[c+3|0];d=v[a+64>>2];if((d|0)>=0&(d|0)<=v[a+60>>2]){break c}v[a+4>>2]=v[a+4>>2]|32;d=-1;e=v[a+28>>2];v[a+28>>2]=e-1;f:{if((e|0)>=1){v[a+60>>2]=v[a+60>>2]+1;d=v[a+24>>2];v[a+24>>2]=d+1;t[d|0]=f;break f}if((Fc(a,f)|0)==-1){break a}}d=-1;e=v[a+8>>2];if(e&7){break a}f=w[c+4|0];d=v[a+64>>2];if((d|0)>=0&(d|0)<=v[a+60>>2]){break c}v[a+4>>2]=v[a+4>>2]|32;d=-1;e=v[a+28>>2];v[a+28>>2]=e-1;g:{if((e|0)>=1){v[a+60>>2]=v[a+60>>2]+1;d=v[a+24>>2];v[a+24>>2]=d+1;t[d|0]=f;break g}if((Fc(a,f)|0)==-1){break a}}d=-1;if(Hq(a,w[c+5|0])){break a}if(!b){return 0}b=0;if(v[c+8>>2]<1){return 0}while(1){e=v[a+8>>2];if(e&7){break b}d=(b<<1)+c|0;f=w[d+13|0];d=w[d+12|0];g=v[a+64>>2];if((g|0)>=0&v[a+60>>2]>=(g|0)){break c}e=d&15|f<<4;v[a+4>>2]=v[a+4>>2]|32;d=v[a+28>>2];v[a+28>>2]=d-1;h:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;d=v[a+24>>2];v[a+24>>2]=d+1;t[d|0]=e;break h}d=-1;if((Fc(a,e&255)|0)==-1){break a}}d=0;b=b+1|0;if((b|0)>2]){continue}break}break a}v[a+8>>2]=e|4}d=-1}return d}X(50608,47016,771,188697);L()}function JRa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=v[b+4>>2];v[a>>2]=466344;v[a+4>>2]=c;c=a;v[c+8>>2]=0;v[c+12>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=0;v[c+36>>2]=1065353216;v[c+48>>2]=0;v[c+52>>2]=0;v[c+92>>2]=1;v[c+84>>2]=0;v[c+88>>2]=1;v[c+76>>2]=0;v[c+80>>2]=0;v[c+68>>2]=1056964608;v[c+72>>2]=1065353216;u[c- -64>>1]=0;v[c+56>>2]=1065353216;v[c+60>>2]=1065353216;v[c+96>>2]=0;v[c+100>>2]=0;v[c+104>>2]=0;v[c+108>>2]=0;v[c+112>>2]=0;v[c+116>>2]=0;v[c+144>>2]=0;v[c+148>>2]=0;v[c+136>>2]=0;v[c+140>>2]=0;v[c+128>>2]=0;v[c+132>>2]=0;d=fc(24);v[c+140>>2]=d;e=d+24|0;v[c+148>>2]=e;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=0;v[d+4>>2]=0;v[c+144>>2]=e;ic(c+156|0,0,88);v[c+252>>2]=0;v[c+256>>2]=0;v[c+244>>2]=-16777216;v[c+248>>2]=-16777216;v[c+260>>2]=0;v[c+264>>2]=0;d=c+268|0;v[d>>2]=0;v[d+4>>2]=0;v[c+276>>2]=0;v[299999]=0;c=S(2366,c+280|0)|0;e=v[299999];v[299999]=0;a:{b:{if((e|0)!=1){v[a+288>>2]=0;v[a+292>>2]=0;v[a+312>>2]=0;v[a+316>>2]=0;v[a+304>>2]=0;v[a+308>>2]=0;v[a+296>>2]=0;v[a+300>>2]=0;v[a+244>>2]=v[b+244>>2];v[a+248>>2]=v[b+248>>2];e=v[b+256>>2];v[a+252>>2]=v[b+252>>2];v[a+256>>2]=e;e=v[b+264>>2];v[a+260>>2]=v[b+260>>2];v[a+264>>2]=e;if((a|0)!=(b|0)){e=v[b+272>>2];f=v[b+268>>2];v[299999]=0;U(2490,d|0,f|0,e|0);e=v[299999];v[299999]=0;if((e|0)==1){break b}}v[299999]=0;wk(c,b+280|0);e=v[299999];v[299999]=0;if((e|0)==1){break b}z[a+284>>2]=z[b+284>>2];v[a+320>>2]=v[b+320>>2];v[a+324>>2]=v[b+324>>2];v[a+328>>2]=v[b+328>>2];v[a+332>>2]=v[b+332>>2];return a|0}b=P()|0;O()|0;break a}b=P()|0;O()|0;Cd(c)}c=v[d>>2];if(c){v[a+272>>2]=c;dc(c)}Ne(a+88|0);T(b|0);L()}function Vua(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;d=Qb-32|0;Qb=d;a:{if(t[c+11|0]>=0){v[d+24>>2]=v[c+8>>2];e=v[c+4>>2];v[d+16>>2]=v[c>>2];v[d+20>>2]=e;break a}Ke(d+16|0,v[c>>2],v[c+4>>2])}c=w[b+15|0];e=c<<24>>24<0;b:{c:{d:{e:{h=e?v[b+8>>2]:c;if(h){g=b+4|0;f=w[d+27|0];c=f<<24>>24<0;f=c?v[d+20>>2]:f;if((h|0)>(f|0)){break e}c=c?v[d+16>>2]:d+16|0;i=c+(f<<2)|0;j=e?v[b+4>>2]:g;l=v[j>>2];e=c;while(1){f=f-h|0;k=f+1|0;if(k>>>0>>0){break e}e=sf(e,l,k);if(!e){break e}if(od(e,j,h)){e=e+4|0;f=i-e>>2;if((h|0)<=(f|0)){continue}break e}break}if((e|0)==(i|0)|(c|0)!=(e|0)){break e}}b=v[d+20>>2];v[a>>2]=v[d+16>>2];v[a+4>>2]=b;v[a+8>>2]=v[d+24>>2];v[d+24>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;break d}e=w[d+27|0];c=e<<24>>24<0;if(!(c?v[d+20>>2]:e)){if(t[b+15|0]>=0){b=v[g+4>>2];v[a>>2]=v[g>>2];v[a+4>>2]=b;v[a+8>>2]=v[g+8>>2];break d}c=v[b+8>>2];b=v[b+4>>2];v[299999]=0;U(2345,a|0,b|0,c|0);a=v[299999];v[299999]=0;if((a|0)!=1){break d}break c}if(v[(c?v[d+16>>2]:d+16|0)>>2]==47){v[299999]=0;U(2650,a|0,g|0,d+16|0);a=v[299999];v[299999]=0;if((a|0)==1){break c}break d}v[299999]=0;U(2731,d|0,g|0,972492);b=v[299999];v[299999]=0;f:{if((b|0)!=1){v[299999]=0;b=w[d+27|0];c=b<<24>>24<0;b=Y(2653,d|0,(c?v[d+16>>2]:d+16|0)|0,(c?v[d+20>>2]:b)|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break f}c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;v[a+8>>2]=v[b+8>>2];v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;if(t[d+11|0]>-1){break d}dc(v[d>>2]);break d}c=P()|0;O()|0;break b}c=P()|0;O()|0;if(t[d+11|0]>-1){break b}dc(v[d>>2]);break b}if(t[d+27|0]<=-1){dc(v[d+16>>2])}Qb=d+32|0;return}c=P()|0;O()|0}if(t[d+27|0]<=-1){dc(v[d+16>>2])}T(c|0);L()}function o0(a,b,c){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,p=0;k=1;a:{b:{c:{switch(b-a>>2){case 2:c=v[v[c>>2]+12>>2];b=b-4|0;d=v[b>>2];e=v[a>>2];if(y[v[c+(d<<2)>>2]+4>>2]>=y[v[c+(e<<2)>>2]+4>>2]){break b}v[a>>2]=d;v[b>>2]=e;break a;case 3:d=b-4|0;e=v[d>>2];b=v[v[c>>2]+12>>2];f=v[v[(e<<2)+b>>2]+4>>2];g=v[a+4>>2];i=v[v[b+(g<<2)>>2]+4>>2];c=v[a>>2];h=v[b+(c<<2)>>2];if(i>>>0>=y[h+4>>2]){if(f>>>0>=i>>>0){break b}v[a+4>>2]=e;v[d>>2]=g;c=v[a+4>>2];d=v[a>>2];if(y[v[b+(c<<2)>>2]+4>>2]>=y[v[b+(d<<2)>>2]+4>>2]){break b}v[a+4>>2]=d;v[a>>2]=c;break a}if(f>>>0>>0){v[a>>2]=e;v[d>>2]=c;break a}v[a+4>>2]=c;v[a>>2]=g;e=v[d>>2];if(y[v[b+(e<<2)>>2]+4>>2]>=y[h+4>>2]){break b}v[a+4>>2]=e;v[d>>2]=c;break a;case 4:HI(a,a+4|0,a+8|0,b-4|0,c);break a;case 5:GI(a,a+4|0,a+8|0,a+12|0,b-4|0,c);break a;case 0:case 1:break b;default:break c}}g=a+4|0;e=a+8|0;j=v[v[c>>2]+12>>2];f=v[a+8>>2];m=v[j+(f<<2)>>2];p=v[m+4>>2];d:{e:{f:{h=v[a+4>>2];n=v[v[(h<<2)+j>>2]+4>>2];l=v[a>>2];o=v[(l<<2)+j>>2];if(n>>>0>=y[o+4>>2]){if(p>>>0>>0){break f}d=f;break d}c=a;i=e;d=l;if(p>>>0>>0){break e}v[a+4>>2]=l;v[a>>2]=h;c=g;if(y[m+4>>2]>2]){break e}d=f;break d}v[g>>2]=f;v[e>>2]=h;c=a;i=g;d=h;if(y[m+4>>2]>=y[o+4>>2]){break d}}v[c>>2]=f;v[i>>2]=l}c=a+12|0;if((c|0)==(b|0)){break b}g=0;while(1){g:{f=c;k=c;i=v[c>>2];h=v[(i<<2)+j>>2];if(y[h+4>>2]>2]+4>>2]){while(1){h:{v[k>>2]=d;c=e;if((c|0)==(a|0)){c=a;break h}k=c;e=c-4|0;d=v[e>>2];if(y[h+4>>2]>2]+4>>2]){continue}}break}v[c>>2]=i;g=g+1|0;if((g|0)==8){break g}}c=f+4|0;if((c|0)==(b|0)){break a}d=v[f>>2];e=f;continue}break}k=(f+4|0)==(b|0)}return k}return 1}function xca(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=Qb-16|0;Qb=d;a:{b:{if(!v[a+64>>2]){e=-1;break b}g=v[a+92>>2]&8;if(!g){v[a+28>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;c:{if(w[a+98|0]){b=v[a+32>>2];c=b;b=b+v[a+52>>2]|0;e=b;break c}b=v[a+56>>2];c=b;b=b+v[a+60>>2]|0;e=b}v[a+16>>2]=b;v[a+12>>2]=e;v[a+8>>2]=c;v[a+92>>2]=8}if(!v[a+12>>2]){b=d+16|0;v[a+16>>2]=b;v[a+12>>2]=b;v[a+8>>2]=d+15}if(g){b=v[a+16>>2];c=v[a+8>>2];v[d+4>>2]=4;v[d+8>>2]=(b-c|0)/2;b=Qb-16|0;Qb=b;Qb=b+16|0;b=d+4|0;c=d+8|0;f=v[(y[b>>2]>2]?b:c)>>2]}e=-1;d:{if(v[a+12>>2]==v[a+16>>2]){Wd(v[a+8>>2],v[a+16>>2]-f|0,f);if(w[a+98|0]){b=v[a+8>>2];b=qg(b+f|0,1,v[a+16>>2]-(b+f|0)|0,v[a+64>>2]);if(!b){break d}e=b;b=v[a+8>>2];c=b+f|0;v[a+16>>2]=e+c;v[a+12>>2]=c;v[a+8>>2]=b;e=w[v[a+12>>2]];break d}g=a;b=v[a+40>>2];c=v[a+36>>2];e:{if((b|0)==(c|0)){c=b;break e}Wd(v[a+32>>2],c,b-c|0);b=v[a+36>>2];c=v[a+40>>2]}c=c-b|0;b=v[a+32>>2];c=c+b|0;v[g+36>>2]=c;b=b+((b|0)==(a+44|0)?8:v[a+52>>2])|0;v[a+40>>2]=b;v[d+8>>2]=v[a+60>>2]-f;v[d+4>>2]=b-c;b=Qb-16|0;Qb=b;Qb=b+16|0;b=d+4|0;c=d+8|0;b=v[(y[b>>2]>2]?b:c)>>2];c=v[a+76>>2];v[a+80>>2]=v[a+72>>2];v[a+84>>2]=c;c=qg(v[a+36>>2],1,b,v[a+64>>2]);if(!c){break d}b=v[a+68>>2];if(!b){break a}c=c+v[a+36>>2]|0;v[a+40>>2]=c;g=c;c=v[a+8>>2];f:{if((Ub[v[v[b>>2]+16>>2]](b,a+72|0,v[a+32>>2],g,a+36|0,c+f|0,c+v[a+60>>2]|0,d+8|0)|0)==3){b=v[a+32>>2];v[a+16>>2]=v[a+40>>2];v[a+12>>2]=b;break f}if(v[d+8>>2]==(v[a+8>>2]+f|0)){break d}b=v[a+8>>2];v[a+16>>2]=v[d+8>>2];v[a+12>>2]=b+f}v[a+8>>2]=b;e=w[v[a+12>>2]];break d}e=w[v[a+12>>2]]}if(v[a+8>>2]!=(d+15|0)){break b}v[a+16>>2]=0;v[a+12>>2]=0;v[a+8>>2]=0}Qb=d+16|0;return e|0}ht();L()}function U$(a,b,c,d,e,f){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,u=0,v=0,x=0,y=0,z=0;q=d-1|0;p=q<<2;a:{b:{c:{if(!f){h=B(b,12)+a|0;j=(b<<3)+a|0;k=(b<<2)+a|0;f=w[c^3];z=(e<<2)+c|0;e=w[z^3];if((d|0)<=1){break c}b=0;while(1){m=m+1|0;d=w[z+m^3];g=w[c+m^3];t[a+b^3]=f;n=b|1;l=B(f,3);s=l+g|0;t[n+a^3]=s>>>2;o=b|2;u=f+g|0;t[o+a^3]=u>>>1;r=b|3;i=B(g,3);v=i+f|0;t[r+a^3]=v>>>2;x=e+l|0;t[b+k^3]=x>>>2;l=B(e,3);y=d+i|0;t[k+n^3]=l+(y+B(f,9)|0)>>>4;t[k+o^3]=d+(i+x|0)>>>3;i=B(d,3);t[k+r^3]=i+(B(g,9)+x|0)>>>4;t[b+j^3]=e+f>>>1;t[j+n^3]=(d+l|0)+s>>>3;t[j+o^3]=(d+e|0)+u>>>2;t[j+r^3]=(e+i|0)+v>>>3;t[b+h^3]=f+l>>>2;t[h+n^3]=(B(e,9)+s|0)+i>>>4;t[h+o^3]=(l+u|0)+i>>>3;t[h+r^3]=(l+v|0)+B(d,9)>>>4;b=b+4|0;e=d;f=g;if((m|0)!=(q|0)){continue}break}break b}e=B(b,12)+a|0;g=(b<<3)+a|0;h=(b<<2)+a|0;f=w[c^3];d:{if((d|0)<2){d=f;break d}b=0;while(1){o=o+1|0;d=w[o+c^3];t[a+b^3]=f;j=b|1;k=B(f,3)+d>>>2|0;t[j+a^3]=k;i=b|2;l=d+f>>>1|0;t[i+a^3]=l;m=b|3;n=B(d,3)+f>>>2|0;t[m+a^3]=n;t[b+h^3]=f;t[h+j^3]=k;t[h+i^3]=l;t[h+m^3]=n;t[b+g^3]=f;t[g+j^3]=k;t[g+i^3]=l;t[g+m^3]=n;t[b+e^3]=f;t[e+j^3]=k;t[e+i^3]=l;t[e+m^3]=n;b=b+4|0;f=d;if((o|0)!=(q|0)){continue}break}}b=q<<2;t[b+a^3]=d;c=p|1;t[c+a^3]=d;f=p|2;t[f+a^3]=d;i=a;a=p|3;t[i+a^3]=d;t[b+h^3]=d;t[c+h^3]=d;t[f+h^3]=d;t[a+h^3]=d;t[b+g^3]=d;t[c+g^3]=d;t[f+g^3]=d;t[a+g^3]=d;t[b+e^3]=d;t[c+e^3]=d;t[e+f^3]=d;a=a+e|0;break a}i=B(e,3);y=B(f,3)+e|0}b=q<<2;t[b+a^3]=f;c=p|1;t[c+a^3]=f;g=p|2;t[g+a^3]=f;d=a;a=p|3;t[d+a^3]=f;d=y>>>2|0;t[b+k^3]=d;t[c+k^3]=d;t[g+k^3]=d;t[a+k^3]=d;d=e+f>>>1|0;t[b+j^3]=d;t[c+j^3]=d;t[g+j^3]=d;t[a+j^3]=d;d=f+i>>>2|0;t[b+h^3]=d;t[c+h^3]=d;t[g+h^3]=d;a=a+h|0}t[a^3]=d}function cra(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;g=Qb-32|0;Qb=g;if(jj(b)){v[g+24>>2]=0;v[g+28>>2]=0;v[g+16>>2]=0;v[g+20>>2]=0;h=g+16|0;v[h>>2]=982500;v[h+4>>2]=0;v[h+8>>2]=0;v[h+12>>2]=0;v[299999]=0;e=S(4464,b|0)|0;d=v[299999];v[299999]=0;a:{b:{if((d|0)==1){break b}v[299999]=0;d=v[v[a+12>>2]+((e>>>0)%y[a+8>>2]<<2)>>2];f=v[299999];v[299999]=0;if((f|0)==1){break b}c:{if(d){while(1){if((e|0)==v[d+12>>2]){v[299999]=0;f=Q(4461,d+16|0,b|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break b}if(f){break c}}d=v[d+8>>2];if(d){continue}break}}v[299999]=0;e=Q(4466,a|0,b|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break b}v[299999]=0;Q(4467,e+52|0,h|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break b}v[299999]=0;e=S(4464,b|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break b}v[299999]=0;d=v[v[a+12>>2]+((e>>>0)%y[a+8>>2]<<2)>>2];f=v[299999];v[299999]=0;if((f|0)==1){break b}if(d){while(1){if((e|0)==v[d+12>>2]){v[299999]=0;f=Q(4461,d+16|0,b|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break b}if(f){break c}}d=v[d+8>>2];if(d){continue}break}}d=0}v[g+12>>2]=a;v[g+8>>2]=d;if(!d){v[299999]=0;V(4468,g+8|0,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break b}L()}b=v[d+60>>2];if(b){e=v[c>>2];while(1){if((e|0)==v[b+8>>2]){break a}b=v[b>>2];if(b){continue}break}}v[299999]=0;b=S(1,12)|0;e=v[299999];v[299999]=0;if((e|0)==1){break b}v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;e=b;f=v[c>>2];if(f){v[299999]=0;v[f+4>>2]=v[f+4>>2]+1;f=v[299999];v[299999]=0;if((f|0)==1){break b}c=v[c>>2]}else{c=0}v[e+8>>2]=c;v[299999]=0;Le(d+52|0,b);b=v[299999];v[299999]=0;if((b|0)!=1){break a}}a=P()|0;O()|0;Ic(h);T(a|0);L()}Ic(h)}Bx(a);Qb=g+32|0}function SOa(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,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,z=0,A=0;x=Qb-288|0;Qb=x;y=v[a+332>>2];a=v[b+84>>2];b=x;while(1){m=v[a+128>>2];n=u[c+64>>1];i=B(v[a+32>>2],u[c+16>>1]);j=B(v[a+224>>2],u[c+112>>1]);g=i-j|0;k=B(v[a+96>>2],u[c+48>>1]);f=B(v[a+160>>2],u[c+80>>1]);o=k-f|0;h=B(g+o|0,4433);p=B(v[a+64>>2],u[c+32>>1]);q=B(v[a+192>>2],u[c+96>>1]);r=p-q<<13;l=B(u[c>>1],v[a>>2])<<13|1024;s=r+l|0;g=h+B(g,6270)|0;v[b+240>>2]=s-g>>11;v[b+24>>2]=g+s>>11;g=l-r|0;h=h+B(o,-15137)|0;v[b+168>>2]=g-h>>11;v[b+96>>2]=h+g>>11;m=B(B(m,n),10033);n=m+l|0;g=q<<13;o=g+B(p,11190)|0;q=n-o|0;s=f+i|0;h=B(s+j|0,7053);r=B(k,-4433);z=h+((r+B(i,-5540)|0)+B(j,-16244)|0)|0;v[b+144>>2]=q-z>>11;v[b+120>>2]=q+z>>11;n=n+o|0;o=B(i,2295);i=B(k,10703);k=h+B(s,2139)|0;o=(o+i|0)+k|0;v[b+264>>2]=n-o>>11;v[b>>2]=n+o>>11;p=B(p,2998)-g|0;l=l-m|0;m=p+l|0;g=r+B(f,-12112)|0;f=B(f+j|0,-8565);k=k+(g+f|0)|0;v[b+216>>2]=m-k>>11;v[b+48>>2]=k+m>>11;l=l-p|0;j=f+(h+(B(j,12998)-i|0)|0)|0;v[b+192>>2]=l-j>>11;v[b+72>>2]=j+l>>11;b=b+4|0;a=a+4|0;c=c+2|0;A=A+1|0;if((A|0)!=6){continue}break}a=y+128|0;j=0;b=x;while(1){i=v[b+20>>2];f=v[b+4>>2];l=B(i+f|0,2998);c=v[(j<<2)+d>>2]+e|0;k=v[b+12>>2];h=l+(k+f<<13)|0;y=(v[b>>2]<<13)+131072|0;p=v[b+16>>2];m=y+B(p,5793)|0;n=B(v[b+8>>2],10033);g=m+n|0;t[c|0]=w[a+(h+g>>>18&1023)|0];t[c+5|0]=w[a+(g-h>>>18&1023)|0];f=f-(i+k|0)<<13;h=y+B(p,-11586)|0;t[c+1|0]=w[a+(f+h>>>18&1023)|0];t[c+4|0]=w[a+(h-f>>>18&1023)|0];i=l+(i-k<<13)|0;f=m-n|0;t[c+2|0]=w[a+(i+f>>>18&1023)|0];t[c+3|0]=w[a+(f-i>>>18&1023)|0];b=b+24|0;j=j+1|0;if((j|0)!=12){continue}break}Qb=x+288|0}function iY(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0,C=0,E=0;f=v[a+4>>2];g=v[f>>2];k=A[g+32>>3];x=A[g>>3];s=A[g+16>>3];q=A[g+40>>3];l=A[g+8>>3];r=A[a+16>>3];j=A[g+24>>3];u=A[a+24>>3];i=(e|0)>1?e:1;v[f+24>>2]=i;v[f+4>>2]=i;h=f;r=r+ +(c|0);n=j;j=u+ +(d|0);u=n*j;n=(q+(l*r+u))*256;n=n+(n<0?-.5:.5);a:{if(D(n)<2147483648){d=~~n;break a}d=-2147483648}v[h+40>>2]=d;h=f;s=j*s;j=(k+(r*x+s))*256;j=j+(j<0?-.5:.5);b:{if(D(j)<2147483648){c=~~j;break b}c=-2147483648}v[h+20>>2]=c;h=f;j=q;q=r+ +(e>>>0);l=(j+(q*l+u))*256;l=l+(l<0?-.5:.5);c:{if(D(l)<2147483648){m=~~l;break c}m=-2147483648}d=m-d|0;g=(d|0)/(i|0)|0;o=d-B(g,i)|0;p=(o|0)<1;v[h+28>>2]=g-p;h=f;k=(k+(q*x+s))*256;k=k+(k<0?-.5:.5);d:{if(D(k)<2147483648){d=~~k;break d}d=-2147483648}c=d-c|0;d=(c|0)/(i|0)|0;m=d;c=c-B(d,i)|0;d=(c|0)<1;v[h+8>>2]=m-d;g=o+(p?e:0)|0;v[f+32>>2]=g;c=c+(d?e:0)|0;v[f+12>>2]=c;v[f+36>>2]=g-e;v[f+16>>2]=c-e;i=v[a>>2];d=i+4|0;f=v[a+4>>2];g=v[f+40>>2];c=v[f+20>>2];y=v[f+28>>2];z=v[f+32>>2];C=v[f+8>>2];E=v[f+12>>2];while(1){a=g>>8;v[i+16>>2]=a;o=c>>8;v[i+8>>2]=o;v[i+12>>2]=o;m=0;h=d;e:{if((g|0)<0){break e}p=v[v[i>>2]>>2];h=d;if(v[p+12>>2]<=(a|0)){break e}h=d;if((c|0)<0){break e}h=d;if((o|0)>=v[p+8>>2]){break e}m=(v[p+4>>2]+B(v[p+16>>2],a)|0)+(o<<2)|0;h=m}a=h;v[i+20>>2]=m;t[b|0]=w[a+2|0];t[b+1|0]=w[a+1|0];t[b+2|0]=w[a|0];t[b+3|0]=w[a+3|0];c=c+C|0;v[f+20>>2]=c;a=v[f+16>>2]+E|0;v[f+16>>2]=a;if((a|0)>=1){c=c+1|0;v[f+20>>2]=c;v[f+16>>2]=a-v[f+4>>2]}g=g+y|0;v[f+40>>2]=g;a=v[f+36>>2]+z|0;v[f+36>>2]=a;if((a|0)>=1){g=g+1|0;v[f+40>>2]=g;v[f+36>>2]=a-v[f+24>>2]}b=b+4|0;e=e-1|0;if(e){continue}break}}function gY(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,y=0,z=0,C=0,E=0;f=v[a+4>>2];g=v[f>>2];k=A[g+32>>3];x=A[g>>3];s=A[g+16>>3];q=A[g+40>>3];l=A[g+8>>3];r=A[a+16>>3];j=A[g+24>>3];u=A[a+24>>3];i=(e|0)>1?e:1;v[f+24>>2]=i;v[f+4>>2]=i;h=f;r=r+ +(c|0);n=j;j=u+ +(d|0);u=n*j;n=(q+(l*r+u))*256;n=n+(n<0?-.5:.5);a:{if(D(n)<2147483648){d=~~n;break a}d=-2147483648}v[h+40>>2]=d;h=f;s=j*s;j=(k+(r*x+s))*256;j=j+(j<0?-.5:.5);b:{if(D(j)<2147483648){c=~~j;break b}c=-2147483648}v[h+20>>2]=c;h=f;j=q;q=r+ +(e>>>0);l=(j+(q*l+u))*256;l=l+(l<0?-.5:.5);c:{if(D(l)<2147483648){m=~~l;break c}m=-2147483648}d=m-d|0;g=(d|0)/(i|0)|0;o=d-B(g,i)|0;p=(o|0)<1;v[h+28>>2]=g-p;h=f;k=(k+(q*x+s))*256;k=k+(k<0?-.5:.5);d:{if(D(k)<2147483648){d=~~k;break d}d=-2147483648}c=d-c|0;d=(c|0)/(i|0)|0;m=d;c=c-B(d,i)|0;d=(c|0)<1;v[h+8>>2]=m-d;g=o+(p?e:0)|0;v[f+32>>2]=g;c=c+(d?e:0)|0;v[f+12>>2]=c;v[f+36>>2]=g-e;v[f+16>>2]=c-e;i=v[a>>2];d=i+4|0;f=v[a+4>>2];g=v[f+40>>2];c=v[f+20>>2];y=v[f+28>>2];z=v[f+32>>2];C=v[f+8>>2];E=v[f+12>>2];while(1){a=g>>8;v[i+16>>2]=a;o=c>>8;v[i+8>>2]=o;v[i+12>>2]=o;m=0;h=d;e:{if((g|0)<0){break e}p=v[v[i>>2]>>2];h=d;if(v[p+12>>2]<=(a|0)){break e}h=d;if((c|0)<0){break e}h=d;if((o|0)>=v[p+8>>2]){break e}m=(v[p+4>>2]+B(v[p+16>>2],a)|0)+(o<<2)|0;h=m}a=h;v[i+20>>2]=m;t[b|0]=w[a|0];t[b+1|0]=w[a+1|0];t[b+2|0]=w[a+2|0];t[b+3|0]=w[a+3|0];c=c+C|0;v[f+20>>2]=c;a=v[f+16>>2]+E|0;v[f+16>>2]=a;if((a|0)>=1){c=c+1|0;v[f+20>>2]=c;v[f+16>>2]=a-v[f+4>>2]}g=g+y|0;v[f+40>>2]=g;a=v[f+36>>2]+z|0;v[f+36>>2]=a;if((a|0)>=1){g=g+1|0;v[f+40>>2]=g;v[f+36>>2]=a-v[f+24>>2]}b=b+4|0;e=e-1|0;if(e){continue}break}}function Kc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;e=v[a+1176>>2];if((e|0)<=v[a+92>>2]){f=v[b+20>>2];a:{while(1){v[b>>2]=2147483632;v[b+28>>2]=f;j=v[b+8>>2];v[b+16>>2]=j;u[f+2>>1]=0;e=v[a+44>>2]+(e-v[a+84>>2]<<3)|0;k=v[e+4>>2];if(k){e=v[a+32>>2]+(v[e>>2]<<2)|0;l=0;i=2147483632;g=f;while(1){f=v[e>>2];l=v[f+8>>2]+l|0;m=v[f+12>>2];h=v[f>>2];d=k-1|0;b:{if(!d){n=1;c=0;break b}k=((k<<2)+e|0)-4|0;while(1){c=e+4|0;f=v[e+4>>2];e=v[f>>2];n=(e|0)==(h|0);if((e|0)!=(h|0)){e=c;c=d;break b}l=v[f+8>>2]+l|0;m=v[f+12>>2]+m|0;e=c;d=d-1|0;if(d){continue}break}e=k;c=0}k=c;if(m){c=(l<<9)-m|0;d=c>>9;d=(c|0)<0?0-d|0:d;c=d&511;c=v[a+1156>>2]==1?c>>>0>256?512-c|0:c:d;c=v[((((c|0)<255?c:255)<<2)+a|0)+132>>2];if(c){t[j|0]=c;c=v[b+28>>2];c:{d:{if((v[b>>2]+1|0)!=(h|0)){break d}g=u[c+2>>1];if((g|0)<1){break d}u[c+2>>1]=g+1;d=v[b+16>>2];g=c;break c}g=c+8|0;v[b+28>>2]=g;d=v[b+16>>2];u[c+10>>1]=1;u[c+8>>1]=h;v[c+12>>2]=d}v[b>>2]=h;j=d+1|0;v[b+16>>2]=j;i=h}h=h+1|0}e:{if(n){break e}f=v[f>>2];if((f|0)<=(h|0)){break e}c=l<<9;d=c>>9;d=(c|0)<0?0-d|0:d;c=d&511;c=v[a+1156>>2]==1?c>>>0>256?512-c|0:c:d;c=v[((((c|0)<255?c:255)<<2)+a|0)+132>>2];if(!c){break e}d=f-h|0;f:{g:{if((i+1|0)!=(h|0)){break g}i=u[g+2>>1];if((c|0)!=w[v[g+4>>2]]|(i|0)>-1){break g}u[g+2>>1]=i-d;break f}t[j|0]=c;c=v[b+28>>2];g=c+8|0;v[b+28>>2]=g;i=v[b+16>>2];j=i+1|0;v[b+16>>2]=j;u[c+10>>1]=0-d;u[c+8>>1]=h;v[c+12>>2]=i}i=f-1|0;v[b>>2]=i}if(k){continue}break}f=v[b+20>>2];if((g|0)!=(f|0)){break a}}g=v[a+1176>>2];e=g+1|0;v[a+1176>>2]=e;if((g|0)>2]){continue}break}return 0}e=b;b=v[a+1176>>2];v[e+4>>2]=b;v[a+1176>>2]=b+1;a=1}else{a=0}return a}function yk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;e=Qb+-64|0;Qb=e;f=v[a+11720>>2];l=!(w[v[a+11676>>2]+5|0]?w[a+11665|0]:1);g=v[a+11724>>2];if(!(l|(g|0)!=(c|0)?0:(f|0)==(b|0))){FH(a,f,g,b,c,e+20|0,e+16|0);d=v[e+20>>2];j=d+v[a+11720>>2]|0;v[e+8>>2]=j;f=v[e+16>>2];g=f+v[a+11724>>2]|0;v[e+12>>2]=g;f=c+f|0;k=b+d|0;if(w[a+11667|0]){v[e+56>>2]=1;d=v[a+11732>>2];v[e+24>>2]=v[a+11728>>2];v[e+28>>2]=d;h=a+8|0;if(!w[a+20|0]){i=v[a+11740>>2];d=v[a+11736>>2];a:{b:{if(!w[a+11664|0]){v[a+11724>>2]=i;v[a+11720>>2]=d;t[a+11667|0]=1;d=v[a+11676>>2];break b}t[a+11665|0]=1;yk(a,d,i);if(w[a+11744|0]){mm(a,h,a+11704|0,v[a+11712>>2],v[a+11716>>2],1)}t[a+11744|0]=0;u[a+11664>>1]=0;v[a+11736>>2]=d;v[a+11740>>2]=i;v[a+11720>>2]=d;v[a+11724>>2]=i;t[a+11667|0]=1;if(!w[a+20|0]){d=v[a+11676>>2];break b}d=v[a+11676>>2];if(!w[d+5|0]){break a}}lm(h,v[a+11668>>2],v[a+11672>>2],d,v[a+11680>>2],0)}gc(a+3876|0,h,3868)}i=Ac(v[a+11644>>2],j);d=Ac(v[a+11648>>2],g);h=ol(h,g);d=d+i|0;m=e,n=(Ac(v[v[a>>2]+64>>2],d)+Ac(v[v[a>>2]+72>>2],h)|0)+v[a+11656>>2]|0,v[m+32>>2]=n;m=e,n=(Ac(v[v[a>>2]+68>>2],d)+Ac(v[v[a>>2]+76>>2],h)|0)+v[a+11660>>2]|0,v[m+36>>2]=n;d=v[a+4>>2];Ub[v[d>>2]](d,e+24|0);h=v[e+32>>2];i=v[e+36>>2];d=0;v[a+11704>>2]=d|j;v[a+11708>>2]=g;v[a+11728>>2]=h;v[a+11732>>2]=i;v[a+11712>>2]=d|k;v[a+11716>>2]=f;t[a+11664|0]=1;t[a+11667|0]=0}if(w[a+11744|0]){mm(a,a+8|0,e+8|0,k,f,0)}v[a+11748>>2]=2;t[a+11744|0]=1;g=v[e+12>>2];v[a+11752>>2]=v[e+8>>2];v[a+11756>>2]=g;v[a+11760>>2]=k;v[a+11764>>2]=f;if(l){lm(a+8|0,v[a+11668>>2],v[a+11672>>2],v[a+11676>>2],v[a+11680>>2],0)}v[a+11724>>2]=c;v[a+11720>>2]=b}Qb=e- -64|0}function qya(a,b){a=a|0;b=b|0;var c=0,d=0;a:{c=v[a+508>>2];if((c|0)>=2){d=c-1|0;c=0;while(1){if(v[(B(c,12)+a|0)+272>>2]==218){break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}}b=w[43840]|w[43841]<<8|(w[43842]<<16|w[43843]<<24);t[a+35|0]=b;t[a+36|0]=b>>>8;t[a+37|0]=b>>>16;t[a+38|0]=b>>>24;b=w[43837]|w[43838]<<8|(w[43839]<<16|w[43840]<<24);c=w[43833]|w[43834]<<8|(w[43835]<<16|w[43836]<<24);t[a+28|0]=c;t[a+29|0]=c>>>8;t[a+30|0]=c>>>16;t[a+31|0]=c>>>24;t[a+32|0]=b;t[a+33|0]=b>>>8;t[a+34|0]=b>>>16;t[a+35|0]=b>>>24;b=w[43829]|w[43830]<<8|(w[43831]<<16|w[43832]<<24);c=w[43825]|w[43826]<<8|(w[43827]<<16|w[43828]<<24);t[a+20|0]=c;t[a+21|0]=c>>>8;t[a+22|0]=c>>>16;t[a+23|0]=c>>>24;t[a+24|0]=b;t[a+25|0]=b>>>8;t[a+26|0]=b>>>16;t[a+27|0]=b>>>24;b=w[43821]|w[43822]<<8|(w[43823]<<16|w[43824]<<24);c=w[43817]|w[43818]<<8|(w[43819]<<16|w[43820]<<24);t[a+12|0]=c;t[a+13|0]=c>>>8;t[a+14|0]=c>>>16;t[a+15|0]=c>>>24;t[a+16|0]=b;t[a+17|0]=b>>>8;t[a+18|0]=b>>>16;t[a+19|0]=b>>>24;b=w[43813]|w[43814]<<8|(w[43815]<<16|w[43816]<<24);c=w[43809]|w[43810]<<8|(w[43811]<<16|w[43812]<<24);t[a+4|0]=c;t[a+5|0]=c>>>8;t[a+6|0]=c>>>16;t[a+7|0]=c>>>24;t[a+8|0]=b;t[a+9|0]=b>>>8;t[a+10|0]=b>>>16;t[a+11|0]=b>>>24;return 0}Ub[v[v[b>>2]+44>>2]](b,255)|0;Ub[v[v[b>>2]+44>>2]](b,216)|0;if((v[a+272>>2]&-2)!=224){Ub[v[v[b>>2]+16>>2]](b,1027680,18,1)|0}c=0;if(v[a+508>>2]>=2){while(1){Ub[v[v[b>>2]+44>>2]](b,255)|0;d=B(c,12)+a|0;Ub[v[v[b>>2]+44>>2]](b,w[d+272|0])|0;Ub[v[v[b>>2]+16>>2]](b,v[d+268>>2],v[d+276>>2],1)|0;c=c+1|0;if((c|0)<(v[a+508>>2]-1|0)){continue}break}}a=B(c,12)+a|0;Ub[v[v[b>>2]+16>>2]](b,v[a+268>>2],v[a+276>>2],1)|0;return 1}function mQa(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,h=0,i=0;g=Qb-112|0;Qb=g;a:{b:{c:{d:{e:{f:{g:{if(!v[a+164>>2]){b=0;break g}ic(g+16|0,0,96);v[299999]=0;h=S(1,12)|0;i=v[299999];v[299999]=0;if((i|0)==1){break d}h:{if(t[b+11|0]>=0){i=v[b+4>>2];v[h>>2]=v[b>>2];v[h+4>>2]=i;v[h+8>>2]=v[b+8>>2];break h}i=v[b+4>>2];b=v[b>>2];v[299999]=0;U(2345,h|0,b|0,i|0);b=v[299999];v[299999]=0;if((b|0)==1){break c}}v[299999]=0;v[g+16>>2]=h;b=S(1,4)|0;h=v[299999];v[299999]=0;if((h|0)==1){break d}v[b>>2]=0;v[299999]=0;v[g+32>>2]=b;h=S(1,4)|0;i=v[299999];v[299999]=0;if((i|0)==1){break d}v[h>>2]=0;v[g+36>>2]=h;d=v[d>>2];if(d&1){v[b>>2]=1}if(d&2){v[h>>2]=1}b=v[a+164>>2];d=v[v[b>>2]+20>>2];v[299999]=0;b=S(d|0,b|0)|0;d=v[299999];v[299999]=0;i:{j:{k:{if((d|0)==1){break k}d=v[v[b>>2]+20>>2];v[299999]=0;d=Y(d|0,b|0,g+16|0,1)|0;b=v[299999];v[299999]=0;if((b|0)==1){break k}if(d){break j}b=0;break i}a=P()|0;O()|0;break a}v[g+12>>2]=v[d+24>>2];b=v[v[a>>2]+144>>2];v[299999]=0;b=aa(b|0,a|0,d+12|0,g+12|0,c|0,e|0,f|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}if((b|0)!=1){break i}c=0;e=v[g+32>>2];b=0;l:{if(!e){break l}b=0;if(v[e>>2]!=1){break l}b=!v[d+40>>2]}e=v[g+36>>2];c=!e|v[e>>2]!=1?c:!v[d+44>>2];d=v[a+12>>2];v[g+12>>2]=b;b=v[v[d>>2]+60>>2];v[299999]=0;V(b|0,d|0,g+12|0);b=v[299999];v[299999]=0;if((b|0)==1){break f}a=v[a+12>>2];v[g+12>>2]=c;b=v[v[a>>2]+56>>2];v[299999]=0;V(b|0,a|0,g+12|0);a=v[299999];v[299999]=0;if((a|0)==1){break e}b=1}iv(g+16|0)}Qb=g+112|0;return b|0}a=P()|0;O()|0;break a}a=P()|0;O()|0;break a}a=P()|0;O()|0;break a}a=P()|0;O()|0;dc(h);break a}a=P()|0;O()|0}iv(g+16|0);T(a|0);L()}function fr(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;if(v[a+8>>2]==1){zc(v[a+628>>2],v[a>>2],46863,0);return-1}if(!(w[a+13|0]&4)){zc(v[a+628>>2],v[a>>2],47383,0);return-1}f=Qb+-64|0;Qb=f;g=v[a+56>>2];a:{b:{if(g>>>0<=c>>>0){h=v[a>>2];i=v[a+628>>2];v[f+52>>2]=g-1;v[f+48>>2]=c;zc(i,h,1123,f+48|0);break b}g=v[a+60>>2];if(g>>>0<=d>>>0){h=v[a>>2];i=v[a+628>>2];v[f+36>>2]=g-1;v[f+32>>2]=d;zc(i,h,5008,f+32|0);break b}g=v[a- -64>>2];if(!g){h=v[a>>2];i=v[a+628>>2];v[f+20>>2]=g-1;v[f+16>>2]=0;zc(i,h,9278,f+16|0);break b}g=1;if(x[a+138>>1]!=2){break a}h=x[a+98>>1];if(h>>>0>e>>>0){break a}g=v[a>>2];i=v[a+628>>2];v[f+4>>2]=h-1;v[f>>2]=e;zc(i,g,12641,f)}g=0}Qb=f- -64|0;if(!g){return-1}f=a;h=v[a+72>>2];g=1;i=v[a+68>>2];if((i|0)==-1){i=v[f+56>>2]}h=(h|0)==-1?v[f+60>>2]:h;c:{d:{if(!i|!h){break d}l=v[f- -64>>2];j=v[f+76>>2];j=(j|0)==-1?l:j;if(!j){break d}g=0;k=v[f+56>>2];if(k>>>0<0-i>>>0){m=((i+k|0)-1>>>0)/(i>>>0)|0}k=v[f+60>>2];if(k>>>0<0-h>>>0){g=((h+k|0)-1>>>0)/(h>>>0)|0}k=0;k=0-j>>>0>l>>>0?((j+l|0)-1>>>0)/(j>>>0)|0:k;e=B(B(B(e,k)+(0/(j>>>0)|0)|0,g)+((d>>>0)/(h>>>0)|0)|0,m)+((c>>>0)/(i>>>0)|0)|0;if(x[f+138>>1]==2){break c}g=B(B(0/(j>>>0)|0,g)+((d>>>0)/(h>>>0)|0)|0,m)+((c>>>0)/(i>>>0)|0)|0}e=g}c=e;e=b;f=Qb-16|0;Qb=f;e:{if(v[a+8>>2]==1){zc(v[a+628>>2],v[a>>2],46863,0);b=-1;break e}if(!(w[a+13|0]&4)){zc(v[a+628>>2],v[a>>2],47383,0);b=-1;break e}b=v[a+180>>2];if(b>>>0<=c>>>0){d=v[a>>2];a=v[a+628>>2];v[f+4>>2]=b;v[f>>2]=c;zc(a,d,22970,f);b=-1;break e}d=v[a+508>>2];b=-1;if(!QN(a,c)){break e}if(!(Ub[v[a+556>>2]](a,e,d,(c>>>0)/y[a+176>>2]&65535)|0)){break e}Ub[v[a+652>>2]](a,e,d);b=d}Qb=f+16|0;return b}function CZ(a,b,c){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,p=0,q=0,r=0,s=0,t=0,u=0;a:{e=v[a+16>>2];k=w[e+6|0]<<8|w[e+7|0]&254;b:{if(!k){break b}i=(c|0)!=0;f=i+v[b>>2]|0;if(f>>>0>65535){break b}p=v[a>>2];q=v[p+508>>2]+v[p+512>>2]|0;a=k>>>1|0;r=a>>>0>1?a:1;s=a-1|0;n=e+14|0;e=(e+k|0)+16|0;c:{if(!c){while(1){j=w[e+1|0]|w[e|0]<<8;a=j>>>0>f>>>0;if(a){break c}d:{l=a?j:f;a=w[n+1|0]|w[n|0]<<8;if(l>>>0>a>>>0){break d}i=(j|0)==65535&m>>>0>=s>>>0&(a|0)==65535;a=e+k|0;g=a+k|0;h=w[g|0]<<8|w[g+1|0];i=i&(h|0)!=0&(g+h|0)+2>>>0>q>>>0;h=i?0:h;if((h|0)==65535){break d}if(!h){break a}e=g+(h+(l-j<<1)|0)|0;e=w[e|0]<<8|w[e+1|0];if(!e){break c}a=e+(i?1:w[a+1|0]|w[a|0]<<8)&65535;d=a>>>0>2]?a:0;break c}e=e+2|0;n=n+2|0;m=m+1|0;if((r|0)!=(m|0)){continue}break}break c}while(1){e:{a=e;j=w[a|0]<<8|w[a+1|0];g=j>>>0<=f>>>0;if(!(g|i)){break e}e=a+2|0;d=n;n=d+2|0;l=w[d+1|0]|w[d|0]<<8;t=(j|0)==65535&m>>>0>=s>>>0&(l|0)==65535;f=g?f:j;h=a+k|0;g=h+k|0;u=g+2|0;f:{while(1){if(f>>>0>l>>>0){break f}a=w[h|0]|w[h+1|0]<<8;d=w[g+1|0]|w[g|0]<<8;o=t&(d|0)!=0&d+u>>>0>q>>>0;a=o?1:(a<<8|a>>>8)<<16>>16;g:{h:{d=o?0:d;if(d){if((d|0)==65535){break f}d=(d+(f-j<<1)|0)+g|0;if(d>>>0>q>>>0&i){break f}d=w[d+1|0]|w[d|0]<<8;if(!d){a=f;break g}d=a+d&65535;if(d>>>0>2]){break h}a=f;break g}o=a+f|0;d=o&65535;if(d>>>0>2]){break h}d=a+l|0;if(!((d|0)<0|(o|0)>-1)){a=0-a|0;break g}if((d|0)<65536|(o|0)>65535){break f}a=65536-a|0;break g}a=f;if(d){break c}}f=a+1|0;if(a>>>0<=65534){continue}break}f=a;break e}m=m+1|0;if((r|0)!=(m|0)){continue}}break}d=0}if(!c){break b}v[b>>2]=f}return d}return l+(i?1:w[a+1|0]|w[a|0]<<8)&65535}function Ahb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;if(v[a+12>>2]<1){return 0}g=v[a+16>>2];a:{b:{while(1){d=v[c+8>>2];if(d&7){break a}e=w[g+1|0];f=v[c+64>>2];if((f|0)>=0&(f|0)<=v[c+60>>2]){break b}v[c+4>>2]=v[c+4>>2]|32;d=v[c+28>>2];v[c+28>>2]=d-1;c:{if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;d=v[c+24>>2];v[c+24>>2]=d+1;t[d|0]=e;break c}if((Fc(c,e)|0)==-1){break a}}e=v[g+4>>2];d:{if(y[b>>2]>=257){if(!Gg(c,e)){break d}break a}d=v[c+8>>2];if(d&7){break a}f=v[c+64>>2];if((f|0)>=0&(f|0)<=v[c+60>>2]){break b}v[c+4>>2]=v[c+4>>2]|32;d=v[c+28>>2];v[c+28>>2]=d-1;if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;d=v[c+24>>2];v[c+24>>2]=d+1;t[d|0]=e;break d}if((Fc(c,e&255)|0)==-1){break a}}if(Gg(c,v[g+12>>2])){break a}d=v[c+8>>2];if(d&7){break a}e=w[g+2|0];f=v[c+64>>2];if((f|0)>=0&(f|0)<=v[c+60>>2]){break b}v[c+4>>2]=v[c+4>>2]|32;d=v[c+28>>2];v[c+28>>2]=d-1;e:{if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;d=v[c+24>>2];v[c+24>>2]=d+1;t[d|0]=e;break e}if((Fc(c,e)|0)==-1){break a}}e=v[g+8>>2];f:{if(y[b>>2]>=257){if(!Gg(c,e)){break f}break a}d=v[c+8>>2];if(d&7){break a}f=v[c+64>>2];if((f|0)>=0&(f|0)<=v[c+60>>2]){break b}v[c+4>>2]=v[c+4>>2]|32;d=v[c+28>>2];v[c+28>>2]=d-1;if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;d=v[c+24>>2];v[c+24>>2]=d+1;t[d|0]=e;break f}if((Fc(c,e&255)|0)==-1){break a}}d=v[c+8>>2];if(d&7){break a}e=w[g|0];f=v[c+64>>2];if((f|0)>=0&(f|0)<=v[c+60>>2]){break b}v[c+4>>2]=v[c+4>>2]|32;d=v[c+28>>2];v[c+28>>2]=d-1;g:{if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;d=v[c+24>>2];v[c+24>>2]=d+1;t[d|0]=e;break g}if((Fc(c,e)|0)==-1){break a}}g=g+16|0;h=h+1|0;if((h|0)>2]){continue}break}return 0}v[c+8>>2]=d|4}return-1}function MA(a){var b=0,c=0,d=0;a:{b:{c:{if(w[a+432|0]){d:{if(!w[a+496|0]|!w[a+304|0]){break d}c=v[a+520>>2];if(!c){break d}v[a+524>>2]=v[a+524>>2]+1;e:{switch(w[c+28|0]-1|0){case 0:d=a;b=v[c+32>>2];c=v[a+1116>>2];f:{if(b>>>0<=c>>>0){if(c){break f}b=1}v[d+1116>>2]=b}b=NA(a);if(b){break b}if(!w[a+497|0]){b=p1(a);if(b){break b}}t[a+498|0]=10;break d;case 1:b=Tv(a);if(b){break b}g:{b=v[a+208>>2];if(!b){break g}if(Ub[b|0](a,v[a+524>>2],0)|0){break g}break a}v[a+508>>2]=0;t[a+504|0]=1;v[a+516>>2]=c;b=v[c+32>>2];d=v[a+1116>>2];if(b>>>0>d>>>0){v[a+1116>>2]=b;break d}if(d){break d}v[a+1116>>2]=1;break d;case 2:break e;default:break d}}d=v[c+36>>2];b=d-1|0;if(b>>>0<=2147483645){v[c+36>>2]=b}else{b=d}if(b){b=Tv(a);if(b){break b}h:{b=v[a+208>>2];if(!b){break h}if(Ub[b|0](a,v[a+524>>2],v[c+36>>2])|0){break h}break a}v[a+516>>2]=c;b=v[c+32>>2];if(!b){break d}d=a;c=v[a+1116>>2];i:{if(c>>>0>=b>>>0){if(c){break i}b=1}v[d+1116>>2]=b}t[a+502|0]=1;break d}j:{switch(w[c+29|0]-1|0){case 0:d=a;b=v[c+32>>2];c=v[a+1116>>2];k:{if(b>>>0<=c>>>0){if(c){break k}b=1}v[d+1116>>2]=b}b=NA(a);if(b){break b}if(!w[a+497|0]){b=p1(a);if(b){break b}}t[a+498|0]=10;break d;case 1:break j;default:break d}}b=Tv(a);if(b){break b}l:{b=v[a+208>>2];if(!b){break l}if(Ub[b|0](a,v[a+524>>2],0)|0){break l}break a}v[a+508>>2]=0;t[a+504|0]=1;v[a+516>>2]=c;b=v[c+32>>2];d=v[a+1116>>2];if(b>>>0>d>>>0){v[a+1116>>2]=b;break d}if(d){break d}v[a+1116>>2]=1}if(w[a+432|0]){break c}}if(!w[a+344|0]){break c}b=v[a+208>>2];if(!b){break c}if(Ub[b|0](a,0,0)|0){break c}break a}b=0;if(v[a+516>>2]){break b}t[a+502|0]=1}return b}pc(a,904,0,0);return 904}function v8a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;if(w[b+32|0]){return _d(a,v[b>>2],0,0)|0}d=v[a+428>>2];t[d+8|0]=w[b+33|0];g=d+8|0;e=v[b+36>>2];a:{b:{c:{if(!e){if(w[b+44|0]){d=d+9|0;break b}if(!(w[b+47|0]|(w[b+45|0]|w[b+46|0]))){e=1;break a}d=d+9|0;e=1;break c}gc(d+9|0,v[b+40>>2],e);c=v[b+36>>2];d=(g+c|0)+1|0;if(w[b+44|0]){break b}e=c+1|0}if(w[b+45|0]|w[b+46|0]){break b}if(!w[b+47|0]){break a}}t[d|0]=0;t[d+1|0]=w[b+44|0];t[d+2|0]=w[b+45|0];t[d+3|0]=w[b+46|0];t[d+4|0]=w[b+47|0];d:{if(!w[b+44|0]){e=c+6|0;d=d+5|0;break d}e=v[b+48>>2];e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);t[d+5|0]=e;t[d+6|0]=e>>>8;t[d+7|0]=e>>>16;t[d+8|0]=e>>>24;e=c+10|0;d=d+9|0}if(w[b+45|0]){c=v[b+52>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d|0]=c;t[d+1|0]=c>>>8;t[d+2|0]=c>>>16;t[d+3|0]=c>>>24;e=e+4|0;d=d+4|0}if(w[b+46|0]){t[d|0]=w[b+56|0];c=v[b+60>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+1|0]=c;t[d+2|0]=c>>>8;t[d+3|0]=c>>>16;t[d+4|0]=c>>>24;c=v[b+64>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+5|0]=c;t[d+6|0]=c>>>8;t[d+7|0]=c>>>16;t[d+8|0]=c>>>24;c=v[b+68>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+9|0]=c;t[d+10|0]=c>>>8;t[d+11|0]=c>>>16;t[d+12|0]=c>>>24;c=v[b+72>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+13|0]=c;t[d+14|0]=c>>>8;t[d+15|0]=c>>>16;t[d+16|0]=c>>>24;e=e+17|0;d=d+17|0}if(!w[b+47|0]){break a}c=v[b+76>>2];e=(c<<2)+e|0;if(!c){break a}c=v[b+80>>2];while(1){f=v[c>>2];f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);t[d|0]=f;t[d+1|0]=f>>>8;t[d+2|0]=f>>>16;t[d+3|0]=f>>>24;d=d+4|0;c=c+4|0;h=h+1|0;if(h>>>0>2]){continue}break}}return _d(a,v[b>>2],e,g)|0}function O9a(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;a:{b:{c:{if(w[a+285|0]|w[a+286|0]|(w[a+287|0]|w[a+288|0])){break c}if(w[a+289|0]){break c}break b}if(w[a+300|0]|w[a+293|0]|(w[a+292|0]|w[a+291|0])){break b}d:{e:{f:{g:{h:{i:{j:{k:{l:{if(!w[a+286|0]){f=w[a+287|0];if(f){break k}if(!(w[a+289|0]?1:w[a+288|0])){break l}if((c|0)!=4){break a}if(f){break j}break i}if((c|0)==4){break j}break a}if(!(c&-5)){break i}break a}if((c|0)!=4){break a}}t[a+295|0]=1;break h}m:{if(!(w[a+288|0]|w[a+289|0])){t[a+308|0]=(c|0)!=0;break m}t[a+295|0]=1}if(w[a+288|0]|w[a+289|0]){break h}if(c){break g}f=v[a+2192>>2];break f}n:{if(!w[a+288|0]){g=v[a+512>>2];if(g){break n}}g=v[a+528>>2]}f=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);g=v[g+88>>2];t[g+57|0]=1;v[g+1104>>2]=f<<8&16711680|f<<24|(f>>>8&65280|f>>>24);break e}f=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);f=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);v[a+2192>>2]=f}h=0;o:{if(!w[a+114|0]){break o}h=!c;g=Ub[v[a+152>>2]](36)|0;if(!g){pc(a,1,0,0);h=1;break o}v[g+4>>2]=701;v[g>>2]=702;i=v[a+700>>2];p:{if(i){v[i+8>>2]=g;break p}v[a+696>>2]=g}v[g+8>>2]=0;v[g+12>>2]=i;v[a+700>>2]=g;v[g+16>>2]=v[a+436>>2];v[g+20>>2]=v[a+440>>2];v[g+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=g}v[g+32>>2]=f;t[g+28|0]=h;h=0}f=h;if(f){break d}}q:{if(!w[a+112|0]){break q}f=Ub[v[b+4>>2]](a,b,e)|0;if(f){break d}a=v[e>>2];b=!c;t[a+32|0]=b;if(b){break q}b=a;a=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);v[b+36>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}f=0}return f|0}pc(a,1029,0,0);return 1029}pc(a,1028,0,0);return 1028}function dR(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;n=d+e|0;a:{if((n|0)<0){break a}g=v[a+12>>2];if((g|0)<(n|0)){g=g?g<<1:1024;while(1){f=g;if((n|0)>(f|0)){g=f<<1;if((f|0)>0){continue}}break}if((f|0)<0){break a}i=pd(v[a+8>>2],f,12);v[a+8>>2]=i;g=v[a+12>>2];b:{if((f|0)<=(g|0)){break b}h=(g^-1)+f|0;k=f-g&3;if(k){while(1){j=B(g,12)+i|0;v[j+8>>2]=0;v[j>>2]=-1;g=g+1|0;k=k-1|0;if(k){continue}break}}if(h>>>0<3){break b}while(1){h=B(g,12)+i|0;v[h>>2]=-1;v[h+8>>2]=0;v[h+12>>2]=-1;v[h+20>>2]=0;v[h+24>>2]=-1;v[h+44>>2]=0;v[h+32>>2]=0;v[h+36>>2]=-1;g=g+4|0;if((f|0)!=(g|0)){continue}break}}v[a+12>>2]=f}k=1;if((e|0)<1){break a}while(1){f=v[c>>2];c:{if(!f){m=1;g=0;break c}m=0;g=0;k=0;e=0;if((f|0)<1){break c}while(1){f=Ub[v[v[b>>2]+28>>2]](b)|0;if((f|0)==-1){break a}h=f>>31;j=f;f=m;g=g<<8|f>>>24;i=f<<8;f=j+i|0;g=h+g|0;g=f>>>0>>0?g+1|0:g;m=f;e=e+1|0;if((e|0)>2]){continue}break}}l=0;f=0;k=0;e=0;i=0;h=0;j=0;if(v[c+4>>2]>=1){while(1){j=Ub[v[v[b>>2]+28>>2]](b)|0;if((j|0)==-1){break a}o=j>>31;p=j;h=h<<8|i>>>24;j=i<<8;i=p+j|0;h=h+o|0;h=i>>>0>>0?h+1|0:h;e=e+1|0;if((e|0)>2]){continue}break}j=i;if(!h&i>>>0>2147483647|h){break a}}e=0;if(v[c+8>>2]>=1){while(1){h=Ub[v[v[b>>2]+28>>2]](b)|0;if((h|0)==-1){break a}o=h>>31;p=h;i=l;h=f<<8|i>>>24;l=i<<8;i=p+l|0;f=h+o|0;f=i>>>0>>0?f+1|0:f;l=i;e=e+1|0;if((e|0)>2]){continue}break}if(!f&l>>>0>2147483647|f){break a}}e=v[a+8>>2]+B(d,12)|0;d:{if(v[e>>2]!=-1){break d}if(!g&m>>>0>2|g){return 0}v[e>>2]=j;v[e+8>>2]=m;v[e+4>>2]=l;if(v[a+16>>2]>=(d|0)){break d}v[a+16>>2]=d}k=1;d=d+1|0;if((n|0)>(d|0)){continue}break}}return k}function aq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=Qb-16|0;Qb=e;a:{if(!a){break a}c=-1;b:{c:{switch(b+1|0){case 0:Ij(a,31,350603,0);break a;case 1:v[a+256>>2]=1;break a;case 2:v[a+256>>2]=1;b=v[a+36>>2];if(!b){break a}a=v[b+16>>2];if(w[a|0]!=239|w[a+1|0]!=187|w[a+2|0]!=191){break a}v[b+16>>2]=a+3;break a;case 3:case 4:c=90;f=v[a+36>>2];if(!f){break b}d=v[f+16>>2];if(!d|w[d|0]!=239|(w[d+1|0]!=187|w[d+2|0]!=191)){break b}v[f+16>>2]=d+3;break b;case 10:c=90;break b;case 5:case 6:case 8:case 9:c=180;break b;case 7:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:break c;default:break b}}c=45}d=_F(b);if(!d){d:{switch(b-4|0){case 18:v[a+256>>2]=1;break a;case 0:Ij(a,32,349847,251266);break a;case 1:Ij(a,32,349847,251250);break a;case 2:Ij(a,32,349847,322074);break a;case 3:Ij(a,32,349847,328221);break a;case 4:Ij(a,32,349847,329839);break a;case 5:Ij(a,32,349847,329334);break a;case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:e:{if(v[a+24>>2]|v[a+40>>2]!=1){break e}c=v[a+36>>2];if(!c){break e}c=v[c+44>>2];if(!c){break e}g=a,h=we(c),v[g+24>>2]=h}v[a+256>>2]=b;break a;case 15:Ij(a,32,349847,311918);break a;case 16:Ij(a,32,349847,310713);break a;case 17:break d;default:break a}}Ij(a,32,349847,311911);break a}v[a+256>>2]=1;b=v[a+36>>2];f:{if(!b){if(v[a+172>>2]==-1?v[a+212>>2]:0){break f}v[a+84>>2]=1;v[e>>2]=0;oc(0,0,0,a,0,1,1,3,0,0,0,0,347925,e);v[a+12>>2]=0;if(v[a+288>>2]){break f}v[a+212>>2]=1;break f}b=QF(a,b,d,c);v[a+256>>2]=1;if((b|0)<0){break f}if(v[a+84>>2]!=6003){break a}}dU(a);v[a+84>>2]=6003}Qb=e+16|0}function Yr(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{if(!a|v[a+4>>2]==18|(!b|v[b+4>>2]==18)){break a}if((a|0)==(b|0)){break a}Yi(b);b:{c:{switch(v[b+4>>2]-2|0){case 1:if(v[a+4>>2]==3){d=v[b+40>>2];if(d){if(w[d|0]){c=d;while(1){f=f+1|0;e=w[c+1|0];c=c+1|0;if(e){continue}break}}Ny(a,d,f)}pk(b);return a}c=v[a+24>>2];if(!c|v[c+4>>2]!=3|v[a+8>>2]!=v[c+8>>2]){break b}h=po(we(v[b+40>>2]),v[v[a+24>>2]+40>>2]);f=h;e=v[a+24>>2];d:{if(!e){break d}c=v[e+4>>2];if(c>>>0>11){break d}c=1<>2];if(c){hl(c)}c=Py(v[e+32>>2],f);v[e+12>>2]=c;e:{f:{if(c){f=v[c+24>>2];if(f){break f}d=c;break e}v[e+16>>2]=0;break d}while(1){v[c+20>>2]=e;d=f;c=d;f=v[c+24>>2];if(f){continue}break}}v[d+20>>2]=e;v[e+16>>2]=d;break d}d=v[e+40>>2];g:{if(!d|(d|0)==(e+44|0)){break g}c=v[e+32>>2];h:{if(!c){break h}g=v[c+80>>2];if(!g){break h}while(1){c=v[g+16>>2];if(c){while(1){if(d>>>0<=y[c+4>>2]&d>>>0>=c+20>>>0){break g}c=v[c>>2];if(c){continue}break}}g=v[g+20>>2];if(g){continue}break}}Ub[v[259708]](d)}c=v[e+12>>2];if(c){hl(c)}v[e+12>>2]=0;v[e+16>>2]=0;i:{if(!f){c=0;break i}c=f;while(1){d=c;c=c+1|0;if(w[d|0]){continue}break}c=0;d=d-f|0;if((d|0)<0){break i}g=Ub[v[259707]](d+1|0)|0;if(!g){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break i}c=gc(g,f,d);t[d+c|0]=0}v[e+44>>2]=0;v[e+48>>2]=0;v[e+40>>2]=c}Ub[v[259708]](h);pk(b);return v[a+24>>2];case 0:break c;default:break b}}return gV(a,a,b)}c=v[a+32>>2];if((c|0)!=v[b+32>>2]){gl(b,c)}c=v[a+20>>2];v[b+28>>2]=a;v[b+20>>2]=c;v[b+24>>2]=v[a+24>>2];v[a+24>>2]=b;f=v[b+24>>2];if(f){v[f+28>>2]=b}if(!(!c|v[c+16>>2]!=(a|0))){v[c+16>>2]=b}c=b}return c}function rja(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;e=Qb-48|0;Qb=e;v[e+40>>2]=0;v[e+44>>2]=0;v[e+32>>2]=0;v[e+36>>2]=0;d=e+32|0;i=d;v[d>>2]=982408;v[d+4>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;h=v[v[b>>2]+24>>2];v[299999]=0;V(h|0,b|0,d|0);d=v[299999];v[299999]=0;a:{if((d|0)!=1){d=v[e+40>>2];v[a>>2]=0;v[a+4>>2]=v[282402];b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{if(d){h=v[d+8>>2];v[299999]=0;h=Q(4545,e+24|0,h|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break k}d=v[d>>2];l:{if(!d){break l}while(1){f=v[d+8>>2];v[299999]=0;f=Q(4545,e+8|0,(f^-1)+c|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break j}v[299999]=0;U(4423,e+16|0,335744,f|0);g=v[299999];v[299999]=0;if((g|0)==1){break i}v[299999]=0;Q(4606,h|0,e+16|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break h}ec(e+16|0);ec(f);d=v[d>>2];if(!d){break l}f=v[d+8>>2];v[299999]=0;f=Q(4545,e+8|0,f|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break g}v[299999]=0;U(4423,e+16|0,335744,f|0);g=v[299999];v[299999]=0;if((g|0)==1){break f}v[299999]=0;Q(4606,h|0,e+16|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break e}ec(e+16|0);ec(f);d=v[d>>2];if(d){continue}break}}v[299999]=0;U(5084,e+16|0,b|0,h|0);b=v[299999];v[299999]=0;if((b|0)==1){break d}v[299999]=0;Q(4535,a|0,e+16|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break c}ec(e+16|0);ec(h)}Ic(i);Qb=e+48|0;return}d=P()|0;O()|0;ec(a);break a}d=P()|0;O()|0;break b}d=P()|0;O()|0;ec(f);break b}d=P()|0;O()|0;ec(e+16|0);ec(f);break b}d=P()|0;O()|0;break b}d=P()|0;O()|0;ec(f);break b}d=P()|0;O()|0;ec(e+16|0);ec(f);break b}d=P()|0;O()|0;break b}d=P()|0;O()|0;ec(e+16|0)}ec(h);ec(a);break a}d=P()|0;O()|0}Ic(i);T(d|0);L()}function Gea(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;f=Qb-16|0;Qb=f;Ub[v[v[a>>2]+20>>2]](a,v[a+32>>2],0,0)|0;v[a+24>>2]=0;c=Qb-32|0;Qb=c;h=f+8|0;e=h;v[e>>2]=0;v[e+4>>2]=v[282402];a:{b:{c:{d:{e:{f:{g:{d=v[b>>2];if(d){v[299999]=0;v[d+4>>2]=v[d+4>>2]+1;d=v[299999];v[299999]=0;if((d|0)==1){break g}g=v[b>>2]}v[299999]=0;v[c+8>>2]=g;$(5229,c+16|0,0,0,c+8|0);b=v[299999];v[299999]=0;if((b|0)==1){break f}b=v[c+16>>2];h:{if(b){d=v[v[b>>2]+28>>2];v[299999]=0;U(d|0,c+24|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break h}a=P()|0;O()|0;break e}v[c+24>>2]=0}v[299999]=0;Q(4344,e|0,c+24|0)|0;b=v[299999];v[299999]=0;i:{if((b|0)!=1){b=v[c+24>>2];v[c+24>>2]=0;if(!b){break i}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;g=v[299999];v[299999]=0;if((g|0)!=1){if(d){break i}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break i}}break b}a=P()|0;O()|0;ec(c+24|0);break e}b=v[e>>2];v[e+4>>2]=v[(b?b+12|0:1129608)>>2];b=v[c+16>>2];v[c+16>>2]=0;j:{if(!b){break j}v[299999]=0;e=v[b+4>>2]-1|0;v[b+4>>2]=e;d=v[299999];v[299999]=0;if((d|0)==1){break b}if(e){break j}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}}b=v[c+8>>2];v[c+8>>2]=0;k:{if(!b){break k}v[299999]=0;e=v[b+4>>2]-1|0;v[b+4>>2]=e;d=v[299999];v[299999]=0;if((d|0)==1){break b}if(e){break k}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}}Qb=c+32|0;break a}a=P()|0;O()|0;break c}a=P()|0;O()|0;break d}ec(c+16|0)}ec(c+8|0)}ec(e);T(a|0);L()}W(0)|0;O()|0;lc();L()}v[299999]=0;Q(4535,a+16|0,h|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){ec(f+8|0);Qb=f+16|0;return}a=P()|0;O()|0;ec(f+8|0);T(a|0);L()}function bf(a,b){var c=0,d=0,e=0,f=0,g=0;g=Qb-176|0;Qb=g;a:{if(!a|!b){break a}e=v[a+36>>2];if(!e|v[a+172>>2]==-1){break a}d=v[e+16>>2];f=w[d|0];if(!(f>>>0<32|f<<24>>24<0)){v[b>>2]=1;c=w[d|0];break a}b:{c:{d:{if(v[a+256>>2]==1){if(f&128){if(!(f&64)|(f|0)==192){break c}c=w[d+1|0];if(!c){cd(e);e=v[a+36>>2];d=v[e+16>>2];c=w[d+1|0]}if((c&192)!=128){break c}if((f&224)==224){c=w[d+2|0];if(!c){cd(e);e=v[a+36>>2];d=v[e+16>>2];c=w[d+2|0]}if((c&192)!=128){break c}if((f&240)!=240){break d}if(!w[d+3|0]){cd(e);e=v[a+36>>2];d=v[e+16>>2]}if((f&248)!=240|(w[d+3|0]&192)!=128){break c}v[b>>2]=4;c=w[d+3|0]&63|((w[d+1|0]&63)<<12|(w[d|0]&7)<<18|(w[d+2|0]&63)<<6);if(c>>>0>=65536){break b}break c}v[b>>2]=2;c=w[d+1|0]&63|(w[d|0]&31)<<6;if(c>>>0<128){break c}break b}v[b>>2]=1;e:{c=w[d|0];f:{if(c){break f}cd(e);e=v[a+36>>2];d=v[e+16>>2];c=w[d|0];if(c){break f}c=0;if(y[e+20>>2]<=d>>>0){break e}Wy(a,352921,0);e=v[a+36>>2];d=v[e+16>>2];c=w[d|0]}if((c&255)!=13){break e}c=10;if(w[d+1|0]!=10){break a}v[a+200>>2]=v[a+200>>2]+1;v[e+16>>2]=d+1;break a}c=c&255;break a}v[b>>2]=1;c=w[d|0];if((c|0)!=13){break a}c=10;if(w[d+1|0]!=10){break a}v[a+200>>2]=v[a+200>>2]+1;v[e+16>>2]=d+1;break a}v[b>>2]=3;c=w[d+2|0]&63|((w[d+1|0]&63)<<6|(w[d|0]&15)<<12);if(c>>>0>=2048){break b}}c=v[e+16>>2];if((v[e+20>>2]-c|0)<=3){c=0;v[b>>2]=0;break a}d=w[c|0];e=w[c+1|0];f=w[c+2|0];v[g+12>>2]=w[c+3|0];v[g+8>>2]=f;v[g+4>>2]=e;v[g>>2]=d;c=g+16|0;Ai(c,149,354752,g);Ij(a,9,237225,c);v[a+256>>2]=10;v[b>>2]=1;c=w[v[v[a+36>>2]+16>>2]];break a}if(c>>>0<55296|c-57344>>>0<8190|c-65536>>>0<1048576){break a}Wy(a,352889,c)}Qb=g+176|0;return c}function ELa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(v[d>>2]<=0){if(!v[c>>2]){v[c>>2]=308;return 0}a=v[a+8>>2];c=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);d=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);t[b+260|0]=d;t[b+261|0]=d>>>8;t[b+262|0]=d>>>16;t[b+263|0]=d>>>24;t[b+264|0]=c;t[b+265|0]=c>>>8;t[b+266|0]=c>>>16;t[b+267|0]=c>>>24;c=w[a+44|0]|w[a+45|0]<<8|(w[a+46|0]<<16|w[a+47|0]<<24);d=w[a+40|0]|w[a+41|0]<<8|(w[a+42|0]<<16|w[a+43|0]<<24);t[b+300|0]=d;t[b+301|0]=d>>>8;t[b+302|0]=d>>>16;t[b+303|0]=d>>>24;t[b+304|0]=c;t[b+305|0]=c>>>8;t[b+306|0]=c>>>16;t[b+307|0]=c>>>24;c=w[a+36|0]|w[a+37|0]<<8|(w[a+38|0]<<16|w[a+39|0]<<24);d=w[a+32|0]|w[a+33|0]<<8|(w[a+34|0]<<16|w[a+35|0]<<24);t[b+292|0]=d;t[b+293|0]=d>>>8;t[b+294|0]=d>>>16;t[b+295|0]=d>>>24;t[b+296|0]=c;t[b+297|0]=c>>>8;t[b+298|0]=c>>>16;t[b+299|0]=c>>>24;c=w[a+28|0]|w[a+29|0]<<8|(w[a+30|0]<<16|w[a+31|0]<<24);d=w[a+24|0]|w[a+25|0]<<8|(w[a+26|0]<<16|w[a+27|0]<<24);t[b+284|0]=d;t[b+285|0]=d>>>8;t[b+286|0]=d>>>16;t[b+287|0]=d>>>24;t[b+288|0]=c;t[b+289|0]=c>>>8;t[b+290|0]=c>>>16;t[b+291|0]=c>>>24;c=w[a+20|0]|w[a+21|0]<<8|(w[a+22|0]<<16|w[a+23|0]<<24);d=w[a+16|0]|w[a+17|0]<<8|(w[a+18|0]<<16|w[a+19|0]<<24);t[b+276|0]=d;t[b+277|0]=d>>>8;t[b+278|0]=d>>>16;t[b+279|0]=d>>>24;t[b+280|0]=c;t[b+281|0]=c>>>8;t[b+282|0]=c>>>16;t[b+283|0]=c>>>24;c=w[a+12|0]|w[a+13|0]<<8|(w[a+14|0]<<16|w[a+15|0]<<24);a=w[a+8|0]|w[a+9|0]<<8|(w[a+10|0]<<16|w[a+11|0]<<24);t[b+268|0]=a;t[b+269|0]=a>>>8;t[b+270|0]=a>>>16;t[b+271|0]=a>>>24;t[b+272|0]=c;t[b+273|0]=c>>>8;t[b+274|0]=c>>>16;t[b+275|0]=c>>>24;t[b+34|0]=1;v[b+8>>2]=b+260}else{b=0}return b|0}function $Ma(a,b){a=a|0;b=b|0;var 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;l=Qb-16|0;m=v[a+12>>2];h=v[a+8>>2];g=v[a+4>>2];o=v[g+24>>2];c=v[g+56>>2];d=v[a+16>>2];i=v[a+20>>2];a:{if(!(!c|d>>>0>=i>>>0)){v[g+56>>2]=0;e=0;break a}e=1}while(1){b:{c:{d:{e:{f:{g:{if(!e){if(h>>>0>=m>>>0){break f}if(c&1024){break e}e=x[h>>1];if((e&64512)!=56320){break e}h=h+2|0;c=(e+(c<<10)|0)-56613888|0;break g}c=h;while(1){if(c>>>0>=m>>>0){h=c;break d}if(d>>>0>=i>>>0){h=c;break d}h=c+2|0;h:{c=x[c>>1];i:{if(c>>>0<=127){t[d|0]=c;c=d+1|0;break i}if(c>>>0>2047){break h}t[d|0]=c>>>6|192;e=c&63|-128;c=d+1|0;if(c>>>0>=i>>>0){t[g+63|0]=1;t[g+76|0]=e;v[b>>2]=15;break i}t[d+1|0]=e;c=d+2|0}d=c;c=h;continue}break}if((o|0)==849664|(c&63488)!=55296){break g}e=0;continue}e=3;f=(i-d|0)>3?d:l+12|0;j:{if((c|0)<=65535){t[f|0]=c>>>12|224;e=2;break j}t[f|0]=c>>>18|240;t[f+1|0]=c>>>12&63|128}k=e+f|0;t[k|0]=c&63|128;t[k-1|0]=c>>>6&63|128;if((d|0)==(f|0)){break c}k=(l+12|0)+e|0;if(k>>>0>>0){break b}j=(l+12|0)+e|0;if((j-f|0)+1&1){e=w[f|0];k:{if(d>>>0>=i>>>0){n=t[g+63|0];t[g+63|0]=n+1;t[(g+n|0)+76|0]=e;v[b>>2]=15;break k}t[d|0]=e;d=d+1|0}e=f+1|0}else{e=f}if((f|0)==(j|0)){break b}while(1){f=w[e|0];l:{if(d>>>0>>0){t[d|0]=f;d=d+1|0;break l}j=t[g+63|0];t[g+63|0]=j+1;t[(g+j|0)+76|0]=f;v[b>>2]=15}f=w[e+1|0];m:{if(d>>>0>=i>>>0){j=t[g+63|0];t[g+63|0]=j+1;t[(g+j|0)+76|0]=f;v[b>>2]=15;break m}t[d|0]=f;d=d+1|0}e=e+2|0;if(k>>>0>=e>>>0){continue}break}break b}v[g+56>>2]=c;break d}v[g+56>>2]=c;v[b>>2]=12}if(!(d>>>0>>0|h>>>0>=m>>>0|v[b>>2]>0)){v[b>>2]=15}v[a+8>>2]=h;v[a+16>>2]=d;return}d=(d+e|0)+1|0}e=1;continue}}function fB(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{e:{f=v[a+8>>2];if((f|0)<=0){if(!f){break e}break b}if(f>>>0>31){break d}break c}f=7;if(w[a+4|0]==255){break c}break b}X(25793,18822,198,189273);L()}j=f;while(1){f:{if(t[a+16|0]&1){g=v[a+8>>2];d=g-1|0;v[a+8>>2]=d;if((g|0)>=1){g=v[a+4>>2]>>>d&1;break f}g=Wf(a);if((g|0)>=0){break f}return-1}break a}i=i<<1|g;g=(j|0)>1;j=j-1|0;if(g){continue}break}g=f;if((i|0)>=0){break b}return-1}f=v[a+4>>2];g:{if((f&255)==255){if(!(t[a+16|0]&1)){break a}j=-1;e=v[a+8>>2];d=e-1|0;v[a+8>>2]=d;h:{if((e|0)>=1){f=f>>>d&1;break h}f=Wf(a);if((f|0)<0){break g}if(!(t[a+16|0]&1)){break a}d=v[a+8>>2]}e=d-1|0;v[a+8>>2]=e;i:{if((d|0)<=0){d=Wf(a);if((d|0)<0){break g}if(!(t[a+16|0]&1)){break a}break i}d=v[a+4>>2]>>>e&1}e=v[a+8>>2];h=e-1|0;v[a+8>>2]=h;j:{if((e|0)<=0){e=Wf(a);if((e|0)<0){break g}if(!(t[a+16|0]&1)){break a}f=e|(f<<2|d<<1);break j}f=v[a+4>>2]>>>h&1|(f<<2|d<<1)}d=v[a+8>>2];e=d-1|0;v[a+8>>2]=e;k:{if((d|0)<=0){d=Wf(a);if((d|0)<0){break g}if(!(t[a+16|0]&1)){break a}break k}d=v[a+4>>2]>>>e&1}e=v[a+8>>2];h=e-1|0;v[a+8>>2]=h;l:{if((e|0)<=0){e=Wf(a);if((e|0)<0){break g}if(!(t[a+16|0]&1)){break a}f=e|(f<<2|d<<1);break l}f=v[a+4>>2]>>>h&1|(f<<2|d<<1)}d=v[a+8>>2];e=d-1|0;v[a+8>>2]=e;m:{if((d|0)<=0){d=Wf(a);if((d|0)<0){break g}if(t[a+16|0]&1){break m}break a}d=v[a+4>>2]>>>e&1}e=v[a+8>>2];h=e-1|0;v[a+8>>2]=h;n:{if((e|0)<=0){a=Wf(a);if((a|0)<0){break g}break n}a=v[a+4>>2]>>>h&1}a=f<<2|d<<1|a;if((a|0)<0){break g}i=a|i<<7;g=g+7|0}o:{if((g|0)>=8){i=i>>g-7;break o}a=7-g|0;b=b>>a;c=c>>a}j=((c^i^-1)&b)!=(b|0)}return j}X(21334,18822,203,189273);L()}function _A(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;v[a+52>>2]=b;f=v[a>>2];a:{c=jc(28);b:{c:{if(c){v[c>>2]=0;v[c+4>>2]=0;v[c+24>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[a+4>>2]=1;v[a+40>>2]=c;while(1){d=1037856;h=Ub[v[v[b>>2]+20>>2]](b,2)|0;if((h&-256)!=65280){d=v[c+24>>2];d:{if(!d){break d}e=0;f=v[c+16>>2];if((f|0)>0){while(1){a=B(e,48)+d|0;g=v[a+44>>2];if(g){dc(g);v[a+44>>2]=0;f=v[c+16>>2];d=v[c+24>>2]}e=e+1|0;if((f|0)>(e|0)){continue}break}if(!d){break d}}dc(d)}dc(c);Ub[v[v[b>>2]+36>>2]](b)|0;break c}while(1){e=d;g=v[d>>2];if(g){d=e+12|0;if((g|0)!=(h|0)){continue}}break}if(!(v[e+4>>2]&v[a+4>>2])){d=v[c+24>>2];e:{if(!d){break e}e=0;f=v[c+16>>2];if((f|0)>0){while(1){a=B(e,48)+d|0;g=v[a+44>>2];if(g){dc(g);v[a+44>>2]=0;f=v[c+16>>2];d=v[c+24>>2]}e=e+1|0;if((f|0)>(e|0)){continue}break}if(!d){break e}}dc(d)}dc(c);Ub[v[v[b>>2]+36>>2]](b)|0;break c}if((g|0)==65424&v[v[a+44>>2]+20>>2]==1){break b}f:{g:{d=v[e+8>>2];if(d){Ub[d|0](a);d=v[a+4>>2];if((d|0)==32){break g}if((d|0)!=64){break f}v[f+20>>2]=0;break a}d=v[c+24>>2];h:{if(!d){break h}e=0;f=v[c+16>>2];if((f|0)>0){while(1){b=B(e,48)+d|0;g=v[b+44>>2];if(g){dc(g);v[b+44>>2]=0;f=v[c+16>>2];d=v[c+24>>2]}e=e+1|0;if((f|0)>(e|0)){continue}break}if(!d){break h}}dc(d)}dc(c);c=0;if(v[a+4>>2]==64){break a}break b}v[f+20>>2]=0;return c}if(!v[f+20>>2]){continue}break}d=v[c+24>>2];i:{if(!d){break i}e=0;f=v[c+16>>2];if((f|0)>0){while(1){a=B(e,48)+d|0;b=v[a+44>>2];if(b){dc(b);v[a+44>>2]=0;f=v[c+16>>2];d=v[c+24>>2]}e=e+1|0;if((f|0)>(e|0)){continue}break}if(!d){break i}}dc(d)}dc(c);break c}v[f+20>>2]=1}c=0}return c}$1(a);return c}function Y5(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;if((c|0)>=1){g=v[a+584>>2];while(1){if(!(w[g+4|0]&2)){j=v[a+584>>2];i=v[j+64>>2];e=v[j+68>>2];a:{if(!(w[j+28|0]&4)){break a}if((e|0)==4){e=4;break a}h=((e|0)<4?4:-4)+e|0;b:{if(h>>>0<=e>>>0){break b}if(v[a+608>>2]>=v[a+600>>2]){Ae(a)}d=v[a+604>>2];v[a+604>>2]=d+1;t[d|0]=i;f=v[a+608>>2]+1|0;v[a+608>>2]=f;h=4;d=-4;if((e|0)<4){i=0;e=8;break b}while(1){d=d-8|0;if(v[a+600>>2]<=(f|0)){Ae(a)}e=v[a+604>>2];v[a+604>>2]=e+1;i=0;t[e|0]=0;f=v[a+608>>2]+1|0;v[a+608>>2]=f;e=8;if(d>>>0>8){continue}break}}e=e-h|0;if(e){break a}if(v[a+608>>2]>=v[a+600>>2]){Ae(a)}d=v[a+604>>2];v[a+604>>2]=d+1;t[d|0]=i;v[a+608>>2]=v[a+608>>2]+1;i=0;e=8}h=1;d=12;if(t[j+28|0]&1){h=!v[j+92>>2]|2;d=13}c:{if(d>>>0<=e>>>0){break c}d=d-e|0;e=h>>>d|i;if(v[a+608>>2]>=v[a+600>>2]){Ae(a)}f=v[a+604>>2];v[a+604>>2]=f+1;t[f|0]=e;f=v[a+608>>2]+1|0;v[a+608>>2]=f;i=0;e=8;if(d>>>0<9){break c}while(1){d=d-8|0;e=h>>>d|0;if(v[a+600>>2]<=(f|0)){Ae(a)}f=v[a+604>>2];v[a+604>>2]=f+1;t[f|0]=e;f=v[a+608>>2]+1|0;v[a+608>>2]=f;e=8;if(d>>>0>8){continue}break}}h=v[(d<<2)+86176>>2]&h;d=e-d|0;f=h<>2]>=v[a+600>>2]){Ae(a)}d=v[a+604>>2];v[a+604>>2]=d+1;t[d|0]=f;v[a+608>>2]=v[a+608>>2]+1;f=0;d=8}v[e+68>>2]=d;v[j+64>>2]=f}d:{if(t[g+28|0]&1){e:{if(!v[g+92>>2]){PK(a,b,v[g+12>>2]);v[g+92>>2]=1;d=v[g+100>>2];break e}QK(a,b,v[g+96>>2],v[g+12>>2]);d=v[g+100>>2]-1|0;v[g+100>>2]=d}if(!d){v[g+92>>2]=0;v[g+100>>2]=v[g+104>>2]-1;break d}oe(v[g+96>>2],b,v[g+8>>2]);break d}PK(a,b,v[g+12>>2])}d=v[g+8>>2];b=d+b|0;c=c-d|0;if((c|0)>0){continue}break}}return 1}function I0(a,b,c){A[c>>3]=A[a>>3]*A[b>>3]+A[a+8>>3]*A[b+32>>3]+A[a+16>>3]*A[b+64>>3]+A[a+24>>3]*A[b+96>>3];A[c+8>>3]=A[a>>3]*A[b+8>>3]+A[a+8>>3]*A[b+40>>3]+A[a+16>>3]*A[b+72>>3]+A[a+24>>3]*A[b+104>>3];A[c+16>>3]=A[a>>3]*A[b+16>>3]+A[a+8>>3]*A[b+48>>3]+A[a+16>>3]*A[b+80>>3]+A[a+24>>3]*A[b+112>>3];A[c+24>>3]=A[a>>3]*A[b+24>>3]+A[a+8>>3]*A[b+56>>3]+A[a+16>>3]*A[b+88>>3]+A[a+24>>3]*A[b+120>>3];A[c+32>>3]=A[a+32>>3]*A[b>>3]+A[a+40>>3]*A[b+32>>3]+A[a+48>>3]*A[b+64>>3]+A[a+56>>3]*A[b+96>>3];A[c+40>>3]=A[a+32>>3]*A[b+8>>3]+A[a+40>>3]*A[b+40>>3]+A[a+48>>3]*A[b+72>>3]+A[a+56>>3]*A[b+104>>3];A[c+48>>3]=A[a+32>>3]*A[b+16>>3]+A[a+40>>3]*A[b+48>>3]+A[a+48>>3]*A[b+80>>3]+A[a+56>>3]*A[b+112>>3];A[c+56>>3]=A[a+32>>3]*A[b+24>>3]+A[a+40>>3]*A[b+56>>3]+A[a+48>>3]*A[b+88>>3]+A[a+56>>3]*A[b+120>>3];A[c+64>>3]=A[a+64>>3]*A[b>>3]+A[a+72>>3]*A[b+32>>3]+A[a+80>>3]*A[b+64>>3]+A[a+88>>3]*A[b+96>>3];A[c+72>>3]=A[a+64>>3]*A[b+8>>3]+A[a+72>>3]*A[b+40>>3]+A[a+80>>3]*A[b+72>>3]+A[a+88>>3]*A[b+104>>3];A[c+80>>3]=A[a+64>>3]*A[b+16>>3]+A[a+72>>3]*A[b+48>>3]+A[a+80>>3]*A[b+80>>3]+A[a+88>>3]*A[b+112>>3];A[c+88>>3]=A[a+64>>3]*A[b+24>>3]+A[a+72>>3]*A[b+56>>3]+A[a+80>>3]*A[b+88>>3]+A[a+88>>3]*A[b+120>>3];A[c+96>>3]=A[a+96>>3]*A[b>>3]+A[a+104>>3]*A[b+32>>3]+A[a+112>>3]*A[b+64>>3]+A[a+120>>3]*A[b+96>>3];A[c+104>>3]=A[a+96>>3]*A[b+8>>3]+A[a+104>>3]*A[b+40>>3]+A[a+112>>3]*A[b+72>>3]+A[a+120>>3]*A[b+104>>3];A[c+112>>3]=A[a+96>>3]*A[b+16>>3]+A[a+104>>3]*A[b+48>>3]+A[a+112>>3]*A[b+80>>3]+A[a+120>>3]*A[b+112>>3];A[c+120>>3]=A[a+96>>3]*A[b+24>>3]+A[a+104>>3]*A[b+56>>3]+A[a+112>>3]*A[b+88>>3]+A[a+120>>3]*A[b+120>>3]}function _N(a,b){var c=0,d=0,e=0,f=0,g=0;f=Qb-144|0;Qb=f;a:{if(!v[a+72>>2]){break a}e=v[a+68>>2];if(!e|!v[a+76>>2]){break a}b:{c:{d:{d=x[a+138>>1];if(!(w[a+13|0]&64|((d|0)!=1|x[a+90>>1]!=6))){c=x[a+204>>1];if(e>>>0<0-c>>>0){d=((c+e|0)-1>>>0)/(c>>>0)|0}else{d=0}g=B(d,c);e=x[a+84>>1];c=Bib(g,0,e,0);d=(Tb|0)!=0;e:{f:{g:{if(e){if(d){c=v[a>>2];d=v[a+628>>2];v[f+64>>2]=20618;zc(d,c,24808,f- -64|0);e=x[a+84>>1];c=Bib(e,0,g,0);d=(Tb|0)!=0;break g}if(!(c&7)){break f}if(!d){break d}c=v[a>>2];d=v[a+628>>2];v[f+80>>2]=20618;zc(d,c,24808,f+80|0);c=0;break d}if(c&7){break d}}if(!e){break e}}if(!(d&1)){break e}c=v[a>>2];d=v[a+628>>2];v[f+48>>2]=20618;zc(d,c,24808,f+48|0);c=0}c=c>>>3|0;break c}c=Bib(x[a+84>>1],0,e,0);if(Tb){c=v[a>>2];d=v[a+628>>2];v[f+128>>2]=18313;zc(d,c,24808,f+128|0);d=x[a+138>>1];c=0}h:{if((d|0)!=1){break h}g=x[a+98>>1];d=Bib(g,0,c,0);e=Tb;c=d;if(!g|!e){break h}c=v[a>>2];d=v[a+628>>2];v[f+112>>2]=18313;zc(d,c,24808,f+112|0);c=0}e=(c>>>3|0)+((c&7)!=0)|0;b=Bib(e,0,b,0);d=Tb;c=b;if(!e|!d){break b}b=v[a>>2];c=v[a+628>>2];v[f+96>>2]=20618;zc(c,b,24808,f+96|0);c=0;break b}c=(c>>>3|0)+1|0}e=x[a+206>>1];g=B(e,x[a+204>>1]);if(!g){c=0;zc(v[a+628>>2],v[a>>2],22830,0);break a}d=Bib(c,0,B(e,0-e>>>0>b>>>0?((b+e|0)-1>>>0)/(e>>>0)|0:0),0);e=Tb;b=d;if(!(!c|!e)){b=v[a>>2];c=v[a+628>>2];v[f+32>>2]=20618;zc(c,b,24808,f+32|0);b=0}c=(b|0)/(g|0)|0;e=c+c|0;if(!(!c|c>>>0<=e>>>0)){c=v[a>>2];d=v[a+628>>2];v[f+16>>2]=20618;zc(d,c,24808,f+16|0);e=0}c=e+b|0}e=v[a+76>>2];b=Bib(e,0,c,0);d=Tb;c=b;if(!e|!d){break a}b=v[a>>2];a=v[a+628>>2];v[f>>2]=20618;zc(a,b,24808,f);c=0}Qb=f+144|0;return c}function pJ(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{b:{if(w[a+498|0]){break b}c:{d:{if(!v[a+440>>2]|v[a+12>>2]!=2){break d}switch(w[a+1112|0]-1|0){case 0:case 2:break c;default:break d}}v[a+1116>>2]=v[a+1144>>2];break b}if(NA(a)){break a}}if(w[a+497|0]){break a}e:{f:{if(!v[a+440>>2]){g:{switch(v[a+12>>2]-1|0){case 0:case 2:t[a+477|0]=1;break e;default:break g}}e=Ro(a);v[a+440>>2]=v[a+440>>2]+1;break f}if(w[a+1112|0]!=3){break e}e=Ro(a)}if(e){break a}}j=a;e=v[(w[a+288|0]?2248:512)+a>>2];if(!e){e=v[a+528>>2]}h=v[e+36>>2];f=(h|0)>0?h:0;v[j+672>>2]=f;i=v[e+40>>2];g=(i|0)>0?i:0;v[a+680>>2]=g;j=a;h:{i:{l=v[e+88>>2];k=v[l+36>>2];if(!k){break i}c=v[l+40>>2];if(!c){break i}d=v[a+16>>2];b=h+k|0;d=(b|0)>(d|0)?d:b;v[a+676>>2]=d;b=v[a+20>>2];c=c+i|0;c=(b|0)<(c|0)?b:c;break h}c=v[a+16>>2];d=v[a+316>>2];d=(c|0)<(d|0)?c:d;v[a+676>>2]=d;c=v[a+20>>2];b=v[a+320>>2];c=(b|0)>(c|0)?c:b}v[j+684>>2]=c;if(w[a+1124|0]){b=v[a+1128>>2];f=(b|0)<(f|0)?f:b;v[a+672>>2]=f;b=v[a+1136>>2];g=(b|0)<(g|0)?g:b;v[a+680>>2]=g;b=v[a+1132>>2];d=(b|0)>(d|0)?d:b;v[a+676>>2]=d;b=v[a+1140>>2];c=(b|0)>(c|0)?c:b;v[a+684>>2]=c}if(w[e+44|0]){b=v[e+48>>2];f=(b|0)<(f|0)?f:b;v[a+672>>2]=f;b=v[e+56>>2];g=(b|0)<(g|0)?g:b;v[a+680>>2]=g;b=v[e+52>>2];d=(b|0)>(d|0)?d:b;v[a+676>>2]=d;b=v[e+60>>2];c=(b|0)>(c|0)?c:b;v[a+684>>2]=c}b=g-i|0;e=(b|0)>0?b:0;v[a+664>>2]=e;b=f-h|0;h=(b|0)>0?b:0;v[a+656>>2]=h;j=a;j:{k:{if(!k){break k}i=v[l+40>>2];if(!i){break k}f=(h-f|0)+d|0;v[a+660>>2]=(f|0)>(k|0)?k:f;c=(e-g|0)+c|0;c=(c|0)>(i|0)?i:c;break j}v[a+660>>2]=(h-f|0)+d;c=(e-g|0)+c|0}v[j+668>>2]=c;v[a+440>>2]=v[a+440>>2]+1}}function QTa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=Qb-48|0;Qb=d;m=v[a+420>>2];f=v[a+464>>2];a:{b:{if(v[f+40>>2]|!v[a+280>>2]){break b}e=v[a+460>>2];v[e+24>>2]=v[e+24>>2]+(v[f+12>>2]/8|0);v[f+12>>2]=0;g=0;if(!(Ub[v[e+8>>2]](a)|0)){break a}if(v[a+336>>2]>=1){e=0;while(1){v[((e<<2)+f|0)+20>>2]=0;e=e+1|0;if((e|0)>2]){continue}break}}v[f+16>>2]=0;v[f+40>>2]=v[a+280>>2];if(v[a+436>>2]){break b}v[f+36>>2]=0}if(!v[f+36>>2]){v[d+40>>2]=a;c=v[a+24>>2];i=v[c>>2];v[d+24>>2]=i;g=v[c+4>>2];v[d+28>>2]=g;e=v[f+12>>2];h=v[f+8>>2];v[d+16>>2]=v[f+32>>2];j=v[f+28>>2];v[d+8>>2]=v[f+24>>2];v[d+12>>2]=j;j=v[f+20>>2];v[d>>2]=v[f+16>>2];v[d+4>>2]=j;if(v[a+364>>2]>=1){i=0;while(1){c=i<<2;j=v[c+b>>2];l=v[(a+c|0)+368>>2]<<2;c=v[((v[v[(l+a|0)+340>>2]+20>>2]<<2)+f|0)+44>>2];c:{d:{e:{if((e|0)>7){break e}g=0;if(!bg(d+24|0,h,e,0)){break a}h=v[d+32>>2];e=v[d+36>>2];if((e|0)>7){break e}c=Wh(d+24|0,h,e,c,1);break d}g=h>>e-8&255;k=v[(c+(g<<2)|0)+144>>2];if(k){c=w[(c+g|0)+1168|0];e=e-k|0;break c}c=Wh(d+24|0,h,e,c,9)}g=0;if((c|0)<0){break a}h=v[d+32>>2];e=v[d+36>>2]}if(c){if((c|0)>(e|0)){g=0;if(!bg(d+24|0,h,e,c)){break a}h=v[d+32>>2];e=v[d+36>>2]}e=e-c|0;c=c<<2;g=v[c+72672>>2];k=h>>e&g;c=k-((k|0)>v[c+72668>>2]?0:g)|0}else{c=0}g=d+l|0;c=c+v[g+4>>2]|0;v[g+4>>2]=c;u[j>>1]=c<>2]){continue}break}g=v[d+28>>2];i=v[d+24>>2];c=v[a+24>>2]}v[c+4>>2]=g;v[c>>2]=i;v[f+12>>2]=e;v[f+8>>2]=h;v[f+32>>2]=v[d+16>>2];a=v[d+12>>2];v[f+24>>2]=v[d+8>>2];v[f+28>>2]=a;a=v[d+4>>2];v[f+16>>2]=v[d>>2];v[f+20>>2]=a}v[f+40>>2]=v[f+40>>2]-1;g=1}Qb=d+48|0;return g|0}function Vy(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=Qb-48|0;Qb=g;e=-1;a:{if(v[a+28>>2]|!a){break a}b:{f=v[a+16>>2];if(!(!f|v[f+32>>2])){d=v[f+24>>2];c=v[f+8>>2];if(!((d|0)==(c|0)|c>>>0>2147483646)){v[f+24>>2]=c;d=c}h=d;d=v[f+20>>2];c=v[f+4>>2];if(!((d|0)==(c|0)|c>>>0>2147483646)){v[f+20>>2]=c;d=c}if((h|0)!=(d|0)){break b}}v[g>>2]=0;oc(0,0,0,0,0,8,1548,2,0,0,0,0,258903,g);v[a+28>>2]=1548;break a}c=(b|0)<4001?(b|0)!=4?4e3:b:b;b=bG(f,c+1|0);if(!(!v[f+32>>2]&(b|0)>-1)){v[g+16>>2]=239794;oc(0,0,0,0,0,8,2,3,239794,0,0,0,350051,g+16|0);v[a+28>>2]=2;break a}b=0;d=v[a+16>>2];if(!(!d|v[d+32>>2])){b=v[d+8>>2];if(!((b|0)==v[d+24>>2]|b>>>0>2147483646)){v[d+24>>2]=b}e=v[d+20>>2];b=v[d+4>>2];if((e|0)==(b|0)|b>>>0>2147483646){b=e}else{v[d+20>>2]=b}b=b+v[d>>2]|0}e=v[a+4>>2];if(e){c:{c=Ub[e|0](v[a>>2],b,c)|0;if((c|0)>=1){break c}v[a+4>>2]=2982;if((c|0)>=0){break c}e=-1;break a}if(v[a+12>>2]){d=v[a+20>>2];if(!d){d=cG();v[a+20>>2]=d}e=-1;if(Zi(d,b,c)){break a}d=Th(v[a+20>>2]);b=cz(a,1);if((b|0)<=-1){so(8,1544,238119,0);v[a+28>>2]=1544;break a}i=a,j=(d-Th(v[a+20>>2])|0)+v[a+32>>2]|0,v[i+32>>2]=j;e=b;break a}e=c;c=v[a+16>>2];d:{if(!c|v[c+32>>2]){break d}a=v[c+24>>2];b=v[c+8>>2];if(!((a|0)==(b|0)|b>>>0>2147483646)){v[c+24>>2]=b;a=b}b=v[c+20>>2];d=v[c+4>>2];if(!((b|0)==(d|0)|d>>>0>2147483646)){v[c+20>>2]=d;b=d}if(a-b>>>0>>0){break d}b=b+e|0;v[c+20>>2]=b;v[c+8>>2]=a>>>0<2147483647?a:2147483647;v[c+4>>2]=b>>>0<2147483647?b:2147483647;if(a>>>0<=b>>>0){break d}t[b+v[c>>2]|0]=0}break a}v[g+32>>2]=0;oc(0,0,0,0,0,8,1547,2,0,0,0,0,225346,g+32|0);v[a+28>>2]=1547;e=-1}Qb=g+48|0;return e}function ou(a,b,c){var d=0,e=0,f=0,g=0;d=Qb-96|0;Qb=d;v[d+24>>2]=528734635;v[d+28>>2]=1541459225;v[d+16>>2]=1359893119;v[d+20>>2]=-1694144372;v[d+8>>2]=1013904242;v[d+12>>2]=-1521486534;v[d>>2]=1779033703;v[d+4>>2]=-1150833019;e=64;if((b|0)>=64){while(1){XE(a+f|0,d);g=e;f=e;e=e- -64|0;if((e|0)<=(b|0)){continue}break}}e=b-g|0;a:{b:{if((e|0)<=0){t[e+(d+32|0)|0]=128;a=e+1|0;break b}f=d+32|0;gc(f,a+g|0,e);t[e+f|0]=128;if((e|0)>=56){if((e|0)<=62){ic((d+e|0)+33|0,0,(g|63)-b|0)}XE(d+32|0,d);a=0;break b}if((e|0)==55){break a}a=e+1|0}ic(a+(d+32|0)|0,0,56-a|0)}v[d+88>>2]=0;t[d+95|0]=b<<3;t[d+94|0]=b>>>5;t[d+93|0]=b>>>13;t[d+92|0]=b>>>21;XE(d+32|0,d);a=v[d>>2];a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);t[c|0]=a;t[c+1|0]=a>>>8;t[c+2|0]=a>>>16;t[c+3|0]=a>>>24;a=v[d+4>>2];a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);t[c+4|0]=a;t[c+5|0]=a>>>8;t[c+6|0]=a>>>16;t[c+7|0]=a>>>24;a=v[d+8>>2];a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);t[c+8|0]=a;t[c+9|0]=a>>>8;t[c+10|0]=a>>>16;t[c+11|0]=a>>>24;a=v[d+12>>2];a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);t[c+12|0]=a;t[c+13|0]=a>>>8;t[c+14|0]=a>>>16;t[c+15|0]=a>>>24;a=v[d+16>>2];a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);t[c+16|0]=a;t[c+17|0]=a>>>8;t[c+18|0]=a>>>16;t[c+19|0]=a>>>24;a=v[d+20>>2];a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);t[c+20|0]=a;t[c+21|0]=a>>>8;t[c+22|0]=a>>>16;t[c+23|0]=a>>>24;a=v[d+24>>2];a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);t[c+24|0]=a;t[c+25|0]=a>>>8;t[c+26|0]=a>>>16;t[c+27|0]=a>>>24;a=v[d+28>>2];a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);t[c+28|0]=a;t[c+29|0]=a>>>8;t[c+30|0]=a>>>16;t[c+31|0]=a>>>24;Qb=d+96|0}function DR(a){a=a|0;var b=0,c=0,d=0,e=0;v[a+112>>2]=0;v[a+116>>2]=0;v[a+152>>2]=0;v[a+156>>2]=0;v[a+144>>2]=0;v[a+148>>2]=0;v[a+136>>2]=0;v[a+140>>2]=0;v[a+128>>2]=0;v[a+132>>2]=0;v[a+120>>2]=0;v[a+124>>2]=0;uc(v[a+160>>2]);v[a+200>>2]=0;v[a+160>>2]=0;v[a+164>>2]=0;c=v[a+204>>2];b=v[c+8>>2];if((b|0)>=1){while(1){e=v[v[c>>2]+(d<<2)>>2];if(e){dc(e);b=v[c+8>>2]}d=d+1|0;if((d|0)<(b|0)){continue}break}}dc(Vc(c));d=0;b=fc(16);v[299999]=0;S(3315,b|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){a:{v[a+204>>2]=b;c=v[a+208>>2];b=v[c+8>>2];if((b|0)>=1){while(1){e=v[v[c>>2]+(d<<2)>>2];if(e){b=v[e+8>>2];if(b){dc(Dc(b))}dc(e);b=v[c+8>>2]}d=d+1|0;if((d|0)<(b|0)){continue}break}}dc(Vc(c));d=0;b=fc(16);v[299999]=0;S(3315,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}v[a+208>>2]=b;c=v[a+212>>2];b=v[c+8>>2];if((b|0)>=1){while(1){e=v[v[c>>2]+(d<<2)>>2];if(e){dc(e);b=v[c+8>>2]}d=d+1|0;if((d|0)<(b|0)){continue}break}}dc(Vc(c));d=0;b=fc(16);v[299999]=0;S(3315,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}v[a+212>>2]=b;c=v[a+216>>2];b=v[c+8>>2];if((b|0)>=1){while(1){e=v[v[c>>2]+(d<<2)>>2];if(e){b=v[e+32>>2];if(b){dc(Dc(b))}dc(e);b=v[c+8>>2]}d=d+1|0;if((d|0)<(b|0)){continue}break}}dc(Vc(c));b=fc(16);v[299999]=0;S(3315,b|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break a}v[a+216>>2]=b;c=v[a+220>>2];if(c){b=v[c+8>>2];if((b|0)>=1){d=0;while(1){e=v[v[c>>2]+(d<<2)>>2];if(e){Hp(e);dc(e);b=v[c+8>>2]}d=d+1|0;if((d|0)<(b|0)){continue}break}}dc(Vc(c));v[a+220>>2]=0}v[a+224>>2]=0;v[a+228>>2]=0;v[a+240>>2]=0;v[a+244>>2]=0;v[a+232>>2]=0;v[a+236>>2]=0;return}}a=P()|0;O()|0;dc(b);T(a|0);L()}function a2a(a,b){a=a|0;b=b|0;var 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;i=v[a+444>>2];a:{switch(b|0){case 0:b:{if(v[v[a+472>>2]+8>>2]){v[i+4>>2]=178;p=v[a+36>>2];if((p|0)>=1){m=v[a+324>>2];q=m-2|0;r=m+2|0;n=v[a+216>>2];while(1){a=o<<2;b=v[a+v[i+60>>2]>>2];f=v[a+v[i+56>>2]>>2];e=v[(a+i|0)+8>>2];h=(B(v[n+40>>2],v[n+12>>2])|0)/(m|0)|0;d=B(r,h);c:{if((d|0)<1){break c}g=d&3;a=0;if(d-1>>>0>=3){j=d&-4;while(1){d=a<<2;c=v[d+e>>2];v[b+d>>2]=c;v[d+f>>2]=c;c=d|4;k=v[c+e>>2];v[b+c>>2]=k;v[c+f>>2]=k;c=d|8;k=v[c+e>>2];v[b+c>>2]=k;v[c+f>>2]=k;d=d|12;c=v[d+e>>2];v[b+d>>2]=c;v[d+f>>2]=c;a=a+4|0;j=j-4|0;if(j){continue}break}}if(!g){break c}while(1){d=a<<2;j=v[d+e>>2];v[b+d>>2]=j;v[d+f>>2]=j;a=a+1|0;g=g-1|0;if(g){continue}break}}d:{if((h|0)<1){break d}d=B(h,q);j=B(h,m);g=h<<1;c=(g|0)>1?g:1;k=c&1;a=0;if((g|0)>=2){g=c&2147483646;while(1){c=a+d<<2;l=a+j<<2;v[c+b>>2]=v[l+e>>2];v[b+l>>2]=v[c+e>>2];c=a|1;l=c+d<<2;c=c+j<<2;v[l+b>>2]=v[c+e>>2];v[b+c>>2]=v[e+l>>2];a=a+2|0;g=g-2|0;if(g){continue}break}}if(k){g=a+d<<2;a=a+j<<2;v[g+b>>2]=v[a+e>>2];v[a+b>>2]=v[e+g>>2]}e=h&3;b=0;if(h-1>>>0>=3){a=h&-4;while(1){v[(b-h<<2)+f>>2]=v[f>>2];v[((b|1)-h<<2)+f>>2]=v[f>>2];v[((b|2)-h<<2)+f>>2]=v[f>>2];v[((b|3)-h<<2)+f>>2]=v[f>>2];b=b+4|0;a=a-4|0;if(a){continue}break}}if(!e){break d}while(1){v[(b-h<<2)+f>>2]=v[f>>2];b=b+1|0;e=e-1|0;if(e){continue}break}}n=n+88|0;o=o+1|0;if((p|0)!=(o|0)){continue}break}}v[i+76>>2]=0;v[i+64>>2]=0;v[i+68>>2]=0;break b}v[i+4>>2]=179}v[i+48>>2]=0;v[i+52>>2]=0;return;case 2:v[i+4>>2]=180;return;default:break a}}b=v[a>>2];v[b+20>>2]=3;Ub[v[b>>2]](a)}function n0(a,b,c){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,p=0;k=1;a:{b:{c:{switch(b-a>>2){case 2:c=v[v[c>>2]+12>>2];b=b-4|0;d=v[b>>2];e=v[a>>2];if(y[v[c+(d<<2)>>2]>>2]>=y[v[c+(e<<2)>>2]>>2]){break b}v[a>>2]=d;v[b>>2]=e;break a;case 3:d=b-4|0;e=v[d>>2];b=v[v[c>>2]+12>>2];f=v[v[(e<<2)+b>>2]>>2];g=v[a+4>>2];i=v[v[b+(g<<2)>>2]>>2];c=v[a>>2];h=v[b+(c<<2)>>2];if(i>>>0>=y[h>>2]){if(f>>>0>=i>>>0){break b}v[a+4>>2]=e;v[d>>2]=g;c=v[a+4>>2];d=v[a>>2];if(y[v[b+(c<<2)>>2]>>2]>=y[v[b+(d<<2)>>2]>>2]){break b}v[a+4>>2]=d;v[a>>2]=c;break a}if(f>>>0>>0){v[a>>2]=e;v[d>>2]=c;break a}v[a+4>>2]=c;v[a>>2]=g;e=v[d>>2];if(y[v[b+(e<<2)>>2]>>2]>=y[h>>2]){break b}v[a+4>>2]=e;v[d>>2]=c;break a;case 4:FI(a,a+4|0,a+8|0,b-4|0,c);break a;case 5:EI(a,a+4|0,a+8|0,a+12|0,b-4|0,c);break a;case 0:case 1:break b;default:break c}}g=a+4|0;e=a+8|0;j=v[v[c>>2]+12>>2];f=v[a+8>>2];m=v[j+(f<<2)>>2];p=v[m>>2];d:{e:{f:{h=v[a+4>>2];n=v[v[(h<<2)+j>>2]>>2];l=v[a>>2];o=v[(l<<2)+j>>2];if(n>>>0>=y[o>>2]){if(p>>>0>>0){break f}d=f;break d}c=a;i=e;d=l;if(p>>>0>>0){break e}v[a+4>>2]=l;v[a>>2]=h;c=g;if(y[m>>2]>2]){break e}d=f;break d}v[g>>2]=f;v[e>>2]=h;c=a;i=g;d=h;if(y[m>>2]>=y[o>>2]){break d}}v[c>>2]=f;v[i>>2]=l}c=a+12|0;if((c|0)==(b|0)){break b}g=0;while(1){g:{f=c;k=c;i=v[c>>2];h=v[(i<<2)+j>>2];if(y[h>>2]>2]>>2]){while(1){h:{v[k>>2]=d;c=e;if((c|0)==(a|0)){c=a;break h}k=c;e=c-4|0;d=v[e>>2];if(y[h>>2]>2]>>2]){continue}}break}v[c>>2]=i;g=g+1|0;if((g|0)==8){break g}}c=f+4|0;if((c|0)==(b|0)){break a}d=v[f>>2];e=f;continue}break}k=(f+4|0)==(b|0)}return k}return 1}function y7(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=Qb-16|0;Qb=k;a:{b:{c:{d:{e:{if(!d){i=v[a+584>>2];if(!i){break e}g=(c|0)/v[i+8>>2]|0;if(v[i>>2]==1){c=b}else{if(v[i+16>>2]<(g|0)){break d}c=v[i+12>>2]}d=0;j=c;eg(c,0,g<<1);e=v[a+608>>2];c=v[a+604>>2];f:{g:{if((g|0)>=1){if((e|0)<=0){break b}while(1){h=t[c|0];f=h&255;h:{if((h|0)>=0){c=c+1|0;e=e-1|0;if(e){while(1){if(!f|(d|0)>=(g|0)){break h}h=j+(d<<1)|0;u[h>>1]=x[h>>1]|w[c|0]<<8;c=c+1|0;d=d+1|0;f=f-1|0;e=e-1|0;if(e){continue}break}}e=0;f=0;if((d|0)!=(g|0)){break b}break f}e=e-2|0;h=c+2|0;f=f-126|0;i:{if(!f|(d|0)>=(g|0)){break i}c=w[c+1|0]<<8;while(1){l=j+(d<<1)|0;u[l>>1]=c|x[l>>1];d=d+1|0;f=f-1|0;if(!f){break i}if((d|0)<(g|0)){continue}break}}c=h}if((d|0)<(g|0)&(e|0)>0){continue}break}if((d|0)==(g|0)){break g}break b}if(g){break b}break c}f=0;if((e|0)<1){break f}while(1){h=t[c|0];d=h&255;j:{if((h|0)>=0){c=c+1|0;e=e-1|0;if(!e){e=0;break f}while(1){if(!d|(f|0)>=(g|0)){break j}h=j+(f<<1)|0;u[h>>1]=x[h>>1]|w[c|0];c=c+1|0;f=f+1|0;d=d-1|0;e=e-1|0;if(e){continue}break}e=0;break f}e=e-2|0;h=c+2|0;d=d-126|0;k:{if(!d|(f|0)>=(g|0)){break k}c=w[c+1|0];while(1){l=j+(f<<1)|0;u[l>>1]=c|x[l>>1];f=f+1|0;d=d-1|0;if(!d){break k}if((f|0)<(g|0)){continue}break}}c=h}if((f|0)>=(g|0)){break f}if((e|0)>0){continue}break}}d=f;if((g|0)!=(d|0)){break b}break c}X(33866,6284,193,84240);L()}X(25714,6284,194,84240);L()}X(34494,6284,201,84240);L()}Ub[v[i+20>>2]](i,b,g);b=1;break a}b=v[a>>2];f=v[a+628>>2];j=v[a+472>>2];v[k+4>>2]=g-d;v[k>>2]=j;zc(f,b,41505,k);b=0}v[a+608>>2]=e;v[a+604>>2]=c;Qb=k+16|0;return b|0}function v5a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=C(0),i=0,j=C(0),k=0,l=0,m=0,n=0,o=0,p=C(0),q=0,r=0,s=C(0),t=0,w=0,y=0,z=0,A=C(0);g=Qb-32|0;Qb=g;a:{b=x[a+26322>>1];if(b){e=a;if(v[a+188>>2]){Rc(213953,29,1,v[252391]);c=x[a+26322>>1]}else{c=b}b=x[a+26316>>1];d=(c+b|0)-1>>b;u[e+26322>>1]=d;e=d&65535;f=+(e|0)/.7071067811865476;b:{if(f<4294967296&f>=0){b=~~f>>>0;break b}b=0}c=b;m=x[a+26308>>1];f=+(m-e|0)/.7071067811865476;c:{if(f<4294967296&f>=0){e=~~f>>>0;break c}e=0}n=bd(B(c,e),8);if(!n){break a}if(!(!e|!b)){m=m-2|0;f=+((d&65535)>>>0);while(1){t=B(b,l);k=0;while(1){h=C(+(l-k|0)*.7071067811865476+f);d:{if(h=C(0)){c=~~h>>>0;break d}c=0}i=(c|0)>(m|0);j=C(+(l+k|0)*.7071067811865476);e:{if(j=C(0)){d=~~j>>>0;break e}d=0}f:{if(i){break f}i=x[a+26310>>1];if((d|0)>(i-2|0)){break f}q=v[a+26336>>2];if((q|0)<1){break f}o=(v[a+26352>>2]+(B(c,i)<<3)|0)+(d<<3)|0;w=o+8|0;r=(i<<3)+o|0;y=r+8|0;z=k+t|0;s=C(h-C(c>>>0));A=C(C(1)-s);h=C(j-C(d>>>0));j=C(C(1)-h);c=0;while(1){d=c<<1;p=C(C(A*C(C(j*C(x[d+o>>1]))+C(h*C(x[d+w>>1]))))+C(s*C(C(j*C(x[d+r>>1]))+C(h*C(x[d+y>>1])))));g:{if(p=C(0)){i=~~p>>>0;break g}i=0}u[d+((z<<3)+n|0)>>1]=i;c=c+1|0;if((q|0)!=(c|0)){continue}break}}k=k+1|0;if((b|0)!=(k|0)){continue}break}l=l+1|0;if((e|0)!=(l|0)){continue}break}}dc(v[a+26352>>2]);v[a+26352>>2]=n;u[a+26308>>1]=e;u[a+26310>>1]=b;u[a+26322>>1]=0}Qb=g+32|0;return}b=v[a+190640>>2];h:{if(b){e=v[a+25208>>2];v[g+20>>2]=213983;v[g+16>>2]=e;zd(b,4338,g+16|0);break h}b=v[a+25208>>2];v[g+4>>2]=213983;v[g>>2]=b;wc(v[252391],4338,g)}sd(a+190484|0,1);L()}function f_a(a,b){a=a|0;b=b|0;var 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;d=Qb-16|0;Qb=d;i=v[b+28>>2];v[a+368>>2]=b;c=Ub[v[a+516>>2]](a,1851878757,b,d+8|0)|0;a:{if(c){break a}j=v[b+8>>2];c=me(b,447152,a+344|0);v[d+12>>2]=c;if(c){break a}c=145;m=j+6|0;f=v[a+348>>2];h=m+B(f,12)|0;k=v[d+8>>2]+j|0;if(h>>>0>k>>>0){break a}g=a;e=i;if(x[a+344>>1]==1){c=Yc(b,h);v[d+12>>2]=c;if(c){break a}f=Ed(b,d+12|0);v[a+360>>2]=f;c=v[d+12>>2];if(c){break a}n=a,o=Cc(i,12,0,f,0,d+12|0),v[n+364>>2]=o;c=v[d+12>>2];if(c){break a}c=ne(b,v[a+360>>2]<<2);v[d+12>>2]=c;if(c){break a}h=((f<<2)+h|0)+2|0;c=v[a+364>>2];b:{if(!c){break b}f=v[a+360>>2];if((f|0)<1){break b}f=B(f,12)+c|0;while(1){n=d,o=me(b,447212,c),v[n+12>>2]=o;l=v[c+4>>2]+(v[a+352>>2]+j|0)|0;v[c+4>>2]=l;if(!(h>>>0<=l>>>0&l+x[c>>1]>>>0<=k>>>0)){u[c>>1]=0}c=c+12|0;if(f>>>0>c>>>0){continue}break}}Vd(b);n=d,o=Yc(b,m),v[n+12>>2]=o;f=v[a+348>>2]}n=g,o=Cc(e,20,0,f,0,d+12|0),v[n+356>>2]=o;c=v[d+12>>2];if(c){break a}c=ne(b,B(v[a+348>>2],12));v[d+12>>2]=c;if(c){break a}e=v[a+356>>2];f=v[a+348>>2];c:{if(!f){c=e;g=0;break c}c=e;while(1){e=me(b,447184,c);v[d+12>>2]=e;d:{if(e){break d}e=x[c+8>>1];if(!e){break d}g=v[c+12>>2]+(v[a+352>>2]+j|0)|0;v[c+12>>2]=g;if(h>>>0>g>>>0|e+g>>>0>k>>>0){break d}e:{if(x[a+344>>1]!=1){break e}e=u[c+4>>1];if((e|0)>-1){break e}e=(e&65535)-32768|0;if(e>>>0>=y[a+360>>2]|!x[v[a+364>>2]+B(e,12)>>1]){break d}}c=c+20|0}f=f-1|0;if(f){continue}break}e=v[a+356>>2];g=v[a+348>>2]}c=(c-e|0)/20|0;i=Cc(i,20,g,c,e,d+12|0);v[a+348>>2]=c;v[a+356>>2]=i;Vd(b);u[a+340>>1]=v[a+348>>2];c=v[d+12>>2]}Qb=d+16|0;return c|0}function DU(a){var b=0,c=0,d=0,e=0;Bd(a);a:{c=v[a+36>>2];b=v[c+16>>2];b:{c:{if(w[b|0]!=101|w[b+1|0]!=110|(w[b+2|0]!=99|w[b+3|0]!=111)){break c}if(w[b+4|0]!=100|w[b+5|0]!=105|(w[b+6|0]!=110|w[b+7|0]!=103)){break c}v[a+200>>2]=v[a+200>>2]+8;v[c+16>>2]=b+8;v[c+32>>2]=v[c+32>>2]+8;b=w[b+8|0];if((b|0)==37){wd(a);c=v[a+36>>2];b=w[v[c+16>>2]]}d:{if(b&255){break d}if((cd(c)|0)>0){break d}vd(a)}Bd(a);if(w[v[v[a+36>>2]+16>>2]]!=61){te(a,75,0);return 0}xd(a);Bd(a);e:{f:{g:{h:{i:{switch(w[v[v[a+36>>2]+16>>2]]-34|0){case 0:xd(a);d=uU(a);if(w[v[v[a+36>>2]+16>>2]]==34){break h}te(a,34,0);Ub[v[259708]](d);return 0;case 5:break i;default:break g}}xd(a);d=uU(a);if(w[v[v[a+36>>2]+16>>2]]!=39){break a}}xd(a);if(w[a+362|0]&32){break f}if(!d){break c}if(Xy(d,324919)){if(Xy(d,324893)){break e}}c=v[a+24>>2];j:{if(!c){b=v[v[a+36>>2]>>2];if(!b|v[b+12>>2]){break j}Nd(a,81,348029);c=v[a+24>>2];if(!c){break j}}Ub[v[259708]](c)}v[a+24>>2]=d;return d}te(a,33,0);if(!(w[a+362|0]&32)){break b}}Ub[v[259708]](d);break c}k:{if(Xy(d,323858)){if(Xy(d,323360)){break k}}b=v[a+24>>2];if(b){Ub[v[259708]](b)}v[a+24>>2]=d;return d}b=v[a+36>>2];c=v[b+44>>2];if(c){Ub[v[259708]](c);b=v[a+36>>2]}v[b+44>>2]=d;b=Jf(d);if(b){c=Qb-16|0;Qb=c;l:{if(!b){b=-1;break l}e=v[a+36>>2];m:{if(e){b=QF(a,e,b,-1);e=a+256|0;break m}if(v[a+212>>2]){b=-1;if(v[a+172>>2]==-1){break l}}v[a+84>>2]=1;v[c>>2]=0;oc(0,0,0,a,0,1,1,3,0,0,0,0,347925,c);v[a+12>>2]=0;b=-1;if(v[a+288>>2]){break l}e=a+212|0}v[e>>2]=1}Qb=c+16|0;if((b|0)>-1){break b}v[a+84>>2]=32;break c}hf(a,32,349620,d)}d=0}return d}te(a,34,0);Ub[v[259708]](d);return 0}function z3a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;h=Qb-16|0;Qb=h;d=v[a+712>>2];v[h+12>>2]=0;a:{if(!d){break a}e=v[d+3092>>2];if(e){c=0}else{e=Fd(v[a+100>>2],32,h+12|0);c=v[h+12>>2];if(c){break a}a=0;i=e;c=v[d+1372>>2];f=0;b:{if((c|0)==65535){break b}if(c>>>0>=391){c=c-391|0;f=0;if(c>>>0>=y[d+1356>>2]){break b}f=v[v[d+1360>>2]+(c<<2)>>2];break b}g=v[d+3084>>2];f=0;if(!g){break b}f=Ub[v[g+20>>2]](c)|0}v[i>>2]=f;c=v[d+1376>>2];c:{if((c|0)==65535){break c}if(c>>>0>=391){c=c-391|0;if(c>>>0>=y[d+1356>>2]){break c}a=v[v[d+1360>>2]+(c<<2)>>2];break c}g=v[d+3084>>2];if(!g){break c}a=Ub[v[g+20>>2]](c)|0}v[e+4>>2]=a;a=0;i=e;c=v[d+1384>>2];f=0;d:{if((c|0)==65535){break d}if(c>>>0>=391){c=c-391|0;f=0;if(c>>>0>=y[d+1356>>2]){break d}f=v[v[d+1360>>2]+(c<<2)>>2];break d}g=v[d+3084>>2];f=0;if(!g){break d}f=Ub[v[g+20>>2]](c)|0}v[i+8>>2]=f;c=v[d+1388>>2];e:{if((c|0)==65535){break e}if(c>>>0>=391){c=c-391|0;if(c>>>0>=y[d+1356>>2]){break e}a=v[v[d+1360>>2]+(c<<2)>>2];break e}g=v[d+3084>>2];if(!g){break e}a=Ub[v[g+20>>2]](c)|0}v[e+12>>2]=a;c=0;a=v[d+1392>>2];f:{if((a|0)==65535){break f}if(a>>>0>=391){a=a-391|0;if(a>>>0>=y[d+1356>>2]){break f}c=v[v[d+1360>>2]+(a<<2)>>2];break f}g=v[d+3084>>2];if(!g){break f}c=Ub[v[g+20>>2]](a)|0}v[e+16>>2]=c;v[e+20>>2]=v[d+1400>>2];t[e+24|0]=w[d+1396|0];u[e+26>>1]=v[d+1404>>2];u[e+28>>1]=v[d+1408>>2];v[d+3092>>2]=e;c=v[h+12>>2]}a=v[e+4>>2];v[b>>2]=v[e>>2];v[b+4>>2]=a;a=v[e+28>>2];v[b+24>>2]=v[e+24>>2];v[b+28>>2]=a;a=v[e+20>>2];v[b+16>>2]=v[e+16>>2];v[b+20>>2]=a;a=v[e+12>>2];v[b+8>>2]=v[e+8>>2];v[b+12>>2]=a}Qb=h+16|0;return c|0}function dLa(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;d=w[b+11|0];e=d<<24>>24<0;g=e?v[b+4>>2]:d;i=e?v[b>>2]:b;d=w[a+11|0];e=d<<24>>24<0;f=e?v[a+4>>2]:d;e=e?v[a>>2]:a;while(1){a:{if(g){m=e+f|0;f=e+l|0;l=m-f|0;if((l|0)<(g|0)){break a}h=w[i|0];while(1){l=l-g|0;d=l+1|0;if(d>>>0>>0){break a}d=fi(f,h,d);if(!d){break a}if(Pc(d,i,g)){f=d+1|0;l=m-f|0;if((l|0)>=(g|0)){continue}break a}break}if((d|0)==(m|0)){break a}l=d-e|0}if((l|0)==-1){break a}e=w[c+11|0];d=e<<24>>24<0;i=d?v[c>>2]:c;f=d?v[c+4>>2]:e;h=Qb-16|0;Qb=h;v[h+12>>2]=g;b:{c:{d:{g=l;d=g;e=a;e:{if(w[e+11|0]>>>7|0){m=v[e+4>>2];break e}m=w[e+11|0]}if(d>>>0<=m>>>0){j=m-g|0;v[h+8>>2]=j;d=Qb-16|0;Qb=d;Qb=d+16|0;d=h+8|0;k=h+12|0;v[h+12>>2]=v[(y[d>>2]>2]?d:k)>>2];k=v[h+12>>2];e=w[e+11|0]>>>7|0?(v[a+8>>2]&2147483647)-1|0:10;if(k+(e-m|0)>>>0>=f>>>0){e=a;f:{if(w[e+11|0]>>>7|0){d=v[e>>2];break f}d=e}k=v[h+12>>2];g:{if((k|0)==(f|0)){break g}n=j-k|0;if(!n){break g}j=d+g|0;if(f>>>0>>0){break d}h:{if(i>>>0<=j>>>0|d+m>>>0<=i>>>0){break h}if(j+k>>>0<=i>>>0){i=(f-k|0)+i|0;break h}Bn(j,i,k);j=v[h+12>>2];k=0;v[h+12>>2]=0;i=f+i|0;f=f-j|0;g=g+j|0}j=d+g|0;Bn(j+f|0,j+k|0,n)}Bn(d+g|0,i,f);break c}Tq(a,e,f+m-(e+k)|0,m,g,k,f,i);break b}El(e);L()}Bn(j,i,f);Bn(f+j|0,j+v[h+12>>2]|0,n)}g=(f-v[h+12>>2]|0)+m|0;f=g;i:{if(w[e+11|0]>>>7|0){v[a+4>>2]=f;break i}t[a+11|0]=f}t[h+7|0]=0;t[d+g|0]=w[h+7|0]}Qb=h+16|0;d=w[b+11|0];e=d<<24>>24<0;g=e?v[b+4>>2]:d;i=e?v[b>>2]:b;d=w[a+11|0];f=d<<24>>24<0;e=f?v[a>>2]:a;f=f?v[a+4>>2]:d;d=w[c+11|0];l=(d<<24>>24<0?v[c+4>>2]:d)+l|0;if(f>>>0>=l>>>0){continue}}break}}function sr(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{if(w[a|0]!=35){break a}b=0;k=a+1|0;l=Bc(k);i=l+a|0;c=i+1|0;d=l-1|0;j=d+a|0;e=(l|0)<2?k:j;if(c>>>0>e>>>0){f=t[e|0];g=c>>>0>e+1>>>0?w[e+1|0]:g;b:{if(!f){break b}c=f-97>>>0<26?f&95:f;b=c<<24;b=b-1073741825>>>0<117440511?c-55|0:b-788529153>>>0<184549375?c-48|0:0;if(!g){break b}c=g<<24>>24;e=c-97>>>0<26?c&95:c;c=e<<24;b=(b&255)<<4|(c-1073741825>>>0<117440511?e+201|0:c-788529153>>>0<184549375?e+208|0:0)}b=b&255}c=l-3|0;f=c+a|0;d=(d|0)<3?k:f;if(d>>>0>>0){e=t[d|0];g=0;g=j>>>0>d+1>>>0?w[d+1|0]:g;c:{if(!e){break c}e=e-97>>>0<26?e&95:e;d=e<<24;h=d-1073741825>>>0<117440511?e-55|0:d-788529153>>>0<184549375?e-48|0:0;if(!g){break c}d=g<<24>>24;e=d-97>>>0<26?d&95:d;d=e<<24;h=(h&255)<<4|(d-1073741825>>>0<117440511?e+201|0:d-788529153>>>0<184549375?e+208|0:0)}b=(h&255)<<8|b}d=l-5|0;j=d+a|0;c=(c|0)<3?k:j;if(c>>>0>>0){e=t[c|0];a=0;h=0;h=f>>>0>c+1>>>0?w[c+1|0]:h;d:{if(!e){break d}c=e-97>>>0<26?e&95:e;a=c<<24;a=a-1073741825>>>0<117440511?c-55|0:a-788529153>>>0<184549375?c-48|0:0;if(!(h&255)){break d}c=h<<24>>24;e=c-97>>>0<26?c&95:c;c=e<<24;a=(a&255)<<4|(c-1073741825>>>0<117440511?e+201|0:c-788529153>>>0<184549375?e+208|0:0)}b=(a&255)<<16|b}d=(d|0)<3?k:i-7|0;if(d>>>0>=j>>>0){break a}i=t[d|0];a=0;c=0;c=j>>>0>d+1>>>0?w[d+1|0]:c;e:{if(!i){break e}d=i-97>>>0<26?i&95:i;a=d<<24;a=a-1073741825>>>0<117440511?d-55|0:a-788529153>>>0<184549375?d-48|0:0;if(!c){break e}d=c<<24>>24;c=d-97>>>0<26?d&95:d;d=c<<24;a=(a&255)<<4|(d-1073741825>>>0<117440511?c+201|0:d-788529153>>>0<184549375?c+208|0:0)}b=a<<24|b}return b}function Vla(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=Qb-16|0;Qb=e;a:{b:{c:{d:{if((c|0)<1){break d}c=c-1|0;if(!d){while(1){d=c;v[a>>2]=0;v[a+4>>2]=v[282402];c=v[b>>2];e:{if(c){f=v[v[c>>2]+28>>2];v[299999]=0;U(f|0,e+8|0,c|0,1);c=v[299999];v[299999]=0;if((c|0)!=1){break e}b=P()|0;O()|0;break b}v[e+8>>2]=0}v[299999]=0;Q(4344,a|0,e+8|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){c=v[e+8>>2];v[e+8>>2]=0;f:{if(!c){break f}v[299999]=0;f=v[c+4>>2]-1|0;v[c+4>>2]=f;g=v[299999];v[299999]=0;if((g|0)==1){break a}if(f){break f}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}c=v[a>>2];v[a+4>>2]=v[(c?c+12|0:1129608)>>2];c=d-1|0;b=b+8|0;a=a+8|0;if((d|0)>0){continue}break d}break}break c}while(1){d=c;v[a>>2]=0;v[a+4>>2]=v[282402];c=v[b>>2];g:{if(c){f=v[v[c>>2]+28>>2];v[299999]=0;U(f|0,e+8|0,c|0,1);c=v[299999];v[299999]=0;if((c|0)!=1){break g}b=P()|0;O()|0;break b}v[e+8>>2]=0}v[299999]=0;Q(4344,a|0,e+8|0)|0;c=v[299999];v[299999]=0;h:{if((c|0)!=1){c=v[e+8>>2];v[e+8>>2]=0;if(!c){break h}v[299999]=0;f=v[c+4>>2]-1|0;v[c+4>>2]=f;g=v[299999];v[299999]=0;if((g|0)==1){break a}if(f){break h}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)!=1){break h}break a}break c}c=v[a>>2];v[a+4>>2]=v[(c?c+12|0:1129608)>>2];c=d-1|0;a=a+8|0;b=ec(b)+8|0;if((d|0)>0){continue}break}}Qb=e+16|0;return}b=P()|0;O()|0;c=v[e+8>>2];v[e+8>>2]=0;if(!c){break b}v[299999]=0;d=v[c+4>>2]-1|0;v[c+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(d){break b}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}ec(a);T(b|0);L()}W(0)|0;O()|0;lc();L()}function Dv(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;m=v[a+2744>>2];a:{if(!(m&4)){break a}h=v[a+2748>>2];if(w[(h+B(b,9804)|0)+256|0]){break a}a=c>>31;g=a+c^a;b:{c:{d:{if((b|0)==1){if(m&2){break d}if(!(f&2)|(g|0)>=192){break c}a=g;break b}if(!(m&1)){break c}}e:{f:{g:{h:{i:{a=v[(B(b,9804)+h|0)+52>>2];if(a){q=a&1;if((a|0)!=1){break i}e=98;a=0;f=g;break h}a=g+32&2147483584;f=g;break g}d=a&-2;e=98;a=0;n=(B(b,9804)+h|0)+56|0;f=g;while(1){o=v[(B(a|1,12)+n|0)+4>>2];i=g-o|0;j=i>>31;p=v[(B(a,12)+n|0)+4>>2];k=g-p|0;l=k>>31;k=l^l+k;l=(k|0)<(e|0);i=j^j+i;e=l?k:e;j=(i|0)<(e|0);e=j?i:e;f=j?o:l?p:f;a=a+2|0;d=d-2|0;if(d){continue}break}}if(q){d=v[((B(b,9804)+h|0)+B(a,12)|0)+60>>2];h=g-d|0;a=h>>31;f=(a^a+h)<(e|0)?d:f}a=f+32&-64;if((f|0)>(g|0)){break f}}d=(a|48)>(g|0)?f:g;break e}d=(a-48|0)<(g|0)?f:g}if((b|0)==1){a=64;if((d|0)<64){break b}a=d+16&-64;break b}if(m&8){a=64;if((d|0)<64){break b}a=d+32&-64;break b}if((d|0)<=47){a=d- -64>>1;break b}if((d|0)<=127){a=d+22&-64;d=a-g|0;b=d>>31;if((b^b+d)>>>0<16){break b}if((g|0)>47){a=g;break b}a=g- -64>>>1|0;break b}a=d+32&-64;break b}a=e&1?(g|0)<80?64:g:(g|0)>56?g:56;b=B(b,9804)+h|0;if(!v[b+52>>2]){break b}b=v[b+60>>2];f=a-b|0;e=f>>31;if((e^e+f)>>>0<=39){a=(b|0)>48?b:48;break b}if((a|0)<=191){b=a&63;if(b>>>0<10){break b}d=a&2147483584;if(b>>>0<=31){a=d|10;break b}a=b>>>0<54?d|54:a;break b}j:{if(!((d|0)>0&(c|0)>=1)){e=0;if((c|0)>-1|(d|0)>-1){break j}}b=x[v[v[h+4>>2]+88>>2]+12>>1];if(b>>>0>=10){e=0;if(b>>>0>29){break j}d=(B(30-b|0,d)|0)/20|0}b=d>>31;e=b-(b^d)|0}a=(e+a|0)+32&-64}c=(c|0)<0?0-a|0:a}return c}function aE(a,b){var 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,u=0,x=0,y=0,z=0,B=0,C=0;l=v[b+8>>2];if((l|0)>=1){x=v[b>>2];while(1){b=v[v[(k<<2)+x>>2]>>2];m=v[b+8>>2];if((m|0)>=1){y=v[b>>2];g=0;while(1){b=v[v[(g<<2)+y>>2]>>2];n=v[b+8>>2];if((n|0)>=1){z=v[b>>2];h=0;while(1){b=v[v[(h<<2)+z>>2]>>2];o=v[b+8>>2];if((o|0)>=1){p=v[a+216>>2];q=v[p+8>>2];r=v[a+212>>2];s=v[r+8>>2];B=v[b>>2];i=0;while(1){a:{b:{c:{d:{e:{c=v[(i<<2)+B>>2];j=w[c+100|0];u=j-1|0;switch(u|0){case 2:break b;case 1:break c;case 0:break d;default:break e}}d=A[c+56>>3];f=A[c+24>>3]+d*A[v[c+48>>2]+32>>3];break a}d=A[c+56>>3];f=A[c>>3]-d*A[v[c+48>>2]+32>>3];break a}d=A[c+56>>3];f=A[c+16>>3]-d*A[v[c+48>>2]+32>>3];break a}d=A[c+56>>3];f=A[c+8>>3]+d*A[v[c+48>>2]+32>>3]}d=d*.2;if((s|0)>=1){C=v[r>>2];b=0;while(1){e=v[(b<<2)+C>>2];f:{g:{if(v[e+32>>2]){h:{switch(j|0){case 0:case 2:break h;default:break f}}if(!(d>D(A[e+8>>3]-f))|!(A[e>>3]>3])){break f}if(A[e+16>>3]>A[c+8>>3]-d){break g}break f}i:{switch(u|0){case 0:case 2:break i;default:break f}}if(!(A[e+24>>3]>A[c+24>>3]-d)|(!(d>D(A[e>>3]-f))|!(A[e+8>>3]>3]))){break f}}t[c+104|0]=1}b=b+1|0;if((s|0)!=(b|0)){continue}break}}if((q|0)>=1){f=d+A[c>>3];j=v[p>>2];b=0;while(1){e=v[j+(b<<2)>>2];if(!(!(f>A[e>>3])|!(A[e+16>>3]>A[c+8>>3]-d)|(!(A[e+8>>3]>3])|!(A[e+24>>3]>A[c+24>>3]-d)))){v[c+64>>2]=e}b=b+1|0;if((q|0)!=(b|0)){continue}break}}i=i+1|0;if((o|0)!=(i|0)){continue}break}}h=h+1|0;if((n|0)!=(h|0)){continue}break}}g=g+1|0;if((m|0)!=(g|0)){continue}break}}k=k+1|0;if((l|0)!=(k|0)){continue}break}}}function IF(a,b){var c=0,d=0,e=0,f=0;a:{if(!a){break a}c=v[a+20>>2];if(!c){break a}f=v[c+296>>2]}b:{c:{d:{e:{d=v[b+4>>2];switch(d-2|0){case 0:break c;case 16:break d;case 12:break e;default:break b}}bq(b);return}a=v[b+8>>2];if(a){Ub[v[259708]](a)}a=v[b+12>>2];if(a){Ub[v[259708]](a)}Ub[v[259708]](b);return}HF(a,b);return}c=v[b+12>>2];if(!(!c|(d|0)==5)){if(v[c+20>>2]==(b|0)){Ky(a,c)}v[b+12>>2]=0}f:{if(!v[294265]){break f}c=v[294263];if(!c){break f}Ub[c|0](b)}c=v[b+4>>2];g:{if(c>>>0>20|!(1<>2];if(!c){break g}while(1){d=v[c+24>>2];HF(a,c);c=d;if(c){continue}break}}e=v[b+40>>2];h:{i:{if((e|0)==(b+44|0)){break i}d=v[b+4>>2];if(!e|(1<>>0<=20:0)){break h}if(f){d=f;while(1){c=v[d+16>>2];if(c){while(1){if(e>>>0<=y[c+4>>2]&e>>>0>=c+20>>>0){break i}c=v[c>>2];if(c){continue}break}}d=v[d+20>>2];if(d){continue}break}}Ub[v[259708]](e)}d=v[b+4>>2]}j:{if(!(1<>>0>20){break j}c=v[b+48>>2];if(!c){break j}while(1){d=v[c>>2];e=v[c+8>>2];if(e){Ub[v[259708]](e)}e=v[c+12>>2];if(e){Ub[v[259708]](e)}Ub[v[259708]](c);c=d;if(c){continue}break}d=v[b+4>>2]}k:{l:{m:{switch(d-3|0){default:e=v[b+8>>2];n:{if(!e){break n}if(f){while(1){c=v[f+16>>2];if(c){while(1){if(e>>>0<=y[c+4>>2]&e>>>0>=c+20>>>0){break n}c=v[c>>2];if(c){continue}break}}f=v[f+20>>2];if(f){continue}break}}Ub[v[259708]](e);d=v[b+4>>2]}if((d|0)==1){break l}break;case 0:case 5:break m}}if((d|0)!=3){break k}}if(!a){break k}a=v[a+20>>2];if(!a){break k}c=v[a+368>>2];if((c|0)>99){break k}v[b+24>>2]=v[a+372>>2];v[a+368>>2]=c+1;v[a+372>>2]=b;return}Ub[v[259708]](b)}function mW(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;j=Qb-128|0;Qb=j;k=v[a+16>>2];l=v[a+8>>2];i=t[b+c|0];g=i<<2&224;a:{b:{if(!g){if((i|0)<=63){m=((i&7)<<5)+32|0;g=0;break b}v[j>>2]=-1;g=1}m=((i&7)<<5)+32|0;h=1;if(m>>>0<=g>>>0){break a}}o=e<<8;q=l+(c<<10)|0;i=-1;while(1){c=g;g=v[(c<<2)+q>>2];c:{if((g|0)>=0){d:{e=g>>>24|0;if(t[e+b|0]<0){break d}if(mW(a,b,e,(g&16777215)+d|0,c|o,f)){break d}h=0;break a}v[((c&31)<<2)+j>>2]=-1;break c}e=-1;e:{f:{switch(g>>>20&15){case 0:e=g&65535;break e;case 4:e=x[((g&65535)+d<<1)+k>>1];e=e>>>0<65534?e:-1;break e;case 5:g=(g&65535)+d|0;e=x[(g<<1)+k>>1];if(e>>>0<55296){break e}g=g+1|0;if(e>>>0<=56319){e=(x[(g<<1)+k>>1]+(e<<10&1047552)|0)+9216|0;break e}h=(e|0)!=57344;e=-1;if(h){break e}e=x[(g<<1)+k>>1];break e;case 1:break f;default:break e}}e=(g&1048575)+65536|0}v[((c&31)<<2)+j>>2]=e;i=e&i}g=c+1|0;if(!(g&31|(i|0)<0)){c=c-31|o;g:{h:{switch(w[f+172|0]-8|0){case 0:if(c>>>0<65536){break g}if(c>>>0<=9371647){c=c&32767;break g}c=c&65407;break g;case 1:break h;default:break g}}if(c>>>0<16777216){break g}if(c>>>0<=2399141887){c=c&8388607;break g}c=c&16744447}e=v[f+160>>2];l=v[f+24>>2];i=0;while(1){h=v[(i<<2)+j>>2];if((h|0)>=0){p=h&15;n=(l+(x[l+(h>>>9&8388606)>>1]<<2)|0)+(h>>>2&252)|0;h=p|v[n>>2]<<4&1048560;i:{j:{switch(w[f+172|0]-2|0){case 0:case 7:h=e+B(h,3)|0;t[h+2|0]=c;t[h+1|0]=c>>>8;t[h|0]=c>>>16;break i;case 1:v[e+(h<<2)>>2]=c;break i;default:break j}}u[e+(h<<1)>>1]=c}v[n>>2]=v[n>>2]|1<<(p|16)}c=c+1|0;i=i+1|0;if((i|0)!=32){continue}break}i=-1}if((g|0)!=(m|0)){continue}break}h=1}Qb=j+128|0;return h}function ama(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=Qb-48|0;Qb=d;v[a>>2]=984376;v[a+4>>2]=0;v[299999]=0;f=S(4477,a+12|0)|0;c=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{if((c|0)!=1){v[299999]=0;e=a+48|0;v[e+20>>2]=-1;c=e;v[c+12>>2]=-1;v[c+16>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;v[c>>2]=984412;c=v[299999];v[299999]=0;if((c|0)==1){break k}v[a+72>>2]=0;v[a+76>>2]=0;v[a+96>>2]=0;v[a+88>>2]=0;v[a+92>>2]=0;v[a+80>>2]=0;v[a+84>>2]=0;v[299999]=0;g=Q(4475,a+72|0,983664)|0;c=v[299999];v[299999]=0;if((c|0)==1){break j}v[a+100>>2]=0;v[a+104>>2]=0;v[a+124>>2]=0;v[a+116>>2]=0;v[a+120>>2]=0;v[a+108>>2]=0;v[a+112>>2]=0;v[299999]=0;h=Q(4475,a+100|0,984432)|0;c=v[299999];v[299999]=0;if((c|0)==1){break i}c=v[b+8>>2];if(v[(c?c+12|0:1129608)>>2]){break f}v[299999]=0;c=aa(4369,d+8|0,239134,241219,87,344116,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break h}v[299999]=0;R(4370,c|0);b=v[299999];v[299999]=0;if((b|0)==1){break g}L()}b=P()|0;O()|0;break a}b=P()|0;O()|0;break b}b=P()|0;O()|0;break c}b=P()|0;O()|0;break d}b=P()|0;O()|0;break e}b=P()|0;O()|0;qc(c);break e}v[299999]=0;V(4708,d+8|0,b|0);b=v[299999];v[299999]=0;l:{if((b|0)!=1){v[299999]=0;Q(4478,f|0,d+8|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break l}v[d+32>>2]=981312;v[d+8>>2]=981280;b=v[d+36>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Ub[v[v[b>>2]+4>>2]](b)}v[d+36>>2]=0}v[d+24>>2]=981312;b=v[d+28>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Ub[v[v[b>>2]+4>>2]](b)}v[d+28>>2]=0}ec(d+16|0);Qb=d+48|0;return a|0}b=P()|0;O()|0;break e}b=P()|0;O()|0;$c(d+8|0)}id(h)}id(g)}fd(e)}$c(f)}Qc(a);T(b|0);L()}function WTa(a,b){a=a|0;b=b|0;var 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;d=Qb-32|0;Qb=d;e=v[a+464>>2];a:{b:{if(v[e+40>>2]|!v[a+280>>2]){break b}c=v[a+460>>2];v[c+24>>2]=v[c+24>>2]+(v[e+12>>2]/8|0);v[e+12>>2]=0;i=0;if(!(Ub[v[c+8>>2]](a)|0)){break a}if(v[a+336>>2]>=1){c=0;while(1){v[((c<<2)+e|0)+20>>2]=0;c=c+1|0;if((c|0)>2]){continue}break}}v[e+16>>2]=0;v[e+40>>2]=v[a+280>>2];if(v[a+436>>2]){break b}v[e+36>>2]=0}if(!v[e+36>>2]){c=v[e+16>>2];c:{if(c){f=c-1|0;break c}m=v[a+428>>2];n=v[a+420>>2];l=v[a+412>>2];v[d+24>>2]=a;c=v[a+24>>2];v[d+8>>2]=v[c>>2];v[d+12>>2]=v[c+4>>2];c=v[e+12>>2];g=v[e+8>>2];k=v[a+408>>2];f=0;d:{if((l|0)<(k|0)){break d}f=v[e+60>>2];o=v[b>>2];while(1){e:{f:{g:{if((c|0)>7){break g}i=0;if(!bg(d+8|0,g,c,0)){break a}g=v[d+16>>2];c=v[d+20>>2];if((c|0)>7){break g}b=Wh(d+8|0,g,c,f,1);break f}b=g>>c-8&255;h=v[((b<<2)+f|0)+144>>2];if(h){b=w[(b+f|0)+1168|0];c=c-h|0;break e}b=Wh(d+8|0,g,c,f,9)}i=0;if((b|0)<0){break a}g=v[d+16>>2];c=v[d+20>>2]}h=b>>>4|0;h:{j=b&15;if(j){if((c|0)<(j|0)){i=0;if(!bg(d+8|0,g,c,j)){break a}g=v[d+16>>2];c=v[d+20>>2]}b=h+k|0;h=j<<2;k=v[h+72672>>2];c=c-j|0;j=k&g>>c;u[(v[(b<<2)+m>>2]<<1)+o>>1]=j-((j|0)>v[h+72668>>2]?0:k)<>>0>=16){if((c|0)<(h|0)){i=0;if(!bg(d+8|0,g,c,h)){break a}g=v[d+16>>2];c=v[d+20>>2]}c=c-h|0;f=f+(v[(h<<2)+72672>>2]&g>>c)|0}f=f-1|0;break d}k=b+1|0;if((b|0)<(l|0)){continue}break}f=0}a=v[a+24>>2];v[a>>2]=v[d+8>>2];v[a+4>>2]=v[d+12>>2];v[e+12>>2]=c;v[e+8>>2]=g}v[e+16>>2]=f}v[e+40>>2]=v[e+40>>2]-1;i=1}Qb=d+32|0;return i|0}function pI(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;if(b){v[b>>2]=0}a:{if(!a|((a?v[a+8>>2]:-1)|0)!=1){break a}b:{switch(c-4|0){case 0:case 4:break b;default:break a}}if(!b){return oI(a,c)}d=Qb-48|0;Qb=d;c:{if(!b){break c}v[b>>2]=0;if(!a|((a?v[a+8>>2]:-1)|0)!=1){break c}d:{switch(c-4|0){case 0:case 4:break d;default:break c}}h=b;b=Sj(0);v[h>>2]=b;Hv(a,d+32|0);if(v[d+32>>2]){f=Io(1);break c}e=Xe(0,a);v[d+20>>2]=e;if(!e){break c}j=Xe(0,a);v[d+16>>2]=j;if(!j){break c}i=rA(a?v[a+4>>2]:-1);v[d+8>>2]=i;if(!i){break c}a=rA(0);if(!a){break c}v[i+12>>2]=a;h=Io(0);if(!h){break c}a=d+44|0;f=d+40|0;g=d+36|0;if(e){if(a){v[a>>2]=v[e>>2]}if(f){v[f>>2]=v[e+4>>2]}if(g){v[g>>2]=v[e+8>>2]}}e:{if(v[d+36>>2]!=1){break e}m=c-4|0;while(1){a=e?v[e+12>>2]:-1;if(!R$(e?v[e+40>>2]:0,v[d+44>>2],v[d+40>>2],a,k,l,d+28|0,d+24|0)){break e}l=v[d+24>>2];k=v[d+28>>2];f=0;if(((e?v[e+8>>2]:-1)|0)!=1){break c}f:{g:{switch(m|0){case 0:g=Q$(e,i,k,l);if(g){break f}break c;case 4:break g;default:break c}}g=P$(e,i,k,l);if(!g){break c}}tA(h,g);f=vA(e,g);c=vA(j,g);v[d+12>>2]=c;h:{if(!f|!c|(c|0)==(f|0)){break h}if(((f?v[f+8>>2]:-1)|0)!=((c?v[c+8>>2]:-1)|0)){break h}a=Xe(f,f);if(!a){break h}Oe(a,0,0,a?v[a>>2]:-1,a?v[a+4>>2]:-1,12,c,0,0)}Oe(j,v[g>>2],v[g+4>>2],v[g+8>>2],v[g+12>>2],12,f,0,0);th(b,f,0);dd(d+12|0);a=d+44|0;c=d+40|0;f=d+36|0;if(e){if(a){v[a>>2]=v[e>>2]}if(c){v[c>>2]=v[e+4>>2]}if(f){v[f>>2]=v[e+8>>2]}}if(v[d+36>>2]==1){continue}break}}nn(b+16|0);a=h;i:{if(a){v[a+8>>2]=v[a+8>>2]+1;c=a;break i}c=0}v[b+16>>2]=c;kI(d+8|0,1);dd(d+20|0);dd(d+16|0);f=a}Qb=d+48|0}return f}function MJ(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=Qb-128|0;Qb=l;a:{b:{if(b){if((c|0)<0){break b}a=v[b>>2];if(!a){g=b;break a}e=b;while(1){v[(i<<2)+l>>2]=e;i=i+1|0;g=a;e=a;a=v[e>>2];if(a){continue}break}break a}X(15813,7271,278,189662);L()}X(19230,7271,279,189662);L()}e=0;c:{d:{e:{while(1){a=v[g+8>>2];if((e|0)>(a|0)){v[g+8>>2]=e;a=e}f:{if((a|0)>=(c|0)){break f}while(1){if(v[g+4>>2]<=(a|0)){if(v[g+12>>2]){break f}if(!(w[d+16|0]&2)){break d}e=v[d+8>>2];f=e-1|0;v[d+8>>2]=f;g:{if((e|0)<=0){h=v[d+4>>2];e=h<<8&65280;f=(e|0)==65280?6:7;v[d+8>>2]=f;v[d+4>>2]=e|1<>2];j=v[e+8>>2];if(j&7){break e}k=v[e+64>>2];if(!((k|0)<0|(k|0)>v[e+60>>2])){v[e+8>>2]=j|4;break e}v[e+4>>2]=v[e+4>>2]|32;f=v[e+28>>2];v[e+28>>2]=f-1;if((f|0)>=1){v[e+60>>2]=v[e+60>>2]+1;f=e;e=v[e+24>>2];v[f+24>>2]=e+1;t[e|0]=h;v[g+12>>2]=1;break f}f=-1;if((Fc(e,h&255)|0)!=-1){break g}break e}v[d+4>>2]=v[d+4>>2]|1<>2]=1;break f}if(!(w[d+16|0]&2)){break c}e=v[d+8>>2];v[d+8>>2]=e-1;h:{if((e|0)>0){break h}j=v[d+4>>2];h=j<<8&65280;v[d+4>>2]=h;v[d+8>>2]=(h|0)==65280?6:7;f=-1;e=v[d+12>>2];k=v[e+8>>2];if(k&7){break e}m=v[e+64>>2];if(!((m|0)<0|v[e+60>>2]<(m|0))){v[e+8>>2]=k|4;break e}v[e+4>>2]=v[e+4>>2]|32;f=v[e+28>>2];v[e+28>>2]=f-1;if((f|0)>=1){v[e+60>>2]=v[e+60>>2]+1;f=e;e=v[e+24>>2];v[f+24>>2]=e+1;t[e|0]=j;break h}f=-1;if((Fc(e,h>>>8|0)|0)==-1){break e}}a=a+1|0;if((c|0)!=(a|0)){continue}break}a=c}v[g+8>>2]=a;if(i){i=i-1|0;g=v[(i<<2)+l>>2];e=a;continue}break}f=v[b+8>>2]<(c|0)}Qb=l+128|0;return f}X(21291,7271,302,189662);L()}X(21291,7271,309,189662);L()}function ZF(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!(!a|!b)){c=v[a+8>>2];a:{if(!c){break a}d=c;while(1){e=d;d=e+1|0;if(w[e|0]){continue}break}d=e-c|0;if((d|0)<0){break a}e=Ub[v[259707]](d+1|0)|0;if(!e){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break a}f=gc(e,c,d);t[d+f|0]=0}c=v[a+16>>2];b:{if(!c){break b}d=c;while(1){e=d;d=e+1|0;if(w[e|0]){continue}break}d=e-c|0;if((d|0)<0){break b}e=Ub[v[259707]](d+1|0)|0;if(!e){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break b}g=gc(e,c,d);t[d+g|0]=0}c=v[a+24>>2];c:{if(!c){break c}d=c;while(1){e=d;d=e+1|0;if(w[e|0]){continue}break}d=e-c|0;if((d|0)<0){break c}e=Ub[v[259707]](d+1|0)|0;if(!e){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break c}h=gc(e,c,d);t[d+h|0]=0}c=v[a+28>>2];d:{if(!c){break d}d=c;while(1){e=d;d=e+1|0;if(w[e|0]){continue}break}d=e-c|0;if((d|0)<0){break d}e=Ub[v[259707]](d+1|0)|0;if(!e){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break d}i=gc(e,c,d);t[d+i|0]=0}c=v[a+32>>2];e:{if(!c){d=0;break e}d=c;while(1){e=d;d=e+1|0;if(w[e|0]){continue}break}d=0;e=e-c|0;if((e|0)<0){break e}j=Ub[v[259707]](e+1|0)|0;if(!j){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break e}d=gc(j,c,e);t[e+d|0]=0}c=v[b+8>>2];if(c){Ub[v[259708]](c)}c=v[b+16>>2];if(c){Ub[v[259708]](c)}c=v[b+24>>2];if(c){Ub[v[259708]](c)}c=v[b+28>>2];if(c){Ub[v[259708]](c)}c=v[b+32>>2];if(c){Ub[v[259708]](c)}v[b>>2]=v[a>>2];v[b+4>>2]=v[a+4>>2];v[b+12>>2]=v[a+12>>2];v[b+20>>2]=v[a+20>>2];v[b+48>>2]=v[a+48>>2];v[b+36>>2]=v[a+36>>2];v[b+40>>2]=v[a+40>>2];v[b+48>>2]=v[a+48>>2];a=v[a+44>>2];v[b+32>>2]=d;v[b+28>>2]=i;v[b+24>>2]=h;v[b+16>>2]=g;v[b+8>>2]=f;v[b+44>>2]=a}}function oab(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,v=0,y=0,z=0;if(e){v=e-1|0;y=e-2|0;q=(e|0)==1;while(1){a=f;u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];u[g+6>>1]=x[a+6>>1];f=a+8|0;g=g+8|0;a:{if(!q&m>>>0>=v>>>0){break a}i=m?(m|0)==(y|0)?d:b:c;k=!m&q;if(k){if(i>>>0<2){break a}k=i-1|0;l=k&1;if((i|0)!=2){i=k&-2;while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];u[g+6>>1]=x[a+6>>1];u[g+8>>1]=x[a>>1];u[g+10>>1]=x[a+2>>1];u[g+12>>1]=x[a+4>>1];u[g+14>>1]=x[a+6>>1];g=g+16|0;i=i-2|0;if(i){continue}break}}if(!l){break a}u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];u[g+6>>1]=x[a+6>>1];g=g+8|0;break a}l=a+6|0;r=i<<1;o=k?0:f;p=o+6|0;k=i+1>>>1|0;if(i>>>0>=3){z=k>>>0>2?k:2;h=1;while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];n=g+6|0;j=x[a+6>>1];b:{if((j|0)==x[p>>1]){u[n>>1]=j;break b}j=w[l|0]|w[l+1|0]<<8;s=w[p|0]|w[p+1|0]<<8;j=((j<<8|j>>>8)&65535)+((i+(B(((s<<8|s>>>8)&65535)-((j<<8|j>>>8)&65535)|0,h)<<1)|0)/(r|0)|0)&65535;j=j<<8|j>>>8;t[n|0]=j;t[n+1|0]=j>>>8}g=g+8|0;h=h+1|0;if((z|0)!=(h|0)){continue}break}}if(i>>>0<=k>>>0){break a}while(1){u[g>>1]=x[o>>1];u[g+2>>1]=x[o+2>>1];u[g+4>>1]=x[o+4>>1];a=g+6|0;h=x[l>>1];c:{if((h|0)==x[o+6>>1]){u[a>>1]=h;break c}h=w[l|0]|w[l+1|0]<<8;n=w[p|0]|w[p+1|0]<<8;h=((h<<8|h>>>8)&65535)+((i+(B(((n<<8|n>>>8)&65535)-((h<<8|h>>>8)&65535)|0,k)<<1)|0)/(r|0)|0)&65535;h=h<<8|h>>>8;t[a|0]=h;t[a+1|0]=h>>>8}g=g+8|0;k=k+1|0;if((i|0)!=(k|0)){continue}break}}m=m+1|0;if((m|0)!=(e|0)){continue}break}}return 0}function aba(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,j=0,k=0,l=0,m=0,n=0,o=0;i=Qb-16|0;Qb=i;l=yC(g);h=iC(g);Ub[v[v[h>>2]+20>>2]](i,h);a:{if(w[i+11|0]>>>7|0){g=v[i+4>>2]}else{g=w[i+11|0]}b:{if(!g){v[299999]=0;Z(5576,l|0,a|0,c|0,d|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break b}g=(c-a<<2)+d|0;v[f>>2]=g;break a}v[f>>2]=d;c:{d:{j=a;g=w[j|0];switch(g-43|0){case 0:case 2:break d;default:break c}}v[299999]=0;k=Q(5591,l|0,g<<24>>24)|0;g=v[299999];v[299999]=0;if((g|0)==1){break b}g=v[f>>2];v[f>>2]=g+4;v[g>>2]=k;j=a+1|0}if(!(w[j|0]!=48|(c-j|0)<2|(w[j+1|0]|32)!=120)){v[299999]=0;k=Q(5591,l|0,48)|0;g=v[299999];v[299999]=0;if((g|0)==1){break b}g=v[f>>2];v[f>>2]=g+4;v[g>>2]=k;g=t[j+1|0];v[299999]=0;k=Q(5591,l|0,g|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break b}g=v[f>>2];v[f>>2]=g+4;v[g>>2]=k;j=j+2|0}v[299999]=0;Fn(j,c);g=v[299999];v[299999]=0;if((g|0)==1){break b}v[299999]=0;o=S(5573,h|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break b}k=0;g=j;while(1){e:{if(c>>>0<=g>>>0){g=v[f>>2];v[299999]=0;gt((j-a<<2)+d|0,g);g=v[299999];v[299999]=0;if((g|0)==1){break e}g=v[f>>2];break a}if(w[i+11|0]>>>7|0){h=v[i>>2]}else{h=i}m=!w[h+k|0];if(w[i+11|0]>>>7|0){h=v[i>>2]}else{h=i}if(!(m|t[h+k|0]!=(n|0))){h=v[f>>2];v[f>>2]=h+4;v[h>>2]=o;if(w[i+11|0]>>>7|0){h=v[i+4>>2]}else{h=w[i+11|0]}k=(h-1>>>0>k>>>0)+k|0;n=0}h=t[g|0];v[299999]=0;m=Q(5591,l|0,h|0)|0;h=v[299999];v[299999]=0;if((h|0)!=1){h=v[f>>2];v[f>>2]=h+4;v[h>>2]=m;g=g+1|0;n=n+1|0;continue}}break}}a=P()|0;O()|0;Mc(i);T(a|0);L()}v[e>>2]=(b|0)==(c|0)?g:(b-a<<2)+d|0;Mc(i);Qb=i+16|0}function ry(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;i=Qb-32|0;Qb=i;a:{if((d|0)<1|b>>>0>16777215){break a}b:{while(1){g=0;f=j;j=(d-f|0)>4?f+4|0:d;k=j-f|0;if((k|0)>=1){m=c+f|0;f=0;while(1){l=v[(w[f+m|0]<<2)+893504>>2];if((l|0)<0){break b}g=(g<<4)+l|0;f=f+1|0;if((k|0)!=(f|0)){continue}break}}c:{if((h|0)>=1){k=((h<<2)+i|0)-4|0;f=v[k>>2];if(!(f>>>0<55296|f>>>0>56319|(g>>>0<56320|g>>>0>57343))){v[k>>2]=(f<<10&1047552|g&1023)+65536;break c}if((h|0)>7){break c}}v[(h<<2)+i>>2]=g;h=h+1|0}if((d|0)>(j|0)){continue}break}if(!h){break a}f=v[a+8>>2];d:{if(f>>>0>b>>>0){break d}c=f?f<<1:256;c=b>>>0>>0?c:b+256&-256;v[a+8>>2]=c;c=pd(v[a+4>>2],c,4);v[a+4>>2]=c;if(y[a+8>>2]<=f>>>0){break d}while(1){v[c+(f<<2)>>2]=0;f=f+1|0;if(f>>>0>2]){continue}break}}if((h|0)==1){v[v[a+4>>2]+(b<<2)>>2]=v[i>>2]+e;break a}c=v[a+20>>2];e:{if((c|0)>v[a+16>>2]){g=v[a+12>>2];break e}c=c+16|0;v[a+20>>2]=c;g=pd(v[a+12>>2],c,40);v[a+12>>2]=g}f=0;v[v[a+4>>2]+(b<<2)>>2]=0;c=v[a+16>>2];v[B(c,40)+g>>2]=b;f:{if((h|0)<1){break f}d=h&3;if(h-1>>>0>=3){j=h&-4;while(1){b=f<<2;v[(b+(B(c,40)+g|0)|0)+4>>2]=v[b+i>>2];c=b|4;v[(c+(B(v[a+16>>2],40)+g|0)|0)+4>>2]=v[c+i>>2];c=b|8;v[(c+(B(v[a+16>>2],40)+g|0)|0)+4>>2]=v[c+i>>2];b=b|12;v[(b+(B(v[a+16>>2],40)+g|0)|0)+4>>2]=v[b+i>>2];f=f+4|0;c=v[a+16>>2];j=j-4|0;if(j){continue}break}}if(!d){break f}while(1){b=f<<2;v[(b+(B(c,40)+g|0)|0)+4>>2]=v[b+i>>2];f=f+1|0;c=v[a+16>>2];d=d-1|0;if(d){continue}break}}b=(B(c,40)+g|0)+(h<<2)|0;v[b>>2]=v[b>>2]+e;b=v[a+16>>2];v[(B(b,40)+g|0)+36>>2]=h;v[a+16>>2]=b+1;break a}kc(0,-1,242830,0)}Qb=i+32|0}function eib(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;v[a+28>>2]=0;e=-1;a:{b:{c:{if(Of(b,a+20|0)){break c}c=v[b+8>>2];if(c&7){break c}d=v[b+64>>2];if((d|0)>=0&(d|0)<=v[b+60>>2]){break b}d=v[b+28>>2];v[b+28>>2]=d-1;d:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;c=w[d|0];break d}c=Hc(b,1);if((c|0)==-1){break c}}t[a+24|0]=c;d=jc(B(v[a+20>>2],c<<2&1020));v[a+28>>2]=d;if(!d){break c}d=jc(w[a+24|0]);v[a+32>>2]=d;if(!d){break c}c=0;e:{if(!w[a+24|0]){break e}c=v[b+8>>2];if(c&7){break c}g=d;while(1){e=v[b+64>>2];if((e|0)>=0&(e|0)<=v[b+60>>2]){break b}c=v[b+28>>2];v[b+28>>2]=c-1;f:{if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;c=w[c|0];break f}e=-1;c=Hc(b,1);if((c|0)==-1){break c}}if(g){t[d|0]=c}c=w[a+24|0];f=f+1|0;if(c>>>0<=f>>>0){break e}g=v[a+32>>2];d=g+f|0;e=-1;c=v[b+8>>2];if(!(c&7)){continue}break}break c}f=v[a+20>>2];if(!f){return 0}while(1){g=0;g:{if(!(c&255)){c=0;break g}while(1){d=w[v[a+32>>2]+g|0];k=d<<24>>24;i=d&127;j=i+8|0;l=j>>>3|0;d=0;f=0;while(1){c=v[b+8>>2];if(c&7){break a}e=v[b+64>>2];if((e|0)>=0&(e|0)<=v[b+60>>2]){break b}c=v[b+28>>2];v[b+28>>2]=c-1;h:{if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;c=w[c|0];break h}e=-1;c=Hc(b,1);if((c|0)==-1){break c}}f=f<<8|c;d=d+1|0;if((l|0)!=(d|0)){continue}break}e=(-2<>>d-1&1?0-c|0:c}c=w[a+24|0];v[v[a+28>>2]+(B(h,c)+g<<2)>>2]=e;g=g+1|0;if(g>>>0>>0){continue}break}f=v[a+20>>2]}e=0;h=h+1|0;if(h>>>0>>0){continue}break}}return e|0}v[b+8>>2]=c|4}return-1}function dna(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=Qb-16|0;Qb=d;c=Qb-16|0;Qb=c;f=d+8|0;Qm(f);v[299999]=0;v[c+8>>2]=0;Q(4336,c+8|0,a|0)|0;a=v[299999];v[299999]=0;a:{b:{c:{d:{e:{if((a|0)!=1){v[299999]=0;V(4860,c+8|0,f|0);a=v[299999];v[299999]=0;if((a|0)==1){break e}a=v[c+8>>2];v[c+8>>2]=0;f:{if(!a){break f}v[299999]=0;e=v[a+4>>2]-1|0;v[a+4>>2]=e;g=v[299999];v[299999]=0;if((g|0)==1){break a}if(e){break f}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}a=v[f>>2];e=v[v[a>>2]+16>>2];v[299999]=0;e=S(e|0,a|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break d}g:{if(!e){v[299999]=0;Q(4336,f|0,0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break g}break d}e=v[v[a>>2]+20>>2];v[299999]=0;Z(e|0,a|0,0,0,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break d}}Qb=c+16|0;break b}a=P()|0;O()|0;break c}a=P()|0;O()|0;ec(c+8|0);break c}a=P()|0;O()|0}ec(f);T(a|0);L()}h:{i:{a=v[d+8>>2];if(a){c=v[v[a>>2]+20>>2];v[299999]=0;Z(c|0,a|0,0,0,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break i}a=v[v[b>>2]+16>>2];v[299999]=0;a=S(a|0,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break i}if(a){a=v[v[b>>2]+12>>2];v[299999]=0;Y(a|0,b|0,358460,1)|0;a=v[299999];v[299999]=0;if((a|0)==1){break i}}v[299999]=0;Y(4604,b|0,v[d+8>>2],0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break i}a=v[d+8>>2]}v[d+8>>2]=0;j:{if(!a){break j}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break h}if(b){break j}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break h}}Qb=d+16|0;return}a=P()|0;O()|0;ec(d+8|0);T(a|0);L()}}W(0)|0;O()|0;lc();L()}function cKa(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;a:{h=c-b|0;g=h>>2;e=v[a+8>>2];d=v[a>>2];if(g>>>0<=e-d>>2>>>0){f=v[a+4>>2]-d|0;e=f+b|0;j=f>>2;i=g>>>0>j>>>0?e:c;if((i|0)!=(b|0)){while(1){f=v[d>>2];h=v[b>>2];v[d>>2]=h;if(h){Ub[v[v[h>>2]+8>>2]](h)|0}if(f){Ub[v[v[f>>2]+12>>2]](f)|0}d=d+4|0;b=b+4|0;if((i|0)!=(b|0)){continue}break}}b=v[a+4>>2];if(g>>>0>j>>>0){b:{if((c|0)!=(i|0)){while(1){v[b>>2]=0;d=v[e>>2];v[b>>2]=d;if(d){g=v[v[d>>2]+8>>2];v[299999]=0;S(g|0,d|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break b}}b=b+4|0;e=e+4|0;if((e|0)!=(c|0)){continue}break}}v[a+4>>2]=b;return}c=P()|0;O()|0;v[a+4>>2]=b;T(c|0);L()}if((b|0)!=(d|0)){while(1){b=b-4|0;c=v[b>>2];v[b>>2]=0;if(c){e=v[v[c>>2]+12>>2];v[299999]=0;S(e|0,c|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}}if((b|0)!=(d|0)){continue}break}}v[a+4>>2]=d;return}if(d){e=v[a+4>>2];if((e|0)==(d|0)){e=d}else{while(1){e=e-4|0;f=v[e>>2];v[e>>2]=0;if(f){i=v[v[f>>2]+12>>2];v[299999]=0;S(i|0,f|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break a}}if((d|0)!=(e|0)){continue}break}e=v[a>>2]}v[a+4>>2]=d;dc(e);v[a+8>>2]=0;v[a>>2]=0;v[a+4>>2]=0;e=0}c:{d:{if((h|0)<=-1){break d}d=e>>1;d=e>>2>>>0<536870911?d>>>0>>0?g:d:1073741823;if(d>>>0>=1073741824){break d}d=d<<2;e=fc(d);v[a>>2]=e;v[a+4>>2]=e;v[a+8>>2]=d+e;if((b|0)!=(c|0)){while(1){d=v[b>>2];v[e>>2]=d;if(d){g=v[v[d>>2]+8>>2];v[299999]=0;S(g|0,d|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break c}}e=e+4|0;b=b+4|0;if((c|0)!=(b|0)){continue}break}}v[a+4>>2]=e;return}ue(a);L()}b=P()|0;O()|0;v[a+4>>2]=e;T(b|0);L()}W(0)|0;O()|0;lc();L()}function GJa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;g=Qb-16|0;Qb=g;h=Ub[v[259704]](76)|0;a:{if(!h){v[g>>2]=291399;oc(0,0,0,0,0,2,2,3,291399,0,0,0,350051,g);h=0;break a}f=ic(h,0,76);v[f+4>>2]=17;v[f+48>>2]=v[a+48>>2];d=v[a+8>>2];if(d){c=d;while(1){b=c;c=b+1|0;if(w[b|0]){continue}break}c=0;b=b-d|0;b:{if((b|0)<0){break b}e=Ub[v[259707]](b+1|0)|0;if(!e){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break b}c=gc(e,d,b);t[b+c|0]=0}v[f+8>>2]=c}d=v[a+52>>2];if(d){c=d;while(1){b=c;c=b+1|0;if(w[b|0]){continue}break}c=0;b=b-d|0;c:{if((b|0)<0){break c}e=Ub[v[259707]](b+1|0)|0;if(!e){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break c}c=gc(e,d,b);t[b+c|0]=0}v[f+52>>2]=c}d=v[a+56>>2];if(d){c=d;while(1){b=c;c=b+1|0;if(w[b|0]){continue}break}c=0;b=b-d|0;d:{if((b|0)<0){break d}e=Ub[v[259707]](b+1|0)|0;if(!e){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break d}c=gc(e,d,b);t[b+c|0]=0}v[f+56>>2]=c}d=v[a+40>>2];if(d){c=d;while(1){b=c;c=b+1|0;if(w[b|0]){continue}break}c=0;b=b-d|0;e:{if((b|0)<0){break e}e=Ub[v[259707]](b+1|0)|0;if(!e){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break e}c=gc(e,d,b);t[b+c|0]=0}v[f+40>>2]=c}d=v[a+36>>2];if(d){c=d;while(1){b=c;c=b+1|0;if(w[b|0]){continue}break}c=0;b=b-d|0;f:{if((b|0)<0){break f}e=Ub[v[259707]](b+1|0)|0;if(!e){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break f}c=gc(e,d,b);t[b+c|0]=0}v[f+36>>2]=c}a=v[a+64>>2];if(!a){break a}c=a;while(1){d=c;c=d+1|0;if(w[d|0]){continue}break}c=0;d=d-a|0;g:{if((d|0)<0){break g}b=Ub[v[259707]](d+1|0)|0;if(!b){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break g}c=gc(b,a,d);t[d+c|0]=0}v[f+64>>2]=c}Qb=g+16|0;return h|0}function qCa(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;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;l=Qb-16|0;Qb=l;p=v[a+164>>2];a:{if(!p){v[d>>2]=0;v[g>>2]=0;v[i>>2]=0;v[i+4>>2]=0;v[h>>2]=0;v[h+4>>2]=0;a=1;break a}m=d;n=v[p+16>>2];b:{c:{if(!n|(c|0)<1){break c}while(1){q=w[b+o|0];r=q|r<<8;o=o+1|0;s=(q<<3)+n|0;if(!v[s>>2]){v[l+12>>2]=r;v[l+8>>2]=o;b=v[((q<<3)+n|0)+4>>2];break b}n=v[s+4>>2];if(!n){break c}if((c|0)>(o|0)){continue}break}}if(!(!v[p+8>>2]|(c|0)<2)){v[l+8>>2]=2;b=w[b+1|0]|w[b|0]<<8;v[l+12>>2]=b;break b}v[l+8>>2]=1;v[l+12>>2]=w[b|0];b=0}v[m>>2]=b;c=g;m=v[a+168>>2];if(m){m=kk(m,v[a+172>>2]?v[l+12>>2]:b,e,f)}else{m=0}v[c>>2]=m;if(!(!v[v[294330]+380>>2]|((f|0)<1|m))){v[e>>2]=v[d>>2];v[g>>2]=1}d:{if(!v[v[a+164>>2]+12>>2]){e=v[a+204>>2];e:{if((e|0)>=1){c=v[a+200>>2];d=0;while(1){f=c+(d<<4)|0;g=(c+(d<<4)|0)+8|0;if(!(b>>>0>2]|b>>>0>y[f+4>>2])){break e}d=d+1|0;if((e|0)!=(d|0)){continue}break}}g=a+176|0}A[h>>3]=A[g>>3];v[k>>2]=0;v[k+4>>2]=0;v[j>>2]=0;v[j+4>>2]=0;break d}e=v[a+212>>2];f:{if((e|0)>=1){c=v[a+208>>2];d=0;while(1){f=c+(d<<5)|0;if(!(b>>>0>2]|b>>>0>y[f+4>>2])){a=c+(d<<5)|0;A[i>>3]=A[a+8>>3];A[j>>3]=A[a+16>>3];a=a+24|0;break f}d=d+1|0;if((e|0)!=(d|0)){continue}break}}A[i>>3]=A[a+184>>3];e=v[a+204>>2];g:{if((e|0)>=1){c=v[a+200>>2];d=0;while(1){f=c+(d<<4)|0;g=(c+(d<<4)|0)+8|0;if(!(b>>>0>2]|b>>>0>y[f+4>>2])){break g}d=d+1|0;if((e|0)!=(d|0)){continue}break}}g=a+176|0}A[j>>3]=A[g>>3]*.5;a=a+192|0}A[k>>3]=A[a>>3];i=h}v[i>>2]=0;v[i+4>>2]=0;a=v[l+8>>2]}Qb=l+16|0;return a|0}function lSa(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,n=0,o=0,p=0,q=0,r=0,s=0,x=0;x=Qb-208|0;Qb=x;q=v[a+332>>2];b=v[b+84>>2];a=x;while(1){i=v[b+160>>2];h=u[c+80>>1];o=v[b+32>>2];m=u[c+16>>1];r=v[b+96>>2];n=u[c+48>>1];j=B(u[c>>1],v[b>>2])<<13|1024;k=B(v[b+128>>2],u[c+64>>1]);f=B(v[b+192>>2],u[c+96>>1]);g=B(v[b+64>>2],u[c+32>>1]);p=f+g|0;v[a+84>>2]=j+B(k-p|0,11585)>>11;i=B(h,i);h=B(o,m);o=B(i+h|0,5027);p=j+B(p,10438)|0;m=B(k-f|0,7223);l=p+(m+B(f,-637)|0)|0;f=B(n,r);r=B(f+h|0,7663);h=B(h-f|0,1395);n=o+(r-h|0)|0;v[a+168>>2]=l-n>>11;v[a>>2]=n+l>>11;l=B(g,-20239);g=B(g-k|0,2578);n=p+(l+g|0)|0;f=B(f+i|0,-11295);i=f+(o+B(i,15326)|0)|0;v[a+112>>2]=n-i>>11;v[a+56>>2]=i+n>>11;k=m+(g+(j+B(k,-15083)|0)|0)|0;f=f+(h+r|0)|0;v[a+140>>2]=k-f>>11;v[a+28>>2]=f+k>>11;a=a+4|0;b=b+4|0;c=c+2|0;s=s+1|0;if((s|0)!=7){continue}break}a=q+128|0;k=0;c=x;while(1){f=v[c+16>>2];g=v[c+24>>2];j=B(f-g|0,7223);b=v[(k<<2)+d>>2]+e|0;i=v[c+12>>2];h=v[c+4>>2];q=B(i+h|0,7663);m=B(h-i|0,1395);l=h;h=v[c+20>>2];r=B(l+h|0,5027);n=(q-m|0)+r|0;s=j+B(g,-637)|0;o=(v[c>>2]<<13)+131072|0;l=g;g=v[c+8>>2];p=l+g|0;l=o+B(p,10438)|0;s=s+l|0;t[b|0]=w[a+(n+s>>>18&1023)|0];t[b+6|0]=w[a+(s-n>>>18&1023)|0];i=B(h+i|0,-11295);q=i+(m+q|0)|0;m=B(g-f|0,2578);j=j+(m+(o+B(f,-15083)|0)|0)|0;t[b+1|0]=w[a+(q+j>>>18&1023)|0];t[b+5|0]=w[a+(j-q>>>18&1023)|0];j=i+(r+B(h,15326)|0)|0;g=l+(m+B(g,-20239)|0)|0;t[b+2|0]=w[a+(j+g>>>18&1023)|0];t[b+4|0]=w[a+(g-j>>>18&1023)|0];t[b+3|0]=w[a+(o+B(f-p|0,11585)>>>18&1023)|0];c=c+28|0;k=k+1|0;if((k|0)!=7){continue}break}Qb=x+208|0}function fW(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=Qb-16|0;Qb=h;e=v[a+8>>2];i=v[a+12>>2];a:{if(e>>>0>=i>>>0){v[b>>2]=1;c=65535;break a}j=e+1|0;v[a+8>>2]=j;f=t[e|0];d=f&255;if(d>>>0>31&(f|0)>-1){c=d;break a}b:{if(d>>>0>25){break b}c=d;if(1<>>0<=i>>>0){break c}v[b>>2]=11;v[a+8>>2]=v[a+12>>2];c=65535;break a}d=e+2|0;if(d>>>0>i>>>0){v[b>>2]=11;v[a+8>>2]=v[a+12>>2];c=65535;break a}v[a+8>>2]=d;b=t[j|0];a=b&255;c=(b|0)>-1?a-32|0:a;break a}v[a+8>>2]=e+2;c=w[e+1|0];v[a+8>>2]=d;b=w[e+2|0];a=(c|0)==246;c=((a?b:c)&255)<<8|(a?0:b)&255;break a}c=f&255;if(c>>>0<=32){d:{if(c>>>0<=19){c=v[v[a+4>>2]+8>>2];g=v[c+(d<<2)>>2];if(g){break d}}v[b>>2]=10;c=0;break a}if((f&255)>>>0>=16){if(e+3>>>0>i>>>0){v[b>>2]=11;v[a+8>>2]=v[a+12>>2];c=65535;break a}if((d|0)==t[j|0]){b=e+2|0;v[a+8>>2]=b;c=em(g,b,1);v[a+8>>2]=v[a+8>>2]+1;break a}c=em(g,j,2);v[a+8>>2]=v[a+8>>2]+2;break a}d=e+2|0;if(d>>>0>i>>>0){v[b>>2]=11;v[a+8>>2]=v[a+12>>2];c=65535;break a}v[a+8>>2]=d;a=w[j|0];b=a<<24>>24;if((b|0)<=-1){c=x[v[g+36>>2]+(a<<2)>>1];break a}a=v[c>>2];t[h+15|0]=b;t[h+14|0]=f;c=em(a,h+14|0,2);break a}c=0;if((f|0)>-1){break a}c=v[v[a+4>>2]+8>>2];g=w[c+80|0];c=v[(g<<2)+c>>2];if(g>>>0>=16){d=v[a+8>>2];if(!((v[v[c+36>>2]+((f&255)<<2)>>2]^-1)>>>31|0)){if(d>>>0>y[a+12>>2]){v[b>>2]=11;v[a+8>>2]=v[a+12>>2];c=65535;break a}c=em(c,d-1|0,1);break a}if(y[a+12>>2]>>0){v[b>>2]=11;v[a+8>>2]=v[a+12>>2];c=65535;break a}c=em(c,d-1|0,2);v[a+8>>2]=v[a+8>>2]+1;break a}c=x[v[c+36>>2]+(d<<2)>>1]}Qb=h+16|0;return c}function PZ(a,b){var 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;h=Qb+-64|0;Qb=h;g=v[a>>2];a:{if((g|0)<1){break a}e=v[a+24>>2];c=B(b,204);k=v[a+16>>2];d=v[a+8>>2];l=d+B(g,40)|0;b=0;a=d;while(1){b=(v[a+16>>2]>>>4&1)+b|0;a=a+40|0;if(l>>>0>a>>>0){continue}break}if(!b){break a}m=v[(e+c|0)+200>>2];b:{if(b>>>0<=16){e=h;break b}e=Cc(k,4,0,b,0,h);if(v[h>>2]){break a}}c:{if((g|0)<=0){break c}c=d;while(1){if(w[c+16|0]&16){a=(f<<2)+e|0;d:{if((f|0)<1){b=a;break d}i=v[c+28>>2];while(1){b=a-4|0;j=v[b>>2];if((i|0)>=v[j+28>>2]){b=a;break d}v[a>>2]=j;a=b;if(e>>>0>>0){continue}break}}v[b>>2]=c;f=f+1|0}c=c+40|0;if(l>>>0>c>>>0){continue}break}if((g|0)<1){break c}j=((f<<2)+e|0)-4|0;while(1){b=v[d+16>>2];e:{if(b&16){break e}a=v[d+12>>2];if(a&2){c=w[d+20|0];if(!(b&64|a&4)|((c|0)==4|(c|0)!=w[d+21|0])){break e}v[d+12>>2]=a&-3}n=d;f:{g:{if(f){b=v[d+28>>2];a=0;h:{while(1){if((b|0)>2]+28>>2]){break h}a=a+1|0;if((f|0)!=(a|0)){continue}break}a=f}if(a){break g}}a=v[e>>2];c=v[a+36>>2]+Ac(v[d+28>>2]-v[a+28>>2]|0,m)|0;break f}g=v[((a<<2)+e|0)-4>>2];b=f;while(1){a=b;if(a){b=a-1|0;if(v[v[(b<<2)+e>>2]+28>>2]>=v[d+28>>2]){continue}}break}if((a|0)==(f|0)){a=v[j>>2];c=v[a+36>>2]+Ac(v[d+28>>2]-v[a+28>>2]|0,m)|0;break f}b=v[d+28>>2];i=v[g+28>>2];c=v[g+36>>2];if((b|0)==(i|0)){break f}a=v[(a<<2)+e>>2];c=v[a+28>>2];if((c|0)==(b|0)){c=v[a+36>>2];break f}o=v[a+36>>2];a=v[g+36>>2];c=jd(b-i|0,o-a|0,c-i|0)+a|0}v[n+36>>2]=c;v[d+16>>2]=v[d+16>>2]|32}d=d+40|0;if(l>>>0>d>>>0){continue}break}}if((e|0)==(h|0)){break a}if(e){Ub[v[k+8>>2]](k,e)}}Qb=h- -64|0}function K5a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=Qb-80|0;Qb=d;v[d+72>>2]=0;v[d+64>>2]=0;v[d+68>>2]=0;a:{g=zh(b,52861);b:{if(!g){a=ck(v[299402]);c=v[252391];if(!(!b|!w[b|0])){Rc(b,Bc(b),1,c);ff(58,c);ff(32,c)}Rc(a,Bc(a),1,c);ff(10,c);break b}c:{if((vp(g)|0)==80){e=0;if((vp(g)|0)==53){break c}}e=1}d:{e:{while(1){h=0;while(1){if(e){break e}i=vp(g);f:{if((i|0)!=35){c=h;if((i|0)!=-1){break f}break e}c=1}if((i|0)!=10){h=1;e=0;if(c){continue}}break}h=i-48|0;g:{if(!(f?0:h>>>0>=10)){if(h>>>0<=9){c=(d- -64|0)+(j<<2)|0;v[c>>2]=h+B(v[c>>2],10);e=0;f=1;break g}if(!((i|0)==32|i-9>>>0<5)){e=1;f=1;break g}j=j+1|0}e=0;f=0}if((j|0)<3){continue}break}if(!e){break d}}v[d>>2]=b;wc(v[252391],53516,d);Be(g);break b}h:{e=x[a+26310>>1];f=v[d+64>>2];i:{if((e|0)!=(f|0)){break i}c=x[a+26308>>1];if((c|0)!=v[d+68>>2]){break i}if(v[d+72>>2]==65535){break h}}v[d+16>>2]=b;wc(v[252391],53925,d+16|0);Be(g);break b}k=bd(f,2);if(!k){break a}if(c){while(1){qg(k,2,e,g);e=0;if(x[a+26310>>1]){i=l<<1&14;j=v[a+26028>>2];h=v[a+26352>>2];b=0;while(1){c=x[a+26316>>1];f=(h+(B(x[a+26320>>1],l>>>c|0)+(b>>>c|0)<<3)|0)+((j>>>((i|b&1)<<1)&3)<<1)|0;c=x[k+(b<<1)>>1];c=x[f>>1]-((c<<8|c>>>8)&65535)|0;u[f>>1]=(c|0)>0?c:0;b=b+1|0;e=x[a+26310>>1];if(b>>>0>>0){continue}break}}l=l+1|0;if(l>>>0>1]){continue}break}}Be(g);dc(k);v[a+26120>>2]=0}Qb=d+80|0;return}c=v[a+190640>>2];j:{if(c){b=v[a+25208>>2];v[d+52>>2]=54702;v[d+48>>2]=b;zd(c,4338,d+48|0);break j}b=v[a+25208>>2];v[d+36>>2]=54702;v[d+32>>2]=b;wc(v[252391],4338,d+32|0)}sd(a+190484|0,1);L()}function mba(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,j=0,k=0,l=0,m=0,n=0,o=0;i=Qb-16|0;Qb=i;l=zC(g);h=mC(g);Ub[v[v[h>>2]+20>>2]](i,h);a:{if(w[i+11|0]>>>7|0){g=v[i+4>>2]}else{g=w[i+11|0]}b:{if(!g){v[299999]=0;Z(5555,l|0,a|0,c|0,d|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break b}g=(c-a|0)+d|0;v[f>>2]=g;break a}v[f>>2]=d;c:{d:{j=a;g=w[j|0];switch(g-43|0){case 0:case 2:break d;default:break c}}v[299999]=0;k=Q(5579,l|0,g<<24>>24)|0;g=v[299999];v[299999]=0;if((g|0)==1){break b}g=v[f>>2];v[f>>2]=g+1;t[g|0]=k;j=a+1|0}if(!(w[j|0]!=48|(c-j|0)<2|(w[j+1|0]|32)!=120)){v[299999]=0;k=Q(5579,l|0,48)|0;g=v[299999];v[299999]=0;if((g|0)==1){break b}g=v[f>>2];v[f>>2]=g+1;t[g|0]=k;g=t[j+1|0];v[299999]=0;k=Q(5579,l|0,g|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break b}g=v[f>>2];v[f>>2]=g+1;t[g|0]=k;j=j+2|0}v[299999]=0;Fn(j,c);g=v[299999];v[299999]=0;if((g|0)==1){break b}v[299999]=0;o=S(5546,h|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break b}k=0;g=j;while(1){e:{if(c>>>0<=g>>>0){g=v[f>>2];v[299999]=0;Fn((j-a|0)+d|0,g);g=v[299999];v[299999]=0;if((g|0)==1){break e}g=v[f>>2];break a}if(w[i+11|0]>>>7|0){h=v[i>>2]}else{h=i}m=!w[h+k|0];if(w[i+11|0]>>>7|0){h=v[i>>2]}else{h=i}if(!(m|t[h+k|0]!=(n|0))){h=v[f>>2];v[f>>2]=h+1;t[h|0]=o;if(w[i+11|0]>>>7|0){h=v[i+4>>2]}else{h=w[i+11|0]}k=(h-1>>>0>k>>>0)+k|0;n=0}h=t[g|0];v[299999]=0;m=Q(5579,l|0,h|0)|0;h=v[299999];v[299999]=0;if((h|0)!=1){h=v[f>>2];v[f>>2]=h+1;t[h|0]=m;g=g+1|0;n=n+1|0;continue}}break}}a=P()|0;O()|0;Mc(i);T(a|0);L()}v[e>>2]=(b|0)==(c|0)?g:(b-a|0)+d|0;Mc(i);Qb=i+16|0}function LQ(a,b,c){var d=0,e=0,f=0;d=Qb-256|0;Qb=d;f=v[a+200>>2];if(f&1){a:{if(f&4){Gc(a,61296);td(a,c);break a}if(!(!b|!(w[b+8|0]&16))){Gc(a,61463);td(a,c);break a}b:{c:{d:{switch(w[a+401|0]){case 0:if((c|0)==2){yf(a,d,2);kd(a,d,2);u[a+394>>1]=1;c=w[d|0]|w[d+1|0]<<8;u[a+516>>1]=c<<8|c>>>8;break b}Gc(a,61593);td(a,c);break a;case 2:if((c|0)==6){yf(a,d,6);kd(a,d,6);u[a+394>>1]=1;c=w[d|0]|w[d+1|0]<<8;u[a+510>>1]=c<<8|c>>>8;c=w[d+2|0]|w[d+3|0]<<8;u[a+512>>1]=c<<8|c>>>8;c=w[d+4|0]|w[d+5|0]<<8;u[a+514>>1]=c<<8|c>>>8;break b}Gc(a,61593);td(a,c);break a;case 3:if(!(f&2)){Gc(a,61824)}if(!(c>>>0<=256&x[a+392>>1]>=c>>>0)){Gc(a,61593);td(a,c);break a}if(c){break c}Gc(a,61934);td(a,0);break a;default:break d}}Gc(a,62202);td(a,c);break a}yf(a,d,c);kd(a,d,c);u[a+394>>1]=c}if(td(a,0)){u[a+394>>1]=0;break a}f=x[a+394>>1];c=a+508|0;e:{if(!a|!b){break e}if(f>>>0>=257){Gc(a,52739);break e}f:{g:{h:{i:{if(d){ao(a,b,8192,0);e=ug(a,256);v[b+76>>2]=e;v[a+504>>2]=e;if(f>>>0<1){break i}gc(e,d,f)}if(!c){break h}break g}if(c){break g}u[b+22>>1]=f;break e}u[b+22>>1]=f;if(!f){break e}break f}e=w[b+24|0];j:{if(e>>>0>15){break j}e=-1<>>0>1]){break k}break j;case 2:break l;default:break j}}if(e>>>0>1]|e>>>0>1]){break k}if(e>>>0>=x[c+6>>1]){break j}}Gc(a,53214)}a=x[c+4>>1]|x[c+6>>1]<<16;e=x[c>>1]|x[c+2>>1]<<16;u[b+80>>1]=e;u[b+82>>1]=e>>>16;u[b+84>>1]=a;u[b+86>>1]=a>>>16;u[b+88>>1]=x[c+8>>1];u[b+22>>1]=f?f:1}v[b+8>>2]=v[b+8>>2]|16;v[b+184>>2]=v[b+184>>2]|8192}}Qb=d+256|0;return}hd(a,61174);L()}function tea(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=Qb-16|0;Qb=g;v[a+8>>2]=0;v[a>>2]=997980;v[a+4>>2]=0;c=v[282402];v[a+16>>2]=0;v[a+20>>2]=0;v[a+12>>2]=c;v[a+24>>2]=0;v[a+28>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;v[a+40>>2]=0;v[299999]=0;h=a+16|0;j=Q(4475,h|0,982916)|0;c=v[299999];v[299999]=0;i=a+8|0;a:{b:{c:{d:{e:{f:{g:{h:{i:{if((c|0)!=1){v[a+44>>2]=0;v[a+48>>2]=0;v[a+52>>2]=0;v[a+56>>2]=0;v[299999]=0;f=a+44|0;v[f>>2]=998016;v[f+4>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;c=v[299999];v[299999]=0;if((c|0)==1){break i}v[a+60>>2]=0;c=v[282402];v[a+68>>2]=0;v[a+72>>2]=0;v[a- -64>>2]=c;v[a+76>>2]=0;v[a+80>>2]=0;v[a+84>>2]=0;v[a+88>>2]=0;v[a+92>>2]=0;v[299999]=0;k=Q(4475,a+68|0,998036)|0;c=v[299999];v[299999]=0;if((c|0)==1){break h}v[a+96>>2]=0;while(1){c=b;b=c+1|0;d=t[c|0];if((d|0)==32|d-9>>>0<5){continue}break}b=c;while(1){j:{k:{l:{e=d&255;switch(e-47|0){case 0:case 15:break j;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:break k;default:break l}}if(!e){break j}}if((d|0)==32|d-9>>>0<5){break j}d=t[b+1|0];b=b+1|0;continue}break}v[299999]=0;e=Y(4605,g+8|0,c|0,b-c|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break g}v[299999]=0;Q(4535,i|0,e|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break f}ec(e);v[299999]=0;U(5374,b|0,h|0,1);b=v[299999];v[299999]=0;if((b|0)==1){break e}Qb=g+16|0;return a|0}b=P()|0;O()|0;break a}b=P()|0;O()|0;break b}b=P()|0;O()|0;break c}b=P()|0;O()|0;break d}b=P()|0;O()|0;ec(e);break d}b=P()|0;O()|0}id(k)}ec(a+60|0);Ic(f)}id(j)}ec(i);Qc(a);T(b|0);L()}function EOa(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,n=0,o=0,p=0,q=0,r=0,s=0,y=0,z=0,A=0,C=0,D=0;C=v[a+332>>2];a=v[b+84>>2];l=Qb-128|0;b=l;m=4;while(1){a:{b:{f=x[c+32>>1];g=u[c+16>>1];if((f|g)&65535){break b}f=0;if(x[c+48>>1]|x[c+64>>1]|(x[c+80>>1]|x[c+96>>1])){break b}if(x[c+112>>1]){break b}f=B(u[c>>1],v[a>>2])<<2;v[b+96>>2]=f;v[b+80>>2]=f;v[b+64>>2]=f;v[b+48>>2]=f;v[b+32>>2]=f;v[b+16>>2]=f;v[b>>2]=f;i=28;break a}h=B(v[a+192>>2],u[c+96>>1]);j=B(v[a+64>>2],f<<16>>16);f=B(h+j|0,4433);n=B(u[c+64>>1],v[a+128>>2])<<13;o=B(u[c>>1],v[a>>2])<<13|1024;r=n+o|0;s=f+B(j,6270)|0;p=r+s|0;g=B(g,v[a+32>>2]);j=B(v[a+224>>2],u[c+112>>1]);y=B(g+j|0,-7373);D=y+B(g,12299)|0;k=B(v[a+96>>2],u[c+48>>1]);z=k+j|0;i=g;g=B(v[a+160>>2],u[c+80>>1]);q=i+g|0;A=B(z+q|0,9633);q=A+B(q,-3196)|0;i=D+q|0;v[b+112>>2]=p-i>>11;v[b>>2]=p+i>>11;n=o-n|0;f=f+B(h,-15137)|0;h=n+f|0;o=B(z,-16069)+A|0;i=B(k,25172);k=B(g+k|0,-20995);p=o+(i+k|0)|0;v[b+96>>2]=h-p>>11;v[b+16>>2]=h+p>>11;f=n-f|0;g=q+(k+B(g,16819)|0)|0;v[b+80>>2]=f-g>>11;v[b+32>>2]=f+g>>11;f=o+(B(j,2446)+y|0)|0;g=r-s|0;v[b+48>>2]=f+g>>11;f=g-f>>11;i=16}v[(i<<2)+b>>2]=f;c=c+2|0;a=a+4|0;b=b+4|0;h=m>>>0>1;m=m-1|0;if(h){continue}break}a=C+128|0;m=0;c=l;while(1){h=v[c+12>>2];f=v[c+4>>2];l=B(h+f|0,4433);b=v[(m<<2)+d>>2]+e|0;f=l+B(f,6270)|0;g=v[c>>2]+16|0;j=v[c+8>>2];k=g+j<<13;t[b|0]=w[a+(f+k>>>18&1023)|0];t[b+3|0]=w[a+(k-f>>>18&1023)|0];l=l+B(h,-15137)|0;h=g-j<<13;t[b+1|0]=w[a+(l+h>>>18&1023)|0];t[b+2|0]=w[a+(h-l>>>18&1023)|0];c=c+16|0;m=m+1|0;if((m|0)!=8){continue}break}}function aOa(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;a:{if(f>>>0>2){break a}b:{if(f){break b}c:{d:{if((e|0)<=8202){if((e|0)<=6067){if((e|0)<=4446){if((e|0)==173|(e|0)==847){break c}if((e|0)!=1564){break d}break c}if(e-4447>>>0>=2){break d}break c}if(e-6155>>>0<4){break c}if(e-6068>>>0>=2){break d}break c}e:{switch(e-8203|0){case 0:case 1:case 2:case 3:case 4:case 31:case 32:case 33:case 34:case 35:case 85:case 86:case 87:case 88:case 89:case 91:case 92:case 93:case 94:case 95:case 96:case 97:case 98:case 99:case 100:break c;case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 90:break d;default:break e}}if((e|0)==12644){break c}}if((e&-4)==113824|(e|0)==65440|((e|0)==65279|(e&-16)==65024)){break c}if((e|0)==917505|e-119155>>>0<8|((e|0)==8293|e-917536>>>0<96)){break c}if(e-917760>>>0<240|e-917506>>>0<30|((e|0)==917504|e-65520>>>0<9)){break c}if((e&-128)==917632){break c}if(e-918e3>>>0>3599){break b}}v[g>>2]=0;return}if(f|w[a|0]!=105?a:0){break a}v[g>>2]=0;xW(b,g)}}function PQ(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=Qb-272|0;Qb=g;d=v[a+200>>2];if(d&1){a:{if(d&4){Gc(a,57370);td(a,c);break a}if(d&2){Gc(a,57528);d=v[a+200>>2]}if(!(!b|!(w[b+9|0]&24)?!(d&16384):0)){Gc(a,57933);td(a,c);break a}v[a+200>>2]=d|16384;Zc(a,v[a+740>>2]);d=ug(a,c+1|0);v[a+740>>2]=d;yf(a,d,c);kd(a,d,c);e=td(a,0);d=v[a+740>>2];if(e){Zc(a,d);v[a+740>>2]=0;break a}t[c+d|0]=0;e=v[a+740>>2];d=e;while(1){f=d;d=d+1|0;if(w[f|0]){continue}break}if(!((c+e|0)-1>>>0>d>>>0?c:0)){Zc(a,e);v[a+740>>2]=0;Gc(a,58307);break a}d=a;j=f+2|0;if(w[f+1|0]){Gc(a,58565);e=v[a+740>>2]}f=d;d=j-e|0;WD(f,0,c,d,g+268|0);c=v[a+740>>2];b:{e=v[g+268>>2];if(e>>>0>=d>>>0){e=e-d|0;if(e>>>0>3){break b}}Zc(a,c);v[a+740>>2]=0;Gc(a,58776);break a}l=c+d|0;d=l;d=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);i=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(i>>>0>e>>>0){Zc(a,c);v[a+740>>2]=0;ES(g,1,i);ES(g,2,e);Jp(a,g,59197);break a}f=Qb-80|0;Qb=f;c:{if(!a|!b|(!c|!l)){break c}j=1;d=f;h=w[c|0];d:{if(!h){e=1;break d}while(1){c=c+1|0;e=0;m=d;e:{if(!((h-33&255)>>>0<94|h>>>0>160)){e=1;if(j){break e}h=32}t[m|0]=h;k=k+1|0;d=d+1|0}h=w[c|0];if(!h){break d}j=e;if(k>>>0<79){continue}break}}c=(k|0)!=0&e;t[d-c|0]=0;c=k-c|0;if(!c){Gc(a,49030);break c}c=c+1|0;d=If(a,c);if(!d){Gc(a,49388);break c}c=gc(d,f,c);d=If(a,i);if(!d){Zc(a,c);Gc(a,49767);break c}d=gc(d,l,i);ao(a,b,16,0);t[b+208|0]=0;v[b+200>>2]=d;v[b+196>>2]=c;v[b+204>>2]=i;v[b+184>>2]=v[b+184>>2]|16;v[b+8>>2]=v[b+8>>2]|4096}Qb=f+80|0;Zc(a,v[a+740>>2]);v[a+740>>2]=0}Qb=g+272|0;return}hd(a,57073);L()}function fna(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=Qb-16|0;Qb=f;i=f+8|0;h=i;e=Qb-48|0;Qb=e;a:{b:{if(!w[b+144|0]){a=vc(e+8|0,231625,242011,164,226800,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}b=P()|0;O()|0;qc(a);T(b|0);L()}Qm(h);v[299999]=0;V(4503,e+40|0,h|0);g=v[299999];v[299999]=0;c:{d:{e:{f:{g:{if((g|0)!=1){g=v[e+40>>2];v[e+32>>2]=0;v[e+24>>2]=0;v[e+28>>2]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[299999]=0;v[e+8>>2]=0;v[e+12>>2]=0;j=Q(4475,e+8|0,983320)|0;k=v[299999];v[299999]=0;if((k|0)==1){break g}v[299999]=0;fa(4863,b|0,g|0,e+8|0,c|0,d|0);b=v[299999];v[299999]=0;if((b|0)==1){break f}b=v[v[g>>2]+24>>2];v[299999]=0;R(b|0,g|0);b=v[299999];v[299999]=0;if((b|0)==1){break f}b=v[h>>2];c=v[v[b>>2]+20>>2];v[299999]=0;Z(c|0,b|0,0,0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break f}id(j);b=v[e+40>>2];v[e+40>>2]=0;h:{if(!b){break h}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break c}if(c){break h}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break c}}Qb=e+48|0;break a}a=P()|0;O()|0;break d}a=P()|0;O()|0;break e}a=P()|0;O()|0;id(j)}ec(e+40|0)}ec(h);T(a|0);L()}W(0)|0;O()|0;lc()}L()}v[299999]=0;V(4597,a|0,i|0);a=v[299999];v[299999]=0;i:{if((a|0)!=1){a=v[f+8>>2];v[f+8>>2]=0;j:{if(!a){break j}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break i}if(b){break j}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break i}}Qb=f+16|0;return}a=P()|0;O()|0;ec(f+8|0);T(a|0);L()}W(0)|0;O()|0;lc();L()}function Dk(a,b,c){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,p=0,q=0,r=0,s=0,t=0;d=Qb-48|0;Qb=d;e=K$(a,b,c,d+4|0);if(e){a=0;f=d+44|0;g=d+40|0;if(b){if(f){v[f>>2]=v[b>>2]}if(g){v[g>>2]=v[b+4>>2]}}vq(c,d+32|0,d+36|0,d+24|0,d+28|0);a:{if(!e){break a}b=e?v[e+36>>2]:0;if(v[b+8>>2]>((b?v[b+12>>2]:0)|0)?b:0){break a}Oe(e,0,0,e?v[e>>2]:-1,e?v[e+4>>2]:-1,30,0,0,0)}g=v[d+32>>2];b:{if((g|0)<1){break b}f=v[d+36>>2];if((f|0)<1){break b}while(1){b=0;if((f|0)>=1){while(1){if(v[v[v[c+16>>2]+(a<<2)>>2]+(b<<2)>>2]==1){Oe(e,v[d+28>>2]-b|0,v[d+24>>2]-a|0,v[d+44>>2],v[d+40>>2],16,v[d+4>>2],0,0);f=v[d+36>>2]}b=b+1|0;if((f|0)>(b|0)){continue}break}g=v[d+32>>2]}a=a+1|0;if((g|0)>(a|0)){continue}break}}c:{if(v[259697]!=1){break c}i=d+12|0;j=d+8|0;f=0;a=0;g=0;k=d+16|0;d:{if(!k|(d|0)==-20|(!i|!j)){break d}v[j>>2]=0;v[i>>2]=0;v[k>>2]=0;v[d+20>>2]=0;if(!c){break d}n=v[c>>2];e:{if((n|0)<1){break e}o=v[c+4>>2];if((o|0)<1){break e}p=v[c+12>>2];q=v[c+8>>2];s=v[c+16>>2];while(1){c=a-q|0;r=q-a|0;t=v[(a<<2)+s>>2];b=0;while(1){if(v[(b<<2)+t>>2]==1){h=b-p|0;g=(g|0)>(h|0)?g:h;h=p-b|0;l=(h|0)<(l|0)?l:h;m=(c|0)<(m|0)?m:c;f=(f|0)>(r|0)?f:r}b=b+1|0;if((o|0)!=(b|0)){continue}break}a=a+1|0;if((n|0)!=(a|0)){continue}break}}v[d+20>>2]=l;v[k>>2]=f;v[i>>2]=g;v[j>>2]=m}a=v[d+20>>2];if((a|0)>=1){Oe(e,0,0,a,v[d+40>>2],0,0,0,0)}a=v[d+12>>2];if((a|0)>=1){Oe(e,v[d+44>>2]-a|0,0,a,v[d+40>>2],0,0,0,0)}a=v[d+16>>2];if((a|0)>=1){Oe(e,0,0,v[d+44>>2],a,0,0,0,0)}a=v[d+8>>2];if((a|0)<1){break c}Oe(e,0,v[d+40>>2]-a|0,v[d+44>>2],a,0,0,0,0)}dd(d+4|0)}Qb=d+48|0;return e}function dVa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=v[a+464>>2];if(v[a+280>>2]){c=v[d+52>>2];if(!c){if(!(Ub[v[v[a+460>>2]+8>>2]](a)|0)){c=v[a>>2];v[c+20>>2]=25;Ub[v[c>>2]](a)}if(v[a+336>>2]>=1){while(1){g=e<<2;f=v[(g+a|0)+340>>2];a:{b:{if(v[a+224>>2]){if(v[a+408>>2]){break b}if(v[a+416>>2]){break a}}c=v[(d+(v[f+20>>2]<<2)|0)+56>>2];t[c|0]=0;t[c+1|0]=0;t[c+2|0]=0;t[c+3|0]=0;t[c+4|0]=0;t[c+5|0]=0;t[c+6|0]=0;t[c+7|0]=0;t[c+56|0]=0;t[c+57|0]=0;t[c+58|0]=0;t[c+59|0]=0;t[c+60|0]=0;t[c+61|0]=0;t[c+62|0]=0;t[c+63|0]=0;t[c+48|0]=0;t[c+49|0]=0;t[c+50|0]=0;t[c+51|0]=0;t[c+52|0]=0;t[c+53|0]=0;t[c+54|0]=0;t[c+55|0]=0;t[c+40|0]=0;t[c+41|0]=0;t[c+42|0]=0;t[c+43|0]=0;t[c+44|0]=0;t[c+45|0]=0;t[c+46|0]=0;t[c+47|0]=0;t[c+32|0]=0;t[c+33|0]=0;t[c+34|0]=0;t[c+35|0]=0;t[c+36|0]=0;t[c+37|0]=0;t[c+38|0]=0;t[c+39|0]=0;t[c+24|0]=0;t[c+25|0]=0;t[c+26|0]=0;t[c+27|0]=0;t[c+28|0]=0;t[c+29|0]=0;t[c+30|0]=0;t[c+31|0]=0;t[c+16|0]=0;t[c+17|0]=0;t[c+18|0]=0;t[c+19|0]=0;t[c+20|0]=0;t[c+21|0]=0;t[c+22|0]=0;t[c+23|0]=0;t[c+8|0]=0;t[c+9|0]=0;t[c+10|0]=0;t[c+11|0]=0;t[c+12|0]=0;t[c+13|0]=0;t[c+14|0]=0;t[c+15|0]=0;c=d+g|0;v[c+36>>2]=0;v[c+20>>2]=0;if(!v[a+224>>2]){if(v[a+432>>2]){break b}break a}if(!v[a+408>>2]){break a}}ic(v[(d+(v[f+24>>2]<<2)|0)+120>>2],0,256)}e=e+1|0;if((e|0)>2]){continue}break}}v[d+16>>2]=-16;v[d+8>>2]=0;v[d+12>>2]=0;c=v[a+280>>2];v[d+52>>2]=c}v[d+52>>2]=c-1}if(v[a+364>>2]>=1){d=d+184|0;e=1<>2];c=0;while(1){if(rf(a,d)){f=v[(c<<2)+b>>2];u[f>>1]=e|x[f>>1]}c=c+1|0;if((c|0)>2]){continue}break}}return 1}function Ud(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=v[a+28>>2];a:{e=v[a>>2];if(!(!e&(!v[v[(v[a+24>>2]+(d<<2)|0)-4>>2]+20>>2]|(d|0)<1))){h=d;d=v[a+32>>2];if((h|0)>=(d|0)){d=d<<1;v[a+32>>2]=d;k=a,l=pd(v[a+24>>2],d,4),v[k+24>>2]=l;e=v[a>>2]}d=fc(24);b:{if(e){i=A[a+16>>3];j=A[a+8>>3];v[d+16>>2]=16;v[299999]=0;e=Q(3364,16,8)|0;f=v[299999];v[299999]=0;if((f|0)==1){break a}v[d>>2]=e;v[299999]=0;f=Q(3364,16,8)|0;g=v[299999];v[299999]=0;if((g|0)==1){break a}v[d+4>>2]=f;v[299999]=0;g=Q(3364,16,4)|0;h=v[299999];v[299999]=0;if((h|0)==1){break a}v[d+12>>2]=1;v[d+8>>2]=g;A[e>>3]=j;A[f>>3]=i;v[g>>2]=0;v[d+20>>2]=0;e=v[a+28>>2];h=v[a+24>>2]+(e<<2)|0;break b}e=v[(v[a+24>>2]+(v[a+28>>2]<<2)|0)-4>>2];f=(v[e+12>>2]<<3)-8|0;i=A[f+v[e+4>>2]>>3];j=A[f+v[e>>2]>>3];v[d+16>>2]=16;v[299999]=0;e=Q(3364,16,8)|0;f=v[299999];v[299999]=0;if((f|0)==1){break a}v[d>>2]=e;v[299999]=0;f=Q(3364,16,8)|0;g=v[299999];v[299999]=0;if((g|0)==1){break a}v[d+4>>2]=f;v[299999]=0;g=Q(3364,16,4)|0;h=v[299999];v[299999]=0;if((h|0)==1){break a}v[d+12>>2]=1;v[d+8>>2]=g;A[e>>3]=j;A[f>>3]=i;v[g>>2]=0;v[d+20>>2]=0;e=v[a+28>>2];h=v[a+24>>2]+(e<<2)|0}v[h>>2]=d;v[a>>2]=0;d=e+1|0;v[a+28>>2]=d}a=v[(v[a+24>>2]+(d<<2)|0)-4>>2];d=v[a+12>>2];e=v[a+16>>2];c:{if((d|0)<(e|0)){e=v[a+8>>2];break c}d=e<<1;v[a+16>>2]=d;k=a,l=pd(v[a>>2],d,8),v[k>>2]=l;k=a,l=pd(v[a+4>>2],v[a+16>>2],8),v[k+4>>2]=l;e=pd(v[a+8>>2],v[a+16>>2],4);v[a+8>>2]=e;d=v[a+12>>2]}f=d<<3;A[f+v[a>>2]>>3]=b;A[f+v[a+4>>2]>>3]=c;v[(d<<2)+e>>2]=0;v[a+12>>2]=v[a+12>>2]+1;return}a=P()|0;O()|0;dc(d);T(a|0);L()}function KUa(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,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;o=Qb-16|0;Qb=o;n=A[c+16>>3];i=A[c>>3];g=a;k=A[c+8>>3];p=A[c+24>>3]-k;a:{if(D(p)<2147483648){h=~~p;break a}h=-2147483648}A[g+616>>3]=h|0;g=a;n=n-i;b:{if(D(n)<2147483648){h=~~n;break b}h=-2147483648}A[g+608>>3]=h|0;g=a;if(D(i)<2147483648){j=~~i}else{j=-2147483648}m=(j<<2)+b|0;if(D(k)<2147483648){h=~~k}else{h=-2147483648}v[g+652>>2]=m+(B(h,d)<<2);g=v[a+16>>2];if(g){dc(gH(g));v[a+16>>2]=0}g=v[a+20>>2];if(g){dc(jq(g));v[a+20>>2]=0}g=fc(2864);v[299999]=0;S(2176,g|0)|0;l=v[299999];v[299999]=0;c:{d:{if((l|0)!=1){v[a+16>>2]=g;g=fc(8);v[299999]=0;S(2177,g|0)|0;l=v[299999];v[299999]=0;if((l|0)==1){break c}v[a+20>>2]=g;l=(h|0)>0?h:0;v[a+640>>2]=l;h=(j|0)>0?j:0;v[a+636>>2]=h;i=A[c+16>>3];j=a;m=e;k=A[c+24>>3];e:{if(D(k)<2147483648){g=~~k;break e}g=-2147483648}q=((e|0)<(g|0)?m:g)-l|0;v[j+648>>2]=q;m=a;j=d;if(D(i)<2147483648){g=~~i}else{g=-2147483648}j=((d|0)<(g|0)?j:g)-h|0;v[m+644>>2]=j;zY(v[a+16>>2],b,d,e,0-(d<<2)|0,h,l,j,q,i-A[c>>3],k-A[c+8>>3],f);b=yo(o+8|0,1,0,0,1,A[c>>3],A[c+8>>3]);c=v[a+16>>2];v[299999]=0;eH(c,b);c=v[299999];v[299999]=0;if((c|0)==1){break d}i=A[a+592>>3];c=v[a+16>>2];v[299999]=0;Iz(c,i,6);c=v[299999];v[299999]=0;if((c|0)==1){break d}i=A[a+600>>3];c=v[a+16>>2];v[299999]=0;Hz(c,i,6);c=v[299999];v[299999]=0;if((c|0)==1){break d}a=v[a+16>>2];v[299999]=0;ov(a,6);a=v[299999];v[299999]=0;if((a|0)==1){break d}Cd(b);Qb=o+16|0;return}break c}a=P()|0;O()|0;Cd(b);T(a|0);L()}a=P()|0;O()|0;dc(g);T(a|0);L()}function D2(a,b){var 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;f=v[b+36>>2];if(!(!f|v[a+56>>2]<1)){while(1){d=v[f+24>>2];j=0;if(v[f+20>>2]>=1){while(1){g=v[d+4>>2];a:{if(!g){break a}k=0;if(v[d>>2]>=1){while(1){h=v[g>>2];b:{if(!h){break b}l=0;if(v[d+40>>2]<1){break b}while(1){e=v[h+28>>2];c:{if(!e){break c}m=0;if(v[h+24>>2]>=1){while(1){c=v[e+4>>2];if(c){q=e+8|0;o=e+4|0;while(1){i=v[c+4>>2];n=v[c>>2];v[(i?i:o)>>2]=n;v[(n?n+4|0:q)>>2]=i;v[c>>2]=0;v[c+4>>2]=0;i=v[c+24>>2];if(i){Te(i)}dc(c);c=v[o>>2];if(c){continue}break}}$e(v[e+40>>2]);c=v[e+28>>2];if(c){Us(c)}c=v[e+32>>2];if(c){Xs(c)}c=v[e+36>>2];if(c){$e(c)}e=e+44|0;m=m+1|0;if((m|0)>2]){continue}break}}c=v[h+32>>2];if(c){$h(c)}c=v[h+36>>2];if(c){$h(c)}c=v[h+28>>2];if(!c){break c}dc(c)}h=h+40|0;l=l+1|0;if((l|0)>2]){continue}break}}c=v[g+4>>2];if(c){$e(c)}c=v[g>>2];if(c){dc(c)}g=g+32|0;k=k+1|0;if((k|0)>2]){continue}break}g=v[d+4>>2];if(!g){break a}}dc(g)}d=d+60|0;j=j+1|0;if((j|0)>2]){continue}break}d=v[f+24>>2]}if(d){dc(d)}d=v[f+16>>2];if(d){$e(d)}d=v[f+28>>2];if(d){dc(d)}f=f+32|0;p=p+1|0;if((p|0)>2]){continue}break}}a=v[b+32>>2];if(a){d=v[a+24>>2];if(d){dc(d)}d=v[a+4>>2];if(d){PJ(d)}dc(a);v[b+32>>2]=0}a=v[b+36>>2];if(a){dc(a);v[b+36>>2]=0}a=v[b+52>>2];if(a){dB(a);v[b+52>>2]=0}a=v[b+24>>2];if(a){Te(a);v[b+24>>2]=0}a=v[b+20>>2];if(a){if(v[a>>2]>=1){c=0;while(1){d=v[v[a+8>>2]+(c<<2)>>2];e=v[d+8>>2];if(e){dc(e)}dc(d);c=c+1|0;if((c|0)>2]){continue}break}}d=v[a+8>>2];if(d){dc(d)}dc(a);v[b+20>>2]=0}v[b>>2]=3}function i0(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=Qb-32|0;Qb=d;a:{if(!a|((a?v[a+8>>2]:-1)|0)!=4){break a}f=a?v[a+36>>2]:0;if(!(b|!f)){c=Vj(a,1);break a}g=d+28|0;h=d+24|0;if(a){if(g){v[g>>2]=v[a>>2]}if(h){v[h>>2]=v[a+4>>2]}}e=Ug(v[d+28>>2],v[d+24>>2],8);if(!e){break a}if(!(!a|!e|(a|0)==(e|0))){v[e+20>>2]=v[a+20>>2];v[e+24>>2]=v[a+24>>2]}j=a?v[a+40>>2]:0;k=a?v[a+12>>2]:-1;g=e?v[e+40>>2]:0;h=e?v[e+12>>2]:-1;b:{if((b|0)!=1){a=v[d+24>>2];if((a|0)<1){break b}c=v[d+28>>2];if((c|0)<=0){break b}b=0;while(1){if((c|0)>=1){i=(B(b,h)<<2)+g|0;f=j+(B(b,k)<<2)|0;a=0;while(1){t[a+i^3]=B(v[f+(a>>>1&2147483644)>>2]>>>((a<<2^-1)&28)&15,17);a=a+1|0;c=v[d+28>>2];if((a|0)<(c|0)){continue}break}a=v[d+24>>2]}b=b+1|0;if((b|0)<(a|0)){continue}break}break b}c=X$();c:{if(!f){Tg(c,0,0,0);Tg(c,17,17,17);Tg(c,34,34,34);Tg(c,51,51,51);Tg(c,68,68,68);Tg(c,85,85,85);Tg(c,102,102,102);Tg(c,119,119,119);Tg(c,136,136,136);Tg(c,153,153,153);Tg(c,170,170,170);Tg(c,187,187,187);Tg(c,204,204,204);Tg(c,221,221,221);Tg(c,238,238,238);Tg(c,255,255,255);break c}b=f?v[f+12>>2]:0;if((b|0)<1){break c}a=0;while(1){Jo(f,a,d+20|0,d+16|0,d+12|0);Tg(c,v[d+20>>2],v[d+16>>2],v[d+12>>2]);a=a+1|0;if((b|0)!=(a|0)){continue}break}}AI(e,c);a=v[d+24>>2];if((a|0)<1){break b}c=v[d+28>>2];if((c|0)<1){break b}b=0;while(1){if((c|0)>=1){i=(B(b,h)<<2)+g|0;f=j+(B(b,k)<<2)|0;a=0;while(1){t[a+i^3]=v[f+(a>>>1&2147483644)>>2]>>>((a<<2^-1)&28)&15;a=a+1|0;c=v[d+28>>2];if((a|0)<(c|0)){continue}break}a=v[d+24>>2]}b=b+1|0;if((b|0)<(a|0)){continue}break}}c=e}Qb=d+32|0;return c}function ZY(a,b){var 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;e=Qb-16|0;Qb=e;d=v[a+104>>2];f=v[d+28>>2];k=v[a+736>>2];t[k+(b?44:32)|0]=1;c=Ub[v[a+516>>2]](a,b?1448493394:1213612370,d,e+8|0)|0;v[e+12>>2]=c;a:{if(c){break a}g=v[d+8>>2];i=Ed(d,e+12|0);c=v[e+12>>2];if(c){break a}c=Bf(d,2);v[e+12>>2]=c;if(c){break a}if((i|0)!=1){c=8;v[e+12>>2]=8;break a}i=kf(d,e+12|0);c=v[e+12>>2];if(c){break a}h=kf(d,e+12|0);c=v[e+12>>2];if(c){break a}f=Fd(f,32,e+12|0);b:{if(b){v[k+52>>2]=f;break b}v[k+40>>2]=f}c=v[e+12>>2];if(c){break a}c=$Y(v[a+104>>2],v[a+736>>2],g+i|0,f);v[e+12>>2]=c;if(c){break a}if(h){d=Qb-16|0;Qb=d;i=v[a+104>>2];j=v[i+28>>2];c=Yc(i,g+h|0);v[d+12>>2]=c;c:{if(c){break c}g=Ed(i,d+12|0);c=v[d+12>>2];if(c){break c}h=Ed(i,d+12|0);v[f+20>>2]=h;c=v[d+12>>2];if(c){break c}d:{if(g&65472){break d}p=f,q=Cc(j,4,0,h,0,d+12|0),v[p+28>>2]=q;c=v[d+12>>2];if(c){break c}p=f,q=Cc(j,4,0,v[f+20>>2],0,d+12|0),v[p+24>>2]=q;c=v[d+12>>2];if(c){break c}h=0;if(!v[f+20>>2]){c=0;break c}c=g&15;m=c+1|0;n=g>>>4&3;o=(2<>2];if(c){break c}g=l&255|g<<8;c=(j|0)!=(n|0);j=j+1|0;if(c){continue}break}c=g>>>m|0;if(c>>>0>=y[f>>2]){break d}j=h<<2;v[j+v[f+24>>2]>>2]=c;l=v[v[f+4>>2]+(c<<4)>>2];c=g&o;if(l>>>0<=c>>>0){break d}v[j+v[f+28>>2]>>2]=c;h=h+1|0;if(h>>>0>2]){continue}break}c=v[d+12>>2];break c}c=8;v[d+12>>2]=8}Qb=d+16|0;if(c){break a}}c=0;v[e+12>>2]=0;if(b){t[k+45|0]=1;v[a+740>>2]=v[a+740>>2]|16;break a}t[k+33|0]=1;v[a+740>>2]=v[a+740>>2]|2}Qb=e+16|0;return c}function a_a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,y=0,z=0,A=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;a:{if((d|0)>=1){o=v[a+112>>2];e=B(o,3);p=e+3|0;i=v[a+480>>2];if(!o){break a}M=o-1|0;N=e-3|0;q=v[a+332>>2];e=v[a+136>>2];O=v[e+8>>2];P=v[e+4>>2];Q=v[e>>2];r=v[i+40>>2];R=v[i+24>>2];while(1){e=s<<2;l=v[e+c>>2];g=v[b+e>>2];b:{if(v[i+36>>2]){l=l+M|0;g=g+N|0;m=-3;D=-1;f=0;e=v[i+32>>2]+(p<<1)|0;break b}m=3;f=1;D=1;e=v[i+32>>2]}v[i+36>>2]=f;S=m+2|0;T=m+1|0;n=0;j=0;k=0;E=0;F=0;G=0;y=0;z=0;A=0;C=o;while(1){h=l;H=(m<<1)+e|0;I=w[(v[((u[H>>1]+n|0)+8>>4<<2)+r>>2]+w[g|0]|0)+q|0];J=I>>>3|0;K=w[(v[((u[(T<<1)+e>>1]+j|0)+8>>4<<2)+r>>2]+w[g+1|0]|0)+q|0];L=K>>>2|0;n=w[(v[((u[(S<<1)+e>>1]+k|0)+8>>4<<2)+r>>2]+w[g+2|0]|0)+q|0];j=n>>>3|0;k=(v[(J<<2)+R>>2]+(L<<6)|0)+(j<<1)|0;f=x[k>>1];if(!f){iZ(a,J,L,j);f=x[k>>1]}j=h;h=f-1|0;t[j|0]=h;k=w[h+Q|0];f=w[h+P|0];h=n-w[h+O|0]|0;u[e+4>>1]=B(h,3)+A;f=K-f|0;u[e+2>>1]=B(f,3)+z;j=e;e=I-k|0;u[j>>1]=B(e,3)+y;l=l+D|0;g=g+m|0;k=B(h,7);j=B(f,7);n=B(e,7);A=B(h,5)+G|0;z=B(f,5)+F|0;y=B(e,5)+E|0;E=e;F=f;G=h;e=H;C=C-1|0;if(C){continue}break}u[e+4>>1]=A;u[e+2>>1]=z;u[e>>1]=y;s=s+1|0;if((s|0)!=(d|0)){continue}break}}return}e=v[i+36>>2];if((d|0)!=1){g=d&-2;b=v[i+32>>2];while(1){a=b+((e?p:0)<<1)|0;u[a+4>>1]=0;u[a>>1]=0;u[a+2>>1]=0;a=b+((e?0:p)<<1)|0;u[a>>1]=0;u[a+2>>1]=0;u[a+4>>1]=0;e=(e|0)!=0;g=g-2|0;if(g){continue}break}}a=i;if(d&1){b=v[i+32>>2]+((e?p:0)<<1)|0;u[b+4>>1]=0;u[b>>1]=0;u[b+2>>1]=0;e=!e}v[a+36>>2]=e}function Nna(a){a=a|0;var b=0,c=0,d=0,e=0;e=Qb-16|0;Qb=e;v[299999]=0;b=ga(4695)|0;d=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{if((d|0)==1){break f}v[299999]=0;U(4818,e+8|0,b|0,a|0);b=v[299999];v[299999]=0;if((b|0)==1){break f}g:{h:{i:{j:{b=v[e+8>>2];if(!b){break j}v[299999]=0;d=Q(4340,e|0,280961)|0;c=v[299999];v[299999]=0;if((c|0)==1){break i}c=v[v[b>>2]+8>>2];v[299999]=0;b=Q(c|0,b|0,d|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){ec(d);if(!b){break j}v[299999]=0;R(4819,v[e+8>>2]);b=v[299999];v[299999]=0;if((b|0)!=1){break j}b=W(989228)|0;break h}b=W(989228)|0;c=O()|0;ec(d);break g}a=v[e+8>>2];v[e+8>>2]=0;if(!a){break d}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;d=v[299999];v[299999]=0;if((d|0)!=1){if(b){break d}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break d}}break a}b=W(989228)|0}c=O()|0}ec(e+8|0);break e}b=W(989228)|0;c=O()|0}if((ja(989228)|0)!=(c|0)){break b}d=ea(b|0)|0;v[299999]=0;b=ga(4695)|0;c=v[299999];v[299999]=0;k:{l:{m:{n:{if((c|0)!=1){v[299999]=0;d=v[d+4>>2];c=v[299999];v[299999]=0;if((c|0)==1){break n}v[299999]=0;d=Q(4340,e|0,(d?d:246399)|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break n}c=v[v[b>>2]+20>>2];v[299999]=0;Y(c|0,b|0,a|0,d|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break m}ec(d);break k}b=W(0)|0;O()|0;break l}b=W(0)|0;O()|0;break l}b=W(0)|0;O()|0;ec(d)}ea(b|0)|0;v[299999]=0;ba(4230);a=v[299999];v[299999]=0;if((a|0)==1){break c}}ka()}Qb=e+16|0;return}b=P()|0;O()|0;v[299999]=0;ba(4230);a=v[299999];v[299999]=0;if((a|0)!=1){break b}break a}T(b|0);L()}W(0)|0;O()|0;lc();L()}function sk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;if(!b){return 0}f=v[b+4>>2];if((f|0)==18){return 0}a:{b:{if(!c){break b}d=258814;c:{d:{if((c|0)!=258814){e=c;while(1){g=w[e|0];if((g|0)!=w[d|0]){break d}d=d+1|0;e=e+1|0;if(g){continue}break}}if(!a){if((f|0)==1){d=Ub[v[259704]](24)|0;if(d){break c}so(2,2,0,286187);return 0}d=0;a=v[b+32>>2];if(!a){break a}}d=v[a+52>>2];if(d){break a}return dV(a)}if(!c){break b}a=b;while(1){d=0;e:{f:{switch(f-1|0){case 0:break f;case 4:case 5:case 16:break a;default:break e}}d=v[a+48>>2];if(d){while(1){g:{e=v[d+12>>2];if(!e|!v[d+8>>2]){break g}f=c;if((f|0)==(e|0)){break a}while(1){g=w[e|0];if((g|0)!=w[f|0]){break g}f=f+1|0;e=e+1|0;if(g){continue}break}break a}d=v[d>>2];if(d){continue}break}}if((a|0)==(b|0)){break e}d=v[a+36>>2];if(!d){break e}e=v[d+12>>2];if(!e|!v[d+8>>2]){break e}f=c;if((f|0)==(e|0)){break a}while(1){g=w[e|0];if((g|0)!=w[f|0]){break e}f=f+1|0;e=e+1|0;if(g){continue}break}break a}a=v[a+20>>2];if(a){f=v[a+4>>2];continue}else{return 0}}}v[d>>2]=0;v[d+4>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d+4>>2]=18;h=d,i=we(286150),v[h+8>>2]=i;h=d,i=we(258814),v[h+12>>2]=i;v[d>>2]=v[b+48>>2];v[b+48>>2]=d;break a}e=b;while(1){d=0;h:{i:{switch(f-1|0){case 0:break i;case 4:case 5:case 16:break a;default:break h}}d=v[e+48>>2];if(d){while(1){if(!(v[d+8>>2]?v[d+12>>2]:1)){break a}d=v[d>>2];if(d){continue}break}}if((b|0)==(e|0)){break h}d=v[e+36>>2];if(!d|v[d+12>>2]){break h}if(v[d+8>>2]){break a}}e=v[e+20>>2];if(e){f=v[e+4>>2];continue}else{return 0}}}return d}function FA(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;g=-15;h=16777215;a:{switch(b|0){case 0:v[a>>2]=w[c+4|0]|(x[c+2>>1]<<8&65280|x[c>>1]<<16)|-16777216;return 0;case 1:h=x[c>>1];d=+x[c+4>>1]/100;i=a;b:{c:{d:{f=+x[c+2>>1]/100;if(f==0){d=d*255;if(!(D(d)<2147483648)){break d}g=~~d;b=g;a=b;break b}e=d+d;d=d<=.5?(f+1)*d:f+d-f*d;f=e-d;b=(h>>>0)%360|0;a=b>>>0>59;c=(h+120>>>0)%360|0;e:{if(c>>>0<=59){e=f+(d-f)*+(c|0)/60;break e}e=d;if(c>>>0<180){break e}e=f;if(c>>>0>239){break e}e=f+(d-f)*+(240-c|0)/60}e=e*255;f:{if(D(e)<2147483648){g=~~e;break f}g=-2147483648}c=(h-120|0)%360|0;h=(c|0)>59;e=f+(d-f)*+(b|0)/60;g:{if(!a){break g}e=d;if(b>>>0<180){break g}e=f;if(b>>>0>239){break g}e=f+(d-f)*+(240-b|0)/60}e=e*255;h:{if(D(e)<2147483648){b=~~e;break h}b=-2147483648}i:{if(!h){d=f+(d-f)*+(c|0)/60;break i}if((c|0)<180){break i}if((c|0)>239){d=f;break i}d=f+(d-f)*+(240-c|0)/60}d=d*255;if(!(D(d)<2147483648)){break c}a=~~d;break b}g=-2147483648;b=-2147483648}a=-2147483648}v[i>>2]=a|(g<<16|-16777216|b<<8);return 0;case 2:g=a;d=+x[c+6>>1]/100;f=1-d;e=1-(d+ +x[c+2>>1]/100*f);j:{if(D(e)<2147483648){a=~~e;break j}a=-2147483648}b=B(a,255);b=(b|0)>0?b:0;a=((b|0)<255?b:255)<<8;e=1-(d+ +x[c>>1]/100*f);k:{if(D(e)<2147483648){b=~~e;break k}b=-2147483648}b=B(b,255);b=(b|0)>0?b:0;b=a|((b|0)<255?b:255)<<16;d=1-(d+ +x[c+4>>1]/100*f);l:{if(D(d)<2147483648){a=~~d;break l}a=-2147483648}a=B(a,255);a=(a|0)>0?a:0;v[g>>2]=b|((a|0)<255?a:255)|-16777216;return 0;case 7:g=0;h=Po(255,x[c>>1],x[c+2>>1],x[c+4>>1]);break;default:break a}}v[a>>2]=h;return g}function JSa(a){a=a|0;var 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;j=Qb-16|0;Qb=j;e=v[a+448>>2];if(v[a+336>>2]>=1){while(1){d=c<<2;f=v[(d+a|0)+340>>2];b=v[f+12>>2];t=d+j|0,u=Ub[v[v[a+4>>2]+32>>2]](a,v[((v[f+4>>2]<<2)+e|0)+72>>2],B(b,v[a+148>>2]),b,1)|0,v[t>>2]=u;c=c+1|0;if((c|0)>2]){continue}break}}b=v[e+28>>2];h=v[e+24>>2];a:{if((b|0)>(h|0)){p=e+32|0;c=v[a+356>>2];g=v[e+20>>2];while(1){if(c>>>0>g>>>0){while(1){k=0;f=0;n=v[a+336>>2];if((n|0)>=1){while(1){b=k<<2;d=v[(b+a|0)+340>>2];o=v[d+60>>2];b:{if((o|0)<1){break b}i=v[d+56>>2];if((i|0)<1){break b}q=B(g,i);r=v[b+j>>2];l=i&7;s=i-1|0;m=0;while(1){c=v[(h+m<<2)+r>>2]+(q<<7)|0;d=f;b=l;if(b){while(1){v[((d<<2)+e|0)+32>>2]=c;d=d+1|0;c=c+128|0;b=b-1|0;if(b){continue}break}}f=f+i|0;if(s>>>0>=7){while(1){b=(d<<2)+e|0;v[b+36>>2]=c+128;v[b+32>>2]=c;v[b+40>>2]=c+256;v[b+44>>2]=c+384;v[b+48>>2]=c+512;v[b+52>>2]=c+640;v[b+56>>2]=c+768;v[b+60>>2]=c+896;c=c+1024|0;d=d+8|0;if((f|0)!=(d|0)){continue}break}}m=m+1|0;if((o|0)!=(m|0)){continue}break}}k=k+1|0;if((n|0)!=(k|0)){continue}break}}if(!(Ub[v[v[a+464>>2]+4>>2]](a,p)|0)){v[e+20>>2]=g;v[e+24>>2]=h;a=0;break a}c=v[a+356>>2];g=g+1|0;if(c>>>0>g>>>0){continue}break}b=v[e+28>>2]}g=0;v[e+20>>2]=0;h=h+1|0;if((h|0)<(b|0)){continue}break}}b=1;f=v[a+148>>2]+1|0;v[a+148>>2]=f;l=v[a+328>>2];if(l>>>0>f>>>0){d=v[a+448>>2];b=v[a+336>>2]<=1?v[v[a+340>>2]+(f>>>0>>0?12:76)>>2]:b;v[d+20>>2]=0;v[d+24>>2]=0;v[d+28>>2]=b;a=3;break a}Ub[v[v[a+456>>2]+12>>2]](a);a=4}Qb=j+16|0;return a|0}function y8a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{g=B(v[b+44>>2],30)+11|0;if(g>>>0<=y[a+424>>2]){e=v[a+428>>2]+8|0;break b}e=Ub[v[a+152>>2]](g)|0;if(e){break b}d=1;pc(a,1,0,0);break a}d=x[b+32>>1];d=d<<8|d>>>8;t[e|0]=d;t[e+1|0]=d>>>8;t[e+2|0]=w[b+34|0];d=v[b+36>>2];d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);t[e+3|0]=d;t[e+4|0]=d>>>8;t[e+5|0]=d>>>16;t[e+6|0]=d>>>24;d=v[b+40>>2];d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);t[e+7|0]=d;t[e+8|0]=d>>>8;t[e+9|0]=d>>>16;t[e+10|0]=d>>>24;if(v[b+44>>2]){d=e+11|0;f=v[b+48>>2];while(1){c=x[f>>1];c=c<<8|c>>>8;t[d|0]=c;t[d+1|0]=c>>>8;t[d+2|0]=w[f+2|0];t[d+3|0]=w[f+3|0];t[d+4|0]=w[f+4|0];c=v[f+8>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+5|0]=c;t[d+6|0]=c>>>8;t[d+7|0]=c>>>16;t[d+8|0]=c>>>24;c=v[f+12>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+9|0]=c;t[d+10|0]=c>>>8;t[d+11|0]=c>>>16;t[d+12|0]=c>>>24;t[d+13|0]=w[f+16|0];c=v[f+20>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+14|0]=c;t[d+15|0]=c>>>8;t[d+16|0]=c>>>16;t[d+17|0]=c>>>24;c=v[f+24>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+18|0]=c;t[d+19|0]=c>>>8;t[d+20|0]=c>>>16;t[d+21|0]=c>>>24;c=v[f+28>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+22|0]=c;t[d+23|0]=c>>>8;t[d+24|0]=c>>>16;t[d+25|0]=c>>>24;c=v[f+32>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+26|0]=c;t[d+27|0]=c>>>8;t[d+28|0]=c>>>16;t[d+29|0]=c>>>24;d=d+30|0;f=f+36|0;h=h+1|0;if(h>>>0>2]){continue}break}}d=_d(a,v[b>>2],g,e);if(y[a+424>>2]>=g>>>0){break a}Ub[v[a+156>>2]](e,g);return d|0}return d|0}function cW(a){var b=0,c=0,d=0;if((a|0)>=-64){if((a|0)<=10512){a=a+-64|0;b=(a<<16>>16)/243|0;c=b&65535;a=a-B(b,243)<<16>>16;a:{if((a|0)>=20){a=a+13|0;break a}a=t[a+864528|0]}return a|(c<<8)+53248|33554432}if((a|0)<=187659){a=a-10513|0;b=(a>>>0)/243|0;c=a-B(b,243)|0;b:{if(c>>>0>=20){c=c+13|0;break b}c=t[c+864528|0]}c=c|((a>>>0)/59049<<16)+16449536;a=((b&65535)>>>0)%243|0;c:{if(a>>>0>=20){a=a+13|0;break c}a=t[a+864528|0]}return c|a<<8|50331648}c=a-187660|0;d=(c>>>0)/243|0;b=c-B(d,243)|0;d:{if(b>>>0>=20){b=b+13|0;break d}b=t[b+864528|0]}c=(c>>>0)/59049|0;d=(d>>>0)%243|0;e:{if(d>>>0>=20){d=d+13|0;break e}d=t[d+864528|0]}return b|d<<8|((a|0)>=1368640?c+13|0:t[c+864528|0])<<16|-33554432}if((a|0)>=-10513){b=-64-a|0;a=((b&65535)>>>0)/243|0;c=a^-1;d=0-a|0;a=b-B(a,243)|0;b=a&65535;c=b?c:d;a=(b?243-a|0:0)&65535;f:{if(a>>>0>=20){a=a+13|0;break f}a=t[a+864528|0]}return a|(c<<8)+20480|33554432}if((a|0)>=-187660){b=-10513-a|0;a=(b>>>0)/243|0;b=b-B(a,243)|0;a=a+((b|0)!=0)|0;c=a;a=((a&65535)>>>0)/243|0;d=c-B(a,243)|0;c=d&65535;b=b?243-b|0:0;g:{if((b|0)>=20){b=b+13|0;break g}b=t[b+864528|0]}b=b|((c?a^-1:0-a|0)<<16)+2424832;a=(c?243-d|0:0)&65535;h:{if(a>>>0>=20){a=a+13|0;break h}a=t[a+864528|0]}return b|a<<8|50331648}b=-187660-a|0;a=(b>>>0)/243|0;b=b-B(a,243)|0;c=a+((b|0)!=0)|0;a=b?243-b|0:0;i:{if((a|0)>=20){a=a+13|0;break i}a=t[a+864528|0]}b=c;c=(c>>>0)/243|0;b=b-B(c,243)|0;c=b?c^-1:0-c|0;b=b?243-b|0:0;j:{if((b|0)>=20){b=b+13|0;break j}b=t[b+864528|0]}return a|b<<8|((c|0)>=-223?c+256|0:t[c+864771|0])<<16|553648128}function CCa(a,b){a=a|0;b=b|0;var c=0,d=0;if(a){td(a,0);while(1){d=Rx(a);a:{b:{c=v[a+348>>2];if((c|0)!=1229278788){if((c|0)!=1229472850){break b}_Q(a,b,d);break a}XQ(a,d);break a}c:{if(_t(a,c)){if((c|0)==1229209940){if(!(w[a+201|0]&32?1:d)){break c}EE(a,36245);break c}Rt(a,b,d);if((c|0)!=1347179589){break a}v[a+200>>2]=v[a+200>>2]|2;break a}d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{if((c|0)<=1883455819){if((c|0)<=1732332864){if((c|0)<=1649100611){if((c|0)==1229209940){break n}if((c|0)!=1347179589){break c}ZQ(a,b,d);break a}if((c|0)==1649100612){break m}if((c|0)!=1665684045){break c}TQ(a,b,d);break a}if((c|0)<=1766015823){if((c|0)==1732332865){break l}if((c|0)!=1749635924){break c}IQ(a,b,d);break a}if((c|0)==1766015824){break g}if((c|0)==1767135348){break d}if((c|0)!=1866876531){break c}EQ(a,b,d);break a}if((c|0)<=1934772033){if((c|0)<=1933723987){if((c|0)==1883455820){break k}if((c|0)!=1883789683){break c}HQ(a,b,d);break a}if((c|0)==1933723988){break i}if((c|0)==1933787468){break j}if((c|0)!=1934642260){break c}MQ(a,b,d);break a}if((c|0)<=1950960964){if((c|0)==1934772034){break h}if((c|0)!=1950701684){break c}xQ(a,b,d);break a}if((c|0)==1950960965){break f}if((c|0)==1951551059){break e}if((c|0)!=2052348020){break c}wQ(a,b,d);break a}if(w[a+201|0]&32?1:d){EE(a,36245)}td(a,d);break a}JQ(a,b,d);break a}VQ(a,b,d);break a}CQ(a,b,d);break a}BQ(a,b,d);break a}UQ(a,b,d);break a}SQ(a,b,d);break a}PQ(a,b,d);break a}AQ(a,b,d);break a}LQ(a,b,d);break a}uQ(a,b,d);break a}Rt(a,b,d)}if(!(w[a+200|0]&16)){continue}break}}}function BM(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,n=0;i=Qb-272|0;Qb=i;f=v[b>>2];v[i+12>>2]=f;l=a?d:256;d=a?a:i+16|0;e=0;a:{b:{c:{if(!f|!l){break c}h=c>>>0>=l>>>0;if(!(h|c>>>0>32)){break b}while(1){h=h?l:c;c=c-h|0;m=0;n=Qb-16|0;Qb=n;d:{e:{f:{g:{g=d;if(g){if(h>>>0>=4){break g}f=h;break f}h=0;g=v[i+12>>2];f=v[g>>2];if(!f){break d}while(1){k=1;if(f>>>0>=128){m=-1;k=Qn(n+12|0,f,0);if((k|0)==-1){break d}}f=v[g+4>>2];g=g+4|0;h=h+k|0;m=h;if(f){continue}break}break d}k=v[i+12>>2];f=h;while(1){j=v[k>>2];h:{if(j-1>>>0>=127){if(!j){t[g|0]=0;v[i+12>>2]=0;break e}m=-1;j=Qn(g,j,0);if((j|0)==-1){break d}f=f-j|0;g=g+j|0;break h}t[g|0]=j;f=f-1|0;k=v[i+12>>2];g=g+1|0}k=k+4|0;v[i+12>>2]=k;if(f>>>0>3){continue}break}}if(f){k=v[i+12>>2];while(1){j=v[k>>2];i:{if(j-1>>>0>=127){if(!j){t[g|0]=0;v[i+12>>2]=0;break e}m=-1;j=Qn(n+12|0,j,0);if((j|0)==-1){break d}if(f>>>0>>0){break e}Qn(g,v[k>>2],0);f=f-j|0;g=g+j|0;break i}t[g|0]=j;f=f-1|0;k=v[i+12>>2];g=g+1|0}k=k+4|0;v[i+12>>2]=k;if(f){continue}break}}m=h;break d}m=h-f|0}Qb=n+16|0;if((m|0)==-1){l=0;f=v[i+12>>2];e=-1;break c}h=(i+16|0)==(d|0)?0:m;d=h+d|0;e=e+m|0;f=v[i+12>>2];l=l-h|0;if(!f|!l){break c}h=c>>>0>=l>>>0;if(h|c>>>0>=33){continue}break}break b}if(!f){break a}}if(!l|!c){break a}h=e;while(1){j:{g=Qn(d,v[f>>2],0);k:{if(g+1>>>0<=1){e=-1;if(g){break a}v[i+12>>2]=0;break k}f=v[i+12>>2]+4|0;v[i+12>>2]=f;h=g+h|0;l=l-g|0;if(l){break j}}e=h;break a}d=d+g|0;e=h;c=c-1|0;if(c){continue}break}}if(a){v[b>>2]=v[i+12>>2]}Qb=i+272|0;return e|0}function vi(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(!b|v[b+16>>2]>131082){break a}e=v[a+16>>2];if(e){c=v[b+8>>2];b:{while(1){f=v[((d<<2)+a|0)+20>>2];g=v[f>>2];if(mc(v[g+8>>2],c)){d=d+1|0;if((d|0)!=(e|0)){continue}break b}break}if(v[b+12>>2]<=v[g+12>>2]){break a}if(a){UK(a,f)}e=v[a+16>>2]}if(e>>>0>31){break a}}e=0;g=v[a>>2];c=v[b+4>>2];c:{if((c|0)<=0){if(!c){break c}break a}e=Ub[v[g+4>>2]](g,c)|0;if(!e){return}ic(e,0,c)}v[e+8>>2]=g;v[e+4>>2]=a;v[e>>2]=b;d:{c=b;d=v[c>>2];if(d&2){c=64;f=v[e+4>>2];h=v[f>>2];d=Ub[v[h+4>>2]](h,12)|0;e:{if(!d){break e}t[d|0]=0;t[d+1|0]=0;t[d+2|0]=0;t[d+3|0]=0;t[d+4|0]=0;t[d+5|0]=0;t[d+6|0]=0;t[d+7|0]=0;t[d+8|0]=0;t[d+9|0]=0;t[d+10|0]=0;t[d+11|0]=0;i=v[e>>2];v[e+12>>2]=i;c=v[i+36>>2];v[e+16>>2]=c;f:{g:{h:{if((c|0)!=1869968492){break h}c=v[v[i+56>>2]+4>>2];if(!c){break h}c=Ub[c|0](h,e+52|0)|0;if(c){break g}v[e+56>>2]=v[v[i+56>>2]+16>>2];v[e+60>>2]=v[i+40>>2]}v[d+8>>2]=e;c=v[f+152>>2];v[d>>2]=c;v[d+4>>2]=0;v[(c?c+4|0:f+148|0)>>2]=d;v[f+152>>2]=d;c=v[f+148>>2];if(!c){break f}i:{while(1){d=v[c+8>>2];if(v[d+16>>2]==1869968492){break i}c=v[c+4>>2];if(c){continue}break}d=0}v[f+156>>2]=d;c=0;break e}Ub[v[h+8>>2]](h,d);break e}v[f+156>>2]=0;c=0}if(c){break d}c=v[e>>2];d=v[c>>2]}if(d&4){v[a+160>>2]=e}if(d&1){v[e+12>>2]=c}b=v[b+24>>2];if(b){if(Ub[b|0](e)|0){break d}}b=v[a+16>>2];v[a+16>>2]=b+1;v[((b<<2)+a|0)+20>>2]=e;return}j:{if(!(w[v[e>>2]]&2)){break j}a=v[e+12>>2];if(!a|v[a+36>>2]!=1869968492){break j}b=v[e+52>>2];if(!b){break j}Ub[v[v[a+56>>2]+20>>2]](b)}Ub[v[g+8>>2]](g,e)}}function iI(a,b){var 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,w=0,y=0,z=0;a:{d=B(b,1348)+a|0;g=v[d+56>>2];if((g|0)<1){break a}c=v[a+24>>2];if((c|0)<1){break a}a=v[a+28>>2];m=a+B(c,40)|0;i=b?8:4;n=i|16;e=v[d- -64>>2];j=e+B(g,44)|0;h=j-44|0;d=(b|0)==1;o=d?14:12;p=d?8:4;q=(g|0)==2;r=(g|0)==3;s=(g|0)==5;t=(g|0)==6;w=(g|0)==7;y=b?20:16;while(1){if(!(x[a>>1]&n)){b=v[a+p>>2];z=a+y|0;c=u[e>>1];f=u[a+o>>1];d=(b+v[e+8>>2]|0)-v[e+4>>2]|0;b:{if((c|0)>=(f|0)){break b}d=(b+v[h+8>>2]|0)-v[h+4>>2]|0;if(u[h>>1]<=(f|0)){break b}b=0;d=g;c:{d:{e:{f:{g:{if((g|0)<=8){if((c|0)>=(f|0)){break d}if((g|0)==1){break e}b=1;c=u[e+44>>1];if((f|0)>(c|0)){break g}break d}while(1){c=b+d>>1;k=B(c,44)+e|0;l=u[k>>1];h:{if((l|0)>(f|0)){d=c;break h}if((f|0)<=(l|0)){break f}b=c+1|0}if((b|0)<(d|0)){continue}break}break c}if(q){break e}b=2;c=u[e+88>>1];if((f|0)<=(c|0)){break d}if(r){break e}b=3;c=u[e+132>>1];if((f|0)<=(c|0)){break d}if((g|0)==4){break e}b=4;c=u[e+176>>1];if((f|0)<=(c|0)){break d}if(s){break e}b=5;c=u[e+220>>1];if((f|0)<=(c|0)){break d}if(t){break e}b=6;c=u[e+264>>1];if((f|0)<=(c|0)){break d}if(w){break e}b=7;c=u[e+308>>1];if((f|0)<=(c|0)){break d}if((g|0)==8){break e}c=x[e+352>>1];b=8;break d}d=v[k+8>>2];break b}c=x[j>>1];b=g}if((c&65535)!=(f&65535)){break c}d=v[(B(b,44)+e|0)+8>>2];break b}d=B(b,44)+e|0;b=d-44|0;c=v[d-28>>2];if(!c){c=ad(v[d+8>>2]-v[b+8>>2]|0,u[d>>1]-u[b>>1]|0);v[b+16>>2]=c}d=v[b+8>>2]+Ac(f-u[b>>1]|0,c)|0}v[z>>2]=d;u[a>>1]=x[a>>1]|i}a=a+40|0;if(m>>>0>a>>>0){continue}break}}}function Eca(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Qb-32|0;Qb=e;v[299999]=0;f=Q(5461,e+24|0,a|0)|0;d=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{if((d|0)!=1){if(!w[f|0]){break g}if(b){d=e+16|0;v[d>>2]=b;h=e+8|0;v[h>>2]=0;b=v[v[a>>2]-12>>2];v[299999]=0;b=v[(a+b|0)+24>>2];c=v[299999];v[299999]=0;j:{if((c|0)!=1){v[e>>2]=b;b=e;break j}break a}k:{while(1){l:{v[299999]=0;c=Q(5473,d|0,h|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break l}if(!c){break k}v[299999]=0;c=S(5474,d|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break l}v[299999]=0;Q(5475,b|0,c|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break l}if(!v[b>>2]){break k}v[299999]=0;S(5476,d|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break l}i=i+1|0;continue}break}break i}if(i){break g}b=v[v[a>>2]-12>>2];v[299999]=0;V(5463,a+b|0,4);b=v[299999];v[299999]=0;if((b|0)==1){break i}break g}b=v[v[a>>2]-12>>2];v[299999]=0;V(5463,a+b|0,1);b=v[299999];v[299999]=0;if((b|0)==1){break h}break g}b=W(0)|0;O()|0;break d}b=W(0)|0;O()|0;ea(b|0)|0;b=v[v[a>>2]-12>>2];v[299999]=0;R(5477,a+b|0);b=v[299999];v[299999]=0;if((b|0)==1){break f}v[299999]=0;ba(4230);b=v[299999];v[299999]=0;if((b|0)!=1){break g}}b=W(0)|0;O()|0;break e}Dw(f);break c}b=W(0)|0;O()|0;v[299999]=0;ba(4230);d=v[299999];v[299999]=0;if((d|0)==1){break a}}Dw(f)}ea(b|0)|0;b=v[v[a>>2]-12>>2];v[299999]=0;R(5464,a+b|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}ka()}Qb=e+32|0;return a|0}a=P()|0;O()|0;v[299999]=0;ba(4230);b=v[299999];v[299999]=0;if((b|0)==1){break a}T(a|0);L()}W(0)|0;O()|0;lc();L()}function Z3(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;a:{d=v[v[a+584>>2]+4>>2];if((d|0)>=(c|0)){break a}c=c-d|0;b:{switch(d-3|0){case 0:a=w[b+2|0];f=w[b+1|0];e=w[b|0];while(1){h=w[b+3|0];t[b+3|0]=h-e;e=w[b+4|0];t[b+4|0]=e-f;f=w[b+5|0];t[b+5|0]=f-a;b=b+3|0;d=(c|0)>3;a=f;f=e;e=h;c=c-3|0;if(d){continue}break};break a;case 1:a=w[b+3|0];f=w[b+2|0];e=w[b+1|0];h=w[b|0];while(1){d=w[b+4|0];t[b+4|0]=d-h;i=w[b+5|0];t[b+5|0]=i-e;g=w[b+6|0];t[b+6|0]=g-f;j=w[b+7|0];t[b+7|0]=j-a;b=b+4|0;k=(c|0)>4;c=c-4|0;h=d;e=i;f=g;a=j;if(k){continue}break};break a;default:break b}}b=(b+c|0)-1|0;if((d|0)<5){while(1){c:{switch(d|0){default:a=b+d|0;t[a|0]=w[a|0]-w[b|0];b=b-1|0;case 3:a=b+d|0;t[a|0]=w[a|0]-w[b|0];b=b-1|0;case 2:a=b+d|0;t[a|0]=w[a|0]-w[b|0];b=b-1|0;case 1:a=b+d|0;t[a|0]=w[a|0]-w[b|0];b=b-1|0;break;case 0:break c}}c=c-d|0;if((c|0)>0){continue}break a}}a=d-4|0;h=d&3;i=d-5>>>0>2;while(1){d:{e:{f:{g:{h:{i:{switch(d|0){case 0:break d;case 1:break e;case 2:break f;case 3:break g;case 4:break h;default:break i}}f=a;e=h;if(e){while(1){g=b+d|0;t[g|0]=w[g|0]-w[b|0];f=f-1|0;b=b-1|0;e=e-1|0;if(e){continue}break}}if(!i){break h}while(1){e=b+d|0;t[e|0]=w[e|0]-w[b|0];e=b-1|0;g=e+d|0;t[g|0]=w[g|0]-w[e|0];e=b-2|0;g=e+d|0;t[g|0]=w[g|0]-w[e|0];e=b-3|0;g=e+d|0;t[g|0]=w[g|0]-w[e|0];b=b-4|0;e=(f|0)>4;f=f-4|0;if(e){continue}break}}f=b+d|0;t[f|0]=w[f|0]-w[b|0];b=b-1|0}f=b+d|0;t[f|0]=w[f|0]-w[b|0];b=b-1|0}f=b+d|0;t[f|0]=w[f|0]-w[b|0];b=b-1|0}f=b+d|0;t[f|0]=w[f|0]-w[b|0];b=b-1|0}c=c-d|0;if((c|0)>0){continue}break}}}function dw(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=Qb-32|0;Qb=f;e=v[a+584>>2];v[f+28>>2]=0;a:{b:{if(v[e+488>>2]){if(!(v[e+16>>2]|!c?v[e+16>>2]?b:0:1)){break b}CK(e);v[e+488>>2]=0}d=1;c:{if(!(v[a+12>>2]>>>10&1)){break c}v[f+16>>2]=f+28;if(!Kd(a,325,f+16|0)){break c}g=v[f+28>>2];if(!g){break c}d=!v[g>>2]}d:{if(v[a+12>>2]>>>10&1){break d}v[f>>2]=f+28;if(!Kd(a,279,f)){break d}g=v[f+28>>2];if(!g){break d}d=!v[g>>2]}e:{f:{g:{if(c){break g}if(b){break f}if(!v[a+8>>2]){break g}if(d){break f}}c=jc(40);v[c>>2]=0;v[299999]=0;h=Ko(e+492|0);a=v[299999];v[299999]=0;d=-1;g=4;h:{if(!a){break h}b=v[3e5];if(!b){break h}d=sc(v[a>>2],c,4);if(!d){break a}_(b|0)}a=O()|0;if((d|0)!=1){v[e+492>>2]=548;v[e>>2]=h;v[e+500>>2]=549;c=Ue(e+624|0,1,c,4);g=O()|0;a=0}while(1){i:{if(a){b=0;break i}v[299999]=0;U(16,e|0,80,488);a=v[299999];v[299999]=0;d=-1;j:{if(!a){break j}b=v[3e5];if(!b){break j}d=sc(v[a>>2],c,g);if(!d){break a}_(b|0)}b=1;a=O()|0;if((d|0)==1){continue}}break}dc(c);if(b){break e}break b}c=jc(40);v[c>>2]=0;v[299999]=0;h=Ko(e+492|0);a=v[299999];v[299999]=0;d=-1;g=4;k:{if(!a){break k}b=v[3e5];if(!b){break k}d=sc(v[a>>2],c,4);if(!d){break a}_(b|0)}a=O()|0;if((d|0)!=1){v[e+492>>2]=548;v[e>>2]=h;v[e+500>>2]=549;c=Ue(e+624|0,1,c,4);g=O()|0;a=0}while(1){l:{if(a){b=0;break l}v[299999]=0;U(41,e|0,80,432);a=v[299999];v[299999]=0;d=-1;m:{if(!a){break m}b=v[3e5];if(!b){break m}d=sc(v[a>>2],c,g);if(!d){break a}_(b|0)}b=1;a=O()|0;if((d|0)==1){continue}}break}dc(c);if(!b){break b}}v[e+488>>2]=1}Qb=f+32|0;return}dc(c);sd(a,b);L()}function SFa(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,p=0,q=0,r=0,s=0,t=0,u=0,x=0;k=Qb-32|0;j=a;while(1){a:{d=v[(e<<2)+b>>2]+c|0;g=w[d+6|0];f=j;l=w[d+5|0];m=w[d+3|0];j=l+m|0;n=w[d+2|0];h=n+g|0;o=w[d+8|0];p=w[d|0];i=o+p|0;q=j+(h+i|0)|0;r=w[d+7|0];s=w[d+1|0];t=r+s|0;u=w[d+4|0];x=t+u|0;v[f>>2]=(q+x<<1)-2304;d=p-o|0;g=n-g|0;l=m-l|0;v[f+12>>2]=B(d-(g+l|0)|0,10033)+2048>>12;v[f+24>>2]=B(q-(x<<1)|0,5793)+2048>>12;n=B(j-i|0,2012);i=B(i-h|0,10887)+2048|0;m=B(t-(u<<1)|0,5793);v[f+16>>2]=(n+i|0)-m>>12;v[f+8>>2]=m+(i+B(h-j|0,8875)|0)>>12;i=B(g-l|0,11409);h=B(d+l|0,3962);j=B(s-r|0,10033);v[f+28>>2]=(i+(h-j|0)|0)+2048>>12;d=B(d+g|0,7447);v[f+20>>2]=(d-(j+i|0)|0)+2048>>12;v[f+4>>2]=(h+(d+j|0)|0)+2048>>12;g=e-7|0;e=e+1|0;d=7;j=k;b:{switch(g|0){case 0:continue;case 1:break a;default:break b}}j=f+32|0;continue}break}while(1){e=v[a>>2];g=v[j>>2];b=e-g|0;k=v[a+64>>2];h=v[a+192>>2];c=k-h|0;i=v[a+96>>2];l=v[a+160>>2];f=i-l|0;v[a+96>>2]=B(b-(c+f|0)|0,15855)+16384>>15;k=h+k|0;e=e+g|0;g=i+l|0;h=(k+e|0)+g|0;i=v[a+128>>2];l=v[a+224>>2];m=v[a+32>>2];n=l+m|0;o=i+n|0;v[a+192>>2]=B(h-(o<<1)|0,9154)+16384>>15;v[a>>2]=B(h+o|0,12945)+16384>>15;o=B(g-e|0,3179);e=B(e-k|0,17203)+16384|0;h=B(n-(i<<1)|0,9154);v[a+128>>2]=(o+e|0)-h>>15;v[a+64>>2]=h+(e+B(k-g|0,14024)|0)>>15;e=B(b+f|0,6262);k=B(m-l|0,15855);f=B(c-f|0,18029);v[a+224>>2]=((e-k|0)+f|0)+16384>>15;b=B(b+c|0,11768);v[a+160>>2]=(b-(f+k|0)|0)+16384>>15;v[a+32>>2]=(e+(b+k|0)|0)+16384>>15;b=d;d=d-1|0;j=j+4|0;a=a+4|0;if(b){continue}break}}function kpa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Qb+-64|0;Qb=c;e=v[b>>2];if(e){v[e+4>>2]=v[e+4>>2]+1;d=v[b>>2]}v[299999]=0;v[c+48>>2]=d;U(4557,c+56|0,c+48|0,1024);b=v[299999];v[299999]=0;a:{b:{if((b|0)!=1){b=v[c+48>>2];v[c+48>>2]=0;c:{if(!b){break c}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(d){break c}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}e=v[a+16>>2];v[299999]=0;V(4633,v[c+56>>2],e|0);b=v[299999];v[299999]=0;d:{e:{f:{if((b|0)!=1){if(e){d=0;b=v[a+20>>2];if(!b){break e}while(1){a=v[b+8>>2];v[299999]=0;V(4634,a|0,c+56|0);a=v[299999];v[299999]=0;if((a|0)==1){break f}d=d+1|0;b=v[b>>2];if(b){continue}break}if((d|0)!=(e|0)){break e}}a=v[c+56>>2];v[c+56>>2]=0;if(!a){break d}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;d=v[299999];v[299999]=0;if((d|0)!=1){if(b){break d}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break d}}break a}b=P()|0;O()|0;a=c+56|0;break b}b=P()|0;O()|0;a=c+56|0;break b}v[c+40>>2]=0;v[299999]=0;v[c>>2]=d;v[c+4>>2]=e;v[c+44>>2]=v[282402];Y(4635,c+40|0,357587,c|0)|0;a=v[299999];v[299999]=0;g:{h:{i:{if((a|0)!=1){a=v[c+40>>2];a=v[(a?a+12|0:1129608)>>2];v[299999]=0;a=aa(4369,c+16|0,a|0,240885,226,344454,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break i}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)==1){break h}L()}b=P()|0;O()|0;break g}b=P()|0;O()|0;break g}b=P()|0;O()|0;qc(a)}ec(c+40|0);a=c+56|0;break b}Qb=c- -64|0;return}b=P()|0;O()|0;a=c+48|0}ec(a);T(b|0);L()}W(0)|0;O()|0;lc();L()}function No(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;while(1){d=f<<4;if(!(v[d+214192>>2]<=(c|0)&v[d+214196>>2]>=(c|0))){f=f+1|0;continue}break}e=f<<4;d=w[e+214201|0];h=d>>>0>1?d:1;d=c;c=c>>31;i=(d+c^c)-x[e+214202>>1]|0;l=w[e+214200|0];m=(b<<9)+a|0;c=1;while(1){g=(c+m|0)+65560|0;e=w[g|0];j=e<<2;d=x[j+1038400>>1];n=g;g=l&1;a:{b:{if((g|0)!=(e>>>0<47|0)){e=x[a+4>>1]-d|0;u[a+4>>1]=e;if(e<<16>>16>=0){if(d>>>0>(e&65535)>>>0){e=d;d=j+1038402|0;break b}v[a>>2]=d+v[a>>2];d=j+1038402|0;break b}v[a>>2]=d+v[a>>2];break a}e=x[a+4>>1]-d|0;c:{if(d>>>0<=(e&65535)>>>0){e=d;break c}v[a>>2]=d+v[a>>2]}d=j+1038403|0}t[n|0]=w[d|0];while(1){e=e<<1;u[a+4>>1]=e;v[a>>2]=v[a>>2]<<1;d=w[a+6|0]-1|0;t[a+6|0]=d;if(!(d&255)){ql(a);e=x[a+4>>1]}if(e<<16>>16>-1){continue}break}}d=c<<1;c=c&256?g|d&254|256:d|g;l=(l&254)>>>1|0;k=k+1|0;if((h|0)!=(k|0)){continue}break}if((f|0)!=1){d=w[(f<<4)+214204|0];m=d>>>0>1?d:1;f=i<<32-d;k=(b<<9)+a|0;e=0;while(1){g=(c+k|0)+65560|0;b=w[g|0];h=b<<2;d=x[h+1038400>>1];i=f>>>31|0;d:{e:{if((i|0)==(b>>>0>46|0)){b=x[a+4>>1]-d|0;u[a+4>>1]=b;if(b<<16>>16>=0){if(d>>>0>(b&65535)>>>0){b=d;d=h+1038402|0;break e}v[a>>2]=d+v[a>>2];d=h+1038402|0;break e}v[a>>2]=d+v[a>>2];break d}b=x[a+4>>1]-d|0;f:{if(d>>>0<=(b&65535)>>>0){b=d;break f}v[a>>2]=d+v[a>>2]}d=h+1038403|0}t[g|0]=w[d|0];while(1){b=b<<1;u[a+4>>1]=b;v[a>>2]=v[a>>2]<<1;d=w[a+6|0]-1|0;t[a+6|0]=d;if(!(d&255)){ql(a);b=x[a+4>>1]}if(b<<16>>16>-1){continue}break}}b=c<<1;c=c&256?i|b&254|256:b|i;f=f<<1;e=e+1|0;if((m|0)!=(e|0)){continue}break}}}function Vs(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;j=Qb-256|0;Qb=j;a:{b:{if(!((a|0)<1|(b|0)<=0)){g=jc(16);if(!g){break a}v[g+4>>2]=b;v[g>>2]=a;v[g+8>>2]=0;v[g+12>>2]=0;v[j+128>>2]=a;d=b;while(1){n=f;f=f+1|0;c=f<<2;k=(d+1|0)/2|0;v[c+j>>2]=k;h=c+(j+128|0)|0;c=(a+1|0)/2|0;v[h>>2]=c;h=B(a,d);e=h+e|0;d=k;a=c;if((h|0)>1){continue}break}v[g+8>>2]=e;c=jc(e<<4);v[g+12>>2]=c;if(!c){d=0;break a}if(!n){d=c;break b}d=c;f=(B(v[g+4>>2],v[g>>2])<<4)+c|0;a=f;while(1){c:{if((b|0)<1){e=f;break c}m=b-1|0;i=0;k=v[(j+128|0)+(l<<2)>>2];if((k|0)>0){e=f;while(1){f=e;e=k;while(1){d:{v[d>>2]=a;if((e|0)==1){d=d+16|0;a=a+16|0;break d}v[d+16>>2]=a;a=a+16|0;d=d+32|0;h=(e|0)>2;e=e-2|0;if(h){continue}}break}h=i&1|(i|0)==(m|0);e=h?a:f+(k<<4)|0;a=h?a:f;i=i+1|0;if((i|0)!=(b|0)){continue}break}break c}e=0;if((b|0)!=1){i=b&-2;while(1){h=(e|0)==(m|0);e=e+2|0;f=h?a:f;a=f;i=i-2|0;if(i){continue}break}}if(!(b&1)){a=f;e=a;break c}b=e&1|(e|0)==(m|0);e=b?a:(k<<4)+f|0;a=b?a:f}l=l+1|0;if((n|0)==(l|0)){break b}b=v[(l<<2)+j>>2];f=e;continue}}X(3676,7271,109,189605);L()}v[d>>2]=0;a=v[g+8>>2];if((a|0)>=1){b=a-1|0;d=a&3;if(d){while(1){v[c+12>>2]=0;v[c+4>>2]=2147483647;v[c+8>>2]=0;c=c+16|0;a=a-1|0;d=d-1|0;if(d){continue}break}}d=g;if(b>>>0<3){break a}while(1){v[c+12>>2]=0;v[c+4>>2]=2147483647;v[c+8>>2]=0;v[c+60>>2]=0;v[c+52>>2]=2147483647;v[c+56>>2]=0;v[c+44>>2]=0;v[c+36>>2]=2147483647;v[c+40>>2]=0;v[c+28>>2]=0;v[c+20>>2]=2147483647;v[c+24>>2]=0;c=c- -64|0;b=(a|0)>4;a=a-4|0;if(b){continue}break}}d=g}Qb=j+256|0;return d}function fD(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;e=Qb-32|0;Qb=e;a:{b:{c:{if(v[a+36>>2]<=-1){a=vc(e,276581,241788,320,338212,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break c}break a}f=v[a+24>>2];if(!(!f|w[f+20|0])){a=vc(e,328453,241788,322,338212,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break c}break a}v[a+36>>2]=1;f=$w(b);d:{if((f|0)<0){break d}d=w[b+4|0];if(!f){if(d){break d}break b}if((d|0)!=58){break d}if($w(b+5|0)){break d}if(!w[b+9|0]){break b}}a=vc(e,262425,241788,329,338212,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break c}break a}L()}d=v[a+28>>2];if((d|0)>=v[a+32>>2]){v[e+24>>2]=0;v[e+28>>2]=0;if(d&1){d=v[a+16>>2];h=a,i=(Ub[v[v[d>>2]+12>>2]](d,e+24|4,1)|0)+v[a+28>>2]|0,v[h+28>>2]=i}if(c){v[e+24>>2]=1411798081;h=a,i=yr(v[a+16>>2],e+24|0,4)+v[a+28>>2]|0,v[h+28>>2]=i}v[e+24>>2]=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);d=yr(v[a+16>>2],e+24|0,8)+v[a+28>>2]|0;v[a+32>>2]=d;v[a+28>>2]=d;if(f){v[e+28>>2]=w[b+5|0]|w[b+6|0]<<8|(w[b+7|0]<<16|w[b+8|0]<<24);h=a,i=yr(v[a+16>>2],e+24|4,4)+v[a+28>>2]|0,v[h+28>>2]=i;d=v[a+32>>2]}b=fc(24);g=v[a+24>>2];c=0;v[b+8>>2]=0;v[b+4>>2]=d;v[b>>2]=g;d=v[e+24>>2];t[b+12|0]=d;t[b+13|0]=d>>>8;t[b+14|0]=d>>>16;t[b+15|0]=d>>>24;e:{if(f){c=v[e+28>>2];t[b+16|0]=c;t[b+17|0]=c>>>8;t[b+18|0]=c>>>16;t[b+19|0]=c>>>24;c=1;break e}t[b+16|0]=0;t[b+17|0]=0;t[b+18|0]=0;t[b+19|0]=0}t[b+20|0]=c;v[a+24>>2]=b;Qb=e+32|0;return}X(232942,241788,332,262342);L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function LEa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=v[a+4>>2];Ub[v[v[b>>2]+20>>2]](b);a:{switch(v[a+40>>2]){case 0:u[a+348>>1]=0;d=a+92|0;g=v[a+56>>2];while(1){t[c+d|0]=c;b=c|1;t[b+d|0]=b;b=c|2;t[b+d|0]=b;b=c|3;t[b+d|0]=b;b=c|4;t[b+d|0]=b;b=c|5;t[b+d|0]=b;b=c|6;t[b+d|0]=b;b=c|7;t[b+d|0]=b;c=c+8|0;if((c|0)!=256){continue}break};c=0;b=0;while(1){f=d+e|0;h=w[f|0];i=c&255;b=h+(w[(i+a|0)+60|0]+(b&255)|0)|0;c=d+(b&255)|0;t[f|0]=w[c|0];t[c|0]=h;c=(i+1|0)%(g|0)|0;e=e+1|0;if((e|0)!=256){continue}break};v[a+352>>2]=-1;return;case 1:c=a+92|0;b=w[a+60|0]|w[a+61|0]<<8|(w[a+62|0]<<16|w[a+63|0]<<24);v[c>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=w[a+64|0]|w[a+65|0]<<8|(w[a+66|0]<<16|w[a+67|0]<<24);v[c+4>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=w[a+68|0]|w[a+69|0]<<8|(w[a+70|0]<<16|w[a+71|0]<<24);v[c+8>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=w[a+72|0]|w[a+73|0]<<8|(w[a+74|0]<<16|w[a+75|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);v[c+12>>2]=b;d=4;while(1){e=c+(d<<2)|0;g=e;if(!(d&3)){f=v[(d&-4)+894640>>2];b=Gib(b,8);b=f^(w[(b>>>16&255)+894720|0]<<16|w[(b>>>24|0)+894720|0]<<24|w[(b>>>8&255)+894720|0]<<8|w[(b&255)+894720|0])}b=v[e-16>>2]^b;v[g>>2]=b;d=d+1|0;if((d|0)!=44){continue}break};Lg(c+16|0);Lg(c+32|0);Lg(c+48|0);Lg(c- -64|0);Lg(c+80|0);Lg(c+96|0);Lg(c+112|0);Lg(c+128|0);Lg(c+144|0);b=v[a+4>>2];Ub[v[v[b>>2]+40>>2]](b,a+284|0,16)|0;v[a+316>>2]=16;return;case 2:YE(a+92|0,a+60|0);b=v[a+4>>2];Ub[v[v[b>>2]+40>>2]](b,a+348|0,16)|0;v[a+380>>2]=16;break;default:break a}}}function M2(a,b,c){var d=0,e=0,f=0;e=-1;a:{d=v[a+8>>2];b:{if(d&7){break b}e=v[a+64>>2];if(!((e|0)<0|(e|0)>v[a+60>>2])){break a}e=-1;d=v[a+28>>2];v[a+28>>2]=d-1;c:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;d=v[a+24>>2];v[a+24>>2]=d+1;d=w[d|0];break c}d=Hc(a,1);if((d|0)==-1){break b}}t[c+1|0]=d;d=v[a+8>>2];if(d&7){break b}e=v[a+64>>2];if(!((e|0)<0|(e|0)>v[a+60>>2])){break a}e=-1;d=v[a+28>>2];v[a+28>>2]=d-1;d:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;d=v[a+24>>2];v[a+24>>2]=d+1;d=w[d|0];break d}d=Hc(a,1);if((d|0)==-1){break b}}t[c+2|0]=d;d=v[a+8>>2];if(d&7){break b}e=v[a+64>>2];if(!((e|0)<0|(e|0)>v[a+60>>2])){break a}e=-1;d=v[a+28>>2];v[a+28>>2]=d-1;e:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;d=v[a+24>>2];v[a+24>>2]=d+1;d=w[d|0];break e}d=Hc(a,1);if((d|0)==-1){break b}}t[c+3|0]=d;d=v[a+8>>2];if(d&7){break b}e=v[a+64>>2];if(!((e|0)<0|(e|0)>v[a+60>>2])){break a}e=-1;d=v[a+28>>2];v[a+28>>2]=d-1;f:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;d=v[a+24>>2];v[a+24>>2]=d+1;d=w[d|0];break f}d=Hc(a,1);if((d|0)==-1){break b}}t[c+4|0]=d;if(Iq(a,c+5|0)){break b}e=w[c+1|0]+1|0;v[c+8>>2]=e;if(b){d=0;while(1){b=v[a+8>>2];if(b&7){return-1}f=v[a+64>>2];if(!((f|0)<0|(f|0)>v[a+60>>2])){v[a+8>>2]=b|4;return-1}b=v[a+28>>2];v[a+28>>2]=b-1;g:{if((b|0)>=1){v[a+60>>2]=v[a+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;b=w[b|0];break g}e=-1;b=Hc(a,1);if((b|0)==-1){break b}e=v[c+8>>2]}f=(d<<1)+c|0;t[f+13|0]=(b&240)>>>4;t[f+12|0]=b&15;d=d+1|0;if((e|0)>(d|0)){continue}break}t[c|0]=w[c|0]|1}e=0-(v[a+8>>2]&1)|0}return e}v[a+8>>2]=d|4;return-1}function qab(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0;if(e){n=e-1|0;o=e-2|0;l=(e|0)==1;while(1){a=f;u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];u[g+6>>1]=x[a+6>>1];f=a+8|0;g=g+8|0;a:{if(!l&k>>>0>=n>>>0){break a}i=k?(k|0)==(o|0)?d:b:c;m=!k&l;if(m){if(i>>>0<2){break a}h=i-1|0;j=h&1;if((i|0)!=2){h=h&-2;while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];u[g+6>>1]=x[a+6>>1];u[g+8>>1]=x[a>>1];u[g+10>>1]=x[a+2>>1];u[g+12>>1]=x[a+4>>1];u[g+14>>1]=x[a+6>>1];g=g+16|0;h=h-2|0;if(h){continue}break}}if(!j){break a}u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];u[g+6>>1]=x[a+6>>1];g=g+8|0;break a}h=i+1>>>1|0;b:{if(i>>>0<3){break b}j=(h>>>0>2?h:2)-1|0;p=j&1;if(i>>>0>=5){j=j&-2;while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];u[g+6>>1]=x[a+6>>1];u[g+8>>1]=x[a>>1];u[g+10>>1]=x[a+2>>1];u[g+12>>1]=x[a+4>>1];u[g+14>>1]=x[a+6>>1];g=g+16|0;j=j-2|0;if(j){continue}break}}if(!p){break b}u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];u[g+6>>1]=x[a+6>>1];g=g+8|0}if(h>>>0>=i>>>0){break a}a=m?0:f;j=h^-1;if(i-h&1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];u[g+6>>1]=x[a+6>>1];h=h+1|0;g=g+8|0}if((j|0)==(0-i|0)){break a}while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a+4>>1];u[g+6>>1]=x[a+6>>1];u[g+8>>1]=x[a>>1];u[g+10>>1]=x[a+2>>1];u[g+12>>1]=x[a+4>>1];u[g+14>>1]=x[a+6>>1];g=g+16|0;h=h+2|0;if((i|0)!=(h|0)){continue}break}}k=k+1|0;if((k|0)!=(e|0)){continue}break}}return 0}function dra(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;v[a>>2]=0;a:{b:{c:{d:{e:{f:{e=v[b+16>>2];g:{h:{if(!e){break h}while(1){f=v[e+8>>2];v[299999]=0;f=Q(4461,f+8|0,c|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break c}i:{if(f){v[299999]=0;Q(4344,a|0,e+8|0)|0;e=v[299999];v[299999]=0;if((e|0)!=1){break i}c=P()|0;O()|0;break a}e=v[e>>2];if(e){continue}break h}break}f=v[a>>2];if(f){break g}}v[299999]=0;e=S(1,76)|0;f=v[299999];v[299999]=0;if((f|0)==1){break b}v[299999]=0;c=Y(4462,e|0,c|0,d|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break f}v[299999]=0;Q(4336,a|0,c|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}v[299999]=0;c=S(1,12)|0;e=v[299999];v[299999]=0;if((e|0)==1){break b}v[c>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;e=c;f=v[a>>2];if(f){v[299999]=0;v[f+4>>2]=v[f+4>>2]+1;f=v[299999];v[299999]=0;if((f|0)==1){break b}f=v[a>>2]}else{f=0}v[e+8>>2]=f;v[299999]=0;Le(b+8|0,c);c=v[299999];v[299999]=0;if((c|0)==1){break b}v[299999]=0;R(4463,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}f=v[a>>2]}e=v[f+60>>2];if(e){b=v[d>>2];while(1){if((b|0)==v[e+8>>2]){break d}e=v[e>>2];if(e){continue}break}}v[299999]=0;b=S(1,12)|0;c=v[299999];v[299999]=0;if((c|0)!=1){break e}break b}c=P()|0;O()|0;dc(e);break a}v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;c=b;e=v[d>>2];if(e){v[299999]=0;v[e+4>>2]=v[e+4>>2]+1;e=v[299999];v[299999]=0;if((e|0)==1){break b}d=v[d>>2]}else{d=0}v[c+8>>2]=d;v[299999]=0;Le(f+52|0,b);b=v[299999];v[299999]=0;if((b|0)==1){break b}}return}c=P()|0;O()|0;break a}c=P()|0;O()|0}ec(a);T(c|0);L()}function b7(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;if((c|0)>=1){i=v[a+12>>2];while(1){g=v[a+4>>2];e=+z[b+4>>2];d=32767;a:{if(e>=18371976e12){break a}d=65535;if(e<=-18371976e12){break a}if(e>5.4136769e-20){e=(er(e)*1.4426950408889634+64)*256;if(g){d=Bib(v[299450],v[299451],1284865837,1481765933)+1|0;f=Tb;f=d>>>0<1?f+1|0:f;v[299450]=d;v[299451]=f;e=e+ +(f>>>1|0)*4.656612875245797e-10+-.5}if(D(e)<2147483648){d=~~e;break a}d=-2147483648;break a}d=0;if(!(e<-5.4136769e-20)){break a}e=(er(-e)*1.4426950408889634+64)*256;if(g){d=Bib(v[299450],v[299451],1284865837,1481765933)+1|0;f=Tb;f=d>>>0<1?f+1|0:f;v[299450]=d;v[299451]=f;e=e+ +(f>>>1|0)*4.656612875245797e-10+-.5}b:{if(D(e)<2147483648){d=~~e;break b}d=-2147483648}d=d|-32768}n=d;h=.210526316;e=.473684211;c:{d:{if(!d){break d}k=+z[b+4>>2];l=+z[b>>2];j=k*15+l+ +z[b+8>>2]*3;if(j<=0){break d}e=k*9/j;h=l*4/j;d=0;if(h<=0){break c}}h=h*410;if(g){d=Bib(v[299450],v[299451],1284865837,1481765933)+1|0;f=Tb;f=d>>>0<1?f+1|0:f;v[299450]=d;v[299451]=f;h=h+ +(f>>>1|0)*4.656612875245797e-10+-.5}if(D(h)<2147483648){d=~~h;break c}d=-2147483648}e:{f:{if(e<=0){m=d>>>0<255?d:255;d=0;break f}e=e*410;f=255;m=d>>>0<255?d:255;if(g){d=Bib(v[299450],v[299451],1284865837,1481765933)+1|0;g=Tb;g=d>>>0<1?g+1|0:g;v[299450]=d;v[299451]=g;e=e+ +(g>>>1|0)*4.656612875245797e-10+-.5}g:{if(D(e)<2147483648){d=~~e;break g}d=-2147483648}if(d>>>0>254){break e}}f=d}v[i>>2]=m<<8|n<<16|f;b=b+12|0;i=i+4|0;d=(c|0)>1;c=c-1|0;if(d){continue}break}}}function VJa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;k=B(v[b+36>>2],v[b+28>>2]);l=v[a+28>>2];g=(k<<1)-l|0;f=v[a+272>>2];if(!((g|0)<1|(f|0)<-1)){h=c-4|0;e=f+2|0;i=e&3;b=0;if(f+1>>>0>=3){e=e&-4;while(1){f=b<<2;j=l+v[f+h>>2]|0;ic(j,w[j-1|0],g);j=l+v[c+f>>2]|0;ic(j,w[j-1|0],g);j=l+v[h+(f|8)>>2]|0;ic(j,w[j-1|0],g);f=l+v[h+(f|12)>>2]|0;ic(f,w[f-1|0],g);b=b+4|0;e=e-4|0;if(e){continue}break}}if(i){while(1){e=l+v[h+(b<<2)>>2]|0;ic(e,w[e-1|0],g);b=b+1|0;i=i-1|0;if(i){continue}break}}f=v[a+272>>2]}if((f|0)>=1){l=k-2|0;b=v[a+228>>2];j=b<<4;o=B(b,-80)+16384|0;k=0;while(1){b=k<<2;i=v[(b|4)+c>>2];e=b+c|0;b=v[e>>2];f=w[i|0]+w[b|0]|0;h=v[(p<<2)+d>>2];e=v[e-4>>2];m=w[e|0];k=k+2|0;g=v[(k<<2)+c>>2];n=w[g|0];t[h|0]=(B(w[i+1|0]+(f+w[b+1|0]|0)|0,o)+B(j,(((m+n|0)+w[e+2|0]|0)+w[g+2|0]|0)+(w[i+2|0]+(w[b+2|0]+(w[g+1|0]+(n+(w[e+1|0]+(f+m|0)|0)|0)|0)|0)<<1)|0)|0)+32768>>>16;f=h+1|0;b=b+2|0;g=g+2|0;h=e+2|0;e=i+2|0;i=l;if(i){while(1){t[f|0]=(B(w[e+1|0]+(w[e|0]+(w[b+1|0]+w[b|0]|0)|0)|0,o)+B(j,w[g+2|0]+(w[g-1|0]+((w[h+2|0]+w[h-1|0]|0)+(w[e+2|0]+(w[e-1|0]+(w[b+2|0]+(w[b-1|0]+(w[g+1|0]+(w[g|0]+(w[h+1|0]+w[h|0]|0)|0)|0)|0)|0)|0)<<1)|0)|0)|0)|0)+32768>>>16;f=f+1|0;g=g+2|0;h=h+2|0;e=e+2|0;b=b+2|0;i=i-1|0;if(i){continue}break}}n=f;i=w[e+1|0]+w[b+1|0]|0;f=w[g+1|0];m=w[h+1|0];t[n|0]=(B(w[e|0]+(i+w[b|0]|0)|0,o)+B(j,(w[g-1|0]+(w[h-1|0]+(f+m|0)|0)|0)+(w[e-1|0]+(w[b-1|0]+(f+(w[g|0]+(m+(i+w[h|0]|0)|0)|0)|0)|0)<<1)|0)|0)+32768>>>16;p=p+1|0;if(v[a+272>>2]>(k|0)){continue}break}}}function ISa(a,b){a=a|0;b=b|0;var 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;e=v[a+328>>2];f=v[a+448>>2];j=v[f+24>>2];a:{c=v[f+28>>2];if((j|0)<(c|0)){l=f+32|0;r=e-1|0;p=v[a+356>>2]-1|0;i=v[f+20>>2];while(1){if(i>>>0<=p>>>0){while(1){qe(v[l>>2],v[a+364>>2]<<7);if(!(Ub[v[v[a+464>>2]+4>>2]](a,l)|0)){break a}g=0;m=0;c=v[a+336>>2];if((c|0)>0){while(1){d=v[((m<<2)+a|0)+340>>2];b:{if(!v[d+52>>2]){g=v[d+64>>2]+g|0;break b}e=v[d+60>>2];if((e|0)<1){break b}n=v[(i>>>0

>>0?56:72)+d>>2];if((n|0)>=1){s=B(v[d+68>>2],i);c=v[d+4>>2]<<2;q=v[(c+v[a+468>>2]|0)+4>>2];h=v[b+c>>2];c=v[d+40>>2];k=h+(B(j,c)<<2)|0;t=n&-2;u=n&1;o=0;while(1){if(!(v[d+76>>2]<=(j+o|0)&y[a+148>>2]>=r>>>0)){e=0;c=s;h=t;if((n|0)!=1){while(1){Ub[q|0](a,d,v[(e+g<<2)+l>>2],k,c);c=v[d+36>>2]+c|0;Ub[q|0](a,d,v[((e|1)+g<<2)+l>>2],k,c);e=e+2|0;c=c+v[d+36>>2]|0;h=h-2|0;if(h){continue}break}}if(u){Ub[q|0](a,d,v[((e+g<<2)+f|0)+32>>2],k,c)}e=v[d+60>>2];c=v[d+40>>2]}k=(c<<2)+k|0;g=v[d+56>>2]+g|0;o=o+1|0;if((o|0)<(e|0)){continue}break}c=v[a+336>>2];break b}g=B(v[d+56>>2],e)+g|0}m=m+1|0;if((m|0)<(c|0)){continue}break}}i=i+1|0;if(p>>>0>=i>>>0){continue}break}c=v[f+28>>2]}i=0;v[f+20>>2]=0;j=j+1|0;if((j|0)<(c|0)){continue}break}e=v[a+328>>2]}c=1;v[a+156>>2]=v[a+156>>2]+1;h=v[a+148>>2]+1|0;v[a+148>>2]=h;if(e>>>0>h>>>0){b=v[a+448>>2];c=v[a+336>>2]<=1?v[v[a+340>>2]+(h>>>0>>0?12:76)>>2]:c;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=c;return 3}Ub[v[v[a+456>>2]+12>>2]](a);return 4}v[f+20>>2]=i;v[f+24>>2]=j;return 0}function _d(a,b,c,d){var e=0,f=0,g=0;f=Qb-16|0;Qb=f;e=v[a+428>>2];a:{b:{if(!(!d|(e+8|0)==(d|0))){g=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);t[e|0]=g;t[e+1|0]=g>>>8;t[e+2|0]=g>>>16;t[e+3|0]=g>>>24;e=v[a+428>>2];b=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);t[e+4|0]=b;t[e+5|0]=b>>>8;t[e+6|0]=b>>>16;t[e+7|0]=b>>>24;e=v[a+116>>2]&240;if(e){b=0;if((e|0)==32){b=LA(a,LA(a,-1,v[a+428>>2]+4|0,4),d,c)^-1}e=v[a+428>>2];b=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);t[e+8|0]=b;t[e+9|0]=b>>>8;t[e+10|0]=b>>>16;t[e+11|0]=b>>>24}b=901;if(!(Ub[v[a+176>>2]](a,v[a+428>>2],8,f+12|0)|0)){break b}if(v[f+12>>2]!=8){b=12;break b}if(!(Ub[v[a+176>>2]](a,d,c,f+12|0)|0)){break b}if(v[f+12>>2]!=(c|0)){b=12;break b}c=0;if(!(w[a+116|0]&240)){break a}if(!(Ub[v[a+176>>2]](a,v[a+428>>2]+8|0,4,f+12|0)|0)){break b}b=12;if(v[f+12>>2]!=4){break b}break a}d=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);t[e|0]=d;t[e+1|0]=d>>>8;t[e+2|0]=d>>>16;t[e+3|0]=d>>>24;d=v[a+428>>2];b=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);t[d+4|0]=b;t[d+5|0]=b>>>8;t[d+6|0]=b>>>16;t[d+7|0]=b>>>24;d=v[a+116>>2]&240;if(d){b=0;if((d|0)==32){b=LA(a,-1,v[a+428>>2]+4|0,c+4|0)^-1}d=v[a+428>>2]+c|0;b=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);t[d+8|0]=b;t[d+9|0]=b>>>8;t[d+10|0]=b>>>16;t[d+11|0]=b>>>24;b=12;d=c+12|0;if(!(Ub[v[a+176>>2]](a,v[a+428>>2],d,f+12|0)|0)){b=901;break b}c=0;if((d|0)!=v[f+12>>2]){break b}break a}d=c+8|0;if(!(Ub[v[a+176>>2]](a,v[a+428>>2],d,f+12|0)|0)){b=901;break b}b=12;c=0;if((d|0)==v[f+12>>2]){break a}}pc(a,b,0,0);c=b}Qb=f+16|0;return c}function pqa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=Qb-80|0;Qb=f;c=UN(f,b);v[299999]=0;e=Q(4342,f+40|0,c|0)|0;d=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{if((d|0)!=1){v[c+24>>2]=981312;v[c>>2]=981280;d=v[c+28>>2];if(d){g=v[d+4>>2]-1|0;v[d+4>>2]=g;if(!g){Ub[v[v[d>>2]+4>>2]](d)}v[c+28>>2]=0}v[c+16>>2]=981312;d=v[c+20>>2];if(d){g=v[d+4>>2]-1|0;v[d+4>>2]=g;if(!g){Ub[v[v[d>>2]+4>>2]](d)}v[c+20>>2]=0}ec(c+8|0);g:{if(w[e+32|0]){break g}v[299999]=0;V(4536,e|0,1);c=v[299999];v[299999]=0;if((c|0)==1){break f}if(w[e+32|0]){break g}v[299999]=0;b=Q(4341,f|0,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break e}v[299999]=0;Q(4478,e|0,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break d}v[b+24>>2]=981312;v[b>>2]=981280;c=v[b+28>>2];if(c){d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(!d){Ub[v[v[c>>2]+4>>2]](c)}v[b+28>>2]=0}v[b+16>>2]=981312;c=v[b+20>>2];if(c){d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(!d){Ub[v[v[c>>2]+4>>2]](c)}v[b+20>>2]=0}ec(b+8|0)}v[299999]=0;V(4537,f|0,e|0);b=v[299999];v[299999]=0;if((b|0)==1){break c}v[299999]=0;Q(4535,a+36|0,f|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break b}ec(f);v[e+24>>2]=981312;v[e>>2]=981280;a=v[e+28>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Ub[v[v[a>>2]+4>>2]](a)}v[e+28>>2]=0}v[e+16>>2]=981312;a=v[e+20>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Ub[v[v[a>>2]+4>>2]](a)}v[e+20>>2]=0}ec(e+8|0);Qb=f+80|0;return}a=P()|0;O()|0;$c(c);T(a|0);L()}a=P()|0;O()|0;break a}a=P()|0;O()|0;break a}a=P()|0;O()|0;$c(b);break a}a=P()|0;O()|0;break a}a=P()|0;O()|0;ec(f)}$c(e);T(a|0);L()}function iia(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;var j=0,k=0,l=0,m=0,n=0,o=0;d=Qb-16|0;Qb=d;c=(g|0)/2|0;if(f>>>0>=2){o=B(c,6);g=((e<<2)+b|0)+(h<<2)|0;n=(h<<1)+e<<2;while(1){c=e;if(c>>>0>=2){while(1){h=w[i+4|0];j=w[i+5|0];k=d+12|0;l=d+8|0;m=d+4|0;Gd(v[a+68>>2],w[i|0],h,j,k,l,m);v[b>>2]=v[d+12>>2]|v[d+8>>2]<<8|v[d+4>>2]<<16|-16777216;Gd(v[a+68>>2],w[i+1|0],h,j,k,l,m);v[b+4>>2]=v[d+12>>2]|v[d+8>>2]<<8|v[d+4>>2]<<16|-16777216;Gd(v[a+68>>2],w[i+2|0],h,j,k,l,m);v[g>>2]=v[d+12>>2]|v[d+8>>2]<<8|v[d+4>>2]<<16|-16777216;Gd(v[a+68>>2],w[i+3|0],h,j,k,l,m);v[g+4>>2]=v[d+12>>2]|v[d+8>>2]<<8|v[d+4>>2]<<16|-16777216;i=i+6|0;g=g+8|0;b=b+8|0;c=c-2|0;if(c>>>0>1){continue}break}}if((c|0)==1){c=w[i+4|0];h=w[i+5|0];j=d+12|0;k=d+8|0;l=d+4|0;Gd(v[a+68>>2],w[i|0],c,h,j,k,l);v[b>>2]=v[d+12>>2]|v[d+8>>2]<<8|v[d+4>>2]<<16|-16777216;Gd(v[a+68>>2],w[i+2|0],c,h,j,k,l);v[g>>2]=v[d+12>>2]|v[d+8>>2]<<8|v[d+4>>2]<<16|-16777216;i=i+6|0;g=g+4|0;b=b+4|0}i=i+o|0;g=g+n|0;b=b+n|0;f=f-2|0;if(f>>>0>1){continue}break}}a:{if((f|0)!=1){break a}if(e>>>0>=2){while(1){c=w[i+4|0];f=w[i+5|0];g=d+12|0;h=d+8|0;j=d+4|0;Gd(v[a+68>>2],w[i|0],c,f,g,h,j);v[b>>2]=v[d+12>>2]|v[d+8>>2]<<8|v[d+4>>2]<<16|-16777216;Gd(v[a+68>>2],w[i+1|0],c,f,g,h,j);v[b+4>>2]=v[d+12>>2]|v[d+8>>2]<<8|v[d+4>>2]<<16|-16777216;i=i+6|0;b=b+8|0;e=e-2|0;if(e>>>0>1){continue}break}}if((e|0)!=1){break a}Gd(v[a+68>>2],w[i|0],w[i+4|0],w[i+5|0],d+12|0,d+8|0,d+4|0);v[b>>2]=v[d+12>>2]|v[d+8>>2]<<8|v[d+4>>2]<<16|-16777216}Qb=d+16|0}function f4(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;a:{d=v[v[a+584>>2]+4>>2];if((d|0)>=(c|0)){break a}c=c-d|0;b:{c:{switch(d-3|0){default:if((d|0)>=5){break b}while(1){d:{switch(d|0){default:a=b+d|0;t[a|0]=w[b|0]+w[a|0];b=b+1|0;case 3:a=b+d|0;t[a|0]=w[b|0]+w[a|0];b=b+1|0;case 2:a=b+d|0;t[a|0]=w[b|0]+w[a|0];b=b+1|0;case 1:a=b+d|0;t[a|0]=w[b|0]+w[a|0];b=b+1|0;break;case 0:break d}}c=c-d|0;if((c|0)>0){continue}break};break a;case 1:a=w[b+3|0];f=w[b+2|0];e=w[b+1|0];g=w[b|0];while(1){g=w[b+4|0]+g|0;t[b+4|0]=g;e=w[b+5|0]+e|0;t[b+5|0]=e;f=w[b+6|0]+f|0;t[b+6|0]=f;a=w[b+7|0]+a|0;t[b+7|0]=a;b=b+4|0;d=(c|0)>4;c=c-4|0;if(d){continue}break};break a;case 0:break c}}a=w[b+2|0];f=w[b+1|0];e=w[b|0];while(1){e=w[b+3|0]+e|0;t[b+3|0]=e;f=w[b+4|0]+f|0;t[b+4|0]=f;a=w[b+5|0]+a|0;t[b+5|0]=a;b=b+3|0;g=(c|0)>3;c=c-3|0;if(g){continue}break}break a}a=d-4|0;g=d&3;i=d-5>>>0>2;while(1){e:{f:{g:{h:{i:{j:{switch(d|0){case 0:break e;case 1:break f;case 2:break g;case 3:break h;case 4:break i;default:break j}}f=a;e=g;if(e){while(1){h=b+d|0;t[h|0]=w[b|0]+w[h|0];f=f-1|0;b=b+1|0;e=e-1|0;if(e){continue}break}}if(!i){break i}while(1){e=b+d|0;t[e|0]=w[b|0]+w[e|0];e=d+(b+1|0)|0;t[e|0]=w[b+1|0]+w[e|0];e=d+(b+2|0)|0;t[e|0]=w[b+2|0]+w[e|0];e=d+(b+3|0)|0;t[e|0]=w[b+3|0]+w[e|0];b=b+4|0;e=(f|0)>4;f=f-4|0;if(e){continue}break}}f=b+d|0;t[f|0]=w[b|0]+w[f|0];b=b+1|0}f=b+d|0;t[f|0]=w[b|0]+w[f|0];b=b+1|0}f=b+d|0;t[f|0]=w[b|0]+w[f|0];b=b+1|0}f=b+d|0;t[f|0]=w[b|0]+w[f|0];b=b+1|0}c=c-d|0;if((c|0)>0){continue}break}}}function _3(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;k=x[a+84>>1];g=k>>>3|0;j=(c>>>0)/(g>>>0)|0;f=v[v[a+584>>2]+4>>2];i=jc(c);if(i){a:{if((c|0)<=(f|0)){break a}if((f|0)<5){e=c;a=b;while(1){b:{switch(f|0){default:d=a+f|0;t[d|0]=w[d|0]+w[a|0];a=a+1|0;case 3:d=a+f|0;t[d|0]=w[d|0]+w[a|0];a=a+1|0;case 2:d=a+f|0;t[d|0]=w[d|0]+w[a|0];a=a+1|0;case 1:d=a+f|0;t[d|0]=w[d|0]+w[a|0];a=a+1|0;break;case 0:break b}}e=e-f|0;if((e|0)>(f|0)){continue}break}break a}l=f-4|0;m=f&3;o=f-5>>>0>2;h=c;a=b;while(1){c:{d:{e:{f:{g:{h:{switch(f|0){case 0:break c;case 1:break d;case 2:break e;case 3:break f;case 4:break g;default:break h}}e=l;d=m;if(d){while(1){n=a+f|0;t[n|0]=w[n|0]+w[a|0];e=e-1|0;a=a+1|0;d=d-1|0;if(d){continue}break}}if(!o){break g}while(1){d=a+f|0;t[d|0]=w[d|0]+w[a|0];d=(a+1|0)+f|0;t[d|0]=w[d|0]+w[a+1|0];d=(a+2|0)+f|0;t[d|0]=w[d|0]+w[a+2|0];d=(a+3|0)+f|0;t[d|0]=w[d|0]+w[a+3|0];a=a+4|0;d=(e|0)>4;e=e-4|0;if(d){continue}break}}e=a+f|0;t[e|0]=w[e|0]+w[a|0];a=a+1|0}e=a+f|0;t[e|0]=w[e|0]+w[a|0];a=a+1|0}e=a+f|0;t[e|0]=w[e|0]+w[a|0];a=a+1|0}e=a+f|0;t[e|0]=w[e|0]+w[a|0];a=a+1|0}h=h-f|0;if((h|0)>(f|0)){continue}break}}oe(i,b,c);if(!((j|0)<1|k>>>0<8)){a=g>>>0>1?g:1;c=a&8190;l=a&1;e=0;m=k>>>0<16;while(1){h=B(e,g);a=0;d=c;if(!m){while(1){t[(a+h|0)+b|0]=w[(B((a^-1)+g|0,j)+e|0)+i|0];t[(h+(a|1)|0)+b|0]=w[(B((g-a|0)-2|0,j)+e|0)+i|0];a=a+2|0;d=d-2|0;if(d){continue}break}}if(l){t[(a+h|0)+b|0]=w[(B((a^-1)+g|0,j)+e|0)+i|0]}e=e+1|0;if((j|0)!=(e|0)){continue}break}}dc(i)}}function jX(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=C(0),j=0,k=C(0),l=C(0),m=0;f=Qb-128|0;Qb=f;e=gm(b,0);g=v[e>>2];v[f+124>>2]=g;c=65535;a:{b:{c:{d:{e:{if(g>>>0>1114111){break e}g=x[((g<<1)+a|0)+276>>1];if((g|0)==65535){break e}d=v[a+264>>2];c=g;if(w[(d+B(c,104)|0)+72|0]){break d}}t[f+15|0]=1;t[f+14|0]=0;fv(f+16|0,a,f+124|0,f+15|0,0,f+14|0);if(v[f+16>>2]<=1114111){c=v[a+268>>2];f:{if((c|0)!=v[a+272>>2]){c=gc(c,f+16|0,104)+104|0;v[a+268>>2]=c;break f}v[299999]=0;V(2618,a+264|0,f+16|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}c=v[a+268>>2]}c=((c-v[a+264>>2]|0)/104|0)-1|0;u[((v[f+16>>2]<<1)+a|0)+276>>1]=c}mg(f+92|0);g=65535;if((c&65535)==65535){break c}g=c&65535;d=v[a+264>>2]}g:{h:{c=B(g,104)+d|0;d=v[c+4>>2];switch(d-1|0){case 1:break b;case 0:break g;default:break h}}d=0}v[e+60>>2]=d;d=v[c+44>>2];v[e+28>>2]=v[c+40>>2];v[e+32>>2]=d;d=v[c+52>>2];v[e+36>>2]=v[c+48>>2];v[e+40>>2]=d;d=v[c+60>>2];v[e+44>>2]=v[c+56>>2];v[e+48>>2]=d;d=c- -64|0;m=v[d+4>>2];v[e+52>>2]=v[d>>2];v[e+56>>2]=m;t[e+64|0]=w[c+72|0];v[e+92>>2]=v[c+100>>2];d=v[c+96>>2];v[e+84>>2]=v[c+92>>2];v[e+88>>2]=d;d=v[c+88>>2];v[e+76>>2]=v[c+84>>2];v[e+80>>2]=d;d=v[c+80>>2];v[e+68>>2]=v[c+76>>2];v[e+72>>2]=d}k=z[b+8>>2];h=+C(k+C(0));i=z[b+12>>2];l=C(i+C(0));j=+l;z[e+4>>2]=A[b+56>>3]+A[b+24>>3]*h+A[b+40>>3]*j-+k;z[e+8>>2]=A[b- -64>>3]+A[b+32>>3]*h+A[b+48>>3]*j-+i;i=z[(v[a+264>>2]+B(g,104)|0)+16>>2];h=A[a+136>>3];j=A[a+8>>3];z[b+20>>2]=l;z[b+16>>2]=k+C(C(h+j*+i)+C(0))}Qb=f+128|0;return}a=P()|0;O()|0;mg(f+92|0);T(a|0);L()}function Cu(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=Qb-16|0;Qb=g;a:{if(!b){break a}f=a?v[a+80>>2]:f;e=Ub[v[259704]](28)|0;if(e){v[e>>2]=0;v[e+4>>2]=0;v[e+24>>2]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;v[e>>2]=v[b>>2];v[e+4>>2]=v[b+4>>2];d=e;b:{c:{d:{e:{c=v[b+8>>2];if(c){if(!f){break e}h=e,i=Rd(f,c,-1),v[h+8>>2]=i}c=v[b+24>>2];if(!c){break b}if(!f){break d}c=Rd(f,c,-1);break c}h=e,i=we(c),v[h+8>>2]=i;c=v[b+24>>2];if(!c){break b}}c=we(c)}v[d+24>>2]=c}c=v[b+12>>2];f:{if(!c){c=v[e+12>>2];break f}c=Cu(a,c);v[e+12>>2]=c}if(c){v[c+20>>2]=e}g:{b=v[b+16>>2];h:{if(!b){break h}if(!f){c=e;while(1){d=Ub[v[259704]](28)|0;if(!d){break g}v[d>>2]=0;v[d+4>>2]=0;v[d+24>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=v[b>>2];v[d+4>>2]=v[b+4>>2];v[c+16>>2]=d;c=v[b+8>>2];if(c){h=d,i=we(c),v[h+8>>2]=i}c=v[b+24>>2];if(c){h=d,i=we(c),v[h+24>>2]=i}c=v[b+12>>2];i:{if(!c){c=v[d+12>>2];break i}c=Cu(a,c);v[d+12>>2]=c}if(c){v[c+20>>2]=e}c=d;b=v[b+16>>2];if(b){continue}break}break h}c=e;while(1){d=Ub[v[259704]](28)|0;if(!d){break g}v[d>>2]=0;v[d+4>>2]=0;v[d+24>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=v[b>>2];v[d+4>>2]=v[b+4>>2];v[c+16>>2]=d;c=v[b+8>>2];if(c){h=d,i=Rd(f,c,-1),v[h+8>>2]=i}c=v[b+24>>2];if(c){h=d,i=Rd(f,c,-1),v[h+24>>2]=i}c=v[b+12>>2];j:{if(!c){c=v[d+12>>2];break j}c=Cu(a,c);v[d+12>>2]=c}if(c){v[c+20>>2]=e}c=d;b=v[b+16>>2];if(b){continue}break}}c=e;break a}c=e}v[g>>2]=291415;oc(0,0,0,0,0,23,2,3,291415,0,0,0,350051,g)}Qb=g+16|0;return c}function Sf(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=v[a+1176>>2];if((g|0)<=v[a+92>>2]){d=v[b+20>>2];a:{while(1){v[b+28>>2]=d;v[b+4>>2]=2147483632;e=v[a+44>>2]+(g-v[a+84>>2]<<3)|0;h=v[e+4>>2];if(h){g=v[a+32>>2]+(v[e>>2]<<2)|0;j=0;e=d;while(1){d=v[g>>2];j=v[d+8>>2]+j|0;k=v[d+12>>2];i=v[d>>2];c=h-1|0;b:{if(!c){l=1;h=0;break b}f=((h<<2)+g|0)-4|0;while(1){h=g+4|0;d=v[g+4>>2];g=v[d>>2];l=(g|0)==(i|0);if((g|0)!=(i|0)){g=h;h=c;break b}j=v[d+8>>2]+j|0;k=v[d+12>>2]+k|0;g=h;c=c-1|0;if(c){continue}break}g=f;h=0}if(k){c=(j<<9)-k|0;f=c>>9;f=(c|0)<0?0-f|0:f;c=f&511;c=v[a+1156>>2]==1?c>>>0>256?512-c|0:c:f;c=v[((((c|0)<255?c:255)<<2)+a|0)+132>>2];if(c){f=i-v[b>>2]|0;t[f+v[b+12>>2]|0]=c;e=v[b+28>>2];c:{if((f|0)==(v[b+4>>2]+1|0)){u[e+2>>1]=x[e+2>>1]+1;break c}c=e+8|0;v[b+28>>2]=c;k=v[b>>2];u[e+10>>1]=1;u[e+8>>1]=f+k;v[e+12>>2]=f+v[b+12>>2];e=c}v[b+4>>2]=f}i=i+1|0}d:{if(l){break d}f=v[d>>2];if((f|0)<=(i|0)){break d}d=j<<9;c=d>>9;c=(d|0)<0?0-c|0:c;d=c&511;d=v[a+1156>>2]==1?d>>>0>256?512-d|0:d:c;d=v[((((d|0)<255?d:255)<<2)+a|0)+132>>2];if(!d){break d}c=i-v[b>>2]|0;f=f-i|0;ic(c+v[b+12>>2]|0,d,f);e=v[b+28>>2];e:{if((c|0)==(v[b+4>>2]+1|0)){u[e+2>>1]=f+x[e+2>>1];break e}d=e+8|0;v[b+28>>2]=d;i=v[b>>2];u[e+10>>1]=f;u[e+8>>1]=c+i;v[e+12>>2]=c+v[b+12>>2];e=d}v[b+4>>2]=(c+f|0)-1}if(h){continue}break}d=v[b+20>>2];if((d|0)!=(e|0)){break a}}e=v[a+1176>>2];g=e+1|0;v[a+1176>>2]=g;if((e|0)>2]){continue}break}return 0}e=b;b=v[a+1176>>2];v[e+8>>2]=b;v[a+1176>>2]=b+1;a=1}else{a=0}return a}function fUa(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=+c;d=+d;e=+e;f=+f;g=+g;h=+h;var i=0,j=0,k=0,l=0;k=Qb-32|0;Qb=k;l=A[v[a+16>>2]+24>>3];A[k+24>>3]=d;A[k+16>>3]=c;A[k+8>>3]=e;A[k>>3]=c;i=Ub[v[v[a>>2]+508>>2]](a)|0;ke(i,k+24|0,k+16|0);ke(i,k+8|0,k);c=l*f/25.4+.5;a:{if(D(c)<2147483648){i=~~c;break a}i=-2147483648}c=A[k+8>>3];b:{if(D(c)<2147483648){j=~~c;break b}j=-2147483648}f=+(j|0);c=A[k+24>>3];c:{if(D(c)<2147483648){j=~~c;break c}j=-2147483648}d=+(j|0)+.5;e=d;d:{if(g==0){break d}c=d;e=D(g)*A[v[a+16>>2]+24>>3];e=(e+e)/25.4+.5;e:{if(D(e)<2147483648){j=~~e;break e}j=-2147483648}j=j?j:1;e=c-+(j>>1);if(g<0){break d}e=d+ +(j-1>>1)}j=i?i:1;d=f+.5;c=d;f:{if(h==0){break f}c=d;f=D(h)*A[v[a+16>>2]+24>>3];f=(f+f)/25.4+.5;g:{if(D(f)<2147483648){i=~~f;break g}i=-2147483648}i=i?i:1;c=c-+(i>>1);if(h<0){break f}c=d+ +(i-1>>1)}d=c;g=+(j|0);A[a+40>>3]=g;c=e+-.5;h:{i:{j:{switch(b|0){case 0:f=A[k+16>>3];b=v[v[a+20>>2]+4>>2];t[b+25|0]=0;v[b+20>>2]=0;v[b>>2]=0;i=v[a+20>>2];e=c;c=g*.5;if(D(f)<2147483648){b=~~f}else{b=-2147483648}c=c+(+(b|0)+.5)+-.5;tj(i,e,c);break i;case 1:e=A[k+16>>3];b=v[v[a+20>>2]+4>>2];t[b+25|0]=0;v[b+20>>2]=0;v[b>>2]=0;i=j&1;j=v[a+20>>2];f=c;if(D(e)<2147483648){b=~~e}else{b=-2147483648}c=+(b|0)+.5;c=i?c:c+-.5;tj(j,f,c);break i;case 2:break j;default:break h}}f=A[k+16>>3];b=v[v[a+20>>2]+4>>2];t[b+25|0]=0;v[b+20>>2]=0;v[b>>2]=0;e=g*.5;i=v[a+20>>2];g=c;if(D(f)<2147483648){b=~~f}else{b=-2147483648}c=+(b|0)+.5-e+.5;tj(i,g,c)}im(v[a+20>>2],d+.5,c);Ub[v[v[a>>2]+532>>2]](a)}Qb=k+32|0}function aYa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=Qb-80|0;Qb=f;h=v[a+532>>2];a:{if(!h){a=6;break a}g=v[a+100>>2];i=v[h+4>>2];v[f+24>>2]=i;if(i){a=0;while(1){c=B(a,12);e=c+(f+24|0)|0;v[e+8>>2]=v[((a<<2)+h|0)+8>>2];c=c+h|0;d=v[c+92>>2];v[e+12>>2]=v[d>>2];v[e+16>>2]=v[(d+(w[c+88|0]<<2)|0)-4>>2];a=a+1|0;if((i|0)!=(a|0)){continue}break}}c=v[h>>2];v[f+20>>2]=0;d=i<<1;e=d+3&-4;g=Fd(g,(e+B(i,24)|0)+20|0,f+20|0);a=v[f+20>>2];if(a){break a}v[g+8>>2]=0;v[g+4>>2]=c;v[g>>2]=i;c=g+20|0;b:{if(!i){v[g+16>>2]=0;v[g+12>>2]=c+e;Qz(v[h+140>>2],f,v[h+4>>2]);break b}a=0;c=ic(c,0,d);v[g+16>>2]=0;j=c+e|0;v[g+12>>2]=j;while(1){e=j+B(a,24)|0;d=(f+24|0)+B(a,12)|0;c=v[d+8>>2];v[e>>2]=c;v[e+4>>2]=v[d+12>>2]<<16;d=v[d+16>>2];v[e+16>>2]=-1;v[e+20>>2]=-1;v[e+12>>2]=d<<16;c:{if(!c){break c}d=2003265652;d:{if(!mc(c,232188)){break d}d=2003072104;if(!mc(c,269643)){break d}if(mc(c,274147)){break c}d=1869640570}v[e+16>>2]=d}a=a+1|0;if((i|0)!=(a|0)){continue}break}Qz(v[h+140>>2],f,v[h+4>>2]);if(!i){break b}e=0;while(1){j=v[(e<<2)+f>>2];c=B(e,12)+h|0;d=v[c+96>>2];e:{if((j|0)>v[d>>2]){a=1;k=w[c+88|0];if(k>>>0>1){while(1){l=a<<2;m=v[d+l>>2];if((j|0)<=(m|0)){c=v[c+92>>2];k=l-4|0;a=v[c+k>>2];c=v[c+l>>2];d=v[d+k>>2];a=B(ad(j-d|0,m-d|0),c-a|0)+(a<<16)|0;break e}a=a+1|0;if((k|0)!=(a|0)){continue}break}}a=v[(v[c+92>>2]+(k<<2)|0)-4>>2]<<16;break e}a=v[v[c+92>>2]>>2]<<16}v[(v[g+12>>2]+B(e,24)|0)+8>>2]=a;e=e+1|0;if((i|0)!=(e|0)){continue}break}}v[b>>2]=g;a=v[f+20>>2]}Qb=f+80|0;return a|0}function U3(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;d=x[a+84>>1];h=d>>>3|0;j=(c>>>0)/(h>>>0)|0;e=v[v[a+584>>2]+4>>2];i=jc(c);a:{if(!i){break a}oe(i,b,c);if(!((j|0)<1|d>>>0<8)){a=h>>>0>1?h:1;k=a&8190;l=a&1;f=d>>>0<16;while(1){m=B(g,h);a=0;d=k;if(!f){while(1){t[(B((a^-1)+h|0,j)+g|0)+b|0]=w[(a+m|0)+i|0];t[(B((h-a|0)-2|0,j)+g|0)+b|0]=w[((a|1)+m|0)+i|0];a=a+2|0;d=d-2|0;if(d){continue}break}}if(l){t[(B((a^-1)+h|0,j)+g|0)+b|0]=w[(a+m|0)+i|0]}g=g+1|0;if((j|0)!=(g|0)){continue}break}}dc(i);if((c|0)<=(e|0)){break a}a=((e^-1)+c|0)+b|0;if((e|0)<5){while(1){b:{switch(e|0){default:b=a+e|0;t[b|0]=w[b|0]-w[a|0];a=a-1|0;case 3:b=a+e|0;t[b|0]=w[b|0]-w[a|0];a=a-1|0;case 2:b=a+e|0;t[b|0]=w[b|0]-w[a|0];a=a-1|0;case 1:b=a+e|0;t[b|0]=w[b|0]-w[a|0];a=a-1|0;break;case 0:break b}}c=c-e|0;if((e|0)<(c|0)){continue}break a}}k=e-4|0;b=e&3;l=e-5>>>0>2;while(1){c:{d:{e:{f:{g:{h:{switch(e|0){case 0:break c;case 1:break d;case 2:break e;case 3:break f;case 4:break g;default:break h}}g=k;d=b;if(d){while(1){f=a+e|0;t[f|0]=w[f|0]-w[a|0];g=g-1|0;a=a-1|0;d=d-1|0;if(d){continue}break}}if(!l){break g}while(1){d=a+e|0;t[d|0]=w[d|0]-w[a|0];f=a-1|0;d=f+e|0;t[d|0]=w[d|0]-w[f|0];f=a-2|0;d=f+e|0;t[d|0]=w[d|0]-w[f|0];f=a-3|0;d=f+e|0;t[d|0]=w[d|0]-w[f|0];a=a-4|0;d=(g|0)>4;g=g-4|0;if(d){continue}break}}d=a+e|0;t[d|0]=w[d|0]-w[a|0];a=a-1|0}d=a+e|0;t[d|0]=w[d|0]-w[a|0];a=a-1|0}d=a+e|0;t[d|0]=w[d|0]-w[a|0];a=a-1|0}d=a+e|0;t[d|0]=w[d|0]-w[a|0];a=a-1|0}c=c-e|0;if((e|0)<(c|0)){continue}break}}}function r$(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;j=Qb-16|0;Qb=j;v[j+12>>2]=0;g=v[a+12>>2];a:{b:{c:{d:{if((g|0)<=11){if(v[a+20>>2]){break d}v[a+16>>2]=12;v[a+20>>2]=a+820;break d}k=v[a+16>>2];if((k|0)>(g|0)){e=v[a+20>>2];i=e+B(g,44)|0;break c}g=64;if((k|0)>48806445){break a}g=((k>>2)+k|0)+4|0;l=(k|0)<-16?48806446:(g|0)>48806446?48806446:g;h=v[a+20>>2];e:{if((h|0)==(a+820|0)){e=Cc(e,44,0,l,0,j+12|0);v[a+20>>2]=e;g=v[j+12>>2];if(g){break a}gc(e,h,528);break e}m=a,n=Cc(e,44,k,l,h,j+12|0),v[m+20>>2]=n;g=v[j+12>>2];if(g){break a}}v[a+16>>2]=l;g=v[a+12>>2]}e=v[a+20>>2];i=e+B(g,44)|0;if((g|0)<1){break b}}if(!d){g=i;while(1){i=g-44|0;d=u[i>>1];if((d|0)<(b|0)){i=g;break b}if(!((b|0)!=(d|0)|v[a+24>>2]!=(c|0))){i=g;break b}d=i;h=v[d+4>>2];v[g>>2]=v[d>>2];v[g+4>>2]=h;v[g+40>>2]=v[d+40>>2];h=v[d+36>>2];v[g+32>>2]=v[d+32>>2];v[g+36>>2]=h;h=v[d+28>>2];v[g+24>>2]=v[d+24>>2];v[g+28>>2]=h;h=v[d+20>>2];v[g+16>>2]=v[d+16>>2];v[g+20>>2]=h;h=v[d+12>>2];v[g+8>>2]=v[d+8>>2];v[g+12>>2]=h;g=d;if(g>>>0>e>>>0){continue}break}break b}g=i;while(1){i=g-44|0;d=u[i>>1];if((d|0)>(b|0)){i=g;break b}if(!((b|0)!=(d|0)|v[a+24>>2]!=(c|0))){i=g;break b}d=i;h=v[d+4>>2];v[g>>2]=v[d>>2];v[g+4>>2]=h;v[g+40>>2]=v[d+40>>2];h=v[d+36>>2];v[g+32>>2]=v[d+32>>2];v[g+36>>2]=h;h=v[d+28>>2];v[g+24>>2]=v[d+24>>2];v[g+28>>2]=h;h=v[d+20>>2];v[g+16>>2]=v[d+16>>2];v[g+20>>2]=h;h=v[d+12>>2];v[g+8>>2]=v[d+8>>2];v[g+12>>2]=h;g=d;if(g>>>0>e>>>0){continue}break}}v[a+12>>2]=v[a+12>>2]+1;g=0}v[f>>2]=i;Qb=j+16|0;return g}function hV(a,b,c,d){var e=0,f=0,g=0;g=Qb-32|0;Qb=g;a:{if(!(!a|v[a+4>>2]==1)){if((d|0)!=1){break a}a=v[a+32>>2];if(a){if(!c){break a}a=v[a+80>>2];while(1){if(!a){break a}d=v[a+16>>2];if(d){while(1){if(d+20>>>0<=c>>>0&y[d+4>>2]>=c>>>0){break a}d=v[d>>2];if(d){continue}break}}a=v[a+20>>2];if(a){continue}break}}Ub[v[259708]](c);break a}e=Ub[v[259704]](48)|0;if(!e){b:{if((d|0)!=1){break b}c:{if(!a){break c}a=v[a+32>>2];if(!a){break c}if(!c){break b}d=v[a+80>>2];while(1){if(!d){break b}e=v[d+16>>2];if(e){while(1){if(e+20>>>0<=c>>>0&y[e+4>>2]>=c>>>0){break b}e=v[e>>2];if(e){continue}break}}d=v[d+20>>2];if(d){continue}break}}Ub[v[259708]](c)}v[g>>2]=276394;e=0;oc(0,0,0,0,0,2,2,3,276394,0,0,0,350051,g);break a}v[e>>2]=0;v[e+4>>2]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[e+40>>2]=0;v[e+44>>2]=0;v[e+32>>2]=0;v[e+36>>2]=0;v[e+24>>2]=0;v[e+28>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;v[e+4>>2]=2;v[e+20>>2]=a;d:{e:{f:{if(a){f=v[a+32>>2];v[e+36>>2]=b;v[e+32>>2]=f;if(!d){break f}d=c;break d}v[e+36>>2]=b;if(!d){break e}d=c;break d}if(!f){break e}b=v[f+80>>2];if(!b){break e}d=Rd(b,c,-1);break d}if(!c){d=0;break d}d=c;while(1){b=d;d=d+1|0;if(w[b|0]){continue}break}d=0;b=b-c|0;if((b|0)<0){break d}f=Ub[v[259707]](b+1|0)|0;if(!f){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break d}d=gc(f,c,b);t[b+d|0]=0}v[e+8>>2]=d;if(a){g:{d=v[a+44>>2];if(!d){v[a+44>>2]=e;break g}while(1){a=d;d=v[a+24>>2];if(d){continue}break}v[a+24>>2]=e;v[e+28>>2]=a}}if(!v[294265]){break a}a=v[294262];if(!a){break a}Ub[a|0](e)}Qb=g+32|0;return e}function Lsa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=yo(a,1,0,0,1,0,0);v[a+12>>2]=0;v[a+16>>2]=0;d=a+4|0;v[a+8>>2]=d;v[a+4>>2]=d;v[a+20>>2]=0;v[a+24>>2]=0;v[a- -64>>2]=0;v[a+56>>2]=0;v[a+60>>2]=0;v[a+48>>2]=0;v[a+52>>2]=1072693248;v[a+40>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;v[a+28>>2]=b;v[299999]=0;b=S(1,12)|0;c=v[299999];v[299999]=0;f=a+32|0;a:{b:{c:{if((c|0)==1){break c}v[b>>2]=0;v[299999]=0;Q(2369,b+8|0,i|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){c=P()|0;O()|0;dc(b);break a}v[b+4>>2]=d;c=v[a+4>>2];v[b>>2]=c;v[c+4>>2]=b;v[a+4>>2]=b;v[a+12>>2]=v[a+12>>2]+1;b=v[a+36>>2];if((b|0)!=v[a+40>>2]){A[b>>3]=A[a+48>>3];v[a+36>>2]=b+8;return a|0}c=v[f>>2];g=b-c|0;h=g>>3;b=h+1|0;if(b>>>0>=536870912){v[299999]=0;R(2185,f|0);b=v[299999];v[299999]=0;if((b|0)==1){break c}break b}e=g>>2;e=h>>>0<268435455?b>>>0>e>>>0?b:e:536870911;d:{if(!e){b=0;break d}if(e>>>0>=536870912){v[299999]=0;R(2667,274079);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break c}v[299999]=0;b=S(1,e<<3)|0;j=v[299999];v[299999]=0;if((j|0)==1){break c}}d=(h<<3)+b|0;A[d>>3]=A[a+48>>3];if((g|0)>=1){gc(b,c,g)}v[a+40>>2]=(e<<3)+b;v[a+36>>2]=d+8;v[a+32>>2]=b;if(c){dc(c)}return a|0}c=P()|0;O()|0;break a}L()}b=v[a+56>>2];if(b){v[a+60>>2]=b;dc(b)}b=v[f>>2];if(b){v[a+36>>2]=b;dc(b)}Kx(a+16|0);e:{if(!v[d+8>>2]){break e}b=v[d+4>>2];a=v[b>>2];f=v[d>>2];v[a+4>>2]=v[f+4>>2];v[v[f+4>>2]>>2]=a;v[d+8>>2]=0;if((b|0)==(d|0)){break e}while(1){a=v[b+4>>2];Cd(b+8|0);dc(b);b=a;if((a|0)!=(d|0)){continue}break}}Cd(i);T(c|0);L()}function s9a(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,n=0,o=0;a:{if(w[a+286|0]|!w[a+285|0]|(w[a+287|0]|w[a+288|0])){break a}if(w[a+289|0]){break a}if(!(1<>>0<=10:0)){pc(a,1028,0,0);return 1028}t[a+302|0]=1;g=w[d|0]|w[d+1|0]<<8;j=g<<8|g>>>8;u[a+1052>>1]=j;g=w[d+2|0]|w[d+3|0]<<8;k=g<<8|g>>>8;u[a+1054>>1]=k;g=w[d+4|0]|w[d+5|0]<<8;l=g<<8|g>>>8;u[a+1056>>1]=l;f=a;b:{c:{d:{if(c>>>0<=6){t[a+1058|0]=0;break d}h=w[d+6|0];t[a+1058|0]=h;if((c|0)!=7){break c}}u[a+1060>>1]=0;g=0;break b}m=w[d+7|0]|w[d+8|0]<<8;i=m<<8|m>>>8;u[a+1060>>1]=i;if(c>>>0<10){n=1;g=0;break b}o=1;n=1;g=w[d+9|0]}t[f+1062|0]=g;f=0;e:{if(!w[a+114|0]){break e}j=j&65535;k=k&65535;l=l&65535;m=i&65535;g=g&255;f=Ub[v[a+152>>2]](40)|0;if(!f){pc(a,1,0,0);f=1;break e}v[f+4>>2]=721;v[f>>2]=722;i=v[a+700>>2];f:{if(i){v[i+8>>2]=f;break f}v[a+696>>2]=f}v[f+8>>2]=0;v[f+12>>2]=i;v[a+700>>2]=f;v[f+16>>2]=v[a+436>>2];v[f+20>>2]=v[a+440>>2];v[f+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=f}t[f+38|0]=g;u[f+36>>1]=m;t[f+34|0]=h;u[f+32>>1]=l;u[f+30>>1]=k;u[f+28>>1]=j;f=0}h=f;g:{if(h){break g}h:{if(!w[a+112|0]){break h}h=Ub[v[b+4>>2]](a,b,e)|0;if(h){break g}b=v[e>>2];a=w[d|0]|w[d+1|0]<<8;u[b+32>>1]=a<<8|a>>>8;a=w[d+2|0]|w[d+3|0]<<8;u[b+34>>1]=a<<8|a>>>8;a=w[d+4|0]|w[d+5|0]<<8;u[b+36>>1]=a<<8|a>>>8;if(c>>>0>=7){t[b+38|0]=w[d+6|0]}if(n){a=w[d+7|0]|w[d+8|0]<<8;u[b+40>>1]=a<<8|a>>>8}if(!o){break h}t[b+42|0]=w[d+9|0]}h=0}return h|0}pc(a,1029,0,0);return 1029}function qEa(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,p=0,q=0,r=0,s=0,t=0,u=0,x=0,y=0,z=0;p=Qb-128|0;Qb=p;f=ic(a,0,256);while(1){a:{k=f;d=v[(l<<2)+b>>2]+c|0;o=w[d|0];e=w[d+5|0];m=o-e|0;g=w[d+1|0];i=w[d+4|0];h=g-i|0;j=w[d+2|0];d=w[d+3|0];n=j-d|0;v[f+12>>2]=m-(h+n|0)<<2;e=e+o|0;d=d+j|0;v[f+8>>2]=B(e-d|0,10033)+1024>>11;e=d+e|0;d=g+i|0;v[f>>2]=(e+d<<2)-3072;v[f+16>>2]=B(e-(d<<1)|0,5793)+1024>>11;d=B(m+n|0,2998)+1024>>11;v[f+20>>2]=d+(n-h<<2);v[f+4>>2]=d+(h+m<<2);d=l-7|0;l=l+1|0;f=p;b:{switch(d|0){case 0:continue;case 4:break a;default:break b}}f=k+32|0;continue}break}while(1){q=v[f+64>>2];r=v[a+128>>2];s=v[a+192>>2];t=v[a+160>>2];c=s+t|0;u=v[f+96>>2];x=v[a>>2];b=u+x|0;y=c+b|0;l=v[f>>2];m=v[a+96>>2];h=l+m|0;n=v[f+32>>2];o=v[a+64>>2];g=n+o|0;i=h+g|0;v[a+128>>2]=B(y-i|0,8918)+16384>>15;j=b-c|0;e=v[a+32>>2];d=e+q|0;k=v[a+224>>2];c=k+r|0;b=d-c|0;g=g-h|0;v[a+192>>2]=B(j-(b+g|0)|0,7282)+16384>>15;v[a+64>>2]=(B(b-g|0,7282)+B(g+j|0,9947)|0)+16384>>15;v[a>>2]=B((c+(d+i|0)|0)+y|0,7282)+16384>>15;b=r-k|0;c=e-q|0;e=B(b+c|0,3941);d=e+B(b,-13455)|0;h=x-u|0;g=m-l|0;i=t-s|0;j=o-n|0;v[a+96>>2]=((d+B(h-g|0,9514)|0)+B(i+j|0,-3941)|0)+16384>>15;b=B(g+j|0,-1344);k=B(g+h|0,6269);c=e+B(c,5573)|0;v[a+224>>2]=(((b+(k+B(g,5285)|0)|0)-c|0)+B(i,-8170)|0)+16384>>15;e=b;b=B(h+j|0,8170)+16384|0;v[a+160>>2]=((e+(b+B(j,-17036)|0)|0)-d|0)+B(i,6269)>>15;v[a+32>>2]=(c+(k+(b+B(h,-4229)|0)|0)|0)+B(i,1344)>>15;f=f+4|0;a=a+4|0;z=z+1|0;if((z|0)!=6){continue}break}Qb=p+128|0}function O$a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=Qb-17408|0;Qb=e;d=96;a:{if(!a){break a}a=v[b+4>>2];d=20;if(!a){break a}f=u[a+2>>1];d=0;if(!f){break a}c=u[a>>1];d=0;if((c|0)<1){break a}g=v[a+12>>2];d=20;if(!g){break a}d=20;if(!v[a+4>>2]){break a}d=20;if((f|0)!=(u[((c<<1)+g|0)-2>>1]+1|0)){break a}d=19;if(w[b+8|0]&3){break a}b=v[b>>2];d=20;if(!b){break a}d=0;if(!v[b+4>>2]){break a}d=0;if(!v[b>>2]){break a}d=20;if(!v[b+12>>2]){break a}v[e+16520>>2]=v[a+16>>2];f=v[a+12>>2];c=e+16512|0;v[c>>2]=v[a+8>>2];v[c+4>>2]=f;c=v[a+4>>2];v[e+16504>>2]=v[a>>2];v[e+16508>>2]=c;c=v[b+12>>2];a=e+16488|0;v[a>>2]=v[b+8>>2];v[a+4>>2]=c;c=v[b+20>>2];a=e+16496|0;v[a>>2]=v[b+16>>2];v[a+4>>2]=c;a=v[b+4>>2];v[e+16480>>2]=v[b>>2];v[e+16484>>2]=a;a=e+16384|0;v[e+16412>>2]=a;v[e+16408>>2]=e;b=v[a+136>>2];c=b&256;v[a+20>>2]=c?30:2;v[a+16>>2]=c?256:32;c=c?12:6;v[a>>2]=c;c=1<>2]=c;v[a+12>>2]=c>>>6;v[a+8>>2]=c>>>1;b:{if(b&8){t[a+164|0]=2;break b}c=b>>>2&4;t[a+164|0]=c;if(b&32){break b}t[a+164|0]=c|1}v[a+1008>>2]=0;v[a+160>>2]=1855;v[a+156>>2]=1856;v[a+152>>2]=1857;v[a+148>>2]=1858;u[a+944>>1]=0;c=v[a+96>>2]-1|0;u[a+946>>1]=c;u[a+52>>1]=v[a+100>>2];f=v[a+108>>2];v[a+56>>2]=f;t[a+165|0]=(b>>>9^-1)&1;b=v[a+104>>2];if((b|0)>=1){v[a+56>>2]=f+B(b,c)}b=IZ(a,0);c:{if(b){break c}if(!(!w[a+165|0]|w[a+164|0]==2)){v[a+1008>>2]=0;v[a+160>>2]=1859;v[a+156>>2]=1860;v[a+152>>2]=1861;v[a+148>>2]=1862;u[a+944>>1]=0;u[a+946>>1]=x[a+100>>1]-1;b=IZ(a,1);if(b){break c}}b=0}d=b}c=d;Qb=e+17408|0;return c|0}function Uia(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;i=Qb-1056|0;Qb=i;a:{b:{if(!b){a=vc(i,307032,241480,1355,337860,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}j=x[b+8>>1];e=j+d|0;g=x[a+8>>1];h=(d|0)>0?d:0;l=((e|0)<(g|0)?e:g)-h|0;c:{if((l|0)<1){break c}e=x[b+10>>1]+c|0;g=x[a+10>>1];n=(c|0)>0?c:0;m=((e|0)<(g|0)?e:g)-n|0;if((m|0)<1){break c}f=x[b+16>>1];g=f-1|0;d:{if(!g){break d}e=0;if((f|0)!=2){f=g&-2;while(1){v[(e<<2)+i>>2]=(e<<16>>>0)/(g>>>0);k=e|1;v[(k<<2)+i>>2]=(k<<16>>>0)/(g>>>0);e=e+2|0;f=f-2|0;if(f){continue}break}}if(!(g&1)){break d}v[(e<<2)+i>>2]=(e<<16>>>0)/(g>>>0)}if(!v[b+20>>2]){gi(b);j=x[b+8>>1]}e:{if(!j){j=x[b+14>>1];b=x[b+12>>1];if(v[282398]<(j+b|0)){a=vc(i+1032|0,260231,271771,592,225838,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}b=b+v[282397]|0;break e}j=x[b+14>>1];b=v[b+20>>2]+x[b+12>>1]|0}if((l|0)<1|(m|0)<1){break c}k=x[a+12>>1];a=(B(B(k,h),3)+(x[a+8>>1]?v[a+16>>2]:0)|0)+B(n,3)|0;b=(b-B((d|0)>0?0:d,j)|0)-((c|0)>0?0:c)|0;c=0;while(1){e=0;while(1){f=w[b+e|0];f:{if(!f){break f}if(g>>>0<=f>>>0){d=B(e,3)+a|0;t[d+2|0]=0;t[d|0]=0;t[d+1|0]=0;break f}d=B(e,3)+a|0;h=w[d|0];f=v[(f<<2)+i>>2];t[d|0]=h-(B(f,h)>>>16|0);h=w[d+1|0];t[d+1|0]=h-(B(f,h)>>>16|0);h=d;d=w[d+2|0];t[h+2|0]=d-(B(d,f)>>>16|0)}e=e+1|0;if((m|0)!=(e|0)){continue}break}b=b+j|0;a=B(k,3)+a|0;c=c+1|0;if((l|0)!=(c|0)){continue}break}}Qb=i+1056|0;return}L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function YT(a,b){a=a|0;b=b|0;var 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;j=Qb-16|0;Qb=j;e=v[a+400>>2];c=v[a+288>>2];if((c|0)>=1){while(1){f=d<<2;c=v[(f+a|0)+292>>2];b=v[c+12>>2];t=f+j|0,u=Ub[v[v[a+4>>2]+32>>2]](a,v[((v[c+4>>2]<<2)+e|0)- -64>>2],B(b,v[e+8>>2]),b,0)|0,v[t>>2]=u;d=d+1|0;c=v[a+288>>2];if((d|0)<(c|0)){continue}break}}b=v[e+20>>2];h=v[e+16>>2];a:{if((b|0)>(h|0)){o=e+24|0;d=v[a+308>>2];g=v[e+12>>2];while(1){if(d>>>0>g>>>0){while(1){k=0;f=0;m=v[a+288>>2];if((m|0)>=1){while(1){b=k<<2;c=v[(b+a|0)+292>>2];n=v[c+60>>2];b:{if((n|0)<1){break b}i=v[c+56>>2];if((i|0)<1){break b}p=B(g,i);q=v[b+j>>2];r=i&7;s=i-1|0;l=0;while(1){d=v[(h+l<<2)+q>>2]+(p<<7)|0;b=f;c=r;if(c){while(1){v[((b<<2)+e|0)+24>>2]=d;b=b+1|0;d=d+128|0;c=c-1|0;if(c){continue}break}}f=f+i|0;if(s>>>0>=7){while(1){c=(b<<2)+e|0;v[c+28>>2]=d+128;v[c+24>>2]=d;v[c+32>>2]=d+256;v[c+36>>2]=d+384;v[c+40>>2]=d+512;v[c+44>>2]=d+640;v[c+48>>2]=d+768;v[c+52>>2]=d+896;d=d+1024|0;b=b+8|0;if((f|0)!=(b|0)){continue}break}}l=l+1|0;if((n|0)!=(l|0)){continue}break}}k=k+1|0;if((m|0)!=(k|0)){continue}break}}if(!(Ub[v[v[a+420>>2]+4>>2]](a,o)|0)){v[e+12>>2]=g;v[e+16>>2]=h;d=0;break a}d=v[a+308>>2];g=g+1|0;if(d>>>0>g>>>0){continue}break}b=v[e+20>>2]}g=0;v[e+12>>2]=0;h=h+1|0;if((h|0)<(b|0)){continue}break}c=v[a+288>>2]}d=1;v[e+8>>2]=v[e+8>>2]+1;b=v[a+400>>2];f=1;f=(c|0)<=1?v[v[a+292>>2]+(y[b+8>>2]>2]-1>>>0?12:76)>>2]:f;v[b+12>>2]=0;v[b+16>>2]=0;v[b+20>>2]=f}Qb=j+16|0;return d|0}function JUa(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,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;n=Qb-16|0;Qb=n;m=A[c+16>>3];i=A[c>>3];g=a;k=A[c+8>>3];p=A[c+24>>3]-k;a:{if(D(p)<2147483648){h=~~p;break a}h=-2147483648}A[g+616>>3]=h|0;g=a;m=m-i;b:{if(D(m)<2147483648){h=~~m;break b}h=-2147483648}A[g+608>>3]=h|0;g=v[a+16>>2];if(D(k)<2147483648){j=~~k}else{j=-2147483648}if(D(i)<2147483648){h=~~i}else{h=-2147483648}if(g){dc(gH(g));v[a+16>>2]=0}g=v[a+20>>2];if(g){dc(jq(g));v[a+20>>2]=0}g=fc(2864);v[299999]=0;S(2176,g|0)|0;l=v[299999];v[299999]=0;c:{d:{if((l|0)!=1){v[a+16>>2]=g;g=fc(8);v[299999]=0;S(2177,g|0)|0;l=v[299999];v[299999]=0;if((l|0)==1){break c}v[a+20>>2]=g;l=(j|0)>0?j:0;v[a+640>>2]=l;h=(h|0)>0?h:0;v[a+636>>2]=h;i=A[c+16>>3];j=a;o=e;k=A[c+24>>3];e:{if(D(k)<2147483648){g=~~k;break e}g=-2147483648}q=((e|0)<(g|0)?o:g)-l|0;v[j+648>>2]=q;o=a;j=d;if(D(i)<2147483648){g=~~i}else{g=-2147483648}j=((d|0)<(g|0)?j:g)-h|0;v[o+644>>2]=j;zY(v[a+16>>2],b,d,e,d<<2,h,l,j,q,i-A[c>>3],k-A[c+8>>3],f);b=yo(n+8|0,1,0,0,1,A[c>>3],A[c+8>>3]);c=v[a+16>>2];v[299999]=0;eH(c,b);c=v[299999];v[299999]=0;if((c|0)==1){break d}i=A[a+592>>3];c=v[a+16>>2];v[299999]=0;Iz(c,i,6);c=v[299999];v[299999]=0;if((c|0)==1){break d}i=A[a+600>>3];c=v[a+16>>2];v[299999]=0;Hz(c,i,6);c=v[299999];v[299999]=0;if((c|0)==1){break d}a=v[a+16>>2];v[299999]=0;ov(a,6);a=v[299999];v[299999]=0;if((a|0)==1){break d}Cd(b);Qb=n+16|0;return}break c}a=P()|0;O()|0;Cd(b);T(a|0);L()}a=P()|0;O()|0;dc(g);T(a|0);L()}function Ju(a,b){var c=0,d=0,e=0,f=0;f=v[a+420>>2];lV(a);d=v[a+24>>2];e=v[d>>2];v[d>>2]=e+1;t[e|0]=255;e=v[d+4>>2]-1|0;v[d+4>>2]=e;a:{if(e){break a}if(Ub[v[d+12>>2]](a)|0){break a}e=v[a>>2];v[e+20>>2]=25;Ub[v[e>>2]](a)}d=v[a+24>>2];e=v[d>>2];v[d>>2]=e+1;t[e|0]=b-48;b=v[d+4>>2]-1|0;v[d+4>>2]=b;b:{if(b){break b}if(Ub[v[d+12>>2]](a)|0){break b}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}if(v[a+288>>2]>=1){d=0;while(1){b=d<<2;e=v[(b+a|0)+292>>2];if(!(v[a+360>>2]|v[a+368>>2])){c=v[((v[e+20>>2]<<2)+f|0)+76>>2];t[c|0]=0;t[c+1|0]=0;t[c+2|0]=0;t[c+3|0]=0;t[c+4|0]=0;t[c+5|0]=0;t[c+6|0]=0;t[c+7|0]=0;t[c+56|0]=0;t[c+57|0]=0;t[c+58|0]=0;t[c+59|0]=0;t[c+60|0]=0;t[c+61|0]=0;t[c+62|0]=0;t[c+63|0]=0;t[c+48|0]=0;t[c+49|0]=0;t[c+50|0]=0;t[c+51|0]=0;t[c+52|0]=0;t[c+53|0]=0;t[c+54|0]=0;t[c+55|0]=0;t[c+40|0]=0;t[c+41|0]=0;t[c+42|0]=0;t[c+43|0]=0;t[c+44|0]=0;t[c+45|0]=0;t[c+46|0]=0;t[c+47|0]=0;t[c+32|0]=0;t[c+33|0]=0;t[c+34|0]=0;t[c+35|0]=0;t[c+36|0]=0;t[c+37|0]=0;t[c+38|0]=0;t[c+39|0]=0;t[c+24|0]=0;t[c+25|0]=0;t[c+26|0]=0;t[c+27|0]=0;t[c+28|0]=0;t[c+29|0]=0;t[c+30|0]=0;t[c+31|0]=0;t[c+16|0]=0;t[c+17|0]=0;t[c+18|0]=0;t[c+19|0]=0;t[c+20|0]=0;t[c+21|0]=0;t[c+22|0]=0;t[c+23|0]=0;t[c+8|0]=0;t[c+9|0]=0;t[c+10|0]=0;t[c+11|0]=0;t[c+12|0]=0;t[c+13|0]=0;t[c+14|0]=0;t[c+15|0]=0;b=b+f|0;v[b+52>>2]=0;v[b+36>>2]=0}if(v[a+364>>2]){ic(v[((v[e+24>>2]<<2)+f|0)+140>>2],0,256)}d=d+1|0;if((d|0)>2]){continue}break}}v[f+28>>2]=11;v[f+32>>2]=-1;v[f+20>>2]=0;v[f+24>>2]=0;v[f+12>>2]=0;v[f+16>>2]=65536}function SW(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=a+320|0;h=v[a+344>>2];a:{b:{c:{d:{while(1){e:{switch(h|0){case 3:break b;case 2:break c;case 1:break d;case 0:break e;default:continue}}break}cv(d,v[a+340>>2]!=0);xz(d,A[a+280>>3],v[a+340>>2]);v[a+344>>2]=1;v[a+348>>2]=0}if(y[a+264>>2]<2|y[a+320>>2]<2){break b}v[a+344>>2]=2;v[a+348>>2]=1;d=v[a+332>>2];f=v[d>>2];v[a+312>>2]=f;v[a+316>>2]=v[d>>2]+24;A[a+304>>3]=A[f+16>>3];A[b>>3]=A[f>>3];A[c>>3]=A[f+8>>3];f=1;e=A[a+272>>3];if(!(e>=0)){break b}v[a+288>>2]=0;v[a+292>>2]=0;b=0;v[a+296>>2]=0;if(!(e>0)){break b}c=v[a+264>>2];while(1){g=A[(b<<3)+a>>3];if(!(g>2]=0;v[a+292>>2]=0;b=b+1|0;v[a+296>>2]=b;e=e-g;if(b>>>0>=c>>>0){v[a+296>>2]=0;b=0}if(e>0){continue}break}return 1}d=v[a+296>>2];f=d&1?1:2;g=A[a+288>>3];i=A[(d<<3)+a>>3]-g;e=A[a+304>>3];if(i>2]=0;v[a+292>>2]=0;e=e-i;A[a+304>>3]=e;d=d+1|0;v[a+296>>2]=d>>>0>2]?d:0;h=b;d=v[a+316>>2];g=A[d>>3];b=v[a+312>>2];A[h>>3]=g-e*(g-A[b>>3])/A[b+16>>3];e=A[d+8>>3];A[c>>3]=e-(e-A[b+8>>3])*A[a+304>>3]/A[b+16>>3];return f}A[a+288>>3]=g+e;d=v[a+316>>2];A[b>>3]=A[d>>3];A[c>>3]=A[d+8>>3];v[a+312>>2]=d;b=v[a+348>>2]+1|0;v[a+348>>2]=b;A[a+304>>3]=A[d+16>>3];c=v[a+320>>2];if(v[a+340>>2]){if(b>>>0>c>>>0){v[a+344>>2]=3;return f}h=a;d=v[a+332>>2];a=b>>>0>>0?b:0;v[h+316>>2]=v[d+(a>>>4&268435452)>>2]+B(a&63,24);return f}if(b>>>0>=c>>>0){v[a+344>>2]=3;return f}v[a+316>>2]=v[v[a+332>>2]+(b>>>4&268435452)>>2]+B(b&63,24)}return f}A[a+288>>3]=e;return 1}function Gm(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0;j=Qb-32|0;Qb=j;v[j+16>>2]=c;v[j+24>>2]=b;c=j+8|0;b=v[d+28>>2];v[c>>2]=b;v[b+4>>2]=v[b+4>>2]+1;v[299999]=0;b=S(5466,c|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){c=v[j+8>>2];i=v[c+4>>2]-1|0;v[c+4>>2]=i;if((i|0)==-1){Ub[v[v[c>>2]+8>>2]](c)}v[e>>2]=0;c=0;a:{while(1){if(c|(g|0)==(h|0)){break a}b:{if(Im(j+24|0,j+16|0)){break b}c:{if((Ub[v[v[b>>2]+52>>2]](b,v[g>>2],0)|0)==37){c=g+4|0;if((h|0)==(c|0)){break b}k=0;i=Ub[v[v[b>>2]+52>>2]](b,v[c>>2],0)|0;d:{if(!((i|0)==69|(i&255)==48)){c=g;break d}if((g+8|0)==(h|0)){break b}k=i;i=Ub[v[v[b>>2]+52>>2]](b,v[g+8>>2],0)|0}l=j,m=Ub[v[v[a>>2]+36>>2]](a,v[j+24>>2],v[j+16>>2],d,e,f,i,k)|0,v[l+24>>2]=m;g=c+8|0;break c}if(Ub[v[v[b>>2]+12>>2]](b,8192,v[g>>2])|0){while(1){e:{g=g+4|0;if((h|0)==(g|0)){g=h;break e}if(Ub[v[v[b>>2]+12>>2]](b,8192,v[g>>2])|0){continue}}break}while(1){if(!jt(j+24|0,j+16|0)){break c}c=b;i=v[j+24>>2];k=v[i+12>>2];f:{if((k|0)==v[i+16>>2]){i=Ub[v[v[i>>2]+36>>2]](i)|0;break f}i=v[k>>2]}if(!(Ub[v[v[b>>2]+12>>2]](c,8192,i)|0)){break c}mp(j+24|0);continue}}c=b;i=v[j+24>>2];k=v[i+12>>2];g:{if((k|0)==v[i+16>>2]){i=Ub[v[v[i>>2]+36>>2]](i)|0;break g}i=v[k>>2]}if((Ub[v[v[b>>2]+28>>2]](c,i)|0)==(Ub[v[v[b>>2]+28>>2]](b,v[g>>2])|0)){g=g+4|0;mp(j+24|0);break c}v[e>>2]=4}c=v[e>>2];continue}break}v[e>>2]=4}if(Im(j+24|0,j+16|0)){v[e>>2]=v[e>>2]|2}Qb=j+32|0;return v[j+24>>2]}c=P()|0;O()|0;a=v[j+8>>2];b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}T(c|0);L()}function yaa(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;a=Qb-160|0;Qb=a;v[a+144>>2]=c;v[a+152>>2]=b;v[a+20>>2]=5601;h=Mf(a+24|0,a+32|0,a+20|0);v[299999]=0;b=v[e+28>>2];v[a+16>>2]=b;v[b+4>>2]=v[b+4>>2]+1;b=v[299999];v[299999]=0;a:{b:{c:{d:{if((b|0)!=1){v[299999]=0;i=S(5533,a+16|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}t[a+15|0]=0;b=v[e+4>>2];v[299999]=0;b=Ca(5602,a+152|0,c|0,d|0,a+16|0,b|0,f|0,a+15|0,i|0,h|0,a+20|0,a+132|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}if(!b){break c}b=Qb-16|0;Qb=b;e:{if(w[g+11|0]>>>7|0){c=v[g>>2];t[b+15|0]=0;t[c|0]=w[b+15|0];v[g+4>>2]=0;break e}t[b+14|0]=0;t[g|0]=w[b+14|0];t[g+11|0]=0}Qb=b+16|0;if(!w[a+15|0]){break d}v[299999]=0;b=Q(5579,i|0,45)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}v[299999]=0;V(5606,g|0,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break d}break b}e=P()|0;O()|0;break a}v[299999]=0;b=Q(5579,i|0,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}e=v[h>>2];c=v[a+20>>2];d=c-1|0;b=b&255;while(1){if(!((b|0)!=w[e|0]|d>>>0<=e>>>0)){e=e+1|0;continue}break}v[299999]=0;Y(5611,g|0,e|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break c}break b}v[299999]=0;b=Q(5539,a+152|0,a+144|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}if(b){v[f>>2]=v[f>>2]|2}d=v[a+152>>2];b=v[a+16>>2];c=v[b+4>>2]-1|0;v[b+4>>2]=c;if((c|0)==-1){Ub[v[v[b>>2]+8>>2]](b)}ee(h);Qb=a+160|0;return d|0}e=P()|0;O()|0;a=v[a+16>>2];b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}}ee(h);T(e|0);L()}function tT(a){var b=0,c=0,d=0,e=0;b=v[a+8>>2];if(b){dc(yT(b))}a:{c=v[a+12>>2];if(c){d=v[a+20>>2];if((d|0)>=1){b=0;while(1){c=v[(b<<2)+c>>2];if(c){dc(ZR(c));d=v[a+20>>2]}b=b+1|0;if((d|0)>(b|0)){c=v[a+12>>2];continue}break}c=v[a+12>>2]}v[299999]=0;uc(c);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+16>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}}v[299999]=0;R(3098,a+24|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}v[299999]=0;R(3098,a+40|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+56>>2];if(b){dc(Dc(b))}v[299999]=0;R(3098,a- -64|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}v[299999]=0;R(3098,a+80|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}v[299999]=0;R(3098,a+96|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}v[299999]=0;R(3098,a+112|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+132>>2];if(b){dc(HT(b))}v[299999]=0;R(3098,a+136|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}d=v[a+152>>2];if(d){c=v[d+8>>2];if((c|0)>=1){b=0;while(1){e=v[v[d>>2]+(b<<2)>>2];if(e){c=v[e>>2];if(c){dc(Vc(c))}v[299999]=0;R(3098,e+8|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}dc(e);c=v[d+8>>2]}b=b+1|0;if((c|0)>(b|0)){continue}break}}dc(Vc(d))}d=v[a+156>>2];if(d){c=v[d+8>>2];if((c|0)>=1){b=0;while(1){e=v[v[d>>2]+(b<<2)>>2];if(e){c=v[e+8>>2];if(c){dc(Vc(c))}dc(e);c=v[d+8>>2]}b=b+1|0;if((c|0)>(b|0)){continue}break}}dc(Vc(d))}v[299999]=0;R(3098,a+160|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}return a}W(0)|0;O()|0;lc();L()}function JG(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,n=0,o=0,p=0,q=0;a:{if(!d|(!a|!c)){break a}j=v[d>>2];if((b|0)<=536870911){f=b;f=Cib(f<<2,f>>31<<2|f>>>30,3,0);g=e&1?f:f+((b|0)%3|0)|0;f=(g|0)/76|0;h=g-B(f,76)|0;b:{if(!h){break b}h=(h<<24>>24)%4|0;if(!h){break b}g=(4-h&255)+g|0}i=(e&2?0:(f<<1)+2|0)+g|0}else{i=-1}if((i|0)>(j|0)){break a}q=(b|0)/57|0;n=(b|0)/3|0;g=((n<<2)%76<<24>>24)/4|0;j=0;i=0;c:{if((b|0)<-56){break c}l=e&2;i=g<<24>>24;k=19;g=0;while(1){h=0;o=(j|0)==(q|0);k=o?i:k;if((k|0)>=1){while(1){m=w[a+1|0];f=w[a|0];p=w[a+2|0];t[c+3|0]=w[(p&63)+530240|0];t[c|0]=w[(f>>>2|0)+530240|0];m=m<<8;t[c+2|0]=w[((m|p)>>>6&63)+530240|0];t[c+1|0]=w[((m|f<<16)>>>12&63)+530240|0];a=a+3|0;c=c+4|0;h=h+1|0;if((k|0)!=(h|0)){continue}break}}g=(k<<2)+g|0;if(!l){t[c|0]=13;t[c+1|0]=10;g=g+2|0;c=c+2|0}j=j+1|0;if(!o){continue}break}f=g;i=f;if(!f){break c}i=g;if(l){break c}c=c-2|0;i=g-2|0}j=i;k=1;f=b-B(n,3)|0;d:{if(!f){break d}l=f+1|0;if(l>>>0>>0){break d}e:{f:{if((f|0)>=1){b=w[a|0]<<8;if((f|0)!=1){b=b|w[a+1|0]}a=b<<16;break f}a=0;if((f|0)<0){break e}}b=f+1|0;g=b&3;if(f>>>0>=3){h=b&-4;while(1){t[c|0]=w[(a>>>26|0)+530240|0];t[c+3|0]=w[(a>>>8&63)+530240|0];t[c+2|0]=w[(a>>>14&63)+530240|0];t[c+1|0]=w[(a>>>20&63)+530240|0];c=c+4|0;a=0;h=h-4|0;if(h){continue}break}}if(!g){break e}while(1){t[c|0]=w[(a>>>26|0)+530240|0];a=a<<6;c=c+1|0;g=g-1|0;if(g){continue}break}}if(e&1){j=j+l|0;break d}a=3-f|0;ic(c,61,(a|0)>1?a:1);j=j+4|0}v[d>>2]=j}return k|0}function AEa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;b=Qb-48|0;Qb=b;v[a>>2]=896200;v[b+32>>2]=13;v[b+16>>2]=13;v[a+1568>>2]=0;a:{if(!oy(a,c)){break a}if(v[a+4>>2]!=1){kc(1,-1,225355,0);break a}d=rc(c,334409,b+32|0,0);e=v[a+1040>>2];b:{c:{d:{e:{f:{if(v[d>>2]==6){f=v[b+40>>2];d=v[f+12>>2];if(!(!e|(d|0)==v[a+8>>2])){kc(1,-1,268359,0);break b}v[a+8>>2]=d;if((d|0)>32){break e}if((d|0)<1){break f}d=0;yc(f,0,b+16|0,0);f=220146;e=v[b+16>>2];if(e-1>>>0>1){break c}while(1){A[((d<<3)+a|0)+1048>>3]=(e|0)==1?+v[b+24>>2]:A[b+24>>3];hc(b+16|0);d=d+1|0;if((d|0)>=v[a+8>>2]){break f}yc(v[b+40>>2],d,b+16|0,0);e=v[b+16>>2];if(e-1>>>0<=1){continue}break}break c}if(!(!e|v[a+8>>2]==1)){kc(1,-1,268359,0);break b}v[a+1048>>2]=0;v[a+1052>>2]=0;v[a+8>>2]=1}d=b+32|0;hc(d);g:{if(v[rc(c,333666,d,0)>>2]==6){e=v[b+40>>2];d=v[e+12>>2];if((d|0)!=v[a+8>>2]){break d}if((d|0)<1){break g}d=0;yc(e,0,b+16|0,0);f=220111;e=v[b+16>>2];if(e-1>>>0>1){break c}while(1){A[((d<<3)+a|0)+1304>>3]=(e|0)==1?+v[b+24>>2]:A[b+24>>3];hc(b+16|0);d=d+1|0;if((d|0)>=v[a+8>>2]){break g}yc(v[b+40>>2],d,b+16|0,0);e=v[b+16>>2];if(e-1>>>0<=1){continue}break}break c}if(v[a+8>>2]!=1){kc(1,-1,268323,0);break b}v[a+1304>>2]=0;v[a+1308>>2]=1072693248}d=b+32|0;hc(d);if(v[rc(c,316328,d,0)>>2]-1>>>0>=2){kc(1,-1,316259,0);break b}A[a+1560>>3]=v[b+32>>2]==1?+v[b+40>>2]:A[b+40>>3];hc(b+32|0);v[a+1568>>2]=1;break a}v[b>>2]=32;kc(1,-1,289277,b);break b}kc(1,-1,268323,0);break b}kc(1,-1,f,0);hc(b+16|0)}hc(b+32|0)}Qb=b+48|0;return a|0}function bgb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:{b:{c:{d:{if(w[a+288|0]){d=v[a+2248>>2];if(!w[a+498|0]){t[a+2272|0]=0;b=o1(a,d,b);if(b){break b}}b=0;if(!(!w[d+31|0]|!w[d+32|0])){b=fh(a,d,0)}if(w[a+497|0]){break d}t[a+288|0]=0;break d}f=v[a+512>>2];if(f){e:{if(w[a+498|0]){break e}d=v[f+88>>2];c=v[d+1172>>2];f:{if(!c){break f}e=v[d+1176>>2];if(!e){break f}Ub[v[a+156>>2]](e,c);v[d+1176>>2]=0}c=v[d+1144>>2];g:{if(!c){break g}e=v[d+1148>>2];if(!e){break g}Ub[v[a+156>>2]](e,c);v[d+1148>>2]=0}d=gc(d,v[b+88>>2],1180);t[f+32|0]=w[b+32|0];c=v[d+1172>>2];if(c){c=Ub[v[a+152>>2]](c)|0;v[d+1176>>2]=c;if(!c){break a}gc(c,v[v[b+88>>2]+1176>>2],v[d+1172>>2])}c=v[d+1144>>2];if(!c){break e}c=Ub[v[a+152>>2]](c)|0;v[d+1148>>2]=c;if(!c){break a}gc(c,v[v[b+88>>2]+1148>>2],v[d+1144>>2])}if(!w[f+31|0]|!w[f+32|0]){break c}b=fh(a,f,0);break d}f=v[a+528>>2];h:{if(w[a+498|0]){break h}d=v[f+88>>2];c=v[d+1172>>2];i:{if(!c){break i}e=v[d+1176>>2];if(!e){break i}Ub[v[a+156>>2]](e,c);v[d+1176>>2]=0}c=v[d+1144>>2];j:{if(!c){break j}e=v[d+1148>>2];if(!e){break j}Ub[v[a+156>>2]](e,c);v[d+1148>>2]=0}d=gc(d,v[b+88>>2],1180);t[f+32|0]=w[b+32|0];c=v[d+1172>>2];if(c){c=Ub[v[a+152>>2]](c)|0;v[d+1176>>2]=c;if(!c){break a}gc(c,v[v[b+88>>2]+1176>>2],v[d+1172>>2])}c=v[d+1144>>2];if(!c){break h}c=Ub[v[a+152>>2]](c)|0;v[d+1148>>2]=c;if(!c){break a}gc(c,v[v[b+88>>2]+1148>>2],v[d+1144>>2])}b=fh(a,f,0)}if(b){break b}}if(w[a+497|0]){t[a+498|0]=99;return 0}b=0;t[a+498|0]=0}return b|0}pc(a,1,0,0);return 1}function Rt(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{b:{c:{d:{e:{f:{e=v[a+708>>2];switch(e|0){case 1:break d;case 0:break e;default:break f}}e=e-1|0;v[a+708>>2]=e;if((e|0)!=1){break e}Gc(a,75434);td(a,c);return}d=v[a+348>>2];e=v[a+200>>2];g:{h:{if(e&4){if((d|0)==1229209940){e=a+348|0;d=1229209940;break h}v[a+200>>2]=e|8}e=a+348|0;if(d&536870912){break g}}if((_t(a,d)|0)==3){break g}if(!v[a+640>>2]){break c}}if(!(v[a+640>>2]?1:w[a+205|0]&128)){break d}v[a+728>>2]=c;t[a+720|0]=0;d=v[a+348>>2];t[a+719|0]=d;t[a+718|0]=d>>>8;t[a+717|0]=d>>>16;t[a+716|0]=d>>>24;i:{if(!c){v[a+724>>2]=0;break i}d=ug(a,c);v[a+724>>2]=d;yf(a,d,c);kd(a,d,c)}g=a+716|0;c=v[a+640>>2];j:{k:{if(!c){break k}c=Ub[c|0](a,g)|0;if((c|0)<=-1){break b}if(c){break j}c=v[e>>2];if(c&536870912){break k}if((_t(a,c)|0)!=3){break a}}e=0;l:{if(!a|!b){break l}m:{c=v[b+192>>2];n:{if((2147483647-c|0)<1){break n}c=c+1|0;if(c>>>0>214748363){break n}c=If(a,B(c,20));if(c){break m}}Gc(a,55363);break l}d=c;c=v[b+188>>2];h=gc(d,c,B(v[b+192>>2],20));Zc(a,c);v[b+188>>2]=0;while(1){c=B(e,20);d=c+g|0;f=v[d>>2];c=c+(B(v[b+192>>2],20)+h|0)|0;t[c+4|0]=0;v[c>>2]=f;f=v[d+12>>2];v[c+12>>2]=f;t[c+16|0]=v[a+200>>2];o:{if(!f){v[c+8>>2]=0;break o}f=If(a,f);v[c+8>>2]=f;if(!f){Gc(a,55363);v[c+12>>2]=0;break o}gc(f,v[d+8>>2],v[d+12>>2])}e=e+1|0;if((e|0)!=1){continue}break}v[b+188>>2]=h;v[b+192>>2]=v[b+192>>2]+1;v[b+184>>2]=v[b+184>>2]|512}}Zc(a,v[a+724>>2]);c=0;v[a+724>>2]=0}td(a,c);return}bu(a,75495);L()}bu(a,75536);L()}bu(a,75495);L()}function raa(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;a=Qb-448|0;Qb=a;v[a+432>>2]=c;v[a+440>>2]=b;v[a+20>>2]=5601;h=Mf(a+24|0,a+32|0,a+20|0);v[299999]=0;b=v[e+28>>2];v[a+16>>2]=b;v[b+4>>2]=v[b+4>>2]+1;b=v[299999];v[299999]=0;a:{b:{c:{d:{if((b|0)!=1){v[299999]=0;i=S(5466,a+16|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}t[a+15|0]=0;b=v[e+4>>2];v[299999]=0;b=Ca(5612,a+440|0,c|0,d|0,a+16|0,b|0,f|0,a+15|0,i|0,h|0,a+20|0,a+432|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}if(!b){break c}b=Qb-16|0;Qb=b;e:{if(w[g+11|0]>>>7|0){c=v[g>>2];v[b+12>>2]=0;v[c>>2]=v[b+12>>2];v[g+4>>2]=0;break e}v[b+8>>2]=0;v[g>>2]=v[b+8>>2];t[g+11|0]=0}Qb=b+16|0;if(!w[a+15|0]){break d}v[299999]=0;b=Q(5591,i|0,45)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}v[299999]=0;V(3155,g|0,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break d}break b}e=P()|0;O()|0;break a}v[299999]=0;b=Q(5591,i|0,48)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}e=v[h>>2];c=v[a+20>>2];d=c-4|0;while(1){if(!((b|0)!=v[e>>2]|d>>>0<=e>>>0)){e=e+4|0;continue}break}v[299999]=0;Y(5618,g|0,e|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break c}break b}v[299999]=0;b=Q(5568,a+440|0,a+432|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}if(b){v[f>>2]=v[f>>2]|2}d=v[a+440>>2];b=v[a+16>>2];c=v[b+4>>2]-1|0;v[b+4>>2]=c;if((c|0)==-1){Ub[v[v[b>>2]+8>>2]](b)}ee(h);Qb=a+448|0;return d|0}e=P()|0;O()|0;a=v[a+16>>2];b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}}ee(h);T(e|0);L()}function Nm(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Qb-32|0;Qb=f;a:{b:{c:{d:{c=x[a+8>>1];if(c){d=x[a+10>>1];if(d){break d}}a=vc(f+8|0,231607,241521,1283,341348,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}b=P()|0;O()|0;qc(a);break c}e=d;d=x[a+12>>1];e=e+d|0;u[a+14>>1]=e;if(!b){a=vc(f+8|0,271864,241521,1286,341348,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}b=P()|0;O()|0;qc(a);break c}if(!v[a+24>>2]){Xd(a+28|0,d+B(c,e&65535)|0,1);v[a+20>>2]=v[a+24>>2]}Ah(a+28|0,1,0);c=f+8|0;oD(c,x[a+12>>1]+x[a+14>>1]|0);v[299999]=0;Q(4344,a+68|0,c|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){c=v[f+8>>2];v[f+8>>2]=0;e:{if(!c){break e}v[299999]=0;d=v[c+4>>2]-1|0;v[c+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(d){break e}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}c=x[a+8>>1];if(c){g=c-1|0;h=(v[a+24>>2]+x[a+12>>1]|0)+B(g,x[a+14>>1])|0;c=0;while(1){e=w[b|0];if(e>>>0<192){b=b+1|0}else{e=w[b+1|0]|e<<8&16128;b=b+2|0}f:{g:{d=c+e|0;i=x[a+10>>1];if((d|0)<=(i|0)){if(e>>>0>=1){break g}d=c;break f}a=vc(f+8|0,329223,241521,1306,341348,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}b=P()|0;O()|0;qc(a);break c}ic(c+h|0,j,e);i=x[a+10>>1]}h:{if((d|0)<(i|0)){j=1-j|0;break h}g=g-1|0;h=h-x[a+14>>1]|0;j=0;d=0}c=d;if((g|0)>-1){continue}break}}Xd(a+40|0,0,1);Xd(a+52|0,0,4);v[a+60>>2]=0;rx(a);Qb=f+32|0;return}b=P()|0;O()|0;ec(f+8|0)}T(b|0)}L()}W(0)|0;O()|0;lc();L()}function uQ(a,b,c){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;i=Qb-16|0;Qb=i;a:{b:{c:{d:{e:{f:{d=v[a+708>>2];switch(d|0){case 1:break d;case 0:break e;default:break f}}d=d-1|0;v[a+708>>2]=d;if((d|0)!=1){break e}Gc(a,68949);td(a,c);break a}d=v[a+200>>2];if(!(d&1)){break c}if(d&4){v[a+200>>2]=d|8}Zc(a,v[a+740>>2]);d=If(a,c+1|0);v[a+740>>2]=d;if(!d){Gc(a,69152);break a}yf(a,d,c);kd(a,d,c);e=td(a,0);d=v[a+740>>2];if(e){Zc(a,d);v[a+740>>2]=0;break a}t[c+d|0]=0;h=v[a+740>>2];d=h;while(1){e=d;d=d+1|0;if(w[e|0]){continue}break}g:{if(c>>>0>=3){k=c+h|0;if(k-3>>>0>d>>>0){break g}}Gc(a,69278);Zc(a,v[a+740>>2]);v[a+740>>2]=0;break a}l=t[e+2|0];f=e+3|0;d=f;h:{j=w[e+1|0];if(!j){break h}if((j|0)!=1){Gc(a,69385);Zc(a,v[a+740>>2]);v[a+740>>2]=0;break a}d=f;if(!l){break h}Gc(a,69969);Zc(a,v[a+740>>2]);v[a+740>>2]=0;break a}while(1){g=w[d|0];e=d+1|0;d=e;if(g){continue}break}if(e>>>0>=k>>>0){break b}d=e;while(1){m=w[d|0];g=d+1|0;d=g;if(m){continue}break}if(g>>>0>=k>>>0){Gc(a,75232);Zc(a,v[a+740>>2]);v[a+740>>2]=0;break a}d=g-h|0;i:{if(j){WD(a,l,c,d,i+12|0);break i}n=i,o=Bc(d+h|0),v[n+12>>2]=o}c=If(a,28);if(!c){Gc(a,75292);Zc(a,v[a+740>>2]);v[a+740>>2]=0;break a}v[c>>2]=j?2:1;g=f-h|0;f=v[a+740>>2];v[c+20>>2]=g+f;v[c+24>>2]=f+(e-h|0);e=v[i+12>>2];v[c+12>>2]=0;v[c+16>>2]=e;v[c+8>>2]=d+f;v[c+4>>2]=f;b=GD(a,b,c);Zc(a,c);Zc(a,v[a+740>>2]);v[a+740>>2]=0;if(!b){break a}hd(a,75360);L()}td(a,c);break a}hd(a,69056);L()}Gc(a,69278);Zc(a,v[a+740>>2]);v[a+740>>2]=0}Qb=i+16|0}function SPa(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,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,z=0,A=0;s=Qb-160|0;Qb=s;n=v[a+332>>2];b=v[b+84>>2];a=s;while(1){f=v[b+96>>2];j=u[c+48>>1];g=v[b+32>>2];h=u[c+16>>1];l=B(u[c>>1],v[b>>2])<<13|1024;k=B(v[b+64>>2],u[c+32>>1]);i=B(v[b+128>>2],u[c+64>>1]);m=k-i|0;v[a+64>>2]=l+B(m,-11584)>>11;j=B(f,j);g=B(g,h);f=B(j+g|0,6810);h=l+B(m,2896)|0;k=B(i+k|0,6476);i=h+k|0;g=f+B(g,4209)|0;v[a+128>>2]=i-g>>11;v[a>>2]=g+i>>11;g=h-k|0;f=f+B(j,-17828)|0;v[a+96>>2]=g-f>>11;v[a+32>>2]=f+g>>11;a=a+4|0;b=b+4|0;c=c+2|0;o=o+1|0;if((o|0)!=8){continue}break}a=n+128|0;n=0;b=s;while(1){f=v[b+28>>2];i=v[b+12>>2];m=f+i|0;j=B(m,7791);l=v[b+24>>2];h=v[b+8>>2];g=B(l+h|0,6810);c=v[(n<<2)+d>>2]+e|0;o=g+B(h,4209)|0;k=(v[b>>2]<<13)+131072|0;h=v[b+16>>2];x=k+B(h,9373)|0;p=o+x|0;i=i-f|0;q=B(i,2531);y=v[b+20>>2];r=y<<13;z=q+r|0;f=v[b+4>>2];A=z+(j+B(f,11443)|0)|0;t[c|0]=w[a+(p+A>>>18&1023)|0];t[c+9|0]=w[a+(p-A>>>18&1023)|0];m=B(m,4815);p=(r-q|0)-(i<<12)|0;q=B(f,10323)-(m+p|0)|0;g=g+B(l,-17828)|0;l=k+B(h,-3580)|0;r=g+l|0;t[c+1|0]=w[a+(q+r>>>18&1023)|0];t[c+8|0]=w[a+(r-q>>>18&1023)|0];i=f-(i+y|0)<<13;h=k+B(h,-11586)|0;t[c+2|0]=w[a+(i+h>>>18&1023)|0];t[c+7|0]=w[a+(h-i>>>18&1023)|0];h=p+(B(f,5260)-m|0)|0;g=l-g|0;t[c+3|0]=w[a+(h+g>>>18&1023)|0];t[c+6|0]=w[a+(g-h>>>18&1023)|0];f=(B(f,1812)-j|0)+z|0;j=x-o|0;t[c+4|0]=w[a+(f+j>>>18&1023)|0];t[c+5|0]=w[a+(j-f>>>18&1023)|0];b=b+32|0;n=n+1|0;if((n|0)!=5){continue}break}Qb=s+160|0}function ZWa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;h=Qb-16|0;Qb=h;b=v[b>>2];v[h+12>>2]=0;a:{if(!b){e=35;break a}e=6;g=v[b+132>>2];if(!g|y[b+16>>2]<=c>>>0){break a}e=x[g+4>>1];b=(e|0)==768;c=B(c?c-1|0:w[g+106|0],b?6:4)+(b?148:118)|0;b:{f=b?-4:-2;b=v[g+8>>2];if(c>>>0>=(f+b|0)-2>>>0){break b}c=c+v[g+160>>2]|0;i=w[c|0]|w[c+1|0]<<8;v[a+80>>2]=i;f=b;c=c+2|0;j=w[c|0];if((e|0)==768){b=w[c+2|0]<<16|w[c+3|0]<<24|w[c+1|0]<<8}else{b=w[c+1|0]<<8}b=j|b;if(f>>>0<=b>>>0){break b}c=x[g+96>>1];e=0;v[a+100>>2]=0;t[a+94|0]=1;v[a+76>>2]=c;f=x[g+80>>1];v[a+72>>2]=1651078259;v[a+104>>2]=f;i=i<<6;v[a+40>>2]=i;c=c<<6;v[a+28>>2]=c;v[a+24>>2]=i;v[a+32>>2]=0;v[a+36>>2]=f<<6;zs(a+24|0,c);if(d&4194304){break a}e=3;c=v[v[a+4>>2]+100>>2];i=v[g+160>>2];d=v[a+80>>2]+7|0;f=d>>>3|0;v[a+84>>2]=f;if(d>>>0<8){break a}j=v[g+8>>2];g=v[a+76>>2];if(j>>>0>>0){break a}c=Cc(c,f,0,g,0,h+12|0);v[a+88>>2]=c;e=v[h+12>>2];if(e){break a}b=b+i|0;if(d&8){d=v[a+76>>2];if((d|0)>=1){d=b+d|0;e=c;while(1){t[e|0]=w[b|0];e=v[a+84>>2]+e|0;b=b+1|0;if(d>>>0>b>>>0){continue}break}}c=c+1|0;d=f-1|0}else{d=f}if((f|0)!=1){while(1){e=v[a+76>>2];if((e|0)>=1){f=b+e|0;e=c;while(1){t[e|0]=w[b|0];e=v[a+84>>2]+e|0;b=b+1|0;if(f>>>0>b>>>0){continue}break}}e=v[a+76>>2];if((e|0)>0){f=b+e|0;e=c+1|0;while(1){t[e|0]=w[b|0];e=v[a+84>>2]+e|0;b=b+1|0;if(f>>>0>b>>>0){continue}break}}c=c+2|0;d=d-2|0;if(d){continue}break}}e=v[h+12>>2];v[v[a+156>>2]+4>>2]=1;break a}e=3;v[h+12>>2]=3}Qb=h+16|0;return e|0}function Sab(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0;if(e){r=e-1|0;s=e-2|0;q=(e|0)==1;while(1){a=f;t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];t[g+3|0]=w[a+3|0];f=a+4|0;g=g+4|0;a:{if(!q&o>>>0>=r>>>0){break a}j=o?(o|0)==(s|0)?d:b:c;h=!o&q;if(h){if(j>>>0<2){break a}h=j-1|0;k=h&1;if((j|0)!=2){i=h&-2;while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];t[g+3|0]=w[a+3|0];t[g+4|0]=w[a|0];t[g+5|0]=w[a+1|0];t[g+6|0]=w[a+2|0];t[g+7|0]=w[a+3|0];g=g+8|0;i=i-2|0;if(i){continue}break}}if(!k){break a}t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];t[g+3|0]=w[a+3|0];g=g+4|0;break a}n=h?0:f;p=j<<1;l=j+1>>>1|0;if(j>>>0>=3){u=l>>>0>2?l:2;i=1;while(1){k=g;m=w[n|0];h=w[a|0];if((m|0)!=(h|0)){h=h+(((B(m-h|0,i)<<1)+j|0)/(p|0)|0)|0}t[k|0]=h;m=w[n+1|0];h=w[a+1|0];if((m|0)!=(h|0)){h=h+(((B(m-h|0,i)<<1)+j|0)/(p|0)|0)|0}t[k+1|0]=h;m=w[n+2|0];h=w[a+2|0];if((m|0)!=(h|0)){h=h+(((B(m-h|0,i)<<1)+j|0)/(p|0)|0)|0}t[k+2|0]=h;t[g+3|0]=w[a+3|0];g=g+4|0;i=i+1|0;if((u|0)!=(i|0)){continue}break}}if(j>>>0<=l>>>0){break a}while(1){k=g;i=w[n|0];h=w[a|0];if((i|0)!=(h|0)){h=h+(((B(i-h|0,l)<<1)+j|0)/(p|0)|0)|0}t[k|0]=h;i=w[n+1|0];h=w[a+1|0];if((i|0)!=(h|0)){h=h+(((B(i-h|0,l)<<1)+j|0)/(p|0)|0)|0}t[k+1|0]=h;i=w[n+2|0];h=w[a+2|0];if((i|0)!=(h|0)){h=h+(((B(i-h|0,l)<<1)+j|0)/(p|0)|0)|0}t[k+2|0]=h;t[g+3|0]=w[n+3|0];g=g+4|0;l=l+1|0;if((l|0)!=(j|0)){continue}break}}o=o+1|0;if((o|0)!=(e|0)){continue}break}}return 0}function LPa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=-1;a:{d=v[a+180>>2];b:{if(!d){break b}g=Do(d,2);if(!g|x[g>>1]==65535){break b}c:{if(!b){f=1;break c}e=b&7;d:{if(b-1>>>0<7){f=1;break d}d=b&-8;f=1;while(1){f=f<<8;d=d-8|0;if(d){continue}break}}if(!e){break c}while(1){f=f<<1;e=e-1|0;if(e){continue}break}}d=44;e=0;e:{f:{switch(c|0){case 2:d=52;break e;case 3:d=56;break e;case 5:d=84;break e;case 4:c=v[g+80>>2]&f;if(c){return(c|0)!=0|0}a=v[a+180>>2];c=v[a+36>>2];if((c|0)<1){break b}g:{switch(b-17|0){case 14:a=v[a+40>>2];d=0;while(1){b=v[a+(d<<2)>>2];if(!(x[b+10>>1]|x[b+8>>1]!=3)){break a}d=d+1|0;if((c|0)!=(d|0)){continue}break};break b;case 0:a=v[a+40>>2];d=0;while(1){b=v[a+(d<<2)>>2];if(!(x[b+10>>1]!=2|x[b+8>>1]!=3)){break a}d=d+1|0;if((c|0)!=(d|0)){continue}break};break b;case 1:a=v[a+40>>2];d=0;while(1){b=v[a+(d<<2)>>2];if(!(x[b+10>>1]!=3|x[b+8>>1]!=3)){break a}d=d+1|0;if((c|0)!=(d|0)){continue}break};break b;case 3:a=v[a+40>>2];d=0;while(1){b=v[a+(d<<2)>>2];if(!(x[b+10>>1]!=4|x[b+8>>1]!=3)){break a}d=d+1|0;if((c|0)!=(d|0)){continue}break};break b;case 2:a=v[a+40>>2];d=0;while(1){b=v[a+(d<<2)>>2];if(!(x[b+10>>1]!=5|x[b+8>>1]!=3)){break a}d=d+1|0;if((c|0)!=(d|0)){continue}break};break b;case 4:break g;default:break b}}a=v[a+40>>2];d=0;while(1){b=v[a+(d<<2)>>2];if(!(x[b+10>>1]!=6|x[b+8>>1]!=3)){break a}d=d+1|0;if((c|0)!=(d|0)){continue}break};break b;case 1:break f;case 0:break e;default:break b}}d=48}e=(v[d+g>>2]&f)!=0}return e|0}return 1}function Ev(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=B(d,1348)+a|0;k=v[f+44>>2];g=b?v[(B(b,12)+c|0)-12>>2]:0;e=v[v[a+2748>>2]+40>>2];b=(e|0)/256|0;l=(B(e,6e3)|0)/2048|0;a:{if((k|0)<1){break a}c=v[f+52>>2];h=c+B(k,44)|0;m=e+255>>>0<511?1:b;i=v[(B(d,1348)+a|0)+68>>2];b:{if(!g){b=c;while(1){if((i|0)==t[b+1|0]){e=u[b+2>>1];a=c;while(1){c:{if((i|0)!=(0-t[a+1|0]|0)){break c}f=u[a+2>>1];if((f|0)<=(e|0)){break c}g=u[a+8>>1];d=u[b+8>>1];j=(d|0)>(g|0)?g:d;g=u[a+6>>1];d=u[b+6>>1];d=j-((d|0)<(g|0)?g:d)|0;if((d|0)<(m|0)){break c}d=(f-e|0)+((l|0)/(d|0)|0)|0;if((d|0)>2]){v[b+20>>2]=a;v[b+28>>2]=d}if((d|0)>=v[a+28>>2]){break c}v[a+20>>2]=b;v[a+28>>2]=d}a=a+44|0;if(h>>>0>a>>>0){continue}break}}b=b+44|0;if(h>>>0>b>>>0){continue}break}break b}b=c;while(1){if((i|0)==t[b+1|0]){j=u[b+2>>1];a=c;while(1){d:{if((i|0)!=(0-t[a+1|0]|0)){break d}e=u[a+2>>1];if((e|0)<=(j|0)){break d}f=u[a+8>>1];d=u[b+8>>1];n=(d|0)>(f|0)?f:d;f=u[a+6>>1];d=u[b+6>>1];f=n-((d|0)<(f|0)?f:d)|0;if((f|0)<(m|0)){break d}d=(e-j<<10)/(g|0)|0;e=32e3;e:{if((d|0)>11024){break e}e=0;if((d|0)<1025){break e}d=d-1024|0;e=(B(d,d)>>>0)/3e3|0}d=e+((l|0)/(f|0)|0)|0;if((d|0)>2]){v[b+20>>2]=a;v[b+28>>2]=d}if((d|0)>=v[a+28>>2]){break d}v[a+20>>2]=b;v[a+28>>2]=d}a=a+44|0;if(h>>>0>a>>>0){continue}break}}b=b+44|0;if(h>>>0>b>>>0){continue}break}}if((k|0)<1){break a}while(1){a=v[c+20>>2];if(!(!a|v[a+20>>2]==(c|0))){v[c+20>>2]=0;v[c+24>>2]=v[a+20>>2]}c=c+44|0;if(h>>>0>c>>>0){continue}break}}}function Br(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;j=Qb-48|0;Qb=j;v[j+8>>2]=0;v[j+12>>2]=0;v[j>>2]=0;v[j+4>>2]=0;n=g*3.141592/180;o=Ve(n);m=Ff(Ee(n)/f,o/e);r=j,s=Ve(m)*e+c,A[r+40>>3]=s;r=j,s=Ee(m)*f+d,A[r+32>>3]=s;ke(b,j+40|0,j+32|0);A[j+24>>3]=A[j+40>>3]*25.4/96;A[j+16>>3]=A[j+32>>3]*25.4/96;Ub[v[v[a>>2]+300>>2]](a,j+24|0,j+16|0)|0;if(D(g)<2147483648){k=~~g}else{k=-2147483648}k=((k|0)/90|0)+1|0;k=k>>>0>1?k:1;k=k>>>0<4?k:4;if(D(h)<2147483648){l=~~h}else{l=-2147483648}l=((l|0)/90|0)+1|0;l=l>>>0>1?l:1;l=l>>>0<4?l:4;o=h*3.141592/180;a:{if(!i){if(k>>>0>l>>>0){break a}h=o;i=(k|0)==(l|0);h=i?h:+C(C(C(B(k,90)>>>0)*C(3.141592025756836))/C(180));g=Ve(h);Ix(a,b,c,d,e,f,m,Ff(Ee(h)/f,g/e),j+8|0,j);if(i){break a}i=k;while(1){h=o;i=i+1|0;p=(l|0)==(i|0);if(!p){h=+C(C(C(B(i,90)>>>0)*C(3.141592025756836))/C(180))}g=Ve(h);h=Ee(h);n=(i|0)!=(k|0)?+C(C(C(B(i,90)-90>>>0)*C(3.141592025756836))/C(180)):n;m=Ve(n);Ix(a,b,c,d,e,f,Ff(Ee(n)/f,m/e),Ff(h/f,g/e),j+8|0,j);if(!p){continue}break}break a}if(k>>>0>>0){break a}h=o;h=(k|0)!=(l|0)?+C(C(C(B(k,90)-90>>>0)*C(3.141592025756836))/C(180)):h;g=Ve(h);Ix(a,b,c,d,e,f,m,Ff(Ee(h)/f,g/e),j+8|0,j);i=k-1|0;if(l>>>0>i>>>0){break a}while(1){h=n;h=(i|0)!=(k|0)?+C(C(C(B(i,90)>>>0)*C(3.141592025756836))/C(180)):h;g=o;g=(i|0)!=(l|0)?+C(C(C(B(i,90)-90>>>0)*C(3.141592025756836))/C(180)):g;m=Ve(g);g=Ee(g);q=Ve(h);Ix(a,b,c,d,e,f,Ff(Ee(h)/f,q/e),Ff(g/f,m/e),j+8|0,j);i=i-1|0;if(l>>>0<=i>>>0){continue}break}}Qb=j+48|0}function tCa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=Qb-16|0;Qb=i;j=ic(ed(256,4),0,1024);f=-1;a:{if(v[b+32>>2]<1){d=-1;e=-1;break a}e=-1;d=-1;while(1){g=v[b+28>>2]+B(c,20)|0;h=v[g+4>>2];g=v[g>>2];b:{if(!((g|0)!=3|(h|0)!=1)){f=c;break b}if(!((h|0)>=5|g)){f=c;break b}if(!(h|(g|0)!=1)){e=c;break b}d=(g|0)==3?h?d:c:d}c=c+1|0;if((c|0)>2]){continue}break}}c=v[a+24>>2];c:{d:{e:{if((e|0)>-1?v[a+1452>>2]:0){break e}if(!(!v[a+1448>>2]|v[a+32>>2]>-1)&(f|0)>-1){break d}c=c&4;if(!c&(f|0)>-1){break d}if(!c&(e|0)>-1){break e}c=0;f=(d|0)>-1?d:(f|0)>-1?f:(e|0)>-1?e:0;while(1){e=(c<<2)+j|0;d=Ym(b,f,c);v[e>>2]=d;if(!d){k=e,l=Ym(b,f,c+61440|0),v[k>>2]=l}c=c+1|0;if((c|0)!=256){continue}break}break c}c=0;while(1){h=c<<2;d=v[(h+a|0)+164>>2];f:{g:{if(d){g=bS(v[v[294330]>>2],d);if(g){d=Ym(b,e,g);break g}if((f|0)<0){break f}d=iy(v[294330],d);v[i+12>>2]=d;if(!d){break f}d=Ym(b,f,d);break g}d=-1;if((f|0)<0){break g}if(!kk(v[a+1444>>2],c,i+12|0,1)){break g}d=Ym(b,e,v[i+12>>2])}v[h+j>>2]=d}c=c+1|0;if((c|0)!=256){continue}break}break c}c=0;while(1){h=c<<2;e=v[(h+a|0)+164>>2];h:{i:{if(e){d=iy(v[294330],e);v[i+12>>2]=d;if(d){break i}}e=-1;if(!kk(v[a+1444>>2],c,i+12|0,1)){break h}d=v[i+12>>2]}e=Ym(b,f,d)}v[h+j>>2]=e;c=c+1|0;if((c|0)!=256){continue}break}}c=0;while(1){e=c<<2;f=e+j|0;j:{if(v[f>>2]>0){break j}e=v[(a+e|0)+164>>2];if(!e){break j}d=v[b+60>>2];if(d){e=uy(d,e)}else{e=0}v[f>>2]=e}c=c+1|0;if((c|0)!=256){continue}break}Qb=i+16|0;return j|0}function x8(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,j=0,k=0,l=0,m=0;a=Qb-16|0;Qb=a;v[a+12>>2]=c;v[a+8>>2]=f;v[a+12>>2]=c;v[a+8>>2]=f;a:{b:{c:{while(1){d:{f=v[a+12>>2];if(f>>>0>=d>>>0){break d}j=v[a+8>>2];if(j>>>0>=g>>>0){break d}b=2;c=w[f|0];if(c>>>0>1114111){break b}m=a;e:{if(c<<24>>24>=0){u[j>>1]=c;b=f+1|0;break e}if(c>>>0<194){break b}if(c>>>0<=223){if((d-f|0)<2){break c}i=w[f+1|0];if((i&192)!=128){break a}c=i&63|c<<6&1984;if(c>>>0>1114111){break a}u[j>>1]=c;b=f+2|0;break e}if(c>>>0<=239){if((d-f|0)<3){break c}k=w[f+2|0];i=w[f+1|0];f:{g:{if((c|0)!=237){if((c|0)!=224){break g}if((i&224)==160){break f}break a}if((i&224)==128){break f}break a}if((i&192)!=128){break a}}if((k&192)!=128){break a}c=k&63|((i&63)<<6|c<<12);if((c&65535)>>>0>1114111){break a}u[j>>1]=c;b=f+3|0;break e}if(c>>>0>244){break b}b=1;if((d-f|0)<4){break a}k=w[f+2|0];i=w[f+1|0];h:{i:{switch(c-240|0){case 0:if((i+112&255)>>>0>=48){break b}break h;case 4:if((i&240)!=128){break b}break h;default:break i}}if((i&192)!=128){break b}}if((k&192)!=128){break b}f=w[f+3|0];if((f&192)!=128){break b}if((g-j|0)<4){break a}b=2;f=f&63;l=k<<6;c=c&7;if((f|(l&4032|(i<<12&258048|c<<18)))>>>0>1114111){break a}b=i<<2;u[j>>1]=(k>>>4&3|(b&192|c<<8|b&60))+16320|55296;v[a+8>>2]=j+2;u[j+2>>1]=f|l&960|56320;b=v[a+12>>2]+4|0}v[m+12>>2]=b;v[a+8>>2]=v[a+8>>2]+2;continue}break}b=d>>>0>f>>>0;break a}b=1;break a}b=2}v[e>>2]=v[a+12>>2];v[h>>2]=v[a+8>>2];Qb=a+16|0;return b|0}function MTa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=Qb-48|0;Qb=c;a:{if(t[b+11|0]>=0){v[c+40>>2]=v[b+8>>2];d=v[b+4>>2];v[c+32>>2]=v[b>>2];v[c+36>>2]=d;break a}Ke(c+32|0,v[b>>2],v[b+4>>2])}t[c+27|0]=1;v[299999]=0;tc(c+16|0,460616,1);b=v[299999];v[299999]=0;if((b|0)!=1){b:{v[c+20>>2]=0;t[c+11|0]=1;v[299999]=0;tc(c,460624,1);b=v[299999];v[299999]=0;if((b|0)==1){break b}v[c+4>>2]=0;g=t[c+11|0];b=0;d=t[c+27|0];e=(d|0)<0;c:{d:{e:{f=e?v[c+20>>2]:d&255;f:{if(f){b=w[c+43|0];d=b<<24>>24;b=(d|0)<0?v[c+36>>2]:b;if((f|0)>(b|0)){break f}d=(d|0)<0?v[c+32>>2]:c+32|0;h=d+(b<<2)|0;i=e?v[c+16>>2]:c+16|0;k=v[i>>2];e=d;while(1){b=b-f|0;j=b+1|0;if(j>>>0>>0){break f}b=sf(e,k,j);if(!b){break f}if(od(b,i,f)){e=b+4|0;b=h-e>>2;if((f|0)<=(b|0)){continue}break f}break}if((b|0)==(h|0)){break f}b=b-d|0;if((b|0)==-4){break f}b=b>>2}d=((g|0)>0?g:0)&255;while(1){v[299999]=0;e=w[c+11|0];g=e<<24>>24<0;ca(2342,c+32|0,b|0,f|0,(g?v[c>>2]:c)|0,(g?v[c+4>>2]:e)|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break e}b=pv(c+32|0,c+16|0,b+d|0);if((b|0)!=-1){continue}break}}if(t[c+11|0]<=-1){dc(v[c>>2])}if(t[c+27|0]<=-1){dc(v[c+16>>2])}b=0;v[299999]=0;d=jm(a+8|0,c+32|0);e=v[299999];v[299999]=0;if((e|0)==1){break d}b=(d|0)!=(a+12|0)?v[d+28>>2]:b;if(t[c+43|0]<=-1){dc(v[c+32>>2])}Qb=c+48|0;return b|0}b=P()|0;O()|0;if(t[c+11|0]<=-1){dc(v[c>>2])}if(t[c+27|0]>-1){break c}dc(v[c+16>>2]);break c}b=P()|0;O()|0}if(t[c+43|0]<=-1){dc(v[c+32>>2])}T(b|0);L()}}W(0)|0;O()|0;lc();L()}function iha(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;if(f){a=e>>>0<8;c=h<<2;while(1){h=e;if(!a){while(1){v[b>>2]=w[i|0]|w[j|0]<<8|w[k|0]<<16|w[l|0]<<24;v[b+4>>2]=w[i+1|0]|w[j+1|0]<<8|w[k+1|0]<<16|w[l+1|0]<<24;v[b+8>>2]=w[i+2|0]|w[j+2|0]<<8|w[k+2|0]<<16|w[l+2|0]<<24;v[b+12>>2]=w[i+3|0]|w[j+3|0]<<8|w[k+3|0]<<16|w[l+3|0]<<24;v[b+16>>2]=w[i+4|0]|w[j+4|0]<<8|w[k+4|0]<<16|w[l+4|0]<<24;v[b+20>>2]=w[i+5|0]|w[j+5|0]<<8|w[k+5|0]<<16|w[l+5|0]<<24;v[b+24>>2]=w[i+6|0]|w[j+6|0]<<8|w[k+6|0]<<16|w[l+6|0]<<24;v[b+28>>2]=w[i+7|0]|w[j+7|0]<<8|w[k+7|0]<<16|w[l+7|0]<<24;b=b+32|0;l=l+8|0;k=k+8|0;j=j+8|0;i=i+8|0;h=h-8|0;if(h>>>0>7){continue}break}}f=f-1|0;a:{switch(h-1|0){case 6:v[b>>2]=w[i|0]|w[j|0]<<8|w[k|0]<<16|w[l|0]<<24;b=b+4|0;l=l+1|0;k=k+1|0;j=j+1|0;i=i+1|0;case 5:v[b>>2]=w[i|0]|w[j|0]<<8|w[k|0]<<16|w[l|0]<<24;b=b+4|0;l=l+1|0;k=k+1|0;j=j+1|0;i=i+1|0;case 4:v[b>>2]=w[i|0]|w[j|0]<<8|w[k|0]<<16|w[l|0]<<24;b=b+4|0;l=l+1|0;k=k+1|0;j=j+1|0;i=i+1|0;case 3:v[b>>2]=w[i|0]|w[j|0]<<8|w[k|0]<<16|w[l|0]<<24;b=b+4|0;l=l+1|0;k=k+1|0;j=j+1|0;i=i+1|0;case 2:v[b>>2]=w[i|0]|w[j|0]<<8|w[k|0]<<16|w[l|0]<<24;b=b+4|0;l=l+1|0;k=k+1|0;j=j+1|0;i=i+1|0;case 1:v[b>>2]=w[i|0]|w[j|0]<<8|w[k|0]<<16|w[l|0]<<24;b=b+4|0;l=l+1|0;k=k+1|0;j=j+1|0;i=i+1|0;case 0:v[b>>2]=w[i|0]|w[j|0]<<8|w[k|0]<<16|w[l|0]<<24;b=b+4|0;l=l+1|0;k=k+1|0;j=j+1|0;i=i+1|0;break;default:break a}}l=g+l|0;k=g+k|0;j=g+j|0;i=g+i|0;b=b+c|0;if(f){continue}break}}}function TNa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=Qb-32|0;Qb=d;a:{if(!a){break a}if(!v[294117]){a=d;v[a>>2]=0;v[a+4>>2]=0;v[a+24>>2]=-1;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;v[294117]=1}b:{c:{if(v[b>>2]>0){break c}d:{if(v[294115]==2){break d}if(!qz(1176460)){break d}e:{f:{if(v[b>>2]<=0){c=Pg(52);if(!c){v[b>>2]=7;a=0;break e}g:{if(v[b>>2]<=0){a=c;v[a+16>>2]=0;v[a+20>>2]=0;v[a+12>>2]=0;v[a+8>>2]=2741;v[a+4>>2]=2740;u[a+48>>1]=3;v[a+40>>2]=1056964608;v[a+44>>2]=0;v[a+28>>2]=127;a=Pg(1524);v[c>>2]=a;if(a){break g}v[b>>2]=7}t[c+49|0]=1;break f}e=a+1524|0;while(1){v[a+8>>2]=0;v[a+12>>2]=-2147483647;v[a>>2]=-2147483647;v[a+4>>2]=0;v[a+24>>2]=-2147483647;v[a+28>>2]=0;v[a+36>>2]=-2147483647;v[a+40>>2]=0;v[a+48>>2]=-2147483647;v[a+52>>2]=0;v[a+60>>2]=-2147483647;v[a+64>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+32>>2]=0;v[a+44>>2]=0;v[a+56>>2]=0;v[a+76>>2]=0;v[a+80>>2]=0;v[a+68>>2]=0;v[a+72>>2]=-2147483647;if(a+84>>>0>=e>>>0){v[c+24>>2]=0;v[c+32>>2]=63;v[c+36>>2]=0;a=v[b>>2];t[c+49|0]=1;if((a|0)>0){break f}a=c}else{v[a+84>>2]=-2147483647;v[a+88>>2]=0;v[a+92>>2]=0;a=a+96|0;continue}break}}else{a=0}break e}_e(c);a=0}v[294114]=a;c=v[b>>2];if((c|0)<=0){v[a+20>>2]=2749;hs(16,2750);c=v[b>>2]}v[294116]=c;v[294115]=2;a=v[294114];break b}a=v[294116];if((a|0)<1){break c}v[b>>2]=a}a=v[294114]}if(v[b>>2]>0){break a}a=CG(a,261771);if(!a|v[b>>2]>0|!v[a+4>>2]){break a}v[299999]=0;a=v[299999];v[299999]=0;if((a|0)!=1){break a}W(0)|0;O()|0;lc();L()}Qb=d+32|0}function HG(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;v[c+20>>2]=a;i=b+60|0;v[c+24>>2]=i;v[c+12>>2]=v[b+220>>2];f=b;a:{b:{c:{d:{while(1){e=w[a|0];if(!e|(e|0)==44){break a}t[f|0]=e;e=w[a+1|0];if(!((e|0)!=44?e:0)){f=f+1|0;a=a+1|0;break a}t[f+1|0]=e;e=w[a+2|0];if(!e|(e|0)==44){break d}t[f+2|0]=e;e=w[a+3|0];if(!e|(e|0)==44){break c}t[f+3|0]=e;e=w[a+4|0];if(!e|(e|0)==44){break b}if((g|0)!=55){t[f+4|0]=e;a=a+5|0;f=f+5|0;g=g+5|0;continue}break}v[d>>2]=1;t[b|0]=0;return}f=f+2|0;a=a+2|0;break a}f=f+3|0;a=a+3|0;break a}f=f+4|0;a=a+4|0}t[f|0]=0;v[c+20>>2]=b;e:while(1){f:{e=w[a|0];g:{if((e|0)!=44){if(e){break g}break f}a=a+1|0}h:{i:{f=a;if(!Oc(f,322722,7)){g=f+7|0;j=0;e=i;while(1){f=w[g|0];if(!f){a=g;break i}if((f|0)==44){a=g;break i}a=g+1|0;if((j|0)==156){v[d>>2]=1;t[i|0]=0;break h}t[e|0]=f;h=e+1|0;f=w[a|0];if(!(f?(f|0)!=44:0)){e=h;break i}t[e+1|0]=f;h=e+2|0;a=g+2|0;f=w[g+2|0];if(!f){e=h;break i}if((f|0)==44){e=h;break i}t[e+2|0]=f;h=e+3|0;a=g+3|0;f=w[g+3|0];if(!f){e=h;break i}if((f|0)==44){e=h;break i}else{t[e+3|0]=f;e=e+4|0;j=j+4|0;g=g+4|0;continue}}}if(!Oc(f,322713,8)){e=t[f+8|0];if(!e){a=v[b+220>>2]&-16;v[b+220>>2]=a;v[c+12>>2]=a;return}a=f+8|0;e=e-48|0;if((e&254)>>>0>9){continue}a=e|v[b+220>>2]&-16;v[b+220>>2]=a;v[c+12>>2]=a;a=f+9|0;continue}if(!Oc(f,258803,8)){a=v[b+220>>2]|16;v[b+220>>2]=a;v[c+12>>2]=a;a=f+8|0;continue}while(1){a=f+1|0;e=w[f|0];if((e|0)==44){continue e}f=a;if(e){continue}break}break f}t[e|0]=0}if(!f|(f|0)==44){continue}}break}}function vab(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;if(e){p=e-1|0;q=e-2|0;m=(e|0)==1;while(1){a=f;u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];f=a+4|0;g=g+4|0;a:{if(!m&l>>>0>=p>>>0){break a}j=l?(l|0)==(q|0)?d:b:c;n=!l&m;if(n){if(j>>>0<2){break a}h=j-1|0;i=h&3;if(j-2>>>0>=3){h=h&-4;while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a>>1];u[g+6>>1]=x[a+2>>1];u[g+8>>1]=x[a>>1];u[g+10>>1]=x[a+2>>1];u[g+12>>1]=x[a>>1];u[g+14>>1]=x[a+2>>1];g=g+16|0;h=h-4|0;if(h){continue}break}}if(!i){break a}while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];g=g+4|0;i=i-1|0;if(i){continue}break}break a}i=j+1>>>1|0;b:{if(j>>>0<3){break b}k=i>>>0>2?i:2;o=k-1|0;h=o&3;if(k-2>>>0>=3){k=o&-4;while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a>>1];u[g+6>>1]=x[a+2>>1];u[g+8>>1]=x[a>>1];u[g+10>>1]=x[a+2>>1];u[g+12>>1]=x[a>>1];u[g+14>>1]=x[a+2>>1];g=g+16|0;k=k-4|0;if(k){continue}break}}if(!h){break b}while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];g=g+4|0;h=h-1|0;if(h){continue}break}}if(i>>>0>=j>>>0){break a}a=n?0:f;k=(i^-1)+j|0;h=j-i&3;if(h){while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];i=i+1|0;g=g+4|0;h=h-1|0;if(h){continue}break}}if(k>>>0<3){break a}while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a>>1];u[g+6>>1]=x[a+2>>1];u[g+8>>1]=x[a>>1];u[g+10>>1]=x[a+2>>1];u[g+12>>1]=x[a>>1];u[g+14>>1]=x[a+2>>1];g=g+16|0;i=i+4|0;if((j|0)!=(i|0)){continue}break}}l=l+1|0;if((l|0)!=(e|0)){continue}break}}return 0}function hLa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=Qb-32|0;Qb=f;a:{b:{c:{d:{e=v[a+8>>2];i=v[a+12>>2];if((e|0)==(i|0)){break d}h=w[b+11|0];m=h<<24>>24;g=(m|0)<0;k=g?v[b>>2]:b;n=g?v[b+4>>2]:h;if(!n){while(1){j=w[e+11|0];g=j<<24>>24;e:{if((g|0)<0?v[e+4>>2]:j){break e}if((g|0)<1){break d}if(w[k|0]!=w[e|0]){break e}g=e;h=k;while(1){j=j-1|0;if(!j){break d}l=w[h+1|0];h=h+1|0;g=g+1|0;if((l|0)==w[g|0]){continue}break}}e=e+20|0;if((i|0)!=(e|0)){continue}break c}}while(1){j=w[e+11|0];g=j<<24>>24;h=(g|0)<0;f:{if((n|0)!=((h?v[e+4>>2]:j)|0)){break f}l=v[e>>2];if(!h){if(!g){break d}g=e;h=k;if(w[h|0]!=(l&255)){break f}while(1){j=j-1|0;if(!j){break d}l=w[h+1|0];h=h+1|0;g=g+1|0;if((l|0)==w[g|0]){continue}break}break f}if(!Pc(l,k,n)){break d}}e=e+20|0;if((i|0)!=(e|0)){continue}break}break c}if((e|0)!=(i|0)){break b}m=t[b+11|0]}k=gc(fc(d),c,d);g:{if((m|0)>=0){v[f+16>>2]=v[b+8>>2];c=v[b+4>>2];v[f+8>>2]=v[b>>2];v[f+12>>2]=c;break g}VB(f+8|0,v[b>>2],v[b+4>>2]);i=v[a+12>>2]}v[f+24>>2]=d;v[f+20>>2]=k;if(y[a+16>>2]>i>>>0){b=v[f+12>>2];v[i>>2]=v[f+8>>2];v[i+4>>2]=b;v[i+8>>2]=v[f+16>>2];b=v[f+24>>2];v[i+12>>2]=v[f+20>>2];v[i+16>>2]=b;v[a+12>>2]=i+20;break a}v[299999]=0;V(2897,a+8|0,f+8|0);a=v[299999];v[299999]=0;if((a|0)!=1){if(t[f+19|0]>-1){break a}dc(v[f+8>>2]);break a}a=P()|0;O()|0;if(t[f+19|0]<=-1){dc(v[f+8>>2])}T(a|0);L()}a=v[e+12>>2];if((a|0)!=(c|0)){if(a){dc(a);v[e+12>>2]=0}v[e+12>>2]=c}v[e+16>>2]=d}Qb=f+32|0}function IOa(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,n=0,o=0,p=0,q=0,r=0,s=0,x=0,y=0,z=0,A=0;x=Qb-208|0;Qb=x;n=v[a+332>>2];a=v[b+84>>2];b=x;while(1){h=v[a+192>>2];l=u[c+96>>1];f=v[a+64>>2];m=u[c+32>>1];j=B(u[c>>1],v[a>>2])<<13|1024;g=B(v[a+128>>2],u[c+64>>1]);o=j+B(g,-11586)>>11;i=B(v[a+32>>2],u[c+16>>1]);p=B(v[a+160>>2],u[c+80>>1]);q=B(v[a+96>>2],u[c+48>>1]);r=B(v[a+224>>2],u[c+112>>1]);k=q-r|0;s=i-(p+k|0)<<2;v[b+140>>2]=o-s;v[b+40>>2]=o+s;l=B(h,l);f=B(f,m);h=B(l+f|0,6810);f=h+B(f,4209)|0;m=j+B(g,9373)|0;o=f+m|0;s=B(k,2531);p=p<<13;y=s+p|0;q=q+r|0;r=B(q,7791);z=y+(r+B(i,11443)|0)|0;v[b+180>>2]=o-z>>11;v[b>>2]=o+z>>11;f=m-f|0;m=(B(i,1812)-r|0)+y|0;v[b+100>>2]=f-m>>11;v[b+80>>2]=f+m>>11;g=j+B(g,-3580)|0;j=h+B(l,-17828)|0;h=g-j|0;k=(p-s|0)-(k<<12)|0;l=B(q,4815);f=k+(B(i,5260)-l|0)|0;v[b+120>>2]=h-f>>11;v[b+60>>2]=f+h>>11;g=g+j|0;i=B(i,10323)-(k+l|0)|0;v[b+160>>2]=g-i>>11;v[b+20>>2]=g+i>>11;b=b+4|0;a=a+4|0;c=c+2|0;A=A+1|0;if((A|0)!=5){continue}break}a=n+128|0;i=0;b=x;while(1){j=v[b+12>>2];k=v[b+4>>2];g=B(j+k|0,6810);c=v[(i<<2)+d>>2]+e|0;k=g+B(k,4209)|0;f=(v[b>>2]<<13)+131072|0;h=v[b+8>>2];n=v[b+16>>2];l=h-n|0;m=f+B(l,2896)|0;h=B(h+n|0,6476);n=m+h|0;t[c|0]=w[a+(k+n>>>18&1023)|0];t[c+4|0]=w[a+(n-k>>>18&1023)|0];g=g+B(j,-17828)|0;j=m-h|0;t[c+1|0]=w[a+(g+j>>>18&1023)|0];t[c+3|0]=w[a+(j-g>>>18&1023)|0];t[c+2|0]=w[a+(f+B(l,-11584)>>>18&1023)|0];b=b+20|0;i=i+1|0;if((i|0)!=10){continue}break}Qb=x+208|0}function Wt(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;g=Qb-32|0;Qb=g;a:{if(!v[c+8>>2]){d=0;if((b|0)<=0){break a}while(1){De(e,g,Dh(c,v[(d<<2)+a>>2],g,8));d=d+1|0;if((d|0)!=(b|0)){continue}break}break a}k=Dh(c,8234,g+24|0,8);j=Dh(c,8235,g+16|0,8);i=Dh(c,8236,g+8|0,8);if(d){if((b|0)<1){break a}d=0;while(1){f=d;b:{if((f|0)>=(b|0)){break b}while(1){if(Dj(v[(f<<2)+a>>2])){break b}f=f+1|0;if((f|0)!=(b|0)){continue}break}f=b}if((d|0)<(f|0)){while(1){De(e,g,Dh(c,v[(d<<2)+a>>2],g,8));d=d+1|0;if((f|0)!=(d|0)){continue}break}}d=f;c:{if((b|0)<=(f|0)){break c}d:{while(1){h=(d<<2)+a|0;if(hk(v[h>>2])){break d}if(Cr(v[h>>2])){break d}d=d+1|0;if((d|0)!=(b|0)){continue}break}d=b}if((d|0)<=(f|0)){d=f;break c}De(e,g+16|0,j);h=d;while(1){h=h-1|0;De(e,g,Dh(c,v[(h<<2)+a>>2],g,8));if((f|0)<(h|0)){continue}break}De(e,g+8|0,i)}if((b|0)>(d|0)){continue}break}break a}De(e,g+16|0,j);e:{if((b|0)<1){break e}d=b-1|0;while(1){f=d;while(1){f:{b=(f<<2)+a|0;if(hk(v[b>>2])){h=f;break f}if(Cr(v[b>>2])){h=f;break f}h=-1;b=(f|0)>0;f=f-1|0;if(b){continue}}break}if((d|0)>(h|0)){while(1){De(e,g,Dh(c,v[(d<<2)+a>>2],g,8));d=d-1|0;if((h|0)<(d|0)){continue}break}}f=h;if((f|0)<=-1){break e}while(1){g:{if(Dj(v[(f<<2)+a>>2])){d=f;break g}d=-1;b=(f|0)>0;f=f-1|0;if(b){continue}}break}h:{if((d|0)>=(h|0)){d=h;break h}De(e,g+24|0,k);f=d;while(1){f=f+1|0;De(e,g,Dh(c,v[(f<<2)+a>>2],g,8));if((f|0)!=(h|0)){continue}break}De(e,g+8|0,i)}if((d|0)>-1){continue}break}}De(e,g+8|0,i)}Qb=g+32|0}function ZOa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=Qb-32|0;Qb=f;a:{e=v[a>>2];g=(v[a+4>>2]-e|0)/12|0;c=g+1|0;if(c>>>0<357913942){h=v[a+8>>2];v[f+24>>2]=a+8;e=(h-e|0)/12|0;h=e<<1;c=e>>>0<178956970?c>>>0>h>>>0?c:h:357913941;if(c){if(c>>>0>=357913942){break a}d=fc(B(c,12))}v[299999]=0;v[f+8>>2]=d;e=B(g,12)+d|0;v[f+16>>2]=e;g=B(c,12)+d|0;v[f+20>>2]=g;v[f+12>>2]=e;b=Q(2659,e|0,b|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){e=b+12|0;v[f+16>>2]=e;c=v[a>>2];d=v[a+4>>2];b:{if((c|0)==(d|0)){d=c;break b}while(1){b=b-12|0;v[b+8>>2]=0;v[b>>2]=0;v[b+4>>2]=0;d=d-12|0;v[b>>2]=v[d>>2];v[b+4>>2]=v[d+4>>2];v[b+8>>2]=v[d+8>>2];v[d+8>>2]=0;v[d>>2]=0;v[d+4>>2]=0;b=v[f+12>>2]-12|0;v[f+12>>2]=b;if((c|0)!=(d|0)){continue}break}c=v[a+4>>2];g=v[f+20>>2];e=v[f+16>>2];d=v[a>>2]}v[a+8>>2]=g;v[a+4>>2]=e;v[a>>2]=b;if((c|0)!=(d|0)){while(1){e=c-12|0;a=v[e>>2];if(a){g=c-8|0;b=v[g>>2];if((a|0)==(b|0)){b=a}else{while(1){c=b-12|0;if(t[b-1|0]<=-1){dc(v[c>>2])}b=c;if((a|0)!=(c|0)){continue}break}b=v[e>>2]}v[g>>2]=a;dc(b)}c=e;if((d|0)!=(c|0)){continue}break}}if(d){dc(d)}Qb=f+32|0;return}h=P()|0;O()|0;a=v[f+16>>2];e=v[f+12>>2];if((a|0)!=(e|0)){while(1){c=a-12|0;v[f+16>>2]=c;g=e;b=v[c>>2];if(b){i=a-8|0;a=v[i>>2];if((b|0)==(a|0)){a=b}else{while(1){d=a-12|0;if(t[a-1|0]<=-1){dc(v[d>>2])}a=d;if((b|0)!=(a|0)){continue}break}a=v[c>>2]}v[i>>2]=b;dc(a);a=v[f+16>>2]}else{a=c}if((g|0)!=(a|0)){continue}break}}a=v[f+8>>2];if(a){dc(a)}T(h|0);L()}ue(a);L()}cf(274079);L()}function n5(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=Qb-16|0;Qb=i;d=v[a+584>>2];g=v[d+840>>2];e=(c|0)/(g|0)|0;if((B(e,g)|0)!=(c|0)){Ld(v[a+628>>2],v[a>>2],48084,0)}c=v[d+32>>2];k=(c|0)<(e|0)?c:e;a:{b:{if(!k){break b}c=0;v[i+12>>2]=0;if(v[d+212>>2]==12){c=jc(B(v[d+112>>2],v[d+36>>2])<<1);v[i+12>>2]=c}while(1){c:{d:{if(c){if((JK(d,i+12|0)|0)!=1){break d}e:{switch(v[d+212>>2]-8|0){case 4:h=B(v[d+36>>2],v[d+112>>2]);if(h>>>0<2){break c}g=v[i+12>>2];c=0;e=h>>>1|0;if((e|0)!=1){e=e&2147483646;while(1){f=B(c,3)+b|0;j=g+(c<<1)|0;t[f|0]=w[j|0]>>>4;t[f+1|0]=w[j|0]<<4;t[f+2|0]=w[j+1|0];j=c|1;f=B(j,3)+b|0;j=g+(j<<1)|0;t[f|0]=w[j|0]>>>4;t[f+1|0]=w[j|0]<<4;t[f+2|0]=w[j+1|0];c=c+2|0;e=e-2|0;if(e){continue}break}}if(!(h&2)){break c}e=B(c,3)+b|0;c=g+(c<<1)|0;t[e|0]=w[c|0]>>>4;t[e+1|0]=w[c|0]<<4;t[e+2|0]=w[c+1|0];break c;case 0:break e;default:break c}}h=B(v[d+36>>2],v[d+112>>2]);if((h|0)<1){break c}g=v[i+12>>2];e=h&3;c=0;if(h-1>>>0>=3){h=h&-4;while(1){t[b+c|0]=w[c+g|0];f=c|1;t[f+b|0]=w[g+f|0];f=c|2;t[f+b|0]=w[g+f|0];f=c|3;t[f+b|0]=w[g+f|0];c=c+4|0;h=h-4|0;if(h){continue}break}}if(!e){break c}while(1){t[b+c|0]=w[c+g|0];c=c+1|0;e=e-1|0;if(e){continue}break}break c}v[i+8>>2]=b;if((JK(d,i+8|0)|0)==1){break c}}a=0;break a}v[a+472>>2]=v[a+472>>2]+1;if((k|0)>=2){k=k-1|0;b=v[d+840>>2]+b|0;c=v[i+12>>2];continue}break}a=v[i+12>>2];if(!a){break b}dc(a)}a=1;if(y[d+140>>2]>2]){break a}a=(IK(d)|0)!=0}Qb=i+16|0;return a|0}function _Ga(a,b,c,d,e,f){a=a|0;b=C(b);c=C(c);d=C(d);e=C(e);f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;k=Qb-32|0;Qb=k;g=a;v[g>>2]=0;v[g+4>>2]=0;v[g+24>>2]=0;v[g+28>>2]=1065353216;v[g+32>>2]=0;v[g+36>>2]=0;v[g+76>>2]=0;v[g+80>>2]=1;v[g+68>>2]=0;v[g+72>>2]=0;v[g+60>>2]=1056964608;v[g+64>>2]=1065353216;u[g+56>>1]=0;v[g+48>>2]=1065353216;v[g+52>>2]=1065353216;v[g+8>>2]=0;v[g+12>>2]=0;v[g+40>>2]=0;v[g+44>>2]=0;v[g+84>>2]=1;v[g+88>>2]=0;v[g+92>>2]=0;v[g+96>>2]=0;v[g+100>>2]=0;v[g+104>>2]=0;v[g+108>>2]=0;v[g+120>>2]=0;v[g+124>>2]=0;v[g+128>>2]=0;v[g+132>>2]=0;v[g+136>>2]=0;v[g+140>>2]=0;h=fc(24);v[g+132>>2]=h;j=h+24|0;v[g+140>>2]=j;v[h+16>>2]=0;v[h+20>>2]=0;v[h+8>>2]=0;v[h+12>>2]=0;v[h>>2]=0;v[h+4>>2]=0;v[g+136>>2]=j;ic(g+148|0,0,88);v[299999]=0;i=Db(3140,k|0,256,C(b),C(c),C(d),C(e))|0;g=v[299999];v[299999]=0;if((g|0)!=1){a:{v[a+88>>2]=v[i>>2];g=v[a+92>>2];if(g){h=v[a+96>>2];if((g|0)==(h|0)){h=g}else{while(1){j=h-12|0;l=v[j>>2];if(l){v[h-8>>2]=l;dc(l)}h=j;if((g|0)!=(h|0)){continue}break}h=v[a+92>>2]}v[a+96>>2]=g;dc(h);v[a+100>>2]=0;v[a+92>>2]=0;v[a+96>>2]=0}v[a+92>>2]=v[i+4>>2];v[a+96>>2]=v[i+8>>2];v[a+100>>2]=v[i+12>>2];g=v[i+20>>2];v[a+104>>2]=v[i+16>>2];v[a+108>>2]=g;g=v[i+28>>2];v[a+112>>2]=v[i+24>>2];v[a+116>>2]=g;v[a+80>>2]=0;v[a+84>>2]=1;b:{g=a+120|0;if((g|0)==(f|0)){break b}h=v[f+4>>2];f=v[f>>2];v[299999]=0;U(2451,g|0,f|0,h|0);f=v[299999];v[299999]=0;if((f|0)!=1){break b}break a}Qb=k+32|0;return}}f=P()|0;O()|0;Ne(a+80|0);T(f|0);L()}function Ns(a){var b=0,c=0,d=0,e=0,f=0;b=v[a+376>>2];if((b|0)>=1){while(1){e=(d<<2)+a|0;f=e;c=v[e+460>>2];if(c){a:{b:{switch(v[e+380>>2]-1|0){case 0:uc(v[c+352>>2]);dc(c);break a;case 1:uc(v[c+4>>2]);dc(c);break a;case 10:uc(v[c+8>>2]);uc(v[c+16>>2]);uc(v[c+24>>2]);dc(c);break a;case 12:b=0;if(u[c+48>>1]>=1){while(1){dc(v[(v[c+52>>2]+B(b,788)|0)+784>>2]);b=b+1|0;if((b|0)>1]){continue}break}}dc(v[c+52>>2]);dc(v[c+60>>2]);dc(v[c+96>>2]);dc(c);break a;case 14:case 15:if(c){uc(v[c+3300>>2]);v[c+3300>>2]=0;b=c+3304|0;uc(v[b>>2]);v[b>>2]=0;b=c+3308|0;uc(v[b>>2]);v[b>>2]=0;b=c+3312|0;uc(v[b>>2]);v[b>>2]=0;b=c+3316|0;uc(v[b>>2]);v[b>>2]=0;b=c+3320|0;uc(v[b>>2]);v[b>>2]=0;b=c+3324|0;uc(v[b>>2]);v[b>>2]=0;b=c+3328|0;uc(v[b>>2]);v[b>>2]=0;b=c+3332|0;uc(v[b>>2]);v[b>>2]=0;b=c+3336|0;uc(v[b>>2]);v[b>>2]=0;b=c+3340|0;uc(v[b>>2]);v[b>>2]=0;b=c+3344|0;uc(v[b>>2]);v[b>>2]=0;b=c+3348|0;uc(v[b>>2]);v[b>>2]=0;b=c+3352|0;uc(v[b>>2]);v[b>>2]=0;uc(v[c+1892>>2]);uc(v[c+2500>>2]);uc(v[c+2508>>2]);uc(v[c+2516>>2]);uc(v[c+2576>>2]);uc(v[c+2880>>2]);uc(v[c+2888>>2]);uc(v[c+2896>>2]);uc(v[c+2932>>2]);dc(c)}break a;default:break b}}uc(c)}v[f+460>>2]=0;b=v[a+376>>2]}d=d+1|0;if((d|0)<(b|0)){continue}break}}v[a+376>>2]=0;uc(v[a+32>>2]);v[a+32>>2]=0;uc(v[a+548>>2]);v[a+548>>2]=0;uc(v[a+372>>2]);v[a+372>>2]=0;uc(v[a+76>>2]);v[a+76>>2]=0;uc(v[a+92>>2]);v[a+92>>2]=0;uc(v[a+96>>2]);v[a+96>>2]=0;uc(v[a+100>>2]);v[a+100>>2]=0;uc(v[a+104>>2]);v[a+104>>2]=0}function YE(a,b){var c=0,d=0,e=0;c=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);v[a>>2]=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=w[b+4|0]|w[b+5|0]<<8|(w[b+6|0]<<16|w[b+7|0]<<24);v[a+4>>2]=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=w[b+8|0]|w[b+9|0]<<8|(w[b+10|0]<<16|w[b+11|0]<<24);v[a+8>>2]=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=w[b+12|0]|w[b+13|0]<<8|(w[b+14|0]<<16|w[b+15|0]<<24);v[a+12>>2]=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=w[b+16|0]|w[b+17|0]<<8|(w[b+18|0]<<16|w[b+19|0]<<24);v[a+16>>2]=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=w[b+20|0]|w[b+21|0]<<8|(w[b+22|0]<<16|w[b+23|0]<<24);v[a+20>>2]=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=w[b+24|0]|w[b+25|0]<<8|(w[b+26|0]<<16|w[b+27|0]<<24);v[a+24>>2]=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);b=w[b+28|0]|w[b+29|0]<<8|(w[b+30|0]<<16|w[b+31|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);v[a+28>>2]=b;e=a+16|0;c=8;while(1){a:{b:{switch(c&7){case 0:d=v[(c>>>1&2147483644)+894640>>2];b=Gib(b,8);b=d^(w[(b>>>16&255)+894720|0]<<16|w[(b>>>24|0)+894720|0]<<24|w[(b>>>8&255)+894720|0]<<8|w[(b&255)+894720|0]);break a;case 4:break b;default:break a}}b=w[(b&255)+894720|0]|(w[(b>>>16&255)+894720|0]<<16|w[(b>>>24|0)+894720|0]<<24|w[(b>>>8&255)+894720|0]<<8)}d=(c<<2)+a|0;b=v[d-32>>2]^b;v[d>>2]=b;c=c+1|0;if((c|0)!=60){continue}break}Lg(e);Lg(a+32|0);Lg(a+48|0);Lg(a- -64|0);Lg(a+80|0);Lg(a+96|0);Lg(a+112|0);Lg(a+128|0);Lg(a+144|0);Lg(a+160|0);Lg(a+176|0);Lg(a+192|0);Lg(a+208|0)}function t9a(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;a:{b:{if(w[a+286|0]|!w[a+285|0]|(w[a+287|0]|w[a+288|0])){break b}if(w[a+289|0]){break b}if(c&1){pc(a,1028,0,0);return 1028}i=c>>>1|0;c:{if(c>>>0<2){break c}d:{e:{h=Ub[v[a+152>>2]](c)|0;if(h){f=i>>>0>1?i:1;j=f&3;if(f-1>>>0>=3){break e}f=h;break d}break a}k=f&2147483644;f=h;while(1){g=w[d|0]|w[d+1|0]<<8;u[f>>1]=g<<8|g>>>8;g=w[d+2|0]|w[d+3|0]<<8;u[f+2>>1]=g<<8|g>>>8;g=w[d+4|0]|w[d+5|0]<<8;u[f+4>>1]=g<<8|g>>>8;g=w[d+6|0]|w[d+7|0]<<8;u[f+6>>1]=g<<8|g>>>8;d=d+8|0;f=f+8|0;k=k-4|0;if(k){continue}break}}if(!j){break c}while(1){k=w[d|0]|w[d+1|0]<<8;u[f>>1]=k<<8|k>>>8;d=d+2|0;f=f+2|0;j=j-1|0;if(j){continue}break}}f:{g:{h:{if(!w[a+114|0]){break h}d=Ub[v[a+152>>2]](36)|0;if(!d){break g}v[d+4>>2]=751;v[d>>2]=752;f=v[a+700>>2];i:{if(f){v[f+8>>2]=d;break i}v[a+696>>2]=d}v[d+8>>2]=0;v[d+12>>2]=f;v[a+700>>2]=d;v[d+16>>2]=v[a+436>>2];v[d+20>>2]=v[a+440>>2];v[d+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=d}v[d+28>>2]=i;if(!i){break h}j=d;f=i<<1;d=Ub[v[a+152>>2]](f)|0;v[j+32>>2]=d;if(!d){break g}gc(d,h,f)}f1(a,i,h);d=0;break f}pc(a,1,0,0);d=1}j:{if(d){break j}if(w[a+112|0]){d=Ub[v[b+4>>2]](a,b,e)|0;if(d){break j}v[v[e>>2]+32>>2]=i;if(!c){return 0}b=Ub[v[a+152>>2]](c)|0;v[v[e>>2]+36>>2]=b;b=v[v[e>>2]+36>>2];if(!b){break a}gc(b,h,c)}d=0;if(!c|!h){break j}Ub[v[a+156>>2]](h,c)}return d|0}pc(a,1029,0,0);return 1029}pc(a,1,0,0);return 1}function R_(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0;j=v[a+8>>2];m=v[a+12>>2];i=v[m+36>>2];a:{b:{if((i|0)<=0){k=6;if(!i){break b}break a}h=Ub[v[j+4>>2]](j,i)|0;if(!h){k=64;h=0;break a}ic(h,0,i)}v[h+100>>2]=j;v[h+96>>2]=a;v[h+104>>2]=v[b>>2];if(c){v[h+8>>2]=v[h+8>>2]|1024}c:{l=Ub[v[j+4>>2]](j,68)|0;if(!l){k=64;break c}i=0;c=ic(l,0,68);v[h+128>>2]=c;v[c+52>>2]=0;d:{if((e|0)<1){break d}a=0;while(1){if(i){break d}i=0;k=(a<<3)+f|0;if(v[k>>2]==1768842098){i=v[k+4>>2];v[c+52>>2]=i}a=a+1|0;if((e|0)!=(a|0)){continue}break}}v[c+60>>2]=-1;a=v[m+48>>2];e:{if(!a){v[b>>2]=v[h+104>>2];break e}k=Ub[a|0](v[b>>2],h,d,e,f)|0;v[b>>2]=v[h+104>>2];if(k){break c}}b=v[h+40>>2];f:{if(!b){break f}a=b+(v[h+36>>2]<<2)|0;c=a-4|0;g:{if(b>>>0<=c>>>0){while(1){i=v[c>>2];h:{if(v[i+4>>2]!=1970170211){break h}i:{switch(x[i+8>>1]){case 3:if(x[i+10>>1]!=10){break h}break g;case 0:break i;default:break h}}if(x[i+10>>1]==4){break g}}c=c-4|0;if(b>>>0<=c>>>0){continue}break}}while(1){a=a-4|0;if(b>>>0>a>>>0){break f}i=v[a>>2];if(v[i+4>>2]!=1970170211){continue}break}}v[h+92>>2]=i}v[g>>2]=h;return 0}if(v[h+36>>2]>=1){i=0;while(1){c=i<<2;a=v[c+v[h+40>>2]>>2];b=v[v[a>>2]+100>>2];d=v[v[a+12>>2]+8>>2];if(d){Ub[d|0](a)}Ub[v[b+8>>2]](b,a);v[c+v[h+40>>2]>>2]=0;i=i+1|0;if((i|0)>2]){continue}break}}a=v[h+40>>2];if(a){Ub[v[j+8>>2]](j,a)}v[h+36>>2]=0;v[h+40>>2]=0}a=v[m+52>>2];if(a){Ub[a|0](h)}if(l){Ub[v[j+8>>2]](j,l)}if(h){Ub[v[j+8>>2]](j,h)}v[g>>2]=0;return k}function XMa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=v[a+8>>2];i=v[a+12>>2];a:{b:{if(f>>>0>=i>>>0){v[b>>2]=8;break b}c=f+1|0;e=w[f|0];d=e<<24>>24;if((d|0)>=0){v[a+8>>2]=c;return e|0}g=v[a+4>>2];j=t[e+849968|0];h=j&65535;if(!h){t[g+36|0]=1;t[g+37|0]=d;v[b>>2]=12;v[a+8>>2]=c;break b}if((c+h|0)-1>>>0>i>>>0){t[g+37|0]=d;v[b>>2]=11;f=1;c:{if(y[a+12>>2]<=c>>>0){break c}while(1){e=w[c|0];if((e&192)==128){t[((f<<24>>24)+g|0)+37|0]=e;f=f+1|0;c=c+1|0;if(c>>>0>2]){continue}break c}break}v[b>>2]=12}t[g+36|0]=f;v[a+8>>2]=c;break b}e=e<<6;d=1;d:{e:{f:{switch((j&65535)-2|0){case 4:d=w[c|0];if((d&192)!=128){break e}c=f+2|0;e=e+d<<6;case 3:d=w[c|0];if((d&192)!=128){break e}c=c+1|0;e=e+d<<6;case 2:d=w[c|0];if((d&192)!=128){break e}c=c+1|0;e=e+d<<6;case 1:d=w[c|0];if((d&192)!=128){break e}c=c+1|0;e=e+d<<6;case 0:d=w[c|0];e=d+e|0;d=(d&192)==128;c=d+c|0;break;default:break f}}v[a+8>>2]=c;if(!d){break d}a=e-v[(h<<2)+850224>>2]|0;if(a>>>0>1114111|(a&-2048)==55296){break d}if(y[(h<<2)+850256>>2]<=a>>>0){break a}break d}v[a+8>>2]=c}a=0;g:{if(c>>>0<=f>>>0){break g}a=c-f|0;d=a&3;h:{if((f^-1)+c>>>0<3){a=0;break h}h=a&-4;a=0;c=g+37|0;while(1){e=a<<24>>24;t[e+c|0]=w[f|0];t[c+(e|1)|0]=w[f+1|0];t[c+(e|2)|0]=w[f+2|0];t[c+(e|3)|0]=w[f+3|0];a=a+4|0;f=f+4|0;h=h-4|0;if(h){continue}break}}if(!d){break g}while(1){t[((a<<24>>24)+g|0)+37|0]=w[f|0];a=a+1|0;f=f+1|0;d=d-1|0;if(d){continue}break}}t[g+36|0]=a;v[b>>2]=12}a=65535}return a|0}function bKa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{l=B(v[b+36>>2],v[b+28>>2]);f=v[a+28>>2];j=l-f|0;e=v[a+272>>2];if(!((j|0)<1|(e|0)<-1)){i=c-4|0;h=e+2|0;g=h&3;b=0;if(e+1>>>0>=3){h=h&-4;while(1){e=b<<2;k=f+v[e+i>>2]|0;ic(k,w[k-1|0],j);k=f+v[c+e>>2]|0;ic(k,w[k-1|0],j);k=f+v[i+(e|8)>>2]|0;ic(k,w[k-1|0],j);e=f+v[i+(e|12)>>2]|0;ic(e,w[e-1|0],j);b=b+4|0;h=h-4|0;if(h){continue}break}}if(g){while(1){e=f+v[i+(b<<2)>>2]|0;ic(e,w[e-1|0],j);b=b+1|0;g=g-1|0;if(g){continue}break}}e=v[a+272>>2]}if((e|0)<1){break a}b=v[a+228>>2];k=b<<6;o=65536-(b<<9)|0;i=0;j=l-2|0;if(!j){while(1){f=i<<2;b=v[f+d>>2];e=c+f|0;f=v[e>>2];g=w[f|0];i=i+1|0;h=v[(i<<2)+c>>2];j=v[e-4>>2];l=w[h|0]+w[j|0]|0;e=g+l|0;p=B(g,o);g=w[f+1|0]+(w[h+1|0]+w[j+1|0]|0)|0;t[b|0]=(p+B(k,g+(e+l|0)|0)|0)+32768>>>16;j=b;b=w[f+1|0];t[j+1|0]=(B(b,o)+B(k,(e+(g<<1)|0)-b|0)|0)+32768>>>16;if(v[a+272>>2]>(i|0)){continue}break a}}while(1){f=i<<2;b=v[f+d>>2];e=c+f|0;f=v[e>>2];l=w[f|0];i=i+1|0;h=v[(i<<2)+c>>2];m=v[e-4>>2];n=w[h|0]+w[m|0]|0;g=l+n|0;e=w[f+1|0]+(w[h+1|0]+w[m+1|0]|0)|0;t[b|0]=(B(l,o)+B(k,e+(g+n|0)|0)|0)+32768>>>16;l=b+1|0;b=f+1|0;n=h+1|0;m=m+1|0;h=j;while(1){f=e;g=e+g|0;e=w[b|0];g=g-e|0;p=B(e,o);e=w[b+1|0]+(w[n+1|0]+w[m+1|0]|0)|0;t[l|0]=(p+B(k,g+e|0)|0)+32768>>>16;l=l+1|0;n=n+1|0;m=m+1|0;b=b+1|0;g=f;h=h-1|0;if(h){continue}break}b=w[b|0];t[l|0]=(B(b,o)+B(k,((e<<1)+g|0)-b|0)|0)+32768>>>16;if(v[a+272>>2]>(i|0)){continue}break}}}function Ts(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(a){if(v[v[a>>2]+8>>2]){g=v[a+4>>2];if(g){c=v[g+48>>2];if(c){a:{if(!v[c>>2]){break a}d=v[g+44>>2];if(!d){break a}if((B(v[d+52>>2],v[d+48>>2])|0)>0){while(1){e=v[c+80>>2]+B(b,568)|0;f=v[e>>2];if(f){dc(f);v[e>>2]=0}f=v[e+548>>2];if(f){dc(f);v[e+548>>2]=0}b=b+1|0;if((b|0)<(B(v[d+52>>2],v[d+48>>2])|0)){continue}break}}b=v[c+80>>2];if(!b){break a}dc(b);v[c+80>>2]=0}dc(c)}c=v[g+44>>2];if(c){b=v[c+44>>2];if(b){dc(b);v[c+44>>2]=0}b=v[c+92>>2];if(b){dc(b);v[c+92>>2]=0}d=0;b=v[c+52>>2];e=v[c+48>>2];if((B(b,e)|0)>0){while(1){f=v[c+88>>2]+B(d,1876)|0;i=v[f+1872>>2];if(i){dc(i);v[f+1872>>2]=0;e=v[c+48>>2];b=v[c+52>>2]}d=d+1|0;if((d|0)<(B(b,e)|0)){continue}break}}b=v[c+88>>2];if(b){dc(b);v[c+88>>2]=0}dc(c)}dc(g)}}c=v[a+20>>2];if(c){dc(c);v[a+20>>2]=0}if((v[a+52>>2]+(v[a+48>>2]+v[a+44>>2]|0)|0)>0){while(1){c=v[a+100>>2]+B(h,384)|0;b=v[c+284>>2];if(b){dc(b);v[c+284>>2]=0}b:{if(v[c+8>>2]){break b}b=v[c+356>>2];if(b){dc(b);v[c+356>>2]=0}b=v[c+352>>2];if(b){dc(b);v[c+352>>2]=0}b=v[c+196>>2];if(!b){break b}dc(b);v[c+196>>2]=0}b=v[c+84>>2];if(b){dc(b);v[c+84>>2]=0}b=v[c+92>>2];if(b){dc(b);v[c+92>>2]=0}b=v[c+188>>2];if(b){dc(b);v[c+188>>2]=0}b=v[c+264>>2];if(b){dc(b);v[c+264>>2]=0}b=v[c+272>>2];if(b){dc(b);v[c+272>>2]=0}b=v[c+280>>2];if(b){dc(b);v[c+280>>2]=0}b=v[c+380>>2];if(b){dc(b);v[c+380>>2]=0}dc(c);h=h+1|0;if((h|0)<(v[a+52>>2]+(v[a+48>>2]+v[a+44>>2]|0)|0)){continue}break}}dc(a)}}function rn(a){var b=0,c=0;c=Qb-16|0;Qb=c;a:{b:{c:{if((ye(a,c+12|0,4)|0)!=4){break c}d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{a=w[c+12|0]|w[c+13|0]<<8|(w[c+14|0]<<16|w[c+15|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if((a|0)<=1818850404){if((a|0)<=1749903735){if((a|0)<=1684632434){if((a|0)==1668246642){break o}if((a|0)==1684107883){break b}if((a|0)!=1684629094){break c}b=17;break a}if((a|0)==1684632435){break l}if((a|0)==1684633120){break h}if((a|0)!=1749838196){break c}b=12;break a}if((a|0)<=1816947059){if((a|0)==1749903736){break e}if((a|0)==1752524064){break p}if((a|0)!=1768188278){break c}b=4;break a}if((a|0)==1816947060){break f}if((a|0)==1818391150){break g}if((a|0)!=1818518631){break c}b=9;break a}q:{if((a|0)<=1885434738){if((a|0)<=1852797548){if((a|0)==1818850405){break q}if((a|0)==1819634976){break n}if((a|0)!=1836411936){break c}b=3;break a}b=0;if((a|0)==1852797549){break a}if((a|0)==1870030194){break k}if((a|0)!=1884055924){break c}b=15;break a}if((a|0)<=1935897197){if((a|0)==1885434739){break d}if((a|0)==1934387572){break j}if((a|0)!=1935766560){break c}b=20;break a}if((a|0)==1935897198){break m}if((a|0)==1936553316){break i}if((a|0)!=1984719220){break c}b=13;break a}b=6;break a}b=19;break a}b=21;break a}b=22;break a}b=7;break a}b=1;break a}b=10;break a}b=11;break a}b=18;break a}b=8;break a}b=5;break a}b=14;break a}b=16;break a}b=23;break a}X(11815,6824,361,193498);L()}b=2}a=b;Qb=c+16|0;return a}function oG(a,b,c,d,e,f,g,h,i){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,w=0,y=0,z=0;a:{if(!a){break a}k=b>>10;if((k|0)>=v[a+44>>2]){break a}j=k<<1;k=v[a+40>>2]+a|0;j=v[(v[a+60>>2]+a|0)+(x[(v[a+52>>2]+a|0)+((b&15)+(x[(x[j+k>>1]+(b>>>4&63)<<1)+k>>1]<<2)<<1)>>1]<<2)>>2];if(!j){break a}b:{c:{d:{if(j>>>0<=2031615){u=v[a+24>>2]+a|0;w=v[a+20>>2]+a|0;s=b-57344|0;y=s>>>0<6400;t=b-983040|0;z=t>>>0<131072;k=0;while(1){l=(j<<1)+w|0;o=(j<<2)+u|0;a=v[o>>2];if(!(!a|!((h|0)!=0|a>>>0>1073741823|y|z)|a&536870912)){r=(m+n|0)+2|0;k=a}b=x[l>>1];e:{if((d|0)>(m|0)){j=(m<<1)+c|0;m=m+1|0;break e}if((f|0)<=(n|0)){break d}j=(n<<1)+e|0;n=n+1|0}p=l+2|0;q=x[j>>1];a=0;j=b;f:{if(j>>>0<2){break f}while(1){if((b|0)<=4){if(q>>>0<=x[(a<<1)+p>>1]){break f}b=a+1|0;if(!((b|0)>=(j|0)|q>>>0>x[(b<<1)+p>>1])){a=b;break f}b=a+2|0;if(!((b|0)>=(j|0)|q>>>0>x[(b<<1)+p>>1])){a=b;break f}a=a+3|0;break f}l=(a+j|0)/2|0;b=q>>>0>1];j=b?l:j;a=b?a:l;b=j-a|0;if((b|0)>1){continue}break}}if((q|0)!=x[(a<<1)+p>>1]|(a|0)>=(j|0)|(a|0)<0){break c}j=v[(o+4|0)+(a<<2)>>2];if(j>>>0<16777216){continue}break}if(!((h|0)!=0|j>>>0>1073741823|s>>>0<6400|t>>>0<131072)|j&536870912){break c}r=(m+n|0)+2|0;k=j;break c}if(!((h|0)!=0|j>>>0>1073741823|b-57344>>>0<6400|b-983040>>>0<131072)){break a}r=2;k=j;if(j&536870912){break a}break b}if(i){break c}a=m+n|0;if((a|0)>19){break c}return-2-a|0}if(r){break b}return 0}o=1;if((k|0)==-2147483647){break a}v[g>>2]=k;o=r}return o}function oNa(a,b){a=a|0;b=b|0;var 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;e=v[a+24>>2];k=v[a+12>>2];d=v[a+8>>2];f=k-d|0;l=v[a+20>>2];j=v[a+16>>2];g=l-j>>1;h=(f|0)<(g|0)?f:g;a:{if((h|0)<8){f=j;break a}g=h>>>3|0;c=g;f=j;b:{while(1){i=w[d|0];u[f>>1]=i;m=w[d+1|0];u[f+2>>1]=m;n=w[d+2|0];u[f+4>>1]=n;o=w[d+3|0];u[f+6>>1]=o;p=w[d+4|0];u[f+8>>1]=p;q=w[d+5|0];u[f+10>>1]=q;r=w[d+6|0];u[f+12>>1]=r;s=w[d+7|0];u[f+14>>1]=s;if((i|m|n|o|p|q|r|s)<<24>>24<0){break b}f=f+16|0;d=d+8|0;i=(c|0)>1;c=c-1|0;if(i){continue}break}c=0}g=g-c|0;c=g<<3;h=h-c|0;if(!e){e=0;c=0;break a}j=(c<<1)+j|0;c=0;if((g|0)<1){break a}while(1){v[e>>2]=c;v[e+28>>2]=c|7;v[e+24>>2]=c|6;v[e+20>>2]=c|5;v[e+16>>2]=c|4;v[e+12>>2]=c|3;v[e+8>>2]=c|2;v[e+4>>2]=c|1;e=e+32|0;c=c+8|0;i=(g|0)>1;g=g-1|0;if(i){continue}break}}c:{d:{e:{f:{if((h|0)<1){g=d;break f}while(1){g=d+1|0;d=t[d|0];if((d|0)<0){break e}u[f>>1]=d&255;f=f+2|0;i=(h|0)>1;d=g;h=h-1|0;if(i){continue}break}}if(g>>>0>=k>>>0){break c}d=15;if(f>>>0>>0){break c}break d}h=v[a+4>>2];t[h+36|0]=1;t[h+37|0]=d;d=12}v[b>>2]=d}g:{if(!e){e=0;break g}b=f-j|0;if(!b){break g}d=b>>1;b=d-1|0;h=d&7;if(h){while(1){v[e>>2]=c;d=d-1|0;e=e+4|0;c=c+1|0;h=h-1|0;if(h){continue}break}}if(b>>>0<7){break g}while(1){v[e>>2]=c;v[e+28>>2]=c+7;v[e+24>>2]=c+6;v[e+20>>2]=c+5;v[e+16>>2]=c+4;v[e+12>>2]=c+3;v[e+8>>2]=c+2;v[e+4>>2]=c+1;e=e+32|0;c=c+8|0;d=d-8|0;if(d){continue}break}}v[a+24>>2]=e;v[a+16>>2]=f;v[a+8>>2]=g}function hra(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;e=Qb-16|0;Qb=e;v[a>>2]=982244;v[a+4>>2]=0;v[299999]=0;g=Q(4342,a+8|0,b|0)|0;b=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{g:{h:{if((b|0)!=1){v[a+52>>2]=0;v[a+56>>2]=0;v[a+44>>2]=0;v[a+60>>2]=0;v[a+64>>2]=0;v[299999]=0;b=a+52|0;v[b>>2]=982500;v[b+4>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;i=b;b=v[299999];v[299999]=0;h=a+44|0;if((b|0)==1){break h}v[299999]=0;b=v[299999];v[299999]=0;if((b|0)==1){break g}v[a+72>>2]=0;v[299999]=0;U(4456,e+8|0,g|0,301722);b=v[299999];v[299999]=0;if((b|0)==1){break f}v[299999]=0;Q(4344,h|0,e+8|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break e}b=v[e+8>>2];v[e+8>>2]=0;i:{if(!b){break i}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(d){break i}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a+60>>2];j:{if(b){d=v[c>>2];while(1){if((d|0)==v[b+8>>2]){break j}b=v[b>>2];if(b){continue}break}}v[299999]=0;b=S(1,12)|0;d=v[299999];v[299999]=0;if((d|0)==1){break g}v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;d=b;f=v[c>>2];if(f){v[299999]=0;v[f+4>>2]=v[f+4>>2]+1;f=v[299999];v[299999]=0;if((f|0)==1){break g}c=v[c>>2]}else{c=0}v[d+8>>2]=c;v[299999]=0;Le(a+52|0,b);b=v[299999];v[299999]=0;if((b|0)==1){break g}}Qb=e+16|0;return a|0}b=P()|0;O()|0;break b}b=P()|0;O()|0;break c}b=P()|0;O()|0;break d}b=P()|0;O()|0;break d}b=P()|0;O()|0;ec(e+8|0)}Ic(i)}ec(h);$c(g)}Qc(a);T(b|0);L()}W(0)|0;O()|0;lc();L()}function tab(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,v=0,y=0,z=0;if(e){v=e-1|0;y=e-2|0;q=(e|0)==1;while(1){a=f;u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];f=a+4|0;g=g+4|0;a:{if(!q&m>>>0>=v>>>0){break a}k=m?(m|0)==(y|0)?d:b:c;i=!m&q;if(i){if(k>>>0<2){break a}i=k-1|0;l=i&3;if(k-2>>>0>=3){i=i&-4;while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a>>1];u[g+6>>1]=x[a+2>>1];u[g+8>>1]=x[a>>1];u[g+10>>1]=x[a+2>>1];u[g+12>>1]=x[a>>1];u[g+14>>1]=x[a+2>>1];g=g+16|0;i=i-4|0;if(i){continue}break}}if(!l){break a}while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];g=g+4|0;l=l-1|0;if(l){continue}break}break a}l=a+2|0;r=k<<1;p=i?0:f;o=p+2|0;i=k+1>>>1|0;if(k>>>0>=3){z=i>>>0>2?i:2;h=1;while(1){u[g>>1]=x[a>>1];n=g+2|0;j=x[a+2>>1];b:{if((j|0)==x[o>>1]){u[n>>1]=j;break b}j=w[l|0]|w[l+1|0]<<8;s=w[o|0]|w[o+1|0]<<8;j=((j<<8|j>>>8)&65535)+(((B(((s<<8|s>>>8)&65535)-((j<<8|j>>>8)&65535)|0,h)<<1)+k|0)/(r|0)|0)&65535;j=j<<8|j>>>8;t[n|0]=j;t[n+1|0]=j>>>8}g=g+4|0;h=h+1|0;if((z|0)!=(h|0)){continue}break}}if(i>>>0>=k>>>0){break a}while(1){u[g>>1]=x[p>>1];a=g+2|0;h=x[l>>1];c:{if((h|0)==x[p+2>>1]){u[a>>1]=h;break c}h=w[l|0]|w[l+1|0]<<8;n=w[o|0]|w[o+1|0]<<8;h=((h<<8|h>>>8)&65535)+(((B(((n<<8|n>>>8)&65535)-((h<<8|h>>>8)&65535)|0,i)<<1)+k|0)/(r|0)|0)&65535;h=h<<8|h>>>8;t[a|0]=h;t[a+1|0]=h>>>8}g=g+4|0;i=i+1|0;if((k|0)!=(i|0)){continue}break}}m=m+1|0;if((m|0)!=(e|0)){continue}break}}return 0}function uU(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=Qb-32|0;Qb=h;e=w[v[v[a+36>>2]+16>>2]];a:{if(((e&223)-65&255)>>>0<=25){g=Ub[v[259707]](10)|0;if(!g){Qd(a,0);break a}t[g|0]=e;xd(a);c=w[v[v[a+36>>2]+16>>2]];b=1;i=10;while(1){b:{c:{d:{if(((c&223)-65&255)>>>0<26|(c-48&255)>>>0<10){break d}e=c&255;if(e-45>>>0<2){break d}if((e|0)!=95){break c}}e=b+1|0;if((e|0)<(i|0)){d=g;break b}i=i<<1;d=Ub[v[259709]](g,i)|0;if(d){break b}c=0;Qd(a,0);Ub[v[259708]](g);break a}t[b+g|0]=0;c=g;break a}g=d;t[b+d|0]=c;xd(a);b=e;f=v[a+36>>2];d=v[f+16>>2];c=w[d|0];if(c){continue}e:{if(v[a+292>>2]){break e}f:{if((d-v[f+12>>2]|0)<501|(v[f+20>>2]-d|0)>499){break f}bh(f);b=v[a+36>>2];if(w[v[b+16>>2]]){break f}if((cd(b)|0)>0){break f}while(1){c=v[a+40>>2];if((c|0)<2){break f}g:{h:{i:{if(!v[294256]){f=c-1|0;v[a+40>>2]=f;b=v[a+48>>2];break i}v[h>>2]=c;b=0;Ub[v[259806]](v[294239],354269,h);c=v[a+40>>2];if((c|0)<1){break g}f=c-1|0;v[a+40>>2]=f;b=v[a+48>>2];j=0;d=0;if((c|0)==1){break h}}j=v[((c<<2)+b|0)-8>>2];d=f}v[a+36>>2]=j;d=(d<<2)+b|0;b=v[d>>2];v[d>>2]=0}Sh(b);b=v[a+36>>2];if(w[v[b+16>>2]]){break f}if((cd(b)|0)<1){continue}break}}if(v[a+292>>2]){break e}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break e}nd(a)}c=w[v[v[a+36>>2]+16>>2]];b=e;continue}}if(!(!v[a+212>>2]|v[a+172>>2]!=-1)){break a}v[a+84>>2]=79;v[h+16>>2]=280407;oc(0,0,0,a,0,1,79,3,0,0,0,0,350078,h+16|0);v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1}Qb=h+32|0;return c}function tG(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b=v[a+288>>2];if((b|0)==1){b=v[a+292>>2];v[a+308>>2]=v[b+28>>2];c=v[b+32>>2];v[a+312>>2]=c;v[b+64>>2]=1;v[b+56>>2]=1;v[b+60>>2]=1;v[b+72>>2]=1;v[b+68>>2]=v[b+36>>2];d=b;b=v[b+12>>2];c=(c>>>0)%(b>>>0)|0;v[d+76>>2]=c?c:b;v[a+316>>2]=1;v[a+320>>2]=0;break a}if(b-1>>>0>=4){c=v[a>>2];v[c+24>>2]=b;v[c+20>>2]=27;v[v[a>>2]+28>>2]=4;Ub[v[v[a>>2]>>2]](a)}b=B(v[a+376>>2],v[a+268>>2]);v[a+308>>2]=((b+v[a+64>>2]|0)-1|0)/(b|0);b=B(v[a+376>>2],v[a+272>>2]);b=((b+v[a+68>>2]|0)-1|0)/(b|0)|0;v[a+316>>2]=0;v[a+312>>2]=b;if(v[a+288>>2]<1){break a}h=a+320|0;c=0;while(1){b=v[((c<<2)+a|0)+292>>2];e=v[b+8>>2];v[b+56>>2]=e;f=v[b+12>>2];v[b+60>>2]=f;g=B(e,f);v[b+64>>2]=g;v[b+68>>2]=B(e,v[b+36>>2]);d=y[b+28>>2]%(e>>>0)|0;v[b+72>>2]=d?d:e;d=b;b=y[b+32>>2]%(f>>>0)|0;v[d+76>>2]=b?b:f;if((g+i|0)>=11){b=v[a>>2];v[b+20>>2]=14;Ub[v[b>>2]](a)}b:{if((g|0)<1){break b}b=B(e,f);e=b-1|0;b=b&3;if(b){while(1){f=v[a+316>>2];v[a+316>>2]=f+1;v[((f<<2)+a|0)+320>>2]=c;g=g-1|0;b=b-1|0;if(b){continue}break}}if(e>>>0<3){break b}while(1){b=v[a+316>>2];v[a+316>>2]=b+1;v[(b<<2)+h>>2]=c;b=v[a+316>>2];v[a+316>>2]=b+1;v[(b<<2)+h>>2]=c;b=v[a+316>>2];v[a+316>>2]=b+1;v[(b<<2)+h>>2]=c;b=v[a+316>>2];v[a+316>>2]=b+1;v[(b<<2)+h>>2]=c;b=(g|0)>4;g=g-4|0;if(b){continue}break}}c=c+1|0;if((c|0)>=v[a+288>>2]){break a}i=v[a+316>>2];continue}}b=v[a+240>>2];if((b|0)>=1){d=a;a=B(b,v[a+308>>2]);v[d+236>>2]=(a|0)<65535?a:65535}}function Mla(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=Qb-32|0;Qb=d;e=a- -64|0;c=e;f=v[c+24>>2];v[d+28>>2]=c;v[d+24>>2]=f;a:{c=v[d+24>>2];if(c){while(1){if((e|0)!=v[d+28>>2]){break a}b:{if(v[c+24>>2]==(b|0)){v[d+20>>2]=e;v[d+16>>2]=c;v[d+24>>2]=v[c>>2];Tn(e,d+16|0);c=v[d+24>>2];break b}c=v[c>>2];v[d+24>>2]=c}if(c){continue}break}}c:{d:{e=a+36|0;c=e;c=v[v[c+12>>2]+((b>>>0)%y[c+8>>2]<<2)>>2];if(c){while(1){if(v[c+12>>2]==(b|0)&v[c+16>>2]==(b|0)){break d}c=v[c+8>>2];if(c){continue}break}}v[d+28>>2]=e;v[d+24>>2]=0;break c}v[d+28>>2]=e;v[d+24>>2]=c;Tn(e,d+24|0)}e:{f:{f=a+8|0;a=f;c=v[v[a+12>>2]+((b>>>0)%y[a+8>>2]<<2)>>2];if(c){while(1){if(v[c+12>>2]==(b|0)&v[c+16>>2]==(b|0)){break f}c=v[c+8>>2];if(c){continue}break}}v[d+28>>2]=f;v[d+24>>2]=0;break e}v[d+28>>2]=f;v[d+24>>2]=c;a=v[c+20>>2];if(a){Ic(a);dc(a)}Tn(f,d+24|0)}a=v[f+24>>2];v[d+20>>2]=f;v[d+16>>2]=a;c=v[d+20>>2];e=c;a=v[d+16>>2];v[d+24>>2]=a;v[d+28>>2]=c;g:{c=a;if(!c){break g}if((f|0)==(e|0)){while(1){a=v[c+20>>2];v[d+16>>2]=0;v[d+20>>2]=0;c=v[a+8>>2];h:{if(!c){break h}while(1){if(v[c+8>>2]!=(b|0)){c=v[c>>2];if(c){continue}break h}break}v[d+20>>2]=a;v[d+16>>2]=c;Mm(a,d+16|0)}i:{if(!v[a+4>>2]){Ic(a);dc(a);a=v[d+24>>2];v[d+8>>2]=a;v[d+12>>2]=v[d+28>>2];if(a){v[d+24>>2]=v[a>>2]}Tn(f,d+8|0);c=v[d+24>>2];break i}a=v[d+24>>2];if(!a){break g}c=v[a>>2];v[d+24>>2]=c}if(!c){break g}if((f|0)==v[d+28>>2]){continue}break}}Ei(d+24|0,f);L()}Qb=d+32|0;return}Ei(d+24|0,e);L()}function rx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=Qb-32|0;Qb=f;a:{b:{c:{d:{d=v[a+20>>2];if(!d){break d}b=x[a+12>>1];if(v[282398]<(b+x[a+14>>1]|0)){a=vc(f+8|0,260231,271771,592,225838,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}g=x[a+8>>1];c=0-b|0;e=b+x[a+10>>1]|0;if((c|0)<(e|0)){b=b+v[282397]|0;while(1){if(w[b+c|0]){break c}c=c+1|0;if((e|0)!=(c|0)){continue}break}}if(!g){break d}e=0;while(1){e:{if(d){break e}b=v[a+36>>2];if(!b){break e}Nm(a,b);g=x[a+8>>1]}f:{if(e>>>0>=g>>>0){d=x[a+12>>1];if(v[282398]<(d+x[a+14>>1]|0)){a=vc(f+8|0,260231,271771,592,225838,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}b=v[282397]+d|0;break f}d=x[a+12>>1];b=v[a+20>>2]+(d+B(x[a+14>>1],e)|0)|0}g:{if(!d){break g}c=0-d|0;h=(c|0)>-1?c:-1;h:{while(1){if(!w[b+c|0]){i=(c|0)==(h|0);c=c+1|0;if(!i){continue}break h}break}a=vc(f+8|0,291936,241521,1671,226732,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}c=x[a+10>>1];d=d+c|0;while(1){if(!w[b+c|0]){c=c+1|0;if(d>>>0>c>>>0){continue}break g}break}a=vc(f+8|0,291913,241521,1674,226732,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}e=e+1|0;if(e>>>0>=g>>>0){break d}d=v[a+20>>2];continue}}Qb=f+32|0;return}a=vc(f+8|0,291958,241521,1665,226732,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function hG(a){var b=0,c=0,d=0;c=-2;a:{if(!v[a+36>>2]|(!a|!v[a+32>>2])){break a}b=v[a+28>>2];if(!b|v[b>>2]!=(a|0)){break a}b:{c:{d=v[b+4>>2];switch(d-57|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 13:case 14:case 15:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 47:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:break a;case 0:case 12:case 16:case 34:case 46:case 56:break b;default:break c}}if((d|0)==666){break b}if((d|0)!=42){break a}}v[a+44>>2]=2;v[a+8>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;v[b+20>>2]=0;v[b+16>>2]=v[b+8>>2];c=v[b+24>>2];if((c|0)<=-1){c=0-c|0;v[b+24>>2]=c}d=(c|0)==2;v[b+4>>2]=d?57:c?42:113;c=a;d:{if(d){d=Kf(0,0,0);break d}d=$m(0,0,0)}v[c+48>>2]=d;c=0;v[b+40>>2]=0;v[b+5820>>2]=0;u[b+5816>>1]=0;v[b+2872>>2]=876696;v[b+2864>>2]=b+2684;v[b+2860>>2]=876676;v[b+2852>>2]=b+2440;v[b+2848>>2]=876656;v[b+2840>>2]=b+148;JV(b)}if(!c){a=v[a+28>>2];v[a+60>>2]=v[a+44>>2]<<1;b=v[a+68>>2];d=(v[a+76>>2]<<1)-2|0;u[b+d>>1]=0;ic(b,0,d);v[a+5812>>2]=0;v[a+116>>2]=0;v[a+120>>2]=2;v[a+104>>2]=0;v[a+108>>2]=0;v[a+92>>2]=0;v[a+96>>2]=2;v[a+72>>2]=0;b=B(v[a+132>>2],12);v[a+144>>2]=x[b+873284>>1];v[a+140>>2]=x[b+873280>>1];v[a+128>>2]=x[b+873282>>1];v[a+124>>2]=x[b+873286>>1]}return c}function aw(a,b,c){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,p=0,q=0;if((c|0)>1){d=v[a>>2];if(d){dc(d);v[a>>2]=0}a:{e=v[b+4>>2];if((e|0)<2){break a}f=v[b>>2];h=A[f>>3];d=1;while(1){g=h;h=A[f+(d<<3)>>3];if(!(g>h)){d=d+1|0;if((e|0)!=(d|0)){continue}break a}break}X(19336,6744,952,188362);L()}e=jc(c<<3);v[a>>2]=e;if(!e){return-1}v[a+4>>2]=c;if((c|0)>=1){b:{d=0;i=v[b+4>>2];if((i|0)<=0){f=c&7;if(c-1>>>0>=7){a=c&-8;while(1){b=d<<3;c=b+e|0;v[c>>2]=0;v[c+4>>2]=1072693248;c=e+(b|8)|0;v[c>>2]=0;v[c+4>>2]=1072693248;c=e+(b|16)|0;v[c>>2]=0;v[c+4>>2]=1072693248;c=e+(b|24)|0;v[c>>2]=0;v[c+4>>2]=1072693248;c=e+(b|32)|0;v[c>>2]=0;v[c+4>>2]=1072693248;c=e+(b|40)|0;v[c>>2]=0;v[c+4>>2]=1072693248;c=e+(b|48)|0;v[c>>2]=0;v[c+4>>2]=1072693248;b=e+(b|56)|0;v[b>>2]=0;v[b+4>>2]=1072693248;d=d+8|0;a=a-8|0;if(a){continue}break}}if(!f){break b}while(1){a=e+(d<<3)|0;v[a>>2]=0;v[a+4>>2]=1072693248;d=d+1|0;f=f-1|0;if(f){continue}break}break b}p=+(c-1|0);l=i-1|0;j=+(l|0);k=v[b>>2];f=0;while(1){h=+(f|0)/p;d=0;q=e+(f<<3)|0;c:{d:{while(1){a=d;g=A[(d<<3)+k>>3];if(h==g){while(1){b=d;d=d+1|0;g=1;if((i|0)<=(d|0)){break c}if(h==A[(d<<3)+k>>3]){continue}break}g=(+(a|0)/j+ +(b|0)/j)*.5;break c}d=a+1|0;if(!(!(h>g)|(a|0)>=(l|0))){m=A[(d<<3)+k>>3];if(h>3]=g;f=f+1|0;if((f|0)!=(c|0)){continue}break}}}return 0}X(29177,6744,944,188362);L()}function $9a(a){a=a|0;var 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;if(v[a+588>>2]>=1){e=v[v[a+536>>2]+88>>2];e=(v[e+1176>>2]+B(v[e+1168>>2],v[a+572>>2])|0)+B(v[e+1164>>2],v[a+580>>2])|0;f=v[a+644>>2];while(1){d=e+6|0;b=w[d|0]|w[d+1|0]<<8;h=(b<<8|b>>>8)&65535;b=w[f+6|0]|w[f+7|0]<<8;b=(b<<8|b>>>8)&65535;a:{if(!b){break a}if(!(h?(b|0)!=65535:0)){u[e>>1]=x[f>>1];u[e+2>>1]=x[f+2>>1];u[e+4>>1]=x[f+4>>1];u[e+6>>1]=x[f+6>>1];break a}c=w[f|0]|w[f+1|0]<<8;g=(c<<8|c>>>8)&65535;c=w[f+2|0]|w[f+3|0]<<8;l=(c<<8|c>>>8)&65535;c=w[f+4|0]|w[f+5|0]<<8;m=(c<<8|c>>>8)&65535;c=w[e|0]|w[e+1|0]<<8;n=(c<<8|c>>>8)&65535;c=e+2|0;i=w[c|0]|w[c+1|0]<<8;o=(i<<8|i>>>8)&65535;i=e+4|0;j=w[i|0]|w[i+1|0]<<8;j=(j<<8|j>>>8)&65535;if((h|0)==65535){h=b^65535;d=(B(b,g)+B(h,n)|0)+32768|0;d=(d>>>16|0)+d>>>16|0;d=d<<8|d>>>8;t[e|0]=d;t[e+1|0]=d>>>8;d=(B(b,l)+B(h,o)|0)+32768|0;d=(d>>>16|0)+d>>>16|0;d=d<<8|d>>>8;t[c|0]=d;t[c+1|0]=d>>>8;b=(B(b,m)+B(h,j)|0)+32768|0;b=(b>>>16|0)+b>>>16|0;b=b<<8|b>>>8;t[i|0]=b;t[i+1|0]=b>>>8;break a}k=b<<16;p=b^65535;b=(B(p,h^65535)^-1)>>>16|0;k=(k>>>0)/(b>>>0)|0;h=(B(h,p)>>>0)/(b>>>0)|0;g=(B(g,k)+B(h,n)|0)+32767>>>16|0;g=g<<8|g>>>8;t[e|0]=g;t[e+1|0]=g>>>8;g=(B(l,k)+B(h,o)|0)+32767>>>16|0;g=g<<8|g>>>8;t[c|0]=g;t[c+1|0]=g>>>8;c=(B(m,k)+B(h,j)|0)+32767>>>16|0;c=c<<8|c>>>8;t[i|0]=c;t[i+1|0]=c>>>8;b=b<<8|b>>>8;t[d|0]=b;t[d+1|0]=b>>>8}f=f+8|0;e=e+8|0;q=q+1|0;if((q|0)>2]){continue}break}}return 0}function _C(a,b){var c=0,d=0,e=0;d=Qb-16|0;Qb=d;if(!w[b+32|0]){Sn(b,0)}v[a>>2]=0;v[a+4>>2]=v[282402];a:{b:{c:{d:{e:{c=v[b+8>>2];f:{if(!c|!v[c+8>>2]){break f}v[299999]=0;U(4713,d+8|0,b|0,0);c=v[299999];v[299999]=0;if((c|0)==1){break b}c=v[d+8>>2];if(!c){ec(d+8|0);break f}c=v[c+8>>2];ec(d+8|0);if(!c){break f}v[d+8>>2]=0;v[d+12>>2]=v[282402];g:{b=v[b+8>>2];h:{i:{if(b){c=v[v[b>>2]+28>>2];v[299999]=0;U(c|0,d|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break i}b=P()|0;O()|0;break h}v[d>>2]=0}v[299999]=0;Q(4344,d+8|0,d|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){b=v[d>>2];v[d>>2]=0;if(!b){break g}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;e=v[299999];v[299999]=0;if((e|0)!=1){if(c){break g}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break g}}W(0)|0;O()|0;lc();L()}b=P()|0;O()|0;ec(d)}ec(d+8|0);break a}b=v[d+8>>2];v[d+12>>2]=v[(b?b+12|0:1129608)>>2];b=0;v[299999]=0;V(5403,d|0,d+8|0);c=v[299999];v[299999]=0;j:{if((c|0)!=1){c=v[d>>2];if(c){b=v[c+8>>2]}ec(d);c=b;b=v[d+8>>2];b=c+v[(b?b+12|0:1129608)>>2]|0;c=b-1|0;while(1){e=w[b|0];if(!e|(e|0)==35|(e|0)==63){break j}c=(e|0)==47?b:c;b=b+1|0;continue}}b=P()|0;O()|0;break c}v[299999]=0;c=Y(4605,d|0,c+1|0,(c^-1)+b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break e}v[299999]=0;Q(4535,a|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break d}ec(c);ec(d+8|0)}Qb=d+16|0;return}b=P()|0;O()|0;break c}b=P()|0;O()|0;ec(c)}ec(d+8|0);break a}b=P()|0;O()|0}ec(a);T(b|0);L()}function q0a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a=ic(a,0,656);v[a+56>>2]=0;v[a+48>>2]=0;v[a+52>>2]=0;v[a+40>>2]=0;v[a+44>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=0;v[a+4>>2]=0;v[a>>2]=v[b>>2];v[a+4>>2]=v[b+4>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=v[b+12>>2];v[a+16>>2]=v[b+16>>2];d=v[b+20>>2];v[a+40>>2]=b+48;v[a+36>>2]=b+40;v[a+32>>2]=b+32;v[a+28>>2]=b+28;v[a+24>>2]=b+24;v[a+20>>2]=d;if(c){t[a+44|0]=0;d=w[b+68|0]|w[b+69|0]<<8;e=w[b+70|0];v[a+540>>2]=b+1508;f=v[95463];v[a+52>>2]=v[95462];v[a+56>>2]=f;t[a+48|0]=c;t[a+47|0]=e;t[a+45|0]=d;t[a+46|0]=d>>>8;v[a+604>>2]=v[b+1348>>2];v[a+584>>2]=v[b+1352>>2];v[a+580>>2]=v[b+1356>>2];v[a+588>>2]=v[b+1472>>2];v[a+644>>2]=v[b+1468>>2];v[a+556>>2]=v[b+1364>>2];v[a+572>>2]=v[b+1368>>2];v[a+612>>2]=v[b+1372>>2];v[a+616>>2]=v[b+1376>>2];v[a+648>>2]=v[b+1496>>2];v[a+652>>2]=v[b+1500>>2];v[a+608>>2]=v[b+1360>>2];return}t[a+44|0]=w[b+64|0];c=w[b+65|0]|w[b+66|0]<<8;d=w[b+67|0];e=v[95463];v[a+52>>2]=v[95462];v[a+56>>2]=e;t[a+48|0]=0;t[a+47|0]=d;t[a+45|0]=c;t[a+46|0]=c>>>8;c=v[b+108>>2];v[a+532>>2]=c;v[a+540>>2]=c+3104;v[a+536>>2]=v[b+768>>2];v[a+560>>2]=v[b+732>>2];v[a+576>>2]=v[b+748>>2];v[a+568>>2]=v[b+740>>2];v[a+556>>2]=v[b+728>>2];v[a+572>>2]=v[b+744>>2];c=v[b+736>>2];v[a+544>>2]=b+584;v[a+564>>2]=c;t[a+548|0]=w[b+593|0];v[a+588>>2]=v[b+760>>2];v[a+596>>2]=v[b+772>>2];v[a+600>>2]=v[b+776>>2]}function hl(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{if(!a){break a}b:{c:{d:{b=v[a+4>>2];switch(b-9|0){case 0:case 4:break b;case 9:break d;default:break c}}while(1){b=v[a>>2];c=v[a+8>>2];if(c){Ub[v[259708]](c)}c=v[a+12>>2];if(c){Ub[v[259708]](c)}Ub[v[259708]](a);a=b;if(b){continue}break}break a}c=v[a+32>>2];if(c){g=v[c+80>>2]}while(1){f=v[a+24>>2];if((b|0)!=14){e:{if(!v[294265]){break e}b=v[294263];if(!b){break e}Ub[b|0](a)}b=v[a+12>>2];f:{if(b){if(v[a+4>>2]==5){break f}hl(b)}d=v[a+4>>2];g:{if(d>>>0>20|!(1<>2];if(!b){break g}while(1){c=v[b+24>>2];Nu(b);b=c;if(b){continue}break}d=v[a+4>>2]}h:{if(1<>>0<=20:0){break h}e=v[a+40>>2];if((e|0)==(a+44|0)|!e){break h}c=g;if(c){while(1){b=v[c+16>>2];if(b){while(1){if(b+20>>>0<=e>>>0&y[b+4>>2]>=e>>>0){break h}b=v[b>>2];if(b){continue}break}}c=v[c+20>>2];if(c){continue}break}}Ub[v[259708]](e);d=v[a+4>>2]}if(!(1<>>0>20){break f}b=v[a+48>>2];if(!b){break f}while(1){c=v[b>>2];d=v[b+8>>2];if(d){Ub[v[259708]](d)}d=v[b+12>>2];if(d){Ub[v[259708]](d)}Ub[v[259708]](b);b=c;if(b){continue}break}}d=v[a+8>>2];i:{if(!d){break i}j:{switch(v[a+4>>2]-3|0){case 0:case 5:break i;default:break j}}c=g;if(c){while(1){b=v[c+16>>2];if(b){while(1){if(d>>>0<=y[b+4>>2]&d>>>0>=b+20>>>0){break i}b=v[b>>2];if(b){continue}break}}c=v[c+20>>2];if(c){continue}break}}Ub[v[259708]](d)}Ub[v[259708]](a)}if(!f){break a}b=v[f+4>>2];a=f;continue}}$p(a)}}function dea(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=Qb-16|0;Qb=e;v[a>>2]=0;a:{b:{c:{d:{if(c){v[299999]=0;f=S(1,2860)|0;c=v[299999];v[299999]=0;if((c|0)==1){break c}c=0;e:{g=v[b>>2];if(g){v[299999]=0;v[g+4>>2]=v[g+4>>2]+1;c=v[299999];v[299999]=0;if((c|0)==1){break e}c=v[b>>2]}v[299999]=0;v[e+8>>2]=c;b=Y(5395,f|0,e+8|0,d|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){b=P()|0;O()|0;ec(e+8|0);dc(f);break b}v[299999]=0;Q(4336,a|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){v[e+8>>2]=0;if(!c){break d}v[299999]=0;a=v[c+4>>2]-1|0;v[c+4>>2]=a;b=v[299999];v[299999]=0;if((b|0)!=1){if(a){break d}v[299999]=0;R(4338,c|0);a=v[299999];v[299999]=0;if((a|0)!=1){break d}}break a}b=P()|0;O()|0;ec(e+8|0);break b}b=P()|0;O()|0;dc(f);break b}v[299999]=0;f=S(1,2860)|0;c=v[299999];v[299999]=0;if((c|0)==1){break c}c=0;f:{g=v[b>>2];if(g){v[299999]=0;v[g+4>>2]=v[g+4>>2]+1;c=v[299999];v[299999]=0;if((c|0)==1){break f}c=v[b>>2]}v[299999]=0;v[e>>2]=c;b=Y(5396,f|0,e|0,d|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){b=P()|0;O()|0;ec(e);dc(f);break b}v[299999]=0;Q(4336,a|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){v[e>>2]=0;if(!c){break d}v[299999]=0;a=v[c+4>>2]-1|0;v[c+4>>2]=a;b=v[299999];v[299999]=0;if((b|0)!=1){if(a){break d}v[299999]=0;R(4338,c|0);a=v[299999];v[299999]=0;if((a|0)!=1){break d}}break a}b=P()|0;O()|0;ec(e);break b}b=P()|0;O()|0;dc(f);break b}Qb=e+16|0;return}b=P()|0;O()|0}ec(a);T(b|0);L()}W(0)|0;O()|0;lc();L()}function Xt(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=Qb-16|0;v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=0;v[c+4>>2]=0;e=v[b+8>>2];if((e|0)<1){f=0}else{f=v[b>>2];if((e|0)!=1){d=e&-2;while(1){i=l<<2;k=c+(w[v[i+f>>2]+88|0]<<2)|0;v[k>>2]=v[k>>2]+1;i=c+(w[v[f+(i|4)>>2]+88|0]<<2)|0;v[i>>2]=v[i>>2]+1;l=l+2|0;d=d-2|0;if(d){continue}break}}if(e&1){d=c+(w[v[f+(l<<2)>>2]+88|0]<<2)|0;v[d>>2]=v[d>>2]+1}i=v[c+8>>2];d=v[c>>2];k=v[c+4>>2];f=v[c+12>>2]}a:{b:{c:{d:{d=(d|0)<(k|0);d=v[(c|d<<2)>>2]<(i|0)?2:d;d=(f|0)>v[(c|d<<2)>>2]?3:d;switch(d-1|0){case 2:break b;case 0:break c;case 1:break d;default:break a}}if((e|0)<1){break a}g=A[a+120>>3];h=A[a+112>>3];c=v[b>>2];b=0;while(1){a=v[c+(b<<2)>>2];j=A[a+32>>3];A[a+32>>3]=h-A[a+16>>3];A[a+16>>3]=h-j;j=A[a+40>>3];A[a+40>>3]=g-A[a+24>>3];A[a+24>>3]=g-j;t[a+88|0]=w[a+88|0]+2&3;b=b+1|0;if((e|0)!=(b|0)){continue}break}break a}g=A[a+112>>3];if((e|0)>=1){f=v[b>>2];b=0;while(1){c=v[f+(b<<2)>>2];h=A[c+32>>3];A[c+32>>3]=A[c+40>>3];j=A[c+16>>3];A[c+16>>3]=A[c+24>>3];A[c+40>>3]=g-j;A[c+24>>3]=g-h;t[c+88|0]=w[c+88|0]-1&3;b=b+1|0;if((e|0)!=(b|0)){continue}break}}h=A[a+120>>3];A[a+120>>3]=g;A[a+112>>3]=h;return d}g=A[a+120>>3];if((e|0)>=1){f=v[b>>2];b=0;while(1){c=v[f+(b<<2)>>2];h=A[c+40>>3];A[c+40>>3]=A[c+32>>3];j=A[c+24>>3];A[c+24>>3]=A[c+16>>3];A[c+32>>3]=g-j;A[c+16>>3]=g-h;t[c+88|0]=w[c+88|0]+1&3;b=b+1|0;if((e|0)!=(b|0)){continue}break}}A[a+120>>3]=A[a+112>>3];A[a+112>>3]=g}return d}function Afa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Qb+-64|0;Qb=c;d=v[b>>2];a:{b:{if(!d){b=vc(c+40|0,240130,242139,1347,344740,0);v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break a}a=P()|0;O()|0;qc(b);break b}v[c+12>>2]=0;c:{d:{e:{f:{while(1){v[299999]=0;fa(5304,a|0,c+36|0,b|0,c+8|0,c+24|0);e=v[299999];v[299999]=0;if((e|0)==1){break f}if(v[c+36>>2]!=11){continue}break}if(w[a+49|0]){break d}v[299999]=0;b=aa(4369,c+40|0,227275,242139,1362,344740,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break e}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break a}a=P()|0;O()|0;qc(b);break c}a=P()|0;O()|0;break c}a=P()|0;O()|0;break c}g:{h:{i:{j:{a=v[d+40>>2];if((a|0)>v[d+44>>2]){break j}while(1){b=v[(v[d+28>>2]+B(a-v[d+32>>2]|0,12)|0)+4>>2];v[299999]=0;R(5066,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break i}if(v[d+44>>2]<=(a|0)){break j}a=a+1|0;if((a|0)>=v[d+40>>2]){continue}break}v[299999]=0;b=aa(4369,c+40|0,227445,271729,619,308234,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break g}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break a}a=P()|0;O()|0;qc(b);break c}a=v[c+12>>2];v[c+12>>2]=0;k:{if(!a){break k}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;d=v[299999];v[299999]=0;if((d|0)==1){break h}if(b){break k}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break h}}Qb=c- -64|0;return}a=P()|0;O()|0;break c}W(0)|0;O()|0;lc();L()}a=P()|0;O()|0}xx(c+8|0)}T(a|0)}L()}function p5(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=v[a+584>>2];if(d){a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{if((b|0)<=34907){if((b|0)==262){break j}if((b|0)==347){break m}if((b|0)!=530){break d}v[d+932>>2]=1;return Ub[v[d+896>>2]](a,530,c)|0}n:{switch(b-34908|0){case 3:break e;case 2:break f;case 1:break g;case 0:break h;default:break n}}switch(b-65537|0){case 2:break i;case 1:break k;case 0:break l;default:break d}}e=v[c>>2];if(e){break c}return 0}v[d+920>>2]=v[c>>2];return 1}c=v[c>>2];v[d+924>>2]=c;d=v[a+12>>2];b=d&-16385;v[a+12>>2]=b;if(!(x[a+138>>1]!=1|x[a+90>>1]!=6|(c|0)!=1)){b=d|16384;v[a+12>>2]=b}if(v[a+508>>2]>=1){c=a;if(b&1024){b=Uk(a)}else{b=-1}v[c+508>>2]=b}b=1;if(v[a+588>>2]<1){break a}f=a,g=Di(a),v[f+588>>2]=g;return 1}b=Ub[v[d+896>>2]](a,262,c)|0;c=v[a+12>>2];d=c&-16385;v[a+12>>2]=d;if(!(x[a+138>>1]!=1|x[a+90>>1]!=6|v[v[a+584>>2]+924>>2]!=1)){d=c|16384;v[a+12>>2]=d}if(v[a+508>>2]>=1){c=a;if(d&1024){d=Uk(a)}else{d=-1}v[c+508>>2]=d}if(v[a+588>>2]<1){break a}f=a,g=Di(a),v[f+588>>2]=g;return b|0}v[d+928>>2]=v[c>>2];return 1}v[d+936>>2]=v[c>>2];break b}Ht(d+940|0,v[c>>2]);break b}v[d+944>>2]=v[c>>2];break b}Ht(d+948|0,v[c>>2]);break b}return Ub[v[d+896>>2]](a,b,c)|0}pP(d+912|0,v[c+4>>2],e);v[d+916>>2]=e;v[a+48>>2]=v[a+48>>2]|4}c=tf(a,b);if(!c){return 0}b=1;c=x[c+12>>1];d=(c>>>3&8188)+a|0;v[d+40>>2]=v[d+40>>2]|1<>2]=v[a+12>>2]|8}return b|0}X(29012,7121,1634,88046);L()}function _db(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=v[v[a+2248>>2]+88>>2];d=v[b+1168>>2];c=(v[b+1176>>2]+B(d,v[a+572>>2])|0)+B(d,v[a+2268>>2])|0;b=v[b+1164>>2];b=(c+B(b,v[a+580>>2])|0)+B(b,v[a+2264>>2])|0;d=v[a+636>>2]+v[a+616>>2]|0;c=v[a+588>>2];a:{b:{if(w[a+2253|0]!=4){if((c|0)<=0){break a}while(1){c=w[b|0]|w[b+1|0]<<8;e=(c<<8|c>>>8)&65535;c=w[d|0]|w[d+1|0]<<8;c=e+((c<<8|c>>>8)&65535)&65535;c=c<<8|c>>>8;t[b|0]=c;t[b+1|0]=c>>>8;c=b+2|0;e=w[c|0]|w[c+1|0]<<8;g=(e<<8|e>>>8)&65535;e=w[d+2|0]|w[d+3|0]<<8;e=g+((e<<8|e>>>8)&65535)&65535;e=e<<8|e>>>8;t[c|0]=e;t[c+1|0]=e>>>8;c=b+4|0;e=w[c|0]|w[c+1|0]<<8;g=(e<<8|e>>>8)&65535;e=w[d+4|0]|w[d+5|0]<<8;e=g+((e<<8|e>>>8)&65535)&65535;e=e<<8|e>>>8;t[c|0]=e;t[c+1|0]=e>>>8;d=d+6|0;b=B(v[a+584>>2],6)+b|0;c=v[a+588>>2];f=f+1|0;if((c|0)>(f|0)){continue}break}break b}if((c|0)<1){break a}while(1){t[b|0]=w[d|0];t[b+1|0]=w[d+1|0];t[b+2|0]=w[d+2|0];t[b+3|0]=w[d+3|0];t[b+4|0]=w[d+4|0];t[b+5|0]=w[d+5|0];d=d+6|0;b=B(v[a+584>>2],6)+b|0;c=v[a+588>>2];f=f+1|0;if((c|0)>(f|0)){continue}break}}if((c|0)<1){break a}b=v[a+540>>2];b=(v[b+1176>>2]+B(v[a+572>>2],v[b+1168>>2])|0)+B(v[a+580>>2],v[b+1164>>2])|0;d=v[a+636>>2]+v[a+616>>2]|0;c=0;while(1){f=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);t[b|0]=f;t[b+1|0]=f>>>8;t[b+2|0]=f>>>16;t[b+3|0]=f>>>24;f=w[d+4|0]|w[d+5|0]<<8;t[b+4|0]=f;t[b+5|0]=f>>>8;d=d+6|0;b=B(v[a+584>>2],6)+b|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function kA(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=Qb-16|0;Qb=k;f=6;a:{if(!a){break a}h=v[a+12>>2];if(h>>>0<=b>>>0){break a}l=v[a>>2];b:{c:{d:{e:{f:{g=v[a+28>>2];if(!g){f=Yc(l,(v[a+8>>2]+v[a+4>>2]|0)+B(w[a+16|0],b)|0);if(f){break a}f=Lf(v[a>>2],k+8|0,w[a+16|0]);if(f){break a}g:{f=w[a+16|0];if(f){g=f&3;if(f-1>>>0<3){i=0}else{j=f&252;while(1){i=e;e=e+4|0;j=j-4|0;if(j){continue}break}h=k+8|0;i=w[h+(i|3)|0]|(w[h+(i|2)|0]|(w[i+h|0]<<16|w[h+(i|1)|0]<<8))<<8}if(g){while(1){i=w[(k+8|0)+e|0]|i<<8;e=e+1|0;g=g-1|0;if(g){continue}break}}if(i){break g}}i=0;f=0;break e}while(1){f=Lf(v[a>>2],k+12|0,f&255);h:{if(f){break h}h=w[a+16|0];if(!h){break h}j=h&3;g=0;e=0;if(h-1>>>0>=3){e=h&252;while(1){h=g;g=h+4|0;e=e-4|0;if(e){continue}break}e=k+12|0;e=w[e+(h|3)|0]|(w[e+(h|2)|0]|(w[e+h|0]<<16|w[e+(h|1)|0]<<8))<<8}if(j){while(1){e=w[(k+12|0)+g|0]|e<<8;g=g+1|0;j=j-1|0;if(j){continue}break}}if(e){break f}}b=b+1|0;if(b>>>0>=y[a+12>>2]){break e}f=w[a+16|0];continue}}f=0;i=v[g+(b<<2)>>2];if(!i){break e}while(1){b=b+1|0;e=v[g+(b<<2)>>2];if(e){break f}if((b|0)!=(h|0)){continue}break}break e}f=0;b=v[l+4>>2];g=b+1|0;if(g>>>0>=e>>>0){break d}j=v[a+20>>2];break c}b=v[l+4>>2];e=0}j=v[a+20>>2];g=b+1|0;if(j>>>0<=g-e>>>0){break b}}e=g-j|0}if(!(!i|e>>>0<=i>>>0)){b=e-i|0;v[d>>2]=b;d=v[a+32>>2];if(d){v[c>>2]=(d+i|0)-1;break a}f=Yc(l,(v[a+20>>2]+i|0)-1|0);if(f){break a}f=Xh(l,b,c);break a}v[c>>2]=0;v[d>>2]=0}Qb=k+16|0;return f}function vsa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;a=v[a+4>>2];if(!a){return 0}d=Qb-32|0;Qb=d;e=a+12|0;Wc(e,0);v[299999]=0;U(4349,d+24|0,b|0,c|0);a=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{if((a|0)!=1){v[d+8>>2]=0;v[299999]=0;Q(4336,d+8|0,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break j}v[299999]=0;$(4350,d+16|0,d+24|0,d+8|0,0);a=v[299999];v[299999]=0;if((a|0)==1){break i}v[299999]=0;Q(4344,e|0,d+16|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break h}a=v[d+16>>2];v[d+16>>2]=0;k:{if(!a){break k}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break b}if(b){break k}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break b}}a=v[d+8>>2];v[d+8>>2]=0;l:{if(!a){break l}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break b}if(b){break l}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break b}}a=v[e>>2];v[299999]=0;S(4345,a|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break f}a=v[d+24>>2];v[d+24>>2]=0;m:{if(!a){break m}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break b}if(b){break m}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break b}}a=1;break c}b=W(0)|0;O()|0;break d}b=W(0)|0;O()|0;break e}b=W(0)|0;O()|0;break g}b=W(0)|0;O()|0;ec(d+16|0)}ec(d+8|0);break e}b=W(0)|0;O()|0}ec(d+24|0)}ea(b|0)|0;ka();a=0}Qb=d+32|0;break a}W(0)|0;O()|0;lc();L()}return a|0}function ZI(a){a=a|0;var 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,w=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;b=x[a+26308>>1];if(b){p=x[a+26310>>1];e=p;r=3;while(1){g=e&65535;a:{if(!g){e=0;break a}z=i-2|0;if(z>>>0>i+2>>>0){break a}E=i<<1&14;j=v[a+26028>>2];k=v[a+26352>>2];f=0;while(1){q=f&1;l=j>>>((E|q)<<1)&3;m=l<<1;h=x[a+26316>>1];A=f>>>h|0;C=x[a+26320>>1];D=m+((A+B(C,i>>>h|0)<<3)+k|0)|0;b:{if(x[D>>1]){break b}s=f-2|0;t=f+2|0;if(s>>>0>t>>>0){break b}F=s>>>h|0;G=t>>>h|0;w=f+1|0;H=w>>>h|0;I=w&1;y=f-1|0;J=y>>>h|0;K=y&1;L=x[a+26308>>1];c=0;e=z;d=0;while(1){c:{if(e>>>0>=L>>>0){break c}n=B(e>>>h|0,C);o=e<<1&14;d:{if((j>>>((q|o)<<1)&3)!=(l|0)|g>>>0<=s>>>0){break d}b=x[((n+F<<3)+k|0)+m>>1];if(!b){break d}d=b+d|0;c=c+1|0}e:{if((j>>>((o|K)<<1)&3)!=(l|0)|g>>>0<=y>>>0){break e}b=x[((n+J<<3)+k|0)+m>>1];if(!b){break e}d=b+d|0;c=c+1|0}f:{if((j>>>((o|q)<<1)&3)!=(l|0)|f>>>0>=g>>>0){break f}b=x[((n+A<<3)+k|0)+m>>1];if(!b){break f}d=b+d|0;c=c+1|0}g:{if((j>>>((o|I)<<1)&3)!=(l|0)|g>>>0<=w>>>0){break g}b=x[((n+H<<3)+k|0)+m>>1];if(!b){break g}d=b+d|0;c=c+1|0}if((j>>>((o|q)<<1)&3)!=(l|0)|g>>>0<=t>>>0){break c}b=x[((n+G<<3)+k|0)+m>>1];if(!b){break c}d=b+d|0;c=c+1|0}e=e+1|0;if((r|0)!=(e|0)){continue}break}if(!c){break b}u[D>>1]=(d>>>0)/(c>>>0);p=x[a+26310>>1]}f=f+1|0;g=p;if(f>>>0>>0){continue}break}b=x[a+26308>>1];e=p}r=r+1|0;i=i+1|0;if(i>>>0>>0){continue}break}}}function cj(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{if((b|0)<0|v[a+16>>2]<=(b|0)){break a}h=v[v[a+24>>2]+(b<<2)>>2];a=v[h+16>>2];if((a|0)<=(c|0)){break a}b=v[h+20>>2];if((a|0)<(c+e|0)|(b|0)<=(d|0)|(v[g+20>>2]!=(f|0)|(b|0)<(d+f|0))){break a}if(v[g+24>>2]!=(e|0)){break a}g=v[g+28>>2];b=v[g>>2];b:{c:{if((f|0)>=2){j=v[g+4>>2]-b>>2;break c}if((f|0)!=1){break b}}g=0;a=Df(v[h+32>>2],B(v[h+36>>2],B(a,d)+c|0),0);if((e|0)<=0){if((a|0)<0){break a}while(1){g=g+1|0;if((g|0)==(f|0)){break b}if((Df(v[h+32>>2],B(v[h+36>>2],B(v[h+16>>2],d+g|0)+c|0),0)|0)>=0){continue}break}break a}i=-1;if((a|0)<0){break b}p=j<<2;while(1){m=b;n=e;d:{g=v[h+36>>2];if((g|0)<=0){break d}while(1){e:{if((g|0)<1){break e}i=-1;a=v[h+32>>2];k=v[a+8>>2];if(k&7){break b}j=v[h+24>>2];i=v[m>>2];l=(v[h+28>>2]?1<>31:0)+i&(-1<>(g<<3)-8;while(1){i=v[a+64>>2];if(!((i|0)<0|(i|0)>v[a+60>>2])){v[a+8>>2]=k|4;break a}v[a+4>>2]=v[a+4>>2]|32;i=v[a+28>>2];v[a+28>>2]=i-1;f:{if((i|0)>=1){v[a+60>>2]=v[a+60>>2]+1;i=a;a=v[a+24>>2];v[i+24>>2]=a+1;t[a|0]=j;break f}i=-1;if((Fc(a,j&255)|0)==-1){break b}}if((g|0)<2){break e}l=l<<8;j=l>>(v[h+36>>2]<<3)-8;i=-1;g=g-1|0;a=v[h+32>>2];k=v[a+8>>2];if(!(k&7)){continue}break}break b}if((n|0)<2){break d}n=n-1|0;m=m+4|0;g=v[h+36>>2];continue}}o=o+1|0;if((o|0)==(f|0)){return 0}b=b+p|0;i=-1;if((Df(v[h+32>>2],B(v[h+36>>2],B(v[h+16>>2],d+o|0)+c|0),0)|0)>=0){continue}break}}return i}return-1}function Mna(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=Qb-32|0;Qb=d;v[d+24>>2]=0;Wc(d+24|0,a);b=v[a+108>>2];v[299999]=0;b=ur(b);c=v[299999];v[299999]=0;a:{b:{c:{if((c|0)==1){break c}v[a+68>>2]=b;v[299999]=0;c=a+148|0;sg(c,0,0,16,0);b=v[299999];v[299999]=0;if((b|0)==1){break c}v[299999]=0;b=ga(4695)|0;e=v[299999];v[299999]=0;if((e|0)==1){break c}e=v[v[b>>2]+40>>2];v[299999]=0;$(e|0,b|0,a|0,16,0);b=v[299999];v[299999]=0;if((b|0)==1){break c}v[299999]=0;b=v[c>>2];e=v[299999];v[299999]=0;if((e|0)==1){break c}if(b&64){break b}v[299999]=0;R(4763,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}}b=P()|0;O()|0;break a}v[299999]=0;e=Q(4387,d+8|0,a+112|0)|0;b=v[299999];v[299999]=0;d:{e:{if((b|0)!=1){b=v[d+16>>2];f:{if(b){while(1){f=v[b+8>>2];v[299999]=0;f=v[f+148>>2];g=v[299999];v[299999]=0;if((g|0)==1){break d}if(!(f&32)){break f}b=v[b>>2];if(b){continue}break}}v[299999]=0;sg(c,0,0,32,0);b=v[299999];v[299999]=0;if((b|0)==1){break d}v[299999]=0;b=ga(4695)|0;c=v[299999];v[299999]=0;if((c|0)==1){break d}c=v[v[b>>2]+40>>2];v[299999]=0;$(c|0,b|0,a|0,32,0);a=v[299999];v[299999]=0;if((a|0)==1){break d}}Ic(e);a=v[d+24>>2];v[d+24>>2]=0;if(!a){break e}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break e}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break e}}W(0)|0;O()|0;lc();L()}b=P()|0;O()|0;break a}Qb=d+32|0;return}b=P()|0;O()|0;Ic(e)}ec(d+24|0);T(b|0);L()}function Hm(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0;i=Qb-32|0;Qb=i;v[i+16>>2]=c;v[i+24>>2]=b;c=i+8|0;b=v[d+28>>2];v[c>>2]=b;v[b+4>>2]=v[b+4>>2]+1;v[299999]=0;j=S(5533,c|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){b=v[i+8>>2];c=v[b+4>>2]-1|0;v[b+4>>2]=c;if((c|0)==-1){Ub[v[v[b>>2]+8>>2]](b)}v[e>>2]=0;c=0;a:{while(1){if(c|(g|0)==(h|0)){break a}b:{if(Ln(i+24|0,i+16|0)){break b}c:{if((Ub[v[v[j>>2]+36>>2]](j,t[g|0],0)|0)==37){c=g+1|0;if((h|0)==(c|0)){break b}k=0;b=Ub[v[v[j>>2]+36>>2]](j,t[c|0],0)|0;d:{if(!((b|0)==69|(b&255)==48)){c=g;break d}if((g+2|0)==(h|0)){break b}k=b;b=Ub[v[v[j>>2]+36>>2]](j,t[g+2|0],0)|0}l=i,m=Ub[v[v[a>>2]+36>>2]](a,v[i+24>>2],v[i+16>>2],d,e,f,b,k)|0,v[l+24>>2]=m;g=c+2|0;break c}b=t[g|0];if((b|0)>=0){b=x[v[j+8>>2]+((b&255)<<1)>>1]&8192}else{b=0}if(b){while(1){e:{g=g+1|0;if((h|0)==(g|0)){g=h;break e}b=t[g|0];if((b|0)>=0){b=x[v[j+8>>2]+((b&255)<<1)>>1]&8192}else{b=0}if(b){continue}}break}while(1){if(!Ew(i+24|0,i+16|0)){break c}b=op(i+24|0);if((b|0)>=0){b=(x[v[j+8>>2]+((b&255)<<1)>>1]&8192)!=0}else{b=0}if(!b){break c}$q(i+24|0);continue}}if(((m=j,n=op(i+24|0),l=v[v[j>>2]+12>>2],Ub[l](m|0,n|0)|0)|0)==(Ub[v[v[j>>2]+12>>2]](j,t[g|0])|0)){g=g+1|0;$q(i+24|0);break c}v[e>>2]=4}c=v[e>>2];continue}break}v[e>>2]=4}if(Ln(i+24|0,i+16|0)){v[e>>2]=v[e>>2]|2}Qb=i+32|0;return v[i+24>>2]}c=P()|0;O()|0;a=v[i+8>>2];b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}T(c|0);L()}function BQ(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=Qb-16|0;Qb=e;d=v[a+200>>2];if(d&1){a:{if(d&4){Gc(a,66564);td(a,c);break a}if(!(!b|!(w[b+9|0]&64))){Gc(a,66611);td(a,c);break a}if(c>>>0<=3){Gc(a,66679);td(a,c);break a}d=If(a,c+1|0);v[a+740>>2]=d;if(!d){Gc(a,66807);td(a,c);break a}yf(a,d,c);kd(a,d,c);t[v[a+740>>2]+c|0]=0;f=td(a,0);d=v[a+740>>2];if(f){Zc(a,d);v[a+740>>2]=0;break a}if((w[d|0]-1&255)>>>0>=2){Gc(a,66855);Zc(a,v[a+740>>2]);v[a+740>>2]=0;break a}v[e+8>>2]=0;v[e+12>>2]=1;b:{c:{d:{if(!mE(d,c,e+8|0,e+12|0)){break d}d=v[e+12>>2];if(d>>>0>=c>>>0){break d}f=v[a+740>>2];g=d+1|0;v[e+12>>2]=g;if(!w[d+f|0]){break c}}Gc(a,66965);break b}if((v[e+8>>2]&392)!=264){Gc(a,67084);break b}v[e+8>>2]=0;if(!(i=mE(f,c,e+8|0,e+12|0),j=0,k=v[e+12>>2]==(c|0),k?i:j)){Gc(a,67164);break b}if((v[e+8>>2]&392)!=264){Gc(a,67279);break b}d=v[a+740>>2];f=t[d|0];c=d+1|0;d=d+g|0;e:{if(!a|!b){break e}f:{g:{if(f-1>>>0<2){if(!c){break g}g=Bc(c);if(!g|w[c|0]==45){break g}if(!lE(c,g)){break g}if(!d){break f}h=Bc(d);if(!h|w[d|0]==45){break f}if(!lE(d,h)){break f}t[b+220|0]=f;g=g+1|0;f=If(a,g);v[b+224>>2]=f;if(!f){Gc(a,47080);break e}gc(f,c,g);f=h+1|0;c=If(a,f);v[b+228>>2]=c;if(!c){Zc(a,v[b+224>>2]);v[b+224>>2]=0;Gc(a,47080);break e}gc(c,d,f);v[b+8>>2]=v[b+8>>2]|16384;v[b+184>>2]=v[b+184>>2]|256;break e}hd(a,44438);L()}hd(a,45270);L()}hd(a,45893);L()}}Zc(a,v[a+740>>2]);v[a+740>>2]=0}Qb=e+16|0;return}hd(a,66482);L()}function nF(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=Qb-16|0;Qb=d;f=9;a:{if((Ub[v[v[a>>2]+8>>2]](a,b)|0)!=1){break a}if(Ub[v[v[a>>2]+8>>2]](a,b+1|0)|0){break a}c=Ub[v[v[a>>2]+8>>2]](a,b+2|0)|0;if((c|0)<0){break a}if((Ub[v[v[a>>2]+8>>2]](a,b+3|0)|0)-1>>>0>3){break a}c=b+c|0;if((c|0)<0){break a}if(!(Ub[v[v[a>>2]+12>>2]](a,c,d+4|0)|0)){break a}b=c+2|0;if(v[d+4>>2]){e=Ub[v[v[a>>2]+8>>2]](a,b)|0;if(e-1>>>0>3){break a}if(!(Ub[v[v[a>>2]+24>>2]](a,(c+B(e,v[d+4>>2])|0)+3|0,e,d+8|0)|0)){break a}c=v[d+8>>2];if((c|0)<0){break a}b=(b+c|0)+B(e,v[d+4>>2]+1|0)|0;if((b|0)<0){break a}}if(!(Ub[v[v[a>>2]+12>>2]](a,b,d+4|0)|0)|v[d+4>>2]<1){break a}c=Ub[v[v[a>>2]+8>>2]](a,b+2|0)|0;if(c-1>>>0>3){break a}b=b+3|0;if(!(Ub[v[v[a>>2]+24>>2]](a,b,c,d+12|0)|0)|v[d+12>>2]<0){break a}if(!(Ub[v[v[a>>2]+24>>2]](a,b+c|0,c,d+8|0)|0)){break a}e=v[d+8>>2];if((e|0)<0){break a}g=v[d+12>>2];if(g>>>0>e>>>0){break a}h=B(c,v[d+4>>2]+1|0);c=h+(b+g|0)|0;if((c|0)<1){break a}g=c+(e+h|0)|0;e=g+2|0;if((e|0)<1|(c|0)>(e|0)){break a}b=c-1|0;g=g+1|0;b:{if((c|0)>=(e|0)){break b}while(1){f=3;c:{d:{e:{c=Ub[v[v[a>>2]+8>>2]](a,b)|0;switch(c-28|0){case 0:break c;case 1:break d;default:break e}}f=2;if(c-247>>>0<8){break c}f=1;if(c-32>>>0<=214){break c}break b}f=5}b=b+f|0;if((g|0)>(b|0)){continue}break}}c=b+1|0;f:{if((c|0)>=(g|0)){break f}if((Ub[v[v[a>>2]+8>>2]](a,b)|0)!=12){break f}f=3;if((Ub[v[v[a>>2]+8>>2]](a,c)|0)==30){break a}}f=2}Qb=d+16|0;return f}function or(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{e=a+36|0;d=e;d=v[v[d+12>>2]+((b>>>0)%y[d+8>>2]<<2)>>2];b:{if(!d){break b}while(1){if(!(v[d+12>>2]==(b|0)&v[d+16>>2]==(b|0))){d=v[d+8>>2];if(d){continue}break b}break}if(v[b+4>>2]<1){break b}d=v[v[e+12>>2]+((c>>>0)%y[e+8>>2]<<2)>>2];if(!d){break b}while(1){if(!(v[d+12>>2]==(c|0)&v[d+16>>2]==(c|0))){d=v[d+8>>2];if(d){continue}break b}break}if(v[c+4>>2]<1){break b}e=a+8|0;a=e;d=v[v[a+12>>2]+((b>>>0)%y[a+8>>2]<<2)>>2];c:{if(d){while(1){if(v[d+12>>2]==(b|0)&v[d+16>>2]==(b|0)){break c}d=v[d+8>>2];if(d){continue}break}}f=fc(16);a=f;v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;v[299999]=0;v[a>>2]=984848;v[a+4>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;a=v[299999];v[299999]=0;if((a|0)==1){break a}d=v[v[e+12>>2]+((b>>>0)%y[e+8>>2]<<2)>>2];d:{if(d){while(1){if(v[d+12>>2]==(b|0)&v[d+16>>2]==(b|0)){break d}d=v[d+8>>2];if(d){continue}break}}d=fc(24);v[d>>2]=0;v[d+4>>2]=0;v[d+20>>2]=0;v[d+16>>2]=b;v[d+12>>2]=b;v[d+8>>2]=0;gk(e,d)}v[d+20>>2]=f}d=v[v[e+12>>2]+((b>>>0)%y[e+8>>2]<<2)>>2];e:{if(d){while(1){if(v[d+12>>2]==(b|0)&v[d+16>>2]==(b|0)){break e}d=v[d+8>>2];if(d){continue}break}}d=fc(24);v[d>>2]=0;v[d+4>>2]=0;v[d+20>>2]=0;v[d+16>>2]=b;v[d+12>>2]=b;v[d+8>>2]=0;gk(e,d)}b=v[d+20>>2];d=v[b+8>>2];if(d){while(1){if(v[d+8>>2]==(c|0)){break b}d=v[d>>2];if(d){continue}break}}a=fc(12);v[a+8>>2]=c;v[a>>2]=0;v[a+4>>2]=0;Le(b,a)}return}a=P()|0;O()|0;dc(f);T(a|0);L()}function Tab(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0;if(e){n=e-1|0;o=e-2|0;l=(e|0)==1;while(1){a=f;t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];t[g+3|0]=w[a+3|0];f=a+4|0;g=g+4|0;a:{if(!l&k>>>0>=n>>>0){break a}i=k?(k|0)==(o|0)?d:b:c;m=!k&l;if(m){if(i>>>0<2){break a}h=i-1|0;j=h&1;if((i|0)!=2){h=h&-2;while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];t[g+3|0]=w[a+3|0];t[g+4|0]=w[a|0];t[g+5|0]=w[a+1|0];t[g+6|0]=w[a+2|0];t[g+7|0]=w[a+3|0];g=g+8|0;h=h-2|0;if(h){continue}break}}if(!j){break a}t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];t[g+3|0]=w[a+3|0];g=g+4|0;break a}h=i+1>>>1|0;b:{if(i>>>0<3){break b}j=(h>>>0>2?h:2)-1|0;p=j&1;if(i>>>0>=5){j=j&-2;while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];t[g+3|0]=w[a+3|0];t[g+4|0]=w[a|0];t[g+5|0]=w[a+1|0];t[g+6|0]=w[a+2|0];t[g+7|0]=w[a+3|0];g=g+8|0;j=j-2|0;if(j){continue}break}}if(!p){break b}t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];t[g+3|0]=w[a+3|0];g=g+4|0}if(h>>>0>=i>>>0){break a}a=m?0:f;j=h^-1;if(i-h&1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];t[g+3|0]=w[a+3|0];h=h+1|0;g=g+4|0}if((j|0)==(0-i|0)){break a}while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];t[g+3|0]=w[a+3|0];t[g+4|0]=w[a|0];t[g+5|0]=w[a+1|0];t[g+6|0]=w[a+2|0];t[g+7|0]=w[a+3|0];g=g+8|0;h=h+2|0;if((i|0)!=(h|0)){continue}break}}k=k+1|0;if((k|0)!=(e|0)){continue}break}}return 0}function Qgb(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,p=0,q=0,r=0;c=Qb-48|0;Qb=c;a:{b:{c:{if((v[a+28>>2]&-256)==768){d=-1;j=zj(a,0);if((j|0)>-1){break c}Sc(4086,0);break a}Sc(8501,0);break b}d:{if(v[a+16>>2]<=1){d=v[v[a+24>>2]+(j<<2)>>2];e=v[d+24>>2];if((e|0)<17){break d}}Sc(12396,0);break b}o=v[d+28>>2];i=v[d+16>>2];k=v[d+20>>2];v[c+32>>2]=80;v[c+36>>2]=71;Jk(b,13848,c+32|0);v[c+16>>2]=k;v[c+12>>2]=i;v[c+8>>2]=e;v[c+4>>2]=o?23641:25850;v[c>>2]=18963;Jk(b,17326,c);d=-1;if(w[b+8|0]&2){break a}g=yj(1,i);if(!g){break a}e:{f:{g:{if(!k){break g}if(!i){b=0;while(1){if(Zj(a,j,0,b,0,1,g)){break e}b=b+1|0;if((k|0)!=(b|0)){continue}break}break g}n=(e+7|0)/8|0;if((e|0)>=1){p=(n|0)>1?n:1;q=1<>2]>>2]+(e<<2)>>2];l=(o?l>>31&q:0)+l&r;while(1){m=v[b+8>>2];if(m&7){break e}f=v[b+64>>2];if((f|0)>=0&(f|0)<=v[b+60>>2]){break f}m=(d^-1)+n|0;v[b+4>>2]=v[b+4>>2]|32;f=v[b+28>>2];v[b+28>>2]=f-1;h:{if((f|0)>=1){v[b+60>>2]=v[b+60>>2]+1;f=v[b+24>>2];v[b+24>>2]=f+1;t[f|0]=l>>>(m<<3);break h}if((Fc(b,l>>>(m<<3)&255)|0)==-1){break e}}d=d+1|0;if((p|0)!=(d|0)){continue}break}e=e+1|0;if((i|0)!=(e|0)){continue}break}h=h+1|0;if((k|0)!=(h|0)){continue}break}break g}while(1){if(Zj(a,j,0,h,i,1,g)){break e}h=h+1|0;if((k|0)!=(h|0)){continue}break}}$e(g);d=0;break a}v[b+8>>2]=m|4}$e(g)}d=-1}Qb=c+48|0;return d|0}function pQ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;d=Qb-32|0;Qb=d;a:{e=v[a+12>>2];b:{if(!e){break b}v[299999]=0;fa(4351,d+24|0,e|0,c|0,1,0);c=v[299999];v[299999]=0;c:{d:{e:{f:{g:{h:{i:{if((c|0)!=1){v[299999]=0;S(4352,v[d+24>>2])|0;c=v[299999];v[299999]=0;if((c|0)==1){break i}v[299999]=0;v[v[d+24>>2]+12>>2]=0;c=v[299999];v[299999]=0;if((c|0)==1){break i}v[d+20>>2]=0;c=v[v[b>>2]+16>>2];v[299999]=0;Q(c|0,b|0,d+20|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break h}c=0;e=v[d+24>>2];if(e){v[299999]=0;v[e+4>>2]=v[e+4>>2]+1;c=v[299999];v[299999]=0;if((c|0)==1){break g}c=v[d+24>>2]}v[299999]=0;v[d+8>>2]=c;U(4354,d+16|0,d|0,d+8|0);e=v[299999];v[299999]=0;if((e|0)==1){break f}v[d+8>>2]=0;j:{if(!c){break j}v[299999]=0;e=v[c+4>>2]-1|0;v[c+4>>2]=e;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(e){break j}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}v[299999]=0;fa(4355,a|0,b|0,d+24|0,d|0,d+16|0);a=v[299999];v[299999]=0;if((a|0)==1){break e}Nf(d+16|0);a=v[d+24>>2];v[d+24>>2]=0;if(!a){break b}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break b}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}}break a}a=W(0)|0;O()|0;break c}a=W(0)|0;O()|0;break d}a=W(0)|0;O()|0;break d}a=W(0)|0;O()|0;break d}a=W(0)|0;O()|0;ec(d+8|0);break d}a=W(0)|0;O()|0;Nf(d+16|0)}ec(d+24|0)}ea(a|0)|0;ka()}Qb=d+32|0;return}W(0)|0;O()|0;lc();L()}function Wi(a){var b=0,c=0,d=0;if(a){b=Gy(a);if(b){while(1){c=v[b+4>>2];if(c){Ub[v[259708]](c)}c=v[b+8>>2];if(c){Ub[v[259708]](c)}c=v[b+44>>2];if(c){Ub[v[259708]](c)}c=v[b+48>>2];if(c){Ub[v[259708]](c)}c=v[b+40>>2];a:{if(!c){break a}d=v[b+12>>2];if(!d){break a}Ub[c|0](d)}c=v[b>>2];if(c){cm(c)}Ub[v[259708]](b);b=Gy(a);if(b){continue}break}}b=v[a+244>>2];if(b){Ub[v[259708]](b)}b=v[a+196>>2];if(b){Ub[v[259708]](b)}b=v[a+64>>2];if(b){Ub[v[259708]](b)}b=v[a+460>>2];if(b){Ub[v[259708]](b)}b=v[a+48>>2];if(b){Ub[v[259708]](b)}b=v[a+20>>2];if(b){Ub[v[259708]](b)}b=v[a+24>>2];if(b){Ub[v[259708]](b)}b=v[a+224>>2];if(b){Ub[v[259708]](b)}b=v[a+228>>2];if(b){Ub[v[259708]](b)}b=v[a>>2];if(!(!b|(b|0)==1039236)){Ub[v[259708]](b)}b=v[a+180>>2];if(b){Ub[v[259708]](b)}b=v[a+132>>2];if(b){Ub[v[259708]](b)}b=v[a+300>>2];if(b){Ub[v[259708]](b)}b=v[a+296>>2];if(b){Zm(b)}b=v[a+336>>2];if(b){Ub[v[259708]](b)}b=v[a+344>>2];if(b){Ub[v[259708]](b)}b=v[a+340>>2];if(b){Ub[v[259708]](b)}b=v[a+348>>2];if(b){il(b,v[259708])}b=v[a+352>>2];if(b){il(b,0)}b=v[a+372>>2];if(b){while(1){c=v[b+24>>2];Ub[v[259708]](b);b=c;if(b){continue}break}}b=v[a+380>>2];if(b){while(1){c=v[b+24>>2];Ub[v[259708]](b);b=c;if(b){continue}break}}b=v[a+392>>2];if(b){Ub[v[259708]](b)}b=v[a+400>>2];if(b){Ub[v[259708]](b)}b=v[a+408>>2];if(b){Ub[v[259708]](b)}b=v[a+412>>2];if(b){Ub[v[259708]](b)}b=v[a+416>>2];if(b){Ub[v[259708]](b)}Ub[v[259708]](a)}}function zZa(a){a=a|0;var 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;i=v[a+12>>2];j=v[a+200>>2];c=v[a+196>>2];n=v[v[a>>2]+16>>2];a:{while(1){b=k;k=b+1|0;g=V_(i,k);if(g){break a}g=21;h=c+4|0;if(h>>>0>j>>>0){break a}d=v[i+88>>2]+(b<<5)|0;v[d+8>>2]=0;v[d+12>>2]=0;l=w[c+1|0];e=l|w[c|0]<<8;u[d+4>>1]=e;b=w[c+3|0]|w[c+2|0]<<8;v[d>>2]=b;if((b|0)>=(n|0)){break a}f=l&1?4:2;m=e&8;b=f+2|0;b:{if(m){break b}b=f+4|0;if(e&64){break b}b=f|e>>>4&8}if(b+h>>>0>j>>>0){break a}b=e&1;c:{if(e&2){if(b){b=w[c+4|0]|w[c+5|0]<<8;v[d+8>>2]=(b<<8|b>>>8)<<16>>16;b=w[c+6|0]|w[c+7|0]<<8;f=(b<<8|b>>>8)<<16>>16;b=c+8|0;break c}v[d+8>>2]=t[c+4|0];f=t[c+5|0];b=c+6|0;break c}if(b){v[d+8>>2]=w[c+5|0]|w[c+4|0]<<8;f=w[c+7|0]|w[c+6|0]<<8;b=c+8|0;break c}v[d+8>>2]=w[c+4|0];f=w[c+5|0];b=c+6|0}v[d+12>>2]=f;d:{if(m){c=b+2|0;e=0;b=w[b|0]|w[b+1|0]<<8;g=(b<<8|b>>>8)<<16>>16<<2;f=g;h=0;break d}if(e&64){c=w[b+2|0]|w[b+3|0]<<8;f=(c<<8|c>>>8)<<16>>16<<2;c=w[b|0]|w[b+1|0]<<8;g=(c<<8|c>>>8)<<16>>16<<2;c=b+4|0;e=0;h=0;break d}if(!(e&128)){e=0;g=65536;c=b;f=65536;h=0;break d}c=w[b+6|0]|w[b+7|0]<<8;f=(c<<8|c>>>8)<<16>>16<<2;c=w[b+4|0]|w[b+5|0]<<8;e=(c<<8|c>>>8)<<16>>16<<2;c=w[b+2|0]|w[b+3|0]<<8;h=(c<<8|c>>>8)<<16>>16<<2;c=w[b|0]|w[b+1|0]<<8;g=(c<<8|c>>>8)<<16>>16<<2;c=b+8|0}v[d+16>>2]=g;v[d+28>>2]=f;v[d+24>>2]=h;v[d+20>>2]=e;if(l&32){continue}break}v[i+84>>2]=k;b=v[v[a+24>>2]+8>>2];v[a+196>>2]=c;v[a+164>>2]=(c+b|0)-j;g=0}return g|0}function t_(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;if(!a){return 33}l=v[a>>2];if(a){b=v[a+204>>2];v[a+204>>2]=b-1;if((b|0)<=1){k=v[a>>2];b=v[a+16>>2];a:{if(!b){break a}while(1){i=v[((h<<2)+a|0)+20>>2];c=v[i>>2];b:{if(mc(v[c+8>>2],329640)|!(t[c|0]&1)){break b}c=v[i+16>>2];if(!c){break b}while(1){f=v[c+8>>2];c:{if(!f){break c}d=v[f+96>>2];if(!d){break c}e=v[f+128>>2];b=v[e+64>>2];v[e+64>>2]=b-1;if((b|0)>1){break c}b=v[d+16>>2];if(!b){break c}g=d+16|0;e=v[d+8>>2];while(1){if((f|0)!=v[b+8>>2]){b=v[b+4>>2];if(b){continue}break c}break}c=v[b>>2];j=c?c+4|0:g;g=v[b+4>>2];v[j>>2]=g;v[(g?g:d+20|0)>>2]=c;Ub[v[e+8>>2]](e,b);As(e,f,d);c=v[i+16>>2]}if(c){continue}break}b=v[a+16>>2]}h=h+1|0;if(h>>>0>>0){continue}break}if(!b){break a}h=0;while(1){i=v[((h<<2)+a|0)+20>>2];d:{if(!(t[v[i>>2]]&1)){break d}c=v[i+16>>2];if(!c){break d}while(1){f=v[c+8>>2];e:{if(!f){break e}d=v[f+96>>2];if(!d){break e}e=v[f+128>>2];b=v[e+64>>2];v[e+64>>2]=b-1;if((b|0)>1){break e}b=v[d+16>>2];if(!b){break e}g=d+16|0;e=v[d+8>>2];while(1){if((f|0)!=v[b+8>>2]){b=v[b+4>>2];if(b){continue}break e}break}c=v[b>>2];j=c?c+4|0:g;g=v[b+4>>2];v[j>>2]=g;v[(g?g:d+20|0)>>2]=c;Ub[v[e+8>>2]](e,b);As(e,f,d);c=v[i+16>>2]}if(c){continue}break}b=v[a+16>>2]}h=h+1|0;if(h>>>0>>0){continue}break}if(!b){break a}while(1){b=v[((b<<2)+a|0)+16>>2];if(a){UK(a,b)}b=v[a+16>>2];if(b){continue}break}}Ub[v[k+8>>2]](k,a)}}dc(l);return 0}function Xha(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Qb-32|0;Qb=c;v[a>>2]=0;v[a+4>>2]=v[282402];a:{b:{c:{d:{b=v[b>>2];e:{if(b){d=v[v[b>>2]+24>>2];v[299999]=0;U(d|0,c+8|0,b|0,2);b=v[299999];v[299999]=0;if((b|0)==1){break d}b=v[c+8>>2];f:{if(b){d=v[v[b>>2]+24>>2];v[299999]=0;U(d|0,c+16|0,b|0,2);b=v[299999];v[299999]=0;if((b|0)!=1){break f}b=P()|0;O()|0;break c}v[c+16>>2]=0}v[299999]=0;Q(4344,a|0,c+16|0)|0;b=v[299999];v[299999]=0;g:{if((b|0)!=1){b=v[c+16>>2];v[c+16>>2]=0;if(!b){break g}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)!=1){if(d){break g}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break g}}break a}b=P()|0;O()|0;ec(c+16|0);break c}b=v[a>>2];v[a+4>>2]=v[(b?b+12|0:1129608)>>2];b=v[c+8>>2];v[c+8>>2]=0;if(!b){break e}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)!=1){if(d){break e}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break e}}break a}v[299999]=0;v[c+24>>2]=0;Q(4344,a|0,c+24|0)|0;b=v[299999];v[299999]=0;h:{if((b|0)!=1){b=v[c+24>>2];v[c+24>>2]=0;if(!b){break h}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)!=1){if(d){break h}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break h}}break a}b=P()|0;O()|0;ec(c+24|0);break b}b=v[a>>2];v[a+4>>2]=v[(b?b+12|0:1129608)>>2]}Qb=c+32|0;return a|0}b=P()|0;O()|0;break b}ec(c+8|0)}ec(a);T(b|0);L()}W(0)|0;O()|0;lc();L()}function bAa(a){a=a|0;var 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;uc(v[a+16>>2]);v[a+16>>2]=0;if(v[a+96>>2]){uc(v[a+88>>2]);uc(v[a+92>>2]);v[a+96>>2]=0}if(v[a+116>>2]){uc(v[a+104>>2]);uc(v[a+108>>2]);uc(v[a+112>>2]);v[a+116>>2]=0}if(v[a+136>>2]){uc(v[a+124>>2]);uc(v[a+128>>2]);uc(v[a+132>>2]);v[a+136>>2]=0}b=v[a+200>>2];if(b){d=v[a+196>>2];c=v[a+192>>2];if(B(d,c)){while(1){l=(k<<6)+b|0;b=v[l+60>>2];if(b){if(v[a+188>>2]){h=0;while(1){e=B(h,88)+b|0;uc(v[e+44>>2]);uc(v[e+76>>2]);uc(v[e+80>>2]);b=v[e+84>>2];if(b){f=0;while(1){g=B(f,100)+b|0;b=v[g+96>>2];if(b){d=v[g+8>>2];if(d){o=f?3:1;i=0;while(1){j=0;m=(i<<2)+b|0;b=v[m>>2];if(b){while(1){c=B(j,24)+b|0;uc(v[c+12>>2]);uc(v[c+16>>2]);b=v[c+20>>2];if(b){if(B(v[c+4>>2],v[c>>2])){d=0;while(1){b=B(d,68)+b|0;uc(v[b+40>>2]);uc(v[b+52>>2]);n=v[b+60>>2];if(n){dc(uS(n))}b=v[b+64>>2];if(b){dc(Vc(b))}d=d+1|0;if(d>>>0>2],v[c>>2])>>>0){b=v[c+20>>2];continue}break}b=v[c+20>>2]}uc(b)}j=j+1|0;if((o|0)!=(j|0)){b=v[m>>2];continue}break}uc(v[m>>2]);d=v[g+8>>2]}i=i+1|0;if(i>>>0>>0){b=v[g+96>>2];continue}break}b=v[g+96>>2]}uc(b)}f=f+1|0;if(f>>>0<=y[e+20>>2]){b=v[e+84>>2];continue}break}uc(v[e+84>>2])}h=h+1|0;if(h>>>0>2]){b=v[l+60>>2];continue}break}b=v[l+60>>2]}uc(b);c=v[a+192>>2];d=v[a+196>>2]}k=k+1|0;if(k>>>0>>0){b=v[a+200>>2];continue}break}b=v[a+200>>2]}uc(b);v[a+200>>2]=0}a=v[a+8>>2];Ub[v[v[a>>2]+24>>2]](a)}function JJa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0;g=v[a+412>>2]+v[b+4>>2]|0;k=w[g+102|0];i=w[g+92|0];m=B(v[b+36>>2],v[b+28>>2]);g=v[a+28>>2];h=B(i,m)-g|0;f=v[a+272>>2];if(!((h|0)<1|(f|0)<1)){l=f&3;b=0;if(f-1>>>0>=3){j=f&-4;while(1){e=b<<2;f=g+v[e+c>>2]|0;ic(f,w[f-1|0],h);f=g+v[(e|4)+c>>2]|0;ic(f,w[f-1|0],h);f=g+v[(e|8)+c>>2]|0;ic(f,w[f-1|0],h);e=g+v[(e|12)+c>>2]|0;ic(e,w[e-1|0],h);b=b+4|0;j=j-4|0;if(j){continue}break}}if(l){while(1){e=g+v[(b<<2)+c>>2]|0;ic(e,w[e-1|0],h);b=b+1|0;l=l-1|0;if(l){continue}break}}f=v[a+272>>2]}a:{if((f|0)<1|!m){break a}n=B(k,i);o=n>>>1|0;if(k){if(i){h=i&248;l=i&7;u=i-1>>>0<7;while(1){p=v[(s<<2)+d>>2];j=0;q=0;while(1){e=0;f=0;while(1){b=v[(f+r<<2)+c>>2]+j|0;g=h;if(!u){while(1){e=w[b+7|0]+(w[b+6|0]+(w[b+5|0]+(w[b+4|0]+(w[b+3|0]+(w[b+2|0]+(w[b+1|0]+(w[b|0]+e|0)|0)|0)|0)|0)|0)|0)|0;b=b+8|0;g=g-8|0;if(g){continue}break}}g=l;if(g){while(1){e=w[b|0]+e|0;b=b+1|0;g=g-1|0;if(g){continue}break}}f=f+1|0;if((k|0)!=(f|0)){continue}break}t[p|0]=(e+o|0)/(n|0);j=i+j|0;p=p+1|0;q=q+1|0;if((q|0)!=(m|0)){continue}break}s=s+1|0;r=k+r|0;if((r|0)>2]){continue}break}break a}c=(o>>>0)/(n>>>0)|0;e=0;b=0;while(1){ic(v[(b<<2)+d>>2],c,m);b=b+1|0;e=e+k|0;if((e|0)>2]){continue}break}break a}c=(o>>>0)/(n>>>0)|0;e=0;b=0;while(1){ic(v[(b<<2)+d>>2],c,m);b=b+1|0;e=e+k|0;if((e|0)>2]){continue}break}}}function aha(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Qb-32|0;Qb=d;v[a>>2]=0;v[a+4>>2]=v[282402];a:{b:{c:{d:{b=v[b>>2];e:{if(b){c=v[c>>2];v[299999]=0;U(5161,d+8|0,b|0,c|0);b=v[299999];v[299999]=0;if((b|0)==1){break d}b=v[d+8>>2];f:{if(b){c=v[v[b>>2]+28>>2];v[299999]=0;U(c|0,d+16|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break f}b=P()|0;O()|0;break c}v[d+16>>2]=0}v[299999]=0;Q(4344,a|0,d+16|0)|0;b=v[299999];v[299999]=0;g:{if((b|0)!=1){b=v[d+16>>2];v[d+16>>2]=0;if(!b){break g}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;e=v[299999];v[299999]=0;if((e|0)!=1){if(c){break g}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break g}}break a}b=P()|0;O()|0;ec(d+16|0);break c}b=v[a>>2];v[a+4>>2]=v[(b?b+12|0:1129608)>>2];b=v[d+8>>2];v[d+8>>2]=0;if(!b){break e}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;e=v[299999];v[299999]=0;if((e|0)!=1){if(c){break e}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break e}}break a}v[299999]=0;v[d+24>>2]=0;Q(4344,a|0,d+24|0)|0;b=v[299999];v[299999]=0;h:{if((b|0)!=1){b=v[d+24>>2];v[d+24>>2]=0;if(!b){break h}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;e=v[299999];v[299999]=0;if((e|0)!=1){if(c){break h}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break h}}break a}b=P()|0;O()|0;ec(d+24|0);break b}b=v[a>>2];v[a+4>>2]=v[(b?b+12|0:1129608)>>2]}Qb=d+32|0;return a|0}b=P()|0;O()|0;break b}ec(d+8|0)}ec(a);T(b|0);L()}W(0)|0;O()|0;lc();L()}function I4a(a,b){a=a|0;b=b|0;var 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;g=Qb-32|0;Qb=g;l=v[b+92>>2];v[a+40>>2]=x[b+68>>1];a:{if(bA(b)){v[b+92>>2]=0;break a}F$(a,b);v[g+28>>2]=0;v[g+16>>2]=v[93536];f=v[93535];v[g+8>>2]=v[93534];v[g+12>>2]=f;f=v[93533];v[g>>2]=v[93532];v[g+4>>2]=f;d=48;f=g;m=a;b:{while(1){c=f+1|0;if((d&255)==32){while(1){f=c;c=c+1|0;d=w[f|0];if((d|0)==32){continue}break}}j=v[a+36>>2];i=d&255;if(!(d<<24>>24>-1)){d=i>>>0<240;e=i>>>0<224;h=e?1:d?2:3;k=h-1|0;i=(e?31:d?15:7)&i;d=h;e=d;while(1){i=w[c|0]&63|i<<6;d=d-1|0;c=c+1|0;e=e-1|0;if(e){continue}break}if(k>>>0>=3){while(1){i=w[c+3|0]&63|((w[c+1|0]&63|(i<<12|(w[c|0]&63)<<6))<<12|(w[c+2|0]&63)<<6);c=c+4|0;d=d-4|0;if(d){continue}break}}c=(f+h|0)+1|0}f=c;j=v[j>>2];d=0;while(1){c=w[f|0];if((c|32)!=32){f=f+1|0;d=c;if(c<<24>>24>-1){continue}c=d>>>0<240;e=d>>>0<224;h=e?1:c?2:3;n=h-1|0;d=(e?31:c?15:7)&d;c=f;e=h;k=e;while(1){d=w[c|0]&63|d<<6;e=e-1|0;c=c+1|0;k=k-1|0;if(k){continue}break}if(n>>>0>=3){while(1){d=w[c+3|0]&63|((w[c+1|0]&63|(d<<12|(w[c|0]&63)<<6))<<12|(w[c+2|0]&63)<<6);c=c+4|0;e=e-4|0;if(e){continue}break}}f=f+h|0;continue}break}c:{if(d){c=g+28|0;if(c?j:0){Pq(j,0,c)}break c}c=Fg(j,i);d=c;e=v[v[a+36>>2]>>2];h=g+28|0;if(h?e:0){Pq(e,d,h)}if(!c){break c}d=o;o=1;c=v[g+28>>2];if(!d){p=c;break c}if((c|0)==(p|0)){break c}a=0;break b}d=w[f|0];if(d){continue}break}a=1}t[m+32|0]=a}qq(b,l);Qb=g+32|0;return 0}function uab(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;if(e){q=e-1|0;r=e-2|0;o=(e|0)==1;while(1){a=f;u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];f=a+4|0;g=g+4|0;a:{if(!o&m>>>0>=q>>>0){break a}l=m?(m|0)==(r|0)?d:b:c;i=!m&o;if(i){if(l>>>0<2){break a}i=l-1|0;k=i&3;if(l-2>>>0>=3){i=i&-4;while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a>>1];u[g+6>>1]=x[a+2>>1];u[g+8>>1]=x[a>>1];u[g+10>>1]=x[a+2>>1];u[g+12>>1]=x[a>>1];u[g+14>>1]=x[a+2>>1];g=g+16|0;i=i-4|0;if(i){continue}break}}if(!k){break a}while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];g=g+4|0;k=k-1|0;if(k){continue}break}break a}k=i?0:f;p=l<<1;i=l+1>>>1|0;if(l>>>0>=3){s=i>>>0>2?i:2;j=1;while(1){h=x[a>>1];b:{if((h|0)==x[k>>1]){u[g>>1]=h;break b}h=w[a|0]|w[a+1|0]<<8;n=w[k|0]|w[k+1|0]<<8;h=((h<<8|h>>>8)&65535)+(((B(((n<<8|n>>>8)&65535)-((h<<8|h>>>8)&65535)|0,j)<<1)+l|0)/(p|0)|0)&65535;h=h<<8|h>>>8;t[g|0]=h;t[g+1|0]=h>>>8}u[g+2>>1]=x[a+2>>1];g=g+4|0;j=j+1|0;if((s|0)!=(j|0)){continue}break}}if(i>>>0>=l>>>0){break a}while(1){j=x[a>>1];c:{if((j|0)==x[k>>1]){u[g>>1]=j;break c}j=w[a|0]|w[a+1|0]<<8;h=j;n=(h<<8|h>>>8)&65535;h=w[k|0]|w[k+1|0]<<8;j=n+(((B(((h<<8|h>>>8)&65535)-((j<<8|j>>>8)&65535)|0,i)<<1)+l|0)/(p|0)|0)&65535;j=j<<8|j>>>8;t[g|0]=j;t[g+1|0]=j>>>8}u[g+2>>1]=x[k+2>>1];g=g+4|0;i=i+1|0;if((l|0)!=(i|0)){continue}break}}m=m+1|0;if((m|0)!=(e|0)){continue}break}}return 0}function i3a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;f=v[a+16>>2];if(y[a+20>>2]>=f+8>>>0){g=v[a+32>>2];a:{b:{c:{b=v[f>>2];d=w[b|0];if((d|0)!=255){if((d|0)!=30){break c}b=sh(a,b,0,0)>>16;break b}b=((w[b+3|0]|(w[b+2|0]<<8|w[b+1|0]<<16))<<8)+32768>>16;break b}e=b+1|0;d:{switch(d-28|0){case 0:if(y[a+8>>2]<=b+2>>>0){break a}b=(w[b+2|0]|w[e|0]<<8)<<16>>16;break b;case 1:if(y[a+8>>2]<=b+4>>>0){break a}c=w[b+1|0]|w[b+2|0]<<8|(w[b+3|0]<<16|w[b+4|0]<<24);b=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);break b;default:break d}}b=d-139|0;if(d>>>0<=246){break b}b=v[a+8>>2];if(d>>>0<=250){if(b>>>0<=e>>>0){break a}b=(w[e|0]|d<<8)-63124|0;break b}if(b>>>0<=e>>>0){break a}b=64148-(w[e|0]|d<<8)|0}c=b;if((c|0)>=0){break a}return 3}v[g+120>>2]=c;e:{f:{g:{b=v[f+4>>2];d=w[b|0];if((d|0)!=255){if((d|0)!=30){break g}c=sh(a,b,0,0)>>16;break f}c=((w[b+3|0]|(w[b+2|0]<<8|w[b+1|0]<<16))<<8)+32768>>16;break f}e=b+1|0;h:{switch(d-28|0){case 0:c=0;if(y[a+8>>2]<=b+2>>>0){break e}c=(w[b+2|0]|w[e|0]<<8)<<16>>16;break f;case 1:c=0;if(y[a+8>>2]<=b+4>>>0){break e}a=w[b+1|0]|w[b+2|0]<<8|(w[b+3|0]<<16|w[b+4|0]<<24);c=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break f;default:break h}}c=d-139|0;if(d>>>0<=246){break f}a=v[a+8>>2];if(d>>>0<=250){c=0;if(a>>>0<=e>>>0){break e}c=(w[e|0]|d<<8)-63124|0;break f}c=0;if(a>>>0<=e>>>0){break e}c=64148-(w[e|0]|d<<8)|0}if((c|0)>=0){break e}return 3}v[g+116>>2]=c;a=0}else{a=161}return a|0}function ebb(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;if(e){p=e-1|0;q=e-2|0;while(1){i=g;a=f;t[g|0]=w[a|0];f=a+1|0;g=g+1|0;j=(e|0)==1;a:{if(!j&m>>>0>=p>>>0){break a}h=m?(m|0)==(q|0)?d:b:c;k=j&!m;if(k){if(h>>>0<2){break a}j=h-1|0;i=j&7;if(h-2>>>0>=7){h=j&-8;while(1){t[g|0]=w[a|0];t[g+1|0]=w[a|0];t[g+2|0]=w[a|0];t[g+3|0]=w[a|0];t[g+4|0]=w[a|0];t[g+5|0]=w[a|0];t[g+6|0]=w[a|0];t[g+7|0]=w[a|0];g=g+8|0;h=h-8|0;if(h){continue}break}}if(!i){break a}while(1){t[g|0]=w[a|0];g=g+1|0;i=i-1|0;if(i){continue}break}break a}j=w[a|0];k=k?0:f;l=w[k|0];if((j|0)!=(l|0)){if(h>>>0<2){break a}g=h+(l-j<<1)|0;l=h<<1;t[i+1|0]=j+((g|0)/(l|0)|0);g=i+2|0;if((h|0)==2){break a}i=2;if((h|0)!=3){j=h-2&-2;while(1){o=i<<1;n=w[a|0];t[g|0]=((h+B(o,w[k|0]-n|0)|0)/(l|0)|0)+n;n=w[a|0];t[g+1|0]=((h+B(w[k|0]-n|0,o|2)|0)/(l|0)|0)+n;i=i+2|0;g=g+2|0;j=j-2|0;if(j){continue}break}}if(!(h&1)){break a}a=w[a|0];t[g|0]=((h+(B(w[k|0]-a|0,i)<<1)|0)/(l|0)|0)+a;g=g+1|0;break a}if(h>>>0<2){break a}t[i+1|0]=j;g=i+2|0;if((h|0)==2){break a}j=h-2|0;i=j&7;if(h-3>>>0>=7){h=j&-8;while(1){t[g|0]=w[a|0];t[g+1|0]=w[a|0];t[g+2|0]=w[a|0];t[g+3|0]=w[a|0];t[g+4|0]=w[a|0];t[g+5|0]=w[a|0];t[g+6|0]=w[a|0];t[g+7|0]=w[a|0];g=g+8|0;h=h-8|0;if(h){continue}break}}if(!i){break a}while(1){t[g|0]=w[a|0];g=g+1|0;i=i-1|0;if(i){continue}break}}m=m+1|0;if((m|0)!=(e|0)){continue}break}}return 0}function BV(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=Qb-16|0;Qb=c;e=v[a+12>>2];a:{if(!e){break a}if((Yp(e)|0)!=1){break a}e=0;while(1){b=Jy(v[a+12>>2]);d=(b|0)==-1;if(d){break a}e=d?e:b;if((e|0)==1){break a}if((Yp(v[a+12>>2])|0)==1){continue}break}}AV(a);e=-1;b:{b=v[a+12>>2];c:{d:{if(!b){break d}e=Du(b);b=v[a+12>>2];if(!b){break d}if((EF(b)|0)==1){break c}}h=a+8|0;while(1){if((Yp(v[a+12>>2])|0)!=1){break c}f=Jy(v[a+12>>2]);if((f|0)==-1){break c}b=v[a+12>>2];if(b){Du(b)}e:{f:{switch(f-1|0){case 2:case 12:case 13:dG(c,h);b=v[a+28>>2];v[299999]=0;g=b+36|0;b=w[c+11|0];d=b<<24>>24<0;Y(2653,g|0,(d?v[c>>2]:c)|0,(d?v[c+4>>2]:b)|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){if(t[c+11|0]>-1){break e}dc(v[c>>2]);break e}a=P()|0;O()|0;if(t[c+11|0]>-1){break b}dc(v[c>>2]);break b;case 3:dG(c,h);b=v[a+28>>2];v[299999]=0;g=b+36|0;b=w[c+11|0];d=b<<24>>24<0;Y(2653,g|0,(d?v[c>>2]:c)|0,(d?v[c+4>>2]:b)|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){if(t[c+11|0]>-1){break e}dc(v[c>>2]);break e}a=P()|0;O()|0;if(t[c+11|0]>-1){break b}dc(v[c>>2]);T(a|0);L();case 0:AV(a);break e;case 14:break f;default:break e}}b=v[a+32>>2];d=v[b>>2];v[d+4>>2]=v[b+4>>2];v[v[b+4>>2]>>2]=d;v[a+40>>2]=v[a+40>>2]-1;dc(b);if(v[a+40>>2]){v[a+28>>2]=v[v[a+32>>2]+8>>2];break e}v[a+28>>2]=v[a+24>>2]}b=v[a+12>>2];if(b){b=Du(b)}else{b=-1}if((b|0)<(e|0)){break c}if((f|0)!=15|(b|0)!=(e|0)){continue}break}}Qb=c+16|0;return}T(a|0);L()}function pua(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=Qb-80|0;Qb=d;e=OD(d- -64|0,b);v[299999]=0;g=!v[e+4>>2];a=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{g:{if((a|0)==1){break g}if(g){break e}v[299999]=0;a=v[e+4>>2];b=v[299999];v[299999]=0;if((b|0)==1){break g}if(!a){break f}v[299999]=0;v[d>>2]=0;a=v[v[(w[e+8|0]?v[e>>2]:e)>>2]+(v[d>>2]<<2)>>2];b=v[299999];v[299999]=0;if((b|0)==1){break c}if((a|0)!=123){break f}v[299999]=0;U(4189,c|0,e|0,e|0);a=v[299999];v[299999]=0;if((a|0)!=1){break f}}b=P()|0;O()|0;break a}v[299999]=0;$(4190,d+48|0,e|0,44,0);a=v[299999];v[299999]=0;if((a|0)==1){break b}v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=0;v[d+36>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+24>>2]=0;v[d+28>>2]=1072693248;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=0;v[d+4>>2]=1072693248;a=v[d+48>>2];f=v[d+52>>2]-a|0;b=(f|0)/12|0;h:{if((f|0)<1){break h}b=(b|0)<6?b:6;f=(b|0)>1?b:1;b=0;while(1){i:{v[299999]=0;h=+ha(4191,B(b,12)+a|0);a=v[299999];v[299999]=0;if((a|0)==1){break i}A[(b<<3)+d>>3]=h;b=b+1|0;if((f|0)==(b|0)){break h}a=v[d+48>>2];continue}break}break d}v[299999]=0;V(4192,c|0,d|0);a=v[299999];v[299999]=0;if((a|0)==1){break d}a=v[d+48>>2];if(!a){break e}b=v[d+52>>2];if((a|0)==(b|0)){b=a}else{while(1){b=xc(b-12|0);if((a|0)!=(b|0)){continue}break}b=v[d+48>>2]}v[d+52>>2]=a;dc(b)}xc(e);Qb=d+80|0;return!g|0}b=P()|0;O()|0;Kx(d+48|0);break a}b=P()|0;O()|0;break a}b=P()|0;O()|0}xc(e);T(b|0);L()}function Zab(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;if(e){p=e-1|0;q=e-2|0;m=(e|0)==1;while(1){a=f;t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];f=a+2|0;g=g+2|0;a:{if(!m&l>>>0>=p>>>0){break a}j=l?(l|0)==(q|0)?d:b:c;n=!l&m;if(n){if(j>>>0<2){break a}h=j-1|0;i=h&3;if(j-2>>>0>=3){h=h&-4;while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a|0];t[g+3|0]=w[a+1|0];t[g+4|0]=w[a|0];t[g+5|0]=w[a+1|0];t[g+6|0]=w[a|0];t[g+7|0]=w[a+1|0];g=g+8|0;h=h-4|0;if(h){continue}break}}if(!i){break a}while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];g=g+2|0;i=i-1|0;if(i){continue}break}break a}i=j+1>>>1|0;b:{if(j>>>0<3){break b}k=i>>>0>2?i:2;o=k-1|0;h=o&3;if(k-2>>>0>=3){k=o&-4;while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a|0];t[g+3|0]=w[a+1|0];t[g+4|0]=w[a|0];t[g+5|0]=w[a+1|0];t[g+6|0]=w[a|0];t[g+7|0]=w[a+1|0];g=g+8|0;k=k-4|0;if(k){continue}break}}if(!h){break b}while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];g=g+2|0;h=h-1|0;if(h){continue}break}}if(i>>>0>=j>>>0){break a}a=n?0:f;k=(i^-1)+j|0;h=j-i&3;if(h){while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];i=i+1|0;g=g+2|0;h=h-1|0;if(h){continue}break}}if(k>>>0<3){break a}while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a|0];t[g+3|0]=w[a+1|0];t[g+4|0]=w[a|0];t[g+5|0]=w[a+1|0];t[g+6|0]=w[a|0];t[g+7|0]=w[a+1|0];g=g+8|0;i=i+4|0;if((j|0)!=(i|0)){continue}break}}l=l+1|0;if((l|0)!=(e|0)){continue}break}}return 0}function WF(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=Qb-16|0;Qb=g;a:{if(!b){break a}d=Ub[v[259704]](60)|0;if(!d){v[g>>2]=284872;oc(0,0,0,0,0,2,2,3,284872,0,0,0,350051,g);d=0;break a}v[d>>2]=0;v[d+4>>2]=0;c=d+32|0;v[c>>2]=0;v[c+4>>2]=0;v[d+4>>2]=5;v[d+56>>2]=0;v[d+48>>2]=0;v[d+52>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d+32>>2]=a;b:{c:{d:{c=b;e=w[c|0];if(e){if((e|0)==38){break d}e=b;while(1){f=w[e+1|0];c=e+1|0;e=c;if(f){continue}break}}e=0;c=c-b|0;if((c|0)<0){break b}f=Ub[v[259707]](c+1|0)|0;if(f){break c}oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break b}f=b+1|0;c=0;e:{if(!w[b+1|0]){break e}e=f;while(1){h=c;c=c+1|0;i=w[e+1|0];e=e+1|0;if(i){continue}break}if(w[b+c|0]!=59){break e}e=0;b=Ub[v[259707]](c)|0;if(!b){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break b}e=gc(b,f,h);t[h+e|0]=0;break b}e=Ub[v[259707]](c+1|0)|0;if(!e){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break b}j=gc(e,f,c)+c|0,k=0,t[j|0]=k;break b}e=gc(f,b,c);t[c+e|0]=0}v[d+8>>2]=e;f:{g:{if(!a){break g}b=v[a+44>>2];h:{if(!b){break h}b=v[b+48>>2];if(!b){break h}c=Se(b,e,0,0);if(c){break f}}if(v[a+40>>2]==1){break g}a=v[a+48>>2];if(!a){break g}a=v[a+48>>2];if(!a){break g}c=Se(a,e,0,0);if(c){break f}}c=mi(e)}if(c){a=v[c+40>>2];v[d+16>>2]=c;v[d+12>>2]=c;v[d+40>>2]=a}if(!v[294265]){break a}a=v[294262];if(!a){break a}Ub[a|0](d)}Qb=g+16|0;return d}function P$a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=v[a+480>>2];v[a+136>>2]=v[c+16>>2];v[a+132>>2]=v[c+20>>2];a:{b:{switch(v[a+88>>2]){case 0:if(v[a+120>>2]==3){v[c+4>>2]=195;return}v[c+4>>2]=196;return;case 1:b=v[a+120>>2];v[c+48>>2]=0;v[c+4>>2]=(b|0)==3?197:198;if(!v[c+28>>2]){HZ(a)}if(v[c+52>>2]){break a}d=v[a+120>>2];if((d|0)<1){break a}h=v[a+480>>2];c=0;while(1){i=(c<<2)+h|0;g=v[i+32>>2];b=0;c:{d:{if(!c){break d}while(1){e=(b<<2)+h|0;if((g|0)!=v[e+32>>2]){b=b+1|0;if((c|0)!=(b|0)){continue}break d}break}e=v[e+52>>2];if(e){break c}}g=(g<<9)-512|0;d=0;e=Ub[v[v[a+4>>2]>>2]](a,1,1024)|0;while(1){b=0;while(1){j=((d<<6)+e|0)+(b<<2)|0;f=B(w[((d<<4)+b|0)+71344|0],-510);e:{if((f|0)<=-65026){f=0-((-65025-f|0)/(g|0)|0)|0;break e}f=(f+65025|0)/(g|0)|0}v[j>>2]=f;b=b+1|0;if((b|0)!=16){continue}break}d=d+1|0;if((d|0)!=16){continue}break}d=v[a+120>>2]}v[i+52>>2]=e;c=c+1|0;if((d|0)>(c|0)){continue}break};break a;case 2:b=0;v[c+84>>2]=0;v[c+4>>2]=199;f:{if(v[c+68>>2]){d=v[a+120>>2];break f}if(v[a+120>>2]<1){break a}e=(v[a+112>>2]<<1)+4|0;while(1){k=c+(b<<2)|0,l=Ub[v[v[a+4>>2]+4>>2]](a,1,e)|0,v[k+68>>2]=l;b=b+1|0;d=v[a+120>>2];if((b|0)<(d|0)){continue}break}}if((d|0)<1){break a}d=(v[a+112>>2]<<1)+4|0;b=0;while(1){qe(v[(c+(b<<2)|0)+68>>2],d);b=b+1|0;if((b|0)>2]){continue}break};break a;default:break b}}b=v[a>>2];v[b+20>>2]=49;Ub[v[b>>2]](a)}}function b2a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;i=Qb-400|0;Qb=i;e=v[c+4>>2];f=v[b+4>>2];c=v[c>>2];b=v[b>>2];g=v[a>>2];a=v[a+4>>2];v[i+20>>2]=a<<2;v[i+16>>2]=g<<2;v[i+12>>2]=f<<2;v[i+8>>2]=b<<2;g=e<<2;v[i+4>>2]=g;h=c<<2;v[i>>2]=h;v[i+24>>2]=v[d+208>>2];b=v[d+212>>2];v[i+28>>2]=b;c=a>>6;a:{b:{l=e>>6;a=v[d+176>>2];f=f>>6;c:{d:{if(!((l|0)>=(a|0)&(f|0)>=(a|0))){e=b>>8;break d}e=b>>8;if((a|0)>(c|0)){break d}if((a|0)<=(e|0)){break c}}b=0;a=v[d+172>>2];if((a|0)<=(l|0)|(a|0)<=(f|0)|((a|0)<=(c|0)|(a|0)<=(e|0))){break b}}v[d+212>>2]=g;v[d+208>>2]=h;break a}while(1){a=b+3|0;h=v[(a<<3)+i>>2];c=(b<<3)+i|0;m=v[c+8>>2];g=v[c>>2];f=h+(B(m,-3)+(g<<1)|0)|0;e=f>>31;e:{if((e^e+f)>>>0>=129){l=v[c+12>>2];e=v[c+28>>2];f=v[c+4>>2];break e}e=v[c+28>>2];l=v[c+12>>2];f=v[c+4>>2];k=e+(B(l,-3)+(f<<1)|0)|0;j=k>>31;if((j^j+k)>>>0>128){break e}k=(g+(h<<1)|0)+B(v[c+16>>2],-3)|0;j=k>>31;if((j^j+k)>>>0>128){break e}k=((e<<1)+f|0)+B(v[c+20>>2],-3)|0;j=k>>31;if((j^j+k)>>>0>128){break e}LH(d,g,f);if(!b){break a}b=b-3|0;continue}v[c+48>>2]=h;v[c+52>>2]=e;b=g+m|0;v[c+8>>2]=b>>1;f=f+l|0;v[c+12>>2]=f>>1;g=v[c+16>>2];h=g+h|0;v[c+40>>2]=h>>1;j=b;b=g+m|0;g=j+b|0;v[c+16>>2]=g>>2;b=b+h|0;v[c+32>>2]=b>>2;j=e;e=v[c+20>>2];h=j+e|0;v[c+44>>2]=h>>1;v[c+24>>2]=b+g>>3;b=e+l|0;e=b+f|0;v[c+20>>2]=e>>2;b=b+h|0;v[c+36>>2]=b>>2;v[c+28>>2]=b+e>>3;b=a;continue}}Qb=i+400|0;return 0}function XT(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,n=0,o=0,p=0;g=Qb-16|0;Qb=g;a:{b:{f=A[b>>3];if(f!=1|A[b+8>>3]!=0|(A[b+16>>3]!=0|A[b+24>>3]!=1)){break b}if(e){break b}f=A[b+32>>3];if(!(f!=0|A[b+40>>3]!=0)){b=v[a+104>>2];Ub[v[v[b>>2]+380>>2]](b)|0;v[a+120>>2]=0;v[a+124>>2]=0;v[a+112>>2]=0;v[a+116>>2]=1072693248;v[a+128>>2]=0;v[a+132>>2]=0;v[a+144>>2]=0;v[a+148>>2]=0;v[a+136>>2]=0;v[a+140>>2]=1072693248;v[a+152>>2]=0;v[a+156>>2]=0;break a}A[c>>3]=f;A[d>>3]=A[b+40>>3];b=v[a+104>>2];Ub[v[v[b>>2]+380>>2]](b)|0;v[a+120>>2]=0;v[a+124>>2]=0;v[a+112>>2]=0;v[a+116>>2]=1072693248;v[a+128>>2]=0;v[a+132>>2]=0;v[a+144>>2]=0;v[a+148>>2]=0;v[a+136>>2]=0;v[a+140>>2]=1072693248;v[a+152>>2]=0;v[a+156>>2]=0;break a}c:{if(f!=A[a+112>>3]){break c}j=A[a+120>>3];k=A[b+8>>3];if(j!=k){break c}l=A[b+16>>3];if(l!=A[a+128>>3]){break c}m=A[a+136>>3];n=A[b+24>>3];if(m!=n){break c}h=A[b+32>>3];o=A[a+144>>3];if(h!=o){break c}i=A[b+40>>3];p=A[a+152>>3];if(e|i!=p){break c}f=1/(f*n-k*l);A[c>>3]=f*(m*(h-o)-j*(i-p));A[d>>3]=f*((i-A[a+152>>3])*A[a+112>>3]-(h-A[a+144>>3])*A[a+128>>3]);break a}c=v[a+104>>2];A[g+8>>3]=A[b+32>>3]/72*25.4;A[g>>3]=A[b+40>>3]/72*25.4;Ub[v[v[c>>2]+372>>2]](c,b,b+8|0,b+16|0,b+24|0,g+8|0,g)|0;A[a+112>>3]=A[b>>3];A[a+120>>3]=A[b+8>>3];A[a+128>>3]=A[b+16>>3];A[a+136>>3]=A[b+24>>3];A[a+144>>3]=A[b+32>>3];A[a+152>>3]=A[b+40>>3]}Qb=g+16|0}function zJ(a,b,c,d,e,f,g,h,i,j,k){var l=0,m=0,n=0;n=Qb-16|0;Qb=n;a:{if(!(!x[j+28>>1]|!(w[j+65|0]?1:w[j+64|0]))){m=Ss(a,j);if(m){break a}}l=Ub[v[a+152>>2]](92)|0;if(!l){m=1;pc(a,1,0,0);break a}t[l+31|0]=d;t[l+30|0]=0;u[l+28>>1]=b;v[l+4>>2]=0;v[l>>2]=622;d=w[j+32|0];t[l+33|0]=1;t[l+32|0]=d;b:{if(f){if(!g){v[l+36>>2]=h;break b}v[l+36>>2]=v[j+36>>2]+h;i=v[j+40>>2]+i|0;break b}v[l+36>>2]=v[j+36>>2];i=v[j+40>>2]}v[l+40>>2]=i;t[l+44|0]=w[j+44|0];v[l+48>>2]=v[j+48>>2];v[l+52>>2]=v[j+52>>2];v[l+56>>2]=v[j+56>>2];d=v[j+60>>2];v[l+80>>2]=0;v[l+84>>2]=0;v[l+60>>2]=d;if(b){d=a+692|0;c:{d:{m=v[a+692>>2];if(m){while(1){if(x[m+28>>1]<=b>>>0){break d}m=v[m+12>>2];if(m){continue}break}}m=v[a+688>>2];v[l+8>>2]=m;v[a+688>>2]=l;break c}v[l+12>>2]=m;v[l+8>>2]=v[m+8>>2];v[m+8>>2]=l;m=v[l+8>>2]}v[(m?m+12|0:d)>>2]=l}e:{f:{if(c){a=v[j+88>>2];v[l+88>>2]=a;v[a+28>>2]=v[a+28>>2]+1;break f}c=v[j+88>>2];d=(e?0:w[c+33|0])<<24>>24;b=Ub[v[a+152>>2]](1180)|0;g:{if(b){b=gc(b,c,1180);t[b+33|0]=d;v[b+28>>2]=1;t[b+32|0]=0;h:{d=v[b+1172>>2];if(d){d=Ub[v[a+152>>2]](d)|0;v[b+1176>>2]=d;if(!d){break h}gc(d,v[c+1176>>2],v[b+1172>>2])}d=v[b+1144>>2];if(d){d=Ub[v[a+152>>2]](d)|0;v[b+1148>>2]=d;if(!d){break h}gc(d,v[c+1148>>2],v[b+1144>>2])}v[n+12>>2]=b;m=0;break g}Ub[v[a+156>>2]](b,1180)}pc(a,1,0,0);m=1}if(m){break e}v[l+88>>2]=v[n+12>>2]}v[k>>2]=l;m=0;break a}Ub[v[a+156>>2]](l,92)}Qb=n+16|0;return m}function TMa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=v[a+8>>2];m=v[a+12>>2];if(h>>>0>>0){k=v[a+20>>2];c=v[a+4>>2];if(v[c+52>>2]==1){Fh(c,851616,4,a+16|0,k,a+24|0,-1,b);c=v[a+4>>2];v[c+52>>2]=0}e=v[a+24>>2];d=v[a+16>>2];g=v[c+56>>2];if(g){v[c+56>>2]=0;j=h;c=1}else{c=0}a:{while(1){b:{c:{d:{e:{f:{g:{h:{if(!c){if(h>>>0>=m>>>0){j=h;break a}if(d>>>0>=k>>>0){j=h;break a}j=h+2|0;g=x[h>>1];c=j;if((g&63488)!=55296){break h}if((g&64512)!=55296){break g}c=1;continue}if(j>>>0>=m>>>0){break d}h=x[j>>1];if((h&64512)!=56320){break g}g=(h+(g<<10)|0)-56613888|0;c=j+2|0}h=c;i=g>>>16|0;i:{if(d>>>0>>0){t[d|0]=0;v[e>>2]=l;e=e+4|0;d=d+1|0;break i}c=v[a+4>>2];f=t[c+63|0];t[c+63|0]=f+1;t[(c+f|0)+76|0]=0;v[b>>2]=15}c=i&31;if(d>>>0>>0){break f}f=v[a+4>>2];i=t[f+63|0];t[f+63|0]=i+1;t[(f+i|0)+76|0]=c;v[b>>2]=15;break e}v[v[a+4>>2]+56>>2]=g;break b}t[d|0]=c;v[e>>2]=l;e=e+4|0;d=d+1|0}f=g>>>8|0;j:{if(d>>>0>=k>>>0){i=v[a+4>>2];n=t[i+63|0];t[i+63|0]=n+1;t[(i+n|0)+76|0]=f;v[b>>2]=15;break j}t[d|0]=f;v[e>>2]=l;e=e+4|0;d=d+1|0}k:{if(d>>>0>=k>>>0){f=v[a+4>>2];i=t[f+63|0];t[f+63|0]=i+1;t[(f+i|0)+76|0]=g;v[b>>2]=15;break k}t[d|0]=g;v[e>>2]=l;e=e+4|0;d=d+1|0}l=(((c|0)!=0)+l|0)+1|0;break c}v[v[a+4>>2]+56>>2]=g;if(w[a+2|0]){break b}break a}c=0;continue}break}v[b>>2]=12}if(!(d>>>0>>0|j>>>0>=m>>>0|v[b>>2]>0)){v[b>>2]=15}v[a+24>>2]=e;v[a+8>>2]=j;v[a+16>>2]=d}}function QMa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=v[a+8>>2];m=v[a+12>>2];if(h>>>0>>0){k=v[a+20>>2];c=v[a+4>>2];if(v[c+52>>2]==1){Fh(c,851624,4,a+16|0,k,a+24|0,-1,b);c=v[a+4>>2];v[c+52>>2]=0}f=v[a+24>>2];d=v[a+16>>2];g=v[c+56>>2];if(g){v[c+56>>2]=0;i=h;c=1}else{c=0}a:{while(1){b:{c:{d:{e:{f:{g:{h:{if(!c){if(h>>>0>=m>>>0){i=h;break a}if(d>>>0>=k>>>0){i=h;break a}i=h+2|0;g=x[h>>1];c=i;if((g&63488)!=55296){break h}if((g&64512)!=55296){break g}c=1;continue}if(i>>>0>=m>>>0){break d}h=x[i>>1];if((h&64512)!=56320){break g}g=(h+(g<<10)|0)-56613888|0;c=i+2|0}h=c;i:{if(d>>>0>>0){t[d|0]=g;v[f>>2]=l;f=f+4|0;d=d+1|0;break i}c=v[a+4>>2];e=t[c+63|0];t[c+63|0]=e+1;t[(c+e|0)+76|0]=g;v[b>>2]=15}n=g>>>16|0;c=g>>>8|0;if(d>>>0>>0){break f}e=v[a+4>>2];j=t[e+63|0];t[e+63|0]=j+1;t[(e+j|0)+76|0]=c;v[b>>2]=15;break e}v[v[a+4>>2]+56>>2]=g;break b}t[d|0]=c;v[f>>2]=l;f=f+4|0;d=d+1|0}c=n&31;j:{if(d>>>0>=k>>>0){e=v[a+4>>2];j=t[e+63|0];t[e+63|0]=j+1;t[(e+j|0)+76|0]=c;v[b>>2]=15;break j}t[d|0]=c;v[f>>2]=l;f=f+4|0;d=d+1|0}k:{if(d>>>0>=k>>>0){e=v[a+4>>2];j=t[e+63|0];t[e+63|0]=j+1;t[(e+j|0)+76|0]=0;v[b>>2]=15;break k}t[d|0]=0;v[f>>2]=l;f=f+4|0;d=d+1|0}l=(((c|0)!=0)+l|0)+1|0;break c}v[v[a+4>>2]+56>>2]=g;if(w[a+2|0]){break b}break a}c=0;continue}break}v[b>>2]=12}if(!(d>>>0>>0|i>>>0>=m>>>0|v[b>>2]>0)){v[b>>2]=15}v[a+24>>2]=f;v[a+8>>2]=i;v[a+16>>2]=d}}function Di(a){var b=0,c=0,d=0,e=0,f=0;c=Qb-128|0;Qb=c;a:{b:{c:{d:{if(x[a+138>>1]==1){if(!(w[a+13|0]&64|x[a+90>>1]!=6)){v[c+52>>2]=c+126;v[c+48>>2]=c+124;Kd(a,530,c+48|0);b=x[c+124>>1];if(!b){zc(v[a+628>>2],v[a>>2],9852,0);a=0;break a}e=v[a+56>>2];if(e>>>0<0-b>>>0){e=((b+e|0)-1>>>0)/(b>>>0)|0}else{e=0}e=B(e,b);f=x[a+84>>1];b=Bib(e,0,f,0);d=(Tb|0)!=0;e:{f:{g:{if(f){if(d){b=v[a>>2];d=v[a+628>>2];v[c+16>>2]=18329;zc(d,b,22641,c+16|0);f=x[a+84>>1];b=Bib(f,0,e,0);d=(Tb|0)!=0;break g}if(!(b&7)){break f}if(!d){break c}b=v[a>>2];a=v[a+628>>2];v[c+32>>2]=18329;zc(a,b,22641,c+32|0);b=0;break c}if(b&7){break c}}if(!f){break e}}if(!d){break e}b=v[a>>2];a=v[a+628>>2];v[c>>2]=18329;zc(a,b,22641,c);b=0}a=b>>>3|0;break b}f=x[a+98>>1];e=Bib(v[a+56>>2],0,f,0);d=Tb;b=e;if(!f|!d){break d}b=v[a>>2];e=v[a+628>>2];v[c+112>>2]=18329;zc(e,b,22641,c+112|0);b=0;break d}b=v[a+56>>2]}e=b;f=x[a+84>>1];b=Bib(b,0,f,0);d=(Tb|0)!=0;h:{i:{j:{k:{if(f){if(d){b=v[a>>2];d=v[a+628>>2];v[c+80>>2]=18329;zc(d,b,22641,c+80|0);f=x[a+84>>1];b=Bib(f,0,e,0);d=(Tb|0)!=0;break k}if(!(b&7)){break j}if(!d){break h}b=v[a>>2];a=v[a+628>>2];v[c+96>>2]=18329;zc(a,b,22641,c+96|0);b=0;break h}if(b&7){break h}}if(!f){break i}}if(!d){break i}b=v[a>>2];a=v[a+628>>2];v[c+64>>2]=18329;zc(a,b,22641,c- -64|0);b=0}a=b>>>3|0;break a}a=(b>>>3|0)+1|0;break a}a=(b>>>3|0)+1|0}a=((a>>>0)/x[c+124>>1]<<1)+a|0}Qb=c+128|0;return a}function QSa(a,b){a=a|0;b=b|0;var c=0,d=0,e=C(0),f=C(0),g=C(0),h=0,i=0;v[a>>2]=465876;v[a+20>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;v[a+32>>2]=0;h=a+36|0;d=h;v[d>>2]=0;v[d+4>>2]=0;c=a;v[c+44>>2]=0;v[c+48>>2]=0;v[c+68>>2]=0;v[c+72>>2]=0;v[c+60>>2]=0;v[c+64>>2]=1065353216;v[c+76>>2]=0;v[c+80>>2]=0;v[c+120>>2]=1;v[c+112>>2]=0;v[c+116>>2]=1;v[c+104>>2]=0;v[c+108>>2]=0;v[c+96>>2]=1056964608;v[c+100>>2]=1065353216;u[c+92>>1]=0;v[c+84>>2]=1065353216;v[c+88>>2]=1065353216;v[c+140>>2]=0;v[c+144>>2]=0;v[c+132>>2]=0;v[c+136>>2]=0;v[c+124>>2]=0;v[c+128>>2]=0;v[c+172>>2]=0;v[c+176>>2]=0;v[c+164>>2]=0;v[c+168>>2]=0;v[c+156>>2]=0;v[c+160>>2]=0;d=fc(24);v[c+168>>2]=d;i=d+24|0;v[c+176>>2]=i;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=0;v[d+4>>2]=0;v[c+172>>2]=i;ic(c+184|0,0,88);v[c+284>>2]=1092616192;z[c+12>>2]=z[b+16>>2];z[c+16>>2]=z[b+20>>2];d=v[b+4>>2];v[c+20>>2]=v[b>>2];v[c+24>>2]=d;d=v[b+12>>2];v[c+28>>2]=v[b+8>>2];v[c+32>>2]=d;gc(h,b,80);v[299999]=0;d=c+116|0;Q(2454,d|0,b+80|0)|0;b=v[299999];v[299999]=0;a:{b:{c:{if((b|0)!=1){v[a+272>>2]=0;v[a+276>>2]=0;if(z[a+108>>2]==C(0)){break a}e=z[a+12>>2];f=z[a+16>>2];if(!(e>2]}z[a+276>>2]=f}if(z[a+112>>2]!=C(0)){b=a;e=z[a+16>>2];g=z[a+12>>2];d:{if(e>2]}z[b+272>>2]=g}z[a+280>>2]=C(1)/C(C(f+C(1))+g);return a|0}function n_a(a){a=a|0;var b=0,c=0,d=0,e=0;if(a){c=v[a+100>>2];d=v[a+540>>2];a:{if(!d){break a}b=v[d+80>>2];if(b){Ub[b|0](a)}b=v[d+100>>2];if(b){Ub[b|0](a)}b=v[d+120>>2];if(!b){break a}Ub[b|0](a);Ub[v[d+124>>2]](a)}if(w[a+848|0]){if(v[a+828>>2]){nf(v[a+104>>2],a+828|0)}v[a+840>>2]=0;v[a+832>>2]=0;v[a+836>>2]=0}nf(v[a+104>>2],a+808|0);v[a+820>>2]=0;v[a+824>>2]=0;v[a+812>>2]=0;v[a+816>>2]=0;b=c;e=v[a+144>>2];if(e){Ub[v[b+8>>2]](b,e)}v[a+140>>2]=0;v[a+144>>2]=0;b=v[a+156>>2];if(b){Ub[v[c+8>>2]](c,b)}u[a+152>>1]=0;v[a+156>>2]=0;nf(v[a+104>>2],a+508|0);v[a+752>>2]=0;v[a+756>>2]=0;v[a+512>>2]=0;if(w[a+292|0]){b=c;e=v[a+332>>2];if(e){Ub[v[b+8>>2]](b,e)}v[a+332>>2]=0;b=v[a+336>>2];if(b){Ub[v[c+8>>2]](c,b)}t[a+292|0]=0;v[a+336>>2]=0}b=v[a+564>>2];if(b){Ub[v[c+8>>2]](c,b)}u[a+562>>1]=0;v[a+564>>2]=0;if(d){Ub[v[d+52>>2]](a)}b=v[a+20>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+20>>2]=0;b=v[a+24>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+24>>2]=0;b=v[a+32>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+32>>2]=0;b=v[a+804>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+28>>2]=0;v[a+804>>2]=0;b=v[a+720>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+720>>2]=0;b=v[a+744>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+744>>2]=0;b=v[a+652>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+652>>2]=0;b=v[a+656>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+656>>2]=0;b=v[a+664>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+664>>2]=0;b=v[a+672>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+540>>2]=0;v[a+672>>2]=0}}function SQa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=Qb-48|0;Qb=d;v[d+16>>2]=17;v[d+20>>2]=v[b+8>>2];v[d+24>>2]=v[b+12>>2];e=jc(32);b=e;v[b+24>>2]=1768386675;v[b+28>>2]=0;v[b+16>>2]=1768386662;v[b+20>>2]=0;v[b+8>>2]=1768386675;v[b+12>>2]=0;v[b>>2]=1768386662;v[b+4>>2]=0;v[d+40>>2]=4;v[d+44>>2]=b;b=0;a:{if(WH(v[v[a>>2]>>2],d+16|0,c,d+12|0)){break a}dc(e);e=fc(2228536);v[299999]=0;a=qX(e);b=v[299999];v[299999]=0;b:{if((b|0)!=1){v[a+176>>2]=c;b=v[d+12>>2];v[a+260>>2]=x[b+68>>1];v[a+248>>2]=u[b+70>>1];v[a+252>>2]=u[b+72>>1];v[a+256>>2]=u[b+74>>1];c=v[b+36>>2];v[a+180>>2]=b;v[a+244>>2]=c;v[a+192>>2]=-1;v[a+196>>2]=-1;b=Do(v[a+180>>2],2);c:{if(!b){break c}v[a+192>>2]=x[b+92>>1];if(x[b>>1]==65535){break c}c=v[b+80>>2];if(c|v[b+84>>2]?(c|0)>=0:0){break c}b=v[a+180>>2];c=v[b+36>>2];if((c|0)<1){break c}h=v[b+40>>2];b=0;while(1){f=v[(b<<2)+h>>2];if(!(x[f+10>>1]|x[f+8>>1]!=3)){v[a+196>>2]=b;break c}b=b+1|0;if((c|0)!=(b|0)){continue}break}}b=0;f=v[d+12>>2];g=A[a+112>>3]*64;d:{if(D(g)<2147483648){c=~~g;break d}c=-2147483648}if(!K_(f,c,0,0)){break b}dA(v[d+12>>2]);Ub[v[v[e>>2]+4>>2]](a);break a}a=P()|0;O()|0;dc(e);T(a|0);L()}v[a+56>>2]=0;v[a+60>>2]=1072693248;b=a- -64|0;v[b>>2]=0;v[b+4>>2]=0;v[a+72>>2]=0;v[a+76>>2]=0;v[a+88>>2]=0;v[a+92>>2]=0;v[a+80>>2]=0;v[a+84>>2]=1072693248;v[a+96>>2]=0;v[a+100>>2]=0;Ub[v[v[a>>2]+72>>2]](a);UG(a);b=a}Qb=d+48|0;return b|0}function Y3a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;v[a+4>>2]=0;if((b|0)!=80){d=v[a>>2];v[d+20>>2]=13;v[d+24>>2]=80;v[v[a>>2]+28>>2]=b;Ub[v[v[a>>2]>>2]](a)}if((c|0)!=488){b=v[a>>2];v[b+20>>2]=22;v[b+24>>2]=488;v[v[a>>2]+28>>2]=c;Ub[v[v[a>>2]>>2]](a)}b=v[a>>2];c=v[a+12>>2];ic(a+4|0,0,484);v[a+16>>2]=1;v[a+12>>2]=c;v[a>>2]=b;f_(a);v[a+308>>2]=0;v[a+24>>2]=0;v[a+8>>2]=0;v[a+164>>2]=0;v[a+168>>2]=0;v[a+172>>2]=0;v[a+176>>2]=0;v[a+180>>2]=0;v[a+184>>2]=0;v[a+188>>2]=0;v[a+192>>2]=0;v[a+196>>2]=0;v[a+200>>2]=0;v[a+204>>2]=0;v[a+208>>2]=0;b=Ub[v[v[a+4>>2]>>2]](a,0,172)|0;v[a+460>>2]=b;v[b+96>>2]=0;v[b+100>>2]=0;v[b+28>>2]=166;v[b+8>>2]=167;v[b+4>>2]=168;v[b>>2]=169;v[b+104>>2]=0;v[b+36>>2]=166;v[b+40>>2]=166;v[b+108>>2]=0;v[b+112>>2]=0;v[b+44>>2]=166;v[b+48>>2]=166;v[b+116>>2]=0;v[b+120>>2]=0;v[b+52>>2]=166;v[b+56>>2]=166;v[b+124>>2]=0;v[b+128>>2]=0;v[b+60>>2]=166;v[b+132>>2]=0;v[b+64>>2]=166;v[b+136>>2]=0;v[b+140>>2]=0;v[b+68>>2]=166;v[b+72>>2]=166;v[b+76>>2]=166;v[b+80>>2]=166;v[b+144>>2]=0;v[b+148>>2]=0;v[b+84>>2]=166;v[b+152>>2]=0;v[b+156>>2]=0;v[b+160>>2]=0;v[b+92>>2]=166;v[b+32>>2]=170;v[b+88>>2]=170;v[a+436>>2]=0;v[a+144>>2]=0;v[a+216>>2]=0;b=v[a+460>>2];v[b+164>>2]=0;v[b+24>>2]=0;v[b+12>>2]=0;v[b+16>>2]=0;b=Ub[v[v[a+4>>2]>>2]](a,0,28)|0;v[a+456>>2]=b;v[b+24>>2]=1;v[b+16>>2]=0;v[b+20>>2]=0;v[b+12>>2]=173;v[b+8>>2]=174;v[b+4>>2]=175;v[b>>2]=176;v[a+20>>2]=200}function bta(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=Qb-48|0;Qb=d;a:{b:{c:{d:{if((wo(a)|0)<1){break d}if(!rj(a)){break d}g=d+16|0;Xu(g,a);v[299999]=0;g=Q(4160,d+32|0,g|0)|0;e=v[299999];v[299999]=0;e:{if((e|0)!=1){if(t[d+27|0]<=-1){dc(v[d+16>>2])}f:{g:{h:{i:{while(1){v[299999]=0;e=v[g+4>>2];f=v[299999];v[299999]=0;if((f|0)==1){break f}if(!e){break e}v[299999]=0;e=md(g,b);f=v[299999];v[299999]=0;if((f|0)==1){break f}if(e){v[299999]=0;V(4150,d+16|0,a|0);b=v[299999];v[299999]=0;j:{if((b|0)!=1){v[299999]=0;U(4204,c|0,d+16|0,1);b=v[299999];v[299999]=0;if((b|0)==1){break j}if(t[d+27|0]>-1){break e}dc(v[d+16>>2]);break e}a=P()|0;O()|0;break b}a=P()|0;O()|0;if(t[d+27|0]>-1){break b}dc(v[d+16>>2]);break b}v[299999]=0;e=Ji(a);f=v[299999];v[299999]=0;if((f|0)==1){break f}if(!e){break e}v[299999]=0;V(4145,d|0,a|0);e=v[299999];v[299999]=0;if((e|0)!=1){v[299999]=0;e=Q(4160,d+16|0,d|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break i}v[299999]=0;uf(g,e);f=v[299999];v[299999]=0;if((f|0)==1){break h}xc(e);if(t[d+11|0]>-1){continue}dc(v[d>>2]);continue}break}a=P()|0;O()|0;break b}a=P()|0;O()|0;break g}a=P()|0;O()|0;xc(e)}if(t[d+11|0]>-1){break b}dc(v[d>>2]);break b}a=P()|0;O()|0;break b}a=P()|0;O()|0;if(t[d+27|0]>-1){break a}dc(v[d+16>>2]);T(a|0);L()}v[299999]=0;_i(a);a=v[299999];v[299999]=0;if((a|0)==1){break c}xc(g)}Qb=d+48|0;return}a=P()|0;O()|0}xc(g)}T(a|0);L()}function Xba(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,h=0;g=Qb-32|0;Qb=g;v[g+24>>2]=b;a:{b:{if(!(v[d+4>>2]&1)){v[g>>2]=-1;b=Ub[v[v[a>>2]+16>>2]](a,b,c,d,e,g)|0;v[g+24>>2]=b;c:{switch(v[g>>2]){case 1:t[f|0]=1;break a;case 0:break b;default:break c}}t[f|0]=1;v[e>>2]=4;break a}a=v[d+28>>2];v[g>>2]=a;v[a+4>>2]=v[a+4>>2]+1;v[299999]=0;h=S(5533,g|0)|0;a=v[299999];v[299999]=0;d:{e:{f:{g:{if((a|0)!=1){a=v[g>>2];b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}a=v[d+28>>2];v[g>>2]=a;v[a+4>>2]=v[a+4>>2]+1;v[299999]=0;b=S(5534,g|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break g}a=v[g>>2];d=v[a+4>>2]-1|0;v[a+4>>2]=d;if((d|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}v[299999]=0;V(5535,g|0,b|0);a=v[299999];v[299999]=0;if((a|0)==1){b=P()|0;O()|0;break d}v[299999]=0;V(5536,g|12,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break f}v[299999]=0;d=g+24|0;a=ma(5537,d|0,c|0,g|0,d|0,h|0,e|0,1)|0;b=v[299999];v[299999]=0;if((b|0)==1){break e}t[f|0]=(a|0)==(g|0);b=v[g+24>>2];while(1){d=Mc(d-12|0);if((g|0)!=(d|0)){continue}break}break a}b=P()|0;O()|0;a=v[g>>2];c=v[a+4>>2]-1|0;v[a+4>>2]=c;if((c|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}break d}b=P()|0;O()|0;a=v[g>>2];c=v[a+4>>2]-1|0;v[a+4>>2]=c;if((c|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}break d}b=P()|0;O()|0;Mc(g);break d}b=P()|0;O()|0;while(1){d=Mc(d-12|0);if((g|0)!=(d|0)){continue}break}}T(b|0);L()}t[f|0]=0}Qb=g+32|0;return b|0}function J_a(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,p=0,q=0;j=Qb-16|0;Qb=j;d=v[a+28>>2];e=v[a+16>>2];k=v[a+24>>2];v[j+12>>2]=0;a:{b:{g=k+1|0;c:{if(g>>>0<=d>>>0){l=v[a+32>>2];break c}v[a+36>>2]=b;l=Cc(b,4,d,g,v[a+32>>2],j+12|0);v[a+32>>2]=l;if(v[j+12>>2]){break b}v[a+28>>2]=g}g=l;if(k){e=e+10|0;while(1){h=w[e+7|0]|w[e+8|0]<<8|(w[e+9|0]<<16|w[e+10|0]<<24);o=w[e|0];p=w[e+1|0];q=w[e+2|0];d:{e:{f:{b=w[e+3|0]|w[e+4|0]<<8|(w[e+5|0]<<16|w[e+6|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(!b){break f}d=b+v[a+16>>2]|0;b=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);m=d+7|0;i=0;while(1){if(b>>>0<=i>>>0){break f}d=b;b=b+i>>>1|0;n=m+(b<<2)|0;f=n-3|0;f=w[f+1|0]<<8|w[f|0]<<16|w[f+2|0];if(f>>>0>c>>>0){continue}i=b+1|0;b=d;if(f+w[n|0]>>>0>>0){continue}break}break e}b=h<<8&16711680|h<<24|(h>>>8&65280|h>>>24);if(!b){break d}d=b+v[a+16>>2]|0;b=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(!b){break d}m=d+7|0;i=0;while(1){g:{d=b+i>>>1|0;h=m+B(d,5)|0;f=h-3|0;f=w[f+1|0]<<8|w[f|0]<<16|w[f+2|0];h:{if(f>>>0>c>>>0){b=d;break h}if(c>>>0<=f>>>0){break g}i=d+1|0}if(b>>>0>i>>>0){continue}break d}break}if(!(w[h+1|0]|w[h|0]<<8)){break d}}v[g>>2]=p<<8|o<<16|q;g=g+4|0}e=e+11|0;k=k-1|0;if(k){continue}break}}v[g>>2]=0;break a}l=0}Qb=j+16|0;return l|0}function Bba(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,h=0;g=Qb-32|0;Qb=g;v[g+24>>2]=b;a:{b:{if(!(v[d+4>>2]&1)){v[g>>2]=-1;b=Ub[v[v[a>>2]+16>>2]](a,b,c,d,e,g)|0;v[g+24>>2]=b;c:{switch(v[g>>2]){case 1:t[f|0]=1;break a;case 0:break b;default:break c}}t[f|0]=1;v[e>>2]=4;break a}a=v[d+28>>2];v[g>>2]=a;v[a+4>>2]=v[a+4>>2]+1;v[299999]=0;h=S(5466,g|0)|0;a=v[299999];v[299999]=0;d:{e:{f:{g:{if((a|0)!=1){a=v[g>>2];b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}a=v[d+28>>2];v[g>>2]=a;v[a+4>>2]=v[a+4>>2]+1;v[299999]=0;b=S(5563,g|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break g}a=v[g>>2];d=v[a+4>>2]-1|0;v[a+4>>2]=d;if((d|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}v[299999]=0;V(5564,g|0,b|0);a=v[299999];v[299999]=0;if((a|0)==1){b=P()|0;O()|0;break d}v[299999]=0;V(5565,g|12,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break f}v[299999]=0;d=g+24|0;a=ma(5566,d|0,c|0,g|0,d|0,h|0,e|0,1)|0;b=v[299999];v[299999]=0;if((b|0)==1){break e}t[f|0]=(a|0)==(g|0);b=v[g+24>>2];while(1){d=le(d-12|0);if((g|0)!=(d|0)){continue}break}break a}b=P()|0;O()|0;a=v[g>>2];c=v[a+4>>2]-1|0;v[a+4>>2]=c;if((c|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}break d}b=P()|0;O()|0;a=v[g>>2];c=v[a+4>>2]-1|0;v[a+4>>2]=c;if((c|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}break d}b=P()|0;O()|0;le(g);break d}b=P()|0;O()|0;while(1){d=le(d-12|0);if((g|0)!=(d|0)){continue}break}}T(b|0);L()}t[f|0]=0}Qb=g+32|0;return b|0}function mv(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;n=d-b|0;if(n+4194303>>>0>=8388607){h=b+d>>1;g=c+e>>1;mv(a,b,c,h,g);mv(a,h,g,d,e)}f=v[a+80>>2];g=b>>8;if((f|0)>(g|0)){v[a+80>>2]=g;f=g}l=v[a+88>>2];if((g|0)>(l|0)){v[a+88>>2]=g;l=g}i=v[a+84>>2];h=c>>8;if((i|0)>(h|0)){v[a+84>>2]=h;i=h}j=v[a+92>>2];if((h|0)>(j|0)){v[a+92>>2]=h;j=h}m=f;f=d>>8;if((m|0)>(f|0)){v[a+80>>2]=f}if((f|0)>(l|0)){v[a+88>>2]=f}k=e>>8;if((k|0)<(i|0)){v[a+84>>2]=k}if((j|0)<(k|0)){v[a+92>>2]=k}o=e&255;f=c&255;zo(a,g,h);if((h|0)==(k|0)){lv(a,h,b,f,d,o);return}c=e-c|0;if(!n){d=(c>>>23^-1)&256;f=d-f|0;v[a+56>>2]=f+v[a+56>>2];i=f;f=b<<1&510;v[a+60>>2]=v[a+60>>2]+B(i,f);c=(c|0)>-1?1:-1;b=c+h|0;zo(a,g,b);if((b|0)!=(k|0)){h=(d<<1)-256|0;j=B(h,f);while(1){v[a+60>>2]=j;v[a+56>>2]=h;b=b+c|0;zo(a,g,b);if((b|0)!=(k|0)){continue}break}}b=d+(e|-256)|0;v[a+56>>2]=b+v[a+56>>2];v[a+60>>2]=v[a+60>>2]+B(b,f);return}l=-1;e=a;g=h;i=b;m=f;a:{if((c|0)>-1){l=1;f=256-f|0;j=256;break a}c=0-c|0;j=0}p=e;q=g;g=b;b=B(f,n);e=(b|0)/(c|0)|0;g=g+e|0;e=b-B(c,e)|0;g=g+(e>>31)|0;lv(p,q,i,m,g,j);b=h+l|0;zo(a,g>>8,b);if((b|0)==(k|0)){lv(a,k,g,256-j|0,d,o);return}f=n<<8;h=(f|0)/(c|0)|0;f=f-B(c,h)|0;i=f>>31;f=(i&c)+f|0;i=h+i|0;h=256-j|0;e=e-((e|0)<0?0:c)|0;while(1){m=g;e=e+f|0;g=g+i+((e^-1)>>>31)|0;lv(a,b,m,h,g,j);b=b+l|0;zo(a,g>>8,b);e=e-((e|0)<0?0:c)|0;if((b|0)!=(k|0)){continue}break}lv(a,k,g,h,d,o)}function eDa(a,b,c){a=a|0;b=b|0;c=c|0;var d=C(0),e=C(0),f=C(0),g=C(0),h=0,i=0,j=C(0),k=C(0),l=C(0),m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=C(0),x=C(0),y=C(0),A=C(0),B=C(0),D=C(0),E=C(0);h=a;while(1){i=v[(m<<2)+b>>2]+c|0;n=w[i+7|0];o=w[i|0];d=C(n+o|0);p=w[i+4|0];q=w[i+3|0];e=C(p+q|0);g=C(d+e);r=w[i+6|0];s=w[i+1|0];f=C(r+s|0);t=w[i+5|0];i=w[i+2|0];j=C(t+i|0);k=C(f+j);z[h+16>>2]=g-k;z[h>>2]=C(k+g)+C(-1024);d=C(d-e);e=C(C(d+C(f-j))*C(.7071067690849304));z[h+24>>2]=d-e;z[h+8>>2]=d+e;d=C(o-n|0);g=C(s-r|0);f=C(i-t|0);j=C(C(g+f)*C(.7071067690849304));e=C(d-j);f=C(f+C(q-p|0));k=C(d+g);g=C(C(f-k)*C(.3826834261417389));f=C(C(f*C(.5411961078643799))+g);z[h+20>>2]=e+f;z[h+12>>2]=e-f;d=C(j+d);e=C(C(k*C(1.3065630197525024))+g);z[h+28>>2]=d-e;z[h+4>>2]=d+e;h=h+32|0;m=m+1|0;if((m|0)!=8){continue}break}h=7;while(1){g=z[a>>2];f=z[a+224>>2];d=C(g+f);j=z[a+96>>2];k=z[a+128>>2];e=C(j+k);l=C(d+e);u=z[a+32>>2];x=z[a+192>>2];y=C(u+x);A=z[a+64>>2];B=z[a+160>>2];D=C(A+B);E=C(y+D);z[a+128>>2]=l-E;z[a>>2]=E+l;d=C(d-e);e=C(C(d+C(y-D))*C(.7071067690849304));z[a+192>>2]=d-e;z[a+64>>2]=d+e;d=C(g-f);g=C(u-x);f=C(A-B);l=C(C(g+f)*C(.7071067690849304));e=C(d-l);f=C(f+C(j-k));j=C(d+g);g=C(C(f-j)*C(.3826834261417389));f=C(C(f*C(.5411961078643799))+g);z[a+160>>2]=e+f;z[a+96>>2]=e-f;d=C(d+l);e=C(C(j*C(1.3065630197525024))+g);z[a+224>>2]=d-e;z[a+32>>2]=d+e;b=h;h=h-1|0;a=a+4|0;if(b){continue}break}}function Pz(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=Qb-16|0;Qb=e;f=v[a+100>>2];v[e+12>>2]=0;d=v[a+532>>2];a:{if(!d){d=Fd(f,420,e+12|0);if(v[e+12>>2]){break a}v[d+416>>2]=0;v[a+532>>2]=d}b:{c:{if(!b){break c}g=v[d>>2];if(!g){k=d,l=Cc(f,32,0,b,0,e+12|0),v[k+148>>2]=l;if(v[e+12>>2]){break a}k=d,l=Cc(f,196,0,b,0,e+12|0),v[k+216>>2]=l;if(v[e+12>>2]){break a}k=d,l=Cc(f,16,0,b,0,e+12|0),v[k+288>>2]=l;if(v[e+12>>2]){break a}g=Cc(f,4,0,b<<1,0,e+12|0);v[d+136>>2]=g;if(v[e+12>>2]){break a}v[d+284>>2]=a+464;v[d+212>>2]=a+168;v[d+144>>2]=a+132;v[d+140>>2]=g+(b<<2);if(b>>>0>=2){h=v[d+288>>2];g=v[d+216>>2];i=v[d+148>>2];a=2;while(1){j=(a<<2)+d|0;h=h+16|0;v[j+284>>2]=h;g=g+196|0;v[j+212>>2]=g;i=i+32|0;v[j+144>>2]=i;a=a+1|0;if(b>>>0>=a>>>0){continue}break}}v[d>>2]=b;break c}if((b|0)!=(g|0)){break b}}a=v[d+4>>2];d:{if(!c){c=a;break d}if((a|0)!=(c|0)?a:0){break b}v[d+4>>2]=c}h=v[d>>2];if(v[d+24>>2]|(!h|!c)){break a}b=Cc(f,4,0,B(c,h),0,e+12|0);v[d+24>>2]=b;if(v[e+12>>2]|h>>>0<2){break a}f=h-1|0;g=f&3;a=1;if(h-2>>>0>=3){h=f&-4;f=d+24|0;while(1){v[f+(a<<2)>>2]=b+(B(a,c)<<2);i=a+1|0;v[f+(i<<2)>>2]=b+(B(c,i)<<2);i=a+2|0;v[f+(i<<2)>>2]=b+(B(c,i)<<2);i=a+3|0;v[f+(i<<2)>>2]=b+(B(c,i)<<2);a=a+4|0;h=h-4|0;if(h){continue}break}}if(!g){break a}while(1){v[((a<<2)+d|0)+24>>2]=b+(B(a,c)<<2);a=a+1|0;g=g-1|0;if(g){continue}break}break a}v[e+12>>2]=3}Qb=e+16|0;return v[e+12>>2]}function by(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=v[a+8>>2];e=Ub[v[v[e>>2]+28>>2]](e)|0;a:{if((e|0)==-1){break a}f=v[a+8>>2];f=Ub[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break a}g=v[a+8>>2];g=Ub[v[v[g>>2]+28>>2]](g)|0;if((g|0)==-1){break a}h=v[a+8>>2];h=Ub[v[v[h>>2]+28>>2]](h)|0;if((h|0)==-1){break a}i=v[a+8>>2];i=Ub[v[v[i>>2]+28>>2]](i)|0;if((i|0)==-1){break a}j=v[a+8>>2];j=Ub[v[v[j>>2]+28>>2]](j)|0;if((j|0)==-1){break a}k=v[a+8>>2];k=Ub[v[v[k>>2]+28>>2]](k)|0;if((k|0)==-1){break a}l=v[a+8>>2];l=Ub[v[v[l>>2]+28>>2]](l)|0;if((l|0)==-1){break a}v[b>>2]=l|(j<<16|i<<24|k<<8);b:{c:{d:{e:{b=h|(f<<16|e<<24|g<<8);switch(b|0){case 0:break d;case 1:break e;default:break c}}b=v[a+8>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((b|0)==-1){break a}e=v[a+8>>2];e=Ub[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){break a}f=v[a+8>>2];f=Ub[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break a}g=v[a+8>>2];g=Ub[v[v[g>>2]+28>>2]](g)|0;if((g|0)==-1){break a}h=v[a+8>>2];h=Ub[v[v[h>>2]+28>>2]](h)|0;if((h|0)==-1){break a}i=v[a+8>>2];i=Ub[v[v[i>>2]+28>>2]](i)|0;if((i|0)==-1){break a}j=v[a+8>>2];j=Ub[v[v[j>>2]+28>>2]](j)|0;if((j|0)==-1){break a}k=v[a+8>>2];k=Ub[v[v[k>>2]+28>>2]](k)|0;if((k|0)==-1){break a}if(g|(e<<16|b<<24|f<<8)){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,236454,0);return 0}a=k|(i<<16|h<<24|j<<8);v[c>>2]=a;v[d>>2]=a-16;break b}v[c>>2]=0;v[d>>2]=0;break b}v[c>>2]=b;v[d>>2]=b-8}m=1}return m}function pla(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;var j=0;if(f){a=x[a+26>>1];c=B(a,g);d=e>>>0<8;j=h<<2;while(1){h=e;if(!d){while(1){v[b>>2]=w[i|0]|w[i+1|0]<<8|(w[i+2|0]<<16|w[i+3|0]<<24);g=a+i|0;v[b+4>>2]=w[g|0]|w[g+1|0]<<8|(w[g+2|0]<<16|w[g+3|0]<<24);g=a+g|0;v[b+8>>2]=w[g|0]|w[g+1|0]<<8|(w[g+2|0]<<16|w[g+3|0]<<24);g=a+g|0;v[b+12>>2]=w[g|0]|w[g+1|0]<<8|(w[g+2|0]<<16|w[g+3|0]<<24);g=a+g|0;v[b+16>>2]=w[g|0]|w[g+1|0]<<8|(w[g+2|0]<<16|w[g+3|0]<<24);g=a+g|0;v[b+20>>2]=w[g|0]|w[g+1|0]<<8|(w[g+2|0]<<16|w[g+3|0]<<24);g=a+g|0;v[b+24>>2]=w[g|0]|w[g+1|0]<<8|(w[g+2|0]<<16|w[g+3|0]<<24);g=a+g|0;v[b+28>>2]=w[g|0]|w[g+1|0]<<8|(w[g+2|0]<<16|w[g+3|0]<<24);b=b+32|0;i=a+g|0;h=h-8|0;if(h>>>0>7){continue}break}}f=f-1|0;a:{switch(h-1|0){case 6:v[b>>2]=w[i|0]|w[i+1|0]<<8|(w[i+2|0]<<16|w[i+3|0]<<24);i=a+i|0;b=b+4|0;case 5:v[b>>2]=w[i|0]|w[i+1|0]<<8|(w[i+2|0]<<16|w[i+3|0]<<24);i=a+i|0;b=b+4|0;case 4:v[b>>2]=w[i|0]|w[i+1|0]<<8|(w[i+2|0]<<16|w[i+3|0]<<24);i=a+i|0;b=b+4|0;case 3:v[b>>2]=w[i|0]|w[i+1|0]<<8|(w[i+2|0]<<16|w[i+3|0]<<24);i=a+i|0;b=b+4|0;case 2:v[b>>2]=w[i|0]|w[i+1|0]<<8|(w[i+2|0]<<16|w[i+3|0]<<24);i=a+i|0;b=b+4|0;case 1:v[b>>2]=w[i|0]|w[i+1|0]<<8|(w[i+2|0]<<16|w[i+3|0]<<24);i=a+i|0;b=b+4|0;case 0:v[b>>2]=w[i|0]|w[i+1|0]<<8|(w[i+2|0]<<16|w[i+3|0]<<24);i=a+i|0;b=b+4|0;break;default:break a}}i=c+i|0;b=b+j|0;if(f){continue}break}}}function LRa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=C(e);f=f|0;var g=0,h=0,i=0,j=C(0),k=C(0);v[a>>2]=466344;v[a+4>>2]=4;g=a;v[g+8>>2]=0;v[g+12>>2]=0;v[g+16>>2]=0;v[g+20>>2]=0;v[g+40>>2]=0;v[g+44>>2]=0;v[g+32>>2]=0;v[g+36>>2]=1065353216;v[g+48>>2]=0;v[g+52>>2]=0;v[g+92>>2]=1;v[g+84>>2]=0;v[g+88>>2]=1;v[g+76>>2]=0;v[g+80>>2]=0;v[g+68>>2]=1056964608;v[g+72>>2]=1065353216;u[g- -64>>1]=0;v[g+56>>2]=1065353216;v[g+60>>2]=1065353216;v[g+96>>2]=0;v[g+100>>2]=0;v[g+104>>2]=0;v[g+108>>2]=0;v[g+112>>2]=0;v[g+116>>2]=0;v[g+144>>2]=0;v[g+148>>2]=0;v[g+136>>2]=0;v[g+140>>2]=0;v[g+128>>2]=0;v[g+132>>2]=0;h=fc(24);v[g+140>>2]=h;i=h+24|0;v[g+148>>2]=i;v[h+16>>2]=0;v[h+20>>2]=0;v[h+8>>2]=0;v[h+12>>2]=0;v[h>>2]=0;v[h+4>>2]=0;v[g+144>>2]=i;ic(g+156|0,0,88);v[g+252>>2]=0;v[g+256>>2]=0;v[g+244>>2]=-16777216;v[g+248>>2]=-16777216;v[g+260>>2]=0;v[g+264>>2]=0;v[g+268>>2]=0;v[g+272>>2]=0;v[g+276>>2]=0;v[299999]=0;S(2366,g+280|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){c=P()|0;O()|0;b=v[a+268>>2];if(b){v[a+272>>2]=b;dc(b)}Ne(a+88|0);T(c|0);L()}v[a+288>>2]=0;v[a+292>>2]=0;v[a+312>>2]=0;v[a+316>>2]=0;v[a+304>>2]=0;v[a+308>>2]=0;v[a+296>>2]=0;v[a+300>>2]=0;j=z[b>>2];z[a+252>>2]=j;k=z[b+4>>2];z[a+256>>2]=k;z[a+260>>2]=j+z[b+8>>2];z[a+264>>2]=k+z[b+12>>2];v[a+244>>2]=v[c>>2];b=v[d>>2];v[a+328>>2]=1;v[a+332>>2]=0;v[a+324>>2]=f;v[a+320>>2]=0;z[a+284>>2]=e;v[a+248>>2]=b;return a|0}function $p(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}e=v[a+80>>2];b:{if(!v[294265]){break b}c=v[294263];if(!c){break b}Ub[c|0](a)}c=v[a+64>>2];if(c){il(c,3032)}v[a+64>>2]=0;c=v[a+68>>2];if(c){JU(c)}v[a+68>>2]=0;b=v[a+48>>2];c=v[a+44>>2];if(!(!b|(b|0)==(c|0))){Yi(b);v[a+48>>2]=0;bq(b)}if(c){Yi(v[a+44>>2]);v[a+44>>2]=0;bq(c)}c=v[a+12>>2];if(c){hl(c)}b=v[a+52>>2];if(b){while(1){c=v[b>>2];d=v[b+8>>2];if(d){Ub[v[259708]](d)}d=v[b+12>>2];if(d){Ub[v[259708]](d)}Ub[v[259708]](b);b=c;if(b){continue}break}}d=v[a+56>>2];c:{if(!d){break c}if(e){c=e;while(1){b=v[c+16>>2];if(b){while(1){if(d>>>0<=y[b+4>>2]&d>>>0>=b+20>>>0){break c}b=v[b>>2];if(b){continue}break}}c=v[c+20>>2];if(c){continue}break}}Ub[v[259708]](d)}d=v[a+8>>2];d:{if(!d){break d}if(e){c=e;while(1){b=v[c+16>>2];if(b){while(1){if(d>>>0<=y[b+4>>2]&d>>>0>=b+20>>>0){break d}b=v[b>>2];if(b){continue}break}}c=v[c+20>>2];if(c){continue}break}}Ub[v[259708]](d)}d=v[a+60>>2];e:{if(!d){break e}if(e){c=e;while(1){b=v[c+16>>2];if(b){while(1){if(d>>>0<=y[b+4>>2]&d>>>0>=b+20>>>0){break e}b=v[b>>2];if(b){continue}break}}c=v[c+20>>2];if(c){continue}break}}Ub[v[259708]](d)}d=v[a+72>>2];f:{if(!d){break f}if(e){c=e;while(1){b=v[c+16>>2];if(b){while(1){if(d>>>0<=y[b+4>>2]&d>>>0>=b+20>>>0){break f}b=v[b>>2];if(b){continue}break}}c=v[c+20>>2];if(c){continue}break}}Ub[v[259708]](d)}Ub[v[259708]](a);if(!e){break a}Zm(e)}}function y8(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,j=0;a=Qb-16|0;Qb=a;v[a+12>>2]=c;v[a+8>>2]=f;v[a+12>>2]=c;v[a+8>>2]=f;c=v[a+12>>2];a:{b:{while(1){if(c>>>0>=d>>>0){f=0;break a}f=2;b=x[c>>1];if(b>>>0>1114111){break a}c:{d:{if(b>>>0<=127){f=1;c=v[a+8>>2];if((g-c|0)<1){break a}v[a+8>>2]=c+1;t[c|0]=b;break d}if(b>>>0<=2047){c=v[a+8>>2];if((g-c|0)<2){break b}v[a+8>>2]=c+1;t[c|0]=b>>>6|192;c=v[a+8>>2];v[a+8>>2]=c+1;t[c|0]=b&63|128;break d}if(b>>>0<=55295){c=v[a+8>>2];if((g-c|0)<3){break b}v[a+8>>2]=c+1;t[c|0]=b>>>12|224;c=v[a+8>>2];v[a+8>>2]=c+1;t[c|0]=b>>>6&63|128;c=v[a+8>>2];v[a+8>>2]=c+1;t[c|0]=b&63|128;break d}if(b>>>0<=56319){f=1;if((d-c|0)<4){break a}i=x[c+2>>1];if((i&64512)!=56320){break c}if((g-v[a+8>>2]|0)<4){break a}f=b&960;if((i&1023|(b<<10&64512|f<<10))+65536>>>0>1114111){break c}v[a+12>>2]=c+2;c=v[a+8>>2];v[a+8>>2]=c+1;j=c;c=(f>>>6|0)+1|0;t[j|0]=c>>>2|240;f=v[a+8>>2];v[a+8>>2]=f+1;t[f|0]=c<<4&48|b>>>2&15|128;c=v[a+8>>2];v[a+8>>2]=c+1;t[c|0]=i>>>6&15|b<<4&48|128;b=v[a+8>>2];v[a+8>>2]=b+1;t[b|0]=i&63|128;break d}if(b>>>0<57344){break a}c=v[a+8>>2];if((g-c|0)<3){break b}v[a+8>>2]=c+1;t[c|0]=b>>>12|224;c=v[a+8>>2];v[a+8>>2]=c+1;t[c|0]=b>>>6&63|128;c=v[a+8>>2];v[a+8>>2]=c+1;t[c|0]=b&63|128}c=v[a+12>>2]+2|0;v[a+12>>2]=c;continue}break}f=2;break a}f=1}v[e>>2]=v[a+12>>2];v[h>>2]=v[a+8>>2];Qb=a+16|0;return f|0}function T5a(a){a=a|0;var 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=Qb-1632|0;Qb=b;d=x[a+26308>>1];if(d){e=v[252391];c=x[a+26310>>1];g=v[a+26352>>2];while(1){c=c&65535;a:{if(!c){c=0;break a}k=0;h=0;while(1){d=c-h|0;WI(a,b+96|0,B((d|0)<256?d:256,3));if((d|0)>=1){c=c+k|0;c=(c|0)<256?c:256;n=(c|0)>1?c:1;c=0;d=b+96|0;i=0;j=0;l=0;while(1){c=x[d>>1]+c|0;u[g>>1]=c;if(c&61440){b:{if(v[a+26160>>2]){break b}v[b+80>>2]=v[a+25208>>2];wc(e,8292,b+80|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,e);break b}f=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[b+64>>2]=f;v[b+68>>2]=f>>31;wc(e,14622,b- -64|0)}v[a+26160>>2]=1}i=x[d+2>>1]+i|0;u[g+2>>1]=i;if(i&61440){c:{if(v[a+26160>>2]){break c}v[b+48>>2]=v[a+25208>>2];wc(e,8292,b+48|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,e);break c}f=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[b+32>>2]=f;v[b+36>>2]=f>>31;wc(e,14622,b+32|0)}v[a+26160>>2]=1}j=x[d+4>>1]+j|0;u[g+4>>1]=j;if(j&61440){d:{if(v[a+26160>>2]){break d}v[b+16>>2]=v[a+25208>>2];wc(e,8292,b+16|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,e);break d}f=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[b>>2]=f;v[b+4>>2]=f>>31;wc(e,14622,b)}v[a+26160>>2]=1}d=d+6|0;g=g+8|0;l=l+1|0;if((n|0)!=(l|0)){continue}break}}k=k-256|0;c=x[a+26310>>1];h=h+256|0;if(c>>>0>h>>>0){continue}break}d=x[a+26308>>1]}m=m+1|0;if(m>>>0<(d&65535)>>>0){continue}break}}Qb=b+1632|0}function hHa(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,p=0,q=0,r=0,s=0;f=a;while(1){d=v[(l<<2)+b>>2]+c|0;h=w[d+4|0];g=w[d+3|0];e=h+g|0;i=w[d+7|0];j=w[d|0];k=i+j|0;m=e+k|0;n=w[d+5|0];o=w[d+2|0];p=n+o|0;q=w[d+6|0];r=w[d+1|0];d=q+r|0;s=p+d|0;v[f+16>>2]=m-s<<2;v[f>>2]=(m+s<<2)-4096;e=k-e|0;k=d-p|0;d=B(e+k|0,4433)+1024|0;v[f+24>>2]=d+B(k,-15137)>>11;v[f+8>>2]=d+B(e,6270)>>11;d=g-h|0;h=j-i|0;g=B(d+h|0,-7373);e=r-q|0;k=e+d|0;i=o-n|0;m=i+h|0;j=B(k+m|0,9633)+1024|0;n=g+B(d,2446)|0;d=j+B(k,-16069)|0;v[f+28>>2]=n+d>>11;j=j+B(m,-3196)|0;k=B(i,16819);i=B(e+i|0,-20995);v[f+20>>2]=j+(k+i|0)>>11;v[f+12>>2]=d+(i+B(e,25172)|0)>>11;v[f+4>>2]=j+(g+B(h,12299)|0)>>11;f=f+32|0;l=l+1|0;if((l|0)!=8){continue}break}b=7;while(1){f=v[a+224>>2];d=v[a>>2];c=f+d|0;l=v[a+128>>2];h=v[a+96>>2];g=l+h|0;e=(c+g|0)+2|0;i=v[a+160>>2];j=v[a+64>>2];k=i+j|0;m=v[a+192>>2];n=v[a+32>>2];o=m+n|0;p=k+o|0;v[a+128>>2]=e-p>>2;v[a>>2]=e+p>>2;g=c-g|0;e=o-k|0;c=B(g+e|0,4433)+16384|0;v[a+192>>2]=c+B(e,-15137)>>15;v[a+64>>2]=c+B(g,6270)>>15;c=h-l|0;f=d-f|0;d=B(c+f|0,-7373);l=n-m|0;e=l+c|0;h=j-i|0;i=h+f|0;g=B(e+i|0,9633)+16384|0;j=d+B(c,2446)|0;c=g+B(e,-16069)|0;v[a+224>>2]=j+c>>15;g=g+B(i,-3196)|0;e=B(h,16819);h=B(h+l|0,-20995);v[a+160>>2]=g+(e+h|0)>>15;v[a+96>>2]=c+(h+B(l,25172)|0)>>15;v[a+32>>2]=g+(d+B(f,12299)|0)>>15;c=b;b=c-1|0;a=a+4|0;if(c){continue}break}}function xfa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=Qb-32|0;Qb=f;h=v[b+16>>2];c=h-1|0;Vk(a+72|0,0,c);Vk(a+96|0,0,c);Vk(a+120|0,0,c);a:{b:{if((h|0)>0){while(1){if(!(v[a+88>>2]<=(d|0)&v[a+92>>2]>=(d|0))){a=vc(f+8|0,227445,271729,619,307344,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}v[v[a+76>>2]+(d-v[a+80>>2]<<2)>>2]=d;if(!(v[a+112>>2]<=(d|0)&v[a+116>>2]>=(d|0))){a=vc(f+8|0,227445,271729,619,307344,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}v[v[a+100>>2]+(d-v[a+104>>2]<<2)>>2]=d;if(!(v[a+136>>2]<=(d|0)&v[a+140>>2]>=(d|0))){a=vc(f+8|0,227445,271729,619,307558,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}c=b;g=v[a+124>>2]+(d-v[a+128>>2]<<4)|0;i=Qb-32|0;Qb=i;c:{d:{while(1){e=c;c=v[c+16>>2];if((c|0)>(d|0)){c=v[e+20>>2];if(c){continue}break d}break}j=v[e+68>>2];k=v[e- -64>>2];if((((j+c|0)-k|0)+1|0)<=(d|0)){break d}e:{c=d-c|0;if(!((c|0)>=(k|0)&(c|0)<=(j|0))){a=vc(i+8|0,227445,271729,619,307558,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break e}break a}c=v[e+52>>2]+(c-v[e+56>>2]<<4)|0;e=v[c+4>>2];v[g>>2]=v[c>>2];v[g+4>>2]=e;e=v[c+12>>2];v[g+8>>2]=v[c+8>>2];v[g+12>>2]=e;break c}L()}fO(g,v[Ww(e,d)+4>>2])}Qb=i+32|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}}Qb=f+32|0;return}L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function oJ(a,b,c,d,e,f,g,h,i,j,k,l){var m=0,n=0;a:{b:{if(w[a+498|0]){break b}c:{d:{e:{f:{n=w[a+1112|0];switch(n-2|0){case 0:case 2:break f;default:break e}}if(!(!v[a+436>>2]|(b|0)==1)&(b|0)!=3){break d}v[a+1116>>2]=v[a+1144>>2];break c}if(!w[a+433|0]|(b|0)!=4){break c}}m=NA(a);if(m){break a}}g:{if(b){t[a+1080|0]=b;break g}b=w[a+1080|0]}t[a+1112|0]=b;h:{if(c){v[a+1144>>2]=d;i:{switch(n-2|0){case 0:case 2:v[a+1116>>2]=v[a+1084>>2];break;default:break i}}if((c|0)!=2){break h}v[a+1084>>2]=d;break h}v[a+1144>>2]=v[a+1084>>2]}j:{if(e){v[a+1120>>2]=f;if(!(1<>>0>8){break j}v[a+1088>>2]=f;break j}v[a+1120>>2]=v[a+1088>>2]}if(g){t[a+1124|0]=1;if(!h){v[a+1140>>2]=l;v[a+1136>>2]=k;v[a+1132>>2]=j;v[a+1128>>2]=i;if((g|0)!=2){break b}v[a+1108>>2]=l;v[a+1104>>2]=k;v[a+1100>>2]=j;v[a+1096>>2]=i;t[a+1092|0]=1;break b}v[a+1128>>2]=v[a+1128>>2]+i;v[a+1132>>2]=v[a+1132>>2]+j;v[a+1136>>2]=v[a+1136>>2]+k;v[a+1140>>2]=v[a+1140>>2]+l;if((g|0)!=2){break b}t[a+1092|0]=1;v[a+1096>>2]=v[a+1096>>2]+i;v[a+1100>>2]=v[a+1100>>2]+j;v[a+1104>>2]=v[a+1104>>2]+k;v[a+1108>>2]=v[a+1108>>2]+l;break b}t[a+1124|0]=w[a+1092|0];b=v[a+1100>>2];v[a+1128>>2]=v[a+1096>>2];v[a+1132>>2]=b;b=v[a+1108>>2];v[a+1136>>2]=v[a+1104>>2];v[a+1140>>2]=b}m=0;if(w[a+497|0]){break a}if(!(v[a+440>>2]?w[a+1112|0]!=4:0)){m=Ro(a);if(m){break a}}t[a+433|0]=1;v[a+436>>2]=v[a+436>>2]+1;m=0}return m}function U0a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{e=v[a+28>>2];if(!w[e+44|0]){f=v[b+4>>2];g=v[b>>2];t[e+44|0]=1;d=v[e+20>>2];if(!d){c=3;break b}c:{if(w[e+45|0]){c=v[e+12>>2];if((u[c+20>>1]+u[c+56>>1]|0)+1>>>0>y[c+8>>2]){c=xg(c,0,1);if(c){break b}}h=x[d>>1];c=h<<16>>16;if((c|0)<1){break c}u[(v[d+12>>2]+(h<<1)|0)-2>>1]=x[d+2>>1]-1}c=x[d>>1]}u[d>>1]=c+1;c=v[e+12>>2];if((u[c+22>>1]+u[c+58>>1]|0)+1>>>0>y[c+4>>2]){c=xg(c,1,0);if(c){break b}}c=v[e+20>>2];if(w[e+45|0]){d=v[c+8>>2];h=u[c+2>>1];i=v[c+4>>2]+(h<<3)|0;v[i+4>>2]=f>>10;v[i>>2]=g>>10;t[d+h|0]=1}u[c+2>>1]=x[c+2>>1]+1}d:{c=v[e+12>>2];if((u[c+22>>1]+u[c+58>>1]|0)+3>>>0<=y[c+4>>2]){break d}c=xg(c,3,0);if(!c){break d}a=v[a+24>>2];if(v[a>>2]){break a}v[a>>2]=c;return}a=v[e+20>>2];e:{f:{g:{if(!w[e+45|0]){u[a+2>>1]=x[a+2>>1]+1;break g}c=v[a+8>>2];d=v[b+8>>2];f=u[a+2>>1];g=v[a+4>>2]+(f<<3)|0;v[g+4>>2]=v[b+12>>2]>>10;v[g>>2]=d>>10;t[c+f|0]=2;d=w[e+45|0];c=v[e+20>>2];u[a+2>>1]=x[a+2>>1]+1;if(d){break f}a=c}u[a+2>>1]=x[a+2>>1]+1;break e}a=v[c+8>>2];d=v[b+16>>2];f=u[c+2>>1];g=v[c+4>>2]+(f<<3)|0;v[g+4>>2]=v[b+20>>2]>>10;v[g>>2]=d>>10;t[a+f|0]=2;d=w[e+45|0];a=v[e+20>>2];u[c+2>>1]=x[c+2>>1]+1;if(!d){break e}c=v[a+8>>2];e=v[b+24>>2];d=u[a+2>>1];f=v[a+4>>2]+(d<<3)|0;v[f+4>>2]=v[b+28>>2]>>10;v[f>>2]=e>>10;t[c+d|0]=1}u[a+2>>1]=x[a+2>>1]+1;break a}a=v[a+24>>2];if(v[a>>2]){break a}v[a>>2]=c}}function NF(a,b){var c=0,d=0,e=0,f=0,g=0;f=Qb-32|0;Qb=f;a:{if(!b){_p(a,354947,0);break a}if(v[294256]){v[f+16>>2]=v[b+8>>2];Ub[v[259806]](v[294239],349909,f+16|0)}if(!v[b+40>>2]){b:{switch(v[b+48>>2]-1|0){case 2:_p(a,349411,v[b+8>>2]);break a;case 1:case 4:c=bz(v[b+64>>2],v[b+52>>2],a);break a;case 0:_p(a,357166,v[b+8>>2]);break a;case 3:_p(a,357118,v[b+8>>2]);break a;case 5:break b;default:break a}}_p(a,357204,v[b+8>>2]);break a}c=Ub[v[259704]](60)|0;if(!c){if(a){if(!(!v[a+212>>2]|v[a+172>>2]!=-1)){c=0;break a}v[a+212>>2]=1;v[a+172>>2]=-1;v[a+84>>2]=2}v[f>>2]=351218;c=0;oc(0,0,0,a,0,1,2,3,351218,0,0,0,350051,f);break a}v[c+48>>2]=0;v[c+52>>2]=0;d=c+32|0;v[d>>2]=0;v[d+4>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c>>2]=0;v[c+4>>2]=0;v[c+56>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c+52>>2]=-1;v[c+32>>2]=1;v[c+28>>2]=1;if(a){d=a;a=v[a+464>>2];v[d+464>>2]=a+1;v[c+56>>2]=a}d=v[b+64>>2];if(d){a=d;while(1){e=a;a=a+1|0;if(w[e|0]){continue}break}a=0;e=e-d|0;c:{if((e|0)<0){break c}g=Ub[v[259707]](e+1|0)|0;if(!g){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break c}a=gc(g,d,e);t[e+a|0]=0}v[c+4>>2]=a}d=v[b+40>>2];v[c+12>>2]=d;e=v[b+44>>2];if(!e){d:{if(!d){e=0;break d}e=0;if(!w[d|0]){break d}a=d;while(1){e=e+1|0;g=w[a+1|0];a=a+1|0;if(g){continue}break}}v[b+44>>2]=e}v[c+24>>2]=e;v[c+16>>2]=d;v[c+20>>2]=e+d}Qb=f+32|0;return c}function vQa(a,b){a=a|0;b=b|0;var c=C(0),d=C(0),e=0,f=0,g=0,h=0,i=C(0),j=0,k=C(0),l=C(0),m=0,n=0,o=0,p=0,q=C(0),r=C(0),s=0,t=0,u=0,w=C(0),x=C(0),y=C(0),D=C(0),E=0,F=0,G=0;g=Qb-16|0;Qb=g;v[a>>2]=1199570688;v[a+4>>2]=-947912960;v[a+8>>2]=1199570688;v[a+12>>2]=-947912960;f=b+16|0;u=v[f+84>>2];if((u|0)>=1){w=C(65535);x=C(-65535);y=C(65535);D=C(-65535);b=0;while(1){e=v[f+84>>2];G=v[f+80>>2];a:{b:{if((b|0)<=-1){if((e|0)<1){break a}s=v[f+88>>2];if((s|0)<1|(e|0)<(s|0)){break a}e=s-1|0;break b}if((e|0)<1){break a}e=(b|0)<(e|0)?b:e-1|0}e=G+B(e,96)|0;c=z[e+12>>2];d=z[e+20>>2];i=C(-z[e+16>>2]);l=C(-z[e+24>>2]);j=A[f+48>>3];m=A[f+40>>3];t=A[f+24>>3];n=A[f+32>>3];c:{d:{if(t!=1|n!=0|(m!=0|j!=1)){break d}if(A[f+56>>3]!=0){break d}if(A[f- -64>>3]==0){break c}}p=+c;h=n*p;E=+i;F=j*E;c=C(h+F);o=h;h=j;j=+l;h=h*j;l=C(o+h);i=ci?i:d;k=C(o+F);i=il?c:l;c=c>d?c:d;l=c>k?c:k;p=t*p;h=m*E;d=C(p+h);j=m*j;k=C(p+j);c=dk?d:k;d=d>q?d:q;d=d>r?d:r}z[g+4>>2]=C(c+z[e+4>>2])+z[f+8>>2];z[g>>2]=C(d+z[e+4>>2])+z[f+8>>2];z[g+12>>2]=C(i+z[e+8>>2])+z[f+12>>2];z[g+8>>2]=C(l+z[e+8>>2])+z[f+12>>2]}c=z[g+8>>2];if(c>D){z[a+12>>2]=c;D=c}c=z[g+12>>2];if(c>2]=c;y=c}c=z[g+4>>2];if(c>2]=c;w=c}c=z[g>>2];if(c>x){z[a+4>>2]=c;x=c}b=b+1|0;if((u|0)!=(b|0)){continue}break}}Qb=g+16|0}function Tga(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;if(f){a=e>>>0<8;c=h<<2;while(1){h=e;if(!a){while(1){v[b>>2]=w[i|0]|w[j|0]<<8|w[k|0]<<16|-16777216;v[b+4>>2]=w[i+1|0]|w[j+1|0]<<8|w[k+1|0]<<16|-16777216;v[b+8>>2]=w[i+2|0]|w[j+2|0]<<8|w[k+2|0]<<16|-16777216;v[b+12>>2]=w[i+3|0]|w[j+3|0]<<8|w[k+3|0]<<16|-16777216;v[b+16>>2]=w[i+4|0]|w[j+4|0]<<8|w[k+4|0]<<16|-16777216;v[b+20>>2]=w[i+5|0]|w[j+5|0]<<8|w[k+5|0]<<16|-16777216;v[b+24>>2]=w[i+6|0]|w[j+6|0]<<8|w[k+6|0]<<16|-16777216;v[b+28>>2]=w[i+7|0]|w[j+7|0]<<8|w[k+7|0]<<16|-16777216;b=b+32|0;k=k+8|0;j=j+8|0;i=i+8|0;h=h-8|0;if(h>>>0>7){continue}break}}f=f-1|0;a:{switch(h-1|0){case 6:v[b>>2]=w[i|0]|w[j|0]<<8|w[k|0]<<16|-16777216;b=b+4|0;k=k+1|0;j=j+1|0;i=i+1|0;case 5:v[b>>2]=w[i|0]|w[j|0]<<8|w[k|0]<<16|-16777216;b=b+4|0;k=k+1|0;j=j+1|0;i=i+1|0;case 4:v[b>>2]=w[i|0]|w[j|0]<<8|w[k|0]<<16|-16777216;b=b+4|0;k=k+1|0;j=j+1|0;i=i+1|0;case 3:v[b>>2]=w[i|0]|w[j|0]<<8|w[k|0]<<16|-16777216;b=b+4|0;k=k+1|0;j=j+1|0;i=i+1|0;case 2:v[b>>2]=w[i|0]|w[j|0]<<8|w[k|0]<<16|-16777216;b=b+4|0;k=k+1|0;j=j+1|0;i=i+1|0;case 1:v[b>>2]=w[i|0]|w[j|0]<<8|w[k|0]<<16|-16777216;b=b+4|0;k=k+1|0;j=j+1|0;i=i+1|0;case 0:v[b>>2]=w[i|0]|w[j|0]<<8|w[k|0]<<16|-16777216;b=b+4|0;k=k+1|0;j=j+1|0;i=i+1|0;break;default:break a}}k=g+k|0;j=g+j|0;i=g+i|0;b=b+c|0;if(f){continue}break}}}function S0(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=Qb-16|0;Qb=d;c=1;a:{if((Ub[v[v[b>>2]+12>>2]](b,d+14|0,1,1,0,0)|0)!=1){break a}e=w[d+14|0];if((e|0)==249){c=0;b:{if((Ub[v[v[b>>2]+12>>2]](b,d+15|0,1,1,0,0)|0)!=1){break b}f=w[d+15|0];g=Ub[v[v[b>>2]+12>>2]](b,a+976|0,1,4,0,0)|0;c=(w[a+977|0]|w[a+978|0]<<8)<<16>>16;e=(w[a+494|0]?c:c<<8|(c&65280)>>>8)<<16>>16;t[a+977|0]=e;t[a+978|0]=e>>>8;c=0;if((f|0)!=(g|0)){break b}v[a+360>>2]=e&65535;c=w[a+976|0];v[a+336>>2]=c&1?w[a+979|0]:-1;t[a+492|0]=c>>>2&7;c=1}e=w[d+14|0]}c:{if((e|0)!=254){break c}c=0;if((Ub[v[v[b>>2]+12>>2]](b,d+15|0,1,1,0,0)|0)!=1){break c}c=Ub[v[v[b>>2]+12>>2]](b,v[a+1116>>2],w[d+15|0],1,0,0)|0;t[v[a+1116>>2]+w[d+15|0]|0]=0;c=(c|0)==1}d:{if(w[d+14|0]==255){if((Ub[v[v[b>>2]+12>>2]](b,d+15|0,1,1,0,0)|0)!=1|w[d+15|0]!=11){break a}if((Ub[v[v[b>>2]+12>>2]](b,d+3|0,11,1,0,0)|0)!=1){break a}if((Ub[v[v[b>>2]+12>>2]](b,d+15|0,1,1,0,0)|0)!=1){break a}e=w[d+15|0];c=jc(e);if(!c){dc(c);break a}e=Ub[v[v[b>>2]+12>>2]](b,c,e,1,0,0)|0;if(w[d+15|0]>=3){v[a+1120>>2]=w[c+1|0]|w[c+2|0]<<8;dc(c);if((e|0)==1){break d}break a}dc(c);if((e|0)==1){break d}break a}if(!c){break a}}h=1;if(!(Ub[v[v[b>>2]+12>>2]](b,d+15|0,1,1,0,0)|0)){break a}c=w[d+15|0];if(!c){break a}while(1){Ub[v[v[b>>2]+20>>2]](b,c,1)|0;if(!(Ub[v[v[b>>2]+12>>2]](b,d+15|0,1,1,0,0)|0)){break a}c=w[d+15|0];if(c){continue}break}}Qb=d+16|0;return h}function o6a(a){a=a|0;var 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;c=Qb-32|0;Qb=c;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],v[a+25180>>2],0)|0;u[c+30>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+30|0,1,2)|0;b=w[c+30|0];if(x[a+25204>>1]==18761){e=b|w[c+31|0]<<8}else{e=w[c+31|0]|b<<8}u[c+30>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],c+30|0,1,2)|0;b=w[c+30|0];if(x[a+25204>>1]==18761){b=b|w[c+31|0]<<8}else{b=w[c+31|0]|b<<8}k=v[a+25176>>2];l=v[a+4>>2];d=v[a+26048>>2];f=Bib(x[a+26312>>1],0,x[a+26306>>1],0);f=d+(f<<1)|0;Ub[v[v[a>>2]+8>>2]](l,f,0)|0;d=x[a+26306>>1];g=bd(d,2);if(g){a:{if(!x[a+26308>>1]){break a}m=(k|0)==1?21845:4948;f=m^-1;k=e&65535;n=b&65535;while(1){Mi(a,g,d&65535);d=0;h=x[a+26306>>1];if(h){while(1){e=d<<1;b=e+g|0;l=b;i=g+(e|2)|0;e=n^x[i>>1];b=k^x[b>>1];u[l>>1]=e&f|b&m;u[i>>1]=e&m|b&f;d=d+2|0;if(h>>>0>d>>>0){continue}break}}if(x[a+26310>>1]){h=j<<1&14;i=v[a+26028>>2];e=v[a+26352>>2];d=0;while(1){b=x[a+26316>>1];u[(e+(B(x[a+26320>>1],j>>>b|0)+(d>>>b|0)<<3)|0)+((i>>>((h|d&1)<<1)&3)<<1)>>1]=x[g+(x[a+26314>>1]+d<<1)>>1];d=d+1|0;if(d>>>0>1]){continue}break}}j=j+1|0;if(j>>>0>=x[a+26308>>1]){break a}d=x[a+26306>>1];continue}}dc(g);H0(a);Qb=c+32|0;return}e=v[a+190640>>2];b:{if(e){b=v[a+25208>>2];v[c+20>>2]=41563;v[c+16>>2]=b;zd(e,4338,c+16|0);break b}b=v[a+25208>>2];v[c+4>>2]=41563;v[c>>2]=b;wc(v[252391],4338,c)}sd(a+190484|0,1);L()}function q9a(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;a:{if(w[a+286|0]|!w[a+285|0]|(w[a+287|0]|w[a+288|0])){break a}if(w[a+289|0]){break a}if((c|0)!=13){pc(a,1028,0,0);return 1028}c=w[d|0]|w[d+1|0]<<8;g=(c<<8|c>>>8)&65535;c=w[d+2|0]|w[d+3|0]<<8;h=(c<<8|c>>>8)&65535;i=w[d+4|0];c=w[d+5|0]|w[d+6|0]<<8|(w[d+7|0]<<16|w[d+8|0]<<24);j=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=w[d+9|0]|w[d+10|0]<<8|(w[d+11|0]<<16|w[d+12|0]<<24);k=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);b:{if(w[a+114|0]){c=Ub[v[a+152>>2]](44)|0;if(!c){pc(a,1,0,0);c=1;break b}v[c+4>>2]=725;v[c>>2]=726;f=v[a+700>>2];c:{if(f){v[f+8>>2]=c;break c}v[a+696>>2]=c}v[c+8>>2]=0;v[c+12>>2]=f;v[a+700>>2]=c;v[c+16>>2]=v[a+436>>2];v[c+20>>2]=v[a+440>>2];v[c+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=c}v[c+40>>2]=k;v[c+36>>2]=j;t[c+32|0]=i;u[c+30>>1]=h;u[c+28>>1]=g}c=c1(a,g,h,i,j,k)}d:{if(c){break d}c=0;if(!w[a+112|0]){break d}c=Ub[v[b+4>>2]](a,b,e)|0;if(c){break d}a=v[e>>2];b=w[d|0]|w[d+1|0]<<8;u[a+32>>1]=b<<8|b>>>8;b=w[d+2|0]|w[d+3|0]<<8;u[a+34>>1]=b<<8|b>>>8;t[a+36|0]=w[d+4|0];b=w[d+5|0]|w[d+6|0]<<8|(w[d+7|0]<<16|w[d+8|0]<<24);v[a+40>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=a;a=w[d+9|0]|w[d+10|0]<<8|(w[d+11|0]<<16|w[d+12|0]<<24);v[b+44>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);c=0}return c|0}pc(a,1029,0,0);return 1029}function pA(a,b,c){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,p=0,q=0;h=Qb-16|0;e=1;a:{b:{c:{switch(v[a>>2]){case 1:break a;case 0:break b;default:break c}}while(1){i=e;while(1){f=B(i,12)+b|0;d=f-12|0;if(v[f>>2]>2]){v[h+8>>2]=v[f+8>>2];g=v[f+4>>2];v[h>>2]=v[f>>2];v[h+4>>2]=g;v[f+8>>2]=v[d+8>>2];g=v[d+4>>2];v[f>>2]=v[d>>2];v[f+4>>2]=g;v[d+8>>2]=v[h+8>>2];f=v[h+4>>2];v[d>>2]=v[h>>2];v[d+4>>2]=f;i=i-1|0;if(i){continue}}break}e=e+1|0;j=v[a>>2];if(e>>>0>>0){continue}break}e=1;if(j>>>0<2){break b}l=j-1|0;m=v[b>>2];h=0;d=1;while(1){f=v[B(d,12)+b>>2]-m|0;d:{if(!((d|0)==(l|0)|(f|0)>(c|0))){f=d;break d}i=0;g=(d|0)==(l|0)&(c|0)>=(f|0);f=g+d|0;e=h;e:{if(h>>>0>=f>>>0){break e}e=(d+g|0)-h|0;k=e&3;d=h;if(e-1>>>0>=3){e=e&-4;while(1){g=B(d,12)+b|0;n=v[g>>2];v[g>>2]=0;o=v[g+12>>2];v[g+12>>2]=0;p=v[g+24>>2];v[g+24>>2]=0;q=v[g+36>>2];v[g+36>>2]=0;i=q+(((i+n|0)+o|0)+p|0)|0;d=d+4|0;e=e-4|0;if(e){continue}break}}e=f;if(!k){break e}while(1){e=B(d,12)+b|0;g=v[e>>2];v[e>>2]=0;d=d+1|0;i=g+i|0;k=k-1|0;if(k){continue}break}e=f}v[B(h,12)+b>>2]=(i|0)/(e|0);if(f>>>0>=l>>>0){break d}h=f+1|0;m=v[B(h,12)+b>>2]}d=f+1|0;if(j>>>0>d>>>0){continue}break}e=1;if(j>>>0<=1){break b}d=1;while(1){c=B(d,12)+b|0;if(v[c>>2]){h=v[c+4>>2];f=B(e,12)+b|0;v[f>>2]=v[c>>2];v[f+4>>2]=h;v[f+8>>2]=v[c+8>>2];j=v[a>>2];e=e+1|0}d=d+1|0;if(j>>>0>d>>>0){continue}break}}v[a>>2]=e}}function nk(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;e=Qb-112|0;Qb=e;a:{if(w[a+208|0]|w[a+203|0]){break a}A[e+64>>3]=A[d>>3];A[e+72>>3]=-A[d+8>>3];A[e+80>>3]=A[d+16>>3];A[e+88>>3]=-A[d+24>>3];A[e+96>>3]=A[d+32>>3];A[e+104>>3]=c-A[d+40>>3];v[e+56>>2]=0;v[e+60>>2]=0;v[e+48>>2]=0;v[e+52>>2]=0;XT(a,e- -64|0,e+56|0,e+48|0,0);d=v[a+104>>2];v[e+40>>2]=4;Ub[v[v[d>>2]+288>>2]](d,e+40|0)|0;d=v[a+104>>2];Ub[v[v[d>>2]+324>>2]](d)|0;l=v[b+28>>2];if((l|0)<=0){break a}c=A[e+48>>3];g=A[e+56>>3];while(1){f=v[v[b+24>>2]+(i<<2)>>2];m=v[f+12>>2];d=v[a+104>>2];A[e+40>>3]=(A[v[f>>2]>>3]+g)/72*25.4;A[e+32>>3]=(A[v[f+4>>2]>>3]+c)/72*25.4;Ub[v[v[d>>2]+296>>2]](d,e+40|0,e+32|0)|0;d=1;if((m|0)>=2){while(1){h=v[a+104>>2];o=m;p=d;b:{if(v[v[f+8>>2]+(d<<2)>>2]){j=v[f>>2];d=d<<3;A[e+40>>3]=(g+A[j+d>>3])/72*25.4;k=v[f+4>>2];A[e+32>>3]=(c+A[d+k>>3])/72*25.4;n=d+8|0;A[e+24>>3]=(g+A[n+j>>3])/72*25.4;A[e+16>>3]=(c+A[k+n>>3])/72*25.4;d=d+16|0;A[e+8>>3]=(g+A[d+j>>3])/72*25.4;A[e>>3]=(c+A[d+k>>3])/72*25.4;Ub[v[v[h>>2]+308>>2]](h,e+40|0,e+32|0,e+24|0,e+16|0,e+8|0,e)|0;d=3;break b}d=d<<3;A[e+40>>3]=(g+A[d+v[f>>2]>>3])/72*25.4;A[e+32>>3]=(c+A[d+v[f+4>>2]>>3])/72*25.4;Ub[v[v[h>>2]+300>>2]](h,e+40|0,e+32|0)|0;d=1}d=p+d|0;if((o|0)>(d|0)){continue}break}}if(v[f+20>>2]){d=v[a+104>>2];Ub[v[v[d>>2]+320>>2]](d)|0}i=i+1|0;if((l|0)!=(i|0)){continue}break}}Qb=e+112|0}function hfa(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;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0;p=Qb-32|0;Qb=p;a:{b:{if((f|0)>=0){n=v[a+3312>>2];s=(e|0)<1;while(1){q=i;o=k;k=l;if(!s){i=w[k+1|0]|(w[h|0]<<9|w[h-1|0]<<10|w[h+1|0]<<8|w[q-1|0]<<7|w[j|0]<<6|w[o-1|0]<<5|w[o|0]<<4|w[o+1|0]<<3|w[k-1|0]<<2|w[k|0]<<1);l=0;while(1){u=l+q|0;m=(a+i|0)+1264|0;r=v[((w[m|0]<<2)+n|0)+44>>2]+v[n+20>>2]|0;c:{if(r>>>0<=y[n+28>>2]){v[n+20>>2]=r;m=t[m|0]&1;break c}m=rg(n,m,r)}t[u|0]=m;m=i<<1&1590|m<<7;i=l+2|0;l=l+1|0;i=m|w[i+h|0]<<8|w[l+j|0]<<6|w[i+o|0]<<3|w[i+k|0];if((e|0)!=(l|0)){continue}break}}if(!v[b+20>>2]){gi(b)}h=f-1|0;d:{if(!((f|0)>=1&x[b+8>>1]>=(f|0))){i=x[b+12>>1];if(v[282398]<(i+x[b+14>>1]|0)){a=vc(p+8|0,260231,271771,577,336631,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}i=i+v[282397]|0;break d}i=v[b+20>>2]+(x[b+12>>1]+B(h,x[b+14>>1])|0)|0}if(!v[c+20>>2]){gi(c)}e:{f:{if((g|0)>=2){j=g-2|0;if((j|0)>1]){break f}}j=x[c+12>>1];if(v[282398]<(j+x[c+14>>1]|0)){a=vc(p+8|0,260231,271771,577,336631,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}j=j+v[282397]|0;break e}j=v[c+20>>2]+(x[c+12>>1]+B(j,x[c+14>>1])|0)|0}g=g-1|0;rx(b);l=d+j|0;m=(f|0)>0;f=h;j=o;h=q;if(m){continue}break}}Qb=p+32|0;return}L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function b$(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;j=Qb-16|0;Qb=j;v[j+12>>2]=0;k=v[a+4>>2];q=v[k+8>>2];e=3;a:{if(d?0:c){break a}t[a|0]=0;if(y[k+3112>>2]<=b>>>0|(x[k+3120>>1]!=(c|0)?c:0)){break a}o=v[k+3116>>2]+(b<<3)|0;p=v[o>>2];g=p+1|0;f=Cc(q,1,v[a+20>>2]<<2,g<<2,v[a+24>>2],j+12|0);v[a+24>>2]=f;e=v[j+12>>2];if(e){break a}v[a+20>>2]=g;b:{if(!g){break b}g=0;if(!c){while(1){c:{if(g){e=g<<2;if(y[(e+v[o+4>>2]|0)-4>>2]>=y[k+3124>>2]){e=3;break a}v[e+f>>2]=0;break c}v[f>>2]=65536}e=(g|0)==(p|0);g=g+1|0;if(!e){continue}break b}}while(1){d:{if(!g){v[f>>2]=65536;break d}n=g<<2;e=v[(n+v[o+4>>2]|0)-4>>2];if(e>>>0>=y[k+3124>>2]){e=3;break a}h=v[k+3128>>2];v[f+n>>2]=65536;r=h+(e<<2)|0;e=0;while(1){f=65536;i=v[r>>2]+B(e,12)|0;h=v[i+4>>2];l=v[i>>2];e:{if((h|0)<(l|0)){break e}m=v[i+8>>2];if(!h|((h|0)>(m|0)|!(!h|((m|0)<1|(l|0)>-1)))){break e}f=0;i=v[(e<<2)+d>>2];if((i|0)<(l|0)|(i|0)>(m|0)){break e}f=65536;if((h|0)==(i|0)){break e}if((h|0)>(i|0)){f=ad(i-l|0,h-l|0);break e}f=ad(m-i|0,m-h|0)}h=Ac(v[v[a+24>>2]+n>>2],f);f=v[a+24>>2];v[n+f>>2]=h;e=e+1|0;if((e|0)!=(c|0)){continue}break}}e=(g|0)!=(p|0);g=g+1|0;if(e){continue}break}}v[a+8>>2]=b;if(c){b=c<<2;f=Cc(q,1,v[a+12>>2]<<2,b,v[a+16>>2],j+12|0);v[a+16>>2]=f;e=v[j+12>>2];if(e){break a}gc(f,d,b)}t[a|0]=1;v[a+12>>2]=c;e=v[j+12>>2]}Qb=j+16|0;return e|0}function W0(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;a:{b:{c:{if(w[a+285|0]|w[a+286|0]|(w[a+287|0]|w[a+288|0])){break c}if(w[a+289|0]){break c}break b}if(w[a+300|0]|w[a+293|0]|(w[a+292|0]|w[a+291|0])){break b}d:{e:{f:{g:{h:{i:{j:{k:{l:{if(!w[a+286|0]){f=w[a+287|0];if(f){break k}if(!(w[a+289|0]?1:w[a+288|0])){break l}if((c|0)!=1){break a}if(f){break j}break i}if((c|0)==1){break j}break a}if(c>>>0<2){break i}break a}if((c|0)!=1){break a}}t[a+297|0]=1;break h}m:{if(!(w[a+288|0]|w[a+289|0])){t[a+310|0]=(c|0)!=0;break m}t[a+297|0]=1}if(w[a+288|0]|w[a+289|0]){break h}if(c){break g}f=w[a+2228|0];break f}n:{if(!w[a+288|0]){f=v[a+512>>2];if(f){break n}}f=v[a+528>>2]}h=w[d|0];f=v[f+88>>2];t[f+59|0]=1;t[f+1140|0]=h;break e}f=w[d|0];t[a+2228|0]=f}g=0;o:{if(!w[a+114|0]){break o}i=!c;g=f&255;f=Ub[v[a+152>>2]](32)|0;if(!f){pc(a,1,0,0);g=1;break o}v[f+4>>2]=705;v[f>>2]=706;h=v[a+700>>2];p:{if(h){v[h+8>>2]=f;break p}v[a+696>>2]=f}v[f+8>>2]=0;v[f+12>>2]=h;v[a+700>>2]=f;v[f+16>>2]=v[a+436>>2];v[f+20>>2]=v[a+440>>2];v[f+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=f}t[f+29|0]=g;t[f+28|0]=i;g=0}f=g;if(f){break d}}q:{if(!w[a+112|0]){break q}f=Ub[v[b+4>>2]](a,b,e)|0;if(f){break d}a=v[e>>2];b=!c;t[a+32|0]=b;if(b){break q}t[a+33|0]=w[d|0]}f=0}return f|0}pc(a,1029,0,0);return 1029}pc(a,1028,0,0);return 1028}function HS(a,b,c,d,e,f,g,h,i,j,k){var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;l=c;n=v[a+180>>2];r=v[a+188>>2];s=r+B(b,12)|0;p=v[s>>2];c=n+B(p,272)|0;A[l>>3]=A[c>>3];A[d>>3]=A[c+8>>3];m=v[a+324>>2];t=(m|0)<1;a:{if(t){break a}d=m&3;a=0;if(m-1>>>0>=3){q=m&-4;c=(B(p,272)+n|0)+16|0;while(1){l=a<<3;A[l+e>>3]=A[c+l>>3];o=l|8;A[o+e>>3]=A[c+o>>3];o=l|16;A[o+e>>3]=A[c+o>>3];l=l|24;A[l+e>>3]=A[c+l>>3];a=a+4|0;q=q-4|0;if(q){continue}break}}if(!d){break a}c=B(p,272)+n|0;while(1){l=a<<3;A[l+e>>3]=A[(c+l|0)+16>>3];a=a+1|0;d=d-1|0;if(d){continue}break}}l=v[s+4>>2];a=B(l,272)+n|0;A[f>>3]=A[a>>3];A[g>>3]=A[a+8>>3];b:{if(t){break b}c=m&3;a=0;if(m-1>>>0>=3){d=m&-4;e=(B(l,272)+n|0)+16|0;while(1){f=a<<3;A[f+h>>3]=A[e+f>>3];g=f|8;A[g+h>>3]=A[e+g>>3];g=f|16;A[g+h>>3]=A[e+g>>3];f=f|24;A[f+h>>3]=A[e+f>>3];a=a+4|0;d=d-4|0;if(d){continue}break}}if(!c){break b}d=B(l,272)+n|0;while(1){e=a<<3;A[e+h>>3]=A[(d+e|0)+16>>3];a=a+1|0;c=c-1|0;if(c){continue}break}}f=v[(B(b,12)+r|0)+8>>2];a=B(f,272)+n|0;A[i>>3]=A[a>>3];A[j>>3]=A[a+8>>3];c:{if((m|0)<1){break c}d=m&3;a=0;if(m-1>>>0>=3){c=m&-4;b=(B(f,272)+n|0)+16|0;while(1){e=a<<3;A[e+k>>3]=A[b+e>>3];g=e|8;A[g+k>>3]=A[b+g>>3];g=e|16;A[g+k>>3]=A[b+g>>3];e=e|24;A[e+k>>3]=A[b+e>>3];a=a+4|0;c=c-4|0;if(c){continue}break}}if(!d){break c}b=B(f,272)+n|0;while(1){c=a<<3;A[c+k>>3]=A[(b+c|0)+16>>3];a=a+1|0;d=d-1|0;if(d){continue}break}}}function nha(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=Qb-16|0;Qb=e;a:{d=v[b>>2];b:{if(d){if(Ub[v[v[d>>2]+20>>2]](d)|0){d=v[b>>2];Ub[v[v[d>>2]+28>>2]](e+8|0,d,1);c:{d:{f=v[e+8>>2];if(f){d=0;if(!c){break c}b=v[f+12>>2];a=v[a+12>>2];if(!(!a|!w[a|0])){d=1;if(!b|!w[b|0]){break c}if((c|0)<1){break d}d=Oc(a,b,c);break c}if(!b){break c}d=w[b|0]?-1:0;break c}b=v[b>>2];d=v[v[a>>2]+24>>2];v[299999]=0;U(d|0,e|0,a|0,2);a=v[299999];v[299999]=0;e:{f:{if((a|0)!=1){a=v[v[b>>2]+36>>2];v[299999]=0;b=Y(a|0,b|0,e|0,c|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break f}a=v[e>>2];v[e>>2]=0;g:{if(!a){break g}v[299999]=0;c=v[a+4>>2]-1|0;v[a+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break g}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}d=0-b|0;f=v[e+8>>2];break c}b=P()|0;O()|0;break e}b=P()|0;O()|0;ec(e)}ec(e+8|0);T(b|0);L()}d=mc(a,b)}v[e+8>>2]=0;if(!f){break b}v[299999]=0;a=v[f+4>>2]-1|0;v[f+4>>2]=a;b=v[299999];v[299999]=0;if((b|0)!=1){if(a){break b}v[299999]=0;R(4338,f|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}}break a}d=0;if(!c){break b}b=v[v[b>>2]+12>>2];a=v[a+12>>2];if(!(!a|!w[a|0])){d=1;if(!b|!w[b|0]){break b}if((c|0)>=1){d=Oc(a,b,c);break b}d=mc(a,b);break b}if(!b){break b}d=w[b|0]?-1:0;break b}d=0;if(!c){break b}a=v[a+12>>2];if(a){d=1;if(w[a|0]){break b}}d=0}Qb=e+16|0;return d|0}W(0)|0;O()|0;lc();L()}function zU(a){var b=0,c=0,d=0,e=0,f=0;f=Qb-16|0;Qb=f;a:{if(v[a+292>>2]){break a}c=v[a+36>>2];if((v[c+20>>2]-v[c+16>>2]|0)>249){break a}nd(a)}c=0;b:{if(v[a+172>>2]==-1|w[v[v[a+36>>2]+16>>2]]!=38){break b}xd(a);e=nh(a);if(!e){Nd(a,68,352640);break b}if(w[v[v[a+36>>2]+16>>2]]!=59){if(v[a+172>>2]==-1?v[a+212>>2]:0){break b}v[a+84>>2]=23;v[f>>2]=345800;oc(0,0,0,a,0,1,23,3,0,0,0,0,350078,f);v[a+12>>2]=0;if(v[a+288>>2]){break b}v[a+212>>2]=1;break b}xd(a);if(!(w[a+362|0]&16)){c=mi(e);if(c){break b}}v[a+440>>2]=v[a+440>>2]+1;c=0;d=v[a>>2];c:{if(!d){break c}b=v[d+20>>2];if(b){b=Ub[b|0](v[a+4>>2],e)|0}else{b=0}d=v[a+12>>2];d:{if(b|(d|0)!=1){break d}if(!(w[a+362|0]&16)){b=0;d=1;break d}b=mi(e);d=v[a+12>>2]}if(b|(d|0)!=1){break c}b=0;if(v[a+4>>2]!=(a|0)){break c}b=az(a,e)}d=v[a+172>>2];if((d|0)==-1){break b}if(!b){e:{if(!(v[a+88>>2]|v[a+92>>2]?v[a+28>>2]!=1:0)){hf(a,26,354083,e);break e}Wr(a,27,354083,e);if(v[a+216>>2]){break e}b=v[a>>2];if(!b){break e}b=v[b+64>>2];if(!b){break e}Ub[b|0](v[a+4>>2],e)}oj(a,0,0,0);v[a+100>>2]=0;break b}c=v[b+48>>2];f:{if((c|0)==3){hf(a,28,349435,e);break f}d=(d|0)!=12;if(!(d|(c|0)!=2)){hf(a,29,355837,e);break f}if(!d){if((c|0)==6){break f}c=v[b+72>>2];if(c&1?0:c){break f}c=v[b+40>>2];if(!c){break f}if(!uo(c,60)){break f}hf(a,38,348969,e);break f}if((c&-2)!=4){break f}hf(a,30,355789,e)}c=b}Qb=f+16|0;return c}function Z9a(a){a=a|0;var 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;if(v[a+588>>2]>=1){e=v[v[a+536>>2]+88>>2];e=(v[e+1176>>2]+B(v[e+1168>>2],v[a+572>>2])|0)+B(v[e+1164>>2],v[a+580>>2])|0;g=v[a+644>>2];while(1){d=w[g+6|0]|w[g+7|0]<<8;c=(d<<8|d>>>8)&65535;i=e+6|0;b=w[i|0]|w[i+1|0]<<8;b=(b<<8|b>>>8)&65535;a:{if(!c|(b|0)==65535){break a}d=w[e|0]|w[e+1|0]<<8;f=(d<<8|d>>>8)&65535;d=e+2|0;h=w[d|0]|w[d+1|0]<<8;o=(h<<8|h>>>8)&65535;h=e+4|0;j=w[h|0]|w[h+1|0]<<8;j=(j<<8|j>>>8)&65535;k=w[g|0]|w[g+1|0]<<8;k=(k<<8|k>>>8)&65535;l=w[g+2|0]|w[g+3|0]<<8;l=(l<<8|l>>>8)&65535;m=w[g+4|0]|w[g+5|0]<<8;m=(m<<8|m>>>8)&65535;if((c|0)==65535){i=b^65535;c=(B(b,f)+B(i,k)|0)+32768|0;c=(c>>>16|0)+c>>>16|0;c=c<<8|c>>>8;t[e|0]=c;t[e+1|0]=c>>>8;c=(B(b,o)+B(i,l)|0)+32768|0;c=(c>>>16|0)+c>>>16|0;c=c<<8|c>>>8;t[d|0]=c;t[d+1|0]=c>>>8;b=(B(b,j)+B(i,m)|0)+32768|0;b=(b>>>16|0)+b>>>16|0;b=b<<8|b>>>8;t[h|0]=b;t[h+1|0]=b>>>8;u[e+6>>1]=65535;break a}n=b<<16;p=b^65535;b=(B(p,c^65535)^-1)>>>16|0;n=(n>>>0)/(b>>>0)|0;c=(B(c,p)>>>0)/(b>>>0)|0;f=(B(f,n)+B(c,k)|0)+32767>>>16|0;f=f<<8|f>>>8;t[e|0]=f;t[e+1|0]=f>>>8;f=(B(o,n)+B(c,l)|0)+32767>>>16|0;f=f<<8|f>>>8;t[d|0]=f;t[d+1|0]=f>>>8;d=(B(j,n)+B(c,m)|0)+32767>>>16|0;d=d<<8|d>>>8;t[h|0]=d;t[h+1|0]=d>>>8;b=b<<8|b>>>8;t[i|0]=b;t[i+1|0]=b>>>8}g=g+8|0;e=e+8|0;q=q+1|0;if((q|0)>2]){continue}break}}return 0}function Ny(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{if(!a|(c|0)<1){break b}d=v[a+4>>2];if(d>>>0>12){break b}d=1<>2];f=Qb-16|0;Qb=f;d=Ub[v[259704]](60)|0;c:{if(!d){v[f>>2]=225274;oc(0,0,0,0,0,2,2,3,225274,0,0,0,350051,f);d=0;break c}v[d>>2]=0;v[d+4>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d+56>>2]=0;v[d+48>>2]=0;v[d+52>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=0;v[d+36>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+4>>2]=3;v[d+8>>2]=883676;if(b){d:{if((c|0)<0){break d}g=Ub[v[259707]](c+1|0)|0;if(!g){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break d}h=gc(g,b,c);t[h+c|0]=0}v[d+40>>2]=h}if(!v[294265]){break c}b=v[294262];if(!b){break c}Ub[b|0](d)}Qb=f+16|0;if(!d){break b}b=a;a=d;if(!e|($f(b,d)|0)!=(d|0)|(d|0)!=v[e+24>>2]){break b}d=0;if(e){if(!(!a|v[e+4>>2]!=3|(v[a+4>>2]!=3|v[a+8>>2]!=v[e+8>>2]))){b=v[a+40>>2];if(b){if(w[b|0]){c=b;while(1){d=d+1|0;f=w[c+1|0];c=c+1|0;if(f){continue}break}}Ny(e,b,d)}Yi(a);pk(a)}}return}if(!b){break b}e=v[a+40>>2];if((e|0)==(a+44|0)){break a}d=v[a+32>>2];e:{if(!d){break e}f=v[d+80>>2];if(!f){break e}if(!e){break a}while(1){d=v[f+16>>2];if(d){while(1){if(e>>>0<=y[d+4>>2]&e>>>0>=d+20>>>0){break a}d=v[d>>2];if(d){continue}break}}f=v[f+20>>2];if(f){continue}break}}i=a,j=VF(e,b,c),v[i+40>>2]=j}return}b=UF(e,b,c);v[a+44>>2]=0;v[a+48>>2]=0;v[a+40>>2]=b}function g_(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;v[d>>2]=0;v[d+4>>2]=0;h=b?b-1|0:0;b=v[a+408>>2];a:{if(h>>>0>b>>>0){break a}c=c?c-1|0:0;if(c>>>0>b>>>0){break a}b=v[a+424>>2];if(!b){break a}f=c<<4;c=v[a+416>>2];c=x[f+c>>1]|v[c+(h<<4)>>2]<<16;i=v[a+104>>2];while(1){if(!(c>>>0<=y[b+20>>2]&c>>>0>=y[b+16>>2])){b=v[b>>2];if(b){continue}break a}break}e=Yc(i,v[b+12>>2]);if(e){break a}e=ne(i,B(v[b+8>>2],w[b+4|0]));if(e){break a}a=w[b+5|0];j=a&1;k=a>>>1&1;h=v[b+8>>2];e=v[i+32>>2];a=w[b+4|0];f=-2147483648>>>E(a)|0;a=a-f|0;b:{c:{d:{if(!a){break d}a=B(a,h)+e|0;e:{if(j){g=w[a+1|0]<<16|w[a|0]<<24|w[a+2|0]<<8;l=a+3|0;a=a+4|0;break e}l=a+1|0;g=w[a|0]<<16;a=a+2|0}g=w[l|0]|g;if((g|0)==(c|0)){break c}if(c>>>0<=g>>>0){break d}e=(k?2:1)+a|0}a=B(f,h);f:{if(h>>>0>=a>>>0){break f}if(!j){while(1){a=a>>>1|0;f=e+a|0;g=w[f|0]<<16|w[f+1|0];if((g|0)==(c|0)){a=f+2|0;break c}e=c>>>0>g>>>0?f:e;if(a>>>0>h>>>0){continue}break f}}while(1){a=a>>>1|0;f=e+a|0;g=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);if((g|0)==(c|0)){a=f+4|0;break c}e=c>>>0>g>>>0?f:e;if(a>>>0>h>>>0){continue}break}}g:{if(j){h=3;f=w[e+1|0]<<16|w[e|0]<<24|w[e+2|0]<<8;a=e+4|0;break g}h=1;f=w[e|0]<<16;a=e+2|0}if((c|0)!=(f|w[e+h|0])){break b}}c=w[a|0];if(k){c=(w[a+1|0]|c<<8)<<16>>16}v[d>>2]=u[b+6>>1]+c}Vd(i);e=0}return e|0}function kwa(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0;t[a+101|0]=f;t[a+100|0]=e;v[a+44>>2]=d;s=a,u=ed(d,4),v[s+32>>2]=u;s=a,u=ed(v[a+44>>2]+1|0,8),v[s+40>>2]=u;k=ed(v[a+44>>2]+1|0,4);v[a+36>>2]=k;m=c<<2;e=v[b>>2];d=v[m+e>>2];f=e;e=v[a+44>>2];i=v[(f+(e+c<<2)|0)-4>>2];f=w[a+100|0];j=f&1;l=A[(j?d:i)+32>>3];n=A[d+16>>3];o=A[d+24>>3];A[a+24>>3]=A[(j?i:d)+40>>3];A[a+16>>3]=o;A[a>>3]=n;A[a+8>>3]=l;j=v[b>>2];if((e|0)>=1){i=v[a+40>>2];p=v[a+32>>2];d=0;q=f>>>0>1;r=f-1|0;while(1){f=d<<2;b=v[j+((q?((d^-1)+c|0)+e|0:c+d|0)<<2)>>2];v[f+p>>2]=v[b>>2];v[f+k>>2]=v[b+4>>2];e=v[a+44>>2];if((e-1|0)==(d|0)){v[(e<<2)+k>>2]=v[b+8>>2]+v[b+4>>2]}a:{b:{c:{switch(r|0){default:A[i+(d<<3)>>3]=A[b+16>>3];f=32;e=v[a+44>>2];if((e-1|0)==(d|0)){break b}break a;case 0:A[i+(d<<3)>>3]=A[b+24>>3];f=40;e=v[a+44>>2];if((e-1|0)==(d|0)){break b}break a;case 1:A[i+(d<<3)>>3]=A[b+32>>3];f=16;e=v[a+44>>2];if((e-1|0)==(d|0)){break b}break a;case 2:break c}}A[i+(d<<3)>>3]=A[b+40>>3];f=24;e=v[a+44>>2];if((e-1|0)!=(d|0)){break a}}A[i+(e<<3)>>3]=A[b+f>>3]}d=d+1|0;if((e|0)>(d|0)){continue}break}}b=v[j+m>>2];v[a+48>>2]=v[b+48>>2];l=A[b+56>>3];t[a+104|0]=0;t[a+103|0]=h;t[a+102|0]=g;A[a+56>>3]=l;v[a+64>>2]=0;A[a+72>>3]=A[b+64>>3];A[a+80>>3]=A[b+72>>3];A[a+88>>3]=A[b+80>>3];v[a+96>>2]=t[b+91|0];return a|0}function bl(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0;l=d*.5;m=v[a>>2];a:{if((m|0)<=(b|0)){i=b;break a}i=b;if(!(e>=0)){break a}if(c){while(1){b:{j=w[v[a+4>>2]+i|0];switch(j-10|0){case 0:case 3:break a;default:break b}}if(Ub[v[v[c>>2]+8>>2]](c)|0){n=l}else{n=A[((j<<3)+c|0)+1464>>3]*d}k=k+n;i=i+1|0;if((i|0)>=v[a>>2]){break a}if(e>=k){continue}break}break a}j=v[a+4>>2];while(1){c:{switch(w[i+j|0]-10|0){case 0:case 3:break a;default:break c}}k=k+l;i=i+1|0;if((m|0)<=(i|0)){break a}if(e>=k){continue}break}}o=f;if(e(i|0)?i:b;f=i;while(1){d:{j=f;if((j|0)<=(b|0)){j=m;break d}f=j-1|0;if(w[f+v[a+4>>2]|0]!=32){continue}}break}while(1){e:{f=j;if((j|0)<=(b|0)){f=i;break e}j=f-1|0;if(w[j+v[a+4>>2]|0]==32){continue}}break}i=(b|0)==(f|0)?b+1|0:f}v[o>>2]=i;k=0;f:{if((b|0)>=(i|0)){break f}if(c){while(1){if(Ub[v[v[c>>2]+8>>2]](c)|0){e=l}else{e=A[((w[v[a+4>>2]+b|0]<<3)+c|0)+1464>>3]*d}k=k+e;b=b+1|0;if((i|0)!=(b|0)){continue}break}break f}c=(b^-1)+i|0;j=i-b&7;if(j){while(1){b=b+1|0;k=k+l;j=j-1|0;if(j){continue}break}}if(c>>>0<7){break f}while(1){k=k+l+l+l+l+l+l+l+l;b=b+8|0;if((i|0)!=(b|0)){continue}break}}A[g>>3]=k;b=h;g=v[a>>2];if((g|0)>(i|0)){f=v[a+4>>2];g:{while(1){c=w[f+i|0];if((c|0)!=32){break g}i=i+1|0;if((g|0)!=(i|0)){continue}break}v[h>>2]=g;return}i=((c|0)==13)+i|0}if((g|0)>(i|0)){i=(w[v[a+4>>2]+i|0]==10)+i|0}v[b>>2]=i}function NMa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=v[a+4>>2];c=v[i+48>>2];d=v[a+8>>2];g=v[a+12>>2];a:{if(d>>>0>=g>>>0){break a}e=v[a+24>>2];while(1){f=v[b>>2];b:{c:{d:{e:{f:{g:{h:{i:{j:{while(1){if((f|0)>0){break b}k:{while(1){if(c){if(c>>>0>9){break c}if(1<>2]=d;if(e){break i}wG(a,b);break h}h=w[d|0];if(!h){c=1;d=d+1|0;break c}c=8;if((h|0)!=255){continue}break}c=5;d=d+1|0;break c}if(w[d|0]==w[c+851628|0]){break e}h=d;d=v[a+8>>2];h=h-d|0;k=c&3;if((h|0)!=(k|0)){f=w[a+2|0];t[a+2|0]=0;c=(c&4)+851628|0;v[a+8>>2]=c;v[a+12>>2]=c+(k-h|0);av(a,b);t[a+2|0]=f;v[a+12>>2]=g;f=v[b>>2]}c=8;if(d>>>0>>0){continue}break}break b}v[a+8>>2]=d;if(!e){break g}iW(a,b);break f}hW(a,b)}d=v[a+8>>2];break d}av(a,b)}d=v[a+8>>2];c=8;break c}f=c-3|0;d=d+1|0;c=c+1|0;l:{switch(f|0){case 0:j=d-v[a+8>>2]|0;c=8;break c;case 4:break l;default:break c}}j=d-v[a+8>>2]|0}c=9}if(d>>>0>>0){continue}}break}if(!e|!j){break a}f=v[a+24>>2];if(f>>>0<=e>>>0){break a}while(1){v[e>>2]=v[e>>2]+j;e=e+4|0;if(f>>>0>e>>>0){continue}break}}v[a+8>>2]=d;m:{if(!w[a+2|0]|(d|0)!=(g|0)){break m}n:{o:{switch(c|0){case 8:av(a,b);break n;case 9:wG(a,b);v[i+48>>2]=9;return;case 0:break m;default:break o}}d=(c&4)+851628|0;v[a+8>>2]=d;v[a+12>>2]=d+(c&3);av(a,b);v[a+12>>2]=g;v[a+8>>2]=g}c=8}v[i+48>>2]=c}function Cfa(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,h=0,i=0,j=0,k=0,l=0;i=Qb-32|0;Qb=i;a:{b:{c:{d:{if(!(v[b+76>>2]?v[b+72>>2]:0)){a=vc(i+8|0,277073,242139,316,226044,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break d}b=P()|0;O()|0;qc(a);T(b|0);L()}g=v[c+12>>2];h=v[c+4>>2];k=v[c+8>>2];j=v[c>>2];c=fc(72);v[299999]=0;l=g-h|0;g=k-j|0;e=Z(4919,c|0,l|0,g|0,((e+g|0)-1&0-e)-g|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break a}v[a>>2]=0;Wc(a,e);c=v[a>>2];v[299999]=0;V(4910,c|0,B(d,d)+1|0);c=v[299999];v[299999]=0;if((c|0)!=1){c=0;g=v[b+100>>2];e=v[b+96>>2];if(((g-e|0)+1|0)>0){j=B(d,j);f=f-B(d,h)|0;while(1){if(!((c|0)<=(g|0)&(c|0)>=(e|0))){v[299999]=0;c=aa(4369,i+8|0,227445,271729,632,307406,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break c}v[299999]=0;R(4370,c|0);b=v[299999];v[299999]=0;if((b|0)!=1){break d}b=P()|0;O()|0;qc(c);break b}e=v[b+84>>2]+(c-v[b+88>>2]<<3)|0;h=v[e+4>>2];v[299999]=0;h=Q(5302,b|0,h|0)|0;g=v[299999];v[299999]=0;e:{if((g|0)!=1){h=v[h+4>>2];if(!h){break e}g=x[e>>1];e=x[e+2>>1];k=v[a>>2];v[299999]=0;fa(4913,k|0,h|0,g-j|0,e+f|0,d|0);e=v[299999];v[299999]=0;if((e|0)!=1){break e}}b=P()|0;O()|0;break b}c=c+1|0;g=v[b+100>>2];e=v[b+96>>2];if((c|0)<((g-e|0)+1|0)){continue}break}}Qb=i+32|0;return}b=P()|0;O()|0;break b}L()}b=P()|0;O()|0}ec(a);T(b|0);L()}a=P()|0;O()|0;dc(c);T(a|0);L()}function Tha(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=Qb-16|0;Qb=e;a:{d=v[b>>2];b:{if(d){if(Ub[v[v[d>>2]+16>>2]](d)|0){Ub[v[v[a>>2]+28>>2]](e+8|0,a,1);c:{d:{f=v[e+8>>2];if(f){d=0;if(!c){break c}a=v[v[b>>2]+12>>2];b=v[f+12>>2];if(!(!b|!w[b|0])){d=1;if(!a|!w[a|0]){break c}if((c|0)<1){break d}d=Oc(b,a,c);break c}if(!a){break c}d=w[a|0]?-1:0;break c}b=v[b>>2];d=v[v[b>>2]+24>>2];v[299999]=0;U(d|0,e|0,b|0,2);b=v[299999];v[299999]=0;e:{f:{if((b|0)!=1){b=v[v[a>>2]+36>>2];v[299999]=0;d=Y(b|0,a|0,e|0,c|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break f}a=v[e>>2];v[e>>2]=0;g:{if(!a){break g}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break g}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}f=v[e+8>>2];break c}d=P()|0;O()|0;break e}d=P()|0;O()|0;ec(e)}ec(e+8|0);T(d|0);L()}d=mc(b,a)}v[e+8>>2]=0;if(!f){break b}v[299999]=0;a=v[f+4>>2]-1|0;v[f+4>>2]=a;b=v[299999];v[299999]=0;if((b|0)!=1){if(a){break b}v[299999]=0;R(4338,f|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}}break a}d=0;if(!c){break b}b=v[v[b>>2]+12>>2];a=v[a+12>>2];if(!(!a|!w[a|0])){d=1;if(!b|!w[b|0]){break b}if((c|0)>=1){d=Oc(a,b,c);break b}d=mc(a,b);break b}if(!b){break b}d=w[b|0]?-1:0;break b}d=0;if(!c){break b}a=v[a+12>>2];if(a){d=1;if(w[a|0]){break b}}d=0}Qb=e+16|0;return d|0}W(0)|0;O()|0;lc();L()}function By(a){var b=0,c=0,d=0,e=0;d=Qb-32|0;Qb=d;a:{if(w[v[v[a+36>>2]+16>>2]]!=37){break a}xd(a);e=nh(a);if(!e){Nd(a,68,352704);break a}if(w[v[v[a+36>>2]+16>>2]]!=59){if(v[a+172>>2]==-1?v[a+212>>2]:0){break a}v[a+84>>2]=23;v[d+16>>2]=345800;oc(0,0,0,a,0,1,23,3,0,0,0,0,350078,d+16|0);v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1;break a}xd(a);v[a+440>>2]=v[a+440>>2]+1;c=v[a>>2];b:{if(!c){break b}c=v[c+96>>2];if(!c){break b}b=Ub[c|0](v[a+4>>2],e)|0}if(v[a+172>>2]==-1){break a}c:{if(!b){d:{if(!(v[a+88>>2]|v[a+92>>2]?v[a+28>>2]!=1:0)){hf(a,26,353078,e);break d}$l(a,27,353078,e);v[a+100>>2]=0}if(w[a+362|0]&8){break c}b=v[a+388>>2];if((b|0)==89|(b&-2)!=26|(y[a+440>>2]<10001|(v[a+172>>2]==-1?v[a+212>>2]:0))){break c}v[a+84>>2]=89;v[d>>2]=242468;oc(0,0,0,a,0,1,89,3,0,0,0,0,350078,d);v[a+12>>2]=0;if(v[a+288>>2]){break c}v[a+212>>2]=1;break c}c=v[b+48>>2];if((c&-2)!=4){$l(a,27,346949,e);break c}if(v[v[a+36>>2]+40>>2]!=3036){if((Xr(a,GU(a,b))|0)>=0){break c}break a}if(!(v[a+16>>2]|(w[a+360|0]&30|(c|0)!=5))){if(!v[a+104>>2]){break a}}if((Xr(a,NF(a,b))|0)<0){break a}if(v[b+48>>2]!=5){break c}b=v[v[a+36>>2]+16>>2];if(w[b|0]!=60|w[b+1|0]!=63|(w[b+2|0]!=120|w[b+3|0]!=109)){break c}if(w[b+4|0]!=108){break c}b=w[b+5|0]-9|0;if(b>>>0>23|!(1<>2]!=32){break c}el(a);break a}v[a+92>>2]=1}Qb=d+32|0}function AF(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=Qb-144|0;Qb=c;e=v[b>>2];f=fl(a,e,c+28|0);a:{if(!AU(v[a+360>>2],f)){break a}g=1;b:{if(v[c+28>>2]==1){t[c+32|0]=f;d=1;break b}d=li(c+32|0,f);g=v[c+28>>2]}g=e+g|0;e=fl(a,g,c+28|0);c:{while(1){if(!Wp(v[a+360>>2],e)){break c}f=a;d:{if(v[c+28>>2]==1){t[(c+32|0)+d|0]=e;d=d+1|0;e=1;break d}d=li((c+32|0)+d|0,e)+d|0;e=v[c+28>>2]}g=e+g|0;e=fl(f,g,c+28|0);if((d|0)<100){continue}break}i=d<<1;f=Ub[v[259707]](i)|0;if(!f){Qd(a,0);break a}h=gc(f,c+32|0,d);if(Wp(v[a+360>>2],e)){while(1){e:{if((d+10|0)<=(i|0)){h=f;break e}if(!(w[a+362|0]&8|(d|0)<50001)){f:{if(v[a+172>>2]==-1?v[a+212>>2]:0){break f}v[a+84>>2]=110;v[c+20>>2]=280515;v[c+16>>2]=246281;oc(0,0,0,a,0,1,110,3,280515,0,0,0,349936,c+16|0);v[a+12>>2]=0;if(v[a+288>>2]){break f}v[a+212>>2]=1}h=0;Ub[v[259708]](f);break a}i=i<<1;h=Ub[v[259709]](f,i)|0;if(h){break e}h=0;Qd(a,0);Ub[v[259708]](f);break a}g:{if(v[c+28>>2]==1){t[d+h|0]=e;d=d+1|0;break g}d=li(d+h|0,e)+d|0}g=v[c+28>>2]+g|0;e=fl(a,g,c+28|0);f=h;if(Wp(v[a+360>>2],e)){continue}break}}t[d+h|0]=0;v[b>>2]=g;break a}if(!(w[a+362|0]&8|(d|0)<50001)){if(v[a+172>>2]==-1?v[a+212>>2]:0){break a}v[a+84>>2]=110;v[c+4>>2]=280515;v[c>>2]=246281;oc(0,0,0,a,0,1,110,3,280515,0,0,0,349936,c);v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1;break a}v[b>>2]=g;h=rk(c+32|0,d)}Qb=c+144|0;return h}function CJa(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;a:{if(y[f>>2]>=g>>>0){break a}i=v[a+396>>2];o=i+8|0;p=B(v[a+272>>2],3);while(1){b:{c:{d:{h=v[c>>2];if(h>>>0>>0){j=v[i+52>>2];l=v[i+60>>2]-j|0;k=d-h|0;l=k>>>0>l>>>0?l:k;Ub[v[v[a+408>>2]+4>>2]](a,(h<<2)+b|0,o,j,l);e:{if(v[i+48>>2]!=v[a+32>>2]){break e}k=v[a+76>>2];if((k|0)<1){break e}m=0;h=v[a+272>>2];if((h|0)<1){break e}while(1){j=1;if((h|0)>=1){k=(m<<2)+i|0;while(1){h=v[k+8>>2];rm(h,0,h,0-j|0,1,v[a+28>>2]);h=v[a+272>>2];n=(h|0)>(j|0);j=j+1|0;if(n){continue}break}k=v[a+76>>2]}m=m+1|0;if((m|0)<(k|0)){continue}break}}v[c>>2]=l+v[c>>2];j=l+v[i+52>>2]|0;v[i+52>>2]=j;v[i+48>>2]=v[i+48>>2]-l;h=v[i+60>>2];break d}if(v[i+48>>2]){break a}j=v[i+52>>2];h=v[i+60>>2];if((j|0)>=(h|0)){break d}m=0;l=i;k=v[a+76>>2];if((k|0)>=1){while(1){if((h|0)>(j|0)){n=j-1|0;k=v[((m<<2)+i|0)+8>>2];q=v[a+28>>2];while(1){rm(k,n,k,j,1,q);j=j+1|0;if((h|0)!=(j|0)){continue}break}k=v[a+76>>2]}m=m+1|0;if((m|0)<(k|0)){h=v[i+60>>2];j=v[i+52>>2];continue}break}h=v[i+60>>2]}v[l+52>>2]=h;break c}if((h|0)!=(j|0)){break b}}Ub[v[v[a+412>>2]+4>>2]](a,o,v[i+56>>2],e,v[f>>2]);v[f>>2]=v[f>>2]+1;j=v[a+272>>2];h=j+v[i+56>>2]|0;v[i+56>>2]=(h|0)<(p|0)?h:0;l=i;h=v[i+52>>2];if((h|0)>=(p|0)){v[i+52>>2]=0;h=0}v[l+60>>2]=h+j}if(y[f>>2]>>0){continue}break}}}function hW(a,b){a=a|0;b=b|0;var 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;l=v[a+12>>2];k=v[a+24>>2];d=v[a+8>>2];a:{b:{j=v[a+4>>2];c=v[j+44>>2];h=v[a+16>>2];m=v[a+20>>2];if(!(!c|h>>>0>=m>>>0)){v[j+44>>2]=0;e=t[j+36|0];t[j+36|0]=0;g=c-1|0;break b}c=0;break a}c=1}c:{while(1){if(!c){if(d>>>0>=l>>>0){break c}g=0;e=0;if(h>>>0>=m>>>0){break c}c=1;continue}d:{e:{if(e>>>0>3){c=e;break e}if(d>>>0>=l>>>0){break d}c=w[d|0];t[(e+j|0)+37|0]=c;f=d+1|0;g=c<<(e<<3)|g;c=4;i=e+1|0;if((i|0)==4){d=f;break e}if(f>>>0>=l>>>0){e=i;d=f;break d}c=w[d+1|0];t[(i+j|0)+37|0]=c;f=d+2|0;g=c<<(i<<3)|g;c=4;i=e+2|0;if((i|0)==4){d=f;break e}if(f>>>0>=l>>>0){e=i;d=f;break d}c=w[d+2|0];t[(i+j|0)+37|0]=c;f=d+3|0;g=c<<(i<<3)|g;c=4;e=e+3|0;if((e|0)==4){d=f;break e}if(f>>>0>=l>>>0){d=f;break d}f=w[d+3|0];t[(e+j|0)+37|0]=f;d=d+4|0;g=f<<(e<<3)|g}f:{if(!((g&-2048)==55296|g>>>0>1114111)){g:{h:{if(g>>>0<=65535){u[h>>1]=g;o=1;f=k;h=h+2|0;break h}u[h>>1]=(g>>>10|0)-10304;v[k>>2]=n;f=k+4|0;p=g&1023|-9216;o=2;i=h+2|0;if(i>>>0>=m>>>0){break g}u[h+2>>1]=p;h=h+4|0}v[f>>2]=n;n=c+n|0;k=(o<<2)+k|0;break f}e=v[a+4>>2];t[e+65|0]=1;u[e+116>>1]=p;v[b>>2]=15;k=f;h=i;break c}t[v[a+4>>2]+36|0]=c;v[b>>2]=12;break c}c=0;continue}break}c=v[a+4>>2];t[c+36|0]=e;v[c+44>>2]=g+1}if(!(h>>>0>>0|d>>>0>=l>>>0|v[b>>2]>0)){v[b>>2]=15}v[a+24>>2]=k;v[a+8>>2]=d;v[a+16>>2]=h}function jLa(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;a:{b:{d=v[a+8>>2];h=v[a+12>>2];if((d|0)==(h|0)){break b}a=w[b+11|0];e=a<<24>>24<0;f=e?v[b>>2]:b;g=e?v[b+4>>2]:a;if(!g){while(1){a=w[d+11|0];b=a<<24>>24;c:{if((b|0)<0?v[d+4>>2]:a){break c}if((b|0)<1){break b}if(w[f|0]!=w[d|0]){break c}e=d;b=f;while(1){a=a-1|0;if(!a){break b}g=w[b+1|0];b=b+1|0;e=e+1|0;if((g|0)==w[e|0]){continue}break}}d=d+20|0;if((h|0)!=(d|0)){continue}break a}}while(1){a=w[d+11|0];e=a<<24>>24;b=(e|0)<0;d:{if((g|0)!=((b?v[d+4>>2]:a)|0)){break d}i=v[d>>2];if(!b){if(!e){break b}e=d;b=f;if(w[b|0]!=(i&255)){break d}while(1){a=a-1|0;if(!a){break b}i=w[b+1|0];b=b+1|0;e=e+1|0;if((i|0)==w[e|0]){continue}break}break d}if(!Pc(i,f,g)){break b}}d=d+20|0;if((h|0)!=(d|0)){continue}break}break a}if((d|0)==(h|0)|(c|0)==(d|0)){break a}f=w[c+11|0];a=f<<24>>24;if(t[d+11|0]>=0){if((a|0)>=0){a=v[c+4>>2];v[d>>2]=v[c>>2];v[d+4>>2]=a;v[d+8>>2]=v[c+8>>2];return}e=v[c>>2];b=Qb-16|0;Qb=b;a=v[c+4>>2];e:{if(a>>>0<=10){t[d+11|0]=a;bk(d,e,a);t[b+15|0]=0;t[a+d|0]=w[b+15|0];break e}c=w[d+11|0];Tq(d,10,a-10|0,c,0,c,a,e)}Qb=b+16|0;return}a=(a|0)<0;e=a?v[c>>2]:c;b=Qb-16|0;Qb=b;a=a?v[c+4>>2]:f;c=v[d+8>>2]&2147483647;f:{if(a>>>0>>0){c=v[d>>2];v[d+4>>2]=a;bk(c,e,a);t[b+15|0]=0;t[a+c|0]=w[b+15|0];break f}f=c-1|0;g=(a-c|0)+1|0;c=v[d+4>>2];Tq(d,f,g,c,0,c,a,e)}Qb=b+16|0}}function oIa(a,b){a=a|0;b=b|0;var 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;g=v[a+420>>2];c=v[a+236>>2];if(c){d=g;e=v[d+36>>2];if(!e){if(v[a+288>>2]>=1){c=0;while(1){v[((c<<2)+g|0)+20>>2]=0;c=c+1|0;if((c|0)>2]){continue}break}c=v[a+236>>2]}v[g+36>>2]=c;e=c}v[d+36>>2]=e-1}if(v[a+316>>2]>=1){while(1){d=j<<2;c=v[(d+a|0)+320>>2]<<2;e=v[(c+a|0)+292>>2];i=v[((v[e+24>>2]<<2)+g|0)+92>>2];h=v[((v[e+20>>2]<<2)+g|0)+76>>2];o=v[a+380>>2];k=v[a+384>>2];e=0;l=b+d|0;m=v[l>>2];n=c+g|0;d=u[m>>1]-v[n+20>>2]|0;a:{if(!d){break a}e=d>>31;c=e+d^e;e=0;while(1){d=e;e=d+1|0;f=c>>>0>1;c=c>>>1|0;if(f){continue}break}if(d>>>0<11){break a}d=v[a>>2];v[d+20>>2]=6;Ub[v[d>>2]](a)}f=1;e=h+(e<<2)|0;v[e>>2]=v[e>>2]+1;d=0;b:{if((k|0)<1){break b}while(1){c:{c=x[(v[(f<<2)+o>>2]<<1)+m>>1];d:{if(c){if((d|0)>=16){e=(d-((d|0)<31?d:31)|0)+15|0;v[i+960>>2]=(v[i+960>>2]+(e>>>4|0)|0)+1;d=(d-(e&-16)|0)-16|0}e=1;h=c<<16;c=h>>31;c=(c^c+(h>>16))&65535;e:{if(c>>>0<2){break e}while(1){h=e;e=e+1|0;p=c>>>0>3;c=c>>>1|0;if(p){continue}break}if(h>>>0<10){break e}c=v[a>>2];v[c+20>>2]=6;Ub[v[c>>2]](a)}e=((d<<4)+e<<2)+i|0;v[e>>2]=v[e>>2]+1;d=0;if((f|0)!=(k|0)){break d}break b}if((f|0)==(k|0)){break c}d=d+1|0}f=f+1|0;continue}break}if((d|0)<0){break b}v[i>>2]=v[i>>2]+1}v[n+20>>2]=u[v[l>>2]>>1];j=j+1|0;if((j|0)>2]){continue}break}}return 1}function hEa(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,p=0,q=0,r=0,s=0,t=0,u=0,x=0;n=Qb+-64|0;Qb=n;d=ic(a,0,256);while(1){a:{h=d;d=v[(i<<2)+b>>2]+c|0;e=w[d+3|0];f=w[d+1|0];g=e+f|0;j=w[d+4|0];k=w[d|0];l=j+k|0;m=g+l|0;d=w[d+2|0];v[h>>2]=(m+d<<2)-2560;g=B(l-g|0,6476)+1024|0;d=B(m-(d<<2)|0,2896);v[h+16>>2]=g-d>>11;v[h+8>>2]=d+g>>11;e=f-e|0;f=k-j|0;d=B(e+f|0,6810)+1024|0;v[h+12>>2]=d+B(e,-17828)>>11;v[h+4>>2]=d+B(f,4209)>>11;e=i-7|0;i=i+1|0;d=n;b:{switch(e|0){case 0:continue;case 2:break a;default:break b}}d=h+32|0;continue}break}while(1){i=v[a+192>>2];e=v[a+96>>2];b=i+e|0;h=v[d>>2];f=v[a+32>>2];c=h+f|0;g=b+c|0;j=v[a+224>>2];k=v[a+64>>2];l=j+k|0;m=l<<1;o=v[a+160>>2];p=v[a+128>>2];q=o+p|0;r=v[d+32>>2];s=v[a>>2];t=r+s|0;u=q+t|0;v[a+128>>2]=(B(g-m|0,-4582)+B(u-m|0,11997)|0)+16384>>15;v[a>>2]=B((g+l|0)+u|0,10486)+16384>>15;g=t-q|0;c=c-b|0;b=B(g+c|0,8716)+16384|0;v[a+192>>2]=b+B(c,-22820)>>15;v[a+64>>2]=b+B(g,5387)>>15;b=p-o|0;c=s-r|0;g=b+c|0;h=f-h|0;i=e-i|0;e=h-i|0;f=k-j|0;v[a+160>>2]=B(g-(e+f|0)|0,10486)+16384>>15;j=(B(c-b|0,9973)+B(h+i|0,-6163)|0)+16384|0;f=B(f,10486);e=(B(e,5243)-f|0)+B(e+g|0,3240)|0;v[a+224>>2]=j-e>>15;v[a+96>>2]=e+j>>15;v[a+32>>2]=(((f+(B(c,14647)+B(h,13213)|0)|0)+B(i,6732)|0)+B(b,2320)|0)+16384>>15;d=d+4|0;a=a+4|0;x=x+1|0;if((x|0)!=5){continue}break}Qb=n- -64|0}function ro(a,b,c){var d=0,e=0,f=0,g=0,h=0;g=Qb-128|0;Qb=g;a:{if(!a){break a}h=v[a+16>>2];if(!h){break a}d=h;a=v[a+12>>2];b:{if(d>>>0<=a>>>0){break b}while(1){c:{switch(w[d|0]-10|0){case 0:case 3:break c;default:break b}}d=d-1|0;if(a>>>0>>0){continue}break}d=a}d:{e:{if(a>>>0>=d>>>0){break e}e=1;while(1){f:{f=w[d|0];switch(f-10|0){case 0:case 3:break d;default:break f}}d=d-1|0;if(e>>>0>79){break e}e=e+1|0;if(a>>>0>>0){continue}break}}f=w[d|0]}g:{switch((f&255)-10|0){case 0:case 3:d=d+1|0;break;default:break g}}h=h-d|0;f=0;a=g+32|0;while(1){h:{i:{e=w[d|0];switch(e|0){case 0:case 10:break h;default:break i}}if((e|0)==13|f>>>0>79){break h}t[a|0]=e;f=f+1|0;a=a+1|0;d=d+1|0;continue}break}e=0;t[a|0]=0;a=g+32|0;v[g+16>>2]=a;Ub[b|0](c,350078,g+16|0);j:{if(!h){d=a;break j}while(1){d=a;k:{switch(w[a|0]){default:t[d|0]=32;break;case 0:break j;case 9:break k}}d=d+1|0;if((h|0)==(e|1)){break j}l:{switch(w[a+1|0]){default:t[a+1|0]=32;break;case 0:break j;case 9:break l}}d=a+2|0;if((h|0)==(e|2)){break j}m:{switch(w[a+2|0]){default:t[a+2|0]=32;break;case 0:break j;case 9:break m}}d=a+3|0;f=e|3;if((f|0)==(h|0)|(f|0)==79){break j}n:{switch(w[a+3|0]){default:t[a+3|0]=32;break;case 0:break j;case 9:break n}}a=a+4|0;d=a;e=e+4|0;if((h|0)!=(e|0)){continue}break}}t[d|0]=94;t[d+1|0]=0;v[g>>2]=g+32;Ub[b|0](c,350078,g)}Qb=g+128|0}function RZ(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;if(d){g=(f|0)==2;m=g?256:128;n=g?128:256;l=0-f|0;while(1){i=v[c+16>>2];a:{if(i&16){break a}k=v[c+28>>2];b:{g=t[c+20|0];c:{if((g|0)==(f|0)|(g|0)==(l|0)){break c}g=t[c+21|0];if((g|0)==(f|0)){break c}if((g|0)!=(l|0)){break b}}if(!g){break b}if((f|0)==(g|0)){g=0;if(!a){break a}while(1){h=v[(g<<2)+b>>2];j=k-v[h>>2]|0;if(!((j|0)<(e|0)&(0-j|0)<(e|0))){g=g+1|0;if((g|0)!=(a|0)){continue}break a}break}v[c+24>>2]=h;v[c+16>>2]=i|528;break a}if((g|0)!=(l|0)){break a}g=0;if(!a){break a}while(1){h=v[(g<<2)+b>>2];j=k-(v[h>>2]+v[h+4>>2]|0)|0;if(!((j|0)<(e|0)&(0-j|0)<(e|0))){g=g+1|0;if((g|0)!=(a|0)){continue}break a}break}v[c+24>>2]=h;v[c+16>>2]=i|1040;break a}if(!(i&64)){break a}d:{e:{if(i&n){g=0;if(!a){break a}while(1){h=v[(g<<2)+b>>2];j=k-v[h>>2]|0;if(!((j|0)<(e|0)&(0-j|0)<(e|0))){g=g+1|0;if((g|0)!=(a|0)){continue}break d}break}g=528;break e}if(!(i&m)){break d}g=0;if(!a){break d}while(1){h=v[(g<<2)+b>>2];j=k-(v[h>>2]+v[h+4>>2]|0)|0;if(!((j|0)<(e|0)&(0-j|0)<(e|0))){g=g+1|0;if((g|0)!=(a|0)){continue}break d}break}g=1040}v[c+24>>2]=h;v[c+16>>2]=g|i}if(v[c+24>>2]){break a}g=0;if(!a){break a}while(1){i=v[(g<<2)+b>>2];h=v[i>>2];if(!((h|0)>(k|0)|(h+v[i+4>>2]|0)<(k|0))){v[c+24>>2]=i;break a}g=g+1|0;if((g|0)!=(a|0)){continue}break}}c=c+40|0;d=d-1|0;if(d){continue}break}}}function oy(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=Qb+-64|0;Qb=c;v[c+48>>2]=13;v[c+32>>2]=13;a:{if(v[rc(b,248240,c+48|0,0)>>2]!=6){kc(1,-1,248213,0);break a}g=v[c+56>>2];d=v[g+12>>2];v[a+4>>2]=(d|0)/2;b:{if((d|0)<=65){c:{d:{if((d|0)<2){break d}d=0;yc(g,0,c+32|0,0);g=219747;f=v[c+32>>2];if(f-1>>>0>1){break c}while(1){h=(e<<4)+a|0;A[h+16>>3]=(f|0)==1?+v[c+40>>2]:A[c+40>>3];f=c+32|0;hc(f);yc(v[c+56>>2],d|1,f,0);d=v[c+32>>2];if(d-1>>>0>1){break c}A[h+24>>3]=(d|0)==1?+v[c+40>>2]:A[c+40>>3];hc(c+32|0);e=e+1|0;if((e|0)>=v[a+4>>2]){break d}d=e<<1;yc(v[c+56>>2],d,c+32|0,0);f=v[c+32>>2];if(f-1>>>0<=1){continue}break}break c}d=c+48|0;hc(d);v[a+8>>2]=0;v[a+1040>>2]=0;e=1;if(v[rc(b,283389,d,0)>>2]!=6){break a}v[a+1040>>2]=1;d=v[c+56>>2];b=v[d+12>>2];v[a+8>>2]=(b|0)/2;if((b|0)>65){break b}if((b|0)<2){break a}e=0;yc(d,0,c+32|0,0);g=219916;d=v[c+32>>2];if(d-1>>>0>1){break c}b=0;while(1){f=(b<<4)+a|0;A[f+528>>3]=(d|0)==1?+v[c+40>>2]:A[c+40>>3];d=c+32|0;hc(d);yc(v[c+56>>2],e|1,d,0);d=v[c+32>>2];if(d-1>>>0>1){break c}e=1;A[f+536>>3]=(d|0)==1?+v[c+40>>2]:A[c+40>>3];hc(c+32|0);b=b+1|0;if((b|0)>=v[a+8>>2]){break a}e=b<<1;yc(v[c+56>>2],e,c+32|0,0);d=v[c+32>>2];if(d-1>>>0<2){continue}break}}e=0;kc(1,-1,g,0);hc(c+32|0);break a}v[c>>2]=32;kc(1,-1,289394,c);break a}v[c+16>>2]=32;kc(1,-1,289277,c+16|0);e=0}hc(c+48|0);Qb=c- -64|0;return e}function eoa(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;f=Qb+-64|0;Qb=f;e=kj(f+24|0,v[a>>2]+72|0);v[299999]=0;g=S(4464,e|0)|0;d=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{if((d|0)==1){break f}v[299999]=0;d=v[v[b+12>>2]+((g>>>0)%y[b+8>>2]<<2)>>2];h=v[299999];v[299999]=0;if((h|0)==1){break f}g:{if(d){while(1){if((g|0)==v[d+12>>2]){v[299999]=0;h=Q(4461,d+16|0,e|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break b}if(h){break g}}d=v[d+8>>2];if(d){continue}break}}v[299999]=0;d=Q(4749,b|0,e|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break e}v[d+52>>2]=0;v[299999]=0;V(4750,c|0,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break e}v[f+16>>2]=0;v[f+20>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;v[299999]=0;a=f+8|0;v[a>>2]=982500;v[a+4>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;d=v[299999];v[299999]=0;if((d|0)==1){break d}d=v[f+16>>2];if(d){while(1){v[299999]=0;U(4740,d+8|0,b|0,c|0);g=v[299999];v[299999]=0;if((g|0)==1){break c}d=v[d>>2];if(d){continue}break}}Ic(a)}v[e+24>>2]=981312;v[e>>2]=981280;a=v[e+28>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Ub[v[v[a>>2]+4>>2]](a)}v[e+28>>2]=0}v[e+16>>2]=981312;a=v[e+20>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Ub[v[v[a>>2]+4>>2]](a)}v[e+20>>2]=0}ec(e+8|0);Qb=f- -64|0;return}d=P()|0;O()|0;break a}d=P()|0;O()|0;break a}d=P()|0;O()|0;break a}d=P()|0;O()|0;Ic(a);break a}d=P()|0;O()|0}$c(e);T(d|0);L()}function Ci(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;k=Qb-32|0;Qb=k;a:{if(!d){break a}e=v[d>>2];if((e|0)>=v[a+8>>2]){break a}n=a+24|0;i=a+36|0;o=a+40|0;p=a+28|0;q=a+16|0;h=-1;j=1;while(1){if(!e){e=v[a+8>>2];g=v[v[a+16>>2]>>2]?v[a+20>>2]:0;if((e|0)>=(g|0)){e=g+2e4|0;Xd(q,e,1);Xd(p,e,4);Xd(o,e,4);e=v[a+8>>2]}v[a+8>>2]=e+1;v[d>>2]=e;t[v[a+12>>2]+e|0]=0;v[v[a+36>>2]+(v[d>>2]<<2)>>2]=0;v[v[a+24>>2]+(v[d>>2]<<2)>>2]=0}b:{c:{if(w[a+4|0]){if(!((c|0)<(f|0)|(b|0)>=(f|0))){g=1;e=i;if(!(Ub[v[v[a>>2]+8>>2]](a,(f|0)<=(l|0),v[a+12>>2]+v[d>>2]|0)|0)){break c}break b}g=1;e=i;if((f|0)>(l|0)){break c}break b}g=1;if((b|0)>=(f|0)){e=i;break b}if((c|0)<(f|0)){break c}e=i;if(Ub[v[v[a>>2]+8>>2]](a,0,v[a+12>>2]+v[d>>2]|0)|0){break b}}g=0;e=n}r=v[d>>2];e=v[e>>2];d:{e:{f:{g:{h:{i:{switch(j-1|0){case 0:j=2;if(g){f=1;m=0;break e}d=c^-1;c=b^-1;l=0-w[a+4|0]<<24>>24^l;m=1;b=d;f=1;break e;case 1:if(!g){if(f-1>>>0>=2){break h}f=0;break d}f=f<<1|1;j=2;break e;case 2:break i;default:break e}}if((h&-2)!=2){if(!g){break g}d=(h|0)/4|0;break f}f=f-!g|0;break d}h=f+1|0}d=(h|0)/-4|0}f=d+f|0;j=3;if((h&-2)==2){break d}h=(h|0)/2|0}d=e+(r<<2)|0;e=v[d>>2];continue}break}Qb=k+32|0;return 0-m^f}a=vc(k+8|0,225143,242139,478,338133,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)==1){b=P()|0;O()|0;qc(a);T(b|0);L()}L()}function Cab(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;if(e){o=e-1|0;p=e-2|0;m=(e|0)==1;while(1){i=g;a=f;u[g>>1]=x[a>>1];f=a+2|0;g=g+2|0;a:{if(!m&l>>>0>=o>>>0){break a}h=l?(l|0)==(p|0)?d:b:c;k=!l&m;if(k){if(h>>>0<2){break a}k=h-1|0;i=k&7;if(h-2>>>0>=7){h=k&-8;while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a>>1];u[g+4>>1]=x[a>>1];u[g+6>>1]=x[a>>1];u[g+8>>1]=x[a>>1];u[g+10>>1]=x[a>>1];u[g+12>>1]=x[a>>1];u[g+14>>1]=x[a>>1];g=g+16|0;h=h-8|0;if(h){continue}break}}if(!i){break a}while(1){u[g>>1]=x[a>>1];g=g+2|0;i=i-1|0;if(i){continue}break}break a}j=x[a>>1];k=k?0:f;if((j|0)!=x[k>>1]){i=1;if(h>>>0<=1){break a}q=h<<1;while(1){j=w[a|0]|w[a+1|0]<<8;n=w[k|0]|w[k+1|0]<<8;j=((j<<8|j>>>8)&65535)+((h+(B(((n<<8|n>>>8)&65535)-((j<<8|j>>>8)&65535)|0,i)<<1)|0)/(q|0)|0)&65535;j=j<<8|j>>>8;t[g|0]=j;t[g+1|0]=j>>>8;g=g+2|0;i=i+1|0;if((h|0)!=(i|0)){continue}break}break a}if(h>>>0<2){break a}u[i+2>>1]=j;g=i+4|0;if((h|0)==2){break a}k=h-2|0;i=k&7;if(h-3>>>0>=7){h=k&-8;while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a>>1];u[g+4>>1]=x[a>>1];u[g+6>>1]=x[a>>1];u[g+8>>1]=x[a>>1];u[g+10>>1]=x[a>>1];u[g+12>>1]=x[a>>1];u[g+14>>1]=x[a>>1];g=g+16|0;h=h-8|0;if(h){continue}break}}if(!i){break a}while(1){u[g>>1]=x[a>>1];g=g+2|0;i=i-1|0;if(i){continue}break}}l=l+1|0;if((l|0)!=(e|0)){continue}break}}return 0}function zu(a){var b=0,c=0,d=0,e=0;e=Qb-16|0;Qb=e;a:{b:{c:{d:{c=v[a+36>>2];b=v[c+16>>2];if(w[b|0]!=60|w[b+1|0]!=63|(w[b+2|0]!=120|w[b+3|0]!=109)){break d}if(w[b+4|0]!=108){break d}d=w[b+5|0]-9|0;if(d>>>0>23|!(1<>2]=v[a+200>>2]+5;v[c+16>>2]=b+5;v[c+32>>2]=v[c+32>>2]+5;b=w[b+5|0];if((b|0)==37){wd(a);c=v[a+36>>2];b=w[v[c+16>>2]]}e:{if(b&255){break e}if((cd(c)|0)>0){break e}vd(a)}b=w[v[v[a+36>>2]+16>>2]]-9|0;if(!(1<>>0<=23:0)){Nd(a,65,356176)}Bd(a);b=EU(a);if(b){break c}b=CF();break b}if(v[a+172>>2]==-1?v[a+212>>2]:0){break a}v[a+84>>2]=56;v[e>>2]=290872;oc(0,0,0,a,0,1,56,3,0,0,0,0,350078,e);v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1;break a}c=w[v[v[a+36>>2]+16>>2]]-9|0;if(1<>>0<=23:0){break b}Nd(a,65,352303)}v[v[a+36>>2]+48>>2]=b;b=DU(a);c=v[a+84>>2];if((c|0)==32){break a}if(!(b|c)){Nd(a,101,350828)}Bd(a);f:{g:{h:{i:{c=v[a+36>>2];b=v[c+16>>2];switch(w[b|0]-62|0){case 0:break g;case 1:break i;default:break h}}if(w[b+1|0]!=62){break h}v[a+200>>2]=v[a+200>>2]+2;v[c+16>>2]=b+2;v[c+32>>2]=v[c+32>>2]+2;b=w[b+2|0];if((b|0)==37){wd(a);c=v[a+36>>2];b=w[v[c+16>>2]]}if(b&255){break a}if((cd(c)|0)>0){break a}vd(a);break a}te(a,57,0);c=v[a+36>>2];b=v[c+16>>2];while(1){d=w[b|0];if(!d|(d|0)==62){break f}b=b+1|0;v[c+16>>2]=b;continue}}te(a,57,0)}xd(a)}Qb=e+16|0}function RZa(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;e=v[a+804>>2];a:{b:{if(e){d=6;if(y[a+28>>2]<=b>>>0){break a}b=v[e+(b<<2)>>2];break b}d=6;if(y[a+800>>2]<=b>>>0){break a}}d=2;c:{d:{switch(v[a+796>>2]-1|0){case 0:case 1:f=v[a+788>>2]+B(b,48)|0;h=w[f+52|0];u[c>>1]=h;i=w[f+53|0];u[c+2>>1]=i;e=t[f+24|0];g=e<<6;v[c+12>>2]=g;j=t[f+25|0];d=j<<6;v[c+16>>2]=d;b=t[f+33|0];k=c;e:{f:{if((j|0)>=1){if((b|0)>-1){break e}d=0-d|0;break f}if(e|j){break e}d=t[f+32|0];if(d|b){g=d<<6;v[c+12>>2]=g;d=b<<6;break f}g=i<<6;v[c+12>>2]=g;d=0}v[k+16>>2]=d}b=g-d|0;v[c+20>>2]=b;if(!b){b=i<<6;v[c+20>>2]=b;v[c+16>>2]=g-b}v[c+24>>2]=t[f+31|0]+(w[f+26|0]+t[f+30|0]|0)<<6;b=a+178|0;break c;case 2:break d;default:break a}}d=3;b=v[a+788>>2]+(b<<2)|0;b=w[b+8|0]|w[b+9|0]<<8|(w[b+10|0]<<16|w[b+11|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(y[a+864>>2]>>0){break a}e=v[a+104>>2];d=Yc(e,b+v[a+860>>2]|0);if(d){break a}d=ne(e,4);if(d){break a}d=He(e);He(e);Vd(e);b=a+178|0;e=x[b>>1];u[c+2>>1]=d;u[c>>1]=d;d=d<<6;l=c,m=jd(u[a+220>>1],d,e),v[l+12>>2]=m;l=c,m=jd(u[a+222>>1],d,e),v[l+16>>2]=m;l=c,m=jd(u[a+224>>1]+(u[a+220>>1]-u[a+222>>1]|0)|0,d,e),v[l+20>>2]=m;l=c,m=jd(x[a+226>>1],d,e),v[l+24>>2]=m;h=x[c>>1]}l=c,m=jd(h,4194304,x[b>>1]),v[l+4>>2]=m;l=c,m=jd(x[c+2>>1],4194304,x[b>>1]),v[l+8>>2]=m;d=0}return d|0}function Dh(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;if(v[a+4>>2]==2){return Ub[v[a+12>>2]](b,c,d)|0}a:{b:{i=v[a+12>>2];if(y[i>>2]>b>>>0){break b}e=v[a+16>>2];if((e|0)>=2){while(1){g=(e+f|0)/2|0;h=y[i+(g<<4)>>2]>b>>>0;e=h?g:e;f=h?f:g;if((e-f|0)>1){continue}break}}e=i+(f<<4)|0;if(y[e+4>>2]>>0){break b}g=0;a=v[e+12>>2];if((a|0)>(d|0)){break a}if((a|0)<1){return a}d=b;b=i+(f<<4)|0;f=(d+v[b+8>>2]|0)-v[b>>2]|0;d=a-1|0;b=a&3;c:{if(!b){e=a;break c}e=a;while(1){e=e-1|0;t[e+c|0]=f;f=f>>>8|0;b=b-1|0;if(b){continue}break}}if(d>>>0<3){return a}while(1){b=e-4|0;d=b+c|0;f=f<<8&16711680|f<<24|(f>>>8&65280|f>>>24);t[d|0]=f;t[d+1|0]=f>>>8;t[d+2|0]=f>>>16;t[d+3|0]=f>>>24;d=(e|0)>4;f=0;e=b;if(d){continue}break}return a}g=0;e=v[a+24>>2];if((e|0)<1){break a}d=v[a+20>>2];f=0;while(1){if(v[d+B(f,24)>>2]==(b|0)){b=d+B(f,24)|0;g=v[b+20>>2];if((g|0)<1){break a}t[c|0]=w[b+4|0];if((g|0)==1){break a}d=g-1|0;b=d&3;e=1;if(g-2>>>0>=3){i=d&-4;d=B(f,24);while(1){t[c+e|0]=w[((d+v[a+20>>2]|0)+e|0)+4|0];h=e+1|0;t[h+c|0]=w[(h+(d+v[a+20>>2]|0)|0)+4|0];h=e+2|0;t[h+c|0]=w[(h+(d+v[a+20>>2]|0)|0)+4|0];h=e+3|0;t[h+c|0]=w[(h+(d+v[a+20>>2]|0)|0)+4|0];e=e+4|0;i=i-4|0;if(i){continue}break}}if(!b){break a}d=B(f,24);while(1){t[c+e|0]=w[((d+v[a+20>>2]|0)+e|0)+4|0];e=e+1|0;b=b-1|0;if(b){continue}break}break a}f=f+1|0;if((e|0)!=(f|0)){continue}break}}return g}function I5(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;g=Qb-16|0;Qb=g;a:{b:{c:{e=v[a+584>>2];if(!w[e+401|0]){if((c>>>0)%y[e+1116>>2]|0){zc(v[a+628>>2],87724,64201,0);break a}if((c|0)<1){break c}p=e+536|0;a=v[e+1112>>2];while(1){if(!a){if(!zB(e,p,v[e+1104>>2],w[e+209|0]<<3)){f=0;break a}a=v[e+1112>>2]}if(v[e+1108>>2]){d=B(v[e+1064>>2],a);k=d+v[e+1092>>2]|0;l=d+v[e+1096>>2]|0;i=w[e+209|0];m=v[e+1088>>2]+B(v[e+1056>>2],B(i,a))|0;n=0;d=b;while(1){h=w[e+208|0];d:{if(!i){break d}j=1;o=0;a=m;if(!h){h=0;break d}while(1){q=j&255;f=0;j=0;if(q){while(1){t[d|0]=w[a|0];d=d+1|0;a=a+1|0;h=w[e+208|0];f=f+1|0;if(h>>>0>(f&255)>>>0){continue}break}i=w[e+209|0];j=h}a=(v[e+1056>>2]-j|0)+a|0;o=o+1|0;if((o&255)>>>0>>0){continue}break}}t[d|0]=w[k|0];t[d+1|0]=w[l|0];n=n+1|0;if(n>>>0>2]){k=k+1|0;l=l+1|0;d=d+2|0;m=h+m|0;i=w[e+209|0];continue}break}a=v[e+1112>>2]}f=1;a=a+1|0;a=(a|0)==v[e+1068>>2]?0:a;v[e+1112>>2]=a;d=v[e+1116>>2];b=d+b|0;c=c-d|0;if(c){continue}break}break a}if((c>>>0)%y[e+1116>>2]|0){zc(v[a+628>>2],87744,64201,0);break a}if((c|0)<=0){break b}v[g+12>>2]=b;a=e+536|0;while(1){if(!LK(e,a,g+12|0)){break a}b=v[e+1116>>2];v[g+12>>2]=b+v[g+12>>2];c=c-b|0;if(c){continue}break}f=1;break a}X(64418,7087,778,87724);L()}X(64418,7087,826,87744);L()}Qb=g+16|0;return f|0}function KJa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;l=Qb-32|0;Qb=l;f=-1;if(!(!d|(!a|!b))){a:{b:{c:{if(!c){v[b>>2]=0;e=0;break c}g=c;k=a;i=v[d>>2];d:{if((i|0)<1){break d}n=v[b>>2]+a|0;m=c+i|0;i=c;while(1){g=t[i|0];f=g&255;j=0;o=n;e:{if((g|0)>-1){h=0;break e}g=g&255;if(g>>>0<=191){break b}if(g>>>0<=223){f=f&31;j=1;h=1;break e}f:{if(g>>>0<=239){h=2;f=f&15;break f}if(g>>>0>247){break b}h=3;f=f&7}j=1}e=i+1|0;if((m-e|0)<(h|0)){g=i;break d}g=e;g:{if(!(e>>>0>>0&j)){break g}while(1){g=e+1|0;e=w[e|0];if((e&192)!=128){break g}f=e&63|f<<6;h=h-1|0;if(!h){break g}e=g;if(m>>>0>e>>>0){continue}break}}h:{i:{j:{k:{l:{m:{if(f>>>0<=127){e=k+1|0;if(e>>>0>>0){break m}g=i;break d}e=0;while(1){h=v[B(e,12)+880640>>2];if(h>>>0>=f>>>0){j=e;break l}j=e|1;if((j|0)==253){break k}h=v[B(j,12)+880640>>2];if(h>>>0>=f>>>0){break l}j=e|2;h=v[B(j,12)+880640>>2];if(h>>>0>=f>>>0){break l}j=e|3;h=v[B(j,12)+880640>>2];if(h>>>0>=f>>>0){break l}e=e+4|0;continue}}t[k|0]=f;k=e;break h}if(f>>>0>=h>>>0){break j}}v[l>>2]=f;e=l+16|0;Ai(e,16,225139,l);break i}e=v[B(j,12)+880644>>2]}f=Bc(e);if((f+k|0)+2>>>0>>0){t[k|0]=38;i=gc(k+1|0,e,f)+f|0;t[i|0]=59;k=i+1|0;break h}g=i;break d}i=g;if(m>>>0>i>>>0){continue}break}}v[b>>2]=k-a;e=g-c|0}f=0;break a}v[b>>2]=k-a;e=i-c|0;f=-2}v[d>>2]=e}Qb=l+32|0;return f|0}function YMa(a,b){a=a|0;b=b|0;var 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;d=v[a+4>>2];p=v[d+24>>2];o=v[a+12>>2];f=v[a+24>>2];h=v[a+8>>2];k=v[d+44>>2];e=v[a+16>>2];n=v[a+20>>2];a:{if(!(!k|e>>>0>=n>>>0)){v[d+44>>2]=0;i=t[d+36|0];t[d+36|0]=0;j=v[d+48>>2];c=0;break a}g=h;c=1}b:{c:{while(1){d:{if(!c){g=h;e:{if((i|0)>=(j|0)){break e}while(1){if(h>>>0>=o>>>0){break d}c=w[h|0];t[(d+i|0)+37|0]=c;g=h;if((c&192)!=128){break e}h=h+1|0;k=c+(k<<6)|0;i=i+1|0;if((i|0)!=(j|0)){continue}break}i=j;g=h}if((i|0)!=(j|0)){break c}m=j<<2;c=k-v[m+850224>>2]|0;if(c>>>0>1114111|c>>>0>2]){break c}f:{if((p|0)==849664){if((j|0)<4){break f}break c}if((c&-2048)==55296){break c}}g:{if(c>>>0<=65535){u[e>>1]=c;v[f>>2]=l;f=f+4|0;c=e+2|0;break g}u[e>>1]=(c+67043328>>>10|0)-10240;v[f>>2]=l;m=c&1023|-9216;c=e+2|0;if(c>>>0>>0){u[e+2>>1]=m;v[f+4>>2]=l;f=f+8|0;c=e+4|0;break g}f=f+4|0;t[d+65|0]=1;u[d+116>>1]=m;v[b>>2]=15}e=c;l=j+l|0;c=1;continue}while(1){if(g>>>0>=o>>>0|e>>>0>=n>>>0){break b}h=g+1|0;k=w[g|0];c=k<<24>>24;if((c|0)>=0){u[e>>1]=c&255;v[f>>2]=l;f=f+4|0;l=l+1|0;e=e+2|0;g=h;continue}break}t[d+37|0]=c;j=t[k+849968|0];i=1;c=0;continue}break}v[d+48>>2]=j;v[d+44>>2]=k;t[d+36|0]=i;g=h;break b}t[d+36|0]=i;v[b>>2]=12}if(!(e>>>0>>0|g>>>0>=o>>>0|v[b>>2]>0)){v[b>>2]=15}v[a+24>>2]=f;v[a+8>>2]=g;v[a+16>>2]=e}function $$(){var a=0,b=0,c=0,d=0;b=bd(256,4);if(!b){return 0}v[b+252>>2]=27;a=b;v[a+244>>2]=21;v[a+248>>2]=20;v[a+236>>2]=22;v[a+240>>2]=14;v[a+228>>2]=16;v[a+232>>2]=15;v[a+220>>2]=23;v[a+224>>2]=9;v[a+212>>2]=17;v[a+216>>2]=16;v[a+204>>2]=18;v[a+208>>2]=10;v[a+196>>2]=12;v[a+200>>2]=11;v[a+188>>2]=24;v[a+192>>2]=5;v[a+180>>2]=18;v[a+184>>2]=17;v[a+172>>2]=19;v[a+176>>2]=11;v[a+164>>2]=13;v[a+168>>2]=12;v[a+156>>2]=20;v[a+160>>2]=6;v[a+148>>2]=14;v[a+152>>2]=13;v[a+140>>2]=15;v[a+144>>2]=7;v[a+132>>2]=9;v[a+136>>2]=8;v[a+124>>2]=25;v[a+128>>2]=2;v[a+116>>2]=19;v[a+120>>2]=18;v[a+108>>2]=20;v[a+112>>2]=12;v[a+100>>2]=14;v[a+104>>2]=13;v[a+92>>2]=21;v[a+96>>2]=7;v[a+84>>2]=15;v[a+88>>2]=14;v[a+76>>2]=16;v[a+80>>2]=8;v[a+68>>2]=10;v[a+72>>2]=9;v[a+60>>2]=22;v[a+64>>2]=3;v[a+52>>2]=16;v[a+56>>2]=15;v[a+44>>2]=17;v[a+48>>2]=9;v[a+36>>2]=11;v[a+40>>2]=10;v[a+28>>2]=18;v[a+32>>2]=4;v[a+20>>2]=12;v[a+24>>2]=11;v[a+12>>2]=13;v[a+16>>2]=5;v[a+4>>2]=7;v[a+8>>2]=6;c=64;while(1){a=c<<2;d=a+b|0;v[d>>2]=v[d-256>>2]+1;v[(a|4)+b>>2]=v[d-252>>2]+1;v[(a|8)+b>>2]=v[d-248>>2]+1;v[(a|12)+b>>2]=v[d-244>>2]+1;d=128;c=c+4|0;if((c|0)!=128){continue}break}while(1){a=d<<2;c=a+b|0;v[c>>2]=v[c-512>>2];v[(a|4)+b>>2]=v[c-508>>2];v[(a|8)+b>>2]=v[c-504>>2];v[(a|12)+b>>2]=v[c-500>>2];d=d+4|0;if((d|0)!=256){continue}break}return b}function Fq(a){var 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;a:{c=v[a+4>>2];if(!c){break a}b:{if((B(v[c+4>>2],v[c>>2])|0)<1){break b}a=v[c+8>>2];if(!a){break a}while(1){c:{if(!a){break c}d:{n=B(m,840)+a|0;f=n;if(v[f+16>>2]<1){break d}a=v[f+20>>2];if(!a){break c}h=0;while(1){e:{if(!a){break e}g=(h<<5)+a|0;i=g;f:{g:{b=v[g+16>>2];if((b|0)<1){break g}a=v[i+20>>2];if(!a){break f}j=0;while(1){h:{if(!a){break h}e=B(j,124)+a|0;if(v[e+24>>2]<1){break h}k=0;while(1){l=(k<<5)+e|0;i:{j:{if((B(v[e+16>>2],v[e+20>>2])|0)<1){break j}a=0;b=v[l+48>>2];if(!b){break i}while(1){k:{if(!b){break k}b=B(a,36)+b|0;d=v[b+24>>2];if(d){dc(d);v[b+24>>2]=0}d=v[b+32>>2];if(d){o=v[d+12>>2];if(o){dc(o)}dc(d)}b=v[b+28>>2];if(!b){break k}d=v[b+12>>2];if(d){dc(d)}dc(b)}a=a+1|0;if((a|0)>=(B(v[e+16>>2],v[e+20>>2])|0)){break j}b=v[l+48>>2];continue}}a=v[l+48>>2];if(!a){break i}dc(a);v[l+48>>2]=0}k=k+1|0;if((k|0)>2]){continue}break}b=v[g+16>>2]}j=j+1|0;if((j|0)>=(b|0)){break g}a=v[i+20>>2];continue}}a=v[i+20>>2];if(!a){break f}dc(a);v[i+20>>2]=0}a=v[g+24>>2];if(!a){break e}dc(a);v[g+24>>2]=0}h=h+1|0;if((h|0)>=v[n+16>>2]){break d}a=v[f+20>>2];continue}}a=v[f+20>>2];if(!a){break c}dc(a);v[f+20>>2]=0}m=m+1|0;if((m|0)>=(B(v[c+4>>2],v[c>>2])|0)){break b}a=v[c+8>>2];continue}}a=v[c+8>>2];if(!a){break a}dc(a);v[c+8>>2]=0}}function iW(a,b){a=a|0;b=b|0;var 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;l=v[a+12>>2];k=v[a+24>>2];e=v[a+8>>2];a:{b:{j=v[a+4>>2];c=v[j+44>>2];g=v[a+16>>2];m=v[a+20>>2];if(!(!c|g>>>0>=m>>>0)){v[j+44>>2]=0;d=t[j+36|0];t[j+36|0]=0;f=c-1|0;break b}c=0;break a}c=1}c:{while(1){if(!c){if(e>>>0>=l>>>0){break c}f=0;d=0;if(g>>>0>=m>>>0){break c}c=1;continue}d:{e:{if(d>>>0>3){break e}if(e>>>0>=l>>>0){break d}c=w[e|0];t[(d+j|0)+37|0]=c;f=c|f<<8;h=e+1|0;c=h;f:{i=d+1|0;g:{if((i|0)==4){break g}if(h>>>0>=l>>>0){d=i;e=h;break d}c=w[e+1|0];t[(i+j|0)+37|0]=c;f=c|f<<8;h=e+2|0;c=h;i=d+2|0;if((i|0)==4){break g}if(h>>>0>=l>>>0){d=i;e=h;break d}h=w[e+2|0];t[(i+j|0)+37|0]=h;c=e+3|0;f=h|f<<8;d=d+3|0;if((d|0)!=4){break f}}e=c;d=4;break e}if(c>>>0>=l>>>0){e=c;break d}c=w[e+3|0];t[(d+j|0)+37|0]=c;d=4;e=e+4|0;f=c|f<<8}h:{if(!((f&-2048)==55296|f>>>0>1114111)){i:{j:{if(f>>>0<=65535){u[g>>1]=f;i=1;c=k;g=g+2|0;break j}u[g>>1]=(f>>>10|0)-10304;v[k>>2]=n;c=k+4|0;o=f&1023|-9216;i=2;h=g+2|0;if(h>>>0>=m>>>0){break i}u[g+2>>1]=o;g=g+4|0}v[c>>2]=n;n=d+n|0;k=(i<<2)+k|0;break h}d=v[a+4>>2];t[d+65|0]=1;u[d+116>>1]=o;v[b>>2]=15;k=c;g=h;break c}t[v[a+4>>2]+36|0]=d;v[b>>2]=12;break c}c=0;continue}break}c=v[a+4>>2];t[c+36|0]=d;v[c+44>>2]=f+1}if(!(g>>>0>>0|e>>>0>=l>>>0|v[b>>2]>0)){v[b>>2]=15}v[a+24>>2]=k;v[a+8>>2]=e;v[a+16>>2]=g}function Qx(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=v[b>>2];if((i|0)>2]){k=1;d=i+1|0;v[b>>2]=d;f=v[a+4>>2];e=f+i|0;g=t[e|0];h=g&255;a:{if((g|0)>-1){break a}if((g&255)>>>0<=223){if((d|0)>=v[a>>2]){break a}a=w[d+f|0];if((a&192)!=128){break a}v[b>>2]=i+2;h=a&63|h<<6&1984;break a}j=g&255;if(j>>>0<=239){if((d|0)>=(v[a>>2]-1|0)){break a}a=w[d+f|0];if((a&192)!=128){break a}d=w[e+2|0];if((d&192)!=128){break a}v[b>>2]=i+3;h=d&63|(a<<6&4032|h<<12&61440);break a}if(j>>>0<=247){if((d|0)>=(v[a>>2]-2|0)){break a}a=w[d+f|0];if((a&192)!=128){break a}d=w[e+2|0];if((d&192)!=128){break a}e=w[e+3|0];if((e&192)!=128){break a}v[b>>2]=i+4;h=e&63|(d<<6&4032|(a<<12&258048|h<<18&1835008));break a}g=g&255;if(g>>>0<=251){if((d|0)>=(v[a>>2]-3|0)){break a}a=w[d+f|0];if((a&192)!=128){break a}d=w[e+2|0];if((d&192)!=128){break a}f=w[e+3|0];if((f&192)!=128){break a}e=w[e+4|0];if((e&192)!=128){break a}v[b>>2]=i+5;h=e&63|(f<<6&4032|(d<<12&258048|(a<<18&16515072|h<<24&50331648)));break a}if(g>>>0>253|(d|0)>=(v[a>>2]-4|0)){break a}a=w[d+f|0];if((a&192)!=128){break a}d=w[e+2|0];if((d&192)!=128){break a}f=w[e+3|0];if((f&192)!=128){break a}g=w[e+4|0];if((g&192)!=128){break a}e=w[e+5|0];if((e&192)!=128){break a}v[b>>2]=i+6;h=e&63|(g<<6&4032|(f<<12&258048|(d<<18&16515072|(a<<24&1056964608|h<<30&1073741824))))}v[c>>2]=h}return k}function iQ(a,b){var c=0,d=0,e=0,f=0,g=0;a:{c=w[a+9|0];if(c>>>0<8){break a}d=w[a+8|0];if(d&2){break a}e=v[a>>2];b:{c:{switch(d|0){case 0:if((c|0)==8){if(!e){break b}b=(b+e|0)-1|0;c=b+(e<<1)|0;if((e|0)!=1){d=e&-2;while(1){t[c|0]=w[b|0];t[c-1|0]=w[b|0];t[c-2|0]=w[b|0];f=b-1|0;t[c-3|0]=w[f|0];t[c-4|0]=w[f|0];t[c-5|0]=w[f|0];c=c-6|0;b=b-2|0;d=d-2|0;if(d){continue}break}}if(!(e&1)){break b}t[c|0]=w[b|0];t[c-1|0]=w[b|0];t[c-2|0]=w[b|0];break b}if(!e){break b}b=((e<<1)+b|0)-1|0;c=b+(e<<2)|0;d=0;while(1){t[c|0]=w[b|0];f=b-1|0;t[c-1|0]=w[f|0];t[c-2|0]=w[b|0];t[c-3|0]=w[f|0];t[c-4|0]=w[b|0];t[c-5|0]=w[f|0];c=c-6|0;b=b-2|0;d=d+1|0;if((d|0)!=(e|0)){continue}break};break b;case 4:break c;default:break b}}if((c|0)==8){if(!e){break b}c=e<<1;b=(c+b|0)-1|0;c=b+c|0;d=0;while(1){t[c|0]=w[b|0];f=b-1|0;t[c-1|0]=w[f|0];t[c-2|0]=w[f|0];t[c-3|0]=w[f|0];c=c-4|0;b=b-2|0;d=d+1|0;if((d|0)!=(e|0)){continue}break}break b}if(!e){break b}c=e<<2;b=(c+b|0)-1|0;c=b+c|0;d=0;while(1){t[c|0]=w[b|0];t[c-1|0]=w[b-1|0];f=b-2|0;t[c-2|0]=w[f|0];g=b-3|0;t[c-3|0]=w[g|0];t[c-4|0]=w[f|0];t[c-5|0]=w[g|0];t[c-6|0]=w[f|0];t[c-7|0]=w[g|0];c=c-8|0;b=b-4|0;d=d+1|0;if((d|0)!=(e|0)){continue}break}}b=w[a+10|0]+2|0;t[a+10|0]=b;t[a+8|0]=w[a+8|0]|2;b=B(b,w[a+9|0]);t[a+11|0]=b;b=b&255;d:{if(b>>>0>=8){b=B(b>>>3|0,e);break d}b=B(b,e)+7>>>3|0}v[a+4>>2]=b}}function JH(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=Qb-16|0;Qb=c;v[c+12>>2]=v[a>>2];d=v[a+8>>2];Rg(c+12|0,d);b=v[c+12>>2];a:{if(d>>>0<=b>>>0){break a}b:{c:{d:{e:{f:{g:{h:{i:{e=w[b|0];switch(e-40|0){case 1:case 2:case 3:case 4:case 5:case 6:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 21:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 48:case 49:case 50:case 52:break c;case 7:break d;case 22:break e;case 20:break f;case 0:break g;case 51:case 53:break i;default:break h}}v[c+12>>2]=b+1;break b}if((e|0)!=123){break c}e=e_(c+12|0,d);break a}e=IH(c+12|0,d);break a}if(!(w[b+1|0]!=60|b+1>>>0>=d>>>0)){v[c+12>>2]=b+2;break b}e=d_(c+12|0,d);break a}f=b+1|0;v[c+12>>2]=f;e=3;if(w[f|0]!=62|d>>>0<=f>>>0){break a}v[c+12>>2]=b+2;break b}b=b+1|0}j:{if(b>>>0>=d>>>0){break j}while(1){k:{switch(w[b|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break j;default:break k}}b=b+1|0;if((d|0)!=(b|0)){continue}break}b=d}v[c+12>>2]=b}e=0}b=a;f=v[c+12>>2];if(f>>>0>>0){e=(f|0)==v[a>>2]?3:e}v[b+12>>2]=e;v[a>>2]=d>>>0>>0?d:f;Qb=c+16|0}function a0(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;i=Qb-16|0;Qb=i;a:{if(!c){break a}v[c>>2]=0;if(!a|((a?v[a+8>>2]:-1)|0)!=1){break a}e=d;b:{if(e){break b}e=0;g=bd(256,4);if(!g){break b}while(1){v[g+(e<<2)>>2]=(((((((e&1)+(e>>>7|0)|0)+(e>>>1&1)|0)+(e>>>2&1)|0)+(e>>>3&1)|0)+(e>>>4&1)|0)+(e>>>5&1)|0)+(e>>>6&1);e=e+1|0;if((e|0)!=256){continue}break}e=g}j=i+12|0;g=i+8|0;if(a){if(j){v[j>>2]=v[a>>2]}if(g){v[g>>2]=v[a+4>>2]}}j=a?v[a+12>>2]:-1;g=a?v[a+40>>2]:0;l=v[i+8>>2];c:{if((l|0)<1){break c}a=v[i+12>>2];m=a&31;o=-1<<32-m;d:{if((a|0)>=32){a=a>>5;p=(a|0)>1?a:1;a=0;while(1){f=(B(j,n)<<2)+g|0;h=0;while(1){k=v[(h<<2)+f>>2];if(k){a=v[(k>>>22&1020)+e>>2]+(v[(k>>>14&1020)+e>>2]+(v[(k>>>6&1020)+e>>2]+(v[((k&255)<<2)+e>>2]+a|0)|0)|0)|0}h=h+1|0;if((p|0)!=(h|0)){continue}break}e:{if(!m){break e}f=v[(p<<2)+f>>2]&o;if(!f){break e}a=v[(f>>>22&1020)+e>>2]+(v[(f>>>14&1020)+e>>2]+(v[(f>>>6&1020)+e>>2]+(v[((f&255)<<2)+e>>2]+a|0)|0)|0)|0}if((a|0)>(b|0)){break d}n=n+1|0;if((n|0)!=(l|0)){continue}break}break c}if(m){a=0;while(1){f=v[(B(h,j)<<2)+g>>2]&o;if(f){a=v[(f>>>22&1020)+e>>2]+(v[(f>>>14&1020)+e>>2]+(v[(f>>>6&1020)+e>>2]+(v[((f&255)<<2)+e>>2]+a|0)|0)|0)|0}if((a|0)>(b|0)){break d}h=h+1|0;if((l|0)!=(h|0)){continue}break}break c}if((b|0)<0){break d}break c}v[c>>2]=1}if(d){break a}dc(e)}Qb=i+16|0}function P3a(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;h=Qb-16|0;Qb=h;j=v[a+84>>2];a:{b:{c:{f=v[a+8>>2];if(!(f&8)){i=d&16;break c}f=!(v[a+4>>2]&2147418112|f&32768);i=d&16;if(i){if(!f){f=7;if(!(w[a+740|0]&16)){break a}}if(!w[a+292|0]){break c}if(!c){break b}f=0;if((c|0)!=1){i=c&-2;while(1){d=h+14|0;j=h+12|0;Ub[v[v[a+540>>2]+140>>2]](a,1,b+g|0,d,j);v[(g<<2)+e>>2]=x[h+12>>1];k=g|1;Ub[v[v[a+540>>2]+140>>2]](a,1,k+b|0,d,j);v[(k<<2)+e>>2]=x[h+12>>1];g=g+2|0;i=i-2|0;if(i){continue}break}}if(!(c&1)){break a}Ub[v[v[a+540>>2]+140>>2]](a,1,b+g|0,h+14|0,h+12|0);v[(g<<2)+e>>2]=x[h+12>>1];break a}if(!f){f=7;if(!(w[a+740|0]&2)){break a}}if(!x[a+250>>1]){break c}if(!c){break b}f=0;if((c|0)!=1){i=c&-2;while(1){d=h+14|0;j=h+10|0;Ub[v[v[a+540>>2]+140>>2]](a,0,b+g|0,d,j);v[(g<<2)+e>>2]=x[h+10>>1];k=g|1;Ub[v[v[a+540>>2]+140>>2]](a,0,k+b|0,d,j);v[(k<<2)+e>>2]=x[h+10>>1];g=g+2|0;i=i-2|0;if(i){continue}break}}if(!(c&1)){break a}Ub[v[v[a+540>>2]+140>>2]](a,0,b+g|0,h+14|0,h+10|0);v[(g<<2)+e>>2]=x[h+10>>1];break a}f=c?37:0;if(!c|!j){break a}l=j+(i?60:56)|0;while(1){i=b+g|0;f=v[a+88>>2];k=(f?256:259)|d;d:{if(f?k&1:1){f=lA(j,0,i,k);break d}if(v[f>>2]!=v[j+4>>2]){f=35;break a}f=lA(j,f,i,k)}if(f){break a}v[(g<<2)+e>>2]=v[l>>2];g=g+1|0;if((g|0)!=(c|0)){continue}break}}f=0}Qb=h+16|0;return f|0}function bP(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;f=Qb-32|0;Qb=f;i=b+8|0;a:{if(v[b+8>>2]){Ch(f+16|0,b,i);break a}v[f+16>>2]=0;Wc(f+16|0,0)}b:{g=v[f+16>>2];c:{if(!g){break c}k=v[g+8>>2];v[299999]=0;v[f+16>>2]=0;h=v[g+4>>2]-1|0;v[g+4>>2]=h;j=v[299999];v[299999]=0;if((j|0)==1){break b}if(h){break c}v[299999]=0;R(4338,g|0);g=v[299999];v[299999]=0;if((g|0)==1){break b}}d:{if(v[i>>2]){Ch(f+24|0,b,i);break d}v[f+24>>2]=0;Wc(f+24|0,0)}g=v[f+24>>2];e:{if(!g){h=0;break e}h=v[g+12>>2];v[299999]=0;v[f+24>>2]=0;j=v[g+4>>2]-1|0;v[g+4>>2]=j;l=v[299999];v[299999]=0;if((l|0)==1){break b}if(j){break e}v[299999]=0;R(4338,g|0);g=v[299999];v[299999]=0;if((g|0)==1){break b}}f:{if(v[i>>2]){fP(f+8|0,b,i);break f}v[f+8>>2]=0;Wc(f+8|0,0)}g:{h:{i:{if(!k|!h){break i}b=v[f+8>>2];if(!b|v[b+72>>2]!=(k|0)|v[b+76>>2]!=(h|0)){break i}v[299999]=0;da(4895,a|0,b|0,c|0,d|0,e|0,0);a=v[299999];v[299999]=0;if((a|0)!=1){break h}break g}v[a>>2]=0;v[299999]=0;Q(4336,a|0,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break g}}a=v[f+8>>2];v[f+8>>2]=0;j:{if(!a){break j}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break b}if(b){break j}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break b}}Qb=f+32|0;return}a=P()|0;O()|0;ec(f+8|0);T(a|0);L()}W(0)|0;O()|0;lc();L()}function Bd(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;f=Qb-16|0;Qb=f;a:{if(!(v[a+172>>2]==3|v[a+40>>2]!=1)){while(1){c=v[a+36>>2];b=v[c+16>>2];while(1){b:{c:{d=w[b|0];if((d|0)==32){break c}d:{if((d-9&255)>>>0>=2){if((d|0)!=13){break d}break c}if((d|0)!=10){break c}v[c+32>>2]=1;v[c+28>>2]=v[c+28>>2]+1;break b}v[c+16>>2]=b;break a}v[c+32>>2]=v[c+32>>2]+1}g=g+1|0;d=w[b+1|0];e=b+1|0;b=e;if(d){continue}break}v[c+16>>2]=e;cd(c);continue}}while(1){e:{f:{g:{h:{i:{b=w[v[v[a+36>>2]+16>>2]];switch(b|0){case 9:case 10:case 13:case 32:break h;case 0:break i;default:break f}}b=v[a+40>>2];if((b|0)>1){break g}break a}if(v[a+172>>2]==-1){break e}xd(a);g=g+1|0;continue}while(1){if(v[a+172>>2]==5){break a}while(1){j:{k:{l:{if(!v[294256]){c=b-1|0;v[a+40>>2]=c;e=v[a+48>>2];break l}v[f>>2]=b;e=0;Ub[v[259806]](v[294239],354269,f);b=v[a+40>>2];if((b|0)<1){break j}c=b-1|0;v[a+40>>2]=c;e=v[a+48>>2];h=0;d=0;if((b|0)==1){break k}}h=v[((b<<2)+e|0)-8>>2];d=c}v[a+36>>2]=h;c=(d<<2)+e|0;e=v[c>>2];v[c>>2]=0}Sh(e);c=v[a+36>>2];m:{if(w[v[c+16>>2]]){break m}if((cd(c)|0)>0){break m}b=v[a+40>>2];if((b|0)>1){continue}}break}b=w[v[v[a+36>>2]+16>>2]];if(b){break f}b=v[a+40>>2];if((b|0)>=2){continue}break}break a}if((b|0)!=37){break e}wd(a)}c=b-9|0;if(c>>>0>23|!(1<>2]!=-1){continue}break}}Qb=f+16|0;return g}function Vqa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;g=Qb-16|0;Qb=g;a:{b:{c:{b=v[a+16>>2];if(!b){v[g+8>>2]=0;break c}v[b+4>>2]=v[b+4>>2]+1;c=v[a+16>>2];v[g+8>>2]=c;if(!c){break c}d:{e:{if(w[c+8|0]){break e}d=v[c+84>>2];h=v[a+80>>2];b=v[a+84>>2];f=(b|0)<0?(d|0)>0?d-h|0:b:b;e=v[c+16>>2];f:{if(!e){b=c;break f}d=c;while(1){b=e;e=v[b+84>>2];h=v[d+80>>2]+h|0;f=(f|0)<0?(e|0)>0?e-h|0:f:f;d=b;e=v[b+16>>2];if(e){continue}break}}v[299999]=0;d=S(4469,b+20|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(d){if(v[b+84>>2]<(v[b+80>>2]+(f+h|0)|0)){break d}break e}if((f|0)<=-1){if(w[b+8|0]){break e}break d}b=v[b+72>>2];v[299999]=0;b=Y(4481,b|0,h|0,f|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break a}if((b|0)!=(f|0)){break d}}t[a+8|0]=1}v[299999]=0;a=v[c+4>>2]-1|0;v[c+4>>2]=a;b=v[299999];v[299999]=0;if((b|0)!=1){if(a){break b}v[299999]=0;R(4338,c|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}}W(0)|0;O()|0;lc();L()}v[299999]=0;b=S(4469,a+20|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}g:{if(v[a+84>>2]>-1|b){break g}v[299999]=0;R(4489,a|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}if(!w[a+8|0]|v[a+84>>2]>-1){break g}b=v[a+64>>2];c=v[v[b>>2]+28>>2];v[299999]=0;b=S(c|0,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}v[a+84>>2]=b}v[g+8>>2]=0}Qb=g+16|0;return}a=P()|0;O()|0;ec(g+8|0);T(a|0);L()}function gJa(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;a:{if(!a){break a}g=v[a+52>>2];i=v[a+8>>2];h=Qb-16|0;Qb=h;b:{if(!b){break b}f=b;d=Ub[v[259704]](60)|0;if(!d){v[h>>2]=320673;oc(0,0,0,0,0,2,2,3,320673,0,0,0,350051,h);d=0;break b}v[d>>2]=0;v[d+4>>2]=0;v[d+56>>2]=0;v[d+48>>2]=0;v[d+52>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+32>>2]=0;v[d+36>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d+4>>2]=7;c:{d:{if(!i){break d}e=v[i+80>>2];if(!e){break d}b=Rd(e,f,-1);break c}while(1){e=b;b=b+1|0;if(w[e|0]){continue}break}b=0;e=e-f|0;if((e|0)<0){break c}j=Ub[v[259707]](e+1|0)|0;if(!j){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break c}b=gc(j,f,e);t[e+b|0]=0}v[d+8>>2]=b;if(c){b=c;while(1){f=b;b=b+1|0;if(w[f|0]){continue}break}b=0;f=f-c|0;e:{if((f|0)<0){break e}e=Ub[v[259707]](f+1|0)|0;if(!e){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break e}b=gc(e,c,f);t[f+b|0]=0}v[d+40>>2]=b}v[d+32>>2]=i;if(!v[294265]){break b}b=v[294262];if(!b){break b}Ub[b|0](d)}Qb=h+16|0;if(!d){break a}f:{if(!v[a+280>>2]){break f}b=v[a+36>>2];if(!b){break f}b=v[b+28>>2];u[d+56>>1]=(b|0)<65535?b:65535}g:{switch(v[a+216>>2]-1|0){case 0:$f(v[v[a+8>>2]+44>>2],d);return;case 1:$f(v[v[a+8>>2]+48>>2],d);return;default:break g}}if(!g){$f(v[a+8>>2],d);return}if(v[g+4>>2]==1){$f(g,d);return}$y(g,d)}}function Mia(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;var j=0,k=0,l=0;k=(g|0)/8|0;a:{if(!f){break a}f=f-1|0;j=v[a+60>>2];if(e>>>0>=8){l=(e-(e-8&-8)|0)-9|0;while(1){a=f;g=e;while(1){d=i;c=b;f=v[(w[i|0]<<2)+j>>2];v[b>>2]=v[f>>2];v[b+4>>2]=v[f+4>>2];v[b+8>>2]=v[f+8>>2];v[b+12>>2]=v[f+12>>2];v[b+16>>2]=v[f+16>>2];v[b+20>>2]=v[f+20>>2];v[b+24>>2]=v[f+24>>2];v[b+28>>2]=v[f+28>>2];b=b+32|0;i=i+1|0;g=g-8|0;if(g>>>0>7){continue}break}b:{if(g){g=2;i=v[(w[i|0]<<2)+j>>2];c:{switch(l|0){case 6:v[c+32>>2]=v[i>>2];b=c+36|0;i=i+4|0;case 5:v[b>>2]=v[i>>2];b=b+4|0;i=i+4|0;case 4:v[b>>2]=v[i>>2];b=b+4|0;i=i+4|0;case 3:v[b>>2]=v[i>>2];b=b+4|0;i=i+4|0;case 2:v[b>>2]=v[i>>2];b=b+4|0;i=i+4|0;case 1:v[b>>2]=v[i>>2];b=b+4|0;i=i+4|0;break;case 0:break c;default:break b}}v[b>>2]=v[i>>2];b=b+4|0;break b}g=1}f=a-1|0;i=(d+k|0)+g|0;b=(h<<2)+b|0;if(a){continue}break}break a}if(!e){break a}c=e-1|0;while(1){a=f;d=i+1|0;f=v[(w[i|0]<<2)+j>>2];d:{switch(c|0){case 6:v[b>>2]=v[f>>2];b=b+4|0;f=f+4|0;case 5:v[b>>2]=v[f>>2];b=b+4|0;f=f+4|0;case 4:v[b>>2]=v[f>>2];b=b+4|0;f=f+4|0;case 3:v[b>>2]=v[f>>2];b=b+4|0;f=f+4|0;case 2:v[b>>2]=v[f>>2];b=b+4|0;f=f+4|0;case 1:v[b>>2]=v[f>>2];b=b+4|0;f=f+4|0;case 0:v[b>>2]=v[f>>2];b=b+4|0;break;default:break d}}f=a-1|0;i=d+k|0;b=(h<<2)+b|0;if(a){continue}break}}}function Gja(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;var j=0,k=0,l=0;k=(g|0)/8|0;a:{if(!f){break a}f=f-1|0;j=v[a+64>>2];if(e>>>0>=8){l=(e-(e-8&-8)|0)-9|0;while(1){a=f;g=e;while(1){d=i;c=b;f=v[(w[i|0]<<2)+j>>2];v[b>>2]=v[f>>2];v[b+4>>2]=v[f+4>>2];v[b+8>>2]=v[f+8>>2];v[b+12>>2]=v[f+12>>2];v[b+16>>2]=v[f+16>>2];v[b+20>>2]=v[f+20>>2];v[b+24>>2]=v[f+24>>2];v[b+28>>2]=v[f+28>>2];b=b+32|0;i=i+1|0;g=g-8|0;if(g>>>0>7){continue}break}b:{if(g){g=2;i=v[(w[i|0]<<2)+j>>2];c:{switch(l|0){case 6:v[c+32>>2]=v[i>>2];b=c+36|0;i=i+4|0;case 5:v[b>>2]=v[i>>2];b=b+4|0;i=i+4|0;case 4:v[b>>2]=v[i>>2];b=b+4|0;i=i+4|0;case 3:v[b>>2]=v[i>>2];b=b+4|0;i=i+4|0;case 2:v[b>>2]=v[i>>2];b=b+4|0;i=i+4|0;case 1:v[b>>2]=v[i>>2];b=b+4|0;i=i+4|0;break;case 0:break c;default:break b}}v[b>>2]=v[i>>2];b=b+4|0;break b}g=1}f=a-1|0;i=(d+k|0)+g|0;b=(h<<2)+b|0;if(a){continue}break}break a}if(!e){break a}c=e-1|0;while(1){a=f;d=i+1|0;f=v[(w[i|0]<<2)+j>>2];d:{switch(c|0){case 6:v[b>>2]=v[f>>2];b=b+4|0;f=f+4|0;case 5:v[b>>2]=v[f>>2];b=b+4|0;f=f+4|0;case 4:v[b>>2]=v[f>>2];b=b+4|0;f=f+4|0;case 3:v[b>>2]=v[f>>2];b=b+4|0;f=f+4|0;case 2:v[b>>2]=v[f>>2];b=b+4|0;f=f+4|0;case 1:v[b>>2]=v[f>>2];b=b+4|0;f=f+4|0;case 0:v[b>>2]=v[f>>2];b=b+4|0;break;default:break d}}f=a-1|0;i=d+k|0;b=(h<<2)+b|0;if(a){continue}break}}}function yx(a,b,c,d,e){var f=0,g=0;g=Qb-256|0;Qb=g;v[e+16>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;v[e+4>>2]=c;v[e>>2]=0;a:{if((d|0)==-1){v[e>>2]=b;break a}if((d|0)>=3){Ej(g,1,1,d);Jp(a,g,50057)}NP(a,2);v[a+212>>2]=b;v[a+216>>2]=c;b=v[a+272>>2];v[a+224>>2]=v[a+268>>2];v[a+228>>2]=b;c=a+212|0;b:{c:{while(1){if(Nj(c,0)){b=v[a+236>>2];if(b){break c}hd(a,48900);L()}if(!v[a+228>>2]){b=v[e+8>>2];d=v[e+12>>2];d:{if((b|0)<(d|0)){break d}f=b+4|0;v[e+12>>2]=f;b=v[e+16>>2];f=ug(a,f<<2);v[e+16>>2]=f;if(!b){break d}gc(f,b,d<<2);Zc(a,b)}b=ug(a,v[a+272>>2]);d=v[e+8>>2]<<2;v[d+v[e+16>>2]>>2]=b;gc(v[d+v[e+16>>2]>>2],v[a+268>>2],v[a+272>>2]);v[e+8>>2]=v[e+8>>2]+1;b=v[a+272>>2];v[a+224>>2]=v[a+268>>2];v[a+228>>2]=b}if(v[a+216>>2]){continue}break}while(1){e:{b=Nj(c,4);if(b){if((b|0)!=1){break e}b=v[a+272>>2];a=b-v[a+228>>2]|0;c=(a>>>0>b>>>0?0:a)+B(b,v[e+8>>2])|0;break a}if(v[a+228>>2]){continue}b=v[e+8>>2];d=v[e+12>>2];f:{if((b|0)<(d|0)){break f}f=b+4|0;v[e+12>>2]=f;b=v[e+16>>2];f=ug(a,f<<2);v[e+16>>2]=f;if(!b){break f}gc(f,b,d<<2);Zc(a,b)}b=ug(a,v[a+272>>2]);d=v[e+8>>2]<<2;v[d+v[e+16>>2]>>2]=b;gc(v[d+v[e+16>>2]>>2],v[a+268>>2],v[a+272>>2]);v[e+8>>2]=v[e+8>>2]+1;b=v[a+272>>2];v[a+224>>2]=v[a+268>>2];v[a+228>>2]=b;continue}break}b=v[a+236>>2];if(b){break b}hd(a,48900);L()}hd(a,b);L()}hd(a,b);L()}Qb=g+256|0;return c}function WP(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=Qb-16|0;Qb=d;e=Fe(b);a:{c=v[v[a+12>>2]+((e>>>0)%y[a+8>>2]<<2)>>2];b:{if(c){while(1){if((e|0)==v[c+12>>2]){if(!Ri(c+16|0,b,-1)){break b}}c=v[c+8>>2];if(c){continue}break}}c=fc(40);v[c>>2]=0;v[c+4>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;e=c+16|0;v[e>>2]=0;v[e+4>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c+20>>2]=v[282402];c:{b=v[b>>2];d:{e:{if(b){f=v[v[b>>2]+28>>2];v[299999]=0;U(f|0,d+8|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break e}c=P()|0;O()|0;break d}v[d+8>>2]=0}v[299999]=0;Q(4344,e|0,d+8|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){b=v[d+8>>2];v[d+8>>2]=0;if(!b){break c}v[299999]=0;f=v[b+4>>2]-1|0;v[b+4>>2]=f;g=v[299999];v[299999]=0;if((g|0)!=1){if(f){break c}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break c}}break a}c=P()|0;O()|0;a=v[d+8>>2];v[d+8>>2]=0;if(!a){break d}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(b){break d}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}ec(e);T(c|0);L()}b=v[c+16>>2];b=v[(b?b+12|0:1129608)>>2];v[c+24>>2]=0;v[c+28>>2]=0;v[c+20>>2]=b;v[c+32>>2]=0;v[c+36>>2]=0;b=c+24|0;v[b>>2]=982500;v[b+4>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;h=c,i=Fe(e),v[h+12>>2]=i;gk(a,c)}Qb=d+16|0;return c|0}W(0)|0;O()|0;lc();L()}function YGa(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,p=0,q=0,r=0;f=ic(a,0,256);while(1){d=v[(j<<2)+b>>2]+c|0;k=w[d+5|0];l=w[d+1|0];h=k+l|0;i=w[d+3|0];g=w[d+4|0];m=w[d+2|0];e=g+m|0;o=w[d+6|0];p=w[d|0];d=o+p|0;n=e+d|0;v[f>>2]=((h+i|0)+n<<2)-3584;n=B(n-(i<<2)|0,2896);q=B(d-h|0,7223)+1024|0;d=B(d-e|0,7542);v[f+24>>2]=n+(q-d|0)>>11;e=B(h-e|0,2578);v[f+16>>2]=(e+q|0)+B(h-(i<<1)|0,-5793)>>11;v[f+8>>2]=(n+(d+e|0)|0)+1024>>11;d=m-g|0;h=p-o|0;i=B(d+h|0,5027)+1024|0;g=i+B(d,15326)|0;e=d;d=l-k|0;e=B(e+d|0,-11295);v[f+20>>2]=g+e>>11;g=e;e=B(h-d|0,1395);d=B(d+h|0,7663);v[f+12>>2]=((g+e|0)+d|0)+1024>>11;v[f+4>>2]=d+(i-e|0)>>11;f=f+32|0;j=j+1|0;if((j|0)!=7){continue}break}while(1){i=v[a+128>>2];e=v[a+64>>2];f=i+e|0;k=v[a+192>>2];l=v[a>>2];d=k+l|0;g=f+d|0;c=v[a+96>>2];h=v[a+160>>2];j=v[a+32>>2];b=h+j|0;v[a>>2]=B(g+(c+b|0)|0,10700)+16384>>15;g=B(g-(c<<2)|0,3783);m=B(d-b|0,9434)+16384|0;d=B(d-f|0,9850);v[a+192>>2]=g+(m-d|0)>>15;f=B(b-f|0,3367);v[a+128>>2]=(f+m|0)+B(b-(c<<1)|0,-7566)>>15;v[a+64>>2]=(g+(d+f|0)|0)+16384>>15;b=e-i|0;c=l-k|0;f=B(b+c|0,6565)+16384|0;e=f+B(b,20017)|0;d=b;b=j-h|0;d=B(d+b|0,-14752);v[a+160>>2]=e+d>>15;e=d;d=B(c-b|0,1822);b=B(b+c|0,10009);v[a+96>>2]=((e+d|0)+b|0)+16384>>15;v[a+32>>2]=b+(f-d|0)>>15;a=a+4|0;r=r+1|0;if((r|0)!=7){continue}break}}function Iy(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;h=Qb-128|0;Qb=h;a:{if(!c){break a}e=v[c+8>>2];if(!e){break a}b:{d=v[c+36>>2];c:{d:{if(!d){break d}f=v[d+12>>2];if(!f){break d}if(mc(e,289127)){break d}if(!mc(f,258814)){break c}}if(!a|!(v[a+44>>2]|v[a+48>>2])&v[a+4>>2]!=13){break a}if(v[a+4>>2]==13){g=1;if(ag(289127,e)){break a}if(!ag(280444,v[c+8>>2])){break b}if(!b){break a}if(ag(v[b+8>>2],307187)){break a}break b}if(!b){break a}e:{f:{e=v[b+36>>2];if(!e){break f}e=v[e+12>>2];if(!e){break f}g=Zr(v[b+8>>2],e,h- -64|0,50);d=v[c+36>>2];break e}g=v[b+8>>2]}g:{h:{if(!d){break h}d=v[d+12>>2];if(!d){break h}e=Zr(v[c+8>>2],d,h,50);break g}e=v[c+8>>2]}d=0;i:{if(!g|!e){break i}d=v[a+44>>2];v[h+124>>2]=0;j:{if(!d){break j}d=v[d+44>>2];if(!d){break j}f=mo(e,h+124|0);k:{if(f){d=Se(d,f,v[h+124>>2],g);i=v[h+124>>2];if(i){Ub[v[259708]](i)}Ub[v[259708]](f);break k}d=Se(d,e,0,g)}if(d){break i}}f=v[a+48>>2];if(!f){d=0;break i}d=0;a=Qb-16|0;Qb=a;v[a+12>>2]=0;l:{if(!f){break l}f=v[f+44>>2];if(!f){break l}i=mo(e,a+12|0);if(i){d=Se(f,i,v[a+12>>2],g);f=v[a+12>>2];if(f){Ub[v[259708]](f)}Ub[v[259708]](i);break l}d=Se(f,e,0,g)}Qb=a+16|0}if(!((e|0)==(h|0)|(e|0)==v[c+8>>2])){Ub[v[259708]](e)}if(!((h- -64|0)==(g|0)|v[b+8>>2]==(g|0))){Ub[v[259708]](g)}if(!d|v[d+40>>2]!=2){break b}}g=1;break a}g=0}Qb=h+128|0;return g}function Gra(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=Qb-48|0;Qb=d;c=v[a+32>>2];if(c){v[c+4>>2]=v[c+4>>2]+1;e=v[a+32>>2]}v[299999]=0;v[d+40>>2]=e;$(4408,d+16|0,d+40|0,1,1);c=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{if((c|0)!=1){v[299999]=0;Q(4344,a+48|0,d+16|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break i}c=v[d+16>>2];v[d+16>>2]=0;j:{if(!c){break j}v[299999]=0;e=v[c+4>>2]-1|0;v[c+4>>2]=e;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(e){break j}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}c=v[d+40>>2];v[d+40>>2]=0;k:{if(!c){break k}v[299999]=0;e=v[c+4>>2]-1|0;v[c+4>>2]=e;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(e){break k}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}b=(b|0)>10?b:10;if((b|0)<4097){break b}a=Ct(d,4096);v[299999]=0;U(4423,d+8|0,357923,a|0);b=v[299999];v[299999]=0;if((b|0)==1){break g}b=v[d+8>>2];b=v[(b?b+12|0:1129608)>>2];v[299999]=0;c=aa(4369,d+16|0,b|0,241690,931,336713,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break f}v[299999]=0;R(4370,c|0);b=v[299999];v[299999]=0;if((b|0)==1){break e}L()}a=P()|0;O()|0;break h}a=P()|0;O()|0;ec(d+16|0)}ec(d+40|0);T(a|0);L()}b=P()|0;O()|0;break c}b=P()|0;O()|0;break d}b=P()|0;O()|0;qc(c)}ec(d+8|0)}ec(a);T(b|0);L()}v[a+20>>2]=b<<10;Qb=d+48|0;return}W(0)|0;O()|0;lc();L()}function n9a(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;a:{if(w[a+286|0]|!w[a+285|0]|(w[a+287|0]|w[a+288|0])){break a}if(w[a+289|0]){break a}b:{if(!(w[a+301|0]|y[a+272>>2]<3)){t[a+503|0]=1;f=1029;if(!pc(a,1029,0,0)){break b}}if(w[a+305|0]){break a}if(w[a+304|0]){pc(a,1031,0,0);return 1031}c:{switch(c-1|0){default:pc(a,1028,0,0);return 1028;case 0:case 9:break c}}t[a+304|0]=1;if(c>>>0>=2){c=w[d+6|0]|w[d+7|0]<<8|(w[d+8|0]<<16|w[d+9|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);h=w[d+1|0];c=w[d+2|0]|w[d+3|0]<<8|(w[d+4|0]<<16|w[d+5|0]<<24);i=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)}d=w[d|0];d:{c=v[a+216>>2];if(!c){break d}if(Ub[c|0](a,d,h,i,g)|0){break d}pc(a,904,0,0);return 904}f=0;e:{if(!w[a+114|0]){break e}c=Ub[v[a+152>>2]](40)|0;if(!c){pc(a,1,0,0);f=1;break e}v[c+4>>2]=731;v[c>>2]=732;f=v[a+700>>2];f:{if(f){v[f+8>>2]=c;break f}v[a+696>>2]=c}v[c+8>>2]=0;v[c+12>>2]=f;v[a+700>>2]=c;v[c+16>>2]=v[a+436>>2];v[c+20>>2]=v[a+440>>2];v[c+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=c}v[c+36>>2]=g;v[c+32>>2]=i;t[c+29|0]=h;t[c+28|0]=d;f=0}if(f){break b}v[a+520>>2]=v[a+700>>2];f=0;if(!w[a+112|0]){break b}f=Ub[v[b+4>>2]](a,b,e)|0;if(f){break b}a=v[e>>2];v[a+40>>2]=g;v[a+36>>2]=i;t[a+33|0]=h;t[a+32|0]=d;f=0}return f|0}pc(a,1029,0,0);return 1029}function gVa(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=1;a:{if(!v[a+16>>2]){break a}a=v[a+20>>2];if(!a){break a}m=A[b>>3];l=A[c>>3];p=-A[f>>3];i=-A[g>>3];j=A[d>>3];h=A[e>>3];if(!(j<=0|h<=0)){b=v[a+4>>2];c=v[b>>2];b:{if(c){c=c-1|0;if(!(w[v[v[b+16>>2]+(c>>>6&67108860)>>2]+(c&255)|0]&64)){break b}}k=p*3.141592653589793/180;o=Ve(k);q=Ee(k);k=h*.5;n=o;o=j*.5;n=Ff(q/k,n/o);if(!(i<360)){break b}t[b+25|0]=1;q=Ee(n);ze(b,o+m+o*Ve(n),k+l-k*q,1)}c:{if(D(i)>=360){b=v[a+4>>2];t[b+25|0]=1;j=j*.5;i=j+m;m=i-j;k=h*.5;h=k+l;ze(b,m,h,1);b=v[a+4>>2];p=k*.552;o=p+h;ze(b,m,o,4);n=j*.552;q=i-n;l=h+k;ze(b,q,l,4);ze(b,i,l,4);b=v[a+4>>2];n=n+i;ze(b,n,l,4);j=i+j;ze(b,j,o,4);ze(b,j,h,4);b=v[a+4>>2];l=h-p;ze(b,j,l,4);j=h-k;ze(b,n,j,4);ze(b,i,j,4);a=v[a+4>>2];ze(a,q,j,4);ze(a,m,l,4);ze(a,m,h,4);break c}j=j*.5;m=j+m;k=h*.5;l=k+l;h=360-(p+i);b=i>0;i=360-p;if(i<0){while(1){i=i+360;if(i<0){continue}break}}if(i>360){while(1){i=i+-360;if(i>360){continue}break}}if(h<0){while(1){h=h+360;if(h<0){continue}break}}if(h>=360){while(1){h=h+-360;if(h>=360){continue}break}}d:{if(!b){if(h>=i){rs(a,m,l,j,k,i,h,0);break d}rs(a,m,l,j,k,i,360,0);rs(a,m,l,j,k,0,h,0);break d}if(h<=i){rs(a,m,l,j,k,i,h,1);break d}rs(a,m,l,j,k,i,0,1);rs(a,m,l,j,k,360,h,1)}}}r=0}return r|0}function Fu(a){a=a|0;var b=0,c=0,d=0,e=0;if(a){b=v[a+76>>2];if(b){pk(b)}c=v[a+20>>2];a:{if(!c){break a}if(v[a+88>>2]==v[c+296>>2]){v[a+88>>2]=0}d=v[c+8>>2];if(d){if(!v[a+80>>2]){if(d){b:{if(!v[294265]){break b}b=v[294263];if(!b){break b}Ub[b|0](d)}b=v[d+64>>2];if(b){il(b,3018)}v[d+64>>2]=0;b=v[d+68>>2];if(b){JU(b)}v[d+68>>2]=0;b=v[d+48>>2];c=v[d+44>>2];if(!(!b|(b|0)==(c|0))){Yi(b);v[d+48>>2]=0;bq(b)}if(c){Yi(v[d+44>>2]);v[d+44>>2]=0;bq(c)}b=v[d+12>>2];if(b){Ky(a,b)}b=v[d+56>>2];if(b){Ub[v[259708]](b)}b=v[d+8>>2];if(b){Ub[v[259708]](b)}b=v[d+60>>2];if(b){Ub[v[259708]](b)}c=v[d+52>>2];if(c){while(1){b=v[c>>2];e=v[c+8>>2];if(e){Ub[v[259708]](e)}e=v[c+12>>2];if(e){Ub[v[259708]](e)}Ub[v[259708]](c);c=b;if(b){continue}break}}b=v[d+72>>2];if(b){Ub[v[259708]](b)}b=v[d+80>>2];if(b){Zm(b)}Ub[v[259708]](d)}c=v[a+20>>2]}v[c+8>>2]=0}b=v[c+160>>2];if(!(!b|v[c+156>>2]<1)){Ub[v[259708]](b);c=v[a+20>>2];v[c+156>>2]=0;v[c+160>>2]=0}if(!(w[a+12|0]&2)){break a}Wi(c)}b=v[a+24>>2];if(b){Ub[v[259708]](b)}b=v[a+28>>2];if(!(!b|!(t[a+12|0]&1))){cm(b)}e=v[a+84>>2];if(e){b=v[e+12>>2];c:{d:{if((b|0)==3){c=v[e+16>>2];if(c){break d}c=v[e>>2];if(c){break d}break c}c=v[e>>2];if(!c|(b|0)==2){break c}}Ub[v[259708]](c)}Ub[v[259708]](e)}b=v[a+104>>2];if(b){Ub[v[259708]](b)}b=v[a+88>>2];if(b){Zm(b)}Ub[v[259708]](a)}}function uca(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Qb-16|0;Qb=e;a:{b:{if(!v[a+64>>2]){break b}if(!(w[a+92|0]&16)){v[a+16>>2]=0;v[a+12>>2]=0;v[a+8>>2]=0;c=v[a+52>>2];c:{if(c>>>0>=9){if(w[a+98|0]){f=c;c=v[a+32>>2];v[a+28>>2]=(f+c|0)-1;v[a+20>>2]=c;v[a+24>>2]=c;break c}c=v[a+56>>2];v[a+28>>2]=(c+v[a+60>>2]|0)-1;v[a+20>>2]=c;v[a+24>>2]=c;break c}v[a+28>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0}v[a+92>>2]=16}g=v[a+20>>2];i=v[a+28>>2];if((b|0)!=-1){if(!v[a+24>>2]){v[a+28>>2]=e+16;c=e+15|0;v[a+20>>2]=c;v[a+24>>2]=c}t[v[a+24>>2]]=b;v[a+24>>2]=v[a+24>>2]+1}if(v[a+24>>2]!=v[a+20>>2]){d:{if(w[a+98|0]){d=v[a+20>>2];c=v[a+24>>2]-d|0;if((Rc(d,1,c,v[a+64>>2])|0)!=(c|0)){break b}break d}v[e+8>>2]=v[a+32>>2];f=a+72|0;while(1){c=v[a+68>>2];if(c){d=v[a+32>>2];c=Ub[v[v[c>>2]+12>>2]](c,f,v[a+20>>2],v[a+24>>2],e+4|0,d,d+v[a+52>>2]|0,e+8|0)|0;if(v[a+20>>2]==v[e+4>>2]){break b}if((c|0)==3){d=v[a+20>>2];c=v[a+24>>2]-d|0;if((Rc(d,1,c,v[a+64>>2])|0)!=(c|0)){break b}break d}if(c>>>0>1){break b}h=v[a+32>>2];d=v[e+8>>2]-h|0;if((Rc(h,1,d,v[a+64>>2])|0)!=(d|0)){break b}if((c|0)!=1){break d}c=v[e+4>>2];v[a+28>>2]=v[a+24>>2];v[a+20>>2]=c;v[a+24>>2]=c;v[a+24>>2]=v[a+24>>2]+(v[a+28>>2]-v[a+20>>2]|0);continue}break}ht();L()}v[a+28>>2]=i;v[a+20>>2]=g;v[a+24>>2]=g}a=(b|0)==-1?0:b;break a}a=-1}Qb=e+16|0;return a|0}function il(a,b){var c=0,d=0,e=0,f=0,g=0;if(a){d=v[a>>2];if(d){a:{e=v[a+4>>2];if((e|0)<1){break a}f=v[a+8>>2];if((f|0)<1){break a}if(!b){while(1){b=B(g,24)+d|0;if(!(!v[b+20>>2]|!d)){e=v[b>>2];b:{if(v[a+12>>2]){break b}c=v[b+4>>2];if(c){Ub[v[259708]](c)}c=v[b+8>>2];if(c){Ub[v[259708]](c)}c=v[b+12>>2];if(!c){break b}Ub[v[259708]](c)}v[b+16>>2]=0;while(1){f=f-1|0;if(e){b=e;e=v[b>>2];c:{if(v[a+12>>2]){break c}c=v[b+4>>2];if(c){Ub[v[259708]](c)}c=v[b+8>>2];if(c){Ub[v[259708]](c)}c=v[b+12>>2];if(!c){break c}Ub[v[259708]](c)}v[b+16>>2]=0;Ub[v[259708]](b);continue}else{e=v[a+4>>2]}break}}g=g+1|0;if((f|0)<1|(g|0)>=(e|0)){break a}d=v[a>>2];continue}}while(1){c=B(g,24)+d|0;if(!(!v[c+20>>2]|!d)){e=v[c>>2];d=v[c+16>>2];if(d){Ub[b|0](d,v[c+4>>2])}d:{if(v[a+12>>2]){break d}d=v[c+4>>2];if(d){Ub[v[259708]](d)}d=v[c+8>>2];if(d){Ub[v[259708]](d)}d=v[c+12>>2];if(!d){break d}Ub[v[259708]](d)}v[c+16>>2]=0;while(1){f=f-1|0;if(e){c=e;e=v[c>>2];d=v[c+16>>2];if(d){Ub[b|0](d,v[c+4>>2])}e:{if(v[a+12>>2]){break e}d=v[c+4>>2];if(d){Ub[v[259708]](d)}d=v[c+8>>2];if(d){Ub[v[259708]](d)}d=v[c+12>>2];if(!d){break e}Ub[v[259708]](d)}v[c+16>>2]=0;Ub[v[259708]](c);continue}break}e=v[a+4>>2]}g=g+1|0;if((f|0)<1|(g|0)>=(e|0)){break a}d=v[a>>2];continue}}Ub[v[259708]](v[a>>2])}b=v[a+12>>2];if(b){Zm(b)}Ub[v[259708]](a)}}function lo(a,b,c){var d=0,e=0,f=0;a:{d=v[a>>2];e=w[d|0];if(((e&223)-65&255)>>>0<26|(e-48&255)>>>0<10){break a}b:{c:{switch(e-33|0){case 0:case 3:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 25:case 26:case 28:case 31:case 62:case 93:break a;case 4:break c;default:break b}}d:{f=w[d+1|0];if((f-48&255)>>>0<10){break d}switch(f-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break d;default:break b}}f=w[d+2|0];if((f-48&255)>>>0<10){break a}switch(f-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break a;default:break b}}return!c}while(1){e:{f:{g:{if(((e&223)-65&255)>>>0<26|(e-48&255)>>>0<10){break g}h:{switch(e-33|0){case 0:case 3:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 25:case 26:case 28:case 31:case 62:case 93:break g;case 4:break h;default:break e}}i:{c=w[d+1|0];if((c-48&255)>>>0<10){break i}switch(c-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break i;default:break e}}c=w[d+2|0];if((c-48&255)>>>0<10|(c-97&255)>>>0<6){break g}if((c-65&255)>>>0>5){break e}if((b|0)!=37){break f}break e}if((b&255)==(e|0)){break e}}d=((e|0)==37?3:1)+d|0;e=w[d|0];continue}break}v[a>>2]=d;return 0}function $r(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{if(!a|!b){break a}g=w[b|0];e=B(g,30);if(g){f=b;while(1){e=((e<<5)+(e>>>3|0)|0)+(g<<24>>24)^e;g=w[f+1|0];f=f+1|0;if(g){continue}break}}e=(e<<5)+(e>>>3|0)^e;b:{if(!c){break b}g=w[c|0];if(!g){break b}f=c;while(1){e=((g<<24>>24)+(e>>>3|0)|0)+(e<<5)^e;g=w[f+1|0];f=f+1|0;if(g){continue}break}}f=v[a>>2];i=(((e<<5)+(e>>>3|0)^e)>>>0)%y[a+4>>2]|0;if(!v[(f+B(i,24)|0)+20>>2]|!f){break a}e=f+B(i,24)|0;while(1){f=e;c:{j=v[e+4>>2];if((j|0)!=(b|0)){g=b;e=j;if(!e){break c}while(1){h=w[e|0];if((h|0)!=w[g|0]){break c}g=g+1|0;e=e+1|0;if(h){continue}break}}e=v[f+8>>2];if((e|0)!=(c|0)){if(!e){break c}g=c;if(!g){break c}while(1){h=w[e|0];if((h|0)!=w[g|0]){break c}g=g+1|0;e=e+1|0;if(h){continue}break}}if(v[f+12>>2]){break c}d:{if(!d){break d}b=v[f+16>>2];if(!b){break d}Ub[d|0](b,j)}v[f+16>>2]=0;e:{if(v[a+12>>2]){break e}b=v[f+4>>2];if(b){Ub[v[259708]](b)}b=v[f+8>>2];if(b){Ub[v[259708]](b)}b=v[f+12>>2];if(!b){break e}Ub[v[259708]](b)}d=v[f>>2];f:{if(k){v[k>>2]=d;Ub[v[259708]](f);break f}if(!d){v[f+20>>2]=0;break f}b=v[d+4>>2];c=v[a>>2]+B(i,24)|0;v[c>>2]=v[d>>2];v[c+4>>2]=b;b=v[d+20>>2];v[c+16>>2]=v[d+16>>2];v[c+20>>2]=b;b=v[d+12>>2];v[c+8>>2]=v[d+8>>2];v[c+12>>2]=b;Ub[v[259708]](d)}v[a+8>>2]=v[a+8>>2]-1;return}k=f;e=v[f>>2];if(e){continue}break}}}function Pd(a,b){var 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;d=2147483632;v[b>>2]=2147483632;h=v[b+8>>2];v[b+16>>2]=h;e=v[b+20>>2];v[b+28>>2]=e;u[e+2>>1]=0;c=v[a+120>>2];a:{while(1){k=c;m=v[a+60>>2];if(c>>>0>=m>>>0){break a}n=v[v[a+72>>2]+(k>>>6&67108860)>>2];o=k&255;c=n+B(o,12)|0;j=v[c+8>>2];l=v[c+4>>2];while(1){f=v[v[a+52>>2]+(j>>>8&16777212)>>2]+B(j&1023,12)|0;c=v[f+8>>2];b:{if((c|0)>=0){g=0;if(c>>>0>=y[a>>2]){break b}g=v[v[a+12>>2]+(c>>>10&4194300)>>2]+(c&4095)|0;break b}c=c^-1;g=0;if(c>>>0>=y[a+20>>2]){break b}g=v[(v[v[a+32>>2]+(c>>>4&268435452)>>2]+((c&63)<<3)|0)+4>>2]}c=g;i=v[f>>2];j=j+1|0;g=b;f=v[f+4>>2];c:{if((f|0)<=-1){c=w[c|0];d:{e:{if((d+1|0)!=(i|0)){break e}d=u[e+2>>1];if((c|0)!=w[v[e+4>>2]]|(d|0)>-1){break e}u[e+2>>1]=f+d;break d}t[h|0]=c;c=v[b+28>>2];e=c+8|0;v[b+28>>2]=e;d=v[b+16>>2];h=d+1|0;v[b+16>>2]=h;u[c+10>>1]=f;u[c+8>>1]=i;v[c+12>>2]=d}d=(f^-1)+i|0;break c}gc(h,c,f);c=v[b+28>>2];f:{g:{if((v[b>>2]+1|0)!=(i|0)){break g}e=u[c+2>>1];if((e|0)<1){break g}u[c+2>>1]=f+e;d=v[b+16>>2];e=c;break f}e=c+8|0;v[b+28>>2]=e;d=v[b+16>>2];u[c+10>>1]=f;u[c+8>>1]=i;v[c+12>>2]=d}h=f+d|0;v[b+16>>2]=h;d=(f+i|0)-1|0}v[g>>2]=d;l=l-1|0;if(l){continue}break}c=v[a+120>>2]+1|0;v[a+120>>2]=c;if(v[b+20>>2]==(e|0)){continue}break}v[b+4>>2]=v[B(o,12)+n>>2]}return k>>>0>>0}function aJ(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0;g=Qb+-64|0;Qb=g;v[g+24>>2]=0;v[g+28>>2]=0;v[g+56>>2]=0;v[g+60>>2]=0;v[g+48>>2]=0;v[g+52>>2]=0;v[g+40>>2]=0;v[g+44>>2]=0;v[g+32>>2]=0;v[g+36>>2]=0;v[g+24>>2]=d;v[g+16>>2]=0;v[g+20>>2]=0;v[g+12>>2]=b;v[g+8>>2]=a;v[g+20>>2]=c;a:{b:{if(!Yu(g+8|0,3416,56)){while(1){a=Mj(g+8|0,1);if((a|0)==1){break b}if(!(v[g+24>>2]?a:1)){continue}break}if(a>>>0<2){break b}}a=-101;break a}if(!w[1156553]){t[1156553]=1}i=e-1|0;if((f|0)==16){if(!i){a=0;break a}j=0-(e<<1)|0;k=e-2|0;l=e&1;while(1){b=w[c|0];c:{if(l){h=i;f=c;break c}a=w[c+3|0]+w[c+1|0]|0;t[c+3|0]=a;b=w[c+2|0]+b+(a>>>8)|0;t[c+2|0]=b;h=k;f=c+2|0}if((e|0)!=2){while(1){a=f;c=w[a+3|0]+w[a+1|0]|0;t[a+3|0]=c;f=w[a+5|0];t[a+5|0]=f+c;b=w[a+2|0]+b+(c>>>8)|0;t[a+2|0]=b;b=b+w[a+4|0]+(f+(c&255)>>>8)|0;t[a+4|0]=b;f=a+4|0;h=h-2|0;if(h){continue}break}c=a+2|0}c=c+4|0;a=0;d=d+j|0;if((d|0)>0){continue}break}break a}if(!i){a=0;break a}k=e-1&3;j=e-2>>>0<3;while(1){b=w[c|0];h=i;f=k;if(f){while(1){a=c;b=w[c+1|0]+b|0;t[c+1|0]=b;h=h-1|0;c=c+1|0;f=f-1|0;if(f){continue}break}}if(!j){while(1){a=c;b=w[c+1|0]+b|0;t[c+1|0]=b;b=b+w[c+2|0]|0;t[c+2|0]=b;b=b+w[c+3|0]|0;t[c+3|0]=b;b=b+w[c+4|0]|0;t[c+4|0]=b;c=c+4|0;h=h-4|0;if(h){continue}break}a=a+3|0}c=a+2|0;a=0;d=d-e|0;if((d|0)>0){continue}break}}Qb=g- -64|0;return a}function $ka(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;var j=0;if(f){a=x[a+26>>1];d=B(a,g);g=e>>>0<8;j=h<<2;while(1){h=e;if(!g){while(1){v[b>>2]=w[i|0]|w[i+1|0]<<8|w[i+2|0]<<16|-16777216;c=a+i|0;v[b+4>>2]=w[c|0]|w[c+1|0]<<8|w[c+2|0]<<16|-16777216;c=a+c|0;v[b+8>>2]=w[c|0]|w[c+1|0]<<8|w[c+2|0]<<16|-16777216;c=a+c|0;v[b+12>>2]=w[c|0]|w[c+1|0]<<8|w[c+2|0]<<16|-16777216;c=a+c|0;v[b+16>>2]=w[c|0]|w[c+1|0]<<8|w[c+2|0]<<16|-16777216;c=a+c|0;v[b+20>>2]=w[c|0]|w[c+1|0]<<8|w[c+2|0]<<16|-16777216;c=a+c|0;v[b+24>>2]=w[c|0]|w[c+1|0]<<8|w[c+2|0]<<16|-16777216;c=a+c|0;v[b+28>>2]=w[c|0]|w[c+1|0]<<8|w[c+2|0]<<16|-16777216;b=b+32|0;i=a+c|0;h=h-8|0;if(h>>>0>7){continue}break}}f=f-1|0;a:{switch(h-1|0){case 6:v[b>>2]=w[i|0]|w[i+1|0]<<8|w[i+2|0]<<16|-16777216;i=a+i|0;b=b+4|0;case 5:v[b>>2]=w[i|0]|w[i+1|0]<<8|w[i+2|0]<<16|-16777216;i=a+i|0;b=b+4|0;case 4:v[b>>2]=w[i|0]|w[i+1|0]<<8|w[i+2|0]<<16|-16777216;i=a+i|0;b=b+4|0;case 3:v[b>>2]=w[i|0]|w[i+1|0]<<8|w[i+2|0]<<16|-16777216;i=a+i|0;b=b+4|0;case 2:v[b>>2]=w[i|0]|w[i+1|0]<<8|w[i+2|0]<<16|-16777216;i=a+i|0;b=b+4|0;case 1:v[b>>2]=w[i|0]|w[i+1|0]<<8|w[i+2|0]<<16|-16777216;i=a+i|0;b=b+4|0;case 0:v[b>>2]=w[i|0]|w[i+1|0]<<8|w[i+2|0]<<16|-16777216;i=a+i|0;b=b+4|0;break;default:break a}}i=d+i|0;b=b+j|0;if(f){continue}break}}}function TIa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=v[a+420>>2];if(v[a+236>>2]){c=v[f+68>>2];if(!c){Ju(a,v[f+72>>2]);c=v[a+236>>2];v[f+68>>2]=c;v[f+72>>2]=v[f+72>>2]+1&7}v[f+68>>2]=c-1}j=v[b>>2];k=v[a+380>>2];b=v[v[a+292>>2]+24>>2];d=v[a+364>>2];g=d;a:{if((d|0)<1){break a}g=d;while(1){c=u[(v[(g<<2)+k>>2]<<1)+j>>1];b:{if((c|0)>=0){if(!(c>>v[a+372>>2])){break b}break a}if(0-c>>v[a+372>>2]){break a}}c=(g|0)>1;g=g-1|0;if(c){continue}break}g=0}i=f+(b<<2)|0;c:{c=v[a+360>>2];if((g|0)<(c|0)){break c}l=f+204|0;m=a+b|0;d:while(1){e=(v[i+140>>2]+B(c,3)|0)-3|0;pe(a,e,0);b=c;while(1){e:{c=u[(v[(b<<2)+k>>2]<<1)+j>>1];f:{if((c|0)>=0){c=c>>v[a+372>>2];if(!c){break e}d=0;break f}c=0-c>>v[a+372>>2];if(!c){break e}d=1}pe(a,e+1|0,1);pe(a,l,d);d=e+2|0;g:{h:{i:{j:{h=c-1|0;if(!h){break j}pe(a,d,1);if((h|0)==1){break j}pe(a,d,1);c=v[i+140>>2]+(w[m+184|0]<(b|0)?217:189)|0;e=2;d=h>>1;if(d>>>0>1){break i}pe(a,c,0);c=c+14|0;break h}pe(a,d,0);break g}while(1){f=c;pe(a,c,1);c=c+1|0;e=e<<1;d=d>>1;if(d>>>0>=2){continue}break}pe(a,c,0);if(!e){break g}c=f+15|0}while(1){e=e>>1;pe(a,c,(h&e)!=0);if(e>>>0>1){continue}break}}c=b+1|0;if((b|0)<(g|0)){continue d}d=v[a+364>>2];break c}pe(a,e+1|0,0);b=b+1|0;e=e+3|0;continue}}}if((c|0)<=(d|0)){pe(a,(v[i+140>>2]+B(c,3)|0)-3|0,1)}return 1}function wab(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,v=0;if(e){s=e-1|0;v=e-2|0;q=(e|0)==1;while(1){a=f;u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];f=a+4|0;g=g+4|0;a:{if(!q&m>>>0>=s>>>0){break a}j=m?(m|0)==(v|0)?d:b:c;l=!m&q;if(!l){k=1;if(j>>>0<=1){break a}n=a+2|0;l=l?0:f;p=l+2|0;r=j<<1;while(1){i=x[a>>1];b:{if((i|0)==x[l>>1]){u[g>>1]=i;break b}i=w[a|0]|w[a+1|0]<<8;h=i;o=(h<<8|h>>>8)&65535;h=w[l|0]|w[l+1|0]<<8;i=o+((j+(B(((h<<8|h>>>8)&65535)-((i<<8|i>>>8)&65535)|0,k)<<1)|0)/(r|0)|0)&65535;i=i<<8|i>>>8;t[g|0]=i;t[g+1|0]=i>>>8}i=g+2|0;h=x[n>>1];c:{if((h|0)==x[p>>1]){u[i>>1]=h;break c}h=w[n|0]|w[n+1|0]<<8;o=w[p|0]|w[p+1|0]<<8;h=((h<<8|h>>>8)&65535)+((j+(B(((o<<8|o>>>8)&65535)-((h<<8|h>>>8)&65535)|0,k)<<1)|0)/(r|0)|0)&65535;h=h<<8|h>>>8;t[i|0]=h;t[i+1|0]=h>>>8}g=g+4|0;k=k+1|0;if((j|0)!=(k|0)){continue}break}break a}if(j>>>0<2){break a}n=j-1|0;k=n&3;if(j-2>>>0>=3){j=n&-4;while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];u[g+4>>1]=x[a>>1];u[g+6>>1]=x[a+2>>1];u[g+8>>1]=x[a>>1];u[g+10>>1]=x[a+2>>1];u[g+12>>1]=x[a>>1];u[g+14>>1]=x[a+2>>1];g=g+16|0;j=j-4|0;if(j){continue}break}}if(!k){break a}while(1){u[g>>1]=x[a>>1];u[g+2>>1]=x[a+2>>1];g=g+4|0;k=k-1|0;if(k){continue}break}}m=m+1|0;if((m|0)!=(e|0)){continue}break}}return 0}function oga(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;while(1){h=(g>>>2&1073741820)+a|0;e=v[h>>2];if(!e){e=v[c+28>>2];a:{if((e|0)<=4046){d=v[c+24>>2];break a}d=fc(8164);v[d>>2]=v[c+24>>2];e=0;ic(d+4|0,0,8160);v[c+24>>2]=d}v[c+28>>2]=e+34;d=((e<<1)+d|0)+4|0;while(1){e=d;d=d+2|0;if(e&3){continue}break}v[h>>2]=e}i=(g&15)<<2;d=v[i+e>>2];if(!d){d=v[c+28>>2];b:{if((d|0)<=4064){f=v[c+24>>2];break b}f=fc(8164);v[f>>2]=v[c+24>>2];d=0;ic(f+4|0,0,8160);v[c+24>>2]=f;e=v[h>>2]}v[c+28>>2]=d+16;v[e+i>>2]=((d<<1)+f|0)+4;d=v[v[h>>2]+i>>2]}e=j<<2;u[d>>1]=x[(v[e+991328>>2]<<1)+b>>1];u[d+2>>1]=x[(v[(e|4)+991328>>2]<<1)+b>>1];u[d+4>>1]=x[(v[(e|8)+991328>>2]<<1)+b>>1];u[d+6>>1]=x[(v[(e|12)+991328>>2]<<1)+b>>1];u[d+8>>1]=x[(v[(e|16)+991328>>2]<<1)+b>>1];u[d+10>>1]=x[(v[(e|20)+991328>>2]<<1)+b>>1];u[d+12>>1]=x[(v[(e|24)+991328>>2]<<1)+b>>1];u[d+14>>1]=x[(v[(e|28)+991328>>2]<<1)+b>>1];u[d+16>>1]=x[(v[(e|32)+991328>>2]<<1)+b>>1];u[d+18>>1]=x[(v[(e|36)+991328>>2]<<1)+b>>1];u[d+20>>1]=x[(v[(e|40)+991328>>2]<<1)+b>>1];u[d+22>>1]=x[(v[(e|44)+991328>>2]<<1)+b>>1];u[d+24>>1]=x[(v[(e|48)+991328>>2]<<1)+b>>1];u[d+26>>1]=x[(v[(e|52)+991328>>2]<<1)+b>>1];u[d+28>>1]=x[(v[(e|56)+991328>>2]<<1)+b>>1];u[d+30>>1]=x[(v[(e|60)+991328>>2]<<1)+b>>1];j=j+16|0;g=g+1|0;if((g|0)!=64){continue}break}}function nY(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;a:{h=w[e+3|0];if(!h){break a}a=v[a>>2];j=v[a+4>>2];i=v[a+16>>2];b:{c:{if((i|0)>=0){a=B(c,i);break c}k=j-v[a>>2]|0;a=B(c,i);if((k|0)<(0-a|0)){break b}}g=a+j|0}g=(b<<2)+g|0;a=B(f+1|0,h)>>>8|0;if((a|0)==255){a=w[e+2|0]|(w[e|0]<<16|h<<24|w[e+1|0]<<8);b=d-1|0;e=d&7;if(e){while(1){v[g>>2]=a;d=d-1|0;g=g+4|0;e=e-1|0;if(e){continue}break}}if(b>>>0<7){break a}while(1){v[g+28>>2]=a;v[g+24>>2]=a;v[g+20>>2]=a;v[g+16>>2]=a;v[g+12>>2]=a;v[g+8>>2]=a;v[g+4>>2]=a;v[g>>2]=a;g=g+32|0;d=d-8|0;if(d){continue}break}break a}if((f|0)==255){while(1){b=w[e+2|0];c=w[e+1|0];f=w[g+2|0];t[g+2|0]=B(a,w[e|0]-f|0)+(f<<8)>>>8;f=c;c=w[g+1|0];t[g+1|0]=B(a,f-c|0)+(c<<8)>>>8;c=w[g+3|0];t[g+3|0]=c+a-(B(a,c)+255>>>8);c=b;b=w[g|0];t[g|0]=B(a,c-b|0)+(b<<8)>>>8;g=g+4|0;d=d-1|0;if(d){continue}break a}}b=w[e+2|0];c=w[e+1|0];f=w[g+2|0];t[g+2|0]=B(a,w[e|0]-f|0)+(f<<8)>>>8;f=c;c=w[g+1|0];t[g+1|0]=B(a,f-c|0)+(c<<8)>>>8;c=w[g+3|0];t[g+3|0]=c+a-(B(a,c)+255>>>8);c=b;b=w[g|0];t[g|0]=B(a,c-b|0)+(b<<8)>>>8;d=d-1|0;if(!d){break a}while(1){b=w[e+2|0];c=w[e+1|0];f=w[g+6|0];t[g+6|0]=B(a,w[e|0]-f|0)+(f<<8)>>>8;f=c;c=w[g+5|0];t[g+5|0]=B(a,f-c|0)+(c<<8)>>>8;c=w[g+7|0];t[g+7|0]=c+a-(B(a,c)+255>>>8);c=b;b=w[g+4|0];t[g+4|0]=B(a,c-b|0)+(b<<8)>>>8;g=g+4|0;d=d-1|0;if(d){continue}break}}}function V$(a,b,c,d,e,f){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,u=0,x=0,y=0;m=d-1|0;x=m;a:{b:{c:{if(!f){h=v[c>>2];f=h>>>24|0;l=(b<<2)+a|0;q=(e<<2)+c|0;g=v[q>>2];b=g>>>24|0;e=0;i=e;if((d|0)<5){break b}s=d-5>>>2|0;y=s<<3;while(1){k=e<<3;j=h>>>16&255;i=j+f|0;u=h>>>8|0;n=u&255;o=j+n|0;v[k+a>>2]=i<<15&16711680|f<<24|(j<<8|o>>>1);p=b+f<<23&-16777216;r=g>>>8&255;f=g>>>16&255;v[l+k>>2]=p|r+(f+o|0)>>>2|f+j<<7&65280|f+(b+i|0)<<14&-65536;i=e+1|0;f=i<<2;j=v[f+q>>2];b=h&255;k=k|4;h=v[c+f>>2];f=h>>>24|0;o=b+f|0;p=b+n|0;v[k+a>>2]=b<<8|o>>>1|(p<<15&16711680|u<<24);g=g&255;n=(n+r<<23|g+b<<7)&-16711936|(g+r|0)+p<<14&16711680;b=j>>>24|0;v[l+k>>2]=n|b+(g+o|0)>>>2;k=(e|0)==(s|0);g=j;e=i;if(!k){continue}break}break c}g=(b<<2)+a|0;b=w[c^3];d:{if((d|0)<2){e=b;break d}d=0;f=0;while(1){d=d+1|0;e=w[d+c^3];t[a+f^3]=b;t[f+g^3]=b;h=f|1;b=b+e>>>1|0;t[h+a^3]=b;t[g+h^3]=b;f=f+2|0;b=e;if((d|0)!=(m|0)){continue}break}}b=m<<1;t[b+a^3]=e;c=a;a=b|1;t[c+a^3]=e;t[b+g^3]=e;a=a+g|0;break a}j=d-1&-4;i=y+8|0}e=i;h=j;e:{if((x|0)<=(h|0)){g=f;d=b;break e}while(1){h=h+1|0;d=w[q+h^3];g=w[c+h^3];t[a+e^3]=f;j=e|1;i=f+g|0;t[j+a^3]=i>>>1;t[e+l^3]=b+f>>>1;t[j+l^3]=(b+i|0)+d>>>2;e=e+2|0;b=d;f=g;if((h|0)!=(m|0)){continue}break}}b=m<<1;t[b+a^3]=g;c=a;a=b|1;t[c+a^3]=g;e=d+g>>>1|0;t[b+l^3]=e;a=a+l|0}t[a^3]=e}function Dy(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=v[a>>2];a:{if(v[e+72>>2]==v[e+68>>2]){break a}e=v[a+232>>2];if(!e){break a}b:{switch(v[e>>2]+2|0){case 0:case 3:break a;default:break b}}if(!((c|0)<1|d)){d=0;while(1){e=w[b+d|0]-9|0;if(e>>>0>23|!(1<>2];if(!b){return 0}c:{e=v[a+8>>2];if(!e){break c}f=1;c=v[b+8>>2];b=Qb-16|0;Qb=b;h=-1;d:{if(!e){break d}d=v[e+44>>2];if(!d){break d}v[b+8>>2]=0;if(c){d=v[d+40>>2];e:{if(d){g=mo(c,b+8|0);d=am(d,g?g:c,v[b+8>>2]);i=v[b+8>>2];if(i){Ub[v[259708]](i)}if(g){Ub[v[259708]](g)}if(d){break e}}d=v[e+48>>2];if(!d){break d}v[b+12>>2]=0;d=v[d+40>>2];if(!d){break d}e=mo(c,b+12|0);d=am(d,e?e:c,v[b+12>>2]);c=v[b+12>>2];if(c){Ub[v[259708]](c)}if(e){Ub[v[259708]](e)}if(!d){break d}}h=1;c=v[d+36>>2];if(c>>>0>4){break d}h=v[(c<<2)+884688>>2]}}Qb=b+16|0;f:{switch(h|0){case 0:break a;case 1:break f;default:break c}}return 0}d=v[v[a+36>>2]+16>>2];c=w[d|0];if(!((c|0)==60|(c|0)==13)){return 0}b=v[a+52>>2];if(!(v[b+12>>2]|(c|0)!=60|w[d+1|0]!=47)){return 0}c=0;c=!b|v[b+4>>2]==18?c:v[b+16>>2];g:{if(!c){a=v[a+52>>2];if(v[a+4>>2]==1){break g}f=0;if(!v[a+40>>2]){break g}break a}if(c?v[c+4>>2]==3:0){return 0}a=v[v[a+52>>2]+12>>2];if(!a){break g}f=0;if(a?v[a+4>>2]==3:0){break a}}f=1}return f}function u2(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;a:{if((i|0)>=1){k=d+1>>1;m=e+1>>1;p=f+1>>1;q=g+1>>1;u2(a,b,c,k,m,p,q,h,i-1|0);j=v[h>>2];n=(c-m|0)+q|0;v[j+32>>2]=n;o=(b-k|0)+p|0;f=f>>1;r=d>>1;s=o+(f-r|0)|0;v[j+28>>2]=s;v[j+24>>2]=c;v[j+20>>2]=o;v[j+12>>2]=q;v[j+8>>2]=f;v[j+4>>2]=m;v[j>>2]=r;v[j+16>>2]=2;c=j;d=v[a>>2]-i<<3;m=v[a+4>>2];l=A[d+v[m+12>>2]>>3]*A[d+v[m+8>>2]>>3]*8192;b:{if(D(l)<2147483648){i=~~l;break b}i=-2147483648}v[c+36>>2]=i;v[h>>2]=j+40;c=g>>1;e=e>>1;i=(c-e|0)+n|0;v[j+72>>2]=i;v[j+68>>2]=o;v[j- -64>>2]=n;v[j+60>>2]=b;v[j+52>>2]=c;v[j+48>>2]=p;v[j+44>>2]=e;v[j+40>>2]=k;v[j+56>>2]=1;b=j;g=v[a+4>>2];l=A[d+v[g+8>>2]>>3]*A[d+v[g+12>>2]>>3]*8192;c:{if(D(l)<2147483648){g=~~l;break c}g=-2147483648}v[b+76>>2]=g;k=j+80|0;v[h>>2]=k;v[j+112>>2]=i;v[j+108>>2]=s;v[j+104>>2]=n;v[j+100>>2]=o;v[j+92>>2]=c;v[j+88>>2]=f;v[j+84>>2]=e;v[j+80>>2]=r;v[j+96>>2]=3;l=A[d+v[v[a+4>>2]+12>>2]>>3];l=l*l*8192;if(D(l)<2147483648){v[j+116>>2]=~~l;break a}v[j+116>>2]=-2147483648;break a}k=v[h>>2];v[k+24>>2]=c;v[k+20>>2]=b;v[k+12>>2]=g;v[k+8>>2]=f;v[k+4>>2]=e;v[k>>2]=d;v[k+16>>2]=0;v[k+32>>2]=(c-e|0)+g;v[k+28>>2]=(b-d|0)+f;b=k;l=A[v[v[a+4>>2]+8>>2]+(v[a>>2]+(i^-1)<<3)>>3];l=l*l*8192;d:{if(D(l)<2147483648){a=~~l;break d}a=-2147483648}v[b+36>>2]=a}v[h>>2]=k+40}function nT(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=Qb-16|0;Qb=g;a:{b:{c:{switch(v[c>>2]-4|0){case 0:a=fc(8);c=v[c+8>>2];v[299999]=0;e=Q(3063,a|0,c|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}c=wS(v[294330],b,e);if(!c){v[g+4>>2]=b;v[g>>2]=a;kc(1,-1,345068,g)}Dc(e);dc(a);break b;case 4:a=v[c+8>>2];e=Qb-16|0;Qb=e;v[e>>2]=13;c=fc(24);v[299999]=0;d=S(1,8)|0;f=v[299999];v[299999]=0;d:{e:{f:{if((f|0)==1){break f}v[299999]=0;Q(3064,d|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){b=P()|0;O()|0;dc(d);break e}v[c+12>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;v[c>>2]=d;v[299999]=0;d=Q(3364,256,8)|0;f=v[299999];v[299999]=0;b=1;if((f|0)==1){break f}v[c+16>>2]=d;v[d>>2]=0;v[d+4>>2]=0;while(1){d=b<<3;f=d+v[c+16>>2]|0;v[f>>2]=0;v[f+4>>2]=0;f=d+v[c+16>>2]|0;v[f+8>>2]=0;v[f+12>>2]=0;d=d+v[c+16>>2]|0;v[d+16>>2]=0;v[d+20>>2]=0;b=b+3|0;if((b|0)!=256){continue}break}v[c+20>>2]=1;g:{if(v[rc(Ub[v[v[a>>2]+76>>2]](a)|0,242701,e,0)>>2]==5){break g}b=nT(c,v[c>>2],e);if(!b){break g}v[c+8>>2]=v[b+8>>2];d=v[b+16>>2];if(d){_E(c,v[c+16>>2],d)}fo(b)}hc(e);Ub[v[v[a>>2]+20>>2]](a);mT(c,0,3368,a);Ub[v[v[a>>2]+24>>2]](a);Qb=e+16|0;break d}b=P()|0;O()|0}dc(c);T(b|0);L()}if(c){break b}kc(1,-1,228325,0);c=0;break b;default:break c}}c=0;kc(1,-1,228353,0)}Qb=g+16|0;return c|0}b=P()|0;O()|0;dc(a);T(b|0);L()}function rs(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;o=f*3.141592/180;m=Ve(o);m=Ff(Ee(o)/e,m/d);i=Ee(m);m=Ve(m);ze(v[a+4>>2],m*d+b,i*e+c,2);if(D(f)<2147483648){k=~~f}else{k=-2147483648}k=(k|0)>89?((k|0)/90|0)+1|0:1;k=(k|0)<4?k:4;if(D(g)<2147483648){l=~~g}else{l=-2147483648}l=(l|0)>89?((l|0)/90|0)+1|0:1;l=(l|0)<4?l:4;m=g*3.141592/180;a:{if(h){if(k>>>0>>0){break a}h=k;while(1){g=o;g=(h|0)!=(k|0)?+C(C(C(B(h,90)>>>0)*C(3.141592025756836))/C(180)):g;f=m;f=(h|0)!=(l|0)?+C(C(C(B(h,90)-90>>>0)*C(3.141592025756836))/C(180)):f;i=Ve(f);j=Ee(f);f=Ve(g);f=Ff(Ee(g)/e,f/d);g=Ff(j/e,i/d);j=g-f;i=XC(j*.5);n=Ee(j);j=Ve(f);f=Ee(f);p=v[a+4>>2];i=n*(K(i*(i*3)+4)+-1)/3;n=i*d;i=i*e;ze(p,j*d+b-f*n,f*e+c+j*i,4);j=Ve(g);f=j*d+b;q=Ee(g);g=q*e+c;ze(p,f+q*n,g-j*i,4);ze(p,f,g,4);h=h-1|0;if(l>>>0<=h>>>0){continue}break}break a}if(k>>>0>l>>>0){break a}h=k;while(1){g=m;g=(h|0)!=(l|0)?+C(C(C(B(h,90)>>>0)*C(3.141592025756836))/C(180)):g;i=Ve(g);g=Ee(g);o=(h|0)!=(k|0)?+C(C(C(B(h,90)-90>>>0)*C(3.141592025756836))/C(180)):o;f=Ve(o);f=Ff(Ee(o)/e,f/d);g=Ff(g/e,i/d);j=g-f;i=XC(j*.5);n=Ee(j);j=Ve(f);f=Ee(f);p=v[a+4>>2];i=n*(K(i*(i*3)+4)+-1)/3;n=i*d;i=i*e;ze(p,j*d+b-f*n,f*e+c+j*i,4);j=Ve(g);f=j*d+b;q=Ee(g);g=q*e+c;ze(p,f+q*n,g-j*i,4);ze(p,f,g,4);h=h+1|0;if(l>>>0>=h>>>0){continue}break}}}function tl(a){var b=0,c=0;c=Qb-256|0;Qb=c;a:{b:{c:{b=nc(a);if(!b){d:{e:{f:{g:{h:{i:{j:{a=nc(a);if((a|0)<=1281845357){if((a|0)<=1148349293){if((a|0)<=1131180575){if((a|0)==1128428142){break j}if((a|0)!=1128555623){break a}b=8;break b}if((a|0)==1131180576){break d}if((a|0)!=1147564654){break a}b=17;break b}if((a|0)<=1210064927){if((a|0)==1148349294){break c}if((a|0)!=1148415094){break a}b=1;break b}if((a|0)==1210064928){break f}if((a|0)!=1215456332){break a}b=12;break b}k:{if((a|0)<=1333162603){if((a|0)<=1298953327){if((a|0)==1281845358){break i}if((a|0)!=1282240115){break a}b=22;break b}if((a|0)==1298953328){break k}b=0;if((a|0)==1316121964){break b}break a}if((a|0)<=1399223371){if((a|0)==1333162604){break h}if((a|0)!=1399026286){break a}b=7;break b}if((a|0)==1399223372){break g}if((a|0)==1400140404){break e}if((a|0)!=1482910837){break a}b=18;break b}b=3;break b}b=4;break b}b=6;break b}b=10;break b}b=11;break b}b=19;break b}b=20;break b}b=21;break b}ye(a,c,b);t[c+b|0]=0;b=5;if(!Pc(c,40033,11)){break b}b=9;if(!Pc(c,41263,12)){break b}b=13;if(!Pc(c,41809,11)){break b}b=14;if(!Pc(c,42723,12)){break b}b=15;if(!Pc(c,43718,9)){break b}b=16;if(v[c>>2]==1685217640&v[c+4>>2]==7891277){break b}X(3794,6490,800,194238);L()}b=2}Qb=c+256|0;return b}X(3794,6490,779,194238);L()}function mMa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(v[c>>2]<=0){v[c>>2]=344;return 0}a=v[a+8>>2];d=gc(b+260|0,a,84);c=v[a>>2];if(!c|!w[c+17|0]?0:c){v[c+4>>2]=v[c+4>>2]+1}c=v[a+4>>2];if(!c|!w[c+17|0]?0:c){v[c+4>>2]=v[c+4>>2]+1}c=v[a+8>>2];if(!c|!w[c+17|0]?0:c){v[c+4>>2]=v[c+4>>2]+1}c=v[a+12>>2];if(!c|!w[c+17|0]?0:c){v[c+4>>2]=v[c+4>>2]+1}c=v[a+16>>2];if(!c|!w[c+17|0]?0:c){v[c+4>>2]=v[c+4>>2]+1}c=v[a+20>>2];if(!c|!w[c+17|0]?0:c){v[c+4>>2]=v[c+4>>2]+1}c=v[a+24>>2];if(!c|!w[c+17|0]?0:c){v[c+4>>2]=v[c+4>>2]+1}c=v[a+28>>2];if(!c|!w[c+17|0]?0:c){v[c+4>>2]=v[c+4>>2]+1}c=v[a+32>>2];if(!c|!w[c+17|0]?0:c){v[c+4>>2]=v[c+4>>2]+1}c=v[a+36>>2];if(!c|!w[c+17|0]?0:c){v[c+4>>2]=v[c+4>>2]+1}c=v[a+40>>2];if(!c|!w[c+17|0]?0:c){v[c+4>>2]=v[c+4>>2]+1}c=v[a+44>>2];if(!c|!w[c+17|0]?0:c){v[c+4>>2]=v[c+4>>2]+1}c=v[a+48>>2];if(!c|!w[c+17|0]?0:c){v[c+4>>2]=v[c+4>>2]+1}c=v[a+52>>2];if(!c|!w[c+17|0]?0:c){v[c+4>>2]=v[c+4>>2]+1}c=v[a+56>>2];if(!c|!w[c+17|0]?0:c){v[c+4>>2]=v[c+4>>2]+1}c=v[a+60>>2];if(!c|!w[c+17|0]?0:c){v[c+4>>2]=v[c+4>>2]+1}c=v[a+64>>2];if(!c|!w[c+17|0]?0:c){v[c+4>>2]=v[c+4>>2]+1}c=v[a+68>>2];if(!c|!w[c+17|0]?0:c){v[c+4>>2]=v[c+4>>2]+1}c=v[a+72>>2];if(!c|!w[c+17|0]?0:c){v[c+4>>2]=v[c+4>>2]+1}a=v[a+76>>2];if(!a|!w[a+17|0]?0:a){v[a+4>>2]=v[a+4>>2]+1}t[b+34|0]=1;v[b+8>>2]=d;return b|0}function a1(a){var b=0,c=0,d=0;d=999;a:{b:{if(v[a+548>>2]){break b}b=Ub[v[a+152>>2]](1136)|0;v[a+548>>2]=b;d=1;if(!b){break b}t[b|0]=w[a+306|0];t[b+1|0]=w[a+307|0];t[b+2|0]=w[a+308|0];t[b+3|0]=w[a+309|0];t[b+4|0]=w[a+310|0];t[b+5|0]=w[a+311|0];t[b+6|0]=w[a+312|0];u[b+8>>1]=x[a+1052>>1];u[b+10>>1]=x[a+1054>>1];u[b+12>>1]=x[a+1056>>1];t[b+14|0]=w[a+1058|0];u[b+16>>1]=x[a+1060>>1];t[b+18|0]=w[a+1062|0];t[b+19|0]=w[a+1080|0];v[b+20>>2]=v[a+1084>>2];v[b+24>>2]=v[a+1088>>2];t[b+28|0]=w[a+1092|0];v[b+32>>2]=v[a+1096>>2];v[b+36>>2]=v[a+1100>>2];v[b+40>>2]=v[a+1104>>2];v[b+44>>2]=v[a+1108>>2];v[b+48>>2]=v[a+1160>>2];gc(b+52|0,a+1164|0,768);v[b+820>>2]=v[a+1932>>2];gc(b+824|0,a+1936|0,256);v[b+1080>>2]=v[a+2192>>2];v[b+1084>>2]=v[a+2196>>2];v[b+1088>>2]=v[a+2200>>2];v[b+1092>>2]=v[a+2204>>2];v[b+1096>>2]=v[a+2208>>2];v[b+1100>>2]=v[a+2212>>2];v[b+1104>>2]=v[a+2216>>2];v[b+1108>>2]=v[a+2220>>2];v[b+1112>>2]=v[a+2224>>2];t[b+1116|0]=w[a+2228|0];c=v[a+2232>>2];v[b+1120>>2]=c;if(c){c=Ub[v[a+152>>2]](c)|0;v[b+1124>>2]=c;if(!c){break b}gc(c,v[a+2236>>2],v[b+1120>>2])}u[b+1128>>1]=x[a+2240>>1];u[b+1130>>1]=x[a+2242>>1];u[b+1132>>1]=x[a+2244>>1];d=0;a=v[a+688>>2];if(!a){break a}while(1){t[a+30|0]=1;t[v[a+88>>2]+32|0]=1;a=v[a+8>>2];if(a){continue}break}break a}pc(a,d,0,0)}return d}function u8(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,j=0,k=0,l=0,m=0;a=Qb-16|0;Qb=a;v[a+12>>2]=c;v[a+8>>2]=f;v[a+12>>2]=c;v[a+8>>2]=f;a:{b:{while(1){c:{i=v[a+12>>2];if(i>>>0>=d>>>0){break c}m=v[a+8>>2];if(m>>>0>=g>>>0){break c}c=t[i|0];b=c&255;d:{if((c|0)>=0){if(b>>>0<=1114111){f=1;break d}c=2;break a}c=2;if(b>>>0<194){break a}if(b>>>0<=223){if((d-i|0)<2){break b}j=w[i+1|0];if((j&192)!=128){break a}f=2;b=j&63|b<<6&1984;if(b>>>0<=1114111){break d}break a}if(b>>>0<=239){if((d-i|0)<3){break b}j=w[i+2|0];k=w[i+1|0];e:{f:{if((b|0)!=237){if((b|0)!=224){break f}if((k&224)==160){break e}break a}if((k&224)==128){break e}break a}if((k&192)!=128){break a}}if((j&192)!=128){break a}f=3;b=j&63|(b<<12&61440|(k&63)<<6);if(b>>>0<=1114111){break d}break a}if(b>>>0>244){break a}if((d-i|0)<4){break b}k=w[i+2|0];l=w[i+1|0];g:{h:{switch(b-240|0){case 0:if((l+112&255)>>>0<48){break g}break a;case 4:if((l&240)==128){break g}break a;default:break h}}if((l&192)!=128){break a}}if((k&192)!=128){break a}j=w[i+3|0];if((j&192)!=128){break a}f=4;b=j&63|(k<<6&4032|(b<<18&1835008|(l&63)<<12));if(b>>>0>1114111){break a}}v[m>>2]=b;v[a+12>>2]=f+i;v[a+8>>2]=v[a+8>>2]+4;continue}break}c=d>>>0>i>>>0;break a}c=1}v[e>>2]=v[a+12>>2];v[h>>2]=v[a+8>>2];Qb=a+16|0;return c|0}function lLa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=Qb-384|0;Qb=d;e=fc(c);v[a>>2]=e;b=gc(e,b,c);v[a+4>>2]=c;f=fc(24);v[f+4>>2]=c;v[f>>2]=b;b=d+128|0;iG(b,f);h=a+8|0;e=TV(b);a:{b:{c:{while(1){$u(e,d+48|0,0,0,0,0,0,0);d:{if(!v[d+76>>2]){break d}e:{f:{if(!$u(e,0,d+128|0,256,0,0,0,0)){b=Bc(d+128|0);if(b>>>0<4294967280){g:{h:{if(b>>>0>=11){g=b+16&-16;c=fc(g);v[d+16>>2]=g|-2147483648;v[d+8>>2]=c;v[d+12>>2]=b;break h}t[d+19|0]=b;c=d+8|0;if(!b){break g}}gc(c,d+128|0,b)}t[b+c|0]=0;if(t[d+19|0]>=0){break f}v[299999]=0;U(2534,d+24|0,v[d+8>>2],v[d+12>>2]);c=v[299999];v[299999]=0;b=1;if((c|0)!=1){break e}c=P()|0;O()|0;break b}$d(d+8|0);L()}t[d+8|0]=0;t[d+19|0]=0}v[d+32>>2]=v[d+16>>2];b=v[d+12>>2];v[d+24>>2]=v[d+8>>2];v[d+28>>2]=b;b=0}v[d+36>>2]=0;v[d+40>>2]=0;c=v[a+12>>2];i:{if(c>>>0>2]){b=v[d+28>>2];v[c>>2]=v[d+24>>2];v[c+4>>2]=b;v[c+8>>2]=v[d+32>>2];v[d+32>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;b=v[d+40>>2];v[c+12>>2]=v[d+36>>2];v[c+16>>2]=b;v[a+12>>2]=c+20;break i}v[299999]=0;V(2897,h|0,d+24|0);c=v[299999];v[299999]=0;if((c|0)==1){break c}if(t[d+35|0]>-1){break i}dc(v[d+24>>2])}if(t[d+19|0]>-1){break d}dc(v[d+8>>2])}if(!kG(e)){continue}break}lG(e);dc(f);Qb=d+384|0;return}c=P()|0;O()|0;if(t[d+35|0]<=-1){dc(v[d+24>>2])}if(!b){break a}}dc(v[d+8>>2])}T(c|0);L()}function KZ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{c:{g=w[a|0];if((g|0)!=117){break c}d:{c=w[a+1|0];if((c|0)!=110|w[a+2|0]!=105){break d}b=w[a+3|0];d=b-48|0;e=d>>>0>9?b-65>>>0>5?16:b-55|0:d;if(e>>>0>15){break d}b=w[a+4|0];d=b-48|0;f=d>>>0>9?b-65>>>0>5?16:b-55|0:d;if(f>>>0>15){break d}b=w[a+5|0];d=b-48|0;h=d>>>0>9?b-65>>>0>5?16:b-55|0:d;if(h>>>0>15){break d}b=w[a+6|0];d=b-48|0;b=d>>>0>9?b-65>>>0>5?16:b-55|0:d;if(b>>>0>15){break d}b=b+((f+(e<<4)<<4)+h<<4)|0;d=w[a+7|0];if(!d){break a}if((d|0)!=46){break d}return b|-2147483648}b=c-65>>>0>5?16:c-55|0;c=c-48|0;d=c>>>0>9?b:c;if(d>>>0>15){break c}c=w[a+2|0];b=c-48|0;e=b>>>0>9?c-65>>>0>5?16:c-55|0:b;if(e>>>0>15){break c}c=w[a+3|0];b=c-48|0;f=b>>>0>9?c-65>>>0>5?16:c-55|0:b;if(f>>>0>15){break c}c=w[a+4|0];b=c-48|0;c=b>>>0>9?c-65>>>0>5?16:c-55|0:b;if(c>>>0>15){break c}b=c+(f+(e+(d<<4)<<4)<<4)|0;d=w[a+5|0];e=d-48|0;d=e>>>0>9?d-65>>>0>5?16:d-55|0:e;c=a+5|0;e:{if(d>>>0>15){break e}b=d+(b<<4)|0;d=w[a+6|0];e=d-48|0;d=e>>>0>9?d-65>>>0>5?16:d-55|0:e;c=a+6|0;if(d>>>0>15){break e}b=d+(b<<4)|0;c=a+7|0}d=w[c|0];if(!d){break a}c=a;if((d|0)!=46){break b}return b|-2147483648}c=a}while(1){f:{g:{if((g|0)!=46){if(g){break g}return JZ(a,c)|0}if(a>>>0>>0){break f}}g=w[c+1|0];c=c+1|0;continue}break}b=JZ(a,c)|-2147483648}return b|0}function jXa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;i=v[v[v[a+4>>2]+96>>2]+28>>2];j=Yf(v[v[v[b>>2]+428>>2]+(c<<2)>>2],0,10);c=v[a+160>>2];f=c;a:{b:{e=v[c+156>>2];if(!e){break b}g=v[e+4>>2];if(!(g&1)){break b}h=v[f+88>>2];if(h){e=v[v[f+4>>2]+100>>2];Ub[v[e+8>>2]](e,h);e=v[f+156>>2];g=v[e+4>>2]}v[f+88>>2]=0;v[e+4>>2]=g&-2;break a}v[f+88>>2]=0}v[c+24>>2]=0;v[c+28>>2]=0;v[c+152>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0;ic(c+72|0,0,72);c=Ub[v[i+72>>2]](v[a+160>>2],v[b+44>>2],j,d|8)|0;if(!c){b=v[a+160>>2];d=v[b+28>>2];v[a+24>>2]=v[b+24>>2];v[a+28>>2]=d;d=v[b+36>>2];v[a+32>>2]=v[b+32>>2];v[a+36>>2]=d;d=v[b+44>>2];v[a+40>>2]=v[b+40>>2];v[a+44>>2]=d;d=v[b+52>>2];v[a+48>>2]=v[b+48>>2];v[a+52>>2]=d;v[a+56>>2]=v[b+56>>2];v[a+60>>2]=v[b+60>>2];v[a+72>>2]=v[b+72>>2];v[a+124>>2]=v[b+124>>2];d=v[b+120>>2];v[a+116>>2]=v[b+116>>2];v[a+120>>2]=d;d=v[b+112>>2];v[a+108>>2]=v[b+108>>2];v[a+112>>2]=d;d=v[b+96>>2];v[a+92>>2]=v[b+92>>2];v[a+96>>2]=d;d=v[b+88>>2];v[a+84>>2]=v[b+84>>2];v[a+88>>2]=d;d=v[b+80>>2];v[a+76>>2]=v[b+76>>2];v[a+80>>2]=d;v[a+100>>2]=v[b+100>>2];v[a+104>>2]=v[b+104>>2];v[a+128>>2]=v[b+128>>2];v[a+132>>2]=v[b+132>>2];v[a+136>>2]=v[b+136>>2];v[a+140>>2]=v[b+140>>2]}return c|0}function HAa(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;a=gc(a,b,672);if(v[a+116>>2]){d=v[b+116>>2];k=a,l=Ub[v[v[d>>2]+8>>2]](d)|0,v[k+116>>2]=l}if(v[a+120>>2]){d=v[b+120>>2];k=a,l=Ub[v[v[d>>2]+8>>2]](d)|0,v[k+120>>2]=l}if(v[a+380>>2]){d=v[b+380>>2];k=a,l=Ub[v[v[d>>2]+8>>2]](d)|0,v[k+380>>2]=l}if(v[a+384>>2]){d=v[b+384>>2];k=a,l=Ub[v[v[d>>2]+8>>2]](d)|0,v[k+384>>2]=l}if(v[a+424>>2]){d=v[b+424>>2];k=a,l=Ub[v[v[d>>2]+8>>2]](d)|0,v[k+424>>2]=l}if(v[a+428>>2]){d=v[b+428>>2];k=a,l=Ub[v[v[d>>2]+8>>2]](d)|0,v[k+428>>2]=l}if(v[a+432>>2]){d=v[b+432>>2];k=a,l=Ub[v[v[d>>2]+8>>2]](d)|0,v[k+432>>2]=l}if(v[a+436>>2]){d=v[b+436>>2];k=a,l=Ub[v[v[d>>2]+8>>2]](d)|0,v[k+436>>2]=l}d=v[a+452>>2];if((d|0)>0){d=ed(d,8);v[a+448>>2]=d;gc(d,v[b+448>>2],v[a+452>>2]<<3)}a:{if(c){b=v[b+596>>2];c=fc(40);g=v[b+24>>2];d=v[b+28>>2];f=v[b>>2];h=A[b+8>>3];i=A[b+16>>3];e=v[b+32>>2];v[c+32>>2]=e;A[c+16>>3]=i;A[c+8>>3]=h;v[c>>2]=f;v[c+28>>2]=d;b=0;v[299999]=0;f=Q(3364,e|0,4)|0;e=v[299999];v[299999]=0;if((e|0)==1){break a}v[c+24>>2]=f;if((d|0)>=1){while(1){f=b<<2;e=v[f+g>>2];v[299999]=0;e=S(3557,e|0)|0;j=v[299999];v[299999]=0;if((j|0)==1){break a}v[f+v[c+24>>2]>>2]=e;b=b+1|0;if((d|0)!=(b|0)){continue}break}}v[a+596>>2]=c}v[a+668>>2]=0;return a|0}a=P()|0;O()|0;dc(c);T(a|0);L()}function L_a(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;i=-1;g=v[a+16>>2];a=w[g+6|0]|w[g+7|0]<<8|(w[g+8|0]<<16|w[g+9|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a:{if(!a){break a}j=g+13|0;while(1){b:{e=a+f>>>1|0;d=j+B(e,11)|0;h=d-3|0;h=w[h+1|0]<<8|w[h|0]<<16|w[h+2|0];c:{if(h>>>0>c>>>0){a=e;break c}if(c>>>0<=h>>>0){break b}f=e+1|0}if(a>>>0>f>>>0){continue}break a}break}e=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);d:{a=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!a){break d}c=a+g|0;a=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);h=c+7|0;f=0;while(1){if(a>>>0<=f>>>0){break d}c=a;a=a+f>>>1|0;j=h+(a<<2)|0;d=j-3|0;d=w[d+1|0]<<8|w[d|0]<<16|w[d+2|0];if(d>>>0>b>>>0){continue}i=1;f=a+1|0;a=c;if(d+w[j|0]>>>0>>0){continue}break}break a}a=e<<8&16711680|e<<24|(e>>>8&65280|e>>>24);e:{if(!a){break e}c=a+g|0;a=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!a){break e}g=c+7|0;f=0;while(1){f:{c=a+f>>>1|0;e=g+B(c,5)|0;d=e-3|0;d=w[d+1|0]<<8|w[d|0]<<16|w[d+2|0];g:{if(d>>>0>b>>>0){a=c;break g}if(b>>>0<=d>>>0){break f}f=c+1|0}if(a>>>0>f>>>0){continue}break e}break}i=0;if(w[e+1|0]|w[e|0]<<8){break a}}i=-1}return i|0}function eKa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=Qb-32|0;Qb=h;a:{b:{c:{e=v[a+8>>2];d:{if((e|0)!=v[a+12>>2]){d=e;break d}g=v[a+4>>2];d=v[a>>2];if(g>>>0>d>>>0){i=((g-d>>2)+1|0)/-2<<2;d=i+g|0;if((e|0)!=(g|0)){while(1){c=v[d>>2];f=v[g>>2];v[d>>2]=f;if(f){Ub[v[v[f>>2]+8>>2]](f)|0}if(c){Ub[v[v[c>>2]+12>>2]](c)|0}d=d+4|0;g=g+4|0;if((g|0)!=(e|0)){continue}break}e=v[a+4>>2]}v[a+8>>2]=d;v[a+4>>2]=e+i;break d}v[h+24>>2]=v[a+16>>2];c=e-d|0;c=c?c>>1:1;if(c>>>0>=1073741824){break c}f=c<<2;i=fc(f);v[h+8>>2]=i;j=f+i|0;v[h+20>>2]=j;c=(c&-4)+i|0;v[h+12>>2]=c;f=e-g|0;e:{if(!f){f=c;break e}f=c+f|0;d=c;while(1){e=v[g>>2];v[d>>2]=e;if(e){k=v[v[e>>2]+8>>2];v[299999]=0;S(k|0,e|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break b}}g=g+4|0;d=d+4|0;if((f|0)!=(d|0)){continue}break}e=v[a+8>>2];g=v[a+4>>2];d=v[a>>2]}v[h+16>>2]=f;v[a+12>>2]=j;v[a+8>>2]=f;v[a+4>>2]=c;v[a>>2]=i;if((e|0)!=(g|0)){while(1){e=e-4|0;c=v[e>>2];v[e>>2]=0;if(c){f=v[v[c>>2]+12>>2];v[299999]=0;S(f|0,c|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}}if((e|0)!=(g|0)){continue}break}}if(d){dc(d)}d=v[a+8>>2]}v[d>>2]=0;c=v[b>>2];v[d>>2]=c;b=a;if(c){Ub[v[v[c>>2]+8>>2]](c)|0;d=v[a+8>>2]}v[b+8>>2]=d+4;Qb=h+32|0;return}cf(274079);L()}a=P()|0;O()|0;v[h+16>>2]=d;zV(h+8|0);T(a|0);L()}W(0)|0;O()|0;lc();L()}function rT(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=Qb-48|0;Qb=e;v[e+32>>2]=13;v[e+16>>2]=13;v[e>>2]=13;a:{b:{c:{d:{if(v[b>>2]==7){e:{if(v[rc(v[b+8>>2],320958,e+32|0,0)>>2]==3){d=fc(12);v[299999]=0;c=Q(3316,d|0,v[e+40>>2])|0;f=v[299999];v[299999]=0;if((f|0)!=1){break e}a=P()|0;O()|0;break a}f=e+32|0;hc(f);if(v[rc(v[b+8>>2],321049,f,0)>>2]==3){d=fc(12);v[299999]=0;c=Q(3316,d|0,v[e+40>>2])|0;f=v[299999];v[299999]=0;if((f|0)!=1){break e}a=P()|0;O()|0;break a}if(!(!c|v[c>>2]!=3)){d=fc(12);c=v[c+8>>2];v[299999]=0;c=Q(3316,d|0,c|0)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break e}a=P()|0;O()|0;break a}d=fc(8);v[299999]=0;g=Q(3063,d|0,322563)|0;c=v[299999];v[299999]=0;if((c|0)==1){break d}f=fc(12);v[299999]=0;c=Q(3316,f|0,g|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break c}Dc(g);dc(d)}hc(e+32|0);f:{if(v[rc(v[b+8>>2],320999,e+16|0,0)>>2]==7){if(v[Ce(v[e+24>>2],321049,e)>>2]==9){b=v[a+152>>2];if(!b){d=fc(16);v[299999]=0;b=S(3315,d|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break b}v[a+152>>2]=d}d=fc(24);v[d>>2]=c;v[d+8>>2]=13;v[299999]=0;Q(3314,e|0,d+8|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){Tc(b,d);hc(e);break f}a=P()|0;O()|0;break a}dc(Vc(c));hc(e);break f}dc(Vc(c))}hc(e+16|0)}Qb=e+48|0;return}a=P()|0;O()|0;break a}a=P()|0;O()|0;d=f;break a}a=P()|0;O()|0}dc(d);T(a|0);L()}function M_a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;a:{i=v[a+16>>2];a=w[i+6|0]|w[i+7|0]<<8|(w[i+8|0]<<16|w[i+9|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);b:{if(!a){break b}j=i+13|0;while(1){c:{f=a+g>>>1|0;e=j+B(f,11)|0;h=e-3|0;h=w[h+1|0]<<8|w[h|0]<<16|w[h+2|0];d:{if(h>>>0>d>>>0){a=f;break d}if(d>>>0<=h>>>0){break c}g=f+1|0}if(a>>>0>g>>>0){continue}break b}break}f=w[e+4|0]|w[e+5|0]<<8|(w[e+6|0]<<16|w[e+7|0]<<24);e:{a=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!a){break e}d=a+i|0;a=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);h=d+7|0;g=0;while(1){if(a>>>0<=g>>>0){break e}d=a;a=a+g>>>1|0;j=h+(a<<2)|0;e=j-3|0;e=w[e+1|0]<<8|w[e|0]<<16|w[e+2|0];if(e>>>0>c>>>0){continue}g=a+1|0;a=d;if(e+w[j|0]>>>0>>0){continue}break}return Ub[v[v[b+12>>2]+12>>2]](b,c)|0}a=f<<8&16711680|f<<24|(f>>>8&65280|f>>>24);if(!a){break b}b=a+i|0;a=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(!a){break b}e=b+7|0;g=0;while(1){b=a+g>>>1|0;d=e+B(b,5)|0;f=d-3|0;f=w[f+1|0]<<8|w[f|0]<<16|w[f+2|0];f:{if(f>>>0>c>>>0){a=b;break f}if(c>>>0<=f>>>0){break a}g=b+1|0}if(a>>>0>g>>>0){continue}break}}return 0}return w[d+1|0]|w[d|0]<<8}function qca(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;e=Qb-16|0;Qb=e;a:{b:{if(!v[a+64>>2]){break b}b=v[a+68>>2];if(!b){break a}c:{c=v[a+92>>2];d:{if(c&16){if(v[a+24>>2]!=v[a+20>>2]){b=-1;if((Ub[v[v[a>>2]+52>>2]](a,-1)|0)==-1){break b}}c=a+72|0;while(1){b=v[a+68>>2];d=v[a+32>>2];d=Ub[v[v[b>>2]+20>>2]](b,c,d,d+v[a+52>>2]|0,e+12|0)|0;f=v[a+32>>2];b=v[e+12>>2]-f|0;if((Rc(f,1,b,v[a+64>>2])|0)!=(b|0)){break c}b=-1;e:{switch(d-1|0){case 1:break b;case 0:continue;default:break e}}break}if(!Qi(v[a+64>>2])){break d}break b}if(!(c&8)){break d}c=v[a+84>>2];v[e>>2]=v[a+80>>2];v[e+4>>2]=c;f:{g:{h:{if(w[a+98|0]){c=v[a+16>>2]-v[a+12>>2]|0;b=c;c=b>>31;break h}d=Ub[v[v[b>>2]+24>>2]](b)|0;c=v[a+40>>2]-v[a+36>>2]|0;b=c;c=b>>31;if((d|0)>=1){f=B(d,v[a+16>>2]-v[a+12>>2]|0);d=b+f|0;c=c+(f>>31)|0;c=b>>>0>d>>>0?c+1|0:c;b=d;break h}if(v[a+12>>2]!=v[a+16>>2]){break g}}d=0;break f}d=v[a+68>>2];d=Ub[v[v[d>>2]+32>>2]](d,e,v[a+32>>2],v[a+36>>2],v[a+12>>2]-v[a+8>>2]|0)|0;f=v[a+36>>2]-(d+v[a+32>>2]|0)|0;d=b+f|0;c=(f>>31)+c|0;c=b>>>0>d>>>0?c+1|0:c;b=d;d=1}if(nt(v[a+64>>2],0-b|0,0-(c+((b|0)!=0)|0)|0,1)){break c}if(d){b=v[e+4>>2];v[a+72>>2]=v[e>>2];v[a+76>>2]=b}b=v[a+32>>2];v[a+40>>2]=b;v[a+36>>2]=b;v[a+16>>2]=0;v[a+12>>2]=0;v[a+8>>2]=0;v[a+92>>2]=0}b=0;break b}b=-1}Qb=e+16|0;return b|0}ht();L()}function Bia(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;v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=990236;v[a+4>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;v[299999]=0;g=Z(4407,a+44|0,a+40|0,0,4)|0;f=v[299999];v[299999]=0;a:{b:{if((f|0)!=1){v[299999]=0;f=Z(4407,a+56|0,a+52|0,0,4)|0;h=v[299999];v[299999]=0;if((h|0)!=1){break b}b=P()|0;O()|0;Lc(g);break a}b=P()|0;O()|0;break a}v[a>>2]=990268;v[299999]=0;h=Z(4407,a+68|0,a- -64|0,0,3)|0;i=v[299999];v[299999]=0;c:{d:{e:{f:{g:{h:{if((i|0)!=1){v[299999]=0;i=Z(4407,a+80|0,a+76|0,0,3)|0;j=v[299999];v[299999]=0;if((j|0)==1){break h}v[299999]=0;j=Z(4407,a+92|0,a+88|0,0,3)|0;k=v[299999];v[299999]=0;if((k|0)==1){break g}v[a+12>>2]=c;v[a+8>>2]=b;if(v[a+40>>2]){v[299999]=0;U(5064,g|0,0,4);b=v[299999];v[299999]=0;if((b|0)==1){break f}}if(v[a+52>>2]){v[299999]=0;U(5064,f|0,0,4);b=v[299999];v[299999]=0;if((b|0)==1){break f}}v[a+36>>2]=e;v[a+32>>2]=d;if(v[a+40>>2]){v[299999]=0;U(5064,g|0,0,4);b=v[299999];v[299999]=0;if((b|0)==1){break f}}if(v[a+52>>2]){v[299999]=0;U(5064,f|0,0,4);b=v[299999];v[299999]=0;if((b|0)==1){break f}}return a|0}b=P()|0;O()|0;break c}b=P()|0;O()|0;break d}b=P()|0;O()|0;break e}b=P()|0;O()|0;Lc(j)}Lc(i)}Lc(h)}hx(a);T(b|0);L()}Qc(a);T(b|0);L()}function uYa(a){a=a|0;var b=0,c=0,d=0;if(a){c=v[a+100>>2];b=v[a+548>>2];if(b){if(b){Ub[v[c+8>>2]](c,b)}v[a+544>>2]=0;v[a+548>>2]=0}tv(a);v[a+532>>2]=0;b=v[a+132>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+132>>2]=0;b=v[a+136>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+136>>2]=0;b=v[a+140>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+140>>2]=0;b=v[a+144>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+144>>2]=0;b=v[a+148>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+148>>2]=0;b=v[a+432>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+432>>2]=0;b=v[a+428>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+428>>2]=0;b=v[a+424>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+424>>2]=0;b=v[a+408>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+408>>2]=0;b=v[a+412>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+412>>2]=0;hA(v[a+416>>2],c);b=v[a+416>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+416>>2]=0;b=v[a+392>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+392>>2]=0;b=v[a+396>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+396>>2]=0;b=v[a+400>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+400>>2]=0;b=v[a+384>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+384>>2]=0;b=v[a+388>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+388>>2]=0;b=v[a+364>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+364>>2]=0;b=v[a+496>>2];if(b){d=v[b+36>>2];if(d){Ub[v[c+8>>2]](c,d)}v[b+36>>2]=0;v[b+40>>2]=0;d=v[b+28>>2];if(d){Ub[v[c+8>>2]](c,d)}v[b+28>>2]=0;v[b+32>>2]=0;if(b){Ub[v[c+8>>2]](c,b)}}v[a+20>>2]=0;v[a+24>>2]=0}}function fia(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=Qb+-64|0;Qb=d;v[d+60>>2]=c;v[a>>2]=0;a:{b:{c:{d:{e:{f:{if(v[b+8>>2]){h=v[b+12>>2];v[299999]=0;g=Z(4407,d+48|0,d+56|0,32768,1)|0;e=v[299999];v[299999]=0;g:{h:{i:{j:{if((e|0)!=1){e=v[v[b>>2]+20>>2];v[299999]=0;e=S(e|0,b|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break j}v[299999]=0;e=Y(5162,d+32|0,1,(e?0:322139)|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break j}f=v[d+56>>2];t[f+32767|0]=0;qN(f,h,c);c=v[d+56>>2];if(!w[c+32767|0]){break g}v[299999]=0;c=aa(4369,d+8|0,276513,241921,1664,225653,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break i}v[299999]=0;R(4370,c|0);b=v[299999];v[299999]=0;if((b|0)==1){break h}L()}b=P()|0;O()|0;break b}b=P()|0;O()|0;break c}b=P()|0;O()|0;break d}b=P()|0;O()|0;qc(c);break d}v[299999]=0;U(5159,d+8|0,b|0,c|0);b=v[299999];v[299999]=0;if((b|0)==1){break f}v[299999]=0;Q(4344,a|0,d+8|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break e}a=v[d+8>>2];v[d+8>>2]=0;k:{if(!a){break k}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break k}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Et(e);Lc(g)}Qb=d- -64|0;return}b=P()|0;O()|0;break d}b=P()|0;O()|0;ec(d+8|0)}Et(e)}Lc(g)}ec(a);T(b|0);L()}W(0)|0;O()|0;lc();L()}function xDa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;c=Qb-16|0;Qb=c;v[c>>2]=13;d=v[a+28>>2];a:{if(!v[d+492>>2]){b=-1;a=v[a+108>>2];b:{if(!a){break b}a=v[a+4>>2];if(v[a+8>>2]==13){break b}a=v[a+16>>2];b=Ub[v[v[a>>2]+52>>2]](a)|0}kc(1,b,286290,0);break a}if(v[a+32>>2]){f=v[a+8>>2];Ub[v[v[f>>2]+156>>2]](f,d);v[a+32>>2]=0}if(v[a+100>>2]){d=v[a+8>>2];Ub[v[v[d>>2]+232>>2]](d,v[a+28>>2]);d=v[v[a+28>>2]+492>>2];h=Ub[v[v[d>>2]+12>>2]](d)|0;f=v[b+8>>2];if(v[f+12>>2]>=1){b=0;while(1){yc(f,b,c,0);e=v[c>>2];c:{if(e-1>>>0<=1){d=v[a+28>>2];g=A[d+496>>3]*(((e|0)==1?+v[c+8>>2]:A[c+8>>3])*-.001);d:{if(h){AS(d,0,g);break d}AS(d,A[d+568>>3]*g,0)}d=v[a+8>>2];Ub[v[v[d>>2]+188>>2]](d,v[a+28>>2],v[c>>2]==1?+v[c+8>>2]:A[c+8>>3]);break c}if((e|0)==3){ny(a,v[c+8>>2]);break c}d=-1;e=v[a+108>>2];e:{if(!e){break e}e=v[e+4>>2];if(v[e+8>>2]==13){break e}d=v[e+16>>2];d=Ub[v[v[d>>2]+52>>2]](d)|0}kc(1,d,272344,0)}hc(c);b=b+1|0;if((b|0)>2]){continue}break}}b=v[a+8>>2];Ub[v[v[b>>2]+236>>2]](b,v[a+28>>2]);break a}d=v[b+8>>2];if(v[d+12>>2]<1){break a}b=0;while(1){yc(d,b,c,0);f:{if(v[c>>2]!=3){break f}f=v[c+8>>2];e=v[a+8>>2];if(!(Ub[v[v[e>>2]+32>>2]](e)|0)){break f}e=v[a+8>>2];Ub[v[v[e>>2]+268>>2]](e,v[f>>2])}hc(c);b=b+1|0;if((b|0)>2]){continue}break}}Qb=c+16|0}function wPa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;if(v[b+4>>2]){d=v[b>>2];c=v[d+24>>2];f=v[d+16>>2];if((c|0)!=(f|0)){e=v[d+8>>2];f=f-1|0;a:{b:{if((f|0)==(c|0)){g=A[e+(c<<4)>>3];break b}i=e+(c<<4)|0;g=A[i>>3];j=e+(f<<4)|0;if(g!=A[j>>3]){break b}if(A[j+8>>3]==A[i+8>>3]){break a}}h=A[(e+(c<<4)|0)+8>>3];c=f+v[d+12>>2]|0;t[c|0]=w[c|0]&253;c=v[d+20>>2];e=v[d+16>>2];c:{if((c|0)>(e|0)){c=v[d+12>>2];break c}if(!c){v[d+20>>2]=32;c=32}if((c|0)<=(e|0)){while(1){c=c<<1;if((e|0)>=(c|0)){continue}break}v[d+20>>2]=c}k=d,l=be(v[d+8>>2],c<<4),v[k+8>>2]=l;c=be(v[d+12>>2],v[d+20>>2]);v[d+12>>2]=c;e=v[d+16>>2]}f=v[d+8>>2]+(e<<4)|0;A[f+8>>3]=h;A[f>>3]=g;t[c+e|0]=2;v[d+16>>2]=v[d+16>>2]+1;c=v[d+24>>2]}c=v[d+12>>2]+c|0;t[c|0]=w[c|0]|4;c=(v[d+16>>2]+v[d+12>>2]|0)-1|0;t[c|0]=w[c|0]|4;v[d+24>>2]=v[d+16>>2]}v[b+4>>2]=0}g=+v[a>>2]*.015625;h=+v[a+4>>2]*.015625;a=v[b>>2];d=v[a+16>>2];if(v[a+24>>2]!=(d-1|0)){b=v[a+20>>2];d:{if((d|0)<(b|0)){b=v[a+12>>2];break d}if(!b){v[a+20>>2]=32;b=32}if((b|0)<=(d|0)){while(1){b=b<<1;if((d|0)>=(b|0)){continue}break}v[a+20>>2]=b}k=a,l=be(v[a+8>>2],b<<4),v[k+8>>2]=l;b=be(v[a+12>>2],v[a+20>>2]);v[a+12>>2]=b;d=v[a+16>>2]}c=v[a+8>>2]+(d<<4)|0;A[c+8>>3]=h;A[c>>3]=g;t[b+d|0]=3;b=v[a+16>>2];v[a+24>>2]=b;v[a+16>>2]=b+1}return 0}function Tk(a){a=a|0;var b=0,c=0,d=0;v[a+8>>2]=0;v[a>>2]=981280;b=v[282402];v[a+20>>2]=0;v[a+12>>2]=b;v[a+16>>2]=999976;v[299999]=0;d=S(1,52)|0;b=v[299999];v[299999]=0;a:{b:{c:{d:{e:{if((b|0)!=1){v[299999]=0;c=Rm(d,8,5413,5414,5415,5416,5417);b=v[299999];v[299999]=0;if((b|0)==1){break e}v[c+4>>2]=v[c+4>>2]+1;b=v[a+20>>2];f:{if(!b){break f}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break f}Ub[v[v[b>>2]+4>>2]](b)}v[a+20>>2]=c;v[a+24>>2]=999976;v[a+28>>2]=0;v[299999]=0;d=S(1,52)|0;b=v[299999];v[299999]=0;if((b|0)==1){break c}v[299999]=0;c=Rm(d,8,5413,5414,5415,5416,5417);b=v[299999];v[299999]=0;if((b|0)==1){break d}v[c+4>>2]=v[c+4>>2]+1;b=v[a+28>>2];g:{if(!b){break g}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break g}Ub[v[v[b>>2]+4>>2]](b)}t[a+32|0]=0;v[a+28>>2]=c;return a|0}b=P()|0;O()|0;v[a+16>>2]=981312;break a}b=P()|0;O()|0;dc(d);v[a+16>>2]=981312;c=v[a+20>>2];if(!c){break a}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(!d){Ub[v[v[c>>2]+4>>2]](c)}v[a+20>>2]=0;break a}b=P()|0;O()|0;dc(d);v[a+24>>2]=981312;c=v[a+28>>2];if(!c){break b}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(!d){Ub[v[v[c>>2]+4>>2]](c)}v[a+28>>2]=0;break b}b=P()|0;O()|0;v[a+24>>2]=981312}v[a+16>>2]=981312;c=v[a+20>>2];if(!c){break a}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(!d){Ub[v[v[c>>2]+4>>2]](c)}v[a+20>>2]=0}ec(a+8|0);T(b|0);L()}function eA(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{if(!a){break a}d=v[a+4>>2];b=v[d+84>>2];if(!b){break a}c=v[d+96>>2];g=v[c+8>>2];if((a|0)!=(b|0)){while(1){e=v[b+8>>2];if(!e){break a}f=b;b=e;if((b|0)!=(a|0)){continue}break}}v[(f?f+8|0:d+84|0)>>2]=v[a+8>>2];f=g;b=v[a+20>>2];if(b){Ub[b|0](a);c=v[v[a+4>>2]+96>>2];f=v[c+8>>2]}b=v[v[c+12>>2]+68>>2];if(b){Ub[b|0](a)}d=v[a+156>>2];b:{if(!d){v[a+88>>2]=0;break b}b=v[d+4>>2];c:{if(b&1){e=v[a+88>>2];if(e){b=v[v[a+4>>2]+100>>2];Ub[v[b+8>>2]](b,e);d=v[a+156>>2];b=v[d+4>>2]}v[a+88>>2]=0;v[d+4>>2]=b&-2;break c}v[a+88>>2]=0}if(!(w[v[c>>2]+1|0]&2)){c=v[d>>2];if(c){d=v[c>>2];b=v[c+24>>2];if(b){Ub[v[d+8>>2]](d,b)}v[c+24>>2]=0;b=v[c+28>>2];if(b){Ub[v[d+8>>2]](d,b)}v[c+28>>2]=0;b=v[c+32>>2];if(b){Ub[v[d+8>>2]](d,b)}v[c+32>>2]=0;b=v[c+40>>2];if(b){Ub[v[d+8>>2]](d,b)}v[c+40>>2]=0;b=v[c+52>>2];if(b){Ub[v[d+8>>2]](d,b)}v[c+20>>2]=0;v[c+36>>2]=0;v[c+44>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+12>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;v[c+88>>2]=0;b=v[c+24>>2];v[c+56>>2]=v[c+20>>2];v[c+60>>2]=b;b=v[c+32>>2];e=c- -64|0;v[e>>2]=v[c+28>>2];v[e+4>>2]=b;b=v[c+40>>2];v[c+72>>2]=v[c+36>>2];v[c+76>>2]=b;b=v[c+48>>2];v[c+80>>2]=v[c+44>>2];v[c+84>>2]=b;Ub[v[d+8>>2]](d,c);d=v[a+156>>2]}v[d>>2]=0}Ub[v[f+8>>2]](f,d);v[a+156>>2]=0}Ub[v[g+8>>2]](g,a)}}function Is(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(v[a+92>>2]){wj(a+92|0)}a:{if(!a){break a}b=v[a>>2];if(!b){break a}mI(b);Zh(b+28|0);g=b+68|0;b:{if(!g){break b}c=v[g>>2];if(!c){break b}c:{f=v[c>>2];if((f|0)<1){break c}d=v[c+8>>2];if(!d){break c}while(1){d:{if(!d){break d}i=(h<<2)+d|0;e=v[i>>2];if(!e){break d}d=v[e+8>>2]-1|0;v[e+8>>2]=d;if(!d){d=0;if(v[e>>2]>=1){while(1){dd(v[e+12>>2]+(d<<2)|0);d=d+1|0;if((d|0)>2]){continue}break}}dc(v[e+12>>2]);nn(e+16|0);dc(e);f=v[c>>2]}v[i>>2]=0}h=h+1|0;if((f|0)<=(h|0)){break c}d=v[c+8>>2];continue}}dc(v[c+8>>2]);nn(c+12|0);dc(c);v[g>>2]=0}wj(b+72|0);wj(b+76|0);d=0;g=b+80|0;e:{if(!g){break e}e=v[g>>2];if(!e){break e}f:{f=v[e>>2];if((f|0)<1){break f}c=v[e+8>>2];if(!c){break f}while(1){g:{if(!c){break g}h=(d<<2)+c|0;c=v[h>>2];if(!c){break g}i=v[c+8>>2];v[c+8>>2]=i-1;if((i|0)<=1){f=v[c+20>>2];if(f){dc(f)}dc(c);f=v[e>>2]}v[h>>2]=0}d=d+1|0;if((f|0)<=(d|0)){break f}c=v[e+8>>2];continue}}dc(v[e+8>>2]);dc(e);v[g>>2]=0}Zh(b+84|0);Zh(b+48|0);wq(b+88|0);wq(b+92|0);Zh(b+96|0);Zh(b+100|0);wq(b+104|0);wq(b+108|0);dc(b);v[a>>2]=0}b=v[a+100>>2];if(b){v[a+104>>2]=b;dc(b)}DA(a+76|0,v[a+80>>2]);b=v[a+64>>2];if(b){v[a+68>>2]=b;dc(b)}b=v[a+52>>2];if(b){v[a+56>>2]=b;dc(b)}OI(a+36|0,v[a+40>>2]);NI(a+24|0,v[a+28>>2]);dc(a)}function Y5a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=Qb+-64|0;Qb=c;b=x[a+26306>>1];e=bd(b,1);if(!e){b=v[a+190640>>2];a:{if(b){d=v[a+25208>>2];v[c+20>>2]=47674;v[c+16>>2]=d;zd(b,4338,c+16|0);break a}b=v[a+25208>>2];v[c+4>>2]=47674;v[c>>2]=b;wc(v[252391],4338,c)}sd(a+190484|0,1);L()}Ub[v[v[a>>2]+8>>2]](v[a+4>>2],B(b,x[a+26312>>1]),1)|0;b=x[a+26306>>1];if(x[a+26308>>1]){h=v[252391];while(1){d=0;f=Ub[v[v[a>>2]>>2]](v[a+4>>2],e,1,b)|0;b=x[a+26306>>1];if((f|0)<(b|0)){b:{if(v[a+26160>>2]){break b}v[c+48>>2]=v[a+25208>>2];wc(h,8292,c+48|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,h);break b}b=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[c+32>>2]=b;v[c+36>>2]=b>>31;wc(h,14622,c+32|0)}v[a+26160>>2]=1;b=x[a+26306>>1]}c:{if(b){k=g<<1&14;while(1){f=x[((w[d+e|0]<<1)+a|0)+26484>>1];i=d-x[a+26314>>1]|0;d:{if(i>>>0>1]){b=x[a+26316>>1];u[(v[a+26352>>2]+(B(x[a+26320>>1],g>>>b|0)+(i>>>b|0)<<3)|0)+((v[a+26028>>2]>>>((i&1|k)<<1)&3)<<1)>>1]=f;b=x[a+26306>>1];break d}j=f+j|0}d=d+1|0;if(d>>>0>>0){continue}break}break c}b=0}d=x[a+26308>>1];g=g+1|0;if(d>>>0>g>>>0){continue}break}}dc(e);e=x[a+26310>>1];if(e+1>>>0>>0){v[a+26120>>2]=(j>>>0)/(B(b-e|0,d)>>>0)}if(!Oc(a+25797|0,48233,3)){v[a+26120>>2]=0}v[a+26124>>2]=x[a+26994>>1];Qb=c- -64|0}function nU(a,b){var c=0,d=0,e=0,f=0,g=0;f=Qb-16|0;Qb=f;a:{if(v[a+292>>2]){break a}c=v[a+36>>2];if((v[c+20>>2]-v[c+16>>2]|0)>249){break a}nd(a)}d=v[a+36>>2];c=v[d+16>>2];b:{if(!(w[c|0]==60&w[c+1|0]==47)){Nd(a,74,353108);break b}v[a+200>>2]=v[a+200>>2]+2;v[d+16>>2]=c+2;v[d+32>>2]=v[d+32>>2]+2;c=w[c+2|0];if((c|0)==37){wd(a);d=v[a+36>>2];c=w[v[d+16>>2]]}c:{if(c){break c}if((cd(d)|0)>0){break c}vd(a)}d=mU(a,v[a+184>>2]);d:{if(v[a+292>>2]){break d}c=v[a+36>>2];if((v[c+20>>2]-v[c+16>>2]|0)>249){break d}nd(a)}Bd(a);c=v[a+36>>2];e=v[c+16>>2];g=w[e|0];e:{if(!((g|0)==62&(g-9&255)>>>0>1)){if(v[a+172>>2]==-1?v[a+212>>2]:0){break e}v[a+84>>2]=73;v[f>>2]=345774;oc(0,0,0,a,0,1,73,3,0,0,0,0,350078,f);v[a+12>>2]=0;if(v[a+288>>2]){break e}v[a+212>>2]=1;break e}v[c+16>>2]=e+1;v[c+32>>2]=v[c+32>>2]+1;v[a+200>>2]=v[a+200>>2]+1;if(w[e+1|0]){break e}cd(c)}if((d|0)!=1){zy(a,76,349795,v[a+184>>2],b,d?d:282804)}b=v[a>>2];f:{if(!b){break f}b=v[b+60>>2];if(v[a+212>>2]|!b){break f}Ub[b|0](v[a+4>>2],v[a+184>>2])}c=v[a+188>>2];if((c|0)>=1){e=c-1|0;v[a+188>>2]=e;d=v[a+196>>2];v[a+184>>2]=(c|0)!=1?v[(d+(c<<2)|0)-8>>2]:0;v[d+(e<<2)>>2]=0}b=v[a+236>>2];if((b|0)<1){break b}c=b-1|0;v[a+236>>2]=c;d=a;a=v[a+244>>2];v[d+232>>2]=a+(((b|0)==1?0:b-2|0)<<2);v[a+(c<<2)>>2]=-1}Qb=f+16|0}function me(a,b,c){var d=0,e=0,f=0,g=0,h=0;if(!b){return 6}if(!a){return 40}d=v[a+32>>2];a:{while(1){b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{g=w[b|0];switch(g-4|0){case 14:case 15:break g;case 12:case 13:break h;case 10:case 11:break i;case 8:case 9:break j;case 20:case 21:break k;case 0:break l;case 4:case 5:break d;case 18:case 19:break e;case 16:case 17:break f;default:break b}}d=ne(a,x[b+2>>1]);if(d){break a}d=v[a+32>>2];h=1;b=b+4|0;continue}f=w[b+1|0];e=f+d|0;if(e>>>0>y[a+36>>2]){d=85;break a}if((g|0)!=24){d=e;b=b+4|0;continue}gc(x[b+2>>1]+c|0,d,f);d=e;b=b+4|0;continue}e=w[d+1|0]|w[d|0]<<8;f=16;d=d+2|0;break c}e=w[d|0]|w[d+1|0]<<8;f=16;d=d+2|0;break c}e=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);f=0;d=d+4|0;break c}e=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);f=0;d=d+4|0;break c}f=8;e=w[d+2|0]|(w[d+1|0]<<8|w[d|0]<<16);d=d+3|0;break c}f=8;e=w[d|0]|(w[d+1|0]<<8|w[d+2|0]<<16);d=d+3|0;break c}e=w[d|0];f=24;d=d+1|0}e=g&1?e<>f:e;f=x[b+2>>1]+c|0;m:{n:{switch(w[b+1|0]-1|0){case 0:t[f|0]=e;break m;case 1:u[f>>1]=e;break m;default:break n}}v[f>>2]=e}b=b+4|0;continue}break}v[a+32>>2]=d;d=0}if(h){if(v[a+20>>2]){b=v[a>>2];if(b){c=v[a+28>>2];Ub[v[c+8>>2]](c,b)}v[a>>2]=0}v[a+32>>2]=0;v[a+36>>2]=0}return d}function wJa(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{h=v[c>>2];if(h>>>0>=d>>>0){break a}k=v[a+396>>2];n=k+8|0;while(1){if(y[f>>2]>=g>>>0){break a}l=v[k+52>>2];i=v[a+272>>2]-l|0;j=d-h|0;i=i>>>0>>0?i:j;Ub[v[v[a+408>>2]+4>>2]](a,(h<<2)+b|0,n,l,i);v[c>>2]=i+v[c>>2];h=i+v[k+52>>2]|0;v[k+52>>2]=h;l=v[k+48>>2]-i|0;v[k+48>>2]=l;i=v[a+272>>2];b:{c:{if(!((i|0)<=(h|0)|l)){j=0;l=k;m=v[a+76>>2];if((m|0)>=1){while(1){if((h|0)<(i|0)){o=h-1|0;m=v[(k+(j<<2)|0)+8>>2];p=v[a+28>>2];while(1){rm(m,o,m,h,1,p);h=h+1|0;if((i|0)!=(h|0)){continue}break}m=v[a+76>>2]}j=j+1|0;if((m|0)>(j|0)){i=v[a+272>>2];h=v[k+52>>2];continue}break}i=v[a+272>>2]}v[l+52>>2]=i;break c}if((h|0)!=(i|0)){break b}}Ub[v[v[a+412>>2]+4>>2]](a,n,0,e,v[f>>2]);v[k+52>>2]=0;v[f>>2]=v[f>>2]+1}d:{if(v[k+48>>2]){break d}h=v[f>>2];if(h>>>0>=g>>>0){break d}e:{c=v[a+76>>2];if((c|0)<1){break e}j=v[a+84>>2];b=0;while(1){d=(B(v[j+40>>2],v[j+12>>2])|0)/v[a+280>>2]|0;h=B(d,h);d=B(d,g);if((h|0)<(d|0)){k=B(v[j+36>>2],v[j+28>>2]);i=h-1|0;c=v[(b<<2)+e>>2];while(1){rm(c,i,c,h,1,k);h=h+1|0;if((d|0)!=(h|0)){continue}break}c=v[a+76>>2]}b=b+1|0;if((c|0)<=(b|0)){break e}j=j+88|0;h=v[f>>2];continue}}v[f>>2]=g;return}h=v[c>>2];if(h>>>0>>0){continue}break}}}function o9a(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;a:{if(w[a+286|0]|!w[a+285|0]|(w[a+287|0]|w[a+288|0])){break a}if(w[a+289|0]){break a}if(!(1<>>0<=5:0)){pc(a,1028,0,0);return 1028}b:{c:{if(c){f=w[d|0]|w[d+1|0]<<8;f=f<<8|f>>>8;u[a+1150>>1]=f;if(c>>>0<=2){u[a+1152>>1]=f;g=f;break c}g=w[d+2|0]|w[d+3|0]<<8;g=g<<8|g>>>8;u[a+1152>>1]=g;if(c>>>0<5){break c}i=w[d+4|0];t[a+1148|0]=i;break b}u[a+1150>>1]=1;u[a+1152>>1]=65535;i=2;t[a+1148|0]=2;f=1;g=65535;break b}t[a+1148|0]=0}h=0;d:{if(!w[a+114|0]){break d}h=f&65535;j=g&65535;f=Ub[v[a+152>>2]](36)|0;if(!f){pc(a,1,0,0);h=1;break d}v[f+4>>2]=729;v[f>>2]=730;g=v[a+700>>2];e:{if(g){v[g+8>>2]=f;break e}v[a+696>>2]=f}v[f+8>>2]=0;v[f+12>>2]=g;v[a+700>>2]=f;v[f+16>>2]=v[a+436>>2];v[f+20>>2]=v[a+440>>2];v[f+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=f}t[f+32|0]=i;u[f+30>>1]=j;u[f+28>>1]=h;h=0}f=h;f:{if(f){break f}f=Uv(a);if(f){break f}g:{if(!w[a+112|0]){break g}f=Ub[v[b+4>>2]](a,b,e)|0;if(f){break f}a=v[e>>2];b=!c;t[a+32|0]=b;if(b){break g}b=w[d|0]|w[d+1|0]<<8;b=b<<8|b>>>8;u[a+34>>1]=b;if(c>>>0<=2){u[a+36>>1]=b;break g}b=w[d+2|0]|w[d+3|0]<<8;u[a+36>>1]=b<<8|b>>>8;if(c>>>0<5){break g}t[a+38|0]=w[d+4|0]}f=0}return f|0}pc(a,1029,0,0);return 1029}function Jw(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0;k=Qb-16|0;Qb=k;a:{b:{c:{if((c|0)<=36){f=w[a|0];if(f){break c}g=a;break b}v[299402]=28;d=0;e=0;break a}g=a;d:{while(1){f=f<<24>>24;if(!((f|0)==32|f-9>>>0<5)){break d}f=w[g+1|0];h=g+1|0;g=h;if(f){continue}break}g=h;break b}e:{f=w[g|0];switch(f-43|0){case 0:case 2:break e;default:break b}}m=(f|0)==45?-1:0;g=g+1|0}f:{if(!(c&-17|w[g|0]!=48)){o=1;if((w[g+1|0]&223)==88){g=g+2|0;l=16;break f}g=g+1|0;l=c?c:8;break f}l=c?c:10}p=l;q=l>>31;c=0;while(1){g:{f=-48;h=t[g|0];h:{if((h-48&255)>>>0<10){break h}f=-87;if((h-97&255)>>>0<26){break h}f=-55;if((h-65&255)>>>0>25){break g}}h=f+h|0;if((h|0)>=(l|0)){break g}xh(k,p,q,0,0,j,i,0,0);f=1;i:{if(v[k+8>>2]|v[k+12>>2]){break i}r=Bib(j,i,p,q);n=Tb;s=h>>31;u=s^-1;if((n|0)==(u|0)&(h^-1)>>>0>>0|n>>>0>u>>>0){break i}i=n+s|0;f=h+r|0;i=f>>>0>>0?i+1|0:i;j=f;o=1;f=c}g=g+1|0;c=f;continue}break}if(b){v[b>>2]=o?g:a}j:{k:{if(c){v[299402]=68;a=d&1;m=a?0:m;j=d;i=e;break k}if((e|0)==(i|0)&d>>>0>j>>>0|e>>>0>i>>>0){break j}a=d&1}if(!(a|m)){v[299402]=68;a=d;d=a-1|0;e=e-(a>>>0<1)|0;break a}if((e|0)==(i|0)&d>>>0>=j>>>0|e>>>0>i>>>0){break j}v[299402]=68;break a}a=m;b=a^j;d=b-a|0;c=a>>31;e=(c^i)-((a>>>0>b>>>0)+c|0)|0}Qb=k+16|0;Tb=e;return d}function MK(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;g=Qb-16|0;Qb=g;a:{b:{c:{d:{b=v[a+584>>2];if(!w[b+205|0]){if(!w[b+303|0]){zc(v[a+628>>2],87264,53690,0);break b}if(!Em(b,g+14|0)){break b}c=w[b+194|0];if(x[g+14>>1]!=((c<<1)+6|0)){zc(v[a+628>>2],87264,53690,0);break b}e=x[b+1148>>1];if(!e){if(!fj(b)){break b}e=x[b+1148>>1];if(!e){break a}c=w[b+194|0]}f=v[b+1152>>2];h=w[f|0];d=e-1|0;u[b+1148>>1]=d;e=f+1|0;v[b+1152>>2]=e;c=c&255;if((c|0)!=(h|0)){break d}if(c){a=0;while(1){if(!(d&65535)){if(!fj(b)){d=0;break b}d=x[b+1148>>1];if(!d){break a}}c=v[b+1152>>2];e=w[c|0];u[b+1148>>1]=d-1;v[b+1152>>2]=c+1;c=w[b+193|0]+a|0;t[(c+b|0)+325|0]=e;d=x[b+1148>>1];if(!d){if(!fj(b)){d=0;break b}d=x[b+1148>>1];if(!d){break a}c=w[b+193|0]+a|0}e=v[b+1152>>2];f=w[e|0];u[b+1148>>1]=d-1;v[b+1152>>2]=e+1;t[(b+c|0)+328|0]=f;d=x[b+1148>>1];a=a+1|0;if(a>>>0>2]}a=(d&65535)>>>0<3?d:3;c=d-a|0;u[b+1148>>1]=c;v[b+1152>>2]=(a&65535)+e;d=1;e=a^3;f=e&65535;if(!f){break b}if(c&65535){break c}t[b+1140|0]=0;a=v[b+1144>>2];c=(a>>>0>>0?a:e)&65535;v[b+1144>>2]=a-c;v[b+1136>>2]=c+v[b+1136>>2];break b}X(53437,7087,1640,87264);L()}d=0;zc(v[a+628>>2],87264,53690,0);break b}X(47616,7087,2034,87099);L()}Qb=g+16|0;return d}X(43294,7087,1949,87085);L()}function __(a,b,c){var d=0,e=0,f=0,g=0,h=0;g=Qb-32|0;Qb=g;h=v[b+72>>2];a:{if((h|0)==1651078259){break a}b:{if(!(w[v[b+156>>2]+42|0]&16)){break b}d=v[b+4>>2];f=v[b+12>>2];v[g+24>>2]=0;if(!(w[d+8|0]&8)|(!d|f>>>0>=y[d+16>>2])){break b}e=v[v[d+540>>2]+132>>2];if(!e){break b}if(!(Ub[e|0](d,f,g+12|0,g+8|0,g+16|0)|0)){h=v[b+72>>2];break b}if(!YH(d,0)){e=v[d+540>>2];c:{while(1){if(mn(d,v[g+12>>2],v[v[b+156>>2]+40>>2]&-1048581|4)){break c}if(Ub[v[e+136>>2]](d,v[g+8>>2],b,v[d+84>>2])|0){break c}d:{if(!(w[d+8|0]&8)|f>>>0>=y[d+16>>2]){break d}h=v[v[d+540>>2]+132>>2];if(!h){break d}if(Ub[h|0](d,f,g+12|0,g+8|0,g+16|0)|0){continue}}break}v[b+72>>2]=1651078259;eA(v[d+84>>2]);f=0;break a}eA(v[d+84>>2])}h=1869968492;v[b+72>>2]=1869968492}e:{if((h|0)!=1869968492){f=7;if(!a){break a}e=v[a+148>>2];if(!e){break a}while(1){d=v[e+8>>2];if(v[d+16>>2]==(h|0)){break e}e=v[e+4>>2];if(e){continue}break}break a}d=v[a+156>>2];if(!d){f=7;break a}e=v[a+148>>2]}f=0;d=Ub[v[d+60>>2]](d,b,c,0)|0;if(!d){break a}h=a+148|0;while(1){f:{g:{if((d&255)!=19){break g}e=v[(e?e+4|0:h)>>2];if(!e){break g}f=v[b+72>>2];while(1){a=v[e+8>>2];if((f|0)==v[a+16>>2]){break f}e=v[e+4>>2];if(e){continue}break}}f=d;break a}f=0;d=Ub[v[a+60>>2]](a,b,c,0)|0;if(d){continue}break}}Qb=g+32|0;return f}function tg(a,b,c){var d=0;a:{b:{c:{d:{e:{f:{g:{h:{c=c-1|0;switch(c|0){case 2:case 7:break c;case 11:break d;case 10:break e;case 4:case 9:break f;case 3:case 8:break g;case 0:case 5:break h;default:break b}}if(v[b+4>>2]){break b}return 0}if(y[b+4>>2]>3){break b}break a}if(y[b+4>>2]>7){break b}break a}if(y[b+4>>2]<4){break a}return+z[v[b>>2]>>2]}if(y[b+4>>2]<8){break a}return A[v[b>>2]>>3]}if(y[b+4>>2]<=1){break a}}b=v[b>>2];i:{switch(c|0){case 5:return+t[b|0];case 0:return+w[b|0];case 2:a=v[a+264>>2];return+(w[!a+b|0]<<8|w[((a|0)!=0)+b|0]);case 3:j:{if(v[a+264>>2]){c=w[b+1|0]<<16|w[b|0]<<24|w[b+2|0]<<8;b=b+3|0;break j}c=w[b+2|0]<<16|w[b+3|0]<<24|w[b+1|0]<<8}return+((w[b|0]|c)>>>0);case 4:case 9:k:{if(v[a+264>>2]){a=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);c=w[b+5|0]<<16|w[b+4|0]<<24|w[b+6|0]<<8;b=b+7|0;break k}c=w[b+6|0]<<16|w[b+7|0]<<24|w[b+5|0]<<8;a=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);b=b+4|0}b=w[b|0]|c;if(!b){break a}return+(a|0)/+(b|0);case 7:a=v[a+264>>2];return+((w[!a+b|0]<<8|w[((a|0)!=0)+b|0])<<16>>16);case 8:break i;default:break a}}l:{if(v[a+264>>2]){c=w[b+1|0]<<16|w[b|0]<<24|w[b+2|0]<<8;b=b+3|0;break l}c=w[b+2|0]<<16|w[b+3|0]<<24|w[b+1|0]<<8}d=+(w[b|0]|c)}return d}function RMa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=v[a+8>>2];k=v[a+12>>2];if(g>>>0>>0){i=v[a+20>>2];c=v[a+4>>2];if(v[c+52>>2]==1){Fh(c,851620,4,a+16|0,i,a+24|0,-1,b);c=v[a+4>>2];v[c+52>>2]=0}d=v[a+16>>2];f=v[c+56>>2];a:{if(!f){h=g;c=0;break a}v[c+56>>2]=0;c=1}b:{while(1){c:{d:{e:{f:{g:{h:{i:{if(!c){if(h>>>0>=k>>>0){g=h;break b}if(d>>>0>=i>>>0){g=h;break b}g=h+2|0;f=x[h>>1];c=g;if((f&63488)!=55296){break i}if((f&64512)!=55296){break h}c=1;continue}if(g>>>0>=k>>>0){break e}h=x[g>>1];if((h&64512)!=56320){break h}f=(h+(f<<10)|0)-56613888|0;c=g+2|0}h=c;j:{if(d>>>0>>0){t[d|0]=f;d=d+1|0;break j}c=v[a+4>>2];e=t[c+63|0];t[c+63|0]=e+1;t[(c+e|0)+76|0]=f;v[b>>2]=15}l=f>>>16|0;c=f>>>8|0;if(d>>>0>>0){break g}e=v[a+4>>2];j=t[e+63|0];t[e+63|0]=j+1;t[(e+j|0)+76|0]=c;v[b>>2]=15;break f}v[v[a+4>>2]+56>>2]=f;break c}t[d|0]=c;d=d+1|0}c=l&31;k:{if(d>>>0>=i>>>0){e=v[a+4>>2];j=t[e+63|0];t[e+63|0]=j+1;t[(e+j|0)+76|0]=c;v[b>>2]=15;break k}t[d|0]=c;d=d+1|0}if(d>>>0>=i>>>0){c=v[a+4>>2];e=t[c+63|0];t[c+63|0]=e+1;t[(c+e|0)+76|0]=0;v[b>>2]=15;break d}t[d|0]=0;d=d+1|0;break d}v[v[a+4>>2]+56>>2]=f;if(w[a+2|0]){break c}break b}c=0;continue}break}v[b>>2]=12}if(!(d>>>0>>0|g>>>0>=k>>>0|v[b>>2]>0)){v[b>>2]=15}v[a+8>>2]=g;v[a+16>>2]=d}}function iK(a){var b=0,c=0,d=0,e=0,f=0,g=0;d=jc(72);if(!d){return 0}d=ic(d,0,72);v[d>>2]=v[a>>2];v[d+4>>2]=v[a+4>>2];v[d+8>>2]=v[a+8>>2];v[d+12>>2]=v[a+12>>2];f=d,g=qB(v[a+16>>2]),v[f+16>>2]=g;a:{c=v[a+20>>2];if(c){b=ti();if(!b){break a}if(Ni(b,c)){break a}v[d+20>>2]=b}c=v[a+24>>2];if(c){e=1;b=ti();if(!b){break a}if(Ni(b,c)){break a}v[d+24>>2]=b}c=v[a+28>>2];if(c){e=2;b=ti();if(!b){break a}if(Ni(b,c)){break a}v[d+28>>2]=b}c=v[a+32>>2];if(c){e=3;b=ti();if(!b){break a}if(Ni(b,c)){break a}v[d+32>>2]=b}c=v[a+36>>2];if(c){e=4;b=ti();if(!b){break a}if(Ni(b,c)){break a}v[d+36>>2]=b}c=v[a+40>>2];if(c){e=5;b=ti();if(!b){break a}if(Ni(b,c)){break a}v[d+40>>2]=b}c=v[a+44>>2];if(c){e=6;b=ti();if(!b){break a}if(Ni(b,c)){break a}v[d+44>>2]=b}c=v[a+48>>2];if(c){e=7;b=ti();if(!b){break a}if(Ni(b,c)){break a}v[d+48>>2]=b}c=v[a+52>>2];if(c){e=8;b=ti();if(!b){break a}if(Ni(b,c)){break a}v[d+52>>2]=b}c=v[a+56>>2];if(c){e=9;b=ti();if(!b){break a}if(Ni(b,c)){break a}v[d+56>>2]=b}c=v[a+60>>2];if(c){e=10;b=ti();if(!b){break a}if(Ni(b,c)){break a}v[d+60>>2]=b}c=v[a- -64>>2];if(c){e=11;b=ti();if(!b){break a}if(Ni(b,c)){break a}v[d+64>>2]=b}b=v[a+68>>2];if(b){e=12;a=ti();if(!a){break a}if(Ni(a,b)){break a}v[d+68>>2]=a}return d}v[(d+(e<<2)|0)+20>>2]=0;return 0}function dQ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=Qb-16|0;Qb=d;a:{b:{c:{e=v[a+56>>2];if(!e){break c}v[e+4>>2]=v[e+4>>2]+1;c=a+56|0;e=v[c>>2];v[d+8>>2]=e;if(!e){break c}v[299999]=0;Q(4336,c|0,0)|0;c=v[299999];v[299999]=0;d:{e:{f:{g:{if((c|0)==1){break g}if(!b){break d}b=v[294588];if(!b){v[299999]=0;b=S(1,28)|0;c=v[299999];v[299999]=0;if((c|0)==1){break g}v[b+4>>2]=0;v[b+24>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=982456;v[b+16>>2]=0;v[b+20>>2]=0;v[299999]=0;c=b+8|0;v[c>>2]=982500;v[c+4>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;c=v[299999];v[299999]=0;if((c|0)==1){a=P()|0;O()|0;Qc(b);dc(b);break e}v[294588]=b}v[299999]=0;v[d>>2]=0;Q(4336,d|0,a|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break g}v[299999]=0;U(4459,b|0,e+44|0,d|0);a=v[299999];v[299999]=0;if((a|0)==1){break f}a=v[d>>2];v[d>>2]=0;if(!a){break d}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break d}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break d}}break a}a=P()|0;O()|0;break e}a=P()|0;O()|0;ec(d)}ec(d+8|0);T(a|0);L()}v[299999]=0;a=v[e+4>>2]-1|0;v[e+4>>2]=a;b=v[299999];v[299999]=0;if((b|0)!=1){if(a){break b}v[299999]=0;R(4338,e|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}}break a}v[d+8>>2]=0}Qb=d+16|0;return}W(0)|0;O()|0;lc();L()}function zib(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{g=b;if(g){e=c;if(!e){break j}f=d;if(!f){break i}f=E(f)-E(g)|0;if(f>>>0<=31){break h}break b}if((d|0)==1|d>>>0>1){break b}b=(a>>>0)/(c>>>0)|0;Rb=a-B(b,c)|0;Sb=0;Tb=0;return b}e=d;if(!a){break g}if(!e){break f}f=e-1|0;if(f&e){break f}Rb=a;Sb=f&g;a=g>>>Aib(e)|0;Tb=0;return a}f=e-1|0;if(!(f&e)){break e}j=(E(e)+33|0)-E(g)|0;h=0-j|0;break c}j=f+1|0;h=63-f|0;break c}Rb=0;a=(g>>>0)/(e>>>0)|0;Sb=g-B(a,e)|0;Tb=0;return a}f=E(e)-E(g)|0;if(f>>>0<31){break d}break b}Rb=a&f;Sb=0;if((e|0)==1){break a}c=a;a=Aib(e);d=a&31;if((a&63)>>>0>=32){f=0;a=b>>>d|0}else{f=b>>>d|0;a=((1<>>d}Tb=f;return a}j=f+1|0;h=63-f|0}e=b;g=a;f=j&63;i=f&31;if((f&63)>>>0>=32){f=0;l=e>>>i|0}else{f=e>>>i|0;l=((1<>>i}a=h&63;h=a&31;if((a&63)>>>0>=32){e=g<>>32-h|b<>>31;e=e<<1;k=f;f=b>>>31|e;m=k;e=k;k=f;i=g-((f>>>0>h>>>0)+e|0)|0;f=i>>31;e=f;i=e;f=c&e;l=k-f|0;f=m-((d&e)+(f>>>0>k>>>0)|0)|0;e=b<<1|a>>>31;a=n|a<<1;b=e|o;e=0;m=e;k=i&1;n=k;j=j-1|0;if(j){continue}break}}Rb=l;Sb=f;e=b<<1|a>>>31;a=k|a<<1;Tb=e|m;return a}Rb=a;Sb=b;a=0;b=0}Tb=b;return a}function q$(a){var b=0,c=0,d=0,e=0,f=0;if(a){d=v[a+100>>2];b=d;e=v[a>>2];if(e){Ub[v[b+8>>2]](b,e)}v[a>>2]=0;b=v[a+92>>2];if(b){hA(b,d);b=v[a+92>>2];if(b){Ub[v[d+8>>2]](d,b)}v[a+92>>2]=0}b=v[a+84>>2];if(b){Ub[v[d+8>>2]](d,b)}v[a+84>>2]=0;e=v[a+72>>2];if(e){while(1){b=c<<4;f=b+v[a+80>>2]|0;if(v[f+4>>2]==1){e=v[f+12>>2];if(e){Ub[v[d+8>>2]](d,e)}v[(b+v[a+80>>2]|0)+12>>2]=0;e=v[a+72>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}b=v[a+80>>2];if(b){Ub[v[d+8>>2]](d,b)}v[a+80>>2]=0;if(v[a+52>>2]){c=v[a+56>>2];e=0;while(1){b=d;f=v[c>>2];if(f){Ub[v[b+8>>2]](b,f)}v[c>>2]=0;b=v[c+24>>2];if(b){Ub[v[d+8>>2]](d,b)}v[c+24>>2]=0;c=c+36|0;e=e+1|0;if(e>>>0>2]){continue}break}}if(v[a+64>>2]){c=v[a+68>>2];e=0;while(1){b=d;f=v[c>>2];if(f){Ub[v[b+8>>2]](b,f)}v[c>>2]=0;b=v[c+24>>2];if(b){Ub[v[d+8>>2]](d,b)}v[c+24>>2]=0;c=c+36|0;e=e+1|0;if(e>>>0>2]){continue}break}}b=d;c=v[a+56>>2];if(c){Ub[v[b+8>>2]](b,c)}e=0;v[a+56>>2]=0;c=v[a+68>>2];if(c){Ub[v[b+8>>2]](b,c)}v[a+68>>2]=0;hA(a+112|0,b);c=v[a+104>>2];if(v[a+108>>2]){while(1){f=v[c>>2];if(f){Ub[v[d+8>>2]](d,f)}v[c>>2]=0;if(v[c+4>>2]==1){f=v[c+12>>2];if(f){Ub[v[d+8>>2]](d,f)}v[c+12>>2]=0}c=c+16|0;e=e+1|0;if(e>>>0>2]){continue}break}c=v[a+104>>2]}if(c){Ub[v[b+8>>2]](b,c)}v[a+104>>2]=0}}function fab(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,j=0,k=0,l=0;a:{if(f){if(!d){break a}a=c<<1;b=b<<1;while(1){i=x[e>>1];b:{if((i|0)==x[f>>1]){u[g>>1]=i;break b}i=w[e|0]|w[e+1|0]<<8;h=i;j=(h<<8|h>>>8)&65535;h=w[f|0]|w[f+1|0]<<8;i=j+((B(b,((h<<8|h>>>8)&65535)-((i<<8|i>>>8)&65535)|0)+c|0)/(a|0)|0)&65535;i=i<<8|i>>>8;t[g|0]=i;t[g+1|0]=i>>>8}i=g+2|0;h=x[e+2>>1];c:{if((h|0)==x[f+2>>1]){u[i>>1]=h;break c}h=e+2|0;j=w[h+1|0]<<8;k=w[h|0]|j;h=j|w[h|0];j=(h<<8|h>>>8)&65535;h=w[f+2|0]|w[f+3|0]<<8;h=j+((B(b,((h<<8|h>>>8)&65535)-((k<<8|k>>>8)&65535)|0)+c|0)/(a|0)|0)&65535;h=h<<8|h>>>8;t[i|0]=h;t[i+1|0]=h>>>8}i=g+4|0;h=x[e+4>>1];d:{if((h|0)==x[f+4>>1]){u[i>>1]=h;break d}h=e+4|0;j=w[h+1|0]<<8;k=w[h|0]|j;h=j|w[h|0];j=(h<<8|h>>>8)&65535;h=w[f+4|0]|w[f+5|0]<<8;h=j+((B(b,((h<<8|h>>>8)&65535)-((k<<8|k>>>8)&65535)|0)+c|0)/(a|0)|0)&65535;h=h<<8|h>>>8;t[i|0]=h;t[i+1|0]=h>>>8}i=g+6|0;h=x[e+6>>1];e:{if((h|0)==x[f+6>>1]){u[i>>1]=h;break e}h=e+6|0;j=w[h+1|0]<<8;k=w[h|0]|j;h=j|w[h|0];j=(h<<8|h>>>8)&65535;h=w[f+6|0]|w[f+7|0]<<8;h=j+((B(b,((h<<8|h>>>8)&65535)-((k<<8|k>>>8)&65535)|0)+c|0)/(a|0)|0)&65535;h=h<<8|h>>>8;t[i|0]=h;t[i+1|0]=h>>>8}f=f+8|0;e=e+8|0;g=g+8|0;l=l+1|0;if((l|0)!=(d|0)){continue}break}break a}gc(g,e,d<<3)}return 0}function VMa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=v[a+8>>2];k=v[a+12>>2];if(g>>>0>>0){i=v[a+20>>2];c=v[a+4>>2];if(v[c+52>>2]==1){Fh(c,851612,4,a+16|0,i,a+24|0,-1,b);c=v[a+4>>2];v[c+52>>2]=0}d=v[a+16>>2];f=v[c+56>>2];a:{if(!f){h=g;c=0;break a}v[c+56>>2]=0;c=1}b:{while(1){c:{d:{e:{f:{g:{h:{i:{if(!c){if(h>>>0>=k>>>0){g=h;break b}if(d>>>0>=i>>>0){g=h;break b}g=h+2|0;f=x[h>>1];c=g;if((f&63488)!=55296){break i}if((f&64512)!=55296){break h}c=1;continue}if(g>>>0>=k>>>0){break e}h=x[g>>1];if((h&64512)!=56320){break h}f=(h+(f<<10)|0)-56613888|0;c=g+2|0}h=c;j=f>>>16|0;j:{if(d>>>0>>0){t[d|0]=0;d=d+1|0;break j}c=v[a+4>>2];e=t[c+63|0];t[c+63|0]=e+1;t[(c+e|0)+76|0]=0;v[b>>2]=15}c=j&31;if(d>>>0>>0){break g}e=v[a+4>>2];j=t[e+63|0];t[e+63|0]=j+1;t[(e+j|0)+76|0]=c;v[b>>2]=15;break f}v[v[a+4>>2]+56>>2]=f;break c}t[d|0]=c;d=d+1|0}c=f>>>8|0;k:{if(d>>>0>=i>>>0){e=v[a+4>>2];j=t[e+63|0];t[e+63|0]=j+1;t[(e+j|0)+76|0]=c;v[b>>2]=15;break k}t[d|0]=c;d=d+1|0}if(d>>>0>=i>>>0){c=v[a+4>>2];e=t[c+63|0];t[c+63|0]=e+1;t[(c+e|0)+76|0]=f;v[b>>2]=15;break d}t[d|0]=f;d=d+1|0;break d}v[v[a+4>>2]+56>>2]=f;if(w[a+2|0]){break c}break b}c=0;continue}break}v[b>>2]=12}if(!(d>>>0>>0|g>>>0>=k>>>0|v[b>>2]>0)){v[b>>2]=15}v[a+8>>2]=g;v[a+16>>2]=d}}function Bpa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Qb+-64|0;Qb=d;BD(d+48|0,v[a+8>>2],0);a:{b:{c:{e=v[d+56>>2];if(e){while(1){f=v[e+8>>2];v[299999]=0;$(4611,a|0,b|0,f|0,0);f=v[299999];v[299999]=0;if((f|0)==1){break c}e=v[e>>2];if(e){continue}break}}d:{e:{f:{g:{e=v[c>>2];if(!(!e|!v[e+8>>2])){v[299999]=0;b=Y(4612,d+8|0,c|0,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break g}v[299999]=0;R(4613,b|0);c=v[299999];v[299999]=0;if((c|0)==1){break f}v[299999]=0;U(4456,d|0,b|0,301006);c=v[299999];v[299999]=0;if((c|0)==1){break e}v[299999]=0;V(4614,a|0,d|0);a=v[299999];v[299999]=0;if((a|0)==1){break d}a=v[d>>2];v[d>>2]=0;h:{if(!a){break h}v[299999]=0;c=v[a+4>>2]-1|0;v[a+4>>2]=c;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(c){break h}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}v[b+24>>2]=981312;v[b>>2]=981280;a=v[b+28>>2];if(a){c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(!c){Ub[v[v[a>>2]+4>>2]](a)}v[b+28>>2]=0}v[b+16>>2]=981312;a=v[b+20>>2];if(a){c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(!c){Ub[v[v[a>>2]+4>>2]](a)}v[b+20>>2]=0}ec(b+8|0)}Ic(d+48|0);Qb=d- -64|0;return}a=P()|0;O()|0;break b}a=P()|0;O()|0;$c(b);break b}a=P()|0;O()|0;$c(b);break b}a=P()|0;O()|0;ec(d);$c(b);break b}a=P()|0;O()|0}Ic(d+48|0);T(a|0);L()}W(0)|0;O()|0;lc();L()}function hO(a){var b=0,c=0,d=0,e=0,f=0,g=0;v[a+8>>2]=0;t[a+4|0]=0;v[a>>2]=996084;c=Bg(a+16|0,a+12|0,20500,1);v[299999]=0;d=Z(4407,a+28|0,a+24|0,20500,4)|0;b=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{g:{h:{if((b|0)!=1){v[299999]=0;e=Z(4407,a+40|0,a+36|0,20500,4)|0;b=v[299999];v[299999]=0;if((b|0)==1){break h}v[a+52>>2]=0;v[a+56>>2]=0;u[a+48>>1]=0;v[a+60>>2]=0;v[a+64>>2]=0;t[a+68|0]=0;v[299999]=0;b=a+72|0;v[b+20>>2]=-1;v[b+12>>2]=-1;v[b+16>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;v[b>>2]=983280;f=b;b=v[299999];v[299999]=0;if((b|0)==1){break g}v[299999]=0;b=a+96|0;v[b+20>>2]=-1;v[b+12>>2]=-1;v[b+16>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;v[b>>2]=983280;g=b;b=v[299999];v[299999]=0;if((b|0)==1){break f}v[299999]=0;b=a+120|0;v[b+20>>2]=-1;v[b+12>>2]=-1;v[b+16>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;v[b>>2]=996280;b=v[299999];v[299999]=0;if((b|0)==1){break e}v[a+144>>2]=0;v[a+148>>2]=0;v[a+172>>2]=0;v[a+176>>2]=0;t[a+168|0]=0;v[a+160>>2]=0;v[a+164>>2]=0;v[a+152>>2]=0;v[a+156>>2]=0;v[a+180>>2]=0;v[a+184>>2]=0;v[a+188>>2]=0;v[a+192>>2]=0;ic(a+240|0,0,3072);t[v[a+12>>2]]=0;v[v[a+36>>2]>>2]=0;v[v[a+24>>2]>>2]=0;v[a+8>>2]=1;return}a=P()|0;O()|0;break a}a=P()|0;O()|0;break b}a=P()|0;O()|0;break c}a=P()|0;O()|0;break d}a=P()|0;O()|0;fd(g)}fd(f)}Lc(e)}Lc(d)}Lc(c);T(a|0);L()}function qM(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=Qb-16|0;Qb=h;f=49811;e=v[b+4>>2];a:{if(e>>>0>=c>>>0){f=50410;if(c>>>0>=e>>>0){break a}}e=v[a>>2];g=v[a+628>>2];i=v[tf(a,x[b>>1])+16>>2];j=v[b+4>>2];v[h+8>>2]=c;v[h+4>>2]=j;v[h>>2]=i;Ld(g,e,f,h)}b:{c:{f=v[d>>2];if(f){break c}f=kg(a,c,4,56984);v[d>>2]=f;if(f){break c}d=0;break b}d=0;eg(f,0,c<<2);e=v[b+4>>2];if(x[b+2>>1]==3){e=kg(a,e,2,57247);if(!e){break b}g=v[b+4>>2];d:{if(g>>>0<=2){if(x[a+456>>1]==19789){d=1;e:{f:{switch(g-1|0){case 0:a=v[b+8>>2];break e;case 1:break f;default:break d}}a=v[b+8>>2];u[e+2>>1]=a}u[e>>1]=a>>>16;break d}d=1;g:{switch(g-1|0){case 0:u[e>>1]=v[b+8>>2];break d;case 1:break g;default:break d}}a=v[b+8>>2];u[e+2>>1]=a>>>16;u[e>>1]=a;break d}d=(jh(a,b,e)|0)!=0}h:{if(!d|(c|0)<1){break h}a=0;while(1){if(v[b+4>>2]<=(a|0)){break h}v[(a<<2)+f>>2]=x[e+(a<<1)>>1];a=a+1|0;if((c|0)!=(a|0)){continue}break}}dc(e);break b}if((c|0)!=(e|0)){e=kg(a,e,4,57247);if(!e){break b}d=1;i:{if(v[b+4>>2]==1){v[e>>2]=v[b+8>>2];break i}d=(jh(a,b,e)|0)!=0}j:{if(!d|(c|0)<1){break j}a=0;while(1){if(v[b+4>>2]<=(a|0)){break j}g=a<<2;v[g+f>>2]=v[e+g>>2];a=a+1|0;if((c|0)!=(a|0)){continue}break}}dc(e);break b}d=1;if((c|0)==1){v[f>>2]=v[b+8>>2];break b}d=(jh(a,b,f)|0)!=0}Qb=h+16|0;return d}function uB(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=Qb-112|0;Qb=d;v[d+4>>2]=0;v[d>>2]=0;b=jc(72);a:{if(!b){break a}e=ic(b,0,72);bK(a,d+8|0);f=qB(a);v[e+16>>2]=f;b:{if(!f){break b}c:{b=e;c=v[d+24>>2];d:{if((c|0)!=1196573017){a=1280;if((c|0)==1497588338){break d}if((c|0)!=1380401696){break c}a=1024;break d}a=768}v[b>>2]=a;b=e;c=v[d+28>>2];if((c|0)!=1482250784){if((c|0)!=1281450528){break c}c=513}else{c=257}v[b+8>>2]=c;a=a>>>8|0;e:{if(a-4>>>0>=2){if((a|0)!=3){break c}v[e+12>>2]=3;v[e+4>>2]=1;if(mK(f,0,d+4|0)){break b}if(!mK(v[e+16>>2],1,d)){break e}break b}v[e+12>>2]=3;v[e+4>>2]=3;if(lK(f,0,d+4|0)){break b}if(lK(v[e+16>>2],1,d)){break b}}v[e+20>>2]=v[d+4>>2];v[e+36>>2]=v[d>>2];break a}ia();L()}b=v[d+4>>2];if(b){a=v[b>>2];if((a|0)>=1){while(1){f=v[b+8>>2];a=a-1|0;g=a<<2;c=v[f+g>>2];h=v[c>>2];v[c>>2]=h-1;if((h|0)<=1){Ub[v[v[c+4>>2]>>2]](c);dc(c);f=v[b+8>>2];a=v[b>>2]-1|0}v[f+g>>2]=0;v[b>>2]=a;if((a|0)>0){continue}break}}a=v[b+8>>2];if(a){dc(a)}dc(b)}b=v[d>>2];if(b){a=v[b>>2];if((a|0)>=1){while(1){f=v[b+8>>2];a=a-1|0;g=a<<2;c=v[f+g>>2];h=v[c>>2];v[c>>2]=h-1;if((h|0)<=1){Ub[v[v[c+4>>2]>>2]](c);dc(c);f=v[b+8>>2];a=v[b>>2]-1|0}v[f+g>>2]=0;v[b>>2]=a;if((a|0)>0){continue}break}}a=v[b+8>>2];if(a){dc(a)}dc(b)}bw(e);e=0}Qb=d+112|0;return e}function qA(a,b,c){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,p=0,q=0,r=0;j=v[a+2744>>2];if(j&4){k=v[a+2748>>2];a=c>>31;d=a+c^a;a:{b:{c:{if((b|0)==1){if(!(j&2)){break c}break b}if(j&1){break b}}d:{a=B(b,7676)+k|0;if(!v[a+52>>2]){break d}e=v[a+60>>2];a=d-e|0;b=a>>31;if((b^a+b)>>>0>39){break d}d=(e|0)>48?e:48;break a}if((d|0)<=53){d=(54-d>>>1|0)+d|0;break a}if((d|0)>191){break a}b=d&63;if(b>>>0<10){break a}a=d&2147483584;if(b>>>0<=21){d=a|10;break a}d=b-42>>>0<12?a|54:d;break a}e:{f:{g:{h:{i:{a=v[(B(b,7676)+k|0)+52>>2];if(a){r=a&1;if((a|0)!=1){break i}h=98;a=0;e=d;break h}a=d+32&2147483584;e=d;break g}l=a&-2;h=98;a=0;m=(B(b,7676)+k|0)+56|0;e=d;while(1){n=v[(B(a|1,12)+m|0)+4>>2];g=d-n|0;o=g>>31;p=v[(B(a,12)+m|0)+4>>2];f=d-p|0;i=f>>31;f=i^f+i;q=(f|0)<(h|0);g=o^g+o;f=q?f:h;i=(g|0)<(f|0);h=i?g:f;e=i?n:q?p:e;a=a+2|0;l=l-2|0;if(l){continue}break}}if(r){f=v[((B(b,7676)+k|0)+B(a,12)|0)+60>>2];a=d-f|0;g=a>>31;e=(g^a+g)<(h|0)?f:e}a=e+32&-64;if((d|0)<(e|0)){break f}}a=(a|48)>(d|0)?e:d;break e}a=(a-48|0)<(d|0)?e:d}if((b|0)==1){d=64;if((a|0)<64){break a}d=a+16&-64;break a}if(j&8){d=64;if((a|0)<64){break a}d=a+32&-64;break a}if((a|0)<=47){d=a- -64>>1;break a}if((a|0)<=127){d=a+22&-64;break a}d=a+32&-64}c=(c|0)<0?0-d|0:d}return c}function nHa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=Qb+-64|0;Qb=d;cs(d,888832,b);v[299999]=0;b=Q(2725,d|0,888884)|0;e=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{if((e|0)!=1){v[d+24>>2]=v[b+8>>2];e=v[b+4>>2];v[d+16>>2]=v[b>>2];v[d+20>>2]=e;v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;b=w[c+11|0];e=v[c>>2];f=v[c+4>>2];v[299999]=0;g=c;c=b<<24>>24<0;b=Y(2653,d+16|0,(c?e:g)|0,(c?f:b)|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break f}v[d+40>>2]=v[b+8>>2];c=v[b+4>>2];v[d+32>>2]=v[b>>2];v[d+36>>2]=c;v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;v[299999]=0;b=Q(2725,d+32|0,888848)|0;c=v[299999];v[299999]=0;if((c|0)==1){break e}v[d+56>>2]=v[b+8>>2];c=v[b+4>>2];v[d+48>>2]=v[b>>2];v[d+52>>2]=c;v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;v[299999]=0;c=a;a=w[d+59|0];b=a<<24>>24<0;Y(2653,c|0,(b?v[d+48>>2]:d+48|0)|0,(b?v[d+52>>2]:a)|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break d}if(t[d+59|0]<=-1){dc(v[d+48>>2])}if(t[d+43|0]<=-1){dc(v[d+32>>2])}if(t[d+27|0]<=-1){dc(v[d+16>>2])}if(t[d+11|0]<=-1){dc(v[d>>2])}Qb=d- -64|0;return}c=P()|0;O()|0;break a}c=P()|0;O()|0;break b}c=P()|0;O()|0;break c}c=P()|0;O()|0;if(t[d+59|0]>-1){break c}dc(v[d+48>>2])}if(t[d+43|0]>-1){break b}dc(v[d+32>>2])}if(t[d+27|0]>-1){break a}dc(v[d+16>>2])}if(t[d+11|0]<=-1){dc(v[d>>2])}T(c|0);L()}function hX(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=Qb-32|0;Qb=e;a:{c=v[a+4>>2];h=v[a>>2];i=(c-h|0)/12|0;d=i+1|0;if(d>>>0<357913942){f=v[a+8>>2];v[e+24>>2]=a+8;f=(f-h|0)/12|0;j=f<<1;f=f>>>0<178956970?d>>>0>j>>>0?d:j:357913941;if(f){if(f>>>0>=357913942){break a}g=fc(B(f,12))}v[e+8>>2]=g;d=B(i,12)+g|0;v[e+16>>2]=d;f=B(f,12)+g|0;v[e+20>>2]=f;v[e+12>>2]=d;b:{c:{if(t[b+11|0]>=0){g=v[b+4>>2];v[d>>2]=v[b>>2];v[d+4>>2]=g;v[d+8>>2]=v[b+8>>2];break c}c=v[b+4>>2];b=v[b>>2];v[299999]=0;U(2345,d|0,b|0,c|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}c=v[a+4>>2];h=v[a>>2]}g=d+12|0;if((c|0)==(h|0)){b=c}else{while(1){c=c-12|0;b=v[c+4>>2];d=d-12|0;v[d>>2]=v[c>>2];v[d+4>>2]=b;v[d+8>>2]=v[c+8>>2];v[c>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;if((c|0)!=(h|0)){continue}break}c=v[a+4>>2];b=v[a>>2]}v[a>>2]=d;v[e+12>>2]=b;v[a+4>>2]=g;d=v[a+8>>2];v[a+8>>2]=f;v[e+8>>2]=b;v[e+20>>2]=d;if((b|0)!=(c|0)){while(1){c=c-12|0;v[e+16>>2]=c;if(t[c+11|0]<=-1){dc(v[c>>2])}if((b|0)!=(c|0)){continue}break}}if(b){dc(b)}Qb=e+32|0;return}b=P()|0;O()|0;a=v[e+16>>2];c=v[e+12>>2];if((a|0)!=(c|0)){while(1){a=a-12|0;v[e+16>>2]=a;if(t[a+11|0]<=-1){dc(v[a>>2]);a=v[e+16>>2]}if((a|0)!=(c|0)){continue}break}}a=v[e+8>>2];if(a){dc(a)}T(b|0);L()}ue(a);L()}cf(274079);L()}function YD(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=Qb-32|0;Qb=g;h=fc(16);v[299999]=0;j=Q(3304,h|0,0)|0;e=v[299999];v[299999]=0;a:{if((e|0)!=1){b=Ub[v[v[b>>2]+40>>2]](b)|0;if(b){while(1){b:{if(Ub[v[v[b>>2]+32>>2]](b,275662)|0){if(!c){break b}e=Ub[v[v[b>>2]+40>>2]](b)|0;if(!e){break b}if(!(Ub[v[v[e>>2]+28>>2]](e)|0)){break b}f=Ub[v[v[e>>2]+40>>2]](e)|0;if(!f){break b}if(!(Ub[v[v[f>>2]+36>>2]](f)|0)){break b}e=fc(8);v[299999]=0;i=Q(3064,e|0,c|0)|0;k=v[299999];v[299999]=0;if((k|0)==1){b=P()|0;O()|0;h=e;break a}f=v[f+20>>2];e=fc(8);v[299999]=0;Q(3064,e|0,f|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){b=P()|0;O()|0;h=e;break a}Hi(d,i,e);break b}if(!(Ub[v[v[b>>2]+28>>2]](b)|0)){break b}c:{d:{e=mj(b,280444);if(!e){break d}if(!(Ub[v[v[b>>2]+32>>2]](b,255628)|0)){if(!(Ub[v[v[b>>2]+32>>2]](b,288961)|0)){break d}}f=v[e+4>>2];if(c){v[g+20>>2]=f;v[g+16>>2]=c;i=eF(g+16|0);break c}e=fc(8);v[299999]=0;i=Q(3064,e|0,f|0)|0;k=v[299999];v[299999]=0;if((k|0)!=1){break c}b=P()|0;O()|0;h=e;break a}if(!(Ub[v[v[b>>2]+32>>2]](b,255628)|0)){break b}YD(a,b,c,d);break b}e=Gj(j,f);v[g>>2]=e;Jc(i,307196,g);iF(j,f,e+1|0);YD(a,b,i,d);dc(Dc(i))}b=Ub[v[v[b>>2]+44>>2]](b)|0;if(b){continue}break}}ah(j);dc(h);Qb=g+32|0;return}b=P()|0;O()|0}dc(h);T(b|0);L()}function um(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=v[a+20>>2];f=v[a+28>>2];g=v[a+16>>2];h=x[a+12>>1];i=x[a+8>>1];j=x[a+4>>1];d=v[a>>2];c=d;c=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);t[b|0]=c;t[b+1|0]=c>>>8;t[b+2|0]=c>>>16;t[b+3|0]=c>>>24;c=e-g<<11&-8192|(h<<8&7936|(i<<7&128|j&63));g=f>>>0>255;c=g?c|64:c;t[b+4|0]=c;t[b+5|0]=c>>>8;c=v[a+16>>2];a:{if((c|0)==v[a+20>>2]){e=6;break a}e=6;b:{switch((d>>>0<257?1:d>>>0<65537?2:4)-2|0){case 2:while(1){d=b+e|0;f=v[c>>2];f=f<<8&16711680|f<<24|(f>>>8&65280|f>>>24);t[d|0]=f;t[d+1|0]=f>>>8;t[d+2|0]=f>>>16;t[d+3|0]=f>>>24;e=e+4|0;c=c+4|0;if((c|0)!=v[a+20>>2]){continue}break};break a;case 0:while(1){d=b+e|0;f=x[c>>1];f=f<<8|f>>>8;t[d|0]=f;t[d+1|0]=f>>>8;e=e+2|0;c=c+4|0;if((c|0)!=v[a+20>>2]){continue}break};break a;default:break b}}while(1){t[b+e|0]=v[c>>2];e=e+1|0;c=c+4|0;if((c|0)!=v[a+20>>2]){continue}break}}d=v[a+28>>2];c=b;c:{if(g){b=b+e|0;d=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);t[b|0]=d;t[b+1|0]=d>>>8;b=2;break c}t[b+e|0]=d;b=1}e=b+e|0;b=c+e|0;c=v[a+32>>2];c=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);t[b|0]=c;t[b+1|0]=c>>>8;t[b+2|0]=c>>>16;t[b+3|0]=c>>>24;b=v[a>>2];if((e+4|0)==(B(v[a+20>>2]-v[a+16>>2]>>2,b>>>0<257?1:b>>>0<65537?2:4)+(y[a+28>>2]<256?11:12)|0)){return}ia();L()}function Uj(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;i=Qb-16|0;Qb=i;a:{if(!b){break a}v[b>>2]=0;if(!a|((a?v[a+8>>2]:-1)|0)!=1){break a}d=c;b:{if(d){break b}d=0;e=bd(256,4);if(!e){break b}while(1){v[e+(d<<2)>>2]=(((((((d&1)+(d>>>7|0)|0)+(d>>>1&1)|0)+(d>>>2&1)|0)+(d>>>3&1)|0)+(d>>>4&1)|0)+(d>>>5&1)|0)+(d>>>6&1);d=d+1|0;if((d|0)!=256){continue}break}d=e}e=i+12|0;g=i+8|0;if(a){if(e){v[e>>2]=v[a>>2]}if(g){v[g>>2]=v[a+4>>2]}}g=a?v[a+12>>2]:-1;e=a?v[a+40>>2]:0;a=0;j=v[i+8>>2];c:{if((j|0)<1){break c}a=v[i+12>>2];k=a&31;l=-1<<32-k;if((a|0)>=32){a=a>>5;m=(a|0)>1?a:1;a=0;while(1){f=0;while(1){h=v[(f<<2)+e>>2];if(h){a=v[(h>>>22&1020)+d>>2]+(v[(h>>>14&1020)+d>>2]+(v[(h>>>6&1020)+d>>2]+(v[((h&255)<<2)+d>>2]+a|0)|0)|0)|0}f=f+1|0;if((m|0)!=(f|0)){continue}break}d:{if(!k){break d}f=v[(m<<2)+e>>2]&l;if(!f){break d}a=v[(f>>>22&1020)+d>>2]+(v[(f>>>14&1020)+d>>2]+(v[(f>>>6&1020)+d>>2]+(v[((f&255)<<2)+d>>2]+a|0)|0)|0)|0}e=(g<<2)+e|0;n=n+1|0;if((n|0)!=(j|0)){continue}break}break c}if(!k){a=0;break c}h=g<<2;a=0;while(1){g=v[e>>2]&l;if(g){a=v[(g>>>22&1020)+d>>2]+(v[(g>>>14&1020)+d>>2]+(v[(g>>>6&1020)+d>>2]+(v[((g&255)<<2)+d>>2]+a|0)|0)|0)|0}e=e+h|0;f=f+1|0;if((j|0)!=(f|0)){continue}break}}v[b>>2]=a;if(c){break a}dc(d)}Qb=i+16|0}function ACa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;f=Qb-4112|0;Qb=f;v[f+4096>>2]=13;a:{b:{if(v[rc(b,284037,f+4096|0,0)>>2]!=8){hc(f+4096|0);break b}h=fc(8);v[299999]=0;b=S(3312,h|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break a}e=v[f+4104>>2];Ub[v[v[e>>2]+20>>2]](e);e=v[f+4104>>2];e=Ub[v[v[e>>2]+40>>2]](e,f,4096)|0;if((e|0)>=1){while(1){De(b,f,e);e=v[f+4104>>2];e=Ub[v[v[e>>2]+40>>2]](e,f,4096)|0;if((e|0)>0){continue}break}}e=v[f+4104>>2];Ub[v[v[e>>2]+24>>2]](e);hc(f+4096|0);c:{if(d){e=Qb-16|0;Qb=e;v[e+12>>2]=0;v[e+8>>2]=b;$E(d,3365,e+8|0,c);Qb=e+16|0;break c}e=Qb-16|0;Qb=e;d=fc(28);v[d+8>>2]=256;v[d>>2]=0;v[299999]=0;i=Q(3364,256,4)|0;g=v[299999];v[299999]=0;d:{if((g|0)!=1){v[d+4>>2]=i;g=0;while(1){v[(g<<2)+i>>2]=0;g=g+1|0;if(g>>>0>2]){continue}break}v[d+12>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+24>>2]=1;v[e+12>>2]=0;v[e+8>>2]=b;e:{if(!$E(d,3365,e+8|0,c)){c=v[d>>2];if(c){dc(Dc(c))}c=v[d+4>>2];v[299999]=0;uc(c);c=v[299999];v[299999]=0;if((c|0)==1){break e}c=v[d+12>>2];v[299999]=0;uc(c);c=v[299999];v[299999]=0;if((c|0)==1){break e}dc(d);d=0}Qb=e+16|0;break d}W(0)|0;O()|0;lc();L()}a=P()|0;O()|0;dc(d);T(a|0);L()}}e=d;Dc(b);dc(h);v[a+152>>2]=1}Qb=f+4112|0;return e|0}a=P()|0;O()|0;dc(h);T(a|0);L()}function pX(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;v[a>>2]=467280;a:{c=v[a+160>>2];if(c){b=v[v[c>>2]+12>>2];v[299999]=0;S(b|0,c|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}v[a+160>>2]=0}d=v[a+268>>2];c=v[a+264>>2];b=d-c|0;b:{if(!b){break b}b=(b|0)/104|0;e=b>>>0>1?b:1;f=e&7;b=0;if(e-1>>>0>=7){e=e&-8;while(1){v[(c+B(b,104)|0)+100>>2]=1;v[(c+B(b|1,104)|0)+100>>2]=1;v[(c+B(b|2,104)|0)+100>>2]=1;v[(c+B(b|3,104)|0)+100>>2]=1;v[(c+B(b|4,104)|0)+100>>2]=1;v[(c+B(b|5,104)|0)+100>>2]=1;v[(c+B(b|6,104)|0)+100>>2]=1;v[(c+B(b|7,104)|0)+100>>2]=1;b=b+8|0;e=e-8|0;if(e){continue}break}}if(!f){break b}while(1){v[(c+B(b,104)|0)+100>>2]=1;b=b+1|0;f=f-1|0;if(f){continue}break}}if((c|0)!=(d|0)){while(1){mg(d-28|0);d=d-104|0;if((c|0)!=(d|0)){continue}break}}v[a+268>>2]=c;ic(a+276|0,255,2228224);if(t[a+2228531|0]<=-1){dc(v[a+2228520>>2])}c=v[a+264>>2];if(c){b=v[a+268>>2];if((c|0)==(b|0)){b=c}else{while(1){mg(b-28|0);b=b-104|0;if((c|0)!=(b|0)){continue}break}b=v[a+264>>2]}v[a+268>>2]=c;dc(b)}if(t[a+175|0]<=-1){dc(v[a+164>>2])}return a|0}W(0)|0;O()|0;le(a+2228520|0);d=a+264|0;c=v[d>>2];if(c){b=v[d+4>>2];if((c|0)==(b|0)){b=c}else{while(1){mg(b-28|0);b=b-104|0;if((c|0)!=(b|0)){continue}break}b=v[d>>2]}v[d+4>>2]=c;dc(b)}le(a+164|0);lc();L()}function G0(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=Qb+-64|0;Qb=c;e=v[a+26124>>2];while(1){d=2<>2]+8>>2]](v[a+4>>2],x[a+26314>>1]+B(x[a+26306>>1],x[a+26312>>1])<<1,1)|0;d=x[a+26310>>1];g=bd(d,2);if(g){if(x[a+26308>>1]){e=0;h=v[252391];while(1){Mi(a,g,d);Ub[v[v[a>>2]+8>>2]](v[a+4>>2],x[a+26306>>1]-x[a+26310>>1]<<1,1)|0;b=0;a:{if(x[a+26310>>1]){j=e<<1&14;while(1){d=x[(b<<1)+g>>1];f=x[a+26316>>1];k=v[a+26352>>2]+(B(x[a+26320>>1],e>>>f|0)+(b>>>f|0)<<3)|0;f=v[a+26028>>2];b:{if((f|0)!=1){f=f>>>((b&1|j)<<1)&3;break b}f=t[(x[a+26314>>1]+b&15|(x[a+26312>>1]+e&15)<<4)+194800|0]}u[k+(f<<1)>>1]=d;if(d>>>i|0){c:{if(v[a+26160>>2]){break c}v[c+48>>2]=v[a+25208>>2];wc(h,8292,c+48|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,h);break c}d=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[c+32>>2]=d;v[c+36>>2]=d>>31;wc(h,14622,c+32|0)}v[a+26160>>2]=1}b=b+1|0;d=x[a+26310>>1];if(b>>>0>>0){continue}break}break a}d=0}e=e+1|0;if(e>>>0>1]){continue}break}}dc(g);Qb=c- -64|0;return}b=v[a+190640>>2];d:{if(b){e=v[a+25208>>2];v[c+20>>2]=45725;v[c+16>>2]=e;zd(b,4338,c+16|0);break d}b=v[a+25208>>2];v[c+4>>2]=45725;v[c>>2]=b;wc(v[252391],4338,c)}sd(a+190484|0,1);L()}function fj(a){var b=0,c=0,d=0,e=0,f=0;c=v[a+1144>>2];a:{b:{if(!c){c=v[a+1124>>2];while(1){c:{d:{e:{f:{switch(c|0){case 0:b=v[a+196>>2];g:{if(!b){b=0;break g}v[a+1136>>2]=b;b=v[a+200>>2];v[a+1144>>2]=b}c=1;v[a+1124>>2]=1;break c;case 1:v[a+1124>>2]=2;case 2:d=v[a+1128>>2];if((d|0)==v[a+1132>>2]){c=3;v[a+1124>>2]=3;continue}b=v[a>>2];c=v[b+184>>2];if(!c){t[a+1140|0]=0;zc(v[b+628>>2],v[b>>2],46823,0);return 0}f=d<<2;c=v[c+f>>2];v[a+1136>>2]=c;if(!c){b=0;break d}e=v[a+168>>2];if(c>>>0>=e>>>0){break e}v[a+1144>>2]=0;b=v[b+188>>2];if(!b){break e}b=v[b+f>>2];v[a+1144>>2]=b;if(!b){break e}if(b+c>>>0<=e>>>0){break d}b=e-c|0;v[a+1144>>2]=b;break d;default:break f}}t[a+1140|0]=0;return 0}b=0;v[a+1136>>2]=0}v[a+1128>>2]=d+1;c=2}if(!b){continue}break}t[a+1140|0]=0;break b}if(w[a+1140|0]){break a}}b=v[a>>2];Ub[v[b+640>>2]](v[b+628>>2],v[a+1136>>2],0)|0;t[a+1140|0]=1;c=v[a+1144>>2]}b=v[a>>2];d=a+1156|0;b=Ub[v[b+632>>2]](v[b+628>>2],d,c>>>0<2048?c&65535:2048)|0;if(!b){return 0}h:{i:{if((b|0)>0){if((b|0)>=2049){break i}c=v[a+1144>>2];if(c>>>0>>0){break h}v[a+1152>>2]=d;u[a+1148>>1]=b;v[a+1144>>2]=c-b;v[a+1136>>2]=b+v[a+1136>>2];return 1}X(44096,7087,1883,87065);L()}X(44927,7087,1884,87065);L()}X(46045,7087,1886,87065);L()}function f2(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;h=Qb;r=h;g=b+1|0;p=g-e|0;k=p>>1;n=k-1|0;l=h-((B(g>>>1|0,c)<<2)+15&-16)|0;Qb=l;a:{if((p|0)<2|(c|0)<1){break a}m=c<<2;h=n>>31&n;g=k-h|0;q=g&1;if((h+1|0)!=(k|0)){g=g&-2;while(1){gc((B(c,f)<<2)+l|0,(B(d,f)<<2)+a|0,m);h=f|1;gc((B(h,c)<<2)+l|0,(B(d,h)<<2)+a|0,m);f=f+2|0;g=g-2|0;if(g){continue}break}}if(!q){break a}gc((B(c,f)<<2)+l|0,(B(d,f)<<2)+a|0,m)}o=d<<1;j=b-k|0;if(!((j|0)<1|(c|0)<1)){q=c&-8;h=c&7;b=(B(d,k)<<2)+a|0;m=(B(1-e|0,d)<<2)+a|0;s=c-1>>>0<7;while(1){f=m;i=b;g=q;if(!s){while(1){v[f>>2]=v[i>>2];v[f+4>>2]=v[i+4>>2];v[f+8>>2]=v[i+8>>2];v[f+12>>2]=v[i+12>>2];v[f+16>>2]=v[i+16>>2];v[f+20>>2]=v[i+20>>2];v[f+24>>2]=v[i+24>>2];v[f+28>>2]=v[i+28>>2];i=i+32|0;f=f+32|0;g=g-8|0;if(g){continue}break}}g=h;if(g){while(1){v[f>>2]=v[i>>2];i=i+4|0;f=f+4|0;g=g-1|0;if(g){continue}break}}b=(d<<2)+b|0;m=(o<<2)+m|0;g=(j|0)>1;j=j-1|0;if(g){continue}break}}b:{if((p|0)<2|(c|0)<1){break b}h=c<<2;g=B(d,e);e=n>>31&n;b=k-e|0;d=b&1;f=0;if((e+1|0)!=(k|0)){j=b&-2;while(1){gc((g+B(f,o)<<2)+a|0,(B(c,f)<<2)+l|0,h);b=f|1;gc((g+B(b,o)<<2)+a|0,(B(b,c)<<2)+l|0,h);f=f+2|0;j=j-2|0;if(j){continue}break}}if(!d){break b}gc((g+B(f,o)<<2)+a|0,(B(c,f)<<2)+l|0,h)}Qb=r}function yO(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,y=0,z=0,A=0;h=Qb-16|0;Qb=h;g=v[c+4>>2];f=v[c+12>>2];b=(b|0)<(g|0)?g:(b|0)<(f|0)?b:f-1|0;f=v[a+104>>2];a:{b:{if((b|0)==(f|0)){break b}i=v[a+76>>2];g=i;if((b|0)==v[a+100>>2]){break a}v[a+100>>2]=f;v[a+104>>2]=b;v[a+76>>2]=v[a+88>>2];v[a+88>>2]=i;g=v[a+16>>2];v[h>>2]=v[c>>2]<>2]=v[c+8>>2]<>2];v[h+12>>2]=b+1<>2]=b<>2]|0,0-v[d+4>>2]|0);g=v[h>>2];m=v[h+8>>2];if((g|0)>=(m|0)){break b}b=v[h+4>>2];c=v[h+12>>2]-b|0;d=v[a+20>>2];f=1<>1];s=(b|0)>-1?(b|0)>1]?v[e+16>>2]+B(B(b,p),3)|0:0:0;b=v[a+16>>2];u=1<(g|0);z=q?g:m;n=0;A=0-b|0;e=B(b,3)+s|0;c=0;f=0;l=0;d=0;while(1){b=e;r=(b+B(z,3)|0)+B(A,3)|0;if(b>>>0>>0){while(1){c=c+1|0;f=w[b|0]+f|0;l=w[b+1|0]+l|0;d=w[b+2|0]+d|0;b=b+3|0;if(r>>>0>b>>>0){continue}break}}e=B(p,3)+e|0;n=n+1|0;if((o|0)!=(n|0)){continue}break}c:{if((c|0)==(y|0)){b=f+k>>j;f=l+k>>j;c=d+k>>j;break c}e=(c|0)/2|0;b=(e+f|0)/(c|0)|0;f=(e+l|0)/(c|0)|0;c=(d+e|0)/(c|0)|0}t[i+1|0]=f;t[i+2|0]=c;t[i|0]=b;i=i+3|0;if(q){continue}break}}g=v[a+88>>2]}Qb=h+16|0;return g}function YJ(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=Qb-16|0;Qb=h;c=jc(108);a:{if(!c){c=0;break a}v[c>>2]=0;v[c+4>>2]=0;f=c+4|0;d=1032720;while(1){e=d;d=d+24|0;if(v[e>>2]>0){continue}break}v[c+104>>2]=e+8;ic(c+12|0,0,92);b:{c:{d:{e:{f:{if(Of(a,c)){break f}g=v[c>>2];if((g&-256)!=65280){break f}d=1032720;while(1){e=d;i=v[d>>2];if((i|0)!=(g|0)){d=e+24|0;if((i|0)>-1){continue}}break}v[c+104>>2]=e+8;if((g|0)==65359|g-65426>>>0<2|((g|0)==65497|(g&-16)==65328)){break d}if(!Of(a,f)){d=v[f>>2];if(d>>>0>2){break e}}a=v[c+104>>2];if(!a){break b}a=v[a>>2];if(!a){break b}Ub[a|0](c);break b}a=v[c+104>>2];if(!a){break b}a=v[a>>2];if(!a){break b}Ub[a|0](c);break b}v[f>>2]=d-2;d=di(0,0);if(!d){a=v[c+104>>2];if(!a){break b}a=v[a>>2];if(!a){break b}Ub[a|0](c);break b}g:{if(!Cm(d,a,v[f>>2])){if((Df(d,0,0)|0)>-1){break g}}Te(d);a=v[c+104>>2];if(!a){break b}a=v[a>>2];if(!a){break b}Ub[a|0](c);break b}if(Ub[v[v[c+104>>2]+4>>2]](c,b,d)|0){v[c+104>>2]=0;dc(c);Te(d);c=0;break a}if(v[282952]>=1){jB(c,v[252391])}e=ui(d);a=v[f>>2];if((e|0)!=(a|0)){j=h,k=a-ui(d)|0,v[j>>2]=k;Sc(4818,h)}Te(d);break c}v[f>>2]=0;if(v[282952]<1){break c}jB(c,v[252391])}if(v[c>>2]!=65361){break a}v[b>>2]=v[c+48>>2];break a}dc(c);c=0}Qb=h+16|0;return c}function iO(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=Qb-112|0;Qb=d;b=(b|0)==-1?v[a+60>>2]:b;a:{b:{c:{if(!(w[a+13|0]&64|(x[a+138>>1]!=1|x[a+90>>1]!=6))){v[d+84>>2]=d+110;v[d+80>>2]=d+108;Kd(a,530,d+80|0);e=x[d+108>>1];h=B(e,x[d+110>>1]);if(!h){b=0;zc(v[a+628>>2],v[a>>2],9852,0);break a}c=v[a+56>>2];if(c>>>0<0-e>>>0){c=((c+e|0)-1>>>0)/(e>>>0)|0}else{c=0}f=B(c,e);g=x[a+84>>1];c=Bib(f,0,g,0);e=(Tb|0)!=0;d:{e:{f:{if(g){if(e){e=v[a>>2];c=v[a+628>>2];v[d+48>>2]=13308;zc(c,e,22641,d+48|0);g=x[a+84>>1];c=Bib(g,0,f,0);e=(Tb|0)!=0;break f}if(!(c&7)){break e}if(!e){break c}e=v[a>>2];c=v[a+628>>2];v[d+64>>2]=13308;zc(c,e,22641,d- -64|0);c=0;break c}if(c&7){break c}}if(!g){break d}}if(!e){break d}e=v[a>>2];c=v[a+628>>2];v[d+32>>2]=13308;zc(c,e,22641,d+32|0);c=0}e=c>>>3|0;break b}f=Di(a);e=Bib(f,0,b,0);c=Tb;b=e;if(!f|!c){break a}b=v[a>>2];a=v[a+628>>2];v[d+96>>2]=13308;zc(a,b,22641,d+96|0);b=0;break a}e=(c>>>3|0)+1|0}c=e;f=x[d+110>>1];if(0-f>>>0>b>>>0){b=((b+f|0)-1>>>0)/(f>>>0)|0}else{b=0}f=Bib(c,0,B(b,f),0);b=Tb;c=f;if(!(!e|!b)){c=v[a>>2];b=v[a+628>>2];v[d+16>>2]=13308;zc(b,c,22641,d+16|0);c=0}b=(c|0)/(h|0)|0;g=b+b|0;if(!(!b|b>>>0<=g>>>0)){b=v[a>>2];a=v[a+628>>2];v[d>>2]=13308;zc(a,b,22641,d);g=0}b=g+c|0}Qb=d+112|0;return b}function Qy(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=Qb-16|0;Qb=f;a:{b:{c:{if(!a){break c}c=v[a+80>>2];if(!c){break c}d=Rd(c,b,-1);if(!d){b=0;break a}b=Ub[v[259704]](60)|0;if(!b){v[f>>2]=283866;oc(0,0,0,0,0,2,2,3,283866,0,0,0,350051,f);b=0;break a}c=b;v[c>>2]=0;v[c+4>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c+4>>2]=1;v[c+56>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+36>>2]=0;v[c+8>>2]=d;if(!v[294265]){break b}c=v[294262];if(!c){break b}Ub[c|0](b);break b}g=Qb-16|0;Qb=g;d:{if(!b){break d}d=Ub[v[259704]](60)|0;if(!d){v[g>>2]=283866;oc(0,0,0,0,0,2,2,3,283866,0,0,0,350051,g);d=0;break d}c=d;v[c>>2]=0;v[c+4>>2]=0;v[c+56>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c+4>>2]=1;c=b;while(1){e=c;c=c+1|0;if(w[e|0]){continue}break}c=0;h=e-b|0;e:{if((h|0)<0){break e}e=Ub[v[259707]](h+1|0)|0;if(!e){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break e}c=gc(e,b,h);t[h+c|0]=0}v[d+36>>2]=0;v[d+8>>2]=c;if(!v[294265]){break d}b=v[294262];if(!b){break d}Ub[b|0](d)}Qb=g+16|0;b=d;if(b){break b}b=0;break a}v[b+32>>2]=a}Qb=f+16|0;return b}function _T(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=Qb-32|0;Qb=c;a:{b:{c:{b=v[a+16>>2];d:{if(b>>>0>=93){v[a+16>>2]=b-93;b=v[a+4>>2];v[c+8>>2]=v[b>>2];v[a+4>>2]=b+4;vy(a,c+8|0);break d}e:{e=v[a+8>>2];f=e-v[a+4>>2]>>2;d=v[a+12>>2];b=d-v[a>>2]|0;if(f>>>0>2>>>0){if((d|0)==(e|0)){break e}g=c,h=fc(4092),v[g+8>>2]=h;vy(a,c+8|0);break d}v[c+24>>2]=a+12;b=b?b>>1:1;if(b>>>0>=1073741824){break c}d=b<<2;b=fc(d);v[c+8>>2]=b;v[299999]=0;e=b+(f<<2)|0;v[c+16>>2]=e;v[c+20>>2]=b+d;v[c+12>>2]=e;d=S(1,4092)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}v[299999]=0;v[c+4>>2]=d;V(3091,c+8|0,c+4|0);b=v[299999];v[299999]=0;if((b|0)!=1){b=v[a+8>>2];while(1){if(v[a+4>>2]==(b|0)){e=v[a>>2];v[a>>2]=v[c+8>>2];v[c+8>>2]=e;v[a+4>>2]=v[c+12>>2];v[c+12>>2]=b;d=v[a+8>>2];v[a+8>>2]=v[c+16>>2];v[c+16>>2]=d;f=v[a+12>>2];v[a+12>>2]=v[c+20>>2];v[c+20>>2]=f;if((b|0)!=(d|0)){v[c+16>>2]=d+(((d-b|0)-4>>>2^-1)<<2)}if(!e){break d}dc(e);break d}v[299999]=0;b=b-4|0;V(3092,c+8|0,b|0);d=v[299999];v[299999]=0;if((d|0)!=1){continue}break}b=P()|0;O()|0;break a}b=P()|0;O()|0;dc(d);break a}g=c,h=fc(4092),v[g+8>>2]=h;b=c+8|0;ST(a,b);d=v[a+4>>2];v[c+8>>2]=v[d>>2];v[a+4>>2]=d+4;vy(a,b)}Qb=c+32|0;return}cf(274079);L()}b=P()|0;O()|0}yV(c+8|0);T(b|0);L()}function v6a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=Qb-32|0;Qb=e;b=x[a+26308>>1];if(b){g=v[252391];while(1){d=0;i=(h<<1>>>0)%(b>>>0)|0;j=(i|0)==1?0-(0-c&-4096)|0:c;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],j,0)|0;k=x[a+26306>>1];v[289140]=0;v[289141]=0;v[289139]=0;if(x[a+26310>>1]){l=i<<1&14;f=0;while(1){b=0;a:{if(d){break a}b=v[289140];b:{if((b|0)>=10){c=v[289139];break b}while(1){c:{d:{c=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;e:{if((c|0)==-1){if(!v[a+26160>>2]){v[e+16>>2]=v[a+25208>>2];wc(g,8292,e+16|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,g);v[a+26160>>2]=1;break e}b=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[e>>2]=b;v[e+4>>2]=b>>31;wc(g,14622,e)}v[a+26160>>2]=1;break e}if(!v[a+26144>>2]){break e}if((c|0)==255){break d}}v[289141]=0;break c}b=0;d=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[289141]=(d|0)!=0;if(!d){break c}d=1;break a}d=v[289140];b=d+8|0;v[289140]=b;c=c&255|v[289139]<<8;v[289139]=c;if((d|0)<2){continue}break}}d=0;v[289140]=b-10;b=c<<32-b>>>22|0}c=x[a+26316>>1];u[(v[a+26352>>2]+(B(x[a+26320>>1],i>>>c|0)+(f>>>c|0)<<3)|0)+((v[a+26028>>2]>>>((f&1|l)<<1)&3)<<1)>>1]=b;f=f+1|0;if(f>>>0>1]){continue}break}}c=j+k|0;b=x[a+26308>>1];h=h+1|0;if(b>>>0>h>>>0){continue}break}}Qb=e+32|0}function uG(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=v[a+204>>2];a:{if(f){i=v[v[a+388>>2]+32>>2];d=v[f+B(i,36)>>2];v[a+288>>2]=d;b:{if((d|0)<1){break b}j=d&3;c=v[a+84>>2];if(d-1>>>0>=3){k=d&-4;d=a+292|0;g=(f+B(i,36)|0)+4|0;while(1){e=b<<2;v[e+d>>2]=c+B(v[e+g>>2],88);h=e|4;v[h+d>>2]=c+B(v[g+h>>2],88);h=e|8;v[h+d>>2]=c+B(v[g+h>>2],88);e=e|12;v[e+d>>2]=c+B(v[e+g>>2],88);b=b+4|0;k=k-4|0;if(k){continue}break}}if(!j){break b}d=f+B(i,36)|0;while(1){g=b<<2;v[(g+a|0)+292>>2]=c+B(v[(d+g|0)+4>>2],88);b=b+1|0;j=j-1|0;if(j){continue}break}}if(!v[a+264>>2]){break a}b=f+B(i,36)|0;v[a+360>>2]=v[b+20>>2];v[a+364>>2]=v[b+24>>2];v[a+368>>2]=v[b+28>>2];v[a+372>>2]=v[b+32>>2];return}c=v[a+76>>2];if((c|0)>=5){b=v[a>>2];v[b+24>>2]=c;v[b+20>>2]=27;v[v[a>>2]+28>>2]=4;Ub[v[v[a>>2]>>2]](a);c=v[a+76>>2]}v[a+288>>2]=c;if((c|0)<1){break a}d=c&3;f=v[a+84>>2];b=0;if(c-1>>>0>=3){g=c&-4;c=a+292|0;while(1){v[c+(b<<2)>>2]=f+B(b,88);e=b|1;v[c+(e<<2)>>2]=f+B(e,88);e=b|2;v[c+(e<<2)>>2]=f+B(e,88);e=b|3;v[c+(e<<2)>>2]=f+B(e,88);b=b+4|0;g=g-4|0;if(g){continue}break}}if(!d){break a}while(1){v[((b<<2)+a|0)+292>>2]=f+B(b,88);b=b+1|0;d=d-1|0;if(d){continue}break}}v[a+360>>2]=0;v[a+368>>2]=0;b=v[a+376>>2];v[a+364>>2]=B(b,b)-1;v[a+372>>2]=0}function jZ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=v[a+736>>2];if(c){e=v[v[c+12>>2]>>2];d=v[a+100>>2];b=d;f=v[c+4>>2];if(f){Ub[v[b+8>>2]](b,f)}v[c+4>>2]=0;b=d;f=v[c+8>>2];if(f){Ub[v[b+8>>2]](b,f)}v[c+8>>2]=0;f=v[c+20>>2];if(f){Ub[v[b+8>>2]](b,f)}v[c+20>>2]=0;b=v[c+12>>2];if(b){Ub[v[d+8>>2]](d,b)}v[c+12>>2]=0;b=v[c+28>>2];if(b){if(e){while(1){f=g<<3;b=v[(f+b|0)+4>>2];if(b){Ub[v[d+8>>2]](d,b)}b=v[c+28>>2];v[(f+b|0)+4>>2]=0;g=g+1|0;if((e|0)!=(g|0)){continue}break}}if(b){Ub[v[d+8>>2]](d,b)}v[c+28>>2]=0}b=v[c+40>>2];if(b){rH(v[a+100>>2],b);b=d;e=v[v[c+40>>2]+28>>2];if(e){Ub[v[b+8>>2]](b,e)}e=v[c+40>>2];v[e+28>>2]=0;e=v[e+24>>2];if(e){Ub[v[b+8>>2]](b,e)}b=v[c+40>>2];v[b+24>>2]=0;if(b){Ub[v[d+8>>2]](d,b)}v[c+40>>2]=0}b=v[c+52>>2];if(b){rH(v[a+100>>2],b);b=d;e=v[v[c+52>>2]+28>>2];if(e){Ub[v[b+8>>2]](b,e)}e=v[c+52>>2];v[e+28>>2]=0;e=v[e+24>>2];if(e){Ub[v[b+8>>2]](b,e)}b=v[c+52>>2];v[b+24>>2]=0;if(b){Ub[v[d+8>>2]](d,b)}v[c+52>>2]=0}b=v[c+56>>2];if(b){rH(v[a+100>>2],b+4|0);a=d;b=v[v[c+56>>2]+24>>2];if(b){Ub[v[a+8>>2]](a,b)}a=v[c+56>>2];v[a+24>>2]=0;if(a){Ub[v[d+8>>2]](d,a)}v[c+56>>2]=0}a=v[c+64>>2];if(a){Ub[v[d+8>>2]](d,a)}v[c+64>>2]=0;a=v[c+72>>2];if(a){Ub[v[d+8>>2]](d,a)}v[c+72>>2]=0;if(c){Ub[v[d+8>>2]](d,c)}}}function qea(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=Qb-32|0;Qb=d;c=v[b>>2];if(c){v[c+4>>2]=v[c+4>>2]+1;f=v[b>>2]}v[d+24>>2]=v[282402];v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=f;v[299999]=0;c=d+16|0;Q(4344,c|0,d+8|0)|0;e=v[299999];v[299999]=0;f=c|4;a:{if((e|0)!=1){v[299999]=0;c=S(1,20)|0;e=v[299999];v[299999]=0;b:{if((e|0)==1){break b}v[c>>2]=0;v[c+4>>2]=0;v[c+16>>2]=0;e=c+8|0;v[e>>2]=0;v[e+4>>2]=0;v[299999]=0;Q(5380,e|0,d+16|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break b}v[299999]=0;Le(a+44|0,c);c=v[299999];v[299999]=0;if((c|0)==1){break b}ec(f);c=v[d+16>>2];v[d+16>>2]=0;c:{if(!c){break c}v[299999]=0;f=v[c+4>>2]-1|0;v[c+4>>2]=f;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(f){break c}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}c=v[d+8>>2];v[d+8>>2]=0;d:{if(!c){break d}v[299999]=0;f=v[c+4>>2]-1|0;v[c+4>>2]=f;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(f){break d}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}e=WP(a+68|0,v[b>>2]+8|0);a=fc(12);v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;c=a;f=v[b>>2];if(f){v[f+4>>2]=v[f+4>>2]+1;b=v[b>>2]}else{b=0}v[c+8>>2]=b;Le(e+24|0,a);Qb=d+32|0;return}}a=P()|0;O()|0;ec(f);ec(d+16|0);ec(d+8|0);T(a|0);L()}W(0)|0;O()|0;lc();L()}function WGa(a,b,c,d){a=a|0;b=b|0;c=C(c);d=C(d);var e=0,f=0,g=0,h=0,i=0,j=0;g=Qb-32|0;Qb=g;z[a+20>>2]=d;z[a+16>>2]=c;v[a+4>>2]=0;v[a+8>>2]=0;v[a>>2]=b;v[a+12>>2]=0;v[g+8>>2]=0;v[g>>2]=0;v[g+4>>2]=0;i=a+4|0;a:{if(b){if(b>>>0>=1073741824){v[299999]=0;R(2185,g|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}L()}v[299999]=0;f=b<<2;e=S(1,f|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}v[g>>2]=e;b=f+e|0;v[g+8>>2]=b;v[g+4>>2]=b}v[299999]=0;h=Y(2460,g+16|0,1,g|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}f=v[i>>2];if(f){e=v[a+8>>2];if((f|0)==(e|0)){b=f}else{while(1){b=e-12|0;j=v[b>>2];if(j){v[e-8>>2]=j;dc(j)}e=b;if((f|0)!=(b|0)){continue}break}b=v[i>>2]}v[a+8>>2]=f;dc(b);v[a+12>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0}v[a+4>>2]=v[h>>2];v[a+8>>2]=v[h+4>>2];v[a+12>>2]=v[h+8>>2];b=0;v[h+8>>2]=0;v[h>>2]=0;v[h+4>>2]=0;f=v[g>>2];if(f){v[g+4>>2]=f;dc(f)}e=v[a>>2];if(e){while(1){f=v[v[a+4>>2]>>2]+(b<<2)|0;h=f;c=C(C(255)-C(C(C(b|0)/C(e>>>0))*C(255)));b:{if(c=C(0)){e=~~c>>>0;break b}e=0}e=B(e&255,65793)-16777216|0;t[h|0]=e;t[f+1|0]=e>>>8;t[f+2|0]=e>>>16;t[f+3|0]=e>>>24;b=b+1|0;e=v[a>>2];if(b>>>0>>0){continue}break}}Qb=g+32|0;return a|0}a=P()|0;O()|0;b=v[g>>2];if(b){v[g+4>>2]=b;dc(b)}Vh(i);T(a|0);L()}function ZMa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=v[a+4>>2];m=v[f+24>>2];l=v[a+12>>2];g=v[a+8>>2];i=v[f+44>>2];e=v[a+16>>2];k=v[a+20>>2];a:{if(!(!i|e>>>0>=k>>>0)){v[f+44>>2]=0;h=t[f+36|0];t[f+36|0]=0;c=v[f+48>>2];d=0;break a}d=1}b:{c:{d:{while(1){e:{f:{g:{if(!d){h:{if((c|0)<=(h|0)){break h}while(1){if(g>>>0>=l>>>0){break d}d=w[g|0];t[(f+h|0)+37|0]=d;if((d&192)!=128){break h}g=g+1|0;i=d+(i<<6)|0;h=h+1|0;if((h|0)!=(c|0)){continue}break}h=c}if((c|0)!=(h|0)){break c}j=c<<2;d=i-v[j+850224>>2]|0;if(d>>>0>1114111|d>>>0>2]){break c}i:{if((m|0)==849664){if((c|0)<4){break i}break c}if((d&-2048)==55296){break c}}if(d>>>0>65535){break g}u[e>>1]=d;e=e+2|0;break f}c=g;while(1){if(c>>>0>=l>>>0){g=c;break b}if(e>>>0>=k>>>0){g=c;break b}g=c+1|0;i=w[c|0];c=i<<24>>24;if((c|0)>=0){u[e>>1]=c&255;e=e+2|0;c=g;continue}break}t[f+37|0]=c;c=t[i+849968|0];h=1;d=0;continue}u[e>>1]=(d+67043328>>>10|0)-10240;j=d&1023|-9216;d=e+2|0;if(d>>>0>=k>>>0){break e}u[e+2>>1]=j;e=e+4|0}d=1;continue}break}t[f+65|0]=1;u[f+116>>1]=j;v[b>>2]=15;e=d;break b}v[f+48>>2]=c;v[f+44>>2]=i;t[f+36|0]=h;break b}t[f+36|0]=h;v[b>>2]=12}if(!(e>>>0>>0|g>>>0>=l>>>0|v[b>>2]>0)){v[b>>2]=15}v[a+8>>2]=g;v[a+16>>2]=e}function Ge(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=v[a+8>>2];a:{while(1){b:{if((e|0)>=0){v[a+8>>2]=-1;d=e;break b}d=Ub[v[a>>2]](v[a+4>>2])|0;v[a+8>>2]=-1;if((d|0)!=-1){break b}e=0;break a}if(f){f=(d|0)!=13&(d|0)!=10;e=-1;continue}f=1;e=-1;if((d|0)==37){continue}f=0;if(w[d+961648|0]==1){continue}break}t[b|0]=d;h=1;e=1;c:{d:{e:{switch(d-91|0){case 0:case 2:break c;case 1:break d;default:break e}}if((d|0)!=40){if((d|0)!=60){break d}while(1){d=v[a+8>>2];f:{if((d|0)>-1){break f}d=Ub[v[a>>2]](v[a+4>>2])|0;v[a+8>>2]=d;if((d|0)==-1){break c}if((d|0)>-1){break f}Ub[v[a>>2]](v[a+4>>2])|0}v[a+8>>2]=-1;if(!(w[d+961648|0]==1|(e|0)>=255)){t[b+e|0]=d;e=e+1|0}if((d|0)!=62){continue}break}break c}d=v[a+8>>2];f=1;while(1){if((d|0)<=-1){d=Ub[v[a>>2]](v[a+4>>2])|0;v[a+8>>2]=d;if((d|0)==-1){break c}}if((e|0)>=255){g=d}else{t[b+e|0]=d;e=e+1|0;g=v[a+8>>2]}if((g|0)<=-1){Ub[v[a>>2]](v[a+4>>2])|0}v[a+8>>2]=-1;if((d|0)==41&f&(d|0)!=92){break c}f=(d|0)!=92;d=-1;continue}}while(1){d=v[a+8>>2];if((d|0)<=-1){d=Ub[v[a>>2]](v[a+4>>2])|0;v[a+8>>2]=d;if((d|0)==-1){break c}}if(w[d+961648|0]){break c}if((d|0)<=-1){Ub[v[a>>2]](v[a+4>>2])|0}v[a+8>>2]=-1;if((e|0)>=255){continue}t[b+e|0]=d;e=e+1|0;continue}}b=b+e|0}t[b|0]=0;v[c>>2]=e;return h}function wG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=v[a+12>>2];d=v[a+8>>2];a:{b:{j=v[a+4>>2];c=v[j+44>>2];h=v[a+16>>2];l=v[a+20>>2];if(!(!c|h>>>0>=l>>>0)){v[j+44>>2]=0;e=t[j+36|0];t[j+36|0]=0;g=c-1|0;break b}c=0;break a}c=1}c:{while(1){if(!c){if(d>>>0>=k>>>0){break c}g=0;e=0;if(h>>>0>=l>>>0){break c}c=1;continue}d:{e:{if(e>>>0>3){c=e;break e}if(d>>>0>=k>>>0){break d}c=w[d|0];t[(e+j|0)+37|0]=c;f=d+1|0;g=c<<(e<<3)|g;c=4;i=e+1|0;if((i|0)==4){d=f;break e}if(f>>>0>=k>>>0){e=i;d=f;break d}c=w[d+1|0];t[(j+i|0)+37|0]=c;f=d+2|0;g=c<<(i<<3)|g;c=4;i=e+2|0;if((i|0)==4){d=f;break e}if(f>>>0>=k>>>0){e=i;d=f;break d}c=w[d+2|0];t[(j+i|0)+37|0]=c;f=d+3|0;g=c<<(i<<3)|g;c=4;e=e+3|0;if((e|0)==4){d=f;break e}if(f>>>0>=k>>>0){d=f;break d}f=w[d+3|0];t[(e+j|0)+37|0]=f;d=d+4|0;g=f<<(e<<3)|g}f:{if(!((g&-2048)==55296|g>>>0>1114111)){if(g>>>0<=65535){u[h>>1]=g;h=h+2|0;break f}u[h>>1]=(g>>>10|0)-10304;f=g&1023|-9216;c=h+2|0;if(c>>>0>>0){u[h+2>>1]=f;h=h+4|0;break f}e=v[a+4>>2];t[e+65|0]=1;u[e+116>>1]=f;v[b>>2]=15;h=c;break c}t[v[a+4>>2]+36|0]=c;v[b>>2]=12;break c}c=0;continue}break}c=v[a+4>>2];t[c+36|0]=e;v[c+44>>2]=g+1}if(!(h>>>0>>0|d>>>0>=k>>>0|v[b>>2]>0)){v[b>>2]=15}v[a+8>>2]=d;v[a+16>>2]=h}function Ela(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;f=Qb+-64|0;Qb=f;v[f+56>>2]=0;v[f+60>>2]=0;v[f+48>>2]=0;v[f+52>>2]=0;e=f+48|0;v[e>>2]=982500;v[e+4>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;h=e;v[299999]=0;$(5001,b|0,c|0,e|0,1);b=v[299999];v[299999]=0;a:{b:{if((b|0)==1){break b}v[299999]=0;a=S(4477,a|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}c:{d:{b=v[f+56>>2];e:{if(!b){break e}i=f+16|0;while(1){e=v[b+8>>2];g=v[v[e>>2]+12>>2];v[299999]=0;$(g|0,f+8|0,e|0,c|0,d|0);e=v[299999];v[299999]=0;f:{g:{h:{if((e|0)!=1){v[299999]=0;Q(4478,a|0,f+8|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break h}v[f+32>>2]=981312;v[f+8>>2]=981280;e=v[f+36>>2];if(e){g=v[e+4>>2]-1|0;v[e+4>>2]=g;if(!g){Ub[v[v[e>>2]+4>>2]](e)}v[f+36>>2]=0}v[f+24>>2]=981312;e=v[f+28>>2];if(e){g=v[e+4>>2]-1|0;v[e+4>>2]=g;if(!g){Ub[v[v[e>>2]+4>>2]](e)}v[f+28>>2]=0}ec(i);e=v[a+8>>2];if(!e|!v[e+8>>2]){break f}v[299999]=0;U(4713,f+8|0,a|0,0);e=v[299999];v[299999]=0;if((e|0)==1){break d}e=v[f+8>>2];if(e){break g}ec(f+8|0);break f}b=P()|0;O()|0;break c}b=P()|0;O()|0;$c(f+8|0);break c}e=v[e+8>>2];ec(f+8|0);if(e){break e}}b=v[b>>2];if(b){continue}break}}Ic(h);Qb=f- -64|0;return}b=P()|0;O()|0}$c(a);break a}b=P()|0;O()|0}Ic(h);T(b|0);L()}function u6a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=Qb-32|0;Qb=d;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],x[a+26314>>1]+B(x[a+26306>>1],x[a+26312>>1])<<1,1)|0;e=x[a+26322>>1]<>2];f=bd(e,2);if(f){a:{if(!x[a+26304>>1]){break a}if(!e){while(1){Mi(a,f,0);Ub[v[v[a>>2]+8>>2]](v[a+4>>2],x[a+26306>>1]<<1,1)|0;c=c+1|0;if(c>>>0>1]){continue}break a}}while(1){Mi(a,f,e);Ub[v[v[a>>2]+8>>2]](v[a+4>>2],x[a+26306>>1]-e<<1,1)|0;k=c+1|0;l=v[a+26028>>2];m=v[a+26352>>2];b=0;b:{if(v[a+26100>>2]){c=c>>>1|0;j=k>>>1|0;while(1){g=x[a+26322>>1]+(c+(b^-1)|0)|0;h=x[a+26316>>1];i=b+j|0;u[((B(x[a+26320>>1],g>>h)+(i>>>h|0)<<3)+m|0)+((l>>>((g<<1&14|i&1)<<1)&3)<<1)>>1]=x[(b<<1)+f>>1];b=b+1|0;if((e|0)!=(b|0)){continue}break}break b}while(1){g=x[a+26322>>1]+((b>>>1^-1)+c|0)|0;h=x[a+26316>>1];j=b+1|0;i=(j>>>1|0)+c|0;u[((B(x[a+26320>>1],g>>h)+(i>>>h|0)<<3)+m|0)+((l>>>((g<<1&14|i&1)<<1)&3)<<1)>>1]=x[(b<<1)+f>>1];b=j;if((e|0)!=(b|0)){continue}break}}c=k;if(c>>>0>1]){continue}break}}dc(f);Qb=d+32|0;return}b=v[a+190640>>2];c:{if(b){c=v[a+25208>>2];v[d+20>>2]=29309;v[d+16>>2]=c;zd(b,4338,d+16|0);break c}b=v[a+25208>>2];v[d+4>>2]=29309;v[d>>2]=b;wc(v[252391],4338,d)}sd(a+190484|0,1);L()}function sO(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Qb-32|0;Qb=e;v[a>>2]=0;v[a+4>>2]=v[282402];b=v[b>>2];b=v[(b?b+12|0:1129608)>>2];v[299999]=0;v[e+24>>2]=0;v[e+28>>2]=0;v[e+20>>2]=0;v[e+16>>2]=990592;fa(5155,e+8|0,e+16|0,b|0,c|0,((d|0)>-1?d:-1)|0);b=v[299999];v[299999]=0;a:{b:{c:{if((b|0)!=1){v[e+16>>2]=990496;b=v[e+28>>2];if(b){t[b|0]=0;dc(v[e+28>>2])}v[e+28>>2]=0;Qc(e+16|0);b=v[e+8>>2];d:{if(b){c=v[v[b>>2]+28>>2];v[299999]=0;U(c|0,e+16|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break d}d=P()|0;O()|0;break c}v[e+16>>2]=0}v[299999]=0;Q(4344,a|0,e+16|0)|0;b=v[299999];v[299999]=0;e:{if((b|0)!=1){b=v[e+16>>2];v[e+16>>2]=0;if(!b){break e}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)!=1){if(c){break e}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break e}}break a}d=P()|0;O()|0;ec(e+16|0);break c}b=v[a>>2];v[a+4>>2]=v[(b?b+12|0:1129608)>>2];b=v[e+8>>2];v[e+8>>2]=0;f:{if(!b){break f}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break f}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}Qb=e+32|0;return a|0}d=P()|0;O()|0;Ag(e+16|0);break b}ec(e+8|0)}ec(a);T(d|0);L()}W(0)|0;O()|0;lc();L()}function Ym(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;e=Qb-16|0;Qb=e;a:{if((b|0)<0|v[a+32>>2]<=(b|0)){break a}v[e+12>>2]=1;f=v[a+28>>2];g=f+B(b,20)|0;d=v[g+8>>2];b:{c:{switch(v[g+16>>2]){case 0:if((c|0)<0|(v[(f+B(b,20)|0)+12>>2]-6|0)<=(c|0)){break a}b=mf(a,(c+d|0)+6|0,e+12|0);break b;case 2:if(c>>>0>255){break a}if(We(a,d+6|0,e+12|0)){break a}if(We(a,d+518|0,e+12|0)){break a}if((We(a,d+520|0,e+12|0)|0)!=256){break a}if(We(a,d+522|0,e+12|0)){break a}b=d+524|0;j=a;a=e+12|0;b=We(j,(b+(c<<1)|0)+We(j,b,a)|0,a);break b;case 4:g=-1;i=e+12|0;k=We(a,d+6|0,i);h=(k|0)/2|0;f=h-1|0;b=f<<1;l=d+14|0;if((We(a,b+l|0,i)|0)<(c|0)){break a}j=a;if(!(!v[e+12>>2]|(k|0)<4)){while(1){b=(f+g|0)/2|0;i=(We(a,(b<<1)+l|0,e+12|0)|0)<(c|0);f=i?f:b;g=i?b:g;if(v[e+12>>2]?(f-g|0)>=2:0){continue}break}b=f<<1}b=(b+d|0)+16|0;d=e+12|0;f=We(j,b+(h<<1)|0,d);g=We(a,b+(h<<2)|0,d);h=b+B(h,6)|0;d=We(a,h,d);if((c|0)<(f|0)){break a}b=c+g&65535;if(!d){break b}a=We(a,(d+h|0)+(c-f<<1)|0,e+12|0);b=0;if(!a){break b}b=a+g&65535;break b;case 6:break c;default:break a}}f=e+12|0;b=We(a,d+6|0,f);if((b|0)>(c|0)|(We(a,d+8|0,f)+b|0)<=(c|0)){break a}b=We(a,(d+(c-b<<1)|0)+10|0,e+12|0)}m=v[e+12>>2]?b:0}Qb=e+16|0;return m|0}function X6(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;g=v[a+12>>2];a:{if(v[a+4>>2]){if((c|0)<=0){break a}d=1;while(1){h=x[b>>1]<<16;e=+u[b+2>>1]*.01251220703125;b:{c:{d:{if(!d){if(D(e)<2147483648){d=~~e}else{d=-2147483648}d=h|d<<8&65280;break d}d=Bib(v[299450],v[299451],1284865837,1481765933)+1|0;f=Tb;f=d>>>0<1?f+1|0:f;v[299450]=d;v[299451]=f;e=e+ +(f>>>1|0)*4.656612875245797e-10+-.5;e:{if(D(e)<2147483648){d=~~e;break e}d=-2147483648}d=h|d<<8&65280;if(v[a+4>>2]){break c}}e=+u[b+4>>1]*.01251220703125;break b}e=+u[b+4>>1]*.01251220703125;f=Bib(v[299450],v[299451],1284865837,1481765933)+1|0;h=Tb;h=f>>>0<1?h+1|0:h;v[299450]=f;v[299451]=h;e=e+ +(h>>>1|0)*4.656612875245797e-10+-.5}f:{if(D(e)<2147483648){f=~~e;break f}f=-2147483648}v[g>>2]=f&255|d;if((c|0)<2){break a}c=c-1|0;g=g+4|0;b=b+6|0;d=v[a+4>>2];continue}}if((c|0)<1){break a}if(c&1){v[g>>2]=B(u[b+4>>1],410)>>>15&255|(B(u[b+2>>1],410)>>>7&65280|x[b>>1]<<16);b=b+6|0;g=g+4|0;a=c-1|0}else{a=c}d=a;if((c|0)==1){break a}while(1){v[g>>2]=B(u[b+4>>1],410)>>>15&255|(B(u[b+2>>1],410)>>>7&65280|x[b>>1]<<16);v[g+4>>2]=B(u[b+10>>1],410)>>>15&255|(B(u[b+8>>1],410)>>>7&65280|x[b+6>>1]<<16);b=b+12|0;g=g+8|0;a=(d|0)>2;d=d-2|0;if(a){continue}break}}}function Se(a,b,c,d){var e=0,f=0,g=0;a:{b:{c:{if(!a|!b){break c}f=w[b|0];e=B(f,30);if(f){g=b;while(1){e=((e<<5)+(e>>>3|0)|0)+(f<<24>>24)^e;f=w[g+1|0];g=g+1|0;if(f){continue}break}}e=(e<<5)+(e>>>3|0)^e;d:{if(!c){break d}f=w[c|0];if(!f){break d}g=c;while(1){e=((f<<24>>24)+(e>>>3|0)|0)+(e<<5)^e;f=w[g+1|0];g=g+1|0;if(f){continue}break}}e=(e<<5)+(e>>>3|0)^e;e:{if(!d){break e}f=w[d|0];if(!f){break e}g=d;while(1){e=((f<<24>>24)+(e>>>3|0)|0)+(e<<5)^e;f=w[g+1|0];g=g+1|0;if(f){continue}break}}f=v[a>>2];g=f+B((e>>>0)%y[a+4>>2]|0,24)|0;if(!v[g+20>>2]){break c}if(v[a+12>>2]){e=g;while(1){if(!(v[e+4>>2]!=(b|0)|v[e+8>>2]!=(c|0))&v[e+12>>2]==(d|0)){break a}e=v[e>>2];if(e){continue}break}if(!f){break c}}while(1){f:{e=v[g+4>>2];if((e|0)!=(b|0)){f=b;if(!e){break f}while(1){a=w[e|0];if((a|0)!=w[f|0]){break f}f=f+1|0;e=e+1|0;if(a){continue}break}}e=v[g+8>>2];if((e|0)!=(c|0)){if(!e){break f}f=c;if(!f){break f}while(1){a=w[e|0];if((a|0)!=w[f|0]){break f}f=f+1|0;e=e+1|0;if(a){continue}break}}e=v[g+12>>2];if((e|0)==(d|0)){break b}if(!e){break f}f=d;if(!f){break f}while(1){a=w[e|0];if((a|0)!=w[f|0]){break f}f=f+1|0;e=e+1|0;if(a){continue}break}break b}g=v[g>>2];if(g){continue}break}}return 0}e=g}return v[e+16>>2]}function yG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=v[a+4>>2];c=v[e+48>>2];a:{d=v[a+8>>2];h=v[a+12>>2];b:{if(d>>>0>=h>>>0){break b}f=v[a+24>>2];while(1){c:{if(v[b>>2]>0){break c}d:{e:{switch(c|0){case 0:g=w[d|0];c=1;t[e+36|0]=1;t[e+37|0]=g;d=d+1|0;break d;case 1:f:{g:{i=w[e+37|0];c=w[d|0];if(!((i|0)!=254|(c|0)!=255)){c=8;if(v[e+24>>2]!=848204){break g}f=9;c=255;break a}g=v[e+24>>2];h:{if(!((i|0)==255&(c&255)==254)){if((g|0)!=848604&(g|0)!=848832|(v[e+28>>2]&15)!=1){break h}f=8;break a}c=9;if((g|0)!=847804){break g}f=8;c=254;break a}c=v[a+8>>2];if((c|0)!=(d|0)){t[e+36|0]=0;d=c}c=(g|0)==848204?9:8;break f}t[e+36|0]=0;d=d+1|0;j=d-v[a+8>>2]|0}v[e+48>>2]=c;if(d>>>0>>0){continue}break c;case 8:v[a+8>>2]=d;zG(a,b);d=v[a+8>>2];c=8;break d;case 9:break e;default:break d}}v[a+8>>2]=d;xG(a,b);d=v[a+8>>2];c=9}if(d>>>0>>0){continue}}break}if(!f|!j){break b}g=v[a+24>>2];if(g>>>0<=f>>>0){break b}while(1){v[f>>2]=v[f>>2]+j;f=f+4|0;if(g>>>0>f>>>0){continue}break}}v[a+8>>2]=d;i:{if(!w[a+2|0]|(d|0)!=(h|0)){break i}j:{switch(c-8|0){case 0:zG(a,b);v[e+48>>2]=c;return;case 1:break j;default:break i}}xG(a,b)}v[e+48>>2]=c;return}t[e+36|0]=2;t[e+38|0]=c;v[a+8>>2]=d+1;v[e+48>>2]=f;v[b>>2]=18}function fJ(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=-1;a:{if(!b|!c){break a}b:{e=x[a+26>>1];if(v[a+16>>2]<1|e>>>0>7){break b}while(1){c:{d:{e:{f:{g=e&65535;switch(g-1|0){case 0:break e;case 3:break f;default:break c}}i=(f<<2^-1)&4;e=15;break d}i=(f^-1)&7;e=1}g=(B(f,g)>>>3|0)+c|0;j=w[g|0]&(e<=v[a+16>>2]){break b}e=x[a+26>>1];continue}}if(v[a+1e3>>2]){e=v[a+1012>>2]+(v[a+1004>>2]^-1)|0;if(!((e|0)<0|(e|0)>v[v[b+20>>2]+20>>2])){v[b+4>>2]=e;k=b,l=xe(v[b+20>>2],0)+B(e,v[v[b+20>>2]+52>>2])|0,v[k+16>>2]=l}e=v[v[b+20>>2]+52>>2];b=v[b+16>>2];g:{if(!b){break g}d=(d|0)<0?e:(d|0)>(e|0)?e:d;if((d|0)<1){break g}gc(b,c,d)}e=v[a+1008>>2];b=e+v[a+1004>>2]|0;v[a+1004>>2]=b;h=0;c=b;b=v[a+1012>>2];if((c|0)<(b|0)){break a}f=v[a+1016>>2];while(1){if((f|0)>=1){e=(e|0)/2|0;v[a+1008>>2]=e}f=f+1|0;c=(e|0)/2|0;if((c|0)>(b|0)){continue}break}v[a+1004>>2]=c;v[a+1016>>2]=f;return 0}a=v[b+20>>2];if(!a){break a}if(!Ft(a,v[b>>2],v[b+4>>2])){break a}a=v[v[b+20>>2]+52>>2];h=0;e=v[b+16>>2];h:{if(!e){break h}a=(d|0)<0?a:(a|0)<(d|0)?a:d;if((a|0)<1){break h}gc(e,c,a)}a=v[b+4>>2];v[b+4>>2]=a-1;if((a|0)<1){break a}v[b+16>>2]=v[b+16>>2]-v[v[b+20>>2]+52>>2]}return h}function j2(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;o=Qb;f=b+1|0;j=o-((B(f>>>1|0,c)<<2)+15&-16)|0;Qb=j;a:{if((b|0)<2){break a}i=B(1-e|0,d);l=f-e>>1;h=e?l:b-l|0;b:{if((h|0)<1|(c|0)<1){break b}m=c<<2;n=d<<1;f=0;if((h|0)!=1){g=h&-2;while(1){gc((B(c,f)<<2)+j|0,(i+B(f,n)<<2)+a|0,m);k=f|1;gc((B(k,c)<<2)+j|0,(i+B(n,k)<<2)+a|0,m);f=f+2|0;g=g-2|0;if(g){continue}break}}if(!(h&1)){break b}gc((B(c,f)<<2)+j|0,(i+B(f,n)<<2)+a|0,m)}k=(b-!e|0)-h|0;if(!((k|0)<1|(c|0)<1)){g=(i<<2)+a|0;m=c&-8;n=c&7;i=(B(2-e|0,d)<<2)+a|0;p=c-1>>>0<7;q=d<<3;while(1){f=g;e=i;b=m;if(!p){while(1){v[f>>2]=v[e>>2];v[f+4>>2]=v[e+4>>2];v[f+8>>2]=v[e+8>>2];v[f+12>>2]=v[e+12>>2];v[f+16>>2]=v[e+16>>2];v[f+20>>2]=v[e+20>>2];v[f+24>>2]=v[e+24>>2];v[f+28>>2]=v[e+28>>2];e=e+32|0;f=f+32|0;b=b-8|0;if(b){continue}break}}b=n;if(b){while(1){v[f>>2]=v[e>>2];e=e+4|0;f=f+4|0;b=b-1|0;if(b){continue}break}}i=i+q|0;g=(d<<2)+g|0;b=(k|0)>1;k=k-1|0;if(b){continue}break}}if((h|0)<1|(c|0)<1){break a}e=c<<2;f=0;if((h|0)!=1){b=h&-2;while(1){gc((B(f+l|0,d)<<2)+a|0,(B(c,f)<<2)+j|0,e);g=f|1;gc((B(g+l|0,d)<<2)+a|0,(B(c,g)<<2)+j|0,e);f=f+2|0;b=b-2|0;if(b){continue}break}}if(!(h&1)){break a}gc((B(f+l|0,d)<<2)+a|0,(B(c,f)<<2)+j|0,e)}Qb=o}function P_(a,b){var c=0,d=0,e=0,f=0,g=0;if(!a){return 35}c=6;a:{b:{c:{if(!b){break c}if(!v[a+96>>2]){return 34}v[b>>2]=0;e=v[a+100>>2];g=v[v[a+96>>2]+12>>2];d=v[g+40>>2];d:{if((d|0)<=0){if(!d){break d}break c}f=Ub[v[e+4>>2]](e,d)|0;if(!f){return 64}ic(f,0,d)}e:{d=Ub[v[e+4>>2]](e,12)|0;if(d){t[d|0]=0;t[d+1|0]=0;t[d+2|0]=0;t[d+3|0]=0;t[d+4|0]=0;t[d+5|0]=0;t[d+6|0]=0;t[d+7|0]=0;t[d+8|0]=0;t[d+9|0]=0;t[d+10|0]=0;t[d+11|0]=0;v[f>>2]=a;c=Ub[v[e+4>>2]](e,36)|0;if(c){break e}c=64;break b}c=64;if(f){break a}break c}t[c|0]=0;t[c+1|0]=0;t[c+2|0]=0;t[c+3|0]=0;t[c+4|0]=0;t[c+5|0]=0;t[c+6|0]=0;t[c+7|0]=0;t[c+32|0]=0;t[c+33|0]=0;t[c+34|0]=0;t[c+35|0]=0;t[c+24|0]=0;t[c+25|0]=0;t[c+26|0]=0;t[c+27|0]=0;t[c+28|0]=0;t[c+29|0]=0;t[c+30|0]=0;t[c+31|0]=0;t[c+16|0]=0;t[c+17|0]=0;t[c+18|0]=0;t[c+19|0]=0;t[c+20|0]=0;t[c+21|0]=0;t[c+22|0]=0;t[c+23|0]=0;t[c+8|0]=0;t[c+9|0]=0;t[c+10|0]=0;t[c+11|0]=0;t[c+12|0]=0;t[c+13|0]=0;t[c+14|0]=0;t[c+15|0]=0;v[f+40>>2]=c;c=v[g+56>>2];if(c){c=Ub[c|0](f)|0;if(c){break b}}v[b>>2]=f;v[d+8>>2]=f;b=v[a+112>>2];v[d>>2]=b;c=0;v[d+4>>2]=0;v[(b?b+4|0:a+108|0)>>2]=d;v[a+112>>2]=d}return c}Ub[v[e+8>>2]](e,d)}a=v[f+40>>2];if(a){Ub[v[e+8>>2]](e,a)}v[f+40>>2]=0;Ub[v[e+8>>2]](e,f);return c}function se(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{d=v[b>>2];b:{if((d|0)>=v[c>>2]){break b}c:{while(1){g=v[(d<<2)+a>>2];e=g-32|0;if((e|0)!=12?e:0){break c}d=d+1|0;v[b>>2]=d;if(!((e|0)!=12?e:0)){if(v[c>>2]>(d|0)){continue}break b}break}g=v[(d<<2)+a>>2]}d=d+1|0;v[b>>2]=d;d:{if(g-48>>>0<10){break d}c=g-45|0;if(1<>>0<=24:0){break d}if((g|0)!=101){break b}}e=0;e:{f:{g:{h:{i:{if((g|0)!=45){f=0;if((g|0)==46){break i}e=g-48|0}h=v[(d<<2)+a>>2];c=h-48|0;if(c>>>0<=9){while(1){e=B(e,10)+c|0;d=d+1|0;h=v[(d<<2)+a>>2];c=h-48|0;if(c>>>0<10){continue}break}v[b>>2]=d}if((h|0)!=46){break h}d=d+1|0;v[b>>2]=d;f=+(e|0)}e=v[(d<<2)+a>>2];if((e&-33)==69){break g}i=.1;while(1){c=e-48|0;if(c>>>0>9){break a}d=d+1|0;v[b>>2]=d;f=f+i*+(c|0);i=i*.1;e=v[(d<<2)+a>>2];if((e&-33)!=69){continue}break}break g}if((h&-33)!=69){break f}f=+(e|0)}e=d+2|0;v[b>>2]=e;c=v[((d<<2)+a|0)+4>>2];if(v[(e<<2)+a>>2]-48>>>0<=9){while(1){e=e+1|0;if(v[(e<<2)+a>>2]-48>>>0<10){continue}break}v[b>>2]=e}f=(g|0)==45?-f:f;if((c|0)==45){break e}return f*10*10*10*10*10*10*10*10*10*10*10*10*10*10*10*10*10*10*10*10}return+(((g|0)==45?0-e|0:e)|0)}i=f/10/10/10/10/10/10/10/10/10/10/10/10/10/10/10/10/10/10/10/10}return i}return(g|0)==45?-f:f}function ofa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=Qb-32|0;Qb=i;a:{if(!w[a+49|0]){a=vc(i+8|0,227275,242139,718,337662,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}b=P()|0;O()|0;qc(a);T(b|0);L()}if(w[a+4|0]){e=x[b+2>>1];h=e+c|0;f=x[b>>1];g=f+d|0;f=f+1|0;e=e+1|0}else{e=0}b:{if(Ub[v[v[a>>2]+8>>2]](a,v[a+200>>2]>(f|0),a+168|0)|0){j=Ub[v[v[a>>2]+56>>2]](a,f-v[a+212>>2]|0,a+176|0)|0;k=Ub[v[v[a>>2]+56>>2]](a,h-v[a+208>>2]|0,a+184|0)|0;h=w[a+4|0];if(!h){f=j+v[a+212>>2]|0;g=(f+d|0)-1|0;e=(v[a+208>>2]+(k-c|0)|0)+1|0}v[a+208>>2]=e;v[a+204>>2]=g;v[a+200>>2]=f;v[a+212>>2]=f;v[a+196>>2]=e;v[a+236>>2]=0;v[a+224>>2]=e;v[a+232>>2]=e;v[a+228>>2]=e;break b}j=Ub[v[v[a>>2]+56>>2]](a,f-v[a+204>>2]|0,a+172|0)|0;k=Ub[v[v[a>>2]+56>>2]](a,e-v[a+196>>2]|0,a+180|0)|0;c=a;h=w[a+4|0];if(!h){e=k+v[a+196>>2]|0;f=j+v[a+204>>2]|0;g=(f+d|0)-1|0}v[c+204>>2]=g;v[a+200>>2]=f;c=v[a+236>>2]+1|0;c=(c|0)==3?0:c;v[a+236>>2]=c;v[(a+224|0)+(c<<2)>>2]=e;c=v[a+232>>2];g=v[a+224>>2];d=v[a+228>>2];c:{if((g|0)>=(d|0)){if((c|0)>=(g|0)){break c}g=(c|0)>(d|0)?c:d;break c}if((c|0)<=(g|0)){break c}g=(c|0)>(d|0)?d:c}v[a+196>>2]=g}if(!h){u[b>>1]=f-1;u[b+2>>1]=e-1}Qb=i+32|0;return}L()}function fu(a,b){var c=0,d=0,e=0,f=0,g=0;c=Qb-32|0;Qb=c;v[c+16>>2]=13;v[c>>2]=13;d=c+16|0;rc(b,286569,d,0);d=Wl(d,0);v[a+8>>2]=d;a:{if(!d){kc(1,-1,219323,0);break a}e=c+16|0;hc(e);ic(a+12|0,0,132);b:{if(v[rc(b,287600,e,0)>>2]!=6){break b}e=v[a+8>>2];if(v[v[c+24>>2]+12>>2]==(Ub[v[v[e>>2]+28>>2]](e)|0)){v[a+140>>2]=1;e=v[a+8>>2];if((Ub[v[v[e>>2]+28>>2]](e)|0)<1){break b}e=0;while(1){g=(e<<2)+a|0;d=yc(v[c+24>>2],e,c,0);f=(v[d>>2]==1?+v[d+8>>2]:A[d+8>>3])*65536;c:{if(D(f)<2147483648){d=~~f;break c}d=-2147483648}v[g+12>>2]=d;hc(c);d=v[a+8>>2];e=e+1|0;if((Ub[v[v[d>>2]+28>>2]](d)|0)>(e|0)){continue}break}break b}kc(1,-1,219361,0)}d=c+16|0;hc(d);v[a+144>>2]=0;v[a+148>>2]=0;v[a+176>>2]=0;v[a+168>>2]=0;v[a+172>>2]=0;v[a+160>>2]=0;v[a+164>>2]=0;v[a+152>>2]=0;v[a+156>>2]=0;e=1;if(v[rc(b,220495,d,0)>>2]!=6){break a}b=v[c+24>>2];if(v[b+12>>2]==4){v[a+176>>2]=1;b=yc(b,0,c,0);A[a+144>>3]=v[b>>2]==1?+v[b+8>>2]:A[b+8>>3];hc(c);b=yc(v[c+24>>2],1,c,0);A[a+152>>3]=v[b>>2]==1?+v[b+8>>2]:A[b+8>>3];hc(c);b=yc(v[c+24>>2],2,c,0);A[a+160>>3]=v[b>>2]==1?+v[b+8>>2]:A[b+8>>3];hc(c);b=a;a=yc(v[c+24>>2],3,c,0);A[b+168>>3]=v[a>>2]==1?+v[a+8>>2]:A[a+8>>3];hc(c);break a}kc(1,-1,218755,0)}hc(c+16|0);Qb=c+32|0;return e}function X5a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=Qb+-64|0;Qb=d;b=x[a+26306>>1];g=bd(b,3);if(g){if(x[a+26308>>1]){h=v[252391];while(1){c=f&1;a:{if(c){break a}if((Ub[v[v[a>>2]>>2]](v[a+4>>2],g,b,3)|0)>2){break a}b:{if(v[a+26160>>2]){break b}v[d+48>>2]=v[a+25208>>2];wc(h,8292,d+48|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,h);break b}b=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[d+32>>2]=b;v[d+36>>2]=b>>31;wc(h,14622,d+32|0)}v[a+26160>>2]=1}c:{if(!x[a+26306>>1]){b=0;break c}l=c<<1;i=v[a+26352>>2];c=0;while(1){e=x[a+26310>>1];b=(e+(c&2147483646)|0)+g|0;j=w[b|0];k=w[b+1|0]-128|0;b=w[(B(e,l)+c|0)+g|0]-((k+j|0)-126>>2)|0;m=(B(e,f)+c<<3)+i|0;e=b+k|0;e=(e|0)<255?e:255;u[m>>1]=(e|0)>0?e:0;e=(b|0)<255?b:255;u[((B(x[a+26310>>1],f)+c<<3)+i|0)+2>>1]=(e|0)>0?e:0;b=(b+j|0)-128|0;b=(b|0)<255?b:255;u[((B(x[a+26310>>1],f)+c<<3)+i|0)+4>>1]=(b|0)>0?b:0;b=x[a+26306>>1];c=c+1|0;if(b>>>0>c>>>0){continue}break}}f=f+1|0;if(f>>>0>1]){continue}break}}dc(g);v[a+26136>>2]=0;Qb=d- -64|0;return}c=v[a+190640>>2];d:{if(c){f=v[a+25208>>2];v[d+20>>2]=48691;v[d+16>>2]=f;zd(c,4338,d+16|0);break d}c=v[a+25208>>2];v[d+4>>2]=48691;v[d>>2]=c;wc(v[252391],4338,d)}sd(a+190484|0,1);L()}function Jh(a,b,c){var d=0,e=0,f=0;a:{if((c|0)>-1){d=-1;e=v[a+8>>2];b:{if(e&7){break b}d=v[a+64>>2];if((d|0)>=0&(d|0)<=v[a+60>>2]){break a}f=(c&16777215)<<8|b>>>24;v[a+4>>2]=v[a+4>>2]|32;d=-1;e=v[a+28>>2];v[a+28>>2]=e-1;c:{if((e|0)>=1){v[a+60>>2]=v[a+60>>2]+1;d=v[a+24>>2];v[a+24>>2]=d+1;t[d|0]=f;break c}if((Fc(a,f&255)|0)==-1){break b}}d=-1;e=v[a+8>>2];if(e&7){break b}d=v[a+64>>2];if((d|0)>=0&(d|0)<=v[a+60>>2]){break a}f=(c&65535)<<16|b>>>16;v[a+4>>2]=v[a+4>>2]|32;d=-1;e=v[a+28>>2];v[a+28>>2]=e-1;d:{if((e|0)>=1){v[a+60>>2]=v[a+60>>2]+1;d=v[a+24>>2];v[a+24>>2]=d+1;t[d|0]=f;break d}if((Fc(a,f&255)|0)==-1){break b}}d=-1;e=v[a+8>>2];if(e&7){break b}d=v[a+64>>2];if((d|0)>=0&(d|0)<=v[a+60>>2]){break a}c=(c&255)<<24|b>>>8;v[a+4>>2]=v[a+4>>2]|32;d=-1;e=v[a+28>>2];v[a+28>>2]=e-1;e:{if((e|0)>=1){v[a+60>>2]=v[a+60>>2]+1;d=v[a+24>>2];v[a+24>>2]=d+1;t[d|0]=c;break e}if((Fc(a,c&255)|0)==-1){break b}}d=-1;e=v[a+8>>2];if(e&7){break b}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break a}v[a+4>>2]=v[a+4>>2]|32;c=v[a+28>>2];v[a+28>>2]=c-1;f:{if((c|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=a;a=v[a+24>>2];v[c+24>>2]=a+1;t[a|0]=b;break f}if((Fc(a,b&255)|0)==-1){break b}}d=0}return d}ia();L()}v[a+8>>2]=e|4;return-1}function z_a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=v[a+480>>2];c=v[d+24>>2];a:{b:{c:{if(!v[a+88>>2]){if(b){break b}b=202;break c}v[a+88>>2]=2;if(b){break b}b=203}v[d+8>>2]=204;v[d+4>>2]=b;b=1;e=v[a+132>>2];d:{if((e|0)<1){e=58}else{if((e|0)<257){break d}b=256;e=59}f=v[a>>2];v[f+24>>2]=b;v[f+20>>2]=e;Ub[v[v[a>>2]>>2]](a)}if(v[a+88>>2]!=2){break a}b=B(v[a+112>>2],6)+12|0;e=v[d+32>>2];if(!e){e=Ub[v[v[a+4>>2]+4>>2]](a,1,b)|0;v[d+32>>2]=e}qe(e,b);if(!v[d+40>>2]){sZ(a)}v[d+36>>2]=0;break a}v[d+28>>2]=1;v[d+8>>2]=205;v[d+4>>2]=206}if(v[d+28>>2]){qe(v[c>>2],4096);qe(v[c+4>>2],4096);qe(v[c+8>>2],4096);qe(v[c+12>>2],4096);qe(v[c+16>>2],4096);qe(v[c+20>>2],4096);qe(v[c+24>>2],4096);qe(v[c+28>>2],4096);qe(v[c+32>>2],4096);qe(v[c+36>>2],4096);qe(v[c+40>>2],4096);qe(v[c+44>>2],4096);qe(v[c+48>>2],4096);qe(v[c+52>>2],4096);qe(v[c+56>>2],4096);qe(v[c+60>>2],4096);qe(v[c+64>>2],4096);qe(v[c+68>>2],4096);qe(v[c+72>>2],4096);qe(v[c+76>>2],4096);qe(v[c+80>>2],4096);qe(v[c+84>>2],4096);qe(v[c+88>>2],4096);qe(v[c+92>>2],4096);qe(v[c+96>>2],4096);qe(v[c+100>>2],4096);qe(v[c+104>>2],4096);qe(v[c+108>>2],4096);qe(v[c+112>>2],4096);qe(v[c+116>>2],4096);qe(v[c+120>>2],4096);qe(v[c+124>>2],4096);v[d+28>>2]=0}}function jJa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{if(!a){break a}e=v[a+8>>2];b:{if(w[b|0]==35){g=Qb-16|0;Qb=g;c:{if(!b){break c}c=Ub[v[259704]](60)|0;if(!c){v[g>>2]=284843;oc(0,0,0,0,0,2,2,3,284843,0,0,0,350051,g);c=0;break c}v[c>>2]=0;v[c+4>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+4>>2]=5;v[c+56>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c+32>>2]=e;e=b;d:{e:{f:{d=w[b|0];if(d){if((d|0)==38){break f}d=b;while(1){f=w[d+1|0];e=d+1|0;d=e;if(f){continue}break}}d=0;f=e-b|0;if((f|0)<0){break d}e=Ub[v[259707]](f+1|0)|0;if(e){break e}oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break d}h=b+1|0;e=0;g:{if(!w[b+1|0]){break g}d=h;while(1){f=e;e=e+1|0;i=w[d+1|0];d=d+1|0;if(i){continue}break}if(w[b+e|0]!=59){break g}d=0;b=Ub[v[259707]](e)|0;if(!b){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break d}d=gc(b,h,f);t[f+d|0]=0;break d}d=Ub[v[259707]](e+1|0)|0;if(!d){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break d}j=gc(d,h,e)+e|0,k=0,t[j|0]=k;break d}d=gc(e,b,f);t[f+d|0]=0}v[c+8>>2]=d;if(!v[294265]){break c}b=v[294262];if(!b){break c}Ub[b|0](c)}Qb=g+16|0;b=c;break b}b=WF(e,b)}if($f(v[a+52>>2],b)){break a}pk(b)}}function Zqa(a){a=a|0;var b=0,c=0,d=0;d=Qb-16|0;Qb=d;v[a+84>>2]=-1;v[a+76>>2]=0;v[a+80>>2]=0;t[a+10|0]=0;u[a+8>>1]=0;b=fc(8);v[b>>2]=0;v[a+72>>2]=0;v[a+12>>2]=b;v[299999]=0;b=S(1,20)|0;c=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{g:{if((c|0)!=1){v[b+4>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b+16>>2]=0;v[299999]=0;c=b+4|0;v[c>>2]=982408;v[c+4>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;c=v[299999];v[299999]=0;if((c|0)==1){break g}v[a+72>>2]=b;v[299999]=0;R(4473,d+8|0);b=v[299999];v[299999]=0;if((b|0)==1){break f}v[299999]=0;Q(4344,a- -64|0,d+8|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break e}a=v[d+8>>2];v[d+8>>2]=0;h:{if(!a){break h}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break c}if(b){break h}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break c}}Qb=d+16|0;return}c=W(0)|0;O()|0;break d}c=W(0)|0;O()|0;dc(b);break d}c=W(0)|0;O()|0;break d}c=W(0)|0;O()|0;ec(d+8|0)}ea(c|0)|0;b=v[a+72>>2];if(b){Ic(b+4|0);dc(b)}v[a+72>>2]=0;b=v[a+12>>2];if(b){dc(b)}v[a+12>>2]=0;v[299999]=0;ba(4483);a=v[299999];v[299999]=0;if((a|0)!=1){break b}a=P()|0;O()|0;v[299999]=0;ba(4230);b=v[299999];v[299999]=0;if((b|0)!=1){break a}W(0)|0;O()|0;lc();L()}W(0)|0;O()|0;lc()}L()}T(a|0);L()}function SU(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{if(!a){break a}c=v[a+64>>2];if(!c){break a}b=v[a+68>>2];e=b?b:c;b=v[e+4>>2];if(b>>>0>18){break a}if(!(1<>2]}b=v[e+12>>2];if(!(!b|v[b+4>>2]!=3|v[b+24>>2])){return v[b+40>>2]}c=v[a+84>>2];b:{if(!c){b=dq(100);v[a+84>>2]=b;if(!b){Ub[v[259806]](v[294239],354199,0);return 0}if(v[b+32>>2]|(v[b+12>>2]&-2)==2){break b}v[b+12>>2]=5;c=v[b+28>>2];if(!c){break b}v[c+12>>2]=5;break b}if(v[c+32>>2]){b=c;break b}d=v[c>>2];if(!d){b=c;break b}f=v[c+24>>2];b=v[c+8>>2];if(!((f|0)==(b|0)|b>>>0>2147483646)){v[c+24>>2]=b;f=b}v[c+20>>2]=0;c:{d:{e:{switch(v[c+12>>2]-2|0){case 0:v[c>>2]=358460;v[c+8>>2]=f>>>0<2147483647?f:2147483647;b=c;break c;case 1:break e;default:break d}}b=v[c+16>>2];if(!b){break d}v[c>>2]=b;v[c+24>>2]=(d+f|0)-b;d=b}t[d|0]=0;b=v[c+24>>2];v[c+8>>2]=b>>>0<2147483647?b:2147483647;b=v[c+20>>2];g=b>>>0<2147483647?b:2147483647;b=v[a+84>>2]}v[c+4>>2]=g}Iu(b,e);b=v[a+84>>2];if(!(!b|v[b+32>>2])){d=v[b>>2];if(d){break a}}ez(b);b=a;a=dq(100);v[b+84>>2]=a;d=358460;if(v[a+32>>2]|!a|(v[a+12>>2]&-2)==2){break a}v[a+12>>2]=5;a=v[a+28>>2];if(!a){break a}v[a+12>>2]=5;return 358460}d=v[e+40>>2]}return d}function Fpa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=Qb-16|0;Qb=d;e=Fe(b);a:{c=v[v[a+12>>2]+((e>>>0)%y[a+8>>2]<<2)>>2];b:{if(c){while(1){if((e|0)==v[c+12>>2]){if(!Ri(c+16|0,b,-1)){break b}}c=v[c+8>>2];if(c){continue}break}}c=fc(32);v[c>>2]=0;v[c+4>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;e=c+16|0;v[e>>2]=0;v[e+4>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c+20>>2]=v[282402];c:{b=v[b>>2];d:{e:{if(b){f=v[v[b>>2]+28>>2];v[299999]=0;U(f|0,d+8|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break e}c=P()|0;O()|0;break d}v[d+8>>2]=0}v[299999]=0;Q(4344,e|0,d+8|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){b=v[d+8>>2];v[d+8>>2]=0;if(!b){break c}v[299999]=0;f=v[b+4>>2]-1|0;v[b+4>>2]=f;g=v[299999];v[299999]=0;if((g|0)!=1){if(f){break c}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break c}}break a}c=P()|0;O()|0;a=v[d+8>>2];v[d+8>>2]=0;if(!a){break d}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(b){break d}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}ec(e);T(c|0);L()}b=v[c+16>>2];b=v[(b?b+12|0:1129608)>>2];v[c+24>>2]=0;v[c+20>>2]=b;v[c+28>>2]=v[282402];h=c,i=Fe(e),v[h+12>>2]=i;gk(a,c)}Qb=d+16|0;return c|0}W(0)|0;O()|0;lc();L()}function gLa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=Qb-16|0;Qb=c;a:{f=t[b+11|0]<0?v[b>>2]:b;d=ve(f);if(d>>>0<1073741808){b:{c:{if(d>>>0>=2){b=d+4&-4;e=fc(b<<2);v[c+8>>2]=b|-2147483648;v[c>>2]=e;v[c+4>>2]=d;break c}t[c+11|0]=d;e=c;if(!d){break b}}v[299999]=0;tc(e,f,d);b=v[299999];v[299999]=0;if((b|0)==1){break a}}v[(d<<2)+e>>2]=0;b=w[c+11|0];h=b<<24>>24;d=(h|0)<0;d:{g=d?v[c+4>>2]:b;if(g>>>0>=4294967280){v[299999]=0;R(2530,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break d}L()}i=v[c>>2];e:{f:{if(g>>>0>=11){v[299999]=0;e=g+16&-16;b=S(1,e|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break d}v[a>>2]=b;v[a+4>>2]=g;v[a+8>>2]=e|-2147483648;a=b;break f}t[a+11|0]=g;if(!g){break e}}f=d?i:c;d=(g<<2)-4|0;e=(d>>>2|0)+1&7;g:{if(!e){b=f;break g}b=f;while(1){t[a|0]=v[b>>2];a=a+1|0;b=b+4|0;e=e-1|0;if(e){continue}break}}if(d>>>0<28){break e}f=f+(g<<2)|0;while(1){t[a|0]=v[b>>2];t[a+1|0]=v[b+4>>2];t[a+2|0]=v[b+8>>2];t[a+3|0]=v[b+12>>2];t[a+4|0]=v[b+16>>2];t[a+5|0]=v[b+20>>2];t[a+6|0]=v[b+24>>2];t[a+7|0]=v[b+28>>2];a=a+8|0;b=b+32|0;if((f|0)!=(b|0)){continue}break}}t[a|0]=0;if((h|0)<=-1){dc(i)}Qb=c+16|0;return}a=P()|0;O()|0;if(t[c+11|0]<=-1){dc(v[c>>2])}T(a|0);L()}$d(c);L()}W(0)|0;O()|0;lc();L()}function fe(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=w[b|0];if(f){d=f;e=b;while(1){g=B(g,17)+(d&255)|0;d=w[e+1|0];e=e+1|0;if(d){continue}break}}a:{e=v[a+12>>2];d=v[v[a+8>>2]+((g>>>0)%((e<<1)-1>>>0)<<2)>>2];if(d){while(1){if(!mc(b,v[d>>2])){break a}d=v[d+24>>2];if(d){continue}break}}if((e|0)==v[a+16>>2]){d=v[a+12>>2]<<1;v[a+12>>2]=d;k=a,l=pd(v[a+4>>2],d,32),v[k+4>>2]=l;e=pd(v[a+8>>2],(v[a+12>>2]<<1)-1|0,4);v[a+8>>2]=e;d=0;ic(e,0,(v[a+12>>2]<<3)-4|0);i=v[a+16>>2];if((i|0)>=1){j=(v[a+12>>2]<<1)-1|0;while(1){e=0;h=v[a+4>>2]+(d<<5)|0;f=v[h>>2];g=w[f|0];if(g){while(1){e=B(e,17)+g|0;g=w[f+1|0];f=f+1|0;if(g){continue}break}}e=v[a+8>>2]+((e>>>0)%(j>>>0)<<2)|0;v[h+24>>2]=v[e>>2];v[e>>2]=h;d=d+1|0;if((i|0)!=(d|0)){continue}break}}f=w[b|0]}e=0;if(f){d=b;while(1){e=B(e,17)+f|0;f=w[d+1|0];d=d+1|0;if(f){continue}break}}f=v[a+12>>2];d=v[a+4>>2]+(v[a+16>>2]<<5)|0;v[d>>2]=b;b=v[c+4>>2];v[d+8>>2]=v[c>>2];v[d+12>>2]=b;b=v[c+12>>2];v[d+16>>2]=v[c+8>>2];v[d+20>>2]=b;b=v[a+16>>2];c=v[a+4>>2]+(b<<5)|0;d=v[a+8>>2]+((e>>>0)%((f<<1)-1>>>0)<<2)|0;v[c+24>>2]=v[d>>2];v[d>>2]=c;v[a+16>>2]=b+1;return}hc(d+8|0);a=v[c+12>>2];v[d+16>>2]=v[c+8>>2];v[d+20>>2]=a;a=v[c+4>>2];v[d+8>>2]=v[c>>2];v[d+12>>2]=a;uc(b)}function KIa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=v[a+420>>2];a:{b:{c:{if(!b){v[d+8>>2]=354;if(v[a+264>>2]){break c}v[d+4>>2]=355;break a}v[d+8>>2]=356;if(!v[a+264>>2]){break b}}v[d+108>>2]=b;v[d+120>>2]=a;c=v[a+360>>2];d:{if(!v[a+368>>2]){if(!c){v[d+4>>2]=357;break d}v[d+4>>2]=358;break d}if(!c){v[d+4>>2]=359;break d}v[d+4>>2]=360;if(v[d+136>>2]){break d}i=d,j=Ub[v[v[a+4>>2]>>2]](a,1,1e3)|0,v[i+136>>2]=j}c=v[v[a+292>>2]+24>>2];v[d+128>>2]=0;v[d+132>>2]=0;v[d+124>>2]=c;break a}v[d+4>>2]=361}if(v[a+288>>2]>=1){while(1){h=g<<2;e=v[(h+a|0)+292>>2];if(!(v[a+360>>2]|v[a+368>>2])){c=v[e+20>>2];e:{if(b){if(c>>>0>=4){f=v[a>>2];v[f+24>>2]=c;v[f+20>>2]=52;Ub[v[v[a>>2]>>2]](a)}f=(c<<2)+d|0;c=v[f+76>>2];if(!c){c=Ub[v[v[a+4>>2]>>2]](a,1,1028)|0;v[f+76>>2]=c}ic(c,0,1028);break e}vU(a,1,c,((c<<2)+d|0)+44|0)}v[(d+h|0)+20>>2]=0}f:{if(!v[a+364>>2]){break f}c=v[e+24>>2];if(b){if(c>>>0>=4){e=v[a>>2];v[e+24>>2]=c;v[e+20>>2]=52;Ub[v[v[a>>2]>>2]](a)}e=(c<<2)+d|0;c=v[e+92>>2];if(!c){c=Ub[v[v[a+4>>2]>>2]](a,1,1028)|0;v[e+92>>2]=c}ic(c,0,1028);break f}vU(a,0,c,((c<<2)+d|0)+60|0)}g=g+1|0;if((g|0)>2]){continue}break}}v[d+12>>2]=0;v[d+16>>2]=0;a=v[a+236>>2];v[d+40>>2]=0;v[d+36>>2]=a}function av(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=v[a+12>>2];e=v[a+8>>2];a:{b:{i=v[a+4>>2];c=v[i+44>>2];g=v[a+16>>2];l=v[a+20>>2];if(!(!c|g>>>0>=l>>>0)){v[i+44>>2]=0;d=t[i+36|0];t[i+36|0]=0;f=c-1|0;break b}c=0;break a}c=1}c:{while(1){if(!c){if(e>>>0>=k>>>0){break c}f=0;d=0;if(g>>>0>=l>>>0){break c}c=1;continue}d:{e:{if(d>>>0>3){break e}if(e>>>0>=k>>>0){break d}c=w[e|0];t[(d+i|0)+37|0]=c;f=c|f<<8;h=e+1|0;c=h;f:{j=d+1|0;g:{if((j|0)==4){break g}if(h>>>0>=k>>>0){d=j;e=h;break d}c=w[e+1|0];t[(i+j|0)+37|0]=c;f=c|f<<8;h=e+2|0;c=h;j=d+2|0;if((j|0)==4){break g}if(h>>>0>=k>>>0){d=j;e=h;break d}h=w[e+2|0];t[(i+j|0)+37|0]=h;c=e+3|0;f=h|f<<8;d=d+3|0;if((d|0)!=4){break f}}e=c;d=4;break e}if(c>>>0>=k>>>0){e=c;break d}c=w[e+3|0];t[(d+i|0)+37|0]=c;d=4;e=e+4|0;f=c|f<<8}h:{if(!((f&-2048)==55296|f>>>0>1114111)){if(f>>>0<=65535){u[g>>1]=f;g=g+2|0;break h}u[g>>1]=(f>>>10|0)-10304;h=f&1023|-9216;c=g+2|0;if(c>>>0>>0){u[g+2>>1]=h;g=g+4|0;break h}d=v[a+4>>2];t[d+65|0]=1;u[d+116>>1]=h;v[b>>2]=15;g=c;break c}t[v[a+4>>2]+36|0]=d;v[b>>2]=12;break c}c=0;continue}break}c=v[a+4>>2];t[c+36|0]=d;v[c+44>>2]=f+1}if(!(g>>>0>>0|e>>>0>=k>>>0|v[b>>2]>0)){v[b>>2]=15}v[a+8>>2]=e;v[a+16>>2]=g}function an(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=Qb-16|0;Qb=d;i=c;a:{b:{if((Ub[v[a+4>>2]](v[a+28>>2],b,d+8|0,1)|0)==1){c=w[d+8|0];f=c;break b}c=-1;if(Ub[v[a+24>>2]](v[a+28>>2],b)|0){break a}c=0}c:{d:{e:{if((Ub[v[a+4>>2]](v[a+28>>2],b,d+9|0,1)|0)==1){c=w[d+9|0];e=c>>>24|0;j=f|c<<8;break e}if(Ub[v[a+24>>2]](v[a+28>>2],b)|0){break d}j=c<<8|f}l=e;f:{if((Ub[v[a+4>>2]](v[a+28>>2],b,d+10|0,1)|0)==1){c=w[d+10|0];break f}if(Ub[v[a+24>>2]](v[a+28>>2],b)|0){break d}}e=c;g:{if((Ub[v[a+4>>2]](v[a+28>>2],b,d+11|0,1)|0)==1){f=w[d+11|0];break g}f=e;if(Ub[v[a+24>>2]](v[a+28>>2],b)|0){break d}}h:{if((Ub[v[a+4>>2]](v[a+28>>2],b,d+12|0,1)|0)==1){c=w[d+12|0];break h}c=f;if(Ub[v[a+24>>2]](v[a+28>>2],b)|0){break d}}i:{if((Ub[v[a+4>>2]](v[a+28>>2],b,d+13|0,1)|0)==1){h=w[d+13|0];break i}h=c;if(Ub[v[a+24>>2]](v[a+28>>2],b)|0){break d}}j:{if((Ub[v[a+4>>2]](v[a+28>>2],b,d+14|0,1)|0)==1){g=w[d+14|0];break j}g=h;if(Ub[v[a+24>>2]](v[a+28>>2],b)|0){break d}}if((Ub[v[a+4>>2]](v[a+28>>2],b,d+15|0,1)|0)==1){k=w[d+15|0];break c}k=g;if(!(Ub[v[a+24>>2]](v[a+28>>2],b)|0)){break c}}g=0;e=0;c=-1;break a}b=j|e<<16|f<<24;a=c|(l|e>>>16|f>>>8)|h<<8|g<<16;g=b;e=k<<24|a;c=0}v[i>>2]=g;v[i+4>>2]=e;Qb=d+16|0;return c}function uNa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=v[a+24>>2];a:{b:{c:{d:{e:{c=v[a+8>>2];g=v[a+12>>2]-c|0;e=v[a+16>>2];f=v[a+20>>2]-e>>1;if((g|0)>(f|0)){v[b>>2]=15;g=f}f:{if((g|0)<8){b=0;break f}f=g>>>3|0;b=f;while(1){u[e>>1]=w[c|0];u[e+2>>1]=w[c+1|0];u[e+4>>1]=w[c+2|0];u[e+6>>1]=w[c+3|0];u[e+8>>1]=w[c+4|0];u[e+10>>1]=w[c+5|0];u[e+12>>1]=w[c+6|0];u[e+14>>1]=w[c+7|0];c=c+8|0;e=e+16|0;h=(b|0)>1;b=b-1|0;if(h){continue}break}g=g&7;b=0;if(!d){break e}while(1){v[d>>2]=b;v[d+28>>2]=b|7;v[d+24>>2]=b|6;v[d+20>>2]=b|5;v[d+16>>2]=b|4;v[d+12>>2]=b|3;v[d+8>>2]=b|2;v[d+4>>2]=b|1;d=d+32|0;b=b+8|0;h=(f|0)>1;f=f-1|0;if(h){continue}break}}if((g|0)>0){break d}v[a+16>>2]=e;v[a+8>>2]=c;if(d){break c}break b}if(!g){break a}d=0}f=g;while(1){u[e>>1]=w[c|0];e=e+2|0;c=c+1|0;h=(f|0)>1;f=f-1|0;if(h){continue}break}v[a+16>>2]=e;v[a+8>>2]=c;if(!d){break b}f=g-1|0;e=g&7;g:{if(!e){c=b;break g}c=b;while(1){v[d>>2]=c;d=d+4|0;c=c+1|0;e=e-1|0;if(e){continue}break}}if(f>>>0<7){break c}b=b+g|0;while(1){v[d>>2]=c;v[d+28>>2]=c+7;v[d+24>>2]=c+6;v[d+20>>2]=c+5;v[d+16>>2]=c+4;v[d+12>>2]=c+3;v[d+8>>2]=c+2;v[d+4>>2]=c+1;d=d+32|0;c=c+8|0;if((b|0)!=(c|0)){continue}break}}v[a+24>>2]=d}return}v[a+16>>2]=e;v[a+8>>2]=c}function to(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;f=Qb-592|0;Qb=f;h=0;a:{if(!a){break a}i=v[294233];h=0;if(!i){break a}while(1){b:{e=t[a+d|0];e=e-97>>>0<26?e&95:e;t[(f+80|0)+d|0]=e;if(!(e&255)){e=d;break b}e=99;d=d+1|0;if((d|0)!=99){continue}}break}t[(f+80|0)+e|0]=0;d=0;e=v[294234];h=0;if((e|0)<1){break a}while(1){if(!mc(v[((d<<3)+i|0)+4>>2],f+80|0)){h=v[(d<<3)+i>>2];break a}d=d+1|0;if((e|0)!=(d|0)){continue}break}h=0}e=h;e=e?e:a;c:{if(e){while(1){d:{a=t[e+g|0];a=a-97>>>0<26?a&95:a;t[(f+80|0)+g|0]=a;if(!(a&255)){d=g;break d}d=499;g=g+1|0;if((g|0)!=499){continue}}break}g=0;a=f+80|0;t[a+d|0]=0;a=Ub[v[259710]](a)|0;if(!a){v[f+16>>2]=357073;oc(0,0,0,0,0,27,2,3,357073,0,0,0,350051,f+16|0);break c}g=Ub[v[259704]](12)|0;if(!g){g=0;Ub[v[259708]](a);v[f+32>>2]=357073;oc(0,0,0,0,0,27,2,3,357073,0,0,0,350051,f+32|0);break c}v[g+8>>2]=c;v[g+4>>2]=b;v[g>>2]=a;e:{d=v[294235];if(d){break e}$F();d=v[294235];if(d){break e}v[f+48>>2]=0;oc(0,0,0,0,0,27,6001,3,0,0,0,0,357244,f+48|0);break c}a=v[294238];if((a|0)>=50){v[f+64>>2]=310593;oc(0,0,0,0,0,27,6002,3,310593,0,0,0,349726,f- -64|0);break c}v[294238]=a+1;v[(a<<2)+d>>2]=g;break c}v[f>>2]=0;oc(0,0,0,0,0,27,6e3,3,0,0,0,0,357340,f)}Qb=f+592|0;return g}function nQa(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;d=Qb-16|0;Qb=d;v[a+8>>2]=0;v[a>>2]=0;v[a+4>>2]=0;b=v[b+164>>2];if(b){k=Ub[v[v[b>>2]+20>>2]](b)|0;v[d+8>>2]=0;v[d>>2]=0;v[d+4>>2]=0;i=v[k+8>>2];if((i|0)!=v[k+12>>2]){while(1){j=v[i>>2];g=w[j+11|0];b=g<<24>>24<0;h=w[c+11|0];f=h<<24>>24<0;a:{g=b?v[j+4>>2]:g;if((g|0)!=((f?v[c+4>>2]:h)|0)){break a}if(g){if(od(b?v[j>>2]:j,f?v[c>>2]:c,g)){break a}}if(v[d+8>>2]!=(e|0)){v[e>>2]=j;e=e+4|0;v[d+4>>2]=e;break a}b:{c:{d:{e:{f:{b=v[d>>2];g=e-b|0;e=g>>2;f=e+1|0;g:{if(f>>>0>=1073741824){v[299999]=0;R(2185,d|0);a=v[299999];v[299999]=0;if((a|0)==1){break g}break b}h=g>>1;h=e>>>0<536870911?f>>>0>h>>>0?f:h:1073741823;if(!h){f=0;break e}if(h>>>0<1073741824){break f}v[299999]=0;R(2667,274079);a=v[299999];v[299999]=0;if((a|0)!=1){break b}}i=P()|0;O()|0;b=v[d>>2];break c}v[299999]=0;f=S(1,h<<2)|0;l=v[299999];v[299999]=0;if((l|0)==1){break d}}e=(e<<2)+f|0;v[e>>2]=j;e=e+4|0;if((g|0)>=1){gc(f,b,g)}v[d+8>>2]=(h<<2)+f;v[d+4>>2]=e;v[d>>2]=f;if(!b){break a}dc(b);break a}i=P()|0;O()|0}if(b){v[d+4>>2]=b;dc(b)}T(i|0);L()}L()}i=i+4|0;if((i|0)!=v[k+12>>2]){continue}break}}v[a>>2]=v[d>>2];v[a+4>>2]=v[d+4>>2];v[a+8>>2]=v[d+8>>2]}Qb=d+16|0}function H8(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,j=0,k=0,l=0,m=0,n=0,o=0;j=Qb-16|0;Qb=j;i=c;while(1){a:{if((d|0)==(i|0)){i=d;break a}if(!v[i>>2]){break a}i=i+4|0;continue}break}v[h>>2]=f;v[e>>2]=c;while(1){b:{c:{if(!((c|0)==(d|0)|(f|0)==(g|0))){k=v[b+4>>2];v[j+8>>2]=v[b>>2];v[j+12>>2]=k;m=1;l=Qb-16|0;Qb=l;v[l+12>>2]=v[a+8>>2];n=Nk(l+8|0,l+12|0);v[299999]=0;k=BM(f,e,i-c>>2,g-f|0,b);o=v[299999];v[299999]=0;d:{if((o|0)!=1){ih(n);Qb=l+16|0;break d}a=P()|0;O()|0;ih(n);T(a|0);L()}e:{f:{g:{h:{switch(k+1|0){case 0:v[h>>2]=f;while(1){i:{if(v[e>>2]==(c|0)){break i}b=$B(f,v[c>>2],j+8|0,v[a+8>>2]);if((b|0)==-1){break i}f=b+v[h>>2]|0;v[h>>2]=f;c=c+4|0;continue}break};v[e>>2]=c;break g;case 1:break c;default:break h}}f=k+v[h>>2]|0;v[h>>2]=f;if((f|0)==(g|0)){break e}if((d|0)==(i|0)){c=v[e>>2];i=d;continue}i=$B(j+4|0,0,b,v[a+8>>2]);if((i|0)!=-1){break f}}m=2;break c}c=j+4|0;if(g-v[h>>2]>>>0>>0){break c}while(1){if(i){f=w[c|0];k=v[h>>2];v[h>>2]=k+1;t[k|0]=f;i=i-1|0;c=c+1|0;continue}break}c=v[e>>2]+4|0;v[e>>2]=c;i=c;while(1){if((d|0)==(i|0)){i=d;break b}if(!v[i>>2]){break b}i=i+4|0;continue}}c=v[e>>2]}m=(c|0)!=(d|0)}Qb=j+16|0;return m|0}f=v[h>>2];continue}}function tv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=v[a+532>>2];if(c){i=v[c+4>>2];e=v[c>>2];g=v[a+100>>2];b=g;d=v[c+24>>2];if(d){Ub[v[b+8>>2]](b,d)}v[c+24>>2]=0;if(e>>>0>=2){ic(c+28|0,0,(e<<2)-4|0)}b=g;d=v[c+216>>2];if(d){Ub[v[b+8>>2]](b,d)}v[c+216>>2]=0;d=v[c+148>>2];if(d){Ub[v[b+8>>2]](b,d)}v[c+148>>2]=0;d=v[c+288>>2];if(d){Ub[v[b+8>>2]](b,d)}v[c+288>>2]=0;a:{if(!e){break a}j=e&3;if(e-1>>>0>=3){l=e&-4;e=c+212|0;d=c+144|0;k=c+284|0;while(1){b=f<<2;v[b+e>>2]=0;v[b+d>>2]=0;v[b+k>>2]=0;h=b|4;v[h+e>>2]=0;v[d+h>>2]=0;v[h+k>>2]=0;h=b|8;v[h+e>>2]=0;v[d+h>>2]=0;v[h+k>>2]=0;b=b|12;v[b+e>>2]=0;v[b+d>>2]=0;v[b+k>>2]=0;f=f+4|0;l=l-4|0;if(l){continue}break}}if(!j){break a}while(1){b=(f<<2)+c|0;v[b+284>>2]=0;v[b+144>>2]=0;v[b+212>>2]=0;f=f+1|0;j=j-1|0;if(j){continue}break}}b=v[c+136>>2];if(b){Ub[v[g+8>>2]](g,b)}v[c+136>>2]=0;v[c+140>>2]=0;b:{if(!i){break b}f=0;while(1){b=(f<<2)+c|0;e=v[b+8>>2];if(e){Ub[v[g+8>>2]](g,e)}v[b+8>>2]=0;f=f+1|0;if((i|0)!=(f|0)){continue}break}if(!i){break b}f=0;while(1){b=B(f,12)+c|0;e=b;d=v[b+92>>2];if(d){Ub[v[g+8>>2]](g,d)}t[b+88|0]=0;v[e+92>>2]=0;f=f+1|0;if((i|0)!=(f|0)){continue}break}}b=v[a+532>>2];if(b){Ub[v[g+8>>2]](g,b)}v[a+532>>2]=0}}function Rab(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0;if(e){r=e-1|0;s=e-2|0;o=(e|0)==1;while(1){a=f;t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];t[g+3|0]=w[a+3|0];f=a+4|0;g=g+4|0;a:{if(!o&l>>>0>=r>>>0){break a}i=l?(l|0)==(s|0)?d:b:c;h=!l&o;if(h){if(i>>>0<2){break a}h=i-1|0;m=h&1;if((i|0)!=2){h=h&-2;while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];t[g+3|0]=w[a+3|0];t[g+4|0]=w[a|0];t[g+5|0]=w[a+1|0];t[g+6|0]=w[a+2|0];t[g+7|0]=w[a+3|0];g=g+8|0;h=h-2|0;if(h){continue}break}}if(!m){break a}t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];t[g+3|0]=w[a+3|0];g=g+4|0;break a}n=h?0:f;p=i<<1;j=i+1>>>1|0;if(i>>>0>=3){u=j>>>0>2?j:2;k=1;while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];m=g;q=w[n+3|0];h=w[a+3|0];if((q|0)!=(h|0)){h=h+((i+(B(q-h|0,k)<<1)|0)/(p|0)|0)|0}t[m+3|0]=h;g=g+4|0;k=k+1|0;if((u|0)!=(k|0)){continue}break}}if(i>>>0<=j>>>0){break a}while(1){t[g|0]=w[n|0];t[g+1|0]=w[n+1|0];t[g+2|0]=w[n+2|0];m=g;k=w[n+3|0];h=w[a+3|0];if((k|0)!=(h|0)){h=h+((i+(B(k-h|0,j)<<1)|0)/(p|0)|0)|0}t[m+3|0]=h;g=g+4|0;j=j+1|0;if((i|0)!=(j|0)){continue}break}}l=l+1|0;if((l|0)!=(e|0)){continue}break}}return 0}function QIa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=v[a+420>>2];if(v[a+236>>2]){d=v[f+68>>2];if(!d){Ju(a,v[f+72>>2]);d=v[a+236>>2];v[f+68>>2]=d;v[f+72>>2]=v[f+72>>2]+1&7}v[f+68>>2]=d-1}h=v[b>>2];i=v[a+380>>2];d=v[v[a+292>>2]+24>>2];b=v[a+364>>2];g=b;e=b;a:{if((b|0)<1){break a}g=b;b:{c:{while(1){e=u[(v[(g<<2)+i>>2]<<1)+h>>1];d:{if((e|0)>=0){if(!(e>>v[a+372>>2])){break d}break c}if(0-e>>v[a+372>>2]){break c}}e=(g|0)>1;g=g-1|0;if(e){continue}break}g=0;break b}e=g;while(1){c=u[(v[(e<<2)+i>>2]<<1)+h>>1];e:{if((c|0)>=0){if(!(c>>v[a+368>>2])){break e}break a}if(0-c>>v[a+368>>2]){break a}}c=(e|0)>1;e=e-1|0;if(c){continue}break}}e=0}j=f+(d<<2)|0;c=v[a+360>>2];if((g|0)>=(c|0)){f=f+204|0;while(1){d=(v[j+140>>2]+B(c,3)|0)-3|0;if((c|0)>(e|0)){pe(a,d,0)}b=c;f:{while(1){g:{h:{c=u[(v[(b<<2)+i>>2]<<1)+h>>1];if((c|0)>=0){c=c>>v[a+372>>2];if(!c){break h}if((c|0)==1){break g}pe(a,d+2|0,c&1);break f}c=0-c>>v[a+372>>2];if(!c){break h}if((c|0)!=1){pe(a,d+2|0,c&1);break f}pe(a,d+1|0,1);pe(a,f,1);break f}pe(a,d+1|0,0);b=b+1|0;d=d+3|0;continue}break}pe(a,d+1|0,1);pe(a,f,0)}c=b+1|0;if((b|0)<(g|0)){continue}break}b=v[a+364>>2]}if((b|0)>=(c|0)){pe(a,(v[j+140>>2]+B(c,3)|0)-3|0,1)}return 1}function rY(a,b){var 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;v[b+4>>2]=2147483632;v[b+28>>2]=v[b+20>>2];f=v[a+120>>2];a:{while(1){j=f;l=v[a+60>>2];if(l>>>0<=f>>>0){break a}m=v[v[a+72>>2]+(j>>>6&67108860)>>2];n=j&255;c=m+B(n,12)|0;f=v[c+8>>2];k=v[c+4>>2];while(1){e=v[v[a+52>>2]+(f>>>8&16777212)>>2]+B(f&1023,12)|0;c=v[e+8>>2];b:{if((c|0)>=0){g=0;if(c>>>0>=y[a>>2]){break b}g=v[v[a+12>>2]+(c>>>10&4194300)>>2]+(c&4095)|0;break b}c=c^-1;g=0;if(c>>>0>=y[a+20>>2]){break b}g=v[(v[v[a+32>>2]+(c>>>4&268435452)>>2]+((c&63)<<3)|0)+4>>2]}c=g;d=v[e>>2];f=f+1|0;g=b;h=v[e+4>>2];c:{if((h|0)<=-1){d=d-v[b>>2]|0;i=0-h|0;ic(d+v[b+12>>2]|0,w[c|0],i);c=v[b+28>>2];d:{if((d|0)==(v[b+4>>2]+1|0)){u[c+2>>1]=i+x[c+2>>1];break d}e=c+8|0;v[b+28>>2]=e;o=v[b>>2];u[c+10>>1]=i;u[c+8>>1]=d+o;v[c+12>>2]=d+v[b+12>>2];c=e}e=d+(h^-1)|0;break c}d=d-v[b>>2]|0;gc(d+v[b+12>>2]|0,c,h);c=v[b+28>>2];e:{if((d|0)==(v[b+4>>2]+1|0)){u[c+2>>1]=h+x[c+2>>1];break e}e=c+8|0;v[b+28>>2]=e;i=v[b>>2];u[c+10>>1]=h;u[c+8>>1]=d+i;v[c+12>>2]=d+v[b+12>>2];c=e}e=(d+h|0)-1|0}v[g+4>>2]=e;k=k-1|0;if(k){continue}break}f=v[a+120>>2]+1|0;v[a+120>>2]=f;if(v[b+20>>2]==(c|0)){continue}break}v[b+8>>2]=v[B(n,12)+m>>2]}return j>>>0>>0}function Vdb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=v[v[a+2248>>2]+88>>2];d=v[b+1168>>2];c=(v[b+1176>>2]+B(d,v[a+572>>2])|0)+B(d,v[a+2268>>2])|0;b=v[b+1164>>2];b=(c+B(b,v[a+580>>2])|0)+B(b,v[a+2264>>2])|0;d=v[a+636>>2]+v[a+616>>2]|0;c=v[a+588>>2];a:{b:{if(w[a+2253|0]!=4){if((c|0)<=0){break a}while(1){c=w[b|0]|w[b+1|0]<<8;e=(c<<8|c>>>8)&65535;c=w[d|0]|w[d+1|0]<<8;c=e+((c<<8|c>>>8)&65535)&65535;c=c<<8|c>>>8;t[b|0]=c;t[b+1|0]=c>>>8;c=b+2|0;e=w[c|0]|w[c+1|0]<<8;g=(e<<8|e>>>8)&65535;e=w[d+2|0]|w[d+3|0]<<8;e=g+((e<<8|e>>>8)&65535)&65535;e=e<<8|e>>>8;t[c|0]=e;t[c+1|0]=e>>>8;d=d+4|0;b=(v[a+584>>2]<<2)+b|0;c=v[a+588>>2];f=f+1|0;if((c|0)>(f|0)){continue}break}break b}if((c|0)<1){break a}while(1){t[b|0]=w[d|0];t[b+1|0]=w[d+1|0];t[b+2|0]=w[d+2|0];t[b+3|0]=w[d+3|0];d=d+4|0;b=(v[a+584>>2]<<2)+b|0;c=v[a+588>>2];f=f+1|0;if((c|0)>(f|0)){continue}break}}if((c|0)<1){break a}b=v[a+540>>2];b=(v[b+1176>>2]+B(v[a+572>>2],v[b+1168>>2])|0)+B(v[a+580>>2],v[b+1164>>2])|0;d=v[a+636>>2]+v[a+616>>2]|0;c=0;while(1){f=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);t[b|0]=f;t[b+1|0]=f>>>8;t[b+2|0]=f>>>16;t[b+3|0]=f>>>24;d=d+4|0;b=(v[a+584>>2]<<2)+b|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function Dua(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=Qb-32|0;Qb=c;Gp(c+16|0,a,b);b=v[a+4>>2];h=v[b+12>>2];b=v[b+8>>2];a:{b:{if(t[c+27|0]>=0){v[c+8>>2]=v[c+24>>2];d=v[c+20>>2];v[c>>2]=v[c+16>>2];v[c+4>>2]=d;break b}v[299999]=0;U(2534,c|0,v[c+16>>2],v[c+20>>2]);d=v[299999];v[299999]=0;if((d|0)==1){break a}}c:{if((b|0)==(h|0)){k=t[c+11|0];break c}d=w[c+11|0];k=d<<24>>24;e=(k|0)<0;i=e?v[c>>2]:c;g=e?v[c+4>>2]:d;d:{if(!g){while(1){f=w[b+11|0];d=f<<24>>24;e:{if((d|0)<0?v[b+4>>2]:f){break e}if((d|0)<1){break c}if(w[i|0]!=w[b|0]){break e}e=b;d=i;while(1){f=f-1|0;if(!f){break c}g=w[d+1|0];d=d+1|0;e=e+1|0;if((g|0)==w[e|0]){continue}break}}b=b+20|0;if((h|0)!=(b|0)){continue}break d}}while(1){f=w[b+11|0];e=f<<24>>24;d=(e|0)<0;f:{if((g|0)!=((d?v[b+4>>2]:f)|0)){break f}j=v[b>>2];if(!d){if(!e){break c}e=b;d=i;if(w[d|0]!=(j&255)){break f}while(1){f=f-1|0;if(!f){break c}j=w[d+1|0];d=d+1|0;e=e+1|0;if((j|0)==w[e|0]){continue}break}break f}if(!Pc(j,i,g)){break c}}b=b+20|0;if((h|0)!=(b|0)){continue}break}}b=h}a=v[v[a+4>>2]+12>>2];if((k|0)<=-1){dc(v[c>>2])}if(t[c+27|0]<=-1){dc(v[c+16>>2])}Qb=c+32|0;return(a|0)!=(b|0)|0}a=P()|0;O()|0;if(t[c+27|0]<=-1){dc(v[c+16>>2])}T(a|0);L()}function z5(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=v[a+584>>2];a:{b:{c:{d:{e:{switch(b-512|0){case 2:v[d+200>>2]=v[c>>2];break a;case 18:t[d+207|0]=1;e=v[c>>2];t[d+208|0]=e;c=v[c+4>>2];t[d+209|0]=c;u[a+206>>1]=c&255;u[a+204>>1]=e&255;break a;case 7:e=v[c>>2];if(!e){break a}if(e>>>0<4){break b}zc(v[a+628>>2],87428,55913,0);return 0;case 8:e=v[c>>2];if(!e){break a}if(e>>>0<4){break c}zc(v[a+628>>2],87428,56226,0);return 0;case 9:e=v[c>>2];if(!e){break a}if(e>>>0<4){break d}zc(v[a+628>>2],87428,56577,0);return 0;case 0:t[d+204|0]=v[c>>2];break a;case 3:u[d+300>>1]=v[c>>2];break a;default:return Ub[v[d+164>>2]](a,b,c)|0;case 1:break e}}v[d+196>>2]=v[c>>2];break a}t[d+213|0]=e;c=v[c+4>>2];v[d+240>>2]=v[c>>2];if((e|0)==1){break a}v[d+244>>2]=v[c+4>>2];if((e|0)==2){break a}v[d+248>>2]=v[c+8>>2];break a}t[d+212|0]=e;c=v[c+4>>2];v[d+228>>2]=v[c>>2];if((e|0)==1){break a}v[d+232>>2]=v[c+4>>2];if((e|0)==2){break a}v[d+236>>2]=v[c+8>>2];break a}t[d+211|0]=e;c=v[c+4>>2];v[d+216>>2]=v[c>>2];if((e|0)==1){break a}v[d+220>>2]=v[c+4>>2];if((e|0)==2){break a}v[d+224>>2]=v[c+8>>2]}c=x[tf(a,b)+12>>1];b=(x[tf(a,b)+12>>1]>>>3&8188)+a|0;v[b+40>>2]=v[b+40>>2]|1<>2]=v[a+12>>2]|8;return 1}function cS(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=v[a+4>>2];if(v[a+8>>2]>=((i|0)/2|0)){d=i<<1|1;v[a+4>>2]=d;j=v[a>>2];d=ed(d,8);v[a>>2]=d;e=v[a+4>>2];a:{if((e|0)<1){break a}g=e&7;if(e-1>>>0>=7){h=e&-8;while(1){e=f<<3;v[e+d>>2]=0;v[d+(e|8)>>2]=0;v[d+(e|16)>>2]=0;v[d+(e|24)>>2]=0;v[d+(e|32)>>2]=0;v[d+(e|40)>>2]=0;v[d+(e|48)>>2]=0;v[d+(e|56)>>2]=0;f=f+8|0;h=h-8|0;if(h){continue}break}}if(!g){break a}while(1){v[d+(f<<3)>>2]=0;f=f+1|0;g=g-1|0;if(g){continue}break}}g=0;if((i|0)>0){while(1){h=(g<<3)+j|0;e=v[h>>2];if(e){f=0;d=w[e|0];if(d){while(1){f=B(f,17)+(d&255)|0;d=w[e+1|0];e=e+1|0;if(d){continue}break}}k=v[a>>2];d=f;f=v[a+4>>2];e=(d>>>0)%(f>>>0)|0;d=k+(e<<3)|0;if(v[d>>2]){while(1){d=e+1|0;e=(d|0)==(f|0)?0:d;d=(e<<3)+k|0;if(v[d>>2]){continue}break}}e=v[h+4>>2];v[d>>2]=v[h>>2];v[d+4>>2]=e}g=g+1|0;if((i|0)!=(g|0)){continue}break}}uc(j)}f=0;e=w[b|0];if(e){d=b;while(1){f=B(f,17)+(e&255)|0;e=w[d+1|0];d=d+1|0;if(e){continue}break}}g=v[a>>2];d=f;f=v[a+4>>2];e=(d>>>0)%(f>>>0)|0;d=v[g+(e<<3)>>2];b:{if(d){while(1){if(!mc(d,b)){break b}d=e+1|0;e=(d|0)==(f|0)?0:d;d=v[(e<<3)+g>>2];if(d){continue}break}}b=ud(b);g=v[a>>2];v[g+(e<<3)>>2]=b}v[((e<<3)+g|0)+4>>2]=c;v[a+8>>2]=v[a+8>>2]+1}function Xo(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;f=v[b+336>>2];a:{b:{c:{d:{e:{f:{g:{h=v[b+4>>2];h:{if(!(!h|(c|0)<0|((d|0)<0|v[b+16>>2]<=(c|0)))){if(v[b+20>>2]>(d|0)){break h}}if((f|0)>-1){break g}if(!h){break a}e=1;c=0;d=0}j=v[b+44>>2];if(!j){break d}f=x[b+26>>1];if((f|0)!=8){break f}i=w[v[b+56>>2]+(B(v[b+52>>2],d)+c|0)|0];break e}if(x[b+26>>1]<=23){t[a|0]=0;t[a+1|0]=0;t[a+2|0]=0;t[a+3|0]=0;if(!h){break b}b=v[b+44>>2];if(!b){break b}c=b;b=f&255;if(c>>>0<=b>>>0){break b}b=(h+40|0)+(b<<2)|0;t[a|0]=w[b|0];t[a+1|0]=w[b+1|0];t[a+2|0]=w[b+2|0];t[a+3|0]=w[b+3|0];return}break a}g=w[v[b+56>>2]+(B(v[b+52>>2],d)+(B(c,f)>>3)|0)|0];i:{switch(f-1|0){case 3:f=B(c&1,252)+4&252;i=(15<>>f|0;break e;case 0:break i;default:break e}}f=(c^-1)&7;i=(1<>>f|0}if(!h){g=0;f=0;break c}g=0;i=i&255;f=0;if(i>>>0>=j>>>0){break c}f=(h+40|0)+(i<<2)|0;k=w[f|0];l=w[f+2|0];g=w[f+1|0];f=w[f+3|0];break c}f=(v[b+56>>2]+B(v[b+52>>2],d)|0)+B(c,3)|0;g=w[f+1|0];k=w[f|0];l=w[f+2|0];f=w[b+343|0]}t[a+3|0]=!v[b+964>>2]|e^1?f:w[v[b+964>>2]+(B(v[b+16>>2],d)+c|0)|0];t[a+2|0]=l;t[a+1|0]=g;t[a|0]=k}return}b=v[b+340>>2];t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24}function Usa(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;e=Qb-32|0;Qb=e;a:{if(!v[a+4>>2]){break a}while(1){v[e+16>>2]=f;if(v[v[(w[a+8|0]?v[a>>2]:a)>>2]+(v[e+16>>2]<<2)>>2]==44){break a}f=f+1|0;if(f>>>0>2]){continue}break}}b:{c:{if(y[a+4>>2]<=f>>>0){d=e+16|0;d:{e:{if(!w[a+8|0]){break e}a=v[a>>2];if(a){break e}a=0;break d}a=v[a>>2]}a=OD(d,a);v[299999]=0;h=+ha(4191,a|0);d=v[299999];v[299999]=0;if((d|0)==1){break c}A[b>>3]=h;v[c>>2]=0;v[c+4>>2]=0;xc(a);break b}g=e+16|0;d=a;f:{g:{if(!w[a+8|0]){break g}d=v[d>>2];if(d){break g}d=0;break f}d=v[d>>2]}g=zr(g,d,0,f);v[299999]=0;d=a;h:{i:{if(!w[a+8|0]){break i}d=v[d>>2];if(d){break i}d=0;break h}d=v[d>>2]}i=v[299999];v[299999]=0;j:{k:{if((i|0)==1){break k}v[299999]=0;a=v[a+4>>2];i=v[299999];v[299999]=0;if((i|0)==1){break k}v[299999]=0;a=Z(4312,e|0,(d+(f<<2)|0)+4|0,0,a+(f^-1)|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break k}v[299999]=0;h=+ha(4191,g|0);d=v[299999];v[299999]=0;if((d|0)==1){break j}A[b>>3]=h;v[299999]=0;h=+ha(4191,a|0);b=v[299999];v[299999]=0;if((b|0)==1){break j}A[c>>3]=h;xc(a);xc(g);break b}a=P()|0;O()|0;xc(g);T(a|0);L()}b=P()|0;O()|0;xc(a);xc(g);T(b|0);L()}b=P()|0;O()|0;xc(a);T(b|0);L()}Qb=e+32|0}function Gk(a,b){var c=0,d=0,e=0;a:{if((b|0)>=0){c=-1;d=v[a+8>>2];b:{if(d&7){break b}c=v[a+64>>2];if((c|0)>-1&(c|0)<=v[a+60>>2]){break a}v[a+4>>2]=v[a+4>>2]|32;c=v[a+28>>2];v[a+28>>2]=c-1;c:{if((c|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;t[c|0]=b;break c}c=-1;if((Fc(a,b&255)|0)==-1){break b}}c=-1;d=v[a+8>>2];if(d&7){break b}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break a}d=b>>>8|0;v[a+4>>2]=v[a+4>>2]|32;c=-1;e=v[a+28>>2];v[a+28>>2]=e-1;d:{if((e|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;t[c|0]=d;break d}if((Fc(a,d&255)|0)==-1){break b}}c=-1;d=v[a+8>>2];if(d&7){break b}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break a}d=b>>>16|0;v[a+4>>2]=v[a+4>>2]|32;c=-1;e=v[a+28>>2];v[a+28>>2]=e-1;e:{if((e|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;t[c|0]=d;break e}if((Fc(a,d&255)|0)==-1){break b}}c=-1;d=v[a+8>>2];if(d&7){break b}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break a}b=b>>>24|0;v[a+4>>2]=v[a+4>>2]|32;c=-1;d=v[a+28>>2];v[a+28>>2]=d-1;f:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=a;a=v[a+24>>2];v[c+24>>2]=a+1;t[a|0]=b;break f}if((Fc(a,b)|0)==-1){break b}}c=0}return c}X(23591,20990,383,188572);L()}v[a+8>>2]=d|4;return-1}function pG(a,b,c,d,e,f,g,h){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;a:{if(!a|v[a+8>>2]<1){break a}j=v[a+4>>2];if(!b){h=1;if((d|0)>1){break a}f=(d|0)==1?0:(f|0)<1?f:1}t=a+j|0;a=0;b:{while(1){q=(a<<2)+t|0;l=v[q>>2];j=l&16777215;if(j){a=m+n|0;i=!b^(a|0)!=1|(b|0)<0;o=i?a:o;r=i?j:r}c:{d:{e:{f:{if((d|0)>(m|0)){i=c+m|0;m=m+1|0;break f}if((f|0)<=(n|0)){break e}i=e+n|0;n=n+1|0}p=w[i|0];k=q+4|0;j=v[k>>2]>>>24|0;if(p>>>0>>0){break b}i=l>>>24|0;a=w[((i<<2)+k|0)-1|0];if(a>>>0

>>0){break b}if(((a-j|0)+1|0)!=(i|0)){break d}a=v[(p-j<<2)+k>>2];break c}if(h){break b}a=m+n|0;if((a|0)>31){break b}return 0-a|0}a=0;g:{if(l>>>0<33554432){j=i;break g}s=p<<24;q=s|16777215;j=i;while(1){if((i|0)<=4){if(y[(a<<2)+k>>2]>=s>>>0){break g}i=a+1|0;if(!((i|0)>=(j|0)|y[(i<<2)+k>>2]>>0)){a=i;break g}i=a+2|0;if(!((i|0)>=(j|0)|y[(i<<2)+k>>2]>>0)){a=i;break g}a=a+3|0;break g}l=(a+j|0)/2|0;i=q>>>0>2];j=i?l:j;a=i?a:l;i=j-a|0;if((i|0)>1){continue}break}}if((a|0)>=(j|0)){break b}a=v[(a<<2)+k>>2];if((a>>>24|0)!=(p|0)){break b}}a=a&16777215;if(!a){break b}if(a>>>0<2031616){continue}break}c=m+n|0;b=!b^(c|0)!=1|(b|0)<0;o=b?c:o;r=b?a:r}if(!o){return 0}v[g>>2]=r&-8388609}return o}function lta(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=Qb-16|0;Qb=b;a:{if(t[a+11|0]>=0){v[b+8>>2]=v[a+8>>2];c=v[a+4>>2];v[b>>2]=v[a>>2];v[b+4>>2]=c;break a}Ke(b,v[a>>2],v[a+4>>2])}a=w[b+11|0];c=a<<24>>24;e=(c|0)<0;b:{c:{d=v[b+4>>2];f=e?d:a;if(f){a=e?v[b>>2]:b;c=a+(f<<2)|0;while(1){d=v[a>>2];v[299999]=0;d=Tw(d);e=v[299999];v[299999]=0;if((e|0)==1){break c}v[a>>2]=d;a=a+4|0;if((c|0)!=(a|0)){continue}break}d=v[b+4>>2];a=w[b+11|0];c=a}d:{if(((c<<24>>24<0?d:a)|0)==4){v[299999]=0;a=ca(2608,b|0,0,-1,979452,4)|0;c=v[299999];v[299999]=0;e=1;if((c|0)==1){break b}if(!a){break d}d=v[b+4>>2];a=w[b+11|0];c=a}if(((c<<24>>24<0?d:a)|0)==1){v[299999]=0;a=ca(2608,b|0,0,-1,979472,1)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}if(!a){e=1;break d}d=v[b+4>>2];a=w[b+11|0];c=a}if(((c<<24>>24<0?d:a)|0)==1){v[299999]=0;e=1;a=ca(2608,b|0,0,-1,979480,1)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}if(!a){break d}d=v[b+4>>2];a=w[b+11|0];c=a}e=0;if(((c<<24>>24<0?d:a)|0)!=2){break d}v[299999]=0;a=ca(2608,b|0,0,-1,979488,2)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}e=!a}if(t[b+11|0]<=-1){dc(v[b>>2])}Qb=b+16|0;return e|0}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}T(a|0);L()}W(0)|0;O()|0;lc();L()}function Tfa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=v[a+12>>2];if(d){f=v[d+20>>2];if((f|0)>=1){g=v[d>>2];while(1){c=0;while(1){d=(g+(b<<4)|0)+(c>>>2&1073741820)|0;h=v[d>>2];if(h){e=v[h+((c&14)<<2)>>2]}else{e=j}e=((e|0)!=0)+i|0;d=v[d>>2];if(d){d=v[(d+((c&14)<<2)|0)+4>>2]}else{d=0}i=e+((d|0)!=0)|0;c=c+2|0;if((c|0)!=64){continue}break}b=b+1|0;if((f|0)!=(b|0)){continue}break}}d=f<<6}else{d=0}c=v[a+16>>2];if(c){f=0;g=v[c+20>>2];a:{if((g|0)>=1){h=v[c>>2];b=0;while(1){c=0;while(1){k=b;b=(h+(f<<4)|0)+(c>>>2&1073741820)|0;e=v[b>>2];if(e){e=v[((c&14)<<2)+e>>2]}else{e=j}e=k+((e|0)!=0)|0;b=v[b>>2];if(b){b=v[(b+((c&14)<<2)|0)+4>>2]}else{b=0}b=e+((b|0)!=0)|0;c=c+2|0;if((c|0)!=64){continue}break}f=f+1|0;if((g|0)!=(f|0)){continue}break}break a}b=0}i=b+i|0;d=(g<<6)+d|0}a=v[a+20>>2];if(a){f=0;g=v[a+20>>2];b:{if((g|0)<1){b=0;break b}h=v[a>>2];b=0;while(1){c=0;while(1){e=b;a=(h+(f<<4)|0)+(c>>>2&1073741820)|0;b=v[a>>2];if(b){b=v[b+((c&14)<<2)>>2]}else{b=j}b=e+((b|0)!=0)|0;a=v[a>>2];if(a){a=v[(a+((c&14)<<2)|0)+4>>2]}else{a=0}b=b+((a|0)!=0)|0;c=c+2|0;if((c|0)!=64){continue}break}f=f+1|0;if((g|0)!=(f|0)){continue}break}}d=(g<<6)+d|0;i=b+i|0}return(B(i,100)|0)/((d?d:1)|0)|0}function Lq(a,b){var c=0,d=0,e=0,f=0,g=0;d=jc(40);if(!d){return 0}v[d>>2]=0;v[d+4>>2]=0;v[d+32>>2]=0;v[d+24>>2]=0;v[d+16>>2]=0;v[d+28>>2]=16384;t[d+36|0]=1;v[d+20>>2]=a;v[d+8>>2]=0;v[d+12>>2]=0;c=jc(a<<2);v[d+24>>2]=c;a:{if(!c){break a}e=v[d+20>>2];b:{if((e|0)<1){break b}v[c>>2]=0;c=1;if((e|0)==1){break b}g=e-1|0;f=g&3;if(e-2>>>0>=3){g=g&-4;while(1){e=c<<2;v[e+v[d+24>>2]>>2]=0;v[(e+v[d+24>>2]|0)+4>>2]=0;v[(e+v[d+24>>2]|0)+8>>2]=0;v[(e+v[d+24>>2]|0)+12>>2]=0;c=c+4|0;g=g-4|0;if(g){continue}break}}if(!f){break b}while(1){v[v[d+24>>2]+(c<<2)>>2]=0;c=c+1|0;f=f-1|0;if(f){continue}break}}c:{if((a|0)<1){break c}g=a&1;d:{if((a|0)==1){e=0;c=b;break d}f=a&-2;e=0;c=b;while(1){e=(((B(v[c+24>>2]+7|0,B(v[c+20>>2],v[c+16>>2]))|0)/8|0)+e|0)+((B(v[c+56>>2]+7|0,B(v[c+52>>2],v[c+48>>2]))|0)/8|0)|0;c=c- -64|0;f=f-2|0;if(f){continue}break}}e=g?((B(v[c+24>>2]+7|0,B(v[c+20>>2],v[c+16>>2]))|0)/8|0)+e|0:e;if((a|0)<1){break c}f=e>>>0<536870912;e=0;while(1){c=tK(v[b>>2],v[b+4>>2],v[b+8>>2],v[b+12>>2],v[b+16>>2],v[b+20>>2],v[b+24>>2],v[b+28>>2]!=0,f);v[v[d+24>>2]+(e<<2)>>2]=c;if(!c){break a}v[d+16>>2]=v[d+16>>2]+1;b=b+32|0;e=e+1|0;if((e|0)!=(a|0)){continue}break}}at(d);return d}Wg(d);return 0}function v6(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;if(Oi(a,v[b+8>>2],e)){if(!(v[b+28>>2]==1|v[b+4>>2]!=(c|0))){v[b+28>>2]=d}return}a:{if(Oi(a,v[b>>2],e)){if(!(v[b+16>>2]!=(c|0)&v[b+20>>2]!=(c|0))){if((d|0)!=1){break a}v[b+32>>2]=1;return}v[b+32>>2]=d;if(v[b+44>>2]!=4){f=a+16|0;i=f+(v[a+12>>2]<<3)|0;j=b;b:{c:{while(1){d:{if(f>>>0>=i>>>0){break d}u[b+52>>1]=0;FB(f,b,c,c,1,e);if(w[b+54|0]){break d}e:{if(!w[b+53|0]){break e}if(w[b+52|0]){d=1;if(v[b+24>>2]==1){break c}h=1;g=1;if(w[a+8|0]&2){break e}break c}h=1;d=g;if(!(t[a+8|0]&1)){break c}}f=f+8|0;continue}break}d=g;a=4;if(!h){break b}}a=3}v[j+44>>2]=a;if(d&1){break a}}v[b+20>>2]=c;v[b+40>>2]=v[b+40>>2]+1;if(v[b+36>>2]!=1|v[b+24>>2]!=2){break a}t[b+54|0]=1;return}g=v[a+12>>2];f=a+16|0;kw(f,b,c,d,e);if((g|0)<2){break a}g=f+(g<<3)|0;f=a+24|0;a=v[a+8>>2];if(!(!(a&2)&v[b+36>>2]!=1)){while(1){if(w[b+54|0]){break a}kw(f,b,c,d,e);f=f+8|0;if(g>>>0>f>>>0){continue}break}break a}if(!(a&1)){while(1){if(w[b+54|0]|v[b+36>>2]==1){break a}kw(f,b,c,d,e);f=f+8|0;if(g>>>0>f>>>0){continue}break a}}while(1){if(w[b+54|0]|v[b+36>>2]==1&v[b+24>>2]==1){break a}kw(f,b,c,d,e);f=f+8|0;if(g>>>0>f>>>0){continue}break}}}function BW(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,h=0,i=0,j=0,k=0;if(!f){return 0}if(v[f>>2]<=0){a:{if(!(!d&(e|0)!=0|(e|0)<-1|(b|0)<0)){if((b|0)<1|a){break a}}v[f>>2]=1;return 0}i=b;b:{c:{if(v[f>>2]<=0){d:{if(!(!d&(e|0)!=0|(e|0)<-1|(!a&(i|0)>0|(i|0)<0))){break d}v[f>>2]=1;a=0;break b}k=a?(i<<2)+a|0:0;e:{f:{g:{h:{if((e|0)<=-1){e=x[d>>1];g=(e|0)!=0;if(!e|(e&63488)==55296){break h}b=a;while(1){d=d+2|0;i:{if(b>>>0>>0){v[b>>2]=e;b=b+4|0;break i}j=j+1|0}e=x[d>>1];g=(e|0)!=0;if(!e){break g}if((e&63488)!=55296){continue}break}break g}g=d?(e<<1)+d|0:0;b=a;break f}b=a}if(!g){break e}e=d;while(1){h=x[e+2>>1];g=e+2|0;e=g;if(h){continue}break}}if(d>>>0>=g>>>0){break e}while(1){h=d+2|0;e=x[d>>1];if((e&63488)!=55296){d=h}else{if(e&1024|g>>>0<=h>>>0){break c}h=x[h>>1];if((h&64512)!=56320){break c}e=(h+(e<<10)|0)-56613888|0;d=d+4|0}j:{if(b>>>0>=k>>>0){j=j+1|0;break j}v[b>>2]=e;b=b+4|0}if(d>>>0>>0){continue}break}}b=(b-a>>2)+j|0;if(c){v[c>>2]=b}k:{if(!f){break k}c=v[f>>2];if((b|0)<0|(c|0)>0){break k}l:{if((b|0)<(i|0)){v[(b<<2)+a>>2]=0;b=0;if((c|0)==-124){break l}break k}b=(b|0)==(i|0)?-124:15}v[f>>2]=b}}else{a=0}break b}v[f>>2]=10;a=0}}else{a=0}return a|0}function hwa(a,b,c,d,e,f,g){a=a|0;b=b|0;c=+c;d=+d;e=+e;f=+f;g=+g;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,x=0;A[a+24>>3]=d;A[a+8>>3]=c;v[a+4>>2]=0;v[a>>2]=b;v[a+64>>2]=0;v[a+68>>2]=0;A[a+40>>3]=g;A[a+32>>3]=f;A[a+16>>3]=e;v[a+56>>2]=0;h=v[b+8>>2];if((h|0)>=1){j=h&1;l=v[b>>2];a:{if((h|0)==1){b=0;break a}k=h&-2;b=0;while(1){m=i;h=b<<2;i=v[h+l>>2];h=v[l+(h|4)>>2];i=(((m+v[i+44>>2]|0)+(w[i+103|0]!=0)|0)+v[h+44>>2]|0)+(w[h+103|0]!=0)|0;b=b+2|0;k=k-2|0;if(k){continue}break}}if(j){b=v[l+(b<<2)>>2];i=(v[b+44>>2]+i|0)+(w[b+103|0]!=0)|0}v[a+56>>2]=i}u=a,x=ed(i,4),v[u+48>>2]=x;m=ed(v[a+56>>2]+1|0,8);v[a+52>>2]=m;h=v[a+48>>2];l=a;o=v[a>>2];if(v[o+8>>2]>=1){q=v[o>>2];b=0;while(1){j=v[(n<<2)+q>>2];if(!n){v[a+4>>2]=w[j+100|0]}k=v[j+44>>2];b:{if((k|0)<=0){p=v[j+40>>2];break b}r=v[a+52>>2];s=v[a+48>>2];p=v[j+40>>2];t=v[j+32>>2];i=0;while(1){v[(b<<2)+s>>2]=v[(i<<2)+t>>2];A[(b<<3)+r>>3]=A[(i<<3)+p>>3];b=b+1|0;i=i+1|0;k=v[j+44>>2];if((i|0)<(k|0)){continue}break}}c=A[(k<<3)+p>>3];A[(b<<3)+m>>3]=c;if(w[j+103|0]){v[h+(b<<2)>>2]=32;b=b+1|0;A[(b<<3)+m>>3]=c}n=n+1|0;if((n|0)>2]){continue}break}h=v[a+48>>2]}v[l+60>>2]=v[((v[a+56>>2]<<2)+h|0)-4>>2]==45;return a|0}function _u(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0;h=-6;a:{if(!g|w[g|0]!=49){break a}h=-2;if(!a){break a}v[a+24>>2]=0;g=v[a+32>>2];if(!g){v[a+40>>2]=0;v[a+32>>2]=2928;g=2928}if(!v[a+36>>2]){v[a+36>>2]=2929}b:{if((d|0)<=-1){d=0-d|0}else{if((d|0)<16){j=1;k=0;break b}j=2;d=d-16|0}k=1}if((c|0)!=8|e-1>>>0>8|((d|0)<8|(d|0)>15)){break a}i=(b|0)==-1?6:b;if((i|0)<0|(i|0)>9|((f|0)<0|(f|0)>4)){break a}c=(d|0)==8;if(c&k){break a}h=-4;b=Ub[g|0](v[a+40>>2],1,5828)|0;if(!b){break a}v[a+28>>2]=b;c=c?9:d;v[b+48>>2]=c;v[b+28>>2]=0;v[b+24>>2]=j;v[b+4>>2]=42;v[b>>2]=a;d=e+7|0;v[b+80>>2]=d;c=1<>2]=c;v[b+52>>2]=c-1;d=1<>2]=d;v[b+88>>2]=((e+9&255)>>>0)/3;v[b+84>>2]=d-1;l=b,m=Ub[v[a+32>>2]](v[a+40>>2],c,2)|0,v[l+56>>2]=m;l=b,m=Ub[v[a+32>>2]](v[a+40>>2],v[b+44>>2],2)|0,v[l+64>>2]=m;c=Ub[v[a+32>>2]](v[a+40>>2],v[b+76>>2],2)|0;v[b+5824>>2]=0;v[b+68>>2]=c;c=1<>2]=c;c=Ub[v[a+32>>2]](v[a+40>>2],c,4)|0;v[b+8>>2]=c;d=v[b+5788>>2];v[b+12>>2]=d<<2;c:{if(!(!v[b+68>>2]|(!v[b+56>>2]|!v[b+64>>2]))){if(c){break c}}v[b+4>>2]=666;v[a+24>>2]=v[219662];_m(a);return-4}v[b+136>>2]=f;v[b+132>>2]=i;t[b+36|0]=8;v[b+5784>>2]=c+B(d,3);v[b+5796>>2]=c+(d&-2);h=hG(a)}return h}function ZGa(a,b,c,d,e,f){a=a|0;b=b|0;c=C(c);d=C(d);e=C(e);f=C(f);var g=0,h=0,i=0,j=0,k=0,l=0;h=Qb-32|0;Qb=h;z[a+28>>2]=f;z[a+24>>2]=e;z[a+20>>2]=d;z[a+16>>2]=c;v[a+4>>2]=0;v[a+8>>2]=0;v[a>>2]=b;v[a+12>>2]=0;v[h+8>>2]=0;v[h>>2]=0;v[h+4>>2]=0;k=a+4|0;a:{if(b){if(b>>>0>=1073741824){v[299999]=0;R(2185,h|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}L()}v[299999]=0;i=b<<2;g=S(1,i|0)|0;j=v[299999];v[299999]=0;if((j|0)==1){break a}v[h>>2]=g;g=g+i|0;v[h+8>>2]=g;v[h+4>>2]=g}v[299999]=0;j=Y(2460,h+16|0,b|0,h|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){b=v[k>>2];if(b){g=v[a+8>>2];if((b|0)==(g|0)){g=b}else{while(1){i=g-12|0;l=v[i>>2];if(l){v[g-8>>2]=l;dc(l)}g=i;if((b|0)!=(g|0)){continue}break}g=v[k>>2]}v[a+8>>2]=b;dc(g);v[a+12>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0}v[a+4>>2]=v[j>>2];v[a+8>>2]=v[j+4>>2];v[a+12>>2]=v[j+8>>2];g=0;v[j+8>>2]=0;v[j>>2]=0;v[j+4>>2]=0;b=v[h>>2];if(b){v[h+4>>2]=b;dc(b)}if(v[a>>2]){while(1){b=0;while(1){i=v[v[a+4>>2]+B(b,12)>>2]+(g<<2)|0;t[i|0]=255;t[i+1|0]=0;t[i+2|0]=0;t[i+3|0]=255;b=b+1|0;i=v[a>>2];if(b>>>0>>0){continue}break}g=g+1|0;if(i>>>0>g>>>0){continue}break}}Qb=h+32|0;return a|0}}b=P()|0;O()|0;a=v[h>>2];if(a){v[h+4>>2]=a;dc(a)}Vh(k);T(b|0);L()}function wx(a,b,c,d,e){var f=0;if(v[b+60>>2]){c=v[b+16>>2];v[a+12>>2]=v[b+12>>2];v[a+16>>2]=c;c=v[b+48>>2];v[a+44>>2]=v[b+44>>2];v[a+48>>2]=c;c=v[b+40>>2];v[a+36>>2]=v[b+36>>2];v[a+40>>2]=c;c=v[b+32>>2];v[a+28>>2]=v[b+28>>2];v[a+32>>2]=c;c=v[b+24>>2];v[a+20>>2]=v[b+20>>2];v[a+24>>2]=c;gc(a+52|0,b+52|0,908);v[a+4>>2]=v[b+4>>2];v[a+8>>2]=v[b+8>>2];v[a+960>>2]=v[b+960>>2];v[a+964>>2]=v[b+964>>2];v[a+968>>2]=v[b+968>>2];c=v[b+972>>2];v[a+60>>2]=b;v[a+972>>2]=c;return}gc(a+52|0,b+52|0,908);f=v[b+48>>2];v[a+44>>2]=v[b+44>>2];v[a+48>>2]=f;f=v[b+40>>2];v[a+36>>2]=v[b+36>>2];v[a+40>>2]=f;f=v[b+32>>2];v[a+28>>2]=v[b+28>>2];v[a+32>>2]=f;f=v[b+24>>2];v[a+20>>2]=v[b+20>>2];v[a+24>>2]=f;f=v[b+16>>2];v[a+12>>2]=v[b+12>>2];v[a+16>>2]=f;Zf(a,v[b+16>>2],v[b+20>>2],x[b+26>>1],v[b+68>>2]);a:{b:{if(!c){break b}c=v[a+4>>2];if(!c){break b}f=v[b+4>>2];if(!f){break b}gc(c,f,(v[a+32>>2]+v[a+12>>2]|0)+(v[a+44>>2]<<2)|0);break a}c=v[b+4>>2];vn(a,c?v[b+44>>2]?c+40|0:0:0,256)}c=B(v[a+20>>2],v[a+16>>2]);if(!(!d|!v[b+960>>2])){d=v[a+960>>2];if(d){dc(d)}d=jc(c);v[a+960>>2]=d;gc(d,v[b+960>>2],c)}if(!(!e|!v[b+964>>2])){d=v[a+964>>2];if(d){dc(d)}d=a;a=jc(c);v[d+964>>2]=a;gc(a,v[b+964>>2],c)}}function woa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;f=Qb-48|0;Qb=f;e=pr(180);v[299999]=0;h=S(4346,e|0)|0;g=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{g:{if((g|0)!=1){v[a>>2]=0;Wc(a,e);v[299999]=0;Q(4344,e+44|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break g}e=0;v[299999]=0;b=S(4477,f+8|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break f}g=v[c>>2];if(g){v[299999]=0;v[g+4>>2]=v[g+4>>2]+1;e=v[299999];v[299999]=0;if((e|0)==1){break e}e=v[c>>2]}v[299999]=0;v[f>>2]=e;$(4348,h|0,b|0,f|0,d|0);c=v[299999];v[299999]=0;if((c|0)==1){break d}a=v[f>>2];v[f>>2]=0;h:{if(!a){break h}v[299999]=0;c=v[a+4>>2]-1|0;v[a+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break h}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}v[b+24>>2]=981312;v[b>>2]=981280;a=v[b+28>>2];if(a){c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(!c){Ub[v[v[a>>2]+4>>2]](a)}v[b+28>>2]=0}v[b+16>>2]=981312;a=v[b+20>>2];if(a){c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(!c){Ub[v[v[a>>2]+4>>2]](a)}v[b+20>>2]=0}ec(b+8|0);Qb=f+48|0;return}a=P()|0;O()|0;Wk(e);T(a|0);L()}c=P()|0;O()|0;break b}c=P()|0;O()|0;break b}c=P()|0;O()|0;break c}c=P()|0;O()|0;ec(f)}$c(b)}ec(a);T(c|0);L()}W(0)|0;O()|0;lc();L()}function nl(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,p=0,q=0;f=Qb-16|0;Qb=f;h=v[a+100>>2];v[f+12>>2]=0;m=x[a+340>>1];a:{if(!m){break a}g=-1;i=-1;k=-1;l=-1;j=v[a+356>>2];e=j;while(1){b:{if(!x[e+8>>1]|x[e+6>>1]!=(b|0)){break b}c:{switch(x[e>>1]){case 0:case 2:g=d;break b;case 1:if(!x[e+4>>1]){k=d;break b}l=x[e+2>>1]?l:d;break b;case 3:break c;default:break b}}if((i|0)!=-1&(x[e+4>>1]&1023)!=9){break b}n=x[e+2>>1];if(n>>>0>10|!(1<>1]&1023)==9;i=d}e=e+20|0;d=d+1|0;if((m|0)!=(d|0)){continue}break}d=(k|0)>-1?k:l;d:{e:{f:{if((i|0)>=0){if((d|0)>=0){b=1882;if(!o){break f}}e=0;d=B(i,20)+j|0;g=x[d+2>>1];if(g>>>0>10){break a}b=1883;if(1<-1){break f}e=0;b=1883;d=g;if((d|0)<0){break a}}if(!j){break d}d=B(d,20)+j|0}g:{if(v[d+16>>2]){break g}a=v[a+368>>2];e=0;p=d,q=Cc(h,1,0,x[d+8>>1],0,f+12|0),v[p+16>>2]=q;h:{if(v[f+12>>2]){break h}g=Yc(a,v[d+12>>2]);v[f+12>>2]=g;if(g){break h}a=Lf(a,v[d+16>>2],x[d+8>>1]);v[f+12>>2]=a;if(!a){break g}}a=v[d+16>>2];if(a){Ub[v[h+8>>2]](h,a)}u[d+8>>1]=0;v[d+16>>2]=0;break a}e=Ub[b|0](d,h)|0;break a}e=0}v[c>>2]=e;Qb=f+16|0;return v[f+12>>2]}function h$a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=a+8208|0;if(d>>>0>y[b+160>>2]){Sd(b,8)}c=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!(c>>>0<=v[b+160>>2]-a>>>0&c>>>0>8207)){Sd(b,8)}c=w[a+8204|0]|w[a+8205|0]<<8|(w[a+8206|0]<<16|w[a+8207|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);a:{b:{if(g>>>0>(v[b+160>>2]-d>>>0)/12>>>0){Sd(b,8);break b}if(!g){break a}}h=a+12|0;c=0;while(1){e=c;f=w[d+8|0]|w[d+9|0]<<8|(w[d+10|0]<<16|w[d+11|0]<<24);j=w[d+1|0]<<16|w[d|0]<<24;a=w[d+3|0]|(j|w[d+2|0]<<8);k=w[d+5|0]<<16|w[d+4|0]<<24;c=w[d+7|0]|(k|w[d+6|0]<<8);if(a>>>0>c>>>0){Sd(b,8)}if(!(!i|a>>>0>e>>>0)){Sd(b,8)}c:{if(v[b+164>>2]<1){break c}l=v[b+172>>2];e=c-a|0;if(!(l>>>0>=e>>>0&l-e>>>0>(f<<8&16711680|f<<24|(f>>>8&65280|f>>>24))>>>0)){Sd(b,16)}e=e+1|0;if(j){if(!e){break c}while(1){if(!(w[(a>>>19|0)+h|0]<<(a>>>16&7)&128)){Sd(b,8)}if(!(w[(a>>>3&8191)+h|0]<<(a&7)&128)){Sd(b,8)}a=a+1|0;e=e-1|0;if(e){continue}break}break c}if(k){Sd(b,8)}if(!e){break c}while(1){if(w[(a>>>3&8191)+h|0]<<(a&7)&128){Sd(b,8)}a=a+1|0;e=e-1|0;if(e){continue}break}}d=d+12|0;i=i+1|0;if((g|0)!=(i|0)){continue}break}}return 0}function h1a(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;e=Qb-464|0;Qb=e;f=b+8|0;g=v[f+4>>2];v[e+16>>2]=v[f>>2];v[e+20>>2]=g;v[e+40>>2]=v[b+32>>2];f=v[b+28>>2];v[e+32>>2]=v[b+24>>2];v[e+36>>2]=f;f=v[b+20>>2];v[e+24>>2]=v[b+16>>2];v[e+28>>2]=f;f=v[b+4>>2];g=v[b>>2];v[e+16>>2]=2;v[e+8>>2]=g;v[e+12>>2]=f;a:{switch(v[b+8>>2]-7|0){case 0:case 3:v[e+16>>2]=3;break;default:break a}}Bo(a,e+448|0);b:{if(v[e+456>>2]!=3){b=162;break b}i=v[a>>2];g=v[e+448>>2]+1|0;v[a>>2]=g;j=v[a+8>>2];h=v[e+452>>2]-1|0;v[a+8>>2]=h;f=e+48|0;c:{if(g>>>0>=h>>>0){break c}g=e+432|0;while(1){Bo(a,e+432|0);if(!v[e+440>>2]){break c}if(f>>>0>>0){h=v[e+436>>2];v[f>>2]=v[e+432>>2];v[f+4>>2]=h;v[f+8>>2]=v[e+440>>2]}f=f+12|0;if(y[a>>2]>2]){continue}break}}v[a+8>>2]=j;v[a>>2]=i;g=f-(e+48|0)|0;f=(g|0)/12|0;if((g|0)<0){b=162;break b}g=v[b+24>>2];g=f>>>0>g>>>0?g:f;d:{if(v[b+8>>2]==7){break d}b=v[b+28>>2];if(!b){break d}t[b+v[c>>2]|0]=g}e:{if((g|0)>=1){h=w[e+28|0];f=e+48|0;while(1){v[a>>2]=v[f>>2];v[a+8>>2]=v[f+4>>2];b=b_(a,e+8|0,c,d,0);if(b){break e}v[e+24>>2]=h+v[e+24>>2];f=f+12|0;b=(g|0)>1;g=g-1|0;if(b){continue}break}}b=0}v[a+8>>2]=j;v[a>>2]=i}Qb=e+464|0;return b|0}function X3(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;a:{d=v[v[a+584>>2]+4>>2];a=(c|0)/4|0;if((d|0)>=(a|0)){break a}f=a-d|0;a=((f<<2)+b|0)-4|0;if((d|0)<5){b=d<<2;while(1){b:{switch(d|0){default:c=a+b|0;v[c>>2]=v[c>>2]-v[a>>2];a=a-4|0;case 3:c=a+b|0;v[c>>2]=v[c>>2]-v[a>>2];a=a-4|0;case 2:c=a+b|0;v[c>>2]=v[c>>2]-v[a>>2];a=a-4|0;case 1:c=a+b|0;v[c>>2]=v[c>>2]-v[a>>2];a=a-4|0;break;case 0:break b}}f=f-d|0;if((f|0)>0){continue}break}break a}h=d-4|0;i=d&3;j=d-5>>>0>2;while(1){c:{d:{e:{f:{g:{h:{switch(d|0){case 0:break c;case 1:break d;case 2:break e;case 3:break f;case 4:break g;default:break h}}c=h;b=i;if(b){while(1){e=(d<<2)+a|0;v[e>>2]=v[e>>2]-v[a>>2];c=c-1|0;a=a-4|0;b=b-1|0;if(b){continue}break}}if(!j){break g}while(1){b=d<<2;e=b+a|0;v[e>>2]=v[e>>2]-v[a>>2];e=a-4|0;g=e+b|0;v[g>>2]=v[g>>2]-v[e>>2];e=a-8|0;g=e+b|0;v[g>>2]=v[g>>2]-v[e>>2];e=b;b=a-12|0;e=e+b|0;v[e>>2]=v[e>>2]-v[b>>2];a=a-16|0;b=(c|0)>4;c=c-4|0;if(b){continue}break}}b=(d<<2)+a|0;v[b>>2]=v[b>>2]-v[a>>2];a=a-4|0}b=(d<<2)+a|0;v[b>>2]=v[b>>2]-v[a>>2];a=a-4|0}b=(d<<2)+a|0;v[b>>2]=v[b>>2]-v[a>>2];a=a-4|0}b=(d<<2)+a|0;v[b>>2]=v[b>>2]-v[a>>2];a=a-4|0}f=f-d|0;if((f|0)>0){continue}break}}}function qIa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=v[a+372>>2];c=v[a+420>>2];d=v[a+24>>2];v[c+112>>2]=v[d>>2];v[c+116>>2]=v[d+4>>2];if(!(v[c+36>>2]|!v[a+236>>2])){xy(c,v[c+40>>2])}a:{e=v[a+316>>2];if(v[c+108>>2]|(e|0)<1){break a}while(1){if(!g){f=v[c+16>>2];g=v[c+12>>2]|(u[v[(i<<2)+b>>2]>>1]>>>j&1)<<23-f;d=f+1|0;if((f|0)>=7){while(1){e=v[c+112>>2];v[c+112>>2]=e+1;t[e|0]=g>>>16;e=v[c+116>>2]-1|0;v[c+116>>2]=e;if(!e){f=v[c+120>>2];e=v[f+24>>2];if(!(Ub[v[e+12>>2]](f)|0)){f=v[c+120>>2];h=v[f>>2];v[h+20>>2]=25;Ub[v[h>>2]](f)}v[c+112>>2]=v[e>>2];v[c+116>>2]=v[e+4>>2]}e=d;b:{if((g&16711680)!=16711680){break b}d=v[c+112>>2];v[c+112>>2]=d+1;t[d|0]=0;d=v[c+116>>2]-1|0;v[c+116>>2]=d;if(d){break b}f=v[c+120>>2];d=v[f+24>>2];if(!(Ub[v[d+12>>2]](f)|0)){f=v[c+120>>2];h=v[f>>2];v[h+20>>2]=25;Ub[v[h>>2]](f)}v[c+112>>2]=v[d>>2];v[c+116>>2]=v[d+4>>2]}d=e-8|0;g=g<<8;if((e|0)>15){continue}break}e=v[a+316>>2]}v[c+16>>2]=d;v[c+12>>2]=g}i=i+1|0;if((i|0)>=(e|0)){break a}g=v[c+108>>2];continue}}b=v[a+24>>2];v[b>>2]=v[c+112>>2];v[b+4>>2]=v[c+116>>2];a=v[a+236>>2];if(a){b=c;d=v[c+36>>2];if(d){a=d}else{v[c+36>>2]=a;v[c+40>>2]=v[c+40>>2]+1&7}v[b+36>>2]=a-1}return 1}function _F(a){var b=0;if(!v[294235]){$F()}a:{b:{c:{switch(a+1|0){case 3:return v[294236];case 4:return v[294237];case 7:b=Jf(322074);if(b){break a}b=Jf(297141);if(b){break a}b=Jf(310549);if(b){break a}b=Jf(324263);if(!b){break b}break a;case 6:b=Jf(326315);if(b){break a}b=Jf(326325);if(b){break a}b=Jf(325690);if(!b){break b}break a;case 5:b=Jf(326315);if(b){break a}b=Jf(326325);if(b){break a}b=Jf(325690);if(!b){break b}break a;case 10:b=Jf(329908);if(b){break a}b=Jf(329918);if(b){break a}b=Jf(329334);if(!b){break b}break a;case 11:b=Jf(334334);if(!b){break b}break a;case 12:b=Jf(329936);if(!b){break b}break a;case 13:b=Jf(328430);if(!b){break b}break a;case 14:b=Jf(326331);if(!b){break b}break a;case 15:b=Jf(325589);if(!b){break b}break a;case 16:b=Jf(324966);if(!b){break b}break a;case 17:b=Jf(324427);if(!b){break b}break a;case 18:b=Jf(323864);if(!b){break b}break a;case 19:b=Jf(323279);if(!b){break b}break a;case 20:b=Jf(311918);if(!b){break b}break a;case 21:b=Jf(310743);if(b){break a}b=Jf(310723);if(b){break a}b=Jf(310713);if(!b){break b}break a;case 0:case 1:case 2:break a;case 22:break c;default:break b}}b=Jf(311911);if(b){break a}}b=0}return b}function Hla(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=Qb-16|0;Qb=e;g=Fe(c);a:{b:{c:{d:{e:{f=b- -64|0;d=v[v[f+12>>2]+((g>>>0)%y[f+8>>2]<<2)>>2];if(d){while(1){if(v[d+12>>2]==(g|0)){if(!Ri(d+16|0,c,-1)){break e}}d=v[d+8>>2];if(d){continue}break}}v[e+12>>2]=f;v[e+8>>2]=0;break d}v[e+12>>2]=f;v[e+8>>2]=d;c=v[d+24>>2];v[a>>2]=0;v[299999]=0;d=v[v[b+48>>2]+((c>>>0)%y[b+44>>2]<<2)>>2];b=v[299999];v[299999]=0;f:{if((b|0)!=1){if(!d){break f}while(1){if(!((c|0)==v[d+12>>2]&(c|0)==v[d+16>>2])){d=v[d+8>>2];if(d){continue}break f}break}if(!v[d+20>>2]|v[c+4>>2]<1){break f}v[299999]=0;Q(4336,a|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a>>2];if(!b){break f}if(v[b+4>>2]>0){break c}v[299999]=0;Q(4336,a|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}if(!v[a>>2]){break f}break c}break a}v[299999]=0;V(4999,f|0,e+8|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a>>2];v[a>>2]=0;if(!b){break d}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break b}if(c){break d}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}}v[a>>2]=0;Wc(a,0)}Qb=e+16|0;return}W(0)|0;O()|0;lc();L()}b=P()|0;O()|0;ec(a);T(b|0);L()}function gQ(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;var j=0,k=0;if(!(!a|!b)){t[b+28|0]=g;t[b+27|0]=i;t[b+26|0]=h;t[b+25|0]=f;t[b+24|0]=e;v[b+4>>2]=d;v[b>>2]=c;j=e&255;f=f&255;k=g&255;h=h&255;g=i&255;a:{b:{if(!c){Gc(a,40413);break b}if((c|0)<=-1){Gc(a,41313);break b}if(c>>>0>=536870799){Gc(a,42030);break b}e=0;if(y[a+700>>2]>=c>>>0){break a}Gc(a,43209)}e=1}c:{d:{if(!d){Gc(a,43994);break d}if((d|0)<=-1){Gc(a,44943);break d}if(y[a+704>>2]>=d>>>0){break c}Gc(a,45541)}e=1}if(!(1<>>0<=16:0)){Gc(a,46410);e=1}d=f&-5;if(!((d|0)!=1&f>>>0<=6)){Gc(a,47053);e=1}if(!(!((f|0)==3&j>>>0>8)&((f|0)!=4&(d|0)!=2|j>>>0>7))){Gc(a,47563);e=1}if(k>>>0>=2){Gc(a,48169);e=1}if(h){Gc(a,48621);e=1}if(!(!(w[a+201|0]&16)|!v[a+660>>2])){Gc(a,48911)}e:{f:{g:{if(!g){break g}if(!(w[a+201|0]&16|(!(w[a+660|0]&4)|(g|0)!=64))){if((d|0)==2){break g}}Gc(a,49553);if(!(w[a+201|0]&16)){break f}Gc(a,50002);break f}if(!e){break e}}hd(a,50512);L()}d=b;e=w[b+25|0];h:{if((e|0)==3){a=1}else{f=e&2;a=f|1;t[b+29|0]=a;if(!(e&4)){break h}a=f+2|0}t[d+29|0]=a}a=B(w[b+24|0],a);t[b+30|0]=a;a=a&255;i:{if(a>>>0>=8){a=B(a>>>3|0,c);break i}a=B(a,c)+7>>>3|0}v[b+12>>2]=a}}function Tl(a,b){var c=0,d=0,e=0,f=0;d=Qb-96|0;Qb=d;v[d+80>>2]=13;a:{b:{switch(v[a>>2]){case 0:EB(v[a+8>>2]?275456:277254,b);break a;case 1:v[d>>2]=v[a+8>>2];wc(b,292676,d);break a;case 2:A[d+16>>3]=A[a+8>>3];Ph(b,273227,d+16|0);break a;case 3:ff(40,b);a=v[a+8>>2];Rc(v[a+4>>2],1,v[a>>2],b);ff(41,b);break a;case 4:v[d+32>>2]=v[a+8>>2];wc(b,237148,d+32|0);break a;case 5:Rc(258898,4,1,b);break a;case 6:ff(91,b);e=1;c=v[a+8>>2];c:{if(v[c+12>>2]<1){break c}f=c;c=d+80|0;hg(f,0,c);Tl(c,b);hc(c);if(v[v[a+8>>2]+12>>2]<2){break c}while(1){ff(32,b);c=d+80|0;hg(v[a+8>>2],e,c);Tl(c,b);hc(c);e=e+1|0;if((e|0)>2]+12>>2]){continue}break}}ff(93,b);break a;case 7:Rc(322755,2,1,b);c=v[a+8>>2];if(v[c+16>>2]>=1){while(1){v[d+48>>2]=v[v[c+4>>2]+(e<<5)>>2];wc(b,346238,d+48|0);c=d+80|0;Qp(v[a+8>>2],e,c);Tl(c,b);hc(c);e=e+1|0;c=v[a+8>>2];if((e|0)>2]){continue}break}}Rc(322668,3,1,b);break a;case 8:Rc(322639,8,1,b);break a;case 9:e=v[a+12>>2];v[d+64>>2]=v[a+8>>2];v[d+68>>2]=e;wc(b,311857,d- -64|0);break a;case 10:EB(v[a+8>>2],b);break a;case 11:Rc(322631,7,1,b);break a;case 12:Rc(322659,5,1,b);break a;case 13:break b;default:break a}}Rc(322648,6,1,b)}Qb=d+96|0}function hD(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Qb-32|0;Qb=d;v[a>>2]=0;v[a+4>>2]=v[282402];v[299999]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+20>>2]=0;v[d+16>>2]=990592;fa(5155,d+8|0,d+16|0,b|0,0,((c|0)>-1?c:-1)|0);b=v[299999];v[299999]=0;a:{b:{c:{if((b|0)!=1){v[d+16>>2]=990496;b=v[d+28>>2];if(b){t[b|0]=0;dc(v[d+28>>2])}v[d+28>>2]=0;Qc(d+16|0);b=v[d+8>>2];d:{if(b){c=v[v[b>>2]+28>>2];v[299999]=0;U(c|0,d+16|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break d}c=P()|0;O()|0;break c}v[d+16>>2]=0}v[299999]=0;Q(4344,a|0,d+16|0)|0;b=v[299999];v[299999]=0;e:{if((b|0)!=1){b=v[d+16>>2];v[d+16>>2]=0;if(!b){break e}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;e=v[299999];v[299999]=0;if((e|0)!=1){if(c){break e}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break e}}break a}c=P()|0;O()|0;ec(d+16|0);break c}b=v[a>>2];v[a+4>>2]=v[(b?b+12|0:1129608)>>2];b=v[d+8>>2];v[d+8>>2]=0;f:{if(!b){break f}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(c){break f}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}Qb=d+32|0;return a|0}c=P()|0;O()|0;Ag(d+16|0);break b}ec(d+8|0)}ec(a);T(c|0);L()}W(0)|0;O()|0;lc();L()}function vR(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{e=v[c+52>>2];f=v[e+8>>2];b:{if((f|0)>=1){g=v[e>>2];while(1){c:{i=v[g+(d<<2)>>2];if(v[i+4>>2]|!(A[b+16>>3]>=A[i+16>>3])|(!(A[b+24>>3]>=A[i+24>>3])|!(A[b+32>>3]<=A[i+32>>3]))){break c}if(!(A[b+40>>3]<=A[i+40>>3])){break c}vR(a,b,i);break b}d=d+1|0;if((f|0)!=(d|0)){continue}break}}d:{e:{f:{switch(v[c>>2]){case 0:g:{if(v[c+8>>2]-1>>>0>=2){if((f|0)>=1){break g}Yl(e,0,b);break b}if((f|0)<1){Yl(e,0,b);break b}h=A[b+32>>3];g=v[e>>2];d=0;while(1){a=v[g+(d<<2)>>2];if(h>(A[a+16>>3]+A[a+32>>3])*.5){break d}d=d+1|0;if((f|0)!=(d|0)){continue}break}break e}h=A[b+16>>3];g=v[e>>2];d=0;while(1){a=v[g+(d<<2)>>2];if(h<(A[a+16>>3]+A[a+32>>3])*.5){break d}d=d+1|0;if((f|0)!=(d|0)){continue}break};break e;case 1:break f;default:break a}}h:{if(v[c+8>>2]<=1){if((f|0)>=1){break h}Yl(e,0,b);break b}if((f|0)<1){Yl(e,0,b);break b}h=A[b+40>>3];g=v[e>>2];d=0;while(1){a=v[g+(d<<2)>>2];if(h>(A[a+24>>3]+A[a+40>>3])*.5){break d}d=d+1|0;if((f|0)!=(d|0)){continue}break}break e}h=A[b+24>>3];g=v[e>>2];d=0;while(1){a=v[g+(d<<2)>>2];if(h<(A[a+24>>3]+A[a+40>>3])*.5){break d}d=d+1|0;if((f|0)!=(d|0)){continue}break}}d=f}Yl(e,d,b)}v[c+4>>2]=0}}function Xk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=Qb-16|0;Qb=d;e=Fe(b);a:{c=v[v[a+12>>2]+((e>>>0)%y[a+8>>2]<<2)>>2];b:{if(c){while(1){if((e|0)==v[c+12>>2]){if(!Ri(c+16|0,b,-1)){break b}}c=v[c+8>>2];if(c){continue}break}}c=fc(28);v[c>>2]=0;v[c+4>>2]=0;v[c+24>>2]=0;e=c+16|0;v[e>>2]=0;v[e+4>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c+20>>2]=v[282402];c:{b=v[b>>2];d:{e:{if(b){f=v[v[b>>2]+28>>2];v[299999]=0;U(f|0,d+8|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break e}c=P()|0;O()|0;break d}v[d+8>>2]=0}v[299999]=0;Q(4344,e|0,d+8|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){b=v[d+8>>2];v[d+8>>2]=0;if(!b){break c}v[299999]=0;f=v[b+4>>2]-1|0;v[b+4>>2]=f;g=v[299999];v[299999]=0;if((g|0)!=1){if(f){break c}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break c}}break a}c=P()|0;O()|0;a=v[d+8>>2];v[d+8>>2]=0;if(!a){break d}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(b){break d}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}ec(e);T(c|0);L()}b=v[c+16>>2];b=v[(b?b+12|0:1129608)>>2];v[c+24>>2]=0;v[c+20>>2]=b;h=c,i=Fe(e),v[h+12>>2]=i;gk(a,c)}Qb=d+16|0;return c|0}W(0)|0;O()|0;lc();L()}function Lpa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=Qb-32|0;Qb=j;c=v[b>>2];if(c){e=Qb-32|0;Qb=e;h=v[c+16>>2];v[e+8>>2]=0;i=jc(h<<2);if((h|0)>0){f=c+12|0;c=0;while(1){v[299999]=0;ox(e+24|0,f,c);d=v[299999];v[299999]=0;a:{b:{if((d|0)==1){break b}c:{d=v[e+24>>2];if(d){v[e+16>>2]=d;g=v[e+28>>2];v[e+20>>2]=g;if((f|0)==(g|0)){break c}v[299999]=0;V(4468,e+16|0,f|0);a=v[299999];v[299999]=0;if((a|0)==1){break b}L()}v[299999]=0;Q(4336,e+8|0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break b}break a}v[299999]=0;Q(4344,e+8|0,d+8|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){break a}}a=P()|0;O()|0;ec(e+8|0);T(a|0);L()}g=v[e+8>>2];v[(c<<2)+i>>2]=v[g+8>>2];c=c+1|0;if((h|0)!=(c|0)){continue}break}}f=0;while(1){d:{d=0;c=f;if((h|0)<=(c|0)){break d}while(1){e:{d=v[(c<<2)+i>>2]+d|0;if(!d){d=1;break e}if((c-f|0)==(d|0)){break e}c=c+1|0;if((h|0)!=(c|0)){continue}break d}break}f=d+f|0;if((d|0)>0){continue}}break}dc(i);v[e+8>>2]=0;f:{if(!g){break f}v[299999]=0;c=v[g+4>>2]-1|0;v[g+4>>2]=c;f=v[299999];v[299999]=0;if((f|0)!=1){if(c){break f}v[299999]=0;R(4338,g|0);c=v[299999];v[299999]=0;if((c|0)!=1){break f}}W(0)|0;O()|0;lc();L()}Qb=e+32|0}Si(a+12|0,b);Qb=j+32|0}function yS(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{e=Gj(v[a+44>>2],b);if(!e){c=v[a+48>>2];if(v[c+8>>2]<=0){return 0}while(1){e=v[v[c>>2]+(g<<2)>>2];c=fc(8);v[299999]=0;d=Q(3064,c|0,e|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break a}c=Xm(d,v[b+4>>2]);_c(c,307084);d=cl(v[c+4>>2],301722);if(d){break b}dc(Dc(c));c=fc(8);v[299999]=0;d=Q(3064,c|0,e|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break a}c=Xm(d,v[b+4>>2]);_c(c,302981);d=cl(v[c+4>>2],301722);if(d){break b}dc(Dc(c));c=fc(8);v[299999]=0;d=Q(3064,c|0,e|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break a}c=Xm(d,v[b+4>>2]);_c(c,273238);d=cl(v[c+4>>2],301722);if(d){break b}dc(Dc(c));c=fc(8);v[299999]=0;d=Q(3064,c|0,e|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break a}c=Xm(d,v[b+4>>2]);_c(c,292683);d=cl(v[c+4>>2],301722);if(d){break b}dc(Dc(c));c=fc(8);v[299999]=0;e=Q(3064,c|0,e|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break a}c=Xm(e,v[b+4>>2]);_c(c,273243);d=cl(v[c+4>>2],301722);if(d){break b}dc(Dc(c));g=g+1|0;c=v[a+48>>2];if((g|0)>2]){continue}break}return 0}c=fc(8);v[299999]=0;a=Q(3064,c|0,e|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}return a}Be(d);return c}a=P()|0;O()|0;dc(c);T(a|0);L()}function hSa(a,b,c){a=a|0;b=C(b);c=C(c);var d=0,e=0,f=C(0),g=C(0),h=C(0),i=0;f=C(b-z[a+248>>2]);g=z[a+4>>2];c=C(c-z[a+252>>2]);h=z[a+8>>2];b=C(z[a+264>>2]*C(C(f*g)+C(c*h)));f=C(C(C(g*c)-C(f*h))*z[a+268>>2]);a:{if(!(((q(b),j(2))&2147483647)>>>0<2139095041&((q(f),j(2))&2147483647)>>>0<=2139095040)){c=C(b+f);break a}d=(q(f),j(2));if((d|0)==1065353216){c=MN(b);break a}i=d>>>30&2;e=(q(b),j(2));a=i|e>>>31;b:{e=e&2147483647;c:{if(!e){d:{switch(a-2|0){case 0:c=C(3.1415927410125732);break a;case 1:break d;default:break c}}c=C(-3.1415927410125732);break a}d=d&2147483647;if((d|0)!=2139095040){c=(l(2,(q(b),j(2))&-2147483648|1070141403),p());if(!d){break a}c=(l(2,(q(b),j(2))&-2147483648|1070141403),p());if(!((e|0)!=2139095040&e>>>0<=d+218103808>>>0)){break a}e:{if(i){c=C(0);if(d>>>0>e+218103808>>>0){break e}}c=MN(C(D(C(b/f))))}b=c;f:{switch(a|0){case 1:c=C(-b);break a;case 2:c=C(C(3.1415927410125732)-C(b+C(8.742277657347586e-8)));break a;case 0:break c;default:break f}}c=C(C(b+C(8.742277657347586e-8))+C(-3.1415927410125732));break a}if((e|0)==2139095040){break b}b=z[(a<<2)+1006400>>2]}c=b;break a}c=z[(a<<2)+1006384>>2]}return C(C(+C(D(c))*.3183098861837907))}function Go(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=Qb-16|0;Qb=g;k=v[b+28>>2];v[a+28>>2]=0;v[a+32>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;v[a+12>>2]=0;v[a+16>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a>>2]=b;v[a+4>>2]=v[b+8>>2];h=a;a:{b:{c:{if(d){e=kf(b,g+12|0);if(v[g+12>>2]){break b}d=5;break c}e=Ed(b,g+12|0);if(v[g+12>>2]){break b}d=3}v[h+8>>2]=d;d=0;if(!e){break a}h=dg(b,g+12|0);if(v[g+12>>2]){break b}if((h-1&255)>>>0>=4){v[g+12>>2]=8;break b}t[a+16|0]=h;v[a+12>>2]=e;h=h&255;v[a+20>>2]=v[a+8>>2]+(v[a+4>>2]+B(h,e+1|0)|0);e=Bf(b,B(e,h));v[g+12>>2]=e;if(e){break b}i=Qb-16|0;Qb=i;l=Lf(v[a>>2],i+12|0,w[a+16|0]);d:{if(l){break d}e=w[a+16|0];if(!e){break d}j=e&3;e:{if(e-1>>>0<3){e=0;f=0;break e}f=e&252;e=0;while(1){h=e;e=e+4|0;f=f-4|0;if(f){continue}break}f=i+12|0;f=w[f+(h|3)|0]|(w[f+(h|2)|0]|(w[f+h|0]<<16|w[f+(h|1)|0]<<8))<<8}if(!j){break d}while(1){f=w[(i+12|0)+e|0]|f<<8;e=e+1|0;j=j-1|0;if(j){continue}break}}v[g+12>>2]=l;Qb=i+16|0;if(v[g+12>>2]){break b}if(!f){v[g+12>>2]=8;break b}e=f-1|0;v[a+24>>2]=e;f=g;f:{if(c){b=Xh(b,e,a+32|0);break f}b=Bf(b,e)}v[f+12>>2]=b;if(!b){break a}}b=v[a+28>>2];if(b){Ub[v[k+8>>2]](k,b)}v[a+28>>2]=0;d=v[g+12>>2]}Qb=g+16|0;return d}function Q4(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0;m=Qb-16|0;Qb=m;a:{b:{if((c|0)<=0){q=a+608|0;r=a+604|0;d=v[a+608>>2];e=v[a+604>>2];break b}ic(b,255,c);q=a+608|0;r=a+604|0;i=v[a+588>>2];d=v[a+608>>2];e=v[a+604>>2];while(1){k=d-1|0;j=e+1|0;c:{d:{e:{g=w[e|0];if((g|0)!=64){if(g){break e}if((d|0)<=(i|0)){break d}oe(b,j,i);d=k-i|0;e=i+j|0;break c}f=w[e+4|0]|w[e+3|0]<<8;h=f+4|0;if((h|0)>=(d|0)){break d}d=w[e+2|0]|w[e+1|0]<<8;if((d+f|0)>(i|0)){break d}oe(b+d|0,e+5|0,f);d=k-h|0;e=h+j|0;break c}n=v[a+56>>2];f=0;d=b;while(1){l=f>>>0>>0;o=g&63;f:{if(!(!o|f>>>0>=n>>>0)){s=g&192;p=s>>>6|0;u=p<<4;x=p<<2;h=d;while(1){e=f+1|0;g=u;l=s;g:{h:{i:{switch((f&3)-1|0){case 1:g=x;h=d;break h;case 0:break h;case 2:break i;default:break g}}h=d+1|0;g=p}l=w[d|0]|g}t[d|0]=l;l=e>>>0>>0;if((o|0)<2){break f}o=o-1|0;f=e;d=h;if(e>>>0>>0){continue}break}break f}h=d;e=f}if(!l){d=k;e=j;break c}if(!k){break d}k=k-1|0;g=w[j|0];d=h;j=j+1|0;f=e;continue}}c=v[a>>2];b=v[a+628>>2];v[m>>2]=v[a+472>>2];zc(b,c,2566,m);a=0;break a}b=b+i|0;c=c-i|0;if((c|0)>0){continue}break}}v[r>>2]=e;v[q>>2]=d;a=1}Qb=m+16|0;return a|0}function Ap(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Qb-32|0;Qb=c;t[c+15|0]=b;v[a>>2]=0;v[a+4>>2]=v[282402];v[299999]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+20>>2]=0;v[c+16>>2]=990592;fa(5155,c+8|0,c+16|0,c+15|0,0,1);b=v[299999];v[299999]=0;a:{b:{c:{if((b|0)!=1){v[c+16>>2]=990496;b=v[c+28>>2];if(b){t[b|0]=0;dc(v[c+28>>2])}v[c+28>>2]=0;Qc(c+16|0);b=v[c+8>>2];d:{if(b){d=v[v[b>>2]+28>>2];v[299999]=0;U(d|0,c+16|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break d}b=P()|0;O()|0;break c}v[c+16>>2]=0}v[299999]=0;Q(4344,a|0,c+16|0)|0;b=v[299999];v[299999]=0;e:{if((b|0)!=1){b=v[c+16>>2];v[c+16>>2]=0;if(!b){break e}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)!=1){if(d){break e}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break e}}break a}b=P()|0;O()|0;ec(c+16|0);break c}b=v[a>>2];v[a+4>>2]=v[(b?b+12|0:1129608)>>2];b=v[c+8>>2];v[c+8>>2]=0;f:{if(!b){break f}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(d){break f}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}Qb=c+32|0;return a|0}b=P()|0;O()|0;Ag(c+16|0);break b}ec(c+8|0)}ec(a);T(b|0);L()}W(0)|0;O()|0;lc();L()}function uQa(a,b){a=a|0;b=b|0;var c=C(0),d=C(0),e=C(0),f=C(0),g=0,h=0,i=C(0),j=0,k=C(0),l=C(0),m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0;v[a>>2]=0;v[a+4>>2]=0;m=a+8|0;v[m>>2]=0;v[m+4>>2]=0;b=b+16|0;if(v[b+84>>2]>=1){n=v[b+84>>2];a:{if((n|0)<=0){v[a>>2]=0;v[a+4>>2]=0;v[a+12>>2]=0;v[m>>2]=0;break a}o=v[b+80>>2];if((n|0)!=1){p=n&-2;while(1){r=B(h,96)+o|0;c=C(-z[r+16>>2]);e=c>e?e:c;s=B(h|1,96)+o|0;c=C(-z[s+16>>2]);e=c>e?e:c;c=C(-z[r+24>>2]);d=c>2]);d=c>2]);e=c>e?e:c;c=C(-z[h+24>>2]);d=c>3];q=A[b+40>>3];b:{c:{t=A[b+24>>3];g=A[b+32>>3];if(t!=1|g!=0|(q!=0|j!=1)){break c}if(A[b+56>>3]!=0|A[b- -64>>3]!=0){break c}f=C(0);break b}g=g*0;u=+e;c=C(g+j*u);w=j;j=+d;d=C(g+w*j);e=ce?e:c;d=c>d?c:d;d=ck?k:c;f=c>f?c:f;f=c>2];c=z[b+8>>2];i=C(i+c);l=z[b+16>>2];l=c>2]=i>2];i=z[b+16>>2];f=f>i?f:i;z[a+4>>2]=c>f?c:f;e=C(e+k);c=z[b+12>>2];f=z[b+20>>2];c=c>2]=c>e?e:c;e=C(d+k);d=z[b+12>>2];c=z[b+20>>2];d=c>2]=d>2]==89){g=1;break a}b:{if(!c|v[c+48>>2]==6){break b}e=v[c+40>>2];if(v[c+72>>2]|!e|v[a+84>>2]==89){break b}h=v[a+440>>2];v[c+72>>2]=1;v[a+248>>2]=v[a+248>>2]+1;e=yu(a,e);v[a+248>>2]=v[a+248>>2]-1;if(v[a+84>>2]==89){t[v[c+40>>2]]=0}v[c+72>>2]=(v[a+440>>2]-h<<1)+2;if(!e){break b}if(uo(e,60)){v[c+72>>2]=v[c+72>>2]|1}Ub[v[259708]](e)}c:{if(d){if(d>>>0<1e7){break a}b=v[a+36>>2];if(b){b=(v[b+36>>2]+v[b+16>>2]|0)-v[b+12>>2]|0}else{b=0}if(B(b+v[a+444>>2]|0,10)>>>0<=d>>>0){break c}break a}if(b){if(b>>>0<1e3){break a}d=b;c=v[a+36>>2];if(c){b=(v[c+36>>2]+v[c+16>>2]|0)-v[c+12>>2]|0}else{b=0}b=B(b+v[a+444>>2]|0,10);if(d>>>0>=b>>>0|b>>>0<=B(v[a+440>>2],3)>>>0){break c}break a}if(c){c=B(v[c+72>>2]/2|0,3);b=v[a+36>>2];if(b){b=(v[b+36>>2]+v[b+16>>2]|0)-v[b+12>>2]|0}else{b=0}if(c>>>0>=B(b+v[a+444>>2]|0,10)>>>0){break c}break a}if((v[a+388>>2]&-2)!=26|y[a+440>>2]<10001){break a}}if(v[a+212>>2]){g=1;if(v[a+172>>2]==-1){break a}}v[a+84>>2]=89;v[f>>2]=242468;g=1;oc(0,0,0,a,0,1,89,3,0,0,0,0,350078,f);v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1}Qb=f+16|0;return g}function Yia(a,b){a=a|0;b=+b;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=Qb-256|0;Qb=h;a:{b:{if(b<1.001&b>.999){break b}c:{if(t[1180864]&1){break c}if(!Je(1180864)){break c}Ie(1180864)}if(A[141200]!=b){if(b<.1|b>10){a=vc(h,255925,241480,657,341386,0);v[299999]=0;R(4370,a|0);d=v[299999];v[299999]=0;if((d|0)!=1){break a}d=P()|0;O()|0;qc(a);T(d|0);L()}k=1/b;while(1){f=c+1180608|0;g=H(de(+(c|0)/255,k)*255+.5);d:{if(D(g)<2147483648){d=~~g;break d}d=-2147483648}t[f|0]=d;d=c|1;f=d+1180608|0;g=H(de(+(d|0)/255,k)*255+.5);e:{if(D(g)<2147483648){d=~~g;break e}d=-2147483648}t[f|0]=d;c=c+2|0;if((c|0)!=256){continue}break}t[1180863]=255;A[141200]=b;t[1180608]=0}e=gc(h,1180608,256);l=x[a+8>>1];if(!l){break b}i=x[a+10>>1];if(!i){break b}m=v[a+16>>2];f=i&65534;n=i&1;while(1){c=m?B(B(x[a+12>>1],j),3)+m|0:0;d=f;if((i|0)!=1){while(1){t[c+2|0]=w[w[c+2|0]+e|0];t[c+1|0]=w[w[c+1|0]+e|0];t[c|0]=w[w[c|0]+e|0];t[c+5|0]=w[w[c+5|0]+e|0];t[c+4|0]=w[w[c+4|0]+e|0];t[c+3|0]=w[w[c+3|0]+e|0];c=c+6|0;d=d-2|0;if(d){continue}break}}if(n){t[c+2|0]=w[w[c+2|0]+e|0];t[c+1|0]=w[w[c+1|0]+e|0];t[c|0]=w[w[c|0]+e|0]}j=j+1|0;if((l|0)!=(j|0)){continue}break}}Qb=h+256|0;return}L()}function zra(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=Qb-1056|0;Qb=e;f=Ub[v[v[a>>2]+16>>2]](a)|0;a:{b:{c:{d:{switch(c|0){case 2:if(b){b=-1;if(d){break c}a=vc(e+32|0,286808,241835,366,339476,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}while(1){if(Ub[v[v[a>>2]+8>>2]](a,e+32|0,1024)|0){continue}break};b=0;break c;default:a=vc(e+32|0,271882,241835,375,339476,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a;case 1:c=f;break;case 0:break d}}c=b+c|0;if((c|0)>=(f|0)){b=0;if((c|0)<=(f|0)){break c}while(1){d=Ub[v[v[a>>2]+8>>2]](a,e+32|0,(c|0)<(f+1024|0)?c-f|0:1024)|0;if(!d){a=vc(e+8|0,v[282394],241835,393,339476,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}f=d+f|0;if((Ub[v[v[a>>2]+16>>2]](a)|0)!=(f|0)){a=vc(e+8|0,262706,241835,396,339476,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}if((c|0)>(f|0)){continue}break}break c}b=-1;if(d){break c}a=vc(e+32|0,286808,241835,383,339476,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}Qb=e+1056|0;return b|0}L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function d6(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:{d=v[a+584>>2];if(d){e=v[d+52>>2];if(!e){break a}b:{c:{d:{e:{f:{g:{h:{i:{switch(b-292|0){default:j:{switch(b-34908|0){case 3:break e;case 2:break f;case 1:break g;case 0:break h;default:break j}}k:{switch(b-65536|0){case 0:v[d+4>>2]=v[c>>2];return 1;case 4:break k;default:break d}}v[d+76>>2]=v[c>>2];return 1;case 0:if(x[a+88>>1]!=3){break b}v[d+28>>2]=v[c>>2];break b;case 1:if(x[a+88>>1]!=4){break b}v[d+28>>2]=v[c>>2];break b;case 35:u[d+16>>1]=v[c>>2];break b;case 36:break i;case 34:break c;case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:break d}}v[d+20>>2]=v[c>>2];break b}v[d+32>>2]=v[c>>2];break b}Ht(d+36|0,v[c>>2]);break b}v[d+40>>2]=v[c>>2];break b}Ht(d+44|0,v[c>>2]);break b}return Ub[e|0](a,b,c)|0}v[d+24>>2]=v[c>>2]}b=tf(a,b);if(!b){return 0}b=x[b+12>>1];c=(b>>>3&8188)+a|0;v[c+40>>2]=v[c+40>>2]|1<>2]=v[a+12>>2]|8;return 1}X(40584,7814,1164,86090);L()}X(41466,7814,1165,86090);L()}function nna(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=Qb-48|0;Qb=e;Qm(a);v[e+40>>2]=0;v[e+32>>2]=0;v[e+36>>2]=0;v[e+24>>2]=0;v[e+28>>2]=0;v[299999]=0;v[e+16>>2]=0;v[e+20>>2]=0;g=Q(4475,e+16|0,983320)|0;f=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{g:{h:{if((f|0)!=1){v[e+12>>2]=0;v[299999]=0;v[e+8>>2]=0;Q(4336,e+8|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break e}v[299999]=0;da(4859,e+8|0,a|0,c|0,0,e+12|0,e+16|0);b=v[299999];v[299999]=0;if((b|0)==1){break h}b=v[e+8>>2];v[e+8>>2]=0;i:{if(!b){break i}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;f=v[299999];v[299999]=0;if((f|0)==1){break d}if(c){break i}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break d}}if(d){v[d>>2]=v[e+12>>2]}b=v[a>>2];c=v[v[b>>2]+16>>2];v[299999]=0;c=S(c|0,b|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break c}if(c){break g}v[299999]=0;Q(4336,a|0,0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break f}break c}b=P()|0;O()|0;break a}b=P()|0;O()|0;ec(e+8|0);break b}c=v[v[b>>2]+20>>2];v[299999]=0;Z(c|0,b|0,0,0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break c}}id(g);Qb=e+48|0;return}b=P()|0;O()|0;break b}W(0)|0;O()|0;lc();L()}b=P()|0;O()|0}id(g)}ec(a);T(b|0);L()}function nD(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;e=Qb-80|0;Qb=e;a:{b:{c:{d:{if(x[a+12>>1]>=(b|0)){break d}e:{if(v[a+20>>2]){v[299999]=0;c=Y(5060,e+8|0,a|0,b|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break e}u[a+14>>1]=x[c+14>>1];v[299999]=0;f=c+28|0;gx(f,a+28|0);d=v[299999];v[299999]=0;if((d|0)==1){break c}v[a+20>>2]=v[a+24>>2];v[c>>2]=985012;v[c+20>>2]=0;d=v[c+68>>2];v[c+68>>2]=0;f:{if(!d){break f}v[299999]=0;g=v[d+4>>2]-1|0;v[d+4>>2]=g;h=v[299999];v[299999]=0;if((h|0)==1){break b}if(g){break f}v[299999]=0;R(4338,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break b}}Lc(c+52|0);Lc(c+40|0);Lc(f);Qc(c)}u[a+12>>1]=b;c=x[a+10>>1];v[299999]=0;V(5062,e+8|0,c+(b<<1&131070)|0);b=v[299999];v[299999]=0;g:{if((b|0)!=1){v[299999]=0;Q(4344,a+68|0,e+8|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break g}a=v[e+8>>2];v[e+8>>2]=0;if(!a){break d}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break d}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break d}}break b}break a}a=P()|0;O()|0;ec(e+8|0);T(a|0);L()}break a}Qb=e+80|0;return}a=P()|0;O()|0;OO(c);T(a|0);L()}W(0)|0;O()|0;lc();L()}a=P()|0;O()|0;T(a|0);L()}function uN(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{c:{c=v[a+4>>2];d:{if(c>>>0>2]){v[a+4>>2]=c+1;c=w[c|0];break d}c=Re(a)}switch(c-43|0){case 0:case 2:break b;default:break c}}e=c-48|0;break a}f=(c|0)==45;b=!b;c=v[a+4>>2];e:{if(c>>>0>2]){v[a+4>>2]=c+1;c=w[c|0];break e}c=Re(a)}e=c-48|0;if(!(b|e>>>0<10|!v[a+104>>2])){v[a+4>>2]=v[a+4>>2]-1}}f:{if(e>>>0<10){while(1){d=B(d,10)+c|0;d=d-48|0;g=(d|0)<214748364;b=v[a+4>>2];g:{if(b>>>0>2]){v[a+4>>2]=b+1;c=w[b|0];break g}c=Re(a)}e=c-48|0;if(g&e>>>0<=9){continue}break}b=d;d=d>>31;h:{if(e>>>0>=10){break h}while(1){d=Bib(b,d,10,0);b=d+c|0;c=Tb;c=b>>>0>>0?c+1|0:c;d=b;b=d-48|0;d=c-(d>>>0<48)|0;c=v[a+4>>2];i:{if(c>>>0>2]){v[a+4>>2]=c+1;c=w[c|0];break i}c=Re(a)}e=c-48|0;if(e>>>0>9){break h}if(b>>>0<2061584302&(d|0)<=21474836|(d|0)<21474836){continue}break}}if(e>>>0<10){while(1){c=v[a+4>>2];j:{if(c>>>0>2]){v[a+4>>2]=c+1;c=w[c|0];break j}c=Re(a)}if(c-48>>>0<10){continue}break}}if(v[a+104>>2]){v[a+4>>2]=v[a+4>>2]-1}a=b;b=f?0-a|0:a;d=f?0-(((a|0)!=0)+d|0)|0:d;break f}b=0;d=-2147483648;if(!v[a+104>>2]){break f}v[a+4>>2]=v[a+4>>2]-1;Tb=-2147483648;return 0}Tb=d;return b}function Yz(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=Qb-32|0;Qb=h;i=v[b+12>>2];g=v[b+8>>2];l=i-g>>3;j=l&1;if(!(w[e|0]|(w[a+8|0]|!j))){a:{if((g|0)==(i|0)){m=v[b+4>>2];if(!m|v[m>>2]){break a}v[m>>2]=130;break a}b:{switch(v[g+4>>2]-1|0){case 1:k=v[g>>2]<<16;break a;case 0:k=v[g>>2];k=((k>>31)+k|0)- -8192>>14;break a;default:break b}}k=v[g>>2]}v[d>>2]=(v[v[v[a+176>>2]+536>>2]+544>>2]<<16)+k}if(!w[v[a+176>>2]+548|0]){c:{if(l>>>0<2){break c}while(1){i=i-g>>3;d:{if(i>>>0<=j>>>0){a=0;d=v[b+4>>2];if(!d|v[d>>2]){break d}v[d>>2]=130;break d}e:{f:{g:{a=(j<<3)+g|0;switch(v[a+4>>2]-1|0){case 0:break f;case 1:break g;default:break e}}a=v[a>>2]<<16;break d}a=v[a>>2];a=((a>>31)+a|0)- -8192>>14;break d}a=v[a>>2]}d=a+f|0;v[h+12>>2]=d;a=j+1|0;h:{if(a>>>0>=i>>>0){g=0;a=v[b+4>>2];if(!a|v[a>>2]){break h}v[a>>2]=130;break h}i:{j:{k:{a=(a<<3)+g|0;switch(v[a+4>>2]-1|0){case 0:break j;case 1:break k;default:break i}}g=v[a>>2]<<16;break h}a=v[a>>2];g=((a>>31)+a|0)- -8192>>14;break h}g=v[a>>2]}v[h+20>>2]=0;v[h+24>>2]=0;t[h+8|0]=0;f=d+g|0;v[h+16>>2]=f;VZ(c,h+8|0);g=v[b+8>>2];j=j+2|0;if(l>>>0<=j>>>0){break c}i=v[b+12>>2];continue}}v[b+12>>2]=g}t[e|0]=1;Qb=h+32|0}function TD(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=v[a+28>>2];f=a+32|0;if((b|0)!=(f|0)){while(1){d=b;e=v[b+20>>2];if(e){b=v[e>>2];if(b){Ub[v[v[b>>2]+4>>2]](b);v[e>>2]=0}if(t[e+27|0]<=-1){dc(v[e+16>>2])}b=v[e+4>>2];if(b){c=v[e+8>>2];if((b|0)==(c|0)){c=b}else{while(1){if(t[c-5|0]<=-1){dc(v[c-16>>2])}c=c-48|0;if((b|0)!=(c|0)){continue}break}c=v[e+4>>2]}v[e+8>>2]=b;dc(c)}dc(e)}c=v[d+4>>2];a:{if(!c){b=v[d+8>>2];if((d|0)==v[b>>2]){break a}c=d+8|0;while(1){d=v[c>>2];c=d+8|0;b=v[d+8>>2];if((d|0)!=v[b>>2]){continue}break}break a}while(1){b=c;c=v[b>>2];if(c){continue}break}}if((b|0)!=(f|0)){continue}break}}Ep(a+28|0,v[a+32>>2]);v[a+28>>2]=f;v[a+32>>2]=0;v[a+36>>2]=0;b=a+48|0;Fp(a+44|0,v[b>>2]);v[a+44>>2]=b;v[a+48>>2]=0;v[a+52>>2]=0;b=v[a+60>>2];e=a- -64|0;if((b|0)!=(e|0)){while(1){d=b;b=v[b+28>>2];if(b){dc(SD(b))}c=v[d+4>>2];b:{if(!c){b=v[d+8>>2];if((d|0)==v[b>>2]){break b}c=d+8|0;while(1){d=v[c>>2];c=d+8|0;b=v[d+8>>2];if((d|0)!=v[b>>2]){continue}break}break b}while(1){b=c;c=v[b>>2];if(c){continue}break}}if((b|0)!=(e|0)){continue}break}}Vt(a+60|0,v[a+64>>2]);v[a+60>>2]=e;v[a+64>>2]=0;v[a+68>>2]=0;b=v[a+24>>2];if(b){Ub[v[v[b>>2]+4>>2]](b);v[a+24>>2]=0}}function HW(a){var b=0,c=0,d=0,e=0,f=0;f=Qb-16|0;Qb=f;c=a;b=Qb-32800|0;Qb=b;a=b+32|0;ic(a,0,32768);a=db(274176,a|0,32768)|0;if(a>>>0>=4294963201){v[299402]=0-a;a=-1}a:{b:{c:{if((a|0)<=0){v[c>>2]=0;t[c+11|0]=0;break c}a=Bc(b+32|0);if(a>>>0>=4294967280){break b}d:{e:{if(a>>>0>=11){d=a+16&-16;e=fc(d);v[b+24>>2]=d|-2147483648;v[b+16>>2]=e;v[b+20>>2]=a;break e}t[b+27|0]=a;e=b+16|0;if(!a){break d}}gc(e,b+32|0,a)}t[a+e|0]=0;v[b+8>>2]=0;v[299999]=0;v[b>>2]=0;v[b+4>>2]=0;e=v[b+16>>2];a=t[b+27|0];d=(a|0)<0;U(2715,(d?e:b+16|0)|0,(d?v[b+20>>2]:a&255)|0,b|0);d=v[299999];v[299999]=0;if((d|0)==1){c=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}if((a|0)<=-1){dc(e)}T(c|0);L()}d=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=d;v[c+8>>2]=v[b+8>>2];if((a|0)>-1){break c}dc(e)}Qb=b+32800|0;break a}$d(b+16|0);L()}a=An(c,47);f:{b=An(c,92);g:{h:{if((b|0)!=-1){if((a|0)==-1){a=b;break h}a=a>>>0>>0?b:a;break h}if((a|0)==-1){break g}}v[299999]=0;ca(2654,f|0,c|0,0,a|0,c|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break f}if(t[c+11|0]<=-1){dc(v[c>>2])}a=v[f+4>>2];v[c>>2]=v[f>>2];v[c+4>>2]=a;v[c+8>>2]=v[f+8>>2]}Qb=f+16|0;return}a=P()|0;O()|0;if(t[c+11|0]<=-1){dc(v[c>>2])}T(a|0);L()}function eU(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{f=0;c:{if(!b){break c}f=0;if((c|0)<4){break c}f=cq(b,c)}h=f;g=TF(f);if(g){e=PF();if(!e){Qd(0,347685);cm(g);return 0}v[e+364>>2]=1;f=Ub[v[259704]](B(v[e+192>>2],12))|0;v[e+344>>2]=f;if(!f){break a}if(a){f=v[e>>2];if((f|0)!=1039236){Ub[v[259708]](f)}f=Ub[v[259704]](128)|0;v[e>>2]=f;if(!f){break a}ic(f,0,128);f=v[e>>2];d:{if(v[a+108>>2]==-554844497){gc(f,a,128);break d}gc(f,a,112)}}e:{if(!d){v[e+180>>2]=0;a=Uy(e);if(!a){break b}v[a+4>>2]=0;break e}i=e,j=Sy(d),v[i+180>>2]=j;a=Uy(e);if(!a){break b}d=Ou(d);v[a+4>>2]=d;if(!d){break b}}v[a>>2]=g;xV(v[g+16>>2],a);f:{g:{g=v[e+40>>2];d=v[e+44>>2];h:{if((g|0)<(d|0)){d=v[e+48>>2];break h}v[e+44>>2]=d<<1;d=Ub[v[259709]](v[e+48>>2],d<<3)|0;v[e+48>>2]=d;if(!d){break g}g=v[e+40>>2]}v[(g<<2)+d>>2]=a;v[e+40>>2]=g+1;v[e+36>>2]=a;break f}Qd(e,0);Sh(a);v[e+44>>2]=v[e+44>>2]/2}i:{if(!(b?c:0)){v[e+256>>2]=0;break i}a=v[e+36>>2];if(!a){break i}d=v[a>>2];if(!d){break i}d=Uu(v[d+16>>2],a);a=v[e+36>>2];g=v[a+12>>2];f=v[a+16>>2];Ty(v[a>>2],c,b);a=v[e+36>>2];Tu(v[v[a>>2]+16>>2],a,d,f-g|0)}if(h){aq(e,h)}}return e}Wi(e);cm(g);return 0}Qd(e,0);cm(g);Wi(e);return 0}function LX(a,b){a=a|0;b=b|0;var c=0,d=0;d=Qb-48|0;Qb=d;c=v[a+24>>2];if(!(w[a+28|0]|!c)){dc(c)}v[a+12>>2]=0;v[a+16>>2]=0;v[a+8>>2]=8;v[a+20>>2]=0;v[a+24>>2]=0;t[a+28|0]=0;c=d;v[c>>2]=0;v[c+4>>2]=0;t[c+40|0]=0;v[c+32>>2]=0;v[c+36>>2]=-1074790400;t[c+21|0]=0;t[c+22|0]=0;t[c+23|0]=0;t[c+24|0]=0;t[c+25|0]=0;t[c+26|0]=0;t[c+27|0]=0;t[c+28|0]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[299999]=0;b=Y(2514,c|0,b|0,0)|0;c=v[299999];v[299999]=0;a:{if((c|0)==1){break a}if(b){v[299999]=0;b=v[d+16>>2];c=v[299999];v[299999]=0;if((c|0)==1){break a}v[a+24>>2]=b;v[299999]=0;b=v[d+4>>2];c=v[299999];v[299999]=0;if((c|0)==1){break a}v[a+12>>2]=b;v[299999]=0;b=v[d+8>>2];c=v[299999];v[299999]=0;if((c|0)==1){break a}v[a+16>>2]=b;v[299999]=0;b=v[d+12>>2];c=v[299999];v[299999]=0;if((c|0)==1){break a}v[a+8>>2]=0;v[a+20>>2]=b}v[299999]=0;a=d;v[a>>2]=0;v[a+4>>2]=0;t[a+40|0]=0;v[a+32>>2]=0;v[a+36>>2]=-1074790400;t[a+21|0]=0;t[a+22|0]=0;t[a+23|0]=0;t[a+24|0]=0;t[a+25|0]=0;t[a+26|0]=0;t[a+27|0]=0;t[a+28|0]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;a=v[299999];v[299999]=0;if((a|0)==1){break a}Ze(d);Qb=d+48|0;return}a=P()|0;O()|0;Ze(d);T(a|0);L()}function $3(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;a:{d=v[v[a+584>>2]+4>>2];a=(c|0)/4|0;if((d|0)>=(a|0)){break a}Kn(b,a);g=a-d|0;if((d|0)<5){a=d<<2;while(1){b:{switch(d|0){default:c=a+b|0;v[c>>2]=v[c>>2]+v[b>>2];b=b+4|0;case 3:c=a+b|0;v[c>>2]=v[c>>2]+v[b>>2];b=b+4|0;case 2:c=a+b|0;v[c>>2]=v[c>>2]+v[b>>2];b=b+4|0;case 1:c=a+b|0;v[c>>2]=v[c>>2]+v[b>>2];b=b+4|0;break;case 0:break b}}g=g-d|0;if((g|0)>0){continue}break}break a}h=d-4|0;c=d&3;i=d-5>>>0>2;while(1){c:{d:{e:{f:{g:{h:{switch(d|0){case 0:break c;case 1:break d;case 2:break e;case 3:break f;case 4:break g;default:break h}}a=h;e=c;if(c){while(1){f=(d<<2)+b|0;v[f>>2]=v[f>>2]+v[b>>2];a=a-1|0;b=b+4|0;e=e-1|0;if(e){continue}break}}if(!i){break g}while(1){e=d<<2;f=e+b|0;v[f>>2]=v[f>>2]+v[b>>2];f=e+(b+4|0)|0;v[f>>2]=v[f>>2]+v[b+4>>2];f=e+(b+8|0)|0;v[f>>2]=v[f>>2]+v[b+8>>2];e=e+(b+12|0)|0;v[e>>2]=v[e>>2]+v[b+12>>2];b=b+16|0;e=(a|0)>4;a=a-4|0;if(e){continue}break}}a=(d<<2)+b|0;v[a>>2]=v[a>>2]+v[b>>2];b=b+4|0}a=(d<<2)+b|0;v[a>>2]=v[a>>2]+v[b>>2];b=b+4|0}a=(d<<2)+b|0;v[a>>2]=v[a>>2]+v[b>>2];b=b+4|0}a=(d<<2)+b|0;v[a>>2]=v[a>>2]+v[b>>2];b=b+4|0}g=g-d|0;if((g|0)>0){continue}break}}}function Fca(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=Qb-32|0;Qb=d;v[d+28>>2]=0;a:{b:{c:{if(w[YM(d+24|0,a,0)|0]){c=v[v[a>>2]-12>>2];v[299999]=0;c=v[(a+c|0)+28>>2];v[d+16>>2]=c;v[c+4>>2]=v[c+4>>2]+1;c=v[299999];v[299999]=0;d:{e:{f:{g:{h:{if((c|0)!=1){v[299999]=0;c=S(5471,d+16|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break h}v[d+8>>2]=v[(v[v[a>>2]-12>>2]+a|0)+24>>2];v[d>>2]=0;e=v[v[a>>2]-12>>2];f=v[d>>2];g=v[d+8>>2];v[299999]=0;aa(5472,c|0,g|0,f|0,a+e|0,d+28|0,d+20|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break h}c=v[d+16>>2];e=v[c+4>>2]-1|0;v[c+4>>2]=e;if((e|0)==-1){Ub[v[v[c>>2]+8>>2]](c)}break f}b=W(0)|0;O()|0;break g}b=W(0)|0;O()|0;c=v[d+16>>2];e=v[c+4>>2]-1|0;v[c+4>>2]=e;if((e|0)==-1){Ub[v[v[c>>2]+8>>2]](c)}}ea(b|0)|0;c=v[d+28>>2]|1;v[d+28>>2]=c;b=v[v[a>>2]-12>>2]+a|0;v[b+16>>2]=!v[b+24>>2]|(c|v[b+16>>2]);if(!(v[(v[v[a>>2]-12>>2]+a|0)+20>>2]&1)){break e}v[299999]=0;ba(4229);a=v[299999];v[299999]=0;if((a|0)!=1){break b}a=P()|0;O()|0;v[299999]=0;ba(4230);b=v[299999];v[299999]=0;if((b|0)==1){break c}T(a|0);L()}c=v[d+20>>2];v[b>>2]=c;break d}ka()}np(v[v[a>>2]-12>>2]+a|0,v[d+28>>2])}Qb=d+32|0;break a}W(0)|0;O()|0;lc()}L()}return a|0}function yqa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a:{b:{if((c|0)<1){break b}c=c-1|0;if(!d){while(1){c:{d=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=d;d=v[b+12>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=d;kj(a+16|0,b+16|0);v[299999]=0;Q(4387,a+52|0,b+52|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break c}b=b+68|0;a=a+68|0;d=(c|0)>0;c=c-1|0;if(d){continue}break b}break}break a}while(1){d=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=d;d=v[b+12>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=d;kj(a+16|0,b+16|0);v[299999]=0;d=b+52|0;Q(4387,a+52|0,d|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break a}Ic(d);v[b+40>>2]=981312;v[b+16>>2]=981280;d=v[b+44>>2];if(d){e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(!e){Ub[v[v[d>>2]+4>>2]](d)}v[b+44>>2]=0}v[b+32>>2]=981312;d=v[b+36>>2];if(d){e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(!e){Ub[v[v[d>>2]+4>>2]](d)}v[b+36>>2]=0}ec(b+24|0);b=b+68|0;a=a+68|0;d=(c|0)>0;c=c-1|0;if(d){continue}break}}return}c=P()|0;O()|0;v[a+16>>2]=981280;v[a+40>>2]=981312;b=v[a+44>>2];if(b){d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(!d){Ub[v[v[b>>2]+4>>2]](b)}v[a+44>>2]=0}v[a+32>>2]=981312;b=v[a+36>>2];if(b){d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(!d){Ub[v[v[b>>2]+4>>2]](b)}v[a+36>>2]=0}ec(a+24|0);T(c|0);L()}function Uab(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;if(e){q=e-1|0;r=e-2|0;p=(e|0)==1;while(1){a=f;t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];t[g+3|0]=w[a+3|0];f=a+4|0;g=g+4|0;a:{if(!p&l>>>0>=q>>>0){break a}k=l?(l|0)==(r|0)?d:b:c;h=!l&p;if(!h){i=1;if(k>>>0<=1){break a}n=h?0:f;o=k<<1;while(1){m=g;j=w[n|0];h=w[a|0];if((j|0)!=(h|0)){h=h+(((B(j-h|0,i)<<1)+k|0)/(o|0)|0)|0}t[m|0]=h;j=w[n+1|0];h=w[a+1|0];if((j|0)!=(h|0)){h=h+(((B(j-h|0,i)<<1)+k|0)/(o|0)|0)|0}t[m+1|0]=h;j=w[n+2|0];h=w[a+2|0];if((j|0)!=(h|0)){h=h+(((B(j-h|0,i)<<1)+k|0)/(o|0)|0)|0}t[m+2|0]=h;j=w[n+3|0];h=w[a+3|0];if((j|0)!=(h|0)){h=h+(((B(j-h|0,i)<<1)+k|0)/(o|0)|0)|0}t[m+3|0]=h;g=g+4|0;i=i+1|0;if((i|0)!=(k|0)){continue}break}break a}if(k>>>0<2){break a}h=k-1|0;m=h&1;if((k|0)!=2){i=h&-2;while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];t[g+3|0]=w[a+3|0];t[g+4|0]=w[a|0];t[g+5|0]=w[a+1|0];t[g+6|0]=w[a+2|0];t[g+7|0]=w[a+3|0];g=g+8|0;i=i-2|0;if(i){continue}break}}if(!m){break a}t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];t[g+3|0]=w[a+3|0];g=g+4|0}l=l+1|0;if((l|0)!=(e|0)){continue}break}}return 0}function Ih(a,b){var c=0,d=0;c=-1;a:{d=v[a+8>>2];b:{if(d&7){break b}c=v[a+64>>2];if(!((c|0)<0|(c|0)>v[a+60>>2])){break a}v[a+4>>2]=v[a+4>>2]|32;c=-1;d=v[a+28>>2];v[a+28>>2]=d-1;c:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;t[c|0]=b>>>24;break c}if((Fc(a,b>>>24|0)|0)==-1){break b}}c=-1;d=v[a+8>>2];if(d&7){break b}c=v[a+64>>2];if(!((c|0)<0|(c|0)>v[a+60>>2])){break a}v[a+4>>2]=v[a+4>>2]|32;c=-1;d=v[a+28>>2];v[a+28>>2]=d-1;d:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;t[c|0]=b>>>16;break d}if((Fc(a,b>>>16&255)|0)==-1){break b}}c=-1;d=v[a+8>>2];if(d&7){break b}c=v[a+64>>2];if(!((c|0)<0|(c|0)>v[a+60>>2])){break a}v[a+4>>2]=v[a+4>>2]|32;c=-1;d=v[a+28>>2];v[a+28>>2]=d-1;e:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;t[c|0]=b>>>8;break e}if((Fc(a,b>>>8&255)|0)==-1){break b}}c=v[a+8>>2];f:{if(c&7){break f}d=v[a+64>>2];if(!((d|0)<0|(d|0)>v[a+60>>2])){v[a+8>>2]=c|4;break f}v[a+4>>2]=v[a+4>>2]|32;c=v[a+28>>2];v[a+28>>2]=c-1;if((c|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=a;a=v[a+24>>2];v[c+24>>2]=a+1;t[a|0]=b;return 0}c=0;if((Fc(a,b&255)|0)!=-1){break b}}c=-1}return c}v[a+8>>2]=d|4;return-1}function Bfa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=Qb-3344|0;Qb=e;v[a+72>>2]=0;v[a+76>>2]=0;qx(a+80|0);v[a+16>>2]=0;Wc(a+20|0,0);qx(a+24|0);f=e+8|0;hO(f);v[e+3328>>2]=0;v[e+3320>>2]=0;v[e+3324>>2]=0;v[e+8>>2]=996016;v[299999]=0;V(5299,f|0,b|0);b=v[299999];v[299999]=0;a:{b:{c:{if((b|0)==1){break c}v[e+3328>>2]=d;v[e+3324>>2]=c;v[299999]=0;v[e+3336>>2]=0;Q(4336,e+3336|0,a|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break c}v[299999]=0;V(5303,e+8|0,e+3336|0);a=v[299999];v[299999]=0;d:{if((a|0)!=1){a=v[e+3336>>2];v[e+3336>>2]=0;if(!a){break d}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break d}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break d}}break a}a=P()|0;O()|0;ec(e+3336|0);break b}v[e+8>>2]=996016;a=v[e+3320>>2];v[e+3320>>2]=0;e:{if(!a){break e}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break e}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}v[e+8>>2]=996084;fd(e+128|0);fd(e+104|0);fd(e+80|0);Lc(e+48|0);Lc(e+36|0);Lc(e+24|0);Qb=e+3344|0;return}a=P()|0;O()|0}eD(e+8|0);T(a|0);L()}W(0)|0;O()|0;lc();L()}function $x(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=Qb-48|0;Qb=d;v[d+32>>2]=13;v[d+16>>2]=13;v[d>>2]=13;a:{if((c|0)>=51){e=1;kc(1,-1,247657,0);break a}b:{c:{if(v[b>>2]!=9){break c}e=v[a+4>>2];h=v[e+8>>2];if((h|0)<1){break c}f=v[b+8>>2];i=v[b+12>>2];j=v[e>>2];e=0;while(1){g=v[(e<<2)+j>>2];if(v[g>>2]==(f|0)&v[g+4>>2]==(i|0)){break b}e=e+1|0;if((h|0)!=(e|0)){continue}break}}qf(b,v[a>>2],d+32|0,0);d:{if(v[d+32>>2]==6){b=v[d+40>>2];if(v[b+12>>2]>0){break d}}e=1;kc(1,-1,247713,0);hc(d+32|0);break a}yc(b,0,d+16|0,0);e:{f:{if(v[d+16>>2]!=4){break f}b=v[d+24>>2];if(!mc(b,227814)){b=v[d+40>>2];if(v[b+12>>2]==2){hg(b,1,d);e=!$x(a,d,c+1|0);hc(d);break e}e=1;kc(1,-1,247713,0);break e}if(!mc(b,288284)){b=1;f=v[d+40>>2];if(v[f+12>>2]<2){e=1;break e}c=c+1|0;while(1){hg(f,b,d);e=$x(a,d,c);hc(d);b=b+1|0;f=v[d+40>>2];if((b|0)>=v[f+12>>2]){break e}if(e){continue}break}break e}if(mc(b,240510)){break f}e=0;f=v[d+40>>2];if(v[f+12>>2]<2){break e}b=1;c=c+1|0;while(1){hg(f,b,d);e=$x(a,d,c);hc(d);b=b+1|0;f=v[d+40>>2];if((b|0)>=v[f+12>>2]){break e}if(!e){continue}break}break e}e=1;kc(1,-1,247713,0)}hc(d+16|0);hc(d+32|0);break a}e=v[g+20>>2]}Qb=d+48|0;return e}function BJa(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;e=Qb-80|0;Qb=e;a:{if(!a){break a}d=v[a+36>>2];if(!d){break a}b:{l=v[d+4>>2];c:{if(l){f=v[d+28>>2];i=v[294239];g=v[259806];j=d;break c}h=v[a+40>>2];if((h|0)<=1){f=v[d+28>>2];h=0;i=v[294239];g=v[259806];j=d;break b}j=v[(v[a+48>>2]+(h<<2)|0)-8>>2];if(!j){h=d;j=0;break a}f=v[j+28>>2];i=v[294239];g=v[259806];h=d;l=v[j+4>>2];if(!l){break b}}v[e+68>>2]=f;v[e+64>>2]=l;Ub[g|0](i,346657,e- -64|0);break a}v[e+48>>2]=f;Ub[g|0](i,346665,e+48|0)}Ub[v[259806]](v[294239],346610,0);g=150;f=Ub[v[259704]](150)|0;d:{if(!f){break d}i=-1;while(1){k=f;if((g|0)>63999){break d}v[e+76>>2]=c;d=Jl(k,g,b,c);if(!((d|0)<0|(d|0)>=(g|0))){f=(d|0)==(i|0);i=d;if(f){break d}}g=((d|0)>-1?d+1|0:100)+g|0;f=Ub[v[259709]](k,g)|0;if(f){continue}break}}v[e+32>>2]=k;Ub[v[259806]](v[294239],237306,e+32|0);if(k){Ub[v[259708]](k)}e:{if(!a){break e}ro(j,v[259806],v[294239]);if(!h){break e}d=v[h+28>>2];c=v[294239];b=v[259806];a=v[h+4>>2];f:{if(a){v[e+20>>2]=d;v[e+16>>2]=a;Ub[b|0](c,346657,e+16|0);break f}v[e>>2]=d;Ub[b|0](c,346665,e)}Ub[v[259806]](v[294239],357671,0);ro(h,v[259806],v[294239])}Qb=e+80|0}function AJa(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;e=Qb-80|0;Qb=e;a:{if(!a){break a}d=v[a+36>>2];if(!d){break a}b:{l=v[d+4>>2];c:{if(l){f=v[d+28>>2];i=v[294239];g=v[259806];j=d;break c}h=v[a+40>>2];if((h|0)<=1){f=v[d+28>>2];h=0;i=v[294239];g=v[259806];j=d;break b}j=v[(v[a+48>>2]+(h<<2)|0)-8>>2];if(!j){h=d;j=0;break a}f=v[j+28>>2];i=v[294239];g=v[259806];h=d;l=v[j+4>>2];if(!l){break b}}v[e+68>>2]=f;v[e+64>>2]=l;Ub[g|0](i,346657,e- -64|0);break a}v[e+48>>2]=f;Ub[g|0](i,346665,e+48|0)}Ub[v[259806]](v[294239],346647,0);g=150;f=Ub[v[259704]](150)|0;d:{if(!f){break d}i=-1;while(1){k=f;if((g|0)>63999){break d}v[e+76>>2]=c;d=Jl(k,g,b,c);if(!((d|0)<0|(d|0)>=(g|0))){f=(d|0)==(i|0);i=d;if(f){break d}}g=((d|0)>-1?d+1|0:100)+g|0;f=Ub[v[259709]](k,g)|0;if(f){continue}break}}v[e+32>>2]=k;Ub[v[259806]](v[294239],237306,e+32|0);if(k){Ub[v[259708]](k)}e:{if(!a){break e}ro(j,v[259806],v[294239]);if(!h){break e}d=v[h+28>>2];c=v[294239];b=v[259806];a=v[h+4>>2];f:{if(a){v[e+20>>2]=d;v[e+16>>2]=a;Ub[b|0](c,346657,e+16|0);break f}v[e>>2]=d;Ub[b|0](c,346665,e)}Ub[v[259806]](v[294239],357671,0);ro(h,v[259806],v[294239])}Qb=e+80|0}function rl(a,b){var c=0,d=0,e=0;c=v[a+24812>>2];if((c|0)==(a+232|0)){v[293248]=c;c=Hh(a,196864,0);v[293267]=c;v[293249]=v[a+24812>>2];c=Hh(a,c,0);v[293267]=c;v[293250]=v[a+24812>>2];c=Hh(a,c,0);v[293267]=c;v[293251]=v[a+24812>>2];c=Hh(a,c,0);v[293267]=c;v[293252]=v[a+24812>>2];c=Hh(a,c,0);v[293267]=c;v[293253]=v[a+24812>>2];c=Hh(a,c,0);v[293267]=c;v[293254]=v[a+24812>>2];c=Hh(a,c,0);v[293267]=c;v[293255]=v[a+24812>>2];c=Hh(a,c,0);v[293267]=c;v[293256]=v[a+24812>>2];c=Hh(a,c,0);v[293267]=c;v[293257]=v[a+24812>>2];c=Hh(a,c,0);v[293267]=c;v[293258]=v[a+24812>>2];c=Hh(a,c,0);v[293267]=c;v[293259]=v[a+24812>>2];c=Hh(a,c,0);v[293267]=c;v[293260]=v[a+24812>>2];c=Hh(a,c,0);v[293267]=c;v[293261]=v[a+24812>>2];c=Hh(a,c,0);v[293267]=c;v[293262]=v[a+24812>>2];c=Hh(a,c,0);v[293267]=c;v[293263]=v[a+24812>>2];c=Hh(a,c,0);v[293267]=c;v[293264]=v[a+24812>>2];c=Hh(a,c,0);v[293267]=c;v[293265]=v[a+24812>>2];d=1173068,e=Hh(a,c,0),v[d>>2]=e}if((b|0)==18){if(v[a+26024>>2]==243){return YI(a,6)<<2|2}return YI(a,5)<<3|4}b=v[(b<<2)+1172992>>2];v[293266]=b;if(v[b>>2]){while(1){b=v[(YI(a,1)<<2)+b>>2];v[293266]=b;if(v[b>>2]){continue}break}}return v[b+8>>2]}function Bu(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;g=Qb-32|0;Qb=g;a:{if(!d|(!b|!c)){break a}b:{f=v[b+64>>2];if(f){break b}f=oo(0,v[b+80>>2]);v[b+64>>2]=f;if(f){break b}c:{if(!a){b=0;d=0;break c}b=v[a>>2];d=v[a+4>>2];if((v[a+28>>2]&-2)!=-1412623820){break c}e=(b^-1)+a>>>0<249?b:0}v[g>>2]=356992;oc(0,d,b,e,0,23,2,3,356992,0,0,0,350051,g);break a}e=Ub[v[259704]](24)|0;if(!e){d:{if(!a){b=0;e=0;break d}b=v[a>>2];e=v[a+4>>2];if((v[a+28>>2]&-2)!=-1412623820){break d}h=(b^-1)+a>>>0<249?b:0}v[g+16>>2]=291415;oc(0,e,b,h,0,23,2,3,291415,0,0,0,350051,g+16|0);break a}h=we(c);v[e+20>>2]=b;v[e+4>>2]=h;e:{if(!(!a|!v[a+44>>2])){a=v[d+8>>2];b=v[b+80>>2];f:{if(b){a=Rd(b,a,-1);break f}a=we(a)}v[e+8>>2]=0;v[e+12>>2]=a;break e}v[e+12>>2]=0;v[e+8>>2]=d}i=e,j=oV(v[d+20>>2]),v[i+16>>2]=j;g:{h:{i:{j:{if((SF(f,c,e)|0)<=-1){a=v[e+20>>2];if(a){b=v[a+80>>2];f=v[e+4>>2];if(!f){break i}if(!b){b=0;break j}if(Kj(b,f)){break i}f=v[e+4>>2];break j}b=0;f=v[e+4>>2];if(f){break j}f=v[e+12>>2];if(!f){break g}break h}v[d+40>>2]=2;break a}Ub[v[259708]](f)}f=v[e+12>>2];if(!f){break g}if(!b){break h}if(Kj(b,f)){break g}f=v[e+12>>2]}Ub[v[259708]](f)}Ub[v[259708]](e)}Qb=g+32|0}function H_(a){var 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;a:{if(!a){break a}b=x[a+2>>1];c=b<<16>>16;if((c|0)<1){break a}h=2;if((c|0)==1){break a}i=v[a+4>>2];j=i+(b<<3)|0;f=i+8|0;d=v[i>>2];e=d;b=i;c=v[b+4>>2];g=c;while(1){b=v[b+12>>2];g=(b|0)>(g|0)?b:g;c=(b|0)<(c|0)?b:c;b=v[f>>2];e=(b|0)>(e|0)?b:e;d=(b|0)<(d|0)?b:d;b=f;f=b+8|0;if(j>>>0>f>>>0){continue}break}if((d|0)==(e|0)|(c|0)==(g|0)|((d|0)<-16777216|(c|0)<-16777216)){break a}if((e|0)>16777216|(g|0)>16777216){break a}m=u[a>>1];if((m|0)>=1){f=0;b=e>>31;e=b+e^b;b=d>>31;b=17-E(e|b+d^b)|0;h=(b|0)>0?b:0;b=17-E(g-c|0)|0;j=(b|0)>0?b:0;p=v[a+12>>2];a=0;while(1){e=u[(l<<1)+p>>1];b:{if((e|0)<(a|0)){break b}b=(e<<3)+i|0;c=v[b>>2]>>h;b=v[b+4>>2]>>j;c:{if(!((e-a|0)+1&1)){g=b;b=a;break c}d=c;c=(a<<3)+i|0;g=v[c+4>>2]>>j;c=v[c>>2]>>h;f=B(g-b|0,d+c|0)+f|0;b=a+1|0}if((a|0)==(e|0)){break b}while(1){n=b+1|0;d=(n<<3)+i|0;a=v[d+4>>2]>>j;k=(b<<3)+i|0;o=v[k+4>>2]>>j;d=v[d>>2]>>h;k=v[k>>2]>>h;f=B(a-o|0,d+k|0)+(B(c+k|0,o-g|0)+f|0)|0;b=b+2|0;c=d;g=a;if((e|0)!=(n|0)){continue}break}}a=e+1|0;l=l+1|0;if((m|0)!=(l|0)){continue}break}h=1;if((f|0)>0){break a}h=0;if(f){break a}}h=2}return h}function d4(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;a:{d=v[v[a+584>>2]+4>>2];a=(c|0)/4|0;if((d|0)>=(a|0)){break a}g=a-d|0;if((d|0)<5){a=d<<2;while(1){b:{switch(d|0){default:c=a+b|0;v[c>>2]=v[c>>2]+v[b>>2];b=b+4|0;case 3:c=a+b|0;v[c>>2]=v[c>>2]+v[b>>2];b=b+4|0;case 2:c=a+b|0;v[c>>2]=v[c>>2]+v[b>>2];b=b+4|0;case 1:c=a+b|0;v[c>>2]=v[c>>2]+v[b>>2];b=b+4|0;break;case 0:break b}}g=g-d|0;if((g|0)>0){continue}break}break a}h=d-4|0;c=d&3;i=d-5>>>0>2;while(1){c:{d:{e:{f:{g:{h:{switch(d|0){case 0:break c;case 1:break d;case 2:break e;case 3:break f;case 4:break g;default:break h}}a=h;e=c;if(c){while(1){f=(d<<2)+b|0;v[f>>2]=v[f>>2]+v[b>>2];a=a-1|0;b=b+4|0;e=e-1|0;if(e){continue}break}}if(!i){break g}while(1){e=d<<2;f=e+b|0;v[f>>2]=v[f>>2]+v[b>>2];f=e+(b+4|0)|0;v[f>>2]=v[f>>2]+v[b+4>>2];f=e+(b+8|0)|0;v[f>>2]=v[f>>2]+v[b+8>>2];e=e+(b+12|0)|0;v[e>>2]=v[e>>2]+v[b+12>>2];b=b+16|0;e=(a|0)>4;a=a-4|0;if(e){continue}break}}a=(d<<2)+b|0;v[a>>2]=v[a>>2]+v[b>>2];b=b+4|0}a=(d<<2)+b|0;v[a>>2]=v[a>>2]+v[b>>2];b=b+4|0}a=(d<<2)+b|0;v[a>>2]=v[a>>2]+v[b>>2];b=b+4|0}a=(d<<2)+b|0;v[a>>2]=v[a>>2]+v[b>>2];b=b+4|0}g=g-d|0;if((g|0)>0){continue}break}}}function fha(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;f=Qb-16|0;Qb=f;d=v[a+8>>2];c=(c|0)<0?d:b+c|0;g=(c|0)>(d|0)?d:c;if((g|0)>(b|0)){j=g;while(1){a:{if((b|0)>=(d|0)){b=d;break a}c=v[a+12>>2]+b|0;d=d-b|0;b=g-b|0;b=(b|0)<0?d:b;b:{if((b|0)<1){break b}h=b+c|0;while(1){c:{b=c;if(!w[b|0]){break c}v[f+8>>2]=b;d=Ub[v[v[a>>2]+60>>2]](a,f+8|0)|0;c=v[f+8>>2];if((b|0)==(c|0)){break c}d:{if(d>>>0>255){break d}e=d<<24;e=(e|0)<-16777216?d:e>>24;if((e|0)==32|e-9>>>0<5){break d}switch(d-10|0){case 0:case 3:break d;default:break c}}if(c>>>0>>0){continue}break b}break}c=b}b=c-v[a+12>>2]|0;d=v[a+8>>2];if((b|0)>=(d|0)){break a}c=v[a+12>>2]+b|0;e=d-b|0;d=g-b|0;d=(d|0)<0?e:d;e:{if((d|0)<1){d=c;break e}e=c+d|0;while(1){if(!w[c|0]){d=c;break e}v[f+12>>2]=c;h=Ub[v[v[a>>2]+60>>2]](a,f+12|0)|0;f:{g:{d=v[f+12>>2];if((d|0)==(c|0)|h>>>0>255){break g}i=h<<24;i=(i|0)<-16777216?h:i>>24;if((i|0)==32|i-9>>>0<5){break g}switch(h-10|0){case 0:case 3:break g;default:break f}}d=c;break e}c=d;if(e>>>0>d>>>0){continue}break}}c=d-v[a+12>>2]|0;d=(c|0)==(b|0);b=d?b+1|0:c;j=d?j:c}if((b|0)>=(g|0)){g=j}else{d=v[a+8>>2];continue}break}}Qb=f+16|0;return g|0}function Xl(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=Qb-144|0;Qb=e;v[e+128>>2]=13;g=v[a+12>>2];f=(g|0)<4?g:4;a:{b:{if((g|0)<1){break b}j=(f|0)>1?f:1;while(1){k=(e+96|0)+(i<<3)|0;if(v[yc(a,i,e+128|0,0)>>2]-1>>>0<=1){h=v[e+128>>2]==1?+v[e+136>>2]:A[e+136>>3]}else{h=0}A[k>>3]=h;hc(e+128|0);i=i+1|0;if((j|0)!=(i|0)){continue}break}c:{if((((g|0)>3?0-c|0:c)|0)>=1){if((g|0)<1){break c}A[e+96>>3]=A[e+96>>3]*.5+.5;if((f|0)<2){break c}A[e+104>>3]=A[e+104>>3]*.5+.5;a=(f|0)>1?f:1;if((a|0)==2){break c}A[e+112>>3]=A[e+112>>3]*.5+.5;if((a|0)==3){break c}A[e+120>>3]=A[e+120>>3]*.5+.5;break c}if(!c|(g|0)<1){break c}A[e+96>>3]=A[e+96>>3]*.5;a=(f|0)>1;if(!a){break c}A[e+104>>3]=A[e+104>>3]*.5;a=a?f:1;if((a|0)==2){break c}A[e+112>>3]=A[e+112>>3]*.5;if((a|0)==3){break c}A[e+120>>3]=A[e+120>>3]*.5}if((g|0)<4){break b}A[e+16>>3]=A[e+112>>3];A[e+24>>3]=A[e+120>>3];v[e+32>>2]=b?107:75;A[e>>3]=A[e+96>>3];A[e+8>>3]=A[e+104>>3];Jc(d,346852,e);break a}h=A[e+96>>3];if((f|0)==3){A[e- -64>>3]=A[e+112>>3];v[e+72>>2]=b?271920:320881;A[e+48>>3]=h;A[e+56>>3]=A[e+104>>3];Jc(d,346814,e+48|0);break a}A[e+80>>3]=h;v[e+88>>2]=b?103:71;Jc(d,346891,e+80|0)}Qb=e+144|0}function Lha(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Qb-32|0;Qb=c;v[a>>2]=0;v[a+4>>2]=v[282402];v[299999]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+20>>2]=0;v[c+16>>2]=990400;U(5159,c+8|0,c+16|0,b|0);b=v[299999];v[299999]=0;a:{b:{c:{if((b|0)!=1){v[c+16>>2]=990496;b=v[c+28>>2];if(b){t[b|0]=0;dc(v[c+28>>2])}v[c+28>>2]=0;Qc(c+16|0);b=v[c+8>>2];d:{if(b){d=v[v[b>>2]+24>>2];v[299999]=0;U(d|0,c+16|0,b|0,2);b=v[299999];v[299999]=0;if((b|0)!=1){break d}b=P()|0;O()|0;break c}v[c+16>>2]=0}v[299999]=0;Q(4344,a|0,c+16|0)|0;b=v[299999];v[299999]=0;e:{if((b|0)!=1){b=v[c+16>>2];v[c+16>>2]=0;if(!b){break e}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)!=1){if(d){break e}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break e}}break a}b=P()|0;O()|0;ec(c+16|0);break c}b=v[a>>2];v[a+4>>2]=v[(b?b+12|0:1129608)>>2];b=v[c+8>>2];v[c+8>>2]=0;f:{if(!b){break f}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(d){break f}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}Qb=c+32|0;return a|0}b=P()|0;O()|0;Ag(c+16|0);break b}ec(c+8|0)}ec(a);T(b|0);L()}W(0)|0;O()|0;lc();L()}function A_(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=Qb-16|0;Qb=h;v[h+12>>2]=0;a:{if(!a){d=33;break a}d=6;if(!b|!c){break a}if((b|0)==(c|0)){d=0;break a}f=v[c+8>>2];i=(f|0)>-1?1:-1;d=0;e=v[b+8>>2];j=e>>31|1;if(!v[b+12>>2]){a=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=a;a=v[b+20>>2];v[c+16>>2]=v[b+16>>2];v[c+20>>2]=a;a=v[b+12>>2];v[c+8>>2]=v[b+8>>2];v[c+12>>2]=a;if((i|0)==(j|0)){break a}v[c+8>>2]=0-v[c+8>>2];break a}d=e>>31;e=d+e^d;g=B(e,v[b>>2]);a=v[a>>2];l=c;d=v[c+12>>2];b:{c:{if(d){k=f>>31;f=B(v[c>>2],k^f+k);if((f|0)==(g|0)){break b}d=D_(a,f,g,d,h+12|0);break c}d=QH(a,g,h+12|0)}v[l+12>>2]=d}d:{if(v[h+12>>2]){break d}a=v[b+12>>2];v[c+8>>2]=v[b+8>>2];v[c+12>>2]=a;a=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=a;a=v[b+20>>2];v[c+16>>2]=v[b+16>>2];v[c+20>>2]=a;v[c+12>>2]=d;if((i|0)==(j|0)){gc(d,v[b+12>>2],g);break d}a=v[c>>2];if(!a){break d}c=0-e|0;f=a-1|0;d=B(f,e)+d|0;b=v[b+12>>2];g=a&3;if(g){while(1){a=a-1|0;d=gc(d,b,e)+c|0;b=b+e|0;g=g-1|0;if(g){continue}break}}if(f>>>0<3){break d}while(1){f=b+e|0;i=f+e|0;g=i+e|0;d=gc(gc(gc(gc(d,b,e)+c|0,f,e)+c|0,i,e)+c|0,g,e)+c|0;b=e+g|0;a=a-4|0;if(a){continue}break}}d=v[h+12>>2]}Qb=h+16|0;return d}function $o(a,b){var c=0,d=0,e=0;c=-1;a:{d=v[a+8>>2];b:{if(d&7){break b}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break a}d=b>>>24|0;v[a+4>>2]=v[a+4>>2]|32;c=-1;e=v[a+28>>2];v[a+28>>2]=e-1;c:{if((e|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;t[c|0]=d;break c}if((Fc(a,d)|0)==-1){break b}}c=-1;d=v[a+8>>2];if(d&7){break b}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break a}d=b>>>16|0;v[a+4>>2]=v[a+4>>2]|32;c=-1;e=v[a+28>>2];v[a+28>>2]=e-1;d:{if((e|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;t[c|0]=d;break d}if((Fc(a,d&255)|0)==-1){break b}}c=-1;d=v[a+8>>2];if(d&7){break b}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break a}d=b>>>8|0;v[a+4>>2]=v[a+4>>2]|32;c=-1;e=v[a+28>>2];v[a+28>>2]=e-1;e:{if((e|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;t[c|0]=d;break e}if((Fc(a,d&255)|0)==-1){break b}}c=-1;d=v[a+8>>2];if(d&7){break b}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break a}v[a+4>>2]=v[a+4>>2]|32;c=-1;d=v[a+28>>2];v[a+28>>2]=d-1;f:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=a;a=v[a+24>>2];v[c+24>>2]=a+1;t[a|0]=b;break f}if((Fc(a,b&255)|0)==-1){break b}}c=0}return c}v[a+8>>2]=d|4;return-1}function xoa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;e=tx(a);v[a>>2]=983368;v[299999]=0;f=S(4477,a+8|0)|0;b=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{if((b|0)!=1){v[a+68>>2]=0;v[a+72>>2]=0;v[a+52>>2]=0;v[a+56>>2]=6;v[a+44>>2]=0;v[a+48>>2]=0;v[a+60>>2]=0;v[a+76>>2]=0;v[a+80>>2]=0;v[299999]=0;b=a+68|0;v[b>>2]=983300;v[b+4>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;g=b;b=v[299999];v[299999]=0;if((b|0)==1){break f}v[a+92>>2]=0;u[a+88>>1]=0;v[a+84>>2]=0;v[a+100>>2]=0;v[a+104>>2]=0;v[a+96>>2]=0;v[a+108>>2]=0;v[a+112>>2]=0;d=a+116|0;v[d>>2]=0;b=v[282402];v[a+124>>2]=0;v[a+128>>2]=0;v[a+120>>2]=b;v[a+132>>2]=0;v[a+136>>2]=0;v[a+140>>2]=0;v[299999]=0;b=a+128|0;v[b>>2]=982500;v[b+4>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;c=v[299999];v[299999]=0;if((c|0)==1){break e}v[a+148>>2]=0;v[a+152>>2]=0;v[a+156>>2]=0;v[a+160>>2]=0;v[299999]=0;c=a+148|0;v[c>>2]=982500;v[c+4>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;c=v[299999];v[299999]=0;if((c|0)==1){break d}v[a+168>>2]=0;return a|0}c=P()|0;O()|0;break a}c=P()|0;O()|0;break b}c=P()|0;O()|0;break c}c=P()|0;O()|0;Ic(b)}ec(a+124|0);ec(d);ec(a+112|0);ec(a+108|0);ec(a+104|0);Ic(g)}ec(a+52|0);ec(a+48|0);ec(a+44|0);$c(f)}Om(e);T(c|0);L()}function fk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Qb-32|0;Qb=c;v[a>>2]=0;v[a+4>>2]=v[282402];v[299999]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+20>>2]=0;v[c+16>>2]=990592;U(5159,c+8|0,c+16|0,b|0);b=v[299999];v[299999]=0;a:{b:{c:{if((b|0)!=1){v[c+16>>2]=990496;b=v[c+28>>2];if(b){t[b|0]=0;dc(v[c+28>>2])}v[c+28>>2]=0;Qc(c+16|0);b=v[c+8>>2];d:{if(b){d=v[v[b>>2]+28>>2];v[299999]=0;U(d|0,c+16|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break d}b=P()|0;O()|0;break c}v[c+16>>2]=0}v[299999]=0;Q(4344,a|0,c+16|0)|0;b=v[299999];v[299999]=0;e:{if((b|0)!=1){b=v[c+16>>2];v[c+16>>2]=0;if(!b){break e}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)!=1){if(d){break e}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break e}}break a}b=P()|0;O()|0;ec(c+16|0);break c}b=v[a>>2];v[a+4>>2]=v[(b?b+12|0:1129608)>>2];b=v[c+8>>2];v[c+8>>2]=0;f:{if(!b){break f}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(d){break f}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}Qb=c+32|0;return a|0}b=P()|0;O()|0;Ag(c+16|0);break b}ec(c+8|0)}ec(a);T(b|0);L()}W(0)|0;O()|0;lc();L()}function Y3(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;a:{e=v[v[a+584>>2]+4>>2];a=(c|0)/2|0;if((e|0)>=(a|0)){break a}h=a-e|0;a=((h<<1)+b|0)-2|0;if((e|0)<5){b=e<<1;while(1){b:{switch(e|0){default:c=a+b|0;u[c>>1]=x[c>>1]-x[a>>1];a=a-2|0;case 3:c=a+b|0;u[c>>1]=x[c>>1]-x[a>>1];a=a-2|0;case 2:c=a+b|0;u[c>>1]=x[c>>1]-x[a>>1];a=a-2|0;case 1:c=a+b|0;u[c>>1]=x[c>>1]-x[a>>1];a=a-2|0;break;case 0:break b}}h=h-e|0;if((h|0)>0){continue}break}break a}i=e-4|0;c=e&3;j=e-5>>>0>2;g=e<<1;while(1){c:{d:{e:{f:{g:{h:{switch(e|0){case 0:break c;case 1:break d;case 2:break e;case 3:break f;case 4:break g;default:break h}}b=i;d=c;if(d){while(1){f=a+g|0;u[f>>1]=x[f>>1]-x[a>>1];b=b-1|0;a=a-2|0;d=d-1|0;if(d){continue}break}}if(!j){break g}while(1){d=a+g|0;u[d>>1]=x[d>>1]-x[a>>1];d=a-2|0;f=d+g|0;u[f>>1]=x[f>>1]-x[d>>1];d=a-4|0;f=d+g|0;u[f>>1]=x[f>>1]-x[d>>1];d=a-6|0;f=d+g|0;u[f>>1]=x[f>>1]-x[d>>1];a=a-8|0;d=(b|0)>4;b=b-4|0;if(d){continue}break}}b=a+g|0;u[b>>1]=x[b>>1]-x[a>>1];a=a-2|0}b=a+g|0;u[b>>1]=x[b>>1]-x[a>>1];a=a-2|0}b=a+g|0;u[b>>1]=x[b>>1]-x[a>>1];a=a-2|0}b=a+g|0;u[b>>1]=x[b>>1]-x[a>>1];a=a-2|0}h=h-e|0;if((h|0)>0){continue}break}}}function Vda(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=Qb-32|0;Qb=f;b=v[b>>2];c=b?b+12|0:1129608;e=1;e=b?v[b+8>>2]+1|0:e;b=v[c>>2];i=Bg(f+16|0,f+28|0,e,1);c=v[f+28>>2];a:{b:{c:{d:{e:{f:{g:{while(1){h:{e=w[b|0];i:{if((e|0)!=37){if(e){break i}t[c|0]=0;v[299999]=0;a=Q(4340,a|0,v[f+28>>2])|0;b=v[299999];v[299999]=0;if((b|0)==1){break g}b=v[a>>2];if(b){break h}break a}d=t[b+1|0];g=d-48|0;j:{if((g&255)>>>0<=9){break j}if((d-65&255)>>>0<=5){g=d-55|0;break j}e=37;if((d-97&255)>>>0>5){break i}g=d-87|0}e=37;if((g|0)<0){break i}d=t[b+2|0];h=d-48|0;k:{if((h&255)>>>0<=9){break k}if((d-65&255)>>>0<=5){h=d-55|0;break k}if((d-97&255)>>>0>5){break i}h=d-87|0}if((h|0)<0){break i}b=b+2|0;e=g<<4|h}t[c|0]=e;c=c+1|0;b=b+1|0;continue}break}c=v[v[b>>2]+80>>2];v[299999]=0;b=S(c|0,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break d}if(b){break a}v[299999]=0;b=Q(5420,f+8|0,v[f+28>>2])|0;c=v[299999];v[299999]=0;if((c|0)==1){break f}v[299999]=0;Q(5421,a|0,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break e}ec(b);break a}c=P()|0;O()|0;break b}c=P()|0;O()|0;break c}c=P()|0;O()|0;ec(b);break c}c=P()|0;O()|0}ec(a)}Lc(i);T(c|0);L()}Lc(i);Qb=f+32|0}function gA(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;i=Qb-16|0;Qb=i;h=Qb-16|0;Qb=h;v[h+8>>2]=a;f=v[c+20>>2];e=f+((Ub[v[c+12>>2]](h+8|0)>>>0)%y[c+4>>2]<<2)|0;g=v[e>>2];a:{if(!g){break a}while(1){if(Ub[v[c+16>>2]](g,h+8|0)|0){break a}e=e-4|0;if(f>>>0>e>>>0){e=(f+(v[c+4>>2]<<2)|0)-4|0}g=v[e>>2];if(g){continue}break}}Qb=h+16|0;g=e;b:{c:{d:{e=v[e>>2];e:{if(!e){e=64;f=Ub[v[d+4>>2]](d,8)|0;if(!f){break b}v[g>>2]=f;v[f+4>>2]=b;v[f>>2]=a;f:{if(y[c+8>>2]>2]){break f}j=v[c+4>>2];a=j<<1;v[c+4>>2]=a;v[c>>2]=(a>>>0)/3;e=0;if((a|0)<0){e=6;break c}b=v[c+20>>2];if(a){e=10;if((a|0)>536870911){break c}a=j<<3;e=Ub[v[d+4>>2]](d,a)|0;if(!e){break d}ic(e,0,a)}v[c+20>>2]=e;if(j){f=0;a=b;while(1){g=v[a>>2];if(g){v[i+8>>2]=v[g>>2];h=v[c+20>>2];e=h+((Ub[v[c+12>>2]](i+8|0)>>>0)%y[c+4>>2]<<2)|0;while(1){g:{g=v[e>>2];if(!g){break g}if(Ub[v[c+16>>2]](g,i+8|0)|0){break g}e=e-4|0;if(h>>>0<=e>>>0){continue}e=(h+(v[c+4>>2]<<2)|0)-4|0;continue}break}v[e>>2]=v[a>>2]}a=a+4|0;f=f+1|0;if((j|0)!=(f|0)){continue}break}}if(!b){break f}Ub[v[d+8>>2]](d,b)}v[c+8>>2]=v[c+8>>2]+1;break e}v[e+4>>2]=b}e=0;break b}v[c+20>>2]=0;e=64;break b}v[c+20>>2]=0}Qb=i+16|0;return e}function cV(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{if(!c){break a}b:{if(b){if(v[b+4>>2]!=1){break a}e=Lu(v[b+32>>2],v[c+8>>2]);break b}if(a){e=Lu(a,v[c+8>>2]);break b}a=v[c+20>>2];if(a){e=Lu(v[a+32>>2],v[c+8>>2]);break b}a=v[c+12>>2];if(a){e=Lu(v[a+32>>2],v[c+8>>2]);break b}e=Lu(0,v[c+8>>2])}if(!e){break a}v[e+20>>2]=b;a=v[c+36>>2];c:{d:{if(!a|!b){break d}f=sk(v[b+32>>2],b,v[a+12>>2]);if(!f){g=sk(v[c+32>>2],v[c+20>>2],v[v[c+36>>2]+12>>2]);if(!g){break c}a=b;while(1){f=d;d=a;a=v[a+20>>2];if(a){continue}break}f=qk(v[b+32>>2]==(d|0)?f:d,v[g+8>>2],v[g+12>>2]);break d}g=v[c+36>>2];a=v[g+8>>2];d=v[f+8>>2];if((a|0)==(d|0)){break d}e:{if(!d|!a){break e}while(1){h=w[d|0];if((h|0)!=w[a|0]){break e}a=a+1|0;d=d+1|0;if(h){continue}break}break d}f=bV(v[b+32>>2],b,g)}v[e+36>>2]=f}a=v[c+12>>2];f:{if(!a){break f}d=aV(a,v[e+32>>2],e);v[e+16>>2]=0;v[e+12>>2]=d;if(!d){break f}while(1){a=d;d=v[a+24>>2];if(d){continue}break}v[e+16>>2]=a}g:{if(!b|!v[b+32>>2]){break g}a=v[c+32>>2];if(!a|!v[a+64>>2]){break g}d=v[c+20>>2];if(!d){break g}if(!Iy(a,d,c)){break g}a=Mu(v[c+32>>2],v[c+12>>2]);if(!a){break g}Bu(0,v[b+32>>2],a,e);Ub[v[259708]](a)}d=e}return d}function bbb(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;if(e){q=e-1|0;r=e-2|0;p=(e|0)==1;while(1){a=f;t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];f=a+3|0;g=g+3|0;a:{if(!p&l>>>0>=q>>>0){break a}j=l?(l|0)==(r|0)?d:b:c;h=!l&p;if(!h){i=1;if(j>>>0<=1){break a}m=h?0:f;n=j<<1;while(1){o=g;k=w[m|0];h=w[a|0];if((k|0)!=(h|0)){h=h+(((B(k-h|0,i)<<1)+j|0)/(n|0)|0)|0}t[o|0]=h;k=w[m+1|0];h=w[a+1|0];if((k|0)!=(h|0)){h=h+(((B(k-h|0,i)<<1)+j|0)/(n|0)|0)|0}t[o+1|0]=h;k=w[m+2|0];h=w[a+2|0];if((k|0)!=(h|0)){h=h+(((B(k-h|0,i)<<1)+j|0)/(n|0)|0)|0}t[o+2|0]=h;g=g+3|0;i=i+1|0;if((i|0)!=(j|0)){continue}break}break a}if(j>>>0<2){break a}h=j-1|0;i=h&3;if(j-2>>>0>=3){h=h&-4;while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];t[g+3|0]=w[a|0];t[g+4|0]=w[a+1|0];t[g+5|0]=w[a+2|0];t[g+6|0]=w[a|0];t[g+7|0]=w[a+1|0];t[g+8|0]=w[a+2|0];t[g+9|0]=w[a|0];t[g+10|0]=w[a+1|0];t[g+11|0]=w[a+2|0];g=g+12|0;h=h-4|0;if(h){continue}break}}if(!i){break a}while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a+2|0];g=g+3|0;i=i-1|0;if(i){continue}break}}l=l+1|0;if((l|0)!=(e|0)){continue}break}}return 0}function G8(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,j=0,k=0,l=0,m=0,n=0;j=Qb-16|0;Qb=j;i=c;while(1){a:{if((d|0)==(i|0)){i=d;break a}if(!w[i|0]){break a}i=i+1|0;continue}break}v[h>>2]=f;v[e>>2]=c;while(1){b:{c:{d:{if((c|0)==(d|0)|(f|0)==(g|0)){break d}l=v[b+4>>2];v[j+8>>2]=v[b>>2];v[j+12>>2]=l;k=Qb-16|0;Qb=k;v[k+12>>2]=v[a+8>>2];m=Nk(k+8|0,k+12|0);v[299999]=0;l=AM(f,e,i-c|0,g-f>>2,b);n=v[299999];v[299999]=0;e:{if((n|0)!=1){ih(m);Qb=k+16|0;break e}a=P()|0;O()|0;ih(m);T(a|0);L()}f:{g:{h:{i:{if((l|0)==-1){while(1){j:{v[h>>2]=f;if(v[e>>2]==(c|0)){break j}g=1;k:{l:{m:{b=HL(f,c,i-c|0,j+8|0,v[a+8>>2]);switch(b+2|0){case 2:break k;case 1:break m;case 0:break g;default:break l}}v[e>>2]=c;break i}g=b}c=c+g|0;f=v[h>>2]+4|0;continue}break}v[e>>2]=c;break d}f=v[h>>2]+(l<<2)|0;v[h>>2]=f;if((f|0)==(g|0)){break f}c=v[e>>2];if((d|0)==(i|0)){i=d;continue}if(!HL(f,c,1,b,v[a+8>>2])){break h}}a=2;break c}v[h>>2]=v[h>>2]+4;c=v[e>>2]+1|0;v[e>>2]=c;i=c;while(1){if((d|0)==(i|0)){i=d;break b}if(!w[i|0]){break b}i=i+1|0;continue}}v[e>>2]=c;a=1;break c}c=v[e>>2]}a=(c|0)!=(d|0)}Qb=j+16|0;return a|0}f=v[h>>2];continue}}function $f(a,b){var c=0,d=0,e=0,f=0;a:{if(!a){break a}c=v[a+4>>2];if(!b|(c|0)==18){break a}e=v[b+4>>2];if((e|0)==18|(a|0)==(b|0)){break a}b:{c:{d:{e:{f:{g:{h:{if((e|0)!=3){break h}if(!(!v[a+40>>2]|(c|0)!=3|v[a+8>>2]!=v[b+8>>2])){Oy(a,v[b+40>>2]);break g}c=v[a+16>>2];if(!c|v[c+4>>2]!=3|((b|0)==(c|0)|v[c+8>>2]!=v[b+8>>2])){break h}Oy(c,v[b+40>>2]);pk(b);return v[a+16>>2]}c=v[b+20>>2];v[b+20>>2]=a;e=v[a+32>>2];if((e|0)!=v[b+32>>2]){gl(b,e)}if((a|0)==(c|0)){break b}c=v[a+4>>2];if((c|0)!=3){break e}if(!v[a+40>>2]){break f}c=v[b+40>>2];if(!c){break g}e=0;if(w[c|0]){d=c;while(1){e=e+1|0;f=w[d+1|0];d=d+1|0;if(f){continue}break}}Ny(a,c,e)}pk(b);return a}if(v[b+4>>2]!=2){break d}break a}if(v[b+4>>2]==2){break c}}if(!v[a+12>>2]){v[a+16>>2]=b;v[a+12>>2]=b;break b}d=v[a+16>>2];v[d+24>>2]=b;v[b+28>>2]=d;v[a+16>>2]=b;break b}if((c|0)!=1){break a}i:{if(v[a+44>>2]){d=a;e=v[b+8>>2];c=v[b+36>>2];if(c){c=v[c+8>>2]}else{c=0}d=OF(d,e,c);if(!(!d|(b|0)==(d|0)|v[d+4>>2]==16)){Yi(d);Nu(d)}if((b|0)==(d|0)){break b}d=v[a+44>>2];if(d){break i}}v[a+44>>2]=b;break b}while(1){a=d;d=v[a+24>>2];if(d){continue}break}v[a+24>>2]=b;v[b+28>>2]=a}d=b}return d}function zOa(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;e=b+1|0;h=fc((e|0)!=(e&1073741823)?-1:e<<2);if((b|0)>=1){e=0;while(1){d=a+e|0;g=w[d|0];a:{if(!(g&128)){v[(i<<2)+h>>2]=g;e=e+1|0;break a}if(!(g&32)){f=(i<<2)+h|0;d=e+1|0;if((d|0)<(b|0)){d=g<<6&1984|w[a+d|0]&63}else{d=0}v[f>>2]=d;e=e+2|0;break a}if(!(g&16)){j=(i<<2)+h|0;f=e+2|0;if((f|0)<(b|0)){d=w[a+f|0]&63|(g<<12&61440|(w[d+1|0]&63)<<6)}else{d=0}v[j>>2]=d;e=e+3|0;break a}if(!(g&15)){j=(i<<2)+h|0;f=e+3|0;if((f|0)<(b|0)){d=w[a+f|0]&63|(g<<18&1835008|(w[d+1|0]&63)<<12|(w[d+2|0]&63)<<6)}else{d=0}v[j>>2]=d;e=e+4|0;break a}if(!(g&8)){j=(i<<2)+h|0;f=e+3|0;if((f|0)<(b|0)){d=w[a+f|0]&63|(g<<18&1835008|(w[d+1|0]&63)<<12|(w[d+2|0]&63)<<6)}else{d=0}v[j>>2]=d;e=e+4|0;break a}if(!(g&4)){j=(i<<2)+h|0;f=e+4|0;if((f|0)<(b|0)){d=w[a+f|0]&63|(g<<24&50331648|(w[d+1|0]&63)<<18|(w[d+2|0]&63)<<12|(w[d+3|0]&63)<<6)}else{d=0}v[j>>2]=d;e=e+5|0;break a}f=(i<<2)+h|0;e=e+5|0;if((e|0)<(b|0)){d=w[a+e|0]&63|(g<<30&1073741824|(w[d+1|0]&63)<<24|(w[d+2|0]&63)<<18|(w[d+3|0]&63)<<12|(w[d+4|0]&63)<<6)}else{d=0}v[f>>2]=d}i=i+1|0;if((b|0)>(e|0)){continue}break}}v[(i<<2)+h>>2]=0;lp(c,h);dc(h)}function ria(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;var j=0,k=0,l=0,m=0,n=0,o=0,p=0;j=Qb-16|0;Qb=j;n=e&3;o=e>>>2|0;p=h<<2;while(1){e=o;while(1){c=i;h=w[c+4|0];i=w[c+5|0];k=j+12|0;l=j+8|0;m=j+4|0;Gd(v[a+68>>2],w[c|0],h,i,k,l,m);d=b;v[d>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Gd(v[a+68>>2],w[c+1|0],h,i,k,l,m);v[d+4>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Gd(v[a+68>>2],w[c+2|0],h,i,k,l,m);v[d+8>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Gd(v[a+68>>2],w[c+3|0],h,i,k,l,m);v[d+12>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;i=c+6|0;b=d+16|0;e=e-1|0;if(e){continue}break}a:{if(!n){i=c;break a}e=w[c+11|0];h=w[c+10|0];b:{switch(n-1|0){case 2:Gd(v[a+68>>2],w[c+8|0],h,e,j+12|0,j+8|0,j+4|0);v[d+24>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;case 1:Gd(v[a+68>>2],w[c+7|0],h,e,j+12|0,j+8|0,j+4|0);v[d+20>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;case 0:Gd(v[a+68>>2],w[i|0],h,e,j+12|0,j+8|0,j+4|0);v[b>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;break;default:break b}}b=(n<<2)+b|0}i=(g+i|0)+6|0;b=b+p|0;f=f-1|0;if(f){continue}break}Qb=j+16|0}function jC(a,b,c){var d=0,e=0,f=0,g=0;f=Qb-16|0;Qb=f;d=v[a+188>>2];if(d){dc(d)}d=kg(a,v[a+180>>2],4,47799);v[a+188>>2]=d;a:{if(!d){b=-1;break a}b:{c:{d:{if(x[a+88>>1]!=1){e=B(c,12)+14|0;g=Ub[v[a+648>>2]](v[a+628>>2])|0;if(c){while(1){d=x[b+2>>1];if(d>>>0<=13){d=v[(d<<2)+81924>>2]}else{d=0}if(!d){c=v[a+628>>2];a=v[a>>2];v[f+4>>2]=x[b+2>>1];v[f>>2]=a;zc(c,82544,48540,f);b=-1;break a}d=B(d,v[b+4>>2]);e=(d>>>0>4?d:0)+e|0;b=b+12|0;c=c-1|0;if(c&65535){continue}break}}e=g-e|0;e=x[a+138>>1]==2?(e>>>0)/x[a+98>>1]|0:e;d=v[a+188>>2];if(!v[a+180>>2]){break d}c=0;while(1){b=c;v[d+(b<<2)>>2]=e;c=b+1|0;if(c>>>0>2]){continue}break}break c}if(w[a+13|0]&4){c=Uk(a);if(!v[a+180>>2]){break b}d=v[a+188>>2];b=0;while(1){v[d+(b<<2)>>2]=c;b=b+1|0;if(b>>>0>2]){continue}break}break b}b=Di(a);if(!v[a+180>>2]){break b}c=B(y[a+60>>2]/y[a+176>>2]|0,b);d=v[a+188>>2];b=0;while(1){v[d+(b<<2)>>2]=c;b=b+1|0;if(b>>>0>2]){continue}break}break b}e=v[d-4>>2];b=-1}b=b<<2;c=v[b+v[a+184>>2]>>2];if(c+e>>>0<=g>>>0){break b}v[b+d>>2]=g-c}c=v[a+40>>2];v[a+40>>2]=c|16777216;b=1;if(c&131072){break a}v[a+100>>2]=v[a+60>>2]}Qb=f+16|0;return b}function qia(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;g=Qb-16|0;Qb=g;v[a>>2]=0;a:{b:{c:{d:{e:{if(!c|!w[c|0]){break e}f:{if((d|0)>=0){h=-1;if((e|0)>-1){break f}}h=Bc(c)}g:{if((d|0)<=-1){d=(c+h|0)+d|0;f=c>>>0>d>>>0?c:d;break g}f=c;if(!d){break g}d=c+d|0;while(1){f=f+1|0;if(d>>>0<=f>>>0){break g}if(w[f|0]){continue}break}}h:{if((e|0)<=-1){c=(c+h|0)+1|0;c=c>>>0>>0?f:c+e|0;break h}if(!e){break e}d=e+f|0;c=f;while(1){if(!w[c|0]){break h}c=c+1|0;if(d>>>0>c>>>0){continue}break}}if(c>>>0<=f>>>0){break e}d=v[v[b>>2]+8>>2];v[299999]=0;e=d;d=c-f|0;U(e|0,g+8|0,b|0,d|0);b=v[299999];v[299999]=0;if((b|0)==1){break d}v[299999]=0;Q(4344,a|0,g+8|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break c}e=v[g+8>>2];v[g+8>>2]=0;i:{if(!e){break i}v[299999]=0;c=v[e+4>>2]-1|0;v[e+4>>2]=c;b=v[299999];v[299999]=0;if((b|0)==1){break a}if(c){break i}v[299999]=0;R(4338,e|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=d+f|0;c=v[v[a>>2]+12>>2];while(1){a=w[f|0];if(a){t[c|0]=a;c=c+1|0;f=f+1|0;if((b|0)!=(f|0)){continue}}break}t[c|0]=0}Qb=g+16|0;return}f=P()|0;O()|0;break b}f=P()|0;O()|0;ec(g+8|0)}ec(a);T(f|0);L()}W(0)|0;O()|0;lc();L()}function yj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=jc(44);if(!c){return 0}v[c+36>>2]=0;v[c+32>>2]=a;v[c+28>>2]=0;v[c+24>>2]=b;v[c+20>>2]=a;v[c>>2]=0;b=B(a,b);v[c+40>>2]=b;a:{b:{if((a|0)>=1){b=jc(a<<2);v[c+28>>2]=b;if(!b){a=v[c+36>>2];if(a){if(t[c|0]&1){break b}dc(a);v[c+36>>2]=0;b=v[c+28>>2]}if(!b){break a}dc(b);v[c+28>>2]=0;break a}b=v[c+40>>2]}c:{if((b|0)<1){break c}b=jc(b<<2);v[c+36>>2]=b;if(b){break c}a=v[c+28>>2];if(!a){break a}dc(a);v[c+28>>2]=0;break a}d:{if((a|0)<1){break d}f=a&3;e=v[c+24>>2];b=0;if(a-1>>>0>=3){a=a&-4;while(1){v[v[c+28>>2]+(b<<2)>>2]=v[c+36>>2]+(B(b,e)<<2);d=b|1;v[v[c+28>>2]+(d<<2)>>2]=v[c+36>>2]+(B(e,d)<<2);d=b|2;v[v[c+28>>2]+(d<<2)>>2]=v[c+36>>2]+(B(e,d)<<2);d=b|3;v[v[c+28>>2]+(d<<2)>>2]=v[c+36>>2]+(B(e,d)<<2);b=b+4|0;a=a-4|0;if(a){continue}break}}if(!f){break d}while(1){v[v[c+28>>2]+(b<<2)>>2]=v[c+36>>2]+(B(b,e)<<2);b=b+1|0;f=f-1|0;if(f){continue}break}}if(v[c+40>>2]>=1){a=v[c+36>>2];b=0;while(1){v[a+(b<<2)>>2]=0;b=b+1|0;if((b|0)>2]){continue}break}}v[c+4>>2]=0;v[c+8>>2]=0;g=c,h=Hib(v[c+20>>2],v[c+24>>2],32),v[g+12>>2]=h;v[c+16>>2]=Tb;return c}X(11906,6607,151,188425);L()}dc(c);return 0}function LV(a,b){var 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;f=v[a+124>>2];d=f;c=f>>>2|0;f=v[a+120>>2];j=f>>>0>2]?d:c;d=v[a+108>>2];c=(d-v[a+44>>2]|0)+262|0;n=c>>>0>d>>>0?0:c;i=v[a+116>>2];c=v[a+144>>2];o=c>>>0>i>>>0?i:c;k=v[a+56>>2];h=d+k|0;p=h+258|0;d=f+h|0;l=w[d|0];m=w[d-1|0];q=v[a+52>>2];r=v[a+64>>2];while(1){a:{e=b+k|0;d=f+e|0;b:{if(w[d|0]!=(l|0)|w[d-1|0]!=(m|0)|w[e|0]!=w[h|0]){break b}d=2;if(w[e+1|0]!=w[h+1|0]){break b}c:{d:{e:{f:{g:{h:{i:{while(1){c=d+h|0;if(w[c+1|0]!=w[e+3|0]){break d}if(w[c+2|0]!=w[e+4|0]){break e}if(w[c+3|0]!=w[e+5|0]){break f}if(w[c+4|0]!=w[e+6|0]){break g}if(w[c+5|0]!=w[e+7|0]){break h}if(w[c+6|0]!=w[e+8|0]){break i}if(w[c+7|0]==w[e+9|0]){c=d+8|0;g=c+h|0;if(w[g|0]!=w[e+10|0]){break c}e=e+8|0;s=d>>>0<250;d=c;if(s){continue}break c}break}g=c+7|0;break c}g=c+6|0;break c}g=c+5|0;break c}g=c+4|0;break c}g=c+3|0;break c}g=c+2|0;break c}g=c+1|0}c=g-p|0;d=c+258|0;if((d|0)<=(f|0)){break b}v[a+112>>2]=b;if((d|0)>=(o|0)){f=d;break a}l=w[d+h|0];m=w[(c+h|0)+257|0];f=d}b=x[((b&q)<<1)+r>>1];if(n>>>0>=b>>>0){break a}j=j-1|0;if(j){continue}}break}return f>>>0>i>>>0?i:f}function sY(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;m=Qb+-64|0;Qb=m;n=v[d+4>>2];v[a+56>>2]=v[d>>2];v[a+60>>2]=n;n=v[d+44>>2];v[a+96>>2]=v[d+40>>2];v[a+100>>2]=n;n=v[d+36>>2];v[a+88>>2]=v[d+32>>2];v[a+92>>2]=n;n=v[d+28>>2];v[a+80>>2]=v[d+24>>2];v[a+84>>2]=n;n=v[d+20>>2];v[a+72>>2]=v[d+16>>2];v[a+76>>2]=n;r=v[d+12>>2];n=a- -64|0;v[n>>2]=v[d+8>>2];v[n+4>>2]=r;h=A[c>>3]/360;i=(h-H(h))*6.283185307179586;h=Ee(i);A[a+16>>3]=h;i=Ve(i);A[a+8>>3]=i;o=i*A[b>>3];j=h*A[b+8>>3];g=o+j;e=i*g;A[m>>3]=e;g=h*g;A[m+8>>3]=g;l=i*A[b+16>>3];f=j+l;j=h*f;A[m+24>>3]=j;f=i*f;A[m+16>>3]=f;k=h*A[b+24>>3];p=l+k;l=h*p;A[m+56>>3]=l;k=o+k;o=h*k;A[m+40>>3]=o;k=i*k;A[m+32>>3]=k;p=i*p;A[m+48>>3]=p;q=f*f+j*j;j=i*f+h*j<0?-q:q;f=e*e+g*g;e=i*e+h*g<0?-f:f;b=j>e;c=b;g=k*k+o*o;g=i*k+h*o<0?-g:g;f=b?j:e;b=g>f;k=b?g:f;f=p*p+l*l;l=i*p+h*l<0?-f:f;c=((k>3];d=e>j;e=d?j:e;b=e>g;b=((l<(b?g:e)?3:b?2:d)<<4)+m|0;g=A[b>>3];e=f-g;k=e*e;j=A[c+8>>3];l=A[b+8>>3];e=j-l;e=K(k+e*e);if(D(e)>1.1920928955078125e-7){A[a+32>>3]=h/e;A[a+24>>3]=i/e;A[a+48>>3]=-(i*f+h*j)/e;A[a+40>>3]=-(i*g+h*l)/e}Qb=m- -64|0}function vna(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=Qb-32|0;Qb=f;a:{d=v[a+8>>2];b:{c:{if(!d){a=1;break c}d:{e=v[d+8>>2];if((e|0)==(b|0)){a=1;if(v[d+12>>2]==(c|0)){break d}}a=2;if(((e+1|0)/2|0)==(b|0)&((v[d+12>>2]+1|0)/2|0)==(c|0)){break d}a=3;if(((e+2|0)/3|0)==(b|0)&((v[d+12>>2]+2|0)/3|0)==(c|0)){break d}a=4;if(((e+3|0)/4|0)==(b|0)&((v[d+12>>2]+3|0)/4|0)==(c|0)){break d}a=5;if(((e+4|0)/5|0)==(b|0)&((v[d+12>>2]+4|0)/5|0)==(c|0)){break d}a=6;if(((e+5|0)/6|0)==(b|0)&((v[d+12>>2]+5|0)/6|0)==(c|0)){break d}a=7;if(((e+6|0)/7|0)==(b|0)&((v[d+12>>2]+6|0)/7|0)==(c|0)){break d}a=8;if(((e+7|0)/8|0)==(b|0)&((v[d+12>>2]+7|0)/8|0)==(c|0)){break d}a=9;if(((e+8|0)/9|0)==(b|0)&((v[d+12>>2]+8|0)/9|0)==(c|0)){break d}a=10;if(((e+9|0)/10|0)==(b|0)&((v[d+12>>2]+9|0)/10|0)==(c|0)){break d}a=11;if(((e+10|0)/11|0)==(b|0)&((v[d+12>>2]+10|0)/11|0)==(c|0)){break d}a=12;if(((e+11|0)/12|0)==(b|0)&((v[d+12>>2]+11|0)/12|0)==(c|0)){break d}a=vc(f+8|0,326072,242011,823,337067,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}b=P()|0;O()|0;qc(a);T(b|0);L()}b=v[d+20>>2];if(b){break b}}b=300}Qb=f+32|0;return(b|0)/(a|0)|0}L()}function om(a,b,c){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;g=Qb-16|0;Qb=g;a:{if((c|0)<1){break a}i=v[a+4>>2];while(1){h=(k<<3)+b|0;b:{if(!v[h>>2]){jn(i);if(v[i+12>>2]>1){break a}d=v[i>>2];f=d-1|0;l=v[i+8>>2];c:{while(1){j=3;if(d>>>0>=l>>>0){e=d;break c}e=d+1|0;v[i>>2]=e;m=w[d|0];d=e;d:{switch(m-10|0){case 16:break c;case 0:case 3:break d;default:continue}}break}j=2}v[i+12>>2]=j;v[g+8>>2]=f;break b}f=wv(i);v[g+8>>2]=f;if(!f){break a}e=v[i>>2]}d=e-f|0;e=d-1|0;e:{f:{switch(v[h>>2]){case 0:case 1:d=QH(v[a>>2],d,g+4|0);v[h+4>>2]=d;if(v[g+4>>2]){break e}gc(d,f,e);t[e+v[h+4>>2]|0]=0;break e;case 2:n=h,o=pm(g+8|0,e+f|0,0),v[n+4>>2]=o;break e;case 3:v[g+12>>2]=f;l=e+f|0;j=qm(g+12|0,l,10);e=0;d=v[g+12>>2];g:{if((f|0)==(d|0)){break g}if(!(w[d|0]!=35|d>>>0>=l>>>0)){f=d+1|0;v[g+12>>2]=f;j=qm(g+12|0,l,j);d=v[g+12>>2];if((f|0)==(d|0)){break g}}v[g+8>>2]=d;e=j}v[h+4>>2]=e;break e;case 4:if((e|0)==4){e=Oc(f,275456,4)}else{e=1}t[h+4|0]=!e;break e;case 5:break f;default:break e}}d=v[a+12>>2];if(d){n=h,o=Ub[d|0](f,e,v[a+16>>2])|0,v[n+4>>2]=o;break e}v[h+4>>2]=0}k=k+1|0;if((k|0)!=(c|0)){continue}break}k=c}Qb=g+16|0;return k}function d$(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;e=Qb-48|0;Qb=e;g=v[a+4>>2];t[b+557|0]=0;v[b+560>>2]=a;if(!(!v[b+116>>2]|!v[b+120>>2])){i=ic(b+188|0,0,364);v[b+528>>2]=3932;v[b+520>>2]=-1;v[b+392>>2]=1;v[b+588>>2]=d;v[b+584>>2]=c;v[b+552>>2]=b;v[b+384>>2]=2596864;v[b+388>>2]=7;a:{if(!w[a+32|0]){d=8192;c=97;break a}d=20480;c=v[a+1556>>2]+1|0}h=v[a>>2];f=v[h>>2];j=v[b+176>>2];v[e+12>>2]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[e+24>>2]=0;v[e+4>>2]=0;v[e+8>>2]=0;v[e+32>>2]=i;v[e+28>>2]=d;v[e>>2]=h;v[e+36>>2]=j;d=Cc(f,4,0,c,0,e+44|0);v[e+16>>2]=d;b:{c:{if(!v[e+44>>2]){v[e+20>>2]=d;v[e+24>>2]=c;break c}if(d){Ub[v[f+8>>2]](f,d)}f=0;v[e+16>>2]=0;if(v[e+44>>2]){break b}}f=Yc(g,v[b+116>>2]+v[a+12>>2]|0);if(f){break b}f=ne(g,v[b+120>>2]);if(f){break b}f=c$(e,v[g+32>>2],v[g+36>>2]);Vd(g);if(f){break b}t[b+188|0]=w[b+188|0]&254;a=b;c=v[b+532>>2];d:{e:{if((c|0)<=-1){c=0-c|0;break e}if(c){break d}c=987654321}v[a+532>>2]=c}if(y[b+388>>2]>=1001){v[b+388>>2]=7}f=0;if(y[b+392>>2]<1001){break b}v[b+392>>2]=1}v[b+600>>2]=0;v[b+596>>2]=v[b+592>>2];a=v[v[e>>2]>>2];b=v[e+16>>2];if(b){Ub[v[a+8>>2]](a,b)}}Qb=e+48|0;return f|0}function bSa(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,n=0,o=0,p=0,q=0;q=Qb-144|0;Qb=q;n=v[a+332>>2];b=v[b+84>>2];a=q;while(1){g=v[b+64>>2];k=u[c+32>>1];i=B(u[c>>1],v[b>>2])<<13|1024;j=B(v[b+128>>2],u[c+64>>1]);o=i+B(j,-11586)>>11;f=B(v[b+32>>2],u[c+16>>1]);h=B(v[b+96>>2],u[c+48>>1]);m=B(v[b+160>>2],u[c+80>>1]);p=f-(h+m|0)<<2;v[a+96>>2]=o-p;v[a+24>>2]=o+p;g=B(B(g,k),10033);k=i+B(j,5793)|0;j=g+k|0;i=f+h<<13;f=B(f+m|0,2998);i=i+f|0;v[a+120>>2]=j-i>>11;v[a>>2]=j+i>>11;g=k-g|0;f=f+(m-h<<13)|0;v[a+72>>2]=g-f>>11;v[a+48>>2]=f+g>>11;a=a+4|0;b=b+4|0;c=c+2|0;l=l+1|0;if((l|0)!=6){continue}break}a=n+128|0;l=0;c=q;while(1){f=v[c+20>>2];h=v[c+4>>2];m=B(f+h|0,2998);b=v[(l<<2)+d>>2]+e|0;n=v[c+12>>2];g=m+(n+h<<13)|0;j=(v[c>>2]<<13)+131072|0;k=v[c+16>>2];i=j+B(k,5793)|0;o=B(v[c+8>>2],10033);p=i+o|0;t[b|0]=w[a+(g+p>>>18&1023)|0];t[b+5|0]=w[a+(p-g>>>18&1023)|0];h=h-(f+n|0)<<13;g=j+B(k,-11586)|0;t[b+1|0]=w[a+(h+g>>>18&1023)|0];t[b+4|0]=w[a+(g-h>>>18&1023)|0];f=m+(f-n<<13)|0;h=i-o|0;t[b+2|0]=w[a+(f+h>>>18&1023)|0];t[b+3|0]=w[a+(h-f>>>18&1023)|0];c=c+24|0;l=l+1|0;if((l|0)!=6){continue}break}Qb=q+144|0}function c6(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;c=Qb-176|0;Qb=c;e=v[a+584>>2];if(e){d=v[a+48>>2];if(d&512){a:{b:{if(x[a+88>>1]==4){Rc(43275,18,1,b);d=42492;if(w[e+28|0]&2){break b}break a}Rc(44980,18,1,b);d=42492;f=v[e+28>>2];if(f&1){v[c+160>>2]=42492;wc(b,45347,c+160|0);f=v[e+28>>2];d=46501}if(f&4){v[c+144>>2]=d;wc(b,46849,c+144|0);f=v[e+28>>2];d=46501}if(!(f&2)){break a}}v[c+128>>2]=d;wc(b,43974,c+128|0)}d=v[e+28>>2];v[c+116>>2]=d;v[c+112>>2]=d;wc(b,47783,c+112|0);d=v[a+48>>2]}if(d&8){Rc(48202,11,1,b);c:{d:{switch(x[e+16>>1]){case 0:Rc(48393,6,1,b);break c;case 1:Rc(49102,21,1,b);break c;case 2:break d;default:break c}}Rc(49353,19,1,b)}d=x[e+16>>1];v[c+100>>2]=d;v[c+96>>2]=d;wc(b,50317,c+96|0);d=v[a+48>>2]}if(d&4){v[c+80>>2]=v[e+24>>2];wc(b,50741,c+80|0);d=v[a+48>>2]}if(d&16){v[c+64>>2]=v[e+20>>2];wc(b,51140,c- -64|0);d=v[a+48>>2]}if(d&32){v[c+48>>2]=v[e+32>>2];wc(b,51569,c+48|0);d=v[a+48>>2]}if(d&64){v[c+32>>2]=v[e+36>>2];wc(b,52071,c+32|0);d=v[a+48>>2]}if(d&128){v[c+16>>2]=v[e+40>>2];wc(b,52475,c+16|0);d=v[a+48>>2]}if(d&256){v[c>>2]=v[e+44>>2];wc(b,52956,c)}Qb=c+176|0;return}X(40584,7814,1268,86104);L()}function a4(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;a:{d=v[v[a+584>>2]+4>>2];a=(c|0)/2|0;if((d|0)>=(a|0)){break a}_q(b,a);f=a-d|0;if((d|0)<5){a=d<<1;while(1){b:{switch(d|0){default:c=a+b|0;u[c>>1]=x[c>>1]+x[b>>1];b=b+2|0;case 3:c=a+b|0;u[c>>1]=x[c>>1]+x[b>>1];b=b+2|0;case 2:c=a+b|0;u[c>>1]=x[c>>1]+x[b>>1];b=b+2|0;case 1:c=a+b|0;u[c>>1]=x[c>>1]+x[b>>1];b=b+2|0;break;case 0:break b}}f=f-d|0;if((f|0)>0){continue}break}break a}h=d-4|0;i=d&3;j=d-5>>>0>2;e=d<<1;while(1){c:{d:{e:{f:{g:{h:{switch(d|0){case 0:break c;case 1:break d;case 2:break e;case 3:break f;case 4:break g;default:break h}}c=h;a=i;if(a){while(1){g=b+e|0;u[g>>1]=x[g>>1]+x[b>>1];c=c-1|0;b=b+2|0;a=a-1|0;if(a){continue}break}}if(!j){break g}while(1){a=b+e|0;u[a>>1]=x[a>>1]+x[b>>1];a=(b+2|0)+e|0;u[a>>1]=x[a>>1]+x[b+2>>1];a=(b+4|0)+e|0;u[a>>1]=x[a>>1]+x[b+4>>1];a=(b+6|0)+e|0;u[a>>1]=x[a>>1]+x[b+6>>1];b=b+8|0;a=(c|0)>4;c=c-4|0;if(a){continue}break}}a=b+e|0;u[a>>1]=x[a>>1]+x[b>>1];b=b+2|0}a=b+e|0;u[a>>1]=x[a>>1]+x[b>>1];b=b+2|0}a=b+e|0;u[a>>1]=x[a>>1]+x[b>>1];b=b+2|0}a=b+e|0;u[a>>1]=x[a>>1]+x[b>>1];b=b+2|0}f=f-d|0;if((f|0)>0){continue}break}}}function Yy(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;h=Qb-16|0;Qb=h;a:{if(v[a+48>>2]?a:0){break a}e=Ub[v[259704]](64)|0;if(!e){v[h>>2]=321564;oc(0,0,0,0,0,2,2,3,321564,0,0,0,350051,h);e=0;break a}v[e>>2]=0;v[e+4>>2]=0;v[e+56>>2]=0;v[e+60>>2]=0;v[e+48>>2]=0;v[e+52>>2]=0;v[e+40>>2]=0;v[e+44>>2]=0;v[e+32>>2]=0;v[e+36>>2]=0;v[e+24>>2]=0;v[e+28>>2]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;v[e+4>>2]=14;if(b){f=b;while(1){g=f;f=f+1|0;if(w[g|0]){continue}break}f=0;g=g-b|0;b:{if((g|0)<0){break b}i=Ub[v[259707]](g+1|0)|0;if(!i){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break b}f=gc(i,b,g);t[g+f|0]=0}v[e+8>>2]=f}if(c){f=c;while(1){b=f;f=b+1|0;if(w[b|0]){continue}break}f=0;b=b-c|0;c:{if((b|0)<0){break c}g=Ub[v[259707]](b+1|0)|0;if(!g){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break c}f=gc(g,c,b);t[b+f|0]=0}v[e+52>>2]=f}if(d){f=d;while(1){b=f;f=b+1|0;if(w[b|0]){continue}break}f=0;b=b-d|0;d:{if((b|0)<0){break d}c=Ub[v[259707]](b+1|0)|0;if(!c){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break d}f=gc(c,d,b);t[b+f|0]=0}v[e+56>>2]=f}if(a){v[a+48>>2]=e}v[e+32>>2]=a;if(!v[294265]){break a}a=v[294262];if(!a){break a}Ub[a|0](e)}Qb=h+16|0;return e}function gua(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;a=Qb-48|0;Qb=a;a:{if(!w[c+8|0]){break a}e=v[c>>2];if(!e){break a}f=v[e+4>>2]-1|0;v[e+4>>2]=f;if(f){break a}dc(e)}v[c>>2]=0;v[c+4>>2]=0;t[c+8|0]=0;e=ve(976728);t[c+8|0]=0;v[c>>2]=976728;v[c+4>>2]=(e|0)>-1?e:-2147483648;b:{c:{if(!ph(b)){e=a+32|0;v[e>>2]=0;v[e+4>>2]=0;t[e+8|0]=0;v[299999]=0;h=wg(b);f=v[299999];v[299999]=0;d:{e:{f:{g:{h:{if((f|0)!=1){while(1){v[299999]=0;f=Q(4155,b|0,h|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break c}if(!f){break d}v[299999]=0;V(4145,a|0,b|0);f=v[299999];v[299999]=0;if((f|0)==1){break h}v[299999]=0;f=Q(4160,a+16|0,a|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break g}v[299999]=0;uf(e,f);g=v[299999];v[299999]=0;if((g|0)==1){break f}xc(f);if(t[a+11|0]<=-1){dc(v[a>>2])}v[299999]=0;f=md(e,977116);g=v[299999];v[299999]=0;if((g|0)==1){break c}if(!f){continue}break}v[299999]=0;$(4232,b|0,c|0,d|0,0);b=v[299999];v[299999]=0;if((b|0)!=1){break d}}b=P()|0;O()|0;break b}b=P()|0;O()|0;break b}b=P()|0;O()|0;break e}b=P()|0;O()|0;xc(f)}if(t[a+11|0]>-1){break b}dc(v[a>>2]);break b}xc(e)}Qb=a+48|0;return}b=P()|0;O()|0}xc(e);T(b|0);L()}function hka(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;if(!w[a+88|0]){e=a,f=Ub[v[v[a>>2]+36>>2]](a)|0,v[e+72>>2]=f;e=a,f=Ub[v[v[a>>2]+44>>2]](a)|0,v[e+76>>2]=f;e=a,f=Ub[v[v[a>>2]+40>>2]](a)|0,v[e+80>>2]=f;c=Ub[v[v[a>>2]+48>>2]](a)|0;t[a+88|0]=1;v[a+84>>2]=c}d=v[a+72>>2];c=fc(12);v[c+8>>2]=d;v[c>>2]=0;v[c+4>>2]=0;Le(b,c);if(!w[a+88|0]){e=a,f=Ub[v[v[a>>2]+36>>2]](a)|0,v[e+72>>2]=f;e=a,f=Ub[v[v[a>>2]+44>>2]](a)|0,v[e+76>>2]=f;e=a,f=Ub[v[v[a>>2]+40>>2]](a)|0,v[e+80>>2]=f;c=Ub[v[v[a>>2]+48>>2]](a)|0;t[a+88|0]=1;v[a+84>>2]=c}d=v[a+80>>2];c=fc(12);v[c+8>>2]=d;v[c>>2]=0;v[c+4>>2]=0;Le(b,c);if(!w[a+88|0]){e=a,f=Ub[v[v[a>>2]+36>>2]](a)|0,v[e+72>>2]=f;e=a,f=Ub[v[v[a>>2]+44>>2]](a)|0,v[e+76>>2]=f;e=a,f=Ub[v[v[a>>2]+40>>2]](a)|0,v[e+80>>2]=f;c=Ub[v[v[a>>2]+48>>2]](a)|0;t[a+88|0]=1;v[a+84>>2]=c}d=v[a+76>>2];c=fc(12);v[c+8>>2]=d;v[c>>2]=0;v[c+4>>2]=0;Le(b,c);a:{if(w[a+88|0]){c=v[a+84>>2];break a}e=a,f=Ub[v[v[a>>2]+36>>2]](a)|0,v[e+72>>2]=f;e=a,f=Ub[v[v[a>>2]+44>>2]](a)|0,v[e+76>>2]=f;e=a,f=Ub[v[v[a>>2]+40>>2]](a)|0,v[e+80>>2]=f;c=Ub[v[v[a>>2]+48>>2]](a)|0;t[a+88|0]=1;v[a+84>>2]=c}a=fc(12);v[a+8>>2]=c;v[a>>2]=0;v[a+4>>2]=0;Le(b,a)}function CO(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;h=Qb-32|0;Qb=h;a:{b:{c:{d=v[a+8>>2];d:{if((d|0)<1|v[a+12>>2]<1){break d}g=v[a+32>>2];if((g|0)<1){break d}if(v[a+36>>2]>0){break c}}a=vc(h+8|0,273960,241395,211,336951,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}f=g;e=d;e:{if(!(b|c)){break e}if((b|0)>=1){f=b;e=c;if((e|0)>0){break e}}a=vc(h+8|0,235457,241395,217,336951,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}c=0;v[a+16>>2]=0;b=f<<1;if((e|0)>(b|0)){while(1){c=c+1|0;d=d+1>>1;f=b;b=b<<1;if((e|0)>(b|0)){continue}break}v[a+16>>2]=c}v[a+24>>2]=d;c=v[a+52>>2];if(!c){Xd(a+56|0,g,4);g=v[a+32>>2];d=v[a+24>>2];c=v[a+52>>2]}i=e<<4;a=((i+f|0)/(b|0)|0)-8|0;b=a;if((g|0)>=1){j=(d<<4)-16|0;e=(f|0)/2|0;d=0;b=a;while(1){v[(d<<2)+c>>2]=(b|0)<(j|0)?b:j;e=e+i|0;k=(e|0)/(f|0)|0;e=e-B(f,k)|0;b=b+k|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}if(!((a+i|0)==(b|0)|(f|0)!=(g|0))){a=vc(h+8|0,246262,241395,203,337291,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}Qb=h+32|0;return}L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function BO(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;h=Qb-32|0;Qb=h;a:{b:{c:{d:{if(v[a+8>>2]<1){break d}d=v[a+12>>2];if((d|0)<1|v[a+32>>2]<1){break d}g=v[a+36>>2];if((g|0)>0){break c}}a=vc(h+8|0,273960,241395,237,336990,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}f=g;e=d;e:{if(!(b|c)){break e}if((b|0)>=1){f=b;e=c;if((e|0)>0){break e}}a=vc(h+8|0,235457,241395,243,336990,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}c=0;v[a+20>>2]=0;b=f<<1;if((e|0)>(b|0)){while(1){c=c+1|0;d=d+1>>1;f=b;b=b<<1;if((e|0)>(b|0)){continue}break}v[a+20>>2]=c}v[a+28>>2]=d;c=v[a+40>>2];if(!c){Xd(a+44|0,g,4);g=v[a+36>>2];d=v[a+28>>2];c=v[a+40>>2]}i=e<<4;a=((i+f|0)/(b|0)|0)-8|0;b=a;if((g|0)>=1){j=(d<<4)-16|0;e=(f|0)/2|0;d=0;b=a;while(1){v[(d<<2)+c>>2]=(b|0)<(j|0)?b:j;e=e+i|0;k=(e|0)/(f|0)|0;e=e-B(f,k)|0;b=b+k|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}if(!((a+i|0)==(b|0)|(f|0)!=(g|0))){a=vc(h+8|0,246262,241395,203,337291,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}Qb=h+32|0;return}L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function rf(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=v[a+464>>2];d=v[e+16>>2];c=v[e+12>>2];if((c|0)<=32767){while(1){c=d-1|0;v[e+16>>2]=c;a:{if((d|0)>0){d=c;break a}f=0;if(!v[a+436>>2]){c=v[a+24>>2];b:{if(v[c+4>>2]){break b}if(Ub[v[c+12>>2]](a)|0){break b}d=v[a>>2];v[d+20>>2]=25;Ub[v[d>>2]](a)}v[c+4>>2]=v[c+4>>2]-1;d=c;c=v[c>>2];v[d>>2]=c+1;f=w[c|0];c:{if((f|0)!=255){break c}while(1){c=v[a+24>>2];d:{if(v[c+4>>2]){break d}if(Ub[v[c+12>>2]](a)|0){break d}d=v[a>>2];v[d+20>>2]=25;Ub[v[d>>2]](a)}v[c+4>>2]=v[c+4>>2]-1;d=c;c=v[c>>2];v[d>>2]=c+1;f=255;c=w[c|0];if((c|0)==255){continue}break}if(!c){break c}v[a+436>>2]=c;f=0}c=v[e+16>>2]}d=c+8|0;v[e+16>>2]=d;v[e+8>>2]=v[e+8>>2]<<8|f;if((c|0)>-9){break a}d=c+9|0;v[e+16>>2]=d;if(d){break a}v[e+12>>2]=32768;d=0}c=v[e+12>>2]<<1;v[e+12>>2]=c;if((c|0)<32768){continue}break}}a=w[b|0];f=v[((a&127)<<2)+72736>>2];g=f>>16;c=c-g|0;v[e+12>>2]=c;h=f>>8;i=v[e+8>>2];d=c<=(d|0)){v[e+12>>2]=g;v[e+8>>2]=i-d;d=a&128;if((c|0)<(g|0)){t[b|0]=d^h;break e}t[b|0]=d^f;a=a^128;break e}if((c|0)>32767){break e}d=a&128;if((c|0)<(g|0)){t[b|0]=d^f;a=a^128;break e}t[b|0]=d^h}return a>>>7|0}function d2(a,b,c,d){var e=0,f=0,g=0,h=0;a:{b:{if(!d){if((c|0)<2&(b|0)<=0){break b}c:{if((c|0)<1){break c}e=(b<<1)-1|0;v[a>>2]=v[a>>2]-((v[a+4>>2]+v[(((b|0)>0?1:e)<<2)+a>>2]|0)+2>>2);if((c|0)==1){break c}d=1;while(1){f=(d<<3)+a|0;g=f;h=v[f>>2];f=d<<1;v[g>>2]=h-((v[(((b|0)<(d|0)?e:f-1|0)<<2)+a>>2]+v[(((b|0)>(d|0)?f|1:e)<<2)+a>>2]|0)+2>>2);d=d+1|0;if((d|0)!=(c|0)){continue}break}}d=0;if((b|0)<=0){break b}f=(c<<1)-2|0;while(1){e=(d<<3)+a|0;h=e+4|0;g=v[e+4>>2];e=d+1|0;v[h>>2]=g+(v[(((c|0)>(e|0)?e<<1:f)<<2)+a>>2]+v[(((c|0)>(d|0)?d<<1:f)<<2)+a>>2]>>1);d=e;if((d|0)!=(b|0)){continue}break}break b}if(!c&(b|0)==1){break a}d=0;if((c|0)>0){e=(b<<1)-2|0;while(1){f=(d<<3)+a|0;g=v[(((b|0)>(d|0)?d<<1:e)<<2)+a>>2];d=d+1|0;v[f+4>>2]=v[f+4>>2]-((g+v[(((b|0)>(d|0)?d<<1:e)<<2)+a>>2]|0)+2>>2);if((c|0)!=(d|0)){continue}break}}if((b|0)<1){break b}d=1;e=(c<<1)-1|0;v[a>>2]=v[a>>2]+(v[a+4>>2]+v[(((c|0)>0?1:e)<<2)+a>>2]>>1);if((b|0)==1){break b}while(1){f=(d<<3)+a|0;g=f;h=v[f>>2];f=d<<1;v[g>>2]=h+(v[(((c|0)<(d|0)?e:f-1|0)<<2)+a>>2]+v[(((c|0)>(d|0)?f|1:e)<<2)+a>>2]>>1);d=d+1|0;if((d|0)!=(b|0)){continue}break}}return}v[a>>2]=v[a>>2]/2}function e4(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;a:{d=v[v[a+584>>2]+4>>2];a=(c|0)/2|0;if((d|0)>=(a|0)){break a}f=a-d|0;if((d|0)<5){a=d<<1;while(1){b:{switch(d|0){default:c=a+b|0;u[c>>1]=x[c>>1]+x[b>>1];b=b+2|0;case 3:c=a+b|0;u[c>>1]=x[c>>1]+x[b>>1];b=b+2|0;case 2:c=a+b|0;u[c>>1]=x[c>>1]+x[b>>1];b=b+2|0;case 1:c=a+b|0;u[c>>1]=x[c>>1]+x[b>>1];b=b+2|0;break;case 0:break b}}f=f-d|0;if((f|0)>0){continue}break}break a}h=d-4|0;i=d&3;j=d-5>>>0>2;e=d<<1;while(1){c:{d:{e:{f:{g:{h:{switch(d|0){case 0:break c;case 1:break d;case 2:break e;case 3:break f;case 4:break g;default:break h}}c=h;a=i;if(a){while(1){g=b+e|0;u[g>>1]=x[g>>1]+x[b>>1];c=c-1|0;b=b+2|0;a=a-1|0;if(a){continue}break}}if(!j){break g}while(1){a=b+e|0;u[a>>1]=x[a>>1]+x[b>>1];a=(b+2|0)+e|0;u[a>>1]=x[a>>1]+x[b+2>>1];a=(b+4|0)+e|0;u[a>>1]=x[a>>1]+x[b+4>>1];a=(b+6|0)+e|0;u[a>>1]=x[a>>1]+x[b+6>>1];b=b+8|0;a=(c|0)>4;c=c-4|0;if(a){continue}break}}a=b+e|0;u[a>>1]=x[a>>1]+x[b>>1];b=b+2|0}a=b+e|0;u[a>>1]=x[a>>1]+x[b>>1];b=b+2|0}a=b+e|0;u[a>>1]=x[a>>1]+x[b>>1];b=b+2|0}a=b+e|0;u[a>>1]=x[a>>1]+x[b>>1];b=b+2|0}f=f-d|0;if((f|0)>0){continue}break}}}function zMa(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;f=Qb-16|0;Qb=f;e=v[a+4>>2];h=v[e+20>>2];d=f+8|0;a:{b:{c:{d:{e:{f:{g=v[e+8>>2];switch(t[g+99|0]-99|0){case 8:break d;case 0:break e;case 7:break f;default:break c}}d=f+8|0;if(w[g+58|0]==1){t[g+58|0]=0;t[f+8|0]=15;d=f+9|0}g:{switch(w[g+54|0]){default:t[g+54|0]=0;t[d+2|0]=66;t[d|0]=27;t[d+1|0]=40;d=d+3|0;break;case 0:case 3:break g}}t[d|0]=w[h|0];d=d+1|0;break c}if(w[g+58|0]){t[g+58|0]=0;t[f+8|0]=15;e=f+9|0}else{e=f+8|0}t[e|0]=w[h|0];d=e+1|0;break c}d=w[e+61|0];if(v[g+64>>2]){break b}g=v[e+52>>2];if((d|0)==1){if(g&255){v[e+52>>2]=0;t[f+8|0]=15;e=f+9|0}else{e=f+8|0}t[e|0]=w[h|0];d=e+1|0;break c}d=f+8|0;if(!(g&255)){v[e+52>>2]=1;t[f+8|0]=14;d=f+9|0}t[d|0]=w[h|0];t[d+1|0]=w[h+1|0];d=d+2|0}e=a;a=f+8|0;GG(e,a,d-a|0,b,c);break a}b=v[g+40>>2];i=w[b+61|0];t[b+61|0]=d;j=v[b+20>>2];v[b+20>>2]=h;v[a+4>>2]=b;v[b+56>>2]=v[e+56>>2];xW(a,c);d=v[g+40>>2];v[e+56>>2]=v[d+56>>2];v[a+4>>2]=e;t[d+61|0]=i;v[d+20>>2]=j;if(v[c>>2]!=15){break a}b=e;c=w[d+63|0];a=c<<24>>24;if((a|0)>=1){gc(e+76|0,d+76|0,c);d=v[g+40>>2];a=w[d+63|0]}t[b+63|0]=a;t[d+63|0]=0}Qb=f+16|0}function lT(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;j=Qb-32|0;Qb=j;g=b&-256;m=c&-256;a:{if(g>>>0>m>>>0){break a}n=e-b|0;o=c&255;p=b&255;l=d-1|0;if(!l){while(1){e=b>>>0>g>>>0?p:0;h=(g|255)>>>0>c>>>0?o:255;if(e>>>0<=h>>>0){l=g+n|0;i=v[a+16>>2];while(1){f=i+(e<<3)|0;b:{if(v[f>>2]){v[j+4>>2]=d;v[j>>2]=g;kc(1,-1,242788,j);break b}v[f+4>>2]=e+l}f=(e|0)!=(h|0);e=e+1|0;if(f){continue}break}}g=g+256|0;if(m>>>0>=g>>>0){continue}break a}}while(1){e=v[a+16>>2];h=l;while(1){e=((g>>>(h<<3)&255)<<3)+e|0;if(!v[e>>2]){i=1;v[e>>2]=1;f=ed(256,8);v[e+4>>2]=f;v[f>>2]=0;v[v[e+4>>2]+4>>2]=0;while(1){f=i<<3;v[f+v[e+4>>2]>>2]=0;v[(f+v[e+4>>2]|0)+4>>2]=0;k=f+8|0;v[k+v[e+4>>2]>>2]=0;v[(k+v[e+4>>2]|0)+4>>2]=0;f=f+16|0;v[f+v[e+4>>2]>>2]=0;v[(f+v[e+4>>2]|0)+4>>2]=0;i=i+3|0;if((i|0)!=256){continue}break}}e=v[e+4>>2];h=h-1|0;if(h){continue}break}h=b>>>0>g>>>0?p:0;i=(g|255)>>>0>c>>>0?o:255;if(h>>>0<=i>>>0){f=g+n|0;while(1){k=(h<<3)+e|0;c:{if(v[k>>2]){v[j+20>>2]=d;v[j+16>>2]=g;kc(1,-1,242788,j+16|0);break c}v[k+4>>2]=f+h}k=(h|0)!=(i|0);h=h+1|0;if(k){continue}break}}g=g+256|0;if(m>>>0>=g>>>0){continue}break}}Qb=j+32|0}function Phb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{b:{c:{if(!v[a+16>>2]){break c}d=w[a+25|0];if(d>>>0>=33){break c}b=-1;if((d|0)!=(v[a+32>>2]-1|0)){break b}d=v[c+8>>2];d:{if(d&7){break d}f=a+24|0;e=w[f|0];b=v[c+64>>2];if(!((b|0)<0|(b|0)>v[c+60>>2])){break a}v[c+4>>2]=v[c+4>>2]|32;b=-1;d=v[c+28>>2];v[c+28>>2]=d-1;e:{if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=v[c+24>>2];v[c+24>>2]=b+1;t[b|0]=e;break e}if((Fc(c,e)|0)==-1){break d}}b=-1;d=v[c+8>>2];if(d&7){break d}e=w[a+13|0];b=v[c+64>>2];if(!((b|0)<0|(b|0)>v[c+60>>2])){break a}v[c+4>>2]=v[c+4>>2]|32;b=-1;d=v[c+28>>2];v[c+28>>2]=d-1;f:{if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=v[c+24>>2];v[c+24>>2]=b+1;t[b|0]=e;break f}if((Fc(c,e)|0)==-1){break d}}b=-1;if(Gg(c,v[a+16>>2])){break d}d=v[c+8>>2];if(d&7){break d}e=w[a+20|0];b=v[c+64>>2];if(!((b|0)<0|(b|0)>v[c+60>>2])){break a}v[c+4>>2]=v[c+4>>2]|32;b=-1;d=v[c+28>>2];v[c+28>>2]=d-1;g:{if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=v[c+24>>2];v[c+24>>2]=b+1;t[b|0]=e;break g}if((Fc(c,e)|0)==-1){break d}}b=L2(c,t[a+12|0]&1,f)?-1:0}return b|0}X(49621,47016,612,188680);L()}X(50085,47016,613,188680);L()}v[c+8>>2]=d|4;return-1}function vw(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;var m=0;m=Qb-16|0;Qb=m;v[m+12>>2]=a;a:{b:{if((a|0)==(f|0)){if(!w[b|0]){break b}a=0;t[b|0]=0;b=v[e>>2];v[e>>2]=b+1;t[b|0]=46;if(w[h+11|0]>>>7|0){b=v[h+4>>2]}else{b=w[h+11|0]}if(!b){break a}b=v[j>>2];if((b-i|0)>159){break a}c=v[k>>2];v[j>>2]=b+4;v[b>>2]=c;break a}if(w[h+11|0]>>>7|0){f=v[h+4>>2]}else{f=w[h+11|0]}if(!(!f|(a|0)!=(g|0))){if(!w[b|0]){break b}a=0;b=v[j>>2];if((b-i|0)>159){break a}a=v[k>>2];v[j>>2]=b+4;v[b>>2]=a;a=0;v[k>>2]=0;break a}a=-1;f=gC(l,l+128|0,m+12|0)-l|0;if((f|0)>124){break a}g=w[(f>>2)+1016064|0];c:{d:{a=f&-5;if((a|0)!=88){if((a|0)!=96){break d}b=v[e>>2];if((b|0)!=(d|0)){a=-1;if((w[b-1|0]&95)!=(w[c|0]&127)){break a}}v[e>>2]=b+1;t[b|0]=g;a=0;break a}t[c|0]=80;break c}a=t[c|0];if((a|0)!=(g&95)){break c}t[c|0]=a|128;if(!w[b|0]){break c}t[b|0]=0;if(w[h+11|0]>>>7|0){a=v[h+4>>2]}else{a=w[h+11|0]}if(!a){break c}a=v[j>>2];if((a-i|0)>159){break c}b=v[k>>2];v[j>>2]=a+4;v[a>>2]=b}a=v[e>>2];v[e>>2]=a+1;t[a|0]=g;a=0;if((f|0)>84){break a}v[k>>2]=v[k>>2]+1;break a}a=-1}Qb=m+16|0;return a|0}function UK(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(!b){break a}f=v[a+16>>2];if((f|0)<1){break a}d=((f<<2)+a|0)+20|0;c=a+20|0;while(1){if(v[c>>2]==(b|0)){v[a+16>>2]=f-1;d=d-4|0;if(d>>>0>c>>>0){Wd(c,c+4|0,(((f<<2)+a|0)-c|0)+19&-4)}v[d>>2]=0;i=v[b+8>>2];f=v[b>>2];d=v[b+4>>2];e=f;b:{if(!d){break b}if(v[d+160>>2]==(b|0)){v[d+160>>2]=0}a=f;e=a;if(!(w[a|0]&2)){break b}c=v[d+148>>2];e=f;if(!c){break b}g=d+148|0;a=v[d>>2];c:{while(1){if(v[c+8>>2]==(b|0)){break c}c=v[c+4>>2];if(c){continue}break}e=f;break b}e=v[b+12>>2];d:{if(v[e+36>>2]!=1869968492){break d}h=v[b+52>>2];if(!h){break d}Ub[v[v[e+56>>2]+20>>2]](h)}e=v[c>>2];h=e?e+4|0:g;g=v[c+4>>2];v[h>>2]=g;v[(g?g:d+152|0)>>2]=e;Ub[v[a+8>>2]](a,c);c=v[d+148>>2];e:{if(c){while(1){a=v[c+8>>2];if(v[a+16>>2]==1869968492){break e}c=v[c+4>>2];if(c){continue}break}}a=0}v[d+156>>2]=a;e=v[b>>2]}f:{if(!(t[e|0]&1)){break f}d=v[b+8>>2];if(!d){break f}c=v[b+16>>2];if(c){while(1){a=v[c+4>>2];As(d,v[c+8>>2],b);Ub[v[d+8>>2]](d,c);c=a;if(c){continue}break}}v[b+16>>2]=0;v[b+20>>2]=0}a=v[f+28>>2];if(a){Ub[a|0](b)}Ub[v[i+8>>2]](i,b);return}c=c+4|0;if(d>>>0>c>>>0){continue}break}}}function K2(a,b,c){var d=0,e=0,f=0;a:{b:{c:{e=a;d:{e:{f:{g:{h:{i:{j:{k:{d=v[b+8>>2];l:{if(d&7){break l}f=v[b+64>>2];if(!((f|0)<0|(f|0)>v[b+60>>2])){v[b+8>>2]=d|4;break l}d=v[b+28>>2];v[b+28>>2]=d-1;if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;d=w[d|0];break k}d=Hc(b,1);if((d|0)!=-1){break k}}t[a+12|0]=0;t[a|0]=0;break j}f=d&31;t[a|0]=f;t[a+12|0]=(d&224)>>>5;switch(f|0){case 0:break j;case 2:break g;case 1:break h;default:break i}}c=c-1|0;break f}c=v[a+4>>2];break e}c=1;v[a+4>>2]=1;break d}c=c-1>>>1|0}v[e+4>>2]=c}if((c|0)<1){break c}}c=jc(c<<2);v[a+8>>2]=c;if(!c){break a}c=0;if(v[a+4>>2]<=0){break b}while(1){m:{if(!w[a|0]){e=v[b+8>>2];n:{if(e&7){break n}f=v[b+64>>2];if(!((f|0)<0|(f|0)>v[b+60>>2])){v[b+8>>2]=e|4;break n}e=v[b+28>>2];v[b+28>>2]=e-1;o:{if((e|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;e=w[d|0];break o}e=Hc(b,1);if((e|0)==-1){break n}}d=e}v[v[a+8>>2]+(c<<2)>>2]=(d&248)<<8;break m}Of(b,v[a+8>>2]+(c<<2)|0)}c=c+1|0;if((c|0)>2]){continue}break}break b}v[a+8>>2]=0}if(!(w[b+8|0]&3)){return 0}a=v[a+8>>2];if(a){dc(a)}return-1}X(55316,47016,988,188735);L()}function tF(a,b){var c=0,d=0,e=0,f=0,g=0;e=Qb-48|0;Qb=e;a:{if(v[a+292>>2]){break a}c=v[a+36>>2];if((v[c+20>>2]-v[c+16>>2]|0)>249){break a}nd(a)}d=cU(a);g=w[v[v[a+36>>2]+16>>2]];b:{c:{if(!d){c=0;if((g|0)!=58){break b}d=nh(a);if(!d){break b}if(!(!v[a+212>>2]|v[a+172>>2]!=-1)){c=d;break c}v[a+84>>2]=202;v[e+4>>2]=0;v[e+8>>2]=0;v[e>>2]=d;oc(0,0,0,a,0,3,202,2,d,0,0,0,356077,e);v[a+356>>2]=0;c=d;break c}if((g|0)!=58){c=d;break c}xd(a);c=cU(a);if(!c){if(!(v[a+172>>2]==-1?v[a+212>>2]:0)){v[a+84>>2]=202;v[e+20>>2]=0;v[e+24>>2]=0;v[e+16>>2]=d;oc(0,0,0,a,0,3,202,2,d,0,0,0,356643,e+16|0);v[a+356>>2]=0}c=CU(a);d:{if(!c){d=Zr(358460,d,0,0);break d}d=Zr(c,d,0,0);Ub[v[259708]](c)}c=Rd(v[a+296>>2],d,-1);if(!d){break c}Ub[v[259708]](d);break c}e:{if(w[v[v[a+36>>2]+16>>2]]!=58){break e}if(!(v[a+172>>2]==-1?v[a+212>>2]:0)){v[a+84>>2]=202;v[e+40>>2]=0;v[e+36>>2]=c;v[e+32>>2]=d;oc(0,0,0,a,0,3,202,2,d,c,0,0,356611,e+32|0);v[a+356>>2]=0}xd(a);f=nh(a);f:{if(f){f=Zr(f,c,0,0);c=Rd(v[a+296>>2],f,-1);if(f){break f}break e}f=Zr(358460,c,0,0);c=Rd(v[a+296>>2],f,-1);if(!f){break e}}Ub[v[259708]](f)}f=d}v[b>>2]=f}Qb=e+48|0;return c}function SQ(a,b,c){var d=0,e=0,f=0;d=Qb-272|0;Qb=d;e=v[a+200>>2];if(e&1){a:{if(e&4){Gc(a,55166);td(a,c);break a}if(e&2){Gc(a,55408)}if(!(!b|!(w[b+9|0]&8))){Gc(a,55645);td(a,c);break a}if((c|0)!=1){Gc(a,56075);td(a,c);break a}c=d+271|0;yf(a,c,1);kd(a,c,1);if(td(a,0)){break a}e=w[d+271|0];if(e>>>0>=4){Gc(a,56263);break a}b:{if(!b){break b}c=v[b+8>>2];c:{if(!(c&1)){break c}f=v[b+40>>2];if(f-45e3>>>0<1001){break c}Ej(d,1,5,f);Jp(a,d,46605);c=v[b+8>>2]}if(!(c&4)){break b}d:{if(v[b+128>>2]-30270>>>0>2e3|v[b+132>>2]-31900>>>0>2e3|(v[b+136>>2]-63e3>>>0>2e3|v[b+140>>2]-32e3>>>0>2e3)){break d}if(v[b+144>>2]-29e3>>>0>2e3|v[b+148>>2]-59e3>>>0>2e3|v[b+152>>2]-14e3>>>0>2e3){break d}if(v[b+156>>2]-5e3>>>0<2001){break b}}Gc(a,56614)}t[a+652|0]=1;if(!w[a+654|0]){v[a+656>>2]=1535777592;t[a+654|0]=1}e:{if(!a|!b){break e}t[b+44|0]=e;v[b+40>>2]=45455;v[b+8>>2]=v[b+8>>2]|2049;if(!oE(a,31270,32900,64e3,33e3,3e4,6e4,15e3,6e3)){break e}v[b+152>>2]=15e3;v[b+156>>2]=6e3;v[b+144>>2]=3e4;v[b+148>>2]=6e4;v[b+136>>2]=64e3;v[b+140>>2]=33e3;v[b+128>>2]=31270;v[b+132>>2]=32900;v[b+8>>2]=v[b+8>>2]|4}}Qb=d+272|0;return}hd(a,54677);L()}function KR(a,b){var c=0,d=0;a:{b:{switch(w[a+8|0]){case 0:c=v[a+4>>2];if(!c){break a}a=c&3;if(c-1>>>0>=3){c=c&-4;while(1){t[b|0]=w[b|0]^-1;t[b+1|0]=w[b+1|0]^-1;t[b+2|0]=w[b+2|0]^-1;t[b+3|0]=w[b+3|0]^-1;b=b+4|0;c=c-4|0;if(c){continue}break}}if(!a){break a}while(1){t[b|0]=w[b|0]^-1;b=b+1|0;a=a-1|0;if(a){continue}break};break a;case 4:break b;default:break a}}c:{switch(w[a+9|0]-8|0){case 0:a=v[a+4>>2];if(!a){break a}c=a-1|0;d=(c>>>1|0)+1|0;a=d&3;if(c>>>0>=6){c=d&-4;while(1){t[b|0]=w[b|0]^-1;t[b+2|0]=w[b+2|0]^-1;t[b+4|0]=w[b+4|0]^-1;t[b+6|0]=w[b+6|0]^-1;b=b+8|0;c=c-4|0;if(c){continue}break}}if(!a){break a}while(1){t[b|0]=w[b|0]^-1;b=b+2|0;a=a-1|0;if(a){continue}break};break a;case 8:break c;default:break a}}a=v[a+4>>2];if(!a){break a}c=a-1|0;d=(c>>>2|0)+1|0;a=d&3;if(c>>>0>=12){c=d&2147483644;while(1){t[b|0]=w[b|0]^-1;t[b+1|0]=w[b+1|0]^-1;t[b+4|0]=w[b+4|0]^-1;t[b+5|0]=w[b+5|0]^-1;t[b+8|0]=w[b+8|0]^-1;t[b+9|0]=w[b+9|0]^-1;t[b+12|0]=w[b+12|0]^-1;t[b+13|0]=w[b+13|0]^-1;b=b+16|0;c=c-4|0;if(c){continue}break}}if(!a){break a}while(1){t[b|0]=w[b|0]^-1;t[b+1|0]=w[b+1|0]^-1;b=b+4|0;a=a-1|0;if(a){continue}break}}}function pDa(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,p=0,q=0,r=0,s=0;e=a;while(1){d=v[(i<<2)+b>>2]+c|0;g=w[d+4|0];h=w[d+3|0];f=g+h|0;j=w[d+7|0];k=w[d|0];l=j+k|0;m=f+l|0;n=w[d+6|0];o=w[d+1|0];p=n+o|0;q=w[d+5|0];r=w[d+2|0];d=q+r|0;s=p+d|0;v[e+16>>2]=m-s;v[e>>2]=(m+s|0)-1024;m=p-d|0;d=l-f|0;f=B(m+d|0,181)>>8;v[e+24>>2]=d-f;v[e+8>>2]=d+f;d=h-g|0;g=r-q|0;h=d+g|0;l=o-n|0;d=k-j|0;j=l+d|0;f=B(h-j|0,98)>>8;h=f+(B(h,139)>>8)|0;g=B(g+l|0,181)>>8;k=d-g|0;v[e+20>>2]=h+k;v[e+12>>2]=k-h;d=d+g|0;f=f+(B(j,334)>>8)|0;v[e+28>>2]=d-f;v[e+4>>2]=d+f;e=e+32|0;i=i+1|0;if((i|0)!=8){continue}break}b=7;while(1){d=v[a+128>>2];i=v[a+96>>2];c=d+i|0;f=v[a+224>>2];g=v[a>>2];e=f+g|0;h=c+e|0;j=v[a+160>>2];k=v[a+64>>2];l=j+k|0;m=v[a+192>>2];n=v[a+32>>2];o=m+n|0;p=l+o|0;v[a+128>>2]=h-p;v[a>>2]=h+p;c=e-c|0;e=B(c+(o-l|0)|0,181)>>8;v[a+192>>2]=c-e;v[a+64>>2]=c+e;c=i-d|0;d=k-j|0;i=c+d|0;h=n-m|0;c=g-f|0;f=h+c|0;e=B(i-f|0,98)>>8;i=e+(B(i,139)>>8)|0;d=B(d+h|0,181)>>8;g=c-d|0;v[a+160>>2]=i+g;v[a+96>>2]=g-i;c=c+d|0;e=e+(B(f,334)>>8)|0;v[a+224>>2]=c-e;v[a+32>>2]=c+e;c=b;b=c-1|0;a=a+4|0;if(c){continue}break}}function $J(a,b,c){var d=0,e=0,f=0;e=Qb-272|0;Qb=e;if(c){while(1){v[e+256>>2]=f;wc(a,3164,e+256|0);v[e+240>>2]=w[b+f|0];wc(a,4987,e+240|0);d=f|1;if(d>>>0>>0){v[e+224>>2]=w[b+d|0];wc(a,4987,e+224|0)}d=f|2;if(d>>>0>>0){v[e+208>>2]=w[b+d|0];wc(a,4987,e+208|0)}d=f|3;if(d>>>0>>0){v[e+192>>2]=w[b+d|0];wc(a,4987,e+192|0)}d=f|4;if(d>>>0>>0){v[e+176>>2]=w[b+d|0];wc(a,4987,e+176|0)}d=f|5;if(d>>>0>>0){v[e+160>>2]=w[b+d|0];wc(a,4987,e+160|0)}d=f|6;if(d>>>0>>0){v[e+144>>2]=w[b+d|0];wc(a,4987,e+144|0)}d=f|7;if(d>>>0>>0){v[e+128>>2]=w[b+d|0];wc(a,4987,e+128|0)}d=f|8;if(d>>>0>>0){v[e+112>>2]=w[b+d|0];wc(a,4987,e+112|0)}d=f|9;if(d>>>0>>0){v[e+96>>2]=w[b+d|0];wc(a,4987,e+96|0)}d=f|10;if(d>>>0>>0){v[e+80>>2]=w[b+d|0];wc(a,4987,e+80|0)}d=f|11;if(d>>>0>>0){v[e+64>>2]=w[b+d|0];wc(a,4987,e- -64|0)}d=f|12;if(d>>>0>>0){v[e+48>>2]=w[b+d|0];wc(a,4987,e+48|0)}d=f|13;if(d>>>0>>0){v[e+32>>2]=w[b+d|0];wc(a,4987,e+32|0)}d=f|14;if(d>>>0>>0){v[e+16>>2]=w[b+d|0];wc(a,4987,e+16|0)}d=f|15;if(d>>>0>>0){v[e>>2]=w[b+d|0];wc(a,4987,e)}ff(10,a);f=f+16|0;if(f>>>0>>0){continue}break}}Qb=e+272|0}function xW(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=Qb-16|0;Qb=f;a:{if(v[b>>2]>0){break a}c=v[a+4>>2];e=t[c+61|0];if(!e){break a}if((e|0)<=-1){c=v[c+20>>2];v[f+12>>2]=c;j=f+12|0;k=c-(e<<1)|0;e=Qb-16|0;Qb=e;b:{if(v[b>>2]>0){break b}d=v[a+16>>2];DW(v[a+4>>2],a+16|0,v[a+20>>2],j,k,b);c=v[a+24>>2];c:{if(!c){break c}g=v[a+16>>2];if((g|0)==(d|0)){break c}i=(d^-1)+g|0;h=g-d&7;if(h){while(1){v[c>>2]=0;d=d+1|0;c=c+4|0;h=h-1|0;if(h){continue}break}}if(i>>>0>=7){while(1){v[c+28>>2]=0;v[c+24>>2]=0;v[c+20>>2]=0;v[c+16>>2]=0;v[c+12>>2]=0;v[c+8>>2]=0;v[c+4>>2]=0;v[c>>2]=0;c=c+32|0;d=d+8|0;if((g|0)!=(d|0)){continue}break}}v[a+24>>2]=c}if(v[b>>2]!=15){break b}v[e+8>>2]=0;c=v[a+4>>2];d=t[c+63|0];v[e+12>>2]=(c+d|0)+76;if((d|0)>=32){v[b>>2]=5;break b}t[c+63|0]=0;i=c;c=c+108|0;DW(i,e+12|0,c,j,k,e+8|0);a=v[a+4>>2];d=v[e+12>>2];t[a+63|0]=(d-a|0)-76;if(v[e+8>>2]!=15&c>>>0>d>>>0){break b}v[b>>2]=5}Qb=e+16|0;break a}d=v[v[v[c+24>>2]+20>>2]+52>>2];if(d){Ub[d|0](a,0,b);break a}if(!(!w[c+66|0]|x[c+112>>1]>255)){Fh(c,c+66|0,1,a+16|0,v[a+20>>2],a+24|0,0,b);break a}Fh(c,v[c+20>>2],e,a+16|0,v[a+20>>2],a+24|0,0,b)}Qb=f+16|0}function nza(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=Qb-32|0;Qb=d;v[d+16>>2]=13;v[d>>2]=13;v[a+32>>2]=0;v[a+36>>2]=0;a:{b:{if(v[rc(b,233935,d+16|0,0)>>2]!=6){kc(1,-1,279352,0);break b}c:{if(v[yc(v[d+24>>2],0,d,0)>>2]-1>>>0>1){break c}A[a>>3]=v[d>>2]==1?+v[d+8>>2]:A[d+8>>3];hc(d);if(v[yc(v[d+24>>2],1,d,0)>>2]-1>>>0>1){break c}A[a+8>>3]=v[d>>2]==1?+v[d+8>>2]:A[d+8>>3];hc(d);if(v[yc(v[d+24>>2],2,d,0)>>2]-1>>>0>1){break c}A[a+16>>3]=v[d>>2]==1?+v[d+8>>2]:A[d+8>>3];hc(d);if(v[yc(v[d+24>>2],3,d,0)>>2]-1>>>0>1){break c}A[a+24>>3]=v[d>>2]==1?+v[d+8>>2]:A[d+8>>3];hc(d);hc(d+16|0);e=A[a>>3];f=A[a+16>>3];if(e>f){A[a+16>>3]=e;A[a>>3]=f}e=A[a+8>>3];f=A[a+24>>3];if(e>f){A[a+24>>3]=e;A[a+8>>3]=f}d:{e:{if(v[rc(b,227165,d+16|0,0)>>2]!=5){c=fc(12);v[299999]=0;b=Q(3737,c|0,d+16|0)|0;g=v[299999];v[299999]=0;if((g|0)!=1){if(Ub[v[v[c>>2]+8>>2]](b)|0){break e}Ub[v[v[c>>2]+4>>2]](b);b=0;break e}a=P()|0;O()|0;dc(c);T(a|0);L()}g=d+16|0;hc(g);if(v[rc(b,322539,g,0)>>2]!=7){break d}b=eS(d+16|0,c)}v[a+32>>2]=b}hc(d+16|0);if(!v[a+32>>2]){break a}v[a+36>>2]=1;break a}kc(1,-1,281017,0);hc(d)}hc(d+16|0)}Qb=d+32|0;return a|0}function Ifa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=Qb-3344|0;Qb=e;v[a+16>>2]=0;Wc(a+20|0,0);qx(a+24|0);f=e+8|0;hO(f);v[e+3328>>2]=0;v[e+3320>>2]=0;v[e+3324>>2]=0;v[e+8>>2]=996016;v[299999]=0;V(5299,f|0,b|0);b=v[299999];v[299999]=0;a:{b:{c:{if((b|0)==1){break c}v[e+3328>>2]=d;v[e+3324>>2]=c;v[299999]=0;v[e+3336>>2]=0;Q(4336,e+3336|0,a|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break c}v[299999]=0;V(5300,e+8|0,e+3336|0);a=v[299999];v[299999]=0;d:{if((a|0)!=1){a=v[e+3336>>2];v[e+3336>>2]=0;if(!a){break d}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break d}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break d}}break a}a=P()|0;O()|0;ec(e+3336|0);break b}v[e+8>>2]=996016;a=v[e+3320>>2];v[e+3320>>2]=0;e:{if(!a){break e}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break e}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}v[e+8>>2]=996084;fd(e+128|0);fd(e+104|0);fd(e+80|0);Lc(e+48|0);Lc(e+36|0);Lc(e+24|0);Qb=e+3344|0;return}a=P()|0;O()|0}eD(e+8|0);T(a|0);L()}W(0)|0;O()|0;lc();L()}function Hf(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=v[a+28>>2];a:{if(v[a>>2]){c=b;b=v[a+32>>2];if((c|0)>=(b|0)){b=b<<1;v[a+32>>2]=b;i=a,j=pd(v[a+24>>2],b,4),v[i+24>>2]=j}b=fc(24);g=A[a+16>>3];f=A[a+8>>3];v[b+16>>2]=16;v[299999]=0;c=Q(3364,16,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break a}v[b>>2]=c;v[299999]=0;e=Q(3364,16,8)|0;d=v[299999];v[299999]=0;if((d|0)==1){break a}v[b+4>>2]=e;v[299999]=0;d=Q(3364,16,4)|0;h=v[299999];v[299999]=0;if((h|0)==1){break a}v[b+12>>2]=1;v[b+8>>2]=d;A[c>>3]=f;A[e>>3]=g;v[d>>2]=0;v[b+20>>2]=0;c=v[a+28>>2];v[v[a+24>>2]+(c<<2)>>2]=b;v[a>>2]=0;b=c+1|0;v[a+28>>2]=b}a=v[(v[a+24>>2]+(b<<2)|0)-4>>2];b=v[a+4>>2];c=v[a>>2];g=A[c>>3];e=v[a+12>>2];d=e-1<<3;b:{c:{if(g!=A[d+c>>3]){f=A[b>>3];break c}f=A[b>>3];if(f==A[b+d>>3]){break b}}d=v[a+16>>2];d:{if((d|0)>(e|0)){d=v[a+8>>2];break d}b=d<<1;v[a+16>>2]=b;i=a,j=pd(c,b,8),v[i>>2]=j;i=a,j=pd(v[a+4>>2],v[a+16>>2],8),v[i+4>>2]=j;d=pd(v[a+8>>2],v[a+16>>2],4);v[a+8>>2]=d;b=v[a+4>>2];c=v[a>>2];e=v[a+12>>2]}h=c;c=e<<3;A[h+c>>3]=g;A[b+c>>3]=f;v[(e<<2)+d>>2]=0;v[a+12>>2]=v[a+12>>2]+1}v[a+20>>2]=1;return}a=P()|0;O()|0;dc(b);T(a|0);L()}function kF(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=Qb-80|0;Qb=g;f=1;e=b+1|0;d=mf(a,b,c);a:{if((d|0)==28){c=mf(a,e,c)<<8|mf(a,b+2|0,c);l(0,(c&32768?c|-65536:c)|0);l(1,0);h=+n();e=b+3|0;break a}if((d|0)==29){d=mf(a,e,c);l(0,(mf(a,b+2|0,c)<<8|d<<16|mf(a,b+3|0,c))<<8|mf(a,b+4|0,c));l(1,0);h=+n();e=b+5|0;break a}if((d|0)==30){b=0;while(1){b:{i=mf(a,e,c);e=e+1|0;j=i>>4;if((j|0)==15){d=b;break b}t[b+g|0]=w[j+890320|0];d=64;f=b+1|0;if((f|0)==64){break b}if((j|0)==12){t[f+g|0]=45;f=b+2|0}if((f|0)==64){d=f;break b}i=i&15;if((i|0)==15){d=f;break b}t[f+g|0]=w[i+890320|0];b=f+1|0;if((b|0)==64){break b}if((i|0)==12){t[b+g|0]=45;b=f+2|0}d=b;if((b|0)<64){continue}}break}t[d+g|0]=0;f=2;h=xf(g);break a}if(d-32>>>0<=214){l(0,d-139|0);l(1,0);h=+n();break a}if(d-247>>>0<=3){l(0,(mf(a,e,c)+(d<<8)|0)-63124|0);l(1,0);h=+n();e=b+2|0;break a}if(d-251>>>0<=3){l(0,64148-(mf(a,e,c)+(d<<8)|0)|0);l(1,0);h=+n();e=b+2|0;break a}c:{if((d|0)==12){l(0,mf(a,e,c)+3072|0);l(1,0);h=+n();e=b+2|0;break c}l(0,d|0);l(1,0);h=+n()}f=0}b=v[a+1144>>2];if((b|0)<=48){v[a+1144>>2]=b+1;a=(b<<4)+a|0;A[a+368>>3]=h;v[a+360>>2]=f}Qb=g+80|0;return e}function OHa(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,j=0,k=0,l=0,m=0;i=Qb-32|0;Qb=i;k=fc(4);v[299999]=0;l=Q(3087,k|0,a+12|0)|0;h=v[299999];v[299999]=0;if((h|0)!=1){j=fc(52);h=j;v[h+8>>2]=0;v[h+12>>2]=0;v[h+24>>2]=0;v[h+28>>2]=0;v[h+16>>2]=0;v[h+20>>2]=0;v[h+4>>2]=v[b+4>>2];v[h>>2]=v[b>>2];h=h+8|0;a:{if((h|0)==(c|0)){break a}if(t[c+11|0]>=0){m=v[c+4>>2];v[h>>2]=v[c>>2];v[h+4>>2]=m;v[h+8>>2]=v[c+8>>2];break a}Lh(h,v[c>>2],v[c+4>>2])}v[j+44>>2]=g;v[j+40>>2]=f;v[j+36>>2]=e;v[j+32>>2]=d;c=v[b+4>>2];b=v[b>>2];v[i+16>>2]=j;v[i+8>>2]=b;v[i+12>>2]=c;f=i+8|0;e=f;d=a;a=v[a+4>>2];b:{c:{if(a){b=d+4|0;while(1){c=a+16|0;d:{if(io(e,c)){c=v[a>>2];if(c){break d}break c}if(!io(c,e)){break b}b=a+4|0;c=v[a+4>>2];if(!c){break b}a=b}b=a;a=c;continue}}a=d+4|0}b=a}e=i;c=v[b>>2];if(c){a=0}else{c=fc(28);g=v[f+4>>2];v[c+16>>2]=v[f>>2];v[c+20>>2]=g;f=v[f+8>>2];v[c+8>>2]=a;v[c>>2]=0;v[c+4>>2]=0;v[c+24>>2]=f;v[b>>2]=c;a=v[v[d>>2]>>2];if(a){v[d>>2]=a;a=v[b>>2]}else{a=c}Uc(v[d+4>>2],a);v[d+8>>2]=v[d+8>>2]+1;a=1}t[e+28|0]=a;v[i+24>>2]=c;DX(l);dc(k);Qb=i+32|0;return j|0}a=P()|0;O()|0;dc(k);T(a|0);L()}function dha(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Qb-32|0;Qb=c;v[299999]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+20>>2]=0;v[c+16>>2]=990592;$(5180,c+8|0,c+16|0,a|0,b|0);b=v[299999];v[299999]=0;a:{b:{if((b|0)!=1){v[c+16>>2]=990496;b=v[c+28>>2];if(b){t[b|0]=0;dc(v[c+28>>2])}v[c+28>>2]=0;Qc(c+16|0);b=v[c+8>>2];c:{if(b){d=v[v[b>>2]+28>>2];v[299999]=0;U(d|0,c+16|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break c}a=P()|0;O()|0;break b}v[c+16>>2]=0}v[299999]=0;Q(4344,a|0,c+16|0)|0;b=v[299999];v[299999]=0;d:{if((b|0)!=1){b=v[c+16>>2];v[c+16>>2]=0;if(!b){break d}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)!=1){if(d){break d}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break d}}break a}a=P()|0;O()|0;ec(c+16|0);break b}b=v[a>>2];v[a+4>>2]=v[(b?b+12|0:1129608)>>2];b=v[c+8>>2];v[c+8>>2]=0;e:{if(!b){break e}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(d){break e}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}Qb=c+32|0;return a|0}a=P()|0;O()|0;Ag(c+16|0);T(a|0);L()}ec(c+8|0);T(a|0);L()}W(0)|0;O()|0;lc();L()}function Hha(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Qb-32|0;Qb=c;v[299999]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+20>>2]=0;v[c+16>>2]=990592;$(5172,c+8|0,c+16|0,a|0,b|0);b=v[299999];v[299999]=0;a:{b:{if((b|0)!=1){v[c+16>>2]=990496;b=v[c+28>>2];if(b){t[b|0]=0;dc(v[c+28>>2])}v[c+28>>2]=0;Qc(c+16|0);b=v[c+8>>2];c:{if(b){d=v[v[b>>2]+28>>2];v[299999]=0;U(d|0,c+16|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break c}a=P()|0;O()|0;break b}v[c+16>>2]=0}v[299999]=0;Q(4344,a|0,c+16|0)|0;b=v[299999];v[299999]=0;d:{if((b|0)!=1){b=v[c+16>>2];v[c+16>>2]=0;if(!b){break d}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)!=1){if(d){break d}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break d}}break a}a=P()|0;O()|0;ec(c+16|0);break b}b=v[a>>2];v[a+4>>2]=v[(b?b+12|0:1129608)>>2];b=v[c+8>>2];v[c+8>>2]=0;e:{if(!b){break e}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(d){break e}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}Qb=c+32|0;return a|0}a=P()|0;O()|0;Ag(c+16|0);T(a|0);L()}ec(c+8|0);T(a|0);L()}W(0)|0;O()|0;lc();L()}function Dea(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=Qb-32|0;Qb=e;f=v[a+12>>2];c=Ub[v[v[f>>2]+20>>2]](f,b,c,d)|0;v[a+24>>2]=0;v[e+8>>2]=0;a:{b:{c:{b=v[a+16>>2];if(!b){break c}d=v[v[b>>2]+76>>2];v[299999]=0;V(d|0,e+24|0,b|0);b=v[299999];v[299999]=0;d:{if((b|0)!=1){v[299999]=0;Q(4344,e+8|0,e+24|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){b=v[e+24>>2];v[e+24>>2]=0;if(!b){break c}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;f=v[299999];v[299999]=0;if((f|0)!=1){if(d){break c}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break c}}break b}a=P()|0;O()|0;ec(e+24|0);break d}a=P()|0;O()|0}break a}v[299999]=0;$(5361,e+16|0,0,0,e+8|0);b=v[299999];v[299999]=0;e:{f:{if((b|0)!=1){v[299999]=0;Q(4535,a+16|0,e+16|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break f}ec(e+16|0);a=v[e+8>>2];v[e+8>>2]=0;g:{if(!a){break g}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;d=v[299999];v[299999]=0;if((d|0)==1){break e}if(b){break g}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break e}}Qb=e+32|0;return c|0}a=P()|0;O()|0;break a}a=P()|0;O()|0;ec(e+16|0);break a}}W(0)|0;O()|0;lc();L()}ec(e+8|0);T(a|0);L()}function kfa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=Qb-32|0;Qb=f;nD(b,3);i=x[b+10>>1];d=x[b+8>>1];e=d;a:{b:{c:{d:{if(!v[b+20>>2]){gi(b);e=x[b+8>>1];g=d+1|0;if(e>>>0>g>>>0){break d}}c=x[b+12>>1];if(v[282398]<(c+x[b+14>>1]|0)){a=vc(f+8|0,260231,271771,577,336631,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}g=c+v[282397]|0;c=v[b+20>>2];break c}c=v[b+20>>2];g=c+(x[b+12>>1]+B(g,x[b+14>>1])|0)|0}if(!c){gi(b);e=x[b+8>>1]}e:{if(d>>>0>=e>>>0){c=x[b+12>>1];if(v[282398]<(c+x[b+14>>1]|0)){a=vc(f+8|0,260231,271771,577,336631,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}h=c+v[282397]|0;c=v[b+20>>2];break e}c=v[b+20>>2];h=c+(x[b+12>>1]+B(d,x[b+14>>1])|0)|0}if(!c){gi(b);e=x[b+8>>1]}c=d-1|0;f:{if(!(d>>>0<=e>>>0?d:0)){d=x[b+12>>1];if(v[282398]<(d+x[b+14>>1]|0)){a=vc(f+8|0,260231,271771,577,336631,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}d=d+v[282397]|0;break f}d=v[b+20>>2]+(x[b+12>>1]+B(c,x[b+14>>1])|0)|0}Ub[v[v[a>>2]+48>>2]](a,b,i,c,g,h,d);Qb=f+32|0;return}L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function gc(a,b,c){var d=0,e=0,f=0;if(c>>>0>=512){Mb(a|0,b|0,c|0)|0;return a}e=a+c|0;a:{if(!((a^b)&3)){b:{if(!(a&3)){c=a;break b}if((c|0)<1){c=a;break b}c=a;while(1){t[c|0]=w[b|0];b=b+1|0;c=c+1|0;if(!(c&3)){break b}if(c>>>0>>0){continue}break}}d=e&-4;c:{if(d>>>0<64){break c}f=d+-64|0;if(f>>>0>>0){break c}while(1){v[c>>2]=v[b>>2];v[c+4>>2]=v[b+4>>2];v[c+8>>2]=v[b+8>>2];v[c+12>>2]=v[b+12>>2];v[c+16>>2]=v[b+16>>2];v[c+20>>2]=v[b+20>>2];v[c+24>>2]=v[b+24>>2];v[c+28>>2]=v[b+28>>2];v[c+32>>2]=v[b+32>>2];v[c+36>>2]=v[b+36>>2];v[c+40>>2]=v[b+40>>2];v[c+44>>2]=v[b+44>>2];v[c+48>>2]=v[b+48>>2];v[c+52>>2]=v[b+52>>2];v[c+56>>2]=v[b+56>>2];v[c+60>>2]=v[b+60>>2];b=b- -64|0;c=c- -64|0;if(f>>>0>=c>>>0){continue}break}}if(c>>>0>=d>>>0){break a}while(1){v[c>>2]=v[b>>2];b=b+4|0;c=c+4|0;if(d>>>0>c>>>0){continue}break}break a}if(e>>>0<4){c=a;break a}d=e-4|0;if(d>>>0>>0){c=a;break a}c=a;while(1){t[c|0]=w[b|0];t[c+1|0]=w[b+1|0];t[c+2|0]=w[b+2|0];t[c+3|0]=w[b+3|0];b=b+4|0;c=c+4|0;if(d>>>0>=c>>>0){continue}break}}if(c>>>0>>0){while(1){t[c|0]=w[b|0];b=b+1|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}return a}function yw(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;var m=0;m=Qb-16|0;Qb=m;t[m+15|0]=a;a:{b:{if((a|0)==(f|0)){if(!w[b|0]){break b}a=0;t[b|0]=0;b=v[e>>2];v[e>>2]=b+1;t[b|0]=46;if(w[h+11|0]>>>7|0){b=v[h+4>>2]}else{b=w[h+11|0]}if(!b){break a}b=v[j>>2];if((b-i|0)>159){break a}c=v[k>>2];v[j>>2]=b+4;v[b>>2]=c;break a}if(w[h+11|0]>>>7|0){f=v[h+4>>2]}else{f=w[h+11|0]}if(!(!f|(a|0)!=(g|0))){if(!w[b|0]){break b}a=0;b=v[j>>2];if((b-i|0)>159){break a}a=v[k>>2];v[j>>2]=b+4;v[b>>2]=a;a=0;v[k>>2]=0;break a}a=-1;f=kC(l,l+32|0,m+15|0)-l|0;if((f|0)>31){break a}g=w[f+1016064|0];c:{d:{switch((f&-2)-22|0){case 2:b=v[e>>2];if((b|0)!=(d|0)&(w[b-1|0]&95)!=(w[c|0]&127)){break a}v[e>>2]=b+1;t[b|0]=g;a=0;break a;case 0:t[c|0]=80;break c;default:break d}}a=t[c|0];if((a|0)!=(g&95)){break c}t[c|0]=a|128;if(!w[b|0]){break c}t[b|0]=0;if(w[h+11|0]>>>7|0){a=v[h+4>>2]}else{a=w[h+11|0]}if(!a){break c}a=v[j>>2];if((a-i|0)>159){break c}b=v[k>>2];v[j>>2]=a+4;v[a>>2]=b}a=v[e>>2];v[e>>2]=a+1;t[a|0]=g;a=0;if((f|0)>21){break a}v[k>>2]=v[k>>2]+1;break a}a=-1}Qb=m+16|0;return a|0}function Eea(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=Qb-32|0;Qb=e;v[a+24>>2]=0;v[e+8>>2]=0;a:{b:{c:{d=v[a+16>>2];if(!d){break c}f=v[v[d>>2]+76>>2];v[299999]=0;V(f|0,e+24|0,d|0);d=v[299999];v[299999]=0;d:{if((d|0)!=1){v[299999]=0;Q(4344,e+8|0,e+24|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){d=v[e+24>>2];v[e+24>>2]=0;if(!d){break c}v[299999]=0;f=v[d+4>>2]-1|0;v[d+4>>2]=f;g=v[299999];v[299999]=0;if((g|0)!=1){if(f){break c}v[299999]=0;R(4338,d|0);d=v[299999];v[299999]=0;if((d|0)!=1){break c}}break b}a=P()|0;O()|0;ec(e+24|0);break d}a=P()|0;O()|0}break a}v[299999]=0;$(5361,e+16|0,0,0,e+8|0);d=v[299999];v[299999]=0;e:{f:{if((d|0)!=1){v[299999]=0;Q(4535,a+16|0,e+16|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break f}ec(e+16|0);d=v[e+8>>2];v[e+8>>2]=0;g:{if(!d){break g}v[299999]=0;f=v[d+4>>2]-1|0;v[d+4>>2]=f;g=v[299999];v[299999]=0;if((g|0)==1){break e}if(f){break g}v[299999]=0;R(4338,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break e}}a=v[a+12>>2];a=Ub[v[v[a>>2]+12>>2]](a,b,c)|0;Qb=e+32|0;return a|0}a=P()|0;O()|0;break a}a=P()|0;O()|0;ec(e+16|0);break a}}W(0)|0;O()|0;lc();L()}ec(e+8|0);T(a|0);L()}function g0(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;b=Qb-16|0;Qb=b;a:{if(!a|(a?v[a+36>>2]:0)){break a}f=b+12|0;g=b+8|0;d=b+4|0;if(a){if(f){v[f>>2]=v[a>>2]}if(g){v[g>>2]=v[a+4>>2]}if(d){v[d>>2]=v[a+8>>2]}}d=v[b+4>>2];if((d|0)>8){break a}if((d|0)==8){e=Xe(0,a);break a}c=Ug(v[b+12>>2],v[b+8>>2],8);if(!c){break a}if(!(!a|!c|(a|0)==(c|0))){v[c+20>>2]=v[a+20>>2];v[c+24>>2]=v[a+24>>2]}k=a?v[a+40>>2]:0;f=a?v[a+12>>2]:-1;g=c?v[c+40>>2]:0;d=c?v[c+12>>2]:-1;if(v[b+8>>2]>=1){while(1){h=(B(d,e)<<2)+g|0;i=(B(e,f)<<2)+k|0;b:{c:{d:{switch(v[b+4>>2]-1|0){case 3:j=v[b+12>>2];break c;case 1:if(v[b+12>>2]<1){break b}a=0;while(1){t[a+h^3]=v[i+(a>>>2&1073741820)>>2]>>>((a<<1^-1)&30)&3;a=a+1|0;j=v[b+12>>2];if((a|0)<(j|0)){continue}break};break c;case 0:break d;default:break b}}a=0;if(v[b+12>>2]<1){break b}while(1){t[a+h^3]=v[i+(a>>>3&536870908)>>2]>>>(a^-1)&1;a=a+1|0;if((a|0)>2]){continue}break}break b}a=0;if((j|0)<1){break b}while(1){t[a+h^3]=v[i+(a>>>2&1073741820)>>2]>>>((a<<1^-1)&30)&3;a=a+1|0;if((a|0)>2]){continue}break}}e=e+1|0;if((e|0)>2]){continue}break}}e=c}Qb=b+16|0;return e}function q6a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;b=Qb-80|0;Qb=b;d=x[a+26304>>1];c=x[a+26306>>1];if((Ub[v[v[a>>2]>>2]](v[a+4>>2],b+70|0,1,10)|0)==10){h=B(B(c,d),5)>>>3|0;while(1){d=i;v[b+8>>2]=d+1;v[b+16>>2]=d+2;v[b+24>>2]=d+3;v[b+32>>2]=d+4;c=w[b+70|0];v[b+4>>2]=w[b+71|0]|c<<8;i=w[b+72|0];v[b+12>>2]=w[b+73|0]|i<<8;e=w[b+74|0];v[b+20>>2]=w[b+75|0]|e<<8;g=w[b+76|0];v[b+28>>2]=w[b+77|0]|g<<8;f=w[b+78|0];v[b+36>>2]=w[b+79|0]|f<<8;v[b+40>>2]=h;v[b+56>>2]=h+2;v[b+48>>2]=h+1;c=c<<4&4032|j<<12|i>>>2;v[b+44>>2]=c>>>2&4095;c=e<<4&4032|c<<12|g>>>2;j=c<<6|f>>>2;v[b+60>>2]=j;v[b+52>>2]=c>>>4&4194303;i=d+5|0;h=h+3|0;c=d;e=0;while(1){f=x[a+26306>>1];k=(c>>>0)/(f>>>0)|0;g=k-x[a+26312>>1]|0;a:{if(g>>>0>=x[a+26308>>1]){break a}c=(c-B(f,k)|0)-x[a+26314>>1]|0;if(c>>>0>=x[a+26310>>1]){break a}f=x[a+26316>>1];u[(v[a+26352>>2]+(B(x[a+26320>>1],g>>>f|0)+(c>>>f|0)<<3)|0)+((v[a+26028>>2]>>>((c&1|g<<1&14)<<1)&3)<<1)>>1]=x[(e<<2|4)+b>>1]&1023}if(e>>>0<=13){e=e+2|0;c=v[(e<<2)+b>>2];continue}break}if((Ub[v[v[a>>2]>>2]](v[a+4>>2],b+70|0,1,10)|0)==10){continue}break}v[b>>2]=d}v[a+26124>>2]=1023;Qb=b+80|0}function Uha(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Qb-32|0;Qb=c;v[299999]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+20>>2]=0;v[c+16>>2]=990400;U(5159,c+8|0,c+16|0,b|0);b=v[299999];v[299999]=0;a:{b:{if((b|0)!=1){v[c+16>>2]=990496;b=v[c+28>>2];if(b){t[b|0]=0;dc(v[c+28>>2])}v[c+28>>2]=0;Qc(c+16|0);b=v[c+8>>2];c:{if(b){d=v[v[b>>2]+24>>2];v[299999]=0;U(d|0,c+16|0,b|0,2);b=v[299999];v[299999]=0;if((b|0)!=1){break c}a=P()|0;O()|0;break b}v[c+16>>2]=0}v[299999]=0;Q(4344,a|0,c+16|0)|0;b=v[299999];v[299999]=0;d:{if((b|0)!=1){b=v[c+16>>2];v[c+16>>2]=0;if(!b){break d}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)!=1){if(d){break d}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break d}}break a}a=P()|0;O()|0;ec(c+16|0);break b}b=v[a>>2];v[a+4>>2]=v[(b?b+12|0:1129608)>>2];b=v[c+8>>2];v[c+8>>2]=0;e:{if(!b){break e}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(d){break e}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}Qb=c+32|0;return a|0}a=P()|0;O()|0;Ag(c+16|0);T(a|0);L()}ec(c+8|0);T(a|0);L()}W(0)|0;O()|0;lc();L()}function dx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Qb-32|0;Qb=c;v[299999]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+20>>2]=0;v[c+16>>2]=990592;U(5159,c+8|0,c+16|0,b|0);b=v[299999];v[299999]=0;a:{b:{if((b|0)!=1){v[c+16>>2]=990496;b=v[c+28>>2];if(b){t[b|0]=0;dc(v[c+28>>2])}v[c+28>>2]=0;Qc(c+16|0);b=v[c+8>>2];c:{if(b){d=v[v[b>>2]+28>>2];v[299999]=0;U(d|0,c+16|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break c}a=P()|0;O()|0;break b}v[c+16>>2]=0}v[299999]=0;Q(4344,a|0,c+16|0)|0;b=v[299999];v[299999]=0;d:{if((b|0)!=1){b=v[c+16>>2];v[c+16>>2]=0;if(!b){break d}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)!=1){if(d){break d}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break d}}break a}a=P()|0;O()|0;ec(c+16|0);break b}b=v[a>>2];v[a+4>>2]=v[(b?b+12|0:1129608)>>2];b=v[c+8>>2];v[c+8>>2]=0;e:{if(!b){break e}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(d){break e}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}Qb=c+32|0;return a|0}a=P()|0;O()|0;Ag(c+16|0);T(a|0);L()}ec(c+8|0);T(a|0);L()}W(0)|0;O()|0;lc();L()}function Rz(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=Qb-16|0;Qb=h;f=v[a+28>>2];v[h+12>>2]=0;v[c>>2]=0;e=v[a+32>>2];if(e>>>0>2]){v[a+32>>2]=e+1;d=t[e|0]}else{d=0}e=d<<24>>24;d=-1;a:{if(!e){break a}g=e&255;if(g&128){g=g<<8&32512;e=v[a+32>>2];if(e>>>0>2]){v[a+32>>2]=e+1;d=t[e|0]}else{d=0}g=g|d<<24>>24&255}d=0;if(b>>>0>>0){break a}e=Cc(f,2,0,g+1|0,0,h+12|0);d=0;if(v[h+12>>2]){break a}v[c>>2]=g;if(g){c=0;b=0;while(1){d=v[a+32>>2];if(d>>>0>2]){v[a+32>>2]=d+1;d=t[d|0]}else{d=0}f=d<<24>>24;j=f&255;b:{if(f&128){c=He(a)+c|0;u[e+(b<<1)>>1]=c;b=b+1|0;d=0;f=j&127;if(!f){break b}while(1){c=He(a)+c|0;u[e+(b<<1)>>1]=c;b=b+1|0;if(g>>>0<=b>>>0){break b}d=d+1|0;if(f>>>0>d>>>0){continue}break}break b}i=e+(b<<1)|0;d=v[a+32>>2];if(d>>>0>2]){v[a+32>>2]=d+1;d=t[d|0]}else{d=0}c=(d<<24>>24&255)+c|0;u[i>>1]=c;b=b+1|0;d=0;if(!f){break b}while(1){i=e+(b<<1)|0;f=v[a+32>>2];if(f>>>0>2]){v[a+32>>2]=f+1;f=t[f|0]}else{f=0}c=(f<<24>>24&255)+c|0;u[i>>1]=c;b=b+1|0;if(g>>>0<=b>>>0){break b}d=d+1|0;if(j>>>0>d>>>0){continue}break}}if(b>>>0>>0){continue}break}}d=e}Qb=h+16|0;return d}function OCa(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;h=Qb-128|0;Qb=h;d=v[a+28>>2];a:{if(v[d+664>>2]){d=-1;a=v[a+108>>2];b:{if(!a){break b}a=v[a+4>>2];if(v[a+8>>2]==13){break b}a=v[a+16>>2];d=Ub[v[v[a>>2]+52>>2]](a)|0}kc(0,d,245262,0);break a}d=v[d+116>>2];if((Ub[v[v[d>>2]+28>>2]](d)|0)!=(c|0)){d=-1;a=v[a+108>>2];c:{if(!a){break c}a=v[a+4>>2];if(v[a+8>>2]==13){break c}a=v[a+16>>2];d=Ub[v[v[a>>2]+52>>2]](a)|0}kc(1,d,288099,0);break a}d=0;e=v[a+28>>2];g=v[e+380>>2];if(g){Ub[v[v[g>>2]+4>>2]](g)}v[e+380>>2]=0;d:{if((c|0)<1){break d}if((c|0)!=1){g=c&-2;while(1){i=(d<<2)+h|0;e=(d<<4)+b|0;f=(v[e>>2]==1?+v[e+8>>2]:A[e+8>>3])*65536;e:{if(D(f)<2147483648){e=~~f;break e}e=-2147483648}v[i>>2]=e;i=d|1;e=(i<<4)+b|0;f=(v[e>>2]==1?+v[e+8>>2]:A[e+8>>3])*65536;f:{if(D(f)<2147483648){e=~~f;break f}e=-2147483648}v[(i<<2)+h>>2]=e;d=d+2|0;g=g-2|0;if(g){continue}break}}if(!(c&1)){break d}c=(d<<2)+h|0;b=(d<<4)+b|0;f=(v[b>>2]==1?+v[b+8>>2]:A[b+8>>3])*65536;g:{if(D(f)<2147483648){b=~~f;break g}b=-2147483648}v[c>>2]=b}gc(v[a+28>>2]+124|0,h,128);b=v[a+8>>2];Ub[v[v[b>>2]+116>>2]](b,v[a+28>>2])}Qb=h+128|0}function eK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Qb-176|0;Qb=c;d=w[a+13|0];e=w[a+12|0];v[c+168>>2]=w[a+52|0];v[c+164>>2]=d;v[c+160>>2]=e;wc(b,44259,c+160|0);d=v[a+16>>2];v[c+144>>2]=0;v[c+148>>2]=0;A[c+152>>3]=+(d|0)*152587890625e-16;Ph(b,45065,c+144|0);d=v[a+20>>2];v[c+128>>2]=0;v[c+132>>2]=1;A[c+136>>3]=+(d|0)*152587890625e-16;Ph(b,45065,c+128|0);d=v[a+24>>2];v[c+112>>2]=0;v[c+116>>2]=2;A[c+120>>3]=+(d|0)*152587890625e-16;Ph(b,45065,c+112|0);ff(10,b);d=v[a+28>>2];v[c+96>>2]=1;v[c+100>>2]=0;A[c+104>>3]=+(d|0)*152587890625e-16;Ph(b,45065,c+96|0);d=v[a+32>>2];v[c+80>>2]=1;v[c+84>>2]=1;A[c+88>>3]=+(d|0)*152587890625e-16;Ph(b,45065,c+80|0);d=v[a+36>>2];v[c+64>>2]=1;v[c+68>>2]=2;A[c+72>>3]=+(d|0)*152587890625e-16;Ph(b,45065,c- -64|0);ff(10,b);d=v[a+40>>2];v[c+48>>2]=2;v[c+52>>2]=0;A[c+56>>3]=+(d|0)*152587890625e-16;Ph(b,45065,c+48|0);d=v[a+44>>2];v[c+32>>2]=2;v[c+36>>2]=1;A[c+40>>3]=+(d|0)*152587890625e-16;Ph(b,45065,c+32|0);d=v[a+48>>2];v[c+16>>2]=2;v[c+20>>2]=2;A[c+24>>3]=+(d|0)*152587890625e-16;Ph(b,45065,c+16|0);ff(10,b);d=v[a+60>>2];v[c+4>>2]=v[a+72>>2];v[c>>2]=d;wc(b,46545,c);Qb=c+176|0}function ydb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=v[v[a+536>>2]+88>>2];d=(v[d+1176>>2]+B(v[d+1168>>2],v[a+572>>2])|0)+B(v[d+1164>>2],v[a+580>>2])|0;e=v[a+644>>2];a:{b:{switch(w[a+2253|0]-3|0){case 0:if(v[a+588>>2]<=0){break a}while(1){b=w[d|0]|w[d+1|0]<<8;c=(b<<8|b>>>8)&65535;b=w[e|0]|w[e+1|0]<<8;b=c+((b<<8|b>>>8)&65535)&65535;b=b<<8|b>>>8;t[d|0]=b;t[d+1|0]=b>>>8;b=d+2|0;c=w[b|0]|w[b+1|0]<<8;g=(c<<8|c>>>8)&65535;c=w[e+2|0]|w[e+3|0]<<8;c=g+((c<<8|c>>>8)&65535)&65535;c=c<<8|c>>>8;t[b|0]=c;t[b+1|0]=c>>>8;b=d+4|0;c=w[b|0]|w[b+1|0]<<8;g=(c<<8|c>>>8)&65535;c=w[e+4|0]|w[e+5|0]<<8;c=g+((c<<8|c>>>8)&65535)&65535;c=c<<8|c>>>8;t[b|0]=c;t[b+1|0]=c>>>8;e=e+6|0;d=d+8|0;f=f+1|0;if((f|0)>2]){continue}break};break a;case 3:break b;default:break a}}if(v[a+588>>2]<1){break a}while(1){b=w[e|0]|w[e+1|0]<<8;b=(b<<8|b>>>8)&65535;b=b<<8|b>>>8;t[d|0]=b;t[d+1|0]=b>>>8;b=w[e+2|0]|w[e+3|0]<<8;b=(b<<8|b>>>8)&65535;b=b<<8|b>>>8;t[d+2|0]=b;t[d+3|0]=b>>>8;b=w[e+4|0]|w[e+5|0]<<8;b=(b<<8|b>>>8)&65535;b=b<<8|b>>>8;t[d+4|0]=b;t[d+5|0]=b>>>8;e=e+6|0;d=d+8|0;f=f+1|0;if((f|0)>2]){continue}break}}return 0}function fU(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{if(!a|(b|0)<1){break c}while(1){d:{f=e;d=f+a|0;g=w[d|0];if(!(g&128)){if(g>>>0>=32){e=f+1|0;break d}if(!(!(1<>>0>13)){e=f+1|0;break d}break b}if((g&224)==192){e=f+2|0;if((e|0)>(b|0)){break a}d=w[d+1|0];if((d&192)!=128){break b}d=d&63|g<<6&1984;if(d>>>0>255|d>>>0>31|(1<>>0<=13:0)){break d}break b}if((g&240)==224){e=f+3|0;if((e|0)>(b|0)){break a}e:{h=w[d+1|0];if((h&192)==128){d=w[d+2|0];if((d&192)==128){break e}}break b}d=d&63|(h<<6&4032|g<<12&61440);f:{if(d>>>0<=255){if(d>>>0>31){break d}if(!(1<>>0>13){break f}break d}if(d>>>0<55296|d-57344>>>0<8190){break d}}break b}if((g&248)==240){e=f+4|0;if((e|0)>(b|0)){break a}i=w[d+1|0];if((i&192)!=128){break b}h=w[d+2|0];if((h&192)!=128){break b}d=w[d+3|0];if((d&192)!=128){break b}d=d&63|(h<<6&4032|(i<<12&258048|g<<18&1835008));g:{if(d>>>0<=255){if(d>>>0>31){break d}if(!(1<>>0>13){break g}break d}if(d>>>0<55296|d-57344>>>0<8190|d-65536>>>0<1048576){break d}}break b}e=0-f|0;break c}if((b|0)>(e|0)){continue}break}}return e}return 0-f|0}return c?0-f|0:f}function HZ(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=v[a+480>>2];b=v[a+88>>2];c=(b|0)==1;v[f+28>>2]=c;c=Ub[v[v[a+4>>2]+8>>2]](a,1,c?766:256,v[a+120>>2])|0;v[f+24>>2]=c;a:{if(v[a+120>>2]<1){break a}i=v[f+20>>2];if((b|0)==1){while(1){d=g<<2;b=v[(d+f|0)+32>>2];c=c+d|0;v[c>>2]=v[c>>2]+255;h=b-1|0;j=h<<1;e=(b+254|0)/(j|0)|0;i=(i|0)/(b|0)|0;d=v[d+v[f+24>>2]>>2];c=0;b=0;while(1){if((b|0)>(e|0)){while(1){c=c+1|0;e=(h+B(c<<1|1,255)|0)/(j|0)|0;if((e|0)<(b|0)){continue}break}}t[b+d|0]=B(c,i);b=b+1|0;if((b|0)!=256){continue}break}c=1;while(1){e=d-c|0;t[e|0]=w[d|0];b=c+d|0;t[b+255|0]=w[d+255|0];t[d+(c^-1)|0]=w[d|0];t[b+256|0]=w[d+255|0];t[e-2|0]=w[d|0];t[b+257|0]=w[d+255|0];c=c+3|0;if((c|0)!=256){continue}break}g=g+1|0;if((g|0)>=v[a+120>>2]){break a}c=v[f+24>>2];continue}}while(1){h=g<<2;b=v[(h+f|0)+32>>2];j=b-1|0;d=j<<1;e=(b+254|0)/(d|0)|0;i=(i|0)/(b|0)|0;h=v[c+h>>2];c=0;b=0;while(1){if((b|0)>(e|0)){while(1){c=c+1|0;e=(j+B(c<<1|1,255)|0)/(d|0)|0;if((e|0)<(b|0)){continue}break}}t[b+h|0]=B(c,i);b=b+1|0;if((b|0)!=256){continue}break}g=g+1|0;if((g|0)>=v[a+120>>2]){break a}c=v[f+24>>2];continue}}}function fl(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=Qb-192|0;Qb=e;a:{if(!c|!b){break a}b:{if(v[a+256>>2]!=1?a:0){break b}c:{d=w[b|0];if(d&128){if((w[b+1|0]&192)!=128){break c}d:{if((d&224)==224){if((w[b+2|0]&192)!=128){break c}if((d&240)==240){if((d&248)!=240|(w[b+3|0]&192)!=128){break c}d=b+3|0;v[c>>2]=4;b=(w[b+1|0]&63)<<12|(w[b|0]&7)<<18|(w[b+2|0]&63)<<6;break d}d=b+2|0;v[c>>2]=3;b=(w[b+1|0]&63)<<6|(w[b|0]&15)<<12;break d}d=b+1|0;v[c>>2]=2;b=(w[b|0]&31)<<6}d=b|w[d|0]&63;e:{if(d>>>0<=255){if(d>>>0>31){break a}if(!(1<>>0>13){break e}break a}if(d>>>0<55296|d-57344>>>0<8190|d-65536>>>0<1048576){break a}}Wy(a,352889,d);break a}break b}f:{g:{if(!a){break g}d=v[a+36>>2];if(!d){break g}f=v[d+20>>2];d=v[d+16>>2];if((f-d|0)>3){break f}}d=0;v[c>>2]=0;break a}f=w[d|0];g=w[d+1|0];h=w[d+2|0];v[e+28>>2]=w[d+3|0];v[e+24>>2]=h;v[e+20>>2]=g;v[e+16>>2]=f;Ai(e+32|0,149,354752,e+16|0);h:{if(v[a+172>>2]==-1?v[a+212>>2]:0){break h}v[a+84>>2]=9;v[e+4>>2]=0;d=e+32|0;v[e>>2]=d;oc(0,0,0,a,0,1,9,3,d,0,0,0,237225,e);v[a+12>>2]=0;if(v[a+288>>2]){break h}v[a+212>>2]=1}}v[c>>2]=1;d=w[b|0]}Qb=e+192|0;return d}function g1(a,b,c,d,e,f,g,h,i,j,k){var l=0,m=0;m=Qb-16|0;Qb=m;l=yg(a,b);b=yg(a,c);v[m+12>>2]=b;a:{if(!l){c=1045;pc(a,1045,0,0);break a}if(b){c=1046;pc(a,1046,0,0);break a}b=e?!f:w[l+31|0];f=(g|0)==1;b:{c:{switch(d-1|0){default:c=zJ(a,c,0,b<<24>>24,f,h,i,j,k,l,m+12|0);break b;case 0:c=zJ(a,c,1,b<<24>>24,f,h,i,j,k,l,m+12|0);break b;case 1:break c}}t[l+31|0]=b;d:{if(!h){break d}if(!i){v[l+40>>2]=k;v[l+36>>2]=j;break d}v[l+36>>2]=v[l+36>>2]+j;v[l+40>>2]=v[l+40>>2]+k}e:{if(!c){break e}d=0;e=v[a+692>>2];f:{if(!e){g=1;break f}while(1){b=x[e+28>>1];g=b>>>0>c>>>0;if(b>>>0<=c>>>0){d=e;break f}e=v[e+12>>2];if(e){continue}break}}b=v[l+12>>2];if((b|0)==(d|0)){break e}h=a+692|0;e=v[l+8>>2];g:{if(b){v[b+8>>2]=e;e=v[l+8>>2];break g}v[a+688>>2]=e}v[(e?e+12|0:h)>>2]=b;h:{if(!g){v[l+12>>2]=d;v[l+8>>2]=v[d+8>>2];v[d+8>>2]=l;e=v[l+8>>2];break h}e=v[a+688>>2];v[l+8>>2]=e;v[a+688>>2]=l}v[(e?e+12|0:h)>>2]=l}u[l+28>>1]=c;if(f){t[v[l+88>>2]+33|0]=0}v[m+12>>2]=l;c=0}if(c){break a}c=0;b=v[m+12>>2];if(!w[b+32|0]|!w[b+31|0]){break a}v[a+532>>2]=b;fh(a,b,0);if(!w[a+497|0]){break a}t[a+498|0]=5}Qb=m+16|0;return c}function S1(a){var b=0,c=0;c=Qb-16|0;Qb=c;b=Ub[119](3752)|0;a:{if(!b){a=0;break a}v[b+184>>2]=0;v[b+4>>2]=a;v[b>>2]=1381173770;v[b+960>>2]=0;v[b+964>>2]=0;v[b+156>>2]=120;v[b+152>>2]=119;v[b+124>>2]=1e4;v[b+128>>2]=1e4;v[b+116>>2]=8481;v[b+120>>2]=0;v[b+112>>2]=16842753;v[b+104>>2]=-501652180;v[b+108>>2]=1071454040;v[b+96>>2]=-1717986918;v[b+100>>2]=1073846681;v[b+88>>2]=0;v[b+92>>2]=1072693248;t[b+86|0]=1;a=0;u[b+84>>1]=0;v[b+80>>2]=0;v[b+52>>2]=0;v[b+56>>2]=0;v[b+160>>2]=0;v[b+164>>2]=0;v[b+168>>2]=0;v[b+172>>2]=0;v[b+176>>2]=0;v[b+180>>2]=0;ic(b+188|0,0,76);if(O1(b,0,1,1,1,0,0,0,0,0,0,0,c+12|0)){Ub[v[b+156>>2]](b,3752);break a}a=v[c+12>>2];v[b+372>>2]=0;v[b+376>>2]=0;t[b+370|0]=0;v[b+528>>2]=a;v[b+380>>2]=0;v[b+384>>2]=0;v[b+388>>2]=0;v[b+392>>2]=0;v[b+396>>2]=0;v[b+400>>2]=0;v[b+404>>2]=0;v[b+408>>2]=0;v[b+412>>2]=0;u[b+2420>>1]=0;v[b+2380>>2]=b;v[b+2376>>2]=753;v[b+2372>>2]=754;v[b+2440>>2]=4096;u[b+2436>>1]=0;v[b+2432>>2]=0;v[b+2424>>2]=0;v[b+2428>>2]=100;v[b+2412>>2]=0;v[b+2416>>2]=4096;v[b+2404>>2]=15;v[b+2408>>2]=9;v[b+2396>>2]=9;v[b+2400>>2]=8;CJ(b);a=b}Qb=c+16|0;return a}function FZa(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,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;f=3;a:{if((d|0)<0){break a}g=v[a+8>>2];h=v[a+12>>2];i=x[h+2>>1];if((e|0)<0|y[g+4>>2]>>0){break a}k=x[h>>1];if(y[g>>2]>>0){break a}i=B(i,w[a+18|0]);if((B(i,k)+7>>>3|0)+b>>>0>c>>>0){break a}f=0;if(!i|!k){break a}l=d&7;a=8-l|0;j=a>>>0>i>>>0?i:a;p=(255<>2];h=v[g+12>>2]+(B(n,e)+(d>>>3|0)|0)|0;q=i-j|0;o=8-j|0;e=0;g=0;d=k;while(1){m=d;b:{if(!l){f=b;d=h;a=i;break b}c:{if((k|0)==(m|0)){e=w[b|0];b=b+1|0;a=l;break c}if((g|0)<(j|0)){a=g+o|0;if(b>>>0>=c>>>0){break c}e=w[b|0]|e;b=b+1|0;a=g+o|0;break c}e=(e&65280)>>>8|0;a=g-j|0}g=a;f=b;t[h|0]=w[h|0]|(e&65535)>>>g&p;e=e<<8;d=h+1|0;a=q}if((a|0)>=8){while(1){b=w[f|0]|e;t[d|0]=w[d|0]|(b&65535)>>>g;d=d+1|0;f=f+1|0;e=b<<8;b=(a|0)>15;a=a-8|0;if(b){continue}break}}d:{if((a|0)>=1){if((a|0)>(g|0)){if(c>>>0<=f>>>0){b=f}else{e=w[f|0]|e;b=f+1|0}t[d|0]=w[d|0]|(e&65535)>>>g&65280>>>a;e=e<<8;g=(g-a|0)+8|0;break d}t[d|0]=w[d|0]|65280>>>a&(e&65535)>>>g;g=g-a|0}b=f}h=h+n|0;d=m-1|0;if((m|0)>1){continue}break}f=0}return f|0}function Era(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=Qb-16|0;Qb=e;g=fc(352);a:{b:{c:{d:{e:{f:{d=v[b>>2];g:{if(!d){v[e>>2]=0;break g}v[299999]=0;v[d+4>>2]=v[d+4>>2]+1;d=v[299999];v[299999]=0;if((d|0)==1){break f}b=v[b>>2];v[e>>2]=b;if(!b){break g}v[299999]=0;v[b+4>>2]=v[b+4>>2]+1;d=v[299999];v[299999]=0;f=b;if((d|0)==1){break e}}v[299999]=0;v[e+8>>2]=f;Q(4426,g|0,e+8|0)|0;b=v[299999];v[299999]=0;h:{if((b|0)!=1){b=v[e+8>>2];v[e+8>>2]=0;if(!b){break h}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;h=v[299999];v[299999]=0;if((h|0)!=1){if(d){break h}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break h}}break a}f=P()|0;O()|0;ec(e+8|0);break d}v[g>>2]=981976;v[e>>2]=0;i:{if(!f){break i}v[299999]=0;b=v[f+4>>2]-1|0;v[f+4>>2]=b;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(b){break i}v[299999]=0;R(4338,f|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}v[a>>2]=0;Wc(a,g);v[299999]=0;V(4427,g|0,c|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}b=P()|0;O()|0;ec(a);T(b|0);L()}f=P()|0;O()|0;break c}f=P()|0;O()|0}ec(e)}dc(g);T(f|0);L()}Qb=e+16|0;return}W(0)|0;O()|0;lc();L()}function iaa(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;k=Qb-16|0;Qb=k;a:{if(a){a=TL(c);b:{if(b){Ub[v[v[a>>2]+44>>2]](k,a);b=v[k>>2];t[d|0]=b;t[d+1|0]=b>>>8;t[d+2|0]=b>>>16;t[d+3|0]=b>>>24;Ub[v[v[a>>2]+32>>2]](k,a);break b}Ub[v[v[a>>2]+40>>2]](k,a);b=v[k>>2];t[d|0]=b;t[d+1|0]=b>>>8;t[d+2|0]=b>>>16;t[d+3|0]=b>>>24;Ub[v[v[a>>2]+28>>2]](k,a)}Fl(i,k);le(k);l=e,m=Ub[v[v[a>>2]+12>>2]](a)|0,v[l>>2]=m;l=f,m=Ub[v[v[a>>2]+16>>2]](a)|0,v[l>>2]=m;Ub[v[v[a>>2]+20>>2]](k,a);Nh(g,k);Mc(k);Ub[v[v[a>>2]+24>>2]](k,a);Fl(h,k);le(k);a=Ub[v[v[a>>2]+36>>2]](a)|0;break a}a=SL(c);c:{if(b){Ub[v[v[a>>2]+44>>2]](k,a);b=v[k>>2];t[d|0]=b;t[d+1|0]=b>>>8;t[d+2|0]=b>>>16;t[d+3|0]=b>>>24;Ub[v[v[a>>2]+32>>2]](k,a);break c}Ub[v[v[a>>2]+40>>2]](k,a);b=v[k>>2];t[d|0]=b;t[d+1|0]=b>>>8;t[d+2|0]=b>>>16;t[d+3|0]=b>>>24;Ub[v[v[a>>2]+28>>2]](k,a)}Fl(i,k);le(k);l=e,m=Ub[v[v[a>>2]+12>>2]](a)|0,v[l>>2]=m;l=f,m=Ub[v[v[a>>2]+16>>2]](a)|0,v[l>>2]=m;Ub[v[v[a>>2]+20>>2]](k,a);Nh(g,k);Mc(k);Ub[v[v[a>>2]+24>>2]](k,a);Fl(h,k);le(k);a=Ub[v[v[a>>2]+36>>2]](a)|0}v[j>>2]=a;Qb=k+16|0}function dZa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;e=c<<2;h=v[e+v[b+8>>2]>>2];k=v[e+v[b+4>>2]>>2];b=v[b>>2]+(c<<3)|0;i=v[b>>2];l=v[b+4>>2];c=v[d+4>>2];d=v[d>>2];e=v[a+332>>2];b=v[a+472>>2];n=v[b+28>>2];o=v[b+24>>2];p=v[b+20>>2];q=v[b+16>>2];b=v[a+112>>2];if(b>>>0>=2){m=b>>>1|0;while(1){f=w[k|0]<<2;b=v[f+p>>2];j=w[h|0]<<2;r=v[j+o>>2];s=v[f+n>>2];f=v[j+q>>2];g=w[i|0];t[d|0]=w[(f+g|0)+e|0];j=r+s>>16;t[d+1|0]=w[(j+g|0)+e|0];t[d+2|0]=w[(b+g|0)+e|0];g=w[i+1|0];t[d+3|0]=w[(g+f|0)+e|0];t[d+4|0]=w[(g+j|0)+e|0];t[d+5|0]=w[(b+g|0)+e|0];g=w[l|0];t[c|0]=w[(g+f|0)+e|0];t[c+1|0]=w[(g+j|0)+e|0];t[c+2|0]=w[(b+g|0)+e|0];g=f;f=w[l+1|0];t[c+3|0]=w[(g+f|0)+e|0];t[c+4|0]=w[(f+j|0)+e|0];t[c+5|0]=w[(b+f|0)+e|0];c=c+6|0;l=l+2|0;d=d+6|0;i=i+2|0;h=h+1|0;k=k+1|0;m=m-1|0;if(m){continue}break}b=v[a+112>>2]}if(b&1){b=w[k|0]<<2;a=v[b+p>>2];h=w[h|0]<<2;k=v[h+o>>2];f=v[b+n>>2];h=v[h+q>>2];b=w[i|0];t[d|0]=w[(h+b|0)+e|0];i=f+k>>16;t[d+1|0]=w[(i+b|0)+e|0];t[d+2|0]=w[(a+b|0)+e|0];b=w[l|0];t[c|0]=w[(b+h|0)+e|0];t[c+1|0]=w[(b+i|0)+e|0];t[c+2|0]=w[(a+b|0)+e|0]}}function Hk(a,b){var c=0,d=0,e=0,f=0,g=0;c=-1;a:{d=v[a+8>>2];b:{if(d&7){break b}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break a}c=-1;e=v[a+28>>2];v[a+28>>2]=e-1;c:{if((e|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;e=w[c|0];break c}e=Hc(a,1);if((e|0)==-1){break b}d=v[a+8>>2]}c=-1;if(d&7){break b}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break a}c=-1;f=v[a+28>>2];v[a+28>>2]=f-1;d:{if((f|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;f=w[c|0];break d}f=Hc(a,1);if((f|0)==-1){break b}d=v[a+8>>2]}c=-1;if(d&7){break b}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break a}c=-1;g=v[a+28>>2];v[a+28>>2]=g-1;e:{if((g|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;g=w[c|0];break e}g=Hc(a,1);if((g|0)==-1){break b}d=v[a+8>>2]}c=-1;if(d&7){break b}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break a}c=-1;d=v[a+28>>2];v[a+28>>2]=d-1;f:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=a;a=v[a+24>>2];v[c+24>>2]=a+1;a=w[a|0];break f}a=Hc(a,1);if((a|0)==-1){break b}}c=0;if(!b){break b}v[b>>2]=a<<24|(g<<24|(e<<16&16711680|f<<24)>>>8)>>>8}return c}v[a+8>>2]=d|4;return-1}function l9a(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;a:{b:{if(!(w[a+301|0]?w[a+285|0]:0)|(w[a+286|0]|w[a+287|0])){break b}if(w[a+288|0]|w[a+289|0]){break b}c:{d:{if(w[a+114|0]){e:{f=Ub[v[a+152>>2]](36)|0;if(!f){break d}v[f+4>>2]=735;v[f>>2]=736;g=v[a+700>>2];f:{if(g){v[g+8>>2]=f;break f}v[a+696>>2]=f}v[f+8>>2]=0;v[f+12>>2]=g;v[a+700>>2]=f;v[f+16>>2]=v[a+436>>2];v[f+20>>2]=v[a+440>>2];v[f+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=f}v[a+2336>>2]=f;v[f+28>>2]=c;if(!c){break e}g=f;f=Ub[v[a+152>>2]](c+1|0)|0;v[g+32>>2]=f;if(!f){break d}gc(f,d,c)}}f=0;break c}pc(a,1,0,0);f=1}g:{if(f){break g}h:{if(!v[a+200>>2]){break h}g=c+1|0;f=Ub[v[a+152>>2]](g)|0;if(!f){break a}if(c){gc(f,d,c)}h=Ub[v[a+200>>2]](a,f)|0;Ub[v[a+156>>2]](f,g);if(h){break h}pc(a,904,0,0);return 904}f=Tv(a);if(f){break g}i:{if(!w[a+112|0]){break i}f=Ub[v[b+4>>2]](a,b,e)|0;if(f){break g}v[v[e>>2]+32>>2]=c;if(!c){break i}b=Ub[v[a+152>>2]](c+1|0)|0;v[v[e>>2]+36>>2]=b;b=v[v[e>>2]+36>>2];if(!b){break a}gc(b,d,c)}f=0}return f|0}pc(a,1029,0,0);return 1029}pc(a,1,0,0);return 1}function iUa(a,b,c,d,e,f){a=a|0;b=b|0;c=+c;d=+d;e=+e;f=+f;var g=0,h=0,i=0,j=0,k=0;g=Qb-32|0;Qb=g;k=A[v[a+16>>2]+24>>3];A[g+24>>3]=d;A[g+16>>3]=c;A[g+8>>3]=e;A[g>>3]=c;i=Ub[v[v[a>>2]+508>>2]](a)|0;ke(i,g+24|0,g+16|0);ke(i,g+8|0,g);c=A[g+24>>3];d=A[g+8>>3];i=a;e=k*f/25.4+.5;a:{if(D(e)<2147483648){h=~~e;break a}h=-2147483648}h=h?h:1;e=+(h|0);A[i+40>>3]=e;if(D(d)<2147483648){i=~~d}else{i=-2147483648}if(D(c)<2147483648){j=~~c}else{j=-2147483648}c=+(j|0);b:{c:{d:{switch(b|0){case 0:d=A[g+16>>3];b=v[v[a+20>>2]+4>>2];t[b+25|0]=0;v[b+20>>2]=0;v[b>>2]=0;b=v[a+20>>2];e=e*.5;if(D(d)<2147483648){h=~~d}else{h=-2147483648}f=e+(+(h|0)+.5)+-.5;tj(b,c,f);break c;case 1:d=A[g+16>>3];b=v[v[a+20>>2]+4>>2];t[b+25|0]=0;v[b+20>>2]=0;v[b>>2]=0;h=h&1;b=v[a+20>>2];e=c;if(D(d)<2147483648){j=~~d}else{j=-2147483648}c=+(j|0)+.5;f=h?c:c+-.5;tj(b,e,f);break c;case 2:break d;default:break b}}d=A[g+16>>3];b=v[v[a+20>>2]+4>>2];t[b+25|0]=0;v[b+20>>2]=0;v[b>>2]=0;e=e*.5;b=v[a+20>>2];if(D(d)<2147483648){h=~~d}else{h=-2147483648}f=+(h|0)+.5-e+.5;tj(b,c,f)}im(v[a+20>>2],+(i+1|0),f);Ub[v[v[a>>2]+532>>2]](a)}Qb=g+32|0}function Wbb(a){a=a|0;var 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;e=v[a+636>>2]+v[a+616>>2]|0;d=v[a+644>>2];f=v[a+540>>2];if(!f){f=v[v[a+528>>2]+88>>2]}a:{if(w[f+56|0]){if(v[a+588>>2]<=0){break a}while(1){c=w[e+2|0]|w[e+3|0]<<8;j=(c<<8|c>>>8)&65535;c=w[e+4|0]|w[e+5|0]<<8;k=(c<<8|c>>>8)&65535;l=d;c=w[e|0]|w[e+1|0]<<8;c=(c<<8|c>>>8)&65535;b:{if(!((c|0)!=x[f+838>>1]|(j|0)!=x[f+840>>1])){b=0;h=0;g=0;i=0;if(x[f+842>>1]==(k|0)){break b}}h=65535;b=j;g=c;i=k}c=i;g=g<<8|g>>>8;t[l|0]=g;t[l+1|0]=g>>>8;b=b<<8|b>>>8;t[d+2|0]=b;t[d+3|0]=b>>>8;c=c<<8|c>>>8;t[d+4|0]=c;t[d+5|0]=c>>>8;c=h<<8|h>>>8;t[d+6|0]=c;t[d+7|0]=c>>>8;d=d+8|0;e=e+6|0;m=m+1|0;if((m|0)>2]){continue}break}break a}if(v[a+588>>2]<=0){n=1;break a}while(1){b=w[e|0]|w[e+1|0]<<8;b=(b<<8|b>>>8)&65535;b=b<<8|b>>>8;t[d|0]=b;t[d+1|0]=b>>>8;b=w[e+2|0]|w[e+3|0]<<8;b=(b<<8|b>>>8)&65535;b=b<<8|b>>>8;t[d+2|0]=b;t[d+3|0]=b>>>8;b=w[e+4|0]|w[e+5|0]<<8;b=(b<<8|b>>>8)&65535;b=b<<8|b>>>8;t[d+4|0]=b;t[d+5|0]=b>>>8;t[d+6|0]=255;t[d+7|0]=255;d=d+8|0;e=e+6|0;n=1;c=c+1|0;if((c|0)>2]){continue}break}}t[a+649|0]=n;return 0}function Npa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;v[a+12>>2]=0;v[a+16>>2]=0;v[a>>2]=982844;v[a+4>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;v[299999]=0;b=a+12|0;v[b>>2]=982500;v[b+4>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;d=b;b=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{g:{h:{if((b|0)!=1){v[299999]=0;b=a+28|0;v[b+20>>2]=-1;v[b+12>>2]=-1;v[b+16>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;v[b>>2]=982876;c=v[299999];v[299999]=0;if((c|0)==1){break h}v[a+52>>2]=0;v[a+56>>2]=0;v[a+76>>2]=0;v[a+68>>2]=0;v[a+72>>2]=0;v[a+60>>2]=0;v[a+64>>2]=0;v[299999]=0;e=Q(4475,a+52|0,982896)|0;c=v[299999];v[299999]=0;if((c|0)==1){break g}v[a+80>>2]=0;v[a+84>>2]=0;v[a+104>>2]=0;v[a+96>>2]=0;v[a+100>>2]=0;v[a+88>>2]=0;v[a+92>>2]=0;v[299999]=0;f=Q(4475,a+80|0,982896)|0;c=v[299999];v[299999]=0;if((c|0)==1){break f}v[a+108>>2]=0;v[a+112>>2]=0;v[a+132>>2]=0;v[a+124>>2]=0;v[a+128>>2]=0;v[a+116>>2]=0;v[a+120>>2]=0;v[299999]=0;Q(4475,a+108|0,982896)|0;c=v[299999];v[299999]=0;if((c|0)==1){break e}return a|0}c=P()|0;O()|0;break a}c=P()|0;O()|0;break b}c=P()|0;O()|0;break c}c=P()|0;O()|0;break d}c=P()|0;O()|0;id(f)}id(e)}fd(b)}Ic(d)}Qc(a);T(c|0);L()}function qG(a,b,c,d,e,f,g,h,i,j,k){var l=0,m=0,n=0,o=0,p=0;m=Qb-16|0;Qb=m;v[m+12>>2]=0;p=b;n=w[v[a+24>>2]+200|0];if((n|0)==12){o=v[a+48>>2]}else{o=(n|0)==219?1:-1}l=a+37|0;n=v[d>>2];e=pG(p,o<<24>>24,l,c,n,e-n|0,m+12|0,j);a:{b:{if((e|0)>=1){v[d>>2]=v[d>>2]+(e-c|0);c=v[m+12>>2];if(c>>>0<=3145727){rG(a,c-2031616|0,f,g,h,i,k);break b}sG(a,(v[b+12>>2]+b|0)+((c&262143)<<1)|0,(c>>>18|0)-12|0,f,g,h,i,k);b=1;break a}b=0;if((e|0)>-1){break a}t[a+255|0]=c;b=0;if((c|0)>=1){j=c&3;if(c-1>>>0>=3){f=c&-4;g=a+222|0;while(1){t[b+g|0]=w[l|0];t[g+(b|1)|0]=w[l+1|0];t[g+(b|2)|0]=w[l+2|0];t[g+(b|3)|0]=w[l+3|0];b=b+4|0;l=l+4|0;f=f-4|0;if(f){continue}break}}if(j){while(1){t[(a+b|0)+222|0]=w[l|0];b=b+1|0;l=l+1|0;j=j-1|0;if(j){continue}break}}b=c}l=v[d>>2];c=0-e|0;c:{if((c|0)<=(b|0)){break c}f=(e^-1)-b|0;e=c-b&3;if(e){while(1){t[(a+b|0)+222|0]=w[l|0];b=b+1|0;l=l+1|0;e=e-1|0;if(e){continue}break}}if(f>>>0<3){break c}while(1){e=a+b|0;t[e+222|0]=w[l|0];t[e+223|0]=w[l+1|0];t[e+224|0]=w[l+2|0];t[e+225|0]=w[l+3|0];l=l+4|0;b=b+4|0;if((c|0)!=(b|0)){continue}break}}v[d>>2]=l;t[a+254|0]=c}b=1}Qb=m+16|0;return b}function naa(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;k=Qb-16|0;Qb=k;a:{if(a){a=YL(c);b:{if(b){Ub[v[v[a>>2]+44>>2]](k,a);b=v[k>>2];t[d|0]=b;t[d+1|0]=b>>>8;t[d+2|0]=b>>>16;t[d+3|0]=b>>>24;Ub[v[v[a>>2]+32>>2]](k,a);break b}Ub[v[v[a>>2]+40>>2]](k,a);b=v[k>>2];t[d|0]=b;t[d+1|0]=b>>>8;t[d+2|0]=b>>>16;t[d+3|0]=b>>>24;Ub[v[v[a>>2]+28>>2]](k,a)}Nh(i,k);Mc(k);l=e,m=Ub[v[v[a>>2]+12>>2]](a)|0,t[l|0]=m;l=f,m=Ub[v[v[a>>2]+16>>2]](a)|0,t[l|0]=m;Ub[v[v[a>>2]+20>>2]](k,a);Nh(g,k);Mc(k);Ub[v[v[a>>2]+24>>2]](k,a);Nh(h,k);Mc(k);a=Ub[v[v[a>>2]+36>>2]](a)|0;break a}a=XL(c);c:{if(b){Ub[v[v[a>>2]+44>>2]](k,a);b=v[k>>2];t[d|0]=b;t[d+1|0]=b>>>8;t[d+2|0]=b>>>16;t[d+3|0]=b>>>24;Ub[v[v[a>>2]+32>>2]](k,a);break c}Ub[v[v[a>>2]+40>>2]](k,a);b=v[k>>2];t[d|0]=b;t[d+1|0]=b>>>8;t[d+2|0]=b>>>16;t[d+3|0]=b>>>24;Ub[v[v[a>>2]+28>>2]](k,a)}Nh(i,k);Mc(k);l=e,m=Ub[v[v[a>>2]+12>>2]](a)|0,t[l|0]=m;l=f,m=Ub[v[v[a>>2]+16>>2]](a)|0,t[l|0]=m;Ub[v[v[a>>2]+20>>2]](k,a);Nh(g,k);Mc(k);Ub[v[v[a>>2]+24>>2]](k,a);Nh(h,k);Mc(k);a=Ub[v[v[a>>2]+36>>2]](a)|0}v[j>>2]=a;Qb=k+16|0}function dJa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;a:{b:{c:{if(!a){break c}d:{d=v[a+52>>2];if(!d|v[d+4>>2]==18){break d}d=v[d+16>>2];if(!d|v[d+4>>2]!=4){break d}e=v[d+40>>2];if((e|0)==(d+44|0)){break b}a=v[d+32>>2];e:{if(!a){break e}f=v[a+80>>2];if(!f){break e}if(!e){break b}while(1){a=v[f+16>>2];if(a){while(1){if(e>>>0<=y[a+4>>2]&e>>>0>=a+20>>>0){break b}a=v[a>>2];if(a){continue}break}}f=v[f+20>>2];if(f){continue}break}}a=VF(e,b,c);break a}f=v[a+8>>2];e=Qb-16|0;Qb=e;d=Ub[v[259704]](60)|0;f:{if(!d){v[e>>2]=322466;oc(0,0,0,0,0,2,2,3,322466,0,0,0,350051,e);d=0;break f}v[d>>2]=0;v[d+4>>2]=0;v[d+32>>2]=0;v[d+36>>2]=0;v[d+56>>2]=0;v[d+48>>2]=0;v[d+52>>2]=0;v[d+40>>2]=0;v[d+44>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d+4>>2]=4;v[d+32>>2]=f;if(b){f=0;g:{if((c|0)<0){break g}g=Ub[v[259707]](c+1|0)|0;if(!g){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break g}f=gc(g,b,c);t[f+c|0]=0}v[d+40>>2]=f}if(!v[294265]){break f}b=v[294262];if(!b){break f}Ub[b|0](d)}Qb=e+16|0;if($f(v[a+52>>2],d)){break c}pk(d)}return}a=UF(e,b,c)}v[d+44>>2]=0;v[d+40>>2]=a}function Sx(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=A[b+24>>3];f=A[b+40>>3];a:{b:{c:{switch(v[c>>2]-1|0){case 0:e=v[c+52>>2];g=v[e+8>>2];if((g|0)<1){break b}d=d+(f-d)*.75;j=g-1|0;k=v[e>>2];e=0;while(1){i=v[(e<<2)+k>>2];if(!(!(d>3])&(e|0)!=(j|0))){Sx(a,b,i);a=v[v[v[c+52>>2]>>2]+(e<<2)>>2];d=A[a+16>>3];if(d>3]){A[c+16>>3]=d}d=A[a+24>>3];if(d>3]){A[c+24>>3]=d}d=A[a+32>>3];if(d>A[c+32>>3]){A[c+32>>3]=d}d=A[a+40>>3];if(!(d>A[c+40>>3])){break b}A[c+40>>3]=d;return}e=e+1|0;if((g|0)!=(e|0)){continue}break};break b;case 1:break a;default:break c}}Sx(a,b,v[v[v[c+52>>2]>>2]>>2]);a=v[v[v[c+52>>2]>>2]>>2];d=A[a+16>>3];if(d>3]){A[c+16>>3]=d}d=A[a+24>>3];if(d>3]){A[c+24>>3]=d}d=A[a+32>>3];if(d>A[c+32>>3]){A[c+32>>3]=d}d=A[a+40>>3];if(!(d>A[c+40>>3])){break b}A[c+40>>3]=d}return}h=A[b+16>>3];e=v[c+52>>2];d:{e:{if(!v[e+8>>2]){A[c+24>>3]=d;A[c+16>>3]=h;A[c+32>>3]=A[b+32>>3];a=c+40|0;break e}if(A[c+16>>3]>h){A[c+16>>3]=h}if(d>3]){A[c+24>>3]=d}d=A[b+32>>3];if(d>A[c+32>>3]){A[c+32>>3]=d}if(!(A[c+40>>3]>3]=f}Yl(e,0,b)}function QPa(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;f=+f;g=+g;var h=0,i=0,j=0,k=0,l=0;j=A[b>>3];a:{b:{if(j!=A[a+56>>3]|A[a- -64>>3]!=-A[c>>3]){break b}if(A[a+72>>3]!=-A[d>>3]){break b}l=A[a+80>>3];i=l==e;if(e!=l|A[a+88>>3]!=f){break b}h=0;if(A[a+96>>3]==g){break a}}h=a;k=v[a+2228504>>2];if(k){Ub[v[v[k>>2]+76>>2]](k,b,c,d,e,f,g)|0;j=A[b>>3]}A[h+56>>3]=j;A[a- -64>>3]=-A[c>>3];j=A[d>>3];A[a+96>>3]=g;A[a+88>>3]=f;A[a+80>>3]=e;A[a+72>>3]=-j;if(!i){d=v[a+268>>2];c=v[a+264>>2];b=d-c|0;c:{if(!b){break c}b=(b|0)/104|0;i=b>>>0>1?b:1;h=i&7;b=0;if(i-1>>>0>=7){i=i&-8;while(1){v[(c+B(b,104)|0)+100>>2]=1;v[(c+B(b|1,104)|0)+100>>2]=1;v[(c+B(b|2,104)|0)+100>>2]=1;v[(c+B(b|3,104)|0)+100>>2]=1;v[(c+B(b|4,104)|0)+100>>2]=1;v[(c+B(b|5,104)|0)+100>>2]=1;v[(c+B(b|6,104)|0)+100>>2]=1;v[(c+B(b|7,104)|0)+100>>2]=1;b=b+8|0;i=i-8|0;if(i){continue}break}}if(!h){break c}while(1){v[(c+B(b,104)|0)+100>>2]=1;b=b+1|0;h=h-1|0;if(h){continue}break}}if((c|0)!=(d|0)){while(1){mg(d-28|0);d=d-104|0;if((c|0)!=(d|0)){continue}break}}v[a+268>>2]=c;ic(a+276|0,255,2228224)}Ub[v[v[a>>2]+72>>2]](a);h=1}return h|0}function Pk(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=Qb-208|0;Qb=e;v[e+8>>2]=1;v[e+12>>2]=0;i=B(b,c);a:{if(!i){break a}v[e+16>>2]=c;v[e+20>>2]=c;j=0-c|0;b=c;f=b;h=2;while(1){g=b;b=(c+f|0)+b|0;v[(e+16|0)+(h<<2)>>2]=b;h=h+1|0;f=g;if(b>>>0>>0){continue}break}g=(a+i|0)+j|0;b:{if(g>>>0<=a>>>0){h=0;b=1;g=0;break b}h=1;b=1;while(1){c:{if((h&3)==3){MC(a,c,d,b,e+16|0);Nw(e+8|0,2);b=b+2|0;break c}f=b-1|0;d:{if(y[(e+16|0)+(f<<2)>>2]>=g-a>>>0){Mw(a,c,d,e+8|0,b,0,e+16|0);break d}MC(a,c,d,b,e+16|0)}if((b|0)==1){Lw(e+8|0,1);b=0;break c}Lw(e+8|0,f);b=1}f=v[e+8>>2];h=f|1;v[e+8>>2]=h;a=a+c|0;if(g>>>0>a>>>0){continue}break}h=f>>>0>1;g=v[e+12>>2]!=0}Mw(a,c,d,e+8|0,b,0,e+16|0);if(!(g?1:h|(b|0)!=1)){break a}while(1){e:{if((b|0)<=1){g=e+8|0;h=g;f=Aib(v[g>>2]-1|0);if(!f){g=Aib(v[g+4>>2]);f=g?g+32|0:0}Nw(h,f);h=v[e+8>>2];b=b+f|0;break e}f=e+8|0;Lw(f,2);v[e+8>>2]=v[e+8>>2]^7;Nw(f,1);k=a+j|0;i=e+16|0;g=b-2|0;Mw(k-v[i+(g<<2)>>2]|0,c,d,f,b-1|0,1,i);Lw(f,1);h=v[e+8>>2]|1;v[e+8>>2]=h;Mw(k,c,d,f,g,1,i);b=g}a=a+j|0;if(v[e+12>>2]|((b|0)!=1|(h|0)!=1)){continue}break}}Qb=e+208|0}function gUa(a,b,c,d,e,f){a=a|0;b=b|0;c=+c;d=+d;e=+e;f=+f;var g=0,h=0,i=0,j=0,k=0;g=Qb-32|0;Qb=g;k=A[v[a+16>>2]+24>>3];A[g+24>>3]=c;A[g+16>>3]=d;A[g+8>>3]=c;A[g>>3]=e;i=Ub[v[v[a>>2]+508>>2]](a)|0;ke(i,g+24|0,g+16|0);ke(i,g+8|0,g);c=A[g+16>>3];d=A[g>>3];i=a;e=k*f/25.4+.5;a:{if(D(e)<2147483648){h=~~e;break a}h=-2147483648}h=h?h:1;e=+(h|0);A[i+40>>3]=e;if(D(d)<2147483648){i=~~d}else{i=-2147483648}if(D(c)<2147483648){j=~~c}else{j=-2147483648}c=+(j|0);b:{c:{d:{switch(b|0){case 0:d=A[g+24>>3];b=v[v[a+20>>2]+4>>2];t[b+25|0]=0;v[b+20>>2]=0;v[b>>2]=0;b=v[a+20>>2];e=e*.5;if(D(d)<2147483648){h=~~d}else{h=-2147483648}f=e+(+(h|0)+.5)+-.5;tj(b,f,c);break c;case 1:d=A[g+24>>3];b=v[v[a+20>>2]+4>>2];t[b+25|0]=0;v[b+20>>2]=0;v[b>>2]=0;h=h&1;b=v[a+20>>2];if(D(d)<2147483648){j=~~d}else{j=-2147483648}d=+(j|0)+.5;f=h?d:d+-.5;tj(b,f,c);break c;case 2:break d;default:break b}}d=A[g+24>>3];b=v[v[a+20>>2]+4>>2];t[b+25|0]=0;v[b+20>>2]=0;v[b>>2]=0;e=e*.5;b=v[a+20>>2];if(D(d)<2147483648){h=~~d}else{h=-2147483648}f=+(h|0)+.5-e+.5;tj(b,f,c)}im(v[a+20>>2],f,+(i+1|0));Ub[v[v[a>>2]+532>>2]](a)}Qb=g+32|0}function BS(a){var 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,w=0;i=A[a+40>>3];l=A[a+32>>3];m=A[a+16>>3];d=v[a+596>>2];u=v[d+28>>2];if((u|0)>=1){p=A[a+56>>3];q=A[a+24>>3];r=A[a+48>>3];w=v[d+24>>2];while(1){d=v[(n<<2)+w>>2];o=v[d+12>>2];a:{if((o|0)<1){break a}s=v[d+4>>2];t=v[d>>2];d=0;if(!n){d=1;g=A[t>>3];e=A[s>>3];b=r+(g*m+e*l);j=b;g=p+(g*q+e*i);e=g;if((o|0)==1){break a}while(1){k=d<<3;c=A[k+t>>3];h=A[s+k>>3];f=p+(c*q+h*i);c=r+(c*m+h*l);b:{if(cj)){break b}j=c}c:{if(fg)){break c}g=f}d=d+1|0;if((o|0)!=(d|0)){continue}break}break a}while(1){k=d<<3;c=A[k+t>>3];h=A[s+k>>3];f=p+(c*q+h*i);c=r+(c*m+h*l);d:{if(cj)){break d}j=c}e:{if(fg)){break e}g=f}d=d+1|0;if((o|0)!=(d|0)){continue}break}}n=n+1|0;if((u|0)!=(n|0)){continue}break}}h=e;e=D(m);f=D(i);c=A[a+440>>3]*.5;i=(fb?e:b)*c;e=h-b;if(e>A[a+632>>3]){A[a+632>>3]=e}if(f>A[a+640>>3]){A[a+640>>3]=f}b=j+b;if(b>3]){A[a+648>>3]=b}b=g+i;if(b>3]){A[a+656>>3]=b}}function Yv(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{f=v[a+4>>2];if(!f|(b|0)<0|((c|0)<0|v[a+16>>2]<=(b|0))){break a}if(v[a+20>>2]<=(c|0)){break a}h=v[a+44>>2];b:{if(h){c:{if(!f){d=0;break c}d=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);if(!(!w[a+481|0]|(d|0)!=v[a+476>>2])){d=w[a+480|0];break c}t[a+481|0]=1;v[a+476>>2]=d;i=v[a+48>>2];k=i?i:h;d:{if((k|0)<1){d=0;break d}l=d&255;h=f+40|0;m=d>>>16&255;n=d>>>8&255;i=2e5;d=0;f=0;while(1){e=w[h+(j|1)|0]-n|0;g=B(e,e);e=w[h+j|0]-l|0;g=g+B(e,e)|0;e=w[h+(j|2)|0]-m|0;e=g+B(e,e)|0;if(!e){d=f;break d}g=e;e=(e|0)<(i|0);i=e?g:i;d=e?f:d;j=j+4|0;f=f+1|0;if((k|0)!=(f|0)){continue}break}}t[a+480|0]=d}f=x[a+26>>1];if((f|0)==8){t[v[a+56>>2]+(B(v[a+52>>2],c)+b|0)|0]=d;break b}a=(v[a+56>>2]+B(v[a+52>>2],c)|0)+(B(b,f)>>3)|0;e:{switch(f-1|0){case 3:c=a;g=w[a|0];a=B((b|0)%2|0,252)+4&252;t[c|0]=g&(15<>2]+B(v[a+52>>2],c)|0)+B(b,3)|0;t[a|0]=w[d|0];t[a+1|0]=w[d+1|0];t[a+2|0]=w[d+2|0]}}}function Xab(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0;if(e){r=e-1|0;s=e-2|0;o=(e|0)==1;while(1){a=f;t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];f=a+2|0;g=g+2|0;a:{if(!o&m>>>0>=r>>>0){break a}i=m?(m|0)==(s|0)?d:b:c;h=!m&o;if(h){if(i>>>0<2){break a}j=i-1|0;h=j&3;if(i-2>>>0>=3){j=j&-4;while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a|0];t[g+3|0]=w[a+1|0];t[g+4|0]=w[a|0];t[g+5|0]=w[a+1|0];t[g+6|0]=w[a|0];t[g+7|0]=w[a+1|0];g=g+8|0;j=j-4|0;if(j){continue}break}}if(!h){break a}while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];g=g+2|0;h=h-1|0;if(h){continue}break}break a}n=h?0:f;p=i<<1;k=i+1>>>1|0;if(i>>>0>=3){u=k>>>0>2?k:2;l=1;while(1){t[g|0]=w[a|0];j=g;q=w[n+1|0];h=w[a+1|0];if((q|0)!=(h|0)){h=h+((i+(B(q-h|0,l)<<1)|0)/(p|0)|0)|0}t[j+1|0]=h;g=g+2|0;l=l+1|0;if((u|0)!=(l|0)){continue}break}}if(i>>>0<=k>>>0){break a}while(1){t[g|0]=w[n|0];j=g;l=w[n+1|0];h=w[a+1|0];if((l|0)!=(h|0)){h=h+((i+(B(l-h|0,k)<<1)|0)/(p|0)|0)|0}t[j+1|0]=h;g=g+2|0;k=k+1|0;if((i|0)!=(k|0)){continue}break}}m=m+1|0;if((m|0)!=(e|0)){continue}break}}return 0}function Qza(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;v[a+4>>2]=0;v[a>>2]=938320;a:{b:{if(v[b>>2]==3){e=v[b+8>>2];d=v[e+4>>2];b=IC(d,322828);if(!(w[b+d|0]!=58|(b|0)>=v[e>>2])){b=fc(8);v[299999]=0;Q(3064,b|0,e|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+4>>2]=b;break a}b=335630;f=v[e>>2];c:{d:{if((f|0)<1){f=0;break d}j=f+335630|0;h=v[e+4>>2];while(1){d=(g|0)!=4;i=w[b|0];if(!((g|0)<4?i:0)){break c}d=w[h|0]-i|0;if(d){break c}b=b+1|0;h=h+1|0;g=g+1|0;if((g|0)!=(f|0)){continue}break}b=j}d=(f|0)!=4;if((f|0)==4){break c}d=w[b|0]?-1:0}if(!d){b=fc(8);v[299999]=0;c=Q(3063,b|0,335592)|0;d=v[299999];v[299999]=0;if((d|0)==1){break b}v[a+4>>2]=b;Mg(c,e);break a}b=fc(8);if(c){v[299999]=0;c=Q(3064,b|0,c|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break b}v[a+4>>2]=b;if((w[(v[c>>2]+v[c+4>>2]|0)-1|0]&239)!=47){gd(c,47)}b=v[a+4>>2];c=v[e+4>>2];if(w[c|0]==47){De(b,c+1|0,v[e>>2]-1|0);break a}Mg(b,e);break a}v[299999]=0;Q(3064,b|0,e|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+4>>2]=b;break a}kc(0,-1,262576,0);break a}a=P()|0;O()|0;dc(b);T(a|0);L()}return a|0}function bh(a){var b=0,c=0,d=0,e=0,f=0;a:{if(!a){break a}d=v[a>>2];if(!d|!v[a+12>>2]){break a}b=v[a+16>>2];if(!b){break a}c=v[d+16>>2];if(!c){break a}b:{c:{b=b-(v[c+32>>2]?0:v[c>>2])|0;if(b>>>0>=251){b=Vu(c,b-80|0);if(b){v[a+16>>2]=v[a+16>>2]-b;v[a+36>>2]=b+v[a+36>>2]}d=v[a>>2];c=v[d+16>>2];if(!c){break c}f=a;if(v[c+32>>2]){b=0}else{b=v[c+8>>2];if(!((b|0)==v[c+24>>2]|b>>>0>2147483646)){v[c+24>>2]=b}b=v[c+20>>2];e=v[c+4>>2];if(!((b|0)==(e|0)|e>>>0>2147483646)){v[c+20>>2]=e;b=e}b=b+v[c>>2]|0}v[f+20>>2]=b}if(v[c+32>>2]){break b}b=v[c+8>>2];if(!((b|0)==v[c+24>>2]|b>>>0>2147483646)){v[c+24>>2]=b}b=v[c+20>>2];e=v[c+4>>2];if(!((b|0)==(e|0)|e>>>0>2147483646)){v[c+20>>2]=e;b=e}if(b>>>0>250){break a}break b}c=0;v[a+20>>2]=0}if(!(v[d+28>>2]|!v[d+4>>2])){Vy(d,500);c=v[v[a>>2]+16>>2]}d=0;d=v[c+32>>2]|!c?d:v[c>>2];b=v[a+12>>2];if((d|0)!=(b|0)){v[a+12>>2]=d;v[a+16>>2]=(v[a+16>>2]-b|0)+d}d=0;if(!(v[c+32>>2]|!c)){b=v[c+8>>2];if(!((b|0)==v[c+24>>2]|b>>>0>2147483646)){v[c+24>>2]=b}b=v[c+20>>2];e=v[c+4>>2];if(!((b|0)==(e|0)|e>>>0>2147483646)){v[c+20>>2]=e;b=e}d=b+v[c>>2]|0}v[a+20>>2]=d}}function Yab(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0;if(e){r=e-1|0;s=e-2|0;o=(e|0)==1;while(1){a=f;t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];f=a+2|0;g=g+2|0;a:{if(!o&m>>>0>=r>>>0){break a}i=m?(m|0)==(s|0)?d:b:c;h=!m&o;if(h){if(i>>>0<2){break a}j=i-1|0;h=j&3;if(i-2>>>0>=3){j=j&-4;while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a|0];t[g+3|0]=w[a+1|0];t[g+4|0]=w[a|0];t[g+5|0]=w[a+1|0];t[g+6|0]=w[a|0];t[g+7|0]=w[a+1|0];g=g+8|0;j=j-4|0;if(j){continue}break}}if(!h){break a}while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];g=g+2|0;h=h-1|0;if(h){continue}break}break a}n=h?0:f;p=i<<1;k=i+1>>>1|0;if(i>>>0>=3){u=k>>>0>2?k:2;l=1;while(1){j=g;q=w[n|0];h=w[a|0];if((q|0)!=(h|0)){h=h+((i+(B(q-h|0,l)<<1)|0)/(p|0)|0)|0}t[j|0]=h;t[g+1|0]=w[a+1|0];g=g+2|0;l=l+1|0;if((u|0)!=(l|0)){continue}break}}if(i>>>0<=k>>>0){break a}while(1){j=g;l=w[n|0];h=w[a|0];if((l|0)!=(h|0)){h=h+((i+(B(l-h|0,k)<<1)|0)/(p|0)|0)|0}t[j|0]=h;t[g+1|0]=w[n+1|0];g=g+2|0;k=k+1|0;if((i|0)!=(k|0)){continue}break}}m=m+1|0;if((m|0)!=(e|0)){continue}break}}return 0}function iib(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;v[a+32>>2]=0;e=a+24|0;v[e>>2]=0;v[e+4>>2]=0;d=-1;a:{c=v[b+8>>2];b:{if(c&7){break b}d=v[b+64>>2];if(!((d|0)<0|(d|0)>v[b+60>>2])){break a}d=-1;c=v[b+28>>2];v[b+28>>2]=c-1;c:{if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;c=w[c|0];break c}c=Hc(b,1);if((c|0)==-1){break b}}t[a+20|0]=c;c=v[b+8>>2];if(c&7){break b}d=v[b+64>>2];if(!((d|0)<0|(d|0)>v[b+60>>2])){break a}d=-1;c=v[b+28>>2];v[b+28>>2]=c-1;d:{if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;c=w[c|0];break d}c=Hc(b,1);if((c|0)==-1){break b}}t[a+21|0]=c;c=v[b+8>>2];if(c&7){break b}d=v[b+64>>2];if(!((d|0)<0|(d|0)>v[b+60>>2])){break a}d=-1;c=v[b+28>>2];v[b+28>>2]=c-1;e:{if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;c=w[c|0];break e}c=Hc(b,1);if((c|0)==-1){break b}}t[a+22|0]=c;f:{g:{switch(w[a+20|0]-1|0){case 0:if(!bi(b,e)){break f}break b;case 1:break g;default:break f}}c=v[a+16>>2]-3|0;v[a+32>>2]=c;c=jc(c);v[a+28>>2]=c;if(!c){break b}if((Kh(b,c,v[a+32>>2])|0)!=v[a+32>>2]){break b}}d=0}return d|0}v[b+8>>2]=c|4;return-1}function _D(a,b,c){var d=0,e=0,f=0,g=0;f=v[a+4>>2];g=f+b|0;a:{b:{c:{switch(w[a+10|0]-2|0){case 0:d:{e:{switch(w[a+9|0]-8|0){case 0:e=b+1|0;d=c?b:e;f=8;c=c?e:b+2|0;if(g>>>0<=c>>>0){break d}while(1){t[d|0]=w[c|0];d=d+1|0;c=c+2|0;if(g>>>0>c>>>0){continue}break};break d;case 8:break e;default:break a}}e=b+2|0;d=c?b:e;f=16;c=c?e:b+4|0;if(g>>>0<=c>>>0){break d}while(1){t[d|0]=w[c|0];t[d+1|0]=w[c+1|0];d=d+2|0;c=c+4|0;if(g>>>0>c>>>0){continue}break}}t[a+10|0]=1;t[a+11|0]=f;if(w[a+8|0]!=4){break b}t[a+8|0]=0;break b;case 2:break c;default:break a}}f:{g:{switch(w[a+9|0]-8|0){case 0:d=(c?0:3)+b|0;e=24;c=c?1:4;if((c|0)>=(f|0)){break f}c=b+c|0;while(1){t[d|0]=w[c|0];t[d+1|0]=w[c+1|0];t[d+2|0]=w[c+2|0];d=d+3|0;c=c+4|0;if(g>>>0>c>>>0){continue}break};break f;case 8:break g;default:break a}}d=(c?0:6)+b|0;e=48;c=c?2:8;if((c|0)>=(f|0)){break f}c=b+c|0;while(1){t[d|0]=w[c|0];t[d+1|0]=w[c+1|0];t[d+2|0]=w[c+2|0];t[d+3|0]=w[c+3|0];t[d+4|0]=w[c+4|0];t[d+5|0]=w[c+5|0];d=d+6|0;c=c+8|0;if(g>>>0>c>>>0){continue}break}}t[a+10|0]=3;t[a+11|0]=e;if(w[a+8|0]!=6){break b}t[a+8|0]=2}v[a+4>>2]=d-b}}function Cea(a){a=a|0;var b=0,c=0,d=0,e=0;c=Qb-32|0;Qb=c;b=v[a+12>>2];Ub[v[v[b>>2]+24>>2]](b);v[a+24>>2]=0;v[c+8>>2]=0;a:{b:{c:{b=v[a+16>>2];if(!b){break c}d=v[v[b>>2]+76>>2];v[299999]=0;V(d|0,c+24|0,b|0);b=v[299999];v[299999]=0;d:{if((b|0)!=1){v[299999]=0;Q(4344,c+8|0,c+24|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){b=v[c+24>>2];v[c+24>>2]=0;if(!b){break c}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)!=1){if(d){break c}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break c}}break b}a=P()|0;O()|0;ec(c+24|0);break d}a=P()|0;O()|0}break a}v[299999]=0;$(5361,c+16|0,0,0,c+8|0);b=v[299999];v[299999]=0;e:{f:{if((b|0)!=1){v[299999]=0;Q(4535,a+16|0,c+16|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break f}ec(c+16|0);a=v[c+8>>2];v[c+8>>2]=0;g:{if(!a){break g}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;d=v[299999];v[299999]=0;if((d|0)==1){break e}if(b){break g}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break e}}Qb=c+32|0;return}a=P()|0;O()|0;break a}a=P()|0;O()|0;ec(c+16|0);break a}}W(0)|0;O()|0;lc();L()}ec(c+8|0);T(a|0);L()}function ARa(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,n=0,o=0,p=0,q=0,r=0,s=0,x=0;f=v[d>>2]+e|0;a=v[a+332>>2]+128|0;b=v[b+84>>2];i=B(B(u[c+16>>1],v[b+32>>2]),10033);g=B(u[c>>1],v[b>>2])<<13|1024;h=B(v[b+64>>2],u[c+32>>1]);j=g+B(h,5793)|0;k=(i+j<<2)+131072&-8192;l=B(B(u[c+20>>1],v[b+40>>2]),10033);m=B(u[c+4>>1],v[b+8>>2])<<13|1024;n=B(v[b+72>>2],u[c+36>>1]);o=m+B(n,5793)|0;p=l+o>>11;q=k+B(p,5793)|0;r=B(B(u[c+18>>1],v[b+36>>2]),10033);s=B(u[c+2>>1],v[b+4>>2])<<13|1024;c=B(v[b+68>>2],u[c+34>>1]);x=s+B(c,5793)|0;b=B(r+x>>11,10033);t[f|0]=w[a+(q+b>>>18&1023)|0];t[f+2|0]=w[a+(q-b>>>18&1023)|0];t[f+1|0]=w[a+(B(p,-11586)+k>>>18&1023)|0];b=v[d+4>>2]+e|0;h=(g+B(h,-11586)<<2)+131072&-8192;f=B(n,-11586)+m>>11;g=h+B(f,5793)|0;c=B(B(c,-11586)+s>>11,10033);t[b|0]=w[a+(g+c>>>18&1023)|0];t[b+2|0]=w[a+(g-c>>>18&1023)|0];t[b+1|0]=w[a+(h+B(f,-11586)>>>18&1023)|0];b=v[d+8>>2]+e|0;d=(j-i<<2)+131072&-8192;c=o-l>>11;e=d+B(c,5793)|0;f=B(x-r>>11,10033);t[b|0]=w[a+(e+f>>>18&1023)|0];t[b+2|0]=w[a+(e-f>>>18&1023)|0];t[b+1|0]=w[a+(d+B(c,-11586)>>>18&1023)|0]}function sv(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=Qb-1312|0;Qb=f;g=v[a+4>>2];i=v[g+492>>2];j=v[i+12>>2];h=v[v[g+128>>2]+52>>2];k=v[g+452>>2];e=a+1388|0;v[e>>2]=v[g+448>>2];v[e+4>>2]=k;e=v[g+444>>2];v[a+1380>>2]=v[g+440>>2];v[a+1384>>2]=e;e=v[g+460>>2];v[a+1396>>2]=v[g+456>>2];v[a+1400>>2]=e;a:{b:{if(!h){e=b<<2;v[c>>2]=v[e+v[g+428>>2]>>2];v[c+4>>2]=v[e+v[g+432>>2]>>2];break b}e=Ub[v[v[h>>2]>>2]](v[h+4>>2],b,c)|0;if(e){break a}}c:{if(w[a+70|0]){e=Ub[v[j+8>>2]](a,v[c>>2],v[c+4>>2])|0;break c}e=f+656|0;Ub[v[i+24>>2]](e,a,1);Ub[v[i+28>>2]](g,g+168|0,f);v[f+1192>>2]=f;e=Ub[v[j+12>>2]](e,v[c>>2],v[c+4>>2])|0;if((e&255)!=164){break c}t[v[a+8>>2]+160|0]=0;t[d|0]=1;e=Ub[v[j+12>>2]](f+656|0,v[c>>2],v[c+4>>2])|0}if(!h|e){break a}if(!v[v[h>>2]+8>>2]){e=0;break a}c=v[a+32>>2];v[f+4>>2]=0;v[f>>2]=((c+(c>>31)|0)+32768&-65536)>>16;c=v[a+40>>2];v[f+8>>2]=(((c>>31)+c|0)+32768&-65536)>>16;c=v[a+44>>2];v[f+12>>2]=(((c>>31)+c|0)+32768&-65536)>>16;e=Ub[v[v[h>>2]+8>>2]](v[h+4>>2],b,0,f)|0;v[a+32>>2]=v[f>>2]<<16;v[a+40>>2]=v[f+8>>2]<<16;v[a+44>>2]=v[f+12>>2]<<16}Qb=f+1312|0;return e}function cq(a,b){var c=0;a:{if(!a){break a}b:{c:{d:{e:{if((b|0)>=4){f:{g:{h:{i:{j:{k:{l:{c=w[a|0];switch(c-60|0){case 16:break i;case 0:break k;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break e;default:break l}}if(c){break e}b=w[a+1|0];if((b|0)==60){break j}if(b){break b}if(!w[a+2|0]){c=5;if(w[a+3|0]==60){break a}}if(w[a+3|0]|w[a+2|0]!=60){break b}return 7}b=w[a+1|0];if((b|0)==63){break h}if(b){break b}if(w[a+2|0]|w[a+3|0]){break g}return 4}if(w[a+2|0]|w[a+3|0]){break f}return 8}if(w[a+1|0]!=111|w[a+2|0]!=167){break b}c=6;if(w[a+3|0]!=148){break b}break a}if(w[a+2|0]!=120){break b}c=1;if(w[a+3|0]!=109){break b}break a}if(w[a+3|0]|w[a+2|0]!=63){break b}return 2}if(w[a+2|0]){break b}c=3;if(w[a+3|0]!=63){break b}break a}if((b|0)!=3){break d}c=w[a|0]}if((c|0)!=239){break c}if(w[a+1|0]!=187){break b}c=1;if(w[a+2|0]!=191){break b}break a}if((b|0)<2){break b}c=w[a|0]}m:{switch(c-254|0){case 0:if(w[a+1|0]!=255){break b}return 3;case 1:break m;default:break b}}c=2;if(w[a+1|0]==254){break a}}c=0}return c}function PHa(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;e=Qb-32|0;Qb=e;g=fc(4);v[299999]=0;j=Q(3087,g|0,a+12|0)|0;d=v[299999];v[299999]=0;a:{b:{c:{d:{if((d|0)!=1){e:{d=v[a+4>>2];f:{if(!d){break f}h=a+4|0;f=h;while(1){i=io(d+16|0,b);f=i?f:d;d=v[(i?4:0)+d>>2];if(d){continue}break}if((f|0)==(h|0)){break f}if(!io(b,f+16|0)){break e}}v[c>>2]=0;break d}d=v[f+24>>2];v[c>>2]=d;if(!d){break d}f=1;if(w[d+48|0]){break c}while(1){a=Qb-16|0;Qb=a;v[a+8>>2]=0;v[a+12>>2]=1e7;g:{h:{i:{if((a|0)==-8){break i}b=v[a+12>>2];if(b>>>0>999999999){break i}d=v[a+8>>2];if((d|0)>-1){break h}}v[299402]=28;break g}bb(+(+(b|0)/1e6+ +(d|0)*1e3))}Qb=a+16|0;if(!w[v[c>>2]+48|0]){continue}break}break c}d=P()|0;O()|0;dc(g);break a}d=v[b+4>>2];b=v[b>>2];t[e+19|0]=0;v[e+24>>2]=b;v[e+28>>2]=d;v[e+8>>2]=0;v[299999]=0;v[e>>2]=b;v[e+4>>2]=d;a=ma(3088,a|0,e|0,e+8|0,0,0,0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}v[c>>2]=a;f=0;if(t[e+19|0]<=-1){dc(v[e+8>>2]);a=v[c>>2]}t[a+48|0]=0}DX(j);dc(g);Qb=e+32|0;return f|0}d=P()|0;O()|0;if(t[e+19|0]>-1){break a}dc(v[e+8>>2]);T(d|0);L()}T(d|0);L()}function ap(a,b){var c=0,d=0,e=0,f=0,g=0;c=-1;a:{d=v[a+8>>2];b:{if(d&7){break b}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break a}c=-1;e=v[a+28>>2];v[a+28>>2]=e-1;c:{if((e|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;e=w[c|0];break c}e=Hc(a,1);if((e|0)==-1){break b}d=v[a+8>>2]}c=-1;if(d&7){break b}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break a}c=-1;f=v[a+28>>2];v[a+28>>2]=f-1;d:{if((f|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;f=w[c|0];break d}f=Hc(a,1);if((f|0)==-1){break b}d=v[a+8>>2]}c=-1;if(d&7){break b}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break a}c=-1;g=v[a+28>>2];v[a+28>>2]=g-1;e:{if((g|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;g=w[c|0];break e}g=Hc(a,1);if((g|0)==-1){break b}d=v[a+8>>2]}c=-1;if(d&7){break b}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break a}c=-1;d=v[a+28>>2];v[a+28>>2]=d-1;f:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=a;a=v[a+24>>2];v[c+24>>2]=a+1;a=w[a|0];break f}a=Hc(a,1);if((a|0)==-1){break b}}v[b>>2]=a&255|(g<<8&65280|(f<<16&16711680|e<<24));c=0}return c}v[a+8>>2]=d|4;return-1}function ZQ(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Qb-784|0;Qb=f;a:{d=v[a+200>>2];if(d&1){b:{if(d&4){Gc(a,31971);td(a,c);break b}if(d&2){break a}v[a+200>>2]=d|2;d=w[a+401|0];if(!(d&2)){Gc(a,35037);td(a,c);break b}if(!((c>>>0)%3|0?0:c>>>0<=768)){if((d|0)!=3){Gc(a,36087);td(a,c);break b}hd(a,36087);L()}e=256;e=(d|0)==3?1<>>0)/3|0;d=(d|0)>(e|0)?e:d;if((d|0)>=1){e=0;g=f+16|0;while(1){h=f+13|0;yf(a,h,3);kd(a,h,3);t[g|0]=w[f+13|0];t[g+1|0]=w[f+14|0];t[g+2|0]=w[f+15|0];g=g+3|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}td(a,B(d,-3)+c|0);c=f+16|0;c:{if(!a|!b){break c}d:{e:{if(w[b+25|0]==3){if((d|0)<=1<=0){break e}hd(a,48467);L()}if(d>>>0>256){break d}}ao(a,b,4096,0);e=gu(a,768);v[a+388>>2]=e;i=b,j=gc(e,c,B(d,3)),v[i+16>>2]=j;u[a+392>>1]=d;u[b+20>>1]=d;v[b+184>>2]=v[b+184>>2]|4096;v[b+8>>2]=v[b+8>>2]|8;break c}Gc(a,48467)}if(!(w[b+8|0]&16)|(!b|w[a+401|0]!=3)){break b}c=d&65535;if(c>>>0>1]){Gc(a,37554);u[a+394>>1]=d}if(c>>>0>=x[b+22>>1]){break b}Gc(a,38482);u[b+22>>1]=d}Qb=f+784|0;return}hd(a,30315);L()}hd(a,33111);L()}function LR(a,b,c){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,p=0;v[c+4>>2]=0;a:{if((b|0)<1){break a}g=b&3;if(b-1>>>0>=3){i=b&-4;while(1){h=f<<2;d=v[h+a>>2];if((d|0)>(e|0)){v[c+4>>2]=d;e=d}d=v[(h|4)+a>>2];if((d|0)>(e|0)){v[c+4>>2]=d;e=d}d=v[(h|8)+a>>2];if((d|0)>(e|0)){v[c+4>>2]=d;e=d}d=v[(h|12)+a>>2];if((d|0)>(e|0)){v[c+4>>2]=d;e=d}f=f+4|0;i=i-4|0;if(i){continue}break}}if(!g){break a}while(1){d=v[(f<<2)+a>>2];if((d|0)>(e|0)){v[c+4>>2]=d;e=d}f=f+1|0;g=g-1|0;if(g){continue}break}}j=1<>2]=d;if((e|0)!=31){ic(d,0,((j|0)>1?j:1)<<2)}i=1;m=v[c+4>>2];if(!((m|0)<1|(b|0)<1)){k=2;h=0;while(1){l=n+1|0;o=l&-4;p=l&3;g=0;while(1){if(v[(g<<2)+a>>2]==(i|0)){f=0;e=h;d=o;if(n>>>0>=3){while(1){f=e>>>3&1|(e>>>2&1|(e&2|(e<<2&4|f<<3)))<<1;e=e>>4;d=d-4|0;if(d){continue}break}}d=p;if(d){while(1){f=e&1|f<<1;e=e>>1;d=d-1|0;if(d){continue}break}}if((f|0)<(j|0)){e=v[c>>2];while(1){d=e+(f<<2)|0;u[d+2>>1]=g;u[d>>1]=i;f=f+k|0;if((j|0)>(f|0)){continue}break}}h=h+1|0}g=g+1|0;if((g|0)!=(b|0)){continue}break}k=k<<1;h=h<<1;e=(i|0)!=(m|0);n=l;i=i+1|0;if(e){continue}break}}}function bi(a,b){var c=0,d=0,e=0,f=0,g=0;c=-1;a:{d=v[a+8>>2];b:{if(d&7){break b}c=v[a+64>>2];if(!((c|0)<0|(c|0)>v[a+60>>2])){break a}c=-1;e=v[a+28>>2];v[a+28>>2]=e-1;c:{if((e|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;e=w[c|0];break c}e=Hc(a,1);if((e|0)==-1){break b}d=v[a+8>>2]}c=-1;if(d&7){break b}c=v[a+64>>2];if(!((c|0)<0|(c|0)>v[a+60>>2])){break a}c=-1;f=v[a+28>>2];v[a+28>>2]=f-1;d:{if((f|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;f=w[c|0];break d}f=Hc(a,1);if((f|0)==-1){break b}d=v[a+8>>2]}c=-1;if(d&7){break b}c=v[a+64>>2];if(!((c|0)<0|(c|0)>v[a+60>>2])){break a}c=-1;g=v[a+28>>2];v[a+28>>2]=g-1;e:{if((g|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;g=w[c|0];break e}g=Hc(a,1);if((g|0)==-1){break b}d=v[a+8>>2]}c=-1;if(d&7){break b}c=v[a+64>>2];if(!((c|0)<0|(c|0)>v[a+60>>2])){break a}c=-1;d=v[a+28>>2];v[a+28>>2]=d-1;f:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=a;a=v[a+24>>2];v[c+24>>2]=a+1;a=w[a|0];break f}a=Hc(a,1);if((a|0)==-1){break b}}c=0;if(!b){break b}v[b>>2]=(f<<8|e<<16|g)<<8|a}return c}v[a+8>>2]=d|4;return-1}function Ox(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;v[a+32>>2]=v[a+32>>2]+2;g=Nx(a);c=v[a+32>>2];e=v[a+36>>2];a:{if(c>>>0>=e>>>0){break a}while(1){f=w[c|0]-9|0;if(f>>>0>23|!(1<>2]=c;if((c|0)!=(e|0)){continue}break}c=e}b:{if(e-2>>>0>=c>>>0){d=(e+(c^-1)|0)+c|0;f=c;while(1){if(!Oc(f,322665,2)){d=fc(28);v[299999]=0;e=S(1,8)|0;h=v[299999];v[299999]=0;c:{if((h|0)!=1){v[299999]=0;Y(3083,e|0,c|0,f-c|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break c}v[d+24>>2]=e;v[d+20>>2]=g;v[d>>2]=972008;v[d+4>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d+16>>2]=0;Ub[v[v[b>>2]+48>>2]](b,d);v[a+32>>2]=v[a+32>>2]+2;return}c=P()|0;O()|0;break b}c=P()|0;O()|0;dc(e);break b}f=f+1|0;v[a+32>>2]=f;if((d|0)!=(f|0)){continue}break}}v[a+32>>2]=e;d=fc(28);v[299999]=0;a=S(1,8)|0;f=v[299999];v[299999]=0;d:{if((f|0)!=1){v[299999]=0;Y(3083,a|0,c|0,e-c|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break d}v[d+24>>2]=a;v[d+20>>2]=g;v[d>>2]=972008;v[d+4>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d+16>>2]=0;Ub[v[v[b>>2]+48>>2]](b,d);return}c=P()|0;O()|0;break b}c=P()|0;O()|0;dc(a)}dc(d);T(c|0);L()}function Jqa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:{if(a){c=v[a+200>>2];if(!(c&4)){break a}b:{if(!b){break b}if(!(!(w[b+9|0]&2)|c&512)){yP(a,b+60|0)}if(v[b+48>>2]>=1){e=v[b+56>>2];while(1){g=B(f,28);c=g+e|0;d=v[c>>2];c:{d:{e:{if((d|0)>=1){AP(a,d,v[c+4>>2],v[c+20>>2],v[c+24>>2],v[c+8>>2]);break e}if((d|0)>=0){FP(a,v[c+4>>2],v[c+8>>2]);c=-2;break d}if((d|0)!=-1){break c}vx(a,v[c+4>>2],v[c+8>>2])}c=-3}e=v[b+56>>2];v[g+e>>2]=c}f=f+1|0;if((f|0)>2]){continue}break}}c=v[b+192>>2];if(!c|(c|0)<1){break b}c=v[b+188>>2];while(1){d=pE(a,c);if(!((d|0)==1|!(w[c+16|0]&8)|!(t[a+206|0]&1?1:w[c+3|0]&32|(d|0)==3))){uD(a,c,v[c+8>>2],v[c+12>>2])}c=c+20|0;if(c>>>0>2]+B(v[b+192>>2],20)>>>0){continue}break}}v[a+200>>2]=v[a+200>>2]|8;b=Qb-16|0;Qb=b;if(a){v[a+744>>2]=34;v[b+8>>2]=0;v[b+12>>2]=1145980233;ld(a,b+8|0,8);v[a+348>>2]=1229278788;_f(a);kd(a,b+12|0,4);v[a+744>>2]=130;c=v[a+384>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[b+4|0]=c;t[b+5|0]=c>>>8;t[b+6|0]=c>>>16;t[b+7|0]=c>>>24;ld(a,b+4|0,4)}v[a+200>>2]=v[a+200>>2]|16;Qb=b+16|0}return}hd(a,13361);L()}function B8a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=v[a+428>>2];c=x[b+32>>1];c=c<<8|c>>>8;t[d+8|0]=c;t[d+9|0]=c>>>8;e=d+8|0;c=w[b+35|0];a:{if(!(c|w[b+37|0]|(w[b+38|0]|w[b+48|0]))){c=2;break a}t[d+10|0]=c;c=w[b+37|0];if(!(w[b+48|0]|(c|w[b+38|0]))){c=3;break a}t[d+11|0]=c;c=4;if(!(w[b+38|0]|w[b+48|0])){break a}c=v[b+40>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+12|0]=c;t[d+13|0]=c>>>8;t[d+14|0]=c>>>16;t[d+15|0]=c>>>24;c=v[b+44>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+16|0]=c;t[d+17|0]=c>>>8;t[d+18|0]=c>>>16;t[d+19|0]=c>>>24;c=12;if(!w[b+48|0]){break a}c=v[b+52>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+20|0]=c;t[d+21|0]=c>>>8;t[d+22|0]=c>>>16;t[d+23|0]=c>>>24;c=v[b+56>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+24|0]=c;t[d+25|0]=c>>>8;t[d+26|0]=c>>>16;t[d+27|0]=c>>>24;c=v[b+60>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+28|0]=c;t[d+29|0]=c>>>8;t[d+30|0]=c>>>16;t[d+31|0]=c>>>24;c=v[b+64>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+32|0]=c;t[d+33|0]=c>>>8;t[d+34|0]=c>>>16;t[d+35|0]=c>>>24;c=28}return _d(a,v[b>>2],c,e)|0}function uv(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;h=Qb-16|0;Qb=h;if(e){v[e>>2]=-1}k=(c|0)==-21;l=k?b-21|0:b;m=(c|0)<0?0:c;i=v[a+8>>2];g=v[a>>2];a:{b:{if(g){b=i;while(1){if(!(v[b>>2]!=(l|0)|v[b+4>>2]!=(m|0))){g=f;break b}b=b+12|0;f=f+1|0;if((f|0)!=(g|0)){continue}break}}j=g+1|0;b=v[a+4>>2];c:{if(j>>>0>>0){break c}v[h+4>>2]=0;if(b>>>0>=j>>>0){break c}f=b;b=g+8&-8;i=Cc(d,12,f,b,i,h+4|0);v[a+8>>2]=i;f=v[h+4>>2];if(f){break a}v[a+4>>2]=b}v[a>>2]=j;b=B(g,12)+i|0;v[b+8>>2]=c>>31&(k?3:1);v[b+4>>2]=m;v[b>>2]=l}b=v[a+12>>2];d:{e:{if(!b){f:{if(v[a+16>>2]){b=v[a+20>>2];break f}v[h+8>>2]=0;b=Cc(d,16,0,8,v[a+20>>2],h+8|0);v[a+20>>2]=b;f=v[h+8>>2];if(f){break a}v[a+16>>2]=8}v[b+12>>2]=0;v[b>>2]=0;v[a+12>>2]=1;break e}b=(v[a+20>>2]+(b<<4)|0)-16|0;if(y[b>>2]>g>>>0){break d}}a=v[b+4>>2];v[h+12>>2]=0;c=g+8>>>3|0;a=a+7>>>3|0;if(c>>>0>a>>>0){f=a;a=c+7&1073741816;n=b,o=Cc(d,1,f,a,v[b+8>>2],h+12|0),v[n+8>>2]=o;f=v[h+12>>2];if(f){break a}v[b+4>>2]=a<<3}v[b>>2]=g+1}a=v[b+8>>2]+(g>>>3|0)|0;t[a|0]=w[a|0]|128>>>(g&7);f=0;if(!e){break a}v[e>>2]=g}Qb=h+16|0;return f}function pl(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=v[a+88>>2];b=v[a+32>>2]+(b<<4)|0;h=v[b+8>>2];u[f+12>>1]=h+32>>>6;e=v[b+12>>2];u[f+14>>1]=e+32>>>6;if(t[a+8|0]&1){k=f+12|0;b=x[a+68>>1];a:{if(!b){d=2147483647;v[f+16>>2]=(h|0)<0?-2147483647:2147483647;h=e>>>31|0;break a}d=h>>31;c=d+h^d;b:{if(c>>>0<=65535){d=((c<<16|b>>>1)>>>0)/(b>>>0)|0;break b}d=2147483647;g=c>>>16|0;if(g>>>0>=b>>>0){break b}i=c<<16|b>>>1;c=E(g);j=32-c|0;g=i>>>j|g<>>0)/(b>>>0)|0;g=g-B(b,d)|0;c=i<>>31;g=i-(b>>>0>i>>>0?0:b)|0;d=d<<1|b>>>0<=i>>>0;c=c<<1;j=j-1|0;if(j){continue}break}}v[f+16>>2]=(h|0)<0?0-d|0:d;h=e>>>31|0;d=e>>31;c=d+e^d;if(c>>>0<=65535){d=((c<<16|b>>>1)>>>0)/(b>>>0)|0;break a}d=2147483647;e=c>>>16|0;if(e>>>0>=b>>>0){break a}i=c<<16|b>>>1;c=E(e);j=32-c|0;e=i>>>j|e<>>0)/(b>>>0)|0;g=e-B(b,d)|0;c=i<>>31;g=e-(b>>>0>e>>>0?0:b)|0;d=d<<1|b>>>0<=e>>>0;c=c<<1;j=j-1|0;if(j){continue}break}}v[f+20>>2]=h?0-d|0:d;M_(a,k);return}v[f+28>>2]=0;v[f+24>>2]=e;v[f+16>>2]=65536;v[f+20>>2]=65536;a=u[b>>1];v[f+36>>2]=h;v[f+32>>2]=a<<6}function aQ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=Qb-1024|0;Qb=f;c=fc(128);v[299999]=0;d=S(4484,c|0)|0;e=v[299999];v[299999]=0;a:{b:{if((e|0)!=1){v[a>>2]=0;Wc(a,d);v[299999]=0;R(4485,d|0);e=v[299999];v[299999]=0;if((e|0)==1){break a}v[299999]=0;fa(4486,d|0,0,32,4487,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}while(1){c=v[b>>2];e=v[v[c>>2]+8>>2];v[299999]=0;c=Y(e|0,c|0,f|0,1024)|0;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(!c){break b}e=v[d+76>>2];v[299999]=0;$(4479,d|0,f|0,e|0,c|0);e=v[299999];v[299999]=0;if((e|0)==1){break a}v[d+76>>2]=c+v[d+76>>2];continue}}a=P()|0;O()|0;dc(c);T(a|0);L()}v[299999]=0;b=S(4469,d+20|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(!(v[d+16>>2]|b)){t[d+8|0]=1;if(v[d+84>>2]<=-1){b=v[d+64>>2];c=v[v[b>>2]+28>>2];v[299999]=0;b=S(c|0,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}v[d+84>>2]=b}b=v[d+96>>2];if(b){while(1){c=v[b+8>>2];if(!v[c+8>>2]){v[c+8>>2]=1}b=v[b>>2];if(b){continue}break}}v[299999]=0;R(4480,d|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}Qb=f+1024|0;return}b=P()|0;O()|0;ec(a);T(b|0);L()}function P8a(a,b){a=a|0;b=b|0;var c=0,d=0;if(w[b+32|0]){return _d(a,v[b>>2],0,0)|0}d=v[a+428>>2];c=v[b+36>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+8|0]=c;t[d+9|0]=c>>>8;t[d+10|0]=c>>>16;t[d+11|0]=c>>>24;c=v[b+40>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+12|0]=c;t[d+13|0]=c>>>8;t[d+14|0]=c>>>16;t[d+15|0]=c>>>24;c=v[b+44>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+16|0]=c;t[d+17|0]=c>>>8;t[d+18|0]=c>>>16;t[d+19|0]=c>>>24;c=v[b+48>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+20|0]=c;t[d+21|0]=c>>>8;t[d+22|0]=c>>>16;t[d+23|0]=c>>>24;c=v[b+52>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+24|0]=c;t[d+25|0]=c>>>8;t[d+26|0]=c>>>16;t[d+27|0]=c>>>24;c=v[b+56>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+28|0]=c;t[d+29|0]=c>>>8;t[d+30|0]=c>>>16;t[d+31|0]=c>>>24;c=v[b+60>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+32|0]=c;t[d+33|0]=c>>>8;t[d+34|0]=c>>>16;t[d+35|0]=c>>>24;c=v[b+64>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+36|0]=c;t[d+37|0]=c>>>8;t[d+38|0]=c>>>16;t[d+39|0]=c>>>24;return _d(a,v[b>>2],32,d+8|0)|0}function CB(a){var b=0,c=0,d=0,e=0;uc(v[a+60>>2]);e=v[a+360>>2];if(e){c=u[a+356>>1];if((c|0)>1]){b=c;while(1){uc(v[(B(b-c|0,272)+e|0)+268>>2]);c=v[a+360>>2]+B(b-u[a+356>>1]|0,272)|0;v[c+268>>2]=0;uc(v[c+260>>2]);e=v[a+360>>2];c=u[a+356>>1];v[(e+B(b-c|0,272)|0)+260>>2]=0;b=b+1|0;if((b|0)>1]){continue}break}}dc(e);v[a+360>>2]=0}uc(v[a+372>>2]);uc(v[a+408>>2]);uc(v[a+412>>2]);uc(v[a+432>>2]);uc(v[a+440>>2]);uc(v[a+500>>2]);uc(v[a+504>>2]);uc(v[a+544>>2]);uc(v[a+516>>2]);if(v[a+552>>2]>=1){while(1){uc(v[(v[a+556>>2]+(d<<4)|0)+12>>2]);d=d+1|0;if((d|0)>2]){continue}break}}uc(v[a+556>>2]);uc(v[a+564>>2]);uc(v[a+576>>2]);d=0;if(u[a+632>>1]>=1){while(1){Ns(v[a+636>>2]+B(d,600)|0);d=d+1|0;if((d|0)>1]){continue}break}}uc(v[a+636>>2]);uc(v[a+692>>2]);c=0;b=v[a+656>>2];if(b){if(v[a+652>>2]>=1){while(1){uc(v[b+12>>2]);uc(v[b+292>>2]);b=b+296|0;c=c+1|0;if((c|0)>2]){continue}break}b=v[a+656>>2]}dc(b)}uc(v[a+672>>2]);uc(v[a+684>>2]);uc(v[a+680>>2]);uc(v[a+676>>2]);b=v[a+12>>2];if(b){dc(b);v[a+20>>2]=0;v[a+12>>2]=0;v[a+16>>2]=0}}function em(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=65535;a:{if((c|0)<1){break a}j=a+28|0;d=w[a+29|0];g=v[a+44>>2];k=v[a+36>>2];while(1){b:{f=b+h|0;h=h+1|0;f=v[(((d&255)<<10)+k|0)+(w[f|0]<<2)>>2];if((f|0)<0){break b}d=f>>>24|0;i=(f&16777215)+i|0;if((c|0)!=(h|0)){continue}break a}break}d=65534;c:{d:{switch(f>>>20&15){case 4:e=(f&65535)+i|0;d=x[(e<<1)+g>>1];if((d|0)!=65534){break c}d=oW(j,e);break c;case 0:d=f&65535;break c;case 5:e=(f&65535)+i|0;d=x[(e<<1)+g>>1];if(d>>>0<55296){break c}e=e+1|0;if(d>>>0<=57343){d=(x[(e<<1)+g>>1]+(d<<10&1047552)|0)+9216|0;break c}if((d&65534)==57344){d=x[(e<<1)+g>>1];break c}e=65535;f=(d|0)==65535;d=65534;if(!f){break c}break a;case 1:d=(f&1048575)+65536|0;break c;case 2:d=f&65535;break c;case 6:break c;case 3:break d;default:break a}}d=(f&1048575)+65536|0}e=65535;if((c|0)!=(h|0)){break a}e=d;if((d|0)!=65534){break a}e=65534;a=v[a+224>>2];if(!a){break a}d=Qb-16|0;Qb=d;v[d+12>>2]=0;if((c|0)<1){e=65535}else{b=pG(a,-1,b,c,0,0,d+12|0,1);a=v[d+12>>2];e=(b|0)==(c|0)?a>>>0<3145728?a-2031616|0:65534:65534}Qb=d+16|0}return e}function Vsa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=Qb-48|0;Qb=d;f=d+32|0;v[f>>2]=0;v[f+4>>2]=0;t[f+8|0]=0;v[299999]=0;g=wg(a);c=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{if((c|0)!=1){while(1){v[299999]=0;c=Q(4155,a|0,g|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break b}if(!c){break c}v[299999]=0;V(4145,d|0,a|0);c=v[299999];v[299999]=0;if((c|0)==1){break i}v[299999]=0;c=Q(4160,d+16|0,d|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break h}v[299999]=0;uf(f,c);e=v[299999];v[299999]=0;if((e|0)==1){break g}xc(c);if(t[d+11|0]<=-1){dc(v[d>>2])}v[299999]=0;c=md(f,980852);e=v[299999];v[299999]=0;if((e|0)==1){break b}if(!c){continue}v[299999]=0;c=d+16|0;v[c>>2]=0;v[c+4>>2]=0;t[c+8|0]=0;e=v[299999];v[299999]=0;if((e|0)==1){break e}v[299999]=0;$(4232,a|0,b|0,c|0,0);e=v[299999];v[299999]=0;if((e|0)==1){break d}xc(c);continue}}a=P()|0;O()|0;break a}a=P()|0;O()|0;break a}a=P()|0;O()|0;break f}a=P()|0;O()|0;xc(c)}if(t[d+11|0]>-1){break a}dc(v[d>>2]);break a}a=P()|0;O()|0;break a}a=P()|0;O()|0;xc(c);break a}xc(f);Qb=d+48|0;return}a=P()|0;O()|0}xc(f);T(a|0);L()}function bm(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=Qb-16|0;Qb=g;a:{if(!a){break a}if((b|0)<=0){b=Bc(a);if((b|0)<0){break a}}i=Ub[v[259707]](b+1|0)|0;if(!i){v[g>>2]=352084;oc(0,0,0,0,0,30,2,3,352084,0,0,0,350051,g);break a}d=i;if((b|0)>=1){while(1){j=-1;c=w[a|0];b:{c:{if((c|0)!=37|(b|0)<3){break c}d:{f=w[a+1|0];h=f-48|0;k=(h&255)>>>0<10;if(k){break d}c=37;switch(f-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break d;default:break c}}e:{e=w[a+2|0];if((e-48&255)>>>0<10){break e}c=37;switch(e-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break e;default:break c}}a=a+2|0;f:{g:{if(k){break g}if((f-97&255)>>>0<=5){h=f-87|0;break g}if((f-65&255)>>>0>5){break f}h=f-55|0}t[d|0]=h}e=w[a|0];c=e-48|0;h:{if((c&255)>>>0<=9){c=c+(w[d|0]<<4)|0;break h}c=(e+(w[d|0]<<4)|0)-87|0;if((e-97&255)>>>0<=5){break h}j=-3;if((e-65&255)>>>0>5){break b}c=(e+(w[d|0]<<4)|0)-55|0}j=-3}t[d|0]=c}d=d+1|0;a=a+1|0;b=b+j|0;if((b|0)>0){continue}break}}t[d|0]=0;d=i}Qb=g+16|0;return d}function ZP(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=Qb-16|0;Qb=g;a:{if(b){t[a+10|0]=1;break a}t[a+9|0]=1}b=v[a+96>>2];if(b){while(1){c=v[b+8>>2];if(!v[c+8>>2]){v[c+8>>2]=1}b=v[b>>2];if(b){continue}break}}b:{c:{d:{b=v[a+16>>2];if(!b){break d}v[b+4>>2]=v[b+4>>2]+1;e=v[a+16>>2];v[g+8>>2]=e;if(!e){break d}if(v[v[a+12>>2]>>2]){c=e;while(1){e:{b=v[c+96>>2];if(!b){break e}f:{while(1){g:{d=v[b+8>>2];v[299999]=0;v[d+4>>2]=v[d+4>>2]+1;d=v[299999];v[299999]=0;if((d|0)==1){break g}f=v[b+8>>2];t[f+12|0]=1;if(!v[f+8>>2]){v[f+8>>2]=1}v[299999]=0;h=v[f+4>>2]-1|0;v[f+4>>2]=h;d=v[299999];v[299999]=0;if((d|0)==1){break f}if(!h){v[299999]=0;R(4338,f|0);d=v[299999];v[299999]=0;if((d|0)==1){break f}}b=v[b>>2];if(b){continue}break e}break}a=P()|0;O()|0;ec(g+8|0);T(a|0);L()}break b}c=v[c+16>>2];if(c){continue}c=e;if(v[v[a+12>>2]>>2]){continue}break}}v[299999]=0;a=v[e+4>>2]-1|0;v[e+4>>2]=a;b=v[299999];v[299999]=0;if((b|0)!=1){if(a){break c}v[299999]=0;R(4338,e|0);a=v[299999];v[299999]=0;if((a|0)!=1){break c}}break b}v[g+8>>2]=0}Qb=g+16|0;return}W(0)|0;O()|0;lc();L()}function JFa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;v[b>>2]=0;a:{if(!v[a+64>>2]){break a}e=v[a+20>>2];c=-1;f=v[a+24>>2];b:{if((f|0)<1){break b}while(1){if(v[e+B(d,20)>>2]==1128678944){c=d;break b}d=d+1|0;if((f|0)!=(d|0)){continue}break}}d=0;f=B(c,20);e=f+e|0;c=v[e+8>>2];e=v[e+16>>2];if(!((2147483647-c|0)>=(e|0)&(c|e)>-1&v[a+12>>2]>=(c+e|0))){break a}c=v[a+8>>2];a=f+v[a+20>>2]|0;e=NT(c+v[a+8>>2]|0,v[a+16>>2]);if(!e){break a}a=0;c:{if(v[e+128>>2]!=3102){break c}d=1;c=v[e+332>>2];if((c|0)>=1){f=v[e+344>>2];a=c&3;d:{if(c-1>>>0<3){d=0;c=0;break d}h=c&-4;d=0;c=0;while(1){g=d<<1;i=x[f+(g|6)>>1];j=x[f+(g|4)>>1];k=x[f+(g|2)>>1];g=x[f+g>>1];c=c>>>0>>0?g:c;c=c>>>0>>0?k:c;c=c>>>0>>0?j:c;c=c>>>0>>0?i:c;d=d+4|0;h=h-4|0;if(h){continue}break}}if(a){while(1){g=x[f+(d<<1)>>1];c=c>>>0>>0?g:c;d=d+1|0;a=a-1|0;if(a){continue}break}}d=c+1|0}c=0;a=ed(d,4);f=ic(a,0,d<<2);if(v[e+332>>2]<1){break c}g=v[e+344>>2];while(1){v[f+(x[g+(c<<1)>>1]<<2)>>2]=c;c=c+1|0;if((c|0)>2]){continue}break}}v[b>>2]=d;d=a;Ub[v[v[e>>2]+4>>2]](e)}return d|0}function Ieb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=v[v[a+544>>2]+88>>2];e=v[f+1176>>2]+B(v[f+1168>>2],v[a+572>>2])|0;d=v[a+644>>2];a:{if(w[f+56|0]){if(v[a+588>>2]<=0){break a}while(1){c=w[e+2|0]|w[e+3|0]<<8;j=(c<<8|c>>>8)&65535;c=w[e+4|0]|w[e+5|0]<<8;k=(c<<8|c>>>8)&65535;l=d;c=w[e|0]|w[e+1|0]<<8;c=(c<<8|c>>>8)&65535;b:{if(!((c|0)!=x[f+838>>1]|(j|0)!=x[f+840>>1])){b=0;h=0;g=0;i=0;if(x[f+842>>1]==(k|0)){break b}}h=65535;b=j;g=c;i=k}c=i;g=g<<8|g>>>8;t[l|0]=g;t[l+1|0]=g>>>8;b=b<<8|b>>>8;t[d+2|0]=b;t[d+3|0]=b>>>8;c=c<<8|c>>>8;t[d+4|0]=c;t[d+5|0]=c>>>8;c=h<<8|h>>>8;t[d+6|0]=c;t[d+7|0]=c>>>8;d=d+8|0;e=e+6|0;m=m+1|0;if((m|0)>2]){continue}break}break a}if(v[a+588>>2]<=0){break a}while(1){b=w[e|0]|w[e+1|0]<<8;b=(b<<8|b>>>8)&65535;b=b<<8|b>>>8;t[d|0]=b;t[d+1|0]=b>>>8;b=w[e+2|0]|w[e+3|0]<<8;b=(b<<8|b>>>8)&65535;b=b<<8|b>>>8;t[d+2|0]=b;t[d+3|0]=b>>>8;b=w[e+4|0]|w[e+5|0]<<8;b=(b<<8|b>>>8)&65535;b=b<<8|b>>>8;t[d+4|0]=b;t[d+5|0]=b>>>8;t[d+6|0]=255;t[d+7|0]=255;d=d+8|0;e=e+6|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function hZ(a){var b=0,c=0,d=0,e=0,f=0;d=v[v[a>>2]+100>>2];b=v[a+300>>2];if(b){v[b+444>>2]=0;c=v[b+8>>2];e=c;f=v[b+24>>2];if(f){Ub[v[e+8>>2]](e,f)}v[b+20>>2]=0;v[b+24>>2]=0;e=v[b+440>>2];if(e){Ub[v[c+8>>2]](c,e)}v[b+440>>2]=0;v[b+432>>2]=0;v[b+436>>2]=0;e=v[b+396>>2];if(e){Ub[v[c+8>>2]](c,e)}v[b+392>>2]=0;v[b+396>>2]=0;v[b>>2]=0;v[b+4>>2]=0;if(b){Ub[v[c+8>>2]](c,b)}v[a+300>>2]=0}b=v[a+252>>2];if(b){Ub[v[d+8>>2]](d,b)}v[a+248>>2]=0;v[a+252>>2]=0;b=v[a+260>>2];if(b){Ub[v[d+8>>2]](d,b)}u[a+256>>1]=0;v[a+260>>2]=0;b=v[a+264>>2];if(b){c=v[a+292>>2];if(c){Ub[v[b+8>>2]](b,c)}v[a+292>>2]=0;c=v[a+288>>2];if(c){Ub[v[b+8>>2]](b,c)}v[a+288>>2]=0;c=v[a+280>>2];if(c){Ub[v[b+8>>2]](b,c)}v[a+280>>2]=0;c=v[a+276>>2];if(c){Ub[v[b+8>>2]](b,c)}v[a+276>>2]=0;c=v[a+284>>2];if(c){Ub[v[b+8>>2]](b,c)}v[a+284>>2]=0;v[a+272>>2]=0;v[a+264>>2]=0;v[a+268>>2]=0}b=v[a+132>>2];if(b){Ub[v[d+8>>2]](d,b)}v[a+132>>2]=0;b=v[a+144>>2];if(b){Ub[v[d+8>>2]](d,b)}v[a+136>>2]=0;v[a+140>>2]=0;v[a+124>>2]=0;v[a+128>>2]=0;v[a+144>>2]=0;v[a+148>>2]=0;v[a+152>>2]=0;v[a+304>>2]=-1;v[a+308>>2]=-1}function deb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=v[v[a+2248>>2]+88>>2];c=v[b+1168>>2];h=(v[b+1176>>2]+B(c,v[a+572>>2])|0)+B(c,v[a+2268>>2])|0;b=v[b+1164>>2];b=(h+B(b,v[a+580>>2])|0)+B(b,v[a+2264>>2])|0;f=v[a+636>>2]+v[a+616>>2]|0;c=v[a+588>>2];a:{b:{if(w[a+2253|0]!=4){if((c|0)<=0){break a}while(1){h=b;if(!(d&255)){i=w[f|0];e=6;f=f+1|0;d=192}c=(((d&i)>>>e)+(w[b|0]>>>6)&3)-1|0;t[h|0]=c>>>0<3?B(c,85)+85|0:0;e=e-2|0;d=(d&252)>>>2|0;b=v[a+584>>2]+b|0;g=g+1|0;c=v[a+588>>2];if((g|0)<(c|0)){continue}break}break b}if((c|0)<1){break a}while(1){h=b;if(!(d&255)){i=w[f|0];e=6;f=f+1|0;d=192}c=((d&i)>>>e|0)-1|0;t[h|0]=c>>>0<3?B(c,85)+85|0:0;e=e-2|0;d=(d&252)>>>2|0;b=v[a+584>>2]+b|0;g=g+1|0;c=v[a+588>>2];if((g|0)<(c|0)){continue}break}}if((c|0)<1){break a}b=v[a+540>>2];e=(v[b+1176>>2]+B(v[a+572>>2],v[b+1168>>2])|0)+B(v[a+580>>2],v[b+1164>>2])|0;g=v[a+636>>2]+v[a+616>>2]|0;d=0;b=0;c=0;f=0;while(1){if(!(b&255)){c=w[g|0];g=g+1|0;d=6;b=192}t[e|0]=(b&c&255)>>>d;d=d-2|0;b=(b&252)>>>2|0;e=v[a+584>>2]+e|0;f=f+1|0;if((f|0)>2]){continue}break}}return 0}function Ef(a){var b=0,c=0,d=0,e=0;b=Qb-32|0;Qb=b;v[b+12>>2]=0;v[b+8>>2]=5665;d=v[b+12>>2];v[b>>2]=v[b+8>>2];v[b+4>>2]=d;d=v[b+4>>2];c=b+16|0;v[c+4>>2]=v[b>>2];v[c+8>>2]=d;v[c>>2]=a;d=Qb-16|0;Qb=d;if(v[a>>2]!=-1){e=d+8|0;v[e>>2]=c;v[d>>2]=e;while(1){if(v[a>>2]==1){continue}break}a:{b:{c:{if(!v[a>>2]){v[a>>2]=1;v[299999]=0;c=v[299999];v[299999]=0;d:{if((c|0)==1){break d}v[299999]=0;R(5672,d|0);c=v[299999];v[299999]=0;if((c|0)==1){break d}v[299999]=0;c=v[299999];v[299999]=0;if((c|0)==1){break d}v[a>>2]=-1;v[299999]=0;c=v[299999];v[299999]=0;if((c|0)==1){break d}v[299999]=0;c=v[299999];v[299999]=0;if((c|0)!=1){break a}}b=W(0)|0;O()|0;ea(b|0)|0;v[299999]=0;b=v[299999];v[299999]=0;e:{if((b|0)==1){break e}v[a>>2]=0;v[299999]=0;a=v[299999];v[299999]=0;if((a|0)==1){break e}v[299999]=0;a=v[299999];v[299999]=0;if((a|0)==1){break e}v[299999]=0;ba(4229);a=v[299999];v[299999]=0;if((a|0)!=1){break b}}a=P()|0;O()|0;v[299999]=0;ba(4230);b=v[299999];v[299999]=0;if((b|0)==1){break c}T(a|0);L()}break a}W(0)|0;O()|0;lc()}L()}}Qb=d+16|0;Qb=b+32|0;return v[a+4>>2]-1|0}function Cgb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=v[a+44>>2];e=v[a+52>>2];b=Ub[v[v[e>>2]+20>>2]](e,2)|0;v[c+72>>2]=1;d=Ub[v[v[e>>2]+20>>2]](e,1)|0;a:{b:{c:{if((b|0)<4){break c}f=b-3|0;b=v[c+80>>2];if(!d){while(1){if(!b){f=f-4|0;b=Ub[v[v[e>>2]+20>>2]](e,4)|0}g=v[c+76>>2];d=jc(b);if(!d){break b}d=ic(d,0,b);v[c+84>>2]=b;v[c+68>>2]=d;v[c+64>>2]=d;if((b|0)>=1){while(1){d=Ub[v[v[e>>2]+20>>2]](e,1)|0;t[v[c+64>>2]+g|0]=d;d=b-1|0;g=g+1|0;f=f-1|0;if(!f){break a}h=(b|0)>1;b=d;if(h){continue}break}}v[c+76>>2]=g;b=b-1|0;v[c+80>>2]=b;if((f|0)>0){continue}break c}}while(1){if(!b){f=f-4|0;b=Ub[v[v[e>>2]+20>>2]](e,4)|0}g=v[c+76>>2];d=g+b|0;h=jc(d);if(!h){v[v[a>>2]+20>>2]=1;return}d=gc(ic(h,0,d),v[c+64>>2],b);h=v[c+64>>2];if(h){dc(h)}v[c+68>>2]=d;v[c+64>>2]=d;v[c+84>>2]=v[c+76>>2]+b;if((b|0)>=1){while(1){d=Ub[v[v[e>>2]+20>>2]](e,1)|0;t[v[c+64>>2]+g|0]=d;d=b-1|0;g=g+1|0;f=f-1|0;if(!f){break a}h=(b|0)>1;b=d;if(h){continue}break}}v[c+76>>2]=g;b=b-1|0;v[c+80>>2]=b;if((f|0)>0){continue}break}}return}v[c+64>>2]=0;v[v[a>>2]+20>>2]=1;return}v[c+76>>2]=g;v[c+80>>2]=d}function hib(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=-1;a:{d=v[b+8>>2];b:{if(d&7){break b}e=w[a+20|0];c=v[b+64>>2];if(!((c|0)<0|(c|0)>v[b+60>>2])){break a}v[b+4>>2]=v[b+4>>2]|32;c=-1;d=v[b+28>>2];v[b+28>>2]=d-1;c:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;t[c|0]=e;break c}if((Fc(b,e)|0)==-1){break b}}c=-1;d=v[b+8>>2];if(d&7){break b}e=w[a+21|0];c=v[b+64>>2];if(!((c|0)<0|(c|0)>v[b+60>>2])){break a}v[b+4>>2]=v[b+4>>2]|32;c=-1;d=v[b+28>>2];v[b+28>>2]=d-1;d:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;t[c|0]=e;break d}if((Fc(b,e)|0)==-1){break b}}c=-1;d=v[b+8>>2];if(d&7){break b}e=w[a+22|0];c=v[b+64>>2];if(!((c|0)<0|(c|0)>v[b+60>>2])){break a}v[b+4>>2]=v[b+4>>2]|32;c=-1;d=v[b+28>>2];v[b+28>>2]=d-1;e:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;t[c|0]=e;break e}if((Fc(b,e)|0)==-1){break b}}c=-1;f:{g:{switch(w[a+20|0]-1|0){case 0:if(!Ih(b,v[a+24>>2])){break f}break b;case 1:break g;default:break f}}if((zn(b,v[a+28>>2],v[a+32>>2])|0)!=v[a+32>>2]){break b}}c=0}return c|0}v[b+8>>2]=d|4;return-1}function F9a(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;a:{b:{c:{if(w[a+285|0]|w[a+286|0]|(w[a+287|0]|w[a+288|0])){break c}if(w[a+289|0]){break c}break b}if(w[a+292|0]|(w[a+293|0]|w[a+300|0])){break b}if(w[a+291|0]){break b}if(c>>>0>=5){break a}d:{if(w[a+289|0]){f=w[a+336|0];if(!((c|0)==1|(f|0)!=8)|!((c|0)==3|(f|0)!=10)){break a}if(!((c|0)==2|(f|0)!=12)){break a}if((c|0)==4|(f|0)!=14){break d}break a}if(w[a+288|0]?1:w[a+286|0]|w[a+287|0]){f=w[a+325|0];if(!(f|(c|0)==1)|!((c|0)==3|(f|0)!=2)){break a}if(!((c|0)==3|(f|0)!=3)|!((c|0)==2|(f|0)!=4)){break a}if((c|0)==4|(f|0)!=6){break d}break a}if(!(c&-5)){break d}break a}e:{f:{if(!w[a+112|0]){break f}b=Ub[v[b+4>>2]](a,b,e)|0;if(b){break e}b=v[e>>2];f=!c;t[b+32|0]=f;if(f){break f}f=b;g=w[a+336|0];g:{if(w[a+289|0]){break g}g=6;if(!w[a+286|0]){break g}g=w[a+325|0]}t[f+33|0]=g;t[b+34|0]=w[d|0];if(c>>>0<2){break f}t[v[e>>2]+35|0]=w[d+1|0];if((c|0)==2){break f}t[v[e>>2]+36|0]=w[d+2|0];if(c>>>0<4){break f}t[v[e>>2]+37|0]=w[d+3|0]}b=0}return b|0}pc(a,1029,0,0);return 1029}pc(a,1028,0,0);return 1028}function og(a,b){var c=0,d=0,e=0,f=0,g=0;c=-1;a:{d=v[a+8>>2];b:{if(d&7){break b}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break a}c=-1;e=v[a+28>>2];v[a+28>>2]=e-1;c:{if((e|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;e=w[c|0];break c}e=Hc(a,1);if((e|0)==-1){break b}d=v[a+8>>2]}c=-1;if(d&7){break b}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break a}c=-1;f=v[a+28>>2];v[a+28>>2]=f-1;d:{if((f|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;f=w[c|0];break d}f=Hc(a,1);if((f|0)==-1){break b}d=v[a+8>>2]}c=-1;if(d&7){break b}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break a}c=-1;g=v[a+28>>2];v[a+28>>2]=g-1;e:{if((g|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;g=w[c|0];break e}g=Hc(a,1);if((g|0)==-1){break b}d=v[a+8>>2]}c=-1;if(d&7){break b}c=v[a+64>>2];if((c|0)>=0&(c|0)<=v[a+60>>2]){break a}c=-1;d=v[a+28>>2];v[a+28>>2]=d-1;f:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=a;a=v[a+24>>2];v[c+24>>2]=a+1;a=w[a|0];break f}a=Hc(a,1);if((a|0)==-1){break b}}v[b>>2]=(e<<16|f<<8|g)<<8|a;c=0}return c}v[a+8>>2]=d|4;return-1}function iea(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;v[a>>2]=998096;v[a+4>>2]=0;a:{g=a;f=v[b>>2];if(f){v[299999]=0;v[f+4>>2]=v[f+4>>2]+1;f=v[299999];v[299999]=0;if((f|0)==1){break a}f=v[b>>2]}else{f=0}v[g+8>>2]=f;b=v[b>>2];v[a+28>>2]=0;v[a+32>>2]=0;t[a+16|0]=c;v[a+12>>2]=b;v[a+36>>2]=0;v[a+40>>2]=0;while(1){g=0;c=(a+e|0)+2604|0;t[c|0]=0;b=e;f=b&128;if(f){while(1){g=g+1|0;h=b&64;b=b<<1;if(h){continue}break}t[c|0]=g}g=0;b=e|1;c=(b+a|0)+2604|0;t[c|0]=0;if(f){while(1){g=g+1|0;f=b&64;b=b<<1;if(f){continue}break}t[c|0]=g}e=e+2|0;if((e|0)!=256){continue}break}b=0;while(1){e=(b<<2)+a|0;c=B(b,6);v[e+1068>>2]=x[c+998114>>1];v[e+44>>2]=x[c+998112>>1];e=a+b|0;t[e+2348|0]=w[c+998117|0];t[e+2092|0]=w[c+998116|0];b=b+1|0;if((b|0)!=256){continue}break}if(!d){c=0;while(1){d=(c<<2)+a|0;e=v[d+44>>2];g=0-e|0;while(1){b=g&65535;g=b<<1;if(b>>>0>32767){continue}break}d=v[d+1068>>2];if(!(!d|b+e>>>0<32768|b>>>0>>0)){t[(a+c|0)+2348|0]=w[B(w[B(c,6)+998117|0],6)+998117|0]}c=c+1|0;if((c|0)!=256){continue}break}}return a|0}b=P()|0;O()|0;Qc(a);T(b|0);L()}function hxa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=v[a+4>>2];Ub[v[v[b>>2]+20>>2]](b);v[a+48>>2]=0;v[a+40>>2]=0;v[a+56>>2]=0;v[a+44>>2]=v[a+8>>2]>>>31;v[v[a+60>>2]>>2]=v[a+20>>2];v[a+72>>2]=0;v[a+68>>2]=v[a+20>>2];b=v[a+56>>2];while(1){a:{e=a;f=a;b:{c:{d:{e:{f:{g:{h:{i:{if((b|0)>=12){c=v[a+52>>2];break i}while(1){b=v[a+4>>2];c=Ub[v[v[b>>2]+28>>2]](b)|0;if((c|0)==-1){b=v[a+56>>2];if(!b){break g}c=v[a+52>>2]<<12-b;break h}d=v[a+56>>2];b=d+8|0;v[a+56>>2]=b;c=c+(v[a+52>>2]<<8)|0;v[a+52>>2]=c;if((d|0)<4){continue}break}}c=c>>>b-12|0}c=c&4095;if(!c){break a}if((c|0)==1){v[a+12>>2]=1;b=((b|0)>12?b:12)-12|0;v[a+56>>2]=b}if(v[a+8>>2]<=0){break b}if((b|0)<=0){break f}c=v[a+52>>2];break e}if(v[a+8>>2]<=0){break b}}while(1){b=v[a+4>>2];c=Ub[v[v[b>>2]+28>>2]](b)|0;if((c|0)==-1){b=v[a+56>>2];if(!b){v[a+44>>2]=0;a=0;break c}a=v[a+52>>2]<<1-b;break d}d=v[a+56>>2];b=d+8|0;v[a+56>>2]=b;c=c+(v[a+52>>2]<<8)|0;v[a+52>>2]=c;if((d|0)<-7){continue}break}}a=c>>>b-1|0}v[f+44>>2]=(a^-1)&1;a=((b|0)>1?b:1)-1|0}v[e+56>>2]=a}return}b=((b|0)>1?b:1)-1|0;v[a+56>>2]=b;continue}}function OZ(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;if(a){c=B(d,204)+c|0;k=v[c+200>>2];l=v[c+204>>2];while(1){c=v[b+4>>2];e=(c|0)<1;a:{if(e){break a}f=v[b>>2];i=f+B(c,40)|0;d=0;c=f;h=0;while(1){g=v[c+16>>2]&32;h=g?h?h:c:h;d=(g>>>5|0)+d|0;c=c+40|0;if(i>>>0>c>>>0){continue}break}c=h;if(d>>>0<=1){if((d|0)==1){l=v[h+36>>2]-Ac(v[h+28>>2],k)|0}if(e){break a}while(1){if((f|0)!=(h|0)){o=f,p=Ac(v[f+28>>2],k)+l|0,v[o+36>>2]=p}f=f+40|0;if(i>>>0>f>>>0){continue}break}break a}while(1){i=c;c=v[c+4>>2];if((h|0)==(c|0)){break a}if(w[c+16|0]&32){continue}d=c;while(1){d=v[d+4>>2];if(!(w[d+16|0]&32)){continue}break}f=v[i+28>>2];g=v[d+28>>2];b:{if((f|0)<=(g|0)){j=g-f|0;g=i;e=d;break b}j=f-g|0;f=g;g=d;e=i}m=v[e+36>>2];g=v[g+36>>2];c:{if((j|0)<1){n=65536;break c}n=ad(m-g|0,j);c=v[i+4>>2]}while(1){i=c;e=v[c+28>>2]-f|0;d:{if((e|0)<=0){e=Ac(e,k)+g|0;break d}if((e|0)>=(j|0)){e=Ac(e-j|0,k)+m|0;break d}e=Ac(e,n)+g|0}v[i+36>>2]=e;c=v[c+4>>2];if((d|0)!=(c|0)){continue}break}c=d;if((h|0)!=(c|0)){continue}break}}b=b+8|0;a=a-1|0;if(a){continue}break}}}function eLa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=Qb-16|0;Qb=d;c=Bc(b);if(c>>>0<4294967280){a:{b:{if(c>>>0>=11){e=c+16&-16;f=fc(e);v[d+8>>2]=e|-2147483648;v[d>>2]=f;v[d+4>>2]=c;break b}t[d+11|0]=c;f=d;if(!c){break a}}gc(f,b,c)}t[c+f|0]=0;g=v[d>>2];b=w[d+11|0];h=b<<24>>24;c=(h|0)<0;c:{e=c?v[d+4>>2]:b;if(e>>>0>=1073741808){v[299999]=0;R(2530,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break c}L()}d:{e:{if(e>>>0>=2){v[299999]=0;f=e+4&-4;b=S(1,f<<2)|0;i=v[299999];v[299999]=0;if((i|0)==1){break c}v[a>>2]=b;v[a+4>>2]=e;v[a+8>>2]=f|-2147483648;a=b;break e}t[a+11|0]=e;if(!e){break d}}c=c?g:d;i=e-1|0;f=e&7;f:{if(!f){b=c;break f}b=c;while(1){v[a>>2]=t[b|0];a=a+4|0;b=b+1|0;f=f-1|0;if(f){continue}break}}if(i>>>0<7){break d}c=c+e|0;while(1){v[a>>2]=t[b|0];v[a+4>>2]=t[b+1|0];v[a+8>>2]=t[b+2|0];v[a+12>>2]=t[b+3|0];v[a+16>>2]=t[b+4|0];v[a+20>>2]=t[b+5|0];v[a+24>>2]=t[b+6|0];v[a+28>>2]=t[b+7|0];a=a+32|0;b=b+8|0;if((c|0)!=(b|0)){continue}break}}v[a>>2]=0;if((h|0)<=-1){dc(g)}Qb=d+16|0;return}a=P()|0;O()|0;if((h|0)<=-1){dc(g)}T(a|0);L()}$d(d);L()}function vK(a){var b=0,c=0,d=0,e=0;b=jc(68);if(!b){return 0}v[b+52>>2]=0;v[b+56>>2]=0;v[b>>2]=0;v[b+4>>2]=0;v[b+60>>2]=0;v[b+64>>2]=-1;v[b+8>>2]=0;v[b+12>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;d=w[a|0];if(d){while(1){e=a;a:{b:{c:{d:{e:{f:{a=d<<24>>24;switch(a-97|0){case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 18:case 19:case 20:case 21:break a;case 0:break b;case 1:break c;case 22:break d;case 17:break e;default:break f}}if((a|0)!=43){break a}c=c|3;break a}c=c|1;break a}c=c|18;break a}c=c|8;break a}c=c|4}a=e+1|0;d=w[e+1|0];if(d){continue}break}}v[b>>2]=c;a=jc(32);if(!a){g:{if(!(w[b+4|0]&8)){break g}a=v[b+12>>2];if(!a){break g}dc(a);v[b+12>>2]=0}dc(b);return 0}t[a+8|0]=0;v[a>>2]=0;v[b+56>>2]=a;v[a+4>>2]=2;if(!v[b+12>>2]){a=jc(8208);v[b+12>>2]=a;h:{if(a){d=8192;e=v[b+4>>2]|8;break h}a=b+32|0;v[b+12>>2]=a;d=1;e=v[b+4>>2]}v[b+28>>2]=0;v[b+20>>2]=d;v[b+52>>2]=1028104;a=a+16|0;v[b+24>>2]=a;v[b+16>>2]=a;v[b+4>>2]=e|2;return b}X(36522,6782,703,188128);L()}function ova(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;g=fc(8);v[299999]=0;d=Q(3063,g|0,322756)|0;e=v[299999];v[299999]=0;if((e|0)!=1){a:{Mg(d,v[a+20>>2]);e=v[a+28>>2];if(e){while(1){_c(d,346799);Mg(d,v[e>>2]);_c(d,346043);f=0;h=v[e+4>>2];if(v[h>>2]>=1){while(1){b:{c:{d:{e:{f:{g:{i=w[v[h+4>>2]+f|0];switch(i-34|0){case 4:break e;case 28:break f;case 26:break g;case 0:break d;default:break c}}_c(d,322772);break b}_c(d,322777);break b}_c(d,322789);break b}_c(d,322765);break b}gd(d,i<<24>>24)}f=f+1|0;if((f|0)>2]){continue}break}}_c(d,346080);e=v[e+12>>2];if(e){continue}break}}e=Ub[v[v[a>>2]+40>>2]](a)|0;_c(d,e?322677:322672);h=Ub[b|0](c,v[d+4>>2],v[d>>2])|0;Dc(d);dc(g);f=0;h:{if(!h){break h}if(e){while(1){if(!(Ub[v[v[e>>2]+52>>2]](e,b,c)|0)){break h}e=Ub[v[v[e>>2]+44>>2]](e)|0;if(e){continue}break}g=fc(8);v[299999]=0;d=S(3312,g|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break a}_c(d,335582);Mg(d,v[a+20>>2]);_c(d,322677);a=Ub[b|0](c,v[d+4>>2],v[d>>2])|0;Dc(d);dc(g);if(!a){break h}}f=1}return f|0}}a=P()|0;O()|0;dc(g);T(a|0);L()}function yM(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=Qb+-64|0;Qb=g;f=49811;d=v[b+4>>2];h=x[a+98>>1];e=d>>>0>>0;a:{b:{if(!e){f=50410;if(d>>>0<=h>>>0){break b}}d=v[a>>2];i=v[a+628>>2];j=v[tf(a,x[b>>1])+16>>2];v[g+20>>2]=v[b+4>>2];v[g+16>>2]=j;v[g+24>>2]=h;Ld(i,d,f,g+16|0);d=0;if(e){break a}d=v[b+4>>2]}f=g+32|0;if(d>>>0>=11){f=kg(a,d,2,56040);if(!f){d=0;break a}d=v[b+4>>2]}c:{d:{if(d>>>0<=2){if(x[a+456>>1]==19789){e=0;e:{f:{switch(d-1|0){case 0:e=v[b+8>>2];break e;case 1:break f;default:break d}}e=v[b+8>>2];u[f+2>>1]=e}u[f>>1]=e>>>16;e=d;break d}e=0;g:{switch(d-1|0){case 0:u[f>>1]=v[b+8>>2];e=d;break d;case 1:break g;default:break d}}e=v[b+8>>2];u[f+2>>1]=e>>>16;u[f>>1]=e;e=d;break d}d=0;if(!jh(a,b,f)){break c}e=v[b+4>>2]}d=1;i=x[f>>1];h:{h=(e|0)>(h|0)?h:e;if((h|0)<=1){break h}e=1;while(1){if((i|0)==x[(d<<1)+f>>1]){e=e+1|0;d=e&65535;if((h|0)>(d|0)){continue}break h}break}c=v[a>>2];d=v[a+628>>2];k=g,l=v[tf(a,x[b>>1])+16>>2],v[k>>2]=l;zc(d,c,56434,g);d=0;break c}u[c>>1]=i;d=1}if((g+32|0)==(f|0)){break a}dc(f)}Qb=g- -64|0;return d}function xLa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=Qb-256|0;Qb=d;f=Pg(84);v[a+8>>2]=f;a:{if(f){v[d+24>>2]=v[216243];e=v[216242];v[d+16>>2]=v[216241];v[d+20>>2]=e;e=v[216240];v[d+8>>2]=v[216239];v[d+12>>2]=e;e=v[216238];v[d>>2]=v[216237];v[d+4>>2]=e;v[f>>2]=0;e=d+32|0;g=f,h=Af(333410,e,d,c),v[g+4>>2]=h;g=f,h=Af(328829,e,d,c),v[g+8>>2]=h;g=f,h=Af(326413,e,d,c),v[g+12>>2]=h;g=f,h=Af(333596,e,d,c),v[g+16>>2]=h;g=f,h=Af(329198,e,d,c),v[g+20>>2]=h;g=f,h=Af(327947,e,d,c),v[g+24>>2]=h;g=f,h=Af(325662,e,d,c),v[g+28>>2]=h;g=f,h=Af(325003,e,d,c),v[g+32>>2]=h;g=f,h=Af(324464,e,d,c),v[g+36>>2]=h;g=f,h=Af(323880,e,d,c),v[g+40>>2]=h;g=f,h=Af(234179,e,d,c),v[g+44>>2]=h;g=f,h=Af(325053,e,d,c),v[g+48>>2]=h;g=f,h=Af(325035,e,d,c),v[g+52>>2]=h;g=f,h=Af(325089,e,d,c),v[g+56>>2]=h;g=f,h=Af(325071,e,d,c),v[g+60>>2]=h;g=f,h=Af(325107,e,d,c),v[g+64>>2]=h;g=f,h=Af(335087,e,d,c),v[g+68>>2]=h;g=f,h=Af(323369,e,d,c),v[g+72>>2]=h;g=f,h=Af(323386,e,d,c),v[g+76>>2]=h;if(!(w[b+8|0]?0:v[c>>2]<=0)){bW(a);break a}v[f+80>>2]=0;break a}v[c>>2]=7}Qb=d+256|0}function sJa(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,j=0,k=0,l=0;h=Qb-32|0;Qb=h;v[h+28>>2]=0;a:{if(!a|!v[a+8>>2]){break a}j=289123;b:{if((c|0)!=289123){if(!c){break b}i=c;while(1){k=w[i|0];if((k|0)!=w[j|0]){break b}j=j+1|0;i=i+1|0;if(k){continue}break}}if((d|0)==2){break b}k=v[a+100>>2];if(!(v[a+172>>2]==-1?v[a+212>>2]:0)){v[a+84>>2]=540;j=v[a>>2];i=0;c:{if(!j){break c}i=0;if(v[j+108>>2]!=-554844497){break c}i=v[j+124>>2]}j=v[a+108>>2];l=v[a+112>>2];v[h+16>>2]=0;v[h+20>>2]=0;oc(i,l,j,a,0,4,540,2,0,0,0,0,355582,h+16|0)}v[a+100>>2]=k}c=zF(a,c,h+28|0);v[a+144>>2]=1;i=a+108|0;d:{e:{switch(v[a+216>>2]-1|0){case 1:OU(i,v[v[a+8>>2]+48>>2],b,c,v[h+28>>2],d,e,f,g);break d;default:f:{if(v[a+172>>2]==-1?v[a+212>>2]:0){break f}v[a+84>>2]=1;v[h+4>>2]=0;v[h>>2]=c;oc(0,0,0,a,0,1,1,3,c,0,0,0,348546,h);v[a+100>>2]=0;v[a+12>>2]=0;if(v[a+288>>2]){break f}v[a+212>>2]=1}Hj(g);break a;case 0:break e}}OU(i,v[v[a+8>>2]+44>>2],b,c,v[h+28>>2],d,e,f,g)}a=v[h+28>>2];if(a){Ub[v[259708]](a)}if(!c){break a}Ub[v[259708]](c)}Qb=h+32|0}function c2a(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;g=Qb-272|0;Qb=g;e=v[b+4>>2];f=v[b>>2];b=v[a>>2];d=v[a+4>>2];v[g+12>>2]=d<<2;v[g+8>>2]=b<<2;h=e<<2;v[g+4>>2]=h;f=f<<2;v[g>>2]=f;k=v[c+208>>2];v[g+16>>2]=k;a=v[c+212>>2];v[g+20>>2]=a;j=d>>6;a:{b:{l=e>>6;i=v[c+176>>2];c:{d:{if((l|0)<(i|0)){e=a>>8;break d}e=a>>8;if((i|0)>(j|0)){break d}if((e|0)>=(i|0)){break c}}i=v[c+172>>2];if((i|0)<=(l|0)|(i|0)<=(j|0)|(e|0)>=(i|0)){break b}}v[c+212>>2]=h;v[c+208>>2]=f;break a}e=1;d=a+(h-(d<<3)|0)|0;a=d>>31;h=(f-(b<<3)|0)+k|0;b=h>>31;a=a^a+d;b=b^b+h;a=a>>>0>b>>>0?a:b;if(a>>>0>=65){while(1){e=e<<1;b=a>>>0>259;a=a>>>2|0;if(b){continue}break}}a=g;while(1){b=0-e&e;if(b>>>0>=2){while(1){d=v[a+16>>2];v[a+32>>2]=d;h=v[a+20>>2];v[a+36>>2]=h;f=v[a+8>>2];j=f+v[a>>2]|0;v[a+8>>2]=j>>1;d=d+f|0;v[a+24>>2]=d>>1;v[a+16>>2]=d+j>>2;d=v[a+12>>2];f=d+v[a+4>>2]|0;v[a+12>>2]=f>>1;d=d+h|0;v[a+28>>2]=d>>1;v[a+20>>2]=d+f>>2;a=a+16|0;b=b>>1;if(b>>>0>1){continue}break}}LH(c,v[a>>2],v[a+4>>2]);a=a-16|0;e=e-1|0;if(e){continue}break}}Qb=g+272|0;return 0}function Ff(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;o(+a);c=j(1)|0;d=j(0)|0;c=c&2147483647;d=(c|0)==2146435072&d>>>0<1|c>>>0<2146435072;o(+b);c=j(1)|0;c=c&2147483647;if(!(d&(!(j(0)|0)&(c|0)==2146435072|c>>>0<2146435072))){return a+b}o(+b);d=j(1)|0;h=j(0)|0;e=d;if(!(h|d-1072693248)){return NN(a)}o(+a);c=j(1)|0;d=j(0)|0;i=e>>>30&2;k=c;c=i|c>>>31;a:{f=d;d=k&2147483647;b:{if(!(f|d)){c:{switch(c-2|0){case 0:return 3.141592653589793;case 1:break c;default:break b}}return-3.141592653589793}e=e&2147483647;if(!(e|h)){break a}d:{if((e|0)==2146435072){if((d|0)!=2146435072){break d}return A[(c<<3)+1006320>>3]}if(!((d|0)!=2146435072&d>>>0<=e+67108864>>>0)){break a}e:{if(i){g=0;if(e>>>0>d+67108864>>>0){break e}}g=NN(D(a/b))}a=g;f:{switch(c|0){case 1:return-a;case 2:return 3.141592653589793-(a+-1.2246467991473532e-16);case 0:break b;default:break f}}return a+-1.2246467991473532e-16+-3.141592653589793}a=A[(c<<3)+1006352>>3]}return a}o(1.5707963267948966);c=j(1)|0;f=j(0)|0;o(+a);d=j(1)|0;j(0)|0;l(0,f|0);l(1,c&2147483647|d&-2147483648);return+n()}function Rda(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,h=0,i=0,j=0,k=0;i=Qb-16|0;Qb=i;a:{b:{if(!a|!d|((b|0)>(c|0)|(e|0)>(f|0))){break b}while(1){h=(b<<3)+a|0;v[h>>2]=0;v[h+4>>2]=v[282402];c:{g=v[(e<<3)+d>>2];d:{e:{if(g){j=v[v[g>>2]+28>>2];v[299999]=0;U(j|0,i+8|0,g|0,1);g=v[299999];v[299999]=0;if((g|0)!=1){break e}b=P()|0;O()|0;break d}v[i+8>>2]=0}v[299999]=0;Q(4344,h|0,i+8|0)|0;g=v[299999];v[299999]=0;if((g|0)!=1){g=v[i+8>>2];v[i+8>>2]=0;if(!g){break c}v[299999]=0;j=v[g+4>>2]-1|0;v[g+4>>2]=j;k=v[299999];v[299999]=0;if((k|0)!=1){if(j){break c}v[299999]=0;R(4338,g|0);g=v[299999];v[299999]=0;if((g|0)!=1){break c}}break a}b=P()|0;O()|0;a=v[i+8>>2];v[i+8>>2]=0;if(!a){break d}v[299999]=0;c=v[a+4>>2]-1|0;v[a+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break d}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}ec(h);T(b|0);L()}g=h;h=v[h>>2];v[g+4>>2]=v[(h?h+12|0:1129608)>>2];if((b|0)>=(c|0)){break b}b=b+1|0;h=(e|0)<(f|0);e=e+1|0;if(h){continue}break}}Qb=i+16|0;return}W(0)|0;O()|0;lc();L()}function LL(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;f=Qb-16|0;Qb=f;a:{b:{c:{d:{e:{e=v[a+584>>2];if(e){if(x[a+90>>1]!=32845){break e}if(x[a+138>>1]!=1){zc(v[a+628>>2],84176,28914,0);break a}c=-1;b=v[e>>2];if((b|0)!=-1){break b}b=0;f:{g:{h:{d=x[a+86>>1]|x[a+84>>1]<<3;switch(d-257|0){case 2:break c;case 0:case 1:case 3:break g;default:break h}}b=d-129|0;if(b>>>0<=3){break f}break d}c=2;b=-1;break c}if((b|0)==2){break d}b=1;break c}X(25714,6284,1275,84176);L()}X(27288,6284,1276,84176);L()}i:{switch(d-65|0){case 0:case 3:b=3;break c;default:break i}}b=-1}j:{k:{switch(x[a+98>>1]-1|0){case 2:c=b;break j;case 0:break j;default:break k}}c=-1}v[e>>2]=c;b=c}if(b>>>0>=4){b=0;zc(v[a+628>>2],v[a>>2],29808,0);break a}v[e+8>>2]=v[(b<<2)+84380>>2];b=1;d=e;l:{if(w[a+13|0]&4){g=v[a+68>>2];c=Bib(v[a+72>>2],0,g,0);h=(Tb|0)!=0;break l}g=v[a+56>>2];c=Bib(v[a+100>>2],0,g,0);h=(Tb|0)!=0}c=g?h?0:c:c;v[d+16>>2]=c;d=c<<2;if(c?(c|0)!=(c&1073741823)?0:d:d){c=jc(d);v[e+12>>2]=c;if(c){break a}}b=v[a+628>>2];v[f>>2]=v[a>>2];zc(b,84176,31515,f);b=0}Qb=f+16|0;return b}function bq(a){var b=0,c=0,d=0,e=0;if(a){d=v[a+32>>2];if(d){c=v[d+80>>2]}a:{if(!v[294265]){break a}d=v[294263];if(!d){break a}Ub[d|0](a)}b=v[a+12>>2];if(b){while(1){d=v[b+24>>2];e=v[b+4>>2];if(!(1<>>0<=17:0)){Yi(b);pk(b)}b=d;if(b){continue}break}}e=v[a+8>>2];b:{if(!e){break b}if(c){d=c;while(1){b=v[d+16>>2];if(b){while(1){if(e>>>0<=y[b+4>>2]&e>>>0>=b+20>>>0){break b}b=v[b>>2];if(b){continue}break}}d=v[d+20>>2];if(d){continue}break}}Ub[v[259708]](e)}e=v[a+56>>2];c:{if(!e){break c}if(c){d=c;while(1){b=v[d+16>>2];if(b){while(1){if(e>>>0<=y[b+4>>2]&e>>>0>=b+20>>>0){break c}b=v[b>>2];if(b){continue}break}}d=v[d+20>>2];if(d){continue}break}}Ub[v[259708]](e)}d=v[a+52>>2];d:{if(!d){break d}if(c){while(1){b=v[c+16>>2];if(b){while(1){if(d>>>0<=y[b+4>>2]&d>>>0>=b+20>>>0){break d}b=v[b>>2];if(b){continue}break}}c=v[c+20>>2];if(c){continue}break}}Ub[v[259708]](d)}c=v[a+36>>2];if(c){il(c,3030)}c=v[a+40>>2];if(c){il(c,3026)}c=v[a+44>>2];if(c){il(c,3028)}c=v[a+48>>2];if(c){il(c,2977)}c=v[a+60>>2];if(c){il(c,2977)}Ub[v[259708]](a)}}function U_a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{b:{c:{if(!w[a+24|0]){h=v[b>>2];break c}h=v[b>>2];d=a+28|0;if((h|0)!=v[d>>2]){break c}vZ(a);if(!w[a+24|0]){return 0}c=v[a+32>>2];break b}c=v[a+16>>2];d=w[c+12|0]|w[c+13|0]<<8|(w[c+14|0]<<16|w[c+15|0]<<24);i=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if(!i|(h|0)==-1){break a}j=c+20|0;k=h+1|0;d=i;d:{e:{while(1){g=d+l>>>1|0;f=B(g,12)+j|0;e=f;c=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24);m=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=g;e=e-4|0;e=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24);if((e<<24|e<<8&16711680|(e>>>8&65280|e>>>24))>>>0<=k>>>0){if(h>>>0>>0){break e}l=g+1|0}else{d=c}if(d>>>0>l>>>0){continue}break}c=0;break d}d=w[f+4|0]|w[f+5|0]<<8|(w[f+6|0]<<16|w[f+7|0]<<24);c=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24)}j=v[a>>2];if(h>>>0>=m>>>0){f=0;g=g+1|0;if((i|0)==(g|0)){break a}}t[a+24|0]=1;v[a+36>>2]=g;d=a+28|0;v[d>>2]=k;if(!(c>>>0>2]?c:0)){vZ(a);c=0;if(!w[a+24|0]){break b}c=v[a+32>>2];break b}v[a+32>>2]=c}f=c;v[b>>2]=v[d>>2]}return f|0}function fJa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(!a){break a}i=v[a+8>>2];f=v[a+52>>2];g=Qb-16|0;Qb=g;c=Ub[v[259704]](60)|0;b:{if(!c){v[g>>2]=228894;oc(0,0,0,0,0,2,2,3,228894,0,0,0,350051,g);c=0;break b}v[c>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c+56>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+4>>2]=8;v[c+8>>2]=883691;if(b){d=b;while(1){e=d;d=d+1|0;if(w[e|0]){continue}break}d=0;h=e-b|0;c:{if((h|0)<0){break c}e=Ub[v[259707]](h+1|0)|0;if(!e){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break c}d=gc(e,b,h);t[h+d|0]=0}v[c+40>>2]=d}if(!v[294265]){break b}b=v[294262];if(!b){break b}Ub[b|0](c)}Qb=g+16|0;if(!c){break a}b=c;v[c+32>>2]=i;d:{if(!v[a+280>>2]){break d}d=v[a+36>>2];if(!d){break d}d=v[d+28>>2];u[b+56>>1]=(d|0)<65535?d:65535}e:{switch(v[a+216>>2]-1|0){case 0:$f(v[v[a+8>>2]+44>>2],b);return;case 1:$f(v[v[a+8>>2]+48>>2],b);return;default:break e}}if(!f){$f(v[a+8>>2],b);return}if(v[f+4>>2]==1){$f(f,b);return}$y(f,b)}}function q5(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=Qb-16|0;Qb=e;d=v[a+584>>2];if(d){a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{if((b|0)<=65536){n:{switch(b-34908|0){case 3:break c;case 2:break d;case 1:break e;case 0:break f;default:break n}}if((b|0)==347){break m}if((b|0)!=530){break b}dw(a,0,0);if(v[d+932>>2]|!v[d+16>>2]|x[a+90>>1]!=6){break g}v[d+932>>2]=1;if(!(v[a+12>>2]>>>10&1)){break i}if(QN(a,0)){break h}break g}switch(b-65537|0){case 2:break j;case 1:break k;case 0:break l;default:break b}}v[v[c>>2]>>2]=v[d+916>>2];v[v[c+4>>2]>>2]=v[d+912>>2];a=1;break a}v[v[c>>2]>>2]=v[d+920>>2];a=1;break a}v[v[c>>2]>>2]=v[d+924>>2];a=1;break a}v[v[c>>2]>>2]=v[d+928>>2];a=1;break a}if(!XN(a,0)){break g}}b=x[d+834>>1];v[e+4>>2]=x[d+836>>1];v[e>>2]=b;Id(a,530,e);v[a+480>>2]=-1}a=Ub[v[d+892>>2]](a,530,c)|0;break a}v[v[c>>2]>>2]=v[d+936>>2];a=1;break a}v[v[c>>2]>>2]=v[d+940>>2];a=1;break a}v[v[c>>2]>>2]=v[d+944>>2];a=1;break a}v[v[c>>2]>>2]=v[d+948>>2];a=1;break a}a=Ub[v[d+892>>2]](a,b,c)|0}Qb=e+16|0;return a|0}X(29012,7121,1775,88032);L()}function Xia(a,b,c){a=+a;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;g=Qb-256|0;Qb=g;a:{b:{if(a<1.001&a>.999){break b}c:{if(t[1180864]&1){break c}if(!Je(1180864)){break c}Ie(1180864)}if(A[141200]!=a){if(a<.1|a>10){b=vc(g,255925,241480,657,341386,0);v[299999]=0;R(4370,b|0);c=v[299999];v[299999]=0;if((c|0)!=1){break a}c=P()|0;O()|0;qc(b);T(c|0);L()}i=1/a;while(1){h=e+1180608|0;f=H(de(+(e|0)/255,i)*255+.5);d:{if(D(f)<2147483648){d=~~f;break d}d=-2147483648}t[h|0]=d;d=e|1;h=d+1180608|0;f=H(de(+(d|0)/255,i)*255+.5);e:{if(D(f)<2147483648){d=~~f;break e}d=-2147483648}t[h|0]=d;e=e+2|0;if((e|0)!=256){continue}break}t[1180863]=255;A[141200]=a;t[1180608]=0}d=gc(g,1180608,256);if((c|0)<1){break b}if(c&1){t[b+2|0]=w[d+w[b+2|0]|0];t[b+1|0]=w[d+w[b+1|0]|0];t[b|0]=w[d+w[b|0]|0];b=b+3|0;e=c-1|0}else{e=c}if((c|0)==1){break b}while(1){t[b+2|0]=w[d+w[b+2|0]|0];t[b+1|0]=w[d+w[b+1|0]|0];t[b|0]=w[d+w[b|0]|0];t[b+5|0]=w[d+w[b+5|0]|0];t[b+4|0]=w[d+w[b+4|0]|0];t[b+3|0]=w[d+w[b+3|0]|0];b=b+6|0;c=(e|0)>2;e=e-2|0;if(c){continue}break}}Qb=g+256|0;return}L()}function sQ(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=v[a+20>>2];c=v[a+16>>2];if((b|0)!=(c|0)){while(1){b=xc(b-12|0);if((c|0)!=(b|0)){continue}break}}v[a+20>>2]=c;e=a+4|0;a:{if(!v[a+12>>2]){break a}b=v[a+8>>2];c=v[b>>2];d=v[a+4>>2];v[c+4>>2]=v[d+4>>2];v[v[d+4>>2]>>2]=c;v[a+12>>2]=0;if((b|0)==(e|0)){break a}while(1){c=v[b+4>>2];Cd(b+8|0);dc(b);b=c;if((e|0)!=(b|0)){continue}break}}v[a+36>>2]=v[a+32>>2];b=v[a+60>>2];c=v[a+56>>2];b:{if((b|0)==(c|0)){c=b;break b}while(1){d=b-c|0;if(d){g=a;d=(c+d|0)-8|0;f=v[d>>2];if(!(!f|!w[d+4|0])){dc(SD(f));c=v[a+56>>2];b=v[a+60>>2]}b=b-8|0;v[g+60>>2]=b}if((b|0)!=(c|0)){continue}break}}if(c){v[a+60>>2]=c;dc(c)}b=v[a+32>>2];if(b){v[a+36>>2]=b;dc(b)}c=v[a+16>>2];if(c){b=v[a+20>>2];if((c|0)==(b|0)){b=c}else{while(1){b=xc(b-12|0);if((c|0)!=(b|0)){continue}break}b=v[a+16>>2]}v[a+20>>2]=c;dc(b)}c:{if(!v[a+12>>2]){break c}b=v[a+8>>2];c=v[b>>2];d=v[a+4>>2];v[c+4>>2]=v[d+4>>2];v[v[d+4>>2]>>2]=c;v[a+12>>2]=0;if((b|0)==(e|0)){break c}while(1){c=v[b+4>>2];Cd(b+8|0);dc(b);b=c;if((e|0)!=(b|0)){continue}break}}Cd(a)}function zZ(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{b:{b=v[a+24>>2];if(b>>>0>65534){break b}i=v[a>>2];l=v[i+508>>2]+v[i+512>>2]|0;c=v[a+40>>2];b=b+1|0;b=b>>>0>>0?c:b;while(1){g=v[a+44>>2];c:{if(g>>>0>>0){break c}f=v[a+48>>2];d:{e=v[a+52>>2];if(!e){j=v[i+16>>2];c=f+g|0;if((c|0)<=-1){while(1){d=b+f&65535;if(j>>>0<=d>>>0){break c}if(d){break a}b=b+1|0;if(g>>>0>=b>>>0){continue}break c}}e=0-f|0;if((c|0)<=65535){break d}h=65536-f|0;while(1){k=b+f|0;d=k&65535;e:{if(j>>>0<=d>>>0){c=e;if((k|0)<0){break e}c=h;if((k|0)<65536){break e}break c}c=b;if(d){break a}}b=c+1|0;if(g>>>0>=b>>>0){continue}break}break c}c=e+(b-c<<1)|0;if(l>>>0>>0){break c}while(1){e=w[c+1|0]|w[c|0]<<8;if(e){d=f+e&65535;if(d){break a}}c=c+2|0;b=b+1|0;if(g>>>0>=b>>>0){continue}break}break c}while(1){h=b+f|0;d=h&65535;f:{if(j>>>0<=d>>>0){c=e;if((h|0)<0){break f}break c}c=b;if(d){break a}}b=c+1|0;if(g>>>0>=b>>>0){continue}break}}d=0;if((AZ(a,v[a+36>>2]+1|0)|0)<0){break b}c=v[a+40>>2];b=b>>>0>>0?c:b;continue}}b=-1}v[a+28>>2]=d;v[a+24>>2]=b}function Pya(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;v[a+48>>2]=13;v[a+32>>2]=13;v[a+16>>2]=13;v[a>>2]=b;b=v[b+24>>2];v[a+8>>2]=c;v[a+4>>2]=b;c=fc(296);b=c;v[b>>2]=0;v[b+4>>2]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+64>>2]=0;v[b+72>>2]=0;v[b+76>>2]=0;v[b+104>>2]=0;v[b+108>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b+16>>2]=0;v[b+20>>2]=1078525952;v[b+24>>2]=0;v[b+28>>2]=1078525952;v[b+40>>2]=0;v[b+44>>2]=0;v[b+48>>2]=0;v[b+52>>2]=1078525952;v[b+56>>2]=0;v[b+60>>2]=1078525952;v[b+80>>2]=0;v[b+84>>2]=0;v[b+88>>2]=0;v[b+92>>2]=1078525952;v[b+96>>2]=0;v[b+100>>2]=1078525952;v[b+128>>2]=0;v[b+132>>2]=1078525952;v[b+120>>2]=0;v[b+124>>2]=1078525952;v[b+112>>2]=0;v[b+116>>2]=0;v[b+280>>2]=5;v[b+256>>2]=5;v[b+240>>2]=5;v[b+224>>2]=5;v[b+208>>2]=5;v[b+192>>2]=5;v[b+176>>2]=5;v[b+168>>2]=0;d=v[b+28>>2];v[b+160>>2]=v[b+24>>2];v[b+164>>2]=d;b=v[b+20>>2];v[c+152>>2]=v[c+16>>2];v[c+156>>2]=b;b=v[c+12>>2];v[c+144>>2]=v[c+8>>2];v[c+148>>2]=b;b=v[c+4>>2];v[c+136>>2]=v[c>>2];v[c+140>>2]=b;v[a+64>>2]=1;v[a+48>>2]=5;v[a+32>>2]=5;v[a+16>>2]=5;v[a+12>>2]=c;return a|0}function Tja(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;g=Qb-32|0;Qb=g;a:{if(w[a+88|0]){e=v[a+84>>2];break a}m=a,n=Ub[v[v[a>>2]+36>>2]](a)|0,v[m+72>>2]=n;m=a,n=Ub[v[v[a>>2]+44>>2]](a)|0,v[m+76>>2]=n;m=a,n=Ub[v[v[a>>2]+40>>2]](a)|0,v[m+80>>2]=n;e=Ub[v[v[a>>2]+48>>2]](a)|0;t[a+88|0]=1;v[a+84>>2]=e}b:{c:{if(v[a+92>>2]>0){d=e;e=v[a+80>>2];i=d-e|0;h=v[a+72>>2];j=v[a+76>>2]-h|0;k=v[a+128>>2];l=v[a+104>>2];while(1){if(!(v[a+116>>2]<=(c|0)&v[a+120>>2]>=(c|0))){a=vc(g+8|0,227445,271729,619,307344,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break c}break b}d=(c-v[a+108>>2]<<2)+l|0;f=v[b>>2];v[d>>2]=((B(v[b+8>>2]-f|0,v[d>>2]-h|0)|0)/(j|0)|0)+f;if(!(v[a+140>>2]<=(c|0)&v[a+144>>2]>=(c|0))){a=vc(g+8|0,227445,271729,619,307344,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break c}break b}d=(c-v[a+132>>2]<<2)+k|0;f=v[b+4>>2];v[d>>2]=((B(v[b+12>>2]-f|0,v[d>>2]-e|0)|0)/(i|0)|0)+f;c=c+1|0;if((c|0)>2]){continue}break}}Qb=g+32|0;return}L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function Pl(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=Qb-32|0;Qb=d;c=fc(544);v[299999]=0;v[d>>2]=0;Q(4336,d|0,b|0)|0;b=v[299999];v[299999]=0;a:{b:{if((b|0)!=1){v[c+8>>2]=1;v[c+4>>2]=0;v[c>>2]=982340;b=v[d>>2];v[c+536>>2]=0;v[c+540>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+12>>2]=b;e=c+16|0;c:{d:{if(!b){v[299999]=0;a=aa(4369,d+8|0,258701,241879,1712,340610,0)|0;b=v[299999];v[299999]=0;e:{if((b|0)!=1){v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)==1){break e}L()}b=P()|0;O()|0;break d}b=P()|0;O()|0;qc(a);break d}if(!v[b+4>>2]){break c}v[299999]=0;Q(4336,e|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break c}b=P()|0;O()|0}ec(e);Ti(c);ec(d);break b}v[a>>2]=0;v[299999]=0;Q(4336,a|0,c|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){a=v[d>>2];v[d>>2]=0;f:{if(!a){break f}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break f}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Qb=d+32|0;return}a=P()|0;O()|0;ec(d);T(a|0);L()}b=P()|0;O()|0}dc(c);T(b|0);L()}W(0)|0;O()|0;lc();L()}function IQ(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;f=Qb-528|0;Qb=f;e=v[a+200>>2];if(e&1){a:{if(e&4){Gc(a,63662);td(a,c);break a}if(!(e&2)){Gc(a,63979);td(a,c);break a}if(!(!b|!(w[b+8|0]&64))){Gc(a,64136);td(a,c);break a}if(!(x[a+392>>1]<<1==(c|0)&c>>>0<=512)){Gc(a,64354);td(a,c);break a}if(c>>>0>=2){c=c>>>1|0;e=c>>>0>1?c:1;c=0;while(1){d=f+14|0;yf(a,d,2);kd(a,d,2);d=w[f+14|0]|w[f+15|0]<<8;u[(f+16|0)+(c<<1)>>1]=d<<8|d>>>8;c=c+1|0;if((e|0)!=(c|0)){continue}break}}if(td(a,0)){break a}e=f+16|0;b:{if(!a|!b){break b}if((x[b+20>>1]-1&65535)>>>0>=256){Gc(a,34887);break b}ao(a,b,8,0);c=If(a,512);v[a+596>>2]=c;if(c){d=x[b+20>>1];c:{if(!d){break c}h=d&3;a=0;if(d-1>>>0>=3){i=d&65532;while(1){d=a<<1;u[d+c>>1]=x[d+e>>1];g=d|2;u[g+c>>1]=x[e+g>>1];g=d|4;u[g+c>>1]=x[e+g>>1];d=d|6;u[d+c>>1]=x[d+e>>1];a=a+4|0;i=i-4|0;if(i){continue}break}}if(!h){break c}while(1){d=a<<1;u[d+c>>1]=x[d+e>>1];a=a+1|0;h=h-1|0;if(h){continue}break}}v[b+124>>2]=c;v[b+8>>2]=v[b+8>>2]|64;v[b+184>>2]=v[b+184>>2]|8;break b}Gc(a,36425)}}Qb=f+528|0;return}hd(a,63502);L()}function Uua(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;d=Qb-16|0;Qb=d;a:{if(t[c+11|0]>=0){v[d+8>>2]=v[c+8>>2];f=v[c+4>>2];v[d>>2]=v[c>>2];v[d+4>>2]=f;break a}Ke(d,v[c>>2],v[c+4>>2])}e=w[b+15|0];f=e<<24>>24;g=(f|0)<0;b:{c:{d:{e:{c=v[b+8>>2];h=g?c:e;if(h){f=w[d+11|0];c=f<<24>>24<0;e=c?v[d+4>>2]:f;if((h|0)>(e|0)){break e}f=c?v[d>>2]:d;i=f+(e<<2)|0;g=g?v[b+4>>2]:b+4|0;k=v[g>>2];c=f;while(1){e=e-h|0;j=e+1|0;if(j>>>0>>0){break e}c=sf(c,k,j);if(!c){break e}if(od(c,g,h)){c=c+4|0;e=i-c>>2;if((h|0)<=(e|0)){continue}break e}break}if((c|0)==(i|0)|(c|0)!=(f|0)){break e}e=w[b+15|0];f=e;c=v[b+8>>2]}v[299999]=0;ca(2654,a|0,d|0,(f<<24>>24<0?c:e)+1|0,-1,d|0)|0;break d}c=w[d+11|0];b=c<<24>>24<0;if(!(b?v[d+4>>2]:c)|v[(b?v[d>>2]:d)>>2]!=47){break c}v[299999]=0;ca(2654,a|0,d|0,1,-1,d|0)|0}a=v[299999];v[299999]=0;if((a|0)!=1){break b}a=P()|0;O()|0;if(t[d+11|0]<=-1){dc(v[d>>2])}T(a|0);L()}b=v[d+4>>2];v[a>>2]=v[d>>2];v[a+4>>2]=b;v[a+8>>2]=v[d+8>>2];v[d+8>>2]=0;v[d>>2]=0;v[d+4>>2]=0}if(t[d+11|0]<=-1){dc(v[d>>2])}Qb=d+16|0}function Rva(a,b){a=a|0;b=b|0;var 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=Qb-16|0;Qb=c;a:{b:{if(!v[a+144>>2]){break b}n=A[b+16>>3];o=A[b+24>>3];p=A[b>>3];q=A[b+8>>3];g=c+12|0;h=c+8|0;Ub[v[v[a>>2]+60>>2]](a,p,q,g,h);d=v[c+12>>2];e=v[c+8>>2];Ub[v[v[a>>2]+60>>2]](a,p,o,g,h);k=v[c+12>>2];f=v[c+8>>2];Ub[v[v[a>>2]+60>>2]](a,n,q,g,h);l=v[c+12>>2];i=v[c+8>>2];Ub[v[v[a>>2]+60>>2]](a,n,o,g,h);j=v[b+32>>2];if(!j){break b}g=v[c+8>>2];h=v[c+12>>2];a=v[a+116>>2];if((Ub[v[v[j>>2]+12>>2]](j)|0)!=3){break b}j=v[v[b+32>>2]+4>>2];b=fc(8);v[299999]=0;Q(3064,b|0,j|0)|0;j=v[299999];v[299999]=0;if((j|0)==1){break a}j=v[a+216>>2];a=fc(40);v[a+32>>2]=b;m=(e|0)>(f|0);b=m?e:(e|0)<(f|0)?f:e;e=m?f:e;f=(e|0)>(i|0);b=f?b:(b|0)<(i|0)?i:b;e=f?i:e;f=(e|0)>(g|0);A[a+24>>3]=(f?b:(b|0)<(g|0)?g:b)|0;i=(d|0)>(k|0);b=i?d:(d|0)<(k|0)?k:d;d=i?k:d;k=(d|0)>(l|0);b=k?b:(b|0)<(l|0)?l:b;i=b;m=(b|0)<(h|0)?h:b;b=k?l:d;d=(b|0)>(h|0);A[a+16>>3]=(d?i:m)|0;A[a+8>>3]=(f?g:e)|0;A[a>>3]=(d?h:b)|0;Tc(j,a)}Qb=c+16|0;return}a=P()|0;O()|0;dc(b);T(a|0);L()}function PQa(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,h=0,i=0,j=0,k=0,l=0;d=v[b+4>>2];a:{b:{if(d){f=w[c+11|0];g=f<<24>>24<0;i=g?v[c>>2]:c;g=g?v[c+4>>2]:f;f=b+4|0;while(1){c=w[d+27|0];h=c<<24>>24<0;c=h?v[d+20>>2]:c;l=c>>>0>>0;c:{d:{e:{f:{g:{k=l?c:g;h:{if(k){j=d+16|0;h=h?v[j>>2]:j;j=Pc(i,h,k);if(!j){if(c>>>0>g>>>0){break h}break g}if((j|0)>-1){break g}break h}if(c>>>0<=g>>>0){break f}}c=v[d>>2];if(c){break c}break b}c=Pc(h,i,k);if(c){break e}}if(l){break d}break a}if((c|0)>-1){break a}}f=d+4|0;c=v[d+4>>2];if(!c){break a}d=f}f=d;d=c;continue}}d=b+4|0}f=d}i:{g=a;c=v[f>>2];if(c){b=0}else{c=fc(32);i=c+16|0;e=v[e>>2];j:{if(t[e+11|0]>=0){h=v[e+4>>2];v[i>>2]=v[e>>2];v[i+4>>2]=h;v[i+8>>2]=v[e+8>>2];break j}h=v[e+4>>2];e=v[e>>2];v[299999]=0;U(2534,i|0,e|0,h|0);e=v[299999];v[299999]=0;if((e|0)==1){break i}}v[c+8>>2]=d;v[c>>2]=0;v[c+4>>2]=0;v[c+28>>2]=0;v[f>>2]=c;d=v[v[b>>2]>>2];if(d){v[b>>2]=d;d=v[f>>2]}else{d=c}Uc(v[b+4>>2],d);v[b+8>>2]=v[b+8>>2]+1;b=1}t[g+4|0]=b;v[a>>2]=c;return}a=P()|0;O()|0;dc(c);T(a|0);L()}function yn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;c=v[a>>2];if(c){dc(c);v[a>>2]=0}a:{b:{c:{d:{c=v[b>>2];switch(c|0){case 1:break c;case 0:break d;default:break b}}v[a+4>>2]=2;b=a;a=jc(16);v[b>>2]=a;if(!a){return-1}v[a+8>>2]=0;v[a+12>>2]=1072693248;v[a>>2]=0;v[a+4>>2]=0;return 0}v[a+4>>2]=256;c=jc(2048);v[a>>2]=c;if(!c){return-1}d=v[a+4>>2];if((d|0)<1){return 0}h=+y[v[b+4>>2]>>2]*.00390625;e=+(d-1|0);a=0;if((d|0)!=1){b=d&-2;while(1){g=+(a|0)/e;j=c+(a<<3)|0,k=(l=0,m=de(g,h),n=g==0,n?l:m),A[j>>3]=k;f=a|1;g=+(f|0)/e;j=c+(f<<3)|0,k=(l=0,m=de(g,h),n=g==0,n?l:m),A[j>>3]=k;a=a+2|0;b=b-2|0;if(b){continue}break}}if(!(d&1)){break a}e=+(a|0)/e;j=c+(a<<3)|0,k=(l=0,m=de(e,h),n=e==0,n?l:m),A[j>>3]=k;return 0}v[a+4>>2]=c;c=jc(c<<3);v[a>>2]=c;if(!c){return-1}d=v[a+4>>2];if((d|0)<1){return 0}b=v[b+4>>2];a=0;if((d|0)!=1){f=d&-2;while(1){A[c+(a<<3)>>3]=+y[b+(a<<2)>>2]/65535;i=a|1;A[c+(i<<3)>>3]=+y[b+(i<<2)>>2]/65535;a=a+2|0;f=f-2|0;if(f){continue}break}}if(!(d&1)){break a}A[c+(a<<3)>>3]=+y[b+(a<<2)>>2]/65535}return 0}function nd(a){var b=0,c=0,d=0;d=Qb-32|0;Qb=d;b=v[a+36>>2];c=v[b+16>>2];a:{b:{if(c-v[b+12>>2]>>>0<10000001&v[b+20>>2]-c>>>0<=1e7){break b}c=v[b>>2];if(w[a+362|0]&8|(!c|v[c+4>>2]==2983)){break b}if(!(v[a+172>>2]==-1?v[a+212>>2]:0)){v[a+84>>2]=1;v[d+20>>2]=240671;v[d+16>>2]=238159;oc(0,0,0,a,0,1,1,3,240671,0,0,0,349936,d+16|0);v[a+12>>2]=0}v[a+212>>2]=1;v[a+172>>2]=-1;b=v[a+36>>2];if(!b){break a}c=v[b+40>>2];if(c){Ub[c|0](v[b+12>>2]);b=v[a+36>>2];v[b+40>>2]=0}v[b+12>>2]=358460;v[b+16>>2]=358460;break a}cd(b);b=v[a+36>>2];c=v[b+16>>2];if(!(c>>>0<=y[b+20>>2]&c>>>0>=y[b+12>>2])){v[a+212>>2]=1;v[a+172>>2]=-1;c=v[b+40>>2];c:{d:{if(!c){v[b+12>>2]=358460;v[b+16>>2]=358460;break d}Ub[c|0](v[b+12>>2]);b=v[a+36>>2];v[b+40>>2]=0;c=v[a+212>>2];v[b+12>>2]=358460;v[b+16>>2]=358460;if(!c){break c}}if(v[a+172>>2]==-1){break a}}v[a+84>>2]=1;v[d+4>>2]=287710;v[d>>2]=238159;oc(0,0,0,a,0,1,1,3,287710,0,0,0,349936,d);v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1;break a}if(w[c|0]|!c){break a}if((cd(b)|0)>0){break a}vd(a)}Qb=d+32|0}function L8a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=Qb-16|0;Qb=d;v[d+12>>2]=0;a:{b:{c:{d:{e:{if(!w[b+40|0]){f=b+60|0;i=b+52|0;c=b+32|0;h=v[a+428>>2]+8|0;j=v[b+52>>2];k=v[b+44>>2];e=v[b+32>>2];break e}c=hJ(a,v[b+64>>2],v[b+60>>2],d+12|0,d+8|0,d+4|0);if(c){break c}f=b+60|0;i=b+52|0;c=b+32|0;h=v[a+428>>2]+8|0;j=v[b+52>>2];k=v[b+44>>2];e=v[b+32>>2];g=d+4|0;if(w[b+40|0]){break d}}g=f}g=(v[g>>2]+((e+k|0)+j|0)|0)+5|0;if(g>>>0>y[a+424>>2]){h=Ub[v[a+152>>2]](g)|0;if(!h){break b}e=v[c>>2]}c=h;if(e){c=gc(h,v[b+36>>2],e)+v[b+32>>2]|0}t[c|0]=0;t[c+1|0]=w[b+40|0];t[c+2|0]=w[b+41|0];c=c+3|0;e=v[b+44>>2];if(e){c=gc(c,v[b+48>>2],e)+v[b+44>>2]|0}t[c|0]=0;c=c+1|0;e=v[i>>2];if(e){c=gc(c,v[b+56>>2],e)+v[b+52>>2]|0}t[c|0]=0;c=c+1|0;f:{if(w[b+40|0]){f=v[d+4>>2];if(!f){break f}gc(c,v[d+12>>2],f);break f}f=v[f>>2];if(!f){break f}gc(c,v[b+64>>2],f)}c=_d(a,v[b>>2],g,h);if(g>>>0<=y[a+424>>2]){break c}Ub[v[a+156>>2]](h,g)}b=v[d+12>>2];if(!b){break a}Ub[v[a+156>>2]](b,v[d+8>>2]);break a}c=1;pc(a,1,0,0)}Qb=d+16|0;return c|0}function mX(a,b,c,d){a=a|0;b=+b;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=v[a+2228504>>2];if(e){mX(e,b,c,d)}h=A[a+112>>3];i=b/h;e=i>1.001;a:{if(!(e|i<.999|v[a+120>>2]!=(c|0))){if(v[a+124>>2]==(d|0)){break a}}v[a+124>>2]=d;v[a+120>>2]=c;b:{if(!e){e=c;if(!(i<.999)){break b}}A[a+112>>3]=b;oX(a);h=A[a+112>>3];e=v[a+120>>2]}A[a+184>>3]=h*(+(e>>>0)/72);e=0;g=v[a+180>>2];b=b*64;c:{if(D(b)<2147483648){f=~~b;break c}f=-2147483648}K_(g,f,c,d);d=v[a+268>>2];c=v[a+264>>2];f=d-c|0;d:{if(!f){break d}f=(f|0)/104|0;g=f>>>0>1?f:1;f=g&7;if(g-1>>>0>=7){g=g&-8;while(1){v[(c+B(e,104)|0)+100>>2]=1;v[(c+B(e|1,104)|0)+100>>2]=1;v[(c+B(e|2,104)|0)+100>>2]=1;v[(c+B(e|3,104)|0)+100>>2]=1;v[(c+B(e|4,104)|0)+100>>2]=1;v[(c+B(e|5,104)|0)+100>>2]=1;v[(c+B(e|6,104)|0)+100>>2]=1;v[(c+B(e|7,104)|0)+100>>2]=1;e=e+8|0;g=g-8|0;if(g){continue}break}}if(!f){break d}while(1){v[(c+B(e,104)|0)+100>>2]=1;e=e+1|0;f=f-1|0;if(f){continue}break}}if((c|0)!=(d|0)){while(1){mg(d-28|0);d=d-104|0;if((c|0)!=(d|0)){continue}break}}v[a+268>>2]=c;ic(a+276|0,255,2228224)}}function eea(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=Qb-16|0;Qb=e;f=v[b>>2];if(f){v[f+4>>2]=v[f+4>>2]+1;d=v[b>>2]}v[299999]=0;v[e+8>>2]=d;f=Z(5392,a|0,e+8|0,0,c|0)|0;b=v[299999];v[299999]=0;a:{b:{if((b|0)!=1){v[e+8>>2]=0;c:{if(!d){break c}v[299999]=0;b=v[d+4>>2]-1|0;v[d+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break c}v[299999]=0;R(4338,d|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}v[a+20>>2]=0;v[a>>2]=998080;b=v[a+12>>2];c=v[v[b>>2]+8>>2];v[299999]=0;d=c;c=a+17|0;d=Y(d|0,b|0,c|0,1)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}b=a;if(d){d=w[c|0]<<8}else{t[c|0]=255;d=65280}v[b+24>>2]=d;b=v[a+12>>2];d=v[v[b>>2]+8>>2];v[299999]=0;b=Y(d|0,b|0,c|0,1)|0;d=v[299999];v[299999]=0;if((d|0)==1){break b}if(b){b=w[c|0]}else{t[c|0]=255;b=255}u[a+18>>1]=6400;v[a+24>>2]=b|v[a+24>>2];v[299999]=0;R(5394,f|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}b=v[a+24>>2];v[a+28>>2]=b>>>0<32767?b:32767;Qb=e+16|0;return a|0}a=P()|0;O()|0;ec(e+8|0);T(a|0);L()}a=P()|0;O()|0;Vw(f);T(a|0);L()}W(0)|0;O()|0;lc();L()}function XDa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=Qb-48|0;Qb=e;v[e+32>>2]=13;if(v[a+16>>2]){v[e+16>>2]=v[b+8>>2];hp(346262,e+16|0);a:{if((c|0)!=2){d=v[252393];break a}d=v[252393];Tl(b+16|0,d)}Nn(10);Qi(d)}b:{c:{if(v[b>>2]!=4){d=2;break c}d:{e:{f:{if(!(mc(v[b+8>>2],322061)|(c|0)!=2|v[b+16>>2]!=4)){f=v[b+24>>2];d=v[a+20>>2];while(1){if(v[d+88>>2]==7){if(v[Ce(v[d+96>>2],f,e+32|0)>>2]!=5){break f}hc(e+32|0)}d=v[d+104>>2];if(d){continue}break}v[e>>2]=f;kc(1,-1,244506,e);d=2;if(v[b>>2]!=4){break c}}if(!mc(v[b+8>>2],249631)){break e}d=2;break c}d=0;if(!ay(v[v[a>>2]+36>>2],e+32|0,e+28|0)){break d}v[a+100>>2]=v[a+100>>2]&v[e+28>>2];break d}d=2;if((c|0)!=2|v[b+16>>2]!=7){break c}if(v[rc(v[b+24>>2],225288,e+32|0,0)>>2]!=3){break d}b=fc(12);v[299999]=0;c=Q(3316,b|0,v[e+40>>2])|0;f=v[299999];v[299999]=0;d=1;if((f|0)==1){break b}f=v[a+8>>2];Ub[v[v[f>>2]+272>>2]](f,v[a+28>>2],v[c>>2],v[c+4>>2]);Vc(c);dc(b)}hc(e+32|0)}b=fc(8);v[b+4>>2]=v[a+100>>2];v[b>>2]=d;Tc(v[a+104>>2],b);Qb=e+48|0;return}a=P()|0;O()|0;dc(b);T(a|0);L()}function Uc(a,b){var c=0,d=0,e=0;c=(a|0)==(b|0);t[b+12|0]=c;a:{if(c){break a}while(1){d=v[b+8>>2];if(w[d+12|0]){break a}b:{c=v[d+8>>2];e=v[c>>2];c:{if((d|0)==(e|0)){e=v[c+4>>2];if(!(!e|w[e+12|0])){break b}d:{if(v[d>>2]==(b|0)){b=d;break d}b=v[d+4>>2];e=v[b>>2];v[d+4>>2]=e;a=b;if(e){v[e+8>>2]=d;c=v[d+8>>2]}v[a+8>>2]=c;a=v[d+8>>2];v[(((d|0)!=v[a>>2])<<2)+a>>2]=b;v[b>>2]=d;v[d+8>>2]=b;c=v[b+8>>2]}t[b+12|0]=1;t[c+12|0]=0;a=v[c>>2];b=v[a+4>>2];v[c>>2]=b;if(b){v[b+8>>2]=c}v[a+8>>2]=v[c+8>>2];b=v[c+8>>2];v[((v[b>>2]!=(c|0))<<2)+b>>2]=a;v[a+4>>2]=c;b=c+8|0;break c}if(!(w[e+12|0]|!e)){break b}e:{if(v[d>>2]!=(b|0)){b=d;break e}e=v[b+4>>2];v[d>>2]=e;a=b;if(e){v[e+8>>2]=d;c=v[d+8>>2]}v[a+8>>2]=c;a=v[d+8>>2];v[(((d|0)!=v[a>>2])<<2)+a>>2]=b;v[b+4>>2]=d;v[d+8>>2]=b;c=v[b+8>>2]}t[b+12|0]=1;t[c+12|0]=0;a=v[c+4>>2];b=v[a>>2];v[c+4>>2]=b;if(b){v[b+8>>2]=c}v[a+8>>2]=v[c+8>>2];b=v[c+8>>2];v[((v[b>>2]!=(c|0))<<2)+b>>2]=a;v[a>>2]=c;b=c+8|0}v[b>>2]=a;break a}t[d+12|0]=1;d=(a|0)==(c|0);t[c+12|0]=d;t[e+12|0]=1;b=c;if(!d){continue}break}}}function Lca(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;v[a+4>>2]=b;t[a|0]=0;if(!v[(v[v[b>>2]-12>>2]+b|0)+16>>2]){if(v[(v[v[b>>2]-12>>2]+b|0)+72>>2]){a:{e=Qb-16|0;Qb=e;b=v[(v[v[b>>2]-12>>2]+b|0)+72>>2];d=v[v[b>>2]-12>>2];v[299999]=0;d=v[(b+d|0)+24>>2];c=v[299999];v[299999]=0;b:{c:{d:{e:{f:{if((c|0)!=1){if(!d){break c}v[299999]=0;d=Q(5461,e+8|0,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break e}if(!w[d|0]){break f}c=v[v[b>>2]-12>>2];v[299999]=0;c=v[(b+c|0)+24>>2];f=v[299999];v[299999]=0;g:{if((f|0)==1){break g}v[299999]=0;c=S(5462,c|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break g}if((c|0)!=-1){break f}c=v[v[b>>2]-12>>2];v[299999]=0;V(5463,b+c|0,1);c=v[299999];v[299999]=0;if((c|0)!=1){break f}}c=W(0)|0;O()|0;Dw(d);break d}c=W(0)|0;O()|0;break d}Dw(d);break c}c=W(0)|0;O()|0}ea(c|0)|0;d=v[v[b>>2]-12>>2];v[299999]=0;R(5464,b+d|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}ka()}Qb=e+16|0;break a}a=P()|0;O()|0;v[299999]=0;ba(4230);b=v[299999];v[299999]=0;if((b|0)!=1){T(a|0);L()}W(0)|0;O()|0;lc();L()}}t[a|0]=1}return a|0}function cwa(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;f=Qb-16|0;Qb=f;v[a>>2]=968668;v[a+116>>2]=0;v[a+120>>2]=0;v[a+128>>2]=0;v[a+132>>2]=0;v[a+136>>2]=0;v[a+140>>2]=0;v[a+144>>2]=0;v[a+148>>2]=0;v[a+152>>2]=0;v[a+156>>2]=0;v[a+160>>2]=0;v[a+164>>2]=0;v[a+168>>2]=0;v[a+172>>2]=0;v[a+180>>2]=0;v[a+184>>2]=0;v[a+176>>2]=1;v[a+188>>2]=0;v[a+192>>2]=0;v[a+196>>2]=0;v[a+200>>2]=0;v[a+204>>2]=0;v[a+208>>2]=0;v[a+212>>2]=0;c=gc(a+120|0,c,96);v[a+112>>2]=0;v[a+216>>2]=1;a:{b:{c:{if(b){d:{if(!mc(b,335742)){v[a+108>>2]=v[252393];break d}d=d?303033:301006;g=a;e:{if(e){d=cl(b,d);break e}d=zh(b,d)}v[g+108>>2]=d;if(!d){v[f>>2]=b;kc(4,-1,345585,f);v[a+216>>2]=0;break b}v[a+112>>2]=1}v[a+104>>2]=3972;break c}v[a+104>>2]=0;v[a+108>>2]=0}b=fc(248);v[299999]=0;Q(3973,b|0,c|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}v[a+116>>2]=b;if(!v[a+180>>2]|!v[a+108>>2]){break b}b=DE(v[294330]);if(!b){break b}c=f+8|0;d=Dh(b,65279,c,8);Zn(b);Ub[v[a+104>>2]](v[a+108>>2],c,d)}Qb=f+16|0;return a|0}a=P()|0;O()|0;dc(b);T(a|0);L()}function j_(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;f=Qb-16|0;Qb=f;d=3;e=v[b+188>>2];a:{if(!e){break a}h=v[b+192>>2];while(1){if(v[h+(g<<4)>>2]==(c|0)){d=83;e=v[(h+(g<<4)|0)+12>>2];c=v[a+8>>2];if(e>>>0>>0){break a}if(Bf(a,e-c|0)){break a}v[f+12>>2]=0;g=pi(a,f+12|0);d=v[f+12>>2];if(d){break a}h=g&-256;if((h|256)==256){d=b+196|0;c=f;e=g&4;b:{if(e){d=me(a,381168,d);break b}d=me(a,381232,d)}v[c+12>>2]=d;if(d){break a}d=v[b+204>>2];c=d>>31;if((c^c+d)>=32768){v[b+204>>2]=(d|0)<0?-32767:32767}d=v[b+208>>2];c=d>>31;if((c^c+d)>=32768){v[b+208>>2]=(d|0)<0?-32767:32767}i=b+216|0;d=me(a,e?381296:381328,i);v[f+12>>2]=d;if(d){break a}c=g&255;e=b+232|0;d=KH(a,c,e);v[f+12>>2]=d;if(d){break a}d=b+248|0;if((h|0)==256){d=KH(a,c,d);v[f+12>>2]=d;if(d){break a}d=KH(a,c,b+264|0);break a}a=v[i+4>>2];v[d>>2]=v[i>>2];v[d+4>>2]=a;a=v[i+12>>2];v[d+8>>2]=v[i+8>>2];v[d+12>>2]=a;a=v[e+12>>2];v[b+272>>2]=v[e+8>>2];v[b+276>>2]=a;a=v[e+4>>2];v[b+264>>2]=v[e>>2];v[b+268>>2]=a}d=0;break a}g=g+1|0;if((e|0)!=(g|0)){continue}break}}Qb=f+16|0;return d}function NG(a,b,c,d,e,f,g,h,i){a=a|0;b=+b;c=+c;d=+d;e=+e;f=+f;g=+g;h=+h;i=+i;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;v[a+36>>2]=0;q=.5/A[a>>3];A[a+8>>3]=q*q;k=v[a+40>>2];n=v[a+36>>2];l=n>>>6|0;if(k>>>0<=l>>>0){j=v[a+44>>2];a:{if(j>>>0>l>>>0){m=v[a+48>>2];break a}j=j+v[a+52>>2]|0;m=fc((j|0)!=(j&1073741823)?-1:j<<2);p=a;o=v[a+48>>2];if(o){gc(m,o,k<<2);dc(o);n=v[a+36>>2];k=v[a+40>>2];j=v[a+44>>2]+v[a+52>>2]|0}v[p+44>>2]=j;v[a+48>>2]=m}r=(l<<2)+m|0,s=fc(1024),v[r>>2]=s;v[a+40>>2]=k+1}j=v[v[a+48>>2]+(l<<2)>>2]+((n&63)<<4)|0;A[j+8>>3]=c;A[j>>3]=b;v[a+36>>2]=v[a+36>>2]+1;MW(a,b,c,d,e,f,g,h,i,0);k=v[a+40>>2];n=v[a+36>>2];l=n>>>6|0;if(k>>>0<=l>>>0){j=v[a+44>>2];b:{if(j>>>0>l>>>0){m=v[a+48>>2];break b}j=j+v[a+52>>2]|0;m=fc((j|0)!=(j&1073741823)?-1:j<<2);p=a;o=v[a+48>>2];if(o){gc(m,o,k<<2);dc(o);n=v[a+36>>2];k=v[a+40>>2];j=v[a+44>>2]+v[a+52>>2]|0}v[p+44>>2]=j;v[a+48>>2]=m}r=(l<<2)+m|0,s=fc(1024),v[r>>2]=s;v[a+40>>2]=k+1}j=v[v[a+48>>2]+(l<<2)>>2]+((n&63)<<4)|0;A[j+8>>3]=i;A[j>>3]=h;v[a+36>>2]=v[a+36>>2]+1;v[a+32>>2]=0}function TJ(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=v[a+48>>2];if(e){if(v[a+44>>2]){while(1){f=v[e+4>>2];if(f){h=0;b=v[e>>2];if(b){while(1){g=v[f+56>>2];if(g){i=0;if(v[f+52>>2]){while(1){d=v[g>>2];if(d){j=0;l=v[g+32>>2];if(v[l+32>>2]){while(1){b=v[d+28>>2];if(b){k=0;if(v[d+24>>2]){while(1){c=v[b+4>>2];if(c){dc(c)}c=v[b+20>>2];if(c){Te(c)}c=v[b+24>>2];if(c){Us(c)}c=v[b+28>>2];if(c){$e(c)}c=v[b+32>>2];if(c){$e(c)}b=b+60|0;k=k+1|0;if(k>>>0>2]){continue}break}b=v[d+28>>2]}dc(b)}b=v[d+32>>2];if(b){$h(b)}b=v[d+36>>2];if(b){$h(b)}b=v[d+44>>2];if(b){$h(b)}b=v[d+48>>2];if(b){$h(b)}d=d+52|0;j=j+1|0;if(j>>>0>2]){continue}break}d=v[g>>2]}dc(d)}b=v[g+4>>2];if(b){$e(b)}g=g+36|0;i=i+1|0;if(i>>>0>2]){continue}break}g=v[f+56>>2]}dc(g);b=v[e>>2]}f=f- -64|0;h=h+1|0;if(h>>>0>>0){continue}break}f=v[e+4>>2]}dc(f)}b=v[e+8>>2];if(b){$e(b)}b=v[e+20>>2];if(b){dc(b)}e=e+716|0;m=m+1|0;if(m>>>0>2]){continue}break}e=v[a+48>>2]}dc(e)}b=v[a+40>>2];if(b){dc(b)}b=v[a+32>>2];if(b){dB(b)}dc(a)}function ER(a){var b=0,c=0,d=0,e=0;v[299999]=0;R(3958,a|0);b=v[299999];v[299999]=0;a:{if((b|0)==1){break a}d=v[a+204>>2];b=v[d+8>>2];if((b|0)>=1){while(1){e=v[v[d>>2]+(c<<2)>>2];if(e){dc(e);b=v[d+8>>2]}c=c+1|0;if((b|0)>(c|0)){continue}break}}dc(Vc(d));d=v[a+208>>2];b=v[d+8>>2];if((b|0)>=1){c=0;while(1){e=v[v[d>>2]+(c<<2)>>2];if(e){b=v[e+8>>2];if(b){dc(Dc(b))}dc(e);b=v[d+8>>2]}c=c+1|0;if((b|0)>(c|0)){continue}break}}dc(Vc(d));d=v[a+212>>2];b=v[d+8>>2];if((b|0)>=1){c=0;while(1){e=v[v[d>>2]+(c<<2)>>2];if(e){dc(e);b=v[d+8>>2]}c=c+1|0;if((b|0)>(c|0)){continue}break}}dc(Vc(d));d=v[a+216>>2];b=v[d+8>>2];if((b|0)>=1){c=0;while(1){e=v[v[d>>2]+(c<<2)>>2];if(e){b=v[e+32>>2];if(b){dc(Dc(b))}dc(e);b=v[d+8>>2]}c=c+1|0;if((b|0)>(c|0)){continue}break}}dc(Vc(d));d=v[a+220>>2];if(d){b=v[d+8>>2];if((b|0)>=1){c=0;while(1){e=v[v[d>>2]+(c<<2)>>2];if(e){Hp(e);dc(e);b=v[d+8>>2]}c=c+1|0;if((b|0)>(c|0)){continue}break}}dc(Vc(d))}c=v[a+100>>2];v[299999]=0;uc(c);c=v[299999];v[299999]=0;if((c|0)==1){break a}return a}W(0)|0;O()|0;lc();L()}function t8(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;a=c;while(1){a:{if(e>>>0<=i>>>0|a>>>0>=d>>>0){break a}g=t[a|0];b=g&255;b:{if((g|0)>=0){g=1;if(b>>>0<=1114111){break b}break a}if(b>>>0<194){break a}if(b>>>0<=223){if((d-a|0)<2){break a}f=w[a+1|0];if((f&192)!=128){break a}g=2;if((f&63|b<<6&1984)>>>0<=1114111){break b}break a}c:{d:{if(b>>>0<=239){if((d-a|0)<3){break a}h=w[a+2|0];f=w[a+1|0];if((b|0)==237){break d}if((b|0)==224){if((f&224)==160){break c}break a}if((f&192)!=128){break a}break c}if((d-a|0)<4|b>>>0>244){break a}h=w[a+2|0];f=w[a+1|0];e:{f:{switch(b-240|0){case 0:if((f+112&255)>>>0<48){break e}break a;case 4:if((f&240)==128){break e}break a;default:break f}}if((f&192)!=128){break a}}if((h&192)!=128){break a}j=w[a+3|0];if((j&192)!=128){break a}g=4;if((j&63|(h<<6&4032|(b<<18&1835008|(f&63)<<12)))>>>0>1114111){break a}break b}if((f&224)!=128){break a}}if((h&192)!=128){break a}g=3;if((h&63|(b<<12&61440|(f&63)<<6))>>>0>1114111){break a}}i=i+1|0;a=a+g|0;continue}break}return a-c|0}function msa(a){a=a|0;var b=0,c=0,d=0,e=0;a=v[a+4>>2];if(!a){return 0}c=Qb-32|0;Qb=c;a=v[a+12>>2];a:{if(v[a+56>>2]-3>>>0<=1){b=v[a+52>>2];if(!b){b=0;v[c+24>>2]=0;break a}v[b+4>>2]=v[b+4>>2]+1;b=v[a+52>>2];v[c+24>>2]=b;break a}v[c+24>>2]=0;Wc(c+24|0,0);b=v[c+24>>2]}a=0;b:{c:{d:{if(!b){break d}v[299999]=0;v[c+20>>2]=0;b=v[b+16>>2];d=v[299999];v[299999]=0;if((d|0)!=1){e:{if((b|0)>=1){v[c+8>>2]=1e3;v[c>>2]=885348;a=jc(1e3);v[c+4>>2]=a;v[a>>2]=0;v[299999]=0;v[c+16>>2]=4;v[c+12>>2]=a+4;fa(4382,c+24|0,c+20|0,b|0,c|0,1);a=v[299999];v[299999]=0;if((a|0)==1){break e}a=v[c+4>>2];b=v[c+16>>2];t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;a=v[c+4>>2]}b=v[c+24>>2];v[c+24>>2]=0;if(!b){break d}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)!=1){if(d){break d}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break d}}W(0)|0;O()|0;lc();L()}b=P()|0;O()|0;v[c>>2]=885348;a=v[c+4>>2];if(!a){break c}dc(a);break c}b=P()|0;O()|0;break c}Qb=c+32|0;break b}ec(c+24|0);T(b|0);L()}return a|0}function Hw(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;g=Qb-32|0;Qb=g;e=d&2147483647;h=e;f=e-1006698496|0;e=e-1140785152|0;i=c;a:{if((f|0)==(e|0)&c>>>0>c>>>0|e>>>0>f>>>0){e=d<<4|c>>>28;c=c<<4|b>>>28;b=b&268435455;h=b;if((b|0)==134217728&a>>>0>=1|b>>>0>134217728){e=e+1073741824|0;a=c+1|0;e=a>>>0<1?e+1|0:e;f=a;break a}f=c;e=e+1073741824|0;if(a|h^134217728){break a}b=c&1;a=b+f|0;e=a>>>0>>0?e+1|0:e;f=a;break a}if(!(!i&(h|0)==2147418112?!(a|b):h>>>0<2147418112)){f=c;c=d<<4|c>>>28;f=f<<4|b>>>28;e=c&524287|2146959360;break a}f=0;e=2146435072;if(h>>>0>1140785151){break a}e=0;h=h>>>16|0;if(h>>>0<15249){break a}e=d&65535|65536;Oh(g+16|0,a,b,c,e,h-15233|0);qp(g,a,b,c,e,15361-h|0);e=v[g+4>>2];h=e;a=v[g+8>>2];c=v[g+12>>2]<<4|a>>>28;f=a<<4|e>>>28;e=c;a=h&268435455;c=a;b=v[g>>2]|((v[g+16>>2]|v[g+24>>2])!=0|(v[g+20>>2]|v[g+28>>2])!=0);if((a|0)==134217728&b>>>0>=1|a>>>0>134217728){a=f+1|0;e=a>>>0<1?e+1|0:e;f=a;break a}if(b|c^134217728){break a}a=f+(f&1)|0;e=a>>>0>>0?e+1|0:e;f=a}Qb=g+32|0;l(0,f|0);l(1,d&-2147483648|e);return+n()}function wTa(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;e=Qb-16|0;Qb=e;v[v[v[b>>2]>>2]+20>>2]=c;c=b;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c+24>>2]=0;v[c+28>>2]=-1;v[c+208>>2]=0;v[c+212>>2]=-1;v[c+176>>2]=0;v[c+180>>2]=0;v[c+400>>2]=0;v[c+404>>2]=0;if(w[a+96|0]){t[a+96|0]=0;c=a;v[c+64>>2]=2147483647;v[c+68>>2]=2147483647;v[c+48>>2]=2147483647;v[c+52>>2]=2147483647;v[c+8>>2]=0;v[c+12>>2]=0;v[c+1172>>2]=0;v[c+88>>2]=-2147483647;v[c+92>>2]=-2147483647;v[c+80>>2]=2147483647;v[c+84>>2]=2147483647;v[c+72>>2]=0;v[c+76>>2]=0;v[c+56>>2]=0;v[c+60>>2]=0}c=uY(b,e+8|0,e);if(c){f=a+100|0;while(1){d=A[e>>3];g=A[e+8>>3];a:{if((c|0)==1){cH(a,g,d);break a}if(c-1>>>0<=13){d=d*256;d=d+(d<0?-.5:.5);b:{if(D(d)<2147483648){c=~~d;break b}c=-2147483648}i=f;j=a;d=g*256;d=d+(d<0?-.5:.5);c:{if(D(d)<2147483648){h=~~d;break c}h=-2147483648}qd(i,j,h,c);v[a+1172>>2]=2;break a}if((c&-49)!=79|v[a+1172>>2]!=2){break a}qd(f,a,v[a+1164>>2],v[a+1168>>2]);v[a+1172>>2]=3}c=uY(b,e+8|0,e);if(c){continue}break}}Qb=e+16|0}function oMa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=Qb-16|0;Qb=h;a:{b:{c:{if(v[b>>2]<=0){i=v[a+12>>2];j=v[a+8>>2];if(i>>>0<=j>>>0){break a}e=j;d:{e:{while(1){if(y[a+20>>2]>y[a+16>>2]){c=v[a+4>>2];f=w[c+36|0];f:{if(f){g=h+13|0;k=c+37|0;c=f<<24>>24;gc(g,k,c);k=c+g|0;d=3-c|0;c=i-e|0;d=c>>>0>d>>>0?d:c;c=gc(k,e,d);v[a+12>>2]=c+d;v[a+8>>2]=g;g=fW(a,b);v[a+12>>2]=i;v[a+8>>2]=(v[a+8>>2]-c|0)+e;f=d+f|0;c=v[a+4>>2];if(v[b>>2]==11){t[c+36|0]=f;gc(c+37|0,h+13|0,f<<24>>24);v[a+8>>2]=v[a+12>>2];e=0;break b}t[c+36|0]=0;c=h+13|0;break f}g=fW(a,b);f=v[a+8>>2]-e|0;c=e}if(v[b>>2]>0){break d}d=g&65535;if(d>>>0>65533){break e}d=v[a+16>>2];v[a+16>>2]=d+2;u[d>>1]=g;d=v[a+24>>2];if(d){v[a+24>>2]=d+4;v[d>>2]=e-j}if(v[b>>2]>0){break d}e=v[a+8>>2];i=v[a+12>>2];if(e>>>0>>0){continue}break a}break}e=15;if(y[a+20>>2]<=y[a+16>>2]){break b}break a}v[b>>2]=(d|0)==65534?10:12}a=v[a+4>>2];t[a+36|0]=f;if(f<<24>>24<1){break c}gc(a+37|0,c,f&255);break c}t[v[a+4>>2]+36|0]=0}e=0;if(v[b>>2]!=11){break a}}v[b>>2]=e}Qb=h+16|0}function kma(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=Qb-48|0;Qb=c;v[a+32>>2]=0;v[a+24>>2]=-1717986918;v[a+28>>2]=1073846681;v[a+16>>2]=26;v[a+20>>2]=300;v[a+8>>2]=0;v[a+12>>2]=0;a:{b:{b=Wn(b,c+38|0,10);if(!b){a=vc(c+8|0,v[282394],241604,120,343850,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}if((b|0)<=4){a=vc(c+8|0,280806,241604,122,343850,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}v[a+8>>2]=w[c+39|0]|w[c+38|0]<<8;v[a+12>>2]=w[c+41|0]|w[c+40|0]<<8;d=w[c+42|0];v[a+16>>2]=d;c:{if((b|0)==5){break c}f=w[c+43|0];if((f|0)==255){break c}v[a+16>>2]=d|f<<8}d:{if((b|0)<8){break d}d=w[c+45|0];if((d|0)==255){break d}v[a+20>>2]=w[c+44|0]|d<<8}e:{if((b|0)>=9){e=+w[c+46|0]*.1;A[a+24>>3]=e;break e}e=A[a+24>>3]}g=.3;f:{if(!(e<.3)){g=5;if(!(e>5)){break f}}A[a+24>>3]=g}d=w[c+47|0];if(v[a+20>>2]-25>>>0>=5976){v[a+20>>2]=300}b=((b|0)>9?d+3|0:3)&7;if(b>>>0<=5){b=v[(b<<2)+984064>>2]}else{b=0}v[a+32>>2]=b;Qb=c+48|0;return}L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function xk(a,b){a=a|0;b=b|0;var c=0;a:{b:{if(!b){b=w[1716]|w[1717]<<8;t[a+88|0]=b;t[a+89|0]=b>>>8;b=w[1712]|w[1713]<<8|(w[1714]<<16|w[1715]<<24);c=w[1708]|w[1709]<<8|(w[1710]<<16|w[1711]<<24);t[a+80|0]=c;t[a+81|0]=c>>>8;t[a+82|0]=c>>>16;t[a+83|0]=c>>>24;t[a+84|0]=b;t[a+85|0]=b>>>8;t[a+86|0]=b>>>16;t[a+87|0]=b>>>24;b=w[1704]|w[1705]<<8|(w[1706]<<16|w[1707]<<24);c=w[1700]|w[1701]<<8|(w[1702]<<16|w[1703]<<24);t[a+72|0]=c;t[a+73|0]=c>>>8;t[a+74|0]=c>>>16;t[a+75|0]=c>>>24;t[a+76|0]=b;t[a+77|0]=b>>>8;t[a+78|0]=b>>>16;t[a+79|0]=b>>>24;break b}b=0;if(v[a+4>>2]){break a}b=w[8288]|w[8289]<<8|(w[8290]<<16|w[8291]<<24);c=w[8284]|w[8285]<<8|(w[8286]<<16|w[8287]<<24);t[a+78|0]=c;t[a+79|0]=c>>>8;t[a+80|0]=c>>>16;t[a+81|0]=c>>>24;t[a+82|0]=b;t[a+83|0]=b>>>8;t[a+84|0]=b>>>16;t[a+85|0]=b>>>24;b=w[8282]|w[8283]<<8|(w[8284]<<16|w[8285]<<24);c=w[8278]|w[8279]<<8|(w[8280]<<16|w[8281]<<24);t[a+72|0]=c;t[a+73|0]=c>>>8;t[a+74|0]=c>>>16;t[a+75|0]=c>>>24;t[a+76|0]=b;t[a+77|0]=b>>>8;t[a+78|0]=b>>>16;t[a+79|0]=b>>>24}b=1}return b|0}function YV(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{e=v[a+12>>2];g=v[a+8>>2];if((e|0)==(g|0)){break a}f=w[b+11|0];c=f<<24>>24<0;j=c?v[b>>2]:b;i=c?v[b+4>>2]:f;c=g;while(1){d=w[c+11|0];b=d<<24>>24;f=(b|0)<0;b:{if(((f?v[c+4>>2]:d)|0)!=(i|0)){break b}h=v[c>>2];c:{if(!f){if(!b){break c}f=c;b=j;if(w[b|0]!=(h&255)){break b}while(1){d=d-1|0;if(!d){break c}h=w[b+1|0];b=b+1|0;f=f+1|0;if((h|0)==w[f|0]){continue}break}break b}if(!i){break c}if(Pc(f?h:c,j,i)){break b}}b=v[c+12>>2];if(b){dc(b);v[c+12>>2]=0;e=v[a+12>>2];g=v[a+8>>2]}b=B((c-g|0)/20|0,20)+g|0;d=b+20|0;d:{if((e|0)!=(d|0)){while(1){if(t[b+11|0]<=-1){dc(v[b>>2])}c=v[d+4>>2];v[b>>2]=v[d>>2];v[b+4>>2]=c;v[b+8>>2]=v[d+8>>2];t[d+11|0]=0;t[d|0]=0;c=v[d+16>>2];v[b+12>>2]=v[d+12>>2];v[b+16>>2]=c;b=b+20|0;d=d+20|0;if((e|0)!=(d|0)){continue}break}e=v[a+12>>2];if((e|0)==(b|0)){break d}}while(1){c=e-20|0;if(t[e-9|0]<=-1){dc(v[c>>2])}e=c;if((c|0)!=(b|0)){continue}break}}v[a+12>>2]=b;d=1;break a}c=c+20|0;if((e|0)!=(c|0)){continue}break}return 0}return d|0}function QKa(a){a=a|0;var b=0,c=0;b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=255;c=v[b+4>>2]-1|0;v[b+4>>2]=c;a:{if(c){break a}if(Ub[v[b+12>>2]](a)|0){break a}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=216;c=v[b+4>>2]-1|0;v[b+4>>2]=c;b:{if(c){break b}if(Ub[v[b+12>>2]](a)|0){break b}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}if(v[a+88>>2]){Wu(a,0)}if(v[a+92>>2]){Wu(a,1)}if(v[a+96>>2]){Wu(a,2)}if(v[a+100>>2]){Wu(a,3)}c:{if(v[a+212>>2]){break c}if(v[a+120>>2]){dm(a,0,0)}if(v[a+136>>2]){dm(a,0,1)}if(v[a+124>>2]){dm(a,1,0)}if(v[a+140>>2]){dm(a,1,1)}if(v[a+128>>2]){dm(a,2,0)}if(v[a+144>>2]){dm(a,2,1)}if(v[a+132>>2]){dm(a,3,0)}if(!v[a+148>>2]){break c}dm(a,3,1)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=255;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d:{if(c){break d}if(Ub[v[b+12>>2]](a)|0){break d}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=217;c=v[b+4>>2]-1|0;v[b+4>>2]=c;e:{if(c){break e}if(Ub[v[b+12>>2]](a)|0){break e}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}}function cta(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Qb-32|0;Qb=d;a:{b:{c:{if((wo(a)|0)<1){break c}if(!rj(a)){break c}Xu(d+16|0,a);e=w[d+27|0];e=e<<24>>24<0?v[d+20>>2]:e;d:{if(!e){break d}while(1){e:{if((ve(b)|0)!=(e|0)){break e}v[299999]=0;e=ca(2608,d+16|0,0,-1,b|0,e|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break b}if(e){break e}v[299999]=0;V(4150,d|0,a|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}if(t[c+11|0]<=-1){dc(v[c>>2])}b=v[d+4>>2];v[c>>2]=v[d>>2];v[c+4>>2]=b;v[c+8>>2]=v[d+8>>2];break d}v[299999]=0;e=Ji(a);f=v[299999];v[299999]=0;if((f|0)==1){break a}if(!e){break d}v[299999]=0;V(4145,d|0,a|0);e=v[299999];v[299999]=0;if((e|0)==1){break a}if(t[d+27|0]<=-1){dc(v[d+16>>2])}v[d+24>>2]=v[d+8>>2];e=v[d+4>>2];v[d+16>>2]=v[d>>2];v[d+20>>2]=e;e=t[d+27|0];e=(e|0)<0?v[d+20>>2]:e&255;if(e){continue}break}}v[299999]=0;_i(a);a=v[299999];v[299999]=0;if((a|0)==1){break a}if(t[d+27|0]>-1){break c}dc(v[d+16>>2])}Qb=d+32|0;return}W(0)|0;O()|0;lc();L()}a=P()|0;O()|0;if(t[d+27|0]<=-1){dc(v[d+16>>2])}T(a|0);L()}function xMa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;if(v[d>>2]<=0){a:{b:{c:{d:{e=v[a+8>>2];switch(t[e+99|0]-99|0){case 8:break b;case 0:case 23:break c;case 7:break d;default:break a}}Ub[v[b+4>>2]](v[b>>2],165);Ub[v[b+4>>2]](v[b>>2],8254);Ub[v[b+8>>2]](v[b>>2],0,y[e+64>>2]<2?127:255);a=v[e+64>>2];if(!((a|0)==3|(a|0)==4)&(c|0)!=1){break a}Ub[v[b+8>>2]](v[b>>2],65377,65439);break a}Ub[v[b+8>>2]](v[b>>2],0,127);break a}a=v[e+40>>2];Ub[v[v[v[a+24>>2]+20>>2]+60>>2]](a,b,c,d)}a=v[e>>2];if(a){Oj(a,b,c,0,d)}a=v[e+4>>2];if(a){Oj(a,b,c,0,d)}a=v[e+8>>2];if(a){Oj(a,b,c,0,d)}a=v[e+12>>2];if(a){f=a;g=b;h=c;a=w[e+99|0];if(v[e+64>>2]|(a|0)!=122&(a|0)!=99){a=0}else{a=2}Oj(f,g,h,a,d)}a=v[e+16>>2];if(a){Oj(a,b,c,w[e+99|0]==106?3:0,d)}a=v[e+20>>2];if(a){Oj(a,b,c,0,d)}a=v[e+24>>2];if(a){Oj(a,b,c,0,d)}a=v[e+28>>2];if(a){Oj(a,b,c,4,d)}a=v[e+32>>2];if(a){Oj(a,b,c,0,d)}a=v[e+36>>2];if(a){Oj(a,b,c,0,d)}Ub[v[b+16>>2]](v[b>>2],14);Ub[v[b+16>>2]](v[b>>2],15);Ub[v[b+16>>2]](v[b>>2],27);Ub[v[b+20>>2]](v[b>>2],128,159)}}function mVa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;b=v[b>>2];a:{if((b|0)!=64){if((b|0)!=32){break a}t[v[v[a+20>>2]+4>>2]+24|0]=v[a+628>>2]&1;b=v[a+16>>2];d=v[a+20>>2];g=(v[a+628>>2]>>>8^-1)&1;e=Qb-16|0;Qb=e;f=hm(e+8|0);c=f;c=w[b+2820|0]?c:v[v[d+4>>2]+28>>2]?c:b+56|0;v[299999]=0;Z(2368,b|0,d|0,c|0,g|0)|0;b=v[299999];v[299999]=0;b:{if((b|0)!=1){Cd(f);Qb=e+16|0;break b}a=P()|0;O()|0;Cd(f);T(a|0);L()}break a}e=v[a+16>>2];b=e;f=b+96|0;t[b+192|0]=0;v[b+160>>2]=2147483647;v[b+164>>2]=2147483647;v[b+144>>2]=2147483647;v[b+148>>2]=2147483647;v[b+104>>2]=0;v[b+108>>2]=0;u[f+1432>>1]=0;v[f+1172>>2]=0;v[b+184>>2]=-2147483647;v[b+188>>2]=-2147483647;v[b+176>>2]=2147483647;v[b+180>>2]=2147483647;v[b+168>>2]=0;v[b+172>>2]=0;v[b+152>>2]=0;v[b+156>>2]=0;f=b;b=v[b+2848>>2];c=v[e+2852>>2];if((b|0)!=(c|0)){while(1){d=v[b>>2];if(d){c=v[d>>2];if(c){dc(jq(c));v[d>>2]=0}c=v[d+4>>2];if(c){dc(Cd(c))}dc(d);c=v[e+2852>>2]}b=b+4|0;if((c|0)!=(b|0)){continue}break}b=v[e+2848>>2]}v[f+2852>>2]=b;v[a+632>>2]=0}v[a+624>>2]=0;return 0}function hoa(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,h=0,i=0;g=Qb-16|0;Qb=g;v[a+12>>2]=0;v[a+8>>2]=b;v[a>>2]=983556;v[a+4>>2]=0;v[a+16>>2]=v[282402];h=a+12|0;b=v[c>>2];a:{b:{if(b){c=v[v[b>>2]+28>>2];v[299999]=0;U(c|0,g+8|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break b}c=P()|0;O()|0;break a}v[g+8>>2]=0}v[299999]=0;Q(4344,h|0,g+8|0)|0;b=v[299999];v[299999]=0;c:{if((b|0)!=1){b=v[g+8>>2];v[g+8>>2]=0;if(!b){break c}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;i=v[299999];v[299999]=0;if((i|0)!=1){if(c){break c}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break c}}W(0)|0;O()|0;lc();L()}c=P()|0;O()|0;ec(g+8|0);break a}b=v[a+12>>2];b=v[(b?b+12|0:1129608)>>2];v[a+20>>2]=d;v[a+16>>2]=b;c=0;v[299999]=0;d=Q(4342,a+24|0,e|0)|0;b=v[299999];v[299999]=0;d:{e:{if((b|0)!=1){b=v[f>>2];if(b){v[299999]=0;v[b+4>>2]=v[b+4>>2]+1;b=v[299999];v[299999]=0;if((b|0)==1){break e}c=v[f>>2]}v[a+64>>2]=0;v[a+60>>2]=c;Qb=g+16|0;return a|0}c=P()|0;O()|0;break d}c=P()|0;O()|0;$c(d)}}ec(h);Qc(a);T(c|0);L()}function IS(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;v[a>>2]=897548;v[a+4>>2]=v[b+4>>2];c=v[b+8>>2];d=a,e=Ub[v[v[c>>2]+8>>2]](c)|0,v[d+8>>2]=e;v[a+12>>2]=v[b+12>>2];v[a+16>>2]=v[b+16>>2];v[a+20>>2]=v[b+20>>2];v[a+24>>2]=v[b+24>>2];v[a+28>>2]=v[b+28>>2];v[a+32>>2]=v[b+32>>2];v[a+36>>2]=v[b+36>>2];v[a+40>>2]=v[b+40>>2];v[a+44>>2]=v[b+44>>2];v[a+48>>2]=v[b+48>>2];v[a+52>>2]=v[b+52>>2];v[a+56>>2]=v[b+56>>2];v[a+60>>2]=v[b+60>>2];v[a- -64>>2]=v[b- -64>>2];v[a+68>>2]=v[b+68>>2];v[a+72>>2]=v[b+72>>2];v[a+76>>2]=v[b+76>>2];v[a+80>>2]=v[b+80>>2];v[a+84>>2]=v[b+84>>2];v[a+88>>2]=v[b+88>>2];v[a+92>>2]=v[b+92>>2];v[a+96>>2]=v[b+96>>2];v[a+100>>2]=v[b+100>>2];v[a+104>>2]=v[b+104>>2];v[a+108>>2]=v[b+108>>2];v[a+112>>2]=v[b+112>>2];v[a+116>>2]=v[b+116>>2];v[a+120>>2]=v[b+120>>2];v[a+124>>2]=v[b+124>>2];v[a+128>>2]=v[b+128>>2];v[a+132>>2]=v[b+132>>2];v[a+136>>2]=v[b+136>>2];v[a+140>>2]=v[b+140>>2];A[a+144>>3]=A[b+144>>3];A[a+152>>3]=A[b+152>>3];A[a+160>>3]=A[b+160>>3];A[a+168>>3]=A[b+168>>3];v[a+176>>2]=v[b+176>>2];return a|0}function t2(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;f=v[a+44>>2];a:{if(f){h=v[a+4>>2];b:{if(!h){h=0;break b}i=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);if(!(!w[a+481|0]|(i|0)!=v[a+476>>2])){h=w[a+480|0];break b}t[a+481|0]=1;v[a+476>>2]=i;g=v[a+48>>2];n=g?g:f;c:{if((n|0)<1){h=0;break c}o=i&255;l=h+40|0;p=i>>>16&255;i=i>>>8&255;m=2e5;h=0;g=0;while(1){f=w[(k|1)+l|0]-i|0;j=B(f,f);f=w[k+l|0]-o|0;j=j+B(f,f)|0;f=w[(k|2)+l|0]-p|0;f=j+B(f,f)|0;if(!f){h=g;break c}j=f;f=(f|0)<(m|0);m=f?j:m;h=f?g:h;k=k+4|0;g=g+1|0;if((n|0)!=(g|0)){continue}break}}t[a+480|0]=h}g=x[a+26>>1];if((g|0)==8){t[v[a+56>>2]+(B(v[a+52>>2],c)+b|0)|0]=h;break a}f=(v[a+56>>2]+B(v[a+52>>2],c)|0)+(B(b,g)>>3)|0;d:{switch(g-1|0){case 3:g=B((b|0)%2|0,252)+4&252;t[f|0]=w[f|0]&(15<>2]+B(v[a+52>>2],c)|0)+B(b,3)|0;t[g|0]=w[d|0];t[g+1|0]=w[d+1|0];t[g+2|0]=w[d+2|0]}if(e){gh(a,b,c,w[d+3|0])}}function iv(a){var b=0;b=v[a>>2];if(b){if(t[b+11|0]<=-1){dc(v[b>>2])}dc(b);v[a>>2]=0}b=v[a+4>>2];if(b){if(t[b+11|0]<=-1){dc(v[b>>2])}dc(b);v[a+4>>2]=0}b=v[a+8>>2];if(b){if(t[b+11|0]<=-1){dc(v[b>>2])}dc(b);v[a+8>>2]=0}b=v[a+12>>2];if(b){dc(b);v[a+12>>2]=0}b=v[a+16>>2];if(b){dc(b);v[a+16>>2]=0}b=v[a+20>>2];if(b){dc(b);v[a+20>>2]=0}b=v[a+24>>2];if(b){dc(b);v[a+24>>2]=0}b=v[a+28>>2];if(b){dc(b);v[a+28>>2]=0}b=v[a+32>>2];if(b){dc(b);v[a+32>>2]=0}b=v[a+36>>2];if(b){dc(b);v[a+36>>2]=0}b=v[a+40>>2];if(b){dc(b);v[a+40>>2]=0}b=v[a+44>>2];if(b){dc(b);v[a+44>>2]=0}b=v[a+48>>2];if(b){dc(b);v[a+48>>2]=0}b=v[a+52>>2];if(b){dc(b);v[a+52>>2]=0}b=v[a+56>>2];if(b){dc(b);v[a+56>>2]=0}b=v[a+60>>2];if(b){dc(b);v[a+60>>2]=0}b=v[a+64>>2];if(b){dc(b);v[a+64>>2]=0}b=v[a+68>>2];if(b){dc(b);v[a+68>>2]=0}b=v[a+72>>2];if(b){dc(b);v[a+72>>2]=0}b=v[a+76>>2];if(b){dc(b);v[a+76>>2]=0}b=v[a+80>>2];if(b){dc(b);v[a+80>>2]=0}b=v[a+84>>2];if(b){dc(b);v[a+84>>2]=0}b=v[a+88>>2];if(b){dc(b);v[a+88>>2]=0}b=v[a+92>>2];if(b){dc(b);v[a+92>>2]=0}}function m2(a){var b=0,c=0,d=0,e=0,f=0;v[a>>2]=0;v[a+32>>2]=0;a:{b:{c:{c=v[a+24>>2];b=v[c+8>>2];d:{if(b&7){break d}d=v[c+64>>2];if(!((d|0)<0|(d|0)>v[c+60>>2])){v[c+8>>2]=b|4;break d}b=v[c+28>>2];v[c+28>>2]=b-1;if((b|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=c;c=v[c+24>>2];v[b+24>>2]=c+1;d=w[c|0];t[a+28|0]=d;v[a>>2]=v[a>>2]+(d<<16);c=a+28|0;break b}d=Hc(c,1);if((d|0)!=-1){break c}}t[a+28|0]=255;c=1;v[a+32>>2]=1;v[a>>2]=v[a>>2]+16711680;b=65280;break a}t[a+28|0]=d;v[a>>2]=v[a>>2]+(d<<16&16711680);if(v[a+32>>2]){c=1;b=65280;break a}c=a+28|0}e:{f:{b=v[a+24>>2];e=v[b+8>>2];if(e&7){break f}f=v[b+64>>2];if(!((f|0)<0|v[b+60>>2]<(f|0))){v[b+8>>2]=e|4;break f}e=v[b+28>>2];v[b+28>>2]=e-1;g:{if((e|0)>=1){v[b+60>>2]=v[b+60>>2]+1;e=b;b=v[b+24>>2];v[e+24>>2]=b+1;b=w[b|0];break g}b=Hc(b,1);d=w[c|0];if((b|0)==-1){break f}}t[c|0]=b;if((d&255)!=255){break e}c=(b|0)>143;b=c?65280:b<<9;break a}b=255;t[a+28|0]=255;c=1;v[a+32>>2]=1;if((d&255)!=255){break e}b=65280;break a}c=1;b=b<<8}v[a+8>>2]=c;v[a+4>>2]=32768;v[a>>2]=b+v[a>>2]<<7}function WCa(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;c=v[a+28>>2];if(v[c+664>>2]){b=-1;a=v[a+108>>2];a:{if(!a){break a}a=v[a+4>>2];if(v[a+8>>2]==13){break a}a=v[a+16>>2];b=Ub[v[v[a>>2]+52>>2]](a)|0}kc(0,b,245262,0);return}d=v[c+380>>2];if(d){Ub[v[v[d>>2]+4>>2]](d)}v[c+380>>2]=0;c=v[a+28>>2];h=jk(4);d=v[c+116>>2];if(d){Ub[v[v[d>>2]+4>>2]](d)}v[c+116>>2]=h;c=v[a+8>>2];Ub[v[v[c>>2]+108>>2]](c,v[a+28>>2]);e=A[b+24>>3];h=v[b+24>>2];g=A[b+40>>3];d=v[b+40>>2];j=A[b+8>>3];k=v[b+8>>2];l=v[b>>2];m=v[b+16>>2];n=v[b+32>>2];c=v[a+28>>2];f=c;i=(v[b+48>>2]==1?+v[b+56>>2]:A[b+56>>3])*65536;b:{if(D(i)<2147483648){b=~~i;break b}b=-2147483648}v[f+136>>2]=b;b=c;g=((n|0)==1?+(d|0):g)*65536;c:{if(D(g)<2147483648){f=~~g;break c}f=-2147483648}v[b+132>>2]=f;b=c;e=((m|0)==1?+(h|0):e)*65536;d:{if(D(e)<2147483648){f=~~e;break d}f=-2147483648}v[b+128>>2]=f;e=((l|0)==1?+(k|0):j)*65536;e:{if(D(e)<2147483648){b=~~e;break e}b=-2147483648}v[c+124>>2]=b;b=v[a+8>>2];Ub[v[v[b>>2]+116>>2]](b,v[a+28>>2])}function K9a(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;a:{if(w[a+285|0]|w[a+286|0]|(w[a+287|0]|w[a+288|0])){break a}if(w[a+289|0]){break a}pc(a,1029,0,0);return 1029}b:{if(c>>>0>1){i=d;while(1){f=i;i=f+1|0;if(w[f|0]){continue}break}g=f-d|0;if((g|0)>(c|0)){pc(a,1043,0,0);return 1043}if((d|0)==(f|0)){pc(a,1044,0,0);return 1044}f=c-g|0;c=f-1|0;c:{if(!v[a+192>>2]){break c}k=g+1|0;h=Ub[v[a+152>>2]](k)|0;if(!h){break b}h=gc(h,d,g);j=Ub[v[a+152>>2]](f)|0;if(!j){Ub[v[a+156>>2]](h,k);break b}if(c){gc(j,i,c)}l=Ub[v[a+192>>2]](a,0,h,j,0,0)|0;Ub[v[a+156>>2]](j,f);Ub[v[a+156>>2]](h,k);if(l){break c}pc(a,904,0,0);return 904}d:{e:{if(!w[a+112|0]){break e}b=Ub[v[b+4>>2]](a,b,e)|0;if(b){break d}b=v[e>>2];v[b+40>>2]=c;v[b+32>>2]=g;if(g){b=Ub[v[a+152>>2]](g+1|0)|0;v[v[e>>2]+36>>2]=b;b=v[v[e>>2]+36>>2];if(!b){break b}gc(b,d,g)}if(!c){break e}b=Ub[v[a+152>>2]](f)|0;v[v[e>>2]+44>>2]=b;b=v[v[e>>2]+44>>2];if(!b){break b}gc(b,i,c)}b=0}return b|0}pc(a,1028,0,0);return 1028}pc(a,1,0,0);return 1}function HDa(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;c=v[a+28>>2];if(v[c+664>>2]){b=-1;a=v[a+108>>2];a:{if(!a){break a}a=v[a+4>>2];if(v[a+8>>2]==13){break a}a=v[a+16>>2];b=Ub[v[v[a>>2]+52>>2]](a)|0}kc(0,b,245262,0);return}d=v[c+384>>2];if(d){Ub[v[v[d>>2]+4>>2]](d)}v[c+384>>2]=0;c=v[a+28>>2];h=jk(4);d=v[c+120>>2];if(d){Ub[v[v[d>>2]+4>>2]](d)}v[c+120>>2]=h;c=v[a+8>>2];Ub[v[v[c>>2]+112>>2]](c,v[a+28>>2]);e=A[b+24>>3];h=v[b+24>>2];g=A[b+40>>3];d=v[b+40>>2];j=A[b+8>>3];k=v[b+8>>2];l=v[b>>2];m=v[b+16>>2];n=v[b+32>>2];c=v[a+28>>2];f=c;i=(v[b+48>>2]==1?+v[b+56>>2]:A[b+56>>3])*65536;b:{if(D(i)<2147483648){b=~~i;break b}b=-2147483648}v[f+264>>2]=b;b=c;g=((n|0)==1?+(d|0):g)*65536;c:{if(D(g)<2147483648){f=~~g;break c}f=-2147483648}v[b+260>>2]=f;b=c;e=((m|0)==1?+(h|0):e)*65536;d:{if(D(e)<2147483648){f=~~e;break d}f=-2147483648}v[b+256>>2]=f;e=((l|0)==1?+(k|0):j)*65536;e:{if(D(e)<2147483648){b=~~e;break e}b=-2147483648}v[c+252>>2]=b;b=v[a+8>>2];Ub[v[v[b>>2]+120>>2]](b,v[a+28>>2])}function JGa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=Qb-48|0;Qb=d;a:{b:{if(w[a+208|0]){break b}c=v[a+196>>2];if(!c){v[d+32>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=0;v[d+4>>2]=0;c=fc(16);v[c>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[d+40>>2]=c;c=v[a+192>>2];e=v[a+180>>2];f=v[a+184>>2]-e|0;if((c|0)==((f?B(f>>2,93)-1|0:0)|0)){v[299999]=0;R(3089,a+176|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}e=v[a+180>>2];c=v[a+192>>2]+v[a+196>>2]|0}f=e;e=(c>>>0)/93|0;f=v[f+(e<<2)>>2];v[299999]=0;Q(3090,f+B(c-B(e,93)|0,44)|0,d|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}v[a+196>>2]=v[a+196>>2]+1;c=v[d+40>>2];if(c){dc(Sr(c))}c=v[d+24>>2];if(c){v[d+28>>2]=c;dc(c)}c=v[d+12>>2];if(c){dc(c)}c=v[d>>2];if(c){v[d+4>>2]=c;dc(c)}c=v[a+196>>2]}c=(v[a+192>>2]+c|0)-1|0;e=(c>>>0)/93|0;VT(v[v[a+180>>2]+(e<<2)>>2]+B(c-B(e,93)|0,44)|0,v[b+596>>2],b+16|0,1);t[a+200|0]=1;if(w[a+201|0]|(w[a+208|0]|w[a+203|0])){break b}tu(a,b)}Qb=d+48|0;return}a=P()|0;O()|0;uu(d);T(a|0);L()}function i2(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;l=Qb;d=b+1|0;j=l-((d<<1&-4)+15&-16)|0;Qb=j;a:{if((b|0)<2){break a}f=(1-c<<2)+a|0;k=d-c>>1;h=c?k:b-k|0;b:{if((h|0)<1){break b}d=f;e=j;g=h;i=h&7;if(i){while(1){v[e>>2]=v[d>>2];d=d+8|0;e=e+4|0;g=g-1|0;i=i-1|0;if(i){continue}break}}if(h-1>>>0<7){break b}while(1){v[e>>2]=v[d>>2];v[e+4>>2]=v[d+8>>2];v[e+8>>2]=v[d+16>>2];v[e+12>>2]=v[d+24>>2];v[e+16>>2]=v[d+32>>2];v[e+20>>2]=v[d+40>>2];v[e+24>>2]=v[d+48>>2];v[e+28>>2]=v[d+56>>2];d=d- -64|0;e=e+32|0;i=(g|0)>8;g=g-8|0;if(i){continue}break}}e=(b-!c|0)-h|0;c:{if((e|0)<1){break c}d=(2-c<<2)+a|0;g=e&7;if(g){while(1){v[f>>2]=v[d>>2];d=d+8|0;f=f+4|0;e=e-1|0;g=g-1|0;if(g){continue}break}}if(((c?0:-1)+b|0)+(h^-1)>>>0<7){break c}while(1){v[f>>2]=v[d>>2];v[f+4>>2]=v[d+8>>2];v[f+8>>2]=v[d+16>>2];v[f+12>>2]=v[d+24>>2];v[f+16>>2]=v[d+32>>2];v[f+20>>2]=v[d+40>>2];v[f+24>>2]=v[d+48>>2];v[f+28>>2]=v[d+56>>2];d=d- -64|0;f=f+32|0;b=(e|0)>8;e=e-8|0;if(b){continue}break}}if((h|0)<1){break a}gc((k<<2)+a|0,j,h<<2)}Qb=l}function WT(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=Qb-48|0;Qb=d;a:{b:{if(w[a+208|0]){break b}c=v[a+196>>2];if(!c){v[d+32>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=0;v[d+4>>2]=0;c=fc(16);v[c>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[d+40>>2]=c;c=v[a+192>>2];e=v[a+180>>2];f=v[a+184>>2]-e|0;if((c|0)==((f?B(f>>2,93)-1|0:0)|0)){v[299999]=0;R(3089,a+176|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}e=v[a+180>>2];c=v[a+192>>2]+v[a+196>>2]|0}f=e;e=(c>>>0)/93|0;f=v[f+(e<<2)>>2];v[299999]=0;Q(3090,f+B(c-B(e,93)|0,44)|0,d|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}v[a+196>>2]=v[a+196>>2]+1;c=v[d+40>>2];if(c){dc(Sr(c))}c=v[d+24>>2];if(c){v[d+28>>2]=c;dc(c)}c=v[d+12>>2];if(c){dc(c)}c=v[d>>2];if(c){v[d+4>>2]=c;dc(c)}c=v[a+196>>2]}c=(v[a+192>>2]+c|0)-1|0;e=(c>>>0)/93|0;VT(v[v[a+180>>2]+(e<<2)>>2]+B(c-B(e,93)|0,44)|0,v[b+596>>2],b+16|0,0);t[a+200|0]=1;if(w[a+201|0]|(w[a+208|0]|w[a+203|0])){break b}tu(a,b)}Qb=d+48|0;return}a=P()|0;O()|0;uu(d);T(a|0);L()}function EJa(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;f=Qb-48|0;Qb=f;a:{b:{c:{if(!(!b|!w[b|0])){e=b;while(1){g=d;d=d+1|0;i=w[e+1|0];e=e+1|0;if(i){continue}break}i=0;if(!a){break a}h=1;if(w[b+g|0]==58){break a}e=v[a+36>>2];h=v[e+4>>2];d:{if(h){d=v[e+28>>2];a=v[294239];g=v[259806];break d}h=1;d=v[a+40>>2];if((d|0)<=1){d=v[e+28>>2];a=v[294239];g=v[259806];break c}e=v[(v[a+48>>2]+(d<<2)|0)-8>>2];if(!e){break a}d=v[e+28>>2];a=v[294239];g=v[259806];h=v[e+4>>2];if(!h){break c}}v[f+36>>2]=d;v[f+32>>2]=h;Ub[g|0](a,346657,f+32|0);break b}h=(a|0)!=0;break a}v[f+16>>2]=d;Ub[g|0](a,346665,f+16|0)}h=1;i=e}Ub[v[259806]](v[294239],346638,0);e=150;a=0;d=Ub[v[259704]](150)|0;e:{if(!d){break e}g=-1;while(1){a=d;if((e|0)>63999){break e}v[f+44>>2]=c;d=Jl(a,e,b,c);if(!((d|0)<0|(d|0)>=(e|0))){j=(d|0)==(g|0);g=d;if(j){break e}}e=((d|0)>-1?d+1|0:100)+e|0;d=Ub[v[259709]](a,e)|0;if(d){continue}break}}v[f>>2]=a;Ub[v[259806]](v[294239],237306,f);if(a){Ub[v[259708]](a)}if(h){ro(i,v[259806],v[294239])}Qb=f+48|0}function Dhb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=v[a+12>>2];a:{if(y[b>>2]<=256){b=v[c+8>>2];if(b&7){break a}e=v[c+64>>2];if(!((e|0)<0|(e|0)>v[c+60>>2])){v[c+8>>2]=b|4;break a}v[c+4>>2]=v[c+4>>2]|32;b=v[c+28>>2];v[c+28>>2]=b-1;if((b|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=v[c+24>>2];v[c+24>>2]=b+1;t[b|0]=d;break a}Fc(c,d&255);break a}Gg(c,d)}b=v[c+8>>2];b:{if(b&7){break b}d=w[a+28|0];e=w[a+16|0];f=v[c+64>>2];if(!((f|0)<0|(f|0)>v[c+60>>2])){v[c+8>>2]=b|4;break b}b=e|d<<5;v[c+4>>2]=v[c+4>>2]|32;d=v[c+28>>2];v[c+28>>2]=d-1;if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;d=v[c+24>>2];v[c+24>>2]=d+1;t[d|0]=b;break b}Fc(c,b&255)}if(v[a+20>>2]>=1){b=0;while(1){d=v[v[a+24>>2]+(b<<2)>>2];c:{if(!w[a+16|0]){e=v[c+8>>2];if(e&7){break c}f=v[c+64>>2];if(!((f|0)<0|(f|0)>v[c+60>>2])){v[c+8>>2]=e|4;break c}d=d>>>8&248;v[c+4>>2]=v[c+4>>2]|32;e=v[c+28>>2];v[c+28>>2]=e-1;if((e|0)>=1){v[c+60>>2]=v[c+60>>2]+1;e=v[c+24>>2];v[c+24>>2]=e+1;t[e|0]=d;break c}Fc(c,d);break c}Gg(c,d)}b=b+1|0;if((b|0)>2]){continue}break}}return 0}function cab(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,j=0,k=0,l=0;a:{b:{if(f){a=c<<1;l=b<<1;if(((c+1|0)/2|0)>(b|0)){break b}if(!d){break a}b=0;while(1){u[g>>1]=x[f>>1];u[g+2>>1]=x[f+2>>1];u[g+4>>1]=x[f+4>>1];j=g+6|0;h=x[e+6>>1];c:{if((h|0)==x[f+6>>1]){u[j>>1]=h;break c}h=e+6|0;i=w[h+1|0]<<8;k=w[h|0]|i;h=i|w[h|0];i=(h<<8|h>>>8)&65535;h=w[f+6|0]|w[f+7|0]<<8;h=i+((B(((h<<8|h>>>8)&65535)-((k<<8|k>>>8)&65535)|0,l)+c|0)/(a|0)|0)&65535;h=h<<8|h>>>8;t[j|0]=h;t[j+1|0]=h>>>8}f=f+8|0;e=e+8|0;g=g+8|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}break a}gc(g,e,d<<3);break a}if(!d){break a}b=0;while(1){u[g>>1]=x[e>>1];u[g+2>>1]=x[e+2>>1];u[g+4>>1]=x[e+4>>1];j=g+6|0;h=x[e+6>>1];d:{if((h|0)==x[f+6>>1]){u[j>>1]=h;break d}h=e+6|0;i=w[h+1|0]<<8;k=w[h|0]|i;h=i|w[h|0];i=(h<<8|h>>>8)&65535;h=w[f+6|0]|w[f+7|0]<<8;h=i+((B(((h<<8|h>>>8)&65535)-((k<<8|k>>>8)&65535)|0,l)+c|0)/(a|0)|0)&65535;h=h<<8|h>>>8;t[j|0]=h;t[j+1|0]=h>>>8}f=f+8|0;e=e+8|0;g=g+8|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}}return 0}function Tea(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;e=Qb-32|0;Qb=e;d=v[a+8>>2];while(1){f=c;c=c+1|0;if(x[(d+B(f,6)|0)+2>>1]){continue}break}a:{b:{if(b-2>>>0>=15){b=vc(e+8|0,996336,241436,507,336671,0);v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}break a}if(f>>>0>=256){b=vc(e+8|0,996336,241436,509,336671,0);v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}break a}v[a+12>>2]=32-b;c=a+20|0;Xd(c,1<>24);if(f){while(1){d=v[a+8>>2]+B(g,6)|0;c=u[d+2>>1];if(!((c|0)>=1&(b|0)>=(c|0))){b=vc(e+8|0,996336,241436,521,336671,0);v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}break a}c=b-c|0;if((c|0)!=31){h=x[d>>1];c=h+(1<>2]|0;if(w[d|0]!=(f|0)){b=vc(e+8|0,262296,241436,527,336671,0);v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}break a}t[d|0]=g;if((c|0)>(h|0)){continue}break}}g=g+1|0;if((g|0)!=(f|0)){continue}break}}Qb=e+32|0;return}L()}a=P()|0;O()|0;qc(b);T(a|0);L()}function IXa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(a){c=v[a+100>>2];d=v[a+316>>2];if(d){g=c;b=v[a+300>>2];if((b|0)>=1){while(1){e=(f<<3)+d|0;d=v[e+4>>2];if(d){b=c;d=v[d>>2];if(d){Ub[v[b+8>>2]](b,d)}v[v[e+4>>2]>>2]=0;b=v[e+4>>2];if(b){Ub[v[c+8>>2]](c,b)}v[e+4>>2]=0;b=v[a+300>>2]}f=f+1|0;if((f|0)<(b|0)){d=v[a+316>>2];continue}break}d=v[a+316>>2]}if(d){Ub[v[g+8>>2]](g,d)}v[a+316>>2]=0}b=v[a+164>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+164>>2]=0;b=v[a+168>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+168>>2]=0;b=v[a+172>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+172>>2]=0;b=v[a+176>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+176>>2]=0;b=v[a+180>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+180>>2]=0;b=v[a+304>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+300>>2]=0;v[a+304>>2]=0;b=v[a+140>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+140>>2]=0;b=v[a+152>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+152>>2]=0;b=v[a+156>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+20>>2]=0;v[a+24>>2]=0;v[a+156>>2]=0;b=v[a+324>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+324>>2]=0;b=v[a+328>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+328>>2]=0}}function lNa(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,p=0,q=0,r=0,s=0,u=0,x=0,z=0,A=0,B=0,C=0;if(v[v[b+4>>2]+44>>2]){v[c>>2]=-127;return}i=v[b+12>>2];d=v[b+8>>2];f=i-d|0;e=v[a+16>>2];g=v[a+20>>2]-e|0;f=(f|0)<(g|0)?f:g;if((f|0)>=16){j=f>>>4|0;g=j;a:{while(1){h=w[d|0];t[e|0]=h;k=w[d+1|0];t[e+1|0]=k;l=w[d+2|0];t[e+2|0]=l;m=w[d+3|0];t[e+3|0]=m;n=w[d+4|0];t[e+4|0]=n;o=w[d+5|0];t[e+5|0]=o;p=w[d+6|0];t[e+6|0]=p;q=w[d+7|0];t[e+7|0]=q;r=w[d+8|0];t[e+8|0]=r;s=w[d+9|0];t[e+9|0]=s;u=w[d+10|0];t[e+10|0]=u;x=w[d+11|0];t[e+11|0]=x;z=w[d+12|0];t[e+12|0]=z;A=w[d+13|0];t[e+13|0]=A;B=w[d+14|0];t[e+14|0]=B;C=w[d+15|0];t[e+15|0]=C;if((h|k|l|m|n|o|p|q|r|s|u|x|z|A|B|C)<<24>>24<0){break a}e=e+16|0;d=d+16|0;h=(g|0)>1;g=g-1|0;if(h){continue}break}g=0}f=(g-j<<4)+f|0}b:{c:{if((f|0)>=1){while(1){g=t[d|0];if((g|0)<0){f=-127;break c}t[e|0]=g;e=e+1|0;d=d+1|0;g=(f|0)>1;f=f-1|0;if(g){continue}break}}if(d>>>0>=i>>>0){break b}f=15;if(y[a+20>>2]>e>>>0){break b}}v[c>>2]=f}v[b+8>>2]=d;v[a+16>>2]=e}function ceb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=v[v[a+2248>>2]+88>>2];c=v[b+1168>>2];c=(v[b+1176>>2]+B(c,v[a+572>>2])|0)+B(c,v[a+2268>>2])|0;b=v[b+1164>>2];c=(c+B(b,v[a+580>>2])|0)+B(b,v[a+2264>>2])|0;e=v[a+636>>2]+v[a+616>>2]|0;b=v[a+588>>2];a:{b:{if(w[a+2253|0]!=4){if((b|0)<=0){break a}b=0;while(1){if(!(b&255)){h=w[e|0];d=4;e=e+1|0;b=240}t[c|0]=B((w[c|0]>>>4)+((b&h)>>>d)&15,17);d=d-4|0;b=(b&240)>>>4|0;c=v[a+584>>2]+c|0;f=f+1|0;g=v[a+588>>2];if((f|0)<(g|0)){continue}break}break b}if((b|0)<1){break a}b=0;while(1){if(!(b&255)){h=w[e|0];d=4;e=e+1|0;b=240}t[c|0]=B((b&h)>>>d|0,17);d=d-4|0;b=(b&240)>>>4|0;c=v[a+584>>2]+c|0;f=f+1|0;g=v[a+588>>2];if((f|0)<(g|0)){continue}break}}if((g|0)<1){break a}b=v[a+540>>2];d=(v[b+1176>>2]+B(v[a+572>>2],v[b+1168>>2])|0)+B(v[a+580>>2],v[b+1164>>2])|0;f=v[a+636>>2]+v[a+616>>2]|0;b=0;c=0;g=0;e=0;while(1){if(!(c&255)){g=w[f|0];c=240;f=f+1|0;b=4}t[d|0]=(c&g&255)>>>b;b=b-4|0;c=(c&240)>>>4|0;d=v[a+584>>2]+d|0;e=e+1|0;if((e|0)>2]){continue}break}}return 0}function vT(a,b,c){var d=0,e=0,f=0;d=Qb-128|0;Qb=d;v[d+112>>2]=13;v[d+96>>2]=13;v[d+80>>2]=13;v[d+64>>2]=13;v[d+48>>2]=13;v[d+32>>2]=13;v[d+16>>2]=13;v[d>>2]=13;e=v[b+8>>2];a:{if((e|0)<0|(e|0)>v[v[a+4>>2]+16>>2]){break a}b:{if(v[b>>2]==9){e=c+e|0;if(w[e|0]){break a}t[e|0]=1;Sm(v[a+4>>2],v[b+8>>2],v[b+12>>2],d+112|0,0);break b}zf(b,d+112|0)}if(v[d+112>>2]==7){b=0;c:{if(v[rc(v[d+120>>2],236947,d+96|0,0)>>2]==6){e=v[d+104>>2];if(v[e+12>>2]<1){break c}while(1){f=e;e=d+80|0;vT(a,hg(f,b,e),c);hc(e);b=b+1|0;e=v[d+104>>2];if((b|0)>2]){continue}break}break c}d:{if(v[rc(v[d+120>>2],234460,d- -64|0,0)>>2]!=6){break d}c=v[d+72>>2];if(v[c+12>>2]<1){break d}while(1){if(v[yc(c,b,d+48|0,0)>>2]==7){c=rc(v[d+56>>2],278827,d+32|0,0);e:{if(v[c>>2]!=4){break e}if(mc(v[c+8>>2],228921)){break e}if(rc(v[d+56>>2],310775,d+16|0,0)){rT(a,d+16|0,rc(v[d+56>>2],234499,d,0));hc(d)}hc(d+16|0)}hc(d+32|0)}hc(d+48|0);b=b+1|0;c=v[d+72>>2];if((b|0)>2]){continue}break}}hc(d- -64|0)}hc(d+96|0)}hc(d+112|0)}Qb=d+128|0}function k1a(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;f=Qb-16|0;Qb=f;Rg(a,v[a+8>>2]);g=v[a+8>>2];d=v[a>>2];v[f+12>>2]=d;a:{if(d>>>0>=g>>>0){break a}b:{c:{d:{e=w[d|0];if((e|0)==91){i=93}else{if((e|0)!=123){break d}i=125}d=d+1|0;v[f+12>>2]=d;if(d>>>0>=g>>>0){break a}e:{if(!c){while(1){Rg(f+12|0,g);e=v[f+12>>2];if(g>>>0<=e>>>0){d=e;break a}if(w[e|0]==(i|0)){break c}pm(f+12|0,g,0);d=v[f+12>>2];if((e|0)==(d|0)){break e}h=h+1|0;if(d>>>0>>0){continue}break}break a}b=(b|0)>0?b:0;while(1){Rg(f+12|0,g);e=v[f+12>>2];if(g>>>0<=e>>>0){d=e;break a}if(w[e|0]==(i|0)){break c}if((b|0)==(h|0)){d=e;h=b;break a}j=(h<<1)+c|0,k=pm(f+12|0,g,0)>>>16|0,u[j>>1]=k;d=v[f+12>>2];if((e|0)==(d|0)){break e}h=h+1|0;if(d>>>0>>0){continue}break}break a}h=-1;d=e;break a}Rg(f+12|0,g);e=v[f+12>>2];if(g>>>0<=e>>>0){d=e;break a}if(!w[e|0]){break c}if(!c|(b|0)>=1){break b}d=e;break a}d=e+1|0;break a}j=c?c:f+10|0,k=pm(f+12|0,g,0)>>>16|0,u[j>>1]=k;d=v[f+12>>2];h=(e|0)==(d|0)?-1:1}v[a>>2]=d;Qb=f+16|0;return h|0}function YZa(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;g=v[a+816>>2];a:{if(!g){break a}f=v[a+812>>2];if((f|0)<10){break a}i=b<<16|c;c=v[a+808>>2];j=c+f|0;b=c+4|0;c=c+10|0;m=v[a+820>>2];h=1;while(1){f=(w[b+3|0]|w[b+2|0]<<8)+b|0;f=f>>>0>j>>>0?j:f;b:{if(!(h&m)){break b}e=b+14|0;if(w[b+4|0]){break b}n=w[b+5|0];d=f-e|0;c=w[b+7|0]|w[c|0]<<8;c=(d|0)<(B(c,6)|0)?(d|0)/6|0:c;c:{if(v[a+824>>2]&h){if(!c){break b}o=b+18|0;e=0;while(1){k=c+e>>>1|0;b=B(k,6)+o|0;d=b-4|0;d=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);if((d|0)!=(i|0)){b=d>>>0>>0;e=b?k+1|0:e;c=b?c:k;if(e>>>0>>0){continue}break b}break}c=b+1|0;break c}if(!c){break b}while(1){b=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24);if((b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))!=(i|0)){e=e+6|0;c=c-1|0;if(c){continue}break b}break}b=e+4|0;c=e+5|0}l=((w[c|0]|w[b|0]<<8)<<16>>16)+(n&8?0:l)|0}g=g-1|0;if(!g){break a}h=h<<1;b=f;c=b+6|0;if(j>>>0>=c>>>0){continue}break}}return l|0}function tRa(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;d=Qb-16|0;Qb=d;a:{b:{c:{d:{if(v[b+216>>2]){v[b+192>>2]=0;c=0;break d}NW(b);if(!v[b+216>>2]){break c}c=v[b+192>>2]}if(c>>>0>=y[b+196>>2]){break a}v[b+192>>2]=c+1;e=v[v[b+208>>2]+(c>>>4&268435452)>>2]+((c&63)<<4)|0;A[d+8>>3]=A[e>>3];A[d>>3]=A[e+8>>3];c=c?2:1;break b}c=dn(b,d+8|0,d);if(!c){break a}}e:{if(c-1>>>0>13){break e}e=1;g=v[a>>2];f:{if(!g){break f}g=g-1|0;i=g>>>6&67108860;g=g&255;j=w[v[i+v[a+16>>2]>>2]+g|0];if(j-1>>>0<=13){e=v[v[a+12>>2]+i>>2]+(g<<4)|0;h=A[d+8>>3];f=A[e>>3]-h;l=f*f;f=A[d>>3];k=A[e+8>>3]-f;if(!(K(l+k*k)>1e-14)){break e}ze(a,h,f,(c|0)==1?2:c);break e}if(!j){break f}e=(c|0)==1?2:c}ze(a,A[d+8>>3],A[d>>3],e)}while(1){g:{if(v[b+216>>2]){c=v[b+192>>2];if(c>>>0>=y[b+196>>2]){break a}v[b+192>>2]=c+1;e=v[v[b+208>>2]+(c>>>4&268435452)>>2]+((c&63)<<4)|0;h=A[e>>3];A[d+8>>3]=h;f=A[e+8>>3];A[d>>3]=f;c=c?2:1;break g}c=dn(b,d+8|0,d);if(!c){break a}f=A[d>>3];h=A[d+8>>3]}ze(a,h,f,(c|0)==1?2:c);continue}}Qb=d+16|0}function w8(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;a=c;while(1){a:{if(e>>>0<=g>>>0|a>>>0>=d>>>0){break a}b=w[a|0];if(b>>>0>1114111){break a}f=a+1|0;b:{if(b<<24>>24>=0){break b}if(b>>>0<194){break a}if(b>>>0<=223){if((d-a|0)<2){break a}f=w[a+1|0];if((f&192)!=128|(f&63|b<<6&1984)>>>0>1114111){break a}f=a+2|0;break b}c:{d:{if(b>>>0<=239){if((d-a|0)<3){break a}h=w[a+2|0];f=w[a+1|0];if((b|0)==237){break d}if((b|0)==224){if((f&224)==160){break c}break a}if((f&192)!=128){break a}break c}if((d-a|0)<4|b>>>0>244|e-g>>>0<2){break a}h=w[a+2|0];f=w[a+1|0];e:{f:{switch(b-240|0){case 0:if((f+112&255)>>>0<48){break e}break a;case 4:if((f&240)==128){break e}break a;default:break f}}if((f&192)!=128){break a}}if((h&192)!=128){break a}i=w[a+3|0];if((i&192)!=128|(i&63|(h<<6&4032|(b<<18&1835008|(f&63)<<12)))>>>0>1114111){break a}g=g+1|0;f=a+4|0;break b}if((f&224)!=128){break a}}if((h&192)!=128|(h&63|(b<<12&61440|(f&63)<<6))>>>0>1114111){break a}f=a+3|0}a=f;g=g+1|0;continue}break}return a-c|0}function m9(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=v[a+4>>2]-v[a>>2]>>2;if(d>>>0>>0){h=Qb-32|0;Qb=h;a:{b:{f=b-d|0;c:{if(f>>>0<=v[a+8>>2]-v[a+4>>2]>>2>>>0){cC(a,f);break c}g=a+16|0;d=h+8|0;c=Qb-16|0;Qb=c;e=(v[a+4>>2]-v[a>>2]>>2)+f|0;v[c+12>>2]=e;d:{b=BL();if(e>>>0<=b>>>0){e=v[a+8>>2]-v[a>>2]>>2;if(e>>>0>>1>>>0){v[c+8>>2]=e<<1;b=Qb-16|0;Qb=b;Qb=b+16|0;b=c+12|0;e=c+8|0;b=v[(y[e>>2]>2]?b:e)>>2]}Qb=c+16|0;break d}ue(a);L()}e=v[a+4>>2]-v[a>>2]>>2;c=Qb-16|0;Qb=c;v[c+12>>2]=0;v[d+12>>2]=0;v[d+16>>2]=g;if(b){i=AL(v[d+16>>2],b)}v[d>>2]=i;g=(e<<2)+i|0;v[d+8>>2]=g;v[d+4>>2]=g;v[d+12>>2]=(b<<2)+i;Qb=c+16|0;c=Qb-16|0;Qb=c;v[c>>2]=v[d+8>>2];b=v[d+8>>2];v[c+8>>2]=d+8;v[c+4>>2]=b+(f<<2);b=v[c>>2];while(1){if(v[c+4>>2]!=(b|0)){v[v[c>>2]>>2]=0;b=v[c>>2]+4|0;v[c>>2]=b;continue}break}v[v[c+8>>2]>>2]=v[c>>2];Qb=c+16|0;v[299999]=0;V(5669,a|0,d|0);a=v[299999];v[299999]=0;if((a|0)==1){break b}wL(d)}Qb=h+32|0;break a}a=P()|0;O()|0;wL(d);T(a|0);L()}return}if(b>>>0>>0){xL(a,v[a>>2]+(b<<2)|0)}}function Ogb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=v[a+44>>2];b=v[a+52>>2];Ub[v[v[b>>2]+20>>2]](b,2)|0;e=Ub[v[v[b>>2]+20>>2]](b,2)|0;f=v[d+60>>2];a:{b:{if(f){g=v[d+56>>2];if((f|0)>0){while(1){c:{h=v[(c<<2)+g>>2];c=c+1|0;if((f|0)<=(c|0)){break c}if((e|0)!=(h|0)){continue}}break}if((e|0)==(h|0)){break a}}c=(f<<2)+g|0;break b}c=v[d+56>>2]}v[c>>2]=e;v[d+60>>2]=v[d+60>>2]+1}c=Ub[v[v[b>>2]+20>>2]](b,4)|0;if(!c){c=(Ub[v[v[b>>2]+40>>2]](b)|0)+8|0}Ub[v[v[b>>2]+20>>2]](b,1)|0;Ub[v[v[b>>2]+20>>2]](b,1)|0;v[a+8>>2]=e;b=Ub[v[v[b>>2]+36>>2]](b)|0;v[a+4>>2]=16;v[a+12>>2]=(b+c|0)-12;b=v[d+88>>2]+B(v[a+8>>2],1876)|0;if(v[b>>2]==1){c=v[b+1872>>2];b=gc(b,v[a+36>>2],1876);v[b+1872>>2]=c;v[b+1452>>2]=0;v[b+1456>>2]=0;v[b+1460>>2]=0;d:{if(v[v[a+40>>2]+16>>2]<1){break d}gc(c,v[v[a+36>>2]+1872>>2],1076);c=1;if(v[v[a+40>>2]+16>>2]<=1){break d}b=b+1872|0;while(1){e=B(c,1076);gc(e+v[b>>2]|0,e+v[v[a+36>>2]+1872>>2]|0,1076);c=c+1|0;if((c|0)>2]+16>>2]){continue}break}}v[v[d+88>>2]+B(v[a+8>>2],1876)>>2]=0}}function $Ba(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0;d=c;l=+v[b>>2]*152587890625e-16;e=+v[b+4>>2]*152587890625e-16;g=l*e;h=+v[b+8>>2]*152587890625e-16;i=+v[b+12>>2]*152587890625e-16;j=1-i;n=g*h*j;f=g;g=1-h;f=f*g;o=f*j;w=i*f*.0078;f=1-e;k=l*f;p=h*k;q=p*j;k=k*g;r=i*k;k=k*j;m=1-l;e=m*e;s=e*h;l=s*j;t=e*g;u=t*j;f=m*f;e=f*g;g=e*j;e=i*e;m=(n*.2235+(w+(o*.5725+(q*.3137+(r*.1412+(k*.9373+(l*.1412+(u*.549+(g+e*.1255)))))))))*65536;a:{if(D(m)<2147483648){b=~~m;break a}b=-2147483648}a=(b|0)<65536?b:65536;v[d+8>>2]=(a|0)>0?a:0;d=c;h=h*f;f=i*h;j=h*j;h=(n*.2118+(o*.1804+(s*i*.1333+(l*.9294+(i*t*.1412+(u*.9255+(f*.1098+(j+(g+e*.1373)))))))))*65536;b:{if(D(h)<2147483648){b=~~h;break b}b=-2147483648}a=(b|0)<65536?b:65536;v[d>>2]=(a|0)>0?a:0;i=(n*.2119+(o*.1922+(i*p*.0745+(q*.651+(r*.0588+(k*.6784+(l*.1098+(f*.102+(j*.949+(g+e*.1216))))))))))*65536;c:{if(D(i)<2147483648){a=~~i;break c}a=-2147483648}a=(a|0)<65536?a:65536;v[c+4>>2]=(a|0)>0?a:0}function hL(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;f=Qb-16|0;Qb=f;v[f+12>>2]=c;a:{b:{c:{h=b;c=a;d:{if(w[c+11|0]>>>7|0){j=v[c+4>>2];break d}j=w[c+11|0]}if(h>>>0<=j>>>0){g=j-b|0;v[f+8>>2]=g;h=Qb-16|0;Qb=h;Qb=h+16|0;h=f+8|0;i=f+12|0;v[f+12>>2]=v[(y[h>>2]>2]?h:i)>>2];i=v[f+12>>2];c=w[c+11|0]>>>7|0?(v[a+8>>2]&2147483647)-1|0:1;if(i+(c-j|0)>>>0>=e>>>0){h=a;e:{if(w[h+11|0]>>>7|0){c=v[h>>2];break e}c=h}i=c;c=v[f+12>>2];f:{if((e|0)==(c|0)){break f}k=g-c|0;if(!k){break f}g=i+(b<<2)|0;if(c>>>0>e>>>0){break c}g:{if(d>>>0<=g>>>0|i+(j<<2)>>>0<=d>>>0){break g}if(g+(c<<2)>>>0<=d>>>0){d=(e-c<<2)+d|0;break g}Dl(g,d,c);g=v[f+12>>2];c=0;v[f+12>>2]=0;d=(e<<2)+d|0;e=e-g|0;b=b+g|0}g=i+(b<<2)|0;Dl(g+(e<<2)|0,g+(c<<2)|0,k)}Dl(i+(b<<2)|0,d,e);break b}Sq(a,c,e+j-(c+i)|0,j,b,i,e,d);break a}El(c);L()}Dl(g,d,e);Dl(g+(e<<2)|0,g+(v[f+12>>2]<<2)|0,k)}c=(e-v[f+12>>2]|0)+j|0;b=c;h:{if(w[h+11|0]>>>7|0){v[a+4>>2]=b;break h}t[a+11|0]=b}v[f+4>>2]=0;v[i+(c<<2)>>2]=v[f+4>>2]}Qb=f+16|0;return a|0}function d_a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=Qb-16|0;Qb=f;e=Ub[v[a+516>>2]](a,1801810542,b,f+12|0)|0;a:{if(e){break a}e=142;c=v[f+12>>2];if(c>>>0<4){break a}e=Xh(b,c,a+808|0);if(e){break a}c=v[f+12>>2];v[a+812>>2]=c;e=0;d=v[a+808>>2];b=w[d+2|0]<<8|w[d+3|0];j=b>>>0<32?b:32;b:{if(!j){break b}k=c+d|0;h=d+4|0;while(1){b=h;if(b+6>>>0>k>>>0){break b}c=w[b+3|0]|w[b+2|0]<<8;if(c>>>0<15){break b}c=b+c|0;h=c>>>0>k>>>0?k:c;c:{if(w[b+4|0]|(w[b+5|0]&3)!=1){break c}c=b+14|0;if(c>>>0>h>>>0){break c}l=1<>>8&65280|c>>>24);b=b+20|0;while(1){i=i-1|0;if(i){c=d;d=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);b=b+6|0;if(c>>>0>>0){continue}break c}break}n=n|l}g=g+1|0;if((j|0)!=(g|0)){continue}break}g=j}v[a+824>>2]=n;v[a+820>>2]=m;v[a+816>>2]=g}Qb=f+16|0;return e|0}function _m(a){var b=0,c=0,d=0,e=0;b=-2;a:{if(!a|!v[a+32>>2]){break a}e=v[a+36>>2];if(!e){break a}c=v[a+28>>2];if(!c|v[c>>2]!=(a|0)){break a}b:{c:{d=v[c+4>>2];switch(d-57|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 13:case 14:case 15:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 47:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:break a;case 0:case 12:case 16:case 34:case 46:case 56:break b;default:break c}}if((d|0)==666){break b}if((d|0)!=42){break a}}b=v[c+8>>2];if(b){Ub[e|0](v[a+40>>2],b);c=v[a+28>>2]}b=v[c+68>>2];if(b){Ub[v[a+36>>2]](v[a+40>>2],b);c=v[a+28>>2]}b=v[c+64>>2];if(b){Ub[v[a+36>>2]](v[a+40>>2],b);c=v[a+28>>2]}b=v[c+56>>2];if(b){Ub[v[a+36>>2]](v[a+40>>2],b);c=v[a+28>>2]}Ub[v[a+36>>2]](v[a+40>>2],c);v[a+28>>2]=0;b=(d|0)==113?-3:0}return b}function U0(a,b){var c=0,d=0,e=0;c=v[a+204>>2];a:{if(c){c=Ub[c|0](a,b)|0;if(c){break a}}c=b;while(1){d=c;c=c+1|0;if(w[d|0]){continue}break}b:{c:{d:{e:{switch((d-b|0)-4|0){case 0:a=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);d=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);c=21;b=42;a=0;while(1){e=v[(c<<2)+193056>>2];f:{if((d|0)>(e|0)){a=c+1|0;break f}if((d|0)>=(e|0)){break b}b=c-1|0}c=a+b>>1;if((a|0)<=(b|0)){continue}break};break d;case 4:c=0;d=w[b|0];if((d|0)==67){break c}if((d|0)!=100){break a}if(w[b+1|0]!=114|w[b+2|0]!=97|(w[b+3|0]!=102|w[b+4|0]!=116)){break d}if(w[b+5|0]!=32){break d}c=1;if((w[b+7|0]+B(w[b+6|0],10)|0)-528>>>0>99){break d}break a;case 3:break e;default:break d}}if(w[b|0]!=77|w[b+1|0]!=78|(w[b+2|0]!=71|w[b+3|0]!=45)){break d}if(w[b+4|0]!=49|w[b+5|0]!=46){break d}c=1;if((w[b+6|0]&254)==48){break a}}return 0}if(w[b+1|0]!=65|w[b+2|0]!=67|(w[b+3|0]!=72|w[b+4|0]!=69)){break a}if(w[b+5|0]!=79|w[b+6|0]!=70|(v[a+696>>2]|w[b+7|0]!=70)){break a}t[a+112|0]=0;t[a+114|0]=0}c=1}return c}function Ct(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Qb-32|0;Qb=c;v[a>>2]=0;v[a+4>>2]=v[282402];v[299999]=0;v[c>>2]=b;U(5169,c+16|0,292676,c|0);b=v[299999];v[299999]=0;a:{b:{c:{if((b|0)!=1){b=v[c+16>>2];d:{if(b){d=v[v[b>>2]+28>>2];v[299999]=0;U(d|0,c+24|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break d}b=P()|0;O()|0;break c}v[c+24>>2]=0}v[299999]=0;Q(4344,a|0,c+24|0)|0;b=v[299999];v[299999]=0;e:{if((b|0)!=1){b=v[c+24>>2];v[c+24>>2]=0;if(!b){break e}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)!=1){if(d){break e}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break e}}break a}b=P()|0;O()|0;ec(c+24|0);break c}b=v[a>>2];v[a+4>>2]=v[(b?b+12|0:1129608)>>2];b=v[c+16>>2];v[c+16>>2]=0;f:{if(!b){break f}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(d){break f}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}Qb=c+32|0;return a|0}b=P()|0;O()|0;break b}ec(c+16|0)}ec(a);T(b|0);L()}W(0)|0;O()|0;lc();L()}function XE(a,b){var 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,x=0,y=0;f=Qb-256|0;Qb=f;while(1){e=d<<2;c=e+a|0;c=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);v[e+f>>2]=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);d=d+1|0;if((d|0)!=16){continue}break}d=16;l=v[f>>2];c=l;while(1){e=c;a=(d<<2)+f|0;c=v[a-8>>2];c=e+(v[a-28>>2]+(Gib(c,15)^Gib(c,13)^c>>>10)|0)|0;e=c;c=v[a-60>>2];x=a,y=e+(Gib(c,25)^Gib(c,14)^c>>>3)|0,v[x>>2]=y;d=d+1|0;if((d|0)!=64){continue}break}a=0;n=v[b>>2];m=n;o=v[b+4>>2];d=o;p=v[b+28>>2];g=p;q=v[b+24>>2];i=q;r=v[b+20>>2];j=r;s=v[b+16>>2];e=s;t=v[b+12>>2];h=t;u=v[b+8>>2];c=u;while(1){k=d;g=(v[(a<<2)+895232>>2]+((((e&j)+(Gib(e,26)^Gib(e,21)^Gib(e,7))|0)+g|0)+((e^-1)&i)|0)|0)+l|0;d=m;m=g+((Gib(d,30)^Gib(d,19)^Gib(d,10))+((c^k)&d^c&k)|0)|0;h=g+h|0;a=a+1|0;if((a|0)!=64){l=v[(a<<2)+f>>2];g=i;i=j;j=e;e=h;h=c;c=k;continue}break}v[b+28>>2]=i+p;v[b+24>>2]=j+q;v[b+20>>2]=e+r;v[b+16>>2]=h+s;v[b+12>>2]=c+t;v[b+8>>2]=k+u;v[b+4>>2]=d+o;v[b>>2]=m+n;Qb=f+256|0}function Kha(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Qb-32|0;Qb=d;v[a>>2]=0;a:{e=v[c>>2];b:{c:{if(e){f=v[v[e>>2]+20>>2];v[299999]=0;e=S(f|0,e|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break c}if(e){v[299999]=0;b=aa(4369,d+8|0,323311,241921,1189,227017,0)|0;c=v[299999];v[299999]=0;d:{if((c|0)!=1){v[299999]=0;R(4370,b|0);c=v[299999];v[299999]=0;if((c|0)==1){break d}L()}c=P()|0;O()|0;break b}c=P()|0;O()|0;qc(b);break b}e=v[b+12>>2];c=v[v[c>>2]+12>>2];v[299999]=0;$(5160,d+8|0,b|0,e|0,c|0);b=v[299999];v[299999]=0;e:{if((b|0)!=1){v[299999]=0;Q(4344,a|0,d+8|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break e}a=v[d+8>>2];v[d+8>>2]=0;if(!a){break a}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break a}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break a}}W(0)|0;O()|0;lc();L()}c=P()|0;O()|0;break b}c=P()|0;O()|0;ec(d+8|0);break b}v[299999]=0;Q(4336,a|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break a}}c=P()|0;O()|0}ec(a);T(c|0);L()}Qb=d+32|0}function zS(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=fc(8);v[299999]=0;g=S(3312,e|0)|0;c=v[299999];v[299999]=0;a:{if((c|0)!=1){c=v[a+4>>2];a=w[c|0];if(!a){break a}b:while(1){if(!mc(c,320870)){break a}e=c;if(!mc(c,309767)){break a}while(1){c:{f=e;e=e+1|0;b=w[f+1|0];d=b-32|0;if((1<>>0<=13:0)|(b|0)==95){break c}if(b){continue}}break}b=e;d=b-c|0;d:{if((d|0)<2){break d}e:{f:{h=f-1|0;switch(w[h|0]-66|0){case 0:case 11:break f;default:break e}}b=w[f|0]==84?h:e;d=b-c|0;if((d|0)<2){break d}}f=b-2|0;if(w[f|0]==80){b=w[b-1|0]==83?f:b;d=b-c|0}if((d|0)<4){break d}d=b-4|0;if(w[d|0]!=87|w[b-3|0]!=71|w[b-2|0]!=76){break d}b=w[b-1|0]==52?d:b}g:{if(b>>>0<=c>>>0){break g}gd(g,((a-97&255)>>>0<26?a&223:a)<<24>>24);if((b-c|0)==1){break g}d=c+1|0;while(1){a=w[d|0];gd(g,((a-97&255)>>>0<26?a&223:a)<<24>>24);d=d+1|0;if((d|0)!=(b|0)){continue}break}}while(1){a=w[e|0];c=a-32|0;if((1<>>0<=13:0)|(a|0)==95){e=e+1|0;continue}else{c=e;if(a){continue b}break a}}}}a=P()|0;O()|0;dc(e);T(a|0);L()}return g}function aia(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Qb-32|0;Qb=d;v[a>>2]=0;a:{e=v[c>>2];b:{c:{if(e){f=v[v[e>>2]+16>>2];v[299999]=0;e=S(f|0,e|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break c}if(e){v[299999]=0;b=aa(4369,d+8|0,274571,241921,515,226937,0)|0;c=v[299999];v[299999]=0;d:{if((c|0)!=1){v[299999]=0;R(4370,b|0);c=v[299999];v[299999]=0;if((c|0)==1){break d}L()}c=P()|0;O()|0;break b}c=P()|0;O()|0;qc(b);break b}e=v[b+12>>2];c=v[v[c>>2]+12>>2];v[299999]=0;$(5160,d+8|0,b|0,e|0,c|0);b=v[299999];v[299999]=0;e:{if((b|0)!=1){v[299999]=0;Q(4344,a|0,d+8|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break e}a=v[d+8>>2];v[d+8>>2]=0;if(!a){break a}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break a}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break a}}W(0)|0;O()|0;lc();L()}c=P()|0;O()|0;break b}c=P()|0;O()|0;ec(d+8|0);break b}v[299999]=0;Q(4336,a|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break a}}c=P()|0;O()|0}ec(a);T(c|0);L()}Qb=d+32|0}function n2a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;a:{b:{c:{a=v[a+12>>2];f=v[a+4280>>2];if(f>>>0>b>>>0){f=f-b|0;e=v[a+4284>>2];if(f>>>0<=(e-a|0)-184>>>0){v[a+4280>>2]=b;v[a+4284>>2]=e-f;break c}f=0;if(Yc(v[a>>2],0)){break a}v[a+12>>2]=0;v[a+16>>2]=0;v[a+104>>2]=0;v[a+48>>2]=0;v[a+36>>2]=0;v[a+40>>2]=0;t[a+44|0]=0;v[a- -64>>2]=9;e=a+4280|0;v[a+4288>>2]=e;v[a+4284>>2]=e;v[e>>2]=0}if(b>>>0<=f>>>0){break c}g=v[a+4284>>2];h=v[a+4288>>2]-g|0;e=b-f|0;b=e>>>0>h>>>0?h:e;v[a+4284>>2]=b+g;v[a+4280>>2]=b+f;b=e-b|0;if(b){g=a+12|0;while(1){f=0;e=b>>>0<4096?b:4096;if(s_(g,0,e)>>>0>>0){break a}v[a+4280>>2]=e+v[a+4280>>2];b=b-e|0;if(b){continue}break}}if(d){break b}return 0}if(d){break b}return 0}g=a+184|0;i=a+12|0;e=v[a+4284>>2];b=v[a+4288>>2];f=0;while(1){b=b-e|0;b=b>>>0>>0?b:d;gc(c+f|0,e,b);v[a+4284>>2]=b+v[a+4284>>2];v[a+4280>>2]=b+v[a+4280>>2];f=b+f|0;d=d-b|0;if(!d){break a}v[a+4284>>2]=g;h=s_(i,g,4096);e=v[a+4284>>2];b=h+e|0;v[a+4288>>2]=b;if(h){continue}break}}return f|0}function OJa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=-1;a:{if(!(!d|(!a|!b))){if(!c){v[b>>2]=0;v[d>>2]=0;return 0}f=v[b>>2]/2|0;e=v[d>>2];b:{if((e|0)<1){i=a;f=c;break b}k=c+e|0;m=(f<<1)+a|0;f=c;i=a;while(1){e=t[f|0];g=e&255;l=0;c:{if((e|0)>-1){j=0;break c}e=e&255;if(e>>>0<=191){v[b>>2]=i-a>>1;v[d>>2]=f-c;return-2}if(e>>>0<=223){g=g&31;l=1;j=1;break c}d:{if(e>>>0<=239){g=g&15;j=2;break d}if(e>>>0>247){break a}g=g&7;j=3}l=1}h=f+1|0;if((k-h|0)<(j|0)){break b}e:{f:{if(h>>>0>>0&l){while(1){g:{e=h+1|0;h=w[h|0];if((h&192)!=128){break g}g=h&63|g<<6;j=j-1|0;if(!j){break g}h=e;if(k>>>0>e>>>0){continue}}break}if(g>>>0>65535){break f}h=e}if(i>>>0>=m>>>0){break b}t[i|0]=g>>>8;j=i;e=h;f=1;break e}if(g>>>0>1114111){break b}j=i+2|0;if(m>>>0<=j>>>0){break b}f=g-65536|0;t[i+1|0]=f>>>10;t[i+2|0]=g>>>8&3|220;t[i|0]=f>>>18|216;f=2}t[j+1|0]=g;i=(f<<1)+i|0;f=e;if(k>>>0>e>>>0){continue}break}}v[b>>2]=i-a;v[d>>2]=f-c;h=v[b>>2]}return h|0}v[b>>2]=i-a>>1;v[d>>2]=f-c;return-2}function V5a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=Qb-544|0;Qb=d;c=x[a+26308>>1];if(c){h=v[252391];b=x[a+26310>>1];while(1){b=b&65535;a:{if(!b){b=0;break a}k=g<<1&14;i=0;e=0;while(1){v[d+24>>2]=0;v[d+28>>2]=0;c=b-e|0;l=WI(a,d+32|0,(c|0)<256?c:256);if((c|0)>=1){b=b+i|0;b=(b|0)<256?b:256;m=(b|0)>1?b:1;c=0;while(1){b=u[(d+32|0)+(c<<1)>>1];if(!l){f=(d+24|0)+((c&1)<<2)|0;b=v[f>>2]+b|0;v[f>>2]=b}f=x[a+26316>>1];j=c+e|0;b=x[((b<<1)+a|0)+26484>>1];u[(v[a+26352>>2]+(B(x[a+26320>>1],g>>>f|0)+(j>>>f|0)<<3)|0)+((v[a+26028>>2]>>>((j&1|k)<<1)&3)<<1)>>1]=b;if(b>>>0>=4096){b:{if(v[a+26160>>2]){break b}v[d+16>>2]=v[a+25208>>2];wc(h,8292,d+16|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,h);break b}b=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[d>>2]=b;v[d+4>>2]=b>>31;wc(h,14622,d)}v[a+26160>>2]=1}c=c+1|0;if((m|0)!=(c|0)){continue}break}}i=i-256|0;b=x[a+26310>>1];e=e+256|0;if(b>>>0>e>>>0){continue}break}c=x[a+26308>>1]}g=g+1|0;if(g>>>0<(c&65535)>>>0){continue}break}}Qb=d+544|0}function Q9a(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;if(c){pc(a,1028,0,0);return 1028}a:{if(!w[a+286|0]){if(w[a+289|0]|(w[a+287|0]|w[a+288|0])){break a}pc(a,1029,0,0);return 1029}if(w[a+300|0]){break a}pc(a,1033,0,0);return 1033}v[a+48>>2]=v[a+48>>2]-1;d=0;f=Qb-16|0;Qb=f;b:{if(!w[a+114|0]){break b}c=a;d=v[(w[a+288|0]?a+528|0:a+512|0)>>2];if(!d){d=v[a+528>>2]}d=zJ(c,0,0,t[d+31|0],0,0,0,0,0,d,f+12|0);if(d){break b}c=v[f+12>>2];v[c+4>>2]=695;v[c>>2]=696;g=v[a+700>>2];c:{if(g){v[g+8>>2]=c;break c}v[a+696>>2]=c}d=0;v[c+8>>2]=0;v[c+12>>2]=g;v[a+700>>2]=c;v[c+16>>2]=v[a+436>>2];v[c+20>>2]=v[a+440>>2];v[c+24>>2]=v[a+444>>2];if(v[a+516>>2]|(w[a+496|0]|!w[a+432|0])){break b}v[a+516>>2]=c}Qb=f+16|0;c=d;d:{if(c){break d}c=lJ(a);if(c){break d}if(!w[a+497|0]){u[a+286>>1]=0;u[a+288>>1]=0;u[a+290>>1]=0;u[a+292>>1]=0;t[a+293|0]=0;t[a+294|0]=0;t[a+295|0]=0;t[a+296|0]=0;t[a+297|0]=0;t[a+298|0]=0;t[a+299|0]=0;t[a+300|0]=0}if(w[a+112|0]){c=Ub[v[b+4>>2]](a,b,e)|0;if(c){break d}}c=0}return c|0}function FH(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0;i=w[v[a>>2]+236|0];v[g>>2]=0;v[f>>2]=0;if(w[a+11666|0]){h=e-c|0;e=i?0-h|0:h;j=v[a+4>>2];h=B(h>>16,b>>16);b=d-b|0;v[j+16>>2]=v[j+16>>2]+(h-B(b>>16,c>>16)|0);a:{b:{b=i?0-b|0:b;if((b|0)>=0){if((e|0)>=0){if((b|0)>e<<1){break b}c=v[a+11688>>2];if((e|0)>b<<1){v[f>>2]=c;a=v[a+11692>>2];break a}k=f,l=Ac(45875,c),v[k>>2]=l;a=Ac(19661,v[a+11692>>2]);break a}if((b|0)>(0-(e<<1)|0)){break b}c=v[a+11688>>2];if((0-e|0)>b<<1){v[f>>2]=0-c;a=v[a+11692>>2];break a}k=f,l=Ac(-45874,c),v[k>>2]=l;a=Ac(19661,v[a+11692>>2]);break a}c=0-b|0;if((e|0)>=0){if((c|0)>e<<1){v[f>>2]=0;a=v[a+11692>>2]<<1;break a}c=v[a+11688>>2];if((e|0)>(0-(b<<1)|0)){v[f>>2]=c;a=v[a+11692>>2];break a}k=f,l=Ac(45875,c),v[k>>2]=l;a=Ac(111411,v[a+11692>>2]);break a}if((c|0)>(0-(e<<1)|0)){v[f>>2]=0;a=v[a+11692>>2]<<1;break a}c=v[a+11688>>2];if((0-(b<<1)|0)<(0-e|0)){v[f>>2]=0-c;a=v[a+11692>>2];break a}k=f,l=Ac(-45874,c),v[k>>2]=l;a=Ac(111411,v[a+11692>>2]);break a}v[f>>2]=0;a=0}v[g>>2]=a}}function iIa(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,h=0,i=0,j=0,k=0;h=Qb-16|0;Qb=h;d=v[a+4>>2];g=v[d+32>>2];if(g){Ub[v[v[g>>2]+12>>2]](g)|0;d=v[a+4>>2];v[d+32>>2]=0}d=v[d+28>>2];d=Ub[v[v[d>>2]+52>>2]](d)|0;v[v[a+4>>2]+32>>2]=d;d=km();g=v[v[a+4>>2]+28>>2];j=d,k=Ub[v[v[g>>2]+24>>2]](g)|0,i=v[v[d>>2]+24>>2],Ub[i](j|0,k|0);g=v[v[a+4>>2]+32>>2];Ub[v[v[g>>2]+68>>2]](g,d);v[h>>2]=1;Ub[v[v[d>>2]+20>>2]](d,h);v[v[294330]+456>>2]=v[v[a+4>>2]+32>>2];d=v[v[a+4>>2]>>2];if(d){dc(Gr(d));v[v[a+4>>2]>>2]=0}v[a+8>>2]=0;e=wy(e);f=wy(f);v[h>>2]=5;d=fc(48);v[299999]=0;b=$n(d,b,0,c,h);c=v[299999];v[299999]=0;if((c|0)!=1){a:{d=fc(48);v[299999]=0;ca(3043,d|0,b|0,e|0,f|0,0)|0;b=v[299999];v[299999]=0;b:{c:{if((b|0)!=1){v[v[a+4>>2]>>2]=d;if(e){dc(Dc(e))}if(f){dc(Dc(f))}c=v[a+4>>2];b=v[c>>2];if(!b){v[a+8>>2]=12;a=0;break b}v[a+8>>2]=v[b+44>>2];if(v[b+40>>2]){break c}dc(Gr(b));v[v[a+4>>2]>>2]=0;a=0;break b}break a}vu(v[c+36>>2]);a=!v[a+8>>2]}Qb=h+16|0;return a|0}}a=P()|0;O()|0;dc(d);T(a|0);L()}function KZa(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,n=0;f=Qb-16|0;Qb=f;j=v[a+552>>2];a:{b:{g=x[(b?a+296|0:a+216|0)+34>>1];if(!g){break b}h=v[(b?856:852)+a>>2];k=h+v[(b?756:752)+a>>2]|0;i=v[a+104>>2];if(c>>>0>>0){g=h+(c<<2)|0;if(g+4>>>0>k>>>0){break b}g=Yc(i,g);v[f+12>>2]=g;if(g){break b}m=e,n=Ed(i,f+12|0),u[m>>1]=n;if(v[f+12>>2]){break b}m=d,n=Ed(i,f+12|0),u[m>>1]=n;if(!v[f+12>>2]){break a}break b}h=h+(g<<2)|0;if(h-2>>>0>k>>>0){break b}h=h-4|0;l=Yc(i,h);v[f+12>>2]=l;if(l){break b}m=e,n=Ed(i,f+12|0),u[m>>1]=n;if(v[f+12>>2]){break b}g=h+(c-g<<1)|0;if(g+6>>>0>k>>>0){u[d>>1]=0;break a}g=Yc(i,g+4|0);v[f+12>>2]=g;if(g){u[d>>1]=0;break a}m=d,n=Ed(i,f+12|0),u[m>>1]=n;break a}u[d>>1]=0;u[e>>1]=0}if(j){v[f+8>>2]=x[e>>1];v[f+4>>2]=u[d>>1];c:{d:{if(b){b=v[j+12>>2];if(b){Ub[b|0](a,c,f+8|0)|0}b=v[j+16>>2];if(b){break d}break c}b=v[j>>2];if(b){Ub[b|0](a,c,f+8|0)|0}b=v[j+4>>2];if(!b){break c}}Ub[b|0](a,c,f+4|0)|0}u[e>>1]=v[f+8>>2];u[d>>1]=v[f+4>>2]}Qb=f+16|0}function BAa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=pT(v[a+416>>2],b);a:{if(i){break a}i=0;d=Gj(v[a+16>>2],b);if(!d){break a}e=b;b=0;c=Qb-112|0;Qb=c;b:{c:{d:{f=cl(v[d+4>>2],240511);e:{if(!f){v[c>>2]=d;kc(1,-1,345366,c);break e}j=32768;h=ed(32768,4);if(Tp(c+48|0,64,f)){while(1){if((b|0)==(j|0)){j=j<<1;h=pd(h,j,4)}v[c+32>>2]=c+44;k=(b<<2)+h|0;f:{if((ef(c+48|0,221178,c+32|0)|0)==1){g=b+1|0;b=v[c+44>>2];break f}v[c+20>>2]=d;g=b+1|0;v[c+16>>2]=g;kc(0,-1,345172,c+16|0);b=0}v[k>>2]=b;b=g;if(Tp(c+48|0,64,f)){continue}break}}Be(f);b=fc(28);v[299999]=0;d=S(1,8)|0;f=v[299999];v[299999]=0;if((f|0)==1){break d}v[299999]=0;Q(3064,d|0,e|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){a=P()|0;O()|0;dc(d);break c}v[b+8>>2]=g;v[b>>2]=d;v[299999]=0;e=Q(3364,g|0,4)|0;d=v[299999];v[299999]=0;if((d|0)==1){break d}v[b+4>>2]=e;gc(e,h,g<<2);v[b+20>>2]=0;v[b+24>>2]=1;v[b+12>>2]=0;v[b+16>>2]=0;uc(h)}Qb=c+112|0;break b}a=P()|0;O()|0}dc(b);T(a|0);L()}if(!b){break a}oT(v[a+416>>2],b);i=b}return i|0}function VU(a){var b=0,c=0,d=0;b=Qb-96|0;Qb=b;a:{if(!a){break a}if(!mc(a,335742)){c=v[252392];break a}b:{c:{d:{e:{if((a|0)!=335495){f:{d=w[a|0]&223;if((d|0)==70){if((w[a+1|0]&223)==73){break f}break e}if((a|0)==335607){break d}break c}if((w[a+2|0]&223)!=76|(w[a+3|0]&223)!=69|(w[a+4|0]!=58|w[a+5|0]!=47)){break e}if(w[a+6|0]!=47|(w[a+7|0]&223)!=76|((w[a+8|0]&223)!=79|(w[a+9|0]&223)!=67)){break e}if((w[a+10|0]&223)!=65|(w[a+11|0]&223)!=76|((w[a+12|0]&223)!=72|(w[a+13|0]&223)!=79)){break e}if((w[a+14|0]&223)!=83|(w[a+15|0]&223)!=84|w[a+16|0]!=47){break e}}a=a+16|0;break b}if((a|0)==335607){break d}if((d|0)!=70|(w[a+1|0]&223)!=73|((w[a+2|0]&223)!=76|(w[a+3|0]&223)!=69)){break c}if(w[a+4|0]!=58|w[a+5|0]!=47|(w[a+6|0]!=47|w[a+7|0]!=47)){break c}}a=a+7|0;break b}if((a|0)!=335585){if((d|0)!=70|(w[a+1|0]&223)!=73|((w[a+2|0]&223)!=76|(w[a+3|0]&223)!=69)){break b}if(w[a+4|0]!=58|w[a+5|0]!=47){break b}}a=a+5|0}if((On(a,b+8|0)|0)==-1){break a}c=zh(a,240511);if(c){break a}JF(a)}Qb=b+96|0;return c}function goa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=Qb-32|0;Qb=e;a:{b:{c:{if(!w[b+89|0]){a=vc(e+8|0,231584,241010,286,226767,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break c}b=P()|0;O()|0;qc(a);T(b|0);L()}d:{f=v[c+8>>2];e:{if(!f|!v[f+8>>2]){break e}Bi(e+8|0,c,0);f=v[e+8>>2];if(!f){ec(e+8|0);break e}f=v[f+8>>2];ec(e+8|0);if(f){break d}}v[a>>2]=0;Wc(a,0);break a}Ub[v[v[b>>2]+84>>2]](e+8|0,b,c,d);c=v[e+8>>2];if(c){v[299999]=0;c=ga(4695)|0;d=v[299999];v[299999]=0;if((d|0)==1){break b}v[299999]=0;U(4726,c|0,v[e+8>>2],b|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}c=v[e+8>>2]}if(!c){v[a>>2]=0;break a}v[299999]=0;v[c+4>>2]=v[c+4>>2]+1;b=v[299999];v[299999]=0;if((b|0)==1){break b}b=a;a=v[e+8>>2];v[b>>2]=a;v[e+8>>2]=0;if(!a){break a}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break a}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break a}}W(0)|0;O()|0;lc()}L()}a=P()|0;O()|0;ec(e+8|0);T(a|0);L()}Qb=e+32|0}function bz(a,b,c){var d=0,e=0,f=0;e=Qb-96|0;Qb=e;a:{b:{if(!a){break b}c:{d:{e:{f:{if((a|0)!=335495){g:{if((w[a|0]&223)==70){if((w[a+1|0]&223)==73){break g}d=a;if((a|0)==335607){break d}break c}d=a;if((a|0)!=335607){break c}break d}f=w[a+2|0]&223;if((f|0)!=76){break e}if((w[a+3|0]&223)!=69|w[a+4|0]!=58|(w[a+5|0]!=47|w[a+6|0]!=47)){break f}if((w[a+7|0]&223)!=76|(w[a+8|0]&223)!=79|((w[a+9|0]&223)!=67|(w[a+10|0]&223)!=65)){break f}if((w[a+11|0]&223)!=76|(w[a+12|0]&223)!=72|((w[a+13|0]&223)!=79|(w[a+14|0]&223)!=83)){break f}if((w[a+15|0]&223)!=84|w[a+16|0]!=47){break f}}d=a+16|0;break c}if((a|0)==335607){break d}d=a;if((f|0)!=76|(w[a+3|0]&223)!=69|(w[a+4|0]!=58|w[a+5|0]!=47)){break c}if(w[a+6|0]!=47){break c}if(w[a+7|0]==47){break d}break c}d=a;if((a|0)!=335607){break c}}d=a+7|0}if((On(d,e+8|0)|0)!=-1){break b}d=Ou(a);if(!d){v[e>>2]=351501;a=0;oc(0,0,0,0,0,8,2,3,351501,0,0,0,350051,e);break a}a=Ub[v[259841]](d,b,c)|0;Ub[v[259708]](d);break a}a=Ub[v[259841]](a,b,c)|0}Qb=e+96|0;return a}function jua(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;f=Qb-16|0;Qb=f;YM(f+8|0,a,1);if(w[f+8|0]){a:{if(t[b+11|0]<=-1){v[v[b>>2]>>2]=0;v[b+4>>2]=0;break a}t[b+11|0]=0;v[b>>2]=0}h=a+24|0;b:{c:{d:{while(1){d=v[v[v[a>>2]-12>>2]+h>>2];e=v[d+12>>2];e:{if((e|0)==v[d+16>>2]){e=v[v[d>>2]+40>>2];v[299999]=0;d=S(e|0,d|0)|0;e=v[299999];v[299999]=0;if((e|0)!=1){break e}break d}v[d+12>>2]=e+4;d=v[e>>2]}if((d|0)==-1){break c}if((c|0)==(d|0)){d=0;break b}v[299999]=0;V(3155,b|0,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break d}g=g+1|0;d=w[b+11|0];if(((d<<24>>24<0?v[b+4>>2]:d)|0)!=1073741807){continue}break}d=4;break b}b=W(0)|0;O()|0;ea(b|0)|0;d=1;b=v[a>>2]-12|0;c=v[b>>2]+a|0;v[c+16>>2]=v[c+16>>2]|1;f:{g:{if(t[(v[b>>2]+a|0)+20|0]&1){v[299999]=0;ba(4229);a=v[299999];v[299999]=0;if((a|0)!=1){break f}a=P()|0;O()|0;v[299999]=0;ba(4230);b=v[299999];v[299999]=0;if((b|0)==1){break g}T(a|0);L()}ka();break b}W(0)|0;O()|0;lc()}L()}d=g?2:6}b=v[v[a>>2]-12>>2]+a|0;Gw(b,v[b+16>>2]|d)}Qb=f+16|0;return a|0}function Aca(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=Qb-16|0;Qb=c;v[a>>2]=1010816;bC(a+4|0);v[a+24>>2]=0;v[a+28>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a+40>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;v[a>>2]=1011136;ic(a+52|0,0,47);d=a;b=c+8|0;a=v[a+4>>2];v[b>>2]=a;v[a+4>>2]=v[a+4>>2]+1;v[299999]=0;a=Q(5481,b|0,1200224)|0;e=v[299999];v[299999]=0;if((e|0)==1){W(0)|0;O()|0;lc();L()}b=v[b>>2];e=v[b+4>>2]-1|0;v[b+4>>2]=e;if((e|0)==-1){Ub[v[v[b>>2]+8>>2]](b)}a:{b:{c:{if(a){a=v[d+4>>2];v[c>>2]=a;v[a+4>>2]=v[a+4>>2]+1;v[299999]=0;a=S(5480,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break c}v[d+68>>2]=a;a=v[c>>2];b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}a=v[d+68>>2];f=d,g=Ub[v[v[a>>2]+28>>2]](a)|0,t[f+98|0]=g}a=v[v[d>>2]+12>>2];v[299999]=0;Y(a|0,d|0,0,4096)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break b}a=P()|0;O()|0;break a}a=P()|0;O()|0;c=v[c>>2];b=v[c+4>>2]-1|0;v[c+4>>2]=b;if((b|0)==-1){Ub[v[v[c>>2]+8>>2]](c)}break a}Qb=c+16|0;return d|0}kt(d);T(a|0);L()}function lab(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,j=0,k=0,l=0;a:{if(f){if(!d){break a}a=c<<1;l=b<<1;b=0;while(1){i=x[e>>1];b:{if((i|0)==x[f>>1]){u[g>>1]=i;break b}i=w[e|0]|w[e+1|0]<<8;h=i;j=(h<<8|h>>>8)&65535;h=w[f|0]|w[f+1|0]<<8;i=j+((B(((h<<8|h>>>8)&65535)-((i<<8|i>>>8)&65535)|0,l)+c|0)/(a|0)|0)&65535;i=i<<8|i>>>8;t[g|0]=i;t[g+1|0]=i>>>8}i=g+2|0;h=x[e+2>>1];c:{if((h|0)==x[f+2>>1]){u[i>>1]=h;break c}h=e+2|0;j=w[h+1|0]<<8;k=w[h|0]|j;h=j|w[h|0];j=(h<<8|h>>>8)&65535;h=w[f+2|0]|w[f+3|0]<<8;h=j+((B(((h<<8|h>>>8)&65535)-((k<<8|k>>>8)&65535)|0,l)+c|0)/(a|0)|0)&65535;h=h<<8|h>>>8;t[i|0]=h;t[i+1|0]=h>>>8}i=g+4|0;h=x[e+4>>1];d:{if((h|0)==x[f+4>>1]){u[i>>1]=h;break d}h=e+4|0;j=w[h+1|0]<<8;k=w[h|0]|j;h=j|w[h|0];j=(h<<8|h>>>8)&65535;h=w[f+4|0]|w[f+5|0]<<8;h=j+((B(((h<<8|h>>>8)&65535)-((k<<8|k>>>8)&65535)|0,l)+c|0)/(a|0)|0)&65535;h=h<<8|h>>>8;t[i|0]=h;t[i+1|0]=h>>>8}f=f+6|0;e=e+6|0;g=g+6|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}break a}gc(g,e,B(d,6))}return 0}function fDa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;c=Qb-144|0;Qb=c;v[c+128>>2]=13;d=v[a+28>>2];a:{if(v[d+664>>2]){d=-1;a=v[a+108>>2];b:{if(!a){break b}a=v[a+4>>2];if(v[a+8>>2]==13){break b}a=v[a+16>>2];d=Ub[v[v[a>>2]+52>>2]](a)|0}kc(0,d,245406,0);break a}e=v[d+380>>2];if(e){Ub[v[v[e>>2]+4>>2]](e)}v[d+380>>2]=0;d=v[a+20>>2];c:{d:{e=v[b+8>>2];e:{if(!mc(e,220215)){break e}if(!mc(e,322325)){break e}if(!mc(e,320505)){break e}while(1){if(v[d+24>>2]==7){if(v[rc(v[d+32>>2],e,c+128|0,0)>>2]!=5){break d}hc(c+128|0)}d=v[d+104>>2];if(d){continue}break}}v[c+128>>2]=5;break c}b=v[c+128>>2]==5?b:c+128|0}b=Wl(b,0);hc(c+128|0);if(b){e=v[a+28>>2];d=v[e+116>>2];if(d){Ub[v[v[d>>2]+4>>2]](d)}v[e+116>>2]=b;d=v[a+8>>2];Ub[v[v[d>>2]+108>>2]](d,v[a+28>>2]);Ub[v[v[b>>2]+32>>2]](b,c);gc(v[a+28>>2]+124|0,c,128);b=v[a+8>>2];Ub[v[v[b>>2]+116>>2]](b,v[a+28>>2]);break a}d=-1;a=v[a+108>>2];f:{if(!a){break f}a=v[a+4>>2];if(v[a+8>>2]==13){break f}a=v[a+16>>2];d=Ub[v[v[a>>2]+52>>2]](a)|0}kc(1,d,339738,0)}Qb=c+144|0}function Zia(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;e=Qb-16|0;Qb=e;d=v[c+8>>2]-v[c>>2]|0;g=v[c+12>>2]-v[c+4>>2]|0;h=v[a+20>>2];if(h){dc(h)}v[a+16>>2]=0;v[a+20>>2]=0;u[a+12>>1]=d;u[a+10>>1]=d;u[a+8>>1]=g;d=B(d&65535,g&65535);if(d){d=fc((l=-1,m=Bib(d,0,3,0),n=Tb,n?l:m));v[a+16>>2]=d;v[a+20>>2]=d}d=x[b+10>>1];v[e+12>>2]=x[b+8>>1];v[e+8>>2]=d;v[e>>2]=0;v[e+4>>2]=0;mr(e,e,c);Lm(e,0-v[c>>2]|0,0-v[c+4>>2]|0);f=v[e+8>>2];a:{if((f|0)<=v[e>>2]){break a}g=v[e+4>>2];i=v[e+12>>2];if((g|0)>=(i|0)){break a}while(1){d=0;b:{if((g|0)<0){break b}d=0;if(x[a+8>>1]<=(g|0)){break b}h=v[a+16>>2];d=0;if(!h){break b}d=h+B(B(x[a+12>>1],g),3)|0}h=v[e>>2];if((h|0)<(f|0)){f=v[c+4>>2]+g|0;k=B(v[c>>2],3)+((f|0)>-1?(f|0)>1]?v[b+16>>2]+B(B(f,x[b+12>>1]),3)|0:0:0)|0;while(1){i=B(h,3);f=i+d|0;i=i+k|0;j=w[i|0]|w[i+1|0]<<8;t[f|0]=j;t[f+1|0]=j>>>8;t[f+2|0]=w[i+2|0];f=v[e+8>>2];h=h+1|0;if((f|0)>(h|0)){continue}break}i=v[e+12>>2]}g=g+1|0;if((i|0)>(g|0)){continue}break}}Qb=e+16|0}function SDa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;c=Qb-144|0;Qb=c;v[c+128>>2]=13;d=v[a+28>>2];a:{if(v[d+664>>2]){d=-1;a=v[a+108>>2];b:{if(!a){break b}a=v[a+4>>2];if(v[a+8>>2]==13){break b}a=v[a+16>>2];d=Ub[v[v[a>>2]+52>>2]](a)|0}kc(0,d,245406,0);break a}e=v[d+384>>2];if(e){Ub[v[v[e>>2]+4>>2]](e)}v[d+384>>2]=0;d=v[a+20>>2];c:{d:{e=v[b+8>>2];e:{if(!mc(e,220215)){break e}if(!mc(e,322325)){break e}if(!mc(e,320505)){break e}while(1){if(v[d+24>>2]==7){if(v[rc(v[d+32>>2],e,c+128|0,0)>>2]!=5){break d}hc(c+128|0)}d=v[d+104>>2];if(d){continue}break}}v[c+128>>2]=5;break c}b=v[c+128>>2]==5?b:c+128|0}b=Wl(b,0);hc(c+128|0);if(b){e=v[a+28>>2];d=v[e+120>>2];if(d){Ub[v[v[d>>2]+4>>2]](d)}v[e+120>>2]=b;d=v[a+8>>2];Ub[v[v[d>>2]+112>>2]](d,v[a+28>>2]);Ub[v[v[b>>2]+32>>2]](b,c);gc(v[a+28>>2]+252|0,c,128);b=v[a+8>>2];Ub[v[v[b>>2]+120>>2]](b,v[a+28>>2]);break a}d=-1;a=v[a+108>>2];f:{if(!a){break f}a=v[a+4>>2];if(v[a+8>>2]==13){break f}a=v[a+16>>2];d=Ub[v[v[a>>2]+52>>2]](a)|0}kc(1,d,340088,0)}Qb=c+144|0}function Uja(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;g=Qb-32|0;Qb=g;a:{if(w[a+88|0]){e=v[a+84>>2];break a}m=a,n=Ub[v[v[a>>2]+36>>2]](a)|0,v[m+72>>2]=n;m=a,n=Ub[v[v[a>>2]+44>>2]](a)|0,v[m+76>>2]=n;m=a,n=Ub[v[v[a>>2]+40>>2]](a)|0,v[m+80>>2]=n;e=Ub[v[v[a>>2]+48>>2]](a)|0;t[a+88|0]=1;v[a+84>>2]=e}b:{c:{if(v[a+92>>2]>0){f=e;e=v[a+80>>2];i=f-e|0;h=v[a+72>>2];j=v[a+76>>2]-h|0;k=v[a+128>>2];l=v[a+104>>2];while(1){if(!(v[a+116>>2]<=(d|0)&v[a+120>>2]>=(d|0))){a=vc(g+8|0,227445,271729,619,307344,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break c}break b}f=(d-v[a+108>>2]<<2)+l|0;v[f>>2]=((B(v[f>>2]-h|0,b)|0)/(j|0)|0)+h;if(!(v[a+140>>2]<=(d|0)&v[a+144>>2]>=(d|0))){a=vc(g+8|0,227445,271729,619,307344,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break c}break b}f=(d-v[a+132>>2]<<2)+k|0;v[f>>2]=e+((B(v[f>>2]-e|0,c)|0)/(i|0)|0);d=d+1|0;if((d|0)>2]){continue}break}}Qb=g+32|0;return}L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function LT(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=v[a+4>>2];b=i<<1|1;v[a+4>>2]=b;k=v[a+12>>2];b=ed(b,4);v[a+12>>2]=b;g=v[a+4>>2];a:{if((g|0)<1){break a}v[b>>2]=0;if((g|0)==1){break a}b=g-1|0;d=b&3;c=1;if(g-2>>>0>=3){e=b&-4;while(1){b=c<<2;v[b+v[a+12>>2]>>2]=0;v[(b+v[a+12>>2]|0)+4>>2]=0;v[(b+v[a+12>>2]|0)+8>>2]=0;v[(b+v[a+12>>2]|0)+12>>2]=0;c=c+4|0;e=e-4|0;if(e){continue}break}}if(!d){break a}while(1){v[v[a+12>>2]+(c<<2)>>2]=0;c=c+1|0;d=d-1|0;if(d){continue}break}}if((i|0)>0){while(1){l=(j<<2)+k|0;while(1){h=v[l>>2];if(h){v[l>>2]=v[h+8>>2];b=v[h>>2];f=v[b>>2];b:{if((f|0)<1){d=0;break b}e=f&3;c=v[b+4>>2];d=0;c:{if(f-1>>>0<3){b=c;break c}f=f&-4;while(1){d=w[c+3|0]+B(w[c+2|0]+B(w[c+1|0]+B(w[c|0]+B(d,17)|0,17)|0,17)|0,17)|0;b=c+4|0;c=b;f=f-4|0;if(f){continue}break}}if(!e){break b}while(1){d=w[b|0]+B(d,17)|0;b=b+1|0;e=e-1|0;if(e){continue}break}}b=v[a+12>>2]+((d>>>0)%(g>>>0)<<2)|0;v[h+8>>2]=v[b>>2];v[b>>2]=h;continue}break}j=j+1|0;if((i|0)!=(j|0)){continue}break}}uc(k)}function Xdb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=v[v[a+2248>>2]+88>>2];c=v[b+1168>>2];c=(v[b+1176>>2]+B(c,v[a+572>>2])|0)+B(c,v[a+2268>>2])|0;b=v[b+1164>>2];c=(c+B(b,v[a+580>>2])|0)+B(b,v[a+2264>>2])|0;e=v[a+636>>2]+v[a+616>>2]|0;b=v[a+588>>2];a:{b:{if(w[a+2253|0]!=4){if((b|0)<=0){break a}b=0;while(1){if(!(b&255)){h=w[e|0];d=4;e=e+1|0;b=240}t[c|0]=w[c|0]+((b&h)>>>d|0)&15;d=d-4|0;b=(b&240)>>>4|0;c=v[a+584>>2]+c|0;f=f+1|0;g=v[a+588>>2];if((f|0)<(g|0)){continue}break}break b}if((b|0)<1){break a}b=0;while(1){if(!(b&255)){h=w[e|0];d=4;e=e+1|0;b=240}t[c|0]=(b&h)>>>d;d=d-4|0;b=(b&240)>>>4|0;c=v[a+584>>2]+c|0;f=f+1|0;g=v[a+588>>2];if((f|0)<(g|0)){continue}break}}if((g|0)<1){break a}b=v[a+540>>2];d=(v[b+1176>>2]+B(v[a+572>>2],v[b+1168>>2])|0)+B(v[a+580>>2],v[b+1164>>2])|0;f=v[a+636>>2]+v[a+616>>2]|0;b=0;c=0;g=0;e=0;while(1){if(!(c&255)){g=w[f|0];c=240;f=f+1|0;b=4}t[d|0]=(c&g&255)>>>b;b=b-4|0;c=(c&240)>>>4|0;d=v[a+584>>2]+d|0;e=e+1|0;if((e|0)>2]){continue}break}}return 0}function Tva(a,b){a=a|0;b=b|0;var 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,w=0;a:{if(!v[a+144>>2]){break a}e=v[b+596>>2];if(v[e+28>>2]!=1){break a}e=v[v[e+24>>2]>>2];if(v[e+12>>2]!=5){break a}g=v[e+8>>2];if(v[g>>2]|v[g+4>>2]|(v[g+8>>2]|v[g+12>>2])){break a}if(v[g+16>>2]){break a}n=A[b+56>>3];g=v[e>>2];s=A[g>>3];o=A[b+24>>3];e=v[e+4>>2];t=A[e>>3];i=A[b+40>>3];k=n+(s*o+t*i);j=A[g+8>>3];l=A[e+8>>3];m=n+(j*o+l*i);c=A[g+16>>3];d=A[e+16>>3];h=n+(c*o+d*i);p=A[b+48>>3];q=A[b+16>>3];r=A[b+32>>3];d=p+(c*q+d*r);f=A[g+24>>3];c=A[e+24>>3];u=n+(f*o+c*i);w=p+(f*q+c*r);f=A[g+32>>3];c=A[e+32>>3];i=n+(f*o+c*i);f=p+(f*q+c*r);b:{c:{c=p+(j*q+l*r);j=p+(s*q+t*r);if(c!=j|h!=m|(d!=w|i!=u)){break c}if(f!=j|i!=k){break c}c=d;h=m;break b}if(k!=m|c!=d|(h!=u|f!=w)){break a}if(f!=j|i!=k){break a}}b=h>2],c,d,h,d);return}if(!(d<3)){break a}d=(c+h)*.5;BR(v[a+116>>2],d,f,d,l)}}function $R(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=Qb-16|0;Qb=g;v[g>>2]=13;e=fc(16);v[299999]=0;i=S(3315,e|0)|0;f=v[299999];v[299999]=0;if((f|0)!=1){a:{if(v[a>>2]!=9|v[b>>2]!=9){break a}while(1){if(v[qf(a,d,g,0)>>2]!=7){hc(g);break a}f=fc(96);v[299999]=0;j=ca(3790,f|0,a|0,v[g+8>>2],c|0,d|0)|0;e=v[299999];v[299999]=0;b:{c:{d:{e:{if((e|0)!=1){hc(g);if(c){h=v[a+8>>2];e=c;while(1){if((h|0)==v[e+24>>2]&v[a+12>>2]==v[e+28>>2]){break e}e=v[e+92>>2];if(e){continue}break}}h=v[i+8>>2];if((h|0)>=1){break d}e=0;break c}a=P()|0;O()|0;dc(f);T(a|0);L()}kc(1,-1,279941,0);au(f);dc(f);break a}l=v[a+8>>2];m=v[i>>2];e=0;while(1){k=v[(e<<2)+m>>2];if(!(v[k+24>>2]!=(l|0)|v[a+12>>2]!=v[k+28>>2])){kc(1,-1,279941,0);h=v[i+8>>2];break c}e=e+1|0;if((h|0)!=(e|0)){continue}break}break b}if((e|0)>=(h|0)){break b}au(f);dc(f);break a}Tc(i,f);e=v[b+12>>2];if(v[a+8>>2]==v[b+8>>2]&(e|0)==v[a+12>>2]){break a}a=j- -64|0;if(v[j+64>>2]==9){continue}break}}Qb=g+16|0;return i}a=P()|0;O()|0;dc(e);T(a|0);L()}function Ydb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=v[v[a+2248>>2]+88>>2];c=v[b+1168>>2];c=(v[b+1176>>2]+B(c,v[a+572>>2])|0)+B(c,v[a+2268>>2])|0;b=v[b+1164>>2];c=(c+B(b,v[a+580>>2])|0)+B(b,v[a+2264>>2])|0;e=v[a+636>>2]+v[a+616>>2]|0;b=v[a+588>>2];a:{b:{if(w[a+2253|0]!=4){if((b|0)<=0){break a}b=0;while(1){if(!(b&255)){h=w[e|0];d=6;e=e+1|0;b=192}t[c|0]=w[c|0]+((b&h)>>>d|0)&3;d=d-2|0;b=(b&252)>>>2|0;c=v[a+584>>2]+c|0;f=f+1|0;g=v[a+588>>2];if((f|0)<(g|0)){continue}break}break b}if((b|0)<1){break a}b=0;while(1){if(!(b&255)){h=w[e|0];d=6;e=e+1|0;b=192}t[c|0]=(b&h)>>>d;d=d-2|0;b=(b&252)>>>2|0;c=v[a+584>>2]+c|0;f=f+1|0;g=v[a+588>>2];if((f|0)<(g|0)){continue}break}}if((g|0)<1){break a}b=v[a+540>>2];d=(v[b+1176>>2]+B(v[a+572>>2],v[b+1168>>2])|0)+B(v[a+580>>2],v[b+1164>>2])|0;f=v[a+636>>2]+v[a+616>>2]|0;b=0;c=0;g=0;e=0;while(1){if(!(c&255)){g=w[f|0];c=192;f=f+1|0;b=6}t[d|0]=(c&g&255)>>>b;b=b-2|0;c=(c&252)>>>2|0;d=v[a+584>>2]+d|0;e=e+1|0;if((e|0)>2]){continue}break}}return 0}function Wp(a,b){var c=0;a:{b:{if(!(a&131072)){c:{switch(b-47|0){default:if((b|0)==32){break b}break;case 0:case 15:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:break c}}a=1;if((b&-33)-65>>>0<26|b-48>>>0<11|((b|0)==95|b-45>>>0<2)){break a}if((b|0)==183|b-192>>>0<23|(b-216>>>0<31|b-248>>>0<520)){break a}if(b-768>>>0<112|b-880>>>0<14|((b&-2)==8204|b-895>>>0<7297)){break a}if(b-8255>>>0<2|b-8304>>>0<288|(b-11264>>>0<1008|b-12289>>>0<43007)){break a}if(b-63744>>>0<1232|b-65008>>>0<526){break a}if(b-65536>>>0>=917504){break b}break a}d:{if((b|0)<=255){a=1;if((b&-33)-65>>>0<26|b-192>>>0<23|(b-48>>>0<10|(b|0)>247)){break a}if(b-216>>>0>=31){break d}break a}a=1;if(jl(b,880068)|b-12321>>>0<9|((b|0)==12295|b-19968>>>0<20902)){break a}if(jl(b,880552)){break a}}c=b-45|0;if((b|0)==95|(1<>>0<=13:0)){break a}if((b|0)>=256){if(jl(b,880476)){break a}if(jl(b,880616)){break a}break b}if((b|0)==183){break a}}a=0}return a}function UIa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;g=v[a+420>>2];if(v[a+236>>2]){c=v[g+68>>2];if(!c){Ju(a,v[g+72>>2]);c=v[a+236>>2];v[g+68>>2]=c;v[g+72>>2]=v[g+72>>2]+1&7}v[g+68>>2]=c-1}if(v[a+316>>2]>=1){while(1){d=k<<2;f=v[(d+a|0)+320>>2]<<2;l=v[v[(f+a|0)+292>>2]+20>>2];i=(l<<2)+g|0;c=g+f|0;f=c;h=v[i+76>>2]+v[c+52>>2]|0;e=u[v[b+d>>2]>>1]>>v[a+372>>2];d=e-v[c+36>>2]|0;a:{if(!d){pe(a,h,0);v[f+52>>2]=0;break a}v[c+36>>2]=e;pe(a,h,1);c=0;b:{if((d|0)>0){m=0;n=4;j=2;break b}d=0-d|0;m=1;n=8;j=3}e=j;pe(a,h+1|0,m);v[f+52>>2]=n;e=e+h|0;h=d-1|0;c:{if(!h){break c}c=1;pe(a,e,1);e=v[i+76>>2]+20|0;d=h;if((d|0)==1){break c}while(1){pe(a,e,1);e=e+1|0;c=c<<1;d=d>>1;if(d>>>0>1){continue}break}}pe(a,e,0);j=f;i=a+l|0;d:{if(1<>1<=(c|0)){if(1<>1>=(c|0)){break d}f=v[f+52>>2]+8|0}else{f=0}v[j+52>>2]=f}if(c>>>0<2){break a}d=e+14|0;while(1){c=c>>1;pe(a,d,(h&c)!=0);if(c>>>0>1){continue}break}}k=k+1|0;if((k|0)>2]){continue}break}}return 1}function fua(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=Qb-160|0;Qb=c;a:{a=w[b+11|0];if(a<<24>>24<0?v[b+4>>2]:a){f=c+16|0;a=f;v[a+4>>2]=0;v[a+60>>2]=977256;v[a>>2]=977236;v[299999]=0;g=a+60|0;d=a+8|0;V(2717,g|0,d|0);e=v[299999];v[299999]=0;b:{c:{d:{if((e|0)!=1){v[a+132>>2]=0;v[a+136>>2]=-1;v[a+60>>2]=977200;v[a>>2]=977180;v[299999]=0;e=S(4227,d|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break d}v[a+40>>2]=0;v[a+44>>2]=0;v[a+8>>2]=977356;v[a+48>>2]=0;v[a+52>>2]=0;v[a+56>>2]=8;v[299999]=0;V(4228,d|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){b=P()|0;O()|0;if(t[a+51|0]<=-1){dc(v[a+40>>2])}kh(e);break c}break b}b=P()|0;O()|0;break c}b=P()|0;O()|0}lf(g);T(b|0);L()}v[c+12>>2]=0;b=v[v[a>>2]-12>>2]+f|0;v[b+4>>2]=v[b+4>>2]&-75|8;v[299999]=0;Q(4235,a|0,c+12|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}d=v[c+12>>2];v[a+60>>2]=977200;v[a>>2]=977180;v[a+8>>2]=977356;if(t[a+51|0]<=-1){dc(v[a+40>>2])}kh(a+8|0);lf(a+60|0)}Qb=c+160|0;return d|0}b=P()|0;O()|0;lf(KQ(a)+60|0);T(b|0);L()}function Vi(a){var 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,w=0;b=v[a+596>>2];u=v[b+28>>2];if((u|0)>=1){m=A[a+56>>3];n=A[a+40>>3];o=A[a+24>>3];p=A[a+48>>3];q=A[a+32>>3];r=A[a+16>>3];w=v[b+24>>2];while(1){b=v[(k<<2)+w>>2];l=v[b+12>>2];a:{if((l|0)<1){break a}s=v[b+4>>2];t=v[b>>2];b=0;if(!k){b=1;d=A[t>>3];e=A[s>>3];g=p+(d*r+e*q);h=g;d=m+(d*o+e*n);e=d;if((l|0)==1){break a}while(1){i=b<<3;c=A[i+t>>3];j=A[s+i>>3];f=m+(c*o+j*n);c=p+(c*r+j*q);b:{if(ch)){break b}h=c}c:{if(fd)){break c}d=f}b=b+1|0;if((l|0)!=(b|0)){continue}break}break a}while(1){i=b<<3;c=A[i+t>>3];j=A[s+i>>3];f=m+(c*o+j*n);c=p+(c*r+j*q);d:{if(ch)){break d}h=c}e:{if(fd)){break e}d=f}b=b+1|0;if((l|0)!=(b|0)){continue}break}}k=k+1|0;if((u|0)!=(k|0)){continue}break}}if(A[a+632>>3]>3]=g}if(A[a+640>>3]>3]=e}if(A[a+648>>3]>h){A[a+648>>3]=h}if(A[a+656>>3]>d){A[a+656>>3]=d}}function Mq(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=c-b|0;if((d|0)<1){return 0}c=(b>>3)+a|0;a:{b=b&7;b:{c:{if(!b){a=0;break c}a=8-b|0;e=w[(w[c|0]<>>0>>0?a:e;a=(a|0)>(d|0)?d:a;if((b+a|0)<8){break b}c=c+1|0;d=d-a|0}d:{if((d|0)<64){b=d;break d}e:{if(!(c&3)){b=d;break e}b=w[c|0];if((b|0)!=255){e=a;break a}g=d-8|0;e=a+8|0;h=c+1|0;f:{if(!(h&3)){b=g;g=d;c=h;break f}b=w[h|0];if((b|0)!=255){break a}h=d-16|0;e=a+16|0;f=c+2|0;if(!(f&3)){b=h;c=f;break f}b=w[f|0];if((b|0)!=255){break a}g=d-24|0;e=a+24|0;f=c+3|0;if(!(f&3)){b=g;g=h;c=f;break f}b=w[f|0];if((b|0)!=255){break a}b=d-32|0;e=a+32|0;c=c+4|0}a=e;if((g|0)<40){break d}}d=b;while(1){if(v[c>>2]!=-1){b=d;break d}c=c+4|0;a=a+32|0;e=(d|0)>63;b=d-32|0;d=b;if(e){continue}break}}g:{if((b|0)<8){e=b;break g}while(1){d=w[c|0];if((d|0)!=255){return w[d+86496|0]+a|0}c=c+1|0;a=a+8|0;d=(b|0)>15;e=b-8|0;b=e;if(d){continue}break}}if((e|0)<1){break b}b=a;a=w[w[c|0]+86496|0];a=b+((a|0)>(e|0)?e:a)|0}return a}return w[b+86496|0]+e|0}function KF(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;if(!a){return 0}c=Yy(0,v[a+8>>2],v[a+52>>2],v[a+56>>2]);if(c){b=v[a+48>>2];if(b){g=c,h=Ru(b,3011),v[g+48>>2]=h}b=v[a+36>>2];if(b){g=c,h=Ru(b,3031),v[g+36>>2]=h}b=v[a+40>>2];if(b){g=c,h=Ru(b,3027),v[g+40>>2]=h}b=v[a+44>>2];if(b){g=c,h=Ru(b,3029),v[g+44>>2]=h}b=v[a+60>>2];if(b){g=c,h=Ru(b,3011),v[g+60>>2]=h}a=v[a+12>>2];a:{if(!a){break a}f=c+12|0;while(1){b:{c:{d:{e:{switch(v[a+4>>2]-8|0){case 9:f:{switch(v[a+48>>2]-1|0){case 0:case 1:case 2:b=v[c+48>>2];d=0;if(!b){break d}d=Se(b,v[a+8>>2],0,0);break d;case 3:case 4:break f;default:break c}}b=v[c+60>>2];d=0;if(!b){break d}d=Se(b,v[a+8>>2],0,0);break d;case 7:d=Hy(c,v[a+8>>2],v[a+48>>2]);break d;case 8:d=ko(c,v[a+60>>2],v[a+8>>2],v[a+56>>2]);break d;case 0:break e;default:break c}}d=Ku(a,0,0,0)}b=d;if(b){break b}}a=v[a+24>>2];if(a){continue}break a}v[(e?e+24|0:f)>>2]=b;v[b+24>>2]=0;v[b+20>>2]=c;v[b+28>>2]=e;v[c+16>>2]=b;e=b;a=v[a+24>>2];if(a){continue}break}}}else{c=0}return c}function pcb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=v[a+2308>>2];a:{if(!c){break a}b=v[a+2316>>2];d=v[a+2312>>2];e=v[a+2300>>2];if(w[e+56|0]){if((c|0)!=1){a=c&-2;while(1){f=x[d>>1];if((f|0)!=x[e+836>>1]){u[b+6>>1]=65535}u[b+4>>1]=f;u[b+2>>1]=f;u[b>>1]=f;f=x[d+2>>1];if((f|0)!=x[e+836>>1]){u[b+14>>1]=65535}u[b+12>>1]=f;u[b+10>>1]=f;u[b+8>>1]=f;b=b+16|0;d=d+4|0;a=a-2|0;if(a){continue}break}}if(!(c&1)){break a}a=x[d>>1];if((a|0)!=x[e+836>>1]){u[b+6>>1]=65535}u[b+4>>1]=a;u[b+2>>1]=a;u[b>>1]=a;return 0}e=c&3;if(c-1>>>0>=3){a=c&-4;while(1){c=x[d>>1];u[b+4>>1]=c;u[b+2>>1]=c;u[b>>1]=c;u[b+6>>1]=65535;c=x[d+2>>1];u[b+12>>1]=c;u[b+10>>1]=c;u[b+8>>1]=c;u[b+14>>1]=65535;c=x[d+4>>1];u[b+20>>1]=c;u[b+18>>1]=c;u[b+16>>1]=c;u[b+22>>1]=65535;c=x[d+6>>1];u[b+28>>1]=c;u[b+26>>1]=c;u[b+24>>1]=c;u[b+30>>1]=65535;b=b+32|0;d=d+8|0;a=a-4|0;if(a){continue}break}}if(!e){break a}while(1){a=x[d>>1];u[b+4>>1]=a;u[b+2>>1]=a;u[b>>1]=a;u[b+6>>1]=65535;b=b+8|0;d=d+2|0;e=e-1|0;if(e){continue}break}}return 0}function lz(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0;i=(v[a+24>>2]+a|0)+(h<<2)|0;l=i+4|0;j=(v[a+20>>2]+a|0)+(h<<1)|0;m=j+2|0;h=v[i>>2];j=x[j>>1];a:{b:{c:{d:{e:{if(!c){if((h&-1610612736)==-2147483648){break e}if(!j){break a}i=g+1|0;g=(g<<1)+f|0;break d}if(h&536870912){break c}}f:{if((h>>>24&31)<(d|0)){break f}if(((e>>>0<65536?1:2)|0)==(g|0)){Ub[v[b+4>>2]](v[b>>2],e);break f}Ub[v[b+12>>2]](v[b>>2],f,g)}if(!j){break a}i=g+1|0;g=(g<<1)+f|0;h=g;if(c){break b}}h=0;while(1){u[g>>1]=x[(h<<1)+m>>1];c=v[(h<<2)+l>>2];g:{if(!c){break g}if(c>>>0>=16777216){if((c&-1610612736)!=-2147483648|(c>>>24&31)<(d|0)){break g}Ub[v[b+12>>2]](v[b>>2],f,i);break g}lz(a,b,0,d,e,f,i,c)}h=h+1|0;if((j|0)!=(h|0)){continue}break}break a}if(!j){break a}i=g+1|0;h=(g<<1)+f|0}g=h;h=0;while(1){u[g>>1]=x[(h<<1)+m>>1];k=v[(h<<2)+l>>2];h:{if(!k){break h}if(k>>>0<=16777215){lz(a,b,c,d,e,f,i,k);break h}if(k&536870912|(k>>>24&31)<(d|0)){break h}Ub[v[b+12>>2]](v[b>>2],f,i)}h=h+1|0;if((j|0)!=(h|0)){continue}break}}}function iF(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=v[b>>2];a:{if((d|0)<1){break a}g=d&3;e=v[b+4>>2];if(d-1>>>0>=3){h=d&-4;d=e;while(1){f=w[d+3|0]+B(w[d+2|0]+B(w[d+1|0]+B(w[d|0]+B(f,17)|0,17)|0,17)|0,17)|0;e=d+4|0;d=e;h=h-4|0;if(h){continue}break}}if(!g){break a}while(1){f=w[e|0]+B(f,17)|0;e=e+1|0;g=g-1|0;if(g){continue}break}}b:{c:{d:{e:{e=v[a+4>>2];d=v[v[a+12>>2]+((f>>>0)%(e>>>0)<<2)>>2];if(d){while(1){if(!Rf(v[d>>2],b)){break e}d=v[d+8>>2];if(d){continue}break}e=v[a+4>>2]}if((e|0)<=v[a+8>>2]){LT(a)}i=fc(12);v[i+4>>2]=c;v[i>>2]=b;c=v[b>>2];if((c|0)>=1){break d}f=0;break c}v[d+4>>2]=c;if(!v[a>>2]|!b){break b}dc(Dc(b));return}g=c&3;e=v[b+4>>2];f:{if(c-1>>>0<3){f=0;break f}h=c&-4;f=0;d=e;while(1){f=w[d+3|0]+B(w[d+2|0]+B(w[d+1|0]+B(w[d|0]+B(f,17)|0,17)|0,17)|0,17)|0;e=d+4|0;d=e;h=h-4|0;if(h){continue}break}}if(!g){break c}while(1){f=w[e|0]+B(f,17)|0;e=e+1|0;g=g-1|0;if(g){continue}break}}b=v[a+12>>2]+((f>>>0)%y[a+4>>2]<<2)|0;v[i+8>>2]=v[b>>2];v[b>>2]=i;v[a+8>>2]=v[a+8>>2]+1}}function beb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=v[v[a+2248>>2]+88>>2];d=v[b+1168>>2];c=(v[b+1176>>2]+B(d,v[a+572>>2])|0)+B(d,v[a+2268>>2])|0;b=v[b+1164>>2];b=(c+B(b,v[a+580>>2])|0)+B(b,v[a+2264>>2])|0;d=v[a+636>>2]+v[a+616>>2]|0;c=v[a+588>>2];a:{b:{if(w[a+2253|0]!=4){if((c|0)<=0){break a}while(1){c=w[b|0]|w[b+1|0]<<8;f=(c<<8|c>>>8)&65535;c=w[d|0]|w[d+1|0]<<8;c=f+((c<<8|c>>>8)&65535)&65535;c=c<<8|c>>>8;t[b|0]=c;t[b+1|0]=c>>>8;d=d+2|0;b=(v[a+584>>2]<<1)+b|0;c=v[a+588>>2];e=e+1|0;if((c|0)>(e|0)){continue}break}break b}if((c|0)<1){break a}while(1){t[b|0]=w[d|0];t[b+1|0]=w[d+1|0];d=d+2|0;b=(v[a+584>>2]<<1)+b|0;c=v[a+588>>2];e=e+1|0;if((c|0)>(e|0)){continue}break}}if((c|0)<1){break a}b=v[a+540>>2];b=(v[b+1176>>2]+B(v[a+572>>2],v[b+1168>>2])|0)+B(v[a+580>>2],v[b+1164>>2])|0;d=v[a+636>>2]+v[a+616>>2]|0;c=0;while(1){e=w[d|0]|w[d+1|0]<<8;e=(e<<8|e>>>8)&65535;e=e<<8|e>>>8;t[b|0]=e;t[b+1|0]=e>>>8;d=d+2|0;b=(v[a+584>>2]<<1)+b|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function PZa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=Qb-16|0;Qb=e;h=v[a+100>>2];v[e+8>>2]=0;c=3;a:{if(!v[a+868>>2]){break a}c=Ub[v[a+516>>2]](a,1129270354,b,e+4|0)|0;v[e+12>>2]=c;b:{if(c){break b}c:{c=v[e+4>>2];if(c>>>0<14){break c}c=Xh(b,c,e+8|0);v[e+12>>2]=c;if(c){break b}c=v[e+8>>2];f=Fd(h,24,e+12|0);if(v[e+12>>2]){break b}d=w[c|0]|w[c+1|0]<<8;d=d<<8|d>>>8;u[f>>1]=d;if(d&65535){break c}d=w[c+2|0]|w[c+3|0]<<8;g=d<<8|d>>>8;u[f+2>>1]=g;d=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);i=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=v[e+4>>2];if(i>>>0>=d>>>0|d-i>>>0>>0){break c}g=w[c+8|0]|w[c+9|0]<<8|(w[c+10|0]<<16|w[c+11|0]<<24);c=w[c+12|0]|w[c+13|0]<<8;j=c<<8|c>>>8;u[f+4>>1]=j;c=g<<8&16711680|g<<24|(g>>>8&65280|g>>>24);if(c>>>0>=d>>>0|d-c>>>0<(j&65535)<<2>>>0){break c}b=v[e+8>>2];v[f+20>>2]=d;v[f+16>>2]=b;v[f+12>>2]=b+c;v[f+8>>2]=b+i;v[a+872>>2]=f;c=0;break a}v[e+12>>2]=8}nf(b,e+8|0);if(f){Ub[v[h+8>>2]](h,f)}c=v[e+12>>2]}Qb=e+16|0;return c|0}function xra(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=Qb-32|0;Qb=f;v[a>>2]=0;v[a+4>>2]=v[282402];a:{b:{c:{d:{e:{f:{g:{if(d){while(1){e=v[v[b>>2]+12>>2];v[299999]=0;e=Y(e|0,b|0,c|0,d|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break g}if(!e){v[299999]=0;c=aa(4369,f+8|0,237882,241835,474,338919,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break f}v[299999]=0;R(4370,c|0);b=v[299999];v[299999]=0;if((b|0)!=1){break c}b=W(989228)|0;d=O()|0;qc(c);break d}c=c+e|0;d=d-e|0;if(d){continue}break}}v[b+12>>2]=0;break a}b=W(989228)|0;break e}b=W(989228)|0}d=O()|0}if((ja(989228)|0)!=(d|0)){break b}b=ea(b|0)|0;v[299999]=0;b=v[b+4>>2];b=b?b:246399;c=v[299999];v[299999]=0;h:{if((c|0)==1){break h}v[299999]=0;Q(4433,a|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break h}v[299999]=0;ba(4230);b=v[299999];v[299999]=0;if((b|0)!=1){break a}b=P()|0;O()|0;break b}b=P()|0;O()|0;v[299999]=0;ba(4230);c=v[299999];v[299999]=0;if((c|0)!=1){break b}W(0)|0;O()|0;lc()}L()}ec(a);T(b|0);L()}Qb=f+32|0}function v0(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=C(0),k=0,l=0,m=C(0);c=v[a+156>>2]&-3;f=+(B(x[a+26308>>1],x[a+26310>>1])|0)*.01;a:{if(D(f)<2147483648){d=~~f;break a}d=-2147483648}if(v[a+196>>2]|c){d=-1}else{d=x[a+26322>>1]?(d|0)/2|0:d}l=v[a+26336>>2];if((l|0)>=1){while(1){h=0;c=8192;while(1){b:{g=h;h=(k<<15)+a|0;e=c-1|0;g=g+v[(h+(e<<2)|0)+59396>>2]|0;if((g|0)>(d|0)){break b}e=c-2|0;g=g+v[(h+(e<<2)|0)+59396>>2]|0;if((g|0)>(d|0)){break b}e=c-3|0;g=g+v[(h+(e<<2)|0)+59396>>2]|0;if((g|0)>(d|0)){break b}if(e>>>0<34){e=32;break b}c=c-4|0;e=c;h=g+v[(h+(c<<2)|0)+59396>>2]|0;if((d|0)>=(h|0)){continue}}break}m=C(e|0);j=j>2]));c=0;while(1){e=b+c|0;f=+C(C(c|0)/j);i=f;c:{if(!v[a+26136>>2]){break c}i=A[a+120>>3]*f;if(f<=A[a+128>>3]){break c}i=A[a+136>>3];i=de(f,A[a+112>>3])*(i+1)-i}f=i*256;d:{if(D(f)<2147483648){d=~~f;break d}d=-2147483648}t[e|0]=(d|0)<255?d:255;c=c+1|0;if((c|0)!=65536){continue}break}}function iFa(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;d=Qb-48|0;Qb=d;v[d+32>>2]=13;v[d+16>>2]=13;v[a+4>>2]=0;v[a+8>>2]=0;v[a>>2]=b;a:{if(v[c>>2]!=6){break a}i=1;b=v[v[b+28>>2]+132>>2];if(b){i=!v[v[b+32>>2]+8>>2]}e=v[c+8>>2];if(v[e+12>>2]<1){break a}b=0;while(1){b:{if(v[hg(e,b,d+32|0)>>2]==9){e=v[d+44>>2];v[d+8>>2]=v[d+40>>2];v[d+12>>2]=e;e=d+32|0;hc(e);yc(v[c+8>>2],b,e,0);break b}v[d+8>>2]=-1;v[d+12>>2]=-1}if(v[d+32>>2]==7){c:{d:{if(i){break d}e=rc(v[d+40>>2],278827,d+16|0,0);if(v[e>>2]!=4){break d}if(!mc(v[e+8>>2],233506)){break c}}e=fc(112);f=v[a>>2];v[299999]=0;f=Z(3357,e|0,f|0,v[d+40>>2],d+8|0)|0;g=v[299999];v[299999]=0;e:{f:{g:{if((g|0)!=1){if(!v[f+104>>2]){break e}f=v[a+8>>2];if((h|0)<=(f|0)){break g}g=v[a+4>>2];break f}a=P()|0;O()|0;dc(e);T(a|0);L()}h=h+16|0;g=pd(v[a+4>>2],h,4);v[a+4>>2]=g;f=v[a+8>>2]}v[a+8>>2]=f+1;v[(f<<2)+g>>2]=e;break c}FT(f);dc(e)}hc(d+16|0)}hc(d+32|0);b=b+1|0;e=v[c+8>>2];if((b|0)>2]){continue}break}}Qb=d+48|0;return a|0}function Soa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Qb-1072|0;Qb=c;v[c+8>>2]=0;v[c+12>>2]=v[282402];a:{b:{c:{d:{while(1){d=v[v[b>>2]+8>>2];v[299999]=0;d=Y(d|0,b|0,c+48|0,1024)|0;e=v[299999];v[299999]=0;if((e|0)==1){break c}if(!d){break b}v[299999]=0;d=Y(4605,c+40|0,c+48|0,d|0)|0;e=v[299999];v[299999]=0;if((e|0)!=1){v[299999]=0;Q(4606,c+8|0,c+40|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break d}ec(d);continue}break}a=P()|0;O()|0;break a}a=P()|0;O()|0;ec(d);break a}a=P()|0;O()|0;break a}b=v[c+8>>2];d=v[(b?b+12|0:1129608)>>2];v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[299999]=0;b=c+16|0;v[b>>2]=982500;v[b+4>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;e=v[299999];v[299999]=0;e:{if((e|0)!=1){v[299999]=0;t[c+32|0]=0;V(4661,c+16|0,d|0);d=v[299999];v[299999]=0;if((d|0)==1){a=P()|0;O()|0;Ic(b);break a}ec(c+8|0);v[299999]=0;V(4662,a|0,c+16|0);a=v[299999];v[299999]=0;if((a|0)==1){break e}Ic(b);Qb=c+1072|0;return}a=P()|0;O()|0;break a}a=P()|0;O()|0;Ic(b);T(a|0);L()}ec(c+8|0);T(a|0);L()}function LW(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=Qb-16|0;Qb=e;a:{b:{c:{if(d){v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[299999]=0;U(2715,b|0,c|0,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break c}b=P()|0;O()|0;if(t[a+11|0]<=-1){dc(v[a>>2])}T(b|0);L()}d=c+1|0;f=fc((d|0)!=(d&1073741823)?-1:d<<2);d:{if((c|0)<1){break d}h=c&3;d=0;if(c-1>>>0>=3){i=c&-4;while(1){v[(d<<2)+f>>2]=w[b+d|0];g=d|1;v[(g<<2)+f>>2]=w[b+g|0];g=d|2;v[(g<<2)+f>>2]=w[b+g|0];g=d|3;v[(g<<2)+f>>2]=w[b+g|0];d=d+4|0;i=i-4|0;if(i){continue}break}}if(!h){break d}while(1){v[(d<<2)+f>>2]=w[b+d|0];d=d+1|0;h=h-1|0;if(h){continue}break}}v[(c<<2)+f>>2]=0;if(c>>>0>=1073741808){break b}e:{f:{if(c>>>0>=2){b=c+4&-4;d=fc(b<<2);v[e+8>>2]=b|-2147483648;v[e>>2]=d;v[e+4>>2]=c;break f}t[e+11|0]=c;d=e;if(!c){break e}}v[299999]=0;tc(d,f,c);b=v[299999];v[299999]=0;if((b|0)==1){break a}}v[(c<<2)+d>>2]=0;dc(f);v[a+8>>2]=v[e+8>>2];b=v[e+4>>2];v[a>>2]=v[e>>2];v[a+4>>2]=b}Qb=e+16|0;return}$d(e);L()}W(0)|0;O()|0;lc();L()}function wfa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;f=Qb-32|0;Qb=f;g=v[a+116>>2];d=g+1|0;nr(a+96|0,d);a:{b:{if(!(v[a+112>>2]<=(d|0)&v[a+116>>2]>(g|0))){a=vc(f+8|0,227445,271729,619,307344,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}v[v[a+100>>2]+(d-v[a+104>>2]<<2)>>2]=b;e=v[a+88>>2];c:{if((e|0)<=(b|0)){h=v[a+92>>2];if((h|0)>=(b|0)){break c}}nr(a+72|0,b);h=v[a+92>>2];e=v[a+88>>2]}if(!((b|0)<=(h|0)&(b|0)>=(e|0))){a=vc(f+8|0,227445,271729,619,307344,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}v[v[a+76>>2]+(b-v[a+80>>2]<<2)>>2]=d;b=v[a+136>>2];d:{if((d|0)>=(b|0)){e=v[a+140>>2];if((g|0)<(e|0)){break d}}nr(a+120|0,d);e=v[a+140>>2];b=v[a+136>>2]}if(!((b|0)<=(d|0)&(e|0)>(g|0))){a=vc(f+8|0,227445,271729,619,307558,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}fO(v[a+124>>2]+(d-v[a+128>>2]<<4)|0,v[c+4>>2]);Qb=f+32|0;return d|0}L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function zp(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{e=v[a>>2];c:{if(e>>>0>=b>>>0){break c}g=e+1|0;f=w[e|0];if(f&128){if(b>>>0<=g>>>0){break c}d:{if(!(f&64)){break d}c=w[e+1|0];if((c&192)!=128){break d}d=c&63|f<<6;c=e+2|0;if(f&32){if(b>>>0<=c>>>0){break c}e:{c=w[e+2|0];if((c&192)!=128){break e}d=c&63|d<<6;if(!d){break e}c=e+3|0;if(f&16){if(b>>>0<=c>>>0){break c}f:{c=w[e+3|0];if((c&192)!=128){break f}d=c&63|d<<6;if(!d){break f}c=e+4|0;if(f&8){if(b>>>0<=c>>>0){break c}g:{c=w[e+4|0];if((c&192)!=128){break g}d=c&63|d<<6;if(!d){break g}c=e+5|0;if(f&4){if(b>>>0<=c>>>0){break c}h:{if(f&2){break h}b=w[c|0];if((b&192)!=128){break h}b=b&63|d<<6&2147483584;if(!b){break h}v[a>>2]=e+6;return b|0}break a}b=d&67108863;if(!b){break c}v[a>>2]=c;return b|0}break a}b=d&2097151;if(!b){break c}break b}break a}b=d&65535;if(!b){break c}break b}break a}b=d&2047;if(!b){break c}break b}break a}if(!f){break c}v[a>>2]=g;h=f}return h|0}v[a>>2]=c;return b|0}v[a>>2]=g;return w[e|0]^-1}function dO(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=996368;b=v[a+76>>2];v[a+76>>2]=0;a:{b:{if(!b){break b}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break b}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a+72>>2];v[a+72>>2]=0;c:{if(!b){break c}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break c}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a+68>>2];v[a+68>>2]=0;d:{if(!b){break d}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break d}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a+64>>2];v[a+64>>2]=0;e:{if(!b){break e}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break e}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}Lc(a+56|0);Lc(a+44|0);Lc(a+32|0);Qc(a);return a|0}W(0)|0;O()|0;lc();L()}function Vz(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;n=b<<3;f=v[a+36>>2];a:{i=v[a+48>>2];g=v[i+4>>2];b:{if((g|0)<(d|0)){break b}h=v[(i+n|0)+4>>2];if((h|0)>(e|0)){break b}k=g;j=v[a+4>>2];g=0-j|0;l=k&g;m=(l|0)>(e|0);c:{if((d|0)>(h|0)){g=d;break c}g=g&(h+j|0)-1;if(h&j-1&65535){d=g;break c}if(w[a+79|0]){t[a+79|0]=0;f=f-4|0}v[f>>2]=v[(b<<3)+i>>2];d=g+j|0;f=f+4|0}if(w[a+78|0]){v[v[a+80>>2]+20>>2]=g>>v[a>>2];t[a+78|0]=0}h=m?e:l;if((h|0)<(d|0)){break b}if(y[a+32>>2]<=((h-d>>v[a>>2]<<2)+f|0)+4>>>0){break a}j=0-b|0;l=b<<3;e=i;while(1){t[a+79|0]=0;g=i;b=v[e+4>>2];d:{if((b|0)>(d|0)){k=b;b=e+l|0;m=v[b+4>>2];k=k-m|0;if((k|0)>=v[a+16>>2]){Ub[c|0](e);break d}b=v[b>>2];v[f>>2]=((B(v[e>>2]-b|0,d-m|0)|0)/(k|0)|0)+b;f=f+4|0;d=v[a+4>>2]+d|0;b=(j<<3)+e|0;break d}if((b|0)==(d|0)){t[a+79|0]=1;v[f>>2]=v[e>>2];f=f+4|0;d=v[a+4>>2]+d|0}b=(j<<3)+e|0}e=b;if(g>>>0<=e>>>0&(d|0)<=(h|0)){continue}break}i=v[a+48>>2]}v[a+36>>2]=f;v[a+48>>2]=i-n;return 0}v[a+40>>2]=98;v[a+36>>2]=f;return 1}function uA(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=Qb-16|0;Qb=d;b=v[a+12>>2];a:{if((b|0)>24){b=-1;break a}h=a+16|0;while(1){b:{c:{d:{c=b<<3;f=v[c+214836>>2]+v[a+8>>2]|0;if((f|0)>=1){g=v[c+214832>>2]+v[a+4>>2]|0;if((g|0)>0){break d}}b=b+1|0;break c}b=v[h>>2];if(!b){c=B(f,g);b=0;e=v[v[a>>2]+80>>2];e:{if(!e){break e}c=v[v[e+8>>2]+((c>>>0)%y[e>>2]<<2)>>2];if(!c){break e}v[c+8>>2]=v[c+8>>2]+1;b=c}v[a+16>>2]=b;if(!b){b=v[a+12>>2]+1|0;break c}v[a+20>>2]=0}e=b?v[b+4>>2]:0;b=v[a+20>>2];if((e|0)>(b|0)){while(1){c=v[v[a+16>>2]+20>>2];v[a+20>>2]=b+1;j=d;k=v[v[a>>2]+72>>2];i=+z[c+(b<<2)>>2]+.5;f:{if(D(i)<2147483648){b=~~i;break f}b=-2147483648}c=Cf(k,b);v[j+12>>2]=c;g:{if(((c?v[c>>2]:-1)-12|0)!=(g|0)){break g}c=v[d+12>>2];if(c){c=v[c+4>>2]}else{c=-1}if((c-12|0)!=(f|0)){break g}dd(d+12|0);break a}dd(d+12|0);b=v[a+20>>2];if((e|0)>(b|0)){continue}break}}v[a+12>>2]=v[a+12>>2]+1;Zh(h);b=v[a+12>>2];break b}v[a+12>>2]=b}if((b|0)<=24){continue}break}b=-1}Qb=d+16|0;return b}function ul(a){var b=0,c=0,d=0,e=0;Yd(a,nc(a)<<1);a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{if(!nc(a)){if((nc(a)|0)!=1380401731){break k}if((nc(a)|0)!=3){break j}if(nc(a)){break i}if((nc(a)|0)!=1382293536){break h}if((nc(a)|0)!=1685026146){break g}c=Jd(a);if(nc(a)){break f}if((nc(a)|0)!=1198681632){break e}if((nc(a)|0)!=1685026146){break d}d=Jd(a);if(nc(a)){break c}if((nc(a)|0)!=1114382368){break b}if((nc(a)|0)!=1685026146){break a}if(D(d)<2147483648){b=~~d}else{b=-2147483648}e=b&255;if(D(c)<2147483648){b=~~c}else{b=-2147483648}b=b&255;c=Jd(a);l:{if(D(c)<2147483648){a=~~c;break l}a=-2147483648}return a&255|(e<<8|b<<16)|-16777216}X(11805,6490,414,194180);L()}X(14551,6490,417,194180);L()}X(16555,6490,422,194180);L()}X(11805,6490,426,194180);L()}X(19518,6490,429,194180);L()}X(21872,6490,433,194180);L()}X(11805,6490,439,194180);L()}X(23989,6490,442,194180);L()}X(21872,6490,446,194180);L()}X(11805,6490,452,194180);L()}X(25944,6490,455,194180);L()}X(21872,6490,459,194180);L()}function Udb(a){a=a|0;var b=0,c=0,d=0,e=0;b=v[v[a+2248>>2]+88>>2];c=v[b+1168>>2];c=(v[b+1176>>2]+B(c,v[a+572>>2])|0)+B(c,v[a+2268>>2])|0;b=v[b+1164>>2];b=(c+B(b,v[a+580>>2])|0)+B(b,v[a+2264>>2])|0;c=v[a+636>>2]+v[a+616>>2]|0;d=v[a+588>>2];a:{b:{if(w[a+2253|0]!=4){if((d|0)<=0){break a}while(1){t[b|0]=w[c|0]+w[b|0];t[b+1|0]=w[c+1|0]+w[b+1|0];t[b+2|0]=w[c+2|0]+w[b+2|0];t[b+3|0]=w[c+3|0]+w[b+3|0];c=c+4|0;b=(v[a+584>>2]<<2)+b|0;d=v[a+588>>2];e=e+1|0;if((d|0)>(e|0)){continue}break}break b}if((d|0)<1){break a}while(1){t[b|0]=w[c|0];t[b+1|0]=w[c+1|0];t[b+2|0]=w[c+2|0];t[b+3|0]=w[c+3|0];c=c+4|0;b=(v[a+584>>2]<<2)+b|0;d=v[a+588>>2];e=e+1|0;if((d|0)>(e|0)){continue}break}}if((d|0)<1){break a}b=v[a+540>>2];b=(v[b+1176>>2]+B(v[a+572>>2],v[b+1168>>2])|0)+B(v[a+580>>2],v[b+1164>>2])|0;c=v[a+636>>2]+v[a+616>>2]|0;d=0;while(1){t[b|0]=w[c|0];t[b+1|0]=w[c+1|0];t[b+2|0]=w[c+2|0];t[b+3|0]=w[c+3|0];c=c+4|0;b=(v[a+584>>2]<<2)+b|0;d=d+1|0;if((d|0)>2]){continue}break}}return 0}function Nga(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Qb-16|0;Qb=e;v[a>>2]=0;v[a+4>>2]=v[282402];v[299999]=0;$(5224,e|0,b|0,c|0,d|0);b=v[299999];v[299999]=0;a:{b:{if((b|0)!=1){b=v[e>>2];c:{if(b){c=v[v[b>>2]+28>>2];v[299999]=0;U(c|0,e+8|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break c}b=P()|0;O()|0;ec(e);break b}v[e+8>>2]=0}v[299999]=0;Q(4344,a|0,e+8|0)|0;b=v[299999];v[299999]=0;d:{if((b|0)!=1){b=v[e+8>>2];v[e+8>>2]=0;if(!b){break d}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)!=1){if(c){break d}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break d}}break a}b=P()|0;O()|0;ec(e+8|0);ec(e);break b}b=a;a=v[a>>2];v[b+4>>2]=v[(a?a+12|0:1129608)>>2];a=v[e>>2];v[e>>2]=0;e:{if(!a){break e}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break e}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Qb=e+16|0;return}b=P()|0;O()|0}ec(a);T(b|0);L()}W(0)|0;O()|0;lc();L()}function Mga(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Qb-16|0;Qb=e;v[a>>2]=0;v[a+4>>2]=v[282402];v[299999]=0;$(5230,e|0,b|0,c|0,d|0);b=v[299999];v[299999]=0;a:{b:{if((b|0)!=1){b=v[e>>2];c:{if(b){c=v[v[b>>2]+28>>2];v[299999]=0;U(c|0,e+8|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break c}b=P()|0;O()|0;ec(e);break b}v[e+8>>2]=0}v[299999]=0;Q(4344,a|0,e+8|0)|0;b=v[299999];v[299999]=0;d:{if((b|0)!=1){b=v[e+8>>2];v[e+8>>2]=0;if(!b){break d}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)!=1){if(c){break d}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break d}}break a}b=P()|0;O()|0;ec(e+8|0);ec(e);break b}b=a;a=v[a>>2];v[b+4>>2]=v[(a?a+12|0:1129608)>>2];a=v[e>>2];v[e>>2]=0;e:{if(!a){break e}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break e}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Qb=e+16|0;return}b=P()|0;O()|0}ec(a);T(b|0);L()}W(0)|0;O()|0;lc();L()}function xZ(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=v[a+16>>2];f=w[d+12|0]|w[d+13|0]<<8|(w[d+14|0]<<16|w[d+15|0]<<24);i=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);a:{if(!i){break a}h=v[b>>2];if(c){if((h|0)==-1){break a}h=h+1|0}m=d+20|0;d=i;b:{c:{while(1){f=d+j>>>1|0;k=B(f,12)+m|0;e=k;g=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24);l=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);g=f;e=e-4|0;e=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(e>>>0<=h>>>0){if(h>>>0<=l>>>0){break c}j=f+1|0}else{d=g}if(d>>>0>j>>>0){continue}break}d=0;break b}d=k;d=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);g=h-e|0;d=d>>>0>(g^-1)>>>0?0:d+g|0}if(!c){return d}c=v[a>>2];if(h>>>0>l>>>0){g=0;f=f+1|0;if((i|0)==(f|0)){break a}}t[a+24|0]=1;v[a+36>>2]=f;v[a+28>>2]=h;d:{if(!(d>>>0>2]?d:0)){wZ(a);d=0;if(!w[a+24|0]){break d}d=v[a+32>>2];break d}v[a+32>>2]=d}g=d;v[b>>2]=v[a+28>>2]}return g}function aka(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;var j=0,k=0,l=0,m=0,n=0;k=(g|0)/2|0;a:{if(!f){break a}g=f-1|0;j=v[a+64>>2];if(e>>>0>=2){c=e-2|0;m=c&2;n=c>>>0<2;while(1){l=g;a=e;g=b;f=i;if(!m){a=v[(w[i|0]<<2)+j>>2];v[b>>2]=v[a>>2];v[b+4>>2]=v[a+4>>2];g=b+8|0;f=i+1|0;a=c}d=c;if(!n){while(1){b=g;d=v[(w[f|0]<<2)+j>>2];v[b>>2]=v[d>>2];v[b+4>>2]=v[d+4>>2];d=f;i=v[(w[f+1|0]<<2)+j>>2];v[b+8>>2]=v[i>>2];v[b+12>>2]=v[i+4>>2];g=b+16|0;f=f+2|0;a=a-4|0;if(a>>>0>1){continue}break}i=d+1|0;d=a;b=b+8|0}b:{if(d){v[g>>2]=v[v[(w[f|0]<<2)+j>>2]>>2];g=3;a=2;break b}g=2;a=1}b=((h<<2)+b|0)+(g<<2)|0;g=l-1|0;i=a+(i+k|0)|0;if(l){continue}break}break a}if(!e){break a}if(f&1){v[b>>2]=v[v[(w[i|0]<<2)+j>>2]>>2];i=(i+k|0)+1|0;b=((h<<2)+b|0)+4|0;f=f-2|0}else{f=g}if(!g){break a}while(1){v[b>>2]=v[v[(w[i|0]<<2)+j>>2]>>2];a=h<<2;b=(a+b|0)+4|0;c=(i+k|0)+1|0;v[b>>2]=v[v[(w[c|0]<<2)+j>>2]>>2];b=(a+b|0)+4|0;i=(c+k|0)+1|0;a=(f|0)!=1;f=f-2|0;if(a){continue}break}}}function aja(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;var j=0,k=0,l=0,m=0,n=0;k=(g|0)/2|0;a:{if(!f){break a}g=f-1|0;j=v[a+60>>2];if(e>>>0>=2){c=e-2|0;m=c&2;n=c>>>0<2;while(1){l=g;a=e;g=b;f=i;if(!m){a=v[(w[i|0]<<2)+j>>2];v[b>>2]=v[a>>2];v[b+4>>2]=v[a+4>>2];g=b+8|0;f=i+1|0;a=c}d=c;if(!n){while(1){b=g;d=v[(w[f|0]<<2)+j>>2];v[b>>2]=v[d>>2];v[b+4>>2]=v[d+4>>2];d=f;i=v[(w[f+1|0]<<2)+j>>2];v[b+8>>2]=v[i>>2];v[b+12>>2]=v[i+4>>2];g=b+16|0;f=f+2|0;a=a-4|0;if(a>>>0>1){continue}break}i=d+1|0;d=a;b=b+8|0}b:{if(d){v[g>>2]=v[v[(w[f|0]<<2)+j>>2]>>2];g=3;a=2;break b}g=2;a=1}b=((h<<2)+b|0)+(g<<2)|0;g=l-1|0;i=a+(i+k|0)|0;if(l){continue}break}break a}if(!e){break a}if(f&1){v[b>>2]=v[v[(w[i|0]<<2)+j>>2]>>2];i=(i+k|0)+1|0;b=((h<<2)+b|0)+4|0;f=f-2|0}else{f=g}if(!g){break a}while(1){v[b>>2]=v[v[(w[i|0]<<2)+j>>2]>>2];a=h<<2;b=(a+b|0)+4|0;c=(i+k|0)+1|0;v[b>>2]=v[v[(w[c|0]<<2)+j>>2]>>2];b=(a+b|0)+4|0;i=(c+k|0)+1|0;a=(f|0)!=1;f=f-2|0;if(a){continue}break}}}function oSa(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;v[a+8>>2]=0;v[a>>2]=0;v[a+4>>2]=0;a:{b:{c:{d:{e:{f:{if(b){if(b>>>0>=357913942){v[299999]=0;R(2185,a|0);b=v[299999];v[299999]=0;if((b|0)==1){break c}break a}v[299999]=0;d=B(b,12);b=S(1,d|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break c}v[a>>2]=b;v[a+4>>2]=b;e=b+d|0;v[a+8>>2]=e;f=v[c>>2];c=v[c+4>>2]-f|0;g:{if(!c){c=b;b=d-12|0;ic(c,0,(b-((b>>>0)%12|0)|0)+12|0);break g}if((c|0)<=-1){break e}g=c>>2<<2;h=c>>>2<<2;while(1){v[b+8>>2]=0;v[b>>2]=0;v[b+4>>2]=0;v[299999]=0;d=S(1,c|0)|0;i=v[299999];v[299999]=0;if((i|0)==1){break f}v[b>>2]=d;v[b+4>>2]=d;v[b+8>>2]=d+g;j=b,k=gc(d,f,c)+h|0,v[j+4>>2]=k;b=b+12|0;if((e|0)!=(b|0)){continue}break}}v[a+4>>2]=e}return a|0}c=P()|0;O()|0;d=b+4|0;break d}v[b+8>>2]=0;v[b>>2]=0;v[b+4>>2]=0;v[299999]=0;R(2185,b|0);c=v[299999];v[299999]=0;if((c|0)!=1){break a}c=P()|0;O()|0;d=b+4|0}e=v[b>>2];if(e){v[d>>2]=e;dc(e)}v[a+4>>2]=b;break b}c=P()|0;O()|0}Vh(a);T(c|0);L()}L()}function ZJa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=v[b+4>>2];a:{b:{if(e){f=w[c+11|0];g=f<<24>>24<0;h=g?v[c>>2]:c;g=g?v[c+4>>2]:f;f=b+4|0;while(1){c=w[e+27|0];i=c<<24>>24<0;c=i?v[e+20>>2]:c;l=c>>>0>>0;c:{d:{e:{f:{g:{k=l?c:g;h:{if(k){j=e+16|0;i=i?v[j>>2]:j;j=Pc(h,i,k);if(!j){if(c>>>0>g>>>0){break h}break g}if((j|0)>-1){break g}break h}if(c>>>0<=g>>>0){break f}}c=v[e>>2];if(c){break c}break b}c=Pc(i,h,k);if(c){break e}}if(l){break d}break a}if((c|0)>-1){break a}}f=e+4|0;c=v[e+4>>2];if(!c){break a}e=f}f=e;e=c;continue}}e=b+4|0}f=e}g=a;c=v[f>>2];if(c){b=0}else{c=fc(40);v[c+24>>2]=v[d+8>>2];h=v[d+4>>2];v[c+16>>2]=v[d>>2];v[c+20>>2]=h;v[d>>2]=0;v[d+4>>2]=0;v[d+8>>2]=0;v[c+36>>2]=v[d+20>>2];h=v[d+16>>2];v[c+28>>2]=v[d+12>>2];v[c+32>>2]=h;v[d+12>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[c+8>>2]=e;v[c>>2]=0;v[c+4>>2]=0;v[f>>2]=c;d=v[v[b>>2]>>2];if(d){v[b>>2]=d;d=v[f>>2]}else{d=c}Uc(v[b+4>>2],d);v[b+8>>2]=v[b+8>>2]+1;b=1}t[g+4|0]=b;v[a>>2]=c}function Tm(a,b,c){var d=0,e=0,f=0,g=0;a:{b:{switch(c-1|0){case 1:c=v[b+8>>2];if((c|0)<1){break a}d=A[a+120>>3];e=A[a+112>>3];g=v[b>>2];b=0;while(1){a=v[g+(b<<2)>>2];f=A[a+32>>3];A[a+32>>3]=e-A[a+16>>3];A[a+16>>3]=e-f;f=A[a+40>>3];A[a+40>>3]=d-A[a+24>>3];A[a+24>>3]=d-f;t[a+88|0]=w[a+88|0]+2&3;b=b+1|0;if((c|0)!=(b|0)){continue}break};break a;case 0:d=A[a+120>>3];A[a+120>>3]=A[a+112>>3];A[a+112>>3]=d;c=v[b+8>>2];if((c|0)<1){break a}g=v[b>>2];b=0;while(1){a=v[g+(b<<2)>>2];e=A[a+40>>3];A[a+40>>3]=A[a+32>>3];f=A[a+24>>3];A[a+24>>3]=A[a+16>>3];A[a+32>>3]=d-f;A[a+16>>3]=d-e;t[a+88|0]=w[a+88|0]+1&3;b=b+1|0;if((c|0)!=(b|0)){continue}break};break a;case 2:break b;default:break a}}e=A[a+120>>3];d=A[a+112>>3];A[a+120>>3]=d;A[a+112>>3]=e;c=v[b+8>>2];if((c|0)<1){break a}g=v[b>>2];b=0;while(1){a=v[g+(b<<2)>>2];e=A[a+32>>3];A[a+32>>3]=A[a+40>>3];f=A[a+16>>3];A[a+16>>3]=A[a+24>>3];A[a+40>>3]=d-f;A[a+24>>3]=d-e;t[a+88|0]=w[a+88|0]-1&3;b=b+1|0;if((c|0)!=(b|0)){continue}break}}}function SZ(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=v[a>>2];a:{if(!h){break a}g=h-1|0;d=v[a+8>>2];f=h&3;b:{if(!f){e=h;break b}e=h;while(1){v[d+24>>2]=-1;v[d+16>>2]=v[d+16>>2]&-5;d=d+28|0;e=e-1|0;f=f-1|0;if(f){continue}break}}if(g>>>0<3){break a}while(1){v[d+24>>2]=-1;v[d+52>>2]=-1;v[d+80>>2]=-1;v[d+108>>2]=-1;v[d+16>>2]=v[d+16>>2]&-5;v[d+44>>2]=v[d+44>>2]&-5;v[d+72>>2]=v[d+72>>2]&-5;v[d+100>>2]=v[d+100>>2]&-5;d=d+112|0;e=e-4|0;if(e){continue}break}}if(b){d=0;f=0;e=0;g=0;while(1){if(!d){f=w[c|0];d=128;c=c+1|0}c:{if(!(d&f)){break c}i=v[a+8>>2]+B(e,28)|0;j=v[i+16>>2];if(j&4){break c}v[i+16>>2]=j|4;if(g>>>0>=h>>>0){break c}v[v[a+12>>2]+(g<<2)>>2]=i;g=g+1|0}d=d>>1;e=e+1|0;if((e|0)!=(b|0)){continue}break}v[a+4>>2]=g;if((g|0)>=2){c=v[a+12>>2];a=1;while(1){e=v[c+(a<<2)>>2];h=v[e>>2];d=a;while(1){b=d-1|0;f=c+(b<<2)|0;i=v[f>>2];if((h|0)<=v[i>>2]){v[c+(d<<2)>>2]=i;v[f>>2]=e;f=(d|0)>1;d=b;if(f){continue}}break}a=a+1|0;if((g|0)!=(a|0)){continue}break}}return}v[a+4>>2]=0}function oI(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=Qb-32|0;Qb=c;a:{if(!a|((a?v[a+8>>2]:-1)|0)!=1){break a}b:{switch(b-4|0){case 0:case 4:break b;default:break a}}Hv(a,c+16|0);if(v[c+16>>2]){e=Io(1);break a}d=Xe(0,a);v[c+4>>2]=d;if(!d){break a}f=rA(a?v[a+4>>2]:-1);v[c>>2]=f;if(!f){break a}a=rA(0);if(!a){break a}v[f+12>>2]=a;h=Io(0);if(!h){break a}g=c+28|0;e=c+24|0;a=c+20|0;if(d){if(g){v[g>>2]=v[d>>2]}if(e){v[e>>2]=v[d+4>>2]}if(a){v[a>>2]=v[d+8>>2]}}c:{if(v[c+20>>2]!=1){break c}g=b-4|0;b=0;while(1){a=d?v[d+12>>2]:-1;if(!R$(d?v[d+40>>2]:0,v[c+28>>2],v[c+24>>2],a,b,i,c+12|0,c+8|0)){break c}i=v[c+8>>2];b=v[c+12>>2];e=0;if(((d?v[d+8>>2]:-1)|0)!=1){break a}d:{e:{switch(g|0){case 0:a=Q$(d,f,b,i);if(a){break d}break a;case 4:break e;default:break a}}a=P$(d,f,b,i);if(!a){break a}}tA(h,a);j=c+28|0;e=c+24|0;a=c+20|0;if(d){if(j){v[j>>2]=v[d>>2]}if(e){v[e>>2]=v[d+4>>2]}if(a){v[a>>2]=v[d+8>>2]}}if(v[c+20>>2]==1){continue}break}}kI(c,1);dd(c+4|0);e=h}Qb=c+32|0;return e}function PW(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;v[a+28>>2]=0;o=.5/A[a>>3];A[a+8>>3]=o*o;i=v[a+32>>2];l=v[a+28>>2];j=l>>>6|0;if(i>>>0<=j>>>0){h=v[a+36>>2];a:{if(h>>>0>j>>>0){k=v[a+40>>2];break a}h=h+v[a+44>>2]|0;k=fc((h|0)!=(h&1073741823)?-1:h<<2);n=a;m=v[a+40>>2];if(m){gc(k,m,i<<2);dc(m);l=v[a+28>>2];i=v[a+32>>2];h=v[a+36>>2]+v[a+44>>2]|0}v[n+36>>2]=h;v[a+40>>2]=k}p=(j<<2)+k|0,q=fc(1024),v[p>>2]=q;v[a+32>>2]=i+1}h=v[v[a+40>>2]+(j<<2)>>2]+((l&63)<<4)|0;A[h+8>>3]=c;A[h>>3]=b;v[a+28>>2]=v[a+28>>2]+1;OW(a,b,c,d,e,f,g,0);i=v[a+32>>2];l=v[a+28>>2];j=l>>>6|0;if(i>>>0<=j>>>0){h=v[a+36>>2];b:{if(h>>>0>j>>>0){k=v[a+40>>2];break b}h=h+v[a+44>>2]|0;k=fc((h|0)!=(h&1073741823)?-1:h<<2);n=a;m=v[a+40>>2];if(m){gc(k,m,i<<2);dc(m);l=v[a+28>>2];i=v[a+32>>2];h=v[a+36>>2]+v[a+44>>2]|0}v[n+36>>2]=h;v[a+40>>2]=k}p=(j<<2)+k|0,q=fc(1024),v[p>>2]=q;v[a+32>>2]=i+1}h=v[v[a+40>>2]+(j<<2)>>2]+((l&63)<<4)|0;A[h+8>>3]=g;A[h>>3]=f;v[a+28>>2]=v[a+28>>2]+1;v[a+24>>2]=0}function wQ(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=Qb-16|0;Qb=f;a:{b:{c:{d:{e:{d=v[a+708>>2];switch(d|0){case 1:break c;case 0:break d;default:break e}}d=d-1|0;v[a+708>>2]=d;if((d|0)!=1){break d}Gc(a,68256);td(a,c);break b}d=v[a+200>>2];if(!(d&1)){break a}if(d&4){v[a+200>>2]=d|8}Zc(a,v[a+740>>2]);d=If(a,c+1|0);v[a+740>>2]=d;if(!d){Gc(a,68409);break b}yf(a,d,c);kd(a,d,c);e=td(a,0);d=v[a+740>>2];if(e){Zc(a,d);v[a+740>>2]=0;break b}t[c+d|0]=0;g=v[a+740>>2];e=g;while(1){d=e;e=d+1|0;if(w[d|0]){continue}break}if(!(d>>>0<(c+g|0)-2>>>0&c>>>0>=2)){Gc(a,68509);Zc(a,v[a+740>>2]);v[a+740>>2]=0;break b}h=a;if(w[e|0]){Gc(a,68681);g=v[a+740>>2]}e=(d-g|0)+2|0;WD(h,0,c,e,f+12|0);c=If(a,28);if(!c){Gc(a,68788);Zc(a,v[a+740>>2]);v[a+740>>2]=0;break b}v[c>>2]=0;d=v[a+740>>2];v[c+24>>2]=0;v[c+4>>2]=d;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=d+e;v[c+12>>2]=v[f+12>>2];b=GD(a,b,c);Zc(a,c);Zc(a,v[a+740>>2]);v[a+740>>2]=0;if(!b){break b}hd(a,68847);L()}td(a,c)}Qb=f+16|0;return}hd(a,68323);L()}function Wz(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;i=Qb-16|0;Qb=i;h=v[a+12>>2];if(h){v[(v[a+20>>2]+(h<<4)|0)-4>>2]=e}a:{b:{c:{k=h+1|0;g=v[a+16>>2];if(k>>>0>g>>>0){v[i+4>>2]=0;j=h+8&-8;e=Cc(f,16,g,j,v[a+20>>2],i+4|0);v[a+20>>2]=e;g=v[i+4>>2];if(g){break a}v[a+16>>2]=j;g=(h<<4)+e|0;v[g+12>>2]=0;v[g>>2]=0;v[a+12>>2]=k;break c}e=v[a+20>>2];j=e+(h<<4)|0;v[j+12>>2]=0;v[j>>2]=0;v[a+12>>2]=k;if(k){break c}if(!g){v[i+8>>2]=0;e=Cc(f,16,0,8,e,i+8|0);v[a+20>>2]=e;g=v[i+8>>2];if(g){break a}v[a+16>>2]=8}v[e+12>>2]=0;v[e>>2]=0;v[a+12>>2]=1;break b}e=(h<<4)+e|0}a=v[e+4>>2];v[i+12>>2]=0;h=d+7>>>3|0;a=a+7>>>3|0;d:{if(h>>>0<=a>>>0){f=v[e+8>>2];break d}g=a;a=h+7&1073741816;f=Cc(f,1,g,a,v[e+8>>2],i+12|0);v[e+8>>2]=f;g=v[i+12>>2];if(g){break a}v[e+4>>2]=a<<3}v[e>>2]=d;g=0;if(!d){break a}b=(c>>>3|0)+b|0;e=128>>>(c&7)|0;a=128;while(1){c=w[f|0];t[f|0]=w[b|0]&e?c|a:c&(a^-1);c=a>>>0<2;a=c?128:a>>1;h=e>>>0<2;e=h?128:e>>1;f=c+f|0;b=b+h|0;d=d-1|0;if(d){continue}break}}Qb=i+16|0;return g}function BE(a,b,c){var d=0,e=0,f=0,g=0;d=a>>>24|0;a:{if(!(d-65>>>0<=57&d-91>>>0>5)){t[b+3|0]=93;t[b|0]=91;t[b+2|0]=w[(d&15)+74432|0];t[b+1|0]=w[(a>>>28|0)+74432|0];d=4;break a}t[b|0]=d;d=1}e=a>>>16|0;f=e&255;b:{if(!(f-65>>>0>57|f-91>>>0<6)){f=d;break b}t[(b+d|0)+1|0]=w[(a>>>20&15)+74432|0];t[(d|2)+b|0]=w[(e&15)+74432|0];f=d+3|0;t[f+b|0]=93;e=91}t[b+d|0]=e;g=f+1|0;d=a>>>8|0;e=d&255;c:{if(!(e-65>>>0>57|e-91>>>0<6)){e=g;break c}e=f+4|0;t[e+b|0]=93;f=b+f|0;t[f+3|0]=w[(d&15)+74432|0];t[f+2|0]=w[(a>>>12&15)+74432|0];d=91}t[b+g|0]=d;f=e+1|0;d=a&255;d:{if(!(d-65>>>0>57|d-91>>>0<6)){d=f;break d}d=e+4|0;t[d+b|0]=93;e=b+e|0;t[e+3|0]=w[(a&15)+74432|0];t[e+2|0]=w[(a>>>4&15)+74432|0];a=91}t[b+f|0]=a;a=d+1|0;e:{if(!c){break e}t[a+b|0]=58;t[(b+d|0)+2|0]=32;a=d+3|0;d=0;while(1){f=c+d|0;e=w[f|0];if(!e){break e}t[a+b|0]=e;e=a+1|0;g=w[f+1|0];if(!g){a=e;break e}t[b+e|0]=g;e=a+2|0;f=w[f+2|0];if(!f){a=e;break e}t[b+e|0]=f;a=a+3|0;d=d+3|0;if((d|0)!=63){continue}break}}t[a+b|0]=0}function ys(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=Qb-16|0;Qb=h;f=v[a>>2];v[h+12>>2]=f;a:{if(b>>>0<=f>>>0){break a}b:{c:{d:{g=w[f|0];if((g|0)==91){j=93}else{if((g|0)!=123){break d}j=125}f=f+1|0;v[h+12>>2]=f;if(b>>>0<=f>>>0){break a}e:{if(d){c=(c|0)>0?c:0;while(1){Rg(h+12|0,b);g=v[h+12>>2];if(g>>>0>=b>>>0){f=g;break a}if(w[g|0]==(j|0)){break c}if((c|0)==(i|0)){f=g;i=c;break a}k=(i<<2)+d|0,l=pm(h+12|0,b,e),v[k>>2]=l;f=v[h+12>>2];if((g|0)==(f|0)){break e}i=i+1|0;if(b>>>0>f>>>0){continue}break}break a}while(1){Rg(h+12|0,b);g=v[h+12>>2];if(g>>>0>=b>>>0){f=g;break a}if(w[g|0]==(j|0)){break c}pm(h+12|0,b,e);f=v[h+12>>2];if((g|0)==(f|0)){break e}i=i+1|0;if(b>>>0>f>>>0){continue}break}break a}i=-1;f=g;break a}if(b>>>0<=f>>>0){break a}Rg(h+12|0,b);g=v[h+12>>2];if(g>>>0>=b>>>0){f=g;break a}if(!w[g|0]){break c}if(!d|(c|0)>=1){break b}f=g;break a}f=g+1|0;break a}k=d?d:h+8|0,l=pm(h+12|0,b,e),v[k>>2]=l;f=v[h+12>>2];i=(g|0)==(f|0)?-1:1}v[a>>2]=f;Qb=h+16|0;return i}function e6(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{d=v[a+584>>2];if(d){b:{c:{d:{e:{f:{g:{switch(b-292|0){default:h:{switch(b-34908|0){case 3:break c;case 2:break d;case 1:break e;case 0:break f;default:break h}}i:{switch(b-65536|0){case 0:v[v[c>>2]>>2]=v[d+4>>2];break a;case 4:break i;default:break b}}v[v[c>>2]>>2]=v[d+76>>2];break a;case 0:case 1:v[v[c>>2]>>2]=v[d+28>>2];break a;case 34:v[v[c>>2]>>2]=v[d+24>>2];break a;case 35:u[v[c>>2]>>1]=x[d+16>>1];break a;case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:break b;case 36:break g}}v[v[c>>2]>>2]=v[d+20>>2];break a}v[v[c>>2]>>2]=v[d+32>>2];break a}v[v[c>>2]>>2]=v[d+36>>2];break a}v[v[c>>2]>>2]=v[d+40>>2];break a}v[v[c>>2]>>2]=v[d+44>>2];break a}return Ub[v[d+48>>2]](a,b,c)|0}X(40584,7814,1223,86076);L()}return 1}function nla(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;a:{if((c|0)<1){break a}f=c-1|0;d=c&3;if(d){while(1){e=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=e;e=v[b+20>>2];v[a+16>>2]=v[b+16>>2];v[a+20>>2]=e;e=v[b+12>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=e;b=b+24|0;a=a+24|0;c=c-1|0;d=d-1|0;if(d){continue}break}}if(f>>>0<3){break a}while(1){d=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=d;d=v[b+20>>2];v[a+16>>2]=v[b+16>>2];v[a+20>>2]=d;d=v[b+12>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=d;d=v[b+44>>2];v[a+40>>2]=v[b+40>>2];v[a+44>>2]=d;d=v[b+36>>2];v[a+32>>2]=v[b+32>>2];v[a+36>>2]=d;d=v[b+28>>2];v[a+24>>2]=v[b+24>>2];v[a+28>>2]=d;f=b- -64|0;e=v[f+4>>2];d=a- -64|0;v[d>>2]=v[f>>2];v[d+4>>2]=e;d=v[b+60>>2];v[a+56>>2]=v[b+56>>2];v[a+60>>2]=d;d=v[b+52>>2];v[a+48>>2]=v[b+48>>2];v[a+52>>2]=d;d=v[b+76>>2];v[a+72>>2]=v[b+72>>2];v[a+76>>2]=d;d=v[b+84>>2];v[a+80>>2]=v[b+80>>2];v[a+84>>2]=d;d=v[b+92>>2];v[a+88>>2]=v[b+88>>2];v[a+92>>2]=d;b=b+96|0;a=a+96|0;d=(c|0)>4;c=c-4|0;if(d){continue}break}}}function Jhb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=v[a+12>>2];a:{b:{c:{if(y[b>>2]<=256){b=-1;e=v[c+8>>2];if(e&7){break b}b=v[c+64>>2];if(!((b|0)<0|(b|0)>v[c+60>>2])){break a}v[c+4>>2]=v[c+4>>2]|32;b=-1;e=v[c+28>>2];v[c+28>>2]=e-1;if((e|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=v[c+24>>2];v[c+24>>2]=b+1;t[b|0]=d;break c}if((Fc(c,d&255)|0)!=-1){break c}break b}b=-1;if(Gg(c,d)){break b}}b=-1;e=v[c+8>>2];if(e&7){break b}d=w[a+16|0];b=v[c+64>>2];if(!((b|0)<0|(b|0)>v[c+60>>2])){break a}v[c+4>>2]=v[c+4>>2]|32;b=-1;e=v[c+28>>2];v[c+28>>2]=e-1;d:{if((e|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=v[c+24>>2];v[c+24>>2]=b+1;t[b|0]=d;break d}if((Fc(c,d)|0)==-1){break b}}b=-1;d=v[c+8>>2];if(d&7){break b}a=w[a+17|0];b=v[c+64>>2];if(!((b|0)<0|(b|0)>v[c+60>>2])){v[c+8>>2]=d|4;return-1}v[c+4>>2]=v[c+4>>2]|32;b=-1;d=v[c+28>>2];v[c+28>>2]=d-1;e:{if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=v[c+24>>2];v[c+24>>2]=b+1;t[b|0]=a;break e}if((Fc(c,a)|0)==-1){break b}}b=0}return b|0}v[c+8>>2]=e|4;return-1}function Vv(a){var b=0,c=0;a:{if(w[a+460|0]|!(w[a+476|0]?1:w[a+496|0])){break a}b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{c=v[a+52>>2];if((c|0)<=12287){b=835;t:{switch(c|0){case 2:case 3:case 4:break a;case 5:break i;case 1:break o;case 0:break b;case 8:break c;case 7:break d;case 6:break g;default:break t}}switch(c-4096|0){case 1:break m;case 0:break s;case 6:break f;case 5:break h;default:break a}}if((c|0)<=36863){u:{switch(c-12288|0){case 1:break k;case 0:break q;default:break u}}if((c|0)==16390){break e}if((c|0)!=20480){break a}b=836;break b}v:{switch(c-36864|0){case 1:break l;case 0:break r;default:break v}}switch(c-45056|0){case 1:break j;case 0:break p;default:break n}}b=837;break b}b=838;break b}b=839;break b}b=840;break b}b=841;break b}if((c|0)!=65537){break a}b=842;break b}b=843;break b}b=844;break b}b=845;break b}b=846;break b}b=847;break b}b=848;break b}b=849;break b}b=850;break b}b=851;break b}b=852;break b}b=853}v[a+968>>2]=b}}function dNa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=v[a+4>>2];if(v[g+48>>2]>=8){a:{d=v[a+8>>2];f=v[a+12>>2];if(d>>>0>=f>>>0){v[b>>2]=8;break a}e=d+2|0;if(e>>>0>f>>>0){t[g+37|0]=w[d|0];t[v[a+4>>2]+36|0]=1;v[a+8>>2]=d+1;v[b>>2]=11;break a}c=w[d+1|0];h=w[d|0]|c<<8;if((c&248)!=216){v[a+8>>2]=e;return h|0}b:{c:{d:{if(c&4){break d}c=d+4|0;if(f>>>0>=c>>>0){f=w[d+3|0];if((f&252)!=220){break d}f=(w[e|0]|f<<8)+(h<<10)|0;if(f>>>0<=56613887){break c}v[a+8>>2]=c;return f-56613888|0}e=f-d|0;t[g+36|0]=e;c=g+37|0;g=f+(d^-1)|0;e=e&7;if(e){while(1){t[c|0]=w[d|0];c=c+1|0;d=d+1|0;e=e-1|0;if(e){continue}break}}e=11;if(g>>>0<7){c=f;break b}while(1){t[c|0]=w[d|0];t[c+1|0]=w[d+1|0];t[c+2|0]=w[d+2|0];t[c+3|0]=w[d+3|0];t[c+4|0]=w[d+4|0];t[c+5|0]=w[d+5|0];t[c+6|0]=w[d+6|0];t[c+7|0]=w[d+7|0];c=c+8|0;d=d+8|0;if((f|0)!=(d|0)){continue}break}c=f;break b}c=e}t[g+36|0]=2;t[g+37|0]=w[c-2|0];t[g+38|0]=w[c-1|0];e=12}v[b>>2]=e;v[a+8>>2]=c;return 65535}a=65535}else{a=-9}return a|0}function As(a,b,c){var d=0,e=0,f=0,g=0,h=0;h=v[c+12>>2];f=v[b+120>>2];if(f){Ub[f|0](v[b+116>>2])}while(1){f=v[b+84>>2];if(f){eA(f);continue}break}if(a){e=v[b+108>>2];if(e){while(1){f=v[e+4>>2];g=v[e+8>>2];d=v[g+8>>2];if(d){Ub[d|0](g)}d=v[v[c+12>>2]+60>>2];if(d){Ub[d|0](g)}d=v[g+40>>2];if(d){Ub[v[a+8>>2]](a,d)}v[g+40>>2]=0;Ub[v[a+8>>2]](a,g);Ub[v[a+8>>2]](a,e);e=f;if(e){continue}break}}v[b+108>>2]=0;v[b+112>>2]=0}e=0;v[b+88>>2]=0;c=v[b+48>>2];if(c){Ub[c|0](b)}if(v[b+36>>2]>=1){while(1){f=e<<2;g=v[f+v[b+40>>2]>>2];d=v[v[g>>2]+100>>2];c=v[v[g+12>>2]+8>>2];if(c){Ub[c|0](g)}Ub[v[d+8>>2]](d,g);v[f+v[b+40>>2]>>2]=0;e=e+1|0;if((e|0)>2]){continue}break}}c=v[b+40>>2];if(c){Ub[v[a+8>>2]](a,c)}v[b+36>>2]=0;v[b+40>>2]=0;c=v[h+52>>2];if(c){Ub[c|0](b)}d=v[b+104>>2];a:{if(!d){break a}f=v[b+8>>2];e=v[d+28>>2];c=v[d+24>>2];if(c){Ub[c|0](d)}if(f&1024){break a}Ub[v[e+8>>2]](e,d)}v[b+104>>2]=0;c=v[b+128>>2];if(c){Ub[v[a+8>>2]](a,c);v[b+128>>2]=0}Ub[v[a+8>>2]](a,b)}function DJa(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;g=Qb-48|0;Qb=g;e=1;a:{if(!b|!w[b|0]){break a}e=b;while(1){d=f;f=d+1|0;h=w[e+1|0];e=e+1|0;if(h){continue}break}f=0;e=1;if(!d|w[(b+d|0)-1|0]==58){break a}e=0;b:{if(!a){break b}d=v[a+36>>2];c:{if(v[d+4>>2]){break c}f=v[a+40>>2];if((f|0)<2){break c}d=v[(v[a+48>>2]+(f<<2)|0)-8>>2]}f=0;d:{if(w[1177020]){break d}if(!d){break b}f=v[d+28>>2];h=v[294239];j=v[259806];k=v[d+4>>2];if(k){v[g+36>>2]=f;v[g+32>>2]=k;Ub[j|0](h,346657,g+32|0);break d}v[g+16>>2]=f;Ub[j|0](h,346665,g+16|0)}f=d}Ub[v[259806]](v[294239],346601,0)}t[1177020]=e;e=150;d=Ub[v[259704]](150)|0;e:{if(!d){break e}h=-1;while(1){i=d;if((e|0)>63999){break e}v[g+44>>2]=c;d=Jl(i,e,b,c);if(!((d|0)<0|(d|0)>=(e|0))){j=(d|0)==(h|0);h=d;if(j){break e}}e=((d|0)>-1?d+1|0:100)+e|0;d=Ub[v[259709]](i,e)|0;if(d){continue}break}}v[g>>2]=i;Ub[v[259806]](v[294239],237306,g);if(i){Ub[v[259708]](i)}if(!(!a|!f)){ro(f,v[259806],v[294239])}Qb=g+48|0}function jta(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Qb-160|0;Qb=d;v[a+8>>2]=0;v[a>>2]=0;v[a+4>>2]=0;v[299999]=0;b=Y(4216,d+16|0,b|0,24)|0;e=v[299999];v[299999]=0;a:{if((e|0)!=1){v[d+8>>2]=0;v[d>>2]=0;v[d+4>>2]=0;while(1){v[299999]=0;e=Y(4217,b|0,d|0,c|0)|0;f=v[299999];v[299999]=0;b:{c:{d:{if((f|0)!=1){if(w[(e+v[v[e>>2]-12>>2]|0)+16|0]&5){break c}e=v[a+4>>2];if((e|0)!=v[a+8>>2]){if(t[d+11|0]>=0){f=v[d+4>>2];v[e>>2]=v[d>>2];v[e+4>>2]=f;v[e+8>>2]=v[d+8>>2];break b}v[299999]=0;U(2345,e|0,v[d>>2],v[d+4>>2]);f=v[299999];v[299999]=0;if((f|0)!=1){break b}c=P()|0;O()|0;v[a+4>>2]=e;break d}v[299999]=0;V(2652,a|0,d|0);e=v[299999];v[299999]=0;if((e|0)!=1){continue}}c=P()|0;O()|0}if(t[d+11|0]<=-1){dc(v[d>>2])}lf(Jx(b)- -64|0);break a}if(t[d+11|0]<=-1){dc(v[d>>2])}v[b+64>>2]=977544;v[b>>2]=977504;v[b+12>>2]=977356;v[b+8>>2]=977524;if(t[b+55|0]<=-1){dc(v[b+44>>2])}kh(b+12|0);lf(b- -64|0);Qb=d+160|0;return}v[a+4>>2]=e+12;continue}}c=P()|0;O()|0}Qg(a);T(c|0);L()}function OK(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=Qb+-64|0;Qb=c;a:{b:{c:{b=v[a+584>>2];if(!w[b+206|0]){d:{e:{if(x[a+98>>1]!=3){break e}switch(x[a+90>>1]-6|0){case 0:case 4:break d;default:break e}}if(w[b+207|0]){Ld(v[a+628>>2],86992,31620,0)}t[b+210|0]=0;u[b+208>>1]=257;break a}t[b+205|0]=1;t[b+206|0]=1;d=w[b+208|0];e=w[b+209|0];NK(a);g=w[b+210|0];if(g){break c}t[b+205|0]=0;f=w[b+208|0];if(g|(e|0)==w[b+209|0]?(f|0)==(d|0):0){break b}g=w[b+209|0];h=v[a+628>>2];if(!w[b+207|0]){v[c+36>>2]=g;v[c+32>>2]=f;Ld(h,86992,32694,c+32|0);break b}v[c+60>>2]=e;v[c+56>>2]=d;v[c+52>>2]=g;v[c+48>>2]=f;Ld(h,86992,34302,c+48|0);break b}X(30377,7087,943,86992);L()}u[b+208>>1]=257;t[b+205|0]=0}if(w[b+210|0]){f=v[a+628>>2];f:{if(!w[b+207|0]){Ld(f,86992,35828,0);break f}v[c+20>>2]=e;v[c+16>>2]=d;Ld(f,86992,37311,c+16|0)}if(w[b+210|0]){break a}}d=w[b+208|0];e=w[b+209|0];if(d>>>0>=e>>>0){break a}a=v[a+628>>2];v[c+4>>2]=e;v[c>>2]=d;Ld(a,86992,38901,c)}t[b+206|0]=1;Qb=c- -64|0}function PWa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;a:{e=v[a+316>>2];b:{if((e|0)<1){break b}b=v[a+472>>2]+v[b+4>>2]|0;f=w[b+150|0];g=f-1|0;h=v[d>>2];i=w[b+140|0];if(i){d=0;if(f>>>0>=2){while(1){k=h;l=d;m=h;n=d+1|0;o=g;e=v[a+112>>2];if((e|0)>=1){b=v[(d<<2)+h>>2];p=e+b|0;e=v[(j<<2)+c>>2];while(1){q=w[e|0];e=e+1|0;b=ic(b,q,i)+i|0;if(p>>>0>b>>>0){continue}break}e=v[a+112>>2]}rm(k,l,m,n,o,e);j=j+1|0;d=d+f|0;if((d|0)>2]){continue}break}break b}while(1){g=v[a+112>>2];if((g|0)>=1){b=v[(d<<2)+h>>2];g=g+b|0;e=v[(j<<2)+c>>2];while(1){k=w[e|0];e=e+1|0;b=ic(b,k,i)+i|0;if(g>>>0>b>>>0){continue}break}e=v[a+316>>2]}j=j+1|0;d=d+f|0;if((e|0)>(d|0)){continue}break}break b}if(f>>>0>=2){d=0;while(1){b=v[a+112>>2];if((b|0)>0){break a}rm(h,d,h,d+1|0,g,b);d=d+f|0;if((d|0)>2]){continue}break}break b}d=0;a=v[a+112>>2]<1;while(1){if(!a){break a}d=d+f|0;if((e|0)>(d|0)){continue}break}}return}while(1)continue}function dwa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=0;v[a+60>>2]=0;v[a+64>>2]=0;v[a+56>>2]=1;v[a+16>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;v[a+40>>2]=0;v[a+44>>2]=0;v[a+48>>2]=0;v[a+52>>2]=0;v[a+68>>2]=0;v[a+72>>2]=0;v[a+76>>2]=0;v[a+80>>2]=0;v[a+84>>2]=0;v[a+88>>2]=0;v[a+92>>2]=0;a=gc(a,b,96);b=v[v[294330]+40>>2];v[a+104>>2]=16;v[a+96>>2]=b;d=a,e=ed(16,4),v[d+100>>2]=e;ic(a+112|0,0,92);b=fc(16);v[299999]=0;S(3315,b|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){a:{v[a+204>>2]=b;b=fc(16);v[299999]=0;S(3315,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}v[a+208>>2]=b;b=fc(16);v[299999]=0;S(3315,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}v[a+212>>2]=b;b=fc(16);v[299999]=0;S(3315,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}v[a+220>>2]=0;v[a+224>>2]=0;v[a+216>>2]=b;v[a+228>>2]=0;v[a+232>>2]=0;v[a+236>>2]=0;v[a+240>>2]=0;v[a+244>>2]=0;return a|0}}a=P()|0;O()|0;dc(b);T(a|0);L()}function NM(a,b,c){var d=0,e=0;a:{b:{if(v[a+64>>2]){break b}d=224832;c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{e=c&-3;switch(e-1|0){case 4:case 20:break i;case 19:break j;case 8:case 24:break k;case 23:break m;case 7:break n;case 0:case 16:break o;case 15:break c;case 1:case 2:case 3:case 5:case 6:case 9:case 10:case 13:case 14:case 17:case 18:case 21:case 22:case 25:case 26:break d;case 12:case 28:break e;case 27:break g;case 11:break h;default:break p}}q:{switch(e-48|0){case 4:break j;case 0:break c;case 1:case 2:case 3:break d;default:break q}}switch(e-56|0){case 0:break l;case 4:break f;default:break d}}d=307187;break c}d=240511;break c}d=335749;break c}d=335746;break c}d=335756;break c}d=301006;break c}d=303033;break c}d=301722;break c}d=303068;break c}d=303064;break c}d=303072;break c}d=0}if(!d){break b}b=zh(b,d);v[a+64>>2]=b;if(!b){break b}v[a+88>>2]=c;if(!(c&2)){break a}if(!zg(b,0,2)){break a}Be(v[a+64>>2]);v[a+64>>2]=0}return 0}return a}function aEa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;c=v[a+28>>2];if(!v[c+492>>2]){c=-1;a=v[a+108>>2];a:{if(!a){break a}a=v[a+4>>2];if(v[a+8>>2]==13){break a}a=v[a+16>>2];c=Ub[v[v[a>>2]+52>>2]](a)|0}kc(1,c,222330,0);return}if(v[a+32>>2]){d=v[a+8>>2];Ub[v[v[d>>2]+156>>2]](d,c);v[a+32>>2]=0;c=v[a+28>>2]}A[c+560>>3]=v[b>>2]==1?+v[b+8>>2]:A[b+8>>3];g=A[b+24>>3];d=v[b+24>>2];h=v[b+16>>2];e=A[c+624>>3]-A[c+576>>3];A[c+624>>3]=e;f=A[c+616>>3];A[c+600>>3]=A[c+536>>3]+(f*A[c+504>>3]+e*A[c+520>>3]);A[c+552>>3]=(h|0)==1?+(d|0):g;A[c+608>>3]=A[c+544>>3]+(f*A[c+512>>3]+e*A[c+528>>3]);d=v[a+8>>2];Ub[v[v[d>>2]+176>>2]](d,c);c=v[a+8>>2];Ub[v[v[c>>2]+164>>2]](c,v[a+28>>2]);c=v[a+8>>2];Ub[v[v[c>>2]+184>>2]](c,v[a+28>>2]);if(v[a+100>>2]){c=v[a+8>>2];Ub[v[v[c>>2]+232>>2]](c,v[a+28>>2]);ny(a,v[b+40>>2]);b=v[a+8>>2];Ub[v[v[b>>2]+236>>2]](b,v[a+28>>2]);return}b=v[b+40>>2];c=v[a+8>>2];if(Ub[v[v[c>>2]+32>>2]](c)|0){a=v[a+8>>2];Ub[v[v[a>>2]+268>>2]](a,v[b>>2])}}function Iqa(a){a=a|0;var b=0,c=0,d=0,e=0;b=Qb-32|0;Qb=b;c=b+24|0;Pl(c,a);v[299999]=0;V(4503,b+16|0,c|0);c=v[299999];v[299999]=0;a:{b:{c:{if((c|0)!=1){v[299999]=0;c=v[b+16>>2];v[b+8>>2]=0;v[b+12>>2]=v[282402];d=Z(4504,c|0,b+8|0,0,0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break c}if((d|0)>=1){e=v[v[c>>2]+16>>2];v[299999]=0;c=S(e|0,c|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break c}v[a+84>>2]=(c+d|0)-4}ec(b+8|0);a=v[b+16>>2];v[b+16>>2]=0;d:{if(!a){break d}v[299999]=0;c=v[a+4>>2]-1|0;v[a+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break d}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}a=v[b+24>>2];v[b+24>>2]=0;e:{if(!a){break e}v[299999]=0;c=v[a+4>>2]-1|0;v[a+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break e}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Qb=b+32|0;return}a=P()|0;O()|0;break b}a=P()|0;O()|0;ec(b+8|0);ec(b+16|0)}ec(b+24|0);T(a|0);L()}W(0)|0;O()|0;lc();L()}function bja(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a>>2]=990196;v[a+4>>2]=0;u[a+12>>1]=c;u[a+10>>1]=c;u[a+8>>1]=b;a:{e=B(c&65535,b&65535);b:{if(!e){break b}v[299999]=0;b=S(15,(g=-1,h=Bib(e,0,3,0),i=Tb,i?g:h)|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}v[a+16>>2]=b;v[a+20>>2]=b;if(!d){break b}c=(b+B(e,3)|0)-3|0;f=w[d|0]|w[d+1|0]<<8;t[c|0]=f;t[c+1|0]=f>>>8;t[c+2|0]=w[d+2|0];if(e>>>0<2){break b}c=e-2|0;b=b+B(c,3)|0;f=w[d|0]|w[d+1|0]<<8;t[b|0]=f;t[b+1|0]=f>>>8;t[b+2|0]=w[d+2|0];if((e|0)==2){break b}while(1){b=c-1|0;e=v[a+20>>2]+B(b,3)|0;f=w[d|0]|w[d+1|0]<<8;t[e|0]=f;t[e+1|0]=f>>>8;t[e+2|0]=w[d+2|0];e=(c|0)>1;c=b;if(e){continue}break}}return a|0}b=W(0)|0;O()|0;ea(b|0)|0;b=v[a+20>>2];if(b){dc(b)}v[a+16>>2]=0;v[a+20>>2]=0;v[299999]=0;ba(4483);b=v[299999];v[299999]=0;c:{if((b|0)==1){b=P()|0;O()|0;v[299999]=0;ba(4230);c=v[299999];v[299999]=0;if((c|0)!=1){break c}W(0)|0;O()|0;lc()}L()}Qc(a);T(b|0);L()}function PXa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=Qb-336|0;Qb=d;i=v[a+100>>2];Ub[v[b+60>>2]](b,d+272|0,4,d+268|0);f=v[d+268>>2];a:{if((f|0)<0){c=162;break a}c=3;if(!f|(f|0)>4){break a}j=v[b+8>>2];k=v[b>>2];c=Pz(a,0,f);v[d+332>>2]=c;if(c){break a}if(v[d+268>>2]<1){c=0}else{l=v[a+532>>2];while(1){a=B(h,12);c=a+(d+272|0)|0;v[b>>2]=v[c>>2];v[b+8>>2]=v[c+4>>2];Ub[v[b+60>>2]](b,d+16|0,20,d+12|0);c=v[d+12>>2];if(c-1>>>0>=20){c=3;break a}a=a+l|0;f=a;if(v[a+92>>2]){c=3;v[d+332>>2]=3;break a}g=Cc(i,4,0,c<<1,0,d+332|0);v[f+92>>2]=g;c=v[d+332>>2];if(c){break a}e=v[d+12>>2];t[a+88|0]=e;v[a+96>>2]=g+(e<<2);c=0;if((e|0)>=1){while(1){e=(d+16|0)+B(c,12)|0;v[b>>2]=v[e>>2]+1;v[b+8>>2]=v[e+4>>2]-1;e=Ub[v[b+36>>2]](b)|0;g=c<<2;v[g+v[f+92>>2]>>2]=e;e=Ub[v[b+40>>2]](b,0)|0;v[g+v[a+96>>2]>>2]=e;c=c+1|0;if((c|0)>2]){continue}break}}h=h+1|0;if((h|0)>2]){continue}break}c=v[d+332>>2]}v[b+8>>2]=j;v[b>>2]=k}v[b+12>>2]=c;Qb=d+336|0}function uz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;if(!(!a|!d)){i=!c;a:{if((b|0)<=0){break a}k=a+b|0;while(1){g=w[a|0];if(!g){break a}b=0;b:{c:{d:{e:{if(a>>>0>>0){l=0;h=0;while(1){f=g<<24>>24;e=f-65|0;f:{if(e>>>0<26){break f}if(f-97>>>0<=25){e=f-71|0;break f}if(f-48>>>0<=9){e=f+4|0;break f}e=g&255;e=(e|0)==43?62:(e|0)==47?63:-1}f=(e|0)==-1;b=f?b:b+6|0;h=f?h:h<<6|e;a=a+1|0;l=(l-f|0)+1|0;if(!(k>>>0<=a>>>0|(l|0)>3)){g=w[a|0];continue}break}if(!i){break e}e=(b|0)/8|0;i=1;if((b|0)<=7){break b}break d}if(i){i=1;break b}h=0}e=(b|0)/8|0;f=j+e|0;g=v[d>>2];i=(f|0)>(g|0);if((b|0)<=7){break b}if((f|0)<=(g|0)){break c}}j=e+j|0;break b}g=e&3;b=h<<24-b;g:{if(e-1>>>0<3){e=b;break g}h=e&-4;while(1){e=0;t[c+3|0]=0;t[c+2|0]=b;t[c+1|0]=b>>>8;t[c|0]=b>>>16;c=c+4|0;b=0;h=h-4|0;if(h){continue}break}}if(g){while(1){t[c|0]=e>>>16;e=e<<8;c=c+1|0;g=g-1|0;if(g){continue}break}}j=f}if(a>>>0>>0){continue}break}}v[d>>2]=j;e=!i}return e|0}function sT(a,b,c,d){var e=0,f=0,g=0;e=Qb-112|0;Qb=e;v[e+96>>2]=13;v[e+80>>2]=13;v[e+64>>2]=13;v[e+48>>2]=13;v[e+32>>2]=13;v[e+16>>2]=13;v[e>>2]=13;a:{if(v[rc(v[b+8>>2],236677,e+96|0,0)>>2]==6){while(1){a=v[e+104>>2];if(v[a+12>>2]>(f|0)){b=0;if(v[yc(a,f,e+80|0,0)>>2]==3){a=Rf(c,v[e+88>>2]);if(!a){yc(v[e+104>>2],f|1,d,0);hc(e+80|0);hc(e+96|0);break a}b=a>>>31|0}f=f+2|0;hc(e+80|0);if(!b){continue}}break}hc(e+96|0);v[d>>2]=5;break a}hc(e+96|0);b:{if(v[rc(v[b+8>>2],236947,e- -64|0,0)>>2]!=6){break b}while(1){g=v[e+72>>2];if(v[g+12>>2]<=(f|0)){break b}b=0;if(v[yc(g,f,e+48|0,0)>>2]==7){if(v[rc(v[e+56>>2],234651,e+32|0,0)>>2]==6){c:{if(v[yc(v[e+40>>2],0,e+16|0,0)>>2]!=3){break c}if((Rf(c,v[e+24>>2])|0)<0){break c}b=0;d:{if(v[yc(v[e+40>>2],1,e,0)>>2]!=3){break d}b=0;if((Rf(c,v[e+8>>2])|0)>0){break d}sT(a,e+48|0,c,d);b=1}hc(e)}hc(e+16|0)}hc(e+32|0)}f=f+1|0;hc(e+48|0);if(!b){continue}break}hc(e- -64|0);break a}hc(e- -64|0);v[d>>2]=5}Qb=e+112|0;return d}function P7(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=C(0),l=C(0),m=C(0),n=0,o=0;if((c|0)>=1){a=v[a+12>>2];while(1){m=C(0);f=v[a>>2];g=f>>16;e=g&32767;a:{if(!e){l=C(0);k=C(0);break a}l=C(0);d=wp((+(e|0)+.5)*.0027076061740622863+-44.3614195558365);d=g&32768?-d:d;k=C(0);if(d<=0){break a}i=(+((f>>>8&255)>>>0)+.5)*.0024390243902439024;j=(+((f&255)>>>0)+.5)*.0024390243902439024;h=1/(i*6+j*-16+12);i=i*9*h;h=j*4*h;l=C(d*(i/h));m=C(d*((1-i-h)/h));k=C(d)}d=+l;h=+k;n=d*.061+h*-.224;i=+m;o=i*1.163;f=b;j=d*2.69+h*-1.276+i*-.414;if(j<=0){e=0}else{e=j>=1;j=K(j)*256;b:{if(D(j)<2147483648){g=~~j;break b}g=-2147483648}e=e?-1:g}t[f|0]=e;f=b;d=i*.044+(h*1.978+d*-1.022);if(d<=0){e=0}else{e=d>=1;d=K(d)*256;c:{if(D(d)<2147483648){g=~~d;break c}g=-2147483648}e=e?-1:g}t[f+1|0]=e;a=a+4|0;f=b;d=o+n;if(d<=0){e=0}else{e=d>=1;d=K(d)*256;d:{if(D(d)<2147483648){g=~~d;break d}g=-2147483648}e=e?-1:g}t[f+2|0]=e;b=b+3|0;f=(c|0)>1;c=c-1|0;if(f){continue}break}}}function iNa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=-9;h=v[a+4>>2];if(v[h+48>>2]>=8){c=v[a+8>>2];g=v[a+12>>2];if(c>>>0>=g>>>0){v[b>>2]=8;return 65535}e=c+2|0;if(g>>>0>>0){t[h+37|0]=w[c|0];t[v[a+4>>2]+36|0]=1;v[a+8>>2]=c+1;v[b>>2]=11;return 65535}f=w[c|0];d=w[c+1|0]|f<<8;a:{if((f&248)!=216){break a}b:{c:{d:{e:{if(f&4){break e}f=c+4|0;if(f>>>0>g>>>0){break d}g=w[e|0];if((g&252)!=220){break e}e=(w[c+3|0]|g<<8)+(d<<10)|0;if(e>>>0>56613887){break c}e=f}t[h+36|0]=2;t[h+37|0]=w[e-2|0];t[h+38|0]=w[e-1|0];f=12;break b}e=g-c|0;t[h+36|0]=e;d=h+37|0;h=g+(c^-1)|0;f=e&7;if(f){while(1){t[d|0]=w[c|0];d=d+1|0;c=c+1|0;f=f-1|0;if(f){continue}break}}f=11;if(h>>>0<7){e=g;break b}while(1){t[d|0]=w[c|0];t[d+1|0]=w[c+1|0];t[d+2|0]=w[c+2|0];t[d+3|0]=w[c+3|0];t[d+4|0]=w[c+4|0];t[d+5|0]=w[c+5|0];t[d+6|0]=w[c+6|0];t[d+7|0]=w[c+7|0];d=d+8|0;c=c+8|0;if((g|0)!=(c|0)){continue}break}e=g;break b}d=e-56613888|0;e=f;break a}v[b>>2]=f;d=65535}v[a+8>>2]=e}return d|0}function aH(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;v[a+8>>2]=0;v[a>>2]=0;v[a+4>>2]=0;c=v[b+4>>2]-v[b>>2]|0;e=(c|0)/12|0;a:{b:{c:{d:{e:{if(c){if(e>>>0>=357913942){v[299999]=0;R(2185,a|0);b=v[299999];v[299999]=0;if((b|0)==1){break c}break a}v[299999]=0;c=S(1,c|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break c}v[a>>2]=c;v[a+4>>2]=c;v[a+8>>2]=B(e,12)+c;d=v[b>>2];g=v[b+4>>2];if((d|0)!=(g|0)){while(1){v[c+8>>2]=0;v[c>>2]=0;v[c+4>>2]=0;e=v[d+4>>2]-v[d>>2]|0;if(e){if((e|0)<=-1){v[299999]=0;R(2185,c|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}d=P()|0;O()|0;b=v[c>>2];if(!b){break d}v[c+4>>2]=b;dc(b);v[a+4>>2]=c;break b}v[299999]=0;b=S(1,e|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break e}v[c>>2]=b;v[c+4>>2]=b;v[c+8>>2]=b+(e>>3<<3);e=c;h=v[d>>2];f=v[d+4>>2]-h|0;if((f|0)>=1){b=gc(b,h,f)+f|0}v[e+4>>2]=b}c=c+12|0;d=d+12|0;if((g|0)!=(d|0)){continue}break}}v[a+4>>2]=c}return a|0}d=P()|0;O()|0}v[a+4>>2]=c;break b}d=P()|0;O()|0}Vh(a);T(d|0);L()}L()}function SX(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;v[a+8>>2]=0;v[a>>2]=0;v[a+4>>2]=0;c=v[b+4>>2]-v[b>>2]|0;e=(c|0)/12|0;a:{b:{c:{d:{e:{if(c){if(e>>>0>=357913942){v[299999]=0;R(2185,a|0);b=v[299999];v[299999]=0;if((b|0)==1){break c}break a}v[299999]=0;c=S(1,c|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break c}v[a>>2]=c;v[a+4>>2]=c;v[a+8>>2]=B(e,12)+c;d=v[b>>2];g=v[b+4>>2];if((d|0)!=(g|0)){while(1){v[c+8>>2]=0;v[c>>2]=0;v[c+4>>2]=0;e=v[d+4>>2]-v[d>>2]|0;if(e){if((e|0)<=-1){v[299999]=0;R(2185,c|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}d=P()|0;O()|0;b=v[c>>2];if(!b){break d}v[c+4>>2]=b;dc(b);v[a+4>>2]=c;break b}v[299999]=0;b=S(1,e|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break e}v[c>>2]=b;v[c+4>>2]=b;v[c+8>>2]=b+(e>>2<<2);e=c;h=v[d>>2];f=v[d+4>>2]-h|0;if((f|0)>=1){b=gc(b,h,f)+f|0}v[e+4>>2]=b}c=c+12|0;d=d+12|0;if((g|0)!=(d|0)){continue}break}}v[a+4>>2]=c}return a|0}d=P()|0;O()|0}v[a+4>>2]=c;break b}d=P()|0;O()|0}Vh(a);T(d|0);L()}L()}function R$(a,b,c,d,e,f,g,h){var i=0,j=0,k=0;a:{b:{k=(B(d,f)<<2)+a|0;i=(e|0)/32|0;c:{if(!v[k+(i<<2)>>2]){break c}j=(((i<<5)-e|0)+e|0)+31|0;if((j|0)<(e|0)|(b|0)<=(e|0)){break c}while(1){if(v[k+(e>>5<<2)>>2]>>>(e^-1)&1){break b}if((e|0)>=(j|0)){break c}e=e+1|0;if((e|0)<(b|0)){continue}break}}i=i+1|0;e=i<<5;if((e|0)<(b|0)){i=k+(i<<2)|0;while(1){d:{if(!v[i>>2]){break d}j=0;if((b|0)<=(e|0)){break d}while(1){if(v[k+(e>>5<<2)>>2]>>>(e^-1)&1){break b}e=e+1|0;if(j>>>0>30){break d}j=j+1|0;if((b|0)>(e|0)){continue}break}}i=i+4|0;e=e+32|0;if((e|0)<(b|0)){continue}break}}e=0;f=f+1|0;if((b|0)<1|(f|0)>=(c|0)){break a}while(1){k=(B(d,f)<<2)+a|0;i=k;while(1){e:{if(!v[i>>2]){break e}j=0;if((b|0)<=(e|0)){break e}while(1){if(v[k+(e>>5<<2)>>2]>>>(e^-1)&1){break b}e=e+1|0;if(j>>>0>30){break e}j=j+1|0;if((b|0)>(e|0)){continue}break}}i=i+4|0;e=e+32|0;if((e|0)<(b|0)){continue}break}e=0;f=f+1|0;if((f|0)!=(c|0)){continue}break}break a}v[g>>2]=e;v[h>>2]=f;e=1}return e}function CE(a){var b=0,c=0;c=v[a+4>>2];if(v[a>>2]==255){if(c>>>0>=144){if(!v[a+36>>2]){v[a+16>>2]=8;return}v[a>>2]=c;b=v[a+40>>2];a:{if((b|0)>=0){v[a+40>>2]=-1;break a}b=v[a+32>>2];v[a+32>>2]=b-1;if((b|0)<1){b=255;break a}v[a+28>>2]=v[a+28>>2]+1;b=v[a+24>>2];b=Ub[v[v[b>>2]+28>>2]](b)&255;c=v[a>>2]}v[a+4>>2]=b;v[a+8>>2]=(v[a+8>>2]-(c<<8)|0)+65280;v[a+16>>2]=8;return}v[a>>2]=c;b:{c:{if(!v[a+36>>2]){break c}b=v[a+40>>2];if((b|0)>=0){v[a+40>>2]=-1;break b}b=v[a+32>>2];v[a+32>>2]=b-1;if((b|0)>=1){break c}b=255;break b}v[a+28>>2]=v[a+28>>2]+1;b=v[a+24>>2];b=Ub[v[v[b>>2]+28>>2]](b)&255;c=v[a>>2]}v[a+4>>2]=b;v[a+8>>2]=(v[a+8>>2]-(c<<9)|0)+65024;v[a+16>>2]=7;return}v[a>>2]=c;d:{e:{if(!v[a+36>>2]){break e}b=v[a+40>>2];if((b|0)>=0){v[a+40>>2]=-1;break d}b=v[a+32>>2];v[a+32>>2]=b-1;if((b|0)>=1){break e}b=255;break d}v[a+28>>2]=v[a+28>>2]+1;b=v[a+24>>2];b=Ub[v[v[b>>2]+28>>2]](b)&255;c=v[a>>2]}v[a+4>>2]=b;v[a+8>>2]=(v[a+8>>2]-(c<<8)|0)+65280;v[a+16>>2]=8}function pNa(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;f=v[a+16>>2];j=v[a+20>>2]-f|0;a:{h=v[b+4>>2];d=v[h+44>>2];e=v[b+8>>2];i=v[b+12>>2];if(!(!d|e>>>0>=i>>>0)){if(!j){v[c>>2]=15;return}if((d&-2)!=194){break a}g=w[e|0]^-128;if((g&255)>>>0>63){break a}t[f|0]=g|d<<6;t[h+36|0]=0;v[h+44>>2]=0;j=j-1|0;f=f+1|0;e=e+1|0}if(e>>>0>>0){d=i-1|0;i=(w[d|0]- -64&255)>>>0<62?d:i}b:{c:{d:{e:{f:{if(e>>>0>>0){while(1){if((j|0)<1){break e}d=e+1|0;g=t[e|0];if(!((g|0)>-1)){if((g&-2)!=-62){break f}d=w[d|0]^-128;if((d&255)>>>0>63){break f}g=d|g<<6;d=e+2|0}e=d;t[f|0]=g;f=f+1|0;j=j-1|0;if(e>>>0>>0){continue}break}}if(y[b+12>>2]<=e>>>0|v[c>>2]>0){break b}c=w[e|0];v[h+44>>2]=c;t[h+37|0]=c;t[h+36|0]=1;if(c>>>0>239){break d}d=(c>>>0>191)+(c>>>0>223)|0;break c}v[b+8>>2]=e;v[a+16>>2]=f;v[c>>2]=-127;return}v[c>>2]=15;break b}d=0;if(c>>>0>253){break c}d=(c>>>0>251)+(c>>>0>247?4:3)|0}e=e+1|0;v[h+48>>2]=d+1}v[b+8>>2]=e;v[a+16>>2]=f;return}v[c>>2]=-127}function NA(a){var b=0,c=0,d=0,e=0;a:{b:{if(!v[a+1116>>2]){break b}c:{if(w[a+460|0]|!w[a+496|0]){break c}d=v[a+564>>2];b=v[a+560>>2];if(d>>>0<=b>>>0){break c}e=v[a+556>>2];c=v[a+552>>2];if(e>>>0<=c>>>0){break c}if(Ub[v[a+232>>2]](a,c,b,e-c|0,d-b|0)|0){break c}pc(a,904,0,0);return 904}v[a+552>>2]=0;v[a+556>>2]=0;c=0;t[a+502|0]=0;v[a+560>>2]=0;v[a+564>>2]=0;d:{if(!w[a+504|0]){break d}b=v[a+508>>2]+1|0;v[a+508>>2]=b;if(b>>>0<2){break d}t[a+496|0]=0;v[a+516>>2]=0;return 0}b=v[a+236>>2];if(b){b=Ub[b|0](a)|0;v[a+480>>2]=b-v[a+488>>2];c=b-v[a+484>>2]|0}e=v[a+1116>>2];d=v[a+24>>2];e:{if(!d){d=1e3;b=1;if(v[a+12>>2]!=2){break e}}b=v[a+120>>2]-1|0;if(b>>>0<=2){b=v[(b<<2)+192936>>2]}else{b=1e3}b=(B(b,e)>>>0)/(d>>>0)|0}if(w[a+460|0]|!w[a+496|0]){break b}c=b>>>0>c>>>0?b-c|0:1;if(!(Ub[v[a+240>>2]](a,c?c:1)|0)){break a}if(!w[a+496|0]){break b}t[a+497|0]=1}if(!w[a+460|0]){v[a+444>>2]=v[a+444>>2]+b}v[a+1116>>2]=v[a+1144>>2];return 0}pc(a,902,0,0);return 902}function Ej(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;k=Qb-32|0;t[k+23|0]=0;f=d>>31;f=f+d^f;e=k+23|0;m=c-1|0;n=(c|0)!=5;j=1;c=0;while(1){if(!(!f&(c|0)>=(j|0))){g=0;a:{b:{c:{d:{switch(m|0){case 4:g=(f>>>0)%10|0;j=g|l;l=0;if(j){e=e-1|0;h=w[g+74400|0];t[e|0]=h;l=1}g=(f>>>0)/10|0;j=5;default:c=c+1|0;if(!n){break b}i=g;break a;case 1:j=2;case 0:e=e-1|0;g=(f>>>0)/10|0;h=w[(f-B(g,10)|0)+74400|0];t[e|0]=h;break c;case 3:j=2;break;case 2:break d}}e=e-1|0;h=w[(f&15)+74400|0];t[e|0]=h;g=f>>>4|0}c=c+1|0;i=g;break a}i=g;if((c|0)!=5){break a}i=g;if(e>>>0<=k>>>0){break a}if(l){h=46;e=e-1|0;t[e|0]=46;c=5;i=g;break a}l=0;c=5;f=g;i=f;if(f){break a}h=48;e=e-1|0;t[e|0]=48;i=0}f=i;if(e>>>0>k>>>0){continue}}break}if(!(e>>>0<=k>>>0|(d|0)>-1)){e=e-1|0;t[e|0]=45;h=45}b=b-1|0;if(!(!a|b>>>0>7)){c=0;e:{if(!e|!h){break e}d=(b<<5)+a|0;f=0;while(1){t[d+f|0]=h;c=f+1|0;h=w[e+1|0];if(!h){break e}e=e+1|0;g=f>>>0<30;f=c;if(g){continue}break}}t[((b<<5)+a|0)+c|0]=0}}function v8(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;a=Qb-16|0;Qb=a;v[a+12>>2]=c;v[a+8>>2]=f;v[a+12>>2]=c;v[a+8>>2]=f;b=v[a+12>>2];a:{while(1){if(b>>>0>=d>>>0){c=0;break a}c=2;b=v[b>>2];if((b&-2048)==55296|b>>>0>1114111){break a}b:{c:{if(b>>>0<=127){c=1;f=v[a+8>>2];if((g-f|0)<1){break a}v[a+8>>2]=f+1;t[f|0]=b;break c}if(b>>>0<=2047){c=v[a+8>>2];if((g-c|0)<2){break b}v[a+8>>2]=c+1;t[c|0]=b>>>6|192;c=v[a+8>>2];v[a+8>>2]=c+1;t[c|0]=b&63|128;break c}c=v[a+8>>2];f=g-c|0;if(b>>>0<=65535){if((f|0)<3){break b}v[a+8>>2]=c+1;t[c|0]=b>>>12|224;c=v[a+8>>2];v[a+8>>2]=c+1;t[c|0]=b>>>6&63|128;c=v[a+8>>2];v[a+8>>2]=c+1;t[c|0]=b&63|128;break c}if((f|0)<4){break b}v[a+8>>2]=c+1;t[c|0]=b>>>18|240;c=v[a+8>>2];v[a+8>>2]=c+1;t[c|0]=b>>>12&63|128;c=v[a+8>>2];v[a+8>>2]=c+1;t[c|0]=b>>>6&63|128;c=v[a+8>>2];v[a+8>>2]=c+1;t[c|0]=b&63|128}b=v[a+12>>2]+4|0;v[a+12>>2]=b;continue}break}c=1}v[e>>2]=v[a+12>>2];v[h>>2]=v[a+8>>2];Qb=a+16|0;return c|0}function q$a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;a:{if((d|0)<1){break a}h=v[a+112>>2];if(!h){break a}i=v[a+120>>2];if((i|0)<=0){b=d&3;if(d-1>>>0>=3){f=d&-4;while(1){a=e<<2;ic(v[a+c>>2],0,h);ic(v[(a|4)+c>>2],0,h);ic(v[(a|8)+c>>2],0,h);ic(v[(a|12)+c>>2],0,h);e=e+4|0;f=f-4|0;if(f){continue}break}}if(!b){break a}while(1){ic(v[(e<<2)+c>>2],0,h);e=e+1|0;b=b-1|0;if(b){continue}break}break a}j=v[v[a+480>>2]+24>>2];o=i&-4;p=i&3;q=i-1>>>0<3;while(1){a=k<<2;l=v[a+c>>2];m=v[a+b>>2];n=h;while(1){f=0;a=0;e=m;g=o;if(!q){while(1){r=f;f=a<<2;f=(((r+w[v[f+j>>2]+w[e|0]|0]|0)+w[v[(f|4)+j>>2]+w[e+1|0]|0]|0)+w[v[(f|8)+j>>2]+w[e+2|0]|0]|0)+w[v[(f|12)+j>>2]+w[e+3|0]|0]|0;a=a+4|0;e=e+4|0;g=g-4|0;if(g){continue}break}}g=p;if(g){while(1){f=w[v[(a<<2)+j>>2]+w[e|0]|0]+f|0;a=a+1|0;e=e+1|0;g=g-1|0;if(g){continue}break}}t[l|0]=f;l=l+1|0;m=i+m|0;n=n-1|0;if(n){continue}break}k=k+1|0;if((k|0)!=(d|0)){continue}break}}}function Ne(a){var b=0,c=0,d=0,e=0;c=v[a+144>>2];if(c){b=v[a+148>>2];if((c|0)==(b|0)){b=c}else{while(1){e=b-12|0;d=v[e>>2];if(d){v[b-8>>2]=d;dc(d)}b=e;if((c|0)!=(b|0)){continue}break}b=v[a+144>>2]}v[a+148>>2]=c;dc(b)}c=v[a+132>>2];if(c){b=v[a+136>>2];if((c|0)==(b|0)){b=c}else{while(1){e=b-12|0;d=v[e>>2];if(d){v[b-8>>2]=d;dc(d)}b=e;if((c|0)!=(b|0)){continue}break}b=v[a+132>>2]}v[a+136>>2]=c;dc(b)}c=v[a+120>>2];if(c){b=v[a+124>>2];if((c|0)==(b|0)){b=c}else{while(1){e=b-12|0;d=v[e>>2];if(d){v[b-8>>2]=d;dc(d)}b=e;if((c|0)!=(b|0)){continue}break}b=v[a+120>>2]}v[a+124>>2]=c;dc(b)}b=v[a+108>>2];if(b){v[a+112>>2]=b;dc(b)}b=v[a+96>>2];if(b){v[a+100>>2]=b;dc(b)}b=v[a+84>>2];if(b){v[a+88>>2]=b;dc(b)}b=v[a+52>>2];if(b){v[a+56>>2]=b;dc(b)}b=v[a+40>>2];if(b){v[a+44>>2]=b;dc(b)}c=v[a+12>>2];if(c){b=v[a+16>>2];if((c|0)==(b|0)){b=c}else{while(1){e=b-12|0;d=v[e>>2];if(d){v[b-8>>2]=d;dc(d)}b=e;if((c|0)!=(b|0)){continue}break}b=v[a+12>>2]}v[a+16>>2]=c;dc(b)}}function ena(a,b){a=a|0;b=b|0;var c=0,d=0;c=Qb-32|0;Qb=c;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;d=c+16|0;v[d>>2]=983300;v[d+4>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[299999]=0;$(4865,c+8|0,a|0,d|0,0);a=v[299999];v[299999]=0;if((a|0)==1){a=P()|0;O()|0;Ic(d);T(a|0);L()}Ic(d);a:{a=v[c+8>>2];if(a){d=v[v[a>>2]+20>>2];v[299999]=0;Z(d|0,a|0,0,0,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break a}a=v[v[b>>2]+16>>2];v[299999]=0;a=S(a|0,b|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(a){a=v[v[b>>2]+12>>2];v[299999]=0;Y(a|0,b|0,358460,1)|0;a=v[299999];v[299999]=0;if((a|0)==1){break a}}v[299999]=0;Y(4604,b|0,v[c+8>>2],0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break a}a=v[c+8>>2]}v[c+8>>2]=0;b:{if(!a){break b}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;d=v[299999];v[299999]=0;if((d|0)!=1){if(b){break b}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}}W(0)|0;O()|0;lc();L()}Qb=c+32|0;return}a=P()|0;O()|0;ec(c+8|0);T(a|0);L()}function mza(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;d=Qb-48|0;Qb=d;v[d+32>>2]=13;v[d+16>>2]=13;v[d>>2]=13;v[a>>2]=0;v[a+4>>2]=0;a:{if(v[b>>2]!=6){break a}e=v[b+8>>2];if(v[e+12>>2]<1){break a}while(1){if(v[yc(e,h,d+32|0,0)>>2]==7){rc(v[d+40>>2],278827,d+16|0,0);rc(v[d+40>>2],310489,d,0);b:{if(v[d+16>>2]!=4){break b}e=v[d+24>>2];c:{if(!mc(e,262598)){break c}if(mc(e,233506)){break b}d:{switch(v[d>>2]-4|0){case 1:break c;case 0:break d;default:break b}}if(mc(v[d+8>>2],244717)){break b}}e=fc(40);v[299999]=0;f=Y(3747,e|0,v[d+40>>2],c|0)|0;g=v[299999];v[299999]=0;e:{f:{g:{if((g|0)!=1){if(!v[f+36>>2]){break e}f=v[a+4>>2];if((i|0)<=(f|0)){break g}g=v[a>>2];break f}a=P()|0;O()|0;dc(e);T(a|0);L()}i=i+16|0;g=pd(v[a>>2],i,4);v[a>>2]=g;f=v[a+4>>2]}v[a+4>>2]=f+1;v[(f<<2)+g>>2]=e;break b}f=v[f+32>>2];if(f){Ub[v[v[f>>2]+4>>2]](f)}dc(e)}hc(d);hc(d+16|0)}hc(d+32|0);h=h+1|0;e=v[b+8>>2];if((h|0)>2]){continue}break}}Qb=d+48|0;return a|0}function VO(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=v[v[b+12>>2]+((c>>>0)%y[b+8>>2]<<2)>>2];a:{if(e){while(1){if(v[e+12>>2]==(c|0)&v[e+16>>2]==(c|0)){break a}e=v[e+8>>2];if(e){continue}break}}e=fc(24);v[e>>2]=0;v[e+4>>2]=0;v[e+20>>2]=0;v[e+16>>2]=c;v[e+12>>2]=c;v[e+8>>2]=0;gk(b,e)}v[e+20>>2]=d;f=a+8|0;e=f;e=v[v[e+12>>2]+((c>>>0)%y[e+8>>2]<<2)>>2];b:{if(!e){break b}while(1){if(!(v[e+12>>2]==(c|0)&v[e+16>>2]==(c|0))){e=v[e+8>>2];if(e){continue}break b}break}e=v[v[f+12>>2]+((c>>>0)%y[f+8>>2]<<2)>>2];c:{if(e){while(1){if(v[e+12>>2]==(c|0)&v[e+16>>2]==(c|0)){break c}e=v[e+8>>2];if(e){continue}break}}e=fc(24);v[e>>2]=0;v[e+4>>2]=0;v[e+20>>2]=0;v[e+16>>2]=c;v[e+12>>2]=c;v[e+8>>2]=0;gk(f,e)}c=v[v[e+20>>2]+8>>2];if(!c){break b}f=d+1|0;while(1){d=v[c+8>>2];e=v[v[b+12>>2]+((d>>>0)%y[b+8>>2]<<2)>>2];d:{if(e){while(1){if((d|0)==v[e+12>>2]&(d|0)==v[e+16>>2]){break d}e=v[e+8>>2];if(e){continue}break}}VO(a,b,d,f)}c=v[c>>2];if(c){continue}break}}}function Fja(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;v[a+8>>2]=0;v[a>>2]=989420;v[a+4>>2]=0;v[a+12>>2]=v[282402];v[299999]=0;Q(4340,a+16|0,989342)|0;c=v[299999];v[299999]=0;if((c|0)!=1){v[a+24>>2]=0;c=v[282402];t[a+88|0]=0;v[a+68>>2]=1;u[a+64>>1]=0;v[a+60>>2]=0;u[a+56>>1]=0;v[a+48>>2]=-1;v[a+52>>2]=50;v[a+40>>2]=255;v[a+44>>2]=1;t[a+36|0]=0;v[a+32>>2]=0;v[a+28>>2]=c;v[a>>2]=989904;e=v[b>>2];v[a+124>>2]=e;d=v[b+4>>2];v[a+128>>2]=d;c=v[b+8>>2];v[a+132>>2]=c;g=v[b+12>>2];b=(c-e|0)/2|0;v[a+100>>2]=b;v[a+136>>2]=g;f=(g-d|0)/2|0;v[a+104>>2]=f;e=(c+e|0)/2|0;h=(d+g|0)/2|0;a:{if((b|0)>(f|0)){c=e;i=K(+(B(b,b)-B(f,f)|0));b:{if(D(i)<2147483648){d=~~i;break b}d=-2147483648}g=c-d|0;e=e+d|0;c=f;d=h;break a}i=K(+(B(f,f)-B(b,b)|0));c:{if(D(i)<2147483648){j=~~i;break c}j=-2147483648}d=j+h|0;c=b;b=f;g=e;h=h-j|0}v[a+120>>2]=h;v[a+116>>2]=g;v[a+108>>2]=e;v[a+92>>2]=b;v[a+96>>2]=c;v[a+112>>2]=d;return a|0}b=P()|0;O()|0;ec(a+8|0);Qc(a);T(b|0);L()}function YF(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,h=0,i=0;g=Qb-48|0;Qb=g;a:{if(!a){break a}b:{switch(v[a+216>>2]-1|0){case 0:c=qV(v[a+8>>2],b,c,d,e,f);if(!c){if(!v[a+268>>2]|(v[a+172>>2]==-1?v[a+212>>2]:0)){break a}v[a+84>>2]=107;v[g+16>>2]=b;oc(0,0,0,a,0,1,107,1,b,0,0,0,348847,g+16|0);break a}if(v[c+64>>2]|!e){break a}b=v[a+36>>2];c:{if(b){b=v[b+4>>2];if(b){break c}}b=v[a+180>>2]}h=c,i=as(e,b),v[h+64>>2]=i;break a;case 1:c=tV(v[a+8>>2],b,c,d,e,f);if(!c){if(!v[a+268>>2]){break a}c=v[a>>2];if(!c){break a}c=v[c+84>>2];if(!c){break a}a=v[a+4>>2];v[g+32>>2]=b;Ub[c|0](a,348734,g+32|0);break a}if(v[c+64>>2]|!e){break a}b=v[a+36>>2];d:{if(b){b=v[b+4>>2];if(b){break d}}b=v[a+180>>2]}h=c,i=as(e,b),v[h+64>>2]=i;break a;default:break b}}if(v[a+172>>2]==-1?v[a+212>>2]:0){break a}v[a+84>>2]=104;v[g+4>>2]=0;v[g>>2]=b;oc(0,0,0,a,0,1,104,3,b,0,0,0,348381,g);v[a+100>>2]=0;v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1}Qb=g+48|0}function HCa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=Qb-48|0;Qb=e;v[a+88>>2]=13;v[a+72>>2]=13;v[a+56>>2]=13;v[a+40>>2]=13;v[a+24>>2]=13;v[a+8>>2]=13;v[e+32>>2]=13;v[e+16>>2]=13;a:{b:{if(c){v[a>>2]=1;v[a+4>>2]=0;Ce(c,228507,e+32|0);c:{d:{switch(v[e+32>>2]-7|0){case 2:qf(e+32|0,b,e+16|0,0);if(v[e+16>>2]==7){f=v[e+44>>2];v[e+8>>2]=v[e+40>>2];v[e+12>>2]=f;f=fc(8);v[299999]=0;Z(3319,f|0,b|0,e+8|0,v[e+24>>2])|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}v[a+4>>2]=f}hc(e+16|0);break c;case 0:break d;default:break c}}f=fc(8);v[299999]=0;Z(3319,f|0,b|0,0,v[e+40>>2])|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}v[a+4>>2]=f}hc(e+32|0);rc(c,233927,a+8|0,0);rc(c,286569,a+24|0,0);rc(c,245536,a+40|0,0);rc(c,273016,a+56|0,0);rc(c,277014,a+72|0,0);rc(c,236730,a+88|0,0);break b}v[a+88>>2]=5;v[a+72>>2]=5;v[a+56>>2]=5;v[a+40>>2]=5;v[a+24>>2]=5;v[a+8>>2]=5;v[a>>2]=0;v[a+4>>2]=0}v[a+104>>2]=d;Qb=e+48|0;return a|0}a=P()|0;O()|0;dc(f);T(a|0);L()}function $_a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0;a:{if((d|0)<1){break a}g=v[a+112>>2];e=v[a+480>>2];j=v[a+120>>2];if((j|0)<1){a=0;while(1){qe(v[(a<<2)+c>>2],g);v[e+48>>2]=v[e+48>>2]+1&15;a=a+1|0;if((d|0)!=(a|0)){continue}break}break a}if(!g){a=0;while(1){qe(v[(a<<2)+c>>2],0);v[e+48>>2]=v[e+48>>2]+1&15;a=a+1|0;if((d|0)!=(a|0)){continue}break}break a}r=g&-2;s=g&1;while(1){a=k<<2;o=a+c|0;qe(v[o>>2],g);u=a+b|0;l=v[e+48>>2];h=0;while(1){f=v[u>>2]+h|0;a=h<<2;m=v[a+v[e+24>>2]>>2];p=v[(a+e|0)+52>>2];a=v[o>>2];i=0;n=r;if((g|0)!=1){while(1){q=(l<<6)+p|0;t[a|0]=w[a|0]+w[(v[q+(i<<2)>>2]+w[f|0]|0)+m|0];f=f+j|0;t[a+1|0]=w[a+1|0]+w[(v[((i+1&15)<<2)+q>>2]+w[f|0]|0)+m|0];a=a+2|0;i=i+2&15;f=f+j|0;n=n-2|0;if(n){continue}break}}if(s){t[a|0]=w[a|0]+w[(v[((l<<6)+p|0)+(i<<2)>>2]+w[f|0]|0)+m|0]}h=h+1|0;if((j|0)!=(h|0)){continue}break}v[e+48>>2]=l+1&15;k=k+1|0;if((k|0)!=(d|0)){continue}break}}}function tJ(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Qb-1744|0;Qb=f;e=v[47606];d=f+1736|0;v[d>>2]=v[47605];v[d+4>>2]=e;e=v[47604];d=f+1728|0;v[d>>2]=v[47603];v[d+4>>2]=e;e=v[47602];d=f+1720|0;v[d>>2]=v[47601];v[d+4>>2]=e;d=v[47600];v[f+1712>>2]=v[47599];v[f+1716>>2]=d;gc(f+16|0,190432,1696);if(!(w[a+432|0]|!w[a+344|0])){t[a+497|0]=0}d=Aq(b);v[f+12>>2]=0;i=c-4|0;j=b+4|0;b=11;c=52;a:{while(1){e=(f+16|0)+(b<<5)|0;g=v[e>>2];b:{if((g|0)<(d|0)){h=b+1|0;break b}if((d|0)>=(g|0)){break a}c=b-1|0}b=c+h>>1;if((c|0)>=(h|0)){continue}break}e=0}v[a+268>>2]=d;v[a+272>>2]=v[a+272>>2]+1;e=e?e:f+1712|0;b=v[e+12>>2];c:{if(!b){b=0;break c}b=Ub[b|0](a,e,i,j,f+12|0)|0;c=v[f+12>>2];d:{if(!(b|!c)){b=0;if(v[e>>2]!=1077952576){break d}v[c>>2]=d;break d}if(!c){break c}}Qv(a,c)}e:{if(w[a+289|0]|(w[a+285|0]|w[a+286|0])){break e}b=0;if(w[a+346|0]){break e}t[a+346|0]=1;c=v[a+168>>2];if(!c){break e}if(Ub[c|0](a)|0){break e}b=901;pc(a,901,0,0)}Qb=f+1744|0;return b}function Vn(a,b){var c=0,d=0,e=0;c=Qb-16|0;Qb=c;d=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=d;d=v[b+12>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=d;v[a+16>>2]=0;v[a+20>>2]=v[282402];d=a+16|0;a:{b:{b=v[b+16>>2];c:{d:{if(b){e=v[v[b>>2]+28>>2];v[299999]=0;U(e|0,c+8|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break d}a=P()|0;O()|0;break c}v[c+8>>2]=0}v[299999]=0;Q(4344,d|0,c+8|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){b=v[c+8>>2];v[c+8>>2]=0;if(!b){break b}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)!=1){if(d){break b}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}}break a}a=P()|0;O()|0;b=v[c+8>>2];v[c+8>>2]=0;if(!b){break c}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(c){break c}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}ec(d);T(a|0);L()}b=a;a=v[a+16>>2];v[b+20>>2]=v[(a?a+12|0:1129608)>>2];Qb=c+16|0;return}W(0)|0;O()|0;lc();L()}function CDa(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;h=Qb-128|0;Qb=h;e=v[v[a+28>>2]+120>>2];a:{if((Ub[v[v[e>>2]+28>>2]](e)|0)!=(c|0)){e=-1;a=v[a+108>>2];b:{if(!a){break b}a=v[a+4>>2];if(v[a+8>>2]==13){break b}a=v[a+16>>2];e=Ub[v[v[a>>2]+52>>2]](a)|0}kc(1,e,288227,0);break a}e=0;d=v[a+28>>2];g=v[d+384>>2];if(g){Ub[v[v[g>>2]+4>>2]](g)}v[d+384>>2]=0;c:{if((c|0)<1){break c}if((c|0)!=1){g=c&-2;while(1){i=(e<<2)+h|0;d=(e<<4)+b|0;f=(v[d>>2]==1?+v[d+8>>2]:A[d+8>>3])*65536;d:{if(D(f)<2147483648){d=~~f;break d}d=-2147483648}v[i>>2]=d;i=e|1;d=(i<<4)+b|0;f=(v[d>>2]==1?+v[d+8>>2]:A[d+8>>3])*65536;e:{if(D(f)<2147483648){d=~~f;break e}d=-2147483648}v[(i<<2)+h>>2]=d;e=e+2|0;g=g-2|0;if(g){continue}break}}if(!(c&1)){break c}c=(e<<2)+h|0;b=(e<<4)+b|0;f=(v[b>>2]==1?+v[b+8>>2]:A[b+8>>3])*65536;f:{if(D(f)<2147483648){b=~~f;break f}b=-2147483648}v[c>>2]=b}gc(v[a+28>>2]+252|0,h,128);b=v[a+8>>2];Ub[v[v[b>>2]+120>>2]](b,v[a+28>>2])}Qb=h+128|0}function zR(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;if((v[b+4>>2]&-2)!=2){d=v[b+52>>2];if(v[d+8>>2]>0){while(1){zR(a,v[v[d>>2]+(f<<2)>>2],c);f=f+1|0;d=v[b+52>>2];if((f|0)>2]){continue}break}}return}f=fc(16);v[299999]=0;d=S(3315,f|0)|0;i=v[299999];v[299999]=0;if((i|0)!=1){ZD(a,b,d,1);a=fc(32);v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=f;v[a+16>>2]=0;v[a+20>>2]=0;i=v[d>>2];f=v[i>>2];A[a+24>>3]=A[f+40>>3];b=v[d+8>>2];a:{if((b|0)<1){break a}g=A[f+24>>3];A[a+8>>3]=g;h=A[f+32>>3];A[a+16>>3]=h;f=1;if((b|0)==1){break a}d=b-1|0;k=d&1;if((b|0)!=2){b=d&-2;while(1){d=i+(f<<2)|0;j=v[d>>2];e=A[j+24>>3];if(e>3]=e;g=e}e=A[j+32>>3];if(e>h){A[a+16>>3]=e;h=e}d=v[d+4>>2];e=A[d+24>>3];if(e>3]=e;g=e}e=A[d+32>>3];if(e>h){A[a+16>>3]=e;h=e}f=f+2|0;b=b-2|0;if(b){continue}break}}if(!k){break a}e=g;b=v[i+(f<<2)>>2];g=A[b+24>>3];if(e>g){A[a+8>>3]=g}g=A[b+32>>3];if(!(g>h)){break a}A[a+16>>3]=g}Tc(c,a);return}a=P()|0;O()|0;dc(f);T(a|0);L()}function g8a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=v[a+428>>2];c=x[b+32>>1];c=c<<8|c>>>8;t[d+8|0]=c;t[d+9|0]=c>>>8;c=x[b+34>>1];c=c<<8|c>>>8;t[d+10|0]=c;t[d+11|0]=c>>>8;t[d+12|0]=w[b+36|0];c=x[b+38>>1];c=c<<8|c>>>8;t[d+13|0]=c;t[d+14|0]=c>>>8;c=x[b+40>>1];c=c<<8|c>>>8;t[d+15|0]=c;t[d+16|0]=c>>>8;c=x[b+42>>1];c=c<<8|c>>>8;t[d+17|0]=c;t[d+18|0]=c>>>8;c=x[b+44>>1];c=c<<8|c>>>8;t[d+19|0]=c;t[d+20|0]=c>>>8;c=x[b+46>>1];c=c<<8|c>>>8;t[d+21|0]=c;t[d+22|0]=c>>>8;c=x[b+48>>1];c=c<<8|c>>>8;t[d+23|0]=c;t[d+24|0]=c>>>8;t[d+25|0]=w[b+50|0];d=d+8|0;g=a;h=v[b>>2];f=w[b+50|0];e=18;a:{if((f|0)!=w[b+36|0]){break a}c=x[b+48>>1];e=17;if((c|0)!=x[b+40>>1]){break a}e=15;if((c|0)!=x[b+46>>1]){break a}a=x[b+44>>1];e=13;if((a|0)!=x[b+38>>1]){break a}e=11;if((a|0)!=x[b+42>>1]){break a}e=9;if((a|0)!=(c|0)){break a}e=7;if((c|0)!=1){break a}e=5;if(f){break a}a=x[b+32>>1];b=x[b+34>>1];e=4;if((a|0)!=(b|0)){break a}e=((b|0)!=0)<<1}return _d(g,h,e,d)|0}function Ywa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:{b:{c:{if(!(v[a+8>>2]|!v[a+12>>2])){if((c|0)>=1){break c}return 0}d=v[a+3504>>2];if((c|0)<1|(d|0)>=v[a+20>>2]){break b}e=v[a+3496>>2];while(1){t[b+f|0]=v[v[((e<<2)+a|0)+3480>>2]+(v[a+3500>>2]+B(v[a+32>>2],d)<<2)>>2];e=v[a+3496>>2]+1|0;v[a+3496>>2]=e;d:{if(v[a+188>>2]!=(e|0)){break d}e=0;v[a+3496>>2]=0;d=v[a+3500>>2]+1|0;v[a+3500>>2]=d;if((d|0)!=v[a+16>>2]){break d}v[a+3500>>2]=0;d=v[a+3504>>2]+1|0;v[a+3504>>2]=d;if((d|0)>2]){break d}return f+1|0}f=f+1|0;if((f|0)==(c|0)){return c|0}else{d=v[a+3504>>2];continue}}}e=v[a+3472>>2];while(1){g=b+f|0;d=v[a+3476>>2];if((d|0)==(e|0)){e=v[a+28>>2]+v[a+3504>>2]|0;if((e|0)>=v[a+20>>2]){break b}v[a+3504>>2]=e;if(!eE(a)){break a}d=v[a+3476>>2];e=v[a+3472>>2]}h=e;e=d-e|0;d=c-f|0;d=(d|0)>(e|0)?e:d;gc(g,h,d);e=d+v[a+3472>>2]|0;v[a+3472>>2]=e;f=d+f|0;if((f|0)<(c|0)){continue}break}}return f|0}v[a+3504>>2]=v[a+20>>2];return f|0}function Yi(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}b:{c:{switch(v[a+4>>2]-14|0){case 0:b=v[a+32>>2];if(!b){break b}if(v[b+44>>2]==(a|0)){v[b+44>>2]=0}if(v[b+48>>2]!=(a|0)){break b}v[b+48>>2]=0;break b;case 4:break a;case 3:break c;default:break b}}d=v[a+32>>2];if(!d){break b}c=v[d+44>>2];d:{if(!c){break d}e=v[c+48>>2];b=v[a+8>>2];if((Se(e,b,0,0)|0)==(a|0)){$r(e,b,0,0);c=v[d+44>>2];b=v[a+8>>2]}c=v[c+60>>2];if((Se(c,b,0,0)|0)!=(a|0)){break d}$r(c,b,0,0)}c=v[d+48>>2];if(!c){break b}e=v[c+48>>2];b=v[a+8>>2];if((Se(e,b,0,0)|0)==(a|0)){$r(e,b,0,0);c=v[d+48>>2];b=v[a+8>>2]}c=v[c+60>>2];if((Se(c,b,0,0)|0)!=(a|0)){break b}$r(c,b,0,0)}b=v[a+20>>2];if(b){e:{if(v[a+4>>2]==2){if(v[b+44>>2]!=(a|0)){break e}v[b+44>>2]=v[a+24>>2];break e}if(v[b+12>>2]==(a|0)){v[b+12>>2]=v[a+24>>2]}if(v[b+16>>2]!=(a|0)){break e}v[b+16>>2]=v[a+28>>2]}v[a+20>>2]=0}b=v[a+24>>2];if(b){v[b+28>>2]=v[a+28>>2]}c=v[a+28>>2];if(c){v[c+24>>2]=b}v[a+24>>2]=0;v[a+28>>2]=0}}function W0a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{d=v[a+28>>2];if(!w[d+44|0]){g=v[b+4>>2];i=v[b>>2];t[d+44|0]=1;e=v[d+20>>2];if(!e){c=3;break b}c:{if(w[d+45|0]){c=v[d+12>>2];if((u[c+20>>1]+u[c+56>>1]|0)+1>>>0>y[c+8>>2]){c=xg(c,0,1);if(c){break b}}f=x[e>>1];c=f<<16>>16;if((c|0)<1){break c}u[(v[e+12>>2]+(f<<1)|0)-2>>1]=x[e+2>>1]-1}c=x[e>>1]}u[e>>1]=c+1;c=v[d+12>>2];if((u[c+22>>1]+u[c+58>>1]|0)+1>>>0>y[c+4>>2]){c=xg(c,1,0);if(c){break b}}c=v[d+20>>2];if(w[d+45|0]){e=v[c+8>>2];f=u[c+2>>1];h=v[c+4>>2]+(f<<3)|0;v[h+4>>2]=g>>10;v[h>>2]=i>>10;t[e+f|0]=1}u[c+2>>1]=x[c+2>>1]+1}c=v[b+12>>2];e=v[b+8>>2];d:{b=v[d+12>>2];if((u[b+22>>1]+u[b+58>>1]|0)+1>>>0>y[b+4>>2]){b=xg(b,1,0);if(b){break d}}a=v[d+20>>2];if(w[d+45|0]){b=v[a+8>>2];d=u[a+2>>1];g=v[a+4>>2]+(d<<3)|0;v[g+4>>2]=c>>10;v[g>>2]=e>>10;t[b+d|0]=1}u[a+2>>1]=x[a+2>>1]+1;return}a=v[a+24>>2];if(v[a>>2]){break a}v[a>>2]=b;break a}a=v[a+24>>2];if(v[a>>2]){break a}v[a>>2]=c}}function uV(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=-1;a:{if(!(!d|(!a|!b))){if(!c){v[b>>2]=0;v[d>>2]=0;return 0}e=v[b>>2]/2|0;h=v[d>>2];b:{if((h|0)<1){f=a;h=c;break b}k=c+h|0;l=(e<<1)+a|0;h=c;f=a;while(1){e=t[h|0];g=e&255;i=0;c:{if((e|0)>-1){j=0;break c}e=e&255;if(e>>>0<=191){v[b>>2]=f-a;v[d>>2]=h-c;return-2}if(e>>>0<=223){g=g&31;i=1;j=1;break c}d:{if(e>>>0<=239){j=2;g=g&15;break d}if(e>>>0>247){break a}j=3;g=g&7}i=1}e=h+1|0;if((k-e|0)<(j|0)){break b}m=k;e:{f:{if(e>>>0>>0&i){while(1){g:{i=e+1|0;e=w[e|0];if((e&192)!=128){break g}g=e&63|g<<6;j=j-1|0;if(!j){break g}e=i;if(k>>>0>e>>>0){continue}}break}if(g>>>0>65535){break f}e=i}if(f>>>0>=l>>>0){break b}u[f>>1]=g;f=f+2|0;break e}if(g>>>0>1114111|f+2>>>0>=l>>>0){break b}u[f+2>>1]=g&1023|56320;u[f>>1]=g+16711680>>>10|55296;e=i;f=f+4|0}h=e;if(m>>>0>e>>>0){continue}break}}v[b>>2]=f-a;v[d>>2]=h-c;e=v[b>>2]}return e|0}v[b>>2]=f-a;v[d>>2]=h-c;return-2}function tH(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;g=Qb-16|0;Qb=g;a:{if(t[a+372|0]&1){i=v[a+52>>2];j=v[a+48>>2];k=x[a+46>>1];h=x[a+44>>1];l=v[a+36>>2];m=v[a+40>>2];f=a- -64|0;n=v[f+4>>2];v[g+8>>2]=v[f>>2];v[g+12>>2]=n;f=v[a+60>>2];v[g>>2]=v[a+56>>2];v[g+4>>2]=f;f=a+290|0;break a}i=v[a+88>>2];j=v[a+84>>2];k=x[a+82>>1];h=x[a+80>>1];l=v[a+72>>2];m=v[a+76>>2];f=v[a+104>>2];v[g+8>>2]=v[a+100>>2];v[g+12>>2]=f;f=v[a+96>>2];v[g>>2]=v[a+92>>2];v[g+4>>2]=f;f=a+292|0}f=x[f>>1];b:{if(f>>>0>=h>>>0){if(w[a+565|0]){v[a+12>>2]=134}u[e>>1]=0;a=1;break b}v[d+16>>2]=i;v[d+12>>2]=j;u[d+10>>1]=k;u[d+8>>1]=h;v[d>>2]=l;v[d+4>>2]=m;h=v[g+4>>2];v[d+20>>2]=v[g>>2];v[d+24>>2]=h;h=v[g+12>>2];v[d+28>>2]=v[g+8>>2];v[d+32>>2]=h;u[e>>1]=f;e=b;b=f<<3;d=b+i|0;b=b+j|0;b=Ub[v[a+576>>2]](a,v[d>>2]-v[b>>2]|0,v[d+4>>2]-v[b+4>>2]|0)|0;o=e,p=jd(b,u[a+302>>1],v[a+568>>2]),v[o>>2]=p;o=c,p=jd(b,u[a+304>>1],v[a+568>>2]),v[o>>2]=p;a=0}Qb=g+16|0;return a}function YM(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;f=Qb-32|0;Qb=f;t[a|0]=0;a:{d=v[v[b>>2]-12>>2]+b|0;b:{if(!v[d+16>>2]){if(v[d+72>>2]){XM(v[(v[v[b>>2]-12>>2]+b|0)+72>>2])}c:{if(!(v[(v[v[b>>2]-12>>2]+b|0)+4>>2]&4096)|c){break c}d=f+24|0;c=v[(v[v[b>>2]-12>>2]+b|0)+28>>2];v[d>>2]=c;v[c+4>>2]=v[c+4>>2]+1;v[299999]=0;c=S(5466,d|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break a}d=v[f+24>>2];e=v[d+4>>2]-1|0;v[d+4>>2]=e;if((e|0)==-1){Ub[v[v[d>>2]+8>>2]](d)}e=f+16|0;v[e>>2]=v[(v[v[b>>2]-12>>2]+b|0)+24>>2];g=f+8|0;v[g>>2]=0;while(1){d:{if(!jt(e,g)){break d}i=c;d=v[e>>2];h=v[d+12>>2];e:{if((h|0)==v[d+16>>2]){d=Ub[v[v[d>>2]+36>>2]](d)|0;break e}d=v[h>>2]}if(!(Ub[v[v[c>>2]+12>>2]](i,8192,d)|0)){break d}mp(e);continue}break}if(!Im(e,g)){break c}np(v[v[b>>2]-12>>2]+b|0,6)}t[a|0]=!v[(v[v[b>>2]-12>>2]+b|0)+16>>2];break b}np(d,4)}Qb=f+32|0;return a}c=P()|0;O()|0;a=v[f+24>>2];b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}T(c|0);L()}function XNa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=Qb-16|0;Qb=g;a:{if(v[b>>2]>0){break a}f=a+76|0;while(1){d=v[a+4>>2];if(!d){break a}b:{c:{if((d|0)==v[a+20>>2]){v[a+4>>2]=v[a>>2];c=Bc(d);break c}c=af(d,58);v[a+4>>2]=c;if(!c){c=Bc(d);break c}v[a+4>>2]=c+1;c=c-d|0}if(!c){break b}v[a+128>>2]=0;t[v[a+76>>2]]=0;gs(f,d,c,b);d=v[a+76>>2];e=Jm(d,47);d:{e:{if(w[a+188|0]!=1|(c|0)<4){break e}if(Oc((c+d|0)-4|0,v[a+12>>2],4)){break e}e=e?e+1|0:d;h=v[a+16>>2];if(Oc(e,v[a+8>>2],h)){break e}if((Bc(e)|0)==(h+4|0)){break d}}e=c+d|0;if(w[e-1|0]!=47){if((c|0)>=4){if(!Oc(e-4|0,234140,4)){break b}}d=v[a+184>>2];f:{if(!d|(c|0)<=(d|0)){break f}if(mc(e-d|0,v[a+132>>2])){break f}c=c-d|0;c=(c|0)>0?c:0;if((c|0)>2]){v[f+52>>2]=c;t[c+v[f>>2]|0]=0}}$V(f,47,b)}gs(f,v[a+132>>2]+1|0,v[a+184>>2]-1|0,b);a=v[a+12>>2];if(!w[a|0]){break d}a=ni(g+8|0,a);gs(f,v[a>>2],v[a+4>>2],b)}i=v[f>>2];break a}if(v[a>>2]){continue}break}}Qb=g+16|0;return i|0}function Eja(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Qb-48|0;Qb=c;v[c+32>>2]=0;v[c+36>>2]=v[282402];e=v[b+132>>2];d=v[b+124>>2];f=v[b+136>>2];b=v[b+128>>2];v[c+16>>2]=f-b;v[c>>2]=989254;v[c+4>>2]=d;v[c+8>>2]=b;v[299999]=0;v[c+12>>2]=e-d;b=Y(4635,c+32|0,346728,c|0)|0;d=v[299999];v[299999]=0;a:{if((d|0)!=1){v[a>>2]=0;v[a+4>>2]=v[282402];b=v[b>>2];b:{if(b){d=v[v[b>>2]+28>>2];v[299999]=0;U(d|0,c+40|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break b}b=P()|0;O()|0;ec(a);break a}v[c+40>>2]=0}v[299999]=0;Q(4344,a|0,c+40|0)|0;b=v[299999];v[299999]=0;c:{if((b|0)!=1){b=v[c+40>>2];v[c+40>>2]=0;if(!b){break c}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)!=1){if(d){break c}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break c}}W(0)|0;O()|0;lc();L()}b=P()|0;O()|0;ec(c+40|0);ec(a);break a}b=a;a=v[a>>2];v[b+4>>2]=v[(a?a+12|0:1129608)>>2];ec(c+32|0);Qb=c+48|0;return}b=P()|0;O()|0}ec(c+32|0);T(b|0);L()}function Cla(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;f=Qb-32|0;Qb=f;v[f+24>>2]=0;v[f+28>>2]=0;v[f+16>>2]=0;v[f+20>>2]=0;e=f+16|0;v[e>>2]=982500;v[e+4>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;h=e;v[299999]=0;$(5001,b|0,c|0,e|0,1);b=v[299999];v[299999]=0;a:{b:{if((b|0)!=1){v[a>>2]=0;c:{d:{b=v[f+24>>2];e:{if(!b){break e}while(1){e=v[b+8>>2];g=v[v[e>>2]+20>>2];v[299999]=0;$(g|0,f+8|0,e|0,c|0,d|0);e=v[299999];v[299999]=0;if((e|0)==1){break d}v[299999]=0;e=Q(4344,a|0,f+8|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break c}g=v[e>>2];e=v[f+8>>2];v[f+8>>2]=0;f:{if(!e){break f}v[299999]=0;i=v[e+4>>2]-1|0;v[e+4>>2]=i;j=v[299999];v[299999]=0;if((j|0)==1){break a}if(i){break f}v[299999]=0;R(4338,e|0);e=v[299999];v[299999]=0;if((e|0)==1){break a}}if(g){break e}b=v[b>>2];if(b){continue}break}}Ic(h);Qb=f+32|0;return}b=P()|0;O()|0;ec(a);break b}b=P()|0;O()|0;ec(f+8|0);ec(a);break b}b=P()|0;O()|0}Ic(h);T(b|0);L()}W(0)|0;O()|0;lc();L()} +function zdb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=v[v[a+536>>2]+88>>2];e=(v[d+1176>>2]+B(v[d+1168>>2],v[a+572>>2])|0)+B(v[d+1164>>2],v[a+580>>2])|0;d=v[a+644>>2];a:{b:{c:{switch(w[a+2253|0]){case 0:case 4:break a;case 1:break c;default:break b}}if(v[a+588>>2]<=0){break b}while(1){c=w[e|0]|w[e+1|0]<<8;b=(c<<8|c>>>8)&65535;c=w[d|0]|w[d+1|0]<<8;c=b+((c<<8|c>>>8)&65535)&65535;c=c<<8|c>>>8;t[e|0]=c;t[e+1|0]=c>>>8;c=e+2|0;b=w[c|0]|w[c+1|0]<<8;f=(b<<8|b>>>8)&65535;b=w[d+2|0]|w[d+3|0]<<8;b=f+((b<<8|b>>>8)&65535)&65535;b=b<<8|b>>>8;t[c|0]=b;t[c+1|0]=b>>>8;c=e+4|0;b=w[c|0]|w[c+1|0]<<8;f=(b<<8|b>>>8)&65535;b=w[d+4|0]|w[d+5|0]<<8;b=f+((b<<8|b>>>8)&65535)&65535;b=b<<8|b>>>8;t[c|0]=b;t[c+1|0]=b>>>8;c=e+6|0;b=w[c|0]|w[c+1|0]<<8;f=(b<<8|b>>>8)&65535;b=w[d+6|0]|w[d+7|0]<<8;b=f+((b<<8|b>>>8)&65535)&65535;b=b<<8|b>>>8;t[c|0]=b;t[c+1|0]=b>>>8;d=d+8|0;e=e+8|0;g=g+1|0;if((g|0)>2]){continue}break}}return 0}gc(e,d,v[a+588>>2]<<3);return 0}function pL(a,b,c){var d=0,e=0,f=0;d=Qb-16|0;Qb=d;a:{if(b>>>0>20){break a}b:{switch(b-9|0){case 0:b=v[c>>2];v[c>>2]=b+4;v[a>>2]=v[b>>2];break a;case 1:b=v[c>>2];v[c>>2]=b+4;b=v[b>>2];v[a>>2]=b;v[a+4>>2]=b>>31;break a;case 2:b=v[c>>2];v[c>>2]=b+4;v[a>>2]=v[b>>2];v[a+4>>2]=0;break a;case 3:b=v[c>>2]+7&-8;v[c>>2]=b+8;c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;break a;case 4:b=v[c>>2];v[c>>2]=b+4;b=u[b>>1];v[a>>2]=b;v[a+4>>2]=b>>31;break a;case 5:b=v[c>>2];v[c>>2]=b+4;v[a>>2]=x[b>>1];v[a+4>>2]=0;break a;case 6:b=v[c>>2];v[c>>2]=b+4;b=t[b|0];v[a>>2]=b;v[a+4>>2]=b>>31;break a;case 7:b=v[c>>2];v[c>>2]=b+4;v[a>>2]=w[b|0];v[a+4>>2]=0;break a;case 8:b=v[c>>2]+7&-8;v[c>>2]=b+8;Ok(d,A[b>>3]);b=v[d+12>>2];v[a+8>>2]=v[d+8>>2];v[a+12>>2]=b;b=v[d+4>>2];v[a>>2]=v[d>>2];v[a+4>>2]=b;break a;case 9:break b;default:break a}}b=v[c>>2]+7&-8;v[c>>2]=b+16;c=v[b>>2];e=v[b+4>>2];f=v[b+12>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=f;v[a>>2]=c;v[a+4>>2]=e}Qb=d+16|0}function _ab(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;if(e){q=e-1|0;r=e-2|0;n=(e|0)==1;while(1){a=f;t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];f=a+2|0;g=g+2|0;a:{if(!n&k>>>0>=q>>>0){break a}j=k?(k|0)==(r|0)?d:b:c;h=!k&n;if(!h){i=1;if(j>>>0<=1){break a}o=h?0:f;p=j<<1;while(1){l=g;m=w[o|0];h=w[a|0];if((m|0)!=(h|0)){h=h+(((B(m-h|0,i)<<1)+j|0)/(p|0)|0)|0}t[l|0]=h;m=w[o+1|0];h=w[a+1|0];if((m|0)!=(h|0)){h=h+(((B(m-h|0,i)<<1)+j|0)/(p|0)|0)|0}t[l+1|0]=h;g=g+2|0;i=i+1|0;if((j|0)!=(i|0)){continue}break}break a}if(j>>>0<2){break a}l=j-1|0;h=l&3;if(j-2>>>0>=3){i=l&-4;while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];t[g+2|0]=w[a|0];t[g+3|0]=w[a+1|0];t[g+4|0]=w[a|0];t[g+5|0]=w[a+1|0];t[g+6|0]=w[a|0];t[g+7|0]=w[a+1|0];g=g+8|0;i=i-4|0;if(i){continue}break}}if(!h){break a}while(1){t[g|0]=w[a|0];t[g+1|0]=w[a+1|0];g=g+2|0;h=h-1|0;if(h){continue}break}}k=k+1|0;if((k|0)!=(e|0)){continue}break}}return 0}function NN(a){var b=0,c=0,d=0,e=0,f=0,g=0;o(+a);b=j(1)|0;j(0)|0;f=b;b=b&2147483647;if(b>>>0>=1141899264){o(1.5707963267948966);b=j(1)|0;f=j(0)|0;o(+a);d=j(1)|0;j(0)|0;l(0,f|0);l(1,b&2147483647|d&-2147483648);e=+n();o(+a);b=j(1)|0;d=j(0)|0;b=b&2147483647;return(b|0)==2146435072&(d|0)!=0|b>>>0>2146435072?a:e}a:{b:{if(b>>>0<=1071382527){if(b>>>0<1044381696){break a}b=-1;d=1;break b}a=D(a);c:{if(b>>>0<=1072889855){if(b>>>0<=1072037887){a=(a+a+-1)/(a+2);b=0;d=0;break b}b=1;a=(a+-1)/(a+1);break c}if(b>>>0<=1073971199){b=2;a=(a+-1.5)/(a*1.5+1);break c}b=3;a=-1/a}d=0}g=a*a;c=g*g;e=c*(c*(c*(c*(c*-.036531572744216916+-.058335701337905735)+-.0769187620504483)+-.11111110405462356)+-.19999999999876483);c=g*(c*(c*(c*(c*(c*.016285820115365782+.049768779946159324)+.06661073137387531)+.09090887133436507)+.14285714272503466)+.3333333333333293);if(d){return a-a*(e+c)}b=b<<3;a=A[b+1006256>>3]-(a*(e+c)-A[b+1006288>>3]-a);a=(f|0)>-1?a:-a}return a}function Dla(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;f=Qb-32|0;Qb=f;v[f+24>>2]=0;v[f+28>>2]=0;v[f+16>>2]=0;v[f+20>>2]=0;e=f+16|0;v[e>>2]=982500;v[e+4>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;h=e;v[299999]=0;$(5001,b|0,c|0,e|0,1);b=v[299999];v[299999]=0;a:{b:{if((b|0)!=1){v[a>>2]=0;c:{d:{b=v[f+24>>2];e:{if(!b){break e}while(1){e=v[b+8>>2];g=v[v[e>>2]+16>>2];v[299999]=0;$(g|0,f+8|0,e|0,c|0,d|0);e=v[299999];v[299999]=0;if((e|0)==1){break d}v[299999]=0;e=Q(4344,a|0,f+8|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break c}g=v[e>>2];e=v[f+8>>2];v[f+8>>2]=0;f:{if(!e){break f}v[299999]=0;i=v[e+4>>2]-1|0;v[e+4>>2]=i;j=v[299999];v[299999]=0;if((j|0)==1){break a}if(i){break f}v[299999]=0;R(4338,e|0);e=v[299999];v[299999]=0;if((e|0)==1){break a}}if(g){break e}b=v[b>>2];if(b){continue}break}}Ic(h);Qb=f+32|0;return}b=P()|0;O()|0;ec(a);break b}b=P()|0;O()|0;ec(f+8|0);ec(a);break b}b=P()|0;O()|0}Ic(h);T(b|0);L()}W(0)|0;O()|0;lc();L()}function eka(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Qb-48|0;Qb=c;v[c+32>>2]=0;v[c+36>>2]=v[282402];e=v[b+100>>2];d=v[b+92>>2];f=v[b+104>>2];b=v[b+96>>2];v[c+16>>2]=f-b;v[c>>2]=989244;v[c+4>>2]=d;v[c+8>>2]=b;v[299999]=0;v[c+12>>2]=e-d;b=Y(4635,c+32|0,346728,c|0)|0;d=v[299999];v[299999]=0;a:{if((d|0)!=1){v[a>>2]=0;v[a+4>>2]=v[282402];b=v[b>>2];b:{if(b){d=v[v[b>>2]+28>>2];v[299999]=0;U(d|0,c+40|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break b}b=P()|0;O()|0;ec(a);break a}v[c+40>>2]=0}v[299999]=0;Q(4344,a|0,c+40|0)|0;b=v[299999];v[299999]=0;c:{if((b|0)!=1){b=v[c+40>>2];v[c+40>>2]=0;if(!b){break c}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)!=1){if(d){break c}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break c}}W(0)|0;O()|0;lc();L()}b=P()|0;O()|0;ec(c+40|0);ec(a);break a}b=a;a=v[a>>2];v[b+4>>2]=v[(a?a+12|0:1129608)>>2];ec(c+32|0);Qb=c+48|0;return}b=P()|0;O()|0}ec(c+32|0);T(b|0);L()}function Zdb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=v[v[a+2248>>2]+88>>2];c=v[b+1168>>2];c=(v[b+1176>>2]+B(c,v[a+572>>2])|0)+B(c,v[a+2268>>2])|0;b=v[b+1164>>2];c=(c+B(b,v[a+580>>2])|0)+B(b,v[a+2264>>2])|0;e=v[a+636>>2]+v[a+616>>2]|0;d=v[a+588>>2];a:{b:{if(w[a+2253|0]!=4){b=0;if((d|0)<=0){break a}while(1){if(!(b&255)){g=w[e|0];e=e+1|0;b=128}if(b&g){t[c|0]=w[c|0]^1;d=v[a+588>>2]}b=(b&254)>>>1|0;c=v[a+584>>2]+c|0;f=f+1|0;if((f|0)<(d|0)){continue}break}break b}if((d|0)<1){break a}b=0;while(1){if(!(b&255)){g=w[e|0];e=e+1|0;b=128}t[c|0]=(b&g)!=0;b=(b&254)>>>1|0;c=v[a+584>>2]+c|0;d=v[a+588>>2];f=f+1|0;if((d|0)>(f|0)){continue}break}}if((d|0)<1){break a}b=v[a+540>>2];b=(v[b+1176>>2]+B(v[a+572>>2],v[b+1168>>2])|0)+B(v[a+580>>2],v[b+1164>>2])|0;f=v[a+636>>2]+v[a+616>>2]|0;c=0;e=0;d=0;while(1){if(!(c&255)){e=w[f|0];f=f+1|0;c=128}t[b|0]=(c&e&255)!=0;c=(c&254)>>>1|0;b=v[a+584>>2]+b|0;d=d+1|0;if((d|0)>2]){continue}break}}return 0}function cpa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=Qb-32|0;Qb=e;v[a+12>>2]=0;v[a+8>>2]=b;v[a>>2]=983068;v[a+4>>2]=0;b=v[282402];v[a+40>>2]=0;v[a+44>>2]=0;v[a+36>>2]=b;v[a+32>>2]=0;v[a+28>>2]=b;v[a+24>>2]=0;v[a+16>>2]=b;v[a+48>>2]=0;v[a+52>>2]=0;v[299999]=0;d=a+40|0;v[d>>2]=982500;v[d+4>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;b=v[299999];v[299999]=0;f=a+32|0;g=a+24|0;a:{b:{c:{d:{e:{f:{if((b|0)!=1){b=v[a+8>>2];if((b&-2)==2){break e}v[299999]=0;c=aa(4369,e+8|0,278881,241562,204,341291,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break d}v[299999]=0;R(4370,c|0);b=v[299999];v[299999]=0;if((b|0)==1){break f}L()}b=P()|0;O()|0;break a}b=P()|0;O()|0;qc(c);break b}g:{if((b|0)==2){v[299999]=0;Q(4433,g|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break g}break c}v[299999]=0;Q(4433,f|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break c}}Qb=e+32|0;return a|0}b=P()|0;O()|0;break b}b=P()|0;O()|0}Ic(d)}ec(f);ec(g);ec(a+12|0);Qc(a);T(b|0);L()}function cK(a,b,c){var d=0,e=0,f=0,g=0;a:{b:{c:{d:{e:{f:{e=v[a+112>>2];d=v[e>>2];if((d|0)>=1){f=v[e+8>>2];a=0;while(1){g=f+(a<<3)|0;if(v[g>>2]==(b|0)){break f}a=a+1|0;if((d|0)!=(a|0)){continue}break}}if(!c){break b}if((d|0)<0){break a}a=d;f=a;if(v[e+4>>2]>(a|0)){break c}f=d+32|0;a=v[e+8>>2];if(!a){break e}a=uh(a,f<<3);break d}if(c){v[c>>2]=v[c>>2]+1;e=f+(a<<3)|0;a=v[e+4>>2];d=v[a>>2];v[a>>2]=d-1;if((d|0)<=1){d=v[v[a+8>>2]>>2];if(d){Ub[d|0](a)}dc(a)}v[g>>2]=b;v[e+4>>2]=c;return 0}c=v[(f+(a<<3)|0)+4>>2];f=v[c>>2];v[c>>2]=f-1;b=e;if((f|0)<=1){d=v[v[c+8>>2]>>2];if(d){Ub[d|0](c)}dc(c);d=v[e>>2]}c=(a^-1)+d|0;if((c|0)>=1){a=v[e+8>>2]+(a<<3)|0;Wd(a,a+8|0,c<<3);d=v[e>>2]}v[b>>2]=d-1;return 0}a=jc(f<<3)}if(!a){return-1}v[e+4>>2]=f;v[e+8>>2]=a;f=v[e>>2]}a=f;v[c>>2]=v[c>>2]+1;f=a-d|0;if((f|0)>=1){a=v[e+8>>2]+(d<<3)|0;Wd(a+8|0,a,f<<3);a=v[e>>2]}d=v[e+8>>2]+(d<<3)|0;v[d+4>>2]=c;v[d>>2]=b;v[e>>2]=a+1}return 0}X(31371,7738,765,188461);L()} +function OSa(a,b){a=a|0;b=b|0;var 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;l=v[a+328>>2]-1|0;m=v[a+448>>2];a:{while(1){f=v[a+144>>2];c=v[a+152>>2];if((f|0)>=(c|0)&((c|0)!=(f|0)|y[a+148>>2]>y[a+156>>2])){break a}if(Ub[v[v[a+456>>2]>>2]](a)|0){continue}break}return 0}if(v[a+36>>2]>=1){d=v[a+216>>2];while(1){b:{if(!v[d+52>>2]){break b}e=h<<2;c=v[d+12>>2];n=Ub[v[v[a+4>>2]+32>>2]](a,v[(e+m|0)+72>>2],B(c,v[a+156>>2]),c,0)|0;g=!v[d+28>>2];if(y[a+156>>2]>>0){c=v[d+12>>2]}else{f=v[d+12>>2];c=y[d+32>>2]%(f>>>0)|0;c=c?c:f}if(g|(c|0)<1){break b}o=v[(e+v[a+468>>2]|0)+4>>2];i=v[b+e>>2];g=0;e=1;while(1){f=0;if(e){e=v[(g<<2)+n>>2];j=0;k=0;while(1){Ub[o|0](a,d,e,i,j);e=e+128|0;j=v[d+36>>2]+j|0;f=v[d+28>>2];k=k+1|0;if(f>>>0>k>>>0){continue}break}}i=(v[d+40>>2]<<2)+i|0;e=f;g=g+1|0;if((c|0)!=(g|0)){continue}break}}d=d+88|0;h=h+1|0;if((h|0)>2]){continue}break}}b=v[a+156>>2]+1|0;v[a+156>>2]=b;return(b>>>0>2]?3:4)|0}function Oq(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=c-b|0;if((d|0)<1){return 0}c=(b>>3)+a|0;a:{b=b&7;b:{c:{if(!b){a=0;break c}a=8-b|0;e=w[(w[c|0]<>>0>>0?a:e;a=(a|0)>(d|0)?d:a;if((b+a|0)<8){break b}c=c+1|0;d=d-a|0}d:{if((d|0)<64){b=d;break d}e:{if(!(c&3)){b=d;break e}b=w[c|0];if(b){e=a;break a}g=d-8|0;e=a+8|0;h=c+1|0;f:{if(!(h&3)){b=g;g=d;c=h;break f}b=w[h|0];if(b){break a}h=d-16|0;e=a+16|0;f=c+2|0;if(!(f&3)){b=h;c=f;break f}b=w[f|0];if(b){break a}g=d-24|0;e=a+24|0;f=c+3|0;if(!(f&3)){b=g;g=h;c=f;break f}b=w[f|0];if(b){break a}b=d-32|0;e=a+32|0;c=c+4|0}a=e;if((g|0)<40){break d}}d=b;while(1){if(v[c>>2]){b=d;break d}c=c+4|0;a=a+32|0;e=(d|0)>63;b=d-32|0;d=b;if(e){continue}break}}g:{if((b|0)<8){e=b;break g}while(1){d=w[c|0];if(d){return w[d+86224|0]+a|0}c=c+1|0;a=a+8|0;d=(b|0)>15;e=b-8|0;b=e;if(d){continue}break}}if((e|0)<1){break b}b=a;a=w[w[c|0]+86224|0];a=b+((a|0)>(e|0)?e:a)|0}return a}return w[b+86224|0]+e|0}function sZ(a){var b=0,c=0,d=0,e=0;b=v[a+480>>2];a=Ub[v[v[a+4>>2]>>2]](a,1,2044)|0;c=a+1020|0;v[b+40>>2]=c;v[a+1016>>2]=-1;v[a+1020>>2]=0;v[a+1024>>2]=1;v[a+1028>>2]=2;v[a+1032>>2]=3;v[a+1036>>2]=4;v[a+1008>>2]=-3;v[a+1012>>2]=-2;v[a+1040>>2]=5;v[a+1044>>2]=6;v[a+1e3>>2]=-5;v[a+1004>>2]=-4;v[a+1048>>2]=7;v[a+1052>>2]=8;v[a+992>>2]=-7;v[a+996>>2]=-6;v[a+1056>>2]=9;v[a+1060>>2]=10;v[a+984>>2]=-9;v[a+988>>2]=-8;v[a+1064>>2]=11;v[a+1068>>2]=12;v[a+976>>2]=-11;v[a+980>>2]=-10;v[a+1072>>2]=13;v[a+1076>>2]=14;v[a+968>>2]=-13;v[a+972>>2]=-12;v[a+1080>>2]=15;v[a+960>>2]=-15;v[a+964>>2]=-14;b=16;d=16;while(1){a=d<<2;v[a+c>>2]=b;e=0-b|0;v[c-a>>2]=e;v[(a|4)+c>>2]=b;v[((d^-1)<<2)+c>>2]=e;b=b+1|0;a=48;d=d+2|0;if((d|0)!=48){continue}break}while(1){b=a<<2;v[b+c>>2]=32;v[c-b>>2]=-32;v[(b|4)+c>>2]=32;v[((a^-1)<<2)+c>>2]=-32;v[(b|8)+c>>2]=32;v[(-2-a<<2)+c>>2]=-32;v[(b|12)+c>>2]=32;v[(-3-a<<2)+c>>2]=-32;a=a+4|0;if((a|0)!=256){continue}break}}function pJa(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;f=Qb-48|0;Qb=f;a:{if(!a){break a}b:{switch(v[a+216>>2]-1|0){case 0:c=qV(v[a+8>>2],b,3,c,d,e);if(!c){if(!v[a+268>>2]){break a}c=v[a>>2];if(!c){break a}c=v[c+84>>2];if(!c){break a}a=v[a+4>>2];v[f+16>>2]=b;Ub[c|0](a,348847,f+16|0);break a}if(v[c+64>>2]|!d){break a}b=v[a+36>>2];c:{if(b){b=v[b+4>>2];if(b){break c}}b=v[a+180>>2]}g=c,h=as(d,b),v[g+64>>2]=h;break a;case 1:c=tV(v[a+8>>2],b,3,c,d,e);if(!c){if(!v[a+268>>2]){break a}c=v[a>>2];if(!c){break a}c=v[c+84>>2];if(!c){break a}a=v[a+4>>2];v[f+32>>2]=b;Ub[c|0](a,348734,f+32|0);break a}if(v[c+64>>2]|!d){break a}b=v[a+36>>2];d:{if(b){b=v[b+4>>2];if(b){break d}}b=v[a+180>>2]}g=c,h=as(d,b),v[g+64>>2]=h;break a;default:break b}}if(v[a+172>>2]==-1?v[a+212>>2]:0){break a}v[a+84>>2]=1;v[f+4>>2]=0;v[f>>2]=b;oc(0,0,0,a,0,1,1,3,b,0,0,0,348319,f);v[a+100>>2]=0;v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1}Qb=f+48|0}function jfa(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,j=0,k=0,l=0,m=0,n=0,o=0;l=Qb-32|0;Qb=l;a:{if((d|0)>=0){j=v[a+3312>>2];n=(c|0)<1;while(1){k=g;if(!n){g=w[k-1|0]|(w[e|0]<<8|w[e-1|0]<<9|w[e+1|0]<<7|w[f-2|0]<<6|w[f-1|0]<<5|w[f|0]<<4|w[f+1|0]<<3|w[f+2|0]<<2|w[k-2|0]<<1);h=0;while(1){o=h+k|0;i=(a+g|0)+240|0;m=v[((w[i|0]<<2)+j|0)+44>>2]+v[j+20>>2]|0;b:{if(m>>>0<=y[j+28>>2]){v[j+20>>2]=m;i=t[i|0]&1;break b}i=rg(j,i,m)}t[o|0]=i;g=i|g<<1&890|w[(f+h|0)+3|0]<<2|w[(e+h|0)+2|0]<<7;h=h+1|0;if((h|0)!=(c|0)){continue}break}}if(!v[b+20>>2]){gi(b)}e=d-1|0;c:{if(!((d|0)>=1&x[b+8>>1]>=(d|0))){g=x[b+12>>1];if(v[282398]<(g+x[b+14>>1]|0)){a=vc(l+8|0,260231,271771,577,336631,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}b=P()|0;O()|0;qc(a);T(b|0);L()}g=g+v[282397]|0;break c}g=v[b+20>>2]+(x[b+12>>1]+B(e,x[b+14>>1])|0)|0}h=(d|0)>0;d=e;e=f;f=k;if(h){continue}break}}rx(b);Qb=l+32|0;return}L()}function eeb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=v[v[a+2248>>2]+88>>2];c=v[b+1168>>2];c=(v[b+1176>>2]+B(c,v[a+572>>2])|0)+B(c,v[a+2268>>2])|0;b=v[b+1164>>2];b=(c+B(b,v[a+580>>2])|0)+B(b,v[a+2264>>2])|0;e=v[a+636>>2]+v[a+616>>2]|0;c=v[a+588>>2];a:{b:{if(w[a+2253|0]!=4){if((c|0)<=0){break a}while(1){if(!(d&255)){g=w[e|0];e=e+1|0;d=128}if(d&g){t[b|0]=w[b|0]^-1;c=v[a+588>>2]}d=(d&254)>>>1|0;b=v[a+584>>2]+b|0;f=f+1|0;if((f|0)<(c|0)){continue}break}break b}if((c|0)<1){break a}while(1){c=b;if(!(d&255)){g=w[e|0];e=e+1|0;d=128}t[c|0]=d&g?-1:0;d=(d&254)>>>1|0;b=v[a+584>>2]+b|0;c=v[a+588>>2];f=f+1|0;if((c|0)>(f|0)){continue}break}}if((c|0)<1){break a}b=v[a+540>>2];d=(v[b+1176>>2]+B(v[a+572>>2],v[b+1168>>2])|0)+B(v[a+580>>2],v[b+1164>>2])|0;f=v[a+636>>2]+v[a+616>>2]|0;b=0;e=0;c=0;while(1){if(!(b&255)){e=w[f|0];f=f+1|0;b=128}t[d|0]=(b&e&255)!=0;b=(b&254)>>>1|0;d=v[a+584>>2]+d|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function Zz(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;a:{if(!a){break a}c=v[a+100>>2];d=c;b=v[a+292>>2];if(b){Ub[v[d+8>>2]](d,b)}v[a+292>>2]=0;b=v[a+308>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+308>>2]=0;d=v[a+284>>2];if(d){b=c;if(v[a+280>>2]>=1){while(1){b:{if(!d){break b}e=B(f,12)+d|0;d=v[e>>2];if(d){Ub[v[c+8>>2]](c,d)}v[e>>2]=0;if(!w[e+4|0]){break b}d=v[e+8>>2];if(d){Ub[v[c+8>>2]](c,d)}v[e+8>>2]=0}f=f+1|0;if((f|0)>2]){d=v[a+284>>2];continue}break}d=v[a+284>>2]}if(d){Ub[v[b+8>>2]](b,d)}v[a+284>>2]=0}b=v[a+192>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+192>>2]=0;b=v[a+20>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+20>>2]=0;b=v[a+24>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+24>>2]=0;b=v[a+32>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+32>>2]=0;b=v[a+176>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+176>>2]=0;b=v[a+180>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+180>>2]=0;c=v[a+104>>2];if((c|0)!=(a+132|0)){break a}c:{if(!c){break c}b=v[c+24>>2];if(!b){break c}Ub[b|0](c)}v[a+104>>2]=v[a+172>>2]}}function TR(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=v[a>>2];if((Ub[v[v[d>>2]+40>>2]](d,v[a+24>>2],v[a+20>>2])|0)==v[a+20>>2]){a:{b:{c:{d:{c=v[a+12>>2];switch(c-1|0){case 7:break a;case 0:break c;case 15:break d;default:break b}}if(v[a+16>>2]<=0){break a}while(1){t[v[a+28>>2]+b|0]=w[v[a+24>>2]+(b<<1)|0];b=b+1|0;if((b|0)>2]){continue}break}break a}if(v[a+16>>2]<1){break a}d=v[a+24>>2];while(1){c=w[d|0];t[v[a+28>>2]+b|0]=c>>>7;t[v[a+28>>2]+(b|1)|0]=c>>>6&1;t[v[a+28>>2]+(b|2)|0]=c>>>5&1;t[v[a+28>>2]+(b|3)|0]=c>>>4&1;t[v[a+28>>2]+(b|4)|0]=c>>>3&1;t[v[a+28>>2]+(b|5)|0]=c>>>2&1;t[v[a+28>>2]+(b|6)|0]=c>>>1&1;t[v[a+28>>2]+(b|7)|0]=c&1;d=d+1|0;b=b+8|0;if((b|0)>2]){continue}break}break a}if(v[a+16>>2]<1){break a}g=-1<>2];d=0;while(1){if((b|0)<(c|0)){f=w[e|0]|f<<8;e=e+1|0;b=b+8|0}t[v[a+28>>2]+d|0]=f>>>b-c&g;c=v[a+12>>2];b=b-c|0;d=d+1|0;if((d|0)>2]){continue}break}}a=v[a+28>>2]}else{a=0}return a|0}function dZ(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=Qb-16|0;Qb=c;d=v[a+104>>2];g=v[d+28>>2];e=v[a+736>>2];t[e+24|0]=1;a:{if(Ub[v[a+516>>2]](a,1635148146,d,c+8|0)|0){break a}a=ne(d,v[c+8>>2]);v[c+12>>2]=a;if(a){break a}a=Sg(d);f=Sg(d);b:{if((a|0)!=65536|(f|0)!=v[v[e+12>>2]>>2]){break b}a=Cc(g,8,0,f,0,c+12|0);v[e+28>>2]=a;if(v[c+12>>2]|(f|0)<1){break b}while(1){c:{b=He(d);u[a>>1]=b;if(y[c+8>>2]>>0){break c}k=a,l=Cc(g,8,0,b,0,c+12|0),v[k+4>>2]=l;if(v[c+12>>2]){break c}b=0;if(x[a>>1]){while(1){i=He(d);j=b<<3;v[j+v[a+4>>2]>>2]=i<<16>>16<<2;i=He(d);v[(v[a+4>>2]+j|0)+4>>2]=i<<16>>16<<2;b=b+1|0;if(b>>>0>1]){continue}break}}a=a+8|0;h=h+1|0;if((f|0)!=(h|0)){continue}break b}break}d:{if(!h){a=v[e+28>>2];break d}a=v[e+28>>2];while(1){f=h-1|0;b=f<<3;a=v[(b+a|0)+4>>2];if(a){Ub[v[g+8>>2]](g,a)}a=v[e+28>>2];v[(b+a|0)+4>>2]=0;b=(h|0)>1;h=f;if(b){continue}break}}if(a){Ub[v[g+8>>2]](g,a)}v[e+28>>2]=0}Vd(d)}Qb=c+16|0}function qr(a,b,c,d){var e=0;a:{if((a|0)==(c|0)){e=1;if((b|0)==(d|0)){break a}}e=2;if(((a+1|0)/2|0)==(c|0)&((b+1|0)/2|0)==(d|0)){break a}e=3;if(((a+2|0)/3|0)==(c|0)&((b+2|0)/3|0)==(d|0)){break a}e=4;if(((a+3|0)/4|0)==(c|0)&((b+3|0)/4|0)==(d|0)){break a}e=5;if(((a+4|0)/5|0)==(c|0)&((b+4|0)/5|0)==(d|0)){break a}e=6;if(((a+5|0)/6|0)==(c|0)&((b+5|0)/6|0)==(d|0)){break a}e=7;if(((a+6|0)/7|0)==(c|0)&((b+6|0)/7|0)==(d|0)){break a}e=8;if(((a+7|0)/8|0)==(c|0)&((b+7|0)/8|0)==(d|0)){break a}e=9;if(((a+8|0)/9|0)==(c|0)&((b+8|0)/9|0)==(d|0)){break a}e=10;if(((a+9|0)/10|0)==(c|0)&((b+9|0)/10|0)==(d|0)){break a}e=11;if(((a+10|0)/11|0)==(c|0)&((b+10|0)/11|0)==(d|0)){break a}e=12;if(((a+11|0)/12|0)==(c|0)&((b+11|0)/12|0)==(d|0)){break a}e=13;if(((a+12|0)/13|0)==(c|0)&((b+12|0)/13|0)==(d|0)){break a}e=14;if(((a+13|0)/14|0)==(c|0)&((b+13|0)/14|0)==(d|0)){break a}e=15;if(((a+14|0)/15|0)==(c|0)&((b+14|0)/15|0)==(d|0)){break a}e=16}return e}function JV(a){var b=0,c=0,d=0;c=a+148|0;while(1){d=b<<2;u[d+c>>1]=0;u[(d|4)+c>>1]=0;b=b+2|0;if((b|0)!=286){continue}break}u[a+2684>>1]=0;u[a+2440>>1]=0;u[a+2756>>1]=0;u[a+2752>>1]=0;u[a+2748>>1]=0;u[a+2744>>1]=0;u[a+2740>>1]=0;u[a+2736>>1]=0;u[a+2732>>1]=0;u[a+2728>>1]=0;u[a+2724>>1]=0;u[a+2720>>1]=0;u[a+2716>>1]=0;u[a+2712>>1]=0;u[a+2708>>1]=0;u[a+2704>>1]=0;u[a+2700>>1]=0;u[a+2696>>1]=0;u[a+2692>>1]=0;u[a+2688>>1]=0;u[a+2556>>1]=0;u[a+2552>>1]=0;u[a+2548>>1]=0;u[a+2544>>1]=0;u[a+2540>>1]=0;u[a+2536>>1]=0;u[a+2532>>1]=0;u[a+2528>>1]=0;u[a+2524>>1]=0;u[a+2520>>1]=0;u[a+2516>>1]=0;u[a+2512>>1]=0;u[a+2508>>1]=0;u[a+2504>>1]=0;u[a+2500>>1]=0;u[a+2496>>1]=0;u[a+2492>>1]=0;u[a+2488>>1]=0;u[a+2484>>1]=0;u[a+2480>>1]=0;u[a+2476>>1]=0;u[a+2472>>1]=0;u[a+2468>>1]=0;u[a+2464>>1]=0;u[a+2460>>1]=0;u[a+2456>>1]=0;u[a+2452>>1]=0;u[a+2448>>1]=0;u[a+2444>>1]=0;v[a+5804>>2]=0;v[a+5808>>2]=0;u[a+1172>>1]=1;v[a+5800>>2]=0;v[a+5792>>2]=0}function hab(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,j=0,k=0,l=0;a:{b:{if(f){a=c<<1;l=b<<1;if(((c+1|0)/2|0)>(b|0)){break b}if(!d){break a}b=0;while(1){u[g>>1]=x[f>>1];j=g+2|0;h=x[e+2>>1];c:{if((h|0)==x[f+2>>1]){u[j>>1]=h;break c}h=e+2|0;i=w[h+1|0]<<8;k=w[h|0]|i;h=i|w[h|0];i=(h<<8|h>>>8)&65535;h=w[f+2|0]|w[f+3|0]<<8;h=i+((B(((h<<8|h>>>8)&65535)-((k<<8|k>>>8)&65535)|0,l)+c|0)/(a|0)|0)&65535;h=h<<8|h>>>8;t[j|0]=h;t[j+1|0]=h>>>8}f=f+4|0;e=e+4|0;g=g+4|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}break a}gc(g,e,d<<2);break a}if(!d){break a}b=0;while(1){u[g>>1]=x[e>>1];j=g+2|0;h=x[e+2>>1];d:{if((h|0)==x[f+2>>1]){u[j>>1]=h;break d}h=e+2|0;i=w[h+1|0]<<8;k=w[h|0]|i;h=i|w[h|0];i=(h<<8|h>>>8)&65535;h=w[f+2|0]|w[f+3|0]<<8;h=i+((B(((h<<8|h>>>8)&65535)-((k<<8|k>>>8)&65535)|0,l)+c|0)/(a|0)|0)&65535;h=h<<8|h>>>8;t[j|0]=h;t[j+1|0]=h>>>8}f=f+4|0;e=e+4|0;g=g+4|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}}return 0}function Wka(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;v[a+20>>2]=0;v[a>>2]=985012;v[a+4>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;u[a+16>>1]=0;v[299999]=0;g=Z(4407,a+28|0,a+24|0,0,1)|0;e=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{g:{h:{if((e|0)!=1){v[299999]=0;e=Z(4407,a+40|0,a+36|0,0,1)|0;f=v[299999];v[299999]=0;if((f|0)==1){break h}v[299999]=0;f=Z(4407,a+52|0,a+48|0,0,4)|0;h=v[299999];v[299999]=0;if((h|0)==1){break e}v[a+68>>2]=0;v[a+60>>2]=0;v[a+64>>2]=0;v[299999]=0;$(5056,a|0,b|0,c|0,d|0);b=v[299999];v[299999]=0;if((b|0)!=1){break f}b=W(0)|0;O()|0;ea(b|0)|0;v[299999]=0;R(5057,a|0);b=v[299999];v[299999]=0;if((b|0)==1){break g}v[299999]=0;ba(4483);b=v[299999];v[299999]=0;if((b|0)==1){break g}L()}b=P()|0;O()|0;break b}b=P()|0;O()|0;break c}b=P()|0;O()|0;v[299999]=0;ba(4230);c=v[299999];v[299999]=0;if((c|0)==1){break a}ec(a+68|0);Lc(f);break d}return a|0}b=P()|0;O()|0}Lc(e)}Lc(g)}Qc(a);T(b|0);L()}W(0)|0;O()|0;lc();L()}function PPa(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;f=+f;g=+g;var h=0,i=0,j=0;h=v[a+2228504>>2];if(h){Ub[v[v[h>>2]+80>>2]](h,b,c,d,e,f,g)}A[a+8>>3]=A[b>>3];A[a+16>>3]=A[c>>3];j=A[d>>3];a:{if(v[a+128>>2]){A[a+24>>3]=j+A[b>>3]*.3090169943749;e=A[c>>3]*.3090169943749+e;break a}A[a+24>>3]=j}A[a+48>>3]=g;A[a+40>>3]=f;A[a+32>>3]=e;d=v[a+268>>2];c=v[a+264>>2];b=d-c|0;b:{if(!b){break b}b=(b|0)/104|0;i=b>>>0>1?b:1;h=i&7;b=0;if(i-1>>>0>=7){i=i&-8;while(1){v[(c+B(b,104)|0)+100>>2]=1;v[(c+B(b|1,104)|0)+100>>2]=1;v[(c+B(b|2,104)|0)+100>>2]=1;v[(c+B(b|3,104)|0)+100>>2]=1;v[(c+B(b|4,104)|0)+100>>2]=1;v[(c+B(b|5,104)|0)+100>>2]=1;v[(c+B(b|6,104)|0)+100>>2]=1;v[(c+B(b|7,104)|0)+100>>2]=1;b=b+8|0;i=i-8|0;if(i){continue}break}}if(!h){break b}while(1){v[(c+B(b,104)|0)+100>>2]=1;b=b+1|0;h=h-1|0;if(h){continue}break}}if((c|0)!=(d|0)){while(1){mg(d-28|0);d=d-104|0;if((c|0)!=(d|0)){continue}break}}v[a+268>>2]=c;ic(a+276|0,255,2228224)}function Msa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;g=Qb-16|0;Qb=g;v[a+8>>2]=0;v[a>>2]=0;v[a+4>>2]=0;a:{i=v[b+4>>2];if((i|0)>=1){while(1){e=w[b+8|0];h=f;b:{if((f|0)>=(i|0)){break b}j=v[(e?v[b>>2]:b)>>2];while(1){if(v[j+(h<<2)>>2]==(c|0)){break b}h=h+1|0;if((i|0)!=(h|0)){continue}break}h=i}t[g+8|0]=0;v[g>>2]=0;v[g+4>>2]=0;c:{d:{if(!e){e=b;break d}e=v[b>>2];if(e){break d}e=0;break c}e=v[e>>2]}v[299999]=0;$(4184,g|0,e+(f<<2)|0,d|0,h-f|0);f=v[299999];v[299999]=0;if((f|0)==1){break a}f=v[a+4>>2];e:{if((f|0)!=v[a+8>>2]){v[f+4>>2]=v[g+4>>2];j=w[g+8|0];t[f+8|0]=j;e=v[g>>2];v[f>>2]=e;if(!(!j|!e)){v[e+4>>2]=v[e+4>>2]+1}v[a+4>>2]=f+12;break e}v[299999]=0;V(4313,a|0,g|0);f=v[299999];v[299999]=0;if((f|0)==1){break a}}f=h+1|0;f:{if(!w[g+8|0]){break f}h=v[g>>2];if(!h){break f}e=v[h+4>>2]-1|0;v[h+4>>2]=e;if(e){break f}dc(h)}if((f|0)<(i|0)){continue}break}}Qb=g+16|0;return}b=P()|0;O()|0;xc(g);Kx(a);T(b|0);L()}function Kq(a,b,c){var d=0,e=0,f=0,g=0;d=v[a+16>>2];a:{b:{if((b|0)<=-1){b=d;if((d|0)>-1){break b}break a}if((b|0)>(d|0)){break a}}g=v[a+20>>2];c:{if((g|0)>(d|0)){break c}f=g+128|0;d=v[a+24>>2];d:{if(!d){d=jc(f<<2);break d}d=uh(d,f<<2)}if(!d){return-1}v[a+20>>2]=f;v[a+24>>2]=d;e=v[a+16>>2];if((e|0)>=(f|0)){break c}v[d+(e<<2)>>2]=0;d=e+1|0;if((f|0)==(d|0)){break c}e=g-e|0;g=e+126|0;e=e-1&3;if(e){while(1){v[v[a+24>>2]+(d<<2)>>2]=0;d=d+1|0;e=e-1|0;if(e){continue}break}}if(g>>>0<3){break c}while(1){e=d<<2;v[e+v[a+24>>2]>>2]=0;v[(e+v[a+24>>2]|0)+4>>2]=0;v[(e+v[a+24>>2]|0)+8>>2]=0;v[(e+v[a+24>>2]|0)+12>>2]=0;d=d+4|0;if((f|0)!=(d|0)){continue}break}}c=tK(v[c>>2],v[c+4>>2],v[c+8>>2],v[c+12>>2],v[c+16>>2],v[c+20>>2],v[c+24>>2],v[c+28>>2]!=0,1);if(!c){return-1}d=v[a+16>>2];if((d|0)>(b|0)){f=v[a+24>>2]+(b<<2)|0;Wd(f+4|0,f,d-b<<2);d=v[a+16>>2]}v[v[a+24>>2]+(b<<2)>>2]=c;v[a+16>>2]=d+1;at(a);return 0}X(11101,7190,663,188164);L()}function w$a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;if(y[b+160>>2]>>0){Sd(b,8)}c=w[a+3|0]|w[a+2|0]<<8;i=c+a|0;if(!(c>>>0>=518&y[b+160>>2]>=i>>>0)){Sd(b,8)}c=a+6|0;while(1){d=w[c+1|0];f=d|w[c|0]<<8;if(!(!(d&7)|v[b+164>>2]<2)){Sd(b,8)}c=c+2|0;d=f>>>3|0;g=d>>>0>g>>>0?d:g;e=e+1|0;if((e|0)!=256){continue}break}c=a+518|0;j=(c+(g<<3)|0)+8|0;if(j>>>0>y[b+160>>2]){Sd(b,8)}a=0;while(1){d=c+8|0;f=w[c+3|0]|w[c+2|0]<<8;a:{if(!f){c=d;break a}e=w[c+7|0]|w[c+6|0]<<8;k=w[c+4|0];l=w[c+5|0];h=w[c|0];m=w[c+1|0];b:{if(v[b+164>>2]<2){break b}h=h<<8|m;if(h>>>0<=255&f>>>0<=256-h>>>0){break b}Sd(b,8)}if(!e){c=d;break a}e=e+(c+6|0)|0;if(!(e>>>0>=j>>>0&e+(f<<1)>>>0<=i>>>0)){Sd(b,9)}if(v[b+164>>2]<1){c=d;break a}e=k<<8|l;f=((f<<1)+c|0)+8|0;c=d;while(1){d=c;c=c+2|0;d=w[d+1|0]|w[d|0]<<8;if(!(!d|y[b+172>>2]>(d+e&65535)>>>0)){Sd(b,16)}if(c>>>0>>0){continue}break}}a=a+1|0;if(g>>>0>=a>>>0){continue}break}return 0}function qU(a,b,c){var d=0,e=0;d=PF();if(!d){return 0}if(c){v[d+360>>2]=v[c+360>>2];v[d+272>>2]=v[c+272>>2]}a:{b:{c:{d:{e:{f:{e=as(a,0);if(!e){e=bz(a,b,d);if(!e){break a}c=v[d+40>>2];b=v[d+44>>2];g:{if((c|0)<(b|0)){b=v[d+48>>2];break g}v[d+44>>2]=b<<1;b=Ub[v[259709]](v[d+48>>2],b<<3)|0;v[d+48>>2]=b;if(!b){break f}c=v[d+40>>2]}v[(c<<2)+b>>2]=e;v[d+40>>2]=c+1;v[d+36>>2]=e;break c}a=bz(e,b,d);if(!a){Ub[v[259708]](e);break a}c=v[d+40>>2];b=v[d+44>>2];h:{if((c|0)<(b|0)){b=v[d+48>>2];break h}v[d+44>>2]=b<<1;b=Ub[v[259709]](v[d+48>>2],b<<3)|0;v[d+48>>2]=b;if(!b){break e}c=v[d+40>>2]}v[(c<<2)+b>>2]=a;v[d+40>>2]=c+1;v[d+36>>2]=a;break d}Qd(d,0);Sh(e);v[d+44>>2]=v[d+44>>2]/2;break c}Qd(d,0);Sh(a);v[d+44>>2]=v[d+44>>2]/2}i:{if(v[d+180>>2]){break i}a=Sy(e);if(v[d+180>>2]|!a){break i}v[d+180>>2]=a}Ub[v[259708]](e);break b}if(v[d+180>>2]){break b}a=Sy(a);if(v[d+180>>2]|!a){break b}v[d+180>>2]=a;return d}return d}Wi(d);return 0}function lwa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:{b:{c:{c=v[b+492>>2];if(c){b=v[c+12>>2];v[a>>2]=v[c+8>>2];v[a+4>>2]=b;f=A[c+128>>3];A[a+24>>3]=f;g=A[c+136>>3];A[a+32>>3]=g;if(f>1){v[a+24>>2]=0;v[a+28>>2]=1072168960}if(g<-.5){v[a+32>>2]=0;v[a+36>>2]=-1076887552}b=v[c+16>>2];if(!b){b=0;break c}d=fc(8);v[299999]=0;b=Q(3064,d|0,b|0)|0;e=v[299999];v[299999]=0;if((e|0)!=1){break c}a=P()|0;O()|0;dc(d);T(a|0);L()}v[a+32>>2]=0;v[a+36>>2]=-1076887552;v[a+24>>2]=0;v[a+28>>2]=1072168960;v[a>>2]=-1;v[a+4>>2]=-1;v[a+8>>2]=0;v[a+12>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;break b}v[a+8>>2]=b;b=v[c+24>>2];v[a+16>>2]=0;v[a+20>>2]=0;v[a+12>>2]=b;if(Ub[v[v[c>>2]+8>>2]](c)|0){break b}b=0;while(1){d=v[((b<<2)+c|0)+164>>2];if(!(!d|w[d|0]!=109|w[d+1|0])){d=b;break a}d=b|1;e=v[((d<<2)+c|0)+164>>2];if(!(w[e+1|0]?1:!e|w[e|0]!=109)){break a}b=b+2|0;if((b|0)!=256){continue}break}}return a|0}A[a+16>>3]=A[(((d&255)<<3)+c|0)+1464>>3];return a|0}function Rea(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;v[a+24>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+12>>2]=c;v[a+8>>2]=b;v[a>>2]=996368;v[a+4>>2]=0;v[299999]=0;c=Z(4407,a+32|0,a+28|0,b+8|0,1)|0;b=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{if((b|0)!=1){b=v[a+8>>2];v[299999]=0;e=Z(4407,a+44|0,a+40|0,b+4|0,2)|0;b=v[299999];v[299999]=0;if((b|0)==1){break f}b=v[a+8>>2];v[299999]=0;f=Z(4407,a+56|0,a+52|0,b+4|0,2)|0;b=v[299999];v[299999]=0;if((b|0)==1){break e}v[a+64>>2]=0;v[a+68>>2]=0;d=a+72|0;v[d>>2]=0;v[d+4>>2]=0;v[299999]=0;Ah(c,1,0);b=v[299999];v[299999]=0;if((b|0)==1){break d}v[299999]=0;Ah(e,2,0);b=v[299999];v[299999]=0;if((b|0)==1){break d}v[299999]=0;Ah(f,2,0);b=v[299999];v[299999]=0;if((b|0)==1){break d}b=x[a+8>>1];u[v[a+40>>2]>>1]=b;u[v[a+52>>2]>>1]=b;return a|0}b=P()|0;O()|0;break a}b=P()|0;O()|0;break b}b=P()|0;O()|0;break c}b=P()|0;O()|0;ec(a+76|0);ec(d);ec(a+68|0);ec(a- -64|0);Lc(f)}Lc(e)}Lc(c)}Qc(a);T(b|0);L()}function QJa(a,b,c,d){a=a|0;b=b|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=B(v[b+36>>2],v[b+28>>2]);g=v[a+28>>2];i=(l<<1)-g|0;e=v[a+272>>2];if(!((i|0)<1|(e|0)<1)){h=e&3;b=0;if(e-1>>>0>=3){k=e&-4;while(1){e=b<<2;f=g+v[e+c>>2]|0;ic(f,w[f-1|0],i);f=g+v[(e|4)+c>>2]|0;ic(f,w[f-1|0],i);f=g+v[(e|8)+c>>2]|0;ic(f,w[f-1|0],i);f=g+v[(e|12)+c>>2]|0;ic(f,w[f-1|0],i);b=b+4|0;k=k-4|0;if(k){continue}break}}if(h){while(1){f=g+v[(b<<2)+c>>2]|0;ic(f,w[f-1|0],i);b=b+1|0;h=h-1|0;if(h){continue}break}}e=v[a+272>>2]}if(!((e|0)<1|!l)){f=l&-2;i=l&1;h=0;k=0;while(1){e=h<<2;b=v[e+c>>2];g=v[(k<<2)+d>>2];j=v[(e|4)+c>>2];e=f;if((l|0)!=1){while(1){t[g|0]=(w[j+1|0]+(w[j|0]+(w[b|0]+w[b+1|0]|0)|0)|0)+1>>>2;t[g+1|0]=(w[j+3|0]+(w[j+2|0]+(w[b+2|0]+w[b+3|0]|0)|0)|0)+2>>>2;j=j+4|0;b=b+4|0;g=g+2|0;e=e-2|0;if(e){continue}break}}if(i){t[g|0]=(w[j+1|0]+(w[j|0]+(w[b|0]+w[b+1|0]|0)|0)|0)+1>>>2}k=k+1|0;h=h+2|0;if((h|0)>2]){continue}break}}}function yua(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=Qb-16|0;Qb=d;v[d+12>>2]=0;e=ds(a);a=v[v[b>>2]+20>>2];v[299999]=0;a=Y(a|0,b|0,c|0,d+12|0)|0;b=v[299999];v[299999]=0;a:{if((b|0)!=1){b:{c:{d:{if(!a){break d}b=v[d+12>>2];a=v[b+4>>2];if(a>>>0>=4294967280){v[299999]=0;R(2530,d|0);a=v[299999];v[299999]=0;if((a|0)==1){break c}L()}b=v[b>>2];e:{f:{if(a>>>0>=11){v[299999]=0;f=a+16&-16;c=S(1,f|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break c}v[d>>2]=c;v[d+4>>2]=a;v[d+8>>2]=f|-2147483648;break f}t[d+11|0]=a;c=d;if(!a){break e}}gc(c,b,a)}t[a+c|0]=0;v[299999]=0;Q(4096,e|0,d|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break b}a=v[d+12>>2];if(a){g:{if(!w[a+8|0]){break g}b=v[a>>2];if(!b){break g}dc(b)}dc(a)}if(t[d+11|0]>-1){break d}dc(v[d>>2])}Qb=d+16|0;return}b=P()|0;O()|0;break a}b=P()|0;O()|0;if(t[d+11|0]>-1){break a}dc(v[d>>2]);break a}b=P()|0;O()|0}v[e>>2]=878696;a=v[e+4>>2];if(a){Ub[v[v[a>>2]+4>>2]](a)}T(b|0);L()}function mH(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!a){return 6}f=v[a>>2];a:{if(!f){break a}d=v[a+4>>2];if(d){j=b>>>0>d>>>0?d:b;f=d;while(1){b=0;g=65536;e=0;b:{if(!f){break b}while(1){c:{if(b>>>0>=j>>>0){g=g>>1;break c}e=v[(b<<2)+c>>2];e=i>>>b&1?e:65536-e|0;if((e|0)<1){g=0;e=f;break b}if((e|0)>65535){break c}g=Ac(g,e);d=v[a+4>>2]}f=d;e=d;b=b+1|0;if(d>>>0>b>>>0){continue}break}}b=v[a+136>>2]+(i<<2)|0;if(v[b>>2]!=(g|0)){v[b>>2]=g;h=1}f=e;i=i+1|0;if(i>>>0>2]){continue}break}break a}e=f&3;a=v[a+136>>2];d:{if(f-1>>>0<3){b=0;break d}f=f&-4;b=0;while(1){c=b<<2;d=c+a|0;if(v[d>>2]!=65536){v[d>>2]=65536;h=1}d=a+(c|4)|0;if(v[d>>2]!=65536){v[d>>2]=65536;h=1}d=a+(c|8)|0;if(v[d>>2]!=65536){v[d>>2]=65536;h=1}c=a+(c|12)|0;if(v[c>>2]!=65536){v[c>>2]=65536;h=1}b=b+4|0;f=f-4|0;if(f){continue}break}}if(!e){break a}while(1){c=a+(b<<2)|0;if(v[c>>2]!=65536){v[c>>2]=65536;h=1}b=b+1|0;e=e-1|0;if(e){continue}break}}return h?0:-1}function OH(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;h=Qb-32|0;Qb=h;a:{if(!b){b=6;break a}i=v[a>>2];g=Ub[v[i+4>>2]](i,40)|0;if(!g){Ub[v[i+8>>2]](i,b);b=64;break a}t[g+28|0]=0;t[g+29|0]=0;t[g+30|0]=0;t[g+31|0]=0;t[g+32|0]=0;t[g+33|0]=0;t[g+34|0]=0;t[g+35|0]=0;t[g+20|0]=0;t[g+21|0]=0;t[g+22|0]=0;t[g+23|0]=0;t[g+24|0]=0;t[g+25|0]=0;t[g+26|0]=0;t[g+27|0]=0;t[g+12|0]=0;t[g+13|0]=0;t[g+14|0]=0;t[g+15|0]=0;t[g+16|0]=0;t[g+17|0]=0;t[g+18|0]=0;t[g+19|0]=0;v[g+8>>2]=0;v[g+4>>2]=c;v[g>>2]=b;t[g+36|0]=0;t[g+37|0]=0;t[g+38|0]=0;t[g+39|0]=0;v[g+32>>2]=0;v[g+24>>2]=1678;v[g+20>>2]=0;v[h+16>>2]=g;v[h>>2]=2;if(e){v[h>>2]=10;b=v[a+16>>2];b:{if((b|0)<1){c=0;break b}j=((b<<2)+a|0)+20|0;b=a+20|0;while(1){c=v[b>>2];if(!mc(v[v[c>>2]+8>>2],e)){break b}b=b+4|0;if(j>>>0>b>>>0){continue}break}c=0}v[h+20>>2]=c}b=S_(a,h,d,f,0);if(!b){a=v[f>>2];v[a+8>>2]=v[a+8>>2]&-1025;b=0;break a}a=v[g+24>>2];if(a){Ub[a|0](g)}Ub[v[i+8>>2]](i,g)}Qb=h+32|0;return b}function RPa(a){a=a|0;var b=0,c=0,d=0,e=0;v[a+2228508>>2]=1;if(!(A[a+56>>3]!=1|A[a- -64>>3]!=0|(A[a+72>>3]!=0|A[a+80>>3]!=1))){v[a+2228508>>2]=0;c=v[a+2228504>>2];if(c){d=c;b=A[c+8>>3]*65536;a:{if(D(b)<2147483648){e=~~b;break a}e=-2147483648}v[d+212>>2]=e;d=c;b=A[c+16>>3]*65536;b:{if(D(b)<2147483648){e=~~b;break b}e=-2147483648}v[d+220>>2]=e;d=c;b=A[c+24>>3]*65536;c:{if(D(b)<2147483648){e=~~b;break c}e=-2147483648}v[d+216>>2]=e;d=c;b=A[c+32>>3]*65536;d:{if(D(b)<2147483648){e=~~b;break d}e=-2147483648}v[d+224>>2]=e;Bs(v[c+180>>2],c+212|0,0)}c=a;b=A[a+8>>3]*65536;e:{if(D(b)<2147483648){d=~~b;break e}d=-2147483648}v[c+212>>2]=d;c=a;b=A[a+16>>3]*65536;f:{if(D(b)<2147483648){d=~~b;break f}d=-2147483648}v[c+220>>2]=d;c=a;b=A[a+24>>3]*65536;g:{if(D(b)<2147483648){d=~~b;break g}d=-2147483648}v[c+216>>2]=d;c=a;b=A[a+32>>3]*65536;h:{if(D(b)<2147483648){d=~~b;break h}d=-2147483648}v[c+224>>2]=d;Bs(v[a+180>>2],a+212|0,0)}}function mi(a){var b=0,c=0,d=0,e=0,f=0;a:{if(!a){break a}b:{switch(w[a|0]-97|0){case 11:b=231561;if((a|0)==231561){return 1038844}c=108;while(1){if(c){d=w[b+1|0];b=b+1|0;a=a+1|0;c=w[a|0];if((d|0)==(c|0)){continue}break a}break};return 1038844;case 6:b=232432;if((a|0)==232432){return 1038920}c=103;while(1){if(c){d=w[b+1|0];b=b+1|0;a=a+1|0;c=w[a|0];if((d|0)==(c|0)){continue}break a}break};return 1038920;case 0:b=242513;if((a|0)==242513){return 1038996}c=97;d=a;c:{while(1){if(c){e=w[b+1|0];b=b+1|0;d=d+1|0;c=w[d|0];if((e|0)==(c|0)){continue}break c}break}return 1038996}b=235218;if((a|0)==235218){return 1039072}c=97;while(1){if(!c){return 1039072}d=w[b+1|0];b=b+1|0;a=a+1|0;c=w[a|0];if((d|0)==(c|0)){continue}break};break a;case 16:break b;default:break a}}b=227629;d:{if((a|0)==227629){break d}c=113;while(1){if(!c){break d}d=w[b+1|0];b=b+1|0;a=a+1|0;c=w[a|0];if((d|0)==(c|0)){continue}break}break a}f=1039148}return f}function kS(a){var 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;e=v[a+28>>2];i=v[a+140>>2]>>>e|0;h=-1<>2]>>>e|0;k=v[a+180>>2];l=v[a+188>>2];m=v[a+200>>2];n=v[a+156>>2];o=v[a+164>>2];p=v[a+192>>2];q=v[a+160>>2];r=v[a+168>>2];f=v[a+224>>2];while(1){if(f>>>0>>0){c=v[a+220>>2];b=(B(((f<>>0)/(q>>>0)|0,p)+(((c<>>0)/(n>>>0)|0)<<6)+m|0;g=v[a+228>>2];d=v[b+60>>2]+B(g,88)|0;s=v[v[d+76>>2]+(B(v[d+68>>2],(f-(v[b+20>>2]+h>>>e|0)>>>0)/y[d+12>>2]|0)+((c-(v[b+16>>2]+h>>>e|0)>>>0)/y[d+8>>2]|0)<<2)>>2];d=v[d+4>>2];g=g+1|0;v[a+228>>2]=g;b=1;a:{if((g|0)!=(l|0)){break a}v[a+228>>2]=0;c=c+1|0;v[a+220>>2]=c;b=1;if((c|0)!=(i|0)){break a}v[a+220>>2]=k;f=f+1|0;v[a+224>>2]=f;b=0}c=d+v[a+236>>2]|0;v[a+236>>2]=c;d=((d|0)==8?255:-1<>2]<>2]=d;b:{if(b){break b}b=c&7;if(!b){break b}b=8-b|0;c=b+c|0;v[a+236>>2]=c;v[a+232>>2]=d<>>0<8){continue}}break}} +function RJa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=v[b>>2];h=v[d>>2];if(((h|0)%2|0)==1){h=h-1|0;v[d>>2]=h}f=a;g=c;l=g+((h|0)/2<<1)|0;a:{if(g>>>0>=l>>>0){break a}k=a+e|0;e=a;h=c;while(1){g=h;f=e;j=f-a|0;if(v[b>>2]<=(j+5|0)){break a}h=g+2|0;b:{c:{i=x[g>>1];if((i&64512)==55296){if(h>>>0>=l>>>0){break a}e=x[h>>1];if((e&64512)!=56320){break c}i=(i<<10&1047552|e&1023)+65536|0;h=g+4|0}if(f>>>0>=k>>>0){break a}if(i>>>0<=127){t[f|0]=i;e=f+1|0;break b}d:{if(i>>>0<=2047){e=i>>>6|-64;m=0;j=0;g=0;break d}if(i>>>0<=65535){e=i>>>12|-32;j=0;m=1;g=6;break d}e=i>>>18|-16;m=1;j=1;g=12}t[f|0]=e;e=f+1|0;if(k>>>0<=e>>>0){break b}t[f+1|0]=i>>>g&63|128;e=f+2|0;if(!(k>>>0>e>>>0&m)){break b}t[f+2|0]=i>>>g-6&63|128;e=f+3|0;if(!(k>>>0>e>>>0&j)){break b}t[f+3|0]=i>>>g-12&63|128;e=f+4|0;break b}v[b>>2]=j;v[d>>2]=g-c;return-2}if(h>>>0>>0){continue}break}f=e;g=h}v[b>>2]=f-a;v[d>>2]=g-c;return v[b>>2]}function s6a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=Qb-48|0;Qb=d;f=x[a+26326>>1];e=x[a+26324>>1];g=B(f,e);v[a+26080>>2]=g;c=v[a+26092>>2]>>>5&7;v[a+26336>>2]=c;g=bd(c,g);if(!g){b=v[a+190640>>2];a:{if(b){c=v[a+25208>>2];v[d+20>>2]=33955;v[d+16>>2]=c;zd(b,4338,d+16|0);break a}b=v[a+25208>>2];v[d+4>>2]=33955;v[d>>2]=b;wc(v[252391],4338,d)}sd(a+190484|0,1);L()}v[d+40>>2]=f;v[d+36>>2]=e;v[d+32>>2]=(c>>>1|0)+5;wc(b,35540,d+32|0);Ub[v[v[a>>2]>>2]](v[a+4>>2],g,v[a+26080>>2],v[a+26336>>2])|0;c=v[a+26080>>2];b:{if((c|0)<1){break b}e=v[a+26336>>2];if((e|0)<1){break b}f=0;while(1){if((e|0)>=1){ff(t[g+(B(t[(v[a+26092>>2]>>>6&67108860)+196176|0]-48|0,c)+f|0)|0],b);c=1;e=v[a+26336>>2];if((e|0)>=2){while(1){ff(t[g+(B(v[a+26080>>2],t[((v[a+26092>>2]>>>6&67108860)+c|0)+196176|0]-48|0)+f|0)|0],b);c=c+1|0;e=v[a+26336>>2];if((c|0)<(e|0)){continue}break}}c=v[a+26080>>2]}f=f+1|0;if((f|0)<(c|0)){continue}break}}dc(g);Qb=d+48|0}function poa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Qb-32|0;Qb=c;v[c+16>>2]=0;v[299999]=0;v[c+20>>2]=v[282402];d=S(4464,b+8|0)|0;e=v[299999];v[299999]=0;a:{b:{if((e|0)==1){break b}v[c>>2]=b;v[299999]=0;v[c+4>>2]=d;b=Y(4635,c+16|0,322543,c|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break b}v[a>>2]=0;v[a+4>>2]=v[282402];b=v[b>>2];c:{if(b){d=v[v[b>>2]+28>>2];v[299999]=0;U(d|0,c+24|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break c}b=P()|0;O()|0;ec(a);break a}v[c+24>>2]=0}v[299999]=0;Q(4344,a|0,c+24|0)|0;b=v[299999];v[299999]=0;d:{if((b|0)!=1){b=v[c+24>>2];v[c+24>>2]=0;if(!b){break d}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)!=1){if(d){break d}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break d}}W(0)|0;O()|0;lc();L()}b=P()|0;O()|0;ec(c+24|0);ec(a);break a}b=a;a=v[a>>2];v[b+4>>2]=v[(a?a+12|0:1129608)>>2];ec(c+16|0);Qb=c+32|0;return}b=P()|0;O()|0}ec(c+16|0);T(b|0);L()}function Qhb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;b=-1;a:{d=v[c+8>>2];b:{if(d&7){break b}b=v[c+64>>2];if(!((b|0)<0|(b|0)>v[c+60>>2])){break a}b=-1;d=v[c+28>>2];v[c+28>>2]=d-1;c:{if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=v[c+24>>2];v[c+24>>2]=b+1;d=w[b|0];break c}d=Hc(c,1);if((d|0)==-1){break b}}t[a+12|0]=d;b=-1;d=v[c+8>>2];if(d&7){break b}b=v[c+64>>2];if(!((b|0)<0|(b|0)>v[c+60>>2])){break a}b=-1;d=v[c+28>>2];v[c+28>>2]=d-1;d:{if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=v[c+24>>2];v[c+24>>2]=b+1;d=w[b|0];break d}d=Hc(c,1);if((d|0)==-1){break b}}t[a+13|0]=d;b=-1;if(Of(c,a+16|0)){break b}d=v[c+8>>2];if(d&7){break b}b=v[c+64>>2];if(!((b|0)<0|(b|0)>v[c+60>>2])){break a}b=-1;d=v[c+28>>2];v[c+28>>2]=d-1;e:{if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=v[c+24>>2];v[c+24>>2]=b+1;d=w[b|0];break e}d=Hc(c,1);if((d|0)==-1){break b}}t[a+20|0]=d;b=-1;if(M2(c,t[a+12|0]&1,a+24|0)){break b}b=0-(v[c+8>>2]&1)|0}return b|0}v[c+8>>2]=d|4;return-1}function Lna(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;f=Qb-16|0;Qb=f;g=pr(172);v[299999]=0;h=S(4820,g|0)|0;i=v[299999];v[299999]=0;a:{b:{c:{d:{if((i|0)!=1){v[a>>2]=0;Wc(a,g);i=v[v[g>>2]+56>>2];v[299999]=0;V(i|0,h|0,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break d}g=v[v[g>>2]+60>>2];d=0;v[299999]=0;V(g|0,h|0,e|0);e=v[299999];v[299999]=0;if((e|0)==1){break d}e=v[c>>2];if(e){v[299999]=0;v[e+4>>2]=v[e+4>>2]+1;d=v[299999];v[299999]=0;if((d|0)==1){break d}d=v[c>>2]}v[299999]=0;v[f+8>>2]=d;U(4821,h|0,b|0,f+8|0);b=v[299999];v[299999]=0;if((b|0)==1){break c}a=v[f+8>>2];v[f+8>>2]=0;e:{if(!a){break e}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break e}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Qb=f+16|0;return}a=P()|0;O()|0;Wk(g);T(a|0);L()}d=P()|0;O()|0;break b}d=P()|0;O()|0;ec(f+8|0)}ec(a);T(d|0);L()}W(0)|0;O()|0;lc();L()}function Khb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=a+12|0;a:{b:{c:{if(y[b>>2]<=256){b=-1;d=v[c+8>>2];if(d&7){break b}b=v[c+64>>2];if(!((b|0)<0|(b|0)>v[c+60>>2])){break a}b=-1;d=v[c+28>>2];v[c+28>>2]=d-1;d:{if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=v[c+24>>2];v[c+24>>2]=b+1;d=w[b|0];break d}d=Hc(c,1);if((d|0)==-1){break b}}v[e>>2]=d&255;break c}b=-1;if(Of(c,e)){break b}}b=-1;d=v[c+8>>2];if(d&7){break b}b=v[c+64>>2];if(!((b|0)<0|(b|0)>v[c+60>>2])){break a}b=-1;d=v[c+28>>2];v[c+28>>2]=d-1;e:{if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=v[c+24>>2];v[c+24>>2]=b+1;d=w[b|0];break e}d=Hc(c,1);if((d|0)==-1){break b}}t[a+16|0]=d;b=-1;a=v[c+8>>2];if(a&7){break b}b=v[c+64>>2];if(!((b|0)<0|(b|0)>v[c+60>>2])){v[c+8>>2]=a|4;return-1}b=-1;a=v[c+28>>2];v[c+28>>2]=a-1;f:{if((a|0)>=1){v[c+60>>2]=v[c+60>>2]+1;a=v[c+24>>2];v[c+24>>2]=a+1;c=w[a|0];break f}c=Hc(c,1);if((c|0)==-1){break b}}t[e+5|0]=c;b=0}return b|0}v[c+8>>2]=d|4;return-1}function jE(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=b;b=8-c|0;h=1<>2]=i;f=-1<<16-c^-1;a:{if(d-95e3>>>0>1e4){l=+(d|0)*1e-5;m=+(f>>>0);d=0;while(1){e=ug(a,512);v[(d<<2)+i>>2]=e;c=0;while(1){g=e+(c<<1)|0;j=H(de(+((c<>>0)/m,l)*65535+.5);b:{if(j<4294967296&j>=0){f=~~j>>>0;break b}f=0}u[g>>1]=f;c=c+1|0;if((c|0)!=256){continue}break}d=d+1|0;if((h|0)!=(d|0)){continue}break}break a}d=0;if(!c){while(1){f=ug(a,512);v[(d<<2)+i>>2]=f;c=0;while(1){u[f+(c<<1)>>1]=(c<>1]=(e<>1]=(e<>1]=(e<>2]=g;c=0;while(1){u[(c<<1)+g>>1]=(e+B((c<>>0)/(f>>>0);k=c|1;u[(k<<1)+g>>1]=(e+B((k<>>0)/(f>>>0);c=c+2|0;if((c|0)!=256){continue}break}d=d+1|0;if((h|0)!=(d|0)){continue}break}}}function hc(a){a=a|0;var b=0,c=0,d=0,e=0;a:{b:{switch(v[a>>2]-3|0){case 0:b=v[a+8>>2];if(!b){break a}dc(Dc(b));break a;case 1:uc(v[a+8>>2]);break a;case 3:b=v[a+8>>2];c=v[b+16>>2]-1|0;v[b+16>>2]=c;if(c){break a}b=v[a+8>>2];if(!b){break a}dc(zT(b));break a;case 4:b=v[a+8>>2];c=v[b+20>>2]-1|0;v[b+20>>2]=c;if(c){break a}b=v[a+8>>2];if(!b){break a}c:{d:{if(v[b+16>>2]>=1){while(1){e=d<<5;c=v[e+v[b+4>>2]>>2];v[299999]=0;uc(c);c=v[299999];v[299999]=0;if((c|0)==1){break d}c=v[b+4>>2];v[299999]=0;R(3098,(c+e|0)+8|0);c=v[299999];v[299999]=0;if((c|0)==1){break d}d=d+1|0;if((d|0)>2]){continue}break}}c=v[b+4>>2];v[299999]=0;uc(c);c=v[299999];v[299999]=0;if((c|0)==1){break d}c=v[b+8>>2];v[299999]=0;uc(c);c=v[299999];v[299999]=0;if((c|0)==1){break d}break c}W(0)|0;O()|0;lc();L()}dc(b);break a;case 5:b=v[a+8>>2];if(!b){break a}Ub[v[v[b>>2]+4>>2]](b);break a;case 7:break b;default:break a}}uc(v[a+8>>2])}v[a>>2]=13}function M$a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=Qb+-64|0;Qb=e;v[e+60>>2]=0;h=b+108|0;g=v[a+8>>2];a:{b:{c:{d:{if(v[b+72>>2]!=v[a+16>>2]){v[e+60>>2]=6;break d}i=19;if((c|0)!=2){break a}if(t[v[b+156>>2]+4|0]&1){c=v[b+88>>2];if(c){Ub[v[g+8>>2]](g,c)}v[b+88>>2]=0;c=v[b+156>>2];v[c+4>>2]=v[c+4>>2]&-2}if(aI(b,2,d)){v[e+60>>2]=98;break d}j=b,k=Cc(g,v[b+84>>2],0,v[b+76>>2],0,e+60|0),v[j+88>>2]=k;c=0;if(v[e+60>>2]){break c}c=v[b+156>>2];v[c+4>>2]=v[c+4>>2]|1;f=v[b+76>>2]-v[b+104>>2]<<6;c=0-(v[b+100>>2]<<6)|0;if(d){f=v[d+4>>2]+f|0;c=v[d>>2]+c|0}if(c|f){dh(h,c,f)}v[e+16>>2]=0;v[e+12>>2]=h;v[e+8>>2]=b+76;a=Ub[v[a+56>>2]](v[a+52>>2],e+8|0)|0;v[e+60>>2]=a;if(a){break c}v[b+72>>2]=1651078259;break b}c=0}if(!(t[v[b+156>>2]+4|0]&1)){break b}a=v[b+88>>2];if(a){Ub[v[g+8>>2]](g,a)}v[b+88>>2]=0;a=v[b+156>>2];v[a+4>>2]=v[a+4>>2]&-2}if(c|f){dh(h,0-c|0,0-f|0)}i=v[e+60>>2]}a=i;Qb=e- -64|0;return a|0}function Dja(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=Qb-16|0;Qb=d;if(!w[a+88|0]){l=a,m=Ub[v[v[a>>2]+36>>2]](a)|0,v[l+72>>2]=m;l=a,m=Ub[v[v[a>>2]+44>>2]](a)|0,v[l+76>>2]=m;l=a,m=Ub[v[v[a>>2]+40>>2]](a)|0,v[l+80>>2]=m;e=Ub[v[v[a>>2]+48>>2]](a)|0;t[a+88|0]=1;v[a+84>>2]=e}v[d>>2]=v[a+124>>2];v[d+8>>2]=v[a+132>>2];v[d+4>>2]=v[a+128>>2];v[d+12>>2]=v[a+136>>2];lr(b,d);f=v[d>>2];v[a+124>>2]=f;c=v[d+4>>2];v[a+128>>2]=c;e=v[d+8>>2];v[a+132>>2]=e;h=v[d+12>>2];b=(e-f|0)/2|0;v[a+100>>2]=b;t[a+88|0]=0;v[a+136>>2]=h;g=(h-c|0)/2|0;v[a+104>>2]=g;f=(f+e|0)/2|0;i=(c+h|0)/2|0;a:{if((b|0)>(g|0)){e=f;j=K(+(B(b,b)-B(g,g)|0));b:{if(D(j)<2147483648){c=~~j;break b}c=-2147483648}h=e-c|0;f=f+c|0;e=g;c=i;break a}j=K(+(B(g,g)-B(b,b)|0));c:{if(D(j)<2147483648){c=~~j;break c}c=-2147483648}k=c;c=k+i|0;e=b;b=g;h=f;i=i-k|0}v[a+120>>2]=i;v[a+116>>2]=h;v[a+108>>2]=f;v[a+92>>2]=b;v[a+96>>2]=e;v[a+112>>2]=c;Qb=d+16|0}function Cja(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=Qb-16|0;Qb=d;if(!w[a+88|0]){l=a,m=Ub[v[v[a>>2]+36>>2]](a)|0,v[l+72>>2]=m;l=a,m=Ub[v[v[a>>2]+44>>2]](a)|0,v[l+76>>2]=m;l=a,m=Ub[v[v[a>>2]+40>>2]](a)|0,v[l+80>>2]=m;e=Ub[v[v[a>>2]+48>>2]](a)|0;t[a+88|0]=1;v[a+84>>2]=e}v[d>>2]=v[a+124>>2];v[d+8>>2]=v[a+132>>2];v[d+4>>2]=v[a+128>>2];v[d+12>>2]=v[a+136>>2];EO(b,d);f=v[d>>2];v[a+124>>2]=f;c=v[d+4>>2];v[a+128>>2]=c;e=v[d+8>>2];v[a+132>>2]=e;h=v[d+12>>2];b=(e-f|0)/2|0;v[a+100>>2]=b;t[a+88|0]=0;v[a+136>>2]=h;g=(h-c|0)/2|0;v[a+104>>2]=g;f=(f+e|0)/2|0;i=(c+h|0)/2|0;a:{if((b|0)>(g|0)){e=f;j=K(+(B(b,b)-B(g,g)|0));b:{if(D(j)<2147483648){c=~~j;break b}c=-2147483648}h=e-c|0;f=f+c|0;e=g;c=i;break a}j=K(+(B(g,g)-B(b,b)|0));c:{if(D(j)<2147483648){c=~~j;break c}c=-2147483648}k=c;c=k+i|0;e=b;b=g;h=f;i=i-k|0}v[a+120>>2]=i;v[a+116>>2]=h;v[a+108>>2]=f;v[a+92>>2]=b;v[a+96>>2]=e;v[a+112>>2]=c;Qb=d+16|0}function mxa(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;if((c|0)<1){return 0}i=a+8|0;d=v[a+136>>2];while(1){a:{k=b+g|0;f=v[a+140>>2];if(f>>>0<=d>>>0){if(v[a+144>>2]){break a}d=v[a+4>>2];e=Ub[v[v[d>>2]+28>>2]](d)|0;if(!((e|0)!=128&(e|0)!=-1)){v[a+144>>2]=1;return g|0}b:{if((e|0)<=127){h=e+1|0;if((e|0)<0){break b}d=e+1|0;l=d&1;c:{if(!e){d=0;break c}f=d&-2;d=0;while(1){j=a+8|0;e=v[a+4>>2];m=j+d|0,n=Ub[v[v[e>>2]+28>>2]](e)|0,t[m|0]=n;e=v[a+4>>2];m=(d|1)+j|0,n=Ub[v[v[e>>2]+28>>2]](e)|0,t[m|0]=n;d=d+2|0;f=f-2|0;if(f){continue}break}}if(!l){break b}e=a+d|0;d=v[a+4>>2];m=e,n=Ub[v[v[d>>2]+28>>2]](d)|0,t[m+8|0]=n;break b}h=257-e|0;d=v[a+4>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((e|0)>256){break b}ic(i,d,(h|0)>1?h:1)}v[a+136>>2]=i;f=(a+h|0)+8|0;v[a+140>>2]=f;d=i}h=d;e=c-g|0;d=f-d|0;e=(d|0)>(e|0)?e:d;gc(k,h,e);d=e+v[a+136>>2]|0;v[a+136>>2]=d;g=e+g|0;if((g|0)<(c|0)){continue}}break}return g|0}function gs(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;f=Qb+-64|0;Qb=f;a:{if(v[d>>2]>0){break a}if(!(!c|b?(c|0)>=-1:0)){v[d>>2]=1;break a}if((c|0)<=-1){c=Bc(b)}if((c|0)<1){break a}g=v[a>>2];e=v[a+52>>2];h=g+e|0;if((h|0)==(b|0)){if((v[a+4>>2]-e|0)<=(c|0)){v[d>>2]=5;break a}b=c+e|0;v[a+52>>2]=b;t[b+g|0]=0;break a}if(!(b>>>0>>0|b>>>0>=h>>>0|(v[a+4>>2]-e|0)>(c|0))){e=f+8|0;v[e+52>>2]=0;v[e+4>>2]=40;u[e+8>>1]=0;v[e>>2]=e+9;v[299999]=0;Z(2748,e|0,b|0,c|0,d|0)|0;c=v[299999];v[299999]=0;b=e;if((c|0)==1){a=P()|0;O()|0;b:{c:{if(w[e+8|0]){b=v[e>>2];v[299999]=0;R(2744,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break c}}break b}W(0)|0;O()|0;lc();L()}T(a|0);L()}v[299999]=0;a=Y(2894,a|0,b|0,d|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){bn(b);break a}a=P()|0;O()|0;bn(b);T(a|0);L()}if(!aW(a,(c+e|0)+1|0,d)){break a}gc(v[a>>2]+v[a+52>>2]|0,b,c);b=v[a+52>>2]+c|0;v[a+52>>2]=b;t[b+v[a>>2]|0]=0}Qb=f- -64|0;return a|0}function dhb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:{b:{c:{c=v[a+84>>2]-4|0;if(c){if((c|0)==12){break c}else{break a}}e=v[a+64>>2];d=v[e+20>>2];if((d|0)<1){break b}c=v[e+24>>2];while(1){a=v[c>>2];if(!(a&8)){v[c>>2]=a|2;a=v[b+16>>2];if((a|0)>=1){g=v[b+20>>2];d=0;while(1){a=d<<2;v[(a+c|0)+16>>2]=v[a+g>>2];a=v[b+16>>2];d=d+1|0;if((a|0)>(d|0)){continue}break}d=v[e+20>>2]}v[c+12>>2]=a;t[c+416|0]=w[b+24|0];t[c+9|0]=w[b+12|0]}c=c+488|0;f=f+1|0;if((f|0)<(d|0)){continue}break}break b}d=-1;a=v[a+52>>2];if(!a|v[a+40>>2]>0){break a}e=v[a+32>>2];d=v[e+20>>2];if((d|0)<1){break b}c=v[e+24>>2];while(1){a=v[c>>2];if(!(a&8)){v[c>>2]=a|2;a=v[b+16>>2];if((a|0)>=1){g=v[b+20>>2];d=0;while(1){a=d<<2;v[(a+c|0)+16>>2]=v[a+g>>2];a=v[b+16>>2];d=d+1|0;if((a|0)>(d|0)){continue}break}d=v[e+20>>2]}v[c+12>>2]=a;t[c+416|0]=w[b+24|0];t[c+9|0]=w[b+12|0]}c=c+488|0;f=f+1|0;if((f|0)<(d|0)){continue}break}}v[e>>2]=v[e>>2]|2;d=0}return d|0}function Tka(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;v[a+20>>2]=0;v[a>>2]=985012;v[a+4>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;u[a+16>>1]=0;v[299999]=0;f=Z(4407,a+28|0,a+24|0,0,1)|0;d=v[299999];v[299999]=0;a:{b:{c:{d:{e:{f:{g:{h:{if((d|0)!=1){v[299999]=0;d=Z(4407,a+40|0,a+36|0,0,1)|0;e=v[299999];v[299999]=0;if((e|0)==1){break h}v[299999]=0;e=Z(4407,a+52|0,a+48|0,0,4)|0;g=v[299999];v[299999]=0;if((g|0)==1){break e}v[a+68>>2]=0;v[a+60>>2]=0;v[a+64>>2]=0;v[299999]=0;U(5063,a|0,b|0,c|0);b=v[299999];v[299999]=0;if((b|0)!=1){break f}b=W(0)|0;O()|0;ea(b|0)|0;v[299999]=0;R(5057,a|0);b=v[299999];v[299999]=0;if((b|0)==1){break g}v[299999]=0;ba(4483);b=v[299999];v[299999]=0;if((b|0)==1){break g}L()}b=P()|0;O()|0;break b}b=P()|0;O()|0;break c}b=P()|0;O()|0;v[299999]=0;ba(4230);c=v[299999];v[299999]=0;if((c|0)==1){break a}ec(a+68|0);Lc(e);break d}return a|0}b=P()|0;O()|0}Lc(d)}Lc(f)}Qc(a);T(b|0);L()}W(0)|0;O()|0;lc();L()}function Bgb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=v[a+8>>2];h=v[v[a+44>>2]+88>>2];d=v[a+52>>2];i=Ub[v[v[d>>2]+20>>2]](d,2)|0;b=Ub[v[v[d>>2]+20>>2]](d,1)|0;c=B(g,1876)+h|0;v[c+1460>>2]=1;e=i-3|0;a:{if(!b){b=jc(e);if(!b){v[(B(g,1876)+h|0)+1452>>2]=0;v[v[a>>2]+20>>2]=1;return}a=0;f=ic(b,0,e);b=B(g,1876)+h|0;v[b+1464>>2]=0;v[b+1456>>2]=f;v[b+1452>>2]=f;b=e;break a}f=v[c+1464>>2]+e|0;b=jc(f);if(!b){v[v[a>>2]+20>>2]=1;return}j=B(g,1876)+h|0;f=gc(ic(b,0,f),v[j+1452>>2],e);b=j+1452|0;a=v[j+1452>>2];if(a){dc(a);v[b>>2]=0}v[b>>2]=f;v[j+1456>>2]=f;a=v[c+1464>>2];b=e+a|0}c=B(g,1876)+h|0;v[c+1468>>2]=b;f=c+1464|0;b:{if((i|0)<4){break b}c=c+1452|0;if(!(i&1)){b=Ub[v[v[d>>2]+20>>2]](d,1)|0;t[v[c>>2]+a|0]=b;e=i-4|0;a=a+1|0}if((i|0)==4){break b}while(1){b=Ub[v[v[d>>2]+20>>2]](d,1)|0;t[v[c>>2]+a|0]=b;b=Ub[v[v[d>>2]+20>>2]](d,1)|0;t[(v[c>>2]+a|0)+1|0]=b;a=a+2|0;b=(e|0)>2;e=e-2|0;if(b){continue}break}}v[f>>2]=a}function tza(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=Qb-128|0;Qb=e;a:{b:{if(b){d=w[b|0];if((d|0)!=49){v[a+204>>2]=v[a+204>>2]|131072;d=w[b|0]}if(!d){break b}c=w[b+1|0];if((c|0)!=46){v[a+204>>2]=v[a+204>>2]|131072;c=w[b+1|0]}d=((c|0)==46)+((d|0)==46)|0;if(!c|d>>>0>1){break b}c=w[b+2|0];if((c|0)!=53){v[a+204>>2]=v[a+204>>2]|131072;c=w[b+2|0]}d=d+((c|0)==46)|0;if(!c|d>>>0>1){break b}c=w[b+3|0];if((c|0)!=46){v[a+204>>2]=v[a+204>>2]|131072;c=w[b+3|0]}d=d+((c|0)==46)|0;if(!c|d>>>0>1){break b}c=w[b+4|0];if((c|0)!=50){v[a+204>>2]=v[a+204>>2]|131072;c=w[b+4|0]}d=d+((c|0)==46)|0;if(!c|d>>>0>1){break b}c=w[b+5|0];if((c|0)!=54){v[a+204>>2]=v[a+204>>2]|131072;c=w[b+5|0]}if(!w[b+6|0]|(!c|d+((c|0)==46)>>>0>1)){break b}v[a+204>>2]=v[a+204>>2]|131072;break b}d=v[a+204>>2]|131072;v[a+204>>2]=d;break a}d=v[a+204>>2]}c=1;if(d&131072){Lp(e,128,Lp(e,128,Lp(e,128,Lp(e,128,0,14443),b),17069),11262);Gc(a,e);c=0}Qb=e+128|0;return c|0}function tP(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=v[a+8>>2]?212:172;b=v[a+12>>2];if(b){c=(Ub[v[v[b>>2]+24>>2]](b)|0)+c|0}d=v[a+20>>2];if(d){h=Qb-32|0;Qb=h;g=v[d+44>>2];e=v[d+40>>2];b=B(g-e|0,12)+84|0;a:{if((e|0)>(g|0)){break a}while(1){f=v[(v[d+28>>2]+B(e-v[d+32>>2]|0,12)|0)+4>>2];if(f){b=((v[f+20>>2]?(x[f+12>>1]+B(x[f+14>>1],x[f+8>>1])|0)+72|0:72)+(v[f+36>>2]?v[f+60>>2]:0)|0)+b|0;g=v[d+44>>2]}if((e|0)>=(g|0)){break a}e=e+1|0;if((e|0)>=v[d+40>>2]){continue}break}a=vc(h+8|0,227445,271729,632,308150,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)==1){b=P()|0;O()|0;qc(a);T(b|0)}L()}Qb=h+32|0;c=(((v[d+100>>2]-v[d+96>>2]<<3)+b|0)+44|0)+c|0}b=v[a+28>>2];if(b){c=(B(B(x[b+8>>1],x[b+10>>1]),3)+c|0)+24|0}b=v[a+32>>2];if(b){c=((v[b+60>>2]-v[b+56>>2]<<2)+c|0)+4|0}b=v[a+36>>2];if(b){c=(Ub[v[v[b>>2]+28>>2]](b)|0)+c|0}b=v[a+44>>2];if(b){c=(Ub[v[v[b>>2]+28>>2]](b)|0)+c|0}return(v[a+48>>2]?c+1024|0:c)|0}function oXa(a){a=a|0;var b=0,c=0;if(a){c=v[a+100>>2];b=v[a+504>>2];if(b){dA(b)}b=v[a+132>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+132>>2]=0;b=v[a+136>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+136>>2]=0;b=v[a+140>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+140>>2]=0;b=v[a+144>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+144>>2]=0;b=v[a+148>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+148>>2]=0;b=v[a+432>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+432>>2]=0;b=v[a+428>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+428>>2]=0;b=v[a+424>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+424>>2]=0;b=v[a+396>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+396>>2]=0;b=v[a+400>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+400>>2]=0;b=v[a+384>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+384>>2]=0;b=v[a+388>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+388>>2]=0;b=v[a+364>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+364>>2]=0;b=v[a+496>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+496>>2]=0;b=v[a+560>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+556>>2]=0;v[a+560>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0}}function gN(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=Qb-32|0;Qb=h;f=d&2147483647;g=f;e=f-1065418752|0;i=f-1082064896|0;f=c;a:{if((e|0)==(i|0)&f>>>0>>0|e>>>0>>0){g=(d&33554431)<<7|c>>>25;f=0;j=f;i=c&33554431;if(!(!f&(i|0)==16777216?!(a|b):!f&i>>>0<16777216)){e=g+1073741825|0;break a}e=g+1073741824|0;if(i^16777216|a|(b|j)){break a}e=(g&1)+e|0;break a}if(!(!f&(g|0)==2147418112?!(a|b):g>>>0<2147418112)){e=((d&33554431)<<7|c>>>25)&4194303|2143289344;break a}e=2139095040;if(g>>>0>1082064895){break a}e=0;f=g>>>16|0;if(f>>>0<16145){break a}g=c;e=d&65535|65536;Oh(h+16|0,a,b,g,e,f-16129|0);qp(h,a,b,g,e,16257-f|0);b=v[h+8>>2];e=(v[h+12>>2]&33554431)<<7|b>>>25;g=v[h+4>>2];f=g;a=0;i=a;j=v[h>>2]|((v[h+16>>2]|v[h+24>>2])!=0|(v[h+20>>2]|v[h+28>>2])!=0);b=b&33554431;if(!(!a&(b|0)==16777216?!(f|j):!a&b>>>0<16777216)){e=e+1|0;break a}if(b^16777216|j|(f|i)){break a}e=(e&1)+e|0}Qb=h+32|0;return l(2,d&-2147483648|e),p()}function KEa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=Qb-16|0;Qb=e;c=-1;a:{b:{switch(v[a+40>>2]){case 0:c=v[a+352>>2];if((c|0)==-1){b=v[a+4>>2];g=Ub[v[v[b>>2]+28>>2]](b)|0;if((g|0)==-1){c=v[a+352>>2];v[a+352>>2]=-1;break a}b=w[a+348|0]+1|0;t[a+348|0]=b;d=b&255;b=a+92|0;d=d+b|0;c=w[d|0];f=c+w[a+349|0]|0;t[a+349|0]=f;h=d;d=b+(f&255)|0;f=w[d|0];t[h|0]=f;t[d|0]=c;c=w[b+(c+f&255)|0]^g&255}v[a+352>>2]=-1;break a;case 1:b=v[a+316>>2];if((b|0)==16){b=v[a+4>>2];if((Ub[v[v[b>>2]+40>>2]](b,e,16)|0)!=16){break a}b=v[a+4>>2];gT(a+92|0,e,(Ub[v[v[b>>2]+32>>2]](b)|0)==-1);b=v[a+316>>2];if((b|0)==16){break a}}v[a+316>>2]=b+1;c=w[(a+b|0)+300|0];break a;case 2:break b;default:break a}}b=v[a+380>>2];if((b|0)==16){b=v[a+4>>2];if((Ub[v[v[b>>2]+40>>2]](b,e,16)|0)!=16){break a}b=v[a+4>>2];Or(a+92|0,e,(Ub[v[v[b>>2]+32>>2]](b)|0)==-1);b=v[a+380>>2];if((b|0)==16){break a}}v[a+380>>2]=b+1;c=w[(a+b|0)+364|0]}Qb=e+16|0;return c|0}function Ks(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;g=Qb-16|0;Qb=g;u[g+4>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],g+4|0,1,2)|0;h=w[g+4|0];if(x[a+25204>>1]==18761){h=w[g+5|0]<<8|h}else{h=w[g+5|0]|h<<8}v[c>>2]=h&65535;u[g+6>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],g+6|0,1,2)|0;h=w[g+6|0];c=d;if(x[a+25204>>1]==18761){h=h|w[g+7|0]<<8}else{h=w[g+7|0]|h<<8}v[c>>2]=h&65535;v[g+8>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],g+8|0,1,4)|0;h=w[g+8|0];c=e;if(x[a+25204>>1]==18761){h=h|w[g+9|0]<<8|w[g+10|0]<<16|w[g+11|0]<<24}else{h=w[g+11|0]|(w[g+9|0]<<16|h<<24|w[g+10|0]<<8)}v[c>>2]=h;i=f,j=(Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0)+4|0,v[i>>2]=j;c=v[d>>2];if(B(v[e>>2],t[(c>>>0<14?c:0)+60579|0]-48|0)>>>0>=5){d=v[a>>2];e=v[d+8>>2];c=v[a+4>>2];v[g+12>>2]=-1;Ub[v[d>>2]](c,g+12|0,1,4)|0;d=w[g+12|0];if(x[a+25204>>1]==18761){a=d|w[g+13|0]<<8|w[g+14|0]<<16|w[g+15|0]<<24}else{a=w[g+15|0]|(w[g+13|0]<<16|d<<24|w[g+14|0]<<8)}Ub[e|0](c,a+b|0,0)|0}Qb=g+16|0}function uH(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=v[a>>2];a:{if(w[b+732|0]){break a}t[a+112|0]=0;c=v[a+16>>2];d=v[a+12>>2];v[a+48>>2]=d;v[a+52>>2]=c;c=v[a+24>>2];v[a+56>>2]=v[a+20>>2];v[a+60>>2]=c;e=v[a+32>>2];c=a- -64|0;v[c>>2]=v[a+28>>2];v[c+4>>2]=e;v[a+72>>2]=v[a+36>>2];e=151;if(!(d&65535)|!x[a+50>>1]){break a}if(w[b+176|0]&8){f=a,g=Ac(u[b+70>>1],v[a+56>>2])+32&-64,v[f+60>>2]=g;f=a- -64|0,g=Ac(u[b+72>>1],v[a+56>>2])+32&-64,v[f>>2]=g;f=a,g=Ac(u[b+74>>1],v[a+56>>2])+32&-64,v[f+68>>2]=g}t[a+112|0]=1;e=0;if(w[b+176|0]&8){f=a,g=ad(x[a+48>>1]<<6,x[b+68>>1]),v[f+52>>2]=g;f=a,g=ad(x[a+50>>1]<<6,x[b+68>>1]),v[f+56>>2]=g;f=a,g=Ac(u[b+76>>1],v[a+52>>2])+32&-64,v[f+72>>2]=g}d=a+48|0;b=x[a+50>>1];c=x[a+48>>1];b:{if(b>>>0<=c>>>0){v[a+76>>2]=65536;u[a+84>>1]=c;v[a+92>>2]=v[a+52>>2];b=ad(b,c);break b}u[a+84>>1]=b;v[a+92>>2]=v[a+56>>2];f=a,g=ad(c,b),v[f+76>>2]=g;b=65536}v[a+308>>2]=-1;v[a+44>>2]=d;v[a+80>>2]=b}return e}function kLa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:{b:{c:{d=v[a>>2];f=(v[a+4>>2]-d|0)/20|0;c=f+1|0;if(c>>>0<214748365){d=(v[a+8>>2]-d|0)/20|0;e=d<<1;c=d>>>0<107374182?c>>>0>e>>>0?c:e:214748364;if(c>>>0>=214748365){break c}e=B(f,20);d=B(c,20);f=fc(d);c=e+f|0;e=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=e;v[c+8>>2]=v[b+8>>2];v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;e=v[b+16>>2];v[c+12>>2]=v[b+12>>2];v[c+16>>2]=e;f=d+f|0;e=c+20|0;b=v[a+4>>2];d=v[a>>2];if((b|0)==(d|0)){break b}while(1){b=b-20|0;g=v[b+4>>2];c=c-20|0;v[c>>2]=v[b>>2];v[c+4>>2]=g;v[c+8>>2]=v[b+8>>2];v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;g=v[b+16>>2];v[c+12>>2]=v[b+12>>2];v[c+16>>2]=g;if((b|0)!=(d|0)){continue}break}v[a+8>>2]=f;b=v[a+4>>2];v[a+4>>2]=e;d=v[a>>2];v[a>>2]=c;if((b|0)==(d|0)){break a}while(1){a=b-20|0;if(t[b-9|0]<=-1){dc(v[a>>2])}b=a;if((d|0)!=(b|0)){continue}break}break a}ue(a);L()}cf(274079);L()}v[a+8>>2]=f;v[a+4>>2]=e;v[a>>2]=c}if(d){dc(d)}}function gZ(a,b){var c=0,d=0,e=0,f=0,g=0;e=v[a>>2];if(v[a+248>>2]){d=v[a+92>>2]>>6;while(1){f=c<<2;g=Ac(v[f+v[e+704>>2]>>2],d);v[f+v[a+252>>2]>>2]=g;c=c+1|0;if(c>>>0>2]){continue}break}}c=v[a+300>>2];d=vH(c,e,a);if(!d){t[c+565|0]=b;t[c+492|0]=0;v[c+16>>2]=0;v[c+432>>2]=0;f=v[e+696>>2];b=v[e+692>>2];v[c+464>>2]=0;v[c+468>>2]=0;v[c+460>>2]=b;v[c+456>>2]=f;d=0;if(b){v[c+368>>2]=b;v[c+360>>2]=f;v[c+364>>2]=0;v[c+356>>2]=2;d=Ub[v[e+708>>2]](c)|0}v[a+308>>2]=d;u[c+304>>1]=0;u[c+296>>1]=0;u[c+298>>1]=16384;u[c+300>>1]=0;u[c+302>>1]=16384;v[c+288>>2]=0;v[c+292>>2]=1073741824;u[c+352>>1]=1;v[c+348>>2]=65537;v[c+308>>2]=1;gc(a+180|0,c+288|0,68);v[a+124>>2]=v[c+400>>2];v[a+136>>2]=v[c+412>>2];v[a+148>>2]=v[c+424>>2];v[a+152>>2]=v[c+428>>2];b=v[c+452>>2];v[a+156>>2]=v[c+448>>2];v[a+160>>2]=b;b=v[c+460>>2];v[a+164>>2]=v[c+456>>2];v[a+168>>2]=b;b=v[c+468>>2];v[a+172>>2]=v[c+464>>2];v[a+176>>2]=b}return d}function aeb(a){a=a|0;var b=0,c=0,d=0,e=0;b=v[v[a+2248>>2]+88>>2];c=v[b+1168>>2];c=(v[b+1176>>2]+B(c,v[a+572>>2])|0)+B(c,v[a+2268>>2])|0;b=v[b+1164>>2];b=(c+B(b,v[a+580>>2])|0)+B(b,v[a+2264>>2])|0;c=v[a+636>>2]+v[a+616>>2]|0;d=v[a+588>>2];a:{b:{if(w[a+2253|0]!=4){if((d|0)<=0){break a}while(1){t[b|0]=w[c|0]+w[b|0];t[b+1|0]=w[c+1|0]+w[b+1|0];t[b+2|0]=w[c+2|0]+w[b+2|0];c=c+3|0;b=B(v[a+584>>2],3)+b|0;d=v[a+588>>2];e=e+1|0;if((d|0)>(e|0)){continue}break}break b}if((d|0)<1){break a}while(1){t[b|0]=w[c|0];t[b+1|0]=w[c+1|0];t[b+2|0]=w[c+2|0];c=c+3|0;b=B(v[a+584>>2],3)+b|0;d=v[a+588>>2];e=e+1|0;if((d|0)>(e|0)){continue}break}}if((d|0)<1){break a}b=v[a+540>>2];b=(v[b+1176>>2]+B(v[a+572>>2],v[b+1168>>2])|0)+B(v[a+580>>2],v[b+1164>>2])|0;c=v[a+636>>2]+v[a+616>>2]|0;d=0;while(1){t[b|0]=w[c|0];t[b+1|0]=w[c+1|0];t[b+2|0]=w[c+2|0];c=c+3|0;b=B(v[a+584>>2],3)+b|0;d=d+1|0;if((d|0)>2]){continue}break}}return 0}function r5(a,b){a=a|0;b=b|0;var c=0;if((b|0)==7){if(!Kl(a,87872,8)){zc(v[a+628>>2],87856,10498,0);return 0}b=jc(952);v[a+584>>2]=b;if(!b){zc(v[a+628>>2],87856,13255,0);return 0}eg(b,0,952);b=v[a+584>>2];v[b+828>>2]=a;v[b+892>>2]=v[a+672>>2];v[a+672>>2]=517;v[b+896>>2]=v[a+668>>2];v[a+668>>2]=518;v[b+900>>2]=v[a+676>>2];v[a+676>>2]=519;v[b+948>>2]=0;v[b+936>>2]=0;v[b+940>>2]=0;v[b+920>>2]=75;v[b+924>>2]=0;v[b+912>>2]=0;v[b+916>>2]=0;v[b+928>>2]=3;v[b+932>>2]=0;v[a+556>>2]=520;v[a+548>>2]=520;v[a+540>>2]=520;v[a+520>>2]=521;v[a+516>>2]=522;v[a+572>>2]=523;v[a+560>>2]=524;v[a+552>>2]=524;v[a+544>>2]=524;v[a+536>>2]=525;v[a+532>>2]=526;v[a+524>>2]=527;v[b+904>>2]=v[a+576>>2];v[a+576>>2]=528;v[b+908>>2]=v[a+580>>2];v[a+580>>2]=529;v[a+12>>2]=v[a+12>>2]|256;v[b+488>>2]=0;if(!v[a+16>>2]){v[b+916>>2]=2e3;c=b;b=jc(2e3);v[c+912>>2]=b;eg(b,0,2e3)}v[a+44>>2]=v[a+44>>2]|128;return 1}X(3090,7121,1951,87856);L()}function YXa(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;f=6;d=v[a+532>>2];a:{if(!d){break a}if(!(b|c)){c=v[d>>2];if(!c){return 0}h=c&3;a=v[d+136>>2];b=v[d+140>>2];f=0;if(c-1>>>0>=3){g=c&-4;while(1){c=e<<2;v[c+a>>2]=v[b+c>>2];d=c|4;v[d+a>>2]=v[b+d>>2];d=c|8;v[d+a>>2]=v[b+d>>2];c=c|12;v[c+a>>2]=v[b+c>>2];e=e+4|0;g=g-4|0;if(g){continue}break}}if(!h){break a}while(1){c=e<<2;v[c+a>>2]=v[b+c>>2];e=e+1|0;h=h-1|0;if(h){continue}break}break a}if(!c){break a}l=v[d>>2];f=b>>>0>>0?b:l;b:{if(!f){break b}h=f&3;j=v[d+136>>2];if(f-1>>>0>=3){g=f&-4;while(1){i=e<<2;v[i+j>>2]=v[c+i>>2];k=i|4;v[k+j>>2]=v[c+k>>2];k=i|8;v[k+j>>2]=v[c+k>>2];i=i|12;v[i+j>>2]=v[c+i>>2];e=e+4|0;g=g-4|0;if(g){continue}break}}if(!h){break b}while(1){g=e<<2;v[g+j>>2]=v[c+g>>2];e=e+1|0;h=h-1|0;if(h){continue}break}}if(b>>>0>>0){ic(v[d+136>>2]+(f<<2)|0,0,l-f<<2)}f=0;v[a+8>>2]=v[a+8>>2]&-32769|((b|0)!=0)<<15}return f|0}function F8a(a,b){a=a|0;b=b|0;var c=0,d=0;d=v[a+428>>2];c=v[b+32>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+8|0]=c;t[d+9|0]=c>>>8;t[d+10|0]=c>>>16;t[d+11|0]=c>>>24;c=v[b+36>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+12|0]=c;t[d+13|0]=c>>>8;t[d+14|0]=c>>>16;t[d+15|0]=c>>>24;c=v[b+40>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+16|0]=c;t[d+17|0]=c>>>8;t[d+18|0]=c>>>16;t[d+19|0]=c>>>24;c=v[b+44>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+20|0]=c;t[d+21|0]=c>>>8;t[d+22|0]=c>>>16;t[d+23|0]=c>>>24;c=v[b+48>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+24|0]=c;t[d+25|0]=c>>>8;t[d+26|0]=c>>>16;t[d+27|0]=c>>>24;c=v[b+52>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+28|0]=c;t[d+29|0]=c>>>8;t[d+30|0]=c>>>16;t[d+31|0]=c>>>24;c=v[b+56>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+32|0]=c;t[d+33|0]=c>>>8;t[d+34|0]=c>>>16;t[d+35|0]=c>>>24;return _d(a,v[b>>2],28,d+8|0)|0}function sMa(a){a=a|0;var b=0,c=0,d=0;a:{b:{c:{d:{e:{b=v[a+388>>2];switch(v[b+20>>2]){case 2:break c;case 1:break d;case 0:break e;default:break b}}uG(a);tG(a);if(!v[a+208>>2]){Ub[v[v[a+408>>2]>>2]](a);Ub[v[v[a+412>>2]>>2]](a);Ub[v[v[a+396>>2]>>2]](a,0)}Ub[v[v[a+416>>2]>>2]](a);Ub[v[v[a+420>>2]>>2]](a,v[a+216>>2]);Ub[v[v[a+400>>2]>>2]](a,v[b+28>>2]>1?3:0);Ub[v[v[a+392>>2]>>2]](a,0);if(v[a+216>>2]){v[b+12>>2]=0;break a}v[b+12>>2]=1;break a}uG(a);tG(a);if(v[a+368>>2]?v[a+360>>2]:1){Ub[v[v[a+420>>2]>>2]](a,1);Ub[v[v[a+400>>2]>>2]](a,2);v[b+12>>2]=0;break a}v[b+20>>2]=2;v[b+24>>2]=v[b+24>>2]+1}if(!v[a+216>>2]){uG(a);tG(a)}Ub[v[v[a+420>>2]>>2]](a,0);Ub[v[v[a+400>>2]>>2]](a,2);if(!v[b+32>>2]){Ub[v[v[a+404>>2]+4>>2]](a)}Ub[v[v[a+404>>2]+8>>2]](a);v[b+12>>2]=0;break a}c=v[a>>2];v[c+20>>2]=49;Ub[v[c>>2]](a)}d=b;c=v[b+28>>2];b=v[b+24>>2];v[d+16>>2]=(c-1|0)==(b|0);a=v[a+8>>2];if(a){v[a+16>>2]=c;v[a+12>>2]=b}}function _sa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=Qb-48|0;Qb=e;f=e+32|0;v[f>>2]=0;v[f+4>>2]=0;t[f+8|0]=0;v[299999]=0;h=wg(a);d=v[299999];v[299999]=0;a:{if((d|0)!=1){b:{c:{d:{e:{f:{while(1){g:{v[299999]=0;d=Q(4155,a|0,h|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break g}if(!d){break b}v[299999]=0;V(4145,e|0,a|0);d=v[299999];v[299999]=0;if((d|0)==1){break f}v[299999]=0;d=Q(4160,e+16|0,e|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break e}v[299999]=0;uf(f,d);g=v[299999];v[299999]=0;if((g|0)==1){break d}xc(d);if(t[e+11|0]<=-1){dc(v[e>>2])}v[299999]=0;d=md(f,979596);g=v[299999];v[299999]=0;if((g|0)==1){break g}if(!d){continue}v[299999]=0;U(4281,a|0,b|0,c|0);d=v[299999];v[299999]=0;if((d|0)!=1){continue}}break}a=P()|0;O()|0;break a}a=P()|0;O()|0;break a}a=P()|0;O()|0;break c}a=P()|0;O()|0;xc(d)}if(t[e+11|0]>-1){break a}dc(v[e>>2]);break a}xc(f);Qb=e+48|0;return}a=P()|0;O()|0}xc(f);T(a|0);L()}function U6(a,b,c){a=a|0;b=b|0;c=+c;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,p=0;h=Qb-16|0;Qb=h;f=b;a:{if(w[b+11|0]>>>7|0){g=v[f+4>>2];break a}g=w[f+11|0]}while(1){b:{if(w[f+11|0]>>>7|0){d=v[f>>2]}else{d=f}A[h>>3]=c;n=f;k=Qb-16|0;Qb=k;v[k+12>>2]=h;e=Qb-416|0;Qb=e;b=-1;i=g+1|0;v[e+156>>2]=i-1;v[e+152>>2]=d;ic(e+8|0,0,144);v[e+84>>2]=-1;t[e+83|0]=255;v[e+56>>2]=256;v[e+44>>2]=5937;v[e+52>>2]=e+160;v[e+92>>2]=e+152;c:{if(!i){break c}if((i|0)<=-1){v[299402]=61;break c}l=e+8|0;d=l;b=Qb-192|0;Qb=b;v[b+188>>2]=h;j=b+144|0;ic(j,0,36);v[b+184>>2]=v[b+188>>2];d:{if((qL(0,b+184|0,b,j)|0)<0){d=-1;break d}j=v[d+76>>2]<0;sL(d);m=v[d>>2];v[d>>2]=m&-33;o=qL(d,b+184|0,b,b+144|0);p=d;d=v[d>>2];v[p>>2]=d|m&32;d=d&32?-1:o;if(j){break d}}Qb=b+192|0;XB(l,0,0);b=d>>>0>>0?d:-1}Qb=e+416|0;Qb=k+16|0;e:{if((b|0)>=0){if(b>>>0<=g>>>0){break b}g=b;break e}g=g<<1|1}NB(n,g);continue}break}NB(f,b);KL(a,f);Qb=h+16|0}function kc(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;f=Qb-48|0;Qb=f;a:{b:{c:{if(v[294328]){break c}e=v[294330];if(!e){break c}if(v[e+408>>2]){break b}}v[f+44>>2]=d;e=fc(8);v[e>>2]=0;v[e+4>>2]=0;v[299999]=0;V(3313,e|0,0);h=v[299999];v[299999]=0;d:{if((h|0)!=1){t[v[e+4>>2]]=0;c=dF(e,c,d);break d}a=P()|0;O()|0;dc(e);T(a|0);L()}h=fc(8);v[299999]=0;e=S(3312,h|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(v[c>>2]>=1){d=0;while(1){g=w[v[c+4>>2]+d|0];e:{if((g-32&255)>>>0<=94){gd(e,g<<24>>24);break e}v[f+32>>2]=g;Jc(e,322621,f+32|0)}d=d+1|0;if((d|0)>2]){continue}break}}d=v[294328];f:{if(d){Ub[d|0](v[294329],a,b,v[e+4>>2]);break f}Qi(v[252393]);d=v[(a<<2)+1094672>>2];a=v[252391];g=v[e+4>>2];g:{if((b|0)>=0){v[f+8>>2]=g;v[f+4>>2]=b;v[f>>2]=d;wc(a,350003,f);break g}v[f+20>>2]=g;v[f+16>>2]=d;wc(a,349936,f+16|0)}Qi(a)}dc(Dc(c));Dc(e);dc(h)}Qb=f+48|0;return}a=P()|0;O()|0;dc(h);T(a|0);L()}function i1(a){var b=0,c=0,d=0,e=0;d=Qb-16|0;Qb=d;b=x[a+1016>>1];a:{b:{if(!b){c=v[a+528>>2];v[d+12>>2]=c;if(w[a+1018|0]){t[c+31|0]=!w[a+1019|0]}if(w[a+1022|0]){v[c+36>>2]=v[a+1024>>2];v[c+40>>2]=v[a+1028>>2]}b=0;e=w[a+1032|0];if(!e){break b}t[c+44|0]=e;v[c+48>>2]=v[a+1036>>2];v[c+52>>2]=v[a+1040>>2];v[c+56>>2]=v[a+1044>>2];v[c+60>>2]=v[a+1048>>2];break b}b=yg(a,b);v[d+12>>2]=b;if(!b){b=O1(a,x[a+1016>>1],w[a+1021|0]==1,!w[a+1019|0],0,v[a+1024>>2],v[a+1028>>2],t[a+1032|0],v[a+1036>>2],v[a+1040>>2],v[a+1044>>2],v[a+1048>>2],d+12|0);if(b){break a}b=v[d+12>>2];break b}if(w[a+1018|0]){t[b+31|0]=!w[a+1019|0]}t[b+32|0]=0;if(w[a+1022|0]){v[b+36>>2]=v[a+1024>>2];v[b+40>>2]=v[a+1028>>2]}c=w[a+1032|0];if(c){t[b+44|0]=c;v[b+48>>2]=v[a+1036>>2];v[b+52>>2]=v[a+1040>>2];v[b+56>>2]=v[a+1044>>2];v[b+60>>2]=v[a+1048>>2]}if(!w[a+1020|0]){break b}t[v[b+88>>2]+33|0]=w[a+1021|0]==1}v[a+512>>2]=b;b=0}Qb=d+16|0;return b}function boa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;d=Qb-48|0;Qb=d;a:{b:{c:{d:{if(!(c&2)){break d}DP(a,b);e:{f:{g:{if(!v[a+100>>2]){break g}v[d+8>>2]=0;Wc(d+8|0,b);if(v[a+100>>2]){v[d+40>>2]=0;v[d+32>>2]=0;v[d+36>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[299999]=0;c=Q(4475,d+16|0,983320)|0;e=v[299999];v[299999]=0;if((e|0)==1){break f}e=v[a+100>>2];v[299999]=0;U(4740,d+8|0,d+16|0,e|0);e=v[299999];v[299999]=0;if((e|0)==1){break c}id(c)}c=v[d+8>>2];v[d+8>>2]=0;if(!c){break g}v[299999]=0;e=v[c+4>>2]-1|0;v[c+4>>2]=e;f=v[299999];v[299999]=0;if((f|0)==1){break b}if(e){break g}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break b}}if(w[a+60|0]){break d}b=b+148|0;if(!(v[b>>2]&4096)){break e}u[a+60>>1]=257;break d}a=P()|0;O()|0;break a}if(!(v[b>>2]&2048)){break d}t[a+61|0]=1}zP(a);Qb=d+48|0;return}a=P()|0;O()|0;id(c);break a}W(0)|0;O()|0;lc();L()}ec(d+8|0);T(a|0);L()}function aP(a,b){var c=0,d=0,e=0;c=Qb+-64|0;Qb=c;a:{b:{if(w[a+13|0]&8){d=v[b>>2];e=d+2|0;if(e>>>0>y[a+616>>2]){b=v[a+628>>2];v[c+32>>2]=v[a>>2];zc(b,76736,41774,c+32|0);d=0;break a}oe(c+62|0,d+v[a+612>>2]|0,2);if(w[a+12|0]&128){d=w[c+63|0];t[c+63|0]=w[c+62|0];t[c+62|0]=d}d=e+B(x[c+62>>1],12)|0;if(y[a+616>>2]>>0){b=v[a+628>>2];v[c+48>>2]=v[a>>2];zc(b,76736,42876,c+48|0);d=0;break a}oe(b,d+v[a+612>>2]|0,4);d=1;if(w[a+12|0]&128){break b}break a}c:{if((Ub[v[a+640>>2]](v[a+628>>2],v[b>>2],0)|0)==v[b>>2]){if((Ub[v[a+632>>2]](v[a+628>>2],c+62|0,2)|0)==2){break c}}b=v[a+628>>2];v[c+16>>2]=v[a>>2];zc(b,76736,41774,c+16|0);break a}if(w[a+12|0]&128){e=w[c+63|0];t[c+63|0]=w[c+62|0];t[c+62|0]=e}Ub[v[a+640>>2]](v[a+628>>2],B(x[c+62>>1],12),1)|0;if((Ub[v[a+632>>2]](v[a+628>>2],b,4)|0)!=4){b=v[a+628>>2];v[c>>2]=v[a>>2];zc(b,76736,42876,c);break a}d=1;if(!(w[a+12|0]&128)){break a}}Mn(b)}Qb=c- -64|0;return d}function bG(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=Qb-16|0;Qb=f;a:{if(v[a+32>>2]|!a){break a}e=v[a+24>>2];c=v[a+8>>2];if(!((e|0)==(c|0)|c>>>0>2147483646)){v[a+24>>2]=c;e=c}d=v[a+20>>2];c=v[a+4>>2];if(!((d|0)==(c|0)|c>>>0>2147483646)){v[a+20>>2]=c;d=c}c=v[a+12>>2];if((c|0)==2){break a}g=b+d|0;if(g>>>0>>0){h=e-d|0;break a}b=b>>>0>>0?e<<1:g+100|0;b:{c:{d:{e:{switch(c-3|0){case 2:if(e>>>0<1e7&g>>>0<=9999999){break d}v[f>>2]=351554;oc(0,0,0,0,0,29,2,3,351554,0,0,0,350051,f);if(v[a+32>>2]){break a}v[a+32>>2]=2;break a;case 0:break e;default:break c}}c=v[a+16>>2];if(!c){break c}d=c;c=v[a>>2]-c|0;d=Ub[v[259709]](d,c+b|0)|0;if(!d){vo(a,239837);break a}v[a+16>>2]=d;v[a>>2]=c+d;break b}b=b>>>0<1e7?b:1e7}c=Ub[v[259709]](v[a>>2],b)|0;if(!c){vo(a,239837);break a}v[a>>2]=c}v[a+24>>2]=b;v[a+8>>2]=b>>>0<2147483647?b:2147483647;c=a;a=v[a+20>>2];v[c+4>>2]=a>>>0<2147483647?a:2147483647;h=b-a|0}Qb=f+16|0;return h}function YR(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=v[a+8>>2];Ub[v[v[d>>2]+20>>2]](d);d=Qb-1056|0;Qb=d;v[a+16>>2]=0;v[a+20>>2]=0;f=d+16|0;ic(f,0,1025);g=v[a+8>>2];Ub[v[v[g>>2]+40>>2]](g,f,1024)|0;a:{b:{while(1){if(!Oc((d+16|0)+e|0,335724,5)){break b}e=e+1|0;if((e|0)!=1019){continue}break}kc(0,-1,336380,0);break a}f=v[a+8>>2];Ub[v[v[f>>2]+104>>2]](f,e);f=d+e|0;e=Xf(f+21|0,346806);if(!e){kc(0,-1,336380,0);break a}h=xf(e);A[a+16>>3]=h;if(h>2.0001?0:(w[f+21|0]-48&255)>>>0<=9){break a}v[d+4>>2]=335481;v[d>>2]=e;kc(0,-1,336311,d)}Qb=d+1056|0;c:{d:{if(!XR(a,b,c,0)){if((v[a+44>>2]&-2)!=2){return 0}kc(0,-1,335652,0);d=0;if(!XR(a,b,c,1)){break d}}b=fc(4);c=v[a+24>>2];d=v[a+28>>2];v[299999]=0;Y(3794,b|0,d+96|0,c|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break c}v[a+32>>2]=b;b=fc(12);v[299999]=0;Q(3795,b|0,a|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break c}v[a+36>>2]=b;d=1}return d}a=P()|0;O()|0;dc(b);T(a|0);L()}function Hia(a){a=a|0;var b=0,c=0,d=0,e=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=990236;v[a+4>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;v[299999]=0;b=Z(4407,a+44|0,a+40|0,0,4)|0;c=v[299999];v[299999]=0;a:{if((c|0)!=1){v[299999]=0;Z(4407,a+56|0,a+52|0,0,4)|0;c=v[299999];v[299999]=0;if((c|0)!=1){break a}c=P()|0;O()|0;Lc(b);Qc(a);T(c|0);L()}b=P()|0;O()|0;Qc(a);T(b|0);L()}v[a>>2]=990252;v[299999]=0;c=Z(4407,a+68|0,a- -64|0,0,1)|0;b=v[299999];v[299999]=0;b:{c:{d:{e:{f:{g:{if((b|0)!=1){v[299999]=0;d=Z(4407,a+80|0,a+76|0,0,1)|0;b=v[299999];v[299999]=0;if((b|0)==1){break g}v[299999]=0;e=Z(4407,a+92|0,a+88|0,0,1)|0;b=v[299999];v[299999]=0;if((b|0)==1){break f}v[299999]=0;Z(4407,a+104|0,a+100|0,0,1)|0;b=v[299999];v[299999]=0;if((b|0)==1){break e}return a|0}b=P()|0;O()|0;break b}b=P()|0;O()|0;break c}b=P()|0;O()|0;break d}b=P()|0;O()|0;Lc(e)}Lc(d)}Lc(c)}hx(a);T(b|0);L()}function bab(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;if(v[a+588>>2]>=1){b=v[v[a+536>>2]+88>>2];b=(v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0;e=v[a+644>>2];while(1){c=w[e+3|0];a:{if(!c){break a}b:{if((c|0)!=255){d=w[b+3|0];if(d){break b}}t[b|0]=w[e|0];t[b+1|0]=w[e+1|0];d=w[e+2|0];t[b+3|0]=c;t[b+2|0]=d;break a}if((d|0)==255){d=c^255;f=(B(c,w[e|0])+B(d,w[b|0])|0)+128|0;t[b|0]=(f>>>8&255)+f>>>8;f=(B(c,w[e+1|0])+B(d,w[b+1|0])|0)+128|0;t[b+1|0]=(f>>>8&255)+f>>>8;c=(B(c,w[e+2|0])+B(d,w[b+2|0])|0)+128|0;t[b+2|0]=(c>>>8&255)+c>>>8;break a}f=w[e|0];k=w[e+1|0];g=w[e+2|0];h=c^255;i=B(h,d^255)>>>8^-1;t[b+3|0]=i;l=g;g=i&255;c=(c<<8>>>0)/(g>>>0)|0;d=(B(d,h)>>>0)/(g>>>0)|0;t[b+2|0]=(B(l,c)+B(d,w[b+2|0])|0)+127>>>8;t[b+1|0]=(B(c,k)+B(d,w[b+1|0])|0)+127>>>8;t[b|0]=(B(c,f)+B(d,w[b|0])|0)+127>>>8}e=e+4|0;b=b+4|0;j=j+1|0;if((j|0)>2]){continue}break}}return 0}function XOa(a){a=a|0;var b=0,c=0,d=0,e=0;b=Qb-16|0;Qb=b;a:{if(!a){break a}c=v[a+96>>2];a=v[v[c>>2]+32>>2];if(!a){break a}e=Ub[a|0](c,234088)|0}b:{d=Bc(e);if(d>>>0<4294967280){c:{d:{if(d>>>0>=11){a=d+16&-16;c=fc(a);v[b+8>>2]=a|-2147483648;v[b>>2]=c;v[b+4>>2]=d;break d}t[b+11|0]=d;c=b;if(!d){break c}}gc(c,e,d)}t[c+d|0]=0;a=w[b+11|0];d=a<<24>>24;c=v[b+4>>2];e:{if((((d|0)<0?c:a)|0)==11){v[299999]=0;c=ca(2607,b|0,0,-1,309870,11)|0;a=v[299999];v[299999]=0;if((a|0)==1){break b}if(!c){e=0;break e}a=w[b+11|0];d=a;c=v[b+4>>2]}if(((d<<24>>24<0?c:a)|0)==8){v[299999]=0;c=ca(2607,b|0,0,-1,279692,8)|0;a=v[299999];v[299999]=0;e=1;if((a|0)==1){break b}if(!c){break e}a=w[b+11|0];d=a;c=v[b+4>>2]}e=3;if(((d<<24>>24<0?c:a)|0)!=3){break e}v[299999]=0;c=ca(2607,b|0,0,-1,320994,3)|0;a=v[299999];v[299999]=0;if((a|0)==1){break b}e=c?3:2}if(t[b+11|0]<=-1){dc(v[b>>2])}Qb=b+16|0;return e|0}$d(b);L()}W(0)|0;O()|0;lc();L()}function Bo(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=Qb-16|0;Qb=d;v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;Rg(a,v[a+8>>2]);c=v[a>>2];v[d+12>>2]=c;f=v[a+8>>2];if(c>>>0>>0){a:{b:{c:{d:{e:{f:{g:{e=w[c|0];if((e|0)!=123){if((e|0)==91){break g}if((e|0)!=40){break f}v[b>>2]=c;v[b+8>>2]=2;if(IH(d+12|0,f)){break e}break d}v[b>>2]=c;v[b+8>>2]=3;if(!e_(d+12|0,f)){break d}break e}v[b>>2]=c;v[b+8>>2]=3;e=1;v[a>>2]=c+1;Rg(a,f);c=v[a>>2];h:{if(f>>>0<=c>>>0){break h}while(1){if(v[a+12>>2]){break h}i:{j:{switch(w[c|0]-91|0){case 2:if((e|0)>1){e=e-1|0;break i}c=c+1|0;v[d+12>>2]=c;v[b+4>>2]=c;break a;case 0:break j;default:break i}}e=e+1|0}JH(a);Rg(a,v[a+8>>2]);c=v[a>>2];if(f>>>0>c>>>0){continue}break}}v[d+12>>2]=c;break e}v[b>>2]=c;v[b+8>>2]=w[c|0]==47?4:1;JH(a);c=v[a>>2];v[d+12>>2]=c;if(!v[a+12>>2]){break c}}c=v[b+4>>2];break b}c=v[d+12>>2]}v[b+4>>2]=c}if(c){break a}v[b+8>>2]=0;v[b>>2]=0}v[a>>2]=v[d+12>>2]}Qb=d+16|0}function BOa(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,n=0,o=0,p=0,q=0,r=0;b=v[b+84>>2];f=B(v[b+96>>2],u[c+48>>1]);h=B(v[b+32>>2],u[c+16>>1]);g=B(f+h|0,4433);i=v[d>>2]+e|0;a=v[a+332>>2]+128|0;j=B(v[b+100>>2],u[c+50>>1]);k=B(v[b+36>>2],u[c+18>>1]);l=B(j+k|0,4433);k=l+B(k,6270)|0;m=B(v[b+68>>2],x[c+34>>1]);n=B(v[b+4>>2],x[c+2>>1]);o=m+n<<13;p=k+o|0;q=B(v[b+64>>2],x[c+32>>1]);b=B(v[b>>2],x[c>>1]);c=q+b<<13;h=g+B(h,6270)|0;r=(c+h|0)+32768|0;t[i|0]=w[a+(p+r>>>16&1023)|0];t[i+1|0]=w[a+(r-p>>>16&1023)|0];i=v[d+4>>2]+e|0;g=g+B(f,-15137)|0;b=b-q<<13;f=(g+b|0)+32768|0;j=B(j,-15137)+l|0;l=n-m<<13;m=j+l|0;t[i|0]=w[a+(f+m>>>16&1023)|0];t[i+1|0]=w[a+(f-m>>>16&1023)|0];f=v[d+8>>2]+e|0;b=(b-g|0)+32768|0;g=l-j|0;t[f|0]=w[a+(b+g>>>16&1023)|0];t[f+1|0]=w[a+(b-g>>>16&1023)|0];b=v[d+12>>2]+e|0;c=(c-h|0)+32768|0;d=o-k|0;t[b|0]=w[a+(c+d>>>16&1023)|0];t[b+1|0]=w[a+(c-d>>>16&1023)|0]}function taa(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;k=Qb-16|0;Qb=k;a:{if(a){a=TL(b);Ub[v[v[a>>2]+44>>2]](k,a);b=v[k>>2];t[c|0]=b;t[c+1|0]=b>>>8;t[c+2|0]=b>>>16;t[c+3|0]=b>>>24;Ub[v[v[a>>2]+32>>2]](k,a);Fl(i,k);le(k);Ub[v[v[a>>2]+28>>2]](k,a);Fl(h,k);le(k);l=d,m=Ub[v[v[a>>2]+12>>2]](a)|0,v[l>>2]=m;l=e,m=Ub[v[v[a>>2]+16>>2]](a)|0,v[l>>2]=m;Ub[v[v[a>>2]+20>>2]](k,a);Nh(f,k);Mc(k);Ub[v[v[a>>2]+24>>2]](k,a);Fl(g,k);le(k);a=Ub[v[v[a>>2]+36>>2]](a)|0;break a}a=SL(b);Ub[v[v[a>>2]+44>>2]](k,a);b=v[k>>2];t[c|0]=b;t[c+1|0]=b>>>8;t[c+2|0]=b>>>16;t[c+3|0]=b>>>24;Ub[v[v[a>>2]+32>>2]](k,a);Fl(i,k);le(k);Ub[v[v[a>>2]+28>>2]](k,a);Fl(h,k);le(k);l=d,m=Ub[v[v[a>>2]+12>>2]](a)|0,v[l>>2]=m;l=e,m=Ub[v[v[a>>2]+16>>2]](a)|0,v[l>>2]=m;Ub[v[v[a>>2]+20>>2]](k,a);Nh(f,k);Mc(k);Ub[v[v[a>>2]+24>>2]](k,a);Fl(g,k);le(k);a=Ub[v[v[a>>2]+36>>2]](a)|0}v[j>>2]=a;Qb=k+16|0}function JY(a){a=a|0;var b=0,c=0;v[a>>2]=456868;b=v[a+20>>2];if(b){dc(jq(b));v[a+20>>2]=0}b=v[a+16>>2];if(b){dc(gH(b));v[a+16>>2]=0}b=v[a+656>>2];if(b){Ub[v[v[b>>2]+4>>2]](b);v[a+656>>2]=0}a:{b=v[a+12>>2];if(b){c=v[v[b>>2]+12>>2];v[299999]=0;S(c|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}v[a+12>>2]=0}b=v[a+660>>2];if(b){c=v[v[b>>2]+12>>2];v[299999]=0;S(c|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}v[a+660>>2]=0}b=v[a+688>>2];if(b){v[a+692>>2]=b;dc(b)}v[a+520>>2]=457752;if(t[a+547|0]<=-1){dc(v[a+536>>2])}if(t[a+535|0]<=-1){dc(v[a+524>>2])}v[a+448>>2]=457752;if(t[a+475|0]<=-1){dc(v[a+464>>2])}if(t[a+463|0]<=-1){dc(v[a+452>>2])}v[a+88>>2]=457704;Ne(a+292|0);b=v[a+200>>2];if(b){v[a+204>>2]=b;dc(b)}if(t[a+127|0]<=-1){dc(v[a+116>>2])}v[a+24>>2]=457656;b=v[a+52>>2];if(b){dc(b);v[a+52>>2]=0}return a|0}W(0)|0;O()|0;LY(a+688|0);Nz(a+520|0);Nz(a+448|0);kH(a+88|0);KY(a+24|0);lc();L()}function FG(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{if(v[a>>2]>0){break a}b:{if(v[294136]==2){break b}if(!qz(1176544)){break b}hs(15,2759);b=wW(0,845904,845908,2760,a);c:{if(v[a>>2]>0){break c}c=qW(b);d=v[c>>2];if(d>>>0<=7){v[a>>2]=3;ch(b);break c}v[294138]=b;b=v[c+4>>2];v[294127]=b;f=v[c+8>>2];v[294128]=f;g=v[c+12>>2];v[294129]=g;h=v[c+16>>2];v[294130]=h;i=v[c+20>>2];v[294131]=i;j=v[c+24>>2];v[294132]=j;e=v[c+28>>2];v[294133]=e;k=v[c+32>>2];v[294134]=k;if((d|0)!=8){v[294135]=v[c+36>>2]}d=(d<<1)+2|0;v[294118]=c+(d<<1);b=b+d|0;v[294119]=c+(b<<1);b=b+f|0;v[294120]=c+(b<<1);b=b+g|0;v[294121]=c+(b<<1);b=b+h|0;v[294122]=c+(b<<1);b=b+i|0;v[294123]=c+(b<<1);d=b+j|0;if(e){b=c+(d<<1)|0;b=x[b>>1]<2?b:845918}else{b=845918}v[294124]=b;d=d+e|0;e=c+(d<<1)|0;v[294125]=e;v[294126]=x[b>>1]?c+(d+k<<1)|0:e}v[294137]=v[a>>2];v[294136]=2;break a}c=v[294137];if((c|0)<1){break a}v[a>>2]=c}return v[a>>2]<1}function Ae(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=v[a+608>>2];if((c|0)>=1){b=v[a+12>>2];if(!(b&(x[a+94>>1]|256))){tC(v[a+596>>2],c);c=v[a+608>>2];b=v[a+12>>2]}h=v[a+596>>2];e=Qb-32|0;Qb=e;a:{b:{f=v[(b&1024?504:480)+a>>2];d=v[v[a+184>>2]+(f<<2)>>2];c:{if(!(v[a+484>>2]?d:0)){if(!v[a+180>>2]){break b}b=f<<2;g=v[b+v[a+188>>2]>>2];d:{if(!(!g|!d|c>>>0>g>>>0)){b=0;d=Ub[v[a+640>>2]](v[a+628>>2],d,0)|0;if((d|0)==v[v[a+184>>2]+(f<<2)>>2]){break d}c=v[a+628>>2];v[e+16>>2]=v[a+472>>2];zc(c,82768,38299,e+16|0);break c}d=Ub[v[a+640>>2]](v[a+628>>2],0,2)|0;v[b+v[a+184>>2]>>2]=d}v[a+484>>2]=d;v[v[a+188>>2]+(f<<2)>>2]=0}if((Ub[v[a+636>>2]](v[a+628>>2],h,c)|0)!=(c|0)){b=v[a+628>>2];v[e>>2]=v[a+472>>2];zc(b,82768,39903,e);b=0;break c}v[a+484>>2]=v[a+484>>2]+c;b=v[a+188>>2]+(f<<2)|0;v[b>>2]=v[b>>2]+c;b=1}Qb=e+32|0;break a}X(37949,34991,629,82768);L()}if(!b){return 0}v[a+608>>2]=0;v[a+604>>2]=v[a+596>>2]}return 1}function NHa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=v[a+4>>2];if(!d){return 0}e=a+4|0;a=e;while(1){f=io(d+16|0,b);a=f?a:d;d=v[(f?4:0)+d>>2];if(d){continue}break}d=0;a:{if((a|0)==(e|0)){break a}if(io(b,a+16|0)){break a}a=v[a+24>>2];if(!a){break a}b=v[a+4>>2];v[c>>2]=v[a>>2];v[c+4>>2]=b;b:{if((a|0)==(c|0)){break b}d=a+8|0;b=c+8|0;f=w[a+19|0];e=f<<24>>24;c:{if(t[c+19|0]>=0){if((e|0)>=0){e=v[d+4>>2];v[b>>2]=v[d>>2];v[b+4>>2]=e;v[b+8>>2]=v[d+8>>2];break c}Lh(b,v[a+8>>2],v[a+12>>2]);break c}g=b;b=(e|0)<0;wi(g,b?v[a+8>>2]:d,b?v[a+12>>2]:f)}d=a+20|0;b=c+20|0;f=w[a+31|0];e=f<<24>>24;if(t[c+31|0]>=0){if((e|0)>=0){e=v[d+4>>2];v[b>>2]=v[d>>2];v[b+4>>2]=e;v[b+8>>2]=v[d+8>>2];break b}Lh(b,v[a+20>>2],v[a+24>>2]);break b}g=b;b=(e|0)<0;wi(g,b?v[a+20>>2]:d,b?v[a+24>>2]:f)}b=v[a+36>>2];v[c+32>>2]=v[a+32>>2];v[c+36>>2]=b;t[c+48|0]=w[a+48|0];b=v[a+44>>2];v[c+40>>2]=v[a+40>>2];v[c+44>>2]=b;d=1}return d|0}function Hp(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{e=v[a>>2];b=v[e+8>>2];if((b|0)>=1){while(1){k=v[v[e>>2]+(j<<2)>>2];if(k){f=0;g=v[k>>2];b=v[g+8>>2];if((b|0)>=1){while(1){d=v[v[g>>2]+(f<<2)>>2];if(d){h=0;i=v[d>>2];c=v[i+8>>2];if((c|0)>=1){while(1){b=v[v[i>>2]+(h<<2)>>2];if(b){c=v[b+32>>2];v[299999]=0;uc(c);c=v[299999];v[299999]=0;if((c|0)==1){break a}c=v[b+40>>2];v[299999]=0;uc(c);c=v[299999];v[299999]=0;if((c|0)==1){break a}c=v[b+36>>2];v[299999]=0;uc(c);c=v[299999];v[299999]=0;if((c|0)==1){break a}dc(b);c=v[i+8>>2]}h=h+1|0;if((h|0)<(c|0)){continue}break}}dc(Vc(i));b=v[d+48>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[d+52>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}dc(d);b=v[g+8>>2]}f=f+1|0;if((f|0)<(b|0)){continue}break}}dc(Vc(g));dc(k);b=v[e+8>>2]}j=j+1|0;if((j|0)<(b|0)){continue}break}}dc(Vc(e));return a}W(0)|0;O()|0;lc();L()}function paa(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;e=Qb-16|0;Qb=e;d=a;a:{if(w[d+11|0]>>>7|0){h=v[d+4>>2];break a}h=w[d+11|0]}f=w[d+11|0]>>>7|0?(v[a+8>>2]&2147483647)-1|0:1;i=c-b>>2;b:{if(!i){break b}if(w[a+11|0]>>>7|0){g=v[d>>2]}else{g=d}k=g;if(w[d+11|0]>>>7|0){g=v[d>>2]}else{g=d}if(w[d+11|0]>>>7|0){j=v[a+4>>2]}else{j=w[a+11|0]}if(g+(j<<2)>>>0>b>>>0&b>>>0>=k>>>0){d=Qb-16|0;Qb=d;vM(e,b,c);Qb=d+16|0;b=e;if(w[b+11|0]>>>7|0){b=v[b>>2]}if(w[e+11|0]>>>7|0){c=v[e+4>>2]}else{c=w[e+11|0]}v[299999]=0;Y(2653,a|0,b|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){le(e);break b}a=P()|0;O()|0;le(e);T(a|0);L()}if(f-h>>>0>>0){mw(a,f,(h+i|0)-f|0,h,h,0)}if(w[a+11|0]>>>7|0){g=v[d>>2]}else{g=d}f=g+(h<<2)|0;while(1){if((b|0)!=(c|0)){v[f>>2]=v[b>>2];b=b+4|0;f=f+4|0;continue}break}v[e>>2]=0;v[f>>2]=v[e>>2];b=h+i|0;c:{if(w[d+11|0]>>>7|0){v[a+4>>2]=b;break c}t[a+11|0]=b}}Qb=e+16|0;return a|0}function J_(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;f=Qb-16|0;Qb=f;a:{if(!a){e=33;break a}e=6;if(!d){break a}g=v[a>>2];if(!g){break a}v[d>>2]=0;v[d+4>>2]=0;v[d+16>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;if((c|0)<0|b>>>0>>0){break a}e=10;if(b>>>0>32767){break a}b:{c:{d:{e:{f:{if(b){e=b<<3;h=Ub[v[g+4>>2]](g,e)|0;if(h){break f}e=d+4|0;h=e;break c}e=0;v[d+4>>2]=0;h=d+4|0;break e}i=d,j=ic(h,0,e),v[i+4>>2]=j;h=d+4|0;e=Ub[v[g+4>>2]](g,b)|0;if(!e){break d}ic(e,0,b)}v[f+12>>2]=0;v[d+8>>2]=e;i=d,j=Cc(g,2,0,c,0,f+12|0),v[i+12>>2]=j;e=v[f+12>>2];if(e){break b}u[d>>1]=c;u[d+2>>1]=b;v[d+16>>2]=v[d+16>>2]|1;e=0;break a}v[f+12>>2]=64;e=d+8|0}v[e>>2]=0;e=64}v[d+16>>2]=v[d+16>>2]|1;a=v[a>>2];if(!a){break a}b=v[h>>2];if(b){Ub[v[a+8>>2]](a,b)}v[d+4>>2]=0;b=v[d+8>>2];if(b){Ub[v[a+8>>2]](a,b)}v[d+8>>2]=0;b=v[d+12>>2];if(b){Ub[v[a+8>>2]](a,b)}v[d>>2]=0;v[d+4>>2]=0;v[d+16>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0}Qb=f+16|0;return e}function Baa(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;k=Qb-16|0;Qb=k;a:{if(a){a=YL(b);Ub[v[v[a>>2]+44>>2]](k,a);b=v[k>>2];t[c|0]=b;t[c+1|0]=b>>>8;t[c+2|0]=b>>>16;t[c+3|0]=b>>>24;Ub[v[v[a>>2]+32>>2]](k,a);Nh(i,k);Mc(k);Ub[v[v[a>>2]+28>>2]](k,a);Nh(h,k);Mc(k);l=d,m=Ub[v[v[a>>2]+12>>2]](a)|0,t[l|0]=m;l=e,m=Ub[v[v[a>>2]+16>>2]](a)|0,t[l|0]=m;Ub[v[v[a>>2]+20>>2]](k,a);Nh(f,k);Mc(k);Ub[v[v[a>>2]+24>>2]](k,a);Nh(g,k);Mc(k);a=Ub[v[v[a>>2]+36>>2]](a)|0;break a}a=XL(b);Ub[v[v[a>>2]+44>>2]](k,a);b=v[k>>2];t[c|0]=b;t[c+1|0]=b>>>8;t[c+2|0]=b>>>16;t[c+3|0]=b>>>24;Ub[v[v[a>>2]+32>>2]](k,a);Nh(i,k);Mc(k);Ub[v[v[a>>2]+28>>2]](k,a);Nh(h,k);Mc(k);l=d,m=Ub[v[v[a>>2]+12>>2]](a)|0,t[l|0]=m;l=e,m=Ub[v[v[a>>2]+16>>2]](a)|0,t[l|0]=m;Ub[v[v[a>>2]+20>>2]](k,a);Nh(f,k);Mc(k);Ub[v[v[a>>2]+24>>2]](k,a);Nh(g,k);Mc(k);a=Ub[v[v[a>>2]+36>>2]](a)|0}v[j>>2]=a;Qb=k+16|0}function A5(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Qb-112|0;Qb=d;e=v[a+584>>2];if(e){c=v[a+48>>2];if(c&4){v[d+96>>2]=v[e+196>>2];wc(b,57462,d+96|0);c=v[a+48>>2]}if(c&8){v[d+80>>2]=v[e+200>>2];wc(b,57790,d+80|0);c=v[a+48>>2]}if(c&16){Rc(58044,14,1,b);if(w[e+211|0]){c=0;while(1){v[d+64>>2]=v[((c<<2)+e|0)+216>>2];wc(b,58285,d- -64|0);c=c+1|0;if(c>>>0>2]}if(c&32){Rc(58888,15,1,b);if(w[e+212|0]){c=0;while(1){v[d+48>>2]=v[((c<<2)+e|0)+228>>2];wc(b,58285,d+48|0);c=c+1|0;if(c>>>0>2]}if(c&64){Rc(59181,15,1,b);if(w[e+213|0]){c=0;while(1){v[d+32>>2]=v[((c<<2)+e|0)+240>>2];wc(b,58285,d+32|0);c=c+1|0;if(c>>>0>2]}if(c&128){v[d+16>>2]=w[e+204|0];wc(b,59490,d+16|0);c=v[a+48>>2]}if(c&256){v[d>>2]=x[e+300>>1];wc(b,59717,d)}Qb=d+112|0;return}X(57098,7087,582,87443);L()}function xaa(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;h=Qb-32|0;Qb=h;d=a;a:{if(w[d+11|0]>>>7|0){g=v[d+4>>2];break a}g=w[d+11|0]}e=w[d+11|0]>>>7|0?(v[a+8>>2]&2147483647)-1|0:10;i=c-b|0;b:{if(!i){break b}if(w[a+11|0]>>>7|0){f=v[d>>2]}else{f=d}k=f;if(w[d+11|0]>>>7|0){f=v[d>>2]}else{f=d}if(w[d+11|0]>>>7|0){j=v[a+4>>2]}else{j=w[a+11|0]}if(f+j>>>0>b>>>0&b>>>0>=k>>>0){e=Qb-16|0;Qb=e;d=h+16|0;OM(d,b,c);Qb=e+16|0;b=d;if(w[d+11|0]>>>7|0){b=v[b>>2]}if(w[d+11|0]>>>7|0){c=v[d+4>>2]}else{c=w[d+11|0]}v[299999]=0;Y(2531,a|0,b|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){Mc(d);break b}a=P()|0;O()|0;Mc(d);T(a|0);L()}if(e-g>>>0>>0){WB(a,e,(g+i|0)-e|0,g,g)}if(w[a+11|0]>>>7|0){f=v[d>>2]}else{f=d}e=f+g|0;while(1){if((b|0)!=(c|0)){t[e|0]=w[b|0];b=b+1|0;e=e+1|0;continue}break}t[h+15|0]=0;t[e|0]=w[h+15|0];b=g+i|0;c:{if(w[d+11|0]>>>7|0){v[a+4>>2]=b;break c}t[a+11|0]=b}}Qb=h+32|0;return a|0}function v1a(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;g=Qb-16|0;Qb=g;v[g+12>>2]=0;i=v[c>>2];d=Fd(i,24,g+12|0);e=v[g+12>>2];a:{if(e){break a}b:{e=a+4|0;if(e>>>0>b>>>0){break b}h=w[a|0];t[d+4|0]=h;f=w[a+1|0]|w[a+2|0]<<8;u[d+6>>1]=f<<8|f>>>8;f=w[a+3|0];t[d+5|0]=f;k=v[c+148>>2];l=v[c+4>>2];j=f&1;f=(f>>>1&1)+(j?5:3)|0;v[d+8>>2]=f;v[d+12>>2]=(e+l|0)-k;if(e+B(f,h)>>>0>b>>>0){break b}if(h){c:{if(j){a=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);v[d+16>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=e+B(f,h-1|0)|0;a=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break c}v[d+16>>2]=w[a+5|0]|w[a+4|0]<<16;a=e+B(f,h-1|0)|0;a=w[a|0]<<16|w[a+1|0]}e=0;v[d>>2]=0;v[d+20>>2]=a;v[v[c+140>>2]>>2]=d;v[c+140>>2]=d;v[c+132>>2]=v[c+132>>2]+h;break a}if(d){Ub[v[i+8>>2]](i,d)}e=v[g+12>>2];break a}if(d){Ub[v[i+8>>2]](i,d)}e=8}Qb=g+16|0;return e|0}function tQ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d=v[a+4>>2];h=v[a>>2];e=(d-h|0)/12|0;c=e+1|0;if(c>>>0<357913942){g=(v[a+8>>2]-h|0)/12|0;f=g<<1;c=g>>>0<178956970?c>>>0>f>>>0?c:f:357913941;if(c>>>0>=357913942){break c}f=B(e,12);e=B(c,12);g=fc(e);c=f+g|0;v[c+4>>2]=v[b+4>>2];f=w[b+8|0];t[c+8|0]=f;b=v[b>>2];v[c>>2]=b;if(!(!f|!b)){v[b+4>>2]=v[b+4>>2]+1}g=e+g|0;f=c+12|0;if((d|0)==(h|0)){break b}b=d;while(1){c=c-12|0;b=b-12|0;v[c+4>>2]=v[b+4>>2];i=w[b+8|0];t[c+8|0]=i;e=v[b>>2];v[c>>2]=e;if(!(!i|!e)){v[e+4>>2]=v[e+4>>2]+1}if((b|0)!=(h|0)){continue}break}v[a+8>>2]=g;v[a+4>>2]=f;v[a>>2]=c;if((d|0)==(h|0)){break a}while(1){a=d;d=a-12|0;d:{if(!w[a-4|0]){break d}a=v[d>>2];if(!a){break d}b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(b){break d}dc(a)}v[d>>2]=0;v[d+4>>2]=0;t[d+8|0]=0;if((d|0)!=(h|0)){continue}break}d=h;break a}ue(a);L()}cf(274079);L()}v[a+8>>2]=g;v[a+4>>2]=f;v[a>>2]=c}if(d){dc(d)}}function kGa(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;a=ic(a,0,256);d=v[b>>2]+c|0;h=w[d+2|0];e=w[d|0];f=h+e|0;g=w[d+1|0];d=(f+g<<4)-6144|0;v[a>>2]=d;h=B(e-h|0,10033)+256>>9;v[a+4>>2]=h;v[a+8>>2]=B(f-(g<<1)|0,5793)+256>>9;e=v[b+4>>2]+c|0;f=w[e+2|0];g=w[e|0];i=f+g|0;j=w[e+1|0];e=(i+j<<4)-6144|0;v[a+32>>2]=e;f=B(g-f|0,10033)+256>>9;v[a+36>>2]=f;g=B(i-(j<<1)|0,5793)+256>>9;v[a+40>>2]=g;b=v[b+8>>2]+c|0;c=w[b+2|0];i=w[b|0];j=c+i|0;b=w[b+1|0];k=(j+b<<4)-6144|0;v[a+32>>2]=B(d-k|0,17837)+16384>>15;c=B(i-c|0,10033)+256>>9;v[a+36>>2]=B(h-c|0,17837)+16384>>15;d=d+k|0;v[a+64>>2]=B(d-(e<<1)|0,10298)+16384>>15;v[a>>2]=B(d+e|0,14564)+16384>>15;c=c+h|0;v[a+68>>2]=B(c-(f<<1)|0,10298)+16384>>15;v[a+4>>2]=B(c+f|0,14564)+16384>>15;c=v[a+8>>2];b=B(j-(b<<1)|0,5793)+256>>9;v[a+40>>2]=B(c-b|0,17837)+16384>>15;b=b+c|0;v[a+72>>2]=B(b-(g<<1)|0,10298)+16384>>15;v[a+8>>2]=B(b+g|0,14564)+16384>>15}function QQ(a){var b=0,c=0;v[299999]=0;R(4078,a|0);b=v[299999];v[299999]=0;a:{if((b|0)!=1){Vt(a+60|0,v[a- -64>>2]);v[299999]=0;b=v[299999];v[299999]=0;if((b|0)==1){break a}Fp(a+44|0,v[a+48>>2]);b=v[a+40>>2];if(b){Ub[v[v[b>>2]+4>>2]](b);v[a+40>>2]=0}Ep(a+28|0,v[a+32>>2]);gq(a+12|0,v[a+16>>2]);b=v[a>>2];if(b){c=v[a+4>>2];if((b|0)==(c|0)){c=b}else{while(1){if(t[c-1|0]<=-1){dc(v[c-12>>2])}if(t[c-13|0]<=-1){dc(v[c-24>>2])}c=c-40|0;if((b|0)!=(c|0)){continue}break}c=v[a>>2]}v[a+4>>2]=b;dc(c)}return a}W(0)|0;O()|0;Vt(a+60|0,v[a+64>>2]);v[299999]=0;b=a+40|0;c=v[299999];v[299999]=0;b:{if((c|0)!=1){Fp(b+4|0,v[b+8>>2]);c=v[b>>2];if(c){Ub[v[v[c>>2]+4>>2]](c);v[b>>2]=0}break b}W(0)|0;O()|0;OQ(b+4|0);a=v[b>>2];if(a){Ub[v[v[a>>2]+4>>2]](a);v[b>>2]=0}lc();L()}Ep(a+28|0,v[a+32>>2]);gq(a+12|0,v[a+16>>2]);RQ(a);lc();L()}W(0)|0;O()|0;OQ(a+44|0);b=v[a+40>>2];if(b){Ub[v[v[b>>2]+4>>2]](b);v[a+40>>2]=0}lc();L()}function rBa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=Qb-640|0;Qb=g;f=v[a+12>>2];a:{if((f|0)<1){break a}i=f&3;if(f-1>>>0>=3){j=f&-4;while(1){f=g+384|0;A[f+(e<<3)>>3]=+v[(e<<2)+b>>2]*152587890625e-16;h=e|1;A[(h<<3)+f>>3]=+v[(h<<2)+b>>2]*152587890625e-16;h=e|2;A[(h<<3)+f>>3]=+v[(h<<2)+b>>2]*152587890625e-16;h=f;f=e|3;A[h+(f<<3)>>3]=+v[(f<<2)+b>>2]*152587890625e-16;e=e+4|0;j=j-4|0;if(j){continue}break}}if(!i){break a}while(1){A[(g+384|0)+(e<<3)>>3]=+v[(e<<2)+b>>2]*152587890625e-16;e=e+1|0;i=i-1|0;if(i){continue}break}}b=v[a+148>>2];Ub[v[v[b>>2]+16>>2]](b,g+384|0,g+128|0);b=v[a+144>>2];if((Ub[v[v[b>>2]+28>>2]](b)|0)>=1){e=0;while(1){f=(e<<2)+g|0;k=A[(g+128|0)+(e<<3)>>3]*65536;b:{if(D(k)<2147483648){b=~~k;break b}b=-2147483648}v[f>>2]=b;b=v[a+144>>2];e=e+1|0;if((Ub[v[v[b>>2]+28>>2]](b)|0)>(e|0)){continue}break}}a=v[a+144>>2];Ub[v[v[a>>2]+16>>2]](a,g,c,d);Qb=g+640|0}function qBa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=Qb-640|0;Qb=g;f=v[a+12>>2];a:{if((f|0)<1){break a}i=f&3;if(f-1>>>0>=3){j=f&-4;while(1){f=g+384|0;A[f+(e<<3)>>3]=+v[(e<<2)+b>>2]*152587890625e-16;h=e|1;A[(h<<3)+f>>3]=+v[(h<<2)+b>>2]*152587890625e-16;h=e|2;A[(h<<3)+f>>3]=+v[(h<<2)+b>>2]*152587890625e-16;h=f;f=e|3;A[h+(f<<3)>>3]=+v[(f<<2)+b>>2]*152587890625e-16;e=e+4|0;j=j-4|0;if(j){continue}break}}if(!i){break a}while(1){A[(g+384|0)+(e<<3)>>3]=+v[(e<<2)+b>>2]*152587890625e-16;e=e+1|0;i=i-1|0;if(i){continue}break}}b=v[a+148>>2];Ub[v[v[b>>2]+16>>2]](b,g+384|0,g+128|0);b=v[a+144>>2];if((Ub[v[v[b>>2]+28>>2]](b)|0)>=1){e=0;while(1){f=(e<<2)+g|0;k=A[(g+128|0)+(e<<3)>>3]*65536;b:{if(D(k)<2147483648){b=~~k;break b}b=-2147483648}v[f>>2]=b;b=v[a+144>>2];e=e+1|0;if((Ub[v[v[b>>2]+28>>2]](b)|0)>(e|0)){continue}break}}a=v[a+144>>2];Ub[v[v[a>>2]+20>>2]](a,g,c,d);Qb=g+640|0}function pBa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=Qb-640|0;Qb=g;f=v[a+12>>2];a:{if((f|0)<1){break a}i=f&3;if(f-1>>>0>=3){j=f&-4;while(1){f=g+384|0;A[f+(e<<3)>>3]=+v[(e<<2)+b>>2]*152587890625e-16;h=e|1;A[(h<<3)+f>>3]=+v[(h<<2)+b>>2]*152587890625e-16;h=e|2;A[(h<<3)+f>>3]=+v[(h<<2)+b>>2]*152587890625e-16;h=f;f=e|3;A[h+(f<<3)>>3]=+v[(f<<2)+b>>2]*152587890625e-16;e=e+4|0;j=j-4|0;if(j){continue}break}}if(!i){break a}while(1){A[(g+384|0)+(e<<3)>>3]=+v[(e<<2)+b>>2]*152587890625e-16;e=e+1|0;i=i-1|0;if(i){continue}break}}b=v[a+148>>2];Ub[v[v[b>>2]+16>>2]](b,g+384|0,g+128|0);b=v[a+144>>2];if((Ub[v[v[b>>2]+28>>2]](b)|0)>=1){e=0;while(1){f=(e<<2)+g|0;k=A[(g+128|0)+(e<<3)>>3]*65536;b:{if(D(k)<2147483648){b=~~k;break b}b=-2147483648}v[f>>2]=b;b=v[a+144>>2];e=e+1|0;if((Ub[v[v[b>>2]+28>>2]](b)|0)>(e|0)){continue}break}}a=v[a+144>>2];Ub[v[v[a>>2]+24>>2]](a,g,c,d);Qb=g+640|0}function lIa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Qb-16|0;Qb=e;v[a>>2]=885156;c=fc(40);v[c+8>>2]=0;v[c+12>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[a+4>>2]=c;t[c+27|0]=0;t[c+15|0]=0;v[c+16>>2]=0;v[c+32>>2]=0;v[c>>2]=0;v[c+4>>2]=0;c=fc(464);v[299999]=0;d=Q(3038,c|0,0)|0;f=v[299999];v[299999]=0;if((f|0)!=1){a:{v[c+432>>2]=0;v[c+436>>2]=0;v[c+448>>2]=0;v[c+452>>2]=0;v[c+440>>2]=0;v[c+444>>2]=0;v[294330]=d;c=fc(16);v[299999]=0;S(3039,c|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break a}d=v[a+4>>2];v[d+28>>2]=b;v[d+36>>2]=c;c=Ub[v[v[b>>2]+52>>2]](b)|0;v[v[a+4>>2]+32>>2]=c;c=km();h=c,i=Ub[v[v[b>>2]+24>>2]](b)|0,g=v[v[c>>2]+24>>2],Ub[g](h|0,i|0);b=v[v[a+4>>2]+32>>2];Ub[v[v[b>>2]+68>>2]](b,c);v[e+12>>2]=1;Ub[v[v[c>>2]+20>>2]](c,e+12|0);v[v[294330]+456>>2]=v[v[a+4>>2]+32>>2];v[a+8>>2]=0;Qb=e+16|0;return a|0}}a=P()|0;O()|0;dc(c);T(a|0);L()}function VBa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;d=c;e=(+v[b>>2]*152587890625e-16+16)/116;g=e+ +v[b+4>>2]*152587890625e-16/500;g=A[a+16>>3]*(g>=.20689655172413793?g*(g*g):(g+-.13793103448275862)*.12841854934601665);h=A[a+24>>3]*(e>=.20689655172413793?e*(e*e):(e+-.13793103448275862)*.12841854934601665);e=e+ +v[b+8>>2]*152587890625e-16/-200;e=A[a+32>>3]*(e>=.20689655172413793?e*(e*e):(e+-.13793103448275862)*.12841854934601665);f=A[a+96>>3]*(g*3.240449+h*-1.537136+e*-.498531);f=f<0?0:F(f,1);f=f==-N?N:D(K(f))*65536;a:{if(D(f)<2147483648){b=~~f;break a}b=-2147483648}v[d>>2]=b;b=c;f=A[a+104>>3]*(h*1.876011+g*-.969265+e*.041556);f=f<0?0:F(f,1);f=f==-N?N:D(K(f))*65536;b:{if(D(f)<2147483648){d=~~f;break b}d=-2147483648}v[b+4>>2]=d;e=A[a+112>>3]*(g*.055643+h*-.204026+e*1.057229);e=e<0?0:F(e,1);e=e==-N?N:D(K(e))*65536;if(D(e)<2147483648){v[c+8>>2]=~~e;return}v[c+8>>2]=-2147483648}function PJa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;g=v[b>>2];f=v[d>>2];if(((f|0)%2|0)==1){f=f-1|0;v[d>>2]=f}e=a;h=c;k=h+((f|0)/2<<1)|0;a:{b:{if(h>>>0>=k>>>0){break b}j=a+g|0;while(1){g=e;e=h;h=e+2|0;i=w[e|0];f=w[e+1|0]|i<<8;if((i&252)==216){if(h>>>0>=k>>>0){break a}h=w[h|0];if((h&252)!=220){break a}f=(f<<10&1047552|(w[e+3|0]|h<<8&768))+65536|0;h=e+4|0}if(g>>>0>=j>>>0){h=e;e=g;break b}c:{if(f>>>0<=127){t[g|0]=f;e=g+1|0;break c}e=g;d:{if(f>>>0<=2047){l=0;m=0;n=f>>>6|-64;i=0;break d}if(f>>>0<=65535){m=0;l=1;n=f>>>12|-32;i=6;break d}l=1;m=1;n=f>>>18|-16;i=12}t[e|0]=n;e=g+1|0;if(j>>>0<=e>>>0){break c}t[g+1|0]=f>>>i&63|128;e=g+2|0;if(!(j>>>0>e>>>0&l)){break c}t[g+2|0]=f>>>i-6&63|128;e=g+3|0;if(!(j>>>0>e>>>0&m)){break c}t[g+3|0]=f>>>i-12&63|128;e=g+4|0}if(h>>>0>>0){continue}break}}v[b>>2]=e-a;v[d>>2]=h-c;return v[b>>2]}v[b>>2]=g-a;v[d>>2]=e-c;return-2}function C2(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;if(v[v[a+4>>2]>>2]>0){while(1){a:{g=v[a+4>>2];h=v[g>>2];if((h|0)>0){c=v[g+8>>2];f=c;k=v[c>>2];d=1;b:{if((h|0)<=1){break b}v[f>>2]=v[c+4>>2];f=2;if((h|0)==2){break b}i=h-3|0;e=h+2&3;c:{if(!e){c=1;break c}while(1){c=v[g+8>>2];l=c+(d<<2)|0;d=c;c=f;v[l>>2]=v[d+(c<<2)>>2];f=c+1|0;d=c;e=e-1|0;if(e){continue}break}}if(i>>>0<3){break b}while(1){d=c<<2;c=v[g+8>>2];e=d+c|0;d=c;c=f<<2;v[e>>2]=v[d+c>>2];d=v[g+8>>2];i=d+c|0;e=d;d=c+4|0;v[i>>2]=v[e+d>>2];e=d;d=v[g+8>>2];c=c+8|0;v[e+d>>2]=v[c+d>>2];d=v[g+8>>2];e=d+c|0;c=f+3|0;v[e>>2]=v[d+(c<<2)>>2];f=f+4|0;if((h|0)!=(f|0)){continue}break}}v[g>>2]=h-1;break a}X(1504,7424,594,189362);L()}dc(k);if(v[v[a+4>>2]>>2]>0){continue}break}}if(v[b>>2]<=0){return 0}d:{while(1){c=OJ(v[b+4>>2]+(j<<4)|0);if(!c){return-1}if(q2(v[a+4>>2],c)){break d}j=j+1|0;if((j|0)>2]){continue}break}return 0}return-1}function IP(a,b){var c=0,d=0,e=0;c=Qb-16|0;Qb=c;d=v[b+4>>2];e=v[b>>2];v[a+8>>2]=0;v[a>>2]=e;v[a+4>>2]=d;v[a+12>>2]=v[282402];d=a+8|0;a:{b:{b=v[b+8>>2];c:{d:{if(b){e=v[v[b>>2]+28>>2];v[299999]=0;U(e|0,c+8|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break d}a=P()|0;O()|0;break c}v[c+8>>2]=0}v[299999]=0;Q(4344,d|0,c+8|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){b=v[c+8>>2];v[c+8>>2]=0;if(!b){break b}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)!=1){if(d){break b}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}}break a}a=P()|0;O()|0;b=v[c+8>>2];v[c+8>>2]=0;if(!b){break c}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(c){break c}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}ec(d);T(a|0);L()}b=v[a+8>>2];v[a+12>>2]=v[(b?b+12|0:1129608)>>2];Qb=c+16|0;return a}W(0)|0;O()|0;lc();L()}function AP(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;g=Qb-32|0;Qb=g;v[g+16>>2]=0;v[g+8>>2]=0;v[g+12>>2]=0;v[g>>2]=0;k=Bc(c);if(d){i=Bc(d)}if(e){j=Bc(e)}a:{if(!f){f=yx(a,0,0,b-2|0,g);break a}f=yx(a,f,Bc(f),b-2|0,g)}b:{if(a){v[a+744>>2]=34;t[g+28|0]=105;t[g+29|0]=84;t[g+30|0]=88;t[g+31|0]=116;h=(f+((i+k|0)+j|0)|0)+5|0;t[g+27|0]=h;t[g+26|0]=h>>>8;t[g+25|0]=h>>>16;t[g+24|0]=h>>>24;ld(a,g+24|0,8);v[a+348>>2]=1767135348;_f(a);kd(a,g+28|0,4);v[a+744>>2]=66;c:{if(!c){break c}h=k+1|0;if(!h){break c}ld(a,c,h);kd(a,c,h)}t[g+23|0]=0;t[g+22|0]=(b|0)!=-1&(b|0)!=1;b=g+22|0;ld(a,b,2);kd(a,b,2);t[g+22|0]=0;b=i+1|0;if(b>>>0>=i>>>0){c=d?d:g+22|0;ld(a,c,b);kd(a,c,b)}b=j+1|0;if(b>>>0>=j>>>0){c=e?e:g+22|0;ld(a,c,b);kd(a,c,b)}Kt(a,g,f);v[a+744>>2]=130;b=v[a+384>>2];b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);t[g+24|0]=b;t[g+25|0]=b>>>8;t[g+26|0]=b>>>16;t[g+27|0]=b>>>24;ld(a,g+24|0,4);break b}Kt(a,g,f)}Qb=g+32|0}function ck(a){var 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;e=a;i=v[282445];a=0;a:{b:{while(1){if((e|0)!=w[a+1003792|0]){b=87;a=a+1|0;if((a|0)!=87){continue}break b}break}b=a;if(a){break b}e=1003888;break a}a=1003888;while(1){d=w[a|0];e=a+1|0;a=e;if(d){continue}a=e;b=b-1|0;if(b){continue}break}}a=v[i+20>>2];if(a){g=v[a+4>>2];c=v[a>>2];f=v[c>>2]+1794895138|0;h=xp(v[c+8>>2],f);d=xp(v[c+12>>2],f);b=xp(v[c+16>>2],f);c:{if(g>>>2>>>0<=h>>>0){break c}a=g-(h<<2)|0;if((b|d)&3|(a>>>0<=d>>>0|a>>>0<=b>>>0)){break c}n=b>>>2|0;i=d>>>2|0;while(1){j=h>>>1|0;d=j+k|0;b=d<<1;a=c+(b+i<<2)|0;l=xp(v[a>>2],f);a=xp(v[a+4>>2],f);if(a>>>0>=g>>>0|g-a>>>0<=l>>>0|w[c+(a+l|0)|0]){break c}a=mc(e,a+c|0);if(!a){a=c+(b+n<<2)|0;b=xp(v[a>>2],f);a=xp(v[a+4>>2],f);if(a>>>0>=g>>>0|b>>>0>=g-a>>>0){break c}m=w[c+(a+b|0)|0]?0:a+c|0;break c}if((h|0)==1){break c}a=(a|0)<0;h=a?j:h-j|0;k=a?k:d;continue}}}return m?m:e}function vy(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{e=v[a+8>>2];b:{if((e|0)!=v[a+12>>2]){break b}d=v[a+4>>2];g=v[a>>2];if(d>>>0>g>>>0){g=((d-g>>2)+1|0)/-2<<2;c=g+d|0;f=e-d|0;if(f){Wd(c,d,f);d=v[a+4>>2]}e=c+f|0;v[a+8>>2]=e;v[a+4>>2]=d+g;break b}c=e-g|0;c=c?c>>1:1;if(c>>>0>=1073741824){break a}f=c<<2;h=fc(f);k=h+f|0;i=e-d|0;f=(c&-4)+h|0;e=f;c:{if(!i){break c}j=i-4|0;e=(j>>>2|0)+1&7;d:{if(!e){c=f;break d}c=f;while(1){v[c>>2]=v[d>>2];d=d+4|0;c=c+4|0;e=e-1|0;if(e){continue}break}}e=f+i|0;if(j>>>0<28){break c}while(1){v[c>>2]=v[d>>2];v[c+4>>2]=v[d+4>>2];v[c+8>>2]=v[d+8>>2];v[c+12>>2]=v[d+12>>2];v[c+16>>2]=v[d+16>>2];v[c+20>>2]=v[d+20>>2];v[c+24>>2]=v[d+24>>2];v[c+28>>2]=v[d+28>>2];d=d+32|0;c=c+32|0;if((e|0)!=(c|0)){continue}break}}v[a+12>>2]=k;v[a+8>>2]=e;v[a+4>>2]=f;v[a>>2]=h;if(!g){break b}dc(g);e=v[a+8>>2]}v[e>>2]=v[b>>2];v[a+8>>2]=v[a+8>>2]+4;return}cf(274079);L()}function qua(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Qb-32|0;Qb=d;a=d+16|0;v[a>>2]=0;v[a+4>>2]=0;t[a+8|0]=0;v[299999]=0;$(4184,a|0,b|0,1,-1);b=v[299999];v[299999]=0;a:{b:{if((b|0)==1){break b}v[299999]=0;e=v[a+4>>2];b=v[299999];v[299999]=0;if((b|0)==1){break b}c:{d:{e:{f=!e;if(!f){v[299999]=0;e=v[a+4>>2];b=v[299999];v[299999]=0;if((b|0)==1){break b}f:{if(!e){break f}v[299999]=0;v[d>>2]=0;e=v[v[(w[a+8|0]?v[a>>2]:a)>>2]+(v[d>>2]<<2)>>2];b=v[299999];v[299999]=0;if((b|0)==1){break e}if((e|0)!=123){break f}v[299999]=0;v[d>>2]=0;v[d+4>>2]=0;t[d+8|0]=0;e=d;b=v[299999];v[299999]=0;if((b|0)==1){break d}v[299999]=0;$(4187,c|0,a|0,a|0,e|0);b=v[299999];v[299999]=0;if((b|0)==1){break c}xc(e)}v[299999]=0;V(4188,c|0,a|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}}xc(a);Qb=d+32|0;return!f|0}b=P()|0;O()|0;break a}b=P()|0;O()|0;break a}b=P()|0;O()|0;xc(e);break a}b=P()|0;O()|0}xc(a);T(b|0);L()}function VEa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;a:{h=v[a+4>>2];if(!h){break a}if((d|0)!=1){g=v[a+12>>2];b:{c:{d:{e=v[a+16>>2];if((e|0)<=0){break d}while(1){if(v[B(f,40)+g>>2]==(b|0)){break d}f=f+1|0;if((e|0)!=(f|0)){continue}break}f=e;break c}if((e|0)!=(f|0)){break b}}i=a;if((e|0)==v[a+20>>2]){e=e+8|0;v[a+20>>2]=e;g=pd(g,e,40);v[a+12>>2]=g;h=v[a+4>>2];e=v[a+16>>2]}v[i+16>>2]=e+1}v[(b<<2)+h>>2]=0;a=B(f,40)+g|0;v[a+36>>2]=d;v[a>>2]=b;if((d|0)<1){break a}v[a+4>>2]=v[c>>2];a=d-1|0;b=a>>>0<7?a:7;if(!b){break a}a=B(f,40)+g|0;v[a+8>>2]=v[c+4>>2];if((b|0)==1){break a}v[a+12>>2]=v[c+8>>2];if((b|0)==2){break a}a=B(f,40)+g|0;v[a+16>>2]=v[c+12>>2];if((b|0)==3){break a}v[a+20>>2]=v[c+16>>2];if((b|0)==4){break a}a=B(f,40)+g|0;v[a+24>>2]=v[c+20>>2];if((b|0)==5){break a}v[a+28>>2]=v[c+24>>2];if((b|0)==6){break a}v[(B(f,40)+g|0)+32>>2]=v[c+28>>2];return}v[(b<<2)+h>>2]=v[c>>2]}}function jD(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;i=Qb-32|0;Qb=i;a:{b:{if(!(v[b>>2]<0|v[b+4>>2]<0|v[b+8>>2]>v[a+32>>2])){if(v[b+12>>2]<=v[a+36>>2]){break b}}a=vc(i+8|0,273133,241395,267,343225,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}b=P()|0;O()|0;qc(a);T(b|0);L()}if(!v[a+40>>2]){BO(a,0,0)}e=v[a+52>>2];if(!e){CO(a,0,0);e=v[a+52>>2]}f=v[(v[b>>2]<<2)+e>>2]>>4;v[c>>2]=f;h=v[a+40>>2];g=v[h+(v[b+4>>2]<<2)>>2]>>4;v[c+4>>2]=g;e=v[((v[b+8>>2]<<2)+e|0)-4>>2]+15>>4;v[c+8>>2]=e;h=v[(h+(v[b+12>>2]<<2)|0)-4>>2];f=(f|0)>0?f:0;v[c>>2]=f;b=v[a+24>>2];g=(g|0)>0?g:0;v[c+4>>2]=g;e=e+1|0;b=(b|0)>(e|0)?e:b;v[c+8>>2]=b;j=c;c=(h+15>>4)+1|0;e=v[a+28>>2];c=(c|0)<(e|0)?c:e;v[j+12>>2]=c;e=v[a+16>>2];f=f<>2]=(f|0)>0?f:0;b=b<>2];v[d+8>>2]=(b|0)<(e|0)?b:e;b=v[a+20>>2];e=g<>2]=(e|0)>0?e:0;b=c<>2];v[d+12>>2]=(a|0)>(b|0)?b:a;Qb=i+32|0;return}L()}function ll(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=v[c>>2];if(!f){f=fc(B(b,6)+4|0);v[c>>2]=f}if(e){t[f+2|0]=191;t[f|0]=239;t[f+1|0]=187;f=f+3|0}if((b|0)>=1){e=(b<<2)+a|0;while(1){b=a;a=b+4|0;b=v[b>>2];a:{if(b>>>0<=127){t[f|0]=b;f=f+1|0;break a}if(b>>>0<=2047){t[f+1|0]=b&63|128;t[f|0]=b>>>6|192;f=f+2|0;break a}if(b>>>0<=65535){t[f+2|0]=b&63|128;t[f|0]=b>>>12|224;t[f+1|0]=b>>>6&63|128;f=f+3|0;break a}if(b>>>0<=2097150){t[f+3|0]=b&63|128;t[f|0]=b>>>18|240;t[f+2|0]=b>>>6&63|128;t[f+1|0]=b>>>12&63|128;f=f+4|0;break a}if(b>>>0<=67108862){t[f+4|0]=b&63|128;t[f|0]=b>>>24|248;t[f+3|0]=b>>>6&63|128;t[f+2|0]=b>>>12&63|128;t[f+1|0]=b>>>18&63|128;f=f+5|0;break a}if(b>>>0>2147483646){break a}t[f+5|0]=b&63|128;t[f|0]=b>>>30|252;t[f+4|0]=b>>>6&63|128;t[f+3|0]=b>>>12&63|128;t[f+2|0]=b>>>18&63|128;t[f+1|0]=b>>>24&63|128;f=f+6|0}if(a>>>0>>0){continue}break}}v[d>>2]=f-v[c>>2];t[f|0]=0}function _Q(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=Qb-16|0;Qb=d;a:{b:{c:{f=v[a+200>>2];if(!(f&1)){if((c|0)!=13){break c}v[a+200>>2]=f|1;c=d+3|0;yf(a,c,13);kd(a,c,13);td(a,0);c=w[d+3|0]|w[d+4|0]<<8|(w[d+5|0]<<16|w[d+6|0]<<24);f=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if((f|0)<=-1){break b}c=w[d+7|0]|w[d+8|0]<<8|(w[d+9|0]<<16|w[d+10|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if((g|0)<=-1){break a}j=w[d+15|0];h=w[d+12|0];k=w[d+14|0];l=w[d+13|0];i=w[d+11|0];t[a+402|0]=i;v[a+324>>2]=g;v[a+320>>2]=f;t[a+696|0]=l;t[a+664|0]=k;t[a+401|0]=h;t[a+398|0]=j;e=h-2|0;m=(e&255)<<3;c=m&31;c=(e&255)>>>0<5?(m&63)>>>0>=32?4>>>c|0:((1<>>c:1;t[a+405|0]=c;e=B(c,i);t[a+404|0]=e;c=a;e=e&255;d:{if(e>>>0>=8){e=B(f,e>>>3|0);break d}e=B(f,e)+7>>>3|0}v[c+336>>2]=e;gQ(a,b,f,g,i,h,j,l,k);Qb=d+16|0;return}hd(a,27367);L()}hd(a,28484);L()}hd(a,2354);L()}hd(a,2354);L()}function E9a(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;a:{b:{if(!(w[a+285|0]|w[a+286|0]|(w[a+287|0]|w[a+288|0]))){break b}if(w[a+300|0]){break b}c:{if(!c){break c}f=d;while(1){i=f;f=f+1|0;if(w[i|0]){continue}break}g=i-d|0;if((g|0)>(c|0)){pc(a,1043,0,0);return 1043}f=w[f|0];if((f-1&255)>>>0>=2){pc(a,1048,0,0);return 1048}h=(c-g|0)-2|0;if(!((h>>>0)%6|0?(f&255)==1:0)&(!((h>>>0)%10|0)|(f&255)!=2)){break c}pc(a,1028,0,0);return 1028}d:{e:{if(!w[a+112|0]){break e}b=Ub[v[b+4>>2]](a,b,e)|0;if(b){break d}b=v[e>>2];c=!c;t[b+32|0]=c;if(c){break e}t[b+44|0]=f;v[b+36>>2]=g;v[b+48>>2]=(h>>>0)/(((f&255)==1?6:10)>>>0);if(g){b=Ub[v[a+152>>2]](g+1|0)|0;v[v[e>>2]+40>>2]=b;b=v[v[e>>2]+40>>2];if(!b){break a}gc(b,d,g)}if(!h){break e}b=Ub[v[a+152>>2]](h)|0;v[v[e>>2]+52>>2]=b;b=v[v[e>>2]+52>>2];if(!b){break a}gc(b,i+2|0,h)}b=0}return b|0}pc(a,1029,0,0);return 1029}pc(a,1,0,0);return 1}function Ioa(a){a=a|0;var b=0,c=0,d=0,e=0;b=Qb-16|0;Qb=b;c=fc(16);v[c>>2]=0;v[c+4>>2]=0;d=c+8|0;v[d>>2]=0;v[c+12>>2]=v[282402];a:{b:{a=v[a>>2];c:{d:{if(a){e=v[v[a>>2]+28>>2];v[299999]=0;U(e|0,b+8|0,a|0,1);a=v[299999];v[299999]=0;if((a|0)!=1){break d}c=P()|0;O()|0;break c}v[b+8>>2]=0}v[299999]=0;Q(4344,d|0,b+8|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){a=v[b+8>>2];v[b+8>>2]=0;if(!a){break b}v[299999]=0;d=v[a+4>>2]-1|0;v[a+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)!=1){if(d){break b}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}}break a}c=P()|0;O()|0;a=v[b+8>>2];v[b+8>>2]=0;if(!a){break c}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(b){break c}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}ec(d);T(c|0);L()}a=v[c+8>>2];v[c+12>>2]=v[(a?a+12|0:1129608)>>2];Qb=b+16|0;return c|0}W(0)|0;O()|0;lc();L()}function A8a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=x[b+52>>1];d=w[b+40|0];e=v[a+428>>2];c=v[b+32>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[e+8|0]=c;t[e+9|0]=c>>>8;t[e+10|0]=c>>>16;t[e+11|0]=c>>>24;c=v[b+36>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[e+12|0]=c;t[e+13|0]=c>>>8;t[e+14|0]=c>>>16;t[e+15|0]=c>>>24;t[e+16|0]=w[b+40|0];t[e+17|0]=w[b+41|0];t[e+18|0]=w[b+42|0];t[e+19|0]=w[b+43|0];t[e+20|0]=w[b+44|0];c=d>>>0<9?255:-1;g=e+8|0;a:{b:{d=x[b+46>>1];if(d|x[b+48>>1]|(x[b+50>>1]|(c&65535)!=(f|0))){break b}if(w[b+54|0]){break b}d=13;break a}d=d<<8|d>>>8;t[e+21|0]=d;t[e+22|0]=d>>>8;d=x[b+48>>1];d=d<<8|d>>>8;t[e+23|0]=d;t[e+24|0]=d>>>8;d=x[b+50>>1];d=d<<8|d>>>8;t[e+25|0]=d;t[e+26|0]=d>>>8;d=19;if(!(w[b+54|0]|(c&65535)!=(f|0))){break a}c=x[b+52>>1];c=c<<8|c>>>8;t[e+27|0]=c;t[e+28|0]=c>>>8;f=w[b+54|0];d=21;if(!f){break a}t[e+29|0]=f;d=22}c=d;return _d(a,v[b>>2],c,g)|0}function ST(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{g=v[a+4>>2];b:{if((g|0)!=v[a>>2]){c=g;break b}d=v[a+8>>2];c=v[a+12>>2];if(d>>>0>>0){f=((c-d>>2)+1|0)/2<<2;c=f+d|0;e=d-g|0;if(e){c=c-e|0;Wd(c,g,e);d=v[a+8>>2]}v[a+4>>2]=c;v[a+8>>2]=d+f;break b}c=c-g|0;c=c?c>>1:1;if(c>>>0>=1073741824){break a}e=c<<2;h=fc(e);k=h+e|0;c=(c+3&-4)+h|0;f=c;i=d-g|0;c:{if(!i){break c}d=c;e=g;j=i-4|0;f=(j>>>2|0)+1&7;if(f){while(1){v[d>>2]=v[e>>2];e=e+4|0;d=d+4|0;f=f-1|0;if(f){continue}break}}f=c+i|0;if(j>>>0<28){break c}while(1){v[d>>2]=v[e>>2];v[d+4>>2]=v[e+4>>2];v[d+8>>2]=v[e+8>>2];v[d+12>>2]=v[e+12>>2];v[d+16>>2]=v[e+16>>2];v[d+20>>2]=v[e+20>>2];v[d+24>>2]=v[e+24>>2];v[d+28>>2]=v[e+28>>2];e=e+32|0;d=d+32|0;if((f|0)!=(d|0)){continue}break}}v[a+12>>2]=k;v[a+8>>2]=f;v[a+4>>2]=c;v[a>>2]=h;if(!g){break b}dc(g);c=v[a+4>>2]}v[c-4>>2]=v[b>>2];v[a+4>>2]=v[a+4>>2]-4;return}cf(274079);L()}function JQ(a,b,c){var d=0,e=0,f=0;d=Qb-16|0;Qb=d;e=v[a+200>>2];if(e&1){a:{if(e&4){Gc(a,62561);td(a,c);break a}f=w[a+401|0];if(!(e&2|(f|0)!=3)){Gc(a,62833);td(a,c);break a}if(!(!b|!(w[b+8|0]&32))){Gc(a,62923);td(a,c);break a}if((((f|0)==3?1:f&2?6:2)|0)!=(c|0)){Gc(a,63027);td(a,c);break a}e=d+10|0;yf(a,e,c);kd(a,e,c);if(td(a,0)){break a}e=w[a+401|0];b:{if((e|0)==3){c=w[d+10|0];t[d|0]=c;c:{d:{if(!b){break d}e=x[b+20>>1];if(!e){break d}if(c>>>0>=e>>>0){Gc(a,63318);break a}c=v[a+388>>2]+B(c,3)|0;u[d+2>>1]=w[c|0];u[d+4>>1]=w[c+1|0];u[d+6>>1]=w[c+2|0];break c}u[d+6>>1]=0;u[d+2>>1]=0;u[d+4>>1]=0}u[d+8>>1]=0;break b}t[d|0]=0;c=w[d+10|0]|w[d+11|0]<<8;c=c<<8|c>>>8;if(!(e&2)){u[d+6>>1]=c;u[d+8>>1]=c;u[d+4>>1]=c;u[d+2>>1]=c;break b}u[d+2>>1]=c;u[d+8>>1]=0;c=w[d+12|0]|w[d+13|0]<<8;u[d+4>>1]=c<<8|c>>>8;c=w[d+14|0]|w[d+15|0]<<8;u[d+6>>1]=c<<8|c>>>8}ID(a,b,d)}Qb=d+16|0;return}hd(a,62432);L()}function sG(a,b,c,d,e,f,g,h){var i=0,j=0,k=0;i=v[d>>2];a:{b:{c:{d:{if(!f){break d}k=v[f>>2];if(!k){break d}if((c|0)<1){j=c;break b}if(e>>>0>i>>>0){break c}j=c;break b}if((c|0)<1){j=c;break a}if(e>>>0<=i>>>0){j=c;break a}while(1){u[i>>1]=x[b>>1];j=c-1|0;i=i+2|0;b=b+2|0;if((c|0)<2){break a}c=j;if(e>>>0>i>>>0){continue}break}break a}while(1){u[i>>1]=x[b>>1];v[k>>2]=g;j=c-1|0;k=k+4|0;i=i+2|0;b=b+2|0;if((c|0)<2){break b}c=j;if(e>>>0>i>>>0){continue}break}}v[f>>2]=k}v[d>>2]=i;if((j|0)>=1){e:{if(!a){break e}t[a+65|0]=j;d=j-1|0;i=a+116|0;c=j&7;if(c){while(1){u[i>>1]=x[b>>1];j=j-1|0;i=i+2|0;b=b+2|0;c=c-1|0;if(c){continue}break}}if(d>>>0<7){break e}while(1){u[i>>1]=x[b>>1];u[i+2>>1]=x[b+2>>1];u[i+4>>1]=x[b+4>>1];u[i+6>>1]=x[b+6>>1];u[i+8>>1]=x[b+8>>1];u[i+10>>1]=x[b+10>>1];u[i+12>>1]=x[b+12>>1];u[i+14>>1]=x[b+14>>1];i=i+16|0;b=b+16|0;a=(j|0)>8;j=j-8|0;if(a){continue}break}}v[h>>2]=15}}function u4a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=Qb-16|0;Qb=e;d=w[a+20|0];f=v[a+16>>2];g=v[a+12>>2];a:{b:{if(!mc(b,242650)){b=v[c>>2];if(!b){d=35;break a}d=v[b+116>>2];v[e+8>>2]=d;if(!d){d=oA(b,e+8|0,a);if(d){break a}d=v[e+8>>2];v[b+116>>2]=d;v[b+120>>2]=1570}v[c+4>>2]=v[d+8>>2];break b}if(!mc(b,227521)){v[c>>2]=v[v[(g<<2)+369488>>2]+8>>2];break b}if(!mc(b,227506)){v[c>>2]=f;break b}if(!mc(b,232166)){b=v[c>>2];if(!b){d=35;break a}d=v[b+116>>2];v[e+12>>2]=d;if(!d){d=oA(b,e+12|0,a);if(d){break a}d=v[e+12>>2];v[b+116>>2]=d;v[b+120>>2]=1570}v[c+4>>2]=v[d+12>>2];break b}if(!mc(b,272655)){t[c|0]=d;break b}if(!mc(b,235072)){v[c>>2]=v[a+24>>2];v[c+4>>2]=v[a+28>>2];v[c+8>>2]=v[a+32>>2];v[c+12>>2]=v[a+36>>2];v[c+16>>2]=v[a+40>>2];v[c+20>>2]=v[a+44>>2];v[c+24>>2]=v[a+48>>2];v[c+28>>2]=v[a+52>>2];break b}d=12;if(mc(b,272686)){break a}t[c|0]=w[a+21|0]}d=0}Qb=e+16|0;return d|0}function JLa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if(!w[b+8|0]){d=Pg(48);v[a+8>>2]=d;if(d){u[d>>1]=65534;v[a+44>>2]=65535;t[d+25|0]=0;u[d+2>>1]=0;e=v[b+12>>2]&15;if(e>>>0<=8){t[d+24|0]=1;b=B(e,12);a=v[b+862884>>2];v[d+20>>2]=a;v[d+16>>2]=a;v[d+12>>2]=a;a=x[b+862880>>1]<<7;u[d+8>>1]=a;u[d+4>>1]=a;u[d+6>>1]=a;a=w[322711]|w[322712]<<8|(w[322713]<<16|w[322714]<<24);b=w[322707]|w[322708]<<8|(w[322709]<<16|w[322710]<<24);t[d+26|0]=b;t[d+27|0]=b>>>8;t[d+28|0]=b>>>16;t[d+29|0]=b>>>24;t[d+30|0]=a;t[d+31|0]=a>>>8;t[d+32|0]=a>>>16;t[d+33|0]=a>>>24;a=w[322718]|w[322719]<<8|(w[322720]<<16|w[322721]<<24);b=w[322714]|w[322715]<<8|(w[322716]<<16|w[322717]<<24);t[d+33|0]=b;t[d+34|0]=b>>>8;t[d+35|0]=b>>>16;t[d+36|0]=b>>>24;t[d+37|0]=a;t[d+38|0]=a>>>8;t[d+39|0]=a>>>16;t[d+40|0]=a>>>24;a=d+26|0;a=Bc(a)+a|0;t[a|0]=e|48;t[a+1|0]=0;v[d+44>>2]=0;return}_e(d);v[a+8>>2]=0;v[c>>2]=1;return}v[c>>2]=7}}function cza(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;f=Qb-16|0;Qb=f;v[a+64>>2]=13;v[a+48>>2]=13;v[a+32>>2]=13;v[a+16>>2]=13;v[f>>2]=13;v[a+92>>2]=d;v[a+88>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a>>2]=e;a:{if(v[rc(c,280714,f,0)>>2]==3){d=fc(12);v[299999]=0;Q(3316,d|0,v[f+8>>2])|0;e=v[299999];v[299999]=0;if((e|0)==1){break a}v[a+4>>2]=d}g=a- -64|0;h=a+48|0;i=a+32|0;j=a+16|0;hc(f);k=a;b:{c:{if(v[rc(c,227165,f,0)>>2]!=5){d=fc(12);v[299999]=0;e=Q(3737,d|0,f|0)|0;l=v[299999];v[299999]=0;d:{if((l|0)!=1){if(Ub[v[v[d>>2]+8>>2]](e)|0){d=e}else{Ub[v[v[d>>2]+4>>2]](e);d=0}break d}break a}break c}hc(f);if(v[rc(c,322539,f,0)>>2]==5){break b}d=eS(f,0)}v[k+8>>2]=d}hc(f);zf(b,j);Ce(c,225630,i);Ce(c,227191,h);Ce(c,225341,g);v[a+80>>2]=0;if(!(v[rc(c,227850,f,0)>>2]!=1|v[f+8>>2]<1)){v[a+80>>2]=1}hc(f);v[a+84>>2]=-1;Qb=f+16|0;return a|0}a=P()|0;O()|0;dc(d);T(a|0);L()}function uya(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;v[a>>2]=962804;v[a+4>>2]=b;a:{b:{if((c|0)!=1){b=fc(44);v[b+40>>2]=0;v[b+32>>2]=0;v[b+16>>2]=f;v[b+12>>2]=e;v[b+8>>2]=d;v[b+4>>2]=c;v[b>>2]=a;c=B(d,e);v[b+20>>2]=c;h=B(e,f)+7>>3;v[b+24>>2]=h;h=h+(B(c,f)+7>>3)|0;v[b+28>>2]=h;c:{d:{if((d|0)<1|(e|0)<1|((f|0)<1|(f|0)>16)){break d}if((2147483647/(e>>>0)|0)<=(d|0)|(e|0)>32|(c|0)>=(2147483640/(f>>>0)|0)){break d}v[299999]=0;c=S(3693,h|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break c}v[b+32>>2]=c;ic(c,0,h);v[b+40>>2]=1;v[b+36>>2]=v[b+28>>2];v[a+8>>2]=b;break b}v[a+8>>2]=b;v[299999]=0;uc(0);c=v[299999];v[299999]=0;if((c|0)==1){break a}dc(b);v[a+8>>2]=0;break b}a=P()|0;O()|0;dc(b);T(a|0);L()}v[a+8>>2]=0}v[a+53316>>2]=1;v[a+53308>>2]=0;v[a+53312>>2]=0;v[a+49192>>2]=258;v[a+49196>>2]=9;v[a+24>>2]=0;v[a+16>>2]=0;v[a+12>>2]=g;return a|0}W(0)|0;O()|0;lc();L()}function _oa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Qb-16|0;Qb=c;a:{if(v[b+8>>2]==2){v[a>>2]=0;v[a+4>>2]=v[282402];b:{b=v[b+24>>2];c:{d:{if(b){d=v[v[b>>2]+28>>2];v[299999]=0;U(d|0,c+8|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break d}b=P()|0;O()|0;break c}v[c+8>>2]=0}v[299999]=0;Q(4344,a|0,c+8|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){b=v[c+8>>2];v[c+8>>2]=0;if(!b){break b}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)!=1){if(d){break b}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}}break a}b=P()|0;O()|0;d=v[c+8>>2];v[c+8>>2]=0;if(!d){break c}v[299999]=0;c=v[d+4>>2]-1|0;v[d+4>>2]=c;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(c){break c}v[299999]=0;R(4338,d|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}ec(a);T(b|0);L()}b=a;a=v[a>>2];v[b+4>>2]=v[(a?a+12|0:1129608)>>2];Qb=c+16|0;return}Lt(b,2);L()}W(0)|0;O()|0;lc();L()}function __a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=a+16|0;if(d>>>0>y[b+160>>2]){Sd(b,8)}c=w[a+12|0]|w[a+13|0]<<8|(w[a+14|0]<<16|w[a+15|0]<<24);h=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);c=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);if(!(!(c>>>0<16|c>>>0>v[b+160>>2]-a>>>0)&(c-16>>>0)/12>>>0>=h>>>0)){Sd(b,8)}if(h){c=0;a=0;while(1){f=c;g=w[d+8|0]|w[d+9|0]<<8|(w[d+10|0]<<16|w[d+11|0]<<24);c=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);e=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(c>>>0>>0){Sd(b,8)}if(!(!a|e>>>0>f>>>0)){Sd(b,8)}a:{if(v[b+164>>2]<1){break a}f=v[b+172>>2];e=c-e|0;if(f>>>0>=e>>>0&f-e>>>0>(g<<8&16711680|g<<24|(g>>>8&65280|g>>>24))>>>0){break a}Sd(b,16)}d=d+12|0;a=a+1|0;if((h|0)!=(a|0)){continue}break}}return 0}function Zoa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Qb-16|0;Qb=c;a:{if(v[b+8>>2]==3){v[a>>2]=0;v[a+4>>2]=v[282402];b:{b=v[b+32>>2];c:{d:{if(b){d=v[v[b>>2]+28>>2];v[299999]=0;U(d|0,c+8|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break d}b=P()|0;O()|0;break c}v[c+8>>2]=0}v[299999]=0;Q(4344,a|0,c+8|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){b=v[c+8>>2];v[c+8>>2]=0;if(!b){break b}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)!=1){if(d){break b}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}}break a}b=P()|0;O()|0;d=v[c+8>>2];v[c+8>>2]=0;if(!d){break c}v[299999]=0;c=v[d+4>>2]-1|0;v[d+4>>2]=c;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(c){break c}v[299999]=0;R(4338,d|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}ec(a);T(b|0);L()}b=a;a=v[a>>2];v[b+4>>2]=v[(a?a+12|0:1129608)>>2];Qb=c+16|0;return}Lt(b,3);L()}W(0)|0;O()|0;lc();L()}function PP(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Qb-16|0;Qb=c;a:{if(v[b+8>>2]==4){v[a>>2]=0;v[a+4>>2]=v[282402];b:{b=v[b+12>>2];c:{d:{if(b){d=v[v[b>>2]+28>>2];v[299999]=0;U(d|0,c+8|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break d}b=P()|0;O()|0;break c}v[c+8>>2]=0}v[299999]=0;Q(4344,a|0,c+8|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){b=v[c+8>>2];v[c+8>>2]=0;if(!b){break b}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)!=1){if(d){break b}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}}break a}b=P()|0;O()|0;d=v[c+8>>2];v[c+8>>2]=0;if(!d){break c}v[299999]=0;c=v[d+4>>2]-1|0;v[d+4>>2]=c;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(c){break c}v[299999]=0;R(4338,d|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}ec(a);T(b|0);L()}b=a;a=v[a>>2];v[b+4>>2]=v[(a?a+12|0:1129608)>>2];Qb=c+16|0;return}Lt(b,4);L()}W(0)|0;O()|0;lc();L()}function Fab(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,j=0,k=0;a:{if(f){a=c<<1;j=b<<1;if(((c+1|0)/2|0)<=(b|0)){if(!d){break a}while(1){i=g;h=w[f|0];b=w[e|0];if((h|0)!=(b|0)){b=b+((B(h-b|0,j)+c|0)/(a|0)|0)|0}t[i|0]=b;h=w[f+1|0];b=w[e+1|0];if((h|0)!=(b|0)){b=b+((B(h-b|0,j)+c|0)/(a|0)|0)|0}t[i+1|0]=b;h=w[f+2|0];b=w[e+2|0];if((h|0)!=(b|0)){b=b+((B(h-b|0,j)+c|0)/(a|0)|0)|0}t[i+2|0]=b;t[g+3|0]=w[f+3|0];g=g+4|0;f=f+4|0;e=e+4|0;k=k+1|0;if((k|0)!=(d|0)){continue}break}break a}if(!d){break a}while(1){i=g;h=w[f|0];b=w[e|0];if((h|0)!=(b|0)){b=b+((B(h-b|0,j)+c|0)/(a|0)|0)|0}t[i|0]=b;h=w[f+1|0];b=w[e+1|0];if((h|0)!=(b|0)){b=b+((B(h-b|0,j)+c|0)/(a|0)|0)|0}t[i+1|0]=b;h=w[f+2|0];b=w[e+2|0];if((h|0)!=(b|0)){b=b+((B(h-b|0,j)+c|0)/(a|0)|0)|0}t[i+2|0]=b;t[g+3|0]=w[e+3|0];g=g+4|0;e=e+4|0;f=f+4|0;k=k+1|0;if((k|0)!=(d|0)){continue}break}break a}gc(g,e,d<<2)}return 0}function E6a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=Qb-5136|0;Qb=g;u[a+25204>>1]=18761;a:{if(!x[a+26304>>1]){break a}d=0-x[a+26312>>1]|0;e=x[a+26306>>1];while(1){Mi(a,g,B(e,10)>>>4|0);e=x[a+26306>>1];b:{if(!e){e=0;break b}m=d<<1&14;b=x[a+26314>>1];c=0-b|0;h=g;j=b;while(1){if((f|0)>9){f=f-10|0}else{k=x[h>>1]|k<<16;h=h+2|0;f=f+6|0}l=k>>f&1023;c:{if(!(x[a+26308>>1]<=d>>>0|x[a+26310>>1]<=c>>>0)){b=x[a+26316>>1];u[(v[a+26352>>2]+(B(x[a+26320>>1],d>>b)+(c>>b)<<3)|0)+((v[a+26028>>2]>>>((c&1|m)<<1)&3)<<1)>>1]=l;b=x[a+26314>>1];e=x[a+26306>>1];break c}if(x[a+26310>>1]==(c|0)|(1-j|0)>=(c|0)){break c}v[a+26120>>2]=v[a+26120>>2]+l;i=i+1|0}j=b;c=c+1|0;if((c|0)<(e-b|0)){continue}break}}d=d+1|0;if((d|0)<(x[a+26304>>1]-x[a+26312>>1]|0)){continue}break}if(!i){break a}v[a+26120>>2]=y[a+26120>>2]/(i>>>0)}v[a+26124>>2]=1023;if(x[a+26306>>1]>=1601){ZI(a)}Qb=g+5136|0}function Ona(a){a=a|0;var b=0,c=0,d=0;c=tx(a);v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=983692;v[a+16>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;v[a+40>>2]=0;v[a+44>>2]=0;v[a+48>>2]=0;v[a+52>>2]=0;b=v[282402];v[a+68>>2]=0;v[a- -64>>2]=b;v[a+60>>2]=0;v[a+56>>2]=b;v[299999]=0;d=S(4477,a+72|0)|0;b=v[299999];v[299999]=0;a:{b:{if((b|0)!=1){v[a+108>>2]=0;v[a+112>>2]=0;v[a+124>>2]=0;v[a+116>>2]=0;v[a+120>>2]=0;v[299999]=0;b=a+112|0;v[b>>2]=982500;v[b+4>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;b=v[299999];v[299999]=0;if((b|0)==1){break b}v[a+148>>2]=0;t[a+144|0]=0;v[a+140>>2]=-1;t[a+136|0]=0;v[a+132>>2]=0;v[a+164>>2]=0;v[a+156>>2]=0;v[a+160>>2]=0;return a|0}b=P()|0;O()|0;break a}b=P()|0;O()|0;ec(a+108|0);$c(d)}ec(a+60|0);ec(a+52|0);ec(a+48|0);ec(a+44|0);ec(a+40|0);ec(a+36|0);ec(a+32|0);ec(a+28|0);ec(a+24|0);ec(a+20|0);ec(a+16|0);ec(a+12|0);ec(a+8|0);Om(c);T(b|0);L()}function Aha(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Qb-16|0;Qb=d;v[d+4>>2]=c;wO(d,b,d+4|0);a:{b:{b=v[d>>2];c:{if(b){c=v[v[b>>2]+28>>2];v[299999]=0;U(c|0,d+8|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break c}a=P()|0;O()|0;break b}v[d+8>>2]=0}v[299999]=0;Q(4344,a|0,d+8|0)|0;b=v[299999];v[299999]=0;d:{if((b|0)!=1){b=v[d+8>>2];v[d+8>>2]=0;if(!b){break d}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;e=v[299999];v[299999]=0;if((e|0)!=1){if(c){break d}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break d}}break a}a=P()|0;O()|0;ec(d+8|0);break b}b=v[a>>2];v[a+4>>2]=v[(b?b+12|0:1129608)>>2];b=v[d>>2];v[d>>2]=0;e:{f:{if(!b){break f}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;e=v[299999];v[299999]=0;if((e|0)==1){break e}if(c){break f}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break e}}Qb=d+16|0;return a|0}break a}ec(d);T(a|0);L()}W(0)|0;O()|0;lc();L()}function MU(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;f=Qb-32|0;Qb=f;a:{if(!(d|e)|(!b|!c)){break a}b:{g=v[b+36>>2];if(g){break b}h=b;b=v[b+32>>2];if(b){b=v[b+80>>2]}else{b=0}g=oo(0,b);v[h+36>>2]=g;if(g){break b}c:{if(!a){b=0;d=0;c=0;break c}b=v[a>>2];d=v[a+4>>2];c=0;if((v[a+28>>2]&-2)!=-1412623820){break c}c=(b^-1)+a>>>0<249?b:0}v[f>>2]=356868;oc(0,d,b,c,0,23,2,3,356868,0,0,0,350051,f);break a}b=Ub[v[259704]](12)|0;if(!b){d:{if(!a){b=0;c=0;break d}b=v[a>>2];c=v[a+4>>2];if((v[a+28>>2]&-2)!=-1412623820){break d}i=(b^-1)+a>>>0<249?b:0}v[f+16>>2]=291415;oc(0,c,b,i,0,23,2,3,291415,0,0,0,350051,f+16|0);break a}v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;j=b,k=we(c),v[j>>2]=k;if(e){j=b,k=we(e),v[j+8>>2]=k}if(d){j=b,k=we(d),v[j+4>>2]=k}if(!SF(g,c,b)){break a}a=v[b>>2];if(a){Ub[v[259708]](a)}a=v[b+4>>2];if(a){Ub[v[259708]](a)}a=v[b+8>>2];if(a){Ub[v[259708]](a)}Ub[v[259708]](b)}Qb=f+32|0}function zua(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=Qb-16|0;Qb=d;v[d+12>>2]=0;v[a>>2]=0;e=v[v[b>>2]+20>>2];v[299999]=0;b=Y(e|0,b|0,c|0,d+12|0)|0;c=v[299999];v[299999]=0;a:{if((c|0)!=1){b:{c:{d:{if(!b){break d}c=v[d+12>>2];b=v[c+4>>2];if(b>>>0>=4294967280){v[299999]=0;R(2530,d|0);b=v[299999];v[299999]=0;if((b|0)==1){break c}L()}e=v[c>>2];e:{f:{if(b>>>0>=11){v[299999]=0;f=b+16&-16;c=S(1,f|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break c}v[d>>2]=c;v[d+4>>2]=b;v[d+8>>2]=f|-2147483648;break f}t[d+11|0]=b;c=d;if(!b){break e}}gc(c,e,b)}t[b+c|0]=0;v[299999]=0;Q(4095,a|0,d|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}a=v[d+12>>2];if(a){g:{if(!w[a+8|0]){break g}b=v[a>>2];if(!b){break g}dc(b)}dc(a)}if(t[d+11|0]>-1){break d}dc(v[d>>2])}Qb=d+16|0;return}b=P()|0;O()|0;break a}b=P()|0;O()|0;if(t[d+11|0]>-1){break a}dc(v[d>>2]);break a}b=P()|0;O()|0}Nf(a);T(b|0);L()}function ev(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=w[b+11|0];e=d<<24>>24;g=v[b+4>>2];i=(e|0)<0?g:d;c=0;a:{if(!i){break a}f=w[a+11|0];h=f<<24>>24;j=v[a+4>>2];k=(h|0)<0?j:f;c=1e4;if(!k){break a}if((i|0)==(k|0)){c=0;if(!od((e|0)<0?v[b>>2]:b,(h|0)<0?v[a>>2]:a,i)){break a}f=w[a+11|0];h=f;d=w[b+11|0];e=d;j=v[a+4>>2];g=v[b+4>>2]}c=e<<24>>24<0;i=c?v[b>>2]:b;e=h<<24>>24<0;h=e?v[a>>2]:a;k=c?g:d;j=e?j:f;f=0;e=0;d=0;while(1){if((f|0)>=(j|0)){c=d}else{c=v[h>>2];g=c-32|0;f=g>>>0>13|!(1<>>0<26?c+32|0:c}g=(f|0)==(j|0)?0:c;if((e|0)<(k|0)){d=v[i>>2];c=d-32|0;e=c>>>0>13|!(1<>>0<26?d+32|0:d}c=d;d=g;c=(e|0)==(k|0)?0:c;if((d|0)==(c|0)){continue}break}if(!(c?d:0)){return RG(a,b)?700:1e3}c=1e3;if(RG(a,b)){break a}d=v[b+4>>2];b=w[b+11|0];c=v[a+4>>2];a=w[a+11|0];c=(b<<24>>24<0?d:b)|(a<<24>>24<0?c:a)?1e4:1500}return c}function JEa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=Qb-16|0;Qb=e;c=-1;a:{b:{switch(v[a+40>>2]){case 0:c=v[a+352>>2];if((c|0)!=-1){break a}c=v[a+4>>2];g=Ub[v[v[c>>2]+28>>2]](c)|0;if((g|0)==-1){c=v[a+352>>2];break a}c=w[a+348|0]+1|0;t[a+348|0]=c;d=c&255;c=a+92|0;d=d+c|0;b=w[d|0];f=b+w[a+349|0]|0;t[a+349|0]=f;h=d;d=c+(f&255)|0;f=w[d|0];t[h|0]=f;t[d|0]=b;c=w[c+(b+f&255)|0]^g&255;v[a+352>>2]=c;break a;case 1:b=v[a+316>>2];if((b|0)==16){b=v[a+4>>2];if((Ub[v[v[b>>2]+40>>2]](b,e,16)|0)!=16){break a}b=v[a+4>>2];gT(a+92|0,e,(Ub[v[v[b>>2]+32>>2]](b)|0)==-1);b=v[a+316>>2];if((b|0)==16){break a}}c=w[(a+b|0)+300|0];break a;case 2:break b;default:break a}}b=v[a+380>>2];if((b|0)==16){b=v[a+4>>2];if((Ub[v[v[b>>2]+40>>2]](b,e,16)|0)!=16){break a}b=v[a+4>>2];Or(a+92|0,e,(Ub[v[v[b>>2]+32>>2]](b)|0)==-1);b=v[a+380>>2];if((b|0)==16){break a}}c=w[(a+b|0)+364|0]}Qb=e+16|0;return c|0}function fhb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=v[b+12>>2];if((e|0)>v[a+56>>2]){Sc(50244,0);return-1}f=b+12|0;a:{b:{c:{d=v[a+84>>2]-4|0;if(d){if((d|0)==12){break c}else{break a}}c=v[v[a+64>>2]+24>>2]+B(e,488)|0;t[c+5|0]=w[b+17|0]+1;t[c+6|0]=w[b+18|0]+2;t[c+7|0]=w[b+19|0]+2;t[c+8|0]=w[b+21|0];t[c+418|0]=w[b+20|0];t[c+4|0]=t[b+16|0]&1;if(v[b+24>>2]>=1){a=0;while(1){e=a+c|0;d=(a<<1)+f|0;t[e+419|0]=w[d+16|0];t[e+452|0]=w[d+17|0];a=a+1|0;if((a|0)>2]){continue}break}}break b}c=-1;d=v[a+52>>2];if(!d){break a}a=0;if(v[d+40>>2]>0){break a}c=v[v[d+32>>2]+24>>2]+B(e,488)|0;t[c+5|0]=w[b+17|0]+1;t[c+6|0]=w[b+18|0]+2;t[c+7|0]=w[b+19|0]+2;t[c+8|0]=w[b+21|0];t[c+418|0]=w[b+20|0];t[c+4|0]=t[b+16|0]&1;if(v[b+24>>2]>=1){while(1){e=a+c|0;d=(a<<1)+f|0;t[e+419|0]=w[d+16|0];t[e+452|0]=w[d+17|0];a=a+1|0;if((a|0)>2]){continue}break}}}v[c>>2]=v[c>>2]|5;c=0}return c|0}function b9a(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;if(!(w[a+288|0]?w[a+285|0]:0)){pc(a,1029,0,0);return 1029}if((c|0)!=3){pc(a,1028,0,0);return 1028}f=w[d|0];if(!(1<>>0<=6:0)){pc(a,1037,0,0);return 1037}g=w[d+1|0];if(!(1<>>0<=16:0)){pc(a,1048,0,0);return 1048}i=w[d+2|0];d=i;if(d>>>0>=2){pc(a,1057,0,0);return 1057}a:{if(w[a+114|0]){c=Ub[v[a+152>>2]](32)|0;if(!c){pc(a,1,0,0);d=1;break a}v[c+4>>2]=739;v[c>>2]=740;h=v[a+700>>2];b:{if(h){v[h+8>>2]=c;break b}v[a+696>>2]=c}v[c+8>>2]=0;v[c+12>>2]=h;v[a+700>>2]=c;v[c+16>>2]=v[a+436>>2];v[c+20>>2]=v[a+440>>2];v[c+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=c}t[c+30|0]=d;t[c+29|0]=f;t[c+28|0]=g}d=_0(a,g,f,d)}c:{if(d){break c}d=0;if(!w[a+112|0]){break c}d=Ub[v[b+4>>2]](a,b,e)|0;if(d){break c}a=v[e>>2];t[a+34|0]=i;t[a+33|0]=g;t[a+32|0]=f;d=0}return d|0}function Oz(a,b){a=a|0;b=b|0;var c=0;c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;v[a+8>>2]=v[b+8>>2];if((a|0)==(b|0)){c=v[b+36>>2];v[a+32>>2]=v[b+32>>2];v[a+36>>2]=c;c=v[b+28>>2];v[a+24>>2]=v[b+24>>2];v[a+28>>2]=c;c=v[b+68>>2];v[a+64>>2]=v[b+64>>2];v[a+68>>2]=c;c=v[b+76>>2];v[a+72>>2]=v[b+72>>2];v[a+76>>2]=c;v[a+80>>2]=v[b+80>>2];return a|0}Lz(a+12|0,v[b+12>>2],v[b+16>>2]);c=v[b+36>>2];v[a+32>>2]=v[b+32>>2];v[a+36>>2]=c;c=v[b+28>>2];v[a+24>>2]=v[b+24>>2];v[a+28>>2]=c;Mo(a+40|0,v[b+40>>2],v[b+44>>2]);Mo(a+52|0,v[b+52>>2],v[b+56>>2]);v[a+80>>2]=v[b+80>>2];c=v[b+76>>2];v[a+72>>2]=v[b+72>>2];v[a+76>>2]=c;c=v[b+68>>2];v[a+64>>2]=v[b+64>>2];v[a+68>>2]=c;qv(a+84|0,v[b+84>>2],v[b+88>>2]);Mo(a+96|0,v[b+96>>2],v[b+100>>2]);Mo(a+108|0,v[b+108>>2],v[b+112>>2]);DY(a+120|0,v[b+120>>2],v[b+124>>2]);Lz(a+132|0,v[b+132>>2],v[b+136>>2]);Lz(a+144|0,v[b+144>>2],v[b+148>>2]);return a|0}function EL(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;f=Qb-16|0;Qb=f;a:{b:{c:{d:{e=v[a+584>>2];if(e){if(x[a+90>>1]!=32844){break d}c=v[e>>2];if((c|0)!=-1){break a}b=x[a+86>>1]|x[a+84>>1]<<6|x[a+98>>1]<<3;c=b-1033|0;if(c>>>0>3|(c|0)==2){break c}c=1;break b}X(25714,6284,1182,84224);L()}X(38862,6284,1183,84224);L()}e:{switch(b-521|0){case 0:case 3:c=3;break b;default:c=0;if((b|0)==2059){break b}break;case 1:case 2:break e}}c=-1}v[e>>2]=c}d=4;f:{g:{h:{switch(c|0){case 3:d=1;break g;default:zc(v[a+628>>2],v[a>>2],40441,0);break f;case 0:break g;case 1:break h}}d=2}v[e+8>>2]=d;g=1;h=e;i:{if(w[a+13|0]&4){d=v[a+68>>2];b=Bib(v[a+72>>2],0,d,0);c=(Tb|0)!=0;break i}d=v[a+56>>2];b=Bib(v[a+100>>2],0,d,0);c=(Tb|0)!=0}b=d?c?0:b:b;v[h+16>>2]=b;c=b+b|0;if(b?b>>>0>c>>>0?0:c:c){b=jc(b<<1);v[e+12>>2]=b;if(b){break f}}b=v[a+628>>2];v[f>>2]=v[a>>2];zc(b,84224,31515,f);g=0}Qb=f+16|0;return g}function xA(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=Qb-16|0;Qb=d;a:{if(!a|((a?v[a+8>>2]:-1)|0)!=8){break a}if(a?v[a+36>>2]:0){b=Vj(a,2);break a}f=bd(256,4);if(!f){break a}while(1){v[(b<<2)+f>>2]=b<<24|b<<16|b<<8;c=b|1;v[(c<<2)+f>>2]=c<<24|c<<16|c<<8;b=b+2|0;if((b|0)!=256){continue}break}b=0;g=d+12|0;c=d+8|0;if(a){if(g){v[g>>2]=v[a>>2]}if(c){v[c>>2]=v[a+4>>2]}}j=a?v[a+40>>2]:0;c=a;g=a?v[a+12>>2]:-1;e=Ug(v[d+12>>2],v[d+8>>2],32);if(!e){break a}if(!(!c|!e|(c|0)==(e|0))){v[e+20>>2]=v[c+20>>2];v[e+24>>2]=v[c+24>>2]}c=e?v[e+40>>2]:0;a=e?v[e+12>>2]:-1;b=v[d+8>>2];b:{if((b|0)<1){break b}h=v[d+12>>2];if((h|0)<1){break b}while(1){if((h|0)>=1){k=(B(a,i)<<2)+c|0;l=j+(B(g,i)<<2)|0;b=0;while(1){v[(b<<2)+k>>2]=v[(w[b+l^3]<<2)+f>>2];b=b+1|0;h=v[d+12>>2];if((b|0)<(h|0)){continue}break}b=v[d+8>>2]}i=i+1|0;if((i|0)<(b|0)){continue}break}}dc(f);b=e}Qb=d+16|0;return b}function jA(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!(!a|!b)){f=v[a>>2];e=f>>31;c=v[b>>2];d=c>>31;e=e^e+f;d=d^c+d;a:{if(e+(d>>>8|0)>>>0<=8190){d=B(d,e)+32768>>>16|0;break a}g=e&65535;d=B(g,d>>>16|0)+B(d,e>>>16|0)+(B(g,d&65535)+32768>>>16)|0}j=(f|0)<0^(c|0)<0?0-d|0:d;g=v[a+4>>2];d=g>>31;h=v[b+4>>2];c=h>>31;d=d^d+g;c=c^c+h;b:{if(d+(c>>>8|0)>>>0<=8190){c=B(c,d)+32768>>>16|0;break b}i=d&65535;c=B(i,c>>>16|0)+B(c,d>>>16|0)+(B(i,c&65535)+32768>>>16)|0}j=j+((g|0)<0^(h|0)<0?0-c|0:c)|0;h=v[b+8>>2];c=h>>31;c=c^c+h;c:{if(e+(c>>>8|0)>>>0<=8190){e=B(c,e)+32768>>>16|0;break c}i=e&65535;e=B(i,c>>>16|0)+B(c,e>>>16|0)+(B(c&65535,i)+32768>>>16)|0}c=(f|0)<0^(h|0)<0?0-e|0:e;e=v[b+12>>2];b=e>>31;b=b^b+e;d:{if(d+(b>>>8|0)>>>0<=8190){b=B(b,d)+32768>>>16|0;break d}f=d&65535;b=B(f,b>>>16|0)+B(b,d>>>16|0)+(B(f,b&65535)+32768>>>16)|0}v[a>>2]=j;v[a+4>>2]=c+((g|0)<0^(e|0)<0?0-b|0:b)}}function ixa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=fc(84);c=v[a+4>>2];d=v[v[c>>2]+8>>2];v[299999]=0;f=S(d|0,c|0)|0;c=v[299999];v[299999]=0;d=1;a:{if((c|0)==1){break a}e=v[a+32>>2];g=v[a+28>>2];h=v[a+24>>2];i=v[a+16>>2];c=v[a+20>>2];j=v[a+12>>2];a=v[a+8>>2];v[b>>2]=963004;v[b+8>>2]=a;v[b+12>>2]=j;v[b+20>>2]=c;v[b+16>>2]=i;v[b+4>>2]=f;b:{if((c|0)>=1){d=2147483644;if((c|0)<2147483645){break b}}v[b+20>>2]=d;c=d}v[b+32>>2]=e;v[b+28>>2]=g;v[b+24>>2]=h;v[b+36>>2]=e?255:0;v[299999]=0;a=Q(3364,c+1|0,4)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}v[b+60>>2]=a;a=v[b+20>>2];v[299999]=0;a=Q(3364,a+3|0,4)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}v[b+48>>2]=0;v[b+40>>2]=0;v[b+64>>2]=a;v[b+56>>2]=0;v[b+44>>2]=v[b+8>>2]>>>31;v[v[b+60>>2]>>2]=v[b+20>>2];v[b+80>>2]=0;v[b+72>>2]=0;v[b+76>>2]=0;v[b+68>>2]=v[b+20>>2];return b|0}a=P()|0;O()|0;dc(b);T(a|0);L()}function OY(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,p=0;j=Qb+-64|0;Qb=j;f=v[a+532>>2];a:{if(!f){b=6;break a}e=v[f+4>>2];n=b>>>0>e>>>0?e:b;b:{if(!e){e=0;break b}while(1){b=B(g,12)+f|0;d=b;i=v[b+96>>2];k=v[b+92>>2];c:{if(g>>>0>>0){h=w[d+88|0];d=v[(g<<2)+c>>2];break c}h=w[d+88|0];d=(v[((h<<2)+k|0)-4>>2]-v[k>>2]|0)/2|0}d:{e:{if(!h){break e}b=0;l=-1;f:{g:{while(1){m=b<<2;o=m+k|0;p=v[o>>2];if((p|0)==(d|0)){break f}if((d|0)<(p|0)){break g}l=b;b=b+1|0;if((h|0)!=(b|0)){continue}break}if(!h){break e}b=v[((h<<2)+i|0)-4>>2];break d}if((l|0)<0){break e}e=d;b=l<<2;d=v[b+k>>2];b=jd(e-d|0,v[i+m>>2]-v[b+i>>2]|0,v[o>>2]-d|0);e=v[f+4>>2];break d}b=v[i+m>>2];break d}b=v[i>>2]}v[(g<<2)+j>>2]=b;g=g+1|0;if(g>>>0>>0){continue}break}f=v[a+532>>2]}b=mH(f,e,j);if(b){break a}b=0;v[a+8>>2]=v[a+8>>2]&-32769|((n|0)!=0)<<15}Qb=j- -64|0;return b|0}function Gna(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Qb-32|0;Qb=c;a:{b:{if(!w[a+144|0]){a=vc(c+8|0,231625,242011,164,226800,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}b=P()|0;O()|0;qc(a);T(b|0);L()}c:{d:{if(b){b=0;a=a+148|0;if(!(v[a>>2]&1)){break d}while(1){b=1;if(v[a>>2]&1){continue}break}break d}b=0;v[c+8>>2]=0;a=v[a+120>>2];if(!a){break d}while(1){d=v[a+8>>2];v[299999]=0;d=v[d+148>>2];e=v[299999];v[299999]=0;if((e|0)==1){break a}if(d&1){v[299999]=0;Q(4344,c+8|0,a+8|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break a}a=v[c+8>>2];v[c+8>>2]=0;if(!a){break d}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;d=v[299999];v[299999]=0;if((d|0)==1){break c}if(!b){v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break c}}b=1;break d}a=v[a>>2];if(a){continue}break}}Qb=c+32|0;return b|0}W(0)|0;O()|0;lc()}L()}a=P()|0;O()|0;ec(c+8|0);T(a|0);L()}function tBa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=fc(176);d=v[a+12>>2];e=v[a+144>>2];c=v[v[e>>2]+8>>2];v[299999]=0;e=S(c|0,e|0)|0;c=v[299999];v[299999]=0;a:{b:{if((c|0)==1){break b}c=v[a+148>>2];f=v[v[c>>2]+8>>2];v[299999]=0;c=S(f|0,c|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break b}f=v[a+4>>2];g=v[a+168>>2];v[b+4>>2]=15;v[b+8>>2]=0;v[b+152>>2]=13;v[b>>2]=897404;v[b+148>>2]=c;v[b+144>>2]=e;v[b+12>>2]=d;d=0;v[299999]=0;Q(3314,a+152|0,b+152|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break b}v[b+4>>2]=f;v[b+168>>2]=g;c:{if(v[b+12>>2]>=1){while(1){c=d<<2;f=v[(c+a|0)+16>>2];v[299999]=0;e=S(1,8)|0;g=v[299999];v[299999]=0;if((g|0)==1){break c}v[299999]=0;Q(3064,e|0,f|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){d=P()|0;O()|0;dc(e);break a}v[(b+c|0)+16>>2]=e;d=d+1|0;if((d|0)>2]){continue}break}}return b|0}d=P()|0;O()|0;break a}d=P()|0;O()|0}dc(b);T(d|0);L()}function n2(a){var b=0,c=0,d=0,e=0,f=0;c=1156400;b=v[a+16>>2];e=v[a+12>>2];a=(e|0)<19?e:19;a:{if((a|0)<1){break a}f=a-1|0;d=a&3;if(d){while(1){v[b>>2]=(v[c>>2]+(v[c+4>>2]<<1)<<4)+1033792;c=c+8|0;b=b+4|0;a=a-1|0;d=d-1|0;if(d){continue}break}}if(f>>>0<3){break a}while(1){v[b>>2]=(v[c>>2]+(v[c+4>>2]<<1)<<4)+1033792;v[b+4>>2]=(v[c+8>>2]+(v[c+12>>2]<<1)<<4)+1033792;v[b+8>>2]=(v[c+16>>2]+(v[c+20>>2]<<1)<<4)+1033792;v[b+12>>2]=(v[c+24>>2]+(v[c+28>>2]<<1)<<4)+1033792;c=c+32|0;b=b+16|0;d=(a|0)>4;a=a-4|0;if(d){continue}break}}c=e-19|0;b:{if((c|0)<1){break b}a=e-19&7;if(a){while(1){v[b>>2]=1033792;b=b+4|0;c=c-1|0;a=a-1|0;if(a){continue}break}}if(e-20>>>0<7){break b}while(1){v[b+28>>2]=1033792;v[b+24>>2]=1033792;v[b+20>>2]=1033792;v[b+16>>2]=1033792;v[b+12>>2]=1033792;v[b+8>>2]=1033792;v[b+4>>2]=1033792;v[b>>2]=1033792;b=b+32|0;a=(c|0)>8;c=c-8|0;if(a){continue}break}}}function l2(a){var b=0,c=0,d=0,e=0,f=0;c=1156400;b=v[a+16>>2];e=v[a+20>>2];a=(e|0)<19?e:19;a:{if((a|0)<1){break a}f=a-1|0;d=a&3;if(d){while(1){v[b>>2]=(v[c>>2]+(v[c+4>>2]<<1)<<4)+1033792;c=c+8|0;b=b+4|0;a=a-1|0;d=d-1|0;if(d){continue}break}}if(f>>>0<3){break a}while(1){v[b>>2]=(v[c>>2]+(v[c+4>>2]<<1)<<4)+1033792;v[b+4>>2]=(v[c+8>>2]+(v[c+12>>2]<<1)<<4)+1033792;v[b+8>>2]=(v[c+16>>2]+(v[c+20>>2]<<1)<<4)+1033792;v[b+12>>2]=(v[c+24>>2]+(v[c+28>>2]<<1)<<4)+1033792;c=c+32|0;b=b+16|0;d=(a|0)>4;a=a-4|0;if(d){continue}break}}c=e-19|0;b:{if((c|0)<1){break b}a=e-19&7;if(a){while(1){v[b>>2]=1033792;b=b+4|0;c=c-1|0;a=a-1|0;if(a){continue}break}}if(e-20>>>0<7){break b}while(1){v[b+28>>2]=1033792;v[b+24>>2]=1033792;v[b+20>>2]=1033792;v[b+16>>2]=1033792;v[b+12>>2]=1033792;v[b+8>>2]=1033792;v[b+4>>2]=1033792;v[b>>2]=1033792;b=b+32|0;a=(c|0)>8;c=c-8|0;if(a){continue}break}}}function kSa(a,b,c){a=a|0;b=C(b);c=C(c);var d=C(0),e=C(0),f=C(0),g=C(0),h=C(0),i=C(0);i=C(M);d=z[a+12>>2];f=C(z[a+16>>2]-d);e=b;b=z[a+20>>2];g=C(e-b);b=C(z[a+28>>2]-b);e=c;c=z[a+24>>2];h=C(e-c);e=C(z[a+32>>2]-c);c=C(C(C(C(d+d)*f)+C(g*C(b+b)))+C(h*C(e+e)));g=C(C(C(d*d)-C(g*g))-C(h*h));d=C(C(C(f*f)-C(b*b))-C(e*e));b=C(C(c*c)+C(g*C(d*C(-4))));a:{if(b=C(0))|!(b<=C(1)))){c=z[a+140>>2];return C(C(c+C(b*C(z[a+144>>2]-c))))}c=C(C(C(f-c)*C(.5))/d);if(!(!(c>=C(0))|!(c<=C(1)))){b=z[a+140>>2];return C(C(b+C(c*C(z[a+144>>2]-b))))}if(!(!(b<=C(0)&b>=C(-z[a+276>>2]))&(!(c<=C(0))|!(c>=C(-z[a+276>>2])))|z[a+108>>2]==C(0))){return C(z[a+140>>2])}if(!(b<=C(z[a+272>>2]+C(1))&b>=C(1))&(!(c>=C(1))|!(c<=C(z[a+272>>2]+C(1))))|z[a+112>>2]==C(0)){break a}i=z[a+144>>2]}return C(i)}function bUa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Qb-32|0;Qb=f;j=v[a+420>>2];d=v[a+464>>2];a:{b:{if(v[d+40>>2]|!v[a+280>>2]){break b}c=v[a+460>>2];v[c+24>>2]=v[c+24>>2]+(v[d+12>>2]/8|0);v[d+12>>2]=0;g=0;if(!(Ub[v[c+8>>2]](a)|0)){break a}if(v[a+336>>2]>=1){while(1){v[((e<<2)+d|0)+20>>2]=0;e=e+1|0;if((e|0)>2]){continue}break}}v[d+16>>2]=0;v[d+40>>2]=v[a+280>>2];if(v[a+436>>2]){break b}v[d+36>>2]=0}v[f+24>>2]=a;c=v[a+24>>2];g=v[c>>2];v[f+8>>2]=g;h=v[c+4>>2];v[f+12>>2]=h;e=v[d+12>>2];i=v[d+8>>2];if(v[a+364>>2]>=1){j=1<>2];if((e|0)<=0){g=0;if(!bg(f+8|0,i,e,1)){break a}i=v[f+16>>2];e=v[f+20>>2]}e=e-1|0;if(i>>>e&1){u[h>>1]=j|x[h>>1]}c=c+1|0;if((c|0)>2]){continue}break}h=v[f+12>>2];g=v[f+8>>2];c=v[a+24>>2]}v[c+4>>2]=h;v[c>>2]=g;v[d+12>>2]=e;v[d+8>>2]=i;v[d+40>>2]=v[d+40>>2]-1;g=1}Qb=f+32|0;return g|0}function Vta(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;if((b|0)==-1){return 0}h=v[a+8>>2];i=v[a+12>>2];a:{j=a;d=v[a+28>>2];f=v[a+24>>2];b:{if((d|0)!=(f|0)){c=v[a+44>>2]}else{c=-1;if(!(w[a+48|0]&16)){break b}k=v[a+44>>2];g=v[a+20>>2];v[299999]=0;c=a+32|0;V(3155,c|0,0);d=v[299999];v[299999]=0;if((d|0)==1){break a}d=v[a+40>>2];e=t[a+43|0];v[299999]=0;U(4236,c|0,((e|0)<0?(d&2147483647)-1|0:1)|0,0);d=v[299999];v[299999]=0;if((d|0)==1){break a}d=w[a+43|0];e=d<<24>>24<0;c=e?v[a+32>>2]:c;v[a+20>>2]=c;f=c+(f-g>>2<<2)|0;v[a+24>>2]=f;d=c+((e?v[a+36>>2]:d)<<2)|0;v[a+28>>2]=d;c=c+(k-g>>2<<2)|0}e=f+4|0;c=c>>>0>e>>>0?c:e;v[j+44>>2]=c;if(w[a+48|0]&8){v[a+16>>2]=c;c=t[a+43|0]<0?v[a+32>>2]:a+32|0;v[a+8>>2]=c;v[a+12>>2]=c+(i-h>>2<<2)}if((d|0)==(f|0)){return Ub[v[v[a>>2]+52>>2]](a,b)|0}v[a+24>>2]=e;v[f>>2]=b;c=b}return c|0}a=W(0)|0;O()|0;ea(a|0)|0;ka();return-1}function T3a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=Qb-208|0;Qb=e;v[e+204>>2]=0;c=v[a>>2];b=v[v[c+712>>2]+3080>>2];c=Eg(v[v[c+96>>2]+4>>2],239287);a:{if(!c|!b){break a}b=v[b>>2];if(!b){break a}h=Ub[b|0](c)|0;if(!h){break a}b=v[a>>2];f=v[b+712>>2];c=v[b+100>>2];b=Fd(c,1028,e+204|0);b:{c:{if(v[e+204>>2]){break c}d=e+8|0;i$(f+1372|0,d);d=Ub[v[h>>2]](v[v[a>>2]+100>>2],d,b)|0;v[e+204>>2]=d;if(d){break c}j=b+4|0;d=v[f+2024>>2];while(1){if(!d){break b}d=d-1|0;g=d<<2;i=e+8|0;i$(v[(g+f|0)+2028>>2],i);g=Ub[v[h>>2]](v[v[a>>2]+100>>2],i,g+j|0)|0;v[e+204>>2]=g;if(!g){continue}break}}if(b){a=v[f+2024>>2];if(a){while(1){a=a-1|0;f=b+(a<<2)|0;d=v[f+4>>2];if(d){Ub[v[c+8>>2]](c,d)}v[f+4>>2]=0;if(a){continue}break}}a=v[b>>2];if(a){Ub[v[c+8>>2]](c,a)}v[b>>2]=0}if(b){Ub[v[c+8>>2]](c,b)}k=v[e+204>>2];break a}v[v[a+40>>2]>>2]=b;v[a+44>>2]=-1}Qb=e+208|0;return k|0}function yMa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=Qb-16|0;Qb=e;a:{if(!v[c>>2]){v[c>>2]=632;a=0;break a}c=v[a+8>>2];a=gc(b+528|0,c,104);t[b+34|0]=1;v[b+8>>2]=a;a=v[c+40>>2];if(a){v[e+12>>2]=268;f=b,g=EW(a,b+260|0,e+12|0,d),v[f+568>>2]=g;a=0;if(v[d>>2]>0){break a}}a=v[c>>2];if(!a|!w[a+17|0]?0:a){v[a+4>>2]=v[a+4>>2]+1}a=v[c+4>>2];if(!a|!w[a+17|0]?0:a){v[a+4>>2]=v[a+4>>2]+1}a=v[c+8>>2];if(!a|!w[a+17|0]?0:a){v[a+4>>2]=v[a+4>>2]+1}a=v[c+12>>2];if(!a|!w[a+17|0]?0:a){v[a+4>>2]=v[a+4>>2]+1}a=v[c+16>>2];if(!a|!w[a+17|0]?0:a){v[a+4>>2]=v[a+4>>2]+1}a=v[c+20>>2];if(!a|!w[a+17|0]?0:a){v[a+4>>2]=v[a+4>>2]+1}a=v[c+24>>2];if(!a|!w[a+17|0]?0:a){v[a+4>>2]=v[a+4>>2]+1}a=v[c+28>>2];if(!a|!w[a+17|0]?0:a){v[a+4>>2]=v[a+4>>2]+1}a=v[c+32>>2];if(!a|!w[a+17|0]?0:a){v[a+4>>2]=v[a+4>>2]+1}a=v[c+36>>2];if(!a|!w[a+17|0]?0:a){v[a+4>>2]=v[a+4>>2]+1}a=b}Qb=e+16|0;return a|0}function xQa(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;d=v[a+12>>2];if(!d){return 0}h=Qb-16|0;Qb=h;d=v[d+180>>2];a=h+8|0;a:{if(!d|!a){break a}e=v[d+96>>2];v[a>>2]=0;v[a+4>>2]=0;e=v[v[e+12>>2]+76>>2];if(!e){break a}if(!(Ub[e|0](d,b,c,a)|0)){i=a;b=v[a>>2];f=b>>31;e=v[d+88>>2];g=v[e+16>>2];c=g>>31;d=f^b+f;c=c^c+g;b:{if(d+(c>>>8|0)>>>0<=8190){c=B(c,d)+32768>>>16|0;break b}f=d&65535;c=B(f,c>>>16|0)+B(c,d>>>16|0)+(B(f,c&65535)+32768>>>16)|0}c=(b|0)<0^(g|0)<0?0-c|0:c;v[i>>2]=c;i=a;f=v[a+4>>2];b=f>>31;g=v[e+20>>2];d=g>>31;b=b^b+f;d=d^d+g;c:{if(b+(d>>>8|0)>>>0<=8190){d=B(b,d)+32768>>>16|0;break c}j=b&65535;d=B(j,d>>>16|0)+B(d,b>>>16|0)+(B(d&65535,j)+32768>>>16)|0}b=(f|0)<0^(g|0)<0?0-d|0:d;v[i+4>>2]=b;d=x[e+12>>1];if(d>>>0<=24){c=jd(c,d,25)}d=a;e=x[e+14>>1];if(e>>>0<=24){b=jd(b,e,25)}v[d+4>>2]=b+32&-64;v[a>>2]=c+32&-64}}Qb=h+16|0;return v[h+8>>2]>>6}function ZNa(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=Qb-16|0;Qb=d;if(v[294206]){a=v[294206];if(a){v[294206]=0;eq(a)}}if(v[294079]){f=1;while(1){a:{v[d+12>>2]=-1;e=0;a=sW(v[294079],d+12|0);if(!a){break a}while(1){b=v[a+4>>2];b:{if(!v[b+4>>2]){c=v[294079];if(v[a>>2]>=0){v[c+24>>2]=v[c+24>>2]-1;g=v[a+4>>2];h=v[c+16>>2];c:{if(!h){break c}i=v[a+8>>2];if(!i){break c}Ub[h|0](i)}c=v[c+20>>2];if(g?c:0){Ub[c|0](g)}v[a+8>>2]=0;v[a>>2]=-2147483648;v[a+4>>2]=0}t[b+16|0]=0;j=j+1|0;if(v[b+4>>2]){break b}a=v[v[b+20>>2]+8>>2];if(a){Ub[a|0](b)}a=v[b+8>>2];if(a){ch(a)}_e(b);break b}e=e+1|0}a=sW(v[294079],d+12|0);if(a){continue}break}a=(e|0)>0&f;f=0;if(a){continue}}break}}Qb=d+16|0;a=v[294079];if(!(!a|v[a+24>>2])){tW(v[294079]);v[294079]=0}u[588160]=0;a=v[294081];if(a){_e(a);v[294081]=0}v[294082]=0;v[294100]=0;t[1176336]=0;t[1176312]=0;v[294077]=0;return!v[294079]|0}function nO(a,b){var 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;a:{if(!b){b=v[a+56>>2]-1>>>0<32767;t[a+120|0]=b?8:1;c=v[a+60>>2]-1>>>0<32767;t[a+121|0]=c?8:1;d=v[a- -64>>2]-1>>>0<32767;t[a+122|0]=d?8:1;e=v[a+68>>2]-1>>>0<32767;t[a+123|0]=e?8:1;f=v[a+72>>2]-1>>>0<32767;t[a+124|0]=f?8:1;g=v[a+76>>2]-1>>>0<32767;t[a+125|0]=g?8:1;h=v[a+80>>2]-1>>>0<32767;t[a+126|0]=h?8:1;i=v[a+84>>2]-1>>>0<32767;t[a+127|0]=i?8:1;j=v[a+88>>2]-1>>>0<32767;t[a+128|0]=j?8:1;k=v[a+92>>2]-1>>>0<32767;t[a+129|0]=k?8:1;l=v[a+96>>2]-1>>>0<32767;t[a+130|0]=l?8:1;m=v[a+100>>2]-1>>>0<32767;t[a+131|0]=m?8:1;n=v[a+104>>2]-1>>>0<32767;t[a+132|0]=n?8:1;o=v[a+108>>2]-1>>>0<32767;t[a+133|0]=o?8:1;p=v[a+112>>2]-1>>>0<32767;t[a+134|0]=p?8:1;q=a;a=v[a+116>>2]-1>>>0<32767;t[q+135|0]=a?8:1;a=!(b|(a|p|o|n|m|l|k|j|i|h|g|f|e|d|c));break a}a=v[((b<<2)+a|0)+16>>2]-1>>>0>32766}return a}function QCa(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;c=v[a+28>>2];if(v[c+664>>2]){b=-1;a=v[a+108>>2];a:{if(!a){break a}a=v[a+4>>2];if(v[a+8>>2]==13){break a}a=v[a+16>>2];b=Ub[v[v[a>>2]+52>>2]](a)|0}kc(0,b,245262,0);return}d=v[c+380>>2];if(d){Ub[v[v[d>>2]+4>>2]](d)}v[c+380>>2]=0;c=v[a+28>>2];g=jk(2);d=v[c+116>>2];if(d){Ub[v[v[d>>2]+4>>2]](d)}v[c+116>>2]=g;c=v[a+8>>2];Ub[v[v[c>>2]+108>>2]](c,v[a+28>>2]);e=A[b+24>>3];d=v[b+24>>2];i=A[b+8>>3];g=v[b+8>>2];j=v[b>>2];k=v[b+16>>2];c=v[a+28>>2];f=c;h=(v[b+32>>2]==1?+v[b+40>>2]:A[b+40>>3])*65536;b:{if(D(h)<2147483648){b=~~h;break b}b=-2147483648}v[f+132>>2]=b;b=c;e=((k|0)==1?+(d|0):e)*65536;c:{if(D(e)<2147483648){f=~~e;break c}f=-2147483648}v[b+128>>2]=f;e=((j|0)==1?+(g|0):i)*65536;d:{if(D(e)<2147483648){b=~~e;break d}b=-2147483648}v[c+124>>2]=b;b=v[a+8>>2];Ub[v[v[b>>2]+116>>2]](b,v[a+28>>2])}function EDa(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;c=v[a+28>>2];if(v[c+664>>2]){b=-1;a=v[a+108>>2];a:{if(!a){break a}a=v[a+4>>2];if(v[a+8>>2]==13){break a}a=v[a+16>>2];b=Ub[v[v[a>>2]+52>>2]](a)|0}kc(0,b,245262,0);return}d=v[c+384>>2];if(d){Ub[v[v[d>>2]+4>>2]](d)}v[c+384>>2]=0;c=v[a+28>>2];g=jk(2);d=v[c+120>>2];if(d){Ub[v[v[d>>2]+4>>2]](d)}v[c+120>>2]=g;c=v[a+8>>2];Ub[v[v[c>>2]+112>>2]](c,v[a+28>>2]);e=A[b+24>>3];d=v[b+24>>2];i=A[b+8>>3];g=v[b+8>>2];j=v[b>>2];k=v[b+16>>2];c=v[a+28>>2];f=c;h=(v[b+32>>2]==1?+v[b+40>>2]:A[b+40>>3])*65536;b:{if(D(h)<2147483648){b=~~h;break b}b=-2147483648}v[f+260>>2]=b;b=c;e=((k|0)==1?+(d|0):e)*65536;c:{if(D(e)<2147483648){f=~~e;break c}f=-2147483648}v[b+256>>2]=f;e=((j|0)==1?+(g|0):i)*65536;d:{if(D(e)<2147483648){b=~~e;break d}b=-2147483648}v[c+252>>2]=b;b=v[a+8>>2];Ub[v[v[b>>2]+120>>2]](b,v[a+28>>2])}function $0a(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;var j=0;a=ic(a,0,1516);j=Qj(v[b+96>>2],235201,1);if(!j){return 7}t[a+68|0]=1;v[a+64>>2]=0;v[a+1348>>2]=j;v[a+8>>2]=d;v[a+4>>2]=b;v[a>>2]=v[b+100>>2];a:{if(!d){break a}j=v[v[d+156>>2]>>2];v[a+12>>2]=j;v[a+20>>2]=j+56;v[a+16>>2]=j+20;Fo(j);c=v[v[c+40>>2]>>2];v[a+72>>2]=0;v[a+76>>2]=c;if(!g){break a}v[a+72>>2]=v[v[d+156>>2]+36>>2]}v[a+24>>2]=0;v[a+28>>2]=0;v[a+40>>2]=0;v[a+44>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;c=v[95465];v[a+80>>2]=v[95464];v[a+84>>2]=c;c=v[95467];v[a+88>>2]=v[95466];v[a+92>>2]=c;c=v[95469];v[a+96>>2]=v[95468];v[a+100>>2]=c;c=v[95471];v[a+104>>2]=v[95470];v[a+108>>2]=c;v[a+1352>>2]=v[b+16>>2];v[a+1468>>2]=f;v[a+1476>>2]=i;v[a+1356>>2]=e;v[a+1472>>2]=h;c=v[95475];b=a+1488|0;v[b>>2]=v[95474];v[b+4>>2]=c;b=v[95473];v[a+1480>>2]=v[95472];v[a+1484>>2]=b;return 0}function HF(a,b){var c=0,d=0,e=0,f=0;a:{if(!a){break a}c=v[a+20>>2];if(!c){break a}e=v[c+296>>2]}if(b){b:{if(!v[294265]){break b}c=v[294263];if(!c){break b}Ub[c|0](b)}d=v[b+20>>2];c:{if(!d){break c}c=v[d+32>>2];if(!c|!(v[c+48>>2]?1:v[c+44>>2])){break c}if(!Iy(c,d,b)){break c}c=v[v[b+20>>2]+32>>2];if(!c){break c}f=v[c+64>>2];if(!f){break c}d=Mu(c,v[b+12>>2]);if(!d){break c}c=Se(f,d,0,0);Ub[v[259708]](d);if(!c|v[c+8>>2]!=(b|0)){break c}d=v[b+8>>2];v[c+8>>2]=0;v[c+12>>2]=d}c=v[b+12>>2];if(c){Ky(a,c)}d=v[b+8>>2];d:{if(!d){break d}if(e){while(1){c=v[e+16>>2];if(c){while(1){if(d>>>0<=y[c+4>>2]&d>>>0>=c+20>>>0){break d}c=v[c>>2];if(c){continue}break}}e=v[e+20>>2];if(e){continue}break}}Ub[v[259708]](d)}e:{if(!a){break e}a=v[a+20>>2];if(!a){break e}e=v[a+376>>2];if((e|0)>99){break e}v[b+24>>2]=v[a+380>>2];v[a+376>>2]=e+1;v[a+380>>2]=b;return}Ub[v[259708]](b)}}function hR(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;g=1;c=v[a>>2];b=0;a:{if((c|0)<1){break a}e=w[v[a+4>>2]];b=1;if((e|0)==43){break a}g=(e|0)!=45;b=(e|0)==45}b:{if((b|0)>=(c|0)){break b}e=v[a+4>>2];c:{while(1){f=w[b+e|0];if((f-48&255)>>>0<=9){d=d*10+ +(f<<24>>24)+-48;b=b+1|0;if((c|0)!=(b|0)){continue}break c}break}if((f|0)!=46){break b}b=b+1|0;if((c|0)<=(b|0)){break b}h=.1;while(1){f=w[b+e|0]-48|0;if((f&255)>>>0>9){break b}d=d+h*+(f|0);h=h*.1;b=b+1|0;if((c|0)!=(b|0)){continue}break}}b=c}d=g?d:-d;d:{g=c;c=b+1|0;e:{if((g|0)>(c|0)){f:{g:{h:{i:{a=v[a+4>>2];switch(w[a+b|0]-99|0){case 10:break f;case 0:break g;case 13:break h;case 6:break i;default:break d}}if(w[a+c|0]!=110){break d}return d*72}if(w[a+c|0]==116){break e}break d}if(w[a+c|0]!=109){break d}return d*28.346456692913385}if(w[a+c|0]!=109){break d}return d*2.834645669291339}d=d*72}return d}return d*72}function vCa(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;a:{if(!a){break a}d=v[a>>2];if(!d){break a}k=v[d+668>>2];l=v[d+676>>2];g=b?v[b>>2]:g;f=g;i=c?v[c>>2]:i;e=i;j=Qb-160|0;Qb=j;if(g){_R(d,f)}if(e){_R(d,e)}RR(d);Zc(d,v[d+268>>2]);Zc(d,v[d+680>>2]);Zc(d,v[d+748>>2]);Zc(d,v[d+740>>2]);Zc(d,v[d+588>>2]);Zc(d,v[d+592>>2]);e=v[d+632>>2];if(e&4096){gS(d,v[d+388>>2]);e=v[d+632>>2]}h=e&-4097;v[d+632>>2]=h;if(e&8192){Zc(d,v[d+504>>2]);h=v[d+632>>2]}f=h&-8193;v[d+632>>2]=f;e=d;if(h&8){Zc(d,v[d+596>>2]);f=v[d+632>>2]}v[e+632>>2]=f&-9;tk(d+212|0);Zc(d,v[d+544>>2]);m=gc(j,d,156);h=v[d+164>>2];j=v[d+160>>2];f=v[d+168>>2];e=v[d+676>>2];ic(d+156|0,0,612);v[d+676>>2]=e;v[d+168>>2]=f;v[d+160>>2]=j;v[d+164>>2]=h;gc(d,m,156);Qb=m+160|0;if(g){ao(d,g,16384,-1);Np(g,l,k);v[b>>2]=0}if(i){ao(d,i,16384,-1);Np(i,l,k);v[c>>2]=0}Np(d,l,k);v[a>>2]=0}}function f$a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=v[b>>2];if((e|0)==-1){return 0}c=v[a+16>>2];d=w[c+8204|0]|w[c+8205|0]<<8|(w[c+8206|0]<<16|w[c+8207|0]<<24);f=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);a:{b:{if(!f){break b}j=v[a>>2];a=e+1|0;d=c+8208|0;while(1){c=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);g=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);a=a>>>0>>0?g:a;c=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);h=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c:{if(a>>>0>h>>>0){break c}c=w[d+8|0]|w[d+9|0]<<8|(w[d+10|0]<<16|w[d+11|0]<<24);i=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=h+1|0;d:{while(1){e=a-g|0;if((e^-1)>>>0>>0){break c}e=e+i|0;if(e){break d}if((a|0)==-1){break b}e=(a|0)==(h|0);a=a+1|0;if(!e){continue}break}a=c;break c}if(y[j+16>>2]>e>>>0){break a}}d=d+12|0;f=f-1|0;if(f){continue}break}}e=0;a=0}v[b>>2]=a;return e|0}function M_(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;g=b;f=v[b+8>>2];d=f>>31;e=u[a+70>>1];c=e>>31;d=d^d+f;h=d>>>8|0;c=c^c+e;a:{if(h+c>>>0<=8190){c=B(c,d)+32768>>>16|0;break a}c=B(c,d>>>16|0)+B(d,c>>>16|0)+(B(c,d&65535)+32768>>>16)|0}v[g+12>>2]=((e|0)<0^(f|0)<0?0-c|0:c)+63&-64;g=b;e=u[a+72>>1];c=e>>31;c=c^c+e;b:{if(c+h>>>0<=8190){c=B(c,d)+32768>>>16|0;break b}c=B(d,c>>>16|0)+B(c,d>>>16|0)+(B(c,d&65535)+32768>>>16)|0}v[g+16>>2]=((f|0)<0^(e|0)<0?0-c|0:c)&-64;g=b;e=u[a+74>>1];c=e>>31;c=c^c+e;c:{if(c+h>>>0<=8190){d=B(c,d)+32768>>>16|0;break c}d=B(d,c>>>16|0)+B(c,d>>>16|0)+(B(c,d&65535)+32768>>>16)|0}v[g+20>>2]=((f|0)<0^(e|0)<0?0-d|0:d)+32&-64;g=b;d=u[a+76>>1];f=d>>31;c=v[b+4>>2];a=c>>31;b=f^d+f;a=a^a+c;d:{if(b+(a>>>8|0)>>>0<=8190){a=B(a,b)+32768>>>16|0;break d}a=B(b,a>>>16|0)+B(a,b>>>16|0)+(B(b,a&65535)+32768>>>16)|0}v[g+24>>2]=((d|0)<0^(c|0)<0?0-a|0:a)+32&-64}function UH(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=v[a>>2];f=kn(g,c,307191);if(!f){return 64}a:{b=v[a>>2];a=Ub[v[b+4>>2]](b,40)|0;if(!a){c=64;break a}t[a+24|0]=0;t[a+25|0]=0;t[a+26|0]=0;t[a+27|0]=0;t[a+28|0]=0;t[a+29|0]=0;t[a+30|0]=0;t[a+31|0]=0;t[a|0]=0;t[a+1|0]=0;t[a+2|0]=0;t[a+3|0]=0;t[a+4|0]=0;t[a+5|0]=0;t[a+6|0]=0;t[a+7|0]=0;t[a+32|0]=0;t[a+33|0]=0;t[a+34|0]=0;t[a+35|0]=0;t[a+36|0]=0;t[a+37|0]=0;t[a+38|0]=0;t[a+39|0]=0;t[a+16|0]=0;t[a+17|0]=0;t[a+18|0]=0;t[a+19|0]=0;t[a+20|0]=0;t[a+21|0]=0;t[a+22|0]=0;t[a+23|0]=0;t[a+8|0]=0;t[a+9|0]=0;t[a+10|0]=0;t[a+11|0]=0;t[a+12|0]=0;t[a+13|0]=0;t[a+14|0]=0;t[a+15|0]=0;v[a+28>>2]=b;c=yv(a,f);v[a+16>>2]=f;if(c){Ub[v[b+8>>2]](b,a);break a}v[a+28>>2]=b;c=pq(a,333319,e);b=v[a+28>>2];e=v[a+24>>2];if(e){Ub[e|0](a)}Ub[v[b+8>>2]](b,a);if(c){break a}v[d>>2]=f;return 0}Ub[v[g+8>>2]](g,f);return c|0}function TH(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=v[a>>2];f=kn(g,c,345889);if(!f){return 64}a:{b=v[a>>2];a=Ub[v[b+4>>2]](b,40)|0;if(!a){c=64;break a}t[a+24|0]=0;t[a+25|0]=0;t[a+26|0]=0;t[a+27|0]=0;t[a+28|0]=0;t[a+29|0]=0;t[a+30|0]=0;t[a+31|0]=0;t[a|0]=0;t[a+1|0]=0;t[a+2|0]=0;t[a+3|0]=0;t[a+4|0]=0;t[a+5|0]=0;t[a+6|0]=0;t[a+7|0]=0;t[a+32|0]=0;t[a+33|0]=0;t[a+34|0]=0;t[a+35|0]=0;t[a+36|0]=0;t[a+37|0]=0;t[a+38|0]=0;t[a+39|0]=0;t[a+16|0]=0;t[a+17|0]=0;t[a+18|0]=0;t[a+19|0]=0;t[a+20|0]=0;t[a+21|0]=0;t[a+22|0]=0;t[a+23|0]=0;t[a+8|0]=0;t[a+9|0]=0;t[a+10|0]=0;t[a+11|0]=0;t[a+12|0]=0;t[a+13|0]=0;t[a+14|0]=0;t[a+15|0]=0;v[a+28>>2]=b;c=yv(a,f);v[a+16>>2]=f;if(c){Ub[v[b+8>>2]](b,a);break a}v[a+28>>2]=b;c=pq(a,333319,e);b=v[a+28>>2];e=v[a+24>>2];if(e){Ub[e|0](a)}Ub[v[b+8>>2]](b,a);if(c){break a}v[d>>2]=f;return 0}Ub[v[g+8>>2]](g,f);return c|0}function SH(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=v[a>>2];f=kn(g,c,335557);if(!f){return 64}a:{b=v[a>>2];a=Ub[v[b+4>>2]](b,40)|0;if(!a){c=64;break a}t[a+24|0]=0;t[a+25|0]=0;t[a+26|0]=0;t[a+27|0]=0;t[a+28|0]=0;t[a+29|0]=0;t[a+30|0]=0;t[a+31|0]=0;t[a|0]=0;t[a+1|0]=0;t[a+2|0]=0;t[a+3|0]=0;t[a+4|0]=0;t[a+5|0]=0;t[a+6|0]=0;t[a+7|0]=0;t[a+32|0]=0;t[a+33|0]=0;t[a+34|0]=0;t[a+35|0]=0;t[a+36|0]=0;t[a+37|0]=0;t[a+38|0]=0;t[a+39|0]=0;t[a+16|0]=0;t[a+17|0]=0;t[a+18|0]=0;t[a+19|0]=0;t[a+20|0]=0;t[a+21|0]=0;t[a+22|0]=0;t[a+23|0]=0;t[a+8|0]=0;t[a+9|0]=0;t[a+10|0]=0;t[a+11|0]=0;t[a+12|0]=0;t[a+13|0]=0;t[a+14|0]=0;t[a+15|0]=0;v[a+28>>2]=b;c=yv(a,f);v[a+16>>2]=f;if(c){Ub[v[b+8>>2]](b,a);break a}v[a+28>>2]=b;c=pq(a,333319,e);b=v[a+28>>2];e=v[a+24>>2];if(e){Ub[e|0](a)}Ub[v[b+8>>2]](b,a);if(c){break a}v[d>>2]=f;return 0}Ub[v[g+8>>2]](g,f);return c|0}function e2a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;h=v[a+4>>2];i=v[a>>2];a:{b:{if(v[b+188>>2]){break b}f=v[b+180>>2];if(!(v[b+184>>2]?1:f)){break b}d=v[b+156>>2];c:{g=v[b+192>>2]+(v[b+160>>2]-v[b+172>>2]<<2)|0;a=v[g>>2];d:{if(!a){a=0;break d}e=v[a>>2];if((d|0)<(e|0)){break d}e:{while(1){c=a;if((d|0)==(e|0)){break c}a=v[c+12>>2];if(a){e=v[a>>2];if((d|0)<(e|0)){break e}continue}break}a=0}g=c+12|0}c=v[b+204>>2];if((c|0)>=v[b+200>>2]){break a}v[b+204>>2]=c+1;c=v[b+196>>2]+(c<<4)|0;v[c+8>>2]=f;v[c>>2]=d;d=v[b+184>>2];v[c+12>>2]=a;v[c+4>>2]=d;v[g>>2]=c;break b}v[c+8>>2]=v[c+8>>2]+f;v[c+4>>2]=v[c+4>>2]+v[b+184>>2]}v[b+180>>2]=0;v[b+184>>2]=0;a=h>>6;v[b+160>>2]=a;d=v[b+164>>2];c=i>>6;v[b+156>>2]=(c|0)<(d|0)?d-1|0:c;d=1;v[b+188>>2]=(a|0)>2]|(a|0)>=v[b+176>>2]?d:(c|0)>=v[b+168>>2];v[b+212>>2]=h<<2;v[b+208>>2]=i<<2;return 0}sd(b,1);L()}function Fh(a,b,c,d,e,f,g,h){var i=0,j=0,k=0;i=v[d>>2];a:{b:{c:{d:{if(!f){break d}k=v[f>>2];if(!k){break d}if((c|0)<1){j=c;break b}if(e>>>0>i>>>0){break c}j=c;break b}if((c|0)<1){j=c;break a}if(e>>>0<=i>>>0){j=c;break a}while(1){t[i|0]=w[b|0];j=c-1|0;i=i+1|0;b=b+1|0;if((c|0)<2){break a}c=j;if(e>>>0>i>>>0){continue}break}break a}while(1){t[i|0]=w[b|0];v[k>>2]=g;j=c-1|0;k=k+4|0;i=i+1|0;b=b+1|0;if((c|0)<2){break b}c=j;if(e>>>0>i>>>0){continue}break}}v[f>>2]=k}v[d>>2]=i;if((j|0)>=1){e:{if(!a){break e}t[a+63|0]=j;d=j-1|0;i=a+76|0;c=j&7;if(c){while(1){t[i|0]=w[b|0];j=j-1|0;i=i+1|0;b=b+1|0;c=c-1|0;if(c){continue}break}}if(d>>>0<7){break e}while(1){t[i|0]=w[b|0];t[i+1|0]=w[b+1|0];t[i+2|0]=w[b+2|0];t[i+3|0]=w[b+3|0];t[i+4|0]=w[b+4|0];t[i+5|0]=w[b+5|0];t[i+6|0]=w[b+6|0];t[i+7|0]=w[b+7|0];i=i+8|0;b=b+8|0;a=(j|0)>8;j=j-8|0;if(a){continue}break}}v[h>>2]=15}}function epa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=Qb-16|0;Qb=e;v[e+12>>2]=b;a:{if(!b){break a}d=w[b|0];if(w[a+16|0]|!d){break a}while(1){b:{f=b;c:{if((c|0)!=92){if((c|0)!=34){if(c){break c}c=(d|0)==34?34:0;break c}if((d|0)==34){c=0;break c}if((d|0)==92){c=92;break c}if(d>>>0<32){break b}c=34;if((d|0)!=127){break c}break b}c=34;if(!fi(308911,d<<24>>24,18)){break b}}b=f+1|0;d=w[f+1|0];if(d){continue}break a}break}t[a+16|0]=1}v[299999]=0;$(4641,a|0,260602,a|0,e+12|0);a=v[299999];v[299999]=0;d:{e:{if((a|0)==1){c=W(989228)|0;f:{if((O()|0)==(ja(989228)|0)){a=ea(c|0)|0;v[299999]=0;a=Nl(a,v[282394]);b=v[299999];v[299999]=0;if((b|0)!=1){if(!a){break f}v[299999]=0;ba(4483);a=v[299999];v[299999]=0;if((a|0)!=1){break d}}c=P()|0;O()|0;v[299999]=0;ba(4230);a=v[299999];v[299999]=0;if((a|0)==1){break e}}T(c|0);L()}ka()}Qb=e+16|0;return}W(0)|0;O()|0;lc()}L()}function J0a(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,j=0;i=v[b+712>>2];a=ic(a,0,780);v[a+8>>2]=d;v[a+4>>2]=b;t[a+65|0]=1;v[a>>2]=v[b+100>>2];a:{if(!d){break a}b=v[v[d+156>>2]>>2];v[a+12>>2]=b;v[a+20>>2]=b+56;v[a+16>>2]=b+20;Fo(b);v[a+68>>2]=0;v[a+72>>2]=0;if(!e|!c){break a}b=v[v[c+40>>2]>>2];if(!b){break a}v[a+72>>2]=v[b>>2];v[a+68>>2]=v[v[d+156>>2]+36>>2]}v[a+24>>2]=0;v[a+28>>2]=0;v[a+40>>2]=0;v[a+44>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;b=v[95524];v[a+76>>2]=v[95523];v[a+80>>2]=b;b=v[95526];v[a+84>>2]=v[95525];v[a+88>>2]=b;b=v[95528];v[a+92>>2]=v[95527];v[a+96>>2]=b;b=v[95530];v[a+100>>2]=v[95529];v[a+104>>2]=b;v[a+108>>2]=i;b=v[i+120>>2];v[a+732>>2]=b;v[a+748>>2]=v[i+1352>>2];b:{if(v[i+1416>>2]==1){break b}j=107;if(b>>>0<1240){break b}j=b>>>0<33900?1131:32768}v[a+776>>2]=h;v[a+772>>2]=g;v[a+760>>2]=f;v[a+740>>2]=j}function cba(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;f=Qb-48|0;Qb=f;v[f+40>>2]=b;a:{if(!(v[c+4>>2]&1)){c=Ub[v[v[a>>2]+24>>2]](a,b,c,d,e)|0;break a}b=f+24|0;a=v[c+28>>2];v[b>>2]=a;v[a+4>>2]=v[a+4>>2]+1;v[299999]=0;a=S(5563,b|0)|0;b=v[299999];v[299999]=0;b:{if((b|0)!=1){b=v[f+24>>2];c=v[b+4>>2]-1|0;v[b+4>>2]=c;if((c|0)==-1){Ub[v[v[b>>2]+8>>2]](b)}c:{if(e){Ub[v[v[a>>2]+24>>2]](f+24|0,a);break c}Ub[v[v[a>>2]+28>>2]](f+24|0,a)}g=f,h=xi(f+24|0),v[g+16>>2]=h;while(1){g=f,h=En(f+24|0),v[g+8>>2]=h;if(v[f+16>>2]==v[f+8>>2]){c=v[f+40>>2];le(f+24|0);break a}a=v[v[f+16>>2]>>2];v[299999]=0;Q(5589,f+40|0,a|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){v[f+16>>2]=v[f+16>>2]+4;continue}break}c=P()|0;O()|0;le(f+24|0);break b}c=P()|0;O()|0;a=v[f+24>>2];b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}}T(c|0);L()}Qb=f+48|0;return c|0}function H$a(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,h=0,i=0,j=0,k=0,l=0,m=0;a:{h=v[a+4>>2];k=0-h|0;g=k&(c+h|0)-1;i=d&k;b:{if((g|0)<=(i|0)){e=v[a>>2];d=g;break b}if((h+i|0)!=(g|0)){break a}j=i;c:{d:{e:{l=x[e+12>>1];m=l&7;switch(m|0){case 0:break c;case 1:case 5:break d;case 4:break e;default:break a}}j=(c+d|0)+((B(h,63)|0)/64|0)>>1&k;break c}if(!(v[e+28>>2]!=(f|0)|v[e+16>>2]>0)&(!(l&16)|v[a+8>>2]>(d-c|0))|!(v[f+28>>2]!=(e|0)|v[e+20>>2]!=(b|0))&(!(l&32)|v[a+8>>2]>(d-c|0))){break a}if((m|0)==1){break c}j=(c+d|0)+((B(h,63)|0)/64|0)>>1&k}e=v[a>>2];d=g;d=(j|0)>=0?y[a+96>>2]>j>>>e>>>0?j:i:d;c=((g|0)==(d|0)?i:g)>>e;if((c|0)<0|c>>>0>=y[a+96>>2]){break b}if(w[(v[a+56>>2]+(b>>3)|0)-B(c,v[a+104>>2])|0]&128>>>(b&7)){break a}}c=d>>e;if((c|0)<0|c>>>0>=y[a+96>>2]){break a}a=(v[a+56>>2]+(b>>3)|0)-B(c,v[a+104>>2])|0;t[a|0]=w[a|0]|128>>>(b&7)}}function _pa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Qb-16|0;Qb=c;a:{b=v[b>>2];b:{if(b){xO(c,b,5156,5157);v[299999]=0;Q(4569,a|0,c|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){a=v[c>>2];v[c>>2]=0;if(!a){break b}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;d=v[299999];v[299999]=0;if((d|0)!=1){if(b){break b}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}}break a}a=P()|0;O()|0;ec(c);T(a|0);L()}v[a>>2]=0;v[a+4>>2]=v[282402];v[299999]=0;v[c+8>>2]=0;Q(4344,a|0,c+8|0)|0;b=v[299999];v[299999]=0;c:{if((b|0)!=1){b=v[c+8>>2];v[c+8>>2]=0;if(!b){break c}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)!=1){if(d){break c}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break c}}break a}b=P()|0;O()|0;ec(c+8|0);ec(a);T(b|0);L()}b=a;a=v[a>>2];v[b+4>>2]=v[(a?a+12|0:1129608)>>2]}Qb=c+16|0;return}W(0)|0;O()|0;lc();L()}function VY(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{if((a|0)>(b|0)){break a}g=v[(c<<3)+e>>2]>v[(d<<3)+e>>2];k=g?c:d;h=k<<3;i=v[h+f>>2];l=g?d:c;c=l<<3;j=v[c+f>>2];h=v[e+h>>2];g=v[c+e>>2];if(!((h|0)==(g|0)&(i|0)!=(j|0))){if((g|0)!=(h|0)){m=ad(i-j|0,h-g|0)}o=i-h|0;p=j-g|0;d=a;while(1){c=d;n=d<<3;d=v[n+e>>2];b:{if((d|0)<=(g|0)){i=d+p|0;break b}i=d+o|0;if((d|0)>=(h|0)){break b}i=Ac(d-g|0,m)+j|0}v[f+n>>2]=i;d=c+1|0;if((b|0)!=(c|0)){continue}break}}h=f+4|0;e=e+4|0;d=v[e+(l<<3)>>2]>v[e+(k<<3)>>2];g=(d?l:k)<<3;c=v[h+g>>2];d=(d?k:l)<<3;f=v[d+h>>2];g=v[e+g>>2];d=v[d+e>>2];if((g|0)==(d|0)&(c|0)!=(f|0)){break a}k=0;if((d|0)!=(g|0)){k=ad(c-f|0,g-d|0)}i=c-g|0;l=f-d|0;while(1){c=a;m=c<<3;a=v[m+e>>2];c:{if((a|0)<=(d|0)){j=a+l|0;break c}j=a+i|0;if((a|0)>=(g|0)){break c}j=Ac(a-d|0,k)+f|0}v[h+m>>2]=j;a=c+1|0;if((b|0)!=(c|0)){continue}break}}}function K$a(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,h=0,i=0,j=0,k=0,l=0,m=0;a:{h=v[a+4>>2];k=0-h|0;g=k&(c+h|0)-1;i=d&k;b:{if((g|0)<=(i|0)){c=v[a>>2];d=g;break b}if((h+i|0)!=(g|0)){break a}j=i;c:{d:{e:{l=x[e+12>>1];m=l&7;switch(m|0){case 0:break c;case 1:case 5:break d;case 4:break e;default:break a}}j=(c+d|0)+((B(h,63)|0)/64|0)>>1&k;break c}if(!(v[e+28>>2]!=(f|0)|v[e+16>>2]>0)&(!(l&16)|v[a+8>>2]>(d-c|0))|!(v[f+28>>2]!=(e|0)|v[e+20>>2]!=(b|0))&(!(l&32)|v[a+8>>2]>(d-c|0))){break a}if((m|0)==1){break c}j=(c+d|0)+((B(h,63)|0)/64|0)>>1&k}c=v[a>>2];d=g;d=(j|0)>=0?x[a+52>>1]>(j>>>c|0)?j:i:d;b=((g|0)==(d|0)?i:g)>>c;if((b|0)<0|(b|0)>=x[a+52>>1]){break b}if(w[v[a+56>>2]+(v[a+140>>2]+(b<<13>>16)|0)|0]<<(b&7)&128){break a}}b=d>>c;if((b|0)<0|(b|0)>=x[a+52>>1]){break a}a=v[a+56>>2]+(v[a+140>>2]+(b<<13>>16)|0)|0;t[a|0]=w[a|0]|128>>>(b&7)}}function iab(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,j=0;a:{b:{if(f){a=c<<1;j=b<<1;if(((c+1|0)/2|0)>(b|0)){break b}if(!d){break a}b=0;while(1){h=x[e>>1];c:{if((h|0)==x[f>>1]){u[g>>1]=h;break c}h=w[e|0]|w[e+1|0]<<8;i=w[f|0]|w[f+1|0]<<8;h=((h<<8|h>>>8)&65535)+((B(((i<<8|i>>>8)&65535)-((h<<8|h>>>8)&65535)|0,j)+c|0)/(a|0)|0)&65535;h=h<<8|h>>>8;t[g|0]=h;t[g+1|0]=h>>>8}u[g+2>>1]=x[f+2>>1];g=g+4|0;f=f+4|0;e=e+4|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}break a}gc(g,e,d<<2);break a}if(!d){break a}b=0;while(1){h=x[e>>1];d:{if((h|0)==x[f>>1]){u[g>>1]=h;break d}h=w[e|0]|w[e+1|0]<<8;i=w[f|0]|w[f+1|0]<<8;h=((h<<8|h>>>8)&65535)+((B(((i<<8|i>>>8)&65535)-((h<<8|h>>>8)&65535)|0,j)+c|0)/(a|0)|0)&65535;h=h<<8|h>>>8;t[g|0]=h;t[g+1|0]=h>>>8}u[g+2>>1]=x[e+2>>1];g=g+4|0;e=e+4|0;f=f+4|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}}return 0}function cZ(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;j=v[a+12>>2];e=v[j>>2];g=b>>>0>e>>>0?e:b;if(g){e=v[j+12>>2];while(1){k=v[e+12>>2];b=k;l=i<<2;f=v[l+c>>2];if((b|0)>=(f|0)){b=v[e+4>>2];b=(b|0)>(f|0)?b:f}f=v[e+8>>2];a:{if((f|0)>(b|0)){h=0-ad(b-f|0,v[e+4>>2]-f|0)|0;break a}h=0;if((b|0)<=(f|0)){break a}h=ad(b-f|0,k-f|0)}v[d+l>>2]=h;e=e+24|0;i=i+1|0;if((g|0)!=(i|0)){continue}break}e=v[j>>2]}if(e>>>0>g>>>0){ic((g<<2)+d|0,0,e-g<<2)}b=v[a+28>>2];b:{if(!b){break b}a=v[j>>2];if(!a){break b}c=0;while(1){h=x[b>>1];c:{if(h>>>0<2){break c}f=v[b+4>>2];i=(c<<2)+d|0;g=v[i>>2];e=1;while(1){k=e<<3;l=k+f|0;m=v[l>>2];if((g|0)<(m|0)){a=k-8|0;e=a+f|0;f=v[e>>2];n=i,o=jd(g-f|0,v[l+4>>2]-v[e+4>>2]|0,m-f|0)+v[(a+v[b+4>>2]|0)+4>>2]|0,v[n>>2]=o;a=v[j>>2];break c}e=e+1|0;if((h|0)!=(e|0)){continue}break}}b=b+8|0;c=c+1|0;if(c>>>0>>0){continue}break}}}function Xe(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Qb-16|0;Qb=e;a:{if(!b){break a}if((a|0)==(b|0)){c=b;break a}f=v[b+12>>2];d=v[b+4>>2];g=B(f,d);h=g<<2;if(!a){a=d0(b);if(!a){break a}ic(v[a+40>>2],0,B(v[a+12>>2],v[a+4>>2])<<2);gc(v[a+40>>2],v[b+40>>2],h);c=a;break a}c=v[b>>2];if(!(!((c|0)!=v[a>>2]|(d|0)!=v[a+4>>2])&v[b+8>>2]==v[a+8>>2])){i=v[b+8>>2];v[a+4>>2]=(d|0)>0?d:0;v[a>>2]=(c|0)>0?c:0;if((i|0)>=1){v[a+8>>2]=i}v[a+12>>2]=f;c=v[a+40>>2];if(c){Ub[v[259694]](c);v[a+40>>2]=0}c=0;d=Ub[v[259693]](g<<2)|0;if(!d){break a}v[a+40>>2]=d}c=v[a+36>>2];v[e+8>>2]=c;if(c){on(e+8|0);v[a+36>>2]=0}c=v[b+36>>2];b:{if(!c){break b}c=uI(c);if(!c){break b}d=v[a+36>>2];v[e+12>>2]=d;if(d){on(e+12|0)}v[a+36>>2]=c}v[a+20>>2]=v[b+20>>2];v[a+24>>2]=v[b+24>>2];v[a+28>>2]=v[b+28>>2];c=v[b+32>>2];d=a+32|0;if(d){VK(d,c)}gc(v[a+40>>2],v[b+40>>2],h);c=a}Qb=e+16|0;return c}function pba(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;f=Qb-48|0;Qb=f;v[f+40>>2]=b;a:{if(!(v[c+4>>2]&1)){c=Ub[v[v[a>>2]+24>>2]](a,b,c,d,e)|0;break a}b=f+24|0;a=v[c+28>>2];v[b>>2]=a;v[a+4>>2]=v[a+4>>2]+1;v[299999]=0;a=S(5534,b|0)|0;b=v[299999];v[299999]=0;b:{if((b|0)!=1){b=v[f+24>>2];c=v[b+4>>2]-1|0;v[b+4>>2]=c;if((c|0)==-1){Ub[v[v[b>>2]+8>>2]](b)}c:{if(e){Ub[v[v[a>>2]+24>>2]](f+24|0,a);break c}Ub[v[v[a>>2]+28>>2]](f+24|0,a)}g=f,h=xi(f+24|0),v[g+16>>2]=h;while(1){g=f,h=Hn(f+24|0),v[g+8>>2]=h;if(v[f+16>>2]==v[f+8>>2]){c=v[f+40>>2];Mc(f+24|0);break a}a=t[v[f+16>>2]];v[299999]=0;Q(5475,f+40|0,a|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){v[f+16>>2]=v[f+16>>2]+1;continue}break}c=P()|0;O()|0;Mc(f+24|0);break b}c=P()|0;O()|0;a=v[f+24>>2];b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}}T(c|0);L()}Qb=f+48|0;return c|0}function hP(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;g=Qb-48|0;Qb=g;e=a+72|0;f=dk(e);a:{b:{c:{d=v[v[b+12>>2]+((f>>>0)%y[b+8>>2]<<2)>>2];d:{if(d){while(1){if((f|0)==v[d+12>>2]){if(Sk(d+16|0,e)){break d}}d=v[d+8>>2];if(d){continue}break}}h=Jt(b,e),i=0,v[h+52>>2]=i;_C(g,e);v[299999]=0;d=Y(4612,g+8|0,g|0,c|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break c}v[299999]=0;Q(4478,e|0,d|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break b}v[d+24>>2]=981312;v[d>>2]=981280;e=v[d+28>>2];if(e){f=v[e+4>>2]-1|0;v[e+4>>2]=f;if(!f){Ub[v[v[e>>2]+4>>2]](e)}v[d+28>>2]=0}v[d+16>>2]=981312;e=v[d+20>>2];if(e){f=v[e+4>>2]-1|0;v[e+4>>2]=f;if(!f){Ub[v[v[e>>2]+4>>2]](e)}v[d+20>>2]=0}ec(d+8|0);ec(g);d=v[a+120>>2];if(!d){break d}while(1){hP(v[d+8>>2],b,c);d=v[d>>2];if(d){continue}break}}Qb=g+48|0;return}b=P()|0;O()|0;break a}b=P()|0;O()|0;$c(d)}ec(g);T(b|0);L()}function ela(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Qb-32|0;Qb=d;v[a>>2]=0;v[a+4>>2]=v[282402];a:{b:{c:{b=v[b+8>>2];if(b){v[299999]=0;U(5049,d+24|0,b|0,c|0);b=v[299999];v[299999]=0;if((b|0)==1){break c}v[299999]=0;Q(4535,a|0,d+24|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){ec(d+24|0);break a}c=P()|0;O()|0;ec(d+24|0);break b}v[299999]=0;b=Q(4340,d+8|0,309809)|0;c=v[299999];v[299999]=0;d:{e:{f:{g:{if((c|0)!=1){v[299999]=0;U(4423,d+16|0,322756,b|0);c=v[299999];v[299999]=0;if((c|0)==1){break g}v[299999]=0;U(4546,d+24|0,d+16|0,355680);c=v[299999];v[299999]=0;if((c|0)==1){break f}v[299999]=0;Q(4535,a|0,d+24|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break e}ec(d+24|0);ec(d+16|0);ec(b);break a}c=P()|0;O()|0;break b}c=P()|0;O()|0;ec(b);break b}c=P()|0;O()|0;break d}c=P()|0;O()|0;ec(d+24|0)}ec(d+16|0);ec(b);break b}c=P()|0;O()|0}ec(a);T(c|0);L()}Qb=d+32|0}function Ura(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{c=v[a+4>>2];b:{if(v[c+4>>2]<2){b=c;break b}b=fc(52);v[b+20>>2]=0;v[b+24>>2]=-1;v[b+12>>2]=0;v[b+16>>2]=-1;v[b>>2]=981392;v[b+4>>2]=0;v[b+8>>2]=0;v[b+28>>2]=v[c+28>>2];v[b+32>>2]=v[c+32>>2];v[b+36>>2]=v[c+36>>2];v[b+40>>2]=v[c+40>>2];v[b+44>>2]=v[c+44>>2];v[b+48>>2]=v[c+48>>2];e=v[c+20>>2];d=v[c+24>>2];v[299999]=0;U(4403,b|0,e|0,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break a}f=v[c+12>>2];h=v[c+8>>2];i=v[b+8>>2];j=v[c+44>>2];k=v[c+20>>2];e=v[c+24>>2];d=v[b+20>>2];c=v[b+24>>2];g=v[b+12>>2];v[299999]=0;da(j|0,i|0,d-g|0,c-g|0,h|0,k-f|0,e-f|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}v[b+4>>2]=v[b+4>>2]+1;d=v[a+4>>2];c:{if(!d){break c}c=v[d+4>>2]-1|0;v[d+4>>2]=c;if(c){break c}Ub[v[v[d>>2]+4>>2]](d)}v[a+4>>2]=b}return v[b+8>>2]-v[b+12>>2]|0}a=P()|0;O()|0;dc(b);T(a|0);L()}function jf(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=2147483632;v[b>>2]=2147483632;f=v[b+8>>2];v[b+16>>2]=f;e=v[b+20>>2];v[b+28>>2]=e;u[e+2>>1]=0;i=v[a+20>>2];k=v[a+28>>2]-i>>3;while(1){d=u[i+10>>1];h=d>>31;j=h^d+h;l=j&65535;h=u[i+8>>1];a:{b:{if((d|0)<=-1){d=w[v[i+12>>2]];c:{if((h|0)!=(g+1|0)){break c}g=u[e+2>>1];if((d|0)!=w[v[e+4>>2]]|(g|0)>-1){break c}u[e+2>>1]=g-j;break b}t[f|0]=d;d=v[b+28>>2];e=d+8|0;v[b+28>>2]=e;g=v[b+16>>2];f=g+1|0;v[b+16>>2]=f;u[d+10>>1]=0-j;u[d+8>>1]=h;v[d+12>>2]=g;break b}if(!d){break a}gc(f,v[i+12>>2],l);d=v[b+28>>2];d:{e:{if((h|0)!=(v[b>>2]+1|0)){break e}e=u[d+2>>1];if((e|0)<1){break e}u[d+2>>1]=e+j;f=v[b+16>>2];e=d;break d}e=d+8|0;v[b+28>>2]=e;f=v[b+16>>2];u[d+10>>1]=j;u[d+8>>1]=h;v[d+12>>2]=f}f=f+l|0;v[b+16>>2]=f}g=(h+l|0)-1|0;v[b>>2]=g}i=i+8|0;k=k-1|0;if(k){continue}break}v[b+4>>2]=v[a+4>>2];$i(c,b)}function Wdb(a){a=a|0;var b=0,c=0,d=0,e=0;b=v[v[a+2248>>2]+88>>2];c=v[b+1168>>2];c=(v[b+1176>>2]+B(c,v[a+572>>2])|0)+B(c,v[a+2268>>2])|0;b=v[b+1164>>2];b=(c+B(b,v[a+580>>2])|0)+B(b,v[a+2264>>2])|0;c=v[a+636>>2]+v[a+616>>2]|0;d=v[a+588>>2];a:{b:{if(w[a+2253|0]!=4){if((d|0)<=0){break a}while(1){t[b|0]=w[c|0]+w[b|0];t[b+1|0]=w[c+1|0]+w[b+1|0];c=c+2|0;b=(v[a+584>>2]<<1)+b|0;d=v[a+588>>2];e=e+1|0;if((d|0)>(e|0)){continue}break}break b}if((d|0)<1){break a}while(1){t[b|0]=w[c|0];t[b+1|0]=w[c+1|0];c=c+2|0;b=(v[a+584>>2]<<1)+b|0;d=v[a+588>>2];e=e+1|0;if((d|0)>(e|0)){continue}break}}if((d|0)<1){break a}b=v[a+540>>2];b=(v[b+1176>>2]+B(v[a+572>>2],v[b+1168>>2])|0)+B(v[a+580>>2],v[b+1164>>2])|0;c=v[a+636>>2]+v[a+616>>2]|0;d=0;while(1){t[b|0]=w[c|0];t[b+1|0]=w[c+1|0];c=c+2|0;b=(v[a+584>>2]<<1)+b|0;d=d+1|0;if((d|0)>2]){continue}break}}return 0}function ig(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0;a=v[a>>2];j=v[a+4>>2];i=v[a+16>>2];a:{b:{if((i|0)>=0){a=B(c,i);break b}k=j-v[a>>2]|0;a=B(c,i);if((k|0)<(0-a|0)){break a}}h=a+j|0}h=(b<<2)+h|0;c:{if(f){while(1){bH(h,w[e|0],w[e+1|0],w[e+2|0],w[e+3|0],w[f|0]);e=e+4|0;h=h+4|0;f=f+1|0;d=d-1|0;if(d){continue}break c}}if((g|0)==255){while(1){a=w[e+3|0];d:{if(!a){break d}b=w[e+2|0];c=w[e+1|0];f=w[e|0];if((a|0)==255){t[h+1|0]=c;t[h+2|0]=f;t[h+3|0]=255;t[h|0]=b;break d}g=f;f=w[h+2|0];t[h+2|0]=B(a,g-f|0)+(f<<8)>>>8;f=c;c=w[h+1|0];t[h+1|0]=B(a,f-c|0)+(c<<8)>>>8;c=w[h+3|0];t[h+3|0]=c+a-(B(a,c)+255>>>8);c=a;a=w[h|0];t[h|0]=B(c,b-a|0)+(a<<8)>>>8}e=e+4|0;h=h+4|0;d=d-1|0;if(d){continue}break c}}bH(h,w[e|0],w[e+1|0],w[e+2|0],w[e+3|0],g);f=d-1|0;if(!f){break c}while(1){h=h+4|0;bH(h,w[e+4|0],w[e+5|0],w[e+6|0],w[e+7|0],g);e=e+4|0;f=f-1|0;if(f){continue}break}}}function LAa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=Qb-128|0;Qb=g;h=v[a+12>>2];a:{if(h){e=v[a+16>>2];if((e|0)<1){break a}j=e&3;k=w[b|0];if(e-1>>>0>=3){m=e&-4;b=a+148|0;while(1){e=f<<2;i=k<<2;v[e+g>>2]=v[i+v[b+e>>2]>>2];l=e|4;v[l+g>>2]=v[i+v[b+l>>2]>>2];l=e|8;v[l+g>>2]=v[i+v[b+l>>2]>>2];e=e|12;v[e+g>>2]=v[i+v[b+e>>2]>>2];f=f+4|0;m=m-4|0;if(m){continue}break}}if(!j){break a}while(1){b=f<<2;v[b+g>>2]=v[v[(a+b|0)+148>>2]+(k<<2)>>2];f=f+1|0;j=j-1|0;if(j){continue}break}break a}e=v[a+8>>2];b:{if((e|0)<1){break b}if((e|0)!=1){h=e&-2;j=a+20|0;while(1){i=f<<2;v[i+g>>2]=v[v[i+j>>2]+(w[b+f|0]<<2)>>2];i=f|1;k=i<<2;v[k+g>>2]=v[v[j+k>>2]+(w[b+i|0]<<2)>>2];f=f+2|0;h=h-2|0;if(h){continue}break}}if(!(e&1)){break b}h=f<<2;v[h+g>>2]=v[v[(a+h|0)+20>>2]+(w[b+f|0]<<2)>>2]}h=v[a>>2]}Ub[v[v[h>>2]+16>>2]](h,g,c,d);Qb=g+128|0}function KAa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=Qb-128|0;Qb=g;h=v[a+12>>2];a:{if(h){e=v[a+16>>2];if((e|0)<1){break a}j=e&3;k=w[b|0];if(e-1>>>0>=3){m=e&-4;b=a+148|0;while(1){e=f<<2;i=k<<2;v[e+g>>2]=v[i+v[b+e>>2]>>2];l=e|4;v[l+g>>2]=v[i+v[b+l>>2]>>2];l=e|8;v[l+g>>2]=v[i+v[b+l>>2]>>2];e=e|12;v[e+g>>2]=v[i+v[b+e>>2]>>2];f=f+4|0;m=m-4|0;if(m){continue}break}}if(!j){break a}while(1){b=f<<2;v[b+g>>2]=v[v[(a+b|0)+148>>2]+(k<<2)>>2];f=f+1|0;j=j-1|0;if(j){continue}break}break a}e=v[a+8>>2];b:{if((e|0)<1){break b}if((e|0)!=1){h=e&-2;j=a+20|0;while(1){i=f<<2;v[i+g>>2]=v[v[i+j>>2]+(w[b+f|0]<<2)>>2];i=f|1;k=i<<2;v[k+g>>2]=v[v[j+k>>2]+(w[b+i|0]<<2)>>2];f=f+2|0;h=h-2|0;if(h){continue}break}}if(!(e&1)){break b}h=f<<2;v[h+g>>2]=v[v[(a+h|0)+20>>2]+(w[b+f|0]<<2)>>2]}h=v[a>>2]}Ub[v[v[h>>2]+20>>2]](h,g,c,d);Qb=g+128|0}function TOa(a){a=a|0;var b=0,c=0,d=0,e=0;v[a+4>>2]=1;v[a>>2]=460040;v[a>>2]=467860;v[299999]=0;c=a+8|0;v[c+4>>2]=1;v[c>>2]=459644;b=c+12|0;v[b>>2]=0;v[b+4>>2]=0;v[c>>2]=466880;v[c+8>>2]=b;b=v[299999];v[299999]=0;a:{b:{c:{d:{if((b|0)!=1){v[299999]=0;d=a+28|0;b=d;v[b+4>>2]=1;v[b>>2]=459784;b=v[299999];v[299999]=0;if((b|0)==1){break d}b=a+40|0;v[b>>2]=0;v[b+4>>2]=0;v[a+28>>2]=467112;e=a+52|0;v[a+56>>2]=e;v[a+36>>2]=b;v[a+60>>2]=0;v[a+64>>2]=-1;v[a+48>>2]=0;v[a+52>>2]=e;v[299999]=0;v[(a+68|0)+4>>2]=1;v[a+68>>2]=460004;b=v[299999];v[299999]=0;if((b|0)==1){break c}v[a+68>>2]=468332;v[a+48>>2]=c;v[a+76>>2]=0;v[a+80>>2]=0;v[a+84>>2]=0;v[a+88>>2]=0;v[a+92>>2]=0;v[a+96>>2]=0;v[a+116>>2]=0;c=a+108|0;v[a+112>>2]=c;v[a+100>>2]=0;v[a+104>>2]=0;v[a+108>>2]=c;return a|0}a=P()|0;O()|0;break a}a=P()|0;O()|0;break b}a=P()|0;O()|0;hv(d)}Az(c)}T(a|0);L()}function rPa(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,n=0,o=0,p=0,q=0,r=0;b=v[b+84>>2];f=B(v[b+44>>2],u[c+22>>1]);g=v[d>>2]+e|0;a=v[a+332>>2]+128|0;h=B(v[b+32>>2],x[c+16>>1]);j=B(v[b>>2],x[c>>1]);i=(h+j|0)+4|0;k=B(v[b+40>>2],x[c+20>>1]);l=B(v[b+8>>2],x[c+4>>1]);m=k+l|0;n=i+m<<13;o=B(v[b+12>>2],u[c+6>>1]);p=o+f|0;q=B(v[b+36>>2],u[c+18>>1]);b=B(v[b+4>>2],u[c+2>>1]);c=q+b|0;r=B(p+c|0,4433);c=r+B(c,6270)|0;t[g|0]=w[a+(n+c>>>16&1023)|0];t[g+3|0]=w[a+(n-c>>>16&1023)|0];c=B(p,-15137)+r|0;i=i-m<<13;t[g+1|0]=w[a+(c+i>>>16&1023)|0];t[g+2|0]=w[a+(i-c>>>16&1023)|0];g=o-f|0;f=b-q|0;c=B(g+f|0,4433);b=v[d+4>>2]+e|0;d=c+B(f,6270)|0;e=(j-h|0)+4|0;f=l-k|0;h=e+f<<13;t[b|0]=w[a+(d+h>>>16&1023)|0];t[b+3|0]=w[a+(h-d>>>16&1023)|0];c=c+B(g,-15137)|0;d=e-f<<13;t[b+1|0]=w[a+(c+d>>>16&1023)|0];t[b+2|0]=w[a+(d-c>>>16&1023)|0]}function fra(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;e=Qb-32|0;Qb=e;a:{b:{d=v[a+16>>2];if(d){g=a+8|0;while(1){v[e+20>>2]=g;v[e+16>>2]=d;i=v[d>>2];a=0;f=v[d+8>>2];if(f){v[f+4>>2]=v[f+4>>2]+1;a=v[d+8>>2]}v[e+8>>2]=a;c:{if(v[a+44>>2]!=v[b>>2]){break c}d=v[a+60>>2];d:{if(!d){break d}h=a+52|0;f=v[c>>2];while(1){if((f|0)!=v[d+8>>2]){d=v[d>>2];if(d){continue}break d}break}v[e+28>>2]=h;v[e+24>>2]=d;v[299999]=0;V(4460,h|0,e+24|0);d=v[299999];v[299999]=0;if((d|0)==1){break b}}if(v[a+56>>2]){break c}v[299999]=0;V(4460,g|0,e+16|0);d=v[299999];v[299999]=0;if((d|0)==1){break b}}v[299999]=0;f=v[a+4>>2]-1|0;v[a+4>>2]=f;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(!f){v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}d=i;if(d){continue}break}}Qb=e+32|0;return}a=P()|0;O()|0;ec(e+8|0);T(a|0);L()}W(0)|0;O()|0;lc();L()}function D9a(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;a:{if(!(w[a+288|0]|(w[a+286|0]|w[a+287|0]))){h=1029;break a}h=1029;if(w[a+300|0]|!w[a+293|0]){break a}h=1028;if(c&1){break a}f=c>>>1|0;if((f|0)!=v[a+332>>2]){break a}h=0;b:{if(!w[a+112|0]){break b}h=Ub[v[b+4>>2]](a,b,e)|0;if(h){break b}i=v[e>>2];v[i+32>>2]=f;h=0;if(c>>>0<2){break b}a=f>>>0>1?f:1;b=a&3;c:{if(a-1>>>0<3){a=0;break c}e=a&2147483644;a=0;c=i+36|0;while(1){f=a<<1;g=w[d|0]|w[d+1|0]<<8;u[f+c>>1]=g<<8|g>>>8;g=w[d+2|0]|w[d+3|0]<<8;u[c+(f|2)>>1]=g<<8|g>>>8;g=w[d+4|0]|w[d+5|0]<<8;u[c+(f|4)>>1]=g<<8|g>>>8;g=c+(f|6)|0;f=w[d+6|0]|w[d+7|0]<<8;u[g>>1]=f<<8|f>>>8;a=a+4|0;d=d+8|0;e=e-4|0;if(e){continue}break}}if(!b){break b}while(1){c=w[d|0]|w[d+1|0]<<8;u[((a<<1)+i|0)+36>>1]=c<<8|c>>>8;a=a+1|0;d=d+2|0;b=b-1|0;if(b){continue}break}}return h|0}pc(a,h,0,0);return h|0}function Av(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(a){b=u[a+56>>1];u[a+20>>1]=b+x[a+20>>1];c=x[a+22>>1];u[a+22>>1]=c+x[a+58>>1];i=v[a+48>>2]+v[a+84>>2]|0;v[a+48>>2]=i;a:{if((b|0)<1){break a}g=b&3;d=v[a+68>>2];if(b-1>>>0>=3){h=b&-4;while(1){b=f<<1;e=b+d|0;u[e>>1]=c+x[e>>1];e=d+(b|2)|0;u[e>>1]=c+x[e>>1];e=d+(b|4)|0;u[e>>1]=c+x[e>>1];b=d+(b|6)|0;u[b>>1]=c+x[b>>1];f=f+4|0;h=h-4|0;if(h){continue}break}}if(!g){break a}while(1){b=d+(f<<1)|0;u[b>>1]=c+x[b>>1];f=f+1|0;g=g-1|0;if(g){continue}break}}v[a+84>>2]=0;v[a+56>>2]=0;b=a;d=v[a+24>>2];if(d){c=d+(u[a+22>>1]<<3)|0}else{c=0}v[b+60>>2]=c;d=a- -64|0;c=v[a+28>>2];if(c){b=c+u[a+22>>1]|0}else{b=0}v[d>>2]=b;b=a;d=v[a+32>>2];if(d){c=d+(u[a+20>>1]<<1)|0}else{c=0}v[b+68>>2]=c;if(w[a+16|0]){c=u[a+22>>1]<<3;v[a+76>>2]=c+v[a+40>>2];v[a+80>>2]=c+v[a+44>>2]}b=a;a=v[a+52>>2];v[b+88>>2]=a?a+(i<<5)|0:0}}function vA(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=Qb-32|0;Qb=c;a:{if(!a|!b){break a}e=c+28|0;f=c+24|0;g=c+20|0;if(a){if(e){v[e>>2]=v[a>>2]}if(f){v[f>>2]=v[a+4>>2]}if(g){v[g>>2]=v[a+8>>2]}}f=v[c+28>>2];g=v[c+24>>2];b:{if(!b){break b}e=v[b>>2];if((e|0)>=(f|0)){break b}h=v[b+4>>2];if((e+v[b+8>>2]|0)<1|(g|0)<=(h|0)|(v[b+12>>2]+h|0)<1){break b}d=S$(b);b=v[d>>2];if((b|0)<=-1){v[d>>2]=0;v[d+8>>2]=b+v[d+8>>2];b=0}e=b;b=v[d+4>>2];if((b|0)<=-1){v[d+4>>2]=0;v[d+12>>2]=b+v[d+12>>2];b=0}if((f|0)<(e+v[d+8>>2]|0)){v[d+8>>2]=f-e}if((g|0)>=(b+v[d+12>>2]|0)){break b}v[d+12>>2]=g-b}v[c>>2]=d;if(!d){break a}vq(d,c+16|0,c+12|0,c+8|0,c+4|0);b=Ug(v[c+8>>2],v[c+4>>2],v[c+20>>2]);if(!b){break a}if(!(!a|!b|(a|0)==(b|0))){v[b+20>>2]=v[a+20>>2];v[b+24>>2]=v[a+24>>2]}wA(b,a);Oe(b,0,0,v[c+8>>2],v[c+4>>2],24,a,v[c+16>>2],v[c+12>>2]);qI(c);i=b}Qb=c+32|0;return i}function LJa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=-1;a:{b:{if(!(!d|(!a|!b))){if(!c){v[b>>2]=0;v[d>>2]=0;return 0}f=c;i=a;g=v[d>>2];c:{if((g|0)<1){break c}l=v[b>>2]+a|0;k=c+g|0;g=c;while(1){e=t[g|0];h=e&255;f=0;d:{if((e|0)>-1){j=0;break d}f=e&255;if(f>>>0<=191){break a}if(f>>>0<=223){h=h&31;f=1;j=1;break d}e:{if(f>>>0<=239){j=2;h=h&15;break e}if(f>>>0>247){break b}j=3;h=h&7}f=1}e=g+1|0;if((k-e|0)<(j|0)){f=g;break c}m=f;f=e;f:{if(!(m&k>>>0>e>>>0)){break f}while(1){f=e+1|0;e=w[e|0];if((e&192)!=128){break f}h=e&63|h<<6;j=j-1|0;if(!j){break f}e=f;if(k>>>0>e>>>0){continue}break}}g:{if(h>>>0<=127){if(i>>>0>>0){break g}f=g;break c}break a}t[i|0]=h;i=i+1|0;g=f;if(k>>>0>g>>>0){continue}break}}v[b>>2]=i-a;v[d>>2]=f-c;e=v[b>>2]}return e|0}v[b>>2]=i-a;v[d>>2]=g-c;return-2}v[b>>2]=i-a;v[d>>2]=g-c;return-2}function E8a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=v[a+428>>2];t[d+8|0]=w[b+32|0];c=v[b+36>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+9|0]=c;t[d+10|0]=c>>>8;t[d+11|0]=c>>>16;t[d+12|0]=c>>>24;h=d+8|0;c=w[b+40|0];a:{if(!c){f=5;break a}t[d+13|0]=c;c=v[b+44>>2];if(!(v[b+52>>2]|(c|0)!=1)){f=6;c=1;if(v[b+48>>2]==2147483647){break a}}c=c<<8&16711680|c<<24|(c>>>8&65280|c>>>24);t[d+14|0]=c;t[d+15|0]=c>>>8;t[d+16|0]=c>>>16;t[d+17|0]=c>>>24;c=v[b+48>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+18|0]=c;t[d+19|0]=c>>>8;t[d+20|0]=c>>>16;t[d+21|0]=c>>>24;f=v[b+52>>2];if(!f){f=14;break a}c=d+22|0;f=(f<<2)+14|0;d=v[b+56>>2];while(1){e=v[d>>2];e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);t[c|0]=e;t[c+1|0]=e>>>8;t[c+2|0]=e>>>16;t[c+3|0]=e>>>24;d=d+4|0;c=c+4|0;g=g+1|0;if(g>>>0>2]){continue}break}}return _d(a,v[b>>2],f,h)|0}function u$a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=v[b>>2]+1|0;a:{if(d>>>0>65535){break a}a=v[a+16>>2];i=a+518|0;j=a+6|0;while(1){b:{e=d>>>0>255;c:{d:{e:{if(!e){c=(d<<1&510)+j|0;a=i;if(!(w[c|0]<<8|w[c+1|0])){break e}break d}a=(d>>>7&33554430)+j|0;a=w[a|0]<<8|w[a+1|0]&248;if(!a){break d}a=a+i|0}c=a;a=w[c+1|0]|w[c|0]<<8;g=w[c+3|0]|w[c+2|0]<<8;f=d&255;h=w[c+6|0];k=w[c+7|0];l=w[c+4|0];m=w[c+5|0];if(!e){e=256;if(f>>>0>=a+g>>>0){break c}}h=h<<8|k;if(!h){if((d|0)!=256){break d}break b}e=(d&-256)+(a>>>0>f>>>0?a:f)|0;a=f-a|0;a=a>>>0>f>>>0?0:a;if(g>>>0>a>>>0){f=l<<8|m;d=c+6+(h+(a<<1))|0;while(1){c=w[d+1|0]|w[d|0]<<8;if(c){c=c+f&65535;if(c){break a}}d=d+2|0;e=e+1|0;a=a+1|0;if(g>>>0>a>>>0){continue}break}}d=e-((g|0)!=0)|0}e=d>>>0<256?d+1|0:d+256&-256}d=e;if(d>>>0<65536){continue}}break}e=0;c=0}v[b>>2]=e;return c|0}function Teb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;a:{b:{c:{d:{e:{b=v[v[a+512>>2]+88>>2];switch(w[b+45|0]){case 2:case 6:break c;case 3:break d;case 0:case 4:break e;default:break a}}c=w[b+44|0];if(c>>>0>=9){c=w[b+1155|0];break b}c=B(w[c+190188|0],w[b+1154|0]);break b}b=b+B(w[b+1152|0],3)|0;c=w[b+70|0];d=w[b+69|0];e=w[b+68|0];break a}e=x[b+1156>>1];if(w[b+44|0]>=9){e=(e&65280)>>>8|0;c=w[b+1161|0];d=w[b+1159|0];break a}c=w[b+1160|0];d=w[b+1158|0];break a}d=c;e=d}f=v[a+660>>2];g=v[a+656>>2];b=f-g|0;f:{if((b|0)<1){break f}a=v[a+644>>2];d=e&255|((d&255)<<8|(c&255)<<16);c=f-g&7;if(c){while(1){v[a>>2]=d;b=b-1|0;a=a+4|0;c=c-1|0;if(c){continue}break}}if((g^-1)+f>>>0<7){break f}while(1){v[a+28>>2]=d;v[a+24>>2]=d;v[a+20>>2]=d;v[a+16>>2]=d;v[a+12>>2]=d;v[a+8>>2]=d;v[a+4>>2]=d;v[a>>2]=d;a=a+32|0;c=(b|0)>8;b=b-8|0;if(c){continue}break}}return 0}function wp(a){var b=0,c=0,d=0,e=0,f=0,g=0;o(+a);e=j(1)|0;j(0)|0;b=e;e=b>>>31|0;a:{b:{c:{d:{d=a;e:{f:{b=b&2147483647;g:{if(b>>>0>=1082532651){o(+a);b=j(1)|0;b=b&2147483647;if((b|0)==2146435072&(j(0)|0)!=0|b>>>0>2146435072){return a}if(a>709.782712893384){return a*8.98846567431158e307}if(!(a<-708.3964185322641)|!(a<-745.1332191019411)){break g}break b}if(b>>>0<1071001155){break d}if(b>>>0<1072734898){break f}}a=a*1.4426950408889634+A[(e<<3)+1006448>>3];if(D(a)<2147483648){b=~~a;break e}b=-2147483648;break e}b=!e-e|0}c=+(b|0);a=d+c*-.6931471803691238;f=c*1.9082149292705877e-10;d=a-f;break c}if(b>>>0<=1043333120){break a}b=0;d=a}c=d;g=a;c=c*c;a=d-c*(c*(c*(c*(c*4.1381367970572385e-8+-16533902205465252e-22)+6613756321437934e-20)+-.0027777777777015593)+.16666666666666602);c=g+(d*a/(2-a)-f)+1;if(!b){break b}c=Lk(c,b)}return c}return a+1}function ql(a){var b=0,c=0,d=0,e=0;a:{c=w[a+7|0];if((c|0)!=255){b=v[a>>2];if(b>>>0<134217728){break a}c=c+1|0;t[a+7|0]=c;if((c&255)!=255){break a}v[a>>2]=b&134217727}d=a;b=v[a+8>>2];if((b|0)>=0){c=v[a+20>>2];b:{if((c|0)!=20480){b=v[a+16>>2];e=255;break b}e=a+16|0;b=v[a+12>>2];c=v[b+4>>2];c:{if((c|0)!=v[b+8>>2]){v[c>>2]=v[e>>2];v[b+4>>2]=c+4;break c}q0(b,e)}b=fc(20480);v[a+16>>2]=b;c=0;e=w[a+7|0]}v[a+20>>2]=c+1;t[b+c|0]=e;b=v[a+8>>2]}v[d+8>>2]=b+1;b=v[a>>2];t[a+7|0]=b>>>20;v[a>>2]=b&1048575;t[a+6|0]=7;return}d=v[a+8>>2];if((d|0)>=0){b=v[a+20>>2];d:{if((b|0)!=20480){d=v[a+16>>2];break d}c=a+16|0;b=v[a+12>>2];d=v[b+4>>2];e:{if((d|0)!=v[b+8>>2]){v[d>>2]=v[c>>2];v[b+4>>2]=d+4;break e}q0(b,c)}d=fc(20480);v[a+16>>2]=d;c=w[a+7|0];b=0}v[a+20>>2]=b+1;t[b+d|0]=c;d=v[a+8>>2];b=v[a>>2]}v[a+8>>2]=d+1;t[a+7|0]=b>>>19;v[a>>2]=b&524287;t[a+6|0]=8}function oT(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{c=v[a+4>>2];e=v[(v[a>>2]+(c<<2)|0)-4>>2];b:{if(!e){break b}f=v[e+24>>2]-1|0;v[e+24>>2]=f;if(f){break b}c=v[e>>2];if(c){dc(Dc(c))}c=v[e+4>>2];v[299999]=0;uc(c);c=v[299999];v[299999]=0;if((c|0)==1){break a}c=v[e+12>>2];v[299999]=0;uc(c);c=v[299999];v[299999]=0;if((c|0)==1){break a}dc(e);c=v[a+4>>2]}c:{if((c|0)<2){break c}d=c-2|0;f=c-1&3;d:{if(!f){e=c;break d}while(1){g=v[a>>2];e=c-1|0;v[g+(e<<2)>>2]=v[(g+(c<<2)|0)-8>>2];c=e;f=f-1|0;if(f){continue}break}}if(d>>>0<3){break c}while(1){f=e<<2;c=f-8|0;d=v[a>>2];v[(d+f|0)-4>>2]=v[c+d>>2];d=c;c=v[a>>2];g=d+c|0;d=c;c=f-12|0;v[g>>2]=v[d+c>>2];d=c;c=v[a>>2];h=d+c|0;g=c;c=e-4|0;d=c<<2;v[h>>2]=v[g+d>>2];g=d;d=v[a>>2];v[g+d>>2]=v[(f+d|0)-20>>2];f=(e|0)>5;e=c;if(f){continue}break}}v[v[a>>2]>>2]=b;v[b+24>>2]=v[b+24>>2]+1;return}W(0)|0;O()|0;lc();L()}function ex(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;v[a>>2]=0;d=v[282402];v[a+8>>2]=b;v[a+4>>2]=d;a:{if(!c){break a}v[299999]=0;b=Q(5163,b|0,0)|0;d=v[299999];v[299999]=0;b:{if((d|0)==1){break b}v[299999]=0;Q(4433,a|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}c:{d:{e:{f:{b=v[a>>2];if(!b|!v[b+8>>2]){break f}b=v[b+12>>2];g:{h:{if(!(!b|!w[b|0])){if(!w[c|0]){break g}b=mc(b,c);break h}b=w[c|0]?-1:0}if(!b){break f}}b=v[a+8>>2];v[299999]=0;b=Q(5163,b|0,c|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}c=v[a>>2];if(!c){break e}c=v[c+12>>2];if(!(!c|!w[c|0])){if(!b|!w[b|0]){break a}b=mc(c,b);break d}break e}v[299999]=0;R(4958,a|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}break a}if(!b){break c}b=w[b|0]?-1:0}if(b){break a}}v[299999]=0;R(4958,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}}b=P()|0;O()|0;ec(a);T(b|0);L()}return a|0}function $H(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=Qb-16|0;Qb=c;v[c+12>>2]=b;v[c+8>>2]=a;Qb=c+16|0;b=c+8|0;a=0;a:{if(!b){break a}a=v[b+4>>2];b=v[b>>2];if(!b){b=a;a=a>>31;a=b+a^a;break a}if(!a){a=b>>31;a=a+b^a;break a}c=a>>31;d=c+a^c;c=b>>31;g=d|c+b^c;f=E(g);h=f-2|0;b:{if(g>>>0<=1073741823){a=a<>c;c=b>>c}b=0-c|0;c:{if((a|0)>(c|0)){d=(a|0)>(b|0);c=d?b:0-a|0;b=d?a:b;break c}d=(a|0)<(b|0);b=d?0-a|0:c;c=d?c:a}a=1;d=1;while(1){e=a+c>>d;d:{if((c|0)>=1){c=c-(a+b>>d)|0;b=b+e|0;break d}c=(a+b>>d)+c|0;b=b-e|0}a=a<<1;d=d+1|0;if((d|0)!=23){continue}break}a=b>>31;c=a+b^a;d=c&65535;a=B(d,56281);e=c>>>16|0;c=a+B(e,23318)|0;i=c<<16;d=i+B(d,23318)|0;a=(((B(e,56281)+(c>>>16|0)|0)+((a>>>0>c>>>0)<<16)|0)+(d>>>0>>0)|0)+(d>>>0>3221225471)|0;b=(b|0)<0?0-a|0:a;a=b+(1<>h;if(g>>>0<=536870911){break a}a=b<<2-f}return a}function v1(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;a:{if((c|0)<1){break a}f=c-1|0;i=d-8|0;j=d+7|0;c=0;if((d|0)<=15){k=16-d|0;while(1){g=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);h=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);g=c+d|0;h=h>>>32-g<>>8)&65535)>>>k<<2)+e|0;t[a|0]=w[h|0];t[a+1|0]=w[h+1|0];t[a+2|0]=w[h+2|0];b:{if((g|0)<8){c=g;break b}g=(c+j|0)-((g|0)<15?g:15)|0;c=(c+i|0)-(g&-8)|0;b=b+1+(g>>>3)|0}a=a+3|0;g=(f|0)>0;f=f-1|0;if(g){continue}break}break a}while(1){g=f;f=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);h=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);f=c+d|0;h=h>>>32-f|0;h=(((h<<8|(h&65280)>>>8)&65535)<<2)+e|0;t[a|0]=w[h|0];t[a+1|0]=w[h+1|0];t[a+2|0]=w[h+2|0];c:{if((f|0)>=8){f=(c+j|0)-((f|0)<15?f:15)|0;c=(c+i|0)-(f&-8)|0;b=b+1+(f>>>3)|0;break c}c=f}a=a+3|0;f=g-1|0;if((g|0)>=1){continue}break}}}function Qz(a,b,c){a:{switch(c-1|0){case 0:v[b>>2]=v[a+4>>2];return;case 1:v[b>>2]=v[a+4>>2]+v[a+12>>2];v[b+4>>2]=v[a+8>>2]+v[a+12>>2];return;case 2:v[b>>2]=v[a+4>>2]+(v[a+12>>2]+(v[a+20>>2]+v[a+28>>2]|0)|0);v[b+4>>2]=v[a+8>>2]+(v[a+12>>2]+(v[a+24>>2]+v[a+28>>2]|0)|0);v[b+8>>2]=v[a+16>>2]+(v[a+20>>2]+(v[a+24>>2]+v[a+28>>2]|0)|0);return;default:break a}}v[b>>2]=v[a+4>>2]+(v[a+12>>2]+(v[a+20>>2]+(v[a+28>>2]+(v[a+36>>2]+(v[a+44>>2]+(v[a+52>>2]+v[a+60>>2]|0)|0)|0)|0)|0)|0);v[b+4>>2]=v[a+8>>2]+(v[a+12>>2]+(v[a+24>>2]+(v[a+28>>2]+(v[a+40>>2]+(v[a+44>>2]+(v[a+56>>2]+v[a+60>>2]|0)|0)|0)|0)|0)|0);v[b+8>>2]=v[a+16>>2]+(v[a+20>>2]+(v[a+24>>2]+(v[a+28>>2]+(v[a+48>>2]+(v[a+52>>2]+(v[a+56>>2]+v[a+60>>2]|0)|0)|0)|0)|0)|0);v[b+12>>2]=v[a+32>>2]+(v[a+36>>2]+(v[a+40>>2]+(v[a+44>>2]+(v[a+48>>2]+(v[a+52>>2]+(v[a+56>>2]+v[a+60>>2]|0)|0)|0)|0)|0)|0)}function rJ(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;g=Qb-16|0;Qb=g;e=v[a+408>>2];v[d>>2]=0;if(e){f=e;while(1){h=v[f+20>>2]+h|0;f=v[f>>2];if(f){continue}break}}a:{if(c>>>0<=h>>>0){if(!c){break a}f=v[e+20>>2];if(f>>>0<=c>>>0){while(1){i=gc(b,v[e+16>>2],f);h=v[e+20>>2];v[d>>2]=h+v[d>>2];f=v[e+20>>2];e=v[a+408>>2];b=v[e>>2];v[a+408>>2]=b;if(!b){v[a+412>>2]=0}c=c-f|0;b:{c:{if(!w[e+12|0]){break c}b=v[a+160>>2];if(!b){break c}Ub[b|0](a,v[e+4>>2],v[e+8>>2]);break b}b=v[e+4>>2];if(!b){break b}Ub[v[a+156>>2]](b,v[e+8>>2])}Ub[v[a+156>>2]](e,24);if(!c){break a}b=h+i|0;e=v[a+408>>2];f=v[e+20>>2];if(f>>>0<=c>>>0){continue}break}}gc(b,v[e+16>>2],c);v[e+20>>2]=v[e+20>>2]-c;v[e+16>>2]=v[e+16>>2]+c;v[d>>2]=v[d>>2]+c;break a}v[g+12>>2]=0;if(!(Ub[v[a+172>>2]](a,b,c,g+12|0)|0)){j=901;pc(a,901,0,0);break a}v[d>>2]=v[d>>2]+v[g+12>>2]}Qb=g+16|0;return j}function zW(a,b,c,d){var e=0,f=0,g=0,h=0;f=1;a:{if(v[d>>2]>=1){if(!b|!w[b+17|0]){break a}c=v[b+4>>2];b:{if(c){c=c-1|0;v[b+4>>2]=c;if(c){break b}}if(w[b+16|0]){break b}c=v[v[b+20>>2]+8>>2];if(c){Ub[c|0](b)}c=v[b+8>>2];if(c){ch(c)}_e(b)}return a}if(!a){a=Pg(260);if(!a){v[d>>2]=7;a=0;if(!b|!w[b+17|0]){break a}a=v[b+4>>2];c:{if(a){a=a-1|0;v[b+4>>2]=a;if(a){break c}}if(w[b+16|0]){break c}a=v[v[b+20>>2]+8>>2];if(a){Ub[a|0](b)}a=v[b+8>>2];if(a){ch(a)}_e(b)}return 0}f=0}e=ic(a,0,260);v[e+24>>2]=b;t[e+33|0]=f;v[e+28>>2]=v[c+12>>2];if(!w[c+8|0]){v[e+4>>2]=2737;v[e+180>>2]=-1;v[e>>2]=2738;v[e+44>>2]=v[b+24>>2];f=v[b+12>>2];t[e+60|0]=w[f+71|0];t[e+66|0]=w[f+80|0];g=t[f+76|0];h=e+108|0;v[e+20>>2]=h;t[e+61|0]=g;gc(h,f+72|0,g);v[e+256>>2]=1}b=v[v[b+20>>2]+12>>2];if(!b){break a}Ub[b|0](e,c,d);if(w[c+8|0]|v[d>>2]<1){break a}eq(e);a=0}return a}function h3a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=v[a+16>>2];c=161;a:{if(y[a+20>>2]>>0){break a}f=v[a+32>>2];b:{c:{b=v[b>>2];d=w[b|0];if((d|0)!=255){if((d|0)!=30){break c}b=sh(a,b,0,0)>>16;break b}b=((w[b+3|0]|(w[b+2|0]<<8|w[b+1|0]<<16))<<8)+32768>>16;break b}e=b+1|0;d:{switch(d-28|0){case 0:c=3;if(y[a+8>>2]<=b+2>>>0){break a}b=(w[b+2|0]|w[e|0]<<8)<<16>>16;break b;case 1:c=3;if(y[a+8>>2]<=b+4>>>0){break a}b=w[b+1|0]|w[b+2|0]<<8|(w[b+3|0]<<16|w[b+4|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break b;default:break d}}b=d-139|0;if(d>>>0<=246){break b}b=v[a+8>>2];if(d>>>0<=250){c=3;if(b>>>0<=e>>>0){break a}b=(w[e|0]|d<<8)-63124|0;break b}c=3;if(b>>>0<=e>>>0){break a}b=64148-(w[e|0]|d<<8)|0}c=3;if(b-2>>>0>14){break a}u[f+176>>1]=b;d=(v[a+20>>2]-v[a+16>>2]>>>2|0)-4|0;u[f+178>>1]=d;u[a+38>>1]=d;u[a+36>>1]=b;c=0}return c|0}function fg(a){var b=0,c=0,d=0,e=0,f=0,g=0;f=v[a+4>>2];b=v[a+12>>2];c=v[b>>2];e=v[c>>2];v[a+4>>2]=e;g=v[c+4>>2];v[b>>2]=v[c+(f>>>0>>0?8:12)>>2];c=v[a+8>>2];while(1){a:{if(c){b=v[a>>2];break a}b:{c:{d:{e:{if(!v[a+32>>2]){d=v[a+24>>2];c=v[d+8>>2];if(c&7){break e}b=v[d+64>>2];if(!((b|0)<0|v[d+60>>2]<(b|0))){v[d+8>>2]=c|4;break e}b=v[d+28>>2];v[d+28>>2]=b-1;f:{if((b|0)>=1){v[d+60>>2]=v[d+60>>2]+1;b=v[d+24>>2];v[d+24>>2]=b+1;b=w[b|0];break f}b=Hc(d,1);if((b|0)==-1){break e}}c=w[a+28|0];t[a+28|0]=b;if((c|0)!=255){break d}if((b|0)>=144){break c}b=v[a>>2]+(b<<9)|0;c=7;break a}b=v[a>>2]+65280|0;break b}v[a+32>>2]=1;c=w[a+28|0];b=255;t[a+28|0]=255;if((c|0)==255){break c}}c=8;b=v[a>>2]+(b<<8)|0;break a}b=v[a>>2]+65280|0}c=8}c=c-1|0;v[a+8>>2]=c;v[a>>2]=b<<1;b=v[a+4>>2];v[a+4>>2]=b<<1;if(!(b&16384)){continue}break}return f>>>0>=e>>>0^g}function pz(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=b+c|0;t[g|0]=0;e=(c<<10)+a|0;while(1){f=v[e+(d<<2)>>2];i=f>>>24&127;h=i+b|0;if(w[h|0]==255){pz(a,b,i)}a:{b:{if((f|0)>=0){if(t[h|0]<=-1){break b}break a}if((f&14680064)>>>0<6291456){break a}}if((d|0)==255){t[g|0]=192;return}d=d+1|0;continue}break}e=w[g|0]|d>>>2&1073741816;t[g|0]=e;f=255;k=g;if(d>>>0<=254){i=(c<<10)+a|0;c:{while(1){e=v[i+(f<<2)>>2];h=e>>>24&127;j=h+b|0;if(w[j|0]==255){pz(a,b,h)}d:{if((e|0)>=0){if(t[j|0]<=-1){break d}break c}if((e&14680064)>>>0<6291456){break c}}f=f-1|0;if(f>>>0>d>>>0){continue}break}f=d}e=w[g|0]}t[k|0]=e|f>>>5;if((d|0)<=(f|0)){i=(c<<10)+a|0;while(1){c=d;d=v[i+(d<<2)>>2];h=d>>>24&127;e=h+b|0;if(w[e|0]==255){pz(a,b,h)}e:{if((d|0)>-1){break e}t[e|0]=w[e|0]|64;if(d&12582912){break e}t[g|0]=w[g|0]|64}d=c+1|0;if((c|0)!=(f|0)){continue}break}}}function mK(a,b,c){var d=0,e=0,f=0,g=0;d=Qb-16|0;Qb=d;g=-1;e=dp(a,1800688195);a:{if(!e|v[e+4>>2]!=1668641398){break a}a=jc(152);if(!a){break a}v[a+4>>2]=1028120;v[a+8>>2]=0;v[a+12>>2]=0;ic(a+16|0,0,136);v[a>>2]=1;f=ti();if(!f){break a}if(zl(f,-1,a)){break a}v[a+24>>2]=1;v[a+28>>2]=1;v[a+16>>2]=1;v[a+8>>2]=1;v[a+12>>2]=3;b:{if(!b){v[a+120>>2]=-1353773692;v[a+124>>2]=1072326036;v[a+88>>2]=0;v[a+92>>2]=1072693248;v[a+56>>2]=-178670640;v[a+60>>2]=1072618169;v[a+20>>2]=0;if(!yn(a+32|0,e+12|0)){break b}break a}v[a+120>>2]=1252199824;v[a+124>>2]=1072915827;v[a+88>>2]=0;v[a+92>>2]=1072693248;v[a+56>>2]=-791998740;v[a+60>>2]=1072732180;v[a+20>>2]=1;v[d+8>>2]=0;v[d+12>>2]=0;if(yn(d+8|0,e+12|0)){break a}if(aw(a+32|0,d+8|0,v[d+12>>2])){break a}b=v[d+8>>2];if(b){dc(b);v[d+8>>2]=0}v[d+12>>2]=0}ci(e);jK(a);v[c>>2]=f;g=0}Qb=d+16|0;return g}function VI(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;if(c){e=B(d,48828125)+1|0;v[293268]=e;d=B(e,48828125)+1|0;v[293269]=d;c=B(d,48828125)+1|0;v[293270]=c;f=B(c,97656250);c=c^e;f=(f|c>>>31)+2|0;v[293271]=f;g=c<<1|(d^f)>>>31;v[293272]=g;h=4;c=5;while(1){i=c<<2;j=(d^f)<<1;d=v[(h<<2)+1173064>>2]^g;f=j|d>>>31;v[i+1173072>>2]=f;h=c+1|0;g=d<<1;d=v[i+1173064>>2];g=g|(j^d)>>>31;v[(h<<2)+1173072>>2]=g;c=c+2|0;if((c|0)!=127){continue}break}v[293396]=1;v[293268]=e<<8&16711680|e<<24|(e>>>8&65280|e>>>24);c=1;while(1){e=(c<<2)+1173072|0;d=v[e>>2];v[e>>2]=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);c=c+1|0;v[293396]=c;if((c|0)!=127){continue}break}}if(b){c=v[293396];while(1){e=((c&127)<<2)+1173072|0;d=v[((c+65&127)<<2)+1173072>>2];c=c+1|0;d=d^v[((c&127)<<2)+1173072>>2];v[e>>2]=d;v[a>>2]=d^v[a>>2];a=a+4|0;b=b-1|0;if(b){continue}break}v[293396]=c}}function A0(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;e=Qb-32|0;Qb=e;u[e+28>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],e+28|0,1,2)|0;f=w[e+28|0];if(x[a+25204>>1]==18761){f=f|w[e+29|0]<<8}else{f=w[e+29|0]|f<<8}h=f&65535;if(h){while(1){Ks(a,b,e+24|0,e+20|0,e+16|0,e+12|0);j=v[e+24>>2];if((j|0)==(c|0)){v[e+28>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],e+28|0,1,4)|0;g=w[e+28|0];f=a;i=a;if(x[a+25204>>1]==18761){g=g|w[e+29|0]<<8|w[e+30|0]<<16|w[e+31|0]<<24}else{g=w[e+31|0]|(w[e+29|0]<<16|g<<24|w[e+30|0]<<8)}v[i+26056>>2]=g+b;v[f+26060>>2]=0}h=h-1|0;if((d|0)==(j|0)){v[e+28>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],e+28|0,1,4)|0;g=w[e+28|0];f=a;if(x[a+25204>>1]==18761){i=g|w[e+29|0]<<8|w[e+30|0]<<16|w[e+31|0]<<24}else{i=w[e+31|0]|(w[e+29|0]<<16|g<<24|w[e+30|0]<<8)}v[f+26080>>2]=i}Ub[v[v[a>>2]+8>>2]](v[a+4>>2],v[e+12>>2],0)|0;if(h){continue}break}}Qb=e+32|0}function td(a,b){var c=0,d=0,e=0,f=0;d=Qb-16|0;Qb=d;c=v[a+272>>2];a:{if(c>>>0>=b>>>0){break a}e=v[a+268>>2];yf(a,e,c);kd(a,e,c);b=b-c|0;if(c>>>0>=b>>>0){break a}while(1){e=v[a+268>>2];f=v[a+272>>2];yf(a,e,f);kd(a,e,f);b=b-c|0;if(c>>>0>>0){continue}break}}if(b){c=v[a+268>>2];yf(a,c,b);kd(a,c,b)}b=v[a+204>>2];b:{c:{d:{if(w[a+351|0]&32){v[a+744>>2]=129;yf(a,d+12|0,4);if((b&768)==768){break d}break c}v[a+744>>2]=129;yf(a,d+12|0,4);if(!(b&2048)){break c}}b=0;break b}b=0;c=w[d+12|0]|w[d+13|0]<<8|(w[d+14|0]<<16|w[d+15|0]<<24);if(v[a+384>>2]==(c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))){break b}c=v[a+204>>2];e:{f:{if(w[a+351|0]&32){if(!(c&512)){break f}break e}if(!(c&1024)){break e}}qS(a,12985);b=1;break b}c=Qb-96|0;Qb=c;g:{if(w[a+206|0]&128){BE(v[a+348>>2],c,12985);Gc(a,c);Qb=c+96|0;break g}bu(a,12985);L()}}Qb=d+16|0;return b}function Vbb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=v[a+636>>2]+v[a+616>>2]|0;b=v[a+644>>2];a:{b:{d=v[a+540>>2];if(!d){d=v[v[a+528>>2]+88>>2]}if(w[d+56|0]){if(v[a+588>>2]>0){while(1){if(!e){c=w[g|0];f=7;e=128;g=g+1|0}i=(e&c)>>>f|0;if(i>>>0>=y[d+64>>2]){break b}h=B(i,3)+d|0;t[b|0]=w[h+68|0];t[b+1|0]=w[h+69|0];t[b+2|0]=w[h+70|0];t[b+3|0]=i>>>0>2]?w[(d+i|0)+848|0]:255;f=f-1|0;b=b+4|0;e=(e&254)>>>1|0;j=j+1|0;if((j|0)>2]){continue}break}}t[a+649|0]=0;return 0}if(v[a+588>>2]>0){while(1){if(!e){j=w[g|0];f=7;e=128;g=g+1|0}c=(e&j)>>>f|0;if(c>>>0>=y[d+64>>2]){break a}c=B(c,3)+d|0;t[b|0]=w[c+68|0];t[b+1|0]=w[c+69|0];c=w[c+70|0];t[b+3|0]=255;t[b+2|0]=c;f=f-1|0;b=b+4|0;e=(e&254)>>>1|0;h=h+1|0;if((h|0)>2]){continue}break}}t[a+649|0]=1;return 0}pc(a,1042,0,0);return 1042}pc(a,1042,0,0);return 1042}function Ubb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=v[a+636>>2]+v[a+616>>2]|0;b=v[a+644>>2];a:{b:{d=v[a+540>>2];if(!d){d=v[v[a+528>>2]+88>>2]}if(w[d+56|0]){if(v[a+588>>2]>0){while(1){if(!e){c=w[g|0];f=6;e=192;g=g+1|0}i=(e&c)>>>f|0;if(i>>>0>=y[d+64>>2]){break b}h=B(i,3)+d|0;t[b|0]=w[h+68|0];t[b+1|0]=w[h+69|0];t[b+2|0]=w[h+70|0];t[b+3|0]=i>>>0>2]?w[(d+i|0)+848|0]:255;f=f-2|0;b=b+4|0;e=(e&252)>>>2|0;j=j+1|0;if((j|0)>2]){continue}break}}t[a+649|0]=0;return 0}if(v[a+588>>2]>0){while(1){if(!e){j=w[g|0];f=6;e=192;g=g+1|0}c=(e&j)>>>f|0;if(c>>>0>=y[d+64>>2]){break a}c=B(c,3)+d|0;t[b|0]=w[c+68|0];t[b+1|0]=w[c+69|0];c=w[c+70|0];t[b+3|0]=255;t[b+2|0]=c;f=f-2|0;b=b+4|0;e=(e&252)>>>2|0;h=h+1|0;if((h|0)>2]){continue}break}}t[a+649|0]=1;return 0}pc(a,1042,0,0);return 1042}pc(a,1042,0,0);return 1042}function Tbb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=v[a+636>>2]+v[a+616>>2]|0;b=v[a+644>>2];a:{b:{d=v[a+540>>2];if(!d){d=v[v[a+528>>2]+88>>2]}if(w[d+56|0]){if(v[a+588>>2]>0){while(1){if(!e){c=w[g|0];f=4;e=240;g=g+1|0}i=(e&c)>>>f|0;if(i>>>0>=y[d+64>>2]){break b}h=B(i,3)+d|0;t[b|0]=w[h+68|0];t[b+1|0]=w[h+69|0];t[b+2|0]=w[h+70|0];t[b+3|0]=i>>>0>2]?w[(d+i|0)+848|0]:255;f=f-4|0;b=b+4|0;e=(e&240)>>>4|0;j=j+1|0;if((j|0)>2]){continue}break}}t[a+649|0]=0;return 0}if(v[a+588>>2]>0){while(1){if(!e){j=w[g|0];f=4;e=240;g=g+1|0}c=(e&j)>>>f|0;if(c>>>0>=y[d+64>>2]){break a}c=B(c,3)+d|0;t[b|0]=w[c+68|0];t[b+1|0]=w[c+69|0];c=w[c+70|0];t[b+3|0]=255;t[b+2|0]=c;f=f-4|0;b=b+4|0;e=(e&240)>>>4|0;h=h+1|0;if((h|0)>2]){continue}break}}t[a+649|0]=1;return 0}pc(a,1042,0,0);return 1042}pc(a,1042,0,0);return 1042}function HI(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=v[v[e>>2]+12>>2];i=v[c>>2];k=v[v[f+(i<<2)>>2]+4>>2];e=v[b>>2];j=v[v[(e<<2)+f>>2]+4>>2];g=v[a>>2];l=v[(g<<2)+f>>2];a:{if(j>>>0>=y[l+4>>2]){if(k>>>0>=j>>>0){e=i;break a}v[b>>2]=i;v[c>>2]=e;h=1;g=v[b>>2];i=v[a>>2];if(y[v[(g<<2)+f>>2]+4>>2]>=y[v[(i<<2)+f>>2]+4>>2]){break a}v[a>>2]=g;v[b>>2]=i;e=v[c>>2];h=2;break a}b:{if(k>>>0>>0){v[a>>2]=i;v[c>>2]=g;h=1;break b}v[a>>2]=e;v[b>>2]=g;h=2;e=v[c>>2];if(y[v[(e<<2)+f>>2]+4>>2]>=y[l+4>>2]){h=1;break a}v[b>>2]=e;v[c>>2]=g}e=g}g=v[d>>2];if(y[v[(g<<2)+f>>2]+4>>2]>2]+4>>2]){v[c>>2]=g;v[d>>2]=e;d=v[c>>2];e=v[b>>2];if(y[v[(d<<2)+f>>2]+4>>2]>=y[v[(e<<2)+f>>2]+4>>2]){return h+1|0}v[b>>2]=d;v[c>>2]=e;c=v[b>>2];d=v[a>>2];if(y[v[(c<<2)+f>>2]+4>>2]>=y[v[(d<<2)+f>>2]+4>>2]){return h+2|0}v[a>>2]=c;v[b>>2]=d;h=h+3|0}return h}function KV(a,b){var c=0,d=0,e=0,f=0,g=0;e=-2;a:{if(!a|!v[a+32>>2]){break a}d=v[a+36>>2];if(!d){break a}c=v[a+28>>2];if(!c|v[c>>2]!=(a|0)|v[c+4>>2]-16180>>>0>31){break a}if((b|0)<=-1){b=0-b|0}else{f=(b>>>4|0)+5|0;b=(b|0)<48?b&15:b}if((b&-8)!=8?b:0){break a}g=v[c+56>>2];b:{if(!(v[c+40>>2]!=(b|0)?g:0)){v[c+40>>2]=b;v[c+12>>2]=f;break b}Ub[d|0](v[a+40>>2],g);v[c+56>>2]=0;d=v[a+32>>2];v[c+40>>2]=b;v[c+12>>2]=f;if(!d){break a}}if(!v[a+36>>2]){break a}b=v[a+28>>2];if(!b|v[b>>2]!=(a|0)|v[b+4>>2]-16180>>>0>31){break a}e=0;v[b+52>>2]=0;v[b+44>>2]=0;v[b+48>>2]=0;v[b+32>>2]=0;v[a+8>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;c=v[b+12>>2];if(c){v[a+48>>2]=c&1}v[b+60>>2]=0;v[b+64>>2]=0;v[b+36>>2]=0;v[b+24>>2]=32768;v[b+16>>2]=0;v[b+4>>2]=16180;v[b+8>>2]=0;v[b+7108>>2]=1;v[b+7112>>2]=-1;a=b+1332|0;v[b+112>>2]=a;v[b+84>>2]=a;v[b+80>>2]=a}return e}function Fba(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;i=Qb-32|0;Qb=i;a:{b:{c:{if((b|0)!=(c|0)){j=v[299402];v[299402]=0;g=Qb-16|0;Qb=g;pg();e=Qb-16|0;Qb=e;f=Qb-16|0;Qb=f;LC(f,b,i+28|0,2);k=v[f>>2];h=v[f+4>>2];b=v[f+12>>2];v[e+8>>2]=v[f+8>>2];v[e+12>>2]=b;v[e>>2]=k;v[e+4>>2]=h;Qb=f+16|0;h=v[e>>2];f=v[e+4>>2];b=v[e+12>>2];v[g+8>>2]=v[e+8>>2];v[g+12>>2]=b;v[g>>2]=h;v[g+4>>2]=f;Qb=e+16|0;h=v[g>>2];f=v[g+4>>2];e=v[g+12>>2];b=i;v[b+16>>2]=v[g+8>>2];v[b+20>>2]=e;v[b+8>>2]=h;v[b+12>>2]=f;Qb=g+16|0;h=v[b+16>>2];f=v[b+20>>2];g=v[b+8>>2];e=v[b+12>>2];b=v[299402];if(!b){break c}if(v[i+28>>2]!=(c|0)){break b}l=g;m=e;n=h;o=f;if((b|0)!=68){break a}break b}v[d>>2]=4;break a}v[299402]=j;if(v[i+28>>2]==(c|0)){break a}}v[d>>2]=4;g=l;e=m;h=n;f=o}v[a>>2]=g;v[a+4>>2]=e;v[a+8>>2]=h;v[a+12>>2]=f;Qb=i+32|0}function Ybb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=v[a+636>>2]+v[a+616>>2]|0;c=v[a+644>>2];a:{b:{c:{e=v[a+540>>2];if(!e){e=v[v[a+528>>2]+88>>2]}if(w[e+56|0]){if(v[a+588>>2]>0){break c}break a}e=0;if(v[a+588>>2]>0){break b}f=1;break a}while(1){b=w[d|0]|w[d+1|0]<<8;g=(b<<8|b>>>8)&65535;h=x[e+836>>1];b=(h|0)==(g|0)?0:g;i=b<<8|b>>>8;t[c|0]=i;t[c+1|0]=i>>>8;b=b<<8|b>>>8;t[c+2|0]=b;t[c+3|0]=b>>>8;t[c+4|0]=b;t[c+5|0]=b>>>8;b=(g|0)!=(h|0)?65535:0;b=b<<8|b>>>8;t[c+6|0]=b;t[c+7|0]=b>>>8;d=d+2|0;c=c+8|0;j=j+1|0;if((j|0)>2]){continue}break}break a}while(1){b=w[d|0]|w[d+1|0]<<8;b=(b<<8|b>>>8)&65535;f=b<<8|b>>>8;t[c|0]=f;t[c+1|0]=f>>>8;b=b<<8|b>>>8;t[c+2|0]=b;t[c+3|0]=b>>>8;t[c+4|0]=b;t[c+5|0]=b>>>8;t[c+6|0]=255;t[c+7|0]=255;d=d+2|0;c=c+8|0;f=1;e=e+1|0;if((e|0)>2]){continue}break}}t[a+649|0]=f;return 0}function MZa(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;i=v[a+872>>2];if(!i){return 0}f=v[e+8>>2];a:{b:{if(f){g=v[e>>2];b=v[e+4>>2];break b}f=0;v[e+4>>2]=0;g=x[i+2>>1];if(!g){break a}g=g-1|0;l=v[i+8>>2]+2|0;c:{while(1){k=((g-f|0)/2|0)+f|0;h=B(k,6)+l|0;j=h-2|0;j=w[j|0]<<8|w[j+1|0];d:{if(j>>>0>>0){f=k+1|0;break d}if(b>>>0>=j>>>0){break c}g=k-1|0}if((f|0)<=(g|0)){continue}break}return 0}f=0;b=w[h+2|0]|w[h+3|0]<<8;g=(b<<8|b>>>8)&65535;if(!g){break a}b=w[h+1|0];h=w[h|0];v[e>>2]=g;b=b|h<<8;if(y[i+20>>2]>>0){break a}f=v[i+12>>2]+(b<<2)|0;v[e+8>>2]=f;b=0}if(b>>>0>=g>>>0){return 0}v[e+8>>2]=f+2;v[c>>2]=w[f+1|0]|w[f|0]<<8;v[e+8>>2]=f+4;b=w[f+3|0]|w[f+2|0]<<8;v[d>>2]=b;if(y[c>>2]>=y[a+16>>2]){return 0}if((b|0)!=65535){f=0;if(b>>>0>=x[a+660>>1]){break a}}f=1;v[e+4>>2]=v[e+4>>2]+1}return f|0}function Hxa(a){a=a|0;var b=0,c=0,d=0,e=0;e=Qb-32|0;Qb=e;b=v[a+8>>2];if((b|0)==-1){a:{if(v[a+12>>2]){b=-1;break a}while(1){b=v[a+4>>2];c=Ub[v[v[b>>2]+28>>2]](b)|0;if((c|0)==32|c-9>>>0<5){continue}break}if((c|0)==62){v[a+12>>2]=1;b=-1;break a}while(1){b=v[a+4>>2];d=Ub[v[v[b>>2]+28>>2]](b)|0;if((d|0)==32|d-9>>>0<5){continue}break}if((d|0)==62){v[a+12>>2]=1;d=48}b=(c<<4)-768|0;b:{if(c-48>>>0<=9){break b}b=(c<<4)-880|0;if(c-65>>>0<=5){break b}b=(c<<4)-1392|0;if(c-97>>>0<=5){break b}c:{if((c|0)==-1){v[a+12>>2]=1;break c}b=Ub[v[v[a>>2]+52>>2]](a)|0;v[e+16>>2]=c;kc(1,b,256131,e+16|0)}b=0}c=d-48|0;if(c>>>0<=9){b=b+c|0;break a}if(d-65>>>0<=5){b=(b+d|0)-55|0;break a}if(d-97>>>0<=5){b=(b+d|0)-87|0;break a}if((d|0)==-1){v[a+12>>2]=1;b=0;break a}c=Ub[v[v[a>>2]+52>>2]](a)|0;v[e>>2]=d;kc(1,c,256131,e)}v[a+8>>2]=b}Qb=e+32|0;return b|0}function i9a(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;a:{b:{if(w[a+286|0]|!w[a+285|0]|(w[a+287|0]|w[a+288|0])){break b}if(w[a+289|0]){break b}if(!c){pc(a,1028,0,0);return 1028}i=c+1|0;g=Ub[v[a+152>>2]](i)|0;if(!g){break a}h=gc(g,d,c);g=h;while(1){f=g;g=f+1|0;if(w[f|0]){continue}break}j=h;c:{d:{e:{k=c+h|0;if(k>>>0<=f>>>0){break e}while(1){l=U0(a,j);j=f+1|0;g=j;while(1){f=g;g=f+1|0;if(w[f|0]){continue}break}if(f>>>0>>0?l:0){continue}break}if(l){break e}Ub[v[a+156>>2]](h,i);break d}g=U0(a,j);Ub[v[a+156>>2]](h,i);if(g){break c}}pc(a,1062,0,0);return 1062}f=0;f:{if(!w[a+112|0]){break f}f=Ub[v[b+4>>2]](a,b,e)|0;if(f){break f}v[v[e>>2]+32>>2]=c;b=Ub[v[a+152>>2]](i)|0;v[v[e>>2]+36>>2]=b;b=v[v[e>>2]+36>>2];if(!b){break a}gc(b,d,c);f=0}return f|0}pc(a,1029,0,0);return 1029}pc(a,1,0,0);return 1}function W_a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=a+16|0;if(c>>>0>y[b+160>>2]){Sd(b,8)}d=w[a+12|0]|w[a+13|0]<<8|(w[a+14|0]<<16|w[a+15|0]<<24);g=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);d=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);if(!(!(d>>>0<16|d>>>0>v[b+160>>2]-a>>>0)&(d-16>>>0)/12>>>0>=g>>>0)){Sd(b,8)}if(g){a=0;while(1){d=a;f=w[c+8|0]|w[c+9|0]<<8|(w[c+10|0]<<16|w[c+11|0]<<24);a=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);e=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(a>>>0>>0){Sd(b,8)}if(!(!h|d>>>0>>0)){Sd(b,8)}if(!(v[b+164>>2]<1|y[b+172>>2]>(f<<8&16711680|f<<24|(f>>>8&65280|f>>>24))>>>0)){Sd(b,16)}c=c+12|0;h=h+1|0;if((h|0)!=(g|0)){continue}break}}return 0}function eua(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=a+32|0;a:{if((d|0)==(b|0)){break a}e=w[b+11|0];c=e<<24>>24;if(t[a+43|0]>=0){if((c|0)>=0){c=v[b+4>>2];v[d>>2]=v[b>>2];v[d+4>>2]=c;v[d+8>>2]=v[b+8>>2];break a}Lh(d,v[b>>2],v[b+4>>2]);break a}c=(c|0)<0;wi(d,c?v[b>>2]:b,c?v[b+4>>2]:e)}v[a+44>>2]=0;c=v[a+48>>2];if(c&8){e=w[a+43|0];f=e<<24>>24<0;b=f?v[a+32>>2]:d;v[a+12>>2]=b;v[a+8>>2]=b;b=b+((f?v[a+36>>2]:e)<<2)|0;v[a+44>>2]=b;v[a+16>>2]=b}b:{if(!(c&16)){break b}c=w[a+43|0];b=c<<24>>24<0;c=b?v[a+36>>2]:c;v[a+44>>2]=(b?v[a+32>>2]:d)+(c<<2);QB(d,b?(v[a+40>>2]&2147483647)-1|0:1,0);b=d;d=w[a+43|0];e=d<<24>>24<0;b=e?v[a+32>>2]:b;v[a+24>>2]=b;v[a+20>>2]=b;v[a+28>>2]=((e?v[a+36>>2]:d)<<2)+b;if(!(w[a+48|0]&3)){break b}c:{if((c|0)<=-1){d=c-2147483647|0;c=(d|0)<0;b=c?b-8|0:b-4|0;c=c?1:d;break c}if(!c){break b}}v[a+24>>2]=(c<<2)+b}}function Upa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=Qb-16|0;Qb=d;mx(a+8|0);qx(a+36|0);a:{f=Cj(b);if((f|0)>0){while(1){v[d+8>>2]=0;v[d+12>>2]=v[282402];b:{while(1){c:{c=v[v[b>>2]+8>>2];v[299999]=0;c=Y(c|0,b|0,d+7|0,1)|0;e=v[299999];v[299999]=0;if((e|0)==1){break c}if(!c){break b}c=w[d+7|0];if(!c){break b}v[299999]=0;Q(4584,d+8|0,c<<24>>24)|0;c=v[299999];v[299999]=0;if((c|0)!=1){continue}}break}break a}v[299999]=0;c=S(4551,b|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break a}v[299999]=0;e=S(4548,b|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break a}v[299999]=0;g=S(4548,b|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break a}v[299999]=0;fa(4585,a|0,d+8|0,(c|0)!=0|0,e|0,g|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}c=(f|0)>1;ec(d+8|0);f=f-1|0;if(c){continue}break}}Qb=d+16|0;return}a=P()|0;O()|0;ec(d+8|0);T(a|0);L()}function IHa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=Qb-48|0;Qb=d;v[d+32>>2]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+16>>2]=0;v[d+20>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=0;v[d+4>>2]=0;c=fc(16);v[c>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[d+40>>2]=c;a:{c=v[a+196>>2]+v[a+192>>2]|0;e=v[a+180>>2];f=v[a+184>>2]-e|0;if((c|0)==((f?B(f>>2,93)-1|0:0)|0)){v[299999]=0;R(3089,a+176|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}e=v[a+180>>2];c=v[a+192>>2]+v[a+196>>2]|0}f=e;e=(c>>>0)/93|0;f=v[f+(e<<2)>>2];v[299999]=0;Q(3090,f+B(c-B(e,93)|0,44)|0,d|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}v[a+196>>2]=v[a+196>>2]+1;c=v[d+40>>2];if(c){dc(Sr(c))}c=v[d+24>>2];if(c){v[d+28>>2]=c;dc(c)}c=v[d+12>>2];if(c){dc(c)}c=v[d>>2];if(c){v[d+4>>2]=c;dc(c)}t[a+200|0]=1;Ub[v[v[a>>2]+72>>2]](a,b);Qb=d+48|0;return}a=P()|0;O()|0;uu(d);T(a|0);L()}function VR(a,b,c){var d=0,e=0,f=0;d=Qb+-64|0;Qb=d;v[d+48>>2]=13;v[d+32>>2]=13;v[d+16>>2]=13;v[d>>2]=13;rc(v[b+8>>2],239321,d+48|0,c);if(v[d+48>>2]==5){e=d+48|0;hc(e);rc(v[b+8>>2],321049,e,c)}rc(v[b+8>>2],235696,d+16|0,c);if(v[d+16>>2]==5){e=d+16|0;hc(e);rc(v[b+8>>2],311945,e,c)}e=a;a:{b:{switch(v[d+48>>2]-4|0){case 2:b=0;f=v[d+56>>2];if(v[f+12>>2]<=0){break a}while(1){yc(f,b,d+32|0,c);c:{if(v[d+16>>2]==6){yc(v[d+24>>2],b,d,c);break c}v[d>>2]=5}d:{if(v[d+32>>2]==4){e=UR(a,v[d+40>>2],e,d,c);break d}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,280320,0);f=fc(8);v[f>>2]=968068;v[f+4>>2]=e;e=f}hc(d+32|0);hc(d);b=b+1|0;f=v[d+56>>2];if((b|0)>2]){continue}break};break a;default:kc(1,Ub[v[v[e>>2]+52>>2]](e)|0,257004,0);break a;case 1:break a;case 0:break b}}e=UR(e,v[d+56>>2],e,d+16|0,c)}hc(d+48|0);hc(d+16|0);Qb=d- -64|0;return e}function Bq(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=v[a+572>>2]+v[a+576>>2]|0;v[a+572>>2]=c;a:{b=t[a+568|0];if((b|0)<0|(b|0)>6){break a}while(1){f=v[a+320>>2];if(v[a+580>>2]>2]&(f|0)>(c|0)){break a}d=b+1|0;t[a+568|0]=d;if(b<<24>>24>5){break a}b=d<<24>>24<<2;v[a+584>>2]=v[b+190304>>2];e=v[b+190272>>2];v[a+580>>2]=e;v[a+576>>2]=v[b+190240>>2];g=v[b+190208>>2];v[a+572>>2]=g;h=v[a+316>>2];c=v[b+190336>>2]+(h-e|0)>>>v[b+190368>>2]|0;v[a+588>>2]=c;b=v[a+592>>2];b:{if((b|0)>=2){c=B(b,c);break b}b=v[a+600>>2];if((b|0)<1){break b}c=v[a+596>>2]+c>>b}v[a+604>>2]=c;if((f|0)<=(g|0)){b=d;c=v[a+572>>2];continue}if((e|0)>=(h|0)){b=d;c=v[a+572>>2];continue}b=d;if((c|0)>=1){c=v[a+640>>2];b=0;while(1){t[c|0]=0;c=c+1|0;b=b+1|0;if((b|0)>2]){continue}break}b=t[a+568|0];if((b|0)>6){break a}}c=v[a+572>>2];continue}}return 0}function Rj(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=6;a:{if(!a|!c){break a}g=v[c>>2];if(!g){break a}h=v[g+100>>2];i=v[a>>2];b:{c:{if((i|0)<=0){if(!i){break c}break b}e=Ub[v[h+4>>2]](h,i)|0;if(!e){e=64;break b}f=ic(e,0,i)}e=v[c+4>>2];v[f>>2]=v[c>>2];v[f+4>>2]=e;v[f+8>>2]=v[c+8>>2];v[f+12>>2]=a;d:{a=v[a+4>>2];if(a){e=Ub[a|0](f,b)|0;if(e){break d}}a=v[g+36>>2];if((a|0)<0){e=6;break d}e=10;if((a|0)>536870910){break d}b=a+1|0;e:{if(!a){c=Ub[v[h+4>>2]](h,b<<2)|0;e=!c<<6;break e}c=v[g+40>>2];b=Ub[v[h+12>>2]](h,a<<2,b<<2,c)|0;c=b?b:c;e=!b<<6}f:{if(!(e|!c)){a=(a<<2)+c|0;t[a|0]=0;t[a+1|0]=0;t[a+2|0]=0;t[a+3|0]=0;v[g+40>>2]=c;break f}v[g+40>>2]=c;if(e){break d}}a=v[g+36>>2];v[g+36>>2]=a+1;v[(a<<2)+c>>2]=f;e=0;break b}a=v[v[f>>2]+100>>2];b=v[v[f+12>>2]+8>>2];if(b){Ub[b|0](f)}Ub[v[a+8>>2]](a,f);f=0}if(!d){break a}v[d>>2]=f}return e}function wZ(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;b=v[a+28>>2];a:{if((b|0)==-1){break a}e=v[a+36>>2];h=v[a+40>>2];if(e>>>0>=h>>>0){break a}j=v[a>>2];d=b+1|0;k=v[a+16>>2]+20|0;while(1){b:{c=B(e,12)+k|0;b=c-4|0;b=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);f=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);d=d>>>0>>0?f:d;b=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);g=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if(d>>>0>g>>>0){break b}b=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);i=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=g+1|0;c:{while(1){c=d-f|0;if((c^-1)>>>0>>0){break b}c=c+i|0;if(c){break c}if((d|0)==-1){break a}c=(d|0)==(g|0);d=d+1|0;if(!c){continue}break}d=b;break b}if(c>>>0>=y[j+16>>2]){break b}v[a+36>>2]=e;v[a+32>>2]=c;v[a+28>>2]=d;return}e=e+1|0;if((h|0)!=(e|0)){continue}break}}t[a+24|0]=0}function YC(a,b){var c=0,d=0,e=0;a:{if(w[b|0]){break a}b=ei(320468);if(w[b|0]?b:0){break a}b=ei(B(a,12)+1006160|0);if(w[b|0]?b:0){break a}b=ei(320909);if(w[b|0]?b:0){break a}b=323821}b:{while(1){e=w[b+c|0];if(!(!e|(e|0)==47)){e=15;c=c+1|0;if((c|0)!=15){continue}break b}break}e=c}d=323821;c:{d:{c=w[b|0];e:{f:{if(!(w[b+e|0]|(c|0)==46)){d=b;if((c|0)!=67){break f}}if(!w[d+1|0]){break e}}if(!mc(d,323821)){break e}if(mc(d,309195)){break d}}if(!a){c=1005716;if(w[d+1|0]==46){break c}}return 0}c=v[299421];if(c){while(1){if(!mc(d,c+8|0)){break c}c=v[c+24>>2];if(c){continue}break}}c=v[299421];if(c){while(1){if(!mc(d,c+8|0)){return c}c=v[c+24>>2];if(c){continue}break}}c=jc(28);g:{if(!c){c=0;break g}b=v[251430];v[c>>2]=v[251429];v[c+4>>2]=b;b=c+8|0;gc(b,d,e);t[b+e|0]=0;v[c+24>>2]=v[299421];v[299421]=c}c=a|c?c:1005716}return c}function Jn(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;k=Qb-16|0;Qb=k;t[k+15|0]=a;a:{b:{c:{if(v[d>>2]!=(c|0)){break c}l=43;m=a&255;if((m|0)!=w[j+24|0]){l=45;if(w[j+25|0]!=(m|0)){break c}}v[d>>2]=c+1;t[c|0]=l;break b}if(w[g+11|0]>>>7|0){g=v[g+4>>2]}else{g=w[g+11|0]}if(!(!g|(a|0)!=(f|0))){a=0;b=v[i>>2];if((b-h|0)>159){break a}a=v[e>>2];v[i>>2]=b+4;v[b>>2]=a;break b}a=-1;f=kC(j,j+26|0,k+15|0)-j|0;if((f|0)>23){break a}d:{e:{switch(b-8|0){case 0:case 2:if((b|0)>(f|0)){break d}break a;case 1:break d;default:break e}}if((b|0)!=16|(f|0)<22){break d}b=v[d>>2];if((b|0)==(c|0)|(b-c|0)>2|w[b-1|0]!=48){break a}a=0;v[e>>2]=0;v[d>>2]=b+1;t[b|0]=w[f+1016064|0];break a}a=v[d>>2];v[d>>2]=a+1;t[a|0]=w[f+1016064|0];v[e>>2]=v[e>>2]+1;a=0;break a}a=0;v[e>>2]=0}Qb=k+16|0;return a|0}function In(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;k=Qb-16|0;Qb=k;v[k+12>>2]=a;a:{b:{c:{if(v[d>>2]!=(c|0)){break c}l=43;if(v[j+96>>2]!=(a|0)){l=45;if(v[j+100>>2]!=(a|0)){break c}}v[d>>2]=c+1;t[c|0]=l;break b}if(w[g+11|0]>>>7|0){g=v[g+4>>2]}else{g=w[g+11|0]}if(!(!g|(a|0)!=(f|0))){a=0;b=v[i>>2];if((b-h|0)>159){break a}a=v[e>>2];v[i>>2]=b+4;v[b>>2]=a;break b}a=-1;g=gC(j,j+104|0,k+12|0)-j|0;if((g|0)>92){break a}f=g>>2;d:{e:{switch(b-8|0){case 0:case 2:if((b|0)>(f|0)){break d}break a;case 1:break d;default:break e}}if((b|0)!=16|(g|0)<88){break d}b=v[d>>2];if((b|0)==(c|0)|(b-c|0)>2|w[b-1|0]!=48){break a}a=0;v[e>>2]=0;v[d>>2]=b+1;t[b|0]=w[f+1016064|0];break a}a=v[d>>2];v[d>>2]=a+1;t[a|0]=w[f+1016064|0];v[e>>2]=v[e>>2]+1;a=0;break a}a=0;v[e>>2]=0}Qb=k+16|0;return a|0}function Z1(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;if(v[a+4>>2]==16){e=v[v[a+44>>2]+88>>2]+B(v[a+8>>2],1876)|0}else{e=v[a+36>>2]}h=v[e+1872>>2];f=h+B(b,1076)|0;g=v[a+52>>2];a=Ub[v[v[g>>2]+20>>2]](g,1)|0;v[f+804>>2]=a>>5;d=a&31;v[f+24>>2]=d;e=d;a:{b:{c:{d:{switch(d|0){case 0:e=c-1|0;break c;case 1:break b;default:break d}}e=(c-1|0)/2|0}if((e|0)<1){break a}}a=0;while(1){c=v[v[g>>2]+20>>2];e:{if(!d){d=Ub[c|0](g,1)>>>3|0;c=0;break e}d=Ub[c|0](g,2)|0;c=d&2047;d=d>>11}i=(a<<3)+f|0;v[i+32>>2]=c;v[i+28>>2]=d;d=v[f+24>>2];a=a+1|0;if((e|0)!=(a|0)){continue}break}}a=1;if((d|0)==1){c=h+B(b,1076)|0;e=v[c+28>>2];d=v[c+32>>2];while(1){b=c+(a<<3)|0;v[b+32>>2]=d;v[b+40>>2]=d;g=a<<24;f=e+((g>>24)/-3<<24>>24)|0;v[b+36>>2]=(f|0)>0?f:0;f=b;b=e+((g-16777216>>24)/-3<<24>>24)|0;v[f+28>>2]=(b|0)>0?b:0;a=a+2|0;if((a|0)!=97){continue}break}}}function hPa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:{b:{c:{c=v[a>>2];f=(v[a+4>>2]-c|0)/12|0;d=f+1|0;if(d>>>0<357913942){c=(v[a+8>>2]-c|0)/12|0;g=c<<1;c=c>>>0<178956970?d>>>0>g>>>0?d:g:357913941;if(c){if(c>>>0>=357913942){break c}e=fc(B(c,12))}d=B(f,12)+e|0;f=v[b+4>>2];v[d>>2]=v[b>>2];v[d+4>>2]=f;v[d+8>>2]=v[b+8>>2];v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;e=B(c,12)+e|0;f=d+12|0;b=v[a+4>>2];c=v[a>>2];if((b|0)==(c|0)){break b}while(1){b=b-12|0;g=v[b+4>>2];d=d-12|0;v[d>>2]=v[b>>2];v[d+4>>2]=g;v[d+8>>2]=v[b+8>>2];v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;if((b|0)!=(c|0)){continue}break}v[a+8>>2]=e;e=v[a+4>>2];v[a+4>>2]=f;c=v[a>>2];v[a>>2]=d;if((c|0)==(e|0)){break a}while(1){a=e-12|0;if(t[e-1|0]<=-1){dc(v[a>>2])}e=a;if((a|0)!=(c|0)){continue}break}break a}ue(a);L()}cf(274079);L()}v[a+8>>2]=e;v[a+4>>2]=f;v[a>>2]=d}if(c){dc(c)}}function X8a(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;a:{b:{c:{h=a;f=1029;d:{if(!w[a+285|0]|!w[a+288|0]){break d}g=(c>>>0)/5|0;f=1028;if(c-B(g,5)|c>>>0<5){break d}if(!w[a+112|0]){break b}b=Ub[v[b+4>>2]](a,b,e)|0;if(b){break a}v[v[e>>2]+32>>2]=g;b=Ub[v[a+152>>2]](c)|0;if(b){break c}f=1}b=f;pc(h,b,0,0);return b|0}v[v[e>>2]+36>>2]=b;if(c-5>>>0>=5){c=g&1073741822;while(1){a=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);v[b>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);t[b+4|0]=w[d+4|0];a=w[d+5|0]|w[d+6|0]<<8|(w[d+7|0]<<16|w[d+8|0]<<24);v[b+8>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);t[b+12|0]=w[d+9|0];b=b+16|0;d=d+10|0;c=c-2|0;if(c){continue}break}}if(!(g&1)){break b}a=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);v[b>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);t[b+4|0]=w[d+4|0]}b=0}return b|0}function wD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;a:{b:{if((c|0)<1){break b}c=c-1|0;if(!d){while(1){c:{Vn(a,b);d=a;e=v[b+24>>2];if(e){v[299999]=0;v[e+4>>2]=v[e+4>>2]+1;e=v[299999];v[299999]=0;if((e|0)==1){break c}e=v[b+24>>2]}else{e=0}v[d+24>>2]=e;b=b+28|0;a=a+28|0;d=(c|0)>0;c=c-1|0;if(d){continue}break b}break}break a}while(1){d=c;Vn(a,b);c=a;e=v[b+24>>2];if(e){v[299999]=0;v[e+4>>2]=v[e+4>>2]+1;e=v[299999];v[299999]=0;if((e|0)==1){break a}e=v[b+24>>2]}else{e=0}v[c+24>>2]=e;c=v[b+24>>2];v[b+24>>2]=0;d:{if(!c){break d}v[299999]=0;e=v[c+4>>2]-1|0;v[c+4>>2]=e;f=v[299999];v[299999]=0;if((f|0)!=1){if(e){break d}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)!=1){break d}}W(0)|0;O()|0;lc();L()}ec(b+16|0);c=d-1|0;b=b+28|0;a=a+28|0;if((d|0)>0){continue}break}}return}b=P()|0;O()|0;ec(a+16|0);T(b|0);L()}function vV(a,b,c,d,e){var f=0;e=b?B(w[a|0],30)+e|0:e+1740|0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{if((d|0)>=11){f=d-11|0;d=(d-b|0)-2|0;e=w[((d|0)<0?f:d)+c|0]+e|0;d=10;if((b|0)>9){break k}}switch(b-1|0){case 6:break h;case 7:break i;case 8:break j;case 9:break k;case 0:break b;case 1:break c;case 2:break d;case 3:break e;case 4:break f;case 5:break g;default:break a}}e=w[a+9|0]+e|0;b=10}e=w[a+8|0]+e|0}e=w[a+7|0]+e|0}e=w[a+6|0]+e|0}e=w[a+5|0]+e|0}e=w[a+4|0]+e|0}e=w[a+3|0]+e|0}e=w[a+2|0]+e|0}e=w[a+1|0]+e|0}e=w[a|0]+e|0}a=d-b|0;b=(a|0)>0;e=b?e+58|0:e;l:{switch(a+(b^-1)|0){case 9:e=w[c+9|0]+e|0;case 8:e=w[c+8|0]+e|0;case 7:e=w[c+7|0]+e|0;case 6:e=w[c+6|0]+e|0;case 5:e=w[c+5|0]+e|0;case 4:e=w[c+4|0]+e|0;case 3:e=w[c+3|0]+e|0;case 2:e=w[c+2|0]+e|0;case 1:e=w[c+1|0]+e|0;case 0:e=w[c|0]+e|0;break;default:break l}}return e}function kQ(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;f=Qb-48|0;Qb=f;g=c-1>>>0<204799?c:204800;d=c?c>>>0>>0?c:g:g;k=Bg(f+8|0,f+20|0,g,1);a:{b:{c:{d:{while(1){e=v[v[b>>2]+8>>2];v[299999]=0;d=Y(e|0,b|0,v[f+20>>2],d|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break b}if(d){j=v[f+20>>2];e=d;while(1){h=v[v[a>>2]+12>>2];v[299999]=0;h=Y(h|0,a|0,j|0,e|0)|0;l=v[299999];v[299999]=0;if((l|0)==1){d=P()|0;O()|0;break a}if(!h){v[299999]=0;a=aa(4369,f+24|0,237882,241835,474,338919,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break c}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break d}d=P()|0;O()|0;qc(a);break a}j=h+j|0;e=e-h|0;if(e){continue}break}i=d+i|0;d=c?g+i>>>0>c>>>0?c-i|0:g:g;if(d){continue}}break}Lc(k);Qb=f+48|0;return i|0}L()}d=P()|0;O()|0;break a}d=P()|0;O()|0}Lc(k);T(d|0);L()}function _9a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(v[a+588>>2]>=1){b=v[v[a+536>>2]+88>>2];b=(v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0;e=v[a+644>>2];while(1){d=w[e+3|0];a:{if(!d){break a}c=w[b+3|0];if((c|0)==255){break a}b:{if((d|0)==255){g=255;d=c^255;f=(B(c,w[b|0])+B(d,w[e|0])|0)+128|0;t[b|0]=(f>>>8&255)+f>>>8;f=(B(c,w[b+1|0])+B(d,w[e+1|0])|0)+128|0;t[b+1|0]=(f>>>8&255)+f>>>8;c=(B(c,w[b+2|0])+B(d,w[e+2|0])|0)+128|0;t[b+2|0]=(c>>>8&255)+c>>>8;break b}f=w[e|0];k=w[e+1|0];h=c^255;g=B(h,d^255)>>>8^-1;i=g&255;c=(c<<8>>>0)/(i>>>0)|0;d=(B(d,h)>>>0)/(i>>>0)|0;t[b+2|0]=(B(c,w[b+2|0])+B(d,w[e+2|0])|0)+127>>>8;t[b+1|0]=(B(c,w[b+1|0])+B(d,k)|0)+127>>>8;t[b|0]=(B(c,w[b|0])+B(d,f)|0)+127>>>8}t[b+3|0]=g}e=e+4|0;b=b+4|0;j=j+1|0;if((j|0)>2]){continue}break}}return 0}function M4(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=Qb-48|0;Qb=h;d=1;a:{if((c|0)<1){break a}d=v[a+604>>2];f=v[a+608>>2];while(1){g=f;b:{c:{d:{e:{while(1){i=d;j=g;if((g|0)<1){break d}g=j-1|0;d=i+1|0;e=w[i|0];k=e<<24>>24;if((k|0)>-1){break e}if((k|0)==-128){continue}break}e=1-k|0;if((e|0)<=(c|0)){f=j-2|0;g=i+2|0;break c}g=v[a>>2];f=v[a+628>>2];v[h>>2]=e-c;Ld(f,g,1823,h);f=j-2|0;g=i+2|0;e=c;if((e|0)>=1){break c}break b}f=b;i=d;if((c|0)<=(e|0)){j=v[a>>2];k=v[a+628>>2];v[h+16>>2]=(e-c|0)+1;Ld(k,j,1823,h+16|0);e=c-1|0}e=e+1|0;oe(f,i,e);f=g-e|0;b=b+e|0;g=d+e|0;break b}v[a+604>>2]=i;v[a+608>>2]=f>>31&f;b=v[a+628>>2];c=v[a>>2];v[h+32>>2]=v[a+472>>2];zc(b,c,5914,h+32|0);d=0;break a}b=ic(b,w[d|0],e)+e|0}d=g;c=c-e|0;if((c|0)>0){continue}break}v[a+608>>2]=f;v[a+604>>2]=d;d=1}Qb=h+48|0;return d|0}function qH(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=Qb-16|0;Qb=g;i=v[a+28>>2];v[g+12>>2]=0;a:{if(b>>>0>>0){break a}b=0;f=Cc(i,4,0,c,0,g+12|0);if(!v[g+12>>2]){while(1){if(b>>>0>=c>>>0){break a}d=v[a+32>>2];if(d>>>0>2]){v[a+32>>2]=d+1;e=t[d|0]}else{e=0}d=e<<24>>24;h=d&63;e=0;b:{if(d&128){while(1){v[(b<<2)+f>>2]=0;d=e+1|0;b=b+1|0;if(e>>>0>=h>>>0){break b}e=d;if(b>>>0>>0){continue}break b}}if(d&64){while(1){k=(b<<2)+f|0,l=He(a)<<16,v[k>>2]=l;d=e+1|0;b=b+1|0;if(e>>>0>=h>>>0){break b}e=d;if(b>>>0>>0){continue}break b}}while(1){j=(b<<2)+f|0;d=v[a+32>>2];if(d>>>0>2]){v[a+32>>2]=d+1;d=t[d|0]}else{d=0}v[j>>2]=d<<24>>24<<16;d=e+1|0;b=b+1|0;if(e>>>0>=h>>>0){break b}e=d;if(b>>>0>>0){continue}break}}if(d>>>0>h>>>0){continue}break}b=i;a=f;if(a){Ub[v[b+8>>2]](b,a)}}f=0}Qb=g+16|0;return f}function AM(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;h=Qb-1040|0;Qb=h;i=v[b>>2];v[h+12>>2]=i;g=a?d:256;j=a?a:h+16|0;d=0;a:{b:{c:{if(!i|!g){break c}f=c>>>2|0;k=g>>>0<=f>>>0;if(f>>>0>>0&c>>>0<=131){break b}while(1){f=k?g:f;c=c-f|0;f=pC(j,h+12|0,f,e);if((f|0)==-1){g=0;i=v[h+12>>2];d=-1;break c}i=(h+16|0)==(j|0)?0:f;g=g-i|0;j=(i<<2)+j|0;d=d+f|0;i=v[h+12>>2];if(!i|!g){break c}f=c>>>2|0;k=g>>>0<=f>>>0;if(c>>>0>131|f>>>0>=g>>>0){continue}break}break b}if(!i){break a}}if(!g|!c){break a}f=d;while(1){d:{d=ot(j,i,c,e);e:{if(d+2>>>0<=2){f:{switch(d+1|0){case 1:v[h+12>>2]=0;break e;case 0:break a;default:break f}}v[e>>2]=0;break e}i=v[h+12>>2]+d|0;v[h+12>>2]=i;f=f+1|0;g=g-1|0;if(g){break d}}d=f;break a}j=j+4|0;c=c-d|0;d=f;if(c){continue}break}}if(a){v[b>>2]=v[h+12>>2]}Qb=h+1040|0;return d|0}function hUa(a,b,c,d,e,f){a=a|0;b=b|0;c=+c;d=+d;e=+e;f=+f;var g=0,h=0,i=0,j=0,k=0,l=0;g=Qb-32|0;Qb=g;j=A[v[a+16>>2]+24>>3];A[g+24>>3]=d;A[g+16>>3]=c;A[g+8>>3]=e;A[g>>3]=c;h=Ub[v[v[a>>2]+508>>2]](a)|0;ke(h,g+24|0,g+16|0);ke(h,g+8|0,g);c=j*f/25.4+.5;a:{if(D(c)<2147483648){k=~~c;break a}k=-2147483648}c=A[g+8>>3];b:{if(D(c)<2147483648){i=~~c;break b}i=-2147483648}c=A[g+24>>3];c:{if(D(c)<2147483648){h=~~c;break c}h=-2147483648}if(!b){j=+(i+1|0);f=A[g+16>>3];b=v[v[a+20>>2]+4>>2];t[b+25|0]=0;v[b+20>>2]=0;v[b>>2]=0;b=v[a+20>>2];e=+(h|0);l=e;d=+((k?k:1)|0);c=d*.5;if(D(f)<2147483648){i=~~f}else{i=-2147483648}c=c+(+(i|0)+.5)+-.5-d;tj(b,l,c);im(v[a+20>>2],j,c);Ub[v[v[a>>2]+532>>2]](a);b=v[v[a+20>>2]+4>>2];t[b+25|0]=0;v[b+20>>2]=0;v[b>>2]=0;c=d+d+c;tj(v[a+20>>2],e,c);im(v[a+20>>2],j,c);Ub[v[v[a>>2]+532>>2]](a)}Qb=g+32|0}function pS(a){a=a|0;var b=0;v[a>>2]=936792;v[299999]=0;R(3696,a|0);b=v[299999];v[299999]=0;a:{if((b|0)==1){break a}v[299999]=0;R(3098,a+8|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+76>>2];if(b){dc(uS(b))}b=v[a+80>>2];if(b){dc(Vc(b))}b=v[a+84>>2];if(b){dc(Vc(b))}b=v[a+88>>2];if(b){dc(Vc(b))}b=v[a+92>>2];if(b){dc(Vc(b))}b=v[a+96>>2];if(b){dc(Vc(b))}b=v[a+100>>2];if(b){dc(Vc(b))}b=v[a+104>>2];if(b){dc(Vc(b))}b=v[a+108>>2];if(b){dc(Vc(b))}b=v[a+112>>2];if(b){dc(Vc(b))}b=v[a+116>>2];if(b){dc(Vc(b))}b=v[a+120>>2];if(b){dc(Vc(b))}b=v[a+124>>2];if(b){dc(Vc(b))}b=v[a+128>>2];if(b){dc(Vc(b))}b=v[a+132>>2];if(b){dc(Vc(b))}b=v[a+136>>2];if(b){dc(Vc(b))}b=v[a+140>>2];if(b){dc(Vc(b))}b=v[a+144>>2];if(b){dc(b)}b=v[a+148>>2];if(b){dc(b)}b=v[a+4>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}return a|0}W(0)|0;O()|0;lc();L()}function jla(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=Qb-48|0;Qb=d;c=v[b>>2];e=a+8|0;Dt(e);f=e;e=wr(c);f=kr(f,e);g=Ub[v[v[c>>2]+8>>2]](c,f,e)|0;t[g+f|0]=0;a:{if((e|0)>(g|0)){a=vc(d+24|0,262352,240926,364,344695,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}b=P()|0;O()|0;qc(a);T(b|0);L()}if((Ub[v[v[c>>2]+8>>2]](c,d+23|0,1)|0)==1){c=w[d+23|0];if((c|0)!=1){b=Ct(d,c);v[299999]=0;U(4423,d+8|0,357755,b|0);a=v[299999];v[299999]=0;b:{c:{d:{if((a|0)!=1){a=v[d+8>>2];a=v[(a?a+12|0:1129608)>>2];v[299999]=0;c=aa(4369,d+24|0,a|0,240926,370,344695,0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break d}v[299999]=0;R(4370,c|0);a=v[299999];v[299999]=0;if((a|0)!=1){break a}a=P()|0;O()|0;qc(c);break c}a=P()|0;O()|0;break b}a=P()|0;O()|0}ec(d+8|0)}ec(b);T(a|0);L()}TO(a+16|0,b,e,0,0)}Qb=d+48|0;return}L()}function e_(a,b){var c=0,d=0,e=0,f=0,g=0;d=Qb-16|0;Qb=d;c=v[a>>2];v[d+12>>2]=c;a:{b:{if(b>>>0<=c>>>0){break b}while(1){g=0;c:{d:{e:{f:{g:{e=w[c|0];switch(e-37|0){case 1:case 2:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:break c;case 0:break d;case 23:break e;case 3:break f;default:break g}}h:{switch(e-123|0){case 0:f=f+1|0;break c;case 2:break h;default:break c}}f=f-1|0;if(f){break c}c=c+1|0;break b}g=IH(d+12|0,b);break c}g=d_(d+12|0,b);break c}e=37;while(1){i:{j:{switch(e-10|0){default:c=c+1|0;if((c|0)!=(b|0)){break i}c=b;break;case 0:case 3:break j}}v[d+12>>2]=c;break c}e=w[c|0];continue}}c=v[d+12>>2]+1|0;v[d+12>>2]=c;if(g?0:b>>>0>c>>>0){continue}break}b=3;if(f){break a}}b=g}v[a>>2]=c;Qb=d+16|0;return b}function bLa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=-1;h=v[b>>2];c=w[b+11|0];g=c<<24>>24<0;i=g?v[b+4>>2]:c;c=i+1|0;f=fc(c);j=fc((c|0)!=(c&1073741823)?-1:c<<2);c=0;g=g?h:b;if(w[g|0]==47){t[f|0]=47;c=1}a:{b:{c:{d:{e:{if((i|0)>0){f:while(1){b=d;while(1){g:{h=w[b+g|0];if((h|0)==47){h:{if((b|0)<=(d|0)){break h}i:{if((b-d|0)!=2){break i}d=d+g|0;if(w[d|0]!=46|w[d+1|0]!=46|(e|0)<1){break i}e=e-1|0;c=v[(e<<2)+j>>2];break h}t[c+f|0]=47;e=e+1|0;c=c+1|0;v[(e<<2)+j>>2]=c}d=b+1|0;if((i|0)>(d|0)){continue f}break g}t[c+f|0]=h;c=c+1|0;b=b+1|0;if((i|0)>(b|0)){continue}}break}break}t[c+f|0]=0;if(c>>>0>=4294967280){break c}if(c>>>0<11){break e}d=c+16&-16;b=fc(d);v[a+8>>2]=d|-2147483648;v[a>>2]=b;v[a+4>>2]=c;break d}t[c+f|0]=0}t[a+11|0]=c;if(!c){break b}b=a}gc(b,f,c);break a}$d(a);L()}c=0;b=a}t[b+c|0]=0;dc(f)}function y_(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=Qb-16|0;Qb=g;a:{if(!a){d=37;break a}d=6;if(!b){break a}f=v[a>>2];if(!f){break a}b:{h=v[f>>2];c=v[a+72>>2];e=380680;c:{if((c|0)==1651078259){break c}e=380712;if((c|0)==1869968492){break c}d:{e:{if(!f){break e}d=v[f+148>>2];if(!d){break e}while(1){e=v[d+8>>2];if((c|0)==v[e+16>>2]){break d}d=v[d+4>>2];if(d){continue}break}}e=0}if(!e){break b}e=e+20|0}c=Fd(h,v[e>>2],g+12|0);d=v[g+12>>2];if(d){break a}v[c+4>>2]=e;v[c>>2]=f;v[c+8>>2]=v[e+4>>2];d=6;f:{f=v[a+64>>2];g:{if(f+2097151>>>0>4194302){break g}h=v[a+68>>2];if(h+2097151>>>0>4194302){break g}v[c+16>>2]=h<<10;v[c+12>>2]=f<<10;d=Ub[v[e+8>>2]](c,a)|0;if(!d){break f}e=v[c+4>>2]}a=v[v[c>>2]>>2];b=v[e+12>>2];if(b){Ub[b|0](c)}if(c){Ub[v[a+8>>2]](a,c)}break a}v[b>>2]=c;d=0;break a}d=18}Qb=g+16|0;return d|0}function w$(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;n=v[a+2744>>2]&4;f=64;a:{if(n){break a}i=1;f=(e|0)==1?55:49;if(!(!(t[b+12|0]&1)|!(t[c+12|0]&1))){break a}f=(e|0)==1?61:59}l=v[c+4>>2];m=v[b+4>>2];k=qA(a,e,l-m|0);a=(((l+m|0)/2|0)+d|0)+((k|0)/-2|0)|0;d=a&63;b:{if(!d){break b}h=a+k&63;if(!h){break b}g=64-d|0;if((f|0)>=(k|0)){if((h|0)>=(k|0)){break b}j=g>>>0>h>>>0?0-h|0:g;break b}if(i){if(f>>>0<=g>>>0|d>>>0>=f>>>0|(f>>>0<=h>>>0|f>>>0<=64-h>>>0)){break b}}i=k&63;c:{if(i>>>0<=31){if(g>>>0<=i>>>0){break b}if(h>>>0>i>>>0){break c}break b}i=64-f|0}e=g-i|0;d=f-g|0;g=(d|0)>(e|0)?e:0-d|0;j=g>>31;e=f-h|0;d=h-i|0;e=(d|0)>(e|0)?e:0-d|0;d=e>>31;j=(j^g+j)>>>0>(d^d+e)>>>0?e:g}d=j;d:{if(n){break d}d=14;if((j|0)>14){break d}d=(j|0)>-14?j:-14}f=d+a|0;e=f+k|0;a=(l|0)>(m|0);v[b+8>>2]=a?f:e;v[c+8>>2]=a?e:f;return d}function _U(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=(a|0)!=(b|0);a:{if(!a|(a|0)==(b|0)){break a}b:{if(c){while(1){f=-1;c:{d:{switch(v[a+4>>2]-1|0){case 4:case 5:case 16:break b;case 0:break d;default:break c}}e=v[a+48>>2];if(!e){break c}while(1){e:{d=v[e+12>>2];if(!d){break e}f=0;g=c;if((c|0)==(d|0)){break b}while(1){h=w[d|0];if((h|0)!=w[g|0]){break e}g=g+1|0;d=d+1|0;if(h){continue}break}break b}e=v[e>>2];if(e){continue}break}}a=v[a+20>>2];d=(b|0)!=(a|0);if(!a){break a}if((a|0)!=(b|0)){continue}break a}}while(1){f=-1;f:{g:{switch(v[a+4>>2]-1|0){case 0:break g;case 4:case 5:case 16:break b;default:break f}}d=v[a+48>>2];if(!d){break f}while(1){if(v[d+12>>2]){d=v[d>>2];if(d){continue}break f}break}f=0;break b}a=v[a+20>>2];d=(b|0)!=(a|0);if(!a){break a}if((a|0)!=(b|0)){continue}break}break a}return f}return d?-1:1}function YI(a,b){var c=0,d=0,e=0,f=0,g=0;d=Qb-32|0;Qb=d;a:{if((b|0)==-1){v[289140]=0;v[289141]=0;v[289139]=0;break a}if(v[289141]|!b){break a}c=v[289140];b:{if((c|0)<(b|0)){f=v[252391];while(1){e=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;c:{if((e|0)==-1){if(!v[a+26160>>2]){v[d+16>>2]=v[a+25208>>2];wc(f,8292,d+16|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,f);v[a+26160>>2]=1;v[289141]=0;break c}c=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[d>>2]=c;v[d+4>>2]=c>>31;wc(f,14622,d)}v[a+26160>>2]=1;v[289141]=0;break c}if(!((e|0)==255?v[a+26144>>2]:0)){v[289141]=0;break c}c=0;g=Ub[v[v[a>>2]+28>>2]](v[a+4>>2])|0;v[289141]=(g|0)!=0;if(g){break a}}c=v[289140]+8|0;v[289140]=c;e=e&255|v[289139]<<8;v[289139]=e;if((b|0)>(c|0)){continue}break}break b}e=v[289139]}a=c-b|0;v[289140]=a;b=32-b|0;c=e<>>b|0}Qb=d+32|0;return c}function oF(a){var b=0,c=0,d=0,e=0,f=0;c=Qb-16|0;Qb=c;a:{b=ve(a);if(b>>>0<1073741808){b:{c:{if(b>>>0>=2){e=b+4&-4;d=fc(e<<2);v[c+8>>2]=e|-2147483648;v[c>>2]=d;v[c+4>>2]=b;break c}t[c+11|0]=b;d=c;if(!b){break b}}v[299999]=0;tc(d,a,b);a=v[299999];v[299999]=0;if((a|0)==1){break a}}a=0;v[(b<<2)+d>>2]=0;v[299999]=0;b=w[c+11|0];d=b<<24>>24;b=(d|0)<0?v[c+4>>2]:b;e=b+1|0;e=S(15,((e|0)!=(e&1073741823)?-1:e<<2)|0)|0;f=v[299999];v[299999]=0;d:{if((f|0)!=1){v[e+(b<<2)>>2]=0;e:{if((b|0)>=1){while(1){v[299999]=0;d=Q(3166,c|0,a|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break e}v[e+(a<<2)>>2]=v[d>>2];a=a+1|0;if((b|0)!=(a|0)){continue}break}d=w[c+11|0]}if(d<<24>>24<=-1){dc(v[c>>2])}Qb=c+16|0;return e}a=P()|0;O()|0;d=w[c+11|0];break d}a=P()|0;O()|0}if(d<<24>>24<=-1){dc(v[c>>2])}T(a|0);L()}$d(c);L()}W(0)|0;O()|0;lc();L()}function mra(a,b){a=a|0;b=b|0;var c=0,d=0;d=Qb-32|0;Qb=d;v[299999]=0;v[d+24>>2]=0;Q(4336,d+24|0,0)|0;c=v[299999];v[299999]=0;a:{b:{if((c|0)!=1){c:{d:{e:{f:{c=v[d+24>>2];if(c){v[c+8>>2]=2;v[d+20>>2]=b;v[299999]=0;a=Q(4340,d|0,a|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break f}v[299999]=0;b=Y(4436,d+8|0,a|0,d+20|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break e}ec(a);v[299999]=0;Q(4437,v[d+24>>2],b|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break d}ec(b);c=v[d+24>>2]}v[d+24>>2]=0;if(!c){break a}v[299999]=0;a=v[c+4>>2]-1|0;v[c+4>>2]=a;b=v[299999];v[299999]=0;if((b|0)!=1){if(a){break a}v[299999]=0;R(4338,c|0);a=v[299999];v[299999]=0;if((a|0)!=1){break a}}W(0)|0;O()|0;lc();L()}c=W(0)|0;O()|0;break c}c=W(0)|0;O()|0;ec(a);break c}c=W(0)|0;O()|0;ec(b)}ec(d+24|0);break b}c=W(0)|0;O()|0}ea(c|0)|0;ka()}Qb=d+32|0}function dv(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=v[a>>2];a:{if(d>>>0<2){break a}e=v[a+12>>2];c=d-2|0;f=v[e+(c>>>4&268435452)>>2]+B(c&63,24)|0;c=d-1|0;e=v[e+(c>>>4&268435452)>>2]+B(c&63,24)|0;g=A[e>>3]-A[f>>3];j=g*g;g=A[e+8>>3]-A[f+8>>3];g=K(j+g*g);e=g>1e-14;A[f+16>>3]=e?g:1e14;if(e){break a}v[a>>2]=c;d=c}f=v[a+4>>2];e=d>>>6|0;if(f>>>0<=e>>>0){c=v[a+8>>2];b:{if(c>>>0>e>>>0){i=v[a+12>>2];break b}h=c+v[a+16>>2]|0;i=fc((h&1073741823)!=(h|0)?-1:h<<2);c=v[a+12>>2];if(c){gc(i,c,f<<2);dc(c);h=v[a+8>>2]+v[a+16>>2]|0;f=v[a+4>>2];d=v[a>>2]}v[a+8>>2]=h;v[a+12>>2]=i}k=(e<<2)+i|0,l=fc(1536),v[k>>2]=l;v[a+4>>2]=f+1}c=v[b+4>>2];d=v[v[a+12>>2]+(e<<2)>>2]+B(d&63,24)|0;v[d>>2]=v[b>>2];v[d+4>>2]=c;c=v[b+20>>2];v[d+16>>2]=v[b+16>>2];v[d+20>>2]=c;c=v[b+12>>2];v[d+8>>2]=v[b+8>>2];v[d+12>>2]=c;v[a>>2]=v[a>>2]+1}function ZR(a){var b=0,c=0;a:{b=v[a+12>>2];if(b){v[299999]=0;R(3098,b+176|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}v[299999]=0;R(3098,b+192|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}v[299999]=0;R(3098,b+208|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}v[299999]=0;R(3098,b+224|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}v[299999]=0;R(3098,b+240|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}v[299999]=0;R(3098,b+256|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}v[299999]=0;R(3098,b+280|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}dc(b)}v[299999]=0;R(3098,a+16|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}v[299999]=0;R(3098,a+32|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}v[299999]=0;R(3098,a+48|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}return a}W(0)|0;O()|0;lc();L()}function A2(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=v[a>>2];c=(f|0)==2147483647?2147483646:f;a:{if((c|0)<1){break a}e=v[b>>2];d=v[a+8>>2];while(1){if(e>>>0>2]>>2]){break a}g=g+1|0;if((c|0)!=(g|0)){continue}break}g=c}c=v[a+4>>2];if((c|0)<=(f|0)){f=c+128|0;c=v[a+8>>2];b:{if(c){c=uh(c,f<<2);break b}c=jc(f<<2)}if(!c){return-1}v[a+4>>2]=f;v[a+8>>2]=c;f=v[a>>2]}c=f;if((g|0)<(c|0)){e=f-g&3;if(e){while(1){d=v[a+8>>2];h=d+(c<<2)|0;c=c-1|0;v[h>>2]=v[d+(c<<2)>>2];e=e-1|0;if(e){continue}break}}if((g^-1)+f>>>0>=3){while(1){h=c<<2;e=h-4|0;d=v[a+8>>2];v[d+h>>2]=v[d+e>>2];d=v[a+8>>2];i=d+e|0;e=d;d=h-8|0;v[i>>2]=v[e+d>>2];e=d;d=v[a+8>>2];i=e+d|0;e=d;d=h-12|0;v[i>>2]=v[e+d>>2];e=d;d=v[a+8>>2];c=c-4|0;v[e+d>>2]=v[d+(c<<2)>>2];if((c|0)>(g|0)){continue}break}}c=g}v[v[a+8>>2]+(c<<2)>>2]=b;v[a>>2]=f+1;return 0}function EZ(a,b,c,d,e,f,g){var h=0,i=0,j=0;j=e-c|0;a:{if((j|0)<1|(e|0)<(f|0)|(c|0)>(g|0)){break a}h=d-b|0;b:{if((c|0)<(f|0)){b=jd(h,f-c|0,j)+b|0;i=v[a>>2];f=f>>i;c=0;break b}i=v[a>>2];f=c>>i;c=v[a+4>>2]-1&c}d=0;if((e|0)<=(g|0)){g=e;d=v[a+4>>2]-1&e}e=g>>i;c:{if((c|0)>=1){if((e|0)==(f|0)){break a}f=f+1|0;b=jd(h,v[a+4>>2]-c|0,j)+b|0;break c}if(!w[a+79|0]){break c}v[a+36>>2]=v[a+36>>2]-4}t[a+79|0]=!d;if(w[a+78|0]){v[v[a+80>>2]+20>>2]=f;t[a+78|0]=0}g=e-f|0;c=g+1|0;if(y[a+32>>2]<=v[a+36>>2]+(c<<2)>>>0){v[a+40>>2]=98;return 1}d=1;e=v[a+4>>2];d:{if((h|0)>=1){f=_H(e,h,j);break d}d=-1;h=0-h|0;f=0-_H(e,h,j)|0}h=(B(v[a+4>>2],h)|0)%(j|0)|0;e=v[a+36>>2];if((g|0)>=0){g=0-j|0;while(1){v[e>>2]=b;g=g+h|0;i=(g|0)>-1;g=g-(i?j:0)|0;b=(b+f|0)+(i?d:0)|0;e=e+4|0;i=(c|0)>1;c=c-1|0;if(i){continue}break}}v[a+36>>2]=e}return 0}function cO(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;f=Qb-48|0;Qb=f;d=v[a+72>>2];b=v[a+68>>2];if((b|0)==-1){b=v[a+56>>2]}g=v[a+76>>2];d=(d|0)==-1?v[a+60>>2]:d;g=(g|0)==-1?v[a- -64>>2]:g;a:{if(!g|(!b|!d)){break a}h=v[a+56>>2];if(h>>>0<0-b>>>0){c=((b+h|0)-1>>>0)/(b>>>0)|0}b=v[a+60>>2];b:{if(b>>>0>=0-d>>>0){break b}h=(b+d|0)-1|0;c=Bib((h>>>0)/(d>>>0)|0,0,c,0);b=Tb;e=c;if(!b|d>>>0>h>>>0){break b}c=v[a>>2];e=v[a+628>>2];v[f+32>>2]=15582;zc(e,c,24808,f+32|0);e=0}c=0;b=v[a- -64>>2];if(b>>>0>=0-g>>>0){break a}d=(b+g|0)-1|0;e=Bib((d>>>0)/(g>>>0)|0,0,e,0);b=Tb;c=e;if(!b|d>>>0>>0){break a}c=v[a>>2];e=v[a+628>>2];v[f+16>>2]=15582;zc(e,c,24808,f+16|0);c=0}c:{if(x[a+138>>1]!=2){break c}d=x[a+98>>1];e=Bib(d,0,c,0);b=Tb;c=e;if(!d|!b){break c}c=v[a>>2];a=v[a+628>>2];v[f>>2]=15582;zc(a,c,24808,f);c=0}Qb=f+48|0;return c}function wga(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;f=Qb-32|0;Qb=f;a:{b:{c:{if(v[a+56>>2]){a=vc(f+8|0,326443,242222,1653,341203,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}b=P()|0;O()|0;qc(a);break c}fD(b,326018,1);d:{e:{if((c|0)<=0){break e}while(1){fD(b,326023,0);v[f>>2]=0;Wc(f,b);e=v[v[a>>2]+32>>2];v[299999]=0;i=Y(e|0,a|0,f|0,B(g,12)+d|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break d}e=v[f>>2];v[f>>2]=0;f:{if(!e){break f}v[299999]=0;h=v[e+4>>2]-1|0;v[e+4>>2]=h;j=v[299999];v[299999]=0;if((j|0)==1){break a}if(h){break f}v[299999]=0;R(4338,e|0);e=v[299999];v[299999]=0;if((e|0)==1){break a}}ax(b);if(!i){break e}g=g+1|0;if((g|0)<(c|0)){continue}break}}ax(b);Ub[v[v[a>>2]+48>>2]](a);Qb=f+32|0;return}b=P()|0;O()|0;ec(f)}T(b|0)}L()}W(0)|0;O()|0;lc();L()}function soa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=Qb-16|0;Qb=e;aQ(e+8|0,b);b=0;a:{b:{c:{d:{f=v[c>>2];if(f){v[299999]=0;v[f+4>>2]=v[f+4>>2]+1;b=v[299999];v[299999]=0;if((b|0)==1){break d}b=v[c>>2]}v[299999]=0;v[e>>2]=b;$(4697,a|0,e+8|0,e|0,d|0);a=v[299999];v[299999]=0;if((a|0)==1){break c}v[e>>2]=0;e:{if(!b){break e}v[299999]=0;a=v[b+4>>2]-1|0;v[b+4>>2]=a;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(a){break e}v[299999]=0;R(4338,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}a=v[e+8>>2];v[e+8>>2]=0;f:{if(!a){break f}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break f}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Qb=e+16|0;return}b=P()|0;O()|0;break b}b=P()|0;O()|0;ec(e)}ec(e+8|0);T(b|0);L()}W(0)|0;O()|0;lc();L()}function jAa(a){a=a|0;var b=0,c=0,d=0,e=0;b=fc(16);v[299999]=0;S(3315,b|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){a:{v[a+48>>2]=b;b=fc(16);v[299999]=0;S(3315,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}v[a+52>>2]=b;if(v[a+8>>2]==8){b=v[a+16>>2];v[a+56>>2]=b;Ub[v[v[b>>2]+20>>2]](b);b=v[a+56>>2];c=v[a+76>>2];v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=b;v[v[a+144>>2]>>2]=b;v[v[a+148>>2]>>2]=b;oS(a);b=v[a+56>>2];Ub[v[v[b>>2]+24>>2]](b);d=a,e=Hib(v[a+48>>2],v[a+52>>2],32),v[d+48>>2]=e;v[a+52>>2]=Tb}b=v[a+4>>2];v[a+56>>2]=b;Ub[v[v[b>>2]+20>>2]](b);b=v[a+56>>2];c=v[a+76>>2];v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=b;v[v[a+144>>2]>>2]=b;v[v[a+148>>2]>>2]=b;oS(a);b=v[a+40>>2];b:{if(!b){c=0;b=0;break b}c=v[b+20>>2];b=c+B(v[b+16>>2],v[b+12>>2])|0}v[a+60>>2]=c;v[a+64>>2]=b;return}}a=P()|0;O()|0;dc(b);T(a|0);L()}function Od(a,b,c){var d=0,e=0,f=0,g=0;g=v[c>>2]+b|0;d=w[g|0];e=d>>>1|0;b=v[(e<<2)+1117680>>2];c=v[a+12>>2]-b|0;v[a+12>>2]=c;d=d&1;f=v[a+8>>2];a:{if(f>>>0>>0){if((c|0)<0){break a}b:{if(b>>>0>c>>>0){c=d^1;f=e<<2;e=v[f+1118064>>2]<<1;b=c|e;if(v[f+1118256>>2]){break b}b=d|e;break b}c=d;b=c|v[(e<<2)+1117872>>2]<<1}t[g|0]=b;b=v[a+16>>2];while(1){d=a;if(!b){CE(a);b=v[a+16>>2]}b=b-1|0;v[d+16>>2]=b;d=v[a+12>>2]<<1;v[a+12>>2]=d;v[a+8>>2]=v[a+8>>2]<<1;if((d|0)>-1){continue}break}return c}v[a+8>>2]=f-c;c:{if(b>>>0>c>>>0){c=v[(e<<2)+1117872>>2]<<1|d;break c}f=d^1;e=e<<2;c=v[e+1118064>>2]<<1;c=v[e+1118256>>2]?c|f:c|d;d=f}t[g|0]=c;v[a+12>>2]=b;c=v[a+16>>2];while(1){g=a;if(!c){CE(a);c=v[a+16>>2];b=v[a+12>>2]}b=b<<1;v[g+12>>2]=b;c=c-1|0;v[a+16>>2]=c;v[a+8>>2]=v[a+8>>2]<<1;if((b|0)>-1){continue}break}}return d}function sca(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,h=0,i=0,j=0;f=Qb-32|0;Qb=f;g=v[b+68>>2];if(g){g=Ub[v[v[g>>2]+24>>2]](g)|0;a:{b:{if(!(!v[b+64>>2]|((c|0)!=0|(d|0)!=0)&(g|0)<=0)){if(!(Ub[v[v[b>>2]+24>>2]](b)|0)){break b}}v[a+8>>2]=-1;v[a+12>>2]=-1;v[a>>2]=0;v[a+4>>2]=0;break a}if(e>>>0>=3){v[a+8>>2]=-1;v[a+12>>2]=-1;v[a>>2]=0;v[a+4>>2]=0;break a}h=v[b+64>>2];d=Bib(g,g>>31,c,d);c=(g|0)>0;if(nt(h,c?d:0,c?Tb:0,e)){v[a+8>>2]=-1;v[a+12>>2]=-1;v[a>>2]=0;v[a+4>>2]=0;break a}d=f+16|0;c=d;i=c,j=UC(v[b+64>>2]),v[i+8>>2]=j;v[c+12>>2]=Tb;v[c>>2]=0;v[c+4>>2]=0;e=v[b+76>>2];c=f;b=v[b+72>>2];v[c>>2]=b;v[c+4>>2]=e;v[c+8>>2]=b;v[c+12>>2]=e;b=v[c+4>>2];v[d>>2]=v[c>>2];v[d+4>>2]=b;b=v[c+28>>2];v[a+8>>2]=v[c+24>>2];v[a+12>>2]=b;b=v[c+20>>2];v[a>>2]=v[c+16>>2];v[a+4>>2]=b}Qb=f+32|0;return}ht();L()}function k0(a){var 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=Qb-16|0;Qb=c;a:{if(!a|((a?v[a+8>>2]:-1)|0)!=16){break a}g=c+12|0;h=c+8|0;if(a){if(g){v[g>>2]=v[a>>2]}if(h){v[h>>2]=v[a+4>>2]}}b=Ug(v[c+12>>2],v[c+8>>2],8);if(!b){break a}if(!(!a|!b|(a|0)==(b|0))){v[b+20>>2]=v[a+20>>2];v[b+24>>2]=v[a+24>>2]}e=a?v[a+12>>2]:-1;n=a?v[a+40>>2]:0;o=b?v[b+12>>2]:-1;g=b?v[b+40>>2]:0;l=v[c+8>>2];if(!((l|0)<1|(e|0)<1)){h=e&-2;p=e&1;while(1){j=(B(i,o)<<2)+g|0;k=(B(e,i)<<2)+n|0;a=0;d=h;if((e|0)!=1){while(1){f=v[(a<<2)+k>>2];u[((a<<1)+j^2)>>1]=f>>>16&65280|f>>>8&255;f=a|1;m=v[(f<<2)+k>>2];u[((f<<1)+j^2)>>1]=m>>>16&65280|m>>>8&255;a=a+2|0;d=d-2|0;if(d){continue}break}}if(p){d=(a<<1)+j^2;a=v[(a<<2)+k>>2];u[d>>1]=a>>>16&65280|a>>>8&255}i=i+1|0;if((l|0)!=(i|0)){continue}break}}d=b}Qb=c+16|0;return d}function Mja(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=Qb-32|0;Qb=d;if(!w[a+88|0]){e=a,f=Ub[v[v[a>>2]+36>>2]](a)|0,v[e+72>>2]=f;e=a,f=Ub[v[v[a>>2]+44>>2]](a)|0,v[e+76>>2]=f;e=a,f=Ub[v[v[a>>2]+40>>2]](a)|0,v[e+80>>2]=f;c=Ub[v[v[a>>2]+48>>2]](a)|0;t[a+88|0]=1;v[a+84>>2]=c}c=0;a:{b:{if(v[a+92>>2]>0){while(1){if(!(v[a+116>>2]<=(c|0)&v[a+120>>2]>=(c|0))){a=vc(d+8|0,227445,271729,619,307344,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}if(!(v[a+140>>2]<=(c|0)&v[a+144>>2]>=(c|0))){a=vc(d+8|0,227445,271729,619,307344,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}lD(b,v[a+104>>2]+(c-v[a+108>>2]<<2)|0,v[a+128>>2]+(c-v[a+132>>2]<<2)|0);c=c+1|0;if((c|0)>2]){continue}break}}t[a+88|0]=0;Qb=d+32|0;return}L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function Lja(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=Qb-32|0;Qb=d;if(!w[a+88|0]){e=a,f=Ub[v[v[a>>2]+36>>2]](a)|0,v[e+72>>2]=f;e=a,f=Ub[v[v[a>>2]+44>>2]](a)|0,v[e+76>>2]=f;e=a,f=Ub[v[v[a>>2]+40>>2]](a)|0,v[e+80>>2]=f;c=Ub[v[v[a>>2]+48>>2]](a)|0;t[a+88|0]=1;v[a+84>>2]=c}c=0;a:{b:{if(v[a+92>>2]>0){while(1){if(!(v[a+116>>2]<=(c|0)&v[a+120>>2]>=(c|0))){a=vc(d+8|0,227445,271729,619,307344,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}if(!(v[a+140>>2]<=(c|0)&v[a+144>>2]>=(c|0))){a=vc(d+8|0,227445,271729,619,307344,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}kD(b,v[a+104>>2]+(c-v[a+108>>2]<<2)|0,v[a+128>>2]+(c-v[a+132>>2]<<2)|0);c=c+1|0;if((c|0)>2]){continue}break}}t[a+88|0]=0;Qb=d+32|0;return}L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function FI(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=v[v[e>>2]+12>>2];i=v[c>>2];k=v[v[f+(i<<2)>>2]>>2];e=v[b>>2];j=v[v[(e<<2)+f>>2]>>2];g=v[a>>2];l=v[(g<<2)+f>>2];a:{if(j>>>0>=y[l>>2]){if(k>>>0>=j>>>0){e=i;break a}v[b>>2]=i;v[c>>2]=e;h=1;g=v[b>>2];i=v[a>>2];if(y[v[(g<<2)+f>>2]>>2]>=y[v[(i<<2)+f>>2]>>2]){break a}v[a>>2]=g;v[b>>2]=i;e=v[c>>2];h=2;break a}b:{if(k>>>0>>0){v[a>>2]=i;v[c>>2]=g;h=1;break b}v[a>>2]=e;v[b>>2]=g;h=2;e=v[c>>2];if(y[v[(e<<2)+f>>2]>>2]>=y[l>>2]){h=1;break a}v[b>>2]=e;v[c>>2]=g}e=g}g=v[d>>2];if(y[v[(g<<2)+f>>2]>>2]>2]>>2]){v[c>>2]=g;v[d>>2]=e;d=v[c>>2];e=v[b>>2];if(y[v[(d<<2)+f>>2]>>2]>=y[v[(e<<2)+f>>2]>>2]){return h+1|0}v[b>>2]=d;v[c>>2]=e;c=v[b>>2];d=v[a>>2];if(y[v[(c<<2)+f>>2]>>2]>=y[v[(d<<2)+f>>2]>>2]){return h+2|0}v[a>>2]=c;v[b>>2]=d;h=h+3|0}return h}function $za(a){a=a|0;var b=0,c=0;b=fc(240);a=v[a+4>>2];c=v[v[a>>2]+8>>2];v[299999]=0;a=S(c|0,a|0)|0;c=v[299999];v[299999]=0;a:{b:{c:{if((c|0)==1){break c}v[299999]=0;v[b+4>>2]=a;v[b>>2]=962156;a=v[299999];v[299999]=0;if((a|0)==1){break c}v[b>>2]=937120;v[299999]=0;a=S(1,16)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}c=v[b+4>>2];v[299999]=0;Y(3723,a|0,c|0,3)|0;c=v[299999];v[299999]=0;if((c|0)==1){c=P()|0;O()|0;dc(a);break a}v[b+96>>2]=0;v[b+76>>2]=0;v[b+8>>2]=a;v[b+12>>2]=0;v[b+16>>2]=0;v[b+88>>2]=0;v[b+92>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+104>>2]=0;v[b+108>>2]=0;v[b+112>>2]=0;v[b+116>>2]=0;v[b+124>>2]=0;v[b+128>>2]=0;v[b+132>>2]=0;v[b+136>>2]=0;v[b+200>>2]=0;v[b+204>>2]=0;v[b+208>>2]=0;v[b+212>>2]=0;v[b+216>>2]=0;return b|0}c=P()|0;O()|0;break a}c=P()|0;O()|0}dc(b);T(c|0);L()}function sya(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;v[a>>2]=967968;v[a+4>>2]=b;a:{b:{if((c|0)!=1){b=fc(44);v[b+40>>2]=0;v[b+32>>2]=0;v[b+16>>2]=f;v[b+12>>2]=e;v[b+8>>2]=d;v[b+4>>2]=c;v[b>>2]=a;c=B(d,e);v[b+20>>2]=c;g=B(e,f)+7>>3;v[b+24>>2]=g;g=g+(B(c,f)+7>>3)|0;v[b+28>>2]=g;c:{d:{if((d|0)<1|(e|0)<1|((f|0)<1|(f|0)>16)){break d}if((2147483647/(e>>>0)|0)<=(d|0)|(e|0)>32|(c|0)>=(2147483640/(f>>>0)|0)){break d}v[299999]=0;c=S(3693,g|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break c}v[b+32>>2]=c;ic(c,0,g);v[b+40>>2]=1;v[b+36>>2]=v[b+28>>2];v[a+8>>2]=b;break b}v[a+8>>2]=b;v[299999]=0;uc(0);c=v[299999];v[299999]=0;if((c|0)==1){break a}dc(b);v[a+8>>2]=0;break b}a=P()|0;O()|0;dc(b);T(a|0);L()}v[a+8>>2]=0}v[a+34076>>2]=0;v[a+34068>>2]=0;ic(a+12|0,0,32768);return a|0}W(0)|0;O()|0;lc();L()}function nC(a,b,c){var d=0,e=0;a:{b:{d=v[b+4>>2];c:{if(d>>>0<=4){e=x[b+2>>1];if(x[a+456>>1]==19789){if((e|0)==6){a=1;d:{switch(d-1|0){case 3:t[c+3|0]=v[b+8>>2];case 2:t[c+2|0]=v[b+8>>2]>>>8;case 1:t[c+1|0]=x[b+10>>1];break;case 0:break d;default:break c}}break b}a=1;e:{switch(d-1|0){case 3:t[c+3|0]=v[b+8>>2];case 2:t[c+2|0]=v[b+8>>2]>>>8;case 1:t[c+1|0]=x[b+10>>1];break;case 0:break e;default:break c}}break b}if((e|0)==6){a=1;f:{switch(d-1|0){case 3:t[c+3|0]=w[b+11|0];case 2:t[c+2|0]=x[b+10>>1];case 1:t[c+1|0]=v[b+8>>2]>>>8;break;case 0:break f;default:break c}}break a}a=1;g:{switch(d-1|0){case 3:t[c+3|0]=w[b+11|0];case 2:t[c+2|0]=x[b+10>>1];case 1:t[c+1|0]=v[b+8>>2]>>>8;break;case 0:break g;default:break c}}break a}a=(jh(a,b,c)|0)!=0}return a}t[c|0]=w[b+11|0];return 1}t[c|0]=v[b+8>>2];return 1}function hz(a,b,c,d){var e=0,f=0;e=v[a+5820>>2];a:{if((e|0)>=14){e=x[a+5816>>1]|d<>1]=e;f=v[a+20>>2];v[a+20>>2]=f+1;t[f+v[a+8>>2]|0]=e;e=v[a+20>>2];v[a+20>>2]=e+1;t[e+v[a+8>>2]|0]=w[a+5817|0];e=d&65535;d=v[a+5820>>2];f=e>>>16-d|0;u[a+5816>>1]=f;d=d-13|0;break a}f=x[a+5816>>1]|d<>1]=f;d=e+3|0}b:{if((d|0)>=9){d=v[a+20>>2];v[a+20>>2]=d+1;t[d+v[a+8>>2]|0]=f;d=v[a+20>>2];v[a+20>>2]=d+1;t[d+v[a+8>>2]|0]=w[a+5817|0];break b}if((d|0)<1){break b}d=v[a+20>>2];v[a+20>>2]=d+1;t[d+v[a+8>>2]|0]=f}v[a+5820>>2]=0;u[a+5816>>1]=0;d=v[a+20>>2];v[a+20>>2]=d+1;t[d+v[a+8>>2]|0]=c;d=v[a+20>>2];v[a+20>>2]=d+1;t[d+v[a+8>>2]|0]=c>>>8;d=v[a+20>>2];v[a+20>>2]=d+1;e=d+v[a+8>>2]|0;d=c^-1;t[e|0]=d;e=v[a+20>>2];v[a+20>>2]=e+1;t[e+v[a+8>>2]|0]=d>>>8;gc(v[a+8>>2]+v[a+20>>2]|0,b,c);v[a+20>>2]=v[a+20>>2]+c}function Zha(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;c=Qb-32|0;Qb=c;e=Bg(c,c+12|0,B(v[b+8>>2],6)|1,1);t[v[c+12>>2]]=0;a:{b:{d=v[b+12>>2];if(!d){break b}b=v[b+8>>2];if(!b){break b}f=v[c+12>>2];v[c+16>>2]=0;c:{d:{while(1){v[299999]=0;g=Rn(c+16|0,d,b);h=v[299999];v[299999]=0;if((h|0)==1){break c}if((g|0)<0){break d}d=d+g|0;f=lj(v[c+16>>2],f);b=b-g|0;if(b){continue}break}t[f|0]=0;break b}v[299999]=0;U(5064,e|0,0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break b}b=P()|0;O()|0;break a}b=P()|0;O()|0;break a}v[299999]=0;b=v[c+12>>2];v[c+24>>2]=0;v[c+28>>2]=0;v[c+20>>2]=0;v[c+16>>2]=990592;U(5159,a|0,c+16|0,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){v[c+16>>2]=990496;a=v[c+28>>2];if(a){t[a|0]=0;dc(v[c+28>>2])}v[c+28>>2]=0;Qc(c+16|0);Lc(e);Qb=c+32|0;return}b=P()|0;O()|0;Ag(c+16|0)}Lc(e);T(b|0);L()}function Jp(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;g=Qb-192|0;Qb=g;a:{if(!b){while(1){b=w[c|0];if(!b){d=e;break a}t[e+g|0]=b;d=e|1;b=w[c+1|0];if(!b){break a}t[d+g|0]=b;d=e|2;b=w[c+2|0];if(!b){break a}t[d+g|0]=b;d=191;b=e|3;if((b|0)==191){break a}d=w[c+3|0];if(d){t[b+g|0]=d;e=e+4|0;c=c+4|0;continue}else{d=b;break a}}}while(1){b:{c:{f=w[c|0];if((f|0)!=64){e=c;if(!f){break a}break c}i=w[c+1|0];if(!i){e=c;break c}e=c+1|0;f=0;while(1){h=f;if(w[f+74417|0]!=(i|0)){f=h+1|0;if((h|0)!=9){continue}}break}if(h>>>0>7){break c}d:{if(d>>>0>190){break d}e=(h<<5)+b|0;h=e+32|0;f=d;while(1){d=w[e|0];if(!d){d=f;break d}if(e>>>0>=h>>>0){d=f;break d}t[f+g|0]=d;e=e+1|0;d=191;f=f+1|0;if((f|0)!=191){continue}break}}c=c+2|0;break b}t[d+g|0]=w[e|0];d=d+1|0;c=e+1|0}if(d>>>0<191){continue}break}}t[d+g|0]=0;Gc(a,g);Qb=g+192|0}function $5(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=Qb-32|0;Qb=f;a:{if(x[a+84>>1]!=1){zc(v[a+628>>2],v[a>>2],53264,0);break a}b=v[a+584>>2];c=b;b:{if(w[a+13|0]&4){h=Ll(a);e=a+68|0;break b}h=Di(a);e=a+56|0}g=v[e>>2];v[c+12>>2]=g;v[b+8>>2]=h;e=1;e=t[b+28|0]&1?e:x[a+88>>1]==4;v[b+80>>2]=0;c:{c=g>>>0<4294967264?g+31&-32:0;c=e?(c|0)==(c&2147483616)?c<<1:0:c;if(!(!c|(c|0)<0)){i=c<<1;if(i){break c}}b=v[a>>2];a=v[a+628>>2];v[f>>2]=g;zc(a,b,53764,f);break a}d=kg(a,i,4,54536);v[b+80>>2]=d;if(!d){d=0;break a}v[b+88>>2]=d;v[b+84>>2]=e?d+(c<<2)|0:0;if(!(!(t[b+28|0]&1)|x[a+88>>1]!=3)){v[a+556>>2]=492;v[a+548>>2]=492;v[a+540>>2]=492}b=v[a+584>>2];if(e){c=b;b=jc(h);v[c+96>>2]=b;d=1;if(b){break a}b=v[a+628>>2];v[f+16>>2]=v[a>>2];zc(b,55050,55493,f+16|0);d=0;break a}v[b+96>>2]=0;d=1}Qb=f+32|0;return d|0}function hQa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a=v[a+12>>2];if(!a){return 0}g=v[a+180>>2];if(g){a=0;c=w[b+11|0];d=c<<24>>24<0;c=d?v[b+4>>2]:c;e=fc(c+1|0);t[e+c|0]=0;a:{if((c|0)<1){break a}b=d?v[b>>2]:b;d=c&3;if(c-1>>>0>=3){c=c&-4;while(1){t[a+e|0]=v[(a<<2)+b>>2];f=a|1;t[f+e|0]=v[(f<<2)+b>>2];f=a|2;t[f+e|0]=v[(f<<2)+b>>2];f=a|3;t[f+e|0]=v[(f<<2)+b>>2];a=a+4|0;c=c-4|0;if(c){continue}break}}if(!d){break a}while(1){t[a+e|0]=v[(a<<2)+b>>2];a=a+1|0;d=d-1|0;if(d){continue}break}}c=0;b:{if(!e|(!g|!(w[g+9|0]&2))){break b}c:{d:{d=v[g+128>>2];b=v[d+40>>2];switch(b+2|0){case 0:break b;case 2:break d;default:break c}}a=v[g+96>>2];b=v[v[a>>2]+32>>2];e:{if(!b){b=0;break e}b=Ub[b|0](a,233592)|0;d=v[g+128>>2]}v[d+40>>2]=b?b:-2}if(!b){break b}a=v[b+4>>2];if(!a){break b}c=Ub[a|0](g,e)|0}dc(e)}return c|0}function Thb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=Qb-16|0;Qb=f;b=-1;a:{if(Of(c,a+12|0)){break a}if(bi(c,a+16|0)){break a}if(bi(c,a+20|0)){break a}if(bi(c,a+24|0)){break a}if(bi(c,a+28|0)){break a}if(bi(c,a+32|0)){break a}if(bi(c,a+36|0)){break a}if(bi(c,a+40|0)){break a}if(bi(c,a+44|0)){break a}if(Of(c,a+48|0)|!v[a+16>>2]|(!v[a+20>>2]|!v[a+32>>2])){break a}if(!v[a+36>>2]){break a}d=v[a+48>>2];if(!d){break a}d=jc(d<<2);v[a+52>>2]=d;if(!d){break a}b:{if(v[a+48>>2]){b=0;while(1){c:{d:{if(Iq(c,f+15|0)){break d}e=b<<2;if(Iq(c,(e+v[a+52>>2]|0)+2|0)){break d}if(!Iq(c,(e+v[a+52>>2]|0)+3|0)){break c}}d=v[a+52>>2];break b}d=v[a+52>>2];e=e+d|0;t[e+1|0]=w[f+15|0]>>>7;t[e|0]=(w[f+15|0]&127)+1;b=b+1|0;if(b>>>0>2]){continue}break}}b=0;if(!(t[c+8|0]&1)){break a}}dc(d);b=-1}Qb=f+16|0;return b|0}function RR(a){var b=0,c=0,d=0;Zc(a,v[a+468>>2]);v[a+468>>2]=0;b=v[a+472>>2];if(b){d=a;c=8-v[a+456>>2]|0;if((c|0)!=31){Zc(a,v[b>>2]);b=1;c=1<=2){c=(c|0)>1?c:1;while(1){Zc(a,v[v[a+472>>2]+(b<<2)>>2]);b=b+1|0;if((c|0)!=(b|0)){continue}break}}b=v[a+472>>2]}Zc(d,b);v[a+472>>2]=0}Zc(a,v[a+476>>2]);v[a+476>>2]=0;Zc(a,v[a+480>>2]);v[a+480>>2]=0;b=v[a+484>>2];if(b){d=a;c=8-v[a+456>>2]|0;if((c|0)!=31){Zc(a,v[b>>2]);b=1;c=1<=2){c=(c|0)>1?c:1;while(1){Zc(a,v[v[a+484>>2]+(b<<2)>>2]);b=b+1|0;if((c|0)!=(b|0)){continue}break}}b=v[a+484>>2]}Zc(d,b);v[a+484>>2]=0}b=v[a+488>>2];if(b){d=a;c=8-v[a+456>>2]|0;if((c|0)!=31){Zc(a,v[b>>2]);b=1;c=1<=2){c=(c|0)>1?c:1;while(1){Zc(a,v[v[a+488>>2]+(b<<2)>>2]);b=b+1|0;if((c|0)!=(b|0)){continue}break}}b=v[a+488>>2]}Zc(d,b);v[a+488>>2]=0}}function QD(a,b,c){var d=0,e=0,f=0,g=0;f=Qb-144|0;Qb=f;a:{d=v[b>>2];b:{if((d|0)>=v[c>>2]){break b}while(1){c:{e=v[(d<<2)+a>>2]-32|0;if(!(!e|(e|0)==12)){break c}d=d+1|0;v[b>>2]=d;if(!(!e|(e|0)==12)){break c}if(v[c>>2]>(d|0)){continue}break b}break}ic(f+16|0,0,128);while(1){e=v[(d<<2)+a>>2];if((e|0)!=32){v[(f+16|0)+(g<<2)>>2]=e;d=d+1|0;v[b>>2]=d;g=g+1|0;if(v[c>>2]>(d|0)){continue}}break}a=zr(f,f+16|0,0,g);v[299999]=0;b=md(a,979452);c=v[299999];v[299999]=0;g=1;if((c|0)==1){break a}d:{if(b){break d}v[299999]=0;b=md(a,979472);c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break d}v[299999]=0;b=md(a,979480);c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break d}v[299999]=0;g=md(a,979488);b=v[299999];v[299999]=0;if((b|0)==1){break a}}xc(a)}Qb=f+144|0;return g}b=P()|0;O()|0;xc(a);T(b|0);L()}function Ldb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=v[v[a+536>>2]+88>>2];d=(v[d+1176>>2]+B(v[d+1168>>2],v[a+572>>2])|0)+B(v[d+1164>>2],v[a+580>>2])|0;e=v[a+644>>2];a:{b:{c:{switch(w[a+2253|0]){case 0:case 4:break a;case 1:break c;default:break b}}if(v[a+588>>2]<=0){break b}while(1){c=w[d|0]|w[d+1|0]<<8;b=(c<<8|c>>>8)&65535;c=w[e|0]|w[e+1|0]<<8;c=b+((c<<8|c>>>8)&65535)&65535;c=c<<8|c>>>8;t[d|0]=c;t[d+1|0]=c>>>8;c=d+2|0;b=w[c|0]|w[c+1|0]<<8;f=(b<<8|b>>>8)&65535;b=w[e+2|0]|w[e+3|0]<<8;b=f+((b<<8|b>>>8)&65535)&65535;b=b<<8|b>>>8;t[c|0]=b;t[c+1|0]=b>>>8;c=d+4|0;b=w[c|0]|w[c+1|0]<<8;f=(b<<8|b>>>8)&65535;b=w[e+4|0]|w[e+5|0]<<8;b=f+((b<<8|b>>>8)&65535)&65535;b=b<<8|b>>>8;t[c|0]=b;t[c+1|0]=b>>>8;e=e+6|0;d=d+6|0;g=g+1|0;if((g|0)>2]){continue}break}}return 0}gc(d,e,B(v[a+588>>2],6));return 0}function Hfa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Qb-16|0;Qb=c;d=v[b>>2];if(d){v[d+4>>2]=v[d+4>>2]+1;e=v[b>>2]}v[299999]=0;v[c>>2]=e;$(4408,c+8|0,c|0,0,1);b=v[299999];v[299999]=0;a:{b:{c:{if((b|0)!=1){v[299999]=0;Q(4344,a+3312|0,c+8|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break c}a=v[c+8>>2];v[c+8>>2]=0;d:{if(!a){break d}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(b){break d}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}a=v[c>>2];v[c>>2]=0;e:{if(!a){break e}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(b){break e}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Qb=c+16|0;return}b=P()|0;O()|0;break b}b=P()|0;O()|0;ec(c+8|0)}ec(c);T(b|0);L()}W(0)|0;O()|0;lc();L()}function G9(a){a=a|0;var b=0,c=0,d=0;d=Qb-32|0;Qb=d;b=v[a+584>>2];a:{b:{c:{d:{e:{c=x[a+90>>1];switch(c-32844|0){case 0:break d;case 1:break e;default:break c}}c=1;if(!LL(a)){break a}if(x[a+88>>1]==34677){v[a+544>>2]=469;f:{switch(v[b>>2]){case 0:v[b+20>>2]=470;break a;case 2:break a;case 1:break f;default:break b}}v[b+20>>2]=471;break a}v[a+544>>2]=472;g:{switch(v[b>>2]){case 0:v[b+20>>2]=473;break a;case 2:break a;case 1:break g;default:break b}}v[b+20>>2]=474;break a}c=1;if(!EL(a)){break a}v[a+544>>2]=475;h:{c=v[b>>2];switch(c|0){case 1:break a;case 0:break h;default:break b}}v[b+20>>2]=476;c=1;break a}b=v[a>>2];a=v[a+628>>2];v[d+4>>2]=23330;v[d>>2]=c;zc(a,b,20394,d);c=1;break a}b=v[a>>2];c=v[a+628>>2];v[d+16>>2]=x[a+90>>1]==32844?44027:44429;zc(c,b,43131,d+16|0);c=0}Qb=d+32|0;return c|0}function uk(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;f=Qb-256|0;Qb=f;e=Pg(84);v[a+8>>2]=e;a:{if(e){v[f+24>>2]=v[215116];g=v[215115];v[f+16>>2]=v[215114];v[f+20>>2]=g;g=v[215113];v[f+8>>2]=v[215112];v[f+12>>2]=g;g=v[215111];v[f>>2]=v[215110];v[f+4>>2]=g;g=ic(e,0,84);t[f+8|0]=w[b+8|0];e=0;b:{c:{while(1){if(v[c>>2]>0){break c}if(!(63104>>>e&1)){h=e<<2;i=h+g|0,j=Af(v[h+860480>>2],f+32|0,f,c),v[i>>2]=j}e=e+1|0;if((e|0)!=20){continue}break}if(v[c>>2]>0){break c}if(!w[b+8|0]){break b}}gW(a);break a}t[g+80|0]=d;e=0;a=v[b+24>>2];d:{if(!a){break d}b=t[a|0];if(!b){break d}c=860560;e=240507;d=b&255;while(1){e:{h=w[e|0];f:{if((h|0)==(d|0)){if(Oc(e,a,Bc(e))){break f}t[g+81|0]=w[c+4|0];break a}if((b|0)>24){break e}}e=v[c+8>>2];c=c+8|0;if(e){continue}}break}e=1}t[g+81|0]=e;break a}v[c>>2]=7}Qb=f+256|0}function gg(a){var b=0,c=0,d=0,e=0,f=0;b=v[a+12>>2];c=v[b>>2];f=v[c+4>>2];e=y[a+4>>2]>2];v[b>>2]=v[c+(e?12:8)>>2];c=v[a+8>>2];while(1){a:{if(c){b=v[a>>2];break a}b:{c:{d:{e:{if(!v[a+32>>2]){d=v[a+24>>2];c=v[d+8>>2];if(c&7){break e}b=v[d+64>>2];if(!((b|0)<0|v[d+60>>2]<(b|0))){v[d+8>>2]=c|4;break e}b=v[d+28>>2];v[d+28>>2]=b-1;f:{if((b|0)>=1){v[d+60>>2]=v[d+60>>2]+1;b=v[d+24>>2];v[d+24>>2]=b+1;b=w[b|0];break f}b=Hc(d,1);if((b|0)==-1){break e}}c=w[a+28|0];t[a+28|0]=b;if((c|0)!=255){break d}if((b|0)>=144){break c}b=v[a>>2]+(b<<9)|0;c=7;break a}b=v[a>>2]+65280|0;break b}v[a+32>>2]=1;c=w[a+28|0];b=255;t[a+28|0]=255;if((c|0)==255){break c}}c=8;b=v[a>>2]+(b<<8)|0;break a}b=v[a>>2]+65280|0}c=8}c=c-1|0;v[a+8>>2]=c;v[a>>2]=b<<1;b=v[a+4>>2];v[a+4>>2]=b<<1;if(!(b&16384)){continue}break}return f^e}function I6(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;if((c|0)>=1){f=v[a+12>>2];while(1){g=c;e=+z[b>>2];d=32767;a:{if(e>=18371976e12){break a}d=65535;if(e<=-18371976e12){break a}c=v[a+4>>2];if(e>5.4136769e-20){e=(er(e)*1.4426950408889634+64)*256;if(c){c=Bib(v[299450],v[299451],1284865837,1481765933)+1|0;d=Tb;d=c>>>0<1?d+1|0:d;v[299450]=c;v[299451]=d;e=e+ +(d>>>1|0)*4.656612875245797e-10+-.5}if(D(e)<2147483648){d=~~e;break a}d=-2147483648;break a}d=0;if(!(e<-5.4136769e-20)){break a}e=(er(-e)*1.4426950408889634+64)*256;if(c){c=Bib(v[299450],v[299451],1284865837,1481765933)+1|0;d=Tb;d=c>>>0<1?d+1|0:d;v[299450]=c;v[299451]=d;e=e+ +(d>>>1|0)*4.656612875245797e-10+-.5}b:{if(D(e)<2147483648){c=~~e;break b}c=-2147483648}d=c|-32768}b=b+4|0;c=g-1|0;u[f>>1]=d;f=f+2|0;if((g|0)>1){continue}break}}}function ura(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;if((c|0)<1){return 0}e=v[a+12>>2];d=e+c|0;a:{b:{if((d|0)<=(v[a+16>>2]+4095&-4096)){break b}e=v[a+20>>2];c:{if((d|0)<=e<<12){break c}d=d+65535>>12&-16;v[a+20>>2]=d;Xd(a+28|0,d,4);f=v[a+20>>2];if((f|0)<=(e|0)){break c}d=v[a+24>>2];g=e<<2;h=d+g|0;e=h+4|0;i=d^-1;d=d+(f<<2)|0;ic(h,0,((i+(e>>>0>d>>>0?e:d)|0)-g|0)+4&-4)}e=v[a+12>>2];f=e+c|0;if((f|0)<=(e&-4096)){break b}d=e>>12;while(1){g=v[a+24>>2]+(d<<2)|0;if(!v[g>>2]){j=g,k=fc(4096),v[j>>2]=k}d=d+1|0;if((f|0)>d<<12){continue}break}if((c|0)<1){break a}}d=c;while(1){g=v[v[a+24>>2]+(e>>12<<2)>>2]+(e&4095)|0;e=((e|4095)-e|0)+1|0;f=(e|0)>(d|0)?d:e;gc(g,b,f);e=f+v[a+12>>2]|0;v[a+12>>2]=e;b=b+f|0;d=d-f|0;if((d|0)>0){continue}break}}if(v[a+16>>2]<(e|0)){v[a+16>>2]=e}return c|0}function Am(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{e=v[a+12>>2];c=w[e|0];b:{if(!c){b=e;break b}while(1){b=c<<24>>24;if(!((b|0)==32|b-9>>>0<5)){break a}c=w[e+1|0];b=e+1|0;e=b;if(c){continue}break}}v[a+12>>2]=b;return 1}g=-1;c:{d:{e:{if((b|32)-97>>>0<26){d=e;break e}if((c&255)==95){d=e;break e}d=e;if(b-48>>>0>9){break d}}f:{while(1){b=c<<24>>24;if(!((c&255)==95|(b|32)-97>>>0<26)&b-48>>>0>9){break f}c=w[d+1|0];b=d+1|0;d=b;if(c){continue}break}v[a+12>>2]=b;break c}if((c&255)!=61){if(!((b|0)==32|b-9>>>0<5)){break d}t[d|0]=0;v[a+12>>2]=d+1;break c}g=0;t[d|0]=0;f=d+1|0;c=f;b=w[d+1|0];g:{if(!b){break g}d=f;while(1){h:{c=d+1|0;b=b<<24>>24;if((b|0)==32|b-9>>>0<5){break h}d=c;b=w[c|0];if(b){continue}break g}break}t[d|0]=0}v[a+8>>2]=f;v[a+4>>2]=e;v[a+12>>2]=c}return g}v[a+8>>2]=4943;v[a+4>>2]=e;return 0}function Pra(a){a=a|0;var b=0,c=0,d=0;b=Qb-16|0;Qb=b;c=v[a+32>>2];if(c){v[c+4>>2]=v[c+4>>2]+1;d=v[a+32>>2]}v[299999]=0;v[b>>2]=d;$(4408,b+8|0,b|0,0,1);c=v[299999];v[299999]=0;a:{b:{c:{if((c|0)!=1){v[299999]=0;Q(4344,a+48|0,b+8|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break c}a=v[b+8>>2];v[b+8>>2]=0;d:{if(!a){break d}v[299999]=0;c=v[a+4>>2]-1|0;v[a+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break d}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}a=v[b>>2];v[b>>2]=0;e:{if(!a){break e}v[299999]=0;c=v[a+4>>2]-1|0;v[a+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break e}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Qb=b+16|0;return}a=P()|0;O()|0;break b}a=P()|0;O()|0;ec(b+8|0)}ec(b);T(a|0);L()}W(0)|0;O()|0;lc();L()}function aX(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=Qb-48|0;Qb=c;QG(c+32|0,b,467772);v[299999]=0;d=c+16|0;v[d+12>>2]=0;v[d+4>>2]=0;v[d+8>>2]=0;v[d>>2]=530160;e=v[299999];v[299999]=0;a:{b:{c:{d:{if((e|0)!=1){v[299999]=0;h=Y(2523,d|0,c+32|0,0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break c}if(h){break d}break a}a=P()|0;O()|0;break b}v[299999]=0;e=v[d+12>>2];f=v[299999];v[299999]=0;if((f|0)!=1){e:{v[299999]=0;v[c+12>>2]=0;f=S(15,e|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break e}v[299999]=0;Z(2525,d|0,f|0,e|0,c+12|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break e}v[299999]=0;$(2687,a|0,b|0,f|0,e|0);a=v[299999];v[299999]=0;if((a|0)==1){break e}dc(f);break a}}}a=P()|0;O()|0;lg(d)}if(t[c+43|0]<=-1){dc(v[c+32>>2])}T(a|0);L()}lg(d);if(t[c+43|0]<=-1){dc(v[c+32>>2])}Qb=c+48|0;return h|0}function TJa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=-1;a:{b:{if(!(!d|(!a|!b))){if(!c){v[b>>2]=0;v[d>>2]=0;return 0}e=c;h=a;f=v[d>>2];c:{if((f|0)<1){break c}l=v[b>>2]+a|0;k=c+f|0;f=c;while(1){e=t[f|0];g=e&255;i=0;d:{if((e|0)>-1){j=0;break d}e=e&255;if(e>>>0<=191){break a}if(e>>>0<=223){g=g&31;i=1;j=1;break d}e:{if(e>>>0<=239){g=g&15;e=2;break e}if(e>>>0>247){break b}g=g&7;e=3}j=e;i=1}e=f+1|0;if((k-e|0)<(j|0)){e=f;break c}if(e>>>0>>0&i){while(1){i=w[e|0];if((i&192)!=128){break a}g=i&63|g<<6;j=j-1|0;e=e+1|0;if(k>>>0>e>>>0?j:0){continue}break}if(g>>>0>255){break a}}if(h>>>0>=l>>>0){e=f;break c}t[h|0]=g;h=h+1|0;f=e;if(e>>>0>>0){continue}break}}v[b>>2]=h-a;v[d>>2]=e-c;e=v[b>>2]}return e|0}v[b>>2]=h-a;v[d>>2]=f-c;return-2}v[b>>2]=h-a;v[d>>2]=f-c;return-2}function WJa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=B(v[b+36>>2],v[b+28>>2]);f=v[a+28>>2];h=(j<<1)-f|0;e=v[a+272>>2];if(!((h|0)<1|(e|0)<1)){g=e&3;b=0;if(e-1>>>0>=3){k=e&-4;while(1){e=b<<2;i=f+v[e+c>>2]|0;ic(i,w[i-1|0],h);i=f+v[(e|4)+c>>2]|0;ic(i,w[i-1|0],h);i=f+v[(e|8)+c>>2]|0;ic(i,w[i-1|0],h);e=f+v[(e|12)+c>>2]|0;ic(e,w[e-1|0],h);b=b+4|0;k=k-4|0;if(k){continue}break}}if(g){while(1){e=f+v[(b<<2)+c>>2]|0;ic(e,w[e-1|0],h);b=b+1|0;g=g-1|0;if(g){continue}break}}e=v[a+272>>2]}if(!((e|0)<1|!j)){h=j&-2;k=j&1;e=0;while(1){f=e<<2;b=v[f+c>>2];g=v[d+f>>2];f=h;if((j|0)!=1){while(1){t[g|0]=w[b|0]+w[b+1|0]>>>1;t[g+1|0]=(w[b+2|0]+w[b+3|0]|0)+1>>>1;b=b+4|0;g=g+2|0;f=f-2|0;if(f){continue}break}}if(k){t[g|0]=w[b|0]+w[b+1|0]>>>1}e=e+1|0;if((e|0)>2]){continue}break}}}function uea(a){a=a|0;var b=0,c=0,d=0;v[a+8>>2]=0;v[a>>2]=997980;v[a+4>>2]=0;b=v[282402];v[a+16>>2]=0;v[a+20>>2]=0;v[a+12>>2]=b;v[a+24>>2]=0;v[a+28>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;v[a+40>>2]=0;v[299999]=0;d=Q(4475,a+16|0,982916)|0;b=v[299999];v[299999]=0;a:{b:{c:{d:{if((b|0)!=1){v[a+44>>2]=0;v[a+48>>2]=0;v[a+52>>2]=0;v[a+56>>2]=0;v[299999]=0;b=a+44|0;v[b>>2]=998016;v[b+4>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;c=v[299999];v[299999]=0;if((c|0)==1){break d}v[a+60>>2]=0;c=v[282402];v[a+68>>2]=0;v[a+72>>2]=0;v[a- -64>>2]=c;v[a+76>>2]=0;v[a+80>>2]=0;v[a+84>>2]=0;v[a+88>>2]=0;v[a+92>>2]=0;v[299999]=0;Q(4475,a+68|0,998036)|0;c=v[299999];v[299999]=0;if((c|0)==1){break c}v[a+96>>2]=0;return a|0}c=P()|0;O()|0;break a}c=P()|0;O()|0;break b}c=P()|0;O()|0;ec(a+60|0);Ic(b)}id(d)}ec(a+8|0);Qc(a);T(c|0);L()}function QXa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=Qb-272|0;Qb=d;Ub[v[b+60>>2]](b,d+80|0,16,d+76|0);e=v[d+76>>2];a:{if((e|0)<0){c=162;break a}c=3;if(!e|(e|0)>16){break a}j=v[b+8>>2];k=v[b>>2];if((e|0)>=1){i=v[a+532>>2];e=0;while(1){c=(d+80|0)+B(g,12)|0;v[b>>2]=v[c>>2];v[b+8>>2]=v[c+4>>2];Ub[v[b+60>>2]](b,d+16|0,4,d+12|0);f=v[d+12>>2];b:{if(!g){c=3;if(f-1>>>0>3){break a}c=Pz(a,v[d+76>>2],f);if(c){break a}i=v[a+532>>2];c=v[d+12>>2];e=f;break b}c=e;if((f|0)==(c|0)){break b}c=3;break a}if((c|0)>=1){f=(g<<2)+i|0;c=0;while(1){h=(d+16|0)+B(c,12)|0;v[b>>2]=v[h>>2];v[b+8>>2]=v[h+4>>2];h=Ub[v[b+40>>2]](b,0)|0;v[v[f+24>>2]+(c<<2)>>2]=h;c=c+1|0;if((c|0)>2]){continue}break}}g=g+1|0;if((g|0)>2]){continue}break}}v[b+8>>2]=j;v[b>>2]=k;c=0}v[b+12>>2]=c;Qb=d+272|0}function w1a(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;f=Qb-16|0;Qb=f;v[f+12>>2]=0;a:{if(v[c+76>>2]){break a}e=8;d=a+1|0;if(d>>>0>b>>>0){break a}a=w[a|0];g=a&15;i=b;h=a>>>4|0;b=g+h|0;if(i>>>0<(b<<1)+d>>>0){break a}a=Cc(v[c>>2],4,0,b,0,f+12|0);e=v[f+12>>2];if(e){break a}v[c+76>>2]=a;v[c- -64>>2]=(g<<2)+a;e=0;if(!b){break a}c=g+h|0;g=c-1|0;e=c&3;if(e){while(1){c=w[d|0]|w[d+1|0]<<8;v[a>>2]=(c<<8|c>>>8)<<16>>16;a=a+4|0;b=b-1|0;d=d+2|0;e=e-1|0;if(e){continue}break}}if(g>>>0>=3){while(1){c=w[d|0]|w[d+1|0]<<8;v[a>>2]=(c<<8|c>>>8)<<16>>16;c=w[d+2|0]|w[d+3|0]<<8;v[a+4>>2]=(c<<8|c>>>8)<<16>>16;c=w[d+4|0]|w[d+5|0]<<8;v[a+8>>2]=(c<<8|c>>>8)<<16>>16;c=w[d+6|0]|w[d+7|0]<<8;v[a+12>>2]=(c<<8|c>>>8)<<16>>16;a=a+16|0;d=d+8|0;b=b-4|0;if(b){continue}break}}e=v[f+12>>2]}Qb=f+16|0;return e|0}function cv(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=Qb-32|0;Qb=g;c=v[a>>2];a:{if(c>>>0<2){break a}while(1){d=v[a+12>>2];j=c-2|0;h=v[d+(j>>>4&268435452)>>2]+B(j&63,24)|0;i=c-1|0;d=v[d+(i>>>4&268435452)>>2]+B(i&63,24)|0;e=A[d>>3]-A[h>>3];f=e*e;e=A[d+8>>3]-A[h+8>>3];e=K(f+e*e);i=e>1e-14;A[h+16>>3]=i?e:1e14;if(i){break a}c=v[d+20>>2];v[g+24>>2]=v[d+16>>2];v[g+28>>2]=c;c=v[d+12>>2];v[g+16>>2]=v[d+8>>2];v[g+20>>2]=c;c=v[d+4>>2];v[g+8>>2]=v[d>>2];v[g+12>>2]=c;v[a>>2]=j;dv(a,g+8|0);c=v[a>>2];if(c>>>0>1){continue}break}}b:{if(!b|c>>>0<2){break b}h=v[a+12>>2];b=v[h>>2];e=A[b+8>>3];k=A[b>>3];while(1){c=c-1|0;b=v[h+(c>>>4&268435452)>>2]+B(c&63,24)|0;f=k-A[b>>3];l=f*f;f=e-A[b+8>>3];f=K(l+f*f);d=f>1e-14;A[b+16>>3]=d?f:1e14;if(d){break b}v[a>>2]=c;if(c>>>0>1){continue}break}}Qb=g+32|0}function cib(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=v[a+16>>2]>>>2|0;v[a+20>>2]=c;d=jc(c<<3);v[a+24>>2]=d;a:{if(!d){break a}if(!v[a+20>>2]){return 0}if(Of(b,d)){break a}b:{while(1){c=v[b+8>>2];if(c&7){break b}c:{e=v[b+64>>2];if((e|0)>=0&(e|0)<=v[b+60>>2]){break c}c=v[b+28>>2];v[b+28>>2]=c-1;d:{if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;c=w[c|0];break d}c=Hc(b,1);if((c|0)==-1){break a}}d=(f<<3)+d|0;t[d+4|0]=c;c=v[b+8>>2];if(c&7){break b}e=v[b+64>>2];if((e|0)>=0&(e|0)<=v[b+60>>2]){break c}c=v[b+28>>2];v[b+28>>2]=c-1;e:{if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;c=w[c|0];break e}c=Hc(b,1);if((c|0)==-1){break a}}t[d+5|0]=c;f=f+1|0;if(f>>>0>=y[a+20>>2]){return 0}d=v[a+24>>2];if(!Of(b,d+(f<<3)|0)){continue}break b}break}v[b+8>>2]=c|4}}return-1}function Nua(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=Qb-32|0;Qb=e;Ub[v[v[b>>2]+12>>2]](e+16|0,b,c);f=w[e+27|0];b=f<<24>>24;c=(b|0)<0;a:{b:{c:{f=c?v[e+20>>2]:f;d:{if(!f){break d}f=f-1|0;if(v[(f<<2)+(c?v[e+16>>2]:e+16|0)>>2]!=47){break d}v[299999]=0;U(2666,e+16|0,f|0,1);b=v[299999];v[299999]=0;if((b|0)==1){break c}b=w[e+27|0]}e:{if(b<<24>>24>=0){v[e+8>>2]=v[e+24>>2];b=v[e+20>>2];v[e>>2]=v[e+16>>2];v[e+4>>2]=b;break e}v[299999]=0;U(2345,e|0,v[e+16>>2],v[e+20>>2]);b=v[299999];v[299999]=0;if((b|0)==1){break c}}v[299999]=0;U(2682,a|0,e|0,d|0);a=v[299999];v[299999]=0;if((a|0)==1){break b}if(t[e+11|0]<=-1){dc(v[e>>2])}if(t[e+27|0]<=-1){dc(v[e+16>>2])}Qb=e+32|0;return}b=P()|0;O()|0;break a}b=P()|0;O()|0;if(t[e+11|0]>-1){break a}dc(v[e>>2])}if(t[e+27|0]<=-1){dc(v[e+16>>2])}T(b|0);L()}function MN(a){var b=0,c=C(0),d=0,e=C(0),f=0,g=C(0);f=(q(a),j(2));b=f&2147483647;if(b>>>0>=1283457024){return((q(a),j(2))&2147483647)>>>0>2139095040?a:(l(2,(q(a),j(2))&-2147483648|1070141402),p())}a:{b:{if(b>>>0<=1054867455){if(b>>>0<964689920){break a}b=-1;d=1;break b}a=C(D(a));c:{if(b>>>0<=1066926079){if(b>>>0<=1060110335){a=C(C(C(a+a)+C(-1))/C(a+C(2)));b=0;d=0;break b}b=1;a=C(C(a+C(-1))/C(a+C(1)));break c}if(b>>>0<=1075576831){b=2;a=C(C(a+C(-1.5))/C(C(a*C(1.5))+C(1)));break c}b=3;a=C(C(-1)/a)}d=0}e=C(a*a);c=C(e*e);g=C(c*C(C(c*C(-.106480173766613))+C(-.19999158382415771)));c=C(e*C(C(c*C(C(c*C(.06168760731816292))+C(.14253635704517365)))+C(.333333283662796)));if(d){return C(a-C(a*C(g+c)))}b=b<<2;a=C(z[b+1006416>>2]-C(C(C(a*C(g+c))-z[b+1006432>>2])-a));a=(f|0)>-1?a:C(-a)}return a}function GV(a,b){var c=0,d=0,e=0,f=0,g=0;e=Qb-32|0;Qb=e;Fu(v[a+4>>2]);v[a+4>>2]=0;c=v[a+8>>2];if(c){dc(c)}v[a+8>>2]=0;v[a+12>>2]=0;c=e+16|0;v[c+12>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;v[c>>2]=530160;v[299999]=0;f=Y(2523,c|0,b|0,0)|0;b=v[299999];v[299999]=0;a:{if((b|0)==1){break a}if(f){v[299999]=0;b=v[c+12>>2];d=v[299999];v[299999]=0;if((d|0)==1){break a}v[a+12>>2]=b;v[299999]=0;d=S(15,b|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break a}v[a+8>>2]=d;v[299999]=0;v[e+12>>2]=0;Z(2525,c|0,d|0,b|0,e+12|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}v[299999]=0;R(2526,c|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+12>>2];d=v[a+8>>2];v[299999]=0;b=ca(2933,d|0,b|0,0,0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break a}v[a+4>>2]=b}lg(c);Qb=e+32|0;return f}a=P()|0;O()|0;lg(c);T(a|0);L()}function kna(a,b){a=a|0;b=b|0;var c=0,d=0;c=Qb-80|0;Qb=c;a=a+72|0;Uw(c,a);v[299999]=0;b=Y(4612,c+40|0,b|0,c|0)|0;d=v[299999];v[299999]=0;a:{b:{if((d|0)!=1){v[299999]=0;Q(4478,a|0,b|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break b}v[b+24>>2]=981312;v[b>>2]=981280;a=v[b+28>>2];if(a){d=v[a+4>>2]-1|0;v[a+4>>2]=d;if(!d){Ub[v[v[a>>2]+4>>2]](a)}v[b+28>>2]=0}v[b+16>>2]=981312;a=v[b+20>>2];if(a){d=v[a+4>>2]-1|0;v[a+4>>2]=d;if(!d){Ub[v[v[a>>2]+4>>2]](a)}v[b+20>>2]=0}ec(b+8|0);v[c+24>>2]=981312;v[c>>2]=981280;a=v[c+28>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Ub[v[v[a>>2]+4>>2]](a)}v[c+28>>2]=0}v[c+16>>2]=981312;a=v[c+20>>2];if(a){b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Ub[v[v[a>>2]+4>>2]](a)}v[c+20>>2]=0}ec(c+8|0);Qb=c+80|0;return}a=P()|0;O()|0;break a}a=P()|0;O()|0;$c(b)}$c(c);T(a|0);L()}function y3a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=Qb-16|0;Qb=g;f=v[a+712>>2];v[g+12>>2]=0;a:{if(!f){break a}e=v[f+3132>>2];if(!e){e=Fd(v[a+100>>2],2,g+12|0);c=v[g+12>>2];if(c){break a}u[e>>1]=0;a=v[f+1500>>2];b:{if((a|0)==65535){break b}c:{if(a>>>0>=391){a=a-391|0;if(a>>>0>=y[f+1356>>2]){break b}a=v[v[f+1360>>2]+(a<<2)>>2];break c}c=v[f+3084>>2];if(!c){break b}a=Ub[v[c+20>>2]](a)|0}if(!a){break b}a=yd(a,279701);if(!a){break b}c=a+7|0;a=yd(c,273827);if(!a|(a|0)==(c|0)){break b}while(1){d:{d=w[c|0];e:{if((d-48&255)>>>0<=9){d=x[e>>1];if(d>>>0>6551){break d}d=B(d,10);u[e>>1]=d;u[e>>1]=(d+t[c|0]|0)-48;break e}d=d-10|0;if(d>>>0>22|!(1<>1]=0}v[f+3132>>2]=e;c=v[g+12>>2]}u[b>>1]=x[e>>1]}Qb=g+16|0;return c|0}function ux(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=Qb-16|0;Qb=c;v[c+12>>2]=166;g=v[c+12>>2];b=v[a+656>>2];if(b){d=v[a+660>>2];if(d){while(1){b=v[(e<<2)+b>>2];a:{if(x[b+12>>1]!=65){break a}f=v[b+16>>2];if(Oc(4034,f,4)){break a}dc(f);dc(b);d=v[a+660>>2]}e=e+1|0;if(e>>>0>>0){b=v[a+656>>2];continue}break}b=v[a+656>>2]}dc(b);v[a+660>>2]=0}if(!Kl(a,77296,g)){zc(v[a+628>>2],5487,10582,0)}eg(a+40|0,0,208);v[a+100>>2]=-1;v[a+92>>2]=65537;v[a+96>>2]=65537;v[a+192>>2]=1;v[a+72>>2]=0;v[a+76>>2]=1;u[a+136>>1]=2;v[a+84>>2]=65537;v[a+676>>2]=0;v[a+672>>2]=388;v[a+668>>2]=389;v[a+664>>2]=0;v[a+652>>2]=390;u[a+208>>1]=1;v[a+204>>2]=131074;b=a- -64|0;v[b>>2]=1;v[b+4>>2]=0;b=v[282616];if(b){Ub[b|0](a)}v[c>>2]=1;Id(a,259,c);v[a+588>>2]=-1;v[a+508>>2]=-1;v[a+12>>2]=v[a+12>>2]&-1033;Qb=c+16|0;return 1}function s1a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;i=Qb-16|0;Qb=i;e=6;a:{if((b|0)<0|v[a+16>>2]<=(b|0)){break a}f=v[a+8>>2];e=v[a+4>>2]+d|0;b:{if(f>>>0>=e>>>0){break b}g=v[a>>2];j=c-g|0;m=(j|0)>-1&f>>>0>j>>>0;while(1){f=((f>>>2|0)+f|0)+1024&-1024;if(e>>>0>f>>>0){continue}break}k=v[a+32>>2];h=Fd(k,f,i+12|0);v[a>>2]=h;e=v[i+12>>2];if(e){v[a>>2]=g;break a}if(g){gc(h,g,v[a+8>>2]);h=v[a+16>>2];if((h|0)>=1){e=v[a+24>>2];h=e+(h<<2)|0;n=v[a>>2]-g|0;while(1){l=v[e>>2];if(l){v[e>>2]=n+l}e=e+4|0;if(h>>>0>e>>>0){continue}break}}if(g){Ub[v[k+8>>2]](k,g)}}v[a+8>>2]=f;e=m?j:-1;if((e|0)<0){break b}c=e+v[a>>2]|0}e=0;b=b<<2;f=v[a>>2];g=v[a+4>>2];v[b+v[a+24>>2]>>2]=f?f+g|0:0;v[b+v[a+28>>2]>>2]=d;gc(g+v[a>>2]|0,c,d);v[a+4>>2]=v[a+4>>2]+d}Qb=i+16|0;return e|0}function lv(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;k=e>>8;if((d|0)==(f|0)){zo(a,k,b);return}n=e&255;h=c&255;j=c>>8;if((j|0)==(k|0)){b=f-d|0;v[a+56>>2]=b+v[a+56>>2];v[a+60>>2]=v[a+60>>2]+B(b,h+n|0);return}i=f-d|0;l=-1;g=a;c=e-c|0;a:{if((c|0)>-1){o=256;l=1;e=256-h|0;break a}c=0-c|0;e=h}i=B(e,i);e=(i|0)/(c|0)|0;m=g;i=i-B(c,e)|0;g=e+(i>>31)|0;v[m+56>>2]=g+v[a+56>>2];v[a+60>>2]=v[a+60>>2]+B(g,h|o);e=j+l|0;zo(a,e,b);h=d+g|0;if((e|0)!=(k|0)){g=(f+g|0)-h<<8;d=(g|0)/(c|0)|0;g=g-B(c,d)|0;j=g>>31;m=(j&c)+g|0;j=d+j|0;d=i-((i|0)<0?0:c)|0;while(1){d=d+m|0;g=j+((d^-1)>>>31|0)|0;v[a+56>>2]=g+v[a+56>>2];v[a+60>>2]=v[a+60>>2]+(g<<8);e=e+l|0;zo(a,e,b);d=d-((d|0)<0?0:c)|0;h=g+h|0;if((e|0)!=(k|0)){continue}break}}b=f-h|0;v[a+56>>2]=b+v[a+56>>2];v[a+60>>2]=v[a+60>>2]+B(b,(n|256)-o|0)}function jh(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=Qb-16|0;Qb=g;a:{b:{e=v[b+4>>2];f=!e;d=x[b+2>>1];if(d>>>0<=13){d=v[(d<<2)+81924>>2]}else{d=0}if(f|!d){break b}d=Bib(d,0,e,0);if(Tb){break b}c:{if(!(w[a+13|0]&8)){if((Ub[v[a+640>>2]](v[a+628>>2],v[b+8>>2],0)|0)!=v[b+8>>2]){break b}if((Ub[v[a+632>>2]](v[a+628>>2],c,d)|0)==(d|0)){break c}break b}f=v[b+8>>2];e=d+f|0;if(e>>>0>>0|d>>>0>e>>>0|y[a+616>>2]>>0){break b}oe(c,v[a+612>>2]+f|0,d)}d:{if(!(w[a+12|0]&128)){break d}h=d;e:{switch(x[b+2>>1]-3|0){case 0:case 5:_q(c,v[b+4>>2]);break d;case 1:case 6:case 8:Kn(c,v[b+4>>2]);break d;case 2:case 7:Kn(c,v[b+4>>2]<<1);break d;case 9:break e;default:break a}}wC(c,v[b+4>>2])}h=d;break a}c=v[a>>2];d=v[a+628>>2];i=g,j=v[tf(a,x[b>>1])+16>>2],v[i>>2]=j;zc(d,c,54727,g)}Qb=g+16|0;return h}function Dw(a){var b=0,c=0;b=v[a+4>>2];c=v[v[b>>2]-12>>2];v[299999]=0;b=v[(b+c|0)+24>>2];c=v[299999];v[299999]=0;a:{if((c|0)==1){break a}b:{if(!b){break b}b=v[a+4>>2];c=v[v[b>>2]-12>>2];v[299999]=0;b=v[(b+c|0)+16>>2];c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break b}b=v[a+4>>2];if(!(v[(v[v[b>>2]-12>>2]+b|0)+4>>2]&8192)){break b}if(eN()){break b}b=v[a+4>>2];c=v[v[b>>2]-12>>2];v[299999]=0;b=v[(b+c|0)+24>>2];c=v[299999];v[299999]=0;c:{if((c|0)==1){break c}v[299999]=0;b=S(5462,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break c}if((b|0)!=-1){break b}a=v[a+4>>2];b=v[v[a>>2]-12>>2];v[299999]=0;V(5463,a+b|0,1);a=v[299999];v[299999]=0;if((a|0)!=1){break b}}a=W(0)|0;O()|0;ea(a|0)|0;v[299999]=0;ba(4230);a=v[299999];v[299999]=0;if((a|0)==1){break a}}return}W(0)|0;O()|0;lc();L()}function uT(a,b){var c=0,d=0,e=0,f=0,g=0;c=Qb-80|0;Qb=c;v[c+64>>2]=13;v[c+48>>2]=13;v[c+32>>2]=13;v[c+16>>2]=13;v[c>>2]=13;a:{if(v[b>>2]==7){b:{if(v[rc(v[b+8>>2],235691,c- -64|0,0)>>2]!=6){break b}d=v[c+72>>2];if(v[d+12>>2]<2){break b}while(1){if(v[yc(d,e,c+48|0,0)>>2]==1){if(v[yc(v[c+72>>2],e|1,c+32|0,0)>>2]==7){f=v[a+156>>2];d=fc(20);v[299999]=0;Y(3359,d|0,v[c+56>>2],v[c+40>>2])|0;g=v[299999];v[299999]=0;if((g|0)==1){break a}Tc(f,d)}hc(c+32|0)}hc(c+48|0);e=e+2|0;d=v[c+72>>2];if((e|0)<(v[d+12>>2]-1|0)){continue}break}}hc(c- -64|0);c:{if(v[rc(v[b+8>>2],236947,c+16|0,0)>>2]!=6){break c}d=v[c+24>>2];if(v[d+12>>2]<1){break c}e=0;while(1){yc(d,e,c,0);uT(a,c);hc(c);e=e+1|0;d=v[c+24>>2];if((e|0)>2]){continue}break}}hc(c+16|0)}Qb=c+80|0;return}a=P()|0;O()|0;dc(d);T(a|0);L()}function sea(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Qb-16|0;Qb=c;d=v[b>>2];if(d){v[d+4>>2]=v[d+4>>2]+1;e=v[b>>2]}v[299999]=0;v[c>>2]=e;V(5375,c+8|0,c|0);b=v[299999];v[299999]=0;a:{b:{c:{if((b|0)!=1){b=v[c>>2];v[c>>2]=0;d:{if(!b){break d}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(d){break d}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}v[299999]=0;V(5376,a|0,v[c+8>>2]);a=v[299999];v[299999]=0;if((a|0)==1){break c}a=v[c+8>>2];v[c+8>>2]=0;e:{if(!a){break e}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(b){break e}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Qb=c+16|0;return}a=P()|0;break b}c=c+8|0;a=P()|0}O()|0;ec(c);T(a|0);L()}W(0)|0;O()|0;lc();L()}function $v(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;i=v[b+8>>2];d=d-i|0;g=v[b+4>>2];h=c-g|0;c=v[a+36>>2];if(c){if(!(t[a|0]&1)){dc(c)}v[a+36>>2]=0;v[a+40>>2]=0}c=v[a+28>>2];if(c){dc(c);v[a+28>>2]=0}c=(((i^-1)+f|0)-d|0)+1|0;v[a+32>>2]=c;v[a+24>>2]=(((g^-1)+e|0)-h|0)+1;v[a+20>>2]=c;v[a>>2]=v[a>>2]|1;c=jc(c<<2);v[a+28>>2]=c;e=v[a+20>>2];a:{if((e|0)<1){break a}v[c>>2]=v[v[b+28>>2]+(d<<2)>>2]+(h<<2);if((e|0)==1){break a}c=1;f=e-1|0;i=f&1;if((e|0)!=2){f=f&-2;while(1){g=h<<2;v[v[a+28>>2]+(c<<2)>>2]=g+v[v[b+28>>2]+(c+d<<2)>>2];j=c+1|0;v[v[a+28>>2]+(j<<2)>>2]=g+v[v[b+28>>2]+(d+j<<2)>>2];c=c+2|0;f=f-2|0;if(f){continue}break}}if(!i){break a}v[v[a+28>>2]+(c<<2)>>2]=v[v[b+28>>2]+(c+d<<2)>>2]+(h<<2)}c=v[b+4>>2]+h|0;v[a+4>>2]=c;b=v[b+8>>2];v[a+12>>2]=c+v[a+24>>2];b=b+d|0;v[a+8>>2]=b;v[a+16>>2]=b+e}function zm(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;j=v[b+44>>2];a:{if(j){g=x[b+26>>1];b:{if((g|0)==8){f=w[v[b+56>>2]+(B(v[b+52>>2],d)+c|0)|0];break b}h=w[v[b+56>>2]+(B(v[b+52>>2],d)+(B(c,g)>>3)|0)|0];c:{switch(g-1|0){case 3:f=B((c|0)%2|0,252)+4&252;f=(h&15<>>f|0;break b;case 0:break c;default:break b}}f=7-((c|0)%8|0)|0;f=(h&1<>>f|0}h=v[b+4>>2];d:{if(!h){g=0;i=0;break d}g=0;f=f&255;i=0;if(f>>>0>=j>>>0){break d}f=(h+40|0)+(f<<2)|0;g=w[f+1|0]<<8;k=w[f+3|0]<<24;l=w[f|0];i=w[f+2|0]<<16}h=i;f=h|k|g|l;t[a|0]=f;t[a+1|0]=f>>>8;t[a+2|0]=f>>>16;t[a+3|0]=f>>>24;break a}f=(v[b+56>>2]+B(v[b+52>>2],d)|0)+B(c,3)|0;t[a|0]=w[f|0];t[a+1|0]=w[f+1|0];f=w[f+2|0];t[a+3|0]=0;t[a+2|0]=f}if(!(!v[b+964>>2]|!e)){t[a+3|0]=w[v[b+964>>2]+(B(v[b+16>>2],d)+c|0)|0]}}function qm(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=v[a>>2];a:{if(c-2>>>0>34|d>>>0>=b>>>0){break a}b:{c:{e=w[d|0];switch(e-43|0){case 0:case 2:break c;default:break b}}d=d+1|0;if((d|0)==(b|0)){break a}k=(e|0)==45;e=w[d|0];switch(e-43|0){case 0:case 2:break a;default:break b}}h=2147483647/(c>>>0)|0;d:{e:{if(b>>>0<=d>>>0){v[a>>2]=d;break e}l=2147483647-B(c,h)|0;while(1){f:{g:{h:{switch(e|0){case 0:case 9:case 10:case 12:case 13:case 32:break g;default:break h}}if(e<<24>>24<0){break g}e=t[e+382528|0];if((e|0)<0|(c|0)<=(e|0)){break g}i=1;g=f;i:{if((f|0)>(h|0)){break i}if((f|0)==(h|0)){g=h;if((e|0)>(l|0)){break i}}i=j;g=e+B(c,f)|0}f=g;d=d+1|0;if((d|0)!=(b|0)){break f}j=i;d=b}v[a>>2]=d;a=2147483647;if(j&255){break d}break e}e=w[d|0];j=i;continue}}a=f}f=k?0-a|0:a}return f}function sEa(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;a:{h=v[a+8>>2];if((h|0)<1){break a}e=A[a+16>>3];d=A[a+24>>3];i=A[b>>3];i=e>i?e:d>2]){b=0;while(1){f=b<<3;g=f+a|0;e=A[g+1304>>3];f=c+f|0;d=A[g+1048>>3];e=d+de(i,A[a+1560>>3])*(e-d);A[f>>3]=e;g=(b<<4)+a|0;d=A[g+528>>3];b:{if(!(e>3];if(!(e>d)){break b}}A[f>>3]=d}b=b+1|0;if((h|0)!=(b|0)){continue}break}break a}b=0;if((h|0)!=1){g=h&-2;j=a+1048|0;k=a+1304|0;while(1){f=b<<3;e=A[f+k>>3];d=A[f+j>>3];l=c+f|0,m=d+de(i,A[a+1560>>3])*(e-d),A[l>>3]=m;f=f|8;e=A[f+k>>3];d=A[f+j>>3];l=c+f|0,m=d+de(i,A[a+1560>>3])*(e-d),A[l>>3]=m;b=b+2|0;g=g-2|0;if(g){continue}break}}if(!(h&1)){break a}b=b<<3;h=b+a|0;e=A[h+1304>>3];d=A[h+1048>>3];l=b+c|0,m=d+de(i,A[a+1560>>3])*(e-d),A[l>>3]=m}}function nK(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=A[b+40>>3];e=A[b+80>>3];f=A[b+48>>3];d=A[b+72>>3];g=c*e-f*d;h=d;d=A[b+32>>3];i=c;c=A[b+64>>3];c=A[b+16>>3]*(h*d-i*c)+(A[b>>3]*g-A[b+8>>3]*(e*d-f*c));if((c>=0?c:-c)<1e-6){a=-1}else{A[a>>3]=g/c;A[a+32>>3]=-(A[b+32>>3]*A[b+80>>3]-A[b+48>>3]*A[b+64>>3])/c;A[a+64>>3]=(A[b+32>>3]*A[b+72>>3]-A[b+40>>3]*A[b+64>>3])/c;A[a+8>>3]=-(A[b+8>>3]*A[b+80>>3]-A[b+16>>3]*A[b+72>>3])/c;A[a+40>>3]=(A[b>>3]*A[b+80>>3]-A[b+16>>3]*A[b+64>>3])/c;A[a+72>>3]=-(A[b>>3]*A[b+72>>3]-A[b+8>>3]*A[b+64>>3])/c;A[a+16>>3]=(A[b+8>>3]*A[b+48>>3]-A[b+16>>3]*A[b+40>>3])/c;A[a+48>>3]=-(A[b>>3]*A[b+48>>3]-A[b+32>>3]*A[b+16>>3])/c;A[a+80>>3]=(A[b>>3]*A[b+40>>3]-A[b+8>>3]*A[b+32>>3])/c;A[a+24>>3]=-A[b+24>>3];A[a+56>>3]=-A[b+56>>3];A[a+88>>3]=-A[b+88>>3];a=0}return a}function Vu(a,b){var c=0,d=0,e=0,f=0,g=0;a:{if(v[a+32>>2]|!a){break a}e=v[a+24>>2];d=v[a+8>>2];if(!((e|0)==(d|0)|d>>>0>2147483646)){v[a+24>>2]=d;e=d}d=v[a+20>>2];f=v[a+4>>2];if(!((d|0)==(f|0)|f>>>0>2147483646)){v[a+20>>2]=f;d=f}if(!b|b>>>0>d>>>0){break a}d=d-b|0;v[a+20>>2]=d;b:{c:{d:{switch(v[a+12>>2]-2|0){case 0:c=e-b|0;v[a+24>>2]=c;v[a>>2]=v[a>>2]+b;break b;case 1:if(v[a+16>>2]){break c}break;default:break d}}c=v[a>>2];Wd(c,b+c|0,d);t[v[a>>2]+v[a+20>>2]|0]=0;c=v[a+24>>2];break b}c=e-b|0;v[a+24>>2]=c;e=v[a>>2]+b|0;v[a>>2]=e;f=v[a+16>>2];if(!f){break b}g=e-f|0;if(g>>>0>>0){break b}Wd(f,e,d);c=v[a+16>>2];v[a>>2]=c;t[c+v[a+20>>2]|0]=0;c=v[a+24>>2]+g|0;v[a+24>>2]=c}v[a+8>>2]=c>>>0<2147483647?c:2147483647;d=a;a=v[a+20>>2];v[d+4>>2]=a>>>0<2147483647?a:2147483647;c=b}return c}function G1a(a){a=a|0;var b=0,c=0,d=0,e=0;if(a){e=v[v[a+96>>2]+8>>2];v[a+20>>2]=0;v[a+24>>2]=0;d=v[a+100>>2];b=d;c=v[a+368>>2];if(c){Ub[v[b+8>>2]](b,c)}v[a+368>>2]=0;b=d;c=v[a+372>>2];if(c){Ub[v[b+8>>2]](b,c)}v[a+372>>2]=0;c=v[a+376>>2];if(c){Ub[v[b+8>>2]](b,c)}v[a+376>>2]=0;c=v[a+364>>2];if(c){Ub[v[b+8>>2]](b,c)}v[a+360>>2]=0;v[a+364>>2]=0;v[a+348>>2]=0;v[a+352>>2]=0;c=v[a+388>>2];if(c){Ub[v[b+8>>2]](b,c)}v[a+380>>2]=0;v[a+384>>2]=0;v[a+388>>2]=0;c=v[a+416>>2];if(c){Ub[v[b+8>>2]](b,c)}v[a+408>>2]=0;v[a+412>>2]=0;v[a+416>>2]=0;b=v[a+396>>2];if(b){Ub[v[d+8>>2]](d,b)}v[a+392>>2]=0;v[a+396>>2]=0;b=v[a+424>>2];if(b){while(1){c=v[b>>2];if(b){Ub[v[d+8>>2]](d,b)}b=c;if(b){continue}break}}v[a+428>>2]=0;v[a+420>>2]=0;v[a+424>>2]=0;b=v[a+32>>2];if(b){Ub[v[e+8>>2]](e,b)}v[a+32>>2]=0}}function EM(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=Qb-80|0;Qb=f;e=49811;d=v[b+4>>2];g=x[a+98>>1];i=d>>>0>>0;a:{b:{if(!i){e=50410;if(d>>>0<=g>>>0){break b}}d=v[a>>2];h=v[a+628>>2];j=v[tf(a,x[b>>1])+16>>2];v[f+20>>2]=v[b+4>>2];v[f+16>>2]=j;v[f+24>>2]=g;Ld(h,d,e,f+16|0);d=0;if(i){break a}d=v[b+4>>2]}e=f+32|0;if(d>>>0>=11){e=kg(a,d,4,56040);if(!e){d=0;break a}d=v[b+4>>2]}c:{d:{if((d|0)==1){v[e>>2]=v[b+8>>2];break d}if(jh(a,b,e)){break d}d=0;break c}d=1;i=v[e>>2];e:{h=v[b+4>>2];h=(g|0)<(h|0)?g:h;if((h|0)<=1){break e}g=1;while(1){if((i|0)==v[(d<<2)+e>>2]){g=g+1|0;d=g&65535;if((h|0)>(d|0)){continue}break e}break}c=v[a>>2];d=v[a+628>>2];k=f,l=v[tf(a,x[b>>1])+16>>2],v[k>>2]=l;zc(d,c,56434,f);d=0;break c}v[c>>2]=i;d=1}if((f+32|0)==(e|0)){break a}dc(e)}Qb=f+80|0;return d}function fZ(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;h=Ub[v[a+596>>2]](a)|0;f=v[b>>2];a:{if(!f){break a}g=a+36|0;e=1;while(1){b=v[a+28>>2];if((b|0)<=1){if(w[a+565|0]){v[a+12>>2]=129}v[a+28>>2]=0;break a}d=b-2|0;v[a+28>>2]=d;c=b<<2;b=v[a+24>>2];c=x[(c+b|0)-4>>1];b:{if(c>>>0>1]){d=v[b+(d<<2)>>2];b=d>>>4&15;c:{d:{switch(w[a+372|0]-113|0){case 0:b=b|16;break c;case 1:break d;default:break c}}b=b|32}if((x[a+336>>1]+b|0)!=(h|0)){break b}b=d&15;b=(b>>>0>7?-7:-8)+b<<6-x[a+338>>1];if(!(!w[a+615|0]|v[v[v[a>>2]+96>>2]+64>>2]!=40)){if(!(w[c+v[a+60>>2]|0]&16?1:x[a+304>>1]?w[a+564|0]:0)|(w[a+617|0]?w[a+616|0]:0)){break b}Ub[v[a+588>>2]](a,g,c,b);break b}Ub[v[a+588>>2]](a,g,c,b);break b}if(!w[a+565|0]){break b}v[a+12>>2]=134}e=e+1|0;if(f>>>0>=e>>>0){continue}break}}v[a+32>>2]=v[a+28>>2]}function X2a(a){a=a|0;var b=0,c=0,d=0;d=a;b=v[a+440>>2];a:{b:{if(v[b+8>>2]){v[b+8>>2]=0;Ub[v[v[a+480>>2]>>2]](a,0);Ub[v[v[a+452>>2]>>2]](a,2);c=2;break b}c:{if(v[a+136>>2]|!v[a+84>>2]){break c}if(!(!v[a+92>>2]|!v[a+108>>2])){v[a+480>>2]=v[b+24>>2];v[b+8>>2]=1;break c}if(v[a+100>>2]){v[a+480>>2]=v[b+20>>2];break c}c=v[a>>2];v[c+20>>2]=47;Ub[v[c>>2]](a)}Ub[v[v[a+468>>2]>>2]](a);Ub[v[v[a+448>>2]+8>>2]](a);if(v[a+68>>2]){break a}if(!v[b+16>>2]){Ub[v[v[a+476>>2]>>2]](a)}Ub[v[v[a+472>>2]>>2]](a);if(v[a+84>>2]){Ub[v[v[a+480>>2]>>2]](a,v[b+8>>2])}Ub[v[v[a+452>>2]>>2]](a,v[b+8>>2]?3:0);c=0}Ub[v[v[a+444>>2]>>2]](d,c)}d=v[a+8>>2];d:{if(!d){break d}c=v[b+12>>2];v[d+12>>2]=c;b=(v[b+8>>2]?2:1)+c|0;v[d+16>>2]=b;if(v[v[a+456>>2]+20>>2]|!v[a+64>>2]){break d}v[d+16>>2]=b+(v[a+108>>2]?2:1)}}function ghb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{f=v[a+84>>2]-4|0;if(f){if((f|0)==12){break c}else{break a}}a=a- -64|0;break b}d=-1;a=v[a+52>>2];if(!a|v[a+40>>2]){break a}a=a+32|0}a=v[a>>2];d=v[a>>2]|1;v[a>>2]=d;c=b+12|0;t[a+8|0]=w[c+1|0];t[a+16|0]=w[c+8|0]?w[c+17|0]?2:1:0;v[a+12>>2]=v[c+4>>2];t[a+17|0]=w[c|0]&6;f=a;e=v[a+20>>2];if((e|0)>=1){b=v[a+24>>2];while(1){g=v[b>>2];if(!(g&4)){t[b+5|0]=w[c+13|0]+1;t[b+6|0]=w[c+14|0]+2;t[b+7|0]=w[c+15|0]+2;t[b+8|0]=w[c+17|0];t[b+418|0]=w[c+16|0];t[b+4|0]=t[c+12|0]&1;d=0;if(v[c+20>>2]>=1){while(1){e=b+d|0;h=c+(d<<1)|0;t[e+419|0]=w[h+24|0];t[e+452|0]=w[h+25|0];d=d+1|0;if((d|0)>2]){continue}break}e=v[a+20>>2]}v[b>>2]=g|1}b=b+488|0;i=i+1|0;if((i|0)<(e|0)){continue}break}d=v[a>>2]}v[f>>2]=d|1;d=0}return d|0}function fx(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=Qb-16|0;Qb=d;v[a>>2]=0;a:{b:{c:{d:{e:{if(!c){break e}e=Bc(c);if((e|0)<1){break e}f=v[v[b>>2]+8>>2];v[299999]=0;U(f|0,d+8|0,b|0,e|0);b=v[299999];v[299999]=0;if((b|0)==1){break d}v[299999]=0;Q(4344,a|0,d+8|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break c}b=v[d+8>>2];v[d+8>>2]=0;f:{if(!b){break f}v[299999]=0;f=v[b+4>>2]-1|0;v[b+4>>2]=f;g=v[299999];v[299999]=0;if((g|0)==1){break a}if(f){break f}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}a=v[v[a>>2]+12>>2];b=w[c|0];g:{if(!b){break g}e=c+e|0;while(1){t[a|0]=b;a=a+1|0;b=w[c+1|0];if(!b){break g}c=c+1|0;if((e|0)!=(c|0)){continue}break}}t[a|0]=0}Qb=d+16|0;return}c=P()|0;O()|0;break b}c=P()|0;O()|0;ec(d+8|0)}ec(a);T(c|0);L()}W(0)|0;O()|0;lc();L()}function LYa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;c=c<<2;g=v[c+v[b+8>>2]>>2];h=v[c+v[b+4>>2]>>2];i=v[c+v[b>>2]>>2];b=v[d>>2];f=v[a+332>>2];c=v[a+472>>2];l=v[c+28>>2];m=v[c+24>>2];n=v[c+20>>2];o=v[c+16>>2];c=v[a+112>>2];if(c>>>0>=2){d=c>>>1|0;while(1){e=w[h|0]<<2;c=v[e+n>>2];j=w[g|0]<<2;k=v[j+m>>2];p=v[e+l>>2];j=v[j+o>>2];e=w[i|0];t[b|0]=w[f+(j+e|0)|0];k=k+p>>16;t[b+1|0]=w[f+(k+e|0)|0];t[b+2|0]=w[f+(c+e|0)|0];e=w[i+1|0];t[b+3|0]=w[f+(e+j|0)|0];t[b+4|0]=w[f+(e+k|0)|0];t[b+5|0]=w[f+(c+e|0)|0];b=b+6|0;i=i+2|0;g=g+1|0;h=h+1|0;d=d-1|0;if(d){continue}break}c=v[a+112>>2]}if(c&1){a=w[h|0]<<2;c=v[a+n>>2];d=w[g|0]<<2;g=v[d+m>>2];h=v[a+l>>2];a=w[i|0];t[b|0]=w[f+(a+v[d+o>>2]|0)|0];t[b+1|0]=w[f+(a+(g+h>>16)|0)|0];t[b+2|0]=w[f+(a+c|0)|0]}}function mE(a,b,c,d){var e=0,f=0,g=0,h=0;e=v[c>>2];h=v[d>>2];a:{if(h>>>0>=b>>>0){break a}while(1){f=4;b:{c:{switch(t[a+h|0]-43|0){case 2:f=132;break b;case 3:f=16;break b;case 5:f=8;break b;case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:f=264;break b;case 0:break b;case 26:case 58:break c;default:break a}}f=32}d:{e:{switch((f&60|e&3)-4|0){case 0:if(e&60){break a}g=e|f;break d;case 12:if(e&16){break a}g=e|f;if(e&8){break d}g=e&448|f|1;break d;case 4:g=(e&16?e&384|17:e)|f|64;break d;case 28:if(!(e&8)){break a}g=e&448|2;break d;case 5:g=e|f|64;break d;case 29:if(!(e&8)){break a}g=e&448|2;break d;case 2:if(e&60){break a}g=e|4;break d;case 6:break e;default:break a}}g=e|72}e=g;h=h+1|0;if((h|0)!=(b|0)){continue}break}h=b}v[c>>2]=e;v[d>>2]=h;return e>>>3&1}function Cia(a){a=a|0;var b=0,c=0,d=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=990236;v[a+4>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;v[299999]=0;b=Z(4407,a+44|0,a+40|0,0,4)|0;c=v[299999];v[299999]=0;a:{if((c|0)!=1){v[299999]=0;Z(4407,a+56|0,a+52|0,0,4)|0;c=v[299999];v[299999]=0;if((c|0)!=1){break a}c=P()|0;O()|0;Lc(b);Qc(a);T(c|0);L()}b=P()|0;O()|0;Qc(a);T(b|0);L()}v[a>>2]=990268;v[299999]=0;c=Z(4407,a+68|0,a- -64|0,0,3)|0;b=v[299999];v[299999]=0;b:{c:{d:{e:{if((b|0)!=1){v[299999]=0;d=Z(4407,a+80|0,a+76|0,0,3)|0;b=v[299999];v[299999]=0;if((b|0)==1){break e}v[299999]=0;Z(4407,a+92|0,a+88|0,0,3)|0;b=v[299999];v[299999]=0;if((b|0)==1){break d}return a|0}b=P()|0;O()|0;break b}b=P()|0;O()|0;break c}b=P()|0;O()|0;Lc(d)}Lc(c)}hx(a);T(b|0);L()}function Aab(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,j=0,k=0,l=0,m=0;if(e){m=e-1|0;while(1){u[g>>1]=x[f>>1];u[g+2>>1]=x[f+2>>1];u[g+4>>1]=x[f+4>>1];h=g+6|0;a=j?(j|0)==(m|0)?d:b:c;a:{if(a>>>0<2){g=h;break a}i=a-1|0;k=i&3;b:{if(a-2>>>0<3){i=h;a=g;break b}l=i&-4;a=g;while(1){u[h>>1]=x[f>>1];u[a+8>>1]=x[f+2>>1];u[a+10>>1]=x[f+4>>1];u[h+6>>1]=x[f>>1];u[h+8>>1]=x[f+2>>1];u[h+10>>1]=x[f+4>>1];u[h+12>>1]=x[f>>1];u[h+14>>1]=x[f+2>>1];u[h+16>>1]=x[f+4>>1];u[h+18>>1]=x[f>>1];u[h+20>>1]=x[f+2>>1];u[h+22>>1]=x[f+4>>1];a=h+18|0;i=h+24|0;h=i;l=l-4|0;if(l){continue}break}}g=i;if(!k){break a}while(1){h=g;u[h>>1]=x[f>>1];u[a+8>>1]=x[f+2>>1];u[a+10>>1]=x[f+4>>1];g=h+6|0;a=h;k=k-1|0;if(k){continue}break}}f=f+6|0;j=j+1|0;if((j|0)!=(e|0)){continue}break}}return 0}function mda(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;e=Qb-32|0;Qb=e;f=v[a+28>>2];v[e+16>>2]=f;d=v[a+20>>2];v[e+28>>2]=c;v[e+24>>2]=b;b=d-f|0;v[e+20>>2]=b;f=b+c|0;j=2;a:{b:{b=e+16|0;d=Da(v[a+60>>2],b|0,2,e+12|0)|0;if(d){v[299402]=d;d=-1}else{d=0}c:{if(!d){while(1){d=v[e+12>>2];if((d|0)==(f|0)){break c}if((d|0)<=-1){break b}g=v[b+4>>2];h=g>>>0>>0;i=(h<<3)+b|0;g=d-(h?g:0)|0;v[i>>2]=g+v[i>>2];i=(h?12:4)+b|0;v[i>>2]=v[i>>2]-g;f=f-d|0;b=h?b+8|0:b;j=j-h|0;d=Da(v[a+60>>2],b|0,j|0,e+12|0)|0;if(d){v[299402]=d;d=-1}else{d=0}if(!d){continue}break}}if((f|0)!=-1){break b}}b=v[a+44>>2];v[a+28>>2]=b;v[a+20>>2]=b;v[a+16>>2]=b+v[a+48>>2];a=c;break a}v[a+28>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a>>2]=v[a>>2]|32;a=0;if((j|0)==2){break a}a=c-v[b+4>>2]|0}Qb=e+32|0;return a|0}function hC(a,b,c,d,e){var f=0,g=0;f=Qb-16|0;Qb=f;g=f+8|0;b=v[b+28>>2];v[g>>2]=b;v[b+4>>2]=v[b+4>>2]+1;v[299999]=0;b=S(5466,g|0)|0;g=v[299999];v[299999]=0;a:{if((g|0)==1){break a}v[299999]=0;Z(5576,b|0,1016064,1016096,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}v[299999]=0;b=S(5563,f+8|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}v[299999]=0;c=S(5577,b|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break a}v[d>>2]=c;v[299999]=0;c=S(5573,b|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break a}v[e>>2]=c;v[299999]=0;V(5574,a|0,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}a=v[f+8>>2];b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}Qb=f+16|0;return}c=P()|0;O()|0;a=v[f+8>>2];b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}T(c|0);L()}function wja(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=fc(148);v[299999]=0;f=Q(5082,c|0,b|0)|0;d=v[299999];v[299999]=0;a:{b:{if((d|0)!=1){v[c>>2]=989504;d=w[b+93|0]|w[b+94|0]<<8|(w[b+95|0]<<16|w[b+96|0]<<24);e=w[b+89|0]|w[b+90|0]<<8|(w[b+91|0]<<16|w[b+92|0]<<24);t[c+89|0]=e;t[c+90|0]=e>>>8;t[c+91|0]=e>>>16;t[c+92|0]=e>>>24;t[c+93|0]=d;t[c+94|0]=d>>>8;t[c+95|0]=d>>>16;t[c+96|0]=d>>>24;d=w[b+96|0]|w[b+97|0]<<8|(w[b+98|0]<<16|w[b+99|0]<<24);t[c+96|0]=d;t[c+97|0]=d>>>8;t[c+98|0]=d>>>16;t[c+99|0]=d>>>24;v[299999]=0;d=Q(5083,c+100|0,b+100|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break b}v[299999]=0;Q(5083,c+124|0,b+124|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){b=P()|0;O()|0;fd(d);lx(f);break a}v[a>>2]=0;Wc(a,f);return}b=P()|0;O()|0;break a}b=P()|0;O()|0;lx(f)}dc(c);T(b|0);L()}function Qra(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=Qb-16|0;Qb=d;e=v[b>>2];if(e){v[e+4>>2]=v[e+4>>2]+1;c=v[b>>2]}v[d+8>>2]=c;v[a+8>>2]=1;v[a+4>>2]=0;v[a+12>>2]=0;v[a+16>>2]=0;v[a>>2]=981556;v[a+20>>2]=0;v[a+24>>2]=0;v[a+28>>2]=c;a:{b:{c:{if(c){v[299999]=0;v[c+4>>2]=v[c+4>>2]+1;b=v[299999];v[299999]=0;if((b|0)==1){break c}}v[a+32>>2]=c;v[299999]=0;Z(4407,a+40|0,a+36|0,0,1)|0;b=v[299999];v[299999]=0;if((b|0)==1){c=P()|0;O()|0;ec(a+32|0);break a}ic(a+48|0,0,304);v[d+8>>2]=0;d:{if(!c){break d}v[299999]=0;b=v[c+4>>2]-1|0;v[c+4>>2]=b;e=v[299999];v[299999]=0;if((e|0)==1){break b}if(b){break d}v[299999]=0;R(4338,c|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}}t[a+352|0]=0;v[a>>2]=981600;Qb=d+16|0;return a|0}c=P()|0;O()|0;break a}W(0)|0;O()|0;lc();L()}Ti(a);ec(d+8|0);T(c|0);L()}function lC(a,b,c,d,e){var f=0,g=0;f=Qb-16|0;Qb=f;g=f+8|0;b=v[b+28>>2];v[g>>2]=b;v[b+4>>2]=v[b+4>>2]+1;v[299999]=0;b=S(5533,g|0)|0;g=v[299999];v[299999]=0;a:{if((g|0)==1){break a}v[299999]=0;Z(5555,b|0,1016064,1016096,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}v[299999]=0;b=S(5534,f+8|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}v[299999]=0;c=S(5556,b|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break a}t[d|0]=c;v[299999]=0;c=S(5546,b|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break a}t[e|0]=c;v[299999]=0;V(5547,a|0,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}a=v[f+8>>2];b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}Qb=f+16|0;return}c=P()|0;O()|0;a=v[f+8>>2];b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}T(c|0);L()}function Zta(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,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;h=v[b+44>>2];i=v[b+24>>2];if(h>>>0>>0){v[b+44>>2]=i;h=i}l=-1;m=-1;n=f&24;a:{if(!n|(n|0)==24&(e|0)==1){break a}if(h){g=h-(t[b+43|0]<0?v[b+32>>2]:b+32|0)>>2;o=g;g=g>>31}b:{c:{switch(e|0){case 1:if(f&8){e=v[b+12>>2]-v[b+8>>2]>>2;j=e;k=e>>31;break b}e=i-v[b+20>>2]>>2;j=e;k=e>>31;break b;case 0:break b;case 2:break c;default:break a}}j=o;k=g}e=d+k|0;c=c+j|0;e=j>>>0>c>>>0?e+1|0:e;d=c;c=e;if(d>>>0>o>>>0&(e|0)>=(g|0)|(e|0)>(g|0)|(e|0)<0){break a}e=f&8;d:{if(!(c|d)){break d}if(v[b+12>>2]?0:e){break a}if(!(f&16)){break d}if(!i){break a}}if(e){v[b+16>>2]=h;v[b+12>>2]=v[b+8>>2]+(d<<2)}if(f&16){v[b+24>>2]=v[b+20>>2]+(d<<2)}l=d;m=c}v[a+8>>2]=l;v[a+12>>2]=m;v[a>>2]=0;v[a+4>>2]=0}function MMa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=-9;h=b;a:{b:{c:{d:{e:{e=v[a+4>>2];switch(v[e+48>>2]-8|0){case 1:break d;case 0:break e;default:break a}}b=v[a+8>>2];d=v[a+12>>2];c=8;if(b>>>0>=d>>>0){break b}c=d-b|0;if((c|0)<=3){gc(e+37|0,b,c);t[v[a+4>>2]+36|0]=c;v[a+8>>2]=b+c;c=11;break b}d=w[b+2|0];f=w[b+1|0];g=w[b|0];c=w[b+3|0];break c}b=v[a+8>>2];d=v[a+12>>2];c=8;if(b>>>0>=d>>>0){break b}c=d-b|0;if((c|0)<=3){gc(e+37|0,b,c);t[v[a+4>>2]+36|0]=c;v[a+8>>2]=b+c;c=11;break b}d=w[b+1|0];f=w[b+2|0];g=w[b+3|0];c=w[b|0]}v[a+8>>2]=b+4;d=f<<16|g<<24|d<<8;c=d|c;if(c>>>0<=1114111&(d&-2048)!=55296){break a}b=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);t[e+37|0]=b;t[e+38|0]=b>>>8;t[e+39|0]=b>>>16;t[e+40|0]=b>>>24;t[v[a+4>>2]+36|0]=4;c=12}v[h>>2]=c;c=65535}return c|0}function Leb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=v[v[a+544>>2]+88>>2];e=v[d+1176>>2]+B(v[d+1168>>2],v[a+572>>2])|0;c=v[a+644>>2];a:{if(w[d+56|0]){if(v[a+588>>2]<=0){break a}while(1){b=w[e|0]|w[e+1|0]<<8;f=(b<<8|b>>>8)&65535;g=x[d+836>>1];b=(f|0)==(g|0)?0:f;h=b<<8|b>>>8;t[c|0]=h;t[c+1|0]=h>>>8;b=b<<8|b>>>8;t[c+2|0]=b;t[c+3|0]=b>>>8;t[c+4|0]=b;t[c+5|0]=b>>>8;b=(f|0)!=(g|0)?65535:0;b=b<<8|b>>>8;t[c+6|0]=b;t[c+7|0]=b>>>8;c=c+8|0;e=e+2|0;i=i+1|0;if((i|0)>2]){continue}break}break a}if(v[a+588>>2]<=0){break a}while(1){d=w[e|0]|w[e+1|0]<<8;d=(d<<8|d>>>8)&65535;f=d<<8|d>>>8;t[c|0]=f;t[c+1|0]=f>>>8;d=d<<8|d>>>8;t[c+2|0]=d;t[c+3|0]=d>>>8;t[c+4|0]=d;t[c+5|0]=d>>>8;t[c+6|0]=255;t[c+7|0]=255;c=c+8|0;e=e+2|0;b=b+1|0;if((b|0)>2]){continue}break}}return 0}function $Ea(a,b){a=a|0;b=b|0;var c=0,d=0;c=Qb-32|0;Qb=c;v[c+16>>2]=13;v[c>>2]=13;a:{b:{c:{if(v[a+24>>2]==7){if(v[rc(v[a+32>>2],v[b+4>>2],c+16|0,0)>>2]!=5){a=v[c+16>>2];break c}hc(c+16|0)}if(v[a+40>>2]!=7){break b}b=sT(a,a+40|0,b,c+16|0);a=v[c+16>>2];if((a|0)!=5){break c}hc(b);break b}d:{e:{f:{g:{h:{switch(a-6|0){case 0:a=fc(72);v[299999]=0;d=Q(3363,a|0,v[c+24>>2])|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}hc(c+16|0);break e;case 1:if(v[rc(v[c+24>>2],321761,c,0)>>2]!=6){break g}a=fc(72);v[299999]=0;d=Q(3363,a|0,v[c+8>>2])|0;b=v[299999];v[299999]=0;if((b|0)!=1){break f}break a;default:break h}}kc(0,-1,275551,0);hc(c+16|0);break b}kc(0,-1,275551,0)}hc(c);hc(c+16|0);if(!d){break d}}if(v[d+68>>2]){break b}dc(d)}d=0}Qb=c+32|0;return d|0}b=P()|0;O()|0;dc(a);T(b|0);L()}function sF(a,b,c){var d=0,e=0,f=0,g=0;if(c?!a|!b:1){Ub[v[259806]](v[294239],348926,0);return}a:{if(!v[a+292>>2]|v[a+40>>2]!=1){break a}d=v[a+36>>2];f=v[d+12>>2];e=v[d+20>>2];while(1){d=e;e=d-1|0;if(f>>>0>e>>>0){break a}if(w[e|0]!=60){continue}break}v[b>>2]=e;b:{g=v[a+36>>2];a=v[g+20>>2];if(a>>>0>d>>>0){while(1){b=a;c:{d:{switch(w[d|0]-34|0){case 5:while(1){f=d;d=d+1|0;if(a>>>0>d>>>0&w[d|0]!=39){continue}break};d=a>>>0>d>>>0?f+2|0:d;break c;case 0:while(1){f=d;d=d+1|0;if(a>>>0>d>>>0&w[d|0]!=34){continue}break};d=a>>>0>d>>>0?f+2|0:d;break c;case 28:break b;default:break d}}d=d+1|0}if(b>>>0>d>>>0){continue}break}}a=v[g+12>>2];e:{while(1){e=e-1|0;if(a>>>0>e>>>0){break e}if(w[e|0]!=62){continue}break}v[c>>2]=e;return}v[c>>2]=0;return}v[c>>2]=d;return}v[b>>2]=0;v[c>>2]=0}function xP(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=983556;b=v[a+64>>2];v[a+64>>2]=0;a:{b:{if(!b){break b}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break b}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a+60>>2];v[a+60>>2]=0;c:{if(!b){break c}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break c}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}v[a+24>>2]=981280;v[a+48>>2]=981312;b=v[a+52>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Ub[v[v[b>>2]+4>>2]](b)}v[a+52>>2]=0}v[a+40>>2]=981312;b=v[a+44>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Ub[v[v[b>>2]+4>>2]](b)}v[a+44>>2]=0}ec(a+32|0);ec(a+12|0);Qc(a);return a|0}W(0)|0;O()|0;lc();L()}function tY(a,b,c,d,e,f){var g=0,h=0,i=0;i=Qb-48|0;Qb=i;a:{b:{c:{d:{if(!(v[b+8>>2]|!b|(e==0|f==0))){h=NX(i+40|0);v[299999]=0;za(2415,h|0,+c,+d)|0;g=v[299999];v[299999]=0;if((g|0)==1){break d}v[299999]=0;e=c+e;za(2416,h|0,+e,+d)|0;g=v[299999];v[299999]=0;if((g|0)==1){break d}v[299999]=0;d=d+f;za(2416,h|0,+e,+d)|0;g=v[299999];v[299999]=0;if((g|0)==1){break d}v[299999]=0;za(2416,h|0,+c,+d)|0;g=v[299999];v[299999]=0;if((g|0)==1){break d}v[299999]=0;S(2417,h|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break d}v[299999]=0;b=Y(2153,i|0,b|0,4)|0;g=v[299999];v[299999]=0;if((g|0)==1){break c}v[299999]=0;Y(2418,a|0,b|0,h|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break b}$G(b);jq(h)}Qb=i+48|0;return}a=P()|0;O()|0;break a}a=P()|0;O()|0;break a}a=P()|0;O()|0;$G(b)}jq(h);T(a|0);L()}function gPa(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;v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;d=w[c+11|0];f=d<<24>>24;e=w[b+11|0];g=e<<24>>24<0;a:{b:{e=g?v[b+4>>2]:e;h=(f|0)<0?v[c+4>>2]:d;d=e+h|0;c:{if(d>>>0>=1073741808){v[299999]=0;R(2530,a|0);b=v[299999];v[299999]=0;if((b|0)==1){break c}L()}j=v[b>>2];d:{if(d>>>0<=1){t[a+11|0]=e;d=a;break d}v[299999]=0;i=d+4&-4;d=S(1,i<<2)|0;k=v[299999];v[299999]=0;if((k|0)==1){break c}v[a>>2]=d;v[a+4>>2]=e;v[a+8>>2]=i|-2147483648}if(e){v[299999]=0;tc(d,g?j:b,e);b=v[299999];v[299999]=0;if((b|0)==1){break a}f=t[c+11|0]}v[(e<<2)+d>>2]=0;b=v[c>>2];v[299999]=0;Y(2653,a|0,((f|0)<0?b:c)|0,h|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break b}}b=P()|0;O()|0;if(t[a+11|0]<=-1){dc(v[a>>2])}T(b|0);L()}return}W(0)|0;O()|0;lc();L()}function LN(a){var b=C(0),c=0,d=0,e=0,f=0;c=Qb-16|0;Qb=c;e=(q(a),j(2));d=e&2147483647;a:{if(d>>>0<=1061752794){b=C(1);if(d>>>0<964689920){break a}b=Rk(+a);break a}if(d>>>0<=1081824209){f=+a;if(d>>>0>=1075235812){b=C(-Rk(((e|0)>-1?-3.141592653589793:3.141592653589793)+f));break a}if((e|0)<=-1){b=Qk(f+1.5707963267948966);break a}b=Qk(1.5707963267948966-f);break a}if(d>>>0<=1088565717){if(d>>>0>=1085271520){b=Rk(((e|0)>-1?-6.283185307179586:6.283185307179586)+ +a);break a}if((e|0)<=-1){b=Qk(-4.71238898038469-+a);break a}b=Qk(+a+-4.71238898038469);break a}b=C(a-a);if(d>>>0>=2139095040){break a}b:{switch(HN(a,c+8|0)&3){case 0:b=Rk(A[c+8>>3]);break a;case 1:b=Qk(-A[c+8>>3]);break a;case 2:b=C(-Rk(A[c+8>>3]));break a;default:break b}}b=Qk(A[c+8>>3])}a=b;Qb=c+16|0;return a}function kPa(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;f=w[b+11|0];d=f<<24>>24<0;f=d?v[b+4>>2]:f;e=w[a+11|0];g=e<<24>>24<0;e=g?v[a+4>>2]:e;j=d?v[b>>2]:b;g=g?v[a>>2]:a;d=0;while(1){a:{if(f){h=(e<<2)+g|0;e=(d<<2)+g|0;d=h-e>>2;if((f|0)>(d|0)){break a}i=v[j>>2];while(1){d=d-f|0;k=d+1|0;if(k>>>0>>0){break a}d=sf(e,i,k);if(!d){break a}if(od(d,j,f)){e=d+4|0;d=h-e>>2;if((f|0)<=(d|0)){continue}break a}break}if((d|0)==(h|0)){break a}d=d-g>>2}if((d|0)==-1){break a}f=w[b+11|0];i=f<<24>>24<0?v[b+4>>2]:f;f=w[c+11|0];e=f<<24>>24<0;hL(a,d,i,e?v[c>>2]:c,e?v[c+4>>2]:f);f=w[b+11|0];e=f<<24>>24<0;f=e?v[b+4>>2]:f;j=e?v[b>>2]:b;e=w[a+11|0];h=e<<24>>24<0;g=h?v[a>>2]:a;i=d;d=w[c+11|0];d=i+(d<<24>>24<0?v[c+4>>2]:d)|0;e=h?v[a+4>>2]:e;if(d>>>0<=e>>>0){continue}}break}}function e3a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=3;e=v[a+32>>2];a:{if(!e){break a}d=v[e+364>>2];if(!d){break a}b=160;if(w[d+557|0]){break a}f=e;b:{c:{b=v[v[a+16>>2]>>2];d=w[b|0];if((d|0)!=255){if((d|0)!=30){break c}c=sh(a,b,0,0)>>16;break b}c=((w[b+3|0]|(w[b+2|0]<<8|w[b+1|0]<<16))<<8)+32768>>16;break b}e=b+1|0;d:{switch(d-28|0){case 0:c=0;if(y[a+8>>2]<=b+2>>>0){break b}c=(w[b+2|0]|w[e|0]<<8)<<16>>16;break b;case 1:c=0;if(y[a+8>>2]<=b+4>>>0){break b}a=w[b+1|0]|w[b+2|0]<<8|(w[b+3|0]<<16|w[b+4|0]<<24);c=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);break b;default:break d}}c=d-139|0;if(d>>>0<=246){break b}a=v[a+8>>2];if(d>>>0<=250){c=0;if(a>>>0<=e>>>0){break b}c=(w[e|0]|d<<8)-63124|0;break b}c=0;if(a>>>0<=e>>>0){break b}c=64148-(w[e|0]|d<<8)|0}v[f+360>>2]=c;b=0}return b|0}function X4a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=Qb-32|0;Qb=d;a:{b:{c:{d:{g=v[293894];e:{if(!g){break e}e=Bc(a);if(e>>>0>=4294967280){break a}f:{g:{if(e>>>0>=11){h=e+16&-16;f=fc(h);v[d+24>>2]=h|-2147483648;v[d+16>>2]=f;v[d+20>>2]=e;break g}t[d+27|0]=e;f=d+16|0;if(!e){break f}}gc(f,a,e)}t[e+f|0]=0;v[299999]=0;a=t[d+27|0];e=(a|0)<0;U(1564,d|0,(e?v[d+16>>2]:d+16|0)|0,(e?v[d+20>>2]:a&255)|0);a=v[299999];v[299999]=0;if((a|0)==1){break d}a=v[v[g>>2]+16>>2];v[299999]=0;ca(a|0,g|0,d|0,b|0,c|0,1)|0;a=v[299999];v[299999]=0;if((a|0)==1){break c}if(t[d+11|0]<=-1){dc(v[d>>2])}if(t[d+27|0]>-1){break e}dc(v[d+16>>2])}Qb=d+32|0;return}a=P()|0;O()|0;break b}a=P()|0;O()|0;if(t[d+11|0]>-1){break b}dc(v[d>>2])}if(t[d+27|0]<=-1){dc(v[d+16>>2])}T(a|0);L()}$d(d+16|0);L()}function h4(a){a=a|0;var b=0,c=0,d=0;b=v[a+584>>2];a:{if(!(Ub[v[b+56>>2]](a)|0)){break a}if(!yK(a)){break a}d=1;b:{c:{switch(v[b>>2]-2|0){case 0:c=581;d:{e:{f:{switch(x[a+84>>1]-8|0){case 8:c=582;break e;case 0:break e;case 24:break f;default:break d}}c=583}v[b+40>>2]=c}c=v[a+540>>2];if((c|0)!=584){v[b+28>>2]=c;v[a+540>>2]=584;v[b+32>>2]=v[a+548>>2];v[a+548>>2]=585;v[b+36>>2]=v[a+556>>2];v[a+556>>2]=585}if(!(w[a+12|0]&128)){break a}c=v[b+40>>2];if((c|0)==582){v[b+40>>2]=586;break b}if((c|0)!=583){break a}v[b+40>>2]=587;break b;case 1:break c;default:break a}}v[b+40>>2]=588;c=v[a+540>>2];if((c|0)!=584){v[b+28>>2]=c;v[a+540>>2]=584;v[b+32>>2]=v[a+548>>2];v[a+548>>2]=585;v[b+36>>2]=v[a+556>>2];v[a+556>>2]=585}if(!(w[a+12|0]&128)){break a}}v[a+652>>2]=390}return d|0}function yT(a){var b=0,c=0,d=0,e=0;c=v[a+20>>2];if(c){v[299999]=0;R(3098,c+176|0);b=v[299999];v[299999]=0;a:{b:{if((b|0)==1){break b}v[299999]=0;R(3098,c+192|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}v[299999]=0;R(3098,c+208|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}v[299999]=0;R(3098,c+224|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}v[299999]=0;R(3098,c+240|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}v[299999]=0;R(3098,c+256|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}v[299999]=0;R(3098,c+280|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}break a}W(0)|0;O()|0;lc();L()}dc(c)}d=v[a+16>>2];if(d){b=v[d+8>>2];if((b|0)>=1){while(1){c=v[v[d>>2]+(e<<2)>>2];if(c){yT(c);dc(c);b=v[d+8>>2]}e=e+1|0;if((e|0)<(b|0)){continue}break}}dc(Vc(d))}return a}function UF(a,b,c){var d=0,e=0,f=0;a:{b:{c:{d:{if((c|0)<=-1){if(!b|!w[b|0]){break d}c=0;d=b;while(1){c=c+1|0;e=w[d+1|0];d=d+1|0;if(e){continue}break}}if(!b){break d}if(c){break c}}if(!a){return 0}d=a;while(1){b=d;d=b+1|0;if(w[b|0]){continue}break}d=0;b=b-a|0;if((b|0)<0){break b}c=Ub[v[259707]](b+1|0)|0;if(!c){break a}a=gc(c,a,b);t[a+b|0]=0;return a}if(!a){d=0;if((c|0)<0){break b}a=Ub[v[259707]](c+1|0)|0;if(!a){break a}a=gc(a,b,c);t[a+c|0]=0;return a}e=0;if(w[a|0]){d=a;while(1){e=e+1|0;f=w[d+1|0];d=d+1|0;if(f){continue}break}}f=c+e|0;d=Ub[v[259704]](f+1|0)|0;if(!d){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);b=Ub[v[259707]](e+1|0)|0;if(!b){break a}a=gc(b,a,e);t[a+e|0]=0;return a}a=gc(d,a,e);gc(a+e|0,b,c);t[a+f|0]=0}return d}oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);return 0}function xY(a,b){var 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;v[a>>2]=0;if(v[b>>2]){while(1){d=f&255;c=f>>>6&67108860;l=w[d+v[c+v[b+16>>2]>>2]|0];c=v[c+v[b+12>>2]>>2]+(d<<4)|0;m=A[c+8>>3];n=A[c>>3];g=e>>>8|0;h=v[a+4>>2];if(g>>>0>=h>>>0){c=v[a+8>>2];a:{if(g>>>0>>0){d=v[a+12>>2];break a}d=(c<<1)+512|0;d=fc((d|0)!=(d&1073741822)?-1:d<<2);i=c<<2;k=(d+i|0)+1024|0;j=v[a+12>>2];if(j){gc(d,j,i);gc(k,v[a+16>>2],i);dc(j);h=v[a+4>>2];c=v[a+8>>2];e=v[a>>2]}v[a+16>>2]=k;v[a+12>>2]=d;v[a+8>>2]=c+256}c=g<<2;o=c+d|0,p=fc(4352),v[o>>2]=p;v[c+v[a+16>>2]>>2]=v[c+v[a+12>>2]>>2]+4096;v[a+4>>2]=h+1}c=g<<2;d=v[c+v[a+12>>2]>>2];t[v[c+v[a+16>>2]>>2]+(e&255)|0]=l;e=d+(e<<4&4080)|0;A[e+8>>3]=m;A[e>>3]=n;e=v[a>>2]+1|0;v[a>>2]=e;f=f+1|0;if(f>>>0>2]){continue}break}}}function E1(a){a=a|0;var b=0,c=0,d=0,e=0;b=v[v[a+2248>>2]+88>>2];c=v[b+1168>>2];c=(v[b+1176>>2]+B(c,v[a+572>>2])|0)+B(c,v[a+2268>>2])|0;b=v[b+1164>>2];b=(c+B(b,v[a+580>>2])|0)+B(b,v[a+2264>>2])|0;c=v[a+636>>2]+v[a+616>>2]|0;d=v[a+588>>2];a:{b:{if(w[a+2253|0]!=4){if((d|0)<=0){break a}while(1){t[b|0]=w[c|0]+w[b|0];c=c+1|0;b=v[a+584>>2]+b|0;d=v[a+588>>2];e=e+1|0;if((d|0)>(e|0)){continue}break}break b}if((d|0)<1){break a}while(1){t[b|0]=w[c|0];c=c+1|0;b=v[a+584>>2]+b|0;d=v[a+588>>2];e=e+1|0;if((d|0)>(e|0)){continue}break}}if((d|0)<1){break a}b=v[a+540>>2];b=(v[b+1176>>2]+B(v[a+572>>2],v[b+1168>>2])|0)+B(v[a+580>>2],v[b+1164>>2])|0;c=v[a+636>>2]+v[a+616>>2]|0;d=0;while(1){t[b|0]=w[c|0];c=c+1|0;b=v[a+584>>2]+b|0;d=d+1|0;if((d|0)>2]){continue}break}}return 0}function yX(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=Qb-32|0;Qb=e;d=e+16|0;v[d+12>>2]=0;v[d+4>>2]=0;v[d+8>>2]=0;v[d>>2]=530160;v[299999]=0;b=Y(2523,d|0,b|0,0)|0;g=v[299999];v[299999]=0;a:{b:{if((g|0)==1){break b}if(!b){break a}v[299999]=0;b=v[d+12>>2];f=v[299999];v[299999]=0;if((f|0)==1){break b}v[a+12>>2]=b;c:{if(!c){v[299999]=0;c=S(15,b|0)|0;f=v[299999];v[299999]=0;if((f|0)!=1){break c}break b}t[a+16|0]=1}v[a+8>>2]=c;v[299999]=0;v[e+12>>2]=0;Z(2525,d|0,c|0,b|0,e+12|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){if((b|0)!=v[e+12>>2]){d:{if(w[a+16|0]){break d}b=v[a+8>>2];if(!b){break d}dc(b);v[a+8>>2]=0}f=0;v[a+12>>2]=0;break a}v[299999]=0;R(2526,d|0);a=v[299999];v[299999]=0;f=1;if((a|0)!=1){break a}}}a=P()|0;O()|0;lg(d);T(a|0);L()}lg(d);Qb=e+32|0;return f|0}function pT(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{c:{d=v[v[a>>2]>>2];if(!d){break c}d=v[d>>2];if(!d){break c}if(Rf(d,b)){break c}f=v[v[a>>2]>>2];break b}e=v[a+4>>2];if((e|0)<2){break a}d=1;while(1){d:{c=v[v[a>>2]+(d<<2)>>2];e:{if(!c){break e}c=v[c>>2];if(!c){break e}if(!Rf(c,b)){break d}e=v[a+4>>2]}d=d+1|0;if((e|0)>(d|0)){continue}break a}break}b=d-1|0;c=v[a>>2];f=v[c+(d<<2)>>2];e=d&3;if(e){while(1){g=(d<<2)+c|0;d=d-1|0;v[g>>2]=v[(d<<2)+c>>2];c=v[a>>2];e=e-1|0;if(e){continue}break}}if(b>>>0>=3){while(1){b=d<<2;e=b-4|0;v[b+c>>2]=v[c+e>>2];c=v[a>>2];g=c+e|0;e=c;c=b-8|0;v[g>>2]=v[e+c>>2];e=c;c=v[a>>2];b=b-12|0;v[e+c>>2]=v[b+c>>2];c=v[a>>2];e=c+b|0;b=d-4|0;v[e>>2]=v[c+(b<<2)>>2];e=(d|0)>4;c=v[a>>2];d=b;if(e){continue}break}}v[c>>2]=f}v[f+24>>2]=v[f+24>>2]+1}return f}function nq(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;h=v[a+4>>2];if(c>>>0>=999999985){d=v[a>>2];v[d+20>>2]=56;v[d+24>>2]=1;Ub[v[v[a>>2]>>2]](a)}d=c&7;d=d?8-d|0:0;if(b>>>0>=2){e=v[a>>2];v[e+24>>2]=b;v[e+20>>2]=15;Ub[v[v[a>>2]>>2]](a)}d=c+d|0;i=(b<<2)+h|0;c=v[i+52>>2];a:{if(c){while(1){f=c;if(d>>>0<=y[c+8>>2]){b=f;break a}c=v[f>>2];if(c){continue}break}}c=999999984-d|0;b=v[(b<<2)+(f?71336:71328)>>2];c=b>>>0>c>>>0?c:b;e=d+c|0;g=e+16|0;b=jc(g);if(!b){while(1){if(c>>>0<=99){b=v[a>>2];v[b+20>>2]=56;v[b+24>>2]=2;Ub[v[v[a>>2]>>2]](a)}b=c>>>1|0;c=b;e=b+d|0;g=e+16|0;b=jc(g);if(!b){continue}break}}v[h+76>>2]=v[h+76>>2]+g;v[b+8>>2]=e;v[b>>2]=0;v[b+4>>2]=0;if(!f){v[i+52>>2]=b;break a}v[f>>2]=b}a=v[b+4>>2];v[b+4>>2]=a+d;v[b+8>>2]=v[b+8>>2]-d;return(a+b|0)+16|0}function jI(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=v[a+24>>2];c=v[b+4>>2];e=v[b>>2];while(1){if(!c){if(!(Ub[v[b+12>>2]](a)|0)){return 0}e=v[b>>2];c=v[b+4>>2]}d=e+1|0;c=c-1|0;if(w[e|0]!=255){while(1){e=v[a+460>>2];v[e+24>>2]=v[e+24>>2]+1;v[b+4>>2]=c;v[b>>2]=d;if(!c){if(!(Ub[v[b+12>>2]](a)|0)){return 0}d=v[b>>2];c=v[b+4>>2]}c=c-1|0;e=w[d|0];d=d+1|0;if((e|0)!=255){continue}break}}while(1){if(!c){if(!(Ub[v[b+12>>2]](a)|0)){return 0}d=v[b>>2];c=v[b+4>>2]}c=c-1|0;f=w[d|0];e=d+1|0;d=e;if((f|0)==255){continue}break}if(!f){d=v[a+460>>2];v[d+24>>2]=v[d+24>>2]+2;v[b+4>>2]=c;v[b>>2]=e;continue}break}d=v[v[a+460>>2]+24>>2];if(d){g=v[a>>2];v[g+24>>2]=d;v[g+20>>2]=119;v[v[a>>2]+28>>2]=f;Ub[v[v[a>>2]+4>>2]](a,-1);v[v[a+460>>2]+24>>2]=0}v[a+436>>2]=f;v[b+4>>2]=c;v[b>>2]=e;return 1}function wcb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=v[a+2308>>2];a:{if(!d){break a}b=v[a+2316>>2];c=v[a+2312>>2];a=v[a+2300>>2];if(w[a+56|0]){if((d|0)!=1){e=d&-2;while(1){f=x[c>>1];if((f|0)!=x[a+836>>1]){u[b+2>>1]=65535}u[b>>1]=f;f=x[c+2>>1];if((f|0)!=x[a+836>>1]){u[b+6>>1]=65535}u[b+4>>1]=f;b=b+8|0;c=c+4|0;e=e-2|0;if(e){continue}break}}if(!(d&1)){break a}d=x[a+836>>1];a=x[c>>1];if((d|0)!=(a|0)){u[b+2>>1]=65535}u[b>>1]=a;return 0}a=d&3;if(d-1>>>0>=3){e=d&-4;while(1){u[b>>1]=x[c>>1];u[b+2>>1]=65535;u[b+4>>1]=x[c+2>>1];u[b+6>>1]=65535;u[b+8>>1]=x[c+4>>1];u[b+10>>1]=65535;u[b+12>>1]=x[c+6>>1];u[b+14>>1]=65535;b=b+16|0;c=c+8|0;e=e-4|0;if(e){continue}break}}if(!a){break a}while(1){u[b>>1]=x[c>>1];u[b+2>>1]=65535;b=b+4|0;c=c+2|0;a=a-1|0;if(a){continue}break}}return 0}function NH(a,b,c,d){var e=0,f=0,g=0;g=v[a+8264>>2];a:{if(g>>>0>b>>>0){g=0;if(Yc(v[a>>2],v[a+68>>2])){break a}Zu(a+12|0);v[a+28>>2]=0;v[a+12>>2]=a+72;v[a+16>>2]=0;e=a+8264|0;v[a+8272>>2]=e;v[a+24>>2]=a+4168;v[a+8268>>2]=e;v[e>>2]=0}b:{if(b>>>0>g>>>0){f=v[a+8268>>2];e=v[a+8272>>2]-f|0;b=b-g|0;e=b>>>0>e>>>0?e:b;v[a+8268>>2]=e+f;v[a+8264>>2]=e+g;b=b-e|0;if(b){while(1){if(v_(a)){return 0}f=v[a+8268>>2];e=v[a+8272>>2]-f|0;e=b>>>0>e>>>0?e:b;v[a+8268>>2]=e+f;v[a+8264>>2]=e+v[a+8264>>2];b=b-e|0;if(b){continue}break}}if(d){break b}return 0}if(d){break b}return 0}g=0;while(1){e=v[a+8268>>2];b=v[a+8272>>2]-e|0;f=b>>>0>>0?b:d;b=gc(c,e,f);v[a+8268>>2]=f+v[a+8268>>2];v[a+8264>>2]=f+v[a+8264>>2];g=f+g|0;d=d-f|0;if(!d){break a}c=b+f|0;if(!v_(a)){continue}break}}return g}function Kl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=Qb-32|0;Qb=e;v[a+664>>2]=0;f=a;d=v[a+660>>2];a:{if(d){d=_O(a,v[a+656>>2],c+d|0,4,80656);break a}d=kg(a,c,4,80656)}v[f+656>>2]=d;b:{if(!d){c=0;zc(v[a+628>>2],80624,17664,0);break b}g=v[a+660>>2];if((c|0)>=1){g=d+(g<<2)|0;d=0;while(1){i=B(d,20)+b|0;f=v[i+8>>2];j=v[i>>2];v[e+24>>2]=0;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;v[e+4>>2]=e+8;h=v[a+664>>2];c:{if(!(!h|v[h>>2]!=(j|0))&(!f|(f|0)==v[h+8>>2])){break c}h=v[a+656>>2];d:{if(!h){break d}v[e+16>>2]=f;v[e+8>>2]=j;f=NC(e+4|0,h,v[a+660>>2]);if(!f){v[a+664>>2]=0;break d}f=v[f>>2];v[a+664>>2]=f;if(f){break c}}v[g>>2]=i;v[a+660>>2]=v[a+660>>2]+1;g=g+4|0}d=d+1|0;if((d|0)!=(c|0)){continue}break}g=v[a+660>>2];d=v[a+656>>2]}Pk(d,g,4,433)}Qb=e+32|0;return c}function mLa(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;f=Qb-32|0;Qb=f;a:{if(t[b+11|0]>=0){v[f+24>>2]=v[b+8>>2];g=v[b+4>>2];v[f+16>>2]=v[b>>2];v[f+20>>2]=g;break a}Ke(f+16|0,v[b>>2],v[b+4>>2])}b:{c:{d:{e:{if(t[c+11|0]>=0){v[f+8>>2]=v[c+8>>2];b=v[c+4>>2];v[f>>2]=v[c>>2];v[f+4>>2]=b;break e}b=v[c+4>>2];c=v[c>>2];v[299999]=0;U(2345,f|0,c|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break d}}a=v[a>>2];v[299999]=0;a=aa(2896,(t[f+27|0]<0?v[f+16>>2]:f+16|0)|0,(t[f+11|0]<0?v[f>>2]:f)|0,a|0,d|0,(e|0)>0|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break c}if(t[f+11|0]<=-1){dc(v[f>>2])}if(t[f+27|0]<=-1){dc(v[f+16>>2])}Qb=f+32|0;return(a|0)!=0|0}c=P()|0;O()|0;break b}c=P()|0;O()|0;if(t[f+11|0]>-1){break b}dc(v[f>>2])}if(t[f+27|0]<=-1){dc(v[f+16>>2])}T(c|0);L()}function i5(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=v[a+584>>2];b=v[c+884>>2];a:{if((b|0)>=1){b:{d=v[c+76>>2];if((d|0)<1){break b}e=v[c+84>>2];while(1){f=v[e+12>>2];b=B(f,b);f=f<<3;if((b|0)<(f|0)){d=v[e+28>>2]<<3;i=(g<<2)+c|0;while(1){h=v[i+844>>2]+(b<<2)|0;oe(v[h>>2],v[h-4>>2],d);b=b+1|0;if((f|0)!=(b|0)){continue}break}d=v[c+76>>2]}g=g+1|0;if((g|0)>=(d|0)){break b}e=e+88|0;b=v[c+884>>2];continue}}e=0;b=c;d=c+844|0;c=v[c+272>>2]<<3;if((EK(b,d,c)|0)!=(c|0)){break a}c=v[a+584>>2]}b=0;a=jc(40);v[a>>2]=0;a=Ue(c+624|0,1,a,4);f=O()|0;c:{while(1){if(b){break c}v[299999]=0;R(50,c|0);b=v[299999];v[299999]=0;d=-1;d:{if(!b){break d}g=v[3e5];if(!g){break d}d=sc(v[b>>2],a,f);if(!d){dc(a);sd(b,g);L()}_(g|0)}b=O()|0;if((d|0)==1){continue}break}e=1}dc(a)}return e|0}function du(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;g=A[a+16>>3];s=A[a+40>>3];f=A[a+24>>3];t=A[a+32>>3];l=1/(g*s-f*t);n=A[a+48>>3];o=A[a+56>>3];r=l*(f*n-g*o);p=A[a+632>>3];q=l*-f;h=p*q;g=g*l;f=A[a+656>>3];u=g*f;k=r+(h+u);m=A[a+640>>3];i=m*g;j=r+(h+i);n=l*(t*o-s*n);o=s*l;h=p*o;g=l*-t;p=g*f;f=n+(h+p);m=m*g;h=n+(h+m);a:{if(fh)){g=h;break a}g=f}b:{if(kj)){f=j;k=f;break b}f=j}j=i;i=A[a+648>>3];q=q*i;j=r+(j+q);l=m;m=o*i;i=n+(l+m);c:{if(ij){f=j;break e}if(kk){f=k;break h}if(k>j){break g}}k=j}A[b>>3]=h;A[c>>3]=f;A[d>>3]=g;A[e>>3]=k}function FO(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=Qb-32|0;Qb=c;a:{b:{c:{d=v[a+16>>2];e=v[a+24>>2];d:{if((d|0)>=(e|0)){break d}f=v[a+28>>2];g=v[a+20>>2];if((f|0)<=(g|0)){break d}b=v[a>>2];h=v[a+8>>2];if((b|0)>=(h|0)){break d}i=v[a+12>>2];j=v[a+4>>2];if((i|0)>(j|0)){break c}}a=vc(c+8|0,326387,241056,395,342553,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}b=h-b|0;if(!b){a=vc(c+8|0,243827,241056,227,337029,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}v[a+36>>2]=e-d;v[a+40>>2]=b;b=i-j|0;if(!b){a=vc(c+8|0,243827,241056,227,337029,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}v[a+44>>2]=f-g;v[a+48>>2]=b;Qb=c+32|0;return}L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function K_(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=Qb-32|0;Qb=e;v[e+8>>2]=0;f=c?c:d;h=f?f:72;v[e+20>>2]=h;d=f?c?d?d:c:d:72;v[e+24>>2]=d;b=(b|0)>64?b:64;i=b;v[e+12>>2]=b;v[e+16>>2]=b;c=35;a:{if(!a){break a}f=v[a+88>>2];v[v[f+40>>2]+12>>2]=0;j=v[v[a+96>>2]+12>>2];g=v[j+88>>2];if(g){c=Ub[g|0](f,e+8|0)|0;break a}g=v[a+8>>2];b:{if((g&3)==2){if(!(g&2)){break a}b=d?(B(b,d)+36|0)/72|0:b;c=23;h=((B(h,i)+36|0)/72|0)+32&-64;if(!h){break a}i=b+32&-64;if(!i){break a}d=v[a+28>>2];if((d|0)<1){break a}g=v[a+32>>2];b=0;while(1){k=g+(b<<4)|0;if(!((i|0)==(v[k+12>>2]+32&-64)&(h|0)==(v[k+8>>2]+32&-64))){b=b+1|0;if((d|0)!=(b|0)){continue}break a}break}c=6;if((b|0)>=(d|0)){break a}c=v[j+92>>2];if(c){c=Ub[c|0](f,b)|0;break a}pl(a,b);break b}rq(a,e+8|0)}c=0}Qb=e+32|0;return c}function JN(a){var b=0,c=0,d=0,e=0;b=Qb-16|0;Qb=b;e=(q(a),j(2));c=e&2147483647;a:{if(c>>>0<=1061752794){if(c>>>0<964689920){break a}a=Qk(+a);break a}if(c>>>0<=1081824209){d=+a;if(c>>>0<=1075235811){if((e|0)<=-1){a=C(-Rk(d+1.5707963267948966));break a}a=Rk(d+-1.5707963267948966);break a}a=Qk(-(((e|0)>-1?-3.141592653589793:3.141592653589793)+d));break a}if(c>>>0<=1088565717){d=+a;if(c>>>0<=1085271519){if((e|0)<=-1){a=Rk(d+4.71238898038469);break a}a=C(-Rk(d+-4.71238898038469));break a}a=Qk(((e|0)>-1?-6.283185307179586:6.283185307179586)+d);break a}if(c>>>0>=2139095040){a=C(a-a);break a}b:{switch(HN(a,b+8|0)&3){case 0:a=Qk(A[b+8>>3]);break a;case 1:a=Rk(A[b+8>>3]);break a;case 2:a=Qk(-A[b+8>>3]);break a;default:break b}}a=C(-Rk(A[b+8>>3]))}Qb=b+16|0;return a}function UKa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if(c>>>0>=65534){d=v[a>>2];v[d+20>>2]=12;Ub[v[d>>2]](a)}d=v[a+24>>2];e=v[d>>2];v[d>>2]=e+1;t[e|0]=255;e=v[d+4>>2]-1|0;v[d+4>>2]=e;a:{if(e){break a}if(Ub[v[d+12>>2]](a)|0){break a}d=v[a>>2];v[d+20>>2]=25;Ub[v[d>>2]](a)}d=v[a+24>>2];e=v[d>>2];v[d>>2]=e+1;t[e|0]=b;b=v[d+4>>2]-1|0;v[d+4>>2]=b;b:{if(b){break b}if(Ub[v[d+12>>2]](a)|0){break b}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];d=v[b>>2];v[b>>2]=d+1;e=d;d=c+2|0;t[e|0]=d>>>8;c=v[b+4>>2]-1|0;v[b+4>>2]=c;c:{if(c){break c}if(Ub[v[b+12>>2]](a)|0){break c}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=d;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d:{if(c){break d}if(Ub[v[b+12>>2]](a)|0){break d}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}}function TLa(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;if(!w[b+8|0]){d=v[b+24>>2];b=Pg(84);v[a+8>>2]=b;a:{if(b){c=b;b:{if(!(!d|w[d|0]!=106|w[d+1|0]!=97)){f=17039875;g=100992768;d=w[d+2|0];e=1;if(!d|(d|0)==95){break b}}f=33751047;g=17171716;e=0}t[c+74|0]=e;c=v[215597];e=v[215596];v[b>>2]=e;v[b+4>>2]=c;d=v[215599];h=v[215598];v[b+8>>2]=h;v[b+12>>2]=d;i=v[215601];j=v[215600];v[b+16>>2]=j;v[b+20>>2]=i;k=v[215603];l=v[215602];v[b+24>>2]=l;v[b+28>>2]=k;t[b+65|0]=0;t[b+66|0]=0;t[b+67|0]=0;t[b+68|0]=0;t[b+64|0]=1;t[a+36|0]=0;v[b+76>>2]=f;v[b+80>>2]=g;t[b+75|0]=0;u[b+72>>1]=1;v[b+56>>2]=l;v[b+60>>2]=k;v[b+48>>2]=j;v[b+52>>2]=i;v[b+40>>2]=h;v[b+44>>2]=d;v[b+32>>2]=e;v[b+36>>2]=c;v[a+56>>2]=0;break a}v[c>>2]=7}t[a+61|0]=255;u[a+108>>1]=65533}}function s$(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;g=ad(65536e3,b<<16);if((g|0)>=655){m=v[a+52>>2];h=v[a+48>>2];i=v[a+44>>2];f=v[a+40>>2];j=v[a+36>>2];k=v[a+32>>2];l=v[a+28>>2];n=v[a+24>>2];a=c<<16;e=(a|0)>262144?a:262144;b=E(e);c=n<<16;o=c;if((d|0)<1){a=4915200}else{a=Ac(d<<16,g)}if(E(a)+b>>>0<=16){b=h<<16}else{b=Ac(a,e)}a:{if((o|0)>(b|0)){a=ad(l<<16,e);break a}b:{c:{d:{d=k<<16;e:{if((b|0)<(d|0)){b=ad(c,e);c=k-n|0;if(!c){break e}a=jd(a-b|0,j-l|0,c)+ad(l<<16,e)|0;break a}c=f<<16;if((b|0)>=(c|0)){break d}}b=ad(d,e);c=f-k|0;if(!c){c=f<<16;break c}a=jd(a-b|0,i-j|0,c)+ad(j<<16,e)|0;break a}if((b|0)>=h<<16){break b}}b=ad(c,e);c=h-f|0;if(!c){break b}a=jd(a-b|0,m-i|0,c)+ad(i<<16,e)|0;break a}a=ad(m<<16,e)}a=ad(a,g)+32768>>16}else{a=0}return a}function Z5a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=Qb-880|0;Qb=c;if(x[a+26308>>1]){e=v[252391];while(1){if((Ub[v[v[a>>2]>>2]](v[a+4>>2],c+32|0,1,848)|0)<=847){a:{if(v[a+26160>>2]){break a}v[c+16>>2]=v[a+25208>>2];wc(e,8292,c+16|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,e);break a}b=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[c>>2]=b;v[c+4>>2]=b>>31;wc(e,14622,c)}v[a+26160>>2]=1}if(x[a+26310>>1]){b=d<<2&12;g=B(v[b+197920>>2],d)+v[b+197936>>2]|0;h=d<<1&14;i=v[a+26028>>2];j=v[a+26352>>2];b=0;while(1){f=x[a+26316>>1];u[((B(x[a+26320>>1],d>>>f|0)+(b>>>f|0)<<3)+j|0)+((i>>>((b&1|h)<<1)&3)<<1)>>1]=w[c+32+(b+g|0)%848|0];b=b+1|0;if(b>>>0>1]){continue}break}}d=d+1|0;if(d>>>0>1]){continue}break}}v[a+26124>>2]=255;Qb=c+880|0}function Ps(a,b,c,d){var e=0,f=0;a:{if(!c){c=0;break a}c=v[a+512>>2];if(c){break a}c=v[a+528>>2]}b:{c:{d:{e:{c=d?v[a+544>>2]:c;if(!c){break e}c=v[c+88>>2];if(!c){break e}if(w[c+49|0]){break b}e=.45455;if(w[c+59|0]){break c}if(!w[c+57|0]){break e}e=+y[c+1104>>2]/1e5;break d}f:{if(!b){break f}e=.45455;if(w[a+310|0]){break c}if(!w[a+308|0]){break f}e=+y[a+2192>>2]/1e5;break d}e=A[a+104>>3]}if(!(e>0)){break b}}e=A[a+88>>3]/(e*A[a+96>>3]);if(e!=A[a+960>>3]){t[a+704|0]=0;c=1;while(1){b=a+c|0;f=de(+(c|0)/255,e)*255+.5;g:{if(f<4294967296&f>=0){d=~~f>>>0;break g}d=0}t[b+704|0]=d;b=c+1|0;if((b|0)==256){A[a+960>>3]=e}else{d=a+b|0;f=de(+(b|0)/255,e)*255+.5;h:{if(f<4294967296&f>=0){b=~~f>>>0;break h}b=0}t[d+704|0]=b;c=c+2|0;continue}break}}v[a+976>>2]=941}return 0}function ek(a,b,c){var d=0,e=0,f=0;a:{if(!Jg(a)){break a}d=v[b+16>>2];v[a+12>>2]=v[b+12>>2];v[a+16>>2]=d;d=v[b+48>>2];v[a+44>>2]=v[b+44>>2];v[a+48>>2]=d;d=v[b+40>>2];v[a+36>>2]=v[b+36>>2];v[a+40>>2]=d;d=v[b+32>>2];v[a+28>>2]=v[b+28>>2];v[a+32>>2]=d;d=v[b+24>>2];v[a+20>>2]=v[b+20>>2];v[a+24>>2]=d;gc(a+52|0,b+52|0,908);v[a+4>>2]=v[b+4>>2];v[a+8>>2]=v[b+8>>2];v[a+960>>2]=v[b+960>>2];v[a+964>>2]=v[b+964>>2];v[a+968>>2]=v[b+968>>2];ic(b+4|0,0,968);if(!c){break a}b:{if(v[a+60>>2]){break b}d=v[a+972>>2];if(!d){break b}c=0;e=v[a+356>>2];c:{if((e|0)>0){while(1){f=v[(c<<2)+d>>2];if(f){Ub[v[v[f>>2]+4>>2]](f);e=v[a+356>>2];d=v[a+972>>2]}c=c+1|0;if((e|0)>(c|0)){continue}break}if(!d){break c}}dc(d)}v[a+356>>2]=0;v[a+972>>2]=0}v[a+972>>2]=v[b+972>>2];v[b+972>>2]=0}}function FN(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;o(+a);g=j(1)|0;j(0)|0;h=g;i=(g&2147483640)>>>0<1072010280;if(!i){h=(h|0)>-1;a=.7853981633974483-(h?a:-a)+(3.061616997868383e-17-(h?b:-b));g=g>>>31|0;b=0}d=a*a;e=a*d;f=b;b=d*d;d=e*.3333333333333341+(f+d*(f+e*(b*(b*(b*(b*(b*-18558637485527546e-21+7817944429395571e-20)+.0005880412408202641)+.0035920791075913124)+.021869488294859542)+.13333333333320124+d*(b*(b*(b*(b*(b*2590730518636337e-20+7140724913826082e-20)+.0002464631348184699)+.0014562094543252903)+.0088632398235993)+.05396825397622605))));b=a+d;if(!i){e=b*b;f=b;b=+(1-(c<<1)|0);a=a+(d-e/(f+b));a=b-(a+a);return g?-a:a}if(c){o(+b);c=j(1)|0;j(0)|0;l(0,0);l(1,c|0);e=+n();f=-1/b;o(+f);c=j(1)|0;j(0)|0;l(0,0);l(1,c|0);b=+n();b=f*(e*b+1+(d-(e-a))*b)+b}return b}function Aga(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;g=Qb-16|0;Qb=g;e=fc(68);v[299999]=0;jO(e);h=v[299999];v[299999]=0;a:{b:{c:{d:{if((h|0)!=1){v[e+64>>2]=0;v[e+56>>2]=0;v[e+60>>2]=0;v[e>>2]=991160;v[a>>2]=0;Wc(a,e);h=v[c>>2];if(h){v[299999]=0;v[h+4>>2]=v[h+4>>2]+1;f=v[299999];v[299999]=0;if((f|0)==1){break d}f=v[c>>2]}v[299999]=0;v[g+8>>2]=f;$(5247,e|0,b|0,g+8|0,d|0);b=v[299999];v[299999]=0;if((b|0)==1){break c}v[g+8>>2]=0;e:{if(!f){break e}v[299999]=0;a=v[f+4>>2]-1|0;v[f+4>>2]=a;b=v[299999];v[299999]=0;if((b|0)==1){break a}if(a){break e}v[299999]=0;R(4338,f|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Qb=g+16|0;return}a=P()|0;O()|0;dc(e);T(a|0);L()}b=P()|0;O()|0;break b}b=P()|0;O()|0;ec(g+8|0)}ec(a);T(b|0);L()}W(0)|0;O()|0;lc();L()}function rDa(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,p=0,q=0,r=0,s=0,t=0;d=A[b+24>>3];c=v[b+24>>2];e=A[b+40>>3];j=v[b+40>>2];f=A[b+56>>3];k=v[b+56>>2];g=A[b+72>>3];l=v[b+72>>2];h=A[b+88>>3];m=v[b+88>>2];n=v[b+16>>2];o=v[b+32>>2];p=v[b+48>>2];q=v[b+64>>2];r=v[b+80>>2];i=A[b+8>>3];s=v[b+8>>2];t=v[b>>2];b=v[a+28>>2];v[b+616>>2]=0;v[b+620>>2]=0;v[b+624>>2]=0;v[b+628>>2]=0;i=(t|0)==1?+(s|0):i;A[b+504>>3]=i;h=(r|0)==1?+(m|0):h;A[b+544>>3]=h;g=(q|0)==1?+(l|0):g;A[b+536>>3]=g;f=(p|0)==1?+(k|0):f;A[b+528>>3]=f;e=(o|0)==1?+(j|0):e;A[b+520>>3]=e;d=(n|0)==1?+(c|0):d;A[b+512>>3]=d;A[b+608>>3]=h+(d*0+f*0);A[b+600>>3]=g+(i*0+e*0);c=v[a+8>>2];Ub[v[v[c>>2]+160>>2]](c,b);b=v[a+8>>2];Ub[v[v[b>>2]+184>>2]](b,v[a+28>>2]);v[a+32>>2]=1}function hJ(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;a:{b:{if(c){g=B(c,5)>>>2|0;v[e>>2]=g;g=Ub[v[a+152>>2]](g)|0;v[d>>2]=g;if(!g){break a}j=c>>>1|0;while(1){g=a;h=_u(g+2340|0,v[g+2396>>2],v[g+2400>>2],v[g+2404>>2],v[g+2408>>2],v[g+2412>>2],3416);c:{if(h){pc(g,5,h,0);break c}t[g+2421|0]=1}v[g+2352>>2]=v[d>>2];v[g+2356>>2]=v[e>>2];v[g+2340>>2]=b;v[g+2344>>2]=c;h=Nj(g+2340|0,4);i=10;d:{if((h|0)==-5|v[g+2344>>2]){break d}i=0;if(h>>>0<2){break d}pc(g,5,h,0);i=5}h=i;v[f>>2]=v[g+2360>>2];g=_m(g+2340|0);e:{if(g){pc(a,5,g,0);break e}t[a+2421|0]=0}if((h|0)!=10){break b}g=v[d>>2];if(g){Ub[v[a+156>>2]](g,v[e>>2])}g=v[e>>2]+j|0;v[e>>2]=g;g=Ub[v[a+152>>2]](g)|0;v[d>>2]=g;if(g){continue}break}pc(a,1,0,0);return 1}v[d>>2]=0;v[e>>2]=0;v[f>>2]=0}return h}pc(a,1,0,0);return 1}function W4a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=Qb-32|0;Qb=b;a:{b:{c:{d:{e=v[293894];e:{if(e){c=Bc(a);if(c>>>0>=4294967280){break a}f:{g:{if(c>>>0>=11){f=c+16&-16;d=fc(f);v[b+24>>2]=f|-2147483648;v[b+16>>2]=d;v[b+20>>2]=c;break g}t[b+27|0]=c;d=b+16|0;if(!c){break f}}gc(d,a,c)}t[c+d|0]=0;v[299999]=0;a=t[b+27|0];c=(a|0)<0;U(1564,b|0,(c?v[b+16>>2]:b+16|0)|0,(c?v[b+20>>2]:a&255)|0);a=v[299999];v[299999]=0;if((a|0)==1){break d}a=v[v[e>>2]+24>>2];v[299999]=0;c=Q(a|0,e|0,b|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break c}if(t[b+11|0]<=-1){dc(v[b>>2])}if(t[b+27|0]<=-1){dc(v[b+16>>2])}a=1;if(c){break e}}a=0}Qb=b+32|0;return a|0}a=P()|0;O()|0;break b}a=P()|0;O()|0;if(t[b+11|0]>-1){break b}dc(v[b>>2])}if(t[b+27|0]<=-1){dc(v[b+16>>2])}T(a|0);L()}$d(b+16|0);L()}function waa(a){a=a|0;var b=0,c=0,d=0;c=Qb-16|0;Qb=c;v[a+652>>2]=390;b=v[a+584>>2];a:{b:{c:{d:{e:{d=x[a+90>>1];switch(d-32844|0){case 0:break d;case 1:break e;default:break c}}if(!LL(a)){break b}if(x[a+88>>1]==34677){v[a+540>>2]=458;a=1;f:{switch(v[b>>2]){case 0:v[b+20>>2]=459;break a;case 1:v[b+20>>2]=460;break a;case 3:break f;default:break a}}v[b+20>>2]=461;break a}v[a+540>>2]=462;a=1;g:{switch(v[b>>2]){case 0:v[b+20>>2]=463;break a;case 1:v[b+20>>2]=464;break a;case 3:break g;default:break a}}v[b+20>>2]=465;break a}if(!EL(a)){break b}v[a+540>>2]=466;a=1;h:{switch(v[b>>2]){case 0:v[b+20>>2]=467;break a;case 3:break h;default:break a}}v[b+20>>2]=468;break a}b=v[a>>2];a=v[a+628>>2];v[c+4>>2]=23330;v[c>>2]=d;zc(a,b,20394,c)}a=0}Qb=c+16|0;return a|0}function dta(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;e=Qb-16|0;Qb=e;v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;d=w[b+11|0];c=d<<24>>24<0;a:{b:{f=c?v[b+4>>2]:d;if((f|0)<1){break b}c=c?v[b>>2]:b;g=c+(f<<2)|0;d=c;while(1){if(!f){break b}d=sf(d,58,f);if(!d){break b}if(od(d,979536,1)){d=d+4|0;h=g-d|0;f=h>>2;if((h|0)>=4){continue}break b}break}if((d|0)==(g|0)){break b}c=d-c|0;if((c|0)==-4){break b}Aj(e,b,(c>>2)+1|0,-1,b);v[a+8>>2]=v[e+8>>2];b=v[e+4>>2];v[a>>2]=v[e>>2];v[a+4>>2]=b;break a}if((a|0)==(b|0)){break a}if(t[b+11|0]>=0){c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;v[a+8>>2]=v[b+8>>2];break a}c=v[b+4>>2];b=v[b>>2];v[299999]=0;Y(2544,a|0,b|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break a}b=P()|0;O()|0;if(t[a+11|0]<=-1){dc(v[a>>2])}T(b|0);L()}Qb=e+16|0}function zE(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;f=fc(24);v[f+12>>2]=e;v[f+8>>2]=d;v[f>>2]=936712;v[f+4>>2]=0;h=d+7>>3;v[f+16>>2]=h;a:{if(!((d|0)<1|(e|0)<1)){g=e;i=g;if((2147483646/(h|0)|0)>(g|0)){break a}}v[f+12>>2]=-1;v[f+16>>2]=2;h=2;i=-1}g=i;v[299999]=0;h=B(g,h);g=S(3693,h+1|0)|0;i=v[299999];v[299999]=0;if((i|0)!=1){v[f+20>>2]=g;t[g+h|0]=0;ic(v[f+20>>2],0,B(v[f+16>>2],v[f+12>>2]));if(!(!e|!d)){while(1){h=0;i=c+j|0;if((i|0)>=0){while(1){g=b+h|0;if(!((g|0)<0|(g|0)>=v[a+8>>2]|(!(w[v[a+20>>2]+(B(i,v[a+16>>2])+(g>>>3|0)|0)|0]>>>((g^-1)&7)&1)|(i|0)>=v[a+12>>2]))){g=v[f+20>>2]+(B(v[f+16>>2],j)+(h>>3)|0)|0;t[g|0]=w[g|0]|1<<((h^-1)&7)}h=h+1|0;if((h|0)!=(d|0)){continue}break}}j=j+1|0;if((j|0)!=(e|0)){continue}break}}return f}a=P()|0;O()|0;dc(f);T(a|0);L()}function rg(a,b,c){var d=0,e=0,f=0,g=0;e=w[b|0];g=e&1;f=v[a+20>>2];d=(f+c>>>2|0)+24576|0;d=c>>>0>d>>>0?d:c;c=v[a+24>>2];if(d>>>0>c>>>0){e=c;c=65536-d|0;v[a+24>>2]=e+c;v[a+20>>2]=c+f;t[b|0]=w[(w[b|0]+a|0)+2348|0];c=v[a+20>>2];a:{if(c>>>0>=65280){b=t[((c&255)+a|0)+2604|0]+8|0;break a}b=t[((c>>>8|0)+a|0)+2604|0]}v[a+20>>2]=c<>2]>>>d|v[a+24>>2]<>2]=c;b=a;if(d>>>0<=15){wt(a);c=v[a+24>>2]}v[b+28>>2]=c>>>0<32767?c:32767;return!g}if(y[((e<<2)+a|0)+1068>>2]<=f>>>0){t[b|0]=w[(a+e|0)+2092|0];c=v[a+24>>2]}v[a+20>>2]=d<<1&65534;b=w[a+18|0]-1|0;t[a+18|0]=b;d=b&255;c=v[a+36>>2]>>>d&1|c<<1&65534;v[a+24>>2]=c;b=a;if(d>>>0<=15){wt(a);c=v[a+24>>2]}v[b+28>>2]=c>>>0<32767?c:32767;return g}function di(a,b){var c=0,d=0,e=0,f=0,g=0;c=jc(68);if(!c){return 0}v[c+52>>2]=0;v[c+56>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;v[c+60>>2]=0;v[c+64>>2]=-1;v[c>>2]=11;v[c+12>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;d=jc(8208);v[c+12>>2]=d;a:{if(d){f=v[c+4>>2]|8;g=8192;e=c+4|0;break a}d=c+32|0;v[c+12>>2]=d;f=v[c+4>>2];g=1;e=c+4|0}v[c+28>>2]=0;v[c+20>>2]=g;v[c+52>>2]=1028088;d=d+16|0;v[c+24>>2]=d;v[c+16>>2]=d;v[c+4>>2]=f|2;d=jc(24);if(!d){b:{if(!(w[e|0]&8)){break b}a=v[c+12>>2];if(!a){break b}dc(a);v[c+12>>2]=0}dc(c);return 0}v[c+56>>2]=d;e=(b|0)<1;v[d+16>>2]=e;v[d>>2]=0;v[d+20>>2]=0;e=e?1024:b;v[d+4>>2]=e;c:{d:{if(!a){a=jc(e);v[d+20>>2]=1;v[d>>2]=a;if(a){break d}Te(c);return 0}v[d>>2]=a;if((b|0)>0){break c}}b=0}v[d+12>>2]=0;v[d+8>>2]=b;return c}function cH(a,b,c){var d=0,e=0,f=0;if(w[a+96|0]){t[a+96|0]=0;v[a+64>>2]=2147483647;v[a+68>>2]=2147483647;v[a+48>>2]=2147483647;v[a+52>>2]=2147483647;v[a+8>>2]=0;v[a+12>>2]=0;v[a+1172>>2]=0;v[a+88>>2]=-2147483647;v[a+92>>2]=-2147483647;v[a+80>>2]=2147483647;v[a+84>>2]=2147483647;v[a+72>>2]=0;v[a+76>>2]=0;v[a+56>>2]=0;v[a+60>>2]=0}if(!(!w[a+1160|0]|v[a+1172>>2]!=2)){qd(a+100|0,a,v[a+1164>>2],v[a+1168>>2])}f=a;c=c*256;c=c+(c<0?-.5:.5);a:{if(D(c)<2147483648){d=~~c;break a}d=-2147483648}e=d;v[f+1168>>2]=e;f=a;b=b*256;b=b+(b<0?-.5:.5);b:{if(D(b)<2147483648){d=~~b;break b}d=-2147483648}v[f+1164>>2]=d;v[a+120>>2]=e;v[a+116>>2]=d;if(w[a+128|0]){v[a+124>>2]=(v[a+112>>2]<(e|0))<<1|v[a+108>>2]<(d|0)|(v[a+100>>2]>(d|0))<<2|(v[a+104>>2]>(e|0))<<3}v[a+1172>>2]=1}function Mhb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:{if(w[a+17|0]<33){e=v[a+12>>2];b:{c:{if(y[b>>2]<=256){b=-1;d=v[c+8>>2];if(d&7){break b}b=v[c+64>>2];if(!((b|0)<0|(b|0)>v[c+60>>2])){break a}v[c+4>>2]=v[c+4>>2]|32;b=-1;d=v[c+28>>2];v[c+28>>2]=d-1;if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=v[c+24>>2];v[c+24>>2]=b+1;t[b|0]=e;break c}if((Fc(c,e&255)|0)!=-1){break c}break b}b=-1;if(Gg(c,e)){break b}}b=-1;d=v[c+8>>2];if(d&7){break b}a=a+16|0;e=w[a|0];b=v[c+64>>2];if(!((b|0)<0|(b|0)>v[c+60>>2])){break a}v[c+4>>2]=v[c+4>>2]|32;b=-1;d=v[c+28>>2];v[c+28>>2]=d-1;d:{if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=v[c+24>>2];v[c+24>>2]=b+1;t[b|0]=e;break d}if((Fc(c,e)|0)==-1){break b}}b=L2(c,t[a|0]&1,a)?-1:0}return b|0}X(53401,47016,689,188718);L()}v[c+8>>2]=d|4;return-1}function xQ(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{b:{c:{d=v[a+708>>2];switch(d|0){case 0:break a;case 1:break c;default:break b}}td(a,c);return}d=d-1|0;v[a+708>>2]=d;if((d|0)!=1){break a}Gc(a,67705);td(a,c);return}d=v[a+200>>2];if(d&1){if(d&4){v[a+200>>2]=d|8}Zc(a,v[a+740>>2]);d=If(a,c+1|0);v[a+740>>2]=d;if(!d){Gc(a,67959);return}yf(a,d,c);kd(a,d,c);e=td(a,0);d=v[a+740>>2];if(e){Zc(a,d);v[a+740>>2]=0;return}f=c+d|0;t[f|0]=0;c=d;while(1){e=c;c=c+1|0;if(w[e|0]){continue}break}c=If(a,28);if(!c){Gc(a,68095);Zc(a,v[a+740>>2]);v[a+740>>2]=0;return}v[c+24>>2]=0;v[c+4>>2]=d;v[c>>2]=-1;v[c+16>>2]=0;v[c+20>>2]=0;d=e+((e|0)!=(f|0))|0;v[c+8>>2]=d;g=c,h=Bc(d),v[g+12>>2]=h;b=GD(a,b,c);Zc(a,v[a+740>>2]);v[a+740>>2]=0;Zc(a,c);if(b){Gc(a,68155)}return}hd(a,67810);L()}function un(a){var b=0,c=0,d=0,e=0,f=0,g=0;if(a){b=v[a+32>>2];if(b){dc(b);v[a+32>>2]=0}b=v[a+28>>2];if(b){dc(b);v[a+28>>2]=0}b=v[a+36>>2];a:{if(!b){break a}c=v[b+1456>>2];if(c){dc(c);v[b+1456>>2]=0;b=v[a+36>>2]}c=v[b+1872>>2];if(c){dc(c);v[b+1872>>2]=0;b=v[a+36>>2];if(!b){break a}}dc(b);v[a+36>>2]=0}c=v[a+44>>2];if(c){b=v[c+88>>2];b:{if(!b){break b}if((B(v[c+52>>2],v[c+48>>2])|0)>0){while(1){d=B(e,1876);f=d+b|0;g=v[f+1456>>2];if(g){dc(g);v[f+1456>>2]=0;b=v[c+88>>2]}b=b+d|0;d=v[b+1872>>2];if(d){dc(d);v[b+1872>>2]=0}b=v[c+88>>2];e=e+1|0;if((e|0)<(B(v[c+52>>2],v[c+48>>2])|0)){continue}break}if(!b){break b}}dc(b);v[c+88>>2]=0}b=v[c+68>>2];if(b){dc(b);v[c+68>>2]=0}b=v[c+56>>2];if(b){dc(b);v[c+56>>2]=0}b=v[c+44>>2];if(b){dc(b);v[c+44>>2]=0}dc(c)}dc(a)}}function acb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=v[a+636>>2]+v[a+616>>2]|0;e=v[a+644>>2];a:{b:{b=v[a+540>>2];if(!b){b=v[v[a+528>>2]+88>>2]}if(!w[b+56|0]){b=0;if(v[a+588>>2]>0){break b}h=1;break a}c=v[a+588>>2];c:{d:{if(x[b+836>>1]){b=0;if((c|0)>0){break d}break a}b=0;if((c|0)>0){break c}break a}c=0;while(1){g=e;if(!(b&255)){c=w[d|0];d=d+1|0;b=128}zq(g,b&c?0:255);e=e+4|0;b=(b&254)>>>1|0;f=f+1|0;if((f|0)>2]){continue}break}break a}c=0;while(1){g=e;if(!(b&255)){c=w[d|0];d=d+1|0;b=128}zq(g,b&c?-1:0);e=e+4|0;b=(b&254)>>>1|0;f=f+1|0;if((f|0)>2]){continue}break}break a}while(1){g=e;if(!(b&255)){c=w[d|0];d=d+1|0;b=128}zq(g,b&c?-1:255);e=e+4|0;h=1;b=(b&254)>>>1|0;f=f+1|0;if((f|0)>2]){continue}break}}t[a+649|0]=h;return 0}function PV(a){var b=0,c=0,d=0;b=Qb-65808|0;Qb=b;v[b+44>>2]=0;v[b+48>>2]=0;a:{if(!a){UV(b+8|0);break a}v[b+48>>2]=v[a+40>>2];c=v[a+36>>2];v[b+40>>2]=v[a+32>>2];v[b+44>>2]=c;c=v[a+28>>2];v[b+32>>2]=v[a+24>>2];v[b+36>>2]=c;c=v[a+20>>2];v[b+24>>2]=v[a+16>>2];v[b+28>>2]=c;c=v[a+12>>2];v[b+16>>2]=v[a+8>>2];v[b+20>>2]=c;c=v[a+4>>2];v[b+8>>2]=v[a>>2];v[b+12>>2]=c}c=b;d=v[b+36>>2];a=v[b+8>>2];if(!a){a=v[b+40>>2]}a=Ub[a|0](d,0,11)|0;v[c+52>>2]=a;b:{if(!a){a=0;break b}a=xo(b+8|0,a);v[b+128>>2]=0;v[b+64>>2]=0;v[b+65776>>2]=a;v[b+65780>>2]=Tb;v[b+56>>2]=0;v[b+60>>2]=0;a=jc(65800);c=b+65792|0;v[c>>2]=0;v[c+4>>2]=0;v[b+65784>>2]=0;v[b+65788>>2]=0;if(!a){Ub[v[b+28>>2]](v[b+36>>2],v[b+52>>2])|0;a=0;break b}v[b+65800>>2]=0;gc(a,b+8|0,65800)}Qb=b+65808|0;return a}function Ggb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=v[v[a+40>>2]+16>>2];b=v[a+52>>2];if(v[a+4>>2]==16){c=v[v[a+44>>2]+88>>2]+B(v[a+8>>2],1876)|0}else{c=v[a+36>>2]}if(v[c+424>>2]){e=v[c+420>>2]+1|0}j=v[c+1872>>2];v[c+424>>2]=1;h=(g|0)<257?1:2;a=((Ub[v[v[b>>2]+20>>2]](b,2)|0)-2|0)/((h<<1)+5|0)|0;i=a+e|0;if((a|0)>0){while(1){d=(e<<5)+c|0;k=d,l=Ub[v[v[b>>2]+20>>2]](b,1)|0,v[k+428>>2]=l;k=d,l=Ub[v[v[b>>2]+20>>2]](b,h)|0,v[k+432>>2]=l;f=Ub[v[v[b>>2]+20>>2]](b,2)|0;a=v[c+12>>2];v[d+436>>2]=a>>>0>>0?a:f;f=Ub[v[v[b>>2]+20>>2]](b,1)|0;a=v[j+4>>2];v[d+440>>2]=a>>>0>>0?a:f;a=Ub[v[v[b>>2]+20>>2]](b,h)|0;v[d+444>>2]=a>>>0>g>>>0?g:a;k=d,l=Ub[v[v[b>>2]+20>>2]](b,1)|0,v[k+448>>2]=l;e=e+1|0;if((i|0)>(e|0)){continue}break}}v[c+420>>2]=i-1}function y9a(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;a:{if(w[a+286|0]|!w[a+285|0]|(w[a+287|0]|w[a+288|0])){break a}if(w[a+289|0]){break a}if((c|0)!=1){pc(a,1028,0,0);return 1028}if(w[a+305|0]){g=w[d|0];b:{if(w[a+114|0]){c=Ub[v[a+152>>2]](36)|0;if(!c){pc(a,1,0,0);c=1;break b}v[c+4>>2]=713;v[c>>2]=714;f=v[a+700>>2];c:{if(f){v[f+8>>2]=c;break c}v[a+696>>2]=c}v[c+8>>2]=0;v[c+12>>2]=f;v[a+700>>2]=c;v[c+16>>2]=v[a+436>>2];v[c+20>>2]=v[a+440>>2];v[c+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=c}t[c+28|0]=g;c=M1(a,c);if(c){break b}}c=0}d:{if(c){break d}c=0;if(!w[a+112|0]){break d}c=Ub[v[b+4>>2]](a,b,e)|0;if(c){break d}t[v[e>>2]+32|0]=w[d|0];c=0}return c|0}pc(a,1069,0,0);return 1069}pc(a,1029,0,0);return 1029}function gva(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;c=Qb-48|0;Qb=c;Ub[v[v[a>>2]+16>>2]](a);d=c+40|0;v[d>>2]=0;e=v[v[a+4>>2]+8>>2];t[c+19|0]=0;v[c+8>>2]=0;f=v[v[e>>2]+12>>2];v[299999]=0;U(f|0,c+24|0,e|0,c+8|0);e=v[299999];v[299999]=0;a:{b:{c:{d:{if((e|0)!=1){v[299999]=0;d=ca(4079,d|0,b|0,c+24|0,0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break d}if(t[c+35|0]<=-1){dc(v[c+24>>2])}if(t[c+19|0]<=-1){dc(v[c+8>>2])}if(!d){b=fc(72);e=v[v[a+4>>2]+4>>2];v[299999]=0;e=Q(4080,b|0,e|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break b}a=v[a+4>>2];v[a+12>>2]=b;NQ(e,v[a+8>>2])}Qb=c+48|0;return!d|0}a=P()|0;O()|0;break c}a=P()|0;O()|0;if(t[c+35|0]>-1){break c}dc(v[c+24>>2])}if(t[c+19|0]>-1){break a}dc(v[c+8>>2]);T(a|0);L()}a=P()|0;O()|0;dc(b)}T(a|0);L()}function H2a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;b=Bc(c);f=b+18|0;a:{b:{if((b|0)<=-18){a=6;if(f){break a}a=0;break b}a=v[a>>2];a=Ub[v[a+4>>2]](a,f)|0;if(!a){return 64}ic(a,0,f)}f=gc(a,c,b);b=f+b|0;a=w[292848]|w[292849]<<8;t[b+16|0]=a;t[b+17|0]=a>>>8;a=w[292844]|w[292845]<<8|(w[292846]<<16|w[292847]<<24);c=w[292840]|w[292841]<<8|(w[292842]<<16|w[292843]<<24);t[b+8|0]=c;t[b+9|0]=c>>>8;t[b+10|0]=c>>>16;t[b+11|0]=c>>>24;t[b+12|0]=a;t[b+13|0]=a>>>8;t[b+14|0]=a>>>16;t[b+15|0]=a>>>24;a=w[292836]|w[292837]<<8|(w[292838]<<16|w[292839]<<24);c=w[292832]|w[292833]<<8|(w[292834]<<16|w[292835]<<24);t[b|0]=c;t[b+1|0]=c>>>8;t[b+2|0]=c>>>16;t[b+3|0]=c>>>24;t[b+4|0]=a;t[b+5|0]=a>>>8;t[b+6|0]=a>>>16;t[b+7|0]=a>>>24;v[d>>2]=f;v[e>>2]=0;a=0}return a|0}function _0(a,b,c,d){var e=0,f=0,g=0;f=v[a+2248>>2];if(!f){pc(a,1063,0,0);return 1063}e=v[f+88>>2];if(w[e+44|0]>b>>>0){pc(a,1036,0,0);return 1036}e=w[e+45|0];g=e;a:{b:{c:{switch(e|0){case 0:if(!(1<>>0>6){break b}break a;case 4:switch(c-4|0){case 0:case 2:break a;default:break b};case 2:switch(c-2|0){case 0:case 4:break a;default:break b};default:break c}}if((g|0)==6&(c|0)!=6){break b}d:{switch(e-8|0){case 0:if(c>>>0>14){break b}if(1<>>0>6){break b}if(1<>>0<=c>>>0){m=b;while(1){l=m&65535;e:{f:{if(!l){l=v[a+528>>2];break f}l=yg(a,l);if(!l|w[l+30|0]){break e}if(!(w[l+65|0]?1:w[l+64|0])){break f}n=Ss(a,l);if(n){break a}}u[l+76>>1]=j;u[l+74>>1]=i;u[l+72>>1]=h;u[l+70>>1]=g;u[l+68>>1]=f;u[l+66>>1]=e;t[l+65|0]=k;t[l+64|0]=d}m=m+1|0;if((m&65535)>>>0<=c>>>0){continue}break}u[a+2324>>1]=c;u[a+2320>>1]=b;m=a+497|0;if(b>>>0>c>>>0){break d}while(1){if(w[a+497|0]){break c}u[a+2322>>1]=b;d=b&65535;g:{if(!d){break g}d=yg(a,d);if(!d|w[d+30|0]|(!w[d+31|0]|!w[d+32|0])){break g}n=fh(a,d,0);if(n){break a}}b=b+1|0;if((b&65535)>>>0<=c>>>0){continue}break}break d}u[a+2324>>1]=c;u[a+2320>>1]=b;m=a+497|0}if(!w[m|0]){break b}}t[a+498|0]=9}n=0}return n}function Po(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=(+(b|0)+16)/116;f=h+ +(d|0)/-200;e=de(f,3);i=(e>.008856?e:f/7.787)*108.883/100;j=i*1.057;f=+(c|0)/500+h;e=de(f,3);g=(e>.008856?e:f/7.787)*95.047/100;e=de(h,3);f=(e>.008856?e:h/7.787)*100/100;e=g*.0557+f*-.204;h=f*1.8758+g*-.9689+i*.0415;f=g*3.2406+f*-1.5372+i*-.4986;a:{if(f>.0031308){g=de(f,.4166666666666667)*1.055+-.055;break a}g=f*12.92}e=e+j;b:{if(h>.0031308){f=de(h,.4166666666666667)*1.055+-.055;break b}f=h*12.92}c:{if(e>.0031308){e=de(e,.4166666666666667)*1.055+-.055;break c}e=e*12.92}b=a<<24;g=g*256;d:{if(D(g)<2147483648){a=~~g;break d}a=-2147483648}b=b|a<<16;f=f*256;e:{if(D(f)<2147483648){a=~~f;break e}a=-2147483648}a=b|a<<8;e=e*256;if(D(e)<2147483648){return a|~~e}return a|-2147483648}function uoa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Qb+-64|0;Qb=d;v[d+56>>2]=0;v[d+60>>2]=v[282402];c=v[c>>2];v[d+4>>2]=v[(c?c+12|0:1129608)>>2];v[d>>2]=b;v[299999]=0;Y(4635,d+56|0,237132,d|0)|0;b=v[299999];v[299999]=0;a:{b:{c:{if((b|0)!=1){v[299999]=0;b=Q(4538,d+16|0,d+56|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break c}v[299999]=0;Q(4342,a|0,b|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break b}v[b+24>>2]=981312;v[b>>2]=981280;a=v[b+28>>2];if(a){c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(!c){Ub[v[v[a>>2]+4>>2]](a)}v[b+28>>2]=0}v[b+16>>2]=981312;a=v[b+20>>2];if(a){c=v[a+4>>2]-1|0;v[a+4>>2]=c;if(!c){Ub[v[v[a>>2]+4>>2]](a)}v[b+20>>2]=0}ec(b+8|0);ec(d+56|0);Qb=d- -64|0;return}c=P()|0;O()|0;break a}c=P()|0;O()|0;break a}c=P()|0;O()|0;$c(b)}ec(d+56|0);T(c|0);L()}function cd(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;f=-1;a:{if(!a){break a}e=v[a>>2];if(!e){break a}g=v[a+12>>2];if(!g){break a}h=v[a+16>>2];if(!h){break a}c=v[e+16>>2];if(!c){break a}if(!v[c+32>>2]){b=v[c+8>>2];if(!((b|0)==v[c+24>>2]|b>>>0>2147483646)){v[c+24>>2]=b}f=0;b=v[c+20>>2];d=v[c+4>>2];if(!((b|0)==(d|0)|d>>>0>2147483646)){v[c+20>>2]=d;b=d}if(b>>>0>(h-g|0)+250>>>0){break a}}if(!v[e+4>>2]){return 0}f=Vy(e,250);b=0;c=v[v[a>>2]+16>>2];if(!(!c|v[c+32>>2])){b=v[c>>2]}d=v[a+12>>2];if((d|0)!=(b|0)){v[a+12>>2]=b;v[a+16>>2]=(v[a+16>>2]-d|0)+b}b=0;if(!(v[c+32>>2]|!c)){b=v[c+8>>2];if(!((b|0)==v[c+24>>2]|b>>>0>2147483646)){v[c+24>>2]=b}d=v[c+20>>2];b=v[c+4>>2];if((d|0)==(b|0)|b>>>0>2147483646){b=d}else{v[c+20>>2]=b}b=b+v[c>>2]|0}v[a+20>>2]=b}return f}function _Aa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=fc(400);v[299999]=0;g=Q(3555,b|0,a|0)|0;c=v[299999];v[299999]=0;a:{if((c|0)!=1){v[b>>2]=897568;A[b+184>>3]=A[a+184>>3];A[b+192>>3]=A[a+192>>3];A[b+200>>3]=A[a+200>>3];A[b+208>>3]=A[a+208>>3];A[b+216>>3]=A[a+216>>3];A[b+224>>3]=A[a+224>>3];A[b+232>>3]=A[a+232>>3];A[b+240>>3]=A[a+240>>3];A[b+248>>3]=A[a+248>>3];A[b+256>>3]=A[a+256>>3];c=v[a+392>>2];v[b+392>>2]=c;b:{if((c|0)>=1){while(1){c=d<<2;e=v[(c+a|0)+264>>2];f=v[v[e>>2]+8>>2];v[299999]=0;e=S(f|0,e|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break b}v[(b+c|0)+264>>2]=e;d=d+1|0;if((d|0)>2]){continue}break}}return g|0}d=P()|0;O()|0;v[b>>2]=897548;a=v[b+8>>2];if(!a){break a}Ub[v[v[a>>2]+4>>2]](a);break a}d=P()|0;O()|0}dc(b);T(d|0);L()}function Wha(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;var j=0,k=0,l=0,m=0,n=0,o=0;c=Qb-16|0;Qb=c;d=(g|0)/2|0;if(f>>>0>=2){o=d<<2;g=((e<<2)+b|0)+(h<<2)|0;d=(h<<1)+e<<2;while(1){h=e;while(1){j=w[i+2|0];k=w[i+3|0];l=c+12|0;m=c+8|0;n=c+4|0;Gd(v[a+68>>2],w[i|0],j,k,l,m,n);v[b>>2]=v[c+12>>2]|v[c+8>>2]<<8|v[c+4>>2]<<16|-16777216;Gd(v[a+68>>2],w[i+1|0],j,k,l,m,n);v[g>>2]=v[c+12>>2]|v[c+8>>2]<<8|v[c+4>>2]<<16|-16777216;i=i+4|0;g=g+4|0;b=b+4|0;h=h-1|0;if(h){continue}break}i=i+o|0;g=d+g|0;b=b+d|0;f=f-2|0;if(f>>>0>1){continue}break}}if((f|0)==1){while(1){Gd(v[a+68>>2],w[i|0],w[i+2|0],w[i+3|0],c+12|0,c+8|0,c+4|0);v[b>>2]=v[c+12>>2]|v[c+8>>2]<<8|v[c+4>>2]<<16|-16777216;i=i+4|0;b=b+4|0;e=e-1|0;if(e){continue}break}}Qb=c+16|0}function UAa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=fc(392);v[299999]=0;g=Q(3555,b|0,a|0)|0;c=v[299999];v[299999]=0;a:{if((c|0)!=1){v[b>>2]=897608;A[b+184>>3]=A[a+184>>3];A[b+192>>3]=A[a+192>>3];A[b+200>>3]=A[a+200>>3];A[b+208>>3]=A[a+208>>3];A[b+216>>3]=A[a+216>>3];A[b+224>>3]=A[a+224>>3];A[b+232>>3]=A[a+232>>3];A[b+240>>3]=A[a+240>>3];c=v[a+376>>2];v[b+376>>2]=c;b:{if((c|0)>=1){while(1){c=d<<2;e=v[(c+a|0)+248>>2];f=v[v[e>>2]+8>>2];v[299999]=0;e=S(f|0,e|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break b}v[(b+c|0)+248>>2]=e;d=d+1|0;if((d|0)>2]){continue}break}}v[b+380>>2]=v[a+380>>2];v[b+384>>2]=v[a+384>>2];return g|0}d=P()|0;O()|0;v[b>>2]=897548;a=v[b+8>>2];if(!a){break a}Ub[v[v[a>>2]+4>>2]](a);break a}d=P()|0;O()|0}dc(b);T(d|0);L()}function Ng(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;if((b|0)<=-1){mh(268395)}c=8;a:{b:{if(!v[a+4>>2]){while(1){d=c;if((b|0)>(c|0)){c=d<<1;if((d|0)<1048576){continue}}break}if((2147483647-d|0)<(b|0)){mh(342178)}c=fc(b+d&0-d);break b}while(1){d=c;if((b|0)>(c|0)){c=d<<1;if((d|0)<1048576){continue}}break}if((2147483647-d|0)<(b|0)){mh(342178)}f=v[a>>2];e=8;while(1){c=e;if((c|0)<(f|0)){e=c<<1;if((c|0)<1048576){continue}}break}if((2147483647-c|0)<(f|0)){mh(342178)}if((c+f&0-c)==(b+d&0-d)){break a}d=8;while(1){c=d;if((c|0)<(b|0)){d=c<<1;if((c|0)<1048576){continue}}break}if((2147483647-c|0)<(b|0)){mh(342178)}c=fc(b+c&0-c);d=v[a+4>>2];e=v[a>>2];c:{if((e|0)>(b|0)){g=gc(c,d,b)+b|0,h=0,t[g|0]=h;break c}gc(c,d,e+1|0)}if(!d){break b}dc(d)}v[a+4>>2]=c}}function MH(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=v[a+52>>2];c=w[a+32|0];a:{b:{c:{if(c){break c}d=v[a+24>>2];if(d>>>0>=y[a+28>>2]){break c}if(y[a+56>>2]>2]){break b}}if(y[a+56>>2]>=y[a+60>>2]){b=b+1|0;v[a+52>>2]=b;e=-1;if(b>>>0>16){break a}v[a+60>>2]=y[a+40>>2]>b>>>0?(1<>2]+1|0}if(c){v[a+60>>2]=256;v[a+52>>2]=9;t[a+32|0]=0;b=9}e=-1;if(v[a+4>>2]){break a}d=0;c=RH(v[a+164>>2],a+8|0,b);v[a+24>>2]=0;f=c<<3;v[a+28>>2]=f;v[a+36>>2]=c+v[a+36>>2];g=v[a+52>>2];v[a+4>>2]=g>>>0>c>>>0;if(f>>>0<=g>>>0){break a}v[a+28>>2]=(f|1)-g;if(!c){break a}}v[a+24>>2]=b+d;g=(d>>>3|0)+a|0;c=g+8|0;f=d&7;e=w[c|0]>>>f|0;d=8-f|0;a=b-d|0;if(a>>>0<8){b=g+9|0}else{a=a-8|0;e=w[c+1|0]<>>0>c>>>0){break a}f=v[a+12>>2];if(f>>>0<=d>>>0|e>>>0>=f>>>0){break a}g=v[a+8>>2];f=v[g+(d<<3)>>2];g=v[g+(e<<3)>>2];b:{if((f|0)<=(g|0)){i=g;g=f;f=e;e=d;break b}i=f;f=d}j=v[a+4>>2];f=f<<3;h=v[j+f>>2];d=v[a>>2];l=v[f+d>>2];n=h-l|0;e=e<<3;k=v[e+j>>2];m=v[d+e>>2];o=k-m|0;if(!((h|0)==(k|0)|(g|0)==(i|0))){p=i-g|0;e=h-k|0;f=0;i=0;while(1){h=b<<3;d=v[h+d>>2];c:{if((d|0)<=(m|0)){d=d+o|0;break c}if((d|0)>=(l|0)){d=d+n|0;break c}if(!f){i=ad(e,p)}d=Ac(v[v[a+8>>2]+h>>2]-g|0,i)+k|0;j=v[a+4>>2];f=1}v[h+j>>2]=d;b=b+1|0;if(c>>>0>>0){break a}d=v[a>>2];continue}}while(1){a=b<<3;e=v[a+d>>2];v[a+j>>2]=(e|0)>(m|0)?(e|0)<(l|0)?k:e+n|0:e+o|0;b=b+1|0;if(c>>>0>=b>>>0){continue}break}}}function Ws(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{b:{if(b>>>0<32){if(c>>>b|0){break b}c:{if((b|0)>=1){f=b-1|0;while(1){if(!(w[a+16|0]&2)){break a}g=b;b=v[a+8>>2];d=b-1|0;v[a+8>>2]=d;d:{if((b|0)<=0){e=v[a+4>>2];b=e<<8&65280;d=(b|0)==65280?6:7;v[a+8>>2]=d;v[a+4>>2]=b|(c>>>f&1)<>2];h=v[b+8>>2];if(h&7){break c}d=v[b+64>>2];if(!((d|0)<0|(d|0)>v[b+60>>2])){v[b+8>>2]=h|4;return-1}v[b+4>>2]=v[b+4>>2]|32;d=v[b+28>>2];v[b+28>>2]=d-1;if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=b;b=v[b+24>>2];v[d+24>>2]=b+1;t[b|0]=e;break d}d=-1;if((Fc(b,e&255)|0)!=-1){break d}break c}v[a+4>>2]=v[a+4>>2]|(c>>>f&1)<1){continue}break}}d=0}return d}X(25793,18822,218,189295);L()}X(27568,18822,220,189295);L()}X(23400,18822,225,189295);L()}function W6(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;e=Qb-16|0;Qb=e;v[e+12>>2]=0;if(w[b+11|0]>>>7|0){b=v[b>>2]}v[e+8>>2]=v[299402];v[299402]=0;h=Qb-16|0;Qb=h;i=e+12|0;d=Qb-224|0;Qb=d;ic(d+16|0,0,144);v[d+92>>2]=-1;v[d+64>>2]=60;v[d+60>>2]=d+160|4;v[d+48>>2]=5939;f=b;while(1){g=b;b=b+4|0;if(CM(v[g>>2])){continue}break}v[d+100>>2]=g;b=d+16|0;Bj(b,0,0);PC(d,b,1,1);j=v[d+8>>2];k=v[d+12>>2];l=v[d>>2];m=v[d+4>>2];if(i){b=v[d+136>>2]+(v[d+20>>2]-v[d+24>>2]|0)|0;v[i>>2]=b?(b<<2)+g|0:f}b=h;v[b+8>>2]=j;v[b+12>>2]=k;v[b>>2]=l;v[b+4>>2]=m;Qb=d+224|0;n=Hw(v[b>>2],v[b+4>>2],v[b+8>>2],v[b+12>>2]);Qb=b+16|0;ar(1197608,e+8|0);if(v[e+8>>2]==68){PB(a)}if(v[e+12>>2]==(f|0)){bL(a)}if(c){v[c>>2]=v[e+12>>2]-f>>2}Qb=e+16|0;return+n}function DT(a,b){var c=0,d=0,e=0,f=0,g=0;c=Qb-128|0;Qb=c;v[c+112>>2]=13;a:{if(v[b>>2]!=6){break a}f=v[b+8>>2];e=v[f+12>>2];b:{if((e|0)<1){break b}while(1){e=(c+80|0)+(d<<3)|0;if(v[yc(f,d,c+112|0,0)>>2]-1>>>0<=1){g=v[c+112>>2]==1?+v[c+120>>2]:A[c+120>>3]}else{g=0}A[e>>3]=g;hc(c+112|0);f=v[b+8>>2];e=v[f+12>>2];if(d>>>0>2){break b}d=d+1|0;if((e|0)>(d|0)){continue}break}}d=0;c:{d:{switch(e-1|0){case 0:a=v[a+40>>2];A[c>>3]=A[c+80>>3];Jc(a,351769,c);break c;case 2:a=v[a+40>>2];A[c+32>>3]=A[c+96>>3];A[c+16>>3]=A[c+80>>3];A[c+24>>3]=A[c+88>>3];Jc(a,351526,c+16|0);break c;case 3:break d;default:break a}}a=v[a+40>>2];A[c- -64>>3]=A[c+96>>3];A[c+72>>3]=A[c+104>>3];A[c+48>>3]=A[c+80>>3];A[c+56>>3]=A[c+88>>3];Jc(a,351441,c+48|0)}d=1}Qb=c+128|0;return d}function kva(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=Qb-16|0;Qb=f;v[a>>2]=972384;e=fc(16);v[e>>2]=b;v[e+12>>2]=0;c=v[v[b>>2]+52>>2];v[299999]=0;g=S(c|0,b|0)|0;c=v[299999];v[299999]=0;a:{if((c|0)==1){break a}v[e+4>>2]=g;v[299999]=0;c=ga(4077)|0;d=v[299999];v[299999]=0;if((d|0)==1){break a}d=v[v[b>>2]+24>>2];v[299999]=0;b=S(d|0,b|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break a}d=v[v[c>>2]+24>>2];v[299999]=0;V(d|0,c|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[v[g>>2]+68>>2];v[299999]=0;V(b|0,g|0,c|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}v[f+12>>2]=16;b=v[v[c>>2]+20>>2];v[299999]=0;V(b|0,c|0,f+12|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}v[e+8>>2]=0;v[a+4>>2]=e;Qb=f+16|0;return a|0}a=P()|0;O()|0;dc(e);T(a|0);L()}function pD(a){var b=0,c=0,d=0;eg(a+40|0,0,4);b=v[a+152>>2];if(b){dc(b);v[a+152>>2]=0}b=v[a+156>>2];if(b){dc(b);v[a+156>>2]=0}b=v[a+160>>2];if(b){dc(b);v[a+160>>2]=0}b=v[a+172>>2];if(b){dc(b);v[a+172>>2]=0}b=v[a+200>>2];if(b){dc(b);v[a+200>>2]=0}b=v[a+232>>2];if(b){dc(b);v[a+232>>2]=0}b=v[a+212>>2];if(b){dc(b);v[a+212>>2]=0}b=v[a+216>>2];if(b){dc(b);v[a+216>>2]=0}b=v[a+220>>2];if(b){dc(b);v[a+220>>2]=0}b=v[a+224>>2];if(b){dc(b);v[a+224>>2]=0}b=v[a+184>>2];if(b){dc(b);v[a+184>>2]=0}b=v[a+188>>2];if(b){dc(b);v[a+188>>2]=0}v[a+44>>2]=v[a+44>>2]&-385;c=v[a+236>>2];if((c|0)>=1){b=0;while(1){d=v[(v[a+240>>2]+B(b,12)|0)+8>>2];if(d){dc(d);c=v[a+236>>2]}b=b+1|0;if((c|0)>(b|0)){continue}break}}v[a+236>>2]=0;b=v[a+240>>2];if(b){dc(b);v[a+240>>2]=0}}function gcb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=v[a+2308>>2];a:{if(!e){break a}b=v[a+2316>>2];c=v[a+2312>>2];a=v[a+2300>>2];if(w[a+56|0]){while(1){d=x[c+4>>1];g=x[c>>1];f=x[c+2>>1];if(!(!((g|0)!=x[a+838>>1]|(f|0)!=x[a+840>>1])&(d|0)==x[a+842>>1])){u[b+6>>1]=65535}u[b+4>>1]=d;u[b+2>>1]=f;u[b>>1]=g;b=b+8|0;c=c+6|0;h=h+1|0;if((e|0)!=(h|0)){continue}break}break a}if((e|0)!=1){a=e&-2;while(1){d=x[c>>1]|x[c+2>>1]<<16;u[b+4>>1]=x[c+4>>1];u[b>>1]=d;u[b+2>>1]=d>>>16;u[b+6>>1]=65535;f=x[c+10>>1];d=x[c+6>>1]|x[c+8>>1]<<16;u[b+14>>1]=65535;u[b+8>>1]=d;u[b+10>>1]=d>>>16;u[b+12>>1]=f;b=b+16|0;c=c+12|0;a=a-2|0;if(a){continue}break}}if(!(e&1)){break a}a=x[c>>1]|x[c+2>>1]<<16;u[b+4>>1]=x[c+4>>1];u[b>>1]=a;u[b+2>>1]=a>>>16;u[b+6>>1]=65535}return 0}function bR(a,b,c,d,e){var f=0,g=0,h=0,i=0;if(w[a+206|0]&32){Zu(a+212|0);v[a+204>>2]=v[a+204>>2]&-2097153}v[a+212>>2]=b;b=0;v[a+216>>2]=0;h=a+212|0;a:{if(!d){while(1){if(!(!c|b)){v[a+216>>2]=c;c=0}b=v[a+272>>2];v[a+224>>2]=v[a+268>>2];v[a+228>>2]=b;b=Mj(h,0);d=v[a+272>>2]-v[a+228>>2]|0;f=(b>>>0<2?(d|0)>0?d:0:0)+f|0;if(b){break a}b=v[a+216>>2];continue}}while(1){if(!(!c|b)){v[a+216>>2]=c;c=0}b=v[a+272>>2];v[a+224>>2]=v[a+268>>2];v[a+228>>2]=b;b=Mj(h,0);b:{if(b>>>0>1){break b}g=v[a+272>>2]-v[a+228>>2]|0;if((g|0)<1){break b}if(e>>>0>f>>>0){i=e-f|0;gc(d+f|0,v[a+268>>2],g>>>0>>0?g:i)}f=f+g|0}if(b){break a}b=v[a+216>>2];continue}}v[a+216>>2]=0;Zu(h);if((b|0)!=1){c=a;a=v[a+236>>2];qS(c,a?a:(b|0)==-5?76446:(b|0)==-3?76526:76581);f=0}return f}function TAa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;IS(a,b);v[a>>2]=897628;c=v[b+184>>2];v[a+184>>2]=c;v[299999]=0;c=Q(3364,c|0,272)|0;d=v[299999];v[299999]=0;a:{if((d|0)==1){break a}v[a+180>>2]=c;gc(c,v[b+180>>2],B(v[a+184>>2],272));c=v[b+192>>2];v[a+192>>2]=c;v[299999]=0;c=Q(3364,B(c,3)|0,4)|0;d=v[299999];v[299999]=0;if((d|0)==1){break a}v[a+188>>2]=c;gc(c,v[b+188>>2],B(v[a+192>>2],12));v[a+324>>2]=v[b+324>>2];c=v[b+328>>2];v[a+328>>2]=c;b:{if((c|0)>=1){c=0;while(1){d=c<<2;e=v[(d+b|0)+196>>2];f=v[v[e>>2]+8>>2];v[299999]=0;e=S(f|0,e|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break b}v[(a+d|0)+196>>2]=e;c=c+1|0;if((c|0)>2]){continue}break}}return a|0}}b=P()|0;O()|0;v[a>>2]=897548;a=v[a+8>>2];if(a){Ub[v[v[a>>2]+4>>2]](a)}T(b|0);L()}function Z8a(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;a:{b:{c:{g=a;f=1029;d:{if(!w[a+285|0]|!w[a+288|0]){break d}f=1028;if(c&3|c>>>0<4){break d}if(!w[a+112|0]){break b}f=Ub[v[b+4>>2]](a,b,e)|0;if(f){break a}b=c>>>2|0;v[v[e>>2]+32>>2]=b;f=Ub[v[a+152>>2]](c)|0;if(f){break c}f=1}pc(g,f,0,0);return f|0}v[v[e>>2]+36>>2]=f;if((b|0)!=1){b=b&1073741822;while(1){a=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);v[f>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);v[f+4>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);f=f+8|0;d=d+8|0;b=b-2|0;if(b){continue}break}}if(!(c&4)){break b}a=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);v[f>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}f=0}return f|0}function Iea(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=Qb-16|0;Qb=f;v[a+8>>2]=1;v[a+4>>2]=0;v[a>>2]=997824;a:{b:{c:{d:{e:{f:{e=v[b>>2];if(e){v[299999]=0;v[e+4>>2]=v[e+4>>2]+1;d=v[299999];v[299999]=0;if((d|0)==1){break f}d=v[b>>2]}b=a+12|0;v[a+16>>2]=0;v[a+12>>2]=d;d=v[282402];v[a+24>>2]=0;v[a+28>>2]=0;v[a+20>>2]=d;v[299999]=0;$(5360,f+8|0,0,0,c|0);d=v[299999];v[299999]=0;c=a+16|0;if((d|0)==1){break e}v[299999]=0;Q(4535,c|0,f+8|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break d}ec(f+8|0);d=v[b>>2];e=v[v[d>>2]+16>>2];v[299999]=0;d=S(e|0,d|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break c}v[a+32>>2]=d;Qb=f+16|0;return a|0}d=P()|0;O()|0;break a}d=P()|0;O()|0;break b}d=P()|0;O()|0;ec(f+8|0);break b}d=P()|0;O()|0}ec(c);ec(b)}Ti(a);T(d|0);L()}function qX(a){a=a|0;v[a+4>>2]=1;v[a>>2]=459680;v[a+2228520>>2]=0;v[a+2228524>>2]=0;v[a>>2]=467280;v[a+2228528>>2]=0;v[a+2228512>>2]=0;v[a+2228504>>2]=0;v[a+160>>2]=0;v[a+164>>2]=0;v[a+168>>2]=0;v[a+172>>2]=0;v[a+264>>2]=0;v[a+268>>2]=0;v[a+272>>2]=0;ic(a+276|0,255,2228224);ic(a+8|0,0,96);v[a+112>>2]=0;v[a+116>>2]=0;u[a+104>>1]=1;v[a+120>>2]=0;v[a+124>>2]=0;v[a+128>>2]=0;v[a+132>>2]=0;v[a+136>>2]=0;v[a+140>>2]=0;v[a+144>>2]=0;v[a+148>>2]=0;v[a+152>>2]=0;v[a+156>>2]=0;v[a+176>>2]=0;v[a+180>>2]=0;v[a+184>>2]=0;v[a+188>>2]=0;v[a+2228508>>2]=0;v[a+2228500>>2]=0;v[a+208>>2]=0;v[a+200>>2]=0;v[a+204>>2]=1072693248;v[a+192>>2]=-1;v[a+196>>2]=-1;v[a+244>>2]=0;v[a+248>>2]=0;v[a+252>>2]=0;v[a+256>>2]=0;v[a+260>>2]=0;v[a+2228516>>2]=1;return a|0}function Xp(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=Qb-48|0;Qb=d;e=a?v[a+80>>2]:0;a:{b:{c:{d:{switch(c-1|0){case 1:if(b){break b}a=357461;break c;default:v[d>>2]=352363;a=0;oc(0,0,0,0,0,23,1,2,0,0,0,0,237306,d);break a;case 0:case 2:case 3:break d}}a=357500;if(!b){break b}}v[d+32>>2]=a;oc(0,0,0,0,0,23,1,2,0,0,0,0,237306,d+32|0)}a=Ub[v[259704]](28)|0;if(!a){v[d+16>>2]=291415;oc(0,0,0,0,0,23,2,3,291415,0,0,0,350051,d+16|0);a=0;break a}v[a+8>>2]=0;v[a+12>>2]=0;v[a+4>>2]=1;v[a>>2]=c;v[a+24>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;if(!b){break a}g=a;c=LF(b,d+44|0);e:{if(!c){if(!e){b=we(b);break e}b=Rd(e,b,-1);break e}f=v[d+44>>2];if(!e){h=a,i=rk(b,f),v[h+24>>2]=i;b=we(c);break e}h=a,i=Rd(e,b,f),v[h+24>>2]=i;b=Rd(e,c,-1)}v[g+8>>2]=b}Qb=d+48|0;return a}function VLa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=Qb-16|0;Qb=f;a:{if(v[d>>2]>0){break a}if(!v[c>>2]){v[c>>2]=544;break a}c=v[a+8>>2];e=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);g=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);t[b+528|0]=g;t[b+529|0]=g>>>8;t[b+530|0]=g>>>16;t[b+531|0]=g>>>24;t[b+532|0]=e;t[b+533|0]=e>>>8;t[b+534|0]=e>>>16;t[b+535|0]=e>>>24;e=w[c+12|0]|w[c+13|0]<<8|(w[c+14|0]<<16|w[c+15|0]<<24);c=w[c+8|0]|w[c+9|0]<<8|(w[c+10|0]<<16|w[c+11|0]<<24);t[b+34|0]=1;v[b+8>>2]=b+528;t[b+536|0]=c;t[b+537|0]=c>>>8;t[b+538|0]=c>>>16;t[b+539|0]=c>>>24;t[b+540|0]=e;t[b+541|0]=e>>>8;t[b+542|0]=e>>>16;t[b+543|0]=e>>>24;v[f+12>>2]=268;a=EW(v[v[a+8>>2]>>2],b+260|0,f+12|0,d);v[v[b+8>>2]>>2]=a;e=b}Qb=f+16|0;return e|0}function Xr(a,b){var c=0,d=0,e=0;e=Qb-32|0;Qb=e;c=-1;a:{if(!b){break a}b:{c:{if(v[294256]){d=v[a+36>>2];d:{if(!d){break d}c=v[d+4>>2];if(!c){break d}d=v[d+28>>2];v[e+16>>2]=c;v[e+20>>2]=d;Ub[v[259806]](v[294239],346683,e+16|0)}d=v[a+40>>2];v[e+4>>2]=v[b+16>>2];v[e>>2]=d+1;Ub[v[259806]](v[294239],349355,e);break c}if(a){break c}d=-1;break b}e:{d=v[a+40>>2];c=v[a+44>>2];f:{if((d|0)<(c|0)){c=v[a+48>>2];break f}v[a+44>>2]=c<<1;c=Ub[v[259709]](v[a+48>>2],c<<3)|0;v[a+48>>2]=c;if(!c){break e}d=v[a+40>>2]}v[(d<<2)+c>>2]=b;v[a+40>>2]=d+1;v[a+36>>2]=b;break b}Qd(a,0);Sh(b);v[a+44>>2]=v[a+44>>2]/2;d=-1}c=-1;if(v[a+172>>2]==-1){break a}g:{if(v[a+292>>2]){break g}b=v[a+36>>2];if((v[b+20>>2]-v[b+16>>2]|0)>249){break g}nd(a)}c=d}Qb=e+32|0;return c}function Q2a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{b:{c=v[a+20>>2];switch(c-204|0){case 0:case 3:break a;default:break b}}d=v[a>>2];v[d+24>>2]=c;v[d+20>>2]=21;Ub[v[v[a>>2]>>2]](a)}b=(b|0)>1?b:1;c=a;if(v[v[a+456>>2]+20>>2]){d=v[a+144>>2];b=(b|0)>(d|0)?d:b}v[c+152>>2]=b;if(v[a+20>>2]!=204){Ub[v[v[a+440>>2]>>2]](a);v[a+20>>2]=204;v[a+140>>2]=0}c:{if(v[v[a+440>>2]+8>>2]){e=a+140|0;b=v[e>>2];while(1){d=v[a+116>>2];if(d>>>0>b>>>0){c=v[a+8>>2];if(c){v[c+8>>2]=d;v[c+4>>2]=b;Ub[v[c>>2]](a);b=v[a+140>>2]}d=0;Ub[v[v[a+444>>2]+4>>2]](a,0,e,0);c=b;b=v[a+140>>2];if((c|0)!=(b|0)){continue}break c}Ub[v[v[a+440>>2]+4>>2]](a);Ub[v[v[a+440>>2]>>2]](a);b=0;v[a+140>>2]=0;if(v[v[a+440>>2]+8>>2]){continue}break}}v[a+20>>2]=v[a+68>>2]?206:205;d=1}return d|0}function eTa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;b=v[a+448>>2];if(v[b+16>>2]){g=b;a:{b:{if(!v[a+160>>2]|(!v[a+80>>2]|!v[a+224>>2])){break b}c=v[b+112>>2];if(!c){c=Ub[v[v[a+4>>2]>>2]](a,1,B(v[a+36>>2],24))|0;v[b+112>>2]=c}if(v[a+36>>2]<1){break b}d=v[a+216>>2];while(1){b=v[d+80>>2];if(!b|!x[b>>1]|(!x[b+2>>1]|!x[b+16>>1])){break b}if(!x[b+4>>1]|(!x[b+32>>1]|!x[b+18>>1])){break b}b=v[a+160>>2]+(e<<8)|0;if(v[b>>2]<0){break b}v[c+4>>2]=v[b+4>>2];h=v[b+4>>2];v[c+8>>2]=v[b+8>>2];i=v[b+8>>2];v[c+12>>2]=v[b+12>>2];j=v[b+12>>2];v[c+16>>2]=v[b+16>>2];k=v[b+16>>2];v[c+20>>2]=v[b+20>>2];f=v[b+20>>2]|k|(h|i|j)?1:f;d=d+88|0;c=c+24|0;e=e+1|0;if((e|0)>2]){continue}break}b=280;if(f){break a}}b=276}v[g+12>>2]=b}v[a+156>>2]=0}function Wd(a,b,c){var d=0,e=0;a:{if((a|0)==(b|0)){break a}e=a+c|0;if(b-e>>>0<=0-(c<<1)>>>0){return gc(a,b,c)}d=(a^b)&3;b:{c:{if(a>>>0>>0){if(d){d=a;break b}if(!(a&3)){d=a;break c}d=a;while(1){if(!c){break a}t[d|0]=w[b|0];b=b+1|0;c=c-1|0;d=d+1|0;if(d&3){continue}break}break c}d:{if(d){break d}if(e&3){while(1){if(!c){break a}c=c-1|0;d=c+a|0;t[d|0]=w[b+c|0];if(d&3){continue}break}}if(c>>>0<=3){break d}while(1){c=c-4|0;v[c+a>>2]=v[b+c>>2];if(c>>>0>3){continue}break}}if(!c){break a}while(1){c=c-1|0;t[c+a|0]=w[b+c|0];if(c){continue}break}break a}if(c>>>0<=3){break b}while(1){v[d>>2]=v[b>>2];b=b+4|0;d=d+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(!c){break a}while(1){t[d|0]=w[b|0];d=d+1|0;b=b+1|0;c=c-1|0;if(c){continue}break}}return a}function _Da(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;c=v[a+28>>2];if(!v[c+492>>2]){c=-1;a=v[a+108>>2];a:{if(!a){break a}a=v[a+4>>2];if(v[a+8>>2]==13){break a}a=v[a+16>>2];c=Ub[v[v[a>>2]+52>>2]](a)|0}kc(1,c,222355,0);return}if(v[a+32>>2]){d=v[a+8>>2];Ub[v[v[d>>2]+156>>2]](d,c);v[a+32>>2]=0;c=v[a+28>>2]}e=A[c+624>>3]-A[c+576>>3];A[c+624>>3]=e;f=A[c+616>>3];A[c+600>>3]=A[c+536>>3]+(f*A[c+504>>3]+e*A[c+520>>3]);A[c+608>>3]=A[c+544>>3]+(f*A[c+512>>3]+e*A[c+528>>3]);d=v[a+8>>2];Ub[v[v[d>>2]+184>>2]](d,c);if(v[a+100>>2]){c=v[a+8>>2];Ub[v[v[c>>2]+232>>2]](c,v[a+28>>2]);ny(a,v[b+8>>2]);b=v[a+8>>2];Ub[v[v[b>>2]+236>>2]](b,v[a+28>>2]);return}b=v[b+8>>2];c=v[a+8>>2];if(Ub[v[v[c>>2]+32>>2]](c)|0){a=v[a+8>>2];Ub[v[v[a>>2]+268>>2]](a,v[b>>2])}}function Lg(a){var 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;while(1){d=(q<<2)+a|0;e=v[d>>2];j=e>>>24|0;g=j<<1;g=(e|0)>-1?g:g^27;r=e>>>8|0;s=e^r;b=r<<1;k=e<<16>>24>-1?b:b^27;b=k<<1;l=k<<24>>24>-1?b:b^27;b=l<<1;b=l<<24>>24>-1?b:b^27;f=g<<1;m=g<<24>>24>-1?f:f^27;f=m<<1;f=m<<24>>24>-1?f:f^27;n=e>>>16|0;c=n<<1;o=e<<8>>24>-1?c:c^27;c=o<<1;p=o<<24>>24>-1?c:c^27;c=p<<1;c=p<<24>>24>-1?c:c^27;t=d;d=e<<1;d=e<<24>>24>-1?d:d^27;h=d<<1;h=d<<24>>24>-1?h:h^27;i=h<<1;i=h<<24>>24>-1?i:i^27;v[t>>2]=(c^(f^(b^(i^(m^(l^(o^(g^(n^s)))))))))<<24|((c^(f^(b^(i^(p^(h^(o^(k^(j^s)))))))))&255)<<16|((c^(f^(b^(i^(m^(l^(k^(d^(e^j^n)))))))))&255)<<8|(c^(f^(b^(i^(p^(h^(g^(d^(j^r^n)))))))))&255;q=q+1|0;if((q|0)!=4){continue}break}}function $bb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=v[a+636>>2]+v[a+616>>2]|0;h=v[a+644>>2];a:{b:{c:{e=v[a+540>>2];if(!e){e=v[v[a+528>>2]+88>>2]}if(w[e+56|0]){if(v[a+588>>2]>0){break c}break a}if(v[a+588>>2]>0){break b}j=1;break a}while(1){i=h;if(!b){l=w[g|0];f=6;g=g+1|0;b=192}c=(b&l)>>>f|0;d=0;d:{if((c|0)==x[e+836>>1]){break d}c=c-1|0;d=255;if((c&255)>>>0>2){break d}d=B(c&255,1431655680)+1431655935|0}zq(i,d);f=f-2|0;h=h+4|0;b=(b&252)>>>2|0;k=k+1|0;if((k|0)>2]){continue}break}break a}e=0;while(1){i=h;if(!b){e=w[g|0];f=6;g=g+1|0;b=192}c=((b&e)>>>f|0)-1|0;zq(i,c>>>0<3?B(c,1431655680)+1431655935|0:255);f=f-2|0;h=h+4|0;b=(b&252)>>>2|0;j=1;d=d+1|0;if((d|0)>2]){continue}break}}t[a+649|0]=j;return 0}function Vha(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Qb-16|0;Qb=c;b=v[b>>2];a:{if(b){Ub[v[v[b>>2]+24>>2]](c+8|0,b,2);break a}v[c+8>>2]=0}v[299999]=0;Q(4344,a|0,c+8|0)|0;b=v[299999];v[299999]=0;b:{c:{if((b|0)!=1){b=v[c+8>>2];v[c+8>>2]=0;if(!b){break c}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)!=1){if(d){break c}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break c}}break b}b=P()|0;O()|0;a=v[c+8>>2];v[c+8>>2]=0;d:{if(!a){break d}v[299999]=0;c=v[a+4>>2]-1|0;v[a+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break b}if(c){break d}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break b}}T(b|0);L()}b=v[a>>2];v[a+4>>2]=v[(b?b+12|0:1129608)>>2];Qb=c+16|0;return a|0}W(0)|0;O()|0;lc();L()}function TQa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=v[a+8>>2];f=a+12|0;if((c|0)!=(f|0)){g=b+4|0;while(1){d=c;c=v[d+28>>2];a:{if((jm(b,d+16|0)|0)!=(g|0)){if(c){Ub[v[v[c>>2]+12>>2]](c)|0}e=v[d+4>>2];b:{if(!e){c=v[d+8>>2];if((d|0)==v[c>>2]){break b}e=d+8|0;while(1){c=v[e>>2];e=c+8|0;h=c;c=v[c+8>>2];if((h|0)!=v[c>>2]){continue}break}break b}while(1){c=e;e=v[c>>2];if(e){continue}break}}if((d|0)==v[a+8>>2]){v[a+8>>2]=c}v[a+16>>2]=v[a+16>>2]-1;Kz(v[a+12>>2],d);if(t[d+27|0]<=-1){dc(v[d+16>>2])}dc(d);break a}e=v[d+4>>2];if(!e){c=v[d+8>>2];if((d|0)==v[c>>2]){break a}e=d+8|0;while(1){d=v[e>>2];e=d+8|0;c=v[d+8>>2];if((d|0)!=v[c>>2]){continue}break}break a}while(1){c=e;e=v[c>>2];if(e){continue}break}}if((c|0)!=(f|0)){continue}break}}}function vr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Qb-16|0;Qb=c;b=v[b>>2];a:{if(b){Ub[v[v[b>>2]+28>>2]](c+8|0,b,1);break a}v[c+8>>2]=0}v[299999]=0;Q(4344,a|0,c+8|0)|0;b=v[299999];v[299999]=0;b:{c:{if((b|0)!=1){b=v[c+8>>2];v[c+8>>2]=0;if(!b){break c}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)!=1){if(d){break c}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break c}}break b}b=P()|0;O()|0;a=v[c+8>>2];v[c+8>>2]=0;d:{if(!a){break d}v[299999]=0;c=v[a+4>>2]-1|0;v[a+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break b}if(c){break d}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break b}}T(b|0);L()}b=v[a>>2];v[a+4>>2]=v[(b?b+12|0:1129608)>>2];Qb=c+16|0;return a|0}W(0)|0;O()|0;lc();L()}function jia(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=Qb-16|0;Qb=e;if(c){f=Bc(c)}if(d){i=Bc(d)}v[a>>2]=0;a:{g=f+i|0;b:{if((g|0)<1){break b}h=v[v[b>>2]+8>>2];v[299999]=0;U(h|0,e+8|0,b|0,g|0);b=v[299999];v[299999]=0;c:{d:{e:{if((b|0)!=1){v[299999]=0;Q(4344,a|0,e+8|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break e}b=v[e+8>>2];v[e+8>>2]=0;f:{if(!b){break f}v[299999]=0;g=v[b+4>>2]-1|0;v[b+4>>2]=g;h=v[299999];v[299999]=0;if((h|0)==1){break a}if(g){break f}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a>>2];a=v[b+12>>2];if(!f){break c}ce(a,c);if(!i){break b}KC(v[b+12>>2],d);break b}f=P()|0;O()|0;break d}f=P()|0;O()|0;ec(e+8|0)}ec(a);T(f|0);L()}ce(a,d)}Qb=e+16|0;return}W(0)|0;O()|0;lc();L()}function RCa(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;g=A[b+56>>3];h=v[b+56>>2];e=A[b+40>>3];i=v[b+40>>2];d=A[b+24>>3];j=v[b+24>>2];k=v[b+48>>2];l=v[b+32>>2];m=v[b+16>>2];c=v[a+28>>2];f=v[b>>2]==1?+v[b+8>>2]:A[b+8>>3];A[c+600>>3]=f;d=(m|0)==1?+(j|0):d;A[c+608>>3]=d;b=v[c+596>>2];A[b+16>>3]=d;A[b+8>>3]=f;v[b>>2]=1;b=v[a+28>>2];A[b+608>>3]=d;e=f+((l|0)==1?+(i|0):e);A[b+600>>3]=e;Ud(v[b+596>>2],e,d);b=v[a+28>>2];d=d+((k|0)==1?+(h|0):g);A[b+608>>3]=d;A[b+600>>3]=e;Ud(v[b+596>>2],e,d);b=v[a+28>>2];A[b+608>>3]=d;A[b+600>>3]=f;Ud(v[b+596>>2],f,d);a=v[a+28>>2];Hf(v[a+596>>2]);b=v[a+596>>2];b=v[((v[b+28>>2]<<2)+v[b+24>>2]|0)-4>>2];c=(v[b+12>>2]<<3)-8|0;A[a+600>>3]=A[c+v[b>>2]>>3];A[a+608>>3]=A[c+v[b+4>>2]>>3]}function cbb(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,j=0,k=0,l=0,m=0;if(e){m=e-1|0;while(1){t[g|0]=w[f|0];t[g+1|0]=w[f+1|0];t[g+2|0]=w[f+2|0];h=g+3|0;a=j?(j|0)==(m|0)?d:b:c;a:{if(a>>>0<2){g=h;break a}i=a-1|0;k=i&3;b:{if(a-2>>>0<3){i=h;a=g;break b}l=i&-4;a=g;while(1){t[h|0]=w[f|0];t[a+4|0]=w[f+1|0];t[a+5|0]=w[f+2|0];t[h+3|0]=w[f|0];t[h+4|0]=w[f+1|0];t[h+5|0]=w[f+2|0];t[h+6|0]=w[f|0];t[h+7|0]=w[f+1|0];t[h+8|0]=w[f+2|0];t[h+9|0]=w[f|0];t[h+10|0]=w[f+1|0];t[h+11|0]=w[f+2|0];a=h+9|0;i=h+12|0;h=i;l=l-4|0;if(l){continue}break}}g=i;if(!k){break a}while(1){h=g;t[h|0]=w[f|0];t[a+4|0]=w[f+1|0];t[a+5|0]=w[f+2|0];g=h+3|0;a=h;k=k-1|0;if(k){continue}break}}f=f+3|0;j=j+1|0;if((j|0)!=(e|0)){continue}break}}return 0}function Eu(a){a=a|0;var b=0,c=0,d=0;a:{b:{if(!a){break b}b=v[a+64>>2];if(!b){break b}c:{d:{e:{f:{g:{h:{i:{c=v[a+68>>2];b=c?c:b;switch(v[b+4>>2]-1|0){case 4:case 5:case 6:case 9:case 11:case 13:break a;case 2:break h;case 0:case 1:break i;case 17:break c;case 10:break d;case 8:case 12:break e;case 7:break f;case 3:break g;default:break b}}j:{c=v[b+36>>2];if(c){c=v[c+12>>2];if(c){break j}}return v[b+8>>2]}return dz(v[a+88>>2],c,v[b+8>>2])|0}return Rd(v[a+88>>2],225268,-1)|0}return Rd(v[a+88>>2],247046,-1)|0}return Rd(v[a+88>>2],228885,-1)|0}return Rd(v[a+88>>2],228737,-1)|0}return Rd(v[a+88>>2],230713,-1)|0}a=v[a+88>>2];b=v[b+12>>2];if(!b){return Rd(a,235579,-1)|0}d=dz(a,235579,b)}return d|0}return Rd(v[a+88>>2],v[b+8>>2],-1)|0}function lqa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=Qb-16|0;Qb=d;v[a>>2]=0;v[a+4>>2]=v[282402];a:{b:{e=d;c=v[b>>2];c:{if(c){if(v[c+8>>2]){b=v[v[c>>2]+28>>2];v[299999]=0;U(b|0,d+8|0,c|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break c}break b}v[299999]=0;v[c+4>>2]=v[c+4>>2]+1;c=v[299999];v[299999]=0;if((c|0)==1){break b}b=v[b>>2]}else{b=0}v[e+8>>2]=b}v[299999]=0;Q(4544,a|0,d+8|0)|0;b=v[299999];v[299999]=0;d:{if((b|0)!=1){c=v[d+8>>2];v[d+8>>2]=0;e:{if(!c){break e}v[299999]=0;e=v[c+4>>2]-1|0;v[c+4>>2]=e;b=v[299999];v[299999]=0;if((b|0)==1){break d}if(e){break e}v[299999]=0;R(4338,c|0);b=v[299999];v[299999]=0;if((b|0)==1){break d}}Qb=d+16|0;return a|0}b=P()|0;O()|0;ec(d+8|0);break a}W(0)|0;O()|0;lc();L()}b=P()|0;O()|0}ec(a);T(b|0);L()}function ita(a){a=a|0;var b=0,c=0,d=0,e=0;b=w[a+11|0];c=b<<24>>24;a:{d=v[a+4>>2];if((((c|0)<0?d:b)|0)==4){v[299999]=0;b=ca(2607,a|0,0,-1,234100,4)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(!b){return 0}d=v[a+4>>2];b=w[a+11|0];c=b}if(((c<<24>>24<0?d:b)|0)==5){v[299999]=0;b=ca(2607,a|0,0,-1,287733,5)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(!b){return 2}d=v[a+4>>2];b=w[a+11|0];c=b}b:{if(((c<<24>>24<0?d:b)|0)==6){v[299999]=0;b=ca(2607,a|0,0,-1,278785,6)|0;c=v[299999];v[299999]=0;e=1;if((c|0)==1){break a}if(!b){break b}d=v[a+4>>2];b=w[a+11|0];c=b}e=0;if(((c<<24>>24<0?d:b)|0)!=8){break b}v[299999]=0;a=ca(2607,a|0,0,-1,281494,8)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}e=a?0:3}return e|0}W(0)|0;O()|0;lc();L()}function S5a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=Qb-32|0;Qb=d;b=v[a+26092>>2];v[a+26336>>2]=b>>>5;i=a;c=x[a+26308>>1];if(c){e=v[252391];b=x[a+26310>>1];while(1){a:{if(!b){b=0;break a}c=0;while(1){f=v[a+26336>>2];h=v[a+26352>>2]+(B(b,g)+c<<3)|0;if((f|0)>(Ub[v[v[a>>2]>>2]](v[a+4>>2],h,2,f)|0)){b:{if(v[a+26160>>2]){break b}v[d+16>>2]=v[a+25208>>2];wc(e,8292,d+16|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,e);break b}b=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[d>>2]=b;v[d+4>>2]=b>>31;wc(e,14622,d)}v[a+26160>>2]=1}if(x[a+25204>>1]!=18761){sp(h,h,f<<1)}b=x[a+26310>>1];c=c+1|0;if(b>>>0>c>>>0){continue}break}c=x[a+26308>>1]}g=g+1|0;if(g>>>0<(c&65535)>>>0){continue}break}b=v[a+26092>>2]}v[i+26124>>2]=-1<>2]=0;v[e+4>>2]=0;v[e+24>>2]=1;v[e+16>>2]=0;v[e+20>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;v[a+16>>2]=0;a:{b:{if((c|0)<=1114111){e=x[((c<<1)+b|0)+276>>1];if((e|0)!=65535){break b}}v[d+4>>2]=c;t[d+3|0]=0;v[299999]=0;t[d+2|0]=0;da(2610,d+8|0,b|0,d+4|0,d+3|0,0,d+2|0);c=v[299999];v[299999]=0;if((c|0)!=1){a=gc(a,d+8|0,104);mg(d+84|0);if(v[a>>2]>1114111){break a}c:{c=v[b+268>>2];d:{if((c|0)!=v[b+272>>2]){c=gc(c,a,104)+104|0;v[b+268>>2]=c;break d}v[299999]=0;V(2618,b+264|0,a|0);c=v[299999];v[299999]=0;if((c|0)==1){break c}c=v[b+268>>2]}u[((v[a>>2]<<1)+b|0)+276>>1]=((c-v[b+264>>2]|0)/104|0)-1;break a}}a=P()|0;O()|0;mg(f);T(a|0);L()}gc(a,v[b+264>>2]+B(e,104)|0,104)}Qb=d+112|0}function cA(a,b,c){var d=0;a:{if(v[a>>2]|c>>>0<44|(w[b|0]!=83|w[b+1|0]!=70)){break a}if(w[b+2|0]!=87|w[b+3|0]!=57|(w[b+4|0]!=52|w[b+5|0]!=65)){break a}if(w[b+7|0]|w[b+6|0]!=4|(w[b+9|0]|w[b+8|0]!=16)){break a}if(w[b+11|0]|w[b+10|0]!=1|(w[b+13|0]|w[b+12|0]!=100)){break a}if(w[b+14|0]|w[b+15|0]|(w[b+17|0]|w[b+16|0]!=204)){break a}if(w[b+18|0]|w[b+19|0]|(w[b+21|0]|w[b+20|0]!=59)){break a}if(w[b+22|0]|w[b+23|0]|(w[b+24|0]!=218|w[b+25|0]!=7)){break a}if(w[b+26|0]|w[b+27|0]|(w[b+28|0]!=7|w[b+29|0]!=1)){break a}if(w[b+30|0]|w[b+31|0]|(w[b+33|0]|w[b+32|0]!=68)){break a}if(w[b+34|0]|w[b+35|0]|(w[b+36|0]!=208|w[b+37|0]!=7)){break a}if(w[b+38|0]|w[b+39|0]|(w[b+40|0]!=75|w[b+41|0]!=1)){break a}if(w[b+42|0]|w[b+43|0]){break a}d=1}return d}function Xv(a,b){var c=0,d=0,e=0;a:{b:{c:{if(w[a+16|0]&2){if(b>>>0>=64){break c}c=v[a+8>>2];d:{e:{f:{if(!c){c=7;if(w[a+4|0]==255){break f}break e}if(c-1>>>0>6){break d}b=b>>>7-c|0}if(Ws(a,c,b)){break d}b=v[a+8>>2];if((b|0)>7){break d}if((b|0)<=-1){break b}}c=w[a+4|0];if((c|0)==255){break a}b=v[a+12>>2];d=v[b+8>>2];if(d&7){break d}e=v[b+64>>2];if(!((e|0)<0|(e|0)>v[b+60>>2])){v[b+8>>2]=d|4;return}v[b+4>>2]=v[b+4>>2]|32;d=v[b+28>>2];v[b+28>>2]=d-1;g:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=b;b=v[b+24>>2];v[d+24>>2]=b+1;t[b|0]=c;break g}if((Fc(b,c)|0)==-1){break d}}v[a+8>>2]=8;v[a+4>>2]=v[a+4>>2]<<8&65280}return}X(33703,18822,396,189339);L()}X(35298,18822,402,189339);L()}X(36735,18822,428,189339);L()}X(37654,18822,429,189339);L()}function EA(a,b){var c=0,d=0,e=0,f=0,g=0;Yd(b,nc(b)<<1);a:{b:{c:{d:{e:{if(!nc(b)){if((nc(b)|0)!=1349808750){break e}e=nc(b);f:{if(!e){break f}while(1){if(nc(b)){break d}c=nc(b);d=nc(b);g:{if((c|0)!=1231318644){if((c|0)!=1315774496){break a}if((d|0)!=1413830740){break c}c=nc(b);v[a>>2]=c;c=jc(c<<1);v[a+4>>2]=c;if(!c){break f}ic(c,0,v[a>>2]<<1);ye(b,v[a+4>>2],v[a>>2]<<1);break g}if((d|0)!=1413830740){break b}c=0;d=nc(b);if((d|0)<1){break g}while(1){f=a+c|0,g=Ec(b),t[f+8|0]=g;c=c+1|0;if((d|0)!=(c|0)){continue}break}}e=e-1|0;if(e){continue}break}}return}X(11805,6490,1196,194377);L()}X(53853,6490,1199,194377);L()}X(11805,6490,1207,194377);L()}X(30830,6490,1223,194377);L()}X(30830,6490,1236,194377);L()}X(3794,6490,1244,194377);L()}function hsa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;f=Qb-16|0;Qb=f;e=pr(180);v[299999]=0;g=S(4346,e|0)|0;h=v[299999];v[299999]=0;a:{b:{c:{d:{if((h|0)!=1){v[a>>2]=0;Wc(a,e);e=v[c>>2];if(e){v[299999]=0;v[e+4>>2]=v[e+4>>2]+1;e=v[299999];v[299999]=0;if((e|0)==1){break d}i=v[c>>2]}v[299999]=0;v[f+8>>2]=i;$(4348,g|0,b|0,f+8|0,d|0);b=v[299999];v[299999]=0;if((b|0)==1){break c}a=v[f+8>>2];v[f+8>>2]=0;e:{if(!a){break e}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break e}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Qb=f+16|0;return}a=P()|0;O()|0;Wk(e);T(a|0);L()}b=P()|0;O()|0;break b}b=P()|0;O()|0;ec(f+8|0)}ec(a);T(b|0);L()}W(0)|0;O()|0;lc();L()}function GUa(a,b,c,d,e,f,g){a=a|0;b=+b;c=+c;d=+d;e=+e;f=+f;g=g|0;var h=0,i=0,j=0;h=Qb+-64|0;Qb=h;i=yo(h+56|0,1,0,0,1,0,0);a:{b:{c:{g=e<=1?0:f<=1?0:g;if(g?0:b==0){break c}v[299999]=0;c=e*.5+c;d=f*.5+d;qs(i,-c,-d,1);j=v[299999];v[299999]=0;d:{if((j|0)==1){break d}v[299999]=0;Ez(i,b,1);j=v[299999];v[299999]=0;if((j|0)==1){break d}v[299999]=0;jv(i,g&1?-1:1,g&2?-1:1,1);g=v[299999];v[299999]=0;if((g|0)==1){break d}v[299999]=0;qs(i,c,d,1);g=v[299999];v[299999]=0;if((g|0)!=1){break c}}break b}v[299999]=0;iq(i,h);g=v[299999];v[299999]=0;if((g|0)!=1){g=v[v[a>>2]+372>>2];v[299999]=0;ma(g|0,a|0,h|0,h|8,h+16|0,h+24|0,h+32|0,h+40|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break a}}}a=P()|0;O()|0;Cd(i);T(a|0);L()}Cd(i);Qb=h- -64|0;return 0}function wP(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=983616;b=v[a+24>>2];v[a+24>>2]=0;a:{b:{if(!b){break b}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break b}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a+16>>2];v[a+16>>2]=0;c:{if(!b){break c}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break c}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a+12>>2];v[a+12>>2]=0;d:{if(!b){break d}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break d}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}Qc(a);return a|0}W(0)|0;O()|0;lc();L()}function pea(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=Qb-16|0;Qb=d;e=fk(d,c);v[299999]=0;f=Fe(e);c=v[299999];v[299999]=0;a:{if((c|0)==1){break a}v[299999]=0;c=v[v[b+80>>2]+((f>>>0)%y[b+76>>2]<<2)>>2];b=v[299999];v[299999]=0;if((b|0)==1){break a}b=0;b:{if(!c){break b}while(1){c:{if(v[c+12>>2]!=(f|0)){break c}v[299999]=0;b=Y(4541,c+16|0,e|0,-1)|0;g=v[299999];v[299999]=0;if((g|0)==1){break a}if(b){break c}b=c;break b}c=v[c+8>>2];if(c){continue}break}b=0}ec(e);v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=0;v[d+4>>2]=0;v[d>>2]=982500;v[d+4>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;c=d;v[299999]=0;Q(4387,a|0,(b?b+24|0:d)|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){Ic(c);Qb=d+16|0;return}a=P()|0;O()|0;Ic(c);T(a|0);L()}a=P()|0;O()|0;ec(e);T(a|0);L()}function bba(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;a=Qb-32|0;Qb=a;u[a+28>>1]=w[1016101]|w[1016102]<<8;v[a+24>>2]=w[1016097]|w[1016098]<<8|(w[1016099]<<16|w[1016100]<<24);g=a+24|0;Gn(g|1,261778,1,v[c+4>>2]);h=v[c+4>>2];f=a-16|0;Qb=f;i=pg();v[a>>2]=e;e=h>>>9&1;h=Mh(f,e+13|0,i,g,a)+f|0;i=hj(f,h,c);g=f-((e<<3)+107&112)|0;Qb=g;j=a+8|0;e=v[c+28>>2];v[j>>2]=e;v[e+4>>2]=v[e+4>>2]+1;v[299999]=0;la(5590,f|0,i|0,h|0,g|0,a+20|0,a+16|0,j|0);e=v[299999];v[299999]=0;if((e|0)!=1){e=v[a+8>>2];f=v[e+4>>2]-1|0;v[e+4>>2]=f;if((f|0)==-1){Ub[v[v[e>>2]+8>>2]](e)}b=Uq(b,g,v[a+20>>2],v[a+16>>2],c,d);Qb=a+32|0;return b|0}c=P()|0;O()|0;a=v[a+8>>2];b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}T(c|0);L()}function TK(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=v[a+96>>2];v[d>>2]=0;v[d+4>>2]=0;e=v[v[e+12>>2]+76>>2];if(!e){return}if(!(Ub[e|0](a,b,c,d)|0)){b=d;i=b;f=v[b>>2];c=f>>31;e=v[a+88>>2];g=v[e+16>>2];a=g>>31;c=c^c+f;a=a^a+g;a:{if(c+(a>>>8|0)>>>0<=8190){a=B(a,c)+32768>>>16|0;break a}h=c&65535;a=B(h,a>>>16|0)+B(a,c>>>16|0)+(B(h,a&65535)+32768>>>16)|0}c=(f|0)<0^(g|0)<0?0-a|0:a;v[i>>2]=c;a=d;i=a;g=v[a+4>>2];f=g>>31;h=v[e+20>>2];b=h>>31;f=f^f+g;b=b^b+h;b:{if(f+(b>>>8|0)>>>0<=8190){b=B(b,f)+32768>>>16|0;break b}a=f&65535;b=B(a,b>>>16|0)+B(b,f>>>16|0)+(B(b&65535,a)+32768>>>16)|0}a=(g|0)<0^(h|0)<0?0-b|0:b;v[i+4>>2]=a;b=x[e+12>>1];if(b>>>0<=24){c=jd(c,b,25)}b=d;e=x[e+14>>1];if(e>>>0<=24){a=jd(a,e,25)}v[b+4>>2]=a+32&-64;v[d>>2]=c+32&-64}}function jo(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{h=v[a+36>>2];b:{if(!h){break b}g=v[h+12>>2];f=v[h+16>>2]-g|0;if((f|0)<0){break b}k=a;e=v[a+204>>2];e=(e|0)>(f|0)?e:f;l=e;i=v[h>>2];if(i){f=0;g=v[i+16>>2];if(!(!g|v[g+32>>2])){f=v[g>>2]}g=f;f=Th(v[v[h>>2]+16>>2])}else{f=v[h+24>>2]}j=f+(d?-2:c?-1:0)|0;if((l|0)<(j|0)){c:{if(d){while(1){f=e;i=g+e|0;e=e+1|0;if(!(w[i|0]!=(b|0)|w[g+e|0]!=(c|0))&w[i+2|0]==(d|0)){break a}if((e|0)!=(j|0)){continue}break c}}if(!c){while(1){if(w[e+g|0]==(b|0)){f=e;break a}e=e+1|0;if((j|0)!=(e|0)){continue}break c}}f=e;while(1){d=f+1|0;if(w[f+g|0]==(b|0)&w[d+g|0]==(c|0)){break a}f=d;if((j|0)!=(f|0)){continue}break}}e=j}v[k+204>>2]=e}return-1}v[a+204>>2]=0;return v[h+12>>2]+(f-v[h+16>>2]|0)|0}function AU(a,b){a:{b:{if(!(a&131072)){c:{switch(b-47|0){default:if((b|0)==32){break b}break;case 0:case 15:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:break c}}a=1;if((b|0)==58|(b&-33)-65>>>0<26|((b|0)==95|b-192>>>0<23)){break a}if(b-216>>>0<31|b-248>>>0<520|(b-880>>>0<14|b-895>>>0<7297)){break a}if((b&-2)==8204|b-8304>>>0<288|(b-11264>>>0<1008|b-12289>>>0<43007)){break a}if(b-63744>>>0<1232|b-65008>>>0<526){break a}if(b-65536>>>0>=917504){break b}break a}if((b|0)<=255){a=1;if((b&-33)-65>>>0<26|b-192>>>0<23|(b-216>>>0<31|(b|0)>247)){break a}return(b|0)==95|(b|0)==58}a=1;if(jl(b,880068)|b-12321>>>0<9|((b|0)==12295|b-19968>>>0<20902)){break a}}a=0}return a}function jab(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,j=0,k=0,l=0;a:{if(f){if(!d){break a}a=c<<1;k=b<<1;b=0;while(1){i=x[e>>1];b:{if((i|0)==x[f>>1]){u[g>>1]=i;break b}i=w[e|0]|w[e+1|0]<<8;h=i;j=(h<<8|h>>>8)&65535;h=w[f|0]|w[f+1|0]<<8;i=j+((B(((h<<8|h>>>8)&65535)-((i<<8|i>>>8)&65535)|0,k)+c|0)/(a|0)|0)&65535;i=i<<8|i>>>8;t[g|0]=i;t[g+1|0]=i>>>8}i=g+2|0;h=x[e+2>>1];c:{if((h|0)==x[f+2>>1]){u[i>>1]=h;break c}h=e+2|0;j=w[h+1|0]<<8;l=w[h|0]|j;h=j|w[h|0];j=(h<<8|h>>>8)&65535;h=w[f+2|0]|w[f+3|0]<<8;h=j+((B(((h<<8|h>>>8)&65535)-((l<<8|l>>>8)&65535)|0,k)+c|0)/(a|0)|0)&65535;h=h<<8|h>>>8;t[i|0]=h;t[i+1|0]=h>>>8}f=f+4|0;e=e+4|0;g=g+4|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}break a}gc(g,e,d<<2)}return 0}function Jv(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=C(0),k=C(0),l=C(0);f=v[v[e>>2]+16>>2];i=v[c>>2];k=z[f+(i<<2)>>2];e=v[b>>2];j=z[(e<<2)+f>>2];g=v[a>>2];l=z[(g<<2)+f>>2];a:{if(!(j>2]=i;v[c>>2]=e;h=1;g=v[b>>2];i=v[a>>2];if(!(z[(g<<2)+f>>2]>2])){break a}v[a>>2]=g;v[b>>2]=i;e=v[c>>2];h=2;break a}b:{if(k>2]=i;v[c>>2]=g;h=1;break b}v[a>>2]=e;v[b>>2]=g;h=2;e=v[c>>2];if(!(z[(e<<2)+f>>2]>2]=e;v[c>>2]=g}e=g}g=v[d>>2];if(z[(g<<2)+f>>2]>2]){v[c>>2]=g;v[d>>2]=e;d=v[c>>2];e=v[b>>2];if(!(z[(d<<2)+f>>2]>2])){return h+1|0}v[b>>2]=d;v[c>>2]=e;c=v[b>>2];d=v[a>>2];if(!(z[(c<<2)+f>>2]>2])){return h+2|0}v[a>>2]=c;v[b>>2]=d;h=h+3|0}return h}function Iv(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=C(0),k=C(0),l=C(0);f=v[v[e>>2]+12>>2];i=v[c>>2];k=z[f+(i<<2)>>2];e=v[b>>2];j=z[(e<<2)+f>>2];g=v[a>>2];l=z[(g<<2)+f>>2];a:{if(!(j>2]=i;v[c>>2]=e;h=1;g=v[b>>2];i=v[a>>2];if(!(z[(g<<2)+f>>2]>2])){break a}v[a>>2]=g;v[b>>2]=i;e=v[c>>2];h=2;break a}b:{if(k>2]=i;v[c>>2]=g;h=1;break b}v[a>>2]=e;v[b>>2]=g;h=2;e=v[c>>2];if(!(z[(e<<2)+f>>2]>2]=e;v[c>>2]=g}e=g}g=v[d>>2];if(z[(g<<2)+f>>2]>2]){v[c>>2]=g;v[d>>2]=e;d=v[c>>2];e=v[b>>2];if(!(z[(d<<2)+f>>2]>2])){return h+1|0}v[b>>2]=d;v[c>>2]=e;c=v[b>>2];d=v[a>>2];if(!(z[(c<<2)+f>>2]>2])){return h+2|0}v[a>>2]=c;v[b>>2]=d;h=h+3|0}return h}function rF(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=v[a+16>>2];c=(d>>>0)/93|0;b=v[a+4>>2];f=v[a+8>>2];a:{if((b|0)==(f|0)){g=a+20|0;break a}g=a+20|0;e=(c<<2)+b|0;c=v[e>>2]+B(d-B(c,93)|0,44)|0;d=d+v[a+20>>2]|0;h=(d>>>0)/93|0;d=v[(h<<2)+b>>2]+B(d-B(h,93)|0,44)|0;if((c|0)==(d|0)){break a}while(1){b=v[c+40>>2];if(b){dc(Sr(b))}b=v[c+24>>2];if(b){v[c+28>>2]=b;dc(b)}b=v[c+12>>2];if(b){dc(b)}b=v[c>>2];if(b){v[c+4>>2]=b;dc(b)}c=c+44|0;if((c-v[e>>2]|0)==4092){c=v[e+4>>2];e=e+4|0}if((c|0)!=(d|0)){continue}break}b=v[a+4>>2];f=v[a+8>>2]}v[g>>2]=0;c=f-b>>2;if(c>>>0>2){while(1){dc(v[b>>2]);b=v[a+4>>2]+4|0;v[a+4>>2]=b;c=v[a+8>>2]-b>>2;if(c>>>0>2){continue}break}}b=46;b:{switch(c-1|0){case 1:b=93;case 0:v[a+16>>2]=b;break;default:break b}}}function ew(a){var b=0,c=0,d=0;c=Qb-32|0;Qb=c;a:{if(!Kl(a,85856,11)){zc(v[a+628>>2],21533,23096,0);a=0;break a}b=jc(112);v[a+584>>2]=b;if(!b){b=v[a+628>>2];v[c>>2]=v[a>>2];zc(b,11456,24979,c);a=0;break a}d=v[a+8>>2];v[b>>2]=d;v[b+48>>2]=v[a+672>>2];v[a+672>>2]=480;v[b+52>>2]=v[a+668>>2];v[a+668>>2]=481;v[b+56>>2]=v[a+676>>2];v[a+676>>2]=482;v[b+44>>2]=0;v[b+36>>2]=0;v[b+28>>2]=0;v[b+32>>2]=0;if(!d){v[a+12>>2]=v[a+12>>2]|256}v[b+80>>2]=0;v[c+16>>2]=483;Id(a,65540,c+16|0);v[v[a+584>>2]+96>>2]=0;v[a+556>>2]=484;v[a+548>>2]=484;v[a+540>>2]=484;v[a+520>>2]=485;v[a+516>>2]=486;v[a+572>>2]=487;v[a+564>>2]=488;v[a+560>>2]=489;v[a+552>>2]=489;v[a+544>>2]=489;v[a+536>>2]=490;v[a+532>>2]=491;v[a+524>>2]=486;a=1}Qb=c+32|0;return a}function HY(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;v[a+8>>2]=v[b+8>>2];v[a+12>>2]=v[b+12>>2];v[a+20>>2]=v[b+20>>2];v[a+16>>2]=v[b+16>>2];v[a+24>>2]=v[b+24>>2];f=(a|0)==(b|0);a:{if(f){break a}c=a+28|0;d=b+28|0;g=w[b+39|0];e=g<<24>>24;if(t[a+39|0]>=0){if((e|0)>=0){e=v[d+4>>2];v[c>>2]=v[d>>2];v[c+4>>2]=e;v[c+8>>2]=v[d+8>>2];break a}Lh(c,v[b+28>>2],v[b+32>>2]);break a}h=c;c=(e|0)<0;wi(h,c?v[b+28>>2]:d,c?v[b+32>>2]:g)}v[a+40>>2]=v[b+40>>2];v[a+44>>2]=v[b+44>>2];v[a+48>>2]=v[b+48>>2];c=v[b+56>>2];v[a+52>>2]=v[b+52>>2];v[a+56>>2]=c;c=v[b+64>>2];v[a+60>>2]=v[b+60>>2];v[a+64>>2]=c;A[a+72>>3]=A[b+72>>3];A[a+80>>3]=A[b+80>>3];A[a+88>>3]=A[b+88>>3];A[a+96>>3]=A[b+96>>3];A[a+104>>3]=A[b+104>>3];if(!f){qv(a+112|0,v[b+112>>2],v[b+116>>2])}}function pH(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;j=v[b+4>>2]+(c<<4)|0;c=v[j+4>>2];if(c){n=v[j+12>>2]+(B(c,d)<<1)|0;while(1){a:{if(!x[b+8>>1]){d=65536;break a}c=v[v[b+16>>2]+(v[v[j+8>>2]+(k<<2)>>2]<<2)>>2];l=0;d=65536;while(1){f=d;e=v[c+4>>2];h=v[c>>2];d=f;b:{if((e|0)<(h|0)){break b}i=v[c+8>>2];d=f;if((i|0)<(e|0)){break b}d=f;if(!(!e|((i|0)<1|(h|0)>-1))){break b}d=f;if(!e){break b}g=v[v[v[a+736>>2]+8>>2]+(l<<2)>>2];d=f;if((g|0)==(e|0)){break b}d=0;if((g|0)<=(h|0)|(g|0)>=(i|0)){break a}if((e|0)>(g|0)){d=jd(f,g-h|0,e-h|0);break b}d=jd(f,i-g|0,i-e|0)}c=c+12|0;l=l+1|0;if(l>>>0>1]){continue}break}}m=Ac(d,x[(k<<1)+n>>1]<<16)+m|0;k=k+1|0;if(k>>>0>2]){continue}break}a=m+32768>>16}else{a=0}return a}function bg(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;g=v[a+4>>2];h=v[a>>2];f=v[a+16>>2];a:{if(!v[f+436>>2]){if((c|0)>24){i=c;e=h;break a}while(1){if(!g){if(!(Ub[v[v[f+24>>2]+12>>2]](f)|0)){return 0}e=v[f+24>>2];g=v[e+4>>2];h=v[e>>2]}e=h+1|0;g=g-1|0;b:{i=w[h|0];if((i|0)==255){while(1){if(!g){if(!(Ub[v[v[f+24>>2]+12>>2]](f)|0)){return 0}e=v[f+24>>2];g=v[e+4>>2];e=v[e>>2]}g=g-1|0;j=w[e|0];i=255;h=e+1|0;e=h;if((j|0)==255){continue}break}if(j){break b}e=h}b=b<<8|i;j=(c|0)<17;h=e;i=c+8|0;c=i;if(j){continue}break a}break}v[f+436>>2]=j}e=h;if((c|0)>=(d|0)){i=c;break a}if(!v[v[f+464>>2]+36>>2]){d=v[f>>2];v[d+20>>2]=120;Ub[v[d+4>>2]](f,-1);v[v[f+464>>2]+36>>2]=1}i=25;b=b<<25-c}v[a+12>>2]=i;v[a+8>>2]=b;v[a+4>>2]=g;v[a>>2]=e;return 1}function jDa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;b=v[a+28>>2];c=v[b+596>>2];d=v[c+28>>2];if(!(v[c>>2]?0:(d|0)<=0)){a:{if((d|0)<1){break a}Hf(c);c=v[b+596>>2];c=v[((v[c+28>>2]<<2)+v[c+24>>2]|0)-4>>2];d=(v[c+12>>2]<<3)-8|0;A[b+600>>3]=A[d+v[c>>2]>>3];A[b+608>>3]=A[d+v[c+4>>2]>>3];if(!v[a+100>>2]){break a}b=v[v[a+28>>2]+116>>2];b:{if((Ub[v[v[b>>2]+12>>2]](b)|0)==10){Op(a,0);break b}b=v[a+8>>2];Ub[v[v[b>>2]+204>>2]](b,v[a+28>>2])}b=v[v[a+28>>2]+120>>2];if((Ub[v[v[b>>2]+12>>2]](b)|0)==10){Nr(a);break a}b=v[a+8>>2];Ub[v[v[b>>2]+200>>2]](b,v[a+28>>2])}b=v[a+28>>2];c=v[b+596>>2];if(!(!v[a+36>>2]|(v[c>>2]?0:v[c+28>>2]<=0))){Vi(b);b=v[a+8>>2];Ub[v[v[b>>2]+(v[a+36>>2]==1?220:224)>>2]](b,v[a+28>>2]);b=v[a+28>>2]}v[a+36>>2]=0;vf(b)}}function iDa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;b=v[a+28>>2];c=v[b+596>>2];d=v[c+28>>2];if(!(v[c>>2]?0:(d|0)<=0)){a:{if((d|0)<1){break a}Hf(c);c=v[b+596>>2];c=v[((v[c+28>>2]<<2)+v[c+24>>2]|0)-4>>2];d=(v[c+12>>2]<<3)-8|0;A[b+600>>3]=A[d+v[c>>2]>>3];A[b+608>>3]=A[d+v[c+4>>2]>>3];if(!v[a+100>>2]){break a}b=v[v[a+28>>2]+116>>2];b:{if((Ub[v[v[b>>2]+12>>2]](b)|0)==10){Op(a,1);break b}b=v[a+8>>2];Ub[v[v[b>>2]+208>>2]](b,v[a+28>>2])}b=v[v[a+28>>2]+120>>2];if((Ub[v[v[b>>2]+12>>2]](b)|0)==10){Nr(a);break a}b=v[a+8>>2];Ub[v[v[b>>2]+200>>2]](b,v[a+28>>2])}b=v[a+28>>2];c=v[b+596>>2];if(!(!v[a+36>>2]|(v[c>>2]?0:v[c+28>>2]<=0))){Vi(b);b=v[a+8>>2];Ub[v[v[b>>2]+(v[a+36>>2]==1?220:224)>>2]](b,v[a+28>>2]);b=v[a+28>>2]}v[a+36>>2]=0;vf(b)}}function Yqa(a){a=a|0;var b=0,c=0,d=0;v[a+16>>2]=0;t[a+10|0]=0;u[a+8>>1]=0;v[a>>2]=982260;v[a+4>>2]=0;v[299999]=0;d=S(4477,a+20|0)|0;c=v[299999];v[299999]=0;a:{b:{c:{d:{if((c|0)!=1){v[a+88>>2]=0;v[a+92>>2]=0;v[a+84>>2]=-1;v[a+76>>2]=0;v[a+80>>2]=0;v[a+64>>2]=0;v[a+56>>2]=0;v[a+96>>2]=0;v[a+100>>2]=0;v[299999]=0;c=a+88|0;v[c>>2]=982500;v[c+4>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;b=v[299999];v[299999]=0;if((b|0)==1){break d}v[a+108>>2]=0;v[a+112>>2]=0;v[a+116>>2]=0;v[a+120>>2]=0;v[299999]=0;b=a+108|0;v[b>>2]=982500;v[b+4>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;b=v[299999];v[299999]=0;if((b|0)==1){break c}return a|0}b=P()|0;O()|0;break a}b=P()|0;O()|0;break b}b=P()|0;O()|0;Ic(c)}ec(a- -64|0);ec(a+56|0);$c(d)}ec(a+16|0);Qc(a);T(b|0);L()}function JZ(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(!a|a>>>0>=b>>>0){break a}f=a+1|0;g=t[a|0];a=0;e=52;b:{while(1){h=a+e|0;c=h&-2;c=(w[c+388898|0]<<8|w[c+388899|0])+388896|0;d=w[c|0];i=d&127;if((g|0)==(i|0)){break b}c=h>>1;d=(g|0)>(i|0);a=d?c+1|0:a;e=d?e:c;if((a|0)<(e|0)){continue}break}return 0}if(b>>>0>f>>>0){d=w[c|0];while(1){a=d<<24;d=w[c+1|0];g=t[f|0];c:{d:{if(a>>24<=-1){if((g|0)!=(d&127)){break d}c=c+1|0;break c}e=d&127;if(!e){break a}a=((d&128?3:1)+c|0)+1|0;while(1){c=(w[a+1|0]|w[a|0]<<8)+388896|0;d=w[c|0];if((g|0)==(d&127)){break c}a=a+2|0;c=(e|0)>1;e=e-1|0;if(c){continue}break}break a}return 0}f=f+1|0;if((f|0)!=(b|0)){continue}break}}if(d<<24>>24<0|t[c+1|0]>-1){break a}return w[c+3|0]|w[c+2|0]<<8}return 0}function Ffa(a){a=a|0;var b=0,c=0;v[a+8>>2]=0;v[a>>2]=995984;v[a+4>>2]=0;b=v[282402];v[a+16>>2]=0;v[a+20>>2]=0;v[a+12>>2]=b;v[299999]=0;b=a+24|0;v[b+20>>2]=-1;v[b+12>>2]=-1;v[b+16>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;v[b>>2]=996260;c=v[299999];v[299999]=0;a:{b:{if((c|0)!=1){v[299999]=0;c=a+48|0;v[c+20>>2]=-1;v[c+12>>2]=-1;v[c+16>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;v[c>>2]=996280;c=v[299999];v[299999]=0;if((c|0)!=1){break a}c=P()|0;O()|0;fd(b);break b}c=P()|0;O()|0}ec(a+20|0);ec(a+8|0);Qc(a);T(c|0);L()}v[a+72>>2]=0;v[a+76>>2]=0;v[a>>2]=996e3;v[299999]=0;b=a+80|0;v[b+20>>2]=-1;v[b+12>>2]=-1;v[b+16>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;v[b>>2]=984516;b=v[299999];v[299999]=0;if((b|0)==1){b=P()|0;O()|0;gO(a);T(b|0);L()}t[a+104|0]=0;return a|0}function eq(a){a=a|0;var b=0,c=0,d=0;b=Qb-32|0;Qb=b;v[b+28>>2]=0;a:{if(!a){break a}c=v[a+4>>2];if((c|0)!=2737){v[b+24>>2]=v[211321];d=v[211320];v[b+16>>2]=v[211319];v[b+20>>2]=d;d=v[211318];v[b+8>>2]=v[211317];v[b+12>>2]=d;d=v[211316];v[b>>2]=v[211315];v[b+4>>2]=d;v[b+28>>2]=0;v[b+4>>2]=a;Ub[c|0](v[a+16>>2],b,0,0,4,b+28|0)}c=v[a>>2];if((c|0)!=2738){v[b+24>>2]=v[211328];d=v[211327];v[b+16>>2]=v[211326];v[b+20>>2]=d;d=v[211325];v[b+8>>2]=v[211324];v[b+12>>2]=d;d=v[211323];v[b>>2]=v[211322];v[b+4>>2]=d;v[b+28>>2]=0;v[b+4>>2]=a;Ub[c|0](v[a+12>>2],b,0,0,0,4,b+28|0)}c=v[v[v[a+24>>2]+20>>2]+16>>2];if(c){Ub[c|0](a)}c=v[a+20>>2];if((c|0)!=(a+108|0)){_e(c)}c=v[a+24>>2];if(w[c+17|0]){je(c)}if(w[a+33|0]){break a}_e(a)}Qb=b+32|0}function _Z(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;v[d>>2]=0;if(!(!(e|f)|(a|0)<655)){o=d;p=(e|0)/2|0;if(f){m=v[g+28>>2];i=v[g+24>>2];j=v[g+20>>2];h=v[g+16>>2];k=v[g+12>>2];l=v[g+8>>2];f=v[g+4>>2];g=v[g>>2];q=d;e=Ac(c+e|0,a);if(E(b)+E(e)>>>0<=16){c=i<<16}else{c=Ac(e,b)}d=g<<16;a:{if((c|0)<(d|0)){b=ad(f<<16,b);break a}b:{c:{d:{n=l<<16;e:{if((n|0)>(c|0)){c=ad(d,b);g=l-g|0;if(!g){break e}b=jd(e-c|0,k-f|0,g)+ad(f<<16,b)|0;break a}f=h<<16;if((c|0)>=(f|0)){break d}}c=ad(n,b);f=h-l|0;if(!f){f=h<<16;break c}b=jd(e-c|0,j-k|0,f)+ad(k<<16,b)|0;break a}if((c|0)>=i<<16){break b}}c=ad(f,b);f=i-h|0;if(!f){break b}b=jd(e-c|0,m-j|0,f)+ad(j<<16,b)|0;break a}b=ad(m<<16,b)}v[q>>2]=b;a=ad(b,a<<1)}else{a=0}v[o>>2]=p+a}}function Xf(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{if(!a){a=v[299985];if(!a){break a}}h=a;g=Qb-32|0;c=g;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=0;v[c+4>>2]=0;d=b;e=w[d|0];c=0;b:{if(!e){break b}c=a;a=w[d+1|0];if(!a){a=c;while(1){d=a;a=a+1|0;if((e|0)==w[d|0]){continue}break}c=d-c|0;break b}f=(e>>>3&28)+g|0;v[f>>2]=v[f>>2]|1<>>3|0;a=w[d+2|0];f=(f&28)+g|0;v[f>>2]=e|v[f>>2];d=d+1|0;if(a){continue}break}e=c;a=w[c|0];c:{if(!a){break c}d=c;while(1){if(!(v[(a>>>3&28)+g>>2]>>>a&1)){e=d;break c}a=w[d+1|0];e=d+1|0;d=e;if(a){continue}break}}c=e-c|0}c=h+c|0;if(!w[c|0]){v[299985]=0;return 0}a=IC(c,b)+c|0;if(w[a|0]){v[299985]=a+1;t[a|0]=0;return c}v[299985]=0}return c}function mo(a,b){var c=0,d=0,e=0,f=0,g=0;e=Qb-32|0;Qb=e;a:{if(!b){break a}v[b>>2]=0;if(!a){break a}d=w[a|0];if((d|0)==58){break a}while(1){if(!d){c=0;break a}if((d|0)!=58){c=c+1|0;d=w[c+a|0];continue}break}d=c+1|0;f=Ub[v[259707]](d)|0;if(!f){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);v[b>>2]=0;v[e>>2]=231701;oc(0,0,0,0,0,2,2,3,231701,0,0,0,350051,e);c=0;break a}g=c;c=gc(f,a,c);t[g+c|0]=0;v[b>>2]=c;d=a+d|0;c=d;while(1){a=c;c=a+1|0;if(w[a|0]){continue}break}c=0;b:{a=a-d|0;if((a|0)>=0){f=Ub[v[259707]](a+1|0)|0;if(f){break b}oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0)}v[e+16>>2]=231701;oc(0,0,0,0,0,2,2,3,231701,0,0,0,350051,e+16|0);a=v[b>>2];if(!a){break a}Ub[v[259708]](a);v[b>>2]=0;break a}c=gc(f,d,a);t[a+c|0]=0}Qb=e+32|0;return c}function Pea(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;g=Qb-16|0;Qb=g;h=fc(80);v[299999]=0;c=Y(5349,h|0,c|0,d|0)|0;d=v[299999];v[299999]=0;a:{b:{c:{d:{if((d|0)!=1){v[a>>2]=0;Wc(a,c);d=v[b>>2];if(d){v[299999]=0;v[d+4>>2]=v[d+4>>2]+1;d=v[299999];v[299999]=0;if((d|0)==1){break d}f=v[b>>2]}v[299999]=0;v[g+8>>2]=f;U(5350,c|0,g+8|0,e|0);b=v[299999];v[299999]=0;if((b|0)==1){break c}v[g+8>>2]=0;e:{if(!f){break e}v[299999]=0;a=v[f+4>>2]-1|0;v[f+4>>2]=a;b=v[299999];v[299999]=0;if((b|0)==1){break a}if(a){break e}v[299999]=0;R(4338,f|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Qb=g+16|0;return}a=P()|0;O()|0;dc(h);T(a|0);L()}f=P()|0;O()|0;break b}f=P()|0;O()|0;ec(g+8|0)}ec(a);T(f|0);L()}W(0)|0;O()|0;lc();L()}function PO(a,b,c){var d=0,e=0;e=Qb-16|0;Qb=e;v[a>>2]=0;v[a+4>>2]=v[282402];a:{b:{c:{d=v[b>>2];if((d|0)<(c|0)){while(1){v[299999]=0;V(5046,e+8|0,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break c}v[299999]=0;Q(4606,a|0,e+8|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break b}ec(e+8|0);d=v[b>>2]+1|0;v[b>>2]=d;if((c|0)>(d|0)){continue}break}}d:{e:{if((c|0)<(d|0)){while(1){d=d-1|0;v[b>>2]=d;v[299999]=0;V(5045,e+8|0,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break e}v[299999]=0;Q(4606,a|0,e+8|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break d}ec(e+8|0);d=v[b>>2];if((d|0)>(c|0)){continue}break}}Qb=e+16|0;return}d=P()|0;O()|0;break a}d=P()|0;O()|0;ec(e+8|0);break a}d=P()|0;O()|0;break a}d=P()|0;O()|0;ec(e+8|0)}ec(a);T(d|0);L()}function KP(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a:{if((c|0)<1){break a}c=c-1|0;if(!d){while(1){d=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=d;d=v[b+12>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=d;kj(a+16|0,b+16|0);v[a+52>>2]=v[b+52>>2];b=b+56|0;a=a+56|0;d=(c|0)>0;c=c-1|0;if(d){continue}break a}}while(1){d=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=d;d=v[b+12>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=d;kj(a+16|0,b+16|0);v[a+52>>2]=v[b+52>>2];v[b+40>>2]=981312;v[b+16>>2]=981280;d=v[b+44>>2];if(d){e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(!e){Ub[v[v[d>>2]+4>>2]](d)}v[b+44>>2]=0}v[b+32>>2]=981312;d=v[b+36>>2];if(d){e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(!e){Ub[v[v[d>>2]+4>>2]](d)}v[b+36>>2]=0}ec(b+24|0);b=b+56|0;a=a+56|0;d=(c|0)>0;c=c-1|0;if(d){continue}break}}}function K8(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;if((c|0)>=1){g=v[a+12>>2];while(1){d=v[g>>2];u[b>>1]=(d>>>12&4093)+13314;h=163;a=0;i=d&16383;a:{if(i>>>0>16288){f=.473684211;e=.210526316;break a}b:{c:{while(1){d=a+h>>1;j=i-u[(d<<3)+82806>>1]|0;d:{if((j|0)>0){a=d;break d}if((j|0)>-1){break c}h=d}if((h-a|0)>1){continue}break}d=a;e=(+(i-u[(d<<3)+82806>>1]|0)+.5)*.0035000001080334187;break b}e=.0017500000540167093}f=(+(d|0)+.5)*.0035000001080334187+.016939999535679817;e=e+ +z[(d<<3)+82800>>2]}a=b;f=f*32768;e:{if(D(f)<2147483648){d=~~f;break e}d=-2147483648}u[a+4>>1]=d;a=b;e=e*32768;f:{if(D(e)<2147483648){d=~~e;break f}d=-2147483648}u[a+2>>1]=d;g=g+4|0;b=b+6|0;a=(c|0)>1;c=c-1|0;if(a){continue}break}}}function m8a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=v[a+428>>2];c=x[b+32>>1];c=c<<8|c>>>8;t[d+8|0]=c;t[d+9|0]=c>>>8;t[d+10|0]=w[b+34|0];t[d+11|0]=w[b+35|0];e=d+8|0;c=4;a:{if(w[b+35|0]==7){break a}c=v[b+36>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+12|0]=c;t[d+13|0]=c>>>8;t[d+14|0]=c>>>16;t[d+15|0]=c>>>24;c=v[b+40>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+16|0]=c;t[d+17|0]=c>>>8;t[d+18|0]=c>>>16;t[d+19|0]=c>>>24;c=12;if(!w[b+35|0]){break a}c=v[b+44>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+20|0]=c;t[d+21|0]=c>>>8;t[d+22|0]=c>>>16;t[d+23|0]=c>>>24;c=v[b+48>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+24|0]=c;t[d+25|0]=c>>>8;t[d+26|0]=c>>>16;t[d+27|0]=c>>>24;c=20}return _d(a,v[b>>2],c,e)|0}function chb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=v[b+12>>2];if((d|0)>v[a+56>>2]){Sc(51174,0);return-1}a:{b:{e=v[a+84>>2]-4|0;if(e){if((e|0)==12){break b}else{break a}}d=v[v[a+64>>2]+24>>2]+B(d,488)|0;v[d>>2]=v[d>>2]|10;c=v[b+20>>2];if((c|0)>=1){e=v[b+24>>2];a=0;while(1){c=a<<2;v[(c+d|0)+16>>2]=v[c+e>>2];a=a+1|0;c=v[b+20>>2];if((a|0)<(c|0)){continue}break}}v[d+12>>2]=c;t[d+416|0]=w[b+28|0];t[d+9|0]=w[b+16|0];return 0}c=-1;a=v[a+52>>2];if(!a|v[a+40>>2]>0){break a}d=v[v[a+32>>2]+24>>2]+B(d,488)|0;v[d>>2]=v[d>>2]|10;c=v[b+20>>2];if((c|0)>=1){e=v[b+24>>2];a=0;while(1){c=a<<2;v[(c+d|0)+16>>2]=v[c+e>>2];a=a+1|0;c=v[b+20>>2];if((a|0)<(c|0)){continue}break}}v[d+12>>2]=c;t[d+416|0]=w[b+28|0];t[d+9|0]=w[b+16|0];c=0}return c|0}function yP(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=Qb-16|0;Qb=c;a:{b:{e=w[b+2|0];c:{if((e-1&255)>>>0>11){break c}f=w[b+3|0];if((f-1&255)>>>0>30){break c}g=w[b+4|0];if(g>>>0>23){break c}h=w[b+6|0];if(h>>>0<61){break b}}Gc(a,48429);break a}d=x[b>>1];t[c+5|0]=g;t[c+4|0]=f;t[c+3|0]=e;t[c+2|0]=d;t[c+1|0]=d>>>8;b=w[b+5|0];t[c+7|0]=h;t[c+6|0]=b;if(!a){break a}v[a+744>>2]=34;t[c+8|0]=0;t[c+9|0]=0;t[c+10|0]=0;t[c+11|0]=7;t[c+12|0]=116;t[c+13|0]=73;t[c+14|0]=77;t[c+15|0]=69;d=c+8|0;ld(a,d,8);v[a+348>>2]=1950960965;_f(a);kd(a,c+12|0,4);v[a+744>>2]=66;b=c+1|0;ld(a,b,7);kd(a,b,7);v[a+744>>2]=130;b=v[a+384>>2];b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);t[c+8|0]=b;t[c+9|0]=b>>>8;t[c+10|0]=b>>>16;t[c+11|0]=b>>>24;ld(a,d,4)}Qb=c+16|0}function Ghb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;b=v[c+8>>2];a:{if(b&7){break a}d=w[a+24|0];e=w[a+12|0];f=v[c+64>>2];if(!((f|0)<0|(f|0)>v[c+60>>2])){v[c+8>>2]=b|4;break a}b=e|d<<5;v[c+4>>2]=v[c+4>>2]|32;d=v[c+28>>2];v[c+28>>2]=d-1;if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;d=v[c+24>>2];v[c+24>>2]=d+1;t[d|0]=b;break a}Fc(c,b&255)}if(v[a+16>>2]>=1){b=0;while(1){d=v[v[a+20>>2]+(b<<2)>>2];b:{if(!w[a+12|0]){e=v[c+8>>2];if(e&7){break b}f=v[c+64>>2];if(!((f|0)<0|(f|0)>v[c+60>>2])){v[c+8>>2]=e|4;break b}d=d>>>8&248;v[c+4>>2]=v[c+4>>2]|32;e=v[c+28>>2];v[c+28>>2]=e-1;if((e|0)>=1){v[c+60>>2]=v[c+60>>2]+1;e=v[c+24>>2];v[c+24>>2]=e+1;t[e|0]=d;break b}Fc(c,d);break b}Gg(c,d)}b=b+1|0;if((b|0)>2]){continue}break}}return 0}function j$a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;a:{if((d|0)<1){break a}f=v[a+480>>2];e=v[f+48>>2];m=v[a+112>>2];if(m){a=v[f+24>>2];n=v[a+8>>2];o=v[a+4>>2];p=v[a>>2];while(1){a=h<<2;g=v[a+c>>2];a=v[a+b>>2];q=v[f+60>>2];r=v[f+56>>2];s=v[f+52>>2];i=0;j=m;while(1){k=i<<2;l=e<<6;t[g|0]=(w[(v[k+(r+l|0)>>2]+w[a+1|0]|0)+o|0]+w[(v[(l+s|0)+k>>2]+w[a|0]|0)+p|0]|0)+w[(v[(l+q|0)+k>>2]+w[a+2|0]|0)+n|0];g=g+1|0;a=a+3|0;i=i+1&15;j=j-1|0;if(j){continue}break}e=e+1&15;v[f+48>>2]=e;h=h+1|0;if((h|0)!=(d|0)){continue}break}break a}a=d&7;if(d-1>>>0>=7){g=d&-8;while(1){e=e+8&15;g=g-8|0;if(g){continue}break}}if(a){while(1){e=e+1&15;a=a-1|0;if(a){continue}break}}v[f+48>>2]=e}}function IU(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=Qb-16|0;Qb=f;a:{if(!c){break a}if(!a){a=v[c+32>>2];if(!a){break a}}d=v[a+44>>2];if(!(v[a+48>>2]?1:d)|v[a+4>>2]==13){break a}b:{if(!b){a=0;break b}e=v[c+8>>2];h=v[b+8>>2];v[f+8>>2]=0;c:{d:{if(!d){break d}d=v[d+44>>2];if(!d){break d}g=mo(e,f+8|0);e:{if(g){d=Se(d,g,v[f+8>>2],h);e=v[f+8>>2];if(e){Ub[v[259708]](e)}Ub[v[259708]](g);break e}d=Se(d,e,0,h)}if(d){break c}}d=v[a+48>>2];if(!d){e=0;break a}a=v[c+8>>2];b=v[b+8>>2];e=0;v[f+12>>2]=0;c=v[d+44>>2];if(!c){break a}e=mo(a,f+12|0);f:{if(e){d=Se(c,e,v[f+12>>2],b);a=v[f+12>>2];if(a){Ub[v[259708]](a)}Ub[v[259708]](e);break f}d=Se(c,a,0,b)}if(d){break c}e=0;break a}a=1;e=0;if(v[d+40>>2]-3>>>0>1){break a}}e=a}Qb=f+16|0;return e}function Tw(a){var b=0,c=0,d=0,e=0;if(a>>>0<=131071){b=w[(a>>>3&31|w[(a>>>8|0)+1000064|0]<<5)+1000064|0]>>>(a&7)&1}else{b=a>>>0<196606}a:{if(!b|a-1536>>>0<2560|(a-11776>>>0<30784|a-43008>>>0<22272)){break a}if(a-4256>>>0<=45){if(!((a|0)==4301|(a|0)<4294)&(a|0)!=4295){break a}return a+7264|0}b:{while(1){b=c<<2;e=t[b+1003042|0];d=x[b+1003040>>1];if(w[b+1003043|0]<=a-d>>>0){c=c+1|0;if((c|0)!=61){continue}break b}break}b=c&31;if(((c&63)>>>0>=32?268328960>>>b|0:((1<>>b)&1){return(a+1|0)-(a-d&1)|0}return a+e|0}c=x[501648];if(c){d=0;while(1){if((c&65535)==(a|0)){return x[(d<<2)+1003298>>1]}d=d+1|0;c=x[(d<<2)+1003296>>1];if(c){continue}break}}if(a-66560>>>0>39){break a}a=a+40|0}return a}function wC(a,b){var c=0,d=0,e=0,f=0,g=0;e=b<<1;if(e){c=a;while(1){d=w[c+3|0];t[c+3|0]=w[c|0];t[c|0]=d;d=w[c+2|0];t[c+2|0]=w[c+1|0];t[c+1|0]=d;d=w[c+7|0];t[c+7|0]=w[c+4|0];t[c+4|0]=d;d=w[c+6|0];t[c+6|0]=w[c+5|0];t[c+5|0]=d;c=c+8|0;e=e-2|0;if(e){continue}break}}a:{if(!b){break a}e=b-1|0;c=b&3;if(c){while(1){f=a,g=Hib(v[a>>2],v[a+4>>2],32),v[f>>2]=g;v[a+4>>2]=Tb;a=a+8|0;b=b-1|0;c=c-1|0;if(c){continue}break}}if(e>>>0<3){break a}while(1){f=a,g=Hib(v[a>>2],v[a+4>>2],32),v[f>>2]=g;v[a+4>>2]=Tb;f=a,g=Hib(v[a+8>>2],v[a+12>>2],32),v[f+8>>2]=g;v[a+12>>2]=Tb;f=a,g=Hib(v[a+16>>2],v[a+20>>2],32),v[f+16>>2]=g;v[a+20>>2]=Tb;f=a,g=Hib(v[a+24>>2],v[a+28>>2],32),v[f+24>>2]=g;v[a+28>>2]=Tb;a=a+32|0;b=b-4|0;if(b){continue}break}}}function cD(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=Qb-16|0;Qb=d;c=v[b>>2];if(c){v[c+4>>2]=v[c+4>>2]+1;e=v[b>>2]}v[a+4>>2]=0;v[a>>2]=e;v[a+8>>2]=v[282402];c=a+4|0;a:{b=v[b+4>>2];b:{c:{if(b){e=v[v[b>>2]+28>>2];v[299999]=0;U(e|0,d+8|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break c}b=P()|0;O()|0;break b}v[d+8>>2]=0}v[299999]=0;Q(4344,c|0,d+8|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){b=v[d+8>>2];v[d+8>>2]=0;if(!b){break a}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;e=v[299999];v[299999]=0;if((e|0)!=1){if(c){break a}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}}W(0)|0;O()|0;lc();L()}b=P()|0;O()|0;ec(d+8|0)}ec(c);ec(a);T(b|0);L()}b=v[a+4>>2];v[a+8>>2]=v[(b?b+12|0:1129608)>>2];Qb=d+16|0;return a|0}function YP(a){a=a|0;var b=0,c=0,d=0;a:{b=v[294590];if(!b){b=fc(32);v[b>>2]=0;v[b+4>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[299999]=0;Q(4475,b|0,982428)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}v[294590]=b}c=Qb-16|0;Qb=c;Bx(b);b:{c:{d:{if(!jj(a)){break d}d=dk(a);b=v[v[b+12>>2]+((d>>>0)%y[b+8>>2]<<2)>>2];if(!b){break d}while(1){e:{if((d|0)==v[b+12>>2]){if(Sk(b+16|0,a)){break e}}b=v[b+8>>2];if(b){continue}break d}break}a=Ol(c,b+52|0);b=v[c+8>>2];if(b){while(1){d=v[b+8>>2];v[299999]=0;R(4471,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break c}b=v[b>>2];if(b){continue}break}}Ic(a)}Qb=c+16|0;break b}b=P()|0;O()|0;Ic(a);T(b|0);L()}return}a=P()|0;O()|0;dc(b);T(a|0);L()}function IVa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;k=a+200|0;e=v[k>>2];v[a+204>>2]=e;a:{b:{c:{if((d|0)<=0){break c}while(1){h=v[a+208>>2]==(e|0);m=v[(i<<2)+b>>2];n=A[(i<<3)+c>>3]*65536;d:{if(D(n)<2147483648){l=~~n;break d}l=-2147483648}e:{if(!h){v[e>>2]=m;v[e+4>>2]=l;v[a+204>>2]=e+8;break e}h=v[k>>2];j=e-h|0;f=j>>3;e=f+1|0;if(e>>>0>=536870912){break b}g=j>>2;g=f>>>0<268435455?e>>>0>g>>>0?e:g:536870911;if(g){if(g>>>0>=536870912){break a}e=fc(g<<3)}else{e=0}f=e+(f<<3)|0;v[f>>2]=m;v[f+4>>2]=l;if((j|0)>=1){gc(e,h,j)}v[a+208>>2]=e+(g<<3);v[a+204>>2]=f+8;v[a+200>>2]=e;if(!h){break e}dc(h)}i=i+1|0;if((i|0)==(d|0)){break c}e=v[a+204>>2];continue}}return 0}ue(k);L()}cf(274079);L()}function GU(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=Qb-48|0;Qb=c;a:{if(!b){if(!a){v[c+4>>2]=346992;v[c>>2]=238159;oc(0,0,0,0,0,1,1,3,346992,0,0,0,349936,c);break a}if(!(!v[a+212>>2]|v[a+172>>2]!=-1)){break a}v[a+84>>2]=1;v[c+20>>2]=346992;v[c+16>>2]=238159;oc(0,0,0,a,0,1,1,3,346992,0,0,0,349936,c+16|0);v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1;break a}if(v[294256]){v[c+32>>2]=v[b+8>>2];Ub[v[259806]](v[294239],349874,c+32|0)}d=Uy(a);if(!d){break a}f=kl(v[b+8>>2]);g=f+5|0;e=Ub[v[259707]](g)|0;if(!e){Qd(a,0);Ub[v[259708]](d);break a}t[e|0]=32;t[e+1|0]=37;a=e+f|0;t[a+2|0]=59;t[a+3|0]=32;t[a+4|0]=0;gc(e+2|0,v[b+8>>2],f);v[d+24>>2]=g;v[d+16>>2]=e;v[d+12>>2]=e;v[d+40>>2]=3036;v[d+20>>2]=e+g;h=d}Qb=c+48|0;return h}function cs(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;v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;d=w[c+11|0];f=d<<24>>24;g=(f|0)<0?v[c+4>>2]:d;a:{b:{e=ve(b);d=g+e|0;c:{if(d>>>0>=1073741808){v[299999]=0;R(2530,a|0);b=v[299999];v[299999]=0;if((b|0)==1){break c}L()}d:{if(d>>>0<=1){t[a+11|0]=e;d=a;break d}v[299999]=0;h=d+4&-4;d=S(1,h<<2)|0;i=v[299999];v[299999]=0;if((i|0)==1){break c}v[a>>2]=d;v[a+4>>2]=e;v[a+8>>2]=h|-2147483648}if(e){v[299999]=0;tc(d,b,e);b=v[299999];v[299999]=0;if((b|0)==1){break a}f=t[c+11|0]}v[(e<<2)+d>>2]=0;b=v[c>>2];v[299999]=0;Y(2653,a|0,((f|0)<0?b:c)|0,g|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break b}}b=P()|0;O()|0;if(t[a+11|0]<=-1){dc(v[a>>2])}T(b|0);L()}return}W(0)|0;O()|0;lc();L()}function ala(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{if((c|0)<1){break a}c=c-1|0;if(!d){while(1){d=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=d;d=v[b+12>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=d;d=v[b+20>>2];v[a+16>>2]=v[b+16>>2];v[a+20>>2]=d;d=v[b+28>>2];v[a+24>>2]=v[b+24>>2];v[a+28>>2]=d;v[a+32>>2]=v[b+32>>2];Ol(a+36|0,b+36|0);v[a+52>>2]=v[b+52>>2];b=b+56|0;a=a+56|0;d=(c|0)>0;c=c-1|0;if(d){continue}break a}}while(1){d=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=d;d=v[b+12>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=d;d=v[b+20>>2];v[a+16>>2]=v[b+16>>2];v[a+20>>2]=d;d=v[b+28>>2];v[a+24>>2]=v[b+24>>2];v[a+28>>2]=d;v[a+32>>2]=v[b+32>>2];d=b+36|0;Ol(a+36|0,d);v[a+52>>2]=v[b+52>>2];Ic(d);b=b+56|0;a=a+56|0;d=(c|0)>0;c=c-1|0;if(d){continue}break}}}function a9(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=Qb-16|0;Qb=h;a:{b:{if(!d){e=v[a+584>>2];if(!e){break b}f=(c|0)/v[e+8>>2]|0;if(v[e>>2]==2){c=b}else{if(v[e+16>>2]<(f|0)){break a}c=v[e+12>>2]}j=c;g=v[a+608>>2];d=v[a+604>>2];c=0;c:{if((f|0)<1){i=g;break c}if((g|0)<1){i=g;break c}while(1){v[(c<<2)+j>>2]=w[d+2|0]|(w[d+1|0]<<8|w[d|0]<<16);i=g-3|0;d=d+3|0;c=c+1|0;if((f|0)<=(c|0)){break c}k=(g|0)>3;g=i;if(k){continue}break}}v[a+608>>2]=i;v[a+604>>2]=d;d:{if((c|0)!=(f|0)){b=v[a>>2];d=v[a+628>>2];a=v[a+472>>2];v[h+4>>2]=f-c;v[h>>2]=a;zc(d,b,36793,h);a=0;break d}Ub[v[e+20>>2]](e,b,f);a=1}Qb=h+16|0;return a|0}X(33866,6284,248,84192);L()}X(25714,6284,249,84192);L()}X(34494,6284,256,84192);L()}function Shb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:{if(!v[a+16>>2]|!v[a+20>>2]|(!v[a+32>>2]|!v[a+36>>2])){break a}if(!v[a+48>>2]){break a}b:{if(Gg(c,v[a+12>>2])){break b}if(Ih(c,v[a+16>>2])){break b}if(Ih(c,v[a+20>>2])){break b}if(Ih(c,v[a+24>>2])){break b}if(Ih(c,v[a+28>>2])){break b}if(Ih(c,v[a+32>>2])){break b}if(Ih(c,v[a+36>>2])){break b}if(Ih(c,v[a+40>>2])){break b}if(Ih(c,v[a+44>>2])){break b}if(Gg(c,v[a+48>>2])){break b}if(!v[a+48>>2]){return 0}b=0;while(1){d=b<<2;e=d+v[a+52>>2]|0;if(Hq(c,(w[e|0]-1&127|w[e+1|0]<<7)&255)){break b}if(Hq(c,w[(v[a+52>>2]+d|0)+2|0])){break b}if(Hq(c,w[(v[a+52>>2]+d|0)+3|0])){break b}b=b+1|0;if(b>>>0>2]){continue}break}return 0}return-1}X(45913,47016,534,188663);L()}function wz(a,b,c,d,e,f,g,h,i){a=a|0;b=+b;c=+c;d=+d;e=+e;f=+f;g=+g;h=+h;i=+i;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;A[a+40>>3]=i;A[a+32>>3]=h;A[a+24>>3]=c;A[a+16>>3]=b;A[a+112>>3]=b;A[a+48>>3]=b;A[a+120>>3]=c;A[a+56>>3]=c;s=a;o=d-b;p=e-c;j=f-d;l=j*j;j=g-e;n=K(o*o+p*p)+K(l+j*j);j=h-f;l=j*j;j=i-g;j=(n+K(l+j*j))*.25*A[a+8>>3]+.5;a:{if(j<4294967296&j>=0){k=~~j>>>0;break a}k=0}k=(k|0)>4?k:4;v[s>>2]=k;j=1/+(k|0);q=j*j;r=(e-g)*3-c+i;i=j*q;m=i*6;n=r*m;A[a+104>>3]=n;h=(d-f)*3-b+h;m=h*m;A[a+96>>3]=m;l=h*i;h=j*3;b=b-(d+d)+f;d=q*3;f=l+(o*h+b*d);A[a+128>>3]=f;A[a+64>>3]=f;c=c-(e+e)+g;d=r*i+(p*h+c*d);A[a+136>>3]=d;A[a+72>>3]=d;d=b;b=q*6;d=d*b+m;A[a+144>>3]=d;A[a+80>>3]=d;b=c*b+n;A[a+152>>3]=b;A[a+88>>3]=b;v[a+4>>2]=k}function wR(a,b,c){var d=0,e=0,f=0,g=0;a:{if(v[c>>2]==2){a=v[b+8>>2];if((a|0)<1){break a}while(1){f=a-1|0;e=v[v[b>>2]+(f<<2)>>2];d=A[e+16>>3];g=v[c+52>>2];b:{c:{if(!v[g+8>>2]){A[c+16>>3]=d;A[c+24>>3]=A[e+24>>3];A[c+32>>3]=A[e+32>>3];d=A[e+40>>3];break c}if(d>3]){A[c+16>>3]=d}d=A[e+24>>3];if(d>3]){A[c+24>>3]=d}d=A[e+32>>3];if(d>A[c+32>>3]){A[c+32>>3]=d}d=A[e+40>>3];if(!(d>A[c+40>>3])){break b}}A[c+40>>3]=d}Yl(g,0,e);e=(a|0)>1;a=f;if(e){continue}break}break a}wR(a,b,v[v[v[c+52>>2]>>2]>>2]);a=v[v[v[c+52>>2]>>2]>>2];d=A[a+16>>3];if(d>3]){A[c+16>>3]=d}d=A[a+24>>3];if(d>3]){A[c+24>>3]=d}d=A[a+32>>3];if(d>A[c+32>>3]){A[c+32>>3]=d}d=A[a+40>>3];if(!(d>A[c+40>>3])){break a}A[c+40>>3]=d}}function k0a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Qb-16|0;Qb=e;a:{if(v[a+4>>2]){break a}d=6;b:{if(v[a+12>>2]!=1){break b}g=v[a>>2];c=v[a+28>>2];if(c){v[(v[a+36>>2]+(c<<4)|0)-4>>2]=b}h=c+1|0;d=v[a+32>>2];c:{if(h>>>0<=d>>>0){f=v[a+36>>2];break c}v[e+8>>2]=0;i=c+8&-8;f=Cc(g,16,d,i,v[a+36>>2],e+8|0);v[a+36>>2]=f;d=v[e+8>>2];if(d){break b}v[a+32>>2]=i}c=(c<<4)+f|0;v[c+12>>2]=0;v[c>>2]=0;v[a+28>>2]=h;c=v[a- -64>>2];if(c){v[(v[a+72>>2]+(c<<4)|0)-4>>2]=b}f=c+1|0;b=v[a+68>>2];d:{if(f>>>0<=b>>>0){b=v[a+72>>2];break d}v[e+12>>2]=0;d=g;g=c+8&-8;b=Cc(d,16,b,g,v[a+72>>2],e+12|0);v[a+72>>2]=b;d=v[e+12>>2];if(d){break b}v[a+68>>2]=g}b=(c<<4)+b|0;v[b+12>>2]=0;v[b>>2]=0;v[a+64>>2]=f;break a}v[a+4>>2]=d}Qb=e+16|0}function P3(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;a:{b:{e=v[a+4>>2];f=v[a+12>>2];d=f+c|0;if(!(!v[a+16>>2]|(e|0)>=(d|0))){c:{while(1){if((d|0)<=(e|0)){break c}e=e<<1;if((e|0)>-1){continue}break}X(32236,6782,1018,188107);L()}d=v[a>>2];if(!d){break b}d=uh(d,e);if(!d){return-1}v[a+4>>2]=e;v[a>>2]=d;f=v[a+12>>2]}g=v[a+8>>2];d:{if((g|0)<(f|0)){d=((f|0)<(e|0)?f:e)-g|0;if((d|0)>=1){ic(v[a>>2]+g|0,0,d);g=d+v[a+8>>2]|0;v[a+8>>2]=g;f=v[a+12>>2]}d=0;if((f|0)!=(g|0)){break d}e=v[a+4>>2];f=g}e=e-f|0;d=(c|0)>(e|0)?e:c;if((d|0)>=1){gc(v[a>>2]+f|0,b,d);f=d+v[a+12>>2]|0;v[a+12>>2]=f;g=v[a+8>>2]}if((f|0)>(g|0)){v[a+8>>2]=f}d=c;if((e|0)<(d|0)){break a}}return d|0}X(35025,6782,996,188117);L()}X(32677,6782,1046,188107);L()}function Hv(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(!b){break a}v[b>>2]=1;if(!a|(a?v[a+36>>2]:0)){break a}c=B(a?v[a>>2]:-1,a?v[a+8>>2]:-1);h=(c|0)/32|0;e=a?v[a+4>>2]:-1;f=a?v[a+12>>2]:-1;g=a?v[a+40>>2]:0;if((e|0)<1){return}a=c&31;i=-1<<32-a;b:{if((c|0)>=32){if(!a){while(1){a=(B(d,f)<<2)+g|0;c=0;while(1){if(v[a>>2]){break b}a=a+4|0;c=c+1|0;if((h|0)!=(c|0)){continue}break}d=d+1|0;if((e|0)!=(d|0)){continue}break a}}while(1){a=(B(d,f)<<2)+g|0;c=0;while(1){if(v[a>>2]){break b}a=a+4|0;c=c+1|0;if((h|0)!=(c|0)){continue}break}if(v[a>>2]&i){break b}d=d+1|0;if((e|0)!=(d|0)){continue}break}break a}if(!a){break a}a=0;while(1){if(v[(B(a,f)<<2)+g>>2]&i){break b}a=a+1|0;if((e|0)!=(a|0)){continue}break}break a}v[b>>2]=0}}function HFa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=Qb-16|0;Qb=c;v[c+12>>2]=1;if(!((mf(a,0,c+12|0)|0)!=128|!v[c+12>>2])){e=Fj(v[a+12>>2]);a:{if((mf(a,0,c+12|0)|0)!=128|!v[c+12>>2]){break a}while(1){if(mf(a,d+1|0,c+12|0)-1>>>0>1|!v[c+12>>2]){break a}b:{c:{b=d+2|0;if(b>>>0<=2147483644){g=b+3|0;if((g|0)>2]){break c}}v[c+12>>2]=0;b=0;break b}h=v[a+8>>2];b=b+h|0;b=(w[b+2|0]<<8|w[g+h|0]<<16|w[b+1|0])<<8|w[b|0]}if(!v[c+12>>2]){break a}d=d+6|0;if(!((b|0)<=(2147483647-d|0)&(b|d)>-1&v[a+12>>2]>=(b+d|0))){break a}gc(e+f|0,d+v[a+8>>2]|0,b);f=b+f|0;d=b+d|0;if((mf(a,d,c+12|0)|0)!=128){break a}if(v[c+12>>2]){continue}break}}if(v[a+16>>2]){uc(v[a+4>>2])}v[a+16>>2]=1;v[a+8>>2]=e;v[a+4>>2]=e;v[a+12>>2]=f}Qb=c+16|0}function gU(a){var b=0,c=0,d=0,e=0,f=0;a:{if(v[a+108>>2]){break a}b=v[a+16>>2];if((b|0)<1){break a}c=b+7|0;f=v[a+12>>2]|127<<17-b;while(1){b=v[a+112>>2];v[a+112>>2]=b+1;t[b|0]=f>>>16;b=v[a+116>>2]-1|0;v[a+116>>2]=b;if(!b){d=v[a+120>>2];b=v[d+24>>2];if(!(Ub[v[b+12>>2]](d)|0)){d=v[a+120>>2];e=v[d>>2];v[e+20>>2]=25;Ub[v[e>>2]](d)}v[a+112>>2]=v[b>>2];v[a+116>>2]=v[b+4>>2]}b=c;b:{if((f&16711680)!=16711680){break b}c=v[a+112>>2];v[a+112>>2]=c+1;t[c|0]=0;c=v[a+116>>2]-1|0;v[a+116>>2]=c;if(c){break b}d=v[a+120>>2];c=v[d+24>>2];if(!(Ub[v[c+12>>2]](d)|0)){d=v[a+120>>2];e=v[d>>2];v[e+20>>2]=25;Ub[v[e>>2]](d)}v[a+112>>2]=v[c>>2];v[a+116>>2]=v[c+4>>2]}c=b-8|0;f=f<<8;if((b|0)>15){continue}break}}v[a+12>>2]=0;v[a+16>>2]=0}function er(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0,m=0;o(+a);e=j(1)|0;g=j(0)|0;a:{b:{c:{b=e;e=b;if(!(b>>>0>=1048576&(b|0)>-1)){if(!(b&2147483647|g)){return-1/(a*a)}if((b|0)>-1){break c}return(a-a)/0}if(e>>>0>2146435071){break a}b=1072693248;h=-1023;if((e|0)!=1072693248){b=e;break b}if(g){break b}return 0}o(+(a*0x40000000000000));b=j(1)|0;g=j(0)|0;h=-1077}b=b+614242|0;d=+((b>>>20|0)+h|0);a=d*.6931471803691238;l(0,g|0);l(1,(b&1048575)+1072079006|0);f=+n()+-1;c=f/(f+2);i=a;k=d*1.9082149292705877e-10;m=c;a=f*(f*.5);d=c*c;c=d*d;a=i+(f+(k+m*(a+(c*(c*(c*.15313837699209373+.22222198432149784)+.3999999999940942)+d*(c*(c*(c*.14798198605116586+.1818357216161805)+.2857142874366239)+.6666666666666735)))-a))}return a}function eX(a,b){var c=0,d=0,e=0,f=0,g=0;c=w[a+11|0];f=c<<24>>24;d=w[b+11|0];g=d<<24>>24;c=(f|0)<0?v[a+4>>2]:c;e=0;a:{if((c|0)!=(((g|0)<0?v[b+4>>2]:d)|0)){break a}if(c){e=0;if(od((f|0)<0?v[a>>2]:a,(g|0)<0?v[b>>2]:b,c)){break a}}c=w[a+39|0];f=c<<24>>24;d=w[b+39|0];g=d<<24>>24;c=(f|0)<0?v[a+32>>2]:c;e=0;if((c|0)!=(((g|0)<0?v[b+32>>2]:d)|0)){break a}if(c){d=a+28|0;d=(f|0)<0?v[d>>2]:d;f=b+28|0;e=0;if(od(d,(g|0)<0?v[f>>2]:f,c)){break a}}c=w[a+23|0];f=c<<24>>24;d=w[b+23|0];g=d<<24>>24;c=(f|0)<0?v[a+16>>2]:c;e=0;if((c|0)!=(((g|0)<0?v[b+16>>2]:d)|0)){break a}if(c){d=a+12|0;d=(f|0)<0?v[d>>2]:d;f=b+12|0;e=0;if(od(d,(g|0)<0?v[f>>2]:f,c)){break a}}e=0;if(v[a+44>>2]!=v[b+44>>2]){break a}e=v[a+40>>2]==v[b+40>>2]}return e}function oba(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;a=Qb-32|0;Qb=a;u[a+28>>1]=w[1016101]|w[1016102]<<8;v[a+24>>2]=w[1016097]|w[1016098]<<8|(w[1016099]<<16|w[1016100]<<24);g=a+24|0;Gn(g|1,261778,1,v[c+4>>2]);h=v[c+4>>2];f=a-16|0;Qb=f;i=pg();v[a>>2]=e;h=Mh(f,(h>>>9&1)+13|0,i,g,a)+f|0;i=hj(f,h,c);g=f-32|0;Qb=g;j=a+8|0;e=v[c+28>>2];v[j>>2]=e;v[e+4>>2]=v[e+4>>2]+1;v[299999]=0;la(5578,f|0,i|0,h|0,g|0,a+20|0,a+16|0,j|0);e=v[299999];v[299999]=0;if((e|0)!=1){e=v[a+8>>2];f=v[e+4>>2]-1|0;v[e+4>>2]=f;if((f|0)==-1){Ub[v[v[e>>2]+8>>2]](e)}b=Vq(b,g,v[a+20>>2],v[a+16>>2],c,d);Qb=a+32|0;return b|0}c=P()|0;O()|0;a=v[a+8>>2];b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}T(c|0);L()}function kYa(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;f=Qb-1536|0;Qb=f;a:{b:{if(d&16){if(!c){break b}ic(e,0,c<<2);break a}d=0;g=Ub[v[v[v[a+492>>2]+12>>2]>>2]](f+8|0,a,0,0,v[a+424>>2],v[a+532>>2],0,0,2045)|0;if(g){break a}t[f+76|0]=0;t[f+78|0]=1;v[f+1372>>2]=v[a+404>>2];v[f+1376>>2]=v[a+408>>2];v[f+1380>>2]=v[a+412>>2];v[f+1384>>2]=v[a+416>>2];v[f+1504>>2]=v[a+548>>2];v[f+1508>>2]=v[a+544>>2];if(!c){break b}while(1){t[f+1527|0]=0;g=(d<<2)+e|0;c:{if(!sv(f+8|0,b+d|0,f+1528|0,f+1527|0)){a=v[v[v[f+12>>2]+128>>2]+52>>2];if(a){Ub[v[v[a>>2]+4>>2]](v[a+4>>2],f+1528|0)}a=v[f+48>>2];a=(((a>>31)+a|0)+32768&-65536)>>16;break c}a=0}v[g>>2]=a;d=d+1|0;if((d|0)!=(c|0)){continue}break}}g=0}Qb=f+1536|0;return g|0}function _Oa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;v[a+8>>2]=0;v[a>>2]=0;v[a+4>>2]=0;d=v[b+4>>2]-v[b>>2]|0;c=(d|0)/12|0;a:{b:{c:{if(d){if(c>>>0>=357913942){v[299999]=0;R(2185,a|0);b=v[299999];v[299999]=0;if((b|0)==1){break c}L()}v[299999]=0;d=S(1,d|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break c}v[a>>2]=d;v[a+4>>2]=d;v[a+8>>2]=B(c,12)+d;c=v[b>>2];b=v[b+4>>2];if((c|0)!=(b|0)){while(1){d:{if(t[c+11|0]>=0){e=v[c+4>>2];v[d>>2]=v[c>>2];v[d+4>>2]=e;v[d+8>>2]=v[c+8>>2];break d}e=v[c+4>>2];f=v[c>>2];v[299999]=0;U(2345,d|0,f|0,e|0);e=v[299999];v[299999]=0;if((e|0)==1){break b}}d=d+12|0;c=c+12|0;if((b|0)!=(c|0)){continue}break}}v[a+4>>2]=d}return a|0}c=P()|0;O()|0;break a}c=P()|0;O()|0;v[a+4>>2]=d}Qg(a);T(c|0);L()}function Ty(a,b,c){var d=0,e=0,f=0;a:{if((b|0)<0){break a}f=-1;if(v[a+28>>2]|!a){break a}b:{if(v[a+12>>2]){d=v[a+20>>2];if(!d){d=cG();v[a+20>>2]=d}if(Zi(d,c,b)){break a}c=0;d=v[a+20>>2];c:{if(!d|v[d+32>>2]){break c}b=v[d+8>>2];if(!((b|0)==v[d+24>>2]|b>>>0>2147483646)){v[d+24>>2]=b}c=v[d+20>>2];b=v[d+4>>2];if((c|0)==(b|0)|b>>>0>2147483646){break c}v[d+20>>2]=b;c=b}b=cz(a,1);if((b|0)<=-1){so(8,1544,238119,0);v[a+28>>2]=1544;return-1}d=0;e=v[a+20>>2];d:{if(!e|v[e+32>>2]){break d}d=v[e+8>>2];if(!((d|0)==v[e+24>>2]|d>>>0>2147483646)){v[e+24>>2]=d}d=v[e+20>>2];f=v[e+4>>2];if((d|0)==(f|0)|f>>>0>2147483646){break d}v[e+20>>2]=f;d=f}v[a+32>>2]=v[a+32>>2]+(c-d|0);break b}if(Zi(v[a+16>>2],c,b)){break a}}f=b}return f}function EG(a,b,c){var d=0,e=0,f=0;d=v[a+20>>2];if((d|0)!=100){e=v[a>>2];v[e+24>>2]=d;v[e+20>>2]=21;Ub[v[v[a>>2]>>2]](a)}d=v[a+88>>2];if(!d){d=Ub[v[v[a+4>>2]>>2]](a,0,132)|0;v[d+128>>2]=0;v[a+88>>2]=d}e=0;while(1){f=(B(v[(e<<2)+73200>>2],b)+50|0)/100|0;f=(f|0)>1?f:1;f=(f|0)<32767?f:32767;u[(e<<1)+d>>1]=c?(f|0)>255?255:f:f;e=e+1|0;if((e|0)!=64){continue}break}v[d+128>>2]=0;d=v[a+20>>2];if((d|0)!=100){e=v[a>>2];v[e+24>>2]=d;v[e+20>>2]=21;Ub[v[v[a>>2]>>2]](a)}d=v[a+92>>2];if(!d){d=Ub[v[v[a+4>>2]>>2]](a,0,132)|0;v[d+128>>2]=0;v[a+92>>2]=d}e=0;while(1){a=(B(v[(e<<2)+73456>>2],b)+50|0)/100|0;a=(a|0)>1?a:1;a=(a|0)<32767?a:32767;u[(e<<1)+d>>1]=c?(a|0)>255?255:a:a;e=e+1|0;if((e|0)!=64){continue}break}v[d+128>>2]=0}function ic(a,b,c){var d=0,e=0,f=0;a:{if(!c){break a}f=a+c|0;t[f-1|0]=b;t[a|0]=b;if(c>>>0<3){break a}t[f-2|0]=b;t[a+1|0]=b;t[f-3|0]=b;t[a+2|0]=b;if(c>>>0<7){break a}t[f-4|0]=b;t[a+3|0]=b;if(c>>>0<9){break a}f=0-a&3;e=f+a|0;d=B(b&255,16843009);v[e>>2]=d;b=c-f&-4;c=b+e|0;v[c-4>>2]=d;if(b>>>0<9){break a}v[e+8>>2]=d;v[e+4>>2]=d;v[c-8>>2]=d;v[c-12>>2]=d;if(b>>>0<25){break a}v[e+24>>2]=d;v[e+20>>2]=d;v[e+16>>2]=d;v[e+12>>2]=d;v[c-16>>2]=d;v[c-20>>2]=d;v[c-24>>2]=d;v[c-28>>2]=d;c=b;b=e&4|24;c=c-b|0;if(c>>>0<32){break a}d=Bib(d,0,1,1);f=Tb;b=b+e|0;while(1){v[b+24>>2]=d;e=f;v[b+28>>2]=e;v[b+16>>2]=d;v[b+20>>2]=e;v[b+8>>2]=d;v[b+12>>2]=e;v[b>>2]=d;v[b+4>>2]=e;b=b+32|0;c=c-32|0;if(c>>>0>31){continue}break}}return a}function Bh(){var a=0,b=0,c=0,d=0;a:{b:{a=v[294611];if(!a){a=fc(92);v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=984608;v[a+16>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;v[a+32>>2]=0;v[299999]=0;c=Q(4475,a+8|0,984808)|0;b=v[299999];v[299999]=0;c:{if((b|0)!=1){v[a+36>>2]=0;v[a+40>>2]=0;v[a+60>>2]=0;v[a+52>>2]=0;v[a+56>>2]=0;v[a+44>>2]=0;v[a+48>>2]=0;v[299999]=0;d=Q(4475,a+36|0,984808)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}v[a+64>>2]=0;v[a+68>>2]=0;v[a+88>>2]=0;v[a+80>>2]=0;v[a+84>>2]=0;v[a+72>>2]=0;v[a+76>>2]=0;v[299999]=0;Q(4475,a- -64|0,984828)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break c}b=P()|0;O()|0;id(d);id(c);break a}b=P()|0;O()|0;break a}v[294611]=a}return a|0}b=P()|0;O()|0;id(c)}dc(a);T(b|0);L()}function ye(a,b,c){var d=0,e=0,f=0,g=0;a:{b:{if(!b){break b}if((c|0)<=-1){break a}f=v[a+12>>2];if(!f){f=jc(4096);v[a+12>>2]=f;if(!f){break b}}g=v[a+16>>2];e=v[a+20>>2];d=g-e|0;c:{if((d|0)<1){d=0;break c}if((c|0)<(d|0)){d=0;break c}b=gc(b,e+f|0,d);g=v[a+16>>2];v[a+20>>2]=g;c=c-d|0;b=b+d|0;e=g}d:{if((c|0)>=4097){b=Ub[v[v[a+8>>2]+8>>2]](v[a+4>>2],b,1,c)|0;v[a+20>>2]=v[a+16>>2];d=b+d|0;break d}if((e|0)==(g|0)){if((c|0)<1){break d}e=Ub[v[v[a+8>>2]+8>>2]](v[a+4>>2],v[a+12>>2],1,4096)|0;v[a+16>>2]=e;f=b;b=(c|0)>(e|0)?e:c;gc(f,v[a+12>>2],b);v[a+20>>2]=b;d=b+d|0;break d}f=b;b=g-e|0;b=(b|0)<(c|0)?b:c;gc(f,v[a+12>>2]+e|0,b);v[a+20>>2]=b+v[a+20>>2];d=b+d|0}v[a+28>>2]=v[a+28>>2]+d}return d}X(3764,6824,64,193463);L()}function hT(a){var 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,u=0;while(1){e=a+s|0;k=t[e+4|0];l=t[e|0];u=k^l;b=l<<1;m=(l|0)>-1?b:b^27;b=m<<1;n=m<<24>>24>-1?b:b^27;b=n<<1;b=n<<24>>24>-1?b:b^27;i=t[e+8|0];c=i<<1;o=(i|0)>-1?c:c^27;c=o<<1;p=o<<24>>24>-1?c:c^27;c=p<<1;c=p<<24>>24>-1?c:c^27;j=t[e+12|0];d=j<<1;q=(j|0)>-1?d:d^27;d=q<<1;r=q<<24>>24>-1?d:d^27;d=r<<1;d=r<<24>>24>-1?d:d^27;f=k<<1;f=(k|0)>-1?f:f^27;g=f<<1;g=f<<24>>24>-1?g:g^27;h=g<<1;h=g<<24>>24>-1?h:h^27;t[e+8|0]=d^(c^(h^(b^(p^(q^(n^(j^u^o)))))));t[e|0]=d^(c^(h^(b^(p^(n^(f^(j^(m^(i^k)))))))));t[e+12|0]=d^(c^(h^(r^(b^(g^(q^(m^(i^u))))))));t[e+4|0]=d^(c^(h^(r^(b^(g^(f^(j^(i^l))^o))))));s=s+1|0;if((s|0)!=4){continue}break}}function _bb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=v[a+636>>2]+v[a+616>>2]|0;b=v[a+644>>2];a:{b:{c:{e=v[a+540>>2];if(!e){e=v[v[a+528>>2]+88>>2]}if(w[e+56|0]){if(v[a+588>>2]>0){break c}break a}if(v[a+588>>2]>0){break b}j=1;break a}while(1){c=b;if(!d){k=w[g|0];f=4;d=240;g=g+1|0}l=c;c=x[e+836>>1];i=(d&k)>>>f|0;t[l+3|0]=(c|0)!=(i|0)?-1:0;c=(c|0)==(i|0)?0:B(i,17);t[b+2|0]=c;t[b+1|0]=c;t[b|0]=c;f=f-4|0;b=b+4|0;d=(d&240)>>>4|0;h=h+1|0;if((h|0)>2]){continue}break}break a}e=0;while(1){if(!d){e=w[g|0];f=4;d=240;g=g+1|0}t[b+3|0]=255;c=B((d&e)>>>f|0,17);t[b+2|0]=c;t[b+1|0]=c;t[b|0]=c;f=f-4|0;b=b+4|0;d=(d&240)>>>4|0;j=1;h=h+1|0;if((h|0)>2]){continue}break}}t[a+649|0]=j;return 0}function PBa(a){a=a|0;var b=0,c=0,d=0,e=0;b=fc(96);c=v[a+12>>2];d=v[a+16>>2];e=v[v[d>>2]+8>>2];v[299999]=0;d=S(e|0,d|0)|0;e=v[299999];v[299999]=0;if((e|0)!=1){v[b+4>>2]=15;v[b+8>>2]=0;v[b+16>>2]=d;v[b+12>>2]=c;v[b>>2]=897248;c=v[a+92>>2];v[b+88>>2]=v[a+88>>2];v[b+92>>2]=c;c=v[a+28>>2];v[b+24>>2]=v[a+24>>2];v[b+28>>2]=c;c=v[a+36>>2];v[b+32>>2]=v[a+32>>2];v[b+36>>2]=c;c=v[a+44>>2];v[b+40>>2]=v[a+40>>2];v[b+44>>2]=c;c=v[a+52>>2];v[b+48>>2]=v[a+48>>2];v[b+52>>2]=c;c=v[a+60>>2];v[b+56>>2]=v[a+56>>2];v[b+60>>2]=c;d=a- -64|0;e=v[d+4>>2];c=b- -64|0;v[c>>2]=v[d>>2];v[c+4>>2]=e;c=v[a+76>>2];v[b+72>>2]=v[a+72>>2];v[b+76>>2]=c;c=v[a+84>>2];v[b+80>>2]=v[a+80>>2];v[b+84>>2]=c;return b|0}a=P()|0;O()|0;dc(b);T(a|0);L()}function HPa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=a;c=v[a+132>>2];if((c|0)!=v[b>>2]){f=v[a+268>>2];d=v[a+264>>2];c=f-d|0;a:{if(!c){break a}c=(c|0)/104|0;c=c>>>0>1?c:1;g=c&7;if(c-1>>>0>=7){c=c&-8;while(1){v[(B(e,104)+d|0)+100>>2]=1;v[(B(e|1,104)+d|0)+100>>2]=1;v[(B(e|2,104)+d|0)+100>>2]=1;v[(B(e|3,104)+d|0)+100>>2]=1;v[(B(e|4,104)+d|0)+100>>2]=1;v[(B(e|5,104)+d|0)+100>>2]=1;v[(B(e|6,104)+d|0)+100>>2]=1;v[(B(e|7,104)+d|0)+100>>2]=1;e=e+8|0;c=c-8|0;if(c){continue}break}}if(!g){break a}while(1){v[(B(e,104)+d|0)+100>>2]=1;e=e+1|0;g=g-1|0;if(g){continue}break}}if((d|0)!=(f|0)){while(1){mg(f-28|0);f=f-104|0;if((f|0)!=(d|0)){continue}break}}v[a+268>>2]=d;ic(a+276|0,255,2228224);c=v[b>>2]}v[h+132>>2]=c}function vN(a,b,c,d,e,f){var g=0;g=Qb-80|0;Qb=g;a:{if((f|0)>=16384){pf(g+32|0,b,c,d,e,0,0,0,2147352576);d=v[g+40>>2];e=v[g+44>>2];b=v[g+32>>2];c=v[g+36>>2];if((f|0)<32767){f=f-16383|0;break a}pf(g+16|0,b,c,d,e,0,0,0,2147352576);f=((f|0)<49149?f:49149)-32766|0;d=v[g+24>>2];e=v[g+28>>2];b=v[g+16>>2];c=v[g+20>>2];break a}if((f|0)>-16383){break a}pf(g- -64|0,b,c,d,e,0,0,0,65536);d=v[g+72>>2];e=v[g+76>>2];b=v[g+64>>2];c=v[g+68>>2];if((f|0)>-32765){f=f+16382|0;break a}pf(g+48|0,b,c,d,e,0,0,0,65536);f=((f|0)>-49146?f:-49146)+32764|0;d=v[g+56>>2];e=v[g+60>>2];b=v[g+48>>2];c=v[g+52>>2]}pf(g,b,c,d,e,0,0,0,f+16383<<16);b=v[g+12>>2];v[a+8>>2]=v[g+8>>2];v[a+12>>2]=b;b=v[g+4>>2];v[a>>2]=v[g>>2];v[a+4>>2]=b;Qb=g+80|0}function kba(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;a=Qb-32|0;Qb=a;u[a+28>>1]=w[1016101]|w[1016102]<<8;v[a+24>>2]=w[1016097]|w[1016098]<<8|(w[1016099]<<16|w[1016100]<<24);g=a+24|0;Gn(g|1,261778,0,v[c+4>>2]);h=v[c+4>>2];f=a-16|0;Qb=f;i=pg();v[a>>2]=e;h=Mh(f,h>>>9&1|12,i,g,a)+f|0;i=hj(f,h,c);g=f-32|0;Qb=g;j=a+8|0;e=v[c+28>>2];v[j>>2]=e;v[e+4>>2]=v[e+4>>2]+1;v[299999]=0;la(5578,f|0,i|0,h|0,g|0,a+20|0,a+16|0,j|0);e=v[299999];v[299999]=0;if((e|0)!=1){e=v[a+8>>2];f=v[e+4>>2]-1|0;v[e+4>>2]=f;if((f|0)==-1){Ub[v[v[e>>2]+8>>2]](e)}b=Vq(b,g,v[a+20>>2],v[a+16>>2],c,d);Qb=a+32|0;return b|0}c=P()|0;O()|0;a=v[a+8>>2];b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}T(c|0);L()}function _aa(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;a=Qb-32|0;Qb=a;u[a+28>>1]=w[1016101]|w[1016102]<<8;v[a+24>>2]=w[1016097]|w[1016098]<<8|(w[1016099]<<16|w[1016100]<<24);g=a+24|0;Gn(g|1,261778,0,v[c+4>>2]);h=v[c+4>>2];f=a-16|0;Qb=f;i=pg();v[a>>2]=e;h=Mh(f,h>>>9&1|12,i,g,a)+f|0;i=hj(f,h,c);g=f-96|0;Qb=g;j=a+8|0;e=v[c+28>>2];v[j>>2]=e;v[e+4>>2]=v[e+4>>2]+1;v[299999]=0;la(5590,f|0,i|0,h|0,g|0,a+20|0,a+16|0,j|0);e=v[299999];v[299999]=0;if((e|0)!=1){e=v[a+8>>2];f=v[e+4>>2]-1|0;v[e+4>>2]=f;if((f|0)==-1){Ub[v[v[e>>2]+8>>2]](e)}b=Uq(b,g,v[a+20>>2],v[a+16>>2],c,d);Qb=a+32|0;return b|0}c=P()|0;O()|0;a=v[a+8>>2];b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}T(c|0);L()}function UQ(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=Qb-16|0;Qb=e;v[e+12>>2]=0;d=v[a+200>>2];if(d&1){a:{if(d&4){Gc(a,48145);td(a,c);break a}if(d&2){Gc(a,48405)}if(!(!b|!(w[b+8|0]&2))){Gc(a,48965);td(a,c);break a}if(!(((w[a+401|0]!=3?w[a+405|0]:3)|0)==(c|0)&c>>>0<=4)){Gc(a,49449);td(a,c);break a}d=e+12|0;yf(a,d,c);kd(a,d,c);if(td(a,0)){break a}d=w[e+12|0];h=a;b:{if(w[a+401|0]&2){c=w[e+13|0];f=w[e+14|0];g=e+12|3;break b}t[a+495|0]=d;c=d;f=c;g=e+12|1}t[h+496|0]=w[g|0];t[a+494|0]=f;t[a+493|0]=c;t[a+492|0]=d;if(!(!a|!b)){c=w[a+492|0]|w[a+493|0]<<8|(w[a+494|0]<<16|w[a+495|0]<<24);t[b+68|0]=c;t[b+69|0]=c>>>8;t[b+70|0]=c>>>16;t[b+71|0]=c>>>24;t[b+72|0]=w[a+496|0];v[b+8>>2]=v[b+8>>2]|2}}Qb=e+16|0;return}hd(a,47538);L()}function Nhb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=a+12|0;a:{b:{if(y[b>>2]<=256){b=-1;e=v[c+8>>2];if(e&7){break a}b=v[c+64>>2];if(!((b|0)<0|(b|0)>v[c+60>>2])){v[c+8>>2]=e|4;return-1}b=-1;e=v[c+28>>2];v[c+28>>2]=e-1;c:{if((e|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=v[c+24>>2];v[c+24>>2]=b+1;e=w[b|0];break c}e=Hc(c,1);if((e|0)==-1){break a}}v[d>>2]=e&255;break b}b=-1;if(Of(c,d)){break a}}b=-1;d=v[c+8>>2];if(d&7){break a}b=v[c+64>>2];if(!((b|0)<0|(b|0)>v[c+60>>2])){v[c+8>>2]=d|4;return-1}b=-1;d=v[c+28>>2];v[c+28>>2]=d-1;d:{if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=v[c+24>>2];v[c+24>>2]=b+1;d=w[b|0];break d}d=Hc(c,1);if((d|0)==-1){break a}}a=a+16|0;t[a|0]=d;b=-1;if(M2(c,d&1,a)){break a}b=0-(v[c+8>>2]&1)|0}return b|0}function HH(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=v[a+4>>2];a:{if(b>>>0>=2){c=v[a>>2];v[c+24>>2]=b;v[c+20>>2]=15;Ub[v[v[a>>2]>>2]](a);break a}if((b|0)!=1){break a}c=v[d+68>>2];if(c){while(1){if(v[c+40>>2]){v[c+40>>2]=0;Ub[v[c+56>>2]](a,c+48|0)}c=v[c+44>>2];if(c){continue}break}}v[d+68>>2]=0;c=v[d+72>>2];if(c){while(1){if(v[c+40>>2]){v[c+40>>2]=0;Ub[v[c+56>>2]](a,c+48|0)}c=v[c+44>>2];if(c){continue}break}}v[d+72>>2]=0}b=(b<<2)+d|0;a=b;c=v[a+60>>2];v[a+60>>2]=0;if(c){while(1){a=v[c>>2];e=v[c+4>>2]+v[c+8>>2]|0;dc(c);v[d+76>>2]=v[d+76>>2]-(e+16|0);c=a;if(c){continue}break}}c=v[b+52>>2];v[b+52>>2]=0;if(c){while(1){a=v[c>>2];b=(v[c+4>>2]+v[c+8>>2]|0)+16|0;dc(c);v[d+76>>2]=v[d+76>>2]-b;c=a;if(c){continue}break}}}function FP(a,b,c){var d=0,e=0,f=0;d=Qb-32|0;Qb=d;v[d+16>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=0;v[d+4>>2]=0;f=Bc(b);a:{if(!c){vx(a,b,0);break a}if(!w[c|0]){vx(a,b,c);break a}c=yx(a,c,Bc(c),0,d);if(!a){Kt(0,d,c);break a}v[a+744>>2]=34;t[d+28|0]=122;t[d+29|0]=84;t[d+30|0]=88;t[d+31|0]=116;e=(c+f|0)+2|0;t[d+27|0]=e;t[d+26|0]=e>>>8;t[d+25|0]=e>>>16;t[d+24|0]=e>>>24;ld(a,d+24|0,8);v[a+348>>2]=2052348020;_f(a);kd(a,d+28|0,4);v[a+744>>2]=66;b:{if(!b){break b}e=f+1|0;if(!e){break b}ld(a,b,e);kd(a,b,e)}t[d+23|0]=0;b=d+23|0;ld(a,b,1);kd(a,b,1);Kt(a,d,c);v[a+744>>2]=130;b=v[a+384>>2];b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);t[d+24|0]=b;t[d+25|0]=b>>>8;t[d+26|0]=b>>>16;t[d+27|0]=b>>>24;ld(a,d+24|0,4)}Qb=d+32|0}function Sbb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;e=v[a+636>>2]+v[a+616>>2]|0;b=v[a+644>>2];a:{b:{d=v[a+540>>2];if(!d){d=v[v[a+528>>2]+88>>2]}if(w[d+56|0]){if(v[a+588>>2]>0){while(1){g=w[e|0];if(g>>>0>=y[d+64>>2]){break b}f=B(g,3)+d|0;t[b|0]=w[f+68|0];t[b+1|0]=w[f+69|0];t[b+2|0]=w[f+70|0];t[b+3|0]=g>>>0>2]?w[(d+g|0)+848|0]:255;e=e+1|0;b=b+4|0;c=c+1|0;if((c|0)>2]){continue}break}}t[a+649|0]=0;return 0}if(v[a+588>>2]>0){while(1){c=w[e|0];if(c>>>0>=y[d+64>>2]){break a}c=B(c,3)+d|0;t[b|0]=w[c+68|0];t[b+1|0]=w[c+69|0];c=w[c+70|0];t[b+3|0]=255;t[b+2|0]=c;e=e+1|0;b=b+4|0;f=f+1|0;if((f|0)>2]){continue}break}}t[a+649|0]=1;return 0}pc(a,1042,0,0);return 1042}pc(a,1042,0,0);return 1042}function qwa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=v[a+136>>2];a:{if(b>>>0>=y[a+140>>2]){b=-1;if(v[a+144>>2]){break a}b=v[a+4>>2];c=Ub[v[v[b>>2]+28>>2]](b)|0;if(!((c|0)!=128&(c|0)!=-1)){v[a+144>>2]=1;return-1}b:{if((c|0)<=127){f=c+1|0;b=0;if((c|0)<0){break b}d=c+1|0;g=d&1;if(c){c=d&-2;d=a+8|0;while(1){e=v[a+4>>2];h=b+d|0,i=Ub[v[v[e>>2]+28>>2]](e)|0,t[h|0]=i;e=v[a+4>>2];h=d+(b|1)|0,i=Ub[v[v[e>>2]+28>>2]](e)|0,t[h|0]=i;b=b+2|0;c=c-2|0;if(c){continue}break}}if(!g){break b}c=a+b|0;b=v[a+4>>2];h=c,i=Ub[v[v[b>>2]+28>>2]](b)|0,t[h+8|0]=i;break b}f=257-c|0;b=v[a+4>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((c|0)>256){break b}ic(a+8|0,b,(f|0)>1?f:1)}b=a+8|0;v[a+140>>2]=f+b}v[a+136>>2]=b+1;b=w[b|0]}return b|0}function tqa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;a:{b:{if((c|0)<1){break b}c=c-1|0;if(!d){while(1){d=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=d;d=a;e=v[b+8>>2];if(e){v[e+4>>2]=v[e+4>>2]+1;e=v[b+8>>2]}else{e=0}v[d+8>>2]=e;b=b+12|0;a=a+12|0;d=(c|0)>0;c=c-1|0;if(d){continue}break b}}while(1){d=c;c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;c=a;e=v[b+8>>2];if(e){v[e+4>>2]=v[e+4>>2]+1;e=v[b+8>>2]}else{e=0}v[c+8>>2]=e;c=v[b+8>>2];v[b+8>>2]=0;c:{if(!c){break c}v[299999]=0;e=v[c+4>>2]-1|0;v[c+4>>2]=e;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(e){break c}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}c=d-1|0;b=b+12|0;a=a+12|0;if((d|0)>0){continue}break}}return}W(0)|0;O()|0;lc();L()}function gV(a,b,c){var d=0,e=0,f=0;a:{if(!b|v[b+4>>2]!=2|(!c|v[c+4>>2]!=2)){break a}if(v[a+4>>2]!=2?a:0){break a}e=v[b+20>>2];f=v[c+8>>2];d=v[c+36>>2];if(d){d=v[d+8>>2]}else{d=0}d=OF(e,f,d);e=v[b+32>>2];if((e|0)!=v[c+32>>2]){gl(c,e)}e=v[b+20>>2];v[c+28>>2]=a;v[c+20>>2]=e;b:{c:{if(a){v[c+24>>2]=v[a+24>>2];v[a+24>>2]=c;b=v[c+24>>2];if(b){break c}break b}v[c+24>>2]=b}v[b+28>>2]=c}if(!(v[c+28>>2]|!e)){v[e+44>>2]=c}d:{if(!d|v[d+4>>2]==16){break d}b=v[d+20>>2];if(!b){break d}a=v[b+44>>2];e:{f:{if((d|0)==(a|0)){a=v[d+24>>2];v[b+44>>2]=a;b=0;if(a){break f}break e}while(1){b=a;if(!b){break d}a=v[b+24>>2];if((d|0)!=(a|0)){continue}break}a=v[d+24>>2];v[b+24>>2]=a;if(!a){break e}}v[a+28>>2]=b}Nu(d)}d=c}return d}function c5a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=Qb-48|0;Qb=f;c=v[a>>2];d=v[c+20>>2];a:{b:{c:{if(!((d|0)<1|(d|0)>v[c+116>>2])){a=v[c+112>>2]+(d<<2)|0;break c}e=v[c+120>>2];if(!e){break b}a=v[c+124>>2];if((a|0)>(d|0)|(d|0)>v[c+128>>2]){break b}a=e+(d-a<<2)|0}e=v[a>>2];if(e){break a}}v[c+24>>2]=d;e=v[v[c+112>>2]>>2]}a=e;d:{e:{while(1){d=w[a|0];if(!d){break e}a=a+1|0;if((d|0)!=37){continue}break}if(w[a|0]!=115){break e}v[f+32>>2]=c+24;zd(b,e,f+32|0);break d}g=v[c+32>>2];h=v[c+36>>2];i=v[c+40>>2];j=v[c+44>>2];k=v[c+24>>2];l=v[c+28>>2];d=v[c+52>>2];a=f;v[a+24>>2]=v[c+48>>2];v[a+28>>2]=d;v[a+16>>2]=i;v[a+20>>2]=j;v[a+8>>2]=g;v[a+12>>2]=h;v[a>>2]=k;v[a+4>>2]=l;zd(b,e,a)}Qb=f+48|0}function pwa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=v[a+136>>2];a:{if(b>>>0>=y[a+140>>2]){b=-1;if(v[a+144>>2]){break a}b=v[a+4>>2];c=Ub[v[v[b>>2]+28>>2]](b)|0;if(!((c|0)!=128&(c|0)!=-1)){v[a+144>>2]=1;return-1}b:{if((c|0)<=127){f=c+1|0;b=0;if((c|0)<0){break b}d=c+1|0;g=d&1;if(c){c=d&-2;d=a+8|0;while(1){e=v[a+4>>2];h=b+d|0,i=Ub[v[v[e>>2]+28>>2]](e)|0,t[h|0]=i;e=v[a+4>>2];h=d+(b|1)|0,i=Ub[v[v[e>>2]+28>>2]](e)|0,t[h|0]=i;b=b+2|0;c=c-2|0;if(c){continue}break}}if(!g){break b}c=a+b|0;b=v[a+4>>2];h=c,i=Ub[v[v[b>>2]+28>>2]](b)|0,t[h+8|0]=i;break b}f=257-c|0;b=v[a+4>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;if((c|0)>256){break b}ic(a+8|0,b,(f|0)>1?f:1)}b=a+8|0;v[a+136>>2]=b;v[a+140>>2]=b+f}b=w[b|0]}return b|0}function Nja(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=Qb-32|0;Qb=e;a:{b:{if(v[a+92>>2]>0){while(1){if(!(v[a+116>>2]<=(d|0)&v[a+120>>2]>=(d|0))){a=vc(e+8|0,227445,271729,632,307270,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}f=v[a+104>>2];g=v[a+108>>2];c=fc(12);v[c>>2]=0;v[c+4>>2]=0;v[c+8>>2]=v[f+(d-g<<2)>>2];Le(b,c);if(!(v[a+140>>2]<=(d|0)&v[a+144>>2]>=(d|0))){a=vc(e+8|0,227445,271729,632,307270,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}f=v[a+128>>2];g=v[a+132>>2];c=fc(12);v[c>>2]=0;v[c+4>>2]=0;v[c+8>>2]=v[f+(d-g<<2)>>2];Le(b,c);d=d+1|0;if((d|0)>2]){continue}break}}Qb=e+32|0;return}L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function O3a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Qb-16|0;Qb=f;c=v[a>>2];a:{if(w[c+8|0]&2){if(!(Ub[v[v[c+540>>2]+104>>2]](c,b,f+12|0)|0)){e$(a,v[f+12>>2]);break a}v[a+44>>2]=-1;c=v[a>>2]}rq(c,b);c=v[a>>2];b=v[v[c+712>>2]+3080>>2];c=Eg(v[v[c+96>>2]+4>>2],239287);if(!c|!b){break a}b=v[b>>2];if(!b){break a}g=Ub[b|0](c)|0;if(!g){break a}h=v[v[a>>2]+712>>2];c=v[h+1440>>2];i=v[v[a+40>>2]>>2];Ub[v[g+4>>2]](v[i>>2],v[a+16>>2],v[a+20>>2],0,0);e=v[h+2024>>2];if(!e){break a}while(1){b=v[a+16>>2];e=e-1|0;j=e<<2;d=v[v[(j+h|0)+2028>>2]+68>>2];b:{if((d|0)!=(c|0)){b=jd(b,c,d);d=jd(v[a+20>>2],c,d);break b}d=v[a+20>>2]}Ub[v[g+4>>2]](v[(i+j|0)+4>>2],b,d,0,0);if(e){continue}break}}Qb=f+16|0;return 0}function Vaa(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;a=Qb-208|0;Qb=a;u[a+204>>1]=w[1016107]|w[1016108]<<8;v[a+200>>2]=w[1016103]|w[1016104]<<8|(w[1016105]<<16|w[1016106]<<24);h=pg();v[a>>2]=e;f=a+176|0;i=Mh(f,20,h,a+200|0,a);e=i+f|0;h=hj(f,e,c);g=a+8|0;f=v[c+28>>2];v[g>>2]=f;v[f+4>>2]=v[f+4>>2]+1;v[299999]=0;g=S(5466,g|0)|0;f=v[299999];v[299999]=0;if((f|0)!=1){f=v[a+8>>2];j=v[f+4>>2]-1|0;v[f+4>>2]=j;if((j|0)==-1){Ub[v[v[f>>2]+8>>2]](f)}f=a+16|0;Ub[v[v[g>>2]+48>>2]](g,a+176|0,e,f)|0;g=b;b=f+(i<<2)|0;b=Uq(g,f,(e|0)==(h|0)?b:(a+(h-a<<2)|0)-688|0,b,c,d);Qb=a+208|0;return b|0}c=P()|0;O()|0;a=v[a+8>>2];b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}T(c|0);L()}function Dra(a){a=a|0;var b=0,c=0;c=Qb-32|0;Qb=c;a:{b=v[a+16>>2];if((b|0)>=1){if((b|0)>=v[a+20>>2]){a=vc(c+8|0,291478,241690,963,342135,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}b=P()|0;O()|0;qc(a);T(b|0);L()}b=b+v[a+36>>2]|0;t[b|0]=0;t[b+1|0]=0;t[b+2|0]=0;t[b+3|0]=0;t[b+4|0]=0;t[b+5|0]=0;t[b+6|0]=0;t[b+7|0]=0;t[b+24|0]=0;t[b+25|0]=0;t[b+26|0]=0;t[b+27|0]=0;t[b+28|0]=0;t[b+29|0]=0;t[b+30|0]=0;t[b+31|0]=0;t[b+16|0]=0;t[b+17|0]=0;t[b+18|0]=0;t[b+19|0]=0;t[b+20|0]=0;t[b+21|0]=0;t[b+22|0]=0;t[b+23|0]=0;t[b+8|0]=0;t[b+9|0]=0;t[b+10|0]=0;t[b+11|0]=0;t[b+12|0]=0;t[b+13|0]=0;t[b+14|0]=0;t[b+15|0]=0;v[a+24>>2]=v[a+16>>2]+1;nQ(a)}v[a+24>>2]=0;v[a+16>>2]=0;Qb=c+32|0;return}L()}function xN(a,b,c,d){a:{if(b>>>0>20){break a}b:{switch(b-9|0){case 0:b=v[c>>2];v[c>>2]=b+4;v[a>>2]=v[b>>2];return;case 1:b=v[c>>2];v[c>>2]=b+4;b=v[b>>2];v[a>>2]=b;v[a+4>>2]=b>>31;return;case 2:b=v[c>>2];v[c>>2]=b+4;v[a>>2]=v[b>>2];v[a+4>>2]=0;return;case 3:b=v[c>>2]+7&-8;v[c>>2]=b+8;c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;return;case 4:b=v[c>>2];v[c>>2]=b+4;b=u[b>>1];v[a>>2]=b;v[a+4>>2]=b>>31;return;case 5:b=v[c>>2];v[c>>2]=b+4;v[a>>2]=x[b>>1];v[a+4>>2]=0;return;case 6:b=v[c>>2];v[c>>2]=b+4;b=t[b|0];v[a>>2]=b;v[a+4>>2]=b>>31;return;case 7:b=v[c>>2];v[c>>2]=b+4;v[a>>2]=w[b|0];v[a+4>>2]=0;return;case 8:b=v[c>>2]+7&-8;v[c>>2]=b+8;A[a>>3]=A[b>>3];return;case 9:break b;default:break a}}Ub[d|0](a,c)}}function sgb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=v[a+4>>2];if(!e){return 0}d=v[a+12>>2];if(d){v[e+20>>2]=d+v[e+20>>2];v[a+12>>2]=0;v[a+8>>2]=d+v[a+8>>2]}a:{if((b|0)<1){break a}c=v[e+20>>2];h=v[e+16>>2];if(c>>>0>=h>>>0){break a}j=b&1;b:{if((b|0)==1){g=b;break b}i=b&-2;g=b;while(1){c:{if(!(y[e+12>>2]>c>>>0|c>>>0>=h>>>0)){d=c+1|0;v[e+20>>2]=d;c=w[c|0];break c}d=c;c=0}k=(c<<(g<<3)-8)+f|0;g=g-2|0;f=0;d:{if(d>>>0>=h>>>0){c=d;break d}if(y[e+12>>2]>d>>>0){c=d;break d}c=d+1|0;v[e+20>>2]=c;f=w[d|0]}f=((f&255)<<(g<<3))+k|0;i=i-2|0;if(i){continue}break}}if(!j){break a}d=0;if(!(y[e+12>>2]>c>>>0|c>>>0>=h>>>0)){v[e+20>>2]=c+1;d=w[c|0]}f=(d<<(g<<3)-8)+f|0}v[a+8>>2]=v[a+8>>2]+b;return f|0}function XAa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=fc(376);v[299999]=0;g=Q(3555,b|0,a|0)|0;c=v[299999];v[299999]=0;a:{if((c|0)!=1){v[b>>2]=897588;A[b+184>>3]=A[a+184>>3];A[b+192>>3]=A[a+192>>3];A[b+200>>3]=A[a+200>>3];A[b+208>>3]=A[a+208>>3];A[b+216>>3]=A[a+216>>3];A[b+224>>3]=A[a+224>>3];c=v[a+360>>2];v[b+360>>2]=c;b:{if((c|0)>=1){while(1){c=d<<2;e=v[(c+a|0)+232>>2];f=v[v[e>>2]+8>>2];v[299999]=0;e=S(f|0,e|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break b}v[(b+c|0)+232>>2]=e;d=d+1|0;if((d|0)>2]){continue}break}}v[b+364>>2]=v[a+364>>2];v[b+368>>2]=v[a+368>>2];return g|0}d=P()|0;O()|0;v[b>>2]=897548;a=v[b+8>>2];if(!a){break a}Ub[v[v[a>>2]+4>>2]](a);break a}d=P()|0;O()|0}dc(b);T(d|0);L()}function Rr(a,b,c){var d=0,e=0,f=0;a:{if((b|0)<0|(c|0)<0|((c|0)>1024|(b|0)>2147482623)){break a}e=v[a+1040>>2];if((e|0)>(b|0)){break a}f=b+c|0;b:{if((f|0)<=(e+1024|0)){c=e;break b}d=v[a+1044>>2];c=d+e|0;if((c|0)>(b|0)){c=d+(e-b|0)|0;v[a+1044>>2]=c;d=a+16|0;Wd(d,d+(b-e|0)|0,c);v[a+1040>>2]=b;c=b;break b}v[a+1044>>2]=0;v[a+1040>>2]=c;if((b|0)<=(c|0)){break b}while(1){d=0;if((Ub[v[a+4>>2]](v[a+8>>2])|0)<0){break a}c=v[a+1040>>2]+1|0;v[a+1040>>2]=c;if((b|0)>(c|0)){continue}break}}d=1;if((v[a+1044>>2]+c|0)>=(f|0)){break a}while(1){d=0;b=Ub[v[a+4>>2]](v[a+8>>2])|0;if((b|0)<0){break a}d=1;c=v[a+1044>>2];v[a+1044>>2]=c+1;t[(a+c|0)+16|0]=b;if((v[a+1044>>2]+v[a+1040>>2]|0)<(f|0)){continue}break}}return d}function KPa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;if(v[a+128>>2]!=v[b>>2]){f=v[a+268>>2];d=v[a+264>>2];c=f-d|0;a:{if(!c){break a}c=(c|0)/104|0;e=c>>>0>1?c:1;g=e&7;c=0;if(e-1>>>0>=7){e=e&-8;while(1){v[(B(c,104)+d|0)+100>>2]=1;v[(B(c|1,104)+d|0)+100>>2]=1;v[(B(c|2,104)+d|0)+100>>2]=1;v[(B(c|3,104)+d|0)+100>>2]=1;v[(B(c|4,104)+d|0)+100>>2]=1;v[(B(c|5,104)+d|0)+100>>2]=1;v[(B(c|6,104)+d|0)+100>>2]=1;v[(B(c|7,104)+d|0)+100>>2]=1;c=c+8|0;e=e-8|0;if(e){continue}break}}if(!g){break a}while(1){v[(B(c,104)+d|0)+100>>2]=1;c=c+1|0;g=g-1|0;if(g){continue}break}}if((d|0)!=(f|0)){while(1){mg(f-28|0);f=f-104|0;if((f|0)!=(d|0)){continue}break}}v[a+268>>2]=d;ic(a+276|0,255,2228224);v[a+128>>2]=v[b>>2];UG(a)}}function H5(a){a=a|0;var b=0,c=0,d=0,e=0;a:{c=v[a+584>>2];if(c){v[a+672>>2]=v[c+160>>2];v[a+668>>2]=v[c+164>>2];b=v[c+252>>2];if(b){dc(b)}b=v[c+256>>2];if(b){dc(b)}b=v[c+260>>2];if(b){dc(b)}b=v[c+264>>2];if(b){dc(b)}b=v[c+268>>2];if(b){dc(b)}b=v[c+272>>2];if(b){dc(b)}b=v[c+276>>2];if(b){dc(b)}b=v[c+280>>2];if(b){dc(b)}b=v[c+284>>2];if(b){dc(b)}b=v[c+288>>2];if(b){dc(b)}b=v[c+292>>2];if(b){dc(b)}b=v[c+296>>2];if(b){dc(b)}if(w[c+400|0]){d=v[a+584>>2];if(!w[d+400|0]){break a}b=d+536|0;e=v[b+4>>2];if(e){Ub[v[e+40>>2]](b)}v[b+20>>2]=0;v[b+4>>2]=0;t[d+400|0]=0}b=v[c+1084>>2];if(b){dc(b)}b=v[c+1104>>2];if(b){dc(b)}b=v[c+5256>>2];if(b){dc(b)}dc(c);v[a+584>>2]=0;pp(a)}return}X(61687,7087,1196,87546);L()}function isa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=v[a+4>>2];a=w[a+11|0];e=a+7>>>3|0;f=g-e|0;a:{if(!a){break a}d=e>>>0>1?e:1;a=d&3;if(d-1>>>0>=3){d=d&60;while(1){t[b|0]=w[b|0]+(w[c|0]>>>1|0);t[b+1|0]=w[b+1|0]+(w[c+1|0]>>>1|0);t[b+2|0]=w[b+2|0]+(w[c+2|0]>>>1|0);t[b+3|0]=w[b+3|0]+(w[c+3|0]>>>1|0);b=b+4|0;c=c+4|0;d=d-4|0;if(d){continue}break}}if(!a){break a}while(1){t[b|0]=w[b|0]+(w[c|0]>>>1|0);b=b+1|0;c=c+1|0;a=a-1|0;if(a){continue}break}}b:{if(!f){break b}a=0-e|0;if((e+1|0)!=(g|0)){d=f&-2;while(1){t[b|0]=w[b|0]+(w[a+b|0]+w[c|0]>>>1|0);t[b+1|0]=w[b+1|0]+(w[a+(b+1|0)|0]+w[c+1|0]>>>1|0);b=b+2|0;c=c+2|0;d=d-2|0;if(d){continue}break}}if(!(f&1)){break b}t[b|0]=w[b|0]+(w[a+b|0]+w[c|0]>>>1|0)}}function eOa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;v[a+4>>2]=0;if((b|0)!=80){d=v[a>>2];v[d+20>>2]=13;v[d+24>>2]=80;v[v[a>>2]+28>>2]=b;Ub[v[v[a>>2]>>2]](a)}if((c|0)!=432){b=v[a>>2];v[b+20>>2]=22;v[b+24>>2]=432;v[v[a>>2]+28>>2]=c;Ub[v[v[a>>2]>>2]](a)}b=v[a>>2];c=v[a+12>>2];ic(a+4|0,0,428);v[a+16>>2]=0;v[a+12>>2]=c;v[a>>2]=b;f_(a);v[a+84>>2]=0;v[a+88>>2]=0;v[a+8>>2]=0;v[a+92>>2]=0;v[a+96>>2]=0;v[a+100>>2]=0;v[a+120>>2]=0;v[a+124>>2]=0;v[a+112>>2]=100;v[a+116>>2]=100;v[a+104>>2]=100;v[a+108>>2]=100;v[a+128>>2]=0;v[a+132>>2]=0;v[a+136>>2]=0;v[a+140>>2]=0;v[a+144>>2]=0;v[a+148>>2]=0;v[a+424>>2]=0;v[a+384>>2]=63;v[a+380>>2]=70032;v[a+376>>2]=8;v[a+48>>2]=0;v[a+52>>2]=1072693248;v[a+20>>2]=100;v[a+24>>2]=0}function Yoa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Qb-48|0;Qb=d;a:{if(v[b+8>>2]==4){if(v[b+44>>2]<=(c|0)){gD(d+16|0,357673,b+12|0);a=v[d+16>>2];a=v[(a?a+12|0:1129608)>>2];v[299999]=0;a=aa(4369,d+24|0,a|0,241562,384,225793,0)|0;b=v[299999];v[299999]=0;b:{c:{if((b|0)!=1){v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)==1){break c}L()}e=P()|0;O()|0;break b}e=P()|0;O()|0;qc(a)}ec(d+16|0);T(e|0);L()}f=b+40|0;b=v[b+48>>2];if((c|0)>=1){while(1){if(!b){v[d+12>>2]=f;v[d+8>>2]=0;break a}b=v[b>>2];e=e+1|0;if((e|0)!=(c|0)){continue}break}}v[d+12>>2]=f;v[d+8>>2]=b;if(!b){break a}c=v[b+8>>2];if(c){v[c+4>>2]=v[c+4>>2]+1;b=v[b+8>>2]}else{b=0}v[a>>2]=b;Qb=d+48|0;return}Lt(b,4);L()}Ei(d+8|0,f);L()}function XF(a,b){var c=0,d=0;d=Qb-16|0;Qb=d;a:{if(!b){break a}c=Ub[v[259704]](60)|0;if(c){v[c>>2]=0;v[c+4>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c+4>>2]=1;v[c+56>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+36>>2]=0;v[c+8>>2]=b;b:{if(!v[294265]){break b}b=v[294262];if(!b){break b}Ub[b|0](c)}v[c+32>>2]=a;break a}v[d>>2]=283866;oc(0,0,0,0,0,2,2,3,283866,0,0,0,350051,d);if(!a){c=0;break a}a=v[a+80>>2];while(1){if(!a){c=0;break a}c=v[a+16>>2];if(c){while(1){if(!(y[c+4>>2]>>0|c+20>>>0>b>>>0)){c=0;break a}c=v[c>>2];if(c){continue}break}}a=v[a+20>>2];if(a){continue}break}c=0;Ub[v[259708]](b)}Qb=d+16|0;return c}function Cm(a,b,c){var d=0,e=0,f=0,g=0;if(!c){return 0}d=c;while(1){a:{f=d;b:{d=v[b+8>>2];c:{if(d&7){break c}e=v[b+64>>2];if(!((e|0)<0|(e|0)>v[b+60>>2])){v[b+8>>2]=d|4;break c}d=v[b+28>>2];v[b+28>>2]=d-1;if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=v[b+24>>2];v[b+24>>2]=d+1;d=w[d|0];break b}d=Hc(b,1);if((d|0)!=-1){break b}}e=-1;if((c|0)>-1){break a}return v[b+8>>2]<<30>>31}e=-1;g=v[a+8>>2];if(g&7){break a}e=v[a+64>>2];if(!((e|0)<0|(e|0)>v[a+60>>2])){v[a+8>>2]=g|4;return-1}v[a+4>>2]=v[a+4>>2]|32;e=v[a+28>>2];v[a+28>>2]=e-1;d:{if((e|0)>=1){v[a+60>>2]=v[a+60>>2]+1;e=v[a+24>>2];v[a+24>>2]=e+1;t[e|0]=d;break d}e=-1;if((Fc(a,d&255)|0)==-1){break a}}d=f-1|0;e=0;if((c|0)<0|(f|0)>1){continue}}break}return e}function tI(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{if(!b){break a}b:{c:{d:{if(a){d=w[a|0];if(d){break d}break b}a=v[b>>2];if(!a){break a}break c}while(1){if(!af(3801,d<<24>>24)){break c}c=c+1|0;d=w[c+a|0];if(d){continue}break}c=0;break b}d=c;g=a+c|0;f=w[g|0];e:{if(!f){break e}while(1){if(af(3801,f<<24>>24)){break e}d=d+1|0;f=w[d+a|0];if(f){continue}break}}e=d-c|0;f=bd(e+1|0,1);f:{if(!f|(e|0)<1){break f}c=0;while(1){h=w[c+g|0];if(h){t[c+f|0]=h;c=c+1|0;if((e|0)!=(c|0)){continue}break f}break}if((c|0)>=(e|0)){break f}ic(c+f|0,0,e-c|0)}c=0;e=a+d|0;g=t[e|0];if(!g){break b}if(!af(3801,g)){c=e;break b}while(1){d=d+1|0;e=d+a|0;g=t[e|0];if(!g){break b}if(af(3801,g)){continue}break}c=e}v[b>>2]=c}return f}function Wea(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;a:{b:{if((c|0)<1){break b}c=c-1|0;if(!d){while(1){v[a>>2]=v[b>>2];d=a;e=v[b+4>>2];if(e){v[e+4>>2]=v[e+4>>2]+1;e=v[b+4>>2]}else{e=0}v[d+4>>2]=e;v[a+8>>2]=v[b+8>>2];b=b+12|0;a=a+12|0;d=(c|0)>0;c=c-1|0;if(d){continue}break b}}while(1){d=c;v[a>>2]=v[b>>2];c=a;e=v[b+4>>2];if(e){v[e+4>>2]=v[e+4>>2]+1;e=v[b+4>>2]}else{e=0}v[c+4>>2]=e;v[a+8>>2]=v[b+8>>2];c=v[b+4>>2];v[b+4>>2]=0;c:{if(!c){break c}v[299999]=0;e=v[c+4>>2]-1|0;v[c+4>>2]=e;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(e){break c}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}c=d-1|0;b=b+12|0;a=a+12|0;if((d|0)>0){continue}break}}return}W(0)|0;O()|0;lc();L()}function Owa(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;a:{b:{d=v[a+8>>2];if(!d){if((c|0)>=1){break b}return 0}if((c|0)<1){return 0}a=v[d+36>>2];while(1){h=b+f|0;e=v[d+28>>2];if((e|0)<=(a|0)){if(!Fr(d)){break a}e=v[d+28>>2];a=v[d+36>>2]}i=v[d+32>>2]+a|0;g=c-f|0;a=e-a|0;e=(a|0)>(g|0)?g:a;gc(h,i,e);a=e+v[d+36>>2]|0;v[d+36>>2]=a;f=e+f|0;if((f|0)<(c|0)){continue}break}break a}d=v[a+32784>>2];while(1){if(!d){if(v[a+34096>>2]?v[a+34092>>2]:0){break a}Yx(a);d=v[a+32784>>2]}g=v[a+32780>>2];e=32768-g|0;h=c-f|0;d=(d|0)>(h|0)?h:d;e=(d|0)>(e|0)?e:d;gc(b+f|0,(a+g|0)+12|0,e);d=v[a+32784>>2]-e|0;v[a+32784>>2]=d;v[a+32780>>2]=e+v[a+32780>>2]&32767;f=e+f|0;if((f|0)<(c|0)){continue}break}}return f|0}function yz(a){a=a|0;var b=0,c=0,d=0,e=0;v[a>>2]=468332;c=a;b=v[a+8>>2];d=v[a+12>>2];if((b|0)!=(d|0)){while(1){e=v[b>>2];if(e){dc(dX(e));d=v[a+12>>2]}b=b+4|0;if((d|0)!=(b|0)){continue}break}b=v[a+8>>2]}v[c+12>>2]=b;c=v[a+32>>2];if(c){e=c-4|0;b=v[e>>2];if(b){d=B(b,20)+c|0;while(1){b=d-20|0;if(t[d-9|0]<=-1){dc(v[b>>2])}d=b;if((b|0)!=(c|0)){continue}break}}dc(e);v[a+32>>2]=0}a:{if(!v[a+48>>2]){break a}b=v[a+44>>2];d=v[b>>2];c=v[a+40>>2];v[d+4>>2]=v[c+4>>2];v[v[c+4>>2]>>2]=d;v[a+48>>2]=0;c=a+40|0;if((c|0)==(b|0)){break a}while(1){d=v[b+4>>2];if(t[b+19|0]<=-1){dc(v[b+8>>2])}dc(b);b=d;if((c|0)!=(b|0)){continue}break}}if(t[a+31|0]<=-1){dc(v[a+20>>2])}b=v[a+8>>2];if(b){v[a+12>>2]=b;dc(b)}return a|0}function yQ(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,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;l=A[a>>3];j=A[b>>3];q=A[d>>3];i=q*q;r=A[c>>3];p=r*r;k=-l/j*i/p;j=i*(j*j/i+l*l/p)/(j+j);s=(k+k)*j;l=s/i;t=k*k;m=1/p+t/i;u=j*j;n=l*l+m*-4*(u/i+-1);a:{b:{if(!(n<0)){break b}i=u+s*s/((i/p+t)*-4);o=0;if(i<0){break a}i=K(i)/q;if(!(i>1)){break b}A[c>>3]=r*i;k=i*A[d>>3];A[d>>3]=k;i=k*k;l=A[a>>3];j=A[b>>3];k=A[c>>3];m=k*k;k=i*(-l/j)/m;j=i*(j*j/i+l*l/m)/(j+j);l=(k+k)*j/i;m=1/m+k*k/i;n=l*l+m*-4*(j*j/i+-1)}o=0;if(n<-.001){break a}c:{if(n<0){i=-l/(m+m);A[e>>3]=i;break c}i=K(n);m=m+m;A[e>>3]=(i-l)/m;i=(-l-i)/m}A[g>>3]=i;A[f>>3]=j+k*A[e>>3];A[h>>3]=j+k*A[g>>3];o=1}return o|0}function QG(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;v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;d=w[b+11|0];f=d<<24>>24<0;a:{b:{e=f?v[b+4>>2]:d;g=ve(c);d=e+g|0;c:{if(d>>>0>=1073741808){v[299999]=0;R(2530,a|0);b=v[299999];v[299999]=0;if((b|0)==1){break c}L()}i=v[b>>2];d:{if(d>>>0<=1){t[a+11|0]=e;d=a;break d}v[299999]=0;h=d+4&-4;d=S(1,h<<2)|0;j=v[299999];v[299999]=0;if((j|0)==1){break c}v[a>>2]=d;v[a+4>>2]=e;v[a+8>>2]=h|-2147483648}if(e){v[299999]=0;tc(d,f?i:b,e);b=v[299999];v[299999]=0;if((b|0)==1){break a}}v[(e<<2)+d>>2]=0;v[299999]=0;Y(2653,a|0,c|0,g|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break b}}b=P()|0;O()|0;if(t[a+11|0]<=-1){dc(v[a>>2])}T(b|0);L()}return}W(0)|0;O()|0;lc();L()}function z8a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=v[a+428>>2];c=x[b+32>>1];c=c<<8|c>>>8;t[d+8|0]=c;t[d+9|0]=c>>>8;c=x[b+34>>1];c=c<<8|c>>>8;t[d+10|0]=c;t[d+11|0]=c>>>8;f=d+8|0;c=w[b+36|0];a:{if(!(c|w[b+37|0]|(w[b+38|0]|w[b+39|0]))){e=4;break a}t[d+12|0]=c;c=w[b+37|0];if(!(w[b+39|0]|(c|w[b+38|0]))){e=5;break a}t[d+13|0]=c;c=w[b+38|0];e=6;if(!(c|w[b+39|0])){break a}t[d+14|0]=c;e=7;if(!w[b+39|0]){break a}t[d+15|0]=w[b+40|0];c=v[b+44>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+16|0]=c;t[d+17|0]=c>>>8;t[d+18|0]=c>>>16;t[d+19|0]=c>>>24;c=v[b+48>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+20|0]=c;t[d+21|0]=c>>>8;t[d+22|0]=c>>>16;t[d+23|0]=c>>>24;e=16}c=e;return _d(a,v[b>>2],c,f)|0}function tca(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=Qb-16|0;Qb=e;v[e+12>>2]=c;v[a+16>>2]=0;v[a+12>>2]=0;v[a+8>>2]=0;v[a+28>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;a:{if(!w[a+96|0]){break a}d=v[a+32>>2];if(!d){break a}dc(d)}b:{if(!w[a+97|0]){break b}d=v[a+56>>2];if(!d){break b}dc(d)}v[a+52>>2]=c;f=a;c:{d:{e:{if(c>>>0>=9){d=w[a+98|0];if(!(!d|!b)){t[a+96|0]=0;v[a+32>>2]=b;break d}c=fc(c);t[a+96|0]=1;v[a+32>>2]=c;break e}t[a+96|0]=0;v[a+52>>2]=8;v[a+32>>2]=a+44;d=w[a+98|0]}if(d){break d}v[e+8>>2]=8;c=Qb-16|0;Qb=c;Qb=c+16|0;c=e+8|0;d=e+12|0;d=v[(v[d>>2]>2]?c:d)>>2];v[a+60>>2]=d;if(b){c=0;if(d>>>0>7){break c}}b=fc(d);c=1;break c}b=0;v[a+60>>2]=0;c=0}t[f+97|0]=c;v[a+56>>2]=b;Qb=e+16|0;return a|0}function eh(a,b,c){var d=0,e=0;d=Qb-256|0;Qb=d;v[d>>2]=b;v[d+4>>2]=c;zd(d+16|0,209182,d);c=0;while(1){a:{b=v[(c<<5)+199504>>2];if(!Oc(d+16|0,b,Bc(b))){b=c<<5;e=x[b+199508>>1];if(e){v[a+26120>>2]=e}b=x[b+199510>>1];if(b){v[a+26124>>2]=b}b=c<<5;A[d+248>>3]=+u[b+199534>>1]/1e4;A[d+240>>3]=+u[b+199532>>1]/1e4;A[d+232>>3]=+u[b+199530>>1]/1e4;A[d+224>>3]=+u[b+199528>>1]/1e4;A[d+216>>3]=+u[b+199526>>1]/1e4;A[d+208>>3]=+u[b+199524>>1]/1e4;A[d+200>>3]=+u[b+199522>>1]/1e4;A[d+192>>3]=+u[b+199520>>1]/1e4;A[d+184>>3]=+u[b+199518>>1]/1e4;A[d+176>>3]=+u[b+199516>>1]/1e4;A[d+168>>3]=+u[b+199514>>1]/1e4;A[d+160>>3]=+u[b+199512>>1]/1e4;C0(a,d+160|0);break a}c=c+1|0;if((c|0)!=211){continue}}break}Qb=d+256|0}function qs(a,b,c,d){a=a|0;b=+b;c=+c;d=d|0;var e=0,f=0;f=Qb-48|0;Qb=f;e=v[a>>2];a:{if(!d){a=f;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=0;v[a+4>>2]=1072693248;A[a+40>>3]=c;A[a+32>>3]=b;v[a+24>>2]=0;v[a+28>>2]=1072693248;a=fm(a,e);d=v[a+4>>2];v[e>>2]=v[a>>2];v[e+4>>2]=d;d=v[a+44>>2];v[e+40>>2]=v[a+40>>2];v[e+44>>2]=d;d=v[a+36>>2];v[e+32>>2]=v[a+32>>2];v[e+36>>2]=d;d=v[a+28>>2];v[e+24>>2]=v[a+24>>2];v[e+28>>2]=d;d=v[a+20>>2];v[e+16>>2]=v[a+16>>2];v[e+20>>2]=d;d=v[a+12>>2];v[e+8>>2]=v[a+8>>2];v[e+12>>2]=d;break a}a=f;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=0;v[a+4>>2]=1072693248;A[a+40>>3]=c;A[a+32>>3]=b;v[a+24>>2]=0;v[a+28>>2]=1072693248;fm(e,a)}Qb=f+48|0}function jd(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=a>>31|1;h=(b|0)<0?0-d|0:d;g=2147483647;d=c>>31;d=d+c^d;a:{if(!d){break a}b:{e=b;b=b>>31;b=e+b^b;e=a;a=a>>31;a=e+a^a;if(b+a>>>0<=129894-(d>>>17|0)>>>0){a=B(a,b)+(d>>>1|0)|0;break b}i=b>>>16|0;e=a&65535;j=B(i,e);k=a>>>16|0;a=b&65535;b=j+B(k,a)|0;f=b<<16;e=f+B(a,e)|0;a=e+(d>>>1|0)|0;b=(((B(i,k)+(b>>>16|0)|0)+((b>>>0>>0)<<16)|0)+(f>>>0>e>>>0)|0)+(a>>>0>>0)|0;if(!b){break b}if(b>>>0>=d>>>0){break a}f=E(b);e=32-f|0;b=a>>>e|b<>>0)/(d>>>0)|0;b=b-B(d,g)|0;a=a<>>31;b=f-(d>>>0>f>>>0?0:d)|0;g=g<<1|d>>>0<=f>>>0;a=a<<1;e=e-1|0;if(e){continue}break}break a}g=(a>>>0)/(d>>>0)|0}return(((c|0)<0?0-h|0:h)|0)<0?0-g|0:g}function cg(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;h=a+4|0;a:{a=v[a+4>>2];if(a){while(1){f=a+16|0;d=w[a+27|0];g=d<<24>>24<0;e=w[c+11|0];i=e<<24>>24<0;b:{c:{d:{e:{d=g?v[a+20>>2]:d;e=i?v[c+4>>2]:e;j=d>>>0>>0?d:e;if(j){g=od(i?v[c>>2]:c,g?v[f>>2]:f,j);if(g){break e}}if(d>>>0>e>>>0){break d}break c}if((g|0)>-1){break c}}f=v[a>>2];if(f){break b}v[b>>2]=a;return a|0}d=w[c+11|0];g=d<<24>>24<0;e=w[a+27|0];i=e<<24>>24<0;f:{g:{d=g?v[c+4>>2]:d;e=i?v[a+20>>2]:e;j=d>>>0>>0?d:e;if(j){f=od(i?v[f>>2]:f,g?v[c>>2]:c,j);if(f){break g}}if(d>>>0>e>>>0){break f}break a}if((f|0)>-1){break a}}h=a+4|0;f=v[a+4>>2];if(!f){break a}a=h}h=a;a=f;continue}}v[b>>2]=h;return h|0}v[b>>2]=a;return h|0}function YNa(a){a=a|0;var b=0,c=0,d=0;a:{b:{c:{b=v[a+20>>2];switch(b-101|0){case 2:break a;case 0:case 1:break c;default:break b}}if(y[a+260>>2]>2]){b=v[a>>2];v[b+20>>2]=69;Ub[v[b>>2]](a)}Ub[v[v[a+388>>2]+8>>2]](a);break a}c=v[a>>2];v[c+24>>2]=b;v[c+20>>2]=21;Ub[v[v[a>>2]>>2]](a)}b=v[a+388>>2];if(!v[b+16>>2]){while(1){Ub[v[b>>2]](a);b=0;d=v[a+284>>2];if(d){while(1){c=v[a+8>>2];if(c){v[c+8>>2]=d;v[c+4>>2]=b;Ub[v[c>>2]](a)}if(!(Ub[v[v[a+400>>2]+4>>2]](a,0)|0)){c=v[a>>2];v[c+20>>2]=25;Ub[v[c>>2]](a)}b=b+1|0;d=v[a+284>>2];if(b>>>0>>0){continue}break}}Ub[v[v[a+388>>2]+8>>2]](a);b=v[a+388>>2];if(!v[b+16>>2]){continue}break}}Ub[v[v[a+404>>2]+12>>2]](a);Ub[v[v[a+24>>2]+16>>2]](a);zv(a)}function Nra(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=Qb-16|0;Qb=e;f=fc(356);a:{b:{c:{d:{e:{d=v[b>>2];if(d){v[299999]=0;v[d+4>>2]=v[d+4>>2]+1;c=v[299999];v[299999]=0;if((c|0)==1){break e}c=v[b>>2]}v[299999]=0;v[e+8>>2]=c;b=Q(4409,f|0,e+8|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break d}v[e+8>>2]=0;f:{if(!c){break f}v[299999]=0;f=v[c+4>>2]-1|0;v[c+4>>2]=f;d=v[299999];v[299999]=0;if((d|0)==1){break b}if(f){break f}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break b}}v[a>>2]=0;Wc(a,b);v[299999]=0;R(4410,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}b=P()|0;O()|0;ec(a);T(b|0);L()}c=P()|0;O()|0;break c}c=P()|0;O()|0;ec(e+8|0)}dc(f);T(c|0);L()}W(0)|0;O()|0;lc();L()}Qb=e+16|0}function MT(a){a=a|0;var b=0,c=0;v[a>>2]=890308;b=v[a+20>>2];if(b){dc(Dc(b))}a:{b=v[a+24>>2];if(!((b|0)==1040400|!b|(b|0)==1039376)){while(1){b=v[(c<<2)+b>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}c=c+1|0;if((c|0)!=256){b=v[a+24>>2];continue}break}b=v[a+24>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a+328>>2];if(b){v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a+340>>2];if(b){v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a+344>>2];if(!((b|0)==1043792|(b|0)==1043456|(!b|(b|0)==1042992))){v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}}dl(a);return a|0}W(0)|0;O()|0;dl(a);lc();L()}function XM(a){var b=0,c=0,d=0,e=0;d=Qb-16|0;Qb=d;a:{b:{if(!v[(v[v[a>>2]-12>>2]+a|0)+24>>2]){break b}v[299999]=0;c=Q(5467,d+8|0,a|0)|0;b=v[299999];v[299999]=0;c:{if((b|0)!=1){d:{if(!w[c|0]){break d}b=v[(v[v[a>>2]-12>>2]+a|0)+24>>2];v[299999]=0;b=S(5468,b|0)|0;e=v[299999];v[299999]=0;if((e|0)!=1){if((b|0)!=-1){break d}b=v[v[a>>2]-12>>2];v[299999]=0;V(5469,a+b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break d}}b=W(0)|0;O()|0;WM(c);break c}WM(c);break b}b=W(0)|0;O()|0}ea(b|0)|0;c=v[v[a>>2]-12>>2];v[299999]=0;R(5464,a+c|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}ka()}Qb=d+16|0;return}a=P()|0;O()|0;v[299999]=0;ba(4230);c=v[299999];v[299999]=0;if((c|0)!=1){T(a|0);L()}W(0)|0;O()|0;lc();L()}function h2(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=Qb;j=d;e=b+1|0;i=e-c|0;f=i>>1;h=d-((e<<1&-4)+15&-16)|0;Qb=h;if((i|0)>=2){gc(h,a,(f-((f|0)<1?f:1)<<2)+4|0)}g=b-f|0;a:{if((g|0)<1){break a}k=(f^-1)+b|0;d=(f<<2)+a|0;e=(1-c<<2)+a|0;b=b-f&7;if(b){while(1){v[e>>2]=v[d>>2];d=d+4|0;e=e+8|0;g=g-1|0;b=b-1|0;if(b){continue}break}}if(k>>>0<7){break a}while(1){v[e>>2]=v[d>>2];v[e+8>>2]=v[d+4>>2];v[e+16>>2]=v[d+8>>2];v[e+24>>2]=v[d+12>>2];v[e+32>>2]=v[d+16>>2];v[e+40>>2]=v[d+20>>2];v[e+48>>2]=v[d+24>>2];v[e+56>>2]=v[d+28>>2];d=d+32|0;e=e- -64|0;b=(g|0)>8;g=g-8|0;if(b){continue}break}}if((i|0)>=2){d=(c<<2)+a|0;while(1){v[d>>2]=v[h>>2];h=h+4|0;d=d+8|0;a=(f|0)>1;f=f-1|0;if(a){continue}break}}Qb=j}function gI(a){var b=0,c=0;a:{if(!a){break a}c=v[a>>2];if(!c){break a}v[a+44>>2]=0;v[a+48>>2]=0;b=v[a+52>>2];if((b|0)!=(a+72|0)){if(b){Ub[v[c+8>>2]](c,b)}v[a+52>>2]=0}v[a+56>>2]=0;v[a+60>>2]=0;b=v[a- -64>>2];if((b|0)!=(a+864|0)){if(b){Ub[v[c+8>>2]](c,b)}v[a+64>>2]=0}b=a+1392|0;v[b>>2]=0;v[b+4>>2]=0;b=v[a+1400>>2];if((b|0)!=(a+1420|0)){if(b){Ub[v[c+8>>2]](c,b)}v[a+1400>>2]=0}b=a+1404|0;v[b>>2]=0;v[b+4>>2]=0;b=v[a+1412>>2];if((b|0)!=(a+2212|0)){if(b){Ub[v[c+8>>2]](c,b)}v[a+1412>>2]=0}b=v[a+40>>2];if((b|0)!=(a+2760|0)){if(b){Ub[v[c+8>>2]](c,b)}v[a+40>>2]=0}v[a+32>>2]=0;v[a+36>>2]=0;b=v[a+28>>2];if((b|0)!=(a+2792|0)){if(b){Ub[v[c+8>>2]](c,b)}v[a+28>>2]=0}v[a+20>>2]=0;v[a+24>>2]=0;v[a>>2]=0}}function KDa(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;a=ic(a,0,256);d=v[b>>2]+c|0;g=w[d|0];e=w[d+1|0];d=g-e<<3;v[a+4>>2]=d;g=(e+g<<3)-2048|0;v[a>>2]=g;e=v[b+4>>2]+c|0;h=w[e|0];f=w[e+1|0];e=h-f<<3;v[a+36>>2]=e;h=(f+h<<3)-2048|0;v[a+32>>2]=h;f=v[b+8>>2]+c|0;i=w[f|0];j=w[f+1|0];f=i-j<<3;v[a+68>>2]=f;i=(i+j<<3)-2048|0;v[a+64>>2]=i;b=v[b+12>>2]+c|0;c=w[b|0];b=w[b+1|0];j=c-b<<3;k=j+d|0;l=e+f|0;v[a+68>>2]=k-l;v[a+4>>2]=k+l;c=(b+c<<3)-2048|0;b=c+g|0;k=h+i|0;v[a+64>>2]=b-k;v[a>>2]=b+k;e=e-f|0;d=d-j|0;b=B(e+d|0,4433)+4096|0;v[a+100>>2]=b+B(e,-15137)>>13;v[a+36>>2]=b+B(d,6270)>>13;d=h-i|0;c=g-c|0;b=B(d+c|0,4433)+4096|0;v[a+96>>2]=b+B(d,-15137)>>13;v[a+32>>2]=b+B(c,6270)>>13}function Gt(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=Qb-16|0;Qb=e;g=a+28|0;Xd(g,0,1);v[a+20>>2]=0;Xd(a+40|0,0,1);Xd(a+52|0,0,4);u[a+16>>1]=2;v[a+60>>2]=0;f=c+d|0;u[a+14>>1]=f;u[a+12>>1]=d;u[a+10>>1]=c;u[a+8>>1]=b;c=e+8|0;f=f&65535;d=d&65535;oD(c,f+d|0);v[299999]=0;Q(4344,a+68|0,c|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){c=v[e+8>>2];v[e+8>>2]=0;a:{b:{if(!c){break b}v[299999]=0;h=v[c+4>>2]-1|0;v[c+4>>2]=h;i=v[299999];v[299999]=0;if((i|0)==1){break a}if(h){break b}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}b=d+B(f,b&65535)|0;if(b){Xd(g,b,1);Ah(g,1,0);v[a+20>>2]=v[a+24>>2]}Qb=e+16|0;return}W(0)|0;O()|0;lc();L()}a=P()|0;O()|0;ec(e+8|0);T(a|0);L()}function dba(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;a=Qb-96|0;Qb=a;u[a+92>>1]=w[1016107]|w[1016108]<<8;v[a+88>>2]=w[1016103]|w[1016104]<<8|(w[1016105]<<16|w[1016106]<<24);h=pg();v[a>>2]=e;f=a- -64|0;i=Mh(f,20,h,a+88|0,a);e=i+f|0;h=hj(f,e,c);g=a+8|0;f=v[c+28>>2];v[g>>2]=f;v[f+4>>2]=v[f+4>>2]+1;v[299999]=0;g=S(5533,g|0)|0;f=v[299999];v[299999]=0;if((f|0)!=1){f=v[a+8>>2];j=v[f+4>>2]-1|0;v[f+4>>2]=j;if((j|0)==-1){Ub[v[v[f>>2]+8>>2]](f)}f=a+16|0;Ub[v[v[g>>2]+32>>2]](g,a- -64|0,e,f)|0;g=b;b=f+i|0;b=Vq(g,f,(e|0)==(h|0)?b:(a+(h-a|0)|0)-48|0,b,c,d);Qb=a+96|0;return b|0}c=P()|0;O()|0;a=v[a+8>>2];b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}T(c|0);L()}function _Xa(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;h=Qb-16|0;Qb=h;g=v[a+532>>2];d=6;a:{if(!g){break a}Qz(v[g+136>>2],h,v[g+4>>2]);k=v[g+4>>2];i=b>>>0>k>>>0?k:b;if(i){while(1){n=j<<2;l=v[n+h>>2];d=B(j,12)+g|0;e=v[d+96>>2];b:{if((l|0)>v[e>>2]){a=1;f=w[d+88|0];if(f>>>0>1){while(1){m=a<<2;o=v[m+e>>2];if((l|0)<=(o|0)){d=v[d+92>>2];f=m-4|0;a=v[d+f>>2];d=v[d+m>>2];e=v[e+f>>2];a=B(ad(l-e|0,o-e|0),d-a|0)+(a<<16)|0;break b}a=a+1|0;if((f|0)!=(a|0)){continue}break}}a=v[(v[d+92>>2]+(f<<2)|0)-4>>2]<<16;break b}a=v[v[d+92>>2]>>2]<<16}v[c+n>>2]=a;j=j+1|0;if((i|0)!=(j|0)){continue}break}}d=0;if(b>>>0<=k>>>0){break a}ic((i<<2)+c|0,0,b-i<<2);d=0}Qb=h+16|0;return d|0}function UUa(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;a:{b:{g=v[a+660>>2];c:{d:{if(!g){g=fc(40);v[299999]=0;v[g+4>>2]=1;v[g>>2]=459556;h=v[299999];v[299999]=0;if((h|0)!=1){v[g>>2]=457824;v[299999]=0;h=g+8|0;v[h+12>>2]=0;v[h+16>>2]=0;v[h+4>>2]=1;v[h+8>>2]=8;v[h>>2]=466676;v[h+20>>2]=0;v[h+24>>2]=0;t[h+28|0]=0;i=v[299999];v[299999]=0;if((i|0)==1){break b}v[299999]=0;V(2171,h|0,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break d}a=P()|0;O()|0;sj(h);break a}a=P()|0;O()|0;break a}g=Ub[v[v[g>>2]+20>>2]](g,b)|0;if(!g){break c}}b=Ub[v[v[g>>2]+16>>2]](g)|0;tY(v[a+16>>2],b,A[c>>3],A[d>>3],A[e>>3],A[f>>3]);Ub[v[v[g>>2]+12>>2]](g)|0}return 0}a=P()|0;O()|0}dc(g);T(a|0);L()}function J8a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if(w[b+32|0]){return _d(a,v[b>>2],0,0)|0}c=v[a+428>>2];e=c+8|0;a:{b:{switch(w[b+33|0]){case 0:t[e|0]=w[b+34|0];d=1;break a;case 2:t[c+8|0]=w[b+34|0];t[c+9|0]=w[b+35|0];t[c+10|0]=w[b+36|0];d=3;break a;case 3:t[e|0]=w[b+34|0];t[e|0]=w[b+35|0];t[e|0]=w[b+36|0];d=3;break a;case 4:t[c+8|0]=w[b+34|0];t[c+9|0]=w[b+35|0];d=2;break a;case 10:t[e|0]=w[b+34|0];d=1;break a;case 12:t[c+8|0]=w[b+34|0];t[c+9|0]=w[b+35|0];t[c+10|0]=w[b+36|0];d=3;break a;case 14:t[c+8|0]=w[b+34|0];t[c+9|0]=w[b+35|0];d=2;break a;case 6:case 16:break b;default:break a}}t[c+8|0]=w[b+34|0];t[c+9|0]=w[b+35|0];t[c+10|0]=w[b+36|0];t[c+11|0]=w[b+37|0];d=4}return _d(a,v[b>>2],d,e)|0}function Ez(a,b,c){a=a|0;b=+b;c=c|0;var d=0,e=0,f=0;f=Qb-48|0;Qb=f;d=v[a>>2];a:{if(!c){a=f;v[a+40>>2]=0;v[a+44>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;b=b*3.141592653589793/180;e=Ve(b);A[a+24>>3]=e;b=Ee(b);A[a+8>>3]=b;A[a>>3]=e;A[a+16>>3]=-b;a=fm(a,d);c=v[a+4>>2];v[d>>2]=v[a>>2];v[d+4>>2]=c;c=v[a+44>>2];v[d+40>>2]=v[a+40>>2];v[d+44>>2]=c;c=v[a+36>>2];v[d+32>>2]=v[a+32>>2];v[d+36>>2]=c;c=v[a+28>>2];v[d+24>>2]=v[a+24>>2];v[d+28>>2]=c;c=v[a+20>>2];v[d+16>>2]=v[a+16>>2];v[d+20>>2]=c;c=v[a+12>>2];v[d+8>>2]=v[a+8>>2];v[d+12>>2]=c;break a}a=f;v[a+40>>2]=0;v[a+44>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;b=b*3.141592653589793/180;e=Ve(b);A[a+24>>3]=e;b=Ee(b);A[a+8>>3]=b;A[a>>3]=e;A[a+16>>3]=-b;fm(d,a)}Qb=f+48|0}function zo(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(c-v[a+52>>2]|b-v[a+48>>2]){a:{if(!(v[a+56>>2]|v[a+60>>2])){break a}j=a;if(x[a+12>>1]&4095){d=a+20|0}else{e=v[a>>2];if(e>>>0>1023){break a}f=v[a+8>>2];if(f>>>0>=e>>>0){h=v[a+4>>2];b:{if(h>>>0>e>>>0){g=v[a+16>>2];break b}d=h+256|0;g=fc((d&1073741823)!=(d|0)?-1:d<<2);i=v[a+16>>2];if(i){gc(g,i,h<<2);dc(i);d=v[a+4>>2]+256|0;f=v[a+8>>2];e=v[a>>2]}v[a+4>>2]=d;v[a+16>>2]=g}d=fc(65536);v[a>>2]=e+1;v[(e<<2)+g>>2]=d}v[a+8>>2]=f+1;d=v[a+16>>2]+(f<<2)|0}d=v[d>>2];v[j+20>>2]=d+16;e=v[a+60>>2];v[d+8>>2]=v[a+56>>2];v[d+12>>2]=e;e=v[a+52>>2];v[d>>2]=v[a+48>>2];v[d+4>>2]=e;v[a+12>>2]=v[a+12>>2]+1}v[a+56>>2]=0;v[a+60>>2]=0;v[a+52>>2]=c;v[a+48>>2]=b}}function w7a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if(v[c>>2]!=1767135348){pc(a,2050,0,0);return 2050}e=v[c+32>>2];v[b+32>>2]=e;t[b+40|0]=w[c+40|0];t[b+41|0]=w[c+41|0];v[b+44>>2]=v[c+44>>2];v[b+52>>2]=v[c+52>>2];d=v[c+60>>2];v[b+60>>2]=d;a:{if(e){d=Ub[v[a+152>>2]](e)|0;v[b+36>>2]=d;if(!d){break a}gc(d,v[c+36>>2],v[b+32>>2]);d=v[b+60>>2]}b:{if(!d){break b}d=Ub[v[a+152>>2]](v[b+44>>2])|0;v[b+48>>2]=d;if(!d){break a}gc(d,v[c+48>>2],v[b+44>>2]);if(!v[b+60>>2]){break b}d=Ub[v[a+152>>2]](v[b+52>>2])|0;v[b+56>>2]=d;if(!d){break a}gc(d,v[c+56>>2],v[b+52>>2]);d=v[b+60>>2];if(!d){break b}d=Ub[v[a+152>>2]](d)|0;v[b+64>>2]=d;if(!d){break a}gc(d,v[c+64>>2],v[b+60>>2])}return 0}pc(a,1,0,0);return 1}function oQ(a,b){var c=0,d=0;v[a>>2]=981452;v[a+4>>2]=0;v[299999]=0;c=S(1,52)|0;d=v[299999];v[299999]=0;a:{if((d|0)!=1){v[c+48>>2]=4399;v[c+44>>2]=4400;v[c+40>>2]=4400;v[c+36>>2]=4401;v[c+32>>2]=4402;v[c+28>>2]=1;v[c+20>>2]=0;v[c+24>>2]=-1;v[c+12>>2]=0;v[c+16>>2]=-1;v[c>>2]=981392;v[c+4>>2]=0;v[c+8>>2]=0;v[299999]=0;U(4403,c|0,0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}v[c+4>>2]=v[c+4>>2]+1;b=v[a+4>>2];b:{if(!b){break b}d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(d){break b}Ub[v[v[b>>2]+4>>2]](b)}v[a+4>>2]=c;return a}b=P()|0;O()|0;v[a>>2]=981312;T(b|0);L()}d=P()|0;O()|0;dc(c);v[a>>2]=981312;b=v[a+4>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Ub[v[v[b>>2]+4>>2]](b)}v[a+4>>2]=0}T(d|0);L()}function Lu(a,b){var c=0,d=0,e=0,f=0,g=0;f=Qb-16|0;Qb=f;a:{if(!b){break a}c=Ub[v[259704]](48)|0;if(!c){v[f>>2]=276394;oc(0,0,0,0,0,2,2,3,276394,0,0,0,350051,f);c=0;break a}v[c>>2]=0;v[c+4>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c+4>>2]=2;e=b;b:{c:{if(!a){break c}d=v[a+80>>2];if(!d){break c}e=Rd(d,b,-1);break b}while(1){d=e;e=d+1|0;if(w[d|0]){continue}break}e=0;d=d-b|0;if((d|0)<0){break b}g=Ub[v[259707]](d+1|0)|0;if(!g){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break b}e=gc(g,b,d);t[d+e|0]=0}v[c+32>>2]=a;v[c+8>>2]=e;if(!v[294265]){break a}a=v[294262];if(!a){break a}Ub[a|0](c)}Qb=f+16|0;return c}function sab(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,j=0,k=0,l=0,m=0;if(e){l=e-1|0;while(1){u[g>>1]=x[f>>1];u[g+2>>1]=x[f+2>>1];u[g+4>>1]=x[f+4>>1];u[g+6>>1]=x[f+6>>1];a=g+8|0;i=k?(k|0)==(l|0)?d:b:c;j=a;a:{if(i>>>0<2){break a}h=i-1|0;m=h&1;b:{if((i|0)==2){h=a;break b}i=h&-2;while(1){u[a>>1]=x[f>>1];u[g+10>>1]=x[f+2>>1];u[g+12>>1]=x[f+4>>1];u[g+14>>1]=x[f+6>>1];u[a+8>>1]=x[f>>1];u[a+10>>1]=x[f+2>>1];u[a+12>>1]=x[f+4>>1];u[a+14>>1]=x[f+6>>1];g=a+8|0;h=a+16|0;a=h;i=i-2|0;if(i){continue}break}}j=h;if(!m){break a}u[h>>1]=x[f>>1];u[g+10>>1]=x[f+2>>1];u[g+12>>1]=x[f+4>>1];u[g+14>>1]=x[f+6>>1];j=h+8|0}g=j;f=f+8|0;k=k+1|0;if((k|0)!=(e|0)){continue}break}}return 0}function p4a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;d=v[b>>2];if(y[d+16>>2]>c>>>0){b=v[d+140>>2];f=x[b+96>>1];e=v[b+56>>2];if(c){b=c-1|0}else{b=v[d+148>>2]}b=e+B(b,36)|0;g=x[b+10>>1];c=u[b+20>>1];e=u[b+16>>1];h=v[b+24>>2];i=x[b+14>>1];j=x[b+12>>1];v[a+84>>2]=v[b+28>>2];v[a+80>>2]=j;v[a+76>>2]=i;ZH(a,h);a:{b:{switch(f-1|0){case 0:t[a+94|0]=1;break a;case 1:t[a+94|0]=3;break a;case 3:t[a+94|0]=4;break a;case 7:break b;default:break a}}u[a+92>>1]=256;t[a+94|0]=2}v[a+104>>2]=c;v[a+100>>2]=e;v[a+72>>2]=1651078259;v[a+40>>2]=g<<6;v[a+36>>2]=c<<6;v[a+32>>2]=e<<6;v[a+24>>2]=v[a+80>>2]<<6;v[a+28>>2]=v[a+76>>2]<<6;zs(a+24|0,x[v[d+140>>2]+6>>1]<<6);a=0}else{a=6}return a|0}function Whb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;b=-1;a:{if(Gg(c,v[a+12>>2])){break a}if(Ih(c,v[a+16>>2])){break a}e=v[c+8>>2];if(e&7){break a}d=w[a+20|0];b=v[c+64>>2];if(!((b|0)<0|(b|0)>v[c+60>>2])){v[c+8>>2]=e|4;return-1}v[c+4>>2]=v[c+4>>2]|32;b=-1;e=v[c+28>>2];v[c+28>>2]=e-1;b:{if((e|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=v[c+24>>2];v[c+24>>2]=b+1;t[b|0]=d;break b}if((Fc(c,d)|0)==-1){break a}}b=-1;d=v[c+8>>2];if(d&7){break a}a=w[a+21|0];b=v[c+64>>2];if(!((b|0)<0|(b|0)>v[c+60>>2])){v[c+8>>2]=d|4;return-1}v[c+4>>2]=v[c+4>>2]|32;b=-1;d=v[c+28>>2];v[c+28>>2]=d-1;c:{if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=v[c+24>>2];v[c+24>>2]=b+1;t[b|0]=a;break c}if((Fc(c,a)|0)==-1){break a}}b=0}return b|0}function NAa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=fc(328);v[299999]=0;g=Q(3555,c|0,a|0)|0;b=v[299999];v[299999]=0;a:{if((b|0)!=1){v[c>>2]=897648;b=v[a+184>>2];v[c+184>>2]=b;v[299999]=0;b=Q(3364,b|0,1280)|0;d=v[299999];v[299999]=0;if((d|0)!=1){v[c+180>>2]=b;gc(b,v[a+180>>2],B(v[c+184>>2],1280));v[c+316>>2]=v[a+316>>2];b=v[a+320>>2];v[c+320>>2]=b;b:{if((b|0)>=1){b=0;while(1){d=b<<2;e=v[(d+a|0)+188>>2];f=v[v[e>>2]+8>>2];v[299999]=0;e=S(f|0,e|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break b}v[(c+d|0)+188>>2]=e;b=b+1|0;if((b|0)>2]){continue}break}}return g|0}}b=P()|0;O()|0;v[c>>2]=897548;a=v[c+8>>2];if(!a){break a}Ub[v[v[a>>2]+4>>2]](a);break a}b=P()|0;O()|0}dc(c);T(b|0);L()}function wO(a,b,c){var d=0;d=Qb-32|0;Qb=d;v[299999]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+20>>2]=0;v[d+16>>2]=990592;U(5159,d+8|0,d+16|0,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){v[d+16>>2]=990496;b=v[d+28>>2];if(b){t[b|0]=0;dc(v[d+28>>2])}v[d+28>>2]=0;Qc(d+16|0);a:{b=v[d+8>>2];b:{if(b){c=v[c>>2];v[299999]=0;U(5161,a|0,b|0,c|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}a=v[d+8>>2];v[d+8>>2]=0;if(!a){break b}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break b}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}}W(0)|0;O()|0;lc();L()}v[a>>2]=0}Qb=d+32|0;return}a=P()|0;O()|0;ec(d+8|0);T(a|0);L()}a=P()|0;O()|0;Ag(d+16|0);T(a|0);L()}function uXa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=Qb-32|0;Qb=c;e=v[b+96>>2];a:{if((e|0)<0|v[a+300>>2]<=(e|0)){break a}g=v[a+304>>2];if((Ub[v[b+52>>2]](b,6,c,3)|0)<6){break a}d=v[c+12>>2];if(!d){break a}f=d>>31;d=f^d+f;if((d|0)!=65536){h=a,i=ad(1e3,d),u[h+68>>1]=i;h=c,i=ad(v[c>>2],d),v[h>>2]=i;h=c,i=ad(v[c+4>>2],d),v[h+4>>2]=i;h=c,i=ad(v[c+8>>2],d),v[h+8>>2]=i;h=c,i=ad(v[c+16>>2],d),v[h+16>>2]=i;h=c,i=ad(v[c+20>>2],d),v[h+20>>2]=i;v[c+12>>2]=v[c+12>>2]<0?-65536:65536}a=B(e,252)+g|0;d=a+216|0;v[d>>2]=v[c>>2];v[a+224>>2]=v[c+4>>2];v[a+220>>2]=v[c+8>>2];v[a+228>>2]=v[c+12>>2];if(!iA(d)){v[b+12>>2]=3;break a}v[a+232>>2]=v[c+16>>2]>>16;v[a+236>>2]=v[c+20>>2]>>16}Qb=c+32|0}function qi(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{if((a|0)<1|(b|0)<1){break a}g=bd(1,24);if(!g){break a}v[g+4>>2]=b;v[g>>2]=a;i=bd(a,4);if(!i){break a}b:{while(1){c:{j=bd(b,4);v[(h<<2)+i>>2]=j;if(!j){break c}h=h+1|0;if((h|0)!=(a|0)){continue}break b}break}return 0}v[g+12>>2]=d;v[g+8>>2]=c;v[g+16>>2]=i;h=b&-8;j=b&7;d=0;k=b-1>>>0<7;while(1){e=v[(d<<2)+i>>2];b=0;c=h;if(!k){while(1){f=b<<2;v[f+e>>2]=1;v[(f|4)+e>>2]=1;v[(f|8)+e>>2]=1;v[(f|12)+e>>2]=1;v[(f|16)+e>>2]=1;v[(f|20)+e>>2]=1;v[(f|24)+e>>2]=1;v[(f|28)+e>>2]=1;b=b+8|0;c=c-8|0;if(c){continue}break}}c=j;if(c){while(1){v[(b<<2)+e>>2]=1;b=b+1|0;c=c-1|0;if(c){continue}break}}d=d+1|0;if((d|0)!=(a|0)){continue}break}h=g}return h}function o9(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=Qb-80|0;Qb=d;e=v[a+584>>2];a:{b:{switch(b-65560|0){case 0:b=e;e=v[c>>2];v[b>>2]=e;b=3;c=32;c:{d:{switch(e|0){case 2:b=1;v[d+48>>2]=1;Id(a,277,d+48|0);break c;case 3:b=1;c=8;break c;default:b=v[a>>2];a=v[a+628>>2];v[d>>2]=e;zc(a,b,46080,d);b=0;break a;case 0:break c;case 1:break d}}b=2;c=16}v[d+32>>2]=c;Id(a,258,d+32|0);v[d+16>>2]=b;Id(a,339,d+16|0);b=a;if(w[a+13|0]&4){c=Uk(a)}else{c=-1}v[b+508>>2]=c;f=a,g=Di(a),v[f+588>>2]=g;b=1;break a;case 1:c=v[c>>2];v[e+4>>2]=c;b=1;if(c>>>0<2){break a}b=v[a>>2];a=v[a+628>>2];v[d+64>>2]=c;zc(a,b,46727,d- -64|0);b=0;break a;default:break b}}b=Ub[v[e+28>>2]](a,b,c)|0}Qb=d+80|0;return b|0}function QR(a){a=a|0;var b=0,c=0;v[a>>2]=967336;b=v[a+3480>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;a:{if((b|0)==1){break a}v[a+3480>>2]=0;b=v[a+3484>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}v[a+3484>>2]=0;b=v[a+3488>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}v[a+3488>>2]=0;b=v[a+3492>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}v[a+3492>>2]=0;b=v[a+3468>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}v[a+3468>>2]=0;b=v[a+4>>2];c=v[v[b>>2]+24>>2];v[299999]=0;R(c|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+4>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}return a|0}W(0)|0;O()|0;lc();L()}function Vka(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=Qb-32|0;Qb=e;a:{b:{if((a|0)!=(b|0)){Gt(a,x[b+8>>1],x[b+10>>1],c);u[a+16>>1]=x[b+16>>1];if(!x[a+8>>1]){break b}f=v[a+24>>2]+x[a+12>>1]|0;c=0;while(1){c:{if(v[b+20>>2]){break c}d=v[b+36>>2];if(!d){break c}Nm(b,d)}d:{if(x[b+8>>1]<=c>>>0){d=x[b+12>>1];if(v[282398]<(d+x[b+14>>1]|0)){a=vc(e+8|0,260231,271771,592,225838,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}b=P()|0;O()|0;qc(a);T(b|0);L()}d=d+v[282397]|0;break d}d=v[b+20>>2]+(x[b+12>>1]+B(x[b+14>>1],c)|0)|0}f=gc(f,d,x[a+10>>1])+x[a+14>>1]|0;c=c+1|0;if(c>>>0>1]){continue}break}break b}if(x[a+12>>1]>=(c|0)){break b}nD(a,c)}Qb=e+32|0;return}L()}function Pj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Qb-48|0;Qb=d;a=v[a>>2];a:{if(!c){b=v[b>>2];c=v[b+44>>2];v[d+40>>2]=v[b+40>>2];v[d+44>>2]=c;c=v[b+36>>2];v[d+32>>2]=v[b+32>>2];v[d+36>>2]=c;c=v[b+28>>2];v[d+24>>2]=v[b+24>>2];v[d+28>>2]=c;c=v[b+20>>2];v[d+16>>2]=v[b+16>>2];v[d+20>>2]=c;c=v[b+12>>2];v[d+8>>2]=v[b+8>>2];v[d+12>>2]=c;c=v[b+4>>2];v[d>>2]=v[b>>2];v[d+4>>2]=c;b=fm(d,a);c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;c=v[b+44>>2];v[a+40>>2]=v[b+40>>2];v[a+44>>2]=c;c=v[b+36>>2];v[a+32>>2]=v[b+32>>2];v[a+36>>2]=c;c=v[b+28>>2];v[a+24>>2]=v[b+24>>2];v[a+28>>2]=c;c=v[b+20>>2];v[a+16>>2]=v[b+16>>2];v[a+20>>2]=c;c=v[b+12>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=c;break a}fm(a,v[b>>2])}Qb=d+48|0}function d0(a){var b=0,c=0,d=0,e=0,f=0,g=0;e=Qb-16|0;Qb=e;a:{if(!a){break a}c=v[a+8>>2];b=c-1|0;if(b>>>0>31|!(1<>2];if((f|0)<1){break a}g=v[a+4>>2];if((g|0)<1){break a}b=bd(1,44);if(!b){break a}v[b+16>>2]=1;v[b+8>>2]=c;v[b+4>>2]=g;v[b>>2]=f;c=(B(c,f)+31|0)/32|0;v[b+12>>2]=c;c=Ub[v[259693]](B(c,g)<<2)|0;if(!c){break a}v[b+40>>2]=c;Gs(b);if((a|0)==(b|0)){d=a;break a}v[b+20>>2]=v[a+20>>2];v[b+24>>2]=v[a+24>>2];d=v[b+36>>2];v[e+8>>2]=d;if(d){on(e+8|0);v[b+36>>2]=0}d=v[a+36>>2];b:{if(!d){break b}d=uI(d);if(!d){break b}c=v[b+36>>2];v[e+12>>2]=c;if(c){on(e+12|0)}v[b+36>>2]=d}d=v[a+32>>2];c=b+32|0;if(c){VK(c,d)}v[b+28>>2]=v[a+28>>2];d=b}Qb=e+16|0;return d}function M1(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=w[a+432|0];if(!(w[a+344|0]|(w[a+496|0]|w[a+476|0]?e:0))){return 0}a:{c=v[b+32>>2];b:{if(!c){c=v[b+12>>2];if(!c){break a}while(1){if(v[c>>2]==712&w[c+28|0]==w[b+28|0]){break b}c=v[c+12>>2];if(c){continue}break}break a}if(w[c+28|0]!=w[b+28|0]){break a}}v[b+32>>2]=c;b=v[c+56>>2];d=b-1|0;if(d>>>0<=2147483645){v[c+56>>2]=d;b=d}c:{if(!(!w[a+344|0]|e|b>>>0<2147483647)){v[a+456>>2]=2147483647;v[a+448>>2]=2147483647;v[a+452>>2]=2147483647;break c}if(!b){if(v[a+696>>2]!=(c|0)){break c}t[a+305|0]=0;break c}if(v[a+516>>2]){v[a+516>>2]=c;break c}v[a+516>>2]=v[c+8>>2]}if(!(v[c+32>>2]|!w[a+460|0])){t[a+460|0]=0}return 0}pc(a,1069,0,0);return 1069}function t8a(a,b){a=a|0;b=b|0;var c=0,d=0;d=v[a+428>>2];c=x[b+32>>1];c=c<<8|c>>>8;t[d+8|0]=c;t[d+9|0]=c>>>8;c=x[b+34>>1];c=c<<8|c>>>8;t[d+10|0]=c;t[d+11|0]=c>>>8;t[d+12|0]=w[b+36|0];c=v[b+40>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+13|0]=c;t[d+14|0]=c>>>8;t[d+15|0]=c>>>16;t[d+16|0]=c>>>24;c=v[b+44>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+17|0]=c;t[d+18|0]=c>>>8;t[d+19|0]=c>>>16;t[d+20|0]=c>>>24;c=v[b+48>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+21|0]=c;t[d+22|0]=c>>>8;t[d+23|0]=c>>>16;t[d+24|0]=c>>>24;c=v[b+52>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+25|0]=c;t[d+26|0]=c>>>8;t[d+27|0]=c>>>16;t[d+28|0]=c>>>24;return _d(a,v[b>>2],21,d+8|0)|0}function hca(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;e=Qb-32|0;Qb=e;a:{if((c|0)!=0&(c|0)!=1005744&(c|0)!=1005768){while(1){if(a>>>d&1){i=(d<<2)+c|0,j=YC(d,b),v[i>>2]=j}d=d+1|0;if((d|0)!=6){continue}break}break a}while(1){h=(e+8|0)+(d<<2)|0;f=1<>2]}v[h>>2]=f;g=((f|0)!=0)+g|0;d=d+1|0;if((d|0)!=6){continue}break}c=1005744;b:{c:{switch(g|0){case 0:break a;case 1:break c;default:break b}}if(v[e+8>>2]!=1005716){break b}c=1005768;break a}c=jc(24);if(!c){break a}a=v[e+12>>2];v[c>>2]=v[e+8>>2];v[c+4>>2]=a;a=v[e+28>>2];v[c+16>>2]=v[e+24>>2];v[c+20>>2]=a;a=v[e+20>>2];v[c+8>>2]=v[e+16>>2];v[c+12>>2]=a}Qb=e+32|0;return c|0}function Sk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=Qb-16|0;Qb=c;Bi(c+8|0,a,0);v[299999]=0;U(4713,c|0,b|0,0);a=v[299999];v[299999]=0;a:{if((a|0)!=1){a=v[c>>2];e=v[(a?a+12|0:1129608)>>2];a=v[c+8>>2];f=v[(a?a+12|0:1129608)>>2];while(1){g=d+f|0;a=w[g|0];if(!(!(!a|(a|0)==63)&(a|0)!=35)){b=0;while(1){h=b+e|0;a=w[h|0];if(!a|(a|0)==35|(a|0)==63){break a}b=b+1|0;continue}}d=d+1|0;continue}}a=P()|0;O()|0;ec(c+8|0);T(a|0);L()}b:{if((b|0)==(d|0)){a=0;if(mc(g,h)){break b}a=!Oc(f,e,d);break b}if(!((b+1|0)!=(d|0)|w[b+f|0]!=47)){a=0;if(mc(g,h)){break b}a=!Oc(f,e,b);break b}a=0;if((d+1|0)!=(b|0)|w[d+e|0]!=47){break b}if(mc(g,h)){break b}a=!Oc(f,e,d)}ec(c);ec(c+8|0);Qb=c+16|0;return a|0}function xua(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;v[a+8>>2]=0;v[a>>2]=0;v[a+4>>2]=0;e=a+16|0;d=e;v[d>>2]=0;v[d+4>>2]=0;f=a+32|0;d=f;v[d>>2]=0;v[d+4>>2]=0;v[a+12>>2]=e;v[a+28>>2]=d;v[299999]=0;d=S(3084,a+40|0)|0;c=v[299999];v[299999]=0;e=a+28|0;a:{if((c|0)!=1){c=a+48|0;v[c>>2]=0;v[c+4>>2]=0;g=a+44|0;v[g>>2]=c;v[299999]=0;c=Qb-16|0;Qb=c;Qb=c+16|0;c=v[299999];v[299999]=0;if((c|0)==1){b=P()|0;O()|0;Fp(g,v[a+48>>2]);c=v[d>>2];if(c){Ub[v[v[c>>2]+4>>2]](c);v[d>>2]=0}break a}v[a+56>>2]=b;b=a- -64|0;v[b>>2]=0;v[b+4>>2]=0;v[a+60>>2]=b;Ep(e,v[a+32>>2]);v[a+28>>2]=f;v[a+32>>2]=0;v[a+36>>2]=0;v[a+24>>2]=0;return a|0}b=P()|0;O()|0}Ep(e,v[a+32>>2]);gq(a+12|0,v[a+16>>2]);RQ(a);T(b|0);L()}function uO(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;e=Qb-16|0;Qb=e;v[a>>2]=0;a:{b:{c:{d:{if((c|0)<=-1){c=Bc(v[b+12>>2])}if((c|0)>=1){d=v[v[b>>2]+8>>2];v[299999]=0;U(d|0,e+8|0,b|0,c|0);d=v[299999];v[299999]=0;if((d|0)==1){break d}v[299999]=0;Q(4344,a|0,e+8|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break c}d=v[e+8>>2];v[e+8>>2]=0;e:{if(!d){break e}v[299999]=0;f=v[d+4>>2]-1|0;v[d+4>>2]=f;g=v[299999];v[299999]=0;if((g|0)==1){break a}if(f){break e}v[299999]=0;R(4338,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break a}}h=Xc(v[v[a>>2]+12>>2],v[b+12>>2],c)+c|0,i=0,t[h|0]=i}Qb=e+16|0;return}c=P()|0;O()|0;break b}c=P()|0;O()|0;ec(e+8|0)}ec(a);T(c|0);L()}W(0)|0;O()|0;lc();L()}function cF(a){var b=0,c=0,d=0,e=0;b=fc(16);v[299999]=0;e=S(3315,b|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){a:{b=v[a>>2];if((b|0)>=1){while(1){b:{if((b|0)<=(d|0)){break b}while(1){c=t[v[a+4>>2]+d|0];if(c>>>0<=255){c=w[c+937984|0]==1}else{c=0}if(!c){b=v[a>>2];break b}b=v[a>>2];d=d+1|0;if((b|0)>(d|0)){continue}break}}if((b|0)>(d|0)){c=d+1|0;c:{if((c|0)>=(b|0)){break c}while(1){b=t[v[a+4>>2]+c|0];if(b>>>0<=255){b=w[b+937984|0]==1}else{b=0}if(b){break c}c=c+1|0;if((c|0)>2]){continue}break}}b=fc(8);v[299999]=0;Z(3318,b|0,a|0,d|0,c-d|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break a}Tc(e,b);b=v[a>>2];d=c}if((b|0)>(d|0)){continue}break}}return e}}a=P()|0;O()|0;dc(b);T(a|0);L()}function Sua(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=Qb-32|0;Qb=e;f=e+16|0;Ub[v[v[a>>2]+12>>2]](f,a,b);v[299999]=0;S(2734,f|0)|0;a=v[299999];v[299999]=0;a:{b:{c:{if((a|0)!=1){v[299999]=0;v[e+12>>2]=0;v[e+4>>2]=0;v[e+8>>2]=0;v[e>>2]=530160;a=e;b=v[299999];v[299999]=0;if((b|0)==1){break c}v[299999]=0;Q(2905,a|0,e+16|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}v[299999]=0;Y(4084,a|0,c|0,d|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}v[299999]=0;R(2526,a|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}lg(a);if(t[e+27|0]<=-1){dc(v[e+16>>2])}Qb=e+32|0;return}b=P()|0;O()|0;break a}b=P()|0;O()|0;break a}b=P()|0;O()|0;lg(a)}if(t[e+27|0]<=-1){dc(v[e+16>>2])}T(b|0);L()}function y$(a,b,c){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,p=0,q=0;i=B(c,1348)+a|0;f=v[i- -64>>2];g=v[i+56>>2];j=B(c,7676)+b|0;k=v[j+44>>2];h=Ac(y[b+40>>2]/40|0,k);a=1;a:{if((g|0)<1){break a}d=v[j+260>>2];if(!d){break a}h=(h|0)<32?h:32;o=B(g,44)+f|0;p=B(c,7676)+b|0;while(1){c=a;a=0;b=h;g=0;if(c){while(1){c=B(a,28)+p|0;e=v[c+288>>2];if(!(!(e&1)|(e&2)>>>1^v[i+68>>2]!=t[f+13|0])){d=u[f>>1];l=d-v[c+264>>2]|0;e=l>>31;m=d-v[c+276>>2]|0;n=m>>31;q=d;d=(e^e+l)>>>0>(n^n+m)>>>0?c+276|0:c+264|0;e=q-v[d>>2]|0;c=e>>31;e=Ac(c^c+e,k);c=(e|0)<(b|0);g=c?d:g;d=v[j+260>>2];b=c?e:b}a=a+1|0;if(d>>>0>a>>>0){continue}break}if(g){v[f+20>>2]=g}a=d}f=f+44|0;if(o>>>0>f>>>0){continue}break}}}function jY(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;h=v[a+20>>2];l=v[a+28>>2]-h>>3;k=v[a+4>>2];while(1){g=v[h+12>>2];f=u[h+8>>1];e=u[h+10>>1];a=e>>31;a=(a^a+e)&65535;e=v[c+4>>2];a:{if(a>>>0<=e>>>0){break a}i=e;e=a+255&130816;if((i|0)==(e|0)){break a}j=v[c>>2];if(j){dc(j)}v[c+4>>2]=e;p=c,q=fc(e<<2),v[p>>2]=q}e=v[c>>2];kY(d,e,f,k,a);b:{if(v[b+16>>2]<(k|0)|v[b+8>>2]>(k|0)){break b}i=u[h+10>>1]<0;j=i?0:g;m=w[g|0];g=v[b+4>>2];c:{if((f|0)>=(g|0)){g=f;break c}f=g-f|0;a=a-f|0;if((a|0)<1){break b}j=i?0:f+j|0;e=(f<<2)+e|0}n=v[b>>2];i=g;o=k;f=v[b+12>>2];if((f|0)<(a+g|0)){a=f-g|0;if((a|0)<0){break b}a=a+1|0}ig(n,i,o,a,e,j,m)}h=h+8|0;l=l-1|0;if(l){continue}break}}function hY(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;h=v[a+20>>2];l=v[a+28>>2]-h>>3;k=v[a+4>>2];while(1){g=v[h+12>>2];f=u[h+8>>1];e=u[h+10>>1];a=e>>31;a=(a^a+e)&65535;e=v[c+4>>2];a:{if(a>>>0<=e>>>0){break a}i=e;e=a+255&130816;if((i|0)==(e|0)){break a}j=v[c>>2];if(j){dc(j)}v[c+4>>2]=e;p=c,q=fc(e<<2),v[p>>2]=q}e=v[c>>2];iY(d,e,f,k,a);b:{if(v[b+16>>2]<(k|0)|v[b+8>>2]>(k|0)){break b}i=u[h+10>>1]<0;j=i?0:g;m=w[g|0];g=v[b+4>>2];c:{if((f|0)>=(g|0)){g=f;break c}f=g-f|0;a=a-f|0;if((a|0)<1){break b}j=i?0:f+j|0;e=(f<<2)+e|0}n=v[b>>2];i=g;o=k;f=v[b+12>>2];if((f|0)<(a+g|0)){a=f-g|0;if((a|0)<0){break b}a=a+1|0}ig(n,i,o,a,e,j,m)}h=h+8|0;l=l-1|0;if(l){continue}break}}function fY(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;h=v[a+20>>2];l=v[a+28>>2]-h>>3;k=v[a+4>>2];while(1){g=v[h+12>>2];f=u[h+8>>1];e=u[h+10>>1];a=e>>31;a=(a^a+e)&65535;e=v[c+4>>2];a:{if(a>>>0<=e>>>0){break a}i=e;e=a+255&130816;if((i|0)==(e|0)){break a}j=v[c>>2];if(j){dc(j)}v[c+4>>2]=e;p=c,q=fc(e<<2),v[p>>2]=q}e=v[c>>2];gY(d,e,f,k,a);b:{if(v[b+16>>2]<(k|0)|v[b+8>>2]>(k|0)){break b}i=u[h+10>>1]<0;j=i?0:g;m=w[g|0];g=v[b+4>>2];c:{if((f|0)>=(g|0)){g=f;break c}f=g-f|0;a=a-f|0;if((a|0)<1){break b}j=i?0:f+j|0;e=(f<<2)+e|0}n=v[b>>2];i=g;o=k;f=v[b+12>>2];if((f|0)<(a+g|0)){a=f-g|0;if((a|0)<0){break b}a=a+1|0}ig(n,i,o,a,e,j,m)}h=h+8|0;l=l-1|0;if(l){continue}break}}function dY(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;h=v[a+20>>2];l=v[a+28>>2]-h>>3;k=v[a+4>>2];while(1){g=v[h+12>>2];f=u[h+8>>1];e=u[h+10>>1];a=e>>31;a=(a^a+e)&65535;e=v[c+4>>2];a:{if(a>>>0<=e>>>0){break a}i=e;e=a+255&130816;if((i|0)==(e|0)){break a}j=v[c>>2];if(j){dc(j)}v[c+4>>2]=e;p=c,q=fc(e<<2),v[p>>2]=q}e=v[c>>2];eY(d,e,f,k,a);b:{if(v[b+16>>2]<(k|0)|v[b+8>>2]>(k|0)){break b}i=u[h+10>>1]<0;j=i?0:g;m=w[g|0];g=v[b+4>>2];c:{if((f|0)>=(g|0)){g=f;break c}f=g-f|0;a=a-f|0;if((a|0)<1){break b}j=i?0:f+j|0;e=(f<<2)+e|0}n=v[b>>2];i=g;o=k;f=v[b+12>>2];if((f|0)<(a+g|0)){a=f-g|0;if((a|0)<0){break b}a=a+1|0}ig(n,i,o,a,e,j,m)}h=h+8|0;l=l-1|0;if(l){continue}break}}function bia(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;var j=0,k=0,l=0,m=0,n=0,o=0,p=0;j=Qb-16|0;Qb=j;n=e&1;e=e>>>1|0;o=g<<1;p=h<<2;while(1){g=e;while(1){c=i;h=w[c+2|0];i=w[c+3|0];k=j+12|0;l=j+8|0;m=j+4|0;Gd(v[a+68>>2],w[c|0],h,i,k,l,m);d=b;v[d>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;Gd(v[a+68>>2],w[c+1|0],h,i,k,l,m);v[d+4>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;i=c+4|0;b=d+8|0;g=g-1|0;if(g){continue}break}g=2;a:{if(!n){i=c;break a}Gd(v[a+68>>2],w[c+4|0],w[c+6|0],w[c+7|0],j+12|0,j+8|0,j+4|0);v[b>>2]=v[j+12>>2]|v[j+8>>2]<<8|v[j+4>>2]<<16|-16777216;g=3}b=(d+p|0)+(g<<2)|0;i=(i+o|0)+4|0;f=f-1|0;if(f){continue}break}Qb=j+16|0}function bY(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;h=v[a+20>>2];l=v[a+28>>2]-h>>3;k=v[a+4>>2];while(1){g=v[h+12>>2];f=u[h+8>>1];e=u[h+10>>1];a=e>>31;a=(a^a+e)&65535;e=v[c+4>>2];a:{if(a>>>0<=e>>>0){break a}i=e;e=a+255&130816;if((i|0)==(e|0)){break a}j=v[c>>2];if(j){dc(j)}v[c+4>>2]=e;p=c,q=fc(e<<2),v[p>>2]=q}e=v[c>>2];cY(d,e,f,k,a);b:{if(v[b+16>>2]<(k|0)|v[b+8>>2]>(k|0)){break b}i=u[h+10>>1]<0;j=i?0:g;m=w[g|0];g=v[b+4>>2];c:{if((f|0)>=(g|0)){g=f;break c}f=g-f|0;a=a-f|0;if((a|0)<1){break b}j=i?0:f+j|0;e=(f<<2)+e|0}n=v[b>>2];i=g;o=k;f=v[b+12>>2];if((f|0)<(a+g|0)){a=f-g|0;if((a|0)<0){break b}a=a+1|0}ig(n,i,o,a,e,j,m)}h=h+8|0;l=l-1|0;if(l){continue}break}}function ZX(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;h=v[a+20>>2];l=v[a+28>>2]-h>>3;k=v[a+4>>2];while(1){g=v[h+12>>2];f=u[h+8>>1];e=u[h+10>>1];a=e>>31;a=(a^a+e)&65535;e=v[c+4>>2];a:{if(a>>>0<=e>>>0){break a}i=e;e=a+255&130816;if((i|0)==(e|0)){break a}j=v[c>>2];if(j){dc(j)}v[c+4>>2]=e;p=c,q=fc(e<<2),v[p>>2]=q}e=v[c>>2];_X(d,e,f,k,a);b:{if(v[b+16>>2]<(k|0)|v[b+8>>2]>(k|0)){break b}i=u[h+10>>1]<0;j=i?0:g;m=w[g|0];g=v[b+4>>2];c:{if((f|0)>=(g|0)){g=f;break c}f=g-f|0;a=a-f|0;if((a|0)<1){break b}j=i?0:f+j|0;e=(f<<2)+e|0}n=v[b>>2];i=g;o=k;f=v[b+12>>2];if((f|0)<(a+g|0)){a=f-g|0;if((a|0)<0){break b}a=a+1|0}ig(n,i,o,a,e,j,m)}h=h+8|0;l=l-1|0;if(l){continue}break}}function XX(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;h=v[a+20>>2];l=v[a+28>>2]-h>>3;k=v[a+4>>2];while(1){g=v[h+12>>2];f=u[h+8>>1];e=u[h+10>>1];a=e>>31;a=(a^a+e)&65535;e=v[c+4>>2];a:{if(a>>>0<=e>>>0){break a}i=e;e=a+255&130816;if((i|0)==(e|0)){break a}j=v[c>>2];if(j){dc(j)}v[c+4>>2]=e;p=c,q=fc(e<<2),v[p>>2]=q}e=v[c>>2];YX(d,e,f,k,a);b:{if(v[b+16>>2]<(k|0)|v[b+8>>2]>(k|0)){break b}i=u[h+10>>1]<0;j=i?0:g;m=w[g|0];g=v[b+4>>2];c:{if((f|0)>=(g|0)){g=f;break c}f=g-f|0;a=a-f|0;if((a|0)<1){break b}j=i?0:f+j|0;e=(f<<2)+e|0}n=v[b>>2];i=g;o=k;f=v[b+12>>2];if((f|0)<(a+g|0)){a=f-g|0;if((a|0)<0){break b}a=a+1|0}ig(n,i,o,a,e,j,m)}h=h+8|0;l=l-1|0;if(l){continue}break}}function W$(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(!b){break a}v[b>>2]=0;if(!a){break a}d=v[a+12>>2];f=bd(d,4);if(!f){break a}g=bd(d,4);if(!g){break a}h=bd(d,4);if(!h){break a}b:{if((d|0)<1){break b}i=v[a>>2];a=0;if((d|0)!=1){j=d&-2;while(1){c=a<<2;e=c+i|0;v[c+f>>2]=w[e+2|0];v[c+g>>2]=w[e+1|0];v[c+h>>2]=w[e|0];c=c|4;e=c+i|0;v[c+f>>2]=w[e+2|0];v[c+g>>2]=w[e+1|0];v[c+h>>2]=w[e|0];a=a+2|0;j=j-2|0;if(j){continue}break}}if(d&1){a=a<<2;c=a+i|0;v[a+f>>2]=w[c+2|0];v[a+g>>2]=w[c+1|0];v[a+h>>2]=w[c|0]}a=0;if((d|0)<=0){break b}while(1){c:{c=a<<2;i=v[c+f>>2];if((i|0)!=v[c+g>>2]|(i|0)!=v[c+h>>2]){break c}a=a+1|0;if((d|0)!=(a|0)){continue}break b}break}v[b>>2]=1}dc(f);dc(g);dc(h)}}function VX(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;h=v[a+20>>2];l=v[a+28>>2]-h>>3;k=v[a+4>>2];while(1){g=v[h+12>>2];f=u[h+8>>1];e=u[h+10>>1];a=e>>31;a=(a^a+e)&65535;e=v[c+4>>2];a:{if(a>>>0<=e>>>0){break a}i=e;e=a+255&130816;if((i|0)==(e|0)){break a}j=v[c>>2];if(j){dc(j)}v[c+4>>2]=e;p=c,q=fc(e<<2),v[p>>2]=q}e=v[c>>2];WX(d,e,f,k,a);b:{if(v[b+16>>2]<(k|0)|v[b+8>>2]>(k|0)){break b}i=u[h+10>>1]<0;j=i?0:g;m=w[g|0];g=v[b+4>>2];c:{if((f|0)>=(g|0)){g=f;break c}f=g-f|0;a=a-f|0;if((a|0)<1){break b}j=i?0:f+j|0;e=(f<<2)+e|0}n=v[b>>2];i=g;o=k;f=v[b+12>>2];if((f|0)<(a+g|0)){a=f-g|0;if((a|0)<0){break b}a=a+1|0}ig(n,i,o,a,e,j,m)}h=h+8|0;l=l-1|0;if(l){continue}break}}function TX(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;h=v[a+20>>2];l=v[a+28>>2]-h>>3;k=v[a+4>>2];while(1){g=v[h+12>>2];f=u[h+8>>1];e=u[h+10>>1];a=e>>31;a=(a^a+e)&65535;e=v[c+4>>2];a:{if(a>>>0<=e>>>0){break a}i=e;e=a+255&130816;if((i|0)==(e|0)){break a}j=v[c>>2];if(j){dc(j)}v[c+4>>2]=e;p=c,q=fc(e<<2),v[p>>2]=q}e=v[c>>2];UX(d,e,f,k,a);b:{if(v[b+16>>2]<(k|0)|v[b+8>>2]>(k|0)){break b}i=u[h+10>>1]<0;j=i?0:g;m=w[g|0];g=v[b+4>>2];c:{if((f|0)>=(g|0)){g=f;break c}f=g-f|0;a=a-f|0;if((a|0)<1){break b}j=i?0:f+j|0;e=(f<<2)+e|0}n=v[b>>2];i=g;o=k;f=v[b+12>>2];if((f|0)<(a+g|0)){a=f-g|0;if((a|0)<0){break b}a=a+1|0}ig(n,i,o,a,e,j,m)}h=h+8|0;l=l-1|0;if(l){continue}break}}function QX(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;h=v[a+20>>2];l=v[a+28>>2]-h>>3;k=v[a+4>>2];while(1){g=v[h+12>>2];f=u[h+8>>1];e=u[h+10>>1];a=e>>31;a=(a^a+e)&65535;e=v[c+4>>2];a:{if(a>>>0<=e>>>0){break a}i=e;e=a+255&130816;if((i|0)==(e|0)){break a}j=v[c>>2];if(j){dc(j)}v[c+4>>2]=e;p=c,q=fc(e<<2),v[p>>2]=q}e=v[c>>2];RX(d,e,f,k,a);b:{if(v[b+16>>2]<(k|0)|v[b+8>>2]>(k|0)){break b}i=u[h+10>>1]<0;j=i?0:g;m=w[g|0];g=v[b+4>>2];c:{if((f|0)>=(g|0)){g=f;break c}f=g-f|0;a=a-f|0;if((a|0)<1){break b}j=i?0:f+j|0;e=(f<<2)+e|0}n=v[b>>2];i=g;o=k;f=v[b+12>>2];if((f|0)<(a+g|0)){a=f-g|0;if((a|0)<0){break b}a=a+1|0}ig(n,i,o,a,e,j,m)}h=h+8|0;l=l-1|0;if(l){continue}break}}function $X(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;h=v[a+20>>2];l=v[a+28>>2]-h>>3;k=v[a+4>>2];while(1){g=v[h+12>>2];f=u[h+8>>1];e=u[h+10>>1];a=e>>31;a=(a^a+e)&65535;e=v[c+4>>2];a:{if(a>>>0<=e>>>0){break a}i=e;e=a+255&130816;if((i|0)==(e|0)){break a}j=v[c>>2];if(j){dc(j)}v[c+4>>2]=e;p=c,q=fc(e<<2),v[p>>2]=q}e=v[c>>2];aY(d,e,f,k,a);b:{if(v[b+16>>2]<(k|0)|v[b+8>>2]>(k|0)){break b}i=u[h+10>>1]<0;j=i?0:g;m=w[g|0];g=v[b+4>>2];c:{if((f|0)>=(g|0)){g=f;break c}f=g-f|0;a=a-f|0;if((a|0)<1){break b}j=i?0:f+j|0;e=(f<<2)+e|0}n=v[b>>2];i=g;o=k;f=v[b+12>>2];if((f|0)<(a+g|0)){a=f-g|0;if((a|0)<0){break b}a=a+1|0}ig(n,i,o,a,e,j,m)}h=h+8|0;l=l-1|0;if(l){continue}break}}function fQ(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=982244;v[299999]=0;R(4458,a|0);b=v[299999];v[299999]=0;a:{if((b|0)!=1){Ic(a+52|0);b=v[a+44>>2];v[a+44>>2]=0;b:{if(!b){break b}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break b}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}v[a+8>>2]=981280;v[a+32>>2]=981312;b=v[a+36>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Ub[v[v[b>>2]+4>>2]](b)}v[a+36>>2]=0}v[a+24>>2]=981312;b=v[a+28>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Ub[v[v[b>>2]+4>>2]](b)}v[a+28>>2]=0}ec(a+16|0);Qc(a);return a|0}W(0)|0;O()|0;Ic(a+52|0);ec(a+44|0);$c(a+8|0);Qc(a);lc();L()}W(0)|0;O()|0;lc();L()}function cQa(a){a=a|0;var b=0,c=0,d=0,e=0;b=v[a+8>>2];e=a+12|0;if((b|0)!=(e|0)){while(1){d=b;b=v[b+28>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}c=v[d+4>>2];a:{if(!c){b=v[d+8>>2];if((d|0)==v[b>>2]){break a}d=d+8|0;while(1){c=v[d>>2];d=c+8|0;b=v[c+8>>2];if((c|0)!=v[b>>2]){continue}break}break a}while(1){b=c;c=v[b>>2];if(c){continue}break}}if((b|0)!=(e|0)){continue}break}}gv(a+8|0,v[a+12>>2]);v[a+8>>2]=e;v[a+12>>2]=0;v[a+16>>2]=0;b:{if(!v[a+32>>2]|v[a+36>>2]==-1){break b}c=v[a+28>>2];d=v[c>>2];b=v[a+24>>2];v[d+4>>2]=v[b+4>>2];v[v[b+4>>2]>>2]=d;v[a+32>>2]=0;b=a+24|0;if((b|0)==(c|0)){break b}while(1){a=v[c+4>>2];if(t[c+19|0]<=-1){dc(v[c+8>>2])}dc(c);c=a;if((a|0)!=(b|0)){continue}break}}}function ME(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0;i=A[a+24>>3];j=A[a+40>>3];k=i*d+j*e;A[a+40>>3]=k;l=A[a+16>>3];h=l*d;d=A[a+32>>3];e=h+d*e;A[a+32>>3]=e;h=i*b+j*c;A[a+24>>3]=h;b=l*b+d*c;A[a+16>>3]=b;c=l*f+d*g+A[a+48>>3];A[a+48>>3]=c;d=i*f+j*g+A[a+56>>3];A[a+56>>3]=d;f=1e10;a:{if(!(b>1e10)){f=-1e10;if(!(b<-1e10)){break a}}A[a+16>>3]=f}f=1e10;b:{if(!(h>1e10)){f=-1e10;if(!(h<-1e10)){break b}}A[a+24>>3]=f}f=1e10;c:{if(!(e>1e10)){f=-1e10;if(!(e<-1e10)){break c}}A[a+32>>3]=f}f=1e10;d:{if(!(k>1e10)){f=-1e10;if(!(k<-1e10)){break d}}A[a+40>>3]=f}f=1e10;e:{if(!(c>1e10)){f=-1e10;if(!(c<-1e10)){break e}}A[a+48>>3]=f}f=1e10;f:{if(!(d>1e10)){f=-1e10;if(!(d<-1e10)){break f}}A[a+56>>3]=f}}function $t(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=Qb-32|0;Qb=d;v[d+16>>2]=13;v[d>>2]=13;rc(a,b,d+16|0,0);a:{if(v[d+16>>2]!=6){break a}a=v[d+24>>2];if(v[a+12>>2]!=4){break a}yc(a,0,d,0);a=0;b=v[d>>2];if(b-1>>>0<=1){g=(b|0)==1?+v[d+8>>2]:A[d+8>>3];a=1}hc(d);yc(v[d+24>>2],1,d,0);b=v[d>>2];if(b-1>>>0<=1){h=(b|0)==1?+v[d+8>>2]:A[d+8>>3];e=a}hc(d);yc(v[d+24>>2],2,d,0);a=0;b=v[d>>2];if(b-1>>>0<=1){i=(b|0)==1?+v[d+8>>2]:A[d+8>>3];a=e}hc(d);yc(v[d+24>>2],3,d,0);b=v[d>>2];if(b-1>>>0>=2){hc(d);e=0;break a}j=v[d+8>>2];f=A[d+8>>3];hc(d);if(!a){e=0;break a}e=1;f=(b|0)==1?+(j|0):f;a=f>3]=a?h:f;b=g>i;A[c+16>>3]=b?g:i;A[c+8>>3]=a?f:h;A[c>>3]=b?i:g}hc(d+16|0);Qb=d+32|0;return e}function ot(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;h=Qb-16|0;Qb=h;f=d?d:1197792;d=v[f>>2];a:{b:{c:{if(!b){if(d){break c}break a}e=-2;if(!c){break a}i=a?a:h+12|0;d:{if(d){a=c;break d}a=w[b|0];d=a<<24>>24;if((d|0)>=0){v[i>>2]=a;e=(d|0)!=0;break a}a=t[b|0];if(!v[v[282445]>>2]){v[i>>2]=a&57343;e=1;break a}a=(a&255)-194|0;if(a>>>0>50){break c}d=v[(a<<2)+1009360>>2];a=c-1|0;if(!a){break b}b=b+1|0}g=w[b|0];j=g>>>3|0;if((j-16|(d>>26)+j)>>>0>7){break c}while(1){a=a-1|0;d=g-128|d<<6;if((d|0)>=0){v[f>>2]=0;v[i>>2]=d;e=c-a|0;break a}if(!a){break b}b=b+1|0;g=w[b|0];if((g&192)==128){continue}break}}v[f>>2]=0;v[299402]=25;e=-1;break a}v[f>>2]=d}Qb=h+16|0;return e|0}function jQa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;f=v[a+12>>2];if(f){e=v[f+268>>2];c=v[f+264>>2];b=e-c|0;a:{if(!b){break a}b=(b|0)/104|0;d=b>>>0>1?b:1;g=d&7;b=0;if(d-1>>>0>=7){d=d&-8;while(1){v[(B(b,104)+c|0)+100>>2]=1;v[(B(b|1,104)+c|0)+100>>2]=1;v[(B(b|2,104)+c|0)+100>>2]=1;v[(B(b|3,104)+c|0)+100>>2]=1;v[(B(b|4,104)+c|0)+100>>2]=1;v[(B(b|5,104)+c|0)+100>>2]=1;v[(B(b|6,104)+c|0)+100>>2]=1;v[(B(b|7,104)+c|0)+100>>2]=1;b=b+8|0;d=d-8|0;if(d){continue}break}}if(!g){break a}while(1){v[(B(b,104)+c|0)+100>>2]=1;b=b+1|0;g=g-1|0;if(g){continue}break}}if((c|0)!=(e|0)){while(1){mg(e-28|0);e=e-104|0;if((e|0)!=(c|0)){continue}break}}v[f+268>>2]=c;ic(f+276|0,255,2228224);v[a+12>>2]=0}}function D$(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;h=v[(c?16:12)+b>>2];b=v[(c?8:4)+b>>2];f=B(c,7676)+a|0;g=f+7712|0;a:{if((b|0)==v[g>>2]&v[f+7716>>2]==(h|0)){break a}v[g>>2]=b;v[f+48>>2]=h;v[f+44>>2]=b;v[f+7716>>2]=h;if(!v[f+260>>2]){break a}g=0;i=B(c,7676)+a|0;while(1){a=B(g,28)+i|0;c=a;d=Ac(v[a+264>>2],b)+h|0;v[a+272>>2]=d;v[a+268>>2]=d;d=Ac(v[a+276>>2],b)+h|0;v[a+284>>2]=d;v[a+280>>2]=d;v[a+288>>2]=v[a+288>>2]&-2;if(Ac(v[a+264>>2]-v[a+276>>2]|0,b)+48>>>0<=96){d=v[a+268>>2]+32&-64;v[c+272>>2]=d;d=ad(d,b)-v[a+276>>2]|0;e=d>>31;e=Ac(e^d+e,b);e=(e|0)<32?0:e+32&-64;v[a+284>>2]=((d|0)<0?e:0-e|0)+v[c+272>>2];v[a+288>>2]=v[a+288>>2]|1}g=g+1|0;if(g>>>0>2]){continue}break}}}function k8a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=v[a+428>>2];t[c+8|0]=w[b+32|0];k=c+8|0;a:{if(!v[b+36>>2]){d=1;break a}l=b+40|0;c=c+9|0;d=1;while(1){b:{c:{f=B(g,5)+l|0;if(w[f+4|0]){if(!h){t[c+1|0]=0;t[c|0]=g;d=d+2|0;i=c+1|0;c=c+2|0}h=1;j=0;e=w[b+32|0];if(e>>>0>5){break b}e=1<>2];if(g>>>0>>0){continue}break}if(j){break a}t[i|0]=e-1}return _d(a,v[b>>2],d,k)|0}function gFa(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;v[a+4>>2]=c;d=ed(c,4);v[a>>2]=d;h=v[a+4>>2];a:{if((h|0)<1){break a}v[d>>2]=0;if((h|0)==1){break a}e=h-1|0;g=e&3;d=1;if(h-2>>>0>=3){e=e&-4;while(1){f=d<<2;v[f+v[a>>2]>>2]=0;v[(f+v[a>>2]|0)+4>>2]=0;v[(f+v[a>>2]|0)+8>>2]=0;v[(f+v[a>>2]|0)+12>>2]=0;d=d+4|0;e=e-4|0;if(e){continue}break}}if(!g){break a}while(1){v[v[a>>2]+(d<<2)>>2]=0;d=d+1|0;g=g-1|0;if(g){continue}break}}e=0;if((c|0)>0){while(1){g=0;i=B(e,12)+b|0;d=v[i>>2];f=w[d|0];if(f){while(1){g=B(g,17)+f|0;f=w[d+1|0];d=d+1|0;if(f){continue}break}}d=v[a>>2]+((g>>>0)%(h>>>0)<<2)|0;v[i+8>>2]=v[d>>2];v[d>>2]=i;e=e+1|0;if((e|0)!=(c|0)){continue}break}}return a|0}function vXa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=Qb-16|0;Qb=e;c=v[b+72>>2];d=v[a+100>>2];v[e+12>>2]=0;b=Ub[v[b+36>>2]](b)|0;a:{if((b|0)<0|v[a+304>>2]){break a}c=y[c+4>>2]/100|0;c=b>>>0>c>>>0?c:b;d=Cc(d,252,0,c,0,e+12|0);v[a+304>>2]=d;if(v[e+12>>2]){break a}v[a+300>>2]=c;if((c|0)<1){break a}b=0;if((c|0)!=1){f=c&67108862;while(1){a=d+B(b,252)|0;v[a+116>>2]=1;v[a+108>>2]=2596864;v[a+112>>2]=7;v[a+180>>2]=3932;v[a+4>>2]=4;a=d+B(b|1,252)|0;v[a+116>>2]=1;v[a+108>>2]=2596864;v[a+112>>2]=7;v[a+180>>2]=3932;v[a+4>>2]=4;b=b+2|0;f=f-2|0;if(f){continue}break}}if(!(c&1)){break a}a=d+B(b,252)|0;v[a+116>>2]=1;v[a+108>>2]=2596864;v[a+112>>2]=7;v[a+180>>2]=3932;v[a+4>>2]=4}Qb=e+16|0}function Heb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=v[v[a+544>>2]+88>>2];e=v[d+1176>>2]+B(v[d+1168>>2],v[a+572>>2])|0;b=v[a+644>>2];a:{b:{if(w[d+56|0]){if(v[a+588>>2]<=0){break a}while(1){g=w[e|0];if(g>>>0>=y[d+64>>2]){break b}f=B(g,3)+d|0;t[b|0]=w[f+68|0];t[b+1|0]=w[f+69|0];t[b+2|0]=w[f+70|0];t[b+3|0]=g>>>0>2]?w[(d+g|0)+848|0]:255;b=b+4|0;e=e+1|0;c=c+1|0;if((c|0)>2]){continue}break}break a}if(v[a+588>>2]<=0){break a}while(1){c=w[e|0];if(c>>>0>=y[d+64>>2]){break b}c=B(c,3)+d|0;t[b|0]=w[c+68|0];t[b+1|0]=w[c+69|0];c=w[c+70|0];t[b+3|0]=255;t[b+2|0]=c;b=b+4|0;e=e+1|0;f=f+1|0;if((f|0)>2]){continue}break}break a}h=1042;pc(a,1042,0,0)}return h|0}function AQ(a,b,c){var d=0,e=0;d=Qb-16|0;Qb=d;e=v[a+200>>2];if(e&1){a:{if(!(!b|!(w[b+9|0]&2))){Gc(a,67504);td(a,c);break a}if(e&4){v[a+200>>2]=e|8}if((c|0)!=7){Gc(a,67611);td(a,c);break a}c=d+9|0;yf(a,c,7);kd(a,c,7);if(td(a,0)){break a}t[d+6|0]=w[d+15|0];c=w[d+11|0]|w[d+12|0]<<8|(w[d+13|0]<<16|w[d+14|0]<<24);u[d+2>>1]=c;u[d+4>>1]=c>>>16;c=w[d+9|0]|w[d+10|0]<<8;u[d>>1]=c<<8|c>>>8;b:{if(w[a+201|0]&2|(!a|!b)){break b}c:{if(!((w[d+2|0]-1&255)>>>0>11|(w[d+3|0]-1&255)>>>0>30|(w[d+4|0]>23|w[d+5|0]>59))){if(w[d+6|0]<61){break c}}Gc(a,52303);break b}a=x[d+4>>1]|x[d+6>>1]<<16;v[b+60>>2]=x[d>>1]|x[d+2>>1]<<16;v[b+64>>2]=a;v[b+8>>2]=v[b+8>>2]|512}}Qb=d+16|0;return}hd(a,67400);L()}function UJa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=-1;if(!(!a|!c|(!b|!d))){g=v[d>>2];h=(g|0)>0;i=v[b>>2]+a|0;a:{if((g|0)<1){e=c;f=a;break a}e=c;f=a;k=i-1|0;if(f>>>0>=k>>>0){break a}j=c+g|0;g=j;while(1){h=t[e|0];if((h|0)<=-1){t[f|0]=(h&192)>>>6|192;t[f+1|0]=w[e|0]&63|128;f=f+2|0;e=e+1|0}h=i-f|0;g=(h|0)<(g-e|0)?h+e|0:g;b:{if(g>>>0<=e>>>0){break b}while(1){h=t[e|0];if((h|0)<0){break b}t[f|0]=h;f=f+1|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}e=g}h=e>>>0>>0;if(e>>>0>=j>>>0){break a}if(f>>>0>>0){continue}break}}c:{if(!h|f>>>0>=i>>>0){break c}g=t[e|0];if((g|0)<0){break c}t[f|0]=g;f=f+1|0;e=e+1|0}v[b>>2]=f-a;v[d>>2]=e-c;e=v[b>>2]}return e|0}function qY(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=v[a+20>>2];j=v[a+28>>2]-f>>3;h=v[a+8>>2];while(1){e=u[f+8>>1];a=u[f+10>>1];a:{if((a|0)>=1){if(v[b+16>>2]<(h|0)|v[b+8>>2]>(h|0)){break a}g=v[f+12>>2];d=v[b+4>>2];b:{if((e|0)>=(d|0)){d=e;break b}a=(e-d|0)+a|0;if((a|0)<1){break a}g=(d-e|0)+g|0}k=v[b>>2];i=d;l=h;e=v[b+12>>2];if((e|0)<(a+d|0)){a=e-d|0;if((a|0)<0){break a}a=a+1|0}oY(k,i,l,a,c,g);break a}if(v[b+16>>2]<(h|0)|v[b+8>>2]>(h|0)){break a}d=e+(a^-1)|0;i=a?e:d;g=v[b+12>>2];if((i|0)>(g|0)){break a}d=a?d:e;a=v[b+4>>2];if((d|0)<(a|0)){break a}a=(a|0)>(i|0)?a:i;nY(v[b>>2],a,h,(((d|0)>(g|0)?g:d)-a|0)+1|0,c,w[v[f+12>>2]])}f=f+8|0;j=j-1|0;if(j){continue}break}}function iLa(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,n=0,o=0,p=0;a:{if((e|0)<1){break a}k=v[a+28>>2];if(!k){break a}j=v[v[a+408>>2]+8>>2];while(1){l=e-1|0;a=d<<2;m=v[a+v[c+12>>2]>>2];n=v[a+v[c+8>>2]>>2];o=v[a+v[c+4>>2]>>2];p=v[a+v[c>>2]>>2];a=v[b>>2];f=0;while(1){g=w[a+2|0];h=w[a+1|0];i=w[a|0];t[f+m|0]=w[a+3|0];g=((g^255)<<2)+j|0;h=((h^255)<<2)+j|0;i=((i^255)<<2)+j|0;t[f+p|0]=v[g+2048>>2]+(v[h+1024>>2]+v[i>>2]|0)>>>16;t[f+o|0]=v[g+5120>>2]+(v[h+4096>>2]+v[i+3072>>2]|0)>>>16;t[f+n|0]=v[g+7168>>2]+(v[h+6144>>2]+v[i+5120>>2]|0)>>>16;a=a+4|0;f=f+1|0;if((k|0)!=(f|0)){continue}break}d=d+1|0;b=b+4|0;a=(e|0)>1;e=l;if(a){continue}break}}}function hv(a){a=a|0;var b=0,c=0,d=0,e=0;v[a>>2]=467112;v[299999]=0;R(2547,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){a:{if(!v[a+32>>2]){break a}b=v[a+28>>2];d=v[b>>2];c=v[a+24>>2];v[d+4>>2]=v[c+4>>2];v[v[c+4>>2]>>2]=d;v[a+32>>2]=0;c=a+24|0;if((c|0)==(b|0)){break a}while(1){d=v[b+4>>2];if(t[b+19|0]<=-1){dc(v[b+8>>2])}dc(b);b=d;if((c|0)!=(b|0)){continue}break}}gv(a+8|0,v[a+12>>2]);return a|0}W(0)|0;O()|0;c=a+24|0;b:{if(!v[c+8>>2]){break b}b=v[c+4>>2];d=v[b>>2];e=v[c>>2];v[d+4>>2]=v[e+4>>2];v[v[e+4>>2]>>2]=d;v[c+8>>2]=0;if((b|0)==(c|0)){break b}while(1){d=v[b+4>>2];if(t[b+19|0]<=-1){dc(v[b+8>>2])}dc(b);b=d;if((c|0)!=(b|0)){continue}break}}gv(a+8|0,v[a+12>>2]);lc();L()}function fX(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=a+8|0;e=1;a:{b:{c=v[a+12>>2];f=v[a+8>>2];g=c-f|0;c:{if((g|0)>=1){d:{if(!eX(v[f>>2],b)){c=g>>>2|0;c=c>>>0>1?c:1;while(1){if((c|0)==(e|0)){break d}f=e<<2;e=e+1|0;if(!eX(v[f+v[d>>2]>>2],b)){continue}break}}if(!b){break c}dc(dX(b));return}c=v[a+12>>2]}if(v[a+16>>2]!=(c|0)){v[c>>2]=b;v[a+12>>2]=c+4;return}e=v[d>>2];f=c-e|0;g=f>>2;c=g+1|0;if(c>>>0>=1073741824){break b}d=f>>1;d=g>>>0<536870911?c>>>0>d>>>0?c:d:1073741823;if(d){if(d>>>0>=1073741824){break a}c=fc(d<<2)}else{c=0}g=c+(g<<2)|0;v[g>>2]=b;if((f|0)>=1){gc(c,e,f)}v[a+16>>2]=c+(d<<2);v[a+12>>2]=g+4;v[a+8>>2]=c;if(!e){break c}dc(e)}return}ue(d);L()}cf(274079);L()}function cha(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Qb-32|0;Qb=d;v[299999]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+20>>2]=0;v[d+16>>2]=990592;$(5172,d+8|0,d+16|0,b|0,c|0);b=v[299999];v[299999]=0;a:{if((b|0)!=1){v[d+16>>2]=990496;b=v[d+28>>2];if(b){t[b|0]=0;dc(v[d+28>>2])}v[d+28>>2]=0;Qc(d+16|0);v[299999]=0;Q(4569,a|0,d+8|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){a=v[d+8>>2];v[d+8>>2]=0;b:{if(!a){break b}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break b}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Qb=d+32|0;return}a=P()|0;O()|0;ec(d+8|0);T(a|0);L()}a=P()|0;O()|0;Ag(d+16|0);T(a|0);L()}W(0)|0;O()|0;lc();L()}function M5(a,b){a=a|0;b=b|0;var c=0;c=Qb-16|0;Qb=c;if((b|0)==6){a:{if(!Kl(a,86848,7)){zc(v[a+628>>2],86831,10538,0);a=0;break a}b=jc(5264);if(!b){zc(v[a+628>>2],86831,13224,0);a=0;break a}eg(b,0,5264);u[b+208>>1]=514;t[b+204|0]=1;v[b>>2]=a;v[c>>2]=2;v[c+4>>2]=2;Id(a,530,c);v[a+652>>2]=497;v[a+520>>2]=498;v[a+516>>2]=499;v[a+556>>2]=500;v[a+548>>2]=500;v[a+540>>2]=500;v[a+584>>2]=b;v[a+572>>2]=501;v[a+560>>2]=502;v[a+552>>2]=502;v[a+544>>2]=502;v[a+536>>2]=503;v[a+532>>2]=504;v[a+524>>2]=505;v[b+160>>2]=v[a+672>>2];v[a+672>>2]=506;v[b+164>>2]=v[a+668>>2];v[a+676>>2]=507;v[a+668>>2]=508;v[a+12>>2]=v[a+12>>2]|131072;a=1}Qb=c+16|0;return a|0}X(3117,7087,397,86831);L()}function Fz(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=v[a+20>>2];j=v[a+28>>2]-f>>3;h=v[a+4>>2];while(1){e=u[f+8>>1];a=u[f+10>>1];a:{if((a|0)>=1){if(v[b+16>>2]<(h|0)|v[b+8>>2]>(h|0)){break a}g=v[f+12>>2];d=v[b+4>>2];b:{if((e|0)>=(d|0)){d=e;break b}a=(e-d|0)+a|0;if((a|0)<1){break a}g=(d-e|0)+g|0}k=v[b>>2];i=d;l=h;e=v[b+12>>2];if((e|0)<(a+d|0)){a=e-d|0;if((a|0)<0){break a}a=a+1|0}oY(k,i,l,a,c,g);break a}if(v[b+16>>2]<(h|0)|v[b+8>>2]>(h|0)){break a}d=e+(a^-1)|0;i=a?e:d;g=v[b+12>>2];if((i|0)>(g|0)){break a}d=a?d:e;a=v[b+4>>2];if((d|0)<(a|0)){break a}a=(a|0)>(i|0)?a:i;nY(v[b>>2],a,h,(((d|0)>(g|0)?g:d)-a|0)+1|0,c,w[v[f+12>>2]])}f=f+8|0;j=j-1|0;if(j){continue}break}}function pO(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Qb-32|0;Qb=d;v[299999]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+20>>2]=0;v[d+16>>2]=990592;$(5180,d+8|0,d+16|0,b|0,c|0);b=v[299999];v[299999]=0;a:{if((b|0)!=1){v[d+16>>2]=990496;b=v[d+28>>2];if(b){t[b|0]=0;dc(v[d+28>>2])}v[d+28>>2]=0;Qc(d+16|0);v[299999]=0;Q(4569,a|0,d+8|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){a=v[d+8>>2];v[d+8>>2]=0;b:{if(!a){break b}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break b}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Qb=d+32|0;return}a=P()|0;O()|0;ec(d+8|0);T(a|0);L()}a=P()|0;O()|0;Ag(d+16|0);T(a|0);L()}W(0)|0;O()|0;lc();L()}function gD(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Qb-32|0;Qb=d;v[299999]=0;v[d+24>>2]=0;v[d+28>>2]=0;v[d+20>>2]=0;v[d+16>>2]=990592;$(5179,d+8|0,d+16|0,b|0,c|0);b=v[299999];v[299999]=0;a:{if((b|0)!=1){v[d+16>>2]=990496;b=v[d+28>>2];if(b){t[b|0]=0;dc(v[d+28>>2])}v[d+28>>2]=0;Qc(d+16|0);v[299999]=0;Q(4569,a|0,d+8|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){a=v[d+8>>2];v[d+8>>2]=0;b:{if(!a){break b}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break b}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Qb=d+32|0;return}a=P()|0;O()|0;ec(d+8|0);T(a|0);L()}a=P()|0;O()|0;Ag(d+16|0);T(a|0);L()}W(0)|0;O()|0;lc();L()}function bB(a,b){var c=0,d=0,e=0;if(!(v[b>>2]!=v[a>>2]|v[b+4>>2]!=v[a+4>>2])){c=v[b+8>>2];a:{if((c|0)<1){break a}e=c-1|0;b=v[b+12>>2];a=v[a+12>>2];d=c&3;if(d){while(1){v[a+4>>2]=v[b+4>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=v[b+12>>2];b=b+16|0;a=a+16|0;c=c-1|0;d=d-1|0;if(d){continue}break}}if(e>>>0<3){break a}while(1){v[a+4>>2]=v[b+4>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=v[b+12>>2];v[a+20>>2]=v[b+20>>2];v[a+24>>2]=v[b+24>>2];v[a+28>>2]=v[b+28>>2];v[a+36>>2]=v[b+36>>2];v[a+40>>2]=v[b+40>>2];v[a+44>>2]=v[b+44>>2];v[a+52>>2]=v[b+52>>2];v[a+56>>2]=v[b+56>>2];v[a+60>>2]=v[b+60>>2];b=b- -64|0;a=a- -64|0;d=(c|0)>4;c=c-4|0;if(d){continue}break}}return}X(11012,7271,206,189624);L()}function b6a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Qb-8384|0;Qb=e;if(x[a+26308>>1]){h=e+8372|0;while(1){c=e+5152|0;Ub[v[v[a>>2]>>2]](v[a+4>>2],c,1,3232)|0;b=c;c=e;while(1){d=w[b+1|0];u[c>>1]=w[b|0]<<2|d>>>6;f=d<<4;d=w[b+2|0];u[c+2>>1]=f|d>>>4;f=d<<6;d=w[b+3|0];u[c+4>>1]=f|d>>>2;u[c+6>>1]=w[b+4|0]|d<<8;c=c+8|0;b=b+5|0;if(h>>>0>b>>>0){continue}break}if(x[a+26310>>1]){f=g<<1&14;i=v[a+26028>>2];d=v[a+26352>>2];b=0;while(1){c=x[a+26316>>1];u[((B(x[a+26320>>1],g>>>c|0)+(b>>>c|0)<<3)+d|0)+((i>>>((f|b&1)<<1)&3)<<1)>>1]=x[(b<<1)+e>>1]&1023;b=b+1|0;if(b>>>0>1]){continue}break}}g=g+1|0;if(g>>>0>1]){continue}break}}v[a+26124>>2]=1020;Qb=e+8384|0}function cLa(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;v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;d=w[c+11|0];f=d<<24>>24;e=w[b+11|0];g=e<<24>>24<0;a:{e=g?v[b+4>>2]:e;h=(f|0)<0?v[c+4>>2]:d;d=e+h|0;b:{if(d>>>0>=4294967280){v[299999]=0;R(2530,a|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}L()}j=v[b>>2];c:{if(d>>>0<=10){t[a+11|0]=e;d=a;break c}v[299999]=0;i=d+16&-16;d=S(1,i|0)|0;k=v[299999];v[299999]=0;if((k|0)==1){break b}v[a>>2]=d;v[a+4>>2]=e;v[a+8>>2]=i|-2147483648}if(e){gc(d,g?j:b,e)}t[d+e|0]=0;b=v[c>>2];v[299999]=0;Y(2531,a|0,((f|0)<0?b:c)|0,h|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break a}}b=P()|0;O()|0;if(t[a+11|0]<=-1){dc(v[a>>2])}T(b|0);L()}}function Gc(a,b){a=a|0;b=b|0;var c=0,d=0;d=Qb-32|0;Qb=d;a:{b:{if(a){if(w[b|0]!=35){break b}c=1;if(w[b+1|0]==32){break b}c=2;if(w[b+2|0]==32){break b}c=3;if(w[b+3|0]==32){break b}c=4;if(w[b+4|0]==32){break b}c=5;if(w[b+5|0]==32){break b}c=6;if(w[b+6|0]==32){break b}c=7;if(w[b+7|0]==32){break b}c=8;if(w[b+8|0]==32){break b}c=9;if(w[b+9|0]==32){break b}c=10;if(w[b+10|0]==32){break b}c=11;if(w[b+11|0]==32){break b}c=12;if(w[b+12|0]==32){break b}c=13;if(w[b+13|0]==32){break b}c=w[b+14|0]==32?14:15;break b}v[d>>2]=b;a=v[252391];wc(a,15611,d);ff(10,a);break a}b=b+c|0;c=v[a+164>>2];if(!c){v[d+16>>2]=b;a=v[252391];wc(a,15611,d+16|0);ff(10,a);break a}Ub[c|0](a,b)}Qb=d+32|0}function of(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=Qb-16|0;Qb=e;a:{if(!(w[a+12|0]&128)){break a}b:{switch(x[b+2>>1]-3|0){case 0:case 5:_q(c,v[b+4>>2]);break a;case 1:case 6:case 8:Kn(c,v[b+4>>2]);break a;case 2:case 7:Kn(c,v[b+4>>2]<<1);break a;case 9:break b;default:break a}}wC(c,v[b+4>>2])}v[b+8>>2]=v[a+488>>2];f=v[b+4>>2];d=x[b+2>>1];if(d>>>0<=13){d=v[(d<<2)+81924>>2]}else{d=0}c:{d:{if((Ub[v[a+640>>2]](v[a+628>>2],v[b+8>>2],0)|0)!=v[b+8>>2]){break d}g=c;c=B(d,f);if((Ub[v[a+636>>2]](v[a+628>>2],g,c)|0)!=(c|0)){break d}h=1;v[a+488>>2]=v[a+488>>2]+(c+1&-2);break c}c=v[a>>2];d=v[a+628>>2];i=e,j=v[tf(a,x[b>>1])+16>>2],v[i>>2]=j;zc(d,c,30845,e)}Qb=e+16|0;return h}function mHa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Qb-32|0;Qb=e;a:{b:{if(c){if(!d){break b}lp(a,888856);break a}cs(e,888872,b);v[299999]=0;b=Q(2725,e|0,888824)|0;c=v[299999];v[299999]=0;c:{d:{if((c|0)!=1){v[e+24>>2]=v[b+8>>2];c=v[b+4>>2];v[e+16>>2]=v[b>>2];v[e+20>>2]=c;v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;v[299999]=0;c=a;a=w[e+27|0];b=a<<24>>24<0;Y(2653,c|0,(b?v[e+16>>2]:e+16|0)|0,(b?v[e+20>>2]:a)|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break d}if(t[e+27|0]<=-1){dc(v[e+16>>2])}if(t[e+11|0]>-1){break a}dc(v[e>>2]);break a}c=P()|0;O()|0;break c}c=P()|0;O()|0;if(t[e+27|0]>-1){break c}dc(v[e+16>>2])}if(t[e+11|0]<=-1){dc(v[e>>2])}T(c|0);L()}lp(a,888824)}Qb=e+32|0}function dk(a){a=a|0;var b=0,c=0,d=0,e=0;b=Qb-16|0;Qb=b;Bi(b+8|0,a,0);a:{b:{c:{d:{e:{a=v[b+8>>2];f:{g:{if(!a){break g}d=v[a+8>>2];if(!d){break g}e=v[a+12>>2];h:{a=d-1|0;if(!a){break h}c=a;if((d|0)>0){break h}c=a+d|0;if((c|0)>-1){break h}v[299999]=0;ba(4543);a=v[299999];v[299999]=0;if((a|0)==1){break f}L()}if(w[c+e|0]==47){break e}}v[299999]=0;a=Fe(b+8|0);c=v[299999];v[299999]=0;if((c|0)!=1){break d}}a=P()|0;O()|0;break a}v[299999]=0;$(4568,b|0,b+8|0,0,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break c}v[299999]=0;a=Fe(b);c=v[299999];v[299999]=0;if((c|0)==1){break b}ec(b)}ec(b+8|0);Qb=b+16|0;return a|0}a=P()|0;O()|0;break a}a=P()|0;O()|0;ec(b)}ec(b+8|0);T(a|0);L()}function Zaa(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,h=0,i=0,j=0;a=Qb-32|0;Qb=a;v[a+24>>2]=37;v[a+28>>2]=0;h=a+24|0;Gn(h|1,260484,0,v[c+4>>2]);j=v[c+4>>2];g=a-32|0;Qb=g;i=pg();v[a>>2]=e;v[a+4>>2]=f;e=j>>>9&1;h=Mh(g,e+23|0,i,h,a)+g|0;j=hj(g,h,c);f=g-((e<<3)+187&240)|0;Qb=f;i=a+8|0;e=v[c+28>>2];v[i>>2]=e;v[e+4>>2]=v[e+4>>2]+1;v[299999]=0;la(5590,g|0,j|0,h|0,f|0,a+20|0,a+16|0,i|0);e=v[299999];v[299999]=0;if((e|0)!=1){e=v[a+8>>2];g=v[e+4>>2]-1|0;v[e+4>>2]=g;if((g|0)==-1){Ub[v[v[e>>2]+8>>2]](e)}b=Uq(b,f,v[a+20>>2],v[a+16>>2],c,d);Qb=a+32|0;return b|0}c=P()|0;O()|0;a=v[a+8>>2];b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}T(c|0);L()}function C8(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;g=Qb-16|0;Qb=g;if((c|0)>=1){a=v[a+12>>2];while(1){kM(v[a>>2],g+4|0);d=+z[g+4>>2];j=+z[g+8>>2];l=d*.061+j*-.224;k=+z[g+12>>2];m=k*1.163;i=b;h=d*2.69+j*-1.276+k*-.414;if(h<=0){e=0}else{e=h>=1;h=K(h)*256;a:{if(D(h)<2147483648){f=~~h;break a}f=-2147483648}e=e?-1:f}t[i|0]=e;i=b;d=j*1.978+d*-1.022+k*.044;if(d<=0){e=0}else{e=d>=1;d=K(d)*256;b:{if(D(d)<2147483648){f=~~d;break b}f=-2147483648}e=e?-1:f}t[i+1|0]=e;a=a+4|0;i=b;d=l+m;if(d<=0){e=0}else{e=d>=1;d=K(d)*256;c:{if(D(d)<2147483648){f=~~d;break c}f=-2147483648}e=e?-1:f}t[i+2|0]=e;b=b+3|0;e=(c|0)>1;c=c-1|0;if(e){continue}break}}Qb=g+16|0}function $aa(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,h=0,i=0,j=0;a=Qb-32|0;Qb=a;v[a+24>>2]=37;v[a+28>>2]=0;h=a+24|0;Gn(h|1,260484,1,v[c+4>>2]);j=v[c+4>>2];g=a-32|0;Qb=g;i=pg();v[a>>2]=e;v[a+4>>2]=f;e=j>>>9&1;h=Mh(g,e+23|0,i,h,a)+g|0;j=hj(g,h,c);f=g-((e<<3)+187&240)|0;Qb=f;i=a+8|0;e=v[c+28>>2];v[i>>2]=e;v[e+4>>2]=v[e+4>>2]+1;v[299999]=0;la(5590,g|0,j|0,h|0,f|0,a+20|0,a+16|0,i|0);e=v[299999];v[299999]=0;if((e|0)!=1){e=v[a+8>>2];g=v[e+4>>2]-1|0;v[e+4>>2]=g;if((g|0)==-1){Ub[v[v[e>>2]+8>>2]](e)}b=Uq(b,f,v[a+20>>2],v[a+16>>2],c,d);Qb=a+32|0;return b|0}c=P()|0;O()|0;a=v[a+8>>2];b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}T(c|0);L()}function wha(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;f=Qb-16|0;Qb=f;c=v[a>>2];b=0;a:{if(!c){break a}Ub[v[v[c>>2]+44>>2]](c,0,f+8|0,10)|0;d=v[f+8>>2];b=1;if((d|0)<0){break a}b:{c:{e=v[a>>2];b=v[e+8>>2];if((d|0)>=(b|0)){break c}c=v[e+12>>2];h=c+b|0;b=c+d|0;d:{while(1){e:{c=b;if(!w[b|0]){break e}v[f+12>>2]=c;g=Ub[v[v[e>>2]+60>>2]](e,f+12|0)|0;b=v[f+12>>2];if((c|0)==(b|0)){break e}f:{if(g>>>0>255){break f}d=g<<24;d=(d|0)<-16777216?g:d>>24;if((d|0)==32|d-9>>>0<5){break f}switch(g-10|0){case 0:case 3:break f;default:break e}}if(b>>>0>>0){continue}break d}break}b=c}b=b-v[e+12>>2]|0;e=v[a>>2];if(e){break c}a=0;break b}a=v[e+8>>2]}b=(a|0)==(b|0)}Qb=f+16|0;return b|0}function Nza(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=Qb-4096|0;Qb=d;v[a>>2]=938392;a:{b:{c:{switch(v[b>>2]-3|0){case 0:b=v[b+8>>2];c=fc(8);v[299999]=0;Q(3064,c|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}v[a+4>>2]=c;break b;case 5:c=fc(8);v[299999]=0;S(3312,c|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break a}v[a+4>>2]=c;c=v[b+8>>2];Ub[v[v[c>>2]+20>>2]](c);c=v[b+8>>2];c=Ub[v[v[c>>2]+40>>2]](c,d,4096)|0;if((c|0)>=1){while(1){De(v[a+4>>2],d,c);c=v[b+8>>2];c=Ub[v[v[c>>2]+40>>2]](c,d,4096)|0;if((c|0)>0){continue}break}}b=v[b+8>>2];Ub[v[v[b>>2]+24>>2]](b);break b;default:break c}}kc(1,-1,279028,0);v[a+4>>2]=0}Qb=d+4096|0;return a|0}a=P()|0;O()|0;dc(c);T(a|0);L()}function sua(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,h=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;v[a+12>>2]=0;v[a+16>>2]=0;a:{g=a+16|0;if((g|0)==(b|0)){break a}if(t[b+11|0]>=0){h=v[b+4>>2];v[g>>2]=v[b>>2];v[g+4>>2]=h;v[g+8>>2]=v[b+8>>2];break a}h=v[b+4>>2];b=v[b>>2];v[299999]=0;Y(2544,g|0,b|0,h|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break a}d=P()|0;O()|0;if(t[a+27|0]<=-1){dc(v[g>>2])}b=v[a+4>>2];if(b){c=v[a+8>>2];if((b|0)==(c|0)){c=b}else{while(1){if(t[c-5|0]<=-1){dc(v[c-16>>2])}c=c-48|0;if((b|0)!=(c|0)){continue}break}c=v[a+4>>2]}v[a+8>>2]=b;dc(c)}T(d|0);L()}v[a+40>>2]=f;v[a+36>>2]=e;v[a+32>>2]=d;v[a+28>>2]=c;v[a>>2]=0;return a|0}function gqa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(a){c=v[a>>2];if(c){e=v[c+668>>2];f=v[c+676>>2];b:{if(!b){break b}d=v[b>>2];if(!d){break b}ao(c,d,32767,-1);if(v[c+644>>2]){Zc(c,v[c+648>>2]);v[c+644>>2]=0}Np(d,f,e);v[b>>2]=0}b=Qb-160|0;Qb=b;if(v[c+276>>2]){_m(c+212|0)}Zc(c,v[c+268>>2]);Zc(c,v[c+356>>2]);Zc(c,v[c+352>>2]);Zc(c,v[c+360>>2]);Zc(c,v[c+364>>2]);Zc(c,v[c+368>>2]);Zc(c,v[c+372>>2]);b=gc(b,c,156);d=v[c+164>>2];g=v[c+160>>2];h=v[c+168>>2];i=v[c+676>>2];ic(c+156|0,0,612);v[c+676>>2]=i;v[c+168>>2]=h;v[c+160>>2]=g;v[c+164>>2]=d;gc(c,b,156);Qb=b+160|0;Np(c,f,e);v[a>>2]=0;return}}if(!b){break a}a=v[b>>2];if(!a){break a}Np(a,0,0);v[b>>2]=0}}function YUa(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,j=0;a:{if(c){v[a+500>>2]=1;b=1;if(!v[a+16>>2]|!v[a+20>>2]){break a}kq(a);g=v[a+20>>2];b=v[a+12>>2];i=A[e>>3];j=A[f>>3];a=Qb+-64|0;Qb=a;v[a+60>>2]=d;if(b){v[a+48>>2]=0;v[a+52>>2]=1072693248;v[a+40>>2]=0;v[a+44>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;v[a+24>>2]=0;v[a+28>>2]=1072693248;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;d=a+48|0;e=a+40|0;Ub[v[v[b>>2]+120>>2]](b,d,e,a+32|0,a+24|0,a+16|0,a+8|0)|0;z[a+48>>2]=i;z[a+40>>2]=j;Ub[v[v[b>>2]+88>>2]](b,c,a+60|0,d,e)|0;Ub[v[v[b>>2]+128>>2]](b,g)|0}Qb=a- -64|0;return 0}v[a+500>>2]=0;b=Ub[v[v[a>>2]+344>>2]](a,b,e,f,g,h)|0}return b|0}function LJ(a,b,c,d){var e=0,f=0,g=0,h=0;g=Qb-128|0;Qb=g;a:{if((c|0)>=0){a=v[b>>2];if(!a){e=b;break a}while(1){v[(f<<2)+g>>2]=b;f=f+1|0;e=a;b=a;a=v[a>>2];if(a){continue}break}break a}X(19230,7271,339,189681);L()}a=0;b:{while(1){b=v[e+8>>2];if((b|0)<(a|0)){v[e+8>>2]=a;b=a}c:{if((b|0)>=(c|0)){break c}while(1){if(v[e+4>>2]<=(b|0)){break c}d:{if(t[d+16|0]&1){a=v[d+8>>2];h=a-1|0;v[d+8>>2]=h;if((a|0)>=1){a=v[d+4>>2]>>>h&1;break d}a=Wf(d);if((a|0)>=0){break d}a=-1;break b}X(23455,7271,357,189681);L()}e:{if(a){v[e+4>>2]=b;break e}b=b+1|0}if((b|0)<(c|0)){continue}break}}v[e+8>>2]=b;if(f){f=f-1|0;e=v[(f<<2)+g>>2];a=b;continue}break}a=v[e+4>>2]<(c|0)}Qb=g+128|0;return a}function EU(a){var b=0,c=0;a:{c=v[a+36>>2];b=v[c+16>>2];b:{if(w[b|0]!=118|w[b+1|0]!=101|(w[b+2|0]!=114|w[b+3|0]!=115)){break b}if(w[b+4|0]!=105|w[b+5|0]!=111|w[b+6|0]!=110){break b}v[a+200>>2]=v[a+200>>2]+7;v[c+16>>2]=b+7;v[c+32>>2]=v[c+32>>2]+7;b=w[b+7|0];if((b|0)==37){wd(a);c=v[a+36>>2];b=w[v[c+16>>2]]}c:{if(b){break c}if((cd(c)|0)>0){break c}vd(a)}Bd(a);if(w[v[v[a+36>>2]+16>>2]]!=61){te(a,75,0);return 0}xd(a);Bd(a);d:{switch(w[v[v[a+36>>2]+16>>2]]-34|0){case 0:xd(a);b=wU(a);if(w[v[v[a+36>>2]+16>>2]]!=34){break a}xd(a);return b;case 5:xd(a);b=wU(a);if(w[v[v[a+36>>2]+16>>2]]!=39){break a}xd(a);return b;default:break d}}te(a,33,0)}return 0}te(a,34,0);return b}function pr(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(!v[294612]){f=1178448,g=fc(1),v[f>>2]=g}a:{b:{c:{while(1){d=fc(a);v[(c<<2)+1178464>>2]=d;b=v[294613];if(!b){break c}e=c+1|0;while(1){if(v[b>>2]!=(d|0)){b=v[b+4>>2];if(b){continue}break c}break}c=e;if((c|0)!=128){continue}break}c=128;d=fc(a);break b}if(!c){break a}}while(1){a=c-1|0;dc(v[(a<<2)+1178464>>2]);e=(c|0)>1;c=a;if(e){continue}break}}a=Bh()+36|0;c=a;b=v[v[c+12>>2]+((d>>>0)%y[c+8>>2]<<2)>>2];d:{if(b){while(1){if(v[b+12>>2]==(d|0)&v[b+16>>2]==(d|0)){break d}b=v[b+8>>2];if(b){continue}break}}b=fc(24);v[b>>2]=0;v[b+4>>2]=0;v[b+20>>2]=0;v[b+16>>2]=d;v[b+12>>2]=d;v[b+8>>2]=0;gk(a,b)}v[b+20>>2]=0;return d|0}function oh(a,b){var c=0,d=0,e=0,f=0;f=Qb-16|0;Qb=f;a:{b:{c:{if(a){if(!b){break a}c=v[a+80>>2];if(!c){break c}while(1){if(v[b>>2]-1>>>0>=4){break b}d=b;b=v[b+16>>2];e=v[d+12>>2];if(e){oh(a,e)}e=v[d+8>>2];d:{if(!e){break d}if(Kj(c,e)){break d}Ub[v[259708]](v[d+8>>2])}e=v[d+24>>2];e:{if(!e){break e}if(Kj(c,e)){break e}Ub[v[259708]](v[d+24>>2])}Ub[v[259708]](d);if(b){continue}break}break a}if(!b){break a}}while(1){if(v[b>>2]-1>>>0>3){break b}d=v[b+16>>2];c=v[b+12>>2];if(c){oh(a,c)}c=v[b+8>>2];if(c){Ub[v[259708]](c)}c=v[b+24>>2];if(c){Ub[v[259708]](c)}Ub[v[259708]](b);b=d;if(b){continue}break}break a}v[f>>2]=352363;oc(0,0,0,0,0,23,1,2,0,0,0,0,237306,f)}Qb=f+16|0}function jp(a,b,c){var d=0,e=C(0),f=0,g=0,h=0,i=0,j=0,k=0;h=Qb-16|0;Qb=h;i=jc(v[b+4>>2]<<3);a:{if(i){if(v[b+4>>2]){while(1){g=1;e=z[(j<<2)+c>>2];b:{if(e>1]==5){d=v[a>>2];f=v[a+628>>2];k=v[tf(a,x[b>>1])+16>>2];A[h+8>>3]=e;v[h>>2]=k;Ld(f,d,33541,h);e=C(0);f=1;break b}g=-1;e=C(-e)}d=1;f=d;if(!(e>C(0))|!(e>>0<33554432;d=f;if(k){continue}}break}}d=f;f=(j<<3)+i|0;v[f+4>>2]=d;g=g*(+e+.5);d:{if(g<4294967296&g>=0){d=~~g>>>0;break d}d=0}v[f>>2]=d;j=j+1|0;if(j>>>0>2]){continue}break}}d=of(a,b,i);dc(i);break a}zc(v[a+628>>2],v[a>>2],31244,0)}Qb=h+16|0;return d}function bxa(a){a=a|0;var b=0,c=0,d=0;b=fc(3528);c=v[a+4>>2];d=v[v[c>>2]+8>>2];v[299999]=0;c=S(d|0,c|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){v[b+192>>2]=v[a+192>>2];v[b>>2]=967336;v[b+4>>2]=c;v[b+3468>>2]=0;v[b+188>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;ic(b+724|0,0,2736);v[b+3504>>2]=0;a=b+3496|0;v[a>>2]=0;v[a+4>>2]=0;a=b+3488|0;v[a>>2]=0;v[a+4>>2]=0;a=b+3480|0;v[a>>2]=0;v[a+4>>2]=0;if(!w[1177324]){a=0;ic(1177328,0,384);while(1){t[a+1177715|0]=a|3;t[a+1177714|0]=a|2;t[a+1177713|0]=a|1;t[a+1177712|0]=a;a=a+4|0;if((a|0)!=256){continue}break}ic(1177968,255,383);t[1177324]=1}return b|0}a=P()|0;O()|0;dc(b);T(a|0);L()}function EQ(a,b,c){var d=0,e=0,f=0;d=Qb-16|0;Qb=d;e=v[a+200>>2];if(e&1){a:{if(e&4){Gc(a,65175);td(a,c);break a}if(!(!b|!(t[b+9|0]&1))){Gc(a,65199);td(a,c);break a}if((c|0)!=9){Gc(a,65330);td(a,c);break a}c=d+7|0;yf(a,c,9);kd(a,c,9);if(td(a,0)){break a}c=w[d+7|0];b:{if(c&128){e=0-(0-(w[d+10|0]|(c<<24|w[d+8|0]<<16|w[d+9|0]<<8))&2147483647)|0;break b}e=w[d+10|0]|(w[d+8|0]<<16|c<<24|w[d+9|0]<<8)}c=w[d+11|0];c:{if(c&128){c=0-(0-(w[d+14|0]|(c<<24|w[d+12|0]<<16|w[d+13|0]<<8))&2147483647)|0;break c}c=w[d+14|0]|(w[d+12|0]<<16|c<<24|w[d+13|0]<<8)}f=w[d+15|0];if(!(!a|!b)){t[b+108|0]=f;v[b+104>>2]=c;v[b+100>>2]=e;v[b+8>>2]=v[b+8>>2]|256}}Qb=d+16|0;return}hd(a,65029);L()}function k7(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;if((c|0)>=1){g=v[a+12>>2];while(1){i=c;j=v[a+4>>2];f=+z[b+4>>2];c=1023;a:{if(f>=15.742){break a}c=0;if(f<=24283e-8){break a}e=(er(f)*1.4426950408889634+12)*64;if(j){c=Bib(v[299450],v[299451],1284865837,1481765933)+1|0;d=Tb;d=c>>>0<1?d+1|0:d;v[299450]=c;v[299451]=d;f=+z[b+4>>2];e=e+ +(d>>>1|0)*4.656612875245797e-10+-.5}if(D(e)<2147483648){c=~~e;break a}c=-2147483648}d=c;e=.473684211;k=.210526316;b:{if(!d){break b}l=+z[b>>2];h=f*15+l+ +z[b+8>>2]*3;if(h<=0){break b}e=f*9/h;k=l*4/h}c=i-1|0;m=d<<14;d=lM(k,e,j);v[g>>2]=m|((d|0)<0?12266:d);b=b+12|0;g=g+4|0;if((i|0)>1){continue}break}}}function IH(a,b){var c=0,d=0,e=0,f=0,g=0;c=v[a>>2];if(c>>>0>>0){while(1){e=c+1|0;a:{b:{c:{d:{e:{f:{f=w[c|0];switch(f-40|0){case 1:break d;case 0:break e;default:break f}}d=e;if((f|0)!=92){break a}if((b|0)==(e|0)){v[a>>2]=b;return 3}g:{f=w[e|0];switch(f-40|0){case 0:case 1:case 52:case 58:case 62:case 70:case 74:case 76:break c;default:break g}}if(b>>>0<=e>>>0){break a}if((f&248)!=48){break a}d=c+2|0;if(d>>>0>=b>>>0){break a}if((w[d|0]&248)==48){break b}break a}g=g+1|0;d=e;break a}d=e;g=g-1|0;if(g){break a}v[a>>2]=e;return 0}d=c+2|0;break a}d=c+3|0;if(d>>>0>=b>>>0){break a}d=(w[c+3|0]&248)==48?c+4|0:d}c=d;if(c>>>0>>0){continue}break}}v[a>>2]=c;return 3}function xdb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=v[v[a+536>>2]+88>>2];e=(v[c+1176>>2]+B(v[c+1168>>2],v[a+572>>2])|0)+B(v[c+1164>>2],v[a+580>>2])|0;c=v[a+644>>2];a:{b:{switch(w[a+2253|0]-2|0){case 0:if(v[a+588>>2]<=0){break a}while(1){b=e+6|0;d=w[b|0]|w[b+1|0]<<8;g=(d<<8|d>>>8)&65535;d=w[c|0]|w[c+1|0]<<8;d=g+((d<<8|d>>>8)&65535)&65535;d=d<<8|d>>>8;t[b|0]=d;t[b+1|0]=d>>>8;c=c+2|0;e=e+8|0;f=f+1|0;if((f|0)>2]){continue}break};break a;case 3:break b;default:break a}}if(v[a+588>>2]<1){break a}while(1){b=w[c|0]|w[c+1|0]<<8;b=(b<<8|b>>>8)&65535;b=b<<8|b>>>8;t[e+6|0]=b;t[e+7|0]=b>>>8;c=c+2|0;e=e+8|0;f=f+1|0;if((f|0)>2]){continue}break}}return 0}function oH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=v[a+760>>2];a:{if(h>>>0>b>>>0){g=v[a+764>>2];b:{if(x[a+210>>1]){e=g+(b<<2)|0;d=w[e|0]|w[e+1|0]<<8|(w[e+2|0]<<16|w[e+3|0]<<24);f=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);d=e+8|0;e=f;if(d>>>0>g+(h<<2)>>>0){break b}d=d-4|0;d=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);e=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);break b}f=g+(b<<1)|0;e=w[f|0]<<8|w[f+1|0];d=e;f=f+4|0;if(f>>>0<=g+(h<<1)>>>0){d=f-2|0;d=w[d|0]<<8|w[d+1|0]}f=e<<1;e=d<<1}d=e;g=0;e=v[a+724>>2];if(e>>>0>>0){v[c>>2]=0;return 0}if(d>>>0>e>>>0){d=e;a=0;if((h-2|0)!=(b|0)){break a}}a=d>>>0>>0?e:d}else{a=0}g=a-f|0;a=f}v[c>>2]=g;return a|0}function lia(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Qb-16|0;Qb=d;v[a>>2]=0;a:{b:{c:{d:{if(c){e=v[b+12>>2];v[299999]=0;$(5160,d+8|0,b|0,e|0,c|0);b=v[299999];v[299999]=0;if((b|0)==1){break d}v[299999]=0;Q(4344,a|0,d+8|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){a=v[d+8>>2];v[d+8>>2]=0;if(!a){break a}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break b}if(b){break a}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break b}break a}b=P()|0;O()|0;ec(d+8|0);break c}v[299999]=0;Q(4336,a|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break a}b=P()|0;O()|0;break c}b=P()|0;O()|0}ec(a);T(b|0);L()}W(0)|0;O()|0;lc();L()}Qb=d+16|0}function Ddb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=v[v[a+536>>2]+88>>2];e=(v[c+1176>>2]+B(v[c+1168>>2],v[a+572>>2])|0)+B(v[c+1164>>2],v[a+580>>2])|0;c=v[a+644>>2];a:{b:{switch(w[a+2253|0]-2|0){case 0:if(v[a+588>>2]<=0){break a}while(1){b=e+2|0;d=w[b|0]|w[b+1|0]<<8;g=(d<<8|d>>>8)&65535;d=w[c|0]|w[c+1|0]<<8;d=g+((d<<8|d>>>8)&65535)&65535;d=d<<8|d>>>8;t[b|0]=d;t[b+1|0]=d>>>8;c=c+2|0;e=e+4|0;f=f+1|0;if((f|0)>2]){continue}break};break a;case 3:break b;default:break a}}if(v[a+588>>2]<1){break a}while(1){b=w[c|0]|w[c+1|0]<<8;b=(b<<8|b>>>8)&65535;b=b<<8|b>>>8;t[e+2|0]=b;t[e+3|0]=b>>>8;c=c+2|0;e=e+4|0;f=f+1|0;if((f|0)>2]){continue}break}}return 0}function jv(a,b,c,d){a=a|0;b=+b;c=+c;d=d|0;var e=0,f=0;f=Qb-48|0;Qb=f;e=v[a>>2];a:{if(!d){a=f;v[a+16>>2]=0;v[a+20>>2]=0;v[a+40>>2]=0;v[a+44>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=b;v[a+32>>2]=0;v[a+36>>2]=0;A[a+24>>3]=c;a=fm(a,e);d=v[a+4>>2];v[e>>2]=v[a>>2];v[e+4>>2]=d;d=v[a+44>>2];v[e+40>>2]=v[a+40>>2];v[e+44>>2]=d;d=v[a+36>>2];v[e+32>>2]=v[a+32>>2];v[e+36>>2]=d;d=v[a+28>>2];v[e+24>>2]=v[a+24>>2];v[e+28>>2]=d;d=v[a+20>>2];v[e+16>>2]=v[a+16>>2];v[e+20>>2]=d;d=v[a+12>>2];v[e+8>>2]=v[a+8>>2];v[e+12>>2]=d;break a}a=f;v[a+16>>2]=0;v[a+20>>2]=0;v[a+40>>2]=0;v[a+44>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;A[a>>3]=b;v[a+32>>2]=0;v[a+36>>2]=0;A[a+24>>3]=c;fm(e,a)}Qb=f+48|0}function eV(a){var b=0,c=0,d=0,e=0,f=0;e=Qb-16|0;Qb=e;b=Ub[v[259704]](60)|0;a:{if(!b){v[e>>2]=225274;oc(0,0,0,0,0,2,2,3,225274,0,0,0,350051,e);b=0;break a}v[b>>2]=0;v[b+4>>2]=0;c=b+8|0;v[c>>2]=0;v[c+4>>2]=0;v[b+56>>2]=0;v[b+48>>2]=0;v[b+52>>2]=0;v[b+40>>2]=0;v[b+44>>2]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+4>>2]=3;v[b+8>>2]=883676;if(a){c=a;while(1){d=c;c=d+1|0;if(w[d|0]){continue}break}c=0;d=d-a|0;b:{if((d|0)<0){break b}f=Ub[v[259707]](d+1|0)|0;if(!f){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break b}c=gc(f,a,d);t[d+c|0]=0}v[b+40>>2]=c}if(!v[294265]){break a}a=v[294262];if(!a){break a}Ub[a|0](b)}Qb=e+16|0;return b}function Bi(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Qb-16|0;Qb=d;if(!w[b+32|0]){Sn(b,c)}v[a>>2]=0;v[a+4>>2]=v[282402];a:{b=v[b+8>>2];b:{c:{if(b){c=v[v[b>>2]+28>>2];v[299999]=0;U(c|0,d+8|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break c}b=P()|0;O()|0;break b}v[d+8>>2]=0}v[299999]=0;Q(4344,a|0,d+8|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){b=v[d+8>>2];v[d+8>>2]=0;if(!b){break a}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;e=v[299999];v[299999]=0;if((e|0)!=1){if(c){break a}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}}W(0)|0;O()|0;lc();L()}b=P()|0;O()|0;ec(d+8|0)}ec(a);T(b|0);L()}b=a;a=v[a>>2];v[b+4>>2]=v[(a?a+12|0:1129608)>>2];Qb=d+16|0}function lq(a){var b=0,c=0,d=0,e=0;c=v[a+420>>2];a:{if(!c){break a}b=v[a+412>>2];if((b|0)<1){break a}b=B(b,24)+c|0;d=w[a+372|0];while(1){if(!(!w[c+16|0]|(d|0)!=w[c+12|0])){b=v[a+432>>2];if((b|0)>=v[a+436>>2]){v[a+12>>2]=130;return}v[a+432>>2]=b+1;b=v[a+440>>2]+(b<<4)|0;v[b>>2]=v[a+356>>2];d=v[a+364>>2];v[b+12>>2]=c;v[b+8>>2]=1;v[b+4>>2]=d+1;d=v[c>>2];b=d-1|0;b:{if(b>>>0>=3){v[a+12>>2]=132;break b}e=v[((b<<3)+a|0)+448>>2];if(!e){v[a+12>>2]=138;break b}b=v[((b<<3)+a|0)+452>>2];c=v[c+4>>2];if((b|0)<(c|0)){v[a+12>>2]=131;break b}v[a+368>>2]=b;v[a+360>>2]=e;v[a+364>>2]=c;v[a+356>>2]=d}t[a+380|0]=0;return}c=c+24|0;if(b>>>0>c>>>0){continue}break}}v[a+12>>2]=128}function kEa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=fc(1048);b=v[a+4>>2];v[d+8>>2]=b;v[d>>2]=896136;v[d+4>>2]=b;a:{if((b|0)<1){break a}e=b&3;a=0;if(b-1>>>0>=3){g=b&-4;while(1){b=a<<4;f=d+16|0;c=b+f|0;v[c+8>>2]=0;v[c+12>>2]=1072693248;v[c>>2]=0;v[c+4>>2]=0;c=f+(b|16)|0;v[c+8>>2]=0;v[c+12>>2]=1072693248;v[c>>2]=0;v[c+4>>2]=0;c=f+(b|32)|0;v[c+8>>2]=0;v[c+12>>2]=1072693248;v[c>>2]=0;v[c+4>>2]=0;b=f+(b|48)|0;v[b+8>>2]=0;v[b+12>>2]=1072693248;v[b>>2]=0;v[b+4>>2]=0;a=a+4|0;g=g-4|0;if(g){continue}break}}if(!e){break a}while(1){b=(a<<4)+d|0;v[b+24>>2]=0;v[b+28>>2]=1072693248;v[b+16>>2]=0;v[b+20>>2]=0;a=a+1|0;e=e-1|0;if(e){continue}break}}v[d+1040>>2]=0;return d|0}function ax(a){a=a|0;var b=0,c=0,d=0,e=0;c=Qb-32|0;Qb=c;a:{b:{b=v[a+24>>2];if(!b){a=vc(c+8|0,277221,241788,398,342056,0);v[299999]=0;R(4370,a|0);c=v[299999];v[299999]=0;if((c|0)!=1){break b}c=P()|0;O()|0;qc(a);T(c|0);L()}if(v[a+36>>2]>=1){d=v[a+28>>2];v[b+8>>2]=d;e=d;d=v[b+4>>2];b=e-d|0;b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);t[c+8|0]=b;t[c+9|0]=b>>>8;t[c+10|0]=b>>>16;t[c+11|0]=b>>>24;b=v[a+16>>2];Ub[v[v[b>>2]+20>>2]](b,d-4|0,0,0)|0;yr(v[a+16>>2],c+8|0,4);b=v[a+16>>2];Ub[v[v[b>>2]+20>>2]](b,v[a+28>>2],0,0)|0;b=v[a+24>>2]}v[a+32>>2]=v[b+8>>2];d=a;a=v[b>>2];v[d+24>>2]=a;if(w[a+20|0]?0:a){break a}dc(b);Qb=c+32|0;return}L()}X(276487,241788,418,262400);L()}function iKa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;e=Qb-16|0;Qb=e;f=v[b>>2];a:{if(!f){if(t[d+11|0]>=0){b=v[d+4>>2];v[a>>2]=v[d>>2];v[a+4>>2]=b;v[a+8>>2]=v[d+8>>2];break a}Ke(a,v[d>>2],v[d+4>>2]);break a}g=w[c+11|0];h=g<<24>>24<0;ks(e,h?v[c>>2]:c,h?v[c+4>>2]:g,0);v[299999]=0;c=zz(f+12|0,e);f=v[299999];v[299999]=0;b:{if((f|0)!=1){if(t[e+11|0]<=-1){dc(v[e>>2])}if((c|0)!=(v[b>>2]+16|0)){break b}if(t[d+11|0]>=0){b=v[d+4>>2];v[a>>2]=v[d>>2];v[a+4>>2]=b;v[a+8>>2]=v[d+8>>2];break a}Ke(a,v[d>>2],v[d+4>>2]);break a}a=P()|0;O()|0;if(t[e+11|0]<=-1){dc(v[e>>2])}T(a|0);L()}d=a;a=w[c+39|0];b=a<<24>>24<0;cn(d,b?v[c+28>>2]:c+28|0,b?v[c+32>>2]:a)}Qb=e+16|0}function Yga(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;v[a>>2]=0;a:{b:{c:{d:{if(b){v[299999]=0;c=S(1,36)|0;d=v[299999];v[299999]=0;if((d|0)==1){break d}v[299999]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c+4>>2]=0;v[c>>2]=990592;d=v[299999];v[299999]=0;if((d|0)==1){break c}d=c;v[c+16>>2]=0;v[c+20>>2]=8;v[c>>2]=990780;v[299999]=0;Z(4407,c+28|0,c+24|0,0,1)|0;e=v[299999];v[299999]=0;if((e|0)==1){b=P()|0;O()|0;ec(c+16|0);Ag(d);break b}v[299999]=0;Q(4336,a|0,c|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break d}v[299999]=0;e=S(1,b+1|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break d}v[c+8>>2]=b;v[c+12>>2]=e;t[b+e|0]=0}return}b=P()|0;O()|0;break a}b=P()|0;O()|0}dc(c)}ec(a);T(b|0);L()}function LA(a,b,c,d){var e=0,f=0,g=0;if(!w[a+3748|0]){while(1){e=g>>>1|0;e=g&1?e^-306674912:e;f=e>>>1|0;e=e&1?f^-306674912:f;f=e>>>1|0;e=e&1?f^-306674912:f;f=e>>>1|0;e=e&1?f^-306674912:f;f=e>>>1|0;e=e&1?f^-306674912:f;f=e>>>1|0;e=e&1?f^-306674912:f;f=e>>>1|0;e=e&1?f^-306674912:f;f=e>>>1|0;v[((g<<2)+a|0)+2724>>2]=e&1?f^-306674912:f;g=g+1|0;if((g|0)!=256){continue}break}t[a+3748|0]=1}a:{if((d|0)<1){break a}f=d&1;b:{if((d|0)==1){g=0;break b}d=d&-2;g=0;e=a+2724|0;while(1){b=v[e+((w[c+g|0]^b&255)<<2)>>2]^b>>>8;b=v[e+((w[(g|1)+c|0]^b&255)<<2)>>2]^b>>>8;g=g+2|0;d=d-2|0;if(d){continue}break}}if(!f){break a}b=v[(((w[c+g|0]^b&255)<<2)+a|0)+2724>>2]^b>>>8}return b}function Twa(a){a=a|0;var b=0,c=0;v[a+32780>>2]=0;v[a+32784>>2]=0;v[a+34084>>2]=0;v[a+34092>>2]=1;v[a+34096>>2]=1;b=a+32788|0;v[b>>2]=0;v[b+4>>2]=0;b=v[a+4>>2];Ub[v[v[b>>2]+20>>2]](b);b=v[a+8>>2];if(b){ic(v[b+32>>2],0,v[b+28>>2]);v[b+36>>2]=v[b+28>>2]}v[a+34092>>2]=1;v[a+34096>>2]=1;b=v[a+4>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;c=v[a+4>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;v[a+34112>>2]=0;v[a+34116>>2]=0;v[a+34104>>2]=2;v[a+34108>>2]=0;if(!((b|0)==-1|(c|0)==-1)){if((b&15)!=8){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,257257,0);return}if((c+(b<<8)|0)%31|0){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,257335,0);return}if(c&32){kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,257070,0);return}v[a+34096>>2]=0}}function vZ(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=v[a+28>>2];a:{if((c|0)==-1){break a}d=v[a+36>>2];f=v[a+40>>2];if(d>>>0>=f>>>0){break a}g=v[a>>2];e=c+1|0;h=v[a+16>>2]+20|0;while(1){b:{c=B(d,12)+h|0;b=c-4|0;b=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);e=b>>>0>e>>>0?b:e;b=c;b=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);if(e>>>0>(b<<24|b<<8&16711680|(b>>>8&65280|b>>>24))>>>0){break b}c=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(!c|c>>>0>=y[g+16>>2]){break b}v[a+36>>2]=d;v[a+32>>2]=c;v[a+28>>2]=e;return}d=d+1|0;if((f|0)!=(d|0)){continue}break}}t[a+24|0]=0}function iX(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0;h=v[a+16>>2];if((h|0)!=v[a+24>>2]){h=(h+v[a+12>>2]|0)-1|0;t[h|0]=w[h|0]&253;h=v[a+20>>2];i=v[a+16>>2];j=i+3|0;a:{if((h|0)>=(j|0)){h=v[a+12>>2];break a}if(!h){v[a+20>>2]=32;h=32}if((h|0)<(j|0)){while(1){h=h<<1;if((j|0)>(h|0)){continue}break}v[a+20>>2]=h}k=a,l=be(v[a+8>>2],h<<4),v[k+8>>2]=l;h=be(v[a+12>>2],v[a+20>>2]);v[a+12>>2]=h;i=v[a+16>>2]}j=v[a+8>>2]+(i<<4)|0;A[j+8>>3]=c;A[j>>3]=b;t[h+i|0]=8;h=v[a+16>>2]+1|0;v[a+16>>2]=h;i=v[a+8>>2]+(h<<4)|0;A[i+8>>3]=e;A[i>>3]=d;t[h+v[a+12>>2]|0]=8;h=v[a+16>>2]+1|0;v[a+16>>2]=h;i=v[a+8>>2]+(h<<4)|0;A[i+8>>3]=g;A[i>>3]=f;t[h+v[a+12>>2]|0]=2;v[a+16>>2]=v[a+16>>2]+1}}function hDa(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,p=0,q=0,r=0,s=0;c=v[a+28>>2];e=v[c+596>>2];if(!(v[e+28>>2]>0|v[e>>2])){b=-1;a=v[a+108>>2];a:{if(!a){break a}a=v[a+4>>2];if(v[a+8>>2]==13){break a}a=v[a+16>>2];b=Ub[v[v[a>>2]+52>>2]](a)|0}kc(1,b,243486,0);return}g=A[b+24>>3];a=v[b+24>>2];h=A[b+40>>3];i=v[b+40>>2];j=A[b+56>>3];k=v[b+56>>2];d=A[b+72>>3];l=v[b+72>>2];m=A[b+8>>3];n=v[b+8>>2];o=v[b>>2];p=v[b+16>>2];q=v[b+32>>2];r=v[b+48>>2];s=v[b+64>>2];f=v[b+80>>2]==1?+v[b+88>>2]:A[b+88>>3];A[c+608>>3]=f;d=(s|0)==1?+(l|0):d;A[c+600>>3]=d;$k(e,(o|0)==1?+(n|0):m,(p|0)==1?+(a|0):g,(q|0)==1?+(i|0):h,(r|0)==1?+(k|0):j,d,f)}function c0(a,b,c,d){var e=0,f=0,g=0,h=0;e=Qb-16|0;Qb=e;a:{if(!d){break a}v[d>>2]=0;if(!a){break a}f=e+12|0;g=e+8|0;h=e+4|0;if(a){if(f){v[f>>2]=v[a>>2]}if(g){v[g>>2]=v[a+4>>2]}if(h){v[h>>2]=v[a+8>>2]}}if((b|0)<0|v[e+12>>2]<=(b|0)|((c|0)<0|v[e+8>>2]<=(c|0))){break a}f=a?v[a+12>>2]:-1;a=(B(c,f)<<2)+(a?v[a+40>>2]:0)|0;b:{c:{switch(v[e+4>>2]-1|0){case 0:a=v[a+(b>>>3&536870908)>>2]>>>(b^-1)&1;break b;case 1:a=v[a+(b>>>2&1073741820)>>2]>>>((b<<1^-1)&30)&3;break b;case 3:a=v[a+(b>>>1&2147483644)>>2]>>>((b<<2^-1)&28)&15;break b;case 7:a=w[a+b^3];break b;case 15:a=x[(a+(b<<1)^2)>>1];break b;case 31:break c;default:break a}}a=v[a+(b<<2)>>2]}v[d>>2]=a}Qb=e+16|0}function XHa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=Qb-32|0;Qb=c;b=v[v[a+4>>2]>>2];a:{if(!b){break a}b=v[b+32>>2];if(!b){break a}f=v[b>>2];if(!f){break a}v[c+16>>2]=1e3;v[c+8>>2]=885348;d=jc(1e3);v[c+12>>2]=d;v[d>>2]=0;b=4;v[c+24>>2]=4;v[c+20>>2]=d+4;g=v[f+8>>2];if((g|0)>0){b:{while(1){c:{d=v[v[f>>2]+(e<<2)>>2];if(d){b=v[v[a+4>>2]>>2];v[299999]=0;$(3052,b|0,d|0,c+8|0,1);b=v[299999];v[299999]=0;if((b|0)==1){break c}}e=e+1|0;if((g|0)!=(e|0)){continue}break b}break}b=P()|0;O()|0;v[c+8>>2]=885348;a=v[c+12>>2];if(a){dc(a)}T(b|0);L()}b=v[c+24>>2];a=v[c+12>>2]}else{a=d}t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;e=v[c+12>>2]}Qb=c+32|0;return e|0}function Fqa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=Qb-32|0;Qb=e;f=-1;a:{b:{c:{d:{e:{switch(c|0){case 0:c=v[a+20>>2];break d;case 2:break c;case 1:break e;default:break a}}c=v[a+20>>2];b=c+b|0}if((b|0)<(c|0)){d=v[a+540>>2];f:{if((d+b|0)>=(c|0)){v[a+540>>2]=d+(b-c|0);break f}v[a+536>>2]=0}v[a+20>>2]=b;f=0;break a}f=0;if((b|0)<=(c|0)){break a}v[a+20>>2]=b-1;v[a+540>>2]=v[a+540>>2]+((c^-1)+b|0);if(Ub[v[v[a>>2]+8>>2]](a,e+31|0,1)|0){break a}a=vc(e,v[282394],241879,1782,339426,0);break b}if(d){break a}a=vc(e,286784,241879,1789,339426,0)}v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)==1){b=P()|0;O()|0;qc(a);T(b|0)}L()}Qb=e+32|0;return f|0}function s3a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;e=v[a+712>>2];a:{b:{if(!e){break b}f=v[e+1504>>2];a=6;if((f|0)==65535){break a}if(b){a=v[e+3096>>2];if(!a){h=e;c:{if(f>>>0>=391){f=f-391|0;g=0;if(f>>>0>=y[e+1356>>2]){break c}g=v[v[e+1360>>2]+(f<<2)>>2];break c}a=v[e+3084>>2];g=0;if(!a){break c}g=Ub[v[a+20>>2]](f)|0}a=g;v[h+3096>>2]=a}v[b>>2]=a}if(c){a=v[e+3100>>2];if(!a){a=0;b=v[e+1508>>2];d:{if((b|0)==65535){break d}if(b>>>0>=391){b=b-391|0;if(b>>>0>=y[e+1356>>2]){break d}a=v[v[e+1360>>2]+(b<<2)>>2];break d}f=v[e+3084>>2];if(!f){break d}a=Ub[v[f+20>>2]](b)|0}v[e+3100>>2]=a}v[c>>2]=a}if(!d){break b}v[d>>2]=v[e+1512>>2]}a=0}return a|0}function kM(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{c=a>>>14&1023;if(c){f=wp((+(c|0)+.5)*.010830424696249145+-8.317766166719343);if(!(f<=0)){break a}}v[b+8>>2]=0;v[b>>2]=0;v[b+4>>2]=0;return}h=a&16383;b:{if(h>>>0>16288){e=.210526316;d=.473684211;break b}i=163;a=0;c:{d:{while(1){c=a+i>>1;j=h-u[(c<<3)+82806>>1]|0;e:{if((j|0)>0){a=c;break e}if((j|0)>-1){break d}i=c}if((i-a|0)>1){continue}break}c=a;d=(+(h-u[(c<<3)+82806>>1]|0)+.5)*.0035000001080334187;break c}d=.0017500000540167093}e=d+ +z[(c<<3)+82800>>2];d=(+(c|0)+.5)*.0035000001080334187+.016939999535679817}z[b+4>>2]=f;g=e*9;e=1/(e*6+d*-16+12);g=g*e;d=d*4*e;z[b>>2]=f*(g/d);z[b+8>>2]=f*((1-g-d)/d)}function REa(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;a=ic(a,0,256);d=v[b>>2]+c|0;e=w[d+3|0];h=w[d|0];f=e+h|0;g=w[d+2|0];d=w[d+1|0];i=g+d|0;j=f-i<<5;v[a+8>>2]=j;f=f+i<<5;v[a>>2]=f-16384;g=d-g|0;e=h-e|0;d=B(g+e|0,4433)+128|0;h=d+B(g,-15137)>>8;v[a+12>>2]=h;d=d+B(e,6270)>>8;v[a+4>>2]=d;e=j|2;b=v[b+4>>2]+c|0;c=w[b+3|0];g=w[b|0];i=c+g|0;j=w[b+2|0];b=w[b+1|0];k=j+b|0;l=i-k<<5;v[a+40>>2]=e-l>>2;v[a+8>>2]=e+l>>2;e=f-16382|0;f=(i+k<<5)-16384|0;v[a+32>>2]=e-f>>2;v[a>>2]=e+f>>2;e=b-j|0;c=g-c|0;b=B(e+c|0,4433)+128|0;d=d+2|0;c=b+B(c,6270)>>8;v[a+36>>2]=d-c>>2;v[a+4>>2]=c+d>>2;c=h+2|0;b=b+B(e,-15137)>>8;v[a+44>>2]=c-b>>2;v[a+12>>2]=b+c>>2}function Hdb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=v[v[a+536>>2]+88>>2];d=(v[d+1176>>2]+B(v[d+1168>>2],v[a+572>>2])|0)+B(v[d+1164>>2],v[a+580>>2])|0;e=v[a+644>>2];a:{b:{c:{switch(w[a+2253|0]){case 0:case 4:break a;case 1:break c;default:break b}}if(v[a+588>>2]<=0){break b}while(1){b=w[d|0]|w[d+1|0]<<8;c=(b<<8|b>>>8)&65535;b=w[e|0]|w[e+1|0]<<8;b=c+((b<<8|b>>>8)&65535)&65535;b=b<<8|b>>>8;t[d|0]=b;t[d+1|0]=b>>>8;b=d+2|0;c=w[b|0]|w[b+1|0]<<8;g=(c<<8|c>>>8)&65535;c=w[e+2|0]|w[e+3|0]<<8;c=g+((c<<8|c>>>8)&65535)&65535;c=c<<8|c>>>8;t[b|0]=c;t[b+1|0]=c>>>8;e=e+4|0;d=d+4|0;f=f+1|0;if((f|0)>2]){continue}break}}return 0}gc(d,e,v[a+588>>2]<<2);return 0}function Xbb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=v[a+636>>2]+v[a+616>>2]|0;b=v[a+644>>2];d=v[a+540>>2];if(!d){d=v[v[a+528>>2]+88>>2]}a:{if(w[d+56|0]){if(v[a+588>>2]<=0){break a}while(1){f=w[c+2|0];g=w[c|0];h=w[c+1|0];b:{if(!((g|0)!=x[d+838>>1]|(h|0)!=x[d+840>>1]|x[d+842>>1]!=(f|0))){t[b|0]=0;t[b+1|0]=0;t[b+2|0]=0;t[b+3|0]=0;break b}t[b+3|0]=255;t[b+2|0]=f;t[b+1|0]=h;t[b|0]=g}b=b+4|0;c=c+3|0;e=e+1|0;if((e|0)>2]){continue}break}e=0;break a}d=0;if(v[a+588>>2]<=0){e=1;break a}while(1){t[b|0]=w[c|0];t[b+1|0]=w[c+1|0];e=w[c+2|0];t[b+3|0]=255;t[b+2|0]=e;b=b+4|0;c=c+3|0;e=1;d=d+1|0;if((d|0)>2]){continue}break}}t[a+649|0]=e;return 0}function Bta(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;f=v[b+4>>2];a:{b:{if(f){g=b+4|0;while(1){e=f+16|0;c:{if(Sl(c,e)){e=v[f>>2];if(e){break c}break b}if(!Sl(e,c)){break a}g=f+4|0;e=v[f+4>>2];if(!e){break a}f=g}g=f;f=e;continue}}f=b+4|0}g=f}h=a;e=v[g>>2];if(e){b=0}else{e=fc(40);v[299999]=0;c=Yk(e+16|0,d);i=v[299999];v[299999]=0;d:{e:{if((i|0)!=1){v[299999]=0;Yk(e+28|0,d+12|0);d=v[299999];v[299999]=0;if((d|0)!=1){break d}f=P()|0;O()|0;xc(c);break e}f=P()|0;O()|0}dc(e);T(f|0);L()}v[e+8>>2]=f;v[e>>2]=0;v[e+4>>2]=0;v[g>>2]=e;c=v[v[b>>2]>>2];if(c){v[b>>2]=c;c=v[g>>2]}else{c=e}Uc(v[b+4>>2],c);v[b+8>>2]=v[b+8>>2]+1;b=1}t[h+4|0]=b;v[a>>2]=e}function aZ(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;f=v[a>>2];if(!f){return 65536}g=65536;a:{if(!(b&16384)){while(1){b=g;e=i<<2;d=v[e+c>>2];b:{if(!d){break b}g=0;e=v[e+v[a+8>>2]>>2];if(!e){break a}if((d|0)==(e|0)){g=b;break b}if((e|0)<(d&d>>31)|(e|0)>(((d|0)>0?d:0)|0)){break a}g=jd(b,e,d);f=v[a>>2]}i=i+1|0;if(i>>>0>>0){continue}break a}}while(1){f=g;h=i<<2;k=v[h+c>>2];b=f;c:{if(!k){break c}g=0;j=v[h+v[a+8>>2]>>2];if(!j){break a}b=f;if((j|0)==(k|0)){break c}b=v[d+h>>2];if((j|0)<=(b|0)){break a}h=v[e+h>>2];if((h|0)<=(j|0)){break a}if((j|0)<(k|0)){b=jd(f,j-b|0,k-b|0);break c}b=jd(f,h-j|0,h-k|0)}g=b;i=i+1|0;if(i>>>0>2]){continue}break}}return g}function Ita(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=Qb-16|0;Qb=e;v[a+4>>2]=0;v[a+8>>2]=0;c=a+16|0;v[c>>2]=0;v[c+4>>2]=0;v[a>>2]=a+4;d=a+28|0;v[d>>2]=0;v[d+4>>2]=0;v[a+12>>2]=c;v[a+24>>2]=d;v[299999]=0;c=S(4275,e+8|0)|0;d=v[299999];v[299999]=0;a:{b:{if((d|0)!=1){v[299999]=0;b=Q(4096,c|0,b|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break b}if(b){v[299999]=0;V(4276,a|0,c|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}}v[c>>2]=878696;b=v[c+4>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}Qb=e+16|0;return a|0}b=P()|0;O()|0;break a}b=P()|0;O()|0;v[c>>2]=878696;c=v[c+4>>2];if(c){Ub[v[v[c>>2]+4>>2]](c)}}Yn(a+24|0,v[a+28>>2]);Ut(a+12|0,v[a+16>>2]);Yn(a,v[a+4>>2]);T(b|0);L()}function xab(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,j=0,k=0,l=0,m=0;if(e){m=e-1|0;while(1){u[g>>1]=x[f>>1];u[g+2>>1]=x[f+2>>1];h=g+4|0;a=j?(j|0)==(m|0)?d:b:c;a:{if(a>>>0<2){g=h;break a}i=a-1|0;k=i&3;b:{if(a-2>>>0<3){i=h;a=g;break b}l=i&-4;a=g;while(1){u[h>>1]=x[f>>1];u[a+6>>1]=x[f+2>>1];u[h+4>>1]=x[f>>1];u[h+6>>1]=x[f+2>>1];u[h+8>>1]=x[f>>1];u[h+10>>1]=x[f+2>>1];u[h+12>>1]=x[f>>1];u[h+14>>1]=x[f+2>>1];a=h+12|0;i=h+16|0;h=i;l=l-4|0;if(l){continue}break}}g=i;if(!k){break a}while(1){h=g;u[h>>1]=x[f>>1];u[a+6>>1]=x[f+2>>1];g=h+4|0;a=h;k=k-1|0;if(k){continue}break}}f=f+4|0;j=j+1|0;if((j|0)!=(e|0)){continue}break}}return 0}function tx(a){a=a|0;var b=0,c=0,d=0;c=Qb-32|0;Qb=c;v[a>>2]=984544;v[a+4>>2]=0;v[299999]=0;b=ga(4695)|0;d=v[299999];v[299999]=0;a:{if((d|0)!=1){v[299999]=0;b=v[v[b+48>>2]+((a>>>0)%y[b+44>>2]<<2)>>2];d=v[299999];v[299999]=0;b:{c:{d:{if((d|0)!=1){if(b){while(1){if(v[b+12>>2]==(a|0)&v[b+16>>2]==(a|0)){break b}b=v[b+8>>2];if(b){continue}break}}v[299999]=0;c=aa(4369,c+8|0,292914,240968,214,341754,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break d}v[299999]=0;R(4370,c|0);b=v[299999];v[299999]=0;if((b|0)==1){break c}L()}b=P()|0;O()|0;break a}b=P()|0;O()|0;break a}b=P()|0;O()|0;qc(c);break a}v[b+20>>2]=a;Qb=c+32|0;return a|0}b=P()|0;O()|0}Qc(a);T(b|0);L()}function oE(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0;a:{if(a){b:{c:{if((b|0)<0|(c|0)<1|((d|0)<0|(e|0)<0)){break c}if((f|0)<0|(g|0)<0|(h|0)<0){break c}j=1;if((i|0)>-1){break b}}Gc(a,28588);j=0}if((1e5-c|0)<(b|0)){Gc(a,29861);j=0}if((1e5-e|0)<(d|0)){Gc(a,31335);j=0}if((1e5-g|0)<(f|0)){Gc(a,32652);j=0}if((1e5-i|0)<(h|0)){Gc(a,34278);j=0}b=f-d|0;k=b>>>16|0;l=i-e|0;m=l&65535;i=b&65535;n=B(m,i);b=g-e|0;o=b>>>16|0;f=h-d|0;c=f&65535;e=b&65535;g=B(c,e);b=l>>>16|0;d=B(k,m)+B(i,b)+(n>>>16)|0;h=(d>>>16|0)+B(b,k)|0;b=B(c,o);c=f>>>16|0;b=b+B(e,c)+(g>>>16)|0;if((h|0)!=((b>>>16|0)+B(c,o)|0)|(n&65535|d<<16)!=(g&65535|b<<16)){break a}Gc(a,36465)}j=0}return j}function lba(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,h=0,i=0,j=0;a=Qb-32|0;Qb=a;v[a+24>>2]=37;v[a+28>>2]=0;h=a+24|0;Gn(h|1,260484,1,v[c+4>>2]);j=v[c+4>>2];g=a-32|0;Qb=g;i=pg();v[a>>2]=e;v[a+4>>2]=f;h=Mh(g,(j>>>9&1)+23|0,i,h,a)+g|0;j=hj(g,h,c);f=g-48|0;Qb=f;i=a+8|0;e=v[c+28>>2];v[i>>2]=e;v[e+4>>2]=v[e+4>>2]+1;v[299999]=0;la(5578,g|0,j|0,h|0,f|0,a+20|0,a+16|0,i|0);e=v[299999];v[299999]=0;if((e|0)!=1){e=v[a+8>>2];g=v[e+4>>2]-1|0;v[e+4>>2]=g;if((g|0)==-1){Ub[v[v[e>>2]+8>>2]](e)}b=Vq(b,f,v[a+20>>2],v[a+16>>2],c,d);Qb=a+32|0;return b|0}c=P()|0;O()|0;a=v[a+8>>2];b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}T(c|0);L()}function jba(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,h=0,i=0,j=0;a=Qb-32|0;Qb=a;v[a+24>>2]=37;v[a+28>>2]=0;h=a+24|0;Gn(h|1,260484,0,v[c+4>>2]);j=v[c+4>>2];g=a-32|0;Qb=g;i=pg();v[a>>2]=e;v[a+4>>2]=f;h=Mh(g,(j>>>9&1)+23|0,i,h,a)+g|0;j=hj(g,h,c);f=g-48|0;Qb=f;i=a+8|0;e=v[c+28>>2];v[i>>2]=e;v[e+4>>2]=v[e+4>>2]+1;v[299999]=0;la(5578,g|0,j|0,h|0,f|0,a+20|0,a+16|0,i|0);e=v[299999];v[299999]=0;if((e|0)!=1){e=v[a+8>>2];g=v[e+4>>2]-1|0;v[e+4>>2]=g;if((g|0)==-1){Ub[v[v[e>>2]+8>>2]](e)}b=Vq(b,f,v[a+20>>2],v[a+16>>2],c,d);Qb=a+32|0;return b|0}c=P()|0;O()|0;a=v[a+8>>2];b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}T(c|0);L()}function dYa(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,n=0,o=0,p=0,q=0,r=0,s=0,u=0;a:{if((e|0)<1){break a}i=v[a+112>>2];if(!i){break a}g=v[a+332>>2];a=v[a+476>>2];k=v[a+20>>2];l=v[a+16>>2];m=v[a+12>>2];n=v[a+8>>2];while(1){o=c+1|0;p=e-1|0;a=c<<2;q=v[a+v[b+12>>2]>>2];r=v[a+v[b+8>>2]>>2];s=v[a+v[b+4>>2]>>2];u=v[a+v[b>>2]>>2];c=v[d>>2];a=0;while(1){f=w[a+s|0];h=w[a+u|0]^255;j=w[a+r|0]<<2;t[c|0]=w[(h-v[j+n>>2]|0)+g|0];f=f<<2;t[c+1|0]=w[(h-(v[l+j>>2]+v[f+k>>2]>>16)|0)+g|0];t[c+2|0]=w[(h-v[f+m>>2]|0)+g|0];t[c+3|0]=w[a+q|0];c=c+4|0;a=a+1|0;if((i|0)!=(a|0)){continue}break}d=d+4|0;a=(e|0)>1;e=p;c=o;if(a){continue}break}}}function Y_(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{e=d>>31;f=e+d^e;e=a>>31;if((f+(e+a^e)|0)>131071){break a}e=c>>31;f=e+c^e;e=b>>31;if((f+(e+b^e)|0)>131071){break a}a=B(a,d);b=B(b,c);return(a|0)>(b|0)?1:(a|0)<(b|0)?-1:0}f=d&65535;g=a>>>16|0;h=d>>>16|0;a=a&65535;i=B(h,a);d=B(f,g)+i|0;e=d<<16;j=c>>>16|0;k=b&65535;l=B(j,k);m=c&65535;n=b>>>16|0;b=l+B(m,n)|0;c=b<<16;g=(B(g,h)+(d>>>16|0)|0)+((d>>>0>>0)<<16)|0;d=e+B(a,f)|0;e=g+(d>>>0>>0)|0;a=(B(n,j)+(b>>>16|0)|0)+((b>>>0>>0)<<16)|0;b=c+B(m,k)|0;c=a+(b>>>0>>0)|0;a=1;b:{if(e>>>0>c>>>0){break b}a=-1;if(c>>>0>e>>>0){break b}a=1;if(b>>>0>>0){break b}a=b>>>0>d>>>0?-1:0}return a}function tJa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=Qb-32|0;Qb=e;a:{if(!a){break a}f=v[a+8>>2];if(!f){break a}if(!(c|d)){if(v[a+172>>2]==-1?v[a+212>>2]:0){break a}v[a+84>>2]=105;v[e+4>>2]=0;v[e>>2]=b;oc(0,0,0,a,0,1,105,3,b,0,0,0,351609,e);v[a+100>>2]=0;v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1;break a}b:{switch(v[a+216>>2]-1|0){case 0:MU(a+108|0,v[f+44>>2],b,c,d);break a;case 1:MU(a+108|0,v[f+48>>2],b,c,d);break a;default:break b}}if(v[a+172>>2]==-1?v[a+212>>2]:0){break a}v[a+84>>2]=105;v[e+20>>2]=0;v[e+16>>2]=b;oc(0,0,0,a,0,1,105,3,b,0,0,0,348490,e+16|0);v[a+100>>2]=0;v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1}Qb=e+32|0}function fBa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=fc(144);d=A[a+48>>3];e=A[a+56>>3];c=v[a+12>>2];f=v[a+8>>2];v[b+4>>2]=1;v[b+128>>2]=13;v[b+64>>2]=13;v[b>>2]=897508;v[b+8>>2]=f;v[b+12>>2]=c;A[b+16>>3]=A[a+16>>3];A[b+24>>3]=A[a+24>>3];A[b+32>>3]=A[a+32>>3];A[b+40>>3]=A[a+40>>3];A[b+56>>3]=e;A[b+48>>3]=d;v[299999]=0;Q(3314,a- -64|0,b- -64|0)|0;c=v[299999];v[299999]=0;a:{if((c|0)==1){break a}A[b+80>>3]=A[a+80>>3];A[b+88>>3]=A[a+88>>3];A[b+96>>3]=A[a+96>>3];A[b+104>>3]=A[a+104>>3];A[b+112>>3]=A[a+112>>3];A[b+120>>3]=A[a+120>>3];v[299999]=0;Q(3314,a+128|0,b+128|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break a}return b|0}a=P()|0;O()|0;dc(b);T(a|0);L()}function Xhb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=-1;b=a;a:{b:{if(Of(c,a+12|0)){break b}if(bi(c,b+16|0)){break b}a=v[c+8>>2];if(a&7){break b}d=v[c+64>>2];if(!((d|0)<0|(d|0)>v[c+60>>2])){break a}d=-1;a=v[c+28>>2];v[c+28>>2]=a-1;c:{if((a|0)>=1){v[c+60>>2]=v[c+60>>2]+1;a=v[c+24>>2];v[c+24>>2]=a+1;a=w[a|0];break c}a=Hc(c,1);if((a|0)==-1){break b}}t[b+20|0]=a;a=v[c+8>>2];if(a&7){break b}d=v[c+64>>2];if(!((d|0)<0|(d|0)>v[c+60>>2])){break a}d=-1;a=v[c+28>>2];v[c+28>>2]=a-1;d:{if((a|0)>=1){v[c+60>>2]=v[c+60>>2]+1;a=v[c+24>>2];v[c+24>>2]=a+1;a=w[a|0];break d}a=Hc(c,1);if((a|0)==-1){break b}}t[b+21|0]=a;d=0-(v[c+8>>2]&1)|0}return d|0}v[c+8>>2]=a|4;return-1}function Q4a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=v[a>>2];c=v[a+436>>2];v[d+24>>2]=c;v[d+20>>2]=124;v[v[a>>2]+28>>2]=b;Ub[v[v[a>>2]+4>>2]](a,-1);d=b+6&7|208;f=b-1&7|208;g=b+2&7|208;b=b+1&7|208;while(1){a:{b:{if((c|0)<192){break b}if((b|0)==(c|0)|(c&-8)!=208|(c|0)==(g|0)){break a}if((c|0)==(f|0)|(c|0)==(d|0)){break b}b=v[a>>2];v[b+24>>2]=c;v[b+20>>2]=99;v[v[a>>2]+28>>2]=1;Ub[v[v[a>>2]+4>>2]](a,4);v[a+436>>2]=0;return 1}e=v[a>>2];v[e+24>>2]=c;v[e+20>>2]=99;v[v[a>>2]+28>>2]=2;Ub[v[v[a>>2]+4>>2]](a,4);if(jI(a)){c=v[a+436>>2];continue}else{return 0}}break}b=v[a>>2];v[b+24>>2]=c;v[b+20>>2]=99;v[v[a>>2]+28>>2]=3;Ub[v[v[a>>2]+4>>2]](a,4);return 1}function Kfa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=Qb-32|0;Qb=d;a:{b:{c:{if(((v[a+44>>2]-v[a+40>>2]|0)+1|0)>=1){a=vc(d+8|0,233331,242139,193,344233,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break c}break a}if(v[a+20>>2]){a=vc(d+8|0,283355,242139,195,344233,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break c}break a}Si(a+20|0,b);c=v[b>>2];f=((v[c+16>>2]+v[c+44>>2]|0)-v[c+40>>2]|0)+1|0;v[a+16>>2]=f;if((f|0)<=0){break b}while(1){c=v[Ww(c,e)+4>>2];if(v[c+64>>2]?0:c){v[c+64>>2]=((c^c>>>5)&7)+1178976}e=e+1|0;if((e|0)>=v[a+16>>2]){break b}c=v[b>>2];continue}}L()}Qb=d+32|0;return}b=P()|0;O()|0;qc(a);T(b|0);L()}function AIa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=Qb-16|0;Qb=d;b=Ub[v[259704]](64)|0;a:{if(!b){v[d>>2]=291415;oc(0,0,0,0,0,23,2,3,291415,0,0,0,350051,d);break a}v[b>>2]=0;v[b+4>>2]=0;v[b+56>>2]=0;v[b+60>>2]=0;v[b+48>>2]=0;v[b+52>>2]=0;v[b+40>>2]=0;v[b+44>>2]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b+4>>2]=16;v[b+40>>2]=v[a+40>>2];v[b+44>>2]=v[a+44>>2];e=b,f=PU(v[a+52>>2]),v[e+52>>2]=f;c=v[a+60>>2];if(c){e=b,f=we(c),v[e+60>>2]=f}c=v[a+8>>2];if(c){e=b,f=we(c),v[e+8>>2]=f}c=v[a+56>>2];if(c){e=b,f=we(c),v[e+56>>2]=f}a=v[a+48>>2];if(a){e=b,f=we(a),v[e+48>>2]=f}c=b}Qb=d+16|0;return c|0}function nSa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;f=c-b|0;g=f>>3;e=v[a+8>>2];d=v[a>>2];if(g>>>0<=e-d>>3>>>0){f=v[a+4>>2];e=f-d|0;h=e>>3;e=g>>>0>h>>>0?b+e|0:c;if((e|0)!=(b|0)){while(1){v[d>>2]=v[b>>2];v[d+4>>2]=v[b+4>>2];d=d+8|0;b=b+8|0;if((e|0)!=(b|0)){continue}break}}if(g>>>0>h>>>0){b=c-e|0;if((b|0)>=1){f=gc(f,e,b)+b|0}v[a+4>>2]=f;return}v[a+4>>2]=d;return}if(d){v[a+4>>2]=d;dc(d);v[a+8>>2]=0;v[a>>2]=0;v[a+4>>2]=0;e=0}a:{if((f|0)<=-1){break a}c=e>>2;c=e>>3>>>0<268435455?c>>>0>>0?g:c:536870911;if(c>>>0>=536870912){break a}d=c<<3;c=fc(d);v[a>>2]=c;v[a+4>>2]=c;v[a+8>>2]=c+d;if((f|0)>=1){c=gc(c,b,f)+f|0}v[a+4>>2]=c;return}ue(a);L()}function kqa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Qb-16|0;Qb=c;v[a>>2]=0;v[a+4>>2]=v[282402];a:{b=v[b>>2];b:{if(b){d=v[v[b>>2]+28>>2];v[299999]=0;U(d|0,c+8|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break b}b=P()|0;O()|0;break a}v[c+8>>2]=0}v[299999]=0;Q(4344,a|0,c+8|0)|0;b=v[299999];v[299999]=0;c:{if((b|0)!=1){b=v[c+8>>2];v[c+8>>2]=0;if(!b){break c}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)!=1){if(d){break c}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break c}}W(0)|0;O()|0;lc();L()}b=P()|0;O()|0;ec(c+8|0);break a}b=v[a>>2];v[a+4>>2]=v[(b?b+12|0:1129608)>>2];Qb=c+16|0;return a|0}ec(a);T(b|0);L()}function hJa(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,j=C(0),k=0,l=0,m=0,n=0;i=Qb-256|0;Qb=i;if(g){l=(e<<2)+c|0;a=v[a+416>>2];e=v[(a+(v[b+16>>2]<<2)|0)+140>>2];m=v[(a+(v[b+4>>2]<<2)|0)+100>>2];c=0;while(1){Ub[m|0](i,l,f);a=0;while(1){k=(c<<7)+d|0;n=k+(a<<1)|0;h=a<<2;j=C(C(z[h+i>>2]*z[e+h>>2])+C(16384.5));a:{if(C(D(j))>1]=h-16384;h=a|1;k=(h<<1)+k|0;h=h<<2;j=C(C(z[h+i>>2]*z[e+h>>2])+C(16384.5));b:{if(C(D(j))>1]=h-16384;a=a+2|0;if((a|0)!=64){continue}break}f=v[b+36>>2]+f|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}Qb=i+256|0}function VQ(a,b,c){var d=0,e=0;d=Qb-272|0;Qb=d;e=v[a+200>>2];if(e&1){a:{if(e&4){Gc(a,43185);td(a,c);break a}if(e&2){Gc(a,43844)}if(!(!b|(v[b+8>>2]&2049)!=1)){Gc(a,44592);td(a,c);break a}if((c|0)!=4){Gc(a,45242);td(a,c);break a}c=d+268|0;yf(a,c,4);kd(a,c,4);if(td(a,0)){break a}c=w[d+268|0]|w[d+269|0]<<8|(w[d+270|0]<<16|w[d+271|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=(c|0)>-1?c:-1;if((c|0)<=0){Gc(a,46366);break a}if(!(!b|!(w[b+9|0]&8)|c-45e3>>>0<1001)){Ej(d,1,5,c);Jp(a,d,46605);break a}v[a+460>>2]=c;b:{if(!a|!b){break b}if(c-16>>>0>=624999985){Gc(a,31841);break b}v[b+40>>2]=c;v[b+8>>2]=v[b+8>>2]|1}}Qb=d+272|0;return}hd(a,42317);L()}function Gdb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=v[v[a+536>>2]+88>>2];c=(v[c+1176>>2]+B(v[c+1168>>2],v[a+572>>2])|0)+B(v[c+1164>>2],v[a+580>>2])|0;d=v[a+644>>2];a:{b:{switch(w[a+2253|0]-3|0){case 0:if(v[a+588>>2]<=0){break a}while(1){b=w[c|0]|w[c+1|0]<<8;f=(b<<8|b>>>8)&65535;b=w[d|0]|w[d+1|0]<<8;b=f+((b<<8|b>>>8)&65535)&65535;b=b<<8|b>>>8;t[c|0]=b;t[c+1|0]=b>>>8;d=d+2|0;c=c+4|0;e=e+1|0;if((e|0)>2]){continue}break};break a;case 3:break b;default:break a}}if(v[a+588>>2]<1){break a}while(1){b=w[d|0]|w[d+1|0]<<8;b=(b<<8|b>>>8)&65535;b=b<<8|b>>>8;t[c|0]=b;t[c+1|0]=b>>>8;d=d+2|0;c=c+4|0;e=e+1|0;if((e|0)>2]){continue}break}}return 0}function mO(a){var b=0,c=0;b=(v[a+8>>2]<<2)+a|0;v[b+16>>2]=v[b+16>>2]>>1;b=v[a+8>>2];if(!b){v[a+56>>2]=v[a+56>>2]>>1;v[a+60>>2]=v[a+60>>2]>>1;c=a- -64|0;v[c>>2]=v[c>>2]>>1;v[a+68>>2]=v[a+68>>2]>>1;v[a+72>>2]=v[a+72>>2]>>1;v[a+76>>2]=v[a+76>>2]>>1;v[a+80>>2]=v[a+80>>2]>>1;v[a+84>>2]=v[a+84>>2]>>1;v[a+88>>2]=v[a+88>>2]>>1;v[a+92>>2]=v[a+92>>2]>>1;v[a+96>>2]=v[a+96>>2]>>1;v[a+100>>2]=v[a+100>>2]>>1;v[a+104>>2]=v[a+104>>2]>>1;v[a+108>>2]=v[a+108>>2]>>1;v[a+112>>2]=v[a+112>>2]>>1;v[a+116>>2]=v[a+116>>2]>>1;v[a+8>>2]=b+1;return 1}v[a+8>>2]=b+1;if((b|0)>=9){v[a+8>>2]=0;b=a;c=v[a+12>>2]+1|0;a=v[a+52>>2];v[b+12>>2]=a?c:-1;a=(a|0)!=0}else{a=1}return a}function g1a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;v[a>>2]=0;v[a+4>>2]=0;v[a+56>>2]=0;v[a+48>>2]=0;v[a+52>>2]=0;v[a+40>>2]=0;v[a+44>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=v[b>>2];v[a+4>>2]=v[b+4>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=v[b+12>>2];v[a+16>>2]=v[b+16>>2];d=v[b+20>>2];v[a+40>>2]=b+48;v[a+36>>2]=b+40;v[a+32>>2]=b+32;v[a+28>>2]=b+28;v[a+24>>2]=b+24;v[a+20>>2]=d;a:{if(c){e=68;f=70;d=69;break a}g=w[b+64|0];e=65;f=67;d=66}t[a+44|0]=g;e=w[b+e|0];d=w[b+d|0];b=w[b+f|0];f=v[95463];v[a+52>>2]=v[95462];v[a+56>>2]=f;t[a+48|0]=c;t[a+47|0]=b;t[a+46|0]=d;t[a+45|0]=e}function eu(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;g=Qb-256|0;Qb=g;a:{if(v[a+320>>2]>0){while(1){e=v[((d<<2)+a|0)+188>>2];Ub[v[v[e>>2]+16>>2]](e,b,(d<<3)+g|0);d=d+1|0;if((d|0)>2]){continue}break}d=0;b=v[a+8>>2];if((Ub[v[v[b>>2]+28>>2]](b)|0)<=0){break a}while(1){e=(d<<2)+c|0;f=A[(d<<3)+g>>3]*65536;b:{if(D(f)<2147483648){b=~~f;break b}b=-2147483648}v[e>>2]=b;b=v[a+8>>2];d=d+1|0;if((Ub[v[v[b>>2]+28>>2]](b)|0)>(d|0)){continue}break}break a}if(v[a+316>>2]<=0){break a}while(1){h=(d<<2)+c|0;f=A[(d<<3)+b>>3]*65536;c:{if(D(f)<2147483648){e=~~f;break c}e=-2147483648}v[h>>2]=e;d=d+1|0;if((d|0)>2]){continue}break}}Qb=g+256|0}function WS(a){a=a|0;var b=0,c=0;v[a>>2]=896736;a:{while(1){b:{if(!w[(a+b|0)+1188|0]){break b}c=v[((b<<2)+a|0)+164>>2];if(!c){break b}v[299999]=0;uc(c);c=v[299999];v[299999]=0;if((c|0)==1){break a}}b=b+1|0;if((b|0)!=256){continue}break}b=v[a+1444>>2];v[299999]=0;R(3130,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}if(v[a+3512>>2]==7){v[299999]=0;R(3098,a+3512|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}if(v[a+3528>>2]==7){v[299999]=0;R(3098,a+3528|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}v[a>>2]=896644;b=v[a+4>>2];if(b){dc(Dc(b))}b=v[a+16>>2];if(b){dc(Dc(b))}b=v[a+28>>2];if(b){dc(Dc(b))}return a|0}W(0)|0;O()|0;hu(a);lc();L()}function Vab(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,j=0,k=0,l=0,m=0;if(e){l=e-1|0;while(1){t[g|0]=w[f|0];t[g+1|0]=w[f+1|0];t[g+2|0]=w[f+2|0];t[g+3|0]=w[f+3|0];a=g+4|0;i=k?(k|0)==(l|0)?d:b:c;j=a;a:{if(i>>>0<2){break a}h=i-1|0;m=h&1;b:{if((i|0)==2){h=a;break b}i=h&-2;while(1){t[a|0]=w[f|0];t[g+5|0]=w[f+1|0];t[g+6|0]=w[f+2|0];t[g+7|0]=w[f+3|0];t[a+4|0]=w[f|0];t[a+5|0]=w[f+1|0];t[a+6|0]=w[f+2|0];t[a+7|0]=w[f+3|0];g=a+4|0;h=a+8|0;a=h;i=i-2|0;if(i){continue}break}}j=h;if(!m){break a}t[h|0]=w[f|0];t[g+5|0]=w[f+1|0];t[g+6|0]=w[f+2|0];t[g+7|0]=w[f+3|0];j=h+4|0}g=j;f=f+4|0;k=k+1|0;if((k|0)!=(e|0)){continue}break}}return 0}function txa(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;d=v[a+8>>2];a:{if(d){if((c|0)<1){return 0}a=v[d+36>>2];while(1){h=b+f|0;e=v[d+28>>2];if((e|0)<=(a|0)){if(!Fr(d)){break a}e=v[d+28>>2];a=v[d+36>>2]}i=v[d+32>>2]+a|0;g=c-f|0;a=e-a|0;e=(a|0)>(g|0)?g:a;gc(h,i,e);a=e+v[d+36>>2]|0;v[d+36>>2]=a;f=e+f|0;if((f|0)<(c|0)){continue}break}break a}if(v[a+16>>2]|(c|0)<1){break a}d=v[a+53312>>2];while(1){h=b+f|0;e=v[a+53308>>2];if((e|0)<=(d|0)){if(!Zx(a)){break a}e=v[a+53308>>2];d=v[a+53312>>2]}i=(a+d|0)+49208|0;g=c-f|0;d=e-d|0;e=(d|0)>(g|0)?g:d;gc(h,i,e);d=e+v[a+53312>>2]|0;v[a+53312>>2]=d;f=e+f|0;if((f|0)<(c|0)){continue}break}}return f|0}function Xw(a,b){a=a|0;b=b|0;var c=0;v[a+8>>2]=0;v[a+12>>2]=1;v[a+4>>2]=b;v[a>>2]=995432;b=v[248865];v[a+56>>2]=v[248864];v[a+60>>2]=b;c=v[248867];b=a- -64|0;v[b>>2]=v[248866];v[b+4>>2]=c;v[a+112>>2]=131072;v[a+116>>2]=131072;v[a+104>>2]=131072;v[a+108>>2]=131072;v[a+96>>2]=65536;v[a+100>>2]=65536;v[a+88>>2]=65536;v[a+92>>2]=65536;v[a+80>>2]=65536;v[a+84>>2]=65536;v[a+72>>2]=65536;v[a+76>>2]=65536;v[a+16>>2]=0;v[a+52>>2]=v[248879];b=v[248878];v[a+44>>2]=v[248877];v[a+48>>2]=b;b=v[248876];v[a+36>>2]=v[248875];v[a+40>>2]=b;b=v[248874];v[a+28>>2]=v[248873];v[a+32>>2]=b;b=v[248872];v[a+20>>2]=v[248871];v[a+24>>2]=b;ic(a+392|0,0,114);return a|0}function xxa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;e=v[a+8>>2];b=fc(53336);d=v[a+4>>2];c=v[v[d>>2]+8>>2];a:{b:{if(e){v[299999]=0;d=S(c|0,d|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){c=v[a+12>>2];a=v[a+8>>2];e=v[a+16>>2];f=v[a+12>>2];g=v[a+8>>2];a=v[a+4>>2];v[299999]=0;ma(3813,b|0,d|0,a|0,g|0,f|0,e|0,c|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break b}}break a}v[299999]=0;d=S(c|0,d|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}a=v[a+12>>2];v[b+53316>>2]=1;v[b+53308>>2]=0;v[b+53312>>2]=0;v[b+49192>>2]=258;v[b+49196>>2]=9;v[b+24>>2]=0;v[b+16>>2]=0;v[b+12>>2]=a;v[b+8>>2]=0;v[b>>2]=962804;v[b+4>>2]=d}return b|0}a=P()|0;O()|0;dc(b);T(a|0);L()}function qo(a){var b=0,c=0,d=0,e=0,f=0;d=Qb-32|0;Qb=d;b=Ub[v[259704]](96)|0;a:{if(!b){v[d>>2]=292949;oc(0,0,0,0,0,2,2,3,292949,0,0,0,350051,d);break a}b=ic(b,0,96);v[b+4>>2]=9;e=a?a:335485;c=e;while(1){a=c;c=a+1|0;if(w[a|0]){continue}break}c=0;b:{a=a-e|0;if((a|0)>=0){f=Ub[v[259707]](a+1|0)|0;if(f){break b}oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0)}v[b+56>>2]=0;v[d+16>>2]=292949;oc(0,0,0,0,0,2,2,3,292949,0,0,0,350051,d+16|0);Ub[v[259708]](b);break a}c=a;a=gc(f,e,a);t[c+a|0]=0;v[b+56>>2]=a;v[b+36>>2]=-1;v[b+40>>2]=-1;v[b+88>>2]=0;v[b+92>>2]=32;v[b+76>>2]=1;v[b+32>>2]=b;if(v[294265]){c=b;a=v[294262];if(!a){break a}Ub[a|0](b)}c=b}Qb=d+32|0;return c}function Faa(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,j=0;h=Qb-416|0;Qb=h;d=h+416|0;v[h+12>>2]=d;c=Qb-144|0;Qb=c;v[c+28>>2]=c+132;i=c+32|0;dM(a+8|0,i,c+28|0,e,f,g);v[c+16>>2]=0;v[c+20>>2]=0;v[c+12>>2]=i;e=h+16|0;i=e;j=v[h+12>>2]-e>>2;f=Qb-16|0;Qb=f;v[f+12>>2]=v[a+8>>2];g=Nk(f+8|0,f+12|0);v[299999]=0;a=pC(e,c+12|0,j,c+16|0);j=v[299999];v[299999]=0;a:{if((j|0)!=1){ih(g);Qb=f+16|0;break a}a=P()|0;O()|0;ih(g);T(a|0);L()}if((a|0)==-1){bM(289448);L()}v[h+12>>2]=i+(a<<2);Qb=c+144|0;c=v[h+12>>2];a=Qb-16|0;Qb=a;v[a+8>>2]=b;while(1){if((c|0)!=(e|0)){PM(a+8|0,v[e>>2]);e=e+4|0;continue}break}Qb=a+16|0;Qb=d;return v[a+8>>2]}function oi(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0;j=h&10;k=g&10;if(!(j|k)){mv(b,c,d,e,f);return}if((j|0)!=(k|0)){j=c;k=d;if(g&8){k=v[a+4>>2];i=+(e-c|0)*+(k-d|0)/+(f-d|0);i=i+(i<0?-.5:.5);a:{if(D(i)<2147483648){j=~~i;break a}j=-2147483648}j=j+c|0}if(g&2){k=v[a+12>>2];i=+(e-c|0)*+(k-d|0)/+(f-d|0);i=i+(i<0?-.5:.5);b:{if(D(i)<2147483648){g=~~i;break b}g=-2147483648}j=g+c|0}g=e;l=f;if(h&8){l=v[a+4>>2];i=+(e-c|0)*+(l-d|0)/+(f-d|0);i=i+(i<0?-.5:.5);c:{if(D(i)<2147483648){g=~~i;break c}g=-2147483648}g=g+c|0}if(h&2){l=v[a+12>>2];i=+(e-c|0)*+(l-d|0)/+(f-d|0);i=i+(i<0?-.5:.5);d:{if(D(i)<2147483648){a=~~i;break d}a=-2147483648}g=a+c|0}mv(b,j,k,g,l)}}function Yma(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=v[a+12>>2];e=v[v[d>>2]+16>>2];v[299999]=0;d=S(e|0,d|0)|0;e=v[299999];v[299999]=0;a:{b:{c:{if((e|0)==1){break c}e=v[a+20>>2];if(!(!e|(v[a+24>>2]/256|0)==((d|0)/256|0))){f=v[a+16>>2];v[299999]=0;V(e|0,d|0,f|0);e=v[299999];v[299999]=0;if((e|0)==1){break c}v[a+24>>2]=d}a=v[a+12>>2];d=v[v[a>>2]+8>>2];v[299999]=0;a=Y(d|0,a|0,b|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break b}}a=W(0)|0;O()|0;ea(a|0)|0;v[299999]=0;ba(4483);a=v[299999];v[299999]=0;if((a|0)==1){break a}L()}return a|0}a=P()|0;O()|0;v[299999]=0;ba(4230);b=v[299999];v[299999]=0;if((b|0)!=1){T(a|0);L()}W(0)|0;O()|0;lc();L()}function Sza(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=938272;e=a,f=rE(b),v[e+4>>2]=f;a:{b:{c:{switch(v[c>>2]-3|0){case 1:b=fc(8);c=v[c+8>>2];v[299999]=0;Q(3063,b|0,c|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}v[a+12>>2]=b;return a|0;case 0:c=v[c+8>>2];b=fc(8);v[299999]=0;Q(3064,b|0,c|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}v[a+12>>2]=b;return a|0;case 3:b=fc(72);c=v[c+8>>2];v[299999]=0;c=Q(3363,b|0,c|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){v[a+8>>2]=b;if(v[c+68>>2]){break b}dc(b);v[a+8>>2]=0;return a|0}break a;default:break c}}kc(0,-1,247566,0)}return a|0}a=P()|0;O()|0;dc(b);T(a|0);L()}function Jfa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=Qb-32|0;Qb=f;a:{b:{c=v[a+44>>2];e=v[a+40>>2];if(v[b>>2]>=(((c+v[a+16>>2]|0)-e|0)+1|0)){a=vc(f+8|0,279734,242139,228,344007,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}d=(c-e|0)+1|0;if(!((e|0)<=(d|0)&(c|0)>=(d|0))){nr(a+24|0,d);e=v[a+40>>2];c=v[a+44>>2]}if(!((d|0)>=(e|0)&(c|0)>=(d|0))){a=vc(f+8|0,227445,271729,619,308234,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}c=v[a+28>>2]+B(d-v[a+32>>2]|0,12)|0;v[c>>2]=v[b>>2];Si(c+4|0,b+4|0);v[c+8>>2]=v[b+8>>2];Qb=f+32|0;return v[a+16>>2]+d|0}L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function ri(a){var b=0,c=0;b=-1;c=v[a+8>>2];a:{if(c&7){break a}while(1){b:{c:{b=v[a+64>>2];if((b|0)>=0&(b|0)<=v[a+60>>2]){break c}b=v[a+28>>2];v[a+28>>2]=b-1;d:{if((b|0)<=0){b=Hc(a,1);break d}v[a+60>>2]=v[a+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;b=w[b|0]}if((b|0)!=35){break a}while(1){b=-1;c=v[a+8>>2];if(c&7){break a}b=v[a+64>>2];if((b|0)>=0&(b|0)<=v[a+60>>2]){break c}b=v[a+28>>2];v[a+28>>2]=b-1;e:{if((b|0)<=0){b=Hc(a,1);break e}v[a+60>>2]=v[a+60>>2]+1;b=v[a+24>>2];v[a+24>>2]=b+1;b=w[b|0]}switch(b+1|0){case 0:break a;case 11:case 14:break b;default:continue}}}v[a+8>>2]=c|4;b=-1;break a}b=-1;c=v[a+8>>2];if(!(c&7)){continue}break}}return b}function lj(a,b){a=a|0;b=b|0;if(a>>>0<=127){t[b|0]=a;return b+1|0}if(a>>>0<=2047){t[b+1|0]=a&63|128;t[b|0]=a>>>6|192;return b+2|0}if(a>>>0<=65535){t[b+2|0]=a&63|128;t[b|0]=a>>>12|224;t[b+1|0]=a>>>6&63|128;return b+3|0}if(a>>>0<=2097151){t[b+3|0]=a&63|128;t[b|0]=a>>>18|240;t[b+2|0]=a>>>6&63|128;t[b+1|0]=a>>>12&63|128;return b+4|0}if(a>>>0<=67108863){t[b+4|0]=a&63|128;t[b|0]=a>>>24|248;t[b+3|0]=a>>>6&63|128;t[b+2|0]=a>>>12&63|128;t[b+1|0]=a>>>18&63|128;return b+5|0}if((a|0)>=0){t[b+5|0]=a&63|128;t[b|0]=a>>>30|252;t[b+4|0]=a>>>6&63|128;t[b+3|0]=a>>>12&63|128;t[b+2|0]=a>>>18&63|128;t[b+1|0]=a>>>24&63|128;return b+6|0}t[b|0]=63;return b+1|0}function _1(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=v[a+44>>2];if(v[a+4>>2]==16){g=v[c+88>>2]+B(v[a+8>>2],1876)|0}else{g=v[a+36>>2]}f=v[g+1872>>2];d=f+B(b,1076)|0;a=v[a+52>>2];e=Ub[v[v[a>>2]+20>>2]](a,1)|0;v[d+4>>2]=e+1;g=c;c=v[c+12>>2];v[g+12>>2]=(c|0)<(e|0)?c:e;h=d,i=(Ub[v[v[a>>2]+20>>2]](a,1)|0)+2|0,v[h+8>>2]=i;h=d,i=(Ub[v[v[a>>2]+20>>2]](a,1)|0)+2|0,v[h+12>>2]=i;h=d,i=Ub[v[v[a>>2]+20>>2]](a,1)|0,v[h+16>>2]=i;h=d,i=Ub[v[v[a>>2]+20>>2]](a,1)|0,v[h+20>>2]=i;if(!(!(t[d|0]&1)|v[d+4>>2]<1)){c=0;b=f+B(b,1076)|0;while(1){e=b+(c<<2)|0;f=Ub[v[v[a>>2]+20>>2]](a,1)|0;v[e+944>>2]=f>>4;v[e+812>>2]=f&15;c=c+1|0;if((c|0)>2]){continue}break}}}function RLa(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[a+8>>2];a:{if(b>>>0<=1){t[c+65|0]=0;t[c+66|0]=0;t[c+67|0]=0;t[c+68|0]=0;t[c+64|0]=1;d=v[215603];v[c+24>>2]=v[215602];v[c+28>>2]=d;d=v[215601];v[c+16>>2]=v[215600];v[c+20>>2]=d;d=v[215599];v[c+8>>2]=v[215598];v[c+12>>2]=d;d=v[215597];v[c>>2]=v[215596];v[c+4>>2]=d;t[a+36|0]=0;if((b|0)==1){break a}}b=v[215603];v[c+56>>2]=v[215602];v[c+60>>2]=b;b=v[215601];v[c+48>>2]=v[215600];v[c+52>>2]=b;b=v[215599];v[c+40>>2]=v[215598];v[c+44>>2]=b;b=v[215597];v[c+32>>2]=v[215596];v[c+36>>2]=b;t[c+75|0]=0;u[c+72>>1]=1;b=w[c+74|0]==1;v[c+76>>2]=b?17039875:33751047;v[c+80>>2]=b?100992768:17171716;v[a+56>>2]=0}}function G9a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{b:{if(w[a+285|0]|w[a+286|0]|(w[a+287|0]|w[a+288|0])){break b}if(w[a+289|0]){break b}break a}if(w[a+291|0]|(w[a+300|0]|w[a+292|0])){break a}c:{switch(c|0){default:pc(a,1028,0,0);return 1028;case 0:case 9:break c}}d:{e:{if(!w[a+112|0]){break e}a=Ub[v[b+4>>2]](a,b,e)|0;if(a){break d}a=v[e>>2];b=!c;t[a+32|0]=b;if(b){break e}b=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);v[a+36>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);v[a+40>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);t[a+44|0]=w[d+8|0]}a=0}return a|0}pc(a,1029,0,0);return 1029}function sOa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=Qb-16|0;Qb=d;v[b>>2]=0;v[c>>2]=0;v[299999]=0;v[d+12>>2]=0;v[d+4>>2]=0;v[d+8>>2]=0;v[d>>2]=530160;a=Y(2523,d|0,a|0,0)|0;e=v[299999];v[299999]=0;if((e|0)!=1){a:{b:{if(!a){break b}v[299999]=0;e=v[d+12>>2];a=S(15,e|0)|0;g=v[299999];v[299999]=0;c:{if((g|0)!=1){f=v[d+4>>2];if(!f){break c}g=1;e=qg(a,1,e,f);v[d+8>>2]=0;v[d+12>>2]=0;f=v[d+4>>2];if(f){Be(f);v[d+4>>2]=0}v[b>>2]=a;v[c>>2]=e;break b}break a}dc(a);g=0}v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=530160;a=v[d+4>>2];if(a){Be(a)}Qb=d+16|0;return g|0}}a=P()|0;O()|0;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=530160;b=v[d+4>>2];if(b){Be(b)}T(a|0);L()}function f7a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if(v[c>>2]!=1179795789){pc(a,2050,0,0);return 2050}t[b+32|0]=w[c+32|0];t[b+33|0]=w[c+33|0];e=v[c+36>>2];v[b+36>>2]=e;t[b+44|0]=w[c+44|0];t[b+45|0]=w[c+45|0];t[b+46|0]=w[c+46|0];t[b+47|0]=w[c+47|0];v[b+48>>2]=v[c+48>>2];v[b+52>>2]=v[c+52>>2];t[b+56|0]=w[c+56|0];v[b+60>>2]=v[c+60>>2];v[b+64>>2]=v[c+64>>2];v[b+68>>2]=v[c+68>>2];v[b+72>>2]=v[c+72>>2];d=v[c+76>>2];v[b+76>>2]=d;a:{if(e){d=Ub[v[a+152>>2]](e)|0;v[b+40>>2]=d;if(!d){break a}gc(d,v[c+40>>2],v[b+36>>2]);d=v[b+76>>2]}if(d){e=b;d=d<<2;b=Ub[v[a+152>>2]](d)|0;v[e+80>>2]=b;if(!b){break a}gc(b,v[c+80>>2],d)}return 0}pc(a,1,0,0);return 1}function DV(a){a=a|0;var b=0,c=0,d=0,e=0;v[a>>2]=878848;a:{b=v[a+8>>2];if(b){c=v[v[b>>2]+12>>2];v[299999]=0;S(c|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}}b:{c=v[a+24>>2];b=v[a+28>>2]-c|0;if((b|0)<1){break b}b=b>>>2|0;d=b>>>0>1?b:1;b=0;while(1){c=v[(b<<2)+c>>2];if(c){e=v[v[c>>2]+12>>2];v[299999]=0;S(e|0,c|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}}b=b+1|0;if((d|0)==(b|0)){break b}c=v[a+24>>2];continue}}if(t[a+59|0]<=-1){dc(v[a+48>>2])}if(t[a+47|0]<=-1){dc(v[a+36>>2])}b=v[a+24>>2];if(b){v[a+28>>2]=b;dc(b)}gz(a+12|0,v[a+16>>2]);return a|0}W(0)|0;O()|0;le(a+48|0);le(a+36|0);LY(a+24|0);a=a+12|0;gz(a,v[a+4>>2]);lc();L()}function l5(a){a=a|0;var b=0,c=0,d=0;b=v[a+584>>2];dw(a,0,1);a:{if(b){if(!v[b+16>>2]){break a}b:{if(!(w[a+48|0]&4)){break b}v[b+800>>2]=0;v[b+804>>2]=0;v[b+824>>2]=531;v[b+820>>2]=8;v[b+816>>2]=532;v[b+812>>2]=533;v[b+24>>2]=b+800;v[b+808>>2]=534;if((KK(b,0)|0)==2){break b}zc(v[a+628>>2],88073,41275,0);return 0}c=x[a+90>>1];u[b+832>>1]=c;d=b;c:{if((c|0)==6){u[b+834>>1]=x[a+204>>1];c=x[a+206>>1];break c}u[b+834>>1]=1;c=1}u[d+836>>1]=c;v[b+800>>2]=0;v[b+804>>2]=0;v[b+824>>2]=531;v[b+820>>2]=8;v[b+816>>2]=532;v[b+812>>2]=533;v[b+808>>2]=535;v[b+24>>2]=b+800;v[a+652>>2]=390;return 1}X(29012,7121,646,88073);L()}X(39945,7121,647,88073);L()}function XD(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{if(!c){break b}f=af(b,91);if(!f){break b}while(1){c:{g=f+1|0;j=he(g);e=af(g,46);g=e+1|0;d:{e:{d=Ub[v[v[c>>2]+40>>2]](c)|0;if(d){h=0;k=e?g:0;f=f-b|0;while(1){f:{if(!(Ub[v[v[d>>2]+28>>2]](d)|0)){break f}i=v[d+20>>2];if((f|0)!=v[i>>2]){break f}if(Oc(v[i+4>>2],b,f)){break f}if((h|0)==(j|0)){break e}h=h+1|0}d=Ub[v[v[d>>2]+44>>2]](d)|0;if(d){continue}break}}if(e){break d}break a}if(!e){break c}e=XD(a,k,d);if(e){break b}}b=g;f=af(g,91);if(f){continue}break a}break}e=0;a=Ub[v[v[d>>2]+40>>2]](d)|0;if(!a){break b}if(!(Ub[v[v[a>>2]+36>>2]](a)|0)){break b}e=v[a+20>>2]}return e}return 0}function Vja(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;f=Qb-32|0;Qb=f;a:{b:{if(v[a+92>>2]>0){g=v[a+128>>2];h=v[a+104>>2];while(1){if(!(v[a+116>>2]<=(d|0)&v[a+120>>2]>=(d|0))){a=vc(f+8|0,227445,271729,619,307344,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}e=(d-v[a+108>>2]<<2)+h|0;v[e>>2]=v[e>>2]+b;if(!(v[a+140>>2]<=(d|0)&v[a+144>>2]>=(d|0))){a=vc(f+8|0,227445,271729,619,307344,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}e=(d-v[a+132>>2]<<2)+g|0;v[e>>2]=v[e>>2]+c;d=d+1|0;if((d|0)>2]){continue}break}}Qb=f+32|0;return}L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function iXa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=v[a>>2];d=v[a+44>>2];if(d){c=v[d>>2];if(!(!c|!v[c+96>>2])){v[c+88>>2]=d}}e=Qb-16|0;Qb=e;c=v[f+504>>2];a:{if(!c){d=35;break a}d=6;if(!b|v[b+4>>2]<0|(v[b+8>>2]<0|y[b>>2]>4)){break a}d=v[c+88>>2];v[v[d+40>>2]+12>>2]=0;g=v[v[v[c+96>>2]+12>>2]+88>>2];if(g){d=Ub[g|0](d,b)|0;break a}if((v[c+8>>2]&3)==2){d=N_(c,b,e+12|0);if(d){break a}d=L_(c,v[e+12>>2]);break a}rq(c,b);d=0}Qb=e+16|0;if(!d){b=v[v[f+504>>2]+88>>2];c=v[b+16>>2];v[a+12>>2]=v[b+12>>2];v[a+16>>2]=c;v[a+36>>2]=v[b+36>>2];c=v[b+32>>2];v[a+28>>2]=v[b+28>>2];v[a+32>>2]=c;c=v[b+24>>2];v[a+20>>2]=v[b+20>>2];v[a+24>>2]=c}return d|0}function Wf(a){var b=0,c=0,d=0,e=0,f=0;a:{if(t[a+16|0]&1){if(v[a+8>>2]>=1){break a}c=v[a>>2];if(c&4){v[a+8>>2]=0;return-1}if(c&2){v[a+4>>2]=127;v[a+8>>2]=7;return 1}e=v[a+4>>2]<<8&65280;v[a+4>>2]=e;b:{c:{b=v[a+12>>2];d=v[b+8>>2];d:{if(d&7){break d}f=v[b+64>>2];if(!((f|0)<0|v[b+60>>2]<(f|0))){v[b+8>>2]=d|4;break d}c=v[b+28>>2];v[b+28>>2]=c-1;if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;d=b;b=v[b+24>>2];v[d+24>>2]=b+1;b=w[b|0];break b}b=Hc(b,1);if((b|0)!=-1){break c}c=v[a>>2]}v[a>>2]=c|2;return 1}e=v[a+4>>2]}c=(e|0)==65280?6:7;v[a+8>>2]=c;d=a;a=(2<>2]=a;return a>>>c&1}X(29079,18822,242,189317);L()}X(30475,18822,243,189317);L()}function Rs(a,b,c,d,e,f){var g=0,h=0,i=0;a:{b:{if(c){g=B(c,3);v[e>>2]=g;g=Ub[v[a+152>>2]](g)|0;v[d>>2]=g;if(!g){break a}i=B(c,200);while(1){L1(a);v[a+2352>>2]=v[d>>2];v[a+2356>>2]=v[e>>2]-1;v[a+2340>>2]=b;v[a+2344>>2]=c;g=Mj(a+2340|0,4);h=10;c:{if((g|0)==-5|v[a+2344>>2]){break c}h=0;if(g>>>0<2){break c}pc(a,5,g,0);h=5}g=h;v[f>>2]=v[a+2360>>2];uJ(a);if((g|0)!=10){if(g){break b}t[v[d>>2]+v[f>>2]|0]=0;return 0}g=v[d>>2];if(g){Ub[v[a+156>>2]](g,v[e>>2])}g=v[e>>2]<<1;v[e>>2]=g;g=Ub[v[a+152>>2]](g)|0;v[d>>2]=g;if(!g){pc(a,1,0,0);return 1}if(y[e>>2]>>0){continue}break}return 10}v[d>>2]=0;v[e>>2]=0;v[f>>2]=0}return g}pc(a,1,0,0);return 1}function Re(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{d=v[a+112>>2];c=v[a+116>>2];b:{if(d|c){e=v[a+124>>2];if((c|0)<=(e|0)&d>>>0<=y[a+120>>2]|(c|0)<(e|0)){break b}}i=Ow(a);if((i|0)>-1){break a}}v[a+104>>2]=0;return-1}e=a;b=v[a+116>>2];f=b;c=v[a+8>>2];d=c;g=v[a+112>>2];c:{if(!(b|g)){break c}d=c;h=v[a+120>>2]^-1;g=h+g|0;b=(v[a+124>>2]^-1)+f|0;b=g>>>0>>0?b+1|0:b;h=v[a+4>>2];f=c-h|0;j=f;f=f>>31;if((f|0)<=(b|0)&g>>>0>=j>>>0|(b|0)>(f|0)){break c}d=g+h|0}v[e+104>>2]=d;e=v[a+4>>2];if(c){d=a;b=(c-e|0)+1|0;c=b+v[a+120>>2]|0;a=v[a+124>>2]+(b>>31)|0;v[d+120>>2]=c;v[d+124>>2]=c>>>0>>0?a+1|0:a}a=e-1|0;if(w[a|0]!=(i|0)){t[a|0]=i}return i}function Ngb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=v[a+8>>2];c=v[a+12>>2];b=v[a+52>>2];g=Ub[v[v[b>>2]+36>>2]](b)|0;d=Ub[v[v[b>>2]+40>>2]](b)|0;i=Ub[v[v[b>>2]+40>>2]](b)|0;d=d+1|0;c=c-g|0;g=(c|0)>(d|0)?d:c;h=v[a+32>>2]+(f<<2)|0;d=g+v[h>>2]|0;e=jc(d);if(e){c=0;d=ic(e,0,d);e=v[h>>2];if((e|0)>=1){j=v[a+28>>2]+(f<<2)|0;while(1){t[c+d|0]=w[v[j>>2]+c|0];c=c+1|0;e=v[h>>2];if((c|0)<(e|0)){continue}break}}Ub[v[v[b>>2]+16>>2]](b,d+e|0,g);c=f<<2;b=c+v[a+32>>2]|0;v[b>>2]=g+v[b>>2];b=v[a+28>>2];f=b+c|0;h=v[f>>2];if(h){dc(h);v[f>>2]=0;b=v[a+28>>2]}v[b+c>>2]=d;if((g|0)!=(i+1|0)){v[a+4>>2]=8;return}v[a+4>>2]=64;return}v[v[a>>2]+20>>2]=1}function Dfa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=Qb-32|0;Qb=e;a:{b:{if(y[b+4>>2]>=((v[a+16>>2]+v[a+44>>2]|0)-v[a+40>>2]|0)+1>>>0){a=vc(e+8|0,279761,242139,285,342953,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}f=v[a+100>>2];d=v[a+96>>2];c=(f-d|0)+1|0;if(!((c|0)>=(d|0)&(c|0)<=(f|0))){nr(a+80|0,c);f=v[a+100>>2];d=v[a+96>>2]}if(!((c|0)<=(f|0)&(c|0)>=(d|0))){a=vc(e+8|0,227445,271729,619,307488,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}d=v[b+4>>2];a=v[a+84>>2]+(c-v[a+88>>2]<<3)|0;v[a>>2]=v[b>>2];v[a+4>>2]=d;Qb=e+32|0;return c|0}L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function xz(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{if(!(b>0)){break b}e=v[a>>2];if(e>>>0<2){break b}i=v[a+12>>2];f=e-2|0;if(!f){e=2;break a}d=e;while(1){g=A[(v[(f>>>4&268435452)+i>>2]+B(f&63,24)|0)+16>>3];if(!(g>b)){if(d){e=d-1|0;v[a>>2]=e;d=e}else{d=0}b=b-g;f=f-1|0;if(f){continue}}break}if(e>>>0>1){break a}v[a>>2]=0}return}d=e-2|0;f=v[(d>>>4&268435452)+i>>2]+B(d&63,24)|0;j=A[f>>3];h=A[f+8>>3];g=A[f+16>>3];b=(g-b)/g;e=e-1|0;d=v[(e>>>4&268435452)+i>>2]+B(e&63,24)|0;g=h+b*(A[d+8>>3]-h);A[d+8>>3]=g;b=j+b*(A[d>>3]-j);A[d>>3]=b;b=b-A[f>>3];h=b*b;b=g-A[f+8>>3];b=K(h+b*b);d=b>1e-14;A[f+16>>3]=d?b:1e14;if(!d){v[a>>2]=e}cv(a,(c|0)!=0)}function cX(a,b){a=a|0;b=b|0;var c=0,d=0;c=Qb-32|0;Qb=c;a:{if(t[b+11|0]>=0){v[c+8>>2]=v[b+8>>2];d=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=d;break a}Ke(c,v[b>>2],v[b+4>>2])}v[299999]=0;U(2682,c+16|0,c|0,1);b=v[299999];v[299999]=0;b:{c:{if((b|0)!=1){if(t[c+11|0]<=-1){dc(v[c>>2])}v[299999]=0;U(2683,a|0,c+16|0,0);a=v[299999];v[299999]=0;if((a|0)==1){break c}b=v[c+16>>2];if(b){a=v[c+20>>2];if((b|0)==(a|0)){a=b}else{while(1){d=a-12|0;if(t[a-1|0]<=-1){dc(v[d>>2])}a=d;if((b|0)!=(a|0)){continue}break}a=v[c+16>>2]}v[c+20>>2]=b;dc(a)}Qb=c+32|0;return}b=P()|0;O()|0;if(t[c+11|0]>-1){break b}dc(v[c>>2]);T(b|0);L()}b=P()|0;O()|0;Qg(c+16|0)}T(b|0);L()}function OXa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=Qb+-64|0;Qb=d;Ub[v[b+60>>2]](b,d+16|0,4,d+12|0);c=v[d+12>>2];a:{if((c|0)<0){c=162;break a}if(!c){c=3;break a}if((c|0)>4){c=3;break a}c=Pz(a,0,c);v[d+8>>2]=c;if(c){break a}if(v[d+12>>2]<1){c=0;break a}h=v[a+100>>2];i=v[a+532>>2];while(1){a=(d+16|0)+B(f,12)|0;c=v[a>>2];if(w[c|0]==47){c=c+1|0;v[a>>2]=c}g=v[a+4>>2]-c|0;if(!g){c=3;break a}e=(f<<2)+i|0;c=v[e+8>>2];if(c?c:0){Ub[v[h+8>>2]](h,c)}c=e;e=Fd(h,g+1|0,d+8|0);v[c+8>>2]=e;c=v[d+8>>2];if(c){break a}j=gc(e,v[a>>2],g)+g|0,k=0,t[j|0]=k;f=f+1|0;if((f|0)>2]){continue}break}c=v[d+8>>2]}v[b+12>>2]=c;Qb=d- -64|0}function FHa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=Qb-16|0;Qb=d;c=v[b+452>>2];a:{if(c){i=A[b+456>>3];f=v[b+448>>2];b:{if((c|0)<1){break b}b=0;if((c|0)!=1){g=c&-2;while(1){e=b<<3;h=e+f|0;A[h>>3]=A[h>>3]/72*25.4;e=(e|8)+f|0;A[e>>3]=A[e>>3]/72*25.4;b=b+2|0;g=g-2|0;if(g){continue}break}}if(!(c&1)){break b}b=(b<<3)+f|0;A[b>>3]=A[b>>3]/72*25.4}b=v[a+104>>2];Ub[v[v[b>>2]+128>>2]](b,f,c)|0;b=v[a+104>>2];t[d+8|0]=5;c=d+8|0;Ub[v[v[b>>2]+76>>2]](b,c)|0;a=v[a+104>>2];A[d+8>>3]=i/72*25.4;break a}b=v[a+104>>2];t[d+8|0]=0;c=d+8|0;Ub[v[v[b>>2]+76>>2]](b,c)|0;a=v[a+104>>2];v[d+8>>2]=0;v[d+12>>2]=0}Ub[v[v[a>>2]+108>>2]](a,c)|0;Qb=d+16|0}function BPa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{c:{d=v[a+4>>2];g=v[a>>2];h=(d-g|0)/104|0;c=h+1|0;if(c>>>0<41297763){e=(v[a+8>>2]-g|0)/104|0;f=e<<1;c=e>>>0<20648881?c>>>0>f>>>0?c:f:41297762;if(c){if(c>>>0>=41297763){break c}e=fc(B(c,104))}else{e=0}f=e+B(c,104)|0;c=e+B(h,104)|0;e=gc(c,b,104);b=e+104|0;if((d|0)==(g|0)){break b}while(1){c=c-104|0;d=d-104|0;e=gc(c,d,104);if((d|0)!=(g|0)){continue}break}v[a+8>>2]=f;c=v[a+4>>2];v[a+4>>2]=b;d=v[a>>2];v[a>>2]=e;if((c|0)==(d|0)){break a}while(1){mg(c-28|0);c=c-104|0;if((d|0)!=(c|0)){continue}break}break a}ue(a);L()}cf(274079);L()}v[a+8>>2]=f;v[a+4>>2]=b;v[a>>2]=e}if(d){dc(d)}}function _H(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=a>>31|1;h=(b|0)<0?0-f|0:f;f=2147483647;e=c>>31;e=e+c^e;a:{if(!e){break a}b:{d=b;b=b>>31;b=d+b^b;d=a;a=a>>31;a=d+a^a;if(b+a>>>0<=131071){a=B(a,b);break b}d=b>>>16|0;g=a&65535;i=B(d,g);j=a>>>16|0;k=b&65535;a=i+B(j,k)|0;b=a<<16;d=(B(d,j)+(a>>>16|0)|0)+((a>>>0>>0)<<16)|0;a=b+B(g,k)|0;b=d+(b>>>0>a>>>0)|0;if(!b){break b}if(b>>>0>=e>>>0){break a}d=E(b);g=32-d|0;b=a>>>g|b<>>0)/(e>>>0)|0;b=b-B(f,e)|0;a=a<>>31;b=d-(e>>>0>d>>>0?0:e)|0;f=f<<1|e>>>0<=d>>>0;a=a<<1;g=g-1|0;if(g){continue}break}break a}f=(a>>>0)/(e>>>0)|0}return(((c|0)<0?0-h|0:h)|0)<0?0-f|0:f}function Nv(a,b,c){var d=0,e=0,f=0,g=0;Yd(c,nc(c)<<1);a:{b:{if(!nc(c)){if((nc(c)|0)!=1349415968){break b}f=nc(c);if(f){while(1){if(nc(c)){break a}d=nc(c);e=nc(c);c:{d:{if((d|0)!=1450341475){if((d|0)!=1215461998){break d}d=a;if((e|0)!=1433302086){break c}if((nc(c)|0)==592474723){break c}X(53502,6490,1287,194412);L()}d=b;if((e|0)!=1433302086){break c}if((nc(c)|0)==592474723){break c}X(53502,6490,1300,194412);L()}X(3794,6490,1308,194412);L()}f=f-1|0;g=Jd(c);e:{if(D(g)<2147483648){e=~~g;break e}e=-2147483648}v[d>>2]=e;if(f){continue}break}}return}X(11805,6490,1263,194412);L()}X(54713,6490,1266,194412);L()}X(11805,6490,1274,194412);L()}function HT(a){var b=0,c=0,d=0,e=0;v[299999]=0;R(3098,a+8|0);b=v[299999];v[299999]=0;if((b|0)!=1){a:{d=v[a+28>>2];b=v[d+8>>2];if((b|0)>=1){while(1){c=v[v[d>>2]+(e<<2)>>2];if(c){dc(c);b=v[d+8>>2]}e=e+1|0;if((e|0)<(b|0)){continue}break}}dc(Vc(d));e=v[a+32>>2];c=v[e+8>>2];if((c|0)>=1){b=0;while(1){d=v[v[e>>2]+(b<<2)>>2];if(d){v[299999]=0;R(3098,d+8|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}v[299999]=0;R(3098,d+24|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}c=v[d+44>>2];if(c){dc(Vc(c))}dc(d);c=v[e+8>>2]}b=b+1|0;if((c|0)>(b|0)){continue}break}}dc(Vc(e));b=v[a+36>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}return a}}W(0)|0;O()|0;lc();L()}function kZ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(t[a+741|0]&1){a:{g=v[a+736>>2];c=v[g+56>>2];e=x[c>>1];if(!e){break a}b=v[c+24>>2];i=b+B(e,12)|0;e=0;while(1){h=_Y(a,v[b>>2]);d=pH(a,c+4|0,x[b+4>>1],x[b+6>>1]);b:{c:{if(!h){break c}u[h>>1]=x[b+8>>1]+d;c=v[b>>2];if((c|0)==1751216995){break b}if((c|0)!=1751934832){if((c|0)!=1751413603){break c}f=d;break c}j=d}d=e}b=b+12|0;if(i>>>0<=b>>>0){break a}c=v[g+56>>2];e=d;continue}}e=x[a+72>>1];f=e+f|0;u[a+72>>1]=f;b=d;d=x[a+70>>1];b=b+d|0;u[a+70>>1]=b;c=u[a+486>>1];u[a+82>>1]=c;u[a+80>>1]=x[a+484>>1]+((c|0)/-2|0);u[a+74>>1]=(b+(e+((x[a+74>>1]+j|0)-d|0)|0)|0)-f;C_(a+108|0,1989)}}function dJ(a,b){var c=0,d=0,e=0;Ub[v[v[b>>2]+16>>2]](b,23306,1,6)|0;c=v[a+16>>2];Ub[v[v[b>>2]+44>>2]](b,c&255)|0;Ub[v[v[b>>2]+44>>2]](b,c>>>8&255)|0;c=v[a+20>>2];Ub[v[v[b>>2]+44>>2]](b,c&255)|0;Ub[v[v[b>>2]+44>>2]](b,c>>>8&255)|0;c=b;if(v[a+44>>2]){d=x[a+26>>1]-1|0;d=d<<5|d|-128}else{d=17}Ub[v[v[b>>2]+44>>2]](c,d&255)|0;c=0;Ub[v[v[b>>2]+44>>2]](b,0)|0;Ub[v[v[b>>2]+44>>2]](b,0)|0;a:{if(!v[a+44>>2]){break a}d=v[a+44>>2];if(!d){break a}e=v[a+4>>2];e=e?d?e+40|0:0:0;while(1){d=(c<<2)+e|0;Ub[v[v[b>>2]+44>>2]](b,w[d+2|0])|0;Ub[v[v[b>>2]+44>>2]](b,w[d+1|0])|0;Ub[v[v[b>>2]+44>>2]](b,w[d|0])|0;c=c+1|0;if(c>>>0>2]){continue}break}}}function cJ(a,b,c,d,e,f,g){var h=0;h=Qb-16|0;Qb=h;a:{b:{switch(w[c+16|0]-8|0){case 24:c=0;if((e|0)<=0){break a}while(1){Ub[v[v[d>>2]+12>>2]](d,h+8|0,4,1,0,0)|0;t[b|0]=w[h+8|0];t[b+1|0]=w[h+9|0];t[b+2|0]=w[h+10|0];gh(a,c+g|0,f,w[h+11|0]);b=b+3|0;c=c+1|0;if((e|0)!=(c|0)){continue}break};break a;case 0:Ub[v[v[d>>2]+12>>2]](d,b,e,1,0,0)|0;break a;case 7:case 8:a=0;if((e|0)<=0){break a}while(1){Ub[v[v[d>>2]+12>>2]](d,h+14|0,2,1,0,0)|0;c=x[h+14>>1];t[b|0]=c<<3;t[b+2|0]=c>>>7&248;t[b+1|0]=c>>>2&248;b=b+3|0;a=a+1|0;if((e|0)!=(a|0)){continue}break};break a;case 16:break b;default:break a}}Ub[v[v[d>>2]+12>>2]](d,b,B(e,3),1,0,0)|0}Qb=h+16|0}function hia(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;v[a>>2]=0;a:{if(c){v[299999]=0;b=S(1,16)|0;d=v[299999];v[299999]=0;if((d|0)==1){break a}v[b+8>>2]=0;v[b+12>>2]=0;v[b+4>>2]=0;v[b>>2]=990592;v[299999]=0;Q(4336,a|0,b|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break a}v[299999]=0;d=S(1,c+1|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break a}v[b+8>>2]=c;v[b+12>>2]=d;t[c+d|0]=0}return}c=P()|0;O()|0;b=v[a>>2];v[a>>2]=0;b:{c:{if(!b){break c}v[299999]=0;a=v[b+4>>2]-1|0;v[b+4>>2]=a;d=v[299999];v[299999]=0;if((d|0)==1){break b}if(a){break c}v[299999]=0;R(4338,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break b}}T(c|0);L()}W(0)|0;O()|0;lc();L()}function eia(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;v[a>>2]=0;a:{if(c){v[299999]=0;b=S(1,16)|0;d=v[299999];v[299999]=0;if((d|0)==1){break a}v[b+8>>2]=0;v[b+12>>2]=0;v[b+4>>2]=0;v[b>>2]=990400;v[299999]=0;Q(4336,a|0,b|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break a}v[299999]=0;d=S(1,c+1|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break a}v[b+8>>2]=c;v[b+12>>2]=d;t[c+d|0]=0}return}c=P()|0;O()|0;b=v[a>>2];v[a>>2]=0;b:{c:{if(!b){break c}v[299999]=0;a=v[b+4>>2]-1|0;v[b+4>>2]=a;d=v[299999];v[299999]=0;if((d|0)==1){break b}if(a){break c}v[299999]=0;R(4338,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break b}}T(c|0);L()}W(0)|0;O()|0;lc();L()}function kua(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;v[a+4>>2]=0;v[a+64>>2]=977764;v[a>>2]=977744;v[a+8>>2]=977524;v[299999]=0;f=a- -64|0;d=a+12|0;V(2717,f|0,d|0);e=v[299999];v[299999]=0;a:{b:{if((e|0)!=1){v[a+136>>2]=0;v[a+140>>2]=-1;v[a+64>>2]=977544;v[a>>2]=977504;v[a+8>>2]=977524;v[299999]=0;e=S(4227,d|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break b}v[a+44>>2]=0;v[a+48>>2]=0;v[a+12>>2]=977356;v[a+52>>2]=0;v[a+56>>2]=0;v[a+60>>2]=c;v[299999]=0;V(4228,d|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){b=P()|0;O()|0;if(t[a+55|0]<=-1){dc(v[a+44>>2])}kh(e);break a}return a|0}b=P()|0;O()|0;break a}b=P()|0;O()|0}lf(f);T(b|0);L()}function dE(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=v[a+3524>>2];a:{while(1){e=a;b:{if(c){d=v[a+3520>>2];c=c-1|0;break b}c:{c=v[a+4>>2];d=Ub[v[v[c>>2]+28>>2]](c)|0;if((d|0)!=255){if((d|0)==-1){break a}break c}while(1){c=v[a+4>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;if((c|0)==255){continue}break}if(!c){break c}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,273732,0);return 9999}v[a+3520>>2]=d;c=7}v[e+3524>>2]=c;f=f+1|0;e=(f<<1)+b|0;g=x[e+18>>1];h=d>>>c&1|h<<1&131070;d=h&65535;if(g>>>0<=d>>>0){i=x[e+52>>1];e=d-g|0;if((i|0)>(e|0)){return w[((w[b+f|0]+(e&65535)|0)+b|0)+86|0]}if((f|0)!=16){continue}}break}kc(1,Ub[v[v[a>>2]+52>>2]](a)|0,258085,0)}return 9999}function at(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=1;j=v[a+16>>2];a:{if((j|0)>=1){k=v[a+24>>2];b=v[k>>2];e=v[b>>2];v[a>>2]=e;f=v[b+4>>2];v[a+4>>2]=f;g=(B(v[b+8>>2],v[b+16>>2]-1|0)+e|0)+1|0;v[a+8>>2]=g;h=(B(v[b+12>>2],v[b+20>>2]-1|0)+f|0)+1|0;v[a+12>>2]=h;if((j|0)==1){break a}while(1){c=v[(d<<2)+k>>2];b=v[c>>2];if((b|0)<(e|0)){v[a>>2]=b;e=b}i=v[c+4>>2];if((i|0)<(f|0)){v[a+4>>2]=i;f=i}b=b+B(v[c+8>>2],v[c+16>>2]-1|0)|0;if((b|0)>=(g|0)){g=b+1|0;v[a+8>>2]=g}b=B(v[c+12>>2],v[c+20>>2]-1|0)+i|0;if((b|0)>=(h|0)){h=b+1|0;v[a+12>>2]=h}d=d+1|0;if((j|0)!=(d|0)){continue}break}break a}v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0}}function _qa(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;f=Qb-32|0;Qb=f;a:{b:{if((b|0)<=-1){a=vc(f+8|0,227294,241879,649,225993,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}if((c|0)<=0){a=vc(f+8|0,268236,241879,651,225993,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}e=v[a+12>>2];c:{if(!e){break c}h=b+c|0;a=0;while(1){if((a|0)>=(h|0)){break c}g=v[e+8>>2];d=g>>31;d=(d^d+g)+a|0;if(!((d|0)<=(b|0)|(a|0)>(b|0))){if((g|0)<0){i=-1;break c}i=(d|0)>(h|0)?c:d-b|0;break c}a=d;e=v[e>>2];if(e){continue}break}}Qb=f+32|0;return i|0}L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function MS(a){a=a|0;v[a+4>>2]=15;v[a+8>>2]=0;v[a+32>>2]=0;v[a+36>>2]=1072693248;v[a>>2]=897092;v[a+24>>2]=0;v[a+28>>2]=1072693248;v[a+40>>2]=0;v[a+44>>2]=0;v[a+16>>2]=0;v[a+20>>2]=1072693248;v[a+80>>2]=0;v[a+84>>2]=1072693248;v[a+72>>2]=0;v[a+76>>2]=1072693248;v[a+88>>2]=0;v[a+92>>2]=1072693248;v[a+64>>2]=0;v[a+68>>2]=1072693248;v[a+48>>2]=0;v[a+52>>2]=0;v[a+56>>2]=0;v[a+60>>2]=0;v[a+96>>2]=0;v[a+100>>2]=0;v[a+104>>2]=0;v[a+108>>2]=0;v[a+112>>2]=0;v[a+116>>2]=0;v[a+120>>2]=0;v[a+124>>2]=1072693248;v[a+128>>2]=0;v[a+132>>2]=0;v[a+136>>2]=0;v[a+140>>2]=0;v[a+144>>2]=0;v[a+148>>2]=0;v[a+152>>2]=0;v[a+156>>2]=1072693248;return a|0}function VS(a){a=a|0;var b=0;v[a>>2]=896768;b=v[a+160>>2];if(b){dc(Dc(b))}a:{b=v[a+164>>2];if(b){v[299999]=0;R(3538,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a+168>>2];if(b){v[299999]=0;R(3130,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a+200>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+208>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+216>>2];if(b){v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}}v[a>>2]=896644;b=v[a+4>>2];if(b){dc(Dc(b))}b=v[a+16>>2];if(b){dc(Dc(b))}b=v[a+28>>2];if(b){dc(Dc(b))}return a|0}W(0)|0;O()|0;hu(a);lc();L()}function Gl(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;g=Qb-16|0;Qb=g;v[g+8>>2]=b;b=0;h=6;a:{b:{if(Im(a,g+8|0)){break b}h=4;i=d;f=v[a>>2];j=v[f+12>>2];c:{if((j|0)==v[f+16>>2]){f=Ub[v[v[f>>2]+36>>2]](f)|0;break c}f=v[j>>2]}if(!(Ub[v[v[d>>2]+12>>2]](i,2048,f)|0)){break b}b=Ub[v[v[d>>2]+52>>2]](d,f,0)|0;while(1){d:{mp(a);b=b-48|0;if(!jt(a,g+8|0)|(e|0)<2){break d}i=d;f=v[a>>2];h=v[f+12>>2];e:{if((h|0)==v[f+16>>2]){f=Ub[v[v[f>>2]+36>>2]](f)|0;break e}f=v[h>>2]}if(!(Ub[v[v[d>>2]+12>>2]](i,2048,f)|0)){break a}e=e-1|0;b=(Ub[v[v[d>>2]+52>>2]](d,f,0)|0)+B(b,10)|0;continue}break}h=2;if(!Im(a,g+8|0)){break a}}v[c>>2]=v[c>>2]|h}Qb=g+16|0;return b}function Eab(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,j=0,k=0;a:{if(f){j=c<<1;k=b<<1;if(((c+1|0)/2|0)<=(b|0)){if(!d){break a}a=0;while(1){t[g|0]=w[f|0];t[g+1|0]=w[f+1|0];t[g+2|0]=w[f+2|0];i=g;h=w[f+3|0];b=w[e+3|0];if((h|0)!=(b|0)){b=b+((B(h-b|0,k)+c|0)/(j|0)|0)|0}t[i+3|0]=b;f=f+4|0;e=e+4|0;g=g+4|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}break a}if(!d){break a}a=0;while(1){t[g|0]=w[e|0];t[g+1|0]=w[e+1|0];t[g+2|0]=w[e+2|0];i=g;h=w[f+3|0];b=w[e+3|0];if((h|0)!=(b|0)){b=b+((B(h-b|0,k)+c|0)/(j|0)|0)|0}t[i+3|0]=b;f=f+4|0;e=e+4|0;g=g+4|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}break a}gc(g,e,d<<2)}return 0}function u0(a){a=a|0;a=ic(a,0,190648);v[a+16>>2]=-1;v[a+20>>2]=-1;v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=1038352;v[a+24>>2]=-1;v[a+28>>2]=-1;v[a+104>>2]=0;v[a+108>>2]=1072693248;v[a+56>>2]=1065353216;v[a+48>>2]=0;v[a+40>>2]=0;v[a+44>>2]=1;v[a+32>>2]=0;v[a+36>>2]=0;v[a+96>>2]=0;v[a+100>>2]=1072693248;v[a+88>>2]=0;v[a+92>>2]=1072693248;v[a+128>>2]=0;v[a+132>>2]=0;v[a+120>>2]=0;v[a+124>>2]=1074921472;v[a+112>>2]=-858993459;v[a+116>>2]=1071434956;v[a+80>>2]=0;v[a+84>>2]=1072693248;v[a+136>>2]=0;v[a+140>>2]=0;v[a+144>>2]=0;v[a+148>>2]=0;v[a+204>>2]=0;v[a+168>>2]=1;v[a+172>>2]=8;v[a+200>>2]=0;v[a+208>>2]=-1;v[a+212>>2]=-1;v[a+224>>2]=-1}function X7(){var a=0;a:{if(t[1201392]&1){break a}if(!Je(1201392)){break a}a=1201104;while(1){a=ge(a)+12|0;if((a|0)!=1201392){continue}break}Ie(1201392)}Me(1201104,1021064);Me(1201116,1021096);Me(1201128,1021132);Me(1201140,1021156);Me(1201152,1021180);Me(1201164,1021196);Me(1201176,1021216);Me(1201188,1021236);Me(1201200,1021264);Me(1201212,1021304);Me(1201224,1021336);Me(1201236,1021372);Me(1201248,1021408);Me(1201260,1021424);Me(1201272,1021440);Me(1201284,1021456);Me(1201296,1021180);Me(1201308,1021472);Me(1201320,1021488);Me(1201332,1021504);Me(1201344,1021520);Me(1201356,1021536);Me(1201368,1021552);Me(1201380,1021568)}function jm(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=a+4|0;a=v[a+4>>2];a:{b:{if(!a){break b}e=i;while(1){d=w[b+11|0];j=d<<24>>24<0;c=w[a+27|0];k=c<<24>>24<0;f=j?v[b+4>>2]:d;g=k?v[a+20>>2]:c;h=f>>>0>>0;d=h?f:g;c:{if(d){c=a+16|0;c=od(k?v[c>>2]:c,j?v[b>>2]:b,d);if(c){break c}}c=f>>>0>g>>>0?-1:h}e=(c|0)<0?e:a;a=v[(c>>>29&4)+a>>2];if(a){continue}break}if((e|0)==(i|0)){break b}c=w[e+27|0];f=c<<24>>24<0;a=w[b+11|0];g=a<<24>>24<0;d:{h=f?v[e+20>>2]:c;d=g?v[b+4>>2]:a;c=d>>>0>h>>>0?h:d;if(c){a=e+16|0;a=od(g?v[b>>2]:b,f?v[a>>2]:a,c);if(a){break d}}if(d>>>0>>0){break b}break a}if((a|0)>-1){break a}}e=i}return e|0}function Lr(a,b,c){var d=0,e=0,f=0,g=0,h=0;g=Qb-256|0;Qb=g;a:{if(v[a+328>>2]>0){while(1){e=v[((d<<2)+a|0)+196>>2];Ub[v[v[e>>2]+16>>2]](e,b,(d<<3)+g|0);d=d+1|0;if((d|0)>2]){continue}break}d=0;b=v[a+8>>2];if((Ub[v[v[b>>2]+28>>2]](b)|0)<=0){break a}while(1){e=(d<<2)+c|0;f=A[(d<<3)+g>>3]*65536;b:{if(D(f)<2147483648){b=~~f;break b}b=-2147483648}v[e>>2]=b;b=v[a+8>>2];d=d+1|0;if((Ub[v[v[b>>2]+28>>2]](b)|0)>(d|0)){continue}break}break a}if(v[a+324>>2]<=0){break a}while(1){h=(d<<2)+c|0;f=A[(d<<3)+b>>3]*65536;c:{if(D(f)<2147483648){e=~~f;break c}e=-2147483648}v[h>>2]=e;d=d+1|0;if((d|0)>2]){continue}break}}Qb=g+256|0}function pca(a,b){a=a|0;b=b|0;var c=0;Ub[v[v[a>>2]+24>>2]](a)|0;b=MM(b);v[a+68>>2]=b;c=w[a+98|0];b=Ub[v[v[b>>2]+28>>2]](b)|0;t[a+98|0]=b;if((b|0)!=(c|0)){v[a+16>>2]=0;v[a+12>>2]=0;v[a+8>>2]=0;v[a+28>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;b=w[a+96|0];if(w[a+98|0]){a:{if(!b){break a}b=v[a+32>>2];if(!b){break a}dc(b)}t[a+96|0]=w[a+97|0];v[a+52>>2]=v[a+60>>2];b=v[a+56>>2];v[a+56>>2]=0;v[a+60>>2]=0;v[a+32>>2]=b;t[a+97|0]=0;return}b:{if(b){break b}b=v[a+32>>2];if((b|0)==(a+44|0)){break b}t[a+97|0]=0;v[a+56>>2]=b;b=v[a+52>>2];v[a+60>>2]=b;b=fc(b);t[a+96|0]=1;v[a+32>>2]=b;return}b=v[a+52>>2];v[a+60>>2]=b;b=fc(b);t[a+97|0]=1;v[a+56>>2]=b}}function YS(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=Qb-16|0;Qb=c;v[c>>2]=13;a:{if(v[b>>2]!=9){break a}e=v[a+112>>2];if(v[e+8>>2]<1){break a}while(1){b:{c:{d:{d=v[v[e>>2]+(h<<2)>>2];switch(v[d>>2]-6|0){case 0:break c;case 3:break d;default:break b}}if(v[b+8>>2]!=v[d+8>>2]|v[b+12>>2]!=v[d+12>>2]){break b}i=1;kc(1,-1,235720,0);break a}f=0;g=v[d+8>>2];if(v[g+12>>2]<=0){break b}while(1){hg(g,f,c);if(!(v[c>>2]!=9|v[b+8>>2]!=v[c+8>>2]|v[b+12>>2]!=v[c+12>>2])){i=1;kc(1,-1,235720,0);hc(c);break a}hc(c);f=f+1|0;g=v[d+8>>2];if((f|0)>2]){continue}break}e=v[a+112>>2]}h=h+1|0;if((h|0)>2]){continue}break}}Qb=c+16|0;return i}function gKa(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;d=v[a>>2];a:{if(!d){break a}f=v[d+28>>2];d=v[d+24>>2];g=f-d|0;if((g|0)<1){break a}e=g>>>2|0;j=e>>>0>1?e:1;e=0;while(1){f=w[b+11|0];g=f<<24>>24<0;d=v[(e<<2)+d>>2];h=w[d+59|0];i=h<<24>>24<0;b:{f=g?v[b+4>>2]:f;if((f|0)!=((i?v[d+52>>2]:h)|0)){break b}c:{d:{if(!f){b=v[c>>2];v[c>>2]=d;break d}d=d+48|0;if(od(g?v[b>>2]:b,i?v[d>>2]:d,f)){break b}b=v[c>>2];d=v[v[v[a>>2]+24>>2]+(e<<2)>>2];v[c>>2]=d;if(!d){break c}}Ub[v[v[d>>2]+8>>2]](d)|0}e=1;if(!b){break a}Ub[v[v[b>>2]+12>>2]](b)|0;return 1}e=e+1|0;if((e|0)!=(j|0)){d=v[v[a>>2]+24>>2];continue}break}e=0}return e|0}function f_(a){var b=0,c=0,d=0;c=Qb-16|0;Qb=c;v[a+4>>2]=0;v[c+12>>2]=0;b=jc(84);if(!b){d=v[a>>2];v[d+20>>2]=56;v[d+24>>2]=0;Ub[v[v[a>>2]>>2]](a)}v[b+48>>2]=1e9;v[b+40>>2]=181;v[b+36>>2]=182;v[b+32>>2]=183;v[b+28>>2]=184;v[b+24>>2]=185;v[b+20>>2]=186;v[b+16>>2]=187;v[b+12>>2]=188;v[b+8>>2]=189;v[b+4>>2]=190;v[b>>2]=191;v[b+52>>2]=0;v[b+56>>2]=0;v[b+44>>2]=0;v[b+76>>2]=84;v[b+60>>2]=0;v[b+64>>2]=0;v[b+68>>2]=0;v[b+72>>2]=0;v[a+4>>2]=b;a=ei(2943);a:{if(!a){break a}t[c+11|0]=120;v[c>>2]=c+12;v[c+4>>2]=c+11;if((ef(a,7847,c)|0)<1){break a}a=v[c+12>>2];if((w[c+11|0]&223)==77){a=B(a,1e3);v[c+12>>2]=a}v[b+44>>2]=B(a,1e3)}Qb=c+16|0}function aV(a,b,c){var d=0,e=0,f=0;if(!a){return 0}a:{if(!b){b:while(1){b=f;while(1){if(v[a+4>>2]!=14){f=0;d=Ku(a,0,c,1);if(!d){break a}c:{d:{if(!b){e=0;b=d;break d}f=b;if((d|0)==(e|0)){break c}v[e+24>>2]=d}v[d+28>>2]=e;e=d;f=b}a=v[a+24>>2];if(a){continue b}break a}a=v[a+24>>2];if(a){continue}break}break}return b}while(1){e:{f:{g:{if(v[a+4>>2]==14){d=v[b+44>>2];if(!d){d=KF(a);if(d){break f}return 0}$f(c,d);break g}d=Ku(a,b,c,1)}if(d){break e}return 0}v[d+20>>2]=c;v[d+32>>2]=b;v[b+44>>2]=d;$f(c,d)}h:{i:{if(!f){e=0;f=d;break i}if((d|0)==(e|0)){break h}v[e+24>>2]=d}v[d+28>>2]=e;e=d}a=v[a+24>>2];if(a){continue}break}}return f}function Mw(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0;i=Qb-240|0;Qb=i;h=v[d>>2];v[i+232>>2]=h;d=v[d+4>>2];v[i>>2]=a;v[i+236>>2]=d;l=0-b|0;a:{b:{c:{d:{if((h|0)!=1){h=a;j=1;break d}h=a;j=1;if(d){break d}d=a;break c}while(1){d=h-v[(e<<2)+g>>2]|0;if((Ub[c|0](d,a)|0)<1){d=h;break c}e:{if(!((e|0)<2|f)){f=v[((e<<2)+g|0)-8>>2];k=h+l|0;if((Ub[c|0](k,d)|0)>-1){break e}if((Ub[c|0](k-f|0,d)|0)>-1){break e}}v[(j<<2)+i>>2]=d;f=i+232|0;k=f;h=Aib(v[f>>2]-1|0);if(!h){f=Aib(v[f+4>>2]);h=f?f+32|0:0}Nw(k,h);j=j+1|0;e=e+h|0;f=0;h=d;if(v[i+236>>2]|v[i+232>>2]!=1){continue}break b}break}d=h;break b}if(f){break a}}nN(b,i,j);MC(d,b,c,e,g)}Qb=i+240|0}function wK(){var a=0;a=Qb-16|0;Qb=a;v[a+8>>2]=595;v[a+4>>2]=596;v[a>>2]=597;Al(0,2061,2061,8165,a);v[a+8>>2]=598;v[a+4>>2]=599;v[a>>2]=600;Al(1,9689,9689,14477,a);Al(1,9689,15705,14477,a);Al(1,9689,18152,14477,a);v[a+8>>2]=601;v[a+4>>2]=602;v[a>>2]=603;Al(2,20564,20564,23757,a);v[a+8>>2]=604;v[a+4>>2]=605;v[a>>2]=606;Al(3,24804,24804,27484,a);v[a+8>>2]=607;v[a+4>>2]=608;v[a>>2]=609;Al(4,29173,29173,30662,a);v[a+8>>2]=610;v[a+4>>2]=611;v[a>>2]=612;Al(5,31921,31921,33908,a);v[a+8>>2]=613;v[a+4>>2]=614;v[a>>2]=615;Al(6,34713,34713,36910,a);v[a+8>>2]=616;v[a+4>>2]=617;v[a>>2]=618;Al(7,37207,37207,39057,a);Qb=a+16|0;return 0}function q2(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=v[a>>2];f=g;d=v[a+4>>2];if((d|0)<=(g|0)){d=d+128|0;f=uh(v[a+8>>2],d<<2);if(!f){return-1}v[a+8>>2]=f;v[a+4>>2]=d;f=v[a>>2]}a:{if((f|0)<=(g|0)){break a}d=f;e=d-g&3;if(e){while(1){c=v[a+8>>2];h=c+(d<<2)|0;d=d-1|0;v[h>>2]=v[c+(d<<2)>>2];e=e-1|0;if(e){continue}break}}if((g^-1)+f>>>0<3){break a}while(1){h=d<<2;e=h-4|0;c=v[a+8>>2];v[h+c>>2]=v[c+e>>2];c=v[a+8>>2];i=c+e|0;e=c;c=h-8|0;v[i>>2]=v[e+c>>2];e=c;c=v[a+8>>2];i=e+c|0;e=c;c=h-12|0;v[i>>2]=v[e+c>>2];e=c;c=v[a+8>>2];d=d-4|0;v[e+c>>2]=v[c+(d<<2)>>2];if((d|0)>(g|0)){continue}break}}v[v[a+8>>2]+(g<<2)>>2]=b;v[a>>2]=f+1;return 0}function tYa(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;a:{if((e|0)<1){break a}a=v[a+112>>2];if(!a){break a}j=a&-4;k=a&3;l=a-1>>>0<3;while(1){i=v[v[b>>2]+(c<<2)>>2];a=v[d>>2];g=0;h=j;if(!l){while(1){f=w[g+i|0];t[a+1|0]=f;t[a+2|0]=f;t[a|0]=f;f=w[(g|1)+i|0];t[a+4|0]=f;t[a+5|0]=f;t[a+3|0]=f;f=w[(g|2)+i|0];t[a+7|0]=f;t[a+8|0]=f;t[a+6|0]=f;f=w[(g|3)+i|0];t[a+10|0]=f;t[a+11|0]=f;t[a+9|0]=f;g=g+4|0;a=a+12|0;h=h-4|0;if(h){continue}break}}h=k;if(h){while(1){f=w[g+i|0];t[a+1|0]=f;t[a+2|0]=f;t[a|0]=f;g=g+1|0;a=a+3|0;h=h-1|0;if(h){continue}break}}d=d+4|0;c=c+1|0;a=(e|0)>1;e=e-1|0;if(a){continue}break}}}function j6a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=Qb-32|0;Qb=d;c=x[a+26308>>1];if(c){e=v[252391];b=x[a+26310>>1];while(1){a:{if(!b){b=0;break a}c=0;while(1){b=v[a+26352>>2]+(B(b,f)+c<<3)|0;if((Ub[v[v[a>>2]>>2]](v[a+4>>2],b,2,3)|0)<=2){b:{if(v[a+26160>>2]){break b}v[d+16>>2]=v[a+25208>>2];wc(e,8292,d+16|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,e);break b}g=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[d>>2]=g;v[d+4>>2]=g>>31;wc(e,14622,d)}v[a+26160>>2]=1}if(x[a+25204>>1]!=18761){sp(b,b,6)}b=x[a+26310>>1];c=c+1|0;if(b>>>0>c>>>0){continue}break}c=x[a+26308>>1]}f=f+1|0;if(f>>>0<(c&65535)>>>0){continue}break}}Qb=d+32|0}function hU(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b=v[a+352>>2];if(!b){break a}e=a;b:{if(!b){break b}c=v[b>>2];if(!c){break b}d=v[b+4>>2];if((d|0)<1){break b}while(1){h=B(g,24);a=h+c|0;if(!(!v[a+20>>2]|!c)){c=v[b+8>>2];while(1){f=c;d=v[a>>2];i=v[a+16>>2];if(i){Ub[3037](i,e,v[a+4>>2],v[a+8>>2],v[a+12>>2]);c=v[b+8>>2]}c:{d:{if((c|0)==(f|0)){a=d;break d}f=v[b>>2]+h|0;if((f|0)!=(a|0)){a=d;break d}if((d|0)!=v[a>>2]){break d}if(!v[f+20>>2]){break c}}if(a){continue}}break}d=v[b+4>>2]}g=g+1|0;if((g|0)>=(d|0)){break b}c=v[b>>2];continue}}a=v[e+352>>2];if(a){a=v[a+8>>2]}else{a=-1}if(a){break a}il(v[e+352>>2],0);v[e+352>>2]=0}}function doa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;a:{f=v[b+156>>2];b:{if(f){while(1){d=0;e=v[f+8>>2];if(e){v[e+4>>2]=v[e+4>>2]+1;d=v[f+8>>2]}v[a>>2]=d;if(v[d+8>>2]==v[v[c>>2]+8>>2]){break b}v[a>>2]=0;v[299999]=0;e=v[d+4>>2]-1|0;v[d+4>>2]=e;g=v[299999];v[299999]=0;if((g|0)==1){break a}if(!e){v[299999]=0;R(4338,d|0);d=v[299999];v[299999]=0;if((d|0)==1){break a}}f=v[f>>2];if(f){continue}break}}d=fc(12);v[d>>2]=0;v[d+4>>2]=0;v[d+8>>2]=0;g=d;e=v[c>>2];if(e){v[e+4>>2]=v[e+4>>2]+1;f=v[c>>2]}else{f=0}v[g+8>>2]=f;Le(b+148|0,d);b=v[c>>2];if(b){v[b+4>>2]=v[b+4>>2]+1;b=v[c>>2]}else{b=0}v[a>>2]=b}return}W(0)|0;O()|0;lc();L()}function QB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;if(w[a+11|0]>>>7|0){d=v[a+4>>2]}else{d=w[a+11|0]}if(d>>>0>>0){e=Qb-16|0;Qb=e;f=b-d|0;if(f){b=w[a+11|0]>>>7|0?(v[a+8>>2]&2147483647)-1|0:1;if(w[a+11|0]>>>7|0){d=v[a+4>>2]}else{d=w[a+11|0]}g=d+f|0;if(b-d>>>0>>0){mw(a,b,g-b|0,d,d,0)}if(w[a+11|0]>>>7|0){b=v[a>>2]}else{b=a}gL(b+(d<<2)|0,f,c);a:{if(w[a+11|0]>>>7|0){v[a+4>>2]=g;break a}t[a+11|0]=g}v[e+12>>2]=0;v[b+(g<<2)>>2]=v[e+12>>2]}Qb=e+16|0;return}c=Qb-16|0;Qb=c;b:{if(w[a+11|0]>>>7|0){d=v[a>>2];v[c+12>>2]=0;v[d+(b<<2)>>2]=v[c+12>>2];v[a+4>>2]=b;break b}v[c+8>>2]=0;v[(b<<2)+a>>2]=v[c+8>>2];t[a+11|0]=b}Qb=c+16|0}function LTa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=Qb-16|0;Qb=d;f=b+12|0;g=b+8|0;a:{b:{c:{while(1){d:{c=v[b+20>>2];v[b+20>>2]=c+1;OB(d,c);v[299999]=0;c=Y(2347,d|0,0,460632)|0;e=v[299999];v[299999]=0;if((e|0)==1){break d}e=v[c+4>>2];v[a>>2]=v[c>>2];v[a+4>>2]=e;v[a+8>>2]=v[c+8>>2];v[c>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;if(t[d+11|0]<=-1){dc(v[d>>2])}v[299999]=0;c=jm(g,a);e=v[299999];v[299999]=0;if((e|0)==1){break c}if((c|0)==(f|0)){break a}if(t[a+11|0]>-1){continue}dc(v[a>>2]);continue}break}b=P()|0;O()|0;if(t[d+11|0]>-1){break b}dc(v[d>>2]);T(b|0);L()}b=P()|0;O()|0;if(t[a+11|0]>-1){break b}dc(v[a>>2])}T(b|0);L()}Qb=d+16|0}function Keb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=v[v[a+544>>2]+88>>2];d=v[c+1176>>2]+B(v[c+1168>>2],v[a+572>>2])|0;b=v[a+644>>2];a:{if(w[c+56|0]){if(v[a+588>>2]<=0){break a}while(1){e=w[d+2|0];f=w[d|0];g=w[d+1|0];b:{if(!((f|0)!=x[c+838>>1]|(g|0)!=x[c+840>>1]|x[c+842>>1]!=(e|0))){t[b|0]=0;t[b+1|0]=0;t[b+2|0]=0;t[b+3|0]=0;break b}t[b+3|0]=255;t[b+2|0]=e;t[b+1|0]=g;t[b|0]=f}b=b+4|0;d=d+3|0;h=h+1|0;if((h|0)>2]){continue}break}break a}c=0;if(v[a+588>>2]<=0){break a}while(1){t[b|0]=w[d|0];t[b+1|0]=w[d+1|0];e=w[d+2|0];t[b+3|0]=255;t[b+2|0]=e;b=b+4|0;d=d+3|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function Gp(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=Qb-32|0;Qb=e;d=w[c+11|0];f=d<<24>>24<0;b=f?v[c>>2]:c;d=f?v[c+4>>2]:d;a:{if(!(!d|v[b>>2]!=47)){b=Aj(e+16|0,c,1,-1,c);f=v[b>>2];g=t[b+11|0];v[299999]=0;c=ca(2654,e|0,c|0,1,-1,c|0)|0;d=v[299999];v[299999]=0;b:{c:{if((d|0)!=1){d=w[c+11|0];h=v[c+4>>2];v[299999]=0;$(2656,a|0,((g|0)<0?f:b)|0,(d<<24>>24<0?h:d)|0,0);a=v[299999];v[299999]=0;if((a|0)==1){break c}if(t[c+11|0]<=-1){dc(v[c>>2])}if(t[b+11|0]>-1){break a}dc(v[b>>2]);break a}a=P()|0;O()|0;break b}a=P()|0;O()|0;if(t[c+11|0]>-1){break b}dc(v[c>>2])}if(t[b+11|0]<=-1){dc(v[b>>2])}T(a|0);L()}ks(a,b,d,0)}Qb=e+32|0}function qLa(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,n=0;a:{if((e|0)<1){break a}i=v[a+76>>2];if((i|0)<1){break a}a=v[a+28>>2];if(!a){break a}k=a&-4;l=a&3;m=a-1>>>0<3;while(1){n=e-1|0;g=0;while(1){j=v[v[(g<<2)+c>>2]+(d<<2)>>2];f=v[b>>2];a=0;h=k;if(!m){while(1){t[a+j|0]=w[f+g|0];f=f+i|0;t[(a|1)+j|0]=w[f+g|0];f=f+i|0;t[(a|2)+j|0]=w[f+g|0];f=f+i|0;t[(a|3)+j|0]=w[f+g|0];a=a+4|0;f=f+i|0;h=h-4|0;if(h){continue}break}}h=l;if(h){while(1){t[a+j|0]=w[f+g|0];a=a+1|0;f=f+i|0;h=h-1|0;if(h){continue}break}}g=g+1|0;if((i|0)!=(g|0)){continue}break}d=d+1|0;b=b+4|0;a=(e|0)>1;e=n;if(a){continue}break}}}function fla(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Qb-16|0;Qb=d;Qm(d+8|0);v[299999]=0;e=b;b=v[d+8>>2];U(5047,e|0,b|0,c|0);c=v[299999];v[299999]=0;a:{b:{if((c|0)==1){break b}c=v[v[b>>2]+20>>2];v[299999]=0;Z(c|0,b|0,0,0,0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}v[299999]=0;V(5048,a|0,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break b}a=v[d+8>>2];v[d+8>>2]=0;c:{if(!a){break c}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break c}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Qb=d+16|0;return}a=P()|0;O()|0;ec(d+8|0);T(a|0);L()}W(0)|0;O()|0;lc();L()}function tC(a,b){var c=0,d=0;a:{b:{if(b>>>0>8){while(1){t[a|0]=w[w[a|0]+82032|0];t[a+1|0]=w[w[a+1|0]+82032|0];t[a+2|0]=w[w[a+2|0]+82032|0];t[a+3|0]=w[w[a+3|0]+82032|0];t[a+4|0]=w[w[a+4|0]+82032|0];t[a+5|0]=w[w[a+5|0]+82032|0];t[a+6|0]=w[w[a+6|0]+82032|0];t[a+7|0]=w[w[a+7|0]+82032|0];a=a+8|0;b=b-8|0;if(b>>>0>8){continue}break b}}if(!b){break a}}d=b-1|0;c=b&3;if(c){while(1){t[a|0]=w[w[a|0]+82032|0];a=a+1|0;b=b-1|0;c=c-1|0;if(c){continue}break}}if(d>>>0<3){break a}while(1){t[a|0]=w[w[a|0]+82032|0];t[a+1|0]=w[w[a+1|0]+82032|0];t[a+2|0]=w[w[a+2|0]+82032|0];t[a+3|0]=w[w[a+3|0]+82032|0];a=a+4|0;b=b-4|0;if(b){continue}break}}}function WXa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=Qb-32|0;Qb=c;a:{if((Ub[v[b+52>>2]](b,6,c,3)|0)<=5){v[b+12>>2]=3;break a}e=v[c+12>>2];if(!e){v[b+12>>2]=3;break a}d=e>>31;d=d+e^d;if((d|0)!=65536){f=a,g=ad(1e3,d),u[f+68>>1]=g;f=c,g=ad(v[c>>2],d),v[f>>2]=g;f=c,g=ad(v[c+4>>2],d),v[f+4>>2]=g;f=c,g=ad(v[c+8>>2],d),v[f+8>>2]=g;f=c,g=ad(v[c+16>>2],d),v[f+16>>2]=g;f=c,g=ad(v[c+20>>2],d),v[f+20>>2]=g;e=v[c+12>>2]<0?-65536:65536;v[c+12>>2]=e}v[a+440>>2]=v[c>>2];v[a+448>>2]=v[c+4>>2];d=v[c+8>>2];v[a+452>>2]=e;v[a+444>>2]=d;if(!iA(a+440|0)){v[b+12>>2]=3;break a}v[a+456>>2]=v[c+16>>2]>>16;v[a+460>>2]=v[c+20>>2]>>16}Qb=c+32|0}function JYa(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;f=v[a+736>>2];a:{if(!f){d=ws(a,0);if(d){break a}f=v[a+736>>2]}if(!v[f+4>>2]){d=Sz(a,0,0,1);if(d){break a}}e=v[f>>2];e=b>>>0>e>>>0?e:b;b:{if(w[a+733|0]){if(!e){e=0;break b}h=e&3;f=v[f+8>>2];a=0;if(e-1>>>0>=3){i=e&-4;while(1){d=a<<2;v[d+c>>2]=v[d+f>>2];g=d|4;v[g+c>>2]=v[f+g>>2];g=d|8;v[g+c>>2]=v[f+g>>2];d=d|12;v[d+c>>2]=v[d+f>>2];a=a+4|0;i=i-4|0;if(i){continue}break}}if(!h){break b}while(1){d=a<<2;v[d+c>>2]=v[d+f>>2];a=a+1|0;h=h-1|0;if(h){continue}break}break b}if(!e){e=0;break b}ic(c,0,e<<2)}d=0;if(b>>>0<=e>>>0){break a}ic((e<<2)+c|0,0,b-e<<2)}return d|0}function HYa(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;f=v[a+736>>2];a:{if(!f){d=ws(a,0);if(d){break a}f=v[a+736>>2]}if(!v[f+4>>2]){d=Sz(a,0,0,1);if(d){break a}}e=v[f>>2];e=b>>>0>e>>>0?e:b;b:{if(w[a+733|0]){if(!e){e=0;break b}h=e&3;f=v[f+4>>2];a=0;if(e-1>>>0>=3){i=e&-4;while(1){d=a<<2;v[d+c>>2]=v[d+f>>2];g=d|4;v[g+c>>2]=v[f+g>>2];g=d|8;v[g+c>>2]=v[f+g>>2];d=d|12;v[d+c>>2]=v[d+f>>2];a=a+4|0;i=i-4|0;if(i){continue}break}}if(!h){break b}while(1){d=a<<2;v[d+c>>2]=v[d+f>>2];a=a+1|0;h=h-1|0;if(h){continue}break}break b}if(!e){e=0;break b}ic(c,0,e<<2)}d=0;if(b>>>0<=e>>>0){break a}ic((e<<2)+c|0,0,b-e<<2)}return d|0}function $ab(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,j=0,k=0,l=0,m=0;if(e){m=e-1|0;while(1){t[g|0]=w[f|0];t[g+1|0]=w[f+1|0];h=g+2|0;a=j?(j|0)==(m|0)?d:b:c;a:{if(a>>>0<2){g=h;break a}i=a-1|0;k=i&3;b:{if(a-2>>>0<3){i=h;a=g;break b}l=i&-4;a=g;while(1){t[h|0]=w[f|0];t[a+3|0]=w[f+1|0];t[h+2|0]=w[f|0];t[h+3|0]=w[f+1|0];t[h+4|0]=w[f|0];t[h+5|0]=w[f+1|0];t[h+6|0]=w[f|0];t[h+7|0]=w[f+1|0];a=h+6|0;i=h+8|0;h=i;l=l-4|0;if(l){continue}break}}g=i;if(!k){break a}while(1){h=g;t[h|0]=w[f|0];t[a+3|0]=w[f+1|0];g=h+2|0;a=h;k=k-1|0;if(k){continue}break}}f=f+2|0;j=j+1|0;if((j|0)!=(e|0)){continue}break}}return 0}function oN(a,b){var c=0,d=0;d=Qb-32|0;Qb=d;a:{b:{c:{if(!af(303102,t[b|0])){v[299402]=28;break c}c=jc(1176);if(c){break b}}c=0;break a}ic(c,0,144);if(!af(b,43)){v[c>>2]=w[b|0]==114?8:4}d:{if(w[b|0]!=97){b=v[c>>2];break d}b=Ia(a|0,3,0)|0;if(!(b&1024)){v[d+16>>2]=b|1024;Ia(a|0,4,d+16|0)|0}b=v[c>>2]|128;v[c>>2]=b}t[c+75|0]=255;v[c+48>>2]=1024;v[c+60>>2]=a;v[c+44>>2]=c+152;e:{if(b&8){break e}v[d>>2]=d+24;if(ib(a|0,21523,d|0)|0){break e}t[c+75|0]=10}v[c+40>>2]=5437;v[c+36>>2]=5436;v[c+32>>2]=5438;v[c+12>>2]=5435;if(!v[299404]){v[c+76>>2]=-1}v[c+56>>2]=v[299454];a=v[299454];if(a){v[a+52>>2]=c}v[299454]=c}Qb=d+32|0;return c}function Zm(a){var b=0,c=0,d=0,e=0,f=0;a:{if(!a){break a}if(!w[1176924]){b=jc(4);v[294232]=b;if(!b){break a}t[1176924]=1}b=v[a>>2];v[a>>2]=b-1;if((b|0)>1){break a}b=v[a+20>>2];if(b){Zm(b)}b=v[a+4>>2];if(b){c=v[a+8>>2];if(c){d=v[a+12>>2];while(1){if(d){b=v[a+4>>2];f=b+B(e,20)|0;b:{if(!v[f+12>>2]|!b){break b}b=v[f>>2];d=d-1|0;v[a+12>>2]=d;if(!b){break b}while(1){c=v[b>>2];Ub[v[259708]](b);d=v[a+12>>2]-1|0;v[a+12>>2]=d;b=c;if(b){continue}break}c=v[a+8>>2]}e=e+1|0;if(e>>>0>>0){continue}}break}b=v[a+4>>2]}Ub[v[259708]](b)}b=v[a+16>>2];if(b){while(1){c=v[b>>2];Ub[v[259708]](b);b=c;if(b){continue}break}}Ub[v[259708]](a)}}function CG(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=Qb-32|0;Qb=c;v[c+16>>2]=b;d=v[a+4>>2];v[c+12>>2]=b;b=Ub[d|0](c+12|0)|0;v[c+24>>2]=v[c+16>>2];j=v[a>>2];f=b&2147483647;e=v[a+28>>2];g=(f^67108864)%(e|0)|0;b=g;d=-1;a:{b:{while(1){k=B(b,12)+j|0;h=v[k>>2];c:{if((h|0)==(f|0)){e=v[a+8>>2];v[c+8>>2]=v[c+24>>2];v[c+4>>2]=v[k+8>>2];if(Ub[e|0](c+8|0,c+4|0)|0){d=b;break a}e=v[a+28>>2];break c}if((h|0)>-1){break c}if((h|0)==-2147483647){break b}d=(d|0)<0?b:d}i=i?i:((f|0)%(e-1|0)|0)+1|0;b=(i+b|0)%(e|0)|0;if((g|0)!=(b|0)){continue}break}if((d|0)>-1){break a}d=g;break a}d=(d|0)>-1?d:b}Qb=c+32|0;return v[(B(d,12)+j|0)+4>>2]}function wu(a,b,c){var d=0,e=0,f=0;a:{if(!(w[a+361|0]&32)){break a}d=v[a+328>>2];while(1){e=d;if((d|0)<2){break a}f=v[a+336>>2];d=e-2|0;if(v[f+(d<<2)>>2]!=(b|0)){continue}break}if(v[(f+(e<<2)|0)-4>>2]!=(c|0)){break a}return-2}b:{c:{e=v[a+332>>2];if(e){d=v[a+336>>2];if(d){break c}}v[a+328>>2]=0;v[a+332>>2]=10;d=Ub[v[259704]](40)|0;v[a+336>>2]=d;if(d){break b}Qd(a,0);v[a+332>>2]=0;return-1}if((e|0)>v[a+328>>2]){break b}v[a+332>>2]=e<<1;d=Ub[v[259709]](d,e<<3)|0;if(!d){Qd(a,0);v[a+332>>2]=v[a+332>>2]/2;return-1}v[a+336>>2]=d}f=d;d=v[a+328>>2];e=d<<2;v[f+e>>2]=b;b=d+2|0;v[a+328>>2]=b;v[(e+v[a+336>>2]|0)+4>>2]=c;return b}function TC(a,b,c,d,e){var f=0,g=0,h=0,i=0;f=Qb-208|0;Qb=f;v[f+204>>2]=c;c=f+160|0;ic(c,0,40);v[f+200>>2]=v[f+204>>2];a:{if((SC(0,b,f+200|0,f+80|0,c,d,e)|0)<0){b=-1;break a}h=v[a+76>>2]>=0;c=v[a>>2];if(t[a+74|0]<=0){v[a>>2]=c&-33}i=c&32;b:{if(v[a+48>>2]){b=SC(a,b,f+200|0,f+80|0,f+160|0,d,e);break b}v[a+48>>2]=80;g=f+80|0;v[a+16>>2]=g;v[a+28>>2]=f;v[a+20>>2]=f;c=v[a+44>>2];v[a+44>>2]=f;d=SC(a,b,f+200|0,g,f+160|0,d,e);b=d;if(!c){break b}Ub[v[a+36>>2]](a,0,0)|0;v[a+48>>2]=0;v[a+44>>2]=c;v[a+28>>2]=0;v[a+16>>2]=0;b=v[a+20>>2];v[a+20>>2]=0;b=b?d:-1}c=a;a=v[a>>2];v[c>>2]=a|i;b=a&32?-1:b;if(!h){break a}}Qb=f+208|0;return b}function n7(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;a:{b:{if(!d){d=v[a+584>>2];if(!d){break b}e=(c|0)/v[d+8>>2]|0;if(v[d>>2]!=2){if(v[d+16>>2]<(e|0)){break a}c=v[d+12>>2];Ub[v[d+20>>2]](d,b,e);b=c}f=v[a+600>>2];c=f-v[a+608>>2]|0;d=v[a+604>>2];if(e){while(1){if((c|0)<=2){v[a+604>>2]=d;v[a+608>>2]=v[a+600>>2]-c;if(!Ae(a)){return-1}d=v[a+604>>2];c=v[a+600>>2]-v[a+608>>2]|0}t[d|0]=x[b+2>>1];t[d+1|0]=v[b>>2]>>>8;t[d+2|0]=v[b>>2];c=c-3|0;d=d+3|0;b=b+4|0;e=e-1|0;if(e){continue}break}f=v[a+600>>2]}v[a+604>>2]=d;v[a+608>>2]=f-c;return 1}X(33866,6284,468,84288);L()}X(25714,6284,469,84288);L()}X(34494,6284,476,84288);L()}function fw(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=a?v[a+40>>2]:0;b=a?v[a+12>>2]:-1;d=a?v[a+4>>2]:-1;if(!((d|0)<1|(b|0)<1)){f=b&-4;g=b&3;h=b-1>>>0<3;while(1){a=f;if(!h){while(1){b=v[c>>2];v[c>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=v[c+4>>2];v[c+4>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=v[c+8>>2];v[c+8>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=v[c+12>>2];v[c+12>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);c=c+16|0;a=a-4|0;if(a){continue}break}}a=g;if(a){while(1){b=v[c>>2];v[c>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);c=c+4|0;a=a-1|0;if(a){continue}break}}e=e+1|0;if((e|0)!=(d|0)){continue}break}}}function Rn(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Qb-16|0;Qb=d;Qb=d+16|0;e=0;a:{if(!b){break a}b:{if(!c){break b}a=a?a:d+12|0;d=w[b|0];e=d<<24>>24;if((e|0)>=0){v[a>>2]=d;e=(e|0)!=0;break a}d=t[b|0];if(!v[v[282445]>>2]){v[a>>2]=d&57343;e=1;break a}d=(d&255)-194|0;if(d>>>0>50){break b}d=v[(d<<2)+1009360>>2];if(d<>>0<=3){break b}c=w[b+1|0];e=c>>>3|0;if((e-16|e+(d>>26))>>>0>7){break b}c=c-128|d<<6;if((c|0)>=0){v[a>>2]=c;e=2;break a}d=w[b+2|0]-128|0;if(d>>>0>63){break b}c=d|c<<6;if((c|0)>=0){v[a>>2]=c;e=3;break a}b=w[b+3|0]-128|0;if(b>>>0>63){break b}v[a>>2]=b|c<<6;e=4;break a}v[299402]=25;e=-1}return e|0}function Cs(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=v[a+4>>2];b=g>>31;c=b^b+g;h=v[a>>2];b=h>>31;d=b^b+h;if(!d){if(!c){return}v[a+4>>2]=(g|0)<0?-65536:65536;return}if(!c){v[a>>2]=(h|0)<0?-65536:65536;return}e=c>>>0>>0?d+(c>>>1|0)|0:c+(d>>>1|0)|0;b=E(e);b=(-1431655766>>>b>>>0>e>>>0?-15:-16)+b|0;a:{if((b|0)>=1){d=d<>>0>>0?d+(c>>>1|0)|0:(d>>>1|0)+c|0;break a}f=e;e=0-b|0;b=f>>>e|0;c=c>>>e|0;d=d>>>e|0}b=65536-b|0;while(1){e=(B(b,d)>>16)+d|0;f=(B(b,c)>>16)+c|0;i=B((B(e,e)+B(f,f)|0)/-512|0,b+65536>>8);b=((i|0)/65536|0)+b|0;if((i|0)>65535){continue}break}v[a+4>>2]=(g|0)<0?0-f|0:f;v[a>>2]=(h|0)<0?0-e|0:e}function YU(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Qb-16|0;Qb=e;c=1;d=v[b>>2];a:{if(w[d|0]!=47){break a}v[e+12>>2]=d+1;b:{if(lo(e+12|0,0,0)){break b}while(1){d=v[e+12>>2];if(w[d|0]!=47){break b}v[e+12>>2]=d+1;if(!lo(e+12|0,0,1)){continue}break}break a}c:{if(!a){f=v[e+12>>2];break c}c=v[a+24>>2];if(c){Ub[v[259708]](c)}f=v[e+12>>2];d=v[b>>2];if((f|0)!=(d|0)){c=f-d|0;if(w[a+36|0]&2){if(!(!d|(c|0)<0)){g=Ub[v[259707]](c+1|0)|0;if(!g){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);v[a+24>>2]=0;break c}h=gc(g,d,c)+c|0,i=0,t[h|0]=i}v[a+24>>2]=g;break c}h=a,i=bm(d,c),v[h+24>>2]=i;break c}v[a+24>>2]=0}v[b>>2]=f;c=0}Qb=e+16|0;return c}function aU(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:{c=v[a+4>>2];if(!c){break a}e=a+4|0;d=e;while(1){f=io(c+16|0,b);d=f?d:c;c=v[(f?4:0)+c>>2];if(c){continue}break}if((d|0)==(e|0)){break a}if(io(b,d+16|0)){break a}b=v[d+24>>2];if(b){c=v[b+32>>2];if(c){dc(c)}c=v[b+36>>2];if(c){dc(c)}if(t[b+31|0]<=-1){dc(v[b+20>>2])}if(t[b+19|0]<=-1){dc(v[b+8>>2])}dc(b)}c=v[d+4>>2];b:{if(!c){e=v[d+8>>2];if(v[e>>2]==(d|0)){break b}b=d+8|0;while(1){c=v[b>>2];b=c+8|0;e=v[c+8>>2];if((c|0)!=v[e>>2]){continue}break}break b}while(1){e=c;c=v[c>>2];if(c){continue}break}}if(v[a>>2]==(d|0)){v[a>>2]=e}v[a+8>>2]=v[a+8>>2]-1;Kz(v[a+4>>2],d);dc(d)}}function Uz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;if(!a){return 35}e=16;a:{if(x[a+264>>1]<=b>>>0){break a}d=v[a+544>>2];if(!d){return 7}e=0;g=c,h=Ub[v[d+16>>2]](0)|0,v[g>>2]=h;f=c;c=v[a+476>>2];b:{if((c|0)!=151552){if((c|0)!=131072){if((c|0)!=65536|b>>>0>257){break a}a=Ub[v[d+16>>2]](b)|0;break b}if(!w[a+632|0]){if(uZ(a)){break a}}if(x[a+636>>1]<=b>>>0){break a}b=x[v[a+640>>2]+(b<<1)>>1];if(b>>>0<=257){a=Ub[v[d+16>>2]](b)|0;break b}a=v[(v[a+644>>2]+(b<<2)|0)-1032>>2];break b}if(!w[a+632|0]){if(uZ(a)){break a}}if(x[a+636>>1]<=b>>>0){break a}a=Ub[v[d+16>>2]](t[v[a+640>>2]+b|0]+b|0)|0}v[f>>2]=a}return e|0}function O8a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=Qb-16|0;Qb=c;v[c+12>>2]=0;a:{if(w[b+32|0]){d=_d(a,v[b>>2],0,0);break a}b:{d=hJ(a,v[b+52>>2],v[b+48>>2],c+12|0,c+8|0,c+4|0);c:{if(d){break c}e=v[b+36>>2];g=(e+v[c+4>>2]|0)+2|0;d:{if(g>>>0<=y[a+424>>2]){f=v[a+428>>2]+8|0;break d}f=Ub[v[a+152>>2]](g)|0;if(!f){break b}e=v[b+36>>2]}d=f;if(e){d=gc(f,v[b+40>>2],e)+v[b+36>>2]|0}t[d|0]=0;t[d+1|0]=w[b+44|0];e=v[c+4>>2];if(e){gc(d+2|0,v[c+12>>2],e)}d=_d(a,v[b>>2],g,f);if(y[a+424>>2]>=g>>>0){break c}Ub[v[a+156>>2]](f,g)}b=v[c+12>>2];if(!b){break a}Ub[v[a+156>>2]](b,v[c+8>>2]);break a}d=1;pc(a,1,0,0)}Qb=c+16|0;return d|0}function Dg(a,b,c){var d=0,e=0,f=0,g=0;d=Qb-16|0;Qb=d;a:{b:{if((Ub[v[a+4>>2]](v[a+28>>2],b,d+12|0,1)|0)==1){f=w[d+12|0];break b}e=-1;if(Ub[v[a+24>>2]](v[a+28>>2],b)|0){break a}}c:{d:{e:{if((Ub[v[a+4>>2]](v[a+28>>2],b,d+13|0,1)|0)==1){e=w[d+13|0];g=e<<8|f;break e}if(Ub[v[a+24>>2]](v[a+28>>2],b)|0){break d}e=f;g=B(f,257)}f:{if((Ub[v[a+4>>2]](v[a+28>>2],b,d+14|0,1)|0)==1){e=w[d+14|0];break f}if(Ub[v[a+24>>2]](v[a+28>>2],b)|0){break d}}if((Ub[v[a+4>>2]](v[a+28>>2],b,d+15|0,1)|0)==1){f=w[d+15|0];break c}f=e;if(!(Ub[v[a+24>>2]](v[a+28>>2],b)|0)){break c}}f=0;e=-1;break a}f=e<<16|g|f<<24;e=0}v[c>>2]=f;Qb=d+16|0;return e}function rp(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0;k=1;j=d&2147483647;n=j;i=(j|0)==2147418112;l=c;a:{if(i&!c?a|b:i&(c|0)!=0|j>>>0>2147418112){break a}i=h&2147483647;o=i;m=(i|0)==2147418112;j=g;if(m&!g?e|f:m&(g|0)!=0|i>>>0>2147418112){break a}if(!(a|e|(j|l)|(b|f|(n|o)))){return 0}l=d&h;if((l|0)>0|(l|0)>=0){k=-1;if((c|0)==(g|0)&(d|0)==(h|0)?(b|0)==(f|0)&a>>>0>>0|b>>>0>>0:c>>>0>>0&(d|0)<=(h|0)|(d|0)<(h|0)){break a}return(a^e|c^g)!=0|(b^f|d^h)!=0}k=-1;if((c|0)==(g|0)&(d|0)==(h|0)?(b|0)==(f|0)&a>>>0>e>>>0|b>>>0>f>>>0:c>>>0>g>>>0&(d|0)>=(h|0)|(d|0)>(h|0)){break a}k=(a^e|c^g)!=0|(b^f|d^h)!=0}return k}function g$a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a=v[a+16>>2];c=w[a+8204|0]|w[a+8205|0]<<8|(w[a+8206|0]<<16|w[a+8207|0]<<24);d=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);a:{if(!d){break a}a=a+8208|0;while(1){c=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);e=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(e>>>0>b>>>0){break a}c=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);if((c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))>>>0>>0){a=a+12|0;d=d-1|0;if(!d){break a}continue}break}a=w[a+8|0]|w[a+9|0]<<8|(w[a+10|0]<<16|w[a+11|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);b=b-e|0;f=a>>>0>(b^-1)>>>0?0:a+b|0}return f|0}function a1a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=3;a:{if(v[a+64>>2]!=3){v[a+64>>2]=3;e=v[a+20>>2];if(!e){break a}b:{if(w[a+68|0]){d=v[a+12>>2];if((u[d+20>>1]+u[d+56>>1]|0)+1>>>0>y[d+8>>2]){d=xg(d,0,1);if(d){break a}}f=x[e>>1];d=f<<16>>16;if((d|0)<1){break b}u[(v[e+12>>2]+(f<<1)|0)-2>>1]=x[e+2>>1]-1}d=x[e>>1]}u[e>>1]=d+1;d=v[a+12>>2];if((u[d+22>>1]+u[d+58>>1]|0)+1>>>0>y[d+4>>2]){d=xg(d,1,0);if(d){break a}}d=v[a+20>>2];if(w[a+68|0]){a=v[d+8>>2];e=u[d+2>>1];f=v[d+4>>2]+(e<<3)|0;v[f>>2]=(((b>>31)+b|0)+32768&-65536)>>16;v[f+4>>2]=(((c>>31)+c|0)+32768&-65536)>>16;t[a+e|0]=1}u[d+2>>1]=x[d+2>>1]+1}d=0}return d|0}function Nya(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;f=Qb-32|0;Qb=f;v[a+40>>2]=0;v[a+44>>2]=0;v[a+12>>2]=e;v[a+24>>2]=0;v[a+28>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;e=fc(8);v[299999]=0;b=Q(3063,e|0,b|0)|0;g=v[299999];v[299999]=0;a:{b:{c:{if((g|0)!=1){v[a>>2]=e;b=zh(v[b+4>>2],301722);v[a+4>>2]=b;if(b){break c}v[f>>2]=v[a>>2];kc(4,-1,345295,f);v[a+44>>2]=1;break b}break a}v[f+16>>2]=5;e=fc(312);v[299999]=0;b=aa(3798,e|0,b|0,0,0,0,f+16|0)|0;g=v[299999];v[299999]=0;if((g|0)==1){break a}v[a+8>>2]=b;h=a,i=YR(a,c,d),v[h+40>>2]=i}Qb=f+32|0;return a|0}a=P()|0;O()|0;dc(e);T(a|0);L()}function Mx(a,b){a:{b:{if(b>>>0<=127){break b}if(b>>>0<=2047){gd(a,(b<<18&-16777216)-1073741824>>24);b=b&63|-128;break b}if(b>>>0<=65535){gd(a,(b<<12&-16777216)-536870912>>24);gd(a,b>>>6&63|-128);b=b&63|-128;break b}if(b>>>0<=2097151){gd(a,(b<<6&-16777216)-268435456>>24);gd(a,b>>>12&63|-128);gd(a,b>>>6&63|-128);b=b&63|-128;break b}if(b>>>0<=67108863){gd(a,(b&-16777216)+-134217728>>24);gd(a,b>>>18&63|-128);gd(a,b>>>12&63|-128);gd(a,b>>>6&63|-128);b=b&63|-128;break b}if((b|0)<0){break a}gd(a,b>>>30|-4);gd(a,b>>>24&63|-128);gd(a,b>>>18&63|-128);gd(a,b>>>12&63|-128);gd(a,b>>>6&63|-128);b=b&63|-128}gd(a,b<<24>>24)}}function Ix(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,n=0,o=0,p=0;k=Qb-96|0;Qb=k;m=h-g;n=XC(m*.5);l=Ee(m);m=Ve(h);o=Ee(h);h=o*f+d;l=l*(K(n*(n*3)+4)+-1)/3;n=l*f;p=Ve(g);g=Ee(g);l=l*e;A[k+88>>3]=p*e+c-g*l;A[k+80>>3]=g*f+d+p*n;c=m*e+c;A[k+72>>3]=c+o*l;A[k+64>>3]=h-m*n;A[k+56>>3]=c;A[k+48>>3]=h;ke(b,k+88|0,k+80|0);ke(b,k+72|0,k- -64|0);ke(b,k+56|0,k+48|0);A[k+40>>3]=A[k+88>>3]*25.4/96;A[k+32>>3]=A[k+80>>3]*25.4/96;A[k+24>>3]=A[k+72>>3]*25.4/96;A[k+16>>3]=A[k+64>>3]*25.4/96;A[k+8>>3]=A[k+56>>3]*25.4/96;A[k>>3]=A[k+48>>3]*25.4/96;Ub[v[v[a>>2]+308>>2]](a,k+40|0,k+32|0,k+24|0,k+16|0,k+8|0,k)|0;A[i>>3]=c;A[j>>3]=h;Qb=k+96|0}function o0a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;j=c<<7;e=999999984/(j>>>0)|0;h=v[a+4>>2];if(j>>>0>=999999985){f=v[a>>2];v[f+20>>2]=72;Ub[v[f>>2]](a)}e=(d|0)>(e|0)?e:d;v[h+80>>2]=e;k=nq(a,b,d<<2);if(d){f=0;i=c<<7;while(1){c=d-f|0;e=c>>>0>e>>>0?e:c;c=DH(a,b,B(j,e));a:{if(!e){break a}h=e;g=e&3;if(g){while(1){v[(f<<2)+k>>2]=c;h=h-1|0;f=f+1|0;c=c+i|0;g=g-1|0;if(g){continue}break}}if(e-1>>>0<3){break a}while(1){g=(f<<2)+k|0;v[g>>2]=c;c=c+i|0;l=c+i|0;v[g+8>>2]=l;v[g+4>>2]=c;c=i+l|0;v[g+12>>2]=c;c=c+i|0;f=f+4|0;h=h-4|0;if(h){continue}break}}if(d>>>0>f>>>0){continue}break}}return k|0}function h$(a,b,c){var d=0;d=0;a:{if(v[a>>2]){break a}b:{if(w[b|0]|c>>>0<32|(w[b+1|0]|w[b+2|0])){break b}if(w[b+3|0]!=12|w[b+4|0]!=106|(w[b+5|0]!=80|w[b+6|0]!=32)){break b}if(w[b+7|0]!=32|w[b+8|0]!=13|(w[b+9|0]!=10|w[b+10|0]!=135)){break b}if(w[b+12|0]|w[b+11|0]!=10|(w[b+13|0]|w[b+14|0])){break b}if(w[b+15|0]!=24|w[b+16|0]!=102|(w[b+17|0]!=116|w[b+18|0]!=121)){break b}if(w[b+19|0]!=112|w[b+20|0]!=109|(w[b+21|0]!=106|w[b+22|0]!=112)){break b}if(w[b+24|0]|w[b+23|0]!=50|(w[b+25|0]|w[b+26|0])){break b}if(w[b+27|0]|w[b+28|0]!=109|(w[b+29|0]!=106|w[b+30|0]!=112)){break b}d=1;if(w[b+31|0]==50){break a}}d=0}return d}function gr(a,b,c,d){var e=0,f=0,g=0,h=0;g=Qb-16|0;Qb=g;a:{if(v[a+8>>2]==1){zc(v[a+628>>2],v[a>>2],46863,0);e=-1;break a}if(w[a+13|0]&4){zc(v[a+628>>2],v[a>>2],47966,0);e=-1;break a}e=v[a+180>>2];if(e>>>0<=b>>>0){c=v[a>>2];a=v[a+628>>2];v[g+4>>2]=e;v[g>>2]=b;zc(a,c,2533,g);e=-1;break a}e=1;h=v[a+60>>2];f=v[a+100>>2];if(h>>>0>f>>>0){e=((f+h|0)-1>>>0)/(f>>>0)|0}b:{if((e-1|0)==((b>>>0)%(e>>>0)|0)){e=(h>>>0)%(f>>>0)|0;if(e){break b}}e=f}f=iO(a,e);e=-1;if(!XN(a,b)){break a}d=(d|0)==-1?f:(d|0)>(f|0)?f:d;if((Ub[v[a+548>>2]](a,c,d,(b>>>0)/y[a+176>>2]&65535)|0)<1){break a}Ub[v[a+652>>2]](a,c,d);e=d}Qb=g+16|0;return e}function zf(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=v[a+4>>2];v[b>>2]=v[a>>2];v[b+4>>2]=c;c=v[a+12>>2];v[b+8>>2]=v[a+8>>2];v[b+12>>2]=c;a:{b:{c:{switch(v[a>>2]-3|0){case 0:c=v[a+8>>2];a=fc(8);v[299999]=0;Q(3064,a|0,c|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}v[b+8>>2]=a;break a;case 1:d=b,e=ud(v[a+8>>2]),v[d+8>>2]=e;break a;case 3:a=v[a+8>>2];v[a+16>>2]=v[a+16>>2]+1;break a;case 4:a=v[a+8>>2];v[a+20>>2]=v[a+20>>2]+1;break a;case 5:a=v[a+8>>2];d=b,e=Ub[v[v[a>>2]+8>>2]](a)|0,v[d+8>>2]=e;break a;case 7:break c;default:break a}}d=b,e=ud(v[a+8>>2]),v[d+8>>2]=e;break a}b=P()|0;O()|0;dc(a);T(b|0);L()}return b|0}function lcb(a){a=a|0;var b=0,c=0,d=0,e=0;b=v[a+2308>>2];a:{if(!b){break a}d=b&3;c=v[a+2312>>2];a=v[a+2316>>2];if(b-1>>>0>=3){e=b&-4;while(1){b=x[c>>1];u[a+6>>1]=x[c+2>>1];u[a+4>>1]=b;u[a+2>>1]=b;u[a>>1]=b;b=x[c+4>>1];u[a+14>>1]=x[c+6>>1];u[a+12>>1]=b;u[a+10>>1]=b;u[a+8>>1]=b;b=x[c+8>>1];u[a+22>>1]=x[c+10>>1];u[a+20>>1]=b;u[a+18>>1]=b;u[a+16>>1]=b;b=x[c+12>>1];u[a+30>>1]=x[c+14>>1];u[a+28>>1]=b;u[a+26>>1]=b;u[a+24>>1]=b;a=a+32|0;c=c+16|0;e=e-4|0;if(e){continue}break}}if(!d){break a}while(1){b=x[c>>1];u[a+6>>1]=x[c+2>>1];u[a+4>>1]=b;u[a+2>>1]=b;u[a>>1]=b;a=a+8|0;c=c+4|0;d=d-1|0;if(d){continue}break}}return 0}function Rhb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=Qb-80|0;Qb=c;v[c+64>>2]=v[a+12>>2];wc(b,47767,c- -64|0);d=v[a+16>>2];f=v[a+20>>2];g=v[a+28>>2];v[c+56>>2]=v[a+24>>2];v[c+60>>2]=g;v[c+48>>2]=d;v[c+52>>2]=f;wc(b,48260,c+48|0);d=v[a+32>>2];f=v[a+36>>2];g=v[a+44>>2];v[c+40>>2]=v[a+40>>2];v[c+44>>2]=g;v[c+32>>2]=d;v[c+36>>2]=f;wc(b,48767,c+32|0);if(v[a+48>>2]){while(1){d=v[a+52>>2]+(e<<2)|0;f=w[d|0];g=w[d+1|0];h=w[d+2|0];v[c+28>>2]=w[d+3|0];v[c+24>>2]=e;v[c+20>>2]=h;v[c+16>>2]=e;v[c+12>>2]=g;v[c+8>>2]=e;v[c+4>>2]=f;v[c>>2]=e;wc(b,49278,c);e=e+1|0;if(e>>>0>2]){continue}break}}Qb=c+80|0;return 0}function pc(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;if(!a){return 1}v[a+144>>2]=d;v[a+140>>2]=c;v[a+132>>2]=b;g=44;e=88;i=a;a:{b:{while(1){h=v[(g<<3)+192128>>2];c:{if((h|0)<(b|0)){f=g+1|0;break c}if((b|0)>=(h|0)){break b}e=g-1|0}g=f+e>>1;if((f|0)<=(e|0)){continue}break}h=1599;break a}h=v[(g<<3)+192132>>2]}v[i+148>>2]=h;i=a;e=0;d:{if(!b){break d}f=b&15360;e=5;if((f|0)==2048){break d}e:{if((f|0)!=8192){if((f|0)!=4096){break e}e=2;break d}e=1;break d}e=9}t[i+136|0]=e;g=1;f:{if(v[a>>2]!=1381173770){break f}f=v[a+180>>2];if(!f){break f}g=Ub[f|0](a,b,e,v[a+268>>2],v[a+272>>2],c,d,h)|0}return g|0}function iR(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;e=Qb-16|0;Qb=e;v[a>>2]=971128;f=v[a+4>>2];v[299999]=0;V(3691,f|0,e+12|0);c=v[299999];v[299999]=0;a:{b:{if((c|0)==1){break b}while(1){v[299999]=0;c=ki(f,e+12|0,e+8|0,e+4|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}if(!c){break a}c=v[e+4>>2];if(!c){continue}b=v[c>>2];if(b){dc(Dc(b))}b=v[c+4>>2];if(b){dc(Dc(b))}b=v[c+8>>2];if(b){dc(Dc(b))}b=v[c+12>>2];if(b){dc(b)}b=v[c+16>>2];if(b){d=v[b+4>>2];if(d){dc(Dc(d))}dc(b)}b=v[c+20>>2];if(b){d=v[b>>2];if(d){dc(Dc(d))}d=v[b+40>>2];if(d){dc(Dc(d))}dc(b)}dc(c);continue}}W(0)|0;O()|0;lc();L()}dc(ah(f));Qb=e+16|0;return a|0}function V_a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:{d=v[a+16>>2];a=w[d+12|0]|w[d+13|0]<<8|(w[d+14|0]<<16|w[d+15|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(a){g=d+20|0;while(1){e=a+f>>>1|0;d=B(e,12)+g|0;c=d-4|0;c=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);b:{if((c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))>>>0>b>>>0){a=e;break b}c=d;c=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);if((c<<24|c<<8&16711680|(c>>>8&65280|c>>>24))>>>0>=b>>>0){break a}f=e+1|0}if(a>>>0>f>>>0){continue}break}}return 0}a=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);return a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}function NP(a,b){var c=0,d=0,e=0;d=Qb+-64|0;Qb=d;c=v[a+276>>2];if(!(c&4)){a:{if((b|0)==(c|0)){break a}b:{c:{if(!c){break c}c=_m(a+212|0);v[a+276>>2]=0;if(!c){break c}e=51003;break b}d:{e:{switch(b-1|0){case 0:e=52456;c=_u(a+212|0,v[a+280>>2],v[a+284>>2],v[a+288>>2],v[a+292>>2],v[a+296>>2],51548);break d;default:hd(a,52787);L();case 1:break e}}e=51761;c=_u(a+212|0,v[a+300>>2],v[a+304>>2],v[a+308>>2],v[a+312>>2],v[a+316>>2],51548)}if(!c){break a}}b=d;e=Lp(d,64,Lp(d,64,0,53463),e);c=c+6|0;if(c>>>0<=4){c=v[(c<<2)+76672>>2]}else{c=55337}Lp(b,64,e,c);hd(a,d);L()}v[a+276>>2]=b|4;Qb=d- -64|0;return}hd(a,55828);L()}function $u(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=Qb-96|0;Qb=i;a=mG(a,i+8|0,0,c,d,e,f,g,h);if(!(a|!b)){v[b>>2]=v[i+8>>2];v[b+4>>2]=v[i+12>>2];v[b+8>>2]=v[i+16>>2];v[b+12>>2]=v[i+20>>2];v[b+16>>2]=v[i+24>>2];v[b+20>>2]=v[i+28>>2];v[b+32>>2]=v[i+48>>2];v[b+36>>2]=v[i+52>>2];v[b+40>>2]=v[i+56>>2];v[b+44>>2]=v[i+60>>2];v[b+48>>2]=v[i+64>>2];v[b+52>>2]=v[i+68>>2];c=v[i+76>>2];v[b+56>>2]=v[i+72>>2];v[b+60>>2]=c;d=v[i+84>>2];c=b- -64|0;v[c>>2]=v[i+80>>2];v[c+4>>2]=d;c=v[i+92>>2];v[b+72>>2]=v[i+88>>2];v[b+76>>2]=c;v[b+24>>2]=v[i+32>>2];v[b+28>>2]=v[i+40>>2]}Qb=i+96|0;return a|0}function YHa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=c+4|0;a:{b:{f=v[a+4>>2];c:{if(!f){d=e>>>0>1e3?e:1e3;v[a+8>>2]=d;d=jc(d);v[a+16>>2]=0;v[a+4>>2]=d;break c}d=v[a+8>>2];e=e+v[a+16>>2]|0;if(d>>>0>=e>>>0){break b}while(1){d=d<<1;if(e>>>0>d>>>0){continue}break}v[a+8>>2]=d;d=be(f,d);if(d){v[a+4>>2]=d;d=d+v[a+16>>2]|0;break c}d=jc(v[a+8>>2]);e=v[a+4>>2];d=gc(d,e,v[a+16>>2]);dc(e);v[a+4>>2]=d;d=d+v[a+16>>2]|0}v[a+12>>2]=d;break a}d=v[a+12>>2]}t[d|0]=c;t[d+1|0]=c>>>8;t[d+2|0]=c>>>16;t[d+3|0]=c>>>24;d=v[a+12>>2]+4|0;v[a+12>>2]=d;v[a+16>>2]=v[a+16>>2]+4;gc(d,b,c);v[a+12>>2]=v[a+12>>2]+c;v[a+16>>2]=v[a+16>>2]+c}function Qw(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=b-1|0;a:{if((b|0)>=2){b=a;b:{while(1){d=v[c+4>>2];g=fi(d,10,v[c+8>>2]-d|0);c:{if(g){d=v[c+4>>2];f=(g-d|0)+1|0;break c}d=v[c+4>>2];f=v[c+8>>2]-d|0}h=d;d=e>>>0>f>>>0?f:e;gc(b,h,d);f=d+v[c+4>>2]|0;v[c+4>>2]=f;b=b+d|0;d:{if(g){break d}d=e-d|0;if(!d){break d}e:{if(f>>>0>2]){v[c+4>>2]=f+1;e=w[f|0];break e}e=Ow(c);if((e|0)>-1){break e}d=0;if(!(w[c|0]&16)|(a|0)==(b|0)){break b}break d}t[b|0]=e;b=b+1|0;if((e&255)==10){break d}e=d-1|0;if(e){continue}}break}d=0;if(!a){break b}t[b|0]=0;d=a}break a}b=w[c+74|0];t[c+74|0]=b-1|b;if(e){break a}t[a|0]=0;return a}return d}function Qu(a,b){var c=0,d=0,e=0;c=-1;a:{if(!a|(b|0)>4){break a}while(1){e=v[a+4>>2];if(!(e>>>0>8|!(1<>1];if((d|0)!=65535){return d}b:{c:{d:{switch(e-1|0){case 0:c=v[a+12>>2];if(!c){break c}c=Qu(c,b+1|0);break b;case 2:break d;default:break c}}c=v[a+52>>2];if(c){break b}}c=v[a+24>>2];if(c){c=Qu(c,b+1|0);break b}a=v[a+28>>2];if(!a){return d}c=Qu(a,b+1|0)}if((c|0)==65535){return d}if((c|0)!=-1){break a}return d}d=v[a+28>>2];e:{f:{if(!d){break f}e=v[d+4>>2];if(e>>>0>8){break f}if(1<>2];if(!d|v[d+4>>2]!=1){break a}}a=d;b=b+1|0;if((b|0)!=5){continue}break}}return c}function OQa(a){a=a|0;var b=0,c=0;v[a+4>>2]=1;v[a>>2]=459824;v[a>>2]=466916;v[299999]=0;c=CX(a+16|0);b=v[299999];v[299999]=0;a:{b:{if((b|0)!=1){v[a+112>>2]=0;v[a+116>>2]=0;v[a+8>>2]=0;v[a+120>>2]=0;v[299999]=0;S(2538,a+8|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}v[299999]=0;b=v[299999];v[299999]=0;if((b|0)==1){break b}v[a+164>>2]=0;v[a+168>>2]=0;v[a+12>>2]=0;v[a+156>>2]=40968;v[a+160>>2]=0;v[a+136>>2]=0;v[a+140>>2]=0;v[a+144>>2]=0;v[a+128>>2]=0;v[a+132>>2]=0;v[a+124>>2]=0;v[a+148>>2]=0;v[a+152>>2]=0;return a|0}b=P()|0;O()|0;break a}b=P()|0;O()|0;if(t[a+123|0]<=-1){dc(v[a+112>>2])}XG(c)}T(b|0);L()}function EZa(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,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;h=3;g=b+2|0;a:{if(g>>>0>c>>>0){break a}i=w[b+1|0]|w[b|0]<<8;if((i<<2)+g>>>0>c>>>0){break a}c=v[a+12>>2];j=w[c+14|0];k=x[c+12>>1];l=x[c+10>>1];m=w[c+8|0];n=x[c+6>>1];o=x[c+4>>1];b=0;b:{if(!i){h=0;break b}c=f+1|0;while(1){h=pZ(a,w[g+1|0]|w[g|0]<<8,t[g+2|0]+d|0,t[g+3|0]+e|0,c,0);if(!h){g=g+4|0;b=b+1|0;if((i|0)!=(b|0)){continue}}break}c=v[a+12>>2]}u[c+14>>1]=j;u[c+8>>1]=m;u[c+12>>1]=k<<24>>24;u[c+10>>1]=l<<24>>24;u[c+6>>1]=n<<24>>24;u[c+4>>1]=o<<24>>24;a=v[a+8>>2];u[c+2>>1]=w[a+4|0];u[c>>1]=w[a|0]}return h|0}function AZ(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{f=v[a+32>>2];if(f>>>0>b>>>0){i=f-1|0;j=v[a+16>>2]+14|0;g=f<<1;k=g+2|0;while(1){c=(b<<1)+j|0;e=w[c|0]<<8|w[c+1|0];v[a+44>>2]=e;c=c+k|0;h=w[c|0]<<8|w[c+1|0];v[a+40>>2]=h;c=c+g|0;d=w[c|0]|w[c+1|0]<<8;v[a+48>>2]=(d<<8|d>>>8)<<16>>16;d=c+g|0;c=w[d|0]<<8|w[d+1|0];c:{if((h|0)!=65535|b>>>0>>0|(e|0)!=65535){break c}if(!c){break b}e=v[a>>2];if((c+d|0)+2>>>0<=v[e+508>>2]+v[e+512>>2]>>>0){break c}v[a+48>>2]=1;break b}if((c|0)!=65535){if(!c){break b}c=c+d|0;break a}b=b+1|0;if((f|0)!=(b|0)){continue}break}}return-1}c=0}v[a+36>>2]=b;v[a+52>>2]=c;return 0}function e7(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;e=ve(c);h=Qb-16|0;Qb=h;a:{g=b;d=a;b:{if(w[d+11|0]>>>7|0){f=v[d+4>>2];break b}f=w[d+11|0]}if(g>>>0<=f>>>0){d=w[d+11|0]>>>7|0?(v[a+8>>2]&2147483647)-1|0:1;c:{if(d-f>>>0>=e>>>0){if(!e){break c}d=a;d:{if(w[d+11|0]>>>7|0){g=v[d>>2];break d}g=d}j=g+(b<<2)|0;i=f-b|0;if(i){b=(b<<2)+g|0;Dl(b+(e<<2)|0,b,i);c=((b>>>0<=c>>>0?(f<<2)+g>>>0>c>>>0?e:0:0)<<2)+c|0}Dl(j,c,e);c=e+f|0;b=c;e:{if(w[d+11|0]>>>7|0){v[a+4>>2]=b;break e}t[a+11|0]=b}v[h+12>>2]=0;v[(c<<2)+g>>2]=v[h+12>>2];break c}Sq(a,d,(e+f|0)-d|0,f,b,0,e,c)}Qb=h+16|0;break a}El(d);L()}return a|0}function dAa(a,b){a=a|0;b=b|0;var c=0;v[a+4>>2]=b;v[a>>2]=962156;v[a>>2]=937120;v[299999]=0;b=S(1,16)|0;c=v[299999];v[299999]=0;a:{b:{if((c|0)!=1){c=v[a+4>>2];v[299999]=0;Y(3723,b|0,c|0,3)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}v[a+96>>2]=0;v[a+76>>2]=0;v[a+8>>2]=b;v[a+12>>2]=0;v[a+16>>2]=0;v[a+88>>2]=0;v[a+92>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;v[a+104>>2]=0;v[a+108>>2]=0;v[a+112>>2]=0;v[a+116>>2]=0;v[a+124>>2]=0;v[a+128>>2]=0;v[a+132>>2]=0;v[a+136>>2]=0;v[a+200>>2]=0;v[a+204>>2]=0;v[a+208>>2]=0;v[a+212>>2]=0;v[a+216>>2]=0;return a|0}a=P()|0;O()|0;break a}a=P()|0;O()|0;dc(b)}T(a|0);L()}function b1(a,b,c,d,e,f,g,h){a:{if(b>>>0>c>>>0){break a}b:{switch(d|0){case 0:while(1){d=b&65535;c:{if(d){d=yg(a,d);break c}d=v[a+528>>2]}if(d){v[d+60>>2]=h;v[d+56>>2]=g;v[d+52>>2]=f;v[d+48>>2]=e;t[d+44|0]=1}b=b+1|0;if((b&65535)>>>0<=c>>>0){continue}break};break a;case 1:while(1){d=b&65535;d:{if(d){d=yg(a,d);break d}d=v[a+528>>2]}if(d){t[d+44|0]=1;v[d+48>>2]=v[d+48>>2]+e;v[d+52>>2]=v[d+52>>2]+f;v[d+56>>2]=v[d+56>>2]+g;v[d+60>>2]=v[d+60>>2]+h}b=b+1|0;if((b&65535)>>>0<=c>>>0){continue}break};break a;default:break b}}while(1){d=b&65535;if(d){yg(a,d)}b=b+1|0;if((b&65535)>>>0<=c>>>0){continue}break}}return 0}function WD(a,b,c,d,e){var f=0,g=0,h=0,i=0;g=Qb-256|0;Qb=g;a:{b:{if(c>>>0>>0){Gc(a,15744);d=0;break b}if(!b){c:{h=c-d|0;c=bR(a,v[a+740>>2]+d|0,h,0,0);if(!(d>>>0>4294967293|c>>>0>=-2-d>>>0)){b=v[a+712>>2];if(!b|c+d>>>0>>0){break c}}Gc(a,18160);break b}if(!c){break b}b=c+d|0;f=If(a,b+1|0);if(f){i=v[a+740>>2];f=gc(f,i,d);h=bR(a,d+i|0,h,d+f|0,c);t[b+f|0]=0;if((c|0)==(h|0)){Zc(a,v[a+740>>2]);v[a+740>>2]=f;d=b;break a}Gc(a,20491);Zc(a,f);break b}Gc(a,22730);break b}Ej(g,1,1,b);Jp(a,g,25810)}b=If(a,d+1|0);if(!b){break a}c=v[a+740>>2];if(d){gc(b,c,d)}Zc(a,c);v[a+740>>2]=b;t[b+d|0]=0}v[e>>2]=d;Qb=g+256|0}function INa(a){a=a|0;var b=0,c=0,d=0,e=0;a:{if(v[a>>2]>0){break a}b:{c:{if(v[294168]==2){break c}if(!qz(1176672)){break c}d=Qb-16|0;Qb=d;hs(17,2761);v[299999]=0;b=S(2895,56)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=P()|0;O()|0;Ra(a|0);L()}d:{if(!b){v[294173]=0;v[a>>2]=7;break d}v[b+52>>2]=0;v[b+4>>2]=40;u[b+8>>1]=0;v[b>>2]=b+9;v[294173]=b;c=ei(311704);if(v[a>>2]>0){break d}t[b+9|0]=0;v[b+52>>2]=0;e=b;b=ni(d+8|0,c?c:358460);gs(e,v[b>>2],v[b+4>>2],a)}Qb=d+16|0;v[294169]=v[a>>2];v[294168]=2;break b}b=v[294169];if((b|0)<1){break b}v[a>>2]=b;break a}if(v[a>>2]>0){break a}return v[v[294173]>>2]}return 358460}function sZa(a){a=a|0;var b=0,c=0,d=0,e=0;a:{b:{c:{a=v[v[a+156>>2]>>2];b=v[a+4>>2];if(!(!b|v[a+40>>2])){c=b<<1;if((c|0)<0){d=6;break b}if(c){d=10;if((c|0)>268435455){break b}d=v[a>>2];b=b<<4;d=Ub[v[d+4>>2]](d,b)|0;if(!d){break c}ic(d,0,b);b=v[a+4>>2]}t[a+16|0]=1;v[a+40>>2]=d;e=(b<<3)+d|0;v[a+44>>2]=e;b=a;c=v[a+24>>2];if(c){c=c+(u[a+22>>1]<<3)|0}else{c=0}v[b+60>>2]=c;c=a- -64|0;b=v[a+28>>2];if(b){b=b+u[a+22>>1]|0}else{b=0}v[c>>2]=b;b=a;c=v[a+32>>2];if(c){c=c+(u[a+20>>1]<<1)|0}else{c=0}v[b+68>>2]=c;b=u[a+22>>1]<<3;v[a+80>>2]=b+e;v[a+76>>2]=b+d}d=0;break a}v[a+40>>2]=0;d=64;break a}v[a+40>>2]=0}return d|0}function aT(a){var b=0;b=v[a+268>>2];if(b){dc(b)}b=v[a+280>>2];if(b){dc(b)}b=v[a+292>>2];if(b){dc(b)}b=v[a+304>>2];if(b){dc(b)}b=v[a+316>>2];if(b){dc(b)}b=v[a+328>>2];if(b){dc(b)}b=v[a+340>>2];if(b){dc(b)}b=v[a+352>>2];if(b){dc(b)}b=v[a+364>>2];if(b){dc(b)}b=v[a+376>>2];if(b){dc(b)}b=v[a+388>>2];if(b){dc(b)}b=v[a+400>>2];if(b){dc(b)}b=v[a+412>>2];if(b){dc(b)}b=v[a+424>>2];if(b){dc(b)}b=v[a+436>>2];if(b){dc(b)}b=v[a+448>>2];if(b){dc(b)}b=v[a+460>>2];if(b){dc(b)}b=v[a+472>>2];if(b){dc(b)}b=v[a+484>>2];if(b){dc(b)}b=v[a+496>>2];if(b){dc(b)}a:{if(!w[a+512|0]){break a}b=v[a>>2];if(!b){break a}dc(b)}return a}function upa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;a:{b:{if((c|0)<1){break b}c=c-1|0;if(!d){while(1){d=a;e=v[b>>2];if(e){v[e+4>>2]=v[e+4>>2]+1;e=v[b>>2]}else{e=0}v[d>>2]=e;b=b+4|0;a=a+4|0;d=(c|0)>0;c=c-1|0;if(d){continue}break b}}while(1){d=c;c=a;e=v[b>>2];if(e){v[e+4>>2]=v[e+4>>2]+1;e=v[b>>2]}else{e=0}v[c>>2]=e;c=v[b>>2];v[b>>2]=0;c:{if(!c){break c}v[299999]=0;e=v[c+4>>2]-1|0;v[c+4>>2]=e;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(e){break c}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}c=d-1|0;b=b+4|0;a=a+4|0;if((d|0)>0){continue}break}}return}W(0)|0;O()|0;lc();L()}function Zpa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Qb-16|0;Qb=c;v[a>>2]=0;v[a+4>>2]=v[282402];a:{b=v[b>>2];b:{c:{if(b){d=v[v[b>>2]+28>>2];v[299999]=0;U(d|0,c+8|0,b|0,1);b=v[299999];v[299999]=0;if((b|0)!=1){break c}b=P()|0;O()|0;break b}v[c+8>>2]=0}v[299999]=0;Q(4544,a|0,c+8|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){b=v[c+8>>2];v[c+8>>2]=0;d:{if(!b){break d}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(d){break d}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}Qb=c+16|0;return a|0}b=P()|0;O()|0;ec(c+8|0)}ec(a);T(b|0);L()}W(0)|0;O()|0;lc();L()}function Mu(a,b){var c=0,d=0,e=0,f=0;f=Qb-16|0;Qb=f;if(b){d=v[b+20>>2];if(d){a:{if(v[d+4>>2]==2){break a}}}d=0;while(1){b:{c:{switch(v[b+4>>2]-3|0){case 0:case 1:d=po(d,v[b+40>>2]);break b;case 2:break c;default:break b}}e=v[b+8>>2];d:{e:{if(!a){break e}c=v[a+44>>2];f:{if(!c){break f}c=v[c+48>>2];if(!c){break f}c=Se(c,e,0,0);if(c){break d}}if(v[a+40>>2]==1){break e}c=v[a+48>>2];if(!c){break e}c=v[c+48>>2];if(!c){break e}c=Se(c,e,0,0);if(c){break d}}c=mi(e)}if(c){c=Mu(a,v[c+12>>2]);if(!c){break b}d=po(d,c);Ub[v[259708]](c);break b}d=po(d,v[b+40>>2])}b=v[b+24>>2];if(b){continue}break}}Qb=f+16|0;return d}function EV(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=Qb-16|0;Qb=d;a:{b:{b=v[b+4>>2];c:{if(!b){c=Bc(0);if(c>>>0>=4294967280){break b}d:{e:{if(c>>>0>=11){e=c+16&-16;b=fc(e);v[a+8>>2]=e|-2147483648;v[a>>2]=b;v[a+4>>2]=c;a=b;break e}t[a+11|0]=c;if(!c){break d}}gc(a,0,c)}t[a+c|0]=0;break c}e=SU(b);if(!e){t[a|0]=0;t[a+11|0]=0;break c}c=Bc(e);if(c>>>0>=4294967280){break a}f:{g:{if(c>>>0>=11){f=c+16&-16;b=fc(f);v[d+8>>2]=f|-2147483648;v[d>>2]=b;v[d+4>>2]=c;break g}t[d+11|0]=c;b=d;if(!c){break f}}gc(b,e,c)}t[b+c|0]=0;v[a+8>>2]=v[d+8>>2];b=v[d+4>>2];v[a>>2]=v[d>>2];v[a+4>>2]=b}Qb=d+16|0;return}$d(a);L()}$d(d);L()}function $7(){var a=0;a:{if(t[1201088]&1){break a}if(!Je(1201088)){break a}a=1200800;while(1){a=ge(a)+12|0;if((a|0)!=1201088){continue}break}Ie(1201088)}Qe(1200800,217996);Qe(1200812,217987);Qe(1200824,270229);Qe(1200836,260487);Qe(1200848,220291);Qe(1200860,279784);Qe(1200872,219483);Qe(1200884,225623);Qe(1200896,240183);Qe(1200908,240122);Qe(1200920,240174);Qe(1200932,240193);Qe(1200944,253435);Qe(1200956,302986);Qe(1200968,240506);Qe(1200980,237466);Qe(1200992,220291);Qe(1201004,244701);Qe(1201016,258583);Qe(1201028,271860);Qe(1201040,242562);Qe(1201052,233955);Qe(1201064,224834);Qe(1201076,300956)}function yYa(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,n=0,o=0,p=0,q=0,r=0,s=0;a:{if((e|0)<1){break a}i=v[a+112>>2];if(!i){break a}g=v[a+332>>2];a=v[a+476>>2];k=v[a+20>>2];l=v[a+16>>2];m=v[a+12>>2];n=v[a+8>>2];while(1){o=c+1|0;p=e-1|0;a=c<<2;q=v[a+v[b+8>>2]>>2];r=v[a+v[b+4>>2]>>2];s=v[a+v[b>>2]>>2];c=v[d>>2];a=0;while(1){f=w[a+r|0];h=w[a+s|0];j=w[a+q|0]<<2;t[c|0]=w[(h+v[j+n>>2]|0)+g|0];f=f<<2;t[c+1|0]=w[((v[l+j>>2]+v[f+k>>2]>>16)+h|0)+g|0];t[c+2|0]=w[(v[f+m>>2]+h|0)+g|0];c=c+3|0;a=a+1|0;if((i|0)!=(a|0)){continue}break}d=d+4|0;a=(e|0)>1;e=p;c=o;if(a){continue}break}}}function gAa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;if((c|0)<1){return 0}f=v[a+60>>2];g=v[a+64>>2]-f|0;g=(c|0)>(g|0)?g:c;a:{if((g|0)<1){break a}c=1;v[a+60>>2]=f+1;t[b|0]=w[f|0]^-1;if((g|0)==1){break a}e=g-1|0;f=e&3;if(g-2>>>0>=3){h=e&-4;while(1){d=v[a+60>>2];v[a+60>>2]=d+1;e=b+c|0;t[e|0]=w[d|0]^-1;d=v[a+60>>2];v[a+60>>2]=d+1;t[e+1|0]=w[d|0]^-1;d=v[a+60>>2];v[a+60>>2]=d+1;t[e+2|0]=w[d|0]^-1;d=v[a+60>>2];v[a+60>>2]=d+1;t[e+3|0]=w[d|0]^-1;c=c+4|0;h=h-4|0;if(h){continue}break}}if(!f){break a}while(1){e=v[a+60>>2];v[a+60>>2]=e+1;t[b+c|0]=w[e|0]^-1;c=c+1|0;f=f-1|0;if(f){continue}break}}return g|0}function gW(a){a=a|0;var b=0,c=0;a:{c=v[a+8>>2];if(!c){break a}b=v[c>>2];if(b){je(b)}b=v[c+4>>2];if(b){je(b)}b=v[c+8>>2];if(b){je(b)}b=v[c+12>>2];if(b){je(b)}b=v[c+16>>2];if(b){je(b)}b=v[c+20>>2];if(b){je(b)}b=v[c+24>>2];if(b){je(b)}b=v[c+28>>2];if(b){je(b)}b=v[c+32>>2];if(b){je(b)}b=v[c+36>>2];if(b){je(b)}b=v[c+40>>2];if(b){je(b)}b=v[c+44>>2];if(b){je(b)}b=v[c+48>>2];if(b){je(b)}b=v[c+52>>2];if(b){je(b)}b=v[c+56>>2];if(b){je(b)}b=v[c+60>>2];if(b){je(b)}b=v[c+64>>2];if(b){je(b)}b=v[c+68>>2];if(b){je(b)}b=v[c+72>>2];if(b){je(b)}c=v[c+76>>2];if(c){je(c)}if(w[a+34|0]){break a}_e(v[a+8>>2]);v[a+8>>2]=0}}function Bx(a){a=a|0;var b=0,c=0,d=0,e=0;b=Qb-16|0;Qb=b;c=v[294589];d=c+1|0;v[294589]=d;if(!c){d=v[a+24>>2];v[b+12>>2]=a;v[b+8>>2]=d;c=v[b+8>>2];a:{if(!c){break a}e=v[b+12>>2];while(1){b:{c:{if((a|0)==(e|0)){while(1){if(!v[c+56>>2]){break c}d=c+52|0;e=v[d+8>>2];v[b+4>>2]=d;v[b>>2]=e;d:{if(e){while(1){if(v[v[e+8>>2]+4>>2]<2){break d}e=v[e>>2];v[b>>2]=e;if(e){continue}break}if(!c){break a}}c=v[c>>2];v[b+8>>2]=c;if(c){continue}break a}break}Mm(d,b);break b}Ei(b+8|0,a);L()}Tn(a,b+8|0)}d=v[a+24>>2];v[b+12>>2]=a;v[b+8>>2]=d;e=v[b+12>>2];c=v[b+8>>2];if(c){continue}break}}d=v[294589]}v[294589]=d-1;Qb=b+16|0}function ze(a,b,c,d){a=a|0;b=+b;c=+c;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;g=v[a>>2];h=g>>>8|0;i=v[a+4>>2];if(h>>>0>=i>>>0){e=v[a+8>>2];a:{if(h>>>0>>0){f=v[a+12>>2];break a}f=(e<<1)+512|0;f=fc((f|0)!=(f&1073741822)?-1:f<<2);j=e<<2;l=(f+j|0)+1024|0;k=v[a+12>>2];if(k){gc(f,k,j);gc(l,v[a+16>>2],j);dc(k);g=v[a>>2];i=v[a+4>>2];e=v[a+8>>2]}v[a+16>>2]=l;v[a+12>>2]=f;v[a+8>>2]=e+256}e=h<<2;m=e+f|0,n=fc(4352),v[m>>2]=n;v[e+v[a+16>>2]>>2]=v[e+v[a+12>>2]>>2]+4096;v[a+4>>2]=i+1}e=h<<2;f=v[e+v[a+12>>2]>>2];t[v[e+v[a+16>>2]>>2]+(g&255)|0]=d;d=f+(g<<4&4080)|0;A[d+8>>3]=c;A[d>>3]=b;v[a>>2]=v[a>>2]+1}function wT(a,b){var c=0,d=0,e=0,f=0;c=Qb-80|0;Qb=c;v[c+64>>2]=13;v[c+48>>2]=13;v[c+32>>2]=13;v[c+16>>2]=13;v[c>>2]=13;a:{if(v[rc(v[b+8>>2],236947,c- -64|0,0)>>2]==6){b=v[c+72>>2];if(v[b+12>>2]<1){break a}while(1){if(v[yc(b,d,c+48|0,0)>>2]==7){wT(a,c+48|0)}hc(c+48|0);d=d+1|0;b=v[c+72>>2];if((d|0)>2]){continue}break}break a}b:{if(v[rc(v[b+8>>2],236677,c+32|0,0)>>2]!=6){break b}d=v[c+40>>2];if(v[d+12>>2]<2){break b}b=0;e=1;while(1){f=b;b=c+16|0;yc(d,f,b,0);yc(v[c+40>>2],e,c,0);rT(a,c,b);hc(b);hc(c);b=e;e=b+1|0;d=v[c+40>>2];if((e|0)>2]){continue}break}}hc(c+32|0)}hc(c- -64|0);Qb=c+80|0}function Tza(a,b){a=a|0;b=b|0;var c=0,d=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a>>2]=938248;a:{b:{c:{switch(v[b>>2]-3|0){case 1:c=fc(8);b=v[b+8>>2];v[299999]=0;Q(3063,c|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}v[a+8>>2]=c;return a|0;case 0:b=v[b+8>>2];c=fc(8);v[299999]=0;Q(3064,c|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}v[a+8>>2]=c;return a|0;case 3:c=fc(72);b=v[b+8>>2];v[299999]=0;b=Q(3363,c|0,b|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){v[a+4>>2]=c;if(v[b+68>>2]){break b}dc(c);v[a+4>>2]=0;return a|0}break a;default:break c}}kc(0,-1,247566,0)}return a|0}a=P()|0;O()|0;dc(c);T(a|0);L()}function R8a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(w[b+32|0]){return _d(a,v[b>>2],0,0)|0}if(w[b+33|0]){return _d(a,v[b>>2],v[b+304>>2],b+308|0)|0}e=2;i=9;g=296;d=v[a+428>>2];h=d+8|0;f=h;a:{b:{switch(w[b+34|0]){case 3:f=v[b+36>>2];if(!f){break a}g=b+40|0;e=h;while(1){t[e|0]=w[c+g|0];e=e+1|0;c=c+1|0;if(c>>>0>2]){continue}break};c=f;break a;case 2:c=x[b+298>>1];c=c<<8|c>>>8;t[d+8|0]=c;t[d+9|0]=c>>>8;c=x[b+300>>1];c=c<<8|c>>>8;t[d+10|0]=c;t[d+11|0]=c>>>8;f=d+12|0;e=6;i=13;g=302;break;case 0:break b;default:break a}}c=x[b+g>>1];t[f|0]=c>>>8;t[d+i|0]=c;c=e}return _d(a,v[b>>2],c,h)|0}function T3(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;h=Qb-16|0;Qb=h;a:{b:{c:{d:{e=v[a+584>>2];if(e){if(!v[e+24>>2]){break d}if(!v[e+20>>2]){break c}f=jc(c);e:{if(!f){a=v[a+628>>2];v[h>>2]=c;zc(a,188032,44100,h);b=0;break e}f=gc(f,b,c);g=v[e+8>>2];if((g|0)<=0){break b}if((c|0)%(g|0)|0){break a}if((c|0)>0){b=f;i=c;while(1){Ub[v[e+24>>2]](a,b,g);b=b+g|0;i=i-g|0;if((i|0)>0){continue}break}}b=Ub[v[e+20>>2]](a,f,c,d)|0;dc(f)}Qb=h+16|0;return b|0}X(16309,6354,574,188032);L()}X(41345,6354,575,188032);L()}X(43248,6354,576,188032);L()}X(40572,6354,594,188032);L()}X(44999,6354,595,188032);L()}function VD(a){var b=0,c=0,d=0,e=0;a:{b:{c:{b=v[a+32>>2];c=v[a+36>>2];if(b>>>0>=c>>>0){break c}d:{switch(w[b|0]-34|0){case 0:case 5:break d;default:break c}}d=b+1|0;v[a+32>>2]=d;e=w[b|0];b=d;e:{if(c>>>0<=b>>>0){break e}while(1){if(w[b|0]==(e|0)){break e}b=b+1|0;v[a+32>>2]=b;if((b|0)!=(c|0)){continue}break}b=c}c=fc(8);v[299999]=0;b=Y(3083,c|0,d|0,b-d|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break b}c=v[a+32>>2];if(c>>>0>=y[a+36>>2]|w[c|0]!=(e|0)){break a}v[a+32>>2]=c+1;break a}c=fc(8);v[299999]=0;b=S(3312,c|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break a}}a=P()|0;O()|0;dc(c);T(a|0);L()}return b}function kKa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=fc(44);v[299999]=0;v[c+4>>2]=1;v[c>>2]=878672;d=v[299999];v[299999]=0;if((d|0)!=1){v[c+8>>2]=878944;v[c>>2]=878920;v[c+24>>2]=0;v[c+28>>2]=0;v[c+12>>2]=0;v[c+16>>2]=0;v[c+40>>2]=0;d=c+32|0;v[c+36>>2]=d;v[c+32>>2]=d;Fu(0);v[c+12>>2]=0;d=v[c+16>>2];if(d){dc(d)}v[c+16>>2]=0;d=w[b+11|0];e=d<<24>>24<0;d=e?v[b+4>>2]:d;v[c+20>>2]=d;f=fc(d);v[c+16>>2]=f;g=c,h=DF(gc(f,e?v[b>>2]:b,d),d,0,0,0),v[g+12>>2]=h;BV(c);b=v[c+24>>2];a:{if(!b){Ub[v[v[c>>2]+4>>2]](c);break a}v[a>>2]=b;Ub[v[v[c>>2]+12>>2]](c)|0}return(b|0)!=0|0}a=P()|0;O()|0;dc(c);T(a|0);L()}function iYa(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,n=0;a:{if((e|0)<1){break a}g=v[a+36>>2];if((g|0)<1){break a}k=v[a+112>>2];if(!k){break a}l=k&3;m=k-1>>>0<3;while(1){n=e-1|0;i=0;while(1){a=v[v[(i<<2)+b>>2]+(c<<2)>>2];h=v[d>>2]+i|0;j=k;f=l;if(f){while(1){t[h|0]=w[a|0];j=j-1|0;h=g+h|0;a=a+1|0;f=f-1|0;if(f){continue}break}}if(!m){while(1){t[h|0]=w[a|0];f=g+h|0;t[f|0]=w[a+1|0];f=f+g|0;t[f|0]=w[a+2|0];f=f+g|0;t[f|0]=w[a+3|0];a=a+4|0;h=f+g|0;j=j-4|0;if(j){continue}break}}i=i+1|0;if((i|0)!=(g|0)){continue}break}d=d+4|0;c=c+1|0;a=(e|0)>1;e=n;if(a){continue}break}}}function Kk(a,b,c){var d=0,e=0,f=0,g=0;f=v[a+584>>2];g=v[f+64>>2];e=v[f+68>>2];a:{if(e>>>0>=c>>>0){break a}c=c-e|0;d=b>>>c|g;if(v[a+608>>2]>=v[a+600>>2]){Ae(a)}e=v[a+604>>2];v[a+604>>2]=e+1;t[e|0]=d;d=v[a+608>>2]+1|0;v[a+608>>2]=d;g=0;e=8;if(c>>>0<9){break a}while(1){c=c-8|0;e=b>>>c|0;if(v[a+600>>2]<=(d|0)){Ae(a)}d=v[a+604>>2];v[a+604>>2]=d+1;t[d|0]=e;d=v[a+608>>2]+1|0;v[a+608>>2]=d;e=8;if(c>>>0>8){continue}break}}d=v[(c<<2)+86176>>2]&b;b=e-c|0;d=d<>2]>=v[a+600>>2]){Ae(a)}b=v[a+604>>2];v[a+604>>2]=b+1;t[b|0]=d;v[a+608>>2]=v[a+608>>2]+1;d=0;b=8}v[c+68>>2]=b;v[f+64>>2]=d}function Gr(a){var b=0,c=0,d=0,e=0,f=0;c=v[a+36>>2];if(c){d=v[c+4>>2];b=v[d+8>>2];if((b|0)>=1){while(1){f=v[v[d>>2]+(e<<2)>>2];if(f){b=v[f+8>>2];if(b){dc(Vc(b))}dc(f);b=v[d+8>>2]}e=e+1|0;if((b|0)>(e|0)){continue}break}}dc(Vc(d));b=v[c+8>>2];if(b){dc(qE(b))}dc(c)}e=v[a+32>>2];if(e){d=0;c=v[e>>2];if(c){b=v[c+8>>2];if((b|0)>=1){while(1){f=v[v[c>>2]+(d<<2)>>2];if(f){au(f);dc(f);b=v[c+8>>2]}d=d+1|0;if((b|0)>(d|0)){continue}break}}dc(Vc(c))}dc(e)}b=v[a+28>>2];if(b){dc(tT(b))}b=v[a+24>>2];if(b){dc(eR(b))}b=v[a+8>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}b=v[a+4>>2];if(b){Be(b)}b=v[a>>2];if(b){dc(Dc(b))}return a}function Au(a,b){var c=0,d=0,e=0;e=Qb-16|0;Qb=e;a:{if(!a){break a}c=v[a+56>>2];d=v[a+60>>2];if((c|0)>=(d|0)){c=Ub[v[259709]](v[a+64>>2],d<<3)|0;if(!c){Qd(a,0);break a}v[a+64>>2]=c;v[a+60>>2]=v[a+60>>2]<<1;c=v[a+56>>2]}d=v[259842];if(!(w[a+362|0]&8|d>>>0>=c>>>0)){if(!(v[a+172>>2]==-1?v[a+212>>2]:0)){v[a+84>>2]=1;v[e>>2]=d;oc(0,0,0,a,0,1,1,3,0,0,0,d,350621,e);v[a+12>>2]=0}v[a+212>>2]=1;v[a+172>>2]=-1;b=v[a+36>>2];if(!b){break a}c=v[b+40>>2];if(c){Ub[c|0](v[b+12>>2]);b=v[a+36>>2];v[b+40>>2]=0}v[b+12>>2]=358460;v[b+16>>2]=358460;break a}v[v[a+64>>2]+(c<<2)>>2]=b;v[a+56>>2]=c+1;v[a+52>>2]=b}Qb=e+16|0}function n0a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=999999984/(c>>>0)|0;g=v[a+4>>2];if(c>>>0>=999999985){f=v[a>>2];v[f+20>>2]=72;Ub[v[f>>2]](a)}e=(d|0)>(e|0)?e:d;v[g+80>>2]=e;j=nq(a,b,d<<2);if(d){f=0;while(1){g=d-f|0;e=e>>>0>>0?e:g;h=DH(a,b,B(e,c));a:{if(!e){break a}g=e;i=e&3;if(i){while(1){v[(f<<2)+j>>2]=h;g=g-1|0;h=c+h|0;f=f+1|0;i=i-1|0;if(i){continue}break}}if(e-1>>>0<3){break a}while(1){i=(f<<2)+j|0;v[i>>2]=h;h=c+h|0;k=h+c|0;l=k+c|0;v[i+12>>2]=l;v[i+8>>2]=k;v[i+4>>2]=h;f=f+4|0;h=c+l|0;g=g-4|0;if(g){continue}break}}if(d>>>0>f>>>0){continue}break}}return j|0}function ZJ(a,b){var c=0,d=0;c=-1;d=v[a+8>>2];a:{if(d&7){break a}c=v[a+64>>2];if(!((c|0)<0|(c|0)>v[a+60>>2])){v[a+8>>2]=d|4;return-1}v[a+4>>2]=v[a+4>>2]|32;c=-1;d=v[a+28>>2];v[a+28>>2]=d-1;b:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;t[c|0]=b;break b}if((Fc(a,b&255)|0)==-1){break a}}c=v[a+8>>2];c:{if(c&7){break c}d=v[a+64>>2];if(!((d|0)<0|(d|0)>v[a+60>>2])){v[a+8>>2]=c|4;break c}v[a+4>>2]=v[a+4>>2]|32;c=v[a+28>>2];v[a+28>>2]=c-1;if((c|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=a;a=v[a+24>>2];v[c+24>>2]=a+1;t[a|0]=b>>>8;return 0}c=0;if((Fc(a,b>>>8&255)|0)!=-1){break a}}c=-1}return c}function Gg(a,b){var c=0,d=0;c=-1;d=v[a+8>>2];a:{if(d&7){break a}c=v[a+64>>2];if(!((c|0)<0|(c|0)>v[a+60>>2])){v[a+8>>2]=d|4;return-1}v[a+4>>2]=v[a+4>>2]|32;c=-1;d=v[a+28>>2];v[a+28>>2]=d-1;b:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;t[c|0]=b>>>8;break b}if((Fc(a,b>>>8&255)|0)==-1){break a}}c=v[a+8>>2];c:{if(c&7){break c}d=v[a+64>>2];if(!((d|0)<0|(d|0)>v[a+60>>2])){v[a+8>>2]=c|4;break c}v[a+4>>2]=v[a+4>>2]|32;c=v[a+28>>2];v[a+28>>2]=c-1;if((c|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=a;a=v[a+24>>2];v[c+24>>2]=a+1;t[a|0]=b;return 0}c=0;if((Fc(a,b&255)|0)!=-1){break a}}c=-1}return c}function nLa(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,n=0,o=0;a:{if((e|0)<1){break a}k=v[a+28>>2];if(!k){break a}g=v[v[a+408>>2]+8>>2];while(1){l=e-1|0;a=d<<2;m=v[a+v[c+8>>2]>>2];n=v[a+v[c+4>>2]>>2];o=v[a+v[c>>2]>>2];a=v[b>>2];f=0;while(1){h=(w[a+2|0]<<2)+g|0;i=(w[a+1|0]<<2)+g|0;j=(w[a|0]<<2)+g|0;t[f+o|0]=v[h+2048>>2]+(v[i+1024>>2]+v[j>>2]|0)>>>16;t[f+n|0]=v[h+5120>>2]+(v[i+4096>>2]+v[j+3072>>2]|0)>>>16;t[f+m|0]=v[h+7168>>2]+(v[i+6144>>2]+v[j+5120>>2]|0)>>>16;a=a+3|0;f=f+1|0;if((k|0)!=(f|0)){continue}break}d=d+1|0;b=b+4|0;a=(e|0)>1;e=l;if(a){continue}break}}}function VXa(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,j=0,k=0;d=v[a+472>>2];i=v[d+92>>2];h=v[a+316>>2];if((i|0)>=(h|0)){if(v[a+36>>2]>=1){h=v[a+216>>2];i=0;while(1){k=i<<2;j=k+d|0;Ub[v[j+52>>2]](a,h,v[b+k>>2]+(B(v[j+100>>2],v[c>>2])<<2)|0,j+12|0);h=h+88|0;i=i+1|0;if((i|0)>2]){continue}break}h=v[a+316>>2]}v[d+92>>2]=0;i=0}b=g;g=v[f>>2];b=b-g|0;j=v[d+96>>2];h=h-i|0;h=h>>>0>j>>>0?j:h;b=b>>>0>>0?b:h;Ub[v[v[a+476>>2]+4>>2]](a,d+12|0,i,(g<<2)+e|0,b);v[f>>2]=b+v[f>>2];v[d+96>>2]=v[d+96>>2]-b;b=b+v[d+92>>2]|0;v[d+92>>2]=b;if((b|0)>=v[a+316>>2]){v[c>>2]=v[c>>2]+1}}function PCa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;b=v[a+28>>2];c=v[b+596>>2];d=v[c+28>>2];if(!(v[c>>2]?0:(d|0)<=0)){a:{if((d|0)<1){break a}Hf(c);c=v[b+596>>2];c=v[((v[c+28>>2]<<2)+v[c+24>>2]|0)-4>>2];d=(v[c+12>>2]<<3)-8|0;A[b+600>>3]=A[d+v[c>>2]>>3];A[b+608>>3]=A[d+v[c+4>>2]>>3];if(!v[a+100>>2]){break a}b=v[v[a+28>>2]+120>>2];if((Ub[v[v[b>>2]+12>>2]](b)|0)==10){Nr(a);break a}b=v[a+8>>2];Ub[v[v[b>>2]+200>>2]](b,v[a+28>>2])}b=v[a+28>>2];c=v[b+596>>2];if(!(!v[a+36>>2]|(v[c>>2]?0:v[c+28>>2]<=0))){Vi(b);b=v[a+8>>2];Ub[v[v[b>>2]+(v[a+36>>2]==1?220:224)>>2]](b,v[a+28>>2]);b=v[a+28>>2]}v[a+36>>2]=0;vf(b)}}function ABa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=fc(28);d=v[a+12>>2];v[299999]=0;f=S(1,8)|0;b=v[299999];v[299999]=0;a:{b:{c:{if((b|0)==1){break c}v[299999]=0;Q(3064,f|0,d|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){a=P()|0;O()|0;dc(f);break b}d=v[a+16>>2];b=v[v[d>>2]+8>>2];v[299999]=0;d=S(b|0,d|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break c}b=v[a+20>>2];e=v[v[b>>2]+8>>2];v[299999]=0;b=S(e|0,b|0)|0;e=v[299999];v[299999]=0;if((e|0)!=1){break a}}a=P()|0;O()|0}dc(c);T(a|0);L()}e=v[a+4>>2];v[c+24>>2]=v[a+24>>2];v[c+20>>2]=b;v[c+16>>2]=d;v[c+12>>2]=f;v[c>>2]=897352;v[c+8>>2]=0;v[c+4>>2]=e;return c|0}function oY(a,b,c,d,e,f){var g=0,h=0,i=0;a:{g=w[e+3|0];if(!g){break a}h=v[a>>2];a=v[h+4>>2];i=v[h+16>>2];b:{if((i|0)>=0){c=B(c,i);break b}c=B(c,i);if((a-v[h>>2]|0)<(0-c|0)){break a}}if(!a){break a}a=(a+c|0)+(b<<2)|0;while(1){c=w[e|0];b=B(w[f|0]+1|0,g)>>>8|0;c:{if((b|0)==255){t[a+2|0]=c;t[a+1|0]=w[e+1|0];b=w[e+2|0];t[a+3|0]=255;t[a|0]=b;break c}g=w[e+2|0];h=w[e+1|0];i=c;c=w[a+2|0];t[a+2|0]=B(b,i-c|0)+(c<<8)>>>8;c=w[a+1|0];t[a+1|0]=B(b,h-c|0)+(c<<8)>>>8;c=w[a+3|0];t[a+3|0]=c+b-(B(b,c)+255>>>8);c=b;b=w[a|0];t[a|0]=B(c,g-b|0)+(b<<8)>>>8}d=d-1|0;if(!d){break a}a=a+4|0;f=f+1|0;g=w[e+3|0];continue}}}function Yja(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=Qb-32|0;Qb=d;a:{b:{c:{if(v[a+116>>2]<=0){e=v[a+120>>2];if((e|0)>-1){break c}}a=vc(d+8|0,227445,271729,632,307270,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}f=v[a+104>>2];g=v[a+108>>2];b=v[f-(g<<2)>>2];c=1;a=v[a+92>>2];if((a|0)>1){while(1){if((c|0)>(e|0)){a=vc(d+8|0,227445,271729,632,307270,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}h=v[(c-g<<2)+f>>2];b=(b|0)<(h|0)?h:b;c=c+1|0;if((a|0)!=(c|0)){continue}break}}Qb=d+32|0;return b+1|0}L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function Wja(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=Qb-32|0;Qb=d;a:{b:{c:{if(v[a+140>>2]<=0){e=v[a+144>>2];if((e|0)>-1){break c}}a=vc(d+8|0,227445,271729,632,307270,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}f=v[a+128>>2];g=v[a+132>>2];b=v[f-(g<<2)>>2];c=1;a=v[a+92>>2];if((a|0)>1){while(1){if((c|0)>(e|0)){a=vc(d+8|0,227445,271729,632,307270,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}h=v[(c-g<<2)+f>>2];b=(b|0)<(h|0)?h:b;c=c+1|0;if((a|0)!=(c|0)){continue}break}}Qb=d+32|0;return b+1|0}L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function S3a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;e=v[v[a+40>>2]>>2];if(e){b=v[a>>2];g=v[b+100>>2];c=v[b+712>>2];a=v[c+3080>>2];b=Eg(v[v[b+96>>2]+4>>2],239287);a:{if(!b|!a){break a}a=v[a>>2];if(!a){break a}d=Ub[a|0](b)|0;if(!d){break a}Ub[v[d+8>>2]](v[e>>2]);a=v[c+2024>>2];if(!a){break a}f=e+4|0;b=a-1|0;c=a&3;if(c){while(1){a=a-1|0;Ub[v[d+8>>2]](v[f+(a<<2)>>2]);c=c-1|0;if(c){continue}break}}if(b>>>0<3){break a}while(1){b=f+(a<<2)|0;Ub[v[d+8>>2]](v[b-4>>2]);Ub[v[d+8>>2]](v[b-8>>2]);Ub[v[d+8>>2]](v[b-12>>2]);a=a-4|0;Ub[v[d+8>>2]](v[f+(a<<2)>>2]);if(a){continue}break}}if(e){Ub[v[g+8>>2]](g,e)}}}function K_a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=Qb-16|0;Qb=f;c=v[a+28>>2];g=v[a+16>>2];e=v[a+24>>2];v[f+12>>2]=0;a:{b:{d=e+1|0;c:{if(d>>>0<=c>>>0){b=v[a+32>>2];break c}v[a+36>>2]=b;b=Cc(b,4,c,d,v[a+32>>2],f+12|0);v[a+32>>2]=b;if(v[f+12>>2]){break b}v[a+28>>2]=d}d:{if(!e){break d}a=g+10|0;c=0;if((e|0)!=1){d=e&-2;while(1){g=c<<2;v[g+b>>2]=w[a+2|0]|(w[a+1|0]<<8|w[a|0]<<16);v[(g|4)+b>>2]=w[a+13|0]|(w[a+12|0]<<8|w[a+11|0]<<16);c=c+2|0;a=a+22|0;d=d-2|0;if(d){continue}break}}if(!(e&1)){break d}v[(c<<2)+b>>2]=w[a+2|0]|(w[a+1|0]<<8|w[a|0]<<16)}v[(e<<2)+b>>2]=0;break a}b=0}Qb=f+16|0;return b|0}function Esa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=Qb-16|0;Qb=d;g=a,h=xc(v[a+20>>2]-12|0),v[g+20>>2]=h;a:{b=v[a+28>>2];if(!b){break a}v[d>>2]=64;Ub[v[v[b>>2]+288>>2]](b,d)|0;b=v[a+28>>2];v[d>>2]=64;Ub[v[v[b>>2]+292>>2]](b,d)|0;e=v[a+20>>2];c=v[a+16>>2];b=e-c|0;if((b|0)<1){break a}b=(b>>>0)/12|0;b:{if((c|0)!=(e|0)){e=b>>>0>1?b:1;b=0;while(1){c=Yk(d,B(b,12)+c|0);v[299999]=0;V(4315,a|0,c|0);f=v[299999];v[299999]=0;if((f|0)==1){break b}xc(c);b=b+1|0;if((e|0)==(b|0)){break a}c=v[a+16>>2];if((v[a+20>>2]-c|0)/12>>>0>b>>>0){continue}break}}lw(a+16|0);L()}a=P()|0;O()|0;xc(c);T(a|0);L()}Qb=d+16|0}function oD(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{if(t[1178988]&1){break a}if(!Je(1178988)){break a}v[294746]=0;Ie(1178988)}b:{c:{c=v[282398];if((c|0)<(b|0)){while(1){d=c;c=c<<1;if((b|0)>(d|0)){continue}break}b=fc(20);v[b>>2]=985028;v[b+4>>2]=0;v[299999]=0;d=d+4095&-4096;c=Z(4407,b+12|0,b+8|0,d|0,1)|0;e=v[299999];v[299999]=0;if((e|0)==1){break c}v[299999]=0;Ah(c,1,0);e=v[299999];v[299999]=0;if((e|0)==1){a=P()|0;O()|0;Lc(c);break b}c=v[b+8>>2];v[282398]=d;v[282397]=c;Wc(1178984,b)}b=v[294746];if(b){v[b+4>>2]=v[b+4>>2]+1;b=v[294746]}else{b=0}v[a>>2]=b;return}a=P()|0;O()|0}Qc(b);dc(b);T(a|0);L()}function lea(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;a:{b:{if((c|0)<1){break b}c=c-1|0;if(!d){while(1){d=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=d;cD(a+8|0,b+8|0);b=b+20|0;a=a+20|0;d=(c|0)>0;c=c-1|0;if(d){continue}break b}}while(1){d=c;c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;cD(a+8|0,b+8|0);ec(b+12|0);c=v[b+8>>2];v[b+8>>2]=0;c:{if(!c){break c}v[299999]=0;e=v[c+4>>2]-1|0;v[c+4>>2]=e;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(e){break c}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}c=d-1|0;b=b+20|0;a=a+20|0;if((d|0)>0){continue}break}}return}W(0)|0;O()|0;lc();L()}function exa(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;a:{if((c|0)<1){break a}while(1){i=v[a+68>>2];if((i|0)>=v[a+20>>2]){if(v[a+40>>2]){break a}if(!iE(a)){break a}i=v[a+68>>2]}e=v[a+72>>2];j=e&1?0:255;l=v[a+60>>2];d=v[l+(e<<2)>>2]-i|0;b:{if((d|0)>8){f=j;break b}m=v[a+20>>2];f=0;g=8;while(1){k=(d|0)<(g|0)?d:g;f=j>>8-k|f<>2]>=(m|0)){f=f<>2]=e;d=v[(e<<2)+l>>2]-v[d>>2]|0;j=j^255}if((g|0)>0){continue}break}}v[a+68>>2]=i+8;t[b+h|0]=v[a+36>>2]^f;h=h+1|0;if((h|0)!=(c|0)){continue}break}h=c}return h|0}function ara(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=Qb-16|0;Qb=e;Bx(a);a:{if(!jj(b)){break a}f=dk(b);d=v[v[a+12>>2]+((f>>>0)%y[a+8>>2]<<2)>>2];if(!d){break a}while(1){b:{if((f|0)==v[d+12>>2]){if(Sk(d+16|0,b)){break b}}d=v[d+8>>2];if(d){continue}break a}break}v[e+12>>2]=a;v[e+8>>2]=d;v[e>>2]=0;v[e+4>>2]=0;b=d+52|0;d=0;while(1){c:{d:{e:{if(d){if((b|0)==v[e+4>>2]){break e}Ei(e,b);L()}d=v[b+8>>2];if(!d){break d}}f=v[c>>2];while(1){if((f|0)==v[d+8>>2]){break c}d=v[d>>2];if(d){continue}break}}if(v[b+4>>2]){break a}Tn(a,e+8|0);break a}v[e+4>>2]=b;v[e>>2]=d;Mm(b,e);d=v[e>>2];continue}}Qb=e+16|0}function Zja(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=Qb-32|0;Qb=d;a:{b:{c:{if(v[a+116>>2]<=0){e=v[a+120>>2];if((e|0)>-1){break c}}a=vc(d+8|0,227445,271729,632,307270,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}f=v[a+104>>2];g=v[a+108>>2];b=v[f-(g<<2)>>2];c=1;a=v[a+92>>2];if((a|0)>1){while(1){if((c|0)>(e|0)){a=vc(d+8|0,227445,271729,632,307270,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}h=v[(c-g<<2)+f>>2];b=(b|0)>(h|0)?h:b;c=c+1|0;if((a|0)!=(c|0)){continue}break}}Qb=d+32|0;return b|0}L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function Xja(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=Qb-32|0;Qb=d;a:{b:{c:{if(v[a+140>>2]<=0){e=v[a+144>>2];if((e|0)>-1){break c}}a=vc(d+8|0,227445,271729,632,307270,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}f=v[a+128>>2];g=v[a+132>>2];b=v[f-(g<<2)>>2];c=1;a=v[a+92>>2];if((a|0)>1){while(1){if((c|0)>(e|0)){a=vc(d+8|0,227445,271729,632,307270,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}h=v[(c-g<<2)+f>>2];b=(b|0)>(h|0)?h:b;c=c+1|0;if((a|0)!=(c|0)){continue}break}}Qb=d+32|0;return b|0}L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function Ul(a){var b=0,c=0;a:{b:{c:{d:{if(!v[a+36>>2]){break d}b=v[a+40>>2];if((b|0)>=0){v[a+40>>2]=-1;v[a>>2]=b;break c}b=v[a+32>>2];v[a+32>>2]=b-1;if((b|0)>0){break d}b=255;v[a>>2]=255;break c}v[a+28>>2]=v[a+28>>2]+1;b=v[a+24>>2];b=Ub[v[v[b>>2]+28>>2]](b)&255;v[a>>2]=b;if(!v[a+36>>2]){break b}}c=v[a+40>>2];if((c|0)>=0){v[a+40>>2]=-1;break a}c=v[a+32>>2];v[a+32>>2]=c-1;if((c|0)>=1){break b}c=255;break a}v[a+28>>2]=v[a+28>>2]+1;b=v[a+24>>2];c=Ub[v[v[b>>2]+28>>2]](b)&255;b=v[a>>2]}v[a+4>>2]=c;v[a+8>>2]=b<<16^16711680;CE(a);v[a+12>>2]=-2147483648;v[a+8>>2]=v[a+8>>2]<<7;v[a+16>>2]=v[a+16>>2]-7}function Dna(a){a=a|0;var b=0,c=0,d=0;b=Qb-16|0;Qb=b;v[b+8>>2]=0;Wc(b+8|0,a);v[299999]=0;Q(4336,a+160|0,0)|0;c=v[299999];v[299999]=0;a:{b:{if((c|0)==1){break b}v[299999]=0;R(4826,a|0);a=v[299999];v[299999]=0;if((a|0)==1){a=W(0)|0;O()|0;ea(a|0)|0;v[299999]=0;ba(4230);a=v[299999];v[299999]=0;if((a|0)==1){break b}}a=v[b+8>>2];v[b+8>>2]=0;c:{if(!a){break c}v[299999]=0;c=v[a+4>>2]-1|0;v[a+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break c}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Qb=b+16|0;return}a=P()|0;O()|0;ec(b+8|0);T(a|0);L()}W(0)|0;O()|0;lc();L()}function eXa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=Qb-32|0;Qb=c;a:{if((Ub[v[b+52>>2]](b,6,c,0)|0)<=5){v[b+12>>2]=3;break a}e=v[c+12>>2];if(!e){v[b+12>>2]=3;break a}d=e>>31;d=d+e^d;if((d|0)!=65536){f=c,g=ad(v[c>>2],d),v[f>>2]=g;f=c,g=ad(v[c+4>>2],d),v[f+4>>2]=g;f=c,g=ad(v[c+8>>2],d),v[f+8>>2]=g;f=c,g=ad(v[c+16>>2],d),v[f+16>>2]=g;f=c,g=ad(v[c+20>>2],d),v[f+20>>2]=g;e=v[c+12>>2]<0?-65536:65536;v[c+12>>2]=e}v[a+440>>2]=v[c>>2];v[a+448>>2]=v[c+4>>2];d=v[c+8>>2];v[a+452>>2]=e;v[a+444>>2]=d;if(!iA(a+440|0)){v[b+12>>2]=3;break a}v[a+456>>2]=v[c+16>>2]>>16;v[a+460>>2]=v[c+20>>2]>>16}Qb=c+32|0}function Dka(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{if((a|0)==(b|0)){break a}c=v[a+24>>2];if(c){while(1){d=v[c>>2];Ub[v[v[a>>2]+16>>2]](c,1);dc(c);c=d;if(c){continue}break}}v[a+4>>2]=0;v[a+24>>2]=0;Ah(a+16|0,4,0);mD(a,v[b+8>>2]);b=v[b+24>>2];if(!b){break a}while(1){c=fc(v[v[a>>2]>>2]);Ub[v[v[a>>2]+12>>2]](c,b,1,0);e=v[a+12>>2]+(y[c+12>>2]%y[a+8>>2]<<2)|0;d=v[e>>2];v[c+8>>2]=d;v[c+4>>2]=d;b:{c:{if(d){v[c>>2]=v[d>>2];v[d>>2]=c;d=v[c>>2];if(d){break c}break b}d=v[a+24>>2];v[c>>2]=d;v[a+24>>2]=c;if(!d){break b}}v[d+4>>2]=c}v[e>>2]=c;v[a+4>>2]=v[a+4>>2]+1;b=v[b>>2];if(b){continue}break}}return a|0}function yCa(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;d=Qb-32|0;Qb=d;v[d>>2]=13;e=v[a+36>>2];v[d+24>>2]=v[a+32>>2];v[d+28>>2]=e;v[d+16>>2]=9;qf(d+16|0,b,d,0);a:{if(v[d>>2]!=8){kc(1,-1,257362,0);hc(d);hc(d+16|0);v[a+32>>2]=-1;break a}e=v[d+8>>2];f=Fj(4096);v[c>>2]=0;Ub[v[v[e>>2]+20>>2]](e);a=v[c>>2];b=4096;while(1){b:{g=c;h=e;if((b-4096|0)<(a|0)){if((b|0)>=1073741824){kc(1,-1,283146,0);break b}b=b<<1;f=fF(f,b);a=v[c>>2]}i=g;g=Ub[v[v[e>>2]+40>>2]](h,a+f|0,4096)|0;a=g+v[c>>2]|0;v[i>>2]=a;if((g|0)==4096){continue}}break}Ub[v[v[e>>2]+24>>2]](e);hc(d);hc(d+16|0)}Qb=d+32|0;return f|0}function lF(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;if((b|0)<=-1){t[c|0]=0;return c}if((b|0)<=390){ce(c,v[(b<<2)+1041424>>2]);return c}a:{b:{e=b-391|0;if((e|0)>=v[a+72>>2]){break b}g=v[a+80>>2];f=e;e=v[a+76>>2];e=Zl(a,(v[a+68>>2]+B(f,e)|0)+3|0,e,d);h=v[a+80>>2];f=b-390|0;b=v[a+76>>2];i=Zl(a,(v[a+68>>2]+B(f,b)|0)+3|0,b,d);b=e+g|0;e=v[a+80>>2];if((b|0)<(e|0)){break b}g=v[a+84>>2];if((g|0)<(b|0)){break b}f=e;e=h+i|0;if((f|0)>=(e|0)|(e|0)>(g|0)|(b|0)>(e|0)){break b}if(!v[d>>2]){break a}d=b+v[a+8>>2]|0;a=e-b|0;a=(a|0)<255?a:255;j=Xc(c,d,a)+a|0,k=0,t[j|0]=k;return c}v[d>>2]=0}t[c|0]=0;return c}function _wa(a){a=a|0;var b=0,c=0,d=0,e=0;a:{b:{if(v[a+12>>2]?v[a+8>>2]:1){b=-1;d=v[a+3504>>2];if((d|0)>=v[a+20>>2]){break b}c=v[a+3496>>2];e=v[a+3500>>2];b=v[v[((c<<2)+a|0)+3480>>2]+(e+B(d,v[a+32>>2])<<2)>>2];c=c+1|0;v[a+3496>>2]=c;if((c|0)!=v[a+188>>2]){break b}v[a+3496>>2]=0;c=e+1|0;v[a+3500>>2]=c;if((c|0)!=v[a+16>>2]){break b}v[a+3500>>2]=0;v[a+3504>>2]=d+1;return b|0}b=v[a+3472>>2];if((b|0)==v[a+3476>>2]){b=-1;d=v[a+28>>2]+v[a+3504>>2]|0;if((d|0)>=v[a+20>>2]){break b}v[a+3504>>2]=d;if(!eE(a)){break a}b=v[a+3472>>2]}v[a+3472>>2]=b+1;b=w[b|0]}return b|0}v[a+3504>>2]=v[a+20>>2];return-1}function jea(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Qb-16|0;Qb=d;f=v[b>>2];if(f){v[f+4>>2]=v[f+4>>2]+1;e=v[b>>2]}v[299999]=0;v[d+8>>2]=e;Z(5392,a|0,d+8|0,1,c|0)|0;b=v[299999];v[299999]=0;a:{if((b|0)!=1){v[d+8>>2]=0;b:{if(!e){break b}v[299999]=0;b=v[e+4>>2]-1|0;v[e+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break b}v[299999]=0;R(4338,e|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}v[a+20>>2]=0;v[a>>2]=998064;v[a+40>>2]=0;v[a+32>>2]=0;v[a+36>>2]=16777215;t[a+19|0]=25;t[a+17|0]=0;t[a+18|0]=0;Qb=d+16|0;return a|0}a=P()|0;O()|0;ec(d+8|0);T(a|0);L()}W(0)|0;O()|0;lc();L()}function au(a){var b=0,c=0,d=0,e=0;b=v[a+88>>2];if(b){c=v[b+8>>2];if((c|0)>=1){while(1){e=v[v[b>>2]+(d<<2)>>2];if(e){au(e);dc(e);c=v[b+8>>2]}d=d+1|0;if((d|0)<(c|0)){continue}break}}dc(Vc(b));v[a+88>>2]=0}b=v[a+4>>2];if(b){dc(Vc(b))}b=v[a+8>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}v[299999]=0;R(3098,a+16|0);b=v[299999];v[299999]=0;a:{if((b|0)==1){break a}v[299999]=0;R(3098,a+32|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}v[299999]=0;R(3098,a+48|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}v[299999]=0;R(3098,a- -64|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}return}W(0)|0;O()|0;lc();L()}function Ek(a,b,c){var d=0,e=0,f=0,g=0;d=Qb-32|0;Qb=d;e=K$(a,b,c,d+4|0);if(e){a=0;f=d+28|0;g=d+24|0;if(b){if(f){v[f>>2]=v[b>>2]}if(g){v[g>>2]=v[b+4>>2]}}vq(c,d+16|0,d+20|0,d+8|0,d+12|0);if(e){Oe(e,0,0,e?v[e>>2]:-1,e?v[e+4>>2]:-1,0,0,0,0)}g=v[d+16>>2];a:{if((g|0)<1){break a}f=v[d+20>>2];if((f|0)<1){break a}while(1){b=0;if((f|0)>=1){while(1){if(v[v[v[c+16>>2]+(a<<2)>>2]+(b<<2)>>2]==1){Oe(e,b-v[d+12>>2]|0,a-v[d+8>>2]|0,v[d+28>>2],v[d+24>>2],28,v[d+4>>2],0,0);f=v[d+20>>2]}b=b+1|0;if((f|0)>(b|0)){continue}break}g=v[d+16>>2]}a=a+1|0;if((g|0)>(a|0)){continue}break}}dd(d+4|0)}Qb=d+32|0;return e}function Aj(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;e=Qb-16|0;Qb=e;v[e+12>>2]=d;d=w[b+11|0]>>>7|0?v[b+4>>2]:w[b+11|0];if(d>>>0>>0){El(a);L()}f=w[b+11|0]>>>7|0?v[b>>2]:b;v[e+4>>2]=d-c;b=a;h=f+(c<<2)|0;c=Qb-16|0;Qb=c;Qb=c+16|0;f=Qb-16|0;Qb=f;a:{c=e+4|0;d=e+12|0;d=v[(y[c>>2]>2]?c:d)>>2];if(d>>>0<=1073741807){b:{if(d>>>0<=1){t[b+11|0]=d;c=b;break b}i=b;if(d>>>0>=2){g=d+4&-4;c=g-1|0;c=(c|0)==2?g:c}else{c=1}g=c+1|0;c=yL(g);v[i>>2]=c;v[b+8>>2]=g|-2147483648;v[b+4>>2]=d}ak(c,h,d);v[f+12>>2]=0;v[(d<<2)+c>>2]=v[f+12>>2];Qb=f+16|0;break a}$d(b);L()}Qb=e+16|0;return a|0}function yNa(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;f=Qb-16|0;Qb=f;e=v[a+4>>2];h=v[e+24>>2];g=!w[e+66|0];if(v[h+224>>2]){d=t[e+67|0]}else{d=x[e+112>>1]<256}a:{if(!(g|!d)){g=e+66|0;d=1;break a}g=v[e+20>>2];d=t[e+61|0]}t[e+67|0]=0;i=a;b:{c:{if(w[h+200|0]==12){d:{e:{switch(d-1|0){case 0:d=f+12|0;if(v[e+52>>2]==2){v[e+52>>2]=1;t[f+12|0]=15;d=f+13|0}t[d|0]=w[g|0];d=d+1|0;break d;case 1:break e;default:break c}}d=f+12|0;if(y[e+52>>2]<=1){v[e+52>>2]=2;t[f+12|0]=14;d=f+13|0}t[d|0]=w[g|0];t[d+1|0]=w[g+1|0];d=d+2|0}a=f+12|0;d=d-a|0}else{a=g}GG(i,a,d,b,c);break b}v[c>>2]=1}Qb=f+16|0}function tLa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=v[a+8>>2];Gh(v[a+4>>2],b,c,d);Gh(v[a+8>>2],b,c,d);Gh(v[a+12>>2],b,c,d);Gh(v[a+16>>2],b,c,d);Gh(v[a+20>>2],b,c,d);Gh(v[a+24>>2],b,c,d);Gh(v[a+28>>2],b,c,d);Gh(v[a+32>>2],b,c,d);Gh(v[a+36>>2],b,c,d);Gh(v[a+40>>2],b,c,d);Gh(v[a+44>>2],b,c,d);Gh(v[a+48>>2],b,c,d);Gh(v[a+52>>2],b,c,d);Gh(v[a+56>>2],b,c,d);Gh(v[a+60>>2],b,c,d);Gh(v[a+64>>2],b,c,d);Gh(v[a+68>>2],b,c,d);Gh(v[a+72>>2],b,c,d);Gh(v[a+76>>2],b,c,d);Ub[v[b+4>>2]](v[b>>2],0);Ub[v[b+4>>2]](v[b>>2],9);Ub[v[b+4>>2]](v[b>>2],10);Ub[v[b+8>>2]](v[b>>2],32,127);Ub[v[b+8>>2]](v[b>>2],160,255)}function eT(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=896232;b=v[a+1048>>2];a:{if(!b){break a}c=v[a+1044>>2];if((c|0)<1){break a}while(1){b=v[(d<<2)+b>>2];if(b){Ub[v[v[b>>2]+4>>2]](b);c=v[a+1044>>2]}d=d+1|0;if((d|0)<(c|0)){b=v[a+1048>>2];continue}break}b=v[a+1048>>2]}v[299999]=0;uc(b);b=v[299999];v[299999]=0;b:{if((b|0)==1){break b}b=v[a+1052>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break b}b=v[a+1056>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break b}b=v[a+1060>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break b}return a|0}W(0)|0;O()|0;lc();L()}function Sq(a,b,c,d,e,f,g,h){var i=0,j=0,k=0;i=Qb-16|0;Qb=i;if((b^-1)+1073741807>>>0>=c>>>0){k=w[a+11|0]>>>7|0?v[a>>2]:a;a:{if(b>>>0<536870887){v[i+8>>2]=b<<1;v[i+12>>2]=b+c;c=Qb-16|0;Qb=c;Qb=c+16|0;c=i+8|0;j=i+12|0;c=v[(y[j>>2]>2]?c:j)>>2];if(c>>>0>=2){j=c+4&-4;c=j-1|0;c=(c|0)==2?j:c}else{c=1}break a}c=1073741806}j=c+1|0;c=yL(j);if(e){ak(c,k,e)}if(g){ak(c+(e<<2)|0,h,g)}d=d-(e+f|0)|0;if(d){h=e<<2;ak((h+c|0)+(g<<2)|0,(h+k|0)+(f<<2)|0,d)}if((b|0)!=1){CL(k)}v[a>>2]=c;v[a+8>>2]=j|-2147483648;b=a;a=d+(e+g|0)|0;v[b+4>>2]=a;v[i+4>>2]=0;v[c+(a<<2)>>2]=v[i+4>>2];Qb=i+16|0;return}$d(a);L()}function NZ(a,b){var c=0,d=0,e=0,f=0;c=v[a+32>>2];e=b;d=v[a+28>>2];if(d){while(1){f=v[c+8>>2];if(f){Ub[v[b+8>>2]](b,f)}v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=0;v[c+4>>2]=0;c=c+16|0;d=d-1|0;if(d){continue}break}c=v[a+32>>2]}if(c){Ub[v[e+8>>2]](e,c)}v[a+24>>2]=0;v[a+28>>2]=0;v[a+32>>2]=0;c=v[a+20>>2];d=v[a+16>>2];if(d){while(1){f=v[c+8>>2];if(f){Ub[v[b+8>>2]](b,f)}v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=0;v[c+4>>2]=0;c=c+16|0;d=d-1|0;if(d){continue}break}c=v[a+20>>2]}if(c){Ub[v[e+8>>2]](e,c)}v[a+12>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;e=v[a+8>>2];if(e){Ub[v[b+8>>2]](b,e)}v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0}function NXa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=Qb-208|0;Qb=d;f=v[a+532>>2];Ub[v[b+60>>2]](b,d+16|0,16,d+12|0);c=v[d+12>>2];a:{if((c|0)<0){e=162;break a}e=3;if(!c|(c|0)>16){break a}b:{c:{if(f){g=v[f>>2];if(g){break c}}e=Pz(a,c,0);if(e){break a}f=v[a+532>>2];c=v[d+12>>2];break b}if((c|0)!=(g|0)){break a}}e=v[b+8>>2];g=v[b>>2];if((c|0)>=1){c=0;while(1){a=(d+16|0)+B(c,12)|0;v[b>>2]=v[a>>2];v[b+8>>2]=v[a+4>>2];a=Ub[v[b+40>>2]](b,0)|0;h=c<<2;v[h+v[f+136>>2]>>2]=a;v[v[f+140>>2]+h>>2]=a;c=c+1|0;if((c|0)>2]){continue}break}}v[b+8>>2]=e;v[b>>2]=g;e=0}v[b+12>>2]=e;Qb=d+208|0}function Dca(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;if(w[a+11|0]>>>7|0){c=v[a+4>>2]}else{c=w[a+11|0]}a:{if(c>>>0>>0){d=Qb-16|0;Qb=d;e=b-c|0;if(e){c=w[a+11|0]>>>7|0?(v[a+8>>2]&2147483647)-1|0:10;if(w[a+11|0]>>>7|0){b=v[a+4>>2]}else{b=w[a+11|0]}f=b+e|0;if(c-b>>>0>>0){WB(a,c,f-c|0,b,b)}c=b;if(w[a+11|0]>>>7|0){b=v[a>>2]}else{b=a}kL(c+b|0,e,0);b:{if(w[a+11|0]>>>7|0){v[a+4>>2]=f;break b}t[a+11|0]=f}t[d+15|0]=0;t[b+f|0]=w[d+15|0]}break a}d=Qb-16|0;Qb=d;c:{if(w[a+11|0]>>>7|0){c=v[a>>2];t[d+15|0]=0;t[b+c|0]=w[d+15|0];v[a+4>>2]=b;break c}t[d+14|0]=0;t[a+b|0]=w[d+14|0];t[a+11|0]=b}}Qb=d+16|0}function GBa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;f=Qb-640|0;Qb=f;h=v[a+12>>2];i=Ub[v[v[h>>2]+28>>2]](h)|0;e=v[a+12>>2];Ub[v[v[e>>2]+36>>2]](e,f+384|0,f+128|0,v[a+16>>2]);g=+v[b>>2]*152587890625e-16+.5;a:{if(D(g)<2147483648){e=~~g;break a}e=-2147483648}if((i|0)>=1){b=0;j=v[a+20>>2];a=v[a+16>>2];e=j+B((e|0)<0?0:(a|0)<(e|0)?a:e,i)|0;while(1){j=(b<<2)+f|0;a=b<<3;g=(A[a+(f+384|0)>>3]+A[a+(f+128|0)>>3]*(+w[b+e|0]/255))*65536;b:{if(D(g)<2147483648){a=~~g;break b}a=-2147483648}v[j>>2]=a;b=b+1|0;if((i|0)!=(b|0)){continue}break}}Ub[v[v[h>>2]+16>>2]](h,f,c,d);Qb=f+640|0}function FBa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;f=Qb-640|0;Qb=f;h=v[a+12>>2];i=Ub[v[v[h>>2]+28>>2]](h)|0;e=v[a+12>>2];Ub[v[v[e>>2]+36>>2]](e,f+384|0,f+128|0,v[a+16>>2]);g=+v[b>>2]*152587890625e-16+.5;a:{if(D(g)<2147483648){e=~~g;break a}e=-2147483648}if((i|0)>=1){b=0;j=v[a+20>>2];a=v[a+16>>2];e=j+B((e|0)<0?0:(a|0)<(e|0)?a:e,i)|0;while(1){j=(b<<2)+f|0;a=b<<3;g=(A[a+(f+384|0)>>3]+A[a+(f+128|0)>>3]*(+w[b+e|0]/255))*65536;b:{if(D(g)<2147483648){a=~~g;break b}a=-2147483648}v[j>>2]=a;b=b+1|0;if((i|0)!=(b|0)){continue}break}}Ub[v[v[h>>2]+20>>2]](h,f,c,d);Qb=f+640|0}function EBa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;f=Qb-640|0;Qb=f;h=v[a+12>>2];i=Ub[v[v[h>>2]+28>>2]](h)|0;e=v[a+12>>2];Ub[v[v[e>>2]+36>>2]](e,f+384|0,f+128|0,v[a+16>>2]);g=+v[b>>2]*152587890625e-16+.5;a:{if(D(g)<2147483648){e=~~g;break a}e=-2147483648}if((i|0)>=1){b=0;j=v[a+20>>2];a=v[a+16>>2];e=j+B((e|0)<0?0:(a|0)<(e|0)?a:e,i)|0;while(1){j=(b<<2)+f|0;a=b<<3;g=(A[a+(f+384|0)>>3]+A[a+(f+128|0)>>3]*(+w[b+e|0]/255))*65536;b:{if(D(g)<2147483648){a=~~g;break b}a=-2147483648}v[j>>2]=a;b=b+1|0;if((i|0)!=(b|0)){continue}break}}Ub[v[v[h>>2]+24>>2]](h,f,c,d);Qb=f+640|0}function zJa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;g=Qb-16|0;Qb=g;a:{if(!a){break a}f=v[a+8>>2];if(!f){break a}e=v[f+12>>2];b:{if(e){while(1){if(v[e+4>>2]==14){break b}e=v[e+24>>2];if(e){continue}break}}e=v[f+44>>2]}if(e){if(v[a+32>>2]){break a}Yi(e);bq(e);f=v[a+8>>2];v[f+44>>2]=0}b=nV(f,b,c,d);v[v[a+8>>2]+44>>2]=b;if(b){break a}v[a+84>>2]=2;c=v[a>>2];b=0;c:{if(!c){break c}b=0;if(v[c+108>>2]!=-554844497){break c}b=v[c+124>>2]}c=v[a+108>>2];d=v[a+112>>2];v[g+4>>2]=0;v[g>>2]=347702;oc(b,d,c,a,0,1,2,2,347702,0,0,0,233309,g);v[a+212>>2]=1;v[a+172>>2]=-1;v[a+84>>2]=2}Qb=g+16|0}function yK(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=Qb-48|0;Qb=c;a:{b:{c:{d:{e:{e=v[a+584>>2];b=v[e>>2];switch(b-1|0){case 0:break a;case 2:break d;case 1:break e;default:break c}}d=x[a+84>>1];b=d-8|0;if(1<>>0<=24:0){break b}a=v[a+628>>2];v[c+16>>2]=d;zc(a,187951,31404,c+16|0);b=0;break a}d=x[a+86>>1];if((d|0)==3){break b}a=v[a+628>>2];v[c+32>>2]=d;zc(a,187951,32849,c+32|0);b=0;break a}a=v[a+628>>2];v[c>>2]=b;zc(a,187951,34839,c);b=0;break a}b=1;v[e+4>>2]=x[a+138>>1]==1?x[a+98>>1]:1;f:{if(w[a+13|0]&4){f=e,g=Ll(a),v[f+8>>2]=g;break f}f=e,g=Di(a),v[f+8>>2]=g}}Qb=c+48|0;return b}function Yd(a,b){var c=0,d=0,e=0,f=0;if((b|0)>-1){a:{if(!b){break a}e=v[a+12>>2];if(!e){e=jc(4096);v[a+12>>2]=e;if(!e){break a}}c=v[a+16>>2];f=v[a+20>>2];d=c-f|0;b:{if((d|0)<1){d=0;break b}if((b|0)<(d|0)){d=0;break b}v[a+20>>2]=c;b=b-d|0;f=c}c:{if((b|0)>=4097){Ub[v[v[a+8>>2]+4>>2]](v[a+4>>2],b,1)|0;v[a+20>>2]=v[a+16>>2];d=b+d|0;break c}if((c|0)==(f|0)){if((b|0)<1){break c}c=Ub[v[v[a+8>>2]+8>>2]](v[a+4>>2],e,1,4096)|0;v[a+16>>2]=c;b=(b|0)>(c|0)?c:b;v[a+20>>2]=b;d=b+d|0;break c}c=c-f|0;b=(b|0)>(c|0)?c:b;v[a+20>>2]=b+f;d=b+d|0}v[a+28>>2]=v[a+28>>2]+d}return}X(3764,6824,122,193478);L()}function $Ua(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,h=0;e=1;if(!(!v[a+16>>2]|!v[a+20>>2])){kq(a);f=v[a+20>>2];g=A[c>>3];h=A[d>>3];c=Qb+-64|0;Qb=c;a=v[a+12>>2];if(a){v[c+60>>2]=v[b>>2];v[c+48>>2]=0;v[c+52>>2]=1072693248;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=0;v[c+28>>2]=1072693248;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;b=c+48|0;d=c+40|0;e=c+32|0;Ub[v[v[a>>2]+120>>2]](a,b,d,e,c+24|0,c+16|0,c+8|0)|0;v[c+48>>2]=1;z[c+40>>2]=g;z[c+32>>2]=h;Ub[v[v[a>>2]+88>>2]](a,c+60|0,b,d,e)|0;Ub[v[v[a>>2]+128>>2]](a,f)|0}Qb=c- -64|0;e=0}return e|0}function ota(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=Qb-16|0;Qb=b;a:{b:{c=a;if(!w[a+8|0]){break b}c=v[c>>2];if(c){break b}c=0;break a}c=v[c>>2]}c:{d=v[a+4>>2];if(d>>>0<1073741808){d:{e:{if(d>>>0>=2){e=d+4&-4;a=fc(e<<2);v[b+8>>2]=e|-2147483648;v[b>>2]=a;v[b+4>>2]=d;break e}t[b+11|0]=d;a=b;if(!d){break d}}v[299999]=0;tc(a,c,d);c=v[299999];v[299999]=0;if((c|0)==1){break c}}v[(d<<2)+a>>2]=0;v[299999]=0;f=+Ma(4305,b|0,0);a=v[299999];v[299999]=0;if((a|0)!=1){if(t[b+11|0]<=-1){dc(v[b>>2])}Qb=b+16|0;return+f}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}T(a|0);L()}$d(b);L()}W(0)|0;O()|0;lc();L()}function NU(a){a=a|0;var b=0,c=0;if(a){b=v[a+32>>2];if(b){b=v[b+80>>2]}else{b=0}Yi(a);c=v[a+52>>2];if(c){Hj(c)}c=v[a+60>>2];a:{if(b){b:{if(!c){break b}if(Kj(b,c)){break b}Ub[v[259708]](v[a+60>>2])}c=v[a+8>>2];c:{if(!c){break c}if(Kj(b,c)){break c}Ub[v[259708]](v[a+8>>2])}c=v[a+56>>2];d:{if(!c){break d}if(Kj(b,c)){break d}Ub[v[259708]](v[a+56>>2])}c=v[a+48>>2];if(!c){break a}if(Kj(b,c)){break a}Ub[v[259708]](v[a+48>>2]);break a}if(c){Ub[v[259708]](c)}b=v[a+8>>2];if(b){Ub[v[259708]](b)}b=v[a+48>>2];if(b){Ub[v[259708]](b)}b=v[a+56>>2];if(!b){break a}Ub[v[259708]](b)}Ub[v[259708]](a)}}function Isa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=Qb-16|0;Qb=d;e=yo(d+8|0,A[b>>3],A[b+8>>3],A[b+16>>3],A[b+24>>3],A[b+32>>3],A[b+40>>3]);v[299999]=0;Pj(a,e,0);b=v[299999];v[299999]=0;a:{b:{c:{if((b|0)==1){break c}v[299999]=0;b=S(1,12)|0;c=v[299999];v[299999]=0;if((c|0)==1){break c}v[b>>2]=0;v[299999]=0;Q(2369,b+8|0,a|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=P()|0;O()|0;dc(b);break b}v[b+4>>2]=a+4;c=v[a+4>>2];v[b>>2]=c;v[c+4>>2]=b;v[a+4>>2]=b;v[a+12>>2]=v[a+12>>2]+1;v[299999]=0;R(4314,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break a}}a=P()|0;O()|0}Cd(e);T(a|0);L()}Cd(e);Qb=d+16|0}function h9a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{if(w[a+286|0]|!w[a+285|0]|(w[a+287|0]|w[a+288|0])){break a}if(w[a+289|0]){break a}b:{switch(c|0){default:pc(a,1028,0,0);return 1028;case 0:case 9:break b}}c:{d:{if(!w[a+112|0]){break d}a=Ub[v[b+4>>2]](a,b,e)|0;if(a){break c}a=v[e>>2];b=!c;t[a+32|0]=b;if(b){break d}b=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);v[a+36>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);b=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);v[a+40>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);t[a+44|0]=w[d+8|0]}a=0}return a|0}pc(a,1029,0,0);return 1029}function P0a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;u[a+64>>1]=256;v[a+8>>2]=d;v[a+4>>2]=b;v[a>>2]=v[b+100>>2];a:{if(!d){break a}b=v[v[d+156>>2]>>2];v[a+12>>2]=b;v[a+20>>2]=b+56;v[a+16>>2]=b+20;Fo(b);v[a+68>>2]=0;v[a+72>>2]=0;if(!e|!c){break a}b=v[v[c+40>>2]>>2];if(!b){break a}v[a+72>>2]=v[b>>2];v[a+68>>2]=v[v[d+156>>2]+36>>2]}v[a+24>>2]=0;v[a+28>>2]=0;v[a+40>>2]=0;v[a+44>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;b=v[95524];v[a+76>>2]=v[95523];v[a+80>>2]=b;b=v[95526];v[a+84>>2]=v[95525];v[a+88>>2]=b;b=v[95528];v[a+92>>2]=v[95527];v[a+96>>2]=b;b=v[95530];v[a+100>>2]=v[95529];v[a+104>>2]=b}function g7(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;if((c|0)>=1){g=v[a+12>>2];while(1){i=c;c=c-1|0;j=g;f=u[b>>1];d=0;a:{if((f|0)<1){break a}d=1023;if((f|0)>7409){break a}d=f-3314>>2;if(!v[a+4>>2]){break a}d=Bib(v[299450],v[299451],1284865837,1481765933)+1|0;e=Tb;e=d>>>0<1?e+1|0:e;v[299450]=d;v[299451]=e;h=(+(f|0)+-3314)*.25+ +(e>>>1|0)*4.656612875245797e-10+-.5;if(D(h)<2147483648){d=~~h;break a}d=-2147483648}e=lM((+u[b+2>>1]+.5)*30517578125e-15,(+u[b+4>>1]+.5)*30517578125e-15,v[a+4>>2]);v[j>>2]=d<<14|((e|0)<0?12266:e);b=b+6|0;g=g+4|0;if((i|0)>1){continue}break}}}function b0a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=Qb-128|0;Qb=f;if((c|0)>=1){k=(B((b|0)!=0,36)+a|0)+16|0;while(1){i=(c|0)<16?c:16;g=i<<1;b=0;while(1){h=b<<2;j=v[h+d>>2]+j|0;e=j;v[f+h>>2]=((e+(e>>31)|0)+32768&-65536)>>16;b=b+1|0;if((g|0)!=(b|0)){continue}break}b=0;while(1){e=b<<2;h=(e|4)+f|0;v[h>>2]=v[h>>2]-v[e+f>>2];b=b+2|0;if((g|0)>(b|0)){continue}break}a:{if(v[a+4>>2]){break a}b=f;g=i;while(1){e=uv(k,v[b>>2],v[b+4>>2],v[a>>2],0);if(e){v[a+4>>2]=e;break a}b=b+8|0;e=(g|0)>1;g=g-1|0;if(e){continue}break}}c=c-i|0;if((c|0)>0){continue}break}}Qb=f+128|0}function Eta(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;f=v[b+4>>2];a:{b:{if(f){g=b+4|0;while(1){e=f+16|0;c:{if(Sl(c,e)){e=v[f>>2];if(e){break c}break b}if(!Sl(e,c)){break a}g=f+4|0;e=v[f+4>>2];if(!e){break a}f=g}g=f;f=e;continue}}f=b+4|0}g=f}d:{h=a;e=v[g>>2];if(e){b=0}else{e=fc(32);v[299999]=0;Yk(e+16|0,d);c=v[299999];v[299999]=0;if((c|0)==1){break d}c=v[d+12>>2];v[e+8>>2]=f;v[e>>2]=0;v[e+4>>2]=0;v[e+28>>2]=c;v[g>>2]=e;c=v[v[b>>2]>>2];if(c){v[b>>2]=c;c=v[g>>2]}else{c=e}Uc(v[b+4>>2],c);v[b+8>>2]=v[b+8>>2]+1;b=1}t[h+4|0]=b;v[a>>2]=e;return}a=P()|0;O()|0;dc(e);T(a|0);L()}function yra(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Qb-32|0;Qb=c;b=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);t[c+4|0]=b;t[c+5|0]=b>>>8;t[c+6|0]=b>>>16;t[c+7|0]=b>>>24;b=0;d=4;f=c+4|0;a:{b:{while(1){e=Ub[v[v[a>>2]+12>>2]](a,f,d)|0;if(!e){a=vc(c+8|0,237882,241835,474,338919,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}f=f+e|0;b=b+e|0;d=d-e|0;if(d){continue}break}if((b|0)!=4){a=vc(c+8|0,ck(v[299402]),241835,547,336912,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}Qb=c+32|0;return}L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function w_(a){var b=0,c=0,d=0;b=Qb-16|0;Qb=b;d=Yc(a,0);a:{if(d){break a}d=Lf(a,b+8|0,4);if(d){break a}d=3;if(w[b+8|0]!=31|w[b+9|0]!=139|(w[b+10|0]!=8|w[b+11|0]>31)){break a}d=Bf(a,6);v[b+12>>2]=d;c=w[b+11|0];if(c&4){c=E_(a,b+12|0);d=v[b+12>>2];if(d){break a}d=Bf(a,c);v[b+12>>2]=d;if(d){break a}d=0;c=w[b+11|0]}if(c&8){while(1){c=dg(a,b+12|0)?0:3;d=v[b+12>>2];c=d?2:c;if(!c){continue}break}if((c|0)!=3){break a}c=w[b+11|0]}if(c&16){while(1){c=dg(a,b+12|0)?0:5;d=v[b+12>>2];c=d?2:c;if(!c){continue}break}if((c|0)!=5){break a}c=w[b+11|0]}if(!(c&2)){break a}d=Bf(a,2)}Qb=b+16|0;return d}function sK(a,b){var c=0,d=0,e=0;a:{if((b|0)<=-1){b=v[282725];if((b|0)<1){break a}c=1130912;b:{while(1){e=v[c+24>>2];if(e){if(!(Ub[e|0](a)|0)){break b}b=v[282725]}c=c+28|0;d=d+1|0;if((d|0)<(b|0)){continue}break}return 0}b=v[c>>2];if((b|0)<0){break a}}d=0;e=v[282725];if((e|0)<1){break a}c=1130912;c:{while(1){if(v[c>>2]==(b|0)){break c}c=c+28|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}return 0}b=v[c+16>>2];if(!b){break a}a=Ub[b|0](a,0)|0;if(!a){break a}b=v[a+28>>2];if(b&16384){return a}if(!(b&255)){return a}if(v[a+32>>2]){return a}b=oK(b);v[a+32>>2]=b;if(b){return a}Wg(a)}return 0}function a9a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(!(w[a+288|0]?w[a+285|0]:0)){pc(a,1029,0,0);return 1029}if(c){pc(a,1028,0,0);return 1028}c=0;a:{if(!w[a+114|0]){break a}c=Ub[v[a+152>>2]](28)|0;if(!c){pc(a,1,0,0);c=1;break a}v[c+4>>2]=741;v[c>>2]=742;d=v[a+700>>2];b:{if(d){v[d+8>>2]=c;break b}v[a+696>>2]=c}v[c+8>>2]=0;v[c+12>>2]=d;v[a+700>>2]=c;v[c+16>>2]=v[a+436>>2];v[c+20>>2]=v[a+440>>2];v[c+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=c}c=0}c:{if(c){break c}t[a+2252|0]=1;if(w[a+112|0]){c=Ub[v[b+4>>2]](a,b,e)|0;if(c){break c}}c=0}return c|0}function _8a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(!(w[a+288|0]?w[a+285|0]:0)){pc(a,1029,0,0);return 1029}if(c){pc(a,1028,0,0);return 1028}c=0;a:{if(!w[a+114|0]){break a}c=Ub[v[a+152>>2]](28)|0;if(!c){pc(a,1,0,0);c=1;break a}v[c+4>>2]=743;v[c>>2]=744;d=v[a+700>>2];b:{if(d){v[d+8>>2]=c;break b}v[a+696>>2]=c}v[c+8>>2]=0;v[c+12>>2]=d;v[a+700>>2]=c;v[c+16>>2]=v[a+436>>2];v[c+20>>2]=v[a+440>>2];v[c+24>>2]=v[a+444>>2];if(!(v[a+516>>2]|(w[a+496|0]|!w[a+432|0]))){v[a+516>>2]=c}c=0}c:{if(c){break c}t[a+2252|0]=2;if(w[a+112|0]){c=Ub[v[b+4>>2]](a,b,e)|0;if(c){break c}}c=0}return c|0}function WM(a){var b=0,c=0;a:{b=v[a+4>>2];b:{if(!v[(v[v[b>>2]-12>>2]+b|0)+24>>2]){break b}b=v[a+4>>2];if(v[(v[v[b>>2]-12>>2]+b|0)+16>>2]){break b}b=v[a+4>>2];if(!(v[(v[v[b>>2]-12>>2]+b|0)+4>>2]&8192)){break b}if(eN()){break b}b=v[a+4>>2];b=v[(v[v[b>>2]-12>>2]+b|0)+24>>2];v[299999]=0;b=S(5468,b|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){if((b|0)!=-1){break b}a=v[a+4>>2];b=v[v[a>>2]-12>>2];v[299999]=0;V(5469,a+b|0,1);a=v[299999];v[299999]=0;if((a|0)!=1){break b}}a=W(0)|0;O()|0;ea(a|0)|0;v[299999]=0;ba(4230);a=v[299999];v[299999]=0;if((a|0)==1){break a}}return}W(0)|0;O()|0;lc();L()}function V8a(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;a:{if(w[a+285|0]|w[a+286|0]|(w[a+287|0]|w[a+288|0])){break a}if(w[a+289|0]){break a}pc(a,1029,0,0);return 1029}f=v[a+268>>2];if(!(f&536870912)){pc(a,1061,0,0);return 1061}b:{g=v[a+212>>2];if(!g){break b}if(Ub[g|0](a,f,c,d)|0){break b}pc(a,904,0,0);return 904}f=0;c:{if(!w[a+112|0]){break c}f=Ub[v[b+4>>2]](a,b,e)|0;if(f){break c}f=v[a+268>>2];b=v[e>>2];v[b+32>>2]=c;v[b>>2]=f;if(!c){v[b+36>>2]=0;return 0}b=Ub[v[a+152>>2]](c)|0;v[v[e>>2]+36>>2]=b;b=v[v[e>>2]+36>>2];if(!b){pc(a,1,0,0);return 1}gc(b,d,c);f=0}return f|0}function J$a(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,h=0;b=v[a+4>>2];g=b+c|0;b=0-b|0;f=g-1&b;b=b&d;if((x[e+12>>1]&7)!=2){b=v[a+20>>2]<(d-g|0)?b:(c|0)==(f|0)?b:(b|0)==(d|0)?b:f}c=v[a>>2];b=b>>c;a:{if((b|0)<0){break a}c=f>>c;d=x[a+52>>1];if((c|0)>=(d|0)){break a}d=(b|0)<(d|0)?b:d-1|0;b=-128>>(d&7);g=(c|0)>0?c:0;c=g<<13>>16;e=v[a+56>>2];f=v[a+140>>2];a=c+(e+f|0)|0;g=255>>>(g&7)|0;h=d<<13>>16;d=h-c|0;b:{if((d|0)>=1){t[a|0]=g|w[a|0];if((d|0)!=1){a=(d|0)<2?d:2;ic((e+(c+f|0)|0)+1|0,255,(h-(a+c|0)|0)+1|0);a=(e+((f+h|0)-a|0)|0)+1|0}a=a+1|0;break b}b=b&g}t[a|0]=w[a|0]|b}}function Coa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a:{if((c|0)<1){break a}c=c-1|0;if(!d){while(1){d=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=d;kj(a+8|0,b+8|0);b=b+44|0;a=a+44|0;d=(c|0)>0;c=c-1|0;if(d){continue}break a}}while(1){d=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=d;kj(a+8|0,b+8|0);v[b+32>>2]=981312;v[b+8>>2]=981280;d=v[b+36>>2];if(d){e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(!e){Ub[v[v[d>>2]+4>>2]](d)}v[b+36>>2]=0}v[b+24>>2]=981312;d=v[b+28>>2];if(d){e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(!e){Ub[v[v[d>>2]+4>>2]](d)}v[b+28>>2]=0}ec(b+16|0);b=b+44|0;a=a+44|0;d=(c|0)>0;c=c-1|0;if(d){continue}break}}}function Rx(a){var b=0,c=0,d=0,e=0;c=Qb-16|0;Qb=c;v[a+744>>2]=33;yf(a,c+8|0,8);a:{b=w[c+8|0]|w[c+9|0]<<8|(w[c+10|0]<<16|w[c+11|0]<<24);e=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);if((e|0)>-1){b=w[c+12|0]|w[c+13|0]<<8|(w[c+14|0]<<16|w[c+15|0]<<24);v[a+348>>2]=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);_f(a);kd(a,c+12|0,4);b=v[a+348>>2];d=b&255;if(d-65>>>0>57|d-91>>>0<=5){break a}d=b>>>8&255;if(d-65>>>0>57|d-91>>>0<6){break a}d=b>>>16&255;if(d-65>>>0>57|d-91>>>0<6){break a}b=b>>>24|0;if(b-65>>>0>57|b-91>>>0<6){break a}v[a+744>>2]=65;Qb=c+16|0;return e}hd(a,2354);L()}bu(a,75582);L()}function Gz(a){var b=0,c=0,d=0,e=0;c=v[a+20>>2]-1|0;if((c|0)>=0){while(1){b=v[(v[v[a+32>>2]+(c>>>4&268435452)>>2]+((c&63)<<3)|0)+4>>2];if(b){dc(b)}c=c-1|0;if((c|0)>-1){continue}break}}v[a>>2]=0;v[a+20>>2]=0;b=v[a+24>>2];if(b){c=b-1|0;v[a+24>>2]=c;d=v[a+32>>2]+(b<<2)|0;while(1){e=a;d=d-4|0;b=v[d>>2];if(b){dc(b);c=v[a+24>>2]}b=c;c=b-1|0;v[e+24>>2]=c;if(b){continue}break}}c=v[a+32>>2];if(c){dc(c)}b=v[a+4>>2];if(b){c=b-1|0;v[a+4>>2]=c;d=v[a+12>>2]+(b<<2)|0;while(1){e=a;d=d-4|0;b=v[d>>2];if(b){dc(b);c=v[a+4>>2]}b=c;c=b-1|0;v[e+4>>2]=c;if(b){continue}break}}a=v[a+12>>2];if(a){dc(a)}}function w4(a,b){a=a|0;b=b|0;if(!((b|0)!=8&(b|0)!=32946)){if(!Kl(a,88368,1)){zc(v[a+628>>2],88346,10455,0);return 0}b=jc(136);v[a+584>>2]=b;if(b){v[b+96>>2]=0;v[b+100>>2]=0;v[b+104>>2]=0;v[b+108>>2]=0;v[b+128>>2]=v[a+672>>2];v[a+672>>2]=566;v[b+132>>2]=v[a+668>>2];v[a+668>>2]=567;v[b+120>>2]=-1;v[b+124>>2]=0;v[a+524>>2]=568;v[a+532>>2]=569;v[a+536>>2]=570;v[a+544>>2]=571;v[a+552>>2]=571;v[a+560>>2]=571;v[a+572>>2]=572;v[a+520>>2]=573;v[a+540>>2]=574;v[a+548>>2]=574;v[a+556>>2]=574;v[a+516>>2]=575;xB(a);return 1}zc(v[a+628>>2],88346,13195,0);return 0}X(3921,6646,349,88346);L()}function r6(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,h=0,i=0,j=0,k=0,l=0;if(Oi(a,v[b+8>>2],f)){GB(b,c,d,e);return}h=w[b+53|0];g=v[a+12>>2];t[b+53|0]=0;i=w[b+52|0];t[b+52|0]=0;j=a+16|0;FB(j,b,c,d,e,f);k=w[b+53|0];h=h|k;l=w[b+52|0];i=i|l;a:{if((g|0)<2){break a}j=j+(g<<3)|0;g=a+24|0;while(1){if(w[b+54|0]){break a}b:{if(l){if(v[b+24>>2]==1){break a}if(w[a+8|0]&2){break b}break a}if(!k){break b}if(!(t[a+8|0]&1)){break a}}u[b+52>>1]=0;FB(g,b,c,d,e,f);k=w[b+53|0];h=k|h;l=w[b+52|0];i=l|i;g=g+8|0;if(j>>>0>g>>>0){continue}break}}t[b+53|0]=(h&255)!=0;t[b+52|0]=(i&255)!=0}function JD(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=Qb-32|0;Qb=b;d=4;e=b+4|0;a:{b:{while(1){c=Ub[v[v[a>>2]+8>>2]](a,e,d)|0;if((c|0)<=-1){a=vc(b+8|0,ck(v[299402]),241835,413,338777,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}f=c+f|0;if(c){e=c+e|0;d=d-c|0;if(d){continue}}break}if((f|0)!=4){a=vc(b+8|0,v[282394],241835,582,342709,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}Qb=b+32|0;a=w[b+4|0]|w[b+5|0]<<8|(w[b+6|0]<<16|w[b+7|0]<<24);return a<<8&16711680|a<<24|(a>>>8&65280|a>>>24)}L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function ED(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;a:{if((c|0)<1){break a}e=c-1|0;d=c&3;if(d){while(1){f=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=f;v[a+8>>2]=v[b+8>>2];b=b+12|0;a=a+12|0;c=c-1|0;d=d-1|0;if(d){continue}break}}if(e>>>0<3){break a}while(1){d=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=d;v[a+8>>2]=v[b+8>>2];v[a+20>>2]=v[b+20>>2];d=v[b+16>>2];v[a+12>>2]=v[b+12>>2];v[a+16>>2]=d;v[a+32>>2]=v[b+32>>2];d=v[b+28>>2];v[a+24>>2]=v[b+24>>2];v[a+28>>2]=d;d=v[b+40>>2];v[a+36>>2]=v[b+36>>2];v[a+40>>2]=d;v[a+44>>2]=v[b+44>>2];b=b+48|0;a=a+48|0;d=(c|0)>4;c=c-4|0;if(d){continue}break}}}function bQ(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;h=Qb-32|0;Qb=h;a:{if((c|0)<=-1){a=vc(h+8|0,268236,241879,610,225942,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}b=P()|0;O()|0;qc(a);T(b|0);L()}a=v[a+12>>2];b:{if(!a){break b}f=b+c|0;while(1){if((d|0)>=(f|0)){break b}i=v[a+8>>2];g=i>>31;j=d;g=g^g+i;d=d+g|0;c:{if((i|0)<1){break c}if((b|0)>(j|0)){if(!((b|0)>(d|0)|(d|0)>=(f|0))){e=(e-b|0)+d|0;break c}e=((d|0)<(f|0)?0:c)+e|0;break c}if((d|0)<=(f|0)){e=e+g|0;break c}e=(e+f|0)-j|0}a=v[a>>2];if(a){continue}break}}Qb=h+32|0;return e|0}L()}function _s(a,b){var c=0,d=0,e=0;c=-1;a:{d=v[a+8>>2];b:{if(d&7){break b}c=v[a+64>>2];if(!((c|0)<0|(c|0)>v[a+60>>2])){break a}c=-1;e=v[a+28>>2];v[a+28>>2]=e-1;c:{if((e|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;e=w[c|0];break c}e=Hc(a,1);if((e|0)==-1){break b}d=v[a+8>>2]}c=-1;if(d&7){break b}c=v[a+64>>2];if(!((c|0)<0|(c|0)>v[a+60>>2])){break a}c=-1;d=v[a+28>>2];v[a+28>>2]=d-1;d:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=a;a=v[a+24>>2];v[c+24>>2]=a+1;a=w[a|0];break d}a=Hc(a,1);if((a|0)==-1){break b}}c=0;if(!b){break b}v[b>>2]=a<<8|e}return c}v[a+8>>2]=d|4;return-1}function ZYa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=u[a+302>>1];if(f){a:{b:{c:{switch(v[v[v[a>>2]+96>>2]+64>>2]-35|0){case 5:if(w[a+615|0]){break a}g=b+16|0;e=v[b+16>>2]+(c<<3)|0;break b;case 0:break c;default:break a}}g=b+16|0;e=v[b+16>>2]+(c<<3)|0}e=v[e>>2];f=jd(d,f,v[a+568>>2]);v[v[g>>2]+(c<<3)>>2]=f+e}e=v[b+24>>2]+c|0;t[e|0]=w[e|0]|8}e=u[a+304>>1];if(e){d:{if(!(!w[a+616|0]|(!w[a+615|0]|v[v[v[a>>2]+96>>2]+64>>2]!=40))){if(w[a+617|0]){break d}}g=c<<3;f=v[(g+v[b+16>>2]|0)+4>>2];a=jd(d,e,v[a+568>>2]);v[(g+v[b+16>>2]|0)+4>>2]=a+f}a=v[b+24>>2]+c|0;t[a|0]=w[a|0]|16}}function PK(a,b,c){var d=0,e=0,f=0;d=v[a+584>>2];while(1){a:{f=Oq(b,e,c);Nq(a,f,84448);e=e+f|0;if(e>>>0>=c>>>0){break a}f=Mq(b,e,c);Nq(a,f,85104);e=e+f|0;if(e>>>0>>0){continue}}break}b=v[d+4>>2];b:{if(!(b&12)){break b}if(v[d+68>>2]!=8){if(v[a+608>>2]>=v[a+600>>2]){Ae(a)}b=v[d+64>>2];c=v[a+604>>2];v[a+604>>2]=c+1;t[c|0]=b;v[a+608>>2]=v[a+608>>2]+1;v[d+64>>2]=0;v[d+68>>2]=8;b=v[d+4>>2]}if(!(b&8)){break b}c=v[a+604>>2];if(!(c&1)){break b}if(v[a+608>>2]>=v[a+600>>2]){Ae(a);c=v[a+604>>2]}b=v[d+64>>2];v[a+604>>2]=c+1;t[c|0]=b;v[a+608>>2]=v[a+608>>2]+1;v[d+64>>2]=0;v[d+68>>2]=8}}function Of(a,b){var c=0,d=0,e=0;c=-1;a:{d=v[a+8>>2];b:{if(d&7){break b}c=v[a+64>>2];if(!((c|0)<0|(c|0)>v[a+60>>2])){break a}c=-1;e=v[a+28>>2];v[a+28>>2]=e-1;c:{if((e|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;e=w[c|0];break c}e=Hc(a,1);if((e|0)==-1){break b}d=v[a+8>>2]}c=-1;if(d&7){break b}c=v[a+64>>2];if(!((c|0)<0|(c|0)>v[a+60>>2])){break a}c=-1;d=v[a+28>>2];v[a+28>>2]=d-1;d:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=a;a=v[a+24>>2];v[c+24>>2]=a+1;a=w[a|0];break d}a=Hc(a,1);if((a|0)==-1){break b}}c=0;if(!b){break b}v[b>>2]=e<<8|a}return c}v[a+8>>2]=d|4;return-1}function Kt(a,b,c){var d=0,e=0,f=0;a:{b:{c:{d=v[b>>2];if(!d){if(v[b+8>>2]<1){break b}c=0;if(a){break c}while(1){Zc(0,v[v[b+16>>2]+(c<<2)>>2]);c=c+1|0;if((c|0)>2]){continue}break}break b}if(!a|!c){break a}ld(a,d,c);kd(a,d,c);return}while(1){f=c<<2;d=v[f+v[b+16>>2]>>2];d:{if(!d){break d}e=v[a+272>>2];if(!e){break d}ld(a,d,e);kd(a,d,e);d=v[v[b+16>>2]+f>>2]}Zc(a,d);c=c+1|0;if((c|0)>2]){continue}break}}if(v[b+12>>2]){Zc(a,v[b+16>>2])}c=v[a+272>>2];d=v[a+228>>2];e:{if(c>>>0<=d>>>0){break e}b=v[a+268>>2];if(!b){break e}c=c-d|0;if(!c){break e}ld(a,b,c);kd(a,b,c)}LP(a)}}function dFa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Qb-48|0;Qb=d;v[d+32>>2]=13;v[d+16>>2]=13;v[d>>2]=13;v[a+4>>2]=-1;v[a>>2]=b+1;e=v[rc(c,311953,d+32|0,0)>>2];b=fc(12);a:{if((e|0)==3){v[299999]=0;Q(3316,b|0,v[d+40>>2])|0;break a}v[299999]=0;v[b+8>>2]=0;v[b>>2]=0;v[b+4>>2]=0}e=v[299999];v[299999]=0;if((e|0)==1){a=P()|0;O()|0;dc(b);T(a|0);L()}v[a+8>>2]=b;hc(d+32|0);t[a+16|0]=0;b:{if(v[rc(c,310906,d+16|0,0)>>2]!=4){break b}b=v[d+24>>2];if((Bc(b)|0)!=1){break b}t[a+16|0]=w[b|0]}hc(d+16|0);v[a+12>>2]=1;if(v[rc(c,234176,d,0)>>2]==1){v[a+12>>2]=v[d+8>>2]}hc(d);Qb=d+48|0;return a|0}function Wj(a){var b=0,c=0,d=0,e=0,f=0;c=v[a+2564>>2];d=v[a+2552>>2];a:{if(c>>>0>=d>>>0){break a}e=v[a+2556>>2];if(e>>>0<=c>>>0){break a}f=v[a+572>>2];d=d>>>0>e>>>0?e:d;if(d>>>0>c>>>0){while(1){v[a+572>>2]=c;b=Ub[v[a+980>>2]](a)|0;if(b){break a}b=v[a+976>>2];if(b){b=Ub[b|0](a)|0;if(b){break a}}b=Ub[v[a+968>>2]](a)|0;if(b){break a}b:{if(!w[a+115|0]|v[a+12>>2]==2&y[a+320>>2]<301){break b}b=v[a+680>>2];if(v[a+516>>2]|(v[a+684>>2]-b|0)<51|((b+v[a+572>>2]|0)-v[a+664>>2]|0)%20){break b}t[a+502|0]=1}c=c+1|0;if((d|0)!=(c|0)){continue}break}}v[a+572>>2]=f;v[a+2564>>2]=d;b=0}return b}function Nsa(a){a=a|0;var b=0,c=0,d=0,e=0;b=Qb-16|0;Qb=b;a:{b:{c:{if(!w[a+8|0]){break c}a=v[a>>2];if(a){break c}d=0;break b}d=v[a>>2]}c=ve(d);if(c>>>0<1073741808){d:{e:{if(c>>>0>=2){e=c+4&-4;a=fc(e<<2);v[b+8>>2]=e|-2147483648;v[b>>2]=a;v[b+4>>2]=c;break e}t[b+11|0]=c;a=b;if(!c){break d}}v[299999]=0;tc(a,d,c);d=v[299999];v[299999]=0;if((d|0)==1){break a}}v[(c<<2)+a>>2]=0;v[299999]=0;d=Y(4306,b|0,0,10)|0;a=v[299999];v[299999]=0;if((a|0)!=1){if(t[b+11|0]<=-1){dc(v[b>>2])}Qb=b+16|0;return d|0}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}T(a|0);L()}$d(b);L()}W(0)|0;O()|0;lc();L()}function zz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=a+4|0;a=v[a+4>>2];a:{b:{if(!a){break b}d=w[b+11|0];c=d<<24>>24<0;i=c?v[b>>2]:b;e=c?v[b+4>>2]:d;c=g;while(1){b=w[a+27|0];j=b<<24>>24<0;h=j?v[a+20>>2]:b;f=h>>>0>e>>>0;d=f?e:h;c:{if(d){b=a+16|0;b=Pc(j?v[b>>2]:b,i,d);if(b){break c}}b=e>>>0>h>>>0?-1:f}c=(b|0)<0?c:a;a=v[(b>>>29&4)+a>>2];if(a){continue}break}if((c|0)==(g|0)){break b}a=w[c+27|0];f=a<<24>>24<0;d:{d=f?v[c+20>>2]:a;b=d>>>0>>0?d:e;if(b){a=c+16|0;a=Pc(i,f?v[a>>2]:a,b);if(a){break d}}if(d>>>0>e>>>0){break b}break a}if((a|0)>-1){break a}}c=g}return c|0}function lva(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=fc(8);v[299999]=0;d=S(3312,g|0)|0;f=v[299999];v[299999]=0;if((f|0)!=1){a:{if(w[a+24|0]){e=v[a+20>>2];if(v[e>>2]<1){break a}f=0;while(1){b:{c:{d:{e:{f:{e=w[v[e+4>>2]+f|0];switch(e-38|0){case 0:break d;case 24:break e;case 22:break f;default:break c}}_c(d,322772);break b}_c(d,322777);break b}_c(d,322789);break b}gd(d,e<<24>>24)}f=f+1|0;e=v[a+20>>2];if((f|0)>2]){continue}break}break a}_c(d,308929);Mg(d,v[a+20>>2]);_c(d,322655)}a=Ub[b|0](c,v[d+4>>2],v[d>>2])|0;Dc(d);dc(g);return a|0}a=P()|0;O()|0;dc(g);T(a|0);L()}function c_a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=Qb-16|0;Qb=d;e=v[b+28>>2];c=Ub[v[a+516>>2]](a,1734439792,b,0)|0;a:{if(c){break a}c=ne(b,4);v[d+12>>2]=c;if(c){break a}g=a,h=He(b),u[g+560>>1]=h;g=a,h=He(b),u[g+562>>1]=h;Vd(b);if(x[a+560>>1]>=2){u[a+562>>1]=0;c=8;break a}c=e;e=x[a+562>>1];g=a,h=Cc(c,4,0,e,0,d+12|0),v[g+564>>2]=h;c=v[d+12>>2];if(c){break a}c=ne(b,e<<2);v[d+12>>2]=c;if(c){break a}if(e){c=v[a+564>>2];a=0;while(1){f=c+(a<<2)|0;g=f,h=He(b),u[g>>1]=h;g=f,h=He(b),u[g+2>>1]=h;a=a+1|0;if((e|0)!=(a|0)){continue}break}}Vd(b);c=v[d+12>>2]}Qb=d+16|0;return c|0}function Rza(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Qb-32|0;Qb=c;v[a>>2]=938296;v[c+16>>2]=13;v[c>>2]=13;v[a+4>>2]=0;v[a+8>>2]=0;a:{if(v[b>>2]==7){b:{if(v[rc(v[b+8>>2],321049,c+16|0,0)>>2]!=5){e=a,f=rE(c+16|0),v[e+4>>2]=f;break b}d=c+16|0;hc(d);if(v[rc(v[b+8>>2],220537,d,0)>>2]==7){rc(v[c+24>>2],321049,c,0);e=a,f=rE(c),v[e+4>>2]=f;hc(c);if(v[rc(v[c+24>>2],311953,c,0)>>2]==3){d=v[c+8>>2];b=fc(8);v[299999]=0;Q(3064,b|0,d|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break a}v[a+8>>2]=b}hc(c);break b}kc(0,-1,247226,0)}hc(c+16|0)}Qb=c+32|0;return a|0}a=P()|0;O()|0;dc(b);T(a|0);L()}function qqa(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;f=fc(60);v[f+20>>2]=0;v[f>>2]=982652;v[f+4>>2]=0;v[f+8>>2]=0;v[f+12>>2]=0;t[f+16|0]=0;g=v[282402];v[f+56>>2]=-1;t[f+52|0]=0;v[f+48>>2]=g;v[f+44>>2]=0;v[f+40>>2]=g;v[f+36>>2]=0;v[f+32>>2]=g;v[f+28>>2]=0;v[f+24>>2]=g;v[a>>2]=0;Wc(a,f);v[299999]=0;V(4533,f|0,b|0);b=v[299999];v[299999]=0;a:{if((b|0)==1){break a}v[299999]=0;V(4534,f|0,c|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}v[299999]=0;Q(4535,f+44|0,d|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}t[f+52|0]=e&63;return}b=P()|0;O()|0;ec(a);T(b|0);L()}function j7(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;e=Bc(c);h=Qb-16|0;Qb=h;a:{g=b;d=a;b:{if(w[d+11|0]>>>7|0){f=v[d+4>>2];break b}f=w[d+11|0]}if(g>>>0<=f>>>0){d=w[d+11|0]>>>7|0?(v[a+8>>2]&2147483647)-1|0:10;c:{if(d-f>>>0>=e>>>0){if(!e){break c}d=a;d:{if(w[d+11|0]>>>7|0){g=v[d>>2];break d}g=d}j=g+b|0;i=f-b|0;if(i){b=b+g|0;Bn(b+e|0,b,i);c=(b>>>0<=c>>>0?f+g>>>0>c>>>0?e:0:0)+c|0}Bn(j,c,e);c=e+f|0;b=c;e:{if(w[d+11|0]>>>7|0){v[a+4>>2]=b;break e}t[a+11|0]=b}t[h+15|0]=0;t[c+g|0]=w[h+15|0];break c}Tq(a,d,(e+f|0)-d|0,f,b,0,e,c)}Qb=h+16|0;break a}El(d);L()}return a|0}function eQ(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;e=Qb-16|0;Qb=e;a:{b:{d=v[a+60>>2];if(d){while(1){b=v[d+8>>2];c:{if(!b){break c}c=v[b+56>>2];if(!c){break c}v[c+4>>2]=v[c+4>>2]+1;c=b+56|0;b=v[c>>2];v[e+8>>2]=b;if(!b){break c}v[299999]=0;Q(4336,c|0,0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(c){break c}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}d=v[d>>2];if(d){continue}break}}Cp(a+52|0);Qb=e+16|0;return}a=P()|0;O()|0;ec(e+8|0);T(a|0);L()}W(0)|0;O()|0;lc();L()}function Uda(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=Qb-32|0;Qb=f;a:{b:{c=v[a+4>>2];if(v[c+4>>2]>=2){d=fc(52);v[299999]=0;c=Q(4748,d|0,c|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break b}v[c+4>>2]=v[c+4>>2]+1;d=v[a+4>>2];c:{if(!d){break c}e=v[d+4>>2]-1|0;v[d+4>>2]=e;if(e){break c}Ub[v[v[d>>2]+4>>2]](d)}v[a+4>>2]=c}if(!(v[c+20>>2]<=(b|0)&v[c+24>>2]>=(b|0))){a=vc(f+8|0,301014,271670,545,308004,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}b=P()|0;O()|0;qc(a);T(b|0);L()}Qb=f+32|0;return v[c+8>>2]+(b-v[c+12>>2]<<3)|0}a=P()|0;O()|0;dc(d);T(a|0);L()}L()}function nJa(a){a=a|0;var b=0,c=0,d=0,e=0;a:{if(!a){break a}c=v[a+24>>2];b:{if(!c){break b}b=v[a+8>>2];if(!b|v[b+60>>2]){break b}v[b+60>>2]=c;v[a+24>>2]=0}b=v[a+48>>2];c:{if(!b|v[a+40>>2]<1){break c}b=v[b>>2];if(!b){break c}c=v[b+44>>2];if(!c){break c}b=v[a+8>>2];if(!b|v[b+60>>2]){break c}b=c;while(1){d=b;b=b+1|0;if(w[d|0]){continue}break}b=0;d=d-c|0;d:{if((d|0)<0){break d}e=Ub[v[259707]](d+1|0)|0;if(!e){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);break d}b=gc(e,c,d);t[d+b|0]=0}v[v[a+8>>2]+60>>2]=b}b=v[a+256>>2];if(!b){break a}a=v[a+8>>2];if(!a|v[a+76>>2]){break a}v[a+76>>2]=b}}function MOa(a,b){a=a|0;b=b|0;var c=0,d=0;c=Qb-16|0;Qb=c;a:{b:{c:{d:{e:{if(b){HW(c);v[299999]=0;b=Q(2692,a+68|0,c|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break d}if(t[c+11|0]<=-1){dc(v[c>>2])}if(b){break e}}b=fc(80);v[c>>2]=b;v[c+4>>2]=16;v[c+8>>2]=-2147483628;v[299999]=0;tc(b,467916,16);d=v[299999];v[299999]=0;if((d|0)==1){break a}v[b+64>>2]=0;v[299999]=0;V(2693,a+68|0,c|0);d=v[299999];v[299999]=0;if((d|0)==1){break c}dc(b);v[a+48>>2]=a+8}Qb=c+16|0;return}a=P()|0;O()|0;if(t[c+11|0]>-1){break b}dc(v[c>>2]);T(a|0);L()}a=P()|0;O()|0;dc(b)}T(a|0);L()}W(0)|0;O()|0;lc();L()}function DLa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;a=0;Ub[v[b+8>>2]](v[b>>2],0,160);while(1){e=(a<<7)+2304|0;f=v[B(a,12)+862884>>2];c=0;d=0;a:{if((a|0)!=6){while(1){if(w[c+863616|0]&f){Ub[v[b+4>>2]](v[b>>2],c+e|0)}d=c|1;if(w[d+863616|0]&f){Ub[v[b+4>>2]](v[b>>2],d+e|0)}c=c+2|0;if((c|0)!=128){continue}break a}}while(1){if(!(!(w[d+863616|0]&f)&(d|0)!=49)){Ub[v[b+4>>2]](v[b>>2],d+e|0)}d=d+1|0;if((d|0)!=128){continue}break}}a=a+1|0;if((a|0)!=9){continue}break}Ub[v[b+4>>2]](v[b>>2],2404);Ub[v[b+4>>2]](v[b>>2],2405);Ub[v[b+4>>2]](v[b>>2],8204);Ub[v[b+4>>2]](v[b>>2],8205)}function B5(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=v[a+584>>2];a:{b:{switch(b-512|0){case 1:v[v[c>>2]>>2]=v[d+196>>2];break a;case 2:v[v[c>>2]>>2]=v[d+200>>2];break a;case 18:if(!w[d+206|0]){OK(a)}u[v[c>>2]>>1]=w[d+208|0];u[v[c+4>>2]>>1]=w[d+209|0];break a;case 7:v[v[c>>2]>>2]=w[d+211|0];v[v[c+4>>2]>>2]=d+216;break a;case 8:v[v[c>>2]>>2]=w[d+212|0];v[v[c+4>>2]>>2]=d+228;break a;case 9:v[v[c>>2]>>2]=w[d+213|0];v[v[c+4>>2]>>2]=d+240;break a;case 0:u[v[c>>2]>>1]=w[d+204|0];break a;case 3:u[v[c>>2]>>1]=x[d+300>>1];break a;default:break b}}return Ub[v[d+160>>2]](a,b,c)|0}return 1}function Meb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;f=v[v[a+544>>2]+88>>2];g=v[f+1176>>2]+B(v[f+1168>>2],v[a+572>>2])|0;b=v[a+644>>2];a:{if(w[f+56|0]){if(v[a+588>>2]<=0){break a}while(1){d=0;h=b;e=w[g|0];if((e|0)!=x[f+836>>1]){d=B(w[w[f+44|0]+190188|0],e);e=255}else{e=0}t[h+3|0]=e;t[b+2|0]=d;t[b+1|0]=d;t[b|0]=d;b=b+4|0;g=g+1|0;c=c+1|0;if((c|0)>2]){continue}break}break a}if(v[a+588>>2]<=0){break a}while(1){e=w[g|0];c=w[f+44|0];t[b+3|0]=255;c=B(e,w[c+190188|0]);t[b+2|0]=c;t[b+1|0]=c;t[b|0]=c;b=b+4|0;g=g+1|0;d=d+1|0;if((d|0)>2]){continue}break}}return 0}function Og(a,b,c,d){var e=0,f=0,g=0;a:{b:{if(t[a+201|0]&1?0:(b|0)>=65536){break b}e=v[a+52>>2];g=w[a+200|0];if(!g){e=x[v[a+188>>2]+(x[e+(x[e+(b>>10<<1)>>1]+(b>>>4&63)<<1)>>1]+(b&15)<<1)>>1];c:{if(d){if(e>>>0>2047){break c}break b}if(e>>>0<3072){break b}}v[c>>2]=e&255;return 1}f=-1;if((g|0)!=1){break a}f=b&15;g=v[e+(x[e+(b>>10<<1)>>1]+(b>>>4&63)<<2)>>2];e=x[v[a+188>>2]+((f|g<<4&1048560)<<1)>>1];if(!(g>>>(f|16)&1)){if(!e|!(b-57344>>>0<6400|d)&b-983040>>>0>131071){break b}}v[c>>2]=e;return e>>>0<256?1:2}a=v[a+224>>2];if(!a){return 0}b=fs(a,b,c,d);a=b>>31;f=a^a+b}return f}function vx(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=Qb-16|0;Qb=d;e=Bc(b);if(!(!c|!w[c|0])){f=Bc(c)}a:{if(!a){break a}h=1;v[a+744>>2]=34;t[d+8|0]=116;t[d+9|0]=69;t[d+10|0]=88;t[d+11|0]=116;e=e+1|0;g=e+f|0;t[d+7|0]=g;t[d+6|0]=g>>>8;t[d+5|0]=g>>>16;t[d+4|0]=g>>>24;ld(a,d+4|0,8);v[a+348>>2]=1950701684;_f(a);kd(a,d+8|0,4);v[a+744>>2]=66;if(!b|!e){break a}ld(a,b,e);kd(a,b,e)}if(!(!f|!((c|0)!=0&h))){ld(a,c,f);kd(a,c,f)}if(a){v[a+744>>2]=130;b=v[a+384>>2];b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);t[d+12|0]=b;t[d+13|0]=b>>>8;t[d+14|0]=b>>>16;t[d+15|0]=b>>>24;ld(a,d+12|0,4)}Qb=d+16|0}function lCa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;v[a+4>>2]=15;v[a+8>>2]=0;v[a+152>>2]=13;v[a>>2]=897404;v[a+148>>2]=e;v[a+144>>2]=d;v[a+12>>2]=b;zf(f,a+152|0);b=0;v[a+4>>2]=0;v[a+168>>2]=1;if(v[a+12>>2]>=1){while(1){d=b<<2;f=d+a|0;d=v[c+d>>2];v[f+16>>2]=d;if(Ad(d,279892)){v[a+168>>2]=0}d=a;a:{if(!Ad(v[f+16>>2],249603)){e=v[a+4>>2]|1;break a}if(!Ad(v[f+16>>2],304005)){e=v[a+4>>2]|2;break a}if(!Ad(v[f+16>>2],221218)){e=v[a+4>>2]|4;break a}e=15;if(Ad(v[f+16>>2],263545)){break a}e=v[a+4>>2]|8}v[d+4>>2]=e;b=b+1|0;if((b|0)>2]){continue}break}}return a|0}function e$(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;v[a+44>>2]=b;pl(v[a>>2],b);c=v[a>>2];b=v[v[c+712>>2]+3080>>2];c=Eg(v[v[c+96>>2]+4>>2],239287);a:{if(!c|!b){break a}b=v[b>>2];if(!b){break a}e=Ub[b|0](c)|0;if(!e){break a}f=v[v[a>>2]+712>>2];c=v[f+1440>>2];h=v[v[a+40>>2]>>2];Ub[v[e+4>>2]](v[h>>2],v[a+16>>2],v[a+20>>2],0,0);b=v[f+2024>>2];if(!b){break a}while(1){g=v[a+16>>2];b=b-1|0;i=b<<2;d=v[v[(i+f|0)+2028>>2]+68>>2];b:{if((d|0)!=(c|0)){g=jd(g,c,d);d=jd(v[a+20>>2],c,d);break b}d=v[a+20>>2]}Ub[v[e+4>>2]](v[(h+i|0)+4>>2],g,d,0,0);if(b){continue}break}}return 0}function Mo(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;f=c-b|0;g=f>>2;d=v[a+8>>2];e=v[a>>2];if(g>>>0<=d-e>>2>>>0){d=v[a+4>>2]-e|0;f=d>>2;d=f>>>0>>0?b+d|0:c;h=d-b|0;if(h){Wd(e,b,h)}if(f>>>0>>0){b=v[a+4>>2];c=c-d|0;if((c|0)>=1){b=gc(b,d,c)+c|0}v[a+4>>2]=b;return}v[a+4>>2]=e+h;return}if(e){v[a+4>>2]=e;dc(e);v[a+8>>2]=0;v[a>>2]=0;v[a+4>>2]=0;d=0}a:{if((f|0)<=-1){break a}c=d>>1;c=d>>2>>>0<536870911?c>>>0>>0?g:c:1073741823;if(c>>>0>=1073741824){break a}e=c<<2;c=fc(e);v[a>>2]=c;v[a+4>>2]=c;v[a+8>>2]=c+e;if((f|0)>=1){c=gc(c,b,f)+f|0}v[a+4>>2]=c;return}ue(a);L()}function yp(a,b){var c=0,d=0;d=Qb-32|0;Qb=d;a:{b:{c=w[a+19|0];c:{if(c){if((c|0)==255){break c}t[a+19|0]=c-1;break c}c=w[a+18|0]+1|0;t[a+18|0]=c;t[a+17|0]=w[a+17|0]<<1|b;if((c&255)!=8){break c}if(!w[a+16|0]){a=vc(d+8|0,272735,242271,1004,336540,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}b=v[a+12>>2];if((Ub[v[v[b>>2]+12>>2]](b,a+17|0,1)|0)!=1){a=vc(d+8|0,237906,242271,1006,336540,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}t[a+17|0]=0;t[a+18|0]=0}Qb=d+32|0;return}L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function i1a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;e=Qb-32|0;Qb=e;v[d>>2]=-1;Bo(a,e+16|0);if(v[e+24>>2]==3){i=v[a>>2];g=v[e+16>>2]+1|0;v[a>>2]=g;j=v[a+8>>2];h=v[e+20>>2]-1|0;v[a+8>>2]=h;f=b;a:{if(g>>>0>=h>>>0){break a}if(!b){f=0;while(1){Bo(a,e);if(!v[e+8>>2]){break a}f=f+12|0;if(y[a>>2]>2]){continue}break}break a}c=B(c,12)+b|0;while(1){Bo(a,e);if(!v[e+8>>2]){break a}if(c>>>0>f>>>0){g=v[e+4>>2];v[f>>2]=v[e>>2];v[f+4>>2]=g;v[f+8>>2]=v[e+8>>2]}f=f+12|0;if(y[a>>2]>2]){continue}break}}v[d>>2]=(f-b|0)/12;v[a+8>>2]=j;v[a>>2]=i}Qb=e+32|0}function aDa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;c=v[a+28>>2];if(v[c+664>>2]){b=-1;a=v[a+108>>2];a:{if(!a){break a}a=v[a+4>>2];if(v[a+8>>2]==13){break a}a=v[a+16>>2];b=Ub[v[v[a>>2]+52>>2]](a)|0}kc(0,b,245262,0);return}d=v[c+380>>2];if(d){Ub[v[v[d>>2]+4>>2]](d)}v[c+380>>2]=0;c=v[a+28>>2];f=jk(0);d=v[c+116>>2];if(d){Ub[v[v[d>>2]+4>>2]](d)}v[c+116>>2]=f;c=v[a+8>>2];Ub[v[v[c>>2]+108>>2]](c,v[a+28>>2]);c=v[a+28>>2];e=(v[b>>2]==1?+v[b+8>>2]:A[b+8>>3])*65536;b:{if(D(e)<2147483648){b=~~e;break b}b=-2147483648}v[c+124>>2]=b;b=v[a+8>>2];Ub[v[v[b>>2]+116>>2]](b,v[a+28>>2])}function V0a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=v[a+28>>2];a=v[f+20>>2];a:{if(!a){break a}b:{c:{b=x[a>>1];d=b<<16>>16;if((d|0)>=2){e=u[(v[a+12>>2]+(b<<1)|0)-4>>1]+1|0;break c}if(d){break c}b=u[a+2>>1];break b}b=u[a+2>>1];if((e|0)!=(b|0)){break b}u[a>>1]=d-1;break a}d:{if((b|0)<2){break d}c=v[a+4>>2];g=c+(e<<3)|0;c=(c+(b<<3)|0)-8|0;if(v[g>>2]!=v[c>>2]|v[g+4>>2]!=v[c+4>>2]|w[(v[a+8>>2]+b|0)-1|0]!=1){break d}b=b-1|0;u[a+2>>1]=b}if((d|0)<1){break a}c=e;e=(b<<16>>16)-1|0;if((c|0)==(e|0)){u[a+2>>1]=b-1;u[a>>1]=d-1;break a}u[(v[a+12>>2]+(d<<1)|0)-2>>1]=e}t[f+44|0]=0}function TF(a){var b=0,c=0,d=0;d=Qb-16|0;Qb=d;b=Ub[v[259704]](36)|0;a:{if(!b){v[d>>2]=239815;oc(0,0,0,0,0,8,2,3,239815,0,0,0,350051,d);b=0;break a}v[b>>2]=0;v[b+4>>2]=0;v[b+32>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;c=b+16|0;v[c>>2]=0;v[c+4>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;c=dq(v[259705]<<1);v[b+16>>2]=c;if(!c){Ub[v[259708]](b);b=0;break a}b:{if(v[c+32>>2]|(v[c+12>>2]&-2)==2){break b}v[c+12>>2]=0;c=v[c+28>>2];if(!c){break b}v[c+12>>2]=0}c=_F(a);v[b+12>>2]=c;a=0;if(c){a=dq(v[259705]<<1)}v[b+8>>2]=0;v[b+20>>2]=a;v[b+32>>2]=0;v[b+24>>2]=-1;v[b>>2]=0;v[b+4>>2]=0}Qb=d+16|0;return b}function LDa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;c=v[a+28>>2];if(v[c+664>>2]){b=-1;a=v[a+108>>2];a:{if(!a){break a}a=v[a+4>>2];if(v[a+8>>2]==13){break a}a=v[a+16>>2];b=Ub[v[v[a>>2]+52>>2]](a)|0}kc(0,b,245262,0);return}d=v[c+384>>2];if(d){Ub[v[v[d>>2]+4>>2]](d)}v[c+384>>2]=0;c=v[a+28>>2];f=jk(0);d=v[c+120>>2];if(d){Ub[v[v[d>>2]+4>>2]](d)}v[c+120>>2]=f;c=v[a+8>>2];Ub[v[v[c>>2]+112>>2]](c,v[a+28>>2]);c=v[a+28>>2];e=(v[b>>2]==1?+v[b+8>>2]:A[b+8>>3])*65536;b:{if(D(e)<2147483648){b=~~e;break b}b=-2147483648}v[c+252>>2]=b;b=v[a+8>>2];Ub[v[v[b>>2]+120>>2]](b,v[a+28>>2])}function F4(a,b){a=a|0;b=b|0;var c=0;b=v[a+584>>2];if(b){if(!v[b+116>>2]){Ub[v[a+516>>2]](a)|0}c=v[a+596>>2];a:{if(!(w[c|0]|!(t[c+1|0]&1))){if(!v[b+96>>2]){Ld(v[a+628>>2],v[a>>2],20660,0);v[a+556>>2]=565;v[a+548>>2]=565;v[a+540>>2]=565;Ub[v[a+516>>2]](a)|0;v[b+96>>2]=565}u[b+66>>1]=511;break a}v[b+96>>2]=557;u[b+66>>1]=510}u[b+64>>1]=9;v[b+72>>2]=0;v[b+76>>2]=0;v[b+84>>2]=511;v[b+88>>2]=0;a=v[a+608>>2];c=v[b+116>>2]+2064|0;v[b+108>>2]=c;v[b+92>>2]=a<<3;eg(c,0,38888);a=v[b+116>>2];v[b+104>>2]=a-8;v[b+112>>2]=(a+(v[b+84>>2]<<3)|0)-8;return 1}X(16309,6139,259,13488);L()}function $Fa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;a:{if(c-1>>>0>3|b>>>0>2147482623){break a}e=v[a+1032>>2];if(!((e|0)<=(b|0)&(b+c|0)<=(e+v[a+1036>>2]|0))){if(zg(v[a+4>>2],b,0)){break a}v[a+1032>>2]=b;e=qg(a+8|0,1,1024,v[a+4>>2]);v[a+1036>>2]=e;if((c|0)>(e|0)){break a}}v[d>>2]=0;h=1;i=c&1;e=0;if((c|0)!=1){f=c&-2;c=0;while(1){g=a+8|0;c=w[g+((b+e|0)-v[a+1032>>2]|0)|0]|c<<8;v[d>>2]=c;c=w[(((e|1)+b|0)-v[a+1032>>2]|0)+g|0]|c<<8;v[d>>2]=c;e=e+2|0;f=f-2|0;if(f){continue}break}f=c<<8}if(!i){break a}v[d>>2]=w[(((b+e|0)-v[a+1032>>2]|0)+a|0)+8|0]|f}return h|0}function wHa(a,b){a=a|0;b=b|0;Ub[v[v[a>>2]+76>>2]](a,b,A[b+16>>3],A[b+24>>3],A[b+32>>3],A[b+40>>3],A[b+48>>3],A[b+56>>3]);Ub[v[v[a>>2]+80>>2]](a,b);Ub[v[v[a>>2]+84>>2]](a,b);Ub[v[v[a>>2]+88>>2]](a,b);Ub[v[v[a>>2]+92>>2]](a,b);Ub[v[v[a>>2]+96>>2]](a,b);Ub[v[v[a>>2]+100>>2]](a,b);Ub[v[v[a>>2]+104>>2]](a,b);Ub[v[v[a>>2]+108>>2]](a,b);Ub[v[v[a>>2]+116>>2]](a,b);Ub[v[v[a>>2]+112>>2]](a,b);Ub[v[v[a>>2]+120>>2]](a,b);Ub[v[v[a>>2]+124>>2]](a,b);Ub[v[v[a>>2]+128>>2]](a,b);Ub[v[v[a>>2]+132>>2]](a,b);Ub[v[v[a>>2]+156>>2]](a,b);if(!(w[a+201|0]|(w[a+208|0]|w[a+203|0]))){tu(a,b)}}function qv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;f=c-b|0;g=f>>3;d=v[a+8>>2];e=v[a>>2];if(g>>>0<=d-e>>3>>>0){d=v[a+4>>2]-e|0;f=d>>3;d=f>>>0>>0?b+d|0:c;h=d-b|0;if(h){Wd(e,b,h)}if(f>>>0>>0){b=v[a+4>>2];c=c-d|0;if((c|0)>=1){b=gc(b,d,c)+c|0}v[a+4>>2]=b;return}v[a+4>>2]=e+h;return}if(e){v[a+4>>2]=e;dc(e);v[a+8>>2]=0;v[a>>2]=0;v[a+4>>2]=0;d=0}a:{if((f|0)<=-1){break a}c=d>>2;c=d>>3>>>0<268435455?c>>>0>>0?g:c:536870911;if(c>>>0>=536870912){break a}e=c<<3;c=fc(e);v[a>>2]=c;v[a+4>>2]=c;v[a+8>>2]=c+e;if((f|0)>=1){c=gc(c,b,f)+f|0}v[a+4>>2]=c;return}ue(a);L()}function dya(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;if((c|0)<1){return 0}h=a+40|0;e=v[a+296>>2];while(1){a:{d=v[a+300>>2];if(d>>>0<=e>>>0){v[a+300>>2]=h;v[a+296>>2]=h;e=v[a+304>>2]+(d-h|0)|0;v[a+304>>2]=e;if(v[a+32>>2]){d=v[a+36>>2]+v[a+28>>2]|0;if((d|0)<=(e|0)){break a}d=(d|0)<(e+256|0)?d-e|0:256}else{d=256}f=v[a+24>>2];Kv(v[f>>2],e,0);d=(qg(h,1,d,v[f>>2])+a|0)+40|0;v[a+300>>2]=d;e=v[a+296>>2];if(d>>>0<=e>>>0){break a}}i=e;f=c-g|0;e=d-e|0;d=(e|0)>(f|0)?f:e;gc(b+g|0,i,d);e=d+v[a+296>>2]|0;v[a+296>>2]=e;g=d+g|0;if((g|0)<(c|0)){continue}}break}return g|0}function Tq(a,b,c,d,e,f,g,h){var i=0,j=0,k=0;i=Qb-16|0;Qb=i;if((b^-1)-17>>>0>=c>>>0){if(w[a+11|0]>>>7|0){k=v[a>>2]}else{k=a}a:{if(b>>>0<2147483623){v[i+8>>2]=b<<1;v[i+12>>2]=b+c;c=Qb-16|0;Qb=c;Qb=c+16|0;c=i+8|0;j=i+12|0;c=v[(y[j>>2]>2]?c:j)>>2];if(c>>>0>=11){j=c+16&-16;c=j-1|0;c=(c|0)==11?j:c}else{c=10}break a}c=-18}j=c+1|0;c=fc(j);if(e){bk(c,k,e)}if(g){bk(c+e|0,h,g)}d=d-(e+f|0)|0;if(d){bk((c+e|0)+g|0,(e+k|0)+f|0,d)}b=b+1|0;if((b|0)!=11){Aw(k)}v[a>>2]=c;v[a+8>>2]=j|-2147483648;b=a;a=d+(e+g|0)|0;v[b+4>>2]=a;t[i+7|0]=0;t[a+c|0]=w[i+7|0];Qb=i+16|0;return}$d(a);L()}function HBa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=fc(24);c=v[a+12>>2];d=v[v[c>>2]+8>>2];v[299999]=0;c=S(d|0,c|0)|0;d=v[299999];v[299999]=0;a:{if((d|0)==1){break a}d=v[a+16>>2];v[b+4>>2]=15;v[b+8>>2]=0;v[b+16>>2]=d;v[b+12>>2]=c;v[b>>2]=897300;e=v[v[c>>2]+28>>2];v[299999]=0;e=S(e|0,c|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break a}v[299999]=0;d=Q(3364,B(e,d+1|0)|0,1)|0;e=v[299999];v[299999]=0;if((e|0)==1){break a}v[b+20>>2]=d;v[b+4>>2]=v[c+4>>2];c=v[a+16>>2];e=v[a+20>>2];a=v[a+12>>2];gc(d,e,B(Ub[v[v[a>>2]+28>>2]](a)|0,c+1|0));return b|0}a=P()|0;O()|0;dc(b);T(a|0);L()}function tZ(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;g=Qb-16|0;Qb=g;v[g+12>>2]=0;h=Fd(a,(x[c+8>>1]>>>1|0)+1|0,g+12|0);e=0;a:{if(v[g+12>>2]){break a}e=Yc(b,v[c+12>>2]);v[g+12>>2]=e;b:{if(e){break b}e=ne(b,x[c+8>>1]);v[g+12>>2]=e;if(e){break b}e=h;c:{f=x[c+8>>1];if(f>>>0>=2){i=f>>>1|0;f=v[b+32>>2];while(1){if(w[f|0]){break c}if(!(Ub[d|0](t[f+1|0])|0)){break c}t[e|0]=w[f+1|0];f=f+2|0;e=e+1|0;i=i-1|0;if(i){continue}break}}t[e|0]=0;Vd(b);e=h;break a}Vd(b)}if(h){Ub[v[a+8>>2]](a,h)}v[c+12>>2]=0;u[c+8>>1]=0;b=v[c+16>>2];if(b){Ub[v[a+8>>2]](a,b)}v[c+16>>2]=0;e=0}Qb=g+16|0;return e}function M8a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=Qb-16|0;Qb=d;v[d+12>>2]=0;a:{b:{c=hJ(a,v[b+48>>2],v[b+44>>2],d+12|0,d+8|0,d+4|0);c:{if(c){break c}c=v[b+32>>2];f=(c+v[d+4>>2]|0)+2|0;d:{if(f>>>0<=y[a+424>>2]){e=v[a+428>>2]+8|0;break d}e=Ub[v[a+152>>2]](f)|0;if(!e){break b}c=v[b+32>>2]}g=e;if(c){g=gc(e,v[b+36>>2],c)+v[b+32>>2]|0}t[g|0]=0;t[g+1|0]=0;c=v[d+4>>2];if(c){gc(g+2|0,v[d+12>>2],c)}c=_d(a,v[b>>2],f,e);if(y[a+424>>2]>=f>>>0){break c}Ub[v[a+156>>2]](e,f)}b=v[d+12>>2];if(!b){break a}Ub[v[a+156>>2]](b,v[d+8>>2]);break a}c=1;pc(a,1,0,0)}Qb=d+16|0;return c|0}function st(a){var b=0,c=0,d=0,e=0,f=0,g=0;o(+a);b=j(1)|0;f=j(0)|0;g=b;b=b&2147483647;if(b>>>0>=1072693248){if(!(b-1072693248|f)){return a*1.5707963267948966+7.52316384526264e-37}return 0/(a-a)}a:{if(b>>>0<=1071644671){if(b+-1048576>>>0<1044381696){break a}return tt(a*a)*a+a}c=(1-D(a))*.5;a=K(c);e=tt(c);b:{if(b>>>0>=1072640819){a=a+a*e;a=1.5707963267948966-(a+a+-6.123233995736766e-17);break b}d=c;o(+a);b=j(1)|0;j(0)|0;l(0,0);l(1,b|0);c=+n();d=(d-c*c)/(a+c);a=.7853981633974483-(c+c)-((a+a)*e-(6.123233995736766e-17-(d+d)))+.7853981633974483}a=(g|0)>-1?a:-a}return a}function ccb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=v[a+2308>>2];if(b){d=v[a+2300>>2];f=v[a+2312>>2];c=v[a+2316>>2];while(1){e=w[f|0];if(e>>>0>2]){b=B(e,3)+d|0;g=Ub[v[a+2296>>2]](w[b+68|0])|0;h=Ub[v[a+2296>>2]](w[b+69|0])|0;i=Ub[v[a+2296>>2]](w[b+70|0])|0;b=65535;if(!(!w[d+56|0]|y[d+844>>2]<=e>>>0)){b=Ub[v[a+2296>>2]](w[(d+e|0)+848|0])|0}t[c+7|0]=(b|0)!=0;t[c+6|0]=b>>>8;t[c+5|0]=(i|0)!=0;t[c+4|0]=i>>>8;t[c+3|0]=(h|0)!=0;t[c+2|0]=h>>>8;t[c+1|0]=(g|0)!=0;t[c|0]=g>>>8;b=v[a+2308>>2]}c=c+8|0;f=f+1|0;j=j+1|0;if(j>>>0>>0){continue}break}}return 0}function Cl(a){var b=0,c=0,d=0,e=0;a:{o(+a);b=j(1)|0;j(0)|0;c=b;b=b&2147483647;b:{if(b>>>0>=1083174912){if(!((c|0)<0|b>>>0<1083179008)){return a*8.98846567431158e307}if(b>>>0>=2146435072){return-1/a}if(!(a<=-1075)){break a}d=0;if((c|0)<-1|(c|0)<=-1){break b}break a}if(b>>>0>1016070143){break a}d=a+1}return d}e=a+26388279066624;o(+e);j(1)|0;c=(j(0)|0)+128|0;b=c<<4&4080;d=A[b+1023584>>3];a=a-(e+-26388279066624)-A[b+1023592>>3];return Lk(d+d*a*(a*(a*(a*(a*.0013333559164630223+.009618129842126066)+.0555041086648214)+.2402265069591)+.6931471805599453),(c&-256)/256|0)}function B$a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{if((d|0)<1){break a}f=v[a+112>>2];if(!f){break a}a=v[v[a+480>>2]+24>>2];h=v[a+8>>2];i=v[a+4>>2];j=v[a>>2];l=f-1|0;m=f&1;while(1){a=k<<2;e=v[a+c>>2];a=v[a+b>>2];if(m){t[e|0]=w[w[a+2|0]+h|0]+(w[w[a+1|0]+i|0]+w[w[a|0]+j|0]|0);e=e+1|0;a=a+3|0;g=l}else{g=f}if((f|0)!=1){while(1){t[e|0]=w[w[a+2|0]+h|0]+(w[w[a+1|0]+i|0]+w[w[a|0]+j|0]|0);t[e+1|0]=w[w[a+5|0]+h|0]+(w[w[a+4|0]+i|0]+w[w[a+3|0]+j|0]|0);e=e+2|0;a=a+6|0;g=g-2|0;if(g){continue}break}}k=k+1|0;if((k|0)!=(d|0)){continue}break}}}function sCa(a){a=a|0;var b=0,c=0,d=0;a:{b:{c:{d:{b=v[a+16>>2];if(b){d=fc(8);v[299999]=0;b=Q(3064,d|0,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}JT(b);c=v[b+4>>2];if(yd(c,234145)){break d}if(yd(c,272971)){break d}c=yd(c,264545);Dc(b);dc(d);if(c){break c}}if(v[a+32>>2]>=0){e:{switch(v[a+20>>2]-1|0){case 0:case 1:case 2:if(v[a+152>>2]){break c}if(!v[a+1448>>2]){return 1}return v[a+1460>>2]!=0|0;case 3:case 4:case 5:break a;default:break e}}return!v[a+152>>2]|0}break a}Dc(b);dc(d)}return 0}a=P()|0;O()|0;dc(d);T(a|0);L()}return!(v[a+152>>2]|v[a+1448>>2])|0}function Jja(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=v[b>>2];v[a+124>>2]=d;c=v[b+4>>2];v[a+128>>2]=c;e=v[b+8>>2];v[a+132>>2]=e;g=v[b+12>>2];b=(e-d|0)/2|0;v[a+100>>2]=b;v[a+136>>2]=g;f=(g-c|0)/2|0;v[a+104>>2]=f;d=(d+e|0)/2|0;h=(c+g|0)/2|0;a:{if((b|0)>(f|0)){e=d;i=K(+(B(b,b)-B(f,f)|0));b:{if(D(i)<2147483648){c=~~i;break b}c=-2147483648}g=e-c|0;d=d+c|0;e=f;c=h;break a}i=K(+(B(f,f)-B(b,b)|0));c:{if(D(i)<2147483648){j=~~i;break c}j=-2147483648}c=j+h|0;e=b;b=f;g=d;h=h-j|0}v[a+120>>2]=h;v[a+116>>2]=g;v[a+108>>2]=d;v[a+92>>2]=b;v[a+96>>2]=e;v[a+112>>2]=c}function Bsa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=Qb-16|0;Qb=e;a:{if(y[b+4>>2]>=17){f=a+56|0;d=e;c=b;b:{c:{if(!w[b+8|0]){break c}c=v[c>>2];if(c){break c}c=0;break b}c=v[c>>2]}c=zr(d,c- -64|0,0,v[b+4>>2]-17|0);b=v[a+60>>2]-v[a+56>>2]>>3;while(1){d:{if((b|0)<1){d=0;break d}b=b-1|0;d=v[a+56>>2];if(b>>>0>=v[a+60>>2]-d>>3>>>0){v[299999]=0;R(4218,f|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}L()}d=v[d+(b<<3)>>2];v[299999]=0;d=FQ(d,c);g=v[299999];v[299999]=0;if((g|0)==1){break a}if(!d){continue}}break}xc(c)}Qb=e+16|0;return d|0}a=P()|0;O()|0;xc(c);T(a|0);L()}function wQa(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,h=0,i=0,j=0,k=C(0),l=C(0),m=C(0),n=0;g=Qb-16|0;Qb=g;a:{b:{i=a+16|0;if(v[i+84>>2]>=1){h=v[a+12>>2];if(h){break b}}v[b>>2]=0;v[c>>2]=0;v[d>>2]=0;v[e>>2]=0;v[f>>2]=0;a=0;break a}z[g+12>>2]=z[a+24>>2];m=z[a+28>>2];z[g+4>>2]=z[a+32>>2];j=v[h+180>>2];n=u[j+82>>1];k=C(A[h+112>>3]/1e3*+y[h+124>>2]/72);l=C(C(u[j+80>>1])*k);z[g>>2]=z[a+36>>2]-l;z[g+8>>2]=m-l;zX(i,g+12|0,g+8|0);zX(i,g+4|0,g);z[b>>2]=z[g+12>>2];z[c>>2]=z[g+8>>2];z[d>>2]=z[g+4>>2];z[e>>2]=z[g>>2];z[f>>2]=C(n|0)*k;a=1}Qb=g+16|0;return a|0}function Tp(a,b,c){var d=0,e=0,f=0,g=0;f=b-1|0;d=(f|0)>0?f:0;a:{while(1){b=e;if((b|0)==(d|0)){e=d;break a}g=vp(c);if((g|0)==-1){break a}t[a+b|0]=g;e=b+1|0;b:{switch(g-10|0){case 0:break a;case 3:break b;default:continue}}break}d=vp(c);if(!((d|0)!=10|(e|0)>=(f|0))){t[a+e|0]=10;e=b+2|0;break a}if((d|0)==-1){break a}c:{if((d|0)==-1){break c}f=v[c+76>>2]>=0;d:{e:{b=v[c+4>>2];f:{if(!b){OC(c);b=v[c+4>>2];if(!b){break f}}if(v[c+44>>2]-8>>>0>>0){break e}}if(f){break d}break c}b=b-1|0;v[c+4>>2]=b;t[b|0]=d;v[c>>2]=v[c>>2]&-17;if(!f){break c}}}}t[a+e|0]=0;return e?a:0}function lJa(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,j=0,k=0,l=0,m=0,n=0;i=Qb-256|0;Qb=i;if(g){k=(e<<2)+c|0;a=v[a+416>>2];l=v[(a+(v[b+16>>2]<<2)|0)+84>>2];m=v[(a+(v[b+4>>2]<<2)|0)+44>>2];while(1){Ub[m|0](i,k,f);a=0;while(1){e=a<<2;c=v[e+l>>2];h=c>>1;n=((j<<7)+d|0)+(a<<1)|0;e=v[e+i>>2];a:{if((e|0)<=-1){e=h-e|0;if((e|0)>=(c|0)){c=(e|0)/(c|0)|0}else{c=0}e=0-c|0;break a}h=e+h|0;e=0;if((h|0)<(c|0)){break a}e=(h|0)/(c|0)|0}u[n>>1]=e;a=a+1|0;if((a|0)!=64){continue}break}f=v[b+36>>2]+f|0;j=j+1|0;if((j|0)!=(g|0)){continue}break}}Qb=i+256|0}function a7(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;d=Qb-16|0;Qb=d;v[d+4>>2]=c;v[d+8>>2]=b;h=d,i=xi(a),v[h>>2]=i;e=v[d+8>>2]-v[d>>2]>>2;b=w[a+11|0]>>>7|0?(v[a+8>>2]&2147483647)-1|0:1;if(w[a+11|0]>>>7|0){c=v[a+4>>2]}else{c=w[a+11|0]}a:{if((b|0)==(c|0)){mw(a,c,1,c,e,1);b=v[a>>2];break a}if(w[a+11|0]>>>7|0){b=v[a>>2]}else{b=a}f=c-e|0;if(!f){break a}g=(e<<2)+b|0;Dl(g+4|0,g,f)}v[(e<<2)+b>>2]=v[d+4>>2];v[d>>2]=0;f=b;b=c+1|0;v[f+(b<<2)>>2]=v[d>>2];b:{if(w[a+11|0]>>>7|0){v[a+4>>2]=b;break b}t[a+11|0]=b}h=d,i=xi(a),v[h>>2]=i;a=dC(d,e);Qb=d+16|0;return a|0}function S4a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=Qb-32|0;Qb=c;g=1;b=v[a>>2];f=Ub[v[v[b>>2]+32>>2]](b)|0;b=B(f,3)+1|0;h=fc((b|0)!=(b&1073741823)?-1:b<<2);v[h>>2]=f;if((f|0)>0){while(1){b=v[a>>2];Ub[v[v[b>>2]+36>>2]](b,i,c+8|0,c,c+24|0,c+16|0);j=A[c+8>>3];k=A[c>>3];b=h+(g<<2)|0;d=b;l=A[c+24>>3];a:{if(D(l)<2147483648){e=~~l;break a}e=-2147483648}v[d+8>>2]=e;d=b;if(D(k)<2147483648){e=~~k}else{e=-2147483648}v[d+4>>2]=e;if(D(j)<2147483648){d=~~j}else{d=-2147483648}v[b>>2]=d;g=g+3|0;i=i+1|0;if((f|0)!=(i|0)){continue}break}}Qb=c+32|0;return h|0}function J2(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;v[a+20>>2]=0;a:{d=v[a+4>>2];b:{c:{if(!d){break c}b=v[c+8>>2];d:{if(b&7){break d}e=v[c+64>>2];if(!((e|0)<0|v[c+60>>2]<(e|0))){v[c+8>>2]=b|4;break d}b=v[c+28>>2];v[c+28>>2]=b-1;e:{if((b|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=v[c+24>>2];v[c+24>>2]=b+1;b=w[b|0];break e}b=Hc(c,1);if((b|0)==-1){break d}d=v[a+4>>2]}t[a+12|0]=b;b=-1;d=d-1|0;v[a+16>>2]=d;if(!d){break a}d=jc(d);v[a+20>>2]=d;if(!d){break b}b=0;if((Kh(c,d,v[a+16>>2])|0)==v[a+16>>2]){break b}}a=v[a+20>>2];if(!a){break c}dc(a)}b=-1}return b|0}v[a+20>>2]=0;return 0}function Gga(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=Qb-32|0;Qb=g;a:{e=v[a+24>>2];b:{if(!(v[a+36>>2]<0?e:0)){b=vc(g+8|0,326342,241788,480,338820,0);break b}d=v[a+28>>2];f=v[a+32>>2];if((d|0)<(f|0)){d=v[a+16>>2];Ub[v[v[d>>2]+20>>2]](d,f,0,0)|0;d=v[a+32>>2];v[a+28>>2]=d;e=v[a+24>>2]}e=v[e+8>>2];if((e|0)>=(d|0)){break a}b=vc(g+8|0,232916,241788,488,338820,0)}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)==1){a=P()|0;O()|0;qc(b);T(a|0)}L()}f=v[a+16>>2];b=Ub[v[v[f>>2]+8>>2]](f,b,(e|0)<(c+d|0)?e-d|0:c)|0;v[a+28>>2]=b+v[a+28>>2];Qb=g+32|0;return b|0}function jOa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=Qb-16|0;Qb=d;v[a+8>>2]=0;v[a>>2]=0;v[a+4>>2]=0;f=t[b+11|0];e=(f|0)<0;a:{b:{c:{g=v[b+4>>2];d:{if(!(e?g:f&255)){break d}e:{if(!e){v[d+8>>2]=v[b+8>>2];e=v[b+4>>2];v[d>>2]=v[b>>2];v[d+4>>2]=e;break e}b=v[b>>2];v[299999]=0;U(2345,d|0,b|0,g|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}}v[299999]=0;U(2694,d|0,a|0,c|0);b=v[299999];v[299999]=0;if((b|0)==1){break c}if(t[d+11|0]>-1){break d}dc(v[d>>2])}Qb=d+16|0;return}b=P()|0;O()|0;if(t[d+11|0]>-1){break a}dc(v[d>>2]);break a}b=P()|0;O()|0}Qg(a);T(b|0);L()}function ZDa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;b=v[a+28>>2];c=v[b+596>>2];d=v[c+28>>2];if(!(v[c>>2]?0:(d|0)<=0)){a:{if(!v[a+100>>2]|(d|0)<1){break a}b=v[b+116>>2];b:{if((Ub[v[v[b>>2]+12>>2]](b)|0)==10){Op(a,0);break b}b=v[a+8>>2];Ub[v[v[b>>2]+204>>2]](b,v[a+28>>2])}b=v[v[a+28>>2]+120>>2];if((Ub[v[v[b>>2]+12>>2]](b)|0)==10){Nr(a);break a}b=v[a+8>>2];Ub[v[v[b>>2]+200>>2]](b,v[a+28>>2])}b=v[a+28>>2];c=v[b+596>>2];if(!(!v[a+36>>2]|(v[c>>2]?0:v[c+28>>2]<=0))){Vi(b);b=v[a+8>>2];Ub[v[v[b>>2]+(v[a+36>>2]==1?220:224)>>2]](b,v[a+28>>2]);b=v[a+28>>2]}v[a+36>>2]=0;vf(b)}}function YDa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;b=v[a+28>>2];c=v[b+596>>2];d=v[c+28>>2];if(!(v[c>>2]?0:(d|0)<=0)){a:{if(!v[a+100>>2]|(d|0)<1){break a}b=v[b+116>>2];b:{if((Ub[v[v[b>>2]+12>>2]](b)|0)==10){Op(a,1);break b}b=v[a+8>>2];Ub[v[v[b>>2]+208>>2]](b,v[a+28>>2])}b=v[v[a+28>>2]+120>>2];if((Ub[v[v[b>>2]+12>>2]](b)|0)==10){Nr(a);break a}b=v[a+8>>2];Ub[v[v[b>>2]+200>>2]](b,v[a+28>>2])}b=v[a+28>>2];c=v[b+596>>2];if(!(!v[a+36>>2]|(v[c>>2]?0:v[c+28>>2]<=0))){Vi(b);b=v[a+8>>2];Ub[v[v[b>>2]+(v[a+36>>2]==1?220:224)>>2]](b,v[a+28>>2]);b=v[a+28>>2]}v[a+36>>2]=0;vf(b)}}function Tua(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Qb-32|0;Qb=d;v[c>>2]=0;e=d+16|0;Ub[v[v[a>>2]+12>>2]](e,a,b);v[299999]=0;a=S(4082,e|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){a:{if(a){v[d+12>>2]=0;v[299999]=0;v[d+8>>2]=0;a=Y(4083,d+16|0,d+12|0,d+8|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}if(a){v[299999]=0;a=S(1,12)|0;b=v[299999];v[299999]=0;f=1;if((b|0)==1){break a}b=v[d+12>>2];e=v[d+8>>2];t[a+8|0]=1;v[a+4>>2]=e;v[a>>2]=b;v[c>>2]=a}}if(t[d+27|0]<=-1){dc(v[d+16>>2])}Qb=d+32|0;return f|0}}a=P()|0;O()|0;if(t[d+27|0]<=-1){dc(v[d+16>>2])}T(a|0);L()}function Ch(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=Qb-16|0;Qb=e;f=v[c>>2];d=v[f+8>>2];a:{if(d){if(v[b+12>>2]<=-1){v[b+12>>2]=v[d+32>>2]}v[d+4>>2]=v[d+4>>2]+1;v[a>>2]=v[f+8>>2];break a}Dp(e,f,1);b:{d=v[e+8>>2];c:{if(d){while(1){v[299999]=0;U(4888,a|0,b|0,d+8|0);f=v[299999];v[299999]=0;if((f|0)==1){break c}if(v[a>>2]){if(v[b+12>>2]>-1){break b}v[b+12>>2]=v[v[v[c>>2]+8>>2]+32>>2];break b}v[a>>2]=0;d=v[d>>2];if(d){continue}break}}v[a>>2]=0;v[299999]=0;Q(4336,a|0,0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break b}}a=P()|0;O()|0;Ic(e);T(a|0);L()}Ic(e)}Qb=e+16|0}function CPa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;v[c>>2]=-1;d=v[a+180>>2];if(!d){return 0}if(v[a+208>>2]){return b|0}e=v[d+36>>2];if(!e){return b|0}if((e|0)>=1){e=0;while(1){g=d;d=v[v[d+40>>2]+(e<<2)>>2];a:{if(qq(g,d)){break a}b:{d=v[d+4>>2];if((d|0)<=1937337697){if(!d){break b}if((d|0)!=1634889070){break a}break b}if((d|0)==1937337698){break b}if((d|0)!=1970170211){break a}f=0;d=Fg(v[a+180>>2],b);if(!d){break a}v[c>>2]=e;return d|0}f=Fg(v[a+180>>2],b);if(!f){f=0;break a}v[c>>2]=e}e=e+1|0;d=v[a+180>>2];if((e|0)>2]){continue}break}}return f|0}function BMa(a,b){a=a|0;b=b|0;var c=0;c=v[a+8>>2];a:{b:{if((b|0)<=1){v[c+48>>2]=0;t[c+68|0]=0;v[c+60>>2]=0;u[c+52>>1]=0;if((b|0)!=1){u[c+54>>1]=0;u[c+56>>1]=0;u[c+58>>1]=0;if(w[c+99|0]!=107){break a}if(v[c+64>>2]!=1){break b}b=v[c+40>>2];v[b+44>>2]=0;v[b+48>>2]=0;t[b+36|0]=0;break b}if(w[c+99|0]!=107|v[c+64>>2]!=1){break a}a=v[c+40>>2];v[a+44>>2]=0;v[a+48>>2]=0;t[a+36|0]=0;return}u[c+54>>1]=0;u[c+56>>1]=0;u[c+58>>1]=0;if(w[c+99|0]!=107){break a}}if(!w[a+63|0]){v[a+76>>2]=1126769691;t[a+63|0]=4}if(v[c+64>>2]!=1){break a}a=v[c+40>>2];v[a+52>>2]=1;v[a+56>>2]=0}}function tB(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{f=v[a+20>>2];b:{if((f|0)>=2){e=v[a+28>>2];c=v[e+4>>2]-v[e>>2]>>2;break b}if((f|0)!=1){break a}}d=v[a+24>>2];if((d|0)<1){break a}e=v[v[a+28>>2]>>2];i=c<<2;while(1){c:{if((d|0)<1){break c}h=d-1|0;c=e;g=d&3;if(g){while(1){v[c>>2]=v[c>>2]<>>0<3){break c}while(1){v[c>>2]=v[c>>2]<>2]=v[c+4>>2]<>2]=v[c+8>>2]<>2]=v[c+12>>2]<4;d=d-4|0;if(h){continue}break}}if((f|0)<2){break a}f=f-1|0;e=e+i|0;d=v[a+24>>2];continue}}}function Oda(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=Qb-16|0;Qb=d;b=v[b>>2];e=v[(b?b+12|0:1129608)>>2];f=Bg(d,d+12|0,B(Bc(e),3)+1|0,1);b=v[d+12>>2];while(1){a:{b:{c=w[e|0];if((c|0)!=47){if(c){c:{if(!(((c&223)-65&255)>>>0<26|(c-48&255)>>>0<10)){if(!fi(322740,c,15)){break c}}t[b|0]=c;break a}t[b|0]=37;t[b+2|0]=w[(c&15)+999776|0];t[b+1|0]=w[(c>>>4|0)+999776|0];b=b+2|0;break a}t[b|0]=0;v[299999]=0;Q(5422,a|0,v[d+12>>2])|0;a=v[299999];v[299999]=0;if((a|0)!=1){break b}a=P()|0;O()|0;Lc(f);T(a|0);L()}t[b|0]=47;break a}Lc(f);Qb=d+16|0;return}b=b+1|0;e=e+1|0;continue}}function Csa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;f=Qb-16|0;Qb=f;a:{if(y[b+4>>2]>=17){g=a+56|0;e=f;d=b;b:{c:{if(!w[b+8|0]){break c}d=v[d>>2];if(d){break c}d=0;break b}d=v[d>>2]}d=zr(e,d- -64|0,0,v[b+4>>2]-17|0);b=v[a+60>>2]-v[a+56>>2]>>3;while(1){if((b|0)>=1){b=b-1|0;e=v[a+56>>2];if(b>>>0>=v[a+60>>2]-e>>3>>>0){v[299999]=0;R(4218,g|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}L()}e=v[e+(b<<3)>>2];v[299999]=0;e=GQ(e,d,c);h=v[299999];v[299999]=0;if((h|0)==1){break a}if(!e){continue}}break}xc(d)}Qb=f+16|0;return}a=P()|0;O()|0;xc(d);T(a|0);L()}function BY(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;v[a>>2]=460496;e=a+8|0;a:{d=v[a+8>>2];f=a+12|0;if((d|0)!=(f|0)){while(1){b=v[d+28>>2];c=v[v[b>>2]+12>>2];v[299999]=0;S(c|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}b=d;c=v[b+4>>2];b:{if(!c){d=v[b+8>>2];if((b|0)==v[d>>2]){break b}b=b+8|0;while(1){c=v[b>>2];b=c+8|0;d=v[c+8>>2];if((c|0)!=v[d>>2]){continue}break}break b}while(1){d=c;c=v[c>>2];if(c){continue}break}}if((d|0)!=(f|0)){continue}break}}ts(e,v[a+12>>2]);v[a+8>>2]=f;v[a+12>>2]=0;v[a+16>>2]=0;ts(e,0);return a|0}W(0)|0;O()|0;ts(e,v[e+4>>2]);lc();L()}function qn(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=Qb-16|0;Qb=f;if(!c){v[289142]=0}g=v[a+24812>>2];h=g+12|0;v[a+24812>>2]=h;a:{b:{if(a+24808>>>0>=h>>>0){e=v[289142];if((e|0)>-1){break b}break a}v[f>>2]=v[a+25208>>2];wc(v[252391],17136,f);sd(a+190484|0,2);L()}while(1){j=d+1|0;i=w[b+d|0]+i|0;if((i|0)>(e|0)){break a}k=d>>>0<15;d=j;if(k){continue}break}}c:{if((e|0)>=(i|0)){d=e;break c}if((c|0)<(j|0)){v[g>>2]=h;c=c+1|0;qn(a,b,c);v[g+4>>2]=v[a+24812>>2];qn(a,b,c);d=v[289142];break c}d=e+1|0;v[289142]=d;v[g+8>>2]=w[(b+e|0)+16|0]}Qb=f+16|0;return(b+d|0)+16|0}function lka(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;var j=0,k=0,l=0;if(!(!f|!e)){d=x[a+26>>1];j=v[a+64>>2];a=e&3;k=e-1>>>0<3;l=h<<2;while(1){h=e;c=a;if(c){while(1){v[b>>2]=v[v[(w[i|0]<<2)+j>>2]>>2];i=d+i|0;b=b+4|0;h=h-1|0;c=c-1|0;if(c){continue}break}}f=f-1|0;if(!k){while(1){v[b>>2]=v[v[(w[i|0]<<2)+j>>2]>>2];c=d+i|0;v[b+4>>2]=v[v[(w[c|0]<<2)+j>>2]>>2];c=c+d|0;v[b+8>>2]=v[v[(w[c|0]<<2)+j>>2]>>2];c=c+d|0;v[b+12>>2]=v[v[(w[c|0]<<2)+j>>2]>>2];b=b+16|0;i=c+d|0;h=h-4|0;if(h){continue}break}}i=g+i|0;b=b+l|0;if(f){continue}break}}}function lja(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;var j=0,k=0,l=0;if(!(!f|!e)){d=v[a+60>>2];j=x[a+26>>1];a=e&3;k=e-1>>>0<3;l=h<<2;while(1){h=e;c=a;if(c){while(1){v[b>>2]=v[v[(w[i|0]<<2)+d>>2]>>2];i=i+j|0;b=b+4|0;h=h-1|0;c=c-1|0;if(c){continue}break}}f=f-1|0;if(!k){while(1){v[b>>2]=v[v[(w[i|0]<<2)+d>>2]>>2];c=i+j|0;v[b+4>>2]=v[v[(w[c|0]<<2)+d>>2]>>2];c=c+j|0;v[b+8>>2]=v[v[(w[c|0]<<2)+d>>2]>>2];c=c+j|0;v[b+12>>2]=v[v[(w[c|0]<<2)+d>>2]>>2];b=b+16|0;i=c+j|0;h=h-4|0;if(h){continue}break}}i=g+i|0;b=b+l|0;if(f){continue}break}}}function aW(a,b,c){var d=0,e=0,f=0;d=0;a:{if(v[c>>2]>0){break a}e=v[a+4>>2];d=1;if((e|0)>=(b|0)){break a}b:{d=b+e|0;if((d|0)<=(b|0)|(d|0)<1){break b}e=v[a+52>>2];f=Pg(d);if(!f){break b}if((e|0)>=0){b=v[a+4>>2];c=e+1|0;b=(b|0)<(c|0)?b:c;gc(f,v[a>>2],(b|0)>(d|0)?d:b)}if(w[a+8|0]){_e(v[a>>2])}t[a+8|0]=1;v[a+4>>2]=d;v[a>>2]=f;return 1}c:{if((b|0)<1){break c}d=v[a+52>>2];e=Pg(b);if(!e){break c}if((d|0)>=0){c=v[a+4>>2];d=d+1|0;c=(c|0)<(d|0)?c:d;gc(e,v[a>>2],(b|0)<(c|0)?b:c)}if(w[a+8|0]){_e(v[a>>2])}t[a+8|0]=1;v[a+4>>2]=b;v[a>>2]=e;return 1}v[c>>2]=7;d=0}return d}function Zbb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=v[a+636>>2]+v[a+616>>2]|0;b=v[a+644>>2];a:{b:{c:{c=v[a+540>>2];if(!c){c=v[v[a+528>>2]+88>>2]}if(w[c+56|0]){if(v[a+588>>2]>0){break c}break a}if(v[a+588>>2]>0){break b}g=1;break a}while(1){h=x[c+836>>1];d=w[e|0];t[b+3|0]=(h|0)!=(d|0)?-1:0;d=(d|0)==(h|0)?0:d;t[b+2|0]=d;t[b+1|0]=d;t[b|0]=d;e=e+1|0;b=b+4|0;f=f+1|0;if((f|0)>2]){continue}break}break a}while(1){c=w[e|0];t[b+3|0]=255;t[b+2|0]=c;t[b+1|0]=c;t[b|0]=c;g=1;e=e+1|0;b=b+4|0;f=f+1|0;if((f|0)>2]){continue}break}}t[a+649|0]=g;return 0}function Uva(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{if(!v[a+144>>2]){break a}c=v[b+596>>2];if(v[c+28>>2]!=1){break a}c=v[v[c+24>>2]>>2];if(v[c+12>>2]!=2){break a}f=A[b+56>>3];d=A[b+24>>3];k=v[c>>2];g=A[k+8>>3];e=A[b+40>>3];c=v[c+4>>2];l=A[c+8>>3];h=f+(d*g+e*l);i=A[k>>3];j=i*d;d=A[c>>3];f=f+(j+d*e);e=A[b+48>>3];j=i;i=A[b+16>>3];m=A[b+32>>3];d=e+(j*i+d*m);g=e+(i*g+m*l);if(d!=g&f!=h){break a}b=v[v[a+116>>2]+212>>2];a=fc(40);c=f>h;e=c?h:f;h=c?f:h;v[a+32>>2]=e==h;A[a+24>>3]=h;c=d>g;A[a+16>>3]=c?d:g;A[a+8>>3]=e;A[a>>3]=c?g:d;Tc(b,a)}}function Lda(a,b){a=a|0;b=b|0;var c=0,d=0;c=Qb-16|0;Qb=c;Tk(a);v[a>>2]=999828;v[299999]=0;V(5405,c+8|0,b|0);b=v[299999];v[299999]=0;a:{if((b|0)!=1){v[299999]=0;Q(4535,a+8|0,c+8|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){b=P()|0;O()|0;ec(c+8|0);break a}ec(c+8|0);v[a>>2]=999844;Qb=c+16|0;return a|0}b=P()|0;O()|0}v[a+24>>2]=981312;v[a>>2]=981280;c=v[a+28>>2];if(c){d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(!d){Ub[v[v[c>>2]+4>>2]](c)}v[a+28>>2]=0}v[a+16>>2]=981312;c=v[a+20>>2];if(c){d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(!d){Ub[v[v[c>>2]+4>>2]](c)}v[a+20>>2]=0}ec(a+8|0);T(b|0);L()}function YQ(a){a=a|0;var b=0,c=0,d=0,e=0;d=Qb-16|0;Qb=d;v[a>>2]=972072;b=v[a+20>>2];if(b){dc(Dc(b))}b=v[a+24>>2];v[299999]=0;V(3691,b|0,d+12|0);c=v[299999];v[299999]=0;a:{b:{if((c|0)==1){break b}while(1){v[299999]=0;c=ki(b,d+12|0,d+8|0,d+4|0);e=v[299999];v[299999]=0;if((e|0)==1){break b}if(!c){break a}c=v[d+4>>2];if(!c){continue}e=v[c>>2];if(e){dc(Dc(e))}e=v[c+4>>2];if(e){dc(Dc(e))}dc(c);continue}}W(0)|0;O()|0;cR(a);lc();L()}dc(ah(b));v[a>>2]=971168;while(1){b=v[a+12>>2];if(b){v[a+12>>2]=v[b+4>>2];Ub[v[v[b>>2]+4>>2]](b);continue}break}Qb=d+16|0;return a|0}function Uq(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,h=0,i=0,j=0;i=Qb-16|0;Qb=i;a:{b:{if(!a){break b}g=v[e+12>>2];h=c-b|0;if((h|0)>=1){h=h>>2;if((Ub[v[v[a>>2]+48>>2]](a,b,h)|0)!=(h|0)){break b}}b=d-b>>2;g=(b|0)<(g|0)?g-b|0:0;if((g|0)>=1){f=fC(i,g,f);b=f;if(w[b+11|0]>>>7|0){b=v[b>>2]}v[299999]=0;b=Y(5593,a|0,b|0,g|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break a}le(f);if((b|0)!=(g|0)){break b}}b=d-c|0;if((b|0)>=1){b=b>>2;if((Ub[v[v[a>>2]+48>>2]](a,c,b)|0)!=(b|0)){break b}}v[e+12>>2]=0;j=a}Qb=i+16|0;return j|0}a=P()|0;O()|0;le(f);T(a|0);L()}function KCa(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;c=v[a+28>>2];e=v[c+596>>2];if(!(v[e+28>>2]>0|v[e>>2])){b=-1;a=v[a+108>>2];a:{if(!a){break a}a=v[a+4>>2];if(v[a+8>>2]==13){break a}a=v[a+16>>2];b=Ub[v[v[a>>2]+52>>2]](a)|0}kc(1,b,333448,0);return}g=A[b+24>>3];a=v[b+24>>2];d=A[b+40>>3];h=v[b+40>>2];i=A[c+608>>3];j=A[b+8>>3];k=v[b+8>>2];l=v[b>>2];m=v[b+16>>2];n=v[b+32>>2];f=v[b+48>>2]==1?+v[b+56>>2]:A[b+56>>3];A[c+608>>3]=f;o=A[c+600>>3];d=(n|0)==1?+(h|0):d;A[c+600>>3]=d;$k(e,o,i,(l|0)==1?+(k|0):j,(m|0)==1?+(a|0):g,d,f)}function Hab(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,j=0,k=0;a:{if(f){j=c<<1;k=b<<1;if(((c+1|0)/2|0)<=(b|0)){if(!d){break a}a=0;while(1){t[g|0]=w[f|0];i=g;h=w[f+1|0];b=w[e+1|0];if((h|0)!=(b|0)){b=b+((B(h-b|0,k)+c|0)/(j|0)|0)|0}t[i+1|0]=b;f=f+2|0;e=e+2|0;g=g+2|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}break a}if(!d){break a}a=0;while(1){t[g|0]=w[e|0];i=g;h=w[f+1|0];b=w[e+1|0];if((h|0)!=(b|0)){b=b+((B(h-b|0,k)+c|0)/(j|0)|0)|0}t[i+1|0]=b;f=f+2|0;e=e+2|0;g=g+2|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}break a}gc(g,e,d<<1)}return 0}function f1a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;t[a+68|0]=1;v[a+64>>2]=0;v[a+8>>2]=d;v[a+4>>2]=b;v[a>>2]=v[b+100>>2];a:{if(!d){break a}b=v[v[d+156>>2]>>2];v[a+12>>2]=b;v[a+20>>2]=b+56;v[a+16>>2]=b+20;Fo(b);b=v[v[c+40>>2]>>2];v[a+72>>2]=0;v[a+76>>2]=b;if(!e){break a}v[a+72>>2]=v[v[d+156>>2]+36>>2]}v[a+24>>2]=0;v[a+28>>2]=0;v[a+40>>2]=0;v[a+44>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;b=v[95465];v[a+80>>2]=v[95464];v[a+84>>2]=b;b=v[95467];v[a+88>>2]=v[95466];v[a+92>>2]=b;b=v[95469];v[a+96>>2]=v[95468];v[a+100>>2]=b;b=v[95471];v[a+104>>2]=v[95470];v[a+108>>2]=b}function bW(a){a=a|0;var b=0,c=0;c=v[a+8>>2];if(c){b=v[c>>2];if(b){je(b)}b=v[c+4>>2];if(b){je(b)}b=v[c+8>>2];if(b){je(b)}b=v[c+12>>2];if(b){je(b)}b=v[c+16>>2];if(b){je(b)}b=v[c+20>>2];if(b){je(b)}b=v[c+24>>2];if(b){je(b)}b=v[c+28>>2];if(b){je(b)}b=v[c+32>>2];if(b){je(b)}b=v[c+36>>2];if(b){je(b)}b=v[c+40>>2];if(b){je(b)}b=v[c+44>>2];if(b){je(b)}b=v[c+48>>2];if(b){je(b)}b=v[c+52>>2];if(b){je(b)}b=v[c+56>>2];if(b){je(b)}b=v[c+60>>2];if(b){je(b)}b=v[c+64>>2];if(b){je(b)}b=v[c+68>>2];if(b){je(b)}b=v[c+72>>2];if(b){je(b)}c=v[c+76>>2];if(c){je(c)}_e(v[a+8>>2])}}function Px(a,b){var c=0,d=0,e=0,f=0,g=0;e=v[a+32>>2]+4|0;v[a+32>>2]=e;f=v[a+36>>2];if(e>>>0<=f-3>>>0){g=f-2|0;c=e;while(1){if(!Oc(c,322675,3)){d=fc(24);v[299999]=0;f=S(1,8)|0;g=v[299999];v[299999]=0;a:{b:{if((g|0)!=1){v[299999]=0;Y(3083,f|0,e|0,c-e|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break b}v[d+20>>2]=f;v[d>>2]=971944;v[d+4>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;v[d+16>>2]=0;Ub[v[v[b>>2]+48>>2]](b,d);v[a+32>>2]=v[a+32>>2]+3;return}c=P()|0;O()|0;break a}c=P()|0;O()|0;dc(f)}dc(d);T(c|0);L()}c=c+1|0;v[a+32>>2]=c;if((c|0)!=(g|0)){continue}break}}v[a+32>>2]=f}function Gab(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,j=0,k=0;a:{if(f){if(!d){break a}a=c<<1;i=b<<1;while(1){j=g;h=w[f|0];b=w[e|0];if((h|0)!=(b|0)){b=b+((B(h-b|0,i)+c|0)/(a|0)|0)|0}t[j|0]=b;h=w[f+1|0];b=w[e+1|0];if((h|0)!=(b|0)){b=b+((B(h-b|0,i)+c|0)/(a|0)|0)|0}t[j+1|0]=b;h=w[f+2|0];b=w[e+2|0];if((h|0)!=(b|0)){b=b+((B(h-b|0,i)+c|0)/(a|0)|0)|0}t[j+2|0]=b;h=w[f+3|0];b=w[e+3|0];if((h|0)!=(b|0)){b=b+((B(h-b|0,i)+c|0)/(a|0)|0)|0}t[j+3|0]=b;f=f+4|0;e=e+4|0;g=g+4|0;k=k+1|0;if((k|0)!=(d|0)){continue}break}break a}gc(g,e,d<<2)}return 0}function gOa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=Qb-16|0;Qb=c;f=v[b+4>>2];g=f;while(1){d=g;g=d+1|0;if(w[d|0]){continue}break}e=d-f|0;if(e>>>0<4294967280){a:{b:{if(e>>>0>=11){h=e+16&-16;d=fc(h);v[c+8>>2]=h|-2147483648;v[c>>2]=d;v[c+4>>2]=e;break b}t[c+11|0]=e;d=c;if(!e){break a}}gc(d,f,e)}t[d+e|0]=0;v[b+4>>2]=g;v[299999]=0;d=a;b=w[c+11|0];a=b<<24>>24<0;U(1564,d|0,(a?v[c>>2]:c)|0,(a?v[c+4>>2]:b)|0);a=v[299999];v[299999]=0;if((a|0)!=1){if(t[c+11|0]<=-1){dc(v[c>>2])}Qb=c+16|0;return}a=P()|0;O()|0;if(t[c+11|0]<=-1){dc(v[c>>2])}T(a|0);L()}$d(c);L()}function Ru(a,b){var c=0,d=0,e=0,f=0,g=0;a:{if(!a|!b){break a}d=v[a+4>>2];e=Ub[v[259704]](16)|0;if(!e){break a}c=(d|0)<1?256:d;v[e+4>>2]=c;v[e+8>>2]=0;v[e+12>>2]=0;d=B(c,24);c=Ub[v[259704]](d)|0;v[e>>2]=c;if(!c){Ub[v[259708]](e);return 0}ic(c,0,d);b:{d=v[a>>2];if(!d){break b}f=v[a+4>>2];if((f|0)<1){break b}while(1){c=B(g,24)+d|0;if(!(!v[c+20>>2]|!d)){while(1){d=v[c>>2];f=v[c+4>>2];Su(e,f,v[c+8>>2],v[c+12>>2],Ub[b|0](v[c+16>>2],f)|0);c=d;if(c){continue}break}f=v[a+4>>2]}g=g+1|0;if((g|0)>=(f|0)){break b}d=v[a>>2];continue}}v[e+8>>2]=v[a+8>>2];c=e}return c}function Asa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;f=Qb-16|0;Qb=f;a:{if(y[b+4>>2]>=17){g=a+56|0;e=f;d=b;b:{c:{if(!w[b+8|0]){break c}d=v[d>>2];if(d){break c}d=0;break b}d=v[d>>2]}d=zr(e,d- -64|0,0,v[b+4>>2]-17|0);b=v[a+60>>2]-v[a+56>>2]>>3;while(1){if((b|0)>=1){b=b-1|0;e=v[a+56>>2];if(b>>>0>=v[a+60>>2]-e>>3>>>0){v[299999]=0;R(4218,g|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}L()}e=v[e+(b<<3)>>2];v[299999]=0;e=DQ(e,d,c);h=v[299999];v[299999]=0;if((h|0)==1){break a}if(!e){continue}}break}xc(d)}Qb=f+16|0;return}a=P()|0;O()|0;xc(d);T(a|0);L()}function $W(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=Qb-16|0;Qb=e;f=c;g=w[f|0]|w[f+1|0]<<8|(w[f+2|0]<<16|w[f+3|0]<<24);f=f+4|0;v[e+12>>2]=f;i=d;if((g|0)>0){a:{while(1){b:{if(t[b+11|0]>=0){v[e+8>>2]=v[b+8>>2];f=v[b+4>>2];v[e>>2]=v[b>>2];v[e+4>>2]=f;break b}Ke(e,v[b>>2],v[b+4>>2])}v[299999]=0;f=Q(2688,e+12|0,e|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){if(t[e+11|0]<=-1){dc(v[e>>2])}fX(a,f);h=h+1|0;if((h|0)==(g|0)){break a}continue}break}a=P()|0;O()|0;if(t[e+11|0]<=-1){dc(v[e>>2])}T(a|0);L()}f=v[e+12>>2]}if(i>>>0>f-c>>>0){bX(a,f)}Qb=e+16|0}function V_(a,b){var c=0,d=0,e=0,f=0,g=0;e=v[a+12>>2];b=v[a+84>>2]+(v[a+48>>2]+b|0)|0;a:{if(e>>>0>=b>>>0){break a}c=6;if((e|0)<0){break a}b=b+1&-2;if((b|0)<0){break a}f=v[a>>2];g=v[a+52>>2];b:{c:{d:{if(!b){if(!g){break d}Ub[v[f+8>>2]](f,g);v[a+52>>2]=0;break b}c=10;if((b|0)>67108863){break a}e:{if(!e){d=Ub[v[f+4>>2]](f,b<<5)|0;c=!d<<6;break e}c=Ub[v[f+12>>2]](f,e<<5,b<<5,g)|0;d=c?c:g;c=!c<<6}if(c|!d|(b|0)<=(e|0)){break c}ic((e<<5)+d|0,0,b-e<<5)}v[a+52>>2]=d;break b}v[a+52>>2]=d;if(c){break a}}v[a+12>>2]=b;c=0;v[a+88>>2]=d?(v[a+48>>2]<<5)+d|0:0}return c}function Uy(a){var b=0,c=0,d=0;c=Qb-16|0;Qb=c;b=Ub[v[259704]](60)|0;a:{if(!b){if(a){if(!(!v[a+212>>2]|v[a+172>>2]!=-1)){b=0;break a}v[a+212>>2]=1;v[a+172>>2]=-1;v[a+84>>2]=2}v[c>>2]=351218;b=0;oc(0,0,0,a,0,1,2,3,351218,0,0,0,350051,c);break a}v[b+48>>2]=0;v[b+52>>2]=0;d=b+32|0;v[d>>2]=0;v[d+4>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b>>2]=0;v[b+4>>2]=0;v[b+56>>2]=0;v[b+40>>2]=0;v[b+44>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b+52>>2]=-1;v[b+32>>2]=1;v[b+28>>2]=1;if(!a){break a}d=a;a=v[a+464>>2];v[d+464>>2]=a+1;v[b+56>>2]=a}Qb=c+16|0;return b}function po(a,b){var c=0,d=0,e=0,f=0;if(!b){return a}a:{if(!a){c=b;while(1){a=c;c=a+1|0;if(w[a|0]){continue}break}c=0;a=a-b|0;if((a|0)<0){break a}c=Ub[v[259707]](a+1|0)|0;if(!c){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);return 0}d=a;a=gc(c,b,a);t[d+a|0]=0;return a}d=b;while(1){c=d;d=c+1|0;if(w[c|0]){continue}break}e=c-b|0;if(!e){return a}c=0;if((e|0)<0){break a}d=0;if(w[a|0]){c=a;while(1){d=d+1|0;f=w[c+1|0];c=c+1|0;if(f){continue}break}}f=d+e|0;c=Ub[v[259709]](a,f+1|0)|0;if(!c){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);return a}gc(c+d|0,b,e);t[c+f|0]=0}return c}function fva(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;Ub[v[v[a>>2]+16>>2]](a);d=fc(8);v[d>>2]=972648;v[299999]=0;e=S(1,20)|0;f=v[299999];v[299999]=0;a:{b:{if((f|0)!=1){v[e+8>>2]=0;v[e+12>>2]=0;v[e+16>>2]=0;v[299999]=0;U(4081,e|0,b|0,c|0);b=v[299999];v[299999]=0;if((b|0)==1){a=P()|0;O()|0;UD(e+8|0);dc(e);break a}v[d+4>>2]=e;b=v[a+4>>2];v[b+8>>2]=d;d=fc(72);b=v[b+4>>2];v[299999]=0;b=Q(4080,d|0,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}a=v[a+4>>2];v[a+12>>2]=d;NQ(b,v[a+8>>2]);return 1}a=P()|0;O()|0;break a}a=P()|0;O()|0}dc(d);T(a|0);L()}function Ooa(a){a=a|0;var b=0,c=0,d=0;b=fc(72);v[b+28>>2]=0;v[b+32>>2]=0;v[b>>2]=983084;v[b+4>>2]=0;v[b+36>>2]=0;v[b+40>>2]=0;v[299999]=0;c=b+28|0;v[c>>2]=982500;v[c+4>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;d=v[299999];v[299999]=0;a:{if((d|0)!=1){v[b+44>>2]=0;v[b+48>>2]=0;v[b+68>>2]=0;v[b+60>>2]=0;v[b+64>>2]=0;v[b+52>>2]=0;v[b+56>>2]=0;v[299999]=0;Q(4475,b+44|0,982916)|0;d=v[299999];v[299999]=0;if((d|0)==1){a=P()|0;O()|0;Ic(c);break a}v[b+12>>2]=0;v[b+16>>2]=0;v[b+8>>2]=-1;v[b+20>>2]=0;v[b+24>>2]=0;v[a>>2]=0;Wc(a,b);return}a=P()|0;O()|0}Qc(b);dc(b);T(a|0);L()}function O_(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{if(!a){break a}b=v[a>>2];if(!b){return}f=v[b+96>>2];if(!f){return}c=v[b+108>>2];if(!c){break a}e=b+108|0;d=v[f+8>>2];while(1){if(v[c+8>>2]!=(a|0)){c=v[c+4>>2];if(c){continue}break a}break}g=v[c>>2];h=g?g+4|0:e;e=v[c+4>>2];v[h>>2]=e;v[(e?e:b+112|0)>>2]=g;Ub[v[d+8>>2]](d,c);b:{if(v[b+88>>2]!=(a|0)){break b}v[b+88>>2]=0;c=v[b+108>>2];if(!c){break b}v[b+88>>2]=v[c+8>>2]}b=v[a+8>>2];if(b){Ub[b|0](a)}b=v[v[f+12>>2]+60>>2];if(b){Ub[b|0](a)}b=v[a+40>>2];if(b){Ub[v[d+8>>2]](d,b)}v[a+40>>2]=0;Ub[v[d+8>>2]](d,a)}}function Iab(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,j=0,k=0;a:{if(f){j=c<<1;k=b<<1;if(((c+1|0)/2|0)<=(b|0)){if(!d){break a}a=0;while(1){i=g;h=w[f|0];b=w[e|0];if((h|0)!=(b|0)){b=b+((B(h-b|0,k)+c|0)/(j|0)|0)|0}t[i|0]=b;t[g+1|0]=w[f+1|0];g=g+2|0;f=f+2|0;e=e+2|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}break a}if(!d){break a}a=0;while(1){i=g;h=w[f|0];b=w[e|0];if((h|0)!=(b|0)){b=b+((B(h-b|0,k)+c|0)/(j|0)|0)|0}t[i|0]=b;t[g+1|0]=w[e+1|0];g=g+2|0;e=e+2|0;f=f+2|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}break a}gc(g,e,d<<1)}return 0}function Bdb(a){a=a|0;var b=0,c=0,d=0;b=v[v[a+536>>2]+88>>2];b=(v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0;c=v[a+644>>2];a:{b:{switch(w[a+2253|0]-3|0){case 0:if(v[a+588>>2]<=0){break a}while(1){t[b|0]=w[c|0]+w[b|0];t[b+1|0]=w[c+1|0]+w[b+1|0];t[b+2|0]=w[c+2|0]+w[b+2|0];c=c+3|0;b=b+4|0;d=d+1|0;if((d|0)>2]){continue}break};break a;case 3:break b;default:break a}}if(v[a+588>>2]<1){break a}while(1){t[b|0]=w[c|0];t[b+1|0]=w[c+1|0];t[b+2|0]=w[c+2|0];c=c+3|0;b=b+4|0;d=d+1|0;if((d|0)>2]){continue}break}}return 0}function zqa(a,b){a=a|0;b=b|0;var c=0,d=0;if((b|0)>=1){while(1){Tk(a+16|0);v[a+60>>2]=0;v[a+64>>2]=0;v[a+52>>2]=0;v[a+56>>2]=0;v[299999]=0;c=a+52|0;v[c>>2]=982500;v[c+4>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;c=v[299999];v[299999]=0;if((c|0)==1){c=P()|0;O()|0;v[a+40>>2]=981312;v[a+16>>2]=981280;b=v[a+44>>2];if(b){d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(!d){Ub[v[v[b>>2]+4>>2]](b)}v[a+44>>2]=0}v[a+32>>2]=981312;b=v[a+36>>2];if(b){d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(!d){Ub[v[v[b>>2]+4>>2]](b)}v[a+36>>2]=0}ec(a+24|0);T(c|0);L()}a=a+68|0;c=(b|0)>1;b=b-1|0;if(c){continue}break}}}function e_a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=v[v[a+96>>2]+8>>2];b=v[a+356>>2];if(b){e=d;c=v[a+348>>2];if((c|0)>=1){c=B(c,20)+b|0;while(1){f=v[b+16>>2];if(f){Ub[v[d+8>>2]](d,f)}v[b+16>>2]=0;b=b+20|0;if(c>>>0>b>>>0){continue}break}b=v[a+356>>2]}if(b){Ub[v[e+8>>2]](e,b)}v[a+356>>2]=0}b=v[a+364>>2];if(b){e=d;c=v[a+360>>2];if((c|0)>=1){c=B(c,12)+b|0;while(1){f=v[b+8>>2];if(f){Ub[v[d+8>>2]](d,f)}v[b+8>>2]=0;b=b+12|0;if(c>>>0>b>>>0){continue}break}b=v[a+364>>2]}if(b){Ub[v[e+8>>2]](e,b)}v[a+364>>2]=0}u[a+344>>1]=0;v[a+360>>2]=0;v[a+348>>2]=0;v[a+352>>2]=0}function $y(a,b){var c=0;a:{if(!a){break a}c=v[a+4>>2];if(!b|(c|0)==18|(v[b+4>>2]==18|(a|0)==(b|0))){break a}b:{c:{if((c|0)==2){break c}c=v[a+20>>2];if(!c|!v[c+12>>2]){break c}c=v[c+16>>2];if(!c){break c}if(!v[c+24>>2]){break b}}while(1){c=a;a=v[c+24>>2];if(a){continue}break}}Yi(b);d:{a=v[b+4>>2];if(!(v[c+4>>2]!=3|(a|0)!=3)){if(v[c+8>>2]!=v[b+8>>2]){break d}Oy(c,v[b+40>>2]);pk(b);return}if((a|0)!=2){break d}gV(c,c,b);return}a=v[c+32>>2];if((a|0)!=v[b+32>>2]){gl(b,a)}a=v[c+20>>2];v[b+24>>2]=0;v[b+28>>2]=c;v[b+20>>2]=a;v[c+24>>2]=b;if(a){v[a+16>>2]=b}}}function $w(a){var b=0,c=0,d=0;if((w[a|0]-32&255)>>>0>94){return-1}if((w[a+1|0]-32&255)>>>0>94){return-1}if((w[a+2|0]-32&255)>>>0>94){return-1}c=w[a+3|0];if((c-32&255)>>>0>94){return-1}d=1;a:{b=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);b:{if((b|0)==1297239878|(b|0)==1414744396){break b}b=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);if((b|0)==1347375696|(b|0)==542392643){break b}b=c-49|0;if(!(Pc(a,311693,3)|(b&255)>>>0>=9)){return-1}if(Pc(a,310709,3)){break a}d=-1;if((b&255)>>>0>8){break a}}return d}return 0-(!Pc(a,310535,3)&(c-49&255)>>>0<9)|0}function wU(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{b:{c=Ub[v[259707]](10)|0;if(!c){break b}b=w[v[v[a+36>>2]+16>>2]];if((b-48&255)>>>0>=10){break a}t[c|0]=b;xd(a);if(w[v[v[a+36>>2]+16>>2]]!=46){break a}t[c+1|0]=46;xd(a);g=2;d=w[v[v[a+36>>2]+16>>2]];c:{if((d-48&255)>>>0>9){b=c;e=2;break c}f=10;while(1){d:{e=g+1|0;if((f|0)>(e|0)){b=c;break d}f=f<<1;b=Ub[v[259709]](c,f)|0;if(b){break d}Ub[v[259708]](c);break b}t[b+g|0]=d;xd(a);g=e;c=b;d=w[v[v[a+36>>2]+16>>2]];if((d-48&255)>>>0<10){continue}break}}t[b+e|0]=0;return b}Qd(a,0);return 0}Ub[v[259708]](c);return 0}function ne(a,b){var c=0,d=0,e=0;a:{e=v[a+20>>2];b:{if(e){c=85;if(y[a+4>>2]>>0){break b}d=v[a+28>>2];c:{d:{if((b|0)>=1){c=Ub[v[d+4>>2]](d,b)|0;if(c){break d}c=64;break a}c=6;if(b){break a}c=0;break c}e=v[a+20>>2]}v[a>>2]=c;e=Ub[e|0](a,v[a+8>>2],c,b)|0;c=v[a>>2];if(b>>>0<=e>>>0){d=0}else{if(c){Ub[v[d+8>>2]](d,c)}c=0;v[a>>2]=0;d=85}v[a+32>>2]=c;v[a+36>>2]=c?b+c|0:0;v[a+8>>2]=e+v[a+8>>2];return d}e=v[a+4>>2];d=v[a+8>>2];c=85;if(e>>>0<=d>>>0|e-d>>>0>>0){break b}v[a+8>>2]=b+d;c=d+v[a>>2]|0;v[a+32>>2]=c;v[a+36>>2]=b+c;c=0}return c}v[a>>2]=0;return c}function Rp(a){var b=0;b=v[a+80>>2];v[a+80>>2]=b+1;t[(a+b|0)+16|0]=128;b=v[a+80>>2];if((b|0)>=57){if((b|0)<=63){while(1){v[a+80>>2]=b+1;t[(a+b|0)+16|0]=0;b=v[a+80>>2];if((b|0)<64){continue}break}}eo(a);b=v[a+80>>2]}if((b|0)<=55){while(1){v[a+80>>2]=b+1;t[(a+b|0)+16|0]=0;b=v[a+80>>2];if((b|0)<56){continue}break}}v[a+80>>2]=64;t[a+79|0]=0;t[a+77|0]=0;t[a+78|0]=0;b=v[a+84>>2];t[a+76|0]=b>>29;t[a+75|0]=b>>>21;t[a+74|0]=b>>>13;t[a+73|0]=b>>>5;t[a+72|0]=b<<3;eo(a);b=v[a+4>>2];v[a+88>>2]=v[a>>2];v[a+92>>2]=b;b=v[a+12>>2];v[a+96>>2]=v[a+8>>2];v[a+100>>2]=b} +function r6a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Qb-48|0;Qb=c;e=x[a+26326>>1];f=x[a+26324>>1];d=B(e,f);v[a+26080>>2]=d;d=bd(d,2);if(!d){b=v[a+190640>>2];a:{if(b){d=v[a+25208>>2];v[c+20>>2]=36933;v[c+16>>2]=d;zd(b,4338,c+16|0);break a}b=v[a+25208>>2];v[c+4>>2]=36933;v[c>>2]=b;wc(v[252391],4338,c)}sd(a+190484|0,1);L()}v[c+36>>2]=e;v[c+32>>2]=f;wc(b,32546,c+32|0);Mi(a,d,v[a+26080>>2]);if(v[a+26080>>2]){e=0;while(1){f=d+(e<<1)|0;ff(x[f>>1]<<3,b);ff(x[f>>1]>>>3&8188,b);ff(w[f+1|0]&248,b);e=e+1|0;if(e>>>0>2]){continue}break}}dc(d);Qb=c+48|0}function qZ(a,b){var c=0,d=0,e=0,f=0;d=Qb-16|0;Qb=d;v[d+12>>2]=0;e=dg(a,d+12|0);c=v[d+12>>2];a:{if(c){break a}if((e|0)==-128){c=8;break a}c=e&255;e=c&127;b:{if(!(c&128)){break b}f=dg(a,d+12|0);c=v[d+12>>2];if(c){break a}e=f&127|e<<7;if(!(f&128)){break b}f=dg(a,d+12|0);c=v[d+12>>2];if(c){break a}e=f&127|e<<7;if(!(f&128)){break b}f=dg(a,d+12|0);c=v[d+12>>2];if(c){break a}e=f&127|e<<7;if(!(f&128)){break b}a=dg(a,d+12|0);c=v[d+12>>2];if(c){break a}if(e>>>0>33554431){c=8;break a}c=8;a=a&255;if(a&128){break a}e=a&127|e<<7}v[b>>2]=e;c=0}Qb=d+16|0;return c}function mV(a,b){var c=0,d=0,e=0;a:{b:{c:{d:{if(!b|(!a|v[a+4>>2]==18)){break d}c=v[b+4>>2];if((c|0)==18){break d}if(!v[a+12>>2]){v[a+12>>2]=b;c=b;break a}if((c|0)!=3){break c}c=v[a+16>>2];if(v[c+4>>2]!=3|v[b+8>>2]!=v[c+8>>2]){break c}Oy(c,v[b+40>>2]);c=v[b+24>>2];pk(b);if(c){break b}}return}c=b}b=v[a+16>>2];v[b+24>>2]=c;v[c+28>>2]=b}b=v[c+24>>2];if(b){d=c+24|0;while(1){v[c+20>>2]=a;e=v[a+32>>2];if((e|0)!=v[c+32>>2]){gl(c,e);b=v[d>>2]}c=b;d=c+24|0;b=v[c+24>>2];if(b){continue}break}}v[c+20>>2]=a;b=v[a+32>>2];if((b|0)!=v[c+32>>2]){gl(c,b)}v[a+16>>2]=c}function TA(a){var b=0,c=0;b=v[a+2552>>2];v[a+2552>>2]=b+1;a:{b:{if(!v[a+968>>2]){break b}c:{switch(w[a+336|0]-12|0){default:v[a+572>>2]=b;b=Ub[v[a+980>>2]](a)|0;if(b){break a}b=v[a+976>>2];if(b){b=Ub[b|0](a)|0;if(b){break a}}b=Ub[v[a+968>>2]](a)|0;if(b){break a}if(!w[a+115|0]|v[a+12>>2]==2&y[a+320>>2]<301){break b}b=v[a+680>>2];if(v[a+516>>2]|(v[a+684>>2]-b|0)<51|((b+v[a+572>>2]|0)-v[a+664>>2]|0)%20){break b}t[a+502|0]=1;break b;case 0:case 2:break c}}b=Wj(a);if(b){break a}}b=0;c=v[a+2552>>2];if(c>>>0<=y[a+2560>>2]){break a}v[a+2560>>2]=c}return b}function N$(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=C(0);f=Qb-16|0;Qb=f;a:{if(!a){break a}i=a?v[a>>2]:0;j=tm(i);if((i|0)<1){break a}while(1){d=f+8|0;g=f+12|0;if(g){v[g>>2]=0}if(d){v[d>>2]=0}b:{if(!a|(h|0)<0|v[a>>2]<=(h|0)){break b}e=v[v[a+12>>2]+(h<<2)>>2];if(!e){break b}v[e+16>>2]=v[e+16>>2]+1;if(g){v[g>>2]=0}if(d){v[d>>2]=0}if(g){v[g>>2]=v[e+8>>2]}if(d){v[d>>2]=v[e+12>>2]}d=v[e+16>>2]-1|0;v[e+16>>2]=d;if((d|0)>0){break b}dc(e)}k=v[f+8>>2]<=(c|0)&v[f+12>>2]<=(b|0)?C(1):C(0);if(j){hh(j,k)}h=h+1|0;if((i|0)!=(h|0)){continue}break}}Qb=f+16|0;return j}function p$(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(!a){break a}b:{c:{b=v[a+8>>2];switch(b|0){case 0:break a;case 1:break b;default:break c}}h=b-1|0;f=h&3;d:{if(b-2>>>0<3){b=0;e=1;break d}i=h&-4;b=0;e=1;while(1){c=v[a>>2];d=b<<2;g=e<<2;v[c+d>>2]=v[c+g>>2];c=v[a>>2];v[c+(d|4)>>2]=v[(c+g|0)+4>>2];c=v[a>>2];v[c+(d|8)>>2]=v[(c+g|0)+8>>2];c=d|12;d=v[a>>2];v[c+d>>2]=v[(d+g|0)+12>>2];e=e+4|0;b=b+4|0;i=i-4|0;if(i){continue}break}}if(!f){break b}while(1){d=v[a>>2];v[d+(b<<2)>>2]=v[d+(e<<2)>>2];e=e+1|0;b=b+1|0;f=f-1|0;if(f){continue}break}}v[a+8>>2]=h}}function Ok(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,k=0;f=Qb-16|0;Qb=f;o(+b);h=j(1)|0;e=j(0)|0;g=h&2147483647;c=g;d=e;g=c+-1048576|0;a:{if((g|0)==2145386495|g>>>0<2145386495){i=d<<28;e=c>>>4|0;c=(c&15)<<28|d>>>4;d=e+1006632960|0;break a}if((c|0)==2146435072|c>>>0>2146435072){i=e<<28;c=h;e=c>>>4|0;c=(c&15)<<28|d>>>4;d=e|2147418112;break a}if(!(c|d)){c=0;d=0;break a}g=c;c=c>>>0<1?E(e)+32|0:E(c);Oh(f,d,g,0,0,c+49|0);k=v[f>>2];i=v[f+4>>2];e=15372-c<<16;c=v[f+8>>2];d=e|v[f+12>>2]^65536}v[a>>2]=k;v[a+4>>2]=i;v[a+8>>2]=c;v[a+12>>2]=h&-2147483648|d;Qb=f+16|0}function wX(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=Qb-16|0;Qb=e;a:{i=a;g=cg(b,e+12|0,c);c=v[g>>2];if(c){b=0}else{c=fc(32);f=c+16|0;d=v[d>>2];b:{if(t[d+11|0]>=0){h=v[d+4>>2];v[f>>2]=v[d>>2];v[f+4>>2]=h;v[f+8>>2]=v[d+8>>2];break b}h=v[d+4>>2];d=v[d>>2];v[299999]=0;U(2345,f|0,d|0,h|0);d=v[299999];v[299999]=0;if((d|0)==1){break a}}v[c+28>>2]=0;v[c+8>>2]=v[e+12>>2];v[c>>2]=0;v[c+4>>2]=0;v[g>>2]=c;d=v[v[b>>2]>>2];if(d){v[b>>2]=d;d=v[g>>2]}else{d=c}Uc(v[b+4>>2],d);v[b+8>>2]=v[b+8>>2]+1;b=1}t[i+4|0]=b;v[a>>2]=c;Qb=e+16|0;return}a=P()|0;O()|0;dc(c);T(a|0);L()}function u6(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(Oi(a,v[b+8>>2],e)){if(!(v[b+28>>2]==1|v[b+4>>2]!=(c|0))){v[b+28>>2]=d}return}a:{if(Oi(a,v[b>>2],e)){if(!(v[b+16>>2]!=(c|0)&v[b+20>>2]!=(c|0))){if((d|0)!=1){break a}v[b+32>>2]=1;return}v[b+32>>2]=d;b:{if(v[b+44>>2]==4){break b}u[b+52>>1]=0;a=v[a+8>>2];Ub[v[v[a>>2]+20>>2]](a,b,c,c,1,e);if(w[b+53|0]){v[b+44>>2]=3;if(!w[b+52|0]){break b}break a}v[b+44>>2]=4}v[b+20>>2]=c;v[b+40>>2]=v[b+40>>2]+1;if(v[b+36>>2]!=1|v[b+24>>2]!=2){break a}t[b+54|0]=1;return}a=v[a+8>>2];Ub[v[v[a>>2]+24>>2]](a,b,c,d,e)}}function Ohb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Qb-80|0;Qb=c;v[c+64>>2]=w[a+24|0];wc(b,51250,c- -64|0);d=w[a+25|0];e=w[a+29|0];v[c+56>>2]=w[a+20|0];v[c+52>>2]=e;v[c+48>>2]=d;wc(b,51669,c+48|0);d=w[a+13|0];v[c+36>>2]=v[a+16>>2];v[c+32>>2]=d;wc(b,52093,c+32|0);d=w[a+26|0];e=w[a+27|0];v[c+24>>2]=w[a+28|0];v[c+20>>2]=e;v[c+16>>2]=d;wc(b,52505,c+16|0);if(!(!(t[a+12|0]&1)|v[a+32>>2]<1)){b=0;while(1){d=(b<<1)+a|0;e=w[d+36|0];v[c+12>>2]=w[d+37|0];v[c+8>>2]=b;v[c+4>>2]=e;v[c>>2]=b;Sc(53045,c);b=b+1|0;if((b|0)>2]){continue}break}}Qb=c+80|0;return 0}function nX(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=a;c=A[a+8>>3];h=A[a+56>>3];e=A[a+16>>3];i=A[a+72>>3];b=(c*h+e*i)*65536;a:{if(D(b)<2147483648){d=~~b;break a}d=-2147483648}v[f+212>>2]=d;f=a;b=c;c=A[a- -64>>3];g=e;e=A[a+80>>3];b=(b*c+g*e)*65536;b:{if(D(b)<2147483648){d=~~b;break b}d=-2147483648}v[f+220>>2]=d;f=a;b=c;c=A[a+24>>3];g=e;e=A[a+32>>3];b=(b*c+g*e)*65536;c:{if(D(b)<2147483648){d=~~b;break c}d=-2147483648}v[f+224>>2]=d;f=a;c=(h*c+i*e)*65536;d:{if(D(c)<2147483648){d=~~c;break d}d=-2147483648}v[f+216>>2]=d;Bs(v[a+180>>2],a+212|0,0)}function Dab(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,j=0,k=0;if(e){k=e-1|0;a=0;while(1){u[g>>1]=x[f>>1];g=g+2|0;h=a?(a|0)==(k|0)?d:b:c;a:{if(h>>>0<2){break a}j=h-1|0;i=j&7;if(h-2>>>0>=7){h=j&-8;while(1){u[g>>1]=x[f>>1];u[g+2>>1]=x[f>>1];u[g+4>>1]=x[f>>1];u[g+6>>1]=x[f>>1];u[g+8>>1]=x[f>>1];u[g+10>>1]=x[f>>1];u[g+12>>1]=x[f>>1];u[g+14>>1]=x[f>>1];g=g+16|0;h=h-8|0;if(h){continue}break}}if(!i){break a}while(1){u[g>>1]=x[f>>1];g=g+2|0;i=i-1|0;if(i){continue}break}}f=f+2|0;a=a+1|0;if((e|0)!=(a|0)){continue}break}}return 0}function IFa(a,b){a=a|0;b=b|0;var c=0;c=fc(88);v[299999]=0;v[c+8>>2]=a;v[c>>2]=889e3;v[c+16>>2]=0;v[c+12>>2]=b;v[c+4>>2]=a;b=c;a=v[299999];v[299999]=0;a:{if((a|0)!=1){v[c+32>>2]=-755914244;v[c+36>>2]=1062232653;v[c+20>>2]=0;v[c+24>>2]=0;v[c>>2]=890268;v[c+40>>2]=0;v[c+44>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;a=c- -64|0;v[a>>2]=0;v[a+4>>2]=0;v[c+56>>2]=-755914244;v[c+60>>2]=1062232653;v[c+72>>2]=0;v[c+76>>2]=0;v[c+80>>2]=0;v[299999]=0;R(3307,c|0);a=v[299999];v[299999]=0;if((a|0)==1){a=P()|0;O()|0;dl(b);break a}return c|0}a=P()|0;O()|0}dc(c);T(a|0);L()}function vt(a,b){var c=0,d=0,e=0;c=v[a+24>>2];if(c>>>0>>0){b=65536-b|0;d=b+c|0;c=b+v[a+20>>2]|0;a:{if(c>>>0>=65280){b=t[((c&255)+a|0)+2604|0]+8|0;break a}b=t[((c>>>8|0)+a|0)+2604|0]}v[a+20>>2]=c<>2]>>>c|d<>2]=b;e=a;if(c>>>0<=15){wt(a);b=v[a+24>>2]}v[e+28>>2]=b>>>0<32767?b:32767;return 1}v[a+20>>2]=b<<1&65534;b=w[a+18|0]-1|0;t[a+18|0]=b;d=b&255;b=v[a+36>>2]>>>d&1|c<<1&65534;v[a+24>>2]=b;e=a;if(d>>>0<=15){wt(a);b=v[a+24>>2]}v[e+28>>2]=b>>>0<32767?b:32767;return 0}function js(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;e=Qb-16|0;Qb=e;v[e+12>>2]=0;v[e+8>>2]=0;d=w[b+11|0];f=d<<24>>24<0;ll(f?v[b>>2]:b,f?v[b+4>>2]:d,e+12|0,e+8|0,0);d=v[e+12>>2];c=zh(d,c?335752:301722);v[a+4>>2]=c;if(d){dc(d);c=v[a+4>>2]}a:{if(!c){break a}zg(c,0,2);h=a,i=tp(v[a+4>>2]),v[h+12>>2]=i;zg(v[a+4>>2],0,0);v[a+8>>2]=0;d=w[b+11|0];c=d<<24>>24<0;d=c?v[b+4>>2]:d;b:{if(!(!d|v[((d<<2)+(c?v[b>>2]:b)|0)-4>>2]!=47)){v[a+12>>2]=2147483647;break b}g=1;if(v[a+12>>2]!=2147483647){break a}}Ub[v[v[a>>2]+8>>2]](a);g=0}Qb=e+16|0;return g|0}function dOa(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;d=w[a+11|0];g=d<<24>>24<0?v[a+4>>2]:d;a:{if(!g){break a}v[b>>2]=0;e=g<<1|1;d=e+e|0;i=fc(e>>>0>d>>>0?-1:d);f=ic(i,0,e<<1);e=f;while(1){d=v[Rq(a,h)>>2];b:{if(d>>>0<=65535){u[e>>1]=d;d=1;break b}u[e+2>>1]=d&1023|56320;u[e>>1]=d+16711680>>>10|55296;d=2}e=(d<<1)+e|0;h=h+1|0;if((h|0)!=(g|0)){continue}break}d=e-f|0;v[b>>2]=d>>1;if(!d){dc(f);return 0}if(w[c|0]){break a}e=0;while(1){a=e+f|0;b=w[a|0];c=a;a=f+(e|1)|0;t[c|0]=w[a|0];t[a|0]=b;e=e+2|0;if(d>>>0>e>>>0){continue}break}}return i|0}function zI(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=Qb-16|0;Qb=g;a:{if(!a|(b|0)<0|((c|0)<0|(d|0)<0)){break a}if((e|0)<0){break a}h=g+12|0;i=g+8|0;j=g+4|0;if(a){if(h){v[h>>2]=v[a>>2]}if(i){v[i>>2]=v[a+4>>2]}if(j){v[j>>2]=v[a+8>>2]}}h=v[g+12>>2]+b|0;k=h+c|0;i=v[g+8>>2]+d|0;l=i+e|0;j=CI(k,l,v[g+4>>2]);if(!j){break a}f=j;if(!(!a|!f|(a|0)==(f|0))){v[f+20>>2]=v[a+20>>2];v[f+24>>2]=v[a+24>>2]}wA(f,a);Oe(f,0,0,b,l,0,0,0,0);Oe(f,h,0,c,l,0,0,0,0);Oe(f,0,0,k,d,0,0,0,0);Oe(f,0,i,k,e,0,0,0,0);Oe(f,b,d,v[g+12>>2],v[g+8>>2],24,a,0,0)}Qb=g+16|0;return f}function sX(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=C(0),j=0,k=0,l=C(0),m=C(0),n=C(0),o=0;k=v[a+12>>2];if(!k){return 0}Ub[v[v[k>>2]+76>>2]](k,b,c,d,A[e>>3],0,0)|0;i=C(A[b>>3]);l=C(A[c>>3]);m=C(A[d>>3]);n=C(A[e>>3]);a=a+16|0;A[a- -64>>3]=0;A[a+56>>3]=0;A[a+48>>3]=n;A[a+40>>3]=m;A[a+32>>3]=l;A[a+24>>3]=i;i=C(C(i*n)-C(l*m));j=+i;h=1/j;h=i-.001?-1e3:h:h;A[a+72>>3]=i>=C(0)?j<.001?1e3:h:h;j=A[a+72>>3];h=+C(A[f>>3]);o=+C(A[g>>3]);z[a>>2]=j*(A[a+48>>3]*h-A[a+40>>3]*o);z[a+4>>2]=j*(A[a+24>>3]*o-A[a+32>>3]*h);return 1}function b$a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=v[b>>2];if((d|0)==-1){return 0}a=v[a+16>>2];c=w[a+12|0]|w[a+13|0]<<8|(w[a+14|0]<<16|w[a+15|0]<<24);f=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=d+1|0;c=c>>>0>>0?f:c;d=c-f|0;e=w[a+16|0]|w[a+17|0]<<8|(w[a+18|0]<<16|w[a+19|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);if(d>>>0>=e>>>0){v[b>>2]=c;return 0}f=e+f|0;a=(a+(d<<1)|0)+20|0;while(1){g=w[a+1|0]|w[a|0]<<8;if(g){v[b>>2]=c;return g|0}if((c|0)==-1){return 0}a=a+2|0;c=c+1|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}v[b>>2]=f;return 0}function Naa(a,b){a=a|0;b=b|0;var c=0,d=0;d=Qb-16|0;Qb=d;if((b&-2)==34676){a:{if(!Kl(a,84128,2)){zc(v[a+628>>2],84104,10413,0);a=0;break a}c=jc(32);v[a+584>>2]=c;if(c){eg(c,0,32);v[c+20>>2]=447;v[c+4>>2]=(b|0)==34677;v[c>>2]=-1;v[a+556>>2]=448;v[a+548>>2]=449;v[a+516>>2]=450;v[a+572>>2]=451;v[a+564>>2]=452;v[a+560>>2]=453;v[a+552>>2]=454;v[a+524>>2]=455;v[c+24>>2]=v[a+672>>2];v[a+672>>2]=456;v[c+28>>2]=v[a+668>>2];v[a+668>>2]=457;a=1;break a}b=v[a+628>>2];v[d>>2]=v[a>>2];zc(b,84104,13159,d);a=0}Qb=d+16|0;return a|0}X(3027,6284,1567,84104);L()}function K0a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{if(w[a+64|0]){break a}t[a+64|0]=1;e=v[a+20>>2];b:{if(w[a+65|0]){d=v[a+12>>2];if((u[d+20>>1]+u[d+56>>1]|0)+1>>>0>y[d+8>>2]){d=xg(d,0,1);if(d){break a}}f=x[e>>1];d=f<<16>>16;if((d|0)<1){break b}u[(v[e+12>>2]+(f<<1)|0)-2>>1]=x[e+2>>1]-1}d=x[e>>1]}u[e>>1]=d+1;d=v[a+12>>2];if((u[d+22>>1]+u[d+58>>1]|0)+1>>>0>y[d+4>>2]){d=xg(d,1,0);if(d){break a}}d=v[a+20>>2];if(w[a+65|0]){a=v[d+8>>2];e=u[d+2>>1];f=v[d+4>>2]+(e<<3)|0;v[f+4>>2]=c>>10;v[f>>2]=b>>10;t[a+e|0]=1}u[d+2>>1]=x[d+2>>1]+1;d=0}return d|0}function vPa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=+v[a>>2]*.015625;g=+v[a+4>>2]*.015625;a=v[b>>2];c=v[a+16>>2];if((c|0)!=v[a+24>>2]){c=(c+v[a+12>>2]|0)-1|0;t[c|0]=w[c|0]&253;c=v[a+20>>2];d=v[a+16>>2];a:{if((c|0)>(d|0)){c=v[a+12>>2];break a}if(!c){v[a+20>>2]=32;c=32}if((c|0)<=(d|0)){while(1){c=c<<1;if((d|0)>=(c|0)){continue}break}v[a+20>>2]=c}h=a,i=be(v[a+8>>2],c<<4),v[h+8>>2]=i;c=be(v[a+12>>2],v[a+20>>2]);v[a+12>>2]=c;d=v[a+16>>2]}e=v[a+8>>2]+(d<<4)|0;A[e+8>>3]=g;A[e>>3]=f;t[c+d|0]=2;v[a+16>>2]=v[a+16>>2]+1}v[b+4>>2]=1;return 0}function jz(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=Qb-16|0;Qb=h;a:{if((e|0)<1){break a}i=e&3;if(e-1>>>0>=3){j=e&-4;while(1){g=h+8|0;t[g+f|0]=c;t[(f|1)+g|0]=(d&255)<<24|c>>>8;t[(f|2)+g|0]=(d&65535)<<16|c>>>16;l=(f|3)+g|0;g=d>>>24|0;k=(d&16777215)<<8|c>>>24;t[l|0]=k;f=f+4|0;c=d;d=0;j=j-4|0;if(j){continue}break}}if(i){while(1){g=d;k=c;t[(h+8|0)+f|0]=c;f=f+1|0;c=(d&255)<<24|c>>>8;d=d>>>8|0;i=i-1|0;if(i){continue}break}}if(!g&k>>>0<256|(e|0)<1){break a}ic(h+8|0,255,e)}a=Ub[v[a+8>>2]](v[a+28>>2],b,h+8|0,e)|0;Qb=h+16|0;return(a|0)!=(e|0)?-1:0}function Opa(a){a=a|0;var b=0,c=0,d=0,e=0;c=Qb-16|0;Qb=c;b=fc(136);v[299999]=0;d=S(4589,b|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){a=P()|0;O()|0;dc(b);T(a|0);L()}v[c+8>>2]=0;b=c+8|0;Wc(b,d);v[299999]=0;Q(4344,a+8|0,b|0)|0;a=v[299999];v[299999]=0;a:{if((a|0)!=1){a=v[c+8>>2];v[c+8>>2]=0;b:{if(!a){break b}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(b){break b}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Qb=c+16|0;return}a=P()|0;O()|0;ec(c+8|0);T(a|0);L()}W(0)|0;O()|0;lc();L()}function gDa(a,b,c){a=a|0;b=b|0;c=c|0;ME(v[a+28>>2],v[b>>2]==1?+v[b+8>>2]:A[b+8>>3],v[b+16>>2]==1?+v[b+24>>2]:A[b+24>>3],v[b+32>>2]==1?+v[b+40>>2]:A[b+40>>3],v[b+48>>2]==1?+v[b+56>>2]:A[b+56>>3],v[b+64>>2]==1?+v[b+72>>2]:A[b+72>>3],v[b+80>>2]==1?+v[b+88>>2]:A[b+88>>3]);c=v[a+8>>2];Ub[v[v[c>>2]+76>>2]](c,v[a+28>>2],v[b>>2]==1?+v[b+8>>2]:A[b+8>>3],v[b+16>>2]==1?+v[b+24>>2]:A[b+24>>3],v[b+32>>2]==1?+v[b+40>>2]:A[b+40>>3],v[b+48>>2]==1?+v[b+56>>2]:A[b+56>>3],v[b+64>>2]==1?+v[b+72>>2]:A[b+72>>3],v[b+80>>2]==1?+v[b+88>>2]:A[b+88>>3]);v[a+32>>2]=1}function fIa(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,h=0,i=0,j=0;g=v[v[a+4>>2]>>2];if(g){i=b+1|0;b=v[v[go(v[g+28>>2],i)+12>>2]+168>>2];g=(b-((b|0)<359?b:359)|0)+359|0;g=g-((g>>>0)%360|0)|0;h=b-g|0;j=(g+((h|0)>0?h:0)|0)-b|0;h=(j|0)!=0;b=(B(h+((j-h>>>0)/360|0)|0,360)+b|0)-g|0;a:{if(!((b|0)==180|!b)){b=d;d=c;break a}b=c}c=b;b=v[go(v[v[v[a+4>>2]>>2]+28>>2],i)+12>>2];A[c>>3]=A[b+48>>3]-A[b+32>>3];a=v[go(v[v[v[a+4>>2]>>2]+28>>2],i)+12>>2];A[d>>3]=A[a+56>>3]-A[a+40>>3];v[e>>2]=0;v[e+4>>2]=1079115776;v[f>>2]=0;v[f+4>>2]=1079115776}}function Vq(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,h=0,i=0,j=0;i=Qb-16|0;Qb=i;a:{b:{if(!a){break b}g=v[e+12>>2];h=c-b|0;if((h|0)>=1){if((Ub[v[v[a>>2]+48>>2]](a,b,h)|0)!=(h|0)){break b}}b=d-b|0;g=(b|0)<(g|0)?g-b|0:0;if((g|0)>=1){f=mM(i,g,f);b=f;if(w[b+11|0]>>>7|0){b=v[b>>2]}v[299999]=0;b=Y(5581,a|0,b|0,g|0)|0;h=v[299999];v[299999]=0;if((h|0)==1){break a}Mc(f);if((b|0)!=(g|0)){break b}}b=d-c|0;if((b|0)>=1){if((Ub[v[v[a>>2]+48>>2]](a,c,b)|0)!=(b|0)){break b}}v[e+12>>2]=0;j=a}Qb=i+16|0;return j|0}a=P()|0;O()|0;Mc(f);T(a|0);L()}function Lgb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=v[a+52>>2];if(v[a+4>>2]==16){c=v[v[a+44>>2]+88>>2]+B(v[a+8>>2],1876)|0}else{c=v[a+36>>2]}e=v[a+40>>2];Ub[v[v[b>>2]+20>>2]](b,2)|0;g=c,h=Ub[v[v[b>>2]+20>>2]](b,1)|0,v[g+4>>2]=h;g=c,h=Ub[v[v[b>>2]+20>>2]](b,1)|0,v[g+8>>2]=h;g=c,h=Ub[v[v[b>>2]+20>>2]](b,2)|0,v[g+12>>2]=h;g=c,h=Ub[v[v[b>>2]+20>>2]](b,1)|0,v[g+16>>2]=h;f=Ub[v[v[b>>2]+36>>2]](b)|0;if(v[e+16>>2]>0){while(1){v[v[c+1872>>2]+B(d,1076)>>2]=v[c+4>>2]&1;Ub[v[v[b>>2]+28>>2]](b,f);_1(a,d);d=d+1|0;if((d|0)>2]){continue}break}}}function tya(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;var j=0,k=0;v[a+20>>2]=f;v[a+16>>2]=e;v[a+12>>2]=d;v[a+8>>2]=c;v[a>>2]=963004;v[a+4>>2]=b;b=1;a:{if((f|0)>=1){b=2147483644;if((f|0)<2147483645){break a}}v[a+20>>2]=b;f=b}v[a+32>>2]=i;v[a+28>>2]=h;v[a+24>>2]=g;v[a+36>>2]=i?255:0;j=a,k=ed(f+1|0,4),v[j+60>>2]=k;b=ed(v[a+20>>2]+3|0,4);v[a+48>>2]=0;v[a+40>>2]=0;v[a+64>>2]=b;v[a+56>>2]=0;v[a+44>>2]=v[a+8>>2]>>>31;v[v[a+60>>2]>>2]=v[a+20>>2];v[a+80>>2]=0;v[a+72>>2]=0;v[a+76>>2]=0;v[a+68>>2]=v[a+20>>2];return a|0}function Reb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=v[a+224>>2];a:{if(!c){break a}b=v[a+644>>2];e=Ub[c|0](a,v[a+680>>2]+v[a+572>>2]|0)|0;d=v[a+660>>2];f=v[a+656>>2];c=d-f|0;if((c|0)<1){break a}a=e+B(v[a+672>>2],3)|0;if(d-f&1){t[b|0]=w[a|0];t[b+1|0]=w[a+1|0];e=w[a+2|0];t[b+3|0]=0;t[b+2|0]=e;c=c-1|0;b=b+4|0;a=a+3|0}if((d|0)==(f+1|0)){break a}while(1){t[b|0]=w[a|0];t[b+1|0]=w[a+1|0];d=w[a+2|0];t[b+3|0]=0;t[b+2|0]=d;t[b+4|0]=w[a+3|0];t[b+5|0]=w[a+4|0];d=w[a+5|0];t[b+7|0]=0;t[b+6|0]=d;a=a+6|0;b=b+8|0;d=(c|0)>2;c=c-2|0;if(d){continue}break}}return 0}function Qeb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=v[a+224>>2];a:{if(!c){break a}b=v[a+644>>2];e=Ub[c|0](a,v[a+680>>2]+v[a+572>>2]|0)|0;d=v[a+660>>2];f=v[a+656>>2];c=d-f|0;if((c|0)<1){break a}a=e+B(v[a+672>>2],3)|0;if(d-f&1){t[b|0]=w[a+2|0];t[b+1|0]=w[a+1|0];e=w[a|0];t[b+3|0]=0;t[b+2|0]=e;c=c-1|0;b=b+4|0;a=a+3|0}if((d|0)==(f+1|0)){break a}while(1){t[b|0]=w[a+2|0];t[b+1|0]=w[a+1|0];d=w[a|0];t[b+3|0]=0;t[b+2|0]=d;t[b+4|0]=w[a+5|0];t[b+5|0]=w[a+4|0];d=w[a+3|0];t[b+7|0]=0;t[b+6|0]=d;a=a+6|0;b=b+8|0;d=(c|0)>2;c=c-2|0;if(d){continue}break}}return 0}function Peb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=v[a+224>>2];a:{if(!c){break a}b=v[a+644>>2];e=Ub[c|0](a,v[a+680>>2]+v[a+572>>2]|0)|0;d=v[a+660>>2];f=v[a+656>>2];c=d-f|0;if((c|0)<1){break a}a=e+B(v[a+672>>2],3)|0;if(d-f&1){t[b|0]=w[a+2|0];t[b+1|0]=w[a+1|0];e=w[a|0];t[b+3|0]=0;t[b+2|0]=e;c=c-1|0;b=b+4|0;a=a+4|0}if((d|0)==(f+1|0)){break a}while(1){t[b|0]=w[a+2|0];t[b+1|0]=w[a+1|0];d=w[a|0];t[b+3|0]=0;t[b+2|0]=d;t[b+4|0]=w[a+6|0];t[b+5|0]=w[a+5|0];d=w[a+4|0];t[b+7|0]=0;t[b+6|0]=d;a=a+8|0;b=b+8|0;d=(c|0)>2;c=c-2|0;if(d){continue}break}}return 0}function I0a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=v[v[a+4>>2]+712>>2];a:{b:{if(!v[d+2024>>2]){d=d+1372|0;break b}e=Ub[v[v[d+3088>>2]+8>>2]](d+3052|0,c)|0;c=3;if(e>>>0>=y[d+2024>>2]){break a}d=v[(d+(e<<2)|0)+2028>>2];if(!v[a+68>>2]|!b){break b}v[a+72>>2]=v[(v[v[b+40>>2]>>2]+(e<<2)|0)+4>>2]}b=v[d+620>>2];v[a+728>>2]=b;v[a+744>>2]=v[d+644>>2];c=0;e=a;f=0;c:{if(v[v[a+108>>2]+1416>>2]==1){break c}f=107;if(b>>>0<1240){break c}f=b>>>0<33900?1131:32768}v[e+736>>2]=f;v[a+584>>2]=v[d+540>>2];b=v[d+544>>2];v[a+768>>2]=d;v[a+588>>2]=b}return c|0}function tDa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;c=Qb-32|0;Qb=c;f=v[b+8>>2];e=v[a+20>>2];a:{while(1){d=v[e+4>>2];if(d){d=OE(d,f);if(d){break a}}e=v[e+104>>2];if(e){continue}break}v[c+16>>2]=f;kc(1,-1,345502,c+16|0);d=0}b:{if(!d){a=v[a+28>>2];v[a+496>>2]=0;v[a+500>>2]=0;v[a+492>>2]=0;break b}g=v[b+16>>2]==1?+v[b+24>>2]:A[b+24>>3];if(v[a+16>>2]){e=v[v[d+4>>2]+4>>2];b=v[d+16>>2];if(b){b=v[b+4>>2]}else{b=322558}A[c+8>>3]=g;v[c+4>>2]=b;v[c>>2]=e;hw(351740,c);Qi(v[252393])}b=v[a+28>>2];A[b+496>>3]=g;v[b+492>>2]=d;v[a+32>>2]=1}Qb=c+32|0}function WNa(){var a=0;a=v[294114];if(a){tW(a);v[294114]=0}v[294115]=0;a=v[294104];a:{if(!a){break a}ch(a);v[294104]=0;a=v[294105];if(!a){break a}ch(a);v[294105]=0;a=v[294106];if(!a){break a}ch(a);v[294106]=0;a=v[294107];if(!a){break a}ch(a);v[294107]=0;a=v[294108];if(!a){break a}ch(a);v[294108]=0;a=v[294109];if(!a){break a}ch(a);v[294109]=0;a=v[294110];if(!a){break a}ch(a);v[294110]=0;a=v[294111];if(!a){break a}ch(a);v[294111]=0;a=v[294112];if(!a){break a}ch(a);v[294112]=0;a=v[294113];if(!a){break a}ch(a);v[294113]=0}v[294117]=0;return 1}function yI(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(!a){return 0}if(!b){if(a){v[a+16>>2]=v[a+16>>2]+1}return a}g=b;d=Qb-16|0;Qb=d;c=b;a:{if(!a|(c|0)<0|((c|0)<0|(c|0)<0)){break a}if((c|0)<0){break a}e=d+12|0;f=d+8|0;h=d+4|0;if(a){if(e){v[e>>2]=v[a>>2]}if(f){v[f>>2]=v[a+4>>2]}if(h){v[h>>2]=v[a+8>>2]}}e=v[d+12>>2]-(b+b|0)|0;if((e|0)<1){break a}f=v[d+8>>2]-(c+g|0)|0;if((f|0)<1){break a}c=CI(e,f,v[d+4>>2]);if(!c){break a}if(!(!a|!c|(a|0)==(c|0))){v[c+20>>2]=v[a+20>>2];v[c+24>>2]=v[a+24>>2]}wA(c,a);Oe(c,0,0,e,f,24,a,b,g);i=c}Qb=d+16|0;return i}function Oia(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Qb-32|0;Qb=c;a:{if(!(v[b>>2]>2]&v[b+4>>2]>2])){a=vc(c+8|0,330024,241056,334,343182,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}b=P()|0;O()|0;qc(a);T(b|0);L()}d=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=d;d=v[b+12>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=d;if(w[a+32|0]&4){e=a,f=Hib(v[a>>2],v[a+4>>2],32),v[e>>2]=f;v[a+4>>2]=Tb;e=a,f=Hib(v[a+8>>2],v[a+12>>2],32),v[e+8>>2]=f;v[a+12>>2]=Tb}v[a+36>>2]=0;v[a+40>>2]=1;v[a+44>>2]=0;v[a+48>>2]=1;Qb=c+32|0;return}L()}function IR(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;a:{if((b|0)<0|v[a+44>>2]<=(b|0)){break a}b:{c:{switch(w[a+100|0]){case 0:b=v[a+40>>2]+(b<<3)|0;A[c>>3]=A[b>>3];A[e>>3]=A[b+8>>3];A[d>>3]=A[a+16>>3];a=a+24|0;break b;case 1:A[c>>3]=A[a>>3];A[e>>3]=A[a+8>>3];a=v[a+40>>2]+(b<<3)|0;A[d>>3]=A[a>>3];a=a+8|0;break b;case 2:b=v[a+40>>2]+(b<<3)|0;A[c>>3]=A[b+8>>3];A[e>>3]=A[b>>3];A[d>>3]=A[a+16>>3];a=a+24|0;break b;case 3:break c;default:break a}}A[c>>3]=A[a>>3];A[e>>3]=A[a+8>>3];a=v[a+40>>2]+(b<<3)|0;A[d>>3]=A[a+8>>3]}A[f>>3]=A[a>>3]}}function sz(a,b){var c=0,d=0,e=0,f=0,g=0;a:{if(v[b>>2]>0){break a}f=wW(v[a+16>>2],845464,v[a+20>>2],2739,b);if(v[b>>2]>0){break a}e=qW(f);b:{if(v[b>>2]>0){break b}d=13;c:{c=t[e+69|0];d:{if((c&65534)>>>0>33|((c&63)>>>0>=32?0:515>>>c|0)&1){break d}c=v[(c<<2)+845328>>2];if(!w[c+17|0]|v[c+4>>2]!=1|v[e>>2]!=100){break d}d=Pg(228);if(d){break c}d=7}v[b>>2]=d;break b}c=gc(d,c,228);t[c+16|0]=0;v[c+12>>2]=e;v[c+8>>2]=f;g=v[v[c+20>>2]+4>>2];if(g){Ub[g|0](c,a,v[e>>2]+e|0,b);if(v[b>>2]<1){break a}_e(c);d=0}if(v[b>>2]<1){break a}}ch(f);d=0}return d}function Xc(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=a;a:{b:{c:{if((e^b)&3){break c}d=(c|0)!=0;d:{if(!(b&3)|!c){break d}while(1){d=w[b|0];t[e|0]=d;if(!d){break a}e=e+1|0;c=c-1|0;d=(c|0)!=0;b=b+1|0;if(!(b&3)){break d}if(c){continue}break}}if(!d){break b}if(!w[b|0]){break a}if(c>>>0<4){break c}while(1){d=v[b>>2];if((d^-1)&d-16843009&-2139062144){break c}v[e>>2]=d;e=e+4|0;b=b+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(!c){break b}while(1){d=w[b|0];t[e|0]=d;if(!d){break a}e=e+1|0;b=b+1|0;c=c-1|0;if(c){continue}break}}c=0}ic(e,0,c);return a|0}function VZ(a,b){var c=0,d=0,e=0,f=0;f=Qb-16|0;Qb=f;a:{b:{d=v[a+20>>2];if((d|0)!=v[a+12>>2]){e=v[a+28>>2];break b}c=v[a+16>>2];v[f+12>>2]=0;c:{c=c+d|0;e=v[a+8>>2];if(c>>>0>2147483647/(e>>>0)>>>0){break c}d=B(c,e);e=Cc(v[a>>2],1,v[a+24>>2],d,v[a+28>>2],f+12|0);v[a+28>>2]=e;if(v[f+12>>2]){break c}v[a+24>>2]=d;v[a+12>>2]=c;d=v[a+20>>2];if(c>>>0>=d>>>0){break b}b=v[a+4>>2];if(!(!b|v[b>>2])){v[b>>2]=130}v[a+20>>2]=c;break a}a=v[a+4>>2];if(!a|v[a>>2]){break a}v[a>>2]=64;break a}c=v[a+8>>2];gc(B(c,d)+e|0,b,c);v[a+20>>2]=v[a+20>>2]+1}Qb=f+16|0}function rEa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;v[a>>2]=896232;c=gc(a,b,1072);f=c,g=ed(v[c+1044>>2],4),v[f+1048>>2]=g;d=v[c+1044>>2];if((d|0)>=1){a=0;while(1){d=a<<2;e=v[d+v[b+1048>>2]>>2];e=Ub[v[v[e>>2]+8>>2]](e)|0;v[d+v[c+1048>>2]>>2]=e;a=a+1|0;d=v[c+1044>>2];if((a|0)<(d|0)){continue}break}}a=ed(d+1|0,8);v[c+1052>>2]=a;gc(a,v[b+1052>>2],(v[c+1044>>2]<<3)+8|0);a=ed(v[c+1044>>2]<<1,8);v[c+1056>>2]=a;gc(a,v[b+1056>>2],v[c+1044>>2]<<4);a=ed(v[c+1044>>2],8);v[c+1060>>2]=a;gc(a,v[b+1060>>2],v[c+1044>>2]<<3);v[c+1064>>2]=1;return c|0}function dL(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;f=Qb-16|0;Qb=f;v[f+12>>2]=0;if(w[b+11|0]>>>7|0){b=v[b>>2]}v[f+8>>2]=v[299402];v[299402]=0;i=f+12|0;g=Qb-208|0;Qb=g;e=ic(g,0,144);v[e+76>>2]=-1;v[e+48>>2]=60;v[e+44>>2]=e+144|4;v[e+32>>2]=5938;g=b;while(1){h=b;b=b+4|0;if(CM(v[h>>2])){continue}break}v[e+84>>2]=h;Bj(e,0,0);b=tN(e,d,1,-2147483648,0);if(i){d=v[e+120>>2]+(v[e+4>>2]-v[e+8>>2]|0)|0;v[i>>2]=d?(d<<2)+h|0:g}Qb=e+208|0;ar(1197608,f+8|0);if(v[f+8>>2]==68){PB(a)}if(v[f+12>>2]==(g|0)){bL(a)}if(c){v[c>>2]=v[f+12>>2]-g>>2}Qb=f+16|0;return b}function bYa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=Qb-16|0;Qb=e;a=v[a+532>>2];a:{if(!a){f=6;break a}Qz(v[a+136>>2],e,v[a+4>>2]);d=v[a+4>>2];a=b>>>0>d>>>0?d:b;if(a){gc(c,e,a<<2)}if(b>>>0<=d>>>0){break a}g=(a^-1)+b|0;d=b-a&7;if(d){while(1){v[(a<<2)+c>>2]=32768;a=a+1|0;d=d-1|0;if(d){continue}break}}if(g>>>0<7){break a}while(1){d=(a<<2)+c|0;v[d>>2]=32768;v[d+4>>2]=32768;v[d+24>>2]=32768;v[d+28>>2]=32768;v[d+16>>2]=32768;v[d+20>>2]=32768;v[d+8>>2]=32768;v[d+12>>2]=32768;a=a+8|0;if((b|0)!=(a|0)){continue}break}}Qb=e+16|0;return f|0}function bH(a,b,c,d,e,f){a:{b:{if((f|0)==255){if(!e){break b}if((e|0)==255){break a}f=b;b=w[a+2|0];t[a+2|0]=B(f-b|0,e)+(b<<8)>>>8;b=w[a+1|0];t[a+1|0]=B(c-b|0,e)+(b<<8)>>>8;b=w[a+3|0];t[a+3|0]=b+e-(B(b,e)+255>>>8);b=a;a=w[a|0];t[b|0]=B(d-a|0,e)+(a<<8)>>>8;return}if(!e){break b}e=B(f+1|0,e)>>>8|0;if((e|0)==255){break a}f=b;b=w[a+2|0];t[a+2|0]=B(e,f-b|0)+(b<<8)>>>8;b=w[a+1|0];t[a+1|0]=B(e,c-b|0)+(b<<8)>>>8;b=w[a+3|0];t[a+3|0]=b+e-(B(b,e)+255>>>8);b=a;a=w[a|0];t[b|0]=B(e,d-a|0)+(a<<8)>>>8}return}t[a+1|0]=c;t[a+2|0]=b;t[a+3|0]=255;t[a|0]=d}function Kja(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;f=(c|0)/2|0;v[a+104>>2]=f;d=(b|0)/2|0;v[a+100>>2]=d;e=v[a+124>>2];g=e+b|0;v[a+132>>2]=g;b=c;c=v[a+128>>2];b=b+c|0;v[a+136>>2]=b;b=(b+c|0)/2|0;c=(e+g|0)/2|0;a:{if((d|0)>(f|0)){g=c;h=K(+(B(d,d)-B(f,f)|0));b:{if(D(h)<2147483648){e=~~h;break b}e=-2147483648}j=g-e|0;c=c+e|0;g=f;e=b;break a}h=K(+(B(f,f)-B(d,d)|0));c:{if(D(h)<2147483648){i=~~h;break c}i=-2147483648}e=i+b|0;g=d;d=f;j=c;b=b-i|0}v[a+120>>2]=b;v[a+116>>2]=j;v[a+108>>2]=c;v[a+92>>2]=d;v[a+96>>2]=g;v[a+112>>2]=e}function BIa(a){a=a|0;var b=0,c=0,d=0,e=0;d=Qb-16|0;Qb=d;b=Ub[v[259704]](56)|0;a:{if(!b){v[d>>2]=291415;b=0;oc(0,0,0,0,0,23,2,3,291415,0,0,0,350051,d);break a}v[b>>2]=0;v[b+4>>2]=0;v[b+48>>2]=0;v[b+52>>2]=0;v[b+40>>2]=0;v[b+44>>2]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b+4>>2]=15;v[b+36>>2]=v[a+36>>2];e=b;c=v[a+8>>2];if(c){c=we(c)}else{c=0}v[e+8>>2]=c;e=b;c=v[a+48>>2];if(c){c=we(c)}else{c=0}v[e+48>>2]=c;a=Cu(0,v[a+40>>2]);v[b+44>>2]=0;v[b+40>>2]=a}Qb=d+16|0;return b|0}function nz(a,b){var c=0;if(a-192>>>0<=127){v[b>>2]=192;return 249}if(a-592>>>0<128){v[b>>2]=592;return 250}if(a-880>>>0<128){v[b>>2]=880;return 251}if(a-1328>>>0<128){v[b>>2]=1328;return 252}if(a-12352>>>0<128){v[b>>2]=12352;return 253}if(a-12448>>>0<128){v[b>>2]=12448;return 254}if(a-65376>>>0<128){v[b>>2]=65376;return 255}c=-1;a:{if(a>>>0<128){break a}if(!(!(a-118784>>>0<12288|a>>>0<13312)&(a&-16384)!=65536)){v[b>>2]=a&2147483520;return a>>>7|0}if((a|0)==65279|a-57344>>>0>8175){break a}v[b>>2]=a&2147483520;c=a-44032>>>7|0}return c}function a7a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;if(v[c>>2]!=1396790853){pc(a,2050,0,0);return 2050}t[b+32|0]=w[c+32|0];t[b+33|0]=w[c+33|0];d=v[c+36>>2];v[b+36>>2]=d;a:{b:{if(!d){break b}d=B(d,36);e=Ub[v[a+152>>2]](d)|0;v[b+40>>2]=e;if(!e){break a}gc(e,v[c+40>>2],d);d=v[b+36>>2];if(!d){break b}c=v[b+40>>2];while(1){e=v[c+28>>2];c:{if(e){d=v[c+32>>2];e=Ub[v[a+152>>2]](e)|0;v[c+32>>2]=e;if(!e){break a}gc(e,d,v[c+28>>2]);d=v[b+36>>2];break c}v[c+32>>2]=0}c=c+36|0;f=f+1|0;if(f>>>0>>0){continue}break}}return 0}pc(a,1,0,0);return 1}function Ehb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=a+16|0;f=c;g=v[a+4>>2];d=a+12|0;h=d;a:{b:{c:{if(y[b>>2]<=256){d=v[c+8>>2];b=0;if(d&7){break b}b=v[c+64>>2];d:{if(!((b|0)<0|(b|0)>v[c+60>>2])){v[c+8>>2]=d|4;break d}b=v[c+28>>2];v[c+28>>2]=b-1;if((b|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=v[c+24>>2];v[c+24>>2]=b+1;b=w[b|0];break c}b=Hc(c,1);if((b|0)!=-1){break c}}b=0;break b}Of(c,d);b=-2;break a}b=b&255}v[h>>2]=b;b=-1}e:{f:{if(K2(e,f,g+b|0)){break f}b=0;if(!(t[c+8|0]&1)){break e}a=v[a+24>>2];if(!a){break f}dc(a)}b=-1}return b|0}function wua(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Qb-16|0;Qb=d;v[d+12>>2]=0;a:{b:{if(!(Ub[v[v[b>>2]+20>>2]](b,c,d+12|0)|0)){t[a|0]=0;t[a+11|0]=0;break b}c=v[d+12>>2];b=v[c+4>>2];if(b>>>0>=4294967280){break a}f=v[c>>2];c:{d:{if(b>>>0>=11){e=b+16&-16;c=fc(e);v[d+8>>2]=e|-2147483648;v[d>>2]=c;v[d+4>>2]=b;break d}t[d+11|0]=b;c=d;if(!b){break c}}gc(c,f,b)}t[b+c|0]=0;b=v[d+12>>2];if(b){e:{if(!w[b+8|0]){break e}c=v[b>>2];if(!c){break e}dc(c)}dc(b)}b=v[d+4>>2];v[a>>2]=v[d>>2];v[a+4>>2]=b;v[a+8>>2]=v[d+8>>2]}Qb=d+16|0;return}$d(d);L()}function jqa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Qb-16|0;Qb=c;b=v[b>>2];a:{if(b){Ub[v[v[b>>2]+28>>2]](c+8|0,b,1);break a}v[c+8>>2]=0}v[299999]=0;Q(4344,a|0,c+8|0)|0;b=v[299999];v[299999]=0;b:{if((b|0)!=1){b=v[c+8>>2];v[c+8>>2]=0;c:{if(!b){break c}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)==1){break b}if(d){break c}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break b}}b=v[a>>2];v[a+4>>2]=v[(b?b+12|0:1129608)>>2];Qb=c+16|0;return a|0}a=P()|0;O()|0;ec(c+8|0);T(a|0);L()}W(0)|0;O()|0;lc();L()}function YZ(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=Qb-16|0;Qb=e;v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=0;v[c+4>>2]=0;d=v[a+4>>2];a:{if(!v[v[d+128>>2]+52>>2]){d=18;f=v[a+532>>2];if(!v[f+1188>>2]|b>>>0>255){break a}h=Ub[v[v[f+3088>>2]>>2]](b)|0;g=v[f+20>>2];if(!g){break a}f=v[f+1188>>2];b=0;while(1){if(x[f+(b<<1)>>1]!=(h|0)){b=b+1|0;if((g|0)!=(b|0)){continue}break a}break}if((b|0)<0){break a}d=v[a+4>>2]}d=Ub[v[a+596>>2]](d,b,e+12|0,e+8|0)|0;if(d){break a}a=v[e+12>>2];v[c+4>>2]=a;b=v[e+8>>2];v[c+12>>2]=a;d=0;v[c+8>>2]=a?a+b|0:0}Qb=e+16|0;return d}function YJa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;rm(c,0,d,0,v[a+272>>2],v[a+28>>2]);c=B(v[b+36>>2],v[b+28>>2]);b=v[a+28>>2];c=c-b|0;a:{if((c|0)<1){break a}e=v[a+272>>2];if((e|0)<1){break a}g=e&3;a=0;if(e-1>>>0>=3){h=e&-4;while(1){e=a<<2;f=b+v[e+d>>2]|0;ic(f,w[f-1|0],c);f=b+v[(e|4)+d>>2]|0;ic(f,w[f-1|0],c);f=b+v[(e|8)+d>>2]|0;ic(f,w[f-1|0],c);e=b+v[(e|12)+d>>2]|0;ic(e,w[e-1|0],c);a=a+4|0;h=h-4|0;if(h){continue}break}}if(!g){break a}while(1){e=b+v[(a<<2)+d>>2]|0;ic(e,w[e-1|0],c);a=a+1|0;g=g-1|0;if(g){continue}break}}}function Xya(a,b){a=a|0;b=b|0;Ub[v[v[a>>2]+80>>2]](a,b);Ub[v[v[a>>2]+84>>2]](a,b);Ub[v[v[a>>2]+88>>2]](a,b);Ub[v[v[a>>2]+92>>2]](a,b);Ub[v[v[a>>2]+96>>2]](a,b);Ub[v[v[a>>2]+100>>2]](a,b);Ub[v[v[a>>2]+104>>2]](a,b);Ub[v[v[a>>2]+108>>2]](a,b);Ub[v[v[a>>2]+116>>2]](a,b);Ub[v[v[a>>2]+112>>2]](a,b);Ub[v[v[a>>2]+120>>2]](a,b);Ub[v[v[a>>2]+124>>2]](a,b);Ub[v[v[a>>2]+128>>2]](a,b);Ub[v[v[a>>2]+132>>2]](a,b);Ub[v[v[a>>2]+136>>2]](a,b);Ub[v[v[a>>2]+140>>2]](a,b);Ub[v[v[a>>2]+144>>2]](a,b);Ub[v[v[a>>2]+152>>2]](a,b);Ub[v[v[a>>2]+156>>2]](a,b)}function $Z(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;a:{a=v[a+20>>2];b:{if(!a){break b}c:{d:{b=x[a>>1];e=b<<16>>16;if((e|0)>=2){d=u[(v[a+12>>2]+(b<<1)|0)-4>>1]+1|0;break d}if(e){break d}b=u[a+2>>1];break c}b=u[a+2>>1];if((d|0)!=(b|0)){break c}break a}e:{if((b|0)<2){break e}c=v[a+4>>2];f=c+(d<<3)|0;c=(c+(b<<3)|0)-8|0;if(v[f>>2]!=v[c>>2]|v[f+4>>2]!=v[c+4>>2]|w[(v[a+8>>2]+b|0)-1|0]!=1){break e}b=b-1|0;u[a+2>>1]=b}if((e|0)<1){break b}c=d;d=(b<<16>>16)-1|0;if((c|0)==(d|0)){u[a+2>>1]=b-1;break a}u[(v[a+12>>2]+(e<<1)|0)-2>>1]=d}return}u[a>>1]=e-1}function oZa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=Qb-16|0;Qb=e;c=v[a>>2];a:{b:{if(w[c+8|0]&2){d=Ub[v[v[c+540>>2]+104>>2]](c,b,e+12|0)|0;if(!d){c=v[e+12>>2];v[a+116>>2]=c;b=v[a>>2];if(t[b+8|0]&1){pl(b,c);d=0;uH(a);break a}d=Ub[v[v[b+540>>2]+108>>2]](b,c,a+12|0)|0;if(!d){break b}v[a+116>>2]=-1;break a}v[a+116>>2]=-1;c=v[a>>2]}rq(c,b);if(!(t[v[a>>2]+8|0]&1)){break a}d=uH(a);if(d){break a}c=a;d=x[a+84>>1];a=v[a+44>>2];a=v[(x[a>>1]>x[a+2>>1]?12:16)+b>>2];f=c,g=jd(d,4608,v[b>>2]!=4?a?a:72:72),v[f+120>>2]=g}d=0}Qb=e+16|0;return d|0}function Rw(a){var b=0,c=0,d=0,e=0,f=0,g=0;o(+a);b=j(1)|0;f=j(0)|0;d=b;b=b&2147483647;if(b>>>0>=1072693248){if(!(b-1072693248|f)){return(d|0)>-1?0:3.141592653589793}return 0/(a-a)}a:{if(b>>>0<=1071644671){e=1.5707963267948966;if(b>>>0<1012924417){break a}return 6.123233995736766e-17-tt(a*a)*a-a+1.5707963267948966}if((d|0)<-1|(d|0)<=-1){a=(a+1)*.5;c=K(a);a=1.5707963267948966-(c+(c*tt(a)+-6.123233995736766e-17));return a+a}a=(1-a)*.5;c=K(a);g=c*tt(a);e=a;o(+c);d=j(1)|0;j(0)|0;l(0,0);l(1,d|0);a=+n();a=g+(e-a*a)/(c+a)+a;e=a+a}return e}function D7a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if(v[c>>2]!=1951551059){pc(a,2050,0,0);return 2050}t[b+32|0]=w[c+32|0];t[b+33|0]=w[c+33|0];t[b+34|0]=w[c+34|0];d=v[c+36>>2];v[b+36>>2]=d;u[b+296>>1]=x[c+296>>1];u[b+298>>1]=x[c+298>>1];u[b+300>>1]=x[c+300>>1];u[b+302>>1]=x[c+302>>1];a=v[c+304>>2];v[b+304>>2]=a;if(d){d=b+40|0;e=c+40|0;a=0;while(1){t[a+d|0]=w[a+e|0];a=a+1|0;if(a>>>0>2]){continue}break}a=v[b+304>>2]}if(a){d=b+308|0;c=c+308|0;a=0;while(1){t[a+d|0]=w[a+c|0];a=a+1|0;if(a>>>0>2]){continue}break}}return 0}function jya(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;v[a+8>>2]=13;v[a>>2]=962040;g=v[f+4>>2];v[a+8>>2]=v[f>>2];v[a+12>>2]=g;g=v[f+12>>2];v[a+16>>2]=v[f+8>>2];v[a+20>>2]=g;v[a>>2]=962256;v[299999]=0;f=S(1,8)|0;g=v[299999];v[299999]=0;a:{if((g|0)==1){b=P()|0;O()|0;v[a>>2]=962040;v[299999]=0;R(3098,a+8|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}T(b|0);L()}v[f+4>>2]=1;v[f>>2]=b;b=a+40|0;v[a+300>>2]=b;v[a+36>>2]=e;v[a+32>>2]=d;v[a+28>>2]=c;v[a+24>>2]=f;v[a+304>>2]=c;v[a+296>>2]=b;return a|0}W(0)|0;O()|0;lc();L()}function XXa(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;e=v[a+532>>2];if(!e){return 6}f=v[e>>2];i=v[b>>2];a=6;a:{if(f>>>0>i>>>0){break a}b:{if(!f){break b}h=f&3;e=v[e+136>>2];a=0;if(f-1>>>0>=3){j=f&-4;while(1){d=a<<2;v[d+c>>2]=v[e+d>>2];g=d|4;v[g+c>>2]=v[e+g>>2];g=d|8;v[g+c>>2]=v[e+g>>2];d=d|12;v[d+c>>2]=v[e+d>>2];a=a+4|0;j=j-4|0;if(j){continue}break}}if(!h){break b}while(1){d=a<<2;v[d+c>>2]=v[e+d>>2];a=a+1|0;h=h-1|0;if(h){continue}break}}a=0;if(f>>>0>=i>>>0){break a}ic((f<<2)+c|0,0,i-f<<2);a=0}v[b>>2]=f;return a|0}function _Ua(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,h=0;e=1;if(!(!v[a+16>>2]|!v[a+20>>2])){kq(a);f=v[a+20>>2];g=A[c>>3];h=A[d>>3];c=Qb-48|0;Qb=c;a=v[a+12>>2];if(a){v[c+40>>2]=0;v[c+44>>2]=1072693248;v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;v[c+16>>2]=0;v[c+20>>2]=1072693248;v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=0;v[c+4>>2]=0;d=c+40|0;e=c+32|0;Ub[v[v[a>>2]+120>>2]](a,d,e,c+24|0,c+16|0,c+8|0,c)|0;z[c+40>>2]=g;z[c+32>>2]=h;Ub[v[v[a>>2]+80>>2]](a,b,d,e)|0;Ub[v[v[a>>2]+128>>2]](a,f)|0}Qb=c+48|0;e=0}return e|0}function GO(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;f=v[c>>2];a:{d=v[b+8>>2];e=v[b>>2];if((d|0)>(e|0)){g=v[b+4>>2];b=v[b+12>>2];if((g|0)<(b|0)){break a}}v[a>>2]=f;b=v[c+8>>2];v[a+8>>2]=b;d=v[c+4>>2];v[a+4>>2]=d;e=a;a=v[c+12>>2];v[e+12>>2]=a;return(b|0)>(f|0)&(a|0)>(d|0)}b:{h=v[c+8>>2];if((h|0)>(f|0)){i=v[c+4>>2];c=v[c+12>>2];if((i|0)<(c|0)){break b}}v[a+8>>2]=d;v[a>>2]=e;v[a+12>>2]=b;v[a+4>>2]=g;return 1}v[a+8>>2]=(d|0)>(h|0)?d:h;v[a>>2]=(f|0)>(e|0)?e:f;v[a+12>>2]=(b|0)>(c|0)?b:c;v[a+4>>2]=(g|0)<(i|0)?g:i;return 1}function zpa(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=982804;id(a+16|0);b=v[a+12>>2];v[a+12>>2]=0;a:{b:{if(!b){break b}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break b}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a+8>>2];v[a+8>>2]=0;c:{if(!b){break c}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break c}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}Qc(a);dc(a);return}W(0)|0;O()|0;lc();L()}function kv(a,b){a=a|0;b=b|0;var c=0,d=0;d=fc(48);c=d;v[c>>2]=0;v[c+4>>2]=1072693248;v[c+8>>2]=0;v[c+12>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=0;v[c+28>>2]=1072693248;v[c+40>>2]=0;v[c+44>>2]=0;v[a>>2]=c;b=v[b>>2];c=v[b+4>>2];v[d>>2]=v[b>>2];v[d+4>>2]=c;c=v[b+44>>2];v[d+40>>2]=v[b+40>>2];v[d+44>>2]=c;c=v[b+36>>2];v[d+32>>2]=v[b+32>>2];v[d+36>>2]=c;c=v[b+28>>2];v[d+24>>2]=v[b+24>>2];v[d+28>>2]=c;c=v[b+20>>2];v[d+16>>2]=v[b+16>>2];v[d+20>>2]=c;c=v[b+12>>2];v[d+8>>2]=v[b+8>>2];v[d+12>>2]=c;return a|0}function A4(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;b=v[a+584>>2];if(b){c=v[b+144>>2];if(!c){Ub[v[a+524>>2]](a)|0;c=v[b+144>>2]}u[b+68>>1]=258;v[b+64>>2]=33488905;v[b+132>>2]=0;v[b+136>>2]=0;v[b+124>>2]=1e4;v[b+128>>2]=0;v[b+72>>2]=0;v[b+76>>2]=0;v[b+140>>2]=(v[a+596>>2]+v[a+600>>2]|0)-5;a=c+72e3|0;d=8993;while(1){v[a>>2]=-1;v[a-8>>2]=-1;v[a-16>>2]=-1;v[a-24>>2]=-1;v[a-32>>2]=-1;v[a-40>>2]=-1;v[a-48>>2]=-1;v[a-56>>2]=-1;a=a+-64|0;e=d>>>0>7;d=d-8|0;if(e){continue}break}v[c>>2]=-1;v[b+120>>2]=65535;return 1}X(16309,6139,765,88312);L()}function mta(a){a=a|0;var b=0,c=0,d=0,e=0;b=Qb-16|0;Qb=b;a:{d=t[a+11|0]<0?v[a>>2]:a;c=ve(d);if(c>>>0<1073741808){b:{c:{if(c>>>0>=2){e=c+4&-4;a=fc(e<<2);v[b+8>>2]=e|-2147483648;v[b>>2]=a;v[b+4>>2]=c;break c}t[b+11|0]=c;a=b;if(!c){break b}}v[299999]=0;tc(a,d,c);d=v[299999];v[299999]=0;if((d|0)==1){break a}}v[(c<<2)+a>>2]=0;v[299999]=0;a=Y(4306,b|0,0,10)|0;c=v[299999];v[299999]=0;if((c|0)!=1){if(t[b+11|0]<=-1){dc(v[b>>2])}Qb=b+16|0;return a|0}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}T(a|0);L()}$d(b);L()}W(0)|0;O()|0;lc();L()}function mZ(a,b){var c=0,d=0,e=0,f=0,g=0;e=Qb-16|0;Qb=e;c=v[b+28>>2];d=Ub[v[a+516>>2]](a,1668707360,b,e+8|0)|0;v[e+12>>2]=d;a:{if(d){v[a+700>>2]=0;v[a+704>>2]=0;c=0;break a}d=v[e+8>>2]>>>1|0;v[a+700>>2]=d;f=a,g=Cc(c,4,0,d,0,e+12|0),v[f+704>>2]=g;c=v[e+12>>2];if(c){break a}c=ne(b,v[a+700>>2]<<1);v[e+12>>2]=c;if(c){break a}d=v[a+700>>2];if((d|0)>=1){c=v[a+704>>2];d=c+(d<<2)|0;while(1){f=c,g=He(b)<<16>>16<<6,v[f>>2]=g;c=c+4|0;if(d>>>0>c>>>0){continue}break}}Vd(b);if(!w[a+733|0]){c=v[e+12>>2];break a}c=bZ(a,b)}Qb=e+16|0;return c}function Wq(a,b,c){var d=0,e=0,f=0;e=Qb-16|0;Qb=e;d=e+8|0;b=v[b+28>>2];v[d>>2]=b;v[b+4>>2]=v[b+4>>2]+1;v[299999]=0;b=S(5563,d|0)|0;d=v[299999];v[299999]=0;a:{if((d|0)==1){break a}v[299999]=0;d=S(5573,b|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break a}v[c>>2]=d;v[299999]=0;V(5574,a|0,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}a=v[e+8>>2];b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}Qb=e+16|0;return}c=P()|0;O()|0;a=v[e+8>>2];b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}T(c|0);L()}function MX(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,n=0,o=0,p=0;a=v[a+4>>2];m=v[a>>2];if(m){o=v[a+16>>2];p=v[a+12>>2];f=1e100;l=-1e100;a=0;i=-1e100;g=1e100;while(1){n=a&255;h=a>>>6&67108860;a:{if(w[n+v[h+o>>2]|0]-1>>>0>13){break a}h=v[h+p>>2]+(n<<4)|0;j=A[h>>3];i=i>3];g=g>k?k:g;f=f>j?j:f;if(!(l>3]=f;A[c>>3]=g;A[d>>3]=i-f;A[e>>3]=l-g;return}v[b>>2]=0;v[b+4>>2]=0;v[c>>2]=0;v[c+4>>2]=0;v[d>>2]=0;v[d+4>>2]=0;A[e>>3]=0}function Fx(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=981556;b=v[a+48>>2];v[a+48>>2]=0;a:{b:{if(!b){break b}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break b}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}Lc(a+40|0);b=v[a+32>>2];v[a+32>>2]=0;c:{if(!b){break c}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break c}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}Ti(a);return a|0}W(0)|0;O()|0;lc();L()}function DS(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=fc(24);c=v[a+16>>2];v[b+16>>2]=c;e=v[a+12>>2];v[b+12>>2]=e;v[299999]=0;f=Q(3364,c|0,8)|0;d=v[299999];v[299999]=0;a:{if((d|0)==1){break a}v[b>>2]=f;v[299999]=0;d=Q(3364,c|0,8)|0;g=v[299999];v[299999]=0;if((g|0)==1){break a}v[b+4>>2]=d;v[299999]=0;c=Q(3364,c|0,4)|0;d=v[299999];v[299999]=0;if((d|0)==1){break a}v[b+8>>2]=c;gc(f,v[a>>2],e<<3);gc(v[b+4>>2],v[a+4>>2],v[b+12>>2]<<3);gc(v[b+8>>2],v[a+8>>2],v[b+12>>2]<<2);v[b+20>>2]=v[a+20>>2];return b|0}a=P()|0;O()|0;dc(b);T(a|0);L()}function nta(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=Qb-16|0;Qb=b;a:{d=t[a+11|0]<0?v[a>>2]:a;c=ve(d);if(c>>>0<1073741808){b:{c:{if(c>>>0>=2){e=c+4&-4;a=fc(e<<2);v[b+8>>2]=e|-2147483648;v[b>>2]=a;v[b+4>>2]=c;break c}t[b+11|0]=c;a=b;if(!c){break b}}v[299999]=0;tc(a,d,c);d=v[299999];v[299999]=0;if((d|0)==1){break a}}v[(c<<2)+a>>2]=0;v[299999]=0;f=+Ma(4305,b|0,0);a=v[299999];v[299999]=0;if((a|0)!=1){if(t[b+11|0]<=-1){dc(v[b>>2])}Qb=b+16|0;return+f}a=P()|0;O()|0;if(t[b+11|0]<=-1){dc(v[b>>2])}T(a|0);L()}$d(b);L()}W(0)|0;O()|0;lc();L()}function kp(a,b,c){var d=0,e=0,f=0;d=Qb+-64|0;Qb=d;f=v[a>>2];e=v[f-4>>2];f=v[f-8>>2];v[d+20>>2]=0;v[d+16>>2]=b;v[d+12>>2]=a;v[d+8>>2]=c;b=0;ic(d+24|0,0,39);a=a+f|0;a:{if(Oi(e,c,0)){v[d+56>>2]=1;Ub[v[v[e>>2]+20>>2]](e,d+8|0,a,a,1,0);b=v[d+32>>2]==1?a:0;break a}Ub[v[v[e>>2]+24>>2]](e,d+8|0,a,1,0);b:{switch(v[d+44>>2]){case 0:b=v[d+48>>2]==1?v[d+36>>2]==1?v[d+40>>2]==1?v[d+28>>2]:0:0:0;break a;case 1:break b;default:break a}}if(v[d+32>>2]!=1){if(v[d+48>>2]|v[d+36>>2]!=1|v[d+40>>2]!=1){break a}}b=v[d+24>>2]}Qb=d- -64|0;return b}function hKa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;e=Qb-16|0;Qb=e;a:{f=ve(c);if(f>>>0<1073741808){b:{c:{if(f>>>0>=2){h=f+4&-4;g=fc(h<<2);v[e+8>>2]=h|-2147483648;v[e>>2]=g;v[e+4>>2]=f;break c}t[e+11|0]=f;g=e;if(!f){break b}}v[299999]=0;tc(g,c,f);c=v[299999];v[299999]=0;if((c|0)==1){break a}}v[(f<<2)+g>>2]=0;v[299999]=0;$(2950,a|0,b|0,e|0,d|0);a=v[299999];v[299999]=0;if((a|0)!=1){if(t[e+11|0]<=-1){dc(v[e>>2])}Qb=e+16|0;return}a=P()|0;O()|0;if(t[e+11|0]<=-1){dc(v[e>>2])}T(a|0);L()}$d(e);L()}W(0)|0;O()|0;lc();L()}function c7(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=Qb-16|0;Qb=f;v[f+8>>2]=e;v[f+12>>2]=c;e=(e|0)==-1;if(w[a+11|0]>>>7|0){c=v[a+4>>2]}else{c=w[a+11|0]}if(!(e|c>>>0>>0)){v[f>>2]=c-b;c=Qb-16|0;Qb=c;Qb=c+16|0;c=f+12|0;v[f+4>>2]=v[(y[f>>2]>2]?f:c)>>2];if(w[a+11|0]>>>7|0){a=v[a>>2]}c=Qb-16|0;Qb=c;Qb=c+16|0;e=f+8|0;c=f+4|0;e=v[(y[e>>2]>2]?e:c)>>2];c=0;a:{if(!e){break a}c=od((b<<2)+a|0,d,e)}b=c;b:{if(b){break b}b=-1;a=v[f+4>>2];c=v[f+8>>2];if(a>>>0>>0){break b}b=a>>>0>c>>>0}Qb=f+16|0;return b|0}El(a);L()}function Yq(a,b,c){var d=0,e=0,f=0;e=Qb-16|0;Qb=e;d=e+8|0;b=v[b+28>>2];v[d>>2]=b;v[b+4>>2]=v[b+4>>2]+1;v[299999]=0;b=S(5534,d|0)|0;d=v[299999];v[299999]=0;a:{if((d|0)==1){break a}v[299999]=0;d=S(5546,b|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break a}t[c|0]=d;v[299999]=0;V(5547,a|0,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}a=v[e+8>>2];b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}Qb=e+16|0;return}c=P()|0;O()|0;a=v[e+8>>2];b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}T(c|0);L()}function Uwa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;e=v[a+8>>2];b=fc(34120);c=v[a+4>>2];d=v[v[c>>2]+8>>2];a:{b:{if(e){v[299999]=0;c=S(d|0,c|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){a=v[a+8>>2];d=v[a+16>>2];e=v[a+12>>2];f=v[a+8>>2];a=v[a+4>>2];v[299999]=0;aa(3815,b|0,c|0,a|0,f|0,e|0,d|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break b}}break a}v[299999]=0;a=S(d|0,c|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}v[b+34076>>2]=0;v[b+34068>>2]=0;v[b>>2]=967968;v[b+4>>2]=a;ic(b+8|0,0,32772)}return b|0}a=P()|0;O()|0;dc(b);T(a|0);L()}function Qt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Qb-32|0;Qb=c;b=b<<8|(b&65280)>>>8;t[c+6|0]=b;t[c+7|0]=b>>>8;b=0;d=2;f=c+6|0;a:{b:{while(1){e=Ub[v[v[a>>2]+12>>2]](a,f,d)|0;if(!e){a=vc(c+8|0,237882,241835,474,338919,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}f=f+e|0;b=b+e|0;d=d-e|0;if(d){continue}break}if((b|0)!=2){a=vc(c+8|0,ck(v[299402]),241835,524,336834,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}Qb=c+32|0;return}L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function GHa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;if(v[a+196>>2]){d=(v[a+196>>2]+v[a+192>>2]|0)-1|0;c=(d>>>0)/93|0;e=v[v[a+180>>2]+(c<<2)>>2];d=d-B(c,93)|0;c=e+B(d,44)|0;f=v[c+40>>2];if(f){dc(Sr(f))}c=v[c+24>>2];if(c){v[(e+B(d,44)|0)+28>>2]=c;dc(c)}c=e+B(d,44)|0;f=v[c+12>>2];if(f){dc(f)}c=v[c>>2];if(c){v[(e+B(d,44)|0)+4>>2]=c;dc(c)}e=v[a+196>>2]-1|0;v[a+196>>2]=e;d=v[a+184>>2];c=d-v[a+180>>2]|0;if((c?B(c>>2,93)-1|0:0)-(e+v[a+192>>2]|0)>>>0>=186){dc(v[d-4>>2]);v[a+184>>2]=v[a+184>>2]-4}}t[a+200|0]=1;Ub[v[v[a>>2]+72>>2]](a,b)}function Apa(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=982804;id(a+16|0);b=v[a+12>>2];v[a+12>>2]=0;a:{b:{if(!b){break b}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break b}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a+8>>2];v[a+8>>2]=0;c:{if(!b){break c}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break c}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}Qc(a);return a|0}W(0)|0;O()|0;lc();L()}function fd(a){var b=0,c=0,d=0,e=0,f=0;a:{b=v[a+16>>2];if((b|0)<=v[a+20>>2]){c=v[a>>2];e=v[c+16>>2];d=v[a+4>>2];c=v[c+4>>2];f=v[a+8>>2];v[299999]=0;b=Q(c|0,d|0,b-f|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}c=v[a+16>>2];d=v[a+20>>2];v[299999]=0;V(e|0,b|0,(d-c|0)+1|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a+4>>2];if(b){dc(b)}v[a+4>>2]=0;v[a+8>>2]=0;v[a+20>>2]=-1;v[a+12>>2]=-1;v[a+16>>2]=0;return}a=W(0)|0;O()|0;ea(a|0)|0;v[299999]=0;ba(4230);a=v[299999];v[299999]=0;if((a|0)!=1){return}W(0)|0;O()|0;lc();L()}function v_(a){var b=0,c=0,d=0,e=0,f=0;v[a+28>>2]=4096;b=a+4168|0;v[a+24>>2]=b;v[a+8268>>2]=b;d=a+72|0;f=a+12|0;a:{while(1){if(!v[a+16>>2]){b=v[a>>2];c=v[b+20>>2];b:{if(c){c=Ub[c|0](b,v[b+8>>2],d,4096)|0;if(c){break b}break a}e=v[b+8>>2];c=v[b+4>>2]-e|0;c=c>>>0<4096?c:4096;if(!c){break a}gc(d,v[b>>2]+e|0,c)}v[b+8>>2]=v[b+8>>2]+c;v[a+16>>2]=c;v[a+12>>2]=d}b=Mj(f,0);if(b){if((b|0)==1){b=v[a+24>>2];v[a+8272>>2]=b;return(b|0)==v[a+8268>>2]?85:0}break a}if(v[a+28>>2]){continue}break}return 0}v[a+8272>>2]=v[a+8268>>2];return 85}function fbb(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,j=0,k=0;if(e){k=e-1|0;a=0;while(1){t[g|0]=w[f|0];g=g+1|0;h=a?(a|0)==(k|0)?d:b:c;a:{if(h>>>0<2){break a}j=h-1|0;i=j&7;if(h-2>>>0>=7){h=j&-8;while(1){t[g|0]=w[f|0];t[g+1|0]=w[f|0];t[g+2|0]=w[f|0];t[g+3|0]=w[f|0];t[g+4|0]=w[f|0];t[g+5|0]=w[f|0];t[g+6|0]=w[f|0];t[g+7|0]=w[f|0];g=g+8|0;h=h-8|0;if(h){continue}break}}if(!i){break a}while(1){t[g|0]=w[f|0];g=g+1|0;i=i-1|0;if(i){continue}break}}f=f+1|0;a=a+1|0;if((e|0)!=(a|0)){continue}break}}return 0}function Mza(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;v[a+8>>2]=13;v[a>>2]=938416;a:{b:{if(v[b>>2]==3){e=v[b+8>>2];b=fc(8);v[299999]=0;Q(3064,b|0,e|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break a}v[a+4>>2]=b;break b}kc(1,-1,279387,0);v[a+4>>2]=0}b=a+8|0;c:{d:{switch(v[c>>2]-5|0){case 1:zf(c,b);break c;default:kc(1,-1,279239,0);break;case 0:break d}}v[b>>2]=5}e:{switch(v[d>>2]-1|0){case 0:v[a+24>>2]=v[d+8>>2];return a|0;default:kc(1,-1,279195,0);break;case 4:break e}}v[a+24>>2]=0;return a|0}a=P()|0;O()|0;dc(b);T(a|0);L()}function wr(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=Qb-32|0;Qb=b;d=3;e=b+5|0;a:{b:{while(1){c=Ub[v[v[a>>2]+8>>2]](a,e,d)|0;if((c|0)<=-1){a=vc(b+8|0,ck(v[299402]),241835,413,338777,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}f=c+f|0;if(c){e=c+e|0;d=d-c|0;if(d){continue}}break}if((f|0)!=3){a=vc(b+8|0,v[282394],241835,573,342675,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}Qb=b+32|0;return w[b+7|0]|(w[b+6|0]<<8|w[b+5|0]<<16)}L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function nAa(a){a=a|0;var b=0,c=0,d=0,e=0;b=v[a+40>>2];if(b){Ub[v[v[b>>2]+4>>2]](b);v[a+40>>2]=0}c=v[a+48>>2];if(c){d=v[c+8>>2];if((d|0)>=1){b=0;while(1){e=v[v[c>>2]+(b<<2)>>2];if(e){Ub[v[v[e>>2]+4>>2]](e);d=v[c+8>>2]}b=b+1|0;if((d|0)>(b|0)){continue}break}}dc(Vc(c));v[a+48>>2]=0}c=v[a+52>>2];if(c){d=v[c+8>>2];if((d|0)>=1){b=0;while(1){e=v[v[c>>2]+(b<<2)>>2];if(e){Ub[v[v[e>>2]+4>>2]](e);d=v[c+8>>2]}b=b+1|0;if((d|0)>(b|0)){continue}break}}dc(Vc(c));v[a+52>>2]=0}v[a+60>>2]=0;v[a+64>>2]=0;a=v[a+4>>2];Ub[v[v[a>>2]+24>>2]](a)}function efa(a){a=a|0;var b=0,c=0,d=0;b=fc(72);v[b+8>>2]=0;v[b>>2]=995984;v[b+4>>2]=0;d=v[282402];v[b+16>>2]=0;v[b+20>>2]=0;v[b+12>>2]=d;v[299999]=0;d=b+24|0;v[d+20>>2]=-1;v[d+12>>2]=-1;v[d+16>>2]=0;v[d+4>>2]=0;v[d+8>>2]=0;v[d>>2]=996260;c=v[299999];v[299999]=0;a:{if((c|0)!=1){v[299999]=0;c=b+48|0;v[c+20>>2]=-1;v[c+12>>2]=-1;v[c+16>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;v[c>>2]=996280;c=v[299999];v[299999]=0;if((c|0)==1){a=P()|0;O()|0;fd(d);break a}v[a>>2]=0;Wc(a,b);return}a=P()|0;O()|0}ec(b+20|0);ec(b+8|0);Qc(b);dc(b);T(a|0);L()}function WO(a){a=a|0;var b=0,c=0,d=0,e=0;c=Qb-16|0;Qb=c;v[a>>2]=984608;v[299999]=0;d=a+8|0;b=d;e=v[b+24>>2];v[c+12>>2]=b;v[c+8>>2]=e;b=v[299999];v[299999]=0;a:{if((b|0)==1){break a}b=v[c+8>>2];b:{if(!b){break b}while(1){if(v[c+12>>2]!=(d|0)){v[299999]=0;V(4468,c+8|0,d|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}L()}e=v[b+20>>2];if(e){Ic(e);dc(e);b=v[c+8>>2];if(!b){break b}}b=v[b>>2];v[c+8>>2]=b;if(b){continue}break}}id(a- -64|0);id(a+36|0);id(d);Qb=c+16|0;return a|0}W(0)|0;O()|0;id(a- -64|0);id(a+36|0);id(d);lc();L()}function MR(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=v[a+508>>2];if((d|0)>0){while(1){c=B(b,12)+a|0;e=c;h=v[c+272>>2];a:{if(!(f|(h|0)!=225)){j=v[c+276>>2];k=v[e+268>>2];f=225;break a}i=v[e+268>>2];if(!(g|(h|0)!=254)){l=v[c+276>>2];g=254;m=i;break a}dc(i);v[e+268>>2]=0;d=v[a+508>>2]}b=b+1|0;if((d|0)>(b|0)){continue}break}b=0;v[a+508>>2]=0;if(f){v[a+268>>2]=k;v[a+508>>2]=1;v[a+276>>2]=j;v[a+272>>2]=f;b=1}if(g){v[a+508>>2]=b+1;a=B(b,12)+a|0;v[a+276>>2]=l;v[a+272>>2]=g;v[a+268>>2]=m}return}v[a+508>>2]=0}function ty(a,b){var c=0,d=0,e=0,f=0,g=0;d=a;c=v[a>>2];f=Bc(b);if((c|0)>(2147483647-f|0)){mh(341775);c=v[a>>2]}Ng(d,c+f|0);c=v[a>>2];a:{if((c|0)<0){break a}d=c;g=c+1&3;if(g){while(1){e=v[a+4>>2];t[e+(c+f|0)|0]=w[c+e|0];c=c-1|0;g=g-1|0;if(g){continue}break}}if(d>>>0<3){break a}while(1){d=v[a+4>>2];t[d+(c+f|0)|0]=w[c+d|0];d=v[a+4>>2];e=c-1|0;t[d+(e+f|0)|0]=w[d+e|0];d=v[a+4>>2];e=c-2|0;t[d+(e+f|0)|0]=w[d+e|0];d=v[a+4>>2];e=c-3|0;t[d+(e+f|0)|0]=w[d+e|0];c=c-4|0;if((e|0)>0){continue}break}}gc(v[a+4>>2],b,f);v[a>>2]=v[a>>2]+f}function bNa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=Qb-16|0;Qb=e;d=v[a+20>>2];if((d|0)!=101){f=v[a>>2];v[f+24>>2]=d;v[f+20>>2]=21;Ub[v[v[a>>2]>>2]](a)}if(y[a+260>>2]>=y[a+32>>2]){d=v[a>>2];v[d+20>>2]=126;Ub[v[d+4>>2]](a,-1)}d=v[a+8>>2];if(d){v[d+4>>2]=v[a+260>>2];v[d+8>>2]=v[a+32>>2];Ub[v[d>>2]](a)}d=v[a+388>>2];if(v[d+12>>2]){Ub[v[d+4>>2]](a)}d=v[a+260>>2];f=v[a+32>>2];v[e+12>>2]=0;g=b;b=f-d|0;Ub[v[v[a+392>>2]+4>>2]](a,g,e+12|0,b>>>0>>0?b:c);b=a;c=v[a+260>>2];a=v[e+12>>2];v[b+260>>2]=c+a;Qb=e+16|0;return a|0}function ICa(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;c=v[a+28>>2];e=v[c+596>>2];if(!(v[e+28>>2]>0|v[e>>2])){b=-1;a=v[a+108>>2];a:{if(!a){break a}a=v[a+4>>2];if(v[a+8>>2]==13){break a}a=v[a+16>>2];b=Ub[v[v[a>>2]+52>>2]](a)|0}kc(1,b,328905,0);return}g=A[b+24>>3];a=v[b+24>>2];d=A[b+40>>3];h=v[b+40>>2];i=A[b+8>>3];j=v[b+8>>2];k=v[b>>2];l=v[b+16>>2];m=v[b+32>>2];f=v[b+48>>2]==1?+v[b+56>>2]:A[b+56>>3];A[c+608>>3]=f;d=(m|0)==1?+(h|0):d;A[c+600>>3]=d;$k(e,(k|0)==1?+(j|0):i,(l|0)==1?+(a|0):g,d,f,d,f)}function BYa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a=v[a+8>>2];b=v[a>>2];a:{if(w[b+732|0]){break a}t[a+112|0]=0;c=v[a+16>>2];d=v[a+12>>2];v[a+48>>2]=d;v[a+52>>2]=c;c=v[a+24>>2];v[a+56>>2]=v[a+20>>2];v[a+60>>2]=c;e=v[a+32>>2];c=a- -64|0;v[c>>2]=v[a+28>>2];v[c+4>>2]=e;v[a+72>>2]=v[a+36>>2];if(!(d&65535)|!x[a+50>>1]){break a}if(w[b+176|0]&8){f=a,g=Ac(u[b+70>>1],v[a+56>>2])+32&-64,v[f+60>>2]=g;f=a- -64|0,g=Ac(u[b+72>>1],v[a+56>>2])+32&-64,v[f>>2]=g;f=a,g=Ac(u[b+74>>1],v[a+56>>2])+32&-64,v[f+68>>2]=g}t[a+112|0]=1}return 0}function lib(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=v[a+16>>2];v[a+20>>2]=d;e=jc(d);v[a+24>>2]=e;a:{if(!e){break a}if(!v[a+20>>2]){return 0}f=v[b+8>>2];if(f&7){break a}d=e;while(1){b:{c=v[b+64>>2];if(!((c|0)<0|(c|0)>v[b+60>>2])){v[b+8>>2]=f|4;break b}c=v[b+28>>2];v[b+28>>2]=c-1;c:{if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;c=w[c|0];break c}c=Hc(b,1);if((c|0)==-1){break a}}if(d){t[e|0]=c}g=g+1|0;if(g>>>0>=y[a+20>>2]){return 0}d=v[a+24>>2];e=g+d|0;f=v[b+8>>2];if(!(f&7)){continue}}break}}return-1}function jQ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Qb-32|0;Qb=c;t[c+7|0]=b;t[c+6|0]=b>>>8;t[c+5|0]=b>>>16;b=0;d=3;f=c+5|0;a:{b:{while(1){e=Ub[v[v[a>>2]+12>>2]](a,f,d)|0;if(!e){a=vc(c+8|0,237882,241835,474,338919,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}f=f+e|0;b=b+e|0;d=d-e|0;if(d){continue}break}if((b|0)!=3){a=vc(c+8|0,ck(v[299402]),241835,535,336873,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}Qb=c+32|0;return}L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function h7(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=Qb-16|0;Qb=f;v[f+8>>2]=e;v[f+12>>2]=c;e=(e|0)==-1;if(w[a+11|0]>>>7|0){c=v[a+4>>2]}else{c=w[a+11|0]}if(!(e|c>>>0>>0)){v[f>>2]=c-b;c=Qb-16|0;Qb=c;Qb=c+16|0;c=f+12|0;v[f+4>>2]=v[(y[f>>2]>2]?f:c)>>2];if(w[a+11|0]>>>7|0){a=v[a>>2]}c=Qb-16|0;Qb=c;Qb=c+16|0;e=f+8|0;c=f+4|0;e=v[(y[e>>2]>2]?e:c)>>2];c=0;a:{if(!e){break a}c=Pc(a+b|0,d,e)}b=c;b:{if(b){break b}b=-1;a=v[f+4>>2];c=v[f+8>>2];if(a>>>0>>0){break b}b=a>>>0>c>>>0}Qb=f+16|0;return b|0}El(a);L()}function SLa(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;a:{if((e|0)<1){break a}g=v[a+28>>2];if(!g){break a}h=v[a+36>>2];j=g&-4;k=g&3;l=g-1>>>0<3;while(1){i=v[v[c>>2]+(d<<2)>>2];f=v[b>>2];a=0;g=j;if(!l){while(1){t[a+i|0]=w[f|0];f=f+h|0;t[(a|1)+i|0]=w[f|0];f=f+h|0;t[(a|2)+i|0]=w[f|0];f=f+h|0;t[(a|3)+i|0]=w[f|0];a=a+4|0;f=f+h|0;g=g-4|0;if(g){continue}break}}g=k;if(g){while(1){t[a+i|0]=w[f|0];a=a+1|0;f=f+h|0;g=g-1|0;if(g){continue}break}}d=d+1|0;b=b+4|0;a=(e|0)>1;e=e-1|0;if(a){continue}break}}}function N_(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;h=35;a:{if(!(w[a+8|0]&2)){break a}h=7;if(v[b>>2]){break a}d=v[b+4>>2];f=d;i=v[b+8>>2];g=i;h=23;e=v[b+12>>2];if(e){f=(B(d,e)+36|0)/72|0}e=f;b=v[b+16>>2];if(b){g=(B(b,i)+36|0)/72|0}b=i?g:f;f=(d?e:b)+32&-64;if(!f){break a}e=(d?b:g)+32&-64;if(!e){break a}d=v[a+28>>2];if((d|0)<1){break a}a=v[a+32>>2];b=0;while(1){g=a+(b<<4)|0;if(!((e|0)==(v[g+12>>2]+32&-64)&(f|0)==(v[g+8>>2]+32&-64))){b=b+1|0;if((d|0)!=(b|0)){continue}break a}break}h=0;if(!c){break a}v[c>>2]=b;return 0}return h}function Kla(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;v[a>>2]=0;v[299999]=0;b=v[v[b+48>>2]+((c>>>0)%y[b+44>>2]<<2)>>2];d=v[299999];v[299999]=0;if((d|0)!=1){a:{b:{if(!b){break b}while(1){if(!(v[b+12>>2]==(c|0)&v[b+16>>2]==(c|0))){b=v[b+8>>2];if(b){continue}break b}break}if(!v[b+20>>2]|v[c+4>>2]<1){break b}v[299999]=0;Q(4336,a|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a>>2];if(!b|v[b+4>>2]>0){break b}v[299999]=0;Q(4336,a|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}}return}}b=P()|0;O()|0;ec(a);T(b|0);L()}function rE(a){var b=0,c=0,d=0;b=Qb-16|0;Qb=b;v[b>>2]=13;a:{b:{c:{switch(v[a>>2]-3|0){case 0:a=v[a+8>>2];c=fc(8);v[299999]=0;a=Q(3064,c|0,a|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){break b}break a;case 4:if(v[rc(v[a+8>>2],220537,b,0)>>2]!=3){hc(b);rc(v[a+8>>2],321049,b,0)}d:{if(v[b>>2]==3){a=v[b+8>>2];c=fc(8);v[299999]=0;a=Q(3064,c|0,a|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){break d}break a}a=0;kc(0,-1,262550,0)}hc(b);break b;default:break c}}a=0;kc(0,-1,262550,0)}Qb=b+16|0;return a}a=P()|0;O()|0;dc(c);T(a|0);L()}function XB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;f=v[a+84>>2];a:{d=v[a+28>>2];b:{if((d|0)!=(b|0)){e=-1;if((XB(a,d,v[a+20>>2]-d|0)|0)==-1){break b}}d=v[f>>2];c:{if(!v[f+4>>2]|!c){break c}e=c;while(1){g=Rn(d,b,e);if((g|0)<0){break a}h=v[f+4>>2]-1|0;v[f+4>>2]=h;d=v[f>>2]+4|0;v[f>>2]=d;if(!h){break c}b=b+g|0;e=e-g|0;if(e){continue}break}}v[d>>2]=0;b=v[a+44>>2];v[a+28>>2]=b;v[a+20>>2]=b;v[a+16>>2]=b+v[a+48>>2];e=c}return e|0}v[v[f>>2]>>2]=0;v[a+28>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a>>2]=v[a>>2]|32;return g|0}function AG(a,b){var c=0,d=0,e=0,f=0,g=0;e=1;d=(b<<10)+a|0;c=v[d+644>>2];a:{if((c|0)<=-1&(c&15728640)!=7340032){break a}c=0;d=v[d+260>>2];if((d|0)<=-1&(d&15728640)!=7340032){break a}while(1){d=c<<2;f=(b<<10)+a|0;g=v[d+f>>2];if((g|0)<=-1&(g&15728640)!=7340032){break a}d=v[f+(d|4)>>2];if((d|0)<=-1&(d&15728640)!=7340032){break a}c=c+2|0;if((c|0)!=256){continue}break}c=0;b=(b<<10)+a|0;while(1){b:{e=v[b+(c<<2)>>2];if((e|0)<0){break b}if(!AG(a,e>>>24|0)){break b}return 1}c=c+1|0;if((c|0)!=256){continue}break}e=0}return e}function dB(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=v[a+12>>2];if(c){b=v[a+8>>2];if((b|0)>=1){while(1){d=v[c+4>>2];if(d){b=0;e=v[c>>2];if((e|0)>=1){while(1){f=v[d+4>>2];if(f){dc(f);e=v[c>>2]}d=d+20|0;b=b+1|0;if((e|0)>(b|0)){continue}break}d=v[c+4>>2]}dc(d);b=v[a+8>>2]}c=c+16|0;g=g+1|0;if((g|0)<(b|0)){continue}break}c=v[a+12>>2]}dc(c)}b=v[a+76>>2];if(b){c=v[b+8>>2];if(c){d=1;if(v[b>>2]>=1){dc(v[c>>2]);if(v[b>>2]>=2){while(1){dc(v[v[b+8>>2]+(d<<2)>>2]);d=d+1|0;if((d|0)>2]){continue}break}}c=v[b+8>>2]}dc(c)}dc(b)}dc(a)}function Tz(a){var 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=v[a+260>>2];if(!b){m=a;e=u[a+300>>1];b=v[a+248>>2];a:{if(!e){break a}c=u[a+298>>1];b=v[a+252>>2];if(!c){break a}f=v[a+248>>2];b=f>>31;g=b^b+f;b=c>>31;h=b+c^b;i=B(g>>>16|0,h);b=i<<16|8192;a=v[a+252>>2];d=a>>31;j=d^a+d;d=e>>31;k=d+e^d;l=B(j>>>16|0,k);d=l<<16|8192;n=b;b=b+B(h,g&65535)|0;b=(i>>>16|0)+(n>>>0>b>>>0)<<18|b>>>14;b=(c^f)>-1?b:0-b|0;c=d+B(k,j&65535)|0;c=(l>>>16|0)+(c>>>0>>0)<<18|c>>>14;b=$H(b,(a^e)>-1?c:0-c|0)}v[m+260>>2]=b}return b}function Sy(a){var b=0,c=0,d=0,e=0;c=Qb-1024|0;Qb=c;if(!w[1177064]){d=v[294267];if((d|0)<=14){b=d<<4;v[b+1177084>>2]=2978;v[b+1177080>>2]=2979;v[b+1177076>>2]=2980;v[b+1177072>>2]=2981;v[294267]=d+1}t[1177064]=1}a:{if(!a){break a}b=Xc(c,a,1023);t[c+1023|0]=0;d=Bc(b);a=d+c|0;b:{c:{d:{e:{if((d|0)>=1){while(1){if(w[a|0]==47){break e}a=a-1|0;if(b>>>0>>0){continue}break}}if(w[a|0]!=47){break d}}a=(a|0)==(b|0)?c|1:a;break c}if(!mt(b,1024)){break b}a=c+1023|0}t[a|0]=0;e=Ub[v[259710]](b)|0;break a}}Qb=c+1024|0;return e}function g4(a){a=a|0;var b=0,c=0,d=0;c=v[a+584>>2];a:{if(!(Ub[v[c+60>>2]](a)|0)){break a}if(!yK(a)){break a}d=1;b:{c:{switch(v[c>>2]-2|0){case 0:b=589;d:{e:{f:{switch(x[a+84>>1]-8|0){case 8:b=590;break e;case 0:break e;case 24:break f;default:break d}}b=591}v[c+24>>2]=b}b=v[a+544>>2];if((b|0)!=592){break b}break a;case 1:break c;default:break a}}v[c+24>>2]=593;b=v[a+544>>2];if((b|0)==592){break a}}v[c+12>>2]=b;v[a+544>>2]=592;v[c+16>>2]=v[a+552>>2];v[a+552>>2]=594;v[c+20>>2]=v[a+560>>2];v[a+560>>2]=594}return d|0}function ZHa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{b:{d=v[a+4>>2];c:{if(!d){v[a+8>>2]=1e3;c=jc(1e3);v[a+16>>2]=0;v[a+4>>2]=c;break c}c=v[a+8>>2];e=v[a+16>>2]+4|0;if(c>>>0>=e>>>0){break b}while(1){c=c<<1;if(e>>>0>c>>>0){continue}break}v[a+8>>2]=c;c=be(d,c);if(c){v[a+4>>2]=c;c=c+v[a+16>>2]|0;break c}c=jc(v[a+8>>2]);d=v[a+4>>2];c=gc(c,d,v[a+16>>2]);dc(d);v[a+4>>2]=c;c=c+v[a+16>>2]|0}v[a+12>>2]=c;break a}c=v[a+12>>2]}t[c|0]=b;t[c+1|0]=b>>>8;t[c+2|0]=b>>>16;t[c+3|0]=b>>>24;v[a+12>>2]=v[a+12>>2]+4;v[a+16>>2]=v[a+16>>2]+4}function UQa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Qb-32|0;Qb=c;v[c+16>>2]=b;d=a+8|0;wX(c+24|0,d,b,c+16|0);a:{a=v[v[c+24>>2]+28>>2];if(!a){b:{c:{if(!v[293894]){break c}a=v[293894];a=Ub[v[v[a>>2]+24>>2]](a,b)|0;if(!a){break c}Ub[v[v[a>>2]+8>>2]](a)|0;break b}a=fc(20);v[299999]=0;v[a+4>>2]=1;v[a>>2]=459608;e=v[299999];v[299999]=0;if((e|0)==1){break a}v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=466844;t[a+16|0]=0;yX(a,b,0)}v[c+16>>2]=b;wX(c+24|0,d,b,c+16|0);v[v[c+24>>2]+28>>2]=a}Qb=c+32|0;return a|0}b=P()|0;O()|0;dc(a);T(b|0);L()}function PN(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=Qb-16|0;Qb=d;a:{if(a>>>0>6){break a}if((a|0)==6){if(b){a=v[251563];v[d+8>>2]=v[251562];v[d+12>>2]=a;a=v[251561];v[d>>2]=v[251560];v[d+4>>2]=a;a=0;while(1){c=JC(b,59);e=c-b|0;if((e|0)<=15){gc(d,b,e);t[d+e|0]=0;b=w[c|0]?c+1|0:b}ON(a,d);a=a+1|0;if((a|0)!=6){continue}break}}b=1197696;a=0;while(1){c=v[(a<<2)+1197652>>2];e=c?c+8|0:322139;c=Bc(e);gc(b,e,c);c=b+c|0;t[c|0]=59;b=c+1|0;a=a+1|0;if((a|0)!=6){continue}break}t[c|0]=0;c=1197696;break a}c=ON(a,b)}Qb=d+16|0;return c|0}function Fc(a,b){var c=0,d=0,e=0;c=-1;a:{b:{c:{if(!(!(w[a|0]&6)|w[a+8|0]&7)){e=v[a+4>>2];if(e&16){break c}c=v[a+16>>2];d=v[a+24>>2]-c|0;if((d|0)>=1){if((Ub[v[v[a+52>>2]+4>>2]](v[a+56>>2],c,d)|0)!=(d|0)){break b}e=v[a+4>>2];c=v[a+16>>2]}v[a+24>>2]=c;d=v[a+20>>2];v[a+28>>2]=d;e=e|32;v[a+4>>2]=e;if((b|0)==-1){return 0}if((d|0)<=0){break a}v[a+4>>2]=e;v[a+28>>2]=d-1;v[a+24>>2]=c+1;v[a+60>>2]=v[a+60>>2]+1;t[c|0]=b;c=b&255}return c}X(23780,6782,814,188087);L()}v[a+8>>2]=v[a+8>>2]|2;return-1}X(21664,6782,834,188087);L()}function sDa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;c=v[a+28>>2];if(!v[c+492>>2]){b=-1;a=v[a+108>>2];a:{if(!a){break a}a=v[a+4>>2];if(v[a+8>>2]==13){break a}a=v[a+16>>2];b=Ub[v[v[a>>2]+52>>2]](a)|0}kc(1,b,222376,0);return}if(v[a+32>>2]){d=v[a+8>>2];Ub[v[v[d>>2]+156>>2]](d,c);v[a+32>>2]=0}if(v[a+100>>2]){c=v[a+8>>2];Ub[v[v[c>>2]+232>>2]](c,v[a+28>>2]);ny(a,v[b+8>>2]);b=v[a+8>>2];Ub[v[v[b>>2]+236>>2]](b,v[a+28>>2]);return}b=v[b+8>>2];c=v[a+8>>2];if(Ub[v[v[c>>2]+32>>2]](c)|0){a=v[a+8>>2];Ub[v[v[a>>2]+268>>2]](a,v[b>>2])}}function j5(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=Qb-16|0;Qb=e;f=v[a+584>>2];if(f){g=c;c=v[f+840>>2];d=(g|0)/(c|0)|0;if((g|0)!=(B(d,c)|0)){Ld(v[a+628>>2],v[a>>2],53367,0)}if(!(w[a+13|0]&4)){c=v[a+60>>2];g=v[a+472>>2];d=c>>>0>>0?c-g|0:d}c=1;a:{if((d|0)<1){break a}v[e+12>>2]=b;c=0;if((DK(f,e+12|0)|0)!=1){break a}while(1){if((d|0)<2){c=1;break a}v[a+472>>2]=v[a+472>>2]+1;b=v[f+840>>2]+b|0;v[e+12>>2]=b;d=d-1|0;if((DK(f,e+12|0)|0)==1){continue}break}}Qb=e+16|0;return c|0}X(29012,7121,1426,88142);L()}function PG(a){a=a|0;v[a+72>>2]=0;v[a+76>>2]=0;v[a+64>>2]=1;v[a+56>>2]=0;v[a+60>>2]=0;v[a+48>>2]=0;v[a+52>>2]=1072693248;v[a+40>>2]=-1030792151;v[a+44>>2]=1072703733;v[a+32>>2]=0;v[a+36>>2]=1074790400;v[a+24>>2]=1;v[a+16>>2]=0;v[a+20>>2]=1061158912;v[a+8>>2]=0;v[a+12>>2]=1071644672;v[a>>2]=0;v[a+4>>2]=1071644672;v[a+92>>2]=0;v[a+96>>2]=0;v[a+132>>2]=0;v[a+136>>2]=0;v[a+112>>2]=0;v[a+116>>2]=0;v[a+80>>2]=0;v[a+84>>2]=0;v[a+88>>2]=64;v[a+100>>2]=0;v[a+104>>2]=0;v[a+108>>2]=64;v[a+120>>2]=0;v[a+124>>2]=0;return a|0}function E4(a){a=a|0;var b=0,c=0,d=0;a:{b:{b=v[a+584>>2];if(!b){b=jc(148);v[a+584>>2]=b;if(!b){zc(v[a+628>>2],13488,9804,0);return 0}v[b+96>>2]=0;v[b+116>>2]=0;xB(a);b=v[a+584>>2];if(!b){break b}}if(!v[b+116>>2]){d=b;b=jc(40952);v[d+116>>2]=b;if(!b){break a}a=255;while(1){c=b+(a<<3)|0;t[c+7|0]=a;t[c+6|0]=a;u[c+4>>1]=1;v[c>>2]=0;c=a-1|0;d=b+(c<<3)|0;t[d+7|0]=c;t[d+6|0]=c;u[d+4>>1]=1;v[d>>2]=0;a=a-2|0;if(c){continue}break}eg(b+2048|0,0,16)}return 1}X(16309,6139,222,88256);L()}zc(v[a+628>>2],88240,18541,0);return 0}function u3a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=v[a+712>>2];a:{if(w[d+24|0]==2){c=Qj(Eg(v[v[a+96>>2]+4>>2],228552),233592,0);if(!c){break a}c=v[c+4>>2];if(!c){break a}return Ub[c|0](a,b)|0}e=Qj(v[a+96>>2],235201,1);if(!e){return 0}if(!v[d+20>>2]){break a}a=0;while(1){b:{c=x[v[d+1188>>2]+(a<<1)>>1];c:{if(c>>>0>=391){c=c-391|0;if(c>>>0>=y[d+1356>>2]){break b}c=v[v[d+1360>>2]+(c<<2)>>2];break c}c=Ub[v[e+20>>2]](c)|0}if(!c){break b}if(mc(b,c)){break b}return a|0}a=a+1|0;if(a>>>0>2]){continue}break}}return 0}function en(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=v[a>>2];e=h>>>6|0;f=v[a+4>>2];if(e>>>0>=f>>>0){c=v[a+8>>2];a:{if(c>>>0>e>>>0){g=v[a+12>>2];break a}c=c+v[a+16>>2]|0;g=fc((c&1073741823)!=(c|0)?-1:c<<2);d=a;i=v[a+12>>2];if(i){gc(g,i,f<<2);dc(i);h=v[a>>2];f=v[a+4>>2];c=v[a+8>>2]+v[a+16>>2]|0}v[d+8>>2]=c;v[a+12>>2]=g}j=(e<<2)+g|0,k=fc(1024),v[j>>2]=k;v[a+4>>2]=f+1}d=v[b+4>>2];c=v[v[a+12>>2]+(e<<2)>>2]+((h&63)<<4)|0;v[c>>2]=v[b>>2];v[c+4>>2]=d;d=v[b+12>>2];v[c+8>>2]=v[b+8>>2];v[c+12>>2]=d;v[a>>2]=v[a>>2]+1}function _1a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;if(b){f=v[d>>2]-B(v[d+4>>2],a)|0;while(1){b=b-1|0;a=x[c+2>>1];a:{if(!a){break a}g=a-1|0;d=B(u[c>>1],3)+f|0;e=a&7;if(e){while(1){t[d|0]=w[c+4|0];d=d+3|0;a=a-1|0;e=e-1|0;if(e&65535){continue}break}}if((g&65535)>>>0<7){break a}while(1){t[d|0]=w[c+4|0];t[d+3|0]=w[c+4|0];t[d+6|0]=w[c+4|0];t[d+9|0]=w[c+4|0];t[d+12|0]=w[c+4|0];t[d+15|0]=w[c+4|0];t[d+18|0]=w[c+4|0];t[d+21|0]=w[c+4|0];d=d+24|0;a=a-8|0;if(a&65535){continue}break}}c=c+6|0;if(b){continue}break}}}function Tt(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;a:{if(!w[a+8|0]){break a}f=v[a>>2];if(!f){break a}e=v[f+4>>2]-1|0;v[f+4>>2]=e;if(e){break a}dc(f)}v[a>>2]=0;v[a+4>>2]=0;t[a+8|0]=0;if((d|0)==-1){d=ve(b);d=(d|0)>-1?d:-2147483648}v[a+4>>2]=d;b:{c:{if(c){if(!d){break b}f=fc(8);v[299999]=0;c=1;e=d+1|0;e=S(15,((e|0)!=(e&1073741823)?-1:e<<2)|0)|0;g=v[299999];v[299999]=0;if((g|0)!=1){v[f>>2]=e;d=d<<2;v[d+e>>2]=0;gc(e,b,d);v[f+4>>2]=1;v[a>>2]=f;break c}a=P()|0;O()|0;dc(f);T(a|0);L()}v[a>>2]=b;c=0}t[a+8|0]=c}}function Pca(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;f=Qb-16|0;Qb=f;while(1){a:{if((c|0)<=(g|0)){break a}d=v[a+12>>2];e=v[a+16>>2];b:{if(d>>>0>>0){v[f+12>>2]=2147483647;v[f+8>>2]=e-d>>2;v[f+4>>2]=c-g;d=Qb-16|0;Qb=d;Qb=d+16|0;d=Qb-16|0;Qb=d;Qb=d+16|0;d=f+4|0;e=f+8|0;d=v[d>>2]>2]?d:e;e=f+12|0;d=v[(v[d>>2]>2]?d:e)>>2];ak(b,v[a+12>>2],d);e=d<<2;v[a+12>>2]=e+v[a+12>>2];b=b+e|0;break b}d=Ub[v[v[a>>2]+40>>2]](a)|0;if((d|0)==-1){break a}v[b>>2]=d;d=1;b=b+4|0}g=d+g|0;continue}break}Qb=f+16|0;return g|0}function IJ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:{if(!b){break a}g=v[a+4>>2];if(!g){break a}d=v[a+44>>2];if(!d){break a}d=c>>>0>>0?c:d;b:{if(!d){break b}g=g+40|0;c=0;if((d|0)!=1){h=d&-2;while(1){f=g+(c<<2)|0;e=B(c,3)+b|0;t[f+2|0]=w[e|0];t[f+1|0]=w[e+1|0];t[f|0]=w[e+2|0];e=c|1;f=g+(e<<2)|0;e=B(e,3)+b|0;t[f+2|0]=w[e|0];t[f+1|0]=w[e+1|0];t[f|0]=w[e+2|0];c=c+2|0;h=h-2|0;if(h){continue}break}}if(!(d&1)){break b}d=g+(c<<2)|0;b=B(c,3)+b|0;t[d+2|0]=w[b|0];t[d+1|0]=w[b+1|0];t[d|0]=w[b+2|0]}t[a+481|0]=0}}function Xka(a){a=a|0;var b=0,c=0,d=0;v[a+20>>2]=0;v[a>>2]=985012;v[a+4>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;u[a+16>>1]=0;v[299999]=0;c=Z(4407,a+28|0,a+24|0,0,1)|0;b=v[299999];v[299999]=0;a:{b:{c:{d:{if((b|0)!=1){v[299999]=0;d=Z(4407,a+40|0,a+36|0,0,1)|0;b=v[299999];v[299999]=0;if((b|0)==1){break d}v[299999]=0;Z(4407,a+52|0,a+48|0,0,4)|0;b=v[299999];v[299999]=0;if((b|0)==1){break c}v[a+68>>2]=0;v[a+60>>2]=0;v[a+64>>2]=0;return a|0}b=P()|0;O()|0;break a}b=P()|0;O()|0;break b}b=P()|0;O()|0;Lc(d)}Lc(c)}Qc(a);T(b|0);L()}function UE(a){var b=0;b=v[a+4>>2];if(b){dc(TS(b))}v[299999]=0;R(3098,a+8|0);b=v[299999];v[299999]=0;a:{if((b|0)==1){break a}v[299999]=0;R(3098,a+24|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}v[299999]=0;R(3098,a+40|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}v[299999]=0;R(3098,a+56|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}v[299999]=0;R(3098,a+72|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}v[299999]=0;R(3098,a+88|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}return a}W(0)|0;O()|0;lc();L()}function OB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=Qb-32|0;Qb=c;d=c+21|0;g=c+32|0;cL(c+8|0,d,g,b);h=Qb-16|0;Qb=h;e=Qb-16|0;Qb=e;a:{i=v[c+8>>2];c=i-d|0;if(c>>>0<=1073741807){b:{if(c>>>0<=1){t[a+11|0]=c;b=a;break b}j=a;if(c>>>0>=2){f=c+4&-4;b=f-1|0;b=(b|0)==2?f:b}else{b=1}f=b+1|0;b=yL(f);v[j>>2]=b;v[a+8>>2]=f|-2147483648;v[a+4>>2]=c}while(1){if((d|0)!=(i|0)){v[e+12>>2]=t[d|0];d=d+1|0;v[b>>2]=v[e+12>>2];b=b+4|0;continue}break}v[e+8>>2]=0;v[b>>2]=v[e+8>>2];Qb=e+16|0;break a}$d(a);L()}Qb=h+16|0;Qb=g}function Lfa(a,b){a=a|0;b=b|0;var c=0,d=0;c=Qb-32|0;Qb=c;a:{b:{c:{d:{d=v[a+16>>2];if((d|0)<=(b|0)){b=b-d|0;if((b|0)>=v[a+40>>2]&(b|0)<=v[a+44>>2]){break d}a=vc(c+8|0,227445,271729,632,308150,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}a=v[a+20>>2];if(a){a=Ww(a,b);break c}a=vc(c+8|0,240130,242139,183,225890,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}a=v[a+28>>2]+B(b-v[a+32>>2]|0,12)|0}Qb=c+32|0;return a|0}L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function JJ(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;a:{if(!c){break a}h=v[a+4>>2];if(!h){break a}f=v[a+44>>2];if(!f){break a}f=b>>>0>>0?b:f;b:{if(!f){break b}h=h+40|0;d=d?d:c;e=e?e:d;b=0;if((f|0)!=1){i=f&-2;while(1){g=h+(b<<2)|0;t[g+2|0]=w[b+c|0];t[g+1|0]=w[b+d|0];t[g|0]=w[b+e|0];g=b|1;j=h+(g<<2)|0;t[j+2|0]=w[c+g|0];t[j+1|0]=w[d+g|0];t[j|0]=w[e+g|0];b=b+2|0;i=i-2|0;if(i){continue}break}}if(!(f&1)){break b}f=h+(b<<2)|0;t[f+2|0]=w[b+c|0];t[f+1|0]=w[b+d|0];t[f|0]=w[b+e|0]}t[a+481|0]=0}}function vha(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;f=Qb-16|0;Qb=f;e=v[a+8>>2];if((e|0)>(b|0)){d=v[a+12>>2]+b|0;b=(c|0)<0?e-b|0:c;a:{if((b|0)<1){break a}e=b+d|0;while(1){b:{b=d;if(!w[b|0]){break b}v[f+12>>2]=b;c=Ub[v[v[a>>2]+60>>2]](a,f+12|0)|0;d=v[f+12>>2];if((b|0)==(d|0)){break b}c:{if(c>>>0>255){break c}g=c<<24;g=(g|0)<-16777216?c:g>>24;if((g|0)==32|g-9>>>0<5){break c}switch(c-10|0){case 0:case 3:break c;default:break b}}if(e>>>0>d>>>0){continue}break a}break}d=b}e=d-v[a+12>>2]|0}Qb=f+16|0;return e|0}function V3(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if((b|0)>=1){a:{d=v[a+24>>2];e=d?d-20|0:0;c=v[e+24>>2];if((c|0)>=(b|0)){break a}while(1){b=b-c|0;d=d?d-20|0:0;c=v[d+48>>2];c=Ub[v[v[c>>2]+12>>2]](c,v[d+52>>2],1,4096,0,0)|0;if(!c){if(w[d+56|0]){c=v[a>>2];v[c+20>>2]=43;Ub[v[c>>2]](a)}c=v[a>>2];v[c+20>>2]=123;Ub[v[c+4>>2]](a,-1);t[v[d+52>>2]]=255;t[v[d+52>>2]+1|0]=217;c=2}t[d+56|0]=0;v[d+24>>2]=c;v[d+20>>2]=v[d+52>>2];c=v[e+24>>2];if((c|0)>=(b|0)){break a}d=v[a+24>>2];continue}}v[e+24>>2]=c-b;v[e+20>>2]=v[e+20>>2]+b}}function mib(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=-1;a:{if(Ih(b,v[a+24>>2])){break a}if(Ih(b,v[a+20>>2])){break a}if(Gg(b,v[a+28>>2])){break a}d=v[b+8>>2];if(d&7){break a}e=w[a+32|0];c=v[b+64>>2];if(!((c|0)<0|(c|0)>v[b+60>>2])){v[b+8>>2]=d|4;return-1}v[b+4>>2]=v[b+4>>2]|32;c=-1;d=v[b+28>>2];v[b+28>>2]=d-1;b:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;t[c|0]=e;break b}if((Fc(b,e)|0)==-1){break a}}c=-1;if(Hq(b,w[a+33|0])){break a}if(Hq(b,w[a+34|0])){break a}c=Hq(b,w[a+35|0])?-1:0}return c|0}function i8(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;if((c|0)>=1){a=v[a+12>>2];while(1){a:{b:{f=v[a>>2];h=f>>16;i=h&32767;if(i){d=wp((+(i|0)+.5)*.0027076061740622863+-44.3614195558365);d=h&32768?-d:d;if(!(d<=0)){break b}}v[b+8>>2]=0;v[b>>2]=0;v[b+4>>2]=0;break a}z[b+4>>2]=d;g=(+((f>>>8&255)>>>0)+.5)*.0024390243902439024;j=(+((f&255)>>>0)+.5)*.0024390243902439024;e=1/(g*6+j*-16+12);g=g*9*e;e=j*4*e;z[b>>2]=d*(g/e);z[b+8>>2]=d*((1-g-e)/e)}a=a+4|0;b=b+12|0;f=(c|0)>1;c=c-1|0;if(f){continue}break}}}function hcb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;if(v[a+2308>>2]){g=v[a+2300>>2];c=v[a+2312>>2];b=v[a+2316>>2];while(1){d=w[c+2|0];e=w[c+1|0];f=w[c|0];a:{if(!(!w[g+56|0]|(f|0)!=x[g+838>>1]|(e|0)!=x[g+840>>1])){if((d|0)==x[g+842>>1]){break a}}t[b+6|0]=255;t[b+7|0]=255}f=Ub[v[a+2296>>2]](f)|0;e=Ub[v[a+2296>>2]](e)|0;d=Ub[v[a+2296>>2]](d)|0;t[b+3|0]=(e|0)!=0;t[b+2|0]=e>>>8;t[b+1|0]=(f|0)!=0;t[b|0]=f>>>8;t[b+5|0]=(d|0)!=0;t[b+4|0]=d>>>8;b=b+8|0;c=c+3|0;h=h+1|0;if(h>>>0>2]){continue}break}}return 0}function _E(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;while(1){d=g<<3;e=d+b|0;f=v[e>>2];h=c+d|0;a:{if(v[h>>2]){if(!f){f=1;v[e>>2]=1;d=ed(256,8);v[e+4>>2]=d;v[d>>2]=0;v[v[e+4>>2]+4>>2]=0;while(1){d=f<<3;v[d+v[e+4>>2]>>2]=0;v[(d+v[e+4>>2]|0)+4>>2]=0;i=d+8|0;v[i+v[e+4>>2]>>2]=0;v[(v[e+4>>2]+i|0)+4>>2]=0;d=d+16|0;v[d+v[e+4>>2]>>2]=0;v[(d+v[e+4>>2]|0)+4>>2]=0;f=f+3|0;if((f|0)!=256){continue}break}}_E(a,v[e+4>>2],v[h+4>>2]);break a}if(f){kc(1,-1,242629,0);break a}v[e+4>>2]=v[h+4>>2]}g=g+1|0;if((g|0)!=256){continue}break}}function ZZa(a){a=a|0;var b=0,c=0,d=0,e=0;a:{if(!w[a+632|0]){break a}c=v[a+100>>2];b=v[a+476>>2];if((b|0)!=151552){if((b|0)!=131072){break a}b=v[a+640>>2];if(b){Ub[v[c+8>>2]](c,b)}b=0;u[a+636>>1]=0;v[a+640>>2]=0;if(x[a+638>>1]){while(1){d=b<<2;e=v[d+v[a+644>>2]>>2];if(e){Ub[v[c+8>>2]](c,e)}v[v[a+644>>2]+d>>2]=0;b=b+1|0;if(b>>>0>1]){continue}break}}b=v[a+644>>2];if(b){Ub[v[c+8>>2]](c,b)}u[a+638>>1]=0;v[a+644>>2]=0;break a}b=v[a+640>>2];if(b){Ub[v[c+8>>2]](c,b)}u[a+636>>1]=0;v[a+640>>2]=0}t[a+632|0]=0}function Mt(a,b,c){var d=0;d=Qb-16|0;Qb=d;if(a){v[a+744>>2]=34;t[d+12|0]=73;t[d+13|0]=68;t[d+14|0]=65;t[d+15|0]=84;t[d+11|0]=c;t[d+10|0]=c>>>8;t[d+9|0]=c>>>16;t[d+8|0]=c>>>24;ld(a,d+8|0,8);v[a+348>>2]=1229209940;_f(a);kd(a,d+12|0,4);v[a+744>>2]=66;if(!(!b|!c)){ld(a,b,c);kd(a,b,c)}v[a+744>>2]=130;b=v[a+384>>2];b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);t[d+4|0]=b;t[d+5|0]=b>>>8;t[d+6|0]=b>>>16;t[d+7|0]=b>>>24;ld(a,d+4|0,4)}b=v[a+272>>2];v[a+224>>2]=v[a+268>>2];v[a+228>>2]=b;v[a+200>>2]=v[a+200>>2]|4;Qb=d+16|0}function Fya(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a=fc(8);a:{b:{c:{if(!b){break c}v[299999]=0;d=S(1,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break b}v[299999]=0;e=Q(3064,d|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break c}b=P()|0;O()|0;dc(d);break a}d:{if(!c){break d}v[299999]=0;d=S(1,8)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}v[299999]=0;f=Q(3064,d|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break d}b=P()|0;O()|0;dc(d);break a}v[a+4>>2]=f;v[a>>2]=e;return a|0}b=P()|0;O()|0}dc(a);T(b|0);L()}function cda(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Qb-16|0;Qb=d;e=v[c+4>>2];c=v[c>>2];v[d>>2]=c;v[d+4>>2]=e;v[d+8>>2]=c;v[d+12>>2]=e;c=Qb-32|0;Qb=c;b=nm(c,b);v[299999]=0;U(5954,c+16|0,d|0,b|0);e=v[299999];v[299999]=0;a:{b:{c:{if((e|0)!=1){v[299999]=0;Q(5955,a|0,c+16|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break c}Mc(c+16|0);Mc(b);v[a>>2]=1022528;b=v[d+4>>2];v[a+8>>2]=v[d>>2];v[a+12>>2]=b;Qb=c+32|0;break a}a=P()|0;O()|0;break b}a=P()|0;O()|0;Mc(c+16|0)}Mc(b);T(a|0);L()}v[a>>2]=1010668;Qb=d+16|0;return a|0}function Ry(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{if(!a|!b){break a}e=w[b|0];if(!e){return a}c=b;while(1){g=g+1|0;d=w[c+1|0];c=c+1|0;if(d){continue}break}c=w[a|0];if(!c){break a}h=w[e+883952|0];while(1){d=a;b:{if(w[(c&255)+883952|0]!=(h|0)){break b}if((b|0)==(d|0)){return b}a=g;f=b;e=d;c=w[b|0];if(w[c+883952|0]!=(h|0)){break b}while(1){a=a-1|0;if(!a){return d}if(!(c&255)){return d}c=w[f+1|0];f=f+1|0;e=e+1|0;if(w[w[e|0]+883952|0]==w[c+883952|0]){continue}break}}a=d+1|0;c=w[d+1|0];if(c){continue}break}}return 0}function Ndb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=v[v[a+536>>2]+88>>2];b=(v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0;d=v[a+644>>2];a:{b:{c:{switch(w[a+2253|0]){case 0:case 4:break a;case 1:break c;default:break b}}if(v[a+588>>2]<=0){break b}while(1){c=w[b|0]|w[b+1|0]<<8;f=(c<<8|c>>>8)&65535;c=w[d|0]|w[d+1|0]<<8;c=f+((c<<8|c>>>8)&65535)&65535;c=c<<8|c>>>8;t[b|0]=c;t[b+1|0]=c>>>8;d=d+2|0;b=b+2|0;e=e+1|0;if((e|0)>2]){continue}break}}return 0}gc(b,d,v[a+588>>2]<<1);return 0}function Hg(a,b,c,d){var e=0,f=0,g=0,h=0;a:{if((b|0)>=1){while(1){e=v[a+8>>2];if(e&7){return-1}f=v[a+64>>2];if(!((f|0)<0|v[a+60>>2]<(f|0))){v[a+8>>2]=e|4;return-1}f=d;g=b;g=(g<<3)-8|0;e=g&-8;g=e&31;f=(e&63)>>>0>=32?f>>>g|0:((1<>>g;v[a+4>>2]=v[a+4>>2]|32;e=v[a+28>>2];v[a+28>>2]=e-1;b:{if((e|0)>=1){v[a+60>>2]=v[a+60>>2]+1;e=v[a+24>>2];v[a+24>>2]=e+1;t[e|0]=f;break b}e=-1;if((Fc(a,f&255)|0)==-1){break a}}f=b>>>0>1&(h|0)>=0|(h|0)>0;e=b;b=e-1|0;h=h-(e>>>0<1)|0;if(f){continue}break}}e=0}return e}function Cj(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=Qb-32|0;Qb=b;d=2;e=b+6|0;a:{b:{while(1){c=Ub[v[v[a>>2]+8>>2]](a,e,d)|0;if((c|0)<=-1){a=vc(b+8|0,ck(v[299402]),241835,413,338777,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}f=c+f|0;if(c){e=c+e|0;d=d-c|0;if(d){continue}}break}if((f|0)!=2){a=vc(b+8|0,v[282394],241835,564,342641,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}Qb=b+32|0;return w[b+7|0]|w[b+6|0]<<8}L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function Y8a(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;if(!(w[a+288|0]?w[a+285|0]:0)){pc(a,1029,0,0);return 1029}if(c>>>0<=5){pc(a,1028,0,0);return 1028}a:{if(!w[a+112|0]){break a}f=Ub[v[b+4>>2]](a,b,e)|0;if(f){break a}g=v[e>>2];b=d;f=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);v[g+32>>2]=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);b=w[b+4|0];f=c-5|0;v[g+40>>2]=f;t[g+36|0]=b;b=Ub[v[a+152>>2]](c-4|0)|0;v[v[e>>2]+44>>2]=b;b=v[v[e>>2]+44>>2];if(!b){pc(a,1,0,0);return 1}gc(b,d+5|0,f);f=0}return f|0}function SMa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=b;c=v[a+8>>2];d=v[a+12>>2];b=8;a:{b:{if(c>>>0>=d>>>0){break b}b=d-c|0;if((b|0)<=3){gc(v[a+4>>2]+37|0,c,b);t[v[a+4>>2]+36|0]=b;v[a+8>>2]=b+c;b=11;break b}b=w[c+3|0];d=w[c+2|0];f=w[c+1|0];g=w[c|0];v[a+8>>2]=c+4;d=f<<16|g<<24|d<<8;b=d|b;if(b>>>0<=1114111&(d&-2048)!=55296){break a}b=v[a+4>>2];c=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);t[b+37|0]=c;t[b+38|0]=c>>>8;t[b+39|0]=c>>>16;t[b+40|0]=c>>>24;t[v[a+4>>2]+36|0]=4;b=12}v[e>>2]=b;b=65535}return b|0}function PMa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=b;c=v[a+8>>2];d=v[a+12>>2];b=8;a:{b:{if(c>>>0>=d>>>0){break b}b=d-c|0;if((b|0)<=3){gc(v[a+4>>2]+37|0,c,b);t[v[a+4>>2]+36|0]=b;v[a+8>>2]=b+c;b=11;break b}b=w[c|0];d=w[c+1|0];f=w[c+2|0];g=w[c+3|0];v[a+8>>2]=c+4;d=f<<16|g<<24|d<<8;b=d|b;if(b>>>0<=1114111&(d&-2048)!=55296){break a}b=v[a+4>>2];c=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);t[b+37|0]=c;t[b+38|0]=c>>>8;t[b+39|0]=c>>>16;t[b+40|0]=c>>>24;t[v[a+4>>2]+36|0]=4;b=12}v[e>>2]=b;b=65535}return b|0}function qp(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;a:{if(f&64){c=f+-64|0;b=c&31;if((c&63)>>>0>=32){c=0;b=e>>>b|0}else{c=e>>>b|0;b=((1<>>b}d=0;e=0;break a}if(!f){break a}h=e;i=d;j=64-f|0;g=j&31;if((j&63)>>>0>=32){h=i<>>32-g|h<>>0>=32){g=0;b=c>>>b|0}else{g=c>>>b|0;b=((1<>>b}b=j|b;c=g|h;g=d;d=f&31;if((f&63)>>>0>=32){h=0;d=e>>>d|0}else{h=e>>>d|0;d=((1<>>d}e=h}v[a>>2]=b;v[a+4>>2]=c;v[a+8>>2]=d;v[a+12>>2]=e}function c1(a,b,c,d,e,f){a:{if(b>>>0>c>>>0){break a}b:{switch(d|0){case 0:while(1){d=b&65535;c:{if(d){d=yg(a,d);break c}d=v[a+528>>2]}if(d){v[d+40>>2]=f;v[d+36>>2]=e}b=b+1|0;if((b&65535)>>>0<=c>>>0){continue}break};break a;case 1:while(1){d=b&65535;d:{if(d){d=yg(a,d);break d}d=v[a+528>>2]}if(d){v[d+36>>2]=v[d+36>>2]+e;v[d+40>>2]=v[d+40>>2]+f}b=b+1|0;if((b&65535)>>>0<=c>>>0){continue}break};break a;default:break b}}while(1){d=b&65535;if(d){yg(a,d)}b=b+1|0;if((b&65535)>>>0<=c>>>0){continue}break}}return 0}function Df(a,b,c){var d=0,e=0,f=0;a:{d=v[a+4>>2];if((d&48)!=48){f=v[a+8>>2];v[a+8>>2]=f&-2;b:{c:{if(d&16){if((c|0)!=1){break c}b=b-v[a+28>>2]|0;break c}if(!(d&32)){break c}e=-1;if(!(w[a|0]&6)|f&6){break b}f=v[a+16>>2];e=v[a+24>>2]-f|0;if((e|0)>=1){if((Ub[v[v[a+52>>2]+4>>2]](v[a+56>>2],f,e)|0)!=(e|0)){break a}d=v[a+4>>2]}d=d|32}v[a+28>>2]=0;v[a+24>>2]=v[a+16>>2];v[a+4>>2]=d&-49;a=Ub[v[v[a+52>>2]+8>>2]](v[a+56>>2],b,c)|0;e=(a|0)>-1?a:-1}return e}X(16782,6782,648,188052);L()}v[a+8>>2]=v[a+8>>2]|2;return-1}function zA(a,b,c){var d=0;d=0;a:{if(v[a>>2]){break a}b:{if(c>>>0<8){break b}a=w[b|0];c:{if((a|0)!=87|w[b+1|0]!=87|(w[b+2|0]!=66|w[b+3|0]!=66)){break c}if(w[b+4|0]!=49|w[b+5|0]!=49|w[b+6|0]!=49){break c}d=1;if(w[b+7|0]==49){break a}}if(a|c>>>0<16|(w[b+1|0]|w[b+2|0]!=2)){break b}if(w[b+3|0]|w[b+4|0]!=2|(w[b+5|0]!=16|w[b+6|0]!=201)){break b}if(w[b+7|0]|w[b+8|0]!=2|(w[b+9|0]|w[b+10|0]!=200)){break b}if(w[b+11|0]!=6|w[b+12|0]!=76|(w[b+13|0]|w[b+14|0]!=2)){break b}if(w[b+15|0]){break b}return 1}d=0}return d}function Ena(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;d=Qb-32|0;Qb=d;a:{if(!w[a+144|0]){a=vc(d+8|0,231625,242011,164,226800,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}b=P()|0;O()|0;qc(a);T(b|0);L()}b:{if(!(c&32)|(a|0)==(b|0)){break b}b=a+148|0;if(!(v[b>>2]&64)|!(v[b>>2]&16)|(!(v[b>>2]&64)|!(v[b>>2]&16))){break b}c=v[a+120>>2];if(c){while(1){if(!(v[v[c+8>>2]+148>>2]&32)){break b}c=v[c>>2];if(c){continue}break}}sg(b,0,0,32,0);b=Bh();Ub[v[v[b>>2]+40>>2]](b,a,32,0)}Qb=d+32|0;return}L()}function vu(a){a=a|0;var b=0,c=0,d=0,e=0;b=v[a>>2];e=a+4|0;if((b|0)!=(e|0)){while(1){d=b;b=v[b+24>>2];if(b){c=v[b+32>>2];if(c){dc(c)}c=v[b+36>>2];if(c){dc(c)}if(t[b+31|0]<=-1){dc(v[b+20>>2])}if(t[b+19|0]<=-1){dc(v[b+8>>2])}dc(b)}c=v[d+4>>2];a:{if(!c){b=v[d+8>>2];if((d|0)==v[b>>2]){break a}d=d+8|0;while(1){c=v[d>>2];d=c+8|0;b=v[c+8>>2];if((c|0)!=v[b>>2]){continue}break}break a}while(1){b=c;c=v[b>>2];if(c){continue}break}}if((b|0)!=(e|0)){continue}break}}Vp(a,v[a+4>>2]);v[a>>2]=e;v[a+4>>2]=0;v[a+8>>2]=0}function uua(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=v[b+4>>2];a:{b:{if(e){f=b+4|0;g=v[c>>2];while(1){d=v[e+16>>2];c:{if((d|0)>(g|0)){d=v[e>>2];if(d){break c}break b}if((d|0)>=(g|0)){break a}f=e+4|0;d=v[e+4>>2];if(!d){break a}e=f}f=e;e=d;continue}}e=b+4|0}f=e}g=a;d=v[f>>2];if(d){b=0}else{d=fc(24);v[d+16>>2]=v[c>>2];c=v[c+4>>2];v[d+8>>2]=e;v[d>>2]=0;v[d+4>>2]=0;v[d+20>>2]=c;v[f>>2]=d;c=v[v[b>>2]>>2];if(c){v[b>>2]=c;c=v[f>>2]}else{c=d}Uc(v[b+4>>2],c);v[b+8>>2]=v[b+8>>2]+1;b=1}t[g+4|0]=b;v[a>>2]=d}function scb(a){a=a|0;var b=0,c=0,d=0,e=0;c=v[a+2308>>2];a:{if(!c){break a}e=c&3;d=v[a+2312>>2];a=v[a+2316>>2];if(c-1>>>0>=3){c=c&-4;while(1){b=x[d>>1];u[a+4>>1]=b;u[a+2>>1]=b;u[a>>1]=b;b=x[d+2>>1];u[a+10>>1]=b;u[a+8>>1]=b;u[a+6>>1]=b;b=x[d+4>>1];u[a+16>>1]=b;u[a+14>>1]=b;u[a+12>>1]=b;b=x[d+6>>1];u[a+22>>1]=b;u[a+20>>1]=b;u[a+18>>1]=b;a=a+24|0;d=d+8|0;c=c-4|0;if(c){continue}break}}if(!e){break a}while(1){c=x[d>>1];u[a+4>>1]=c;u[a+2>>1]=c;u[a>>1]=c;a=a+6|0;d=d+2|0;e=e-1|0;if(e){continue}break}}return 0}function rga(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;if(!(!f|!e)){a=e&-2;d=e&1;h=h<<2;c=g<<1;while(1){g=a;if((e|0)!=1){while(1){v[b>>2]=w[i+1|0]|w[j+1|0]<<8|w[k+1|0]<<16|-16777216;v[b+4>>2]=w[i+3|0]|w[j+3|0]<<8|w[k+3|0]<<16|-16777216;b=b+8|0;k=k+4|0;j=j+4|0;i=i+4|0;g=g-2|0;if(g){continue}break}}f=f-1|0;if(d){v[b>>2]=w[i+1|0]|w[j+1|0]<<8|w[k+1|0]<<16|-16777216;k=k+2|0;j=j+2|0;i=i+2|0;b=b+4|0}b=b+h|0;k=c+k|0;j=c+j|0;i=c+i|0;if(f){continue}break}}}function rH(a,b){var c=0,d=0,e=0,f=0;c=v[b+4>>2];if(c){if(v[b>>2]){while(1){d=a;f=e<<4;c=v[(f+c|0)+8>>2];if(c){Ub[v[d+8>>2]](d,c)}d=v[b+4>>2]+f|0;v[d+8>>2]=0;d=v[d+12>>2];if(d){Ub[v[a+8>>2]](a,d)}c=v[b+4>>2];v[(f+c|0)+12>>2]=0;e=e+1|0;if(e>>>0>2]){continue}break}}if(c){Ub[v[a+8>>2]](a,c)}v[b+4>>2]=0}c=v[b+16>>2];if(c){if(v[b+12>>2]){e=0;while(1){d=e<<2;c=v[d+c>>2];if(c){Ub[v[a+8>>2]](a,c)}c=v[b+16>>2];v[d+c>>2]=0;e=e+1|0;if(e>>>0>2]){continue}break}}if(c){Ub[v[a+8>>2]](a,c)}v[b+16>>2]=0}}function Bs(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{if(!a){break a}a=v[a+128>>2];v[a+24>>2]=0;b:{if(!b){v[a+8>>2]=0;v[a+12>>2]=65536;v[a>>2]=65536;v[a+4>>2]=0;b=a;break b}d=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=d;d=v[b+12>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=d}c:{if(!(v[b+8>>2]|v[b+4>>2]|v[b>>2]!=65536)){d=2;if(v[b+12>>2]==65536){break c}}v[a+24>>2]=1;d=3}b=a+16|0;d:{if(!c){v[a+16>>2]=0;v[a+20>>2]=0;c=0;break d}b=v[c+4>>2];v[a+16>>2]=v[c>>2];v[a+20>>2]=b;b=c;c=v[b>>2]}if(!(c|v[b+4>>2])){break a}v[a+24>>2]=d}}function Bja(a,b){a=a|0;b=b|0;var c=0;v[a+8>>2]=0;v[a>>2]=989420;v[a+4>>2]=0;v[a+12>>2]=v[282402];v[299999]=0;Q(4340,a+16|0,989342)|0;c=v[299999];v[299999]=0;if((c|0)==1){b=P()|0;O()|0;ec(a+8|0);Qc(a);T(b|0);L()}v[a+24>>2]=0;c=v[282402];t[a+88|0]=0;v[a+68>>2]=1;u[a+64>>1]=0;v[a+60>>2]=0;u[a+56>>1]=0;v[a+48>>2]=-1;v[a+52>>2]=50;v[a+40>>2]=255;v[a+44>>2]=1;t[a+36|0]=0;v[a+32>>2]=0;v[a+28>>2]=c;v[a>>2]=989988;v[a+92>>2]=v[b>>2];v[a+96>>2]=v[b+4>>2];v[a+100>>2]=v[b+8>>2];v[a+104>>2]=v[b+12>>2];return a|0}function RAa(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=897628;b=v[a+180>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;a:{if((b|0)==1){break a}b=v[a+188>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}c=v[a+328>>2];if((c|0)>=1){b=0;while(1){d=v[((b<<2)+a|0)+196>>2];if(d){Ub[v[v[d>>2]+4>>2]](d);c=v[a+328>>2]}b=b+1|0;if((c|0)>(b|0)){continue}break}}v[a>>2]=897548;b=v[a+8>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}dc(a);return}W(0)|0;O()|0;v[a>>2]=897548;a=v[a+8>>2];if(a){Ub[v[v[a>>2]+4>>2]](a)}lc();L()}function Bla(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=Qb-16|0;Qb=d;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=0;v[d+4>>2]=0;v[d>>2]=982500;v[d+4>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;g=d;v[299999]=0;$(5001,a|0,b|0,d|0,1);a=v[299999];v[299999]=0;if((a|0)!=1){a:{a=v[d+8>>2];b:{if(!a){break b}while(1){e=v[a+8>>2];f=v[v[e>>2]+24>>2];v[299999]=0;e=Y(f|0,e|0,b|0,c|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(e){break b}a=v[a>>2];if(a){continue}break}}Ic(g);Qb=d+16|0;return e|0}}a=P()|0;O()|0;Ic(g);T(a|0);L()}function Ala(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=Qb-16|0;Qb=d;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=0;v[d+4>>2]=0;v[d>>2]=982500;v[d+4>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;g=d;v[299999]=0;$(5001,a|0,b|0,d|0,1);a=v[299999];v[299999]=0;if((a|0)!=1){a:{a=v[d+8>>2];b:{if(!a){break b}while(1){e=v[a+8>>2];f=v[v[e>>2]+28>>2];v[299999]=0;e=Y(f|0,e|0,b|0,c|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break a}if(e){break b}a=v[a>>2];if(a){continue}break}}Ic(g);Qb=d+16|0;return e|0}}a=P()|0;O()|0;Ic(g);T(a|0);L()}function tja(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=fc(140);v[299999]=0;e=Q(5082,c|0,b|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){v[c>>2]=989904;d=v[b+96>>2];v[c+92>>2]=v[b+92>>2];v[c+96>>2]=d;d=v[b+104>>2];v[c+100>>2]=v[b+100>>2];v[c+104>>2]=d;d=v[b+112>>2];v[c+108>>2]=v[b+108>>2];v[c+112>>2]=d;d=v[b+120>>2];v[c+116>>2]=v[b+116>>2];v[c+120>>2]=d;d=v[b+128>>2];v[c+124>>2]=v[b+124>>2];v[c+128>>2]=d;d=v[b+136>>2];v[c+132>>2]=v[b+132>>2];v[c+136>>2]=d;v[a>>2]=0;Wc(a,e);return}a=P()|0;O()|0;dc(c);T(a|0);L()}function rOa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=Qb-16|0;Qb=d;v[d+12>>2]=0;v[d+8>>2]=0;e=w[a+11|0];f=e<<24>>24<0;ll(f?v[a>>2]:a,f?v[a+4>>2]:e,d+12|0,d+8|0,0);e=v[d+12>>2];a=zh(e,301006);if(e){dc(e)}v[d+12>>2]=0;v[d+8>>2]=0;e=w[b+11|0];f=v[b>>2];g=v[b+4>>2];v[299999]=0;h=b;b=e<<24>>24<0;fa(2716,(b?f:h)|0,(b?g:e)|0,d+12|0,d+8|0,c|0);b=v[299999];v[299999]=0;if((b|0)!=1){b=v[d+12>>2];if(a){Rc(b,1,v[d+8>>2],a)}if(b){dc(b)}if(a){Be(a)}Qb=d+16|0;return 1}b=P()|0;O()|0;if(a){Be(a)}T(b|0);L()}function lD(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=v[c>>2];g=v[b>>2];if(!(v[a+44>>2]?v[a+36>>2]:0)){FO(a)}f=v[a+32>>2];h=f&4;e=h?g:d;j=f&2?v[a+12>>2]+(v[a+4>>2]-e|0)|0:e;e=v[a+40>>2];i=(e|0)/2|0;k=b;b=v[a>>2];d=h?d:g;d=B(v[a+36>>2],(f&1?(b+v[a+8>>2]|0)-d|0:d)-b|0);a:{if((d|0)>=0){b=(d+i|0)/(e|0)|0;break a}b=0-((i-d|0)/(e|0)|0)|0}v[k>>2]=b+v[a+16>>2];b=v[a+48>>2];d=(b|0)/2|0;f=v[a+20>>2];a=B(v[a+44>>2],j-v[a+4>>2]|0);b:{if((a|0)>=0){a=(a+d|0)/(b|0)|0;break b}a=0-((d-a|0)/(b|0)|0)|0}v[c>>2]=a+f}function Ww(a,b){a=a|0;b=b|0;var c=0,d=0;c=Qb-32|0;Qb=c;a:{b:{while(1){d=v[a+16>>2];if((d|0)<=(b|0)){b=b-d|0;if(!((b|0)>=v[a+40>>2]&(b|0)<=v[a+44>>2])){a=vc(c+8|0,227445,271729,619,308234,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}Qb=c+32|0;return v[a+28>>2]+B(b-v[a+32>>2]|0,12)|0}a=v[a+20>>2];if(a){continue}break}a=vc(c+8|0,240130,242139,165,336756,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function H$(a,b,c){var d=0;a:{if(v[a>>2]|c>>>0<32|(w[b|0]|w[b+1|0])){break a}if(w[b+2|0]|w[b+3|0]!=12|(w[b+4|0]!=106|w[b+5|0]!=80)){break a}if(w[b+6|0]!=32|w[b+7|0]!=32|(w[b+8|0]!=13|w[b+9|0]!=10)){break a}if(w[b+10|0]!=135|w[b+11|0]!=10|(w[b+12|0]|w[b+13|0])){break a}if(w[b+14|0]|w[b+16|0]!=102|(w[b+17|0]!=116|w[b+18|0]!=121)){break a}if(w[b+19|0]!=112|w[b+20|0]!=106|(w[b+21|0]!=112|w[b+22|0]!=50)){break a}if(w[b+24|0]|w[b+23|0]!=32|(w[b+25|0]|w[b+26|0])){break a}if(w[b+27|0]){break a}d=1}return d}function qHa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;a:{e=v[a+392>>2];if(y[e+8>>2]>=y[a+284>>2]){break a}i=e+24|0;h=e+12|0;g=v[h>>2];while(1){f=v[a+280>>2];if(g>>>0>>0){Ub[v[v[a+396>>2]+4>>2]](a,b,c,d,i,h,f);f=v[a+280>>2];g=v[h>>2]}if((g|0)!=(f|0)){break a}f=Ub[v[v[a+400>>2]+4>>2]](a,i)|0;g=v[e+16>>2];if(!f){if(g){break a}v[c>>2]=v[c>>2]-1;v[e+16>>2]=1;return}if(g){v[c>>2]=v[c>>2]+1;v[e+16>>2]=0}g=0;v[e+12>>2]=0;f=v[e+8>>2]+1|0;v[e+8>>2]=f;if(f>>>0>2]){continue}break}}}function SAa(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=897628;b=v[a+180>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;a:{if((b|0)==1){break a}b=v[a+188>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}c=v[a+328>>2];if((c|0)>=1){b=0;while(1){d=v[((b<<2)+a|0)+196>>2];if(d){Ub[v[v[d>>2]+4>>2]](d);c=v[a+328>>2]}b=b+1|0;if((c|0)>(b|0)){continue}break}}v[a>>2]=897548;b=v[a+8>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}return a|0}W(0)|0;O()|0;v[a>>2]=897548;a=v[a+8>>2];if(a){Ub[v[v[a>>2]+4>>2]](a)}lc();L()}function dWa(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,j=0;b=v[a+452>>2];c=v[b+24>>2];a:{if(c){d=v[b+12>>2];break a}d=Ub[v[v[a+4>>2]+28>>2]](a,v[b+8>>2],v[b+20>>2],v[b+16>>2],0)|0;v[b+12>>2]=d;c=v[b+24>>2]}h=v[a+116>>2]-v[b+20>>2]|0;i=v[f>>2];g=g-i|0;j=v[b+16>>2]-c|0;g=g>>>0>>0?g:j;g=g>>>0>h>>>0?h:g;Ub[v[v[a+480>>2]+4>>2]](a,(c<<2)+d|0,(i<<2)+e|0,g);v[f>>2]=g+v[f>>2];a=g+v[b+24>>2]|0;v[b+24>>2]=a;c=a;a=v[b+16>>2];if(c>>>0>=a>>>0){v[b+24>>2]=0;v[b+20>>2]=a+v[b+20>>2]}}function rpa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{if((b|0)<1){break a}c=v[282402];e=b-1|0;d=b&3;if(d){while(1){v[a+24>>2]=0;v[a+16>>2]=0;v[a+28>>2]=c;v[a+20>>2]=c;a=a+32|0;b=b-1|0;d=d-1|0;if(d){continue}break}}if(e>>>0<3){break a}while(1){v[a+24>>2]=0;v[a+16>>2]=0;v[a+124>>2]=c;v[a+120>>2]=0;v[a+116>>2]=c;v[a+112>>2]=0;v[a+92>>2]=c;v[a+88>>2]=0;v[a+84>>2]=c;v[a+80>>2]=0;v[a+60>>2]=c;v[a+56>>2]=0;v[a+52>>2]=c;v[a+48>>2]=0;v[a+28>>2]=c;v[a+20>>2]=c;a=a+128|0;d=(b|0)>4;b=b-4|0;if(d){continue}break}}}function UMa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=v[a+20>>2];if((d|0)!=102){e=v[a>>2];v[e+24>>2]=d;v[e+20>>2]=21;Ub[v[v[a>>2]>>2]](a)}e=v[a+32>>2];f=v[a+260>>2];if(e>>>0<=f>>>0){b=v[a>>2];v[b+20>>2]=126;Ub[v[b+4>>2]](a,-1);return 0}d=v[a+8>>2];if(d){v[d+8>>2]=e;v[d+4>>2]=f;Ub[v[d>>2]](a)}d=v[a+388>>2];if(v[d+12>>2]){Ub[v[d+4>>2]](a)}d=c;c=v[a+272>>2]<<3;if(d>>>0>>0){d=v[a>>2];v[d+20>>2]=24;Ub[v[d>>2]](a)}if(!(Ub[v[v[a+400>>2]+4>>2]](a,b)|0)){return 0}v[a+260>>2]=c+v[a+260>>2];return c|0}function xr(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=Qb-32|0;Qb=b;d=1;e=b+7|0;a:{b:{while(1){c=Ub[v[v[a>>2]+8>>2]](a,e,d)|0;if((c|0)<=-1){a=vc(b+8|0,ck(v[299402]),241835,413,338777,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}f=c+f|0;if(c){e=c+e|0;d=d-c|0;if(d){continue}}break}if((f|0)!=1){a=vc(b+8|0,v[282394],241835,555,342581,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}break a}Qb=b+32|0;return w[b+7|0]}L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function th(a,b,c){var d=0,e=0,f=0;a:{if(!a|!b){break a}b:{c:{d:{switch(c|0){case 1:b=Xe(0,b);break c;case 0:break b;case 2:break d;default:break a}}if(b){v[b+16>>2]=v[b+16>>2]+1}}if(!b){break a}}f=v[a>>2];c=v[a+4>>2];e:{if((f|0)<(c|0)){break e}d=c<<1;if((d|0)>(c|0)){c=vj(a+12|0,c<<2,c<<3);v[a+12>>2]=c;if(!c){break e}v[a+4>>2]=d}c=v[a+16>>2];f:{if(!c){break f}e=v[c+4>>2];if((e|0)<(d|0)){e=vj(c+12|0,e<<2,d<<2);v[c+12>>2]=e;if(!e){break f}v[c+4>>2]=d}}}v[v[a+12>>2]+(f<<2)>>2]=b;v[a>>2]=v[a>>2]+1}}function dG(a,b){var c=0,d=0,e=0;d=Qb-16|0;Qb=d;a:{b:{b=v[b+4>>2];c:{if(!b){c=ve(0);if(c>>>0>=1073741808){break b}d:{e:{if(c>>>0>=2){e=c+4&-4;b=fc(e<<2);v[a+8>>2]=e|-2147483648;v[a>>2]=b;v[a+4>>2]=c;a=b;break e}t[a+11|0]=c;if(!c){break d}}v[299999]=0;tc(a,0,c);b=v[299999];v[299999]=0;if((b|0)==1){break a}}v[(c<<2)+a>>2]=0;break c}b=SU(b);if(!b){v[a>>2]=0;t[a+11|0]=0;break c}cn(d,b,Bc(b));v[a+8>>2]=v[d+8>>2];b=v[d+4>>2];v[a>>2]=v[d>>2];v[a+4>>2]=b}Qb=d+16|0;return}$d(a);L()}W(0)|0;O()|0;lc();L()}function KWa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=v[a+452>>2];a:{b:{switch(b|0){case 0:if(v[a+84>>2]){v[c+4>>2]=226;if(v[c+12>>2]){break a}d=c,e=Ub[v[v[a+4>>2]+28>>2]](a,v[c+8>>2],0,v[c+16>>2],1)|0,v[d+12>>2]=e;break a}v[c+4>>2]=v[v[a+472>>2]+4>>2];break a;case 3:if(!v[c+8>>2]){b=v[a>>2];v[b+20>>2]=3;Ub[v[b>>2]](a)}v[c+4>>2]=227;break a;case 2:if(!v[c+8>>2]){b=v[a>>2];v[b+20>>2]=3;Ub[v[b>>2]](a)}v[c+4>>2]=228;break a;default:break b}}b=v[a>>2];v[b+20>>2]=3;Ub[v[b>>2]](a)}v[c+20>>2]=0;v[c+24>>2]=0}function kk(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;a:{f=v[a+4>>2];if(!f){e=b;break a}b:{if(y[a+8>>2]<=b>>>0){break b}e=v[f+(b<<2)>>2];if(e){break a}e=0;g=v[a+16>>2];if((g|0)<1){break b}f=v[a+12>>2];a=0;while(1){if(v[f+B(a,40)>>2]==(b|0)){b=f+B(a,40)|0;if(v[b+36>>2]<1|(d|0)<1){break b}a=f+B(a,40)|0;while(1){f=e<<2;v[f+c>>2]=v[(a+f|0)+4>>2];e=e+1|0;if((e|0)>=v[b+36>>2]){break b}if((d|0)>(e|0)){continue}break}break b}a=a+1|0;if((g|0)!=(a|0)){continue}break}}return e|0}v[c>>2]=e;return 1}function ol(a,b){var c=0,d=0,e=0;c=v[a+20>>2];if(!(w[a+13|0]?c:0)){return Ac(b,v[a+16>>2])}d=v[a+24>>2];c=c-1|0;e=c>>>0>>0?d:c;while(1){a:{c=d;if((e|0)==(c|0)){c=e;break a}d=c+1|0;if(v[(B(d,20)+a|0)+36>>2]<=(b|0)){continue}}break}b:{c:{if(c){while(1){d=v[(B(c,20)+a|0)+36>>2];if((d|0)<=(b|0)){break c}c=c-1|0;if(c){continue}break}}c=0;v[a+24>>2]=0;d=v[a+36>>2];if((d|0)<=(b|0)){break b}return Ac(b-d|0,v[a+16>>2])+v[a+40>>2]|0}v[a+24>>2]=c}a=B(c,20)+a|0;return Ac(b-d|0,v[a+44>>2])+v[a+40>>2]|0}function li(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=Qb-16|0;Qb=e;c=0;a:{if(!a){break a}b:{c:{if((b|0)>=128){d:{if((b|0)<2048){c=192;f=6;d=0;break d}if((b|0)<65536){g=1;c=224;f=12;d=6;break d}if((b|0)>=1114112){break b}g=1;c=240;f=18;h=1;d=12}t[a|0]=b>>>f|c;t[a+1|0]=b>>d&63|128;if(g){break c}c=(a+2|0)-a|0;break a}t[a|0]=b;c=1;break a}t[a+2|0]=b>>d-6&63|128;c=(a+3|0)-a|0;if(!h){break a}t[a+3|0]=b>>d-12&63|128;c=(a+4|0)-a|0;break a}v[e>>2]=b;oc(0,0,0,0,0,1,9,3,0,0,0,b,353167,e);c=0}Qb=e+16|0;return c}function kU(a,b){var c=0,d=0,e=0,f=0;d=Qb-16|0;Qb=d;a:{if(!v[a+336>>2]){break a}c=v[a+328>>2];if((c|0)<(b|0)){v[d>>2]=b;Ub[v[259806]](v[294239],354882,d);c=v[a+328>>2];b=c}if((c|0)<1|(b|0)<1){break a}e=b&3;if(b-1>>>0>=3){b=b&-4;while(1){f=c<<2;v[(f+v[a+336>>2]|0)-4>>2]=0;v[(v[a+336>>2]+f|0)-8>>2]=0;v[(v[a+336>>2]+f|0)-12>>2]=0;c=c-4|0;v[v[a+336>>2]+(c<<2)>>2]=0;b=b-4|0;if(b){continue}break}}if(e){while(1){c=c-1|0;v[v[a+336>>2]+(c<<2)>>2]=0;e=e-1|0;if(e){continue}break}}v[a+328>>2]=c}Qb=d+16|0}function Uca(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=Qb-16|0;Qb=e;while(1){a:{if((c|0)<=(g|0)){break a}d=v[a+12>>2];f=v[a+16>>2];b:{if(d>>>0>>0){v[e+12>>2]=2147483647;v[e+8>>2]=f-d;v[e+4>>2]=c-g;d=Qb-16|0;Qb=d;Qb=d+16|0;d=Qb-16|0;Qb=d;Qb=d+16|0;d=e+4|0;f=e+8|0;d=v[d>>2]>2]?d:f;f=e+12|0;d=v[(v[d>>2]>2]?d:f)>>2];bk(b,v[a+12>>2],d);v[a+12>>2]=v[a+12>>2]+d;break b}d=Ub[v[v[a>>2]+40>>2]](a)|0;if((d|0)==-1){break a}t[b|0]=d;d=1}b=b+d|0;g=d+g|0;continue}break}Qb=e+16|0;return g|0}function UYa(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,j=0,k=0;h=Qb-16|0;Qb=h;d=v[a+472>>2];a:{if(v[d+36>>2]){g=1;rm(d+32|0,0,(v[f>>2]<<2)+e|0,0,1,v[d+40>>2]);v[d+36>>2]=0;break a}i=v[d+44>>2];j=e;e=v[f>>2];k=j+(e<<2)|0;v[h+8>>2]=v[k>>2];j=h;g=g-e|0;i=i>>>0<2?i:2;g=g>>>0>>0?g:i;if(g>>>0>=2){e=v[k+4>>2]}else{v[d+36>>2]=1;e=v[d+32>>2]}v[j+12>>2]=e;Ub[v[d+12>>2]](a,b,v[c>>2],h+8|0)}v[f>>2]=v[f>>2]+g;v[d+44>>2]=v[d+44>>2]-g;if(!v[d+36>>2]){v[c>>2]=v[c>>2]+1}Qb=h+16|0}function Oh(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;a:{if(f&64){d=b;e=f+-64|0;b=e&31;if((e&63)>>>0>=32){e=d<>>32-b|c<>>0>=32){h=g<>>32-d|e<>>0>=32){f=0;d=d>>>e|0}else{f=d>>>e|0;d=((1<>>e}d=j|d;e=f|h;f=b;b=i&31;if((i&63)>>>0>=32){h=f<>>32-b|c<>2]=b;v[a+4>>2]=c;v[a+8>>2]=d;v[a+12>>2]=e}function HQ(a,b,c){var d=0,e=0;d=Qb-16|0;Qb=d;e=v[a+200>>2];if(e&1){a:{if(e&4){Gc(a,64745);td(a,c);break a}if(!(!b|!(w[b+8|0]&128))){Gc(a,64791);td(a,c);break a}if((c|0)!=9){Gc(a,64947);td(a,c);break a}c=d+7|0;yf(a,c,9);kd(a,c,9);if(td(a,0)){break a}c=a;a=w[d+7|0]|w[d+8|0]<<8|(w[d+9|0]<<16|w[d+10|0]<<24);e=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=w[d+11|0]|w[d+12|0]<<8|(w[d+13|0]<<16|w[d+14|0]<<24);HD(c,b,e,a<<24|a<<8&16711680|(a>>>8&65280|a>>>24),w[d+15|0])}Qb=d+16|0;return}hd(a,64462);L()}function sM(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;h=Qb-16|0;Qb=h;f=a;i=v[b+4>>2];d=x[b+2>>1];if(d>>>0<=13){d=v[(d<<2)+81924>>2]}else{d=0}f=kg(f,i,d,55288);if(f){a:{if(!jh(a,b,f)){break a}i=v[b+4>>2];if(!i){break a}while(1){e=f+(g<<3)|0;d=v[e>>2];e=v[e+4>>2];if(!e){c=v[a>>2];g=v[a+628>>2];a=v[tf(a,x[b>>1])+16>>2];v[h+4>>2]=d;v[h>>2]=a;zc(g,c,55782,h);e=0;break a}z[(g<<2)+c>>2]=x[b+2>>1]==5?C(C(d>>>0)/C(e>>>0)):C(C(d|0)/C(e|0));e=1;g=g+1|0;if((i|0)!=(g|0)){continue}break}}dc(f)}Qb=h+16|0;return e}function nCa(a){a=a|0;var b=0,c=0,d=0;a:{b:{c:{d:{b=v[a+16>>2];if(b){d=fc(8);v[299999]=0;b=Q(3064,d|0,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}JT(b);c=v[b+4>>2];if(yd(c,234145)){break d}if(yd(c,272971)){break d}c=yd(c,264545);Dc(b);dc(d);if(c){break c}}if(v[a+32>>2]>=0){e:{switch(v[a+20>>2]-7|0){case 0:case 1:case 2:case 3:case 4:break a;default:break e}}return!v[a+152>>2]|0}return!v[a+152>>2]|0}Dc(b);dc(d)}return 0}a=P()|0;O()|0;dc(d);T(a|0);L()}return!(v[a+152>>2]|v[a+224>>2])|0}function jl(a,b){var c=0,d=0,e=0,f=0;a:{if(!b){break a}b:{if(a>>>0<=65535){c=v[b>>2];if(!c|(c|0)<1){break a}f=v[b+8>>2];b=c-1|0;c=0;while(1){d=(b+c|0)/2|0;e=f+(d<<2)|0;c:{if(x[e>>1]>a>>>0){b=d-1|0;break c}if(x[e+2>>1]>=a>>>0){return 1}c=d+1|0}if((b|0)>=(c|0)){continue}break}break b}c=v[b+4>>2];if(!c|(c|0)<1){break a}f=v[b+12>>2];b=c-1|0;c=0;while(1){d=(b+c|0)/2|0;e=f+(d<<3)|0;d:{if(y[e>>2]>a>>>0){b=d-1|0;break d}if(y[e+4>>2]>=a>>>0){return 1}c=d+1|0}if((b|0)>=(c|0)){continue}break}}}return 0}function Mba(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;e=Qb-16|0;Qb=e;a:{b:{c:{if((a|0)!=(b|0)){d:{e:{f=w[a|0];if((f|0)!=45){break e}a=a+1|0;if((b|0)!=(a|0)){break e}break d}h=v[299402];v[299402]=0;a=oC(a,e+12|0,d,pg());d=Tb;g=v[299402];f:{if(g){if(v[e+12>>2]!=(b|0)){break f}if((g|0)==68){break c}break b}v[299402]=h;if(v[e+12>>2]==(b|0)){break b}}}}v[c>>2]=4;a=0;b=0;break a}v[c>>2]=4;a=-1;b=-1;break a}b=a;c=(f|0)==45;a=c?0-a|0:a;b=c?0-(d+((b|0)!=0)|0)|0:d}Qb=e+16|0;Tb=b;return a|0}function MD(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=Qb-16|0;Qb=e;a:{if(!v[b+4>>2]){break a}c=v[a+28>>2];if(!c){break a}Ub[v[v[c>>2]+332>>2]](c)|0;d=v[a+28>>2];v[e+12>>2]=32;c=e+12|0;Ub[v[v[d>>2]+288>>2]](d,c)|0;d=v[a+28>>2];v[e+12>>2]=4;Ub[v[v[d>>2]+288>>2]](d,c)|0;b=zQ(b,v[a+28>>2]);d=v[a+28>>2];Ub[v[v[d>>2]+388>>2]](d,b?980904:980908)|0;b=v[a+28>>2];v[e+12>>2]=4;Ub[v[v[b>>2]+292>>2]](b,c)|0;b=v[a+28>>2];v[e+12>>2]=32;Ub[v[v[b>>2]+292>>2]](b,c)|0;a=v[a+28>>2];Ub[v[v[a>>2]+324>>2]](a)|0}Qb=e+16|0}function Kp(a){var b=0;b=v[a+116>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}b=v[a+120>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}b=v[a+380>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}b=v[a+384>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}b=v[a+424>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}b=v[a+428>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}b=v[a+432>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}b=v[a+436>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}b=v[a+448>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)!=1){b=v[a+596>>2];if(b){dc(FS(b))}return a}W(0)|0;O()|0;lc();L()}function B4(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=v[a+584>>2];d=x[c+64>>1];e=v[c+72>>2];f=v[c+76>>2];b=v[a+604>>2];if(b>>>0>y[c+140>>2]){v[a+608>>2]=b-v[a+596>>2];Ae(a);b=v[a+596>>2]}g=v[c+120>>2];if((g|0)!=65535){e=g|e<>f;if((g|0)<16){b=b+1|0}else{f=g-16|0;t[b+1|0]=e>>f;b=b+2|0}v[c+120>>2]=65535}e=e<>d;if((c|0)<16){b=b+1|0}else{d=c-16|0;t[b+1|0]=e>>d;b=b+2|0}c=a;if((d|0)>=1){t[b|0]=e<<8-d;b=b+1|0}v[c+608>>2]=b-v[a+596>>2];return 1}function uD(a,b,c,d){var e=0,f=0,g=0,h=0;e=Qb-16|0;Qb=e;if(a){f=w[b+3|0];g=w[b+2|0];h=w[b+1|0];b=w[b|0];v[a+744>>2]=34;t[e+15|0]=f;t[e+14|0]=g;t[e+13|0]=h;t[e+12|0]=b;t[e+11|0]=d;t[e+10|0]=d>>>8;t[e+9|0]=d>>>16;t[e+8|0]=d>>>24;ld(a,e+8|0,8);v[a+348>>2]=h<<16|b<<24|g<<8|f;_f(a);kd(a,e+12|0,4);v[a+744>>2]=66;if(!(!c|!d)){ld(a,c,d);kd(a,c,d)}v[a+744>>2]=130;b=v[a+384>>2];b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);t[e+4|0]=b;t[e+5|0]=b>>>8;t[e+6|0]=b>>>16;t[e+7|0]=b>>>24;ld(a,e+4|0,4)}Qb=e+16|0}function qT(a){var b=0,c=0,d=0,e=0;a:{b=v[a+4>>2];if((b|0)>=1){while(1){c=v[v[a>>2]+(d<<2)>>2];b:{if(!c){break b}e=v[c+24>>2]-1|0;v[c+24>>2]=e;if(e){break b}b=v[c>>2];if(b){dc(Dc(b))}b=v[c+4>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[c+12>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}dc(c);b=v[a+4>>2]}d=d+1|0;if((d|0)<(b|0)){continue}break}}c=v[a>>2];v[299999]=0;uc(c);c=v[299999];v[299999]=0;if((c|0)==1){break a}return a}W(0)|0;O()|0;lc();L()}function gxa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=v[a+68>>2];a:{if((f|0)>=v[a+20>>2]){c=-1;if(v[a+40>>2]){break a}if(!iE(a)){break a}f=v[a+68>>2]}h=v[a+60>>2];d=v[a+72>>2];b=v[h+(d<<2)>>2]-f|0;b:{if((b|0)<=8){i=v[a+20>>2];c=8;while(1){g=(c|0)>(b|0)?b:c;e=(d&1?0:255>>>8-g|0)|e<>2]>=(i|0)){e=e<>2]=d;b=v[(d<<2)+h>>2]-v[b>>2]|0}if((c|0)>0){continue}break}break b}e=d&1?0:255}v[a+68>>2]=f+8;c=v[a+36>>2]^e}return c|0}function uAa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;v[a+8>>2]=c;v[a>>2]=936732;v[a+4>>2]=b;c=ed(c,4);v[a+12>>2]=c;b=v[a+8>>2];a:{if(!b){break a}v[c>>2]=0;c=1;if((b|0)==1){break a}d=b-1|0;e=d&3;if(b-2>>>0>=3){d=d&-4;while(1){b=c<<2;v[b+v[a+12>>2]>>2]=0;v[(b+v[a+12>>2]|0)+4>>2]=0;v[(b+v[a+12>>2]|0)+8>>2]=0;v[(b+v[a+12>>2]|0)+12>>2]=0;c=c+4|0;d=d-4|0;if(d){continue}break}}if(!e){break a}while(1){v[v[a+12>>2]+(c<<2)>>2]=0;c=c+1|0;e=e-1|0;if(e){continue}break}}v[a+16>>2]=0;v[a+20>>2]=0;return a|0}function tQa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=C(0);e=v[a+104>>2];a:{if(!((e|0)>=0&v[a+100>>2]>(e|0))){v[b>>2]=0;e=0;break a}v[b>>2]=v[a+96>>2]+B(e,96);v[a+104>>2]=e+1;e=1}if(!e){return 0}b:{c:{d:{e:{b=v[b>>2];switch(v[b+60>>2]){case 0:break d;case 1:break e;default:break c}}if(!v[v[a+12>>2]+2228504>>2]){break c}}z[c>>2]=C(z[a+24>>2]+z[b+4>>2])+C(v[b+68>>2]);f=C(C(z[a+28>>2]+z[b+8>>2])-C(v[b+72>>2]));break b}z[c>>2]=z[a+24>>2]+z[b+4>>2];f=C(z[a+28>>2]+z[b+8>>2])}z[d>>2]=f;return 1}function rG(a,b,c,d,e,f,g){var h=0,i=0,j=0;h=v[c>>2];a:{if(h>>>0>=d>>>0){break a}b:{c:{if((b|0)<=65535){u[h>>1]=b;i=1;j=0;break c}u[h>>1]=(b>>>10|0)-10304;b=b&1023|-9216;i=2;if(h+2>>>0>=d>>>0){i=1;b=b&57343;break b}u[h+2>>1]=b;j=1}b=-1}h=(i<<1)+h|0;if(!e){break a}d=v[e>>2];if(!d){break a}v[d>>2]=f;if(j){v[d+4>>2]=f;d=d+8|0}else{d=d+4|0}v[e>>2]=d}v[c>>2]=h;if((b|0)>=0){if(a){c=a;if(b>>>0<=65535){d=1}else{u[a+118>>1]=b&1023|56320;b=(b>>>10|0)-10304|0;d=2}t[c+65|0]=d;u[a+116>>1]=b}v[g>>2]=15}}function Hl(a,b,c,d,e){var f=0,g=0,h=0;h=Qb-16|0;Qb=h;v[h+8>>2]=b;b=0;f=6;a:{b:{if(Ln(a,h+8|0)){break b}f=4;g=op(a);if(!((x[v[d+8>>2]+((g&255)<<1)>>1]&2048)!=0&(g|0)>=0)){break b}b=Ub[v[v[d>>2]+36>>2]](d,g,0)|0;while(1){c:{$q(a);b=b-48|0;if(!Ew(a,h+8|0)|(e|0)<2){break c}g=op(a);f=g;if((g|0)>=0){f=(x[v[d+8>>2]+((f&255)<<1)>>1]&2048)!=0}else{f=0}if(!f){break a}e=e-1|0;b=(Ub[v[v[d>>2]+36>>2]](d,g,0)|0)+B(b,10)|0;continue}break}f=2;if(!Ln(a,h+8|0)){break a}}v[c>>2]=v[c>>2]|f}Qb=h+16|0;return b}function GI(a,b,c,d,e,f){var g=0,h=0,i=0;g=HI(a,b,c,d,f);f=v[v[f>>2]+12>>2];h=v[e>>2];i=v[d>>2];if(y[v[f+(h<<2)>>2]+4>>2]>2]+4>>2]){v[d>>2]=h;v[e>>2]=i;e=v[d>>2];h=v[c>>2];if(y[v[f+(e<<2)>>2]+4>>2]>=y[v[f+(h<<2)>>2]+4>>2]){return g+1|0}v[c>>2]=e;v[d>>2]=h;d=v[c>>2];e=v[b>>2];if(y[v[f+(d<<2)>>2]+4>>2]>=y[v[f+(e<<2)>>2]+4>>2]){return g+2|0}v[b>>2]=d;v[c>>2]=e;c=v[b>>2];d=v[a>>2];if(y[v[f+(c<<2)>>2]+4>>2]>=y[v[f+(d<<2)>>2]+4>>2]){return g+3|0}v[a>>2]=c;v[b>>2]=d;g=g+4|0}return g}function oLa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=Qb-96|0;Qb=e;c=a;v[c>>2]=0;v[c+4>>2]=0;v[c+24>>2]=-1;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;a:{if(On(b,e+8|0)){break a}c=v[e+48>>2];d=v[e+52>>2];if(c>>>0<1&(d|0)<=0|(d|0)<0){break a}d=Sw(b,0,0);if((d|0)==-1){break a}b=c;b:{if(c>>>0>=2147483647){v[299402]=48;b=-1;break b}b=nb(0,b|0,1,1,d|0,0)|0;if(b>>>0>=4294963201){v[299402]=0-b;b=-1}}EC(d);if((b|0)==-1){break a}v[a+16>>2]=b;v[a+4>>2]=b;v[a+20>>2]=b+c;f=1}Qb=e+96|0;return f|0}function HN(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=Qb-16|0;Qb=e;f=(q(a),j(2));c=f&2147483647;a:{if(c>>>0<=1305022426){g=+a;d=g*.6366197723675814+6755399441055744+-6755399441055744;A[b>>3]=g+d*-1.5707963109016418+d*-1.5893254773528196e-8;if(D(d)<2147483648){c=~~d;break a}c=-2147483648;break a}if(c>>>0>=2139095040){A[b>>3]=C(a-a);c=0;break a}h=c;c=(c>>>23|0)-150|0;A[e+8>>3]=(l(2,h-(c<<23)|0),p());c=GN(e+8|0,e,c,1,0);d=A[e>>3];if((f|0)<=-1){A[b>>3]=-d;c=0-c|0;break a}A[b>>3]=d}Qb=e+16|0;return c}function xeb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(v[a+588>>2]>=1){b=v[a+540>>2];c=(v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0;b=v[a+636>>2]+v[a+616>>2]|0;while(1){d=w[b+4|0]|w[b+5|0]<<8|(w[b+6|0]<<16|w[b+7|0]<<24);e=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);t[c|0]=e;t[c+1|0]=e>>>8;t[c+2|0]=e>>>16;t[c+3|0]=e>>>24;t[c+4|0]=d;t[c+5|0]=d>>>8;t[c+6|0]=d>>>16;t[c+7|0]=d>>>24;b=b+8|0;c=(v[a+584>>2]<<3)+c|0;f=f+1|0;if((f|0)>2]){continue}break}}return 0}function vd(a){var b=0,c=0,d=0,e=0,f=0,g=0;e=Qb-16|0;Qb=e;a:{if(!a){break a}while(1){b=v[a+40>>2];if((b|0)<2){break a}b:{c:{d:{if(!v[294256]){c=b-1|0;v[a+40>>2]=c;d=v[a+48>>2];break d}v[e>>2]=b;d=0;Ub[v[259806]](v[294239],354269,e);b=v[a+40>>2];if((b|0)<1){break b}c=b-1|0;v[a+40>>2]=c;d=v[a+48>>2];g=0;f=0;if((b|0)==1){break c}}g=v[((b<<2)+d|0)-8>>2];f=c}b=f;v[a+36>>2]=g;c=(b<<2)+d|0;d=v[c>>2];v[c>>2]=0}Sh(d);c=v[a+36>>2];if(w[v[c+16>>2]]){break a}if((cd(c)|0)<1){continue}break}}Qb=e+16|0}function v_a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;v[c>>2]=-1;v[d>>2]=-1;f=x[a+340>>1];if(f){h=v[a+356>>2];a=0;while(1){e=B(a,20)+h|0;a:{if(x[e+6>>1]!=(b|0)|!x[e+8>>1]){break a}b:{c:{switch(x[e>>1]-1|0){case 2:if(x[e+2>>1]>1){break a}g=c;if(x[e+4>>1]==1033|v[c>>2]==-1){break b}break a;case 0:break c;default:break a}}if(x[e+2>>1]){break a}g=d;if(!x[e+4>>1]){break b}if(v[d>>2]!=-1){break a}}v[g>>2]=a}a=a+1|0;if((f|0)!=(a|0)){continue}break}}return(v[c>>2]<=-1?v[d>>2]>-1:1)|0}function Uba(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=Qb-16|0;Qb=e;a:{b:{c:{if((a|0)!=(b|0)){g=v[299402];v[299402]=0;a=xM(a,e+12|0,d,pg());d=Tb;f=v[299402];d:{if(f){if(v[e+12>>2]!=(b|0)){break d}if((f|0)==68){break b}break c}v[299402]=g;if(v[e+12>>2]==(b|0)){break c}}}v[c>>2]=4;b=0;break a}if(a>>>0<2147483648&(d|0)<=-1|(d|0)<-1|(a>>>0>2147483647&(d|0)>=0|(d|0)>0)){break b}b=a;break a}v[c>>2]=4;b=2147483647;if((d|0)>=0&a>>>0>=1|(d|0)>0){break a}b=-2147483648}Qb=e+16|0;return b|0}function vja(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;var j=0,k=0,l=0,m=0,n=0;if(!(!f|!e)){d=v[a+60>>2];c=e-1|0;l=e&1;k=x[a+26>>1];m=B(k,e)<<1;n=h<<2;while(1){a:{if(!l){h=e;a=i;break a}v[b>>2]=v[v[(w[i+1|0]<<2)+d>>2]>>2];b=b+4|0;h=c;a=(k<<1)+i|0}f=f-1|0;if((e|0)!=1){while(1){v[b>>2]=v[v[(w[a+1|0]<<2)+d>>2]>>2];j=a;a=k<<1;j=j+a|0;v[b+4>>2]=v[v[(w[j+1|0]<<2)+d>>2]>>2];a=a+j|0;b=b+8|0;h=h-2|0;if(h){continue}break}}i=(i+m|0)+g|0;b=b+n|0;if(f){continue}break}}}function mU(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{if(v[a+292>>2]){break a}e=v[a+36>>2];if((v[e+20>>2]-v[e+16>>2]|0)>249){break a}nd(a)}if(v[a+172>>2]==-1){return 0}g=v[a+36>>2];c=v[g+16>>2];f=w[c|0];b:{c:{if(!f){d=b;e=c;break c}d=b;while(1){h=w[d|0];if((h|0)!=(f|0)){e=c;break b}v[g+32>>2]=v[g+32>>2]+1;d=d+1|0;f=w[c+1|0];e=c+1|0;c=e;if(f){continue}break}}h=w[d|0];f=0}d:{if(!h){d=f;c=d-9|0;if((1<>>0<=23:0)|(d|0)==62){break d}}a=nh(a);return(a|0)==(b|0)?1:a}v[g+16>>2]=e;return 1}function j$(a,b){var c=0,d=0,e=0,f=0;f=v[a+16>>2];a:{if(!f){break a}if(!v[a+12>>2]){c=f;break a}c=f;while(1){f=e<<2;c=v[f+c>>2];if(c){Ub[v[b+8>>2]](b,c)}c=v[a+16>>2];v[f+c>>2]=0;e=e+1|0;if(e>>>0>2]){continue}break}}if(c){Ub[v[b+8>>2]](b,c)}v[a+16>>2]=0;c=v[a+4>>2];b:{if(!c){break b}if(!v[a>>2]){d=c;break b}e=0;d=c;while(1){c=e<<3;d=v[(c+d|0)+4>>2];if(d){Ub[v[b+8>>2]](b,d)}d=v[a+4>>2];v[(c+d|0)+4>>2]=0;e=e+1|0;if(e>>>0>2]){continue}break}}if(d){Ub[v[b+8>>2]](b,d)}v[a+4>>2]=0}function cia(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Qb-16|0;Qb=d;Ub[v[v[a>>2]+28>>2]](d+8|0,a,0);a=v[d+8>>2];e=v[v[a>>2]+84>>2];v[299999]=0;b=Y(e|0,a|0,b|0,c|0)|0;a=v[299999];v[299999]=0;a:{if((a|0)!=1){a=v[d+8>>2];v[d+8>>2]=0;b:{if(!a){break b}v[299999]=0;c=v[a+4>>2]-1|0;v[a+4>>2]=c;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(c){break b}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Qb=d+16|0;return b|0}a=P()|0;O()|0;ec(d+8|0);T(a|0);L()}W(0)|0;O()|0;lc();L()}function Lra(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;d=w[a+11|0];e=d+7>>>3|0;a:{if(!d){d=b;break a}f=b+e|0;d=b;while(1){t[d|0]=w[c|0]+w[d|0];c=c+1|0;d=d+1|0;if(f>>>0>d>>>0){continue}break}}b=v[a+4>>2]+b|0;if(b>>>0>d>>>0){a=0-e|0;m=(b-d|0)+d|0;while(1){h=w[a+d|0];b=w[a+c|0];e=h-b|0;f=e>>31;i=w[c|0];g=i-b|0;j=g>>31;k=e+g|0;l=k>>31;n=b;b=f^e+f;e=j^g+j;f=b>>>0>>0;t[d|0]=w[d|0]+((l^l+k)<((f?b:e)|0)?n:f?i:h);c=c+1|0;d=d+1|0;if((m|0)!=(d|0)){continue}break}}}function rfa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=Qb-32|0;Qb=d;c=a+160|0;f=a,g=Ci(a,0,262142,c),v[f+216>>2]=g;c=Ci(a,0,262142,c);v[a+220>>2]=c;a:{e=v[a+216>>2];if(!(c?e:0)){a=vc(d+8|0,255786,242139,691,344048,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}b=P()|0;O()|0;qc(a);T(b|0);L()}v[b+76>>2]=c;v[b+72>>2]=e;v[a+212>>2]=0;v[a+200>>2]=e+1;v[a+208>>2]=c;v[a+232>>2]=c;v[a+204>>2]=0;v[a+228>>2]=c;v[a+236>>2]=0;v[a+224>>2]=c;t[a+49|0]=1;Qb=d+32|0;return}L()}function dq(a){var b=0,c=0,d=0;c=Qb-32|0;Qb=c;b=Ub[v[259704]](36)|0;a:{if(!b){v[c>>2]=239852;oc(0,0,0,0,0,29,2,3,239852,0,0,0,350051,c);break a}v[b+20>>2]=0;v[b+4>>2]=0;v[b+28>>2]=0;v[b+32>>2]=0;d=v[259706];a=a?a+2|0:0;v[b+24>>2]=a;v[b+12>>2]=d;v[b+8>>2]=a;b:{if(a){a=Ub[v[259707]](a)|0;v[b>>2]=a;if(!a){v[c+16>>2]=239852;oc(0,0,0,0,0,29,2,3,239852,0,0,0,350051,c+16|0);if(!v[b+32>>2]){v[b+32>>2]=2}d=0;Ub[v[259708]](b);break a}t[a|0]=0;break b}v[b>>2]=0}v[b+16>>2]=0;d=b}Qb=c+32|0;return d}function ZT(a,b){a=a|0;b=b|0;var c=0,d=0;v[a>>2]=0;v[a+4>>2]=0;v[a+32>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;v[299999]=0;c=S(1,16)|0;d=v[299999];v[299999]=0;a:{b:{if((d|0)!=1){b=v[b+40>>2];v[299999]=0;Q(3093,c|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}v[a+40>>2]=c;return a|0}b=P()|0;O()|0;break a}b=P()|0;O()|0;dc(c);c=v[a+24>>2];if(!c){break a}v[a+28>>2]=c;dc(c)}c=v[a+12>>2];if(c){dc(c)}c=v[a>>2];if(c){v[a+4>>2]=c;dc(c)}T(b|0);L()}function TP(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a:{b:{if((c|0)<1){break b}c=c-1|0;if(!d){while(1){c:{Vn(a,b);v[299999]=0;Q(4387,a+24|0,b+24|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break c}b=b+40|0;a=a+40|0;d=(c|0)>0;c=c-1|0;if(d){continue}break b}break}break a}while(1){Vn(a,b);v[299999]=0;d=b+24|0;Q(4387,a+24|0,d|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break a}Ic(d);ec(b+16|0);b=b+40|0;a=a+40|0;d=(c|0)>0;c=c-1|0;if(d){continue}break}}return}b=P()|0;O()|0;ec(a+16|0);T(b|0);L()}function Hi(a,b,c){var d=0,e=0,f=0,g=0;if(v[a+8>>2]>=v[a+4>>2]){LT(a)}e=fc(12);v[e+4>>2]=c;v[e>>2]=b;d=v[b>>2];a:{if((d|0)<1){d=0;break a}f=d&3;c=v[b+4>>2];b:{if(d-1>>>0<3){d=0;break b}g=d&-4;d=0;b=c;while(1){d=w[b+3|0]+B(w[b+2|0]+B(w[b+1|0]+B(w[b|0]+B(d,17)|0,17)|0,17)|0,17)|0;c=b+4|0;b=c;g=g-4|0;if(g){continue}break}}if(!f){break a}while(1){d=w[c|0]+B(d,17)|0;c=c+1|0;f=f-1|0;if(f){continue}break}}b=v[a+12>>2]+((d>>>0)%y[a+4>>2]<<2)|0;v[e+8>>2]=v[b>>2];v[b>>2]=e;v[a+8>>2]=v[a+8>>2]+1}function FS(a){var b=0,c=0,d=0;a:{b=v[a+28>>2];if((b|0)>=1){while(1){c=v[v[a+24>>2]+(d<<2)>>2];if(c){b=v[c>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[c+4>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[c+8>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}dc(c);b=v[a+28>>2]}d=d+1|0;if((d|0)<(b|0)){continue}break}}c=v[a+24>>2];v[299999]=0;uc(c);c=v[299999];v[299999]=0;if((c|0)==1){break a}return a}W(0)|0;O()|0;lc();L()}function rL(a,b){var c=0,d=0,e=0;d=Qb-16|0;Qb=d;e=v[282445];if(t[b+74|0]<=0){sL(b)}v[282445]=v[b+136>>2];a:{b:{c:{if(a>>>0<=127){d:{if(t[b+75|0]==(a|0)){break d}c=v[b+20>>2];if(c>>>0>=y[b+16>>2]){break d}v[b+20>>2]=c+1;t[c|0]=a;break a}a=jw(b,a);break c}c=v[b+20>>2];if(y[b+16>>2]>c+4>>>0){c=Pn(c,a);if((c|0)<0){break b}v[b+20>>2]=c+v[b+20>>2];break c}c=Pn(d+12|0,a);if((c|0)<0){break b}if(iw(d+12|0,c,b)>>>0>>0){break b}}if((a|0)!=-1){break a}}v[b>>2]=v[b>>2]|32}v[282445]=e;Qb=d+16|0}function kG(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;if(!a){return-102}d=-100;a:{if(!(v[a+96>>2]|v[a+100>>2])){break a}b=v[a+56>>2];e=v[a+60>>2];f=(b|0)!=65535|(e|0)!=0;g=b;c=v[a+84>>2];b=v[a+80>>2]+1|0;c=b>>>0<1?c+1|0:c;h=e;e=c;if(f&((g|0)==(b|0)&(h|0)==(c|0))){break a}v[a+80>>2]=b;v[a+84>>2]=e;d=v[a+92>>2];c=(v[a+176>>2]+(v[a+168>>2]+v[a+172>>2]|0)|0)+46|0;b=c+v[a+88>>2]|0;v[a+88>>2]=b;v[a+92>>2]=b>>>0>>0?d+1|0:d;d=mG(a,a+128|0,a+216|0,0,0,0,0,0,0);v[a+96>>2]=!d;v[a+100>>2]=0}return d}function Qr(a,b,c,d){var e=0,f=0,g=0;e=Qb-32|0;Qb=e;v[e+16>>2]=13;v[e>>2]=13;a:{if(v[rc(b,c,d,0)>>2]!=5){break a}hc(d);rc(b,228696,e+16|0,0);b:{if(v[e+16>>2]!=7){break b}while(1){if(v[rc(v[e+24>>2],c,d,0)>>2]!=5){hc(e+16|0);break a}hc(d);rc(v[e+24>>2],228696,e,0);hc(e+16|0);b=v[e+12>>2];v[e+24>>2]=v[e+8>>2];v[e+28>>2]=b;b=v[e+4>>2];f=v[e>>2];v[e+16>>2]=f;v[e+20>>2]=b;if((f|0)!=7){break b}b=g>>>0<49;g=g+1|0;if(b){continue}break}}hc(e+16|0);rc(v[v[a>>2]+16>>2],c,d,0)}Qb=e+32|0;return d}function Aea(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Qb-16|0;Qb=c;d=v[b>>2];if(d){v[d+4>>2]=v[d+4>>2]+1;e=v[b>>2]}v[299999]=0;v[c+8>>2]=e;Y(5362,a|0,c+8|0,10)|0;b=v[299999];v[299999]=0;a:{if((b|0)!=1){v[c+8>>2]=0;b:{if(!e){break b}v[299999]=0;b=v[e+4>>2]-1|0;v[e+4>>2]=b;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(b){break b}v[299999]=0;R(4338,e|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}v[a>>2]=997872;Qb=c+16|0;return a|0}a=P()|0;O()|0;ec(c+8|0);T(a|0);L()}W(0)|0;O()|0;lc();L()}function lZ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=Qb-16|0;Qb=e;d=v[a+736>>2];a:{if(!d){c=ws(a,0);if(c){break a}d=v[a+736>>2]}c=6;if(x[a+14>>1]>>0){break a}b:{if(b){f=v[a+100>>2];g=v[d+12>>2];d=v[g+16>>2]+B(b,12)|0;c=Ub[v[v[a+540>>2]+144>>2]](a,x[d-8>>1],e+12|0)|0;if(c){break a}c=v[a+24>>2];if(c){Ub[v[f+8>>2]](f,c)}v[a+24>>2]=v[e+12>>2];c=sH(a,v[g>>2],v[d-12>>2]);if(c){c=(c|0)==-1?0:c;break a}c=0;break b}c=sH(a,0,0)}u[a+6>>1]=b;v[a+8>>2]=v[a+8>>2]&-32769}Qb=e+16|0;return c|0}function iga(a,b){a=a|0;b=b|0;a:{b:{switch(b|0){case 1:b=fc(56);v[b+12>>2]=0;v[b+16>>2]=0;v[b+8>>2]=1065353216;v[b+4>>2]=0;v[b+40>>2]=0;v[b+44>>2]=0;v[b+36>>2]=10;v[b>>2]=995752;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+32>>2]=0;v[b+48>>2]=0;v[b+52>>2]=0;break a;case 0:b=fc(40);v[b+12>>2]=0;v[b+16>>2]=0;v[b+8>>2]=1065353216;v[b+4>>2]=0;v[b+36>>2]=0;v[b>>2]=995680;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+32>>2]=0;break a;default:break b}}v[a>>2]=0;Wc(a,0);return}v[a>>2]=0;Wc(a,b)}function Wwa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;a:{if((b|0)<2){break a}f=v[a+4>>2];b=Ub[v[v[f>>2]+60>>2]](f,b,c,d)|0;if(!b){break a}b:{if(!d){break b}d=v[a+4>>2];Ub[v[v[d>>2]+20>>2]](d);v[a+3460>>2]=0;v[a+3464>>2]=0;v[a+720>>2]=0;v[a+188>>2]=0;v[a+204>>2]=0;v[a+196>>2]=0;v[a+200>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;d=fE(a,1);e=v[a+4>>2];Ub[v[v[e>>2]+24>>2]](e);if(!(v[a+12>>2]?v[a+8>>2]|!d:1)){break b}dc(Dc(b));return 0}_c(_c(b,c),350472);e=b}return e|0}function Qba(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;e=Qb-16|0;Qb=e;a:{b:{c:{d:{if((a|0)!=(b|0)){e:{f:{f=w[a|0];if((f|0)!=45){break f}a=a+1|0;if((b|0)!=(a|0)){break f}break e}h=v[299402];v[299402]=0;a=oC(a,e+12|0,d,pg());d=Tb;g=v[299402];g:{if(g){if(v[e+12>>2]!=(b|0)){break g}if((g|0)==68){break c}break d}v[299402]=h;if(v[e+12>>2]==(b|0)){break d}}}}v[c>>2]=4;a=0;break a}if(!d&a>>>0<=65535){break b}}v[c>>2]=4;a=65535;break a}a=(f|0)==45?0-a|0:a}Qb=e+16|0;return a&65535}function uPa(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;g=Qb-16|0;Qb=g;d=v[c>>2];h=v[d+16>>2];if((h|0)!=v[d+24>>2]){d=(v[d+8>>2]+(h<<4)|0)-16|0;A[g+8>>3]=A[d>>3];A[g>>3]=A[d+8>>3];d=1}else{d=0}if(d){e=+v[a>>2]*.015625;e=e+e;i=(e+A[g+8>>3])*.3333333333333333;f=+v[a+4>>2]*.015625;f=f+f;j=(f+A[g>>3])*.3333333333333333;k=e;e=+v[b>>2]*.015625;l=f;f=+v[b+4>>2]*.015625;iX(v[c>>2],i,j,(k+e)*.3333333333333333,(l+f)*.3333333333333333,e,f);v[c+4>>2]=1}Qb=g+16|0;return 0}function $Ha(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[a+400>>2];v[c+8>>2]=0;d=1;d=v[a+288>>2]<=1?v[v[a+292>>2]+(v[a+284>>2]==1?76:12)>>2]:d;v[c+12>>2]=0;v[c+16>>2]=0;v[c+20>>2]=d;a:{switch(b|0){case 0:if(v[c+64>>2]){b=v[a>>2];v[b+20>>2]=3;Ub[v[b>>2]](a)}v[c+4>>2]=363;return;case 3:if(!v[c+64>>2]){b=v[a>>2];v[b+20>>2]=3;Ub[v[b>>2]](a)}v[c+4>>2]=364;return;case 2:if(!v[c+64>>2]){b=v[a>>2];v[b+20>>2]=3;Ub[v[b>>2]](a)}v[c+4>>2]=365;return;default:break a}}b=v[a>>2];v[b+20>>2]=3;Ub[v[b>>2]](a)}function Zk(a){var b=0,c=0,d=0;v[299999]=0;R(3098,a+16|0);b=v[299999];v[299999]=0;a:{if((b|0)==1){break a}v[299999]=0;R(3098,a+32|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+4>>2];if(b){if(v[b+8>>2]!=13){c=v[b+16>>2];d=v[v[c>>2]+24>>2];v[299999]=0;R(d|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}v[299999]=0;R(3098,b+8|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}}b:{if(!v[b+24>>2]){break b}c=v[b>>2];if(!c){break b}dc(zT(c))}dc(b)}return a}W(0)|0;O()|0;lc();L()}function GW(a){a=a|0;var b=0,c=0,d=0,e=0;b=Qb-96|0;Qb=b;v[b+4>>2]=0;v[b>>2]=0;c=w[a+11|0];d=c<<24>>24<0;fq(d?v[a>>2]:a,d?v[a+4>>2]:c,b+4|0,b,0);c=On(v[b+4>>2],b+8|0);d=v[b+20>>2];e=v[b+4>>2];if(e){dc(e)}a:{if(!c){c=1;if((d&61440)==16384){break a}}c=0;v[b+4>>2]=0;v[b>>2]=0;d=w[a+11|0];e=d<<24>>24<0;fq(e?v[a>>2]:a,e?v[a+4>>2]:d,b+4|0,b,0);if((On(v[b+4>>2],b+8|0)|0)==-1){c=kb(v[b+4>>2],509)|0;if(c>>>0>=4294963201){v[299402]=0-c;c=-1}}a=v[b+4>>2];if(a){dc(a)}c=!c}Qb=b+96|0;return c|0}function RFa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=fc(84);v[299999]=0;v[e+8>>2]=a;v[e>>2]=889e3;v[e+16>>2]=0;v[e+12>>2]=b;v[e+4>>2]=a;b=e;a=v[299999];v[299999]=0;a:{if((a|0)!=1){v[e+60>>2]=0;v[e>>2]=889188;v[e+20>>2]=0;v[e+24>>2]=0;v[e+80>>2]=0;v[e+72>>2]=0;v[e+76>>2]=0;v[e+28>>2]=0;v[e+32>>2]=0;v[299999]=0;U(3303,e|0,c|0,d|0);a=v[299999];v[299999]=0;if((a|0)==1){a=P()|0;O()|0;dl(b);break a}if(!v[e+80>>2]){Ub[v[v[e>>2]+4>>2]](e);e=0}return e|0}a=P()|0;O()|0}dc(e);T(a|0);L()}function Dt(a){a=a|0;var b=0,c=0,d=0;c=Qb-16|0;Qb=c;v[c+8>>2]=0;b=c+8|0;Wc(b,0);v[299999]=0;Q(4344,a|0,b|0)|0;b=v[299999];v[299999]=0;a:{if((b|0)!=1){b=a;a=v[a>>2];v[b+4>>2]=v[(a?a+12|0:1129608)>>2];a=v[c+8>>2];v[c+8>>2]=0;b:{if(!a){break b}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(b){break b}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Qb=c+16|0;return}a=P()|0;O()|0;ec(c+8|0);T(a|0);L()}W(0)|0;O()|0;lc();L()}function vla(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;e=Qb-16|0;Qb=e;v[e+8>>2]=0;v[e+12>>2]=0;v[e>>2]=0;v[e+4>>2]=0;v[e>>2]=982500;v[e+4>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;g=e;v[299999]=0;$(5001,a|0,b|0,e|0,0);a=v[299999];v[299999]=0;if((a|0)!=1){a:{a=v[e+8>>2];if(a){while(1){h=v[a+8>>2];f=v[v[h>>2]+44>>2];v[299999]=0;$(f|0,h|0,b|0,c|0,d|0);f=v[299999];v[299999]=0;if((f|0)==1){break a}a=v[a>>2];if(a){continue}break}}Ic(g);Qb=e+16|0;return}}a=P()|0;O()|0;Ic(g);T(a|0);L()}function ula(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;e=Qb-16|0;Qb=e;v[e+8>>2]=0;v[e+12>>2]=0;v[e>>2]=0;v[e+4>>2]=0;v[e>>2]=982500;v[e+4>>2]=0;v[e+8>>2]=0;v[e+12>>2]=0;g=e;v[299999]=0;$(5001,a|0,b|0,e|0,0);a=v[299999];v[299999]=0;if((a|0)!=1){a:{a=v[e+8>>2];if(a){while(1){h=v[a+8>>2];f=v[v[h>>2]+48>>2];v[299999]=0;$(f|0,h|0,b|0,c|0,d|0);f=v[299999];v[299999]=0;if((f|0)==1){break a}a=v[a>>2];if(a){continue}break}}Ic(g);Qb=e+16|0;return}}a=P()|0;O()|0;Ic(g);T(a|0);L()}function k9a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;a:{if(w[a+286|0]|!w[a+285|0]|(w[a+287|0]|w[a+288|0])){break a}if(w[a+289|0]){break a}if(c>>>0<=2){pc(a,1028,0,0);return 1028}b:{if(!w[a+112|0]){break b}f=Ub[v[b+4>>2]](a,b,e)|0;if(f){break b}b=w[d|0]|w[d+1|0]<<8;f=v[e>>2];v[f+36>>2]=c-2;u[f+32>>1]=b<<8|b>>>8;b=Ub[v[a+152>>2]](c-1|0)|0;v[v[e>>2]+40>>2]=b;b=v[e>>2];c=v[b+40>>2];if(!c){pc(a,1,0,0);return 1}gc(c,d+2|0,v[b+36>>2]);f=0}return f|0}pc(a,1029,0,0);return 1029}function NPa(a,b){a=a|0;b=b|0;var c=0,d=0;t[b|0]=0;t[b+1|0]=0;t[b+2|0]=0;t[b+3|0]=0;t[b+4|0]=0;t[b+5|0]=0;t[b+6|0]=0;t[b+7|0]=0;t[b+8|0]=0;t[b+9|0]=0;a=v[a+180>>2];a:{if(!a){break a}c=Do(a,2);if(!c){break a}a=w[c+36|0]|w[c+37|0]<<8|(w[c+38|0]<<16|w[c+39|0]<<24);d=w[c+32|0]|w[c+33|0]<<8|(w[c+34|0]<<16|w[c+35|0]<<24);t[b|0]=d;t[b+1|0]=d>>>8;t[b+2|0]=d>>>16;t[b+3|0]=d>>>24;t[b+4|0]=a;t[b+5|0]=a>>>8;t[b+6|0]=a>>>16;t[b+7|0]=a>>>24;a=w[c+40|0]|w[c+41|0]<<8;t[b+8|0]=a;t[b+9|0]=a>>>8}}function rca(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;d=Qb-16|0;Qb=d;a:{b:{if(v[b+64>>2]){if(!(Ub[v[v[b>>2]+24>>2]](b)|0)){break b}}v[a+8>>2]=-1;v[a+12>>2]=-1;v[a>>2]=0;v[a+4>>2]=0;break a}if(nt(v[b+64>>2],v[c+8>>2],v[c+12>>2],0)){v[a+8>>2]=-1;v[a+12>>2]=-1;v[a>>2]=0;v[a+4>>2]=0;break a}f=v[c+4>>2];e=d;v[e+8>>2]=v[c>>2];v[e+12>>2]=f;f=v[e+12>>2];v[b+72>>2]=v[e+8>>2];v[b+76>>2]=f;b=v[c+12>>2];v[a+8>>2]=v[c+8>>2];v[a+12>>2]=b;b=v[c+4>>2];v[a>>2]=v[c>>2];v[a+4>>2]=b}Qb=d+16|0}function n8a(a,b){a=a|0;b=b|0;var c=0,d=0;d=v[a+428>>2];c=v[b+32>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+8|0]=c;t[d+9|0]=c>>>8;t[d+10|0]=c>>>16;t[d+11|0]=c>>>24;c=v[b+36>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+12|0]=c;t[d+13|0]=c>>>8;t[d+14|0]=c>>>16;t[d+15|0]=c>>>24;t[d+16|0]=w[b+40|0];t[d+17|0]=w[b+41|0];t[d+18|0]=w[b+42|0];t[d+19|0]=w[b+43|0];t[d+20|0]=w[b+44|0];t[d+21|0]=w[b+45|0];t[d+22|0]=w[b+46|0];t[d+23|0]=w[b+47|0];return _d(a,v[b>>2],16,d+8|0)|0}function i_a(a,b){a=a|0;b=b|0;var c=0,d=0;c=Ub[v[a+516>>2]](a,1835104368,b,0)|0;a:{if(c){break a}d=a+260|0;c=me(b,446784,d);if(c){break a}u[a+290>>1]=0;u[a+282>>1]=0;u[a+284>>1]=0;u[a+286>>1]=0;u[a+288>>1]=0;u[a+274>>1]=0;u[a+276>>1]=0;u[a+278>>1]=0;u[a+280>>1]=0;u[a+266>>1]=0;u[a+268>>1]=0;u[a+270>>1]=0;u[a+272>>1]=0;b:{if(v[a+260>>2]<65536){break b}c=me(b,446800,d);if(c){break a}if(x[a+280>>1]<=63){u[a+280>>1]=64}if(x[a+276>>1]<65532){break b}u[a+276>>1]=65531}c=0}return c|0}function Hc(a,b){var c=0,d=0,e=0;c=-1;a:{b:{if(!(!(t[a|0]&1)|w[a+8|0]&7)){d=v[a+4>>2];if(d&32){break b}e=v[a+20>>2];c=v[a+16>>2];if((e|0)<(v[a+24>>2]-c|0)){break a}v[a+24>>2]=c;v[a+4>>2]=d|16;c=Ub[v[v[a+52>>2]>>2]](v[a+56>>2],c,e)|0;v[a+28>>2]=c;if((c|0)<=0){v[a+28>>2]=0;v[a+8>>2]=v[a+8>>2]|(c?2:1);return-1}c:{if(b){v[a+28>>2]=c-1;v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;break c}c=v[a+24>>2]}c=w[c|0]}return c}X(19295,6782,771,188068);L()}X(11143,6782,773,188068);L()}function xt(a,b){b=(v[a+36>>2]<<1)+b|0;v[a+36>>2]=b&16777215;a:{b:{c:{d:{b=b>>>24|0;switch(b|0){case 0:break b;case 1:break d;default:break c}}yp(a,1);b=v[a+40>>2];v[a+40>>2]=b-1;if(b){while(1){yp(a,0);b=v[a+40>>2];v[a+40>>2]=b-1;if(b){continue}break}}v[a+40>>2]=0;return}if((b|0)==255){break a}X(335493,242271,1047,231695);L()}v[a+40>>2]=v[a+40>>2]+1;return}yp(a,0);b=v[a+40>>2];v[a+40>>2]=b-1;if(b){while(1){yp(a,1);b=v[a+40>>2];v[a+40>>2]=b-1;if(b){continue}break}}v[a+40>>2]=0}function u1a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Qb-16|0;Qb=d;v[a+32>>2]=c;e=a,f=Cc(c,4,0,b,0,d+12|0),v[e+24>>2]=f;a:{b:{if(v[d+12>>2]){break b}e=a,f=Cc(c,4,0,b,0,d+12|0),v[e+28>>2]=f;if(v[d+12>>2]){break b}v[a+20>>2]=0;v[a+16>>2]=b;v[a+8>>2]=0;v[a+12>>2]=-559038737;v[a>>2]=0;v[a+4>>2]=0;b=v[95446];v[a+36>>2]=v[95445];v[a+40>>2]=b;b=v[95448];v[a+44>>2]=v[95447];v[a+48>>2]=b;a=0;break a}b=v[a+24>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+24>>2]=0;a=v[d+12>>2]}Qb=d+16|0;return a|0}function IT(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=Qb-32|0;Qb=c;v[c+16>>2]=13;v[c>>2]=13;d=1;if(v[b+20>>2]>=1){while(1){f=d;d=go(b,d);a:{if(v[qf(d+16|0,v[d+4>>2],c+16|0,0)>>2]!=6){break a}d=0;e=v[c+24>>2];if(v[e+12>>2]<1){break a}while(1){if(v[hg(e,d,c)>>2]==9){g=v[a+28>>2];e=fc(12);h=v[c+12>>2];i=v[c+8>>2];v[e+8>>2]=f;v[e>>2]=i;v[e+4>>2]=h;Tc(g,e)}hc(c);d=d+1|0;e=v[c+24>>2];if((d|0)>2]){continue}break}}d=f+1|0;hc(c+16|0);if(v[b+20>>2]>(f|0)){continue}break}}Qb=c+32|0}function Gua(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Qb-32|0;Qb=d;v[c>>2]=0;e=d+16|0;Gp(e,a,b);v[d+12>>2]=0;v[d+8>>2]=0;a=v[a+4>>2];v[299999]=0;$(4089,a|0,e|0,d+12|0,d+8|0);a=v[299999];v[299999]=0;a:{if((a|0)==1){break a}b=v[d+8>>2];if(b){v[299999]=0;a=S(1,12)|0;e=v[299999];v[299999]=0;if((e|0)==1){break a}e=v[d+12>>2];t[a+8|0]=0;v[a+4>>2]=b;v[a>>2]=e;v[c>>2]=a}if(t[d+27|0]<=-1){dc(v[d+16>>2])}Qb=d+32|0;return(b|0)!=0|0}a=P()|0;O()|0;if(t[d+27|0]<=-1){dc(v[d+16>>2])}T(a|0);L()}function bA(a){var b=0,c=0,d=0,e=0,f=0;if(!a){return 35}f=38;c=v[a+40>>2];a:{if(!c){break a}d=(v[a+36>>2]<<2)+c|0;e=d-4|0;b:{if(e>>>0>=c>>>0){while(1){b=v[e>>2];c:{if(v[b+4>>2]!=1970170211){break c}d:{switch(x[b+8>>1]){case 3:if(x[b+10>>1]!=10){break c}break b;case 0:break d;default:break c}}if(x[b+10>>1]==4){break b}}e=e-4|0;if(e>>>0>=c>>>0){continue}break}}while(1){d=d-4|0;if(d>>>0>>0){break a}b=v[d>>2];if(v[b+4>>2]!=1970170211){continue}break}}v[a+92>>2]=b;f=0}return f}function Mab(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,j=0,k=0;a:{if(f){if(!d){break a}a=c<<1;i=b<<1;while(1){j=g;h=w[f|0];b=w[e|0];if((h|0)!=(b|0)){b=b+((B(h-b|0,i)+c|0)/(a|0)|0)|0}t[j|0]=b;h=w[f+1|0];b=w[e+1|0];if((h|0)!=(b|0)){b=b+((B(h-b|0,i)+c|0)/(a|0)|0)|0}t[j+1|0]=b;h=w[f+2|0];b=w[e+2|0];if((h|0)!=(b|0)){b=b+((B(h-b|0,i)+c|0)/(a|0)|0)|0}t[j+2|0]=b;f=f+3|0;e=e+3|0;g=g+3|0;k=k+1|0;if((k|0)!=(d|0)){continue}break}break a}gc(g,e,B(d,3))}return 0}function KHa(a,b,c){a=a|0;b=b|0;c=c|0;b=Qb-16|0;Qb=b;c=v[a+104>>2];v[b+12>>2]=1;Ub[v[v[c>>2]+288>>2]](c,b+12|0)|0;v[a+120>>2]=0;v[a+124>>2]=0;v[a+112>>2]=0;v[a+116>>2]=1072693248;v[a+128>>2]=0;v[a+132>>2]=0;u[a+202>>1]=0;v[a+136>>2]=0;v[a+140>>2]=1072693248;v[a+144>>2]=0;v[a+148>>2]=0;v[a+152>>2]=0;v[a+156>>2]=0;c=v[a+204>>2];if(c){dc(c)}v[a+204>>2]=0;c=a;if(v[a+108>>2]==6){a=v[a+104>>2];v[b+8>>2]=0;a=!(Ub[v[v[a>>2]+392>>2]](a,885880,b+8|0)|0)}else{a=0}t[c+208|0]=a;Qb=b+16|0}function AD(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{if((b|0)<1){break a}c=v[282402];e=b-1|0;d=b&7;if(d){while(1){v[a+16>>2]=0;v[a+20>>2]=c;a=a+28|0;b=b-1|0;d=d-1|0;if(d){continue}break}}if(e>>>0<7){break a}while(1){v[a+16>>2]=0;v[a+216>>2]=c;v[a+212>>2]=0;v[a+188>>2]=c;v[a+184>>2]=0;v[a+160>>2]=c;v[a+156>>2]=0;v[a+132>>2]=c;v[a+128>>2]=0;v[a+104>>2]=c;v[a+100>>2]=0;v[a+76>>2]=c;v[a+72>>2]=0;v[a+48>>2]=c;v[a+44>>2]=0;v[a+20>>2]=c;a=a+224|0;d=(b|0)>8;b=b-8|0;if(d){continue}break}}}function sHa(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;d=Qb-16|0;Qb=d;f=w[a+11|0];e=f<<24>>24<0;g=e?v[a>>2]:a;e=g+((e?v[a+4>>2]:f)<<2)|0;h=d;i=a;a:{while(1){f=-1;if((e|0)==(g|0)){break a}e=e-4|0;if(!sf(888808,v[e>>2],1)){continue}break}f=e-g>>2}Aj(h,i,0,f,a);if(t[b+11|0]<=-1){dc(v[b>>2])}e=v[d+4>>2];v[b>>2]=v[d>>2];v[b+4>>2]=e;v[b+8>>2]=v[d+8>>2];Aj(d,a,f+1|0,-1,a);if(t[c+11|0]<=-1){dc(v[c>>2])}a=v[d+4>>2];v[c>>2]=v[d>>2];v[c+4>>2]=a;v[c+8>>2]=v[d+8>>2];Qb=d+16|0}function gl(a,b){var c=0,d=0;a:{if(!a){break a}c=v[a+4>>2];if((c|0)==18|v[a+32>>2]==(b|0)){break a}b:{if((c|0)!=1){break b}d=v[a+44>>2];if(!d){break b}while(1){if(v[d+40>>2]==2){LU(v[a+32>>2],d)}v[d+32>>2]=b;c=v[d+12>>2];if(!(!c|v[c+4>>2]==18)){while(1){if(v[c+32>>2]!=(b|0)){gl(c,b)}c=v[c+24>>2];if(c){continue}break}}d=v[d+24>>2];if(d){continue}break}}c=v[a+12>>2];if(!(!c|v[c+4>>2]==18)){while(1){if(v[c+32>>2]!=(b|0)){gl(c,b)}c=v[c+24>>2];if(c){continue}break}}v[a+32>>2]=b}}function d$a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=a+20|0;if(e>>>0>y[b+160>>2]){Sd(b,8)}c=w[a+16|0]|w[a+17|0]<<8|(w[a+18|0]<<16|w[a+19|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);d=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);d=d<<8&16711680|d<<24|(d>>>8&65280|d>>>24);if(!(!(d>>>0<20|d>>>0>v[b+160>>2]-a>>>0)&d-20>>>1>>>0>=c>>>0)){Sd(b,8)}if(!(!c|v[b+164>>2]<1)){while(1){if(y[b+172>>2]<=(w[e+1|0]|w[e|0]<<8)>>>0){Sd(b,16)}e=e+2|0;c=c-1|0;if(c){continue}break}}return 0}function QW(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0;A[a+40>>3]=g;A[a+32>>3]=f;A[a+24>>3]=c;A[a+16>>3]=b;A[a+96>>3]=b;A[a+48>>3]=b;A[a+104>>3]=c;A[a+56>>3]=c;m=a;j=d-b;k=e-c;h=f-d;l=h*h;h=g-e;h=(K(j*j+k*k)+K(l+h*h))*.25*A[a+8>>3]+.5;a:{if(h<4294967296&h>=0){i=~~h>>>0;break a}i=0}i=(i|0)>4?i:4;v[m>>2]=i;v[a+4>>2]=i;d=b-(d+d)+f;b=1/+(i|0);f=b*b;d=d*f;l=j;j=b+b;b=d+l*j;A[a+112>>3]=b;A[a+64>>3]=b;b=(c-(e+e)+g)*f;c=b+k*j;A[a+120>>3]=c;A[a+72>>3]=c;A[a+88>>3]=b+b;A[a+80>>3]=d+d}function EI(a,b,c,d,e,f){var g=0,h=0,i=0;g=FI(a,b,c,d,f);f=v[v[f>>2]+12>>2];h=v[e>>2];i=v[d>>2];if(y[v[f+(h<<2)>>2]>>2]>2]>>2]){v[d>>2]=h;v[e>>2]=i;e=v[d>>2];h=v[c>>2];if(y[v[f+(e<<2)>>2]>>2]>=y[v[f+(h<<2)>>2]>>2]){return g+1|0}v[c>>2]=e;v[d>>2]=h;d=v[c>>2];e=v[b>>2];if(y[v[f+(d<<2)>>2]>>2]>=y[v[f+(e<<2)>>2]>>2]){return g+2|0}v[b>>2]=d;v[c>>2]=e;c=v[b>>2];d=v[a>>2];if(y[v[f+(c<<2)>>2]>>2]>=y[v[f+(d<<2)>>2]>>2]){return g+3|0}v[a>>2]=c;v[b>>2]=d;g=g+4|0}return g}function nib(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=-1;a:{if(bi(b,a+24|0)){break a}e=a+20|0;if(bi(b,e)){break a}if(Of(b,a+28|0)){break a}d=v[b+8>>2];if(d&7){break a}c=v[b+64>>2];if(!((c|0)<0|(c|0)>v[b+60>>2])){v[b+8>>2]=d|4;return-1}c=-1;d=v[b+28>>2];v[b+28>>2]=d-1;b:{if((d|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;d=w[c|0];break b}d=Hc(b,1);if((d|0)==-1){break a}}t[a+32|0]=d;c=-1;if(Iq(b,e+13|0)){break a}if(Iq(b,e+14|0)){break a}c=Iq(b,e+15|0)?-1:0}return c|0}function kD(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(!(v[a+44>>2]?v[a+36>>2]:0)){FO(a)}d=v[a+36>>2];f=(d|0)/2|0;h=v[a>>2];e=B(v[a+40>>2],v[b>>2]-v[a+16>>2]|0);a:{if((e|0)>=0){e=(f+e|0)/(d|0)|0;break a}e=0-((f-e|0)/(d|0)|0)|0}f=v[a+44>>2];g=(f|0)/2|0;i=v[a+4>>2];j=b;k=v[a+12>>2];d=B(v[a+48>>2],v[c>>2]-v[a+20>>2]|0);b:{if((d|0)>=0){d=(d+g|0)/(f|0)|0;break b}d=0-((g-d|0)/(f|0)|0)|0}b=v[a+32>>2];d=b&2?k-d|0:d+i|0;a=b&1?v[a+8>>2]-e|0:e+h|0;b=b&4;v[j>>2]=b?d:a;v[c>>2]=b?a:d}function b4(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;a:{b:{c:{e=v[a+584>>2];if(e){f=v[e+36>>2];if(!f){break c}if(!(Ub[f|0](a,b,c,d)|0)){return 0}d=v[e+8>>2];if((d|0)<=0){break b}f=v[e+40>>2];if(!f){break a}d:{if((c|0)<1){break d}Ub[f|0](a,b,d);c=c-d|0;if((c|0)<=0){break d}while(1){b=b+d|0;Ub[v[e+40>>2]](a,b,d);c=c-d|0;if((c|0)>0){continue}break}}return 1}X(16309,6354,416,187985);L()}X(38815,6354,417,187985);L()}X(40572,6354,421,187985);L()}X(37911,6354,422,187985);L()}function d_(a,b){var c=0,d=0,e=0;d=Qb-16|0;Qb=d;c=v[a>>2]+1|0;v[d+12>>2]=c;a:{if(b>>>0<=c>>>0){break a}while(1){Rg(d+12|0,b);c=v[d+12>>2];if(c>>>0>=b>>>0){break a}b:{e=w[c|0];if((e-48&255)>>>0<=9){break b}switch(e-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break b;default:break a}}c=c+1|0;v[d+12>>2]=c;if(b>>>0>c>>>0){continue}break}}c:{if(b>>>0>c>>>0){b=3;if(w[c|0]!=62){break c}}c=c+1|0;b=0}v[a>>2]=c;Qb=d+16|0;return b}function cm(a){var b=0,c=0,d=0;if(a){c=v[a+20>>2];if(c){d=v[c+12>>2];a:{b:{if((d|0)==3){b=v[c+16>>2];if(b){break b}b=v[c>>2];if(b){break b}break a}b=v[c>>2];if(!b|(d|0)==2){break a}}Ub[v[259708]](b)}Ub[v[259708]](c);v[a+20>>2]=0}b=v[a+8>>2];if(b){Ub[b|0](v[a>>2])|0}c=v[a+16>>2];if(c){d=v[c+12>>2];c:{d:{if((d|0)==3){b=v[c+16>>2];if(b){break d}b=v[c>>2];if(b){break d}break c}b=v[c>>2];if(!b|(d|0)==2){break c}}Ub[v[259708]](b)}Ub[v[259708]](c);v[a+16>>2]=0}Ub[v[259708]](a)}}function ZD(a,b,c,d){var e=0,f=0;a:{e=v[b+4>>2];if(!((e|0)==3|(d?0:(e|0)==2))){e=0;f=v[b+52>>2];if(v[f+8>>2]<=0){break a}while(1){ZD(a,v[v[f>>2]+(e<<2)>>2],c,d);e=e+1|0;f=v[b+52>>2];if((e|0)>2]){continue}break}break a}d=fc(16);v[299999]=0;e=S(3315,d|0)|0;f=v[299999];v[299999]=0;b:{if((f|0)!=1){tR(a,b,e);a=sR(a,e,v[b+8>>2],A[b+16>>3],A[b+24>>3],A[b+32>>3],A[b+40>>3]);Vc(e);dc(d);break b}a=P()|0;O()|0;dc(d);T(a|0);L()}if(v[b+8>>2]-1>>>0<=1){Yl(c,0,a);return}Tc(c,a)}}function O$(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=Qb-16|0;Qb=e;a:{if(!a|!b){break a}i=a?v[a>>2]:0;h=Sj(i);if(!h){break a}if((i|0)>=1){while(1){k=e,l=Cf(a,d),v[k+12>>2]=l;j=_$(a,d,1);f=vA(b,j);c=f;g=v[e+12>>2];b:{if(!c|!g|(c|0)==(g|0)){break b}if(((f?v[f+8>>2]:-1)|0)!=((g?v[g+8>>2]:-1)|0)){break b}c=Xe(c,f);if(!c){break b}Oe(c,0,0,c?v[c>>2]:-1,c?v[c+4>>2]:-1,16,g,0,0)}th(h,f,0);Lo(h,j);dd(e+12|0);d=d+1|0;if((i|0)!=(d|0)){continue}break}}d=h}Qb=e+16|0;return d}function WQa(a){a=a|0;var b=0,c=0,d=0,e=0;if(v[293894]){b=v[293894];Ub[v[v[b>>2]+32>>2]](b)}b=v[a+8>>2];e=a+12|0;if((b|0)!=(e|0)){while(1){d=b;b=v[b+28>>2];if(b){Ub[v[v[b>>2]+12>>2]](b)|0}c=v[d+4>>2];a:{if(!c){b=v[d+8>>2];if((d|0)==v[b>>2]){break a}d=d+8|0;while(1){c=v[d>>2];d=c+8|0;b=v[c+8>>2];if((c|0)!=v[b>>2]){continue}break}break a}while(1){b=c;c=v[b>>2];if(c){continue}break}}if((b|0)!=(e|0)){continue}break}}ps(a+8|0,v[a+12>>2]);v[a+8>>2]=e;v[a+12>>2]=0;v[a+16>>2]=0}function SUa(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,j=0;h=Qb+-64|0;Qb=h;i=1;a:{if(!(!v[a+16>>2]|!v[a+20>>2])){i=hm(h+8|0);a=v[a+16>>2];v[299999]=0;j=v[299999];v[299999]=0;if((j|0)==1){break a}v[299999]=0;iq(a+52|0,h+16|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}A[b>>3]=A[h+16>>3];A[c>>3]=A[h+24>>3];A[d>>3]=A[h+32>>3];A[e>>3]=A[h+40>>3];A[f>>3]=A[h+48>>3];A[g>>3]=A[h+56>>3];Cd(i);i=0}Qb=h- -64|0;return i|0}a=P()|0;O()|0;Cd(i);T(a|0);L()}function Qf(a,b,c){var d=0,e=0,f=0;e=Qb-16|0;Qb=e;v[b+4>>2]=v[b+4>>2]+1;d=Qb-16|0;Qb=d;v[d+12>>2]=b;b=e+8|0;v[b>>2]=v[d+12>>2];Qb=d+16|0;a:{a=a+8|0;d=a;if(v[d+4>>2]-v[d>>2]>>2>>>0<=c>>>0){v[299999]=0;V(5666,a|0,c+1|0);d=v[299999];v[299999]=0;if((d|0)==1){break a}}if(v[v[a>>2]+(c<<2)>>2]){d=v[v[a>>2]+(c<<2)>>2];f=v[d+4>>2]-1|0;v[d+4>>2]=f;if((f|0)==-1){Ub[v[v[d>>2]+8>>2]](d)}}d=v[b>>2];v[b>>2]=0;v[v[a>>2]+(c<<2)>>2]=d;OL(b);Qb=e+16|0;return}a=P()|0;O()|0;OL(b);T(a|0);L()}function Pq(a,b,c){var d=0,e=0;a:{if(y[a+16>>2]<=b>>>0){break a}d=v[v[v[a+96>>2]+12>>2]+84>>2];if(d){d=Ub[d|0](a,b,1,2051,c)|0;if(!d|(d&255)!=7){break a}}b:{if(!a|!c){break b}d=v[a+16>>2];c:{if(d>>>0<=b>>>0){break c}e=b+1|0;if(e>>>0<1|d>>>0>>0){break c}d=v[v[v[a+96>>2]+12>>2]+84>>2];if(d){d=Ub[d|0](a,b,1,2051,c)|0;if(!d){break b}if((d&255)!=7){break c}}d=0;while(1){if(mn(a,b+d|0,2307)){break c}v[(d<<2)+c>>2]=v[v[a+84>>2]+64>>2];d=d+1|0;if((d|0)!=1){continue}break}}}}}function tla(a,b,c){a=a|0;b=b|0;c=C(c);var d=0,e=0,f=0,g=0;d=Qb-16|0;Qb=d;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=0;v[d+4>>2]=0;v[d>>2]=982500;v[d+4>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;f=d;v[299999]=0;$(5001,a|0,b|0,d|0,0);a=v[299999];v[299999]=0;if((a|0)!=1){a:{a=v[d+8>>2];if(a){while(1){g=v[a+8>>2];e=v[v[g>>2]+52>>2];v[299999]=0;rb(e|0,g|0,b|0,C(c));e=v[299999];v[299999]=0;if((e|0)==1){break a}a=v[a>>2];if(a){continue}break}}Ic(f);Qb=d+16|0;return}}a=P()|0;O()|0;Ic(f);T(a|0);L()}function mw(a,b,c,d,e,f){var g=0,h=0,i=0;h=Qb-16|0;Qb=h;if(1073741807-b>>>0>=c>>>0){i=w[a+11|0]>>>7|0?v[a>>2]:a;a:{if(b>>>0<536870887){v[h+8>>2]=b<<1;v[h+12>>2]=b+c;c=Qb-16|0;Qb=c;Qb=c+16|0;c=h+8|0;g=h+12|0;c=v[(y[g>>2]>2]?c:g)>>2];if(c>>>0>=2){g=c+4&-4;c=g-1|0;c=(c|0)==2?g:c}else{c=1}break a}c=1073741806}g=c+1|0;c=yL(g);if(e){ak(c,i,e)}d=d-e|0;if(d){e=e<<2;ak((e+c|0)+(f<<2)|0,e+i|0,d)}if((b|0)!=1){CL(i)}v[a>>2]=c;v[a+8>>2]=g|-2147483648;Qb=h+16|0;return}$d(a);L()}function RG(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{b=jm(1176244,b);b:{if((b|0)==1176248){break b}b=v[b+28>>2];c=v[294064];if(b>>>0>=(v[294065]-c|0)/12>>>0){break a}c=c+B(b,12)|0;b=v[c>>2];f=v[c+4>>2];if((b|0)==(f|0)){break b}while(1){d=w[a+11|0];g=d<<24>>24<0;e=w[b+11|0];h=e<<24>>24<0;d=g?v[a+4>>2]:d;if((d|0)==((h?v[b+4>>2]:e)|0)){e=1;if(!d){break b}if(!od(g?v[a>>2]:a,h?v[b>>2]:b,d)){break b}f=v[c+4>>2]}b=b+12|0;if((f|0)!=(b|0)){continue}break}e=0}return e}lw(1176256);L()}function Idb(a){a=a|0;var b=0,c=0,d=0;b=v[v[a+536>>2]+88>>2];b=((v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0)+1|0;c=v[a+644>>2];a:{b:{switch(w[a+2253|0]-2|0){case 0:if(v[a+588>>2]<=0){break a}while(1){t[b|0]=w[c|0]+w[b|0];c=c+1|0;b=b+2|0;d=d+1|0;if((d|0)>2]){continue}break};break a;case 3:break b;default:break a}}if(v[a+588>>2]<1){break a}while(1){t[b|0]=w[c|0];c=c+1|0;b=b+2|0;d=d+1|0;if((d|0)>2]){continue}break}}return 0}function Adb(a){a=a|0;var b=0,c=0,d=0;b=v[v[a+536>>2]+88>>2];b=((v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0)+3|0;c=v[a+644>>2];a:{b:{switch(w[a+2253|0]-2|0){case 0:if(v[a+588>>2]<=0){break a}while(1){t[b|0]=w[c|0]+w[b|0];c=c+1|0;b=b+4|0;d=d+1|0;if((d|0)>2]){continue}break};break a;case 3:break b;default:break a}}if(v[a+588>>2]<1){break a}while(1){t[b|0]=w[c|0];c=c+1|0;b=b+4|0;d=d+1|0;if((d|0)>2]){continue}break}}return 0}function qq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=Qb-16|0;Qb=e;a:{if(!a){f=35;break a}f=38;d=v[a+40>>2];if(!d|!b){break a}f=6;g=v[a+36>>2];if((g|0)<1){break a}g=(g<<2)+d|0;while(1){b:{if(v[d>>2]!=(b|0)){break b}c=v[b>>2];c:{if(!c){break c}c=v[c+96>>2];h=v[v[c>>2]+32>>2];if(!h){break c}c=Ub[h|0](c,235192)|0;if(!c){break c}if(Ub[v[c>>2]](b,e+8|0)|0){break c}if(v[e+12>>2]==14){break b}}v[a+92>>2]=v[d>>2];f=0;break a}d=d+4|0;if(g>>>0>d>>>0){continue}break}}Qb=e+16|0;return f}function oWa(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;e=v[a+452>>2];i=e+24|0;g=v[e+24>>2];a:{if(g){h=v[e+12>>2];break a}h=Ub[v[v[a+4>>2]+28>>2]](a,v[e+8>>2],v[e+20>>2],v[e+16>>2],1)|0;v[e+12>>2]=h;g=v[e+24>>2]}Ub[v[v[a+472>>2]+4>>2]](a,b,c,d,h,i,v[e+16>>2]);b=v[e+24>>2];if(b>>>0>g>>>0){b=b-g|0;Ub[v[v[a+480>>2]+4>>2]](a,v[e+12>>2]+(g<<2)|0,0,b);v[f>>2]=b+v[f>>2];b=v[e+24>>2]}a=v[e+16>>2];if(a>>>0<=b>>>0){v[e+24>>2]=0;v[e+20>>2]=a+v[e+20>>2]}}function jj(a){a=a|0;var b=0,c=0,d=0;b=Qb-16|0;Qb=b;if(!w[a+32|0]){Sn(a,0)}c=b+8|0;Bi(c,a,0);v[299999]=0;V(5403,b|0,c|0);c=v[299999];v[299999]=0;if((c|0)==1){a=P()|0;O()|0;ec(b+8|0);T(a|0);L()}ec(b+8|0);v[299999]=0;d=Nc(b,280956,-1);c=v[299999];v[299999]=0;a:{if((c|0)==1){break a}c=0;if(!d){a=v[a+8>>2];if(v[a+8>>2]<=4){v[299999]=0;ba(4543);a=v[299999];v[299999]=0;if((a|0)==1){break a}L()}c=w[v[a+12>>2]+5|0]==47}ec(b);Qb=b+16|0;return c|0}a=P()|0;O()|0;ec(b);T(a|0);L()}function hda(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;b=Qb-32|0;Qb=b;d=x[a+88>>1];a:{b:{e=v[282620];if(e){while(1){c=v[e+4>>2];if((d|0)==x[c+4>>1]){break b}e=v[e>>2];if(e){continue}break}}if(v[256968]){c=1027872;while(1){if((d|0)==x[c+4>>1]){break b}e=v[c+12>>2];c=c+12|0;if(e){continue}break}}c=v[a>>2];a=v[a+628>>2];v[b+4>>2]=10178;v[b>>2]=d;zc(a,c,30139,b);break a}d=v[a>>2];a=v[a+628>>2];c=v[c>>2];v[b+20>>2]=10178;v[b+16>>2]=c;zc(a,d,28753,b+16|0)}Qb=b+32|0;return-1} +function Xq(a,b){var c=0,d=0;d=Qb-16|0;Qb=d;c=d+8|0;a=v[a+28>>2];v[c>>2]=a;v[a+4>>2]=v[a+4>>2]+1;v[299999]=0;a=S(5466,c|0)|0;c=v[299999];v[299999]=0;a:{b:{if((c|0)==1){break b}v[299999]=0;Z(5576,a|0,1016064,1016090,b|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break b}a=v[d+8>>2];c=v[a+4>>2]-1|0;v[a+4>>2]=c;if((c|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}Qb=d+16|0;break a}c=P()|0;O()|0;a=v[d+8>>2];b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}T(c|0);L()}return b}function MRa(a){a=a|0;var b=0,c=0,d=0,e=0;b=fc(64);v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=466324;v[b+4>>2]=1;v[b+32>>2]=0;v[b+36>>2]=0;v[b+20>>2]=-16777216;v[b+24>>2]=-16777216;v[b+16>>2]=0;v[b+40>>2]=0;v[b+44>>2]=0;v[b+48>>2]=0;v[b+52>>2]=0;v[b+56>>2]=0;v[b+60>>2]=0;a:{if((a|0)==(b|0)){break a}c=b+8|0;if(t[a+19|0]>=0){d=a+8|0;e=v[d+4>>2];v[c>>2]=v[d>>2];v[c+4>>2]=e;v[c+8>>2]=v[d+8>>2];break a}Lh(c,v[a+8>>2],v[a+12>>2])}v[b+20>>2]=v[a+20>>2];v[b+24>>2]=v[a+24>>2];return b|0}function Gj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=v[b>>2];a:{if((c|0)<1){break a}e=c&3;d=v[b+4>>2];if(c-1>>>0>=3){g=c&-4;c=d;while(1){f=w[c+3|0]+B(w[c+2|0]+B(w[c+1|0]+B(w[c|0]+B(f,17)|0,17)|0,17)|0,17)|0;d=c+4|0;c=d;g=g-4|0;if(g){continue}break}}if(!e){break a}while(1){f=w[d|0]+B(f,17)|0;d=d+1|0;e=e-1|0;if(e){continue}break}}c=v[v[a+12>>2]+((f>>>0)%y[a+4>>2]<<2)>>2];b:{if(!c){break b}while(1){if(Rf(v[c>>2],b)){c=v[c+8>>2];if(c){continue}break b}break}h=v[c+4>>2]}return h}function Aoa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{if((b|0)<1){break a}c=v[282402];e=b-1|0;d=b&7;if(d){while(1){v[a+8>>2]=0;v[a+12>>2]=c;a=a+16|0;b=b-1|0;d=d-1|0;if(d){continue}break}}if(e>>>0<7){break a}while(1){v[a+8>>2]=0;v[a+124>>2]=c;v[a+120>>2]=0;v[a+108>>2]=c;v[a+104>>2]=0;v[a+92>>2]=c;v[a+88>>2]=0;v[a+76>>2]=c;v[a+72>>2]=0;v[a+60>>2]=c;v[a+56>>2]=0;v[a+44>>2]=c;v[a+40>>2]=0;v[a+28>>2]=c;v[a+24>>2]=0;v[a+12>>2]=c;a=a+128|0;d=(b|0)>8;b=b-8|0;if(d){continue}break}}}function yl(a,b,c){var d=0,e=0;a:{if(!v[a+4>>2]|!v[a+44>>2]){break a}b:{if(!((b|0)<0|(c|0)<0|v[a+16>>2]<=(b|0))){if(v[a+20>>2]>(c|0)){break b}}d=v[a+336>>2];if((d|0)>=0){break a}d=w[v[a+56>>2]];break a}e=x[a+26>>1];if((e|0)==8){d=w[v[a+56>>2]+(B(v[a+52>>2],c)+b|0)|0];break a}a=w[v[a+56>>2]+(B(v[a+52>>2],c)+(B(b,e)>>3)|0)|0];c:{switch(e-1|0){case 3:c=a;a=B(b&1,252)+4&252;d=(c&15<>>a|0;break a;case 0:break c;default:break a}}b=(b^-1)&7;d=(a&1<>>b|0}return d&255}function oda(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=Qb-32|0;Qb=e;v[e+16>>2]=b;f=v[a+48>>2];v[e+20>>2]=c-((f|0)!=0);d=v[a+44>>2];v[e+28>>2]=f;v[e+24>>2]=d;f=-1;a:{b:{d=Ha(v[a+60>>2],e+16|0,2,e+12|0)|0;if(d){v[299402]=d;d=-1}else{d=0}if(!d){f=v[e+12>>2];if((f|0)>0){break b}}v[a>>2]=v[a>>2]|f&48^16;break a}g=v[e+20>>2];if(g>>>0>=f>>>0){break a}d=v[a+44>>2];v[a+4>>2]=d;v[a+8>>2]=d+(f-g|0);if(v[a+48>>2]){v[a+4>>2]=d+1;t[(b+c|0)-1|0]=w[d|0]}f=c}Qb=e+32|0;return f|0}function kda(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;b=Qb-32|0;Qb=b;d=x[a+88>>1];a:{b:{e=v[282620];if(e){while(1){c=v[e+4>>2];if((d|0)==x[c+4>>1]){break b}e=v[e>>2];if(e){continue}break}}if(v[256968]){c=1027872;while(1){if((d|0)==x[c+4>>1]){break b}e=v[c+12>>2];c=c+12|0;if(e){continue}break}}c=v[a>>2];a=v[a+628>>2];v[b+4>>2]=10178;v[b>>2]=d;zc(a,c,26986,b);break a}d=v[a>>2];a=v[a+628>>2];c=v[c>>2];v[b+20>>2]=10178;v[b+16>>2]=c;zc(a,d,25292,b+16|0)}Qb=b+32|0;return-1}function j3a(a){a=a|0;var b=0,c=0;b=v[a+20>>2];a:{if(!(v[a+64>>2]|b-205>>>0>1)){if(y[a+140>>2]>2]){b=v[a>>2];v[b+20>>2]=69;Ub[v[b>>2]](a)}Ub[v[v[a+440>>2]+4>>2]](a);v[a+20>>2]=210;break a}b:{switch(b-207|0){case 0:v[a+20>>2]=210;break a;case 3:break a;default:break b}}c=v[a>>2];v[c+24>>2]=b;v[c+20>>2]=21;Ub[v[v[a>>2]>>2]](a)}c:{while(1){b=v[a+456>>2];if(v[b+20>>2]){break c}if(Ub[v[b>>2]](a)|0){continue}break}return 0}Ub[v[v[a+24>>2]+24>>2]](a);zv(a);return 1}function fi(a,b,c){var d=0,e=0;d=(c|0)!=0;a:{b:{c:{if(!(a&3)|!c){break c}e=b&255;while(1){if((e|0)==w[a|0]){break b}c=c-1|0;d=(c|0)!=0;a=a+1|0;if(!(a&3)){break c}if(c){continue}break}}if(!d){break a}}d:{if(w[a|0]==(b&255)|c>>>0<4){break d}d=B(b&255,16843009);while(1){e=d^v[a>>2];if((e^-1)&e-16843009&-2139062144){break d}a=a+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(!c){break a}b=b&255;while(1){if((b|0)==w[a|0]){return a}a=a+1|0;c=c-1|0;if(c){continue}break}}return 0}function dka(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Qb-16|0;Qb=c;if(!w[a+88|0]){e=a,f=Ub[v[v[a>>2]+36>>2]](a)|0,v[e+72>>2]=f;e=a,f=Ub[v[v[a>>2]+44>>2]](a)|0,v[e+76>>2]=f;e=a,f=Ub[v[v[a>>2]+40>>2]](a)|0,v[e+80>>2]=f;d=Ub[v[v[a>>2]+48>>2]](a)|0;t[a+88|0]=1;v[a+84>>2]=d}v[c>>2]=v[a+92>>2];v[c+8>>2]=v[a+100>>2];v[c+4>>2]=v[a+96>>2];v[c+12>>2]=v[a+104>>2];lr(b,c);v[a+92>>2]=v[c>>2];v[a+96>>2]=v[c+4>>2];v[a+100>>2]=v[c+8>>2];b=v[c+12>>2];t[a+88|0]=0;v[a+104>>2]=b;Qb=c+16|0}function cka(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Qb-16|0;Qb=c;if(!w[a+88|0]){e=a,f=Ub[v[v[a>>2]+36>>2]](a)|0,v[e+72>>2]=f;e=a,f=Ub[v[v[a>>2]+44>>2]](a)|0,v[e+76>>2]=f;e=a,f=Ub[v[v[a>>2]+40>>2]](a)|0,v[e+80>>2]=f;d=Ub[v[v[a>>2]+48>>2]](a)|0;t[a+88|0]=1;v[a+84>>2]=d}v[c>>2]=v[a+92>>2];v[c+8>>2]=v[a+100>>2];v[c+4>>2]=v[a+96>>2];v[c+12>>2]=v[a+104>>2];EO(b,c);v[a+92>>2]=v[c>>2];v[a+96>>2]=v[c+4>>2];v[a+100>>2]=v[c+8>>2];b=v[c+12>>2];t[a+88|0]=0;v[a+104>>2]=b;Qb=c+16|0}function cB(a){var b=0,c=0,d=0;a:{b=v[a+8>>2];if((b|0)<1){break a}d=b-1|0;a=v[a+12>>2];c=b&3;if(c){while(1){v[a+12>>2]=0;v[a+4>>2]=2147483647;v[a+8>>2]=0;a=a+16|0;b=b-1|0;c=c-1|0;if(c){continue}break}}if(d>>>0<3){break a}while(1){v[a+12>>2]=0;v[a+4>>2]=2147483647;v[a+8>>2]=0;v[a+60>>2]=0;v[a+52>>2]=2147483647;v[a+56>>2]=0;v[a+44>>2]=0;v[a+36>>2]=2147483647;v[a+40>>2]=0;v[a+28>>2]=0;v[a+20>>2]=2147483647;v[a+24>>2]=0;a=a- -64|0;c=(b|0)>4;b=b-4|0;if(c){continue}break}}}function Fgb(a){a=a|0;var b=0,c=0,d=0,e=0;a=v[a+52>>2];c=Ub[v[v[a>>2]+20>>2]](a,2)|0;Ub[v[v[a>>2]+20>>2]](a,1)|0;b=Ub[v[v[a>>2]+20>>2]](a,1)|0;d=b>>>4&3;b=b>>>6&1;c=(c-4|0)/((d+(b<<1)|0)+2|0)|0;a:{if((c|0)<1){break a}b=b?4:2;if((c|0)!=1){e=c&-2;while(1){Ub[v[v[a>>2]+20>>2]](a,d)|0;Ub[v[v[a>>2]+20>>2]](a,b)|0;Ub[v[v[a>>2]+20>>2]](a,d)|0;Ub[v[v[a>>2]+20>>2]](a,b)|0;e=e-2|0;if(e){continue}break}}if(!(c&1)){break a}Ub[v[v[a>>2]+20>>2]](a,d)|0;Ub[v[v[a>>2]+20>>2]](a,b)|0}}function Dsa(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;d=v[a+60>>2];f=v[a- -64>>2];if(d>>>0>>0){t[d+4|0]=c;v[d>>2]=b;v[a+60>>2]=d+8;return}a:{h=d;g=a+56|0;d=v[g>>2];i=h-d|0;h=i>>3;e=h+1|0;if(e>>>0<536870912){f=f-d|0;g=f>>2;e=f>>3>>>0<268435455?e>>>0>g>>>0?e:g:536870911;if(e>>>0>=536870912){break a}g=e<<3;e=fc(g);f=e+(h<<3)|0;t[f+4|0]=c;v[f>>2]=b;if((i|0)>=1){gc(e,d,i)}v[a+64>>2]=e+g;v[a+60>>2]=f+8;v[a+56>>2]=e;if(d){dc(d)}return}ue(g);L()}cf(274079);L()}function wla(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=Qb-16|0;Qb=d;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=0;v[d+4>>2]=0;v[d>>2]=982500;v[d+4>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;f=d;v[299999]=0;$(5001,a|0,b|0,d|0,0);a=v[299999];v[299999]=0;if((a|0)!=1){a:{a=v[d+8>>2];if(a){while(1){g=v[a+8>>2];e=v[v[g>>2]+40>>2];v[299999]=0;U(e|0,g|0,b|0,c|0);e=v[299999];v[299999]=0;if((e|0)==1){break a}a=v[a>>2];if(a){continue}break}}Ic(f);Qb=d+16|0;return}}a=P()|0;O()|0;Ic(f);T(a|0);L()}function zl(a,b,c){var d=0,e=0;d=v[a>>2];a:{b:{if((b|0)<=-1){b=d;if((d|0)>-1){break b}break a}b=0;if((d|0)<=-1){break a}}e=v[a+4>>2];if((e|0)<=(d|0)){e=d+16|0;d=v[a+8>>2];c:{if(!d){d=jc(e<<2);break c}d=uh(d,e<<2)}if(!d){return-1}v[a+4>>2]=e;v[a+8>>2]=d;d=v[a>>2]}if((d|0)<(e|0)){v[c>>2]=v[c>>2]+1;e=d-b|0;if((e|0)>=1){d=v[a+8>>2]+(b<<2)|0;Wd(d+4|0,d,e<<2);d=v[a>>2]}v[v[a+8>>2]+(b<<2)>>2]=c;v[a>>2]=d+1;return 0}X(22566,6744,664,188310);L()}X(20279,6744,658,188310);L()}function qta(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=+c;d=+d;e=+e;f=+f;g=+g;h=+h;i=i|0;if(g<0){while(1){g=g+360;if(g<0){continue}break}}if(g>360){while(1){g=g+-360;if(g>360){continue}break}}if(h<0){while(1){h=h+360;if(h<0){continue}break}}if(h>=360){while(1){h=h+-360;if(h>=360){continue}break}}if(!i){if(g<=h){Br(a,b,c,d,e,f,g,h,0);return}Br(a,b,c,d,e,f,g,360,0);Br(a,b,c,d,e,f,0,h,0);return}if(g>=h){Br(a,b,c,d,e,f,g,h,1);return}Br(a,b,c,d,e,f,g,0,1);Br(a,b,c,d,e,f,360,h,1)}function pda(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;b=Qb-32|0;Qb=b;d=x[a+88>>1];a:{b:{e=v[282620];if(e){while(1){c=v[e+4>>2];if((d|0)==x[c+4>>1]){break b}e=v[e>>2];if(e){continue}break}}if(v[256968]){c=1027872;while(1){if((d|0)==x[c+4>>1]){break b}e=v[c+12>>2];c=c+12|0;if(e){continue}break}}c=v[a>>2];a=v[a+628>>2];v[b+4>>2]=2177;v[b>>2]=d;zc(a,c,26986,b);break a}d=v[a>>2];a=v[a+628>>2];c=v[c>>2];v[b+20>>2]=2177;v[b+16>>2]=c;zc(a,d,25292,b+16|0)}Qb=b+32|0;return-1}function lda(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;b=Qb-32|0;Qb=b;d=x[a+88>>1];a:{b:{e=v[282620];if(e){while(1){c=v[e+4>>2];if((d|0)==x[c+4>>1]){break b}e=v[e>>2];if(e){continue}break}}if(v[256968]){c=1027872;while(1){if((d|0)==x[c+4>>1]){break b}e=v[c+12>>2];c=c+12|0;if(e){continue}break}}c=v[a>>2];a=v[a+628>>2];v[b+4>>2]=5458;v[b>>2]=d;zc(a,c,26986,b);break a}d=v[a>>2];a=v[a+628>>2];c=v[c>>2];v[b+20>>2]=5458;v[b+16>>2]=c;zc(a,d,25292,b+16|0)}Qb=b+32|0;return-1}function jda(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;b=Qb-32|0;Qb=b;d=x[a+88>>1];a:{b:{e=v[282620];if(e){while(1){c=v[e+4>>2];if((d|0)==x[c+4>>1]){break b}e=v[e>>2];if(e){continue}break}}if(v[256968]){c=1027872;while(1){if((d|0)==x[c+4>>1]){break b}e=v[c+12>>2];c=c+12|0;if(e){continue}break}}c=v[a>>2];a=v[a+628>>2];v[b+4>>2]=2177;v[b>>2]=d;zc(a,c,30139,b);break a}d=v[a>>2];a=v[a+628>>2];c=v[c>>2];v[b+20>>2]=2177;v[b+16>>2]=c;zc(a,d,28753,b+16|0)}Qb=b+32|0;return-1}function ida(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;b=Qb-32|0;Qb=b;d=x[a+88>>1];a:{b:{e=v[282620];if(e){while(1){c=v[e+4>>2];if((d|0)==x[c+4>>1]){break b}e=v[e>>2];if(e){continue}break}}if(v[256968]){c=1027872;while(1){if((d|0)==x[c+4>>1]){break b}e=v[c+12>>2];c=c+12|0;if(e){continue}break}}c=v[a>>2];a=v[a+628>>2];v[b+4>>2]=5458;v[b>>2]=d;zc(a,c,30139,b);break a}d=v[a>>2];a=v[a+628>>2];c=v[c>>2];v[b+20>>2]=5458;v[b+16>>2]=c;zc(a,d,28753,b+16|0)}Qb=b+32|0;return-1}function yW(a,b){var c=0,d=0;c=Qb-528|0;Qb=c;v[c+32>>2]=v[211442];d=v[211441];v[c+24>>2]=v[211440];v[c+28>>2]=d;d=v[211439];v[c+16>>2]=v[211438];v[c+20>>2]=d;d=v[211437];v[c+8>>2]=v[211436];v[c+12>>2]=d;a:{if(v[b>>2]>0){break a}t[c+16|0]=1;d=c+8|0;a=Af(a,c+40|0,d,b);zW(c+264|0,a,d,b);if(!a|!w[a+17|0]){break a}b=v[a+4>>2];b:{if(b){b=b-1|0;v[a+4>>2]=b;if(b){break b}}if(w[a+16|0]){break b}b=v[v[a+20>>2]+8>>2];if(b){Ub[b|0](a)}b=v[a+8>>2];if(b){ch(b)}_e(a)}}Qb=c+528|0}function hea(a){a=a|0;var b=0,c=0;b=65536;a:{b:{c:{c=v[a+32>>2];if(c>>>0<=32768){b=32768;if(!c){break c}}v[a+32>>2]=b;break b}b=0;if(v[a+36>>2]==16777215){break a}}while(1){xt(a,1-(b>>>15|0)|0);b=v[a+32>>2]<<1&65534;v[a+32>>2]=b;if(b|v[a+36>>2]!=16777215){continue}break}}yp(a,1);b=v[a+40>>2];v[a+40>>2]=b-1;if(b){while(1){yp(a,0);b=v[a+40>>2];v[a+40>>2]=b-1;if(b){continue}break}}v[a+40>>2]=0;if(w[a+18|0]){while(1){yp(a,1);if(w[a+18|0]){continue}break}}t[a+19|0]=255}function fz(a){a=a|0;var b=0,c=0,d=0;v[a+8>>2]=878944;v[a>>2]=878920;a:{if(!v[a+40>>2]){break a}c=v[a+36>>2];d=v[c>>2];b=v[a+32>>2];v[d+4>>2]=v[b+4>>2];v[v[b+4>>2]>>2]=d;v[a+40>>2]=0;d=a+32|0;if((d|0)==(c|0)){break a}while(1){b=v[c+4>>2];dc(c);c=b;if((b|0)!=(d|0)){continue}break}}v[a+8>>2]=878788;b=v[a+12>>2];v[299999]=0;R(2934,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){v[a+12>>2]=0;b=v[a+16>>2];if(b){dc(b)}v[a+16>>2]=0;v[a+20>>2]=0;return a|0}W(0)|0;O()|0;lc();L()}function S2a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=v[a+20>>2];if((d|0)!=206){e=v[a>>2];v[e+24>>2]=d;v[e+20>>2]=21;Ub[v[v[a>>2]>>2]](a)}e=v[a+116>>2];f=v[a+140>>2];if(e>>>0<=f>>>0){b=v[a>>2];v[b+20>>2]=126;Ub[v[b+4>>2]](a,-1);return 0}d=v[a+8>>2];if(d){v[d+8>>2]=e;v[d+4>>2]=f;Ub[v[d>>2]](a)}d=c;c=B(v[a+324>>2],v[a+316>>2]);if(d>>>0>>0){d=v[a>>2];v[d+20>>2]=24;Ub[v[d>>2]](a)}if(!(Ub[v[v[a+448>>2]+12>>2]](a,b)|0)){return 0}v[a+140>>2]=c+v[a+140>>2];return c|0}function Bda(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a=(c|0)/3|0;if((B(a,3)|0)!=(c|0)){X(36779,31925,723,77191);L()}a:{if(!a){break a}d=a-1|0;c=a&3;if(c){while(1){e=w[b+2|0];t[b+2|0]=w[b|0];t[b|0]=e;b=b+3|0;a=a-1|0;c=c-1|0;if(c){continue}break}}if(d>>>0<3){break a}while(1){c=w[b+2|0];t[b+2|0]=w[b|0];t[b|0]=c;c=w[b+5|0];t[b+5|0]=w[b+3|0];t[b+3|0]=c;c=w[b+8|0];t[b+8|0]=w[b+6|0];t[b+6|0]=c;c=w[b+11|0];t[b+11|0]=w[b+9|0];t[b+9|0]=c;b=b+12|0;a=a-4|0;if(a){continue}break}}}function zBa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;e=Qb-400|0;Qb=e;A[e+392>>3]=+v[b>>2]*152587890625e-16;b=v[a+20>>2];Ub[v[v[b>>2]+16>>2]](b,e+392|0,e+128|0);b=v[a+16>>2];if((Ub[v[v[b>>2]+28>>2]](b)|0)>=1){b=0;while(1){h=(b<<2)+e|0;g=A[(e+128|0)+(b<<3)>>3]*65536;a:{if(D(g)<2147483648){f=~~g;break a}f=-2147483648}v[h>>2]=f;f=v[a+16>>2];b=b+1|0;if((Ub[v[v[f>>2]+28>>2]](f)|0)>(b|0)){continue}break}}a=v[a+16>>2];Ub[v[v[a>>2]+16>>2]](a,e,c,d);Qb=e+400|0}function yBa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;e=Qb-400|0;Qb=e;A[e+392>>3]=+v[b>>2]*152587890625e-16;b=v[a+20>>2];Ub[v[v[b>>2]+16>>2]](b,e+392|0,e+128|0);b=v[a+16>>2];if((Ub[v[v[b>>2]+28>>2]](b)|0)>=1){b=0;while(1){h=(b<<2)+e|0;g=A[(e+128|0)+(b<<3)>>3]*65536;a:{if(D(g)<2147483648){f=~~g;break a}f=-2147483648}v[h>>2]=f;f=v[a+16>>2];b=b+1|0;if((Ub[v[v[f>>2]+28>>2]](f)|0)>(b|0)){continue}break}}a=v[a+16>>2];Ub[v[v[a>>2]+20>>2]](a,e,c,d);Qb=e+400|0}function xBa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;e=Qb-400|0;Qb=e;A[e+392>>3]=+v[b>>2]*152587890625e-16;b=v[a+20>>2];Ub[v[v[b>>2]+16>>2]](b,e+392|0,e+128|0);b=v[a+16>>2];if((Ub[v[v[b>>2]+28>>2]](b)|0)>=1){b=0;while(1){h=(b<<2)+e|0;g=A[(e+128|0)+(b<<3)>>3]*65536;a:{if(D(g)<2147483648){f=~~g;break a}f=-2147483648}v[h>>2]=f;f=v[a+16>>2];b=b+1|0;if((Ub[v[v[f>>2]+28>>2]](f)|0)>(b|0)){continue}break}}a=v[a+16>>2];Ub[v[v[a>>2]+24>>2]](a,e,c,d);Qb=e+400|0}function q4(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Qb-16|0;Qb=e;a:{d=v[a+584>>2];if(d){if(v[d+124>>2]!=2){break a}v[d+64>>2]=b;v[d+68>>2]=c;b=d- -64|0;b:{while(1){if(Nj(b,0)){b=v[a+628>>2];a=v[a>>2];v[e+4>>2]=v[d+88>>2];v[e>>2]=a;zc(b,88481,33e3,e);a=0;break b}if(!v[d+80>>2]){v[a+608>>2]=v[a+600>>2];Ae(a);v[d+76>>2]=v[a+596>>2];v[d+80>>2]=v[a+600>>2]}if(v[d+68>>2]){continue}break}a=1}Qb=e+16|0;return a|0}X(21265,6646,216,88481);L()}X(32147,6646,217,88481);L()}function oeb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(v[a+588>>2]>=1){c=v[a+540>>2];c=((v[c+1176>>2]+B(v[c+1168>>2],v[a+572>>2])|0)+B(v[c+1164>>2],v[a+580>>2])|0)+1|0;d=v[a+636>>2]+v[a+616>>2]|0;while(1){h=c;if(!(b&255)){i=w[d|0];e=6;d=d+1|0;b=192}f=((b&i)>>>e|0)-1|0;t[h|0]=f>>>0<3?B(f,85)+85|0:0;e=e-2|0;c=c+2|0;b=(b&252)>>>2|0;g=g+1|0;if((g|0)>2]){continue}break}}v[a+2556>>2]=v[a+2556>>2]+1;a:{if(v[a+968>>2]){b=Wj(a);if(b){break a}}b=0}return b|0}function jEa(a){a=a|0;var b=0,c=0,d=0,e=0;b=gc(fc(2992),a,2992);c=v[b+4>>2];v[299999]=0;d=Q(3364,1<>2]=d;gc(d,v[a+2456>>2],4<>2];v[299999]=0;d=Q(3364,c|0,8)|0;e=v[299999];v[299999]=0;if((e|0)==1){break a}v[b+2460>>2]=d;gc(d,v[a+2460>>2],c<<3);a=v[b+4>>2];v[299999]=0;a=Q(3364,1<>2]=a;return b|0}a=P()|0;O()|0;dc(b);T(a|0);L()}function ieb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(v[a+588>>2]>=1){c=v[a+540>>2];c=((v[c+1176>>2]+B(v[c+1168>>2],v[a+572>>2])|0)+B(v[c+1164>>2],v[a+580>>2])|0)+3|0;d=v[a+636>>2]+v[a+616>>2]|0;while(1){h=c;if(!(b&255)){i=w[d|0];e=6;d=d+1|0;b=192}f=((b&i)>>>e|0)-1|0;t[h|0]=f>>>0<3?B(f,85)+85|0:0;e=e-2|0;c=c+4|0;b=(b&252)>>>2|0;g=g+1|0;if((g|0)>2]){continue}break}}v[a+2556>>2]=v[a+2556>>2]+1;a:{if(v[a+968>>2]){b=Wj(a);if(b){break a}}b=0}return b|0}function dxa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=Qb-48|0;Qb=e;a:{if((b|0)<2){break a}f=v[a+4>>2];b=Ub[v[v[f>>2]+60>>2]](f,b,c,d)|0;if(!b){break a}_c(_c(b,c),346565);c=v[a+8>>2];if(c){v[e+32>>2]=c;Jc(b,346175,e+32|0)}if(v[a+12>>2]){_c(b,346432)}if(v[a+16>>2]){_c(b,346408)}v[e+16>>2]=v[a+20>>2];Jc(b,346159,e+16|0);c=v[a+24>>2];if(c){v[e>>2]=c;Jc(b,346146,e)}if(!v[a+28>>2]){_c(b,346465)}if(v[a+32>>2]){_c(b,346449)}_c(b,350371);g=b}Qb=e+48|0;return g|0}function cL(a,b,c,d){var e=0,f=0,g=0;g=a;a:{b:{if(!((b|0)==(c|0)|(d|0)>-1)){t[b|0]=45;d=0-d|0;b=b+1|0}e=c-b|0;if((e|0)<=9){f=e;e=B(32-E(d|1)|0,1233)>>>12|0;if((f|0)<((e-(y[(e<<2)+1022480>>2]>d>>>0)|0)+1|0)){break b}}f=a;c:{if(d>>>0<=99999999){d:{if(d>>>0<=9999){a=mL(b,d);break d}a=b;b=(d>>>0)/1e4|0;a=nw(mL(a,b),d-B(b,1e4)|0)}break c}a=d;d=(d>>>0)/1e8|0;c=a-B(d,1e8)|0;e=(c>>>0)/1e4|0;a=nw(nw(nL(b,d),e),c-B(e,1e4)|0)}v[f>>2]=a;a=0;break a}v[a>>2]=c;a=61}v[g+4>>2]=a}function Wh(a,b,c,d,e){var f=0,g=0;if((c|0)<(e|0)){if(!bg(a,b,c,e)){return-1}c=v[a+12>>2];b=v[a+8>>2]}g=e<<2;c=c-e|0;f=v[g+72672>>2]&b>>c;if((f|0)>v[d+g>>2]){while(1){if((c|0)<=0){if(!bg(a,b,c,1)){return-1}c=v[a+12>>2];b=v[a+8>>2]}c=c-1|0;f=b>>>c&1|f<<1;e=e+1|0;if((f|0)>v[(e<<2)+d>>2]){continue}break}}v[a+12>>2]=c;v[a+8>>2]=b;if((e|0)>=17){a=v[a+16>>2];b=v[a>>2];v[b+20>>2]=121;Ub[v[b+4>>2]](a,-1);return 0}return w[(v[d+140>>2]+(v[((e<<2)+d|0)+72>>2]+f|0)|0)+17|0]}function Jdb(a){a=a|0;var b=0,c=0,d=0;b=v[v[a+536>>2]+88>>2];b=(v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0;c=v[a+644>>2];a:{b:{switch(w[a+2253|0]-3|0){case 0:if(v[a+588>>2]<=0){break a}while(1){t[b|0]=w[c|0]+w[b|0];c=c+1|0;b=b+2|0;d=d+1|0;if((d|0)>2]){continue}break};break a;case 3:break b;default:break a}}if(v[a+588>>2]<1){break a}while(1){t[b|0]=w[c|0];c=c+1|0;b=b+2|0;d=d+1|0;if((d|0)>2]){continue}break}}return 0}function Et(a){var b=0,c=0;b=v[a>>2];if(!b){v[a>>2]=0;return}a:{b:{c:{d:{if(!v[b+8>>2]){v[a>>2]=0;break d}b=v[b+12>>2];c=v[a+8>>2];v[299999]=0;Q(5163,c|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}b=v[a>>2];v[a>>2]=0;if(!b){break c}}v[299999]=0;a=v[b+4>>2]-1|0;v[b+4>>2]=a;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(a){break c}v[299999]=0;R(4338,b|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}return}W(0)|0;O()|0;ec(a);lc();L()}W(0)|0;O()|0;lc();L()}function w8a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=v[a+428>>2];c=x[b+32>>1];c=c<<8|c>>>8;t[d+8|0]=c;t[d+9|0]=c>>>8;c=x[b+34>>1];c=c<<8|c>>>8;t[d+10|0]=c;t[d+11|0]=c>>>8;c=x[b+36>>1];c=c<<8|c>>>8;t[d+12|0]=c;t[d+13|0]=c>>>8;f=d+8|0;c=w[b+38|0];a:{if(!(w[b+42|0]|(c|x[b+40>>1]))){e=6;break a}t[d+14|0]=c;c=x[b+40>>1];e=7;if(!(c|w[b+42|0])){break a}c=c<<8|c>>>8;t[d+15|0]=c;t[d+16|0]=c>>>8;c=w[b+42|0];e=9;if(!c){break a}t[d+17|0]=c;e=10}c=e;return _d(a,v[b>>2],c,f)|0}function dn(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=v[a+4>>2];if((d|0)>=0){j=a;a:{if(v[a>>2]==(d|0)){A[b>>3]=A[a+16>>3];A[c>>3]=A[a+24>>3];f=1;a=d-1|0;break a}if(!d){A[b>>3]=A[a+32>>3];A[c>>3]=A[a+40>>3];f=2;a=-1;break a}g=A[a+64>>3];h=g+A[a+48>>3];A[a+48>>3]=h;e=A[a+72>>3];i=A[a+88>>3];A[a+72>>3]=e+i;A[a+56>>3]=e+A[a+56>>3];e=A[a+80>>3];A[a+80>>3]=e+A[a+96>>3];A[a+64>>3]=g+e;A[a+88>>3]=i+A[a+104>>3];A[b>>3]=h;A[c>>3]=A[a+56>>3];f=2;a=d-1|0}v[j+4>>2]=a}return f}function c_(a,b,c,d){var e=0,f=0,g=0,h=0;h=v[a>>2];if(h>>>0>>0){f=1;b=b-h|0;d=d<<1;d=b>>>0>>0?b:d;a:{if(!d){b=0;break a}b=0;b:{while(1){c:{d:{e=w[b+h|0];switch(e|0){case 0:case 9:case 10:case 12:case 13:case 32:break c;default:break d}}if(e<<24>>24<0){break b}e=w[e+382528|0];if(e>>>0>15){break b}e=e|f<<4;if(!(f&16)){f=e;break c}t[c+g|0]=e;f=1;g=g+1|0}b=b+1|0;if((d|0)!=(b|0)){continue}break}b=d}if((f|0)==1){break a}t[c+g|0]=f<<4;g=g+1|0}v[a>>2]=b+h}return g}function ad(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=2147483647;d=b>>31;d=d+b^d;a:{if(!d){break a}c=a>>31;c=c+a^c;if(c>>>0<=(d>>>17^65535)>>>0){e=((c<<16)+(d>>>1|0)>>>0)/(d>>>0)|0;break a}g=d>>>1|0;f=g+(c<<16)|0;c=(c>>>16|0)+(f>>>0>>0)|0;if(c>>>0>=d>>>0){break a}g=E(c);h=32-g|0;c=f>>>h|c<>>0)/(d>>>0)|0;i=c-B(d,e)|0;c=f<>>31;i=f-(d>>>0>f>>>0?0:d)|0;e=e<<1|d>>>0<=f>>>0;c=c<<1;h=h-1|0;if(h){continue}break}}return(a|0)<0^(b|0)<0?0-e|0:e}function xh(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0;h=Bib(b,c,h,i);i=Tb;j=h;h=Bib(d,e,f,g);e=j+h|0;d=Tb+i|0;i=e;h=e>>>0>>0?d+1|0:d;j=g;e=0;g=e;k=i;l=c;d=0;i=Bib(j,e,c,d);e=k+i|0;c=Tb+h|0;k=e;e=e>>>0>>0?c+1|0:c;h=f;c=0;i=b;f=Bib(h,c,i,0);b=Tb;d=Bib(h,c,l,d);b=b+d|0;c=Tb;c=b>>>0>>0?c+1|0:c;h=c;c=c+k|0;d=c>>>0>>0?e+1|0:e;h=c;c=d;d=Bib(i,m,j,g)+b|0;e=Tb;e=b>>>0>d>>>0?e+1|0:e;b=h;h=e;e=b+e|0;v[a+8>>2]=e;v[a+12>>2]=e>>>0>>0?c+1|0:c;v[a>>2]=f;v[a+4>>2]=d}function rM(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;e=Qb-16|0;Qb=e;a:{b:{c:{d:{if((a|0)!=(b|0)){e:{f:{f=w[a|0];if((f|0)!=45){break f}a=a+1|0;if((b|0)!=(a|0)){break f}break e}h=v[299402];v[299402]=0;a=oC(a,e+12|0,d,pg());d=Tb;g=v[299402];g:{if(g){if(v[e+12>>2]!=(b|0)){break g}if((g|0)==68){break c}break d}v[299402]=h;if(v[e+12>>2]==(b|0)){break d}}}}v[c>>2]=4;a=0;break a}if(!d){break b}}v[c>>2]=4;a=-1;break a}a=(f|0)==45?0-a|0:a}Qb=e+16|0;return a|0}function cT(a,b,c){a=a|0;b=b|0;c=c|0;a:{b=v[a+104>>2];c=v[b+8>>2];if((c|0)>=1){b=ji(b,c-1|0);c=v[b>>2];dc(b);b:{switch(c|0){case 0:b=v[a+104>>2];c=v[b+8>>2];if((c|0)>=1){v[a+100>>2]=v[v[(v[b>>2]+(c<<2)|0)-4>>2]+4>>2];return}v[a+100>>2]=1;return;case 1:break b;default:break a}}b=v[a+8>>2];Ub[v[v[b>>2]+276>>2]](b,v[a+28>>2]);return}b=-1;a=v[a+108>>2];c:{if(!a){break c}a=v[a+4>>2];if(v[a+8>>2]==13){break c}a=v[a+16>>2];b=Ub[v[v[a>>2]+52>>2]](a)|0}kc(0,b,237724,0)}}function WB(a,b,c,d,e){var f=0,g=0,h=0;g=Qb-16|0;Qb=g;if(-17-b>>>0>=c>>>0){if(w[a+11|0]>>>7|0){h=v[a>>2]}else{h=a}a:{if(b>>>0<2147483623){v[g+8>>2]=b<<1;v[g+12>>2]=b+c;c=Qb-16|0;Qb=c;Qb=c+16|0;c=g+8|0;f=g+12|0;c=v[(y[f>>2]>2]?c:f)>>2];if(c>>>0>=11){f=c+16&-16;c=f-1|0;c=(c|0)==11?f:c}else{c=10}break a}c=-18}f=c+1|0;c=fc(f);if(e){bk(c,h,e)}d=d-e|0;if(d){bk(c+e|0,e+h|0,d)}b=b+1|0;if((b|0)!=11){Aw(h)}v[a>>2]=c;v[a+8>>2]=f|-2147483648;Qb=g+16|0;return}$d(a);L()}function zFa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;v[a+4>>2]=7;v[a>>2]=b;b=ed(7,4);v[a+12>>2]=b;c=v[a+4>>2];a:{if((c|0)<1){break a}v[b>>2]=0;if((c|0)==1){break a}d=c-1|0;e=d&3;b=1;if(c-2>>>0>=3){d=d&-4;while(1){c=b<<2;v[c+v[a+12>>2]>>2]=0;v[(c+v[a+12>>2]|0)+4>>2]=0;v[(c+v[a+12>>2]|0)+8>>2]=0;v[(c+v[a+12>>2]|0)+12>>2]=0;b=b+4|0;d=d-4|0;if(d){continue}break}}if(!e){break a}while(1){v[v[a+12>>2]+(b<<2)>>2]=0;b=b+1|0;e=e-1|0;if(e){continue}break}}v[a+8>>2]=0;return a|0}function WQ(a){a=a|0;var b=0,c=0;v[a>>2]=972384;a:{b=v[a+4>>2];c=v[b+12>>2];b:{c:{if(c){v[299999]=0;R(4078,c|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+4>>2];c=v[b+12>>2];if(c){dc(QQ(c));b=v[a+4>>2]}v[b+12>>2]=0;break c}c=v[b+8>>2];if(!c){break b}Ub[v[v[c>>2]+4>>2]](c);b=v[a+4>>2]}v[b+8>>2]=0}b=v[b+4>>2];if(b){c=v[v[b>>2]+12>>2];v[299999]=0;S(c|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}v[v[a+4>>2]+4>>2]=0}return a|0}W(0)|0;O()|0;lc();L()}function S$a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=v[a+16>>2];a:{if(j){c=v[b>>2]+1|0;k=v[a+20>>2];h=j;while(1){i=(h-d>>>1|0)+d|0;e=(i<<3)+k|0;f=v[e>>2];if((f|0)==(c|0)){a=v[((i<<3)+k|0)+4>>2];v[b>>2]=c;return a|0}f=f&2147483647;g=(f|0)==(c|0)?v[e+4>>2]:g;e=c>>>0>f>>>0;h=e?h:i;d=e?i+1|0:d;if(h>>>0>d>>>0){continue}break}if(g){break a}}c=0;g=0;if(d>>>0>=j>>>0){break a}a=v[a+20>>2]+(d<<3)|0;c=v[a>>2]&2147483647;g=v[a+4>>2]}v[b>>2]=c;return g|0}function Qn(a,b,c){a=a|0;b=b|0;c=c|0;a:{if(a){if(b>>>0<=127){break a}b:{if(!v[v[282445]>>2]){if((b&-128)==57216){break a}break b}if(b>>>0<=2047){t[a+1|0]=b&63|128;t[a|0]=b>>>6|192;return 2}if(!((b&-8192)!=57344&b>>>0>=55296)){t[a+2|0]=b&63|128;t[a|0]=b>>>12|224;t[a+1|0]=b>>>6&63|128;return 3}if(b-65536>>>0<=1048575){t[a+3|0]=b&63|128;t[a|0]=b>>>18|240;t[a+2|0]=b>>>6&63|128;t[a+1|0]=b>>>12&63|128;return 4}}v[299402]=25;a=-1}else{a=1}return a|0}t[a|0]=b;return 1}function v$a(a,b){a=a|0;b=b|0;var c=0,d=0;a:{if(b>>>0>65535){break a}c=v[a+16>>2];a=c+518|0;c=c+6|0;b:{if(b>>>0<=255){c=c+(b<<1&510)|0;if(!(w[c|0]<<8|w[c+1|0])){break b}break a}c=c+(b>>>7&33554430)|0;c=w[c|0]<<8|w[c+1|0]&248;if(!c){break a}a=a+c|0}b=(b&255)-(w[a+1|0]|w[a|0]<<8)|0;if(b>>>0>=(w[a+3|0]|w[a+2|0]<<8)>>>0){break a}c=w[a+7|0]|w[a+6|0]<<8;if(!c){break a}b=a+6+(c+(b<<1))|0;b=w[b|0]<<8|w[b+1|0];if(!b){break a}d=b+(w[a+5|0]|w[a+4|0]<<8)&65535}return d|0}function TBa(a,b){a=a|0;b=b|0;var c=0,d=0;v[b>>2]=0;a:{b:{c=A[a+64>>3];if(c>0){c=c*65536;if(!(D(c)<2147483648)){break b}d=~~c;break a}c=A[a+72>>3];if(!(c<0)){break a}c=c*65536;if(!(D(c)<2147483648)){break b}d=~~c;break a}d=-2147483648}v[b+4>>2]=d;d=b;c:{d:{c=A[a+80>>3];if(c>0){c=c*65536;if(!(D(c)<2147483648)){break d}v[b+8>>2]=~~c;return}c=A[a+88>>3];a=0;if(!(c<0)){break c}c=c*65536;if(!(D(c)<2147483648)){break d}v[b+8>>2]=~~c;return}a=-2147483648}v[d+8>>2]=a}function Ksa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=A[b>>3]*A[a+48>>3];A[a+48>>3]=g;b=v[a+36>>2];if((b|0)!=v[a+40>>2]){A[b>>3]=g;v[a+36>>2]=b+8;return}a:{c=a+32|0;e=v[c>>2];f=b-e|0;d=f>>3;b=d+1|0;if(b>>>0<536870912){c=f>>2;c=d>>>0<268435455?b>>>0>c>>>0?b:c:536870911;if(c){if(c>>>0>=536870912){break a}b=fc(c<<3)}else{b=0}d=b+(d<<3)|0;A[d>>3]=g;if((f|0)>=1){gc(b,e,f)}v[a+40>>2]=b+(c<<3);v[a+36>>2]=d+8;v[a+32>>2]=b;if(e){dc(e)}return}ue(c);L()}cf(274079);L()}function vta(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=Qb-16|0;Qb=d;a:{if(!ph(a)){v[d>>2]=0;v[d+4>>2]=0;t[d+8|0]=0;g=d;v[299999]=0;h=wg(a);e=v[299999];v[299999]=0;if((e|0)==1){break a}while(1){v[299999]=0;f=Q(4155,a|0,h|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break a}b:{if(!f){f=0;break b}v[299999]=0;f=Y(4278,a|0,b|0,c|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(!f){continue}}break}xc(g)}Qb=d+16|0;return f|0}a=P()|0;O()|0;xc(g);T(a|0);L()}function Rra(a,b){a=a|0;b=b|0;var c=0,d=0;v[a+8>>2]=1;v[a+4>>2]=0;v[a+12>>2]=0;v[a+16>>2]=0;v[a>>2]=981556;v[a+20>>2]=0;v[a+24>>2]=0;c=v[b>>2];v[a+28>>2]=c;a:{b:{c:{d=a;if(c){v[299999]=0;v[c+4>>2]=v[c+4>>2]+1;c=v[299999];v[299999]=0;if((c|0)==1){break c}b=v[b>>2]}else{b=0}v[d+32>>2]=b;v[299999]=0;Z(4407,a+40|0,a+36|0,0,1)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}ic(a+48|0,0,304);return a|0}b=P()|0;O()|0;break a}b=P()|0;O()|0;ec(a+32|0)}Ti(a);T(b|0);L()}function K8a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if(w[b+32|0]){return _d(a,v[b>>2],0,0)|0}d=v[a+428>>2];e=d+8|0;a:{b:{switch(w[b+33|0]){case 0:c=x[b+36>>1];c=c<<8|c>>>8;t[d+8|0]=c;t[d+9|0]=c>>>8;c=2;break a;case 2:c=x[b+38>>1];c=c<<8|c>>>8;t[d+8|0]=c;t[d+9|0]=c>>>8;c=x[b+40>>1];c=c<<8|c>>>8;t[d+10|0]=c;t[d+11|0]=c>>>8;c=x[b+42>>1];c=c<<8|c>>>8;t[d+12|0]=c;t[d+13|0]=c>>>8;c=6;break a;case 3:break b;default:break a}}t[e|0]=w[b+34|0];c=1}return _d(a,v[b>>2],c,e)|0}function pv(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=w[a+11|0];e=d<<24>>24<0;f=e?v[a+4>>2]:d;if(f>>>0>=c>>>0){d=w[b+11|0];g=d<<24>>24<0;d=g?v[b+4>>2]:d;if(!d){return c}h=f<<2;f=e?v[a>>2]:a;e=h+f|0;c=f+(c<<2)|0;a=e-c>>2;a:{b:{if((d|0)>(a|0)){break b}b=g?v[b>>2]:b;g=v[b>>2];while(1){h=a-d|0;a=h+1|0;if(a>>>0>>0){break b}a=sf(c,g,a);if(!a){break b}if(!od(a,b,d)){break a}c=a+4|0;a=e-c>>2;if((d|0)<=(a|0)){continue}break}}a=e}a=(a|0)==(e|0)?-1:a-f>>2}else{a=-1}return a}function Zu(a){var b=0,c=0,d=0;c=-2;a:{if(!v[a+36>>2]|(!a|!v[a+32>>2])){break a}b=v[a+28>>2];if(!b|v[b>>2]!=(a|0)|v[b+4>>2]-16180>>>0>31){break a}c=0;v[b+52>>2]=0;v[b+44>>2]=0;v[b+48>>2]=0;v[b+32>>2]=0;v[a+8>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;d=v[b+12>>2];if(d){v[a+48>>2]=d&1}v[b+60>>2]=0;v[b+64>>2]=0;v[b+36>>2]=0;v[b+24>>2]=32768;v[b+16>>2]=0;v[b+4>>2]=16180;v[b+8>>2]=0;v[b+7108>>2]=1;v[b+7112>>2]=-1;a=b+1332|0;v[b+112>>2]=a;v[b+84>>2]=a;v[b+80>>2]=a}return c}function VN(a,b){var c=0,d=0,e=0;c=Qb-16|0;Qb=c;d=v[a+12>>2];if(!(d&131072)){e=v[a+596>>2];if(e){if(d&512){dc(e)}v[a+596>>2]=0}b=b>>>0<4294966272?b+1023&-1024:0;v[a+600>>2]=b;a:{b:{if((b|0)<=0){v[a+12>>2]=v[a+12>>2]|512;break b}b=jc(b);v[a+596>>2]=b;v[a+12>>2]=v[a+12>>2]|512;if(!b){break b}b=1;if(v[a+600>>2]){break a}}b=v[a+628>>2];d=v[a>>2];v[c+4>>2]=v[a+472>>2];v[c>>2]=d;zc(b,77152,33317,c);v[a+600>>2]=0;b=0}Qb=c+16|0;return b}X(30408,31925,597,77152);L()}function Rua(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Qb-32|0;Qb=d;Ub[v[v[a>>2]+12>>2]](d+16|0,a,b);b=v[v[a>>2]+12>>2];v[299999]=0;U(b|0,d|0,a|0,c|0);a=v[299999];v[299999]=0;a:{b:{if((a|0)!=1){v[299999]=0;Q(4085,d+16|0,d|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break b}if(t[d+11|0]<=-1){dc(v[d>>2])}if(t[d+27|0]<=-1){dc(v[d+16>>2])}Qb=d+32|0;return}a=P()|0;O()|0;break a}a=P()|0;O()|0;if(t[d+11|0]>-1){break a}dc(v[d>>2])}if(t[d+27|0]<=-1){dc(v[d+16>>2])}T(a|0);L()}function N1a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=v[b>>2];d=v[a+16>>2];f=x[d+2>>1];g=f+(x[d+6>>1]<<8)|0;a:{if(c>>>0>=g>>>0){break a}a=x[d>>1];j=(f-a|0)+1|0;h=x[d+4>>1];i=a+(h<<8)|0;k=v[d+12>>2];while(1){c=c+1|0;e=c>>>0>>0?i:c;c=e&255;d=c>>>0>f>>>0;e=(d&a>>>0<=c>>>0)+(e>>>8|0)&65535;d=a>>>0>c>>>0?a:d?a:c;c=(e<<8)+d|0;e=x[k+((d-a|0)+B(e-h|0,j)<<1)>>1];if((e|0)!=65535){break a}if(c>>>0>>0){continue}break}e=65535}v[b>>2]=c;return e|0}function eL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=Qb-16|0;Qb=e;v[e+12>>2]=c;if(c){if(w[a+11|0]>>>7|0){c=v[a+4>>2]}else{c=w[a+11|0]}if(w[a+11|0]>>>7|0){g=v[a>>2]}else{g=a}f=c-b|0;v[e+8>>2]=f;d=Qb-16|0;Qb=d;Qb=d+16|0;d=e+8|0;h=e+12|0;d=v[(y[d>>2]>2]?d:h)>>2];v[e+12>>2]=d;f=f-d|0;if(f){b=(b<<2)+g|0;Dl(b,b+(d<<2)|0,f);d=v[e+12>>2]}c=c-d|0;b=c;a:{if(w[a+11|0]>>>7|0){v[a+4>>2]=b;break a}t[a+11|0]=b}v[e+4>>2]=0;v[(c<<2)+g>>2]=v[e+4>>2]}Qb=e+16|0}function Pma(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Qb-16|0;Qb=d;c=v[c>>2];e=v[c+12>>2];a:{if(e){v[e+4>>2]=v[e+4>>2]+1;v[a>>2]=v[c+12>>2];break a}Dp(d,c,1);b:{c=v[d+8>>2];c:{if(c){while(1){v[299999]=0;U(4889,a|0,b|0,c+8|0);e=v[299999];v[299999]=0;if((e|0)==1){break c}if(v[a>>2]){break b}v[a>>2]=0;c=v[c>>2];if(c){continue}break}}v[a>>2]=0;v[299999]=0;Q(4336,a|0,0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break b}}a=P()|0;O()|0;Ic(d);T(a|0);L()}Ic(d)}Qb=d+16|0}function Oma(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Qb-16|0;Qb=d;c=v[c>>2];e=v[c+16>>2];a:{if(e){v[e+4>>2]=v[e+4>>2]+1;v[a>>2]=v[c+16>>2];break a}Dp(d,c,1);b:{c=v[d+8>>2];c:{if(c){while(1){v[299999]=0;U(4890,a|0,b|0,c+8|0);e=v[299999];v[299999]=0;if((e|0)==1){break c}if(v[a>>2]){break b}v[a>>2]=0;c=v[c>>2];if(c){continue}break}}v[a>>2]=0;v[299999]=0;Q(4336,a|0,0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break b}}a=P()|0;O()|0;Ic(d);T(a|0);L()}Ic(d)}Qb=d+16|0}function Nma(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Qb-16|0;Qb=d;c=v[c>>2];e=v[c+28>>2];a:{if(e){v[e+4>>2]=v[e+4>>2]+1;v[a>>2]=v[c+28>>2];break a}Dp(d,c,1);b:{c=v[d+8>>2];c:{if(c){while(1){v[299999]=0;U(4892,a|0,b|0,c+8|0);e=v[299999];v[299999]=0;if((e|0)==1){break c}if(v[a>>2]){break b}v[a>>2]=0;c=v[c>>2];if(c){continue}break}}v[a>>2]=0;v[299999]=0;Q(4336,a|0,0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break b}}a=P()|0;O()|0;Ic(d);T(a|0);L()}Ic(d)}Qb=d+16|0}function Mma(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Qb-16|0;Qb=d;c=v[c>>2];e=v[c+32>>2];a:{if(e){v[e+4>>2]=v[e+4>>2]+1;v[a>>2]=v[c+32>>2];break a}Dp(d,c,1);b:{c=v[d+8>>2];c:{if(c){while(1){v[299999]=0;U(4893,a|0,b|0,c+8|0);e=v[299999];v[299999]=0;if((e|0)==1){break c}if(v[a>>2]){break b}v[a>>2]=0;c=v[c>>2];if(c){continue}break}}v[a>>2]=0;v[299999]=0;Q(4336,a|0,0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break b}}a=P()|0;O()|0;Ic(d);T(a|0);L()}Ic(d)}Qb=d+16|0}function Hu(a){var b=0;if(a){b=v[a>>2];if(b){Ub[v[259708]](b)}v[a>>2]=0;b=v[a+12>>2];if(b){Ub[v[259708]](b)}v[a+12>>2]=0;b=v[a+16>>2];if(b){Ub[v[259708]](b)}v[a+16>>2]=0;b=v[a+24>>2];if(b){Ub[v[259708]](b)}v[a+24>>2]=0;b=v[a+32>>2];if(b){Ub[v[259708]](b)}v[a+32>>2]=0;b=v[a+4>>2];if(b){Ub[v[259708]](b)}v[a+4>>2]=0;b=v[a+8>>2];if(b){Ub[v[259708]](b)}v[a+8>>2]=0;b=v[a+28>>2];if(b){Ub[v[259708]](b)}v[a+28>>2]=0;b=v[a+40>>2];if(b){Ub[v[259708]](b)}v[a+40>>2]=0}}function vW(a,b){var c=0,d=0,e=0,f=0,g=0;e=a;a=w[b|0];a:{if(!a){break a}while(1){d=c;b:{while(1){c:{b=b+1|0;d:{e:{f:{if(a<<24>>24<0){break f}g=1;c=0;f=w[(a&255)+845776|0];switch(f|0){case 2:break c;case 1:break e;case 0:break f;default:break b}}c=w[b|0];break d}if(d&255){break c}g=0;d=w[b|0];c=d<<24>>24;if((c|0)<0|(w[d+845776|0]-1&255)>>>0>1){break c}}d=0;a=c;if(a&255){continue}break a}break}f=a;c=g}t[e|0]=f;e=e+1|0;a=w[b|0];if(a){continue}break}}t[e|0]=0}function sna(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Qb-16|0;Qb=d;v[d+8>>2]=0;Wc(d+8|0,a);v[299999]=0;b=Y(4604,v[d+8>>2],b|0,c|0)|0;a=v[299999];v[299999]=0;a:{if((a|0)!=1){a=v[d+8>>2];v[d+8>>2]=0;b:{if(!a){break b}v[299999]=0;c=v[a+4>>2]-1|0;v[a+4>>2]=c;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(c){break b}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Qb=d+16|0;return b|0}a=P()|0;O()|0;ec(d+8|0);T(a|0);L()}W(0)|0;O()|0;lc();L()}function i_(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;f=Qb-16|0;Qb=f;v[f+12>>2]=0;e=v[d>>2];if(e){if(e){Ub[v[c+8>>2]](c,e)}v[d>>2]=0}a:{if(!b){e=0;break a}b:{e=b-1|0;if(w[e+a|0]){break b}b=e;if(e){break b}e=0;break a}e=0;c:{while(1){h=w[a+e|0];if(h>>>0<32){e=0;break a}if(h<<24>>24>=0){e=e+1|0;if((e|0)==(b|0)){break c}continue}break}e=0;break a}e=Fd(c,b+1|0,f+12|0);g=v[f+12>>2];if(g){break a}i=gc(e,a,b)+b|0,j=0,t[i|0]=j;g=v[f+12>>2]}v[d>>2]=e;Qb=f+16|0;return g}function fxa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=v[a+68>>2];a:{if((b|0)>=v[a+20>>2]){b=-1;if(v[a+40>>2]){break a}if(!iE(a)){break a}b=v[a+68>>2]}g=v[a+60>>2];d=v[a+72>>2];c=v[g+(d<<2)>>2]-b|0;b:{if((c|0)<=7){h=v[a+20>>2];b=8;while(1){f=(b|0)>(c|0)?c:b;e=(d&1?0:255>>>8-f|0)|e<>2];if((c|0)>=(h|0)){e=e<>2]-c|0}if((b|0)>0){continue}break}break b}e=d&1?0:255}b=v[a+36>>2]^e}return b|0}function fP(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Qb-16|0;Qb=d;c=v[c>>2];e=v[c+20>>2];a:{if(e){v[e+4>>2]=v[e+4>>2]+1;v[a>>2]=v[c+20>>2];break a}Dp(d,c,1);b:{c=v[d+8>>2];c:{if(c){while(1){v[299999]=0;U(4891,a|0,b|0,c+8|0);e=v[299999];v[299999]=0;if((e|0)==1){break c}if(v[a>>2]){break b}v[a>>2]=0;c=v[c>>2];if(c){continue}break}}v[a>>2]=0;v[299999]=0;Q(4336,a|0,0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break b}}a=P()|0;O()|0;Ic(d);T(a|0);L()}Ic(d)}Qb=d+16|0}function PD(a,b,c){var d=0,e=0,f=0,g=0;d=v[b>>2];a:{if((d|0)>=v[c>>2]){break a}while(1){b:{e=v[(d<<2)+a>>2];d=d+1|0;v[b>>2]=d;if((e|0)!=32){break b}if(v[c>>2]>(d|0)){continue}break a}break}c=e-48|0;c:{if(c>>>0<10){break c}f=e-45|0;if(1<>>0<=24:0){break c}if((e|0)!=101){break a}}f=(e|0)==45;e=f?0:c;c=v[(d<<2)+a>>2]-48|0;if(c>>>0<=9){while(1){e=B(e,10)+c|0;d=d+1|0;c=v[(d<<2)+a>>2]-48|0;if(c>>>0<10){continue}break}v[b>>2]=d}g=f?0-e|0:e}return g}function zt(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=995608;c=v[a+12>>2];if(c){b=v[c+24>>2];if(b){while(1){d=v[b>>2];dc(b);v[c+24>>2]=d;b=d;if(b){continue}break}}b=v[c>>2];if(b){dc(b)}dc(c)}c=v[a+16>>2];if(c){b=v[c+24>>2];if(b){while(1){d=v[b>>2];dc(b);v[c+24>>2]=d;b=d;if(b){continue}break}}b=v[c>>2];if(b){dc(b)}dc(c)}c=v[a+20>>2];if(c){b=v[c+24>>2];if(b){while(1){d=v[b>>2];dc(b);v[c+24>>2]=d;b=d;if(b){continue}break}}b=v[c>>2];if(b){dc(b)}dc(c)}Qc(a);return a|0}function zla(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Qb-16|0;Qb=c;v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=0;v[c+4>>2]=0;v[c>>2]=982500;v[c+4>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;e=c;v[299999]=0;$(5001,a|0,b|0,c|0,0);a=v[299999];v[299999]=0;if((a|0)!=1){a:{a=v[c+8>>2];if(a){while(1){f=v[a+8>>2];d=v[v[f>>2]+32>>2];v[299999]=0;V(d|0,f|0,b|0);d=v[299999];v[299999]=0;if((d|0)==1){break a}a=v[a>>2];if(a){continue}break}}Ic(e);Qb=c+16|0;return}}a=P()|0;O()|0;Ic(e);T(a|0);L()}function xla(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Qb-16|0;Qb=c;v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=0;v[c+4>>2]=0;v[c>>2]=982500;v[c+4>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;e=c;v[299999]=0;$(5001,a|0,b|0,c|0,0);a=v[299999];v[299999]=0;if((a|0)!=1){a:{a=v[c+8>>2];if(a){while(1){f=v[a+8>>2];d=v[v[f>>2]+36>>2];v[299999]=0;V(d|0,f|0,b|0);d=v[299999];v[299999]=0;if((d|0)==1){break a}a=v[a>>2];if(a){continue}break}}Ic(e);Qb=c+16|0;return}}a=P()|0;O()|0;Ic(e);T(a|0);L()}function cG(){var a=0,b=0,c=0;c=Qb-32|0;Qb=c;a=Ub[v[259704]](36)|0;a:{if(!a){v[c>>2]=239852;oc(0,0,0,0,0,29,2,3,239852,0,0,0,350051,c);break a}v[a+20>>2]=0;v[a+4>>2]=0;v[a+28>>2]=0;v[a+32>>2]=0;b=v[259705];v[a+8>>2]=b;v[a+24>>2]=b;v[a+12>>2]=v[259706];b=Ub[v[259707]](b)|0;v[a>>2]=b;if(!b){v[c+16>>2]=239852;b=0;oc(0,0,0,0,0,29,2,3,239852,0,0,0,350051,c+16|0);if(!v[a+32>>2]){v[a+32>>2]=2}Ub[v[259708]](a);break a}t[b|0]=0;v[a+16>>2]=0;b=a}Qb=c+32|0;return b}function Tla(a){a=a|0;var b=0,c=0;v[a>>2]=984460;v[a+4>>2]=0;v[299999]=0;c=a+8|0;v[c+20>>2]=-1;v[c+12>>2]=-1;v[c+16>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;v[c>>2]=984496;b=v[299999];v[299999]=0;a:{b:{if((b|0)!=1){v[a+32>>2]=0;v[a+36>>2]=0;v[299999]=0;b=a+40|0;v[b+20>>2]=-1;v[b+12>>2]=-1;v[b+16>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;v[b>>2]=983280;b=v[299999];v[299999]=0;if((b|0)==1){break b}v[a+64>>2]=0;return a|0}b=P()|0;O()|0;break a}b=P()|0;O()|0;fd(c)}Qc(a);T(b|0);L()}function ET(a,b,c){var d=0,e=0,f=0,g=0;d=Qb-80|0;Qb=d;a:{b:{switch(c|0){case 0:_c(v[a+40>>2],355412);break a;case 1:a=v[a+40>>2];A[d>>3]=A[b>>3];Jc(a,355401,d);break a;case 3:a=v[a+40>>2];e=A[b>>3];f=A[b+8>>3];A[d+32>>3]=A[b+16>>3];A[d+24>>3]=f;A[d+16>>3]=e;Jc(a,355373,d+16|0);break a;case 4:break b;default:break a}}a=v[a+40>>2];e=A[b>>3];f=A[b+8>>3];g=A[b+16>>3];A[d+72>>3]=A[b+24>>3];A[d- -64>>3]=g;A[d+56>>3]=f;A[d+48>>3]=e;Jc(a,355118,d+48|0)}Qb=d+80|0}function wt(a){a=a|0;var b=0,c=0,d=0,e=0;b=Qb-32|0;Qb=b;if(w[a+18|0]<=24){e=a+17|0;while(1){a:{c=v[a+12>>2];if(Ub[v[v[c>>2]+8>>2]](c,e,1)|0){c=w[e|0];break a}c=255;t[a+17|0]=255;d=w[a+19|0]-1|0;t[a+19|0]=d;if(d&255){break a}a=vc(b+8|0,v[282394],242271,768,342418,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)==1){b=P()|0;O()|0;qc(a);T(b|0)}L()}d=w[a+18|0]+8|0;t[a+18|0]=d;v[a+36>>2]=v[a+36>>2]<<8|c;if((d&255)>>>0<25){continue}break}}Qb=b+32|0}function t6a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Qb-48|0;Qb=c;e=x[a+26324>>1];f=x[a+26326>>1];d=B(B(e,f),3);v[a+26080>>2]=d;d=jc(d);if(!d){b=v[a+190640>>2];a:{if(b){d=v[a+25208>>2];v[c+20>>2]=30775;v[c+16>>2]=d;zd(b,4338,c+16|0);break a}b=v[a+25208>>2];v[c+4>>2]=30775;v[c>>2]=b;wc(v[252391],4338,c)}sd(a+190484|0,1);L()}v[c+36>>2]=f;v[c+32>>2]=e;wc(b,32546,c+32|0);Ub[v[v[a>>2]>>2]](v[a+4>>2],d,1,v[a+26080>>2])|0;Rc(d,1,v[a+26080>>2],b);dc(d);Qb=c+48|0}function qJ(a){var b=0,c=0,d=0,e=0,f=0;a:{if(w[a+460|0]|!w[a+496|0]){break a}b=v[a+560>>2];d=v[a+564>>2];if(b>>>0>=d>>>0){break a}c=v[a+552>>2];e=v[a+556>>2];if(c>>>0>=e>>>0){break a}if(!(Ub[v[a+232>>2]](a,c,b,e-c|0,d-b|0)|0)){pc(a,904,0,0);return 904}t[a+502|0]=0;v[a+560>>2]=0;v[a+564>>2]=0;v[a+552>>2]=0;v[a+556>>2]=0;if(w[a+500|0]|!w[a+496|0]){break a}if(Ub[v[a+240>>2]](a,1)|0){if(!w[a+496|0]){break a}t[a+497|0]=1;return 0}f=902;pc(a,902,0,0)}return f}function oOa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=Qb-16|0;Qb=d;e=w[a+11|0];f=e<<24>>24;c=w[b+11|0];g=c<<24>>24;e=(f|0)<0?v[a+4>>2]:e;a:{if((e|0)==(((g|0)<0?v[b+4>>2]:c)|0)){c=1;if(!e){break a}if(!od((f|0)<0?v[a>>2]:a,(g|0)<0?v[b>>2]:b,e)){break a}}b:{if(!KW(a,b)){break b}v[d+12>>2]=0;v[d+8>>2]=0;c=w[a+11|0];b=c<<24>>24<0;ll(b?v[a>>2]:a,b?v[a+4>>2]:c,d+12|0,d+8|0,0);b=v[d+12>>2];a=BN(b);if(b){dc(b)}if(a){break b}c=1;break a}c=0}Qb=d+16|0;return c|0}function Uza(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=Qb-16|0;Qb=e;v[a+8>>2]=13;v[e>>2]=13;a:{if(v[c>>2]==8){d=fc(20);v[299999]=0;v[d>>2]=b;v[d+12>>2]=0;v[d+16>>2]=1;v[d+4>>2]=0;v[d+8>>2]=0;b=d;f=v[299999];v[299999]=0;if((f|0)!=1){v[a+24>>2]=1;v[a>>2]=d;Cg(b,zf(c,e));c=v[a>>2];break a}a=P()|0;O()|0;dc(d);T(a|0);L()}c=v[c+8>>2];v[a+24>>2]=0;v[a>>2]=c}v[a+4>>2]=0;if(v[c+12>>2]>=1){yc(c,0,a+8|0,0);b=v[a+16>>2];Ub[v[v[b>>2]+20>>2]](b)}Qb=e+16|0;return a|0}function Lka(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=v[b>>2];v[a+4>>2]=0;v[a>>2]=c;d=v[b+8>>2];v[a+8>>2]=d;f=v[b+12>>2];v[a+12>>2]=f;e=v[b+16>>2];v[a+16>>2]=e;g=v[b+20>>2];v[a+20>>2]=g;if((d|0)<=(f|0)){h=fc(B(v[c>>2],(f-d|0)+1|0));v[a+4>>2]=h;g=v[a+20>>2];e=v[a+16>>2]}if((e|0)<=(g|0)){c=v[a>>2];d=v[c+12>>2];Ub[d|0](Ub[v[c+4>>2]](h,e-v[a+8>>2]|0)|0,Ub[v[v[a>>2]+4>>2]](v[b+4>>2],v[a+16>>2]-v[a+8>>2]|0)|0,(v[a+20>>2]-v[a+16>>2]|0)+1|0,0)}return a|0}function Jt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=dk(b);c=v[v[a+12>>2]+((d>>>0)%y[a+8>>2]<<2)>>2];a:{if(c){while(1){if((d|0)==v[c+12>>2]){if(Sk(c+16|0,b)){break a}}c=v[c+8>>2];if(c){continue}break}}c=fc(56);v[c>>2]=0;v[c+4>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;v[c+24>>2]=0;v[c+28>>2]=0;d=c+16|0;v[d>>2]=0;v[d+4>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;b=kj(d,b);v[c+52>>2]=0;e=c,f=dk(b),v[e+12>>2]=f;gk(a,c)}return c|0}function Gs(a){var b=0,c=0,d=0,e=0,f=0;b=Qb-16|0;Qb=b;a:{if(!a){break a}d=b+12|0;c=b+8|0;e=b+4|0;if(a){if(d){v[d>>2]=v[a>>2]}if(c){v[c>>2]=v[a+4>>2]}if(e){v[e>>2]=v[a+8>>2]}}if(v[b+4>>2]==32){break a}d=a?v[a+40>>2]:0;e=a?v[a+12>>2]:-1;a=B(v[b+4>>2],v[b+12>>2]);c=(a|0)/32|0;a=a-(c<<5)|0;if(!a|v[b+8>>2]<1){break a}f=v[(0-a<<2)+214528>>2]^-1;d=d+(c<<2)|0;a=0;while(1){c=d+(B(a,e)<<2)|0;v[c>>2]=f&v[c>>2];a=a+1|0;if((a|0)>2]){continue}break}}Qb=b+16|0}function D2a(a,b){a=a|0;b=b|0;var c=0;if(v[b+72>>2]==1651078259){c=v[a>>2];v[a+20>>2]=v[b+100>>2];v[a+24>>2]=v[b+104>>2];a=a+28|0;if(t[v[b+156>>2]+4|0]&1){c=v[b+80>>2];v[a>>2]=v[b+76>>2];v[a+4>>2]=c;c=v[b+96>>2];v[a+16>>2]=v[b+92>>2];v[a+20>>2]=c;c=v[b+88>>2];v[a+8>>2]=v[b+84>>2];v[a+12>>2]=c;a=v[b+156>>2];v[a+4>>2]=v[a+4>>2]&-2;return 0}if(a){v[a>>2]=0;v[a+4>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0}a=A_(c,b+76|0,a)}else{a=18}return a|0}function zhb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Qb+-64|0;Qb=c;if(v[a+12>>2]>=1){d=v[a+16>>2];while(1){v[c+52>>2]=w[d|0];v[c+48>>2]=e;wc(b,57188,c+48|0);f=v[d+4>>2];v[c+44>>2]=v[d+8>>2];v[c+40>>2]=e;v[c+36>>2]=f;v[c+32>>2]=e;wc(b,57435,c+32|0);f=w[d+1|0];v[c+28>>2]=w[d+2|0];v[c+24>>2]=e;v[c+20>>2]=f;v[c+16>>2]=e;wc(b,57763,c+16|0);v[c+4>>2]=v[d+12>>2];v[c>>2]=e;wc(b,58217,c);d=d+16|0;e=e+1|0;if((e|0)>2]){continue}break}}Qb=c- -64|0;return 0}function nab(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,j=0;a:{if(f){if(!d){break a}a=c<<1;j=b<<1;b=0;while(1){h=x[e>>1];b:{if((h|0)==x[f>>1]){u[g>>1]=h;break b}h=w[e|0]|w[e+1|0]<<8;i=w[f|0]|w[f+1|0]<<8;h=((h<<8|h>>>8)&65535)+((B(((i<<8|i>>>8)&65535)-((h<<8|h>>>8)&65535)|0,j)+c|0)/(a|0)|0)&65535;h=h<<8|h>>>8;t[g|0]=h;t[g+1|0]=h>>>8}f=f+2|0;e=e+2|0;g=g+2|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}break a}gc(g,e,d<<1)}return 0}function mD(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;v[a+4>>2]=0;d=v[a+24>>2];v[a+24>>2]=0;c=a+16|0;Xd(c,0,4);v[a+8>>2]=b;Xd(c,b,4);Ah(c,4,0);if(d){g=v[a+8>>2];e=v[a+4>>2];while(1){b=d;f=v[a+12>>2]+(y[b+12>>2]%(g>>>0)<<2)|0;c=v[f>>2];v[b+8>>2]=c;v[b+4>>2]=c;d=v[b>>2];a:{b:{if(c){v[b>>2]=v[c>>2];v[c>>2]=b;c=v[b>>2];if(c){break b}break a}c=v[a+24>>2];v[b>>2]=c;v[a+24>>2]=b;if(!c){break a}}v[c+4>>2]=b}v[f>>2]=b;e=e+1|0;if(d){continue}break}v[a+4>>2]=e}}function aoa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;c=Qb-16|0;Qb=c;BP(c+8|0,b,d,0);b=v[c+8>>2];v[a>>2]=0;v[299999]=0;Q(4336,a|0,b|0)|0;a=v[299999];v[299999]=0;a:{if((a|0)!=1){a=v[c+8>>2];v[c+8>>2]=0;b:{if(!a){break b}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(b){break b}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Qb=c+16|0;return}a=P()|0;O()|0;ec(c+8|0);T(a|0);L()}W(0)|0;O()|0;lc();L()}function Lma(a,b){a=a|0;b=b|0;var c=0;Qm(a);c=v[a>>2];a:{b=v[b+8>>2];if(b){v[299999]=0;V(4894,b|0,c|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[v[c>>2]+20>>2];v[299999]=0;Z(b|0,c|0,0,0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[v[c>>2]+28>>2];v[299999]=0;b=S(b|0,c|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(!b){v[299999]=0;Q(4336,a|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}}return}b=P()|0;O()|0;ec(a);T(b|0);L()}function Feb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(v[a+588>>2]>=1){c=v[v[a+544>>2]+88>>2];d=v[c+1176>>2]+B(v[c+1168>>2],v[a+572>>2])|0;c=v[a+644>>2];while(1){b=w[d|0]|w[d+1|0]<<8;b=(b<<8|b>>>8)&65535;e=b<<8|b>>>8;t[c|0]=e;t[c+1|0]=e>>>8;b=b<<8|b>>>8;t[c+2|0]=b;t[c+3|0]=b>>>8;t[c+4|0]=b;t[c+5|0]=b>>>8;b=w[d+2|0]|w[d+3|0]<<8;b=(b<<8|b>>>8)&65535;b=b<<8|b>>>8;t[c+6|0]=b;t[c+7|0]=b>>>8;c=c+8|0;d=d+4|0;f=f+1|0;if((f|0)>2]){continue}break}}return 0}function s7a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if(v[c>>2]!=1934642260){pc(a,2050,0,0);return 2050}t[b+32|0]=w[c+32|0];e=v[c+36>>2];v[b+36>>2]=e;t[b+44|0]=w[c+44|0];d=v[c+48>>2];v[b+48>>2]=d;v[b+52>>2]=v[c+52>>2];a:{if(e){d=Ub[v[a+152>>2]](e)|0;v[b+40>>2]=d;if(!d){break a}gc(d,v[c+40>>2],v[b+36>>2]);d=v[b+48>>2]}if(d){e=b;d=B(B(w[b+44|0],3)+2|0,d);b=Ub[v[a+152>>2]](d)|0;v[e+52>>2]=b;if(!b){break a}gc(b,v[c+52>>2],d)}return 0}pc(a,1,0,0);return 1}function pB(a,b){var c=0,d=0,e=0,f=0;while(1){c=ri(a);if((c|0)==-1){return-1}if((c|0)==32|c-9>>>0<5){continue}break}f=1;a:{b:{c:{switch(c-43|0){case 2:d=-1;f=0;c=ri(a);if((c|0)!=-1){break b}break a;case 0:break c;default:break b}}d=-1;c=ri(a);if((c|0)==-1){break a}}d:{while(1){d=c-48|0;if(d>>>0>9){break d}e=d+B(e,10)|0;c=ri(a);if((c|0)>=0){continue}break}return-1}d=-1;if(!((c|0)==32|c-9>>>0<5)){break a}d=0;if(!b){break a}v[b>>2]=f?e:0-e|0}return d}function mKa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;c=fc(44);v[299999]=0;v[c+4>>2]=1;v[c>>2]=878672;e=c;d=v[299999];v[299999]=0;a:{b:{if((d|0)!=1){v[c+8>>2]=878944;v[c>>2]=878920;v[c+24>>2]=0;v[c+28>>2]=0;v[c+12>>2]=0;v[c+16>>2]=0;v[c+40>>2]=0;d=c+32|0;v[c+36>>2]=d;v[c+32>>2]=d;if(GV(c+8|0,b)){break b}break a}a=P()|0;O()|0;dc(c);T(a|0);L()}BV(c);b=v[c+24>>2];if(!b){break a}v[a>>2]=b;Ub[v[v[c>>2]+12>>2]](e)|0;return 1}Ub[v[v[c>>2]+4>>2]](c);return 0}function u8a(a,b){a=a|0;b=b|0;var c=0,d=0;d=v[a+428>>2];c=x[b+32>>1];c=c<<8|c>>>8;t[d+8|0]=c;t[d+9|0]=c>>>8;c=x[b+34>>1];c=c<<8|c>>>8;t[d+10|0]=c;t[d+11|0]=c>>>8;t[d+12|0]=w[b+36|0];c=v[b+40>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+13|0]=c;t[d+14|0]=c>>>8;t[d+15|0]=c>>>16;t[d+16|0]=c>>>24;c=v[b+44>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+17|0]=c;t[d+18|0]=c>>>8;t[d+19|0]=c>>>16;t[d+20|0]=c>>>24;return _d(a,v[b>>2],13,d+8|0)|0}function eqa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Qb-32|0;Qb=d;a:{e=v[b+48>>2];f=v[b+44>>2];b:{if(((e-f|0)+1|0)>(c|0)){if(!((c|0)<=(e|0)&(c|0)>=(f|0))){a=vc(d+8|0,227445,271729,632,308455,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}b=P()|0;O()|0;qc(a);T(b|0);L()}c=v[b+32>>2]+(c-v[b+36>>2]<<2)|0;b=v[c>>2];if(!b){v[a>>2]=0;break b}v[b+4>>2]=v[b+4>>2]+1;v[a>>2]=v[c>>2];break b}v[a>>2]=0;Wc(a,0)}Qb=d+32|0;return}L()}function Spa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Qb-32|0;Qb=d;a:{e=v[b+56>>2];f=v[b+52>>2];b:{if(((e-f|0)+1|0)>(c|0)){if(!((c|0)<=(e|0)&(c|0)>=(f|0))){a=vc(d+8|0,227445,271729,619,308647,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}b=P()|0;O()|0;qc(a);T(b|0);L()}c=v[b+40>>2]+(c-v[b+44>>2]<<2)|0;b=v[c>>2];if(!b){v[a>>2]=0;break b}v[b+4>>2]=v[b+4>>2]+1;v[a>>2]=v[c>>2];break b}v[a>>2]=0;Wc(a,0)}Qb=d+32|0;return}L()}function aL(a,b,c){var d=0,e=0,f=0;f=Qb-16|0;Qb=f;d=Qb-16|0;Qb=d;v[299999]=0;e=v[299999];v[299999]=0;a:{if((e|0)!=1){uC(a);Qb=d+16|0;break a}W(0)|0;O()|0;lc();L()}if(w[b+11|0]>>>7|0){d=v[b+4>>2]}else{d=w[b+11|0]}e=Bc(c);if(w[b+11|0]>>>7|0){b=v[b>>2]}v[299999]=0;$(5950,a|0,b|0,d|0,d+e|0);b=v[299999];v[299999]=0;b:{if((b|0)!=1){v[299999]=0;Y(2531,a|0,c|0,e|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break b}}b=P()|0;O()|0;Mc(a);T(b|0);L()}Qb=f+16|0}function ZA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=v[b+88>>2];if(x[b+28>>1]){c=v[b+8>>2];d=v[b+12>>2];a:{if(d){v[d+8>>2]=c;break a}v[a+688>>2]=c}v[(c?c+12|0:a+692|0)>>2]=d}c=v[e+28>>2];b:{if(c){c=c-1|0;v[e+28>>2]=c;if(c){break b}}c=v[e+1144>>2];c:{if(!c){break c}d=v[e+1148>>2];if(!d){break c}Ub[v[a+156>>2]](d,c)}c=v[e+1172>>2];d:{if(!c){break d}d=v[e+1176>>2];if(!d){break d}Ub[v[a+156>>2]](d,c)}Ub[v[a+156>>2]](e,1180)}Ub[v[a+156>>2]](b,92);return 0}function Xg(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;a:{if(w[a+11|0]>>>7|0){e=v[a+4>>2]}else{e=w[a+11|0]}if(!e|(c-b|0)<5){break a}gt(b,c);f=c-4|0;if(w[a+11|0]>>>7|0){e=v[a+4>>2]}else{e=w[a+11|0]}if(w[a+11|0]>>>7|0){a=v[a>>2]}c=a;a=e+a|0;b:{while(1){c:{e=t[c|0];if(b>>>0>=f>>>0){break c}if(!((e|0)<1|(e|0)>=127)&v[b>>2]!=t[c|0]){break b}b=b+4|0;c=((a-c|0)>1)+c|0;continue}break}if((e|0)<1|(e|0)>=127|t[c|0]>>>0>v[f>>2]-1>>>0){break a}}v[d>>2]=4}}function VDa(a,b,c){a=a|0;b=b|0;c=c|0;b=v[a+28>>2];v[b+504>>2]=0;v[b+508>>2]=1072693248;v[b+600>>2]=0;v[b+604>>2]=0;v[b+512>>2]=0;v[b+516>>2]=0;v[b+520>>2]=0;v[b+524>>2]=0;v[b+536>>2]=0;v[b+540>>2]=0;v[b+528>>2]=0;v[b+532>>2]=1072693248;v[b+544>>2]=0;v[b+548>>2]=0;v[b+608>>2]=0;v[b+612>>2]=0;v[b+616>>2]=0;v[b+620>>2]=0;v[b+624>>2]=0;v[b+628>>2]=0;c=v[a+8>>2];Ub[v[v[c>>2]+160>>2]](c,b);b=v[a+8>>2];Ub[v[v[b>>2]+184>>2]](b,v[a+28>>2]);v[a+32>>2]=1}function dda(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;if(!((c|0)==1|(c|0)>256)){b=Qb-1040|0;Qb=b;h=v[299402];a:{b:{c:{e=b+16|0;d=e;f=ck(c);g=Bc(f);d:{if(g>>>0>=1024){gc(d,f,1023);t[d+1023|0]=0;d=68;break d}gc(d,f,g+1|0);d=0}switch(d+1|0){case 1:break a;case 0:break c;default:break b}}d=v[299402]}e=358460;if((d|0)==28){break a}ia();L()}if(!w[e|0]){v[b>>2]=c;e=b+16|0;Ai(e,1024,292326,b)}v[299402]=h;nm(a,e);Qb=b+1040|0;return}nm(a,237947)}function Z_(a){var b=0,c=0,d=0;a:{if(v[a+76>>2]|v[a+304>>2]|(v[a+40>>2]!=3|v[a+36>>2]!=3)){break a}if(v[a+44>>2]!=2|v[a+120>>2]!=3){break a}b=v[a+216>>2];if(v[b+8>>2]!=2|v[b+96>>2]!=1|(v[b+184>>2]!=1|v[b+12>>2]>2)){break a}if(v[b+100>>2]!=1|v[b+188>>2]!=1){break a}c=v[b+36>>2];if((c|0)!=v[a+320>>2]|(c|0)!=v[b+124>>2]|(c|0)!=v[b+212>>2]){break a}c=v[a+324>>2];a=v[b+40>>2];if((c|0)!=(a|0)|(a|0)!=v[b+128>>2]){break a}d=(a|0)==v[b+216>>2]}return d}function Veb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=v[a+660>>2];f=v[a+656>>2];c=d-f|0;a:{if((c|0)<1){break a}b=w[a+1053|0]|(w[a+1057|0]<<16|w[a+1055|0]<<8)|-16777216;a=v[a+644>>2];e=d-f&7;if(e){while(1){v[a>>2]=b;c=c-1|0;a=a+4|0;e=e-1|0;if(e){continue}break}}if(d+(f^-1)>>>0<7){break a}while(1){v[a+28>>2]=b;v[a+24>>2]=b;v[a+20>>2]=b;v[a+16>>2]=b;v[a+12>>2]=b;v[a+8>>2]=b;v[a+4>>2]=b;v[a>>2]=b;a=a+32|0;d=(c|0)>8;c=c-8|0;if(d){continue}break}}return 0}function $ia(a,b){a=a|0;b=b|0;var c=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a>>2]=990196;v[a+4>>2]=0;v[299999]=0;U(5143,a|0,b|0,0);b=v[299999];v[299999]=0;a:{b:{if((b|0)==1){b=W(0)|0;O()|0;ea(b|0)|0;b=v[a+20>>2];if(b){dc(b)}v[a+16>>2]=0;v[a+20>>2]=0;v[299999]=0;ba(4483);b=v[299999];v[299999]=0;if((b|0)!=1){break a}b=P()|0;O()|0;v[299999]=0;ba(4230);c=v[299999];v[299999]=0;if((c|0)==1){break b}Qc(a);T(b|0);L()}return a|0}W(0)|0;O()|0;lc()}L()}function wn(a,b,c,d){var e=0,f=0,g=0;a:{if(!v[a+4>>2]|!v[a+44>>2]|((b|0)<0|(c|0)<0)){break a}if(v[a+16>>2]<=(b|0)|v[a+20>>2]<=(c|0)){break a}e=x[a+26>>1];if((e|0)==8){t[v[a+56>>2]+(B(v[a+52>>2],c)+b|0)|0]=d;return}a=(v[a+56>>2]+B(v[a+52>>2],c)|0)+(B(b,e)>>3)|0;b:{switch(e-1|0){case 3:c=a;e=w[a|0];a=B(b&1,252)+4&252;t[c|0]=e&(15<>2];a:{if(w[e+24|0]==2){f=11;e=Qj(Eg(v[v[a+96>>2]+4>>2],228552),233592,0);if(!e){break a}e=v[e>>2];if(!e){break a}return Ub[e|0](a,b,c,d)|0}a=v[e+3084>>2];if(!a){return 11}b=x[v[e+1188>>2]+(b<<1)>>1];if((b|0)==65535){break a}b:{if(b>>>0>=391){a=b-391|0;if(a>>>0>=y[e+1356>>2]){break a}a=v[v[e+1360>>2]+(a<<2)>>2];break b}a=Ub[v[a+20>>2]](b)|0}if(!a){break a}PH(c,a,d)}return f|0}function noa(a){a=a|0;var b=0,c=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=983496;v[a+4>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;v[a+32>>2]=0;v[299999]=0;c=Q(4475,a+8|0,983528)|0;b=v[299999];v[299999]=0;a:{b:{if((b|0)!=1){v[299999]=0;b=a+36|0;v[b+20>>2]=-1;v[b+12>>2]=-1;v[b+16>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;v[b>>2]=982876;b=v[299999];v[299999]=0;if((b|0)==1){break b}return a|0}b=P()|0;O()|0;break a}b=P()|0;O()|0;id(c)}Qc(a);T(b|0);L()}function aga(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{a=v[a+12>>2];if(!a){break a}e=v[a+20>>2];if((e|0)>=1){h=v[a>>2];while(1){a=0;while(1){d=0;f=b;b=((c<<4)+h|0)+(a>>>2&1073741820)|0;g=v[b>>2];if(g){d=v[((a&14)<<2)+g>>2]}f=f+((d|0)!=0)|0;d=v[b>>2];if(d){b=v[(d+((a&14)<<2)|0)+4>>2]}else{b=0}b=f+((b|0)!=0)|0;a=a+2|0;if((a|0)!=64){continue}break}c=c+1|0;if((e|0)!=(c|0)){continue}break}c=B(b,100)}if(!e){break a}return(c|0)/(e<<6)|0}return c|0}function KT(a,b){var c=0,d=0,e=0;c=w[b|0];if(c){d=b;while(1){e=B(e,17)+(c&255)|0;c=w[d+1|0];d=d+1|0;if(c){continue}break}}d=(e>>>0)%y[a+4>>2]|0;c=v[v[a+12>>2]+(d<<2)>>2];a:{if(!c){break a}while(1){if(Ad(v[c>>2],b)){c=v[c+8>>2];if(c){continue}break a}break}d=v[a+12>>2]+(d<<2)|0;while(1){b=d;e=v[b>>2];d=e+8|0;if((c|0)!=(e|0)){continue}break}v[b>>2]=v[c+8>>2];b:{if(!v[a>>2]){break b}b=v[c>>2];if(!b){break b}dc(Dc(b))}dc(c);v[a+8>>2]=v[a+8>>2]-1}}function Fi(a,b){var c=0;if(b){c=v[b+16>>2];v[a+12>>2]=v[b+12>>2];v[a+16>>2]=c;c=v[b+48>>2];v[a+44>>2]=v[b+44>>2];v[a+48>>2]=c;c=v[b+40>>2];v[a+36>>2]=v[b+36>>2];v[a+40>>2]=c;c=v[b+32>>2];v[a+28>>2]=v[b+28>>2];v[a+32>>2]=c;c=v[b+24>>2];v[a+20>>2]=v[b+20>>2];v[a+24>>2]=c;gc(a+52|0,b+52|0,908);v[a+4>>2]=v[b+4>>2];v[a+8>>2]=v[b+8>>2];v[a+960>>2]=v[b+960>>2];v[a+964>>2]=v[b+964>>2];v[a+968>>2]=v[b+968>>2];c=v[b+972>>2];v[a+60>>2]=b;v[a+972>>2]=c}}function DC(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;i=-1;f=d&2147483647;k=f;g=(f|0)==2147418112;h=c;a:{if(g&!c?a|b:g&(c|0)!=0|f>>>0>2147418112){break a}f=e&2147483647;g=f;j=(f|0)==2147418112;if(j?0:j&0|f>>>0>2147418112){break a}if(!(a|h|(g|k|b))){return 0}h=d&e;if((h|0)>0|(h|0)>=0){if(!c&(d|0)==(e|0)?0:(d|0)<(e|0)){break a}return(a|c)!=0|(d^e|b)!=0}if(!c&(d|0)==(e|0)?a|b:(c|0)!=0&(d|0)>=(e|0)|(d|0)>(e|0)){break a}i=(a|c)!=0|(d^e|b)!=0}return i}function pu(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;v[c>>2]=b;e=We(a,b,d);v[c+4>>2]=e;if(!e){v[c+8>>2]=0;a=b+2|0;v[c+16>>2]=a;v[c+12>>2]=a;return}f=mf(a,b+2|0,d);v[c+8>>2]=f;i=c;h=b+3|0;e=h;if(f-1>>>0>=4){v[d>>2]=0;f=v[c+8>>2]}b=v[c+4>>2];e=e+B(b+1|0,f)|0;g=e-1|0;v[i+12>>2]=g;if(!((e|0)>=1&v[a+12>>2]>=(e|0))){v[d>>2]=0;f=v[c+8>>2];g=v[c+12>>2];b=v[c+4>>2]}b=Zl(a,B(b,f)+h|0,f,d)+g|0;v[c+16>>2]=b;if(!((b|0)<=v[a+12>>2]&(b|0)>=v[c+12>>2])){v[d>>2]=0}}function ecb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=v[a+2308>>2];if(b){f=v[a+2300>>2];e=v[a+2312>>2];c=v[a+2316>>2];while(1){d=w[e|0];if(d>>>0>2]){b=B(d,3)+f|0;d=Ub[v[a+2296>>2]](w[b+68|0])|0;g=Ub[v[a+2296>>2]](w[b+69|0])|0;b=Ub[v[a+2296>>2]](w[b+70|0])|0;t[c+3|0]=(g|0)!=0;t[c+2|0]=g>>>8;t[c+1|0]=(d|0)!=0;t[c|0]=d>>>8;t[c+5|0]=(b|0)!=0;t[c+4|0]=b>>>8;b=v[a+2308>>2]}c=c+6|0;e=e+1|0;h=h+1|0;if(h>>>0>>0){continue}break}}return 0}function l_a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;a:{if((d|0)<1){break a}j=v[a+112>>2];if(!j){break a}o=v[v[a+480>>2]+24>>2];while(1){e=g<<2;h=v[e+c>>2];f=v[b+e>>2];e=j;while(1){k=w[f|0]>>>3|0;l=w[f+1|0]>>>2|0;m=w[f+2|0]>>>3|0;n=(v[(k<<2)+o>>2]+(l<<6)|0)+(m<<1)|0;i=x[n>>1];if(!i){iZ(a,k,l,m);i=w[n|0]}f=f+3|0;t[h|0]=i-1;h=h+1|0;e=e-1|0;if(e){continue}break}g=g+1|0;if((g|0)!=(d|0)){continue}break}}}function Eua(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Qb-32|0;Qb=d;e=v[a+4>>2];Gp(d+16|0,a,b);v[299999]=0;U(4091,d|0,a|0,c|0);a=v[299999];v[299999]=0;a:{b:{if((a|0)!=1){v[299999]=0;U(4092,e|0,d+16|0,d|0);a=v[299999];v[299999]=0;if((a|0)==1){break b}if(t[d+11|0]<=-1){dc(v[d>>2])}if(t[d+27|0]<=-1){dc(v[d+16>>2])}Qb=d+32|0;return}a=P()|0;O()|0;break a}a=P()|0;O()|0;if(t[d+11|0]>-1){break a}dc(v[d>>2])}if(t[d+27|0]<=-1){dc(v[d+16>>2])}T(a|0);L()}function hgb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=Qb-16|0;Qb=d;c=v[a+20>>2];a:{if(!c){c=0;break a}e=v[a+28>>2];if(e){zg(c,e,1);c=v[a+28>>2];v[a+28>>2]=0;v[a+24>>2]=c+v[a+24>>2];c=v[a+20>>2]}v[d+12>>2]=0;qg(d+12|0,1,(b|0)<4?b:4,c);b:{c:{switch(b-2|0){default:c=v[d+12>>2];break b;case 0:c=v[d+12>>2];c=(c<<8|c>>>8)&65535;break b;case 2:break c}}c=v[d+12>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24)}v[a+24>>2]=v[a+24>>2]+b}Qb=d+16|0;return c|0}function Mya(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;v[a+40>>2]=0;v[a+44>>2]=0;v[a+12>>2]=e;v[a+24>>2]=0;v[a+28>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;a:{b:{if(Ub[v[v[b>>2]+96>>2]](b)|0){f=Ub[v[v[b>>2]+96>>2]](b)|0;e=fc(8);v[299999]=0;Q(3064,e|0,f|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break a}v[a>>2]=e;break b}v[a>>2]=0}v[a+8>>2]=b;g=a,h=YR(a,c,d),v[g+40>>2]=h;return a|0}a=P()|0;O()|0;dc(e);T(a|0);L()}function IG(a,b){a=a|0;b=b|0;var c=0;c=v[a+88>>2];if(c){v[c+128>>2]=b}c=v[a+92>>2];if(c){v[c+128>>2]=b}c=v[a+96>>2];if(c){v[c+128>>2]=b}c=v[a+100>>2];if(c){v[c+128>>2]=b}c=v[a+120>>2];if(c){v[c+276>>2]=b}c=v[a+136>>2];if(c){v[c+276>>2]=b}c=v[a+124>>2];if(c){v[c+276>>2]=b}c=v[a+140>>2];if(c){v[c+276>>2]=b}c=v[a+128>>2];if(c){v[c+276>>2]=b}c=v[a+144>>2];if(c){v[c+276>>2]=b}c=v[a+132>>2];if(c){v[c+276>>2]=b}a=v[a+148>>2];if(a){v[a+276>>2]=b}}function r7a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;if(v[c>>2]!=1749635924){pc(a,2050,0,0);return 2050}d=v[c+32>>2];v[b+32>>2]=d;if(!d){return 0}a=b+36|0;b=c+36|0;f=d&3;c=0;if(d-1>>>0>=3){g=d&-4;while(1){d=c<<1;u[d+a>>1]=x[b+d>>1];e=d|2;u[e+a>>1]=x[b+e>>1];e=d|4;u[e+a>>1]=x[b+e>>1];d=d|6;u[d+a>>1]=x[b+d>>1];c=c+4|0;g=g-4|0;if(g){continue}break}}if(f){while(1){d=c<<1;u[d+a>>1]=x[b+d>>1];c=c+1|0;f=f-1|0;if(f){continue}break}}return 0}function o5(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;c=Qb-80|0;Qb=c;e=v[a+584>>2];if(e){d=v[a+48>>2];if(d&4){v[c+64>>2]=v[e+916>>2];wc(b,34188,c- -64|0);d=v[a+48>>2]}if(d&8){v[c+48>>2]=v[e+936>>2];wc(b,35408,c+48|0);d=v[a+48>>2]}if(d&16){v[c+32>>2]=v[e+940>>2];wc(b,36989,c+32|0);d=v[a+48>>2]}if(d&32){v[c+16>>2]=v[e+944>>2];wc(b,38150,c+16|0);d=v[a+48>>2]}if(d&64){v[c>>2]=v[e+948>>2];wc(b,39154,c)}Qb=c+80|0;return}X(29012,7121,1817,88060);L()}function n3a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=v[a+8>>2];a:{if(!c){break a}b:{switch(w[a|0]){case 0:e=w[b+c|0];break a;case 3:break b;default:break a}}if(y[a+20>>2]>b-v[a+16>>2]>>>0){e=w[a+24|0];break a}d=c+2|0;g=c+v[a+12>>2]|0;c=w[c+1|0]|w[c|0]<<8;while(1){if(b>>>0>>0){break a}f=w[d+2|0]|w[d+1|0]<<8;if(f>>>0>b>>>0){e=w[d|0];t[a+24|0]=e;v[a+20>>2]=f-c;v[a+16>>2]=c;break a}c=f;d=d+3|0;if(g>>>0>d>>>0){continue}break}}return e|0}function QZ(a,b,c,d){var e=0,f=0,g=0,h=0;if(a){f=v[(B(d,204)+c|0)+200>>2];while(1){d=v[b+24>>2];if(d){h=b;c=v[b+16>>2];e=v[d+8>>2];a:{if(c&512){break a}e=v[d+12>>2]+v[d+8>>2]|0;if(c&1024){break a}c=v[b+28>>2]-v[d>>2]|0;if((c|0)<=0){e=v[d+8>>2]+Ac(c,f)|0;break a}e=v[d+12>>2];g=v[d+8>>2];d=v[d+4>>2];if((d|0)<=(c|0)){e=Ac(c-d|0,f)+(e+g|0)|0;break a}e=jd(c,e,d)+g|0}v[h+36>>2]=e;v[b+16>>2]=v[b+16>>2]|32}b=b+40|0;a=a-1|0;if(a){continue}break}}}function bDa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;b=v[a+28>>2];c=v[b+596>>2];d=v[c+28>>2];if(!(v[c>>2]?0:(d|0)<=0)){a:{if(!v[a+100>>2]|(d|0)<1){break a}b=v[b+116>>2];if((Ub[v[v[b>>2]+12>>2]](b)|0)==10){Op(a,1);break a}b=v[a+8>>2];Ub[v[v[b>>2]+208>>2]](b,v[a+28>>2])}b=v[a+28>>2];c=v[b+596>>2];if(!(!v[a+36>>2]|(v[c>>2]?0:v[c+28>>2]<=0))){Vi(b);b=v[a+8>>2];Ub[v[v[b>>2]+(v[a+36>>2]==1?220:224)>>2]](b,v[a+28>>2]);b=v[a+28>>2]}v[a+36>>2]=0;vf(b)}}function MDa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;b=v[a+28>>2];c=v[b+596>>2];d=v[c+28>>2];if(!(v[c>>2]?0:(d|0)<=0)){a:{if(!v[a+100>>2]|(d|0)<1){break a}b=v[b+116>>2];if((Ub[v[v[b>>2]+12>>2]](b)|0)==10){Op(a,0);break a}b=v[a+8>>2];Ub[v[v[b>>2]+204>>2]](b,v[a+28>>2])}b=v[a+28>>2];c=v[b+596>>2];if(!(!v[a+36>>2]|(v[c>>2]?0:v[c+28>>2]<=0))){Vi(b);b=v[a+8>>2];Ub[v[v[b>>2]+(v[a+36>>2]==1?220:224)>>2]](b,v[a+28>>2]);b=v[a+28>>2]}v[a+36>>2]=0;vf(b)}}function JC(a,b){var c=0,d=0;a:{d=b&255;if(d){if(a&3){while(1){c=w[a|0];if(!c|(c|0)==(b&255)){break a}a=a+1|0;if(a&3){continue}break}}c=v[a>>2];b:{if((c^-1)&c-16843009&-2139062144){break b}d=B(d,16843009);while(1){c=c^d;if((c^-1)&c-16843009&-2139062144){break b}c=v[a+4>>2];a=a+4|0;if(!(c-16843009&(c^-1)&-2139062144)){continue}break}}while(1){c=a;d=w[c|0];if(d){a=c+1|0;if((d|0)!=(b&255)){continue}}break}return c}return Bc(a)+a|0}return a}function FV(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Qb-16|0;Qb=c;a:{b=v[v[b+4>>2]+4>>2];b:{if(!b){t[a|0]=0;t[a+11|0]=0;break b}e=Eu(b);if(!e){t[a|0]=0;t[a+11|0]=0;break b}d=Bc(e);if(d>>>0>=4294967280){break a}c:{d:{if(d>>>0>=11){f=d+16&-16;b=fc(f);v[c+8>>2]=f|-2147483648;v[c>>2]=b;v[c+4>>2]=d;break d}t[c+11|0]=d;b=c;if(!d){break c}}gc(b,e,d)}t[b+d|0]=0;v[a+8>>2]=v[c+8>>2];b=v[c+4>>2];v[a>>2]=v[c>>2];v[a+4>>2]=b}Qb=c+16|0;return}$d(c);L()}function Al(a,b,c,d,e){var f=0,g=0;if(!(!b|(a|0)<0|(!c|!e))){g=v[282725];a:{if((g|0)>31){break a}f=B(g,28);v[f+1130912>>2]=a;a=f+1130916|0;b=ep(b);v[a>>2]=b;if(!b){break a}f=f+1130920|0;b=ep(c);v[f>>2]=b;if(!b){dc(v[a>>2]);return}b=B(g,28);c=ep(d);v[b+1130924>>2]=c;if(!c){dc(v[a>>2]);dc(v[f>>2]);return}v[b+1130936>>2]=v[e+8>>2];a=b+1130928|0;b=v[e+4>>2];v[a>>2]=v[e>>2];v[a+4>>2]=b;v[282725]=v[282725]+1}return}X(1315,7190,540,188147);L()}function et(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;f=Qb-16|0;Qb=f;g=a;d=w[a+11|0]>>>7|0?(v[a+8>>2]&2147483647)-1|0:1;h=d;if(w[a+11|0]>>>7|0){e=v[a+4>>2]}else{e=w[a+11|0]}a:{if(h-e>>>0>=c>>>0){if(!c){break a}if(w[a+11|0]>>>7|0){d=v[g>>2]}else{d=g}ak(d+(e<<2)|0,b,c);b=c+e|0;c=b;b:{if(w[g+11|0]>>>7|0){v[a+4>>2]=c;break b}t[a+11|0]=c}v[f+12>>2]=0;v[d+(b<<2)>>2]=v[f+12>>2];break a}Sq(a,d,(c+e|0)-d|0,e,e,0,c,b)}Qb=f+16|0;return a|0}function Zra(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;v[a+20>>2]=0;v[a+24>>2]=-1;v[a+12>>2]=0;v[a+16>>2]=-1;v[a>>2]=981392;v[a+4>>2]=0;v[a+8>>2]=0;v[a+28>>2]=v[b+28>>2];v[a+32>>2]=v[b+32>>2];v[a+36>>2]=v[b+36>>2];v[a+40>>2]=v[b+40>>2];v[a+44>>2]=v[b+44>>2];v[a+48>>2]=v[b+48>>2];Gx(a,v[b+20>>2],v[b+24>>2]);c=v[a+12>>2];d=v[a+20>>2]-c|0;e=v[a+24>>2]-c|0;c=v[b+12>>2];Ub[v[b+44>>2]](v[a+8>>2],d,e,v[b+8>>2],v[b+20>>2]-c|0,v[b+24>>2]-c|0);return a|0}function DH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=v[a+4>>2];if(c>>>0>=999999985){d=v[a>>2];v[d+20>>2]=56;v[d+24>>2]=3;Ub[v[v[a>>2]>>2]](a)}d=c;c=c&7;d=d+(c?8-c|0:0)|0;if(b>>>0>=2){c=v[a>>2];v[c+24>>2]=b;v[c+20>>2]=15;Ub[v[v[a>>2]>>2]](a)}f=d+16|0;c=jc(f);if(!c){g=v[a>>2];v[g+20>>2]=56;v[g+24>>2]=4;Ub[v[v[a>>2]>>2]](a)}v[e+76>>2]=v[e+76>>2]+f;a=(b<<2)+e|0;b=v[a+60>>2];v[c+8>>2]=0;v[c+4>>2]=d;v[c>>2]=b;v[a+60>>2]=c;return c+16|0}function A8(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;while(1){a:{if((c|0)==(d|0)|e>>>0<=h>>>0){break a}g=1;f=Qb-16|0;Qb=f;v[f+12>>2]=v[a+8>>2];i=Nk(f+8|0,f+12|0);v[299999]=0;j=zM(c,d-c|0,b);l=v[299999];v[299999]=0;b:{if((l|0)!=1){ih(i);Qb=f+16|0;break b}a=P()|0;O()|0;ih(i);T(a|0);L()}c:{switch(j+2|0){default:g=j;break;case 0:case 1:break a;case 2:break c}}h=h+1|0;k=g+k|0;c=c+g|0;continue}break}return k|0}function tha(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=Qb-16|0;Qb=e;d=-1;a:{if(!b|!c){break a}v[b>>2]=0;a=v[a+12>>2];d=0;if(!w[a|0]){break a}f=Bc(a);v[e+12>>2]=a;b:{if((c|0)<1){break b}d=b;c:{if((f|0)<=0){break c}c=(c<<2)+b|0;f=a+f|0;while(1){if(!w[a|0]){break c}a=zp(e+12|0,f);if(c>>>0>d>>>0){v[d>>2]=a;d=d+4|0}if(c>>>0<=d>>>0){break b}a=v[e+12>>2];if(f>>>0>a>>>0){continue}break}}v[d>>2]=0;d=d-b>>>2|0;break a}d=-1}Qb=e+16|0;return d|0}function sJ(a,b,c){var d=0,e=0;a:{d=v[a+116>>2];b:{if(d&15){c=c-4|0;e=w[b|0]&32;c:{if(!e|!(d&3840)?d&61440?e:1:0){break c}if((LA(a,-1,b,c)^-1)==(Aq(b+c|0)|0)){break c}d=v[a+116>>2];d:{if(!e){d=d&61440;if((d|0)==8192){break d}if((d|0)!=12288){break c}break a}d=d&3840;if((d|0)==256){return 0}if((d|0)==768){break a}if((d|0)!=512){break c}}d=1027;if(!pc(a,1027,0,0)){break b}}return tJ(a,b,c)}d=tJ(a,b,c)}return d}pc(a,1027,0,0);return 1027}function rJa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=Qb-16|0;Qb=e;a:{if(!a){break a}f=v[a+8>>2];if(!f){break a}b:{switch(v[a+216>>2]-1|0){case 0:QU(a+108|0,v[f+44>>2],b,c,d);break a;case 1:QU(a+108|0,v[f+48>>2],b,c,d);break a;default:break b}}if(v[a+172>>2]==-1?v[a+212>>2]:0){break a}v[a+84>>2]=1;v[e+4>>2]=0;v[e>>2]=b;oc(0,0,0,a,0,1,1,3,b,0,0,0,348435,e);v[a+100>>2]=0;v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1}Qb=e+16|0}function lna(a,b){a=a|0;b=b|0;var c=0,d=0;c=Qb-32|0;Qb=c;a:{if(!w[a+144|0]){a=vc(c,231625,242011,164,226800,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}b=P()|0;O()|0;qc(a);T(b|0);L()}v[c+24>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=0;v[c+4>>2]=0;d=Un(c,983320);v[299999]=0;U(4861,a|0,c|0,b|0);a=v[299999];v[299999]=0;if((a|0)==1){a=P()|0;O()|0;id(d);T(a|0);L()}id(d);Qb=c+32|0;return}L()}function DDa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;b=v[a+28>>2];c=v[b+596>>2];d=v[c+28>>2];if(!(v[c>>2]?0:(d|0)<=0)){a:{if(!v[a+100>>2]|(d|0)<1){break a}b=v[b+120>>2];if((Ub[v[v[b>>2]+12>>2]](b)|0)==10){Nr(a);break a}b=v[a+8>>2];Ub[v[v[b>>2]+200>>2]](b,v[a+28>>2])}b=v[a+28>>2];c=v[b+596>>2];if(!(!v[a+36>>2]|(v[c>>2]?0:v[c+28>>2]<=0))){Vi(b);b=v[a+8>>2];Ub[v[v[b>>2]+(v[a+36>>2]==1?220:224)>>2]](b,v[a+28>>2]);b=v[a+28>>2]}v[a+36>>2]=0;vf(b)}}function Cga(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;if(!(!f|!e)){d=h<<2;a=g<<1;while(1){f=f-1|0;h=e;while(1){c=w[l+1|0];v[b>>2]=c<<24|((B(w[i+1|0],c)+127&65535)>>>0)/255|((B(w[j+1|0],c)+127&65535)>>>0)/255<<8|((B(w[k+1|0],c)+127&65535)>>>0)/255<<16;b=b+4|0;k=k+2|0;j=j+2|0;i=i+2|0;l=l+2|0;h=h-1|0;if(h){continue}break}b=b+d|0;l=a+l|0;k=a+k|0;j=a+j|0;i=a+i|0;if(f){continue}break}}}function Saa(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,h=0;g=Qb-16|0;Qb=g;v[g+8>>2]=b;b=v[d+28>>2];v[g>>2]=b;v[b+4>>2]=v[b+4>>2]+1;v[299999]=0;h=S(5533,g|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){b=v[g>>2];d=v[b+4>>2]-1|0;v[b+4>>2]=d;if((d|0)==-1){Ub[v[v[b>>2]+8>>2]](b)}jM(a,f+24|0,g+8|0,c,e,h);Qb=g+16|0;return v[g+8>>2]}c=P()|0;O()|0;a=v[g>>2];b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}T(c|0);L()}function Raa(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,h=0;g=Qb-16|0;Qb=g;v[g+8>>2]=b;b=v[d+28>>2];v[g>>2]=b;v[b+4>>2]=v[b+4>>2]+1;v[299999]=0;h=S(5533,g|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){b=v[g>>2];d=v[b+4>>2]-1|0;v[b+4>>2]=d;if((d|0)==-1){Ub[v[v[b>>2]+8>>2]](b)}iM(a,f+16|0,g+8|0,c,e,h);Qb=g+16|0;return v[g+8>>2]}c=P()|0;O()|0;a=v[g>>2];b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}T(c|0);L()}function Laa(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,h=0;g=Qb-16|0;Qb=g;v[g+8>>2]=b;b=v[d+28>>2];v[g>>2]=b;v[b+4>>2]=v[b+4>>2]+1;v[299999]=0;h=S(5466,g|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){b=v[g>>2];d=v[b+4>>2]-1|0;v[b+4>>2]=d;if((d|0)==-1){Ub[v[v[b>>2]+8>>2]](b)}gM(a,f+24|0,g+8|0,c,e,h);Qb=g+16|0;return v[g+8>>2]}c=P()|0;O()|0;a=v[g>>2];b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}T(c|0);L()}function Kaa(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,h=0;g=Qb-16|0;Qb=g;v[g+8>>2]=b;b=v[d+28>>2];v[g>>2]=b;v[b+4>>2]=v[b+4>>2]+1;v[299999]=0;h=S(5466,g|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){b=v[g>>2];d=v[b+4>>2]-1|0;v[b+4>>2]=d;if((d|0)==-1){Ub[v[v[b>>2]+8>>2]](b)}fM(a,f+16|0,g+8|0,c,e,h);Qb=g+16|0;return v[g+8>>2]}c=P()|0;O()|0;a=v[g>>2];b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}T(c|0);L()}function C9a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{if(w[a+285|0]|w[a+286|0]|(w[a+287|0]|w[a+288|0])){break a}if(w[a+289|0]){break a}pc(a,1029,0,0);return 1029}if((c|0)!=7){pc(a,1028,0,0);return 1028}c=0;b:{if(!w[a+112|0]){break b}c=Ub[v[b+4>>2]](a,b,e)|0;if(c){break b}a=v[e>>2];b=w[d|0]|w[d+1|0]<<8;u[a+32>>1]=b<<8|b>>>8;t[a+34|0]=w[d+2|0];t[a+35|0]=w[d+3|0];t[a+36|0]=w[d+4|0];t[a+37|0]=w[d+5|0];t[a+38|0]=w[d+6|0];c=0}return c|0}function wy(a){var b=0,c=0,d=0;b=Qb-16|0;Qb=b;d=w[a+11|0];c=d<<24>>24<0;ks(b,c?v[a>>2]:a,c?v[a+4>>2]:d,0);v[299999]=0;d=S(1,8)|0;a=v[299999];v[299999]=0;a:{b:{if((a|0)!=1){v[299999]=0;a=w[b+11|0];c=a<<24>>24<0;a=Y(3083,d|0,(c?v[b>>2]:b)|0,(c?v[b+4>>2]:a)|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}if(t[b+11|0]<=-1){dc(v[b>>2])}Qb=b+16|0;return a}a=P()|0;O()|0;break a}a=P()|0;O()|0;dc(d)}if(t[b+11|0]<=-1){dc(v[b>>2])}T(a|0);L()}function vQ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{b:{c:{d:{e:{if(w[b+8|0]){b=v[b>>2];if(!b){break e}}d=v[b>>2];if(d){break d}}t[a+11|0]=0;break c}c=ve(d);if(c>>>0>=1073741808){break b}f:{g:{if(c>>>0>=2){e=c+4&-4;b=fc(e<<2);v[a+8>>2]=e|-2147483648;v[a>>2]=b;v[a+4>>2]=c;a=b;break g}t[a+11|0]=c;if(!c){break f}}v[299999]=0;tc(a,d,c);b=v[299999];v[299999]=0;if((b|0)==1){break a}}a=(c<<2)+a|0}v[a>>2]=0;return}$d(a);L()}W(0)|0;O()|0;lc();L()}function mya(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;v[a+12>>2]=e;v[a+8>>2]=d;v[a+4>>2]=c;v[a>>2]=b;f=B(c,d);v[a+16>>2]=f;b=B(e,f)+7>>3;v[a+20>>2]=b;g=a;if(!((2147483647/(d|0)|0)>=(c|0)&(2147483640/(e|0)|0)>=(f|0))){v[a+20>>2]=-1;b=-1}c=ed(b,1);v[g+24>>2]=c;a:{b:{c:{switch(v[a+12>>2]-1|0){case 0:b=v[a+16>>2]+7&-8;break b;case 7:break a;default:break c}}b=v[a+16>>2]}c=ed(b,1)}v[a+28>>2]=c;v[a+32>>2]=v[a+16>>2];return a|0}function Op(a,b){var c=0,d=0,e=0,f=0;d=Qb-16|0;Qb=d;c=v[a+8>>2];a:{if(!(Ub[v[v[c>>2]+28>>2]](c)|0)){break a}c=v[v[a+28>>2]+380>>2];if(!c){break a}f=-1;b:{c:{d:{e=v[c+4>>2];switch(e-1|0){case 1:break c;case 0:break d;default:break b}}SE(a,c,0,b,0);break a}RE(a,c,0,b,0);break a}a=v[a+108>>2];e:{if(!a){break e}a=v[a+4>>2];if(v[a+8>>2]==13){break e}a=v[a+16>>2];f=Ub[v[v[a>>2]+52>>2]](a)|0;e=v[c+4>>2]}v[d>>2]=e;kc(1,f,259197,d)}Qb=d+16|0}function wh(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{if((b|0)>=1){while(1){d=v[a+8>>2];if(d&7){return-1}f=v[a+64>>2];if(!((f|0)<0|v[a+60>>2]<(f|0))){v[a+8>>2]=d|4;return-1}d=v[a+28>>2];v[a+28>>2]=d-1;b:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;d=v[a+24>>2];v[a+24>>2]=d+1;d=w[d|0];break b}d=Hc(a,1);e=-1;if((d|0)==-1){break a}}f=d>>31;e=d;d=h;g=g<<8|d>>>24;h=e|d<<8;g=g|f;d=(b|0)>1;b=b-1|0;if(d){continue}break}}v[c>>2]=h;v[c+4>>2]=g;e=0}return e}function rsa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{c=w[a+11|0]+7>>>3|0;e=v[a+4>>2];if(c>>>0>=e>>>0){break a}d=0-c|0;a=b+c|0;f=(c^-1)+e|0;b=e-c&3;if(b){while(1){t[a|0]=w[a+d|0]+w[a|0];c=c+1|0;a=a+1|0;b=b-1|0;if(b){continue}break}}if(f>>>0<3){break a}while(1){t[a|0]=w[a+d|0]+w[a|0];t[a+1|0]=w[(a+1|0)+d|0]+w[a+1|0];t[a+2|0]=w[(a+2|0)+d|0]+w[a+2|0];t[a+3|0]=w[(a+3|0)+d|0]+w[a+3|0];a=a+4|0;c=c+4|0;if((e|0)!=(c|0)){continue}break}}}function Y1(a){var b=0,c=0,d=0,e=0,f=0;b=jc(92);if(b){c=ic(b,0,92);v[c>>2]=a;b=jc(56);a:{if(b){v[b>>2]=0;v[b+4>>2]=0;v[b+48>>2]=0;v[b+52>>2]=0;v[b+40>>2]=0;v[b+44>>2]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=a;d=jc(1876);if(!d){v[a+20>>2]=1;dc(b);break a}e=b,f=ic(d,0,1876),v[e+36>>2]=f;v[c+4>>2]=b;return c}v[a+20>>2]=1}un(0);dc(c);return 0}v[a+20>>2]=1;return 0}function Xna(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Qb-16|0;Qb=d;rD(d+8|0,a);v[299999]=0;U(4592,v[d+8>>2],b|0,c|0);a=v[299999];v[299999]=0;a:{if((a|0)!=1){a=v[d+8>>2];v[d+8>>2]=0;b:{if(!a){break b}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)==1){break a}if(b){break b}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Qb=d+16|0;return}a=P()|0;O()|0;ec(d+8|0);T(a|0);L()}W(0)|0;O()|0;lc();L()}function Wk(a){var b=0,c=0,d=0;a:{b:{if(!v[294612]){break b}c=v[294614];c:{if(c){v[299999]=0;b=S(1,8)|0;d=v[299999];v[299999]=0;if((d|0)==1){break a}v[b>>2]=a;v[c+4>>2]=b;break c}v[299999]=0;b=S(1,8)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}v[b>>2]=a;v[294613]=b}v[294614]=b;v[b+4>>2]=0;b=v[294615];v[294615]=b+1;if((b|0)<127){break b}b=v[294613];v[294613]=v[b+4>>2];dc(b);v[294615]=v[294615]-1}dc(a);return}W(0)|0;O()|0;lc();L()}function Sda(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{if(!a|(b|0)>(c|0)){break a}e=c-b|0;d=e+1&3;if(d){while(1){f=(b<<3)+a|0;v[f>>2]=0;v[f+4>>2]=v[282402];b=b+1|0;d=d-1|0;if(d){continue}break}}if(e>>>0<3){break a}while(1){d=(b<<3)+a|0;v[d>>2]=0;e=v[282402];v[d+8>>2]=0;v[d+4>>2]=e;e=v[282402];v[d+16>>2]=0;v[d+12>>2]=e;v[d+20>>2]=v[282402];d=b+3|0;e=(d<<3)+a|0;v[e>>2]=0;v[e+4>>2]=v[282402];b=b+4|0;if((c|0)!=(d|0)){continue}break}}}function Kr(a,b){var c=0,d=0,e=0;c=v[a+8>>2];if(c>>>0>=b>>>0){d=c-b|0;v[a+8>>2]=d;return v[a+4>>2]>>>d&((b|0)==32?-1:-1<>2]=0;d=v[a+4>>2]&(-1<>>0>=8){while(1){c=v[a>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;v[a+12>>2]=v[a+12>>2]+1;d=c&255|d<<8;b=b-8|0;if(b>>>0>7){continue}break}}if(b){c=v[a>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;v[a+4>>2]=c;e=8-b|0;v[a+8>>2]=e;v[a+12>>2]=v[a+12>>2]+1;d=(-1<>>e|d<>2];d=v[a+104>>2];e=v[a+100>>2];c=v[a+716>>2];if(c){Ub[c|0](v[a+712>>2])}if(b){Ub[v[b+12>>2]](a)}nf(v[a+104>>2],a+764|0);v[a+760>>2]=0;c=v[a+104>>2];b=v[c+28>>2];f=v[a+784>>2];if(f){Ub[v[b+8>>2]](b,f)}v[a+784>>2]=0;nf(c,a+768|0);b=v[a+704>>2];if(b){Ub[v[e+8>>2]](e,b)}v[a+700>>2]=0;v[a+704>>2]=0;nf(d,a+688|0);nf(d,a+696|0);v[a+692>>2]=0;v[a+684>>2]=0;jZ(a);v[a+736>>2]=0}}function ora(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Ub[v[v[a>>2]+28>>2]](a)|0;a:{if((d|0)>=1){e=d+1|0;Xd(c,e,1);d=0;while(1){c=Ub[v[v[a>>2]+8>>2]](a,v[b>>2]+d|0,e)|0;if((c|0)<1){break a}d=c+d|0;e=e-c|0;if(e){continue}break}break a}Xd(c,32768,1);d=0;e=Ub[v[v[a>>2]+8>>2]](a,v[b>>2],32768)|0;if((e|0)<1){break a}while(1){d=d+e|0;Xd(c,d+32768|0,1);e=Ub[v[v[a>>2]+8>>2]](a,v[b>>2]+d|0,32768)|0;if((e|0)>0){continue}break}}t[v[b>>2]+d|0]=0}function neb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(v[a+588>>2]>=1){b=v[a+540>>2];c=((v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0)+1|0;d=v[a+636>>2]+v[a+616>>2]|0;b=0;while(1){if(!(b&255)){g=w[d|0];e=4;d=d+1|0;b=240}t[c|0]=B((b&g)>>>e|0,17);e=e-4|0;c=c+2|0;b=(b&240)>>>4|0;f=f+1|0;if((f|0)>2]){continue}break}}v[a+2556>>2]=v[a+2556>>2]+1;a:{if(v[a+968>>2]){b=Wj(a);if(b){break a}}b=0}return b|0}function heb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(v[a+588>>2]>=1){b=v[a+540>>2];c=((v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0)+3|0;d=v[a+636>>2]+v[a+616>>2]|0;b=0;while(1){if(!(b&255)){g=w[d|0];e=4;d=d+1|0;b=240}t[c|0]=B((b&g)>>>e|0,17);e=e-4|0;c=c+4|0;b=(b&240)>>>4|0;f=f+1|0;if((f|0)>2]){continue}break}}v[a+2556>>2]=v[a+2556>>2]+1;a:{if(v[a+968>>2]){b=Wj(a);if(b){break a}}b=0}return b|0}function fI(a){a=a|0;var b=0,c=0;if(a){c=v[a+100>>2];q$(v[a+140>>2]);b=v[a+144>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+144>>2]=0;b=v[a+132>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+132>>2]=0;b=v[a+136>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+136>>2]=0;b=v[a+20>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+20>>2]=0;b=v[a+24>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+24>>2]=0;b=v[a+32>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+32>>2]=0;b=v[a+140>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+140>>2]=0}}function Nr(a){var b=0,c=0,d=0,e=0;c=Qb-16|0;Qb=c;b=v[a+8>>2];a:{if(!(Ub[v[v[b>>2]+28>>2]](b)|0)){break a}b=v[v[a+28>>2]+384>>2];if(!b){break a}e=-1;b:{c:{d:{d=v[b+4>>2];switch(d-1|0){case 1:break c;case 0:break d;default:break b}}SE(a,b,1,0,0);break a}RE(a,b,1,0,0);break a}a=v[a+108>>2];e:{if(!a){break e}a=v[a+4>>2];if(v[a+8>>2]==13){break e}a=v[a+16>>2];e=Ub[v[v[a>>2]+52>>2]](a)|0;d=v[b+4>>2]}v[c>>2]=d;kc(1,e,283022,c)}Qb=c+16|0}function xD(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{if((b|0)<1){break a}d=v[282402];e=b-1|0;c=b&3;if(c){while(1){v[a+24>>2]=0;v[a+16>>2]=0;v[a+20>>2]=d;a=a+28|0;b=b-1|0;c=c-1|0;if(c){continue}break}}if(e>>>0<3){break a}while(1){v[a+24>>2]=0;v[a+16>>2]=0;v[a+108>>2]=0;v[a+104>>2]=d;v[a+100>>2]=0;v[a+80>>2]=0;v[a+76>>2]=d;v[a+72>>2]=0;v[a+52>>2]=0;v[a+48>>2]=d;v[a+44>>2]=0;v[a+20>>2]=d;a=a+112|0;c=(b|0)>4;b=b-4|0;if(c){continue}break}}}function bcb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;if(v[a+2308>>2]){c=v[a+2312>>2];b=v[a+2316>>2];while(1){d=Ub[v[a+2296>>2]](w[c|0])|0;e=Ub[v[a+2296>>2]](w[c+1|0])|0;f=Ub[v[a+2296>>2]](w[c+2|0])|0;g=Ub[v[a+2296>>2]](w[c+3|0])|0;t[b+5|0]=(f|0)!=0;t[b+4|0]=f>>>8;t[b+3|0]=(e|0)!=0;t[b+2|0]=e>>>8;t[b+1|0]=(d|0)!=0;t[b|0]=d>>>8;t[b+7|0]=(g|0)!=0;t[b+6|0]=g>>>8;b=b+8|0;c=c+4|0;h=h+1|0;if(h>>>0>2]){continue}break}}return 0}function TUa(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;h=Qb-16|0;Qb=h;i=1;a:{if(!(!v[a+16>>2]|!v[a+20>>2])){b=yo(h+8|0,A[b>>3],A[c>>3],A[d>>3],A[e>>3],A[f>>3],A[g>>3]);c=v[a+16>>2];if(!(!c|!v[a+20>>2])){v[299999]=0;fH(c,b);c=v[299999];v[299999]=0;if((c|0)==1){break a}a=v[a+16>>2];v[299999]=0;nv(a);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Cd(b);i=0}Qb=h+16|0;return i|0}a=P()|0;O()|0;Cd(b);T(a|0);L()}function PT(a){a=a|0;var b=0,c=0;v[a>>2]=890268;a:{b=v[a+20>>2];if(b){v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a+24>>2];if(!(!b|(b|0)==1039376)){while(1){b=v[(c<<2)+b>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}c=c+1|0;if((c|0)!=256){b=v[a+24>>2];continue}break}b=v[a+24>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}}dl(a);return a|0}W(0)|0;O()|0;dl(a);lc();L()}function Jk(a,b,c){var d=0,e=0,f=0;e=Qb-4112|0;Qb=e;v[e+4108>>2]=c;qN(e,b,c);c=w[e|0];a:{if(!c){break a}b=e;while(1){d=v[a+8>>2];if(d&7){break a}f=v[a+64>>2];if(!((f|0)<0|v[a+60>>2]<(f|0))){v[a+8>>2]=d|4;break a}v[a+4>>2]=v[a+4>>2]|32;d=v[a+28>>2];v[a+28>>2]=d-1;b:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;d=v[a+24>>2];v[a+24>>2]=d+1;t[d|0]=c;break b}if((Fc(a,c&255)|0)==-1){break a}}c=w[b+1|0];b=b+1|0;if(c){continue}break}}Qb=e+4112|0}function fYa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=v[a+496>>2];if(!f){return 6}g=v[f+32>>2];if(g){a=0;while(1){e=v[f+28>>2]+B(a,20)|0;a:{if(v[e>>2]!=(c|0)){break a}h=v[e+4>>2];if((h|0)>(b|0)){v[d>>2]=v[e+8>>2];break a}i=v[e+12>>2];if((i|0)<(b|0)){v[d>>2]=v[e+16>>2];break a}j=d,k=jd(b-h|0,v[e+16>>2]-v[e+8>>2]|0,i-h|0)+v[e+8>>2]|0,v[j>>2]=k;g=v[f+32>>2]}a=a+1|0;if(g>>>0>a>>>0){continue}break}}return 0}function c8(){var a=0;a:{if(t[1200792]&1){break a}if(!Je(1200792)){break a}a=1200624;while(1){a=ge(a)+12|0;if((a|0)!=1200792){continue}break}Ie(1200792)}Me(1200624,1020724);Me(1200636,1020752);Me(1200648,1020780);Me(1200660,1020812);Me(1200672,1020852);Me(1200684,1020888);Me(1200696,1020916);Me(1200708,1020952);Me(1200720,1020968);Me(1200732,1020984);Me(1200744,1021e3);Me(1200756,1021016);Me(1200768,1021032);Me(1200780,1021048)}function bhb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=b+12|0;a:{b:{c:{c=v[a+84>>2]-4|0;if(c){if((c|0)==12){break c}else{break b}}c=-1;if(!C2(v[a+64>>2],e)){break b}break a}c=-1;d=v[a+52>>2];if(!d){break a}if(!v[d+40>>2]){if(!C2(v[d+32>>2],e)){break b}break a}a=0;if(v[b+12>>2]<=0){break b}c=v[d+52>>2];while(1){d=OJ(v[b+16>>2]+(a<<4)|0);if(!d){break b}if(q2(v[c+76>>2],d)){break b}a=a+1|0;if((a|0)>2]){continue}break}}c=0}return c|0}function Wqa(a){a=a|0;var b=0,c=0,d=0;b=Qb-16|0;Qb=b;v[b+8>>2]=0;Wc(b+8|0,a);v[299999]=0;R(4488,v[b+8>>2]);a=v[299999];v[299999]=0;a:{if((a|0)!=1){a=v[b+8>>2];v[b+8>>2]=0;b:{if(!a){break b}v[299999]=0;c=v[a+4>>2]-1|0;v[a+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break b}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)==1){break a}}Qb=b+16|0;return}a=P()|0;O()|0;ec(b+8|0);T(a|0);L()}W(0)|0;O()|0;lc();L()}function T2a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=Qb-16|0;Qb=e;d=v[a+20>>2];if((d|0)!=205){f=v[a>>2];v[f+24>>2]=d;v[f+20>>2]=21;Ub[v[v[a>>2]>>2]](a)}f=v[a+116>>2];g=v[a+140>>2];a:{if(f>>>0<=g>>>0){b=v[a>>2];v[b+20>>2]=126;Ub[v[b+4>>2]](a,-1);b=0;break a}d=v[a+8>>2];if(d){v[d+8>>2]=f;v[d+4>>2]=g;Ub[v[d>>2]](a)}v[e+12>>2]=0;Ub[v[v[a+444>>2]+4>>2]](a,b,e+12|0,c);b=v[e+12>>2];v[a+140>>2]=b+v[a+140>>2]}Qb=e+16|0;return b|0}function Seb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=v[a+660>>2];f=v[a+656>>2];c=d-f|0;a:{if((c|0)<1){break a}b=w[a+81|0]|(w[a+85|0]<<16|w[a+83|0]<<8);a=v[a+644>>2];e=d-f&7;if(e){while(1){v[a>>2]=b;c=c-1|0;a=a+4|0;e=e-1|0;if(e){continue}break}}if(d+(f^-1)>>>0<7){break a}while(1){v[a+28>>2]=b;v[a+24>>2]=b;v[a+20>>2]=b;v[a+16>>2]=b;v[a+12>>2]=b;v[a+8>>2]=b;v[a+4>>2]=b;v[a>>2]=b;a=a+32|0;d=(c|0)>8;c=c-8|0;if(d){continue}break}}return 0}function Qaa(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;a=Qb-16|0;Qb=a;v[a+8>>2]=b;b=v[d+28>>2];v[a>>2]=b;v[b+4>>2]=v[b+4>>2]+1;v[299999]=0;g=S(5533,a|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){b=v[a>>2];d=v[b+4>>2]-1|0;v[b+4>>2]=d;if((d|0)==-1){Ub[v[v[b>>2]+8>>2]](b)}hM(f+20|0,a+8|0,c,e,g);Qb=a+16|0;return v[a+8>>2]}c=P()|0;O()|0;a=v[a>>2];b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}T(c|0);L()}function Nca(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;f=Qb-16|0;Qb=f;while(1){a:{if((c|0)<=(g|0)){break a}d=v[a+24>>2];e=v[a+28>>2];if(d>>>0>=e>>>0){if((Ub[v[v[a>>2]+52>>2]](a,v[b>>2])|0)==-1){break a}g=g+1|0;b=b+4|0}else{v[f+12>>2]=e-d>>2;v[f+8>>2]=c-g;d=Qb-16|0;Qb=d;Qb=d+16|0;d=f+8|0;e=f+12|0;d=v[(v[d>>2]>2]?d:e)>>2];ak(v[a+24>>2],b,d);e=d<<2;v[a+24>>2]=e+v[a+24>>2];g=d+g|0;b=b+e|0}continue}break}Qb=f+16|0;return g|0}function Jaa(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;a=Qb-16|0;Qb=a;v[a+8>>2]=b;b=v[d+28>>2];v[a>>2]=b;v[b+4>>2]=v[b+4>>2]+1;v[299999]=0;g=S(5466,a|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){b=v[a>>2];d=v[b+4>>2]-1|0;v[b+4>>2]=d;if((d|0)==-1){Ub[v[v[b>>2]+8>>2]](b)}eM(f+20|0,a+8|0,c,e,g);Qb=a+16|0;return v[a+8>>2]}c=P()|0;O()|0;a=v[a>>2];b=v[a+4>>2]-1|0;v[a+4>>2]=b;if((b|0)==-1){Ub[v[v[a>>2]+8>>2]](a)}T(c|0);L()}function e8a(a){a=a|0;var b=0,c=0,d=0;c=v[a+588>>2];b=v[a+644>>2];a:{if(w[a+648|0]){if((c|0)<=0){break a}c=a+704|0;while(1){t[b|0]=w[c+w[b|0]|0];t[b+2|0]=w[c+w[b+2|0]|0];t[b+4|0]=w[c+w[b+4|0]|0];b=b+8|0;d=d+1|0;if((d|0)>2]){continue}break}break a}if((c|0)<=0){break a}c=a+704|0;while(1){t[b|0]=w[c+w[b|0]|0];t[b+1|0]=w[c+w[b+1|0]|0];t[b+2|0]=w[c+w[b+2|0]|0];b=b+4|0;d=d+1|0;if((d|0)>2]){continue}break}}return 0}function Fka(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;a:{e=v[d>>2];if(!(!e|v[d+4>>2]!=(c|0))){if(v[b+4>>2]!=(a|0)?v[b>>2]:0){break a}f=d;d=v[e>>2];v[f>>2]=d;b=v[b>>2];if((b|0)!=(e|0)){f=c+8|0;v[(d?d:f)+4>>2]=v[e+4>>2];g=v[e+4>>2];v[(g?g:f)>>2]=d;v[c+4>>2]=v[c+4>>2]-1;d=a+12|0;c=v[(b?b+4|0:d)>>2];v[e>>2]=b;v[e+4>>2]=c;v[(c?c:a+8|0)>>2]=e;b=v[e>>2];v[(b?b+4|0:d)>>2]=e;v[a+4>>2]=v[a+4>>2]+1}return}Ei(d,c);L()}Ei(b,a);L()}function Bwa(a){a=a|0;var b=0,c=0,d=0,e=0;b=v[a+296>>2];c=v[a+300>>2];a:{if(b>>>0>=c>>>0){d=a+40|0;v[a+300>>2]=d;v[a+296>>2]=d;b=v[a+304>>2]+(c-d|0)|0;v[a+304>>2]=b;if(v[a+32>>2]){e=v[a+36>>2]+v[a+28>>2]|0;c=-1;if((e|0)<=(b|0)){break a}c=(e|0)<(b+256|0)?e-b|0:256}else{c=256}e=v[a+24>>2];Kv(v[e>>2],b,0);d=(qg(d,1,c,v[e>>2])+a|0)+40|0;v[a+300>>2]=d;b=v[a+296>>2];c=-1;if(d>>>0<=b>>>0){break a}}v[a+296>>2]=b+1;c=w[b|0]}return c|0}function qRa(a,b,c,d,e,f,g){a=a|0;b=+b;c=+c;d=+d;e=+e;f=+f;g=+g;var h=0,i=0,j=0;h=Qb-48|0;Qb=h;A[h+32>>3]=c;A[h+40>>3]=b;A[h+24>>3]=d;A[h+16>>3]=e;A[h+8>>3]=f;A[h>>3]=g;i=v[a+4>>2];j=v[i+28>>2];if(j){ke(j,h+40|0,h+32|0);ke(v[v[a+4>>2]+28>>2],h+24|0,h+16|0);ke(v[v[a+4>>2]+28>>2],h+8|0,h);i=v[a+4>>2];g=A[h>>3];f=A[h+8>>3];e=A[h+16>>3];d=A[h+24>>3];c=A[h+32>>3];b=A[h+40>>3]}ze(i,b,c,4);ze(i,d,e,4);ze(i,f,g,4);Qb=h+48|0;return 1}function mea(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{if((b|0)<1){break a}d=v[282402];e=b-1|0;c=b&3;if(c){while(1){v[a+8>>2]=0;v[a+12>>2]=0;v[a+16>>2]=d;a=a+20|0;b=b-1|0;c=c-1|0;if(c){continue}break}}if(e>>>0<3){break a}while(1){v[a+8>>2]=0;v[a+12>>2]=0;v[a+76>>2]=d;v[a+68>>2]=0;v[a+72>>2]=0;v[a+56>>2]=d;v[a+48>>2]=0;v[a+52>>2]=0;v[a+36>>2]=d;v[a+28>>2]=0;v[a+32>>2]=0;v[a+16>>2]=d;a=a+80|0;c=(b|0)>4;b=b-4|0;if(c){continue}break}}}function id(a){var b=0,c=0,d=0;a:{c=v[a+24>>2];b:{if(c){while(1){b=v[c>>2];d=v[v[a>>2]+16>>2];v[299999]=0;V(d|0,c|0,1);d=v[299999];v[299999]=0;if((d|0)==1){break b}dc(c);c=b;if(c){continue}break}}v[a+4>>2]=0;v[a+24>>2]=0;v[299999]=0;Ah(a+16|0,4,0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}}b=W(0)|0;O()|0;ea(b|0)|0;v[299999]=0;ba(4230);b=v[299999];v[299999]=0;if((b|0)!=1){break a}W(0)|0;O()|0;Lc(a+16|0);lc();L()}Lc(a+16|0)}function gza(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;v[a+4>>2]=31;v[a+8>>2]=0;c=ed(31,8);v[a>>2]=c;b=v[a+4>>2];a:{if((b|0)<1){break a}e=b&7;if(b-1>>>0>=7){f=b&-8;while(1){b=d<<3;v[b+c>>2]=0;v[(b|8)+c>>2]=0;v[(b|16)+c>>2]=0;v[(b|24)+c>>2]=0;v[(b|32)+c>>2]=0;v[(b|40)+c>>2]=0;v[(b|48)+c>>2]=0;v[(b|56)+c>>2]=0;d=d+8|0;f=f-8|0;if(f){continue}break}}if(!e){break a}while(1){v[(d<<3)+c>>2]=0;d=d+1|0;e=e-1|0;if(e){continue}break}}return a|0}function Te(a){var b=0,c=0,d=0,e=0;d=v[a+4>>2];a:{if(!(w[a|0]&6)|(d&16|w[a+8|0]&7)){break a}b=a;b:{c=v[a+16>>2];e=v[a+24>>2]-c|0;if((e|0)>=1){if((Ub[v[v[a+52>>2]+4>>2]](v[a+56>>2],c,e)|0)!=(e|0)){break b}d=v[a+4>>2];c=v[a+16>>2]}v[b+24>>2]=c;v[a+28>>2]=v[a+20>>2];v[a+4>>2]=d|32;break a}v[a+8>>2]=v[a+8>>2]|2}Ub[v[v[a+52>>2]+12>>2]](v[a+56>>2])|0;c:{if(!(w[a+4|0]&8)){break c}b=v[a+12>>2];if(!b){break c}dc(b);v[a+12>>2]=0}dc(a)}function J1a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=v[a+16>>2];if(!e){v[b>>2]=0;return 0}i=v[a+20>>2];f=v[b>>2];a:while(1){f=f+1|0;c=0;d=e;while(1){g=(d-c>>>1|0)+c|0;h=v[(g<<4)+i>>2];if((h|0)==(f|0)){if(!g){continue a}v[b>>2]=f;return g+1|0}h=f>>>0>h>>>0;d=h?d:g;c=h?g+1|0:c;if(d>>>0>c>>>0){continue}break}break}d=0;if(c>>>0>=e>>>0){v[b>>2]=0;return 0}e=0;if(c){e=v[v[a+20>>2]+(c<<4)>>2];d=c+1|0}v[b>>2]=e;return d|0}function Gka(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{if((a|0)==(b|0)){break a}c=v[a+8>>2];if(c){while(1){d=v[c>>2];Ub[v[v[a>>2]+16>>2]](c,1);dc(c);c=d;if(c){continue}break}}v[a+4>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;c=v[b+8>>2];if(!c){break a}b=a+8|0;while(1){e=fc(v[v[a>>2]>>2]);Ub[v[v[a>>2]+12>>2]](e,c,1,0);v[e>>2]=0;d=v[a+12>>2];v[e+4>>2]=d;v[a+12>>2]=e;v[(d?d:b)>>2]=e;v[a+4>>2]=v[a+4>>2]+1;c=v[c>>2];if(c){continue}break}}return a|0}function Beb(a){a=a|0;var b=0,c=0,d=0,e=0;if(v[a+588>>2]>=1){b=v[a+540>>2];c=(v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0;b=v[a+636>>2]+v[a+616>>2]|0;while(1){d=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);t[c|0]=d;t[c+1|0]=d>>>8;t[c+2|0]=d>>>16;t[c+3|0]=d>>>24;d=w[b+4|0]|w[b+5|0]<<8;t[c+4|0]=d;t[c+5|0]=d>>>8;b=b+6|0;c=B(v[a+584>>2],6)+c|0;e=e+1|0;if((e|0)>2]){continue}break}}return 0}function mPa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;if(!b){return 0}if(v[a+16>>2]>=1){while(1){c=v[a+8>>2]+(d<<4)|0;e=A[c+8>>3];f=A[c>>3];g=w[v[a+12>>2]+d|0];a:{b:{if(g&1){Ub[v[v[b>>2]>>2]](b,f,e)|0;break b}if(g&8){Ub[v[v[b>>2]+8>>2]](b,f,e,A[c+16>>3],A[c+24>>3],A[c+32>>3],A[c+40>>3])|0;c=3;break a}Ub[v[v[b>>2]+4>>2]](b,f,e)|0}c=1}d=c+d|0;if((g&6)==6){Ub[v[v[b>>2]+12>>2]](b)|0}if(v[a+16>>2]>(d|0)){continue}break}}return 1}function dH(a){var b=0,c=0,d=0,e=0;b=v[a+408>>2];if(b){c=b-1|0;v[a+408>>2]=c;d=v[a+416>>2]+(b<<2)|0;while(1){e=a;d=d-4|0;b=v[d>>2];if(b){dc(b);c=v[a+408>>2]}b=c;c=b-1|0;v[e+408>>2]=c;if(b){continue}break}}c=v[a+416>>2];if(c){dc(c)}b=v[a+184>>2];if(b){c=b-1|0;v[a+184>>2]=c;d=v[a+192>>2]+(b<<2)|0;while(1){e=a;d=d-4|0;b=v[d>>2];if(b){dc(b);c=v[a+184>>2]}b=c;c=b-1|0;v[e+184>>2]=c;if(b){continue}break}}a=v[a+192>>2];if(a){dc(a)}}function cEa(a){a=a|0;var b=0,c=0,d=0,e=0;d=gc(fc(1584),a,1584);b=v[a+1044>>2];v[299999]=0;c=S(1,8)|0;e=v[299999];v[299999]=0;a:{b:{if((e|0)!=1){v[299999]=0;Q(3064,c|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){a=P()|0;O()|0;dc(c);break b}v[d+1044>>2]=c;c=v[d+1056>>2];v[299999]=0;b=Q(3364,c|0,16)|0;e=v[299999];v[299999]=0;if((e|0)!=1){break a}}a=P()|0;O()|0}dc(d);T(a|0);L()}v[d+1048>>2]=b;gc(b,v[a+1048>>2],c<<4);return d|0}function _t(a,b){var c=0,d=0,e=0;d=Qb-16|0;c=d;b=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);t[c+11|0]=b;t[c+12|0]=b>>>8;t[c+13|0]=b>>>16;t[c+14|0]=b>>>24;a:{if(!a){break a}b=v[a+644>>2];if((b|0)<1){break a}c=v[a+648>>2];a=c+B(b,5)|0;while(1){b=d;e=w[b+11|0]|w[b+12|0]<<8|(w[b+13|0]<<16|w[b+14|0]<<24);b=a-5|0;if((e|0)==(w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24))){return w[a-1|0]}a=b;if(b>>>0>c>>>0){continue}break}}return 0}function UB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;f=Qb-16|0;Qb=f;g=a;d=w[a+11|0]>>>7|0?(v[a+8>>2]&2147483647)-1|0:10;h=d;if(w[a+11|0]>>>7|0){e=v[a+4>>2]}else{e=w[a+11|0]}a:{if(h-e>>>0>=c>>>0){if(!c){break a}if(w[a+11|0]>>>7|0){d=v[g>>2]}else{d=g}bk(d+e|0,b,c);b=c+e|0;c=b;b:{if(w[g+11|0]>>>7|0){v[a+4>>2]=c;break b}t[a+11|0]=c}t[f+15|0]=0;t[b+d|0]=w[f+15|0];break a}Tq(a,d,(c+e|0)-d|0,e,e,0,c,b)}Qb=f+16|0;return a|0}function Lua(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Qb-16|0;Qb=d;a=ds(a);e=v[v[b>>2]+12>>2];v[299999]=0;U(e|0,d|0,b|0,c|0);b=v[299999];v[299999]=0;a:{b:{if((b|0)!=1){v[299999]=0;Q(4087,a|0,d|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}if(t[d+11|0]<=-1){dc(v[d>>2])}Qb=d+16|0;return}b=P()|0;O()|0;break a}b=P()|0;O()|0;if(t[d+11|0]>-1){break a}dc(v[d>>2])}v[a>>2]=878696;a=v[a+4>>2];if(a){Ub[v[v[a>>2]+4>>2]](a)}T(b|0);L()}function K4a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=v[a+24>>2];c=v[b+4>>2];if(!c){if(!(Ub[v[b+12>>2]](a)|0)){return 0}c=v[b+4>>2]}d=v[b>>2];e=w[d|0];f=c-1|0;if(f){c=d+1|0}else{if(!(Ub[v[b+12>>2]](a)|0)){return 0}f=v[b+4>>2];c=v[b>>2]}d=w[c|0];g=v[a>>2];v[g+20>>2]=93;v[g+24>>2]=v[a+436>>2];d=d|e<<8;e=d-2|0;v[v[a>>2]+28>>2]=e;Ub[v[v[a>>2]+4>>2]](a,1);v[b+4>>2]=f-1;v[b>>2]=c+1;if(d>>>0>=3){Ub[v[v[a+24>>2]+16>>2]](a,e)}return 1}function I8a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:{e=v[b+36>>2];g=B(v[b+48>>2],w[b+44|0]>>>1&124|2);d=(e+g|0)+2|0;b:{if(d>>>0<=y[a+424>>2]){c=v[a+428>>2]+8|0;break b}c=Ub[v[a+152>>2]](d)|0;if(!c){break a}e=v[b+36>>2]}f=c;if(e){f=gc(c,v[b+40>>2],e)+v[b+36>>2]|0}t[f|0]=0;t[f+1|0]=w[b+44|0];if(v[b+48>>2]){gc(f+2|0,v[b+52>>2],g)}b=_d(a,v[b>>2],d,c);if(y[a+424>>2]>>0){Ub[v[a+156>>2]](c,d)}return b|0}pc(a,1,0,0);return 1}function l1a(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;f=Qb-16|0;Qb=f;Rg(a,v[a+8>>2]);g=v[a>>2];v[f+12>>2]=g;h=v[a+8>>2];a:{if(h>>>0<=g>>>0){break a}j=a;b:{if(e){i=3;if(w[g|0]!=60){break a}v[f+12>>2]=g+1;k=d,l=c_(f+12|0,h,b,c),v[k>>2]=l;b=v[f+12>>2];v[a>>2]=b;if(w[b|0]!=62&b>>>0>2]){break a}a=b+1|0;break b}k=d,l=c_(f+12|0,h,b,c),v[k>>2]=l;a=v[f+12>>2]}v[j>>2]=a;i=0}Qb=f+16|0;return i|0}function ah(a){var b=0,c=0,d=0,e=0,f=0,g=0;e=v[a+4>>2];a:{if((e|0)<=0){b=v[a+12>>2];break a}b=v[a+12>>2];while(1){g=f<<2;d=g+b|0;c=v[d>>2];if(c){while(1){v[d>>2]=v[c+8>>2];b:{if(!v[a>>2]){break b}b=v[c>>2];if(!b){break b}dc(Dc(b))}dc(c);b=v[a+12>>2];d=g+b|0;c=v[d>>2];if(c){continue}break}e=v[a+4>>2]}f=f+1|0;if((f|0)<(e|0)){continue}break}}v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)!=1){return a}W(0)|0;O()|0;lc();L()}function Qbb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(v[a+588>>2]>=1){d=v[a+636>>2]+v[a+616>>2]|0;c=v[a+644>>2];while(1){b=w[d|0]|w[d+1|0]<<8;b=(b<<8|b>>>8)&65535;e=b<<8|b>>>8;t[c|0]=e;t[c+1|0]=e>>>8;b=b<<8|b>>>8;t[c+2|0]=b;t[c+3|0]=b>>>8;t[c+4|0]=b;t[c+5|0]=b>>>8;b=w[d+2|0]|w[d+3|0]<<8;b=(b<<8|b>>>8)&65535;b=b<<8|b>>>8;t[c+6|0]=b;t[c+7|0]=b>>>8;c=c+8|0;d=d+4|0;f=f+1|0;if((f|0)>2]){continue}break}}t[a+649|0]=0;return 0}function NR(a){a=a|0;var b=0,c=0;v[a>>2]=967968;a:{b=v[a+34068>>2];if((b|0)!=v[282356]){v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a+34076>>2];if((b|0)!=v[282392]){v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a+8>>2];if(b){c=v[b+32>>2];v[299999]=0;uc(c);c=v[299999];v[299999]=0;if((c|0)==1){break a}dc(b)}b=v[a+4>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}return a|0}W(0)|0;O()|0;lc();L()}function LNa(){var a=0,b=0;a=v[294170];if(!(!a|!w[a|0])){_e(a)}v[294171]=0;v[294170]=0;a:{a=v[294173];if(a){if(w[a+8|0]){b=v[a>>2];v[299999]=0;R(2744,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}_V(a)}v[294168]=0;v[294173]=0;a=v[294176];if(a){if(w[a+8|0]){b=v[a>>2];v[299999]=0;R(2744,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}_V(a)}v[294176]=0;a=v[294174];if(a){_e(a);v[294174]=0}return 1}W(0)|0;O()|0;lc();L()}function tW(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}b=v[a>>2];if(b){if(v[a+20>>2]?1:v[a+16>>2]){b=-1;while(1){c=v[a+28>>2];b:{while(1){b=b+1|0;if((c|0)<=(b|0)){break b}d=v[a>>2]+B(b,12)|0;if(v[d>>2]<0){continue}break}c=v[a+16>>2];c:{if(!c){break c}e=v[d+8>>2];if(!e){break c}Ub[c|0](e)}c=v[a+20>>2];if(!c){continue}d=v[d+4>>2];if(!d){continue}Ub[c|0](d);continue}break}b=v[a>>2]}_e(b);v[a>>2]=0}if(!w[a+49|0]){break a}_e(a)}}function oEa(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;f=Qb-16|0;Qb=f;d=v[a+1044>>2]-1|0;d=(d|0)>0?d:0;g=A[a+16>>3];h=A[a+24>>3];e=A[b>>3];e=eh?h:e;i=v[a+1052>>2];while(1){a:{b=j;if((d|0)==(b|0)){b=d;break a}j=b+1|0;if(!(e>3])){continue}}break}d=b<<3;A[f+8>>3]=A[v[a+1056>>2]+(b<<4)>>3]+(e-A[d+i>>3])*A[d+v[a+1060>>2]>>3];a=v[v[a+1048>>2]+(b<<2)>>2];Ub[v[v[a>>2]+16>>2]](a,f+8|0,c);Qb=f+16|0}function nI(a,b,c,d,e){var f=0,g=0,h=0;f=Qb-16|0;Qb=f;a:{if(!a|(((a?v[a+8>>2]:-1)|0)!=1|(b|0)>4)){break a}if((c|0)>4|(d|0)>4|(e|0)>4){break a}if((b|0)<=0){h=Xe(0,a);break a}g=I$();if(!g){break a}h=sA(a,b,g);v[f+12>>2]=h;if((c|0)>0){a=sA(h,c,g);v[f+8>>2]=a;dd(f+12|0);if((d|0)<=0){dc(g);h=v[f+8>>2];break a}a=sA(a,d,g);v[f+4>>2]=a;dd(f+8|0);if((e|0)<=0){dc(g);h=v[f+4>>2];break a}h=sA(a,e,g);dd(f+4|0)}dc(g)}Qb=f+16|0;return h}function mR(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(a>>>0<=127){if((c|0)<1){return 0}t[b|0]=a;return 1}a:{if(a>>>0<=2047){if((c|0)<2){break a}t[b+1|0]=a&63|128;t[b|0]=(a>>>6|0)+-64;return 2}if(a>>>0<=65535){if((c|0)<3){break a}t[b+2|0]=a&63|128;t[b|0]=(a>>>12|0)-32;t[b+1|0]=a>>>6&63|128;return 3}if((c|0)<4|a>>>0>1114111){break a}t[b+3|0]=a&63|128;t[b|0]=(a>>>18|0)-16;t[b+2|0]=a>>>6&63|128;t[b+1|0]=a>>>12&63|128;d=4}return d|0}function ce(a,b){a=a|0;b=b|0;var c=0,d=0;d=a;a:{b:{if((d^b)&3){break b}if(b&3){while(1){c=w[b|0];t[d|0]=c;if(!c){break a}d=d+1|0;b=b+1|0;if(b&3){continue}break}}c=v[b>>2];if((c^-1)&c-16843009&-2139062144){break b}while(1){v[d>>2]=c;c=v[b+4>>2];d=d+4|0;b=b+4|0;if(!(c-16843009&(c^-1)&-2139062144)){continue}break}}c=w[b|0];t[d|0]=c;if(!c){break a}while(1){c=w[b+1|0];t[d+1|0]=c;d=d+1|0;b=b+1|0;if(c){continue}break}}return a|0}function Zl(a,b,c,d){var e=0,f=0;a:{b:{if(!((b|0)<0|(2147483647-c|0)<(b|0)|v[a+12>>2]<(b+c|0))){if((c|0)<1){return 0}e=v[a+8>>2];a=c&3;if(c-1>>>0>=3){break b}c=0;d=0;break a}v[d>>2]=0;return 0}d=c&-4;c=0;while(1){f=c;c=c+4|0;d=d-4|0;if(d){continue}break}d=w[((f|3)+b|0)+e|0]|(w[((f|2)+b|0)+e|0]|(w[(b+f|0)+e|0]<<16|w[((f|1)+b|0)+e|0]<<8))<<8}if(a){while(1){d=w[(b+c|0)+e|0]|d<<8;c=c+1|0;a=a-1|0;if(a){continue}break}}return d}function Vo(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{if(v[a+44>>2]|!b){break a}d=v[a+52>>2];c=(c|0)<(d|0)?c:d;a=B(v[a+16>>2],3);a=(a|0)>(c|0)?c:a;if((a|0)<1){break a}a=a-1|0;d=((a>>>0)/3|0)+1|0;f=d&1;c=0;if(a>>>0>=3){d=d&2147483646;while(1){a=b+c|0;e=w[a+2|0];t[a+2|0]=w[a|0];t[a|0]=e;e=w[a+3|0];t[a+3|0]=w[a+5|0];t[a+5|0]=e;c=c+6|0;d=d-2|0;if(d){continue}break}}if(!f){break a}a=b+c|0;b=w[a+2|0];t[a+2|0]=w[a|0];t[a|0]=b}}function Cc(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;g=6;a:{b:{if((c|0)<0|(d|0)<0|(b|0)<0){break b}if(!(b?d:0)){if(!e){break a}Ub[v[a+8>>2]](a,e);break a}g=10;if((2147483647/(b>>>0)|0)<(d|0)){break b}c:{if(!c){e=Ub[v[a+4>>2]](a,B(b,d))|0;g=!e<<6;break c}a=Ub[v[a+12>>2]](a,B(b,c),B(b,d),e)|0;e=a?a:e;g=!a<<6}if(g|!e|(c|0)>=(d|0)){break b}g=0;ic(B(b,c)+e|0,0,B(d-c|0,b))}v[f>>2]=g;return e|0}v[f>>2]=0;return 0}function UEa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;v[a+4>>2]=b;b=ed(b,4);v[a>>2]=b;c=v[a+4>>2];a:{if((c|0)<1){break a}v[b>>2]=0;if((c|0)==1){break a}d=c-1|0;e=d&3;b=1;if(c-2>>>0>=3){d=d&-4;while(1){c=b<<2;v[c+v[a>>2]>>2]=0;v[(c+v[a>>2]|0)+4>>2]=0;v[(c+v[a>>2]|0)+8>>2]=0;v[(c+v[a>>2]|0)+12>>2]=0;b=b+4|0;d=d-4|0;if(d){continue}break}}if(!e){break a}while(1){v[v[a>>2]+(b<<2)>>2]=0;b=b+1|0;e=e-1|0;if(e){continue}break}}return a|0}function GR(a,b){var c=0,d=0;a:{if(w[a+9|0]!=16){break a}c=B(v[a>>2],w[a+10|0]);if(!c){break a}a=c&3;if(c-1>>>0>=3){c=c&-4;while(1){d=w[b+1|0];t[b+1|0]=w[b|0];t[b|0]=d;d=w[b+2|0];t[b+2|0]=w[b+3|0];t[b+3|0]=d;d=w[b+4|0];t[b+4|0]=w[b+5|0];t[b+5|0]=d;d=w[b+6|0];t[b+6|0]=w[b+7|0];t[b+7|0]=d;b=b+8|0;c=c-4|0;if(c){continue}break}}if(!a){break a}while(1){c=w[b+1|0];t[b+1|0]=w[b|0];t[b|0]=c;b=b+2|0;a=a-1|0;if(a){continue}break}}}function nS(a,b){var c=0;Rh(v[a+88>>2]);Rh(v[a+92>>2]);Rh(v[a+96>>2]);Rh(v[a+100>>2]);Rh(v[a+104>>2]);Rh(v[a+108>>2]);Rh(v[a+112>>2]);Rh(v[a+116>>2]);Rh(v[a+120>>2]);Rh(v[a+124>>2]);Rh(v[a+128>>2]);Rh(v[a+132>>2]);Rh(v[a+136>>2]);b=1<>2];if((b|0)==v[c+4>>2]){Rh(c);return}dc(Vc(c));c=fc(8);v[299999]=0;Q(3695,c|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){v[a+140>>2]=c;return}a=P()|0;O()|0;dc(c);T(a|0);L()}function kib(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:{if(v[a+20>>2]){while(1){c=v[b+8>>2];if(c&7){return-1}e=w[v[a+24>>2]+d|0];f=v[b+64>>2];if(!((f|0)<0|v[b+60>>2]<(f|0))){v[b+8>>2]=c|4;return-1}v[b+4>>2]=v[b+4>>2]|32;c=v[b+28>>2];v[b+28>>2]=c-1;b:{if((c|0)>=1){v[b+60>>2]=v[b+60>>2]+1;c=v[b+24>>2];v[b+24>>2]=c+1;t[c|0]=e;break b}c=-1;if((Fc(b,e)|0)==-1){break a}}d=d+1|0;if(d>>>0>2]){continue}break}}c=0}return c|0}function $ga(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;if(!(!f|!e)){d=h<<2;while(1){f=f-1|0;a=e;while(1){c=w[l|0];v[b>>2]=c<<24|((B(w[i|0],c)+127&65535)>>>0)/255|((B(w[j|0],c)+127&65535)>>>0)/255<<8|((B(w[k|0],c)+127&65535)>>>0)/255<<16;b=b+4|0;k=k+1|0;j=j+1|0;i=i+1|0;l=l+1|0;a=a-1|0;if(a){continue}break}l=g+l|0;k=g+k|0;j=g+j|0;i=g+i|0;b=b+d|0;if(f){continue}break}}}function era(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=Qb-16|0;Qb=b;a:{if(v[a+12>>2]>=16){d=a+8|0;while(1){f=0;c=v[a+16>>2];v[b+12>>2]=d;v[b+8>>2]=c;e=c;if(!c){v[b+4>>2]=d;v[b>>2]=0;break a}while(1){g=v[v[e+8>>2]+72>>2];if(g>>>0>>0){v[b+12>>2]=d;v[b+8>>2]=e;f=g;c=e}e=v[e>>2];if(e){continue}break}v[b+4>>2]=d;v[b>>2]=c;if(!c){break a}eQ(v[c+8>>2]);Mm(d,b+8|0);if(v[a+12>>2]>15){continue}break}}Qb=b+16|0;return}Ei(b,d);L()}function Sfa(a){a=a|0;var b=0,c=0,d=0;d=v[a+12>>2];if(d){c=(v[d+20>>2]<<4)+32|0;b=v[d+24>>2];if(b){while(1){c=c+8164|0;b=v[b>>2];if(b){continue}break}}d=c+24|0}else{d=24}b=v[a+16>>2];if(b){c=(v[b+20>>2]<<4)+32|0;b=v[b+24>>2];if(b){while(1){c=c+8164|0;b=v[b>>2];if(b){continue}break}}d=c+d|0}a=v[a+20>>2];if(a){c=(v[a+20>>2]<<4)+32|0;b=v[a+24>>2];if(b){while(1){c=c+8164|0;b=v[b>>2];if(b){continue}break}}d=c+d|0}return d|0}function Nu(a){var b=0,c=0,d=0;if(a){b=v[a+32>>2];if(b){d=v[b+80>>2]}a:{if(!v[294265]){break a}c=v[294263];if(!c){break a}Ub[c|0](a);b=v[a+32>>2]}if(!(!b|v[a+40>>2]!=2)){LU(b,a)}b=v[a+12>>2];if(b){hl(b)}c=v[a+8>>2];b:{if(!c){break b}if(d){while(1){b=v[d+16>>2];if(b){while(1){if(c>>>0<=y[b+4>>2]&c>>>0>=b+20>>>0){break b}b=v[b>>2];if(b){continue}break}}d=v[d+20>>2];if(d){continue}break}}Ub[v[259708]](c)}Ub[v[259708]](a)}}function wY(a){var b=0,c=0,d=0,e=0;b=v[a+104>>2];if(b){c=b-1|0;v[a+104>>2]=c;d=v[a+112>>2]+(b<<2)|0;while(1){e=a;d=d-4|0;b=v[d>>2];if(b){dc(b);c=v[a+104>>2]}b=c;c=b-1|0;v[e+104>>2]=c;if(b){continue}break}}c=v[a+112>>2];if(c){dc(c)}b=v[a+84>>2];if(b){c=b-1|0;v[a+84>>2]=c;d=v[a+92>>2]+(b<<2)|0;while(1){e=a;d=d-4|0;b=v[d>>2];if(b){dc(b);c=v[a+84>>2]}b=c;c=b-1|0;v[e+84>>2]=c;if(b){continue}break}}a=v[a+92>>2];if(a){dc(a)}}function o4a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=v[a>>2];d=v[f+140>>2];c=v[b+8>>2];g=v[f+32>>2];e=v[b+16>>2];if(e){c=(B(c,e)+36|0)/72|0}e=c+32>>6;c=7;a:{b:{c:{switch(v[b>>2]){case 0:c=23;if((e|0)==v[g+12>>2]+32>>6){break b}break a;case 1:break c;default:break a}}c=23;if((e|0)!=(v[d+44>>2]+v[d+40>>2]|0)){break a}}c=0;pl(f,0);v[a+24>>2]=v[d+40>>2]<<6;v[a+28>>2]=0-(v[d+44>>2]<<6);v[a+36>>2]=x[d+4>>1]<<6}return c|0}function nYa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;v[d>>2]=0;v[d+4>>2]=0;e=v[a+496>>2];if(e){h=d;a=v[e+36>>2];e=(a+(v[e+40>>2]<<4)|0)-16|0;a:{if(a>>>0<=e>>>0){c=b<<16|c;while(1){f=(e-a>>4)/2|0;b=(f<<4)+a|0;g=v[b>>2]<<16|v[b+4>>2];if((c|0)==(g|0)){a=(f<<4)+a|0;v[d>>2]=v[a+8>>2];a=v[a+12>>2];break a}f=c>>>0>g>>>0;a=f?b+16|0:a;e=f?e:b-16|0;if(a>>>0<=e>>>0){continue}break}}v[d>>2]=0;a=0}v[h+4>>2]=a}return 0}function i6(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;a:{if((c|0)>=1){while(1){g=v[a+600>>2];e=v[a+608>>2];f=(c+e|0)>(g|0)?g-e|0:c;if((f|0)<=0){break a}d=b;h=v[a+604>>2];if((h|0)!=(b|0)){oe(h,b,f);g=v[a+600>>2];e=v[a+608>>2];d=v[a+604>>2]}e=e+f|0;v[a+608>>2]=e;v[a+604>>2]=d+f;b:{if((e|0)<(g|0)){break b}if(Ae(a)){break b}return-1}b=b+f|0;c=c-f|0;if((c|0)>0){continue}break}}return 1}X(8086,10856,48,84418);L()}function bJ(a,b,c,d){var e=0;e=Qb+-64|0;Qb=e;v[e+24>>2]=0;v[e+28>>2]=0;v[e+56>>2]=0;v[e+60>>2]=0;v[e+48>>2]=0;v[e+52>>2]=0;v[e+40>>2]=0;v[e+44>>2]=0;v[e+32>>2]=0;v[e+36>>2]=0;v[e+24>>2]=d;v[e+16>>2]=0;v[e+20>>2]=0;v[e+12>>2]=b;v[e+8>>2]=a;v[e+20>>2]=c;a=-101;a:{if(Yu(e+8|0,3416,56)){break a}b:{while(1){b=Mj(e+8|0,1);if((b|0)==1){break b}if(!(v[e+24>>2]?b:1)){continue}break}if(b>>>0>1){break a}}a=0}Qb=e- -64|0;return a}function U8a(a,b){a=a|0;b=b|0;var c=0,d=0;d=v[a+428>>2];c=v[b+32>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+8|0]=c;t[d+9|0]=c>>>8;t[d+10|0]=c>>>16;t[d+11|0]=c>>>24;c=v[b+36>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+12|0]=c;t[d+13|0]=c>>>8;t[d+14|0]=c>>>16;t[d+15|0]=c>>>24;t[d+16|0]=w[b+40|0];t[d+17|0]=w[b+41|0];t[d+18|0]=w[b+42|0];t[d+19|0]=w[b+43|0];t[d+20|0]=w[b+44|0];return _d(a,v[b>>2],13,d+8|0)|0}function zH(a,b){var c=0,d=0,e=0,f=0,g=0;c=b&-4;if(c){while(1){e=(w[(d|3)+a|0]|(w[(d|1)+a|0]<<16|w[a+d|0]<<24|w[(d|2)+a|0]<<8))+e|0;d=d+4|0;if(c>>>0>d>>>0){continue}break}}if((b|0)!=(c|0)){d=0;a:{if(b>>>0<=c>>>0){break a}f=b&1;if((0-b|0)!=(c^-1)){b=(b&3)-f|0;while(1){g=c<<3&16;d=w[(c|1)+a|0]<<(g^16)|(w[a+c|0]<<(g^24)|d);c=c+2|0;b=b-2|0;if(b){continue}break}}if(!f){break a}d=w[a+c|0]<<((c<<3^-1)&24)|d}e=d+e|0}return e}function xOa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=Qb-16|0;Qb=d;c=w[b+11|0];f=v[b>>2];e=v[b+4>>2];v[d+12>>2]=0;v[d+8>>2]=0;g=b;b=c<<24>>24<0;ll(b?f:g,b?e:c,d+12|0,d+8|0,0);c=v[d+8>>2];if(c>>>0<4294967280){f=v[d+12>>2];a:{b:{if(c>>>0>=11){e=c+16&-16;b=fc(e);v[a+8>>2]=e|-2147483648;v[a>>2]=b;v[a+4>>2]=c;a=b;break b}t[a+11|0]=c;if(!c){break a}}gc(a,f,c)}t[a+c|0]=0;a=v[d+12>>2];if(a){dc(a)}Qb=d+16|0;return}$d(a);L()}function s2a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{if(!c){break a}v[c>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;if(!a){break a}d=v[a+4>>2];if(!d){break a}d=v[d+24>>2];if(!d){break a}Ub[d|0](a,c);if((b&-3)==1){v[c>>2]=v[c>>2]&-64;v[c+4>>2]=v[c+4>>2]&-64;v[c+8>>2]=v[c+8>>2]+63&-64;v[c+12>>2]=v[c+12>>2]+63&-64}if((b&-2)!=2){break a}v[c>>2]=v[c>>2]>>6;v[c+4>>2]=v[c+4>>2]>>6;v[c+8>>2]=v[c+8>>2]>>6;v[c+12>>2]=v[c+12>>2]>>6}}function Sca(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=Qb-16|0;Qb=e;while(1){a:{if((c|0)<=(f|0)){break a}d=v[a+24>>2];g=v[a+28>>2];if(d>>>0>=g>>>0){if((Ub[v[v[a>>2]+52>>2]](a,w[b|0])|0)==-1){break a}f=f+1|0;b=b+1|0}else{v[e+12>>2]=g-d;v[e+8>>2]=c-f;d=Qb-16|0;Qb=d;Qb=d+16|0;d=e+8|0;g=e+12|0;d=v[(v[d>>2]>2]?d:g)>>2];bk(v[a+24>>2],b,d);v[a+24>>2]=d+v[a+24>>2];f=d+f|0;b=b+d|0}continue}break}Qb=e+16|0;return f|0}function zca(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=Qb-16|0;Qb=c;a:{b=v[a+64>>2];if(b){v[c+4>>2]=5482;b=Mf(c+8|0,b,c+4|0);e=v[v[a>>2]+24>>2];v[299999]=0;e=S(e|0,a|0)|0;d=v[299999];v[299999]=0;if((d|0)==1){break a}d=v[b>>2];v[b>>2]=0;d=Be(d);v[a+64>>2]=0;f=v[v[a>>2]+12>>2];v[299999]=0;Y(f|0,a|0,0,0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break a}LM(b);a=d|e?0:a}else{a=0}Qb=c+16|0;return a|0}a=P()|0;O()|0;LM(b);T(a|0);L()}function mpa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=Qb-32|0;Qb=d;a:{c=v[a+8>>2];if((c|0)>=65536){a=vc(d+8|0,283659,240885,158,344499,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}b=P()|0;O()|0;qc(a);T(b|0);L()}b=v[b>>2];Ql(b,c&255);Ql(b,w[a+9|0]);e=b;c=v[a+12>>2];if(c){c=v[c+8>>2]}else{c=0}Qt(e,c);KD(b,a+12|0);e=b;c=v[a+20>>2];if(c){c=v[c+8>>2]}else{c=0}jQ(e,c);KD(b,a+20|0);Qb=d+32|0;return}L()}function iP(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=Qb-32|0;Qb=d;c=a+148|0;if(!(v[c>>2]&1|v[c>>2]&2|v[c>>2]&4)){nP(a);e=1}a:{b:{if(!b){break b}if(w[a+144|0]){while(1){if(!(v[c>>2]&1)){break b}while(1){if(v[c>>2]&1){continue}break}if(w[a+144|0]){continue}break}}a=vc(d+8|0,231625,242011,164,226800,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}b=P()|0;O()|0;qc(a);T(b|0);L()}Qb=d+32|0;return e|0}L()}function WRa(a,b,c){a=a|0;b=C(b);c=C(c);var d=0,e=0,f=0,g=C(0),h=C(0),i=0;h=b;b=z[a+264>>2];f=v[a+280>>2]-1|0;g=C(f|0);b=C(C(C(h-b)*g)/C(z[a+268>>2]-b));a:{if(b=C(0)){d=~~b>>>0;break a}d=0}i=d>>>0>f>>>0;b=z[a+272>>2];b=C(C(C(c-b)*g)/C(z[a+276>>2]-b));b:{if(b=C(0)){e=~~b>>>0;break b}e=0}b=C(M);if(!((e|0)<0|i|((d|0)<0|e>>>0>f>>>0))){b=z[v[v[a+248>>2]+B(d,12)>>2]+(e<<2)>>2]}return C(b)}function Jg(a){var b=0,c=0,d=0,e=0;e=v[a+60>>2];a:{if(e){break a}b=v[a+968>>2];if(b){c=v[a+484>>2];b:{if((c|0)>0){while(1){b=v[(d<<2)+b>>2];if(b){Ub[v[v[b>>2]+4>>2]](b);c=v[a+484>>2]}b=v[a+968>>2];d=d+1|0;if((d|0)<(c|0)){continue}break}if(!b){break b}}dc(b)}v[a+484>>2]=0;v[a+968>>2]=0}b=v[a+960>>2];if(b){dc(b);v[a+960>>2]=0}b=v[a+964>>2];if(b){dc(b);v[a+964>>2]=0}b=v[a+4>>2];if(!b){break a}dc(b);v[a+4>>2]=0}return!e}function GJ(a,b,c){var d=0,e=0,f=0,g=0,h=0;if(a){f=v[b+88>>2]+B(c,1876)|0;if(v[f+420>>2]>-1){b=0;while(1){g=b;d=B(b,112)+a|0;c=v[d+76>>2];a:{if(!c){break a}b=0;e=v[a+72>>2];if((e|0)>0){while(1){c=(b<<4)+c|0;h=v[c+12>>2];if(h){dc(h);v[c+12>>2]=0;e=v[a+72>>2]}c=v[d+76>>2];b=b+1|0;if((e|0)>(b|0)){continue}break}if(!c){break a}}dc(c);v[d+76>>2]=0}b=g+1|0;if(v[f+420>>2]>(g|0)){continue}break}}b=v[a>>2];if(b){dc(b)}dc(a)}}function f8(){var a=0;a:{if(t[1200616]&1){break a}if(!Je(1200616)){break a}a=1200448;while(1){a=ge(a)+12|0;if((a|0)!=1200616){continue}break}Ie(1200616)}Qe(1200448,220270);Qe(1200460,220277);Qe(1200472,220243);Qe(1200484,220251);Qe(1200496,220234);Qe(1200508,220284);Qe(1200520,220261);Qe(1200532,244697);Qe(1200544,248075);Qe(1200556,275668);Qe(1200568,292202);Qe(1200580,225093);Qe(1200592,264541);Qe(1200604,234153)}function XS(a,b,c,d){var e=0;e=1;a:{b:{c:{d:{switch(qu(v[a+4>>2])|0){case 2:e=2;break c;case 3:e=8;break c;case 4:case 5:e=d?10:5;break c;case 6:e=3;break c;case 7:e=9;break c;case 0:case 1:break c;case 8:break d;default:break b}}e=d?10:5}if(d){if(e>>>0<7){break b}break a}if(e>>>0<7){break a}}dc(Dc(a));return 0}d=fc(48);v[d+40>>2]=-1;A[d+24>>3]=c;v[d+20>>2]=b;v[d+16>>2]=a;v[d+4>>2]=e;v[d>>2]=1;v[d+32>>2]=0;return d}function KTa(a){a=a|0;var b=0,c=0,d=0,e=0;b=v[a+8>>2];e=a+12|0;if((b|0)!=(e|0)){while(1){c=v[b+28>>2];Ub[v[v[c>>2]+12>>2]](c)|0;c=b;d=v[b+4>>2];a:{if(!d){b=v[c+8>>2];if((c|0)==v[b>>2]){break a}c=c+8|0;while(1){d=v[c>>2];c=d+8|0;b=v[d+8>>2];if((d|0)!=v[b>>2]){continue}break}break a}while(1){b=d;d=v[b>>2];if(d){continue}break}}if((b|0)!=(e|0)){continue}break}}ts(a+8|0,v[a+12>>2]);v[a+8>>2]=e;v[a+12>>2]=0;v[a+16>>2]=0}function GF(a){a=a|0;var b=0,c=0,d=0,e=0;d=-1;a:{if(!a){break a}b=v[a+64>>2];if(!b){break a}d=0;if(v[b+4>>2]!=1){break a}c=v[a+68>>2];b:{if(!c){c=v[b+48>>2];if(c){v[a+68>>2]=c;break b}b=v[b+44>>2];if(!b){break a}v[a+68>>2]=b;break b}e=v[c+4>>2]-2|0;if(e){if((e|0)!=16){break a}c=v[c>>2];if(c){v[a+68>>2]=c;break b}b=v[b+44>>2];if(!b){break a}v[a+68>>2]=b;break b}b=v[c+24>>2];if(!b){break a}v[a+68>>2]=b}d=1}return d|0}function Bha(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Qb+-64|0;Qb=c;v[c+56>>2]=0;v[c+48>>2]=0;v[c+52>>2]=0;v[c+40>>2]=0;v[c+44>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;d=Un(c+32|0,982916);v[299999]=0;e=Q(5175,c|0,d|0)|0;f=v[299999];v[299999]=0;a:{b:{if((f|0)!=1){v[299999]=0;U(5176,a|0,b|0,c|0);a=v[299999];v[299999]=0;if((a|0)==1){break b}id(e);id(d);Qb=c- -64|0;return}a=P()|0;O()|0;break a}a=P()|0;O()|0;id(e)}id(d);T(a|0);L()}function uka(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;var j=0;if(!(!f|!e)){d=x[a+26>>1];j=B(g,d);a=v[a+56>>2];h=h<<2;while(1){f=f-1|0;g=e;while(1){c=w[i+3|0]^255;v[b>>2]=w[a+((B(c,w[i+1|0]^255)>>>0)/255|0)|0]<<8|w[a+((B(w[i|0]^255,c)>>>0)/255|0)|0]|w[a+((B(w[i+2|0]^255,c)>>>0)/255|0)|0]<<16|-16777216;i=d+i|0;b=b+4|0;g=g-1|0;if(g){continue}break}i=i+j|0;b=b+h|0;if(f){continue}break}}}function jy(a,b,c){var d=0,e=0;v[b>>2]=0;v[c>>2]=0;d=v[a>>2];a:{if((d|0)<4){break a}while(1){e=v[a+4>>2]+d|0;b:{if(!mc(e-4|0,321587)){d=d-4|0;lk(a,d,4);v[b>>2]=1;break b}c:{if((d|0)>=6){if(!mc(e-6|0,322067)){d=d-6|0;lk(a,d,6);v[c>>2]=1;break b}if((d|0)<7){break c}if(mc(e-7|0,311779)){break c}d=d-7|0;lk(a,d,7);break b}if((d|0)!=5){break a}}if(mc(e-5|0,316242)){break a}d=d-5|0;lk(a,d,5)}if((d|0)>3){continue}break}}} +function Gw(a,b){a=a|0;b=b|0;var c=0,d=0;b=!v[a+24>>2]|b;v[a+16>>2]=b;if(b&v[a+20>>2]){c=Qb-16|0;Qb=c;b=ra(16)|0;a=Qb-16|0;Qb=a;a:{if(t[1200004]&1){break a}if(!Je(1200004)){break a}Ie(1200004)}v[a+12>>2]=1130276;v[a+8>>2]=1;d=v[a+12>>2];c=c+8|0;v[c>>2]=v[a+8>>2];v[c+4>>2]=d;Qb=a+16|0;v[299999]=0;Y(5447,b|0,240387,c|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){qa(b|0,1010752,5448);L()}a=P()|0;O()|0;ta(b|0);T(a|0);L()}}function E$a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=v[a+24>>2];v[a+48>>2]=b;d=v[a+28>>2];v[a+52>>2]=d;e=v[a+8>>2];f=e+v[a>>2]|0;v[a+8>>2]=f>>1;c=b;b=v[a+16>>2];c=c+b|0;v[a+40>>2]=c>>1;b=b+e|0;e=b+f|0;v[a+16>>2]=e>>2;b=b+c|0;v[a+32>>2]=b>>2;c=d;d=v[a+20>>2];f=c+d|0;v[a+44>>2]=f>>1;c=v[a+12>>2];g=c+v[a+4>>2]|0;v[a+12>>2]=g>>1;v[a+24>>2]=b+e>>3;b=d+c|0;d=b+f|0;v[a+36>>2]=d>>2;b=b+g|0;v[a+20>>2]=b>>2;v[a+28>>2]=b+d>>3}function CP(a){var b=0,c=0,d=0;c=Qb-32|0;Qb=c;a:{if(!w[a+89|0]){a=vc(c+8|0,231584,241010,286,226767,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}b=P()|0;O()|0;qc(a);T(b|0);L()}b=1;d=a+92|0;b:{if(!(v[d>>2]&1)){break b}if(v[a+56>>2]-3>>>0<=1){a=v[a+48>>2];b=(v[a+48>>2]-v[a+44>>2]|0)+1|0;break b}if(!(v[d>>2]&4)){break b}a=v[a+112>>2];b=(v[a+68>>2]-v[a- -64>>2]|0)+1|0}Qb=c+32|0;return b}L()}function vs(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=v[a>>2];g=ve(b);d=w[a+11|0];e=d<<24>>24<0;d=e?v[a+4>>2]:d;if(d>>>0>=c>>>0){if(!g){return c}f=e?f:a;e=f+(d<<2)|0;c=f+(c<<2)|0;a=e-c>>2;a:{b:{if((g|0)>(a|0)){break b}d=v[b>>2];while(1){h=a-g|0;a=h+1|0;if(a>>>0>>0){break b}a=sf(c,d,a);if(!a){break b}if(!od(a,b,g)){break a}c=a+4|0;a=e-c>>2;if((g|0)<=(a|0)){continue}break}}a=e}a=(a|0)==(e|0)?-1:a-f>>2}else{a=-1}return a}function hla(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Qb-16|0;Qb=d;a:{b:{if(!(!v[a+8>>2]|v[a+20>>2]>=v[a+28>>2]|v[a+24>>2]>=v[a+32>>2])){SO(b,a+8|0,1,v[a+52>>2],c);break b}a=d+8|0;RO(a,1);v[299999]=0;Q(4437,b|0,a|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break a}a=d+8|0;ec(a);QO(a,1);v[299999]=0;Q(4437,b|0,a|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break a}ec(d+8|0)}Qb=d+16|0;return}a=P()|0;O()|0;ec(d+8|0);T(a|0);L()}function gba(a){a=a|0;var b=0,c=0,d=0,e=0;d=Qb+-64|0;Qb=d;e=x[a+88>>1];b=v[282620];a:{if(b){while(1){c=v[b+4>>2];if(x[c+4>>1]==(e|0)){break a}b=v[b>>2];if(b){continue}break}}if(v[256968]){c=1027872;while(1){if(x[c+4>>1]==(e|0)){break a}b=v[c+12>>2];c=c+12|0;if(b){continue}break}}c=0}v[d+16>>2]=x[a+88>>1];zd(d+32|0,38745,d+16|0);b=v[a>>2];e=v[a+628>>2];v[d>>2]=c?v[c>>2]:d+32|0;zc(e,b,40217,d);Qb=d- -64|0;return 0}function eFa(){var a=0;a=v[260998];if(a){dc(Vc(a))}a=v[261005];if(a){dc(Vc(a))}a=v[261012];if(a){dc(Vc(a))}a=v[261019];if(a){dc(Vc(a))}a=v[261026];if(a){dc(Vc(a))}a=v[261033];if(a){dc(Vc(a))}a=v[261040];if(a){dc(Vc(a))}a=v[261047];if(a){dc(Vc(a))}a=v[261054];if(a){dc(Vc(a))}a=v[261061];if(a){dc(Vc(a))}a=v[261068];if(a){dc(Vc(a))}a=v[261075];if(a){dc(Vc(a))}a=v[261082];if(a){dc(Vc(a))}a=v[261089];if(a){dc(Vc(a))}}function DYa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:{if(!w[a+733|0]){break a}d=v[a+736>>2];if(!d){break a}if(!w[d+32|0]){e=ZY(a,0);d=v[a+736>>2];v[d+36>>2]=e}if(!w[d+33|0]){return v[d+36>>2]}d=v[d+40>>2];e=v[d+28>>2];b:{if(e){f=e;e=v[d+20>>2];e=(b>>>0>>0?b:e-1|0)<<2;b=v[f+e>>2];f=v[e+v[d+24>>2]>>2];break b}e=6;if(y[v[d+4>>2]>>2]<=b>>>0){break a}}g=c,h=pH(a,d,f,b)+v[c>>2]|0,v[g>>2]=h;e=0}return e|0}function CYa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:{if(!w[a+733|0]){break a}d=v[a+736>>2];if(!d){break a}if(!w[d+44|0]){e=ZY(a,1);d=v[a+736>>2];v[d+48>>2]=e}if(!w[d+45|0]){return v[d+48>>2]}d=v[d+52>>2];e=v[d+28>>2];b:{if(e){f=e;e=v[d+20>>2];e=(b>>>0>>0?b:e-1|0)<<2;b=v[f+e>>2];f=v[e+v[d+24>>2]>>2];break b}e=6;if(y[v[d+4>>2]>>2]<=b>>>0){break a}}g=c,h=pH(a,d,f,b)+v[c>>2]|0,v[g>>2]=h;e=0}return e|0}function RB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;f=Qb-16|0;Qb=f;d=a;if(w[d+11|0]>>>7|0){e=(v[d+8>>2]&2147483647)-1|0}else{e=1}a:{if(e>>>0>=c>>>0){if(w[d+11|0]>>>7|0){e=v[d>>2]}else{e=d}Dl(e,b,c);v[f+12>>2]=0;v[e+(c<<2)>>2]=v[f+12>>2];b:{if(w[d+11|0]>>>7|0){v[a+4>>2]=c;break b}t[a+11|0]=c}break a}g=d;h=e;e=c-e|0;if(w[d+11|0]>>>7|0){d=v[a+4>>2]}else{d=w[a+11|0]}Sq(g,h,e,d,0,d,c,b)}Qb=f+16|0;return a|0}function Ni(a,b){var c=0,d=0,e=0;a:{c=v[b>>2];d=c+v[a>>2]|0;if((d|0)>v[a+4>>2]){if((c|0)<=-1){break a}c=v[a+8>>2];b:{if(!c){c=jc(d<<2);break b}c=uh(c,d<<2)}if(!c){return-1}v[a+4>>2]=d;v[a+8>>2]=c;c=v[b>>2]}if((c|0)<1){return 0}c=v[a>>2];d=0;while(1){e=v[v[b+8>>2]+(d<<2)>>2];v[e>>2]=v[e>>2]+1;v[v[a+8>>2]+(c<<2)>>2]=e;c=c+1|0;v[a>>2]=c;d=d+1|0;if((d|0)>2]){continue}break}return 0}X(24710,6744,706,188339);L()}function KLa(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;a:{if((e|0)<1){break a}h=v[a+28>>2];if(!h){break a}g=v[v[a+408>>2]+8>>2];while(1){i=e-1|0;j=v[v[c>>2]+(d<<2)>>2];a=v[b>>2];f=0;while(1){t[f+j|0]=v[((w[a+2|0]<<2)+g|0)+2048>>2]+(v[((w[a+1|0]<<2)+g|0)+1024>>2]+v[(w[a|0]<<2)+g>>2]|0)>>>16;a=a+3|0;f=f+1|0;if((h|0)!=(f|0)){continue}break}d=d+1|0;b=b+4|0;a=(e|0)>1;e=i;if(a){continue}break}}}function Cta(a,b){a=a|0;b=b|0;var c=0,d=0;v[a+4>>2]=0;v[a+8>>2]=0;d=a+16|0;c=d;v[c>>2]=0;v[c+4>>2]=0;v[a>>2]=a+4;c=a+28|0;v[c>>2]=0;v[c+4>>2]=0;v[a+12>>2]=d;v[a+24>>2]=c;v[299999]=0;c=ph(b);d=v[299999];v[299999]=0;a:{if((d|0)==1){break a}if(!c){v[299999]=0;V(4276,a|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}return a|0}b=P()|0;O()|0;Yn(a+24|0,v[a+28>>2]);Ut(a+12|0,v[a+16>>2]);Yn(a,v[a+4>>2]);T(b|0);L()}function qra(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=Qb-16|0;Qb=e;d=fc(36);v[d+8>>2]=1;v[d+4>>2]=0;v[d+20>>2]=0;v[d+12>>2]=0;v[d+16>>2]=0;v[d>>2]=982056;v[299999]=0;Z(4407,d+28|0,d+24|0,0,4)|0;f=v[299999];v[299999]=0;if((f|0)==1){a=P()|0;O()|0;Qc(d);dc(d);T(a|0);L()}v[a>>2]=0;Wc(a,d);v[299999]=0;$(4434,e+8|0,d|0,b|0,c|0);b=v[299999];v[299999]=0;if((b|0)==1){b=P()|0;O()|0;ec(a);T(b|0);L()}ec(e+8|0);Qb=e+16|0}function peb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(v[a+588>>2]>=1){c=v[a+540>>2];c=((v[c+1176>>2]+B(v[c+1168>>2],v[a+572>>2])|0)+B(v[c+1164>>2],v[a+580>>2])|0)+1|0;d=v[a+636>>2]+v[a+616>>2]|0;while(1){f=c;if(!(b&255)){g=w[d|0];d=d+1|0;b=128}t[f|0]=b&g?-1:0;c=c+2|0;b=(b&254)>>>1|0;e=e+1|0;if((e|0)>2]){continue}break}}v[a+2556>>2]=v[a+2556>>2]+1;a:{if(v[a+968>>2]){b=Wj(a);if(b){break a}}b=0}return b|0}function keb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(v[a+588>>2]>=1){c=v[a+540>>2];c=((v[c+1176>>2]+B(v[c+1168>>2],v[a+572>>2])|0)+B(v[c+1164>>2],v[a+580>>2])|0)+3|0;d=v[a+636>>2]+v[a+616>>2]|0;while(1){f=c;if(!(b&255)){g=w[d|0];d=d+1|0;b=128}t[f|0]=b&g?-1:0;c=c+4|0;b=(b&254)>>>1|0;e=e+1|0;if((e|0)>2]){continue}break}}v[a+2556>>2]=v[a+2556>>2]+1;a:{if(v[a+968>>2]){b=Wj(a);if(b){break a}}b=0}return b|0}function bw(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;while(1){g=(e<<2)+a|0;b=v[g+20>>2];if(b){c=v[b>>2];if((c|0)>=1){while(1){f=v[b+8>>2];c=c-1|0;h=c<<2;d=v[f+h>>2];i=v[d>>2];v[d>>2]=i-1;if((i|0)<=1){Ub[v[v[d+4>>2]>>2]](d);dc(d);f=v[b+8>>2];c=v[b>>2]-1|0}v[f+h>>2]=0;v[b>>2]=c;if((c|0)>0){continue}break}}c=v[b+8>>2];if(c){dc(c)}dc(b);v[g+20>>2]=0}e=e+1|0;if((e|0)!=13){continue}break}b=v[a+16>>2];if(b){Bm(b)}dc(a)}function Xj(a,b,c){var d=0,e=0;e=-1;a:{b:{if(Gg(a,v[c>>2])){break b}if(v[v[c+104>>2]+8>>2]){d=di(0,0);if(!d){break b}if(Ub[v[v[c+104>>2]+8>>2]](c,b,d)|0){break a}e=ui(d);if((e|0)<=-1){break a}v[c+4>>2]=e;if((Df(d,0,0)|0)<0){break a}if(Gg(a,v[c+4>>2]+2|0)){break a}if((Cm(a,d,v[c+4>>2])|0)<=-1){break a}Te(d)}if(v[c>>2]==65361){v[b>>2]=v[c+48>>2]}e=0;if(v[282952]<1){break b}jB(c,v[252391])}return e}Te(d);return-1}function Dgb(a){a=a|0;var b=0,c=0,d=0;a=v[a+52>>2];b=Ub[v[v[a>>2]+20>>2]](a,2)|0;Ub[v[v[a>>2]+20>>2]](a,1)|0;a:{if((b|0)<4){break a}c=b-3|0;d=b+1&3;if(d){while(1){Ub[v[v[a>>2]+20>>2]](a,1)|0;c=c-1|0;d=d-1|0;if(d){continue}break}}if(b-4>>>0<=2){break a}while(1){Ub[v[v[a>>2]+20>>2]](a,1)|0;Ub[v[v[a>>2]+20>>2]](a,1)|0;Ub[v[v[a>>2]+20>>2]](a,1)|0;Ub[v[v[a>>2]+20>>2]](a,1)|0;b=(c|0)>4;c=c-4|0;if(b){continue}break}}}function Awa(a){a=a|0;var b=0,c=0,d=0,e=0;c=v[a+296>>2];b=v[a+300>>2];a:{if(c>>>0>=b>>>0){d=a+40|0;v[a+300>>2]=d;v[a+296>>2]=d;c=v[a+304>>2]+(b-d|0)|0;v[a+304>>2]=c;if(v[a+32>>2]){e=v[a+36>>2]+v[a+28>>2]|0;b=-1;if((e|0)<=(c|0)){break a}b=(e|0)<(c+256|0)?e-c|0:256}else{b=256}e=v[a+24>>2];Kv(v[e>>2],c,0);d=(qg(d,1,b,v[e>>2])+a|0)+40|0;v[a+300>>2]=d;c=v[a+296>>2];b=-1;if(d>>>0<=c>>>0){break a}}b=w[c|0]}return b|0}function uRa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;c=Qb-16|0;Qb=c;a:{if(!v[b+216>>2]){NW(b);break a}v[b+192>>2]=0}while(1){b:{if(v[b+216>>2]){d=v[b+192>>2];if(d>>>0>=y[b+196>>2]){break b}v[b+192>>2]=d+1;e=v[v[b+208>>2]+(d>>>4&268435452)>>2]+((d&63)<<4)|0;f=A[e>>3];A[c+8>>3]=f;g=A[e+8>>3];A[c>>3]=g;ze(a,f,g,d?2:1);continue}d=dn(b,c+8|0,c);if(!d){break b}ze(a,A[c+8>>3],A[c>>3],d);continue}break}Qb=c+16|0}function tf(a,b){var c=0,d=0;c=Qb-32|0;Qb=c;v[c+24>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c+4>>2]=c+8;a:{d=v[a+664>>2];if(v[d>>2]==(b|0)?d:0){break a}d=v[a+656>>2];b:{if(!d){break b}v[c+16>>2]=0;v[c+8>>2]=b;d=NC(c+4|0,d,v[a+660>>2]);if(!d){v[a+664>>2]=0;break b}d=v[d>>2];v[a+664>>2]=d;if(d){break a}}a=v[a+628>>2];v[c>>2]=b;zc(a,28503,29732,c);X(32023,33505,811,28503);L()}Qb=c+32|0;return d}function p2(a){var b=0,c=0,d=0,e=0,f=0,g=0;v[a+104>>2]=-1;u[a+100>>1]=0;v[a+96>>2]=-1;v[a+72>>2]=0;b=v[a+8>>2];if((b|0)>=1){d=v[a+12>>2];while(1){c=v[d>>2];if((c|0)>=1){e=v[d+4>>2];f=0;while(1){if(v[e>>2]>=1){c=v[e+4>>2];b=0;while(1){v[c>>2]=0;c=c+4|0;b=b+1|0;if((b|0)>2]){continue}break}c=v[d>>2]}e=e+20|0;f=f+1|0;if((f|0)<(c|0)){continue}break}b=v[a+8>>2]}d=d+16|0;g=g+1|0;if((g|0)<(b|0)){continue}break}}}function OAa(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=897648;b=v[a+180>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)!=1){b=v[a+320>>2];if((b|0)>=1){while(1){d=v[((c<<2)+a|0)+188>>2];if(d){Ub[v[v[d>>2]+4>>2]](d);b=v[a+320>>2]}c=c+1|0;if((c|0)<(b|0)){continue}break}}v[a>>2]=897548;b=v[a+8>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}dc(a);return}W(0)|0;O()|0;v[a>>2]=897548;a=v[a+8>>2];if(a){Ub[v[v[a>>2]+4>>2]](a)}lc();L()}function Kba(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=C(0),g=0,h=C(0);e=Qb-16|0;Qb=e;a:{b:{c:{if((a|0)!=(b|0)){g=v[299402];v[299402]=0;pg();d=Qb-16|0;Qb=d;LC(d,a,e+12|0,0);f=gN(v[d>>2],v[d+4>>2],v[d+8>>2],v[d+12>>2]);Qb=d+16|0;a=v[299402];if(!a){break c}if(v[e+12>>2]!=(b|0)){break b}h=f;if((a|0)!=68){break a}break b}v[c>>2]=4;break a}v[299402]=g;if(v[e+12>>2]==(b|0)){break a}}v[c>>2]=4;f=h}Qb=e+16|0;return C(f)}function zh(a,b){var c=0,d=0,e=0,f=0,g=0;e=Qb-16|0;Qb=e;a:{b:{if(!af(303102,t[b|0])){v[299402]=28;break b}c=2;if(!af(b,43)){c=w[b|0]!=114}c=af(b,120)?c|128:c;c=af(b,101)?c|524288:c;d=c;g=c|64;c=w[b|0];d=(c|0)==114?d:g;d=(c|0)==119?d|512:d;v[e>>2]=438;a=Fa(a|0,((c|0)==97?d|1024:d)|32768,e|0)|0;if(a>>>0>=4294963201){v[299402]=0-a;a=-1}if((a|0)<0){break a}f=oN(a,b);if(f){break a}va(a|0)|0}f=0}Qb=e+16|0;return f}function mq(a,b){var c=0,d=0,e=0;c=Qb-16|0;Qb=c;v[c+12>>2]=0;e=dg(a,c+12|0);d=v[c+12>>2];a:{if(d){break a}b:{c:{d:{e:{e=e&255;switch(e-253|0){case 1:break c;case 2:break d;case 0:break e;default:break b}}e=Ed(a,c+12|0);d=v[c+12>>2];if(!d){break b}break a}a=dg(a,c+12|0);d=v[c+12>>2];if(d){break a}e=(a&255)+253|0;break b}a=dg(a,c+12|0);d=v[c+12>>2];if(d){break a}e=(a&255)+506|0}u[b>>1]=e;d=0}Qb=c+16|0;return d}function Sba(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=Qb-16|0;Qb=e;a:{b:{if((a|0)!=(b|0)){g=v[299402];v[299402]=0;d=xM(a,e+12|0,d,pg());a=Tb;f=v[299402];c:{if(f){if(v[e+12>>2]!=(b|0)){break c}if((f|0)==68){break b}break a}v[299402]=g;if(v[e+12>>2]==(b|0)){break a}}}v[c>>2]=4;d=0;a=0;break a}v[c>>2]=4;if((a|0)>=0&d>>>0>=1|(a|0)>0){d=-1;a=2147483647;break a}d=0;a=-2147483648}Qb=e+16|0;Tb=a;return d|0}function oO(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=v[b>>2];e=Ub[v[v[c>>2]+16>>2]](c)|0;c=fc(40);v[c+8>>2]=1;v[c+4>>2]=0;v[c>>2]=982100;a:{d=v[b>>2];if(d){v[299999]=0;v[d+4>>2]=v[d+4>>2]+1;d=v[299999];v[299999]=0;if((d|0)==1){break a}f=v[b>>2]}v[c+16>>2]=f;v[c+12>>2]=f;v[c+36>>2]=0;v[c+24>>2]=0;v[c>>2]=990912;v[c+32>>2]=e;v[c+28>>2]=e;u[c+20>>1]=0;v[a>>2]=0;Wc(a,c);return}a=P()|0;O()|0;Ti(c);dc(c);T(a|0);L()}function XWa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=v[b+8>>2];f=v[a>>2];g=v[f+32>>2];e=v[f+132>>2];d=v[b+16>>2];if(d){c=(B(c,d)+36|0)/72|0}d=c+32>>6;c=7;a:{b:{c:{switch(v[b>>2]){case 0:c=23;if((d|0)==v[g+12>>2]+32>>6){break b}break a;case 1:break c;default:break a}}c=23;if((d|0)!=x[e+96>>1]){break a}}c=0;pl(f,0);b=x[e+80>>1];v[a+24>>2]=b<<6;v[a+28>>2]=b-x[e+96>>1]<<6;v[a+36>>2]=x[e+102>>1]<<6}return c|0}function Sr(a){var b=0,c=0,d=0,e=0;if(v[a+8>>2]>0){while(1){b=v[a>>2];e=d<<6;c=b+e|0;c=w[c+20|0]|w[c+21|0]<<8|(w[c+22|0]<<16|w[c+23|0]<<24);if(c){dc(c);b=v[a>>2]}c=b+e|0;c=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);if(c){dc(c);b=v[a>>2]}b=b+e|0;b=w[b+4|0]|w[b+5|0]<<8|(w[b+6|0]<<16|w[b+7|0]<<24);if(b){dc(b)}d=d+1|0;if((d|0)>2]){continue}break}}b=v[a>>2];if(b){dc(b)}b=v[a+4>>2];if(b){dc(b)}return a}function PAa(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=897648;b=v[a+180>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)!=1){b=v[a+320>>2];if((b|0)>=1){while(1){d=v[((c<<2)+a|0)+188>>2];if(d){Ub[v[v[d>>2]+4>>2]](d);b=v[a+320>>2]}c=c+1|0;if((c|0)<(b|0)){continue}break}}v[a>>2]=897548;b=v[a+8>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}return a|0}W(0)|0;O()|0;v[a>>2]=897548;a=v[a+8>>2];if(a){Ub[v[v[a>>2]+4>>2]](a)}lc();L()}function BB(a,b,c){var d=0,e=0;a:{d=v[a+8>>2]+((b>>>0)%y[a>>2]<<2)|0;b=v[d>>2];b:{if(b){a=v[b>>2];break b}a=v[a+4>>2];b=bd(1,24);if(!b){break a}a=(a|0)<1?50:a;e=bd(a,4);v[b+20>>2]=e;if(!e){break a}v[b+16>>2]=1065353216;v[b+8>>2]=1;v[b>>2]=a;v[d>>2]=b}d=b+20|0;e=v[b+4>>2];c:{if((e|0)<(a|0)){a=v[d>>2];break c}a=vj(d,a<<2,a<<3);v[d>>2]=a;if(!a){break c}v[b>>2]=v[b>>2]<<1}z[(e<<2)+a>>2]=c;v[b+4>>2]=v[b+4>>2]+1}}function daa(a,b){a=a|0;b=b|0;var c=0,d=0;d=Qb-16|0;Qb=d;v[a>>2]=0;v[a+4>>2]=0;v[d+12>>2]=0;v[299999]=0;c=a+8|0;v[c>>2]=0;t[c+128|0]=0;c=v[299999];v[299999]=0;a:{if((c|0)!=1){Qb=d+16|0;d=a;break a}W(0)|0;O()|0;lc();L()}b:{if(!b){break b}v[299999]=0;V(5662,a|0,b|0);c=v[299999];v[299999]=0;if((c|0)!=1){v[299999]=0;cC(a,b);b=v[299999];v[299999]=0;if((b|0)!=1){break b}}a=P()|0;O()|0;QL(d);T(a|0);L()}return a|0}function d4a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=v[a+20>>2];h=v[a+16>>2];a:{b:{if(h){e=v[b>>2]+1|0;a=h>>>1|0;g=h;while(1){d=c+g>>>1|0;d=a>>>0>=g>>>0?d:a>>>0>>0?d:a;f=v[(d<<3)+i>>2];if((f|0)==(e|0)){c=d;break b}a=(e+d|0)-f|0;f=e>>>0>>0;c=f?c:d+1|0;g=f?d:g;if(c>>>0>>0){continue}break}}e=0;if(c>>>0>=h>>>0){break a}e=v[(c<<3)+i>>2]}j=x[((c<<3)+i|0)+4>>1]+1&65535}v[b>>2]=e;return j|0}function _7(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;if((c|0)>=1){a=v[a+12>>2];while(1){d=v[a>>2];u[b>>1]=d>>>16;f=b;e=(+((d&255)>>>0)+.5)*.0024390243902439024*32768;a:{if(D(e)<2147483648){g=~~e;break a}g=-2147483648}u[f+4>>1]=g;f=b;e=(+((d>>>8&255)>>>0)+.5)*.0024390243902439024*32768;b:{if(D(e)<2147483648){d=~~e;break b}d=-2147483648}u[f+2>>1]=d;a=a+4|0;b=b+6|0;d=(c|0)>1;c=c-1|0;if(d){continue}break}}}function W1a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=v[b+8>>2];d=v[a>>2];f=v[d+32>>2];e=v[b+16>>2];if(e){c=(B(c,e)+36|0)/72|0}e=c+32>>6;c=7;a:{b:{c:{switch(v[b>>2]){case 0:c=23;if((e|0)==v[f+12>>2]+32>>6){break b}break a;case 1:break c;default:break a}}c=23;if((e|0)!=(v[d+208>>2]+v[d+204>>2]|0)){break a}}c=0;pl(d,0);v[a+24>>2]=v[d+204>>2]<<6;v[a+28>>2]=0-(v[d+208>>2]<<6);v[a+36>>2]=u[d+236>>1]<<6}return c|0}function QHa(a){a=a|0;var b=0,c=0,d=0;v[a+4>>2]=0;v[a+8>>2]=0;c=a+4|0;v[a>>2]=c;v[299999]=0;d=S(3084,a+12|0)|0;b=v[299999];v[299999]=0;a:{b:{if((b|0)!=1){v[299999]=0;b=Qb-16|0;Qb=b;Qb=b+16|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}Vp(a,v[a+4>>2]);v[a>>2]=c;v[a+4>>2]=0;v[a+8>>2]=0;return a|0}c=P()|0;O()|0;break a}c=P()|0;O()|0;b=v[d>>2];if(b){Ub[v[v[b>>2]+4>>2]](b);v[d>>2]=0}}Vp(a,v[a+4>>2]);T(c|0);L()}function z7a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if(v[c>>2]!=1766015824){pc(a,2050,0,0);return 2050}t[b+32|0]=w[c+32|0];e=v[c+36>>2];v[b+36>>2]=e;t[b+44|0]=w[c+44|0];d=v[c+48>>2];v[b+48>>2]=d;a:{if(e){d=Ub[v[a+152>>2]](e)|0;v[b+40>>2]=d;if(!d){break a}gc(d,v[c+40>>2],v[b+36>>2]);d=v[b+48>>2]}if(d){d=Ub[v[a+152>>2]](d)|0;v[b+52>>2]=d;if(!d){break a}gc(d,v[c+52>>2],v[b+48>>2])}return 0}pc(a,1,0,0);return 1}function df(a){a=a|0;var b=0,c=0;b=v[a+536>>2];if(b){c=v[b+88>>2];v[a+540>>2]=c;t[b+32|0]=1;t[c+34|0]=1}a:{b:{b=v[a+608>>2];if(!b){break b}b=Ub[v[a+152>>2]](b)|0;v[a+636>>2]=b;if(!b){break a}b=Ub[v[a+152>>2]](v[a+608>>2])|0;v[a+640>>2]=b;if(b){break b}break a}b=Ub[v[a+152>>2]](v[a+316>>2]<<3)|0;v[a+644>>2]=b;if(!b){break a}c:{if(v[a+968>>2]){a=Ps(a,1,1,0);if(a){break c}}a=0}return a|0}pc(a,1,0,0);return 1}function ZN(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=998064;v[299999]=0;R(5393,a|0);b=v[299999];v[299999]=0;a:{if((b|0)!=1){v[a>>2]=998096;b=v[a+8>>2];v[a+8>>2]=0;b:{if(!b){break b}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break b}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}Qc(a);return a|0}W(0)|0;O()|0;Vw(a);lc();L()}W(0)|0;O()|0;lc();L()}function Nia(a,b){a=a|0;b=b|0;var c=0,d=0;c=Qb-32|0;Qb=c;a:{if(!(v[b>>2]>2]&v[b+4>>2]>2])){a=vc(c+8|0,328523,241056,348,343138,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}b=P()|0;O()|0;qc(a);T(b|0);L()}d=v[b+4>>2];v[a+16>>2]=v[b>>2];v[a+20>>2]=d;d=v[b+12>>2];v[a+24>>2]=v[b+8>>2];v[a+28>>2]=d;v[a+44>>2]=0;v[a+48>>2]=1;v[a+36>>2]=0;v[a+40>>2]=1;Qb=c+32|0;return}L()}function G2a(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=6;b=Bc(c);f=b+6|0;a:{b:{if((b|0)<=-6){if(f){break a}a=0;break b}a=v[a>>2];a=Ub[v[a+4>>2]](a,f)|0;if(!a){return 64}ic(a,0,f)}g=0;c=gc(a,c,b);a=c+b|0;b=w[292848]|w[292849]<<8;t[a+4|0]=b;t[a+5|0]=b>>>8;b=w[292844]|w[292845]<<8|(w[292846]<<16|w[292847]<<24);t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24;v[d>>2]=c;v[e>>2]=0}return g|0}function ERa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;v[a+16>>2]=c;v[a>>2]=466364;v[a+4>>2]=2;d=hm(a+20|0);v[a+28>>2]=-16777216;v[a+32>>2]=-16777216;v[299999]=0;c=S(1,32)|0;e=v[299999];v[299999]=0;a:{b:{if((e|0)!=1){v[299999]=0;Q(2492,c|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}t[a+36|0]=255;v[a+24>>2]=0;v[a+12>>2]=1;v[a+8>>2]=c;return a|0}a=P()|0;O()|0;break a}a=P()|0;O()|0;dc(c)}Cd(d);T(a|0);L()}function jL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;f=Qb-16|0;Qb=f;d=a;if(w[d+11|0]>>>7|0){e=(v[d+8>>2]&2147483647)-1|0}else{e=10}a:{if(e>>>0>=c>>>0){if(w[d+11|0]>>>7|0){e=v[d>>2]}else{e=d}Bn(e,b,c);t[f+15|0]=0;t[c+e|0]=w[f+15|0];b:{if(w[d+11|0]>>>7|0){v[a+4>>2]=c;break b}t[a+11|0]=c}break a}g=d;h=e;e=c-e|0;if(w[d+11|0]>>>7|0){d=v[a+4>>2]}else{d=w[a+11|0]}Tq(g,h,e,d,0,d,c,b)}Qb=f+16|0;return a|0}function bGa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:{if(b>>>0>2147482623){break a}e=b;d=v[a+1032>>2];if(!((d|0)<=(b|0)&(b+4|0)<=(v[a+1036>>2]+d|0))){d=0;if(zg(v[a+4>>2],b,0)){break a}v[a+1032>>2]=b;b=qg(a+8|0,1,1024,v[a+4>>2]);v[a+1036>>2]=b;if((b|0)<4){break a}d=v[a+1032>>2]}a=(e-d|0)+a|0;a=w[a+8|0]|w[a+9|0]<<8|(w[a+10|0]<<16|w[a+11|0]<<24);v[c>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);d=1}return d|0}function Wra(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{c=Ub[v[v[b>>2]+28>>2]](b)|0;if((c|0)>=1){a=oQ(a,c-1|0);v[299999]=0;d=S(4398,a|0)|0;e=v[299999];v[299999]=0;if((e|0)!=1){e=v[v[b>>2]+32>>2];v[299999]=0;Z(e|0,b|0,d|0,c|0,0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){break a}}c=P()|0;O()|0;v[a>>2]=981312;b=v[a+4>>2];if(b){d=v[b+4>>2]-1|0;v[b+4>>2]=d;if(!d){Ub[v[v[b>>2]+4>>2]](b)}v[a+4>>2]=0}T(c|0);L()}oQ(a,-1)}}function H4(a,b){a=a|0;b=b|0;if((b|0)==5){b=jc(148);v[a+584>>2]=b;if(b){v[b+144>>2]=0;v[b+96>>2]=0;v[b+116>>2]=0;v[b+80>>2]=v[a+8>>2];v[a+556>>2]=557;v[a+548>>2]=557;v[a+540>>2]=557;v[a+520>>2]=558;v[a+516>>2]=559;v[a+572>>2]=560;v[a+560>>2]=561;v[a+552>>2]=561;v[a+544>>2]=561;v[a+536>>2]=562;v[a+532>>2]=563;v[a+524>>2]=564;xB(a);return 1}zc(v[a+628>>2],88224,9804,0);return 0}X(2840,6139,1062,88224);L()}function Fga(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Qb-32|0;Qb=d;a:{b:{if(!(v[a+36>>2]>0?v[a+24>>2]:0)){b=vc(d+8|0,325600,241788,505,339027,0);break b}if(v[a+32>>2]<=v[a+28>>2]){break a}b=vc(d+8|0,276532,241788,507,339027,0)}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)==1){a=P()|0;O()|0;qc(b);T(a|0)}L()}e=v[a+16>>2];b=Ub[v[v[e>>2]+12>>2]](e,b,c)|0;v[a+28>>2]=b+v[a+28>>2];Qb=d+32|0;return b|0}function Eq(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;a:{b=v[a+4>>2];if(!b){break a}a=v[a+44>>2];if(!a){break a}g=a&1;b=b+40|0;e=a-1|0;f=255/(e>>>0)|0;b:{if(!e){a=0;break b}e=a&-2;a=0;while(1){d=b+(a<<2)|0;c=B(a,f);t[d+1|0]=c;t[d+2|0]=c;t[d|0]=c;c=a|1;d=b+(c<<2)|0;c=B(c,f);t[d+1|0]=c;t[d+2|0]=c;t[d|0]=c;a=a+2|0;e=e-2|0;if(e){continue}break}}if(!g){break a}b=b+(a<<2)|0;a=B(a,f);t[b+1|0]=a;t[b+2|0]=a;t[b|0]=a}}function ls(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=v[a+4>>2];if((d|0)>=0){i=a;a:{if(v[a>>2]==(d|0)){A[b>>3]=A[a+16>>3];A[c>>3]=A[a+24>>3];e=1;a=d-1|0;break a}if(!d){A[b>>3]=A[a+32>>3];A[c>>3]=A[a+40>>3];e=2;a=-1;break a}f=A[a+64>>3];g=f+A[a+48>>3];A[a+48>>3]=g;h=A[a+72>>3];A[a+72>>3]=h+A[a+88>>3];A[a+56>>3]=h+A[a+56>>3];A[a+64>>3]=f+A[a+80>>3];A[b>>3]=g;A[c>>3]=A[a+56>>3];e=2;a=d-1|0}v[i+4>>2]=a}return e}function Mdb(a){a=a|0;var b=0,c=0,d=0;b=v[v[a+536>>2]+88>>2];b=(v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0;c=v[a+644>>2];a:{b:{c:{switch(w[a+2253|0]){case 0:case 4:break a;case 1:break c;default:break b}}if(v[a+588>>2]<=0){break b}while(1){t[b|0]=w[c|0]+w[b|0];c=c+1|0;b=b+1|0;d=d+1|0;if((d|0)<(B(v[a+588>>2],3)|0)){continue}break}}return 0}gc(b,c,B(v[a+588>>2],3));return 0}function jB(a,b){var c=0,d=0,e=0,f=0,g=0;d=Qb-32|0;Qb=d;e=v[a>>2];c=1032720;while(1){f=c;g=v[c>>2];if((g|0)!=(e|0)){c=f+24|0;if((g|0)>-1){continue}}break}v[d+20>>2]=v[f+4>>2];v[d+16>>2]=e;wc(b,8012,d+16|0);c=v[a>>2];a:{if(!(c-65426>>>0<2|(c|0)==65359|((c|0)==65497|(c&-16)==65328))){v[d>>2]=v[a+4>>2]+2;wc(b,11251,d);c=v[v[a+104>>2]+12>>2];if(c){Ub[c|0](a,b)|0;break a}ff(10,b);break a}ff(10,b)}Qb=d+32|0}function V7a(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[b+32>>2];a:{if(!c){break a}d=v[b+36>>2];if(!d){break a}Ub[v[a+156>>2]](d,c+1|0)}c=v[b+44>>2];b:{if(!c){break b}d=v[b+48>>2];if(!d){break b}Ub[v[a+156>>2]](d,c+1|0)}c=v[b+52>>2];c:{if(!c){break c}d=v[b+56>>2];if(!d){break c}Ub[v[a+156>>2]](d,c+1|0)}c=v[b+60>>2];d:{if(!c){break d}d=v[b+64>>2];if(!d){break d}Ub[v[a+156>>2]](d,c)}Ub[v[a+156>>2]](b,68);return 0}function Bm(a){var b=0,c=0,d=0,e=0;c=v[a+112>>2];if(c){b=v[c+8>>2];if(b){d=v[c>>2];if((d|0)>=1){while(1){b=v[b+4>>2];e=v[b>>2];v[b>>2]=e-1;if((e|0)<=1){d=v[v[b+8>>2]>>2];if(d){Ub[d|0](b)}dc(b);d=v[c>>2]}a:{b=d-1|0;if((b|0)<=0){v[c>>2]=b;break a}d=v[c+8>>2];Wd(d,d+8|0,b<<3);b=v[c>>2];d=b-1|0;v[c>>2]=d;if((b|0)<2){break a}b=v[c+8>>2];continue}break}b=v[c+8>>2]}dc(b)}dc(c)}b=v[a+108>>2];if(b){dc(b)}dc(a)}function xbb(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=791}if(v[a+536>>2]){c=a;a:{if(w[a+288|0]){b=792;if(w[a+2272|0]){break a}}b=793}v[c+984>>2]=b}v[a+580>>2]=0;v[a+584>>2]=8;v[a+572>>2]=0;v[a+576>>2]=8;t[a+568|0]=0;v[a+600>>2]=2;v[a+592>>2]=1;v[a+596>>2]=3;v[a+652>>2]=1;t[a+648|0]=0;c=v[a+316>>2];b=c+7>>>3|0;v[a+588>>2]=b;v[a+608>>2]=v[a+616>>2]+(c+3>>>2|0);v[a+604>>2]=b+3>>>2;return df(a)|0}function vbb(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=794}if(v[a+536>>2]){c=a;a:{if(w[a+288|0]){b=795;if(w[a+2272|0]){break a}}b=796}v[c+984>>2]=b}v[a+580>>2]=0;v[a+584>>2]=8;v[a+572>>2]=0;v[a+576>>2]=8;t[a+568|0]=0;v[a+600>>2]=1;v[a+592>>2]=1;v[a+596>>2]=1;v[a+652>>2]=1;t[a+648|0]=0;c=v[a+316>>2];b=c+7>>>3|0;v[a+588>>2]=b;v[a+608>>2]=v[a+616>>2]+(c+1>>>1|0);v[a+604>>2]=b+1>>>1;return df(a)|0}function rra(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;d=Qb-32|0;Qb=d;a:{b:{c:{d:{switch(c|0){case 2:c=v[a+16>>2];break c;default:b=vc(d+8|0,342090,241835,924,339372,0);break b;case 0:break c;case 1:break d}}c=v[a+12>>2]}b=b+c|0;if((b|0)>-1){break a}b=vc(d+8|0,328854,241835,928,339372,0)}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)==1){a=P()|0;O()|0;qc(b);T(a|0)}L()}v[a+12>>2]=b;Qb=d+32|0;return 0}function nn(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{if(!a){break a}c=v[a>>2];if(!c){break a}b=v[c+8>>2]-1|0;v[c+8>>2]=b;if(!b){b:{d=v[c>>2];if((d|0)<1){break b}b=v[c+12>>2];if(!b){break b}while(1){c:{if(!b){break c}f=(e<<2)+b|0;b=v[f>>2];if(!b){break c}g=v[b+16>>2]-1|0;v[b+16>>2]=g;if((g|0)<=0){dc(b);d=v[c>>2]}v[f>>2]=0}e=e+1|0;if((e|0)>=(d|0)){break b}b=v[c+12>>2];continue}}dc(v[c+12>>2]);dc(c)}v[a>>2]=0}}function kga(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;c=Qb-16|0;Qb=c;if(f){d=h<<2;while(1){h=e;while(1){Gd(v[a+68>>2],w[i|0],w[j|0],w[k|0],c+12|0,c+8|0,c+4|0);v[b>>2]=v[c+12>>2]|v[c+8>>2]<<8|v[c+4>>2]<<16|-16777216;b=b+4|0;k=k+1|0;j=j+1|0;i=i+1|0;h=h-1|0;if(h){continue}break}k=g+k|0;j=g+j|0;i=g+i|0;b=b+d|0;f=f-1|0;if(f){continue}break}}Qb=c+16|0}function Mbb(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=770}if(v[a+536>>2]){c=a;a:{if(w[a+288|0]){b=771;if(w[a+2272|0]){break a}}b=772}v[c+984>>2]=b}v[a+580>>2]=0;v[a+584>>2]=8;v[a+572>>2]=0;v[a+576>>2]=8;t[a+568|0]=0;v[a+600>>2]=2;v[a+592>>2]=1;v[a+596>>2]=3;v[a+652>>2]=1;t[a+648|0]=0;c=v[a+316>>2];b=c+7>>>3|0;v[a+588>>2]=b;v[a+608>>2]=v[a+616>>2]+(c+3>>>2|0);v[a+604>>2]=b+3>>>2;return df(a)|0}function Kma(a){a=a|0;var b=0,c=0,d=0,e=0;b=Qb-16|0;Qb=b;a:{if(v[a+8>>2]){Ch(b+8|0,a,a+8|0);break a}v[b+8>>2]=0;Wc(b+8|0,0)}b:{c=v[b+8>>2];if(!c){a=0;break b}a=v[c+(v[a+12>>2]&1?12:8)>>2];v[299999]=0;v[b+8>>2]=0;d=v[c+4>>2]-1|0;v[c+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)!=1){if(d){break b}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)!=1){break b}}W(0)|0;O()|0;lc();L()}Qb=b+16|0;return a|0}function Kbb(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=773}if(v[a+536>>2]){c=a;a:{if(w[a+288|0]){b=774;if(w[a+2272|0]){break a}}b=775}v[c+984>>2]=b}v[a+580>>2]=0;v[a+584>>2]=8;v[a+572>>2]=0;v[a+576>>2]=8;t[a+568|0]=0;v[a+600>>2]=1;v[a+592>>2]=1;v[a+596>>2]=1;v[a+652>>2]=1;t[a+648|0]=0;c=v[a+316>>2];b=c+7>>>3|0;v[a+588>>2]=b;v[a+608>>2]=v[a+616>>2]+(c+1>>>1|0);v[a+604>>2]=b+1>>>1;return df(a)|0}function Jma(a){a=a|0;var b=0,c=0,d=0,e=0;b=Qb-16|0;Qb=b;a:{if(v[a+8>>2]){Ch(b+8|0,a,a+8|0);break a}v[b+8>>2]=0;Wc(b+8|0,0)}b:{c=v[b+8>>2];if(!c){a=0;break b}a=v[c+(v[a+12>>2]&1?8:12)>>2];v[299999]=0;v[b+8>>2]=0;d=v[c+4>>2]-1|0;v[c+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)!=1){if(d){break b}v[299999]=0;R(4338,c|0);c=v[299999];v[299999]=0;if((c|0)!=1){break b}}W(0)|0;O()|0;lc();L()}Qb=b+16|0;return a|0}function FT(a){var b=0,c=0;b=v[a+16>>2];if(b){dc(Dc(b))}b=v[a+20>>2];if(b){dc(Dc(b))}v[299999]=0;R(3098,a+24|0);b=v[299999];v[299999]=0;a:{b:{if((b|0)!=1){b=v[a+40>>2];if(b){dc(Dc(b))}b=v[a+84>>2];if(b){c=v[b+16>>2];if(c){v[299999]=0;uc(c);c=v[299999];v[299999]=0;if((c|0)==1){break a}}dc(b)}v[299999]=0;R(3098,a+88|0);b=v[299999];v[299999]=0;if((b|0)!=1){break b}}break a}return a}W(0)|0;O()|0;lc();L()}function zn(a,b,c){var d=0,e=0,f=0;a:{if((c|0)<1){break a}while(1){d=v[a+8>>2];if(d&7){break a}e=v[a+64>>2];if(!((e|0)<0|(e|0)>v[a+60>>2])){v[a+8>>2]=d|4;return f}v[a+4>>2]=v[a+4>>2]|32;d=v[a+28>>2];v[a+28>>2]=d-1;b:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;d=w[b|0];e=v[a+24>>2];v[a+24>>2]=e+1;t[e|0]=d;break b}if((Fc(a,w[b|0])|0)==-1){break a}}b=b+1|0;f=f+1|0;if((f|0)!=(c|0)){continue}break}f=c}return f}function Ve(a){var b=0,c=0,d=0;b=Qb-16|0;Qb=b;o(+a);d=j(1)|0;j(0)|0;d=d&2147483647;a:{if(d>>>0<=1072243195){c=1;if(d>>>0<1044816030){break a}c=qt(a,0);break a}c=a-a;if(d>>>0>=2146435072){break a}b:{switch(WC(a,b)&3){case 0:c=qt(A[b>>3],A[b+8>>3]);break a;case 1:c=-pt(A[b>>3],A[b+8>>3],1);break a;case 2:c=-qt(A[b>>3],A[b+8>>3]);break a;default:break b}}c=pt(A[b>>3],A[b+8>>3],1)}a=c;Qb=b+16|0;return a}function MJa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;e=a;f=c;a:{g=v[d>>2];b:{if((g|0)<1){break b}e=v[b>>2];if((e|0)<6){e=a;break b}i=c+g|0;j=a+e|0;g=0;e=a;while(1){if(e>>>0>=j>>>0){break b}h=t[f|0];if((h|0)<0){break a}t[e|0]=h;e=e+1|0;f=f+1|0;if(i>>>0<=f>>>0){break b}g=e-a|0;if(v[b>>2]>(g+5|0)){continue}break}}v[b>>2]=e-a;v[d>>2]=f-c;return v[b>>2]}v[b>>2]=g;v[d>>2]=f-c;return-1}function G$a(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;f=v[a+4>>2];e=0-f|0;a:{if((e&(c+f|0)-1)!=(c|0)){break a}c=c>>v[a>>2];if((c|0)<0|c>>>0>=y[a+96>>2]){break a}c=(v[a+56>>2]+(b>>3)|0)-B(c,v[a+104>>2])|0;t[c|0]=w[c|0]|128>>>(b&7);e=0-v[a+4>>2]|0}b:{if((d&e)!=(d|0)){break b}c=d>>v[a>>2];if((c|0)<0|c>>>0>=y[a+96>>2]){break b}a=(v[a+56>>2]+(b>>3)|0)-B(c,v[a+104>>2])|0;t[a|0]=w[a|0]|128>>>(b&7)}}function C_a(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;a:{b:{c:{if(b){h=142;g=x[a+152>>1];if(!g){break b}f=v[a+156>>2];i=f+(g<<4)|0;while(1){d:{if(v[f>>2]==(b|0)){g=v[f+12>>2];if(g){break d}}f=f+16|0;if(i>>>0>f>>>0){continue}break b}break}c=v[f+8>>2]+c|0;break c}g=v[v[a+104>>2]+4>>2]}if(!e){f=g;break a}f=v[e>>2];if(f){break a}v[e>>2]=g;h=0}return h|0}return $z(v[a+104>>2],c,d,f)|0}function xya(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if((Ub[v[v[a>>2]+32>>2]](a)|0)==-1|(c|0)<0){b=e}else{a:{if((c|0)<2){break a}c=c-1|0;while(1){b:{c:{e=Ub[v[v[a>>2]+28>>2]](a)|0;switch(e+1|0){case 0:case 11:break a;case 14:break c;default:break b}}if((Ub[v[v[a>>2]+32>>2]](a)|0)!=10){break a}Ub[v[v[a>>2]+28>>2]](a)|0;break a}t[b+d|0]=e;d=d+1|0;if((c|0)!=(d|0)){continue}break}d=c}t[b+d|0]=0}return b|0}function zHa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=Qb-16|0;Qb=d;g=v[a+104>>2];f=d;e=A[b+392>>3]*255;a:{if(D(e)<2147483648){c=~~e;break a}c=-2147483648}c=(c|0)>0?c:0;v[f+12>>2]=(c|0)<255?c:255;Ub[v[v[g>>2]+152>>2]](g,d+12|0)|0;c=v[a+104>>2];f=d;e=A[b+392>>3]*255;b:{if(D(e)<2147483648){b=~~e;break b}b=-2147483648}a=(b|0)>0?b:0;v[f+8>>2]=(a|0)<255?a:255;Ub[v[v[c>>2]+168>>2]](c,d+8|0)|0;Qb=d+16|0}function gya(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=Qb-16|0;Qb=c;v[c>>2]=13;zf(a+8|0,c);b=fc(312);e=v[a+28>>2];f=v[a+32>>2];g=v[a+36>>2];a=v[a+24>>2];d=v[c+4>>2];v[b+8>>2]=v[c>>2];v[b+12>>2]=d;d=v[c+12>>2];v[b+16>>2]=v[c+8>>2];v[b+20>>2]=d;v[b>>2]=962256;v[a+4>>2]=v[a+4>>2]+1;d=b+40|0;v[b+300>>2]=d;v[b+32>>2]=f;v[b+36>>2]=g;v[b+28>>2]=e;v[b+24>>2]=a;v[b+304>>2]=e;v[b+296>>2]=d;Qb=c+16|0;return b|0}function Kdb(a){a=a|0;var b=0,c=0,d=0;b=v[v[a+536>>2]+88>>2];b=(v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0;c=v[a+644>>2];a:{b:{c:{switch(w[a+2253|0]){case 0:case 4:break a;case 1:break c;default:break b}}if(v[a+588>>2]<<1<=0){break b}while(1){t[b|0]=w[c|0]+w[b|0];c=c+1|0;b=b+1|0;d=d+1|0;if((d|0)>2]<<1){continue}break}}return 0}gc(b,c,v[a+588>>2]<<1);return 0}function EUa(a){a=a|0;var b=0,c=0;b=v[a+12>>2];if(b){Ub[v[v[b>>2]+152>>2]](b)}b=a+536|0;RB(b,457792,5);a:{if(t[a+535|0]<=-1){v[a+528>>2]=0;c=v[a+524>>2];break a}t[a+535|0]=0;c=a+524|0}v[c>>2]=0;u[a+568>>1]=0;v[a+560>>2]=0;v[a+564>>2]=0;v[a+552>>2]=0;v[a+556>>2]=0;v[a+572>>2]=0;v[a+576>>2]=0;v[a+580>>2]=0;v[a+584>>2]=0;b:{if(t[a+547|0]<=-1){v[a+540>>2]=0;b=v[a+536>>2];break b}t[a+547|0]=0}v[b>>2]=0}function Cdb(a){a=a|0;var b=0,c=0,d=0;b=v[v[a+536>>2]+88>>2];b=(v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0;c=v[a+644>>2];a:{b:{c:{switch(w[a+2253|0]){case 0:case 4:break a;case 1:break c;default:break b}}if(v[a+588>>2]<<2<=0){break b}while(1){t[b|0]=w[c|0]+w[b|0];c=c+1|0;b=b+1|0;d=d+1|0;if((d|0)>2]<<2){continue}break}}return 0}gc(b,c,v[a+588>>2]<<2);return 0}function $F(){var a=0,b=0,c=0,d=0;a=Qb-16|0;Qb=a;a:{if(v[294235]){break a}b=Ub[v[259704]](200)|0;v[294235]=b;if(!b){v[a>>2]=357026;oc(0,0,0,0,0,27,2,3,357026,0,0,0,350051,a);break a}to(323858,2966,2966);c=1176944,d=to(321474,2967,2968),v[c>>2]=d;c=1176948,d=to(321552,2969,2970),v[c>>2]=d;to(324919,2967,2971);to(334334,2972,2973);to(320688,2974,2975);to(320685,2974,2975);to(316497,0,2976)}Qb=a+16|0}function Nx(a){var b=0,c=0,d=0;b=fc(8);v[299999]=0;c=S(3312,b|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){b=v[a+32>>2];a:{if(b>>>0>=y[a+36>>2]|!w[w[b|0]+971296|0]){break a}v[a+32>>2]=b+1;gd(c,t[b|0]);b=v[a+32>>2];if(b>>>0>=y[a+36>>2]){break a}while(1){if(!w[w[b|0]+971552|0]){break a}v[a+32>>2]=b+1;gd(c,t[b|0]);b=v[a+32>>2];if(b>>>0>2]){continue}break}}return c}a=P()|0;O()|0;dc(b);T(a|0);L()}function whb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;b=-1;d=v[c+8>>2];a:{if(d&7){break a}e=w[a+12|0];b=v[c+64>>2];if(!((b|0)<0|(b|0)>v[c+60>>2])){v[c+8>>2]=d|4;return-1}v[c+4>>2]=v[c+4>>2]|32;b=-1;d=v[c+28>>2];v[c+28>>2]=d-1;b:{if((d|0)>=1){v[c+60>>2]=v[c+60>>2]+1;b=v[c+24>>2];v[c+24>>2]=b+1;t[b|0]=e;break b}if((Fc(c,e)|0)==-1){break a}}b=(zn(c,v[a+20>>2],v[a+16>>2])|0)!=v[a+16>>2]?-1:0}return b|0}function kf(a,b){var c=0,d=0,e=0,f=0;d=Qb-16|0;Qb=d;v[b>>2]=0;a:{b:{c:{d:{c=v[a+8>>2];if(y[a+4>>2]<=c+3>>>0){break d}e=v[a+20>>2];e:{if(e){if((Ub[e|0](a,c,d+12|0,4)|0)!=4){break d}c=v[a+8>>2];b=d+12|0;break e}b=v[a>>2];if(!b){break c}b=b+c|0}b=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);f=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);break b}v[b>>2]=85;break a}f=0}v[a+8>>2]=c+4}Qb=d+16|0;return f}function d7(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=Qb-16|0;Qb=d;v[d+12>>2]=b;a:{b:{c:{d:{if(w[a+11|0]>>>7|0){c=(v[a+8>>2]&2147483647)-1|0;e=v[a+4>>2];if((c|0)==(e|0)){break d}break b}e=1;c=1;b=w[a+11|0];if((b|0)!=1){break c}}mw(a,c,1,c,c,0);b=e;if(w[a+11|0]>>>7|0){break b}}c=a;t[a+11|0]=b+1;break a}c=v[a>>2];v[a+4>>2]=e+1;b=e}a=(b<<2)+c|0;v[a>>2]=v[d+12>>2];v[d+8>>2]=0;v[a+4>>2]=v[d+8>>2];Qb=d+16|0}function bra(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=dk(b);d=v[v[a+12>>2]+((c>>>0)%y[a+8>>2]<<2)>>2];a:{if(d){while(1){if((c|0)==v[d+12>>2]){if(Sk(d+16|0,b)){break a}}d=v[d+8>>2];if(d){continue}break}}d=fc(68);c=ic(d,0,68);e=kj(c+16|0,b);v[c+60>>2]=0;v[c+64>>2]=0;v[c+52>>2]=0;v[c+56>>2]=0;b=c+52|0;v[b>>2]=982500;v[b+4>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;f=c,g=dk(e),v[f+12>>2]=g;gk(a,c)}return d|0}function Zxa(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;i=v[a+32>>2];g=v[a+28>>2];f=fc(48);h=v[a+24>>2];a=v[e+12>>2];v[f+16>>2]=v[e+8>>2];v[f+20>>2]=a;a=v[e+4>>2];v[f+8>>2]=v[e>>2];v[f+12>>2]=a;v[f+44>>2]=0;v[f+24>>2]=h;v[f>>2]=962372;a=g+i|0;b=b>>>0>>0?g:a>>>0>>0?a:b;v[f+28>>2]=b;e=b+h|0;v[f+40>>2]=e;g=a-b|0;a=c?a>>>0>>0?g:d:g;v[f+32>>2]=a;v[f+36>>2]=a+e;return f|0}function Dbb(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=782}if(v[a+536>>2]){c=a;a:{if(w[a+288|0]){b=783;if(w[a+2272|0]){break a}}b=784}v[c+984>>2]=b}v[a+580>>2]=0;v[a+584>>2]=8;v[a+572>>2]=0;v[a+576>>2]=8;t[a+568|0]=0;v[a+600>>2]=0;v[a+592>>2]=3;v[a+596>>2]=0;v[a+652>>2]=3;t[a+648|0]=0;c=v[a+316>>2];b=c+7>>>3|0;v[a+588>>2]=b;v[a+608>>2]=v[a+616>>2]+B(c,3);v[a+604>>2]=B(b,3);return df(a)|0}function Bbb(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=785}if(v[a+536>>2]){c=a;a:{if(w[a+288|0]){b=786;if(w[a+2272|0]){break a}}b=787}v[c+984>>2]=b}v[a+580>>2]=0;v[a+584>>2]=8;v[a+572>>2]=0;v[a+576>>2]=8;t[a+568|0]=0;v[a+600>>2]=0;v[a+592>>2]=6;v[a+596>>2]=0;v[a+652>>2]=6;t[a+648|0]=1;c=v[a+316>>2];b=c+7>>>3|0;v[a+588>>2]=b;v[a+608>>2]=v[a+616>>2]+B(c,6);v[a+604>>2]=B(b,6);return df(a)|0}function vRa(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;f=v[d>>2]+e|0;a=v[a+332>>2]+128|0;b=v[b+84>>2];g=B(v[b+36>>2],x[c+18>>1]);h=B(v[b+4>>2],x[c+2>>1]);i=g+h|0;j=B(v[b+32>>2],x[c+16>>1]);b=B(v[b>>2],x[c>>1])+4|0;c=j+b|0;t[f|0]=w[a+(i+c>>>3&1023)|0];t[f+1|0]=w[a+(c-i>>>3&1023)|0];c=v[d+4>>2]+e|0;d=h-g|0;b=b-j|0;t[c|0]=w[a+(d+b>>>3&1023)|0];t[c+1|0]=w[a+(b-d>>>3&1023)|0]}function dib(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=Qb-32|0;Qb=d;c=v[a+20>>2];v[d+20>>2]=w[a+24|0];v[d+16>>2]=c;wc(b,50292,d+16|0);g=v[a+20>>2];if(g){c=w[a+24|0];while(1){e=c&255;c=0;if(e){while(1){v[d+8>>2]=v[v[a+28>>2]+(B(e,f)+c<<2)>>2];v[d+4>>2]=c;v[d>>2]=f;wc(b,50811,d);c=c+1|0;e=w[a+24|0];if(c>>>0>>0){continue}break}g=v[a+20>>2];c=e}f=f+1|0;if(g>>>0>f>>>0){continue}break}}Qb=d+32|0}function cw(a,b){var c=0,d=0,e=0;a:{if((b|0)<1){break a}d=b;while(1){b:{c=v[a+8>>2];c:{if(c&7){break c}e=v[a+64>>2];if(!((e|0)<0|v[a+60>>2]<(e|0))){v[a+8>>2]=c|4;break c}v[a+4>>2]=v[a+4>>2]|32;c=v[a+28>>2];v[a+28>>2]=c-1;if((c|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=v[a+24>>2];v[a+24>>2]=c+1;t[c|0]=0;break b}if((Fc(a,0)|0)!=-1){break b}}b=b-d|0;break a}c=(d|0)>1;d=d-1|0;if(c){continue}break}}return b}function Zua(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;c=v[v[a+4>>2]+12>>2]+32|0;d=v[c>>2];a:{if(!d){break a}a=c;while(1){e=v[d+16>>2]<(b|0);a=e?a:d;d=v[(e<<2)+d>>2];if(d){continue}break}if((a|0)==(c|0)|v[a+16>>2]>(b|0)){break a}c=v[a+20>>2];b=v[c>>2];if(b){v[b+12>>2]=0;v[b+16>>2]=0;a=v[b+4>>2];v[b+4>>2]=0;v[b+8>>2]=0;b=v[c>>2];if(b){Ub[v[v[b>>2]+4>>2]](b);v[c>>2]=0}}else{a=0}f=a}return f|0}function Uu(a,b){var c=0,d=0,e=0;d=Qb-16|0;Qb=d;c=-1;a:{if(v[a+32>>2]|(!b|!a)){break a}e=v[a+24>>2];c=v[a+8>>2];if(!((e|0)==(c|0)|c>>>0>2147483646)){v[a+24>>2]=c;e=c}c=v[a+4>>2];if(!((c|0)==v[a+20>>2]|c>>>0>2147483646)){v[a+20>>2]=c}c=v[b+12>>2]-v[a>>2]|0;if(e>>>0>=c>>>0){break a}v[d>>2]=239868;c=0;oc(0,0,0,0,0,29,7e3,2,239868,0,0,0,0,d);if(v[a+32>>2]){break a}v[a+32>>2]=7e3}Qb=d+16|0;return c}function Ol(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=v[b>>2];v[a+12>>2]=0;v[a>>2]=c;v[a+4>>2]=0;v[a+8>>2]=0;a:{if((a|0)==(b|0)){break a}v[a+12>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;b=v[b+8>>2];if(!b){break a}e=a+8|0;while(1){c=fc(v[c>>2]);Ub[v[v[a>>2]+12>>2]](c,b,1,0);v[c>>2]=0;d=v[a+12>>2];v[c+4>>2]=d;v[a+12>>2]=c;v[(d?d:e)>>2]=c;v[a+4>>2]=v[a+4>>2]+1;b=v[b>>2];if(!b){break a}c=v[a>>2];continue}}return a|0}function Hib(a,b,c){var d=0,e=0,f=0,g=0;g=c&63;f=g;e=f&31;if(f>>>0>=32){f=-1>>>e|0}else{f=-1>>>e|0;d=f;f=d|(1<>>0>=32){d=f<>>32-e|d<>>0>=32){d=-1<>>32-d}a=c&a;b=b&d;d=e&31;if(e>>>0>=32){c=0;a=b>>>d|0}else{c=b>>>d|0;a=((1<>>d}a=a|g;Tb=c|f;return a} +function rbb(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=800}if(v[a+536>>2]){c=a;a:{if(w[a+288|0]){b=801;if(w[a+2272|0]){break a}}b=802}v[c+984>>2]=b}v[a+580>>2]=0;v[a+584>>2]=8;v[a+572>>2]=0;v[a+576>>2]=8;t[a+568|0]=0;v[a+600>>2]=0;v[a+592>>2]=2;v[a+596>>2]=0;v[a+652>>2]=2;t[a+648|0]=0;c=v[a+316>>2];b=c+7>>>3|0;v[a+588>>2]=b;v[a+608>>2]=v[a+616>>2]+(c<<1);v[a+604>>2]=b<<1;return df(a)|0}function pbb(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=803}if(v[a+536>>2]){c=a;a:{if(w[a+288|0]){b=804;if(w[a+2272|0]){break a}}b=805}v[c+984>>2]=b}v[a+580>>2]=0;v[a+584>>2]=8;v[a+572>>2]=0;v[a+576>>2]=8;t[a+568|0]=0;v[a+600>>2]=0;v[a+592>>2]=4;v[a+596>>2]=0;v[a+652>>2]=4;t[a+648|0]=1;c=v[a+316>>2];b=c+7>>>3|0;v[a+588>>2]=b;v[a+608>>2]=v[a+616>>2]+(c<<2);v[a+604>>2]=b<<2;return df(a)|0}function nbb(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=806}if(v[a+536>>2]){c=a;a:{if(w[a+288|0]){b=807;if(w[a+2272|0]){break a}}b=692}v[c+984>>2]=b}v[a+580>>2]=0;v[a+584>>2]=8;v[a+572>>2]=0;v[a+576>>2]=8;t[a+568|0]=0;v[a+600>>2]=0;v[a+592>>2]=4;v[a+596>>2]=0;v[a+652>>2]=4;t[a+648|0]=0;c=v[a+316>>2];b=c+7>>>3|0;v[a+588>>2]=b;v[a+608>>2]=v[a+616>>2]+(c<<2);v[a+604>>2]=b<<2;return df(a)|0}function lbb(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=808}if(v[a+536>>2]){c=a;a:{if(w[a+288|0]){b=809;if(w[a+2272|0]){break a}}b=691}v[c+984>>2]=b}v[a+580>>2]=0;v[a+584>>2]=8;v[a+572>>2]=0;v[a+576>>2]=8;t[a+568|0]=0;v[a+600>>2]=0;v[a+592>>2]=8;v[a+596>>2]=0;v[a+652>>2]=8;t[a+648|0]=1;c=v[a+316>>2];b=c+7|0;v[a+604>>2]=b&-8;v[a+588>>2]=b>>>3;v[a+608>>2]=v[a+616>>2]+(c<<3);return df(a)|0}function ed(a,b){a=a|0;b=b|0;var c=0;c=Qb-48|0;Qb=c;a:{b:{c:{d:{if(!a){a=0;break d}if((b|0)<1|(a|0)<0|(2147483647/(b>>>0)|0)<=(a|0)){break c}a=B(a,b);if((a|0)<=-1){break b}if(!a){a=0;break d}a=jc(a);if(!a){break a}}Qb=c+48|0;return a|0}v[c>>2]=274019;wc(v[252391],350078,c);pa(1);L()}v[c+16>>2]=274048;wc(v[252391],350078,c+16|0);pa(1);L()}v[c+32>>2]=217973;wc(v[252391],350078,c+32|0);pa(1);L()}function Fbb(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=779}if(v[a+536>>2]){c=a;a:{if(w[a+288|0]){b=780;if(w[a+2272|0]){break a}}b=781}v[c+984>>2]=b}v[a+580>>2]=0;v[a+584>>2]=8;v[a+572>>2]=0;v[a+576>>2]=8;t[a+568|0]=0;v[a+600>>2]=0;v[a+592>>2]=2;v[a+596>>2]=0;v[a+652>>2]=2;t[a+648|0]=1;c=v[a+316>>2];b=c+7>>>3|0;v[a+588>>2]=b;v[a+608>>2]=v[a+616>>2]+(c<<1);v[a+604>>2]=b<<1;return df(a)|0}function zUa(a,b){a=a|0;b=b|0;var c=0,d=0;v[a+28>>2]=v[b+4>>2];v[a+32>>2]=v[b+8>>2];A[a+40>>3]=A[b+16>>3];t[a+48|0]=w[b+24|0];t[a+49|0]=w[b+25|0];t[a+50|0]=w[b+26|0];t[a+51|0]=w[b+27|0];c=v[a+52>>2];if(c){dc(c);v[a+52>>2]=0}c=v[b+32>>2];v[a+56>>2]=c;if(c){d=c<<3;c=fc((c|0)!=(c&536870911)?-1:d);v[a+52>>2]=c;gc(c,v[b+28>>2],d)}A[a- -64>>3]=A[b+40>>3];v[a+72>>2]=v[b+48>>2];A[a+80>>3]=A[b+56>>3]}function ix(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=v[a+32>>2];d=c;e=a;a:{b:{c:{switch((b&3)-1|0){case 0:d=(c&4?2:1)^c^4;break b;case 1:d=c^3;break b;case 2:break c;default:break a}}d=(c&4?1:2)^c^4}v[e+32>>2]=d}if((c^d)&4){v[a+44>>2]=0;v[a+48>>2]=1;v[a+36>>2]=0;v[a+40>>2]=1;f=a,g=Hib(v[a>>2],v[a+4>>2],32),v[f>>2]=g;v[a+4>>2]=Tb;f=a,g=Hib(v[a+8>>2],v[a+12>>2],32),v[f+8>>2]=g;v[a+12>>2]=Tb}}function Pdb(a){a=a|0;var b=0,c=0,d=0;b=v[v[a+536>>2]+88>>2];b=(v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0;c=v[a+644>>2];a:{b:{c:{switch(w[a+2253|0]){case 0:case 4:break a;case 1:break c;default:break b}}if(v[a+588>>2]<=0){break b}while(1){t[b|0]=w[c|0]+w[b|0]&15;c=c+1|0;b=b+1|0;d=d+1|0;if((d|0)>2]){continue}break}}return 0}gc(b,c,v[a+588>>2]);return 0}function Jab(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,j=0,k=0;a:{if(f){if(!d){break a}a=c<<1;i=b<<1;while(1){j=g;h=w[f|0];b=w[e|0];if((h|0)!=(b|0)){b=b+((B(h-b|0,i)+c|0)/(a|0)|0)|0}t[j|0]=b;h=w[f+1|0];b=w[e+1|0];if((h|0)!=(b|0)){b=b+((B(h-b|0,i)+c|0)/(a|0)|0)|0}t[j+1|0]=b;f=f+2|0;e=e+2|0;g=g+2|0;k=k+1|0;if((k|0)!=(d|0)){continue}break}break a}gc(g,e,d<<1)}return 0}function ES(a,b,c){var d=0,e=0,f=0,g=0,h=0;g=Qb-32|0;t[g+23|0]=0;d=g+23|0;while(1){if(!(!c&(f|0)>=1)){d=d-1|0;e=c;c=(c>>>0)/10|0;e=w[(e-B(c,10)|0)+74400|0];t[d|0]=e;f=f+1|0;if(d>>>0>g>>>0){continue}}break}b=b-1|0;if(!(!a|b>>>0>7)){f=0;a:{if(!d|!e){break a}g=(b<<5)+a|0;c=0;while(1){t[c+g|0]=e;f=c+1|0;e=w[d+1|0];if(!e){break a}d=d+1|0;h=c>>>0<30;c=f;if(h){continue}break}}t[((b<<5)+a|0)+f|0]=0}}function AUa(a,b){a=a|0;b=b|0;var c=0,d=0;v[b+4>>2]=v[a+28>>2];v[b+8>>2]=v[a+32>>2];A[b+16>>3]=A[a+40>>3];t[b+24|0]=w[a+48|0];t[b+25|0]=w[a+49|0];t[b+26|0]=w[a+50|0];t[b+27|0]=w[a+51|0];c=v[b+28>>2];if(c){dc(c);v[b+28>>2]=0}c=v[a+56>>2];v[b+32>>2]=c;if(c){d=c<<3;c=fc((c|0)!=(c&536870911)?-1:d);v[b+28>>2]=c;gc(c,v[a+52>>2],d)}A[b+40>>3]=A[a- -64>>3];v[b+48>>2]=v[a+72>>2];A[b+56>>3]=A[a+80>>3]}function y3(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Qb-48|0;Qb=c;v[c+32>>2]=v[a+12>>2];wc(b,35503,c+32|0);d=v[a+12>>2];a:{if((d|0)!=1){if((d|0)<=0){break a}while(1){if(!((d-3|0)>(e|0)&e>>>0>=3)){d=v[v[a+16>>2]+(e<<2)>>2];v[c+16>>2]=e;A[c+24>>3]=+(d>>>0)/65535;Ph(b,38180,c+16|0);d=v[a+12>>2]}e=e+1|0;if((e|0)<(d|0)){continue}break}break a}A[c>>3]=+y[v[a+16>>2]>>2]*.00390625;Ph(b,37023,c)}Qb=c+48|0}function xT(a,b){var c=0,d=0,e=0;c=Qb-32|0;Qb=c;v[c+16>>2]=13;v[c>>2]=13;if(v[b>>2]==7){d=1;a:{if(v[rc(v[b+8>>2],236947,c+16|0,0)>>2]!=6){break a}b=v[c+24>>2];if(v[b+12>>2]<1){d=0;break a}d=0;while(1){yc(b,e,c,0);b=xT(a,c);b:{if((b|0)<(2147483647-d|0)){d=b+d|0;break b}kc(1,-1,236775,0);d=2147483647}hc(c);e=e+1|0;b=v[c+24>>2];if((e|0)>2]){continue}break}}hc(c+16|0)}Qb=c+32|0;return d}function Sdb(a){a=a|0;var b=0,c=0,d=0;b=v[v[a+536>>2]+88>>2];b=(v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0;c=v[a+644>>2];a:{b:{c:{switch(w[a+2253|0]){case 0:case 4:break a;case 1:break c;default:break b}}if(v[a+588>>2]<=0){break b}while(1){t[b|0]=w[c|0]+w[b|0]&1;c=c+1|0;b=b+1|0;d=d+1|0;if((d|0)>2]){continue}break}}return 0}gc(b,c,v[a+588>>2]);return 0}function Rdb(a){a=a|0;var b=0,c=0,d=0;b=v[v[a+536>>2]+88>>2];b=(v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0;c=v[a+644>>2];a:{b:{c:{switch(w[a+2253|0]){case 0:case 4:break a;case 1:break c;default:break b}}if(v[a+588>>2]<=0){break b}while(1){t[b|0]=w[c|0]+w[b|0]&3;c=c+1|0;b=b+1|0;d=d+1|0;if((d|0)>2]){continue}break}}return 0}gc(b,c,v[a+588>>2]);return 0}function P6a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;if(v[c>>2]!=1347439700){pc(a,2050,0,0);return 2050}t[b+32|0]=w[c+32|0];a=v[c+36>>2];v[b+36>>2]=a;if(a){f=c+40|0;g=b+40|0;c=0;while(1){d=B(c,5);a=d+f|0;d=d+g|0;e=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);t[d|0]=e;t[d+1|0]=e>>>8;t[d+2|0]=e>>>16;t[d+3|0]=e>>>24;t[d+4|0]=w[a+4|0];c=c+1|0;if(c>>>0>2]){continue}break}}return 0}function oZ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=6;d=v[a+868>>2];a:{if(!d|x[a+648>>1]<=b>>>0){break a}e=8;b=v[d+8>>2]+(b<<1)|0;b=w[b|0]<<8|w[b+1|0];c=x[a+660>>1];if(x[d+2>>1]>>0){break a}e=0;if(!c){break a}a=v[a+672>>2];c=a+(c<<2)|0;b=v[d+4>>2]+(b<<2)|0;while(1){t[a|0]=w[b|0];t[a+1|0]=w[b+1|0];t[a+2|0]=w[b+2|0];t[a+3|0]=w[b+3|0];b=b+4|0;a=a+4|0;if(c>>>0>a>>>0){continue}break}}return e|0}function bF(a,b){var c=0,d=0,e=0,f=0,g=0;c=Qb-32|0;Qb=c;d=A[v[a+84>>2]+8>>3];d=d<=0?.1:d;A[b>>3]=d;b=v[a+40>>2];A[c+16>>3]=d;Jc(b,347759,c+16|0);b=v[a+84>>2];if(v[b>>2]==1){f=v[b+16>>2];e=v[b+20>>2];_c(v[a+40>>2],308937);if((e|0)>=1){b=0;while(1){g=v[a+40>>2];A[c>>3]=A[(b<<3)+f>>3];Jc(g,217436,c);b=b+1|0;if((e|0)!=(b|0)){continue}break}}_c(v[a+40>>2],354601)}_c(v[a+40>>2],355153);Qb=c+32|0}function Ee(a){var b=0,c=0;b=Qb-16|0;Qb=b;o(+a);c=j(1)|0;j(0)|0;c=c&2147483647;a:{if(c>>>0<=1072243195){if(c>>>0<1045430272){break a}a=pt(a,0,0);break a}if(c>>>0>=2146435072){a=a-a;break a}b:{switch(WC(a,b)&3){case 0:a=pt(A[b>>3],A[b+8>>3],1);break a;case 1:a=qt(A[b>>3],A[b+8>>3]);break a;case 2:a=-pt(A[b>>3],A[b+8>>3],1);break a;default:break b}}a=-qt(A[b>>3],A[b+8>>3])}Qb=b+16|0;return a}function uR(a,b,c){var d=0,e=0,f=0,g=0;a:{b:{c:{if(v[c>>2]!=2){c=v[c+52>>2];e=v[c+8>>2];if((e|0)<1){break a}g=v[c>>2];break c}if(v[c+8>>2]){break a}f=(A[b+24>>3]+A[b+40>>3])*.5;if(!(f>A[c+24>>3])|!(A[c+40>>3]>f)){break a}if(A[b+16>>3]<=A[c+32>>3]+A[b+56>>3]*.5){break b}break a}while(1){c=uR(a,b,v[(d<<2)+g>>2]);if(c){break b}d=d+1|0;if((e|0)!=(d|0)){continue}break}break a}return c}return 0}function ki(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=v[b>>2];if(!e){return 0}g=v[e+4>>2];a:{if(g){v[e+4>>2]=v[g+8>>2];e=v[b>>2];f=v[e+4>>2];if(f){break a}}g=v[a+12>>2];a=v[a+4>>2];while(1){f=v[e>>2]+1|0;v[e>>2]=f;if((a|0)==(f|0)){dc(e);v[b>>2]=0;return 0}v[e+4>>2]=v[g+(f<<2)>>2];e=v[b>>2];f=v[e+4>>2];if(!f){continue}break}}v[c>>2]=v[f>>2];v[d>>2]=v[v[v[b>>2]+4>>2]+4>>2];return 1}function iw(a,b,c){var d=0,e=0,f=0;f=v[c+16>>2];a:{if(f){d=f}else{if(XK(c)){break a}d=v[c+16>>2]}f=v[c+20>>2];if(d-f>>>0>>0){return Ub[v[c+36>>2]](c,a,b)|0}b:{if(t[c+75|0]<0){break b}d=b;while(1){e=d;if(!e){e=0;break b}d=e-1|0;if(w[d+a|0]!=10){continue}break}d=Ub[v[c+36>>2]](c,a,e)|0;if(d>>>0>>0){break a}a=a+e|0;b=b-e|0;f=v[c+20>>2]}gc(f,a,b);v[c+20>>2]=v[c+20>>2]+b;d=b+e|0}return d}function Yu(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=-6;a:{if(!b|w[b|0]!=49|(c|0)!=56){break a}if(!a){return-2}v[a+24>>2]=0;b=v[a+32>>2];if(!b){v[a+40>>2]=0;v[a+32>>2]=2928;b=2928}if(!v[a+36>>2]){v[a+36>>2]=2929}c=Ub[b|0](v[a+40>>2],1,7120)|0;if(!c){return-4}v[a+28>>2]=c;d=0;v[c+56>>2]=0;v[c>>2]=a;v[c+4>>2]=16180;b=KV(a,15);if(!b){break a}Ub[v[a+36>>2]](v[a+40>>2],c);v[a+28>>2]=0;d=b}return d|0}function VF(a,b,c){var d=0,e=0,f=0;if(!b){return a}if(!c){return a}if((c|0)>=0){if(!a){a=Ub[v[259707]](c+1|0)|0;if(!a){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);return 0}a=gc(a,b,c);t[a+c|0]=0;return a}if(w[a|0]){d=a;while(1){f=f+1|0;e=w[d+1|0];d=d+1|0;if(e){continue}break}}e=c+f|0;d=Ub[v[259709]](a,e+1|0)|0;if(!d){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);return a}gc(d+f|0,b,c);t[d+e|0]=0}return d}function Odb(a){a=a|0;var b=0,c=0,d=0;b=v[v[a+536>>2]+88>>2];b=(v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0;c=v[a+644>>2];a:{b:{c:{switch(w[a+2253|0]){case 0:case 4:break a;case 1:break c;default:break b}}if(v[a+588>>2]<=0){break b}while(1){t[b|0]=w[c|0]+w[b|0];c=c+1|0;b=b+1|0;d=d+1|0;if((d|0)>2]){continue}break}}return 0}gc(b,c,v[a+588>>2]);return 0}function Nka(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;if(!(!f|!e)){a=x[a+26>>1];c=a<<1;d=B(a,g)<<1;h=h<<2;while(1){f=f-1|0;g=e;while(1){a=w[i+7|0];v[b>>2]=a<<24|((B(a,w[i+1|0])+127&65535)>>>0)/255|((B(a,w[i+3|0])+127&65535)>>>0)/255<<8|((B(a,w[i+5|0])+127&65535)>>>0)/255<<16;b=b+4|0;i=c+i|0;g=g-1|0;if(g){continue}break}i=d+i|0;b=b+h|0;if(f){continue}break}}}function h_a(a,b){a=a|0;b=b|0;var c=0,d=0;c=Ub[v[a+516>>2]](a,1330851634,b,0)|0;a:{if(c){break a}d=a+372|0;c=me(b,446864,d);if(c){break a}v[a+468>>2]=0;v[a+460>>2]=0;v[a+464>>2]=0;v[a+452>>2]=0;v[a+456>>2]=0;u[a+472>>1]=65535;if(!x[a+372>>1]){return 0}c=me(b,447040,d);if(c){break a}if(x[d>>1]<2){return 0}c=me(b,447056,d);if(c){break a}c=0;if(x[d>>1]<5){break a}c=me(b,447088,d)}return c|0}function Cra(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;if(!c){return 0}h=a+40|0;while(1){e=v[a+36>>2];if(!e){v[a+16>>2]=0;Xd(h,v[a+20>>2]+32|0,1);e=v[a+36>>2]}f=v[a+16>>2];d=v[a+20>>2]+(f^-1)|0;d=(c|0)<(d|0)?c:d;gc(e+f|0,b,d);e=d+v[a+16>>2]|0;v[a+16>>2]=e;v[a+12>>2]=d+v[a+12>>2];c=c-d|0;if(v[a+20>>2]<=(e+1|0)){Ub[v[v[a>>2]+24>>2]](a)}g=d+g|0;b=b+d|0;if(c){continue}break}return g|0}function zbb(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=788}if(v[a+536>>2]){b=a;a:{if(w[a+288|0]){c=789;if(w[a+2272|0]){break a}}c=790}v[b+984>>2]=c}v[a+580>>2]=0;v[a+584>>2]=8;v[a+572>>2]=0;v[a+576>>2]=8;t[a+568|0]=0;v[a+600>>2]=3;v[a+592>>2]=1;v[a+596>>2]=7;v[a+652>>2]=1;t[a+648|0]=0;b=v[a+316>>2]+7>>>3|0;v[a+588>>2]=b;v[a+608>>2]=v[a+616>>2]+b;v[a+604>>2]=b+7>>>3;return df(a)|0}function ti(){var a=0,b=0,c=0,d=0,e=0,f=0;a=jc(12);if(a){v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;b=jc(64);if(b){v[a+4>>2]=16;v[a+8>>2]=b;return a}b=v[a>>2];if((b|0)>=1){while(1){d=v[a+8>>2];b=b-1|0;e=b<<2;c=v[d+e>>2];f=v[c>>2];v[c>>2]=f-1;if((f|0)<=1){Ub[v[v[c+4>>2]>>2]](c);dc(c);d=v[a+8>>2];b=v[a>>2]-1|0}v[d+e>>2]=0;v[a>>2]=b;if((b|0)>0){continue}break}}b=v[a+8>>2];if(b){dc(b)}dc(a)}return 0}function q1a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;v[a+8>>2]=c;v[a+4>>2]=b;v[a+12>>2]=0;v[a+16>>2]=d;v[a>>2]=b;b=v[95450];v[a+20>>2]=v[95449];v[a+24>>2]=b;b=v[95452];v[a+28>>2]=v[95451];v[a+32>>2]=b;b=v[95454];v[a+36>>2]=v[95453];v[a+40>>2]=b;b=v[95456];v[a+44>>2]=v[95455];v[a+48>>2]=b;b=v[95458];v[a+52>>2]=v[95457];v[a+56>>2]=b;b=v[95460];v[a+60>>2]=v[95459];v[a+64>>2]=b;v[a+68>>2]=v[95461]}function i7(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=Qb-16|0;Qb=d;t[d+15|0]=b;a:{b:{c:{d:{if(w[a+11|0]>>>7|0){c=(v[a+8>>2]&2147483647)-1|0;e=v[a+4>>2];if((c|0)==(e|0)){break d}break b}e=10;c=10;b=w[a+11|0];if((b|0)!=10){break c}}WB(a,c,1,c,c);b=e;if(w[a+11|0]>>>7|0){break b}}c=a;t[a+11|0]=b+1;break a}c=v[a>>2];v[a+4>>2]=e+1;b=e}a=b+c|0;t[a|0]=w[d+15|0];t[d+14|0]=0;t[a+1|0]=w[d+14|0];Qb=d+16|0}function Sl(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{if(w[a+8|0]){c=v[a>>2];if(c){break b}e=0;break a}c=a}e=v[c>>2]}c:{d:{if(w[b+8|0]){c=v[b>>2];if(c){break d}c=0;break c}c=b}c=v[c>>2]}d=v[b+4>>2];b=v[a+4>>2];a=d>>>0>>0;f=a?d:b;e:{if(!f){break e}b=0;while(1){d=b<<2;g=v[d+e>>2];d=v[c+d>>2];if((g|0)<(d|0)){return 1}if((d|0)>=(g|0)){b=b+1|0;if((f|0)==(b|0)){break e}continue}break}a=0}return a}function Obb(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=767}if(v[a+536>>2]){b=a;a:{if(w[a+288|0]){c=768;if(w[a+2272|0]){break a}}c=769}v[b+984>>2]=c}v[a+580>>2]=0;v[a+584>>2]=8;v[a+572>>2]=0;v[a+576>>2]=8;t[a+568|0]=0;v[a+600>>2]=3;v[a+592>>2]=1;v[a+596>>2]=7;v[a+652>>2]=1;t[a+648|0]=0;b=v[a+316>>2]+7>>>3|0;v[a+588>>2]=b;v[a+608>>2]=v[a+616>>2]+b;v[a+604>>2]=b+7>>>3;return df(a)|0}function $S(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;c=Qb-16|0;Qb=c;v[c>>2]=13;g=v[b+8>>2];d=v[g+12>>2];a:{if(!d){break a}h=ed(d,8);if((d|0)<1){break a}while(1){f=yc(g,e,c,0);A[(e<<3)+h>>3]=v[f>>2]==1?+v[f+8>>2]:A[f+8>>3];hc(c);e=e+1|0;if((e|0)!=(d|0)){continue}break}}KE(v[a+28>>2],h,d,v[b+16>>2]==1?+v[b+24>>2]:A[b+24>>3]);b=v[a+8>>2];Ub[v[v[b>>2]+80>>2]](b,v[a+28>>2]);Qb=c+16|0}function x7a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if(v[c>>2]!=2052348020){pc(a,2050,0,0);return 2050}e=v[c+32>>2];v[b+32>>2]=e;t[b+40|0]=w[c+40|0];d=v[c+44>>2];v[b+44>>2]=d;a:{if(e){d=Ub[v[a+152>>2]](e)|0;v[b+36>>2]=d;if(!d){break a}gc(d,v[c+36>>2],v[b+32>>2]);d=v[b+44>>2]}if(d){d=Ub[v[a+152>>2]](d)|0;v[b+48>>2]=d;if(!d){break a}gc(d,v[c+48>>2],v[b+44>>2])}return 0}pc(a,1,0,0);return 1}function r4(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=Qb-16|0;Qb=d;c=v[a+584>>2];v[c+68>>2]=0;g=c- -64|0;a:{while(1){e=Nj(g,4);if(e>>>0<=1){b=v[c+80>>2];f=v[a+600>>2];if((b|0)!=(f|0)){v[a+608>>2]=f-b;Ae(a);v[c+76>>2]=v[a+596>>2];v[c+80>>2]=v[a+600>>2]}b=1;if((e|0)!=1){continue}break a}break}b=v[a+628>>2];a=v[a>>2];v[d+4>>2]=v[c+88>>2];v[d>>2]=a;zc(b,88467,18004,d);b=0}Qb=d+16|0;return b|0}function kbb(a){a=a|0;var b=0;a:{if(!v[a+536>>2]|w[a+337|0]!=8){break a}b=810;b:{switch(w[a+336|0]-12|0){case 2:b=811;break;case 0:break b;default:break a}}v[a+984>>2]=b}v[a+580>>2]=0;v[a+584>>2]=1;v[a+572>>2]=0;v[a+576>>2]=1;t[a+568|0]=255;v[a+600>>2]=3;v[a+592>>2]=1;v[a+596>>2]=7;v[a+652>>2]=1;b=v[a+316>>2];v[a+588>>2]=b;b=b+7>>3;v[a+604>>2]=b;v[a+608>>2]=b+v[a+616>>2];return df(a)|0}function jbb(a){a=a|0;var b=0;a:{if(!v[a+536>>2]|w[a+337|0]!=8){break a}b=812;b:{switch(w[a+336|0]-12|0){case 2:b=813;break;case 0:break b;default:break a}}v[a+984>>2]=b}v[a+580>>2]=0;v[a+584>>2]=1;v[a+572>>2]=0;v[a+576>>2]=1;t[a+568|0]=255;v[a+600>>2]=2;v[a+592>>2]=1;v[a+596>>2]=3;v[a+652>>2]=1;b=v[a+316>>2];v[a+588>>2]=b;b=b+3>>2;v[a+604>>2]=b;v[a+608>>2]=b+v[a+616>>2];return df(a)|0}function ibb(a){a=a|0;var b=0;a:{if(!v[a+536>>2]|w[a+337|0]!=8){break a}b=814;b:{switch(w[a+336|0]-12|0){case 2:b=815;break;case 0:break b;default:break a}}v[a+984>>2]=b}v[a+580>>2]=0;v[a+584>>2]=1;v[a+572>>2]=0;v[a+576>>2]=1;t[a+568|0]=255;v[a+600>>2]=1;v[a+592>>2]=1;v[a+596>>2]=1;v[a+652>>2]=1;b=v[a+316>>2];v[a+588>>2]=b;b=b+1>>1;v[a+604>>2]=b;v[a+608>>2]=b+v[a+616>>2];return df(a)|0}function dA(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(!a){return 35}c=v[a+96>>2];if(!c){return 35}d=v[a+128>>2];b=v[d+64>>2];v[d+64>>2]=b-1;if((b|0)<=1){b=v[c+16>>2];if(!b){return 35}e=c+16|0;d=v[c+8>>2];a:{while(1){if(v[b+8>>2]==(a|0)){break a}b=v[b+4>>2];if(b){continue}break}return 35}f=v[b>>2];g=f?f+4|0:e;e=v[b+4>>2];v[g>>2]=e;v[(e?e:c+20|0)>>2]=f;Ub[v[d+8>>2]](d,b);As(d,a,c)}return 0}function Jeb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;t[a+24|0]=0;e=v[a+4>>2];a:{if(!e|!b){break a}c=B(c,d);if(!c){break a}f=v[a+16>>2];g=c+f|0;h=v[a+20>>2];if(!((g|0)<=(h|0)|g>>>0<=h>>>0)){f=g+65536&-65536;e=be(e,f);v[a+20>>2]=f;t[a+12|0]=1;v[a+4>>2]=e;if(!e){break a}f=v[a+16>>2]}gc(e+f|0,b,c);b=c+v[a+16>>2]|0;v[a+16>>2]=b;if((b|0)>v[a+8>>2]){v[a+8>>2]=b}i=d}return i|0}function Dx(a,b,c,d){var e=0,f=0,g=0;a:{if((d-c|0)>=257){f=Dx(a,b,c,(B(c,6)+(d<<1)|0)/8|0);e=Dx(a,b,(B(d,3)+B(c,5)|0)/8|0,(B(d,5)+B(c,3)|0)/8|0);a=Dx(a,b,(B(d,6)+(c<<1)|0)/8|0,d);break a}e=v[a+8>>2];a=w[v[e+(d<<2)>>2]+b|0];f=w[v[e+(c<<2)>>2]+b|0];e=w[v[e+((c+d|0)/2<<2)>>2]+b|0]}b=(f&255)>>>0>(a&255)>>>0;c=b?f:a;d=c;g=c&255;c=e&255;a=b?a:f;return(c>>>0>(a&255)>>>0?g>>>0>c>>>0?e:d:a)&255}function wOa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=v[c>>2];if(!d){d=fc((b<<2)+5|0);v[c>>2]=d}if((b|0)<1){a=d}else{f=(b<<2)+a|0;while(1){g=a+4|0;a=v[a>>2];a:{if(a>>>0<=65535){e=2;b=d;break a}b=a+983040>>>10&1023|55296;t[d|0]=b;t[d+1|0]=b>>>8;a=a&1023|-9216;e=4;b=d+2|0}t[b|0]=a;t[b+1|0]=a>>>8;d=d+e|0;a=g;if(f>>>0>a>>>0){continue}break}a=v[c>>2]}v[c+4>>2]=d-a;t[d|0]=0;t[d+1|0]=0}function tfa(a,b){a=a|0;b=b|0;var c=0;b=Qb-32|0;Qb=b;a:{c=a+160|0;if(Ci(a,0,262142,c)|Ci(a,0,262142,c)){a=vc(b+8|0,328503,242139,670,343071,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}b=P()|0;O()|0;qc(a);T(b|0);L()}v[a+200>>2]=1;v[a+204>>2]=0;v[a+208>>2]=0;v[a+212>>2]=0;v[a+224>>2]=0;v[a+228>>2]=0;t[a+49|0]=1;v[a+232>>2]=0;v[a+236>>2]=0;Qb=b+32|0;return}L()}function tbb(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=797}if(v[a+536>>2]){b=a;a:{if(w[a+288|0]){c=798;if(w[a+2272|0]){break a}}c=799}v[b+984>>2]=c}v[a+580>>2]=0;v[a+584>>2]=8;v[a+572>>2]=0;v[a+576>>2]=8;t[a+568|0]=0;v[a+600>>2]=0;v[a+592>>2]=1;v[a+596>>2]=0;v[a+652>>2]=1;t[a+648|0]=0;b=v[a+316>>2];v[a+608>>2]=b+v[a+616>>2];b=b+7>>>3|0;v[a+604>>2]=b;v[a+588>>2]=b;return df(a)|0}function pUa(a,b,c,d,e){a=a|0;b=+b;c=+c;d=+d;e=+e;var f=0,g=0,h=0,i=0;f=Qb-32|0;Qb=f;A[f+16>>3]=c;A[f+24>>3]=b;h=f+24|0;i=f+16|0;Ub[v[v[a>>2]+296>>2]](a,h,i)|0;A[f+8>>3]=A[f+24>>3]+d;g=f+8|0;Ub[v[v[a>>2]+300>>2]](a,g,i)|0;A[f+8>>3]=A[f+24>>3]+d;A[f>>3]=A[f+16>>3]+e;Ub[v[v[a>>2]+300>>2]](a,g,f)|0;A[f+8>>3]=A[f+16>>3]+e;Ub[v[v[a>>2]+300>>2]](a,h,g)|0;Ub[v[v[a>>2]+320>>2]](a)|0;Qb=f+32|0}function k$a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=v[b>>2]+1|0;if(c>>>0<=65535){h=b;d=v[a+16>>2];a=w[d+6|0]<<8|w[d+7|0];c=a>>>0>c>>>0?a:c;b=c-a|0;g=w[d+9|0]|w[d+8|0]<<8;e=0;a:{if(b>>>0>=g>>>0){break a}a=(d+(b<<1)|0)+10|0;while(1){f=w[a+1|0]|w[a|0]<<8;e=c;if(f){break a}if(c>>>0>65534){return 0}a=a+2|0;c=c+1|0;b=b+1|0;if((g|0)!=(b|0)){continue}break}f=0;e=0}v[h>>2]=e}return f|0}function cP(a){a=a|0;var b=0,c=0,d=0,e=0;b=Qb-16|0;Qb=b;a:{if(v[a+8>>2]){Ch(b+8|0,a,a+8|0);break a}v[b+8>>2]=0;Wc(b+8|0,0)}b:{a=v[b+8>>2];if(!a){c=300;break b}c=v[a+20>>2];v[299999]=0;v[b+8>>2]=0;d=v[a+4>>2]-1|0;v[a+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)!=1){if(d){break b}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}}W(0)|0;O()|0;lc();L()}Qb=b+16|0;return c|0}function Xm(a,b){var c=0,d=0,e=0;if(mc(b,335712)){c=v[a>>2];if(!mc(b,335711)){a:{b:{if((c|0)<=1){d=v[a+4>>2];break b}b=c-2|0;d=v[a+4>>2];while(1){if(w[b+d|0]!=47){e=(b|0)>0;b=b-1|0;if(e){continue}break b}break}if((b|0)>0){break a}}if(w[d|0]==47){lk(a,1,c-1|0);return a}$g(a);_c(a,335711);return a}lk(a,b,c-b|0);return a}if(!(w[(v[a+4>>2]+c|0)-1|0]==47|(c|0)<1)){gd(a,47)}_c(a,b)}return a}function WN(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;b=v[b>>2];d=v[(b?b+12|0:1129608)>>2];b=w[d|0];a:{if(!b){break a}c=d;while(1){b:{e=b&255;b=e;if(b-48>>>0<10|(b|32)-97>>>0<26){break b}c:{switch(e-43|0){case 0:case 2:case 3:break b;case 15:break c;default:break a}}if(w[c+1|0]!=47|w[c+2|0]!=47){break a}hD(a,d,c-d|0);return}b=w[c+1|0];c=c+1|0;if(b){continue}break}}v[a>>2]=0;v[a+4>>2]=v[282402]}function Ibb(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=776}if(v[a+536>>2]){b=a;a:{if(w[a+288|0]){c=777;if(w[a+2272|0]){break a}}c=778}v[b+984>>2]=c}v[a+580>>2]=0;v[a+584>>2]=8;v[a+572>>2]=0;v[a+576>>2]=8;t[a+568|0]=0;v[a+600>>2]=0;v[a+592>>2]=1;v[a+596>>2]=0;v[a+652>>2]=1;t[a+648|0]=0;b=v[a+316>>2];v[a+608>>2]=b+v[a+616>>2];b=b+7>>>3|0;v[a+604>>2]=b;v[a+588>>2]=b;return df(a)|0}function ybb(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=791}if(v[a+536>>2]){b=a;a:{if(w[a+288|0]){c=792;if(w[a+2272|0]){break a}}c=793}v[b+984>>2]=c}v[a+580>>2]=0;v[a+584>>2]=1;v[a+572>>2]=0;v[a+576>>2]=1;t[a+568|0]=255;v[a+600>>2]=2;v[a+592>>2]=1;v[a+596>>2]=3;v[a+652>>2]=1;t[a+648|0]=0;b=v[a+316>>2];v[a+588>>2]=b;b=b+3>>2;v[a+604>>2]=b;v[a+608>>2]=b+v[a+616>>2];return df(a)|0}function wbb(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=794}if(v[a+536>>2]){b=a;a:{if(w[a+288|0]){c=795;if(w[a+2272|0]){break a}}c=796}v[b+984>>2]=c}v[a+580>>2]=0;v[a+584>>2]=1;v[a+572>>2]=0;v[a+576>>2]=1;t[a+568|0]=255;v[a+600>>2]=1;v[a+592>>2]=1;v[a+596>>2]=1;v[a+652>>2]=1;t[a+648|0]=0;b=v[a+316>>2];v[a+588>>2]=b;b=b+1>>1;v[a+604>>2]=b;v[a+608>>2]=b+v[a+616>>2];return df(a)|0}function uK(a,b){var c=0,d=0;a:{if(w[b|0]){while(1){c=v[a+8>>2];if(c&7){return-1}d=v[a+64>>2];if(!((d|0)<0|(d|0)>v[a+60>>2])){v[a+8>>2]=c|4;return-1}v[a+4>>2]=v[a+4>>2]|32;c=v[a+28>>2];v[a+28>>2]=c-1;b:{if((c|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=w[b|0];d=v[a+24>>2];v[a+24>>2]=d+1;t[d|0]=c;break b}c=-1;if((Fc(a,w[b|0])|0)==-1){break a}}c=w[b+1|0];b=b+1|0;if(c){continue}break}}c=0}return c}function r8a(a,b){a=a|0;b=b|0;var c=0,d=0;d=v[a+428>>2];t[d+8|0]=w[b+32|0];c=1;if(w[b+32|0]==3){t[d+9|0]=w[b+33|0];c=v[b+36>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+10|0]=c;t[d+11|0]=c>>>8;t[d+12|0]=c>>>16;t[d+13|0]=c>>>24;c=v[b+40>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+14|0]=c;t[d+15|0]=c>>>8;t[d+16|0]=c>>>16;t[d+17|0]=c>>>24;c=10}return _d(a,v[b>>2],c,d+8|0)|0}function gbb(a){a=a|0;var b=0;a:{if(!v[a+536>>2]|w[a+337|0]!=8){break a}b=818;b:{switch(w[a+336|0]-12|0){case 2:b=819;break;case 0:break b;default:break a}}v[a+984>>2]=b}v[a+580>>2]=0;v[a+584>>2]=1;v[a+572>>2]=0;v[a+576>>2]=1;t[a+568|0]=255;v[a+600>>2]=0;v[a+592>>2]=2;v[a+596>>2]=0;v[a+652>>2]=2;b=v[a+316>>2];v[a+588>>2]=b;b=b<<1;v[a+604>>2]=b;v[a+608>>2]=b+v[a+616>>2];return df(a)|0}function gF(a,b){var c=0,d=0,e=0,f=0;d=v[a+4>>2];c=v[a+8>>2];e=v[b+8>>2];if((d|0)<(c+e|0)){f=v[a>>2];while(1){c=v[a+12>>2];c=((c|0)>0?c:d)+d|0;v[a+4>>2]=c;f=pd(f,c,4);v[a>>2]=f;d=v[a+4>>2];c=v[a+8>>2];e=v[b+8>>2];if((d|0)<(c+e|0)){continue}break}}d=0;if((e|0)>0){while(1){f=v[v[b>>2]+(d<<2)>>2];e=c+1|0;v[a+8>>2]=e;v[v[a>>2]+(c<<2)>>2]=f;c=e;d=d+1|0;if((d|0)>2]){continue}break}}}function Vza(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Qb-16|0;Qb=d;v[a+8>>2]=13;v[d>>2]=13;f=a+8|0;e=f;v[e+8>>2]=c;v[e>>2]=8;c=fc(20);v[299999]=0;v[c>>2]=b;v[c+12>>2]=0;v[c+16>>2]=1;v[c+4>>2]=0;v[c+8>>2]=0;b=c;e=v[299999];v[299999]=0;if((e|0)!=1){v[a>>2]=c;Cg(b,zf(f,d));v[a+24>>2]=1;v[a+4>>2]=0;b=v[a+16>>2];Ub[v[v[b>>2]+20>>2]](b);Qb=d+16|0;return a|0}a=P()|0;O()|0;dc(c);T(a|0);L()}function Pbb(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=767}if(v[a+536>>2]){b=a;a:{if(w[a+288|0]){c=768;if(w[a+2272|0]){break a}}c=769}v[b+984>>2]=c}v[a+580>>2]=0;v[a+584>>2]=1;v[a+572>>2]=0;v[a+576>>2]=1;t[a+568|0]=255;v[a+600>>2]=3;v[a+592>>2]=1;v[a+596>>2]=7;v[a+652>>2]=1;t[a+648|0]=0;b=v[a+316>>2];v[a+588>>2]=b;b=b+7>>3;v[a+604>>2]=b;v[a+608>>2]=b+v[a+616>>2];return df(a)|0}function Nbb(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=770}if(v[a+536>>2]){b=a;a:{if(w[a+288|0]){c=771;if(w[a+2272|0]){break a}}c=772}v[b+984>>2]=c}v[a+580>>2]=0;v[a+584>>2]=1;v[a+572>>2]=0;v[a+576>>2]=1;t[a+568|0]=255;v[a+600>>2]=2;v[a+592>>2]=1;v[a+596>>2]=3;v[a+652>>2]=1;t[a+648|0]=0;b=v[a+316>>2];v[a+588>>2]=b;b=b+3>>2;v[a+604>>2]=b;v[a+608>>2]=b+v[a+616>>2];return df(a)|0}function Lbb(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=773}if(v[a+536>>2]){b=a;a:{if(w[a+288|0]){c=774;if(w[a+2272|0]){break a}}c=775}v[b+984>>2]=c}v[a+580>>2]=0;v[a+584>>2]=1;v[a+572>>2]=0;v[a+576>>2]=1;t[a+568|0]=255;v[a+600>>2]=1;v[a+592>>2]=1;v[a+596>>2]=1;v[a+652>>2]=1;t[a+648|0]=0;b=v[a+316>>2];v[a+588>>2]=b;b=b+1>>1;v[a+604>>2]=b;v[a+608>>2]=b+v[a+616>>2];return df(a)|0}function Ebb(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=782}if(v[a+536>>2]){b=a;a:{if(w[a+288|0]){c=783;if(w[a+2272|0]){break a}}c=784}v[b+984>>2]=c}v[a+580>>2]=0;v[a+584>>2]=1;v[a+572>>2]=0;v[a+576>>2]=1;t[a+568|0]=255;v[a+600>>2]=0;v[a+592>>2]=3;v[a+596>>2]=0;v[a+652>>2]=3;t[a+648|0]=0;b=v[a+316>>2];v[a+588>>2]=b;b=B(b,3);v[a+604>>2]=b;v[a+608>>2]=b+v[a+616>>2];return df(a)|0}function Cbb(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=785}if(v[a+536>>2]){b=a;a:{if(w[a+288|0]){c=786;if(w[a+2272|0]){break a}}c=787}v[b+984>>2]=c}v[a+580>>2]=0;v[a+584>>2]=1;v[a+572>>2]=0;v[a+576>>2]=1;t[a+568|0]=255;v[a+600>>2]=0;v[a+592>>2]=6;v[a+596>>2]=0;v[a+652>>2]=6;t[a+648|0]=1;b=v[a+316>>2];v[a+588>>2]=b;b=B(b,6);v[a+604>>2]=b;v[a+608>>2]=b+v[a+616>>2];return df(a)|0}function Abb(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=788}if(v[a+536>>2]){b=a;a:{if(w[a+288|0]){c=789;if(w[a+2272|0]){break a}}c=790}v[b+984>>2]=c}v[a+580>>2]=0;v[a+584>>2]=1;v[a+572>>2]=0;v[a+576>>2]=1;t[a+568|0]=255;v[a+600>>2]=3;v[a+592>>2]=1;v[a+596>>2]=7;v[a+652>>2]=1;t[a+648|0]=0;b=v[a+316>>2];v[a+588>>2]=b;b=b+7>>3;v[a+604>>2]=b;v[a+608>>2]=b+v[a+616>>2];return df(a)|0}function tV(a,b,c,d,e,f){var g=0,h=0;h=Qb-32|0;Qb=h;a:{if(!a){a=0;v[h>>2]=0;oc(0,0,0,0,0,2,521,2,0,0,0,0,316502,h);break a}g=v[a+48>>2];if(!g){a=0;v[h+16>>2]=0;oc(0,0,0,0,0,2,522,2,0,0,0,0,233022,h+16|0);break a}a=sV(g,b,c,d,e,f);if(!a){a=0;break a}v[a+20>>2]=g;v[a+32>>2]=v[g+32>>2];b=v[g+16>>2];b:{if(!b){v[g+12>>2]=a;break b}v[b+24>>2]=a;v[a+28>>2]=b}v[g+16>>2]=a}Qb=h+32|0;return a}function qV(a,b,c,d,e,f){var g=0,h=0;h=Qb-32|0;Qb=h;a:{if(!a){a=0;v[h>>2]=0;oc(0,0,0,0,0,2,521,2,0,0,0,0,316536,h);break a}g=v[a+44>>2];if(!g){a=0;v[h+16>>2]=0;oc(0,0,0,0,0,2,522,2,0,0,0,0,233109,h+16|0);break a}a=sV(g,b,c,d,e,f);if(!a){a=0;break a}v[a+20>>2]=g;v[a+32>>2]=v[g+32>>2];b=v[g+16>>2];b:{if(!b){v[g+12>>2]=a;break b}v[b+24>>2]=a;v[a+28>>2]=b}v[g+16>>2]=a}Qb=h+32|0;return a}function mN(a,b,c){var d=0,e=0,f=0;if(!c){return 0}d=w[a|0];a:{if(!d){break a}while(1){b:{e=w[b|0];if(!e){break b}c=c-1|0;if(!c){break b}c:{if((d|0)==(e|0)){break c}e=d-65>>>0<26?d|32:d;d=w[b|0];if((e|0)==((d-65>>>0<26?d|32:d)|0)){break c}f=w[a|0];break a}b=b+1|0;d=w[a+1|0];a=a+1|0;if(d){continue}break a}break}f=d}a=f&255;c=a-65>>>0<26?a|32:a;a=w[b|0];return c-(a-65>>>0<26?a|32:a)|0}function _q(a,b){var c=0,d=0,e=0;a:{if(!b){break a}d=b-1|0;c=b&3;if(c){while(1){e=w[a+1|0];t[a+1|0]=w[a|0];t[a|0]=e;a=a+2|0;b=b-1|0;c=c-1|0;if(c){continue}break}}if(d>>>0<3){break a}while(1){c=w[a+1|0];t[a+1|0]=w[a|0];t[a|0]=c;c=w[a+3|0];t[a+3|0]=w[a+2|0];t[a+2|0]=c;c=w[a+5|0];t[a+5|0]=w[a+4|0];t[a+4|0]=c;c=w[a+7|0];t[a+7|0]=w[a+6|0];t[a+6|0]=c;a=a+8|0;b=b-4|0;if(b){continue}break}}}function Mi(a,b,c){var d=0,e=0,f=0;d=Qb-32|0;Qb=d;if((Ub[v[v[a>>2]>>2]](v[a+4>>2],b,2,c)|0)<(c|0)){a:{if(v[a+26160>>2]){break a}v[d+16>>2]=v[a+25208>>2];e=v[252391];wc(e,8292,d+16|0);if(Ub[v[v[a>>2]+20>>2]](v[a+4>>2])|0){Rc(12203,23,1,e);break a}f=Ub[v[v[a>>2]+24>>2]](v[a+4>>2])|0;v[d>>2]=f;v[d+4>>2]=f>>31;wc(e,14622,d)}v[a+26160>>2]=1}if(x[a+25204>>1]!=18761){sp(b,b,c<<1)}Qb=d+32|0}function AZa(a){a=a|0;var b=0,c=0,d=0;b=v[a+196>>2];d=b+10|0;if(d>>>0<=y[a+200>>2]){c=w[b|0]|w[b+1|0]<<8;u[a+32>>1]=c<<8|c>>>8;c=w[b+2|0]|w[b+3|0]<<8;v[a+36>>2]=(c<<8|c>>>8)<<16>>16;c=w[b+4|0]|w[b+5|0]<<8;v[a+40>>2]=(c<<8|c>>>8)<<16>>16;c=w[b+6|0]|w[b+7|0]<<8;v[a+44>>2]=(c<<8|c>>>8)<<16>>16;b=w[b+8|0]|w[b+9|0]<<8;v[a+196>>2]=d;v[a+48>>2]=(b<<8|b>>>8)<<16>>16;a=0}else{a=20}return a|0}function t1a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=Qb-16|0;Qb=e;d=v[a>>2];a:{if(!d){break a}f=v[a+32>>2];b=Fd(f,v[a+4>>2],e+12|0);v[a>>2]=b;if(v[e+12>>2]){break a}gc(b,d,v[a+4>>2]);b=v[a+16>>2];if((b|0)>=1){c=v[a+24>>2];g=c+(b<<2)|0;h=v[a>>2]-d|0;while(1){b=v[c>>2];if(b){v[c>>2]=b+h}c=c+4|0;if(g>>>0>c>>>0){continue}break}}v[a+8>>2]=v[a+4>>2];if(d){Ub[v[f+8>>2]](f,d)}}Qb=e+16|0}function sbb(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=800}if(v[a+536>>2]){b=a;a:{if(w[a+288|0]){c=801;if(w[a+2272|0]){break a}}c=802}v[b+984>>2]=c}v[a+580>>2]=0;v[a+584>>2]=1;v[a+572>>2]=0;v[a+576>>2]=1;t[a+568|0]=255;v[a+600>>2]=0;v[a+592>>2]=2;v[a+596>>2]=0;v[a+652>>2]=2;t[a+648|0]=0;b=v[a+316>>2];v[a+588>>2]=b;b=b<<1;v[a+604>>2]=b;v[a+608>>2]=b+v[a+616>>2];return df(a)|0}function qbb(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=803}if(v[a+536>>2]){b=a;a:{if(w[a+288|0]){c=804;if(w[a+2272|0]){break a}}c=805}v[b+984>>2]=c}v[a+580>>2]=0;v[a+584>>2]=1;v[a+572>>2]=0;v[a+576>>2]=1;t[a+568|0]=255;v[a+600>>2]=0;v[a+592>>2]=4;v[a+596>>2]=0;v[a+652>>2]=4;t[a+648|0]=1;b=v[a+316>>2];v[a+588>>2]=b;b=b<<2;v[a+604>>2]=b;v[a+608>>2]=b+v[a+616>>2];return df(a)|0}function obb(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=806}if(v[a+536>>2]){b=a;a:{if(w[a+288|0]){c=807;if(w[a+2272|0]){break a}}c=692}v[b+984>>2]=c}v[a+580>>2]=0;v[a+584>>2]=1;v[a+572>>2]=0;v[a+576>>2]=1;t[a+568|0]=255;v[a+600>>2]=0;v[a+592>>2]=4;v[a+596>>2]=0;v[a+652>>2]=4;t[a+648|0]=0;b=v[a+316>>2];v[a+588>>2]=b;b=b<<2;v[a+604>>2]=b;v[a+608>>2]=b+v[a+616>>2];return df(a)|0}function mbb(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=808}if(v[a+536>>2]){b=a;a:{if(w[a+288|0]){c=809;if(w[a+2272|0]){break a}}c=691}v[b+984>>2]=c}v[a+580>>2]=0;v[a+584>>2]=1;v[a+572>>2]=0;v[a+576>>2]=1;t[a+568|0]=255;v[a+600>>2]=0;v[a+592>>2]=8;v[a+596>>2]=0;v[a+652>>2]=8;t[a+648|0]=1;b=v[a+316>>2];v[a+588>>2]=b;b=b<<3;v[a+604>>2]=b;v[a+608>>2]=b+v[a+616>>2];return df(a)|0}function Xi(a,b,c,d,e){var f=0,g=0,h=0,i=0;f=Qb-32|0;Qb=f;a:{if(a){if(v[a+172>>2]==-1?v[a+212>>2]:0){break a}v[a+84>>2]=b;g=v[a>>2];h=0;b:{if(!g){break b}h=0;if(v[g+108>>2]!=-554844497){break b}h=v[g+124>>2]}g=v[a+112>>2];i=v[a+108>>2];v[f+20>>2]=e;v[f+16>>2]=d;oc(h,g,i,a,0,4,b,2,d,e,0,0,c,f+16|0);v[a+100>>2]=0;break a}v[f+4>>2]=e;v[f>>2]=d;oc(0,0,0,0,0,4,b,2,d,e,0,0,c,f)}Qb=f+32|0}function UFa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;a:{if(c-1>>>0>3){break a}if(!Rr(a,b,c)){break a}v[d>>2]=0;e=w[((b-v[a+1040>>2]|0)+a|0)+16|0];v[d>>2]=e;f=1;if((c|0)==1){break a}e=w[((b-v[a+1040>>2]|0)+a|0)+17|0]|e<<8;v[d>>2]=e;if((c|0)==2){break a}e=w[((b-v[a+1040>>2]|0)+a|0)+18|0]|e<<8;v[d>>2]=e;if((c|0)==3){break a}v[d>>2]=w[((b-v[a+1040>>2]|0)+a|0)+19|0]|e<<8}return f|0}function Ll(a){var b=0,c=0,d=0,e=0;c=Qb-32|0;Qb=c;a:{if(!v[a+72>>2]){break a}d=v[a+68>>2];if(!d){break a}b=Bib(x[a+84>>1],0,d,0);if(Tb){d=v[a>>2];b=v[a+628>>2];v[c+16>>2]=18313;zc(b,d,24808,c+16|0);b=0}b:{if(x[a+138>>1]!=1){break b}e=x[a+98>>1];b=Bib(e,0,b,0);d=Tb;if(!e|!d){break b}b=v[a>>2];a=v[a+628>>2];v[c>>2]=18313;zc(a,b,24808,c);b=0}b=(b>>>3|0)+((b&7)!=0)|0}Qb=c+32|0;return b}function Jj(a,b){var c=0,d=0,e=0,f=0;c=Qb-32|0;Qb=c;a:{if(a){v[a+84>>2]=2;d=v[a>>2];e=0;b:{if(!d){break b}e=0;if(v[d+108>>2]!=-554844497){break b}e=v[d+124>>2]}d=v[a+112>>2];f=v[a+108>>2];v[c+20>>2]=0;v[c+16>>2]=347702;oc(e,d,f,a,0,1,2,2,347702,0,0,0,b,c+16|0);v[a+212>>2]=1;v[a+172>>2]=-1;v[a+84>>2]=2;break a}v[c+4>>2]=0;v[c>>2]=347702;oc(0,0,0,0,0,1,2,2,347702,0,0,0,b,c)}Qb=c+32|0}function Gbb(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=779}if(v[a+536>>2]){b=a;a:{if(w[a+288|0]){c=780;if(w[a+2272|0]){break a}}c=781}v[b+984>>2]=c}v[a+580>>2]=0;v[a+584>>2]=1;v[a+572>>2]=0;v[a+576>>2]=1;t[a+568|0]=255;v[a+600>>2]=0;v[a+592>>2]=2;v[a+596>>2]=0;v[a+652>>2]=2;t[a+648|0]=1;b=v[a+316>>2];v[a+588>>2]=b;b=b<<1;v[a+604>>2]=b;v[a+608>>2]=b+v[a+616>>2];return df(a)|0}function yDa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=A[b+24>>3];f=v[b+24>>2];g=v[b+16>>2];c=v[a+28>>2];e=A[c+616>>3]+(v[b>>2]==1?+v[b+8>>2]:A[b+8>>3]);A[c+616>>3]=e;d=(g|0)==1?+(f|0):d;A[c+576>>3]=-d;d=d+A[c+624>>3];A[c+624>>3]=d;A[c+600>>3]=A[c+536>>3]+(e*A[c+504>>3]+d*A[c+520>>3]);A[c+608>>3]=A[c+544>>3]+(e*A[c+512>>3]+d*A[c+528>>3]);a=v[a+8>>2];Ub[v[v[a>>2]+184>>2]](a,c)}function t0a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:{d=a?a+b|0:0;if(d>>>0<=a>>>0){break a}d=d-a|0;d=b>>>0>d>>>0?d:b;if(!d){break a}b=0;if((d|0)!=1){f=d&-2;while(1){e=a+b|0;g=w[e|0];t[e|0]=g^c>>>8;h=(b|1)+a|0;e=w[h|0];c=B(c+g|0,52845)+22719|0;t[h|0]=e^c>>>8;c=B(c+e|0,52845)+22719&65535;b=b+2|0;f=f-2|0;if(f){continue}break}}if(!(d&1)){break a}a=a+b|0;t[a|0]=w[a|0]^c>>>8}}function VCa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;c=v[a+28>>2];e=v[c+596>>2];if(!(v[e+28>>2]>0|v[e>>2])){b=-1;a=v[a+108>>2];a:{if(!a){break a}a=v[a+4>>2];if(v[a+8>>2]==13){break a}a=v[a+16>>2];b=Ub[v[v[a>>2]+52>>2]](a)|0}kc(1,b,243514,0);return}d=A[b+24>>3];a=v[b+24>>2];g=v[b+16>>2];f=v[b>>2]==1?+v[b+8>>2]:A[b+8>>3];A[c+600>>3]=f;d=(g|0)==1?+(a|0):d;A[c+608>>3]=d;Ud(e,f,d)}function IZa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;a:{if((d|0)<1){break a}g=v[a+112>>2];if(!g){break a}j=v[v[a+480>>2]+24>>2];while(1){a=v[(e<<2)+b>>2];c=g;while(1){h=(v[(w[a|0]>>>1&124)+j>>2]+(w[a+1|0]<<4&4032)|0)+(w[a+2|0]>>>2&62)|0;i=x[h>>1];f=i+1|0;u[h>>1]=(f|0)!=(f&65535)?i:f;a=a+3|0;c=c-1|0;if(c){continue}break}e=e+1|0;if((e|0)!=(d|0)){continue}break}}}function xta(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=Qb-16|0;Qb=d;if(!(!v[a+12>>2]|(!v[a+4>>2]|!v[a+8>>2]))){c=A[a+32>>3]-A[a+16>>3];e=c;f=c*c;c=A[a+40>>3]-A[a+24>>3];h=d,i=Rw(e/K(f+c*c))*180/3.141592653589793,A[h+8>>3]=i;Ub[v[v[b>>2]+136>>2]](b,978484)|0;Ub[v[v[b>>2]+212>>2]](b,v[a+4>>2],v[a+8>>2],v[a+12>>2])|0;Ub[v[v[b>>2]+200>>2]](b,d+8|0)|0;g=1}Qb=d+16|0;return g|0}function Xcb(a){a=a|0;var b=0,c=0,d=0,e=0;if(v[a+588>>2]>=1){d=v[a+644>>2];c=d;while(1){b=w[c|0]|w[c+1|0]<<8;t[d|0]=((b<<8|b>>>8)&65535)>>>8;b=w[c+2|0]|w[c+3|0]<<8;t[d+1|0]=((b<<8|b>>>8)&65535)>>>8;b=w[c+4|0]|w[c+5|0]<<8;t[d+2|0]=((b<<8|b>>>8)&65535)>>>8;b=w[c+6|0]|w[c+7|0]<<8;t[d+3|0]=((b<<8|b>>>8)&65535)>>>8;c=c+8|0;d=d+4|0;e=e+1|0;if((e|0)>2]){continue}break}}return 0}function te(a,b,c){var d=0,e=0,f=0;d=Qb-32|0;Qb=d;a:{if(!(!a|!v[a+212>>2])&v[a+172>>2]==-1){break a}e=283406;f=b-1|0;if(f>>>0<=109){e=v[(f<<2)+884708>>2]}if(a){v[a+84>>2]=b}b:{if(!c){v[d>>2]=e;oc(0,0,0,a,0,1,b,3,0,0,0,0,350078,d);break b}v[d+20>>2]=c;v[d+16>>2]=e;oc(0,0,0,a,0,1,b,3,c,0,0,0,349936,d+16|0)}if(!a){break a}v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1}Qb=d+32|0}function o$(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;v[b>>2]=0;a:{if(!a){break a}e=v[a+8>>2];if(!e){break a}d=v[v[a>>2]>>2];f=d;while(1){g=w[f|0];if(g){while(1){t[c+d|0]=g;c=c+1|0;g=w[f+1|0];f=f+1|0;if(g){continue}break}e=v[a+8>>2]}h=h+1|0;if(h>>>0>>0){t[c+d|0]=32;e=v[a+8>>2];c=c+1|0}if(e>>>0>h>>>0){f=v[v[a>>2]+(h<<2)>>2];continue}break}if((d|0)!=375712){t[c+d|0]=0}v[b>>2]=c}return d}function Zwa(a){a=a|0;var b=0,c=0;a:{b:{if(v[a+12>>2]?v[a+8>>2]:1){b=v[a+3504>>2];c=-1;if((b|0)>=v[a+20>>2]){break b}return v[v[((v[a+3496>>2]<<2)+a|0)+3480>>2]+(v[a+3500>>2]+B(b,v[a+32>>2])<<2)>>2]}b=v[a+3472>>2];if((b|0)==v[a+3476>>2]){c=-1;if(v[a+20>>2]<=(v[a+28>>2]+v[a+3504>>2]|0)){break b}if(!eE(a)){break a}b=v[a+3472>>2]}c=w[b|0]}return c|0}v[a+3504>>2]=v[a+20>>2];return-1}function N8a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:{c=v[b+32>>2];e=(c+v[b+40>>2]|0)+1|0;b:{if(e>>>0<=y[a+424>>2]){d=v[a+428>>2]+8|0;break b}d=Ub[v[a+152>>2]](e)|0;if(!d){break a}c=v[b+32>>2]}f=d;if(c){f=gc(d,v[b+36>>2],c)+v[b+32>>2]|0}t[f|0]=0;c=v[b+40>>2];if(c){gc(f+1|0,v[b+44>>2],c)}b=_d(a,v[b>>2],e,d);if(y[a+424>>2]>>0){Ub[v[a+156>>2]](d,e)}return b|0}pc(a,1,0,0);return 1}function Mua(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Qb-16|0;Qb=d;v[a>>2]=0;e=v[v[b>>2]+12>>2];v[299999]=0;U(e|0,d|0,b|0,c|0);b=v[299999];v[299999]=0;a:{b:{if((b|0)!=1){v[299999]=0;Y(4086,a|0,d|0,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break b}if(t[d+11|0]<=-1){dc(v[d>>2])}Qb=d+16|0;return}b=P()|0;O()|0;break a}b=P()|0;O()|0;if(t[d+11|0]>-1){break a}dc(v[d>>2])}Nf(a);T(b|0);L()}function Ima(a,b,c){a=a|0;b=b|0;c=c|0;a:{if(w[a+16|0]){break a}b:{if(!Nc(c,312032,4)){break b}if(!Nc(c,220349,2)){break b}if(Nc(c,220354,2)){break a}}b=Bh();Ub[v[v[b>>2]+32>>2]](b,a);t[a+16|0]=1;return}c:{d:{if(!Nc(c,220324,1)){break d}if(!Nc(c,220364,2)){break d}if(!Nc(c,220359,2)){break d}if(!Nc(c,220354,2)){break d}if(Nc(c,220349,2)){break c}}b=Bh();Ub[v[v[b>>2]+28>>2]](b,a)}}function vM(a,b,c){var d=0,e=0,f=0,g=0,h=0;g=Qb-16|0;Qb=g;e=c-b>>2;if(e>>>0<=1073741807){a:{if(e>>>0<=1){t[a+11|0]=e;d=a;break a}h=a;if(e>>>0>=2){f=e+4&-4;d=f-1|0;d=(d|0)==2?f:d}else{d=1}f=d+1|0;d=yL(f);v[h>>2]=d;v[a+8>>2]=f|-2147483648;v[a+4>>2]=e}while(1){if((b|0)!=(c|0)){v[d>>2]=v[b>>2];d=d+4|0;b=b+4|0;continue}break}v[g+12>>2]=0;v[d>>2]=v[g+12>>2];Qb=g+16|0;return}$d(a);L()}function YWa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;if(v[a+316>>2]>=1){f=v[d>>2];while(1){i=f;j=e;k=f;l=e|1;b=v[a+112>>2];if((b|0)>=1){d=v[(e<<2)+f>>2];m=b+d|0;b=v[(g<<2)+c>>2];while(1){h=w[b|0];t[d+1|0]=h;t[d|0]=h;b=b+1|0;d=d+2|0;if(m>>>0>d>>>0){continue}break}b=v[a+112>>2]}rm(i,j,k,l,1,b);g=g+1|0;e=e+2|0;if((e|0)>2]){continue}break}}}function YBa(a){a=a|0;var b=0;b=fc(120);v[b+4>>2]=15;v[b+8>>2]=0;v[b>>2]=897196;A[b+16>>3]=A[a+16>>3];A[b+24>>3]=A[a+24>>3];A[b+32>>3]=A[a+32>>3];A[b+40>>3]=A[a+40>>3];A[b+48>>3]=A[a+48>>3];A[b+56>>3]=A[a+56>>3];A[b+64>>3]=A[a+64>>3];A[b+72>>3]=A[a+72>>3];A[b+80>>3]=A[a+80>>3];A[b+88>>3]=A[a+88>>3];A[b+96>>3]=A[a+96>>3];A[b+104>>3]=A[a+104>>3];A[b+112>>3]=A[a+112>>3];return b|0}function T0(a,b){a=a|0;b=b|0;var c=0,d=0;if(w[b+32|0]){return _d(a,v[b>>2],0,0)|0}d=v[a+428>>2];c=v[b+36>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+8|0]=c;t[d+9|0]=c>>>8;t[d+10|0]=c>>>16;t[d+11|0]=c>>>24;c=v[b+40>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+12|0]=c;t[d+13|0]=c>>>8;t[d+14|0]=c>>>16;t[d+15|0]=c>>>24;t[d+16|0]=w[b+44|0];return _d(a,v[b>>2],9,d+8|0)|0}function OM(a,b,c){var d=0,e=0,f=0,g=0,h=0;g=Qb-16|0;Qb=g;e=c-b|0;if(e>>>0<=4294967279){a:{if(e>>>0<=10){t[a+11|0]=e;d=a;break a}h=a;if(e>>>0>=11){d=e+16&-16;f=d-1|0;d=(f|0)==11?d:f}else{d=10}f=d+1|0;d=fc(f);v[h>>2]=d;v[a+8>>2]=f|-2147483648;v[a+4>>2]=e}while(1){if((b|0)!=(c|0)){t[d|0]=w[b|0];d=d+1|0;b=b+1|0;continue}break}t[g+15|0]=0;t[d|0]=w[g+15|0];Qb=g+16|0;return}$d(a);L()}function IGa(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;f=Qb-16|0;Qb=f;if(!(w[a+208|0]|w[a+203|0])){g=v[a+104>>2];v[f+12>>2]=32;h=f+12|0;Ub[v[v[g>>2]+288>>2]](g,h)|0;g=v[a+104>>2];v[f+12>>2]=e;Ub[v[v[g>>2]+388>>2]](g,h)|0;nk(a,c,A[b+104>>3],d);b=v[a+104>>2];v[f+12>>2]=4;Ub[v[v[b>>2]+292>>2]](b,h)|0;a=v[a+104>>2];v[f+12>>2]=32;Ub[v[v[a>>2]+292>>2]](a,h)|0}Qb=f+16|0}function zeb(a){a=a|0;var b=0,c=0,d=0,e=0;if(v[a+588>>2]>=1){b=v[a+540>>2];c=(v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0;b=v[a+636>>2]+v[a+616>>2]|0;while(1){d=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);t[c|0]=d;t[c+1|0]=d>>>8;t[c+2|0]=d>>>16;t[c+3|0]=d>>>24;b=b+4|0;c=(v[a+584>>2]<<2)+c|0;e=e+1|0;if((e|0)>2]){continue}break}}return 0}function mr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;f=v[b>>2];d=v[c>>2];f=(d|0)<(f|0)?f:d;v[a>>2]=f;d=v[b+8>>2];e=v[c+8>>2];d=(d|0)<(e|0)?d:e;v[a+8>>2]=d;e=v[b+4>>2];g=v[c+4>>2];e=(e|0)>(g|0)?e:g;v[a+4>>2]=e;b=v[b+12>>2];c=v[c+12>>2];c=(b|0)<(c|0)?b:c;v[a+12>>2]=c;a:{if((d|0)>(f|0)){b=1;if((c|0)>(e|0)){break a}}v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;b=0}return b|0}function hbb(a){a=a|0;var b=0;a:{if(!v[a+536>>2]|w[a+337|0]!=8){break a}b=816;b:{switch(w[a+336|0]-12|0){case 2:b=817;break;case 0:break b;default:break a}}v[a+984>>2]=b}v[a+580>>2]=0;v[a+584>>2]=1;v[a+572>>2]=0;v[a+576>>2]=1;t[a+568|0]=255;v[a+600>>2]=0;v[a+592>>2]=1;v[a+596>>2]=0;v[a+652>>2]=1;b=v[a+316>>2];v[a+604>>2]=b;v[a+588>>2]=b;v[a+608>>2]=b+v[a+616>>2];return df(a)|0}function gla(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;if(!(!f|!e)){c=x[a+26>>1];d=B(g,c);h=h<<2;while(1){f=f-1|0;g=e;while(1){a=w[i+3|0];v[b>>2]=a<<24|((B(a,w[i|0])+127&65535)>>>0)/255|((B(a,w[i+1|0])+127&65535)>>>0)/255<<8|((B(a,w[i+2|0])+127&65535)>>>0)/255<<16;i=c+i|0;b=b+4|0;g=g-1|0;if(g){continue}break}i=d+i|0;b=b+h|0;if(f){continue}break}}}function M2a(a){a=a|0;var b=0,c=0;b=v[a+20>>2];a:{b:{if(b-205>>>0<=1){if(!v[a+64>>2]){break b}Ub[v[v[a+440>>2]+4>>2]](a);v[a+20>>2]=208;break a}if((b|0)==208){break a}}c=v[a>>2];v[c+24>>2]=b;v[c+20>>2]=21;Ub[v[v[a>>2]>>2]](a)}c:{while(1){if(v[a+144>>2]>v[a+152>>2]){break c}b=v[a+456>>2];if(v[b+20>>2]){break c}if(Ub[v[b>>2]](a)|0){continue}break}return 0}v[a+20>>2]=207;return 1}function qO(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=Qb-32|0;Qb=e;d=-1;a:{b:{if((c|0)>-1){break b}c=v[a+8>>2]+c|0;if((c|0)>-1){break b}a=vc(e+8|0,227475,241921,1748,226154,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}b=P()|0;O()|0;qc(a);T(b|0);L()}if(!(!b|!w[b|0]|v[a+8>>2]<=(c|0))){d=v[a+12>>2]+c|0;a=lN(d,b);d=a?a+(c-d|0)|0:-1}Qb=e+32|0;return d|0}L()}function lfa(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;f=Qb-32|0;Qb=f;g=Ci(a,-262143,262142,a+188|0);a=Ci(a,-262143,262142,a+192|0);a:{b:{c=c+g|0;if(c>>>0<=65535){a=a+d|0;if(a>>>0<65536){break b}}a=vc(f+8|0,240130,242139,802,337511,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}b=P()|0;O()|0;qc(a);T(b|0);L()}Gt(b,a,c,e);Qb=f+32|0;return}L()}function c$a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=v[a+16>>2];a=c;a=w[a+12|0]|w[a+13|0]<<8|(w[a+14|0]<<16|w[a+15|0]<<24);d=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a:{if(d>>>0>b>>>0){break a}a=c;a=w[a+16|0]|w[a+17|0]<<8|(w[a+18|0]<<16|w[a+19|0]<<24);e=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);a=b-d|0;if(e>>>0<=a>>>0){break a}a=(c+20|0)+(a<<1)|0;f=w[a|0]<<8|w[a+1|0]}return f|0}function Kh(a,b,c){var d=0,e=0,f=0;a:{if((c|0)<1){break a}while(1){d=v[a+8>>2];if(d&7){break a}f=v[a+64>>2];if(!((f|0)<0|v[a+60>>2]<(f|0))){v[a+8>>2]=d|4;return e}d=v[a+28>>2];v[a+28>>2]=d-1;b:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;d=v[a+24>>2];v[a+24>>2]=d+1;d=w[d|0];break b}d=Hc(a,1);if((d|0)==-1){break a}}t[b|0]=d;b=b+1|0;e=e+1|0;if((e|0)!=(c|0)){continue}break}e=c}return e}function Eo(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;if(!(!a|!b)){c=u[a+2>>1];a:{if(!c){c=0;break a}a=v[a+4>>2];d=v[a+4>>2];e=v[a>>2];if((c|0)<2){c=d;f=e;break a}h=(c<<3)+a|0;g=a+8|0;f=e;c=d;while(1){a=v[a+12>>2];c=(a|0)>(c|0)?a:c;d=(a|0)<(d|0)?a:d;a=v[g>>2];f=(a|0)>(f|0)?a:f;e=(a|0)<(e|0)?a:e;a=g;g=a+8|0;if(h>>>0>g>>>0){continue}break}}v[b+8>>2]=f;v[b>>2]=e;v[b+12>>2]=c;v[b+4>>2]=d}}function ubb(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=797}if(v[a+536>>2]){b=a;a:{if(w[a+288|0]){c=798;if(w[a+2272|0]){break a}}c=799}v[b+984>>2]=c}v[a+580>>2]=0;v[a+584>>2]=1;v[a+572>>2]=0;v[a+576>>2]=1;t[a+568|0]=255;v[a+600>>2]=0;v[a+592>>2]=1;v[a+596>>2]=0;v[a+652>>2]=1;t[a+648|0]=0;b=v[a+316>>2];v[a+604>>2]=b;v[a+588>>2]=b;v[a+608>>2]=v[a+616>>2]+b;return df(a)|0}function qsa(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,h=0;g=v[a+4>>2];if(g){a=Qb-16|0;Qb=a;g=v[g+12>>2];if(!g){v[c>>2]=0;v[c+4>>2]=0;v[d>>2]=0;v[d+4>>2]=0;v[e>>2]=0;v[e+4>>2]=1079508992;v[f>>2]=0;v[f+4>>2]=1079508992}v[a+12>>2]=0;v[a+8>>2]=0;v[a+4>>2]=0;It(g,b,a+12|0,a+8|0,a+4|0);A[c>>3]=v[a+12>>2];A[d>>3]=v[a+8>>2];h=+v[a+4>>2];A[e>>3]=h;A[f>>3]=h;Qb=a+16|0}}function Kya(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a=go(v[a+28>>2],b);b=Qb-16|0;Qb=b;v[b>>2]=13;d=fc(8);c=v[a+4>>2];v[299999]=0;c=Z(3097,a+16|0,c|0,b|0,0)|0;e=v[299999];v[299999]=0;a:{b:{if((e|0)==1){break b}a=v[v[v[a>>2]+28>>2]+56>>2];v[299999]=0;a=Y(3791,d|0,c|0,a|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break b}hc(b);Qb=b+16|0;break a}a=P()|0;O()|0;dc(d);T(a|0);L()}return a|0}function Jbb(a){a=a|0;var b=0,c=0;if(v[a+968>>2]){v[a+988>>2]=776}if(v[a+536>>2]){b=a;a:{if(w[a+288|0]){c=777;if(w[a+2272|0]){break a}}c=778}v[b+984>>2]=c}v[a+580>>2]=0;v[a+584>>2]=1;v[a+572>>2]=0;v[a+576>>2]=1;t[a+568|0]=255;v[a+600>>2]=0;v[a+592>>2]=1;v[a+596>>2]=0;v[a+652>>2]=1;t[a+648|0]=0;b=v[a+316>>2];v[a+604>>2]=b;v[a+588>>2]=b;v[a+608>>2]=v[a+616>>2]+b;return df(a)|0}function C4a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=v[b+4>>2];v[a+2748>>2]=b;d=v[b+28>>2];v[a+4>>2]=v[b+44>>2];v[a+8>>2]=v[b+48>>2];v[a+12>>2]=v[b+9848>>2];v[a+16>>2]=v[b+9852>>2];e=v[b+24>>2];c=(e&-2)==2;f=c|2;c=(e|0)==2?f:(e|0)==4?f:c;f=(e&-3)==1;c=f?c:c|4;d=(t[g+12|0]&1?1:f)?d|1:d;b=w[v[v[b+36>>2]+388>>2]+20|0];v[a+2744>>2]=(e|0)==2?c|8:c;v[a+2740>>2]=b?d:d|8;return 0}function rm(a,b,c,d,e,f){var g=0;a:{if((e|0)<1){break a}g=e-1|0;a=(b<<2)+a|0;b=(d<<2)+c|0;c=e&3;if(c){while(1){gc(v[b>>2],v[a>>2],f);e=e-1|0;b=b+4|0;a=a+4|0;c=c-1|0;if(c){continue}break}}if(g>>>0<3){break a}while(1){gc(v[b>>2],v[a>>2],f);gc(v[b+4>>2],v[a+4>>2],f);gc(v[b+8>>2],v[a+8>>2],f);gc(v[b+12>>2],v[a+12>>2],f);b=b+16|0;a=a+16|0;c=(e|0)>4;e=e-4|0;if(c){continue}break}}}function pW(a,b){var c=0,d=0,e=0;a:{b:{c:{if(a){if(!b){return 0}c=w[a|0];if(!c){a=0;d=1;break c}if(mc(b,292679)){break c}a=c?a:0;if(!mc(a,253355)){c=311697;break b}c=mc(a,277313)?b:236202;break b}d=1;a=0;c=0;if(!b){break a}}e=mc(b,242522);c=e?b:236202;if(!e|d){break b}if(!mc(a,309189)){c=b;break b}if(mc(b,323520)){c=b;if(mc(b,320685)){break b}}c=323858}c=w[c|0]?c:0}return c}function ZRa(a,b,c){a=a|0;b=C(b);c=C(c);var d=C(0),e=0,f=C(0),g=C(0),h=C(0),i=C(0),j=C(0);e=v[a+176>>2];f=z[e+20>>2];d=b;b=z[e+16>>2];g=C(d-b);d=C(z[e+12>>2]-f);h=C(z[e>>2]-b);i=C(b-z[e+8>>2]);j=z[e+4>>2];b=C(C(d*h)+C(i*C(j-f)));c=C(c-f);d=C(C(C(d*g)+C(c*i))/b);a=v[a+200>>2];b=C(C(C(C(f-j)*g)+C(c*h))/b);return C(C(C(C(d*z[a>>2])+C(z[a+4>>2]*b))+C(z[a+8>>2]*C(C(C(1)-d)-b))))}function YOa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=v[294064];if(b){a=v[294065];if((b|0)==(a|0)){a=b}else{while(1){d=a-12|0;c=v[d>>2];if(c){e=a-8|0;a=v[e>>2];if((c|0)==(a|0)){a=c}else{while(1){f=a-12|0;if(t[a-1|0]<=-1){dc(v[f>>2])}a=f;if((c|0)!=(a|0)){continue}break}a=v[d>>2]}v[e>>2]=c;dc(a)}a=d;if((b|0)!=(a|0)){continue}break}a=v[294064]}v[294065]=b;dc(a)}gq(1176244,v[294062])}function Kn(a,b){var c=0;a:{if(!b){break a}if(b&1){c=w[a+3|0];t[a+3|0]=w[a|0];t[a|0]=c;c=w[a+2|0];t[a+2|0]=w[a+1|0];t[a+1|0]=c;a=a+4|0;c=b-1|0}else{c=b}if((b|0)==1){break a}while(1){b=w[a+3|0];t[a+3|0]=w[a|0];t[a|0]=b;b=w[a+2|0];t[a+2|0]=w[a+1|0];t[a+1|0]=b;b=w[a+7|0];t[a+7|0]=w[a+4|0];t[a+4|0]=b;b=w[a+6|0];t[a+6|0]=w[a+5|0];t[a+5|0]=b;a=a+8|0;c=c-2|0;if(c){continue}break}}}function q0(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{f=v[a>>2];g=v[a+4>>2]-f|0;d=g>>2;c=d+1|0;if(c>>>0<1073741824){h=d<<2;e=v[a+8>>2]-f|0;d=e>>1;e=e>>2>>>0<536870911?c>>>0>d>>>0?c:d:1073741823;if(e){if(e>>>0>=1073741824){break a}c=fc(e<<2)}else{c=0}d=h+c|0;v[d>>2]=v[b>>2];if((g|0)>=1){gc(c,f,g)}v[a+8>>2]=c+(e<<2);v[a+4>>2]=d+4;v[a>>2]=c;if(f){dc(f)}return}ue(a);L()}cf(2065);L()}function h6a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=!a|v[a>>2]!=1381173770?d:v[a+4>>2];u[d+32>>1]=24;v[d+24>>2]=c;v[d+20>>2]=b;e=B(b,24)+31>>>3&536870908;v[d+28>>2]=e;if(w[a+86|0]){v[d+40>>2]=0;t[d+46|0]=w[a+81|0];t[d+45|0]=w[a+83|0];t[d+44|0]=w[a+85|0]}f=d,g=jc(B(c,e)),v[f+4>>2]=g;if(!(!a|v[a>>2]!=1381173770)){v[a+52>>2]=20480}f=d,g=jc(B(b,c)),v[f+8>>2]=g;return 1}function eD(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=996016;b=v[a+3312>>2];v[a+3312>>2]=0;a:{if(!b){break a}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)!=1){if(c){break a}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}}W(0)|0;O()|0;lc();L()}v[a>>2]=996084;fd(a+120|0);fd(a+96|0);fd(a+72|0);Lc(a+40|0);Lc(a+28|0);Lc(a+16|0);return a|0}function qcb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(v[a+2308>>2]){e=v[a+2300>>2];d=v[a+2312>>2];b=v[a+2316>>2];while(1){c=w[d|0];if(!((c|0)==x[e+836>>1]?w[e+56|0]:0)){t[b+6|0]=255;t[b+7|0]=255}f=Ub[v[a+2296>>2]](c)|0;c=f>>>8|0;t[b+4|0]=c;t[b+2|0]=c;t[b|0]=c;c=(f|0)!=0;t[b+5|0]=c;t[b+3|0]=c;t[b+1|0]=c;b=b+8|0;d=d+1|0;g=g+1|0;if(g>>>0>2]){continue}break}}return 0}function Wn(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=Qb-32|0;Qb=e;a:{b:{if(!c){break b}while(1){d=Ub[v[v[a>>2]+8>>2]](a,b,c)|0;if((d|0)<=-1){a=vc(e+8|0,ck(v[299402]),241835,413,338777,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}b=P()|0;O()|0;qc(a);T(b|0);L()}f=d+f|0;if(!d){break b}b=b+d|0;c=c-d|0;if(c){continue}break}}Qb=e+32|0;return f|0}L()}function Tra(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=a+c|0;Wd(f+e|0,f,b-c|0);a:{if((e|0)<1){break a}f=e&3;b=0;if(e-1>>>0>=3){e=e&-4;while(1){t[(b+c|0)+a|0]=w[d|0];t[((b|1)+c|0)+a|0]=w[d|0];t[((b|2)+c|0)+a|0]=w[d|0];t[((b|3)+c|0)+a|0]=w[d|0];b=b+4|0;e=e-4|0;if(e){continue}break}}if(!f){break a}while(1){t[(b+c|0)+a|0]=w[d|0];b=b+1|0;f=f-1|0;if(f){continue}break}}}function dP(a){var b=0,c=0,d=0,e=0;b=Qb-16|0;Qb=b;a:{if(v[a+8>>2]){Ch(b+8|0,a,a+8|0);break a}v[b+8>>2]=0;Wc(b+8|0,0)}b:{a=v[b+8>>2];if(!a){break b}d=v[a+12>>2];v[299999]=0;v[b+8>>2]=0;c=v[a+4>>2]-1|0;v[a+4>>2]=c;e=v[299999];v[299999]=0;if((e|0)!=1){if(c){break b}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}}W(0)|0;O()|0;lc();L()}Qb=b+16|0;return d}function _h(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=Qb-16|0;Qb=b;e=b+4|0;g=ye(a,e,2);f=w[b+4|0]|w[b+5|0]<<8;d=b+12|0;c=ye(a,d,2);u[b+4>>1]=(c|0)==2?t[b+12|0]:0;c=ye(a,d,2);u[b+6>>1]=(c|0)==2?t[b+12|0]:0;c=ye(a,b+12|0,2);u[b+8>>1]=(c|0)==2?t[b+12|0]:0;a=ye(a,b+12|0,2);u[b+10>>1]=(a|0)==2?t[b+12|0]:0;a=FA(d,(g|0)==2?(f<<8|f>>>8)<<16>>16:0,e);Qb=b+16|0;return a?16777215:v[b+12>>2]}function _Ca(a,b,c){a=a|0;b=b|0;c=c|0;b=v[a+28>>2];c=v[b+596>>2];if(!(v[c+28>>2]>0|v[c>>2])){b=-1;a=v[a+108>>2];a:{if(!a){break a}a=v[a+4>>2];if(v[a+8>>2]==13){break a}a=v[a+16>>2];b=Ub[v[v[a>>2]+52>>2]](a)|0}kc(1,b,269649,0);return}Hf(c);a=v[b+596>>2];a=v[((v[a+28>>2]<<2)+v[a+24>>2]|0)-4>>2];c=(v[a+12>>2]<<3)-8|0;A[b+600>>3]=A[c+v[a>>2]>>3];A[b+608>>3]=A[c+v[a+4>>2]>>3]}function Chb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Qb-32|0;Qb=c;d=w[a+16|0];e=w[a+28|0];f=v[a+12>>2];v[c+28>>2]=v[a+20>>2];v[c+24>>2]=e;v[c+20>>2]=d;v[c+16>>2]=f;wc(b,56888,c+16|0);if(v[a+20>>2]>=1){d=0;while(1){e=v[v[a+24>>2]+(d<<2)>>2];v[c+8>>2]=d;v[c>>2]=d;v[c+12>>2]=e&2047;v[c+4>>2]=e>>>11;wc(b,56531,c);d=d+1|0;if((d|0)>2]){continue}break}}Qb=c+32|0;return 0}function fm(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;d=A[b+32>>3];e=A[b>>3];f=A[b+16>>3];h=A[a>>3];i=A[a+8>>3];c=A[b+24>>3];A[a+8>>3]=h*A[b+8>>3]+i*c;g=c;c=A[a+24>>3];j=A[a+16>>3];k=A[b+8>>3];A[a+24>>3]=g*c+j*k;m=A[b+40>>3];n=A[b+24>>3];g=d;d=A[a+32>>3];l=A[a+40>>3];A[a+32>>3]=g+(e*d+f*l);A[a+16>>3]=e*j+f*c;A[a>>3]=h*e+i*f;A[a+40>>3]=m+(d*k+l*n);return a}function eP(a){var b=0,c=0,d=0,e=0;b=Qb-16|0;Qb=b;a:{if(v[a+8>>2]){Ch(b+8|0,a,a+8|0);break a}v[b+8>>2]=0;Wc(b+8|0,0)}b:{a=v[b+8>>2];if(!a){break b}d=v[a+8>>2];v[299999]=0;v[b+8>>2]=0;c=v[a+4>>2]-1|0;v[a+4>>2]=c;e=v[299999];v[299999]=0;if((e|0)!=1){if(c){break b}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break b}}W(0)|0;O()|0;lc();L()}Qb=b+16|0;return d}function aZa(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;d=u[a+298>>1];e=B(d,b>>16);b=B(d,b&65535);d=e<<16;f=b+d|0;a=u[a+300>>1];g=B(a,c&65535);c=B(a,c>>16);h=c<<16;a=g+h|0;i=f+a|0;c=((((((e>>16)+(b>>31)|0)+(g>>31)|0)+(c>>16)|0)+(d>>>0>f>>>0)|0)+(a>>>0>>0)|0)+(a>>>0>i>>>0)|0;b=c>>31;a=i+b|0;return((b+c|0)+(a>>>0>>0)|0)+(a>>>0>4294959103)<<18|a- -8192>>>14}function $Ya(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;d=u[a+294>>1];e=B(d,b>>16);b=B(d,b&65535);d=e<<16;f=b+d|0;a=u[a+296>>1];g=B(a,c&65535);c=B(a,c>>16);h=c<<16;a=g+h|0;i=f+a|0;c=((((((e>>16)+(b>>31)|0)+(g>>31)|0)+(c>>16)|0)+(d>>>0>f>>>0)|0)+(a>>>0>>0)|0)+(a>>>0>i>>>0)|0;b=c>>31;a=i+b|0;return((b+c|0)+(a>>>0>>0)|0)+(a>>>0>4294959103)<<18|a- -8192>>>14}function vG(a){a=a|0;var b=0,c=0;a:{c=v[a+8>>2];if(!c){break a}b=v[c>>2];if(b){je(b)}b=v[c+4>>2];if(b){je(b)}b=v[c+8>>2];if(b){je(b)}b=v[c+12>>2];if(b){je(b)}b=v[c+16>>2];if(b){je(b)}b=v[c+20>>2];if(b){je(b)}b=v[c+24>>2];if(b){je(b)}b=v[c+28>>2];if(b){je(b)}b=v[c+32>>2];if(b){je(b)}b=v[c+36>>2];if(b){je(b)}eq(v[c+40>>2]);if(w[a+34|0]){break a}_e(v[a+8>>2]);v[a+8>>2]=0}}function vD(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{if((b|0)>=1){while(1){c=b;b=v[a+24>>2];v[a+24>>2]=0;b:{if(!b){break b}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(d){break b}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=c-1|0;ec(a+16|0);a=a+28|0;if((c|0)>1){continue}break}}return}W(0)|0;O()|0;lc();L()}function l7a(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1145390665){pc(a,2050,0,0);return 2050}u[b+32>>1]=x[c+32>>1];t[b+34|0]=w[c+34|0];t[b+35|0]=w[c+35|0];t[b+36|0]=w[c+36|0];t[b+37|0]=w[c+37|0];t[b+38|0]=w[c+38|0];v[b+40>>2]=v[c+40>>2];v[b+44>>2]=v[c+44>>2];t[b+48|0]=w[c+48|0];v[b+52>>2]=v[c+52>>2];v[b+56>>2]=v[c+56>>2];v[b+60>>2]=v[c+60>>2];v[b+64>>2]=v[c+64>>2];return 0}function l0a(a){a=a|0;var b=0;b=v[a+8>>2];ic(a+16|0,0,84);v[a+136>>2]=1829;v[a+132>>2]=1830;v[a+128>>2]=1831;v[a+124>>2]=1832;v[a+120>>2]=1833;v[a+116>>2]=1834;v[a+108>>2]=1835;v[a+104>>2]=1836;v[a+100>>2]=1837;v[a+12>>2]=b;v[a+164>>2]=1829;v[a+160>>2]=1838;v[a+156>>2]=1839;v[a+152>>2]=1840;v[a+148>>2]=1833;v[a+144>>2]=1841;b=a+12|0;v[a+112>>2]=b;v[a+140>>2]=b;return 0}function dfa(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=996016;b=v[a+3312>>2];v[a+3312>>2]=0;a:{if(!b){break a}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)!=1){if(c){break a}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}}W(0)|0;O()|0;lc();L()}v[a>>2]=996084;fd(a+120|0);fd(a+96|0);fd(a+72|0);Lc(a+40|0);Lc(a+28|0);Lc(a+16|0);dc(a)}function Wla(a,b){a=a|0;b=b|0;var c=0,d=0;a:{if((b|0)<1){break a}d=b-1|0;c=b&3;if(c){while(1){v[a>>2]=0;v[a+4>>2]=v[282402];a=a+8|0;b=b-1|0;c=c-1|0;if(c){continue}break}}if(d>>>0<3){break a}while(1){v[a>>2]=0;c=v[282402];v[a+16>>2]=0;v[a+12>>2]=c;v[a+8>>2]=0;v[a+4>>2]=c;c=v[282402];v[a+28>>2]=c;v[a+24>>2]=0;v[a+20>>2]=c;a=a+32|0;c=(b|0)>4;b=b-4|0;if(c){continue}break}}}function FK(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;e=jc(40);v[e>>2]=0;e=Ue(a+624|0,1,e,4);i=O()|0;a:{while(1){if(d){h=0;break a}d=v[v[a+4>>2]+8>>2];v[299999]=0;h=Z(d|0,a|0,1,b|0,c|0)|0;d=v[299999];v[299999]=0;f=-1;b:{c:{if(!d){break c}g=v[3e5];if(!g){break c}f=sc(v[d>>2],e,i);if(!f){break b}_(g|0)}d=O()|0;if((f|0)==1){continue}break a}break}dc(e);sd(d,g);L()}dc(e);return h}function Em(a,b){var c=0,d=0,e=0;a:{c=x[a+1148>>1];if(!c){if(!fj(a)){return 0}c=x[a+1148>>1];if(!c){break a}}d=v[a+1152>>2];e=w[d|0];u[a+1148>>1]=c-1;c=d+1|0;v[a+1152>>2]=c;u[b>>1]=e<<8;d=x[a+1148>>1];if(!d){if(!fj(a)){return 0}d=x[a+1148>>1];if(!d){break a}c=v[a+1152>>2]}e=w[c|0];u[a+1148>>1]=d-1;v[a+1152>>2]=c+1;u[b>>1]=e|x[b>>1];return 1}X(43294,7087,1949,87085);L()}function kea(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{if((b|0)>=1){while(1){c=b;ec(a+12|0);b=v[a+8>>2];v[a+8>>2]=0;b:{if(!b){break b}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(d){break b}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=c-1|0;a=a+20|0;if((c|0)>1){continue}break}}return}W(0)|0;O()|0;lc();L()}function Id(a,b,c){var d=0,e=0,f=0;d=Qb-32|0;Qb=d;v[d+28>>2]=c;e=cr(a,b);a:{if(!e){c=v[a+628>>2];v[d>>2]=v[a>>2];v[d+8>>2]=b;v[d+4>>2]=b>>>0>65535?19338:22352;zc(c,13501,15352,d);break a}if(!(w[e+14|0]|(!(w[a+12|0]&64)|(b|0)==257))){b=v[a+628>>2];a=v[a>>2];v[d+20>>2]=v[e+16>>2];v[d+16>>2]=a;zc(b,13501,22789,d+16|0);break a}f=Ub[v[a+668>>2]](a,b,c)|0}Qb=d+32|0;return f}function F2(a){var b=0,c=0,d=0;b=v[a+28>>2];if(b){if(v[a+24>>2]){while(1){c=v[b+4>>2];if(c){dc(c)}c=v[b+20>>2];if(c){Te(c)}c=v[b+24>>2];if(c){Us(c)}c=v[b+28>>2];if(c){$e(c)}c=v[b+32>>2];if(c){$e(c)}b=b+60|0;d=d+1|0;if(d>>>0>2]){continue}break}b=v[a+28>>2]}dc(b)}b=v[a+32>>2];if(b){$h(b)}b=v[a+36>>2];if(b){$h(b)}b=v[a+44>>2];if(b){$h(b)}a=v[a+48>>2];if(a){$h(a)}}function xqa(a,b){a=a|0;b=b|0;var c=0,d=0;if((b|0)>=1){while(1){Ic(a+52|0);v[a+40>>2]=981312;v[a+16>>2]=981280;c=v[a+44>>2];if(c){d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(!d){Ub[v[v[c>>2]+4>>2]](c)}v[a+44>>2]=0}v[a+32>>2]=981312;c=v[a+36>>2];if(c){d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(!d){Ub[v[v[c>>2]+4>>2]](c)}v[a+36>>2]=0}ec(a+24|0);a=a+68|0;c=(b|0)>1;b=b-1|0;if(c){continue}break}}}function uS(a){var b=0,c=0;a:{b:{if(!v[a+36>>2]){break b}b=v[a+32>>2];if((b|0)<1){break b}c=1;while(1){v[a+40>>2]=-1;if(c){v[a+32>>2]=b-1}v[a+28>>2]=v[a+28>>2]+1;b=v[a+24>>2];c=v[v[b>>2]+28>>2];v[299999]=0;b=S(c|0,b|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}v[a+40>>2]=b&255;b=v[a+32>>2];if((b|0)<1){break b}c=v[a+36>>2];continue}}return a}W(0)|0;O()|0;lc();L()}function _Fa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=Bc(c);a:{if((b|0)<0|(e|0)<0|((e|0)>1024|(b|0)>2147482623)){break a}f=b;g=a;d=v[a+1032>>2];if(!((d|0)<=(b|0)&(b+e|0)<=(v[a+1036>>2]+d|0))){d=0;if(zg(v[a+4>>2],b,0)){break a}v[a+1032>>2]=b;b=qg(a+8|0,1,1024,v[a+4>>2]);v[a+1036>>2]=b;if((b|0)<(e|0)){break a}d=v[a+1032>>2]}d=!Pc((f+(g-d|0)|0)+8|0,c,e)}return d|0}function y7a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if(v[c>>2]!=1950701684){pc(a,2050,0,0);return 2050}e=v[c+32>>2];v[b+32>>2]=e;d=v[c+40>>2];v[b+40>>2]=d;a:{if(e){d=Ub[v[a+152>>2]](e)|0;v[b+36>>2]=d;if(!d){break a}gc(d,v[c+36>>2],v[b+32>>2]);d=v[b+40>>2]}if(d){d=Ub[v[a+152>>2]](d)|0;v[b+44>>2]=d;if(!d){break a}gc(d,v[c+44>>2],v[b+40>>2])}return 0}pc(a,1,0,0);return 1}function wEa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;a:{d=v[a+4>>2];if((d|0)<1){break a}f=d&3;a=0;if(d-1>>>0>=3){g=d&-4;while(1){d=a<<3;A[d+c>>3]=A[b+d>>3];e=d|8;A[e+c>>3]=A[b+e>>3];e=d|16;A[e+c>>3]=A[b+e>>3];d=d|24;A[d+c>>3]=A[b+d>>3];a=a+4|0;g=g-4|0;if(g){continue}break}}if(!f){break a}while(1){d=a<<3;A[d+c>>3]=A[b+d>>3];a=a+1|0;f=f-1|0;if(f){continue}break}}}function VE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;c=v[a+28>>2];if(v[c+664>>2]){b=-1;a=v[a+108>>2];a:{if(!a){break a}a=v[a+4>>2];if(v[a+8>>2]==13){break a}a=v[a+16>>2];b=Ub[v[v[a>>2]+52>>2]](a)|0}kc(0,b,245185,0);return}e=c;b=v[b+8>>2];d=0;b:{if(!mc(b,293176)){break b}d=2;if(!mc(b,247340)){break b}d=mc(b,260840)?1:3}v[e+420>>2]=d;a=v[a+8>>2];Ub[v[v[a>>2]+148>>2]](a,c)}function Qoa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Qb-16|0;Qb=c;d=v[b+8>>2];if(d){while(1){a:{b:{e=v[d+8>>2];if(v[e+8>>2]!=4){break b}f=c+8|0;PP(f,e);v[299999]=0;e=Nc(f,a,-1);f=v[299999];v[299999]=0;if((f|0)!=1){ec(c+8|0);if(e){break b}v[c+12>>2]=b;v[c+8>>2]=d;d=v[d>>2];Mm(b,c+8|0);break a}a=P()|0;O()|0;ec(c+8|0);T(a|0);L()}d=v[d>>2]}if(d){continue}break}}Qb=c+16|0}function CX(a){a=a|0;var b=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a+88>>2]=-1;v[a+80>>2]=0;v[a+84>>2]=0;v[a+24>>2]=0;v[a+28>>2]=1072693248;v[a>>2]=0;v[a+4>>2]=0;v[a+72>>2]=0;v[a+76>>2]=1072693248;v[a+16>>2]=0;v[a+20>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;v[a+40>>2]=0;v[a+44>>2]=0;v[a+48>>2]=0;v[a+52>>2]=1072693248;v[a+56>>2]=0;v[a+60>>2]=0;b=a- -64|0;v[b>>2]=0;v[b+4>>2]=0;return a|0}function $P(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=fc(128);v[299999]=0;f=S(4484,e|0)|0;g=v[299999];v[299999]=0;if((g|0)!=1){v[a>>2]=0;Wc(a,f);v[299999]=0;R(4485,f|0);e=v[299999];v[299999]=0;a:{if((e|0)!=1){v[299999]=0;$(4490,f|0,b|0,c|0,d|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}}b=P()|0;O()|0;ec(a);T(b|0);L()}return}a=P()|0;O()|0;dc(e);T(a|0);L()}function q7(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;if((c|0)>=1){a=v[a+12>>2];while(1){f=c;e=0;c=x[a>>1];g=c&32767;a:{if(!g){break a}d=wp((+(g|0)+.5)*.0027076061740622863+-44.3614195558365);d=c&32768?-d:d;if(d<=0){break a}e=d>=1;d=K(d)*256;b:{if(D(d)<2147483648){c=~~d;break b}c=-2147483648}e=e?255:c}a=a+2|0;c=f-1|0;t[b|0]=e;b=b+1|0;if((f|0)>1){continue}break}}}function Zq(a){a=a|0;var b=0;v[a>>2]=1011136;v[299999]=0;S(2722,a|0)|0;b=v[299999];v[299999]=0;a:{if((b|0)==1){b=W(0)|0;O()|0;ea(b|0)|0;v[299999]=0;ba(4230);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b:{if(!w[a+96|0]){break b}b=v[a+32>>2];if(!b){break b}dc(b)}c:{if(!w[a+97|0]){break c}b=v[a+56>>2];if(!b){break c}dc(b)}kt(a);return a|0}W(0)|0;O()|0;kt(a);lc();L()}function ZL(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;e=Qb-16|0;Qb=e;f=v[a+4>>2];d=v[c>>2]-v[a>>2]|0;a:{if(d>>>0<2147483647){d=d<<1;break a}d=-1}d=d?d:4;h=v[b>>2];i=v[a>>2];g=be((f|0)==5601?0:v[a>>2],d);if(g){if((f|0)!=5601){v[a>>2]=0}v[e+4>>2]=1563;f=Mf(e+8|0,g,e+4|0);VL(a,f);ee(f);v[b>>2]=v[a>>2]+(h-i|0);v[c>>2]=v[a>>2]+(d&-4);Qb=e+16|0;return}ZB();L()}function UBa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=Qb-16|0;Qb=e;Ub[v[v[a>>2]+20>>2]](a,b,e,d);a=65536-v[e+8>>2]|0;a=(a|0)<65536?a:65536;b=(a|0)>0?a:0;a=65536-v[e+4>>2]|0;a=(a|0)<65536?a:65536;d=(a|0)>0?a:0;a=65536-v[e>>2]|0;a=(a|0)<65536?a:65536;f=(a|0)>0?a:0;a=(d|0)<(f|0)?d:f;a=(a|0)>(b|0)?b:a;v[c+12>>2]=a;v[c+8>>2]=b-a;v[c+4>>2]=d-a;v[c>>2]=f-a;Qb=e+16|0}function BI(a,b){var c=0,d=0,e=0;a:{if(!b|!a|(a|0)==(b|0)){break a}d=v[b>>2];c=v[b+4>>2];if(!((d|0)!=v[a>>2]|(c|0)!=v[a+4>>2])&v[b+8>>2]==v[a+8>>2]){break a}e=v[b+12>>2];b=v[b+8>>2];v[a+4>>2]=(c|0)>0?c:0;v[a>>2]=(d|0)>0?d:0;if((b|0)>=1){v[a+8>>2]=b}v[a+12>>2]=e;b=v[a+40>>2];if(b){Ub[v[259694]](b);v[a+40>>2]=0}b=Ub[v[259693]](B(c,e)<<2)|0;if(!b){return}v[a+40>>2]=b}}function xB(a){var b=0;b=v[a+584>>2];if(b){if(!Kl(a,187872,1)){zc(v[a+628>>2],187840,10368,0);return}v[b+44>>2]=v[a+672>>2];v[a+672>>2]=576;v[b+48>>2]=v[a+668>>2];v[a+668>>2]=577;v[b+52>>2]=v[a+676>>2];v[a+676>>2]=578;v[b+56>>2]=v[a+516>>2];v[a+516>>2]=579;v[b+60>>2]=v[a+524>>2];v[a+524>>2]=580;v[b+40>>2]=0;v[b+24>>2]=0;v[b>>2]=1;return}X(3788,6354,677,187840);L()}function uDa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=A[b+24>>3];f=v[b+24>>2];g=v[b+16>>2];c=v[a+28>>2];e=A[c+616>>3]+(v[b>>2]==1?+v[b+8>>2]:A[b+8>>3]);A[c+616>>3]=e;d=A[c+624>>3]+((g|0)==1?+(f|0):d);A[c+624>>3]=d;A[c+600>>3]=A[c+536>>3]+(e*A[c+504>>3]+d*A[c+520>>3]);A[c+608>>3]=A[c+544>>3]+(e*A[c+512>>3]+d*A[c+528>>3]);a=v[a+8>>2];Ub[v[v[a>>2]+184>>2]](a,c)}function Vra(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;e=v[a+4>>2];a=w[c|0];d=a+w[b|0]|0;t[b|0]=d;if((e|0)>=2){l=b+e|0;b=b+1|0;while(1){h=d&255;d=h-a|0;f=d>>31;e=w[c+1|0];g=e-a|0;i=g>>31;j=d+g|0;k=j>>31;m=a;a=f^d+f;d=i^g+i;f=a>>>0>>0;d=w[b|0]+((k^k+j)<((f?a:d)|0)?m:f?e:h)|0;t[b|0]=d;c=c+1|0;a=e;b=b+1|0;if(l>>>0>b>>>0){continue}break}}}function Agb(a){a=a|0;var b=0,c=0;b=v[v[a+40>>2]+16>>2];a=v[a+52>>2];Ub[v[v[a>>2]+20>>2]](a,2)|0;a:{if((b|0)<1){break a}if((b|0)!=1){c=b&-2;while(1){Ub[v[v[a>>2]+20>>2]](a,2)|0;Ub[v[v[a>>2]+20>>2]](a,2)|0;Ub[v[v[a>>2]+20>>2]](a,2)|0;Ub[v[v[a>>2]+20>>2]](a,2)|0;c=c-2|0;if(c){continue}break}}if(!(b&1)){break a}Ub[v[v[a>>2]+20>>2]](a,2)|0;Ub[v[v[a>>2]+20>>2]](a,2)|0}}function uw(a,b,c){var d=0,e=0;if(c&2048){t[a|0]=43;a=a+1|0}if(c&1024){t[a|0]=35;a=a+1|0}d=c&260;if((d|0)!=260){t[a|0]=46;t[a+1|0]=42;a=a+2|0}c=c&16384;while(1){e=w[b|0];if(e){t[a|0]=e;a=a+1|0;b=b+1|0;continue}break}a:{b:{if((d|0)!=256){if((d|0)!=4){break b}b=c?70:102;break a}b=c?69:101;break a}b=c?65:97;if((d|0)==260){break a}b=c?71:103}t[a|0]=b;return(d|0)!=260}function pj(a){var b=0;if(a){b=v[a>>2];if(b){Ub[v[259708]](b)}b=v[a+12>>2];if(b){Ub[v[259708]](b)}b=v[a+16>>2];if(b){Ub[v[259708]](b)}b=v[a+24>>2];if(b){Ub[v[259708]](b)}b=v[a+32>>2];if(b){Ub[v[259708]](b)}b=v[a+4>>2];if(b){Ub[v[259708]](b)}b=v[a+8>>2];if(b){Ub[v[259708]](b)}b=v[a+28>>2];if(b){Ub[v[259708]](b)}b=v[a+40>>2];if(b){Ub[v[259708]](b)}Ub[v[259708]](a)}}function l4a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=6;a=v[a+140>>2];a:{if(!a|!v[a+72>>2]|(!b|!w[b|0])){break a}b=Yh(b,v[a+92>>2]);if(!b){break a}a=v[a+80>>2];if(!a){break a}b:{c:{d:{e:{a=a+(v[b>>2]<<4)|0;switch(v[a+4>>2]-1|0){case 2:break c;case 1:break d;case 0:break e;default:break a}}v[c>>2]=1;break b}v[c>>2]=2;break b}v[c>>2]=3}v[c+4>>2]=v[a+12>>2];d=0}return d|0}function kcb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(v[a+2308>>2]){c=v[a+2312>>2];b=v[a+2316>>2];while(1){d=Ub[v[a+2296>>2]](w[c|0])|0;e=Ub[v[a+2296>>2]](w[c+1|0])|0;f=Ub[v[a+2296>>2]](w[c+2|0])|0;t[b+3|0]=(e|0)!=0;t[b+2|0]=e>>>8;t[b+1|0]=(d|0)!=0;t[b|0]=d>>>8;t[b+5|0]=(f|0)!=0;t[b+4|0]=f>>>8;b=b+6|0;c=c+3|0;g=g+1|0;if(g>>>0>2]){continue}break}}return 0}function _xa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=Qb-16|0;Qb=c;v[c>>2]=13;zf(a+8|0,c);b=fc(48);f=v[c+8>>2];g=v[c+12>>2];d=v[a+32>>2];e=v[a+28>>2];a=v[a+24>>2];h=v[c>>2];i=v[c+4>>2];v[b>>2]=962372;v[b+24>>2]=a;v[b+28>>2]=e;v[b+32>>2]=d;v[b+44>>2]=0;v[b+16>>2]=f;v[b+20>>2]=g;v[b+8>>2]=h;v[b+12>>2]=i;a=a+e|0;v[b+40>>2]=a;v[b+36>>2]=a+d;Qb=c+16|0;return b|0}function vBa(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=897404;b=v[a+12>>2];if((b|0)>=1){while(1){d=v[((c<<2)+a|0)+16>>2];if(d){dc(Dc(d));b=v[a+12>>2]}c=c+1|0;if((c|0)<(b|0)){continue}break}}b=v[a+144>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}b=v[a+148>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}v[299999]=0;R(3098,a+152|0);b=v[299999];v[299999]=0;if((b|0)!=1){return a|0}W(0)|0;O()|0;lc();L()}function aGa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:{if(b>>>0>2147482623){break a}e=b;d=v[a+1032>>2];if(!((d|0)<=(b|0)&(b+4|0)<=(v[a+1036>>2]+d|0))){d=0;if(zg(v[a+4>>2],b,0)){break a}v[a+1032>>2]=b;b=qg(a+8|0,1,1024,v[a+4>>2]);v[a+1036>>2]=b;if((b|0)<4){break a}d=v[a+1032>>2]}a=(e-d|0)+a|0;v[c>>2]=w[a+8|0]|w[a+9|0]<<8|(w[a+10|0]<<16|w[a+11|0]<<24);d=1}return d|0}function Sv(a){var b=0,c=0,d=0;gf(a,2);v[a>>2]=54336;c=a,d=fc(16384),v[c+1028>>2]=d;c=a,d=fc(4096),v[c+1060>>2]=d;c=a,d=fc(4096),v[c+1064>>2]=d;c=a,d=fc(8192),v[c+1068>>2]=d;c=a,d=fc(20012),v[c+1072>>2]=d;c=a,d=fc(10006),v[c+1076>>2]=d;c=a,d=fc(257),v[c+1052>>2]=d;c=a,d=fc(256),v[c+1112>>2]=d;b=fc(256);v[a+1120>>2]=0;v[a+1116>>2]=b;t[a+492|0]=0;t[b|0]=0;return a}function N5a(a){a=a|0;var b=0,c=0,d=0;b=Qb-32|0;Qb=b;Ub[v[v[a>>2]+8>>2]](v[a+4>>2],16,0)|0;v[b>>2]=0;u[b+30>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+30|0,1,2)|0;c=w[b+30|0];d=b;if(x[a+25204>>1]==18761){c=c|w[b+31|0]<<8}else{c=w[b+31|0]|c<<8}v[d+4>>2]=c&65535;c=x[a+26304>>1];d=x[a+26306>>1];v[b+12>>2]=2147483647;v[b+8>>2]=B(c,d);E0(a,b,0);v[a+26136>>2]=0;Qb=b+32|0}function Jga(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;if(!(!f|!e)){c=h<<2;a=g<<1;while(1){f=f-1|0;g=0;while(1){v[b>>2]=w[i+1|0]|w[j+1|0]<<8|w[k+1|0]<<16|w[l+1|0]<<24;b=b+4|0;l=l+2|0;k=k+2|0;j=j+2|0;i=i+2|0;g=g+1|0;if((g|0)!=(e|0)){continue}break}b=b+c|0;l=a+l|0;k=a+k|0;j=a+j|0;i=a+i|0;if(f){continue}break}}}function zaa(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;e=Qb-16|0;Qb=e;f=v[a+4>>2];d=v[c>>2]-v[a>>2]|0;a:{if(d>>>0<2147483647){d=d<<1;break a}d=-1}d=d?d:1;h=v[b>>2];i=v[a>>2];g=be((f|0)==5601?0:v[a>>2],d);if(g){if((f|0)!=5601){v[a>>2]=0}v[e+4>>2]=1563;f=Mf(e+8|0,g,e+4|0);VL(a,f);ee(f);v[b>>2]=v[a>>2]+(h-i|0);v[c>>2]=d+v[a>>2];Qb=e+16|0;return}ZB();L()}function ks(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=Qb-16|0;Qb=e;v[e+12>>2]=0;v[e+8>>2]=0;ll(b,c,e+12|0,e+8|0,d);c=v[e+8>>2];if(c>>>0<4294967280){d=v[e+12>>2];a:{b:{if(c>>>0>=11){f=c+16&-16;b=fc(f);v[a+8>>2]=f|-2147483648;v[a>>2]=b;v[a+4>>2]=c;a=b;break b}t[a+11|0]=c;if(!c){break a}}gc(a,d,c)}t[a+c|0]=0;a=v[e+12>>2];if(a){dc(a)}Qb=e+16|0;return}$d(a);L()}function eQa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;v[b>>2]=0;v[b+4>>2]=1084227584;v[c>>2]=0;v[c+4>>2]=0;v[d>>2]=0;v[d+4>>2]=0;e=v[a+12>>2];a:{if(!e){break a}e=v[e+180>>2];if(!e){break a}e=Do(e,0);if(e){A[c>>3]=u[e+42>>1];A[d>>3]=u[e+38>>1];A[b>>3]=x[e+18>>1]}a=Do(v[v[a+12>>2]+180>>2],2);if(!a|x[a>>1]==65535){break a}A[c>>3]=x[a+76>>1];A[d>>3]=0-x[a+78>>1]|0}}function Rg(a,b){var c=0,d=0;c=v[a>>2];a:{if(c>>>0>=b>>>0){break a}while(1){b:{c:{switch(w[c|0]){case 0:case 9:case 10:case 12:case 13:case 32:break b;case 37:break c;default:break a}}d=37;while(1){d:{switch(d-10|0){case 0:case 3:break b;default:break d}}c=c+1|0;if((c|0)==(b|0)){c=b}else{d=w[c|0];continue}break}}c=c+1|0;if(c>>>0>>0){continue}break}}v[a>>2]=c}function Qj(a,b,c){var d=0,e=0,f=0;a:{b:{if(!a){break b}d=v[v[a>>2]+32>>2];if(d){d=Ub[d|0](a,b)|0}else{d=0}if(d|!c){break a}d=v[a+4>>2];c=v[d+16>>2];if((c|0)<1){break b}f=(d+(c<<2)|0)+20|0;c=d+20|0;while(1){e=v[c>>2];c:{if((e|0)==(a|0)){break c}d=v[v[e>>2]+32>>2];if(!d){break c}d=Ub[d|0](e,b)|0;if(d){break a}}c=c+4|0;if(f>>>0>c>>>0){continue}break}}d=0}return d}function yha(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Qb-32|0;Qb=d;e=-1;f=v[a+8>>2];a:{b:{if((c|0)>-1){break b}c=c+f|0;if((c|0)>-1){break b}a=vc(d+8|0,227475,241921,1695,226204,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}b=P()|0;O()|0;qc(a);T(b|0);L()}if((c|0)<(f|0)){a=v[a+12>>2];b=yd(a+c|0,b);e=b?b-a|0:-1}Qb=d+32|0;return e|0}L()}function xha(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Qb-32|0;Qb=d;e=-1;f=v[a+8>>2];a:{b:{if((c|0)>-1){break b}c=c+f|0;if((c|0)>-1){break b}a=vc(d+8|0,227475,241921,1714,226113,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}b=P()|0;O()|0;qc(a);T(b|0);L()}if((c|0)<(f|0)){a=v[a+12>>2];b=Jm(a+c|0,b);e=b?b-a|0:-1}Qb=d+32|0;return e|0}L()}function uE(a,b,c){var d=0,e=0,f=0;a:{b=v[(b<<2)+936896>>2];if(!(!c|(b|0)!=v[c+4>>2])){d=v[a+80>>2];if((b|0)!=v[d+4>>2]){break a}vS(d,c);return}c=v[a+80>>2];if((b|0)==v[c+4>>2]){Rh(c);return}dc(Vc(c));c=fc(8);v[299999]=0;Q(3695,c|0,1<>2]=c;return}a=P()|0;O()|0;dc(c);T(a|0);L()}dc(Vc(d));e=a,f=hy(c),v[e+80>>2]=f}function jcb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;if(v[a+2308>>2]){d=v[a+2300>>2];c=v[a+2312>>2];b=v[a+2316>>2];while(1){e=w[c+2|0];f=w[c+1|0];g=w[c|0];a:{if(!(!w[d+56|0]|(g|0)!=x[d+838>>1]|x[d+840>>1]!=(f|0))){if(x[d+842>>1]==(e|0)){break a}}t[b+3|0]=255}t[b+2|0]=e;t[b+1|0]=f;t[b|0]=g;b=b+4|0;c=c+3|0;h=h+1|0;if(h>>>0>2]){continue}break}}return 0}function h3(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;f=v[a+72>>2];g=w[a+13|0];h=v[a+60>>2];c=w[a+12|0];a:{if(!c){b=1;break a}a=w[a+52|0];d=c&7;b:{if(c-1>>>0<7){b=1;break b}e=c&248;b=1;while(1){b=B(a,B(a,B(a,B(a,B(a,B(a,B(a,B(a,b))))))));e=e-8|0;if(e){continue}break}}if(!d){break a}while(1){b=B(a,b);d=d-1|0;if(d){continue}break}}return(B(c,h)+B(b+f|0,g)|0)+44|0}function gk(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[a+8>>2];d=c<<1;if((d|0)<(B(v[a+4>>2],3)|0)){mD(a,d-1|0);c=v[a+8>>2]}d=v[a+12>>2]+(y[b+12>>2]%(c>>>0)<<2)|0;c=v[d>>2];v[b+8>>2]=c;v[b+4>>2]=c;a:{b:{if(c){v[b>>2]=v[c>>2];v[c>>2]=b;c=v[b>>2];if(c){break b}break a}c=v[a+24>>2];v[b>>2]=c;v[a+24>>2]=b;if(!c){break a}}v[c+4>>2]=b}v[d>>2]=b;v[a+4>>2]=v[a+4>>2]+1;return b|0}function gG(a,b){var c=0,d=0;d=-6;a:{if(w[334233]!=49){break a}if(!a){return-2}v[a+24>>2]=0;c=v[a+32>>2];if(!c){v[a+40>>2]=0;v[a+32>>2]=2928;c=2928}if(!v[a+36>>2]){v[a+36>>2]=2929}c=Ub[c|0](v[a+40>>2],1,7120)|0;if(!c){return-4}v[a+28>>2]=c;v[c+56>>2]=0;v[c>>2]=a;v[c+4>>2]=16180;b=KV(a,b);d=0;if(!b){break a}Ub[v[a+36>>2]](v[a+40>>2],c);v[a+28>>2]=0;d=b}return d}function dy(a,b,c){var d=0,e=0,f=0;a:{b=v[(b<<2)+936912>>2];if(!(!c|(b|0)!=v[c+4>>2])){d=v[a+84>>2];if((b|0)!=v[d+4>>2]){break a}vS(d,c);return}c=v[a+84>>2];if((b|0)==v[c+4>>2]){Rh(c);return}dc(Vc(c));c=fc(8);v[299999]=0;Q(3695,c|0,1<>2]=c;return}a=P()|0;O()|0;dc(c);T(a|0);L()}dc(Vc(d));e=a,f=hy(c),v[e+84>>2]=f}function Jua(a){a=a|0;var b=0,c=0,d=0,e=0;v[a>>2]=972648;a:{b=v[a+4>>2];if(b){v[299999]=0;kz(b);d=v[299999];v[299999]=0;if((d|0)==1){break a}d=v[b+8>>2];if(d){c=v[b+12>>2];if((d|0)==(c|0)){c=d}else{while(1){e=c-20|0;if(t[c-9|0]<=-1){dc(v[e>>2])}c=e;if((d|0)!=(c|0)){continue}break}c=v[b+8>>2]}v[b+12>>2]=d;dc(c)}dc(b)}dc(a);return}W(0)|0;O()|0;UD(b+8|0);lc();L()}function UP(a,b){a=a|0;b=b|0;var c=0;a:{if((b|0)>=1){while(1){v[a+16>>2]=0;c=v[282402];v[a+24>>2]=0;v[a+28>>2]=0;v[a+20>>2]=c;v[a+32>>2]=0;v[a+36>>2]=0;v[299999]=0;c=a+24|0;v[c>>2]=982500;v[c+4>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;c=v[299999];v[299999]=0;if((c|0)==1){break a}a=a+40|0;c=(b|0)>1;b=b-1|0;if(c){continue}break}}return}b=P()|0;O()|0;ec(a+16|0);T(b|0);L()}function Jr(a,b){var c=0,d=0,e=0,f=0,g=0;c=v[a+56>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;a:{if((c|0)==-1){break a}d=v[a+56>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break a}e=v[a+56>>2];e=Ub[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){break a}f=v[a+56>>2];f=Ub[v[v[f>>2]+28>>2]](f)|0;if((f|0)==-1){break a}v[a+68>>2]=v[a+68>>2]+4;v[b>>2]=f|(d<<16|c<<24|e<<8);g=1}return g}function IC(a,b){var c=0,d=0,e=0;e=Qb-32|0;Qb=e;c=t[b|0];a:{if(!(w[b+1|0]?c:0)){c=JC(a,c);break a}ic(e,0,32);d=w[b|0];if(d){while(1){c=(d>>>3&28)+e|0;v[c>>2]=v[c>>2]|1<>>3&28)+e>>2]>>>d&1){c=b;break a}d=w[b+1|0];c=b+1|0;b=c;if(d){continue}break}}Qb=e+32|0;return c-a|0}function Eya(a){a=a|0;var b=0,c=0,d=0;a=v[v[a+4>>2]+12>>2];a:{if(!a){break a}a=Ub[v[v[a>>2]+168>>2]](a)|0;if(!a){break a}b=fc(8);v[299999]=0;c=S(1,8)|0;d=v[299999];v[299999]=0;b:{c:{if((d|0)!=1){v[299999]=0;Q(3064,c|0,a|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){break b}a=P()|0;O()|0;dc(c);break c}a=P()|0;O()|0}dc(b);T(a|0);L()}v[b+4>>2]=c;v[b>>2]=a}return b|0}function E0a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=v[b>>2];while(1){d=d+1|0;if(d>>>0>255){v[b>>2]=0;return 0}f=Ub[v[a+20>>2]](x[v[a+16>>2]+(d<<1)>>1])|0;g=v[a+24>>2];a:{if(g){h=v[a+28>>2];c=0;while(1){e=v[(c<<2)+h>>2];if(!(!e|w[e|0]!=w[f|0])){if(!mc(e,f)){break a}}c=c+1|0;if((g|0)!=(c|0)){continue}break}}c=0}if(!c){continue}break}v[b>>2]=d;return c|0}function wib(a){a=a|0;var b=0,c=0,d=0,e=0;b=Qb-16|0;Qb=b;e=Kh(a,b+12|0,4);a:{if((e|0)<0){c=-1;break a}d=e;while(1){if((d|0)>=1){c=-1;d=d-1|0;if((dj(a,w[d+(b+12|0)|0])|0)!=-1){continue}break a}break}c=-1;if((e|0)<4){break a}a=w[b+12|0]|w[b+13|0]<<8|(w[b+14|0]<<16|w[b+15|0]<<24);c=(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))!=1504078485?-1:0}Qb=b+16|0;return c|0}function eO(a){var b=0,c=0,d=0,e=0,f=0;c=Qb-32|0;Qb=c;d=v[a+56>>2];e=Bib(d,0,x[a+84>>1],0);f=Tb;b=e;if(!(!d|!f)){b=v[a>>2];e=v[a+628>>2];v[c+16>>2]=18329;zc(e,b,22641,c+16|0);b=0}a:{if(x[a+138>>1]!=1){break a}d=x[a+98>>1];e=Bib(d,0,b,0);f=Tb;b=e;if(!d|!f){break a}b=v[a>>2];a=v[a+628>>2];v[c>>2]=18329;zc(a,b,22641,c);b=0}Qb=c+32|0;return(b>>>3|0)+((b&7)!=0)|0}function cy(a,b){var c=0,d=0,e=0,f=0;a:{c=v[a+52>>2];d=v[c+8>>2];if((d|0)>=1){f=v[c>>2];c=0;while(1){e=v[(c<<2)+f>>2];if(v[e+4>>2]==(b|0)){break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}}a=v[a+48>>2];d=v[a+8>>2];if((d|0)<1){return 0}a=v[a>>2];c=0;while(1){e=v[a+(c<<2)>>2];if(v[e+4>>2]==(b|0)){break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}return 0}return e}function bt(a,b){var c=0,d=0,e=0;a:{if((b|0)<1){break a}d=b;while(1){b:{c=v[a+8>>2];c:{if(c&7){break c}e=v[a+64>>2];if(!((e|0)<0|v[a+60>>2]<(e|0))){v[a+8>>2]=c|4;break c}c=v[a+28>>2];v[a+28>>2]=c-1;if((c|0)>=1){v[a+60>>2]=v[a+60>>2]+1;v[a+24>>2]=v[a+24>>2]+1;break b}if((Hc(a,1)|0)!=-1){break b}}b=b-d|0;break a}c=(d|0)>1;d=d-1|0;if(c){continue}break}}return b}function Kua(a){a=a|0;var b=0,c=0,d=0,e=0;v[a>>2]=972648;b=v[a+4>>2];if(b){v[299999]=0;kz(b);d=v[299999];v[299999]=0;a:{if((d|0)!=1){d=v[b+8>>2];if(d){c=v[b+12>>2];if((d|0)==(c|0)){c=d}else{while(1){e=c-20|0;if(t[c-9|0]<=-1){dc(v[e>>2])}c=e;if((d|0)!=(c|0)){continue}break}c=v[b+8>>2]}v[b+12>>2]=d;dc(c)}break a}W(0)|0;O()|0;UD(b+8|0);lc();L()}dc(b)}return a|0}function A9a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(!w[a+285|0]){pc(a,1029,0,0);return 1029}if(c){pc(a,1028,0,0);return 1028}c=MA(a);a:{if(c){break a}if(!v[a+448>>2]){v[a+448>>2]=v[a+436>>2]}if(!v[a+452>>2]){v[a+452>>2]=v[a+440>>2]}if(!v[a+456>>2]){v[a+456>>2]=v[a+444>>2]}t[a+285|0]=0;if(w[a+112|0]){c=Ub[v[b+4>>2]](a,b,e)|0;if(c){break a}}c=0}return c|0}function wIa(a){a=a|0;var b=0,c=0;if(a){a:{b:{c:{d:{b=v[a+20>>2];if(b){c=v[b+80>>2];b=v[a+4>>2];if(!b){break c}if(!c){c=0;break d}if(Kj(c,b)){break c}b=v[a+4>>2];break d}b=v[a+4>>2];if(b){break d}b=v[a+12>>2];if(!b){break a}break b}Ub[v[259708]](b)}b=v[a+12>>2];if(!b){break a}if(!c){break b}if(Kj(c,b)){break a}b=v[a+12>>2]}Ub[v[259708]](b)}Ub[v[259708]](a)}}function uBa(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=897404;b=v[a+12>>2];if((b|0)>=1){while(1){d=v[((c<<2)+a|0)+16>>2];if(d){dc(Dc(d));b=v[a+12>>2]}c=c+1|0;if((c|0)<(b|0)){continue}break}}b=v[a+144>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}b=v[a+148>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}v[299999]=0;R(3098,a+152|0);b=v[299999];v[299999]=0;if((b|0)==1){W(0)|0;O()|0;lc();L()}dc(a)}function sqa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{if((b|0)>=1){while(1){c=b;b=v[a+8>>2];v[a+8>>2]=0;b:{if(!b){break b}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(d){break b}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=c-1|0;a=a+12|0;if((c|0)>1){continue}break}}return}W(0)|0;O()|0;lc();L()}function s6(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(Oi(a,v[b+8>>2],e)){if(!(v[b+28>>2]==1|v[b+4>>2]!=(c|0))){v[b+28>>2]=d}return}a:{if(!Oi(a,v[b>>2],e)){break a}if(!(v[b+16>>2]!=(c|0)&v[b+20>>2]!=(c|0))){if((d|0)!=1){break a}v[b+32>>2]=1;return}v[b+20>>2]=c;v[b+32>>2]=d;v[b+40>>2]=v[b+40>>2]+1;if(!(v[b+36>>2]!=1|v[b+24>>2]!=2)){t[b+54|0]=1}v[b+44>>2]=4}}function a3(a){a=a|0;var b=0,c=0,d=0,e=0;b=Qb-16|0;Qb=b;e=Kh(a,b+12|0,4);a:{if((e|0)<0){c=-1;break a}d=e;while(1){if((d|0)>=1){c=-1;d=d-1|0;if((dj(a,w[d+(b+12|0)|0])|0)!=-1){continue}break a}break}c=-1;if((e|0)<4){break a}a=w[b+12|0]|w[b+13|0]<<8|(w[b+14|0]<<16|w[b+15|0]<<24);c=(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))!=1296647690?-1:0}Qb=b+16|0;return c|0}function Vea(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{if((b|0)>=1){while(1){c=b;b=v[a+4>>2];v[a+4>>2]=0;b:{if(!b){break b}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(d){break b}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=c-1|0;a=a+12|0;if((c|0)>1){continue}break}}return}W(0)|0;O()|0;lc();L()}function Tn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=v[b>>2];if(!(!c|v[b+4>>2]!=(a|0))){f=y[c+12>>2]%y[a+8>>2]|0;d=v[c>>2];if(d){v[d+4>>2]=v[c+4>>2]}e=v[c+4>>2];v[(e?e:a+24|0)>>2]=d;d=v[a+12>>2]+(f<<2)|0;a:{if(v[d>>2]==(c|0)){v[d>>2]=v[c+8>>2];break a}d=v[c>>2];if(!d){break a}v[d+8>>2]=v[c+8>>2]}Ub[v[v[a>>2]+16>>2]](c,1);dc(c);v[a+4>>2]=v[a+4>>2]-1;v[b>>2]=0}}function zLa(a){a=a|0;var b=0,c=0;b=v[a+408>>2];c=Ub[v[v[a+4>>2]>>2]](a,1,8192)|0;v[b+8>>2]=c;a=0;while(1){b=(a<<2)+c|0;v[b>>2]=B(a,19595);v[b+7168>>2]=B(a,-5329);v[b+6144>>2]=B(a,-27439);v[b+5120>>2]=(a<<15)+8421375;v[b+4096>>2]=B(a,-21709);v[b+3072>>2]=B(a,-11059);v[b+2048>>2]=B(a,7471)+32768;v[b+1024>>2]=B(a,38470);a=a+1|0;if((a|0)!=256){continue}break}}function Oeb(a){a=a|0;var b=0,c=0,d=0;b=v[a+224>>2];a:{if(!b){break a}c=v[a+644>>2];d=Ub[b|0](a,v[a+680>>2]+v[a+572>>2]|0)|0;b=v[a+660>>2]-v[a+656>>2]|0;if((b|0)<1){break a}a=d+B(v[a+672>>2],3)|0;while(1){t[c|0]=w[a+1|0]&248;t[c+1|0]=w[a|0]>>>3&28|w[a+1|0]<<5;d=w[a|0];t[c+3|0]=0;t[c+2|0]=d<<3;a=a+2|0;c=c+4|0;d=(b|0)>1;b=b-1|0;if(d){continue}break}}return 0}function Neb(a){a=a|0;var b=0,c=0,d=0;b=v[a+224>>2];a:{if(!b){break a}c=v[a+644>>2];d=Ub[b|0](a,v[a+680>>2]+v[a+572>>2]|0)|0;b=v[a+660>>2]-v[a+656>>2]|0;if((b|0)<1){break a}a=d+B(v[a+672>>2],3)|0;while(1){t[c|0]=w[a|0]&248;t[c+1|0]=w[a|0]>>>3&28|w[a+1|0]<<5;d=w[a+1|0];t[c+3|0]=0;t[c+2|0]=d<<3;a=a+2|0;c=c+4|0;d=(b|0)>1;b=b-1|0;if(d){continue}break}}return 0}function NEa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=fc(384);b=v[a+4>>2];c=v[v[b>>2]+8>>2];v[299999]=0;b=S(c|0,b|0)|0;c=v[299999];v[299999]=0;a:{if((c|0)==1){break a}c=v[a+52>>2];e=v[a+48>>2];f=v[a+44>>2];g=v[a+40>>2];v[299999]=0;a=ma(3371,d|0,b|0,a+8|0,g|0,f|0,e|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}return a|0}a=P()|0;O()|0;dc(d);T(a|0);L()}function KKa(a){a=a|0;var b=0,c=0;b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=255;c=v[b+4>>2]-1|0;v[b+4>>2]=c;a:{if(c){break a}if(Ub[v[b+12>>2]](a)|0){break a}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}b=v[a+24>>2];c=v[b>>2];v[b>>2]=c+1;t[c|0]=217;c=v[b+4>>2]-1|0;v[b+4>>2]=c;b:{if(c){break b}if(Ub[v[b+12>>2]](a)|0){break b}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}}function Ex(a,b,c,d){var e=0,f=0;a:{if((d-c|0)>=257){f=Ex(a,b,c,(B(c,6)+(d<<1)|0)/8|0);e=Ex(a,b,(B(d,3)+B(c,5)|0)/8|0,(B(d,5)+B(c,3)|0)/8|0);a=Ex(a,b,(B(d,6)+(c<<1)|0)/8|0,d);break a}e=v[a+8>>2];a=v[(v[e+(d<<2)>>2]<<2)+b>>2];f=v[(v[e+(c<<2)>>2]<<2)+b>>2];e=v[(v[e+((c+d|0)/2<<2)>>2]<<2)+b>>2]}b=(a|0)<(f|0);c=b?f:a;a=b?a:f;return(a|0)<(e|0)?(c|0)>(e|0)?e:c:a}function N2a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{b:{if(!mc(b,235072)){v[c>>2]=v[a+36>>2];v[c+4>>2]=v[a+40>>2];v[c+8>>2]=v[a+44>>2];v[c+12>>2]=v[a+48>>2];v[c+16>>2]=v[a+52>>2];v[c+20>>2]=v[a+56>>2];v[c+24>>2]=v[a+60>>2];v[c+28>>2]=v[a- -64>>2];break b}if(!mc(b,280145)){v[c>>2]=v[a+28>>2];break b}d=12;if(mc(b,272686)){break a}t[c|0]=w[a+32|0]}d=0}return d|0}function JP(a,b){a=a|0;b=b|0;var c=0,d=0;if((b|0)>=1){while(1){v[a+16>>2]=981280;v[a+40>>2]=981312;c=v[a+44>>2];if(c){d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(!d){Ub[v[v[c>>2]+4>>2]](c)}v[a+44>>2]=0}v[a+32>>2]=981312;c=v[a+36>>2];if(c){d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(!d){Ub[v[v[c>>2]+4>>2]](c)}v[a+36>>2]=0}ec(a+24|0);a=a+56|0;c=(b|0)>1;b=b-1|0;if(c){continue}break}}}function Boa(a,b){a=a|0;b=b|0;var c=0,d=0;if((b|0)>=1){while(1){v[a+8>>2]=981280;v[a+32>>2]=981312;c=v[a+36>>2];if(c){d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(!d){Ub[v[v[c>>2]+4>>2]](c)}v[a+36>>2]=0}v[a+24>>2]=981312;c=v[a+28>>2];if(c){d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(!d){Ub[v[v[c>>2]+4>>2]](c)}v[a+28>>2]=0}ec(a+16|0);a=a+44|0;c=(b|0)>1;b=b-1|0;if(c){continue}break}}}function vX(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=v[b+4>>2];a:{if(!c){d=v[b+8>>2];if(v[d>>2]==(b|0)){break a}e=b+8|0;while(1){c=v[e>>2];e=c+8|0;d=v[c+8>>2];if((c|0)!=v[d>>2]){continue}break}break a}while(1){d=c;c=v[c>>2];if(c){continue}break}}if(v[a>>2]==(b|0)){v[a>>2]=d}v[a+8>>2]=v[a+8>>2]-1;Kz(v[a+4>>2],b);if(t[b+27|0]<=-1){dc(v[b+16>>2])}dc(b);return d|0}function o2a(a){a=a|0;var b=0,c=0,d=0,e=0;b=v[a+12>>2];if(b){e=v[a+28>>2];v[b+104>>2]=0;v[b+48>>2]=0;v[b+36>>2]=0;v[b+40>>2]=0;t[b+44|0]=0;v[b+64>>2]=9;v[b+12>>2]=0;v[b+16>>2]=0;d=v[b+180>>2];c=v[b+100>>2];if((c|0)!=(b+112|0)){if(c){Ub[v[d+8>>2]](d,c)}v[b+100>>2]=0}c=v[b+88>>2];if(c){Ub[v[d+8>>2]](d,c)}b=ic(b,0,184);if(b){Ub[v[e+8>>2]](e,b)}v[a+12>>2]=0}}function SS(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;v[a+4>>2]=15;v[a+8>>2]=0;v[a+20>>2]=d;v[a+16>>2]=c;v[a+12>>2]=b;v[a>>2]=897352;e=a,f=!Ad(b,279892),v[e+24>>2]=f;b=a;c=1;a:{b:{if(!Ad(v[a+12>>2],249603)){break b}c=2;if(!Ad(v[a+12>>2],304005)){break b}c=4;if(!Ad(v[a+12>>2],221218)){break b}if(Ad(v[a+12>>2],263545)){break a}c=8}v[b+4>>2]=c}return a|0}function md(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:{b:{if(w[a+8|0]){c=v[a>>2];if(c){break b}f=0;break a}c=a}f=v[c>>2]}c=0;d=v[a+4>>2];a=ve(b);e=(a|0)>-1?a:-2147483648;c:{if((d|0)!=(e|0)){break c}if(!e){return 1}if(v[f>>2]!=v[b>>2]){break c}c=1;while(1){a=c;if((a|0)!=(e|0)){c=a+1|0;d=a<<2;if(v[d+f>>2]==v[b+d>>2]){continue}}break}c=a>>>0>=e>>>0}return c|0}function mcb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(v[a+2308>>2]){d=v[a+2312>>2];b=v[a+2316>>2];while(1){c=Ub[v[a+2296>>2]](w[d|0])|0;f=Ub[v[a+2296>>2]](w[d+1|0])|0;e=c>>>8|0;t[b+4|0]=e;t[b+2|0]=e;t[b|0]=e;c=(c|0)!=0;t[b+5|0]=c;t[b+3|0]=c;t[b+1|0]=c;t[b+7|0]=(f|0)!=0;t[b+6|0]=f>>>8;b=b+8|0;d=d+2|0;g=g+1|0;if(g>>>0>2]){continue}break}}return 0}function NKa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;if(!b){return 0}e=v[b+4>>2];a=v[b+12>>2];a:{if(e>>>0>=a+d>>>0){break a}if(v[b+20>>2]){a=e+(d>>>0>65535?d:65535)|0;g=jc(a);f=v[b>>2];e=gc(g,f,e);dc(f);v[b+4>>2]=a;v[b>>2]=e;a=v[b+12>>2];break a}d=e-a|0}gc(v[b>>2]+a|0,c,d);a=v[b+12>>2]+d|0;v[b+12>>2]=a;if(a>>>0>y[b+8>>2]){v[b+8>>2]=a}return d|0}function tpa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{if((b|0)>=1){while(1){c=b;b=v[a>>2];v[a>>2]=0;b:{if(!b){break b}v[299999]=0;d=v[b+4>>2]-1|0;v[b+4>>2]=d;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(d){break b}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=c-1|0;a=a+4|0;if((c|0)>1){continue}break}}return}W(0)|0;O()|0;lc();L()}function pi(a,b){var c=0,d=0,e=0,f=0;d=Qb-16|0;Qb=d;v[b>>2]=0;a:{b:{c:{d:{c=v[a+8>>2];if(y[a+4>>2]<=c+3>>>0){break d}e=v[a+20>>2];e:{if(e){if((Ub[e|0](a,c,d+12|0,4)|0)!=4){break d}c=v[a+8>>2];b=d+12|0;break e}b=v[a>>2];if(!b){break c}b=b+c|0}f=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);break b}v[b>>2]=85;break a}f=0}v[a+8>>2]=c+4}Qb=d+16|0;return f}function p7(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=v[a+84>>2];f=v[d>>2]?d:1022240;d=0;a:{if(!v[a+48>>2]){break a}while(1){e=v[(d<<2)+f>>2];if(!e){break a}t[v[a+44>>2]+d|0]=(e|0)<128?e:64;d=d+1|0;if(d>>>0>2]){continue}break}}e=v[a+44>>2];v[a+4>>2]=e;v[a+84>>2]=(d<<2)+f;v[a+8>>2]=d+e;if(!(!d|!c)){v[a+4>>2]=e+1;t[b|0]=w[e|0];g=1}return g|0}function o7(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=v[a+84>>2];f=v[d>>2]?d:1022248;d=0;a:{if(!v[a+48>>2]){break a}while(1){e=v[(d<<2)+f>>2];if(!e){break a}t[v[a+44>>2]+d|0]=(e|0)<128?e:64;d=d+1|0;if(d>>>0>2]){continue}break}}e=v[a+44>>2];v[a+4>>2]=e;v[a+84>>2]=(d<<2)+f;v[a+8>>2]=d+e;if(!(!d|!c)){v[a+4>>2]=e+1;t[b|0]=w[e|0];g=1}return g|0}function dcb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(v[a+2308>>2]){c=v[a+2300>>2];f=v[a+2312>>2];b=v[a+2316>>2];while(1){e=w[f|0];if(e>>>0>2]){d=B(e,3)+c|0;t[b|0]=w[d+68|0];t[b+1|0]=w[d+69|0];t[b+2|0]=w[d+70|0];d=255;t[b+3|0]=!w[c+56|0]|y[c+844>>2]<=e>>>0?d:w[(c+e|0)+848|0]}b=b+4|0;f=f+1|0;g=g+1|0;if(g>>>0>2]){continue}break}}return 0}function V9a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;h=v[v[v[a+544>>2]+88>>2]+36>>2];f=v[a+644>>2];c=v[a+636>>2];v[a+644>>2]=c;v[a+636>>2]=f;d=v[a+672>>2];if((d|0)>2]){b=v[a+656>>2];e=(b<<3)+f|0;while(1){v[c>>2]=v[e>>2];v[c+4>>2]=v[e+4>>2];b=b+1|0;g=b>>>0>>0;e=g?e+8|0:f;b=g?b:0;c=c+8|0;d=d+1|0;if((d|0)>2]){continue}break}}return 0}function RUa(a){a=a|0;var b=0,c=0,d=0;c=Qb-16|0;Qb=c;a:{b:{if(!(!v[a+16>>2]|!v[a+20>>2])){d=yo(c+8|0,1,0,0,1,0,0);b=v[a+16>>2];if(!(!b|!v[a+20>>2])){v[299999]=0;fH(b,d);b=v[299999];v[299999]=0;if((b|0)==1){break b}a=v[a+16>>2];v[299999]=0;nv(a);a=v[299999];v[299999]=0;if((a|0)==1){break b}}Cd(d)}Qb=c+16|0;break a}a=P()|0;O()|0;Cd(d);T(a|0);L()}return 0}function HZa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=Qb-16|0;Qb=e;f=v[a+16>>2];d=x[a+8>>1];c=d>>>1|0;b=Cc(b,1,0,c+1|0,0,e+12|0);Qb=e+16|0;if(v[e+12>>2]){b=g}else{a=0;a:{if(d>>>0<2){break a}g=c>>>0>1?c:1;while(1){c=w[f+1|0];d=c|w[f|0]<<8;if(!d){break a}t[a+b|0]=d-32>>>0>95?63:c;f=f+2|0;a=a+1|0;if((g|0)!=(a|0)){continue}break}a=g}t[a+b|0]=0}return b|0}function uta(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Qb-32|0;Qb=c;a=OD(c+8|0,a);v[299999]=0;U(4285,a|0,c+28|0,c+24|0);d=v[299999];v[299999]=0;if((d|0)!=1){xc(a);a=fc(12);e=A[b>>3];d=v[c+24>>2];v[a+4>>2]=v[c+28>>2];v[a>>2]=979132;b=a;e=e*+(d|0);a:{if(D(e)<2147483648){d=~~e;break a}d=-2147483648}v[b+8>>2]=d;Qb=c+32|0;return a|0}b=P()|0;O()|0;xc(a);T(b|0);L()}function m3(a,b){a=a|0;b=b|0;var c=0;c=-1;a:{if(uK(b,v[a+12>>2])){break a}a=v[b+8>>2];if(a&7){break a}c=v[b+64>>2];if(!((c|0)<0|(c|0)>v[b+60>>2])){v[b+8>>2]=a|4;return-1}v[b+4>>2]=v[b+4>>2]|32;c=-1;a=v[b+28>>2];v[b+28>>2]=a-1;b:{if((a|0)<=0){if((Fc(b,0)|0)!=-1){break b}break a}v[b+60>>2]=v[b+60>>2]+1;a=v[b+24>>2];v[b+24>>2]=a+1;t[a|0]=0}c=0}return c|0}function fC(a,b,c){var d=0,e=0,f=0,g=0,h=0;g=Qb-16|0;Qb=g;f=Qb-16|0;Qb=f;a:{if(b>>>0<=1073741807){b:{if(b>>>0<=1){t[a+11|0]=b;d=a;break b}h=a;if(b>>>0>=2){e=b+4&-4;d=e-1|0;d=(d|0)==2?e:d}else{d=1}e=d+1|0;d=yL(e);v[h>>2]=d;v[a+8>>2]=e|-2147483648;v[a+4>>2]=b}gL(d,b,c);v[f+12>>2]=0;v[(b<<2)+d>>2]=v[f+12>>2];Qb=f+16|0;break a}$d(a);L()}Qb=g+16|0;return a}function cBa(a){a=a|0;var b=0,c=0,d=0;b=fc(64);c=v[a+8>>2];d=v[v[c>>2]+8>>2];v[299999]=0;c=S(d|0,c|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){v[b+8>>2]=c;v[b>>2]=897528;v[b+4>>2]=2;A[b+16>>3]=A[a+16>>3];A[b+24>>3]=A[a+24>>3];A[b+32>>3]=A[a+32>>3];A[b+40>>3]=A[a+40>>3];A[b+48>>3]=A[a+48>>3];A[b+56>>3]=A[a+56>>3];return b|0}a=P()|0;O()|0;dc(b);T(a|0);L()}function _ea(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=996e3;fd(a+80|0);v[a>>2]=995984;fd(a+48|0);fd(a+24|0);b=v[a+20>>2];v[a+20>>2]=0;a:{if(!b){break a}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)!=1){if(c){break a}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}}W(0)|0;O()|0;lc();L()}ec(a+8|0);Qc(a);return a|0}function VJ(a,b,c,d){var e=0,f=0,g=0;e=x[a+26>>1];if((e|0)==8){t[v[a+56>>2]+(B(v[a+52>>2],c)+b|0)|0]=d;return}a=(v[a+56>>2]+B(v[a+52>>2],c)|0)+(B(b,e)>>3)|0;a:{switch(e-1|0){case 3:c=a;e=w[a|0];a=B((b|0)%2|0,252)+4&252;t[c|0]=e&(15<>2],w[i|0],w[i+1|0],w[i+2|0],c+12|0,c+8|0,c+4|0);v[b>>2]=v[c+12>>2]|v[c+8>>2]<<8|v[c+4>>2]<<16|-16777216;i=i+3|0;b=b+4|0;h=h-1|0;if(h){continue}break}i=d+i|0;b=b+g|0;f=f-1|0;if(f){continue}break}Qb=c+16|0}function Eeb(a){a=a|0;var b=0,c=0,d=0,e=0;if(v[a+588>>2]>=1){b=v[a+540>>2];b=(v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0;d=v[a+636>>2]+v[a+616>>2]|0;while(1){c=w[d|0]|w[d+1|0]<<8;c=(c<<8|c>>>8)&65535;c=c<<8|c>>>8;t[b|0]=c;t[b+1|0]=c>>>8;d=d+2|0;b=(v[a+584>>2]<<1)+b|0;e=e+1|0;if((e|0)>2]){continue}break}}return 0}function Edb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;t[a+24|0]=0;d=v[a+4>>2];a:{if(!d){break a}c=v[a+16>>2];e=c+1|0;g=a;f=v[a+20>>2];if(!((f|0)>(c|0)|e>>>0<=f>>>0)){c=c+65537&-65536;d=be(d,c);v[a+20>>2]=c;t[a+12|0]=1;v[a+4>>2]=d;if(!d){break a}c=v[a+16>>2];e=c+1|0}v[g+16>>2]=e;t[c+d|0]=b;b=v[a+16>>2];if((b|0)>v[a+8>>2]){v[a+8>>2]=b}h=1}return h|0}function CF(){var a=0,b=0,c=0,d=0;a=335485;while(1){b=a;a=a+1|0;if(w[b|0]){continue}break}a=0;c=b-335485|0;a:{if((c|0)<0){break a}b:{c:{a=Ub[v[259707]](c+1|0)|0;if(a){if((c|0)<=0){break b}break c}oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);return 0}while(1){b=w[d+335485|0];t[a+d|0]=b;if(!b){break a}d=d+1|0;if((d|0)!=(c|0)){continue}break}}t[a+c|0]=0}return a}function asa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{d=v[a+4>>2];if(!d){break a}a=d&3;if(d-1>>>0>=3){d=d&-4;while(1){t[b|0]=w[c|0]+w[b|0];t[b+1|0]=w[c+1|0]+w[b+1|0];t[b+2|0]=w[c+2|0]+w[b+2|0];t[b+3|0]=w[c+3|0]+w[b+3|0];b=b+4|0;c=c+4|0;d=d-4|0;if(d){continue}break}}if(!a){break a}while(1){t[b|0]=w[c|0]+w[b|0];b=b+1|0;c=c+1|0;a=a-1|0;if(a){continue}break}}}function Hqa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=b;d=v[a+540>>2];e=v[a+536>>2];a:{if(d>>>0>=e>>>0){d=v[a+12>>2];if(c>>>0>=512){d=zx(d,b,v[a+20>>2],c,0);a=a+20|0;break a}e=zx(d,a+24|0,v[a+20>>2],512,0);v[a+540>>2]=0;v[a+536>>2]=e;d=0}b=(a+d|0)+24|0;d=c+d>>>0>>0?c:e-d|0;gc(f,b,d);v[a+540>>2]=v[a+540>>2]+d;a=a+20|0}v[a>>2]=v[a>>2]+d;return d|0}function meb(a){a=a|0;var b=0,c=0,d=0;if(v[a+588>>2]>=1){b=v[a+540>>2];b=((v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0)+1|0;c=v[a+636>>2]+v[a+616>>2]|0;while(1){t[b|0]=w[c|0];c=c+1|0;b=b+2|0;d=d+1|0;if((d|0)>2]){continue}break}}v[a+2556>>2]=v[a+2556>>2]+1;a:{if(v[a+968>>2]){b=Wj(a);if(b){break a}}b=0}return b|0}function mM(a,b,c){var d=0,e=0,f=0,g=0,h=0;g=Qb-16|0;Qb=g;f=Qb-16|0;Qb=f;a:{if(b>>>0<=4294967279){b:{if(b>>>0<=10){t[a+11|0]=b;d=a;break b}h=a;if(b>>>0>=11){d=b+16&-16;e=d-1|0;d=(e|0)==11?d:e}else{d=10}e=d+1|0;d=fc(e);v[h>>2]=d;v[a+8>>2]=e|-2147483648;v[a+4>>2]=b}kL(d,b,c);t[f+15|0]=0;t[b+d|0]=w[f+15|0];Qb=f+16|0;break a}$d(a);L()}Qb=g+16|0;return a}function leb(a){a=a|0;var b=0,c=0,d=0;if(v[a+588>>2]>=1){b=v[a+540>>2];b=((v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0)+1|0;c=v[a+636>>2]+v[a+616>>2]|0;while(1){t[b|0]=w[c|0];c=c+2|0;b=b+2|0;d=d+1|0;if((d|0)>2]){continue}break}}v[a+2556>>2]=v[a+2556>>2]+1;a:{if(v[a+968>>2]){b=Wj(a);if(b){break a}}b=0}return b|0}function geb(a){a=a|0;var b=0,c=0,d=0;if(v[a+588>>2]>=1){b=v[a+540>>2];b=((v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0)+3|0;c=v[a+636>>2]+v[a+616>>2]|0;while(1){t[b|0]=w[c|0];c=c+1|0;b=b+4|0;d=d+1|0;if((d|0)>2]){continue}break}}v[a+2556>>2]=v[a+2556>>2]+1;a:{if(v[a+968>>2]){b=Wj(a);if(b){break a}}b=0}return b|0}function feb(a){a=a|0;var b=0,c=0,d=0;if(v[a+588>>2]>=1){b=v[a+540>>2];b=((v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0)+3|0;c=v[a+636>>2]+v[a+616>>2]|0;while(1){t[b|0]=w[c|0];c=c+2|0;b=b+4|0;d=d+1|0;if((d|0)>2]){continue}break}}v[a+2556>>2]=v[a+2556>>2]+1;a:{if(v[a+968>>2]){b=Wj(a);if(b){break a}}b=0}return b|0}function Swa(a){a=a|0;var b=0,c=0,d=0;b=v[a+8>>2];if(!b){while(1){b=v[a+32784>>2];if(!b){if(!(!v[a+34092>>2]|!v[a+34096>>2])){return-1}Yx(a);continue}break}c=v[a+32780>>2];d=w[(c+a|0)+12|0];v[a+32784>>2]=b-1;v[a+32780>>2]=c+1&32767;return d|0}a=v[b+36>>2];if((a|0)>=v[b+28>>2]){if(!Fr(b)){return-1}a=v[b+36>>2]}v[b+36>>2]=a+1;return w[v[b+32>>2]+a|0]}function N7a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=v[b+36>>2];a:{if(!d){break a}c=v[b+40>>2];while(1){e=v[c+28>>2];b:{if(!e){break b}f=v[c+32>>2];if(!f){break b}Ub[v[a+156>>2]](f,e);d=v[b+36>>2]}c=c+1296|0;g=g+1|0;if(g>>>0>>0){continue}break}if(!d){break a}c=v[b+40>>2];if(!c){break a}Ub[v[a+156>>2]](c,B(d,36))}Ub[v[a+156>>2]](b,44);return 0}function EK(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=jc(40);v[d>>2]=0;d=Ue(a+624|0,1,d,4);i=O()|0;a:{while(1){if(e){h=-1;break a}v[299999]=0;h=Y(546,a|0,b|0,c|0)|0;e=v[299999];v[299999]=0;f=-1;b:{c:{if(!e){break c}g=v[3e5];if(!g){break c}f=sc(v[e>>2],d,i);if(!f){break b}_(g|0)}e=O()|0;if((f|0)==1){continue}break a}break}dc(d);sd(e,g);L()}dc(d);return h}function BRa(a){a=a|0;var b=0,c=0,d=0,e=0;b=fc(40);c=v[a+8>>2];v[b+16>>2]=v[a+16>>2];v[b>>2]=466364;v[b+4>>2]=2;v[299999]=0;d=S(2366,b+20|0)|0;e=v[299999];v[299999]=0;if((e|0)!=1){v[b+24>>2]=0;v[b+28>>2]=-16777216;t[b+36|0]=255;v[b+12>>2]=0;v[b+8>>2]=c;v[b+32>>2]=-16777216;wk(d,a+20|0);v[b+24>>2]=v[a+24>>2];return b|0}a=P()|0;O()|0;dc(b);T(a|0);L()}function BK(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=jc(40);v[d>>2]=0;d=Ue(a+624|0,1,d,4);i=O()|0;a:{while(1){if(e){h=-1;break a}v[299999]=0;h=Y(516,a|0,b|0,c|0)|0;e=v[299999];v[299999]=0;f=-1;b:{c:{if(!e){break c}g=v[3e5];if(!g){break c}f=sc(v[e>>2],d,i);if(!f){break b}_(g|0)}e=O()|0;if((f|0)==1){continue}break a}break}dc(d);sd(e,g);L()}dc(d);return h}function BHa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Qb-32|0;Qb=c;d=v[b+116>>2];Ub[v[v[d>>2]+20>>2]](d,b+124|0,c+16|0,0);b=v[a+104>>2];d=B(v[c+24>>2],255)+32768&16711680|(B(v[c+20>>2],255)+32768>>>8&65280|B(v[c+16>>2],255)+32768>>>16&255);v[c+12>>2]=d;e=c+12|0;Ub[v[v[b>>2]+144>>2]](b,e)|0;a=v[a+104>>2];v[c+12>>2]=d;Ub[v[v[a>>2]+160>>2]](a,e)|0;Qb=c+32|0}function wk(a,b){a=a|0;b=b|0;var c=0,d=0;b=v[b>>2];d=v[b+4>>2];c=v[a>>2];v[c>>2]=v[b>>2];v[c+4>>2]=d;d=v[b+44>>2];v[c+40>>2]=v[b+40>>2];v[c+44>>2]=d;d=v[b+36>>2];v[c+32>>2]=v[b+32>>2];v[c+36>>2]=d;d=v[b+28>>2];v[c+24>>2]=v[b+24>>2];v[c+28>>2]=d;d=v[b+20>>2];v[c+16>>2]=v[b+16>>2];v[c+20>>2]=d;d=v[b+12>>2];v[c+8>>2]=v[b+8>>2];v[c+12>>2]=d;return a|0}function k7a(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1111577417){pc(a,2050,0,0);return 2050}v[b+32>>2]=v[c+32>>2];v[b+36>>2]=v[c+36>>2];t[b+40|0]=w[c+40|0];t[b+41|0]=w[c+41|0];t[b+42|0]=w[c+42|0];t[b+43|0]=w[c+43|0];t[b+44|0]=w[c+44|0];u[b+46>>1]=x[c+46>>1];u[b+48>>1]=x[c+48>>1];u[b+50>>1]=x[c+50>>1];u[b+52>>1]=x[c+52>>1];t[b+54|0]=w[c+54|0];return 0}function Eva(a,b){a=a|0;b=b|0;var c=0;c=a+20|0;a:{b:{if(!(!(Ub[v[v[b>>2]+12>>2]](b)|0)|v[a+20>>2])){break b}c=a+24|0;if(!(!(Ub[v[v[b>>2]+16>>2]](b)|0)|v[a+24>>2])){break b}if(!(Ub[v[v[b>>2]+28>>2]](b)|0)|v[a+28>>2]){break a}c=a+28|0}v[c>>2]=b}c=v[a+16>>2];c:{if(c){v[c+4>>2]=b;c=a+16|0;break c}v[a+16>>2]=b;c=a+12|0}v[c>>2]=b;v[b+4>>2]=0;v[b+8>>2]=a}function vfa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Qb-32|0;Qb=d;a:{c=Ci(a,0,v[a+116>>2],a- -64|0);if(!((c|0)>=v[a+112>>2]&v[a+116>>2]>=(c|0))){a=vc(d+8|0,227445,271729,619,307344,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}b=P()|0;O()|0;qc(a);T(b|0);L()}v[b>>2]=v[v[a+100>>2]+(c-v[a+104>>2]<<2)>>2];Qb=d+32|0;return c|0}L()}function Zr(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=Qb-16|0;Qb=e;a:{if(!a){c=0;break a}if(!b){c=a;break a}b:{g=Bc(a);f=Bc(b);h=g+f|0;i=h+2|0;if((d|0)>=(i|0)?c:0){break b}c=Ub[v[259707]](i)|0;if(c){break b}v[e>>2]=280500;oc(0,0,0,0,0,2,2,3,280500,0,0,0,350051,e);c=0;break a}b=gc(c,b,f);d=b+f|0;t[d|0]=58;gc(d+1|0,a,g);t[(b+h|0)+1|0]=0}Qb=e+16|0;return c}function Zea(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=996e3;fd(a+80|0);v[a>>2]=995984;fd(a+48|0);fd(a+24|0);b=v[a+20>>2];v[a+20>>2]=0;a:{if(!b){break a}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)!=1){if(c){break a}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}}W(0)|0;O()|0;lc();L()}ec(a+8|0);Qc(a);dc(a)}function Xqa(a){a=a|0;var b=0,c=0,d=0;b=fc(128);v[299999]=0;c=S(4484,b|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){v[a>>2]=0;Wc(a,c);v[299999]=0;R(4485,c|0);d=v[299999];v[299999]=0;a:{if((d|0)!=1){v[299999]=0;fa(4486,c|0,0,32,4487,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}}b=P()|0;O()|0;ec(a);T(b|0);L()}return}a=P()|0;O()|0;dc(b);T(a|0);L()}function Ava(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=fc(8);v[299999]=0;d=Q(3063,e|0,345988)|0;f=v[299999];v[299999]=0;if((f|0)!=1){Mg(d,v[a+20>>2]);_c(d,346080);if(v[a+24>>2]){_c(d,346004);Mg(d,v[a+24>>2]);_c(d,346080)}if(w[a+28|0]){_c(d,345895)}_c(d,322665);a=Ub[b|0](c,v[d+4>>2],v[d>>2])|0;Dc(d);dc(e);return a|0}a=P()|0;O()|0;dc(e);T(a|0);L()}function xIa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=Qb-16|0;Qb=d;c=Ub[v[259704]](12)|0;a:{if(!c){v[d>>2]=291415;c=0;oc(0,0,0,0,0,23,2,3,291415,0,0,0,350051,d);break a}e=c;b=v[a>>2];if(b){b=we(b)}else{b=0}v[e>>2]=b;e=c;b=v[a+4>>2];if(b){b=we(b)}else{b=0}v[e+4>>2]=b;a=v[a+8>>2];if(a){f=c,g=we(a),v[f+8>>2]=g;break a}v[c+8>>2]=0}Qb=d+16|0;return c|0}function qgb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;f=v[a+4>>2];d=v[a+12>>2];if(d){v[f+20>>2]=d+v[f+20>>2];v[a+12>>2]=0;v[a+8>>2]=d+v[a+8>>2]}d=c;e=d;a:{if((d|0)<1){break a}while(1){g=v[f+20>>2];e=0;if(g>>>0>=y[f+16>>2]){break a}v[f+20>>2]=g+1;e=d-1|0;t[g|0]=b>>>(e<<3);g=(d|0)>1;d=e;if(g){continue}break}e=c}v[a+8>>2]=v[a+8>>2]+c;return e|0}function hXa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=v[a>>2];d=v[a+44>>2];if(d){e=v[d>>2];if(!(!e|!v[e+96>>2])){v[e+88>>2]=d}}d=L_(v[c+504>>2],b);if(!d){b=v[v[c+504>>2]+88>>2];c=v[b+16>>2];v[a+12>>2]=v[b+12>>2];v[a+16>>2]=c;v[a+36>>2]=v[b+36>>2];c=v[b+32>>2];v[a+28>>2]=v[b+28>>2];v[a+32>>2]=c;c=v[b+24>>2];v[a+20>>2]=v[b+20>>2];v[a+24>>2]=c}return d|0}function aSa(a,b,c){a=a|0;b=C(b);c=C(c);var d=C(0),e=C(0),f=C(0),g=C(0);f=z[a+12>>2];d=C(z[a+20>>2]-f);g=z[a+16>>2];e=C(z[a+24>>2]-g);b=C(C(C(C(b-f)*d)+C(C(c-g)*e))/C(C(d*d)+C(e*e)));if(!(!(b>2]==C(0))){return C(z[a+152>>2])}if(!(!(b>C(1))|z[a+124>>2]==C(0))){return C(z[a+156>>2])}c=z[a+152>>2];return C(C(c+C(b*C(z[a+156>>2]-c))))}function Jd(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=Qb-16|0;Qb=c;if((ye(a,c+8|0,8)|0)==8){if(!w[1156552]){t[1156552]=1}b=v[c+8>>2];a=v[c+12>>2];d=a<<24|b>>>8;g=d&65280;d=e;e=a<<8|b>>>24;d=d|f;f=e&255|g|(b<<24|b<<8&16711680);l(0,((a&255)<<24|b>>>8)&-16777216|((a&16777215)<<8|b>>>24)&16711680|(a>>>8&65280|a>>>24)|d);l(1,f|0);h=+n()}Qb=c+16|0;return h}function Ic(a){var b=0,c=0,d=0;a:{b=v[a+8>>2];if(b){while(1){d=v[b>>2];c=v[v[a>>2]+16>>2];v[299999]=0;V(c|0,b|0,1);c=v[299999];v[299999]=0;if((c|0)==1){break a}dc(b);b=d;if(b){continue}break}}v[a+4>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;return}a=W(0)|0;O()|0;ea(a|0)|0;v[299999]=0;ba(4230);a=v[299999];v[299999]=0;if((a|0)!=1){return}W(0)|0;O()|0;lc();L()}function H1(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(v[a+588>>2]>=1){b=v[a+540>>2];c=(v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0;d=v[a+636>>2]+v[a+616>>2]|0;b=0;while(1){if(!b){g=w[d|0];e=6;d=d+1|0;b=192}t[c|0]=(b&g)>>>e;e=e-2|0;b=(b&252)>>>2|0;c=v[a+584>>2]+c|0;f=f+1|0;if((f|0)>2]){continue}break}}return 0}function G1(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(v[a+588>>2]>=1){b=v[a+540>>2];c=(v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0;d=v[a+636>>2]+v[a+616>>2]|0;b=0;while(1){if(!b){g=w[d|0];e=4;d=d+1|0;b=240}t[c|0]=(b&g)>>>e;e=e-4|0;b=(b&240)>>>4|0;c=v[a+584>>2]+c|0;f=f+1|0;if((f|0)>2]){continue}break}}return 0}function yJ(a,b){var c=0,d=0,e=0;a:{e=v[b+960>>2];if(!e){break a}c=v[a+16>>2];if((c|0)!=v[b+16>>2]){break a}d=v[a+20>>2];if((d|0)!=v[b+20>>2]){break a}d=B(c,d);c=v[a+960>>2];if(!c){c=jc(d);v[a+960>>2]=c;if(!c){break a}e=v[b+960>>2]}gc(c,e,d);c=v[b+384>>2];v[a+380>>2]=v[b+380>>2];v[a+384>>2]=c;c=v[b+376>>2];v[a+372>>2]=v[b+372>>2];v[a+376>>2]=c}}function x2a(a){a=a|0;var b=0,c=0;a:{b=v[a>>2];if(!b){break a}a=a+20|0;if(!a){break a}b=v[b>>2];if(!b){break a}b:{if(!(t[a+16|0]&1)){break b}c=v[a+4>>2];if(c){Ub[v[b+8>>2]](b,c)}v[a+4>>2]=0;c=v[a+8>>2];if(c){Ub[v[b+8>>2]](b,c)}v[a+8>>2]=0;c=v[a+12>>2];if(!c){break b}Ub[v[b+8>>2]](b,c)}v[a>>2]=0;v[a+4>>2]=0;v[a+16>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0}}function tz(a,b){a=a|0;b=b|0;var c=0,d=0;if(!b){return 0}if(v[b>>2]<=0){c=Qb-256|0;Qb=c;v[c+24>>2]=v[211442];d=v[211441];v[c+16>>2]=v[211440];v[c+20>>2]=d;d=v[211439];v[c+8>>2]=v[211438];v[c+12>>2]=d;d=v[211437];v[c>>2]=v[211436];v[c+4>>2]=d;a:{if(v[b>>2]<=0){a=zW(0,Af(a,c+32|0,c,b),c,b);if(v[b>>2]<1){break a}}a=0}Qb=c+256|0}else{a=0}return a|0}function s8a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;if(w[b+32|0]){return _d(a,v[b>>2],0,0)|0}d=v[a+428>>2];c=x[b+34>>1];c=c<<8|c>>>8;t[d+8|0]=c;t[d+9|0]=c>>>8;f=d+8|0;c=x[b+36>>1];e=2;a:{if(!(w[b+38|0]|(c|0)!=x[b+34>>1])){break a}c=c<<8|c>>>8;t[d+10|0]=c;t[d+11|0]=c>>>8;c=w[b+38|0];e=4;if(!c){break a}t[d+12|0]=c;e=5}c=e;return _d(a,v[b>>2],c,f)|0}function d1a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=v[a+12>>2];a:{if((u[d+22>>1]+u[d+58>>1]|0)+1>>>0>y[d+4>>2]){d=xg(d,1,0);if(d){break a}}d=v[a+20>>2];if(w[a+68|0]){a=v[d+8>>2];e=u[d+2>>1];f=v[d+4>>2]+(e<<3)|0;v[f>>2]=(((b>>31)+b|0)+32768&-65536)>>16;v[f+4>>2]=(((c>>31)+c|0)+32768&-65536)>>16;t[a+e|0]=1}u[d+2>>1]=x[d+2>>1]+1;d=0}return d|0}function Oza(a,b,c){a=a|0;b=b|0;c=c|0;v[a+12>>2]=0;v[a+4>>2]=-1;v[a>>2]=938368;if(v[b>>2]==9){c=v[b+12>>2];v[a+4>>2]=v[b+8>>2];v[a+8>>2]=c;return a|0}a:{if(v[c>>2]==3){c=v[c+8>>2];b=fc(8);v[299999]=0;Q(3064,b|0,c|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}v[a+12>>2]=b;return a|0}kc(1,-1,234203,0);return a|0}a=P()|0;O()|0;dc(b);T(a|0);L()}function e3(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;f=v[a+72>>2];g=w[a+13|0];h=v[a+60>>2];b=1;c=w[a+12|0];a:{if(!c){break a}a=w[a+52|0];d=c&7;if(c-1>>>0>=7){e=c&248;while(1){b=B(a,B(a,B(a,B(a,B(a,B(a,B(a,B(a,b))))))));e=e-8|0;if(e){continue}break}}if(!d){break a}while(1){b=B(a,b);d=d-1|0;if(d){continue}break}}return(B(b+f|0,g)+B(c,h)<<1)+44|0}function TU(a){var b=0,c=0,d=0;if(!a){return-1}b=v[a+64>>2];a:{if(!b){break a}d=v[a+68>>2];b=d?d:b;if(v[b+4>>2]!=1){break a}b:{switch(v[a+16>>2]-2|0){case 0:case 2:break a;default:break b}}a=v[b+44>>2];if(a){while(1){c=c+1|0;a=v[a+24>>2];if(a){continue}break}}a=v[b+48>>2];if(!a){break a}while(1){c=c+1|0;a=v[a>>2];if(a){continue}break}}return c}function LBa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;if(v[a+12>>2]>=1){while(1){f=(e<<2)+b|0;a:{b:{d=(e<<3)+a|0;c=A[d+24>>3];if(c>0){c=c*65536;if(!(D(c)<2147483648)){break b}d=~~c;break a}c=A[d+56>>3];d=0;if(!(c<0)){break a}c=c*65536;if(!(D(c)<2147483648)){break b}d=~~c;break a}d=-2147483648}v[f>>2]=d;e=e+1|0;if((e|0)>2]){continue}break}}}function JK(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=jc(40);v[c>>2]=0;c=Ue(a+624|0,1,c,4);h=O()|0;a:{while(1){if(d){g=-1;break a}v[299999]=0;g=Y(32,a|0,b|0,1)|0;d=v[299999];v[299999]=0;e=-1;b:{c:{if(!d){break c}f=v[3e5];if(!f){break c}e=sc(v[d>>2],c,h);if(!e){break b}_(f|0)}d=O()|0;if((e|0)==1){continue}break a}break}dc(c);sd(d,f);L()}dc(c);return g}function GB(a,b,c,d){t[a+53|0]=1;a:{if(v[a+4>>2]!=(c|0)){break a}t[a+52|0]=1;c=v[a+16>>2];b:{if(!c){v[a+36>>2]=1;v[a+24>>2]=d;v[a+16>>2]=b;if(v[a+48>>2]!=1){break a}if((d|0)==1){break b}break a}if((b|0)==(c|0)){c=v[a+24>>2];if((c|0)==2){v[a+24>>2]=d;c=d}if(v[a+48>>2]!=1){break a}if((c|0)==1){break b}break a}v[a+36>>2]=v[a+36>>2]+1}t[a+54|0]=1}}function Egb(a){a=a|0;var b=0,c=0,d=0,e=0;b=v[a+52>>2];a=Ub[v[v[b>>2]+20>>2]](b,2)|0;Ub[v[v[b>>2]+20>>2]](b,1)|0;if((a|0)>=4){c=a-3|0;while(1){a=c-4|0;c=a;d=Ub[v[v[b>>2]+20>>2]](b,4)|0;a:{if((d|0)<1){break a}while(1){Ub[v[v[b>>2]+20>>2]](b,1)|0;c=a-1|0;if((a|0)<2){break a}e=(d|0)>1;d=d-1|0;a=c;if(e){continue}break}}if((c|0)>0){continue}break}}}function Ed(a,b){var c=0,d=0,e=0,f=0;d=Qb-16|0;Qb=d;v[b>>2]=0;a:{b:{c:{d:{c=v[a+8>>2];if(y[a+4>>2]<=c+1>>>0){break d}e=v[a+20>>2];e:{if(e){if((Ub[e|0](a,c,d+14|0,2)|0)!=2){break d}c=v[a+8>>2];b=d+14|0;break e}b=v[a>>2];if(!b){break c}b=b+c|0}b=w[b|0]|w[b+1|0]<<8;f=b<<8|b>>>8;break b}v[b>>2]=85;break a}f=0}v[a+8>>2]=c+2}Qb=d+16|0;return f&65535}function DK(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=jc(40);v[c>>2]=0;c=Ue(a+624|0,1,c,4);h=O()|0;a:{while(1){if(d){g=-1;break a}v[299999]=0;g=Y(49,a|0,b|0,1)|0;d=v[299999];v[299999]=0;e=-1;b:{c:{if(!d){break c}f=v[3e5];if(!f){break c}e=sc(v[d>>2],c,h);if(!e){break b}_(f|0)}d=O()|0;if((e|0)==1){continue}break a}break}dc(c);sd(d,f);L()}dc(c);return g}function rS(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=936732;b=v[a+8>>2];if(b){while(1){d=v[v[a+12>>2]+(c<<2)>>2];if(d){Ub[v[v[d>>2]+4>>2]](d);b=v[a+8>>2]}c=c+1|0;if(c>>>0>>0){continue}break}}b=v[a+12>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)!=1){b=v[a+16>>2];if(b){dc(Vc(b))}b=v[a+20>>2];if(b){dc(Vc(b))}return a|0}W(0)|0;O()|0;lc();L()}function qF(a){a=a|0;var b=0,c=0;v[a+104>>2]=0;v[a>>2]=885392;b=v[a+204>>2];if(b){dc(b)}rF(a+176|0);b=v[a+180>>2];c=v[a+184>>2];a:{if((b|0)==(c|0)){break a}while(1){dc(v[b>>2]);b=b+4|0;if((c|0)!=(b|0)){continue}break}b=v[a+184>>2];c=v[a+180>>2];if((b|0)==(c|0)){break a}v[a+184>>2]=b+(((b-c|0)-4>>>2^-1)<<2)}b=v[a+176>>2];if(b){dc(b)}return a|0}function Qfb(a,b){a=a|0;b=b|0;u[a+1016>>1]=x[b+28>>1];t[a+1018|0]=w[b+30|0];t[a+1019|0]=w[b+31|0];t[a+1020|0]=w[b+32|0];t[a+1021|0]=w[b+33|0];t[a+1022|0]=w[b+34|0];v[a+1024>>2]=v[b+36>>2];v[a+1028>>2]=v[b+40>>2];t[a+1032|0]=w[b+44|0];v[a+1036>>2]=v[b+48>>2];v[a+1040>>2]=v[b+52>>2];v[a+1044>>2]=v[b+56>>2];v[a+1048>>2]=v[b+60>>2];return i1(a)|0}function z6(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=Qb+-64|0;Qb=e;d=1;a:{if(Oi(a,b,0)){break a}d=0;if(!b){break a}b=kp(b,1023104,1023152);d=0;if(!b){break a}d=e+8|0;ic(d|4,0,52);v[e+56>>2]=1;v[e+20>>2]=-1;v[e+16>>2]=a;v[e+8>>2]=b;Ub[v[v[b>>2]+28>>2]](b,d,v[c>>2],1);a=v[e+32>>2];if((a|0)==1){v[c>>2]=v[e+24>>2]}d=(a|0)==1}Qb=e- -64|0;return d|0}function qh(a){var b=0,c=0;a:{c=a;b=v[a+5820>>2];b:{if((b|0)==16){b=v[a+20>>2];v[a+20>>2]=b+1;t[b+v[a+8>>2]|0]=w[a+5816|0];b=v[a+20>>2];v[a+20>>2]=b+1;t[b+v[a+8>>2]|0]=w[a+5817|0];u[a+5816>>1]=0;a=0;break b}if((b|0)<8){break a}b=v[a+20>>2];v[a+20>>2]=b+1;t[b+v[a+8>>2]|0]=w[a+5816|0];u[a+5816>>1]=w[a+5817|0];a=v[a+5820>>2]-8|0}v[c+5820>>2]=a}}function qg(a,b,c,d){var e=0,f=0,g=0;g=B(b,c);e=w[d+74|0];t[d+74|0]=e-1|e;f=v[d+4>>2];e=v[d+8>>2]-f|0;if((e|0)<1){e=g}else{e=e>>>0>>0?e:g;gc(a,f,e);v[d+4>>2]=e+v[d+4>>2];a=a+e|0;e=g-e|0}if(e){while(1){a:{if(!OC(d)){f=Ub[v[d+32>>2]](d,a,e)|0;if(f+1>>>0>1){break a}}return(g-e>>>0)/(b>>>0)|0}a=a+f|0;e=e-f|0;if(e){continue}break}}return b?c:0}function l1(a){var b=0,c=0,d=0;d=a;c=x[a+2322>>1];a:{b:{if(c>>>0<=x[a+2324>>1]){while(1){b=9;if(w[a+497|0]){break b}u[a+2322>>1]=c;b=c&65535;c:{if(!b){break c}b=yg(a,b);if(!b|w[b+30|0]|(!w[b+31|0]|!w[b+32|0])){break c}b=fh(a,b,0);if(b){break a}}c=c+1|0;if(x[a+2324>>1]>=(c&65535)>>>0){continue}break}}b=w[a+497|0]?9:0}t[d+498|0]=b;b=0}return b}function ZO(a){a=a|0;var b=0,c=0;v[a>>2]=984376;id(a+100|0);id(a+72|0);fd(a+48|0);v[a+36>>2]=981312;v[a+12>>2]=981280;b=v[a+40>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Ub[v[v[b>>2]+4>>2]](b)}v[a+40>>2]=0}v[a+28>>2]=981312;b=v[a+32>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Ub[v[v[b>>2]+4>>2]](b)}v[a+32>>2]=0}ec(a+20|0);Qc(a);return a|0}function KK(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=jc(40);v[c>>2]=0;c=Ue(a+624|0,1,c,4);h=O()|0;a:{while(1){if(d){g=-1;break a}v[299999]=0;g=Q(17,a|0,b|0)|0;d=v[299999];v[299999]=0;e=-1;b:{c:{if(!d){break c}f=v[3e5];if(!f){break c}e=sc(v[d>>2],c,h);if(!e){break b}_(f|0)}d=O()|0;if((e|0)==1){continue}break a}break}dc(c);sd(d,f);L()}dc(c);return g}function Fhb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Qb-32|0;Qb=c;d=w[a+24|0];e=w[a+12|0];v[c+24>>2]=v[a+16>>2];v[c+20>>2]=d;v[c+16>>2]=e;wc(b,56179,c+16|0);if(v[a+16>>2]>=1){d=0;while(1){e=v[v[a+20>>2]+(d<<2)>>2];v[c+8>>2]=d;v[c>>2]=d;v[c+12>>2]=e&2047;v[c+4>>2]=e>>>11;wc(b,56531,c);d=d+1|0;if((d|0)>2]){continue}break}}Qb=c+32|0;return 0}function i4(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=Qb-16|0;Qb=e;d=v[a+584>>2];if(w[a+48|0]&4){Rc(24038,13,1,b);a:{b:{switch(v[d>>2]-1|0){case 0:Rc(25958,5,1,b);break a;case 1:Rc(27699,24,1,b);break a;case 2:break b;default:break a}}Rc(29382,25,1,b)}f=v[d>>2];v[e+4>>2]=f;v[e>>2]=f;wc(b,31215,e)}d=v[d+52>>2];if(d){Ub[d|0](a,b,c)}Qb=e+16|0}function fS(a){var b=0,c=0,d=0;a:{if(v[a+8>>2]==13){break a}c=a+8|0;while(1){b=v[a+16>>2];if((Ub[v[v[b>>2]+28>>2]](b)|0)!=-1){if(v[c>>2]==13){break a}continue}b=v[a+16>>2];Ub[v[v[b>>2]+24>>2]](b);hc(c);b=v[a+4>>2]+1|0;v[a+4>>2]=b;d=v[a>>2];if((b|0)>2]){yc(d,b,c,0);b=v[a+16>>2];Ub[v[v[b>>2]+20>>2]](b)}if(v[c>>2]!=13){continue}break}}}function Wfb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=a;if(!w[b+28|0]){d=v[b+56>>2];e=v[b+52>>2];f=v[b+48>>2];g=v[b+44>>2];h=v[b+40>>2];i=v[b+36>>2];j=v[b+32>>2];k=1;l=v[b+60>>2]}v[c+2224>>2]=l;v[a+2220>>2]=d;v[a+2216>>2]=e;v[a+2212>>2]=f;v[a+2208>>2]=g;v[a+2204>>2]=h;v[a+2200>>2]=i;v[a+2196>>2]=j;t[a+309|0]=k;return 0}function MC(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=Qb-240|0;Qb=h;v[h>>2]=a;i=1;a:{if((d|0)<2){break a}k=0-b|0;f=a;while(1){f=f+k|0;j=d-2|0;g=f-v[(j<<2)+e>>2]|0;if((Ub[c|0](a,g)|0)>=0){if((Ub[c|0](a,f)|0)>-1){break a}}l=g;g=(Ub[c|0](g,f)|0)>-1;f=g?l:f;v[(i<<2)+h>>2]=f;i=i+1|0;d=g?d-1|0:j;if((d|0)>1){continue}break}}nN(b,h,i);Qb=h+240|0}function FIa(a){a=a|0;var b=0,c=0,d=0;if(a){b=v[a+20>>2];a:{b:{if(b){c=v[a+4>>2];if(!c){break a}d=v[b+80>>2];if(!d){break b}while(1){b=v[d+16>>2];if(b){while(1){if(b+20>>>0<=c>>>0&y[b+4>>2]>=c>>>0){break a}b=v[b>>2];if(b){continue}break}}d=v[d+20>>2];if(d){continue}break}break b}c=v[a+4>>2];if(!c){break a}}Ub[v[259708]](c)}Ub[v[259708]](a)}}function CW(a,b){var c=0,d=0,e=0;d=Qb-32|0;Qb=d;a:{if(!a){break a}c=v[a+24>>2];b:{if(b>>>0<=1){e=v[c+24>>2];v[a+48>>2]=0;v[a+44>>2]=e;t[a+65|0]=0;t[a+36|0]=0;t[a+254|0]=0;t[a+62|0]=0;if((b|0)==1){break b}}t[a+253|0]=0;v[a+180>>2]=-1;t[a+63|0]=0;t[a+64|0]=0;v[a+52>>2]=0;v[a+56>>2]=0}c=v[v[c+20>>2]+20>>2];if(!c){break a}Ub[c|0](a,b)}Qb=d+32|0}function wKa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=v[a+4>>2];a=v[c+4>>2];a:{b:{if(!a){break b}if((Yp(a)|0)!=1){break b}f=b+1|0;while(1){d=Jy(v[c+4>>2]);a=Du(v[c+4>>2]);if((d|0)==-1|(a|0)==-1|(a|0)<(b|0)){break b}e=1;if((d|0)==1&(a|0)==(f|0)){break a}if((d|0)==15&(a|0)==(b|0)){break b}if((Yp(v[c+4>>2])|0)==1){continue}break}}e=0}return e|0}function n7a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if(v[c>>2]!=1280266064){pc(a,2050,0,0);return 2050}t[b+32|0]=w[c+32|0];v[b+36>>2]=v[c+36>>2];t[b+40|0]=w[c+40|0];v[b+44>>2]=v[c+44>>2];v[b+48>>2]=v[c+48>>2];d=v[c+52>>2];v[b+52>>2]=d;if(d){e=b;d=d<<2;b=Ub[v[a+152>>2]](d)|0;v[e+56>>2]=b;if(!b){pc(a,1,0,0);return 1}gc(b,v[c+56>>2],d)}return 0}function zWa(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,j=0,k=0,l=0;h=Qb-16|0;Qb=h;i=v[a+452>>2];j=v[i+16>>2];k=v[f>>2];v[h+12>>2]=0;l=b;b=g-k|0;Ub[v[v[a+472>>2]+4>>2]](a,l,c,d,v[i+12>>2],h+12|0,b>>>0>j>>>0?j:b);Ub[v[v[a+480>>2]+4>>2]](a,v[i+12>>2],(v[f>>2]<<2)+e|0,v[h+12>>2]);v[f>>2]=v[f>>2]+v[h+12>>2];Qb=h+16|0}function h8a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;f=v[a+428>>2]+8|0;g=v[b+32>>2];if(g){e=v[b+36>>2];d=f;while(1){c=v[e>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d|0]=c;t[d+1|0]=c>>>8;t[d+2|0]=c>>>16;t[d+3|0]=c>>>24;t[d+4|0]=w[e+4|0];e=e+8|0;d=d+5|0;h=h+1|0;if(h>>>0>2]){continue}break}}return _d(a,v[b>>2],B(g,5),f)|0}function LHa(a){a=a|0;var b=0,c=0;v[a+104>>2]=0;v[a>>2]=885392;b=v[a+204>>2];if(b){dc(b)}rF(a+176|0);b=v[a+180>>2];c=v[a+184>>2];a:{if((b|0)==(c|0)){break a}while(1){dc(v[b>>2]);b=b+4|0;if((c|0)!=(b|0)){continue}break}b=v[a+184>>2];c=v[a+180>>2];if((b|0)==(c|0)){break a}v[a+184>>2]=b+(((b-c|0)-4>>>2^-1)<<2)}b=v[a+176>>2];if(b){dc(b)}dc(a)}function hA(a,b){var c=0,d=0,e=0,f=0;if(a){c=v[a+20>>2];d=v[a+4>>2];if(d){if((d|0)!=1){f=d&-2;while(1){e=v[c>>2];if(e){Ub[v[b+8>>2]](b,e)}v[c>>2]=0;e=v[c+4>>2];if(e){Ub[v[b+8>>2]](b,e)}v[c+4>>2]=0;c=c+8|0;f=f-2|0;if(f){continue}break}}if(d&1){d=v[c>>2];if(d){Ub[v[b+8>>2]](b,d)}v[c>>2]=0}c=v[a+20>>2]}if(c){Ub[v[b+8>>2]](b,c)}v[a+20>>2]=0}}function ehb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=v[b+12>>2];if((c|0)>v[a+56>>2]){Sc(50763,0);return-1}a:{b:{d=v[a+84>>2]-4|0;if(d){if((d|0)==12){break b}else{break a}}t[(v[v[a+64>>2]+24>>2]+B(c,488)|0)+417|0]=w[b+17|0];return 0}e=-1;a=v[a+52>>2];if(!a|v[a+40>>2]>0){break a}t[(v[v[a+32>>2]+24>>2]+B(c,488)|0)+417|0]=w[b+17|0];e=0}return e|0}function ePa(a,b){a=a|0;b=b|0;var c=0,d=0;a:{c=v[a+4>>2];if((c|0)!=v[a+8>>2]){b:{if(t[b+11|0]>=0){d=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=d;v[c+8>>2]=v[b+8>>2];break b}d=v[b+4>>2];b=v[b>>2];v[299999]=0;U(2345,c|0,b|0,d|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}v[a+4>>2]=c+12;return}hX(a,b);return}b=P()|0;O()|0;v[a+4>>2]=c;T(b|0);L()}function agb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=v[b+88>>2];c=v[d+28>>2];a:{if(c){c=c-1|0;v[d+28>>2]=c;if(c){break a}}c=v[d+1144>>2];b:{if(!c){break b}e=v[d+1148>>2];if(!e){break b}Ub[v[a+156>>2]](e,c)}c=v[d+1172>>2];c:{if(!c){break c}e=v[d+1176>>2];if(!e){break c}Ub[v[a+156>>2]](e,c)}Ub[v[a+156>>2]](d,1180)}Ub[v[a+156>>2]](b,92);return 0}function T$a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:{c=v[a+20>>2];a=(c+(v[a+16>>2]<<3)|0)-8|0;if(a>>>0>=c>>>0){while(1){e=(a-c>>4<<3)+c|0;d=v[e>>2];if((d|0)==(b|0)){f=e;break a}d=d&2147483647;f=(d|0)==(b|0)?e:f;if((a|0)!=(c|0)){d=b>>>0>d>>>0;c=d?e+8|0:c;a=d?a:e-8|0;if(c>>>0<=a>>>0){continue}}break}if(f){break a}}return 0}return v[f+4>>2]}function Lk(a,b){a:{if((b|0)>=1024){a=a*8.98846567431158e307;if((b|0)<2047){b=b-1023|0;break a}a=a*8.98846567431158e307;b=((b|0)<3069?b:3069)-2046|0;break a}if((b|0)>-1023){break a}a=a*2.2250738585072014e-308;if((b|0)>-2045){b=b+1022|0;break a}a=a*2.2250738585072014e-308;b=((b|0)>-3066?b:-3066)+2044|0}l(0,0);l(1,b+1023<<20);return a*+n()}function DN(a,b,c,d){var e=0,f=0;if((d|0)==1){f=b;e=v[a+8>>2]-v[a+4>>2]|0;b=b-e|0;c=c-((e>>31)+(f>>>0>>0)|0)|0}a:{if(y[a+20>>2]>y[a+28>>2]){Ub[v[a+36>>2]](a,0,0)|0;if(!v[a+20>>2]){break a}}v[a+28>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;Ub[v[a+40>>2]](a,b,c,d)|0;if((Tb|0)<0){break a}v[a+4>>2]=0;v[a+8>>2]=0;v[a>>2]=v[a>>2]&-17;return 0}return-1}function yeb(a){a=a|0;var b=0,c=0,d=0;if(v[a+588>>2]>=1){b=v[a+540>>2];b=(v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0;c=v[a+636>>2]+v[a+616>>2]|0;while(1){t[b|0]=w[c|0];t[b+1|0]=w[c+1|0];t[b+2|0]=w[c+2|0];t[b+3|0]=w[c+3|0];c=c+4|0;b=(v[a+584>>2]<<2)+b|0;d=d+1|0;if((d|0)>2]){continue}break}}return 0}function jn(a){var b=0,c=0,d=0,e=0;a:{if(v[a+12>>2]>0){break a}c=3;b=v[a>>2];d=v[a+8>>2];b:{if(b>>>0>=d>>>0){break b}c:{while(1){d:{e=b+1|0;v[a>>2]=e;e:{switch(w[b|0]-9|0){case 17:break b;case 50:break c;case 1:case 4:break d;case 0:case 23:break e;default:break a}}b=e;if(d>>>0>b>>>0){continue}break b}break}c=2;break b}c=1}v[a+12>>2]=c}}function jVa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=1;a:{if(!v[a+16>>2]){break a}a=v[a+20>>2];if(!a){break a}d=v[c>>2];if((d|0)>=4){c=v[a+4>>2];if(!w[c+25|0]){f=A[b+8>>3];g=A[b>>3];t[c+25|0]=1;ze(c,g,f,1)}d=d>>>1|0;c=1;while(1){e=(c<<4)+b|0;ze(v[a+4>>2],A[e>>3],A[e+8>>3],2);c=c+1|0;if((d|0)!=(c|0)){continue}break}}d=0}return d|0}function _r(a){var b=0,c=0,d=0;c=Qb-16|0;Qb=c;if(a){a:{b=Ub[v[259704]](44)|0;if(!b){v[c>>2]=352260;oc(0,0,0,0,0,30,2,3,352260,0,0,0,350051,c);break a}v[b>>2]=0;v[b+4>>2]=0;v[b+40>>2]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;if(!bs(b,a)){d=b;break a}pj(b)}}Qb=c+16|0;return d}function uEa(a){a=a|0;var b=0;v[a>>2]=896168;a:{b=v[a+2456>>2];if(b){v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a+2460>>2];if(b){v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a+2468>>2];if(b){v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}}dc(a);return}W(0)|0;O()|0;lc();L()}function Ufb(a,b){a=a|0;b=b|0;var c=0;if(w[b+28|0]){t[a+311|0]=0;b=v[a+2232>>2];a:{if(!b){break a}c=v[a+2236>>2];if(!c){break a}Ub[v[a+156>>2]](c,b)}v[a+2232>>2]=0;v[a+2236>>2]=0;return 0}t[a+311|0]=1;c=v[b+32>>2];v[a+2232>>2]=c;if(c){c=Ub[v[a+152>>2]](c)|0;v[a+2236>>2]=c;if(!c){pc(a,1,0,0);return 1}gc(c,v[b+36>>2],v[b+32>>2])}return 0}function IK(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=jc(40);v[b>>2]=0;b=Ue(a+624|0,1,b,4);g=O()|0;a:{while(1){if(c){f=-1;break a}v[299999]=0;f=S(33,a|0)|0;c=v[299999];v[299999]=0;d=-1;b:{c:{if(!c){break c}e=v[3e5];if(!e){break c}d=sc(v[c>>2],b,g);if(!d){break b}_(e|0)}c=O()|0;if((d|0)==1){continue}break a}break}dc(b);sd(c,e);L()}dc(b);return f}function CT(a){a:{if(v[a>>2]!=4){break a}a=v[a+8>>2];if(!mc(a,279892)){break a}if(!mc(a,278785)){return 1}if(!mc(a,282621)){return 2}if(!mc(a,287862)){return 3}if(!mc(a,221195)){return 4}if(!mc(a,221206)){return 5}if(!mc(a,225610)){return 6}if(!mc(a,221194)){return 7}if(!mc(a,221205)){return 8}if(mc(a,270030)){break a}return 9}return 0}function rc(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=w[b|0];if(e){f=b;while(1){g=B(g,17)+(e&255)|0;e=w[f+1|0];f=f+1|0;if(e){continue}break}}a:{e=v[v[a+8>>2]+((g>>>0)%((v[a+12>>2]<<1)-1>>>0)<<2)>>2];if(e){while(1){if(!mc(b,v[e>>2])){break a}e=v[e+24>>2];if(e){continue}break}}v[c>>2]=5;return c|0}return qf(e+8|0,v[a>>2],c,d)|0}function j9a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{if(w[a+286|0]|!w[a+285|0]|(w[a+287|0]|w[a+288|0])){break a}if(w[a+289|0]){break a}if((c|0)!=2){pc(a,1028,0,0);return 1028}c=0;b:{if(!w[a+112|0]){break b}c=Ub[v[b+4>>2]](a,b,e)|0;if(c){break b}a=v[e>>2];t[a+32|0]=w[d|0];t[a+33|0]=w[d+1|0];c=0}return c|0}pc(a,1029,0,0);return 1029}function Yea(a,b){a=a|0;b=b|0;var c=0,d=0;a:{if((b|0)<1){break a}d=b-1|0;c=b&7;if(c){while(1){v[a+4>>2]=0;a=a+12|0;b=b-1|0;c=c-1|0;if(c){continue}break}}if(d>>>0<7){break a}while(1){v[a+4>>2]=0;v[a+88>>2]=0;v[a+76>>2]=0;v[a- -64>>2]=0;v[a+52>>2]=0;v[a+40>>2]=0;v[a+28>>2]=0;v[a+16>>2]=0;a=a+96|0;c=(b|0)>8;b=b-8|0;if(c){continue}break}}}function Jl(a,b,c,d){var e=0,f=0;e=Qb-160|0;Qb=e;gc(e+8|0,1010480,144);a:{b:{if((b|0)<=0){if(b){break b}b=1;a=e+159|0}v[e+52>>2]=a;v[e+28>>2]=a;f=-2-a|0;b=b>>>0>f>>>0?f:b;v[e+56>>2]=b;a=a+b|0;v[e+36>>2]=a;v[e+24>>2]=a;a=Pw(e+8|0,c,d);if(!b){break a}b=v[e+28>>2];t[b-((b|0)==v[e+24>>2])|0]=0;break a}v[299402]=61;a=-1}Qb=e+160|0;return a}function $ya(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=A[b>>3];A[a+8>>3]=d;e=A[b+8>>3];A[a+16>>3]=e;f=A[b+16>>3];A[a+24>>3]=f;g=A[b+24>>3];A[a+32>>3]=g;h=A[b+32>>3];A[a+40>>3]=h;i=A[b+40>>3];c=1/(d*g-e*f);A[a+80>>3]=d*c;A[a+72>>3]=c*-f;A[a- -64>>3]=c*-e;A[a+56>>3]=g*c;A[a+48>>3]=i;A[a+96>>3]=c*(e*h-d*i);A[a+88>>3]=c*(f*i-g*h)}function $hb(a,b){a=a|0;b=b|0;var c=0,d=0;a:{if(Of(b,a+20|0)){break a}c=jc(B(v[a+20>>2],12));v[a+24>>2]=c;if(!c){break a}if(!v[a+20>>2]){return 0}if(Of(b,c)){break a}while(1){c=B(d,12)+c|0;if(Of(b,c+4|0)){break a}if(Of(b,c+8|0)){break a}d=d+1|0;if(d>>>0>=y[a+20>>2]){return 0}c=v[a+24>>2];if(!Of(b,c+B(d,12)|0)){continue}break}}return-1}function vEa(a){a=a|0;var b=0;v[a>>2]=896168;a:{b=v[a+2456>>2];if(b){v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a+2460>>2];if(b){v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a+2468>>2];if(b){v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}}return a|0}W(0)|0;O()|0;lc();L()}function jF(){var a=0,b=0,c=0;a=ei(321351);a:{if(a){b=fc(8);v[299999]=0;a=Q(3063,b|0,a|0)|0;break a}a=ei(311761);b:{if(a){a=Oa(a|0)|0;break b}a=Ab(eb()|0)|0}b=fc(8);if(a){a=v[a+20>>2];v[299999]=0;a=Q(3063,b|0,a|0)|0;break a}v[299999]=0;a=Q(3063,b|0,335712)|0}c=v[299999];v[299999]=0;if((c|0)==1){a=P()|0;O()|0;dc(b);T(a|0);L()}return a}function yr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=Qb-32|0;Qb=e;a:{if(c){while(1){d=Ub[v[v[a>>2]+12>>2]](a,b,c)|0;if(!d){a=vc(e+8|0,237882,241835,474,338919,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}b=P()|0;O()|0;qc(a);T(b|0);L()}b=b+d|0;f=d+f|0;c=c-d|0;if(c){continue}break}}Qb=e+32|0;return f|0}L()}function yi(a,b){var c=0,d=0,e=0;c=w[a|0];a:{if(!c){break a}while(1){d=w[b|0];if(!d){e=c;break a}b:{if((c|0)==(d|0)){break b}d=c-65>>>0<26?c|32:c;c=w[b|0];if((d|0)==((c-65>>>0<26?c|32:c)|0)){break b}e=w[a|0];break a}b=b+1|0;c=w[a+1|0];a=a+1|0;if(c){continue}break}}a=e&255;e=a-65>>>0<26?a|32:a;a=w[b|0];return e-(a-65>>>0<26?a|32:a)|0}function wB(a){var b=0,c=0,d=0,e=0;a:{c=v[a+4>>2];if(!(c&16)){if(w[a+8|0]&7){return-1}if(!(w[a|0]&6)){return-1}e=a;b=v[a+16>>2];d=v[a+24>>2]-b|0;if((d|0)>=1){if((Ub[v[v[a+52>>2]+4>>2]](v[a+56>>2],b,d)|0)!=(d|0)){break a}c=v[a+4>>2];b=v[a+16>>2]}v[e+24>>2]=b;v[a+28>>2]=v[a+20>>2];v[a+4>>2]=c|32}return 0}v[a+8>>2]=v[a+8>>2]|2;return-1}function uqa(a,b){a=a|0;b=b|0;var c=0,d=0;a:{if((b|0)<1){break a}d=b-1|0;c=b&7;if(c){while(1){v[a+8>>2]=0;a=a+12|0;b=b-1|0;c=c-1|0;if(c){continue}break}}if(d>>>0<7){break a}while(1){v[a+8>>2]=0;v[a+92>>2]=0;v[a+80>>2]=0;v[a+68>>2]=0;v[a+56>>2]=0;v[a+44>>2]=0;v[a+32>>2]=0;v[a+20>>2]=0;a=a+96|0;c=(b|0)>8;b=b-8|0;if(c){continue}break}}}function cGa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:{if(b>>>0>2147482623){break a}e=b;d=v[a+1032>>2];if(!((d|0)<=(b|0)&(b+2|0)<=(v[a+1036>>2]+d|0))){d=0;if(zg(v[a+4>>2],b,0)){break a}v[a+1032>>2]=b;b=qg(a+8|0,1,1024,v[a+4>>2]);v[a+1036>>2]=b;if((b|0)<2){break a}d=v[a+1032>>2]}a=(e-d|0)+a|0;v[c>>2]=w[a+8|0]<<8|w[a+9|0];d=1}return d|0}function W9a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;h=v[v[v[a+544>>2]+88>>2]+36>>2];e=v[a+644>>2];c=v[a+636>>2];v[a+644>>2]=c;v[a+636>>2]=e;d=v[a+672>>2];if((d|0)>2]){b=v[a+656>>2];f=(b<<2)+e|0;while(1){v[c>>2]=v[f>>2];b=b+1|0;g=b>>>0>>0;f=g?f+4|0:e;b=g?b:0;c=c+4|0;d=d+1|0;if((d|0)>2]){continue}break}}return 0}function nN(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=Qb-256|0;Qb=e;a:{if((c|0)<2){break a}h=(c<<2)+b|0;v[h>>2]=e;if(!a){break a}d=e;while(1){f=a>>>0<256?a:256;gc(d,v[b>>2],f);d=0;while(1){g=(d<<2)+b|0;d=d+1|0;gc(v[g>>2],v[(d<<2)+b>>2],f);v[g>>2]=v[g>>2]+f;if((c|0)!=(d|0)){continue}break}a=a-f|0;if(!a){break a}d=v[h>>2];continue}}Qb=e+256|0}function Yo(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{e=v[v[a+4>>2]+8>>2]&3;if(!e){c=di(0,0);d=v[v[a>>2]+12>>2];if(d){if(Ub[d|0](a,c)|0){break b}}f=a,g=ui(c)+8|0,v[f+12>>2]=g;Dm(c)}if(Ih(b,v[a+12>>2])){break b}if(Ih(b,v[a+8>>2])){break b}d=0;if(e){break a}if(Cm(b,c,v[a+12>>2]-8|0)){break b}Te(c);return 0}d=-1;if(!c){break a}Te(c)}return d}function NOa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Qb-16|0;Qb=d;a:{b:{if(c){c=a+68|0;if(aX(c,b)){break b}HW(d);v[299999]=0;c=Q(2692,c|0,d|0)|0;e=v[299999];v[299999]=0;if((e|0)==1){break a}if(t[d+11|0]<=-1){dc(v[d>>2])}if(c){break b}}cX(a+68|0,b);v[a+48>>2]=a+8}Qb=d+16|0;return}a=P()|0;O()|0;if(t[d+11|0]<=-1){dc(v[d>>2])}T(a|0);L()}function K$(a,b,c,d){var e=0;e=Qb-16|0;Qb=e;a:{if(!d){break a}v[d>>2]=0;if(!b|!c|((b?v[b+8>>2]:-1)|0)!=1){break a}vq(c,e+12|0,e+8|0,0,0);if(!v[e+12>>2]|!v[e+8>>2]){break a}b:{c:{if(!a){a=Hs(b);if(a){break c}a=0;break a}BI(a,b);if((a|0)!=(b|0)){break c}a=b;b=Xe(0,b);break b}if(b){v[b+16>>2]=v[b+16>>2]+1}}v[d>>2]=b}Qb=e+16|0;return a}function Gwa(a){a=a|0;var b=0,c=0,d=0;b=fc(16);c=v[a+4>>2];d=v[v[c>>2]+8>>2];v[299999]=0;c=S(d|0,c|0)|0;d=v[299999];v[299999]=0;a:{if((d|0)==1){break a}a=v[a+12>>2];v[b+12>>2]=a;v[b>>2]=968168;v[b+4>>2]=c;v[299999]=0;a=Q(3364,a|0,4)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}v[b+8>>2]=a;return b|0}a=P()|0;O()|0;dc(b);T(a|0);L()}function G7a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;if(v[c>>2]!=1347179589){pc(a,2050,0,0);return 2050}t[b+32|0]=w[c+32|0];a=v[c+36>>2];v[b+36>>2]=a;if(a){f=c+40|0;g=b+40|0;c=0;while(1){d=B(c,3);a=d+g|0;d=d+f|0;e=w[d|0]|w[d+1|0]<<8;t[a|0]=e;t[a+1|0]=e>>>8;t[a+2|0]=w[d+2|0];c=c+1|0;if(c>>>0>2]){continue}break}}return 0}function Cv(a){var b=0,c=0,d=0;a:{if(!a){break a}b=w[a|0];if(!b){break a}d=(b|0)==45;b=d+a|0;a=t[b|0];b:{if(!(w[((a&248)>>>3|0)+375728|0]>>>(a&7)&1)){break b}while(1){if(c<<16>>16>3274){c=32767;break b}c=w[a+375760|0]+B(c,10)|0;a=t[b+1|0];b=b+1|0;if(w[((a&248)>>>3|0)+375728|0]>>>(a&7)&1){continue}break}}c=d?0-c|0:c}return c<<16>>16}function nfa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;d=Qb-32|0;Qb=d;a:{if(!w[a+49|0]){a=vc(d+8|0,227275,242139,777,337730,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}b=P()|0;O()|0;qc(a);T(b|0);L()}e=Ci(a,1,v[a+216>>2],a+144|0);a=Ci(a,1,v[a+220>>2],a+148|0);u[b>>1]=e-1;u[b+2>>1]=a-c;Qb=d+32|0;return}L()}function n$(a){var b=0,c=0,d=0;a:{if(!a){break a}b=w[a|0];if(!b){break a}d=(b|0)==45;b=d+a|0;a=t[b|0];b:{if(!(w[((a&248)>>>3|0)+375728|0]>>>(a&7)&1)){break b}while(1){if((c|0)>214748362){c=2147483647;break b}c=w[a+375760|0]+B(c,10)|0;a=t[b+1|0];b=b+1|0;if(w[((a&248)>>>3|0)+375728|0]>>>(a&7)&1){continue}break}}c=d?0-c|0:c}return c}function l7(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=Qb-16|0;Qb=f;if(d>>>0<=4294967279){a:{if(d>>>0<=10){t[a+11|0]=c;d=a;break a}g=a;if(d>>>0>=11){e=d+16&-16;d=e-1|0;d=(d|0)==11?e:d}else{d=10}e=d+1|0;d=fc(e);v[g>>2]=d;v[a+8>>2]=e|-2147483648;v[a+4>>2]=c}bk(d,b,c);t[f+15|0]=0;t[c+d|0]=w[f+15|0];Qb=f+16|0;return}$d(a);L()}function Eqa(){var a=0,b=0;a:{a=v[294588];if(!a){a=fc(28);v[a+4>>2]=0;v[a+24>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=982456;v[a+16>>2]=0;v[a+20>>2]=0;v[299999]=0;b=a+8|0;v[b>>2]=982500;v[b+4>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;b=v[299999];v[299999]=0;if((b|0)==1){break a}v[294588]=a}Cp(a+8|0);return}b=P()|0;O()|0;Qc(a);dc(a);T(b|0);L()}function $l(a,b,c,d){var e=0,f=0,g=0,h=0;e=Qb-32|0;Qb=e;a:{if(a){if(v[a+172>>2]==-1?v[a+212>>2]:0){break a}f=v[a>>2];if(f){g=v[f+108>>2]==-554844497?v[f+124>>2]:g;f=v[f+84>>2]}else{f=0}h=v[a+4>>2];v[e+20>>2]=0;v[e+16>>2]=d;oc(g,f,h,a,0,1,b,1,d,0,0,0,c,e+16|0);break a}v[e+4>>2]=0;v[e>>2]=d;oc(0,0,0,0,0,1,b,1,d,0,0,0,c,e)}Qb=e+32|0}function I1(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(v[a+588>>2]>=1){b=v[a+540>>2];c=(v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0;d=v[a+636>>2]+v[a+616>>2]|0;b=0;while(1){if(!b){f=w[d|0];d=d+1|0;b=128}t[c|0]=(b&f)!=0;b=(b&254)>>>1|0;c=v[a+584>>2]+c|0;e=e+1|0;if((e|0)>2]){continue}break}}return 0}function B$(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;v[a+2748>>2]=b;d=v[b+28>>2];v[a+4>>2]=v[b+44>>2];v[a+8>>2]=v[b+48>>2];v[a+12>>2]=v[b+7720>>2];v[a+16>>2]=v[b+7724>>2];c=v[b+24>>2];v[a+2740>>2]=(w[v[v[b+36>>2]+388>>2]+20|0]?4:12)|d;d=a;a=(c&-2)==2;b=a|2;e=(c|0)==4?b:a;a=(c|0)==2;b=a?b:e;b=(c&-3)==1?b:b|4;v[d+2744>>2]=a?b|8:b;return 0}function wv(a){var b=0,c=0,d=0,e=0,f=0;jn(a);a:{if(v[a+12>>2]>0){break a}b=v[a>>2];d=b-1|0;e=v[a+8>>2];b:{c:{while(1){c=3;if(b>>>0>=e>>>0){break b}f=b;b=b+1|0;v[a>>2]=b;d:{switch(w[f|0]-9|0){case 0:case 23:break a;case 17:break b;case 50:break c;case 1:case 4:break d;default:continue}}break}c=2;break b}c=1}v[a+12>>2]=c}return d}function fya(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;f=fc(312);a=v[a+24>>2];g=v[e+12>>2];v[f+16>>2]=v[e+8>>2];v[f+20>>2]=g;g=v[e+4>>2];v[f+8>>2]=v[e>>2];v[f+12>>2]=g;v[f>>2]=962256;v[a+4>>2]=v[a+4>>2]+1;e=f+40|0;v[f+300>>2]=e;v[f+36>>2]=d;v[f+32>>2]=c;v[f+28>>2]=b;v[f+24>>2]=a;v[f+304>>2]=b;v[f+296>>2]=e;return f|0}function Yg(a,b,c){var d=0;d=v[a+20>>2];t[b|0]=w[(w[b|0]+a|0)+2348|0];b=(c+d>>>2|0)+24576|0;b=65536-(b>>>0>>0?b:c)|0;c=b+v[a+32>>2]|0;v[a+32>>2]=c;b=b+v[a+20>>2]|0;v[a+20>>2]=b;if(b>>>0>=32768){while(1){xt(a,1-(c>>>15|0)|0);c=v[a+32>>2]<<1&65534;v[a+32>>2]=c;b=v[a+20>>2]<<1&65534;v[a+20>>2]=b;if(b>>>0>32767){continue}break}}}function Vm(a,b){var c=0,d=0,e=0,f=0;c=v[a+8>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;a:{if((c|0)==-1){break a}d=v[a+8>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break a}e=v[a+8>>2];e=Ub[v[v[e>>2]+28>>2]](e)|0;if((e|0)==-1){break a}a=v[a+8>>2];a=Ub[v[v[a>>2]+28>>2]](a)|0;if((a|0)==-1){break a}v[b>>2]=a|(d<<16|c<<24|e<<8);f=1}return f}function Oua(a,b){a=a|0;b=b|0;var c=0;c=Qb-16|0;Qb=c;Ub[v[v[a>>2]+12>>2]](c,a,b);v[299999]=0;a=S(2911,c|0)|0;b=v[299999];v[299999]=0;a:{if((b|0)!=1){if(a){break a}v[299999]=0;S(2903,c|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break a}}a=P()|0;O()|0;if(t[c+11|0]<=-1){dc(v[c>>2])}T(a|0);L()}if(t[c+11|0]<=-1){dc(v[c>>2])}Qb=c+16|0}function L6(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Qb-16|0;Qb=d;a:{if(v[b>>2]){if(w[c+11|0]>>>7|0){e=v[c+4>>2]}else{e=w[c+11|0]}if(e){TB(c,346709)}e=v[b+4>>2];Ub[v[v[e>>2]+24>>2]](d,e,v[b>>2]);v[299999]=0;Q(5953,c|0,d|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}Mc(d)}KL(a,c);Qb=d+16|0;return}a=P()|0;O()|0;Mc(d);T(a|0);L()}function zB(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=jc(40);v[e>>2]=0;e=Ue(a+4|0,1,e,4);h=O()|0;a=0;a:{while(1){if(a){break a}v[299999]=0;Y(516,b|0,c|0,d|0)|0;a=v[299999];v[299999]=0;f=-1;b:{if(!a){break b}g=v[3e5];if(!g){break b}f=sc(v[a>>2],e,h);if(!f){dc(e);sd(a,g);L()}_(g|0)}a=O()|0;if((f|0)==1){continue}break}i=1}dc(e);return i}function pp(a){v[a+556>>2]=434;v[a+548>>2]=435;v[a+540>>2]=436;v[a+520>>2]=437;v[a+516>>2]=438;v[a+512>>2]=1;v[a+528>>2]=1;v[a+580>>2]=439;v[a+576>>2]=440;v[a+572>>2]=441;v[a+568>>2]=442;v[a+564>>2]=441;v[a+560>>2]=443;v[a+552>>2]=444;v[a+544>>2]=445;v[a+536>>2]=438;v[a+532>>2]=437;v[a+524>>2]=438;v[a+12>>2]=v[a+12>>2]&-131329}function dI(a){a=a|0;var b=0;b=Qb-16|0;v[b+12>>2]=a;v[a+60>>2]=2333;v[a+64>>2]=0;v[a+52>>2]=1667;v[a+56>>2]=275;v[a+44>>2]=1e3;v[a+48>>2]=275;v[a+36>>2]=500;v[a+40>>2]=400;t[a+32|0]=1;v[a+28>>2]=1;b=v[a+8>>2]^(b+8^b+12);b=b>>>10^b^b>>>20;v[a+68>>2]=b;a:{if((b|0)<=-1){b=0-b|0}else{if(b){break a}b=123456789}v[a+68>>2]=b}return 0}function S$(a){var b=0,c=0,d=0,e=0;if(!a){return 0}c=v[a+8>>2];a:{if((c|0)<0){break a}d=v[a+12>>2];if((d|0)<0){break a}e=v[a+4>>2];a=v[a>>2];if((a|0)<=-1){c=a+c|0;if((c|0)<1){break a}a=0}if((e|0)<=-1){d=e+d|0;if((d|0)<1){break a}e=0}b=bd(1,20);if(!b){return 0}v[b+16>>2]=1;v[b+12>>2]=d;v[b+8>>2]=c;v[b+4>>2]=e;v[b>>2]=a}return b}function OO(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=985012;b=v[a+68>>2];v[a+68>>2]=0;a:{if(!b){break a}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)!=1){if(c){break a}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}}W(0)|0;O()|0;lc();L()}Lc(a+52|0);Lc(a+40|0);Lc(a+28|0);Qc(a);return a|0}function HXa(a){a=a|0;var b=0,c=0,d=0,e=0;d=Qb-16|0;Qb=d;c=v[a>>2];b=v[c+320>>2];c=Eg(v[v[c+96>>2]+4>>2],239287);a:{if(!c|!b){break a}b=v[b>>2];if(!b){break a}c=Ub[b|0](c)|0;if(!c){break a}b=v[a>>2];e=Ub[v[c>>2]](v[b+100>>2],v[b+304>>2]+B(v[b+4>>2],252)|0,d+12|0)|0;if(e){break a}v[v[a+40>>2]>>2]=v[d+12>>2]}Qb=d+16|0;return e|0}function F0(a,b,c){var d=0;a:{if(v[a>>2]|c>>>0<34|(w[b|0]!=66|w[b+1|0]!=77)){break a}if(w[b+6|0]|w[b+7|0]|(w[b+27|0]|w[b+26|0]!=1)){break a}b:{switch(w[b+28|0]){case 0:case 1:case 4:case 8:case 16:case 24:case 32:break b;default:break a}}if(w[b+29|0]|w[b+30|0]>5|(w[b+31|0]|w[b+32|0])){break a}if(w[b+33|0]){break a}d=1}return d}function he(a){var b=0,c=0,d=0,e=0,f=0;while(1){b=a;a=b+1|0;c=t[b|0];if((c|0)==32|c-9>>>0<5){continue}break}a:{b:{c:{c=t[b|0];switch(c-43|0){case 0:break b;case 2:break c;default:break a}}e=1}c=t[a|0];b=a;f=e}if(c-48>>>0<10){while(1){d=(B(d,10)-t[b|0]|0)+48|0;a=t[b+1|0];b=b+1|0;if(a-48>>>0<10){continue}break}}return f?d:0-d|0}function gO(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=995984;fd(a+48|0);fd(a+24|0);b=v[a+20>>2];v[a+20>>2]=0;a:{if(!b){break a}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)!=1){if(c){break a}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}}W(0)|0;O()|0;lc();L()}ec(a+8|0);Qc(a);return a|0}function Ug(a,b,c){var d=0,e=0;d=c-1|0;a:{if(d>>>0>31|!(1<>2]=1;v[d+8>>2]=c;v[d+4>>2]=b;v[d>>2]=a;a=(B(a,c)+31|0)/32|0;v[d+12>>2]=a;a=Ub[v[259693]](B(a,b)<<2)|0;if(!a){break a}v[d+40>>2]=a;Gs(d);ic(v[d+40>>2],0,B(v[d+12>>2],v[d+4>>2])<<2);e=d}return e}function RP(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Fe(c);a:{e=b+8|0;b=e;b=v[v[b+12>>2]+((d>>>0)%y[b+8>>2]<<2)>>2];if(b){while(1){if(v[b+12>>2]==(d|0)){if(!Ri(b+16|0,c,-1)){break a}}b=v[b+8>>2];if(b){continue}break}}v[a>>2]=0;Wc(a,0);return}c=Xk(e,c);b=v[c+24>>2];if(!b){v[a>>2]=0;return}v[b+4>>2]=v[b+4>>2]+1;v[a>>2]=v[c+24>>2]}function R2a(a){a=a|0;var b=0,c=0,d=0,e=0;a:{if(!a){break a}b:{c:{c=v[a+128>>2];b=v[c+28>>2];switch(b+2|0){case 0:break a;case 2:break c;default:break b}}b=v[a+96>>2];d=v[v[b>>2]+32>>2];d:{if(!d){b=0;break d}b=Ub[d|0](b,280271)|0;c=v[a+128>>2]}v[c+28>>2]=b?b:-2}if(!b){break a}b=v[b>>2];if(!b){break a}e=Ub[b|0](a)|0}return e|0}function PU(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=Qb-16|0;Qb=c;a:{if(!a){break a}d=v[a+4>>2];b:{b=Ub[v[259704]](8)|0;if(b){v[b>>2]=0;v[b+4>>2]=0;if(d){f=b,g=we(d),v[f+4>>2]=g}a=v[a>>2];if(!a){break b}f=b,g=PU(a),v[f>>2]=g;e=b;break a}v[c>>2]=291415;oc(0,0,0,0,0,23,2,3,291415,0,0,0,350051,c);break a}v[b>>2]=0;e=b}Qb=c+16|0;return e}function Hba(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=Qb-16|0;Qb=d;a:{b:{c:{if((a|0)!=(b|0)){f=v[299402];v[299402]=0;pg();e=Kw(a,d+12|0);a=v[299402];if(!a){break c}if(v[d+12>>2]!=(b|0)){break b}g=e;if((a|0)!=68){break a}break b}v[c>>2]=4;break a}v[299402]=f;if(v[d+12>>2]==(b|0)){break a}}v[c>>2]=4;e=g}Qb=d+16|0;return+e}function Z5(a){a=a|0;var b=0,c=0,d=0,e=0;c=1;d=v[a+584>>2];if(!(t[d+4|0]&1)){b=12;e=a;if(t[d+28|0]&1){b=13;c=!v[d+92>>2]|2}Kk(e,c,b);Kk(a,c,b);Kk(a,c,b);Kk(a,c,b);Kk(a,c,b);Kk(a,c,b);if(v[a+608>>2]>=v[a+600>>2]){Ae(a)}d=d- -64|0;c=v[d>>2];b=v[a+604>>2];v[a+604>>2]=b+1;t[b|0]=c;v[a+608>>2]=v[a+608>>2]+1;v[d>>2]=0;v[d+4>>2]=8}}function SIa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=v[a+420>>2];if(v[a+236>>2]){d=v[c+68>>2];if(!d){Ju(a,v[c+72>>2]);d=v[a+236>>2];v[c+68>>2]=d;v[c+72>>2]=v[c+72>>2]+1&7}v[c+68>>2]=d-1}if(v[a+316>>2]>=1){d=c+204|0;e=v[a+372>>2];c=0;while(1){pe(a,d,u[v[(c<<2)+b>>2]>>1]>>>e&1);c=c+1|0;if((c|0)>2]){continue}break}}return 1}function S3(a){a=a|0;var b=0,c=0;b=v[a+24>>2];b=b?b-20|0:0;c=v[b+48>>2];c=Ub[v[v[c>>2]+12>>2]](c,v[b+52>>2],1,4096,0,0)|0;if(!c){if(w[b+56|0]){c=v[a>>2];v[c+20>>2]=43;Ub[v[c>>2]](a)}c=v[a>>2];v[c+20>>2]=123;Ub[v[c+4>>2]](a,-1);t[v[b+52>>2]]=255;t[v[b+52>>2]+1|0]=217;c=2}t[b+56|0]=0;v[b+24>>2]=c;v[b+20>>2]=v[b+52>>2];return 1}function JR(a){a=a|0;v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=0;v[a+60>>2]=0;v[a+64>>2]=0;v[a+56>>2]=1;v[a+16>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;v[a+40>>2]=0;v[a+44>>2]=0;v[a+48>>2]=0;v[a+52>>2]=0;v[a+68>>2]=0;v[a+72>>2]=0;v[a+76>>2]=0;v[a+80>>2]=0;v[a+84>>2]=0;v[a+88>>2]=0;v[a+92>>2]=0;return a|0}function E_(a,b){var c=0,d=0,e=0,f=0;d=Qb-16|0;Qb=d;v[b>>2]=0;a:{b:{c:{d:{c=v[a+8>>2];if(y[a+4>>2]<=c+1>>>0){break d}e=v[a+20>>2];e:{if(e){if((Ub[e|0](a,c,d+14|0,2)|0)!=2){break d}c=v[a+8>>2];b=d+14|0;break e}b=v[a>>2];if(!b){break c}b=b+c|0}f=w[b|0]|w[b+1|0]<<8;break b}v[b>>2]=85;break a}f=0}v[a+8>>2]=c+2}Qb=d+16|0;return f}function wxa(a){a=a|0;var b=0,c=0;b=v[a+8>>2];a:{b:{if(b){a=v[b+36>>2];if((a|0)>=v[b+28>>2]){if(!Fr(b)){return-1}a=v[b+36>>2]}v[b+36>>2]=a+1;a=v[b+32>>2]+a|0;break b}c=-1;if(v[a+16>>2]){break a}b=v[a+53312>>2];if((b|0)>=v[a+53308>>2]){if(!Zx(a)){break a}b=v[a+53312>>2]}v[a+53312>>2]=b+1;a=(a+b|0)+49208|0}c=w[a|0]}return c|0}function oo(a,b){var c=0,d=0;c=Ub[v[259704]](16)|0;if(c){a=(a|0)<1?256:a;v[c+4>>2]=a;v[c+8>>2]=0;v[c+12>>2]=0;d=B(a,24);a=Ub[v[259704]](d)|0;v[c>>2]=a;if(!a){Ub[v[259708]](c);return 0}ic(a,0,d);v[c+12>>2]=b;a:{if(!w[1176924]){a=jc(4);v[294232]=a;if(!a){break a}t[1176924]=1}if(!b){break a}v[b>>2]=v[b>>2]+1}}else{c=0}return c}function kO(a){var b=0,c=0,d=0,e=0;d=Qb-16|0;Qb=d;b=v[a+100>>2];c=1;a:{if((b|0)==-1){break a}e=v[a+60>>2];c=0;if(e>>>0>=0-b>>>0){break a}c=((b+e|0)-1>>>0)/(b>>>0)|0}b=c;b:{if(x[a+138>>1]!=2){break b}c=x[a+98>>1];b=Bib(c,0,b,0);e=Tb;if(!c|!e){break b}b=v[a>>2];a=v[a+628>>2];v[d>>2]=5151;zc(a,b,22641,d);b=0}Qb=d+16|0;return b}function _5(a){a=a|0;var b=0,c=0;b=v[a+584>>2];if(b){v[a+672>>2]=v[b+48>>2];v[a+668>>2]=v[b+52>>2];v[a+676>>2]=v[b+56>>2];c=v[b+80>>2];if(c){dc(c)}b=v[b+96>>2];if(b){dc(b)}b=v[a+584>>2];c=v[b+36>>2];if(c){dc(c);b=v[a+584>>2]}c=v[b+44>>2];if(c){dc(c);b=v[a+584>>2]}dc(b);v[a+584>>2]=0;pp(a);return}X(40584,7814,1092,86794);L()}function Ycb(a){a=a|0;var b=0,c=0,d=0,e=0;if(v[a+588>>2]>=1){d=v[a+644>>2];b=d;while(1){c=w[b|0]|w[b+1|0]<<8;t[d|0]=((c<<8|c>>>8)&65535)>>>8;c=w[b+2|0]|w[b+3|0]<<8;t[d+1|0]=((c<<8|c>>>8)&65535)>>>8;c=w[b+4|0]|w[b+5|0]<<8;t[d+2|0]=((c<<8|c>>>8)&65535)>>>8;b=b+6|0;d=d+3|0;e=e+1|0;if((e|0)>2]){continue}break}}return 0}function rHa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Qb-16|0;Qb=d;cs(d,888816,b);v[299999]=0;b=w[d+11|0];e=b<<24>>24<0;Y(2653,a|0,(e?v[d>>2]:d)|0,(e?v[d+4>>2]:b)|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){if(t[d+11|0]<=-1){dc(v[d>>2])}if(!c){lp(a,888824)}Qb=d+16|0;return}a=P()|0;O()|0;if(t[d+11|0]<=-1){dc(v[d>>2])}T(a|0);L()}function kz(a){a=a|0;var b=0,c=0,d=0;b=v[a+8>>2];c=v[a+12>>2];a:{if((b|0)==(c|0)){break a}while(1){d=v[b+12>>2];if(d){dc(d);v[b+12>>2]=0}b=b+20|0;if((c|0)!=(b|0)){continue}break}b=v[a+8>>2];c=v[a+12>>2];if((b|0)==(c|0)){break a}while(1){d=c-20|0;if(t[c-9|0]<=-1){dc(v[d>>2])}c=d;if((c|0)!=(b|0)){continue}break}}v[a+12>>2]=b}function jdb(a){a=a|0;var b=0,c=0,d=0,e=0;b=v[a+588>>2];if((b|0)>=1){c=v[a+644>>2];b=b-1|0;d=c+(b<<2)|0;b=c+(b<<3)|0;c=0;while(1){t[b+7|0]=0;e=w[d+3|0];t[b+5|0]=0;t[b+6|0]=e;e=w[d+2|0];t[b+3|0]=0;t[b+4|0]=e;e=w[d+1|0];t[b+1|0]=0;t[b+2|0]=e;t[b|0]=w[d|0];b=b-8|0;d=d-4|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function i7a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if(v[c>>2]!=1346458452){pc(a,2050,0,0);return 2050}u[b+32>>1]=x[c+32>>1];t[b+34|0]=w[c+34|0];v[b+36>>2]=v[c+36>>2];v[b+40>>2]=v[c+40>>2];d=v[c+44>>2];v[b+44>>2]=d;if(d){e=b;d=B(d,36);b=Ub[v[a+152>>2]](d)|0;v[e+48>>2]=b;if(!b){pc(a,1,0,0);return 1}gc(b,v[c+48>>2],d)}return 0}function Zka(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=985012;b=v[a+68>>2];v[a+68>>2]=0;a:{if(!b){break a}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)!=1){if(c){break a}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}}W(0)|0;O()|0;lc();L()}Lc(a+52|0);Lc(a+40|0);Lc(a+28|0);Qc(a);dc(a)}function UY(a,b,c){var d=0,e=0,f=0;e=Qb-16|0;Qb=e;d=Yc(a,0);a:{if(d){break a}f=Ed(a,e+12|0);d=v[e+12>>2];if(d){break a}b:{if((f+32767&65535)>>>0<2){pi(a,e+12|0);d=v[e+12>>2];if(d){break a}if((f|0)==32769){break b}}d=Yc(a,0);if(d){break a}}d=ne(a,c);if(d){break a}b=Pc(v[a+32>>2],b,c);Vd(a);d=((b|0)!=0)<<1}Qb=e+16|0;return d}function Iq(a,b){var c=0,d=0;c=-1;d=v[a+8>>2];a:{if(d&7){break a}c=v[a+64>>2];if(!((c|0)<0|(c|0)>v[a+60>>2])){v[a+8>>2]=d|4;return-1}c=-1;d=v[a+28>>2];v[a+28>>2]=d-1;b:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=a;a=v[a+24>>2];v[c+24>>2]=a+1;a=w[a|0];break b}a=Hc(a,1);if((a|0)==-1){break a}}c=0;if(!b){break a}t[b|0]=a}return c}function E4a(a){a=a|0;var b=0,c=0;a:{b=v[a+436>>2];b:{if(!b){if(!jI(a)){break b}b=v[a+436>>2]}c=v[v[a+460>>2]+20>>2];if((c+208|0)==(b|0)){b=v[a>>2];v[b+24>>2]=c;v[b+20>>2]=100;Ub[v[v[a>>2]+4>>2]](a,3);v[a+436>>2]=0;break a}if(Ub[v[v[a+24>>2]+20>>2]](a,c)|0){break a}}return 0}a=v[a+460>>2];v[a+20>>2]=v[a+20>>2]+1&7;return 1}function rcb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(v[a+2308>>2]){e=v[a+2300>>2];d=v[a+2312>>2];b=v[a+2316>>2];while(1){c=w[d|0];if(!((c|0)==x[e+836>>1]?w[e+56|0]:0)){t[b+3|0]=255}f=v[a+2296>>2];if(f){c=Ub[f|0](c&255)|0}t[b+2|0]=c;t[b+1|0]=c;t[b|0]=c;b=b+4|0;d=d+1|0;g=g+1|0;if(g>>>0>2]){continue}break}}return 0}function eB(a,b){var c=0,d=0,e=0;if(b>>>0<=31){a:{if(!b){break a}while(1){b:{if(t[a+16|0]&1){c=v[a+8>>2];e=c-1|0;v[a+8>>2]=e;if((c|0)>=1){c=v[a+4>>2]>>>e&1;break b}c=Wf(a);if((c|0)>=0){break b}d=-1;break a}X(21334,18822,203,189273);L()}d=d<<1|c;c=(b|0)>1;b=b-1|0;if(c){continue}break}}return d}X(25793,18822,198,189273);L()}function Zn(a){var b=0;b=v[a+28>>2]-1|0;v[a+28>>2]=b;a:{if(!b){b=v[a>>2];if(b){dc(Dc(b))}b:{if(v[a+4>>2]){break b}b=v[a+12>>2];if(!b){break b}v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a+20>>2];if(b){v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}}dc(a)}return}W(0)|0;O()|0;lc();L()}function Wta(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=v[a+44>>2];c=v[a+24>>2];if(d>>>0>>0){v[a+44>>2]=c;d=c}c=v[a+12>>2];e=-1;a:{if(c>>>0<=y[a+8>>2]){break a}if((b|0)==-1){v[a+16>>2]=d;v[a+12>>2]=c-4;return 0}if(!(w[a+48|0]&16)){e=-1;if(v[c-4>>2]!=(b|0)){break a}}v[a+16>>2]=d;d=a;a=c-4|0;v[d+12>>2]=a;v[a>>2]=b;e=b}return e|0}function W5(a,b){a=a|0;b=b|0;var c=0,d=C(0),e=0;b=v[a+584>>2];if(b){v[b+92>>2]=0;v[b+64>>2]=0;v[b+68>>2]=8;c=v[b+96>>2];if(c){eg(c,0,v[b+8>>2])}c=0;if(t[b+28|0]&1){d=z[a+132>>2];e=(x[a+136>>1]==3?C(d*C(2.5399999618530273)):d)>C(150)?4:2;c=e-1|0}v[b+108>>2]=0;v[b+100>>2]=c;v[b+104>>2]=e;return 1}X(58391,7814,710,86157);L()}function LK(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=jc(40);v[d>>2]=0;d=Ue(a+4|0,1,d,4);g=O()|0;a=0;a:{while(1){if(a){break a}v[299999]=0;Y(32,b|0,c|0,1)|0;a=v[299999];v[299999]=0;e=-1;b:{if(!a){break b}f=v[3e5];if(!f){break b}e=sc(v[a>>2],d,g);if(!e){dc(d);sd(a,f);L()}_(f|0)}a=O()|0;if((e|0)==1){continue}break}h=1}dc(d);return h}function $ea(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=995984;fd(a+48|0);fd(a+24|0);b=v[a+20>>2];v[a+20>>2]=0;a:{if(!b){break a}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)!=1){if(c){break a}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}}W(0)|0;O()|0;lc();L()}ec(a+8|0);Qc(a);dc(a)}function zy(a,b,c,d,e,f){var g=0;g=Qb-32|0;Qb=g;a:{if(a){if(v[a+172>>2]==-1?v[a+212>>2]:0){break a}v[a+84>>2]=b;v[g+24>>2]=f;v[g+20>>2]=e;v[g+16>>2]=d;oc(0,0,0,a,0,1,b,3,d,f,0,e,c,g+16|0);v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1;break a}v[g+8>>2]=f;v[g+4>>2]=e;v[g>>2]=d;oc(0,0,0,0,0,1,b,3,d,f,0,e,c,g)}Qb=g+32|0}function reb(a){a=a|0;var b=0,c=0,d=0,e=0;b=v[a+2556>>2];e=a;if(v[a+588>>2]>=1){c=v[a+540>>2];b=(v[c+1176>>2]+B(b,v[c+1168>>2])|0)+1|0;c=v[a+2524>>2];while(1){t[b|0]=w[c|0];c=c+1|0;b=b+2|0;d=d+1|0;if((d|0)>2]){continue}break}b=v[a+2556>>2]}v[e+2556>>2]=b+1;a:{if(v[a+968>>2]){b=Wj(a);if(b){break a}}b=0}return b|0}function qeb(a){a=a|0;var b=0,c=0,d=0,e=0;b=v[a+2556>>2];e=a;if(v[a+588>>2]>=1){c=v[a+540>>2];b=(v[c+1176>>2]+B(b,v[c+1168>>2])|0)+3|0;c=v[a+2524>>2];while(1){t[b|0]=w[c|0];c=c+1|0;b=b+4|0;d=d+1|0;if((d|0)>2]){continue}break}b=v[a+2556>>2]}v[e+2556>>2]=b+1;a:{if(v[a+968>>2]){b=Wj(a);if(b){break a}}b=0}return b|0}function m$a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=a+10|0;if(c>>>0>y[b+160>>2]){Sd(b,8)}d=w[a+3|0]|w[a+2|0]<<8;e=y[b+160>>2]>=d+a>>>0;a=w[a+9|0]|w[a+8|0]<<8;if(!(e&(a<<1)+10>>>0<=d>>>0)){Sd(b,8)}if(!(!a|v[b+164>>2]<1)){while(1){if(y[b+172>>2]<=(w[c+1|0]|w[c|0]<<8)>>>0){Sd(b,16)}c=c+2|0;a=a-1|0;if(a){continue}break}}return 0}function S1a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=6;e=v[a+280>>2];a:{if((e|0)<1){break a}f=v[a+284>>2];a=0;while(1){b:{h=a;g=mc(v[B(a,12)+f>>2],b);a=a+1|0;if((e|0)<=(a|0)){break b}if(g){continue}}break}if(g){break a}a=B(h,12)+f|0;c:{if(w[a+4|0]){v[c>>2]=1;break c}v[c>>2]=2}v[c+4>>2]=v[a+8>>2];d=0}return d|0}function CS(a,b,c,d,e){A[b>>3]=A[a+568>>3]*(A[a+496>>3]*(A[a+504>>3]*A[a+16>>3]+A[a+512>>3]*A[a+32>>3]));A[c>>3]=A[a+568>>3]*(A[a+496>>3]*(A[a+504>>3]*A[a+24>>3]+A[a+512>>3]*A[a+40>>3]));A[d>>3]=A[a+496>>3]*(A[a+520>>3]*A[a+16>>3]+A[a+528>>3]*A[a+32>>3]);A[e>>3]=A[a+496>>3]*(A[a+520>>3]*A[a+24>>3]+A[a+528>>3]*A[a+40>>3])}function xu(a){var b=0,c=0,d=0;a:{if(!a){break a}b=v[a>>2];if(!(!b|v[b+108>>2]!=-554844497|!(v[b+120>>2]?1:v[b+116>>2]))){v[a+324>>2]=1}c=a,d=Rd(v[a+296>>2],258814,3),v[c+312>>2]=d;c=a,d=Rd(v[a+296>>2],235579,5),v[c+316>>2]=d;b=Rd(v[a+296>>2],286150,36);v[a+320>>2]=b;if(!(b?!v[a+312>>2]|!v[a+316>>2]:1)){break a}Qd(a,0)}}function mfa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Qb-32|0;Qb=d;a:{e=Ci(a,0,262142,a+152|0);a=Ci(a,0,262142,a+156|0);if(!(e>>>0<=65535&a>>>0<65536)){a=vc(d+8|0,240130,242139,790,338383,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}b=P()|0;O()|0;qc(a);T(b|0);L()}Gt(b,a,e,c);Qb=d+32|0;return}L()}function eYa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=v[a+532>>2];if(!c){return 6}e=v[c+4>>2];v[b>>2]=e;v[b+4>>2]=v[c>>2];if(e){a=0;while(1){d=B(a,12);f=d+b|0;v[f+8>>2]=v[((a<<2)+c|0)+8>>2];d=c+d|0;g=v[d+92>>2];v[f+12>>2]=v[g>>2];v[f+16>>2]=v[((w[d+88|0]<<2)+g|0)-4>>2];a=a+1|0;if((e|0)!=(a|0)){continue}break}}return 0}function cr(a,b){var c=0,d=0,e=0;c=Qb-32|0;Qb=c;v[c+24>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c+4>>2]=c+8;d=v[a+664>>2];a:{if(!(!d|v[d>>2]!=(b|0))){break a}d=0;e=v[a+656>>2];if(!e){break a}v[c+16>>2]=0;v[c+8>>2]=b;b=a;a=NC(c+4|0,e,v[a+660>>2]);if(a){d=v[a>>2]}else{d=0}v[b+664>>2]=d}Qb=c+32|0;return d}function bla(a,b){a=a|0;b=b|0;var c=0;if((b|0)>=1){while(1){v[a+8>>2]=1;v[a+12>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;v[a+32>>2]=0;c=a+36|0;v[c>>2]=0;v[c+4>>2]=0;v[a+44>>2]=0;v[a+48>>2]=0;v[c>>2]=984984;v[c+4>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[a+52>>2]=0;a=a+56|0;c=(b|0)>1;b=b-1|0;if(c){continue}break}}}function Qs(a){a=a|0;var b=0;v[a>>2]=54336;b=v[a+1028>>2];if(b){dc(b)}b=v[a+1060>>2];if(b){dc(b)}b=v[a+1064>>2];if(b){dc(b)}b=v[a+1068>>2];if(b){dc(b)}b=v[a+1072>>2];if(b){dc(b)}b=v[a+1076>>2];if(b){dc(b)}b=v[a+1052>>2];if(b){dc(b)}b=v[a+1112>>2];if(b){dc(b)}b=v[a+1116>>2];if(b){dc(b)}v[a>>2]=1032;_g(a);Jg(a);return a|0}function HK(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=jc(40);v[c>>2]=0;c=Ue(a+624|0,1,c,4);g=O()|0;a:{while(1){if(d){break a}v[299999]=0;U(45,a|0,b|0,0);d=v[299999];v[299999]=0;e=-1;b:{if(!d){break b}f=v[3e5];if(!f){break b}e=sc(v[d>>2],c,g);if(!e){dc(c);sd(d,f);L()}_(f|0)}d=O()|0;if((e|0)==1){continue}break}h=1}dc(c);return h}function Gd(a,b,c,d,e,f,g){var h=0;h=e;d=(d|0)<255?d:255;e=((d|0)>0?d:0)<<2;b=v[a+20>>2]+((b>>>0<255?b:255)<<2)|0;d=v[a>>2];v[h>>2]=w[(v[e+v[a+4>>2]>>2]+v[b>>2]|0)+d|0];c=(c|0)<255?c:255;c=((c|0)>0?c:0)<<2;v[f>>2]=w[d+(v[b>>2]+(v[e+v[a+12>>2]>>2]+v[c+v[a+16>>2]>>2]>>16)|0)|0];v[g>>2]=w[d+(v[c+v[a+8>>2]>>2]+v[b>>2]|0)|0]}function j8a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;f=v[a+428>>2]+8|0;g=v[b+32>>2];if(g){e=v[b+36>>2];d=f;while(1){c=v[e>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d|0]=c;t[d+1|0]=c>>>8;t[d+2|0]=c>>>16;t[d+3|0]=c>>>24;d=d+4|0;e=e+4|0;h=h+1|0;if(h>>>0>2]){continue}break}}return _d(a,v[b>>2],g<<2,f)|0}function cDa(a,b,c){a=a|0;b=b|0;c=c|0;c=v[a+28>>2];v[c+664>>2]=1;a=v[a+8>>2];Ub[v[v[a>>2]+304>>2]](a,c,v[b>>2]==1?+v[b+8>>2]:A[b+8>>3],v[b+16>>2]==1?+v[b+24>>2]:A[b+24>>3],v[b+32>>2]==1?+v[b+40>>2]:A[b+40>>3],v[b+48>>2]==1?+v[b+56>>2]:A[b+56>>3],v[b+64>>2]==1?+v[b+72>>2]:A[b+72>>3],v[b+80>>2]==1?+v[b+88>>2]:A[b+88>>3])}function Ueb(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,h=0;f=0;a:{if(!b){break a}h=v[a+4>>2];if(!h){break a}e=v[a+16>>2];g=v[a+8>>2];if((e|0)>=(g|0)){t[a+24|0]=1;return 0}d=B(c,d);if(!d){break a}f=e+h|0;if((d+e|0)>(g|0)){t[a+24|0]=1;d=g-e|0}gc(b,f,d);v[a+16>>2]=v[a+16>>2]+d;f=(d>>>0)/(c>>>0)|0}return f|0}function Ceb(a){a=a|0;var b=0,c=0,d=0;if(v[a+588>>2]>=1){b=v[a+540>>2];b=(v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0;c=v[a+636>>2]+v[a+616>>2]|0;while(1){t[b|0]=w[c|0];t[b+1|0]=w[c+1|0];t[b+2|0]=w[c+2|0];c=c+3|0;b=B(v[a+584>>2],3)+b|0;d=d+1|0;if((d|0)>2]){continue}break}}return 0}function BJ(a){var b=0,c=0;c=2;b=v[a>>2];if(!(!b|v[b>>2]!=1381173770)){CJ(b);ZA(b,v[b+528>>2]);a:{if(!w[b+2420|0]){break a}t[b+2420|0]=0;c=tk(b+2340|0);if(!c){break a}pc(b,5,c,0)}if(w[b+2421|0]){b:{c=_m(b+2340|0);if(c){pc(b,5,c,0);break b}t[b+2421|0]=0}}v[b>>2]=0;b=v[a>>2];Ub[v[b+156>>2]](b,3752);v[a>>2]=0;c=0}return c}function yB(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=jc(40);v[c>>2]=0;c=Ue(a+624|0,1,c,4);g=O()|0;a:{while(1){if(d){break a}v[299999]=0;V(44,a|0,b|0);d=v[299999];v[299999]=0;e=-1;b:{if(!d){break b}f=v[3e5];if(!f){break b}e=sc(v[d>>2],c,g);if(!e){dc(c);sd(d,f);L()}_(f|0)}d=O()|0;if((e|0)==1){continue}break}h=1}dc(c);return h}function t4(a){a=a|0;var b=0,c=0,d=0;c=Qb-16|0;Qb=c;b=v[a+584>>2];if(b){if(t[b+124|0]&1){tk(b- -64|0);v[b+124>>2]=0}a:{if(NV(b- -64|0,v[b+120>>2],23545)){d=v[a+628>>2];a=v[a>>2];v[c+4>>2]=v[b+88>>2];v[c>>2]=a;zc(d,88439,24867,c);a=0;break a}v[b+124>>2]=v[b+124>>2]|2;a=1}Qb=c+16|0;return a|0}X(21265,6646,174,88439);L()}function lH(a,b){var c=0,d=0;c=Yc(b,v[a>>2]);a:{if(c){break a}c=me(b,455072,a+4|0);if(c){break a}c=2;d=x[a+4>>1];if((d|256)!=768|y[a+8>>2]<((d|0)==768?148:118)>>>0){break a}if((d|0)==512){v[a+140>>2]=0;v[a+132>>2]=0;v[a+136>>2]=0}if(t[a+72|0]&1){break a}c=Yc(b,v[a>>2]);if(c){break a}c=Xh(b,v[a+8>>2],a+160|0)}return c}function Xd(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=v[v[a>>2]>>2];a:{b:{c:{d:{if(!b){if(d){e=v[a+4>>2];d=b>>>0>e>>>0?e:b;e=0;break d}v[a+4>>2]=0;return}f=v[a+4>>2];e=fc(B(b,c));if(!d){break c}d=b>>>0>f>>>0?f:b}d=B(c,d);if(d){break b}}c=v[a>>2];break a}c=v[a>>2];gc(e,v[c>>2],d)}d=v[c>>2];v[c>>2]=e;v[a+4>>2]=b;dc(d)}function Oaa(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,h=0;g=Qb-32|0;Qb=g;h=v[254075];v[g+24>>2]=v[254074];v[g+28>>2]=h;h=v[254073];v[g+16>>2]=v[254072];v[g+20>>2]=h;h=v[254071];v[g+8>>2]=v[254070];v[g+12>>2]=h;h=v[254069];v[g>>2]=v[254068];v[g+4>>2]=h;h=a;a=g+32|0;b=Gm(h,b,c,d,e,f,g,a);Qb=a;return b|0}function uF(a,b,c){var d=0;d=Qb-32|0;Qb=d;a:{if(a){if(v[a+172>>2]==-1?v[a+212>>2]:0){break a}v[a+84>>2]=42}b:{if(!b){v[d>>2]=c;oc(0,0,0,a,0,1,42,3,c,0,0,0,353837,d);break b}v[d+20>>2]=c;v[d+16>>2]=b;oc(0,0,0,a,0,1,42,3,b,c,0,0,353780,d+16|0)}if(!a){break a}v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1}Qb=d+32|0}function nZ(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;h=Qb-16|0;Qb=h;v[h+12>>2]=0;g=10;j=v[c>>2];k=j+e|0;a:{if(k>>>0>31457280){break a}i=v[a>>2];g=v[b>>2];if(g>>>0>>0){i=Cc(f,1,g,k,i,h+12|0);g=v[h+12>>2];if(g){break a}v[b>>2]=v[c>>2]+e;j=v[c>>2]}gc(i+j|0,d,e);v[c>>2]=v[c>>2]+e;v[a>>2]=i;g=v[h+12>>2]}Qb=h+16|0;return g}function n1a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=Qb-16|0;Qb=b;Rg(a,v[a+8>>2]);e=v[a+8>>2];d=v[a>>2];v[b+12>>2]=d;f=qm(b+12|0,e,10);c=v[b+12>>2];a:{if((d|0)==(c|0)){break a}if(!(w[c|0]!=35|c>>>0>=e>>>0)){d=c+1|0;v[b+12>>2]=d;f=qm(b+12|0,e,f);c=v[b+12>>2];if((d|0)==(c|0)){break a}}v[a>>2]=c;g=f}Qb=b+16|0;return g|0}function ii(a){var b=0,c=0,d=0;a:{if(v[a+8>>2]==13){break a}c=a+8|0;while(1){b=v[a+16>>2];if((Ub[v[v[b>>2]+28>>2]](b)|0)!=-1){break a}b=v[a+16>>2];Ub[v[v[b>>2]+24>>2]](b);hc(c);b=v[a+4>>2]+1|0;v[a+4>>2]=b;d=v[a>>2];if((b|0)>2]){yc(d,b,c,0);b=v[a+16>>2];Ub[v[v[b>>2]+20>>2]](b)}if(v[c>>2]!=13){continue}break}}}function gXa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;b=v[a+316>>2];if((b|0)>=1){g=v[d>>2];while(1){d=v[a+112>>2];if((d|0)>=1){e=f<<2;b=v[e+g>>2];h=d+b|0;d=v[c+e>>2];while(1){e=w[d|0];t[b+1|0]=e;t[b|0]=e;d=d+1|0;b=b+2|0;if(h>>>0>b>>>0){continue}break}b=v[a+316>>2]}f=f+1|0;if((f|0)<(b|0)){continue}break}}}function yH(a,b,c){var d=0,e=0,f=0,g=0;f=6;d=v[b>>2];a:{if(d+5>>>0>c>>>0){break a}e=v[a+12>>2];u[e>>1]=w[d|0];u[e+2>>1]=w[d+1|0];u[e+4>>1]=t[d+2|0];u[e+6>>1]=t[d+3|0];u[e+8>>1]=w[d+4|0];g=c;c=d+8|0;if(g>>>0>>0){break a}u[e+10>>1]=t[d+5|0];u[e+12>>1]=t[d+6|0];u[e+14>>1]=w[d+7|0];t[a+16|0]=1;v[b>>2]=c;f=0}return f}function xcb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(v[a+2308>>2]){e=v[a+2300>>2];d=v[a+2312>>2];b=v[a+2316>>2];while(1){c=w[d|0];if(!((c|0)==x[e+836>>1]?w[e+56|0]:0)){t[b+2|0]=255;t[b+3|0]=255}c=Ub[v[a+2296>>2]](c)|0;t[b+1|0]=(c|0)!=0;t[b|0]=c>>>8;b=b+4|0;d=d+1|0;f=f+1|0;if(f>>>0>2]){continue}break}}return 0}function kya(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[a+32>>2];if((c|0)>=v[a+16>>2]){if(!TR(a)){return 0}v[a+32>>2]=0;c=0}if(v[a+8>>2]>=1){d=1;v[a+32>>2]=c+1;t[b|0]=w[v[a+28>>2]+c|0];if(v[a+8>>2]<2){return 1}while(1){c=v[a+32>>2];v[a+32>>2]=c+1;t[b+d|0]=w[c+v[a+28>>2]|0];d=d+1|0;if((d|0)>2]){continue}break}}return 1}function dD(a,b,c){var d=0;d=fc(28);v[d+12>>2]=0;v[d+8>>2]=b;v[d>>2]=996324;v[d+4>>2]=0;v[299999]=0;Z(4407,d+20|0,d+16|0,0,1)|0;b=v[299999];v[299999]=0;if((b|0)==1){a=P()|0;O()|0;Qc(d);dc(d);T(a|0);L()}v[a>>2]=0;Wc(a,d);v[299999]=0;V(5348,d|0,c|0);b=v[299999];v[299999]=0;if((b|0)==1){b=P()|0;O()|0;ec(a);T(b|0);L()}}function Yh(a,b){var c=0,d=0,e=0;c=Qb-16|0;Qb=c;v[c+8>>2]=a;e=v[b+20>>2];a=e+((Ub[v[b+12>>2]](c+8|0)>>>0)%y[b+4>>2]<<2)|0;d=v[a>>2];a:{if(!d){break a}while(1){if(Ub[v[b+16>>2]](d,c+8|0)|0){break a}a=a-4|0;if(e>>>0>a>>>0){a=((v[b+4>>2]<<2)+e|0)-4|0}d=v[a>>2];if(d){continue}break}}Qb=c+16|0;a=v[a>>2];return a?a+4|0:0}function UW(a,b){a=a|0;b=+b;var c=0,d=0,e=0;v[a+296>>2]=0;A[a+272>>3]=b;v[a+288>>2]=0;v[a+292>>2]=0;a:{if(b<0|b>0){e=v[a+264>>2];b=D(b);while(1){d=A[(c<<3)+a>>3];if(!(d>2]=0;v[a+292>>2]=0;c=c+1|0;v[a+296>>2]=c;b=b-d;if(c>>>0>=e>>>0){v[a+296>>2]=0;c=0}if(b>0){continue}break}}return}A[a+288>>3]=b}function Qc(a){a=a|0;var b=0;b=Qb-32|0;Qb=b;v[a>>2]=990364;if(v[a+4>>2]>=1){v[299999]=0;a=aa(4369,b+8|0,234277,241304,95,342348,0)|0;b=v[299999];v[299999]=0;a:{if((b|0)!=1){v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}L()}W(0)|0;O()|0;lc();L()}W(0)|0;O()|0;qc(a);lc();L()}Qb=b+32|0;return a|0}function LC(a,b,c,d){var e=0,f=0,g=0,h=0;e=Qb-160|0;Qb=e;f=e+16|0;ic(f,0,144);v[e+92>>2]=-1;v[e+60>>2]=b;v[e+24>>2]=-1;v[e+20>>2]=b;Bj(f,0,0);PC(e,f,d,1);d=v[e+8>>2];f=v[e+12>>2];g=v[e>>2];h=v[e+4>>2];if(c){v[c>>2]=((v[e+20>>2]+v[e+136>>2]|0)-v[e+24>>2]|0)+b}v[a>>2]=g;v[a+4>>2]=h;v[a+8>>2]=d;v[a+12>>2]=f;Qb=e+160|0}function J4a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;d=Fv(b,c);a:{if(d){break a}a=v[b+24>>2];if((a|0)<1){break a}b=v[b+28>>2];f=b+B(a,40)|0;a=v[c+4>>2];c=v[c+8>>2];while(1){v[a>>2]=v[b+16>>2];v[a+4>>2]=v[b+20>>2];e=x[b>>1];t[c|0]=e&1?0:e&2?2:1;c=c+1|0;a=a+8|0;b=b+40|0;if(f>>>0>b>>>0){continue}break}}return d|0}function Dta(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Qb-32|0;Qb=d;b=Yk(d,b);v[299999]=0;c=Yk(d+12|0,c);e=v[299999];v[299999]=0;a:{if((e|0)==1){a=P()|0;O()|0;break a}v[299999]=0;$(4283,d+24|0,a+24|0,b|0,d|0);a=v[299999];v[299999]=0;if((a|0)==1){a=P()|0;O()|0;xc(c);break a}xc(c);xc(b);Qb=d+32|0;return}xc(b);T(a|0);L()}function AT(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=Qb-16|0;Qb=e;d=v[a+80>>2];a:{if(d&2|(d&4?0:c)|!(d&32?c:1)){break a}if(f=0,g=ay(v[v[a>>2]+36>>2],a+88|0,e+12|0),h=v[e+12>>2],h?f:g){break a}d=a+24|0;c=v[a+16>>2];if(c){c=Ad(c,262598);c=c?0:v[a+84>>2]}else{c=0}QE(b,d,c,A[a+48>>3],A[a+56>>3],A[a+64>>3],A[a+72>>3])}Qb=e+16|0}function yga(a){a=a|0;var b=0;v[a>>2]=991160;b=v[a+56>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}b=v[a+60>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}b=v[a+64>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}v[a+64>>2]=0;v[a+56>>2]=0;v[a+60>>2]=0;v[299999]=0;R(5251,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){yt(a);return a|0}W(0)|0;O()|0;yt(a);lc();L()}function dS(a){var b=0,c=0,d=0;a:{b=v[a+4>>2];if((b|0)>=1){while(1){d=v[v[a>>2]+(c<<3)>>2];if(d){v[299999]=0;uc(d);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+4>>2]}c=c+1|0;if((b|0)>(c|0)){continue}break}}b=v[a>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}return a}W(0)|0;O()|0;lc();L()}function bS(a,b){var c=0,d=0,e=0,f=0;d=w[b|0];if(d){c=b;while(1){f=B(f,17)+(d&255)|0;d=w[c+1|0];c=c+1|0;if(d){continue}break}}e=v[a>>2];a=v[a+4>>2];d=(f>>>0)%(a>>>0)|0;c=v[e+(d<<3)>>2];if(c){while(1){if(!mc(c,b)){return v[((d<<3)+e|0)+4>>2]}c=d+1|0;d=(a|0)==(c|0)?0:c;c=v[(d<<3)+e>>2];if(c){continue}break}}return 0}function X_(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;e=d>>31;e=e+d^e;f=c>>31;f=f+c^f;i=e>>>0>>0;g=b>>31;g=g+b^g;h=a>>31;h=h+a^h;j=g>>>0>>0;d=b+d|0;b=d>>31;c=a+c|0;a=c>>31;b=b^b+d;a=a^a+c;c=b>>>0>>0;a=(B(c?b:a,3)>>>3|0)+(c?a:b)|0;return(((B(i?e:f,3)>>>3|0)+(i?f:e)+((B(j?g:h,3)>>>3|0)+(j?h:g))|0)-a|0)<(a>>>4|0)}function ND(a){a=a|0;var b=0,c=0;b=Qb-48|0;Qb=b;c=v[a+28>>2];if(c){A[b+40>>3]=A[v[a>>2]>>3];A[b+32>>3]=A[v[a>>2]+8>>3];A[b+24>>3]=A[v[a>>2]+16>>3];A[b+16>>3]=A[v[a>>2]+24>>3];A[b+8>>3]=A[v[a>>2]+32>>3]*25.4/96;A[b>>3]=A[v[a>>2]+40>>3]*25.4/96;Ub[v[v[c>>2]+372>>2]](c,b+40|0,b+32|0,b+24|0,b+16|0,b+8|0,b)|0}Qb=b+48|0}function GK(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=jc(40);v[b>>2]=0;b=Ue(a+624|0,1,b,4);f=O()|0;a:{while(1){if(c){break a}v[299999]=0;V(48,a|0,0);c=v[299999];v[299999]=0;d=-1;b:{if(!c){break b}e=v[3e5];if(!e){break b}d=sc(v[c>>2],b,f);if(!d){dc(b);sd(c,e);L()}_(e|0)}c=O()|0;if((d|0)==1){continue}break}g=1}dc(b);return g}function Bka(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if(b){e=y[b+12>>2]%y[a+8>>2]|0;c=v[b>>2];if(c){v[c+4>>2]=v[b+4>>2]}d=v[b+4>>2];v[(d?d:a+24|0)>>2]=c;c=v[a+12>>2]+(e<<2)|0;a:{if(v[c>>2]==(b|0)){v[c>>2]=v[b+8>>2];break a}c=v[b>>2];if(!c){break a}v[c+8>>2]=v[b+8>>2]}Ub[v[v[a>>2]+16>>2]](b,1);dc(b);v[a+4>>2]=v[a+4>>2]-1}}function zV(a){var b=0,c=0,d=0;a:{b=v[a+8>>2];d=v[a+4>>2];if((b|0)!=(d|0)){while(1){b=b-4|0;v[a+8>>2]=b;c=v[b>>2];v[b>>2]=0;if(c){b=v[v[c>>2]+12>>2];v[299999]=0;S(b|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+8>>2]}if((b|0)!=(d|0)){continue}break}}a=v[a>>2];if(a){dc(a)}return}W(0)|0;O()|0;lc();L()}function dW(a){var b=0;b=0;a:{if(a-v[215604]>>>0<128){break a}b=1;if(a-v[215605]>>>0<=127){break a}b=2;if(a-v[215606]>>>0<128){break a}b=3;if(a-v[215607]>>>0<128){break a}b=4;if(a-v[215608]>>>0<128){break a}b=5;if(a-v[215609]>>>0<128){break a}b=6;if(a-v[215610]>>>0<128){break a}b=a-v[215611]>>>0<128?7:-1}return b}function bna(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=Qb-16|0;Qb=d;a=fk(d+8|0,280961);v[299999]=0;e=Y(4541,a|0,b|0,-1)|0;f=v[299999];v[299999]=0;c=1;a:{if((f|0)==1){break a}if(e){v[299999]=0;b=Nc(b,227243,-1);c=v[299999];v[299999]=0;if((c|0)==1){break a}c=!b}ec(a);Qb=d+16|0;return c|0}b=P()|0;O()|0;ec(a);T(b|0);L()}function Una(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=Qb-16|0;Qb=d;a=fk(d+8|0,228851);v[299999]=0;e=Y(4541,a|0,b|0,-1)|0;f=v[299999];v[299999]=0;c=1;a:{if((f|0)==1){break a}if(e){v[299999]=0;b=Nc(b,227243,-1);c=v[299999];v[299999]=0;if((c|0)==1){break a}c=!b}ec(a);Qb=d+16|0;return c|0}b=P()|0;O()|0;ec(a);T(b|0);L()}function Si(a,b){a=a|0;b=b|0;var c=0,d=0;c=(b&252)+1197280|0;bD(c);d=v[b>>2];if(d){v[d+4>>2]=v[d+4>>2]+1}v[c>>2]=0;c=(a&252)+1197280|0;bD(c);b=v[a>>2];v[a>>2]=d;v[c>>2]=0;a:{if(!b){break a}d=b+4|0;c=v[d>>2]-1|0;v[d>>2]=c;if(c){break a}c=v[d>>2];if(!c){v[d>>2]=-32767}if(c){break a}Ub[v[v[b>>2]+4>>2]](b)}return a|0}function NO(a,b){a=a|0;b=b|0;var c=0;c=Qb-32|0;Qb=c;a:{if(b-2>>>0>=255){a=vc(c+8|0,235780,241521,482,336566,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}b=P()|0;O()|0;qc(a);T(b|0);L()}u[a+16>>1]=b;b:{if(v[a+20>>2]|(b|0)<3){break b}b=v[a+36>>2];if(!b){break b}Nm(a,b)}Qb=c+32|0;return}L()}function Hq(a,b){var c=0,d=0;c=v[a+8>>2];a:{b:{if(c&7){break b}d=v[a+64>>2];if(!((d|0)<0|v[a+60>>2]<(d|0))){v[a+8>>2]=c|4;break b}v[a+4>>2]=v[a+4>>2]|32;c=v[a+28>>2];v[a+28>>2]=c-1;if((c|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=a;a=v[a+24>>2];v[c+24>>2]=a+1;t[a|0]=b;return 0}c=0;if((Fc(a,b)|0)!=-1){break a}}c=-1}return c}function qj(a){var b=0,c=0,d=0,e=0;a:{d=v[a>>2];if(d){b=v[a+4>>2];if((b|0)==(d|0)){c=d}else{while(1){b=b-4|0;e=v[b>>2];v[b>>2]=0;if(e){c=v[v[e>>2]+12>>2];v[299999]=0;S(c|0,e|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}}if((d|0)!=(b|0)){continue}break}c=v[a>>2]}v[a+4>>2]=d;dc(c)}return}W(0)|0;O()|0;lc();L()}function nR(a){a=a|0;var b=0,c=0;while(1){v[(c<<2)+a>>2]=c;b=c|1;v[(b<<2)+a>>2]=b;b=c|2;v[(b<<2)+a>>2]=b;b=c|3;v[(b<<2)+a>>2]=b;b=c|4;v[(b<<2)+a>>2]=b;b=c|5;v[(b<<2)+a>>2]=b;b=c|6;v[(b<<2)+a>>2]=b;b=c|7;v[(b<<2)+a>>2]=b;c=c+8|0;if((c|0)!=256){continue}break}v[a+1032>>2]=0;v[a+1024>>2]=0;v[a+1028>>2]=0;return a|0}function ff(a,b){var c=0,d=0;if(v[b+76>>2]<0){a:{d=a&255;if((d|0)==t[b+75|0]){break a}c=v[b+20>>2];if(c>>>0>=y[b+16>>2]){break a}v[b+20>>2]=c+1;t[c|0]=a;return d}return jw(b,a)}b:{c:{c=a&255;if((c|0)==t[b+75|0]){break c}d=v[b+20>>2];if(d>>>0>=y[b+16>>2]){break c}v[b+20>>2]=d+1;t[d|0]=a;break b}c=jw(b,a)}return c}function _n(a,b,c){var d=0,e=0;e=b-1|0;a:{if(w[a+402|0]==8){b:{if(e>>>0>253){break b}d=H(de(+(b>>>0)/255,+(c|0)*1e-5)*255+.5);if(d<4294967296&d>=0){b=~~d>>>0;break b}b=0}b=b&255;break a}if(e>>>0>65533){break a}d=H(de(+(b>>>0)/65535,+(c|0)*1e-5)*65535+.5);if(d<4294967296&d>=0){b=~~d>>>0;break a}b=0}return b&65535}function K6a(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1296123726){pc(a,2050,0,0);return 2050}u[b+32>>1]=x[c+32>>1];u[b+34>>1]=x[c+34>>1];t[b+36|0]=w[c+36|0];u[b+38>>1]=x[c+38>>1];u[b+40>>1]=x[c+40>>1];u[b+42>>1]=x[c+42>>1];u[b+44>>1]=x[c+44>>1];u[b+46>>1]=x[c+46>>1];u[b+48>>1]=x[c+48>>1];t[b+50|0]=w[c+50|0];return 0}function Jgb(a){a=a|0;var b=0,c=0;if(v[a+4>>2]==16){c=v[v[a+44>>2]+88>>2]+B(v[a+8>>2],1876)|0}else{c=v[a+36>>2]}b=v[v[a+40>>2]+16>>2];a=v[a+52>>2];Ub[v[v[a>>2]+20>>2]](a,2)|0;b=Ub[v[v[a>>2]+20>>2]](a,(b|0)<257?1:2)|0;Ub[v[v[a>>2]+20>>2]](a,1)|0;a=Ub[v[v[a>>2]+20>>2]](a,1)|0;v[(v[c+1872>>2]+B(b,1076)|0)+808>>2]=a}function H3(a){a=a|0;var b=0,c=0,d=0;b=v[a+24>>2];c=4096-v[b+4>>2]|0;a:{if(!c){break a}d=v[b+48>>2];if(Ub[v[v[d>>2]+16>>2]](d,v[b+52>>2],1,c)|0){break a}c=v[a>>2];v[c+20>>2]=38;Ub[v[c>>2]](a)}c=v[b+48>>2];Ub[v[v[c>>2]+32>>2]](c)|0;b=v[b+48>>2];if(Ub[v[v[b>>2]+40>>2]](b)|0){b=v[a>>2];v[b+20>>2]=38;Ub[v[b>>2]](a)}}function Gta(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Qb-32|0;Qb=d;b=Yk(d,b);v[299999]=0;c=Yk(d+12|0,c);e=v[299999];v[299999]=0;a:{if((e|0)==1){a=P()|0;O()|0;break a}v[299999]=0;$(4283,d+24|0,a|0,b|0,d|0);a=v[299999];v[299999]=0;if((a|0)==1){a=P()|0;O()|0;xc(c);break a}xc(c);xc(b);Qb=d+32|0;return}xc(b);T(a|0);L()}function Ei(a,b){a=a|0;b=b|0;var c=0;c=Qb-32|0;Qb=c;a:{if(v[a+4>>2]!=(b|0)){b=vc(c+8|0,228385,241351,380,226688,0);break a}if(!v[a>>2]){b=vc(c+8|0,258878,241351,382,226688,0);break a}b=vc(c+8|0,235223,241351,384,226688,0)}v[299999]=0;R(4370,b|0);a=v[299999];v[299999]=0;if((a|0)==1){a=P()|0;O()|0;qc(b);T(a|0)}L()}function zd(a,b,c){var d=0,e=0,f=0,g=0;f=Qb-16|0;Qb=f;v[f+12>>2]=c;d=Qb-160|0;Qb=d;g=d+8|0;gc(g,1010480,144);v[d+52>>2]=a;v[d+28>>2]=a;e=-2-a|0;e=e>>>0<2147483647?e:2147483647;v[d+56>>2]=e;a=a+e|0;v[d+36>>2]=a;v[d+24>>2]=a;a=RC(g,b,c);if(e){b=v[d+28>>2];t[b-((b|0)==v[d+24>>2])|0]=0}Qb=d+160|0;Qb=f+16|0;return a}function xia(a){a=a|0;var b=0;b=Qb-32|0;Qb=b;v[a>>2]=990364;if(v[a+4>>2]>=1){v[299999]=0;a=aa(4369,b+8|0,234277,241304,95,342348,0)|0;b=v[299999];v[299999]=0;a:{if((b|0)!=1){v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}L()}W(0)|0;O()|0;lc();L()}W(0)|0;O()|0;qc(a);lc();L()}dc(a);Qb=b+32|0}function dX(a){var b=0,c=0,d=0;b=v[a+112>>2];if(b){c=v[a+116>>2];if((c|0)==(b|0)){d=b}else{while(1){d=c-12|0;if(t[c-1|0]<=-1){dc(v[d>>2])}c=d;if((c|0)!=(b|0)){continue}break}d=v[a+112>>2]}v[a+116>>2]=b;dc(d)}if(t[a+39|0]<=-1){dc(v[a+28>>2])}if(t[a+23|0]<=-1){dc(v[a+12>>2])}if(t[a+11|0]<=-1){dc(v[a>>2])}return a}function Pab(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,j=0,k=0;a:{if(f){if(!d){break a}j=c<<1;k=b<<1;a=0;while(1){b=g;i=w[f|0];h=w[e|0];if((i|0)!=(h|0)){h=h+((B(i-h|0,k)+c|0)/(j|0)|0)|0}t[b|0]=h;f=f+1|0;e=e+1|0;g=g+1|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}break a}gc(g,e,d)}return 0}function Gq(a,b,c){var d=0;d=x[a+26>>1];a:{if((d|0)==8){a=w[v[a+56>>2]+(B(v[a+52>>2],c)+b|0)|0];break a}c=w[v[a+56>>2]+(B(v[a+52>>2],c)+(B(b,d)>>3)|0)|0];a=0;b:{switch(d-1|0){case 3:a=B((b|0)%2|0,252)+4&252;a=(c&15<>>a|0;break a;case 0:break b;default:break a}}a=7-((b|0)%8|0)|0;a=(c&1<>>a|0}return a&255}function tsa(a,b){a=a|0;b=b|0;var c=0,d=0;a=v[a+4>>2];if(a){LG(a,1);a:{if((a|0)==(b|0)){break a}d=w[b+11|0];c=d<<24>>24;if(t[a+11|0]>=0){if((c|0)>=0){c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;v[a+8>>2]=v[b+8>>2];break a}Lh(a,v[b>>2],v[b+4>>2]);break a}c=(c|0)<0;wi(a,c?v[b>>2]:b,c?v[b+4>>2]:d)}lp(a,981008);GW(a)}}function I_(a,b){var c=0,d=0;a:{if(!a|!b){break a}d=x[a+2>>1];if((d|0)!=x[b+2>>1]){break a}c=x[a>>1];if((a|0)==(b|0)|(c|0)!=x[b>>1]){break a}if(d){gc(v[b+4>>2],v[a+4>>2],d<<16>>16<<3);gc(v[b+8>>2],v[a+8>>2],u[a+2>>1]);c=x[a>>1]}if(c){gc(v[b+12>>2],v[a+12>>2],c<<16>>16<<1)}v[b+16>>2]=v[a+16>>2]&-2|v[b+16>>2]&1}}function xga(a){a=a|0;var b=0;v[a>>2]=991160;b=v[a+56>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}b=v[a+60>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}b=v[a+64>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}v[a+64>>2]=0;v[a+56>>2]=0;v[a+60>>2]=0;v[299999]=0;R(5251,a|0);b=v[299999];v[299999]=0;if((b|0)==1){W(0)|0;O()|0;yt(a);lc();L()}yt(a);dc(a)}function jw(a,b){var c=0,d=0,e=0;d=Qb-16|0;Qb=d;t[d+15|0]=b;c=v[a+16>>2];a:{if(!c){c=-1;if(XK(a)){break a}c=v[a+16>>2]}b:{e=v[a+20>>2];if(c>>>0<=e>>>0){break b}c=b&255;if((c|0)==t[a+75|0]){break b}v[a+20>>2]=e+1;t[e|0]=b;break a}c=-1;if((Ub[v[a+36>>2]](a,d+15|0,1)|0)!=1){break a}c=w[d+15|0]}Qb=d+16|0;return c}function gy(a,b,c){var d=0,e=0,f=0;a:{if(v[a+12>>2]>=(b|0)){break a}d=v[a+16>>2];if((d|0)<1|(2147483646/(d>>>0)|0)<=(b|0)){break a}d=fF(v[a+20>>2],B(b,d)+1|0);v[a+20>>2]=d;e=v[a+12>>2];f=v[a+16>>2];d=d+B(e,f)|0;e=B(f,b-e|0);b:{if(c){ic(d,255,e);break b}ic(d,0,e)}v[a+12>>2]=b;t[v[a+20>>2]+B(v[a+16>>2],b)|0]=0}}function S8a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;if(w[b+32|0]){return _d(a,v[b>>2],0,0)|0}c=v[b+36>>2];g=B(c,3);f=v[a+428>>2]+8|0;if(c){h=b+40|0;c=f;while(1){e=B(d,3)+h|0;t[c|0]=w[e|0];t[c+1|0]=w[e+1|0];t[c+2|0]=w[e+2|0];c=c+3|0;d=d+1|0;if(d>>>0>2]){continue}break}}return _d(a,v[b>>2],g,f)|0} +function JIa(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;var j=0,k=0;j=v[a+272>>2];if(j){k=v[j+40>>2];a:{if(!k){break a}Ub[k|0](a,b,c,d,e,f,g,h,i);b=v[a+52>>2];if(!b){break a}a=v[a+36>>2];if(!a){break a}a=v[a+16>>2];if(!a|w[a|0]!=47|w[a+1|0]!=62){break a}u[b+58>>1]=1}v[j+16>>2]=1}}function rB(a,b){var c=0,d=0;c=-1;d=v[a+8>>2];a:{if(d&7){break a}c=v[a+64>>2];if(!((c|0)<0|(c|0)>v[a+60>>2])){v[a+8>>2]=d|4;return-1}c=-1;d=v[a+28>>2];v[a+28>>2]=d-1;b:{if((d|0)>=1){v[a+60>>2]=v[a+60>>2]+1;c=a;a=v[a+24>>2];v[c+24>>2]=a+1;a=w[a|0];break b}a=Hc(a,1);if((a|0)==-1){break a}}t[b|0]=a;c=0}return c}function l4(a){a=a|0;var b=0,c=0,d=0;c=Qb-16|0;Qb=c;b=v[a+584>>2];if(b){if(w[b+124|0]&2){_m(b- -64|0);v[b+124>>2]=0}a:{if(Yu(b- -64|0,23545,56)){d=v[a+628>>2];a=v[a>>2];v[c+4>>2]=v[b+88>>2];v[c>>2]=a;zc(d,88401,24867,c);a=0;break a}v[b+124>>2]=v[b+124>>2]|1;a=1}Qb=c+16|0;return a|0}X(21265,6646,93,88401);L()}function dCa(a){a=a|0;var b=0;b=fc(160);v[b+4>>2]=15;v[b+8>>2]=0;v[b>>2]=897092;A[b+16>>3]=A[a+16>>3];A[b+24>>3]=A[a+24>>3];A[b+32>>3]=A[a+32>>3];A[b+40>>3]=A[a+40>>3];A[b+48>>3]=A[a+48>>3];A[b+56>>3]=A[a+56>>3];A[b+64>>3]=A[a+64>>3];A[b+72>>3]=A[a+72>>3];A[b+80>>3]=A[a+80>>3];gc(b+88|0,a+88|0,72);return b|0}function JZa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Qb-16|0;Qb=c;e=v[a+16>>2];a=x[a+8>>1];b=Cc(b,1,0,a+1|0,0,c+12|0);Qb=c+16|0;if(v[c+12>>2]){b=d}else{a:{if(!a){break a}while(1){c=w[e|0];if(!c){break a}t[b+d|0]=c>>>0<32?63:c<<24>>24<0?63:c;e=e+1|0;d=d+1|0;if((a|0)!=(d|0)){continue}break}d=a}t[b+d|0]=0}return b|0}function e4a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=v[a+16>>2];if(d){g=v[a+20>>2];a=d>>>1|0;while(1){c=d+f>>>1|0;c=a>>>0>=d>>>0?c:a>>>0>>0?c:a;e=v[(c<<3)+g>>2];if((e|0)==(b|0)){return x[((c<<3)+g|0)+4>>1]+1&65535}a=(b+c|0)-e|0;e=b>>>0>>0;f=e?f:c+1|0;d=e?c:d;if(f>>>0>>0){continue}break}}return 0}function _2(a){a=a|0;var b=0,c=0,d=0,e=0;b=Qb-16|0;Qb=b;e=Kh(a,b+14|0,2);a:{b:{if((e|0)<0){break b}c=e;while(1){if((c|0)>=1){d=-1;c=c-1|0;if((dj(a,w[c+(b+14|0)|0])|0)!=-1){continue}break a}break}d=-1;if((e|0)<2){break a}if(w[b+14|0]!=80){break b}d=0;if(w[b+15|0]-48>>>0<10){break a}}d=-1}Qb=b+16|0;return d|0}function LMa(a){a=a|0;var b=0;b=v[a+388>>2];Ub[v[v[a+420>>2]+8>>2]](a);a:{b:{switch(v[b+20>>2]){case 0:v[b+20>>2]=2;if(v[a+216>>2]){break a}v[b+32>>2]=v[b+32>>2]+1;break a;case 1:v[b+20>>2]=2;break a;case 2:break b;default:break a}}if(v[a+216>>2]){v[b+20>>2]=1}v[b+32>>2]=v[b+32>>2]+1}v[b+24>>2]=v[b+24>>2]+1}function $La(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(w[b+8|0]){yW(320535,c);return}b=tz(320535,c);if(v[c>>2]<=0){v[a+44>>2]=0;v[a+48>>2]=0;v[a+52>>2]=0;v[a+56>>2]=0;d=a;a=v[294139];a:{if(a){a=Ub[a|0](v[294140],16)|0;break a}a=jc(16)}if(a){a=ic(a,0,16)}else{a=0}v[d+8>>2]=a;if(a){v[a>>2]=b;return}eq(b);v[c>>2]=7}}function sxa(a){a=a|0;var b=0;b=v[a+4>>2];Ub[v[v[b>>2]+20>>2]](b);b=v[a+8>>2];if(b){ic(v[b+32>>2],0,v[b+28>>2]);v[b+36>>2]=v[b+28>>2]}v[a+53320>>2]=0;v[a+53324>>2]=0;v[a+53316>>2]=1;v[a+53308>>2]=0;v[a+53312>>2]=0;v[a+49192>>2]=258;v[a+49196>>2]=9;v[a+24>>2]=0;v[a+16>>2]=0;a=a+53328|0;v[a>>2]=0;v[a+4>>2]=0}function qQ(a){var b=0,c=0,d=0;b=v[a+12>>2];v[a+12>>2]=0;a:{b:{if(!b){break b}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)==1){break a}if(c){break b}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}if(t[a+11|0]<=-1){dc(v[a>>2])}return a}W(0)|0;O()|0;lc();L()}function Xga(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=990780;Lc(a+28|0);b=v[a+16>>2];v[a+16>>2]=0;a:{if(!b){break a}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)!=1){if(c){break a}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}}W(0)|0;O()|0;lc();L()}Ag(a);return a|0}function OS(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a=65536-v[b+8>>2]|0;a=(a|0)<65536?a:65536;d=(a|0)>0?a:0;a=65536-v[b+4>>2]|0;a=(a|0)<65536?a:65536;e=(a|0)>0?a:0;a=65536-v[b>>2]|0;a=(a|0)<65536?a:65536;b=(a|0)>0?a:0;a=(b|0)>(e|0)?e:b;a=(a|0)>(d|0)?d:a;v[c+12>>2]=a;v[c+8>>2]=d-a;v[c+4>>2]=e-a;v[c>>2]=b-a}function Hea(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=997824;ec(a+16|0);b=v[a+12>>2];v[a+12>>2]=0;a:{if(!b){break a}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)!=1){if(c){break a}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}}W(0)|0;O()|0;lc();L()}Ti(a);return a|0}function s0a(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,h=0,i=0;g=v[a+4>>2];i=a;if((b|0)!=1){h=v[a>>2];v[h+24>>2]=b;v[h+20>>2]=15;Ub[v[v[a>>2]>>2]](a)}else{b=1}a=nq(i,b,128);v[a+40>>2]=0;v[a+32>>2]=c;v[a+12>>2]=f;v[a+8>>2]=d;v[a+4>>2]=e;v[a>>2]=0;v[a+44>>2]=v[g+68>>2];v[g+68>>2]=a;return a|0}function mz(a,b){var c=0,d=0,e=0,f=0;c=b&255;f=t[a+75|0];d=f;while(1){d=(d|0)<1?7:d-1|0;if((c|0)!=w[(d+a|0)+76|0]){continue}break}c=d+1|0;e=(c|0)==8?0:c;a:{if((f|0)==(e|0)){c=d;break a}f=a+76|0;while(1){c=e;t[d+f|0]=w[f+c|0];d=c;e=d+1|0;e=(e|0)==8?0:e;if((e|0)!=t[a+75|0]){continue}break}}t[(a+c|0)+76|0]=b}function ms(a,b,c,d){var e=0;e=Qb-32|0;Qb=e;v[a+344>>2]=0;a:{if((d|0)==1){v[e+24>>2]=0;v[e+28>>2]=0;A[e+16>>3]=c;A[e+8>>3]=b;d=a+320|0;a=v[a+320>>2];if(a){v[d>>2]=a-1}dv(d,e+8|0);break a}if(d-1>>>0<=13){v[e+24>>2]=0;v[e+28>>2]=0;A[e+16>>3]=c;A[e+8>>3]=b;dv(a+320|0,e+8|0);break a}v[a+340>>2]=d&64}Qb=e+32|0}function gB(a,b){var c=0;a:{b:{if(!mc(b,1743)){break b}if(!mc(b,4993)){break b}if(!mc(b,11866)){break b}if(mc(b,14474)){break a}}c=jc(20);if(!c){return 0}v[c+16>>2]=0;v[c+8>>2]=0;v[c+12>>2]=a;v[c>>2]=1;a=w[b|0];v[c+4>>2]=0;a=(a|0)==119;v[c+8>>2]=a<<3;v[c+16>>2]=a?2:1;return c}X(16895,18822,103,189253);L()}function Zda(a){a=a|0;var b=0,c=0;b=Qb-16|0;Qb=b;Bi(b,a,0);v[299999]=0;V(5408,b+8|0,b|0);c=v[299999];v[299999]=0;a:{b:{if((c|0)!=1){v[299999]=0;Q(4535,a+8|0,b+8|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break b}ec(b+8|0);ec(b);Qb=b+16|0;return}a=P()|0;O()|0;break a}a=P()|0;O()|0;ec(b+8|0)}ec(b);T(a|0);L()}function Uka(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;if(!(!f|!e)){a=x[a+26>>1];c=a<<1;a=B(a,g)<<1;d=h<<2;while(1){f=f-1|0;h=e;while(1){v[b>>2]=w[i+1|0]|w[i+3|0]<<8|w[i+5|0]<<16|w[i+7|0]<<24;b=b+4|0;i=c+i|0;h=h-1|0;if(h){continue}break}i=a+i|0;b=b+d|0;if(f){continue}break}}}function D0a(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,h=0,i=0;g=v[a+4>>2];i=a;if((b|0)!=1){h=v[a>>2];v[h+24>>2]=b;v[h+20>>2]=15;Ub[v[v[a>>2]>>2]](a)}else{b=1}a=nq(i,b,128);v[a+40>>2]=0;v[a+32>>2]=c;v[a+12>>2]=f;v[a+8>>2]=d;v[a+4>>2]=e;v[a>>2]=0;v[a+44>>2]=v[g+72>>2];v[g+72>>2]=a;return a|0}function CK(a){var b=0,c=0,d=0,e=0,f=0;b=jc(40);v[b>>2]=0;b=Ue(a+624|0,1,b,4);f=O()|0;a:{while(1){if(!c){v[299999]=0;R(547,a|0);c=v[299999];v[299999]=0;d=-1;b:{if(!c){break b}e=v[3e5];if(!e){break b}d=sc(v[c>>2],b,f);if(!d){break a}_(e|0)}c=O()|0;if((d|0)==1){continue}}break}dc(b);return}dc(b);sd(c,e);L()}function ycb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;if(v[a+2308>>2]){e=v[a+2300>>2];d=v[a+2312>>2];b=v[a+2316>>2];while(1){c=w[d|0];if(!((c|0)==x[e+836>>1]?w[e+56|0]:0)){t[b+1|0]=255}h=b;f=v[a+2296>>2];if(f){c=Ub[f|0](c)|0}t[h|0]=c;b=b+2|0;d=d+1|0;g=g+1|0;if(g>>>0>2]){continue}break}}return 0}function sYa(a){a=a|0;var b=0,c=0,d=0,e=0;d=Qb-16|0;Qb=d;b=v[a>>2];c=v[b+552>>2];b=Eg(v[v[b+96>>2]+4>>2],239287);a:{if(!b|!c){break a}c=v[c>>2];if(!c){break a}c=Ub[c|0](b)|0;if(!c){break a}b=v[a>>2];e=Ub[v[c>>2]](v[b+100>>2],b+168|0,d+12|0)|0;if(e){break a}v[v[a+40>>2]>>2]=v[d+12>>2]}Qb=d+16|0;return e|0}function pE(a,b){var c=0,d=0,e=0;a:{if(!a|!b){break a}c=v[a+644>>2];if((c|0)<1){break a}d=v[a+648>>2];a=d+B(c,5)|0;while(1){c=b;e=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);c=a-5|0;if((e|0)==(w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24))){return w[a-1|0]}a=c;if(c>>>0>d>>>0){continue}break}}return 0}function ij(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=Qb-16|0;Qb=d;g=a;h=a;a:{if(!b){b=0;break a}c=b>>31;e=c+b^c;c=E(e);Oh(d,e,0,0,0,c+81|0);e=0+v[d+8>>2]|0;c=(v[d+12>>2]^65536)+(16414-c<<16)|0;c=e>>>0>>0?c+1|0:c;f=b&-2147483648|c;c=v[d+4>>2];b=v[d>>2]}v[h>>2]=b;v[g+4>>2]=c;v[a+8>>2]=e;v[a+12>>2]=f;Qb=d+16|0}function cqa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Fe(c);a:{b=v[v[b+120>>2]+((d>>>0)%y[b+116>>2]<<2)>>2];if(b){while(1){if(v[b+12>>2]==(d|0)){if(!Ri(b+16|0,c,-1)){break a}}b=v[b+8>>2];if(b){continue}break}}v[a>>2]=0;Wc(a,0);return}c=v[b+24>>2];if(!c){v[a>>2]=0;return}v[c+4>>2]=v[c+4>>2]+1;v[a>>2]=v[b+24>>2]}function WZ(a,b,c){var d=0,e=0;e=Qb-16|0;Qb=e;a=v[a+4>>2];d=v[v[a+128>>2]+52>>2];a:{b:{if(!d){d=b<<2;b=d+v[a+432>>2]|0;a=v[d+v[a+428>>2]>>2];break b}b=Ub[v[v[d>>2]>>2]](v[d+4>>2],b,e+8|0)|0;if(b){break a}b=e+8|4;a=v[e+8>>2]}d=v[b>>2];v[c+12>>2]=a;b=0;v[c>>2]=0;v[c+4>>2]=a;v[c+8>>2]=a+d}Qb=e+16|0;return b}function F8(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=Qb-16|0;Qb=f;v[e>>2]=c;a=$B(f+12|0,0,b,v[a+8>>2]);c=2;a:{if(a+1>>>0<2){break a}b=a-1|0;c=1;if(b>>>0>d-v[e>>2]>>>0){break a}c=f+12|0;while(1){if(b){a=w[c|0];d=v[e>>2];v[e>>2]=d+1;t[d|0]=a;b=b-1|0;c=c+1|0;continue}break}c=0}Qb=f+16|0;return c|0}function $C(a,b){a=a|0;b=b|0;var c=0,d=0;c=Qb-16|0;Qb=c;a:{b:{if(!w[b+32|0]){Sn(b,1);if(!w[b+32|0]){break b}}d=c+8|0;Bi(d,b,0);v[299999]=0;Q(4535,a+8|0,d|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){ec(c+8|0);Sn(a,1);break a}a=P()|0;O()|0;ec(c+8|0);T(a|0);L()}vr(a+8|0,b+8|0);t[a+32|0]=0}Qb=c+16|0;return a|0}function jq(a){var b=0,c=0,d=0,e=0,f=0;v[a>>2]=466572;c=v[a+4>>2];if(c){b=v[c+4>>2];a:{if(!b){break a}d=b-1|0;v[c+4>>2]=d;e=v[c+12>>2]+(b<<2)|0;while(1){f=c;e=e-4|0;b=v[e>>2];if(b){dc(b);d=v[c+4>>2]}b=d;d=b-1|0;v[f+4>>2]=d;if(b){continue}break}b=v[c+12>>2];if(!b){break a}dc(b)}dc(c);v[a+4>>2]=0}return a}function dGa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=-1;a:{if(b>>>0>2147482623){break a}e=b;c=v[a+1032>>2];if(!((c|0)<=(b|0)&(v[a+1036>>2]+c|0)>(b|0))){if(zg(v[a+4>>2],b,0)){break a}v[a+1032>>2]=b;c=qg(a+8|0,1,1024,v[a+4>>2]);v[a+1036>>2]=c;if((c|0)<1){break a}c=v[a+1032>>2]}d=w[((e-c|0)+a|0)+8|0]}return d|0}function ch(a){a=a|0;var b=0,c=0;if(a){a:{if(!a){break a}b=v[a+20>>2];if(!b){break a}c=v[a+16>>2];b=mb(c|0,b-c|0)|0;if(b>>>0>=4294963201){v[299402]=0-b}v[a+4>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0}if(w[a+12|0]){_e(a);return}v[a>>2]=0;v[a+4>>2]=0;v[a+24>>2]=-1;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0}}function $7a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c;c=Ub[v[a+152>>2]](1320)|0;v[d>>2]=c;if(!c){pc(a,1,0,0);return 1}a=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=a;a=v[b+28>>2];v[c+24>>2]=v[b+24>>2];v[c+28>>2]=a;a=v[b+20>>2];v[c+16>>2]=v[b+16>>2];v[c+20>>2]=a;a=v[b+12>>2];v[c+8>>2]=v[b+8>>2];v[c+12>>2]=a;return 0}function ns(a,b,c,d){var e=0;e=Qb-32|0;Qb=e;v[a+124>>2]=0;a:{if((d|0)==1){v[e+24>>2]=0;v[e+28>>2]=0;A[e+16>>3]=c;A[e+8>>3]=b;d=a+72|0;a=v[a+72>>2];if(a){v[d>>2]=a-1}dv(d,e+8|0);break a}if(d-1>>>0<=13){v[e+24>>2]=0;v[e+28>>2]=0;A[e+16>>3]=c;A[e+8>>3]=b;dv(a+72|0,e+8|0);break a}v[a+120>>2]=d&64}Qb=e+32|0}function npa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;b=v[b>>2];e=a,f=xr(b),v[e+8>>2]=f;d=a+12|0;Dt(d);e=a,f=(xr(b)<<8)+v[a+8>>2]|0,v[e+8>>2]=f;c=Cj(b);if(c){d=kr(d,c);e=(Ub[v[v[b>>2]+8>>2]](b,d,c)|0)+d|0,f=0,t[e|0]=f}c=a+20|0;Dt(c);a=wr(b);if(a){c=kr(c,a);e=(Ub[v[v[b>>2]+8>>2]](b,c,a)|0)+c|0,f=0,t[e|0]=f}}function dqa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Fe(c);a:{b=v[v[b+64>>2]+((d>>>0)%y[b+60>>2]<<2)>>2];if(b){while(1){if(v[b+12>>2]==(d|0)){if(!Ri(b+16|0,c,-1)){break a}}b=v[b+8>>2];if(b){continue}break}}v[a>>2]=0;Wc(a,0);return}c=v[b+24>>2];if(!c){v[a>>2]=0;return}v[c+4>>2]=v[c+4>>2]+1;v[a>>2]=v[b+24>>2]}function d8a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c;c=Ub[v[a+152>>2]](808)|0;v[d>>2]=c;if(!c){pc(a,1,0,0);return 1}a=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=a;a=v[b+28>>2];v[c+24>>2]=v[b+24>>2];v[c+28>>2]=a;a=v[b+20>>2];v[c+16>>2]=v[b+16>>2];v[c+20>>2]=a;a=v[b+12>>2];v[c+8>>2]=v[b+8>>2];v[c+12>>2]=a;return 0}function c8a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c;c=Ub[v[a+152>>2]](564)|0;v[d>>2]=c;if(!c){pc(a,1,0,0);return 1}a=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=a;a=v[b+28>>2];v[c+24>>2]=v[b+24>>2];v[c+28>>2]=a;a=v[b+20>>2];v[c+16>>2]=v[b+16>>2];v[c+20>>2]=a;a=v[b+12>>2];v[c+8>>2]=v[b+8>>2];v[c+12>>2]=a;return 0}function b8a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c;c=Ub[v[a+152>>2]](548)|0;v[d>>2]=c;if(!c){pc(a,1,0,0);return 1}a=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=a;a=v[b+28>>2];v[c+24>>2]=v[b+24>>2];v[c+28>>2]=a;a=v[b+20>>2];v[c+16>>2]=v[b+16>>2];v[c+20>>2]=a;a=v[b+12>>2];v[c+8>>2]=v[b+8>>2];v[c+12>>2]=a;return 0}function Hka(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;if(!(!f|!e)){a=x[a+26>>1];c=a<<1;a=B(a,g)<<1;d=h<<2;while(1){f=f-1|0;h=e;while(1){v[b>>2]=w[i+1|0]|w[i+3|0]<<8|w[i+5|0]<<16|-16777216;b=b+4|0;i=c+i|0;h=h-1|0;if(h){continue}break}i=a+i|0;b=b+d|0;if(f){continue}break}}}function $1a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;a=(a|0)/-4|0;if(b){f=v[d>>2]+B(a,v[d+4>>2])|0;while(1){b=b-1|0;if(x[c+2>>1]){g=w[c+4|0]+8>>>4|0;d=0;while(1){e=f+((u[c>>1]+d|0)/4|0)|0;a=w[e|0]+g|0;t[e|0]=a-(a>>>8|0);d=d+1|0;if(d>>>0>1]){continue}break}}c=c+6|0;if(b){continue}break}}}function tib(a){a=a|0;var b=0,c=0,d=0,e=0;b=Qb-16|0;Qb=b;e=Kh(a,b,16);a:{if((e|0)<0){c=-1;break a}d=e;while(1){if((d|0)>=1){c=-1;d=d-1|0;if((dj(a,t[d+b|0])|0)!=-1){continue}break a}break}c=-1;if((e|0)<16){break a}c=(t[b+7|0]|(t[b+5|0]<<16|w[b+4|0]<<24|t[b+6|0]<<8))!=1783636e3?-1:0}Qb=b+16|0;return c|0}function fcb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=v[a+2308>>2];if(b){e=v[a+2300>>2];d=v[a+2312>>2];c=v[a+2316>>2];while(1){f=w[d|0];if(f>>>0>2]){b=B(f,3)+e|0;t[c|0]=w[b+68|0];t[c+1|0]=w[b+69|0];t[c+2|0]=w[b+70|0];b=v[a+2308>>2]}c=c+3|0;d=d+1|0;g=g+1|0;if(g>>>0>>0){continue}break}}return 0}function a8a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c;c=Ub[v[a+152>>2]](84)|0;v[d>>2]=c;if(!c){pc(a,1,0,0);return 1}a=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=a;a=v[b+28>>2];v[c+24>>2]=v[b+24>>2];v[c+28>>2]=a;a=v[b+20>>2];v[c+16>>2]=v[b+16>>2];v[c+20>>2]=a;a=v[b+12>>2];v[c+8>>2]=v[b+8>>2];v[c+12>>2]=a;return 0}function Wga(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=990780;Lc(a+28|0);b=v[a+16>>2];v[a+16>>2]=0;a:{if(!b){break a}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)!=1){if(c){break a}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}}W(0)|0;O()|0;lc();L()}Ag(a);dc(a)}function ILa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=v[a+8>>2];a:{b:{if(b>>>0>=2){d=x[c+4>>1];e=v[c+20>>2];break b}v[a+44>>2]=65535;v[a+48>>2]=0;u[c>>1]=65534;v[c+44>>2]=0;e=v[c+20>>2];v[c+16>>2]=e;d=x[c+4>>1];u[c+8>>1]=d;if((b|0)==1){break a}}v[a+56>>2]=0;v[c+12>>2]=e;u[c+2>>1]=0;u[c+24>>1]=1;u[c+6>>1]=d}}function Hz(a,b,c){a=a|0;b=+b;c=c|0;a:{b:{switch(c-3|0){case 0:b=A[a+16>>3]/(b/72);if(b==A[a+32>>3]){break a}A[a+32>>3]=b;return 0;case 3:b=A[a+16>>3]/(b/25.4);if(b==A[a+32>>3]){break a}A[a+32>>3]=b;return 0;case 1:break b;default:break a}}b=A[a+16>>3]/b;if(b==A[a+32>>3]){break a}A[a+32>>3]=b}return 0}function CD(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Fe(c);a:{b=v[v[b+92>>2]+((d>>>0)%y[b+88>>2]<<2)>>2];if(b){while(1){if(v[b+12>>2]==(d|0)){if(!Ri(b+16|0,c,-1)){break a}}b=v[b+8>>2];if(b){continue}break}}v[a>>2]=0;Wc(a,0);return}c=v[b+24>>2];if(!c){v[a>>2]=0;return}v[c+4>>2]=v[c+4>>2]+1;v[a>>2]=v[b+24>>2]}function Aeb(a){a=a|0;var b=0,c=0,d=0;if(v[a+588>>2]>=1){b=v[a+540>>2];b=(v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0;c=v[a+636>>2]+v[a+616>>2]|0;while(1){t[b|0]=w[c|0];t[b+1|0]=w[c+1|0];c=c+2|0;b=(v[a+584>>2]<<1)+b|0;d=d+1|0;if((d|0)>2]){continue}break}}return 0}function xm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c;c=Ub[v[a+152>>2]](40)|0;v[d>>2]=c;if(!c){pc(a,1,0,0);return 1}a=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=a;a=v[b+28>>2];v[c+24>>2]=v[b+24>>2];v[c+28>>2]=a;a=v[b+20>>2];v[c+16>>2]=v[b+16>>2];v[c+20>>2]=a;a=v[b+12>>2];v[c+8>>2]=v[b+8>>2];v[c+12>>2]=a;return 0}function tn(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c;c=Ub[v[a+152>>2]](44)|0;v[d>>2]=c;if(!c){pc(a,1,0,0);return 1}a=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=a;a=v[b+28>>2];v[c+24>>2]=v[b+24>>2];v[c+28>>2]=a;a=v[b+20>>2];v[c+16>>2]=v[b+16>>2];v[c+20>>2]=a;a=v[b+12>>2];v[c+8>>2]=v[b+8>>2];v[c+12>>2]=a;return 0}function q2a(a){a=a|0;var b=0,c=0;c=v[a+28>>2];b=v[a+12>>2];if(b){tk(b+12|0);v[b+52>>2]=0;v[b+44>>2]=0;v[b+48>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b+16>>2]=0;if(b){Ub[v[c+8>>2]](c,b)}v[a+12>>2]=0}if(!v[a+20>>2]){b=v[a>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a>>2]=0}}function pR(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;a:{if(!(w[b+8|0]&16)|(!a|!b)){break a}b:{if(w[b+25|0]==3){if(c){v[c>>2]=v[b+76>>2];f=16}else{f=0}if(!e){break b}v[e>>2]=b+80;break b}if(e){v[e>>2]=b+80;f=16}else{f=0}if(!c){break b}v[c>>2]=0}if(!d){break a}v[d>>2]=x[b+22>>1];f=16}return f|0}function mt(a,b){a=a|0;b=b|0;var c=0,d=0;c=Qb-4096|0;Qb=c;a:{b:{if(!a){b=4096;a=c;break b}if(b){break b}v[299402]=28;break a}b=fb(a|0,b|0)|0;if(b>>>0>=4294963201){v[299402]=0-b;b=-1}if((b|0)<0){break a}d=a;if((a|0)!=(c|0)){break a}a=Bc(c)+1|0;b=jc(a);if(b){d=gc(b,c,a)}else{d=0}}Qb=c+4096|0;return d|0}function m6(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;d=Qb-16|0;Qb=d;e=v[a+608>>2];a:{if((e|0)<(c|0)){b=v[a>>2];c=v[a+628>>2];v[d>>2]=v[a+472>>2];zc(c,b,2767,d);a=0;break a}f=v[a+604>>2];if((f|0)!=(b|0)){oe(b,f,c);e=v[a+608>>2];b=v[a+604>>2]}v[a+608>>2]=e-c;v[a+604>>2]=b+c;a=1}Qb=d+16|0;return a|0}function jma(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;Qt(b,v[a+8>>2]);Qt(b,v[a+12>>2]);Ql(b,w[a+16|0]);Ql(b,v[a+16>>2]>>8);Ql(b,w[a+20|0]);Ql(b,v[a+20>>2]>>8);e=b;c=A[a+24>>3]*10+.5;a:{if(D(c)<2147483648){d=~~c;break a}d=-2147483648}Ql(e,d);a=v[a+32>>2]-1|0;if(a>>>0<=2){a=v[(a<<2)+984088>>2]}else{a=0}Ql(b,a)}function es(a){var b=0,c=0,d=0;c=v[a+28>>2];qh(c);b=v[a+16>>2];d=v[c+20>>2];b=b>>>0>>0?b:d;a:{if(!b){break a}gc(v[a+12>>2],v[c+16>>2],b);v[a+12>>2]=b+v[a+12>>2];v[c+16>>2]=b+v[c+16>>2];v[a+20>>2]=b+v[a+20>>2];v[a+16>>2]=v[a+16>>2]-b;a=v[c+20>>2]-b|0;v[c+20>>2]=a;if(a){break a}v[c+16>>2]=v[c+8>>2]}}function aO(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=997824;ec(a+16|0);b=v[a+12>>2];v[a+12>>2]=0;a:{if(!b){break a}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)!=1){if(c){break a}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}}W(0)|0;O()|0;lc();L()}Ti(a);dc(a)}function W6a(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1246250066){pc(a,2050,0,0);return 2050}v[b+32>>2]=v[c+32>>2];v[b+36>>2]=v[c+36>>2];t[b+40|0]=w[c+40|0];t[b+41|0]=w[c+41|0];t[b+42|0]=w[c+42|0];t[b+43|0]=w[c+43|0];t[b+44|0]=w[c+44|0];t[b+45|0]=w[c+45|0];t[b+46|0]=w[c+46|0];t[b+47|0]=w[c+47|0];return 0}function V5(a,b){a=a|0;b=b|0;var c=0;b=Qb-16|0;Qb=b;c=0;a:{if(!ew(a)){break a}if(!Kl(a,85824,1)){zc(v[a+628>>2],16514,18691,0);c=0;break a}v[a+556>>2]=493;v[a+548>>2]=493;v[a+540>>2]=493;v[a+560>>2]=494;v[a+552>>2]=494;v[a+544>>2]=494;v[a+536>>2]=495;v[b>>2]=1;c=Id(a,65536,b)}a=c;Qb=b+16|0;return a|0}function Uo(a){a=a|0;var b=0,c=0,d=0,e=0;b=v[a+4>>2];c=v[a+44>>2];a=!b|!c;if(a){a=0}else{d=1;b=a?0:b+40|0;a:{if(w[b|0]){break a}a=0;while(1){e=b+(a<<2)|0;if(w[e+1|0]!=(a|0)|w[e+2|0]!=(a|0)){break a}a=a+1|0;d=c>>>0>a>>>0;if((a|0)==(c|0)){break a}if(w[b+(a<<2)|0]==(a|0)){continue}break}}a=!d}return a|0}function Qo(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c;c=Ub[v[a+152>>2]](48)|0;v[d>>2]=c;if(!c){pc(a,1,0,0);return 1}a=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=a;a=v[b+28>>2];v[c+24>>2]=v[b+24>>2];v[c+28>>2]=a;a=v[b+20>>2];v[c+16>>2]=v[b+16>>2];v[c+20>>2]=a;a=v[b+12>>2];v[c+8>>2]=v[b+8>>2];v[c+12>>2]=a;return 0}function Pv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c;c=Ub[v[a+152>>2]](52)|0;v[d>>2]=c;if(!c){pc(a,1,0,0);return 1}a=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=a;a=v[b+28>>2];v[c+24>>2]=v[b+24>>2];v[c+28>>2]=a;a=v[b+20>>2];v[c+16>>2]=v[b+16>>2];v[c+20>>2]=a;a=v[b+12>>2];v[c+8>>2]=v[b+8>>2];v[c+12>>2]=a;return 0}function P0(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c;c=Ub[v[a+152>>2]](60)|0;v[d>>2]=c;if(!c){pc(a,1,0,0);return 1}a=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=a;a=v[b+28>>2];v[c+24>>2]=v[b+24>>2];v[c+28>>2]=a;a=v[b+20>>2];v[c+16>>2]=v[b+16>>2];v[c+20>>2]=a;a=v[b+12>>2];v[c+8>>2]=v[b+8>>2];v[c+12>>2]=a;return 0}function Os(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c;c=Ub[v[a+152>>2]](32)|0;v[d>>2]=c;if(!c){pc(a,1,0,0);return 1}a=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=a;a=v[b+28>>2];v[c+24>>2]=v[b+24>>2];v[c+28>>2]=a;a=v[b+20>>2];v[c+16>>2]=v[b+16>>2];v[c+20>>2]=a;a=v[b+12>>2];v[c+8>>2]=v[b+8>>2];v[c+12>>2]=a;return 0}function KA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c;c=Ub[v[a+152>>2]](68)|0;v[d>>2]=c;if(!c){pc(a,1,0,0);return 1}a=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=a;a=v[b+28>>2];v[c+24>>2]=v[b+24>>2];v[c+28>>2]=a;a=v[b+20>>2];v[c+16>>2]=v[b+16>>2];v[c+20>>2]=a;a=v[b+12>>2];v[c+8>>2]=v[b+8>>2];v[c+12>>2]=a;return 0}function JA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c;c=Ub[v[a+152>>2]](36)|0;v[d>>2]=c;if(!c){pc(a,1,0,0);return 1}a=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=a;a=v[b+28>>2];v[c+24>>2]=v[b+24>>2];v[c+28>>2]=a;a=v[b+20>>2];v[c+16>>2]=v[b+16>>2];v[c+20>>2]=a;a=v[b+12>>2];v[c+8>>2]=v[b+8>>2];v[c+12>>2]=a;return 0}function IA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c;c=Ub[v[a+152>>2]](56)|0;v[d>>2]=c;if(!c){pc(a,1,0,0);return 1}a=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=a;a=v[b+28>>2];v[c+24>>2]=v[b+24>>2];v[c+28>>2]=a;a=v[b+20>>2];v[c+16>>2]=v[b+16>>2];v[c+20>>2]=a;a=v[b+12>>2];v[c+8>>2]=v[b+8>>2];v[c+12>>2]=a;return 0}function AY(a){var b=0,c=0,d=0,e=0;d=a+44|0;ZG(d);b=1;c=1;a:{b:{switch(v[a+40>>2]-3|0){case 0:c=A[a+32>>3]/72;b=A[a+24>>3]/72;break a;case 3:c=A[a+32>>3]/25.4;b=A[a+24>>3]/25.4;break a;case 1:break b;default:break a}}c=A[a+32>>3];b=A[a+24>>3]}jv(d,b,c,1);e=a+56|0;wk(e,d);Pj(e,a+48|0,1);Pj(e,a+52|0,0)}function AN(a,b,c){var d=0,e=0,f=0,g=0;f=Qb-16|0;Qb=f;v[f+12>>2]=c;d=Qb-160|0;Qb=d;g=d+8|0;gc(g,1010480,144);v[d+52>>2]=a;v[d+28>>2]=a;e=-2-a|0;e=e>>>0<2147483647?e:2147483647;v[d+56>>2]=e;a=a+e|0;v[d+36>>2]=a;v[d+24>>2]=a;QC(g,b,c);if(e){a=v[d+28>>2];t[a-((a|0)==v[d+24>>2])|0]=0}Qb=d+160|0;Qb=f+16|0}function hn(a,b){var c=0;c=v[a+8>>2];a:{if(v[a+12>>2]-c>>3>>>0<=b>>>0){a=v[a+4>>2];b=0;if(!a|v[a>>2]){break a}v[a>>2]=130;return 0}b:{c:{d:{a=(b<<3)+c|0;switch(v[a+4>>2]-1|0){case 0:break c;case 1:break d;default:break b}}return v[a>>2]<<16}a=v[a>>2];return((a>>31)+a|0)- -8192>>14}b=v[a>>2]}return b}function XZ(a,b){var c=0,d=0,e=0;a:{if(b>>>0>255){break a}c=v[a+604>>2];c=Ub[v[c+20>>2]](x[v[c+24>>2]+(b<<1)>>1])|0;d=v[a+584>>2];if(!d){break a}e=v[a+580>>2];b=0;while(1){b:{a=v[(b<<2)+e>>2];if(!a|w[a|0]!=w[c|0]){break b}if(mc(a,c)){break b}return b}b=b+1|0;if((d|0)!=(b|0)){continue}break}}return-1}function TVa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=a+116|0;if((c|0)!=(b|0)){d=w[a+127|0];e=d<<24>>24;if(t[b+11|0]>=0){if((e|0)>=0){a=v[c+4>>2];v[b>>2]=v[c>>2];v[b+4>>2]=a;v[b+8>>2]=v[c+8>>2];return 0}Lh(b,v[a+116>>2],v[a+120>>2]);return 0}f=b;b=(e|0)<0;wi(f,b?v[a+116>>2]:c,b?v[a+120>>2]:d)}return 0}function HVa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=a+464|0;if((c|0)!=(b|0)){d=w[a+475|0];e=d<<24>>24;if(t[b+11|0]>=0){if((e|0)>=0){a=v[c+4>>2];v[b>>2]=v[c>>2];v[b+4>>2]=a;v[b+8>>2]=v[c+8>>2];return 0}Lh(b,v[a+464>>2],v[a+468>>2]);return 0}f=b;b=(e|0)<0;wi(f,b?v[a+464>>2]:c,b?v[a+468>>2]:d)}return 0}function FVa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=a+452|0;if((c|0)!=(b|0)){d=w[a+463|0];e=d<<24>>24;if(t[b+11|0]>=0){if((e|0)>=0){a=v[c+4>>2];v[b>>2]=v[c>>2];v[b+4>>2]=a;v[b+8>>2]=v[c+8>>2];return 0}Lh(b,v[a+452>>2],v[a+456>>2]);return 0}f=b;b=(e|0)<0;wi(f,b?v[a+452>>2]:c,b?v[a+456>>2]:d)}return 0}function nra(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Qb-16|0;Qb=c;d=c+12|0;e=Bg(c,d,0,1);v[299999]=0;U(4435,b|0,d|0,c|0);b=v[299999];v[299999]=0;a:{if((b|0)==1){break a}v[299999]=0;Q(4340,a|0,v[c+12>>2])|0;a=v[299999];v[299999]=0;if((a|0)==1){break a}Lc(e);Qb=c+16|0;return}a=P()|0;O()|0;Lc(e);T(a|0);L()}function _0a(a){a=a|0;var b=0,c=0,d=0,e=0;e=v[a>>2];b=v[a+8>>2];if(b){c=v[a+16>>2];d=v[c+4>>2];v[b+108>>2]=v[c>>2];v[b+112>>2]=d;v[b+124>>2]=v[c+16>>2];d=v[c+12>>2];v[b+116>>2]=v[c+8>>2];v[b+120>>2]=d}b=v[a+1512>>2];if(b){Ub[b|0](v[a+1508>>2]);b=v[a+1508>>2];if(b){Ub[v[e+8>>2]](e,b)}v[a+1508>>2]=0}}function P1(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[b+28>>2];a:{if(c){c=c-1|0;v[b+28>>2]=c;if(c){break a}}c=v[b+1144>>2];b:{if(!c){break b}d=v[b+1148>>2];if(!d){break b}Ub[v[a+156>>2]](d,c)}c=v[b+1172>>2];c:{if(!c){break c}d=v[b+1176>>2];if(!d){break c}Ub[v[a+156>>2]](d,c)}Ub[v[a+156>>2]](b,1180)}return 0}function Iz(a,b,c){a=a|0;b=+b;c=c|0;a:{b:{switch(c-3|0){case 0:b=A[a+8>>3]/(b/72);if(b==A[a+24>>3]){break a}A[a+24>>3]=b;return 0;case 3:b=A[a+8>>3]/(b/25.4);if(b==A[a+24>>3]){break a}A[a+24>>3]=b;return 0;case 1:break b;default:break a}}b=A[a+8>>3]/b;if(b==A[a+24>>3]){break a}A[a+24>>3]=b}return 0}function Hfb(a,b){a=a|0;b=b|0;var c=0,d=0;v[a+2336>>2]=b;a:{if(!v[a+200>>2]){break a}c=Ub[v[a+152>>2]](v[b+28>>2]+1|0)|0;if(!c){pc(a,1,0,0);return 1}d=v[b+28>>2];if(d){gc(c,v[b+32>>2],d)}d=Ub[v[a+200>>2]](a,c)|0;Ub[v[a+156>>2]](c,v[b+28>>2]+1|0);if(d){break a}pc(a,904,0,0);return 904}return Tv(a)|0}function z4a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(a){d=v[v[a>>2]+100>>2];while(1){b=e<<2;f=b+a|0;c=v[f+16>>2];if(c){b=v[v[(v[v[b+369488>>2]+4>>2]<<2)+369200>>2]+16>>2];if(b){Ub[b|0](c);c=v[f+16>>2]}if(c){Ub[v[d+8>>2]](d,c)}v[f+16>>2]=0}e=e+1|0;if((e|0)!=87){continue}break}if(a){Ub[v[d+8>>2]](d,a)}}}function mI(a){var b=0,c=0,d=0;a:{if(!a){break a}b=v[a>>2];if(!b){break a}c=v[b+8>>2];v[b+8>>2]=c-1;if((c|0)<=1){c=v[b+12>>2];if(c){d=1;if(v[b+4>>2]>=1){dc(v[c>>2]);if(v[b+4>>2]>=2){while(1){dc(v[v[b+12>>2]+(d<<2)>>2]);d=d+1|0;if((d|0)>2]){continue}break}}c=v[b+12>>2]}dc(c)}dc(b)}v[a>>2]=0}}function RA(a){var b=0,c=0,d=0,e=0,f=0,g=0;if(!v[a+4>>2]){return}e=jc(v[a+52>>2]);if(e){b=xe(a,v[a+20>>2]-1|0);c=xe(a,0);if(v[a+20>>2]>=2){d=v[a+52>>2];while(1){g=gc(e,b,d);b=gc(b,c,d);c=gc(c,g,v[a+52>>2]);d=v[a+52>>2];c=c+d|0;b=b-d|0;f=f+1|0;if((f|0)<(v[a+20>>2]/2|0)){continue}break}}dc(e);R2(a)}}function JAa(a,b,c,d,e,f,g){a=a|0;b=b|0;c=+c;d=+d;e=e|0;f=f|0;g=g|0;var h=0,i=0;v[a+32>>2]=g;A[a+16>>3]=d;A[a+8>>3]=c;v[a>>2]=b;v[a+28>>2]=f;h=a,i=ed(g,4),v[h+24>>2]=i;if(v[a+28>>2]>=1){g=0;while(1){b=g<<2;f=DS(v[b+e>>2]);v[b+v[a+24>>2]>>2]=f;g=g+1|0;if((g|0)>2]){continue}break}}return a|0}function ocb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(v[a+2308>>2]){c=v[a+2312>>2];b=v[a+2316>>2];while(1){d=Ub[v[a+2296>>2]](w[c|0])|0;e=Ub[v[a+2296>>2]](w[c+1|0])|0;t[b+1|0]=(d|0)!=0;t[b|0]=d>>>8;t[b+3|0]=(e|0)!=0;t[b+2|0]=e>>>8;b=b+4|0;c=c+2|0;f=f+1|0;if(f>>>0>2]){continue}break}}return 0}function _I(a){if(!nc(a)){a:{b:{a=nc(a);if((a|0)<=1282306591){if((a|0)==1097754476){break a}if((a|0)!=1148022372){break b}return 4}if((a|0)==1282306592){return 0}if((a|0)!=1382444131){if((a|0)!=1382312992){break b}return 1}return 3}X(3794,6490,865,194303);L()}return 2}X(11805,6490,845,194303);L()}function T4a(a){a=a|0;var b=0,c=0;a:{if(a){b=v[a>>2];if(b){Ub[v[v[b>>2]+4>>2]](b);v[a>>2]=0}b=v[a+4>>2];if(b){c=v[v[b>>2]+12>>2];v[299999]=0;S(c|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}}dc(a)}a=v[293894];if(!(!a|!a)){Ub[v[v[a>>2]+12>>2]](a)|0}v[293894]=0;return}W(0)|0;O()|0;lc();L()}function JNa(){var a=0,b=0;a:{if(v[294171]==2){break a}if(!qz(1176684)){break a}b:{if(v[294170]){break b}b=358460;a=ei(322449);a=a?a:358460;c:{if(!w[a|0]){break c}b=Pg(Bc(a)+2|0);if(!b){break b}b=ce(b,a);a=v[294170];if(!a|!w[a|0]){break c}_e(a)}v[294170]=b;hs(17,2761)}v[294171]=2}return v[294170]}function gib(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Qb-32|0;Qb=c;d=w[a+21|0];e=w[a+20|0];v[c+24>>2]=w[a+22|0];v[c+20>>2]=d;v[c+16>>2]=e;wc(b,47737,c+16|0);a:{b:{switch(w[a+20|0]-1|0){case 0:v[c>>2]=v[a+24>>2];wc(b,48251,c);break a;case 1:break b;default:break a}}$J(b,v[a+28>>2],v[a+32>>2])}Qb=c+32|0}function _ma(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=983792;b=v[a+12>>2];v[a+12>>2]=0;a:{if(!b){break a}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)!=1){if(c){break a}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}}W(0)|0;O()|0;lc();L()}Ti(a);return a|0}function Txa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=Qb-16|0;Qb=c;v[c>>2]=13;zf(a+8|0,c);b=fc(40);d=v[a+24>>2];e=v[a+28>>2];f=v[a+32>>2];a=v[c+4>>2];v[b+8>>2]=v[c>>2];v[b+12>>2]=a;a=v[c+12>>2];v[b+16>>2]=v[c+8>>2];v[b+20>>2]=a;v[b+32>>2]=f;v[b+24>>2]=d;v[b+28>>2]=e;v[b>>2]=962488;Qb=c+16|0;return b|0}function Dqa(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=982340;b=v[a+16>>2];v[a+16>>2]=0;a:{if(!b){break a}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)!=1){if(c){break a}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}}W(0)|0;O()|0;lc();L()}Ti(a);return a|0}function Ce(a,b,c){var d=0,e=0,f=0;d=w[b|0];if(d){e=b;while(1){f=B(f,17)+(d&255)|0;d=w[e+1|0];e=e+1|0;if(d){continue}break}}a:{d=v[v[a+8>>2]+((f>>>0)%((v[a+12>>2]<<1)-1>>>0)<<2)>>2];if(d){while(1){if(!mc(b,v[d>>2])){break a}d=v[d+24>>2];if(d){continue}break}}v[c>>2]=5;return c}return zf(d+8|0,c)}function zT(a){var b=0,c=0;a:{if(v[a+12>>2]>=1){while(1){c=v[a+4>>2];v[299999]=0;R(3098,c+(b<<4)|0);c=v[299999];v[299999]=0;if((c|0)==1){break a}b=b+1|0;if((b|0)>2]){continue}break}}b=v[a+4>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}return a}W(0)|0;O()|0;lc();L()}function yja(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=fc(108);v[299999]=0;e=Q(5082,c|0,b|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){v[c>>2]=989988;d=v[b+96>>2];v[c+92>>2]=v[b+92>>2];v[c+96>>2]=d;d=v[b+104>>2];v[c+100>>2]=v[b+100>>2];v[c+104>>2]=d;v[a>>2]=0;Wc(a,e);return}a=P()|0;O()|0;dc(c);T(a|0);L()}function uX(a){a=a|0;var b=0;v[a>>2]=466916;a:{b=v[a+8>>2];if(b){v[299999]=0;S(2540,b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}}b=v[a+168>>2];if(b){Ub[v[v[b>>2]+4>>2]](b);v[a+168>>2]=0}if(t[a+123|0]<=-1){dc(v[a+112>>2])}XG(a+16|0);return a|0}W(0)|0;O()|0;le(a+112|0);XG(a+16|0);lc();L()}function nA(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}b=t[a|0];e=b&255;if(!e|!(w[(e>>>3|0)+375728|0]>>>(b&7)&1)){break a}while(1){c=65535;if((d&65535)>>>0>6551){break a}c=b+375760|0;b=t[a+1|0];a=a+1|0;d=w[c|0]+B(d,10)|0;c=d;if(w[((b&248)>>>3|0)+375728|0]>>>(b&7)&1){continue}break}}return c&65535}function lYa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{if(b>>>0>65535){break a}e=v[c+288>>2];if((e|0)<1){break a}f=v[c+292>>2];while(1){c=v[(d<<2)+f>>2];b:{if(!c|w[c|0]!=w[a|0]){break b}if((Bc(c)|0)!=(b|0)){break b}if(!Oc(c,a,b)){break a}}d=d+1|0;if((e|0)!=(d|0)){continue}break}d=0}return d|0}function dg(a,b){var c=0,d=0,e=0;c=Qb-16|0;Qb=c;t[c+15|0]=0;v[b>>2]=0;d=v[a+8>>2];a:{b:{e=v[a+20>>2];c:{if(e){if((Ub[e|0](a,d,c+15|0,1)|0)!=1){break b}d=v[a+8>>2];b=c+15|0;break c}if(y[a+4>>2]<=d>>>0){break b}b=v[a>>2]+d|0}b=w[b|0];v[a+8>>2]=d+1;break a}v[b>>2]=85;b=0}Qb=c+16|0;return b<<24>>24}function Pt(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=982100;b=v[a+12>>2];v[a+12>>2]=0;a:{if(!b){break a}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)!=1){if(c){break a}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}}W(0)|0;O()|0;lc();L()}Qc(a);return a|0}function ANa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;c=0;a=v[a+24>>2];a=v[a+36>>2]+(w[a+29|0]<<10)|0;while(1){t[b+c|0]=(v[a+(c<<2)>>2]^-1)>>>31;d=c|1;t[d+b|0]=(v[a+(d<<2)>>2]^-1)>>>31;d=c|2;t[d+b|0]=(v[a+(d<<2)>>2]^-1)>>>31;d=c|3;t[d+b|0]=(v[a+(d<<2)>>2]^-1)>>>31;c=c+4|0;if((c|0)!=256){continue}break}}function vf(a){a=a|0;var b=0,c=0,d=0;b=v[a+596>>2];if(b){dc(FS(b))}b=fc(40);v[b>>2]=0;v[b+28>>2]=0;v[b+32>>2]=16;v[b+8>>2]=0;v[b+12>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[299999]=0;c=Q(3364,16,4)|0;d=v[299999];v[299999]=0;if((d|0)!=1){v[b+24>>2]=c;v[a+596>>2]=b;return}a=P()|0;O()|0;dc(b);T(a|0);L()}function shb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=v[b>>2];v[a+12>>2]=d;d=jc(d<<2);v[a+16>>2]=d;e=-1;a:{if(!d){break a}if(v[b>>2]){while(1){b:{if(!Of(c,d)){if(!Of(c,d+4|0)){break b}}a=v[a+16>>2];if(!a){break a}dc(a);return-1}d=d+8|0;f=f+1|0;if(f>>>0>2]){continue}break}}e=0}return e|0}function qma(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=983924;b=v[a+8>>2];v[a+8>>2]=0;a:{if(!b){break a}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)!=1){if(c){break a}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}}W(0)|0;O()|0;lc();L()}Om(a);return a|0}function k9(){var a=0;a:{b:{c:{if(t[1200188]&1){break c}if(!Je(1200188)){break c}v[299999]=0;ga(5668)|0;a=v[299999];v[299999]=0;if((a|0)==1){break b}v[300046]=1200180;Ie(1200188)}a=v[300046];break a}a=P()|0;O()|0;Pf(1200188);T(a|0);L()}a=v[a>>2];v[300048]=a;v[a+4>>2]=v[a+4>>2]+1;return 1200192}function Tma(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=983872;b=v[a+8>>2];v[a+8>>2]=0;a:{if(!b){break a}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)!=1){if(c){break a}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}}W(0)|0;O()|0;lc();L()}Qc(a);return a|0}function Pr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=w[b|0];if(d){e=b;while(1){f=B(f,17)+(d&255)|0;d=w[e+1|0];e=e+1|0;if(d){continue}break}}d=v[v[a>>2]+((f>>>0)%y[a+4>>2]<<2)>>2];if(d){while(1){if(!mc(v[d>>2],b)){u[c>>1]=x[d+4>>1];return 1}d=v[d+8>>2];if(d){continue}break}}u[c>>1]=0;return 0}function Pc(a,b,c){var d=0,e=0;a:{b:{if(c>>>0>=4){if((a|b)&3){break b}while(1){if(v[a>>2]!=v[b>>2]){break b}b=b+4|0;a=a+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(!c){break a}}while(1){d=w[a|0];e=w[b|0];if((d|0)==(e|0)){b=b+1|0;a=a+1|0;c=c-1|0;if(c){continue}break a}break}return d-e|0}return 0}function Mea(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=996308;b=v[a+8>>2];v[a+8>>2]=0;a:{if(!b){break a}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)!=1){if(c){break a}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}}W(0)|0;O()|0;lc();L()}Qc(a);return a|0}function M$(a,b){var c=0,d=0,e=0,f=0,g=C(0),h=C(0);c=Qb-16|0;Qb=c;a:{if(!a|!b){break a}d=b?v[b>>2]:0;if((d|0)<=0){break a}e=d-1|0;if((d|0)<=(e|0)|(e|0)<0){break a}while(1){Y$(b,f,c+12|0,c+8|0);g=C(v[c+12>>2]);h=C(v[c+8>>2]);if(a){Bl(a,g,h)}d=(f|0)!=(e|0);f=f+1|0;if(d){continue}break}}Qb=c+16|0}function Loa(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=983248;b=v[a+8>>2];v[a+8>>2]=0;a:{if(!b){break a}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)!=1){if(c){break a}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}}W(0)|0;O()|0;lc();L()}Qc(a);return a|0}function LWa(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[a+12>>2];if(c){Ub[v[v[c>>2]+12>>2]](c)|0;v[a+12>>2]=0}if(!b){b=fc(176);v[299999]=0;c=S(2152,b|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){v[a+12>>2]=b;Ub[v[v[b>>2]+64>>2]](c);return}a=P()|0;O()|0;dc(b);T(a|0);L()}v[a+12>>2]=b;Ub[v[v[b>>2]+8>>2]](b)|0}function $ra(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=981352;b=v[a+8>>2];v[a+8>>2]=0;a:{if(!b){break a}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)!=1){if(c){break a}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}}W(0)|0;O()|0;lc();L()}Qc(a);return a|0}function Vw(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=998096;b=v[a+8>>2];v[a+8>>2]=0;a:{if(!b){break a}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)!=1){if(c){break a}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}}W(0)|0;O()|0;lc();L()}Qc(a);return a|0}function S2(a){var b=0,c=0,d=0;c=3;a:{b=v[a+20>>2]-8|0;b:{if(b){if((b|0)==16){break b}break a}c=1;b=v[a+40>>2];if((b|0)<1){break b}a=v[a+48>>2];while(1){c=v[a>>2];if((c|0)!=v[a+4>>2]){return 3}if((c|0)!=v[a+8>>2]){return 3}a=a+16|0;c=1;d=(b|0)>1;b=b-1|0;if(d){continue}break}}return c}ia();L()}function O1a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a=v[a+16>>2];d=x[a+2>>1];a:{if(d+(x[a+6>>1]<<8)>>>0>>0){break a}c=x[a>>1];f=x[a+4>>1];if(c+(f<<8)>>>0>b>>>0){break a}e=b&255;if(e>>>0>>0|d>>>0>>0){break a}g=x[v[a+12>>2]+((e-c|0)+B((d-c|0)+1|0,(b>>>8&65535)-f|0)<<1)>>1]}return g|0}function Ij(a,b,c,d){var e=0;e=Qb-32|0;Qb=e;a:{if(a){if(v[a+172>>2]==-1?v[a+212>>2]:0){break a}v[a+84>>2]=b;v[e+20>>2]=0;v[e+16>>2]=d;oc(0,0,0,a,0,1,b,3,d,0,0,0,c,e+16|0);v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1;break a}v[e+4>>2]=0;v[e>>2]=d;oc(0,0,0,0,0,1,b,3,d,0,0,0,c,e)}Qb=e+32|0}function B7a(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1665684045){pc(a,2050,0,0);return 2050}t[b+32|0]=w[c+32|0];v[b+36>>2]=v[c+36>>2];v[b+40>>2]=v[c+40>>2];v[b+44>>2]=v[c+44>>2];v[b+48>>2]=v[c+48>>2];v[b+52>>2]=v[c+52>>2];v[b+56>>2]=v[c+56>>2];v[b+60>>2]=v[c+60>>2];v[b+64>>2]=v[c+64>>2];return 0}function vxa(a){a=a|0;var b=0,c=0;b=v[a+8>>2];a:{b:{if(b){a=v[b+36>>2];if((a|0)>=v[b+28>>2]){if(!Fr(b)){return-1}a=v[b+36>>2]}a=v[b+32>>2]+a|0;break b}c=-1;if(v[a+16>>2]){break a}b=v[a+53312>>2];if((b|0)>=v[a+53308>>2]){if(!Zx(a)){break a}b=v[a+53312>>2]}a=(a+b|0)+49208|0}c=w[a|0]}return c|0}function k$(a,b){var c=0,d=0,e=0;c=Qb-16|0;Qb=c;d=v[a+36>>2];a:{if(!d){break a}d=v[d+28>>2];b=kA(a+36|0,b,c+12|0,c+8|0);v[c+4>>2]=b;if(b){break a}b=v[c+8>>2];e=Fd(d,b+1|0,c+4|0);if(!v[c+4>>2]){if(b){gc(e,v[c+12>>2],b)}t[b+e|0]=0}if(v[a+68>>2]){break a}nf(v[a+36>>2],c+12|0)}Qb=c+16|0;return e}function Nc(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{b:{c:{d:{d=v[a>>2];if(d){a=0;if(!c){break a}d=v[d+12>>2];if(!d|!w[d|0]){break c}a=1;if(!b|!w[b|0]){break a}if((c|0)<1){break d}return Oc(d,b,c)|0}a=0;if(!c){break a}if(b){break b}break a}return mc(d,b)|0}if(!b){break a}}a=w[b|0]?-1:0}return a|0}function M0a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=v[a+12>>2];a:{if((u[d+22>>1]+u[d+58>>1]|0)+1>>>0>y[d+4>>2]){d=xg(d,1,0);if(d){break a}}d=v[a+20>>2];if(w[a+65|0]){a=v[d+8>>2];e=u[d+2>>1];f=v[d+4>>2]+(e<<3)|0;v[f+4>>2]=c>>10;v[f>>2]=b>>10;t[a+e|0]=1}u[d+2>>1]=x[d+2>>1]+1;d=0}return d|0}function Be(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=v[a+76>>2]>=0;d=v[a>>2]&1;if(!d){b=v[a+52>>2];if(b){v[b+56>>2]=v[a+56>>2]}c=v[a+56>>2];if(c){v[c+52>>2]=b}if(v[299454]==(a|0)){v[299454]=c}}b=Qi(a);c=Ub[v[a+12>>2]](a)|0;e=v[a+96>>2];if(e){dc(e)}a:{if(!d){dc(a);break a}if(!f){break a}}return b|c}function APa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Qb-16|0;Qb=c;d=v[a+180>>2];a:{if(!d){break a}if(mn(d,b,40970)){break a}v[c+12>>2]=0;if(y_(v[v[a+180>>2]+84>>2],c+12|0)){break a}b=v[a+180>>2];d=x[b+68>>1];e=A[a+184>>3];a=v[v[b+84>>2]+56>>2];z_(v[c+12>>2]);e=e*+(a|0)/+(d>>>0)}Qb=c+16|0;return+e}function $n(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;v[a+8>>2]=13;v[a>>2]=962040;f=v[e+4>>2];v[a+8>>2]=v[e>>2];v[a+12>>2]=f;f=v[e+12>>2];v[a+16>>2]=v[e+8>>2];v[a+20>>2]=f;v[a+44>>2]=0;e=b+c|0;v[a+40>>2]=e;v[a+36>>2]=d+e;v[a+32>>2]=d;v[a+28>>2]=c;v[a+24>>2]=b;v[a>>2]=962372;return a|0}function pra(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=982100;b=v[a+12>>2];v[a+12>>2]=0;a:{if(!b){break a}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)!=1){if(c){break a}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}}W(0)|0;O()|0;lc();L()}Qc(a);dc(a)}function kdb(a){a=a|0;var b=0,c=0,d=0,e=0;b=v[a+588>>2];if((b|0)>=1){c=v[a+644>>2];b=b-1|0;d=c+B(b,3)|0;b=c+B(b,6)|0;c=0;while(1){t[b+5|0]=0;e=w[d+2|0];t[b+3|0]=0;t[b+4|0]=e;e=w[d+1|0];t[b+1|0]=0;t[b+2|0]=e;t[b|0]=w[d|0];b=b-6|0;d=d-3|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function Zp(a,b){var c=0,d=0,e=0;c=Qb-32|0;Qb=c;d=v[b>>2];a:{if((d|0)>=1048577){v[c>>2]=348278;oc(0,0,0,0,0,30,2,3,348278,0,0,0,350051,c);break a}d=d<<1;a=Ub[v[259709]](a,d|1)|0;if(!a){v[c+16>>2]=355204;oc(0,0,0,0,0,30,2,3,355204,0,0,0,350051,c+16|0);break a}v[b>>2]=d;e=a}Qb=c+32|0;return e}function Zma(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=983792;b=v[a+12>>2];v[a+12>>2]=0;a:{if(!b){break a}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)!=1){if(c){break a}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}}W(0)|0;O()|0;lc();L()}Ti(a);dc(a)}function Rwa(a){a=a|0;var b=0;b=v[a+8>>2];if(!b){if(!v[a+32784>>2]){while(1){if(!(!v[a+34092>>2]|!v[a+34096>>2])){return-1}Yx(a);if(!v[a+32784>>2]){continue}break}}return w[(v[a+32780>>2]+a|0)+12|0]}a=v[b+36>>2];if((a|0)>=v[b+28>>2]){if(!Fr(b)){return-1}a=v[b+36>>2]}return w[v[b+32>>2]+a|0]}function Q2(a,b,c){var d=0;a:{if((b|0)==1){d=32768;if(!c){break a}}b:{if((c|0)<1|b|(c|0)>65534){break b}c:{switch(a-3|0){case 2:d=c-1|0;if(d>>>0>=3){break b}break a;case 0:d=0;if((c|0)!=1){break b}break a;default:return c-1&32767;case 1:break c}}d=c-1|0;if(d>>>0<3){break a}}d=65536}return d}function Cqa(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=982340;b=v[a+16>>2];v[a+16>>2]=0;a:{if(!b){break a}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)!=1){if(c){break a}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}}W(0)|0;O()|0;lc();L()}Ti(a);dc(a)}function $xa(a){a=a|0;var b=0;v[a>>2]=962372;a:{b:{if(v[a+44>>2]){b=v[a+24>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break b}}v[a>>2]=962040;v[299999]=0;R(3098,a+8|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}dc(a);return}W(0)|0;O()|0;nE(a);lc();L()}W(0)|0;O()|0;lc();L()}function zD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{if((c|0)<1){break a}c=c-1|0;if(!d){while(1){Vn(a,b);v[a+24>>2]=v[b+24>>2];b=b+28|0;a=a+28|0;d=(c|0)>0;c=c-1|0;if(d){continue}break a}}while(1){Vn(a,b);v[a+24>>2]=v[b+24>>2];ec(b+16|0);b=b+28|0;a=a+28|0;d=(c|0)>0;c=c-1|0;if(d){continue}break}}}function ei(a){var b=0,c=0,d=0,e=0;e=Bc(a);a:{if(!v[299997]|!w[a|0]){break a}if(af(a,61)){break a}b=v[v[299997]>>2];if(!b){break a}b:{while(1){d=Oc(a,b,e);b=v[299997];if(!d){d=v[b+(c<<2)>>2]+e|0;if(w[d|0]==61){break b}}c=c+1|0;b=v[b+(c<<2)>>2];if(b){continue}break}return 0}c=d+1|0}return c}function pma(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=983924;b=v[a+8>>2];v[a+8>>2]=0;a:{if(!b){break a}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)!=1){if(c){break a}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}}W(0)|0;O()|0;lc();L()}Om(a);Wk(a)}function c1a(a){a=a|0;var b=0,c=0;b=v[a+20>>2];if(!b){return 3}a:{b:{if(w[a+68|0]){a=v[a+12>>2];if((u[a+20>>1]+u[a+56>>1]|0)+1>>>0>y[a+8>>2]){a=xg(a,0,1);if(a){break a}}c=x[b>>1];a=c<<16>>16;if((a|0)<1){break b}u[(v[b+12>>2]+(c<<1)|0)-2>>1]=x[b+2>>1]-1}a=x[b>>1]}u[b>>1]=a+1;a=0}return a|0}function aya(a){a=a|0;var b=0;v[a>>2]=962372;a:{b:{if(v[a+44>>2]){b=v[a+24>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break b}}v[a>>2]=962040;v[299999]=0;R(3098,a+8|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}return a|0}W(0)|0;O()|0;nE(a);lc();L()}W(0)|0;O()|0;lc();L()}function _ra(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=981352;b=v[a+8>>2];v[a+8>>2]=0;a:{if(!b){break a}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)!=1){if(c){break a}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}}W(0)|0;O()|0;lc();L()}Qc(a);dc(a)}function Ze(a){var b=0;b=v[a+16>>2];if(b){dc(b)}b=v[a+20>>2];if(b){dc(b)}v[a>>2]=0;v[a+4>>2]=0;t[a+40|0]=0;v[a+32>>2]=0;v[a+36>>2]=-1074790400;t[a+21|0]=0;t[a+22|0]=0;t[a+23|0]=0;t[a+24|0]=0;t[a+25|0]=0;t[a+26|0]=0;t[a+27|0]=0;t[a+28|0]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0}function Sma(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=983872;b=v[a+8>>2];v[a+8>>2]=0;a:{if(!b){break a}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)!=1){if(c){break a}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}}W(0)|0;O()|0;lc();L()}Qc(a);dc(a)}function Lea(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=996308;b=v[a+8>>2];v[a+8>>2]=0;a:{if(!b){break a}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)!=1){if(c){break a}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}}W(0)|0;O()|0;lc();L()}Qc(a);dc(a)}function Koa(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=983248;b=v[a+8>>2];v[a+8>>2]=0;a:{if(!b){break a}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)!=1){if(c){break a}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}}W(0)|0;O()|0;lc();L()}Qc(a);dc(a)}function CN(a){var b=0,c=0,d=0,e=0,f=0;b=v[a+40>>2];c=Ub[b|0](a,0,0,w[a|0]&128?y[a+20>>2]>y[a+28>>2]?2:1:1)|0;b=Tb;d=b;if((b|0)>0|(b|0)>=0){e=v[a+20>>2]-v[a+28>>2]|0;a=v[a+8>>2]-v[a+4>>2]|0;f=c-a|0;b=e+f|0;a=(d-((a>>31)+(c>>>0>>0)|0)|0)+(e>>31)|0;c=b;d=b>>>0>>0?a+1|0:a}Tb=d;return c}function B_a(a,b){a=a|0;b=b|0;var c=0;a:{switch(b|0){case 0:return a+160|0;case 3:return a+216|0;case 4:return(w[a+292|0]?a+296|0:0)|0;case 2:return(x[a+372>>1]==65535?0:a+372|0)|0;case 5:return a+476|0;case 1:return a+260|0;case 6:c=v[a+568>>2]?a+568|0:0;break;default:break a}}return c|0}function nhb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Qb-16|0;Qb=c;v[c>>2]=v[a+12>>2];wc(b,59537,c);e=v[a+16>>2];a:{if(e){f=v[a+20>>2];while(1){if(w[d+f|0]-32>>>0>=95){break a}d=d+1|0;if((e|0)!=(d|0)){continue}break}}Rc(59709,7,1,b);Rc(v[a+20>>2],1,v[a+16>>2],b);ff(10,b)}Qb=c+16|0;return 0}function ji(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=v[a>>2]+(b<<2)|0;f=v[c>>2];e=v[a+8>>2];d=e-1|0;if((d|0)>(b|0)){Wd(c,c+4|0,(b^-1)+e<<2);d=v[a+8>>2]-1|0}v[a+8>>2]=d;c=v[a+12>>2];b=v[a+4>>2];c=(c|0)>0?c:(b|0)/2|0;if((c|0)<=(b-d|0)){b=b-c|0;v[a+4>>2]=b;g=a,h=pd(v[a>>2],b,4),v[g>>2]=h}return f}function aA(a,b,c){var d=0,e=0,f=0,g=0;e=Qb-16|0;Qb=e;d=0;a:{if(!a){break a}f=v[a+92>>2];d=0;if(!f){break a}d=0;if(!v[a+16>>2]){break a}v[e+12>>2]=b;while(1){g=Ub[v[v[f+12>>2]+16>>2]](f,e+12|0)|0;if(g>>>0>=y[a+16>>2]){continue}break}d=g?v[e+12>>2]:0}a=d;if(c){v[c>>2]=g}Qb=e+16|0;return a}function YN(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=998096;b=v[a+8>>2];v[a+8>>2]=0;a:{if(!b){break a}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)!=1){if(c){break a}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}}W(0)|0;O()|0;lc();L()}Qc(a);dc(a)}function IY(a,b,c){var d=0,e=0,f=0;e=c-b>>2;if(e>>>0<4294967280){a:{if(e>>>0<=10){t[a+11|0]=e;d=a;break a}f=e+16&-16;d=fc(f);v[a+8>>2]=f|-2147483648;v[a>>2]=d;v[a+4>>2]=e}if((b|0)!=(c|0)){while(1){t[d|0]=v[b>>2];d=d+1|0;b=b+4|0;if((c|0)!=(b|0)){continue}break}}t[d|0]=0;return a}$d(a);L()}function ucb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(v[a+2308>>2]){d=v[a+2312>>2];b=v[a+2316>>2];while(1){e=Ub[v[a+2296>>2]](w[d|0])|0;c=e>>>8|0;t[b+4|0]=c;t[b+2|0]=c;t[b|0]=c;c=(e|0)!=0;t[b+5|0]=c;t[b+3|0]=c;t[b+1|0]=c;b=b+6|0;d=d+1|0;f=f+1|0;if(f>>>0>2]){continue}break}}return 0}function sAa(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=936752;b=v[a+8>>2];if(b){while(1){d=v[v[a+12>>2]+(c<<2)>>2];if(d){Ub[v[v[d>>2]+4>>2]](d);b=v[a+8>>2]}c=c+1|0;if(b>>>0>c>>>0){continue}break}}b=v[a+12>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)!=1){return a|0}W(0)|0;O()|0;lc();L()}function iva(a,b){a=a|0;b=b|0;var c=0,d=0;c=Qb-16|0;Qb=c;b=v[v[b+4>>2]+8>>2];t[c+11|0]=0;v[c>>2]=0;d=v[v[b>>2]+12>>2];v[299999]=0;U(d|0,a|0,b|0,c|0);a=v[299999];v[299999]=0;if((a|0)!=1){if(t[c+11|0]<=-1){dc(v[c>>2])}Qb=c+16|0;return}a=P()|0;O()|0;if(t[c+11|0]<=-1){dc(v[c>>2])}T(a|0);L()}function e5(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;Ub[v[v[a+584>>2]+908>>2]](a,b,c);e=b;b=v[b>>2];d=x[a+204>>1]<<3;if(b>>>0<0-d>>>0){b=((b+d|0)-1>>>0)/(d>>>0)|0}else{b=0}v[e>>2]=B(b,d);b=c;e=b;c=v[b>>2];a=x[a+206>>1]<<3;if(c>>>0<0-a>>>0){b=((a+c|0)-1>>>0)/(a>>>0)|0}else{b=0}v[e>>2]=B(b,a)}function c4(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;a:{b:{e=v[a+584>>2];if(e){f=v[e+28>>2];if(!f){break b}if(!v[e+40>>2]){break a}if(!(Ub[f|0](a,b,c,d)|0)){return 0}Ub[v[e+40>>2]](a,b,c);return 1}X(16309,6354,393,187966);L()}X(36544,6354,394,187966);L()}X(37911,6354,395,187966);L()}function br(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=Qb-16|0;Qb=c;g=a;h=a;a:{if(!b){b=0;e=0;break a}d=b;b=E(b);Oh(c,d,0,0,0,b+81|0);d=0+v[c+8>>2]|0;b=(v[c+12>>2]^65536)+(16414-b<<16)|0;b=d>>>0>>0?b+1|0:b;f=d;d=b;b=v[c+4>>2];e=v[c>>2]}v[h>>2]=e;v[g+4>>2]=b;v[a+8>>2]=f;v[a+12>>2]=d;Qb=c+16|0}function _g(a){var b=0,c=0,d=0;a:{if(v[a+60>>2]){break a}b=v[a+972>>2];if(!b){break a}c=v[a+356>>2];b:{if((c|0)>0){while(1){b=v[(d<<2)+b>>2];if(b){Ub[v[v[b>>2]+4>>2]](b);c=v[a+356>>2]}b=v[a+972>>2];d=d+1|0;if((d|0)<(c|0)){continue}break}if(!b){break b}}dc(b)}v[a+356>>2]=0;v[a+972>>2]=0}}function J$(a,b,c){var d=0;d=Qb-16|0;Qb=d;a:{b:{c:{d:{if(!b|!c|((b?v[b+8>>2]:-1)|0)!=1){break d}vq(c,d+12|0,d+8|0,0,0);if(!v[d+12>>2]|!v[d+8>>2]){break d}if(a){break c}a=Hs(b)}if(a){break b}a=0;break a}BI(a,b)}b=Ek(0,b,c);v[d+4>>2]=b;if(!b){break a}Dk(a,b,c);dd(d+4|0)}Qb=d+16|0;return a}function E8(a){a=a|0;var b=0,c=0;b=v[a+8>>2];v[299999]=0;b=Z(5680,0,0,4,b|0)|0;c=v[299999];v[299999]=0;a:{if((c|0)==1){break a}if(b){a=-1}else{a=v[a+8>>2];if(!a){return 1}v[299999]=0;a=S(5681,a|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}a=(a|0)==1}return a|0}W(0)|0;O()|0;lc();L()}function tra(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;f=v[a+16>>2]-d|0;f=(c|0)>(f|0)?f:c;if((f|0)<1){return 0}c=f;while(1){g=d&4095;h=d>>12;e=((d|4095)-d|0)+1|0;e=(c|0)<(e|0)?c:e;d=d+e|0;b=gc(b,v[v[a+24>>2]+(h<<2)>>2]+g|0,e)+e|0;c=c-e|0;if((c|0)>0){continue}break}return f|0}function nga(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;v[a+24>>2]=0;v[a+8>>2]=c;v[a+4>>2]=b;v[a>>2]=0;c=c+31&-32;v[a+16>>2]=c;b=b+31&-32;v[a+12>>2]=b;c=B(b,c);b=(c|0)/1024|0;v[a+20>>2]=b;d=b<<4;b=fc((b|0)!=(b&268435455)?-1:d);if((c|1023)>>>0>=2047){ic(b,0,d)}v[a+28>>2]=4080;v[a>>2]=b;return a|0}function kI(a,b){var c=0,d=0;a:{if(!a){break a}c=v[a>>2];if(!c){break a}b:{if(!b){break b}d=v[c+4>>2];if((d|0)<1){break b}while(1){d=d-1|0;v[c+4>>2]=d;dc(v[v[c+8>>2]+(d<<2)>>2]);d=v[c+4>>2];if((d|0)>0){continue}break}}if(v[c+12>>2]){kI(c+12|0,b)}b=v[c+8>>2];if(b){dc(b)}dc(c);v[a>>2]=0}}function i8a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=v[b+40>>2];d=v[a+428>>2];c=v[b+32>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+8|0]=c;t[d+9|0]=c>>>8;t[d+10|0]=c>>>16;t[d+11|0]=c>>>24;t[d+12|0]=w[b+36|0];c=v[b+40>>2];if(c){gc(d+13|0,v[b+44>>2],c)}return _d(a,v[b>>2],e+5|0,d+8|0)|0}function aib(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=Qb-32|0;Qb=c;v[c+16>>2]=v[a+20>>2];wc(b,49263,c+16|0);if(v[a+20>>2]){while(1){e=v[a+24>>2]+(d<<3)|0;f=v[e>>2];g=w[e+4|0];v[c+8>>2]=w[e+5|0];v[c+4>>2]=g;v[c>>2]=f;wc(b,49718,c);d=d+1|0;if(d>>>0>2]){continue}break}}Qb=c+32|0}function Fo(a){var b=0,c=0;v[a+20>>2]=0;v[a+36>>2]=0;v[a+48>>2]=0;b=v[a+24>>2];v[a+56>>2]=v[a+20>>2];v[a+60>>2]=b;c=v[a+32>>2];b=a- -64|0;v[b>>2]=v[a+28>>2];v[b+4>>2]=c;v[a+88>>2]=v[a+52>>2];b=v[a+40>>2];v[a+72>>2]=v[a+36>>2];v[a+76>>2]=b;b=v[a+48>>2];v[a+80>>2]=v[a+44>>2];v[a+84>>2]=b}function vY(a){var b=0,c=0,d=0,e=0;b=v[a+4>>2];if(b){c=b-1|0;v[a+4>>2]=c;d=v[a+12>>2]+(b<<2)|0;while(1){e=a;d=d-4|0;b=v[d>>2];if(b){dc(b);b=v[a+4>>2]}else{b=c}c=b-1|0;v[e+4>>2]=c;if(b){continue}break}b=v[a+12>>2];if(b){dc(b)}v[a>>2]=0;v[a+4>>2]=0;v[a+16>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0}}function opa(a){a=a|0;var b=0,c=0;b=fc(28);v[b+12>>2]=0;v[b+16>>2]=0;v[b>>2]=983e3;v[b+4>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[299999]=0;c=b+12|0;v[c>>2]=982500;v[c+4>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;c=v[299999];v[299999]=0;if((c|0)==1){a=P()|0;O()|0;Qc(b);dc(b);T(a|0);L()}v[a>>2]=0;Wc(a,b)}function lk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if(!((b|0)<0|(c|0)<1|(2147483647-c|0)<(b|0))){d=v[a>>2];e=(d|0)<(b+c|0)?d-b|0:c;c=d-e|0;if((c|0)>=(b|0)){while(1){c=v[a+4>>2];t[c+b|0]=w[c+(b+e|0)|0];c=v[a>>2]-e|0;d=(c|0)>(b|0);b=b+1|0;if(d){continue}break}}v[a>>2]=c;Ng(a,c)}return a|0}function j7a(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1129074510){pc(a,2050,0,0);return 2050}u[b+32>>1]=x[c+32>>1];u[b+34>>1]=x[c+34>>1];t[b+36|0]=w[c+36|0];t[b+37|0]=w[c+37|0];t[b+38|0]=w[c+38|0];t[b+39|0]=w[c+39|0];t[b+40|0]=w[c+40|0];v[b+44>>2]=v[c+44>>2];v[b+48>>2]=v[c+48>>2];return 0}function Yl(a,b,c){var d=0,e=0,f=0,g=0;d=v[a+8>>2];e=v[a+4>>2];if((d|0)>=(e|0)){d=v[a+12>>2];d=e+((d|0)>0?d:e)|0;v[a+4>>2]=d;f=a,g=pd(v[a>>2],d,4),v[f>>2]=g;d=v[a+8>>2]}b=(b|0)>0?b:0;if((b|0)<(d|0)){e=v[a>>2]+(b<<2)|0;Wd(e+4|0,e,d-b<<2);d=v[a+8>>2]}v[v[a>>2]+(b<<2)>>2]=c;v[a+8>>2]=d+1}function Kgb(a){a=a|0;var b=0,c=0,d=0;if(v[a+4>>2]==16){d=v[v[a+44>>2]+88>>2]+B(v[a+8>>2],1876)|0}else{d=v[a+36>>2]}c=v[a+40>>2];b=v[a+52>>2];Ub[v[v[b>>2]+20>>2]](b,2)|0;c=Ub[v[v[b>>2]+20>>2]](b,v[c+16>>2]<257?1:2)|0;b=Ub[v[v[b>>2]+20>>2]](b,1)|0;v[v[d+1872>>2]+B(c,1076)>>2]=b;_1(a,c)}function wra(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;v[a>>2]=982056;b=v[a+20>>2];if((b|0)>=1){while(1){c=v[a+24>>2];e=d<<2;f=v[c+e>>2];if(f){dc(f);c=v[a+24>>2];b=v[a+20>>2]}v[c+e>>2]=0;d=d+1|0;if((d|0)<(b|0)){continue}break}}v[a+20>>2]=0;v[a+12>>2]=0;v[a+16>>2]=0;Lc(a+28|0);Qc(a);return a|0}function VW(a){a=a|0;v[a+272>>2]=0;v[a+276>>2]=0;v[a+264>>2]=0;v[a+256>>2]=0;v[a+260>>2]=0;v[a+320>>2]=0;v[a+324>>2]=0;v[a+344>>2]=0;v[a+348>>2]=0;v[a+280>>2]=0;v[a+284>>2]=0;v[a+288>>2]=0;v[a+292>>2]=0;v[a+296>>2]=0;v[a+328>>2]=0;v[a+332>>2]=0;v[a+336>>2]=64;v[a+340>>2]=0;return a|0}function Sh(a){var b=0,c=0;if(a){b=v[a+4>>2];if(b){Ub[v[259708]](b)}b=v[a+8>>2];if(b){Ub[v[259708]](b)}b=v[a+44>>2];if(b){Ub[v[259708]](b)}b=v[a+48>>2];if(b){Ub[v[259708]](b)}b=v[a+40>>2];a:{if(!b){break a}c=v[a+12>>2];if(!c){break a}Ub[b|0](c)}b=v[a>>2];if(b){cm(b)}Ub[v[259708]](a)}}function Haa(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;c=Qb-128|0;Qb=c;v[c+12>>2]=c+116;d=a+8|0;a=c+16|0;dM(d,a,c+12|0,e,f,g);e=v[c+12>>2];d=Qb-16|0;Qb=d;v[d+8>>2]=b;while(1){if((a|0)!=(e|0)){RM(d+8|0,t[a|0]);a=a+1|0;continue}break}Qb=d+16|0;Qb=c+128|0;return v[d+8>>2]}function GYa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=v[a+736>>2];a:{b:{if(f){if(b){v[b>>2]=v[f>>2]}if(c){v[c>>2]=v[f+4>>2]}if(d){v[d>>2]=v[v[a+736>>2]+8>>2]}if(!e){break a}a=v[v[a+736>>2]+12>>2];break b}if(b){v[b>>2]=0}if(c){v[c>>2]=0}a=0;if(!e){break a}}v[e>>2]=a}return 0}function $c(a){a=a|0;var b=0,c=0;v[a+24>>2]=981312;v[a>>2]=981280;b=v[a+28>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Ub[v[v[b>>2]+4>>2]](b)}v[a+28>>2]=0}v[a+16>>2]=981312;b=v[a+20>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Ub[v[v[b>>2]+4>>2]](b)}v[a+20>>2]=0}ec(a+8|0);return a|0}function xAa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;v[a+12>>2]=d;v[a+8>>2]=c;v[a>>2]=936712;v[a+4>>2]=b;b=c+7>>3;v[a+16>>2]=b;if(!(!((c|0)<1|(d|0)<1)&(2147483646/(b|0)|0)>(d|0))){v[a+12>>2]=-1;v[a+16>>2]=2;d=-1;b=2}b=Fj(B(b,d)+1|0);v[a+20>>2]=b;t[b+B(v[a+16>>2],v[a+12>>2])|0]=0;return a|0}function tS(a){var b=0,c=0,d=0,e=0;a:{if(!v[a+36>>2]){break a}b=v[a+32>>2];if((b|0)<1){break a}c=1;while(1){v[a+40>>2]=-1;if(c){v[a+32>>2]=b-1}v[a+28>>2]=v[a+28>>2]+1;b=v[a+24>>2];d=a,e=Ub[v[v[b>>2]+28>>2]](b)&255,v[d+40>>2]=e;b=v[a+32>>2];if((b|0)<1){break a}c=v[a+36>>2];continue}}}function lR(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=v[b>>2];if((f|0)<(v[a>>2]-1|0)){j=1;h=v[a+4>>2];d=h+f|0;e=w[d+1|0];i=w[d|0];g=f+2|0;v[b>>2]=g;e=e|i<<8;if(!((i&248)!=216|(v[a>>2]-1|0)<=(g|0))){a=w[d+3|0];d=w[g+h|0];v[b>>2]=f+4;e=((a|d<<8)+(e<<10)|0)-56613888|0}v[c>>2]=e}return j}function kn(a,b,c){var d=0,e=0,f=0,g=0;e=Bc(b)+Bc(c)|0;d=e+1|0;a:{b:{if(e>>>0>=2147483647){a=0;if(!d){break b}break a}a=Ub[v[a+4>>2]](a,d)|0;if(!a){return 0}ic(a,0,d)}d=Jm(b,47);c:{if(d){e=b;b=(d-b|0)+1|0;f=Xc(a,e,b)+b|0,g=0,t[f|0]=g;b=d+1|0;break c}t[a|0]=0}a=KC(KC(a,c),b)}return a}function kR(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=v[b>>2];if((f|0)<(v[a>>2]-1|0)){h=v[a+4>>2];d=h+f|0;e=w[d|0];j=1;i=w[d+1|0];g=f+2|0;v[b>>2]=g;e=e|i<<8;if(!((i&248)!=216|(v[a>>2]-1|0)<=(g|0))){a=w[g+h|0];d=w[d+3|0];v[b>>2]=f+4;e=((a|d<<8)+(e<<10)|0)-56613888|0}v[c>>2]=e}return j}function ie(a){var b=0,c=0;c=v[a+12>>2];a:{if((c|0)==v[a+8>>2]){a=v[a+4>>2];b=0;if(!a|v[a>>2]){break a}v[a>>2]=161;return 0}b=a;a=c-8|0;v[b+12>>2]=a;b:{switch(v[a+4>>2]-1|0){case 1:return v[a>>2]<<16;case 0:a=v[a>>2];return((a>>31)+a|0)- -8192>>14;default:break b}}b=v[a>>2]}return b}function f1(a,b,c){var d=0,e=0;a:{b:{if(b){while(1){d=yg(a,x[c>>1]);if(d){d=ZA(a,d);if(d){break a}}c=c+2|0;e=e+1|0;if((e|0)!=(b|0)){continue}break}break b}c=v[a+688>>2];if(!c){break b}while(1){b=v[c+8>>2];if(!w[c+30|0]){d=ZA(a,c);if(d){break a}}c=b;if(c){continue}break}}d=0}return d}function _l(a,b,c,d,e){var f=0;f=Qb-32|0;Qb=f;a:{if(a){if(v[a+172>>2]==-1?v[a+212>>2]:0){break a}v[a+84>>2]=b;v[f+24>>2]=0;v[f+20>>2]=e;v[f+16>>2]=d;oc(0,0,0,a,0,3,b,2,d,e,0,0,c,f+16|0);v[a+356>>2]=0;break a}v[f+8>>2]=0;v[f+4>>2]=e;v[f>>2]=d;oc(0,0,0,0,0,3,b,2,d,e,0,0,c,f)}Qb=f+32|0}function Maa(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,h=0,i=0;g=a;h=b;b=Ub[v[v[a+8>>2]+20>>2]](a+8|0)|0;a=b;if(w[b+11|0]>>>7|0){a=v[a>>2]}i=a;if(w[b+11|0]>>>7|0){a=v[b>>2]}else{a=b}if(w[b+11|0]>>>7|0){b=v[b+4>>2]}else{b=w[b+11|0]}return Gm(g,h,c,d,e,f,i,a+(b<<2)|0)|0}function LE(a,b){var c=0;c=v[a+424>>2];if(c){Ub[v[v[c>>2]+4>>2]](c)}v[a+424>>2]=v[b>>2];c=v[a+428>>2];if(c){Ub[v[v[c>>2]+4>>2]](c)}v[a+428>>2]=v[b+4>>2];c=v[a+432>>2];if(c){Ub[v[v[c>>2]+4>>2]](c)}v[a+432>>2]=v[b+8>>2];c=v[a+436>>2];if(c){Ub[v[v[c>>2]+4>>2]](c)}v[a+436>>2]=v[b+12>>2]}function F0a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{if(b>>>0>255){break a}b=Ub[v[a+20>>2]](x[v[a+16>>2]+(b<<1)>>1])|0;d=v[a+24>>2];if(!d){break a}e=v[a+28>>2];while(1){a=v[(c<<2)+e>>2];if(!(!a|w[a|0]!=w[b|0])){if(!mc(a,b)){break a}}c=c+1|0;if((d|0)!=(c|0)){continue}break}c=0}return c|0}function CI(a,b,c){var d=0,e=0;d=c-1|0;a:{if(d>>>0>31|!(1<>2]=1;v[d+8>>2]=c;v[d+4>>2]=b;v[d>>2]=a;a=(B(a,c)+31|0)/32|0;v[d+12>>2]=a;a=Ub[v[259693]](B(a,b)<<2)|0;if(!a){break a}v[d+40>>2]=a;Gs(d);e=d}return e}function Bl(a,b,c){var d=0,e=0;e=v[a>>2];d=v[a+4>>2];a:{if((e|0)<(d|0)){break a}d=vj(a+12|0,d<<2,d<<3);v[a+12>>2]=d;if(!d){break a}d=v[a+4>>2];d=vj(a+16|0,d<<2,d<<3);v[a+16>>2]=d;if(!d){break a}v[a+4>>2]=v[a+4>>2]<<1}d=e<<2;z[d+v[a+12>>2]>>2]=b;z[d+v[a+16>>2]>>2]=c;v[a>>2]=v[a>>2]+1}function rAa(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=936752;b=v[a+8>>2];if(b){while(1){d=v[v[a+12>>2]+(c<<2)>>2];if(d){Ub[v[v[d>>2]+4>>2]](d);b=v[a+8>>2]}c=c+1|0;if(c>>>0>>0){continue}break}}b=v[a+12>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){W(0)|0;O()|0;lc();L()}dc(a)}function fta(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Qb-16|0;Qb=c;d=An(b,46);e=An(b,47);f=w[b+11|0];d=(d|0)==-1?f<<24>>24<0?v[b+4>>2]:f:d;a:{if((e|0)>(d|0)){v[a>>2]=0;t[a+11|0]=0;break a}Aj(c,b,e+1|0,d+(e^-1)|0,b);v[a+8>>2]=v[c+8>>2];b=v[c+4>>2];v[a>>2]=v[c>>2];v[a+4>>2]=b}Qb=c+16|0}function _Wa(a){a=a|0;var b=0,c=0,d=0,e=0;if(a){c=v[a+100>>2];b=v[a+132>>2];if(b){if(v[b+160>>2]){nf(v[a+104>>2],b+160|0)}d=c;e=v[b+168>>2];if(e){Ub[v[d+8>>2]](d,e)}v[b+168>>2]=0;if(b){Ub[v[c+8>>2]](c,b)}v[a+132>>2]=0}d=v[a+32>>2];if(d){Ub[v[c+8>>2]](c,d)}v[a+28>>2]=0;v[a+32>>2]=0}}function Rgb(a){a=a|0;var b=0,c=0,d=0,e=0;b=Qb-16|0;Qb=b;e=Kh(a,b+14|0,2);a:{if((e|0)<0){c=-1;break a}d=e;while(1){if((d|0)>=1){c=-1;d=d-1|0;if((dj(a,w[d+(b+14|0)|0])|0)!=-1){continue}break a}break}c=-1;if((e|0)<2){break a}c=(w[b+15|0]|w[b+14|0]<<8)!=20551?-1:0}Qb=b+16|0;return c|0}function KH(a,b,c){var d=0;d=Qb-16|0;Qb=d;a:{if(b>>>0<=255){b=me(a,b&4?381296:381328,c);break a}b=me(a,381360,d+8|0);if(b){break a}u[c>>1]=w[d+8|0]-128;u[c+2>>1]=w[d+9|0]-128;u[c+4>>1]=w[d+10|0]-128;u[c+6>>1]=w[d+11|0]-128;a=w[d+12|0];u[c+10>>1]=0;u[c+8>>1]=a-128}Qb=d+16|0;return b}function Je(a){var b=0,c=0,d=0,e=0;b=Qb-16|0;Qb=b;v[b+12>>2]=0;v[b+4>>2]=a;v[b>>2]=a;v[b+8>>2]=a+1;a=b;d=Qb-16|0;Qb=d;e=d+8|0;v[e>>2]=v[b+4>>2];if(!w[v[e>>2]]){a:{b:{a=v[a+8>>2];c=w[a|0];if((c|0)!=1){if(c&2){break b}t[a|0]=2;a=1}else{a=0}break a}L()}c=a}Qb=d+16|0;Qb=b+16|0;return c}function Dp(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Qb-32|0;Qb=d;a:{if(!w[b+144|0]){a=vc(d+8|0,231625,242011,164,226800,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}b=P()|0;O()|0;qc(a);T(b|0);L()}if(!(v[b+148>>2]&64|c)){sP(b)}Ol(a,b+112|0);Qb=d+32|0;return}L()}function Bc(a){var b=0,c=0,d=0;b=a;a:{if(b&3){while(1){if(!w[b|0]){break a}b=b+1|0;if(b&3){continue}break}}while(1){c=b;b=b+4|0;d=v[c>>2];if(!((d^-1)&d-16843009&-2139062144)){continue}break}if(!(d&255)){return c-a|0}while(1){d=w[c+1|0];b=c+1|0;c=b;if(d){continue}break}}return b-a|0}function BC(a){a=a|0;var b=0,c=0;v[a>>2]=1010688;v[299999]=0;V(5446,a|0,0);b=v[299999];v[299999]=0;if((b|0)!=1){b=v[a+28>>2];c=v[b+4>>2]-1|0;v[b+4>>2]=c;if((c|0)==-1){Ub[v[v[b>>2]+8>>2]](b)}dc(v[a+32>>2]);dc(v[a+36>>2]);dc(v[a+48>>2]);dc(v[a+60>>2]);return a|0}W(0)|0;O()|0;lc();L()}function fA(a,b){var c=0,d=0,e=0;d=v[v[a+4>>2]+100>>2];c=v[a+156>>2];e=v[c+4>>2];a:{if(e&1){c=v[a+88>>2];if(c){Ub[v[d+8>>2]](d,c)}v[a+88>>2]=0;break a}v[c+4>>2]=e|1}e=0;c=b?6:0;b:{if((b|0)<=0){break b}d=Ub[v[d+4>>2]](d,b)|0;c=64;if(!d){break b}e=ic(d,0,b);c=0}v[a+88>>2]=e;return c}function WG(a,b,c,d){var e=0;v[a+84>>2]=1;v[a+88>>2]=0;z[a+8>>2]=z[a>>2]+c;z[a+12>>2]=z[a+4>>2]+d;e=v[a+80>>2];if(!e){e=fc(100);v[e+72>>2]=0;v[e+76>>2]=0;v[e>>2]=1;v[e+96>>2]=1;v[e+80>>2]=0;v[e+84>>2]=0;v[e+88>>2]=0;v[e+92>>2]=0;e=e+4|0;v[a+80>>2]=e}a=v[b>>2];t[e+64|0]=0;v[e>>2]=a}function WEa(a){a=a|0;var b=0;b=v[a+24>>2]-1|0;v[a+24>>2]=b;a:{if(!b){b=v[a>>2];if(b){dc(Dc(b))}b=v[a+4>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+12>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}dc(a)}return}W(0)|0;O()|0;lc();L()}function Vgb(a){a=a|0;var b=0,c=0,d=0,e=0;b=Qb-16|0;Qb=b;e=Kh(a,b+14|0,2);a:{if((e|0)<0){c=-1;break a}d=e;while(1){if((d|0)>=1){c=-1;d=d-1|0;if((dj(a,w[d+(b+14|0)|0])|0)!=-1){continue}break a}break}c=-1;if((e|0)<2){break a}c=0-(w[b+14|0]!=255|w[b+15|0]!=216)|0}Qb=b+16|0;return c|0}function VB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{b:{if(c>>>0<=10){d=a;t[a+11|0]=c;break b}if(c>>>0>4294967279){break a}f=a;if(c>>>0>=11){d=c+16&-16;e=d-1|0;d=(e|0)==11?d:e}else{d=10}e=d+1|0;d=fc(e);v[f>>2]=d;v[a+8>>2]=e|-2147483648;v[a+4>>2]=c}bk(d,b,c+1|0);return}$d(a);L()}function R2(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=v[a+964>>2];if(!c){return}d=v[a+16>>2];e=jc(d);if(e){b=v[a+20>>2];if((b|0)>=2){b=B(b-1|0,d)+c|0;while(1){g=gc(e,b,d);b=gc(b,c,d);c=gc(c,g,v[a+16>>2]);d=v[a+16>>2];c=c+d|0;b=b-d|0;f=f+1|0;if((f|0)<(v[a+20>>2]/2|0)){continue}break}}dc(e)}}function AHa(a,b){a=a|0;b=b|0;var c=0,d=0;c=Qb-32|0;Qb=c;d=v[b+120>>2];Ub[v[v[d>>2]+20>>2]](d,b+252|0,c+16|0,0);a=v[a+104>>2];v[c+12>>2]=B(v[c+24>>2],255)+32768&16711680|(B(v[c+20>>2],255)+32768>>>8&65280|B(v[c+16>>2],255)+32768>>>16&255);Ub[v[v[a>>2]+52>>2]](a,c+12|0)|0;Qb=c+32|0}function $gb(a,b){a=a|0;b=b|0;var c=0;c=v[a+52>>2];if(!v[c+20>>2]){a=jc(12);if(!a){v[c+20>>2]=0;return-1}v[a+8>>2]=0;v[a>>2]=0;v[a+4>>2]=0;v[c+20>>2]=a}a=jc(12);if(!a){return-1}v[a>>2]=w[b+12|0];v[a+8>>2]=v[b+20>>2];v[b+20>>2]=0;v[a+4>>2]=v[b+16>>2];return(A2(v[c+20>>2],a)?-1:0)|0}function rva(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=fc(8);v[299999]=0;d=Q(3063,e|0,322562)|0;f=v[299999];v[299999]=0;if((f|0)!=1){Mg(d,v[a+20>>2]);_c(d,346799);Mg(d,v[a+24>>2]);_c(d,322665);a=Ub[b|0](c,v[d+4>>2],v[d>>2])|0;Dc(d);dc(e);return a|0}a=P()|0;O()|0;dc(e);T(a|0);L()}function pna(a,b){a=a|0;b=b|0;var c=0,d=0;c=Qb-32|0;Qb=c;v[c+24>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=0;v[c+4>>2]=0;d=Un(c,983320);v[299999]=0;U(4858,a|0,b|0,c|0);a=v[299999];v[299999]=0;if((a|0)!=1){id(d);Qb=c+32|0;return}a=P()|0;O()|0;id(d);T(a|0);L()}function ZC(a){a=a|0;var b=0,c=0;c=v[a+16>>2];a:{if((c|0)>=v[a+20>>2]){c=0;b=ob(v[a>>2],a+32|0,2048)|0;if((b|0)<=0){a=0;if(!b|(b|0)==-44){break a}v[299402]=0-b;return 0}v[a+20>>2]=b}b=a+c|0;v[a+16>>2]=x[b+48>>1]+c;c=v[b+44>>2];v[a+8>>2]=v[b+40>>2];v[a+12>>2]=c;a=b+32|0}return a|0}function Yhb(a){a=a|0;var b=0,c=0,d=0,e=0;b=Qb-16|0;Qb=b;e=Kh(a,b+14|0,2);a:{if((e|0)<0){c=-1;break a}d=e;while(1){if((d|0)>=1){c=-1;d=d-1|0;if((dj(a,w[d+(b+14|0)|0])|0)!=-1){continue}break a}break}c=-1;if((e|0)<2){break a}c=0-(w[b+14|0]!=255|w[b+15|0]!=79)|0}Qb=b+16|0;return c|0}function SVa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=a+116|0;if((c|0)!=(b|0)){d=w[b+11|0];e=d<<24>>24;if(t[a+127|0]>=0){if((e|0)>=0){a=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=a;v[c+8>>2]=v[b+8>>2];return 0}Lh(c,v[b>>2],v[b+4>>2]);return 0}a=(e|0)<0;wi(c,a?v[b>>2]:b,a?v[b+4>>2]:d)}return 0}function Jpa(a,b){a=a|0;b=b|0;var c=0,d=0;c=Qb-32|0;Qb=c;v[c+24>>2]=0;v[c+16>>2]=0;v[c+20>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=0;v[c+4>>2]=0;d=Un(c,982708);v[299999]=0;U(4592,a|0,b|0,c|0);a=v[299999];v[299999]=0;if((a|0)!=1){id(d);Qb=c+32|0;return}a=P()|0;O()|0;id(d);T(a|0);L()}function Geb(a){a=a|0;var b=0,c=0,d=0,e=0;if(v[a+588>>2]>=1){b=v[v[a+544>>2]+88>>2];c=v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0;b=v[a+644>>2];while(1){d=w[c|0];t[b+2|0]=d;t[b+1|0]=d;t[b|0]=d;t[b+3|0]=w[c+1|0];b=b+4|0;c=c+2|0;e=e+1|0;if((e|0)>2]){continue}break}}return 0}function GVa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=a+464|0;if((c|0)!=(b|0)){d=w[b+11|0];e=d<<24>>24;if(t[a+475|0]>=0){if((e|0)>=0){a=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=a;v[c+8>>2]=v[b+8>>2];return 0}Lh(c,v[b>>2],v[b+4>>2]);return 0}a=(e|0)<0;wi(c,a?v[b>>2]:b,a?v[b+4>>2]:d)}return 0}function EVa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=a+452|0;if((c|0)!=(b|0)){d=w[b+11|0];e=d<<24>>24;if(t[a+463|0]>=0){if((e|0)>=0){a=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=a;v[c+8>>2]=v[b+8>>2];return 0}Lh(c,v[b>>2],v[b+4>>2]);return 0}a=(e|0)<0;wi(c,a?v[b>>2]:b,a?v[b+4>>2]:d)}return 0}function vra(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;v[a>>2]=982056;b=v[a+20>>2];if((b|0)>=1){while(1){c=v[a+24>>2];e=d<<2;f=v[c+e>>2];if(f){dc(f);c=v[a+24>>2];b=v[a+20>>2]}v[c+e>>2]=0;d=d+1|0;if((d|0)<(b|0)){continue}break}}v[a+20>>2]=0;v[a+12>>2]=0;v[a+16>>2]=0;Lc(a+28|0);Qc(a);dc(a)}function Zg(a,b,c){var d=0,e=0;d=v[a+20>>2];e=(d+c>>>2|0)+24576|0;c=c>>>0>e>>>0?e:c;e=d;d=w[b|0];if(e>>>0>=y[((d<<2)+a|0)+1068>>2]){t[b|0]=w[(a+d|0)+2092|0]}v[a+20>>2]=c;if(c>>>0>=32768){xt(a,1-(v[a+32>>2]>>>15|0)|0);v[a+32>>2]=v[a+32>>2]<<1&65534;v[a+20>>2]=v[a+20>>2]<<1&65534}}function VK(a,b){var c=0,d=0,e=0,f=0;c=v[a>>2];if(c){dc(c)}a:{b:{if(!b){break b}d=Bc(b);e=bd(d+1|0,1);if(!e){break a}if((d|0)<1){break b}c=0;while(1){f=w[b+c|0];if(f){t[c+e|0]=f;c=c+1|0;if((d|0)!=(c|0)){continue}break b}break}if((c|0)>=(d|0)){break b}ic(c+e|0,0,d-c|0)}v[a>>2]=e}}function Lhb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Qb-32|0;Qb=c;d=w[a+16|0];e=v[a+12>>2];v[c+24>>2]=w[a+17|0];v[c+20>>2]=d;v[c+16>>2]=e;wc(b,53881,c+16|0);d=w[a+18|0];e=w[a+19|0];f=w[a+20|0];v[c+12>>2]=w[a+21|0];v[c+8>>2]=f;v[c+4>>2]=e;v[c>>2]=d;wc(b,54845,c);Qb=c+32|0;return 0}function Hx(a){a=a|0;var b=0,c=0;v[a+24>>2]=981312;v[a>>2]=981280;b=v[a+28>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Ub[v[v[b>>2]+4>>2]](b)}v[a+28>>2]=0}v[a+16>>2]=981312;b=v[a+20>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Ub[v[v[b>>2]+4>>2]](b)}v[a+20>>2]=0}ec(a+8|0);dc(a)}function HUa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;a:{if(!v[a+16>>2]){break a}f=v[a+20>>2];if(!f){break a}tj(f,A[b>>3],A[c>>3]);im(v[a+20>>2],A[b>>3]+A[d>>3],A[c>>3]);im(v[a+20>>2],A[b>>3]+A[d>>3],A[c>>3]+A[e>>3]);im(v[a+20>>2],A[b>>3],A[c>>3]+A[e>>3]);_G(v[a+20>>2])}}function AR(a,b){var c=0,d=0;a:{d=w[a+9|0];if(d>>>0>7){break a}c=v[a+4>>2];a=74464;b:{c:{switch(d-1|0){case 1:a=74720;break b;case 0:break b;case 3:break c;default:break a}}a=74976}if((c|0)<1){break a}c=b+c|0;while(1){t[b|0]=w[w[b|0]+a|0];b=b+1|0;if(c>>>0>b>>>0){continue}break}}}function xS(a,b,c,d){var e=0,f=0;a:{e=Gj(v[a+56>>2],b);if(e){b=v[e>>2];a=fc(8);v[299999]=0;b=Q(3064,a|0,b|0)|0;f=v[299999];v[299999]=0;if((f|0)==1){break a}v[c>>2]=v[e+4>>2];A[d>>3]=A[e+8>>3];return b}v[c>>2]=0;v[d>>2]=0;v[d+4>>2]=0;return yS(a,b)}b=P()|0;O()|0;dc(a);T(b|0);L()}function wCa(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;var l=0,m=0;b=w[b|0];v[d>>2]=b;l=g,m=kk(v[a+1444>>2],b,e,f),v[l>>2]=m;A[h>>3]=A[((b<<3)+a|0)+1464>>3];v[k>>2]=0;v[k+4>>2]=0;v[j>>2]=0;v[j+4>>2]=0;v[i>>2]=0;v[i+4>>2]=0;return 1}function r_a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=142;e=x[a+152>>1];a:{if(!e){break a}a=v[a+156>>2];e=a+(e<<4)|0;while(1){b:{if(v[a>>2]==(b|0)){g=v[a+12>>2];if(g){break b}}a=a+16|0;if(e>>>0>a>>>0){continue}break a}break}if(d){v[d>>2]=g}f=Yc(c,v[a+8>>2])}return f|0}function pib(a,b){a=a|0;b=b|0;var c=0;a:{if(bi(b,a+20|0)){break a}if(bi(b,a+24|0)){break a}c=v[a+16>>2]-8|0;v[a+28>>2]=c>>>2;if(c>>>0>131){break a}if(c>>>0<4){return 0}c=0;while(1){if(bi(b,((c<<2)+a|0)+32|0)){break a}c=c+1|0;if(c>>>0>2]){continue}break}return 0}return-1}function X2(a){a=a|0;var b=0,c=0,d=0,e=0;b=Qb-16|0;Qb=b;e=Kh(a,b+14|0,2);a:{if((e|0)<0){c=-1;break a}d=e;while(1){if((d|0)>=1){c=-1;d=d-1|0;if((dj(a,w[d+(b+14|0)|0])|0)!=-1){continue}break a}break}c=-1;if((e|0)<2){break a}c=0-(w[b+14|0]!=66|w[b+15|0]!=77)|0}Qb=b+16|0;return c|0}function Taa(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,h=0,i=0;g=a;h=b;b=Ub[v[v[a+8>>2]+20>>2]](a+8|0)|0;a=b;if(w[b+11|0]>>>7|0){a=v[a>>2]}i=a;if(w[b+11|0]>>>7|0){a=v[b>>2]}else{a=b}if(w[b+11|0]>>>7|0){b=v[b+4>>2]}else{b=w[b+11|0]}return Hm(g,h,c,d,e,f,i,a+b|0)|0}function MY(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if((a|0)!=(b|0)){d=w[b+11|0];c=d<<24>>24;if(t[a+11|0]>=0){if((c|0)>=0){c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;v[a+8>>2]=v[b+8>>2];return a|0}return Lh(a,v[b>>2],v[b+4>>2])|0}e=a;a=(c|0)<0;a=wi(e,a?v[b>>2]:b,a?v[b+4>>2]:d)}return a|0}function F1(a){a=a|0;var b=0,c=0,d=0;if(v[a+588>>2]>=1){b=v[a+540>>2];b=(v[b+1176>>2]+B(v[b+1168>>2],v[a+572>>2])|0)+B(v[b+1164>>2],v[a+580>>2])|0;c=v[a+636>>2]+v[a+616>>2]|0;while(1){t[b|0]=w[c|0];c=c+1|0;b=v[a+584>>2]+b|0;d=d+1|0;if((d|0)>2]){continue}break}}return 0}function lAa(a){a=a|0;var b=0,c=0,d=0;d=fc(152);b=v[a+4>>2];c=v[v[b>>2]+8>>2];v[299999]=0;b=S(c|0,b|0)|0;c=v[299999];v[299999]=0;a:{if((c|0)==1){break a}v[299999]=0;a=Y(3697,d|0,b|0,a+8|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}return a|0}a=P()|0;O()|0;dc(d);T(a|0);L()}function Mva(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=fc(8);v[299999]=0;Q(3063,f|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){v[a+8>>2]=c;v[a>>2]=f;v[a+28>>2]=1;v[a+20>>2]=0;v[a+24>>2]=0;v[a+16>>2]=e;v[a+12>>2]=d;v[a+4>>2]=1;return a|0}a=P()|0;O()|0;dc(f);T(a|0);L()}function Cg(a,b){var c=0,d=0;c=v[a+12>>2];a:{if((c|0)!=v[a+8>>2]){d=v[a+4>>2];break a}c=c?c<<1:8;v[a+8>>2]=c;d=pd(v[a+4>>2],c,16);v[a+4>>2]=d;c=v[a+12>>2]}c=(c<<4)+d|0;d=v[b+4>>2];v[c>>2]=v[b>>2];v[c+4>>2]=d;d=v[b+12>>2];v[c+8>>2]=v[b+8>>2];v[c+12>>2]=d;v[a+12>>2]=v[a+12>>2]+1}function yKa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a=v[a+4>>2];Fu(v[a+4>>2]);v[a+4>>2]=0;c=v[a+8>>2];if(c){dc(c)}v[a+8>>2]=0;v[a+12>>2]=0;c=t[b+11|0];c=(c|0)<0?v[b+4>>2]:c&255;v[a+12>>2]=c;d=fc(c);v[a+8>>2]=d;e=a,f=DF(gc(d,t[b+11|0]<0?v[b>>2]:b,c),c,0,0,0),v[e+4>>2]=f;return 1}function dr(a,b,c){var d=0,e=0,f=0;a:{if(b>>>0<1){d=a;break a}while(1){d=Dib(a,b,10,0);e=Tb;f=e;e=Bib(d,e,10,0);c=c-1|0;t[c|0]=a-e|48;e=b>>>0>9;a=d;b=f;if(e){continue}break}}if(d){while(1){c=c-1|0;a=(d>>>0)/10|0;t[c|0]=d-B(a,10)|48;b=d>>>0>9;d=a;if(b){continue}break}}return c}function Tu(a,b,c,d){var e=0,f=0,g=0;if(!(v[a+32>>2]|(!b|!a))){e=v[a+8>>2];if(!((e|0)==v[a+24>>2]|e>>>0>2147483646)){v[a+24>>2]=e}g=b;e=v[a+20>>2];f=v[a+4>>2];if((e|0)==(f|0)|f>>>0>2147483646){f=e}else{v[a+20>>2]=f}a=v[a>>2];v[g+20>>2]=f+a;a=a+c|0;v[b+12>>2]=a;v[b+16>>2]=a+d}}function Nd(a,b,c){var d=0;d=Qb-32|0;Qb=d;a:{if(a){if(v[a+172>>2]==-1?v[a+212>>2]:0){break a}v[a+84>>2]=b;v[d+16>>2]=c;oc(0,0,0,a,0,1,b,3,0,0,0,0,237306,d+16|0);v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1;break a}v[d>>2]=c;oc(0,0,0,0,0,1,b,3,0,0,0,0,237306,d)}Qb=d+32|0}function lKa(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;if(v[a+76>>2]>=1){i=v[a+412>>2];f=v[a+84>>2];j=c<<2;while(1){c=g<<2;h=c+i|0;Ub[v[h+12>>2]](a,f,v[b+c>>2]+j|0,v[c+d>>2]+(B(v[h+52>>2],e)<<2)|0);f=f+88|0;g=g+1|0;if((g|0)>2]){continue}break}}}function OFa(a){a=a|0;var b=0;v[a>>2]=889188;b=v[a+20>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;a:{if((b|0)==1){break a}b=v[a+28>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+60>>2];if(b){dc(ah(b))}dl(a);dc(a);return}W(0)|0;O()|0;dl(a);lc();L()}function LP(a){var b=0,c=0,d=0,e=0;b=Qb-256|0;Qb=b;a:{if(w[a+276|0]&4){c=hG(a+212|0);v[a+276>>2]=v[a+276>>2]&-5;if(!c){break a}d=57020;e=c+6|0;if(e>>>0<=4){d=v[(e<<2)+76692>>2]}Ej(b,1,1,c);GS(b,2,d);c=v[a+236>>2];GS(b,3,c?c:57352);Jp(a,b,57719);break a}Gc(a,58124)}Qb=b+256|0}function Ke(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{b:{if(c>>>0<=1){d=a;t[a+11|0]=c;break b}if(c>>>0>1073741807){break a}f=a;if(c>>>0>=2){e=c+4&-4;d=e-1|0;d=(d|0)==2?e:d}else{d=1}e=d+1|0;d=yL(e);v[f>>2]=d;v[a+8>>2]=e|-2147483648;v[a+4>>2]=c}ak(d,b,c+1|0);return}$d(a);L()}function DQa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Qb-16|0;Qb=e;if(v[a+12>>2]){v[e+12>>2]=1;Ub[v[v[a>>2]+40>>2]](a,e+12|0);v[e+8>>2]=v[b>>2];b=a+16|0;WG(b,e+8|0,z[c>>2],z[d>>2]);TG(v[a+12>>2],b);v[e+4>>2]=0;Ub[v[v[a>>2]+40>>2]](a,e+4|0);a=1}else{a=0}Qb=e+16|0;return a|0}function CQa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Qb-16|0;Qb=e;if(v[a+12>>2]){v[e+12>>2]=1;Ub[v[v[a>>2]+40>>2]](a,e+12|0);v[e+8>>2]=v[b>>2];b=a+16|0;WG(b,e+8|0,z[c>>2],z[d>>2]);jX(v[a+12>>2],b);v[e+4>>2]=0;Ub[v[v[a>>2]+40>>2]](a,e+4|0);a=1}else{a=0}Qb=e+16|0;return a|0}function uy(a,b){var c=0,d=0,e=0,f=0;c=w[b|0];if(c){d=b;while(1){e=B(e,17)+(c&255)|0;c=w[d+1|0];d=d+1|0;if(c){continue}break}}c=v[v[a+12>>2]+((e>>>0)%y[a+4>>2]<<2)>>2];a:{if(!c){break a}while(1){if(Ad(v[c>>2],b)){c=v[c+8>>2];if(c){continue}break a}break}f=v[c+4>>2]}return f}function tk(a){var b=0,c=0,d=0;c=-2;a:{if(!a|!v[a+32>>2]){break a}d=v[a+36>>2];if(!d){break a}b=v[a+28>>2];if(!b|v[b>>2]!=(a|0)|v[b+4>>2]-16180>>>0>31){break a}c=v[b+56>>2];if(c){Ub[d|0](v[a+40>>2],c);d=v[a+36>>2];b=v[a+28>>2]}Ub[d|0](v[a+40>>2],b);c=0;v[a+28>>2]=0}return c}function _hb(a,b){a=a|0;b=b|0;var c=0,d=0;a:{if(Gg(b,v[a+20>>2])){break a}if(!v[a+20>>2]){return 0}while(1){d=v[a+24>>2]+B(c,12)|0;if(Gg(b,v[d>>2])){break a}if(Gg(b,v[d+4>>2])){break a}if(Gg(b,v[d+8>>2])){break a}c=c+1|0;if(c>>>0>2]){continue}break}return 0}return-1}function NL(a){a=a|0;var b=0,c=0,d=0,e=0;v[a>>2]=1016312;b=a+8|0;while(1){if(v[b+4>>2]-v[b>>2]>>2>>>0>c>>>0){if(v[v[b>>2]+(c<<2)>>2]){d=v[v[b>>2]+(c<<2)>>2];e=v[d+4>>2]-1|0;v[d+4>>2]=e;if((e|0)==-1){Ub[v[v[d>>2]+8>>2]](d)}}c=c+1|0;continue}break}Mc(a+152|0);QL(b);return a|0}function uf(a,b){a=a|0;b=b|0;var c=0,d=0;a:{if(!w[a+8|0]){break a}c=v[a>>2];if(!c){break a}d=v[c+4>>2]-1|0;v[c+4>>2]=d;if(d){break a}dc(c)}v[a>>2]=0;v[a+4>>2]=0;t[a+8|0]=0;v[a+4>>2]=v[b+4>>2];c=w[b+8|0];t[a+8|0]=c;d=a;a=v[b>>2];v[d>>2]=a;if(!(!c|!a)){v[a+4>>2]=v[a+4>>2]+1}}function kxa(a){a=a|0;var b=0;v[a>>2]=963004;b=v[a+4>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}b=v[a+64>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;a:{if((b|0)==1){break a}b=v[a+60>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}return a|0}W(0)|0;O()|0;lc();L()}function Y$(a,b,c,d){var e=0,f=0;if(c){v[c>>2]=0}if(d){v[d>>2]=0}if(!a){return}if(c){e=+z[v[a+12>>2]+(b<<2)>>2]+.5;a:{if(D(e)<2147483648){f=~~e;break a}f=-2147483648}v[c>>2]=f}if(d){e=+z[v[a+16>>2]+(b<<2)>>2]+.5;b:{if(D(e)<2147483648){a=~~e;break b}a=-2147483648}v[d>>2]=a}}function UO(a,b,c){a=a|0;b=b|0;c=c|0;a=Qb-16|0;Qb=a;$O(a+8|0,Ub[v[282396]]()|0,c);b=v[a+8>>2];b=v[(b?b+12|0:1129608)>>2];v[299999]=0;v[a>>2]=b;V(4957,350078,a|0);b=v[299999];v[299999]=0;a:{if((b|0)!=1){ec(a+8|0);Qb=a+16|0;break a}b=P()|0;O()|0;ec(a+8|0);T(b|0);L()}return 1}function Ql(a,b){a=a|0;b=b|0;var c=0;c=Qb-32|0;Qb=c;t[c+31|0]=b;a:{if((Ub[v[v[a>>2]+12>>2]](a,c+31|0,1)|0)!=1){a=vc(c,ck(v[299402]),241835,514,336796,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}b=P()|0;O()|0;qc(a);T(b|0);L()}Qb=c+32|0;return}L()}function PFa(a){a=a|0;var b=0;v[a>>2]=889188;b=v[a+20>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;a:{if((b|0)==1){break a}b=v[a+28>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+60>>2];if(b){dc(ah(b))}dl(a);return a|0}W(0)|0;O()|0;dl(a);lc();L()}function L0a(a){a=a|0;var b=0,c=0;b=v[a+20>>2];a:{b:{if(w[a+65|0]){a=v[a+12>>2];if((u[a+20>>1]+u[a+56>>1]|0)+1>>>0>y[a+8>>2]){a=xg(a,0,1);if(a){break a}}c=x[b>>1];a=c<<16>>16;if((a|0)<1){break b}u[(v[b+12>>2]+(c<<1)|0)-2>>1]=x[b+2>>1]-1}a=x[b>>1]}u[b>>1]=a+1;a=0}return a|0}function fF(a,b){var c=0;c=Qb-32|0;Qb=c;a:{if((b|0)>-1){b:{if(!b){b=0;if(!a){break b}dc(a);break b}c:{if(a){b=be(a,b);break c}b=jc(b)}if(!b){break a}}Qb=c+32|0;return b}v[c>>2]=274048;wc(v[252391],350078,c);pa(1);L()}v[c+16>>2]=217973;wc(v[252391],350078,c+16|0);pa(1);L()}function dza(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Qb-32|0;Qb=d;v[d+16>>2]=13;v[d>>2]=13;v[a>>2]=0;if(v[b>>2]==7){Ce(v[b+8>>2],225630,d+16|0);Ce(v[b+8>>2],227191,d);if(!(v[d+16>>2]!=9|v[d>>2]!=9)){e=a,f=$R(d+16|0,d,0,c),v[e>>2]=f}hc(d+16|0);hc(d)}Qb=d+32|0;return a|0}function bca(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;h=(e-d|0)+b|0;a:{while(1){if((d|0)!=(e|0)){a=-1;if((b|0)==(c|0)){break a}f=t[b|0];g=t[d|0];if((f|0)<(g|0)){break a}if((f|0)>(g|0)){return 1}else{d=d+1|0;b=b+1|0;continue}}break}a=(c|0)!=(h|0)}return a|0}function US(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=Qb-768|0;Qb=e;d=236;a:{b:{switch(a-1|0){case 0:d=768;break;case 1:break b;default:break a}}if(b){v[e+668>>2]=c;f=Ub[b|0](e,d)|0;if(!f){break a}ic(f,0,d);break a}a=jc(d);if(!a){break a}f=ic(a,0,d)}Qb=e+768|0;return f|0}function M1a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;a:{e=v[a+444>>2];if(!v[e+48>>2]){if(!(Ub[v[v[a+448>>2]+12>>2]](a,e+8|0)|0)){break a}v[e+48>>2]=1}f=v[a+324>>2];Ub[v[v[a+452>>2]+4>>2]](a,e+8|0,e+52|0,f,b,c,d);if(y[e+52>>2]>>0){break a}v[e+48>>2]=0;v[e+52>>2]=0}}function Lm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=v[a>>2];v[a>>2]=e+b;d=b;b=v[a+8>>2];v[a+8>>2]=d+b;f=v[a+4>>2];v[a+4>>2]=f+c;d=c;c=v[a+12>>2];v[a+12>>2]=d+c;a:{if((b|0)>(e|0)){b=1;if((c|0)>(f|0)){break a}}v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;b=0}return b|0}function fXa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=v[a+420>>2];if((d|0)>=1){f=v[a+424>>2];g=w[b|0];while(1){a:{e=v[(c<<2)+f>>2];if(w[e|0]!=(g|0)){break a}if(mc(b,e)){break a}return Yf(v[v[a+428>>2]+(c<<2)>>2],0,10)|0}c=c+1|0;if((d|0)!=(c|0)){continue}break}}return 0}function Ue(a,b,c,d){var e=0,f=0,g=0;f=v[299998]+1|0;v[299998]=f;v[a>>2]=f;if(d){while(1){g=(e<<3)+c|0;if(!v[g>>2]){v[g>>2]=f;a=(e<<3)+c|0;v[a+4>>2]=b;v[a+8>>2]=0;_(d|0);return c}e=e+1|0;if((e|0)!=(d|0)){continue}break}}e=a;a=d<<1;b=Ue(e,b,be(c,d<<4|8),a);_(a|0);return b}function M6a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(v[c>>2]!=1145198923){pc(a,2050,0,0);return 2050}v[b+32>>2]=v[c+32>>2];t[b+36|0]=w[c+36|0];d=v[c+40>>2];v[b+40>>2]=d;if(d){d=Ub[v[a+152>>2]](d)|0;v[b+44>>2]=d;if(!d){pc(a,1,0,0);return 1}gc(d,v[c+44>>2],v[b+40>>2])}return 0}function Yya(a,b,c,d,e){a=a|0;b=+b;c=+c;d=d|0;e=e|0;var f=0,g=0;f=A[a+40>>3]+(A[a+8>>3]*b+A[a+24>>3]*c)+.5;a:{if(D(f)<2147483648){g=~~f;break a}g=-2147483648}v[d>>2]=g;b=A[a+48>>3]+(A[a+16>>3]*b+A[a+32>>3]*c)+.5;if(D(b)<2147483648){v[e>>2]=~~b;return}v[e>>2]=-2147483648}function VC(a){var b=0,c=0;a:{if(y[a+20>>2]<=y[a+28>>2]){break a}Ub[v[a+36>>2]](a,0,0)|0;if(v[a+20>>2]){break a}return-1}b=v[a+4>>2];c=v[a+8>>2];if(b>>>0>>0){b=b-c|0;Ub[v[a+40>>2]](a,b,b>>31,1)|0}v[a+28>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;return 0}function L5(a,b,c){a=a|0;b=b|0;c=c|0;b=v[a+584>>2];c=v[b+396>>2]+1|0;v[b+396>>2]=c;a:{if(!((c>>>0)%y[a+176>>2]|0)){if(!w[b+400|0]){break a}a=b+536|0;c=v[a+4>>2];if(c){Ub[v[c+40>>2]](a)}v[a+20>>2]=0;v[a+4>>2]=0;t[b+393|0]=0;t[b+400|0]=0}return}X(61687,7087,848,87765);L()}function n1(a){var b=0;b=a;a=v[a+528>>2];if(!xj(b,a,0,0,0,0,0,0,0,1)){v[a+36>>2]=0;v[a+40>>2]=0;t[a+31|0]=1;t[a+32|0]=1;v[a+48>>2]=0;v[a+52>>2]=0;t[a+44|0]=0;v[a+56>>2]=0;v[a+60>>2]=0;b=a- -64|0;v[b>>2]=0;v[b+4>>2]=0;u[a+70>>1]=0;u[a+72>>1]=0;u[a+74>>1]=0;u[a+76>>1]=0}}function j4(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:{d=v[a+584>>2];if(d){e=v[d+48>>2];if(!e){break a}if((b|0)==317){v[d>>2]=x[c>>1];v[a+48>>2]=v[a+48>>2]|4;v[a+12>>2]=v[a+12>>2]|8;return 1}return Ub[e|0](a,b,c)|0}X(16309,6354,620,187932);L()}X(21242,6354,621,187932);L()}function W3(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;a:{b:{e=v[a+584>>2];if(e){f=v[e+24>>2];if(!f){break b}if(!v[e+12>>2]){break a}Ub[f|0](a,b,c);return Ub[v[e+12>>2]](a,b,c,d)|0}X(16309,6354,555,188005);L()}X(41345,6354,556,188005);L()}X(42291,6354,557,188005);L()}function HJ(a,b){var c=0,d=0,e=0,f=0;a:{while(1){d=-1;c=ri(a);if((c|0)==-1){break a}if((c|0)==32|c-9>>>0<5){continue}break}while(1){e=c-48|0;if(e>>>0<=9){f=B(f,10)+e|0;c=ri(a);if((c|0)>=0){continue}break a}break}if(!((c|0)==32|c-9>>>0<5)){break a}v[b>>2]=f;d=0}return d}function pha(a){a=a|0;var b=0,c=0,d=0,e=0;c=Qb-16|0;Qb=c;d=1;b=v[a+12>>2];a:{if(!b){break a}a=v[a+8>>2];if(!a){break a}v[c+12>>2]=b;a=a+b|0;while(1){if(!w[b|0]|a>>>0<=b>>>0){break a}zp(c+12|0,a);e=b;b=v[c+12>>2];if((e|0)!=(b|0)){continue}break}d=0}Qb=c+16|0;return d|0}function oka(a){a=a|0;var b=0,c=0,d=0;if(w[a+88|0]){return v[a+84>>2]}c=a,d=Ub[v[v[a>>2]+36>>2]](a)|0,v[c+72>>2]=d;c=a,d=Ub[v[v[a>>2]+44>>2]](a)|0,v[c+76>>2]=d;c=a,d=Ub[v[v[a>>2]+40>>2]](a)|0,v[c+80>>2]=d;b=Ub[v[v[a>>2]+48>>2]](a)|0;t[a+88|0]=1;v[a+84>>2]=b;return b|0}function ok(a,b,c,d){var e=0;e=Qb-32|0;Qb=e;a:{if(a){if(v[a+172>>2]==-1?v[a+212>>2]:0){break a}v[a+84>>2]=b;v[e+16>>2]=d;oc(0,0,0,a,0,1,b,3,0,0,0,d,c,e+16|0);v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1;break a}v[e>>2]=d;oc(0,0,0,0,0,1,b,3,0,0,0,d,c,e)}Qb=e+32|0}function hf(a,b,c,d){var e=0;e=Qb-32|0;Qb=e;a:{if(a){if(v[a+172>>2]==-1?v[a+212>>2]:0){break a}v[a+84>>2]=b;v[e+16>>2]=d;oc(0,0,0,a,0,1,b,3,d,0,0,0,c,e+16|0);v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1;break a}v[e>>2]=d;oc(0,0,0,0,0,1,b,3,d,0,0,0,c,e)}Qb=e+32|0}function ahb(a,b){a=a|0;b=b|0;var c=0;if(!v[a+92>>2]){c=jc(12);if(!c){v[a+92>>2]=0;return-1}v[c+8>>2]=0;v[c>>2]=0;v[c+4>>2]=0;v[a+92>>2]=c}c=jc(12);if(!c){return-1}v[c>>2]=w[b+12|0];v[c+8>>2]=v[b+20>>2];v[b+20>>2]=0;v[c+4>>2]=v[b+16>>2];return(A2(v[a+92>>2],c)?-1:0)|0}function Zcb(a){a=a|0;var b=0,c=0,d=0,e=0;if(v[a+588>>2]>=1){c=v[a+644>>2];b=c;while(1){d=w[b|0]|w[b+1|0]<<8;t[c|0]=((d<<8|d>>>8)&65535)>>>8;d=w[b+2|0]|w[b+3|0]<<8;t[c+1|0]=((d<<8|d>>>8)&65535)>>>8;b=b+4|0;c=c+2|0;e=e+1|0;if((e|0)>2]){continue}break}}return 0}function Wc(a,b){a=a|0;b=b|0;var c=0,d=0;if(b){v[b+4>>2]=v[b+4>>2]+1}c=(a&252)+1197280|0;bD(c);d=v[a>>2];v[a>>2]=b;v[c>>2]=0;a:{if(!d){break a}b=d+4|0;c=v[b>>2]-1|0;v[b>>2]=c;if(c){break a}c=v[b>>2];if(!c){v[b>>2]=-32767}if(c){break a}Ub[v[v[d>>2]+4>>2]](d)}return a|0}function A$a(a,b){a=a|0;b=b|0;var c=0;if(y[b+160>>2]>>0){Sd(b,8)}c=w[a+3|0]|w[a+2|0]<<8;if(!(c>>>0>=262&y[b+160>>2]>=a+c>>>0)){Sd(b,8)}if(v[b+164>>2]>=1){a=a+6|0;c=0;while(1){if(y[b+172>>2]<=w[a|0]){Sd(b,16)}a=a+1|0;c=c+1|0;if((c|0)!=256){continue}break}}return 0}function zea(a,b){a=a|0;b=b|0;var c=0,d=0;c=fc(36);v[299999]=0;b=Q(5363,c|0,b|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){v[a>>2]=0;Wc(a,b);v[299999]=0;R(5364,b|0);b=v[299999];v[299999]=0;if((b|0)==1){b=P()|0;O()|0;ec(a);T(b|0);L()}return}a=P()|0;O()|0;dc(c);T(a|0);L()}function wi(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=Qb-16|0;Qb=e;d=v[a+8>>2]&2147483647;a:{if(d>>>0>c>>>0){d=v[a>>2];v[a+4>>2]=c;ak(d,b,c);v[e+12>>2]=0;v[d+(c<<2)>>2]=v[e+12>>2];break a}f=d-1|0;g=(c-d|0)+1|0;d=v[a+4>>2];Sq(a,f,g,d,0,d,c,b)}Qb=e+16|0;return a|0}function seb(a){a=a|0;var b=0,c=0,d=0;if(v[a+588>>2]>=1){b=v[a+540>>2];b=v[b+1176>>2]+B(v[b+1168>>2],v[a+2552>>2])|0;c=v[a+2516>>2];while(1){t[b|0]=w[c|0];t[b+1|0]=w[c+1|0];t[b+2|0]=w[c+2|0];c=c+3|0;b=b+4|0;d=d+1|0;if((d|0)>2]){continue}break}}return TA(a)|0}function k_a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=v[a+516>>2];e=b;a:{b:{if(c){c=Ub[d|0](a,1986553185,b,0)|0;if(c){break a}a=a+296|0;break b}c=Ub[d|0](a,1751672161,b,0)|0;if(c){break a}a=a+216|0}c=me(e,446704,a);if(c){break a}v[a+36>>2]=0;v[a+40>>2]=0;c=0}return c|0}function iVa(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,j=0,k=0,l=0;h=1;a:{if(!v[a+16>>2]){break a}a=v[a+20>>2];if(!a){break a}i=A[d>>3];j=A[e>>3];k=A[f>>3];l=A[g>>3];a=v[a+4>>2];ze(a,A[b>>3],A[c>>3],4);ze(a,i,j,4);ze(a,k,l,4);h=0}return h|0}function _Ba(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=v[b>>2];a=(a|0)<65536?a:65536;v[c>>2]=(a|0)>0?a:0;a=v[b+4>>2];a=(a|0)<65536?a:65536;v[c+4>>2]=(a|0)>0?a:0;a=v[b+8>>2];a=(a|0)<65536?a:65536;v[c+8>>2]=(a|0)>0?a:0;a=v[b+12>>2];a=(a|0)<65536?a:65536;v[c+12>>2]=(a|0)>0?a:0}function pt(a,b,c){var d=0,e=0,f=0;d=a*a;f=d*(d*d)*(d*1.58969099521155e-10+-2.5050760253406863e-8)+(d*(d*27557313707070068e-22+-.0001984126982985795)+.00833333333332249);e=d*a;if(!c){return e*(d*f+-.16666666666666632)+a}return a-(d*(b*.5-e*f)-b+e*.16666666666666632)}function lBa(a){a=a|0;var b=0,c=0;b=fc(16);a:{a=v[a+12>>2];b:{if(!a){a=0;break b}c=v[v[a>>2]+8>>2];v[299999]=0;a=S(c|0,a|0)|0;c=v[299999];v[299999]=0;if((c|0)==1){break a}}v[b+4>>2]=15;v[b+8>>2]=0;v[b+12>>2]=a;v[b>>2]=897456;return b|0}a=P()|0;O()|0;dc(b);T(a|0);L()}function _p(a,b,c){var d=0;d=Qb-32|0;Qb=d;a:{if(a){if(v[a+172>>2]==-1?v[a+212>>2]:0){break a}v[a+84>>2]=1;v[d+16>>2]=c;oc(0,0,0,a,0,1,1,3,c,0,0,0,b,d+16|0);v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1;break a}v[d>>2]=c;oc(0,0,0,0,0,1,1,3,c,0,0,0,b,d)}Qb=d+32|0}function Wy(a,b,c){var d=0;d=Qb-32|0;Qb=d;a:{if(a){if(v[a+172>>2]==-1?v[a+212>>2]:0){break a}v[a+84>>2]=9;v[d+16>>2]=c;oc(0,0,0,a,0,1,9,3,0,0,0,c,b,d+16|0);v[a+12>>2]=0;if(v[a+288>>2]){break a}v[a+212>>2]=1;break a}v[d>>2]=c;oc(0,0,0,0,0,1,9,3,0,0,0,c,b,d)}Qb=d+32|0}function $Na(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;if(!(e>>>0>2|(e|w[a|0]!=105?a:0))){v[f>>2]=0;a=v[b+4>>2];a:{b:{if(!(w[a+62|0]!=1|!w[a+66|0])){if(v[f>>2]>0){break a}c=845772;break b}if(v[f>>2]>0){break a}c=845774}sG(a,c,1,b+16|0,v[b+20>>2],b+24|0,0,f)}}}function w2(a,b,c,d,e,f,g,h){var i=0,j=0,k=0;a:{b:{if((e|0)<1|(f|0)<1){break b}i=-1;if(Ub[v[v[a+4>>2]>>2]](b,c,d,e,f,g)|0){break a}if((h|0)<1){break b}j=a;k=b;a=c+1|0;b=a>>1;c=d+1|0;d=c>>1;i=-1;if(w2(j,k,b,d,(a+e>>1)-b|0,(c+f>>1)-d|0,g,h-1|0)){break a}}i=0}return i}function Fua(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Qb-16|0;Qb=e;Gp(e,a,b);a=v[a+4>>2];v[299999]=0;$(4090,a|0,e|0,c|0,d|0);a=v[299999];v[299999]=0;if((a|0)!=1){if(t[e+11|0]<=-1){dc(v[e>>2])}Qb=e+16|0;return}a=P()|0;O()|0;if(t[e+11|0]<=-1){dc(v[e>>2])}T(a|0);L()}function Ds(a){var b=0,c=0,d=0;a:{if(!a){break a}b=t[a|0];d=b&255;if(!d|!(w[(d>>>3|0)+375728|0]>>>(b&7)&1)){break a}while(1){if(c>>>0>429496727){return-1}c=w[b+375760|0]+B(c,10)|0;b=t[a+1|0];a=a+1|0;if(w[((b&248)>>>3|0)+375728|0]>>>(b&7)&1){continue}break}}return c}function A1a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=v[a+88>>2];if(b){v[b>>2]=v[a+300>>2]}if(c){v[c>>2]=v[a+304>>2]}a:{if(!f){b=65536;a=65536;break a}b=ad(x[f+12>>1]<<6,v[a+304>>2]);a=ad(x[f+14>>1]<<6,v[a+304>>2])}if(d){v[d>>2]=b}if(e){v[e>>2]=a}return 0}function yt(a){a=a|0;var b=0;v[a>>2]=995752;b=v[a+44>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}b=v[a+48>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}b=v[a+52>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}v[a+52>>2]=0;v[a+44>>2]=0;v[a+48>>2]=0;v[a+32>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;zt(a);return a|0}function wA(a,b){var c=0,d=0;c=Qb-16|0;Qb=c;a:{if(!b|!a){break a}b:{if((a|0)==(b|0)){break b}d=v[a+36>>2];v[c+8>>2]=d;if(d){on(c+8|0);v[a+36>>2]=0}b=v[b+36>>2];if(!b){break b}b=uI(b);if(!b){break a}d=v[a+36>>2];v[c+12>>2]=d;if(d){on(c+12|0)}v[a+36>>2]=b}}Qb=c+16|0}function sB(a,b){var c=0,d=0,e=0;a:{e=v[b+964>>2];if(!e){break a}c=v[a+16>>2];if((c|0)!=v[b+16>>2]){break a}d=v[a+20>>2];if((d|0)!=v[b+20>>2]){break a}d=B(c,d);c=v[a+964>>2];if(!c){c=jc(d);v[a+964>>2]=c;if(!c){break a}e=v[b+964>>2]}gc(c,e,d);t[a+388|0]=w[b+388|0]}}function fn(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=A[a>>3];d=A[a+24>>3];e=A[a+8>>3];f=A[a+16>>3];b=1/(c*d-e*f);c=c*b;A[a+24>>3]=c;f=b*-f;A[a+16>>3]=f;e=b*-e;A[a+8>>3]=e;b=d*b;A[a>>3]=b;g=b;b=-A[a+32>>3];d=A[a+40>>3];A[a+32>>3]=g*b-f*d;A[a+40>>3]=e*b-c*d;return a|0}function fV(a){var b=0,c=0,d=0,e=0;if(a){b=v[a>>2];c=v[b>>2];if((c|0)!=(b|0)){while(1){d=v[a+4>>2];e=v[c+4>>2];b=v[c>>2];v[e>>2]=b;v[v[c>>2]+4>>2]=e;if(d){Ub[d|0](c)}Ub[v[259708]](c);c=b;b=v[a>>2];if((c|0)!=(b|0)){continue}break}}Ub[v[259708]](b);Ub[v[259708]](a)}}function bv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Qb-16|0;Qb=c;v[c+12>>2]=0;v[c+8>>2]=0;d=w[b+11|0];e=d<<24>>24<0;ll(e?v[b>>2]:b,e?v[b+4>>2]:d,c+12|0,c+8|0,0);d=v[c+12>>2];b=zh(d,301006);v[a+4>>2]=b;if(d){dc(d);b=v[a+4>>2]}if(b){v[a+8>>2]=0}Qb=c+16|0;return(b|0)!=0|0}function Tqa(a){a=a|0;var b=0,c=0,d=0,e=0;if(!(jj(a+20|0)|v[a+16>>2])){t[a+8|0]=1;if(v[a+84>>2]<=-1){b=v[a+64>>2];d=a,e=Ub[v[v[b>>2]+28>>2]](b)|0,v[d+84>>2]=e}b=v[a+96>>2];if(b){while(1){c=v[b+8>>2];if(!v[c+8>>2]){v[c+8>>2]=1}b=v[b>>2];if(b){continue}break}}Ax(a)}}function zDa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;b=v[a+28>>2];d=A[b+624>>3]-A[b+576>>3];A[b+624>>3]=d;e=A[b+616>>3];A[b+600>>3]=A[b+536>>3]+(e*A[b+504>>3]+d*A[b+520>>3]);A[b+608>>3]=A[b+544>>3]+(e*A[b+512>>3]+d*A[b+528>>3]);a=v[a+8>>2];Ub[v[v[a>>2]+184>>2]](a,b)}function yv(a,b){var c=0;if(!a){return 40}v[a+16>>2]=b;v[a+8>>2]=0;v[a+12>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;v[a>>2]=0;b=zh(b,301722);if(!b){return 1}zg(b,0,2);c=tp(b);v[a+4>>2]=c;if(!c){Be(b);return 81}zg(b,0,0);v[a+24>>2]=1704;v[a+20>>2]=1705;v[a+12>>2]=b;return 0}function oW(a,b){var c=0,d=0,e=0,f=0,g=0;e=65534;c=v[a+4>>2];a:{if(!c){break a}f=v[a+20>>2];a=0;if((c|0)!=1){while(1){d=a+c>>>1|0;g=y[(d<<3)+f>>2]>b>>>0;a=g?a:d;c=g?d:c;if(a>>>0>>0){continue}break}}a=(a<<3)+f|0;if(v[a>>2]!=(b|0)){break a}e=v[a+4>>2]}return e}function jYa(a,b){a=a|0;b=b|0;var c=0,d=0;d=v[a>>2];c=v[d+552>>2];a:{d=Eg(v[v[d+96>>2]+4>>2],239287);if(!(!d|!c)){c=v[c>>2];if(c){break a}}rq(v[a>>2],b);return 0}c=Ub[c|0](d)|0;rq(v[a>>2],b);if(c){Ub[v[c+4>>2]](v[v[a+40>>2]>>2],v[a+16>>2],v[a+20>>2],0,0)}return 0}function ct(){var a=0,b=0,c=0,d=0;if(v[282725]>=1){while(1){b=B(d,28);a=b+1130916|0;c=v[a>>2];if(c){dc(c);v[a>>2]=0}a=b+1130920|0;c=v[a>>2];if(c){dc(c);v[a>>2]=0}b=b+1130924|0;a=v[b>>2];if(a){dc(a);v[b>>2]=0}d=d+1|0;if((d|0)>2]=897568;b=v[a+392>>2];if((b|0)>=1){while(1){d=v[((c<<2)+a|0)+264>>2];if(d){Ub[v[v[d>>2]+4>>2]](d);b=v[a+392>>2]}c=c+1|0;if((b|0)>(c|0)){continue}break}}v[a>>2]=897548;b=v[a+8>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}return a|0}function Zo(a){var b=0,c=0,d=0,e=0;b=jc(160);if(!b){return 0}c=ic(b,0,160);v[c+12>>2]=0;v[c+8>>2]=a;d=1032688;a:{if(!v[258013]){break a}b=1032048;while(1){if(v[b>>2]==(a|0)){d=b;break a}e=b;b=b+32|0;if(v[e+36>>2]){continue}break}}v[c+4>>2]=d;v[c>>2]=d+12;return c}function ZAa(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=897588;b=v[a+360>>2];if((b|0)>=1){while(1){d=v[((c<<2)+a|0)+232>>2];if(d){Ub[v[v[d>>2]+4>>2]](d);b=v[a+360>>2]}c=c+1|0;if((b|0)>(c|0)){continue}break}}v[a>>2]=897548;b=v[a+8>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}return a|0}function WAa(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=897608;b=v[a+376>>2];if((b|0)>=1){while(1){d=v[((c<<2)+a|0)+248>>2];if(d){Ub[v[v[d>>2]+4>>2]](d);b=v[a+376>>2]}c=c+1|0;if((b|0)>(c|0)){continue}break}}v[a>>2]=897548;b=v[a+8>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}return a|0}function RL(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=1016384;b=v[a+8>>2];v[299999]=0;c=ga(5559)|0;d=v[299999];v[299999]=0;a:{if((d|0)!=1){if((b|0)==(c|0)){break a}b=v[a+8>>2];v[299999]=0;qC(b);b=v[299999];v[299999]=0;if((b|0)!=1){break a}}W(0)|0;O()|0;lc();L()}return a|0}function RJ(a,b,c,d,e,f){var g=0,h=0;g=Qb-16|0;Qb=g;v[g+12>>2]=f;h=v[a>>2];a:{if((h|0)>=1){u2(a,b,c,b,c,d,e,g+12|0,h);break a}v[f+32>>2]=e;v[f+28>>2]=d;v[f+24>>2]=c;v[f+20>>2]=b;v[f+12>>2]=e;v[f+8>>2]=d;v[f+4>>2]=c;v[f>>2]=b;v[f+36>>2]=8192;v[f+16>>2]=0}Qb=g+16|0}function Ina(a){a=a|0;var b=0,c=0;Wc(a+8|0,0);Wc(a+36|0,0);Wc(a+40|0,0);Wc(a+44|0,0);Wc(a+12|0,0);Wc(a+32|0,0);Wc(a+20|0,0);Wc(a+24|0,0);Wc(a+28|0,0);Wc(a+48|0,0);dx(a+52|0,358460);dx(a+60|0,358460);a=a+148|0;b=a;c=v[a>>2];a=v[a>>2]&44;if((c|0)!=(a|0)){v[b>>2]=a}}function HHa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=v[a+20>>2]+v[a+16>>2]|0;c=v[a+4>>2];e=v[a+8>>2]-c|0;if((d|0)==((e?B(e>>2,93)-1|0:0)|0)){_T(a);c=v[a+4>>2];d=v[a+16>>2]+v[a+20>>2]|0}e=c;c=(d>>>0)/93|0;ZT(v[e+(c<<2)>>2]+B(d-B(c,93)|0,44)|0,b);v[a+20>>2]=v[a+20>>2]+1}function F$a(a){a=a|0;var b=0,c=0,d=0,e=0;b=v[a+16>>2];v[a+32>>2]=b;d=v[a+20>>2];v[a+36>>2]=d;c=v[a+8>>2];e=c+v[a>>2]|0;v[a+8>>2]=e>>1;b=b+c|0;v[a+24>>2]=b>>1;v[a+16>>2]=b+e>>2;b=v[a+12>>2];c=b+v[a+4>>2]|0;v[a+12>>2]=c>>1;b=b+d|0;v[a+28>>2]=b>>1;v[a+20>>2]=b+c>>2}function p4(a){a=a|0;var b=0,c=0;b=v[a+584>>2];if(b){xK(a);v[a+672>>2]=v[b+128>>2];v[a+668>>2]=v[b+132>>2];c=v[b+124>>2];a:{b:{if(c&2){_m(b- -64|0);break b}if(!(c&1)){break a}tk(b- -64|0)}v[b+124>>2]=0}dc(b);v[a+584>>2]=0;pp(a);return}X(35181,6646,278,88491);L()}function Qq(a,b,c){var d=0,e=0,f=0,g=0;a:{g=v[a+20>>2];if(!g){break a}e=v[a+24>>2];if(!e){break a}f=a;d=+C(C(e>>>0)*c)+.5;b:{if(d<4294967296&d>=0){e=~~d>>>0;break b}e=0}v[f+24>>2]=e;d=+C(C(g>>>0)*b)+.5;c:{if(d<4294967296&d>=0){f=~~d>>>0;break c}f=0}v[a+20>>2]=f}}function Kqa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{d=v[c>>2];if(d){if(v[c+4>>2]==(a|0)){break a}Ei(c,a);L()}d=v[a+8>>2];if(d){break a}return 0}b=v[b>>2];b:{while(1){if((b|0)==v[d+8>>2]){break b}d=v[d>>2];if(d){continue}break}return 0}v[c+4>>2]=a;v[c>>2]=d;return 1}function u7(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;if((c|0)>=1){a=v[a+12>>2];while(1){e=x[a>>1];f=e&32767;if(f){d=wp((+(f|0)+.5)*.0027076061740622863+-44.3614195558365);d=e&32768?-d:d}else{d=0}a=a+2|0;z[b>>2]=d;b=b+4|0;e=(c|0)>1;c=c-1|0;if(e){continue}break}}}function jxa(a){a=a|0;var b=0;v[a>>2]=963004;b=v[a+4>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}b=v[a+64>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;a:{if((b|0)!=1){b=v[a+60>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)!=1){break a}}W(0)|0;O()|0;lc();L()}dc(a)}function dd(a){var b=0,c=0,d=0;d=Qb-16|0;Qb=d;a:{if(!a){break a}c=v[a>>2];if(!c){break a}b=v[c+16>>2]-1|0;v[c+16>>2]=b;if((b|0)<=0){b=v[c+40>>2];if(b){Ub[v[259694]](b)}b=v[c+32>>2];if(b){dc(b)}b=v[c+36>>2];v[d+12>>2]=b;if(b){on(d+12|0)}dc(c)}v[a>>2]=0}Qb=d+16|0}function Nl(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[a+4>>2];a:{if(!(w[b|0]?b:0)){a=-1;if(!c){break a}a=w[c|0]?1:-1;break a}a=-1;if(!(!c|!w[c|0])){a=lN(c,357670);b:{if(a){d=a-b|0;a=a-c|0;break b}a=Bc(c);d=Bc(b)}if((a|0)==(d|0)){a=Oc(c,b,a);break a}a=mc(c,b)}}return a|0}function EJ(a,b,c){var d=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a>>2]=189728;v[a+12>>2]=0;v[a+16>>2]=0;a:{d=e2();if(d){if(c?b:0){break a}dc(d)}v[a+4>>2]=0;return a}v[d+20>>2]=b;v[d+12>>2]=b;v[d+8>>2]=c;v[d+4>>2]=b;v[d>>2]=1;v[d+16>>2]=b+c;v[a+16>>2]=c;v[a+4>>2]=d;return a}function Dwa(a){a=a|0;var b=0,c=0,d=0,e=0;c=v[a+8>>2];e=v[c>>2];if(v[a+12>>2]>=2){b=1;while(1){d=(b<<2)+c|0;v[d-4>>2]=v[d>>2];b=b+1|0;if((b|0)>2]){continue}break}}b=v[a+4>>2];b=Ub[v[v[b>>2]+28>>2]](b)|0;v[(v[a+8>>2]+(v[a+12>>2]<<2)|0)-4>>2]=b;return e|0}function ud(a){a=a|0;var b=0,c=0;c=Qb-32|0;Qb=c;a:{b=Bc(a);if((b|0)>-2){b=b+1|0;b:{if(!b){b=0;break b}b=jc(b);if(!b){break a}}a=ce(b,a);Qb=c+32|0;return a|0}v[c>>2]=274048;wc(v[252391],350078,c);pa(1);L()}v[c+16>>2]=217973;wc(v[252391],350078,c+16|0);pa(1);L()}function r1(a){var b=0,c=0;c=v[a+408>>2];b=v[c>>2];v[a+408>>2]=b;if(!b){v[a+412>>2]=0}a:{b:{if(!w[c+12|0]){break b}b=v[a+160>>2];if(!b){break b}Ub[b|0](a,v[c+4>>2],v[c+8>>2]);break a}b=v[c+4>>2];if(!b){break a}Ub[v[a+156>>2]](b,v[c+8>>2])}Ub[v[a+156>>2]](c,24)}function ec(a){var b=0,c=0,d=0;b=v[a>>2];v[a>>2]=0;a:{if(!b){break a}v[299999]=0;c=v[b+4>>2]-1|0;v[b+4>>2]=c;d=v[299999];v[299999]=0;if((d|0)!=1){if(c){break a}v[299999]=0;R(4338,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}}W(0)|0;O()|0;lc();L()}return a}function _Ya(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=u[a+302>>1];if(e){f=c<<3;g=v[f+v[b+12>>2]>>2];e=jd(d,e,v[a+568>>2]);v[f+v[b+12>>2]>>2]=e+g}e=u[a+304>>1];if(e){c=c<<3;f=v[(c+v[b+12>>2]|0)+4>>2];a=jd(d,e,v[a+568>>2]);v[(c+v[b+12>>2]|0)+4>>2]=a+f}}function _3a(a,b){a=a|0;b=b|0;var c=0;a=v[a+712>>2];b=x[v[a+1188>>2]+(b<<1)>>1];a:{if((b|0)==65535){break a}if(b>>>0>=391){b=b-391|0;if(b>>>0>=y[a+1356>>2]){break a}return v[v[a+1360>>2]+(b<<2)>>2]}a=v[a+3084>>2];if(!a){break a}c=Ub[v[a+20>>2]](b)|0}return c|0}function VRa(a){a=a|0;var b=0,c=0,d=0,e=0;v[a>>2]=466168;b=v[a+248>>2];if(b){c=v[a+252>>2];if((c|0)==(b|0)){d=b}else{while(1){d=c-12|0;e=v[d>>2];if(e){v[c-8>>2]=e;dc(e)}c=d;if((c|0)!=(b|0)){continue}break}d=v[a+248>>2]}v[a+252>>2]=b;dc(d)}Ne(a+92|0);return a|0}function Ufa(a){a=a|0;var b=0;v[a>>2]=995752;b=v[a+44>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}b=v[a+48>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}b=v[a+52>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}v[a+52>>2]=0;v[a+44>>2]=0;v[a+48>>2]=0;v[a+32>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;zt(a);dc(a)}function OPa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=v[v[b+180>>2]+24>>2];c=Bc(d);if(c>>>0<4294967280){a:{b:{if(c>>>0>=11){e=c+16&-16;b=fc(e);v[a+8>>2]=e|-2147483648;v[a>>2]=b;v[a+4>>2]=c;a=b;break b}t[a+11|0]=c;if(!c){break a}}gc(a,d,c)}t[a+c|0]=0;return}$d(a);L()}function Hh(a,b,c){var d=0,e=0;d=v[a+24812>>2];e=d+12|0;v[a+24812>>2]=e;if(v[b>>2]>(c|0)){while(1){v[d>>2]=e;c=c+1|0;b=Hh(a,b,c);v[d+4>>2]=v[a+24812>>2];d=v[a+24812>>2];e=d+12|0;v[a+24812>>2]=e;if(v[b>>2]>(c|0)){continue}break}}v[d+8>>2]=v[b+4>>2];return b+8|0}function yma(a){a=a|0;var b=0,c=0;a=v[294602];v[294602]=0;a:{if(!a){break a}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break a}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break a}}W(0)|0;O()|0;lc();L()}}function qla(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;v[299999]=0;b=S(4469,d|0)|0;c=v[299999];v[299999]=0;a:{b:{if((c|0)!=1){if(!b){break b}v[299999]=0;$(4758,a|0,d|0,0,-1);b=v[299999];v[299999]=0;if((b|0)!=1){break a}}b=W(0)|0;O()|0;ea(b|0)|0;ka()}v[a>>2]=0;Wc(a,0)}}function pSa(a){a=a|0;var b=0,c=0,d=0,e=0;v[a>>2]=465816;b=v[a+2916>>2];if(b){c=v[a+2920>>2];if((c|0)==(b|0)){d=b}else{while(1){d=c-12|0;e=v[d>>2];if(e){v[c-8>>2]=e;dc(e)}c=d;if((c|0)!=(b|0)){continue}break}d=v[a+2916>>2]}v[a+2920>>2]=b;dc(d)}Ne(a+88|0);dc(a)}function hma(a){a=a|0;var b=0,c=0;a=v[294609];v[294609]=0;a:{if(!a){break a}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break a}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break a}}W(0)|0;O()|0;lc();L()}}function X9a(a){a=a|0;var b=0,c=0,d=0;b=v[a+644>>2];d=v[a+636>>2];v[a+644>>2]=d;v[a+636>>2]=b;c=v[a+588>>2];if((c|0)>=1){b=(b+(c<<3)|0)-8|0;c=0;while(1){v[d>>2]=v[b>>2];v[d+4>>2]=v[b+4>>2];b=b-8|0;d=d+8|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function Ska(a){a=a|0;var b=0,c=0;a=v[294746];v[294746]=0;a:{if(!a){break a}v[299999]=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;c=v[299999];v[299999]=0;if((c|0)!=1){if(b){break a}v[299999]=0;R(4338,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break a}}W(0)|0;O()|0;lc();L()}}function OYa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=v[((c<<2)+a|0)+268>>2];c=v[a+484>>2];e=v[a+488>>2];if((b|0)>=0){b=((b+d|0)+e|0)-c|0;a=c+(b-((b|0)%v[a+480>>2]|0)|0)|0;return((a|0)<0?c:a)|0}b=d+e-(b+c)|0;a=(b|0)%v[a+480>>2]-(b+c)|0;return((a|0)>0?0-c|0:a)|0}function L1a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;b=v[a>>2];c=v[b+408>>2];v[a+16>>2]=c;d=v[b+416>>2];v[a+20>>2]=d;a:{if(c>>>0<2){break a}b=v[d>>2];a=1;while(1){e=b;b=v[(a<<4)+d>>2];if(e>>>0>>0){a=a+1|0;if((c|0)!=(a|0)){continue}break a}break}f=8}return f|0}function x8a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;f=v[a+428>>2]+8|0;g=v[b+32>>2];if(g){e=v[b+36>>2];d=f;while(1){c=x[e>>1];c=c<<8|c>>>8;t[d|0]=c;t[d+1|0]=c>>>8;d=d+2|0;e=e+2|0;h=h+1|0;if(h>>>0>2]){continue}break}}return _d(a,v[b>>2],g<<1,f)|0}function w6(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;if(Oi(a,v[b+8>>2],0)){HB(b,c,d);return}e=v[a+12>>2];f=a+16|0;_K(f,b,c,d);a:{if((e|0)<2){break a}e=(e<<3)+f|0;a=a+24|0;while(1){_K(a,b,c,d);if(w[b+54|0]){break a}a=a+8|0;if(e>>>0>a>>>0){continue}break}}}function rka(a){a=a|0;var b=0,c=0,d=0;if(!w[a+88|0]){c=a,d=Ub[v[v[a>>2]+36>>2]](a)|0,v[c+72>>2]=d;c=a,d=Ub[v[v[a>>2]+44>>2]](a)|0,v[c+76>>2]=d;c=a,d=Ub[v[v[a>>2]+40>>2]](a)|0,v[c+80>>2]=d;b=Ub[v[v[a>>2]+48>>2]](a)|0;t[a+88|0]=1;v[a+84>>2]=b}return v[a+72>>2]}function qka(a){a=a|0;var b=0,c=0,d=0;if(!w[a+88|0]){c=a,d=Ub[v[v[a>>2]+36>>2]](a)|0,v[c+72>>2]=d;c=a,d=Ub[v[v[a>>2]+44>>2]](a)|0,v[c+76>>2]=d;c=a,d=Ub[v[v[a>>2]+40>>2]](a)|0,v[c+80>>2]=d;b=Ub[v[v[a>>2]+48>>2]](a)|0;t[a+88|0]=1;v[a+84>>2]=b}return v[a+80>>2]}function pka(a){a=a|0;var b=0,c=0,d=0;if(!w[a+88|0]){c=a,d=Ub[v[v[a>>2]+36>>2]](a)|0,v[c+72>>2]=d;c=a,d=Ub[v[v[a>>2]+44>>2]](a)|0,v[c+76>>2]=d;c=a,d=Ub[v[v[a>>2]+40>>2]](a)|0,v[c+80>>2]=d;b=Ub[v[v[a>>2]+48>>2]](a)|0;t[a+88|0]=1;v[a+84>>2]=b}return v[a+76>>2]}function ldb(a){a=a|0;var b=0,c=0,d=0,e=0;b=v[a+588>>2];if((b|0)>=1){c=v[a+644>>2];b=b-1|0;d=c+(b<<1)|0;b=c+(b<<2)|0;c=0;while(1){t[b+3|0]=0;e=w[d+1|0];t[b+1|0]=0;t[b+2|0]=e;t[b|0]=w[d|0];b=b-4|0;d=d-2|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function eJa(a,b){a=a|0;b=b|0;var c=0;if(!a){return 0}c=v[a+8>>2];if(!c){return 0}a=v[c+44>>2];a:{b:{if(!a){break b}a=v[a+60>>2];if(!a){break b}a=Se(a,b,0,0);if(a){break a}}c=v[c+48>>2];if(!c){return 0}a=0;c=v[c+60>>2];if(!c){break a}a=Se(c,b,0,0)}return a|0}function aFa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if(v[a+20>>2]>=1){while(1){if(!v[v[a+12>>2]+(d<<2)>>2]){aF(a,d+1|0,d,v[a+8>>2])}e=v[a+16>>2]+(d<<3)|0;if(!(v[e>>2]!=(b|0)|v[e+4>>2]!=(c|0))){return d+1|0}d=d+1|0;if((d|0)>2]){continue}break}}return 0} +function _B(a){a=a|0;var b=0,c=0,d=0;b=v[a+8>>2];v[299999]=0;c=ga(5559)|0;d=v[299999];v[299999]=0;a:{b:{if((d|0)==1){break b}if((b|0)!=(c|0)){b=v[a+8>>2];v[299999]=0;qC(b);b=v[299999];v[299999]=0;if((b|0)==1){break b}}break a}W(0)|0;O()|0;lc();L()}return a|0}function YAa(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=897588;b=v[a+360>>2];if((b|0)>=1){while(1){d=v[((c<<2)+a|0)+232>>2];if(d){Ub[v[v[d>>2]+4>>2]](d);b=v[a+360>>2]}c=c+1|0;if((c|0)<(b|0)){continue}break}}v[a>>2]=897548;b=v[a+8>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}dc(a)}function Wg(a){var b=0,c=0,d=0,e=0;b=v[a+24>>2];if(b){if(v[a+16>>2]>=1){while(1){d=c<<2;e=v[d+b>>2];b=v[e+32>>2];if(b){Te(b)}dc(e);v[v[a+24>>2]+d>>2]=0;c=c+1|0;if((c|0)>2]){b=v[a+24>>2];continue}break}b=v[a+24>>2]}dc(b)}b=v[a+32>>2];if(b){bw(b)}dc(a)}function WBa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=Qb-16|0;Qb=e;Ub[v[v[a>>2]+20>>2]](a,b,e,d);f=+v[e>>2]*.299+ +v[e+4>>2]*.587+ +v[e+8>>2]*.114+.5;a:{if(D(f)<2147483648){a=~~f;break a}a=-2147483648}a=(a|0)<65536?a:65536;v[c>>2]=(a|0)>0?a:0;Qb=e+16|0}function VAa(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=897608;b=v[a+376>>2];if((b|0)>=1){while(1){d=v[((c<<2)+a|0)+248>>2];if(d){Ub[v[v[d>>2]+4>>2]](d);b=v[a+376>>2]}c=c+1|0;if((c|0)<(b|0)){continue}break}}v[a>>2]=897548;b=v[a+8>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}dc(a)}function Up(a,b){var c=0,d=0;c=v[a+24>>2];if((c|0)>=1){b=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);d=v[a+20>>2];a=0;while(1){if((b|0)==v[B(a,20)+d>>2]){return a}a=a+1|0;if((c|0)!=(a|0)){continue}break}}return-1}function U7a(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[b+36>>2];a:{if(!c){break a}d=v[b+40>>2];if(!d){break a}Ub[v[a+156>>2]](d,c+1|0)}c=v[b+48>>2];b:{if(!c){break b}d=v[b+52>>2];if(!d){break b}Ub[v[a+156>>2]](d,B(c,B(w[b+44|0],3)+2|0))}Ub[v[a+156>>2]](b,56);return 0}function D_(a,b,c,d,e){var f=0,g=0;f=6;a:{g=e;if((b|0)<0|(c|0)<0){a=f}else{if(!c){if(!d){break a}Ub[v[a+8>>2]](a,d);break a}if(!b){a=Ub[v[a+4>>2]](a,c)|0;v[e>>2]=!a<<6;return a}a=Ub[v[a+12>>2]](a,b,c,d)|0;d=a?a:d;a=!a<<6}v[g>>2]=a;return d}v[e>>2]=0;return 0}function $Aa(a){a=a|0;var b=0,c=0,d=0;v[a>>2]=897568;b=v[a+392>>2];if((b|0)>=1){while(1){d=v[((c<<2)+a|0)+264>>2];if(d){Ub[v[v[d>>2]+4>>2]](d);b=v[a+392>>2]}c=c+1|0;if((c|0)<(b|0)){continue}break}}v[a>>2]=897548;b=v[a+8>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}dc(a)}function yQa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Qb-112|0;Qb=d;b=v[b+12>>2];if(b){lX(d+8|0,b,v[c>>2]);b=v[d+44>>2];v[a+8>>2]=v[d+40>>2];v[a+12>>2]=b;b=v[d+36>>2];v[a>>2]=v[d+32>>2];v[a+4>>2]=b;z[a+16>>2]=z[d+24>>2];z[a+20>>2]=z[d+28>>2];mg(d+84|0)}Qb=d+112|0}function yPa(a,b){a=a|0;b=b|0;var c=0,d=0;c=Qb-16|0;Qb=c;v[c+12>>2]=0;a:{if(v[a+208>>2]){d=b;break a}d=Ub[v[v[a>>2]+84>>2]](a,b,c+12|0)|0;if((d|0)>0|v[a+208>>2]|(v[a+196>>2]==-1|(b|0)>61439)){break a}d=Ub[v[v[a>>2]+84>>2]](a,b,c+12|0)|0}Qb=c+16|0;return d|0}function qx(a){var b=0,c=0,d=0;b=v[a+16>>2];if((b|0)<=v[a+20>>2]){c=v[a>>2];d=v[c+16>>2];Ub[d|0](Ub[v[c+4>>2]](v[a+4>>2],b-v[a+8>>2]|0)|0,(v[a+20>>2]-v[a+16>>2]|0)+1|0)}b=v[a+4>>2];if(b){dc(b)}v[a+4>>2]=0;v[a+8>>2]=0;v[a+20>>2]=-1;v[a+12>>2]=-1;v[a+16>>2]=0}function UL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Qb-32|0;Qb=d;v[d+16>>2]=b;v[d+24>>2]=a;v[d+8>>2]=c;while(1){a=v[d+24>>2]!=v[d+16>>2];if(!(!a|v[v[d+24>>2]>>2]!=v[v[d+8>>2]>>2])){v[d+24>>2]=v[d+24>>2]+4;v[d+8>>2]=v[d+8>>2]+4;continue}break}Qb=d+32|0;return!a|0}function KG(a,b){a=a|0;b=b|0;var c=0,d=0;if((a|0)<=536870911){c=Cib(a<<2,a>>31<<2|a>>>30,3,0);a=b&1?c:c+((a|0)%3|0)|0;c=(a|0)/76|0;d=a-B(c,76)|0;a:{if(!d){break a}d=(d<<24>>24)%4|0;if(!d){break a}a=(4-d&255)+a|0}a=(b&2?0:(c<<1)+2|0)+a|0}else{a=-1}return a|0}function If(a,b){a=a|0;b=b|0;var c=0,d=0;if(!a){return 0}d=v[a+204>>2];v[a+204>>2]=d|1048576;a:{b:{if(!b){break b}c=v[a+672>>2];c:{if(c){c=Ub[c|0](a,b)|0;break c}c=jc(b)}if(c){break b}c=0;if(!(w[a+206|0]&16)){break a}}v[a+204>>2]=d;return c|0}hd(a,1096);L()}function oxa(a){a=a|0;var b=0,c=0;b=fc(148);a=v[a+4>>2];c=v[v[a>>2]+8>>2];v[299999]=0;a=S(c|0,a|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){v[b>>2]=962904;v[b+4>>2]=a;v[b+144>>2]=0;a=b+8|0;v[b+140>>2]=a;v[b+136>>2]=a;return b|0}a=P()|0;O()|0;dc(b);T(a|0);L()}function mgb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=v[a+4>>2];if(e){d=v[a+12>>2];a:{if(!d){d=v[a+8>>2];break a}v[e+20>>2]=d+v[e+20>>2];v[a+12>>2]=0;d=d+v[a+8>>2]|0;v[a+8>>2]=d}gc(b,v[e+4>>2]+d|0,c);b=v[a+4>>2];v[b+20>>2]=v[b+20>>2]+c;v[a+8>>2]=v[a+8>>2]+c}}function _ba(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;a:{while(1){if((d|0)!=(e|0)){a=-1;if((b|0)==(c|0)){break a}f=v[b>>2];g=v[d>>2];if((f|0)<(g|0)){break a}if((f|0)>(g|0)){return 1}else{d=d+4|0;b=b+4|0;continue}}break}a=(b|0)!=(c|0)}return a|0}function ZLa(a,b){a=a|0;b=b|0;var c=0;a:{b:{if(b>>>0>=2){c=v[a+8>>2];break b}v[a+44>>2]=0;v[a+48>>2]=0;c=v[a+8>>2];if(c){t[c+15|0]=0;t[c+13|0]=0}if((b|0)==1){break a}}v[a+52>>2]=0;v[a+56>>2]=0;if(!c){break a}v[c+4>>2]=0;v[c+8>>2]=0;t[c+14|0]=0;t[c+12|0]=0}}function ZEa(a){a=a|0;var b=0,c=0,d=0;b=fc(28);v[b+8>>2]=256;v[b>>2]=0;v[299999]=0;c=Q(3364,256,4)|0;d=v[299999];v[299999]=0;if((d|0)!=1){v[b+4>>2]=c;gc(c,a,1024);v[b+20>>2]=0;v[b+24>>2]=1;v[b+12>>2]=0;v[b+16>>2]=0;return b|0}a=P()|0;O()|0;dc(b);T(a|0);L()}function Lza(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;v[a+8>>2]=13;v[a>>2]=938440;d=a+8|0;e=v[b>>2];a:{if(!(e>>>0>9|!(1<>2]=5}if(!v[c>>2]){v[a+24>>2]=v[c+8>>2];return a|0}kc(1,-1,279318,0);v[a+24>>2]=0;return a|0}function Lva(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=fc(8);v[299999]=0;Q(3063,e|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){v[a+8>>2]=c;v[a>>2]=e;v[a+28>>2]=1;v[a+20>>2]=0;v[a+24>>2]=0;v[a+12>>2]=d;v[a+4>>2]=2;return a|0}a=P()|0;O()|0;dc(e);T(a|0);L()}function BA(a){var b=0,c=0,d=0;c=v[a+12>>2];b=v[c>>2];if((b|0)!=v[c+4>>2]){while(1){d=v[b>>2];if(d){dc(d);c=v[a+12>>2]}b=b+4|0;if((b|0)!=v[c+4>>2]){continue}break}b=v[c>>2]}if(b){v[c+4>>2]=b;dc(b)}dc(c);b=v[a+16>>2];if(b){dc(b)}a=v[a+72216>>2];if(a){dc(a)}}function vca(a,b){a=a|0;b=b|0;a:{if(!v[a+64>>2]|y[a+8>>2]>=y[a+12>>2]){break a}if((b|0)==-1){v[a+12>>2]=v[a+12>>2]-1;return((b|0)==-1?0:b)|0}if(!(w[a+88|0]&16)&w[v[a+12>>2]-1|0]!=(b&255)){break a}v[a+12>>2]=v[a+12>>2]-1;t[v[a+12>>2]]=b;return b|0}return-1}function tt(a){return(((((a*3479331075960212e-20+.0007915349942898145)*a+-.04005553450067941)*a+.20121253213486293)*a+-.3255658186224009)*a+.16666666666666666)*a/((((a*.07703815055590194+-.6882839716054533)*a+2.0209457602335057)*a+-2.403394911734414)*a+1)}function qhb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Qb-16|0;Qb=c;if(v[a+12>>2]>=1){d=v[a+16>>2];while(1){f=v[d>>2];v[c+12>>2]=v[d+4>>2];v[c+8>>2]=e;v[c+4>>2]=f;v[c>>2]=e;wc(b,59319,c);d=d+8|0;e=e+1|0;if((e|0)>2]){continue}break}}Qb=c+16|0;return 0}function jk(a){var b=0;a:{switch(a|0){case 0:a=fc(12);v[a+4>>2]=15;v[a+8>>2]=0;v[a>>2]=896936;return a;case 2:a=fc(12);v[a+4>>2]=15;v[a+8>>2]=0;v[a>>2]=897040;return a;case 4:b=fc(12);v[b+4>>2]=15;v[b+8>>2]=0;v[b>>2]=897144;break;default:break a}}return b}function eSa(a,b,c){a=a|0;b=C(b);c=C(c);var d=C(0),e=C(0),f=C(0),g=C(0);d=z[a+4>>2];c=C(c-z[a+252>>2]);b=C(b-z[a+248>>2]);e=z[a+8>>2];f=z[a+256>>2];g=C(D(C(C(C(C(d*c)-C(b*e))*z[a+268>>2])*f)));b=C(D(C(C(z[a+264>>2]*C(C(b*d)+C(c*e)))*f)));return C(b>2]=981392;c=v[a+32>>2];d=v[a+8>>2];e=v[a+20>>2];b=v[a+12>>2];f=v[a+24>>2];v[299999]=0;U(c|0,d|0,e-b|0,f-b|0);b=v[299999];v[299999]=0;if((b|0)!=1){dc(v[a+8>>2]);v[a+8>>2]=0;return a|0}W(0)|0;O()|0;lc();L()}function URa(a){a=a|0;var b=0,c=0,d=0,e=0;v[a>>2]=466168;b=v[a+248>>2];if(b){c=v[a+252>>2];if((c|0)==(b|0)){d=b}else{while(1){d=c-12|0;e=v[d>>2];if(e){v[c-8>>2]=e;dc(e)}c=d;if((c|0)!=(b|0)){continue}break}d=v[a+248>>2]}v[a+252>>2]=b;dc(d)}Ne(a+92|0);dc(a)}function Rbb(a){a=a|0;var b=0,c=0,d=0;if(v[a+588>>2]>=1){b=v[a+636>>2]+v[a+616>>2]|0;c=v[a+644>>2];while(1){t[c|0]=w[b|0];t[c+1|0]=w[b|0];t[c+2|0]=w[b|0];t[c+3|0]=w[b+1|0];c=c+4|0;b=b+2|0;d=d+1|0;if((d|0)>2]){continue}break}}t[a+649|0]=0;return 0}function H6a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Qb-32|0;Qb=d;if(!b){b=v[a+190640>>2];a:{if(b){e=v[a+25208>>2];v[d+20>>2]=c;v[d+16>>2]=e;zd(b,4338,d+16|0);break a}b=v[a+25208>>2];v[d+4>>2]=c;v[d>>2]=b;wc(v[252391],4338,d)}sd(a+190484|0,1);L()}Qb=d+32|0}function B1a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;g_(a,b,c,d);b=v[a+300>>2];c=v[a+304>>2];a:{if((b|0)==(c|0)){break a}e=v[d>>2];if(e){f=d,g=jd(e,b,c),v[f>>2]=g}b=v[d+4>>2];if(!b){break a}f=d,g=jd(b,v[a+300>>2],v[a+304>>2]),v[f+4>>2]=g}return 0}function jH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=w[a+11|0];e=d<<24>>24;if(((e|0)<0?v[a+4>>2]:d)>>>0>=b>>>0){if((c|0)==-1){if((e|0)<=-1){v[v[a>>2]+(b<<2)>>2]=0;v[a+4>>2]=b;return a|0}v[(b<<2)+a>>2]=0;t[a+11|0]=b;return a|0}eL(a,b,c);return a|0}El(a);L()}function e1a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=v[a+20>>2];if(w[a+68|0]){a=v[e+8>>2];f=u[e+2>>1];g=v[e+4>>2]+(f<<3)|0;v[g>>2]=(((b>>31)+b|0)+32768&-65536)>>16;v[g+4>>2]=(((c>>31)+c|0)+32768&-65536)>>16;t[a+f|0]=d?1:2}u[e+2>>1]=x[e+2>>1]+1}function KN(a,b){var c=0,d=0,e=0;o(+a);c=j(1)|0;d=j(0)|0;e=c;c=c>>>20&2047;if((c|0)!=2047){if(!c){c=b;if(a==0){b=0}else{a=KN(a*0x10000000000000000,b);b=v[b>>2]+-64|0}v[c>>2]=b;return a}v[b>>2]=c-1022;l(0,d|0);l(1,e&-2146435073|1071644672);a=+n()}return a}function vcb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(v[a+2308>>2]){d=v[a+2312>>2];b=v[a+2316>>2];while(1){c=w[d|0];e=v[a+2296>>2];if(e){c=Ub[e|0](c&255)|0}t[b+2|0]=c;t[b+1|0]=c;t[b|0]=c;b=b+3|0;d=d+1|0;f=f+1|0;if(f>>>0>2]){continue}break}}return 0}function v2(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0;a:{if((h|0)>=1){j=c+1|0;k=j>>1;l=d+1|0;m=l>>1;i=-1;if(v2(a,b,k,m,(e+j>>1)-k|0,(f+l>>1)-m|0,g,h-1|0)){break a}}if(!((e|0)<1|(f|0)<1)){i=-1;if(Ub[v[v[a+4>>2]+4>>2]](b,c,d,e,f,g)|0){break a}}i=0}return i}function gj(a,b,c){var d=0,e=0;if(w[a+11|0]>>>7|0){e=v[a>>2]}else{e=a}if(w[a+11|0]>>>7|0){a=v[a+4>>2]}else{a=w[a+11|0]}d=Qb-16|0;Qb=d;v[d+12>>2]=b;b=-1;if(a>>>0>c>>>0){a=a-c|0;if(a){a=sf((c<<2)+e|0,v[d+12>>2],a)}else{a=0}b=a?a-e>>2:-1}Qb=d+16|0;return b}function Rf(a,b){var c=0,d=0,e=0,f=0;c=v[a>>2];d=v[b>>2];a:{b:{if((c|0)<1|(d|0)<1){break b}a=v[a+4>>2];b=v[b+4>>2];while(1){e=w[a|0]-w[b|0]|0;if(e){break a}f=f+1|0;if((c|0)<=(f|0)){break b}b=b+1|0;a=a+1|0;if((d|0)>(f|0)){continue}break}}e=c-d|0}return e}function H8a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;f=v[a+428>>2]+8|0;g=v[b+32>>2];if(g){h=b+36|0;d=f;while(1){c=x[(e<<1)+h>>1];c=c<<8|c>>>8;t[d|0]=c;t[d+1|0]=c>>>8;d=d+2|0;e=e+1|0;if(e>>>0>2]){continue}break}}return _d(a,v[b>>2],g<<1,f)|0}function xx(a){var b=0,c=0;b=v[a+4>>2];v[a+4>>2]=0;a:{if(!b){break a}v[299999]=0;a=v[b+4>>2]-1|0;v[b+4>>2]=a;c=v[299999];v[299999]=0;if((c|0)!=1){if(a){break a}v[299999]=0;R(4338,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){break a}}W(0)|0;O()|0;lc();L()}}function xV(a,b){var c=0,d=0;if(!(v[a+32>>2]|(!b|!a))){c=v[a+8>>2];if(!((c|0)==v[a+24>>2]|c>>>0>2147483646)){v[a+24>>2]=c}c=v[a+20>>2];d=v[a+4>>2];if(!((c|0)==(d|0)|d>>>0>2147483646)){v[a+20>>2]=d;c=d}a=v[a>>2];v[b+12>>2]=a;v[b+16>>2]=a;v[b+20>>2]=a+c}}function qu(a){var b=0,c=0;c=zh(a,301722);if(!c){return 10}b=fc(1040);v[b+1032>>2]=0;v[b+1036>>2]=0;v[b+4>>2]=c;v[b>>2]=889036;c=RT(b);Ub[v[v[b>>2]+4>>2]](b);a:{if((c|0)!=9){break a}c=9;b=Bc(a);if((b|0)<6){break a}c=mc((a+b|0)-6|0,227856)?9:8}return c}function p7a(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1296581714){pc(a,2050,0,0);return 2050}v[b+32>>2]=v[c+32>>2];v[b+36>>2]=v[c+36>>2];v[b+40>>2]=v[c+40>>2];v[b+44>>2]=v[c+44>>2];v[b+48>>2]=v[c+48>>2];v[b+52>>2]=v[c+52>>2];v[b+56>>2]=v[c+56>>2];return 0}function _L(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Qb-32|0;Qb=d;v[d+16>>2]=b;v[d+24>>2]=a;v[d+8>>2]=c;while(1){a=v[d+24>>2]!=v[d+16>>2];if(!(!a|w[v[d+24>>2]]!=w[v[d+8>>2]])){v[d+24>>2]=v[d+24>>2]+1;v[d+8>>2]=v[d+8>>2]+1;continue}break}Qb=d+32|0;return!a|0}function _6a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(v[c>>2]!=1700286537){pc(a,2050,0,0);return 2050}u[b+32>>1]=x[c+32>>1];d=v[c+36>>2];v[b+36>>2]=d;if(d){d=Ub[v[a+152>>2]](d)|0;v[b+40>>2]=d;if(!d){pc(a,1,0,0);return 1}gc(d,v[c+40>>2],v[b+36>>2])}return 0}function Xfa(a,b){a=a|0;b=C(b);var c=0;c=Qb-32|0;Qb=c;a:{if(!(b<=C(1)&b>C(0))){a=vc(c+8|0,283251,242096,1555,338735,0);v[299999]=0;R(4370,a|0);c=v[299999];v[299999]=0;if((c|0)!=1){break a}c=P()|0;O()|0;qc(a);T(c|0);L()}z[a+8>>2]=b;Qb=c+32|0;return}L()}function Qua(a,b){a=a|0;b=b|0;var c=0;c=Qb-16|0;Qb=c;Ub[v[v[a>>2]+12>>2]](c,a,b);v[299999]=0;a=S(4082,c|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){if(t[c+11|0]<=-1){dc(v[c>>2])}Qb=c+16|0;return a|0}a=P()|0;O()|0;if(t[c+11|0]<=-1){dc(v[c>>2])}T(a|0);L()}function Qm(a){a=a|0;var b=0,c=0;b=fc(36);v[b+8>>2]=1;v[b+4>>2]=0;v[b+20>>2]=0;v[b+12>>2]=0;v[b+16>>2]=0;v[b>>2]=982056;v[299999]=0;Z(4407,b+28|0,b+24|0,0,4)|0;c=v[299999];v[299999]=0;if((c|0)==1){a=P()|0;O()|0;Qc(b);dc(b);T(a|0);L()}v[a>>2]=0;Wc(a,b)}function Nfa(a,b){a=a|0;b=C(b);var c=0;c=Qb-32|0;Qb=c;a:{if(!(b<=C(1)&b>C(0))){a=vc(c+8|0,329125,242096,1822,338693,0);v[299999]=0;R(4370,a|0);c=v[299999];v[299999]=0;if((c|0)!=1){break a}c=P()|0;O()|0;qc(a);T(c|0);L()}z[a+8>>2]=b;Qb=c+32|0;return}L()}function xva(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=fc(8);v[299999]=0;d=Q(3063,e|0,346554)|0;f=v[299999];v[299999]=0;if((f|0)!=1){Mg(d,v[a+20>>2]);_c(d,322677);a=Ub[b|0](c,v[d+4>>2],v[d>>2])|0;Dc(d);dc(e);return a|0}a=P()|0;O()|0;dc(e);T(a|0);L()}function vm(a){var b=0,c=0;b=Qb-16|0;Qb=b;v[b+12>>2]=-1;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+12|0,1,4)|0;c=w[b+12|0];Qb=b+16|0;if(x[a+25204>>1]==18761){a=w[b+13|0]<<8|c|w[b+14|0]<<16|w[b+15|0]<<24}else{a=w[b+15|0]|(w[b+13|0]<<16|c<<24|w[b+14|0]<<8)}return a}function uva(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=fc(8);v[299999]=0;d=Q(3063,e|0,335739)|0;f=v[299999];v[299999]=0;if((f|0)!=1){Mg(d,v[a+20>>2]);_c(d,322675);a=Ub[b|0](c,v[d+4>>2],v[d>>2])|0;Dc(d);dc(e);return a|0}a=P()|0;O()|0;dc(e);T(a|0);L()}function fHa(a,b){a=a|0;b=b|0;var c=0;c=Qb-16|0;Qb=c;if(!(w[a+208|0]|w[a+203|0])){nk(a,v[b+596>>2],A[b+104>>3],b+16|0);b=v[a+104>>2];v[c+12>>2]=257;Ub[v[v[b>>2]+328>>2]](b,c+12|0)|0;a=v[a+104>>2];v[c+8>>2]=4;Ub[v[v[a>>2]+292>>2]](a,c+8|0)|0}Qb=c+16|0}function eHa(a,b){a=a|0;b=b|0;var c=0;c=Qb-16|0;Qb=c;if(!(w[a+208|0]|w[a+203|0])){nk(a,v[b+596>>2],A[b+104>>3],b+16|0);b=v[a+104>>2];v[c+12>>2]=513;Ub[v[v[b>>2]+328>>2]](b,c+12|0)|0;a=v[a+104>>2];v[c+8>>2]=4;Ub[v[v[a>>2]+292>>2]](a,c+8|0)|0}Qb=c+16|0}function Rm(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;v[a+48>>2]=g;v[a+44>>2]=f;v[a+40>>2]=e;v[a+36>>2]=d;v[a+32>>2]=c;v[a+28>>2]=b;v[a+20>>2]=0;v[a+24>>2]=-1;v[a+12>>2]=0;v[a+16>>2]=-1;v[a>>2]=981392;v[a+4>>2]=0;v[a+8>>2]=0;return a|0}function Qv(a,b){var c=0;a:{if(!v[a+276>>2]){v[a+276>>2]=b;if(v[a+420>>2]){break a}c=v[b>>2];v[a+420>>2]=c;c=(c|0)==1229472850?1:(c|0)==1246250066?3:2;v[a+12>>2]=c;v[a+8>>2]=c;v[a+280>>2]=b;return}c=v[a+280>>2];v[b+28>>2]=c;v[c+24>>2]=b}v[a+280>>2]=b}function OC(a){var b=0,c=0;b=w[a+74|0];t[a+74|0]=b-1|b;if(y[a+20>>2]>y[a+28>>2]){Ub[v[a+36>>2]](a,0,0)|0}v[a+28>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;b=v[a>>2];if(b&4){v[a>>2]=b|32;return-1}c=v[a+44>>2]+v[a+48>>2]|0;v[a+8>>2]=c;v[a+4>>2]=c;return b<<27>>31}function MIa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=v[a+272>>2];if(d){e=v[d+32>>2];a:{if(!e){break a}Ub[e|0](a,b,c);b=v[a+52>>2];if(!b){break a}a=v[a+36>>2];if(!a){break a}a=v[a+16>>2];if(!a|w[a|0]!=47|w[a+1|0]!=62){break a}u[b+58>>1]=1}v[d+16>>2]=1}}function E1a(a){a=a|0;var b=0,c=0,d=0;c=v[v[a+188>>2]>>2];b=c;d=v[a+168>>2];if(d){Ub[v[b+8>>2]](b,d)}v[a+172>>2]=0;v[a+164>>2]=0;v[a+168>>2]=0;b=v[a+184>>2];if(b){Ub[v[c+8>>2]](c,b)}t[a+192|0]=0;v[a+184>>2]=0;v[a+188>>2]=0;v[a+176>>2]=0;v[a+180>>2]=0}function DXa(a,b){a=a|0;b=b|0;var c=0;rq(v[a>>2],b);c=v[a>>2];b=v[c+320>>2];c=Eg(v[v[c+96>>2]+4>>2],239287);a:{if(!c|!b){break a}b=v[b>>2];if(!b){break a}b=Ub[b|0](c)|0;if(!b){break a}Ub[v[b+4>>2]](v[v[a+40>>2]>>2],v[a+16>>2],v[a+20>>2],0,0)}return 0}function y0a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=v[a+16>>2];c=v[b>>2]+1|0;c=c>>>0>>0?d:c;d=d+v[a+20>>2]|0;a:{if(c>>>0>>0){e=v[a+24>>2];while(1){a=x[(c<<1)+e>>1];if(a){break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}}a=0;c=0}v[b>>2]=c;return a|0}function qha(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Qb-32|0;Qb=d;a:{if(!c){a=vc(d+8|0,323342,241921,1912,226252,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}b=P()|0;O()|0;qc(a);T(b|0);L()}v[a>>2]=0;Wc(a,b);Qb=d+32|0;return}L()}function p3(a,b){a=a|0;b=b|0;var c=0,d=0;c=Qb+-64|0;Qb=c;v[c+48>>2]=v[a+16>>2];wc(b,39207,c+48|0);d=v[a+24>>2];v[c+32>>2]=v[a+20>>2];v[c+36>>2]=d;wc(b,40844,c+32|0);v[c+16>>2]=v[a+32>>2];wc(b,41709,c+16|0);v[c>>2]=w[a+36|0];wc(b,42587,c);Qb=c- -64|0}function gGa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;a=ic(a,0,256);d=v[b>>2]+c|0;e=w[d+1|0];d=w[d|0];f=e+d|0;b=v[b+4>>2]+c|0;c=w[b+1|0];b=w[b|0];g=c+b|0;v[a+32>>2]=f-g<<4;d=d-e|0;b=b-c|0;v[a+36>>2]=d-b<<4;v[a+4>>2]=b+d<<4;v[a>>2]=(f+g<<4)+-8192}function d7a(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1129072976){pc(a,2050,0,0);return 2050}u[b+32>>1]=x[c+32>>1];u[b+34>>1]=x[c+34>>1];t[b+36|0]=w[c+36|0];v[b+40>>2]=v[c+40>>2];v[b+44>>2]=v[c+44>>2];v[b+48>>2]=v[c+48>>2];v[b+52>>2]=v[c+52>>2];return 0}function V6a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(v[c>>2]!=1245987137){pc(a,2050,0,0);return 2050}t[b+32|0]=w[c+32|0];d=v[c+36>>2];v[b+36>>2]=d;if(d){d=Ub[v[a+152>>2]](d)|0;v[b+40>>2]=d;if(!d){pc(a,1,0,0);return 1}gc(d,v[c+40>>2],v[b+36>>2])}return 0}function U6a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(v[c>>2]!=1245987156){pc(a,2050,0,0);return 2050}t[b+32|0]=w[c+32|0];d=v[c+36>>2];v[b+36>>2]=d;if(d){d=Ub[v[a+152>>2]](d)|0;v[b+40>>2]=d;if(!d){pc(a,1,0,0);return 1}gc(d,v[c+40>>2],v[b+36>>2])}return 0}function MO(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{d=v[b>>2];b:{if(d){if(v[b+4>>2]!=(a|0)){break a}b=d+4|0;break b}d=0;b=a+12|0}b=v[b>>2];v[c>>2]=d;v[c+4>>2]=b;d=a+8|0;v[(b?b:d)>>2]=c;b=v[c>>2];v[(b?b:d)+4>>2]=c;v[a+4>>2]=v[a+4>>2]+1;return}Ei(b,a);L()}function GS(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=b-1|0;if(!(!a|e>>>0>7)){a:{if(!c){break a}b=0;d=w[c|0];if(!d){break a}g=(e<<5)+a|0;while(1){t[b+g|0]=d;f=b+1|0;d=w[c+1|0];if(!d){break a}c=c+1|0;h=b>>>0<30;b=f;if(h){continue}break}}t[((e<<5)+a|0)+f|0]=0}}function F7a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(v[c>>2]!=1229209940){pc(a,2050,0,0);return 2050}t[b+32|0]=w[c+32|0];d=v[c+36>>2];v[b+36>>2]=d;if(d){d=Ub[v[a+152>>2]](d)|0;v[b+40>>2]=d;if(!d){pc(a,1,0,0);return 1}gc(d,v[c+40>>2],v[b+36>>2])}return 0}function pg(){var a=0,b=0;a:{b:{if(t[1200176]&1){break b}if(!Je(1200176)){break b}v[299999]=0;a=Y(5561,2147483647,322139,0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}v[300043]=a;Ie(1200176)}return v[300043]}a=P()|0;O()|0;Pf(1200176);T(a|0);L()}function jr(a,b,c){var d=0,e=0;d=Qb-16|0;Qb=d;e=(b>>>0)/y[a+100>>2]|0;b=e;a:{if(x[a+138>>1]!=2){break a}b=x[a+98>>1];if(b>>>0<=c>>>0){e=v[a>>2];a=v[a+628>>2];v[d+4>>2]=b;v[d>>2]=c;zc(a,e,1154,d);b=0;break a}b=e+B(v[a+176>>2],c)|0}Qb=d+16|0;return b}function b9(a){a=a|0;v[a>>2]=0;v[a+4>>2]=0;t[a+40|0]=0;v[a+32>>2]=0;v[a+36>>2]=-1074790400;t[a+21|0]=0;t[a+22|0]=0;t[a+23|0]=0;t[a+24|0]=0;t[a+25|0]=0;t[a+26|0]=0;t[a+27|0]=0;t[a+28|0]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;return a|0}function _ha(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Qb-32|0;Qb=d;a:{if(!c){a=vc(d+8|0,274602,241921,572,226600,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}b=P()|0;O()|0;qc(a);T(b|0);L()}v[a>>2]=0;Wc(a,b);Qb=d+32|0;return}L()}function Zhb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=Qb-16|0;Qb=c;if(v[a+20>>2]){while(1){e=v[a+24>>2]+B(d,12)|0;f=v[e+4>>2];g=v[e>>2];v[c+8>>2]=v[e+8>>2];v[c>>2]=g;v[c+4>>2]=f;wc(b,48737,c);d=d+1|0;if(d>>>0>2]){continue}break}}Qb=c+16|0}function PIa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=Qb-32|0;Qb=b;if(a){a:{if(!v[a+68>>2]){break a}d=v[a+52>>2];if(!d){break a}c=v[a+36>>2];v[b+20>>2]=v[c+16>>2]-v[c+12>>2];c=v[c+28>>2];v[b+8>>2]=d;v[b+24>>2]=c;Pu(a,b+8|0)}v[a+264>>2]=-1;Fy(a)}Qb=b+32|0}function GQ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=v[a+4>>2];if(!d){return 0}e=a+4|0;a=e;while(1){f=Sl(d+16|0,b);a=f?a:d;d=v[(f?4:0)+d>>2];if(d){continue}break}d=0;a:{if((a|0)==(e|0)){break a}if(Sl(b,a+16|0)){break a}uf(c,a+28|0);d=1}return d|0}function rI(a,b,c,d){var e=0;a:{if((c|0)<0|(d|0)<0){break a}if((a|0)<=-1){c=a+c|0;if((c|0)<1){break a}a=0}if((b|0)<=-1){d=b+d|0;if((d|0)<1){break a}b=0}e=bd(1,20);if(!e){return 0}v[e+16>>2]=1;v[e+12>>2]=d;v[e+8>>2]=c;v[e+4>>2]=b;v[e>>2]=a}return e}function pd(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Qb-16|0;Qb=d;a:{b:{if(!b){b=0;if(!a){break b}dc(a);break b}if((c|0)<1|(b|0)<0|(2147483647/(c>>>0)|0)<=(b|0)){break a}b=fF(a,B(b,c))}Qb=d+16|0;return b|0}v[d>>2]=274019;wc(v[252391],350078,d);pa(1);L()}function jsa(a,b){a=a|0;b=b|0;var c=0,d=0;v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;v[299999]=0;c=a+12|0;Q(4336,c|0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){b=P()|0;O()|0;ec(c);if(t[a+11|0]<=-1){dc(v[a>>2])}T(b|0);L()}v[a+16>>2]=b;return a|0}function aVa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=1;a:{if(!v[a+16>>2]){break a}a=v[a+20>>2];if(!a){break a}a=v[a+4>>2];d=v[a>>2];if(d){e=v[a+12>>2];a=d-1|0;a=v[e+(a>>>6&67108860)>>2]+(a<<4&4080)|0;A[b>>3]=A[a>>3];A[c>>3]=A[a+8>>3]}d=0}return d|0}function S6a(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1145586770){pc(a,2050,0,0);return 2050}u[b+32>>1]=x[c+32>>1];t[b+34|0]=w[c+34|0];t[b+35|0]=w[c+35|0];v[b+36>>2]=v[c+36>>2];v[b+40>>2]=v[c+40>>2];v[b+44>>2]=v[c+44>>2];v[b+48>>2]=v[c+48>>2];return 0}function Lf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=v[a+8>>2];f=v[a+4>>2];if(d>>>0>>0){e=v[a+20>>2];a:{if(e){b=Ub[e|0](a,d,b,c)|0;break a}e=b;b=f-d|0;b=b>>>0>c>>>0?c:b;gc(e,v[a>>2]+d|0,b)}v[a+8>>2]=b+d;a=b>>>0>>0?85:0}else{a=85}return a|0}function Fsa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{c=v[a+20>>2];if((c|0)!=v[a+24>>2]){v[299999]=0;d=Yk(c,b);e=v[299999];v[299999]=0;if((e|0)==1){break a}v[a+20>>2]=d+12;MD(a,b);return}tQ(a+16|0,b);MD(a,b);return}b=P()|0;O()|0;v[a+20>>2]=c;T(b|0);L()}function DQ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=a+28|0;a=v[e>>2];if(!a){return 0}d=e;while(1){f=Sl(a+16|0,b);d=f?d:a;a=v[(f?4:0)+a>>2];if(a){continue}break}a=0;a:{if((d|0)==(e|0)){break a}if(Sl(b,d+16|0)){break a}uf(c,d+28|0);a=1}return a|0}function BL(){var a=0,b=0,c=0;b=Qb-16|0;Qb=b;v[b+12>>2]=1073741823;v[299999]=0;v[b+8>>2]=2147483647;a=Qb-16|0;Qb=a;Qb=a+16|0;a=b+8|0;c=b+12|0;a=y[a>>2]>2]?a:c;c=v[299999];v[299999]=0;if((c|0)!=1){Qb=b+16|0;return v[a>>2]}W(0)|0;O()|0;lc();L()}function zoa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{if((c|0)<1){break a}c=c-1|0;if(!d){while(1){a=IP(a,b)+16|0;d=(c|0)>0;c=c-1|0;b=b+16|0;if(d){continue}break a}}while(1){a=IP(a,b);ec(b+8|0);b=b+16|0;a=a+16|0;d=(c|0)>0;c=c-1|0;if(d){continue}break}}}function x1a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Qb-16|0;Qb=d;v[d+12>>2]=0;a:{if(v[c+80>>2]){break a}b=b-a|0;f=Fd(v[c>>2],b+1|0,d+12|0);v[c+80>>2]=f;e=v[d+12>>2];if(e){break a}gc(f,a,b);t[b+v[c+80>>2]|0]=0;e=v[d+12>>2]}Qb=d+16|0;return e|0}function ut(a,b){var c=0;c=65536-b|0;b=c+v[a+32>>2]|0;v[a+32>>2]=b;c=c+v[a+20>>2]|0;v[a+20>>2]=c;if(c>>>0>=32768){while(1){xt(a,1-(b>>>15|0)|0);b=v[a+32>>2]<<1&65534;v[a+32>>2]=b;c=v[a+20>>2]<<1&65534;v[a+20>>2]=c;if(c>>>0>32767){continue}break}}}function ng(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;t[a|0]=0;t[a+1|0]=0;t[a+2|0]=0;t[a+3|0]=0;d=v[b+4>>2];a:{if(!d){break a}b=v[b+44>>2];if(!b|b>>>0<=c>>>0){break a}b=(d+40|0)+(c<<2)|0;t[a|0]=w[b|0];t[a+1|0]=w[b+1|0];t[a+2|0]=w[b+2|0];t[a+3|0]=w[b+3|0]}}function aaa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;a:{e=Ll(a);if(!((c|0)%(e|0)|0)){if(c){break a}return 1}X(42379,6284,615,84349);L()}while(1){f=Ub[v[a+544>>2]](a,b,e,d)|0;if((f|0)==1){b=b+e|0;c=c-e|0;if(c){continue}}break}return(f|0)==1|0}function Gn(a,b,c,d){var e=0;if(d&2048){t[a|0]=43;a=a+1|0}if(d&512){t[a|0]=35;a=a+1|0}while(1){e=w[b|0];if(e){t[a|0]=e;a=a+1|0;b=b+1|0;continue}break}e=d&74;b=111;a:{if((e|0)==64){break a}b=d&16384?88:120;if((e|0)==8){break a}b=c?100:117}t[a|0]=b}function BH(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=ve(b);if(c>>>0<1073741808){a:{b:{if(c>>>0>=2){e=c+4&-4;d=fc(e<<2);v[a+8>>2]=e|-2147483648;v[a>>2]=d;v[a+4>>2]=c;break b}t[a+11|0]=c;d=a;if(!c){break a}}tc(d,b,c)}v[(c<<2)+d>>2]=0;return a|0}$d(a);L()}function An(a,b){var c=0,d=0;if(w[a+11|0]>>>7|0){c=v[a>>2]}else{c=a}d=-1;if(w[a+11|0]>>>7|0){a=v[a+4>>2]}else{a=w[a+11|0]}a:{if(!a){break a}a=(a<<2)+c|0;while(1){if((a|0)==(c|0)){break a}a=a-4|0;if(v[a>>2]!=(b|0)){continue}break}d=a-c>>2}return d}function v7a(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1649100612){pc(a,2050,0,0);return 2050}t[b+32|0]=w[c+32|0];t[b+33|0]=w[c+33|0];t[b+34|0]=w[c+34|0];u[b+36>>1]=x[c+36>>1];u[b+38>>1]=x[c+38>>1];u[b+40>>1]=x[c+40>>1];u[b+42>>1]=x[c+42>>1];return 0}function uja(a,b,c){a=a|0;b=b|0;c=c|0;v[a+124>>2]=v[a+124>>2]+b;v[a+132>>2]=v[a+132>>2]+b;v[a+128>>2]=v[a+128>>2]+c;v[a+136>>2]=v[a+136>>2]+c;v[a+108>>2]=v[a+108>>2]+b;v[a+112>>2]=v[a+112>>2]+c;v[a+116>>2]=v[a+116>>2]+b;v[a+120>>2]=v[a+120>>2]+c}function hba(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Qb-16|0;Qb=e;v[e+12>>2]=b;v[e+8>>2]=d;b=Nk(e,e+12|0);v[299999]=0;a=Y(5586,a|0,c|0,v[e+8>>2])|0;c=v[299999];v[299999]=0;if((c|0)!=1){ih(b);Qb=e+16|0;return a|0}a=P()|0;O()|0;ih(b);T(a|0);L()}function XC(a){var b=0,c=0;c=Qb-16|0;Qb=c;o(+a);b=j(1)|0;j(0)|0;b=b&2147483647;a:{if(b>>>0<=1072243195){if(b>>>0<1044381696){break a}a=FN(a,0,0);break a}if(b>>>0>=2146435072){a=a-a;break a}b=WC(a,c);a=FN(A[c>>3],A[c+8>>3],b&1)}Qb=c+16|0;return a}function Vva(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a=v[a+116>>2];c=v[a+160>>2];v[a+160>>2]=0;d=v[a+200>>2];if(d){e=A[a+168>>3];f=A[a+176>>3];CR(a,b,e,f,A[a+184>>3]-e,A[a+192>>3]-f,0,d,c,v[a+164>>2])}uc(c);v[a+200>>2]=0;v[a+160>>2]=0;v[a+164>>2]=0}function VV(a,b){var c=0,d=0;v[a>>2]=0;v[a+32>>2]=v[b>>2];d=v[b+24>>2];v[a+4>>2]=v[b+4>>2];c=v[b+8>>2];v[a+12>>2]=0;v[a+16>>2]=0;v[a+8>>2]=c;c=v[b+20>>2];v[a+24>>2]=d;v[a+20>>2]=c;v[a+28>>2]=v[b+28>>2];v[a+40>>2]=v[b+16>>2];v[a+36>>2]=v[b+12>>2]}function UG(a){var b=0;b=v[a+2228504>>2];if(b){UG(b)}v[a+8>>2]=0;v[a+12>>2]=1072693248;v[a+40>>2]=0;v[a+44>>2]=0;v[a+32>>2]=0;v[a+36>>2]=1072693248;v[a+16>>2]=0;v[a+20>>2]=0;v[a+48>>2]=0;v[a+52>>2]=0;A[a+24>>3]=v[a+128>>2]?.3090169943749:0;oX(a)}function R9(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;a:{e=Di(a);if(!((c|0)%(e|0)|0)){if(c){break a}return 1}X(42379,6284,600,84331);L()}while(1){f=Ub[v[a+544>>2]](a,b,e,d)|0;if((f|0)==1){b=b+e|0;c=c-e|0;if(c){continue}}break}return(f|0)==1|0}function Pua(a,b){a=a|0;b=b|0;var c=0;c=Qb-16|0;Qb=c;Ub[v[v[a>>2]+12>>2]](c,a,b);v[299999]=0;S(2734,c|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){if(t[c+11|0]<=-1){dc(v[c>>2])}Qb=c+16|0;return}a=P()|0;O()|0;if(t[c+11|0]<=-1){dc(v[c>>2])}T(a|0);L()}function Igb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;e=v[a+40>>2];b=v[a+52>>2];c=Ub[v[v[b>>2]+20>>2]](b,2)|0;f=Ub[v[v[b>>2]+36>>2]](b)|0;if(v[e+16>>2]>0){c=c-2|0;while(1){Ub[v[v[b>>2]+28>>2]](b,f);Z1(a,d,c);d=d+1|0;if((d|0)>2]){continue}break}}}function n3(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;v[a+12>>2]=0;d=jc(c);v[a+12>>2]=d;a:{b:{if(!d){break b}d=Kh(b,d,c);b=v[a+12>>2];if((c|0)==(d|0)){t[(b+c|0)-1|0]=0;b=v[a+12>>2];a=0;if((Bc(b)+1|0)==(c|0)){break a}}if(!b){break b}dc(b)}a=-1}return a|0}function kCa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;if((Ub[v[v[a>>2]+28>>2]](a)|0)>=1){d=0;while(1){e=d<<3;f=e+b|0;v[f>>2]=0;v[f+4>>2]=0;e=c+e|0;v[e>>2]=0;v[e+4>>2]=1072693248;d=d+1|0;if((Ub[v[v[a>>2]+28>>2]](a)|0)>(d|0)){continue}break}}}function b3a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Qb-16|0;Qb=d;e=v[v[a+128>>2]+52>>2];a:{if(e){a=v[b>>2];v[d+12>>2]=c;v[d+8>>2]=a;Ub[v[v[e>>2]+4>>2]](v[e+4>>2],d+8|0);break a}a=v[a+712>>2];if(v[a+1236>>2]){break a}nf(v[a+1204>>2],b)}Qb=d+16|0}function ONa(a,b){a=a|0;b=b|0;var c=0,d=0;a=v[a>>2];b=v[b>>2];if((a|0)==(b|0)){return 1}if(!(!a|!b)){c=w[a|0];a:{if(!c){break a}while(1){if(w[b|0]!=(c|0)){d=c;break a}b=b+1|0;c=w[a+1|0];a=a+1|0;if(c){continue}break}}c=w[b|0]==(d&255)}return c|0}function Ki(a){var b=0,c=0;c=v[a+12>>2];a:{if((c|0)==v[a+8>>2]){a=v[a+4>>2];b=0;if(!a|v[a>>2]){break a}v[a>>2]=161;return 0}if(v[c-4>>2]!=2){a=v[a+4>>2];b=0;if(!a|v[a>>2]){break a}v[a>>2]=160;return 0}b=a;a=c-8|0;v[b+12>>2]=a;b=v[a>>2]}return b}function J0(a){gf(a,17);v[a+976>>2]=0;v[a+980>>2]=0;v[a>>2]=54456;v[a+984>>2]=0;v[a+988>>2]=0;v[a+992>>2]=0;v[a+996>>2]=0;v[a+1e3>>2]=0;v[a+1004>>2]=0;v[a+1008>>2]=0;v[a+1012>>2]=0;v[a+1016>>2]=1065353216;v[a+1020>>2]=-1;v[a+1024>>2]=0;return a}function Dxa(a){a=a|0;var b=0,c=0;b=fc(56);a=v[a+4>>2];c=v[v[a>>2]+8>>2];v[299999]=0;a=S(c|0,a|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){v[b>>2]=962704;v[b+4>>2]=a;v[b+52>>2]=0;v[b+44>>2]=0;v[b+48>>2]=0;return b|0}a=P()|0;O()|0;dc(b);T(a|0);L()}function hCa(a){a=a|0;var b=0;b=fc(72);v[b+4>>2]=15;v[b+8>>2]=0;v[b>>2]=896988;A[b+16>>3]=A[a+16>>3];A[b+24>>3]=A[a+24>>3];A[b+32>>3]=A[a+32>>3];A[b+40>>3]=A[a+40>>3];A[b+48>>3]=A[a+48>>3];A[b+56>>3]=A[a+56>>3];A[b+64>>3]=A[a+64>>3];return b|0}function Yt(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;v[a+8>>2]=13;v[a>>2]=962040;f=v[c+4>>2];v[a+8>>2]=v[c>>2];v[a+12>>2]=f;f=v[c+12>>2];v[a+16>>2]=v[c+8>>2];v[a+20>>2]=f;v[a+32>>2]=e;v[a+28>>2]=d;v[a+24>>2]=b;v[a>>2]=962488;return a|0}function Um(a){var b=0,c=0,d=0,e=0;b=v[a+52>>2];a:{b:{if(v[a>>2]==2){if(b){break b}break a}c=v[b+8>>2];if((c|0)<1){break b}while(1){e=v[v[b>>2]+(d<<2)>>2];if(e){Um(e);dc(e);c=v[b+8>>2]}d=d+1|0;if((d|0)<(c|0)){continue}break}}dc(Vc(b))}return a}function Q8a(a,b){a=a|0;b=b|0;var c=0,d=0;if(w[b+32|0]){return _d(a,v[b>>2],0,0)|0}d=v[a+428>>2];c=v[b+36>>2];c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);t[d+8|0]=c;t[d+9|0]=c>>>8;t[d+10|0]=c>>>16;t[d+11|0]=c>>>24;return _d(a,v[b>>2],4,d+8|0)|0}function r1a(a){a=a|0;var b=0,c=0,d=0;if(v[a+12>>2]==-559038737){c=v[a+32>>2];b=c;d=v[a>>2];if(d){Ub[v[b+8>>2]](b,d)}v[a>>2]=0;b=v[a+24>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+24>>2]=0;b=v[a+28>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+12>>2]=0;v[a+28>>2]=0}}function qt(a,b){var c=0,d=0,e=0,f=0;c=a*a;d=c*.5;e=1-d;f=1-e-d;d=c*c;return e+(f+(c*(c*(c*(c*2480158728947673e-20+-.001388888888887411)+.0416666666666666)+d*d*(c*(c*-1.1359647557788195e-11+2.087572321298175e-9)+-2.7557314351390663e-7))-a*b))}function lla(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{if((c|0)<1){break a}c=c-1|0;if(!d){while(1){Ol(a,b);b=b+16|0;a=a+16|0;d=(c|0)>0;c=c-1|0;if(d){continue}break a}}while(1){Ol(a,b);Ic(b);b=b+16|0;a=a+16|0;d=(c|0)>0;c=c-1|0;if(d){continue}break}}}function fo(a){a=a|0;var b=0;b=v[a+20>>2]-1|0;v[a+20>>2]=b;a:{if(!b){b=v[a>>2];if(b){dc(Dc(b))}b=v[a+4>>2];if(b){dc(Dc(b))}b=v[a+16>>2];if(b){v[299999]=0;ZE(a,b);b=v[299999];v[299999]=0;if((b|0)==1){break a}}dc(a)}return}W(0)|0;O()|0;lc();L()}function c3a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=Qb-16|0;Qb=e;f=v[v[a+128>>2]+52>>2];a:{if(f){a=Ub[v[v[f>>2]>>2]](v[f+4>>2],b,e+8|0)|0;v[c>>2]=v[e+8>>2];v[d>>2]=v[e+12>>2];break a}a=kA(v[a+712>>2]+1204|0,b,c,d)}Qb=e+16|0;return a|0}function V4a(a,b){a=a|0;b=b|0;var c=0;c=0;a:{if(yd(a,335724)){break a}b:{if(w[a|0]!=65|(b|0)<8|(w[a+1|0]!=84|w[a+2|0]!=38)){break b}if(w[a+3|0]!=84|w[a+4|0]!=70|(w[a+5|0]!=79|w[a+6|0]!=82)){break b}c=1;if(w[a+7|0]==77){break a}}c=2}return c|0}function PX(a){a=a|0;v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=466324;v[a+4>>2]=1;v[a+32>>2]=0;v[a+36>>2]=0;v[a+20>>2]=-16777216;v[a+24>>2]=-16777216;v[a+16>>2]=0;v[a+40>>2]=0;v[a+44>>2]=0;v[a+48>>2]=0;v[a+52>>2]=0;v[a+56>>2]=0;v[a+60>>2]=0;return a|0}function wj(a){var b=0,c=0;a:{if(!a){break a}b=v[a>>2];if(!b){break a}c=v[b+8>>2]-1|0;v[b+8>>2]=c;if(!c){if(v[b>>2]>=1){c=0;while(1){dd(v[b+12>>2]+(c<<2)|0);c=c+1|0;if((c|0)>2]){continue}break}}dc(v[b+12>>2]);nn(b+16|0);dc(b)}v[a>>2]=0}}function jpa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Qb-16|0;Qb=d;a=a+12|0;ox(d+8|0,a,c);a:{c=v[d+8>>2];b:{if(c){v[d>>2]=c;e=v[d+12>>2];v[d+4>>2]=e;if((a|0)!=(e|0)){break a}Si(b,c+8|0);break b}Wc(b,0)}Qb=d+16|0;return v[b>>2]!=0|0}Ei(d,a);L()}function cC(a,b){a=a|0;b=b|0;var c=0;c=Qb-16|0;Qb=c;v[c>>2]=a;a=v[a+4>>2];v[c+4>>2]=a;v[c+8>>2]=a+(b<<2);b=v[c+4>>2];a=v[c+8>>2];while(1){if((a|0)==(b|0)){v[v[c>>2]+4>>2]=v[c+4>>2];Qb=c+16|0}else{v[b>>2]=0;b=b+4|0;v[c+4>>2]=b;continue}break}}function _$(a,b,c){var d=0;a:{if(!a){break a}a=v[a+16>>2];if(!a|(b|0)<0){break a}if(v[a>>2]<=(b|0)){return 0}if(c-1>>>0>1){return 0}a=v[v[a+12>>2]+(b<<2)>>2];if(!a){break a}if((c|0)==1){return S$(a)}if(a){v[a+16>>2]=v[a+16>>2]+1}d=a}return d}function Xta(a){a=a|0;var b=0,c=0,d=0;b=v[a+44>>2];c=v[a+24>>2];if(b>>>0>>0){v[a+44>>2]=c;b=c}d=-1;a:{if(!(w[a+48|0]&8)){break a}c=v[a+16>>2];if(c>>>0>>0){v[a+16>>2]=b}else{b=c}a=v[a+12>>2];if(a>>>0>=b>>>0){break a}d=v[a>>2]}return d|0}function Mk(a,b){a=a|0;b=b|0;var c=0,d=0;b=(b|0)<1?96:b;v[a+364>>2]=b;d=a;c=H(+(b|0)*1e4/254+.5);a:{if(D(c)<2147483648){b=~~c;break a}b=-2147483648}v[d+36>>2]=b;a=v[a+4>>2];if(a){t[a+24|0]=b;t[a+25|0]=b>>>8;t[a+26|0]=b>>>16;t[a+27|0]=b>>>24}}function H7a(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1229472850){pc(a,2050,0,0);return 2050}v[b+32>>2]=v[c+32>>2];v[b+36>>2]=v[c+36>>2];t[b+40|0]=w[c+40|0];t[b+41|0]=w[c+41|0];t[b+42|0]=w[c+42|0];t[b+43|0]=w[c+43|0];t[b+44|0]=w[c+44|0];return 0}function Cn(a,b){a=a|0;b=b|0;var c=0,d=0;b=(b|0)<1?96:b;v[a+368>>2]=b;d=a;c=H(+(b|0)*1e4/254+.5);a:{if(D(c)<2147483648){b=~~c;break a}b=-2147483648}v[d+40>>2]=b;a=v[a+4>>2];if(a){t[a+28|0]=b;t[a+29|0]=b>>>8;t[a+30|0]=b>>>16;t[a+31|0]=b>>>24}}function AXa(a,b){a=a|0;b=b|0;var c=0;c=v[a+192>>2];v[b+24>>2]=v[a+188>>2];v[b+28>>2]=c;c=v[a+184>>2];v[b+16>>2]=v[a+180>>2];v[b+20>>2]=c;c=v[a+176>>2];v[b+8>>2]=v[a+172>>2];v[b+12>>2]=c;c=v[a+168>>2];v[b>>2]=v[a+164>>2];v[b+4>>2]=c;return 0}function $Xa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=Qb-16|0;Qb=d;e=b>>>0<4?b:4;if(e){b=0;while(1){f=b<<2;g=v[f+c>>2];v[d+f>>2]=((g+(g>>31)|0)+32768&-65536)>>16;b=b+1|0;if((e|0)!=(b|0)){continue}break}}a=OY(a,e,d);Qb=d+16|0;return a|0}function pKa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:{if((b|0)<0){break a}d=v[a>>2];if(v[a+4>>2]-d>>2<=(b|0)){break a}a=v[c>>2];b=v[(b<<2)+d>>2];v[c>>2]=b;if(b){Ub[v[v[b>>2]+8>>2]](b)|0}e=1;if(!a){break a}Ub[v[v[a>>2]+12>>2]](a)|0}return e|0}function nm(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Bc(b);if(c>>>0<4294967280){a:{b:{if(c>>>0>=11){e=c+16&-16;d=fc(e);v[a+8>>2]=e|-2147483648;v[a>>2]=d;v[a+4>>2]=c;break b}t[a+11|0]=c;d=a;if(!c){break a}}gc(d,b,c)}t[c+d|0]=0;return a|0}$d(a);L()}function k5(a){a=a|0;var b=0;b=v[a+584>>2];if(b){v[a+672>>2]=v[b+892>>2];v[a+668>>2]=v[b+896>>2];v[a+676>>2]=v[b+900>>2];if(v[b+488>>2]){CK(b)}b=v[b+912>>2];if(b){dc(b)}dc(v[a+584>>2]);v[a+584>>2]=0;pp(a);return}X(53756,7121,1575,88153);L()}function Xu(a,b){a=a|0;b=b|0;var c=0;c=Qb-16|0;Qb=c;b=v[v[b+4>>2]+4>>2];a:{if(!b){v[a>>2]=0;t[a+11|0]=0;break a}b=Eu(b);if(!b){v[a>>2]=0;t[a+11|0]=0;break a}cn(c,b,Bc(b));v[a+8>>2]=v[c+8>>2];b=v[c+4>>2];v[a>>2]=v[c>>2];v[a+4>>2]=b}Qb=c+16|0}function X7a(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[b+32>>2];a:{if(!c){break a}d=v[b+36>>2];if(!d){break a}Ub[v[a+156>>2]](d,c+1|0)}c=v[b+40>>2];b:{if(!c){break b}d=v[b+44>>2];if(!d){break b}Ub[v[a+156>>2]](d,c+1|0)}Ub[v[a+156>>2]](b,48);return 0}function RY(a,b){a=a|0;b=b|0;var c=0;c=v[a+136>>2];v[b>>2]=v[a+132>>2];v[b+4>>2]=c;c=v[a+160>>2];v[b+24>>2]=v[a+156>>2];v[b+28>>2]=c;c=v[a+152>>2];v[b+16>>2]=v[a+148>>2];v[b+20>>2]=c;c=v[a+144>>2];v[b+8>>2]=v[a+140>>2];v[b+12>>2]=c;return 0}function Qd(a,b){var c=0;c=Qb-16|0;Qb=c;a:{if(a){if(v[a+172>>2]==-1?v[a+212>>2]:0){break a}v[a+212>>2]=1;v[a+172>>2]=-1;v[a+84>>2]=2}if(b){v[c>>2]=b;oc(0,0,0,a,0,1,2,3,b,0,0,0,350051,c);break a}oc(0,0,0,a,0,1,2,3,0,0,0,0,354139,0)}Qb=c+16|0}function Lp(a,b,c,d){var e=0;if(!(!a|b>>>0<=c>>>0)){a:{if(!d){break a}e=w[d|0];if(!e){break a}b=b-1|0;if(b>>>0<=c>>>0){break a}while(1){t[a+c|0]=e;c=c+1|0;e=w[d+1|0];if(!e){break a}d=d+1|0;if(b>>>0>c>>>0){continue}break}}t[a+c|0]=0}return c}function Ad(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=v[a>>2];a:{if((d|0)>=1){f=b+d|0;a=v[a+4>>2];while(1){c=w[b|0];if(!c){return 1}c=w[a|0]-c|0;if(c){break a}b=b+1|0;a=a+1|0;e=e+1|0;if((e|0)!=(d|0)){continue}break}b=f}c=w[b|0]?-1:0}return c|0}function vgb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;Ub[v[v[a>>2]+12>>2]](a);a:{d=e2();if(d){if(c?b:0){break a}dc(d)}v[a+4>>2]=0;return 0}v[d+20>>2]=b;v[d+12>>2]=b;v[d+8>>2]=c;v[d+4>>2]=b;v[d>>2]=1;v[d+16>>2]=b+c;v[a+16>>2]=c;v[a+4>>2]=d;return 1}function O7a(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[b+36>>2];a:{if(!c){break a}d=v[b+40>>2];if(!d){break a}Ub[v[a+156>>2]](d,c+1|0)}c=v[b+76>>2];b:{if(!c){break b}d=v[b+80>>2];if(!d){break b}Ub[v[a+156>>2]](d,c<<2)}Ub[v[a+156>>2]](b,84);return 0}function NYa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=v[((c<<2)+a|0)+268>>2];c=v[a+484>>2];e=v[a+488>>2];if((b|0)>=0){a=c+(((b+d|0)+e|0)-c&0-v[a+480>>2])|0;return((a|0)<0?c:a)|0}a=0-(c+(d+e-(b+c)&0-v[a+480>>2])|0)|0;return((a|0)>0?0-c|0:a)|0}function Hua(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=w[c+11|0];b=d<<24>>24<0;e=v[c+4>>2];if(!(!(b?e:d)|v[(b?v[c>>2]:c)>>2]!=47)){Aj(a,c,1,-1,c);return}if(!b){b=v[c+4>>2];v[a>>2]=v[c>>2];v[a+4>>2]=b;v[a+8>>2]=v[c+8>>2];return}Ke(a,v[c>>2],e)}function Gaa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;a:{e=Ll(a);if(!((c|0)%(e|0)|0)){if(c){break a}return 1}X(42379,6284,363,84271);L()}while(1){f=Ub[v[a+540>>2]](a,b,e,d)|0;if(f){b=b+e|0;c=c-e|0;if(c){continue}}break}return(f|0)!=0|0}function Eaa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;a:{e=Di(a);if(!((c|0)%(e|0)|0)){if(c){break a}return 1}X(42379,6284,347,84253);L()}while(1){f=Ub[v[a+540>>2]](a,b,e,d)|0;if(f){b=b+e|0;c=c-e|0;if(c){continue}}break}return(f|0)!=0|0}function rYa(a){a=a|0;var b=0,c=0;if(v[v[a+40>>2]>>2]){c=v[a>>2];b=v[c+552>>2];c=Eg(v[v[c+96>>2]+4>>2],239287);a:{if(!c|!b){break a}b=v[b>>2];if(!b){break a}b=Ub[b|0](c)|0;if(!b){break a}Ub[v[b+8>>2]](v[v[a+40>>2]>>2])}v[v[a+40>>2]>>2]=0}}function gea(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=v[b>>2];if((a|0)<=0){v[b>>2]=256;a=256}d=v[c>>2];if((d|0)<=0){d=256;v[c>>2]=256;a=v[b>>2]}if(a&15){v[b>>2]=a>>>0<4294967280?a+15&-16:0;d=v[c>>2]}if(d&15){v[c>>2]=d>>>0<4294967280?d+15&-16:0}}function Xra(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;v[a>>2]=981392;c=v[a+32>>2];d=v[a+8>>2];e=v[a+20>>2];b=v[a+12>>2];f=v[a+24>>2];v[299999]=0;U(c|0,d|0,e-b|0,f-b|0);b=v[299999];v[299999]=0;if((b|0)==1){W(0)|0;O()|0;lc();L()}dc(v[a+8>>2]);dc(a)}function S5(a){a=a|0;var b=0,c=0,d=0;b=v[a+584>>2];Kk(a,1,12);Kk(a,1,12);if(v[b+68>>2]!=8){if(v[a+608>>2]>=v[a+600>>2]){Ae(a)}d=v[b+64>>2];c=v[a+604>>2];v[a+604>>2]=c+1;t[c|0]=d;v[a+608>>2]=v[a+608>>2]+1;v[b+64>>2]=0;v[b+68>>2]=8}return 1}function Om(a){a=a|0;var b=0,c=0;v[a>>2]=984544;v[299999]=0;b=ga(4695)|0;c=v[299999];v[299999]=0;a:{if((c|0)==1){break a}v[299999]=0;V(4719,b|0,a|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}Qc(a);return a|0}W(0)|0;O()|0;Qc(a);lc();L()}function GXa(a){a=a|0;var b=0,c=0;if(v[v[a+40>>2]>>2]){c=v[a>>2];b=v[c+320>>2];c=Eg(v[v[c+96>>2]+4>>2],239287);a:{if(!c|!b){break a}b=v[b>>2];if(!b){break a}b=Ub[b|0](c)|0;if(!b){break a}Ub[v[b+8>>2]](v[v[a+40>>2]>>2])}v[v[a+40>>2]>>2]=0}}function G8a(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[a+428>>2];d=x[b+32>>1];d=d<<8|d>>>8;t[c+8|0]=d;t[c+9|0]=d>>>8;t[c+10|0]=w[b+34|0];t[c+11|0]=w[b+35|0];t[c+12|0]=w[b+36|0];t[c+13|0]=w[b+37|0];t[c+14|0]=w[b+38|0];return _d(a,v[b>>2],7,c+8|0)|0}function Dva(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=Ub[v[v[a>>2]+40>>2]](a)|0;a:{if(a){while(1){if(!(Ub[v[v[a>>2]+52>>2]](a,b,c)|0)){break a}if(!(Ub[b|0](c,357671,1)|0)){break a}a=Ub[v[v[a>>2]+44>>2]](a)|0;if(a){continue}break}}d=1}return d|0}function yhb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;b=v[a+4>>2];a:{b:{if(b){b=jc(b);v[a+12>>2]=b;d=-1;if(!b){break a}b=Kh(c,b,v[a+4>>2]);if((b|0)!=v[a+4>>2]){dc(v[a+12>>2]);return-1}v[a+16>>2]=b;break b}v[a+12>>2]=0;v[a+16>>2]=0}d=0}return d|0}function tL(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{if(a-b>>2>>>0>>0){while(1){c=c-1|0;d=c<<2;v[d+a>>2]=v[b+d>>2];if(c){continue}break a}}if(!c){break a}d=a;while(1){v[d>>2]=v[b>>2];d=d+4|0;b=b+4|0;c=c-1|0;if(c){continue}break}}return a|0}function jHa(a,b){a=a|0;b=b|0;var c=0;c=Qb-16|0;Qb=c;if(!(w[a+208|0]|w[a+203|0])){nk(a,v[b+596>>2],A[b+104>>3],b+16|0);b=v[a+104>>2];Ub[v[v[b>>2]+328>>2]](b,888332)|0;a=v[a+104>>2];v[c+12>>2]=4;Ub[v[v[a>>2]+292>>2]](a,c+12|0)|0}Qb=c+16|0}function iHa(a,b){a=a|0;b=b|0;var c=0;c=Qb-16|0;Qb=c;if(!(w[a+208|0]|w[a+203|0])){nk(a,v[b+596>>2],A[b+104>>3],b+16|0);b=v[a+104>>2];Ub[v[v[b>>2]+328>>2]](b,888336)|0;a=v[a+104>>2];v[c+12>>2]=4;Ub[v[v[a>>2]+292>>2]](a,c+12|0)|0}Qb=c+16|0}function gHa(a,b){a=a|0;b=b|0;var c=0;c=Qb-16|0;Qb=c;if(!(w[a+208|0]|w[a+203|0])){nk(a,v[b+596>>2],A[b+104>>3],b+16|0);b=v[a+104>>2];Ub[v[v[b>>2]+328>>2]](b,888340)|0;a=v[a+104>>2];v[c+12>>2]=4;Ub[v[v[a>>2]+292>>2]](a,c+12|0)|0}Qb=c+16|0}function a6(a,b){a=a|0;b=b|0;var c=0;b=v[a+584>>2];if(b){v[b+72>>2]=0;v[b+64>>2]=0;v[b+68>>2]=0;v[b+60>>2]=x[a+94>>1]!=2?82032:82288;a=v[b+84>>2];if(a){c=v[b+12>>2];v[a+4>>2]=0;v[a>>2]=c}v[b+108>>2]=0;return 1}X(58391,7814,156,86130);L()}function I3(a){a=a|0;v[a>>2]=0;v[a+4>>2]=0;t[a+40|0]=0;v[a+32>>2]=0;v[a+36>>2]=-1074790400;t[a+21|0]=0;t[a+22|0]=0;t[a+23|0]=0;t[a+24|0]=0;t[a+25|0]=0;t[a+26|0]=0;t[a+27|0]=0;t[a+28|0]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0}function Eg(a,b){var c=0,d=0;if(!a){return 0}if(!b){return 0}c=v[a+16>>2];if((c|0)<1){return 0}c=((c<<2)+a|0)+20|0;a=a+20|0;a:{while(1){d=v[a>>2];if(!mc(v[v[d>>2]+8>>2],b)){break a}a=a+4|0;if(c>>>0>a>>>0){continue}break}return 0}return d}function we(a){a=a|0;var b=0,c=0;if(!a){return 0}b=a;while(1){c=b;b=c+1|0;if(w[c|0]){continue}break}b=0;c=c-a|0;if((c|0)>=0){b=Ub[v[259707]](c+1|0)|0;if(!b){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);return 0}b=gc(b,a,c);t[c+b|0]=0}return b|0}function c0a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;a:{if(v[a+4>>2]){break a}e=c;g=a+52|0;f=v[g>>2];c=v[a+16>>2];if((e|0)!=(f+c|0)){break a}e=v[a>>2];c=Wz(a+16|0,d,f,c,b,e);if(!c){c=Wz(g,d,0,f,b,e);if(!c){break a}}v[a+4>>2]=c}}function Y7a(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[b+36>>2];a:{if(!c){break a}d=v[b+40>>2];if(!d){break a}Ub[v[a+156>>2]](d,c+1|0)}c=v[b+48>>2];b:{if(!c){break b}d=v[b+52>>2];if(!d){break b}Ub[v[a+156>>2]](d,c)}Ub[v[a+156>>2]](b,56);return 0}function W7a(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[b+32>>2];a:{if(!c){break a}d=v[b+36>>2];if(!d){break a}Ub[v[a+156>>2]](d,c+1|0)}c=v[b+44>>2];b:{if(!c){break b}d=v[b+48>>2];if(!d){break b}Ub[v[a+156>>2]](d,c)}Ub[v[a+156>>2]](b,52);return 0}function UCa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=A[b+24>>3];c=v[b+24>>2];f=v[b+16>>2];a=v[a+28>>2];e=v[b>>2]==1?+v[b+8>>2]:A[b+8>>3];A[a+600>>3]=e;d=(f|0)==1?+(c|0):d;A[a+608>>3]=d;a=v[a+596>>2];A[a+16>>3]=d;A[a+8>>3]=e;v[a>>2]=1}function A_a(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;f=6;a:{if(!d|!e){break a}g=x[a+152>>1];if(c){f=142;if(b>>>0>=g>>>0){break a}a=v[a+156>>2]+(b<<4)|0;v[c>>2]=v[a>>2];v[d>>2]=v[a+8>>2];g=v[a+12>>2]}v[e>>2]=g;f=0}return f|0}function yHa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Qb-16|0;Qb=c;d=v[a+104>>2];f=c;e=A[b+400>>3]*255;a:{if(D(e)<2147483648){b=~~e;break a}b=-2147483648}a=(b|0)>0?b:0;v[f+12>>2]=(a|0)<255?a:255;Ub[v[v[d>>2]+60>>2]](d,c+12|0)|0;Qb=c+16|0}function s_a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Qb-16|0;Qb=d;e=AH(a,308996,d);a:{if(e){break a}e=AH(a,320884,d+8|0);if(e){break a}e=6;if(v[d>>2]!=1|v[d+8>>2]!=1){break a}v[b>>2]=v[d+12>>2];v[c>>2]=v[d+4>>2];e=0}Qb=d+16|0;return e|0}function phb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;b=-1;a:{if(Of(c,a+12|0)){break a}d=v[a+4>>2]-2|0;v[a+16>>2]=d;b:{if(d){d=jc(d);v[a+20>>2]=d;if(!d){break a}if((Kh(c,d,v[a+16>>2])|0)==v[a+16>>2]){break b}break a}v[a+20>>2]=0}b=0}return b|0}function hOa(a){a=a|0;var b=0,c=0,d=0;b=Qb-96|0;Qb=b;v[b+4>>2]=0;v[b>>2]=0;d=w[a+11|0];c=d<<24>>24<0;fq(c?v[a>>2]:a,c?v[a+4>>2]:d,b+4|0,b,0);a=On(v[b+4>>2],b+8|0);d=v[b+20>>2];c=v[b+4>>2];if(c){dc(c)}Qb=b+96|0;return!a&(d&61440)==16384}function h7a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if(v[c>>2]!=1145656131){pc(a,2050,0,0);return 2050}d=v[c+32>>2];v[b+32>>2]=d;if(d){e=b;d=d<<1;b=Ub[v[a+152>>2]](d)|0;v[e+36>>2]=b;if(!b){pc(a,1,0,0);return 1}gc(b,v[c+36>>2],d)}return 0}function N6a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if(v[c>>2]!=1146244944){pc(a,2050,0,0);return 2050}d=v[c+32>>2];v[b+32>>2]=d;if(d){e=b;d=d<<2;b=Ub[v[a+152>>2]](d)|0;v[e+36>>2]=b;if(!b){pc(a,1,0,0);return 1}gc(b,v[c+36>>2],d)}return 0}function L6a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if(v[c>>2]!=1330791506){pc(a,2050,0,0);return 2050}d=v[c+32>>2];v[b+32>>2]=d;if(d){e=b;d=d<<3;b=Ub[v[a+152>>2]](d)|0;v[e+36>>2]=b;if(!b){pc(a,1,0,0);return 1}gc(b,v[c+36>>2],d)}return 0}function FQ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=a+16|0;a=v[d>>2];if(!a){return 0}c=d;while(1){e=Sl(a+16|0,b);c=e?c:a;a=v[(e?4:0)+a>>2];if(a){continue}break}a=0;a:{if((c|0)==(d|0)){break a}if(Sl(b,c+16|0)){break a}a=v[c+28>>2]}return a|0}function Acb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(v[a+2308>>2]){b=v[a+2312>>2];c=v[a+2316>>2];while(1){d=w[b|0];g=c;e=v[a+2296>>2];if(e){d=Ub[e|0](d)|0}t[g|0]=d;c=c+1|0;b=b+1|0;f=f+1|0;if(f>>>0>2]){continue}break}}return 0}function tA(a,b){var c=0,d=0,e=0;if(!(!a|!b)){d=v[a>>2];c=v[a+4>>2];a:{if((d|0)<(c|0)){break a}e=c<<1;if((c|0)>=(e|0)){break a}c=vj(a+12|0,c<<2,c<<3);v[a+12>>2]=c;if(!c){break a}v[a+4>>2]=e}v[v[a+12>>2]+(d<<2)>>2]=b;v[a>>2]=v[a>>2]+1}}function px(a,b,c){var d=0;a:{d=v[b>>2];b:{if(d){if(v[b+4>>2]!=(a|0)){break a}v[c+4>>2]=d;v[c>>2]=v[d>>2];break b}v[c+4>>2]=0;v[c>>2]=v[a+8>>2];d=a+8|0}v[d>>2]=c;b=v[c>>2];v[(b?b:a+8|0)+4>>2]=c;v[a+4>>2]=v[a+4>>2]+1;return}Ei(b,a);L()}function oib(a,b){a=a|0;b=b|0;var c=0;a:{if(Ih(b,v[a+20>>2])){break a}if(Ih(b,v[a+24>>2])){break a}if(!v[a+28>>2]){return 0}while(1){if(Ih(b,v[((c<<2)+a|0)+32>>2])){break a}c=c+1|0;if(c>>>0>2]){continue}break}return 0}return-1}function idb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;c=c-1|0;c=(c|0)>0?c:0;while(1){a:{if((c|0)==(d|0)){d=c;break a}e=Ub[v[v[a>>2]+48>>2]](a)|0;if((e|0)==-1){return 0}t[b+d|0]=e;d=d+1|0;if((e|0)!=10){continue}}break}t[b+d|0]=0;return b|0}function dp(a,b){var c=0,d=0;a=v[a+112>>2];c=v[a>>2];if((c|0)<1){return 0}d=v[a+8>>2];a=0;a:{while(1){if(v[(a<<3)+d>>2]==(b|0)){break a}a=a+1|0;if((c|0)!=(a|0)){continue}break}return 0}a=v[((a<<3)+d|0)+4>>2];v[a>>2]=v[a>>2]+1;return a}function Yw(a){var b=0,c=0;c=v[a+28>>2];a:{if((c+34|0)<=4080){b=v[a+24>>2];break a}b=fc(8164);v[b>>2]=v[a+24>>2];c=0;ic(b+4|0,0,8160);v[a+24>>2]=b}v[a+28>>2]=c+34;a=((c<<1)+b|0)+4|0;while(1){b=a;a=b+2|0;if(b&3){continue}break}return b}function K1a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=v[a+16>>2];if(c){f=v[a+20>>2];a=0;while(1){e=(c-a>>>1|0)+a|0;d=v[(e<<4)+f>>2];if((d|0)==(b|0)){return e+1|0}d=b>>>0>d>>>0;c=d?c:e;a=d?e+1|0:a;if(c>>>0>a>>>0){continue}break}}return 0}function Deb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;t[a+24|0]=0;a:{if(!v[a+4>>2]){break a}b:{c:{switch(c|0){case 1:b=v[a+16>>2]+b|0;break b;case 0:break b;case 2:break c;default:break a}}b=v[a+8>>2]+b|0}v[a+16>>2]=(b|0)>0?b:0;d=1}return d|0}function xKa(a){a=a|0;var b=0,c=0,d=0;c=v[a+4>>2];b=v[c+4>>2];if(!b){return 0}a=0;if((Yp(b)|0)==1){while(1){d=Jy(v[c+4>>2]);b=(d|0)==-1;a=b?a:d;if(!(b|(a|0)==1)){if((Yp(v[c+4>>2])|0)==1){continue}}break}a=(a|0)==1}else{a=0}return a|0}function eF(a){var b=0,c=0,d=0;c=Qb-16|0;Qb=c;b=fc(8);v[b>>2]=0;v[b+4>>2]=0;v[299999]=0;V(3313,b|0,0);d=v[299999];v[299999]=0;if((d|0)!=1){t[v[b+4>>2]]=0;v[c+12>>2]=a;a=dF(b,217415,a);Qb=c+16|0;return a}a=P()|0;O()|0;dc(b);T(a|0);L()}function Y9a(a){a=a|0;var b=0,c=0,d=0;b=v[a+644>>2];d=v[a+636>>2];v[a+644>>2]=d;v[a+636>>2]=b;c=v[a+588>>2];if((c|0)>=1){b=b+(c<<2)|0;c=0;while(1){b=b-4|0;v[d>>2]=v[b>>2];d=d+4|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function RU(a){var b=0,c=0,d=0,e=0;c=Qb-16|0;Qb=c;b=0;a:{if(!a){break a}d=v[a>>2];e=v[a+4>>2];b=0;if((v[a+28>>2]&-2)!=-1412623820){break a}b=(d^-1)+a>>>0<249?d:0}a=b;v[c>>2]=291415;oc(0,e,d,a,0,23,2,3,291415,0,0,0,350051,c);Qb=c+16|0}function Cua(a,b){a=a|0;b=b|0;var c=0;c=Qb-16|0;Qb=c;Gp(c,a,b);a=v[a+4>>2];v[299999]=0;YV(a,c);a=v[299999];v[299999]=0;if((a|0)!=1){if(t[c+11|0]<=-1){dc(v[c>>2])}Qb=c+16|0;return}a=P()|0;O()|0;if(t[c+11|0]<=-1){dc(v[c>>2])}T(a|0);L()}function lO(a){a=a|0;var b=0;b=v[a+44>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}b=v[a+48>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}b=v[a+52>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}v[a+52>>2]=0;v[a+44>>2]=0;v[a+48>>2]=0;v[a+32>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0}function i0a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=v[c>>2];d=((d>>31)+d|0)+32768&-65536;c=v[c+4>>2];c=((c>>31)+c|0)+32768&-65536;a:{if(v[a+4>>2]){break a}b=uv((B((b|0)!=0,36)+a|0)+16|0,d>>16,c>>16,v[a>>2],0);if(!b){break a}v[a+4>>2]=b}}function hj(a,b,c){c=v[c+4>>2]&176;if((c|0)==32){return b}a:{if((c|0)!=16){break a}b:{c:{c=w[a|0];switch(c-43|0){case 0:case 2:break c;default:break b}}return a+1|0}if((c|0)!=48|(b-a|0)<2|(w[a+1|0]|32)!=120){break a}a=a+2|0}return a}function Oc(a,b,c){var d=0,e=0,f=0;if(!c){return 0}d=w[a|0];a:{if(!d){break a}while(1){b:{e=w[b|0];if(!e){break b}c=c-1|0;if(!c|(d|0)!=(e|0)){break b}b=b+1|0;d=w[a+1|0];a=a+1|0;if(d){continue}break a}break}f=d}return(f&255)-w[b|0]|0}function teb(a){a=a|0;var b=0,c=0,d=0;if(v[a+588>>2]>=1){b=v[a+540>>2];b=v[b+1176>>2]+B(v[b+1168>>2],v[a+2552>>2])|0;c=v[a+2516>>2];while(1){t[b|0]=w[c|0];c=c+1|0;b=b+2|0;d=d+1|0;if((d|0)>2]){continue}break}}return TA(a)|0}function rK(a,b,c,d){var e=0,f=0,g=0,h=0;f=-1;g=v[282725];a:{if((g|0)<1){break a}e=1130912;while(1){if(v[e>>2]!=(c|0)){e=e+28|0;h=h+1|0;if((g|0)!=(h|0)){continue}break a}break}c=v[e+20>>2];if(!c){break a}f=Ub[c|0](a,b,d)|0}return f}function hB(a,b,c){a:{b:{c:{switch(a|0){default:X(11209,7464,144,188994);L();case 0:break b;case 1:break c}}if(!b){a=0;if(!c){break b}X(13910,7464,146,188994);L()}a=c-1|0;if(a>>>0>=3){break a}a=v[(a<<2)+189012>>2]}return a}ia();L()}function XYa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{b:{switch(v[v[v[a>>2]+96>>2]+64>>2]-35|0){case 5:if(w[a+615|0]){break a}break;case 0:break b;default:break a}}a=v[b+16>>2]+(c<<3)|0;v[a>>2]=v[a>>2]+d}a=v[b+24>>2]+c|0;t[a|0]=w[a|0]|8}function Pza(a,b){a=a|0;b=b|0;var c=0;v[a+4>>2]=0;v[a>>2]=938344;a:{if(v[b>>2]==4){c=fc(8);b=v[b+8>>2];v[299999]=0;Q(3063,c|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}v[a+4>>2]=c}return a|0}a=P()|0;O()|0;dc(c);T(a|0);L()}function Jxa(a){a=a|0;var b=0,c=0;b=fc(16);a=v[a+4>>2];c=v[v[a>>2]+8>>2];v[299999]=0;a=S(c|0,a|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){v[b+8>>2]=-1;v[b+12>>2]=0;v[b>>2]=962604;v[b+4>>2]=a;return b|0}a=P()|0;O()|0;dc(b);T(a|0);L()}function Fna(a,b,c){a=a|0;b=b|0;c=c|0;b=Qb-32|0;Qb=b;a:{if(!w[a+144|0]){a=vc(b+8|0,231625,242011,164,226800,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}b=P()|0;O()|0;qc(a);T(b|0);L()}Qb=b+32|0;return}L()}function ho(a,b){var c=0,d=0;a:{c=ve(a);d=w[b+11|0];if((c|0)==((d<<24>>24<0?v[b+4>>2]:d)|0)){v[299999]=0;a=ca(2608,b|0,0,-1,a|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}a=(a|0)!=0}else{a=1}return a}W(0)|0;O()|0;lc();L()}function WLa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Qb-16|0;Qb=d;f=v[a+4>>2];e=v[f+8>>2];if(w[e+14|0]){t[d+12|0]=126;t[d+13|0]=125;t[e+14|0]=0;e=d+14|0}else{e=d+12|0}t[e|0]=w[v[f+20>>2]];GG(a,d+12|0,(e-d|0)-11|0,b,c);Qb=d+16|0}function UNa(a){a=a|0;var b=0,c=0;b=v[a+20>>2];if((b|0)!=100){c=v[a>>2];v[c+24>>2]=b;v[c+20>>2]=21;Ub[v[v[a>>2]>>2]](a)}Ub[v[v[a>>2]+16>>2]](a);Ub[v[v[a+24>>2]+8>>2]](a);WV(a);Ub[v[v[a+404>>2]+16>>2]](a);Ub[v[v[a+24>>2]+16>>2]](a)}function MUa(a,b){a=a|0;b=b|0;var c=0;c=Qb-32|0;Qb=c;v[c+8>>2]=0;v[c+12>>2]=0;v[c>>2]=0;v[c+4>>2]=0;A[c+16>>3]=v[b+4>>2];A[c+24>>3]=v[b+8>>2];Ub[v[v[a>>2]+(v[b+12>>2]>0?504:500)>>2]](a,v[b+16>>2],c,v[b+4>>2],v[b+8>>2],0);Qb=c+32|0}function Fj(a){a=a|0;var b=0;b=Qb-32|0;Qb=b;a:{if((a|0)>-1){b:{if(!a){a=0;break b}a=jc(a);if(!a){break a}}Qb=b+32|0;return a|0}v[b>>2]=274048;wc(v[252391],350078,b);pa(1);L()}v[b+16>>2]=217973;wc(v[252391],350078,b+16|0);pa(1);L()}function zcb(a){a=a|0;var b=0,c=0,d=0,e=0;if(v[a+2308>>2]){c=v[a+2312>>2];b=v[a+2316>>2];while(1){d=Ub[v[a+2296>>2]](w[c|0])|0;t[b+1|0]=(d|0)!=0;t[b|0]=d>>>8;b=b+2|0;c=c+1|0;e=e+1|0;if(e>>>0>2]){continue}break}}return 0}function sm(a,b){var c=0,d=0,e=0;a:{if(!a|!b){break a}c=v[a+16>>2];if((c|0)<1){break a}c=((c<<2)+a|0)+20|0;a=a+20|0;while(1){d=v[v[a>>2]>>2];if(mc(v[d+8>>2],b)){a=a+4|0;if(c>>>0>a>>>0){continue}break a}break}e=v[d+20>>2]}return e}function j9(){var a=0;a:{b:{if(t[1200200]&1){break b}if(!Je(1200200)){break b}v[299999]=0;ga(5670)|0;a=v[299999];v[299999]=0;if((a|0)==1){break a}v[300049]=1200192;Ie(1200200)}return v[300049]}a=P()|0;O()|0;Pf(1200200);T(a|0);L()}function _k(a){a=a|0;var b=0;b=v[a+668>>2];if(!b){return a|0}v[b+596>>2]=v[a+596>>2];A[b+600>>3]=A[a+600>>3];A[b+608>>3]=A[a+608>>3];A[b+616>>3]=A[a+616>>3];A[b+624>>3]=A[a+624>>3];v[a+668>>2]=0;v[a+596>>2]=0;dc(Kp(a));return b|0}function Y6a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(v[c>>2]!=1850033476){pc(a,2050,0,0);return 2050}d=v[c+32>>2];v[b+32>>2]=d;if(d){d=Ub[v[a+152>>2]](d)|0;v[b+36>>2]=d;if(!d){pc(a,1,0,0);return 1}gc(d,v[c+36>>2],v[b+32>>2])}return 0}function TS(a){var b=0,c=0,d=0,e=0;b=v[a+4>>2];c=v[b+8>>2];if((c|0)>=1){while(1){e=v[v[b>>2]+(d<<2)>>2];if(e){Ub[v[v[e>>2]+4>>2]](e);c=v[b+8>>2]}d=d+1|0;if((d|0)<(c|0)){continue}break}}dc(Vc(b));b=v[a>>2];if(b){dc(ah(b))}return a}function S0a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=Qb-16|0;Qb=f;e=Fd(b,16,f+12|0);g=v[f+12>>2];if(!g){v[e+12>>2]=2;v[e+8>>2]=d;v[e>>2]=c;v[e+4>>2]=c;v[a+8>>2]=0;v[a+12>>2]=0;v[a+4>>2]=e;v[a>>2]=b}Qb=f+16|0;return g|0}function Qda(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;a:{if(!a|!d|((b|0)>(c|0)|(e|0)>(f|0))){break a}while(1){vr((b<<3)+a|0,(e<<3)+d|0);if((b|0)>=(c|0)){break a}b=b+1|0;g=(e|0)<(f|0);e=e+1|0;if(g){continue}break}}}function QA(a){var b=0;b=v[a+644>>2];if(b){Ub[v[a+156>>2]](b,v[a+316>>2]<<3)}b=v[a+640>>2];if(b){Ub[v[a+156>>2]](b,v[a+608>>2])}b=v[a+636>>2];if(b){Ub[v[a+156>>2]](b,v[a+608>>2])}v[a+644>>2]=0;v[a+636>>2]=0;v[a+640>>2]=0;return 0}function Kj(a,b){var c=0,d=0;d=-1;a:{if(!b){break a}while(1){if(!a){break a}c=v[a+16>>2];if(c){while(1){if(!(y[c+4>>2]>>0|c+20>>>0>b>>>0)){return 1}c=v[c>>2];if(c){continue}break}}a=v[a+20>>2];if(a){continue}break}d=0}return d}function Eka(a,b){a=a|0;b=b|0;var c=0;c=v[b>>2];v[a+4>>2]=0;v[a+8>>2]=0;v[a>>2]=c;c=Bg(a+16|0,a+12|0,0,4);v[a+24>>2]=0;v[299999]=0;a=Q(4652,a|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){return a|0}a=P()|0;O()|0;Lc(c);T(a|0);L()}function $6a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(v[c>>2]!=1397048651){pc(a,2050,0,0);return 2050}d=v[c+32>>2];v[b+32>>2]=d;if(d){d=Ub[v[a+152>>2]](d)|0;v[b+36>>2]=d;if(!d){pc(a,1,0,0);return 1}gc(d,v[c+36>>2],v[b+32>>2])}return 0}function t_a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=Qb-16|0;Qb=d;e=v[a+16>>2];a:{if((e|0)<0){break a}if(e){while(1){if(!Uz(a,c,d+12|0)){if(!mc(b,v[d+12>>2])){break a}}c=c+1|0;if((e|0)!=(c|0)){continue}break}}c=0}Qb=d+16|0;return c|0}function d0a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;a:{if(v[a+4>>2]){break a}d=v[a+16>>2];e=a+52|0;f=v[e>>2];if((d+f|0)!=(b|0)){break a}g=v[a>>2];b=Wz(a+16|0,c,0,d,0,g);if(!b){b=Wz(e,c,d,f,0,g);if(!b){break a}}v[a+4>>2]=b}}function Zza(a){a=a|0;var b=0,c=0;b=v[a+236>>2];if(b>>>0<=7){kS(a);b=v[a+236>>2]}a:{if((b|0)==8){b=w[a+232|0];break a}if(b>>>0>=9){c=b-8|0;b=v[a+232>>2]>>>c|0;break a}if(!b){return-1}b=v[a+232>>2]<<8-b}v[a+236>>2]=c;return b&255}function XG(a){var b=0,c=0,d=0,e=0;c=v[a+80>>2];if(c){d=c-4|0;a=v[d>>2];if(a){a=B(a,96)+c|0;while(1){b=a;a=a-96|0;a:{if(!v[b-4>>2]){break a}b=b-8|0;e=v[b>>2];if(!e){break a}dc(e);v[b>>2]=0}if((a|0)!=(c|0)){continue}break}}dc(d)}}function U$a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a=v[a>>2];d=a&2147483647;b=v[b>>2];e=b&2147483647;a:{if((d|0)==(e|0)){c=1;if(a>>>0>b>>>0){break a}return(a>>>0>>0?-1:0)|0}c=1;if(d>>>0>e>>>0){break a}c=d>>>0>>0?-1:0}return c|0}function Ip(a){var b=0;a:{b=v[a+28>>2];if((b|0)!=v[a+24>>2]){v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}b=v[a+24>>2]}v[299999]=0;uc(b);a=v[299999];v[299999]=0;if((a|0)==1){break a}return}W(0)|0;O()|0;lc();L()}function Co(a,b){var c=0,d=0,e=0,f=0;a:{c=v[a+280>>2];if((c|0)<1){break a}d=v[a+284>>2];a=0;while(1){b:{f=a;e=mc(v[B(a,12)+d>>2],b);a=a+1|0;if((c|0)<=(a|0)){break b}if(e){continue}}break}if(e){break a}return B(f,12)+d|0}return 0}function $wa(a){a=a|0;var b=0;uc(v[a+3480>>2]);v[a+3480>>2]=0;b=a+3484|0;uc(v[b>>2]);v[b>>2]=0;b=a+3488|0;uc(v[b>>2]);v[b>>2]=0;b=a+3492|0;uc(v[b>>2]);v[b>>2]=0;uc(v[a+3468>>2]);v[a+3468>>2]=0;a=v[a+4>>2];Ub[v[v[a>>2]+24>>2]](a)}function yxa(a){a=a|0;var b=0,c=0;v[a>>2]=962804;a:{b=v[a+8>>2];if(b){c=v[b+32>>2];v[299999]=0;uc(c);c=v[299999];v[299999]=0;if((c|0)==1){break a}dc(b)}b=v[a+4>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}dc(a);return}W(0)|0;O()|0;lc();L()}function rxa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;a:{if(v[a+8>>2]|(b|0)<2){break a}e=v[a+4>>2];b=Ub[v[v[e>>2]+60>>2]](e,b,c,d)|0;if(!b){break a}_c(_c(b,c),346565);if(!v[a+12>>2]){_c(b,346712)}_c(b,350450);f=b}return f|0}function qOa(a){a=a|0;var b=0,c=0,d=0;b=Qb-16|0;Qb=b;v[b+12>>2]=0;v[b+8>>2]=0;c=w[a+11|0];d=c<<24>>24<0;ll(d?v[a>>2]:a,d?v[a+4>>2]:c,b+12|0,b+8|0,0);c=v[b+12>>2];a=zh(c,301722);if(c){dc(c)}if(a){Be(a)}Qb=b+16|0;return(a|0)!=0|0}function ncb(a){a=a|0;var b=0,c=0,d=0,e=0;if(v[a+2308>>2]){c=v[a+2312>>2];b=v[a+2316>>2];while(1){d=w[c|0];t[b+3|0]=w[c+1|0];t[b+2|0]=d;t[b+1|0]=d;t[b|0]=d;b=b+4|0;c=c+2|0;e=e+1|0;if(e>>>0>2]){continue}break}}return 0}function k4(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:{d=v[a+584>>2];if(d){e=v[d+44>>2];if(!e){break a}if((b|0)==317){u[v[c>>2]>>1]=v[d>>2];return 1}return Ub[e|0](a,b,c)|0}X(16309,6354,640,187913);L()}X(18966,6354,641,187913);L()}function hm(a){a=a|0;var b=0;b=fc(48);v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=0;v[b+4>>2]=1072693248;v[b+32>>2]=0;v[b+36>>2]=0;v[b+24>>2]=0;v[b+28>>2]=1072693248;v[b+16>>2]=0;v[b+20>>2]=0;v[b+40>>2]=0;v[b+44>>2]=0;v[a>>2]=b;return a|0}function hBa(a){a=a|0;var b=0;v[a>>2]=897508;v[299999]=0;R(3098,a- -64|0);b=v[299999];v[299999]=0;a:{if((b|0)==1){break a}v[299999]=0;R(3098,a+128|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}return a|0}W(0)|0;O()|0;lc();L()}function t3a(a,b){a=a|0;b=b|0;var c=0,d=0;d=150;c=v[a+12>>2];a:{if((c|0)==375936|(c|0)==375976){break a}d=0;c=Qj(Eg(v[v[v[a>>2]+96>>2]+4>>2],228552),235192,0);if(!c){break a}c=v[c>>2];if(!c){break a}d=Ub[c|0](a,b)|0}return d|0}function g8(a){a=a|0;a:{b:{if(t[1200276]&1){break b}if(!Je(1200276)){break b}v[299999]=0;ba(5684);a=v[299999];v[299999]=0;if((a|0)==1){break a}v[300068]=1200448;Ie(1200276)}return v[300068]}a=P()|0;O()|0;Pf(1200276);T(a|0);L()}function d8(a){a=a|0;a:{b:{if(t[1200284]&1){break b}if(!Je(1200284)){break b}v[299999]=0;ba(5686);a=v[299999];v[299999]=0;if((a|0)==1){break a}v[300070]=1200624;Ie(1200284)}return v[300070]}a=P()|0;O()|0;Pf(1200284);T(a|0);L()}function a8(a){a=a|0;a:{b:{if(t[1200292]&1){break b}if(!Je(1200292)){break b}v[299999]=0;ba(5688);a=v[299999];v[299999]=0;if((a|0)==1){break a}v[300072]=1200800;Ie(1200292)}return v[300072]}a=P()|0;O()|0;Pf(1200292);T(a|0);L()}function Y7(a){a=a|0;a:{b:{if(t[1200300]&1){break b}if(!Je(1200300)){break b}v[299999]=0;ba(5690);a=v[299999];v[299999]=0;if((a|0)==1){break a}v[300074]=1201104;Ie(1200300)}return v[300074]}a=P()|0;O()|0;Pf(1200300);T(a|0);L()}function XO(a){a=a|0;var b=0,c=0;v[a>>2]=984544;v[299999]=0;b=ga(4695)|0;c=v[299999];v[299999]=0;a:{if((c|0)!=1){v[299999]=0;V(4719,b|0,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}}W(0)|0;O()|0;Qc(a);lc();L()}Qc(a);Wk(a)}function V7(a){a=a|0;a:{b:{if(t[1200308]&1){break b}if(!Je(1200308)){break b}v[299999]=0;ba(5692);a=v[299999];v[299999]=0;if((a|0)==1){break a}v[300076]=1201408;Ie(1200308)}return v[300076]}a=P()|0;O()|0;Pf(1200308);T(a|0);L()}function S7(a){a=a|0;a:{b:{if(t[1200316]&1){break b}if(!Je(1200316)){break b}v[299999]=0;ba(5694);a=v[299999];v[299999]=0;if((a|0)==1){break a}v[300078]=1201440;Ie(1200316)}return v[300078]}a=P()|0;O()|0;Pf(1200316);T(a|0);L()}function zxa(a){a=a|0;var b=0,c=0;v[a>>2]=962804;a:{b=v[a+8>>2];if(b){c=v[b+32>>2];v[299999]=0;uc(c);c=v[299999];v[299999]=0;if((c|0)==1){break a}dc(b)}b=v[a+4>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}return a|0}W(0)|0;O()|0;lc();L()}function so(a,b,c,d){var e=0;e=Qb-32|0;Qb=e;a:{if((b|0)==2){if(d){v[e>>2]=d;oc(0,0,0,0,0,a,2,3,d,0,0,0,350051,e);break a}oc(0,0,0,0,0,a,2,3,0,0,0,0,354139,0);break a}v[e+16>>2]=d;oc(0,0,0,0,0,a,b,2,d,0,0,0,c,e+16|0)}Qb=e+32|0}function qE(a){var b=0,c=0,d=0,e=0;b=v[a>>2];if(b){dc(Vc(b))}b=v[a+12>>2];if(b){c=v[b+8>>2];if((c|0)>=1){while(1){e=v[v[b>>2]+(d<<2)>>2];if(e){qE(e);dc(e);c=v[b+8>>2]}d=d+1|0;if((d|0)<(c|0)){continue}break}}dc(Vc(b))}return a}function kHa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=Qb-16|0;Qb=e;a:{if(t[a+11|0]<=-1){t[v[a>>2]]=0;v[a+4>>2]=0;break a}t[a+11|0]=0;t[a|0]=0}f=KG(c,0);if(f){d=fc(f+1|0);t[f+d|0]=0;JG(b,c,d,e+12|0,0);TB(a,d);dc(d)}Qb=e+16|0}function g7a(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1111573323){pc(a,2050,0,0);return 2050}u[b+32>>1]=x[c+32>>1];u[b+34>>1]=x[c+34>>1];u[b+36>>1]=x[c+36>>1];t[b+38|0]=w[c+38|0];u[b+40>>1]=x[c+40>>1];t[b+42|0]=w[c+42|0];return 0}function Sw(a,b,c){var d=0,e=0,f=0;d=Qb-16|0;Qb=d;f=d;a:{if(!(b&64)){e=0;if((b&4259840)!=4259840){break a}}v[d+12>>2]=c+4;e=v[c>>2]}v[f>>2]=e;a=Fa(a|0,b|32768,d|0)|0;if(a>>>0>=4294963201){v[299402]=0-a;a=-1}Qb=d+16|0;return a}function KB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=a;c=c-1|0;a:{b:{if(!(c>>>0>=20|!(1015295>>>c&1))){a=(c<<2)+53956|0;break b}a=v[a+68>>2]-1|0;c=0;if(a>>>0>=20){break a}a=(a<<2)+54036|0}c=v[a>>2]}v[(d+(c<<2)|0)+400>>2]=b;return 1}function _O(a,b,c,d,e){var f=0,g=0;f=Qb-16|0;Qb=f;a:{b:{if(!c|!d){break b}g=Bib(d,0,c,0);if(Tb){break b}b=uh(b,g);if(b){break a}}b=v[a>>2];a=v[a+628>>2];v[f+8>>2]=d;v[f+4>>2]=c;v[f>>2]=e;zc(a,b,3855,f);b=0}Qb=f+16|0;return b}function ZS(a,b,c){a:{b:{if(!mc(b,220215)){break b}if(!mc(b,322325)){break b}if(!mc(b,320505)){break b}while(1){if(v[a+24>>2]==7){if(v[rc(v[a+32>>2],b,c,0)>>2]!=5){break a}hc(c)}a=v[a+104>>2];if(a){continue}break}}v[c>>2]=5}}function RQ(a){var b=0,c=0;c=v[a>>2];if(c){b=v[a+4>>2];if((c|0)==(b|0)){b=c}else{while(1){if(t[b-1|0]<=-1){dc(v[b-12>>2])}if(t[b-13|0]<=-1){dc(v[b-24>>2])}b=b-40|0;if((c|0)!=(b|0)){continue}break}b=v[a>>2]}v[a+4>>2]=c;dc(b)}}function Lx(a,b){var c=0,d=0;a:{c=ve(b);d=w[a+11|0];if((c|0)==((d<<24>>24<0?v[a+4>>2]:d)|0)){v[299999]=0;a=ca(2608,a|0,0,-1,b|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}a=!a}else{a=0}return a}W(0)|0;O()|0;lc();L()}function Ii(a,b){var c=0,d=0;a:{c=ve(a);d=w[b+11|0];if((c|0)==((d<<24>>24<0?v[b+4>>2]:d)|0)){v[299999]=0;a=ca(2608,b|0,0,-1,a|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)==1){break a}a=!a}else{a=0}return a}W(0)|0;O()|0;lc();L()}function Fs(){var a=0,b=0;b=bd(256,4);if(b){while(1){v[(a<<2)+b>>2]=(((((((a&1)+(a>>>7|0)|0)+(a>>>1&1)|0)+(a>>>2&1)|0)+(a>>>3&1)|0)+(a>>>4&1)|0)+(a>>>5&1)|0)+(a>>>6&1);a=a+1|0;if((a|0)!=256){continue}break}}else{b=0}return b}function DHa(a,b){a=a|0;b=b|0;var c=0,d=0;c=Qb-16|0;Qb=c;d=v[a+104>>2];b=v[b+476>>2];b=(b|0)==1?2:(b|0)==2?1:b;t[c+15|0]=b;Ub[v[v[d>>2]+84>>2]](d,c+15|0)|0;a=v[a+104>>2];t[c+14|0]=b;Ub[v[v[a>>2]+92>>2]](a,c+14|0)|0;Qb=c+16|0}function zN(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Qb-16|0;Qb=d;v[d+12>>2]=c;v[d+8>>2]=c;e=-1;c=Jl(0,0,b,c);a:{if((c|0)<0){break a}f=a;c=c+1|0;a=jc(c);v[f>>2]=a;if(!a){break a}e=Jl(a,c,b,v[d+12>>2])}Qb=d+16|0;return e|0}function uI(a){var b=0,c=0,d=0,e=0,f=0;a:{if(!a){break a}b=bd(1,16);if(!b){break a}e=v[a+8>>2];f=e<<2;c=bd(1,f);v[b>>2]=c;if(!c){break a}gc(c,v[a>>2],f);d=v[a+12>>2];v[b+8>>2]=e;v[b+12>>2]=d;v[b+4>>2]=v[a+4>>2];d=b}return d}function jO(a){a=a|0;v[a+12>>2]=0;v[a+16>>2]=0;v[a+8>>2]=1065353216;v[a+4>>2]=0;v[a+40>>2]=0;v[a+44>>2]=0;v[a+36>>2]=10;v[a>>2]=995752;v[a+20>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;v[a+32>>2]=0;v[a+48>>2]=0;v[a+52>>2]=0;return a|0}function hy(a){var b=0,c=0,d=0,e=0;b=fc(8);c=v[a+4>>2];v[b+4>>2]=c;v[299999]=0;d=Q(3364,c|0,1)|0;e=v[299999];v[299999]=0;if((e|0)!=1){v[b>>2]=d;ic(d,0,c);gc(v[b>>2],v[a>>2],v[a+4>>2]);return b}a=P()|0;O()|0;dc(b);T(a|0);L()}function bVa(a){a=a|0;var b=0;b=1;a:{if(!v[a+16>>2]){break a}a=v[a+20>>2];if(!a){break a}a=v[a+4>>2];b=v[a>>2];b:{if(!b){break b}b=b-1|0;if(!w[v[v[a+16>>2]+(b>>>6&67108860)>>2]+(b&255)|0]){break b}ze(a,0,0,0)}b=0}return b|0}function RM(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[a>>2];a:{if(!c){break a}d=v[c+24>>2];b:{if((d|0)==v[c+28>>2]){b=Ub[v[v[c>>2]+52>>2]](c,b&255)|0;break b}v[c+24>>2]=d+1;t[d|0]=b;b=b&255}if((b|0)!=-1){break a}v[a>>2]=0}return a|0}function Qwa(a){a=a|0;var b=0,c=0,d=0;while(1){b=v[a+32784>>2];if(!b){if(!(!v[a+34092>>2]|!v[a+34096>>2])){return-1}Yx(a);continue}break}c=v[a+32780>>2];d=w[(c+a|0)+12|0];v[a+32784>>2]=b-1;v[a+32780>>2]=c+1&32767;return d|0}function M7(a){a=a|0;a:{b:{if(t[1200348]&1){break b}if(!Je(1200348)){break b}v[299999]=0;Q(3111,1200336,1016548)|0;a=v[299999];v[299999]=0;if((a|0)==1){break a}Ie(1200348)}return 1200336}a=P()|0;O()|0;Pf(1200348);T(a|0);L()}function I7(a){a=a|0;a:{b:{if(t[1200380]&1){break b}if(!Je(1200380)){break b}v[299999]=0;Q(3111,1200368,1016584)|0;a=v[299999];v[299999]=0;if((a|0)==1){break a}Ie(1200380)}return 1200368}a=P()|0;O()|0;Pf(1200380);T(a|0);L()}function E7(a){a=a|0;a:{b:{if(t[1200412]&1){break b}if(!Je(1200412)){break b}v[299999]=0;Q(3111,1200400,1016620)|0;a=v[299999];v[299999]=0;if((a|0)==1){break a}Ie(1200412)}return 1200400}a=P()|0;O()|0;Pf(1200412);T(a|0);L()}function A7(a){a=a|0;a:{b:{if(t[1200444]&1){break b}if(!Je(1200444)){break b}v[299999]=0;Q(3111,1200432,1016704)|0;a=v[299999];v[299999]=0;if((a|0)==1){break a}Ie(1200444)}return 1200432}a=P()|0;O()|0;Pf(1200444);T(a|0);L()}function yOa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;a=v[a+332>>2]+128|0;b=v[b+84>>2];f=B(v[b+32>>2],x[c+16>>1]);b=B(v[b>>2],x[c>>1])+4|0;t[v[d>>2]+e|0]=w[a+(f+b>>>3&1023)|0];t[v[d+4>>2]+e|0]=w[a+(b-f>>>3&1023)|0]}function wI(a,b){var c=0,d=0,e=0,f=0;if(!(!a|!b)){c=a+8|0;d=v[a+4>>2];e=v[a>>2];a:{if((d|0)>(e|0)){c=v[c>>2];break a}f=c;c=vj(c,d<<2,d<<3);v[f>>2]=c;if(!c){break a}v[a+4>>2]=v[a+4>>2]<<1}v[(e<<2)+c>>2]=b;v[a>>2]=v[a>>2]+1}}function o$a(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[b>>2];a:{if(c>>>0>65534){break a}if(t[a+20|0]&1){return CZ(a,b,1)|0}if((c|0)==v[a+24>>2]){zZ(a);c=v[a+28>>2];if(!c){break a}v[b>>2]=v[a+24>>2];return c|0}d=BZ(a,b,1)}return d|0}function kg(a,b,c,d){var e=0,f=0;f=Qb-16|0;Qb=f;a:{b:{if(!b|!c){break b}e=Bib(c,0,b,0);if(Tb){break b}e=uh(0,e);if(e){break a}}e=v[a>>2];a=v[a+628>>2];v[f+8>>2]=c;v[f+4>>2]=b;v[f>>2]=d;zc(a,e,3855,f);e=0}Qb=f+16|0;return e}function Z4(a){a=a|0;var b=0,c=0;c=uh(v[a+912>>2],v[a+916>>2]+1e3|0);if(!c){b=v[a>>2];v[b+20>>2]=56;v[b+24>>2]=100;Ub[v[v[a>>2]>>2]](a)}v[a+912>>2]=c;v[a+784>>2]=1e3;b=v[a+916>>2];v[a+916>>2]=b+1e3;v[a+780>>2]=b+c;return 1}function Oha(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=Qb-16|0;Qb=d;c=v[b>>2];a:{if(!c){break a}a=(v[a+8>>2]+v[a+12>>2]|0)-c|0;if((a|0)<1){break a}a=Rn(d+12|0,c,a);c=v[d+12>>2];v[b>>2]=v[b>>2]+1;e=(a|0)<0?0:c}Qb=d+16|0;return e|0}function O7(a){a=a|0;a:{b:{if(t[1200332]&1){break b}if(!Je(1200332)){break b}v[299999]=0;Q(3106,1200320,220295)|0;a=v[299999];v[299999]=0;if((a|0)==1){break a}Ie(1200332)}return 1200320}a=P()|0;O()|0;Pf(1200332);T(a|0);L()}function Nda(a,b){a=a|0;b=b|0;var c=0,d=0;c=Qb-16|0;Qb=c;if(!w[b+32|0]){Sn(b,0)}d=c+8|0;_C(d,b);v[299999]=0;V(5409,a|0,d|0);a=v[299999];v[299999]=0;if((a|0)!=1){ec(c+8|0);Qb=c+16|0;return}a=P()|0;O()|0;ec(c+8|0);T(a|0);L()}function Mm(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=v[b>>2];if(!(!c|v[b+4>>2]!=(a|0))){d=v[c>>2];e=a+8|0;v[(d?d:e)+4>>2]=v[c+4>>2];f=v[c+4>>2];v[(f?f:e)>>2]=d;v[a+4>>2]=v[a+4>>2]-1;Ub[v[v[a>>2]+16>>2]](c,1);dc(c);v[b>>2]=0}}function LO(a,b){a=a|0;b=b|0;var c=0;v[a>>2]=989204;v[a+8>>2]=v[b+8>>2];v[a+12>>2]=v[b+12>>2];v[a+16>>2]=v[b+16>>2];v[a+20>>2]=v[b+20>>2];c=a;b=v[b+4>>2];if(!(!b|(b|0)==217929)){b=ce(fc(Bc(b)+1|0),b)}v[c+4>>2]=b;return a|0}function K7(a){a=a|0;a:{b:{if(t[1200364]&1){break b}if(!Je(1200364)){break b}v[299999]=0;Q(3106,1200352,310899)|0;a=v[299999];v[299999]=0;if((a|0)==1){break a}Ie(1200364)}return 1200352}a=P()|0;O()|0;Pf(1200364);T(a|0);L()}function G7(a){a=a|0;a:{b:{if(t[1200396]&1){break b}if(!Je(1200396)){break b}v[299999]=0;Q(3106,1200384,309051)|0;a=v[299999];v[299999]=0;if((a|0)==1){break a}Ie(1200396)}return 1200384}a=P()|0;O()|0;Pf(1200396);T(a|0);L()}function C7(a){a=a|0;a:{b:{if(t[1200428]&1){break b}if(!Je(1200428)){break b}v[299999]=0;Q(3106,1200416,243362)|0;a=v[299999];v[299999]=0;if((a|0)==1){break a}Ie(1200428)}return 1200416}a=P()|0;O()|0;Pf(1200428);T(a|0);L()}function eRa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;a=v[a+4>>2];if(!a){return 0}a:{if(!e|!f){break a}if(b>>>0>f>>>0){return qg(f,0,d,a)|0}e=b>>>0>>0?e:b;if(e+c>>>0<=f>>>0){break a}c=f-e|0}return qg(b,c,d,a)|0}function aCa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=+(65536-v[b+12>>2]|0)+ +v[b>>2]*-.3+ +v[b+4>>2]*-.59+ +v[b+8>>2]*-.11+.5;a:{if(D(e)<2147483648){a=~~e;break a}a=-2147483648}a=(a|0)<65536?a:65536;v[c>>2]=(a|0)>0?a:0}function PNa(a){a=a|0;var b=0,c=0,d=0;a=v[a>>2];if(!a){return 0}c=Bc(a);b=0;a:{if(!a){break a}b=(c-32|0)/32|0;if((c|0)>=1){c=a+c|0;b=b+1|0;while(1){d=w[a|0]+B(d,37)|0;a=a+b|0;if(c>>>0>a>>>0){continue}break}}b=d}return b|0}function Ac(a,b){var c=0,d=0,e=0;c=a>>31;d=c+a^c;c=b>>31;c=c+b^c;a:{if(d+(c>>>8|0)>>>0<=8190){c=B(c,d)+32768>>>16|0;break a}e=d&65535;c=B(e,c>>>16|0)+B(c,d>>>16|0)+(B(c&65535,e)+32768>>>16)|0}return(a|0)<0^(b|0)<0?0-c|0:c}function nNa(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[a+8>>2];a:{b:{if(c>>>0>2]){d=w[c|0];v[a+8>>2]=c+1;c=d<<24>>24;if((c|0)>=0){break a}a=v[a+4>>2];t[a+36|0]=1;t[a+37|0]=c;v[b>>2]=12;break b}v[b>>2]=8}d=65535}return d|0}function hd(a,b){var c=0;a:{if(!a){break a}c=v[a+160>>2];if(!c){break a}Ub[c|0](a,b)}c=Qb-16|0;Qb=c;v[c>>2]=b?b:10358;b=v[252391];wc(b,5262,c);ff(10,b);b:{if(!a){break b}b=v[a+156>>2];if(!b){break b}Ub[b|0](a,1)}ia();L()}function YIa(a){a=a|0;var b=0;if(!a){return-1}a:{b:{if(!(v[252393]!=(a|0)&v[252391]!=(a|0))){if((Qi(a)|0)>=0){break a}a=342126;break b}if(v[252392]==(a|0)){break a}if((Be(a)|0)!=-1){break a}b=-1;a=342257}JF(a)}return b|0}function PKa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a=12;e=-1;a:{switch(d|0){case 2:a=8;case 1:d=v[a+b>>2];case 0:e=b;a=v[b+4>>2];b=c+d|0;a=a>>>0>>0;v[e+(a?16:12)>>2]=a?1:b;e=a?-1:0;break;default:break a}}return e|0}function Li(a){var b=0,c=0;a:{if(!a){break a}b=v[a>>2];if(!b){break a}if(v[b>>2]>=1){while(1){dc(v[v[b+16>>2]+(c<<2)>>2]);c=c+1|0;if((c|0)>2]){continue}break}}dc(v[b+16>>2]);c=v[b+20>>2];if(c){dc(c)}dc(b);v[a>>2]=0}}function Dma(a){a=a|0;var b=0,c=0,d=0;b=fc(24);v[299999]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b>>2]=990196;v[b+4>>2]=0;c=b;d=v[299999];v[299999]=0;if((d|0)!=1){v[a>>2]=0;Wc(a,c);return}a=P()|0;O()|0;dc(b);T(a|0);L()}function sdb(a){a=a|0;var b=0,c=0,d=0;b=v[a+588>>2];if((b|0)>=1){c=v[a+644>>2];b=b-1|0;d=c+b|0;b=c+(b<<1)|0;c=0;while(1){t[b+1|0]=0;t[b|0]=w[d|0]<<7;b=b-2|0;d=d-1|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function rhb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:{if(v[a+12>>2]>=1){b=v[a+16>>2];while(1){d=-1;if(Gg(c,v[b>>2])){break a}if(Gg(c,v[b+4>>2])){break a}b=b+8|0;e=e+1|0;if((e|0)>2]){continue}break}}d=0}return d|0}function q7a(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1950960965){pc(a,2050,0,0);return 2050}u[b+32>>1]=x[c+32>>1];t[b+34|0]=w[c+34|0];t[b+35|0]=w[c+35|0];t[b+36|0]=w[c+36|0];t[b+37|0]=w[c+37|0];t[b+38|0]=w[c+38|0];return 0}function pdb(a){a=a|0;var b=0,c=0,d=0;b=v[a+588>>2];if((b|0)>=1){c=v[a+644>>2];b=b-1|0;d=c+b|0;b=c+(b<<1)|0;c=0;while(1){t[b+1|0]=0;t[b|0]=w[d|0]<<6;b=b-2|0;d=d-1|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function ndb(a){a=a|0;var b=0,c=0,d=0;b=v[a+588>>2];if((b|0)>=1){c=v[a+644>>2];b=b-1|0;d=c+b|0;b=c+(b<<1)|0;c=0;while(1){t[b+1|0]=0;t[b|0]=w[d|0]<<4;b=b-2|0;d=d-1|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function _o(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,h=0;a:{g=v[a+4>>2];if(!g){break a}h=v[a+44>>2];if(!h|b>>>0>=h>>>0){break a}b=(g+40|0)+(b<<2)|0;t[b|0]=e;t[b+1|0]=d;t[b+2|0]=c;t[b+3|0]=f;t[a+481|0]=0}}function LU(a,b){var c=0,d=0;a:{if(!a|!b){break a}c=v[a+64>>2];if(!c){break a}a=Mu(a,v[b+12>>2]);if(!a){break a}d=jV(c,a);if(!(v[d+8>>2]==(b|0)?d:0)){Ub[v[259708]](a);return}$r(c,a,0,3032);Ub[v[259708]](a);v[b+40>>2]=0}}function Ar(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=Qb-16|0;Qb=d;v[d+12>>2]=0;a:{b:{c=a;if(!w[c+8|0]){break b}c=v[c>>2];if(c){break b}c=0;break a}c=v[c>>2]}v[d+8>>2]=v[a+4>>2];e=b,f=se(c,d+12|0,d+8|0),A[e>>3]=f;Qb=d+16|0}function ihb(a,b){a=a|0;b=b|0;var c=0;if(v[a+44>>2]>=1){b=v[a+48>>2];while(1){a:{if(v[b>>2]!=1){break a}if(!E2(a,b)){break a}return-1}D2(a,b);b=b+56|0;c=c+1|0;if((c|0)>2]){continue}break}}v[a+84>>2]=32;return 1}function Ko(a){a=a|0;v[a+104>>2]=0;v[a+108>>2]=0;v[a+16>>2]=161;v[a+12>>2]=162;v[a+8>>2]=163;v[a+4>>2]=164;v[a>>2]=165;v[a+124>>2]=0;v[a+128>>2]=0;v[a+116>>2]=126;v[a+120>>2]=0;v[a+112>>2]=69440;v[a+20>>2]=0;return a|0}function D8(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Qb-16|0;Qb=e;v[e+12>>2]=d;d=Nk(e+8|0,e+12|0);v[299999]=0;a=Rn(a,b,c);b=v[299999];v[299999]=0;if((b|0)!=1){ih(d);Qb=e+16|0;return a|0}a=P()|0;O()|0;ih(d);T(a|0);L()}function CZa(a,b){a=a|0;b=b|0;var c=0,d=0;d=zk(448096,b);a:{if(d){break a}d=0;if(!a){break a}c=v[a+4>>2];if(!c){break a}c=Eg(c,228552);if(!c){break a}c=v[v[c>>2]+20>>2];if(!c){break a}d=Ub[v[c+16>>2]](a,b)|0}return d|0}function Bk(a,b){var c=0,d=0,e=0;if(!(!a|!b)){c=a+8|0;d=v[a>>2];a:{if((d|0)>v[a+4>>2]){c=v[c>>2];break a}e=c;c=vj(c,d<<2,d<<3);v[e>>2]=c;if(!c){break a}v[a>>2]=v[a>>2]<<1}e=c;c=v[a+4>>2];v[e+(c<<2)>>2]=b;v[a+4>>2]=c+1}}function t7a(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1933723988){pc(a,2050,0,0);return 2050}t[b+32|0]=w[c+32|0];t[b+33|0]=w[c+33|0];t[b+34|0]=w[c+34|0];t[b+35|0]=w[c+35|0];t[b+36|0]=w[c+36|0];t[b+37|0]=w[c+37|0];return 0}function Y4a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Qb-16|0;Qb=c;if(!v[293566]){e=1174264,f=hH(),v[e>>2]=f;v[c+12>>2]=b;d=a;a=fc(b);if(uz(d,b,a,c+12|0)){b=v[293566];Ub[v[v[b>>2]+36>>2]](b,a,v[c+12>>2])}dc(a)}Qb=c+16|0}function Uya(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;if(i){Ub[v[v[d>>2]+20>>2]](d);Ub[v[v[d>>2]+48>>2]](d,B((B(v[g+4>>2],B(v[g+8>>2],e))+7|0)/8|0,f))|0;Ub[v[v[d>>2]+24>>2]](d)}}function Tc(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[a+8>>2];d=v[a+4>>2];a:{if((c|0)<(d|0)){d=v[a>>2];break a}c=v[a+12>>2];c=d+((c|0)>0?c:d)|0;v[a+4>>2]=c;d=pd(v[a>>2],c,4);v[a>>2]=d;c=v[a+8>>2]}v[a+8>>2]=c+1;v[(c<<2)+d>>2]=b}function Hga(a){a=a|0;var b=0,c=0;ax(a);a:{if(v[a+36>>2]>0){break a}b=v[a+24>>2];if(w[b+20|0]?0:b){break a}b=v[a+32>>2];if((b|0)<=v[a+28>>2]){break a}c=v[a+16>>2];Ub[v[v[c>>2]+20>>2]](c,b,0,0)|0;v[a+28>>2]=v[a+32>>2]}}function F1a(a){a=a|0;var b=0;b=v[v[a+156>>2]>>2];v[a+184>>2]=0;v[a+188>>2]=0;v[a+192>>2]=0;v[a+160>>2]=0;v[a+164>>2]=0;v[a+168>>2]=0;v[a+172>>2]=0;v[a+176>>2]=0;v[a+180>>2]=0;v[a+188>>2]=b;t[a+192|0]=0;Fo(b);return 0}function AYa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=12;a:{if(mc(b,247801)){break a}e=7;b:{c:{if(d){b=Yf(c,0,10);break c}b=v[c>>2]}switch(b-35|0){case 0:case 5:break b;default:break a}}v[a- -64>>2]=b;e=0}return e|0}function t2a(a,b){a=a|0;b=b|0;var c=0,d=0;v[b+72>>2]=1869968492;d=v[a+36>>2];v[b+124>>2]=d;c=v[a+24>>2];v[b+108>>2]=v[a+20>>2];v[b+112>>2]=c;c=v[a+32>>2];v[b+116>>2]=v[a+28>>2];v[b+120>>2]=c;v[b+124>>2]=d&-2;return 0}function o_(a,b,c){var d=0,e=0;if(c>>>0<4294967280){a:{b:{if(c>>>0>=11){e=c+16&-16;d=fc(e);v[a+8>>2]=e|-2147483648;v[a>>2]=d;v[a+4>>2]=c;break b}t[a+11|0]=c;d=a;if(!c){break a}}gc(d,b,c)}t[c+d|0]=0;return a}$d(a);L()}function mdb(a){a=a|0;var b=0,c=0,d=0;b=v[a+588>>2];if((b|0)>=1){c=v[a+644>>2];b=b-1|0;d=c+b|0;b=c+(b<<1)|0;c=0;while(1){t[b+1|0]=0;t[b|0]=w[d|0];b=b-2|0;d=d-1|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function X5(a){a=a|0;var b=0,c=0,d=0;b=v[a+584>>2];if(v[b+68>>2]!=8){if(v[a+608>>2]>=v[a+600>>2]){Ae(a)}d=v[b+64>>2];c=v[a+604>>2];v[a+604>>2]=c+1;t[c|0]=d;v[a+608>>2]=v[a+608>>2]+1;v[b+64>>2]=0;v[b+68>>2]=8}return 1}function Kd(a,b,c){var d=0,e=0,f=0;e=Qb-16|0;Qb=e;v[e+12>>2]=c;d=cr(a,b);a:{if(!d){break a}if(b>>>0<=65535){d=x[d+12>>1];if(!(v[((d>>>3&8188)+a|0)+40>>2]>>>d&1)){break a}}f=Ub[v[a+672>>2]](a,b,c)|0}Qb=e+16|0;return f}function Bib(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;e=c>>>16|0;f=a>>>16|0;j=B(e,f);g=c&65535;h=a&65535;i=B(g,h);f=(i>>>16|0)+B(f,g)|0;e=(f&65535)+B(e,h)|0;Tb=(B(b,c)+j|0)+B(a,d)+(f>>>16)+(e>>>16)|0;return i&65535|e<<16}function wya(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=Qb-4096|0;Qb=e;while(1){if(b>>>0>d>>>0){c=b-d|0;c=c>>>0<4096?c:4096;f=Ub[v[v[a>>2]+40>>2]](a,e,c)|0;d=d+f|0;if((c|0)==(f|0)){continue}}break}Qb=e+4096|0;return d|0}function u3(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Qb-32|0;Qb=c;d=v[a+16>>2];e=v[a+12>>2];A[c+16>>3]=+v[a+20>>2]*152587890625e-16;A[c>>3]=+(e|0)*152587890625e-16;A[c+8>>3]=+(d|0)*152587890625e-16;Ph(b,34216,c);Qb=c+32|0}function tva(a){a=a|0;var b=0;v[a>>2]=972008;b=v[a+20>>2];if(b){dc(Dc(b))}b=v[a+24>>2];if(b){dc(Dc(b))}v[a>>2]=971168;while(1){b=v[a+12>>2];if(b){v[a+12>>2]=v[b+4>>2];Ub[v[v[b>>2]+4>>2]](b);continue}break}return a|0}function sI(a){var b=0,c=0,d=0,e=0,f=0;a:{if(!a){break a}c=Bc(a);d=bd(c+1|0,1);if(!d){break a}if((c|0)>=1){while(1){e=t[a+b|0];if(!af(9166,e)){t[f+d|0]=e;f=f+1|0}b=b+1|0;if((c|0)!=(b|0)){continue}break}}b=d}return b}function gBa(a){a=a|0;var b=0;v[a>>2]=897508;v[299999]=0;R(3098,a- -64|0);b=v[299999];v[299999]=0;a:{if((b|0)!=1){v[299999]=0;R(3098,a+128|0);b=v[299999];v[299999]=0;if((b|0)!=1){break a}}W(0)|0;O()|0;lc();L()}dc(a)}function d9a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(!w[a+289|0]){pc(a,1029,0,0);return 1029}if(c){pc(a,1028,0,0);return 1028}t[a+290|0]=1;a:{if(w[a+112|0]){a=Ub[v[b+4>>2]](a,b,e)|0;if(a){break a}}a=0}return a|0}function Th(a){var b=0,c=0;a:{if(v[a+32>>2]|!a){break a}b=v[a+8>>2];if(!((b|0)==v[a+24>>2]|b>>>0>2147483646)){v[a+24>>2]=b}b=v[a+20>>2];c=v[a+4>>2];if((b|0)==(c|0)|c>>>0>2147483646){break a}v[a+20>>2]=c;b=c}return b}function TCa(a,b,c){a=a|0;b=b|0;c=c|0;b=v[a+28>>2];c=v[b+596>>2];if(!(!v[a+36>>2]|(v[c>>2]?0:v[c+28>>2]<=0))){Vi(b);b=v[a+8>>2];Ub[v[v[b>>2]+(v[a+36>>2]==1?220:224)>>2]](b,v[a+28>>2]);b=v[a+28>>2]}v[a+36>>2]=0;vf(b)}function NC(a,b,c){var d=0,e=0,f=0,g=0;a:{if(!c){break a}while(1){e=c>>>1|0;d=(e<<2)+b|0;f=Ub[433](a,d)|0;if(!f){return d}if((c|0)==1){break a}g=d;d=(f|0)<0;b=d?b:g;c=d?e:c-e|0;if(c){continue}break}return 0}return 0}function E$(a,b){a=a|0;b=b|0;var c=0;c=v[b+4>>2];v[a+4>>2]=v[b>>2];v[a+8>>2]=c;v[a+28>>2]=v[b+24>>2];c=v[b+20>>2];v[a+20>>2]=v[b+16>>2];v[a+24>>2]=c;c=v[b+12>>2];v[a+12>>2]=v[b+8>>2];v[a+16>>2]=c;D$(a,b,0);D$(a,b,1)}function Cva(a){a=a|0;var b=0;v[a>>2]=971816;b=v[a+20>>2];if(b){dc(Dc(b))}b=v[a+24>>2];if(b){dc(Dc(b))}v[a>>2]=971168;while(1){b=v[a+12>>2];if(b){v[a+12>>2]=v[b+4>>2];Ub[v[v[b>>2]+4>>2]](b);continue}break}return a|0}function w3a(a){a=a|0;var b=0,c=0;c=v[a+712>>2];a:{if(!(w[a+8|0]&8)|!v[a+540>>2]){break a}b=Qj(Eg(v[v[a+96>>2]+4>>2],228552),280271,0);if(!b){break a}b=v[b>>2];if(!b){break a}return Ub[b|0](a)|0}return v[c+1348>>2]}function d5(a,b){a=a|0;b=b|0;var c=0,d=0;if((b|0)>=1){d=a;c=v[a+804>>2];a:{if((c|0)<(b|0)){b=v[a>>2];v[b+20>>2]=123;Ub[v[b+4>>2]](a,-1);v[a+800>>2]=88089;a=2;break a}v[a+800>>2]=v[a+800>>2]+b;a=c-b|0}v[d+804>>2]=a}}function Nt(a,b,c){var d=0;v[a>>2]=1032;d=v[b+68>>2];ic(a+4|0,0,972);t[a+388|0]=255;v[a+344>>2]=1119092736;v[a+68>>2]=d;t[a+390|0]=1;v[a+336>>2]=-1;t[a+348|0]=1;Mk(a,96);Cn(a,96);t[a+494|0]=1;wx(a,b,c,1,1);return a}function KX(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a=v[a>>2];c=A[a>>3];d=A[a+8>>3];e=A[a+16>>3];f=A[a+24>>3];g=A[a+32>>3];z[b+20>>2]=A[a+40>>3];z[b+16>>2]=g;z[b+12>>2]=f;z[b+8>>2]=e;z[b+4>>2]=d;z[b>>2]=c;return 0}function ID(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(!(!a|!b)){a=x[c+4>>1]|x[c+6>>1]<<16;d=x[c>>1]|x[c+2>>1]<<16;u[b+90>>1]=d;u[b+92>>1]=d>>>16;u[b+94>>1]=a;u[b+96>>1]=a>>>16;u[b+98>>1]=x[c+8>>1];v[b+8>>2]=v[b+8>>2]|32}}function Gsa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=Qb-48|0;Qb=b;iq(a,b);d=A[b+24>>3];e=A[b>>3];f=A[b+8>>3];g=A[b+16>>3];c=K(d*e-f*g);A[b+24>>3]=d/c;A[b+16>>3]=g/c;A[b+8>>3]=f/c;A[b>>3]=e/c;ND(a);Qb=b+48|0;return+c}function iya(a){a=a|0;var b=0,c=0;v[a>>2]=962256;b=v[a+24>>2];c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){dc(b)}v[a>>2]=962040;v[299999]=0;R(3098,a+8|0);b=v[299999];v[299999]=0;if((b|0)==1){W(0)|0;O()|0;lc();L()}return a|0}function ey(a,b){var c=0,d=0,e=0;c=v[a+56>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;a:{if((c|0)==-1){break a}d=v[a+56>>2];d=Ub[v[v[d>>2]+28>>2]](d)|0;if((d|0)==-1){break a}v[a+68>>2]=v[a+68>>2]+2;v[b>>2]=d|c<<8;e=1}return e}function _6(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Qb-16|0;Qb=d;e=nm(d,258688);v[299999]=0;a=Z(5945,e|0,a|0,b|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){Mc(e);Qb=d+16|0;return a|0}a=P()|0;O()|0;Mc(e);T(a|0);L()}function VYa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{if(!(!w[a+616|0]|(!w[a+615|0]|v[v[v[a>>2]+96>>2]+64>>2]!=40))){if(w[a+617|0]){break a}}a=v[b+16>>2]+(c<<3)|0;v[a+4>>2]=v[a+4>>2]+d}a=v[b+24>>2]+c|0;t[a|0]=w[a|0]|16}function Un(a,b){a=a|0;b=b|0;var c=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a>>2]=b;b=Bg(a+16|0,a+12|0,0,4);v[a+24>>2]=0;v[299999]=0;V(5071,a|0,17);c=v[299999];v[299999]=0;if((c|0)!=1){return a|0}a=P()|0;O()|0;Lc(b);T(a|0);L()}function L4(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;f=v[v[a+584>>2]>>2];while(1){a:{g=1;if((c|0)<1){break a}e=(c|0)<(f|0)?c:f;c=c-e|0;g=-1;h=zK(a,b,e,d);b=b+e|0;if((h|0)>-1){continue}}break}return g|0}function Fm(a,b){a=a|0;b=b|0;var c=0;c=a;b=b-1|0;a:{b:{if(!(b>>>0>=20|!(1015295>>>b&1))){a=(b<<2)+53956|0;break b}a=v[a+68>>2]-1|0;b=0;if(a>>>0>=20){break a}a=(a<<2)+54036|0}b=v[a>>2]}return v[(c+(b<<2)|0)+400>>2]}function Ata(a,b){a=a|0;b=b|0;var c=0;c=Qb-16|0;Qb=c;Ub[v[v[b>>2]+136>>2]](b,978448)|0;v[c+12>>2]=v[a+4>>2];Ub[v[v[b>>2]+144>>2]](b,c+12|0)|0;v[c+8>>2]=v[a+8>>2];Ub[v[v[b>>2]+152>>2]](b,c+8|0)|0;Qb=c+16|0;return 1}function $z(a,b,c,d){var e=0,f=0;f=v[a+4>>2];if(f>>>0>b>>>0){e=v[a+20>>2];a:{if(e){c=Ub[e|0](a,b,c,d)|0;break a}e=c;c=f-b|0;c=c>>>0>d>>>0?d:c;gc(e,v[a>>2]+b|0,c)}v[a+8>>2]=b+c;a=c>>>0>>0?85:0}else{a=85}return a}function $6(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Qb-16|0;Qb=d;e=nm(d,264552);v[299999]=0;a=Z(5944,e|0,a|0,b|0,c|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){Mc(e);Qb=d+16|0;return a|0}a=P()|0;O()|0;Mc(e);T(a|0);L()}function edb(a){a=a|0;var b=0,c=0,d=0,e=0;if(v[a+588>>2]>=1){b=v[a+644>>2];c=b;while(1){d=w[c|0]|w[c+1|0]<<8;t[b|0]=((d<<8|d>>>8)&65535)>>>15;c=c+2|0;b=b+1|0;e=e+1|0;if((e|0)>2]){continue}break}}return 0}function bdb(a){a=a|0;var b=0,c=0,d=0,e=0;if(v[a+588>>2]>=1){b=v[a+644>>2];c=b;while(1){d=w[c|0]|w[c+1|0]<<8;t[b|0]=((d<<8|d>>>8)&65535)>>>14;c=c+2|0;b=b+1|0;e=e+1|0;if((e|0)>2]){continue}break}}return 0}function PM(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[a>>2];a:{if(!c){break a}d=v[c+24>>2];b:{if((d|0)==v[c+28>>2]){b=Ub[v[v[c>>2]+52>>2]](c,b)|0;break b}v[c+24>>2]=d+4;v[d>>2]=b}if((b|0)!=-1){break a}v[a>>2]=0}return a|0}function B8(a){a=a|0;var b=0,c=0,d=0;b=Qb-16|0;Qb=b;v[b+12>>2]=a;a=Nk(b+8|0,b+12|0);v[299999]=0;c=v[v[282445]>>2]?4:1;d=v[299999];v[299999]=0;if((d|0)!=1){ih(a);Qb=b+16|0;return c|0}b=P()|0;O()|0;ih(a);T(b|0);L()}function $cb(a){a=a|0;var b=0,c=0,d=0,e=0;if(v[a+588>>2]>=1){b=v[a+644>>2];c=b;while(1){d=w[c|0]|w[c+1|0]<<8;t[b|0]=((d<<8|d>>>8)&65535)>>>12;c=c+2|0;b=b+1|0;e=e+1|0;if((e|0)>2]){continue}break}}return 0}function tKa(a){a=a|0;var b=0;v[a>>2]=878788;b=v[a+4>>2];v[299999]=0;R(2934,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){v[a+4>>2]=0;b=v[a+8>>2];if(b){dc(b)}v[a+8>>2]=0;v[a+12>>2]=0;return a|0}W(0)|0;O()|0;lc();L()}function bza(a){a=a|0;var b=0,c=0,d=0,e=0;b=v[a+88>>2];if(b){c=v[b+8>>2];if((c|0)>=1){while(1){e=v[v[b>>2]+(d<<2)>>2];if(e){au(e);dc(e);c=v[b+8>>2]}d=d+1|0;if((d|0)<(c|0)){continue}break}}dc(Vc(b));v[a+88>>2]=0}}function aj(a,b,c){var d=C(0),e=0;a:{if(!c){break a}v[c>>2]=0;if(!a|(b|0)<0|v[a+4>>2]<=(b|0)){break a}d=z[v[a+20>>2]+(b<<2)>>2];e=(d>2]=a}}function _cb(a){a=a|0;var b=0,c=0,d=0,e=0;if(v[a+588>>2]>=1){b=v[a+644>>2];c=b;while(1){d=w[c|0]|w[c+1|0]<<8;t[b|0]=((d<<8|d>>>8)&65535)>>>8;c=c+2|0;b=b+1|0;e=e+1|0;if((e|0)>2]){continue}break}}return 0}function Yj(a){var b=0,c=0,d=0,e=0;b=jc(108);if(!b){return 0}v[b+4>>2]=0;v[b>>2]=a;d=1032720;while(1){c=d;e=v[c>>2];if((e|0)!=(a|0)){d=c+24|0;if((e|0)>-1){continue}}break}v[b+104>>2]=c+8;ic(b+12|0,0,92);return b}function IWa(a){a=a|0;var b=0;a:{if(t[a+547|0]<=-1){v[a+540>>2]=0;b=v[a+536>>2];break a}t[a+547|0]=0;b=a+536|0}v[b>>2]=0;b:{if(t[a+535|0]<=-1){v[a+528>>2]=0;a=v[a+524>>2];break b}t[a+535|0]=0;a=a+524|0}v[a>>2]=0}function Ewa(a){a=a|0;var b=0,c=0;b=v[a+4>>2];Ub[v[v[b>>2]+20>>2]](b);if(v[a+12>>2]>=1){b=0;while(1){c=v[a+4>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;v[v[a+8>>2]+(b<<2)>>2]=c;b=b+1|0;if((b|0)>2]){continue}break}}}function Cib(a,b,c,d){var e=0,f=0,g=0;f=(b^d)>>31;e=b>>31;a=a^e;g=a-e|0;a=(b^e)-((a>>>0>>0)+e|0)|0;e=d>>31;b=c^e;a=Dib(g,a,b-e|0,(e^d)-((e>>>0>b>>>0)+e|0)|0)^f;b=a-f|0;Tb=(f^Tb)-((a>>>0>>0)+f|0)|0;return b}function yfa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=Ci(a,0,262142,a+56|0);Dt(b);e=kr(b,c);if((c|0)>0){f=a+52|0;while(1){g=d+e|0,h=Ci(a,0,255,f),t[g|0]=h;d=d+1|0;if((c|0)!=(d|0)){continue}break}}kr(b,-1)}function sva(a){a=a|0;var b=0;v[a>>2]=972008;b=v[a+20>>2];if(b){dc(Dc(b))}b=v[a+24>>2];if(b){dc(Dc(b))}v[a>>2]=971168;while(1){b=v[a+12>>2];if(b){v[a+12>>2]=v[b+4>>2];Ub[v[v[b>>2]+4>>2]](b);continue}break}dc(a)}function sRa(a,b,c){a=a|0;b=+b;c=+c;var d=0,e=0,f=0;d=Qb-16|0;Qb=d;A[d>>3]=c;A[d+8>>3]=b;e=v[a+4>>2];f=v[e+28>>2];if(f){ke(f,d+8|0,d);e=v[a+4>>2];c=A[d>>3];b=A[d+8>>3]}t[e+25|0]=1;ze(e,b,c,1);Qb=d+16|0;return 1}function jPa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;d=v[d>>2]+e|0;a=v[a+332>>2]+128|0;b=v[b+84>>2];e=B(v[b+4>>2],x[c+2>>1]);b=B(v[b>>2],x[c>>1])+4|0;t[d|0]=w[a+(e+b>>>3&1023)|0];t[d+1|0]=w[a+(b-e>>>3&1023)|0]}function T5(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;if((c|0)>=1){d=v[a+584>>2];while(1){QK(a,b,v[d+96>>2],v[d+12>>2]);oe(v[d+96>>2],b,v[d+8>>2]);e=v[d+8>>2];b=e+b|0;c=c-e|0;if((c|0)>0){continue}break}}return 1}function RH(a,b,c){var d=0,e=0,f=0,g=0;e=v[a+8>>2];f=v[a+4>>2];if(e>>>0>>0){d=v[a+20>>2];a:{if(d){d=Ub[d|0](a,e,b,c)|0;break a}g=b;b=f-e|0;d=b>>>0>c>>>0?c:b;gc(g,v[a>>2]+e|0,d)}v[a+8>>2]=v[a+8>>2]+d}return d}function Qi(a){var b=0;if(a){if(v[a+76>>2]<=-1){return VC(a)}return VC(a)}if(v[282568]){b=Qi(v[282568])}a=v[299454];if(a){while(1){if(y[a+20>>2]>y[a+28>>2]){b=VC(a)|b}a=v[a+56>>2];if(a){continue}break}}return b}function Bva(a){a=a|0;var b=0;v[a>>2]=971816;b=v[a+20>>2];if(b){dc(Dc(b))}b=v[a+24>>2];if(b){dc(Dc(b))}v[a>>2]=971168;while(1){b=v[a+12>>2];if(b){v[a+12>>2]=v[b+4>>2];Ub[v[v[b>>2]+4>>2]](b);continue}break}dc(a)}function xe(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[a+4>>2];a:{if(!c){break a}if(b){if(y[a+20>>2]<=b>>>0){break a}return((v[c>>2]+c|0)+(v[a+44>>2]<<2)|0)+B(v[a+52>>2],b)|0}d=(v[c>>2]+c|0)+(v[a+44>>2]<<2)|0}return d|0}function tHa(a,b){a=a|0;b=b|0;var c=0,d=0;c=Qb-16|0;Qb=c;d=v[293894];b=Ub[v[v[d>>2]+24>>2]](d,b)|0;if(b){v[c+12>>2]=0;Ub[v[v[b>>2]+24>>2]](b,a,c+12|0);b=v[c+12>>2];t[a+12|0]=1;v[a+8>>2]=0;v[a+4>>2]=b}Qb=c+16|0}function hh(a,b){var c=0,d=0,e=0,f=0;c=a+20|0;d=v[a>>2];e=v[a+4>>2];a:{if((d|0)>(e|0)){c=v[c>>2];break a}f=c;c=vj(c,d<<2,d<<3);v[f>>2]=c;if(!c){break a}v[a>>2]=v[a>>2]<<1}z[(e<<2)+c>>2]=b;v[a+4>>2]=v[a+4>>2]+1}function ZH(a,b){var c=0,d=0,e=0;c=v[a+156>>2];a:{if(!c){break a}d=v[c+4>>2];if(!(d&1)){break a}e=v[a+88>>2];if(e){c=v[v[a+4>>2]+100>>2];Ub[v[c+8>>2]](c,e);c=v[a+156>>2];d=v[c+4>>2]}v[c+4>>2]=d&-2}v[a+88>>2]=b}function WZa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Qb-16|0;Qb=d;e=Ub[v[a+516>>2]](a,c?1986884728:1752003704,b,d+12|0)|0;if(!e){v[(c?756:752)+a>>2]=v[d+12>>2];v[(c?856:852)+a>>2]=v[b+8>>2]}Qb=d+16|0;return e|0}function NW(a){var b=0;b=v[a>>2];if(!b){v[a+4>>2]=-1;return}A[a+48>>3]=A[a+112>>3];A[a+56>>3]=A[a+120>>3];A[a+64>>3]=A[a+128>>3];A[a+72>>3]=A[a+136>>3];A[a+80>>3]=A[a+144>>3];A[a+88>>3]=A[a+152>>3];v[a+4>>2]=b}function Km(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{if(!c){break a}a=v[a+12>>2];if(!(!a|!w[a|0])){d=1;if(!b|!w[b|0]){break a}if((c|0)>=1){return Oc(a,b,c)|0}return mc(a,b)|0}if(!b){break a}d=w[b|0]?-1:0}return d|0}function DX(a){var b=0,c=0;a:{b=v[a>>2];b:{if(!b){break b}b=v[b>>2];if(!b){break b}c=v[v[b>>2]+12>>2];v[299999]=0;R(c|0,b|0);b=v[299999];v[299999]=0;if((b|0)==1){break a}}v[a>>2]=0;return}W(0)|0;O()|0;lc();L()}function Cma(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=fc(108);v[299999]=0;b=ca(4908,f|0,b|0,c|0,d|0,e|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){v[a>>2]=0;Wc(a,b);return}a=P()|0;O()|0;dc(f);T(a|0);L()}function mla(a,b){a=a|0;b=b|0;var c=0;if((b|0)>=1){while(1){v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=984888;v[a+4>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;a=a+16|0;c=(b|0)>1;b=b-1|0;if(c){continue}break}}}function kJa(a,b){a=a|0;b=b|0;var c=0,d=0;if(a){d=v[a+52>>2];if(!(!d|!v[a+68>>2])){b=v[a+448>>2];c=v[a+36>>2];v[b+12>>2]=v[c+16>>2]-v[c+12>>2];c=v[c+28>>2];v[b>>2]=d;v[b+16>>2]=c;Pu(a,b)}v[a+264>>2]=-1;Fy(a)}}function hya(a){a=a|0;var b=0,c=0;v[a>>2]=962256;b=v[a+24>>2];c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){dc(b)}v[a>>2]=962040;v[299999]=0;R(3098,a+8|0);b=v[299999];v[299999]=0;if((b|0)==1){W(0)|0;O()|0;lc();L()}dc(a)}function gNa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=v[a+28>>2]&15;if(d>>>0<=2){if(!(w[b+8|0]|(d|0)!=2)){v[a+24>>2]=848832;b=v[a+20>>2];t[b|0]=255;t[b+1|0]=253;t[b+2|0]=0;t[b+3|0]=0}v[a+48>>2]=0;c=a+52|0}v[c>>2]=1}function Mp(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=v[b>>2];a=(a|0)<65536?a:65536;v[c>>2]=(a|0)>0?a:0;a=v[b+4>>2];a=(a|0)<65536?a:65536;v[c+4>>2]=(a|0)>0?a:0;a=v[b+8>>2];a=(a|0)<65536?a:65536;v[c+8>>2]=(a|0)>0?a:0}function HB(a,b,c){var d=0;d=v[a+16>>2];if(!d){v[a+36>>2]=1;v[a+24>>2]=c;v[a+16>>2]=b;return}a:{if((b|0)==(d|0)){if(v[a+24>>2]!=2){break a}v[a+24>>2]=c;return}t[a+54|0]=1;v[a+24>>2]=2;v[a+36>>2]=v[a+36>>2]+1}}function UU(a){var b=0,c=0,d=0;c=-1;a:{if(!a){break a}b=v[a+64>>2];if(!b){break a}c=0;if(v[b+4>>2]!=1){break a}d=v[b+48>>2];b:{if(d){v[a+68>>2]=d;break b}b=v[b+44>>2];if(!b){break a}v[a+68>>2]=b}c=1}return c}function Mfb(a,b){a=a|0;b=b|0;if(w[a+498|0]){b=nJ(a);t[a+498|0]=0;return b|0}return e1(a,w[b+28|0],w[b+29|0],v[b+32>>2],w[b+36|0],v[b+40>>2],w[b+44|0],w[b+45|0],v[b+48>>2],v[b+52>>2],v[b+56>>2],v[b+60>>2])|0}function vYa(a,b){a=a|0;b=b|0;var c=0;c=Qb-16|0;Qb=c;t[c+7|0]=0;b=sv(a,b,c+8|0,c+7|0);a:{if(b){break a}a=v[v[v[a+4>>2]+128>>2]+52>>2];if(!a){break a}Ub[v[v[a>>2]+4>>2]](v[a+4>>2],c+8|0)}Qb=c+16|0;return b|0}function SBa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;v[b>>2]=0;v[b+4>>2]=0;v[c>>2]=0;v[c+4>>2]=1079574528;A[b+8>>3]=A[a+64>>3];A[c+8>>3]=A[a+72>>3]-A[a+64>>3];A[b+16>>3]=A[a+80>>3];A[c+16>>3]=A[a+88>>3]-A[a+80>>3]}function e7a(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1297045061){pc(a,2050,0,0);return 2050}u[b+32>>1]=x[c+32>>1];u[b+34>>1]=x[c+34>>1];t[b+36|0]=w[c+36|0];v[b+40>>2]=v[c+40>>2];v[b+44>>2]=v[c+44>>2];return 0}function cgb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=v[a+20>>2];if(d){f=c;e=v[a+28>>2];if(e){zg(d,e,1);d=v[a+28>>2];v[a+28>>2]=0;v[a+24>>2]=d+v[a+24>>2];d=v[a+20>>2]}qg(b,1,f,d);v[a+24>>2]=v[a+24>>2]+c}}function ZCa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;c=v[a+28>>2];e=c;d=v[b>>2]==1?+v[b+8>>2]:A[b+8>>3];a:{if(D(d)<2147483648){b=~~d;break a}b=-2147483648}A[e+464>>3]=b|0;a=v[a+8>>2];Ub[v[v[a>>2]+84>>2]](a,c)}function Vh(a){var b=0,c=0,d=0,e=0;b=v[a>>2];if(b){c=v[a+4>>2];if((c|0)==(b|0)){d=b}else{while(1){d=c-12|0;e=v[d>>2];if(e){v[c-8>>2]=e;dc(e)}c=d;if((c|0)!=(b|0)){continue}break}d=v[a>>2]}v[a+4>>2]=b;dc(d)}}function SB(a,b){a=a|0;b=b|0;var c=0;c=Qb-16|0;Qb=c;v[c+12>>2]=b;a:{if(w[a+11|0]>>>7|0){b=v[a>>2];v[a+4>>2]=1;break a}b=a;t[a+11|0]=1}v[b>>2]=v[c+12>>2];v[c+8>>2]=0;v[b+4>>2]=v[c+8>>2];Qb=c+16|0;return a|0}function Lh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Qb-16|0;Qb=d;a:{if(c>>>0<=1){t[a+11|0]=c;ak(a,b,c);v[d+12>>2]=0;v[(c<<2)+a>>2]=v[d+12>>2];break a}e=w[a+11|0];Sq(a,1,c-1|0,e,0,e,c,b)}Qb=d+16|0;return a|0}function DJ(a,b){var c=0;v[a>>2]=189784;c=a+4|0;v[c+12>>2]=0;v[c+4>>2]=0;v[c+8>>2]=0;v[c>>2]=530160;Ub[v[v[a>>2]+12>>2]](a);if(!js(c,b,0)){vk(c);return a}v[a+20>>2]=v[c+4>>2];v[a+32>>2]=v[c+12>>2];return a}function eaa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;b=Qb-16|0;Qb=b;a:{if(!(w[f+11|0]>>>7|0)){v[a+8>>2]=v[f+8>>2];c=v[f+4>>2];v[a>>2]=v[f>>2];v[a+4>>2]=c;break a}Ke(a,v[f>>2],v[f+4>>2])}Qb=b+16|0}function _Na(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=0;a:{if(w[d+4|0]|x[d>>1]<20|(w[d+5|0]|w[d+6|0]!=2)){break a}if(w[d+8|0]!=99|w[d+9|0]!=110|(w[d+10|0]!=118|w[d+11|0]!=116)){break a}a=w[d+12|0]==6}return a|0}function SJa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=-1;a:{if(!a|!c|(!b|!d)){break a}e=v[d>>2];g=v[b>>2];e=(e|0)<(g|0)?e:g;if((e|0)<0){break a}gc(a,c,e);v[b>>2]=e;v[d>>2]=e;f=v[b>>2]}return f|0}function Kwa(a){a=a|0;var b=0,c=0;b=fc(8);a=v[a+4>>2];c=v[v[a>>2]+8>>2];v[299999]=0;a=S(c|0,a|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){v[b>>2]=968068;v[b+4>>2]=a;return b|0}a=P()|0;O()|0;dc(b);T(a|0);L()}function Ija(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=+(v[a+92>>2]<<1);d=c-v[a+112>>2]|0;f=B(d,d);d=b-v[a+108>>2]|0;c=c-v[a+120>>2]|0;a=b-v[a+116>>2]|0;return e>=K(+(f+B(d,d)|0))+K(+(B(c,c)+B(a,a)|0))|0}function zi(a,b,c,d,e){var f=0;f=Qb-256|0;Qb=f;if(!(e&73728|(c|0)<=(d|0))){c=c-d|0;d=c>>>0<256;ic(f,b&255,d?c:256);if(!d){while(1){yh(a,f,256);c=c-256|0;if(c>>>0>255){continue}break}}yh(a,f,c)}Qb=f+256|0}function mA(a,b){var c=0;a:{if((b|0)==65535){break a}if(b>>>0>=391){b=b-391|0;if(b>>>0>=y[a+1356>>2]){break a}return v[v[a+1360>>2]+(b<<2)>>2]}a=v[a+3084>>2];if(!a){break a}c=Ub[v[a+20>>2]](b)|0}return c}function lB(a,b,c){var d=0,e=0;a:{d=v[a+4>>2];if(!d){break a}e=v[a+44>>2];if(!e|b>>>0>=e>>>0){break a}b=(d+40|0)+(b<<2)|0;t[b|0]=w[c|0];t[b+1|0]=w[c+1|0];t[b+2|0]=w[c+2|0];t[b+3|0]=w[c+3|0];t[a+481|0]=0}}function jKa(a,b){a=a|0;b=b|0;var c=0;b=v[b>>2];if(b){if(t[b+47|0]>=0){b=b+36|0;c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;v[a+8>>2]=v[b+8>>2];return}Ke(a,v[b+36>>2],v[b+40>>2]);return}v[a>>2]=0;t[a+11|0]=0}function eta(a,b){a=a|0;b=b|0;var c=0,d=0;c=Qb-16|0;Qb=c;d=An(b,46);a:{if((d|0)==-1){v[a>>2]=0;t[a+11|0]=0;break a}Aj(c,b,d+1|0,-1,b);v[a+8>>2]=v[c+8>>2];b=v[c+4>>2];v[a>>2]=v[c>>2];v[a+4>>2]=b}Qb=c+16|0}function el(a){var b=0,c=0;a:{if(!a){break a}v[a+212>>2]=1;v[a+172>>2]=-1;b=v[a+36>>2];if(!b){break a}c=v[b+40>>2];if(c){Ub[c|0](v[b+12>>2]);b=v[a+36>>2];v[b+40>>2]=0}v[b+12>>2]=358460;v[b+16>>2]=358460}}function a5a(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[a>>2];if((b|0)<=-1){d=c;b=v[c+108>>2];if(!(v[c+104>>2]<3?b:0)){Ub[v[c+8>>2]](a);b=v[c+108>>2]}v[d+108>>2]=b+1;return}if(v[c+104>>2]>=(b|0)){Ub[v[c+8>>2]](a)}}function Y6(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Qb-16|0;Qb=c;d=nm(c,286866);v[299999]=0;e=+wa(5946,d|0,a|0,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){Mc(d);Qb=c+16|0;return+e}a=P()|0;O()|0;Mc(d);T(a|0);L()}function Pga(a,b){a=a|0;b=b|0;var c=0;c=v[b>>2];if(c){c=v[v[c+28>>2]>>2]?v[c+32>>2]:0;Xd(a+28|0,c,1);if(c){gc(v[a+24>>2],v[v[b>>2]+24>>2],c)}v[a+20>>2]=v[v[b>>2]+20>>2];return}Xd(a+28|0,0,1);v[a+20>>2]=8}function CA(a){var b=0,c=0,d=0;ic(a+24|0,0,72192);v[a+8>>2]=-1;v[a+20>>2]=0;v[a>>2]=0;v[a+4>>2]=819200;c=a,d=fc(20480),v[c+16>>2]=d;b=fc(12);v[b+8>>2]=0;v[b>>2]=0;v[b+4>>2]=0;v[a+72216>>2]=0;v[a+12>>2]=b}function xPa(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[b+180>>2];if(!c){v[a>>2]=0;t[a+11|0]=0;return}b=a;a=0;a:{if(!c){break a}c=v[c+96>>2];d=v[v[c>>2]+32>>2];if(!d){break a}a=Ub[d|0](c,234088)|0}LW(b,a,Bc(a),0)}function pOa(a){a=a|0;var b=0,c=0,d=0;b=Qb-16|0;Qb=b;v[b+12>>2]=0;v[b+8>>2]=0;c=w[a+11|0];d=c<<24>>24<0;ll(d?v[a>>2]:a,d?v[a+4>>2]:c,b+12|0,b+8|0,0);a=v[b+12>>2];c=BN(a);if(a){dc(a)}Qb=b+16|0;return!c|0}function p8a(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=v[b+36>>2];d=v[a+428>>2];c=x[b+32>>1];c=c<<8|c>>>8;t[d+8|0]=c;t[d+9|0]=c>>>8;c=v[b+36>>2];if(c){gc(d+10|0,v[b+40>>2],c)}return _d(a,v[b>>2],e+2|0,d+8|0)|0}function Y9(){var a=0,b=0;a:{v[300381]=0;v[300380]=1021688;v[300380]=1016760;v[300380]=1016384;v[299999]=0;a=ga(5559)|0;b=v[299999];v[299999]=0;if((b|0)!=1){v[300382]=a;break a}a=P()|0;O()|0;T(a|0);L()}}function WKa(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[a+24>>2];d=v[c>>2];v[c>>2]=d+1;t[d|0]=b;b=v[c+4>>2]-1|0;v[c+4>>2]=b;a:{if(b){break a}if(Ub[v[c+12>>2]](a)|0){break a}b=v[a>>2];v[b+20>>2]=25;Ub[v[b>>2]](a)}}function T1(a,b){a=a|0;b=b|0;var c=0;a:{b:{if(b-1>>>0>255){break b}c=b;c:{switch(x[a+26>>1]-1|0){case 0:c=c>>>0<2?c:2;break b;case 7:break b;case 3:break c;default:break a}}c=c>>>0<16?c:16}v[a+48>>2]=c}}function Hr(a,b){var c=0;v[a>>2]=6;c=fc(20);v[299999]=0;v[c>>2]=b;v[c+12>>2]=0;v[c+16>>2]=1;v[c+4>>2]=0;v[c+8>>2]=0;b=v[299999];v[299999]=0;if((b|0)!=1){v[a+8>>2]=c;return}a=P()|0;O()|0;dc(c);T(a|0);L()}function AA(a,b){var c=0,d=0,e=0;c=v[a+12>>2];d=v[c>>2];c=v[c+4>>2];if((d|0)!=(c|0)){while(1){gc(b+e|0,v[d>>2],20480);e=e+20480|0;d=d+4|0;if((c|0)!=(d|0)){continue}break}}gc(b+e|0,v[a+16>>2],v[a+20>>2])}function sl(a){var b=0,c=0;b=Qb-16|0;Qb=b;u[b+14>>1]=65535;Ub[v[v[a>>2]>>2]](v[a+4>>2],b+14|0,1,2)|0;c=w[b+14|0];Qb=b+16|0;if(x[a+25204>>1]==18761){a=w[b+15|0]<<8|c}else{a=w[b+15|0]|c<<8}return a&65535}function dt(a,b){a:{if(!x[a+1148>>1]){if(!fj(a)){return 0}if(!x[a+1148>>1]){break a}}t[b|0]=w[v[a+1152>>2]];v[a+1152>>2]=v[a+1152>>2]+1;u[a+1148>>1]=x[a+1148>>1]-1;return 1}X(43294,7087,1949,87085);L()}function dM(a,b,c,d,e,f){var g=0,h=0,i=0;g=Qb-16|0;Qb=g;t[g+15|0]=0;t[g+14|0]=f;t[g+13|0]=e;t[g+12|0]=37;if(f){cM(g+13|0,g+14|0)}h=c,i=(Ob(b|0,v[c>>2]-b|0,g+12|0,d|0,v[a>>2])|0)+b|0,v[h>>2]=i;Qb=g+16|0}function Lga(a){a=a|0;var b=0;v[a>>2]=990912;a:{while(1){if(!v[a+24>>2]){break a}v[299999]=0;R(4601,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){continue}break}W(0)|0;O()|0;Pt(a);lc();L()}Pt(a);return a|0}function vga(a){a=a|0;var b=0;b=v[a+56>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}b=v[a+60>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}b=v[a+64>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}v[a+64>>2]=0;v[a+56>>2]=0;v[a+60>>2]=0;lO(a)}function YY(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=Qb-16|0;Qb=e;g=v[b>>2];a:{if(g>>>0>=d>>>0){break a}h=c,i=Cc(a,1,g,d,v[c>>2],e+12|0),v[h>>2]=i;f=v[e+12>>2];if(f){break a}v[b>>2]=d;f=0}Qb=e+16|0;return f}function Xy(a,b){var c=0,d=0;a:{if((a|0)!=(b|0)){if(!a){return-1}if(!b){return 1}while(1){d=w[b|0];c=w[w[a|0]+883952|0]-w[d+883952|0]|0;if(c){break a}b=b+1|0;a=a+1|0;if(d){continue}break}}c=0}return c}function UJ(a){var b=0,c=0,d=0;b=v[a+12>>2];if(b){TJ(b)}c=v[a+8>>2];if(c){b=v[c+52>>2];if(b){d=v[c- -64>>2];if(d){dc(d);b=v[c+52>>2]}dc(b)}dc(c)}b=v[a+16>>2];if(b){dc(b)}b=v[a+32>>2];if(b){Te(b)}dc(a)}function U2(a){var b=0,c=0,d=0;c=Qb-16|0;Qb=c;if(v[a+44>>2]){while(1){a:{ng(c+8|0,a,b&255);d=w[c+11|0];if(d){break a}b=b+1|0;if(y[a+44>>2]>(b&65535)>>>0){continue}}break}b=(d|0)!=0}Qb=c+16|0;return b} +function Sg(a){var b=0,c=0,d=0;c=a;d=v[a+36>>2];a=v[a+32>>2];if(d>>>0>a+3>>>0){b=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);b=b<<24|b<<8&16711680|(b>>>8&65280|b>>>24);a=a+4|0}v[c+32>>2]=a;return b}function N0a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=v[a+20>>2];if(w[a+65|0]){a=v[e+8>>2];f=u[e+2>>1];g=v[e+4>>2]+(f<<3)|0;v[g+4>>2]=c>>10;v[g>>2]=b>>10;t[a+f|0]=d?1:2}u[e+2>>1]=x[e+2>>1]+1}function Gy(a){var b=0,c=0,d=0;a:{if(!a){break a}b=v[a+40>>2];if((b|0)<1){break a}d=b-1|0;v[a+40>>2]=d;c=v[a+48>>2];v[a+36>>2]=(b|0)!=1?v[(c+(b<<2)|0)-8>>2]:0;a=c+(d<<2)|0;c=v[a>>2];v[a>>2]=0}return c}function D4(a){a=a|0;var b=0,c=0;xK(a);b=v[a+584>>2];if(b){c=v[b+116>>2];if(c){dc(c);b=v[a+584>>2]}c=v[b+144>>2];if(c){dc(c);b=v[a+584>>2]}dc(b);v[a+584>>2]=0;pp(a);return}X(41486,6139,1045,88335);L()}function vc(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;v[a+20>>2]=f;v[a+16>>2]=d;v[a+12>>2]=e;v[a+8>>2]=c;v[a>>2]=989204;c=a;if(!(!b|(b|0)==217929)){b=ce(fc(Bc(b)+1|0),b)}v[c+4>>2]=b;return a|0}function lG(a){var b=0,c=0;if(!a){return-102}b=v[a+224>>2];if(b){c=v[b>>2];if(c){dc(c)}v[b>>2]=0;if(v[b+72>>2]==8){tk(b+4|0)}dc(b);v[a+224>>2]=0}Ub[v[a+20>>2]](v[a+28>>2],v[a+48>>2])|0;dc(a);return 0}function cCa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=+v[b>>2]*.299+ +v[b+4>>2]*.587+ +v[b+8>>2]*.114+.5;a:{if(D(e)<2147483648){a=~~e;break a}a=-2147483648}a=(a|0)<65536?a:65536;v[c>>2]=(a|0)>0?a:0}function aK(a){var b=0,c=0;a:{b:{if((a|0)!=769){if((a|0)!=1025){break a}a=di(1028352,v[257874]);if(a){break b}break a}a=di(1031504,v[257975]);if(!a){break a}}b=dK(a);if(!b){break a}Te(a);c=b}return c}function ZG(a){a=a|0;a=v[a>>2];v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=0;v[a+4>>2]=1072693248;v[a+24>>2]=0;v[a+28>>2]=1072693248;v[a+32>>2]=0;v[a+36>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+40>>2]=0;v[a+44>>2]=0}function WR(a){a=a|0;var b=0;v[a>>2]=961912;b=v[a+84>>2];if(b){dc(Dc(b))}b=v[a+68>>2];if(b){dc(Dc(b))}b=v[a+72>>2];if(b){dc(Dc(b))}b=v[a+76>>2];if(b){dc(Dc(b))}b=v[a+80>>2];if(b){dc(Dc(b))}return a|0}function WFa(a,b,c){a=a|0;b=b|0;c=c|0;if(!Rr(a,b,4)){return 0}a=(b-v[a+1040>>2]|0)+a|0;a=w[a+16|0]|w[a+17|0]<<8|(w[a+18|0]<<16|w[a+19|0]<<24);v[c>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return 1}function Mha(a){a=a|0;var b=0,c=0;b=v[a+12>>2];a:{if(!b){break a}a=v[a+8>>2];if(!a){break a}while(1){c=Rn(0,b,a);if(c>>>0>a>>>0){return 0}if(!c){break a}b=b+c|0;a=a-c|0;if(a){continue}break}}return 1}function rRa(a,b,c){a=a|0;b=+b;c=+c;var d=0,e=0,f=0;d=Qb-16|0;Qb=d;A[d>>3]=c;A[d+8>>3]=b;e=v[a+4>>2];f=v[e+28>>2];if(f){ke(f,d+8|0,d);e=v[a+4>>2];c=A[d>>3];b=A[d+8>>3]}ze(e,b,c,2);Qb=d+16|0;return 1}function qfb(a,b){a=a|0;b=b|0;var c=0,d=0;if((b|0)>=1){d=v[a+12>>2];a=v[v[d+2452>>2]+24>>2];c=v[a+4>>2];if(c>>>0>>0){v[d+2492>>2]=b-c;v[a>>2]=0;v[a+4>>2]=0;return}v[a+4>>2]=c-b;v[a>>2]=v[a>>2]+b}}function pfb(a,b){a=a|0;b=b|0;var c=0,d=0;if((b|0)>=1){d=v[a+12>>2];a=v[v[d+2464>>2]+24>>2];c=v[a+4>>2];if(c>>>0>>0){v[d+2512>>2]=b-c;v[a>>2]=0;v[a+4>>2]=0;return}v[a+4>>2]=c-b;v[a>>2]=v[a>>2]+b}}function p3a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=v[a+712>>2];a:{b:{if(!a){break b}d=6;if(v[a+1504>>2]==65535|y[a+20>>2]<=b>>>0){break a}if(!c){break b}v[c>>2]=x[v[a+1188>>2]+(b<<1)>>1]}d=0}return d|0}function _x(a,b,c){var d=0,e=0;a:{b:{if(!b|!c){break b}d=H(+(b|0)*+(c|0)/1e5+.5);if(!(d<=2147483647)|!(d>=-2147483648)){break a}if(D(d)<2147483648){e=~~d;break b}e=-2147483648}v[a>>2]=e;e=1}return e}function yya(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:{if((c|0)<1){break a}while(1){e=Ub[v[v[a>>2]+28>>2]](a)|0;if((e|0)==-1){break a}t[b+d|0]=e;d=d+1|0;if((d|0)!=(c|0)){continue}break}d=c}return d|0}function xgb(a){a=a|0;var b=0,c=0;v[a>>2]=189728;b=v[a+4>>2];if(b){a:{if(v[b>>2]!=2){break a}c=v[b+4>>2];if(!c){break a}dc(c)}dc(b)}b=a+4|0;v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;return a|0}function ox(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:{if(v[b+4>>2]<=(c|0)){break a}d=v[b+8>>2];if(!d){break a}while(1){if(!c){e=d;break a}c=c-1|0;d=v[d>>2];if(d){continue}break}}v[a+4>>2]=b;v[a>>2]=e}function fs(a,b,c,d){var e=0,f=0;e=Qb-16|0;Qb=e;a:{if((oG(a,b,0,0,0,0,e+12|0,d,1)|0)<2){break a}a=v[e+12>>2];b=a>>>24&31;if(b>>>0>3){break a}v[c>>2]=a&16777215;f=(a|0)>-1?0-b|0:b}Qb=e+16|0;return f}function dU(a){var b=0,c=0;if(a){v[a+212>>2]=1;v[a+172>>2]=-1;b=v[a+36>>2];if(b){c=v[b+40>>2];if(c){Ub[c|0](v[b+12>>2]);b=v[a+36>>2];v[b+40>>2]=0}v[b+12>>2]=358460;v[b+16>>2]=358460}v[a+84>>2]=111}}function Mg(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=a;d=v[a>>2];c=v[b>>2];if((d|0)>(2147483647-c|0)){mh(342310);d=v[a>>2]}Ng(e,c+d|0);gc(v[a+4>>2]+v[a>>2]|0,v[b+4>>2],c+1|0);v[a>>2]=v[a>>2]+c;return a|0}function Bj(a,b,c){var d=0,e=0,f=0,g=0;v[a+112>>2]=b;v[a+116>>2]=c;d=v[a+8>>2];g=v[a+4>>2];e=d-g|0;f=e>>31;v[a+120>>2]=e;v[a+124>>2]=f;v[a+104>>2]=b|c?b>>>0>>0&(c|0)<=(f|0)|(c|0)<(f|0)?b+g|0:d:d}function vq(a,b,c,d,e){if(b){v[b>>2]=0}if(c){v[c>>2]=0}if(d){v[d>>2]=0}if(e){v[e>>2]=0}if(!a){return}if(b){v[b>>2]=v[a>>2]}if(c){v[c>>2]=v[a+4>>2]}if(d){v[d>>2]=v[a+8>>2]}if(e){v[e>>2]=v[a+12>>2]}}function usa(a,b){a=a|0;b=b|0;var c=0;b=v[b+4>>2];if(b){a:{if(t[b+11|0]>=0){c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;v[a+8>>2]=v[b+8>>2];break a}Ke(a,v[b>>2],v[b+4>>2])}return}v[a>>2]=0;t[a+11|0]=0}function lOa(a,b){a=a|0;b=b|0;var c=0;c=An(b,47);if((c|0)==-1){if(t[b+11|0]>=0){c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;v[a+8>>2]=v[b+8>>2];return}Ke(a,v[b>>2],v[b+4>>2]);return}Aj(a,b,c+1|0,-1,b)}function gga(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=Qb-32|0;Qb=a;a=vc(a+8|0,328972,242096,1377,341122,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function cx(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{if(!c){break a}if(!(!a|!w[a|0])){d=1;if(!b|!w[b|0]){break a}if((c|0)>=1){return Oc(a,b,c)|0}return mc(a,b)|0}if(!b){break a}d=w[b|0]?-1:0}return d|0}function UD(a){var b=0,c=0,d=0;b=v[a>>2];if(b){c=v[a+4>>2];if((c|0)==(b|0)){d=b}else{while(1){d=c-20|0;if(t[c-9|0]<=-1){dc(v[d>>2])}c=d;if((c|0)!=(b|0)){continue}break}d=v[a>>2]}v[a+4>>2]=b;dc(d)}}function TRa(a,b,c){a=a|0;b=C(b);c=C(c);var d=0;a=Bib(v[299450],v[299451],1284865837,1481765933)+1|0;d=Tb;d=a>>>0<1?d+1|0:d;v[299450]=a;v[299451]=d;return C(C(C(d>>>1|0)*C(4.656612873077393e-10)))}function Qg(a){var b=0,c=0,d=0;b=v[a>>2];if(b){c=v[a+4>>2];if((c|0)==(b|0)){d=b}else{while(1){d=c-12|0;if(t[c-1|0]<=-1){dc(v[d>>2])}c=d;if((c|0)!=(b|0)){continue}break}d=v[a>>2]}v[a+4>>2]=b;dc(d)}}function Kga(a){a=a|0;var b=0;v[a>>2]=990912;a:{while(1){if(!v[a+24>>2]){break a}v[299999]=0;R(4601,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){continue}break}W(0)|0;O()|0;Pt(a);lc();L()}Pt(a);dc(a)}function HL(a,b,c,d,e){var f=0;f=Qb-16|0;Qb=f;v[f+12>>2]=e;e=Nk(f+8|0,f+12|0);v[299999]=0;a=ot(a,b,c,d);b=v[299999];v[299999]=0;if((b|0)!=1){ih(e);Qb=f+16|0;return a}a=P()|0;O()|0;ih(e);T(a|0);L()}function G3(a){a=a|0;var b=0,c=0;b=v[a+24>>2];c=v[b+48>>2];if((Ub[v[v[c>>2]+16>>2]](c,v[b+52>>2],1,4096)|0)!=4096){c=v[a>>2];v[c+20>>2]=38;Ub[v[c>>2]](a)}v[b+4>>2]=4096;v[b>>2]=v[b+52>>2];return 1}function EEa(a,b){a=a|0;b=b|0;var c=0,d=0;v[a+12>>2]=8;v[a+16>>2]=0;v[a>>2]=b;c=a,d=ed(8,32),v[c+4>>2]=d;b=ed((v[a+12>>2]<<1)-1|0,4);v[a+8>>2]=b;ic(b,0,(v[a+12>>2]<<3)-4|0);v[a+20>>2]=1;return a|0}function vp(a){var b=0;if(v[a+76>>2]<0){b=v[a+4>>2];if(b>>>0>2]){v[a+4>>2]=b+1;return w[b|0]}return Ow(a)}b=v[a+4>>2];a:{if(b>>>0>2]){v[a+4>>2]=b+1;a=w[b|0];break a}a=Ow(a)}return a}function s7(a,b){a=a|0;b=b|0;v[a>>2]=1022676;v[a>>2]=1022768;if(w[b+11|0]>>>7|0){b=v[b>>2]}v[299999]=0;Q(5936,a+4|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){return a|0}a=P()|0;O()|0;T(a|0);L()}function lma(a){a=a|0;var b=0;b=fc(40);v[b+32>>2]=0;v[b+24>>2]=-1717986918;v[b+28>>2]=1073846681;v[b+16>>2]=24;v[b+20>>2]=300;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=984032;v[b+4>>2]=0;v[a>>2]=0;Wc(a,b)}function jx(a){a=a|0;v[a+32>>2]=0;v[a+36>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=1;v[a+12>>2]=1;v[a>>2]=0;v[a+4>>2]=0;v[a+48>>2]=1;v[a+40>>2]=1;v[a+44>>2]=0;v[a+24>>2]=1;v[a+28>>2]=1;return a|0}function eCa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=+v[b>>2]*.3+ +v[b+4>>2]*.59+ +v[b+8>>2]*.11+.5;a:{if(D(e)<2147483648){a=~~e;break a}a=-2147483648}a=(a|0)<65536?a:65536;v[c>>2]=(a|0)>0?a:0}function cn(a,b,c){a=a|0;b=b|0;c=c|0;v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[299999]=0;U(2715,b|0,c|0,a|0);b=v[299999];v[299999]=0;if((b|0)==1){b=P()|0;O()|0;if(t[a+11|0]<=-1){dc(v[a>>2])}T(b|0);L()}}function O3(a,b,c){a=a|0;b=b|0;c=c|0;a:{b:{switch(c|0){case 1:b=v[a+12>>2]+b|0;break a;default:ia();L();case 0:break a;case 2:break b}}b=v[a+8>>2]-b|0}if((b|0)<0){return-1}v[a+12>>2]=b;return b|0}function Ama(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=fc(72);v[299999]=0;b=Z(4919,e|0,b|0,c|0,d|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){v[a>>2]=0;Wc(a,b);return}a=P()|0;O()|0;dc(e);T(a|0);L()}function km(){var a=0,b=0,c=0;a=fc(40);v[a>>2]=467112;v[a+4>>2]=1;v[a+20>>2]=0;b=a+12|0;v[b>>2]=0;v[b+4>>2]=0;c=a+24|0;v[a+28>>2]=c;v[a+24>>2]=c;v[a+8>>2]=b;v[a+32>>2]=0;v[a+36>>2]=-1;return a|0}function dh(a,b,c){var d=0,e=0;a:{if(!a){break a}d=u[a+2>>1];if((d|0)<1){break a}a=v[a+4>>2];while(1){v[a>>2]=v[a>>2]+b;v[a+4>>2]=v[a+4>>2]+c;a=a+8|0;e=e+1|0;if((e&65535)<(d|0)){continue}break}}}function a4a(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[b>>2];v[b>>2]=0;if(c>>>0>254){return 0}while(1){if((c|0)==255){return 0}c=c+1|0;d=x[v[a+16>>2]+(c<<1)>>1];if(!d){continue}break}v[b>>2]=c;return d|0}function EF(a){var b=0,c=0;b=-1;a:{if(!a){break a}c=v[a+64>>2];if(!c){break a}b=0;if(v[a+68>>2]|v[c+4>>2]!=1|(v[c+12>>2]|v[a+16>>2]==2)){break a}b=1;if(v[a+4>>2]){break a}b=u[c+58>>1]&1}return b}function Do(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{if(!a|!(w[a+8|0]&8)){break a}c=v[a+96>>2];d=v[v[c>>2]+32>>2];if(!d){break a}c=Ub[d|0](c,282639)|0;if(!c){break a}e=Ub[v[c+4>>2]](a,b)|0}return e|0}function y4a(a){a=a|0;v[a+48>>2]=2333;v[a+52>>2]=0;v[a+24>>2]=500;v[a+28>>2]=400;v[a+12>>2]=86;v[a+16>>2]=30;v[a+40>>2]=1667;v[a+44>>2]=275;v[a+32>>2]=1e3;v[a+36>>2]=275;u[a+20>>1]=256;return 0}function uj(a,b,c){var d=0,e=0;if(!b){v[c>>2]=0;return 0}d=Bc(b);e=d+1|0;a:{if(d>>>0<=2147483646){d=Ub[v[a+4>>2]](a,e)|0;a=!d<<6;break a}d=0;a=e?6:0}if(!(a|!e)){gc(d,b,e);a=0}v[c>>2]=a;return d}function sg(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;a:{if((v[a>>2]&b)!=(b|0)|((v[a>>2]^-1)&c)!=(c|0)){break a}f=1;c=v[a>>2];b=(c|d)&(e^-1);if((b|0)==(c|0)){break a}v[a>>2]=b}return f|0}function lE(a,b){var c=0,d=0,e=0;c=Qb-16|0;Qb=c;v[c+12>>2]=0;v[c+8>>2]=0;a:{if(!mE(a,b,c+12|0,c+8|0)){break a}d=b;b=v[c+8>>2];if(w[a+b|0]?(d|0)!=(b|0):0){break a}e=v[c+12>>2]}Qb=c+16|0;return e}function ez(a){var b=0,c=0;if(a){c=v[a+12>>2];a:{b:{if((c|0)==3){b=v[a+16>>2];if(b){break b}b=v[a>>2];if(b){break b}break a}b=v[a>>2];if(!b|(c|0)==2){break a}}Ub[v[259708]](b)}Ub[v[259708]](a)}}function Xza(a){a=a|0;var b=0;b=v[a+236>>2];if(b>>>0<=7){kS(a);b=v[a+236>>2]}if((b|0)==8){return w[a+232|0]}if(b>>>0>=9){return v[a+232>>2]>>>b-8&255}if(!b){return-1}return v[a+232>>2]<<8-b&255}function De(a,b,c){var d=0;a:{if((c|0)>=0){d=v[a>>2];if((d|0)<=(2147483647-c|0)){break a}}mh(342310);d=v[a>>2]}Ng(a,c+d|0);gc(v[a+4>>2]+v[a>>2]|0,b,c);b=v[a>>2]+c|0;v[a>>2]=b;t[b+v[a+4>>2]|0]=0}function DRa(a,b,c){a=a|0;b=b|0;c=c|0;v[a+16>>2]=c;v[a>>2]=466364;v[a+4>>2]=2;hm(a+20|0);v[a+32>>2]=-16777216;v[a+24>>2]=0;v[a+28>>2]=-16777216;t[a+36|0]=255;v[a+12>>2]=0;v[a+8>>2]=b;return a|0}function ui(a){var b=0,c=0;c=v[a+4>>2];b=0-v[a+28>>2]|0;a:{if(c&16){break a}b=0;if(!(c&32)){break a}b=v[a+24>>2]-v[a+16>>2]|0}a=Ub[v[v[a+52>>2]+8>>2]](v[a+56>>2],0,1)|0;return(a|0)>-1?b+a|0:-1}function kE(a,b){var c=0;a:{b:{if(!a|!b){break b}c=H(1e15/+(a|0)/+(b|0)+.5);b=c<=2147483647;if(D(c)<2147483648){a=~~c}else{a=-2147483648}if(!b){break b}if(c>=-2147483648){break a}}a=0}return a}function U_(a,b){var c=0,d=0;v[a+16>>2]=1673;v[a+12>>2]=1674;v[a+8>>2]=0;v[a>>2]=80;v[a+4>>2]=241;b=Ub[v[b+4>>2]](b,964)|0;if(!b){v[a+20>>2]=b;return 64}c=a,d=ic(b,0,964),v[c+20>>2]=d;return 0}function R7(){var a=0;a:{if(t[1201464]&1){break a}if(!Je(1201464)){break a}a=1201440;while(1){a=ge(a)+12|0;if((a|0)!=1201464){continue}break}Ie(1201464)}Me(1201440,1021584);Me(1201452,1021596)}function PJ(a){var b=0,c=0;b=v[a+8>>2];if(b){c=1;if(v[a>>2]>=1){dc(v[b>>2]);if(v[a>>2]>=2){while(1){dc(v[v[a+8>>2]+(c<<2)>>2]);c=c+1|0;if((c|0)>2]){continue}break}}b=v[a+8>>2]}dc(b)}dc(a)}function L_(a,b){var c=0;c=35;a:{if(!a|!(w[a+8|0]&2)){break a}c=6;if((b|0)<0|v[a+28>>2]<=(b|0)){break a}c=v[v[v[a+96>>2]+12>>2]+92>>2];if(c){return Ub[c|0](v[a+88>>2],b)|0}pl(a,b);c=0}return c}function $B(a,b,c,d){var e=0;e=Qb-16|0;Qb=e;v[e+12>>2]=d;d=Nk(e+8|0,e+12|0);v[299999]=0;a=Qn(a,b,c);b=v[299999];v[299999]=0;if((b|0)!=1){ih(d);Qb=e+16|0;return a}a=P()|0;O()|0;ih(d);T(a|0);L()}function x9(){var a=0;a:{v[300435]=0;v[300434]=1021688;v[300434]=1016760;v[299999]=0;S(5667,1201744)|0;a=v[299999];v[299999]=0;if((a|0)!=1){v[300434]=1019088;break a}a=P()|0;O()|0;T(a|0);L()}}function u9(){var a=0;a:{v[300439]=0;v[300438]=1021688;v[300438]=1016760;v[299999]=0;S(5667,1201760)|0;a=v[299999];v[299999]=0;if((a|0)!=1){v[300438]=1019244;break a}a=P()|0;O()|0;T(a|0);L()}}function kN(a){var b=0,c=0,d=0;c=Qb-16|0;Qb=c;b=c+8|0;hb(0,b|0)|0;b=(b>>>4|0)+a^B(v[c+12>>2],65537);while(1){t[a+d|0]=(b&15|b<<1&32)+65;b=b>>>5|0;d=d+1|0;if((d|0)!=6){continue}break}Qb=c+16|0}function je(a){var b=0;if(!(!a|!w[a+17|0])){a:{b=v[a+4>>2];if(b){b=b-1|0;v[a+4>>2]=b;if(b){break a}}if(w[a+16|0]){break a}b=v[v[a+20>>2]+8>>2];if(b){Ub[b|0](a)}b=v[a+8>>2];if(b){ch(b)}_e(a)}}}function fc(a){a=a|0;var b=0;a=a?a:1;a:{while(1){b=jc(a);if(b){break a}b=v[300507];if(b){Ub[b|0]();continue}break}a=ra(4)|0;v[a>>2]=1022676;v[a>>2]=1022656;qa(a|0,1022728,5935);L()}return b|0}function NNa(a){a=a|0;var b=0;if(v[a>>2]<=0){b=Pg(28);if(!b){v[a>>2]=7;return b|0}v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=0;v[b+4>>2]=0;v[b+24>>2]=-1;v[b+16>>2]=0;v[b+20>>2]=0;t[b+12|0]=1}return b|0}function BQa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Qb-16|0;Qb=e;if(v[a+12>>2]){v[e+12>>2]=v[b>>2];b=a+16|0;WG(b,e+12|0,z[c>>2],z[d>>2]);jX(v[a+12>>2],b);a=1}else{a=0}Qb=e+16|0;return a|0}function uxa(a){a=a|0;var b=0,c=0;c=-1;a:{if(v[a+16>>2]){break a}b=v[a+53312>>2];if((b|0)>=v[a+53308>>2]){if(!Zx(a)){break a}b=v[a+53312>>2]}v[a+53312>>2]=b+1;c=w[(a+b|0)+49208|0]}return c|0}function _W(a){var b=0;a:{if(v[a+124>>2]){break a}b=a+72|0;cv(b,v[a+120>>2]!=0);xz(b,A[a+112>>3],v[a+120>>2]);if(y[a+72>>2]>2){break a}v[a+120>>2]=0}v[a+132>>2]=0;v[a+136>>2]=0;v[a+124>>2]=1}function Vhb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Qb-16|0;Qb=c;d=w[a+20|0];e=v[a+16>>2];f=v[a+12>>2];v[c+12>>2]=w[a+21|0];v[c+8>>2]=d;v[c>>2]=f;v[c+4>>2]=e;wc(b,45768,c);Qb=c+16|0;return 0}function U7(){var a=0;a:{if(t[1201432]&1){break a}if(!Je(1201432)){break a}a=1201408;while(1){a=ge(a)+12|0;if((a|0)!=1201432){continue}break}Ie(1201432)}Qe(1201408,316416);Qe(1201420,316393)}function RDa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Qb-16|0;Qb=d;if(v[a+16>>2]){v[d>>2]=v[b+8>>2];hp(346244,d);a:{if((c|0)!=2){a=v[252393];break a}a=v[252393];Tl(b+16|0,a)}Nn(10);Qi(a)}Qb=d+16|0}function I2(a,b){a=a|0;b=b|0;var c=0,d=0;c=Qb-16|0;Qb=c;d=w[a+12|0];v[c+4>>2]=v[a+16>>2];v[c>>2]=d;wc(b,58481,c);if(v[a+16>>2]){Rc(58746,7,1,b);$J(b,v[a+20>>2],v[a+16>>2])}Qb=c+16|0;return 0}function HC(a,b){a=a|0;b=b|0;var c=0;a:{if(x[b+26>>1]>23){break a}c=v[b+336>>2];if((c|0)<0){break a}ng(a,b,c&255);return}b=v[b+340>>2];t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24}function Bf(a,b){var c=0,d=0;c=85;a:{if((b|0)<0){break a}b=v[a+8>>2]+b|0;d=v[a+20>>2];b:{if(d){if(!(Ub[d|0](a,b,0,0)|0)){break b}break a}if(b>>>0>y[a+4>>2]){break a}}v[a+8>>2]=b;c=0}return c}function qK(a){var b=0,c=0,d=0,e=0;c=-1;d=v[282725];a:{if((d|0)<1){break a}b=1130912;while(1){if(mc(v[b+4>>2],a)){b=b+28|0;e=e+1|0;if((d|0)!=(e|0)){continue}break a}break}c=v[b>>2]}return c}function f6(a,b){a=a|0;b=b|0;var c=0;b=Qb-16|0;Qb=b;c=1;a:{if(!ew(a)){break a}if(!Kl(a,85792,1)){zc(v[a+628>>2],11456,13645,0);c=0;break a}v[b>>2]=1;c=Id(a,65536,b)}a=c;Qb=b+16|0;return a|0}function QNa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=0;a:{if(w[d+4|0]|x[d>>1]<20|(w[d+5|0]|w[d+8|0]!=67)){break a}if(w[d+9|0]!=118|w[d+10|0]!=65|w[d+11|0]!=108){break a}a=w[d+12|0]==3}return a|0}function Fl(a,b){var c=0,d=0;c=Qb-16|0;Qb=c;if(w[a+11|0]>>>7|0){CL(v[a>>2])}v[a+8>>2]=v[b+8>>2];d=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=d;t[b+11|0]=0;v[c+12>>2]=0;v[b>>2]=v[c+12>>2];Qb=c+16|0}function v7(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=b+4|0;e=v[a>>2];d=v[a+4>>2]-e|0;f=v[c>>2]-d|0;v[c>>2]=f;if((d|0)>=1){gc(f,e,d)}ar(a,c);ar(a+4|0,b+8|0);ar(a+8|0,b+12|0);v[b>>2]=v[b+4>>2]}function sKa(a){a=a|0;var b=0;v[a>>2]=878788;b=v[a+4>>2];v[299999]=0;R(2934,b|0);b=v[299999];v[299999]=0;if((b|0)!=1){v[a+4>>2]=0;b=v[a+8>>2];if(b){dc(b)}dc(a);return}W(0)|0;O()|0;lc();L()}function rN(a,b,c,d){a:{if(!a){break a}b:{switch(b+2|0){case 0:t[a|0]=c;return;case 1:u[a>>1]=c;return;case 2:case 3:v[a>>2]=c;return;case 5:break b;default:break a}}v[a>>2]=c;v[a+4>>2]=d}}function mL(a,b){var c=0;if(b>>>0<=99){return nL(a,b)}if(b>>>0<=999){c=(b>>>0)/100|0;t[a|0]=c+48;a=a+1|0;b=x[(b-B(c,100)<<1)+1022256>>1];t[a|0]=b;t[a+1|0]=b>>>8;return a+2|0}return nw(a,b)}function hga(a,b,c){a=a|0;b=b|0;c=c|0;a=Qb-32|0;Qb=a;a=vc(a+8|0,328972,242096,1370,343288,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function hYa(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[a+420>>2];a:{if((c|0)>=1){d=v[a+424>>2];a=0;while(1){if(!mc(b,v[(a<<2)+d>>2])){break a}a=a+1|0;if((c|0)!=(a|0)){continue}break}}a=0}return a|0}function dj(a,b){var c=0,d=0;c=-1;d=v[a+24>>2];if(!(!d|v[a+12>>2]==(d|0))){c=d-1|0;v[a+24>>2]=c;v[a+8>>2]=v[a+8>>2]&-2;v[a+60>>2]=v[a+60>>2]-1;v[a+28>>2]=v[a+28>>2]+1;t[c|0]=b;c=0}return c}function R3a(a){a=a|0;var b=0,c=0;b=v[a+4>>2];c=v[v[b+712>>2]+3080>>2];a:{if(!c){break a}b=Eg(v[v[b+96>>2]+4>>2],239287);if(!b){break a}b=Ub[v[c+8>>2]](b)|0;v[v[a+156>>2]+36>>2]=b}return 0}function Jo(a,b,c,d,e){a:{if(!e|(!c|!d)){break a}v[e>>2]=0;v[d>>2]=0;v[c>>2]=0;if(!a|(b|0)<0|v[a+12>>2]<=(b|0)){break a}a=v[a>>2]+(b<<2)|0;v[c>>2]=w[a+2|0];v[d>>2]=w[a+1|0];v[e>>2]=w[a|0]}}function Gqa(a,b,c){a=a|0;b=b|0;c=c|0;a=Qb-32|0;Qb=a;a=vc(a+8|0,342214,241879,1745,338968,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function AQa(a,b,c){a=a|0;b=b|0;c=c|0;b=v[b+12>>2];if(!b){b=a+76|0;v[b>>2]=0;v[b+4>>2]=0;v[b+24>>2]=1;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[a+16>>2]=0;return}lX(a,b,v[c>>2])}function wta(a,b){a=a|0;b=b|0;var c=0;if(!(!v[a+12>>2]|(!v[a+4>>2]|!v[a+8>>2]))){Ub[v[v[b>>2]+136>>2]](b,978488)|0;Ub[v[v[b>>2]+212>>2]](b,v[a+4>>2],v[a+8>>2],v[a+12>>2])|0;c=1}return c|0}function vj(a,b,c){var d=0,e=0;if(!a){return 0}d=v[a>>2];a:{b:{if((c|0)<=0){if(d){break b}break a}e=bd(1,c);if(!d){break a}if(!e){return 0}gc(e,d,(b|0)<(c|0)?b:c)}dc(d);v[a>>2]=0}return e}function nda(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Qb-16|0;Qb=e;a=WK(v[a+60>>2],b,c,d&255,e+8|0);if(a){v[299402]=a;a=-1}else{a=0}Qb=e+16|0;Tb=a?-1:v[e+12>>2];return(a?-1:v[e+8>>2])|0}function Xs(a){var b=0;a:{b=v[a+16>>2];b:{if(b&1){fB(a,0,0);break b}if(!(b&2)){break a}Xv(a,0)}c:{if(t[a|0]&1){break c}b=v[a+12>>2];if(!b){break c}Te(b);v[a+12>>2]=0}dc(a);return}ia();L()}function M3(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=v[a>>2];a=Qb-16|0;Qb=a;v[a+12>>2]=c;v[a+8>>2]=b;b=Ha(d|0,a+8|0,1,a+4|0)|0;if(b){v[299402]=b;b=-1}else{b=0}Qb=a+16|0;return(b?-1:v[a+4>>2])|0}function L3(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=v[a>>2];a=Qb-16|0;Qb=a;v[a+12>>2]=c;v[a+8>>2]=b;b=Da(d|0,a+8|0,1,a+4|0)|0;if(b){v[299402]=b;b=-1}else{b=0}Qb=a+16|0;return(b?-1:v[a+4>>2])|0}function JBa(a){a=a|0;var b=0;v[a>>2]=897300;b=v[a+12>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}b=v[a+20>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)!=1){return a|0}W(0)|0;O()|0;lc();L()}function Hwa(a){a=a|0;var b=0;v[a>>2]=968168;b=v[a+8>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)!=1){b=v[a+4>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}dc(a);return}W(0)|0;O()|0;lc();L()}function CC(a,b,c,d,e,f,g,h,i){var j=0;j=Qb-16|0;Qb=j;Pi(j,b,c,d,e,f,g,h,i^-2147483648);d=v[j>>2];c=v[j+4>>2];b=v[j+12>>2];v[a+8>>2]=v[j+8>>2];v[a+12>>2]=b;v[a>>2]=d;v[a+4>>2]=c;Qb=j+16|0}function Bra(a,b,c){a=a|0;b=b|0;c=c|0;a=Qb-32|0;Qb=a;a=vc(a+8|0,292245,241835,333,338871,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function Ara(a,b,c){a=a|0;b=b|0;c=c|0;a=Qb-32|0;Qb=a;a=vc(a+8|0,276558,241835,340,339085,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function $8(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{while(1){if((c|0)==(d|0)){break a}b:{if(y[c>>2]>127){break b}if(!(x[ft()+(v[c>>2]<<1)>>1]&b)){break b}c=c+4|0;continue}break}d=c}return d|0}function zva(a){a=a|0;var b=0;v[a>>2]=971880;b=v[a+20>>2];if(b){dc(Dc(b))}v[a>>2]=971168;while(1){b=v[a+12>>2];if(b){v[a+12>>2]=v[b+4>>2];Ub[v[v[b>>2]+4>>2]](b);continue}break}return a|0}function xs(a,b){var c=0;a:{c=v[a+12>>2];if((c|0)==(v[a+8>>2]+(v[a+16>>2]<<3)|0)){a=v[a+4>>2];if(!a|v[a>>2]){break a}v[a>>2]=130;return}v[c>>2]=b;b=v[a+12>>2];v[b+4>>2]=2;v[a+12>>2]=b+8}}function xK(a){var b=0;b=v[a+584>>2];if(!b){X(3788,6354,718,187892);L()}v[a+672>>2]=v[b+44>>2];v[a+668>>2]=v[b+48>>2];v[a+676>>2]=v[b+52>>2];v[a+516>>2]=v[b+56>>2];v[a+524>>2]=v[b+60>>2]}function xHa(a,b){a=a|0;b=b|0;var c=0;if(!v[a+208>>2]){c=v[a+392>>2];v[c+20>>2]=b;v[c+16>>2]=0;v[c+8>>2]=0;v[c+12>>2]=0;if(!b){v[c+4>>2]=367;return}b=v[a>>2];v[b+20>>2]=3;Ub[v[b>>2]](a)}}function wva(a){a=a|0;var b=0;v[a>>2]=971944;b=v[a+20>>2];if(b){dc(Dc(b))}v[a>>2]=971168;while(1){b=v[a+12>>2];if(b){v[a+12>>2]=v[b+4>>2];Ub[v[v[b>>2]+4>>2]](b);continue}break}return a|0}function vo(a,b){var c=0;c=Qb-16|0;Qb=c;a:{if(b){v[c>>2]=b;oc(0,0,0,0,0,29,2,3,b,0,0,0,350051,c);break a}oc(0,0,0,0,0,29,2,3,0,0,0,0,354139,0)}if(!(v[a+32>>2]|!a)){v[a+32>>2]=2}Qb=c+16|0}function tPa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;iX(v[d>>2],+v[a>>2]*.015625,+v[a+4>>2]*.015625,+v[b>>2]*.015625,+v[b+4>>2]*.015625,+v[c>>2]*.015625,+v[c+4>>2]*.015625);v[d+4>>2]=1;return 0}function rda(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=v[a+84>>2];d=c+256|0;f=fi(e,0,d);d=f?f-e|0:d;c=c>>>0>d>>>0?d:c;gc(b,e,c);b=e+d|0;v[a+84>>2]=b;v[a+8>>2]=b;v[a+4>>2]=c+e;return c|0}function qaa(a){a=a|0;var b=0,c=0;b=v[a+584>>2];if(b){v[a+672>>2]=v[b+24>>2];v[a+668>>2]=v[b+28>>2];c=v[b+12>>2];if(c){dc(c)}dc(b);v[a+584>>2]=0;pp(a);return}X(45581,6284,1469,84366);L()}function nva(a){a=a|0;var b=0;v[a>>2]=972136;b=v[a+20>>2];if(b){dc(Dc(b))}v[a>>2]=971168;while(1){b=v[a+12>>2];if(b){v[a+12>>2]=v[b+4>>2];Ub[v[v[b>>2]+4>>2]](b);continue}break}return a|0}function nXa(a){a=a|0;var b=0,c=0,d=0;c=Qb-16|0;Qb=c;d=P_(v[v[a>>2]+504>>2],c+12|0);b=a;a=v[c+12>>2];v[b+44>>2]=a;if(a){b=v[a>>2];if(!(!b|!v[b+96>>2])){v[b+88>>2]=a}}Qb=c+16|0;return d|0}function lr(a,b){var c=0;lD(a,b,b+4|0);lD(a,b+8|0,b+12|0);a=v[b>>2];c=v[b+8>>2];if((a|0)>=(c|0)){v[b+8>>2]=a;v[b>>2]=c}a=v[b+4>>2];c=v[b+12>>2];if((a|0)>=(c|0)){v[b+4>>2]=c;v[b+12>>2]=a}}function gd(a,b){a=a|0;b=b|0;var c=0,d=0;d=a;c=v[a>>2];if((c|0)==2147483647){mh(342310);c=v[a>>2]}Ng(d,c+1|0);c=v[a>>2];v[a>>2]=c+1;t[c+v[a+4>>2]|0]=b;t[v[a+4>>2]+v[a>>2]|0]=0;return a|0}function d9(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;while(1){if((b|0)!=(c|0)){a=d;if(y[b>>2]<=127){e=x[ft()+(v[b>>2]<<1)>>1]}else{e=0}u[a>>1]=e;d=d+2|0;b=b+4|0;continue}break}return c|0}function XK(a){var b=0;b=w[a+74|0];t[a+74|0]=b-1|b;b=v[a>>2];if(b&8){v[a>>2]=b|32;return-1}v[a+4>>2]=0;v[a+8>>2]=0;b=v[a+44>>2];v[a+28>>2]=b;v[a+20>>2]=b;v[a+16>>2]=b+v[a+48>>2];return 0}function W3a(a,b){a=a|0;b=b|0;var c=0;c=zk(376112,b);a:{if(c){break a}c=0;if(!a){break a}a=v[a+4>>2];if(!a){break a}a=Eg(a,228552);if(!a){break a}c=Ub[v[v[a>>2]+32>>2]](a,b)|0}return c|0}function Tf(a,b){var c=0;a:{c=v[a+12>>2];if((c|0)==(v[a+8>>2]+(v[a+16>>2]<<3)|0)){a=v[a+4>>2];if(!a|v[a>>2]){break a}v[a>>2]=130;return}v[c>>2]=b;b=v[a+12>>2];v[b+4>>2]=0;v[a+12>>2]=b+8}}function Nh(a,b){var c=0,d=0;c=Qb-16|0;Qb=c;if(w[a+11|0]>>>7|0){Aw(v[a>>2])}v[a+8>>2]=v[b+8>>2];d=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=d;t[b+11|0]=0;t[c+15|0]=0;t[b|0]=w[c+15|0];Qb=c+16|0}function LF(a,b){var c=0,d=0;a:{if(!a|!b){break a}d=w[a|0];if((d|0)==58){break a}while(1){if(!d){return 0}if((d|0)!=58){c=c+1|0;d=w[c+a|0];continue}break}v[b>>2]=c;c=(a+c|0)+1|0}return c}function EO(a,b){var c=0;kD(a,b,b+4|0);kD(a,b+8|0,b+12|0);a=v[b>>2];c=v[b+8>>2];if((a|0)>=(c|0)){v[b+8>>2]=a;v[b>>2]=c}a=v[b+4>>2];c=v[b+12>>2];if((a|0)>=(c|0)){v[b+4>>2]=c;v[b+12>>2]=a}}function o4(a,b){a=a|0;b=b|0;b=v[a+584>>2];if(b){if(!(t[b+124|0]&1)){Ub[v[a+516>>2]](a)|0}v[b+64>>2]=v[a+596>>2];v[b+68>>2]=v[a+608>>2];return!Zu(b- -64|0)|0}X(21265,6646,119,88416);L()}function mc(a,b){var c=0,d=0;c=w[a|0];d=w[b|0];a:{if(!c|(c|0)!=(d|0)){break a}while(1){d=w[b+1|0];c=w[a+1|0];if(!c){break a}b=b+1|0;a=a+1|0;if((c|0)==(d|0)){continue}break}}return c-d|0}function g2a(a){a=a|0;var b=0;b=v[a+4>>2];v[b+180>>2]=-21;v[b+184>>2]=0;v[b+196>>2]=21;v[b+200>>2]=0;v[b+188>>2]=0;v[b+192>>2]=0;Ub[v[v[v[a+12>>2]+56>>2]+8>>2]](v[a+52>>2],0,0);return 0}function Zw(a){var b=0,c=0;c=v[a+28>>2];a:{if((c+16|0)<=4080){b=v[a+24>>2];break a}b=fc(8164);v[b>>2]=v[a+24>>2];c=0;ic(b+4|0,0,8160);v[a+24>>2]=b}v[a+28>>2]=c+16;return((c<<1)+b|0)+4|0}function WV(a){var b=0;b=a;a=Ub[v[v[a+4>>2]>>2]](a,1,32)|0;v[b+404>>2]=a;v[a+28>>2]=0;v[a+24>>2]=291;v[a+20>>2]=292;v[a+16>>2]=293;v[a+12>>2]=294;v[a+8>>2]=295;v[a+4>>2]=296;v[a>>2]=297}function Uaa(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,h=0;g=Qb-16|0;Qb=g;v[g+8>>2]=624576549;v[g+12>>2]=1394948685;h=a;a=g+16|0;b=Hm(h,b,c,d,e,f,g+8|0,a);Qb=a;return b|0}function Iwa(a){a=a|0;var b=0;v[a>>2]=968168;b=v[a+8>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)!=1){b=v[a+4>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}return a|0}W(0)|0;O()|0;lc();L()}function FGa(a,b){a=a|0;b=b|0;var c=0;c=Qb-16|0;Qb=c;if(!w[a+203|0]){if(v[b+592>>2]>=4){Ub[v[v[a>>2]+156>>2]](a,b)}a=v[a+104>>2];v[c+12>>2]=2;Ub[v[v[a>>2]+292>>2]](a,c+12|0)|0}Qb=c+16|0}function $3a(a,b){a=a|0;b=b|0;var c=0,d=0;b=v[a>>2];c=v[b+712>>2];if(!v[c+1188>>2]){return 163}d=v[v[c+3084>>2]+4>>2];if(!d){return 7}return Ub[d|0](v[b+100>>2],a,v[c+20>>2],1611,0,b)|0}function tR(a,b,c){var d=0,e=0;d=v[b+52>>2];if(v[b>>2]!=2){if(v[d+8>>2]>0){while(1){tR(a,v[v[d>>2]+(e<<2)>>2],c);e=e+1|0;d=v[b+52>>2];if((e|0)>2]){continue}break}}return}gF(c,d)}function sc(a,b,c){var d=0,e=0;a:{if(!c){break a}while(1){e=v[(d<<3)+b>>2];if(!e){break a}if((a|0)==(e|0)){return v[((d<<3)+b|0)+4>>2]}d=d+1|0;if((d|0)!=(c|0)){continue}break}}return 0}function sW(a,b){var c=0,d=0,e=0,f=0;e=v[a+28>>2];c=v[b>>2];a:{while(1){c=c+1|0;if((e|0)<=(c|0)){break a}d=v[a>>2];if(v[d+B(c,12)>>2]<0){continue}break}v[b>>2]=c;f=B(c,12)+d|0}return f}function s4(a,b){a=a|0;b=b|0;b=v[a+584>>2];if(b){if(v[b+124>>2]!=2){Ub[v[a+524>>2]](a)|0}v[b+76>>2]=v[a+596>>2];v[b+80>>2]=v[a+600>>2];return!hG(b- -64|0)|0}X(21265,6646,198,88454);L()}function rz(a){var b=0;a:{if(!a){break a}b=v[a+4>>2];if(b){b=b-1|0;v[a+4>>2]=b;if(b){break a}}if(w[a+16|0]){break a}b=v[v[a+20>>2]+8>>2];if(b){Ub[b|0](a)}b=v[a+8>>2];if(b){ch(b)}_e(a)}}function nj(a,b,c){var d=0;a:{if(b>>>0<=2147483644){d=b+3|0;if((d|0)>2]){break a}}v[c>>2]=0;return 0}c=b;b=v[a+8>>2];a=c+b|0;return(w[a+1|0]<<8|w[a|0]<<16|w[a+2|0])<<8|w[b+d|0]}function nc(a){var b=0,c=0;b=Qb-16|0;Qb=b;if((ye(a,b+12|0,4)|0)==4){a=w[b+12|0]|w[b+13|0]<<8|(w[b+14|0]<<16|w[b+15|0]<<24);c=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}Qb=b+16|0;return c}function mhb(a,b){a=a|0;b=b|0;var c=0,d=0;c=Qb-16|0;Qb=c;if(v[a+16>>2]){while(1){v[c>>2]=w[v[a+12>>2]+d|0];wc(b,60097,c);d=d+1|0;if(d>>>0>2]){continue}break}}Qb=c+16|0;return 0}function bd(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=0;a:{if(!a){break a}d=Bib(a,0,b,0);e=Tb;c=d;if((a|b)>>>0<65536){break a}c=e?-1:d}b=c;a=jc(b);if(!(!a|!(w[a-4|0]&3))){ic(a,0,b)}return a|0}function Zt(a){var b=0,c=0;a:{b:{if(!a){break b}b=H(1e10/+(a|0)+.5);c=b<=2147483647;if(D(b)<2147483648){a=~~b}else{a=-2147483648}if(!c){break b}if(b>=-2147483648){break a}}a=0}return a}function JT(a){var b=0,c=0,d=0,e=0;c=v[a>>2];if((c|0)>=1){while(1){e=v[a+4>>2]+d|0;b=w[e|0];if(b-65>>>0<26){t[e|0]=b-65>>>0<26?b|32:b;c=v[a>>2]}d=d+1|0;if((d|0)<(c|0)){continue}break}}}function vB(){var a=0;a=jc(40);if(!a){return 0}v[a>>2]=0;v[a+4>>2]=0;t[a+36|0]=1;v[a+24>>2]=0;v[a+28>>2]=16384;v[a+16>>2]=0;v[a+20>>2]=0;v[a+32>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;return a}function p$a(a,b){a=a|0;b=b|0;var c=0,d=0;c=Qb-16|0;Qb=c;v[c+12>>2]=b;d=0;a:{if(b>>>0>65535){break a}if(t[a+20|0]&1){d=CZ(a,c+12|0,0);break a}d=BZ(a,c+12|0,0)}a=d;Qb=c+16|0;return a|0}function mZa(a,b){a=a|0;b=b|0;var c=0;v[a+116>>2]=b;c=v[a>>2];if(t[c+8|0]&1){pl(c,b);uH(a);return 0}b=Ub[v[v[c+540>>2]+108>>2]](c,b,a+12|0)|0;if(!b){return 0}v[a+116>>2]=-1;return b|0}function jS(a,b){var c=0,d=0;c=v[a+8>>2];c=Ub[v[v[c>>2]+28>>2]](c)|0;a:{if((c|0)==-1){break a}a=v[a+8>>2];a=Ub[v[v[a>>2]+28>>2]](a)|0;if((a|0)==-1){break a}v[b>>2]=a|c<<8;d=1}return d}function Wya(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;if(h){Ub[v[v[d>>2]+20>>2]](d);Ub[v[v[d>>2]+48>>2]](d,B((e+7|0)/8|0,f))|0;Ub[v[v[d>>2]+24>>2]](d)}}function En(a){var b=0,c=0,d=0;b=Qb-16|0;Qb=b;d=b;if(w[a+11|0]>>>7|0){c=v[a>>2]}else{c=a}if(w[a+11|0]>>>7|0){a=v[a+4>>2]}else{a=w[a+11|0]}v[d+8>>2]=c+(a<<2);Qb=b+16|0;return v[b+8>>2]}function zsa(a,b){a=a|0;b=b|0;var c=0;v[a>>2]=980920;c=fc(20);v[299999]=0;Q(4319,c|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){v[a+4>>2]=c;return a|0}a=P()|0;O()|0;dc(c);T(a|0);L()}function lXa(a){a=a|0;var b=0,c=0,d=0;d=Qb-16|0;Qb=d;b=v[a+4>>2];c=v[b+504>>2];a:{if(!v[b+84>>2]){c=c+84|0;b=0;break a}b=c;c=d+12|0;b=YH(b,c)}v[a+160>>2]=v[c>>2];Qb=d+16|0;return b|0}function IBa(a){a=a|0;var b=0;v[a>>2]=897300;b=v[a+12>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}b=v[a+20>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){W(0)|0;O()|0;lc();L()}dc(a)}function GH(a){a=a|0;var b=0,c=0;b=v[a+8>>2];if(b){a=v[a+16>>2];c=v[a+4>>2];v[b+108>>2]=v[a>>2];v[b+112>>2]=c;v[b+124>>2]=v[a+16>>2];c=v[a+12>>2];v[b+116>>2]=v[a+8>>2];v[b+120>>2]=c}}function zs(a,b){var c=0,d=0;c=v[a+12>>2];d=v[a+4>>2];c=(c|0)<0?(c|0)>(d|0)?c:d:d-c|0;b=b?b:(B(c,12)|0)/10|0;v[a+28>>2]=b;v[a+24>>2]=(b-c|0)/2;v[a+20>>2]=v[a+8>>2]+(v[a+16>>2]/-2|0)}function yva(a){a=a|0;var b=0;v[a>>2]=971880;b=v[a+20>>2];if(b){dc(Dc(b))}v[a>>2]=971168;while(1){b=v[a+12>>2];if(b){v[a+12>>2]=v[b+4>>2];Ub[v[v[b>>2]+4>>2]](b);continue}break}dc(a)}function vva(a){a=a|0;var b=0;v[a>>2]=971944;b=v[a+20>>2];if(b){dc(Dc(b))}v[a>>2]=971168;while(1){b=v[a+12>>2];if(b){v[a+12>>2]=v[b+4>>2];Ub[v[v[b>>2]+4>>2]](b);continue}break}dc(a)}function u7a(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1883789683){pc(a,2050,0,0);return 2050}t[b+32|0]=w[c+32|0];v[b+36>>2]=v[c+36>>2];v[b+40>>2]=v[c+40>>2];t[b+44|0]=w[c+44|0];return 0}function mva(a){a=a|0;var b=0;v[a>>2]=972136;b=v[a+20>>2];if(b){dc(Dc(b))}v[a>>2]=971168;while(1){b=v[a+12>>2];if(b){v[a+12>>2]=v[b+4>>2];Ub[v[v[b>>2]+4>>2]](b);continue}break}dc(a)}function gta(a,b){a=a|0;b=b|0;var c=0;c=Qb-16|0;Qb=c;v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;Aj(c,b,0,An(b,47)+1|0,b);v[a+8>>2]=v[c+8>>2];b=v[c+4>>2];v[a>>2]=v[c>>2];v[a+4>>2]=b;Qb=c+16|0}function c7a(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1397247831){pc(a,2050,0,0);return 2050}t[b+32|0]=w[c+32|0];u[b+34>>1]=x[c+34>>1];u[b+36>>1]=x[c+36>>1];t[b+38|0]=w[c+38|0];return 0}function b7a(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1413829197){pc(a,2050,0,0);return 2050}t[b+32|0]=w[c+32|0];t[b+33|0]=w[c+33|0];v[b+36>>2]=v[c+36>>2];v[b+40>>2]=v[c+40>>2];return 0}function aAa(a){a=a|0;var b=0;v[a>>2]=937120;v[299999]=0;R(3724,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){b=v[a+8>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}dc(a);return}W(0)|0;O()|0;lc();L()}function X6a(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1883521383){pc(a,2050,0,0);return 2050}t[b+32|0]=w[c+32|0];v[b+36>>2]=v[c+36>>2];v[b+40>>2]=v[c+40>>2];t[b+44|0]=w[c+44|0];return 0}function SV(a){a=a|0;var b=0,c=0;c=-102;a:{if(!a){break a}b=v[a+224>>2];if(!b){break a}c=v[b>>2];if(c){dc(c)}c=0;v[b>>2]=0;if(v[b+72>>2]==8){tk(b+4|0)}dc(b);v[a+224>>2]=0}return c|0}function Nwa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a:{if(v[a+8>>2]|(b|0)<3){break a}a=v[a+4>>2];a=Ub[v[v[a>>2]+60>>2]](a,b,c,d)|0;if(!a){break a}_c(_c(a,c),350423);e=a}return e|0}function Mf(a,b,c){var d=0;d=Qb-16|0;Qb=d;v[d+12>>2]=b;v[299999]=0;v[a>>2]=v[d+12>>2];v[a+4>>2]=v[c>>2];b=v[299999];v[299999]=0;if((b|0)!=1){Qb=d+16|0;return a}W(0)|0;O()|0;lc();L()}function Kza(a,b){a=a|0;b=b|0;var c=0;v[a>>2]=938464;c=fc(8);v[299999]=0;Q(3063,c|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){v[a+4>>2]=c;return a|0}a=P()|0;O()|0;dc(c);T(a|0);L()}function J8(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=Qb-16|0;Qb=a;v[a+12>>2]=e;v[a+8>>2]=d-c;b=Qb-16|0;Qb=b;Qb=b+16|0;Qb=a+16|0;b=a+8|0;a=a+12|0;return v[(y[b>>2]>2]?b:a)>>2]}function E3(a){a=a|0;var b=0;b=v[a+32>>2];if(b){dc(b);v[a+32>>2]=0}v[a+36>>2]=0;b=v[a+40>>2];if(b){dc(b);v[a+40>>2]=0}v[a+44>>2]=0;b=v[a+48>>2];if(b){dc(b);v[a+48>>2]=0}v[a+52>>2]=0}function Du(a){var b=0;if(!a){return-1}if(!v[a+64>>2]){return 0}b=v[a+68>>2];if(b){b=v[b+4>>2]-2|0;if(!((b|0)!=16?b:0)){return v[a+72>>2]+1|0}return v[a+72>>2]+2|0}return v[a+72>>2]}function uJa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(!a){return 0}d=v[a+36>>2];a:{if(d){d=v[d+4>>2];if(d){break a}}d=v[a+180>>2]}c=as(c,d);a=bz(c,b,a);if(c){Ub[v[259708]](c)}return a|0}function mEa(a){a=a|0;var b=0;v[a>>2]=896264;b=v[a+1048>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)!=1){b=v[a+1044>>2];if(b){dc(Dc(b))}dc(a);return}W(0)|0;O()|0;lc();L()}function cfa(a,b,c){a=a|0;b=b|0;c=c|0;a=v[a+3312>>2];b=v[(a+(w[c|0]<<2)|0)+44>>2]+v[a+20>>2]|0;a:{if(b>>>0<=y[a+28>>2]){v[a+20>>2]=b;a=t[c|0]&1;break a}a=rg(a,c,b)}return(a|0)!=0|0}function _K(a,b,c,d){var e=0,f=0,g=0,h=0;f=v[a+4>>2];a=v[a>>2];g=a;h=b;e=0;a:{if(!c){break a}b=f>>8;e=b;if(!(f&1)){break a}e=v[b+v[c>>2]>>2]}Ub[v[v[a>>2]+28>>2]](g,h,e+c|0,f&2?d:2)}function Q_a(a,b){a=a|0;b=b|0;v[a+16>>2]=b;b=w[b+6|0]|w[b+7|0]<<8|(w[b+8|0]<<16|w[b+9|0]<<24);v[a+28>>2]=0;v[a+32>>2]=0;v[a+24>>2]=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);return 0}function Lqa(a,b){a=a|0;b=b|0;a=Qb-32|0;Qb=a;a=vc(a+8|0,234949,241879,1290,344345,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function Kta(a){a=a|0;a=v[v[a>>2]-12>>2]+a|0;v[a+64>>2]=977544;v[a>>2]=977504;v[a+12>>2]=977356;v[a+8>>2]=977524;if(t[a+55|0]<=-1){dc(v[a+44>>2])}kh(a+12|0);lf(a- -64|0);return a|0}function Jra(a){a=a|0;var b=0,c=0;b=Ub[v[v[a>>2]+16>>2]](a)|0;if(!(Ub[v[v[a>>2]+20>>2]](a,0,2,1)|0)){return-1}c=Ub[v[v[a>>2]+16>>2]](a)|0;Ub[v[v[a>>2]+20>>2]](a,b,0,0)|0;return c|0}function xNa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(w[a+29|0]&128){Ub[v[b+8>>2]](v[b>>2],0,55295);Ub[v[b+8>>2]](v[b>>2],57344,1114111);return}a=v[a+24>>2];Oj(a,b,c,w[a+200|0]==219,d)}function vL(a,b){v[a>>2]=1022676;v[a>>2]=1022748;if(w[b+11|0]>>>7|0){b=v[b>>2]}v[299999]=0;Q(5936,a+4|0,b|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){return}a=P()|0;O()|0;T(a|0);L()}function pfa(a,b){a=a|0;b=b|0;v[a+212>>2]=0;v[a+204>>2]=0;v[a+236>>2]=0;t[a+49|0]=1;b=v[a+220>>2];v[a+208>>2]=b;v[a+232>>2]=b;v[a+228>>2]=b;v[a+224>>2]=b;v[a+200>>2]=v[a+216>>2]+1}function ip(a){var b=0,c=0;b=v[282571];c=a+3&-4;a=b+c|0;a:{if(a>>>0<=b>>>0?c:0){break a}if(a>>>0>Vb()<<16>>>0){if(!(Nb(a|0)|0)){break a}}v[282571]=a;return b}v[299402]=48;return-1}function cya(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=a;if((c|0)<=-1){c=v[a+24>>2];Kv(v[c>>2],0,2);c=tp(v[c>>2]);b=(b|0)>(c|0)?0:c-b|0}v[d+304>>2]=b;b=a+40|0;v[a+300>>2]=b;v[a+296>>2]=b}function cAa(a){a=a|0;var b=0;v[a>>2]=937120;v[299999]=0;R(3724,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){b=v[a+8>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}return a|0}W(0)|0;O()|0;lc();L()}function LKa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if(a){a:{if(c&8){c=0;if(!v[a+20>>2]){break a}v[a+4>>2]=65535;d=a,e=jc(65535),v[d>>2]=e;break a}c=v[a+4>>2]}v[a+8>>2]=c}return a|0}function Ie(a){var b=0,c=0;b=Qb-16|0;Qb=b;v[b+12>>2]=0;v[b+4>>2]=a;v[b>>2]=a;v[b+8>>2]=a+1;a=Qb-16|0;Qb=a;c=a+8|0;v[c>>2]=v[b+4>>2];t[v[c>>2]]=1;t[v[b+8>>2]]=1;Qb=a+16|0;Qb=b+16|0}function Ica(a,b){a=a|0;b=b|0;v[a+4>>2]=b;t[a|0]=0;if(!v[(v[v[b>>2]-12>>2]+b|0)+16>>2]){if(v[(v[v[b>>2]-12>>2]+b|0)+72>>2]){XM(v[(v[v[b>>2]-12>>2]+b|0)+72>>2])}t[a|0]=1}return a|0}function nEa(a){a=a|0;var b=0;v[a>>2]=896264;b=v[a+1048>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)!=1){b=v[a+1044>>2];if(b){dc(Dc(b))}return a|0}W(0)|0;O()|0;lc();L()}function aab(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=-1;a:{if((b|0)==-1){break a}if(!(Ub[v[v[a>>2]+20>>2]](a,b,c)|0)){break a}d=b;if(!c){break a}d=Ub[v[v[a>>2]+24>>2]](a)|0}return d|0}function VKa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=1;a=301722;a:{if((c&3)==1){break a}a=303068;if(c&4){break a}d=(c&8)>>>3|0;a=c<<28>>31&301006}c=0;if(!(!b|!d)){c=zh(b,a)}return c|0}function Nfb(a,b){a=a|0;b=b|0;u[a+1052>>1]=x[b+28>>1];u[a+1054>>1]=x[b+30>>1];u[a+1056>>1]=x[b+32>>1];t[a+1058|0]=w[b+34|0];u[a+1060>>1]=x[b+36>>1];t[a+1062|0]=w[b+38|0];return 0}function Mta(a){a=a|0;var b=0,c=0,d=0;c=a+56|0;v[c>>2]=977544;b=a-8|0;v[b>>2]=977504;d=a+4|0;v[d>>2]=977356;v[a>>2]=977524;if(t[a+47|0]<=-1){dc(v[b+44>>2])}kh(d);lf(c);return b|0}function J6a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=v[c+32>>2];v[b+32>>2]=d;if(d){d=Ub[v[a+152>>2]](d)|0;v[b+36>>2]=d;if(!d){pc(a,1,0,0);return 1}gc(d,v[c+36>>2],v[b+32>>2])}return 0}function IQa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=A[b>>3];g=A[d>>3];a=g!=0;f=A[c>>3];if(!(!a&f==0)){if(!a){return+(f*e/72)}if(f==0){return+(e*72/g)}e=f*e/g}return+e}function Hn(a){var b=0,c=0,d=0;b=Qb-16|0;Qb=b;d=b;if(w[a+11|0]>>>7|0){c=v[a>>2]}else{c=a}if(w[a+11|0]>>>7|0){a=v[a+4>>2]}else{a=w[a+11|0]}v[d+8>>2]=c+a;Qb=b+16|0;return v[b+8>>2]}function DB(a){var b=0;a:{b=v[252393];if((EB(a,b)|0)<0){break a}b:{if(w[b+75|0]==10){break b}a=v[b+20>>2];if(a>>>0>=y[b+16>>2]){break b}v[b+20>>2]=a+1;t[a|0]=10;break a}jw(b,10)}}function s2(){var a=0,b=0;a=jc(108);if(!a){return 0}v[a+96>>2]=0;v[a+12>>2]=0;b=jc(12);if(!b){v[a+76>>2]=0;dc(a);return 0}v[b+8>>2]=0;v[b>>2]=0;v[b+4>>2]=0;v[a+76>>2]=b;return a}function qYa(a){a=a|0;var b=0,c=0;b=v[a+4>>2];c=v[b+552>>2];a:{if(!c){break a}b=Eg(v[v[b+96>>2]+4>>2],239287);if(!b){break a}b=Ub[v[c+4>>2]](b)|0;v[v[a+156>>2]+36>>2]=b}return 0}function gf(a,b){v[a>>2]=1032;ic(a+4|0,0,972);t[a+388|0]=255;v[a+344>>2]=1119092736;v[a+68>>2]=b;t[a+390|0]=1;v[a+336>>2]=-1;t[a+348|0]=1;Mk(a,96);Cn(a,96);t[a+494|0]=1;return a}function c9(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;while(1){a:{if((c|0)!=(d|0)){if(y[c>>2]>127){break a}if(!(x[ft()+(v[c>>2]<<1)>>1]&b)){break a}}else{c=d}return c|0}c=c+4|0;continue}}function Ri(a,b,c){a=a|0;b=b|0;c=c|0;a=v[a>>2];if(a){return Ub[v[v[a>>2]+36>>2]](a,b,c)|0}a=0;b=v[b>>2];a:{if(!b|!c){break a}b=v[b+12>>2];if(!b){break a}a=w[b|0]?-1:0}return a|0}function Rha(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Qb-16|0;Qb=e;v[e+12>>2]=0;b=Yf(v[a+12>>2]+b|0,e+12|0,d);d=c;c=v[e+12>>2];v[d>>2]=c?c-v[a+12>>2]|0:-1;Qb=e+16|0;return b|0}function Qha(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Qb-16|0;Qb=e;v[e+12>>2]=0;b=Iw(v[a+12>>2]+b|0,e+12|0,d);d=c;c=v[e+12>>2];v[d>>2]=c?c-v[a+12>>2]|0:-1;Qb=e+16|0;return b|0}function FXa(a){a=a|0;var b=0,c=0;b=v[a+4>>2];c=v[b+320>>2];a:{if(!c){break a}b=Eg(v[v[b+96>>2]+4>>2],239287);if(!b){break a}b=Ub[v[c+4>>2]](b)|0;v[v[a+156>>2]+36>>2]=b}return 0}function $A(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=v[a+4>>2];a=!f|!v[a+44>>2];if(!a){b=(b<<2)+(a?0:f+40|0)|0;t[c|0]=w[b+2|0];t[d|0]=w[b+1|0];t[e|0]=w[b|0]}return!a|0}function y2a(a,b){a=a|0;b=b|0;var c=0;c=18;a:{if(v[b+72>>2]!=1869968492){break a}c=v[a>>2];a=a+20|0;c=J_(c,u[b+110>>1],u[b+108>>1],a);if(c){break a}I_(b+108|0,a);c=0}return c|0}function tna(a,b){a=a|0;b=b|0;var c=0,d=0;c=fc(128);v[299999]=0;b=Q(4706,c|0,b|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){v[a>>2]=0;Wc(a,b);return}a=P()|0;O()|0;dc(c);T(a|0);L()}function rO(){var a=0,b=0;a=Qb-32|0;Qb=a;a=vc(a+8|0,227475,241921,1819,341813,0);v[299999]=0;R(4370,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){L()}b=P()|0;O()|0;qc(a);T(b|0);L()}function f5(a,b){a=a|0;b=b|0;b=Ub[v[v[a+584>>2]+904>>2]](a,b)|0;if(b>>>0>2]){a=x[a+206>>1]<<3;if(b>>>0<0-a>>>0){b=((a+b|0)-1>>>0)/(a>>>0)|0}else{b=0}b=B(b,a)}return b|0}function SG(a){a=a|0;v[a+4>>2]=1;v[a>>2]=459580;v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=467488;v[a+16>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;return a|0}function Fy(a){var b=0,c=0,d=0;a:{if(!a){break a}b=v[a+56>>2];if((b|0)<1){break a}c=b-1|0;v[a+56>>2]=c;d=v[a+64>>2];v[a+52>>2]=(b|0)!=1?v[((b<<2)+d|0)-8>>2]:0;v[(c<<2)+d>>2]=0}}function Es(a){var b=0,c=0,d=0;b=bd(1,20);a:{if(!b){break a}v[b+8>>2]=1;a=(a|0)<1?20:a;v[b+4>>2]=a;c=bd(a,4);v[b+12>>2]=c;if(!c){break a}a=bd(a,4);v[b+16>>2]=a;d=a?b:0}return d}function x5(a){a=a|0;var b=0,c=0,d=0;b=Qb-224|0;Qb=b;c=b+16|0;Ub[v[v[a>>2]+12>>2]](a,c);d=v[v[a+12>>2]+628>>2];v[b>>2]=c;zc(d,62414,62523,b);sd(v[v[a+12>>2]+584>>2]+4|0,1);L()}function qW(a){var b=0,c=0;a:{if(!a){break a}a=v[a+4>>2];if(!a){break a}b=0;b:{if(!a){break b}c=x[a>>1];b=c;if(!w[a+8|0]){break b}b=c<<8|(c&65280)>>>8}c=(b&65535)+a|0}return c}function qPa(a){a=a|0;var b=0,c=0;b=v[a+180>>2];if(!b){return 0}b=Do(b,2);a:{if(!(!b|x[b>>1]==65535)){c=1;if(x[b+4>>1]>799){break a}}c=(w[v[a+180>>2]+12|0]&2)>>>1|0}return c|0}function p6a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=d;d=0;a=v[(!a|v[a>>2]!=1381173770?d:v[a+4>>2])>>2];f=e,g=Ub[v[v[a>>2]+12>>2]](a,b,1,c,0,0)|0,v[f>>2]=g;return 1}function ln(a,b){var c=0;a:{if(!a|!b){break a}c=v[a+4>>2];if(!c){break a}a=u[a+2>>1];if((a|0)<1){break a}a=(a<<3)+c|0;while(1){jA(c,b);c=c+8|0;if(a>>>0>c>>>0){continue}break}}}function Q1(a){var b=0,c=0,d=0,e=0;b=v[a+960>>2];if(b){dc(b)}v[a+376>>2]=0;v[a+380>>2]=0;b=v[a+16>>2];v[a+372>>2]=b;c=v[a+20>>2];v[a+384>>2]=c;d=a,e=bd(B(b,c),1),v[d+960>>2]=e}function Pxa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((c|0)<1){return 0}d=v[a+32>>2];c=v[a+28>>2]?c>>>0>d>>>0?d:c:c;v[a+32>>2]=d-c;a=v[a+24>>2];return Ub[v[v[a>>2]+40>>2]](a,b,c)|0}function Jta(a){a=a|0;a=v[v[a>>2]-12>>2]+a|0;v[a+64>>2]=977544;v[a>>2]=977504;v[a+12>>2]=977356;v[a+8>>2]=977524;if(t[a+55|0]<=-1){dc(v[a+44>>2])}kh(a+12|0);lf(a- -64|0);dc(a)}function $I(a){var b=0;a:{if(nc(a)){break a}a=nc(a);if((a|0)!=1399614836){if((a|0)==1399210572){break a}if((a|0)==1349665356){return 1}X(3794,6490,828,194271);L()}b=2}return b}function zj(a,b){var c=0,d=0;c=v[a+16>>2];if((c|0)>=1){d=v[a+24>>2];a=0;while(1){if(v[v[(a<<2)+d>>2]+40>>2]==(b|0)){return a}a=a+1|0;if((c|0)!=(a|0)){continue}break}}return-1}function yo(a,b,c,d,e,f,g){a=a|0;b=+b;c=+c;d=+d;e=+e;f=+f;g=+g;var h=0;h=fc(48);v[a>>2]=h;A[h+40>>3]=g;A[h+32>>3]=f;A[h+24>>3]=e;A[h+16>>3]=d;A[h+8>>3]=c;A[h>>3]=b;return a|0}function vI(a,b){var c=0;a:{if(!a|(b|0)<0){break a}if(v[a>>2]<=(b|0)){return 0}a=v[v[a+8>>2]+(b<<2)>>2];if(!a){break a}b:{if(a){v[a+8>>2]=v[a+8>>2]+1;break b}a=0}c=a}return c}function n_(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=6;a:{if(v[b+72>>2]!=v[a+16>>2]){break a}if(c){ln(b+108|0,c)}e=0;if(!d){break a}dh(b+108|0,v[d>>2],v[d+4>>2])}return e|0}function kW(a,b){a=a|0;b=b|0;var c=0;c=v[a+28>>2]&15;a:{b:{if(b>>>0<=1){v[a+48>>2]=!c<<3;if((b|0)==1){break a}if((c|0)==1){break b}break a}if((c|0)!=1){break a}}v[a+52>>2]=1}}function gu(a,b){var c=0,d=0;a:{if(!a|!b){break a}c=v[a+672>>2];b:{if(c){c=Ub[c|0](a,b)|0;break b}c=jc(b)}if(!c){if(w[a+206|0]&16){break a}hd(a,1096);L()}d=ic(c,0,b)}return d}function gRa(a){a=a|0;var b=0;b=fc(32);v[b>>2]=0;v[b+4>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=466732;v[a>>2]=b;return a|0} +function _Qa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=a;a:{if(d){d=fc(c);v[a+8>>2]=d;gc(d,b,c);b=0;break a}v[a+8>>2]=b;d=b;b=1}t[e+16|0]=b;v[a+12>>2]=d?c:0;return(d|0)!=0|0}function Sj(a){var b=0,c=0,d=0;b=bd(1,20);a:{if(!b){break a}v[b+8>>2]=1;a=(a|0)<1?20:a;v[b+4>>2]=a;c=bd(a,4);v[b+12>>2]=c;if(!c){break a}a=Io(a);v[b+16>>2]=a;d=a?b:0}return d}function NX(a){a=a|0;var b=0;v[a>>2]=466572;b=fc(32);v[b>>2]=0;v[b+4>>2]=0;v[b+28>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;u[b+24>>1]=0;v[a+4>>2]=b;return a|0}function GM(a){var b=0,c=0;b=v[a>>2];if(b){c=v[b+12>>2];a:{if((c|0)==v[b+16>>2]){b=Ub[v[v[b>>2]+36>>2]](b)|0;break a}b=v[c>>2]}if((b|0)!=-1){return!v[a>>2]}v[a>>2]=0}return 1}function Dz(a,b,c,d,e,f){var g=0,h=0;g=v[a+84>>2];if((g|0)>=1){h=v[a+80>>2];a=(b|0)>0?b:0;a=h+B((a|0)<(g|0)?a:g-1|0,96)|0;z[a+24>>2]=f;z[a+20>>2]=e;z[a+16>>2]=d;z[a+12>>2]=c}}function z1a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;v[c>>2]=0;d=6;a:{if(!b|!a){break a}b=b-1|0;if(b>>>0>=y[a+408>>2]){break a}v[c>>2]=v[(v[a+416>>2]+(b<<4)|0)+4>>2];d=0}return d|0}function hGa(a){a=a|0;var b=0;v[a>>2]=889e3;a:{if(!v[a+16>>2]){break a}b=v[a+4>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)!=1){break a}W(0)|0;O()|0;lc();L()}dc(a)}function ag(a,b){var c=0;if((a|0)==(b|0)){return 1}if(!a){return 0}if(!b){return 0}while(1){c=w[a|0];if((c|0)!=w[b|0]){return 0}b=b+1|0;a=a+1|0;if(c){continue}break}return 1}function _c(a,b){var c=0,d=0,e=0;e=a;d=v[a>>2];c=Bc(b);if((d|0)>(2147483647-c|0)){mh(342310);d=v[a>>2]}Ng(e,c+d|0);gc(v[a+4>>2]+v[a>>2]|0,b,c+1|0);v[a>>2]=v[a>>2]+c;return a}function Yc(a,b){a=a|0;b=b|0;var c=0,d=0;d=v[a+20>>2];a:{b:{if(d){c=85;if(!(Ub[d|0](a,b,0,0)|0)){break b}break a}c=85;if(y[a+4>>2]>>0){break a}}v[a+8>>2]=b;c=0}return c|0}function SJ(a,b){var c=0;c=jc(8);if(!c){return 0}if((b|0)>=1){if(!a){v[c+4>>2]=1036336;v[c>>2]=b;return c}v[c+4>>2]=1036320;v[c>>2]=b;return c}v[c+4>>2]=0;v[c>>2]=b;return c}function My(a,b,c,d,e){var f=0;f=Qb-16|0;Qb=f;a:{if(a){if(v[a+172>>2]==-1?v[a+212>>2]:0){break a}v[a+84>>2]=b}v[f+4>>2]=e;v[f>>2]=d;oc(0,0,0,a,0,3,b,1,d,e,0,0,c,f)}Qb=f+16|0}function MKa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;if(!b){return 0}a=v[b+4>>2];e=v[b+12>>2];a=a>>>0>>0?a-e|0:d;gc(c,e+v[b>>2]|0,a);v[b+12>>2]=a+v[b+12>>2];return a|0}function Lta(a){a=a|0;var b=0,c=0,d=0;c=a+56|0;v[c>>2]=977544;b=a-8|0;v[b>>2]=977504;d=a+4|0;v[d>>2]=977356;v[a>>2]=977524;if(t[a+47|0]<=-1){dc(v[b+44>>2])}kh(d);lf(c);dc(b)}function IJa(a,b){a=a|0;b=b|0;var c=0;c=v[a+396>>2];if(b){b=v[a>>2];v[b+20>>2]=3;Ub[v[b>>2]](a)}b=v[a+32>>2];v[c+52>>2]=0;v[c+56>>2]=0;v[c+48>>2]=b;v[c+60>>2]=v[a+272>>2]<<1}function I$(){var a=0,b=0;b=bd(256,1);if(b){while(1){t[a+b|0]=a<<1&64|(a<<2&32|(a<<3&16|(a>>>3&8|(a>>>2&4|(a&129|a>>>1&2)))));a=a+1|0;if((a|0)!=256){continue}break}}return b}function HM(a){var b=0,c=0;b=v[a>>2];if(b){c=v[b+12>>2];a:{if((c|0)==v[b+16>>2]){b=Ub[v[v[b>>2]+36>>2]](b)|0;break a}b=w[c|0]}if((b|0)!=-1){return!v[a>>2]}v[a>>2]=0}return 1}function y$a(a,b){a=a|0;b=b|0;var c=0,d=0;d=v[a+16>>2]+6|0;a=v[b>>2];while(1){a=a+1|0;if(a>>>0>255){v[b>>2]=0;return 0}c=w[a+d|0];if(!c){continue}break}v[b>>2]=a;return c|0}function Lv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=v[a+26328>>2];e=d&4;f=e?b:c;b=e?c:b;b=d&2?x[a+26318>>1]+(b^-1)|0:b;a=x[a+26320>>1];return B(b,a)+(d&1?a+(f^-1)|0:f)|0}function Hgb(a){a=a|0;var b=0,c=0,d=0,e=0;c=v[v[a+40>>2]+16>>2];b=v[a+52>>2];d=Ub[v[v[b>>2]+20>>2]](b,2)|0;e=a;a=(c|0)<257?1:2;Z1(e,Ub[v[v[b>>2]+20>>2]](b,a)|0,(d-a|0)-2|0)}function ugb(a){a=a|0;var b=0,c=0;b=v[a+4>>2];if(b){a:{if(v[b>>2]!=2){break a}c=v[b+4>>2];if(!c){break a}dc(c)}dc(b)}a=a+4|0;v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0}function ru(a,b,c){var d=0;a:{if(b>>>0<=2147483646){d=b+1|0;if((d|0)>2]){break a}}v[c>>2]=0;return 0}a=v[a+8>>2];b=w[a+b|0];a=b<<8|w[a+d|0];return b&128?a|-65536:a}function rP(a,b){a=a|0;b=b|0;var c=0;sg(a+148|0,0,0,b?1024:512,0);c=v[a+108>>2];if(c){ZP(c,b)}a=v[a+120>>2];if(a){while(1){rP(v[a+8>>2],b);a=v[a>>2];if(a){continue}break}}}function pPa(a,b){a=a|0;b=b|0;var c=0,d=0;d=v[a+180>>2];a:{if(!d){break a}c=v[a+196>>2]!=-1;if(c|!b){break a}c=0;a=Do(d,2);if(!a){break a}c=y[a+80>>2]<268435456}return c|0}function m3a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=1;a:{if(!w[a|0]|v[a+8>>2]!=(b|0)|v[a+12>>2]!=(c|0)){break a}if(c){if(Pc(d,v[a+16>>2],c<<2)){break a}}e=0}return e|0}function lxa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a:{if((b|0)<2){break a}a=v[a+4>>2];a=Ub[v[v[a>>2]+60>>2]](a,b,c,d)|0;if(!a){break a}_c(_c(a,c),350398);e=a}return e|0}function l5a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=d;d=0;a=v[(!a|v[a>>2]!=1381173770?d:v[a+4>>2])>>2];f=e,g=Ub[v[v[a>>2]+16>>2]](a,b,1,c)|0,v[f>>2]=g;return 1}function iq(a,b){a=a|0;b=b|0;a=v[a>>2];A[b>>3]=A[a>>3];A[b+8>>3]=A[a+8>>3];A[b+16>>3]=A[a+16>>3];A[b+24>>3]=A[a+24>>3];A[b+32>>3]=A[a+32>>3];A[b+40>>3]=A[a+40>>3];return 0}function eWa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=v[a+52>>2];if(d){dc(d);v[a+52>>2]=0}d=c<<3;e=fc((c&536870911)!=(c|0)?-1:d);v[a+52>>2]=e;gc(e,b,d);v[a+56>>2]=c;return 0}function eC(a,b){var c=0,d=0;c=Qb-16|0;Qb=c;a:{if(!(w[b+11|0]>>>7|0)){v[a+8>>2]=v[b+8>>2];d=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=d;break a}VB(a,v[b>>2],v[b+4>>2])}Qb=c+16|0}function Yza(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if(a){Bib(c,0,b,0);if(Tb){Gc(a,8187);return 0}d=v[a+204>>2];v[a+204>>2]=d|1048576;e=ug(a,B(b,c));v[a+204>>2]=d}return e|0}function QT(a,b){a=a|0;b=b|0;var c=0;c=fc(1048);v[c+1040>>2]=0;v[c+1044>>2]=0;v[c+12>>2]=0;v[c+8>>2]=b;v[c+4>>2]=a;v[c>>2]=889076;a=RT(c);Ub[v[v[c>>2]+4>>2]](c);return a|0}function Gxa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a:{if((b|0)<2){break a}a=v[a+4>>2];a=Ub[v[v[a>>2]+60>>2]](a,b,c,d)|0;if(!a){break a}_c(_c(a,c),350347);e=a}return e|0}function Axa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a:{if((b|0)<2){break a}a=v[a+4>>2];a=Ub[v[v[a>>2]+60>>2]](a,b,c,d)|0;if(!a){break a}_c(_c(a,c),350497);e=a}return e|0}function z4(a){a=a|0;var b=0,c=0;b=v[a+584>>2];if(b){c=b;b=jc(72008);v[c+144>>2]=b;if(b){a=1}else{zc(v[a+628>>2],88297,37756,0);a=0}return a|0}X(16309,6139,747,88297);L()}function xZa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=v[a+24>>2];c=Yc(b,c);a:{if(c){break a}c=ne(b,d);if(c){break a}v[a+196>>2]=v[b+32>>2];v[a+200>>2]=v[b+36>>2];c=0}return c|0}function owa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a=v[a>>2];d=A[a+16>>3];b=v[b>>2];e=A[b+16>>3];c=-1;a:{if(de){break a}c=v[a+4>>2]-v[b+4>>2]|0}return c|0}function nwa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a=v[a>>2];d=A[a+24>>3];b=v[b>>2];e=A[b+24>>3];c=-1;a:{if(de){break a}c=v[a+4>>2]-v[b+4>>2]|0}return c|0}function kab(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;if(f){a=B(d,6);if(((c+1|0)/2|0)>(b|0)){gc(g,e,a);return 0}gc(g,f,a);return 0}gc(g,e,B(d,6));return 0}function PDa(a,b,c){a=a|0;b=b|0;c=c|0;b=-1;a=v[a+108>>2];a:{if(!a){break a}a=v[a+4>>2];if(v[a+8>>2]==13){break a}a=v[a+16>>2];b=Ub[v[v[a>>2]+52>>2]](a)|0}kc(7,b,237831,0)}function Nf(a){var b=0;b=v[a>>2];v[a>>2]=0;a:{if(b){a=v[v[b>>2]+12>>2];v[299999]=0;S(a|0,b|0)|0;a=v[299999];v[299999]=0;if((a|0)==1){break a}}return}W(0)|0;O()|0;lc();L()}function NJa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(!c){if(v[b>>2]>=2){t[a|0]=255;t[a+1|0]=254;v[b>>2]=2;v[d>>2]=0;return 2}v[b>>2]=0;v[d>>2]=0;return 0}return uV(a,b,c,d)|0}function LVa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;v[a+136>>2]=v[b>>2];z[a+140>>2]=A[c>>3];z[a+144>>2]=A[d>>3];z[a+148>>2]=A[e>>3];z[a+152>>2]=A[f>>3];return 0}function Kab(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;if(f){a=B(d,3);if(((c+1|0)/2|0)>(b|0)){gc(g,e,a);return 0}gc(g,f,a);return 0}gc(g,e,B(d,3));return 0}function JDa(a,b,c){a=a|0;b=b|0;c=c|0;b=-1;a=v[a+108>>2];a:{if(!a){break a}a=v[a+4>>2];if(v[a+8>>2]==13){break a}a=v[a+16>>2];b=Ub[v[v[a>>2]+52>>2]](a)|0}kc(7,b,237849,0)}function yZ(a,b){a=a|0;b=b|0;v[a+16>>2]=b;b=w[b+12|0]|w[b+13|0]<<8|(w[b+14|0]<<16|w[b+15|0]<<24);t[a+24|0]=0;v[a+40>>2]=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);return 0}function xn(a,b,c,d){var e=0;if(!((a|0)>(c|0)|(b|0)>(d|0))){e=yj(d-b|0,c-a|0);if(e){v[e+16>>2]=d;v[e+12>>2]=c;v[e+8>>2]=b;v[e+4>>2]=a}return e}X(2500,6607,89,188408);L()}function wpa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{if(!a){break a}v[a+180>>2]=b;v[a+444>>2]=d?d:386;v[a+172>>2]=c?c:387;if(!v[a+176>>2]){break a}v[a+176>>2]=0;Gc(a,10069)}}function ug(a,b){var c=0;a:{if(!a|!b){break a}c=v[a+672>>2];b:{if(c){c=Ub[c|0](a,b)|0;break b}c=jc(b)}if(c){break a}c=0;if(w[a+206|0]&16){break a}hd(a,1096);L()}return c}function tm(a){var b=0,c=0,d=0;b=bd(1,24);a:{if(!b){break a}c=(a|0)<1?50:a;a=bd(c,4);v[b+20>>2]=a;if(!a){break a}v[b+16>>2]=1065353216;v[b+8>>2]=1;v[b>>2]=c;d=b}return d}function sj(a){a=a|0;var b=0;v[a>>2]=466676;b=v[a+24>>2];if(!(w[a+28|0]|!b)){dc(b)}v[a+12>>2]=0;v[a+16>>2]=0;v[a+8>>2]=8;v[a+20>>2]=0;v[a+24>>2]=0;t[a+28|0]=0;return a|0}function oL(a){var b=0,c=0,d=0;if(v[v[a>>2]>>2]-48>>>0<10){while(1){b=v[a>>2];d=v[b>>2];v[a>>2]=b+4;c=(B(c,10)+d|0)-48|0;if(v[b+4>>2]-48>>>0<10){continue}break}}return c}function dl(a){a=a|0;var b=0;v[a>>2]=889e3;a:{if(v[a+16>>2]){b=v[a+4>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){break a}}return a|0}W(0)|0;O()|0;lc();L()}function Z8(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;while(1){if((b|0)!=(c|0)){d=b;a=v[b>>2];if(a>>>0<=127){a=v[qw()+(v[b>>2]<<2)>>2]}v[d>>2]=a;b=b+4|0;continue}break}return c|0}function X8(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;while(1){if((b|0)!=(c|0)){d=b;a=v[b>>2];if(a>>>0<=127){a=v[pw()+(v[b>>2]<<2)>>2]}v[d>>2]=a;b=b+4|0;continue}break}return c|0}function Cr(a){a=a|0;var b=0,c=0;b=88;a:{if(a>>>0>65535){break a}c=a>>>8<<3;b=w[c+969076|0];if((b|0)!=88){break a}b=w[v[c+969072>>2]+(a&255)|0]}return(b|0)==35|(b|0)==46}function vn(a,b,c){var d=0,e=0,f=0;a:{if(!b){break a}d=v[a+4>>2];if(!d){break a}e=v[a+44>>2];if(!e){break a}f=b;b=e<<2;c=c<<2;gc(d+40|0,f,b>>>0>>0?b:c);t[a+481|0]=0}}function uza(a){a=a|0;var b=0;v[a>>2]=938416;b=v[a+4>>2];if(b){dc(Dc(b))}v[299999]=0;R(3098,a+8|0);b=v[299999];v[299999]=0;if((b|0)!=1){return a|0}W(0)|0;O()|0;lc();L()}function od(a,b,c){var d=0,e=0,f=0;a:{if(!c){break a}while(1){d=v[a>>2];e=v[b>>2];if((d|0)==(e|0)){b=b+4|0;a=a+4|0;c=c-1|0;if(c){continue}break a}break}f=d-e|0}return f}function nw(a,b){var c=0,d=0;c=(b>>>0)/100|0;d=x[(c<<1)+1022256>>1];t[a|0]=d;t[a+1|0]=d>>>8;a=a+2|0;b=x[(b-B(c,100)<<1)+1022256>>1];t[a|0]=b;t[a+1|0]=b>>>8;return a+2|0}function Sya(a,b,c,d,e,f,g,h,i,j,k,l,m,n){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;m=m|0;n=n|0;Ub[v[v[a>>2]+288>>2]](a,b,c,d,e,f,g,0,0,n)}function Jx(a){var b=0;b=v[244388];v[a>>2]=b;v[v[b-12>>2]+a>>2]=v[244396];b=v[244397];v[a+12>>2]=977356;v[a+8>>2]=b;if(t[a+55|0]<=-1){dc(v[a+44>>2])}kh(a+12|0);return a}function JOa(a){a=a|0;var b=0,c=0,d=0;b=fc(176);v[299999]=0;c=S(2152,b|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){v[c+164>>2]=a;return c|0}a=P()|0;O()|0;dc(b);T(a|0);L()}function Ira(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Ub[v[v[a>>2]+16>>2]](a)|0;Ub[v[v[a>>2]+20>>2]](a,d,0,1)|0;b=Wn(a,b,c);Ub[v[v[a>>2]+20>>2]](a,e,0,1)|0;return b|0}function CBa(a){a=a|0;var b=0;v[a>>2]=897352;b=v[a+12>>2];if(b){dc(Dc(b))}b=v[a+16>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}b=v[a+20>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}return a|0}function Az(a){a=a|0;var b=0;v[a>>2]=466880;v[299999]=0;R(2527,a|0);b=v[299999];v[299999]=0;if((b|0)!=1){ps(a+8|0,v[a+12>>2]);return a|0}W(0)|0;O()|0;xX(a+8|0);lc();L()}function una(a){a=a|0;var b=0,c=0,d=0;b=fc(68);v[299999]=0;c=S(4857,b|0)|0;d=v[299999];v[299999]=0;if((d|0)!=1){v[a>>2]=0;Wc(a,c);return}a=P()|0;O()|0;dc(b);T(a|0);L()}function rQ(a){a=a|0;var b=0,c=0,d=0,e=0;d=v[a+60>>2];b=v[a+56>>2];c=d-b|0;if(c){e=a;b=(b+c|0)-8|0;c=v[b>>2];if(!(!c|!w[b+4|0])){dc(SD(c));d=v[a+60>>2]}v[e+60>>2]=d-8}}function pRa(a){a=a|0;var b=0;a=v[a+4>>2];b=v[a>>2];a:{if(!b){break a}b=b-1|0;if(w[v[v[a+16>>2]+(b>>>6&67108860)>>2]+(b&255)|0]-1>>>0>13){break a}ze(a,0,0,79)}return 1}function bL(a){var b=0;b=Qb-16|0;Qb=b;aL(b,a,247760);v[299999]=0;R(5949,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){Mc(b);Qb=b+16|0;return}a=P()|0;O()|0;Mc(b);T(a|0);L()}function aIa(a,b){a=a|0;b=b|0;var c=0;b=v[b+4>>2];if(t[b+15|0]>=0){b=b+4|0;c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;v[a+8>>2]=v[b+8>>2];return}Ke(a,v[b+4>>2],v[b+8>>2])}function aB(a,b,c){if((c|0)>=0){a:{if(!b){break a}while(1){if(v[b+4>>2]<=(c|0)){break a}v[b+4>>2]=c;b=v[b>>2];if(b){continue}break}}return}X(14409,7271,249,189641);L()}function Y_a(a,b){a=a|0;b=b|0;var c=0;if(!(!w[a+24|0]|v[a+28>>2]!=v[b>>2])){wZ(a);if(!w[a+24|0]){return 0}c=v[a+32>>2];v[b>>2]=v[a+28>>2];return c|0}return xZ(a,b,1)|0}function S_a(a,b){a=a|0;b=b|0;a=v[a+16>>2];v[b+4>>2]=13;a=w[a+8|0]|w[a+9|0]<<8|(w[a+10|0]<<16|w[a+11|0]<<24);v[b>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return 0} +function PB(a){var b=0;b=Qb-16|0;Qb=b;aL(b,a,283340);v[299999]=0;R(5943,b|0);a=v[299999];v[299999]=0;if((a|0)!=1){Mc(b);Qb=b+16|0;return}a=P()|0;O()|0;Mc(b);T(a|0);L()}function $fa(a){a=a|0;var b=0;b=v[a+12>>2];if(!b){return 72}a=(v[b+20>>2]<<4)+32|0;b=v[b+24>>2];if(b){while(1){a=a+8164|0;b=v[b>>2];if(b){continue}break}}return a+72|0}function xc(a){var b=0,c=0;a:{if(!w[a+8|0]){break a}b=v[a>>2];if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}dc(b)}v[a>>2]=0;v[a+4>>2]=0;t[a+8|0]=0;return a}function rk(a,b){var c=0,d=0,e=0;if(!(!a|(b|0)<0)){c=Ub[v[259707]](b+1|0)|0;if(!c){oc(0,0,0,0,0,1,2,3,0,0,0,0,354139,0);return 0}d=gc(c,a,b)+b|0,e=0,t[d|0]=e}return c}function qVa(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;h=v[c>>2];v[a+500>>2]=(h^-1)>>>31;return Ub[v[v[a>>2]+272>>2]](a,(h|0)>-1?c:b,d,e,f,g)|0}function l$a(a,b){a=a|0;b=b|0;a=v[a+16>>2];b=b-(w[a+6|0]<<8|w[a+7|0])|0;if(b>>>0<(w[a+9|0]|w[a+8|0]<<8)>>>0){a=a+(b<<1)|0;a=w[a+10|0]<<8|w[a+11|0]}else{a=0}return a|0}function ke(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=v[a>>2];d=A[b>>3];A[b>>3]=A[a+32>>3]+(d*A[a>>3]+A[c>>3]*A[a+16>>3]);A[c>>3]=A[a+40>>3]+(d*A[a+8>>3]+A[c>>3]*A[a+24>>3])}function eab(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;if(f){a=d<<3;if(((c+1|0)/2|0)>(b|0)){gc(g,e,a);return 0}gc(g,f,a);return 0}gc(g,e,d<<3);return 0}function a$a(a,b){a=a|0;b=b|0;a=v[a+16>>2];v[b+4>>2]=10;a=w[a+8|0]|w[a+9|0]<<8|(w[a+10|0]<<16|w[a+11|0]<<24);v[b>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return 0}function _G(a){a=a|0;var b=0;a=v[a+4>>2];b=v[a>>2];a:{if(!b){break a}b=b-1|0;if(w[v[v[a+16>>2]+(b>>>6&67108860)>>2]+(b&255)|0]-1>>>0>13){break a}ze(a,0,0,79)}return 0}function ZUa(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;h=v[c>>2];v[a+500>>2]=(h^-1)>>>31;return Ub[v[v[a>>2]+340>>2]](a,(h|0)>-1?c:b,d,e,f,g)|0}function X_a(a,b){a=a|0;b=b|0;a=v[a+16>>2];v[b+4>>2]=12;a=w[a+8|0]|w[a+9|0]<<8|(w[a+10|0]<<16|w[a+11|0]<<24);v[b>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return 0}function y1(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;if(f){a=d<<1;if(((c+1|0)/2|0)>(b|0)){gc(g,e,a);return 0}gc(g,f,a);return 0}gc(g,e,d<<1);return 0}function w1(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;if(f){a=d<<2;if(((c+1|0)/2|0)>(b|0)){gc(g,e,a);return 0}gc(g,f,a);return 0}gc(g,e,d<<2);return 0}function r7(a,b){a=a|0;b=b|0;v[a>>2]=1022676;v[a>>2]=1022768;v[299999]=0;Q(5936,a+4|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){return a|0}a=P()|0;O()|0;T(a|0);L()}function k2a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a:{if(!d){e=1;if(y[a+4>>2]>>0){break a}}e=v[a+12>>2];if(v[a+8>>2]!=(b|0)){zg(e,b,0)}e=qg(c,1,d,e)}return e|0}function e$a(a,b){a=a|0;b=b|0;a=v[a+16>>2];v[b+4>>2]=8;a=w[a+8|0]|w[a+9|0]<<8|(w[a+10|0]<<16|w[a+11|0]<<24);v[b>>2]=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);return 0}function cu(a){var b=0,c=0,d=0;b=fc(672);v[299999]=0;c=Y(3429,b|0,a|0,0)|0;d=v[299999];v[299999]=0;if((d|0)==1){a=P()|0;O()|0;dc(b);T(a|0);L()}v[c+668>>2]=a;return c}function T4(a){a=a|0;var b=0,c=0,d=0;b=Qb-224|0;Qb=b;c=b+16|0;Ub[v[v[a>>2]+12>>2]](a,c);d=v[v[a+828>>2]+628>>2];v[b>>2]=c;zc(d,30279,31481,b);zv(a);sd(a+624|0,1);L()}function Pha(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Qb-16|0;Qb=d;v[d+12>>2]=0;e=Kw(v[a+12>>2]+b|0,d+12|0);b=v[d+12>>2];v[c>>2]=b?b-v[a+12>>2]|0:-1;Qb=d+16|0;return+e}function Oya(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;v[a+32>>2]=13;v[a+16>>2]=13;v[a+48>>2]=0;v[a+4>>2]=c;v[a>>2]=b;v[a+8>>2]=d;Ui(c,a+16|0);Ui(v[a+4>>2],a+32|0);return a|0}function N4(a,b){a=a|0;b=b|0;v[a+556>>2]=552;v[a+548>>2]=552;v[a+540>>2]=552;v[a+560>>2]=553;v[a+552>>2]=553;v[a+544>>2]=554;v[a+536>>2]=555;v[a+532>>2]=556;return 1}function LM(a){var b=0;b=v[a>>2];v[a>>2]=0;a:{if(!b){break a}a=v[a+4>>2];v[299999]=0;S(a|0,b|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){break a}W(0)|0;O()|0;lc();L()}}function LLa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(v[d>>2]<=0){if(!v[c>>2]){v[c>>2]=344;return 0}a=gc(b+260|0,v[a+8>>2],84);t[b+34|0]=1;v[b+8>>2]=a}else{b=0}return b|0}function Ig(a,b){var c=0;c=v[a>>2];v[a>>2]=b;a:{if(!c){break a}a=v[a+4>>2];v[299999]=0;R(a|0,c|0);a=v[299999];v[299999]=0;if((a|0)!=1){break a}W(0)|0;O()|0;lc();L()}}function B2(a,b,c,d){var e=0;e=Qb-16|0;Qb=e;t[e+11|0]=0;t[e+8|0]=d>>>16;d=d<<8|(d&65280)>>>8;t[e+9|0]=d;t[e+10|0]=d>>>8;v[e+4>>2]=v[e+8>>2];Yv(a,b,c,e+4|0);Qb=e+16|0}function yN(a){var b=0,c=0,d=0;if(t[v[a>>2]]-48>>>0<10){while(1){b=v[a>>2];d=t[b|0];v[a>>2]=b+1;c=(B(c,10)+d|0)-48|0;if(t[b+1|0]-48>>>0<10){continue}break}}return c}function uHa(a){a=a|0;var b=0,c=0;b=fc(12);c=Bc(a);v[299999]=0;$(3133,b|0,a|0,c|0,1);a=v[299999];v[299999]=0;if((a|0)!=1){return b|0}a=P()|0;O()|0;dc(b);T(a|0);L()} +function si(a){a=a|0;var b=0,c=0;b=v[a+964>>2];a:{if(b){break a}c=a;a=B(v[a+20>>2],v[a+16>>2]);b=jc(a);v[c+964>>2]=b;if(!b){b=0;break a}ic(b,255,a)}return(b|0)!=0|0}function X0a(a){a=a|0;var b=0,c=0,d=0;if(a){c=v[a>>2];b=c;d=v[a+108>>2];if(d){Ub[v[b+8>>2]](b,d)}v[a+108>>2]=0;b=v[a+116>>2];if(b){Ub[v[c+8>>2]](c,b)}v[a+116>>2]=0}}function VSa(a){a=a|0;var b=0,c=0;v[a+148>>2]=0;b=1;c=v[a+448>>2];b=v[a+336>>2]<=1?v[v[a+340>>2]+(v[a+328>>2]==1?76:12)>>2]:b;v[c+20>>2]=0;v[c+24>>2]=0;v[c+28>>2]=b}function VQa(a){a=a|0;var b=0;v[a>>2]=466880;v[299999]=0;R(2527,a|0);b=v[299999];v[299999]=0;if((b|0)==1){W(0)|0;O()|0;xX(a+8|0);lc();L()}ps(a+8|0,v[a+12>>2]);dc(a)}function SWa(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=1;e=b;c=v[b>>2]+1|0;b=v[a+16>>2];if(c>>>0>b>>>0){b=c-b|0;a=b>>>0>2];d=a?b+1|0:0;b=a?c:0}v[e>>2]=b;return d|0}function Q8(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;while(1){if((b|0)!=(c|0)){d=b;a=t[b|0];if((a|0)>=0){a=v[qw()+(t[b|0]<<2)>>2]}t[d|0]=a;b=b+1|0;continue}break}return c|0}function O8(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;while(1){if((b|0)!=(c|0)){d=b;a=t[b|0];if((a|0)>=0){a=v[pw()+(t[b|0]<<2)>>2]}t[d|0]=a;b=b+1|0;continue}break}return c|0}function Mqa(a){a=a|0;var b=0,c=0,d=0;b=fc(12);v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;d=b;c=v[a>>2];if(c){v[c+4>>2]=v[c+4>>2]+1;a=v[a>>2]}else{a=0}v[d+8>>2]=a;return b|0}function Cp(a){a=a|0;var b=0,c=0;b=v[a+8>>2];if(b){while(1){c=v[b>>2];Ub[v[v[a>>2]+16>>2]](b,1);dc(b);b=c;if(b){continue}break}}v[a+4>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0}function $e(a){var b=0;a:{b=v[a+36>>2];if(b){if(t[a|0]&1){break a}dc(b);v[a+36>>2]=0}b=v[a+28>>2];if(b){dc(b);v[a+28>>2]=0}dc(a);return}X(11906,6607,151,188425);L()}function sza(a){a=a|0;var b=0;v[a>>2]=938416;b=v[a+4>>2];if(b){dc(Dc(b))}v[299999]=0;R(3098,a+8|0);b=v[299999];v[299999]=0;if((b|0)==1){W(0)|0;O()|0;lc();L()}dc(a)}function iU(a,b,c,d){var e=0;e=Qb-16|0;Qb=e;if(!(!(!a|!v[a+212>>2])&v[a+172>>2]==-1)){v[e+8>>2]=0;v[e+4>>2]=d;v[e>>2]=c;oc(0,0,0,a,0,3,100,1,c,d,0,0,b,e)}Qb=e+16|0}function bM(a){a=a|0;var b=0;b=ra(8)|0;v[299999]=0;Q(5598,b|0,a|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){qa(b|0,1022988,5599);L()}a=P()|0;O()|0;ta(b|0);T(a|0);L()}function bC(a){var b=0,c=0;v[299999]=0;c=ga(5671)|0;b=v[299999];v[299999]=0;if((b|0)!=1){b=a;a=v[c>>2];v[b>>2]=a;v[a+4>>2]=v[a+4>>2]+1;return}W(0)|0;O()|0;lc();L()}function Xxa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if((c|0)<1){return 0}d=v[a+40>>2];e=v[a+36>>2]-d|0;c=(c|0)>(e|0)?e:c;gc(b,d,c);v[a+40>>2]=c+v[a+40>>2];return c|0}function Tx(a,b,c){var d=0;if(!v[b+4>>2]){d=v[b+52>>2];if(v[d+8>>2]){while(1){Tx(a,ji(d,0),c);d=v[b+52>>2];if(v[d+8>>2]){continue}break}}dc(Um(b));return}vR(a,b,c)}function Q3a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(!a){return 37}d=b?d:d|3;if(b?d&1:1){return lA(a,0,c,d)|0}if(v[b>>2]==v[a+4>>2]){a=lA(a,b,c,d)}else{a=35}return a|0}function Kx(a){var b=0,c=0;c=v[a>>2];if(c){b=v[a+4>>2];if((b|0)==(c|0)){b=c}else{while(1){b=xc(b-12|0);if((b|0)!=(c|0)){continue}break}b=v[a>>2]}v[a+4>>2]=c;dc(b)}}function KO(a){a=a|0;var b=0;b=ra(24)|0;v[299999]=0;Q(4852,b|0,a|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){qa(b|0,989228,5072);L()}a=P()|0;O()|0;ta(b|0);T(a|0);L()}function BBa(a){a=a|0;var b=0;v[a>>2]=897352;b=v[a+12>>2];if(b){dc(Dc(b))}b=v[a+16>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}b=v[a+20>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}dc(a)}function tXa(a,b){a=a|0;b=b|0;var c=0;c=v[b+96>>2];if(!((c|0)<0|v[a+300>>2]<=(c|0))){a=v[a+304>>2]+B(c,252)|0;b=Ub[v[b+40>>2]](b,0)|0;v[a+180>>2]=b;v[a+208>>2]=b}}function mx(a){var b=0,c=0;b=v[a+24>>2];if(b){while(1){c=v[b>>2];Ub[v[v[a>>2]+16>>2]](b,1);dc(b);b=c;if(b){continue}break}}v[a+4>>2]=0;v[a+24>>2]=0;Ah(a+16|0,4,0)}function fgb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Qb-16|0;Qb=d;v[d+12>>2]=b;b=v[a+20>>2];if(b){Rc(d+12|0,1,(c|0)<4?c:4,b);v[a+24>>2]=v[a+24>>2]+c}Qb=d+16|0;return 0}function UPa(a,b){a=a|0;b=b|0;var c=0;if(t[b+123|0]>=0){b=b+112|0;c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;v[a+8>>2]=v[b+8>>2];return}Ke(a,v[b+112>>2],v[b+116>>2])}function T6(a){a=a|0;var b=0;b=ra(8)|0;v[299999]=0;Q(5951,b|0,a|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){qa(b|0,1022956,108);L()}a=P()|0;O()|0;ta(b|0);T(a|0);L()}function SA(a,b){var c=0,d=0;if(!((b|0)<0|v[v[a+20>>2]+20>>2]<(b|0))){v[a+4>>2]=b;c=a,d=xe(v[a+20>>2],0)+B(v[v[a+20>>2]+52>>2],b)|0,v[c+16>>2]=d}return v[a+16>>2]}function S6(a){a=a|0;var b=0;b=ra(8)|0;v[299999]=0;Q(5952,b|0,a|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){qa(b|0,1022852,108);L()}a=P()|0;O()|0;ta(b|0);T(a|0);L()}function L4a(a,b){a=a|0;b=b|0;v[a+2748>>2]=b;v[a+2740>>2]=v[b+28>>2];v[a+4>>2]=v[b+8>>2];v[a+12>>2]=v[b+12>>2];v[a+8>>2]=v[b+16>>2];v[a+16>>2]=v[b+20>>2];return 0}function o6(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Qb-16|0;Qb=d;v[d+12>>2]=v[c>>2];a=Ub[v[v[a>>2]+16>>2]](a,b,d+12|0)|0;if(a){v[c>>2]=v[d+12>>2]}Qb=d+16|0;return a|0}function hk(a){a=a|0;var b=0,c=0;b=88;a:{if(a>>>0>65535){break a}c=a>>>8<<3;b=w[c+969076|0];if((b|0)!=88){break a}b=w[v[c+969072>>2]+(a&255)|0]}return(b|0)==76|0}function Dj(a){a=a|0;var b=0,c=0;b=88;a:{if(a>>>0>65535){break a}c=a>>>8<<3;b=w[c+969076|0];if((b|0)!=88){break a}b=w[v[c+969072>>2]+(a&255)|0]}return(b|0)==82|0}function zk(a,b){var c=0;a:{if(!a|!b){break a}c=v[a>>2];if(!c){break a}while(1){if(!mc(c,b)){return v[a+4>>2]}c=v[a+8>>2];a=a+8|0;if(c){continue}break}}return 0}function wda(a,b){a=a|0;b=b|0;var c=0,d=0;a=v[a>>2];c=v[a>>2];b=v[b>>2];d=v[b>>2];if((c|0)!=(d|0)){return c-d|0}a=v[a+8>>2];if(!a){return 0}return v[b+8>>2]-a|0}function vya(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=fc(8);v[299999]=0;b=S(3312,a|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){return b|0}b=P()|0;O()|0;dc(a);T(b|0);L()}function sS(a,b,c){var d=0,e=0;d=1;v[a+20>>2]=1;if(b){while(1){d=Od(a,d,c)|v[a+20>>2]<<1;v[a+20>>2]=d;e=e+1|0;if((e|0)!=(b|0)){continue}break}}return(-1<>2];c=v[d+140>>2];pl(d,b);v[a+24>>2]=v[c+40>>2]<<6;v[a+28>>2]=0-(v[c+44>>2]<<6);v[a+36>>2]=x[c+4>>1]<<6;return 0}function WWa(a,b){a=a|0;b=b|0;var c=0;c=v[a>>2];b=v[c+132>>2];pl(c,0);c=x[b+80>>1];v[a+24>>2]=c<<6;v[a+28>>2]=c-x[b+96>>1]<<6;v[a+36>>2]=x[b+102>>1]<<6;return 0}function Tya(a,b,c,d,e,f,g,h,i,j,k,l,m){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;m=m|0;Ub[v[v[a>>2]+288>>2]](a,b,c,d,e,f,g,0,0,m)}function Ml(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=-1;e=v[a+8>>2];c=(e&c>>31)+c|0;if(!((c|0)<0|(c|0)>=(e|0))){a=v[a+12>>2];b=af(a+c|0,b);d=b?b-a|0:-1}return d|0}function K3(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Qb-16|0;Qb=d;a=WK(v[a>>2],b,b>>31,c&255,d+8|0);if(a){v[299402]=a;a=-1}else{a=0}Qb=d+16|0;return(a?-1:v[d+8>>2])|0}function Ihb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Qb-16|0;Qb=c;d=w[a+16|0];e=v[a+12>>2];v[c+8>>2]=w[a+17|0];v[c+4>>2]=d;v[c>>2]=e;wc(b,55225,c);Qb=c+16|0;return 0}function IYa(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;Ub[v[v[a+472>>2]+12>>2]](a,b,v[c>>2],(v[f>>2]<<2)+e|0);v[f>>2]=v[f>>2]+1;v[c>>2]=v[c>>2]+1}function H0a(a,b){a=a|0;b=b|0;var c=0;b=v[a>>2];c=v[b+488>>2];v[a+24>>2]=v[b+420>>2];v[a+28>>2]=v[b+424>>2];v[a+20>>2]=v[c+20>>2];v[a+16>>2]=v[c+24>>2];return 0}function Gf(a,b){var c=0;v[a>>2]=7;c=fc(24);v[299999]=0;Q(3788,c|0,b|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){v[a+8>>2]=c;return}a=P()|0;O()|0;dc(c);T(a|0);L()}function C0a(a,b){a=a|0;b=b|0;var c=0;b=v[a>>2];c=v[b+488>>2];v[a+24>>2]=v[b+420>>2];v[a+28>>2]=v[b+424>>2];v[a+20>>2]=v[c+20>>2];v[a+16>>2]=v[c+28>>2];return 0}function bua(a){a=a|0;a=v[v[a>>2]-12>>2]+a|0;v[a+60>>2]=977200;v[a>>2]=977180;v[a+8>>2]=977356;if(t[a+51|0]<=-1){dc(v[a+40>>2])}kh(a+8|0);lf(a+60|0);return a|0}function Wr(a,b,c,d){var e=0;e=Qb-16|0;Qb=e;a:{if(a){if(v[a+172>>2]==-1?v[a+212>>2]:0){break a}v[a+84>>2]=b}v[e>>2]=d;oc(0,0,0,a,0,1,b,2,d,0,0,0,c,e)}Qb=e+16|0}function Sra(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;a:{if(!a|!d){break a}f=f-e|0;c=c-b|0;c=(c|0)>(f|0)?f:c;if((c|0)<0){break a}Wd(a+b|0,d+e|0,c+1|0)}}function Rq(a,b){a=a|0;b=b|0;var c=0;if(w[a+11|0]>>>7|0){c=v[a+4>>2]}else{c=w[a+11|0]}if(c>>>0<=b>>>0){El(a);L()}if(w[a+11|0]>>>7|0){a=v[a>>2]}return(b<<2)+a|0}function I6a(a){a=a|0;var b=0;v[a>>2]=54456;b=v[a+984>>2];if(b){dc(b)}b=v[a+988>>2];if(b){dc(b)}if(v[a+976>>2]){BJ(a+976|0)}v[a>>2]=1032;_g(a);Jg(a);return a|0}function Hsa(a){a=a|0;var b=0,c=0;b=v[a+4>>2];c=v[b>>2];v[c+4>>2]=v[b+4>>2];v[v[b+4>>2]>>2]=c;v[a+12>>2]=v[a+12>>2]-1;Cd(b+8|0);dc(b);wk(a,v[a+4>>2]+8|0);ND(a)}function vfb(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[b+40>>2];a:{if(!c){break a}d=v[b+44>>2];if(!d){break a}Ub[v[a+156>>2]](d,B(c,36))}Ub[v[a+156>>2]](b,48);return 0}function Yba(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=0;while(1){if((b|0)!=(c|0)){a=v[b>>2]+(a<<4)|0;d=a&-268435456;a=(d|d>>>24)^a;b=b+4|0;continue}break}return a|0}function Tg(a,b,c,d){var e=0,f=0;a:{if(!a){break a}e=v[a+12>>2];if((e|0)>=v[a+8>>2]){break a}f=v[a>>2]+(e<<2)|0;t[f+1|0]=c;t[f+2|0]=b;t[f|0]=d;v[a+12>>2]=e+1}}function Q7a(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[b+44>>2];a:{if(!c){break a}d=v[b+48>>2];if(!d){break a}Ub[v[a+156>>2]](d,B(c,36))}Ub[v[a+156>>2]](b,52);return 0}function P5(a,b){a=a|0;b=b|0;b=Qb-16|0;Qb=b;if(ew(a)){v[a+556>>2]=496;v[a+548>>2]=496;v[a+540>>2]=496;v[b>>2]=11;a=Id(a,65536,b)}else{a=0}Qb=b+16|0;return a|0}function Nva(a,b){a=a|0;b=b|0;var c=0;c=v[b+4>>2];v[a+4>>2]=c;v[a+8>>2]=c;if(c){c=ed(c,4);v[a>>2]=c;gc(c,v[b>>2],v[a+4>>2]<<2);return a|0}v[a>>2]=0;return a|0}function KVa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;A[a+160>>3]=A[b>>3];A[a+168>>3]=A[c>>3];A[a+176>>3]=A[b>>3]+A[d>>3];A[a+184>>3]=A[c>>3]+A[e>>3];return 0}function F_(a){var b=0,c=0;b=v[a+32>>2];if(y[a+36>>2]<=b+3>>>0){v[a+32>>2]=b;return 0}c=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);v[a+32>>2]=b+4;return c}function EHa(a,b){a=a|0;b=b|0;var c=0;c=Qb-16|0;Qb=c;a=v[a+104>>2];b=v[b+472>>2];t[c+15|0]=(b|0)==1?2:(b|0)==2?1:b;Ub[v[v[a>>2]+100>>2]](a,c+15|0)|0;Qb=c+16|0}function rw(a,b,c){var d=0;d=Qb-16|0;Qb=d;v[d+8>>2]=a;Qb=d+16|0;d=v[d+8>>2];a=Qb-16|0;Qb=a;v[a+8>>2]=b;Qb=a+16|0;a=v[a+8>>2]-d|0;if(a){Wd(c,d,a)}return a+c|0}function m2a(a){a=a|0;var b=0;b=v[a+456>>2];v[b+24>>2]=1;v[b+16>>2]=0;v[b+20>>2]=0;v[b>>2]=176;Ub[v[v[a>>2]+16>>2]](a);Ub[v[v[a+460>>2]>>2]](a);v[a+160>>2]=0}function j_a(a,b){a=a|0;b=b|0;var c=0;c=Ub[v[a+516>>2]](a,1668112752,b,a+512|0)|0;if(!c){c=Xh(b,v[a+512>>2],a+508|0);if(!c){return 0}v[a+512>>2]=0}return c|0}function R6a(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1347571533){pc(a,2050,0,0);return 2050}t[b+32|0]=w[c+32|0];t[b+33|0]=w[c+33|0];t[b+34|0]=w[c+34|0];return 0}function R5(a,b){a=a|0;b=b|0;b=Qb-16|0;Qb=b;if(ew(a)){v[a+556>>2]=496;v[a+548>>2]=496;v[a+540>>2]=496;v[b>>2]=7;a=Id(a,65536,b)}else{a=0}Qb=b+16|0;return a|0}function $ba(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=0;while(1){if((b|0)!=(c|0)){a=t[b|0]+(a<<4)|0;d=a&-268435456;a=(d|d>>>24)^a;b=b+1|0;continue}break}return a|0}function yIa(a){a=a|0;var b=0;if(a){b=v[a>>2];if(b){Ub[v[259708]](b)}b=v[a+4>>2];if(b){Ub[v[259708]](b)}b=v[a+8>>2];if(b){Ub[v[259708]](b)}Ub[v[259708]](a)}}function lL(a){var b=0;b=ra(8)|0;v[299999]=0;Q(5940,b|0,a|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){qa(b|0,1022956,108);L()}a=P()|0;O()|0;ta(b|0);T(a|0);L()}function ih(a){a:{a=v[a>>2];if(a){v[299999]=0;if(a){v[282445]=(a|0)==-1?1197652:a}a=v[299999];v[299999]=0;if((a|0)==1){break a}}return}W(0)|0;O()|0;lc();L()}function hdb(a){a=a|0;var b=0,c=0;if(v[a+588>>2]>=1){b=v[a+644>>2];while(1){t[b|0]=w[b|0]>>>1;b=b+1|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function gdb(a){a=a|0;var b=0,c=0;if(v[a+588>>2]>=1){b=v[a+644>>2];while(1){t[b|0]=w[b|0]>>>3;b=b+1|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function fdb(a){a=a|0;var b=0,c=0;if(v[a+588>>2]>=1){b=v[a+644>>2];while(1){t[b|0]=w[b|0]>>>7;b=b+1|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function fK(a){a=a|0;var b=0;b=v[a+56>>2];if(b){dc(b)}b=v[a- -64>>2];if(b){dc(b)}b=v[a+68>>2];if(b){dc(b)}b=v[a+76>>2];if(b){dc(b)}a=v[a+80>>2];if(a){dc(a)}}function f0a(a){a=a|0;var b=0;if(a){v[a+412>>2]=0;v[a+4>>2]=0;v[a+1960>>2]=0;v[a+1444>>2]=0;v[a+928>>2]=0;v[a+208>>2]=0;b=v[a>>2];if(a){Ub[v[b+8>>2]](b,a)}}}function ddb(a){a=a|0;var b=0,c=0;if(v[a+588>>2]>=1){b=v[a+644>>2];while(1){t[b|0]=w[b|0]>>>2;b=b+1|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function cdb(a){a=a|0;var b=0,c=0;if(v[a+588>>2]>=1){b=v[a+644>>2];while(1){t[b|0]=w[b|0]>>>6;b=b+1|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function adb(a){a=a|0;var b=0,c=0;if(v[a+588>>2]>=1){b=v[a+644>>2];while(1){t[b|0]=w[b|0]>>>4;b=b+1|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function VFa(a,b,c){a=a|0;b=b|0;c=c|0;if(!Rr(a,b,4)){return 0}a=(b-v[a+1040>>2]|0)+a|0;v[c>>2]=w[a+16|0]|w[a+17|0]<<8|(w[a+18|0]<<16|w[a+19|0]<<24);return 1}function Oab(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;if(f){if(((c+1|0)/2|0)>(b|0)){gc(g,e,d);return 0}gc(g,f,d);return 0}gc(g,e,d);return 0}function M7a(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[b+36>>2];a:{if(!c){break a}d=v[b+40>>2];if(!d){break a}Ub[v[a+156>>2]](d,c+1|0)}Ub[v[a+156>>2]](b,44);return 0}function Ho(a,b){var c=0;a:{if(!a|(b|0)<0){break a}if(v[a>>2]<=(b|0)){return 0}a=v[v[a+12>>2]+(b<<2)>>2];if(!a){break a}v[a+16>>2]=v[a+16>>2]+1;c=a}return c}function Gfb(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[b+28>>2];a:{if(!c){break a}d=v[b+32>>2];if(!d){break a}Ub[v[a+156>>2]](d,c+1|0)}Ub[v[a+156>>2]](b,36);return 0}function Fe(a){a=a|0;var b=0,c=0;a=v[a>>2];a=v[(a?a+12|0:1129608)>>2];b=w[a|0];if(b){while(1){c=c<<6^c^b;b=w[a+1|0];a=a+1|0;if(b){continue}break}}return c|0}function C_(a,b){var c=0,d=0;a:{if(!a|!b){break a}a=v[a>>2];if(!a){return}while(1){d=v[a+4>>2];c=Ub[b|0](a,0)|0;if(c){break a}a=c?a:d;if(a){continue}break}}}function wq(a){var b=0,c=0;a:{if(!a){break a}b=v[a>>2];if(!b){break a}c=v[b+8>>2];v[b+8>>2]=c-1;if((c|0)<=1){dc(v[b+12>>2]);dc(v[b+16>>2]);dc(b)}v[a>>2]=0}}function wdb(a){a=a|0;var b=0,c=0;if(v[a+588>>2]>=1){b=v[a+644>>2];while(1){t[b|0]=w[b|0]<<1;b=b+1|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function vdb(a){a=a|0;var b=0,c=0;if(v[a+588>>2]>=1){b=v[a+644>>2];while(1){t[b|0]=w[b|0]<<3;b=b+1|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function udb(a){a=a|0;var b=0,c=0;if(v[a+588>>2]>=1){b=v[a+644>>2];while(1){t[b|0]=w[b|0]<<7;b=b+1|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function tfb(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[b+28>>2];a:{if(!c){break a}d=v[b+32>>2];if(!d){break a}Ub[v[a+156>>2]](d,c<<1)}Ub[v[a+156>>2]](b,36);return 0}function sp(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((c|0)>=2){while(1){t[b|0]=w[a+1|0];t[b+1|0]=w[a|0];a=a+2|0;b=b+2|0;d=(c|0)>3;c=c-2|0;if(d){continue}break}}}function rdb(a){a=a|0;var b=0,c=0;if(v[a+588>>2]>=1){b=v[a+644>>2];while(1){t[b|0]=w[b|0]<<2;b=b+1|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function qdb(a){a=a|0;var b=0,c=0;if(v[a+588>>2]>=1){b=v[a+644>>2];while(1){t[b|0]=w[b|0]<<6;b=b+1|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function qS(a,b){var c=0,d=0;c=Qb-112|0;Qb=c;a:{if(!a){v[c>>2]=b;a=v[252391];wc(a,15611,c);ff(10,a);break a}d=c+16|0;BE(v[a+348>>2],d,b);Gc(a,d)}Qb=c+112|0}function odb(a){a=a|0;var b=0,c=0;if(v[a+588>>2]>=1){b=v[a+644>>2];while(1){t[b|0]=w[b|0]<<4;b=b+1|0;c=c+1|0;if((c|0)>2]){continue}break}}return 0}function cga(a){a=a|0;var b=0;v[a>>2]=995680;b=v[a+36>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}v[a+24>>2]=0;v[a+28>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;zt(a);return a|0}function cHa(a,b){a=a|0;b=b|0;var c=0;b=Qb-16|0;Qb=b;if(!w[a+208|0]){c=v[a+104>>2];v[b+12>>2]=2048;Ub[v[v[c>>2]+288>>2]](c,b+12|0)|0;t[a+201|0]=1}Qb=b+16|0}function aG(a){var b=0;a:{b:{if(!w[1176924]){b=jc(4);v[294232]=b;if(!b){break b}t[1176924]=1;if(!a){break b}break a}if(a){break a}}return}v[a>>2]=v[a>>2]+1}function Rfb(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[b+48>>2];a:{if(!c){break a}d=v[b+52>>2];if(!d){break a}Ub[v[a+156>>2]](d,c<<1)}Ub[v[a+156>>2]](b,60);return 0}function R7a(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[b+52>>2];a:{if(!c){break a}d=v[b+56>>2];if(!d){break a}Ub[v[a+156>>2]](d,c<<2)}Ub[v[a+156>>2]](b,60);return 0}function P7a(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[b+32>>2];a:{if(!c){break a}d=v[b+36>>2];if(!d){break a}Ub[v[a+156>>2]](d,c<<1)}Ub[v[a+156>>2]](b,40);return 0}function M0(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[b+32>>2];a:{if(!c){break a}d=v[b+36>>2];if(!d){break a}Ub[v[a+156>>2]](d,c+1|0)}Ub[v[a+156>>2]](b,40);return 0}function K7a(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[b+32>>2];a:{if(!c){break a}d=v[b+36>>2];if(!d){break a}Ub[v[a+156>>2]](d,c<<2)}Ub[v[a+156>>2]](b,40);return 0}function I7a(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[b+32>>2];a:{if(!c){break a}d=v[b+36>>2];if(!d){break a}Ub[v[a+156>>2]](d,c<<3)}Ub[v[a+156>>2]](b,40);return 0}function Cba(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Qb-16|0;Qb=e;v[e+12>>2]=b;v[e+8>>2]=d;b=Nk(e,e+12|0);a=pN(a,c,v[e+8>>2]);ih(b);Qb=e+16|0;return a|0}function BF(a){a=a|0;var b=0;if(a){Yi(a);oh(v[a+32>>2],v[a+40>>2]);b=v[a+8>>2];if(b){Ub[v[259708]](b)}b=v[a+48>>2];if(b){Ub[v[259708]](b)}Ub[v[259708]](a)}}function z8(a){a=a|0;var b=0;a=v[a+8>>2];if(!a){return 1}v[299999]=0;a=S(5681,a|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){return a|0}W(0)|0;O()|0;lc();L()}function ml(a,b,c){a=a|0;b=+b;c=+c;var d=0,e=0;d=v[a+264>>2];if(d>>>0<=31){A[a+256>>3]=b+c+A[a+256>>3];e=(d<<3)+a|0;A[e>>3]=b;v[a+264>>2]=d+2;A[e+8>>3]=c}}function dDa(a,b,c){a=a|0;b=b|0;c=c|0;c=v[a+8>>2];Ub[v[v[c>>2]+300>>2]](c,v[a+28>>2],v[b>>2]==1?+v[b+8>>2]:A[b+8>>3],v[b+16>>2]==1?+v[b+24>>2]:A[b+24>>3])}function aua(a){a=a|0;a=v[v[a>>2]-12>>2]+a|0;v[a+60>>2]=977200;v[a>>2]=977180;v[a+8>>2]=977356;if(t[a+51|0]<=-1){dc(v[a+40>>2])}kh(a+8|0);lf(a+60|0);dc(a)}function VUa(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;g=1;a=v[a+16>>2];if(!(!a|!b)){tY(a,b,A[c>>3],A[d>>3],A[e>>3],A[f>>3]);g=0}return g|0}function Qk(a){var b=0,c=0;b=a*a;c=b*a;return C(c*(b*b)*(b*2718311493989822e-21+-.00019839334836096632)+(c*(b*.008333329385889463+-.16666666641626524)+a))}function N6(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Qb-16|0;Qb=d;e=d+8|0;Ub[v[v[a>>2]+12>>2]](e,a,b);Qb=d+16|0;return v[e>>2]==v[c>>2]&v[e+4>>2]==v[c+4>>2]}function IRa(a){a=a|0;var b=0,c=0;b=fc(336);v[299999]=0;a=Q(2491,b|0,a|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){return a|0}a=P()|0;O()|0;dc(b);T(a|0);L()}function G6a(a){a=a|0;var b=0;v[a>>2]=54456;b=v[a+984>>2];if(b){dc(b)}b=v[a+988>>2];if(b){dc(b)}if(v[a+976>>2]){BJ(a+976|0)}v[a>>2]=1032;_g(a);Jg(a);dc(a)}function $G(a){a=a|0;var b=0;v[a>>2]=466364;a:{if(!v[a+12>>2]){break a}b=v[a+8>>2];if(!b){break a}Ub[v[v[b>>2]+4>>2]](b);v[a+8>>2]=0}Cd(a+20|0);return a|0}function sfa(a,b){a=a|0;b=b|0;v[a+200>>2]=1;v[a+204>>2]=0;v[a+208>>2]=0;v[a+212>>2]=0;v[a+224>>2]=0;v[a+228>>2]=0;t[a+49|0]=1;v[a+232>>2]=0;v[a+236>>2]=0}function SYa(a,b,c){a=a|0;b=b|0;c=c|0;a=v[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=a+b&-64|32;return((a|0)<0?32:a)|0}a=a-b&-64;return((a|0)<-32?-32:-32-a|0)|0}function Rc(a,b,c,d){var e=0,f=0;e=B(b,c);f=e;a:{if(v[d+76>>2]<=-1){a=iw(a,e,d);break a}a=iw(a,e,d)}if((f|0)==(a|0)){return b?c:0}return(a>>>0)/(b>>>0)|0}function zfb(a,b){a=a|0;b=b|0;return Y0(a,x[b+28>>1],x[b+30>>1],w[b+32|0],x[b+34>>1],x[b+36>>1],x[b+38>>1],x[b+40>>1],x[b+42>>1],x[b+44>>1],w[b+46|0])|0}function zc(a,b,c,d){var e=0;e=Qb-16|0;Qb=e;v[e+12>>2]=d;d=v[256926];if(d){Ub[d|0](b,c,v[e+12>>2])}d=v[282619];if(d){Ub[d|0](a,b,c,v[e+12>>2])}Qb=e+16|0}function mS(a,b,c){var d=0;d=8;a:{if(c>>>0>8){break a}d=c;if(d){break a}return-1}if(b>>>0<=7){a=Pc(a+b|0,b+74448|0,b+d>>>0>8?8-b|0:d)}else{a=-1}return a}function mDa(a,b,c){a=a|0;b=b|0;c=c|0;c=v[a+28>>2];A[c+568>>3]=(v[b>>2]==1?+v[b+8>>2]:A[b+8>>3])*.01;b=v[a+8>>2];Ub[v[v[b>>2]+180>>2]](b,c);v[a+32>>2]=1}function Wxa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=v[a+28>>2];e=d+v[a+32>>2]|0;b=(c|0)>-1?b:e-b|0;v[a+40>>2]=v[a+24>>2]+(b>>>0>>0?d:b>>>0>e>>>0?e:b)}function TYa(a,b,c){a=a|0;b=b|0;c=c|0;a=v[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=(a+b|0)+32&-64;return((a|0)>0?a:0)|0}a=0-((a-b|0)+32&-64)|0;return a>>31&a}function Rxa(a){a=a|0;var b=0,c=0;c=v[a+32>>2];a:{if(v[a+28>>2]){b=-1;if(!c){break a}}v[a+32>>2]=c-1;a=v[a+24>>2];b=Ub[v[v[a>>2]+28>>2]](a)|0}return b|0}function QYa(a,b,c){a=a|0;b=b|0;c=c|0;a=v[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=(a+b|0)+63&-64;return((a|0)>0?a:0)|0}a=0-((a-b|0)+63&-64)|0;return a>>31&a}function PH(a,b,c){var d=0;a:{if(c>>>0<2){break a}while(1){d=w[b|0];if(!d){break a}t[a|0]=d;a=a+1|0;b=b+1|0;c=c-1|0;if(c>>>0>1){continue}break}}t[a|0]=0}function Nta(a){a=a|0;v[a+64>>2]=977544;v[a>>2]=977504;v[a+12>>2]=977356;v[a+8>>2]=977524;if(t[a+55|0]<=-1){dc(v[a+44>>2])}kh(a+12|0);lf(a- -64|0);dc(a)}function MYa(a,b,c){a=a|0;b=b|0;c=c|0;a=v[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=(a+b|0)+16&-32;return((a|0)>0?a:0)|0}a=0-((a-b|0)+16&-32)|0;return a>>31&a}function Ld(a,b,c,d){var e=0;e=Qb-16|0;Qb=e;v[e+12>>2]=d;d=v[256925];if(d){Ub[d|0](b,c,v[e+12>>2])}d=v[282621];if(d){Ub[d|0](a,b,c,v[e+12>>2])}Qb=e+16|0}function J7a(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[b+40>>2];a:{if(!c){break a}d=v[b+44>>2];if(!d){break a}Ub[v[a+156>>2]](d,c)}Ub[v[a+156>>2]](b,48);return 0}function FF(a){a=a|0;var b=0,c=0;b=-1;a:{if(!a){break a}c=v[a+64>>2];if(!c){break a}b=0;if(!v[a+68>>2]|v[c+4>>2]!=1){break a}v[a+68>>2]=0;b=1}return b|0}function uo(a,b){var c=0;a:{if(!a){break a}c=w[a|0];if(!c){break a}while(1){if((b|0)==(c|0)){return a}c=w[a+1|0];a=a+1|0;if(c){continue}break}}return 0}function hr(a,b){a=a|0;b=b|0;v[a+20>>2]=b;if(b>>>0>=32768){xt(a,1-(v[a+32>>2]>>>15|0)|0);v[a+32>>2]=v[a+32>>2]<<1&65534;v[a+20>>2]=v[a+20>>2]<<1&65534}}function f$(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=v[a+540>>2];v[d>>2]=0;v[d+4>>2]=0;if(e){f=d,g=Ub[v[e+84>>2]](a,b,c)|0,v[f>>2]=g}return 0}function eJ(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[b+36>>2];a:{if(!c){break a}d=v[b+40>>2];if(!d){break a}Ub[v[a+156>>2]](d,c)}Ub[v[a+156>>2]](b,44);return 0}function bHa(a){a=a|0;var b=0,c=0;b=Qb-16|0;Qb=b;if(!w[a+208|0]){c=v[a+104>>2];v[b+12>>2]=2048;Ub[v[v[c>>2]+292>>2]](c,b+12|0)|0;t[a+201|0]=0}Qb=b+16|0}function U8(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;while(1){if((b|0)!=(c|0)){a=v[b>>2];t[e|0]=a>>>0<128?a:d;e=e+1|0;b=b+4|0;continue}break}return c|0}function T8(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((c|0)>=1){a=v[a+12>>2];while(1){kM(v[a>>2],b);a=a+4|0;b=b+12|0;d=(c|0)>1;c=c-1|0;if(d){continue}break}}}function N1(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[b+32>>2];a:{if(!c){break a}d=v[b+36>>2];if(!d){break a}Ub[v[a+156>>2]](d,c)}Ub[v[a+156>>2]](b,40);return 0}function vka(){var a=0;a=Qb-32|0;Qb=a;v[a+24>>2]=268;v[a+28>>2]=0;v[a+20>>2]=341996;v[a+16>>2]=241646;v[a+8>>2]=989204;v[a+12>>2]=217929;KO(a+8|0);L()}function ur(a){a=a|0;var b=0,c=0;b=v[a+84>>2];a:{if((b|0)>-1){break a}b=-1;c=v[a+16>>2];if(!c){break a}b=ur(c);b=(b|0)>-1?b-v[a+80>>2]|0:-1}return b|0}function gn(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;v[a+24>>2]=b;v[a+12>>2]=v[c>>2];v[a+16>>2]=v[d>>2];b=v[e>>2];t[a+28|0]=0;v[a+20>>2]=b;v[a+8>>2]=0}function gha(a,b){a=a|0;b=b|0;var c=0;c=Qb-16|0;Qb=c;v[c+12>>2]=v[a+12>>2]+b;Ub[v[v[a>>2]+60>>2]](a,c+12|0)|0;Qb=c+16|0;return v[c+12>>2]-v[a+12>>2]|0}function eVa(a){a=a|0;var b=0;b=1;a:{if(!v[a+16>>2]){break a}a=v[a+20>>2];if(!a){break a}a=v[a+4>>2];t[a+25|0]=0;v[a+20>>2]=0;v[a>>2]=0;b=0}return b|0}function bga(a){a=a|0;var b=0;v[a>>2]=995680;b=v[a+36>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}v[a+24>>2]=0;v[a+28>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0;zt(a);dc(a)}function Zh(a){var b=0,c=0;a:{if(!a){break a}b=v[a>>2];if(!b){break a}c=v[b+8>>2];v[b+8>>2]=c-1;if((c|0)<=1){c=v[b+20>>2];if(c){dc(c)}dc(b)}v[a>>2]=0}}function Wva(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=v[a+116>>2];b=v[a+160>>2];if(b){uc(b)}b=ed(d,4);v[a+160>>2]=b;gc(b,c,d<<2);v[a+200>>2]=0;v[a+164>>2]=d}function Q3(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=v[a+12>>2];e=v[a+8>>2]-d|0;c=(c|0)>(e|0)?e:c;gc(b,d+v[a>>2]|0,c);v[a+12>>2]=c+v[a+12>>2];return c|0}function CRa(a){a=a|0;var b=0;v[a>>2]=466364;a:{if(!v[a+12>>2]){break a}b=v[a+8>>2];if(!b){break a}Ub[v[v[b>>2]+4>>2]](b);v[a+8>>2]=0}Cd(a+20|0);dc(a)}function B3a(a){a=a|0;var b=0,c=0;b=v[a+20>>2];if(b-200>>>0>=11){c=v[a>>2];v[c+24>>2]=b;v[c+20>>2]=21;Ub[v[v[a>>2]>>2]](a)}return v[v[a+456>>2]+20>>2]}function uu(a){var b=0;b=v[a+40>>2];if(b){dc(Sr(b))}b=v[a+24>>2];if(b){v[a+28>>2]=b;dc(b)}b=v[a+12>>2];if(b){dc(b)}b=v[a>>2];if(b){v[a+4>>2]=b;dc(b)}}function uL(a,b){v[a>>2]=1022676;v[a>>2]=1022748;v[299999]=0;Q(5936,a+4|0,b|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){return}a=P()|0;O()|0;T(a|0);L()}function t7(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Bc(b);d=fc(c+13|0);v[d+8>>2]=0;v[d+4>>2]=c;v[d>>2]=c;e=a,f=gc(d+12|0,b,c+1|0),v[e>>2]=f;return a|0}function t6(a,b){a=a|0;b=b|0;v[a+556>>2]=477;v[a+548>>2]=477;v[a+540>>2]=477;v[a+568>>2]=478;v[a+560>>2]=479;v[a+552>>2]=479;v[a+544>>2]=479;return 1}function q3a(a){a=a|0;var b=0,c=0;b=v[a+20>>2];if(b-202>>>0>=9){c=v[a>>2];v[c+24>>2]=b;v[c+20>>2]=21;Ub[v[v[a>>2]>>2]](a)}return v[v[a+456>>2]+16>>2]}function eEa(a){a=a|0;var b=0;b=fc(1072);v[299999]=0;Q(3399,b|0,a|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){return b|0}a=P()|0;O()|0;dc(b);T(a|0);L()}function SEa(a,b){a=a|0;b=b|0;a:{if(b){v[a>>2]=b;b=0;break a}b=fc(464);v[a>>2]=b;ic(b,0,464);b=1}t[a+4|0]=0;t[a+512|0]=b;ic(a+260|0,0,252);return a|0}function L8(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;while(1){if((b|0)!=(c|0)){a=t[b|0];t[e|0]=(a|0)>-1?a:d;e=e+1|0;b=b+1|0;continue}break}return c|0}function Fk(a,b,c,d){var e=0,f=0,g=0;e=d<<8;f=65535-e|0;g=b;b=d-255|0;return f+B(g,b)&16776960|B(b,c)+f>>>8|(B(a,b)-e<<8)+16776960&16711680|-16777216}function Fib(a){var b=C(0),c=C(0);b=C(H(a));c=C(a-b);if(!(cC(.5)){return a}c=a;a=C(b*C(.5));b=C(a-C(H(a)))==C(0)?b:c}return b}function Er(a,b){var c=0;a:{if(a-1>>>0>253){break a}c=H(de(+(a>>>0)/255,+(b|0)*1e-5)*255+.5);if(c<4294967296&c>=0){a=~~c>>>0;break a}a=0}return a&255}function zX(a,b,c){var d=0,e=0;d=+z[b>>2];e=+z[c>>2];z[b>>2]=A[a+56>>3]+(A[a+24>>3]*d+A[a+40>>3]*e);z[c>>2]=A[a- -64>>3]+(A[a+32>>3]*d+A[a+48>>3]*e)}function y2(a,b,c){var d=0;d=1;a:{if(!c){break a}c=(a|0)%3|0;if(c-1>>>0>=2){if(!c){break a}X(3794,7464,130,188981);L()}d=(b+10|0)>(a|0)?1:2}return d}function x3(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)==12){c=-1;a:{if(og(b,a+12|0)){break a}if(og(b,a+16|0)){break a}c=og(b,a+20|0)?-1:0}return c|0}ia();L()}function tdb(a){a=a|0;var b=0,c=0;a:{c=v[a+4>>2];if(c){b=v[a+16>>2];if((b|0)>2]){break a}}t[a+24|0]=1;return-1}v[a+16>>2]=b+1;return w[b+c|0]}function s1(a){var b=0,c=0;a:{if(w[a+346|0]){break a}t[a+346|0]=1;b=v[a+168>>2];if(!b){break a}if(Ub[b|0](a)|0){break a}c=901;pc(a,901,0,0)}return c}function We(a,b,c){var d=0;a:{if(b>>>0<=2147483646){d=b+1|0;if((d|0)>2]){break a}}v[c>>2]=0;return 0}a=v[a+8>>2];return w[a+b|0]<<8|w[a+d|0]}function Uh(a,b,c,d,e){var f=0;f=v[a+16>>2];if(f){return Ub[f|0](v[a+28>>2],b,c,d,e)|0}if(d){a=-1}else{a=Ub[v[a+40>>2]](v[a+28>>2],b,c,e)|0}return a}function S4(a){a=a|0;var b=0,c=0;b=Qb-224|0;Qb=b;c=b+16|0;Ub[v[v[a>>2]+12>>2]](a,c);a=v[v[a+828>>2]+628>>2];v[b>>2]=c;Ld(a,30279,31481,b);Qb=b+224|0}function QAa(a){a=a|0;var b=0;b=fc(336);v[299999]=0;Q(3556,b|0,a|0)|0;a=v[299999];v[299999]=0;if((a|0)!=1){return b|0}a=P()|0;O()|0;dc(b);T(a|0);L()}function Ofb(a,b){a=a|0;b=b|0;return g1(a,x[b+30>>1],x[b+28>>1],w[b+32|0],t[b+33|0],w[b+34|0],w[b+35|0],t[b+36|0],w[b+37|0],v[b+40>>2],v[b+44>>2])|0}function LD(a){a=a|0;var b=0,c=0;v[a>>2]=981312;b=v[a+4>>2];a:{if(!b){break a}c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(c){break a}Ub[v[v[b>>2]+4>>2]](b)}dc(a)}function He(a){var b=0,c=0,d=0;c=a;d=v[a+36>>2];a=v[a+32>>2];if(d>>>0>a+1>>>0){b=w[a|0]|w[a+1|0]<<8;b=b<<8|b>>>8;a=a+2|0}v[c+32>>2]=a;return b&65535}function xl(a){var b=0,c=0;if((a|0)>=0){b=-1;if(a){while(1){b=b+1|0;c=a>>>0>1;a=a>>>1|0;if(c){continue}break}}return b}X(11786,7048,113,189050);L()}function w5(a){a=a|0;var b=0,c=0;b=Qb-224|0;Qb=b;c=b+16|0;Ub[v[v[a>>2]+12>>2]](a,c);a=v[v[a+12>>2]+628>>2];v[b>>2]=c;Ld(a,62414,62523,b);Qb=b+224|0}function rFa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;v[a>>2]=d;v[a+4>>2]=0;Ng(a,d);gc(v[a+4>>2],v[b+4>>2]+c|0,v[a>>2]);t[v[a+4>>2]+v[a>>2]|0]=0;return a|0}function q_(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Qb-16|0;Qb=c;v[b>>2]=0;d=Fd(a,4,c+12|0);e=v[c+12>>2];if(!e){v[d>>2]=a;v[b>>2]=d}Qb=c+16|0;return e|0}function q6(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;if(Oi(a,v[b+8>>2],f)){GB(b,c,d,e);return}a=v[a+8>>2];Ub[v[v[a>>2]+20>>2]](a,b,c,d,e,f)}function lc(){var a=0;a=v[282570];v[299999]=0;ba(a|0);a=v[299999];v[299999]=0;if((a|0)!=1){v[299999]=0;L()}a=W(0)|0;O()|0;ea(a|0)|0;v[299999]=0;L()}function bsa(a){a=a|0;var b=0,c=0;v[a>>2]=981312;b=v[a+4>>2];if(b){c=v[b+4>>2]-1|0;v[b+4>>2]=c;if(!c){Ub[v[v[b>>2]+4>>2]](b)}v[a+4>>2]=0}return a|0}function _ya(a,b,c,d,e){a=a|0;b=+b;c=+c;d=d|0;e=e|0;A[d>>3]=A[a+88>>3]+(A[a+56>>3]*b+A[a+72>>3]*c);A[e>>3]=A[a+96>>3]+(A[a- -64>>3]*b+A[a+80>>3]*c)}function Wo(a){var b=0,c=0;if((a|0)>=1){if((a|0)!=1){while(1){b=b+1|0;c=a>>>0>3;a=a>>>1|0;if(c){continue}break}}return b}X(3670,7048,94,189036);L()}function Pcb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{d=a?v[a+180>>2]:0;if(d){if((Ub[v[v[d>>2]+12>>2]](d,b,1,c,0,0)|0)==(c|0)){break a}}hd(a,20526);L()}}function K6(a,b){a=a|0;b=b|0;var c=0;c=a;if(w[b+11|0]>>>7|0){a=v[b>>2]}else{a=b}if(w[b+11|0]>>>7|0){b=v[b+4>>2]}else{b=w[b+11|0]}return UB(c,a,b)|0}function Ik(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{if(!v[a+964>>2]){break a}if(!Ft(a,b,c)){break a}d=w[v[a+964>>2]+(B(v[a+16>>2],c)+b|0)|0]}return d|0}function FQa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;if(!v[a+12>>2]){return 0}f=a+16|0;BX(f,b,c,z[d>>2],z[e>>2]);kX(v[a+12>>2],f);return 1}function EQa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;if(!v[a+12>>2]){return 0}f=a+16|0;BX(f,b,c,z[d>>2],z[e>>2]);TG(v[a+12>>2],f);return 1}function $ca(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[a+40>>2];while(1){if(c){c=c-1|0;d=c<<2;Ub[v[v[a+32>>2]+d>>2]](b,a,v[d+v[a+36>>2]>>2]);continue}break}}function xo(a,b){if(v[a+16>>2]){a=Ub[v[a+12>>2]](v[a+28>>2],b)|0;return a}b=Ub[v[a+36>>2]](v[a+28>>2],b)|0;a=(b|0)==-1;b=a?-1:b;Tb=a?-1:0;return b}function V1a(a,b){a=a|0;b=b|0;var c=0;c=v[a>>2];pl(c,b);v[a+24>>2]=v[c+204>>2]<<6;v[a+28>>2]=0-(v[c+208>>2]<<6);v[a+36>>2]=u[c+236>>1]<<6;return 0}function OJ(a){var b=0,c=0;b=jc(16);if(!b){return 0}c=v[a+4>>2];v[b>>2]=v[a>>2];v[b+4>>2]=c;c=v[a+12>>2];v[b+8>>2]=v[a+8>>2];v[b+12>>2]=c;return b}function B_(a,b){var c=0,d=0;if(!(!a|!b)){c=v[a>>2];if(c){while(1){d=v[c+4>>2];Ub[v[b+8>>2]](b,c);c=d;if(c){continue}break}}v[a>>2]=0;v[a+4>>2]=0}}function wAa(a){a=a|0;var b=0;v[a>>2]=936712;b=v[a+20>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)!=1){return a|0}W(0)|0;O()|0;lc();L()}function kd(a,b,c){var d=0,e=0,f=0;d=v[a+204>>2];if(!(!c|((w[a+351|0]&32?(d&768)!=768:!(d&2048))|0)!=1)){e=a,f=Kf(v[a+384>>2],b,c),v[e+384>>2]=f}}function eva(a){a=a|0;var b=0,c=0;b=v[v[a+4>>2]+12>>2];if(b){TD(b);b=v[a+4>>2];c=v[b+12>>2];if(c){dc(QQ(c));b=v[a+4>>2]}v[b+8>>2]=0;v[b+12>>2]=0}}function a_(a,b){a=a|0;b=b|0;var c=0;a:{if(!b){break a}a=v[a+12>>2];if((u[a+22>>1]+b|0)+u[a+58>>1]>>>0<=y[a+4>>2]){break a}c=xg(a,b,0)}return c|0}function Ssa(a,b){a=a|0;b=b|0;var c=0,d=0;v[a>>2]=0;v[a+4>>2]=0;t[a+8|0]=0;c=w[b+11|0];d=c<<24>>24<0;Tt(a,d?v[b>>2]:b,1,d?v[b+4>>2]:c);return a|0}function SK(a,b){var c=0;a=v[a>>2];c=v[b+12>>2];if(c){Ub[v[a+8>>2]](a,c)}v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=0;v[b+4>>2]=0}function Iua(a,b,c){a=a|0;b=b|0;c=c|0;if(t[c+11|0]>=0){b=v[c+4>>2];v[a>>2]=v[c>>2];v[a+4>>2]=b;v[a+8>>2]=v[c+8>>2];return}Ke(a,v[c>>2],v[c+4>>2])}function A6a(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;b=Qb-16|0;Qb=b;v[b+12>>2]=a;a=BJ(b+12|0);Qb=b+16|0;return a<<24>>24}function $V(a,b,c){a=a|0;b=b|0;c=c|0;if(aW(a,v[a+52>>2]+2|0,c)){c=v[a+52>>2];v[a+52>>2]=c+1;t[c+v[a>>2]|0]=b;t[v[a>>2]+v[a+52>>2]|0]=0}return a|0}function z2a(a,b){a=a|0;b=b|0;var c=0;c=v[a+20>>2];v[b>>2]=c<<6;v[b+8>>2]=c+v[a+32>>2]<<6;c=v[a+24>>2];v[b+12>>2]=c<<6;v[b+4>>2]=c-v[a+28>>2]<<6}function qAa(a){a=a|0;var b=0;v[a>>2]=936772;b=v[a+8>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)!=1){return a|0}W(0)|0;O()|0;lc();L()}function pN(a,b,c){var d=0;d=Qb-144|0;Qb=d;d=ic(d,0,144);v[d+76>>2]=-1;v[d+44>>2]=a;v[d+32>>2]=5444;v[d+84>>2]=a;a=sN(d,b,c);Qb=d+144|0;return a}function hH(){var a=0,b=0,c=0;b=fc(120);v[299999]=0;a=S(2341,b|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){return a}a=P()|0;O()|0;dc(b);T(a|0);L()}function Zya(a,b,c,d,e){a=a|0;b=+b;c=+c;d=d|0;e=e|0;A[d>>3]=A[a+40>>3]+(A[a+8>>3]*b+A[a+24>>3]*c);A[e>>3]=A[a+48>>3]+(A[a+16>>3]*b+A[a+32>>3]*c)}function Yk(a,b){a=a|0;b=b|0;var c=0;v[a+4>>2]=v[b+4>>2];c=w[b+8|0];t[a+8|0]=c;b=v[b>>2];v[a>>2]=b;if(!(!c|!b)){v[b+4>>2]=v[b+4>>2]+1}return a|0}function Sla(a){a=a|0;var b=0;v[a>>2]=984460;b=v[a+36>>2];if(b){id(b);dc(b)}b=v[a+64>>2];if(b){id(b);dc(b)}fd(a+40|0);fd(a+8|0);Qc(a);return a|0}function R_a(a){a=a|0;var b=0,c=0;v[a+28>>2]=0;b=v[a+36>>2];a:{if(!b){break a}c=v[a+32>>2];if(!c){break a}if(c){Ub[v[b+8>>2]](b,c)}v[a+32>>2]=0}}function Ow(a){var b=0,c=0;b=Qb-16|0;Qb=b;c=-1;a:{if(OC(a)){break a}if((Ub[v[a+32>>2]](a,b+15|0,1)|0)!=1){break a}c=w[b+15|0]}Qb=b+16|0;return c}function Gva(a,b){a=a|0;b=b|0;var c=0;c=v[a+16>>2];a:{if(c){v[c+4>>2]=b;c=a+16|0;break a}v[a+16>>2]=b;c=a+12|0}v[c>>2]=b;v[b+4>>2]=0;v[b+8>>2]=a}function Bg(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;v[a+4>>2]=c;v[a>>2]=b;if(!c){v[b>>2]=0;return a|0}e=b,f=fc(B(c,d)),v[e>>2]=f;return a|0}function tcb(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{d=a?v[a+180>>2]:0;if(d){if((Ub[v[v[d>>2]+16>>2]](d,b,1,c)|0)==(c|0)){break a}}hd(a,22698);L()}}function pn(a,b,c,d){if(c){v[c>>2]=0}if(d){v[d>>2]=0}if(!a){return}if(c){z[c>>2]=z[v[a+12>>2]+(b<<2)>>2]}if(d){z[d>>2]=z[v[a+16>>2]+(b<<2)>>2]}}function iu(a){var b=0,c=0;b=fc(8);v[299999]=0;a=Q(3064,b|0,a|0)|0;c=v[299999];v[299999]=0;if((c|0)!=1){return a}a=P()|0;O()|0;dc(b);T(a|0);L()}function io(a,b){var c=0,d=0,e=0;d=v[a>>2];e=v[b>>2];c=1;a:{if((d|0)<(e|0)){break a}c=0;if((d|0)!=(e|0)){break a}c=v[a+4>>2]>2]}return c}function hs(a,b){a:{if(a>>>0>21){break a}v[(a<<2)+1176832>>2]=b;v[299999]=0;a=v[299999];v[299999]=0;if((a|0)!=1){break a}W(0)|0;O()|0;lc();L()}}function _2a(a){a=a|0;var b=0,c=0;a=v[a>>2];b=w[a|0];if(b){while(1){c=B(c,31)+(b<<24>>24)|0;b=w[a+1|0];a=a+1|0;if(b){continue}break}}return c|0}function FB(a,b,c,d,e,f){var g=0,h=0,i=0;g=v[a+4>>2];h=g>>8;a=v[a>>2];i=a;if(g&1){h=v[v[d>>2]+h>>2]}Ub[v[v[a>>2]+20>>2]](i,b,c,d+h|0,g&2?e:2,f)}function yc(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(!(v[a+12>>2]>(b|0)&(b|0)>=0)){v[c>>2]=5;return c|0}return qf(v[a+4>>2]+(b<<4)|0,v[a>>2],c,d)|0}function v4(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=v[a+584>>2];if((b|0)==65557){v[v[c>>2]>>2]=v[d+120>>2];return 1}return Ub[v[d+128>>2]](a,b,c)|0}function sda(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=v[a+20>>2];d=v[a+16>>2]-e|0;d=c>>>0>>0?c:d;gc(e,b,d);v[a+20>>2]=d+v[a+20>>2];return c|0}function p1(a){a:{if(!w[a+496|0]){break a}if(!(Ub[v[a+240>>2]](a,1)|0)){pc(a,902,0,0);return 902}if(!w[a+496|0]){break a}t[a+497|0]=1}return 0}function gx(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[a>>2];d=v[c>>2];v[c>>2]=v[v[b>>2]>>2];v[v[b>>2]>>2]=d;c=v[a+4>>2];v[a+4>>2]=v[b+4>>2];v[b+4>>2]=c}function L9a(a,b){a=a|0;b=b|0;var c=0;if(w[b+32|0]){return _d(a,v[b>>2],0,0)|0}c=v[a+428>>2];t[c+8|0]=w[b+33|0];return _d(a,v[b>>2],1,c+8|0)|0}function KQ(a){var b=0;b=v[244302];v[a>>2]=b;v[v[b-12>>2]+a>>2]=v[244305];v[a+8>>2]=977356;if(t[a+51|0]<=-1){dc(v[a+40>>2])}kh(a+8|0);return a}function JMa(a,b){a=a|0;b=b|0;a:{if(b>>>0<=1){t[a+36|0]=0;v[a+44>>2]=16777216;if((b|0)==1){break a}}v[a+52>>2]=v[a+52>>2]&-268435456|16777216}}function Ht(a,b){var c=0,d=0;c=Bc(b);d=v[a>>2];if(d){dc(d);v[a>>2]=0}a:{if(!b){break a}d=a;c=c+1|0;a=jc(c);v[d>>2]=a;if(!a){break a}oe(a,b,c)}}function Cz(a,b,c,d){var e=0,f=0;e=v[a+84>>2];if((e|0)>=1){f=v[a+80>>2];a=(b|0)>0?b:0;a=f+B((a|0)<(e|0)?a:e-1|0,96)|0;z[a+8>>2]=d;z[a+4>>2]=c}}function wL(a){var b=0;b=v[a+4>>2];while(1){if((b|0)!=v[a+8>>2]){v[a+8>>2]=v[a+8>>2]-4;continue}break}if(v[a>>2]){b=v[a>>2];zL(v[a+16>>2],b)}}function lVa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=1;a:{if(!v[a+16>>2]){break a}a=v[a+20>>2];if(!a){break a}tj(a,A[b>>3],A[c>>3]);d=0}return d|0}function kVa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=1;a:{if(!v[a+16>>2]){break a}a=v[a+20>>2];if(!a){break a}im(a,A[b>>3],A[c>>3]);d=0}return d|0}function cR(a){a=a|0;var b=0;v[a>>2]=971168;while(1){b=v[a+12>>2];if(b){v[a+12>>2]=v[b+4>>2];Ub[v[v[b>>2]+4>>2]](b);continue}break}return a|0}function bn(a){a:{if(!w[a+8|0]){break a}a=v[a>>2];v[299999]=0;R(2744,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break a}W(0)|0;O()|0;lc();L()}}function VH(a,b){a:{if(!a){break a}a=v[a>>2];if(!a){break a}while(1){if(v[a+8>>2]==(b|0)){return a}a=v[a+4>>2];if(a){continue}break}}return 0}function St(a){a=a|0;var b=0,c=0;b=v[a+36>>2]-8|0;v[a+36>>2]=b;c=b;b=v[a+32>>2];c=c-b|0;if(!c){A[a+48>>3]=1;return}A[a+48>>3]=A[(b+c|0)-8>>3]}function PS(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;v[c+8>>2]=0;v[c>>2]=0;v[c+4>>2]=0;a=65536-v[b>>2]|0;a=(a|0)<65536?a:65536;v[c+12>>2]=(a|0)>0?a:0}function MNa(a,b,c){a=a|0;b=b|0;c=c|0;b=(b|0)>1?b:1;b=(b|0)<100?b:100;if((b|0)<=49){EG(a,5e3/((b&65535)>>>0)|0,c);return}EG(a,200-(b<<1)|0,c)}function Jka(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;v[a+20>>2]=-1;v[a+12>>2]=-1;v[a+16>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a>>2]=b;Vk(a,c,d);return a|0}function vIa(a){a=a|0;var b=0;a=a?v[a+8>>2]:0;if(a){b=v[a+4>>2];if(b){Ub[v[259708]](b)}b=v[a+12>>2];if(b){Ub[v[259708]](b)}Ub[v[259708]](a)}}function vAa(a){a=a|0;var b=0;v[a>>2]=936712;b=v[a+20>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){W(0)|0;O()|0;lc();L()}dc(a)}function rza(a){a=a|0;var b=0;v[a>>2]=938440;v[299999]=0;R(3098,a+8|0);b=v[299999];v[299999]=0;if((b|0)!=1){return a|0}W(0)|0;O()|0;lc();L()}function l8a(a,b){a=a|0;b=b|0;var c=0;c=v[a+428>>2];t[c+8|0]=w[b+32|0];t[c+9|0]=w[b+33|0];t[c+10|0]=w[b+34|0];return _d(a,v[b>>2],3,c+8|0)|0}function hu(a){a=a|0;var b=0;v[a>>2]=896644;b=v[a+4>>2];if(b){dc(Dc(b))}b=v[a+16>>2];if(b){dc(Dc(b))}b=v[a+28>>2];if(b){dc(Dc(b))}return a|0}function Ms(a,b,c,d,e){var f=0,g=0,h=0;f=e<<8;g=65535-f|0;h=c;c=e-255|0;return g+B(h,c)&-256|a<<24|B(c,d)+g>>8|(B(b,c)-f<<8)+16776960&-65536}function Bt(a){var b=0,c=0;c=v[a+24>>2];if(c){while(1){b=v[c>>2];dc(c);v[a+24>>2]=b;c=b;if(b){continue}break}}b=v[a>>2];if(b){dc(b)}return a}function pAa(a){a=a|0;var b=0;v[a>>2]=936772;b=v[a+8>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)==1){W(0)|0;O()|0;lc();L()}dc(a)}function nE(a){a=a|0;var b=0;v[a>>2]=962040;v[299999]=0;R(3098,a+8|0);b=v[299999];v[299999]=0;if((b|0)!=1){return a|0}W(0)|0;O()|0;lc();L()}function mRa(a,b){a=a|0;b=b|0;v[a+12>>2]=0;v[a+16>>2]=0;v[a+4>>2]=1;v[a>>2]=466676;v[a+20>>2]=0;v[a+24>>2]=0;t[a+28|0]=0;LX(a,b);return a|0}function kw(a,b,c,d,e){var f=0,g=0,h=0;f=v[a+4>>2];g=f>>8;a=v[a>>2];h=a;if(f&1){g=v[v[c>>2]+g>>2]}Ub[v[v[a>>2]+24>>2]](h,b,c+g|0,f&2?d:2,e)}function kH(a){a=a|0;var b=0;v[a>>2]=457704;Ne(a+204|0);b=v[a+112>>2];if(b){v[a+116>>2]=b;dc(b)}if(t[a+39|0]<=-1){dc(v[a+28>>2])}return a|0}function h0a(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[a+4>>2];a:{if(c){break a}d=v[a>>2];c=LZ(a+16|0,b,d);if(c){break a}c=LZ(a+52|0,b,d)}return c|0}function _va(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a=v[a+116>>2];DR(a);if(c){e=A[c+96>>3];d=A[c+104>>3]}else{d=0}A[a+112>>3]=e;A[a+120>>3]=d}function Rla(a){a=a|0;var b=0;v[a>>2]=984460;b=v[a+36>>2];if(b){id(b);dc(b)}b=v[a+64>>2];if(b){id(b);dc(b)}fd(a+40|0);fd(a+8|0);Qc(a);dc(a)}function R0(a,b){a=a|0;b=b|0;var c=0,d=0;d=v[a+428>>2]+8|0;c=v[b+32>>2];a:{if(!c){c=0;break a}gc(d,v[b+36>>2],c)}return _d(a,v[b>>2],c,d)|0}function Fg(a,b){var c=0,d=0;a:{if(!a){break a}c=v[a+92>>2];if(!c){break a}b=Ub[v[v[c+12>>2]+12>>2]](c,b)|0;d=b>>>0>2]?b:0}return d}function C7a(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1732332865){pc(a,2050,0,0);return 2050}t[b+32|0]=w[c+32|0];v[b+36>>2]=v[c+36>>2];return 0}function x0a(a,b){a=a|0;b=b|0;var c=0;b=v[a>>2];c=v[v[b+488>>2]+4>>2];if(!c){return 7}return Ub[c|0](v[b+100>>2],a,v[b+420>>2],1767,0,b)|0}function us(){var a=0,b=0;a=fc(704);v[299999]=0;S(2339,a|0)|0;b=v[299999];v[299999]=0;if((b|0)!=1){return a}b=P()|0;O()|0;dc(a);T(b|0);L()}function tq(a,b){var c=0;a:{if(!a|!v[a+72>>2]|(!b|!w[b|0])){break a}b=Yh(b,v[a+92>>2]);if(!b){break a}c=v[a+80>>2]+(v[b>>2]<<4)|0}return c}function op(a){a=a|0;var b=0;a=v[a>>2];b=v[a+12>>2];a:{if((b|0)==v[a+16>>2]){a=Ub[v[v[a>>2]+36>>2]](a)|0;break a}a=w[b|0]}return a<<24>>24}function RYa(a,b,c){a=a|0;b=b|0;c=c|0;a=v[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=a+b&-64;return((a|0)>0?a:0)|0}a=0-(a-b&-64)|0;return a>>31&a}function Jm(a,b){var c=0,d=0;c=Bc(a)+1|0;d=b&255;while(1){a:{b=0;if(!c){break a}c=c-1|0;b=c+a|0;if((d|0)!=w[b|0]){continue}}break}return b}function J4(a,b){a=a|0;b=b|0;b=jc(4);v[a+584>>2]=b;if(!b){return 0}a:{if(w[a+13|0]&4){b=Ll(a);break a}b=Di(a)}v[v[a+584>>2]>>2]=b;return 1}function IN(a,b){return((B(w[a+1|0],601)+B(w[a|0],117)|0)+B(w[a+2|0],306)>>>10)-((B(w[b+1|0],601)+B(w[b|0],117)|0)+B(w[b+2|0],306)>>>10)|0}function Fd(a,b,c){if((b|0)<=0){v[c>>2]=b?6:0;return 0}a=Ub[v[a+4>>2]](a,b)|0;if(!a){v[c>>2]=!a<<6;return 0}a=ic(a,0,b);v[c>>2]=0;return a}function DM(a,b){var c=0,d=0;if(b){while(1){d=a;c=v[a>>2];if(c){a=d+4|0;if((b|0)!=(c|0)){continue}}break}return c?d:0}return(ve(a)<<2)+a|0}function CHa(a,b){a=a|0;b=b|0;var c=0;c=Qb-16|0;Qb=c;a=v[a+104>>2];A[c+8>>3]=A[b+440>>3]/72*25.4;Ub[v[v[a>>2]+68>>2]](a,c+8|0)|0;Qb=c+16|0}function wgb(a){a=a|0;var b=0,c=0;v[a>>2]=189728;b=v[a+4>>2];if(b){a:{if(v[b>>2]!=2){break a}c=v[b+4>>2];if(!c){break a}dc(c)}dc(b)}dc(a)}function v9(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=v[a+584>>2];if((b|0)==65560){v[v[c>>2]>>2]=v[d>>2];return 1}return Ub[v[d+24>>2]](a,b,c)|0}function m_(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c;v[d>>2]=0;v[d+4>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;if(v[b+72>>2]==v[a+16>>2]){Eo(b+108|0,c)}}function gh(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{if(!v[a+964>>2]){break a}if(!Ft(a,b,c)){break a}t[v[a+964>>2]+(B(v[a+16>>2],c)+b|0)|0]=d}}function ge(a){var b=0,c=0;b=Qb-16|0;Qb=b;v[299999]=0;c=v[299999];v[299999]=0;if((c|0)!=1){uC(a);Qb=b+16|0;return a}W(0)|0;O()|0;lc();L()}function Z6a(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1716539977){pc(a,2050,0,0);return 2050}t[b+32|0]=w[c+32|0];t[b+33|0]=w[c+33|0];return 0}function Yva(a,b,c,d,e,f,g,h,i,j,k,l){a=a|0;b=b|0;c=+c;d=+d;e=+e;f=+f;g=+g;h=+h;i=i|0;j=j|0;k=k|0;l=l|0;CR(v[a+116>>2],b,c,d,e,f,i,j,k,l)}function Tda(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(!(!a|(b|0)>(c|0))){while(1){ec((b<<3)+a|0);d=(b|0)!=(c|0);b=b+1|0;if(d){continue}break}}}function Rk(a){var b=0;a=a*a;b=a*a;return C(a*-.499999997251031+1+b*.04166662332373906+a*b*(a*2439044879627741e-20+-.001388676377460993))}function KMa(a,b,c){a=a|0;b=b|0;c=c|0;b=v[a+28>>2];if(!(b&14)){t[a+36|0]=0;v[a+44>>2]=16777216;v[a+52>>2]=b<<28|16777216;return}v[c>>2]=1}function HQa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;if(!v[a+12>>2]){return 0}e=a+16|0;AX(e,b,z[c>>2],z[d>>2]);kX(v[a+12>>2],e);return 1}function GQa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;if(!v[a+12>>2]){return 0}e=a+16|0;AX(e,b,z[c>>2],z[d>>2]);TG(v[a+12>>2],e);return 1}function Fva(a){a=a|0;var b=0;v[a>>2]=971168;while(1){b=v[a+12>>2];if(b){v[a+12>>2]=v[b+4>>2];Ub[v[v[b>>2]+4>>2]](b);continue}break}dc(a)}function F_a(a,b){a=a|0;b=b|0;var c=0;b=v[a>>2];c=v[v[b+544>>2]+4>>2];if(!c){return 7}return Ub[c|0](v[b+100>>2],a,v[b+16>>2],1875,0,b)|0}function Aja(a,b,c){a=a|0;b=b|0;c=c|0;v[a+92>>2]=v[a+92>>2]+b;v[a+100>>2]=v[a+100>>2]+b;v[a+96>>2]=v[a+96>>2]+c;v[a+104>>2]=v[a+104>>2]+c}function AVa(a,b){a=a|0;b=b|0;var c=0;b=v[b>>2];v[a+488>>2]=b&1;c=b&255;t[a+497|0]=c>>>7;v[a+492>>2]=b>>>1&1;t[a+496|0]=c>>>2&31;return 0}function zja(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(!(v[a+100>>2]<=(b|0)|v[a+92>>2]>(b|0)|v[a+96>>2]>(c|0))){d=v[a+104>>2]>(c|0)}return d|0}function veb(a){a=a|0;var b=0;b=v[a+540>>2];gc(v[b+1176>>2]+B(v[b+1168>>2],v[a+2552>>2])|0,v[a+2516>>2],B(v[a+588>>2],3));return TA(a)|0}function tda(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=b;b=v[b>>2]+7&-8;v[c>>2]=b+16;d=a,e=Hw(v[b>>2],v[b+4>>2],v[b+8>>2],v[b+12>>2]),A[d>>3]=e}function tc(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(c){d=a;while(1){v[d>>2]=v[b>>2];d=d+4|0;b=b+4|0;c=c-1|0;if(c){continue}break}}return a|0}function kt(a){a=a|0;var b=0,c=0;v[a>>2]=1010816;b=v[a+4>>2];c=v[b+4>>2]-1|0;v[b+4>>2]=c;if((c|0)==-1){Ub[v[v[b>>2]+8>>2]](b)}return a|0}function kh(a){a=a|0;var b=0,c=0;v[a>>2]=1010880;b=v[a+4>>2];c=v[b+4>>2]-1|0;v[b+4>>2]=c;if((c|0)==-1){Ub[v[v[b>>2]+8>>2]](b)}return a|0}function iG(a,b){v[a+28>>2]=b;v[a+24>>2]=2921;v[a+20>>2]=2922;v[a+16>>2]=2923;v[a+12>>2]=2924;v[a+8>>2]=2925;v[a+4>>2]=2926;v[a>>2]=2927}function f9(a){a=a|0;var b=0,c=0,d=0;b=v[v[a>>2]>>2];c=v[b+8>>2];a=v[b+4>>2];b=v[b>>2]+(c>>1)|0;d=b;if(c&1){a=v[a+v[b>>2]>>2]}Ub[a|0](d)}function cp(a,b){var c=0;if(v[a>>2]>=0){while(1){if(!mc(v[a+4>>2],b)){return a}c=v[a+8>>2];a=a+8|0;if((c|0)>-1){continue}break}}return 0}function Yca(a,b){a=a|0;b=b|0;v[a+20>>2]=0;v[a+24>>2]=b;v[a+12>>2]=0;v[a+4>>2]=4098;v[a+8>>2]=6;v[a+16>>2]=!b;ic(a+32|0,0,40);bC(a+28|0)}function Np(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Qb-768|0;Qb=d;a:{if(!a){break a}if(b){v[d+668>>2]=c;Ub[b|0](d,a);break a}dc(a)}Qb=d+768|0}function Gza(a){a=a|0;var b=0;v[a>>2]=938272;b=v[a+4>>2];if(b){dc(Dc(b))}b=v[a+8>>2];if(b){dc(b)}b=v[a+12>>2];if(b){dc(Dc(b))}return a|0}function ENa(a){a=a|0;var b=0;b=v[a+40>>2];if(b){_e(b)}if(w[a+30|0]){_e(v[a+36>>2])}b=v[a+220>>2];if(b){rz(b)}a=v[a+212>>2];if(a){_e(a)}}function Cf(a,b){var c=0;if(!(!a|(b|0)<0)){if(v[a>>2]<=(b|0)){return 0}c=v[v[a+12>>2]+(b<<2)>>2];if(c){v[c+16>>2]=v[c+16>>2]+1}}return c}function ADa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=ic(a,0,256);d=w[v[b>>2]+c|0];b=w[v[b+4>>2]+c|0];v[a+32>>2]=d-b<<5;v[a>>2]=(b+d<<5)+-8192}function qza(a){a=a|0;var b=0;v[a>>2]=938440;v[299999]=0;R(3098,a+8|0);b=v[299999];v[299999]=0;if((b|0)==1){W(0)|0;O()|0;lc();L()}dc(a)}function oRa(a){a=a|0;v[a+12>>2]=0;v[a+16>>2]=0;v[a+4>>2]=1;v[a+8>>2]=8;v[a>>2]=466676;v[a+20>>2]=0;v[a+24>>2]=0;t[a+28|0]=0;return a|0}function cUa(a){a=a|0;var b=0;v[a>>2]=457704;Ne(a+204|0);b=v[a+112>>2];if(b){v[a+116>>2]=b;dc(b)}if(t[a+39|0]<=-1){dc(v[a+28>>2])}dc(a)}function Uxa(a){a=a|0;var b=0;v[a>>2]=962040;v[299999]=0;R(3098,a+8|0);b=v[299999];v[299999]=0;if((b|0)==1){W(0)|0;O()|0;lc();L()}dc(a)}function Qca(a){a=a|0;v[a>>2]=1010880;bC(a+4|0);v[a+24>>2]=0;v[a+28>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;return a|0}function Gia(a){a=a|0;v[a>>2]=990252;Lc(a+104|0);Lc(a+92|0);Lc(a+80|0);Lc(a+68|0);v[a>>2]=990236;Lc(a+56|0);Lc(a+44|0);Qc(a);return a|0}function rA(a){var b=0,c=0,d=0;b=bd(1,16);a:{if(!b){break a}c=(a|0)<1?20:a;a=bd(c,4);v[b+8>>2]=a;if(!a){break a}v[b>>2]=c;d=b}return d}function nRa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;t[v[d>>2]+e|0]=w[(v[a+332>>2]+(B(v[v[b+84>>2]>>2],x[c>>1])+4>>>3&1023)|0)+128|0]}function ZE(a,b){a=a|0;b=b|0;var c=0,d=0;while(1){d=(c<<3)+b|0;if(v[d>>2]){ZE(a,v[d+4>>2])}c=c+1|0;if((c|0)!=256){continue}break}uc(b)}function X$(){var a=0,b=0,c=0;a=bd(1,16);a:{if(!a){break a}v[a+4>>2]=8;v[a+8>>2]=256;b=bd(256,4);if(!b){break a}v[a>>2]=b;c=a}return c}function WHa(a){a=a|0;var b=0;v[a>>2]=885348;b=v[a+4>>2];if(b){dc(b)}b=a+4|0;v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;return a|0}function UV(a){v[a+28>>2]=0;v[a+24>>2]=2914;v[a+20>>2]=2915;v[a+16>>2]=2916;v[a+12>>2]=2917;v[a+8>>2]=2918;v[a+4>>2]=2919;v[a>>2]=2920}function SGa(a,b){a=a|0;b=b|0;b=Qb-16|0;Qb=b;if(!w[a+208|0]){a=v[a+104>>2];v[b+12>>2]=2048;Ub[v[v[a>>2]+288>>2]](a,b+12|0)|0}Qb=b+16|0}function RGa(a){a=a|0;var b=0;b=Qb-16|0;Qb=b;if(!w[a+208|0]){a=v[a+104>>2];v[b+12>>2]=2048;Ub[v[v[a>>2]+292>>2]](a,b+12|0)|0}Qb=b+16|0}function Qh(a,b){a=v[a+12>>2];a:{if(a){while(1){if(Ub[v[v[a>>2]+32>>2]](a,b)|0){break a}a=v[a+4>>2];if(a){continue}break}}a=0}return a}function QGa(a){a=a|0;var b=0;b=Qb-16|0;Qb=b;if(!w[a+208|0]){a=v[a+104>>2];v[b+12>>2]=8194;Ub[v[v[a>>2]+288>>2]](a,b+12|0)|0}Qb=b+16|0}function Pwa(a,b,c){a=a|0;b=b|0;c=c|0;if(a){v[a+180>>2]=b;v[a+176>>2]=c?c:380;if(v[a+172>>2]){v[a+172>>2]=0;Gc(a,10069)}v[a+444>>2]=0}}function PGa(a){a=a|0;var b=0;b=Qb-16|0;Qb=b;if(!w[a+208|0]){a=v[a+104>>2];v[b+12>>2]=8194;Ub[v[v[a>>2]+292>>2]](a,b+12|0)|0}Qb=b+16|0}function Nw(a,b){var c=0,d=0;a:{if(b>>>0<=31){d=v[a+4>>2];c=a;break a}b=b-32|0;c=a+4|0}c=v[c>>2];v[a+4>>2]=d>>>b;v[a>>2]=d<<32-b|c>>>b}function Le(a,b){a=a|0;b=b|0;var c=0;v[b>>2]=0;v[b+4>>2]=v[a+12>>2];v[a+12>>2]=b;c=v[b+4>>2];v[(c?c:a+8|0)>>2]=b;v[a+4>>2]=v[a+4>>2]+1}function Kca(a){a=a|0;var b=0;a=v[a>>2];b=v[a+12>>2];a:{if((b|0)==v[a+16>>2]){a=Ub[v[v[a>>2]+36>>2]](a)|0;break a}a=v[b>>2]}return a|0}function KGa(a){a=a|0;var b=0;b=Qb-16|0;Qb=b;if(!w[a+208|0]){a=v[a+104>>2];v[b+12>>2]=8193;Ub[v[v[a>>2]+292>>2]](a,b+12|0)|0}Qb=b+16|0}function zv(a){a=a|0;var b=0;b=v[a+4>>2];if(b){Ub[v[b+36>>2]](a,1);if(v[a+16>>2]){v[a+20>>2]=200;v[a+308>>2]=0;return}v[a+20>>2]=100}}function vDa(a,b,c){a=a|0;b=b|0;c=c|0;c=v[a+28>>2];A[c+552>>3]=v[b>>2]==1?+v[b+8>>2]:A[b+8>>3];a=v[a+8>>2];Ub[v[v[a>>2]+164>>2]](a,c)}function qc(a){a=a|0;var b=0;v[a>>2]=989204;b=v[a+4>>2];if(!(!b|(b|0)==217929)){dc(b)}v[a+12>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;return a|0}function oDa(a,b,c){a=a|0;b=b|0;c=c|0;c=v[a+28>>2];A[c+584>>3]=v[b>>2]==1?+v[b+8>>2]:A[b+8>>3];a=v[a+8>>2];Ub[v[v[a>>2]+172>>2]](a,c)}function nDa(a,b,c){a=a|0;b=b|0;c=c|0;c=v[a+28>>2];A[c+560>>3]=v[b>>2]==1?+v[b+8>>2]:A[b+8>>3];a=v[a+8>>2];Ub[v[v[a>>2]+176>>2]](a,c)}function f3a(a){a=a|0;var b=0,c=0;b=v[a+32>>2];if(!b){return 3}c=v[v[a+16>>2]>>2];if(w[c|0]==30){sh(a,c,0,0)}v[b+184>>2]=513;return 0}function XQ(a,b){var c=0;c=v[a+200>>2];if((c&5)==5){v[a+200>>2]=c|24;if(!b){td(a,0);return}Gc(a,41187);td(a,b);return}hd(a,40200);L()}function Pia(a){a=a|0;v[a+32>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=1;v[a+12>>2]=1;v[a>>2]=0;v[a+4>>2]=0;v[a+24>>2]=1;v[a+28>>2]=1}function JCa(a,b,c){a=a|0;b=b|0;c=c|0;c=v[a+28>>2];A[c+440>>3]=v[b>>2]==1?+v[b+8>>2]:A[b+8>>3];a=v[a+8>>2];Ub[v[v[a>>2]+100>>2]](a,c)}function yXa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(b){v[b>>2]=v[a+152>>2]}if(c){v[c>>2]=v[a+156>>2]}if(d){v[d>>2]=v[a+160>>2]}return 0}function u_a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Qb-16|0;Qb=e;a=Uz(a,b,e+12|0);if(!a){PH(c,v[e+12>>2],d)}Qb=e+16|0;return a|0}function s$a(a,b){a=a|0;b=b|0;var c=0;v[a+16>>2]=b;c=w[b+7|0];b=w[b+6|0];v[a+24>>2]=-1;v[a+28>>2]=0;v[a+32>>2]=(b<<8|c)>>>1;return 0}function rGa(a,b,c,d,e,f,g,h,i,j,k,l,m,n){a=a|0;b=b|0;c=+c;d=+d;e=e|0;f=f|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;return 1}function oQa(a,b,c){a=a|0;b=b|0;c=c|0;a=v[a+164>>2];if(!a){return 0}a=Ub[v[v[a>>2]+20>>2]](a)|0;return Ub[v[v[a>>2]+20>>2]](a,b,c)|0}function bx(a,b){var c=0,d=0;if(v[a+4>>2]){d=b?-1:0;c=b;b=x[a+26>>1];c=(b|0)==1?d:c;ic(v[a+56>>2],(b|0)==4?B(c&15,17):c,v[a+32>>2])}}function aMa(a){a=a|0;var b=0,c=0;b=v[a+4>>2];if(!b){return-1}b=tp(b);zg(v[a+4>>2],0,2);c=tp(v[a+4>>2]);zg(v[a+4>>2],b,0);return c|0}function Mh(a,b,c,d,e){var f=0;f=Qb-16|0;Qb=f;v[f+12>>2]=c;v[f+8>>2]=e;c=Nk(f,f+12|0);a=Jl(a,b,d,v[f+8>>2]);ih(c);Qb=f+16|0;return a}function Kva(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(!((c|0)<2|a>>>0>65535)){a=a<<8|(a&65280)>>>8;t[b|0]=a;t[b+1|0]=a>>>8;d=2}return d|0}function GDa(a,b,c){a=a|0;b=b|0;c=c|0;c=v[a+28>>2];A[c+480>>3]=v[b>>2]==1?+v[b+8>>2]:A[b+8>>3];a=v[a+8>>2];Ub[v[v[a>>2]+96>>2]](a,c)}function Ffb(a,b){a=a|0;b=b|0;t[a+288|0]=1;return $0(a,x[b+28>>1],w[b+30|0],w[b+31|0],v[b+32>>2],v[b+36>>2],v[b+40>>2],v[b+44>>2])|0}function FR(a,b){a=a|0;b=b|0;var c=0;a:{if((b|0)<0){break a}a=v[a>>2];if(v[a+8>>2]<=(b|0)){break a}c=v[v[a>>2]+(b<<2)>>2]}return c|0}function $s(a){var b=0;b=jc(16);if(b){a=ep(a);v[b>>2]=a;if(!a){dc(b);return 0}v[b+4>>2]=0;v[b+8>>2]=0;v[b+12>>2]=a}else{b=0}return b}function yFa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Qb-16|0;Qb=d;a=v[a+4>>2];if(a){v[d>>2]=c;a=EN(a,b,d)}else{a=-1}Qb=d+16|0;return a|0}function web(a){a=a|0;var b=0;b=v[a+540>>2];gc(v[b+1176>>2]+B(v[b+1168>>2],v[a+2552>>2])|0,v[a+2516>>2],v[a+588>>2]);return TA(a)|0}function ppa(a,b){a=a|0;b=b|0;var c=0;if((b|0)>=1){while(1){ec(a+24|0);ec(a+16|0);a=a+32|0;c=(b|0)>1;b=b-1|0;if(c){continue}break}}}function pGa(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){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;m=m|0;n=+n;o=+o}function oBa(a,b){a=a|0;b=b|0;var c=0;if(v[a+12>>2]>=1){while(1){v[(c<<2)+b>>2]=65536;c=c+1|0;if((c|0)>2]){continue}break}}}function cua(a){a=a|0;v[a+60>>2]=977200;v[a>>2]=977180;v[a+8>>2]=977356;if(t[a+51|0]<=-1){dc(v[a+40>>2])}kh(a+8|0);lf(a+60|0);dc(a)}function Lw(a,b){var c=0,d=0;a:{if(b>>>0<=31){d=v[a>>2];c=a+4|0;break a}b=b-32|0;c=a}c=v[c>>2];v[a>>2]=d<>2]=c<>>32-b}function IIa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a:{e=v[a+272>>2];if(!e){break a}e=v[e+44>>2];if(!e){break a}Ub[e|0](a,b,c,d)}}function HD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(!(!a|!b)){t[b+120|0]=e;v[b+116>>2]=d;v[b+112>>2]=c;v[b+8>>2]=v[b+8>>2]|128}}function GGa(a,b){a=a|0;b=b|0;b=Qb-16|0;Qb=b;if(!w[a+203|0]){a=v[a+104>>2];v[b+12>>2]=2;Ub[v[v[a>>2]+288>>2]](a,b+12|0)|0}Qb=b+16|0}function Fza(a){a=a|0;var b=0;v[a>>2]=938272;b=v[a+4>>2];if(b){dc(Dc(b))}b=v[a+8>>2];if(b){dc(b)}b=v[a+12>>2];if(b){dc(Dc(b))}dc(a)}function B0a(a,b){a=a|0;b=b|0;var c=0;b=v[a>>2];c=v[b+376>>2];v[a+16>>2]=c;v[a+20>>2]=v[b+380>>2]-c;v[a+24>>2]=v[b+384>>2];return 0}function qz(a){var b=0;a:{if(v[a>>2]){if(v[a>>2]!=1){break a}while(1){if(v[a>>2]==1){continue}break}break a}b=1;v[a>>2]=1}return b}function q4a(a){a=a|0;v[a+216>>2]=0;v[a+436>>2]=0;v[a+144>>2]=0;a=v[a+460>>2];v[a+164>>2]=0;v[a+24>>2]=0;v[a+12>>2]=0;v[a+16>>2]=0}function ohb(a,b,c){a=a|0;b=b|0;c=c|0;if(Gg(c,v[a+12>>2])){a=-1}else{a=(zn(c,v[a+20>>2],v[a+16>>2])|0)!=v[a+16>>2]?-1:0}return a|0}function nr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=v[a+16>>2];d=v[a+20>>2];e=(c|0)>(d|0);Vk(a,e?b:(b|0)<(c|0)?b:c,e?b:(b|0)>(d|0)?b:d)}function U2a(a,b){a=a|0;b=b|0;var c=0,d=0;c=6;a:{if(!a){break a}d=v[a+4>>2];if(!d){break a}c=__(v[v[d+96>>2]+4>>2],a,b)}return c|0}function SP(a,b){a=a|0;b=b|0;var c=0;if((b|0)>=1){while(1){Ic(a+24|0);ec(a+16|0);a=a+40|0;c=(b|0)>1;b=b-1|0;if(c){continue}break}}}function SCa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;b=v[a+8>>2];Ub[v[v[b>>2]+64>>2]](b,v[a+28>>2]);d=a,e=cu(v[a+28>>2]),v[d+28>>2]=e}function Jfb(a,b){a=a|0;b=b|0;if(!w[a+498|0]){t[a+1148|0]=w[b+32|0];u[a+1150>>1]=x[b+28>>1];u[a+1152>>1]=x[b+30>>1]}return Uv(a)|0}function Fia(a){a=a|0;v[a>>2]=990252;Lc(a+104|0);Lc(a+92|0);Lc(a+80|0);Lc(a+68|0);v[a>>2]=990236;Lc(a+56|0);Lc(a+44|0);Qc(a);dc(a)}function qI(a){var b=0,c=0;a:{if(!a){break a}b=v[a>>2];if(!b){break a}c=v[b+16>>2]-1|0;v[b+16>>2]=c;if((c|0)<=0){dc(b)}v[a>>2]=0}}function oq(a){var b=0,c=0,d=0;b=a;c=v[a+36>>2];a=v[a+32>>2];if(c>>>0>a+1>>>0){d=w[a|0]|w[a+1|0]<<8;a=a+2|0}v[b+32>>2]=a;return d}function lW(a,b,c){a=a|0;b=b|0;c=c|0;a:{b=v[a+28>>2];if(!(b&14)){b=b&15;v[a+48>>2]=!b<<3;if((b|0)!=1){break a}c=a+52|0}v[c>>2]=1}}function jwa(a,b){a=a|0;b=b|0;var c=0;a=v[a>>2];b=v[b>>2];c=A[a+16>>3]-A[b+16>>3];if(c==0){c=A[a>>3]-A[b>>3]}return(c<0?-1:c>0)|0}function W4(a){a=a|0;var b=0;b=v[a+828>>2];v[b+608>>2]=v[b+600>>2];Ae(b);v[a+780>>2]=v[b+596>>2];v[a+784>>2]=v[b+600>>2];return 1}function Qxa(a){a=a|0;var b=0;a:{if(v[a+28>>2]){b=-1;if(!v[a+32>>2]){break a}}a=v[a+24>>2];b=Ub[v[v[a>>2]+32>>2]](a)|0}return b|0}function Oy(a,b){var c=0,d=0,e=0;if(!(!a|!b)){if(w[b|0]){c=b;while(1){d=d+1|0;e=w[c+1|0];c=c+1|0;if(e){continue}break}}Ny(a,b,d)}}function MWa(a,b){a=a|0;b=b|0;var c=0;c=v[a+660>>2];if(c){Ub[v[v[c>>2]+12>>2]](c)|0}v[a+660>>2]=b;if(b){Ub[v[v[b>>2]+8>>2]](b)|0}}function J1(a){a=a|0;var b=0,c=0;b=v[v[a+544>>2]+88>>2];c=v[b+1168>>2];gc(v[a+644>>2],v[b+1176>>2]+B(c,v[a+572>>2])|0,c);return 0}function Iia(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Qb-16|0;Qb=d;v[d+8>>2]=0;v[d+12>>2]=0;v[d>>2]=0;v[d+4>>2]=0;jD(a,b,d,c);Qb=d+16|0}function _V(a){a:{if(!a){break a}v[299999]=0;R(2744,a|0);a=v[299999];v[299999]=0;if((a|0)!=1){break a}a=P()|0;O()|0;Ra(a|0);L()}}function _Ea(){var a=0;a=fc(28);v[a>>2]=0;v[a+4>>2]=0;v[a+24>>2]=1;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;return a|0}function XIa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=-1;a:{if(!a|!b){break a}d=qg(b,1,c,a);if((d|0)>-1){break a}JF(342475)}return d|0}function TW(a){var b=0;if(!v[a+344>>2]){b=a+320|0;cv(b,v[a+340>>2]!=0);xz(b,A[a+280>>3],v[a+340>>2])}v[a+344>>2]=1;v[a+348>>2]=0}function PYa(a,b,c){a=a|0;b=b|0;c=c|0;a=v[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=a+b|0;return((a|0)>0?a:0)|0}a=b-a|0;return a>>31&a}function OD(a,b){var c=0;v[a>>2]=0;v[a+4>>2]=0;t[a+8|0]=0;c=ve(b);t[a+8|0]=0;v[a>>2]=b;v[a+4>>2]=(c|0)>-1?c:-2147483648;return a}function FJa(a,b,c){a=a|0;b=b|0;c=c|0;a=Qb-16|0;Qb=a;if(!v[294239]){v[294239]=v[252391]}v[a+12>>2]=c;Pw(v[294239],b,c);Qb=a+16|0}function AJ(a){var b=0,c=0;b=v[a+688>>2];if(b){while(1){c=v[b+8>>2];if(!w[b+33|0]){Ub[v[b>>2]](a,b)|0}b=c;if(b){continue}break}}}function sFa(a,b,c){a=a|0;b=b|0;c=c|0;v[a>>2]=c;v[a+4>>2]=0;Ng(a,c);gc(v[a+4>>2],b,v[a>>2]);t[v[a+4>>2]+v[a>>2]|0]=0;return a|0}function rta(a){a=a|0;var b=0;v[a>>2]=979436;b=v[a+4>>2];if(b){dc(b);v[a+4>>2]=0}b=v[a+8>>2];if(b){dc(b);v[a+8>>2]=0}return a|0}function lgb(a){a=a|0;var b=0;v[a>>2]=189784;b=a+4|0;vk(b);v[a+28>>2]=0;v[a+32>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;lg(b);return a|0}function j1(a){var b=0,c=0;c=a;b=x[a+2326>>1];a:{if(b){b=yg(a,b);break a}b=v[a+528>>2]}b=fh(c,b,0);if(!b){t[a+498|0]=0}return b}function iM(a,b,c,d,e,f){a=Ub[v[v[a+8>>2]+4>>2]](a+8|0)|0;a=zw(c,d,a,a+288|0,f,e,0)-a|0;if((a|0)<=287){v[b>>2]=((a|0)/12|0)%12}}function fM(a,b,c,d,e,f){a=Ub[v[v[a+8>>2]+4>>2]](a+8|0)|0;a=xw(c,d,a,a+288|0,f,e,0)-a|0;if((a|0)<=287){v[b>>2]=((a|0)/12|0)%12}}function b5a(a){a=a|0;var b=0,c=0;b=Qb-224|0;Qb=b;c=b+16|0;Ub[v[v[a>>2]+12>>2]](a,c);v[b>>2]=c;wc(v[252391],69999,b);Qb=b+224|0}function _5a(a,b){a=a|0;b=b|0;var c=0;c=!a|v[a>>2]!=1381173770?c:v[a+4>>2];return v[c+4>>2]+B(v[c+28>>2],v[c+24>>2]+(b^-1)|0)|0}function YEa(a){a=a|0;var b=0,c=0;b=v[a+4>>2];c=v[a>>2];if((b|0)>2]){v[a+4>>2]=b+1;a=w[v[c+4>>2]+b|0]}else{a=-1}return a|0}function W8(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;while(1){if((b|0)!=(c|0)){v[d>>2]=t[b|0];d=d+4|0;b=b+1|0;continue}break}return c|0}function Ec(a){var b=0;b=Qb-16|0;Qb=b;a=ye(a,b+12|0,2);Qb=b+16|0;b=w[b+12|0]|w[b+13|0]<<8;return((a|0)==2?b<<8|b>>>8:0)<<16>>16}function Bz(a,b,c){var d=0,e=0;d=v[a+84>>2];if((d|0)>=1){e=v[a+80>>2];a=(b|0)>0?b:0;v[(e+B((a|0)<(d|0)?a:d-1|0,96)|0)+60>>2]=c}}function A5a(a,b){a=a|0;b=b|0;var c=0;c=!a|v[a>>2]!=1381173770?c:v[a+4>>2];return v[c+8>>2]+B(v[c+20>>2],v[c+24>>2]+(b^-1)|0)|0}function z0a(a,b){a=a|0;b=b|0;var c=0,d=0;c=v[a+16>>2];return(c>>>0>b>>>0|v[a+20>>2]+c>>>0<=b>>>0?d:x[v[a+24>>2]+(b<<1)>>1])|0}function yV(a){var b=0,c=0;b=v[a+8>>2];c=v[a+4>>2];if((b|0)!=(c|0)){v[a+8>>2]=(((b-c|0)-4>>>2^-1)<<2)+b}a=v[a>>2];if(a){dc(a)}}function gm(a,b){var c=0,d=0;c=v[a+84>>2];if((c|0)<1){return 0}d=v[a+80>>2];a=(b|0)>0?b:0;return d+B((a|0)<(c|0)?a:c-1|0,96)|0}function g0a(a){a=a|0;v[a+12>>2]=1;v[a+16>>2]=0;v[a+4>>2]=0;v[a+76>>2]=0;v[a- -64>>2]=0;v[a+52>>2]=0;v[a+40>>2]=0;v[a+28>>2]=0}function a0a(a){a=a|0;v[a+12>>2]=2;v[a+16>>2]=0;v[a+4>>2]=0;v[a+76>>2]=0;v[a- -64>>2]=0;v[a+52>>2]=0;v[a+40>>2]=0;v[a+28>>2]=0}function XFa(a,b,c){a=a|0;b=b|0;c=c|0;if(!Rr(a,b,2)){return 0}a=(b-v[a+1040>>2]|0)+a|0;v[c>>2]=w[a+16|0]<<8|w[a+17|0];return 1}function Vya(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;Ub[v[v[a>>2]+280>>2]](a,b,c,d,e,f,g,h,i)}function N8(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;while(1){if((b|0)!=(c|0)){t[d|0]=w[b|0];d=d+1|0;b=b+1|0;continue}break}return c|0}function Jwa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;v[a+12>>2]=c;v[a>>2]=968168;v[a+4>>2]=b;d=a,e=ed(c,4),v[d+8>>2]=e;return a|0}function x6(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(Oi(a,v[b+8>>2],0)){HB(b,c,d);return}a=v[a+8>>2];Ub[v[v[a>>2]+28>>2]](a,b,c,d)}function gz(a,b){if(b){gz(a,v[b>>2]);gz(a,v[b+4>>2]);if(t[b+39|0]<=-1){dc(v[b+28>>2])}if(t[b+27|0]<=-1){dc(v[b+16>>2])}dc(b)}}function gt(a,b){a=a|0;b=b|0;a:{if((a|0)==(b|0)){break a}while(1){b=b-4|0;if(b>>>0<=a>>>0){break a}ar(a,b);a=a+4|0;continue}}}function go(a,b){var c=0,d=0,e=0;d=b-1|0;e=d<<2;c=v[e+v[a+12>>2]>>2];if(!c){aF(a,b,d,v[a+8>>2]);c=v[v[a+12>>2]+e>>2]}return c}function _4a(a){a=a|0;var b=0;a=1174264;while(1){b=a-12|0;if(t[a-1|0]<=-1){dc(v[b>>2])}a=b;if((a|0)!=1173616){continue}break}}function ZTa(a){a=a|0;var b=0;a=1175576;while(1){b=a-12|0;if(t[a-1|0]<=-1){dc(v[b>>2])}a=b;if((a|0)!=1174928){continue}break}}function XQa(a){a=a|0;var b=0;v[a+4>>2]=1;v[a>>2]=459644;b=a+12|0;v[b>>2]=0;v[b+4>>2]=0;v[a>>2]=466880;v[a+8>>2]=b;return a|0}function Vd(a){var b=0,c=0;if(v[a+20>>2]){b=v[a>>2];if(b){c=v[a+28>>2];Ub[v[c+8>>2]](c,b)}v[a>>2]=0}v[a+32>>2]=0;v[a+36>>2]=0}function RWa(a){a=a|0;var b=0;a=1174920;while(1){b=a-12|0;if(t[a-1|0]<=-1){dc(v[b>>2])}a=b;if((a|0)!=1174272){continue}break}}function ON(a,b){var c=0;a:{if(b){c=(a<<2)+1197652|0;a=YC(a,b);v[c>>2]=a;break a}a=v[(a<<2)+1197652>>2]}return a?a+8|0:322139}function MEa(a,b,c){a=a|0;b=b|0;c=c|0;a=ic(a,0,256);b=v[b>>2]+c|0;c=w[b|0];b=w[b+1|0];v[a+4>>2]=c-b<<5;v[a>>2]=(b+c<<5)+-8192}function JTa(a){a=a|0;var b=0;a=1176232;while(1){b=a-12|0;if(t[a-1|0]<=-1){dc(v[b>>2])}a=b;if((a|0)!=1175584){continue}break}}function Fn(a,b){a=a|0;b=b|0;a:{if((a|0)==(b|0)){break a}while(1){b=b-1|0;if(b>>>0<=a>>>0){break a}cM(a,b);a=a+1|0;continue}}}function Ck(a){var b=0,c=0;a:{if(!a){break a}b=v[a+4>>2];if(!b){break a}b=b-1|0;v[a+4>>2]=b;c=v[v[a+8>>2]+(b<<2)>>2]}return c}function BR(a,b,c,d,e){var f=0;f=v[a+212>>2];a=fc(40);v[a+32>>2]=c==e;A[a+24>>3]=e;A[a+16>>3]=d;A[a+8>>3]=c;A[a>>3]=b;Tc(f,a)}function zgb(a){a=a|0;var b=0,c=0,d=0;a=v[a+52>>2];c=a,d=(Ub[v[v[a>>2]+20>>2]](a,2)|0)-2|0,b=v[v[a>>2]+24>>2],Ub[b](c|0,d|0)}function tka(a){a=a|0;v[a>>2]=989504;fd(a+124|0);fd(a+100|0);v[a>>2]=989420;ec(a+24|0);ec(a+16|0);ec(a+8|0);Qc(a);return a|0}function qFa(a,b){a=a|0;b=b|0;var c=0;v[a+4>>2]=0;c=v[b>>2];v[a>>2]=c;Ng(a,c);gc(v[a+4>>2],v[b+4>>2],v[a>>2]+1|0);return a|0}function pP(a,b,c){var d=0;d=v[a>>2];if(d){dc(d);v[a>>2]=0}a:{if(!b){break a}d=a;a=jc(c);v[d>>2]=a;if(!a){break a}oe(a,b,c)}}function jM(a,b,c,d,e,f){a=Ub[v[v[a+8>>2]>>2]](a+8|0)|0;a=zw(c,d,a,a+168|0,f,e,0)-a|0;if((a|0)<=167){v[b>>2]=((a|0)/12|0)%7}}function gM(a,b,c,d,e,f){a=Ub[v[v[a+8>>2]>>2]](a+8|0)|0;a=xw(c,d,a,a+168|0,f,e,0)-a|0;if((a|0)<=167){v[b>>2]=((a|0)/12|0)%7}}function gL(a,b,c){a:{if(b){v[299999]=0;FC(a,c,b);a=v[299999];v[299999]=0;if((a|0)==1){break a}}return}W(0)|0;O()|0;lc();L()}function ak(a,b,c){a:{if(c){v[299999]=0;tc(a,b,c);a=v[299999];v[299999]=0;if((a|0)==1){break a}}return}W(0)|0;O()|0;lc();L()}function YCa(a,b,c){a=a|0;b=b|0;c=c|0;c=v[a+28>>2];b=v[b+8>>2];v[c+472>>2]=b>>>0>2?0:b;a=v[a+8>>2];Ub[v[v[a>>2]+88>>2]](a,c)}function VG(a){a=a|0;var b=0;v[a>>2]=466844;a:{if(w[a+16|0]){break a}b=v[a+8>>2];if(!b){break a}dc(b);v[a+8>>2]=0}return a|0}function TFa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Bc(c);if(!Rr(a,b,d)){return 0}return!Pc(((a-v[a+1040>>2]|0)+b|0)+16|0,c,d)|0}function QS(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=v[b>>2];a=(a|0)<65536?a:65536;a=(a|0)>0?a:0;v[c+4>>2]=a;v[c+8>>2]=a;v[c>>2]=a}function Jia(a,b,c){a=a|0;b=b|0;c=c|0;v[a+36>>2]=c;v[a+32>>2]=b;if(v[a+40>>2]){Xd(a+44|0,0,4)}if(v[a+52>>2]){Xd(a+56|0,0,4)}}function Io(a){var b=0;b=bd(1,16);if(!b){return 0}v[b+8>>2]=1;a=(a|0)<1?20:a;v[b+4>>2]=a;a=bd(a,4);v[b+12>>2]=a;return a?b:0}function IDa(a,b,c){a=a|0;b=b|0;c=c|0;c=v[a+28>>2];b=v[b+8>>2];v[c+476>>2]=b>>>0>2?0:b;a=v[a+8>>2];Ub[v[v[a>>2]+92>>2]](a,c)}function Dl(a,b,c){a:{if(c){v[299999]=0;tL(a,b,c);a=v[299999];v[299999]=0;if((a|0)==1){break a}}return}W(0)|0;O()|0;lc();L()}function $$a(a){a=a|0;var b=0;v[a+140>>2]=0;v[a+112>>2]=0;b=v[a+12>>2];NZ(a+28|0,b);NZ(a- -64|0,b);v[a+12>>2]=0;v[a+16>>2]=0}function fga(a){a=a|0;var b=0;b=v[a+36>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}v[a+24>>2]=0;v[a+28>>2]=0;v[a+32>>2]=0;v[a+36>>2]=0}function Tfb(a,b){a=a|0;b=b|0;t[a+312|0]=1;u[a+2240>>1]=x[b+28>>1];u[a+2242>>1]=x[b+30>>1];u[a+2244>>1]=x[b+32>>1];return 0}function T_(a,b){var c=0,d=0;a:{if(!a){break a}c=v[a+28>>2];d=v[a+24>>2];if(d){Ub[d|0](a)}if(b){break a}Ub[v[c+8>>2]](c,a)}}function Kia(a,b,c){a=a|0;b=b|0;c=c|0;v[a+12>>2]=c;v[a+8>>2]=b;if(v[a+40>>2]){Xd(a+44|0,0,4)}if(v[a+52>>2]){Xd(a+56|0,0,4)}}function Bna(a,b){a=a|0;b=b|0;var c=0,d=0;c=ur(v[b+156>>2]);if((c|0)>=1){d=Bh();Ub[v[v[d>>2]+48>>2]](d,b,C(C(a|0)/C(c|0)))}}function BVa(a,b){a=a|0;b=b|0;var c=0;c=b;b=v[a+488>>2]!=0;v[c>>2]=w[a+496|0]<<2|(v[a+492>>2]?b|2:b)|w[a+497|0]<<7;return 0}function Aia(a){a=a|0;v[a>>2]=990268;Lc(a+92|0);Lc(a+80|0);Lc(a+68|0);v[a>>2]=990236;Lc(a+56|0);Lc(a+44|0);Qc(a);return a|0}function $4a(a){a=a|0;var b=0;Ub[v[v[a>>2]+8>>2]](a);b=v[a+4>>2];if(b){Ub[v[b+40>>2]](a)}v[a+20>>2]=0;v[a+4>>2]=0;pa(1);L()}function qf(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(!(!b|v[a>>2]!=9)){return Sm(b,v[a+8>>2],v[a+12>>2],c,d)|0}return zf(a,c)|0}function lP(a){a=a|0;var b=0;b=1;a:{if(!Nc(a,307144,-1)){break a}if(!Nc(a,217592,-1)){break a}b=!Nc(a,312e3,-1)}return b|0}function kgb(a){a=a|0;var b=0;v[a>>2]=189784;b=a+4|0;vk(b);v[a+28>>2]=0;v[a+32>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;lg(b);dc(a)}function UWa(a,b){a=a|0;b=b|0;var c=0;b=v[v[a>>2]+132>>2];c=w[b+104|0];v[a+16>>2]=c;v[a+20>>2]=(w[b+105|0]-c|0)+1;return 0}function FC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(c){d=a;while(1){v[d>>2]=b;d=d+4|0;c=c-1|0;if(c){continue}break}}return a|0}function F2a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=kn(v[a>>2],c,335543);if(!a){return 64}v[d>>2]=a;v[e>>2]=0;return 0}function E2a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=kn(v[a>>2],c,335571);if(!a){return 64}v[d>>2]=a;v[e>>2]=0;return 0}function AS(a,b,c){A[a+600>>3]=A[a+504>>3]*b+A[a+520>>3]*c+A[a+600>>3];A[a+608>>3]=A[a+512>>3]*b+A[a+528>>3]*c+A[a+608>>3]}function sQa(a,b){a=a|0;b=b|0;v[a+136>>2]=v[b>>2];b=v[a+12>>2];if(b){a=v[a+136>>2];if((a|0)!=v[b+208>>2]){v[b+208>>2]=a}}}function sNa(a,b){a=a|0;b=b|0;var c=0;c=v[a+8>>2];if(c>>>0>2]){v[a+8>>2]=c+1;return w[c|0]}v[b>>2]=8;return 65535}function p9(a,b){a=a|0;b=b|0;var c=0;if(BL()>>>0>>0){ue(a);L()}c=AL(a+16|0,b);v[a>>2]=c;v[a+4>>2]=c;v[a+8>>2]=(b<<2)+c}function nf(a,b){var c=0;a:{if(!a|!v[a+20>>2]){break a}c=v[b>>2];if(!c){break a}a=v[a+28>>2];Ub[v[a+8>>2]](a,c)}v[b>>2]=0}function gC(a,b,c){c=v[c>>2];while(1){a:{if((a|0)!=(b|0)){if((c|0)!=v[a>>2]){break a}}else{a=b}return a}a=a+4|0;continue}}function Oca(a){a=a|0;var b=0;if((Ub[v[v[a>>2]+36>>2]](a)|0)==-1){return-1}b=a;a=v[a+12>>2];v[b+12>>2]=a+4;return v[a>>2]}function HIa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{d=v[a+272>>2];if(!d){break a}d=v[d+48>>2];if(!d){break a}Ub[d|0](a,b,c)}}function GIa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{d=v[a+272>>2];if(!d){break a}d=v[d+52>>2];if(!d){break a}Ub[d|0](a,b,c)}}function GC(a,b){a=a|0;b=b|0;var c=0,d=0;c=a;while(1){d=v[b>>2];v[c>>2]=d;c=c+4|0;b=b+4|0;if(d){continue}break}return a|0}function qD(a,b){a=a|0;b=b|0;var c=0,d=0;a=a+148|0;c=a;d=v[a>>2];a=v[a>>2]&-2049|(b?2048:0);if((d|0)!=(a|0)){v[c>>2]=a}} +function o8a(a,b){a=a|0;b=b|0;var c=0;c=v[a+428>>2];t[c+8|0]=w[b+32|0];t[c+9|0]=w[b+33|0];return _d(a,v[b>>2],2,c+8|0)|0}function kl(a){var b=0,c=0;if(!a){return 0}if(w[a|0]){while(1){b=b+1|0;c=w[a+1|0];a=a+1|0;if(c){continue}break}}return b}function iJ(a,b){a=a|0;b=b|0;var c=0;c=v[b>>2];if(w[b+32|0]){return _d(a,c,0,0)|0}return _d(a,c,v[b+36>>2],v[b+40>>2])|0}function iGa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;v[a+8>>2]=b;v[a>>2]=889e3;v[a+16>>2]=d;v[a+12>>2]=c;v[a+4>>2]=b;return a|0}function _ka(a,b){a=a|0;b=b|0;var c=0;if((b|0)>=1){while(1){Ic(a+36|0);a=a+56|0;c=(b|0)>1;b=b-1|0;if(c){continue}break}}}function YB(a,b,c){a:{if(!c){break a}while(1){if(w[a|0]&32){break a}ow(v[b>>2],a);b=b+4|0;c=c-1|0;if(c){continue}break}}}function UM(a){var b=0;b=v[a+12>>2];if((b|0)==v[a+16>>2]){return Ub[v[v[a>>2]+40>>2]](a)|0}v[a+12>>2]=b+4;return v[b>>2]}function Tgb(a,b,c){a=a|0;b=b|0;c=c|0;a=Qb-16|0;Qb=a;Sc(17259,0);Sc(19917,0);v[a>>2]=14714;Sc(9564,a);Qb=a+16|0;return-1}function Tca(a){a=a|0;var b=0;if((Ub[v[v[a>>2]+36>>2]](a)|0)==-1){return-1}b=a;a=v[a+12>>2];v[b+12>>2]=a+1;return w[a|0]}function Kfb(a,b){a=a|0;b=b|0;return b1(a,x[b+28>>1],x[b+30>>1],w[b+32|0],v[b+36>>2],v[b+40>>2],v[b+44>>2],v[b+48>>2])|0}function Hs(a){var b=0;a:{if(!a){break a}a=d0(a);if(!a){break a}ic(v[a+40>>2],0,B(v[a+12>>2],v[a+4>>2])<<2);b=a}return b}function B2a(a,b){a=a|0;b=b|0;var c=0;c=v[a>>2];v[b+20>>2]=v[a+20>>2];v[b+24>>2]=v[a+24>>2];return A_(c,a+28|0,b+28|0)|0}function $Qa(a){a=a|0;var b=0;v[a>>2]=466844;a:{if(w[a+16|0]){break a}b=v[a+8>>2];if(!b){break a}dc(b);v[a+8>>2]=0}dc(a)}function z_(a){a=a|0;var b=0,c=0;if(a){b=v[v[a>>2]>>2];c=v[v[a+4>>2]+12>>2];if(c){Ub[c|0](a)}if(a){Ub[v[b+8>>2]](b,a)}}}function zNa(a){a=a|0;var b=0;b=v[a+24>>2];a:{if(w[a+28|0]&16){a=v[b+216>>2];if(a){break a}}a=v[b+12>>2]+4|0}return a|0}function yoa(a,b){a=a|0;b=b|0;var c=0;if((b|0)>=1){while(1){ec(a+8|0);a=a+16|0;c=(b|0)>1;b=b-1|0;if(c){continue}break}}}function yg(a,b){a=v[a+688>>2];if(a){while(1){if(x[a+28>>1]==(b|0)){return a}a=v[a+8>>2];if(a){continue}break}}return 0}function yD(a,b){a=a|0;b=b|0;var c=0;if((b|0)>=1){while(1){ec(a+16|0);a=a+28|0;c=(b|0)>1;b=b-1|0;if(c){continue}break}}}function ska(a){a=a|0;v[a>>2]=989504;fd(a+124|0);fd(a+100|0);v[a>>2]=989420;ec(a+24|0);ec(a+16|0);ec(a+8|0);Qc(a);dc(a)}function qP(a,b){a=a|0;b=b|0;var c=0,d=0;a=a+148|0;c=a;d=v[a>>2];a=v[a>>2]&-4097|(b?4096:0);if((d|0)!=(a|0)){v[c>>2]=a}}function kC(a,b,c){c=w[c|0];while(1){a:{if((a|0)!=(b|0)){if((c|0)!=w[a|0]){break a}}else{a=b}return a}a=a+1|0;continue}}function fOa(a){a=a|0;var b=0,c=0;b=v[a+4>>2];c=w[b|0]|w[b+1|0]<<8|(w[b+2|0]<<16|w[b+3|0]<<24);v[a+4>>2]=b+4;return c|0}function cYa(a,b,c){a=a|0;b=b|0;c=c|0;c=mH(v[a+532>>2],b,c);if(!c){v[a+8>>2]=v[a+8>>2]&-32769|((b|0)!=0)<<15}return c|0}function _M(a){var b=0;b=v[a+12>>2];if((b|0)==v[a+16>>2]){return Ub[v[v[a>>2]+40>>2]](a)|0}v[a+12>>2]=b+1;return w[b|0]}function WIa(a){a=a|0;var b=0;b=VU(a);a:{if(b){break a}b=0;a=bm(a,0);if(!a){break a}b=VU(a);Ub[v[259708]](a)}return b|0}function Nk(a,b){var c=0;c=v[282445];b=v[b>>2];if(b){v[282445]=(b|0)==-1?1197652:b}v[a>>2]=(c|0)==1197652?-1:c;return a}function MP(a,b){a=a|0;b=b|0;var c=0;if((b|0)>=1){while(1){Tk(a+16|0);a=a+56|0;c=(b|0)>1;b=b-1|0;if(c){continue}break}}}function MG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;a=v[a+4>>2];if(a){e=d,f=qg(b,1,c,a),v[e>>2]=f}return(a|0)!=0|0}function Kw(a,b){var c=0,d=0;c=Qb-16|0;Qb=c;LC(c,a,b,1);d=Hw(v[c>>2],v[c+4>>2],v[c+8>>2],v[c+12>>2]);Qb=c+16|0;return d}function IUa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;b=w[b|0];t[a+672|0]=b;d=b?A[c>>3]:1;A[a+664>>3]=d;A[v[a+16>>2]+2824>>3]=d}function Doa(a,b){a=a|0;b=b|0;var c=0;if((b|0)>=1){while(1){Tk(a+8|0);a=a+44|0;c=(b|0)>1;b=b-1|0;if(c){continue}break}}}function zia(a){a=a|0;v[a>>2]=990268;Lc(a+92|0);Lc(a+80|0);Lc(a+68|0);v[a>>2]=990236;Lc(a+56|0);Lc(a+44|0);Qc(a);dc(a)}function ygb(a){a=a|0;var b=0;a=v[a+52>>2];b=Ub[v[v[a>>2]+20>>2]](a,2)|0;if((b|0)>=1){Ub[v[v[a>>2]+20>>2]](a,b-2|0)|0}}function xRa(a){a=a|0;var b=0;v[a>>2]=466344;Cd(a+280|0);b=v[a+268>>2];if(b){v[a+272>>2]=b;dc(b)}Ne(a+88|0);return a|0}function iAa(a){a=a|0;var b=0,c=0;c=-1;b=v[a+60>>2];if(!(!b|y[a+64>>2]<=b>>>0)){v[a+60>>2]=b+1;c=w[b|0]^255}return c|0}function bya(a,b){a=a|0;b=b|0;var c=0;c=a+40|0;v[a+300>>2]=c;v[a+296>>2]=c;b=v[a+28>>2]+b|0;v[a+28>>2]=b;v[a+304>>2]=b}function Xfb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=a;if(!w[b+28|0]){d=1;e=v[b+32>>2]}v[c+2192>>2]=e;t[a+308|0]=d;return 0}function Vc(a){var b=0;b=v[a>>2];v[299999]=0;uc(b);b=v[299999];v[299999]=0;if((b|0)!=1){return a}W(0)|0;O()|0;lc();L()}function mP(a,b){a=a|0;b=b|0;var c=0,d=0;a=a+148|0;c=a;d=v[a>>2];a=v[a>>2]&-129|(b?128:0);if((d|0)!=(a|0)){v[c>>2]=a}}function m7a(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1162757196){pc(a,2050,0,0);return 2050}t[b+32|0]=w[c+32|0];return 0}function loa(a){a=a|0;var b=0;b=a+92|0;while(1){if(!(v[b>>2]&8?1:v[b>>2]&1|v[b>>2]&16)){continue}break}return CP(a)|0}function awa(a){a=a|0;var b=0;v[a>>2]=968668;if(v[a+112>>2]){Be(v[a+108>>2])}b=v[a+116>>2];if(b){dc(ER(b))}return a|0}function ZZ(a,b){a=a|0;b=b|0;a=v[a+4>>2]|v[a>>2]<<16;b=v[b+4>>2]|v[b>>2]<<16;return(a>>>0>b>>>0?1:a>>>0>>0?-1:0)|0}function OZa(a){a=a|0;var b=0,c=0;b=v[a+868>>2];if(b){c=v[a+100>>2];nf(v[a+104>>2],b+12|0);if(b){Ub[v[c+8>>2]](c,b)}}}function NZa(a){a=a|0;var b=0,c=0;b=v[a+872>>2];if(b){c=v[a+100>>2];nf(v[a+104>>2],b+16|0);if(b){Ub[v[c+8>>2]](c,b)}}}function AL(a,b){var c=0;c=Qb-16|0;Qb=c;a:{if(!(w[a+120|0]|b>>>0>30)){t[a+120|0]=1;break a}a=yL(b)}Qb=c+16|0;return a}function A7a(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1934772034){pc(a,2050,0,0);return 2050}t[b+33|0]=w[c+33|0];return 0}function $2a(a,b){a=a|0;b=b|0;a:{a=v[a>>2];b=v[b>>2];if(w[a|0]!=w[b|0]){break a}if(mc(a,b)){break a}return 1}return 0}function wJ(a,b,c){v[a+20>>2]=c;v[a+16>>2]=0;v[a+4>>2]=b;v[a>>2]=54168;t[a+24|0]=0;v[a+8>>2]=c;t[a+12|0]=!b;return a}function m_a(a,b){a=a|0;b=b|0;var c=0;c=Ub[v[a+516>>2]](a,1751474532,b,0)|0;if(!c){c=me(b,446608,a+160|0)}return c|0}function g_a(a,b){a=a|0;b=b|0;var c=0;c=Ub[v[a+516>>2]](a,1886352244,b,0)|0;if(!c){c=me(b,447104,a+476|0)}return c|0}function eI(a){a=a|0;var b=0,c=0;b=v[v[a>>2]+100>>2];c=v[a+20>>2];if(c){Ub[v[b+8>>2]](b,c)}v[a+16>>2]=0;v[a+20>>2]=0}function b_a(a,b){a=a|0;b=b|0;var c=0;c=Ub[v[a+516>>2]](a,1346587732,b,0)|0;if(!c){c=me(b,447232,a+568|0)}return c|0}function Xwa(a,b,c){a=a|0;b=b|0;c=c|0;a:{if(!a){break a}if((qg(b,1,c,v[a+180>>2])|0)==(c|0)){break a}hd(a,5318);L()}}function Vfb(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=a;if(!w[b+28|0]){d=1;e=w[b+29|0]}t[c+2228|0]=e;t[a+310|0]=d;return 0}function V6(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Qb-32|0;Qb=c;d=c+21|0;e=c+32|0;cL(c+8|0,d,e,b);wM(a,d,v[c+8>>2]);Qb=e}function UA(a){a=a|0;var b=0;v[a>>2]=54168;b=v[a+4>>2];if(!(!b|!w[a+12|0])){dc(b);v[a+4>>2]=0;v[a+8>>2]=0}return a|0}function Rpa(a,b,c){a=a|0;b=b|0;c=c|0;a:{if(!a){break a}if((Rc(b,1,c,v[a+180>>2])|0)==(c|0)){break a}hd(a,5306);L()}}function K2a(a){a=a|0;var b=0,c=0;b=v[a>>2];if(b){c=v[a+28>>2];Ub[v[c+8>>2]](c,b)}v[a>>2]=0;v[a+4>>2]=0;v[a+24>>2]=0}function GWa(a,b){a=a|0;b=b|0;var c=0;c=A[b>>3];A[a+600>>3]=c;b=v[a+16>>2];if(b){Hz(b,c,6);ov(v[a+16>>2],6)}return 0}function EWa(a,b){a=a|0;b=b|0;var c=0;c=A[b>>3];A[a+592>>3]=c;b=v[a+16>>2];if(b){Iz(b,c,6);ov(v[a+16>>2],6)}return 0}function BKa(a){a=a|0;var b=0;a=v[a+4>>2];Fu(v[a+4>>2]);v[a+4>>2]=0;b=v[a+8>>2];if(b){dc(b)}v[a+8>>2]=0;v[a+12>>2]=0}function Ag(a){a=a|0;var b=0;v[a>>2]=990496;b=v[a+12>>2];if(b){t[b|0]=0;dc(v[a+12>>2])}v[a+12>>2]=0;Qc(a);return a|0}function $Za(a,b){a=a|0;b=b|0;var c=0;c=Ub[v[a+516>>2]](a,1651008868,b,0)|0;if(!c){c=me(b,446608,a+160|0)}return c|0}function zq(a,b){b=b<<8&16711680|b<<24|(b>>>8&65280|b>>>24);t[a|0]=b;t[a+1|0]=b>>>8;t[a+2|0]=b>>>16;t[a+3|0]=b>>>24}function wN(a,b,c,d,e,f,g,h,i){v[a>>2]=b;v[a+4>>2]=c;v[a+8>>2]=d;v[a+12>>2]=e&65535|(i>>>16&32768|e>>>16&32767)<<16}function w2a(a,b){a=a|0;b=b|0;var c=0;b=b+20|0;c=J_(v[a>>2],u[a+22>>1],u[a+20>>1],b);if(!c){I_(a+20|0,b)}return c|0}function sra(a,b,c){a=a|0;b=b|0;c=c|0;b=Ub[v[v[a>>2]+32>>2]](a,b,c,v[a+12>>2])|0;v[a+12>>2]=b+v[a+12>>2];return b|0}function rZ(a){a=a|0;var b=0,c=0;b=v[a+28>>2];c=v[a>>2];if(c){Ub[v[b+8>>2]](b,c)}v[a>>2]=0;v[a+4>>2]=0;v[a+24>>2]=0}function nxa(a){a=a|0;var b=0;b=v[a+4>>2];Ub[v[v[b>>2]+20>>2]](b);v[a+144>>2]=0;b=a+8|0;v[a+136>>2]=b;v[a+140>>2]=b}function ni(a,b){a=a|0;b=b|0;var c=0,d=0;v[a>>2]=b;if(!b){v[a+4>>2]=0;return a|0}c=a,d=Bc(b),v[c+4>>2]=d;return a|0}function lg(a){a=a|0;var b=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=530160;b=v[a+4>>2];if(b){Be(b);v[a+4>>2]=0}return a|0}function kla(a,b){a=a|0;b=b|0;var c=0;if((b|0)>=1){while(1){Ic(a);a=a+16|0;c=(b|0)>1;b=b-1|0;if(c){continue}break}}}function gQa(a,b,c){a=a|0;b=b|0;c=c|0;if(w[b|0]){v[a+160>>2]=3;return}if(w[c|0]){v[a+160>>2]=4;return}v[a+160>>2]=0}function dHa(a,b,c,d,e,f,g,h,i,j,k,l,m){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;m=+m}function Vxa(a,b){a=a|0;b=b|0;var c=0;c=v[a+28>>2]+b|0;v[a+28>>2]=c;v[a+32>>2]=v[a+32>>2]-b;v[a+40>>2]=v[a+24>>2]+c}function OL(a){var b=0;b=v[a>>2];v[a>>2]=0;if(b){a=v[b+4>>2]-1|0;v[b+4>>2]=a;if((a|0)==-1){Ub[v[v[b>>2]+8>>2]](b)}}}function Kka(a,b){a=a|0;b=b|0;v[a+20>>2]=-1;v[a+12>>2]=-1;v[a+16>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a>>2]=b;return a|0}function JHa(a){a=a|0;var b=0;b=Qb-16|0;Qb=b;a=v[a+104>>2];v[b+12>>2]=1;Ub[v[v[a>>2]+292>>2]](a,b+12|0)|0;Qb=b+16|0}function AI(a,b){var c=0,d=0;c=Qb-16|0;Qb=c;if(a){d=v[a+36>>2];v[c+12>>2]=d;if(d){on(c+12|0)}v[a+36>>2]=b}Qb=c+16|0}function zfa(a){a=a|0;v[a>>2]=996084;fd(a+120|0);fd(a+96|0);fd(a+72|0);Lc(a+40|0);Lc(a+28|0);Lc(a+16|0);return a|0}function xi(a){var b=0,c=0;b=Qb-16|0;Qb=b;c=b;if(w[a+11|0]>>>7|0){a=v[a>>2]}v[c+8>>2]=a;Qb=b+16|0;return v[b+8>>2]}function nL(a,b){if(b>>>0<=9){t[a|0]=b+48;return a+1|0}b=x[(b<<1)+1022256>>1];t[a|0]=b;t[a+1|0]=b>>>8;return a+2|0}function fka(a,b){a=a|0;b=b|0;v[a+92>>2]=v[b>>2];v[a+96>>2]=v[b+4>>2];v[a+100>>2]=v[b+8>>2];v[a+104>>2]=v[b+12>>2]}function ds(a){a=a|0;var b=0;v[a>>2]=878696;b=fc(16);v[b+4>>2]=0;v[b+8>>2]=0;v[b>>2]=878788;v[a+4>>2]=b;return a|0}function c5(a){a=a|0;var b=0;b=v[a>>2];v[b+20>>2]=123;Ub[v[b+4>>2]](a,-1);v[a+804>>2]=2;v[a+800>>2]=88089;return 1}function _R(a,b){ao(a,b,32767,-1);if(v[a+644>>2]){Zc(a,v[a+648>>2]);v[a+644>>2]=0;v[a+648>>2]=0}if(b){ic(b,0,236)}}function wRa(a){a=a|0;var b=0;v[a>>2]=466344;Cd(a+280|0);b=v[a+268>>2];if(b){v[a+272>>2]=b;dc(b)}Ne(a+88|0);dc(a)}function rLa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Ub[v[b+8>>2]](v[b>>2],0,55295);Ub[v[b+8>>2]](v[b>>2],57344,1114111)}function lHa(a){a=a|0;var b=0;b=v[a+8>>2];if((b|0)>2]){v[a+8>>2]=b+1;a=w[v[a>>2]+b|0]}else{a=-1}return a|0}function hq(a){a=a|0;a=v[a>>2];if(D(A[a>>3]*A[a+24>>3]-A[a+8>>3]*A[a+16>>3])<=1e-4){a=2}else{fn(a);a=0}return a|0}function XA(a,b,c,d){a:{if(!v[a+960>>2]){break a}if(!Ft(a,b,c)){break a}t[v[a+960>>2]+(B(v[a+16>>2],c)+b|0)|0]=d}}function QI(a){a=a|0;var b=0;b=v[a+25212>>2];if(b){dc(b)}b=v[a+26096>>2];if(b){dc(b)}a=v[a+26352>>2];if(a){dc(a)}}function nVa(a,b){a=a|0;b=b|0;v[a+624>>2]=v[b>>2];if(v[b>>2]==1){a=Ub[v[v[a>>2]+20>>2]](a)|0}else{a=0}return a|0}function lZa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;b=b<<2;d=v[b+v[a+388>>2]>>2];c=ad(c,Tz(a));v[b+v[a+388>>2]>>2]=c+d}function icb(a){a=a|0;var b=0;a:{b=a?v[a+180>>2]:0;if(b){if(Ub[v[v[b>>2]+32>>2]](b)|0){break a}}hd(a,24900);L()}}function Ula(a,b){a=a|0;b=b|0;var c=0;if((b|0)>=1){while(1){a=ec(a)+8|0;c=(b|0)>1;b=b-1|0;if(c){continue}break}}}function Qga(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Xd(a+28|0,c,1);if(c){gc(v[a+24>>2],b,c)}Si(a+16|0,d);v[a+20>>2]=10}function Pg(a){a=a|0;var b=0;if(!a){return 846048}b=v[294139];if(b){return Ub[b|0](v[294140],a)|0}return jc(a)|0}function $va(a){a=a|0;var b=0;v[a>>2]=968668;if(v[a+112>>2]){Be(v[a+108>>2])}b=v[a+116>>2];if(b){dc(ER(b))}dc(a)}function vO(a){a=a|0;var b=0;v[a>>2]=990496;b=v[a+12>>2];if(b){t[b|0]=0;dc(v[a+12>>2])}v[a+12>>2]=0;Qc(a);dc(a)}function qDa(a,b,c){a=a|0;b=b|0;c=c|0;c=v[a+28>>2];v[c+592>>2]=v[b+8>>2];a=v[a+8>>2];Ub[v[v[a>>2]+168>>2]](a,c)}function dC(a,b){var c=0;c=Qb-16|0;Qb=c;v[c+8>>2]=v[a>>2];v[c+8>>2]=v[c+8>>2]+(b<<2);Qb=c+16|0;return v[c+8>>2]}function aRa(a){a=a|0;v[a+4>>2]=1;v[a>>2]=459608;v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=466844;t[a+16|0]=0;return a|0}function ULa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Ub[v[b+8>>2]](v[b>>2],0,127);Oj(v[v[v[a+8>>2]>>2]+24>>2],b,c,5,d)}function Rga(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Xd(a+28|0,c,1);if(c){gc(v[a+24>>2],b,c)}v[a+20>>2]=d;Wc(a+16|0,0)}function Pf(a){var b=0;b=Qb-16|0;Qb=b;v[b+12>>2]=0;v[b+4>>2]=a;v[b>>2]=a;v[b+8>>2]=a+1;t[v[b+8>>2]]=0;Qb=b+16|0}function Nz(a){a=a|0;v[a>>2]=457752;if(t[a+27|0]<=-1){dc(v[a+16>>2])}if(t[a+15|0]<=-1){dc(v[a+4>>2])}return a|0}function N3(a){a=a|0;var b=0;a:{if(!v[a+20>>2]){break a}b=v[a>>2];if(!b){break a}dc(b);v[a>>2]=0}dc(a);return 0}function LIa(a,b){a=a|0;b=b|0;var c=0;a:{c=v[a+272>>2];if(!c){break a}c=v[c+36>>2];if(!c){break a}Ub[c|0](a,b)}}function KYa(a,b,c){a=a|0;b=b|0;c=c|0;c=Sz(a,b,c,1);if(!c){v[a+8>>2]=v[a+8>>2]&-32769|((b|0)!=0)<<15}return c|0}function F4a(a,b){a=a|0;b=b|0;v[a+24>>2]=v[b+20>>2];v[a+4>>2]=v[b>>2];v[a+28>>2]=v[b+24>>2];v$(a,b,0);v$(a,b,1)}function Eza(a){a=a|0;var b=0;v[a>>2]=938296;b=v[a+4>>2];if(b){dc(Dc(b))}b=v[a+8>>2];if(b){dc(Dc(b))}return a|0}function BN(a){var b=0;b=Ea(a|0)|0;if((b|0)==-31){b=Ja(a|0)|0}if(b>>>0>=4294963201){v[299402]=0-b;b=-1}return b}function Aq(a){a=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);return a<<24|a<<8&16711680|(a>>>8&65280|a>>>24)}function $j(a){a:{a=v[a+4>>2]&74;if(a){if((a|0)==64){return 8}if((a|0)!=8){break a}return 16}return 0}return 10}function Vr(a){var b=0;bh(v[a+36>>2]);b=v[a+36>>2];a:{if(w[v[b+16>>2]]){break a}if((cd(b)|0)>0){break a}vd(a)}}function Ugb(a,b){a=a|0;b=b|0;a=Qb-16|0;Qb=a;Sc(4497,0);Sc(8885,0);v[a>>2]=14714;Sc(9564,a);Qb=a+16|0;return 0}function RN(a){var b=0;a=Sw(a,589824,0);if((a|0)>=0){b=bd(1,2080);if(!b){va(a|0)|0;return 0}v[b>>2]=a}return b}function Oi(a,b,c){if(!c){return v[a+4>>2]==v[b+4>>2]}if((a|0)==(b|0)){return 1}return!mc(v[a+4>>2],v[b+4>>2])}function L1(a){var b=0;b=Yu(a+2340|0,3416,56);if(b){pc(a,5,b,0);return 5}t[a+2420|0]=1;v[a+2352>>2]=0;return 0}function ypa(a){a=a|0;v[a>>2]=982844;id(a+108|0);id(a+80|0);id(a+52|0);fd(a+28|0);Ic(a+12|0);Qc(a);return a|0}function yfb(a,b){a=a|0;b=b|0;return X0(a,x[b+28>>1],w[b+30|0],v[b+32>>2],v[b+36>>2],v[b+40>>2],v[b+44>>2])|0}function qw(){var a=0;v[299999]=0;a=v[299999];v[299999]=0;if((a|0)!=1){return v[253216]}W(0)|0;O()|0;lc();L()}function pw(){var a=0;v[299999]=0;a=v[299999];v[299999]=0;if((a|0)!=1){return v[253604]}W(0)|0;O()|0;lc();L()}function ft(){var a=0;v[299999]=0;a=v[299999];v[299999]=0;if((a|0)!=1){return v[253021]}W(0)|0;O()|0;lc();L()}function fVa(a){a=a|0;var b=0;b=1;a:{if(!v[a+16>>2]){break a}a=v[a+20>>2];if(!a){break a}_G(a);b=0}return b|0}function dN(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;v[a+8>>2]=-1;v[a+12>>2]=-1;v[a>>2]=0;v[a+4>>2]=0}function a3a(a){a=a|0;var b=0;b=v[a+440>>2];if(v[a+84>>2]){Ub[v[v[a+480>>2]+8>>2]](a)}v[b+12>>2]=v[b+12>>2]+1}function Sfb(a,b){a=a|0;b=b|0;var c=0;c=b;b=v[b+32>>2];v[c+56>>2]=b;if(!(b|w[a+460|0])){t[a+460|0]=1}return 0}function Rsa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=a;a=w[b+11|0];c=a<<24>>24<0;Tt(d,c?v[b>>2]:b,1,c?v[b+4>>2]:a)}function RD(a){a=a|0;var b=0;v[a>>2]=979436;b=v[a+4>>2];if(b){dc(b);v[a+4>>2]=0}b=v[a+8>>2];if(b){dc(b)}dc(a)}function LOa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Qb-16|0;Qb=d;t[d+11|0]=0;v[d>>2]=0;$W(a+68|0,d,b,c);Qb=d+16|0}function ywa(a){a=a|0;var b=0;b=v[a+40>>2];if(b>>>0>2]){v[a+40>>2]=b+1;a=w[b|0]}else{a=-1}return a|0}function tFa(a,b){a=a|0;b=b|0;var c=0;c=Bc(b);v[a>>2]=c;v[a+4>>2]=0;Ng(a,c);gc(v[a+4>>2],b,c+1|0);return a|0}function sf(a,b,c){if(c){while(1){if(v[a>>2]==(b|0)){return a}a=a+4|0;c=c-1|0;if(c){continue}break}}return 0}function l6(a,b){a=a|0;b=b|0;b=B(v[a+588>>2],b);v[a+604>>2]=b+v[a+604>>2];v[a+608>>2]=v[a+608>>2]-b;return 1}function hM(a,b,c,d,e){b=Hl(b,c,d,e,4);if(!(w[d|0]&4)){v[a>>2]=((b|0)<69?b+2e3|0:(b|0)<100?b+1900|0:b)-1900}}function eM(a,b,c,d,e){b=Gl(b,c,d,e,4);if(!(w[d|0]&4)){v[a>>2]=((b|0)<69?b+2e3|0:(b|0)<100?b+1900|0:b)-1900}}function aJa(a){a=a|0;a=v[a+4>>2];if(!a){return-1}if(v[a+76>>2]<=-1){a=v[a>>2]}else{a=v[a>>2]}return a>>>5&1}function XJa(a){a=a|0;a=v[a+4>>2];if(!a){return 1}if(v[a+76>>2]<=-1){a=v[a>>2]}else{a=v[a>>2]}return a>>>4&1}function Pfb(a,b){a=a|0;b=b|0;return h1(a,x[b+28>>1],x[b+30>>1],x[b+32>>1],t[b+34|0],x[b+36>>1],w[b+38|0])|0}function K1(a){var b=0;if(!v[a+4>>2]){v[a+8>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;b=jc(1);t[a+12|0]=1;v[a+4>>2]=b}}function I4(a){a=a|0;var b=0;v[a>>2]=54124;b=v[a+976>>2];if(b){dc(aT(b))}v[a>>2]=1032;_g(a);Jg(a);return a|0}function G_a(a,b){a=a|0;b=b|0;var c=0;c=Qb-16|0;Qb=c;v[c+12>>2]=0;Uz(a,b,c+12|0);Qb=c+16|0;return v[c+12>>2]}function y5(a){a=a|0;var b=C(0);b=C(z[a+344>>2]+C(.5));if(b=C(0)){return~~b>>>0|0}return 0}function xI(a,b){a:{if(!b){break a}a=Xe(a,b);if(!a){break a}Oe(a,0,0,a?v[a>>2]:-1,a?v[a+4>>2]:-1,10,0,0,0)}}function wea(a){a=a|0;v[a>>2]=997980;id(a+68|0);ec(a+60|0);Ic(a+44|0);id(a+16|0);ec(a+8|0);Qc(a);return a|0}function lI(a,b){var c=0;if(!(!a|(b|0)<0)){if(v[a+4>>2]<=(b|0)){return 0}c=v[v[a+12>>2]+(b<<2)>>2]}return c}function cca(a){a=a|0;var b=0;b=v[282445];if(a){v[282445]=(a|0)==-1?1197652:a}return((b|0)==1197652?-1:b)|0}function aUa(a){a=a|0;v[a>>2]=457752;if(t[a+27|0]<=-1){dc(v[a+16>>2])}if(t[a+15|0]<=-1){dc(v[a+4>>2])}dc(a)}function PUa(a,b){a=a|0;b=b|0;var c=0;c=1;if(!(!v[a+16>>2]|!v[a+20>>2])){v[a+628>>2]=v[b>>2];c=0}return c|0}function Iza(a){a=a|0;var b=0;v[a>>2]=938248;b=v[a+4>>2];if(b){dc(b)}b=v[a+8>>2];if(b){dc(Dc(b))}return a|0}function gia(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=v[c>>2];if(b){Ub[v[v[b>>2]+28>>2]](a,b,1);return}v[a>>2]=0}function dia(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=v[c>>2];if(b){Ub[v[v[b>>2]+24>>2]](a,b,2);return}v[a>>2]=0}function YKa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(e>>>0<=2){a=nt(b,c,d,e)?-1:0}else{a=-1}return a|0}function WL(a,b){var c=0;c=Qb-16|0;Qb=c;v[c+8>>2]=v[a>>2];v[c+8>>2]=v[c+8>>2]+b;Qb=c+16|0;return v[c+8>>2]}function VTa(a){a=a|0;var b=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!v[a+4>>2]){Ub[v[v[a>>2]+4>>2]](a)}return b|0}function Dza(a){a=a|0;var b=0;v[a>>2]=938296;b=v[a+4>>2];if(b){dc(Dc(b))}b=v[a+8>>2];if(b){dc(Dc(b))}dc(a)}function Bca(a,b,c){a=a|0;b=b|0;c=c|0;b=NM(a+4|0,b,c|16);a=v[v[a>>2]-12>>2]+a|0;if(b){ZM(a);return}np(a,4)}function up(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Qb-16|0;Qb=d;v[d+12>>2]=c;a=Pw(a,b,c);Qb=d+16|0;return a|0}function tp(a){var b=0;a=UC(a);b=Tb;if((b|0)>=0&a>>>0>=2147483648|(b|0)>0){v[299402]=61;return-1}return a}function rgb(a,b){a=a|0;b=b|0;var c=0;c=v[a+4>>2];if(c){v[a+12>>2]=0;v[c+20>>2]=v[c+12>>2]+b;v[a+8>>2]=b}}function rSa(a){a=a|0;var b=0,c=0;b=1;c=v[a+4>>2];if(!(!c|!w[a+8|0])){b=Be(c);v[a+4>>2]=0;b=!b}return b|0}function mha(a){a=a|0;var b=0;b=Qb-16|0;Qb=b;a=Ub[v[v[a>>2]+44>>2]](a,0,b+12|0,10)|0;Qb=b+16|0;return a|0}function Wab(a){a=a|0;var b=0;v[a>>2]=54292;b=v[a+976>>2];if(b){rr(b)}v[a>>2]=1032;_g(a);Jg(a);return a|0}function IL(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;v[e>>2]=c;v[h>>2]=f;return 3}function FDa(a,b,c){a=a|0;b=b|0;c=c|0;b=_k(v[a+28>>2]);v[a+28>>2]=b;a=v[a+8>>2];Ub[v[v[a>>2]+68>>2]](a,b)}function DZ(a,b){a=a|0;b=b|0;a=v[v[a>>2]+4>>2];b=v[v[b>>2]+4>>2];return(a>>>0>b>>>0?1:a>>>0>>0?-1:0)|0}function Cca(a,b,c){a=a|0;b=b|0;c=c|0;b=NM(a+8|0,b,c|8);a=v[v[a>>2]-12>>2]+a|0;if(b){ZM(a);return}np(a,4)}function $ha(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=Pn(c,b);if((a|0)>=0){c=a+c|0;t[c|0]=0}t[c|0]=0;return c|0}function xpa(a){a=a|0;v[a>>2]=982844;id(a+108|0);id(a+80|0);id(a+52|0);fd(a+28|0);Ic(a+12|0);Qc(a);dc(a)}function thb(a,b){a=a|0;b=b|0;var c=0;c=Qb-16|0;Qb=c;v[c>>2]=v[a+12>>2];wc(b,59023,c);Qb=c+16|0;return 0}function iQa(a,b){a=a|0;b=b|0;b=v[b+12>>2];if(!b){v[a>>2]=0;t[a+11|0]=0;return}Ub[v[v[b>>2]+44>>2]](a,b)}function fwa(a,b){a=a|0;b=b|0;a=v[v[a>>2]+40>>2];b=v[v[b>>2]+40>>2];return((a|0)<(b|0)?-1:(a|0)>(b|0))|0}function Y2a(a){a=a|0;a=v[a>>2];return B(B(B(a&255,31)+(a>>>8&255)|0,31)+(a>>>16&255)|0,31)+(a>>>24|0)|0}function Vma(a,b){a=a|0;b=b|0;a=v[v[a>>2]+12>>2];b=v[v[b>>2]+12>>2];return((a|0)<(b|0)?-1:(a|0)>(b|0))|0}function QWa(a){a=a|0;var b=0;v[a>>2]=39232;b=v[a+4>>2];if(!(!b|!w[a+8|0])){Be(b);v[a+4>>2]=0}return a|0}function J2a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;v[d>>2]=0;if(!b){return 81}return pq(b,333319,e)|0}function I2a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;v[d>>2]=0;if(!b){return 81}return pq(b,333312,e)|0}function Gca(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 Ub[v[v[a>>2]+16>>2]](a,b,c,d,e,f)|0}function Cxa(a){a=a|0;var b=0;b=v[a+4>>2];Ub[v[v[b>>2]+20>>2]](b);v[a+52>>2]=0;v[a+44>>2]=0;v[a+48>>2]=0}function x4(a){a=a|0;var b=0;v[a>>2]=54124;b=v[a+976>>2];if(b){dc(aT(b))}v[a>>2]=1032;_g(a);Jg(a);dc(a)}function sL(a){if(!v[a+136>>2]){v[a+136>>2]=v[v[282445]>>2]?1005768:1005744}if(!w[a+74|0]){t[a+74|0]=1}}function r2a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Qb-16|0;Qb=d;a=Fd(a,B(b,c),d+12|0);Qb=d+16|0;return a|0}function o7a(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1296387652){pc(a,2050,0,0);a=2050}else{a=0}return a|0}function k5a(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Qb-16|0;Qb=d;v[d>>2]=c;a=EN(a,b,d);Qb=d+16|0;return a|0}function hAa(a){a=a|0;var b=0,c=0;c=-1;b=v[a+60>>2];if(!(!b|y[a+64>>2]<=b>>>0)){c=w[b|0]^255}return c|0}function f4a(a,b){a=a|0;b=b|0;b=v[a>>2];v[a+16>>2]=v[v[b+140>>2]+52>>2];v[a+20>>2]=v[b+144>>2];return 0}function e1(a,b,c,d,e,f,g,h,i,j,k,l){b=oJ(a,b,c,d,e,f,g,h,i,j,k,l);if(w[a+497|0]){t[a+498|0]=1}return b}function ar(a,b){var c=0;c=Qb-16|0;Qb=c;v[c+12>>2]=v[a>>2];v[a>>2]=v[b>>2];v[b>>2]=v[c+12>>2];Qb=c+16|0}function Z_a(a,b){a=a|0;b=b|0;var c=0;c=Qb-16|0;Qb=c;v[c+12>>2]=b;a=xZ(a,c+12|0,0);Qb=c+16|0;return a|0}function ZFa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=ic(a,0,256),e=(w[v[b>>2]+c|0]<<6)+-8192|0,v[d>>2]=e}function T6a(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1246971216){pc(a,2050,0,0);a=2050}else{a=0}return a|0}function Q6a(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1229999687){pc(a,2050,0,0);a=2050}else{a=0}return a|0}function O6a(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1229606471){pc(a,2050,0,0);a=2050}else{a=0}return a|0}function ML(a,b){a=a+8|0;if(v[a+4>>2]-v[a>>2]>>2>>>0>b>>>0){a=v[v[a>>2]+(b<<2)>>2]!=0}else{a=0}return a}function Hj(a){var b=0;if(a){b=v[a>>2];if(b){Hj(b)}b=v[a+4>>2];if(b){Ub[v[259708]](b)}Ub[v[259708]](a)}}function E7a(a,b,c){a=a|0;b=b|0;c=c|0;if(v[c>>2]!=1229278788){pc(a,2050,0,0);a=2050}else{a=0}return a|0}function Aw(a){a:{v[299999]=0;dc(a);a=v[299999];v[299999]=0;if((a|0)!=1){break a}W(0)|0;O()|0;lc();L()}}function vea(a){a=a|0;v[a>>2]=997980;id(a+68|0);ec(a+60|0);Ic(a+44|0);id(a+16|0);ec(a+8|0);Qc(a);dc(a)}function oCa(a){a=a|0;var b=0;b=v[a+168>>2];if(!b){return 0}v[b+24>>2]=v[b+24>>2]+1;return v[a+168>>2]}function hg(a,b,c){if(!(v[a+12>>2]>(b|0)&(b|0)>=0)){v[c>>2]=5;return c}return zf(v[a+4>>2]+(b<<4)|0,c)}function X4(a){a=a|0;var b=0;b=v[a+828>>2];v[b+604>>2]=v[a+780>>2];v[b+608>>2]=v[b+600>>2]-v[a+784>>2]}function Hza(a){a=a|0;var b=0;v[a>>2]=938248;b=v[a+4>>2];if(b){dc(b)}b=v[a+8>>2];if(b){dc(Dc(b))}dc(a)}function GRa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=v[a+268>>2]+(b<<3)|0;v[c>>2]=v[a>>2];z[d>>2]=z[a+4>>2]}function yJa(a){a=a|0;var b=0;a:{if(!a){break a}a=v[a+8>>2];if(!a){break a}b=v[a+40>>2]==1}return b|0}function xJa(a){a=a|0;var b=0;a:{if(!a){break a}a=v[a+8>>2];if(!a){break a}b=v[a+44>>2]!=0}return b|0}function vJa(a){a=a|0;var b=0;a:{if(!a){break a}a=v[a+8>>2];if(!a){break a}b=v[a+48>>2]!=0}return b|0}function rma(a){a=a|0;var b=0;b=v[a+8>>2];if(!b){return 0}iP(b,1);return(v[v[a+8>>2]+148>>2]&2)>>>1|0}function nfb(a){a=a|0;var b=0;b=v[a+4>>2];if(!(!b|!w[a+12|0])){dc(b);v[a+4>>2]=0;v[a+8>>2]=0}return 1}function nKa(a,b){a=a|0;b=b|0;v[a>>2]=0;b=v[b>>2];v[a>>2]=b;if(b){Ub[v[v[b>>2]+8>>2]](b)|0}return a|0}function mUa(a){a=a|0;var b=0;b=Qb-16|0;Qb=b;v[b+12>>2]=1;Ub[v[v[a>>2]+328>>2]](a,b+12|0)|0;Qb=b+16|0}function _La(a){a=a|0;var b=0;b=v[a+8>>2];if(b){eq(v[b>>2]);if(!w[a+34|0]){_e(v[a+8>>2])}v[a+8>>2]=0}}function TV(a){var b=0;b=Qb-48|0;Qb=b;a:{if(a){VV(b,a);a=nG(0,b);break a}a=nG(0,0)}Qb=b+48|0;return a}function D8a(a,b){a=a|0;b=b|0;var c=0;c=v[a+428>>2];t[c+8|0]=w[b+32|0];return _d(a,v[b>>2],1,c+8|0)|0}function BUa(a,b,c){a=a|0;b=+b;c=+c;var d=0;a=v[a+16>>2];d=v[a+44>>2];A[d+40>>3]=c;A[d+32>>3]=b;nv(a)}function zr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;v[a>>2]=0;v[a+4>>2]=0;t[a+8|0]=0;Tt(a,b,c,d);return a|0}function zYa(a,b,c){a=a|0;b=b|0;c=c|0;if(mc(b,247801)){a=12}else{v[c>>2]=v[a- -64>>2];a=0}return a|0}function r3a(a,b){a=a|0;b=b|0;a=v[a+712>>2];t[b|0]=0;if(!(!a|v[a+1504>>2]==65535)){t[b|0]=1}return 0}function mB(a){var b=0,c=0;if(a){while(1){b=b+1|0;c=a>>>0>1;a=a>>>1|0;if(c){continue}break}}return b}function hFa(a,b){a=a|0;b=b|0;v[a>>2]=b;v[a+12>>2]=0;v[a+16>>2]=1;v[a+4>>2]=0;v[a+8>>2]=0;return a|0}function gwa(a,b){a=a|0;b=b|0;var c=0,d=0;c=A[v[a>>2]+24>>3];d=A[v[b>>2]+24>>3];return(cd)|0}function Z4a(a,b){a=a|0;b=b|0;var c=0;if(!v[293566]){c=hH();v[293566]=c;Ub[v[v[c>>2]+36>>2]](c,a,b)}}function QH(a,b,c){if((b|0)>=1){a=Ub[v[a+4>>2]](a,b)|0;v[c>>2]=!a<<6;return a}v[c>>2]=b?6:0;return 0}function Lab(a){a=a|0;var b=0;v[a>>2]=54292;b=v[a+976>>2];if(b){rr(b)}v[a>>2]=1032;_g(a);Jg(a);dc(a)}function uOa(a){a=a|0;var b=0;v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=530160;b=v[a+4>>2];if(b){Be(b)}dc(a)}function qfa(a,b){a=a|0;b=b|0;if((b|0)<=0){a=Di(a);a=a?a:1;b=a>>>0>8192?1:8192/(a>>>0)|0}return b|0}function q_a(a,b){a=a|0;b=b|0;var c=0;c=v[v[a+12>>2]+48>>2];if(!c){return 150}return Ub[c|0](a,b)|0}function ofb(a){a=a|0;var b=0;b=v[a+12>>2];Ub[v[v[a>>2]+8>>2]](a);sd(b+2568|0,v[v[a>>2]+20>>2]);L()}function ci(a){var b=0;b=v[a>>2];v[a>>2]=b-1;if((b|0)<=1){b=v[v[a+8>>2]>>2];if(b){Ub[b|0](a)}dc(a)}}function b0(a,b){if(!a){return 0}if(!b){if(a){v[a+16>>2]=v[a+16>>2]+1}return a}return zI(a,b,b,b,b)}function _e(a){a=a|0;var b=0;if((a|0)!=846048){b=v[294141];if(b){Ub[b|0](v[294140],a);return}dc(a)}}function _Ia(a){a=a|0;var b=0;a:{if(!a){break a}a=v[a+36>>2];if(!a){break a}b=v[a+28>>2]}return b|0}function Zfb(a,b){a=a|0;b=b|0;t[a+307|0]=1;v[a+1932>>2]=v[b+28>>2];gc(a+1936|0,b+32|0,256);return 0}function ZIa(a){a=a|0;var b=0;a:{if(!a){break a}a=v[a+36>>2];if(!a){break a}b=v[a+32>>2]}return b|0}function $fb(a,b){a=a|0;b=b|0;t[a+306|0]=1;v[a+1160>>2]=v[b+28>>2];gc(a+1164|0,b+32|0,768);return 0}function yAa(a){a=a|0;v[a+24>>2]=0;v[a+28>>2]=0;v[a+40>>2]=-1;v[a+32>>2]=0;v[a+36>>2]=0;return a|0}function nba(a,b){a=a|0;b=b|0;v[a+528>>2]=0;v[a+516>>2]=446;v[a+512>>2]=0;v[a+524>>2]=446;return 1}function iza(a){a=a|0;if(!a){return 0}a=US(2,v[a+672>>2],v[a+668>>2]);if(a){ic(a,0,236)}return a|0}function e9(a,b,c){a=a|0;b=b|0;c=c|0;if(c>>>0<=127){a=(x[ft()+(c<<1)>>1]&b)!=0}else{a=0}return a|0}function Mn(a){var b=0;b=w[a+3|0];t[a+3|0]=w[a|0];t[a|0]=b;b=w[a+2|0];t[a+2|0]=w[a+1|0];t[a+1|0]=b}function Lfb(a,b){a=a|0;b=b|0;return c1(a,x[b+28>>1],x[b+30>>1],w[b+32|0],v[b+36>>2],v[b+40>>2])|0}function Jha(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Qb-16|0;Qb=d;v[d+12>>2]=c;wO(a,b,d+12|0);Qb=d+16|0}function E3a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Ub[v[v[a+548>>2]+40>>2]](a,b,c,d,e)|0}function CMa(a){a=a|0;v[v[a+388>>2]+12>>2]=0;Ub[v[v[a+404>>2]+4>>2]](a);Ub[v[v[a+404>>2]+8>>2]](a)}function CL(a){v[299999]=0;dc(a);a=v[299999];v[299999]=0;if((a|0)!=1){return}W(0)|0;O()|0;lc();L()}function $Ia(a){a=a|0;var b=0;a:{if(!a){break a}a=v[a+36>>2];if(!a){break a}b=v[a+4>>2]}return b|0}function xL(a,b){var c=0;c=v[a+4>>2];while(1){if((b|0)!=(c|0)){c=c-4|0;continue}break}v[a+4>>2]=b}function wFa(a){a=a|0;var b=0;v[a+4>>2]=8;b=ed(8,4);v[a+8>>2]=0;v[a+12>>2]=0;v[a>>2]=b;return a|0}function v5(a,b){a=a|0;b=b|0;a=v[a+12>>2];zc(v[a+628>>2],62414,63867,0);sd(v[a+584>>2]+4|0,1);L()}function u5(a,b){a=a|0;b=b|0;a=v[a+12>>2];zc(v[a+628>>2],62414,63867,0);sd(v[a+584>>2]+4|0,1);L()}function sXa(a){a=a|0;var b=0;b=Eg(v[a+4>>2],278818);if(!b){return 11}v[a+28>>2]=v[b>>2];return 0}function nBa(a){a=a|0;var b=0;v[a>>2]=897456;b=v[a+12>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}return a|0}function mg(a){var b=0;a:{if(!v[a+24>>2]){break a}b=v[a+20>>2];if(!b){break a}dc(b);v[a+20>>2]=0}}function ko(a,b,c,d){var e=0;a:{if(!a){break a}a=v[a+44>>2];if(!a){break a}e=Se(a,c,d,b)}return e}function kAa(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(!a|(c|0)!=156){a=d}else{v[a+156>>2]=b}return a|0}function ira(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=v[a+16>>2];return Ub[v[v[a>>2]+20>>2]](a,b,c,d)|0}function cja(a){a=a|0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a>>2]=990196;v[a+4>>2]=0;return a|0}function cRa(a,b){a=a|0;b=b|0;var c=0;c=v[b>>2];if(c){Ub[v[v[c>>2]+8>>2]](c)}v[a>>2]=b;return a|0}function cM(a,b){var c=0;c=Qb-16|0;Qb=c;t[c+15|0]=w[a|0];t[a|0]=w[b|0];t[b|0]=w[c+15|0];Qb=c+16|0}function aza(a){a=a|0;var b=0,c=0;if(!v[a+88>>2]){b=a,c=$R(a+32|0,a+48|0,a,v[a>>2]),v[b+88>>2]=c}}function Ypa(a){a=a|0;v[a>>2]=982652;ec(a+44|0);ec(a+36|0);ec(a+28|0);ec(a+20|0);Qc(a);return a|0}function Wma(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=v[a+12>>2];return Ub[v[v[a>>2]+20>>2]](a,b,c,0)|0}function RBa(a){a=a|0;var b=0;v[a>>2]=897248;b=v[a+16>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}return a|0}function Pe(a){var b=0;b=Qb-16|0;Qb=b;a=ye(a,b+12|0,1);Qb=b+16|0;return((a|0)==1?w[b+12|0]:0)&255}function OI(a,b){if(b){OI(a,v[b>>2]);OI(a,v[b+4>>2]);a=v[b+20>>2];if(a){v[b+24>>2]=a;dc(a)}dc(b)}}function Noa(a){a=a|0;v[a>>2]=983068;Ic(a+40|0);ec(a+32|0);ec(a+24|0);ec(a+12|0);Qc(a);return a|0}function NI(a,b){if(b){NI(a,v[b>>2]);NI(a,v[b+4>>2]);a=v[b+20>>2];if(a){v[b+24>>2]=a;dc(a)}dc(b)}}function HR(a,b){a=a|0;b=b|0;var c=0,d=0;c=A[v[a>>2]+8>>3];d=A[v[b>>2]+8>>3];return(cd)|0}function FY(a){a=a|0;var b=0;b=v[a+4>>2]-1|0;v[a+4>>2]=b;if(!b){Ub[v[v[a>>2]+4>>2]](a)}return b|0}function zL(a,b){var c=0;c=Qb-16|0;Qb=c;a:{if((a|0)==(b|0)){t[a+120|0]=0;break a}CL(b)}Qb=c+16|0}function xhb(a,b,c){a=a|0;b=b|0;c=c|0;return((zn(c,v[a+20>>2],v[a+16>>2])|0)!=v[a+16>>2]?-1:0)|0}function wwa(a){a=a|0;var b=0;b=1;if(!(!a|!w[a+398|0])){v[a+208>>2]=v[a+208>>2]|2;b=7}return b|0}function wia(a){a=a|0;var b=0;b=v[a+4>>2];if(!b){v[a+4>>2]=-32767}if(!b){Ub[v[v[a>>2]+4>>2]](a)}}function ssa(a){a=a|0;a=v[a+4>>2];if(!a){return 0}a=v[a+12>>2];if(a){a=CP(a)}else{a=0}return a|0}function qxa(a){a=a|0;var b=0;v[a>>2]=962904;b=v[a+4>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}return a|0}function oB(a){var b=0;a:{if(!v[a+964>>2]){break a}if(!Ft(a,0,0)){break a}b=v[a+964>>2]}return b}function eBa(a){a=a|0;var b=0;v[a>>2]=897528;b=v[a+8>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}return a|0}function bBa(a){a=a|0;var b=0;v[a>>2]=897548;b=v[a+8>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}return a|0}function ai(a){var b=0;b=v[a+104>>2];a:{if(!b){break a}b=v[b>>2];if(!b){break a}Ub[b|0](a)}dc(a)}function Zc(a,b){a=a|0;b=b|0;var c=0;if(!(!a|!b)){c=v[a+676>>2];if(c){Ub[c|0](a,b);return}dc(b)}}function ZXa(a,b){a=a|0;b=b|0;b=mH(v[a+532>>2],0,0);if(!b){v[a+8>>2]=v[a+8>>2]&-32769}return b|0}function Yta(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Ub[v[v[b>>2]+16>>2]](a,b,v[c+8>>2],v[c+12>>2],0,d)}function RS(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=v[b>>2];a=(a|0)<65536?a:65536;v[c>>2]=(a|0)>0?a:0}function RNa(){var a=0;a=v[294138];if(a){ch(a);v[294138]=0}v[294136]=0;ic(1176472,0,72);return 1}function R4a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=v[a>>2];return Ub[v[v[a>>2]+44>>2]](a,b,c,d,1)|0}function QRa(a){a=a|0;var b=0;b=fc(12);v[b+8>>2]=v[a+8>>2];v[b>>2]=466304;v[b+4>>2]=0;return b|0}function PEa(a){a=a|0;var b=0;v[a>>2]=894536;b=v[a+4>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}return a|0}function Mwa(a){a=a|0;var b=0;v[a>>2]=968068;b=v[a+4>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}return a|0}function Lxa(a){a=a|0;var b=0;v[a>>2]=962604;b=v[a+4>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}return a|0}function KE(a,b,c,d){var e=0;e=v[a+448>>2];if(e){uc(e)}A[a+456>>3]=d;v[a+452>>2]=c;v[a+448>>2]=b}function Fxa(a){a=a|0;var b=0;v[a>>2]=962704;b=v[a+4>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}return a|0}function Dya(a,b){a=a|0;b=b|0;if(b){a=v[b>>2];if(a){dc(Dc(a))}a=v[b+4>>2];if(a){dc(Dc(a))}dc(b)}}function DKa(a){a=a|0;var b=0;v[a>>2]=878696;b=v[a+4>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}return a|0}function C1(a){a=a|0;gc(v[a+644>>2],v[a+636>>2]+v[a+616>>2]|0,v[a+604>>2]);t[a+649|0]=0;return 0}function $K(a){var b=0;a:{a=v[a>>2]-12|0;b=v[a+8>>2]-1|0;v[a+8>>2]=b;if((b|0)>-1){break a}dc(a)}}function wGa(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;t[a+203|0]=g;t[a+202|0]=1}function p6(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;if(Oi(a,v[b+8>>2],f)){GB(b,c,d,e)}}function Ft(a,b,c){var d=0;if(!((c|0)<0|v[a+20>>2]<=(c|0)|(b|0)<0)){d=v[a+16>>2]>(b|0)}return d}function zma(a,b){a=a|0;b=b|0;var c=0;c=fc(12);v[c>>2]=0;v[c+4>>2]=0;v[c+8>>2]=v[b>>2];Le(a,c)}function sBa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(a){v[a+676>>2]=d;v[a+672>>2]=c;v[a+668>>2]=b}}function on(a){var b=0;a:{if(!a){break a}b=v[a>>2];if(!b){break a}dc(v[b>>2]);dc(b);v[a>>2]=0}}function mf(a,b,c){if(!(v[a+12>>2]>(b|0)&(b|0)>=0)){v[c>>2]=0;return 0}return w[v[a+8>>2]+b|0]}function l_(a,b,c){a=a|0;b=b|0;c=c|0;return Ub[v[v[v[a+12>>2]+56>>2]+12>>2]](v[a+52>>2],b,c)|0}function k3(a,b){a=a|0;b=b|0;var c=0;c=Qb-16|0;Qb=c;v[c>>2]=v[a+12>>2];wc(b,43483,c);Qb=c+16|0}function fAa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(a){v[a+164>>2]=d;v[a+160>>2]=c;v[a+168>>2]=b}}function Qsa(a){a=a|0;a:{if(!w[a+8|0]){break a}a=v[a>>2];if(a){break a}return 0}return v[a>>2]}function P4a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=v[a>>2];return Ub[v[v[a>>2]+56>>2]](a,b,c,d)|0}function O4a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=v[a>>2];return Ub[v[v[a>>2]+60>>2]](a,b,c,d)|0}function JPa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=v[a+4>>2];if(!a){return 0}return Rc(b,c,d,a)|0}function JL(a){a=a|0;var b=0;v[a>>2]=1016332;b=v[a+8>>2];if(!(!b|!w[a+12|0])){dc(b)}return a|0}function J5a(a,b){a=a|0;b=b|0;var c=0;v[(!a|v[a>>2]!=1381173770?c:v[a+4>>2])+16>>2]=b;return 1}function I$a(a,b,c){a=a|0;b=b|0;c=c|0;c=v[a+104>>2];u[a+144>>1]=0-c;v[a+140>>2]=0-B(u[b>>1],c)}function xwa(a){a=a|0;var b=0;b=v[a+40>>2];if(b>>>0>2]){a=w[b|0]}else{a=-1}return a|0}function uC(a){var b=0;b=a;a=0;while(1){if((a|0)!=3){v[(a<<2)+b>>2]=0;a=a+1|0;continue}break}}function rQa(a,b){a=a|0;b=b|0;A[a+128>>3]=A[b>>3];b=v[a+12>>2];if(b){A[b+136>>3]=A[a+128>>3]}}function mab(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;gc(g,e,B(d,6));return 0}function mXa(a){a=a|0;if(VH(v[v[a>>2]+504>>2]+108|0,v[a+44>>2])){O_(v[a+44>>2]);v[a+44>>2]=0}}function jW(a,b){a=a|0;b=b|0;a:{if(b>>>0<=1){v[a+48>>2]=0;if((b|0)==1){break a}}v[a+52>>2]=1}}function ggb(a,b){a=a|0;b=b|0;var c=0;c=v[a+20>>2];if(c){v[a+28>>2]=0;zg(c,b,0);v[a+24>>2]=b}}function d3(a,b){a=a|0;b=b|0;a=v[a+4>>2];b=v[b+4>>2];return(a>>>0>b>>>0?1:a>>>0>>0?-1:0)|0}function cN(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;v[a+8>>2]=-1;v[a+12>>2]=-1;v[a>>2]=0;v[a+4>>2]=0}function YFa(a,b){a=a|0;b=b|0;if(!Rr(a,b,1)){return-1}return w[((b-v[a+1040>>2]|0)+a|0)+16|0]}function Nab(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;gc(g,e,B(d,3));return 0}function Hy(a,b,c){var d=0;a:{if(!a){break a}a=v[a+40>>2];if(!a){break a}d=am(a,b,c)}return d}function yka(a){a=a|0;var b=0;v[a>>2]=989204;b=v[a+4>>2];if(!(!b|(b|0)==217929)){dc(b)}dc(a)}function x$a(a,b){a=a|0;b=b|0;a=v[a+16>>2];v[b+4>>2]=0;v[b>>2]=w[a+5|0]|w[a+4|0]<<8;return 0}function wca(a,b){a=a|0;b=b|0;var c=0;c=Qb-16|0;Qb=c;Qb=c+16|0;return(y[b>>2]>2]?b:a)|0}function ve(a){var b=0,c=0;c=a;while(1){b=c;c=b+4|0;if(v[b>>2]){continue}break}return b-a>>2}function v2a(a,b,c){a=a|0;b=b|0;c=c|0;if(b){ln(a+20|0,b)}if(c){dh(a+20|0,v[c>>2],v[c+4>>2])}}function ts(a,b){if(b){ts(a,v[b>>2]);ts(a,v[b+4>>2]);if(t[b+27|0]<=-1){dc(v[b+16>>2])}dc(b)}}function t$a(a,b){a=a|0;b=b|0;a=v[a+16>>2];v[b+4>>2]=2;v[b>>2]=w[a+5|0]|w[a+4|0]<<8;return 0}function sfb(a,b,c){a=a|0;b=b|0;c=c|0;a=v[a+152>>2];if(!a){return 0}return Ub[a|0](B(b,c))|0}function rwa(a){a=a|0;var b=0;b=Ub[v[v[a>>2]+32>>2]](a)|0;v[a+44>>2]=v[a+44>>2]+1;return b|0}function ps(a,b){if(b){ps(a,v[b>>2]);ps(a,v[b+4>>2]);if(t[b+27|0]<=-1){dc(v[b+16>>2])}dc(b)}}function os(a,b){if(b){os(a,v[b>>2]);os(a,v[b+4>>2]);if(t[b+31|0]<=-1){dc(v[b+20>>2])}dc(b)}}function n$a(a,b){a=a|0;b=b|0;a=v[a+16>>2];v[b+4>>2]=4;v[b>>2]=w[a+5|0]|w[a+4|0]<<8;return 0}function mBa(a){a=a|0;var b=0;v[a>>2]=897456;b=v[a+12>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}dc(a)}function j1a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Rg(a,v[a+8>>2]);return ys(a,v[a+8>>2],b,c,d)|0}function iBa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;v[c+8>>2]=0;v[c+12>>2]=1;v[c>>2]=0;v[c+4>>2]=0}function i$a(a,b){a=a|0;b=b|0;a=v[a+16>>2];v[b+4>>2]=6;v[b>>2]=w[a+5|0]|w[a+4|0]<<8;return 0}function h6(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=Ub[a|0](b,c,d,e)|0;_(Tb|0);return a|0}function gv(a,b){if(b){gv(a,v[b>>2]);gv(a,v[b+4>>2]);if(t[b+27|0]<=-1){dc(v[b+16>>2])}dc(b)}}function gq(a,b){if(b){gq(a,v[b>>2]);gq(a,v[b+4>>2]);if(t[b+27|0]<=-1){dc(v[b+16>>2])}dc(b)}}function Yka(a){a=a|0;Xd(a+28|0,0,1);v[a+20>>2]=0;Xd(a+40|0,0,1);Xd(a+52|0,0,4);v[a+60>>2]=0}function Xpa(a){a=a|0;v[a>>2]=982652;ec(a+44|0);ec(a+36|0);ec(a+28|0);ec(a+20|0);Qc(a);dc(a)}function Vt(a,b){if(b){Vt(a,v[b>>2]);Vt(a,v[b+4>>2]);if(t[b+27|0]<=-1){dc(v[b+16>>2])}dc(b)}}function Td(a){var b=0;b=Qb-16|0;Qb=b;a=ye(a,b+12|0,1);Qb=b+16|0;return(a|0)==1&w[b+12|0]!=0}function R0a(a){a=a|0;var b=0,c=0;b=v[a>>2];c=v[a+4>>2];if(c){Ub[v[b+8>>2]](b,c)}v[a+4>>2]=0}function QBa(a){a=a|0;var b=0;v[a>>2]=897248;b=v[a+16>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}dc(a)}function Moa(a){a=a|0;v[a>>2]=983068;Ic(a+40|0);ec(a+32|0);ec(a+24|0);ec(a+12|0);Qc(a);dc(a)}function KY(a){a=a|0;var b=0;v[a>>2]=457656;b=v[a+28>>2];if(b){dc(b);v[a+28>>2]=0}return a|0}function JW(a){var b=0;b=v[252977];v[a>>2]=b;v[v[b-12>>2]+a>>2]=v[252980];Zq(a+4|0);return a}function IW(a){var b=0;b=v[252938];v[a>>2]=b;v[v[b-12>>2]+a>>2]=v[252941];Zq(a+8|0);return a}function Fp(a,b){if(b){Fp(a,v[b>>2]);Fp(a,v[b+4>>2]);if(t[b+27|0]<=-1){dc(v[b+16>>2])}dc(b)}}function D4a(a,b,c){a=a|0;b=b|0;c=c|0;if(b){v[b>>2]=v[a+10056>>2]}if(c){v[c>>2]=v[a+252>>2]}}function uJ(a){var b=0;t[a+2420|0]=0;b=tk(a+2340|0);if(b){pc(a,5,b,0);a=5}else{a=0}return a}function pxa(a){a=a|0;var b=0;v[a>>2]=962904;b=v[a+4>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}dc(a)}function oPa(a){a=a|0;v[a>>2]=467488;dc(v[a+8>>2]);dc(v[a+12>>2]);dc(v[a+28>>2]);return a|0}function iqa(a){a=a|0;var b=0;b=v[a+20>>2];if(!(!b|!v[b+8>>2])){return a+20|0}return a+36|0}function igb(a,b){a=a|0;b=b|0;var c=0;c=v[a+20>>2];if(c){zg(c,b,1);v[a+24>>2]=v[a+24>>2]+b}}function gi(a){a=a|0;var b=0;a:{if(v[a+20>>2]){break a}b=v[a+36>>2];if(!b){break a}Nm(a,b)}}function gab(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;gc(g,e,d<<3);return 0}function dBa(a){a=a|0;var b=0;v[a>>2]=897528;b=v[a+8>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}dc(a)}function Rma(a){a=a|0;tx(a);t[a+16|0]=0;v[a+8>>2]=0;v[a+12>>2]=-1;v[a>>2]=983924;return a|0}function OEa(a){a=a|0;var b=0;v[a>>2]=894536;b=v[a+4>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}dc(a)}function Lwa(a){a=a|0;var b=0;v[a>>2]=968068;b=v[a+4>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}dc(a)}function Kxa(a){a=a|0;var b=0;v[a>>2]=962604;b=v[a+4>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}dc(a)}function Ixa(a){a=a|0;var b=0;b=v[a+4>>2];Ub[v[v[b>>2]+20>>2]](b);v[a+8>>2]=-1;v[a+12>>2]=0}function Exa(a){a=a|0;var b=0;v[a>>2]=962704;b=v[a+4>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}dc(a)}function CWa(a,b){a=a|0;b=b|0;if(!b){return 1}A[b>>3]=A[a+608>>3]*25.4/A[a+592>>3];return 0}function CKa(a){a=a|0;var b=0;v[a>>2]=878696;b=v[a+4>>2];if(b){Ub[v[v[b>>2]+4>>2]](b)}dc(a)}function BWa(a,b){a=a|0;b=b|0;if(!b){return 1}A[b>>3]=A[a+616>>3]*25.4/A[a+600>>3];return 0}function zAa(a,b){a=a|0;b=b|0;v[a+4>>2]=b;b=ed(b,1);v[a>>2]=b;ic(b,0,v[a+4>>2]);return a|0}function z1(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;gc(g,e,d<<1);return 0}function xda(a,b,c){a=a|0;b=b|0;c=c|0;if(c&7){X(39043,31925,739,77229);L()}wC(b,(c|0)/8|0)}function x1(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;gc(g,e,d<<2);return 0}function wDa(a,b,c){a=a|0;b=b|0;c=c|0;A[v[a+28>>2]+576>>3]=v[b>>2]==1?+v[b+8>>2]:A[b+8>>3]}function vk(a){a=a|0;var b=0;v[a+8>>2]=0;v[a+12>>2]=0;b=v[a+4>>2];if(b){Be(b);v[a+4>>2]=0}}function m4(a){a=a|0;var b=0;b=a;a=v[a>>2];Ub[v[a+12>>2]](b,v[a+288>>2]);sd(a+132|0,1);L()}function h4a(a,b){a=a|0;b=b|0;a=v[a+4>>2];b=v[b+4>>2];return(a>>>0>>0?-1:a>>>0>b>>>0)|0}function bu(a,b){var c=0;c=Qb-96|0;Qb=c;if(!a){hd(0,b);L()}BE(v[a+348>>2],c,b);hd(a,c);L()}function a5(a){a=a|0;var b=0;b=v[a+828>>2];v[a+800>>2]=v[b+596>>2];v[a+804>>2]=v[b+608>>2]}function V4(a){a=a|0;var b=0;b=v[a+828>>2];v[a+780>>2]=v[b+596>>2];v[a+784>>2]=v[b+600>>2]}function KL(a,b){var c=0;c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;v[a+8>>2]=v[b+8>>2];uC(b)}function Cda(a,b,c){a=a|0;b=b|0;c=c|0;if(c&1){X(35167,31925,715,77172);L()}_q(b,(c|0)/2|0)}function C$(a,b,c){a=a|0;b=b|0;c=c|0;if(b){v[b>>2]=v[a+7928>>2]}if(c){v[c>>2]=v[a+252>>2]}}function Ah(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=v[a+4>>2];if(d){ic(v[v[a>>2]>>2],c,B(b,d))}}function Ada(a,b,c){a=a|0;b=b|0;c=c|0;if(c&3){X(37968,31925,731,77210);L()}Kn(b,(c|0)/4|0)}function r2(){var a=0;a=jc(12);if(!a){return 0}v[a+8>>2]=0;v[a>>2]=0;v[a+4>>2]=0;return a}function lRa(a){a=a|0;var b=0;v[a>>2]=466676;b=v[a+24>>2];if(!(w[a+28|0]|!b)){dc(b)}dc(a)}function eya(a){a=a|0;var b=0;b=a+40|0;v[a+296>>2]=b;v[a+300>>2]=b;v[a+304>>2]=v[a+28>>2]}function cI(a){a=a|0;var b=0;b=v[a+4>>2];if(b){Ub[v[b+40>>2]](a)}v[a+20>>2]=0;v[a+4>>2]=0}function Xh(a,b,c){b=ne(a,b);if(!b){v[c>>2]=v[a+32>>2];v[a+32>>2]=0;v[a+36>>2]=0}return b}function WYa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=v[b+12>>2]+(c<<3)|0;v[a+4>>2]=v[a+4>>2]+d}function TT(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=+c;d=+d;e=+e;f=+f;g=g|0;h=h|0;i=i|0;return 0}function LXa(a){a=a|0;var b=0;b=v[a+472>>2];v[b+92>>2]=v[a+316>>2];v[b+96>>2]=v[a+116>>2]}function Bfb(a,b){a=a|0;b=b|0;return Z0(a,w[b+28|0],v[b+32>>2],b+36|0,b+804|0,b+1060|0)|0}function Ai(a,b,c,d){var e=0;e=Qb-16|0;Qb=e;v[e+12>>2]=d;a=Jl(a,b,c,d);Qb=e+16|0;return a}function wfb(a){a=a|0;var b=0;v[a>>2]=54168;b=v[a+4>>2];if(!(!b|!w[a+12|0])){dc(b)}dc(a)}function uZa(a){a=a|0;v[a+304>>2]=-1;v[a+308>>2]=-1;v[a+116>>2]=-1;t[a+112|0]=0;return 0}function uCa(a){a=a|0;var b=0;b=v[a+1444>>2];v[b+24>>2]=v[b+24>>2]+1;return v[a+1444>>2]}function ht(){var a=0;a=ra(4)|0;v[a>>2]=1022676;v[a>>2]=1023008;qa(a|0,1023056,5484);L()}function aLa(a,b){a=a|0;b=b|0;if(v[b+76>>2]<=-1){a=v[b>>2]}else{a=v[b>>2]}return a>>>5&1}function ZB(){var a=0;a=ra(4)|0;v[a>>2]=1022676;v[a>>2]=1022656;qa(a|0,1022728,5935);L()}function Qab(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;gc(g,e,d);return 0}function OBa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=v[a+16>>2];Ub[v[v[a>>2]+16>>2]](a,b,c,d)}function NBa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=v[a+16>>2];Ub[v[v[a>>2]+20>>2]](a,b,c,d)}function MBa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=v[a+16>>2];Ub[v[v[a>>2]+24>>2]](a,b,c,d)}function KBa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=v[a+16>>2];Ub[v[v[a>>2]+36>>2]](a,b,c,d)}function Gib(a,b){var c=0,d=0;c=b&31;d=(-1>>>c&a)<>>a}function t0(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Ub[v[v[a>>2]+12>>2]](a,b,c,d,0,0)|0}function o3(a,b){a=a|0;b=b|0;var c=0;c=a;a=ep(v[b+12>>2]);v[c+12>>2]=a;return(a?0:-1)|0}function nIa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if((a|0)==1){iV(v[b+352>>2],c,d)}}function kra(a,b,c){a=a|0;b=b|0;c=c|0;a=v[a+16>>2];return Ub[v[v[a>>2]+12>>2]](a,b,c)|0}function jK(a){var b=0;b=v[a>>2];v[a>>2]=b-1;if((b|0)<=1){Ub[v[v[a+4>>2]>>2]](a);dc(a)}}function gka(a,b,c){a=a|0;b=b|0;c=c|0;v[a+100>>2]=v[a+92>>2]+b;v[a+104>>2]=v[a+96>>2]+c}function e8(a){a=a|0;a=1200616;while(1){a=Mc(a-12|0);if((a|0)!=1200448){continue}break}}function b8(a){a=a|0;a=1200792;while(1){a=le(a-12|0);if((a|0)!=1200624){continue}break}}function Z7(a){a=a|0;a=1201088;while(1){a=Mc(a-12|0);if((a|0)!=1200800){continue}break}}function Xma(a,b,c){a=a|0;b=b|0;c=c|0;a=v[a+12>>2];return Ub[v[v[a>>2]+12>>2]](a,b,c)|0}function W7(a){a=a|0;a=1201392;while(1){a=le(a-12|0);if((a|0)!=1201104){continue}break}}function UZa(a){a=a|0;nf(v[a+104>>2],a+788|0);v[a+800>>2]=0;v[a+792>>2]=0;v[a+796>>2]=0}function T7(a){a=a|0;a=1201432;while(1){a=Mc(a-12|0);if((a|0)!=1201408){continue}break}}function Q7(a){a=a|0;a=1201464;while(1){a=le(a-12|0);if((a|0)!=1201440){continue}break}}function MXa(a,b){a=a|0;b=b|0;var c=0,d=0;c=a,d=Ub[v[b+52>>2]](b,0,0,0)|0,v[c+544>>2]=d}function Ika(a,b){a=a|0;b=b|0;v[a>>2]=b;v[a+4>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;return a|0}function BTa(a){a=a|0;var b=0;v[a>>2]=39232;b=v[a+4>>2];if(!(!b|!w[a+8|0])){Be(b)}dc(a)}function nPa(a){a=a|0;v[a>>2]=467488;dc(v[a+8>>2]);dc(v[a+12>>2]);dc(v[a+28>>2]);dc(a)}function m4a(a,b,c){a=a|0;b=b|0;c=c|0;v[b>>2]=v[a+132>>2];v[c>>2]=v[a+136>>2];return 0}function lra(a,b,c){a=a|0;b=b|0;c=c|0;a=v[a+16>>2];return Ub[v[v[a>>2]+8>>2]](a,b,c)|0}function ir(a){var b=0,c=0;c=a;b=v[a+60>>2];a=v[a+100>>2];return iO(c,a>>>0>b>>>0?b:a)}function eja(a){a=a|0;var b=0;v[a>>2]=990196;b=v[a+20>>2];if(b){dc(b)}Qc(a);return a|0}function cf(a){a=a|0;var b=0;b=ra(8)|0;uL(b,a);v[b>>2]=1022872;qa(b|0,1022904,108);L()}function _ca(a,b){a=a|0;b=b|0;var c=0;c=a;a=v[b+28>>2];v[c>>2]=a;v[a+4>>2]=v[a+4>>2]+1}function T1a(a,b,c){a=a|0;b=b|0;c=c|0;v[b>>2]=v[a+176>>2];v[c>>2]=v[a+180>>2];return 0}function SY(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;PH(c,v[v[a+424>>2]+(b<<2)>>2],d);return 0}function L2a(a,b){a=a|0;b=b|0;a=u[a>>1];b=u[b>>1];return((a|0)<(b|0)?-1:(a|0)>(b|0))|0}function Il(a,b){a=v[a>>2];b=Ef(b);if(!ML(a,b)){ht();L()}return v[v[a+8>>2]+(b<<2)>>2]}function FUa(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 0}function Aaa(a,b,c){a=a|0;b=b|0;c=c|0;c=_M(v[b>>2])<<24;v[a+4>>2]=v[b>>2];t[a|0]=c>>24}function $ta(a){a=a|0;v[a>>2]=977356;if(t[a+43|0]<=-1){dc(v[a+32>>2])}kh(a);return a|0}function ef(a,b,c){var d=0;d=Qb-16|0;Qb=d;v[d+12>>2]=c;a=pN(a,b,c);Qb=d+16|0;return a}function YYa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=v[b+12>>2]+(c<<3)|0;v[a>>2]=v[a>>2]+d}function X3a(a,b){a=a|0;b=b|0;return Ub[v[v[v[v[a>>2]+712>>2]+3084>>2]+12>>2]](a,b)|0}function R4(a,b){a=a|0;b=b|0;v[a+556>>2]=550;v[a+548>>2]=550;v[a+540>>2]=550;return 1}function Ofa(a,b){a=a|0;b=b|0;if((b|0)<=-1){return v[a+36>>2]}v[a+36>>2]=b;return b|0}function ODa(a,b,c){a=a|0;b=b|0;c=c|0;b=v[a+8>>2];Ub[v[v[b>>2]+264>>2]](b,v[a+28>>2])}function GG(a,b,c,d,e){if(v[e>>2]<=0){Fh(v[a+4>>2],b,c,a+16|0,v[a+20>>2],a+24|0,d,e)}}function EYa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;rm(v[b>>2],c,d,0,e,v[a+112>>2])}function EN(a,b,c){var d=0;d=Qb-16|0;Qb=d;v[d+12>>2]=c;a=sN(a,b,c);Qb=d+16|0;return a}function yza(a){a=a|0;var b=0;v[a>>2]=938368;b=v[a+12>>2];if(b){dc(Dc(b))}return a|0}function vOa(a){a=a|0;v[a+12>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a>>2]=530160;return a|0}function qba(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Ub[v[v[a>>2]+48>>2]](a,b,c,d)|0}function oha(a){a=a|0;v[a+8>>2]=0;v[a+12>>2]=0;v[a+4>>2]=0;v[a>>2]=990592;return a|0}function lx(a){a=a|0;v[a>>2]=989420;ec(a+24|0);ec(a+16|0);ec(a+8|0);Qc(a);return a|0}function iwa(a,b){a=a|0;b=b|0;return v[v[v[a>>2]+36>>2]>>2]-v[v[v[b>>2]+36>>2]>>2]|0}function e5a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Ub[v[v[a>>2]+16>>2]](a,b,c,d)|0}function Z3a(a,b){a=a|0;b=b|0;return Ub[v[v[v[v[a>>2]+712>>2]+3084>>2]+8>>2]](a,b)|0}function R8(a,b){a=a|0;b=b|0;if((b|0)>=0){b=v[qw()+((b&255)<<2)>>2]}return b<<24>>24}function Pna(a,b){a=a|0;b=b|0;if(!Nc(b,227252,-1)){return 1}return!Nc(b,227243,-1)|0}function P8(a,b){a=a|0;b=b|0;if((b|0)>=0){b=v[pw()+((b&255)<<2)>>2]}return b<<24>>24}function NGa(a,b,c){a=a|0;b=b|0;c=c|0;a=v[a+4>>2];if(!a){return 0}return Qw(b,c,a)|0}function J3(a){a=a|0;var b=0;b=EC(v[a>>2]);if(t[a+4|0]&1){iN(a+8|0)}dc(a);return b|0}function EIa(a,b){a=a|0;b=b|0;a=v[a+4>>2];if(!a){return 0}return(ff(b,a)|0)==(b|0)|0}function Dba(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Ub[v[v[a>>2]+32>>2]](a,b,c,d)|0}function COa(a,b,c){a=a|0;b=b|0;c=c|0;a=v[a+4>>2];if(!a){return 0}return!zg(a,b,c)|0}function C1a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Ub[v[v[a+452>>2]+4>>2]](a,0,0,0,b,c,d)}function ysa(a){a=a|0;var b=0;v[a>>2]=980920;b=v[a+4>>2];if(b){dc(qQ(b))}return a|0}function yf(a,b,c){var d=0;d=v[a+176>>2];if(d){Ub[d|0](a,b,c);return}hd(a,1939);L()}function wza(a){a=a|0;var b=0;v[a>>2]=938392;b=v[a+4>>2];if(b){dc(Dc(b))}return a|0}function vz(a,b,c){a=a|0;b=b|0;c=c|0;a=v[a+4>>2];if(a){Rc(b,1,c,a)}return(a|0)!=0|0}function vGa(a,b){a=a|0;b=b|0;u[a+202>>1]=0;b=v[a+204>>2];if(b){dc(b)}v[a+204>>2]=0}function pza(a){a=a|0;var b=0;v[a>>2]=938464;b=v[a+4>>2];if(b){dc(Dc(b))}return a|0}function mFa(a){a=a|0;var b=0;v[a>>2]=892472;b=v[a+4>>2];if(b){dc(Dc(b))}return a|0}function ld(a,b,c){var d=0;d=v[a+172>>2];if(d){Ub[d|0](a,b,c);return}hd(a,1911);L()}function jgb(a){a=a|0;vk(a+4|0);v[a+28>>2]=0;v[a+32>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0}function SD(a){Yn(a+24|0,v[a+28>>2]);Ut(a+12|0,v[a+16>>2]);Yn(a,v[a+4>>2]);return a}function OUa(a){a=a|0;t[a+8|0]=1;v[v[v[a+20>>2]+4>>2]+28>>2]=v[a+16>>2]+56;return 0}function Jya(a,b,c){a=a|0;b=b|0;c=c|0;v[a+8>>2]=-1;v[a+4>>2]=c;v[a>>2]=b;return a|0}function Jla(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Xk(a- -64|0,c),e=b,v[d+24>>2]=e}function F5(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;zc(v[a+628>>2],87824,64533,0);return 0}function EC(a){a=va(a|0)|0;a=(a|0)==27?0:a;if(a){v[299402]=a;a=-1}else{a=0}return a}function Cza(a){a=a|0;var b=0;v[a>>2]=938320;b=v[a+4>>2];if(b){dc(Dc(b))}return a|0}function Aza(a){a=a|0;var b=0;v[a>>2]=938344;b=v[a+4>>2];if(b){dc(Dc(b))}return a|0}function hIa(a){a=a|0;var b=0;b=v[v[a+4>>2]>>2];if(b){dc(Gr(b));v[v[a+4>>2]>>2]=0}}function gIa(a){a=a|0;a=v[v[a+4>>2]>>2];if(!a){return 0}return v[v[a+28>>2]+20>>2]}function Uqa(a,b,c){a=a|0;b=b|0;c=c|0;cQ(a,b,v[a+76>>2],c);v[a+76>>2]=v[a+76>>2]+c}function Psa(a,b){a=a|0;b=b|0;return v[v[(w[a+8|0]?v[a>>2]:a)>>2]+(v[b>>2]<<2)>>2]}function On(a,b){a=lb(a|0,b|0)|0;if(a>>>0>=4294963201){v[299402]=0-a;a=-1}return a}function swa(a){a=a|0;var b=0;b=Ub[v[v[a>>2]+32>>2]](a)|0;v[a+8>>2]=-1;return b|0}function kza(a){a=a|0;if(!v[a+4>>2]){return 0}return(v[a+8>>2]?1:v[a+12>>2]!=0)|0}function it(a,b,c){a=a|0;b=b|0;c=c|0;v[a>>2]=v[b>>2];v[a+4>>2]=v[c>>2];return a|0}function iCa(a){a=a|0;a=fc(12);v[a+4>>2]=15;v[a+8>>2]=0;v[a>>2]=896936;return a|0}function fCa(a){a=a|0;a=fc(12);v[a+4>>2]=15;v[a+8>>2]=0;v[a>>2]=897040;return a|0}function dja(a){a=a|0;var b=0;v[a>>2]=990196;b=v[a+20>>2];if(b){dc(b)}Qc(a);dc(a)}function bCa(a){a=a|0;a=fc(12);v[a+4>>2]=15;v[a+8>>2]=0;v[a>>2]=897144;return a|0}function _ta(a){a=a|0;v[a>>2]=977356;if(t[a+43|0]<=-1){dc(v[a+32>>2])}kh(a);dc(a)}function Yn(a,b){if(b){Yn(a,v[b>>2]);Yn(a,v[b+4>>2]);xc(b+28|0);xc(b+16|0);dc(b)}}function TWa(a,b){a=a|0;b=b|0;b=b-v[a+16>>2]|0;return(b>>>0>2]?b+1|0:0)|0}function Ega(a){a=a|0;var b=0;b=v[a+32>>2];a=v[a+28>>2];return((a|0)<(b|0)?b:a)|0}function sia(a){a=a|0;if(a>>>0<=255){a=a<<24>>24;a=a-97>>>0<26?a&95:a}return a|0}function oia(a){a=a|0;if(a>>>0<=255){a=a<<24>>24;a=a-65>>>0<26?a|32:a}return a|0}function nv(a){a=a|0;var b=0;b=a+56|0;wk(b,a+44|0);Pj(b,a+48|0,1);Pj(b,a+52|0,0)}function n5a(a){a=a|0;if(v[a+76>>2]<=-1){a=v[a>>2]}else{a=v[a>>2]}return a>>>4&1}function mh(a){var b=0;b=Qb-16|0;Qb=b;v[b>>2]=a;wc(v[252391],350078,b);pa(1);L()}function hw(a,b){var c=0;c=Qb-16|0;Qb=c;v[c+12>>2]=b;QC(v[252393],a,b);Qb=c+16|0}function hp(a,b){var c=0;c=Qb-16|0;Qb=c;v[c+12>>2]=b;RC(v[252393],a,b);Qb=c+16|0}function fib(a){a=a|0;var b=0;b=v[a+28>>2];if(b){dc(b)}a=v[a+32>>2];if(a){dc(a)}}function eW(a){a=a|0;var b=0;b=v[a+8>>2];if(b){if(!w[a+34|0]){_e(b)}v[a+8>>2]=0}}function b5(a){a=a|0;var b=0;b=v[a+916>>2];v[a+800>>2]=v[a+912>>2];v[a+804>>2]=b}function Zba(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=Qb-16|0;Qb=b;vM(a,c,d);Qb=b+16|0}function ZBa(a,b){a=a|0;b=b|0;v[b+8>>2]=0;v[b+12>>2]=65536;v[b>>2]=0;v[b+4>>2]=0}function Y4(a){a=a|0;var b=0;b=v[a+916>>2];v[a+780>>2]=v[a+912>>2];v[a+784>>2]=b}function Sxa(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;kc(7,-1,258528,0);return 0}function Sja(a){a=a|0;return(y[a+32>>2]<3?v[a+48>>2]==-1?358460:989808:989776)|0}function Sc(a,b){var c=0;c=Qb-16|0;Qb=c;v[c+12>>2]=b;Pw(v[252391],a,b);Qb=c+16|0}function Ova(a,b){a=a|0;b=b|0;v[a+8>>2]=0;v[a>>2]=0;v[a+4>>2]=0;return oR(a,b)|0}function Hja(a){a=a|0;return(y[a+32>>2]<3?v[a+48>>2]==-1?358460:989872:989840)|0}function HGa(a,b){a=a|0;b=b|0;if(!(w[a+201|0]|(w[a+208|0]|w[a+203|0]))){tu(a,b)}}function GMa(a){a=a|0;return((v[a+52>>2]&-268435456)==268435456?333798:324421)|0}function $T(a){if(t[a+31|0]<=-1){dc(v[a+20>>2])}if(t[a+19|0]<=-1){dc(v[a+8>>2])}}function xza(a){a=a|0;var b=0;v[a>>2]=938368;b=v[a+12>>2];if(b){dc(Dc(b))}dc(a)}function u1(a,b,c){a=a|0;b=b|0;c=c|0;return Ub[v[v[a>>2]+12>>2]](a,b,1,c,0,0)|0}function tj(a,b,c){a=a|0;b=+b;c=+c;a=v[a+4>>2];t[a+25|0]=1;ze(a,b,c,1);return 0}function t3(a){a=a|0;var b=0;b=v[a+16>>2];if(b){dc(b)}a=v[a+28>>2];if(a){dc(a)}}function saa(a,b,c){a=a|0;b=b|0;c=c|0;c=UM(v[b>>2]);v[a+4>>2]=v[b>>2];v[a>>2]=c}function s9(){v[300443]=0;v[300442]=1021688;v[300442]=1016760;v[300442]=1020524}function nZa(a){a=a|0;var b=0;b=v[a+472>>2];v[b+36>>2]=0;v[b+44>>2]=v[a+116>>2]}function jBa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;v[c+8>>2]=0;v[c>>2]=0;v[c+4>>2]=0}function eNa(a){a=a|0;a=v[a+28>>2]&15;return(a?(a|0)==1?333814:329383:324919)|0}function Xua(a){a=a|0;v[a>>2]=972532;if(t[a+15|0]<=-1){dc(v[a+4>>2])}return a|0}function RRa(a,b){a=a|0;b=b|0;v[a+8>>2]=b;v[a>>2]=466304;v[a+4>>2]=0;return a|0}function ROa(a){a=a|0;v[a>>2]=467860;yz(a+68|0);hv(a+28|0);Az(a+8|0);return a|0}function ORa(a){a=a|0;v[a>>2]=466324;if(t[a+19|0]<=-1){dc(v[a+8>>2])}return a|0}function NDa(a,b,c){a=a|0;b=b|0;c=c|0;b=v[a+40>>2];if((b|0)>=1){v[a+40>>2]=b-1}}function N9(){v[300411]=0;v[300410]=1021688;v[300410]=1016760;v[300410]=1019372}function JO(a){a=a|0;v[a>>2]=989420;ec(a+24|0);ec(a+16|0);ec(a+8|0);Qc(a);dc(a)}function I9(){v[300419]=0;v[300418]=1021688;v[300418]=1016760;v[300418]=1019868}function F9(){v[300421]=0;v[300420]=1021688;v[300420]=1016760;v[300420]=1020032}function DBa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;v[b>>2]=0;v[b+4>>2]=0;A[c>>3]=d|0}function D9(){v[300423]=0;v[300422]=1021688;v[300422]=1016760;v[300422]=1020196}function B9(){v[300425]=0;v[300424]=1021688;v[300424]=1016760;v[300424]=1020360}function zza(a){a=a|0;var b=0;v[a>>2]=938344;b=v[a+4>>2];if(b){dc(Dc(b))}dc(a)}function xsa(a){a=a|0;var b=0;v[a>>2]=980920;b=v[a+4>>2];if(b){dc(qQ(b))}dc(a)}function vza(a){a=a|0;var b=0;v[a>>2]=938392;b=v[a+4>>2];if(b){dc(Dc(b))}dc(a)}function sLa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Ub[v[b+8>>2]](v[b>>2],0,1114111)}function pga(a,b){a=a|0;b=b|0;a=v[(b>>4<<2)+a>>2];if(a){v[a+((b&15)<<2)>>2]=0}}function oza(a){a=a|0;var b=0;v[a>>2]=938464;b=v[a+4>>2];if(b){dc(Dc(b))}dc(a)}function lFa(a){a=a|0;var b=0;v[a>>2]=892472;b=v[a+4>>2];if(b){dc(Dc(b))}dc(a)}function kZa(a,b,c){a=a|0;b=b|0;c=c|0;c=ad(c,Tz(a));v[v[a+388>>2]+(b<<2)>>2]=c}function jT(a){a=a|0;v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;return a|0}function hZa(a,b,c){a=a|0;b=b|0;c=c|0;a=v[a+388>>2]+(b<<2)|0;v[a>>2]=v[a>>2]+c}function N$a(a){a=a|0;Ub[v[v[v[a+12>>2]+56>>2]+8>>2]](v[a+52>>2],0,0);return 0}function L3a(a,b,c){a=a|0;b=b|0;c=c|0;return Ub[v[v[a+548>>2]+12>>2]](a,b,c)|0}function J3a(a,b,c){a=a|0;b=b|0;c=c|0;return Ub[v[v[a+548>>2]+20>>2]](a,b,c)|0}function I3a(a,b,c){a=a|0;b=b|0;c=c|0;return Ub[v[v[a+548>>2]+24>>2]](a,b,c)|0}function G3a(a,b,c){a=a|0;b=b|0;c=c|0;return Ub[v[v[a+548>>2]+32>>2]](a,b,c)|0}function F3a(a,b,c){a=a|0;b=b|0;c=c|0;return Ub[v[v[a+548>>2]+36>>2]](a,b,c)|0}function Bza(a){a=a|0;var b=0;v[a>>2]=938320;b=v[a+4>>2];if(b){dc(Dc(b))}dc(a)}function y6(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(Oi(a,v[b+8>>2],0)){HB(b,c,d)}}function uFa(a){a=a|0;v[a>>2]=0;v[a+4>>2]=0;Ng(a,0);t[v[a+4>>2]]=0;return a|0}function rj(a){a=a|0;a=v[v[a+4>>2]+4>>2];if(!a){return 0}return(UU(a)|0)==1|0}function ph(a){a=a|0;a=v[v[a+4>>2]+4>>2];if(!a){return 0}return(EF(a)|0)!=0|0}function nt(a,b,c,d){if(v[a+76>>2]<=-1){return DN(a,b,c,d)}return DN(a,b,c,d)}function ej(a,b){return w[a+494|0]?b:b<<8&16711680|b<<24|(b>>>8&65280|b>>>24)}function _i(a){a=a|0;a=v[v[a+4>>2]+4>>2];if(!a){return 0}return(FF(a)|0)==1|0}function N3a(a,b,c){a=a|0;b=b|0;c=c|0;return Ub[v[v[a+548>>2]+8>>2]](a,b,c)|0}function Ji(a){a=a|0;a=v[v[a+4>>2]+4>>2];if(!a){return 0}return(GF(a)|0)==1|0}function EY(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 0}function AK(a){gf(a,3);v[a+976>>2]=0;v[a>>2]=54124;ic(a+496|0,0,464);return a}function z$a(a,b){a=a|0;b=b|0;return(b>>>0<=255?w[(v[a+16>>2]+b|0)+6|0]:0)|0}function psa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=v[a+4>>2];if(a){pQ(a,b,c,d)}}function kK(a){a=(a>>8)-1|0;if(a>>>0>=5){ia();L()}return v[(a<<2)+188388>>2]}function jN(a){a=gb(a|0)|0;if(a>>>0>=4294963201){v[299402]=0-a;a=-1}return a}function iN(a){a=Ea(a|0)|0;if(a>>>0>=4294963201){v[299402]=0-a;a=-1}return a}function dva(a){a=a|0;a=v[v[a+4>>2]+12>>2];if(!a){return 0}return v[a+36>>2]}function b4a(a,b){a=a|0;b=b|0;return(b>>>0<=255?x[v[a+16>>2]+(b<<1)>>1]:0)|0}function MPa(a){a=a|0;a=v[a+180>>2];if(!a){return 0}return(w[a+8|0]&4)>>>2|0}function IEa(a,b){a=a|0;b=b|0;a=v[a+4>>2];return Ub[v[v[a>>2]+64>>2]](a,b)|0}function Cka(a,b){a=a|0;b=b|0;return v[v[a+12>>2]+((b>>>0)%y[a+8>>2]<<2)>>2]}function $pa(a,b){a=a|0;b=b|0;if(a){v[a+280>>2]=b;v[a+204>>2]=v[a+204>>2]|2}}function t1(a,b,c){a=a|0;b=b|0;c=c|0;return Ub[v[v[a>>2]+16>>2]](a,b,1,c)|0}function p2a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return NH(v[a+12>>2],b,c,d)|0}function nB(a){a=a-20529|0;if(a>>>0>=6){ia();L()}return v[(a<<2)+188512>>2]}function kP(a){a=a|0;if(!Nc(a,307139,-1)){return 1}return!Nc(a,217587,-1)|0}function jP(a){a=a|0;if(!Nc(a,307149,-1)){return 1}return!Nc(a,217597,-1)|0}function ipa(a){a=a|0;v[a>>2]=982944;ec(a+20|0);ec(a+12|0);Qc(a);return a|0}function dUa(a){a=a|0;var b=0;v[a>>2]=457656;b=v[a+28>>2];if(b){dc(b)}dc(a)}function bo(a,b){a=a|0;b=b|0;a=v[a+4>>2];return Ub[v[v[a>>2]+64>>2]](a,1)|0}function bib(a){a=a|0;var b=0;b=v[a+4>>2];return(b?v[a+44>>2]?b+40|0:0:0)|0}function bfa(a,b){a=a|0;b=b|0;var c=0,d=0;c=b,d=Ci(a,0,11,a+60|0),v[c>>2]=d}function aQa(a,b){a=a|0;b=b|0;var c=0;c=a;a=v[b>>2];v[c+36>>2]=(a|0)<1?-1:a}function _J(a){a=a-20529|0;if(a>>>0>=6){ia();L()}return v[(a<<2)+188536>>2]}function Woa(a){a=a|0;v[a>>2]=983084;id(a+44|0);Ic(a+28|0);Qc(a);return a|0}function THa(a){a=a|0;var b=0;v[a>>2]=885348;b=v[a+4>>2];if(b){dc(b)}dc(a)} +function SR(a,b){a=a|0;b=b|0;a=v[a+4>>2];return Ub[v[v[a>>2]+64>>2]](a,0)|0}function M6(a,b,c){a=a|0;b=b|0;c=c|0;return v[b>>2]==(c|0)&v[b+4>>2]==(a|0)}function CXa(a){a=a|0;a=v[a+140>>2];if(!a){return 0}return a+(w[a|0]==47)|0}function C3a(a,b,c){a=a|0;b=b|0;c=c|0;return Ub[v[v[a+552>>2]>>2]](a,b,c)|0}function wc(a,b,c){var d=0;d=Qb-16|0;Qb=d;v[d+12>>2]=c;RC(a,b,c);Qb=d+16|0}function w_a(a){a=a|0;return(a>>>0<=127?w[(a>>>3|0)+446e3|0]&1<<(a&7):0)|0}function uUa(a){a=a|0;a=v[a+16>>2];if(!a){return 0}return w[a+2820|0]!=0|0}function u0a(a,b){a=a|0;b=b|0;return Ub[v[v[v[a>>2]+488>>2]+12>>2]](a,b)|0}function qNa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Ub[v[b+8>>2]](v[b>>2],0,255)}function nJ(a){var b=0;b=oJ(a,0,0,0,0,0,0,0,0,0,0,0);t[a+498|0]=0;return b}function mNa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Ub[v[b+8>>2]](v[b>>2],0,127)}function j5a(a,b,c){a=a|0;b=b|0;c=c|0;return Ub[v[v[a>>2]+56>>2]](a,b,c)|0}function hx(a){a=a|0;v[a>>2]=990236;Lc(a+56|0);Lc(a+44|0);Qc(a);return a|0}function fma(a){a=a|0;v[a>>2]=984108;ec(a+36|0);id(a+8|0);Qc(a);return a|0}function f8a(a,b){a=a|0;b=b|0;return _d(a,v[b>>2],v[b+32>>2],v[b+36>>2])|0}function f5a(a,b,c){a=a|0;b=b|0;c=c|0;return Ub[v[v[a>>2]+52>>2]](a,b,c)|0}function dla(a){a=a|0;v[a>>2]=984952;Ic(a+44|0);ec(a+8|0);Qc(a);return a|0}function _8(a,b){a=a|0;b=b|0;if(b>>>0<=127){b=v[qw()+(b<<2)>>2]}return b|0}function ZQa(a,b,c){a=a|0;b=b|0;c=c|0;v[b>>2]=v[a+8>>2];v[c>>2]=v[a+12>>2]}function Y8(a,b){a=a|0;b=b|0;if(b>>>0<=127){b=v[pw()+(b<<2)>>2]}return b|0}function Wua(a){a=a|0;v[a>>2]=972532;if(t[a+15|0]<=-1){dc(v[a+4>>2])}dc(a)}function Tna(a){a=a|0;v[a>>2]=983496;fd(a+36|0);id(a+8|0);Qc(a);return a|0}function QOa(a){a=a|0;v[a>>2]=467860;yz(a+68|0);hv(a+28|0);Az(a+8|0);dc(a)}function Ph(a,b,c){var d=0;d=Qb-16|0;Qb=d;v[d+12>>2]=c;QC(a,b,c);Qb=d+16|0}function NRa(a){a=a|0;v[a>>2]=466324;if(t[a+19|0]<=-1){dc(v[a+8>>2])}dc(a)}function Jca(a,b,c){a=a|0;b=b|0;c=c|0;return Ub[v[v[a>>2]+12>>2]](a,b,c)|0}function Jc(a,b,c){var d=0;d=Qb-16|0;Qb=d;v[d+12>>2]=c;dF(a,b,c);Qb=d+16|0}function FWa(a,b){a=a|0;b=b|0;if(!b){return 1}A[b>>3]=A[a+600>>3];return 0}function Efb(a,b){a=a|0;b=b|0;return _0(a,w[b+28|0],w[b+29|0],w[b+30|0])|0}function D_a(a,b){a=a|0;b=b|0;return Ub[v[v[v[a>>2]+544>>2]+12>>2]](a,b)|0}function DWa(a,b){a=a|0;b=b|0;if(!b){return 1}A[b>>3]=A[a+592>>3];return 0}function v0a(a,b){a=a|0;b=b|0;return Ub[v[v[v[a>>2]+488>>2]+8>>2]](a,b)|0}function rr(a){var b=0,c=0;b=v[a+628>>2];c=v[a+644>>2];vP(a);Ub[c|0](b)|0}function pLa(a,b,c){a=a|0;b=b|0;c=c|0;return gs(a,v[b>>2],v[b+52>>2],c)|0}function n6(a){a=a|0;if(!a){return 0}return(kp(a,1023104,1023248)|0)!=0|0}function jZa(a,b){a=a|0;b=b|0;return Ac(v[v[a+388>>2]+(b<<2)>>2],Tz(a))|0}function jJ(a,b,c){a=a|0;b=b|0;c=c|0;return Ub[v[v[a>>2]+20>>2]](a,b,c)|0}function Sva(a,b){a=a|0;b=b|0;if(v[a+144>>2]){Ub[v[v[a>>2]+204>>2]](a,b)}}function QM(a,b,c){a=a|0;b=b|0;c=c|0;return Ub[v[v[a>>2]+48>>2]](a,b,c)|0}function Q$a(a){a=a|0;return(a>>>0<=390?u[(a<<1)+387088>>1]+382864|0:0)|0}function G0a(a){a=a|0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0;v[a+28>>2]=0}function E_a(a,b){a=a|0;b=b|0;return Ub[v[v[v[a>>2]+544>>2]+8>>2]](a,b)|0}function m1a(a,b){a=a|0;b=b|0;Rg(a,v[a+8>>2]);return pm(a,v[a+8>>2],b)|0}function kaa(a){a=a|0;v[a+84>>2]=131088;u[a+98>>1]=x[a+90>>1]==32844?1:3}function jCa(a){a=a|0;v[a+4>>2]=15;v[a+8>>2]=0;v[a>>2]=896936;return a|0}function gCa(a){a=a|0;v[a+4>>2]=15;v[a+8>>2]=0;v[a>>2]=897040;return a|0}function VL(a,b){var c=0;c=v[b>>2];v[b>>2]=0;Ig(a,c);v[a+4>>2]=v[b+4>>2]}function Md(a){var b=0;b=v[a+20>>2];if(b){dc(b)}a=v[a+8>>2];if(a){dc(a)}}function Aka(a,b){a=a|0;b=b|0;var c=0;c=v[b+24>>2];v[a+4>>2]=b;v[a>>2]=c}function wo(a){a=a|0;a=v[v[a+4>>2]+4>>2];if(!a){return-1}return TU(a)|0}function wg(a){a=a|0;a=v[v[a+4>>2]+4>>2];if(!a){return-1}return Du(a)|0}function l2a(a){a=a|0;Be(v[a+12>>2]);v[a+12>>2]=0;v[a>>2]=0;v[a+4>>2]=0}function c4a(a,b){a=a|0;b=b|0;v[a+16>>2]=v[v[a>>2]+712>>2]+668;return 0}function aC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;v[e>>2]=c;return 3}function Xca(a){a=a|0;v[a+16>>2]=v[a+16>>2]|1;if(t[a+20|0]&1){ya();L()}}function Wca(a){a=a|0;v[a+16>>2]=v[a+16>>2]|4;if(w[a+20|0]&4){ya();L()}}function R$a(a){a=a|0;return u[((a>>>0>257?0:a)<<1)+386560>>1]+382864|0}function NUa(a){a=a|0;t[a+8|0]=0;v[v[v[a+20>>2]+4>>2]+28>>2]=0;return 0}function KSa(a){a=a|0;v[a>>2]=465816;Vh(a+2916|0);Ne(a+88|0);return a|0}function GY(a){a=a|0;var b=0;b=a;a=v[a+4>>2]+1|0;v[b+4>>2]=a;return a|0}function x7(a,b,c){a=a|0;b=b|0;c=c|0;v[a>>2]=0;t[a+128|0]=0;return a|0}function sPa(a){a=a|0;a=v[a+180>>2];if(!a){return 0}return t[a+12|0]&1}function qC(a){a=a|0;if((a|0)!=0&(a|0)!=1005744&(a|0)!=1005768){dc(a)}}function pF(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=+c;d=+d;e=+e;f=+f;g=+g;h=+h}function mwa(a,b){a=a|0;b=b|0;return v[v[a>>2]+4>>2]-v[v[b>>2]+4>>2]|0}function hpa(a){a=a|0;v[a>>2]=982944;ec(a+20|0);ec(a+12|0);Qc(a);dc(a)}function gda(a,b){a=a|0;b=b|0;zc(v[a+628>>2],v[a>>2],12738,0);return 0}function Xva(a,b){a=a|0;b=b|0;a=v[a+116>>2];v[a+128>>2]=v[a+128>>2]+b} +function Voa(a){a=a|0;v[a>>2]=983084;id(a+44|0);Ic(a+28|0);Qc(a);dc(a)}function Ut(a,b){if(b){Ut(a,v[b>>2]);Ut(a,v[b+4>>2]);xc(b+16|0);dc(b)}}function Lia(a){a=a|0;v[a>>2]=990236;Lc(a+56|0);Lc(a+44|0);Qc(a);dc(a)}function EB(a,b){var c=0;c=a;a=Bc(a);return(Rc(c,1,a,b)|0)!=(a|0)?-1:0}function Dn(a,b){a=a|0;b=b|0;t[a|0]=2;t[a+1|0]=3;t[a+2|0]=0;t[a+3|0]=4}function CUa(a,b){a=a|0;b=b|0;a=v[a+16>>2];if(a){A[a+2840>>3]=A[b>>3]}}function uhb(a,b,c){a=a|0;b=b|0;c=c|0;return(Gg(c,v[a+12>>2])?-1:0)|0}function sd(a,b){a=a|0;b=b|0;if(!v[299999]){v[3e5]=b;v[299999]=a}_a()}function pCa(a){a=a|0;a=v[a+164>>2];if(!a){return 0}return v[a+12>>2]}function nGa(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}function hF(a,b){a=a|0;b=b|0;a=fc(8);v[b>>2]=a;v[a>>2]=-1;v[a+4>>2]=0}function faa(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;eC(a,f)}function ema(a){a=a|0;v[a>>2]=984108;ec(a+36|0);id(a+8|0);Qc(a);dc(a)}function cla(a){a=a|0;v[a>>2]=984952;Ic(a+44|0);ec(a+8|0);Qc(a);dc(a)}function afa(a,b,c){a=a|0;b=b|0;c=c|0;return Ci(a,-262143,262142,c)|0}function Zga(a,b){a=a|0;b=b|0;if(v[a>>2]!=(b|0)){v[a>>2]=b}return a|0}function Sna(a){a=a|0;v[a>>2]=983496;fd(a+36|0);id(a+8|0);Qc(a);dc(a)}function P4(a,b){a=a|0;b=b|0;v[a+548>>2]=551;v[a+540>>2]=551;return 1}function Hhb(a,b,c){a=a|0;b=b|0;c=c|0;return K2(a+12|0,c,v[a+4>>2])|0}function yta(a,b,c){a=a|0;b=b|0;c=c|0;v[a+16>>2]=b;Tt(a+20|0,c,1,-1)}function xp(a,b){return b?a<<8&16711680|a<<24|(a>>>8&65280|a>>>24):a}function wUa(a,b){a=a|0;b=b|0;a=v[a+16>>2];if(a){t[a+2820|0]=w[b|0]}}function tta(a){a=a|0;v[a>>2]=979212;xc(a+20|0);xc(a+4|0);return a|0}function h9(a){a=a|0;var b=0;b=v[300051]+1|0;v[300051]=b;v[a+4>>2]=b}function gw(a,b,c,d,e){b=Kb(a|0,b|0,c|0,d|0,e|0)|0;Tb=O()|0;return b}function d2a(a,b){a=a|0;b=b|0;LH(b,v[a>>2]<<2,v[a+4>>2]<<2);return 0}function cea(a){a=a|0;var b=0;b=a;a=v[a>>2]+1|0;v[b>>2]=a;return a|0}function bea(a){a=a|0;var b=0;b=a;a=v[a>>2]-1|0;v[b>>2]=a;return a|0}function X$a(a){a=a|0;var b=0;b=v[a>>2];v[b+20>>2]=47;Ub[v[b>>2]](a)}function T2(){var a=0;a=jc(52);if(!a){return 0}v[a+48>>2]=0;return a}function L7a(a,b){a=a|0;b=b|0;if(b){Ub[v[a+156>>2]](b,1320)}return 0}function K3a(a,b){a=a|0;b=b|0;return Ub[v[v[a+548>>2]+16>>2]](a,b)|0}function H3a(a,b){a=a|0;b=b|0;return Ub[v[v[a+548>>2]+28>>2]](a,b)|0}function D3a(a){a=a|0;var b=0;b=v[a+548>>2];if(b){Ub[v[b+44>>2]](a)}}function Afb(a,b){a=a|0;b=b|0;if(b){Ub[v[a+156>>2]](b,1316)}return 0}function zM(a,b,c){a=a|0;b=b|0;c=c|0;return ot(0,a,b,c?c:1200008)|0}function uwa(a){a=a|0;a=v[a+24>>2];return Ub[v[v[a>>2]+12>>2]](a)|0}function twa(a){a=a|0;a=v[a+24>>2];return Ub[v[v[a>>2]+52>>2]](a)|0}function pya(a,b){a=a|0;b=b|0;v[a+4>>2]=b;v[a>>2]=962156;return a|0}function jra(a){a=a|0;a=v[a+16>>2];return Ub[v[v[a>>2]+16>>2]](a)|0}function hha(a,b){a=a|0;b=b|0;return zp(b,v[a+12>>2]+v[a+8>>2]|0)|0}function ega(a){a=a|0;a=v[a+12>>2];if(!a){return 0}return v[a+4>>2]}function dgb(a){a=a|0;return v[a+32>>2]-(v[a+24>>2]+v[a+28>>2]|0)|0}function dga(a){a=a|0;a=v[a+12>>2];if(!a){return 0}return v[a+8>>2]}function aea(a,b,c){a=a|0;b=b|0;c=c|0;v[a>>2]=0;v[a+4>>2]=v[282402]}function _fb(a,b){a=a|0;b=b|0;if(b){Ub[v[a+156>>2]](b,800)}return 0}function _7a(a,b){a=a|0;b=b|0;if(b){Ub[v[a+156>>2]](b,808)}return 0}function Z7a(a,b){a=a|0;b=b|0;if(b){Ub[v[a+156>>2]](b,564)}return 0}function Yfb(a,b){a=a|0;b=b|0;if(b){Ub[v[a+156>>2]](b,288)}return 0}function WH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return S_(a,b,c,d,1)|0}function UC(a){if(v[a+76>>2]<=-1){a=CN(a);return a}a=CN(a);return a}function T7a(a,b){a=a|0;b=b|0;if(b){Ub[v[a+156>>2]](b,548)}return 0}function RIa(a,b){a=a|0;b=b|0;return(a>>>0>>0?-1:(a|0)!=(b|0))|0}function P2(a){a=a|0;var b=0;b=v[a+24>>2];if(b){dc(b);v[a+24>>2]=0}}function LFa(a,b){a=a|0;b=b|0;return v[(v[a+28>>2]+B(b,20)|0)+4>>2]}function F3(a){a=a|0;a=v[a+24>>2];v[a+4>>2]=4096;v[a>>2]=v[a+52>>2]}function D5(a,b){a=a|0;b=b|0;zc(v[a+628>>2],87809,64533,0);return 0}function C2a(a){a=a|0;var b=0;b=v[a>>2];a=a+28|0;if(a?b:0){SK(b,a)}}function BFa(a){a=a|0;a=v[a+20>>2];if(!a){return 0}return v[a+4>>2]}function zwa(a){a=a|0;return(v[a+296>>2]+(v[a+304>>2]-a|0)|0)-40|0}function yL(a){if(a>>>0>1073741823){cf(274079);L()}return fc(a<<2)}function ufb(a,b){a=a|0;b=b|0;return f1(a,v[b+28>>2],v[b+32>>2])|0}function tia(a){a=a|0;return(a>>>0<=255?(a<<24>>24)-65>>>0<26:1)|0}function r5a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return qg(b,c,d,a)|0}function q5a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Rc(b,c,d,a)|0}function q3(a){a=a|0;return(Bc(v[a+16>>2])+(v[a+24>>2]<<1)|0)+83|0}function pia(a){a=a|0;return(a>>>0<=255?(a<<24>>24)-97>>>0<26:1)|0}function ogb(a){a=a|0;return v[a+16>>2]-(v[a+8>>2]+v[a+12>>2]|0)|0}function ngb(a){a=a|0;a=v[a+4>>2];if(!a){return 0}return v[a+4>>2]}function gP(a){a=a|0;a=v[a+12>>2];return Ub[v[v[a>>2]+16>>2]](a)|0}function fq(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ll(a,b,c,d,e)}function fda(a,b){a=a|0;b=b|0;if(!v[299999]){v[3e5]=b;v[299999]=a}}function eAa(a){a=a|0;a=v[a+4>>2];return Ub[v[v[a>>2]+72>>2]](a)|0}function _gb(a,b){a=a|0;b=b|0;Sc(51602,0);jB(b,v[252391]);return 0}function _Ka(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Rc(c,1,d,b)|0}function ZKa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return qg(c,1,d,b)|0}function Vfa(a){a=a|0;v[a>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;return a|0}function V8(a,b,c){a=a|0;b=b|0;c=c|0;return(b>>>0<128?b:c)<<24>>24}function S7a(a,b){a=a|0;b=b|0;if(b){Ub[v[a+156>>2]](b,60)}return 0}function Pta(a){a=a|0;a=v[v[a>>2]-12>>2]+a|0;lf(a+12|0);return a|0}function MLa(a){a=a|0;return(w[v[a+8>>2]+74|0]==1?306738:309797)|0}function Ida(a){a=a|0;var b=0,c=0;b=a,c=fc(1),v[b>>2]=c;return a|0}function HEa(a){a=a|0;a=v[a+4>>2];return Ub[v[v[a>>2]+52>>2]](a)|0}function H4a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return A$(a,b,c,d)|0}function GEa(a){a=a|0;a=v[a+4>>2];return Ub[v[v[a>>2]+68>>2]](a)|0}function FEa(a){a=a|0;a=v[a+4>>2];return Ub[v[v[a>>2]+76>>2]](a)|0}function xJ(a,b){a=a|0;b=b|0;if(b){Ub[v[a+156>>2]](b,64)}return 0}function vhb(a,b,c){a=a|0;b=b|0;c=c|0;return(Of(c,a+12|0)?-1:0)|0}function vJ(a,b){a=a|0;b=b|0;if(b){Ub[v[a+156>>2]](b,28)}return 0}function mGa(a){a=a|0;a=v[a+172>>2];if(!a){return 0}return w[a|0]}function eUa(a,b){a=a|0;b=b|0;gc(a+212|0,b,80);Oz(a+292|0,b+80|0)}function Z6(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return dL(a,b,c,d)|0}function WA(a,b){a=a|0;b=b|0;if(b){Ub[v[a+156>>2]](b,44)}return 0}function VA(a,b){a=a|0;b=b|0;if(b){Ub[v[a+156>>2]](b,52)}return 0}function Tsa(a){a=a|0;v[a>>2]=0;v[a+4>>2]=0;t[a+8|0]=0;return a|0}function To(a,b){a=a|0;b=b|0;if(b){Ub[v[a+156>>2]](b,36)}return 0}function So(a,b){a=a|0;b=b|0;if(b){Ub[v[a+156>>2]](b,48)}return 0}function Qdb(a){a=a|0;return(v[a+4>>2]?v[a+16>>2]>v[a+8>>2]:-1)|0}function O0(a,b){a=a|0;b=b|0;if(b){Ub[v[a+156>>2]](b,68)}return 0}function N0(a,b){a=a|0;b=b|0;if(b){Ub[v[a+156>>2]](b,56)}return 0}function JWa(a){a=a|0;if(!v[a+12>>2]){Ub[v[v[a>>2]+428>>2]](a,0)}}function HWa(a,b){a=a|0;b=b|0;if(!b){return 1}v[b>>2]=16;return 0}function Dq(a,b){a=a|0;b=b|0;if(b){Ub[v[a+156>>2]](b,32)}return 0}function Cq(a,b){a=a|0;b=b|0;if(b){Ub[v[a+156>>2]](b,40)}return 0}function CV(a){a=a|0;v[a+8>>2]=0;v[a>>2]=0;v[a+4>>2]=0;return a|0}function yu(a,b){var c=0;if(!(!a|!b)){c=Ey(a,b,kl(b),1)}return c}function w7(a){a=a|0;var b=0,c=0;b=a,c=pg(),v[b>>2]=c;return a|0}function p_(a){a=a|0;var b=0;b=v[a>>2];if(a){Ub[v[b+8>>2]](b,a)}}function o3a(a){a=a|0;return(a>>>0<=255?x[(a<<1)+376368>>1]:0)|0}function mIa(a){a=a|0;a=v[a+4>>2];if(!a){return-1}return vp(a)|0}function jca(a,b){a=a|0;b=b|0;return Ub[v[v[a>>2]+44>>2]](a,b)|0}function gZa(a,b,c){a=a|0;b=b|0;c=c|0;v[v[a+388>>2]+(b<<2)>>2]=c}function Wba(a,b){a=a|0;b=b|0;return Ub[v[v[a>>2]+12>>2]](a,b)|0}function VWa(a,b){a=a|0;b=b|0;gc(b,v[a+132>>2]+4|0,156);return 0}function RKa(a){a=a|0;a=v[a+4>>2];if(!a){return 0}return!Qi(a)|0}function Oka(a){a=a|0;v[a>>2]=985028;Lc(a+12|0);Qc(a);return a|0}function N4a(a){a=a|0;a=v[a>>2];return Ub[v[v[a>>2]+52>>2]](a)|0}function N2(){var a=0;a=jc(4);if(!a){return 0}v[a>>2]=0;return a}function Kea(a){a=a|0;v[a>>2]=996324;Lc(a+20|0);Qc(a);return a|0}function HNa(a){a=a|0;a=v[a+4>>2];if(!a){return 0}return tp(a)|0}function Fda(a,b){a=a|0;b=b|0;return a-48>>>0<10|(a|32)-97>>>0<6}function wqa(a){a=a|0;v[a>>2]=982456;Ic(a+8|0);Qc(a);return a|0}function sta(a){a=a|0;v[a>>2]=979212;xc(a+20|0);xc(a+4|0);dc(a)}function rfb(a,b){a=a|0;b=b|0;a=v[a+156>>2];if(a){Ub[a|0](b,1)}}function o1a(a){a=a|0;HH(a,1);HH(a,0);dc(v[a+4>>2]);v[a+4>>2]=0}function m7(a,b){a=a|0;b=b|0;uL(a,b);v[a>>2]=1022924;return a|0}function im(a,b,c){a=a|0;b=+b;c=+c;ze(v[a+4>>2],b,c,2);return 0}function gpa(a){a=a|0;v[a>>2]=983e3;Ic(a+12|0);Qc(a);return a|0}function Zv(a){var b=0;b=v[a+964>>2];if(b){dc(b);v[a+964>>2]=0}}function Vg(a){var b=0;b=v[v[a>>2]+4>>2];if(b){Ub[b|0](a)}dc(a)}function SKa(a,b){a=a|0;b=b|0;if(!b){return-1}return v[b+16>>2]}function Qpa(a){a=a|0;v[a>>2]=982756;ec(a+8|0);Qc(a);return a|0}function Q6(a,b){a=a|0;b=b|0;vL(a,b);v[a>>2]=1022816;return a|0}function Pn(a,b){a=a|0;b=b|0;if(!a){return 0}return Qn(a,b,0)|0}function P6(a,b){a=a|0;b=b|0;vL(a,b);v[a>>2]=1022924;return a|0}function OMa(a,b,c){a=a|0;b=b|0;c=c|0;v[a+48>>2]=0;v[a+52>>2]=1}function FM(a,b){a=a|0;b=b|0;return Ub[v[v[a>>2]+28>>2]](a,b)|0}function Efa(a,b,c){a=a|0;b=b|0;c=c|0;v[a+76>>2]=c;v[a+72>>2]=b}function Ecb(a,b){a=a|0;b=b|0;Xc(v[a+168>>2],b,255);sd(a,1);L()}function DUa(a,b){a=a|0;b=b|0;a=v[a+16>>2];if(a){t[a+2832|0]=b}}function Cd(a){var b=0;b=v[a>>2];if(b){dc(b);v[a>>2]=0}return a}function wXa(a,b,c){a=a|0;b=b|0;c=c|0;if(c){v[c>>2]=b}return 0}function uha(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return lj(b,c)|0}function sx(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;v[a>>2]=0;Wc(a,0)}function j2a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return be(d,c)|0}function g4a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return 0}function UN(a,b){a=a|0;b=b|0;aD(a,b);v[a>>2]=999812;return a|0}function R5a(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return 1}function Qma(a,b){a=a|0;b=b|0;Si(a+8|0,b);or(Bh(),v[a+8>>2],a)}function N_a(a,b){a=a|0;b=b|0;v[b>>2]=-1;v[b+4>>2]=14;return 0}function NS(a,b){a=a|0;b=b|0;v[b+8>>2]=0;v[b>>2]=0;v[b+4>>2]=0}function EE(a,b){if(w[a+206|0]&128){Gc(a,b);return}hd(a,b);L()}function wM(a,b,c){var d=0;d=Qb-16|0;Qb=d;OM(a,b,c);Qb=d+16|0}function w0a(a,b){a=a|0;b=b|0;return v[v[a+424>>2]+(b<<2)>>2]}function qib(a,b){a=a|0;b=b|0;return(Ih(b,v[a+20>>2])?-1:0)|0}function fZa(a,b){a=a|0;b=b|0;return v[v[a+388>>2]+(b<<2)>>2]}function fGa(a){a=a|0;v[a>>2]=889036;Be(v[a+4>>2]);return a|0}function ep(a){var b=0;b=jc(Bc(a)+1|0);if(b){ce(b,a)}return b}function TDa(a,b,c){a=a|0;b=b|0;c=c|0;v[a+40>>2]=v[a+40>>2]+1}function P1a(a,b){a=a|0;b=b|0;v[a+16>>2]=v[a>>2]+296;return 0}function Ota(a){a=a|0;a=v[v[a>>2]-12>>2]+a|0;lf(a+12|0);dc(a)}function MFa(a,b){a=a|0;b=b|0;return v[v[a+28>>2]+B(b,20)>>2]}function FYa(a,b){a=a|0;b=b|0;v[v[a+8>>2]+308>>2]=-1;return 0}function FFa(a){a=a|0;if(!v[a+80>>2]){OT(a)}return v[a+20>>2]}function EFa(a){a=a|0;if(!v[a+80>>2]){OT(a)}return v[a+24>>2]}function mma(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;gc(a,b,B(c,3))}function bD(a){while(1){if(v[a>>2]){continue}break}v[a>>2]=1}function XTa(a){a=a|0;v[a+4>>2]=v[a+4>>2]+1;return v[a+4>>2]}function UT(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0}function A0a(a){a=a|0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+24>>2]=0}function vda(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Tb=0;return 0}function sga(a){a=a|0;v[a>>2]=990996;Bt(a+508|0);return a|0}function kWa(a,b){a=a|0;b=b|0;A[b>>3]=A[a- -64>>3];return 0}function jWa(a,b){a=a|0;b=b|0;A[a- -64>>3]=A[b>>3];return 0}function jSa(a){a=a|0;v[a>>2]=465876;Ne(a+116|0);return a|0}function fT(a,b,c){qf((v[a+4>>2]+(b<<5)|0)+8|0,v[a>>2],c,0)}function _la(a){a=a|0;return(v[a+68>>2]-v[a- -64>>2]|0)+1|0}function YTa(a){a=a|0;v[a+4>>2]=1;v[a>>2]=459556;return a|0}function Vp(a,b){if(b){Vp(a,v[b>>2]);Vp(a,v[b+4>>2]);dc(b)}}function UTa(a){a=a|0;v[a+4>>2]=1;v[a>>2]=459608;return a|0}function STa(a){a=a|0;v[a+4>>2]=1;v[a>>2]=459784;return a|0}function RTa(a){a=a|0;v[a+4>>2]=1;v[a>>2]=460004;return a|0}function Mka(a){a=a|0;v[a>>2]=985028;Lc(a+12|0);Qc(a);dc(a)}function M8(a,b,c){a=a|0;b=b|0;c=c|0;return((b|0)>-1?b:c)|0}function Jea(a){a=a|0;v[a>>2]=996324;Lc(a+20|0);Qc(a);dc(a)}function J5(a){a=a|0;Ld(v[a+628>>2],87472,59913,0);return 1}function Ep(a,b){if(b){Ep(a,v[b>>2]);Ep(a,v[b+4>>2]);dc(b)}}function EKa(a){a=a|0;v[a+4>>2]=1;v[a>>2]=878672;return a|0}function E5(a){a=a|0;zc(v[a+628>>2],87840,64533,0);return 0}function DA(a,b){if(b){DA(a,v[b>>2]);DA(a,v[b+4>>2]);dc(b)}}function CY(a){var b=0;b=fc(4);v[a>>2]=b;v[b>>2]=0;return a}function CEa(a,b){a=a|0;b=b|0;return v[v[a+4>>2]+(b<<5)>>2]}function C5(a){a=a|0;zc(v[a+628>>2],87792,64533,0);return 0}function $Ra(a){a=a|0;v[a>>2]=466056;Ne(a+128|0);return a|0}function zXa(a,b){a=a|0;b=b|0;u[b>>1]=x[a+312>>1];return 0}function zVa(a,b){a=a|0;b=b|0;v[b>>2]=v[a+500>>2];return 0}function x_a(a){a=a|0;return a-48>>>0<10|(a&-33)-65>>>0<26}function xVa(a,b){a=a|0;b=b|0;v[a+500>>2]=v[b>>2];return 0}function wVa(a,b){a=a|0;b=b|0;A[b>>3]=A[a+504>>3];return 0}function vqa(a){a=a|0;v[a>>2]=982456;Ic(a+8|0);Qc(a);dc(a)}function vVa(a,b){a=a|0;b=b|0;A[a+504>>3]=A[b>>3];return 0}function uVa(a,b){a=a|0;b=b|0;v[b>>2]=v[a+512>>2];return 0}function tVa(a,b){a=a|0;b=b|0;v[a+512>>2]=v[b>>2];return 0}function ow(a,b){if(v[b+76>>2]<=-1){rL(a,b);return}rL(a,b)}function hNa(a){a=a|0;return(w[a+28|0]&15?333779:321552)|0}function gSa(a){a=a|0;v[a>>2]=465952;Ne(a+92|0);return a|0}function fpa(a){a=a|0;v[a>>2]=983e3;Ic(a+12|0);Qc(a);dc(a)}function dSa(a){a=a|0;v[a>>2]=466004;Ne(a+92|0);return a|0}function d5a(a){a=a|0;a=v[a>>2];v[a+20>>2]=0;v[a+108>>2]=0}function aWa(a,b){a=a|0;b=b|0;v[b>>2]=v[a+100>>2];return 0}function aNa(a){a=a|0;return(w[a+28|0]&15?333760:321474)|0}function _Va(a,b){a=a|0;b=b|0;v[b>>2]=v[a+108>>2];return 0}function ZVa(a,b){a=a|0;b=b|0;v[a+108>>2]=v[b>>2];return 0}function YVa(a,b){a=a|0;b=b|0;v[b>>2]=v[a+104>>2];return 0}function YRa(a){a=a|0;v[a>>2]=466112;Ne(a+92|0);return a|0}function XVa(a,b){a=a|0;b=b|0;v[a+104>>2]=v[b>>2];return 0}function WVa(a,b){a=a|0;b=b|0;v[b>>2]=v[a+112>>2];return 0}function VVa(a,b){a=a|0;b=b|0;v[a+112>>2]=v[b>>2];return 0}function Uea(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;gc(a,b,c<<4)}function RVa(a,b){a=a|0;b=b|0;v[b>>2]=v[a+132>>2];return 0}function QVa(a,b){a=a|0;b=b|0;v[a+132>>2]=v[b>>2];return 0}function QUa(a,b){a=a|0;b=b|0;v[b>>2]=v[a+628>>2];return 0}function Ppa(a){a=a|0;v[a>>2]=982756;ec(a+8|0);Qc(a);dc(a)}function PVa(a,b){a=a|0;b=b|0;v[b>>2]=v[a+128>>2];return 0}function Ola(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;gc(a,b,c<<1)}function OVa(a,b){a=a|0;b=b|0;v[a+128>>2]=v[b>>2];return 0}function O6(a,b,c){a=a|0;b=b|0;c=c|0;v[a+4>>2]=b;v[a>>2]=c}function Nla(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;gc(a,b,c<<3)}function NVa(a,b){a=a|0;b=b|0;A[b>>3]=A[a+192>>3];return 0}function MVa(a,b){a=a|0;b=b|0;A[a+192>>3]=A[b>>3];return 0}function Joa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;gc(a,b,c<<2)}function GL(a){a=a|0;v[a>>2]=1016432;Mc(a+12|0);return a|0}function FL(a){a=a|0;v[a>>2]=1016472;Mc(a+16|0);return a|0}function DVa(a,b){a=a|0;b=b|0;A[b>>3]=A[a+480>>3];return 0}function CVa(a,b){a=a|0;b=b|0;A[a+480>>3]=A[b>>3];return 0}function $Va(a,b){a=a|0;b=b|0;v[a+100>>2]=v[b>>2];return 0}function yWa(a,b){a=a|0;b=b|0;v[a+28>>2]=v[b>>2];return 0}function xWa(a,b){a=a|0;b=b|0;v[b>>2]=v[a+32>>2];return 0}function wWa(a,b){a=a|0;b=b|0;v[a+32>>2]=v[b>>2];return 0}function vWa(a,b){a=a|0;b=b|0;A[b>>3]=A[a+40>>3];return 0}function uWa(a,b){a=a|0;b=b|0;A[a+40>>3]=A[b>>3];return 0}function rib(a,b){a=a|0;b=b|0;return(bi(b,a+20|0)?-1:0)|0}function oya(a){a=a|0;a=v[a+4>>2];Ub[v[v[a>>2]+24>>2]](a)}function iWa(a,b){a=a|0;b=b|0;v[b>>2]=v[a+72>>2];return 0}function hWa(a,b){a=a|0;b=b|0;v[a+72>>2]=v[b>>2];return 0}function hQ(a){a=a|0;a=v[a+16>>2];Ub[v[v[a>>2]+24>>2]](a)}function gWa(a,b){a=a|0;b=b|0;A[b>>3]=A[a+80>>3];return 0}function fWa(a,b){a=a|0;b=b|0;A[a+80>>3]=A[b>>3];return 0}function cWa(a,b){a=a|0;b=b|0;v[b>>2]=v[a+96>>2];return 0}function bqa(a){a=a|0;return(v[a+48>>2]-v[a+44>>2]|0)+1|0}function bWa(a,b){a=a|0;b=b|0;v[a+96>>2]=v[b>>2];return 0}function _ga(a,b,c){a=a|0;b=b|0;c=c|0;Ub[b|0](c);return 0}function QY(a,b){a=a|0;b=b|0;u[b>>1]=x[a+164>>1];return 0}function LY(a){var b=0;b=v[a>>2];if(b){v[a+4>>2]=b;dc(b)}}function LB(a){a=a|0;v[a>>2]=1022748;$K(a+4|0);return a|0}function L$a(a){a=a|0;v[a+140>>2]=v[a+140>>2]+u[a+144>>1]}function KNa(a){a=a|0;if(!a){return 0}return w[a|0]==47|0}function JB(a){a=a|0;v[a>>2]=1022768;$K(a+4|0);return a|0}function Hbb(a){a=a|0;v[a>>2]=1032;_g(a);Jg(a);return a|0}function Gya(a){a=a|0;return(v[a+52>>2]&v[a+56>>2])==-1|0}function FKa(a,b,c){a=a|0;b=b|0;c=c|0;return jc(B(b,c))|0}function Eha(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;sO(a,b,c,d)}function CM(a){if(!a){return 0}return(DM(1015968,a)|0)!=0}function AWa(a,b){a=a|0;b=b|0;v[b>>2]=v[a+28>>2];return 0}function $Ta(a){a=a|0;v[a>>2]=457824;sj(a+8|0);return a|0}function vpa(a,b){a=a|0;b=b|0;if((b|0)>=1){ic(a,0,b<<2)}}function r0a(a){a=a|0;a=a<<13^a;a=a>>>17^a;return a<<5^a}function ov(a,b){a=a|0;b=b|0;v[a+40>>2]=b;AY(a);return 0}function o5a(a,b,c){a=a|0;b=b|0;c=c|0;return Qw(b,c,a)|0}function m1(a){fh(a,v[a+532>>2],0);t[a+498|0]=0;return 0}function eGa(a){a=a|0;v[a>>2]=889036;Be(v[a+4>>2]);dc(a)}function e2(){var a=0;a=jc(24);if(a){ic(a,0,24)}return a}function cOa(a){a=a|0;return t[v[v[a+24>>2]+12>>2]+70|0]}function _f(a){var b=0,c=0;b=a,c=Kf(0,0,0),v[b+384>>2]=c}function _4(a){a=a|0;v[a+916>>2]=v[a+916>>2]-v[a+784>>2]}function TZa(a,b,c){a=a|0;b=b|0;c=c|0;return N_(a,b,c)|0}function R3(a){a=a|0;a=v[a+24>>2];t[(a?a-20|0:0)+56|0]=1}function xM(a,b,c,d){a=Jw(a,b,c,0,-2147483648);return a}function ueb(a){a=a|0;return(v[a+4>>2]?v[a+16>>2]:-1)|0}function tWa(a,b){a=a|0;b=b|0;t[b|0]=w[a+48|0];return 0}function sWa(a,b){a=a|0;b=b|0;t[a+48|0]=w[b|0];return 0}function rXa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;v[d>>2]=c}function rWa(a,b){a=a|0;b=b|0;t[b|0]=w[a+49|0];return 0}function qWa(a,b){a=a|0;b=b|0;t[a+49|0]=w[b|0];return 0}function pva(a,b){a=a|0;b=b|0;return!Ad(v[a+20>>2],b)|0}function pja(a){a=a|0;return(w[a+56|0]?989348:989244)|0}function pWa(a,b){a=a|0;b=b|0;t[b|0]=w[a+50|0];return 0}function oca(a){a=a|0;return sC(v[v[a>>2]-12>>2]+a|0)|0}function nya(a,b,c){a=a|0;b=b|0;c=c|0;kc(7,-1,258398,0)}function nWa(a,b){a=a|0;b=b|0;t[a+50|0]=w[b|0];return 0}function nUa(a){a=a|0;Ub[v[v[a>>2]+328>>2]](a,457908)|0}function mca(a){a=a|0;return rC(v[v[a>>2]-12>>2]+a|0)|0}function mWa(a,b){a=a|0;b=b|0;t[b|0]=w[a+51|0];return 0}function lya(a){a=a|0;a=v[a>>2];Ub[v[v[a>>2]+20>>2]](a)}function le(a){if(w[a+11|0]>>>7|0){CL(v[a>>2])}return a}function lWa(a,b){a=a|0;b=b|0;t[a+51|0]=w[b|0];return 0}function kBa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;v[c>>2]=0}function jza(a){a=a|0;return v[a+12>>2]!=0|v[a+4>>2]>-1}function joa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;EP(a,b,d)}function i9(a,b){a=a|0;b=b|0;return ML(v[a>>2],Ef(b))|0}function hja(a){a=a|0;return(w[a+64|0]?989353:989249)|0}function fza(a){a=a|0;return v[(v[a>>2]<<2)+1121632>>2]}function aca(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;wM(a,c,d)}function Z2a(a,b){a=a|0;b=b|0;return v[a>>2]==v[b>>2]|0}function WK(a,b,c,d,e){return Lb(a|0,b|0,c|0,d|0,e|0)|0}function Vpa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;gc(a,b,c)}function Rv(a,b){a=a|0;b=b|0;return _d(a,v[b>>2],0,0)|0}function RXa(a,b){a=a|0;b=b|0;v[b+376>>2]=v[b+376>>2]|1}function R1a(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return 12}function PY(a,b){a=a|0;b=b|0;gc(b,a+168|0,196);return 0}function Oxa(a,b,c){a=a|0;b=b|0;c=c|0;kc(7,-1,258497,0)}function Mc(a){if(w[a+11|0]>>>7|0){Aw(v[a>>2])}return a}function Kv(a,b,c){a=a|0;b=b|0;c=c|0;return zg(a,b,c)|0}function K4(a){a=a|0;a=v[a+584>>2];if(a){dc(a)}return 1}function Jda(a){a=a|0;if(t[1197607]<=-1){dc(v[299399])}}function HRa(a){a=a|0;return v[a+272>>2]-v[a+268>>2]>>3}function Dc(a){var b=0;b=v[a+4>>2];if(b){dc(b)}return a}function BXa(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;v[d>>2]=0}function AOa(a){a=a|0;if(t[1176279]<=-1){dc(v[294067])}}function A6(a,b,c){a=a|0;b=b|0;c=c|0;return Oi(a,b,0)|0}function xka(a){a=a|0;a=v[a+4>>2];return(a?a:246399)|0}function uM(a,b){a=a|0;b=b|0;Ub[v[v[b>>2]+24>>2]](a,b)}function tM(a,b){a=a|0;b=b|0;Ub[v[v[b>>2]+28>>2]](a,b)}function qga(a){a=a|0;v[a>>2]=990996;Bt(a+508|0);dc(a)}function oma(a,b){a=a|0;b=b|0;return!Nc(b,227243,-1)|0}function nM(a,b){a=a|0;b=b|0;Ub[v[v[b>>2]+20>>2]](a,b)}function lza(a){a=a|0;return(v[a+4>>2]|v[a+8>>2])!=0|0}function lh(a,b){if(!v[a+4>>2]){gc(a+52|0,b+52|0,908)}}function jeb(a){a=a|0;return(v[a+4>>2]?v[a+8>>2]:-1)|0}function iy(a,b){a=a|0;b=b|0;return bS(v[a+12>>2],b)|0}function iSa(a){a=a|0;v[a>>2]=465876;Ne(a+116|0);dc(a)}function h5a(a){a=a|0;return Ub[v[v[a>>2]+48>>2]](a)|0}function g5a(a){a=a|0;return Ub[v[v[a>>2]+36>>2]](a)|0}function g$(a){a=a|0;a=v[a+156>>2];if(a){v[a+36>>2]=0}}function bN(a){a=a|0;return Fw(v[v[a>>2]-12>>2]+a|0)|0}function _Ra(a){a=a|0;v[a>>2]=466056;Ne(a+128|0);dc(a)}function Yxa(a){a=a|0;v[a+40>>2]=v[a+24>>2]+v[a+28>>2]}function W_(a,b){a=a|0;b=b|0;if(b){Ub[v[a+8>>2]](a,b)}}function TM(a){a=a|0;return Cw(v[v[a>>2]-12>>2]+a|0)|0}function Fwa(a){a=a|0;if(a){v[a+208>>2]=v[a+208>>2]|1}}function FLa(a){a=a|0;a=v[a+8>>2];return(a?a+26|0:0)|0}function Cx(a,b,c){a=a|0;b=b|0;c=c|0;v[a>>2]=0;Wc(a,0)}function AMa(a){a=a|0;a=v[a+8>>2];return(a?a+69|0:0)|0}function AKa(a,b){a=a|0;b=b|0;return GV(v[a+4>>2],b)|0}function xXa(a,b){a=a|0;b=b|0;if(b){t[b|0]=1}return 0}function tgb(a,b){a=a|0;b=b|0;v[a+12>>2]=v[a+12>>2]+b}function pM(a){a=a|0;return Ub[v[v[a>>2]+12>>2]](a)|0}function oM(a){a=a|0;return Ub[v[v[a>>2]+16>>2]](a)|0}function fy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return 0}function fSa(a){a=a|0;v[a>>2]=465952;Ne(a+92|0);dc(a)}function cSa(a){a=a|0;v[a>>2]=466004;Ne(a+92|0);dc(a)}function af(a,b){a=JC(a,b);return w[a|0]==(b&255)?a:0}function Zs(a){var b=0;b=v[a+48>>2];if(b){dc(b)}dc(a)}function XRa(a){a=a|0;v[a>>2]=466112;Ne(a+92|0);dc(a)}function Uta(a){a=a|0;a=Jx(a);lf(a- -64|0);return a|0}function Us(a){var b=0;b=v[a+16>>2];if(b){dc(b)}dc(a)}function SNa(a){a=a|0;ch(v[a+4>>2]);_e(v[a>>2]);_e(a)}function RHa(a,b){a=a|0;b=b|0;cn(a,v[b+4>>2],v[b>>2])}function Qcb(a){a=a|0;return B(B(a,85)&255,257)&65535}function OA(a){a=a|0;return Ub[v[v[a>>2]+28>>2]](a)|0}function Ncb(a){a=a|0;return B(B(a,17)&255,257)&65535}function DI(a){a=a|0;return Ub[v[v[a>>2]+24>>2]](a)|0}function $h(a){var b=0;b=v[a+12>>2];if(b){dc(b)}dc(a)}function vwa(a){a=a|0;return v[a+40>>2]-v[a+24>>2]|0}function iZa(a){a=a|0;return Ac(x[a+256>>1],Tz(a))|0}function egb(a){a=a|0;return v[a+28>>2]+v[a+24>>2]|0}function _Ta(a){a=a|0;v[a>>2]=457824;sj(a+8|0);dc(a)}function QL(a){if(v[a>>2]){PL(a);zL(a+16|0,v[a>>2])}}function GOa(a,b,c){a=a|0;b=b|0;c=c|0;gX(a+68|0,b,c)}function Dfb(a,b){a=a|0;b=b|0;t[a+2252|0]=1;return 0}function Cfb(a,b){a=a|0;b=b|0;t[a+2252|0]=2;return 0}function Aib(a){if(a){return 31-E(a-1^a)|0}return 32}function xYa(a,b){a=a|0;b=b|0;return zk(449776,b)|0}function w4a(a,b){a=a|0;b=b|0;return zk(374176,b)|0}function vl(a){a=a|0;v[a>>2]=1032;_g(a);Jg(a);dc(a)}function t4a(a,b){a=a|0;b=b|0;return zk(374304,b)|0}function sla(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Tk(a)}function sC(a){a=a|0;a=IW(a);lf(a+108|0);return a|0}function rC(a){a=a|0;a=JW(a);lf(a+104|0);return a|0}function qXa(a,b){a=a|0;b=b|0;return zk(453856,b)|0}function pgb(a){a=a|0;return v[a+12>>2]+v[a+8>>2]|0}function lp(a,b){a=a|0;b=b|0;return et(a,b,ve(b))|0}function lhb(a,b){a=a|0;b=b|0;v[a+84>>2]=2;return 0}function iL(a,b){a=a|0;b=b|0;return jL(a,b,Bc(b))|0}function fL(a,b){a=a|0;b=b|0;return RB(a,b,ve(b))|0}function dua(a){a=a|0;a=KQ(a);lf(a+60|0);return a|0}function aXa(a,b){a=a|0;b=b|0;return zk(454752,b)|0}function Z1a(a,b){a=a|0;b=b|0;return zk(380960,b)|0}function W$a(a,b){a=a|0;b=b|0;return zk(445072,b)|0}function TB(a,b){a=a|0;b=b|0;return UB(a,b,Bc(b))|0}function KXa(a,b){a=a|0;b=b|0;return zk(451744,b)|0}function I1a(a,b){a=a|0;b=b|0;return zk(381600,b)|0}function D$a(a,b){a=a|0;b=b|0;return zk(445184,b)|0}function C$a(a,b){a=a|0;b=b|0;v[a+16>>2]=b;return 0}function $db(a){a=a|0;return!v[a+4>>2]|w[a+24|0]!=0}function lDa(a,b,c){a=a|0;b=b|0;c=c|0;v[a+36>>2]=1}function kDa(a,b,c){a=a|0;b=b|0;c=c|0;v[a+36>>2]=2}function gEa(a){a=a|0;return gc(fc(1576),a,1576)|0}function fMa(a,b,c){a=a|0;b=b|0;c=c|0;uk(a,b,c,11)}function fH(a,b){a=a|0;b=b|0;wk(a+52|0,b);return 0}function eMa(a,b,c){a=a|0;b=b|0;c=c|0;uk(a,b,c,16)}function eH(a,b){a=a|0;b=b|0;wk(a+48|0,b);return 0}function dMa(a,b,c){a=a|0;b=b|0;c=c|0;uk(a,b,c,17)}function cMa(a,b,c){a=a|0;b=b|0;c=c|0;uk(a,b,c,18)}function bMa(a,b,c){a=a|0;b=b|0;c=c|0;uk(a,b,c,19)}function Jq(a){var b=0;b=v[a>>2];if(b){dc(b)}dc(a)}function Gda(a,b){a=a|0;b=b|0;return a-48>>>0<10|0}function qKa(a){a=a|0;return v[a+4>>2]-v[a>>2]>>2}function pMa(a,b,c){a=a|0;b=b|0;c=c|0;uk(a,b,c,1)}function lMa(a,b,c){a=a|0;b=b|0;c=c|0;uk(a,b,c,2)}function kMa(a,b,c){a=a|0;b=b|0;c=c|0;uk(a,b,c,3)}function jMa(a,b,c){a=a|0;b=b|0;c=c|0;uk(a,b,c,4)}function iMa(a,b,c){a=a|0;b=b|0;c=c|0;uk(a,b,c,5)}function hMa(a,b,c){a=a|0;b=b|0;c=c|0;uk(a,b,c,6)}function gMa(a,b,c){a=a|0;b=b|0;c=c|0;uk(a,b,c,8)}function caa(a,b){a=a|0;b=b|0;Qf(a,b,Ef(1200012))}function bwa(a,b,c){a=a|0;b=b|0;c=c|0;Rc(b,1,c,a)}function baa(a,b){a=a|0;b=b|0;Qf(a,b,Ef(1200020))}function Yf(a,b,c){return Jw(a,b,c,-2147483648,0)}function Tcb(a){a=a|0;return B(0-a&255,257)&65535}function Qp(a,b,c){zf((v[a+4>>2]+(b<<5)|0)+8|0,c)}function A3a(a){a=a|0;Ub[v[v[a+552>>2]+28>>2]](a)}function zya(a){a=a|0;kc(7,-1,256688,0);return-1}function z9(a,b){a=a|0;b=b|0;Qf(a,b,Ef(1200060))}function y9(a,b){a=a|0;b=b|0;Qf(a,b,Ef(1200068))}function w9(a,b){a=a|0;b=b|0;Qf(a,b,Ef(1200076))}function tma(a,b){a=a|0;b=b|0;v[a+12>>2]=(b|0)%4}function t9(a,b){a=a|0;b=b|0;Qf(a,b,Ef(1200084))}function rya(a,b){a=a|0;b=b|0;v[a+12>>2]=v[b>>2]}function r9(a,b){a=a|0;b=b|0;Qf(a,b,Ef(1200156))}function q9(a,b){a=a|0;b=b|0;Qf(a,b,Ef(1200164))}function ola(a,b){a=a|0;b=b|0;return B(b,24)+a|0}function nea(a,b){a=a|0;b=b|0;return B(b,20)+a|0}function lN(a,b){a=IC(a,b)+a|0;return w[a|0]?a:0}function jUa(a){a=a|0;return+A[v[a+16>>2]+16>>3]}function cZa(a,b,c){a=a|0;b=b|0;c=c|0;return b|0}function bZa(a,b,c){a=a|0;b=b|0;c=c|0;return c|0}function _9(a,b){a=a|0;b=b|0;Qf(a,b,Ef(1200208))}function Z9(a,b){a=a|0;b=b|0;Qf(a,b,Ef(1200224))}function X9(a,b){a=a|0;b=b|0;Qf(a,b,Ef(1200232))}function W9(a,b){a=a|0;b=b|0;Qf(a,b,Ef(1200240))}function V9(a,b){a=a|0;b=b|0;Qf(a,b,Ef(1200248))}function U9(a,b){a=a|0;b=b|0;Qf(a,b,Ef(1200256))}function T9(a,b){a=a|0;b=b|0;Qf(a,b,Ef(1200264))}function S9(a,b){a=a|0;b=b|0;Qf(a,b,Ef(1200028))}function Q9(a,b){a=a|0;b=b|0;Qf(a,b,Ef(1200036))}function P9(a,b){a=a|0;b=b|0;Qf(a,b,Ef(1200044))}function O_a(a,b){a=a|0;b=b|0;v[b>>2]=0;return 0}function O9(a,b){a=a|0;b=b|0;Qf(a,b,Ef(1200052))}function Nxa(a){a=a|0;kc(7,-1,258430,0);return 0}function M9(a,b){a=a|0;b=b|0;Qf(a,b,Ef(1200092))}function L9(a,b){a=a|0;b=b|0;Qf(a,b,Ef(1200100))}function K9(a,b){a=a|0;b=b|0;Qf(a,b,Ef(1200108))}function J9(a,b){a=a|0;b=b|0;Qf(a,b,Ef(1200116))}function H9(a,b){a=a|0;b=b|0;Qf(a,b,Ef(1200124))}function Gh(a,b,c,d){Oj(a,b,c,w[a+200|0]==219,d)}function Eoa(a,b){a=a|0;b=b|0;return B(b,44)+a|0}function Eib(a,b){zib(a,b,900,0);Tb=Sb;return Rb}function E9(a,b){a=a|0;b=b|0;Qf(a,b,Ef(1200132))}function C9(a,b){a=a|0;b=b|0;Qf(a,b,Ef(1200140))}function Aqa(a,b){a=a|0;b=b|0;return B(b,68)+a|0}function A9(a,b){a=a|0;b=b|0;Qf(a,b,Ef(1200148))}function $9(a,b){a=a|0;b=b|0;Qf(a,b,Ef(1200216))}function zRa(a){a=a|0;return v[v[a+8>>2]+12>>2]}function yda(a){a=a|0;v[299450]=a-1;v[299451]=0}function yRa(a){a=a|0;return v[v[a+8>>2]+16>>2]}function uia(a,b){a=a|0;b=b|0;xO(a,b,5153,5154)}function tr(a,b){a=a|0;b=b|0;return B(b,28)+a|0}function tD(a,b){a=a|0;b=b|0;return B(b,56)+a|0}function oC(a,b,c,d){a=Jw(a,b,c,-1,-1);return a}function np(a,b){a=a|0;b=b|0;Gw(a,v[a+16>>2]|b)}function nma(a,b){a=a|0;b=b|0;return B(b,3)+a|0}function lt(a,b,c){a=a|0;b=b|0;c=c|0;return a|0}function lUa(a){a=a|0;return+A[v[a+16>>2]+8>>3]}function jib(a){a=a|0;a=v[a+28>>2];if(a){dc(a)}}function bJa(a,b){a=a|0;b=b|0;v[a+8>>2]=v[b>>2]}function XUa(a,b){a=a|0;b=b|0;v[a+4>>2]=v[b>>2]}function VP(a,b){a=a|0;b=b|0;return B(b,40)+a|0}function Uhb(a){a=a|0;a=v[a+52>>2];if(a){dc(a)}}function Q1a(a,b,c){a=a|0;b=b|0;c=c|0;return 12}function PRa(a,b){a=a|0;b=b|0;v[b>>2]=v[a+8>>2]}function Ot(a,b){a=a|0;b=b|0;return B(b,12)+a|0}function Oga(a,b){a=a|0;b=b|0;v[a>>2]=0;Wc(a,b)}function OKa(a,b){a=a|0;b=b|0;return v[b+12>>2]}function Mxa(a,b){a=a|0;b=b|0;kc(7,-1,258463,0)}function Mra(a){a=a|0;v[a+24>>2]=0;v[a+16>>2]=0}function Lo(a,b){if(!(!a|!b)){tA(v[a+16>>2],b)}}function $g(a){v[a>>2]=0;t[v[a+4>>2]]=0;Ng(a,0)}function zda(a){a=a|0;return(a<<8|a>>>8)&65535}function z3(a){a=a|0;return(v[a+12>>2]<<1)+4|0}function yh(a,b,c){if(!(w[a|0]&32)){iw(b,c,a)}}function xfb(a,b){a=a|0;b=b|0;t[a+40|0]=w[b|0]}function vS(a,b){gc(v[a>>2],v[b>>2],v[a+4>>2])}function spa(a,b){a=a|0;b=b|0;return(b<<5)+a|0}function nca(a){a=a|0;JM(v[v[a>>2]-12>>2]+a|0)}function m$(a){a=a|0;v[a+16>>2]=0;v[a+20>>2]=0}function lca(a){a=a|0;IM(v[v[a>>2]-12>>2]+a|0)}function l3(a){a=a|0;return Bc(v[a+12>>2])+1|0}function iD(a,b){a=a|0;b=b|0;v[a>>2]=0;Wc(a,0)}function iB(a){a=a|0;a=v[a+20>>2];if(a){dc(a)}}function hK(a){a=a|0;a=v[a+16>>2];if(a){dc(a)}}function gK(a){a=a|0;a=v[a+12>>2];if(a){dc(a)}}function fRa(a){a=a|0;a=Qb-16|0;Qb=a;Qb=a+16|0}function TKa(a,b){a=a|0;b=b|0;return RV(a,b)|0}function Pla(a,b){a=a|0;b=b|0;return(b<<1)+a|0}function O2(a){a=a|0;a=v[a+24>>2];if(a){dc(a)}}function DZa(a){a=a|0;v[a- -64>>2]=40;return 0}function wS(a,b,c){return kT(v[a+428>>2],b,c)}function vKa(a,b){a=a|0;b=b|0;dG(a,v[b+4>>2])}function uKa(a,b){a=a|0;b=b|0;EV(a,v[b+4>>2])}function sD(a,b){a=a|0;b=b|0;return(b<<4)+a|0}function qja(a){a=a|0;return(w[a+56|0]?4:1)|0}function qda(a){a=a|0;return va(v[a+60>>2])|0}function oHa(a,b){a=a|0;b=b|0;FW(a,b,Bc(b),1)}function jt(a,b){a=a|0;b=b|0;return VM(a,b)^1}function ija(a){a=a|0;return(w[a+64|0]?5:3)|0}function bj(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function aN(a){a=a|0;AC(v[v[a>>2]-12>>2]+a|0)}function YO(a,b){a=a|0;b=b|0;return(b<<3)+a|0}function XJ(a,b,c){a=a|0;b=b|0;c=c|0;return-1}function Sha(a){a=a|0;return he(v[a+12>>2])|0}function SM(a){a=a|0;vC(v[v[a>>2]-12>>2]+a|0)}function QP(a,b){a=a|0;b=b|0;return(b<<2)+a|0}function Pw(a,b,c){return TC(a,b,c,5441,5442)}function Me(a,b){a=a|0;b=b|0;return fL(a,b)|0}function Ln(a,b){a=a|0;b=b|0;return $M(a,b)|0}function Im(a,b){a=a|0;b=b|0;return VM(a,b)|0}function Ew(a,b){a=a|0;b=b|0;return $M(a,b)^1}function Dib(a,b,c,d){a=zib(a,b,c,d);return a}function zSa(a,b){a=a|0;b=b|0;return jc(b)|0}function x3a(a){a=a|0;return v[a+8>>2]>>>9&1}function su(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0}function sUa(a){a=a|0;return v[a+16>>2]+56|0}function rUa(a){a=a|0;return v[a+16>>2]+52|0}function pYa(a){a=a|0;v[v[a+156>>2]+36>>2]=0}function oUa(a){a=a|0;return v[a+16>>2]+44|0}function ewa(a){a=a|0;return v[v[a>>2]+8>>2]}function dca(){return(v[v[282445]>>2]?4:1)|0}function XKa(a,b){a=a|0;b=b|0;return UC(b)|0}function Rta(a){a=a|0;lf(a+4|0);return a-8|0}function NV(a,b,c){return _u(a,b,8,15,8,0,c)}function Ifb(a,b){a=a|0;b=b|0;return a1(a)|0}function I_a(a){a=a|0;v[v[a+480>>2]+28>>2]=1}function Hca(a){a=a|0;return Il(a,1200036)|0}function Gpa(a){a=a|0;if(a){Qi(v[a+180>>2])}}function Cwa(a){a=a|0;return v[v[a+8>>2]>>2]}function C3(a){a=a|0;return v[a+964>>2]!=0|0}function $Ka(a,b){a=a|0;b=b|0;return Be(b)|0}function zC(a){a=a|0;return Il(a,1200216)|0}function yC(a){a=a|0;return Il(a,1200208)|0}function wBa(a,b){a=a|0;b=b|0;v[b>>2]=65536}function uGa(a,b){a=a|0;b=b|0;v[a+164>>2]=b}function oGa(a,b,c,d){a=a|0;b=b|0;c=+c;d=+d}function mp(a){a=a|0;UM(v[a>>2]);return a|0}function mC(a){a=a|0;return Il(a,1200256)|0}function lPa(a){a=a|0;os(1176232,v[294059])}function kca(a,b,c){a=a|0;b=b|0;c=c|0;dc(a)}function k1(a){t[a+1124|0]=0;Ro(a);return 0}function iC(a){a=a|0;return Il(a,1200264)|0}function hza(a){a=a|0;return v[a+8>>2]!=5|0}function g9(a){a=a|0;Ub[v[v[a>>2]+4>>2]](a)}function ana(a,b){a=a|0;b=b|0;v[a+132>>2]=b}function Tta(a){a=a|0;lf(a+12|0);return a|0}function Mcb(a){a=a|0;return B(a,257)&65535}function MQa(a,b){a=a|0;b=b|0;v[a+168>>2]=b}function MM(a){a=a|0;return Il(a,1200224)|0}function Kda(a){a=a|0;os(1197584,v[299397])}function FRa(a){a=a|0;return C(z[a+284>>2])}function A2a(a){a=a|0;v[v[a+456>>2]>>2]=176}function $q(a){a=a|0;_M(v[a>>2]);return a|0}function yUa(a,b){a=a|0;b=b|0;HY(b,a+88|0)}function xUa(a,b){a=a|0;b=b|0;HY(a+88|0,b)}function u2a(a,b){a=a|0;b=b|0;Eo(a+20|0,b)}function oKa(a){a=a|0;v[a>>2]=0;return a|0}function mk(a,b){Pk(v[a>>2],v[a+8>>2],4,b)}function k8(a,b){a=a|0;b=b|0;BH(a,1016504)}function i5a(a,b){a=a|0;b=b|0;v[a+16>>2]=b}function h8(a,b){a=a|0;b=b|0;BH(a,1016524)}function gp(a){a=a|0;return v[a+4>>2]!=0|0}function Wpa(a,b){a=a|0;b=b|0;return a+b|0}function Sd(a,b){v[a+168>>2]=b;sd(a,1);L()}function KOa(a,b){a=a|0;b=b|0;bX(a+68|0,b)}function HJa(a,b){a=a|0;b=b|0;if(a){rV(a)}}function Goa(a,b){a=a|0;b=b|0;v[a+84>>2]=b}function $ma(a,b){a=a|0;b=b|0;t[a+136|0]=b}function $Pa(a,b){a=a|0;b=b|0;v[a+20>>2]=b}function zg(a,b,c){return nt(a,b,b>>31,c)}function n8(a,b){a=a|0;b=b|0;eC(a,b+12|0)}function m8(a,b){a=a|0;b=b|0;eC(a,b+16|0)}function l8(a,b){a=a|0;b=b|0;nm(a,275456)}function j8(a,b){a=a|0;b=b|0;nm(a,277254)}function iEa(a){a=a|0;return v[a+2984>>2]}function fEa(a){a=a|0;return v[a+1568>>2]}function dEa(a){a=a|0;return v[a+1064>>2]}function bEa(a){a=a|0;return v[a+1576>>2]}function _Ja(a){a=a|0;a=a-8|0;fz(a);dc(a)}function XP(a,b){a=a|0;b=b|0;Ol(a,b+12|0)}function RF(a,b,c,d){return Su(a,b,c,0,d)}function Qta(a){a=a|0;lf(a+4|0);dc(a-8|0)}function OX(a,b){a=a|0;b=b|0;wk(a+20|0,b)}function Mca(a){a=a|0;return!v[a+16>>2]|0}function KC(a,b){ce(Bc(a)+a|0,b);return a}function Fw(a){a=a|0;lf(a+8|0);return a|0}function Foa(a,b){a=a|0;b=b|0;t[a+88|0]=b}function Cw(a){a=a|0;lf(a+4|0);return a|0}function tZa(a){a=a|0;hZ(a);t[a+112|0]=0}function mja(a){a=a|0;return v[a+100>>2]}function mj(a,b){return uy(v[a+24>>2],b)}function kja(a){a=a|0;return v[a+104>>2]}function fja(a){a=a|0;return v[a+124>>2]}function eZa(a){a=a|0;return x[a+256>>1]}function _Pa(a){a=a|0;return+A[a+128>>3]}function YPa(a){a=a|0;return v[a+140>>2]}function XPa(a){a=a|0;return v[a+144>>2]}function Wcb(a){a=a|0;return(a<<1|a)&255}function WPa(a){a=a|0;return v[a+148>>2]}function Vcb(a){a=a|0;return B(a,15)&255}function VPa(a){a=a|0;return v[a+152>>2]}function Rcb(a){a=a|0;return B(a,85)&255}function RW(a,b){a=a|0;b=+b;A[a+8>>3]=b} +function Pva(a){a=a|0;return v[a+216>>2]}function Osa(a){a=a|0;return!v[a+4>>2]|0}function Ocb(a){a=a|0;return B(a,17)&255}function LQa(a){a=a|0;return v[a+164>>2]}function Iw(a,b,c){return Jw(a,b,c,-1,0)}function Icb(a){a=a|0;return a<<15&32768}function Iba(a){a=a|0;return v[a+368>>2]}function GPa(a){a=a|0;return v[a+248>>2]}function Fcb(a){a=a|0;return a<<14&49152}function FPa(a){a=a|0;return v[a+252>>2]}function FAa(a){a=a|0;return v[a+128>>2]}function EPa(a){a=a|0;return v[a+256>>2]}function EAa(a){a=a|0;return v[a+132>>2]}function DPa(a){a=a|0;return v[a+260>>2]}function DAa(a){a=a|0;return v[a+376>>2]}function Ccb(a){a=a|0;return a<<12&61440}function CAa(a){a=a|0;return v[a+380>>2]}function $Ja(a){a=a|0;return fz(a-8|0)|0}function xC(a){a=a|0;return v[a+364>>2]}function wna(a,b){a=a|0;b=b|0;oP(a,b,1)}function tX(a){a=a|0;return v[a+168>>2]}function sGa(a){a=a|0;return w[a+208|0]}function rX(a){a=a|0;return v[a+136>>2]}function qN(a,b,c){Jl(a,2147483647,b,c)}function oja(a){a=a|0;return v[a+92>>2]}function nja(a){a=a|0;return v[a+96>>2]}function kL(a,b,c){if(b){ic(a,c&255,b)}}function aM(a,b){a=a|0;b=b|0;mM(a,1,45)}function Xx(a,b){a=a|0;b=b|0;return b|0}function Scb(a){a=a|0;return B(a,5)&255}function SF(a,b,c){return Su(a,b,0,0,c)}function RC(a,b,c){return TC(a,b,c,0,0)}function NFa(a){a=a|0;return v[a+32>>2]}function Ls(a,b,c){return Po(255,a,b,c)}function Jsa(a){a=a|0;return+A[a+48>>3]}function Aya(a){a=a|0;return v[a+60>>2]}function $L(a,b){a=a|0;b=b|0;fC(a,1,45)}function z5a(a){a=a|0;return bd(1,a)|0}function wl(a){a=a|0;return v[a+12>>2]}function sw(a){a=a|0;return 2147483647}function s5(a){a=a|0;return w[a+348|0]}function rla(a,b,c){a=a|0;b=b|0;c=C(c)}function rIa(a){a=a|0;Ub[v[259708]](a)}function bda(a,b){a=a|0;b=b|0;return 1}function Wx(a){a=a|0;return v[a+28>>2]}function W2a(a,b){a=a|0;b=b|0;return 7}function Uk(a){return _N(a,v[a+72>>2])}function U1(a){a=a|0;return v[a+48>>2]}function Sta(a){a=a|0;lf(a+12|0);dc(a)}function Rh(a){ic(v[a>>2],0,v[a+4>>2])}function RK(a){a=a|0;return v[a+52>>2]}function NE(a,b){a=a|0;b=b|0;v[b>>2]=0}function NB(a,b){a=a|0;b=b|0;QB(a,b,0)}function N5(a){a=a|0;return v[a+44>>2]}function G5(a){a=a|0;return x[a+26>>1]}function DG(a){a=a|0;return v[a+24>>2]}function Bp(a){a=a|0;return v[a+16>>2]}function AB(a){a=a|0;return v[a+20>>2]}function ym(a,b){a=a|0;b=b|0;return 0}function p1a(a){a=a|0;Rg(a,v[a+8>>2])}function lGa(a,b){a=a|0;b=b|0;tu(a,b)}function kXa(a){a=a|0;eA(v[a+160>>2])}function fN(a){a=a|0;MB(a);return a|0}function bp(a){a=a|0;return v[a+4>>2]}function am(a,b,c){return Se(a,b,c,0)}function _v(a,b){a=a|0;b=b|0;ia();L()}function Ys(a,b){a=a|0;b=b|0;return-1}function WJ(a){a=a|0;return v[a+8>>2]}function VM(a,b){return GM(a)^GM(b)^1}function Ti(a){a=a|0;Qc(a);return a|0}function TN(a){a=v[a>>2];if(a){dc(a)}}function OE(a,b){return uy(v[a>>2],b)}function MB(a){a=a|0;JB(a);return a|0}function Lcb(a){a=a|0;return a<<1&254}function Kcb(a){a=a|0;return a<<3&248}function Jcb(a){a=a|0;return a<<7&128}function Hcb(a){a=a|0;return a<<2&252}function Gcb(a){a=a|0;return a<<6&192}function Dcb(a){a=a|0;return a<<4&240}function $M(a,b){return HM(a)^HM(b)^1}function wZa(a){a=a|0;Vd(v[a+24>>2])}function vh(a,b,c){a=a|0;b=b|0;c=c|0}function qUa(a){a=a|0;nv(v[a+16>>2])}function qGa(a,b,c){a=a|0;b=b|0;c=+c}function p8(a){a=a|0;return t[a+8|0]}function p5a(a){a=a|0;return Be(a)|0}function o8(a){a=a|0;return t[a+9|0]}function m5a(a){a=a|0;return tp(a)|0}function ica(a){a=a|0;return fc(a)|0}function gS(a,b){a=a|0;b=b|0;Zc(a,b)}function bO(){ei(309164);v[299395]=0}function _$a(a){a=a|0;return a+100|0}function Z$a(a){a=a|0;return a+112|0}function Y$a(a){a=a|0;return a+140|0}function Xea(a){a=a|0;return v[a>>2]}function Ucb(a){a=a|0;return 0-a&255}function Eda(a){a=a|0;return Tw(a)|0}function ue(a){a=a|0;cf(237527);L()}function uLa(a){a=a|0;return 225250}function t5a(a,b){a=a|0;b=b|0;dc(a)}function lw(a){a=a|0;lL(237527);L()}function jja(a){a=a|0;return 358460}function jV(a,b){return Se(a,b,0,0)}function gja(a){a=a|0;return 989254}function eda(a){a=a|0;return 255980}function bk(a,b,c){if(c){gc(a,b,c)}}function YL(a){return Il(a,1200100)}function XL(a){return Il(a,1200092)}function V0(a,b,c){return Pc(a,b,c)}function TL(a){return Il(a,1200116)}function SL(a){return Il(a,1200108)}function QC(a,b,c){TC(a,b,c,5441,0)}function POa(a){a=a|0;return a+28|0}function PI(a){a=a|0;return vp(a)|0}function OOa(a){a=a|0;return a+68|0}function HTa(a){a=a|0;return a+52|0}function El(a){a=a|0;lL(272265);L()}function Bya(a){a=a|0;return a+16|0}function Bn(a,b,c){if(c){Wd(a,b,c)}}function $d(a){a=a|0;cf(272265);L()}function $U(a,b){return Ku(a,b,0,1)}function uIa(a){a=a|0;if(a){fV(a)}}function r_(a,b){a=a|0;b=b|0;dc(b)}function _j(a,b){a=a|0;b=b|0;ge(a)}function F6(a){a=a|0;return 246334}function E6(a){a=a|0;return 292934}function B6(a){a=a|0;return 227177}function uc(a){a=a|0;if(a){dc(a)}}function mka(a){a=a|0;ec(1178996)}function l$(a){a=a|0;v[a+16>>2]=0}function kka(a){a=a|0;ec(1179008)}function jka(a){a=a|0;ec(1179020)}function ika(a){a=a|0;ec(1179032)}function iH(a){a=a|0;return a+8|0}function gma(a){a=a|0;Ic(1178416)}function apa(a){a=a|0;ec(1178364)}function Pgb(a){a=a|0;v[a+4>>2]=2}function Ora(a){a=a|0;Fx(a);dc(a)}function Oja(a){a=a|0;ec(1179044)}function Dha(a){a=a|0;id(1197544)}function Bcb(a){a=a|0;return a<<8}function $oa(a){a=a|0;ec(1178376)}function z7(a){a=a|0;le(1200432)}function SN(a){EC(v[a>>2]);dc(a)}function N7(a){a=a|0;Mc(1200320)}function Lc(a){dc(v[v[a>>2]>>2])}function L7(a){a=a|0;le(1200336)}function J7(a){a=a|0;Mc(1200352)}function IB(a){a=a|0;LB(a);dc(a)}function H7(a){a=a|0;le(1200368)}function H6(a,b){a=a|0;b=b|0;L()}function F7(a){a=a|0;Mc(1200384)}function DD(a){a=a|0;Qc(a);dc(a)}function D7(a){a=a|0;le(1200400)}function B7(a){a=a|0;Mc(1200416)}function yca(a){a=a|0;dc(Zq(a))}function xCa(a){a=a|0;dc(WS(a))}function uh(a,b){return be(a,b)}function tw(a){a=a|0;return 127}function tAa(a){a=a|0;dc(rS(a))}function rKa(a){a=a|0;dc(DV(a))}function rCa(a){a=a|0;dc(VS(a))}function qva(a){a=a|0;dc(YQ(a))}function pEa(a){a=a|0;dc(eT(a))}function ooa(a){a=a|0;Wk(HP(a))}function mAa(a){a=a|0;dc(pS(a))}function kIa(a){a=a|0;dc(bU(a))}function jva(a){a=a|0;dc(WQ(a))}function jg(a){a=a|0;return a|0}function gra(a){a=a|0;dc(fQ(a))}function fea(a){a=a|0;dc(ZN(a))}function cxa(a){a=a|0;dc(QR(a))}function cl(a,b){return zh(a,b)}function bQa(a){a=a|0;dc(hv(a))}function ada(a){a=a|0;dc(fN(a))}function aKa(a){a=a|0;dc(fz(a))}function Zca(a){a=a|0;dc(BC(a))}function Xla(a){a=a|0;dc(ZO(a))}function Vwa(a){a=a|0;dc(NR(a))}function Vca(a){a=a|0;dc(kt(a))}function TTa(){return v[293894]}function TPa(a){a=a|0;dc(pX(a))}function Sea(a){a=a|0;dc(dO(a))}function Rna(a){a=a|0;dc(xP(a))}function Rca(a){a=a|0;dc(kh(a))}function Qna(a){a=a|0;dc(wP(a))}function PTa(a){a=a|0;dc(BY(a))}function Nqa(a){a=a|0;dc(_P(a))}function NWa(a){a=a|0;dc(JY(a))}function NQa(a){a=a|0;dc(uX(a))}function Lla(a){a=a|0;dc(WO(a))}function Jva(a){a=a|0;dc(iR(a))}function Jna(a){a=a|0;Wk(uP(a))}function Hya(a){a=a|0;dc(WR(a))}function GFa(a){a=a|0;dc(PT(a))}function Fra(a){a=a|0;dc(mQ(a))}function FOa(a){a=a|0;dc(yz(a))}function Dm(a){return Df(a,0,0)}function CFa(a){a=a|0;dc(MT(a))}function C8a(a){a=a|0;dc(Qs(a))}function xX(a){ps(a,v[a+4>>2])}function vC(a){a=a|0;dc(Cw(a))}function v3(a){a=a|0;return 12}function r8(a){a=a|0;dc(GL(a))}function q8(a){a=a|0;dc(FL(a))}function nu(a){a=a|0;return 10}function l9(a){a=a|0;dc(NL(a))}function iV(a,b,c){$r(a,b,c,0)}function eN(){return(Pb()|0)>0}function S8(a){a=a|0;dc(JL(a))}function OQ(a){Fp(a,v[a+4>>2])}function Nn(a){ff(a,v[252393])}function JM(a){a=a|0;dc(sC(a))}function J6(a){a=a|0;dc(MB(a))}function IM(a){a=a|0;dc(rC(a))}function I8(a){a=a|0;dc(RL(a))}function DL(a){a=a|0;dc(_B(a))}function D6(a){a=a|0;dc(LB(a))}function C6(a){a=a|0;dc(JB(a))}function AC(a){a=a|0;dc(Fw(a))}function xf(a){return Kw(a,0)}function rt(a){return Lk(1,a)}function oV(a){return Qu(a,0)}function mu(a){a=a|0;return-1}function gca(){return 1012084}function fca(){return 1012864}function eca(){return 1014416}function co(a){a=a|0;return 3}function Zd(a){a=a|0;return 1}function Wm(a){a=a|0;return 2}function Pp(a){a=a|0;return 4}function JE(a){a=a|0;return 5}function IE(a){a=a|0;return 6}function Hd(a){a=a|0;return 0}function HE(a){a=a|0;return 7}function GE(a){a=a|0;return 8}function FE(a){a=a|0;return 9}function Dda(){return 1197608}function rd(a,b){a=a|0;b=b|0}function oe(a,b,c){gc(a,b,c)}function eg(a,b,c){ic(a,b,c)}function bK(a,b){gc(b,a,104)}function PL(a){xL(a,v[a>>2])}function tUa(a){a=a|0;kq(a)}function qe(a,b){ic(a,0,b)}function ae(a){a=a|0;dc(a)}function k6(){return Qb|0}function j6(a){a=a|0;Qb=a}function JU(a){il(a,3035)}function rh(a){a=a|0;L()}function Qe(a,b){iL(a,b)}function wka(){ya();L()}function $da(){return 0}function ee(a){Ig(a,0)}function ZM(a){Gw(a,0)}function lf(a){BC(a)}function Ye(a){a=a|0}function G6(){L()}function G$(){} // EMSCRIPTEN_END_FUNCS -e=w;var Qa=c([null,ab,Iya,rxa,Ud,cp,t8,we,dSa,b8,V7,Q7,H7,w7,l7,nda,KRa,pRa,Tm,G9,w9,H2,PPa,Cf,tc,bl,_D,_n,cr,UL,XC,bN,IPa,KQa,lp,iK,sd,Sk,jp,od,iK,BBa,DK,XAa,SAa,gBa,HAa,Wda,AAa,pAa,uBa,YV,bva,sra,Sb,doa,Qqa,Vla,f$a,kpa,X_a,kra,RL,n5,Rn,j6,uT,Fi,Nla,Mla,hD,c7,Wk,cra,ah,Vqa,dia,Xha,aha,M_a,B_a,R9,Mha,V9,gE,NE,ME,xR,ML,r5,Qf,wC,pp,iia,Mm,cia,eia,A4,z4,oYa,Qc,aC,Mj,Bi,oL,A4,nd,z4,bD,lUa,nd,nd,aUa,RTa,ITa,HTa,Qc,GTa,ETa,zTa,oTa,nd,gTa,G3,oL,aC,v3,rSa,QK,QSa,ISa,ASa,ySa,sSa,nd,oL,kSa,G3,wSa,TSa,Yb,FTa,ZK,KSa,JSa,HSa,GSa,C3,FSa,ESa,DSa,CSa,BSa,zSa,uSa,vSa,tSa,w3,Ow,lea,Fp,iSa,hSa,gSa,fSa,eSa,cSa,bSa,aSa,$Ra,_Ra,gQa,_Pa,POa,l2,NOa,LOa,KOa,JOa,IOa,BOa,jOa,XJ,ZNa,XNa,WNa,VNa,SNa,LNa,BNa,QJ,Sq,bNa,we,UMa,EMa,wMa,pMa,lMa,jMa,$La,_La,XLa,WLa,we,VLa,TLa,ILa,HLa,GLa,FLa,DLa,we,yLa,uLa,lLa,cLa,$Ka,VKa,NKa,EKa,DKa,yKa,sKa,qKa,jKa,$Ja,WJa,QJa,MJa,UEa,dFa,hFa,rFa,yFa,GFa,NFa,JEa,IEa,GEa,vEa,nEa,gEa,bEa,XDa,ODa,FDa,wDa,mDa,cDa,WCa,LCa,DCa,tCa,iCa,aCa,UBa,NBa,KBa,IBa,LEa,IJa,DJa,rJa,hJa,aJa,WIa,GIa,xIa,oIa,dIa,UHa,LHa,EHa,eHa,XGa,PGa,FGa,uGa,Qc,jGa,_za,Pza,Dza,we,eza,aza,$ya,Wya,Sya,Rya,Hya,Gya,Cya,Bya,xya,wya,sya,mya,we,gya,eya,Zxa,Txa,Nxa,Kxa,Gxa,zxa,txa,sxa,Oua,Pua,Qua,Rua,Sua,Tua,Xua,Kua,Jua,Hua,Gua,Eua,vua,sua,iua,aua,Vta,Lta,Bta,rta,gta,Ysa,Osa,Esa,Dsa,Asa,tsa,qsa,isa,Zra,ava,Ora,Dra,Lua,qxa,pxa,SX,lxa,kxa,jxa,exa,axa,$wa,Twa,Rwa,Qwa,Pwa,Owa,Nwa,Lwa,Gwa,ywa,Yva,Pva,Gva,BW,qva,lva,iV,upa,S,Bqa,moa,jf,Toa,rU,aw,Db,Tb,gq,$la,qja,hja,gja,cja,Yia,jha,sha,ufa,pfa,Bi,taa,waa,vaa,uaa,Dea,Aea,zea,tea,sea,oea,nea,mea,kea,jea,iea,gea,dea,$da,Xda,Vda,Uda,Tda,Sda,Qda,Nda,Gda,Fda,Eda,Dda,Bda,sda,mda,gda,cda,_ca,Vca,Sca,Kca,Hca,Bca,Bi,Mj,saa,Y9,Z9,_9,W9,nd,rba,aca,we,X9,$9,caa,daa,T9,Bi,Q9,P9,O9,N9,M9,L9,K9,J9,I9,H9,F9,E9,D9,C9,B9,A9,z9,y9,v9,u9,t9,s9,r9,q9,p9,o9,n9,m9,l9,j9,i9,h9,e9,d9,c9,g9,b9,a9,$8,_8,Z8,Y8,X8,W8,O8,U8,T8,S8,Q8,M8,L8,K8,J8,H8,G8,F8,E8,D8,C8,B8,A8,y8,x8,we,w8,v8,u8,we,yPa,r8,q8,p8,o8,n8,m8,l8,k8,j8,i8,h8,g8,f8,$7,we,e8,d8,c8,a8,T7,_7,Z7,Y7,X7,W7,U7,Fw,AI,rBa,gAa,iK,S7,R7,O7,M7,K7,J7,BM,I7,G7,E7,D7,C7,B7,A7,z7,y7,x7,v7,t7,s7,r7,q7,p7,o7,n7,m7,k7,j7,i7,h7,g7,f7,e7,d7,b7,a7,$6,_6,Z6,Y6,X6,W6,V6,U6,T6,S6,R6,e6,f6,g6,c6,b6,d6,$5,_5,a6,Y5,u3a,Z5,s3a,r3a,t3a,Y2a,K5,C5,V1a,T1a,U1a,R1a,Q1a,S1a,Yt,h6,S4,jC,RXa,QXa,PXa,y4,pXa,x4,OXa,NXa,MXa,oXa,nXa,mXa,y4,LXa,x4,KXa,JXa,w4,lXa,v4,kXa,jXa,w4,IXa,v4,HXa,GXa,iXa,hXa,gXa,fXa,eXa,GZa,FZa,EZa,DZa,CZa,BZa,QZa,PZa,OZa,NZa,MZa,LZa,zZa,AZa,xZa,yZa,wZa,uZa,vZa,tZa,rZa,sZa,qZa,pZa,nZa,oZa,mZa,lZa,iZa,jZa,hZa,fZa,gZa,dZa,eZa,cZa,r$a,s$a,M4,M4,$0a,Z0a,Y0a,X0a,W0a,V0a,U0a,ip,T0a,wL,S0a,ar,Q0a,Q4,P0a,ip,O0a,N0a,P4,ip,M0a,wL,L0a,$q,J0a,hp,I0a,$q,H0a,wL,G0a,hC,F0a,gC,E0a,ip,Lm,$q,D0a,vL,B0a,A0a,z0a,hp,y0a,ar,x0a,vL,w0a,vL,v0a,u0a,t0a,hp,r0a,q0a,p0a,o0a,m0a,n0a,ob,we,i0a,we,l0a,Qc,we,VQa,eRa,nPa,ePa,k0a,bZa,$_a,L4,aZa,__a,K4,_Ya,Z_a,J4,ZYa,H4,I4,YYa,Y_a,x$a,XYa,W_a,w$a,WYa,V_a,v$a,VYa,U_a,L4,UYa,T_a,K4,TYa,S_a,J4,SYa,H4,I4,RYa,R_a,u$a,QYa,Q_a,t$a,B4,P_a,B4,O_a,k$a,e$a,j$a,d$a,i$a,c$a,h$a,b$a,g$a,a$a,F$a,G$a,C$a,D$a,B$a,z$a,A$a,M$a,N$a,L$a,K$a,J$a,I$a,H$a,O$a,h0a,c0a,g0a,f0a,e0a,d0a,b0a,a0a,$$a,Z$a,Y$a,X$a,V$a,T$a,W$a,U$a,S$a,R$a,Q$a,f_a,o_a,n_a,m_a,e_a,b_a,l_a,k_a,d_a,a_a,_Za,j_a,h_a,i_a,g_a,WZa,XZa,VZa,N_a,L_a,K_a,J_a,I_a,H_a,G_a,E_a,F_a,C_a,A_a,D_a,z_a,y_a,v_a,x_a,u_a,w_a,t_a,PYa,OYa,NYa,MYa,LYa,KYa,JYa,IYa,HYa,GYa,FYa,EYa,DYa,CYa,BYa,AYa,zYa,yYa,xYa,wYa,vYa,uYa,tYa,sYa,rYa,qYa,pYa,nYa,mYa,lYa,Ce,q$a,p$a,o$a,n$a,kYa,jYa,iYa,hYa,gYa,m$a,l$a,YWa,ZWa,cXa,dXa,aXa,bXa,_Wa,$Wa,jVa,bTa,dTa,iTa,OSa,fTa,hTa,H3,VSa,uTa,vTa,XSa,cTa,ATa,NSa,SSa,USa,qTa,RSa,rTa,pTa,mTa,lTa,MSa,LSa,xSa,eTa,wTa,BTa,yTa,DTa,CTa,tTa,sTa,aTa,kTa,jTa,PSa,WSa,ZSa,we,YSa,_Sa,nTa,$Sa,xTa,x9,Kl,QRa,OOa,_Na,VMa,YLa,ELa,zKa,sJa,PHa,kGa,MEa,GDa,VBa,pBa,Eza,Kl,Kl,Kl,Kl,Kl,Kl,Kl,Kl,Kl,Kl,I8,z8,kC,q1a,g1a,_0a,R0a,K0a,C0a,s0a,wp,j0a,_$a,P$a,E$a,y$a,Mj,kZa,$Ya,Mt,RWa,HUa,wUa,SFa,HBa,FBa,x1a,w1a,v1a,u1a,l1a,s1a,t1a,r1a,p1a,o1a,n1a,m1a,k1a,j1a,Mj,i1a,a1a,f1a,h1a,e1a,d1a,c1a,b1a,XC,fYa,eYa,dYa,FXa,EXa,DXa,cYa,bYa,aYa,CXa,BXa,AXa,$Xa,_Xa,ZXa,YXa,XXa,zXa,yXa,xXa,wXa,vXa,WXa,VXa,UXa,TXa,SXa,uXa,tXa,sXa,rXa,qXa,KZa,JZa,IZa,HZa,UZa,TZa,SZa,RZa,Jm,Q4,YVa,kVa,JTa,Ln,hC,vWa,BVa,iUa,TB,N3,zWa,FVa,nUa,TB,N3,sWa,yVa,fUa,Sw,gC,yWa,EVa,mUa,fp,OUa,$Va,nVa,MTa,VB,P3,AWa,GVa,oUa,Sw,gC,fWa,rVa,TTa,Jm,UUa,wWa,CVa,jUa,Jm,PUa,aWa,oVa,NTa,UB,ip,BWa,HVa,pUa,fVa,TUa,uWa,AVa,hUa,Ln,cL,VWa,fL,KUa,Jt,ar,UWa,Uw,JUa,fp,hp,XWa,XVa,MUa,Jt,ar,bWa,Uw,OTa,Jt,ar,dWa,Uw,QTa,Ln,cL,iWa,fL,WTa,Ln,cL,hWa,fL,VTa,fp,hp,jWa,sVa,XTa,Jt,ar,gWa,Uw,UTa,Q3,WUa,CWa,IVa,qUa,Sw,gC,ZVa,lVa,KTa,Jt,ar,DWa,Uw,rUa,Q3,XUa,EWa,JVa,sUa,fp,hp,tWa,zVa,gUa,Jm,NUa,_Va,mVa,LTa,Sw,VUa,xWa,DVa,kUa,iVa,dVa,WWa,WVa,LUa,eVa,QUa,cWa,pVa,PTa,UB,ip,eWa,qVa,STa,Ln,SUa,pWa,vVa,cUa,Jm,M3,oWa,R3,bUa,Jm,$q,rWa,xVa,eUa,Ln,hC,qWa,wVa,dUa,Ln,hC,KWa,OVa,zUa,VB,P3,QWa,TVa,FUa,Ln,RUa,nWa,uVa,$Ta,UB,ip,mWa,tVa,_Ta,Jm,$q,SWa,UVa,GUa,gVa,YUa,GWa,LVa,uUa,TB,bVa,PWa,SVa,DUa,VB,_Ua,LWa,PVa,AUa,Jm,M3,lWa,R3,ZTa,fp,hp,kWa,S3,YTa,fp,hp,JWa,S3,yUa,Jm,$q,IWa,NVa,xUa,TB,ZUa,HWa,MVa,vUa,UB,ip,W3,OWa,EUa,fp,aVa,NWa,RVa,CUa,Jm,$q,FWa,KVa,tUa,hVa,cVa,TWa,VVa,IUa,Sw,$Ua,MWa,QVa,BUa,s_a,r_a,q_a,p_a,c_a,$Za,ZZa,YZa,Bi,Bi,k9,F7,L7,N7,P7,s8,N8,R8,P8,f9,V8,U9,u7,S9,Q6,P6,O6,N6,M6,L6,K6,J6,I6,H6,iM,bx,G6,F6,E6,D6,C6,B6,A6,z6,y6,bx,x6,w6,v6,u6,gM,t6,s6,r6,q6,p6,fM,bx,o6,n6,m6,eM,fM,bx,l6,k6,i6,eM,q3a,p3a,o3a,n3a,m3a,l3a,U5,k3a,j3a,i3a,h3a,g3a,f3a,e3a,d3a,Tt,c3a,T5,b3a,Tt,a3a,U5,$2a,_2a,Z2a,X2a,W2a,V2a,U2a,T2a,S2a,R2a,we,Q2a,P2a,O2a,we,N2a,M2a,L2a,K2a,J2a,I2a,xC,H2a,G2a,F2a,T5,E2a,D2a,C2a,iM,B2a,A2a,z2a,y2a,VL,xC,M5,x2a,L5,xC,M5,w2a,L5,v2a,u2a,t2a,s2a,r2a,q2a,xC,p2a,o2a,n2a,gM,m2a,l2a,k2a,j2a,i2a,h2a,g2a,f2a,e2a,d2a,c2a,b2a,a2a,$1a,Lm,Lm,_1a,Z1a,Y1a,X1a,W1a,P1a,O1a,N1a,a5,M1a,L1a,K1a,J1a,I1a,H1a,G1a,F1a,E1a,D1a,C1a,B1a,A1a,z1a,y1a,qSa,pSa,Nw,oSa,nSa,mSa,lSa,PK,jSa,gb,$a,ZRa,PRa,I2,LRa,D2,C2,FRa,Qc,DRa,ERa,BRa,CRa,ARa,zRa,yRa,xRa,wRa,vRa,uRa,tRa,sRa,rRa,qRa,oRa,nRa,mRa,lRa,kRa,jRa,iRa,hRa,gRa,fRa,dRa,cRa,bRa,aRa,$Qa,_Qa,ZQa,YQa,XQa,WQa,UQa,TQa,SQa,RQa,QQa,PQa,OQa,NQa,MQa,LQa,JQa,IQa,HQa,GQa,FQa,EQa,DQa,CQa,BQa,AQa,zQa,yQa,xQa,wQa,vQa,uQa,tQa,sQa,rQa,qQa,pQa,oQa,nQa,mQa,lQa,kQa,jQa,iQa,hQa,fQa,eQa,dQa,cQa,bQa,aQa,$Pa,ZPa,YPa,XPa,WPa,B2,HPa,VPa,UPa,TPa,SPa,RPa,Mj,Mj,Mj,QPa,OPa,B2,GPa,Lm,JRa,IRa,HRa,Zm,FPa,GRa,EPa,DPa,NPa,CPa,BPa,APa,zPa,xPa,KPa,wPa,vPa,JPa,uPa,MPa,LPa,tPa,sPa,rPa,qPa,pPa,oPa,mPa,lPa,kPa,jPa,iPa,hPa,gPa,fPa,MRa,dPa,NRa,cPa,ORa,bPa,aPa,$Oa,ZOa,YOa,gK,_Oa,vg,sd,nh,raa,nh,nh,nh,nh,nh,nh,nh,XOa,WOa,VOa,UOa,TOa,SOa,ROa,QOa,MOa,HOa,GOa,FOa,EOa,DOa,COa,AOa,zOa,yOa,xOa,wOa,vOa,uOa,tOa,sOa,rOa,qOa,pOa,oOa,nOa,vg,sd,vg,sd,mOa,lOa,kOa,iOa,eOa,dOa,hOa,x1,gOa,fOa,cOa,bOa,aOa,$Na,Vo,YNa,vg,sd,we,we,k1,UNa,SJ,TNa,j1,RNa,QNa,PNa,RJ,NNa,MNa,e1,JNa,Zm,aNa,qNa,a1,rNa,$Ma,_Ma,ZMa,YMa,XMa,we,KNa,INa,HNa,GNa,FNa,ENa,DNa,CNa,ANa,zNa,xNa,uNa,tNa,d1,d1,pNa,oNa,nNa,mNa,lNa,kNa,jNa,iNa,gNa,hNa,fNa,wNa,vNa,yNa,sNa,c1,eNa,b1,dNa,cNa,ONa,$0,WMa,QMa,PMa,OMa,KMa,JMa,IMa,HMa,CMa,xMa,vMa,MMa,LMa,uMa,NMa,TMa,SMa,RMa,GMa,FMa,DMa,BMa,AMa,zMa,yMa,tMa,sMa,rMa,qMa,oMa,M0,kMa,iMa,hMa,gK,gMa,fMa,eMa,cMa,bMa,dMa,JJ,aMa,gK,mMa,nMa,ULa,zJ,lt,SLa,RLa,QLa,PLa,OLa,NLa,MLa,LLa,KLa,JLa,CLa,BLa,ALa,zLa,vLa,tLa,sLa,sJ,rLa,qLa,pLa,oLa,rJ,qJ,nLa,mLa,pJ,kLa,jLa,iLa,hLa,gLa,fLa,W$,eLa,dLa,bLa,aLa,_Ka,ZKa,YKa,UKa,TKa,XKa,WKa,R$,Q$,P$,k0,Y$,Y$,O$,Bi,Mj,SKa,N$,RKa,QKa,PKa,OKa,MKa,LKa,KKa,$Fa,M$,CKa,JKa,IKa,we,HKa,GKa,FKa,BKa,AKa,xKa,wKa,vKa,uKa,tKa,rKa,D$,B$,A$,z$,pKa,oKa,B$,nKa,mKa,UJa,we,lKa,ZJa,YJa,XJa,VJa,TJa,kKa,u$,iKa,hKa,gKa,OJa,NJa,et,fJ,LJa,h$,JJa,e$,SJa,RJa,n$,hJ,fKa,eKa,dKa,cKa,bKa,aKa,_Ja,HJa,PJa,KJa,GJa,FJa,EJa,CJa,BJa,AJa,zJa,yJa,xJa,wJa,vJa,uJa,tJa,qJa,pJa,oJa,nJa,mJa,lJa,kJa,jJa,iJa,gJa,fJa,eJa,dJa,_I,we,cJa,rIa,sIa,wIa,yIa,tIa,uIa,zIa,bJa,ZIa,AIa,vIa,_D,Z_,$Ia,Y_,X_,nd,W_,_Ia,xLa,wLa,XIa,VIa,U_,TIa,SIa,UIa,OIa,NIa,PIa,RIa,QIa,ow,YIa,V_,MIa,LIa,KIa,JIa,IIa,HIa,FIa,EIa,DIa,CIa,BIa,_I,we,qIa,rHa,qHa,uHa,vHa,sHa,D_,pIa,u$,nIa,tHa,E_,mIa,lIa,kIa,jIa,iIa,hIa,gIa,fIa,OHa,NHa,eIa,cIa,bIa,aIa,$Ha,_Ha,ZHa,YHa,XHa,WHa,VHa,THa,QHa,L_,O_,M_,N_,SHa,RHa,HHa,MHa,I_,KHa,JHa,IHa,YI,GHa,FHa,DHa,CHa,BHa,AHa,zHa,yHa,xHa,wHa,_I,we,pHa,cHa,dHa,gHa,hHa,iHa,D_,bHa,fHa,oHa,nHa,mHa,lHa,kHa,jHa,C_,aHa,$Ga,_Ga,fd,ZGa,TGa,UGa,SGa,RGa,QGa,YGa,WGa,B_,VGa,OGa,NGa,MGa,LGa,KGa,W$,JGa,IGa,CGa,we,HGa,EGa,DGa,BGa,yGa,xGa,wGa,vGa,AGa,zGa,Z_,GGa,_D,Y_,X_,nd,W_,tGa,sGa,rGa,qGa,pGa,oGa,nGa,mGa,lGa,iGa,hGa,gGa,fGa,eGa,Qc,we,dGa,cGa,PA,bGa,aGa,_Fa,ZFa,YFa,XFa,WFa,VFa,I_,UFa,TFa,RFa,PFa,QFa,OFa,DFa,we,MFa,VI,JFa,HFa,IFa,FFa,EFa,Po,LFa,t_,KFa,tFa,TI,s_,TI,mw,CFa,BFa,AFa,zFa,OA,mFa,lFa,nFa,kFa,eFa,cFa,bFa,r_,TI,mw,xFa,wFa,vFa,uFa,OA,OEa,NEa,oFa,pFa,sFa,qFa,jFa,iFa,gFa,fFa,V_,REa,aFa,$Ea,_Ea,ZEa,YEa,XEa,WEa,VEa,TEa,SEa,YI,QEa,PEa,EEa,f_,FEa,DEa,CEa,BEa,AEa,HEa,xEa,wEa,uEa,zEa,yEa,hEa,tEa,sEa,rEa,qEa,pEa,oEa,mEa,lEa,kEa,jEa,PI,iEa,fEa,eEa,R$,Q$,P$,cEa,aEa,$Da,_Da,we,ZDa,YDa,Bi,WDa,VDa,O$,Bi,Mj,dEa,N$,PDa,NDa,PZ,EDa,DDa,CDa,UDa,ADa,zDa,nDa,tDa,xDa,sDa,rDa,vDa,uDa,kDa,pDa,qDa,yDa,dCa,FA,JDa,jDa,BDa,oDa,hCa,gCa,fCa,eCa,WBa,_Ba,TBa,ZBa,CZ,YBa,XBa,lDa,zl,TDa,SDa,RDa,QDa,MDa,LDa,KDa,NI,jCa,IDa,HDa,OZ,zJ,mCa,ZLa,gk,iDa,hDa,gDa,fDa,eDa,dDa,bDa,aDa,$Ca,_Ca,ZCa,YCa,XCa,VCa,UCa,TCa,SCa,RCa,QCa,PCa,OCa,NCa,MCa,KCa,JCa,ICa,KZ,HCa,GCa,FCa,ECa,KZ,CCa,BCa,ACa,zCa,yCa,xCa,Lm,wCa,vCa,uCa,sCa,rCa,qCa,pCa,oCa,nCa,YI,lCa,kCa,cCa,bCa,$Ba,OZ,zJ,SBa,RBa,QBa,PBa,OBa,MBa,LBa,Xh,JBa,Si,EBa,GBa,DBa,vBa,tBa,CBa,zBa,ABa,yBa,xBa,sBa,qBa,oBa,nBa,xI,aZ,mBa,lBa,kBa,jBa,iBa,hBa,fBa,eBa,dBa,cBa,bBa,aBa,$Aa,_Aa,ZAa,YAa,_Y,ZY,uI,WAa,VAa,UAa,bza,_Y,ZY,sI,OAa,PAa,NAa,TAa,YY,tI,RAa,QAa,KAa,JAa,MAa,LAa,IAa,GAa,cza,ew,XY,FAa,EAa,DAa,rI,WY,CAa,BAa,zAa,yAa,YY,xAa,wAa,vAa,uAa,tAa,sAa,rAa,qAa,oAa,nAa,qI,mAa,lAa,kAa,jAa,iAa,hAa,fAa,eAa,dAa,cAa,bAa,aAa,VY,$za,Zza,Yza,Xza,Wza,Vza,Uza,Tza,Sza,Rza,Qza,Oza,Nza,Mza,Lza,Kza,Jza,Iza,Hza,Gza,Fza,Cza,Bza,TY,Aza,zza,yza,xza,wza,vza,uza,tza,TY,sza,rza,qza,pza,oza,nza,mza,lza,kza,jza,iza,QY,fd,hza,gza,fza,dza,_ya,Zya,Vya,Uya,Yya,Xya,Tya,Qya,Lm,Pya,Oya,Nya,Mya,Lya,Fya,M$,AY,Kya,Jya,vg,sd,D2,C2,Eya,Dya,Aya,zya,rY,yya,vya,lY,uya,tya,bya,aya,$xa,_xa,Gp,cya,pya,oya,hY,nya,lya,kya,rya,qya,jya,iya,hya,fya,wxa,vxa,uxa,nd,Mj,Mj,Jxa,Lxa,Bxa,Yxa,Dxa,iA,Uxa,Vxa,Wxa,Xxa,Qxa,Rxa,NH,Cxa,Hxa,Ixa,Mxa,Oxa,fd,Pxa,Sxa,Exa,Fxa,nxa,mxa,Bi,oxa,dya,ixa,hxa,gxa,fxa,dxa,cxa,bxa,Wd,Sd,Qc,Axa,yxa,xxa,Jv,rH,_wa,wX,Zwa,Ywa,Xwa,Wwa,Vwa,Lm,Uwa,Swa,Mwa,PW,Kwa,Jwa,Iwa,Hwa,Qc,zwa,Awa,Fwa,Ewa,Dwa,Cwa,Bwa,Qc,gt,gt,iwa,MW,xwa,Qc,nd,zva,Qc,nd,nd,Qc,Vpa,yva,wwa,vwa,Upa,Tpa,Spa,uwa,twa,kwa,JW,swa,fd,rwa,qwa,fd,pwa,fd,fd,fd,owa,nwa,fd,mwa,lwa,fd,fd,fd,fd,fd,jwa,fd,fd,fd,fd,fd,fd,fd,xva,fd,fd,hwa,gwa,fwa,wva,$va,EW,Nva,EW,Kva,Jva,Bi,fd,Hva,Iva,vva,fd,Lva,fd,vv,fd,Fva,Rpa,Eva,Qpa,Cva,uva,JW,fd,Bi,tva,Ava,Bi,CW,fd,fd,nd,nd,nd,nd,nd,Qc,nd,nd,Qc,sva,ewa,dwa,cwa,bwa,awa,_va,Zva,Xva,Wva,Vva,Uva,Tva,Sva,Rva,Qva,Ova,rva,Mva,Dva,Bva,CW,Ds,pva,ova,nva,mva,kva,jva,iva,hva,gva,vg,sd,fva,eva,dva,cva,$ua,_ua,Zua,Yua,Wua,Vua,uW,Uua,Nua,Mua,nd,Qc,Qc,Qc,Qc,Qc,Qc,Qc,Qc,Qc,Qc,Qc,vg,sd,Qc,nd,sd,nd,sd,nd,sd,nd,sd,nd,sd,nd,sd,nd,sd,nd,sd,nd,sd,nd,Iua,PK,aC,PK,Fua,Dua,Cua,ov,Qc,Bua,Cpa,Aua,zua,Ipa,Hpa,Gpa,Fpa,xua,Bpa,Epa,yua,wua,vg,uua,Qc,Bi,qH,vg,sd,gua,nv,tua,nd,rua,qua,fua,Qc,pua,eua,sd,dua,fn,oua,cua,nua,mua,bua,vo,lua,$ta,kua,jua,_ta,kq,hua,Zta,Yta,Xta,Wta,Uta,Tta,Sta,Rta,Qta,Pta,Ota,Nta,Mta,IV,Kta,Jta,Ita,Hta,Gta,Fta,Eta,Dta,Cta,Ata,zta,yta,xta,wta,vta,uta,tta,sta,qta,pta,ota,nta,mta,lta,kta,jta,ita,hta,fta,eta,dta,cta,bta,GV,ata,$sa,_sa,Zsa,Xsa,Wsa,Vsa,Usa,Tsa,Ssa,Rsa,Qsa,Psa,Nsa,Msa,PG,Lsa,Ksa,Jsa,Isa,Hsa,Gsa,Fsa,aC,Csa,nh,Qc,Qc,yV,Bsa,zsa,ysa,wV,xsa,nd,vsa,wsa,usa,vg,sd,rsa,Qc,uV,tV,sV,nd,EG,ssa,Qc,sd,psa,nd,uV,tV,sV,nd,EG,sd,osa,fn,nsa,iq,rV,vo,qV,sd,msa,vo,lsa,iq,rV,vo,qV,sd,ksa,kq,jsa,hsa,gsa,kq,fsa,sd,esa,AG,dsa,csa,bsa,vo,asa,$ra,_ra,Yra,Xra,zG,Wra,Vra,Ura,Zm,Tra,Sra,Rra,Qra,Pra,yG,Nra,Mra,Lra,nd,EG,Kra,Jra,Ira,Hra,xG,Gra,Fra,Era,nd,Cra,wBa,Bra,Ara,zra,wG,yra,xra,wra,Zm,vra,e1,ura,tra,rra,ov,qra,pra,ora,Qc,fd,nra,mra,lra,jra,ira,hra,gra,nh,fra,era,dra,bra,ara,$qa,_qa,Zqa,Yqa,Xqa,Wqa,Uqa,Tqa,Sqa,Rqa,iU,Fna,Nqa,Mqa,Qc,YU,Lqa,nd,Kqa,Jqa,fn,Iqa,Hqa,vo,WU,Gqa,Fqa,xG,Eqa,VU,Dqa,Cqa,Aqa,gt,to,zqa,yqa,xqa,wqa,wG,vqa,kG,uqa,tqa,gt,to,sqa,rqa,qqa,Zpa,Qc,pqa,oqa,Ypa,nd,nqa,mqa,wp,fn,lqa,kqa,wp,vo,jqa,iqa,wp,kq,hqa,gqa,Xpa,AG,fqa,eqa,wp,zG,dqa,cqa,wp,yG,bqa,aqa,Wpa,xG,$pa,_pa,wp,wG,zU,Ppa,Opa,Npa,Mpa,Lpa,Kpa,RT,Zm,KEa,r5,bN,Jpa,Dpa,nh,we,az,vg,vg,DK,Qc,Qc,vg,nh,Apa,zpa,ypa,Qc,wpa,Rna,Qna,vpa,Pna,tpa,xpa,IA,spa,rpa,qpa,ppa,ov,npa,we,Ona,Nna,mpa,Mna,lpa,opa,IA,jpa,ipa,hpa,Lna,nd,we,fpa,epa,dpa,Kna,cpa,gpa,bpa,apa,$oa,_oa,Zoa,nd,Yoa,Jna,Xoa,Woa,sU,Voa,Uoa,Soa,fn,Roa,Ina,Qoa,Poa,sU,Ooa,Noa,Moa,vo,Hoa,Loa,Koa,Joa,Ioa,Goa,to,Foa,Eoa,Doa,kq,Coa,Hna,Gna,Boa,Aoa,to,zoa,yoa,xoa,AG,woa,voa,uoa,toa,soa,to,qU,roa,qoa,zG,poa,ooa,noa,loa,koa,joa,to,ioa,hoa,goa,yG,foa,eoa,coa,boa,aoa,$na,to,_na,Zna,Yna,ov,we,nv,nv,Mj,gt,Lm,Xna,Wna,Vna,ov,Una,Tna,Sna,gt,to,eU,Ena,Dna,nh,Qc,Qc,Qc,Qc,Qc,Qc,Lm,Qc,Zm,qH,Cna,Bna,nd,Ana,zna,yna,xna,nd,wna,vna,una,nd,tna,sna,rna,nd,qna,pna,ona,nd,nna,XT,mna,nd,lna,kna,jna,ina,nd,hna,gna,fna,cna,bna,ana,nd,ena,dna,$ma,_ma,Zma,Yma,Xma,Wma,Vma,Uma,Tma,Sma,Qc,Rma,Qma,Pma,Oma,Nma,Mma,Lma,Kma,Jma,Qc,Ima,Hma,Gma,Fma,nd,Ema,Dma,Cma,Bma,Ama,zma,yma,fd,xma,wma,vma,uma,tma,sma,rma,qma,pma,oma,Ex,FD,kP,jP,nma,mma,fd,nP,lma,kma,Qc,Qc,Jda,jma,Ida,ima,Hda,hma,gma,_la,Zla,Yla,Xla,Wla,fma,ema,dma,cma,bma,ama,Dx,DD,aP,$O,vg,sd,Ula,Qc,Qla,Pla,Tla,nd,Ola,MF,Sla,MF,Rla,MF,Lm,Lla,Kla,Jla,Ila,we,fn,Hla,Gla,Fla,Ela,Dla,Cla,Bla,Ala,zla,yla,Ky,Jy,xla,yF,wla,vla,sla,rla,Bi,Bi,ula,tla,yF,tT,nh,ila,hla,Zm,gla,nla,mla,qla,ola,pla,rT,lla,jla,kla,fla,ela,bla,dla,Zm,ala,we,DK,cla,wF,$ka,_ka,Zka,Yka,Xka,mT,Vka,lT,Wka,bT,Uka,Qka,Pka,Tka,Ska,XC,Rka,Ru,fd,uF,fd,Oka,Nka,Mka,Lka,Kka,Jka,Ru,Ika,Hka,Gka,fm,tF,fm,tF,Fka,Eka,Dka,fd,Cka,fd,cs,qF,pF,oF,QS,PS,OS,NS,Bka,Aka,zka,yka,xka,wka,GS,vka,uka,tka,cs,mF,lF,kF,ska,rka,qka,pka,oka,nka,mka,lka,kka,jka,gka,fka,ika,hka,eka,dka,GS,fd,cka,fd,$ja,_ja,Zja,Yja,iF,pS,oS,nS,hF,Xja,Wja,Vja,Uja,kS,Tja,Ija,Sja,Oja,Nja,Mj,Mj,fd,fd,Bi,Pja,vv,wia,Qja,Kja,Lja,Jja,Mja,bka,aka,Rja,Hja,Gja,cs,mF,lF,kF,aS,Fja,Eja,Dja,cs,qF,pF,oF,Bja,wja,uja,xja,_R,Aja,tja,xia,ny,ny,zja,yja,sja,rja,vja,pja,oja,nja,mja,RR,lja,kja,jja,ija,eja,dja,bja,aja,$ia,fja,vv,_ia,fd,Zia,fd,bc,tF,Wia,Via,Xia,Uia,Tia,cs,mF,lF,kF,DR,Sia,CR,Ria,Qia,Pia,iF,pS,oS,nS,Oia,Nia,Mia,fd,Lia,fd,CR,fd,Kia,fd,Du,AR,yR,Jia,Iia,Hia,Gia,Fia,Eia,Dia,Cia,Bia,Aia,zia,yia,AR,Cja,via,wR,wR,uia,fd,tia,fd,cs,qF,pF,oF,Ru,fd,uF,fd,hF,sia,ria,qia,Ru,fd,uF,fd,pia,oia,iF,nia,mia,lia,hia,kia,jia,gia,fia,bia,$ha,aia,Wha,Vha,Uha,Tha,Bha,_ha,nh,Qc,Sha,Zha,Yha,iha,$ga,_ga,mha,Aha,zha,yha,Kha,Iha,Jha,Hha,Gha,Fha,Eha,Lha,Dha,Cha,jR,gR,fn,Zga,kha,rha,qha,Yga,Pqa,Oqa,a1,lha,xha,wha,vha,uha,tha,jR,gR,hha,gha,nha,Oha,Nha,fha,eha,dha,cha,pha,Rha,Qha,oha,bha,Pha,Xga,Wga,Vga,Uga,Tga,Sga,Rga,Qga,Pga,Oga,Nga,Mga,Lga,tga,fy,KQ,Iga,Fga,Qc,nd,Dga,Cga,Hga,Bga,Aga,zga,yga,xga,Ega,wga,vv,vv,fd,rE,vga,Gga,fy,nh,Qc,KQ,Kga,uga,nd,qga,pga,Jga,nga,mga,lga,kga,jga,sga,iga,oga,rga,hga,gga,fga,ega,dga,cga,bga,aga,$fa,_fa,Zfa,mT,Sfa,Rfa,Tfa,Yfa,Xfa,rE,ny,Afa,zfa,Bfa,Cfa,Ufa,Wfa,yfa,vfa,Vfa,IA,xfa,wfa,vg,nh,ru,nh,rE,ny,Pfa,Ofa,az,Mfa,Lfa,Ifa,Hfa,Jfa,Kfa,Gfa,Efa,Nfa,IA,Ffa,jE,Dfa,Yx,sd,Qfa,afa,$ea,_ea,Zea,tfa,efa,dfa,rfa,cfa,qfa,ofa,nfa,lfa,jfa,ifa,hfa,gfa,ffa,bfa,sfa,nh,mfa,kfa,Ru,Yea,Xea,Wea,hF,fd,Vea,fd,Tea,Sea,Rea,Qea,nQ,Uea,Pea,kQ,Oea,Nea,RR,Mea,Lea,Kea,kQ,Jea,Iea,Hea,Gea,Fea,Eea,QS,PS,OS,NS,Cea,Bea,gQ,fQ,gQ,fQ,yea,xea,wea,vea,uea,Jy,Jy,Jy,yF,rea,qea,aea,Yda,Zda,_da,Qc,hea,fea,eea,cea,bea,HD,Rda,Fe,GD,Pda,fd,nP,mP,lP,Qc,Qc,Oda,nv,Mda,Tt,Lda,Tt,Nh,Kda,mP,lP,nv,Tt,Tt,Ex,FD,kP,jP,Dx,DD,aP,$O,Er,Cda,tda,xda,wda,vda,uda,Ada,zda,yda,zD,VO,rda,qda,yD,UO,pda,oda,we,Tba,Rba,Zaa,Xaa,Vaa,Taa,Raa,Paa,Naa,Laa,Jaa,Haa,Faa,Daa,Baa,zaa,TN,Uba,Sba,QN,Fba,Eba,Dba,Cba,Bba,az,Aba,zba,yba,XN,wba,vba,uba,tba,sba,Qc,qba,pba,MN,iba,gba,fba,eba,cba,aba,LN,hba,RT,Zm,dba,bba,$aa,vg,sd,sd,Qba,Pba,Oba,Nba,Mba,Lba,Kba,Jba,az,Iba,Hba,Gba,sd,PN,PN,mD,nd,nd,xba,nd,sd,oba,nba,mD,Qc,Qc,mba,kq,sd,lba,kba,mD,Qc,Qc,jba,kq,vg,sd,lda,kda,jda,vg,sd,ida,hda,fda,sd,eda,dda,bda,ada,IO,IO,$ca,Zca,Yca,Xca,Wca,sd,Uca,Tca,Rca,Qca,BO,BO,Pca,Oca,Nca,Mca,Lca,sd,Jca,Ica,Gca,Fca,Eca,Dca,Cca,Aca,sd,zca,yca,xca,wca,vca,uca,tca,sca,vg,sd,fn,rca,qca,pca,oca,nca,mca,_aa,Waa,Saa,Gaa,Caa,Oaa,Kaa,vg,sd,fn,lca,kca,jca,ica,hca,gca,Yaa,Uaa,Qaa,Eaa,Aaa,Maa,Iaa,kD,IN,fca,kD,IN,eca,sd,wx,wx,qk,qk,qk,nO,Qc,Yn,Yn,sd,wx,wx,qk,qk,qk,nO,Qc,Yn,Yn,sd,vx,vx,qk,qk,qk,mO,Qc,Yn,Yn,sd,vx,vx,qk,qk,qk,mO,Qc,Yn,Yn,sd,dca,cca,sd,bca,$ba,sd,_ba,Zba,sd,Yba,Xba,sd,VL,Wba,fd,sd,VL,Vba,fd,vg,nh,iD,yaa,xaa,vg,sd,qaa,paa,qH,oaa,vg,sd,we,we,naa,eaa,haa,maa,sd,faa,iaa,laa,sd,gaa,jaa,kaa]);function Ra(){return s.byteLength/65536|0}function Wa(Xa){Xa=Xa|0;var Sa=Ra()|0;var Ta=Sa+Xa|0;if(Sa=endIdx))++endPtr;if(endPtr-idx>16&&heap.subarray&&UTF8Decoder){return UTF8Decoder.decode(heap.subarray(idx,endPtr))}else{var str="";while(idx>10,56320|ch&1023)}}}return str}function UTF8ToString(ptr,maxBytesToRead){return ptr?UTF8ArrayToString(HEAPU8,ptr,maxBytesToRead):""}function stringToUTF8Array(str,heap,outIdx,maxBytesToWrite){if(!(maxBytesToWrite>0))return 0;var startIdx=outIdx;var endIdx=outIdx+maxBytesToWrite-1;for(var i=0;i=55296&&u<=57343){var u1=str.charCodeAt(++i);u=65536+((u&1023)<<10)|u1&1023}if(u<=127){if(outIdx>=endIdx)break;heap[outIdx++]=u}else if(u<=2047){if(outIdx+1>=endIdx)break;heap[outIdx++]=192|u>>6;heap[outIdx++]=128|u&63}else if(u<=65535){if(outIdx+2>=endIdx)break;heap[outIdx++]=224|u>>12;heap[outIdx++]=128|u>>6&63;heap[outIdx++]=128|u&63}else{if(outIdx+3>=endIdx)break;heap[outIdx++]=240|u>>18;heap[outIdx++]=128|u>>12&63;heap[outIdx++]=128|u>>6&63;heap[outIdx++]=128|u&63}}heap[outIdx]=0;return outIdx-startIdx}function lengthBytesUTF8(str){var len=0;for(var i=0;i=55296&&u<=57343)u=65536+((u&1023)<<10)|str.charCodeAt(++i)&1023;if(u<=127)++len;else if(u<=2047)len+=2;else if(u<=65535)len+=3;else len+=4}return len}function allocateUTF8(str){var size=lengthBytesUTF8(str)+1;var ret=_malloc(size);if(ret)stringToUTF8Array(str,HEAP8,ret,size);return ret}function writeArrayToMemory(array,buffer){HEAP8.set(array,buffer)}function writeAsciiToMemory(str,buffer,dontAddNull){for(var i=0;i>0]=str.charCodeAt(i)}if(!dontAddNull)HEAP8[buffer>>0]=0}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 updateGlobalBufferAndViews(buf){buffer=buf;Module["HEAP8"]=HEAP8=new Int8Array(buf);Module["HEAP16"]=HEAP16=new Int16Array(buf);Module["HEAP32"]=HEAP32=new Int32Array(buf);Module["HEAPU8"]=HEAPU8=new Uint8Array(buf);Module["HEAPU16"]=HEAPU16=new Uint16Array(buf);Module["HEAPU32"]=HEAPU32=new Uint32Array(buf);Module["HEAPF32"]=HEAPF32=new Float32Array(buf);Module["HEAPF64"]=HEAPF64=new Float64Array(buf)}var INITIAL_MEMORY=Module["INITIAL_MEMORY"]||16777216;if(Module["wasmMemory"]){wasmMemory=Module["wasmMemory"]}else{wasmMemory=new WebAssembly.Memory({"initial":INITIAL_MEMORY/65536,"maximum":2147483648/65536})}if(wasmMemory){buffer=wasmMemory.buffer}INITIAL_MEMORY=buffer.byteLength;updateGlobalBufferAndViews(buffer);var wasmTable;var __ATPRERUN__=[];var __ATINIT__=[];var __ATPOSTRUN__=[function(){window["AscViewer"] && window["AscViewer"]["onLoadModule"] && window["AscViewer"]["onLoadModule"]();}];var runtimeInitialized=false;var runtimeExited=false;var runtimeKeepaliveCounter=0;function keepRuntimeAlive(){return noExitRuntime||runtimeKeepaliveCounter>0}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 initRuntime(){runtimeInitialized=true;callRuntimeCallbacks(__ATINIT__)}function exitRuntime(){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 addOnInit(cb){__ATINIT__.unshift(cb)}function addOnPostRun(cb){__ATPOSTRUN__.unshift(cb)}var runDependencies=0;var runDependencyWatcher=null;var dependenciesFulfilled=null;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"]={};function abort(what){{if(Module["onAbort"]){Module["onAbort"](what)}}what="Aborted("+what+")";err(what);ABORT=true;EXITSTATUS=1;what+=". Build with -s ASSERTIONS=1 for more info.";var e=new WebAssembly.RuntimeError(what);throw e}var memoryInitializer=getMemoryPathIE("drawingfile.js.mem");var dataURIPrefix="data:application/octet-stream;base64,";function isDataURI(filename){return filename.startsWith(dataURIPrefix)}var wasmBinaryFile;wasmBinaryFile="drawingfile.wasm";if(!isDataURI(wasmBinaryFile)){wasmBinaryFile=locateFile(wasmBinaryFile)}function getBinary(file){try{if(file==wasmBinaryFile&&wasmBinary){return new Uint8Array(wasmBinary)}if(readBinary){return readBinary(file)}else{throw"both async and sync fetching of the wasm failed"}}catch(err){abort(err)}}function getBinaryPromise2(){if(!wasmBinary&&(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)){if(typeof fetch==="function"){return fetch(wasmBinaryFile,{credentials:"same-origin"}).then(function(response){if(!response["ok"]){throw"failed to load wasm binary file at '"+wasmBinaryFile+"'"}return response["arrayBuffer"]()}).catch(function(){return getBinary(wasmBinaryFile)})}}return Promise.resolve().then(function(){return getBinary(wasmBinaryFile)})}function createWasm(){var info={"a":asmLibraryArg};function receiveInstance(instance,module){var exports=instance.exports;Module["asm"]=exports;runMemoryInitializer();wasmTable=Module["asm"]["ca"];addOnInit(Module["asm"]["$"]);removeRunDependency("wasm-instantiate")}addRunDependency("wasm-instantiate");function receiveInstantiationResult(result){receiveInstance(result["instance"])}function instantiateArrayBuffer(receiver){return getBinaryPromise().then(function(binary){return WebAssembly.instantiate(binary,info)}).then(function(instance){return instance}).then(receiver,function(reason){err("failed to asynchronously prepare wasm: "+reason);abort(reason)})}function instantiateAsync(){if(!wasmBinary&&typeof WebAssembly.instantiateStreaming==="function"&&!isDataURI(wasmBinaryFile)&&typeof fetch==="function"){return fetch(wasmBinaryFile,{credentials:"same-origin"}).then(function(response){var result=WebAssembly.instantiateStreaming(response,info);return result.then(receiveInstantiationResult,function(reason){err("wasm streaming compile failed: "+reason);err("falling back to ArrayBuffer instantiation");return instantiateArrayBuffer(receiveInstantiationResult)})})}else{return instantiateArrayBuffer(receiveInstantiationResult)}}if(Module["instantiateWasm"]){try{var exports=Module["instantiateWasm"](info,receiveInstance);return exports}catch(e){err("Module.instantiateWasm callback failed with error: "+e);return false}}instantiateAsync();return{}}function callRuntimeCallbacks(callbacks){while(callbacks.length>0){var callback=callbacks.shift();if(typeof callback=="function"){callback(Module);continue}var func=callback.func;if(typeof func==="number"){if(callback.arg===undefined){wasmTable.get(func)()}else{wasmTable.get(func)(callback.arg)}}else{func(callback.arg===undefined?null:callback.arg)}}}function ___assert_fail(condition,filename,line,func){abort("Assertion failed: "+UTF8ToString(condition)+", at: "+[filename?UTF8ToString(filename):"unknown filename",line,func?UTF8ToString(func):"unknown function"])}var _emscripten_get_now;_emscripten_get_now=function(){return performance.now()};var _emscripten_get_now_is_monotonic=true;function setErrNo(value){HEAP32[___errno_location()>>2]=value;return value}function _clock_gettime(clk_id,tp){var now;if(clk_id===0){now=Date.now()}else if((clk_id===1||clk_id===4)&&_emscripten_get_now_is_monotonic){now=_emscripten_get_now()}else{setErrNo(28);return-1}HEAP32[tp>>2]=now/1e3|0;HEAP32[tp+4>>2]=now%1e3*1e3*1e3|0;return 0}function ___clock_gettime(a0,a1){return _clock_gettime(a0,a1)}function ___cxa_allocate_exception(size){return _malloc(size+16)+16}function ExceptionInfo(excPtr){this.excPtr=excPtr;this.ptr=excPtr-16;this.set_type=function(type){HEAP32[this.ptr+4>>2]=type};this.get_type=function(){return HEAP32[this.ptr+4>>2]};this.set_destructor=function(destructor){HEAP32[this.ptr+8>>2]=destructor};this.get_destructor=function(){return HEAP32[this.ptr+8>>2]};this.set_refcount=function(refcount){HEAP32[this.ptr>>2]=refcount};this.set_caught=function(caught){caught=caught?1:0;HEAP8[this.ptr+12>>0]=caught};this.get_caught=function(){return HEAP8[this.ptr+12>>0]!=0};this.set_rethrown=function(rethrown){rethrown=rethrown?1:0;HEAP8[this.ptr+13>>0]=rethrown};this.get_rethrown=function(){return HEAP8[this.ptr+13>>0]!=0};this.init=function(type,destructor){this.set_type(type);this.set_destructor(destructor);this.set_refcount(0);this.set_caught(false);this.set_rethrown(false)};this.add_ref=function(){var value=HEAP32[this.ptr>>2];HEAP32[this.ptr>>2]=value+1};this.release_ref=function(){var prev=HEAP32[this.ptr>>2];HEAP32[this.ptr>>2]=prev-1;return prev===1}}var exceptionLast=0;var uncaughtExceptionCount=0;function ___cxa_throw(ptr,type,destructor){var info=new ExceptionInfo(ptr);info.init(type,destructor);exceptionLast=ptr;uncaughtExceptionCount++;throw ptr}function _gmtime_r(time,tmPtr){var date=new Date(HEAP32[time>>2]*1e3);HEAP32[tmPtr>>2]=date.getUTCSeconds();HEAP32[tmPtr+4>>2]=date.getUTCMinutes();HEAP32[tmPtr+8>>2]=date.getUTCHours();HEAP32[tmPtr+12>>2]=date.getUTCDate();HEAP32[tmPtr+16>>2]=date.getUTCMonth();HEAP32[tmPtr+20>>2]=date.getUTCFullYear()-1900;HEAP32[tmPtr+24>>2]=date.getUTCDay();HEAP32[tmPtr+36>>2]=0;HEAP32[tmPtr+32>>2]=0;var start=Date.UTC(date.getUTCFullYear(),0,1,0,0,0,0);var yday=(date.getTime()-start)/(1e3*60*60*24)|0;HEAP32[tmPtr+28>>2]=yday;if(!_gmtime_r.GMTString)_gmtime_r.GMTString=allocateUTF8("GMT");HEAP32[tmPtr+40>>2]=_gmtime_r.GMTString;return tmPtr}function ___gmtime_r(a0,a1){return _gmtime_r(a0,a1)}var SYSCALLS={mappings:{},buffers:[null,[],[]],printChar:function(stream,curr){var buffer=SYSCALLS.buffers[stream];if(curr===0||curr===10){(stream===1?out:err)(UTF8ArrayToString(buffer,0));buffer.length=0}else{buffer.push(curr)}},varargs:undefined,get:function(){SYSCALLS.varargs+=4;var ret=HEAP32[SYSCALLS.varargs-4>>2];return ret},getStr:function(ptr){var ret=UTF8ToString(ptr);return ret},get64:function(low,high){return low}};function ___sys_chdir(path){}function ___sys_fcntl64(fd,cmd,varargs){SYSCALLS.varargs=varargs;return 0}function ___sys_fstat64(fd,buf){}function ___sys_getcwd(buf,size){}function ___sys_getdents64(fd,dirp,count){}function ___sys_getegid32(){return 0}function ___sys_getuid32(){return ___sys_getegid32()}function ___sys_ioctl(fd,op,varargs){SYSCALLS.varargs=varargs;return 0}function ___sys_lstat64(path,buf){}function ___sys_mkdir(path,mode){path=SYSCALLS.getStr(path);return SYSCALLS.doMkdir(path,mode)}function mmapAlloc(size){abort()}function syscallMmap2(addr,len,prot,flags,fd,off){off<<=12;var ptr;var allocated=false;if((flags&16)!==0&&addr%65536!==0){return-28}if((flags&32)!==0){ptr=mmapAlloc(len);if(!ptr)return-48;allocated=true}else{return-52}SYSCALLS.mappings[ptr]={malloc:ptr,len:len,allocated:allocated,fd:fd,prot:prot,flags:flags,offset:off};return ptr}function ___sys_mmap2(addr,len,prot,flags,fd,off){return syscallMmap2(addr,len,prot,flags,fd,off)}function syscallMunmap(addr,len){var info=SYSCALLS.mappings[addr];if(len===0||!info){return-28}if(len===info.len){SYSCALLS.mappings[addr]=null;if(info.allocated){_free(info.malloc)}}return 0}function ___sys_munmap(addr,len){return syscallMunmap(addr,len)}function ___sys_open(path,flags,varargs){SYSCALLS.varargs=varargs}function ___sys_readlink(path,buf,bufsize){path=SYSCALLS.getStr(path);return SYSCALLS.doReadlink(path,buf,bufsize)}function ___sys_rmdir(path){}function ___sys_stat64(path,buf){}function ___sys_unlink(path){}function __emscripten_throw_longjmp(){throw"longjmp"}function _abort(){abort("")}function _emscripten_memcpy_big(dest,src,num){HEAPU8.copyWithin(dest,src,src+num)}function emscripten_realloc_buffer(size){try{wasmMemory.grow(size-buffer.byteLength+65535>>>16);updateGlobalBufferAndViews(wasmMemory.buffer);return 1}catch(e){}}function _emscripten_resize_heap(requestedSize){var oldSize=HEAPU8.length;requestedSize=requestedSize>>>0;var maxHeapSize=2147483648;if(requestedSize>maxHeapSize){return false}for(var cutDown=1;cutDown<=4;cutDown*=2){var overGrownHeapSize=oldSize*(1+.2/cutDown);overGrownHeapSize=Math.min(overGrownHeapSize,requestedSize+100663296);var newSize=Math.min(maxHeapSize,alignUp(Math.max(requestedSize,overGrownHeapSize),65536));var replacement=emscripten_realloc_buffer(newSize);if(replacement){return true}}return false}function _emscripten_thread_sleep(msecs){var start=_emscripten_get_now();while(_emscripten_get_now()-start>2]=stdTimezoneOffset*60;HEAP32[__get_daylight()>>2]=Number(winterOffset!=summerOffset);function extractZone(date){var match=date.toTimeString().match(/\(([A-Za-z ]+)\)$/);return match?match[1]:"GMT"}var winterName=extractZone(winter);var summerName=extractZone(summer);var winterNamePtr=allocateUTF8(winterName);var summerNamePtr=allocateUTF8(summerName);if(summerOffset>2]=winterNamePtr;HEAP32[__get_tzname()+4>>2]=summerNamePtr}else{HEAP32[__get_tzname()>>2]=summerNamePtr;HEAP32[__get_tzname()+4>>2]=winterNamePtr}}function _tzset(){if(_tzset.called)return;_tzset.called=true;_tzset_impl()}function _mktime(tmPtr){_tzset();var date=new Date(HEAP32[tmPtr+20>>2]+1900,HEAP32[tmPtr+16>>2],HEAP32[tmPtr+12>>2],HEAP32[tmPtr+8>>2],HEAP32[tmPtr+4>>2],HEAP32[tmPtr>>2],0);var dst=HEAP32[tmPtr+32>>2];var guessedOffset=date.getTimezoneOffset();var start=new Date(date.getFullYear(),0,1);var summerOffset=new Date(date.getFullYear(),6,1).getTimezoneOffset();var winterOffset=start.getTimezoneOffset();var dstOffset=Math.min(winterOffset,summerOffset);if(dst<0){HEAP32[tmPtr+32>>2]=Number(summerOffset!=winterOffset&&dstOffset==guessedOffset)}else if(dst>0!=(dstOffset==guessedOffset)){var nonDstOffset=Math.max(winterOffset,summerOffset);var trueOffset=dst>0?dstOffset:nonDstOffset;date.setTime(date.getTime()+(trueOffset-guessedOffset)*6e4)}HEAP32[tmPtr+24>>2]=date.getDay();var yday=(date.getTime()-start.getTime())/(1e3*60*60*24)|0;HEAP32[tmPtr+28>>2]=yday;HEAP32[tmPtr>>2]=date.getSeconds();HEAP32[tmPtr+4>>2]=date.getMinutes();HEAP32[tmPtr+8>>2]=date.getHours();HEAP32[tmPtr+12>>2]=date.getDate();HEAP32[tmPtr+16>>2]=date.getMonth();return date.getTime()/1e3|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?UTF8ToString(tm_zone):""};var pattern=UTF8ToString(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","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var rule in EXPANSION_RULES_1){pattern=pattern.replace(new RegExp(rule,"g"),EXPANSION_RULES_1[rule])}var WEEKDAYS=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];var MONTHS=["January","February","March","April","May","June","July","August","September","October","November","December"];function leadingSomething(value,digits,character){var str=typeof value==="number"?value.toString():value||"";while(str.length0?1:0}var compare;if((compare=sgn(date1.getFullYear()-date2.getFullYear()))===0){if((compare=sgn(date1.getMonth()-date2.getMonth()))===0){compare=sgn(date1.getDate()-date2.getDate())}}return compare}function getFirstWeekStartDate(janFourth){switch(janFourth.getDay()){case 0:return new Date(janFourth.getFullYear()-1,11,29);case 1:return janFourth;case 2:return new Date(janFourth.getFullYear(),0,3);case 3:return new Date(janFourth.getFullYear(),0,2);case 4:return new Date(janFourth.getFullYear(),0,1);case 5:return new Date(janFourth.getFullYear()-1,11,31);case 6:return new Date(janFourth.getFullYear()-1,11,30)}}function getWeekBasedYear(date){var thisDate=__addDays(new Date(date.tm_year+1900,0,1),date.tm_yday);var janFourthThisYear=new Date(thisDate.getFullYear(),0,4);var janFourthNextYear=new Date(thisDate.getFullYear()+1,0,4);var firstWeekStartThisYear=getFirstWeekStartDate(janFourthThisYear);var firstWeekStartNextYear=getFirstWeekStartDate(janFourthNextYear);if(compareByDay(firstWeekStartThisYear,thisDate)<=0){if(compareByDay(firstWeekStartNextYear,thisDate)<=0){return thisDate.getFullYear()+1}else{return thisDate.getFullYear()}}else{return thisDate.getFullYear()-1}}var EXPANSION_RULES_2={"%a":function(date){return WEEKDAYS[date.tm_wday].substring(0,3)},"%A":function(date){return WEEKDAYS[date.tm_wday]},"%b":function(date){return MONTHS[date.tm_mon].substring(0,3)},"%B":function(date){return MONTHS[date.tm_mon]},"%C":function(date){var year=date.tm_year+1900;return leadingNulls(year/100|0,2)},"%d":function(date){return leadingNulls(date.tm_mday,2)},"%e":function(date){return leadingSomething(date.tm_mday,2," ")},"%g":function(date){return getWeekBasedYear(date).toString().substring(2)},"%G":function(date){return getWeekBasedYear(date)},"%H":function(date){return leadingNulls(date.tm_hour,2)},"%I":function(date){var twelveHour=date.tm_hour;if(twelveHour==0)twelveHour=12;else if(twelveHour>12)twelveHour-=12;return leadingNulls(twelveHour,2)},"%j":function(date){return leadingNulls(date.tm_mday+__arraySum(__isLeapYear(date.tm_year+1900)?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR,date.tm_mon-1),3)},"%m":function(date){return leadingNulls(date.tm_mon+1,2)},"%M":function(date){return leadingNulls(date.tm_min,2)},"%n":function(){return"\n"},"%p":function(date){if(date.tm_hour>=0&&date.tm_hour<12){return"AM"}else{return"PM"}},"%S":function(date){return leadingNulls(date.tm_sec,2)},"%t":function(){return"\t"},"%u":function(date){return date.tm_wday||7},"%U":function(date){var janFirst=new Date(date.tm_year+1900,0,1);var firstSunday=janFirst.getDay()===0?janFirst:__addDays(janFirst,7-janFirst.getDay());var endDate=new Date(date.tm_year+1900,date.tm_mon,date.tm_mday);if(compareByDay(firstSunday,endDate)<0){var februaryFirstUntilEndMonth=__arraySum(__isLeapYear(endDate.getFullYear())?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR,endDate.getMonth()-1)-31;var firstSundayUntilEndJanuary=31-firstSunday.getDate();var days=firstSundayUntilEndJanuary+februaryFirstUntilEndMonth+endDate.getDate();return leadingNulls(Math.ceil(days/7),2)}return compareByDay(firstSunday,janFirst)===0?"01":"00"},"%V":function(date){var janFourthThisYear=new Date(date.tm_year+1900,0,4);var janFourthNextYear=new Date(date.tm_year+1901,0,4);var firstWeekStartThisYear=getFirstWeekStartDate(janFourthThisYear);var firstWeekStartNextYear=getFirstWeekStartDate(janFourthNextYear);var endDate=__addDays(new Date(date.tm_year+1900,0,1),date.tm_yday);if(compareByDay(endDate,firstWeekStartThisYear)<0){return"53"}if(compareByDay(firstWeekStartNextYear,endDate)<=0){return"01"}var daysDifference;if(firstWeekStartThisYear.getFullYear()=0;off=Math.abs(off)/60;off=off/60*100+off%60;return(ahead?"+":"-")+String("0000"+off).slice(-4)},"%Z":function(date){return date.tm_zone},"%%":function(){return"%"}};for(var rule in EXPANSION_RULES_2){if(pattern.includes(rule)){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}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}var asmLibraryArg={"b":___assert_fail,"R":___clock_gettime,"B":___cxa_allocate_exception,"A":___cxa_throw,"M":___gmtime_r,"Q":___sys_chdir,"u":___sys_fcntl64,"V":___sys_fstat64,"P":___sys_getcwd,"Y":___sys_getdents64,"O":___sys_getuid32,"S":___sys_ioctl,"T":___sys_lstat64,"U":___sys_mkdir,"X":___sys_mmap2,"W":___sys_munmap,"t":___sys_open,"N":___sys_readlink,"w":___sys_rmdir,"x":___sys_stat64,"s":___sys_unlink,"H":__emscripten_throw_longjmp,"f":_abort,"E":_emscripten_memcpy_big,"F":_emscripten_resize_heap,"L":_emscripten_thread_sleep,"J":_environ_get,"K":_environ_sizes_get,"n":_exit,"o":_fd_close,"I":_fd_fdstat_get,"v":_fd_read,"D":_fd_seek,"r":_fd_write,"c":getTempRet0,"y":_getpwnam,"Z":_getpwuid,"g":invoke_ii,"l":invoke_iii,"j":invoke_iiii,"i":invoke_iiiii,"q":invoke_iiiiii,"z":invoke_v,"h":invoke_vi,"e":invoke_vii,"k":invoke_viii,"C":invoke_viiii,"_":invoke_viiiiiiiii,"a":wasmMemory,"m":_mktime,"d":setTempRet0,"G":_strftime_l,"p":_time};var asm=createWasm();var ___wasm_call_ctors=Module["___wasm_call_ctors"]=function(){return(___wasm_call_ctors=Module["___wasm_call_ctors"]=Module["asm"]["$"]).apply(null,arguments)};var _malloc=Module["_malloc"]=function(){return(_malloc=Module["_malloc"]=Module["asm"]["aa"]).apply(null,arguments)};var _free=Module["_free"]=function(){return(_free=Module["_free"]=Module["asm"]["ba"]).apply(null,arguments)};var ___errno_location=Module["___errno_location"]=function(){return(___errno_location=Module["___errno_location"]=Module["asm"]["da"]).apply(null,arguments)};var _GetType=Module["_GetType"]=function(){return(_GetType=Module["_GetType"]=Module["asm"]["ea"]).apply(null,arguments)};var _Open=Module["_Open"]=function(){return(_Open=Module["_Open"]=Module["asm"]["fa"]).apply(null,arguments)};var _Close=Module["_Close"]=function(){return(_Close=Module["_Close"]=Module["asm"]["ga"]).apply(null,arguments)};var _GetInfo=Module["_GetInfo"]=function(){return(_GetInfo=Module["_GetInfo"]=Module["asm"]["ha"]).apply(null,arguments)};var _GetPixmap=Module["_GetPixmap"]=function(){return(_GetPixmap=Module["_GetPixmap"]=Module["asm"]["ia"]).apply(null,arguments)};var _GetGlyphs=Module["_GetGlyphs"]=function(){return(_GetGlyphs=Module["_GetGlyphs"]=Module["asm"]["ja"]).apply(null,arguments)};var _GetLinks=Module["_GetLinks"]=function(){return(_GetLinks=Module["_GetLinks"]=Module["asm"]["ka"]).apply(null,arguments)};var _GetStructure=Module["_GetStructure"]=function(){return(_GetStructure=Module["_GetStructure"]=Module["asm"]["la"]).apply(null,arguments)};var stackSave=Module["stackSave"]=function(){return(stackSave=Module["stackSave"]=Module["asm"]["ma"]).apply(null,arguments)};var stackRestore=Module["stackRestore"]=function(){return(stackRestore=Module["stackRestore"]=Module["asm"]["na"]).apply(null,arguments)};function invoke_ii(index,a1){var sp=stackSave();try{return wasmTable.get(index)(a1)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iii(index,a1,a2){var sp=stackSave();try{return wasmTable.get(index)(a1,a2)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiii(index,a1,a2,a3){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viii(index,a1,a2,a3){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_vi(index,a1){var sp=stackSave();try{wasmTable.get(index)(a1)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiiii(index,a1,a2,a3,a4,a5){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3,a4,a5)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_vii(index,a1,a2){var sp=stackSave();try{wasmTable.get(index)(a1,a2)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiii(index,a1,a2,a3,a4){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3,a4)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiii(index,a1,a2,a3,a4){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4,a5,a6,a7,a8,a9)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_v(index){var sp=stackSave();try{wasmTable.get(index)()}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function runMemoryInitializer(){if(!memoryInitializer)return;if(!isDataURI(memoryInitializer)){memoryInitializer=locateFile(memoryInitializer)}if(ENVIRONMENT_IS_NODE||ENVIRONMENT_IS_SHELL){var data=readBinary(memoryInitializer);HEAPU8.set(data,1024)}else{addRunDependency("memory initializer");var applyMemoryInitializer=function(data){if(data.byteLength)data=new Uint8Array(data);HEAPU8.set(data,1024);if(Module["memoryInitializerRequest"])delete Module["memoryInitializerRequest"].response;removeRunDependency("memory initializer")};var doBrowserLoad=function(){readAsync(memoryInitializer,applyMemoryInitializer,function(){var e=new Error("could not load memory initializer "+memoryInitializer);throw e})};if(Module["memoryInitializerRequest"]){var useRequest=function(){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()}}}var calledRun;function ExitStatus(status){this.name="ExitStatus";this.message="Program terminated with exit("+status+")";this.status=status}dependenciesFulfilled=function runCaller(){if(!calledRun)run();if(!calledRun)dependenciesFulfilled=runCaller};function run(args){args=args||arguments_;if(runDependencies>0){return}preRun();if(runDependencies>0){return}function doRun(){if(calledRun)return;calledRun=true;Module["calledRun"]=true;if(ABORT)return;initRuntime();if(Module["onRuntimeInitialized"])Module["onRuntimeInitialized"]();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){EXITSTATUS=status;if(keepRuntimeAlive()){}else{exitRuntime()}procExit(status)}function procExit(code){EXITSTATUS=code;if(!keepRuntimeAlive()){if(Module["onExit"])Module["onExit"](code);ABORT=true}quit_(code,new ExitStatus(code))}if(Module["preInit"]){if(typeof Module["preInit"]=="function")Module["preInit"]=[Module["preInit"]];while(Module["preInit"].length>0){Module["preInit"].pop()()}}run(); +)(asmLibraryArg)},instantiate:function(binary,info){return{then:function(ok){var module=new WebAssembly.Module(binary);ok({"instance":new WebAssembly.Instance(module)})}}},RuntimeError:Error};wasmBinary=[];if(typeof WebAssembly!=="object"){abort("no native wasm support detected")}var wasmMemory;var ABORT=false;var EXITSTATUS;var UTF8Decoder=typeof TextDecoder!=="undefined"?new TextDecoder("utf8"):undefined;function UTF8ArrayToString(heap,idx,maxBytesToRead){var endIdx=idx+maxBytesToRead;var endPtr=idx;while(heap[endPtr]&&!(endPtr>=endIdx))++endPtr;if(endPtr-idx>16&&heap.subarray&&UTF8Decoder){return UTF8Decoder.decode(heap.subarray(idx,endPtr))}else{var str="";while(idx>10,56320|ch&1023)}}}return str}function UTF8ToString(ptr,maxBytesToRead){return ptr?UTF8ArrayToString(HEAPU8,ptr,maxBytesToRead):""}function stringToUTF8Array(str,heap,outIdx,maxBytesToWrite){if(!(maxBytesToWrite>0))return 0;var startIdx=outIdx;var endIdx=outIdx+maxBytesToWrite-1;for(var i=0;i=55296&&u<=57343){var u1=str.charCodeAt(++i);u=65536+((u&1023)<<10)|u1&1023}if(u<=127){if(outIdx>=endIdx)break;heap[outIdx++]=u}else if(u<=2047){if(outIdx+1>=endIdx)break;heap[outIdx++]=192|u>>6;heap[outIdx++]=128|u&63}else if(u<=65535){if(outIdx+2>=endIdx)break;heap[outIdx++]=224|u>>12;heap[outIdx++]=128|u>>6&63;heap[outIdx++]=128|u&63}else{if(outIdx+3>=endIdx)break;heap[outIdx++]=240|u>>18;heap[outIdx++]=128|u>>12&63;heap[outIdx++]=128|u>>6&63;heap[outIdx++]=128|u&63}}heap[outIdx]=0;return outIdx-startIdx}function lengthBytesUTF8(str){var len=0;for(var i=0;i=55296&&u<=57343)u=65536+((u&1023)<<10)|str.charCodeAt(++i)&1023;if(u<=127)++len;else if(u<=2047)len+=2;else if(u<=65535)len+=3;else len+=4}return len}function allocateUTF8(str){var size=lengthBytesUTF8(str)+1;var ret=_malloc(size);if(ret)stringToUTF8Array(str,HEAP8,ret,size);return ret}function writeArrayToMemory(array,buffer){HEAP8.set(array,buffer)}function writeAsciiToMemory(str,buffer,dontAddNull){for(var i=0;i>0]=str.charCodeAt(i)}if(!dontAddNull)HEAP8[buffer>>0]=0}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 updateGlobalBufferAndViews(buf){buffer=buf;Module["HEAP8"]=HEAP8=new Int8Array(buf);Module["HEAP16"]=HEAP16=new Int16Array(buf);Module["HEAP32"]=HEAP32=new Int32Array(buf);Module["HEAPU8"]=HEAPU8=new Uint8Array(buf);Module["HEAPU16"]=HEAPU16=new Uint16Array(buf);Module["HEAPU32"]=HEAPU32=new Uint32Array(buf);Module["HEAPF32"]=HEAPF32=new Float32Array(buf);Module["HEAPF64"]=HEAPF64=new Float64Array(buf)}var INITIAL_MEMORY=Module["INITIAL_MEMORY"]||16777216;if(Module["wasmMemory"]){wasmMemory=Module["wasmMemory"]}else{wasmMemory=new WebAssembly.Memory({"initial":INITIAL_MEMORY/65536,"maximum":2147483648/65536})}if(wasmMemory){buffer=wasmMemory.buffer}INITIAL_MEMORY=buffer.byteLength;updateGlobalBufferAndViews(buffer);var wasmTable;var __ATPRERUN__=[];var __ATINIT__=[];var __ATPOSTRUN__=[function(){window["AscViewer"] && window["AscViewer"]["onLoadModule"] && window["AscViewer"]["onLoadModule"]();}];var runtimeInitialized=false;var runtimeExited=false;var runtimeKeepaliveCounter=0;function keepRuntimeAlive(){return noExitRuntime||runtimeKeepaliveCounter>0}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 initRuntime(){runtimeInitialized=true;callRuntimeCallbacks(__ATINIT__)}function exitRuntime(){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 addOnInit(cb){__ATINIT__.unshift(cb)}function addOnPostRun(cb){__ATPOSTRUN__.unshift(cb)}var runDependencies=0;var runDependencyWatcher=null;var dependenciesFulfilled=null;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"]={};function abort(what){{if(Module["onAbort"]){Module["onAbort"](what)}}what="Aborted("+what+")";err(what);ABORT=true;EXITSTATUS=1;what+=". Build with -s ASSERTIONS=1 for more info.";var e=new WebAssembly.RuntimeError(what);throw e}var memoryInitializer=getMemoryPathIE("drawingfile.js.mem");var dataURIPrefix="data:application/octet-stream;base64,";function isDataURI(filename){return filename.startsWith(dataURIPrefix)}var wasmBinaryFile;wasmBinaryFile="drawingfile.wasm";if(!isDataURI(wasmBinaryFile)){wasmBinaryFile=locateFile(wasmBinaryFile)}function getBinary(file){try{if(file==wasmBinaryFile&&wasmBinary){return new Uint8Array(wasmBinary)}if(readBinary){return readBinary(file)}else{throw"both async and sync fetching of the wasm failed"}}catch(err){abort(err)}}function getBinaryPromise2(){if(!wasmBinary&&(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)){if(typeof fetch==="function"){return fetch(wasmBinaryFile,{credentials:"same-origin"}).then(function(response){if(!response["ok"]){throw"failed to load wasm binary file at '"+wasmBinaryFile+"'"}return response["arrayBuffer"]()}).catch(function(){return getBinary(wasmBinaryFile)})}}return Promise.resolve().then(function(){return getBinary(wasmBinaryFile)})}function createWasm(){var info={"a":asmLibraryArg};function receiveInstance(instance,module){var exports=instance.exports;Module["asm"]=exports;runMemoryInitializer();wasmTable=Module["asm"]["gb"];addOnInit(Module["asm"]["db"]);removeRunDependency("wasm-instantiate")}addRunDependency("wasm-instantiate");function receiveInstantiationResult(result){receiveInstance(result["instance"])}function instantiateArrayBuffer(receiver){return getBinaryPromise().then(function(binary){return WebAssembly.instantiate(binary,info)}).then(function(instance){return instance}).then(receiver,function(reason){err("failed to asynchronously prepare wasm: "+reason);abort(reason)})}function instantiateAsync(){if(!wasmBinary&&typeof WebAssembly.instantiateStreaming==="function"&&!isDataURI(wasmBinaryFile)&&typeof fetch==="function"){return fetch(wasmBinaryFile,{credentials:"same-origin"}).then(function(response){var result=WebAssembly.instantiateStreaming(response,info);return result.then(receiveInstantiationResult,function(reason){err("wasm streaming compile failed: "+reason);err("falling back to ArrayBuffer instantiation");return instantiateArrayBuffer(receiveInstantiationResult)})})}else{return instantiateArrayBuffer(receiveInstantiationResult)}}if(Module["instantiateWasm"]){try{var exports=Module["instantiateWasm"](info,receiveInstance);return exports}catch(e){err("Module.instantiateWasm callback failed with error: "+e);return false}}instantiateAsync();return{}}function js_free_id(data){self.AscViewer.Free(data);return 1}function js_get_stream_id(data,status){return self.AscViewer.CheckStreamId(data,status)}function callRuntimeCallbacks(callbacks){while(callbacks.length>0){var callback=callbacks.shift();if(typeof callback=="function"){callback(Module);continue}var func=callback.func;if(typeof func==="number"){if(callback.arg===undefined){wasmTable.get(func)()}else{wasmTable.get(func)(callback.arg)}}else{func(callback.arg===undefined?null:callback.arg)}}}function ___assert_fail(condition,filename,line,func){abort("Assertion failed: "+UTF8ToString(condition)+", at: "+[filename?UTF8ToString(filename):"unknown filename",line,func?UTF8ToString(func):"unknown function"])}var _emscripten_get_now;_emscripten_get_now=function(){return performance.now()};var _emscripten_get_now_is_monotonic=true;function setErrNo(value){HEAP32[___errno_location()>>2]=value;return value}function _clock_gettime(clk_id,tp){var now;if(clk_id===0){now=Date.now()}else if((clk_id===1||clk_id===4)&&_emscripten_get_now_is_monotonic){now=_emscripten_get_now()}else{setErrNo(28);return-1}HEAP32[tp>>2]=now/1e3|0;HEAP32[tp+4>>2]=now%1e3*1e3*1e3|0;return 0}function ___clock_gettime(a0,a1){return _clock_gettime(a0,a1)}function ___cxa_allocate_exception(size){return _malloc(size+16)+16}function ExceptionInfo(excPtr){this.excPtr=excPtr;this.ptr=excPtr-16;this.set_type=function(type){HEAP32[this.ptr+4>>2]=type};this.get_type=function(){return HEAP32[this.ptr+4>>2]};this.set_destructor=function(destructor){HEAP32[this.ptr+8>>2]=destructor};this.get_destructor=function(){return HEAP32[this.ptr+8>>2]};this.set_refcount=function(refcount){HEAP32[this.ptr>>2]=refcount};this.set_caught=function(caught){caught=caught?1:0;HEAP8[this.ptr+12>>0]=caught};this.get_caught=function(){return HEAP8[this.ptr+12>>0]!=0};this.set_rethrown=function(rethrown){rethrown=rethrown?1:0;HEAP8[this.ptr+13>>0]=rethrown};this.get_rethrown=function(){return HEAP8[this.ptr+13>>0]!=0};this.init=function(type,destructor){this.set_type(type);this.set_destructor(destructor);this.set_refcount(0);this.set_caught(false);this.set_rethrown(false)};this.add_ref=function(){var value=HEAP32[this.ptr>>2];HEAP32[this.ptr>>2]=value+1};this.release_ref=function(){var prev=HEAP32[this.ptr>>2];HEAP32[this.ptr>>2]=prev-1;return prev===1}}function CatchInfo(ptr){this.free=function(){_free(this.ptr);this.ptr=0};this.set_base_ptr=function(basePtr){HEAP32[this.ptr>>2]=basePtr};this.get_base_ptr=function(){return HEAP32[this.ptr>>2]};this.set_adjusted_ptr=function(adjustedPtr){HEAP32[this.ptr+4>>2]=adjustedPtr};this.get_adjusted_ptr_addr=function(){return this.ptr+4};this.get_adjusted_ptr=function(){return HEAP32[this.ptr+4>>2]};this.get_exception_ptr=function(){var isPointer=___cxa_is_pointer_type(this.get_exception_info().get_type());if(isPointer){return HEAP32[this.get_base_ptr()>>2]}var adjusted=this.get_adjusted_ptr();if(adjusted!==0)return adjusted;return this.get_base_ptr()};this.get_exception_info=function(){return new ExceptionInfo(this.get_base_ptr())};if(ptr===undefined){this.ptr=_malloc(8);this.set_adjusted_ptr(0)}else{this.ptr=ptr}}var exceptionCaught=[];function exception_addRef(info){info.add_ref()}var uncaughtExceptionCount=0;function ___cxa_begin_catch(ptr){var catchInfo=new CatchInfo(ptr);var info=catchInfo.get_exception_info();if(!info.get_caught()){info.set_caught(true);uncaughtExceptionCount--}info.set_rethrown(false);exceptionCaught.push(catchInfo);exception_addRef(info);return catchInfo.get_exception_ptr()}function ___cxa_call_unexpected(exception){err("Unexpected exception thrown, this is not properly supported - aborting");ABORT=true;throw exception}var exceptionLast=0;function ___cxa_free_exception(ptr){return _free(new ExceptionInfo(ptr).ptr)}function exception_decRef(info){if(info.release_ref()&&!info.get_rethrown()){var destructor=info.get_destructor();if(destructor){wasmTable.get(destructor)(info.excPtr)}___cxa_free_exception(info.excPtr)}}function ___cxa_end_catch(){_setThrew(0);var catchInfo=exceptionCaught.pop();exception_decRef(catchInfo.get_exception_info());catchInfo.free();exceptionLast=0}function ___resumeException(catchInfoPtr){var catchInfo=new CatchInfo(catchInfoPtr);var ptr=catchInfo.get_base_ptr();if(!exceptionLast){exceptionLast=ptr}catchInfo.free();throw ptr}function ___cxa_find_matching_catch_2(){var thrown=exceptionLast;if(!thrown){setTempRet0(0);return 0|0}var info=new ExceptionInfo(thrown);var thrownType=info.get_type();var catchInfo=new CatchInfo;catchInfo.set_base_ptr(thrown);catchInfo.set_adjusted_ptr(thrown);if(!thrownType){setTempRet0(0);return catchInfo.ptr|0}var typeArray=Array.prototype.slice.call(arguments);for(var i=0;i>2]*1e3);HEAP32[tmPtr>>2]=date.getUTCSeconds();HEAP32[tmPtr+4>>2]=date.getUTCMinutes();HEAP32[tmPtr+8>>2]=date.getUTCHours();HEAP32[tmPtr+12>>2]=date.getUTCDate();HEAP32[tmPtr+16>>2]=date.getUTCMonth();HEAP32[tmPtr+20>>2]=date.getUTCFullYear()-1900;HEAP32[tmPtr+24>>2]=date.getUTCDay();HEAP32[tmPtr+36>>2]=0;HEAP32[tmPtr+32>>2]=0;var start=Date.UTC(date.getUTCFullYear(),0,1,0,0,0,0);var yday=(date.getTime()-start)/(1e3*60*60*24)|0;HEAP32[tmPtr+28>>2]=yday;if(!_gmtime_r.GMTString)_gmtime_r.GMTString=allocateUTF8("GMT");HEAP32[tmPtr+40>>2]=_gmtime_r.GMTString;return tmPtr}function ___gmtime_r(a0,a1){return _gmtime_r(a0,a1)}var SYSCALLS={mappings:{},buffers:[null,[],[]],printChar:function(stream,curr){var buffer=SYSCALLS.buffers[stream];if(curr===0||curr===10){(stream===1?out:err)(UTF8ArrayToString(buffer,0));buffer.length=0}else{buffer.push(curr)}},varargs:undefined,get:function(){SYSCALLS.varargs+=4;var ret=HEAP32[SYSCALLS.varargs-4>>2];return ret},getStr:function(ptr){var ret=UTF8ToString(ptr);return ret},get64:function(low,high){return low}};function ___sys_chdir(path){}function ___sys_fcntl64(fd,cmd,varargs){SYSCALLS.varargs=varargs;return 0}function ___sys_getcwd(buf,size){}function ___sys_getdents64(fd,dirp,count){}function ___sys_getegid32(){return 0}function ___sys_getuid32(){return ___sys_getegid32()}function ___sys_ioctl(fd,op,varargs){SYSCALLS.varargs=varargs;return 0}function ___sys_lstat64(path,buf){}function ___sys_mkdir(path,mode){path=SYSCALLS.getStr(path);return SYSCALLS.doMkdir(path,mode)}function mmapAlloc(size){abort()}function syscallMmap2(addr,len,prot,flags,fd,off){off<<=12;var ptr;var allocated=false;if((flags&16)!==0&&addr%65536!==0){return-28}if((flags&32)!==0){ptr=mmapAlloc(len);if(!ptr)return-48;allocated=true}else{return-52}SYSCALLS.mappings[ptr]={malloc:ptr,len:len,allocated:allocated,fd:fd,prot:prot,flags:flags,offset:off};return ptr}function ___sys_mmap2(addr,len,prot,flags,fd,off){return syscallMmap2(addr,len,prot,flags,fd,off)}function syscallMunmap(addr,len){var info=SYSCALLS.mappings[addr];if(len===0||!info){return-28}if(len===info.len){SYSCALLS.mappings[addr]=null;if(info.allocated){_free(info.malloc)}}return 0}function ___sys_munmap(addr,len){return syscallMunmap(addr,len)}function ___sys_open(path,flags,varargs){SYSCALLS.varargs=varargs}function ___sys_readlink(path,buf,bufsize){path=SYSCALLS.getStr(path);return SYSCALLS.doReadlink(path,buf,bufsize)}function ___sys_rmdir(path){}function ___sys_stat64(path,buf){}function ___sys_unlink(path){}function __emscripten_throw_longjmp(){throw"longjmp"}function _abort(){abort("")}function _emscripten_memcpy_big(dest,src,num){HEAPU8.copyWithin(dest,src,src+num)}function emscripten_realloc_buffer(size){try{wasmMemory.grow(size-buffer.byteLength+65535>>>16);updateGlobalBufferAndViews(wasmMemory.buffer);return 1}catch(e){}}function _emscripten_resize_heap(requestedSize){var oldSize=HEAPU8.length;requestedSize=requestedSize>>>0;var maxHeapSize=2147483648;if(requestedSize>maxHeapSize){return false}for(var cutDown=1;cutDown<=4;cutDown*=2){var overGrownHeapSize=oldSize*(1+.2/cutDown);overGrownHeapSize=Math.min(overGrownHeapSize,requestedSize+100663296);var newSize=Math.min(maxHeapSize,alignUp(Math.max(requestedSize,overGrownHeapSize),65536));var replacement=emscripten_realloc_buffer(newSize);if(replacement){return true}}return false}function _emscripten_thread_sleep(msecs){var start=_emscripten_get_now();while(_emscripten_get_now()-start>2]=stdTimezoneOffset*60;HEAP32[__get_daylight()>>2]=Number(winterOffset!=summerOffset);function extractZone(date){var match=date.toTimeString().match(/\(([A-Za-z ]+)\)$/);return match?match[1]:"GMT"}var winterName=extractZone(winter);var summerName=extractZone(summer);var winterNamePtr=allocateUTF8(winterName);var summerNamePtr=allocateUTF8(summerName);if(summerOffset>2]=winterNamePtr;HEAP32[__get_tzname()+4>>2]=summerNamePtr}else{HEAP32[__get_tzname()>>2]=summerNamePtr;HEAP32[__get_tzname()+4>>2]=winterNamePtr}}function _tzset(){if(_tzset.called)return;_tzset.called=true;_tzset_impl()}function _mktime(tmPtr){_tzset();var date=new Date(HEAP32[tmPtr+20>>2]+1900,HEAP32[tmPtr+16>>2],HEAP32[tmPtr+12>>2],HEAP32[tmPtr+8>>2],HEAP32[tmPtr+4>>2],HEAP32[tmPtr>>2],0);var dst=HEAP32[tmPtr+32>>2];var guessedOffset=date.getTimezoneOffset();var start=new Date(date.getFullYear(),0,1);var summerOffset=new Date(date.getFullYear(),6,1).getTimezoneOffset();var winterOffset=start.getTimezoneOffset();var dstOffset=Math.min(winterOffset,summerOffset);if(dst<0){HEAP32[tmPtr+32>>2]=Number(summerOffset!=winterOffset&&dstOffset==guessedOffset)}else if(dst>0!=(dstOffset==guessedOffset)){var nonDstOffset=Math.max(winterOffset,summerOffset);var trueOffset=dst>0?dstOffset:nonDstOffset;date.setTime(date.getTime()+(trueOffset-guessedOffset)*6e4)}HEAP32[tmPtr+24>>2]=date.getDay();var yday=(date.getTime()-start.getTime())/(1e3*60*60*24)|0;HEAP32[tmPtr+28>>2]=yday;HEAP32[tmPtr>>2]=date.getSeconds();HEAP32[tmPtr+4>>2]=date.getMinutes();HEAP32[tmPtr+8>>2]=date.getHours();HEAP32[tmPtr+12>>2]=date.getDate();HEAP32[tmPtr+16>>2]=date.getMonth();return date.getTime()/1e3|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?UTF8ToString(tm_zone):""};var pattern=UTF8ToString(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","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var rule in EXPANSION_RULES_1){pattern=pattern.replace(new RegExp(rule,"g"),EXPANSION_RULES_1[rule])}var WEEKDAYS=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];var MONTHS=["January","February","March","April","May","June","July","August","September","October","November","December"];function leadingSomething(value,digits,character){var str=typeof value==="number"?value.toString():value||"";while(str.length0?1:0}var compare;if((compare=sgn(date1.getFullYear()-date2.getFullYear()))===0){if((compare=sgn(date1.getMonth()-date2.getMonth()))===0){compare=sgn(date1.getDate()-date2.getDate())}}return compare}function getFirstWeekStartDate(janFourth){switch(janFourth.getDay()){case 0:return new Date(janFourth.getFullYear()-1,11,29);case 1:return janFourth;case 2:return new Date(janFourth.getFullYear(),0,3);case 3:return new Date(janFourth.getFullYear(),0,2);case 4:return new Date(janFourth.getFullYear(),0,1);case 5:return new Date(janFourth.getFullYear()-1,11,31);case 6:return new Date(janFourth.getFullYear()-1,11,30)}}function getWeekBasedYear(date){var thisDate=__addDays(new Date(date.tm_year+1900,0,1),date.tm_yday);var janFourthThisYear=new Date(thisDate.getFullYear(),0,4);var janFourthNextYear=new Date(thisDate.getFullYear()+1,0,4);var firstWeekStartThisYear=getFirstWeekStartDate(janFourthThisYear);var firstWeekStartNextYear=getFirstWeekStartDate(janFourthNextYear);if(compareByDay(firstWeekStartThisYear,thisDate)<=0){if(compareByDay(firstWeekStartNextYear,thisDate)<=0){return thisDate.getFullYear()+1}else{return thisDate.getFullYear()}}else{return thisDate.getFullYear()-1}}var EXPANSION_RULES_2={"%a":function(date){return WEEKDAYS[date.tm_wday].substring(0,3)},"%A":function(date){return WEEKDAYS[date.tm_wday]},"%b":function(date){return MONTHS[date.tm_mon].substring(0,3)},"%B":function(date){return MONTHS[date.tm_mon]},"%C":function(date){var year=date.tm_year+1900;return leadingNulls(year/100|0,2)},"%d":function(date){return leadingNulls(date.tm_mday,2)},"%e":function(date){return leadingSomething(date.tm_mday,2," ")},"%g":function(date){return getWeekBasedYear(date).toString().substring(2)},"%G":function(date){return getWeekBasedYear(date)},"%H":function(date){return leadingNulls(date.tm_hour,2)},"%I":function(date){var twelveHour=date.tm_hour;if(twelveHour==0)twelveHour=12;else if(twelveHour>12)twelveHour-=12;return leadingNulls(twelveHour,2)},"%j":function(date){return leadingNulls(date.tm_mday+__arraySum(__isLeapYear(date.tm_year+1900)?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR,date.tm_mon-1),3)},"%m":function(date){return leadingNulls(date.tm_mon+1,2)},"%M":function(date){return leadingNulls(date.tm_min,2)},"%n":function(){return"\n"},"%p":function(date){if(date.tm_hour>=0&&date.tm_hour<12){return"AM"}else{return"PM"}},"%S":function(date){return leadingNulls(date.tm_sec,2)},"%t":function(){return"\t"},"%u":function(date){return date.tm_wday||7},"%U":function(date){var janFirst=new Date(date.tm_year+1900,0,1);var firstSunday=janFirst.getDay()===0?janFirst:__addDays(janFirst,7-janFirst.getDay());var endDate=new Date(date.tm_year+1900,date.tm_mon,date.tm_mday);if(compareByDay(firstSunday,endDate)<0){var februaryFirstUntilEndMonth=__arraySum(__isLeapYear(endDate.getFullYear())?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR,endDate.getMonth()-1)-31;var firstSundayUntilEndJanuary=31-firstSunday.getDate();var days=firstSundayUntilEndJanuary+februaryFirstUntilEndMonth+endDate.getDate();return leadingNulls(Math.ceil(days/7),2)}return compareByDay(firstSunday,janFirst)===0?"01":"00"},"%V":function(date){var janFourthThisYear=new Date(date.tm_year+1900,0,4);var janFourthNextYear=new Date(date.tm_year+1901,0,4);var firstWeekStartThisYear=getFirstWeekStartDate(janFourthThisYear);var firstWeekStartNextYear=getFirstWeekStartDate(janFourthNextYear);var endDate=__addDays(new Date(date.tm_year+1900,0,1),date.tm_yday);if(compareByDay(endDate,firstWeekStartThisYear)<0){return"53"}if(compareByDay(firstWeekStartNextYear,endDate)<=0){return"01"}var daysDifference;if(firstWeekStartThisYear.getFullYear()=0;off=Math.abs(off)/60;off=off/60*100+off%60;return(ahead?"+":"-")+String("0000"+off).slice(-4)},"%Z":function(date){return date.tm_zone},"%%":function(){return"%"}};for(var rule in EXPANSION_RULES_2){if(pattern.includes(rule)){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}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}var asmLibraryArg={"k":___assert_fail,"wa":___clock_gettime,"G":___cxa_allocate_exception,"t":___cxa_begin_catch,"ea":___cxa_call_unexpected,"z":___cxa_end_catch,"c":___cxa_find_matching_catch_2,"j":___cxa_find_matching_catch_3,"I":___cxa_free_exception,"N":___cxa_rethrow,"F":___cxa_throw,"cb":___cxa_uncaught_exceptions,"ra":___gmtime_r,"g":___resumeException,"va":___sys_chdir,"X":___sys_fcntl64,"ua":___sys_getcwd,"Da":___sys_getdents64,"ta":___sys_getuid32,"xa":___sys_ioctl,"ya":___sys_lstat64,"za":___sys_mkdir,"Ca":___sys_mmap2,"Ba":___sys_munmap,"U":___sys_open,"sa":___sys_readlink,"Y":___sys_rmdir,"Aa":___sys_stat64,"T":___sys_unlink,"na":__emscripten_throw_longjmp,"x":_abort,"$a":_emscripten_memcpy_big,"ab":_emscripten_resize_heap,"qa":_emscripten_thread_sleep,"oa":_environ_get,"pa":_environ_sizes_get,"E":_exit,"K":_fd_close,"W":_fd_read,"_a":_fd_seek,"S":_fd_write,"b":getTempRet0,"ba":_getpwnam,"Pa":_getpwuid,"w":invoke_di,"$":invoke_dii,"L":invoke_diii,"Fa":invoke_fif,"ma":invoke_fiii,"v":invoke_i,"f":invoke_ii,"O":invoke_iidd,"ka":invoke_iidddddd,"Oa":invoke_iiddiii,"d":invoke_iii,"aa":invoke_iiiddddd,"Ra":invoke_iiiddiii,"ca":invoke_iiiff,"Sa":invoke_iiiffff,"l":invoke_iiii,"m":invoke_iiiii,"Ha":invoke_iiiiid,"Xa":invoke_iiiiifi,"r":invoke_iiiiii,"Na":invoke_iiiiiiddiiiii,"p":invoke_iiiiiii,"B":invoke_iiiiiiii,"H":invoke_iiiiiiiii,"Ma":invoke_iiiiiiiiii,"fa":invoke_iiiiiiiiiii,"R":invoke_iiiiiiiiiiii,"ga":invoke_iiiiiiiiiiiiiiiiiiiiiiiiii,"Za":invoke_jiiii,"q":invoke_v,"Ia":invoke_vdii,"e":invoke_vi,"ja":invoke_vid,"Wa":invoke_vidddddddd,"P":invoke_viddi,"la":invoke_vidi,"ha":invoke_vidii,"Ta":invoke_viffffi,"i":invoke_vii,"C":invoke_viid,"La":invoke_viidddd,"Ka":invoke_viiddddddi,"Ga":invoke_viif,"h":invoke_viii,"_":invoke_viiid,"da":invoke_viiiddiiiiii,"Ja":invoke_viiidi,"Qa":invoke_viiidiiiddddd,"o":invoke_viiii,"M":invoke_viiiid,"u":invoke_viiiii,"Z":invoke_viiiiid,"s":invoke_viiiiii,"A":invoke_viiiiiii,"V":invoke_viiiiiiii,"Ya":invoke_viiiiiiiii,"J":invoke_viiiiiiiiii,"Ea":invoke_viiiiiiiiiiii,"Q":invoke_viiiiiiiiiiiiiii,"Ua":js_free_id,"Va":js_get_stream_id,"y":_llvm_eh_typeid_for,"a":wasmMemory,"D":_mktime,"n":setTempRet0,"bb":_strftime_l,"ia":_time};var asm=createWasm();var ___wasm_call_ctors=Module["___wasm_call_ctors"]=function(){return(___wasm_call_ctors=Module["___wasm_call_ctors"]=Module["asm"]["db"]).apply(null,arguments)};var _malloc=Module["_malloc"]=function(){return(_malloc=Module["_malloc"]=Module["asm"]["eb"]).apply(null,arguments)};var _free=Module["_free"]=function(){return(_free=Module["_free"]=Module["asm"]["fb"]).apply(null,arguments)};var ___errno_location=Module["___errno_location"]=function(){return(___errno_location=Module["___errno_location"]=Module["asm"]["hb"]).apply(null,arguments)};var _InitializeFontsBin=Module["_InitializeFontsBin"]=function(){return(_InitializeFontsBin=Module["_InitializeFontsBin"]=Module["asm"]["ib"]).apply(null,arguments)};var _InitializeFontsBase64=Module["_InitializeFontsBase64"]=function(){return(_InitializeFontsBase64=Module["_InitializeFontsBase64"]=Module["asm"]["jb"]).apply(null,arguments)};var _SetFontBinary=Module["_SetFontBinary"]=function(){return(_SetFontBinary=Module["_SetFontBinary"]=Module["asm"]["kb"]).apply(null,arguments)};var _IsFontBinaryExist=Module["_IsFontBinaryExist"]=function(){return(_IsFontBinaryExist=Module["_IsFontBinaryExist"]=Module["asm"]["lb"]).apply(null,arguments)};var _GetType=Module["_GetType"]=function(){return(_GetType=Module["_GetType"]=Module["asm"]["mb"]).apply(null,arguments)};var _Open=Module["_Open"]=function(){return(_Open=Module["_Open"]=Module["asm"]["nb"]).apply(null,arguments)};var _Close=Module["_Close"]=function(){return(_Close=Module["_Close"]=Module["asm"]["ob"]).apply(null,arguments)};var _GetInfo=Module["_GetInfo"]=function(){return(_GetInfo=Module["_GetInfo"]=Module["asm"]["pb"]).apply(null,arguments)};var _GetPixmap=Module["_GetPixmap"]=function(){return(_GetPixmap=Module["_GetPixmap"]=Module["asm"]["qb"]).apply(null,arguments)};var _GetGlyphs=Module["_GetGlyphs"]=function(){return(_GetGlyphs=Module["_GetGlyphs"]=Module["asm"]["rb"]).apply(null,arguments)};var _GetLinks=Module["_GetLinks"]=function(){return(_GetLinks=Module["_GetLinks"]=Module["asm"]["sb"]).apply(null,arguments)};var _GetStructure=Module["_GetStructure"]=function(){return(_GetStructure=Module["_GetStructure"]=Module["asm"]["tb"]).apply(null,arguments)};var stackSave=Module["stackSave"]=function(){return(stackSave=Module["stackSave"]=Module["asm"]["ub"]).apply(null,arguments)};var stackRestore=Module["stackRestore"]=function(){return(stackRestore=Module["stackRestore"]=Module["asm"]["vb"]).apply(null,arguments)};var _setThrew=Module["_setThrew"]=function(){return(_setThrew=Module["_setThrew"]=Module["asm"]["wb"]).apply(null,arguments)};var ___cxa_can_catch=Module["___cxa_can_catch"]=function(){return(___cxa_can_catch=Module["___cxa_can_catch"]=Module["asm"]["xb"]).apply(null,arguments)};var ___cxa_is_pointer_type=Module["___cxa_is_pointer_type"]=function(){return(___cxa_is_pointer_type=Module["___cxa_is_pointer_type"]=Module["asm"]["yb"]).apply(null,arguments)};var dynCall_jiiii=Module["dynCall_jiiii"]=function(){return(dynCall_jiiii=Module["dynCall_jiiii"]=Module["asm"]["zb"]).apply(null,arguments)};function invoke_ii(index,a1){var sp=stackSave();try{return wasmTable.get(index)(a1)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iii(index,a1,a2){var sp=stackSave();try{return wasmTable.get(index)(a1,a2)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiii(index,a1,a2,a3){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viii(index,a1,a2,a3){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_vi(index,a1){var sp=stackSave();try{wasmTable.get(index)(a1)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiiii(index,a1,a2,a3,a4,a5){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3,a4,a5)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_vii(index,a1,a2){var sp=stackSave();try{wasmTable.get(index)(a1,a2)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiiii(index,a1,a2,a3,a4,a5){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4,a5)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiii(index,a1,a2,a3,a4){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3,a4)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiii(index,a1,a2,a3,a4){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiiiii(index,a1,a2,a3,a4,a5,a6){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4,a5,a6)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4,a5,a6,a7,a8,a9)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_v(index){var sp=stackSave();try{wasmTable.get(index)()}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiiiii(index,a1,a2,a3,a4,a5,a6){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3,a4,a5,a6)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiiifi(index,a1,a2,a3,a4,a5,a6){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3,a4,a5,a6)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viddi(index,a1,a2,a3,a4){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_vidi(index,a1,a2,a3){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiiiiii(index,a1,a2,a3,a4,a5,a6,a7){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3,a4,a5,a6,a7)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iidddddd(index,a1,a2,a3,a4,a5,a6,a7){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3,a4,a5,a6,a7)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_vid(index,a1,a2){var sp=stackSave();try{wasmTable.get(index)(a1,a2)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4,a5,a6,a7,a8)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiiiiii(index,a1,a2,a3,a4,a5,a6,a7){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4,a5,a6,a7)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iidd(index,a1,a2,a3){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_vidddddddd(index,a1,a2,a3,a4,a5,a6,a7,a8,a9){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4,a5,a6,a7,a8,a9)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_vidii(index,a1,a2,a3,a4){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiiiiiiiiiiiiiiiiiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_i(index){var sp=stackSave();try{return wasmTable.get(index)()}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3,a4,a5,a6,a7,a8)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiiddiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viffffi(index,a1,a2,a3,a4,a5,a6){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4,a5,a6)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiffff(index,a1,a2,a3,a4,a5,a6){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3,a4,a5,a6)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiff(index,a1,a2,a3,a4){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3,a4)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viid(index,a1,a2,a3){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiddiii(index,a1,a2,a3,a4,a5,a6,a7){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3,a4,a5,a6,a7)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiidiiiddddd(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiddiii(index,a1,a2,a3,a4,a5,a6){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3,a4,a5,a6)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiiiiddiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3,a4,a5,a6,a7,a8,a9)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiddddd(index,a1,a2,a3,a4,a5,a6,a7){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3,a4,a5,a6,a7)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_di(index,a1){var sp=stackSave();try{return wasmTable.get(index)(a1)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_dii(index,a1,a2){var sp=stackSave();try{return wasmTable.get(index)(a1,a2)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viidddd(index,a1,a2,a3,a4,a5,a6){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4,a5,a6)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiddddddi(index,a1,a2,a3,a4,a5,a6,a7,a8,a9){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4,a5,a6,a7,a8,a9)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiiid(index,a1,a2,a3,a4,a5){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4,a5)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiidi(index,a1,a2,a3,a4,a5){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4,a5)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiid(index,a1,a2,a3,a4){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_vdii(index,a1,a2,a3){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiiiid(index,a1,a2,a3,a4,a5,a6){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4,a5,a6)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiiid(index,a1,a2,a3,a4,a5){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3,a4,a5)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_diii(index,a1,a2,a3){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viif(index,a1,a2,a3){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_fif(index,a1,a2){var sp=stackSave();try{return wasmTable.get(index)(a1,a2)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiiiiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_fiii(index,a1,a2,a3){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiiiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiiiiiiiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_jiiii(index,a1,a2,a3,a4){var sp=stackSave();try{return dynCall_jiiii(index,a1,a2,a3,a4)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function runMemoryInitializer(){if(!memoryInitializer)return;if(!isDataURI(memoryInitializer)){memoryInitializer=locateFile(memoryInitializer)}if(ENVIRONMENT_IS_NODE||ENVIRONMENT_IS_SHELL){var data=readBinary(memoryInitializer);HEAPU8.set(data,1024)}else{addRunDependency("memory initializer");var applyMemoryInitializer=function(data){if(data.byteLength)data=new Uint8Array(data);HEAPU8.set(data,1024);if(Module["memoryInitializerRequest"])delete Module["memoryInitializerRequest"].response;removeRunDependency("memory initializer")};var doBrowserLoad=function(){readAsync(memoryInitializer,applyMemoryInitializer,function(){var e=new Error("could not load memory initializer "+memoryInitializer);throw e})};if(Module["memoryInitializerRequest"]){var useRequest=function(){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()}}}var calledRun;function ExitStatus(status){this.name="ExitStatus";this.message="Program terminated with exit("+status+")";this.status=status}dependenciesFulfilled=function runCaller(){if(!calledRun)run();if(!calledRun)dependenciesFulfilled=runCaller};function run(args){args=args||arguments_;if(runDependencies>0){return}preRun();if(runDependencies>0){return}function doRun(){if(calledRun)return;calledRun=true;Module["calledRun"]=true;if(ABORT)return;initRuntime();if(Module["onRuntimeInitialized"])Module["onRuntimeInitialized"]();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){EXITSTATUS=status;if(keepRuntimeAlive()){}else{exitRuntime()}procExit(status)}function procExit(code){EXITSTATUS=code;if(!keepRuntimeAlive()){if(Module["onExit"])Module["onExit"](code);ABORT=true}quit_(code,new ExitStatus(code))}if(Module["preInit"]){if(typeof Module["preInit"]=="function")Module["preInit"]=[Module["preInit"]];while(Module["preInit"].length>0){Module["preInit"].pop()()}}run(); + + self.drawingFileCurrentPageIndex = -1; + self.fontStreams = {}; + self.drawingFile = null; function CBinaryReader(data, start, size) { @@ -333,6 +337,7 @@ e=w;var Qa=c([null,ab,Iya,rxa,Ud,cp,t8,we,dSa,b8,V7,Q7,H7,w7,l7,nda,KRa,pRa,Tm,G this.nativeFile = Module["_Open"](_stream, data.length); this.stream = _stream; this.type = Module["_GetType"](_stream, data.length); + self.drawingFile = this; return this.getInfo(); }; CFile.prototype["getInfo"] = function() @@ -353,7 +358,8 @@ e=w;var Qa=c([null,ab,Iya,rxa,Ud,cp,t8,we,dSa,b8,V7,Q7,H7,w7,l7,nda,KRa,pRa,Tm,G this.pages.push({ "W" : _buffer[_cur++], "H" : _buffer[_cur++], - "Dpi" : _buffer[_cur++] + "Dpi" : _buffer[_cur++], + fonts : [] }); } @@ -368,6 +374,7 @@ e=w;var Qa=c([null,ab,Iya,rxa,Ud,cp,t8,we,dSa,b8,V7,Q7,H7,w7,l7,nda,KRa,pRa,Tm,G if (this.stream > 0) Module["_free"](this.stream); this.stream = -1; + self.drawingFile = null; }; CFile.prototype["getPages"] = function() @@ -377,7 +384,23 @@ e=w;var Qa=c([null,ab,Iya,rxa,Ud,cp,t8,we,dSa,b8,V7,Q7,H7,w7,l7,nda,KRa,pRa,Tm,G CFile.prototype["getPagePixmap"] = function(pageIndex, width, height) { - return Module["_GetPixmap"](this.nativeFile, pageIndex, width, height); + if (this.pages[pageIndex].fonts.length > 0) + { + // ждем загрузки шрифтов для этой страницы + return null; + } + + self.drawingFileCurrentPageIndex = pageIndex; + var retValue = Module["_GetPixmap"](this.nativeFile, pageIndex, width, height); + self.drawingFileCurrentPageIndex = -1; + + if (this.pages[pageIndex].fonts.length > 0) + { + // ждем загрузки шрифтов для этой страницы + Module["_free"](retValue); + retValue = null; + } + return retValue; }; CFile.prototype["getGlyphs"] = function(pageIndex, width, height) { @@ -399,17 +422,17 @@ e=w;var Qa=c([null,ab,Iya,rxa,Ud,cp,t8,we,dSa,b8,V7,Q7,H7,w7,l7,nda,KRa,pRa,Tm,G var prevY = -1; while (reader.isValid()) { - // xps - if (this.type == 2) - { - let _fontName = reader.readString(); - let _fontSize = reader.readDouble(); - let amount = reader.readInt(); - for (var i = 0; i < amount; i++) - { - let _X = reader.readDouble(); - let _Y = reader.readDouble(); - if (_Y != prevY) + // xps и pdf + if (this.type == 2 || this.type == 0) + { + let _fontName = reader.readString(); + let _fontSize = reader.readDouble(); + let amount = reader.readInt(); + for (var i = 0; i < amount; i++) + { + let _X = reader.readDouble(); + let _Y = reader.readDouble(); + if (_Y != prevY) { if (Line >= 0) this.pages[pageIndex].Lines[Line].Glyphs.sort(function(prev, next) { return prev.X - next.X; }); @@ -417,25 +440,25 @@ e=w;var Qa=c([null,ab,Iya,rxa,Ud,cp,t8,we,dSa,b8,V7,Q7,H7,w7,l7,nda,KRa,pRa,Tm,G this.pages[pageIndex].Lines.push({ Glyphs : [] }); prevY = _Y; } - let _Char = reader.readInt(); - this.pages[pageIndex].Lines[Line].Glyphs.push({ + let _Char = reader.readInt(); + this.pages[pageIndex].Lines[Line].Glyphs.push({ fontName : _fontName, fontSize : _fontSize, X : _X * 1.015, Y : _Y * 1.015, UChar : String.fromCharCode(_Char) }); - } - } - // djvu - else - { + } + } + // djvu + else + { let _Word = reader.readString(); let _X = reader.readDouble(); let _Y = reader.readDouble(); let _W = reader.readDouble(); let _H = reader.readDouble(); - + Line++; this.pages[pageIndex].Lines.push({ Glyphs : [] }); for (let i = 0; i < _Word.length; i++) @@ -447,7 +470,7 @@ e=w;var Qa=c([null,ab,Iya,rxa,Ud,cp,t8,we,dSa,b8,V7,Q7,H7,w7,l7,nda,KRa,pRa,Tm,G } this.pages[pageIndex].Lines[Line].Glyphs[0].Y = _Y + _H; this.pages[pageIndex].Lines[Line].Glyphs[0].fontSize = _H; - } + } } Module["_free"](glyphs); @@ -456,9 +479,9 @@ e=w;var Qa=c([null,ab,Iya,rxa,Ud,cp,t8,we,dSa,b8,V7,Q7,H7,w7,l7,nda,KRa,pRa,Tm,G { var res = []; var ext = Module["_GetLinks"](this.nativeFile, pageIndex, width, height); - if (ext == 0) - return res; - + if (ext == 0) + return res; + var lenArray = new Int32Array(Module["HEAP8"].buffer, ext, 4); if (lenArray == null) return res; @@ -489,8 +512,8 @@ e=w;var Qa=c([null,ab,Iya,rxa,Ud,cp,t8,we,dSa,b8,V7,Q7,H7,w7,l7,nda,KRa,pRa,Tm,G { var res = []; var str = Module["_GetStructure"](this.nativeFile); - if (str == 0) - return res; + if (str == 0) + return res; var lenArray = new Int32Array(Module["HEAP8"].buffer, str, 4); if (lenArray == null) return res; @@ -525,6 +548,145 @@ e=w;var Qa=c([null,ab,Iya,rxa,Ud,cp,t8,we,dSa,b8,V7,Q7,H7,w7,l7,nda,KRa,pRa,Tm,G Module["_free"](pointer); }; - window["AscViewer"]["CDrawingFile"] = CFile; + self["AscViewer"]["CDrawingFile"] = CFile; + self["AscViewer"]["InitializeFonts"] = function() { + if (!window["g_fonts_selection_bin"]) + return; + var memoryBuffer = window["g_fonts_selection_bin"].toUtf8(); + var pointer = Module["_malloc"](memoryBuffer.length); + Module.HEAP8.set(memoryBuffer, pointer); + Module["_InitializeFontsBase64"](pointer, memoryBuffer.length); + Module["_free"](pointer); + delete window["g_fonts_selection_bin"]; + }; + self["AscViewer"]["Free"] = function(pointer) { + Module["_free"](pointer); + }; + + function addToArrayAsDictionary(arr, value) + { + var isFound = false; + for (var i = 0, len = arr.length; i < len; i++) + { + if (arr[i] == value) + { + isFound = true; + break; + } + } + if (!isFound) + arr.push(value); + return isFound; + } + + self["AscViewer"]["CheckStreamId"] = function(data, status) { + var lenArray = new Int32Array(Module["HEAP8"].buffer, data, 4); + var len = lenArray[0]; + len -= 4; + + var buffer = new Uint8Array(Module["HEAP8"].buffer, data + 4, len); + var reader = new CBinaryReader(buffer, 0, len); + + var name = reader.readString(); + var style = 0; + if (reader.readInt() != 0) + style |= 1;//AscFonts.FontStyle.FontStyleBold; + if (reader.readInt() != 0) + style |= 2;//AscFonts.FontStyle.FontStyleItalic; + + var file = AscFonts.pickFont(name, style); + var fileId = file.GetID(); + var fileStatus = file.GetStatus(); + + if (fileStatus == 0) + { + // шрифт загружен. + fontToMemory(file, true); + } + else + { + self.fontStreams[fileId] = self.fontStreams[fileId] || {}; + self.fontStreams[fileId].pages = self.fontStreams[fileId].pages || []; + addToArrayAsDictionary(self.fontStreams[fileId].pages, self.drawingFileCurrentPageIndex); + + if (self.drawingFile) + { + addToArrayAsDictionary(self.drawingFile.pages[self.drawingFileCurrentPageIndex].fonts, fileId); + } + + if (fileStatus != 2) + { + // шрифт не грузится - надо загрузить + var _t = file; + file.LoadFontAsync("../../../../fonts/", function(){ + fontToMemory(_t, true); + + var pages = self.fontStreams[fileId].pages; + delete self.fontStreams[fileId]; + var pagesRepaint = []; + for (var i = 0, len = pages.length; i < len; i++) + { + var pageObj = self.drawingFile.pages[pages[i]]; + var fonts = pageObj.fonts; + + for (var j = 0, len_fonts = fonts.length; j < len_fonts; j++) + { + if (fonts[j] == fileId) + { + fonts.splice(j, 1); + break; + } + } + if (0 == fonts.length) + pagesRepaint.push(pages[i]); + } + + if (pagesRepaint.length > 0) + { + if (self.drawingFile.onRepaintPages) + self.drawingFile.onRepaintPages(pagesRepaint); + } + }); + } + } + + var memoryBuffer = fileId.toUtf8(); + var pointer = Module["_malloc"](memoryBuffer.length); + Module.HEAP8.set(memoryBuffer, pointer); + Module["HEAP8"][status] = (fileStatus == 0) ? 1 : 0; + return pointer; + }; + + function fontToMemory(file, isCheck) + { + var idBuffer = file.GetID().toUtf8(); + var idPointer = Module["_malloc"](idBuffer.length); + Module["HEAP8"].set(idBuffer, idPointer); + + if (isCheck) + { + var nExist = Module["_IsFontBinaryExist"](idPointer); + if (nExist != 0) + { + Module["_free"](idPointer); + return; + } + } + + var stream_index = file.GetStreamIndex(); + var streams = AscFonts.getFontStreams(); + + var stream = AscFonts.getFontStream(stream_index); + var streamPointer = Module["_malloc"](stream.size); + Module["HEAP8"].set(stream.data, streamPointer); + + streams[stream_index] = null; + streams[stream_index] = streamPointer; + + Module["_SetFontBinary"](idPointer, streamPointer, stream.size); + + Module["_free"](streamPointer); + Module["_free"](idPointer); + } })(window, undefined); diff --git a/pdf/src/file.js b/pdf/src/file.js index 8e71045387..e898c8f77a 100644 --- a/pdf/src/file.js +++ b/pdf/src/file.js @@ -1,3 +1,35 @@ +/* + * (c) Copyright Ascensio System SIA 2010-2019 + * + * This program is a free software product. You can redistribute it and/or + * modify it under the terms of the GNU Affero General Public License (AGPL) + * version 3 as published by the Free Software Foundation. In accordance with + * Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect + * that Ascensio System SIA expressly excludes the warranty of non-infringement + * of any third-party rights. + * + * This program is distributed WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For + * details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html + * + * You can contact Ascensio System SIA at 20A-12 Ernesta Birznieka-Upisha + * street, Riga, Latvia, EU, LV-1050. + * + * The interactive user interfaces in modified source and object code versions + * of the Program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU AGPL version 3. + * + * Pursuant to Section 7(b) of the License you must retain the original Product + * logo when distributing the program. Pursuant to Section 7(e) we decline to + * grant you any rights under trademark law for use of our trademarks. + * + * All the Product's GUI elements, including illustrations and icon sets, as + * well as technical writing content are licensed under the terms of the + * Creative Commons Attribution-ShareAlike 4.0 International. See the License + * terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode + * + */ + (function(window, undefined) { var supportImageDataConstructor = (AscCommon.AscBrowser.isIE && !AscCommon.AscBrowser.isIeEdge) ? false : true; @@ -412,7 +444,19 @@ void main() {\n\ file.nativeFile = new window["AscViewer"]["CDrawingFile"](); if (file.nativeFile["loadFromData"](data)) { + file.nativeFile.onRepaintPages = function(pages) { + file.onRepaintPages && file.onRepaintPages(pages); + }; file.pages = file.nativeFile["getPages"](); + + for (var i = 0, len = file.pages.length; i < len; i++) + { + var page = file.pages[i]; + page.W = page["W"]; + page.H = page["H"]; + page.Dpi = page["Dpi"]; + } + file.cacheManager = new AscCommon.CCacheManager(); return file; } diff --git a/pdf/src/pdf/pdf.js b/pdf/src/pdf/pdf.js deleted file mode 100644 index 294a601c26..0000000000 --- a/pdf/src/pdf/pdf.js +++ /dev/null @@ -1,116 +0,0 @@ -(function(window, undefined) { - - var printErr = undefined; - var FS = undefined; - var print = undefined; - - var getBinaryPromise = null; - if (window["AscDesktopEditor"] && document.currentScript && 0 == document.currentScript.src.indexOf("file:///")) - { - // fetch not support file:/// scheme - window.fetch = undefined; - - getBinaryPromise = function() { - - var wasmPath = "ascdesktop://fonts/" + wasmBinaryFile.substr(8); - return new Promise(function (resolve, reject) { - - var xhr = new XMLHttpRequest(); - xhr.open('GET', wasmPath, true); - xhr.responseType = 'arraybuffer'; - - if (xhr.overrideMimeType) - xhr.overrideMimeType('text/plain; charset=x-user-defined'); - else - xhr.setRequestHeader('Accept-Charset', 'x-user-defined'); - - xhr.onload = function () { - if (this.status == 200) { - resolve(new Uint8Array(this.response)); - } - }; - - xhr.send(null); - - }); - } - } - else - { - getBinaryPromise = function() { - return getBinaryPromise2(); - } - } - - var Module=typeof Module!=="undefined"?Module:{};var moduleOverrides={};var key;for(key in Module){if(Module.hasOwnProperty(key)){moduleOverrides[key]=Module[key]}}var arguments_=[];var thisProgram="./this.program";var quit_=function(status,toThrow){throw toThrow};var ENVIRONMENT_IS_WEB=true;var ENVIRONMENT_IS_WORKER=false;var scriptDirectory="";function locateFile(path){if(Module["locateFile"]){return Module["locateFile"](path,scriptDirectory)}return scriptDirectory+path}var read_,readAsync,readBinary,setWindowTitle;if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){if(ENVIRONMENT_IS_WORKER){scriptDirectory=self.location.href}else if(document.currentScript){scriptDirectory=document.currentScript.src}if(scriptDirectory.indexOf("blob:")!==0){scriptDirectory=scriptDirectory.substr(0,scriptDirectory.lastIndexOf("/")+1)}else{scriptDirectory=""}{read_=function shell_read(url){var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return xhr.responseText};if(ENVIRONMENT_IS_WORKER){readBinary=function readBinary(url){var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.responseType="arraybuffer";xhr.send(null);return new Uint8Array(xhr.response)}}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)}}setWindowTitle=function(title){document.title=title}}else{}var out=Module["print"]||console.log.bind(console);var err=Module["printErr"]||console.warn.bind(console);for(key in moduleOverrides){if(moduleOverrides.hasOwnProperty(key)){Module[key]=moduleOverrides[key]}}moduleOverrides=null;if(Module["arguments"])arguments_=Module["arguments"];if(Module["thisProgram"])thisProgram=Module["thisProgram"];if(Module["quit"])quit_=Module["quit"];var tempRet0=0;var setTempRet0=function(value){tempRet0=value};var getTempRet0=function(){return tempRet0};var wasmBinary;if(Module["wasmBinary"])wasmBinary=Module["wasmBinary"];var noExitRuntime;if(Module["noExitRuntime"])noExitRuntime=Module["noExitRuntime"];if(typeof WebAssembly!=="object"){err("no native wasm support detected")}var wasmMemory;var wasmTable=new WebAssembly.Table({"initial":2708,"maximum":2708+0,"element":"anyfunc"});var ABORT=false;var EXITSTATUS=0;var UTF8Decoder=typeof TextDecoder!=="undefined"?new TextDecoder("utf8"):undefined;function UTF8ArrayToString(u8Array,idx,maxBytesToRead){var endIdx=idx+maxBytesToRead;var endPtr=idx;while(u8Array[endPtr]&&!(endPtr>=endIdx))++endPtr;if(endPtr-idx>16&&u8Array.subarray&&UTF8Decoder){return UTF8Decoder.decode(u8Array.subarray(idx,endPtr))}else{var str="";while(idx>10,56320|ch&1023)}}}return str}function UTF8ToString(ptr,maxBytesToRead){return ptr?UTF8ArrayToString(HEAPU8,ptr,maxBytesToRead):""}function stringToUTF8Array(str,outU8Array,outIdx,maxBytesToWrite){if(!(maxBytesToWrite>0))return 0;var startIdx=outIdx;var endIdx=outIdx+maxBytesToWrite-1;for(var i=0;i=55296&&u<=57343){var u1=str.charCodeAt(++i);u=65536+((u&1023)<<10)|u1&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(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}}outU8Array[outIdx]=0;return outIdx-startIdx}function stringToUTF8(str,outPtr,maxBytesToWrite){return stringToUTF8Array(str,HEAPU8,outPtr,maxBytesToWrite)}var UTF16Decoder=typeof TextDecoder!=="undefined"?new TextDecoder("utf-16le"):undefined;function writeAsciiToMemory(str,buffer,dontAddNull){for(var i=0;i>0]=str.charCodeAt(i)}if(!dontAddNull)HEAP8[buffer>>0]=0}var WASM_PAGE_SIZE=65536;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 updateGlobalBufferAndViews(buf){buffer=buf;Module["HEAP8"]=HEAP8=new Int8Array(buf);Module["HEAP16"]=HEAP16=new Int16Array(buf);Module["HEAP32"]=HEAP32=new Int32Array(buf);Module["HEAPU8"]=HEAPU8=new Uint8Array(buf);Module["HEAPU16"]=HEAPU16=new Uint16Array(buf);Module["HEAPU32"]=HEAPU32=new Uint32Array(buf);Module["HEAPF32"]=HEAPF32=new Float32Array(buf);Module["HEAPF64"]=HEAPF64=new Float64Array(buf)}var DYNAMIC_BASE=7293168,DYNAMICTOP_PTR=2050128;var INITIAL_TOTAL_MEMORY=Module["TOTAL_MEMORY"]||16777216;if(Module["wasmMemory"]){wasmMemory=Module["wasmMemory"]}else{wasmMemory=new WebAssembly.Memory({"initial":INITIAL_TOTAL_MEMORY/WASM_PAGE_SIZE})}if(wasmMemory){buffer=wasmMemory.buffer}INITIAL_TOTAL_MEMORY=buffer.byteLength;updateGlobalBufferAndViews(buffer);HEAP32[DYNAMICTOP_PTR>>2]=DYNAMIC_BASE;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 __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 initRuntime(){runtimeInitialized=true;callRuntimeCallbacks(__ATINIT__)}function preMain(){callRuntimeCallbacks(__ATMAIN__)}function exitRuntime(){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)}var runDependencies=0;var runDependencyWatcher=null;var dependenciesFulfilled=null;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"]={};function abort(what){if(Module["onAbort"]){Module["onAbort"](what)}what+="";out(what);err(what);ABORT=true;EXITSTATUS=1;what="abort("+what+"). Build with -s ASSERTIONS=1 for more info.";throw new WebAssembly.RuntimeError(what)}var dataURIPrefix="data:application/octet-stream;base64,";function isDataURI(filename){return String.prototype.startsWith?filename.startsWith(dataURIPrefix):filename.indexOf(dataURIPrefix)===0}var wasmBinaryFile="pdf.wasm";if(!isDataURI(wasmBinaryFile)){wasmBinaryFile=locateFile(wasmBinaryFile)}function getBinary(){try{if(wasmBinary){return new Uint8Array(wasmBinary)}if(readBinary){return readBinary(wasmBinaryFile)}else{throw"both async and sync fetching of the wasm failed"}}catch(err){abort(err)}}function getBinaryPromise2(){if(!wasmBinary&&(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)&&typeof fetch==="function"){return fetch(wasmBinaryFile,{credentials:"same-origin"}).then(function(response){if(!response["ok"]){throw"failed to load wasm binary file at '"+wasmBinaryFile+"'"}return response["arrayBuffer"]()}).catch(function(){return getBinary()})}return new Promise(function(resolve,reject){resolve(getBinary())})}function createWasm(){var info={"a":asmLibraryArg};function receiveInstance(instance,module){var exports=instance.exports;Module["asm"]=exports;removeRunDependency("wasm-instantiate")}addRunDependency("wasm-instantiate");function receiveInstantiatedSource(output){receiveInstance(output["instance"])}function instantiateArrayBuffer(receiver){return getBinaryPromise().then(function(binary){return WebAssembly.instantiate(binary,info)}).then(receiver,function(reason){err("failed to asynchronously prepare wasm: "+reason);abort(reason)})}function instantiateAsync(){if(!wasmBinary&&typeof WebAssembly.instantiateStreaming==="function"&&!isDataURI(wasmBinaryFile)&&typeof fetch==="function"){fetch(wasmBinaryFile,{credentials:"same-origin"}).then(function(response){var result=WebAssembly.instantiateStreaming(response,info);return result.then(receiveInstantiatedSource,function(reason){err("wasm streaming compile failed: "+reason);err("falling back to ArrayBuffer instantiation");instantiateArrayBuffer(receiveInstantiatedSource)})})}else{return instantiateArrayBuffer(receiveInstantiatedSource)}}if(Module["instantiateWasm"]){try{var exports=Module["instantiateWasm"](info,receiveInstance);return exports}catch(e){err("Module.instantiateWasm callback failed with error: "+e);return false}}instantiateAsync();return{}}__ATINIT__.push({func:function(){___wasm_call_ctors()}});function ___lock(){}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)}};var SYSCALLS={buffers:[null,[],[]],printChar:function(stream,curr){var buffer=SYSCALLS.buffers[stream];if(curr===0||curr===10){(stream===1?out:err)(UTF8ArrayToString(buffer,0));buffer.length=0}else{buffer.push(curr)}},varargs:0,get:function(varargs){SYSCALLS.varargs+=4;var ret=HEAP32[SYSCALLS.varargs-4>>2];return ret},getStr:function(){var ret=UTF8ToString(SYSCALLS.get());return ret},get64:function(){var low=SYSCALLS.get(),high=SYSCALLS.get();return low},getZero:function(){SYSCALLS.get()}};function ___syscall10(which,varargs){SYSCALLS.varargs=varargs;try{var path=SYSCALLS.getStr();FS.unlink(path);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}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 ___syscall221(which,varargs){SYSCALLS.varargs=varargs;try{return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall40(which,varargs){SYSCALLS.varargs=varargs;try{var path=SYSCALLS.getStr();FS.rmdir(path);return 0}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{return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___unlock(){}function _emscripten_get_heap_size(){return HEAP8.length}var setjmpId=0;function _saveSetjmp(env,label,table,size){env=env|0;label=label|0;table=table|0;size=size|0;var i=0;setjmpId=setjmpId+1|0;HEAP32[env>>2]=setjmpId;while((i|0)<(size|0)){if((HEAP32[table+(i<<3)>>2]|0)==0){HEAP32[table+(i<<3)>>2]=setjmpId;HEAP32[table+((i<<3)+4)>>2]=label;HEAP32[table+((i<<3)+8)>>2]=0;setTempRet0(size|0);return table|0}i=i+1|0}size=size*2|0;table=_realloc(table|0,8*(size+1|0)|0)|0;table=_saveSetjmp(env|0,label|0,table|0,size|0)|0;setTempRet0(size|0);return table|0}function _testSetjmp(id,table,size){id=id|0;table=table|0;size=size|0;var i=0,curr=0;while((i|0)<(size|0)){curr=HEAP32[table+(i<<3)>>2]|0;if((curr|0)==0)break;if((curr|0)==(id|0)){return HEAP32[table+((i<<3)+4)>>2]|0}i=i+1|0}return 0}function _longjmp(env,value){_setThrew(env,value||1);throw"longjmp"}function _emscripten_longjmp(env,value){_longjmp(env,value)}function _emscripten_memcpy_big(dest,src,num){HEAPU8.set(HEAPU8.subarray(src,src+num),dest)}function emscripten_realloc_buffer(size){try{wasmMemory.grow(size-buffer.byteLength+65535>>16);updateGlobalBufferAndViews(wasmMemory.buffer);return 1}catch(e){}}function _emscripten_resize_heap(requestedSize){var oldSize=_emscripten_get_heap_size();var PAGE_MULTIPLE=65536;var maxHeapSize=2147483648-PAGE_MULTIPLE;if(requestedSize>maxHeapSize){return false}var minHeapSize=16777216;for(var cutDown=1;cutDown<=4;cutDown*=2){var overGrownHeapSize=oldSize*(1+.2/cutDown);overGrownHeapSize=Math.min(overGrownHeapSize,requestedSize+100663296);var newSize=Math.min(maxHeapSize,alignUp(Math.max(minHeapSize,requestedSize,overGrownHeapSize),PAGE_MULTIPLE));var replacement=emscripten_realloc_buffer(newSize);if(replacement){return true}}return false}var ENV={};function _emscripten_get_environ(){if(!_emscripten_get_environ.strings){var env={"USER":"web_user","LOGNAME":"web_user","PATH":"/","PWD":"/","HOME":"/home/web_user","LANG":(typeof navigator==="object"&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8","_":thisProgram};for(var x in ENV){env[x]=ENV[x]}var strings=[];for(var x in env){strings.push(x+"="+env[x])}_emscripten_get_environ.strings=strings}return _emscripten_get_environ.strings}function _environ_get(__environ,environ_buf){var strings=_emscripten_get_environ();var bufSize=0;strings.forEach(function(string,i){var ptr=environ_buf+bufSize;HEAP32[__environ+i*4>>2]=ptr;writeAsciiToMemory(string,ptr);bufSize+=string.length+1});return 0}function _environ_sizes_get(penviron_count,penviron_buf_size){var strings=_emscripten_get_environ();HEAP32[penviron_count>>2]=strings.length;var bufSize=0;strings.forEach(function(string){bufSize+=string.length+1});HEAP32[penviron_buf_size>>2]=bufSize;return 0}function _exit(status){exit(status)}function _fd_close(fd){try{return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function _fd_read(fd,iov,iovcnt,pnum){try{var stream=SYSCALLS.getStreamFromFD(fd);var num=SYSCALLS.doReadv(stream,iov,iovcnt);HEAP32[pnum>>2]=num;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function _fd_seek(fd,offset_low,offset_high,whence,newOffset){try{return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function _fd_write(fd,iov,iovcnt,pnum){try{var num=0;for(var i=0;i>2];var len=HEAP32[iov+(i*8+4)>>2];for(var j=0;j>2]=num;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return e.errno}}function _getTempRet0(){return getTempRet0()|0}var ___tm_current=2050144;var ___tm_timezone=(stringToUTF8("GMT",2050192,4),2050192);function _gmtime_r(time,tmPtr){var date=new Date(HEAP32[time>>2]*1e3);HEAP32[tmPtr>>2]=date.getUTCSeconds();HEAP32[tmPtr+4>>2]=date.getUTCMinutes();HEAP32[tmPtr+8>>2]=date.getUTCHours();HEAP32[tmPtr+12>>2]=date.getUTCDate();HEAP32[tmPtr+16>>2]=date.getUTCMonth();HEAP32[tmPtr+20>>2]=date.getUTCFullYear()-1900;HEAP32[tmPtr+24>>2]=date.getUTCDay();HEAP32[tmPtr+36>>2]=0;HEAP32[tmPtr+32>>2]=0;var start=Date.UTC(date.getUTCFullYear(),0,1,0,0,0,0);var yday=(date.getTime()-start)/(1e3*60*60*24)|0;HEAP32[tmPtr+28>>2]=yday;HEAP32[tmPtr+40>>2]=___tm_timezone;return tmPtr}function _gmtime(time){return _gmtime_r(time,___tm_current)}function _setTempRet0($i){setTempRet0($i|0)}function _time(ptr){var ret=Date.now()/1e3|0;if(ptr){HEAP32[ptr>>2]=ret}return ret}var asmLibraryArg={"Ea":___lock,"Da":___syscall10,"Fa":___syscall195,"S":___syscall221,"Ca":___syscall40,"Ba":___syscall5,"Aa":___syscall54,"L":___unlock,"d":_emscripten_longjmp,"ua":_emscripten_memcpy_big,"va":_emscripten_resize_heap,"wa":_environ_get,"xa":_environ_sizes_get,"da":_exit,"T":_fd_close,"za":_fd_read,"ha":_fd_seek,"ya":_fd_write,"a":_getTempRet0,"Z":_gmtime,"x":invoke_fii,"p":invoke_fiii,"F":invoke_fiiii,"i":invoke_ii,"aa":invoke_iif,"e":invoke_iii,"La":invoke_iiidi,"Q":invoke_iiiffffiii,"ea":invoke_iiiffiiiiiii,"f":invoke_iiii,"Ja":invoke_iiiif,"m":invoke_iiiii,"Ga":invoke_iiiiifffiiii,"K":invoke_iiiiiffi,"ga":invoke_iiiiiffii,"_":invoke_iiiiiffiifii,"fa":invoke_iiiiifiii,"o":invoke_iiiiii,"r":invoke_iiiiiii,"u":invoke_iiiiiiii,"y":invoke_iiiiiiiii,"I":invoke_iiiiiiiiii,"ca":invoke_iiiiiiiiiii,"N":invoke_iiiiiiiiiiiiii,"Ka":invoke_iiiiiiiiiiiiiiiii,"ra":invoke_iiiiiiiij,"ia":invoke_iiiiij,"sa":invoke_iiiij,"ja":invoke_iiiji,"pa":invoke_iij,"oa":invoke_jii,"ka":invoke_jiiji,"l":invoke_vi,"g":invoke_vii,"ba":invoke_viid,"z":invoke_viif,"w":invoke_viiff,"W":invoke_viifff,"B":invoke_viiffff,"E":invoke_viiffffff,"U":invoke_viifffiiff,"X":invoke_viiffii,"j":invoke_viii,"Ha":invoke_viiid,"Y":invoke_viiif,"$":invoke_viiifffffiii,"Ia":invoke_viiififi,"h":invoke_viiii,"V":invoke_viiiif,"t":invoke_viiiiff,"D":invoke_viiiifi,"n":invoke_viiiii,"q":invoke_viiiiii,"H":invoke_viiiiiifi,"M":invoke_viiiiiifiifffffiii,"s":invoke_viiiiiii,"G":invoke_viiiiiiif,"A":invoke_viiiiiiifi,"v":invoke_viiiiiiii,"J":invoke_viiiiiiiii,"O":invoke_viiiiiiiiii,"P":invoke_viiiiiiiiiii,"C":invoke_viiiiiiiiiiiii,"na":invoke_viiij,"qa":invoke_viij,"ma":invoke_viiji,"la":invoke_viijii,"ta":invoke_vij,"memory":wasmMemory,"k":_saveSetjmp,"b":_setTempRet0,"table":wasmTable,"c":_testSetjmp,"R":_time};var asm=createWasm();Module["asm"]=asm;var ___wasm_call_ctors=Module["___wasm_call_ctors"]=function(){return(___wasm_call_ctors=Module["___wasm_call_ctors"]=Module["asm"]["Ma"]).apply(null,arguments)};var _Pdf_Load=Module["_Pdf_Load"]=function(){return(_Pdf_Load=Module["_Pdf_Load"]=Module["asm"]["Na"]).apply(null,arguments)};var _Pdf_Close=Module["_Pdf_Close"]=function(){return(_Pdf_Close=Module["_Pdf_Close"]=Module["asm"]["Oa"]).apply(null,arguments)};var _Pdf_GetInfo=Module["_Pdf_GetInfo"]=function(){return(_Pdf_GetInfo=Module["_Pdf_GetInfo"]=Module["asm"]["Pa"]).apply(null,arguments)};var _Pdf_GetPixmap=Module["_Pdf_GetPixmap"]=function(){return(_Pdf_GetPixmap=Module["_Pdf_GetPixmap"]=Module["asm"]["Qa"]).apply(null,arguments)};var _Pdf_Delete=Module["_Pdf_Delete"]=function(){return(_Pdf_Delete=Module["_Pdf_Delete"]=Module["asm"]["Ra"]).apply(null,arguments)};var _malloc=Module["_malloc"]=function(){return(_malloc=Module["_malloc"]=Module["asm"]["Sa"]).apply(null,arguments)};var _free=Module["_free"]=function(){return(_free=Module["_free"]=Module["asm"]["Ta"]).apply(null,arguments)};var _realloc=Module["_realloc"]=function(){return(_realloc=Module["_realloc"]=Module["asm"]["Ua"]).apply(null,arguments)};var _setThrew=Module["_setThrew"]=function(){return(_setThrew=Module["_setThrew"]=Module["asm"]["Va"]).apply(null,arguments)};var dynCall_v=Module["dynCall_v"]=function(){return(dynCall_v=Module["dynCall_v"]=Module["asm"]["Wa"]).apply(null,arguments)};var dynCall_vi=Module["dynCall_vi"]=function(){return(dynCall_vi=Module["dynCall_vi"]=Module["asm"]["Xa"]).apply(null,arguments)};var dynCall_vii=Module["dynCall_vii"]=function(){return(dynCall_vii=Module["dynCall_vii"]=Module["asm"]["Ya"]).apply(null,arguments)};var dynCall_viii=Module["dynCall_viii"]=function(){return(dynCall_viii=Module["dynCall_viii"]=Module["asm"]["Za"]).apply(null,arguments)};var dynCall_viiii=Module["dynCall_viiii"]=function(){return(dynCall_viiii=Module["dynCall_viiii"]=Module["asm"]["_a"]).apply(null,arguments)};var dynCall_viiiii=Module["dynCall_viiiii"]=function(){return(dynCall_viiiii=Module["dynCall_viiiii"]=Module["asm"]["$a"]).apply(null,arguments)};var dynCall_viiiiii=Module["dynCall_viiiiii"]=function(){return(dynCall_viiiiii=Module["dynCall_viiiiii"]=Module["asm"]["ab"]).apply(null,arguments)};var dynCall_viiiiiii=Module["dynCall_viiiiiii"]=function(){return(dynCall_viiiiiii=Module["dynCall_viiiiiii"]=Module["asm"]["bb"]).apply(null,arguments)};var dynCall_viiiiiiii=Module["dynCall_viiiiiiii"]=function(){return(dynCall_viiiiiiii=Module["dynCall_viiiiiiii"]=Module["asm"]["cb"]).apply(null,arguments)};var dynCall_viiiiiiiii=Module["dynCall_viiiiiiiii"]=function(){return(dynCall_viiiiiiiii=Module["dynCall_viiiiiiiii"]=Module["asm"]["db"]).apply(null,arguments)};var dynCall_viiiiiiiiii=Module["dynCall_viiiiiiiiii"]=function(){return(dynCall_viiiiiiiiii=Module["dynCall_viiiiiiiiii"]=Module["asm"]["eb"]).apply(null,arguments)};var dynCall_viiiiiiiiiii=Module["dynCall_viiiiiiiiiii"]=function(){return(dynCall_viiiiiiiiiii=Module["dynCall_viiiiiiiiiii"]=Module["asm"]["fb"]).apply(null,arguments)};var dynCall_viiiiiiiiiiiii=Module["dynCall_viiiiiiiiiiiii"]=function(){return(dynCall_viiiiiiiiiiiii=Module["dynCall_viiiiiiiiiiiii"]=Module["asm"]["gb"]).apply(null,arguments)};var dynCall_viiiiiiif=Module["dynCall_viiiiiiif"]=function(){return(dynCall_viiiiiiif=Module["dynCall_viiiiiiif"]=Module["asm"]["hb"]).apply(null,arguments)};var dynCall_viiiiiiifi=Module["dynCall_viiiiiiifi"]=function(){return(dynCall_viiiiiiifi=Module["dynCall_viiiiiiifi"]=Module["asm"]["ib"]).apply(null,arguments)};var dynCall_viiiiiifi=Module["dynCall_viiiiiifi"]=function(){return(dynCall_viiiiiifi=Module["dynCall_viiiiiifi"]=Module["asm"]["jb"]).apply(null,arguments)};var dynCall_viiiiiifiifffffiii=Module["dynCall_viiiiiifiifffffiii"]=function(){return(dynCall_viiiiiifiifffffiii=Module["dynCall_viiiiiifiifffffiii"]=Module["asm"]["kb"]).apply(null,arguments)};var dynCall_viiiif=Module["dynCall_viiiif"]=function(){return(dynCall_viiiif=Module["dynCall_viiiif"]=Module["asm"]["lb"]).apply(null,arguments)};var dynCall_viiiifi=Module["dynCall_viiiifi"]=function(){return(dynCall_viiiifi=Module["dynCall_viiiifi"]=Module["asm"]["mb"]).apply(null,arguments)};var dynCall_viiiiff=Module["dynCall_viiiiff"]=function(){return(dynCall_viiiiff=Module["dynCall_viiiiff"]=Module["asm"]["nb"]).apply(null,arguments)};var dynCall_viiij=Module["dynCall_viiij"]=function(){return(dynCall_viiij=Module["dynCall_viiij"]=Module["asm"]["ob"]).apply(null,arguments)};var dynCall_viiif=Module["dynCall_viiif"]=function(){return(dynCall_viiif=Module["dynCall_viiif"]=Module["asm"]["pb"]).apply(null,arguments)};var dynCall_viiififi=Module["dynCall_viiififi"]=function(){return(dynCall_viiififi=Module["dynCall_viiififi"]=Module["asm"]["qb"]).apply(null,arguments)};var dynCall_viiifffffiii=Module["dynCall_viiifffffiii"]=function(){return(dynCall_viiifffffiii=Module["dynCall_viiifffffiii"]=Module["asm"]["rb"]).apply(null,arguments)};var dynCall_viiid=Module["dynCall_viiid"]=function(){return(dynCall_viiid=Module["dynCall_viiid"]=Module["asm"]["sb"]).apply(null,arguments)};var dynCall_viij=Module["dynCall_viij"]=function(){return(dynCall_viij=Module["dynCall_viij"]=Module["asm"]["tb"]).apply(null,arguments)};var dynCall_viiji=Module["dynCall_viiji"]=function(){return(dynCall_viiji=Module["dynCall_viiji"]=Module["asm"]["ub"]).apply(null,arguments)};var dynCall_viijii=Module["dynCall_viijii"]=function(){return(dynCall_viijii=Module["dynCall_viijii"]=Module["asm"]["vb"]).apply(null,arguments)};var dynCall_viif=Module["dynCall_viif"]=function(){return(dynCall_viif=Module["dynCall_viif"]=Module["asm"]["wb"]).apply(null,arguments)};var dynCall_viiff=Module["dynCall_viiff"]=function(){return(dynCall_viiff=Module["dynCall_viiff"]=Module["asm"]["xb"]).apply(null,arguments)};var dynCall_viiffii=Module["dynCall_viiffii"]=function(){return(dynCall_viiffii=Module["dynCall_viiffii"]=Module["asm"]["yb"]).apply(null,arguments)};var dynCall_viifff=Module["dynCall_viifff"]=function(){return(dynCall_viifff=Module["dynCall_viifff"]=Module["asm"]["zb"]).apply(null,arguments)};var dynCall_viifffiiff=Module["dynCall_viifffiiff"]=function(){return(dynCall_viifffiiff=Module["dynCall_viifffiiff"]=Module["asm"]["Ab"]).apply(null,arguments)};var dynCall_viiffff=Module["dynCall_viiffff"]=function(){return(dynCall_viiffff=Module["dynCall_viiffff"]=Module["asm"]["Bb"]).apply(null,arguments)};var dynCall_viiffffff=Module["dynCall_viiffffff"]=function(){return(dynCall_viiffffff=Module["dynCall_viiffffff"]=Module["asm"]["Cb"]).apply(null,arguments)};var dynCall_viid=Module["dynCall_viid"]=function(){return(dynCall_viid=Module["dynCall_viid"]=Module["asm"]["Db"]).apply(null,arguments)};var dynCall_vij=Module["dynCall_vij"]=function(){return(dynCall_vij=Module["dynCall_vij"]=Module["asm"]["Eb"]).apply(null,arguments)};var dynCall_ii=Module["dynCall_ii"]=function(){return(dynCall_ii=Module["dynCall_ii"]=Module["asm"]["Fb"]).apply(null,arguments)};var dynCall_iii=Module["dynCall_iii"]=function(){return(dynCall_iii=Module["dynCall_iii"]=Module["asm"]["Gb"]).apply(null,arguments)};var dynCall_iiii=Module["dynCall_iiii"]=function(){return(dynCall_iiii=Module["dynCall_iiii"]=Module["asm"]["Hb"]).apply(null,arguments)};var dynCall_iiiii=Module["dynCall_iiiii"]=function(){return(dynCall_iiiii=Module["dynCall_iiiii"]=Module["asm"]["Ib"]).apply(null,arguments)};var dynCall_iiiiii=Module["dynCall_iiiiii"]=function(){return(dynCall_iiiiii=Module["dynCall_iiiiii"]=Module["asm"]["Jb"]).apply(null,arguments)};var dynCall_iiiiiii=Module["dynCall_iiiiiii"]=function(){return(dynCall_iiiiiii=Module["dynCall_iiiiiii"]=Module["asm"]["Kb"]).apply(null,arguments)};var dynCall_iiiiiiii=Module["dynCall_iiiiiiii"]=function(){return(dynCall_iiiiiiii=Module["dynCall_iiiiiiii"]=Module["asm"]["Lb"]).apply(null,arguments)};var dynCall_iiiiiiiii=Module["dynCall_iiiiiiiii"]=function(){return(dynCall_iiiiiiiii=Module["dynCall_iiiiiiiii"]=Module["asm"]["Mb"]).apply(null,arguments)};var dynCall_iiiiiiiiii=Module["dynCall_iiiiiiiiii"]=function(){return(dynCall_iiiiiiiiii=Module["dynCall_iiiiiiiiii"]=Module["asm"]["Nb"]).apply(null,arguments)};var dynCall_iiiiiiiiiii=Module["dynCall_iiiiiiiiiii"]=function(){return(dynCall_iiiiiiiiiii=Module["dynCall_iiiiiiiiiii"]=Module["asm"]["Ob"]).apply(null,arguments)};var dynCall_iiiiiiiiiiiiii=Module["dynCall_iiiiiiiiiiiiii"]=function(){return(dynCall_iiiiiiiiiiiiii=Module["dynCall_iiiiiiiiiiiiii"]=Module["asm"]["Pb"]).apply(null,arguments)};var dynCall_iiiiiiiiiiiiiiiii=Module["dynCall_iiiiiiiiiiiiiiiii"]=function(){return(dynCall_iiiiiiiiiiiiiiiii=Module["dynCall_iiiiiiiiiiiiiiiii"]=Module["asm"]["Qb"]).apply(null,arguments)};var dynCall_iiiiiiiij=Module["dynCall_iiiiiiiij"]=function(){return(dynCall_iiiiiiiij=Module["dynCall_iiiiiiiij"]=Module["asm"]["Rb"]).apply(null,arguments)};var dynCall_iiiiij=Module["dynCall_iiiiij"]=function(){return(dynCall_iiiiij=Module["dynCall_iiiiij"]=Module["asm"]["Sb"]).apply(null,arguments)};var dynCall_iiiiifiii=Module["dynCall_iiiiifiii"]=function(){return(dynCall_iiiiifiii=Module["dynCall_iiiiifiii"]=Module["asm"]["Tb"]).apply(null,arguments)};var dynCall_iiiiiffi=Module["dynCall_iiiiiffi"]=function(){return(dynCall_iiiiiffi=Module["dynCall_iiiiiffi"]=Module["asm"]["Ub"]).apply(null,arguments)};var dynCall_iiiiiffii=Module["dynCall_iiiiiffii"]=function(){return(dynCall_iiiiiffii=Module["dynCall_iiiiiffii"]=Module["asm"]["Vb"]).apply(null,arguments)};var dynCall_iiiiiffiifii=Module["dynCall_iiiiiffiifii"]=function(){return(dynCall_iiiiiffiifii=Module["dynCall_iiiiiffiifii"]=Module["asm"]["Wb"]).apply(null,arguments)};var dynCall_iiiiifffiiii=Module["dynCall_iiiiifffiiii"]=function(){return(dynCall_iiiiifffiiii=Module["dynCall_iiiiifffiiii"]=Module["asm"]["Xb"]).apply(null,arguments)};var dynCall_iiiij=Module["dynCall_iiiij"]=function(){return(dynCall_iiiij=Module["dynCall_iiiij"]=Module["asm"]["Yb"]).apply(null,arguments)};var dynCall_iiiif=Module["dynCall_iiiif"]=function(){return(dynCall_iiiif=Module["dynCall_iiiif"]=Module["asm"]["Zb"]).apply(null,arguments)};var dynCall_iiiji=Module["dynCall_iiiji"]=function(){return(dynCall_iiiji=Module["dynCall_iiiji"]=Module["asm"]["_b"]).apply(null,arguments)};var dynCall_iiiffiiiiiii=Module["dynCall_iiiffiiiiiii"]=function(){return(dynCall_iiiffiiiiiii=Module["dynCall_iiiffiiiiiii"]=Module["asm"]["$b"]).apply(null,arguments)};var dynCall_iiiffffiii=Module["dynCall_iiiffffiii"]=function(){return(dynCall_iiiffffiii=Module["dynCall_iiiffffiii"]=Module["asm"]["ac"]).apply(null,arguments)};var dynCall_iiidi=Module["dynCall_iiidi"]=function(){return(dynCall_iiidi=Module["dynCall_iiidi"]=Module["asm"]["bc"]).apply(null,arguments)};var dynCall_iij=Module["dynCall_iij"]=function(){return(dynCall_iij=Module["dynCall_iij"]=Module["asm"]["cc"]).apply(null,arguments)};var dynCall_iif=Module["dynCall_iif"]=function(){return(dynCall_iif=Module["dynCall_iif"]=Module["asm"]["dc"]).apply(null,arguments)};var dynCall_jii=Module["dynCall_jii"]=function(){return(dynCall_jii=Module["dynCall_jii"]=Module["asm"]["ec"]).apply(null,arguments)};var dynCall_jiiji=Module["dynCall_jiiji"]=function(){return(dynCall_jiiji=Module["dynCall_jiiji"]=Module["asm"]["fc"]).apply(null,arguments)};var dynCall_fii=Module["dynCall_fii"]=function(){return(dynCall_fii=Module["dynCall_fii"]=Module["asm"]["gc"]).apply(null,arguments)};var dynCall_fiii=Module["dynCall_fiii"]=function(){return(dynCall_fiii=Module["dynCall_fiii"]=Module["asm"]["hc"]).apply(null,arguments)};var dynCall_fiiii=Module["dynCall_fiiii"]=function(){return(dynCall_fiiii=Module["dynCall_fiiii"]=Module["asm"]["ic"]).apply(null,arguments)};var stackSave=Module["stackSave"]=function(){return(stackSave=Module["stackSave"]=Module["asm"]["jc"]).apply(null,arguments)};var stackRestore=Module["stackRestore"]=function(){return(stackRestore=Module["stackRestore"]=Module["asm"]["kc"]).apply(null,arguments)};function invoke_iiii(index,a1,a2,a3){var sp=stackSave();try{return dynCall_iiii(index,a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_ii(index,a1){var sp=stackSave();try{return dynCall_ii(index,a1)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iii(index,a1,a2){var sp=stackSave();try{return dynCall_iii(index,a1,a2)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_vii(index,a1,a2){var sp=stackSave();try{dynCall_vii(index,a1,a2)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_vi(index,a1){var sp=stackSave();try{dynCall_vi(index,a1)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiiiiii(index,a1,a2,a3,a4,a5,a6,a7){var sp=stackSave();try{return dynCall_iiiiiiii(index,a1,a2,a3,a4,a5,a6,a7)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiii(index,a1,a2,a3,a4){var sp=stackSave();try{dynCall_viiii(index,a1,a2,a3,a4)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiidi(index,a1,a2,a3,a4){var sp=stackSave();try{return dynCall_iiidi(index,a1,a2,a3,a4)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiiii(index,a1,a2,a3,a4,a5){var sp=stackSave();try{return dynCall_iiiiii(index,a1,a2,a3,a4,a5)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiii(index,a1,a2,a3,a4){var sp=stackSave();try{return dynCall_iiiii(index,a1,a2,a3,a4)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viii(index,a1,a2,a3){var sp=stackSave();try{dynCall_viii(index,a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiiiii(index,a1,a2,a3,a4,a5,a6){var sp=stackSave();try{return dynCall_iiiiiii(index,a1,a2,a3,a4,a5,a6)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9){var sp=stackSave();try{return dynCall_iiiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiiiii(index,a1,a2,a3,a4,a5,a6){var sp=stackSave();try{dynCall_viiiiii(index,a1,a2,a3,a4,a5,a6)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiiii(index,a1,a2,a3,a4,a5){var sp=stackSave();try{dynCall_viiiii(index,a1,a2,a3,a4,a5)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiiiiiifi(index,a1,a2,a3,a4,a5,a6,a7,a8,a9){var sp=stackSave();try{dynCall_viiiiiiifi(index,a1,a2,a3,a4,a5,a6,a7,a8,a9)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiiiiifi(index,a1,a2,a3,a4,a5,a6,a7,a8){var sp=stackSave();try{dynCall_viiiiiifi(index,a1,a2,a3,a4,a5,a6,a7,a8)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiiifi(index,a1,a2,a3,a4,a5,a6){var sp=stackSave();try{dynCall_viiiifi(index,a1,a2,a3,a4,a5,a6)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiiiiii(index,a1,a2,a3,a4,a5,a6,a7){var sp=stackSave();try{dynCall_viiiiiii(index,a1,a2,a3,a4,a5,a6,a7)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiiiiiif(index,a1,a2,a3,a4,a5,a6,a7,a8){var sp=stackSave();try{dynCall_viiiiiiif(index,a1,a2,a3,a4,a5,a6,a7,a8)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiiiffii(index,a1,a2,a3,a4,a5,a6,a7,a8){var sp=stackSave();try{return dynCall_iiiiiffii(index,a1,a2,a3,a4,a5,a6,a7,a8)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8){var sp=stackSave();try{return dynCall_iiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiff(index,a1,a2,a3,a4){var sp=stackSave();try{dynCall_viiff(index,a1,a2,a3,a4)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viif(index,a1,a2,a3){var sp=stackSave();try{dynCall_viif(index,a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiffffiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9){var sp=stackSave();try{return dynCall_iiiffffiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiiifiii(index,a1,a2,a3,a4,a5,a6,a7,a8){var sp=stackSave();try{return dynCall_iiiiifiii(index,a1,a2,a3,a4,a5,a6,a7,a8)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiiiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11){var sp=stackSave();try{dynCall_viiiiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8){var sp=stackSave();try{dynCall_viiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiffiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11){var sp=stackSave();try{return dynCall_iiiffiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10){var sp=stackSave();try{dynCall_viiiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiiiiiiiiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16){var sp=stackSave();try{return dynCall_iiiiiiiiiiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10){var sp=stackSave();try{return dynCall_iiiiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiiiiiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13){var sp=stackSave();try{return dynCall_iiiiiiiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiiiiiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13){var sp=stackSave();try{dynCall_viiiiiiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viid(index,a1,a2,a3){var sp=stackSave();try{dynCall_viid(index,a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iif(index,a1,a2){var sp=stackSave();try{return dynCall_iif(index,a1,a2)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiif(index,a1,a2,a3,a4){var sp=stackSave();try{return dynCall_iiiif(index,a1,a2,a3,a4)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_fiii(index,a1,a2,a3){var sp=stackSave();try{return dynCall_fiii(index,a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_fii(index,a1,a2){var sp=stackSave();try{return dynCall_fii(index,a1,a2)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_fiiii(index,a1,a2,a3,a4){var sp=stackSave();try{return dynCall_fiiii(index,a1,a2,a3,a4)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiffff(index,a1,a2,a3,a4,a5,a6){var sp=stackSave();try{dynCall_viiffff(index,a1,a2,a3,a4,a5,a6)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiififi(index,a1,a2,a3,a4,a5,a6,a7){var sp=stackSave();try{dynCall_viiififi(index,a1,a2,a3,a4,a5,a6,a7)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiid(index,a1,a2,a3,a4){var sp=stackSave();try{dynCall_viiid(index,a1,a2,a3,a4)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiifffffiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11){var sp=stackSave();try{dynCall_viiifffffiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiiiiifiifffffiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17){var sp=stackSave();try{dynCall_viiiiiifiifffffiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiiiffi(index,a1,a2,a3,a4,a5,a6,a7){var sp=stackSave();try{return dynCall_iiiiiffi(index,a1,a2,a3,a4,a5,a6,a7)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiiiffiifii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11){var sp=stackSave();try{return dynCall_iiiiiffiifii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9){var sp=stackSave();try{dynCall_viiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiiiff(index,a1,a2,a3,a4,a5,a6){var sp=stackSave();try{dynCall_viiiiff(index,a1,a2,a3,a4,a5,a6)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiffffff(index,a1,a2,a3,a4,a5,a6,a7,a8){var sp=stackSave();try{dynCall_viiffffff(index,a1,a2,a3,a4,a5,a6,a7,a8)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiif(index,a1,a2,a3,a4){var sp=stackSave();try{dynCall_viiif(index,a1,a2,a3,a4)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiffii(index,a1,a2,a3,a4,a5,a6){var sp=stackSave();try{dynCall_viiffii(index,a1,a2,a3,a4,a5,a6)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viifff(index,a1,a2,a3,a4,a5){var sp=stackSave();try{dynCall_viifff(index,a1,a2,a3,a4,a5)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiiif(index,a1,a2,a3,a4,a5){var sp=stackSave();try{dynCall_viiiif(index,a1,a2,a3,a4,a5)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiiifffiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11){var sp=stackSave();try{return dynCall_iiiiifffiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viifffiiff(index,a1,a2,a3,a4,a5,a6,a7,a8,a9){var sp=stackSave();try{dynCall_viifffiiff(index,a1,a2,a3,a4,a5,a6,a7,a8,a9)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_vij(index,a1,a2,a3){var sp=stackSave();try{dynCall_vij(index,a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiij(index,a1,a2,a3,a4,a5){var sp=stackSave();try{return dynCall_iiiij(index,a1,a2,a3,a4,a5)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiiiiiij(index,a1,a2,a3,a4,a5,a6,a7,a8,a9){var sp=stackSave();try{return dynCall_iiiiiiiij(index,a1,a2,a3,a4,a5,a6,a7,a8,a9)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viij(index,a1,a2,a3,a4){var sp=stackSave();try{dynCall_viij(index,a1,a2,a3,a4)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iij(index,a1,a2,a3){var sp=stackSave();try{return dynCall_iij(index,a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_jii(index,a1,a2){var sp=stackSave();try{return dynCall_jii(index,a1,a2)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiij(index,a1,a2,a3,a4,a5){var sp=stackSave();try{dynCall_viiij(index,a1,a2,a3,a4,a5)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiji(index,a1,a2,a3,a4,a5){var sp=stackSave();try{dynCall_viiji(index,a1,a2,a3,a4,a5)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viijii(index,a1,a2,a3,a4,a5,a6){var sp=stackSave();try{dynCall_viijii(index,a1,a2,a3,a4,a5,a6)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_jiiji(index,a1,a2,a3,a4,a5){var sp=stackSave();try{return dynCall_jiiji(index,a1,a2,a3,a4,a5)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiji(index,a1,a2,a3,a4,a5){var sp=stackSave();try{return dynCall_iiiji(index,a1,a2,a3,a4,a5)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiiij(index,a1,a2,a3,a4,a5,a6){var sp=stackSave();try{return dynCall_iiiiij(index,a1,a2,a3,a4,a5,a6)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}Module["asm"]=asm;var calledRun;function ExitStatus(status){this.name="ExitStatus";this.message="Program terminated with exit("+status+")";this.status=status}dependenciesFulfilled=function runCaller(){if(!calledRun)run();if(!calledRun)dependenciesFulfilled=runCaller};function run(args){args=args||arguments_;if(runDependencies>0){return}preRun();if(runDependencies>0)return;function doRun(){if(calledRun)return;calledRun=true;if(ABORT)return;initRuntime();preMain();if(Module["onRuntimeInitialized"])Module["onRuntimeInitialized"]();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&&noExitRuntime&&status===0){return}if(noExitRuntime){}else{ABORT=true;EXITSTATUS=status;exitRuntime();if(Module["onExit"])Module["onExit"](status)}quit_(status,new ExitStatus(status))}if(Module["preInit"]){if(typeof Module["preInit"]=="function")Module["preInit"]=[Module["preInit"]];while(Module["preInit"].length>0){Module["preInit"].pop()()}}noExitRuntime=true;run(); - - /** - * - * @param config - * @constructor - * @extends {AscViewer.IFile} - */ - function CFile() - { - AscViewer.IFile.call(this); - this.stream = -1; - this.type = 0; - } - - CFile.prototype = Object.create(AscViewer.IFile.prototype); - CFile.prototype.constructor = CFile; - - CFile.prototype.loadFromData = function(data) - { - var _stream = Module["_malloc"](data.length); - Module["HEAP8"].set(data, _stream); - this.nativeFile = Module["_Pdf_Load"](_stream, data.length, this.type); - this.stream = _stream; - return this.getInfo(); - }; - CFile.prototype.getInfo = function() - { - if (!this.nativeFile) - return false; - - var _info = Module["_Pdf_GetInfo"](this.nativeFile); - if (!_info) - return false; - - var _pages = Module["HEAP32"][_info >> 2]; - var _buffer = new Int32Array(Module["HEAP8"].buffer, _info, 1 + 3 * _pages); - - var _cur = 1; - for (var i = 0; i < _pages; i++) - { - this.pages.push({ W : _buffer[_cur++], H : _buffer[_cur++], Dpi : _buffer[_cur++] }); - } - - this.free(_info); - return this.pages.length > 0; - }; - CFile.prototype.getPagePixmap = function(pageIndex, width, height) - { - return Module["_Pdf_GetPixmap"](this.nativeFile, pageIndex, width, height); - }; - CFile.prototype.close = function() - { - Module["_Pdf_Close"](this.nativeFile); - this.nativeFile = 0; - this.pages = []; - if (this.stream > 0) - Module["_free"](this.stream); - this.stream = -1; - }; - CFile.prototype.memory = function() - { - return Module["HEAP8"]; - }; - CFile.prototype.free = function(pointer) - { - Module["_Pdf_Delete"](pointer); - }; - - window["AscViewer"].PdfFile = CFile; - -})(window, undefined); diff --git a/pdf/src/pdf/pdf.wasm b/pdf/src/pdf/pdf.wasm deleted file mode 100644 index 82d4be5157..0000000000 Binary files a/pdf/src/pdf/pdf.wasm and /dev/null differ diff --git a/pdf/src/thumbnails.js b/pdf/src/thumbnails.js index 6b4c13c849..2d16902bea 100644 --- a/pdf/src/thumbnails.js +++ b/pdf/src/thumbnails.js @@ -1,3 +1,35 @@ +/* + * (c) Copyright Ascensio System SIA 2010-2019 + * + * This program is a free software product. You can redistribute it and/or + * modify it under the terms of the GNU Affero General Public License (AGPL) + * version 3 as published by the Free Software Foundation. In accordance with + * Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect + * that Ascensio System SIA expressly excludes the warranty of non-infringement + * of any third-party rights. + * + * This program is distributed WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For + * details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html + * + * You can contact Ascensio System SIA at 20A-12 Ernesta Birznieka-Upisha + * street, Riga, Latvia, EU, LV-1050. + * + * The interactive user interfaces in modified source and object code versions + * of the Program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU AGPL version 3. + * + * Pursuant to Section 7(b) of the License you must retain the original Product + * logo when distributing the program. Pursuant to Section 7(e) we decline to + * grant you any rights under trademark law for use of our trademarks. + * + * All the Product's GUI elements, including illustrations and icon sets, as + * well as technical writing content are licensed under the terms of the + * Creative Commons Attribution-ShareAlike 4.0 International. See the License + * terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode + * + */ + (function(){ // SKIN @@ -31,6 +63,8 @@ }; PageStyle.numberFontHeight = (function(){ + if (window["NATIVE_EDITOR_ENJINE"]) + return 7; var testCanvas = document.createElement("canvas"); var w = 100; var h = 100; @@ -288,6 +322,11 @@ { this._resize(isZoomUpdated); }; + CDocument.prototype.setIsDrawCurrentRect = function(isDrawCurrentRect) + { + PageStyle.isDrawCurrentRect = isDrawCurrentRect; + this.repaint(); + }; CDocument.prototype.setEnabled = function(isEnabled) { this.isEnabled = isEnabled; @@ -320,6 +359,9 @@ this.canvasOverlay.style.pointerEvents = "none"; parent.onmousewheel = this.onMouseWhell.bind(this); + if (parent.addEventListener) + parent.addEventListener("DOMMouseScroll", this.onMouseWhell.bind(this), false); + AscCommon.addMouseEvent(this.canvas, "down", this.onMouseDown.bind(this)); AscCommon.addMouseEvent(this.canvas, "move", this.onMouseMove.bind(this)); AscCommon.addMouseEvent(this.canvas, "up", this.onMouseUp.bind(this)); @@ -401,7 +443,7 @@ if (!this.isEnabled) return; - if (!isViewerTask) + if (!isViewerTask && -1 != this.startBlock) { // смотрим, какие страницы нужно перерисовать. // делаем это по одной, так как задачи вьюера важнее @@ -471,6 +513,9 @@ var ctx = this.canvas.getContext("2d"); ctx.fillStyle = ThumbnailsStyle.backgroundColor; ctx.fillRect(0, 0, this.panelWidth, this.panelHeight); + + if (-1 == this.startBlock) + return; ctx.font = PageStyle.font(); ctx.textAlign = "center"; @@ -499,6 +544,9 @@ { var element = document.getElementById(this.id); + if (0 === element.offsetWidth) + return; + // размер панели this.panelWidth = element.offsetWidth; this.panelHeight = element.offsetHeight; @@ -546,7 +594,9 @@ { // зум "по умолчанию" this.zoom = this.defaultPageW / pageWidthMax; - this.defaultPageW = 0; + + if (0 != this.panelWidth) + this.defaultPageW = 0; } // корректировка зумов @@ -635,14 +685,17 @@ } } - for (var i = this.startBlock; i < blocksCount; i++) + if (this.startBlock != -1) { - block = this.blocks[i]; - if (block.top > (this.scrollY + this.panelHeight)) + for (var i = this.startBlock; i < blocksCount; i++) { - // уже невидимый блок! - this.endBlock = i - 1; - break; + block = this.blocks[i]; + if (block.top > (this.scrollY + this.panelHeight)) + { + // уже невидимый блок! + this.endBlock = i - 1; + break; + } } } @@ -731,6 +784,9 @@ return null; var block = (pageNum / this.countPagesInBlock) >> 0; + if (!this.blocks[block]) + return null; + var pageInBlock = pageNum - block * this.countPagesInBlock; return this.blocks[block].pages[pageInBlock]; }; @@ -841,4 +897,4 @@ prot["setZoom"] = prot.setZoom; prot["resize"] = prot.resize; prot["setEnabled"] = prot.setEnabled; -})(); \ No newline at end of file +})(); diff --git a/pdf/src/viewer.js b/pdf/src/viewer.js index c5fda703b7..d450eea303 100644 --- a/pdf/src/viewer.js +++ b/pdf/src/viewer.js @@ -1,3 +1,35 @@ +/* + * (c) Copyright Ascensio System SIA 2010-2019 + * + * This program is a free software product. You can redistribute it and/or + * modify it under the terms of the GNU Affero General Public License (AGPL) + * version 3 as published by the Free Software Foundation. In accordance with + * Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect + * that Ascensio System SIA expressly excludes the warranty of non-infringement + * of any third-party rights. + * + * This program is distributed WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For + * details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html + * + * You can contact Ascensio System SIA at 20A-12 Ernesta Birznieka-Upisha + * street, Riga, Latvia, EU, LV-1050. + * + * The interactive user interfaces in modified source and object code versions + * of the Program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU AGPL version 3. + * + * Pursuant to Section 7(b) of the License you must retain the original Product + * logo when distributing the program. Pursuant to Section 7(e) we decline to + * grant you any rights under trademark law for use of our trademarks. + * + * All the Product's GUI elements, including illustrations and icon sets, as + * well as technical writing content are licensed under the terms of the + * Creative Commons Attribution-ShareAlike 4.0 International. See the License + * terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode + * + */ + (function(){ function CCacheManager() @@ -55,6 +87,12 @@ Loaded : 2 }; + var ZoomMode = { + Custom : 0, + Width : 1, + Page : 2 + }; + function CHtmlPage(id) { this.parent = document.getElementById(id); @@ -70,7 +108,8 @@ this.scrollMaxY = 0; this.scrollX = 0; this.scrollMaxX = 0; - + + this.zoomMode = ZoomMode.Custom; this.zoom = 1; this.drawingPages = []; @@ -233,8 +272,6 @@ settings.screenH = this.height; settings.vscrollStep = 45; settings.hscrollStep = 45; - settings.screenW = AscCommon.AscBrowser.convertToRetinaValue(settings.screenW); - settings.screenH = AscCommon.AscBrowser.convertToRetinaValue(settings.screenH); return settings; }; @@ -256,6 +293,15 @@ this.width = this.parent.offsetWidth - this.scrollWidth; this.height = this.parent.offsetHeight; + if (this.zoomMode === ZoomMode.Width) + this.zoom = this.calculateZoomToWidth(); + else if (this.zoomMode === ZoomMode.Page) + this.zoom = this.calculateZoomToHeight(); + + var lastPosition = this.getFirstPagePosition(); + + this.sendEvent("onZoom", this.zoom, this.zoomMode); + this.recalculatePlaces(); this.isVisibleHorScroll = (this.documentWidth > this.width) ? true : false; @@ -336,11 +382,22 @@ this.scrollX = this.scrollMaxX; if (this.scrollY >= this.scrollMaxY) this.scrollY = this.scrollMaxY; + + if (lastPosition) + { + var drawingPage = this.drawingPages[lastPosition.page]; + var newScrollY = drawingPage.Y + lastPosition.scrollY - lastPosition.y; + + if (newScrollY < this.scrollMaxY) + this.m_oScrollVerApi.scrollToY(newScrollY); + } }; this.onLoadModule = function() { this.moduleState = ModuleState.Loaded; + window["AscViewer"]["InitializeFonts"](); + if (this._fileData != null) { this.open(this._fileData); @@ -401,6 +458,12 @@ return false; }; + this.onUpdatePages = function(pages) + { + // TODO: проверить, есть ли страницы на экране + this.paint(); + }; + this.open = function(data) { if (!this.checkModule()) @@ -413,9 +476,13 @@ this.file.close(); this.file = window["AscViewer"].createFile(data); + this.file.onRepaintPages = this.onUpdatePages.bind(this); this.currentPage = -1; this.structure = this.file.getStructure(); + this.sendEvent("onPagesCount", this.file.pages.length); + this.sendEvent("onCurrentPageChanged", 0); + setTimeout(function(){ oThis.sendEvent("onStructure", oThis.structure); }, 100); @@ -429,6 +496,9 @@ AscCommon.addMouseEvent(this.canvas, "up", this.onMouseUp); this.parent.onmousewheel = this.onMouseWhell; + if (this.parent.addEventListener) + this.parent.addEventListener("DOMMouseScroll", this.onMouseWhell, false); + this.startTimer(); } @@ -440,9 +510,80 @@ this.setZoom = function(value) { + var oldZoom = this.zoom; this.zoom = value; + this.zoomMode = ZoomMode.Custom; + this.sendEvent("onZoom", this.zoom); + this.resize(oldZoom); + }; + this.setZoomMode = function(value) + { + this.zoomMode = value; this.resize(); }; + this.calculateZoomToWidth = function() + { + if (0 === this.file.pages.length) + return; + + var maxWidth = 0; + for (let i = 0, len = this.file.pages.length; i < len; i++) + { + var pageW = (this.file.pages[i].W * 96 / this.file.pages[i].Dpi); + if (pageW > maxWidth) + maxWidth = pageW; + } + + if (maxWidth < 1) + return; + + return (this.width - 2 * this.betweenPages) / maxWidth; + }; + this.calculateZoomToHeight = function() + { + if (0 === this.file.pages.length) + return; + + var maxHeight = 0; + var maxWidth = 0; + for (let i = 0, len = this.file.pages.length; i < len; i++) + { + var pageW = (this.file.pages[i].W * 96 / this.file.pages[i].Dpi); + var pageH = (this.file.pages[i].H * 96 / this.file.pages[i].Dpi); + if (pageW > maxWidth) + maxWidth = pageW; + if (pageH > maxHeight) + maxHeight = pageH; + } + + if (maxWidth < 1 || maxHeight < 1) + return; + + var zoom1 = (this.width - 2 * this.betweenPages) / maxWidth; + var zoom2 = (this.height - 2 * this.betweenPages) / maxHeight; + + return Math.min(zoom1, zoom2); + }; + + this.getFirstPagePosition = function() + { + let lPagesCount = this.drawingPages.length; + for (let i = 0; i < lPagesCount; i++) + { + let page = this.drawingPages[i]; + if ((page.Y + page.H) > this.scrollY) + { + return { + page : i, + x : page.X, + y : page.Y, + scrollX : this.scrollX, + scrollY : this.scrollY + }; + } + } + return null; + }; this.setMouseLockMode = function(isEnabled) { @@ -455,13 +596,13 @@ if (!item) return; - var drawingPage = this.drawingPages[item.page]; + var drawingPage = this.drawingPages[item["page"]]; if (!drawingPage) return; var posY = drawingPage.Y; posY -= this.betweenPages; - //posY += item.Y; + //posY += item["Y"]; this.m_oScrollVerApi.scrollToY(posY); }; @@ -732,12 +873,12 @@ let lineW = AscCommon.AscBrowser.retinaPixelRatio >> 0; ctx.lineWidth = lineW; - let yPos = (this.scrollY * this.zoom) >> 0; + let yPos = this.scrollY >> 0; let yMax = yPos + this.height; let xCenter = this.width >> 1; if (this.documentWidth > this.width) { - xCenter = (this.documentWidth >> 1) - (this.scrollX * this.zoom) >> 0; + xCenter = (this.documentWidth >> 1) - (this.scrollX) >> 0; } let lStartPage = -1; @@ -802,7 +943,15 @@ let x = ((xCenter * AscCommon.AscBrowser.retinaPixelRatio) >> 0) - (w >> 1); let y = ((page.Y - yPos) * AscCommon.AscBrowser.retinaPixelRatio) >> 0; - ctx.drawImage(page.Image, 0, 0, w, h, x, y, w, h); + if (page.Image) + { + ctx.drawImage(page.Image, 0, 0, w, h, x, y, w, h); + } + else + { + ctx.fillStyle = "#FFFFFF"; + ctx.fillRect(x, y, w, h); + } ctx.strokeRect(x + lineW / 2, y + lineW / 2, w - lineW, h - lineW); oPageDetector.addPage(i, x, y, w, h); @@ -876,6 +1025,7 @@ }; AscCommon.CViewer = CHtmlPage; + AscCommon.ViewerZoomMode = ZoomMode; AscCommon.CCacheManager = CCacheManager; -})(); \ No newline at end of file +})(); diff --git a/pdf/src/xps_djvu/djvu.js b/pdf/src/xps_djvu/djvu.js deleted file mode 100644 index 3577475ca3..0000000000 --- a/pdf/src/xps_djvu/djvu.js +++ /dev/null @@ -1,352 +0,0 @@ -/* - * (c) Copyright Ascensio System SIA 2010-2019 - * - * This program is a free software product. You can redistribute it and/or - * modify it under the terms of the GNU Affero General Public License (AGPL) - * version 3 as published by the Free Software Foundation. In accordance with - * Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect - * that Ascensio System SIA expressly excludes the warranty of non-infringement - * of any third-party rights. - * - * This program is distributed WITHOUT ANY WARRANTY; without even the implied - * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For - * details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html - * - * You can contact Ascensio System SIA at 20A-12 Ernesta Birznieka-Upisha - * street, Riga, Latvia, EU, LV-1050. - * - * The interactive user interfaces in modified source and object code versions - * of the Program must display Appropriate Legal Notices, as required under - * Section 5 of the GNU AGPL version 3. - * - * Pursuant to Section 7(b) of the License you must retain the original Product - * logo when distributing the program. Pursuant to Section 7(e) we decline to - * grant you any rights under trademark law for use of our trademarks. - * - * All the Product's GUI elements, including illustrations and icon sets, as - * well as technical writing content are licensed under the terms of the - * Creative Commons Attribution-ShareAlike 4.0 International. See the License - * terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode - * - */ - -(function(window, undefined) { - - var printErr = undefined; - var FS = undefined; - var print = undefined; - - var getBinaryPromise = null; - if (window["AscDesktopEditor"] && document.currentScript && 0 == document.currentScript.src.indexOf("file:///")) - { - // fetch not support file:/// scheme - window.fetch = undefined; - - getBinaryPromise = function() { - - var wasmPath = "ascdesktop://fonts/" + wasmBinaryFile.substr(8); - return new Promise(function (resolve, reject) { - - var xhr = new XMLHttpRequest(); - xhr.open('GET', wasmPath, true); - xhr.responseType = 'arraybuffer'; - - if (xhr.overrideMimeType) - xhr.overrideMimeType('text/plain; charset=x-user-defined'); - else - xhr.setRequestHeader('Accept-Charset', 'x-user-defined'); - - xhr.onload = function () { - if (this.status == 200) { - resolve(new Uint8Array(this.response)); - } - }; - - xhr.send(null); - - }); - } - } - else - { - getBinaryPromise = function() { - return getBinaryPromise2(); - } - } - - (function(){ - - if (undefined !== String.prototype.fromUtf8 && - undefined !== String.prototype.toUtf8) - return; - - /** - * Read string from utf8 - * @param {Uint8Array} buffer - * @param {number} [start=0] - * @param {number} [len] - * @returns {string} - */ - String.prototype.fromUtf8 = function(buffer, start, len) { - if (undefined === start) - start = 0; - if (undefined === len) - len = buffer.length; - - var result = ""; - var index = start; - var end = start + len; - while (index < end) - { - var u0 = buffer[index++]; - if (!(u0 & 128)) - { - result += String.fromCharCode(u0); - continue; - } - var u1 = buffer[index++] & 63; - if ((u0 & 224) == 192) - { - result += String.fromCharCode((u0 & 31) << 6 | u1); - continue; - } - var u2 = buffer[index++] & 63; - if ((u0 & 240) == 224) - u0 = (u0 & 15) << 12 | u1 << 6 | u2; - else - u0 = (u0 & 7) << 18 | u1 << 12 | u2 << 6 | buffer[index++] & 63; - if (u0 < 65536) - result += String.fromCharCode(u0); - else - { - var ch = u0 - 65536; - result += String.fromCharCode(55296 | ch >> 10, 56320 | ch & 1023); - } - } - return result; - }; - - /** - * Convert string to utf8 array - * @returns {Uint8Array} - */ - String.prototype.toUtf8 = function() { - var inputLen = this.length; - var testLen = 6 * inputLen + 1; - var tmpStrings = new ArrayBuffer(testLen); - - var code = 0; - var index = 0; - - var outputIndex = 0; - var outputDataTmp = new Uint8Array(tmpStrings); - var outputData = outputDataTmp; - - while (index < inputLen) - { - code = this.charCodeAt(index++); - if (code >= 0xD800 && code <= 0xDFFF && index < inputLen) - code = 0x10000 + (((code & 0x3FF) << 10) | (0x03FF & this.charCodeAt(index++))); - - if (code < 0x80) - outputData[outputIndex++] = code; - else if (code < 0x0800) - { - outputData[outputIndex++] = 0xC0 | (code >> 6); - outputData[outputIndex++] = 0x80 | (code & 0x3F); - } - else if (code < 0x10000) - { - outputData[outputIndex++] = 0xE0 | (code >> 12); - outputData[outputIndex++] = 0x80 | ((code >> 6) & 0x3F); - outputData[outputIndex++] = 0x80 | (code & 0x3F); - } - else if (code < 0x1FFFFF) - { - outputData[outputIndex++] = 0xF0 | (code >> 18); - outputData[outputIndex++] = 0x80 | ((code >> 12) & 0x3F); - outputData[outputIndex++] = 0x80 | ((code >> 6) & 0x3F); - outputData[outputIndex++] = 0x80 | (code & 0x3F); - } - else if (code < 0x3FFFFFF) - { - outputData[outputIndex++] = 0xF8 | (code >> 24); - outputData[outputIndex++] = 0x80 | ((code >> 18) & 0x3F); - outputData[outputIndex++] = 0x80 | ((code >> 12) & 0x3F); - outputData[outputIndex++] = 0x80 | ((code >> 6) & 0x3F); - outputData[outputIndex++] = 0x80 | (code & 0x3F); - } - else if (code < 0x7FFFFFFF) - { - outputData[outputIndex++] = 0xFC | (code >> 30); - outputData[outputIndex++] = 0x80 | ((code >> 24) & 0x3F); - outputData[outputIndex++] = 0x80 | ((code >> 18) & 0x3F); - outputData[outputIndex++] = 0x80 | ((code >> 12) & 0x3F); - outputData[outputIndex++] = 0x80 | ((code >> 6) & 0x3F); - outputData[outputIndex++] = 0x80 | (code & 0x3F); - } - } - - outputData[outputIndex++] = 0; - - return new Uint8Array(tmpStrings, 0, outputIndex); - }; - -})(); - - - var Module=typeof Module!=="undefined"?Module:{};var moduleOverrides={};var key;for(key in Module){if(Module.hasOwnProperty(key)){moduleOverrides[key]=Module[key]}}var arguments_=[];var thisProgram="./this.program";var quit_=function(status,toThrow){throw toThrow};var ENVIRONMENT_IS_WEB=true;var ENVIRONMENT_IS_WORKER=false;var scriptDirectory="";function locateFile(path){if(Module["locateFile"]){return Module["locateFile"](path,scriptDirectory)}return scriptDirectory+path}var read_,readAsync,readBinary,setWindowTitle;if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){if(ENVIRONMENT_IS_WORKER){scriptDirectory=self.location.href}else if(typeof document!=="undefined"&&document.currentScript){scriptDirectory=document.currentScript.src}if(scriptDirectory.indexOf("blob:")!==0){scriptDirectory=scriptDirectory.substr(0,scriptDirectory.lastIndexOf("/")+1)}else{scriptDirectory=""}{read_=function(url){var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return xhr.responseText};if(ENVIRONMENT_IS_WORKER){readBinary=function(url){var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.responseType="arraybuffer";xhr.send(null);return new Uint8Array(xhr.response)}}readAsync=function(url,onload,onerror){var xhr=new XMLHttpRequest;xhr.open("GET",url,true);xhr.responseType="arraybuffer";xhr.onload=function(){if(xhr.status==200||xhr.status==0&&xhr.response){onload(xhr.response);return}onerror()};xhr.onerror=onerror;xhr.send(null)}}setWindowTitle=function(title){document.title=title}}else{}var out=Module["print"]||console.log.bind(console);var err=Module["printErr"]||console.warn.bind(console);for(key in moduleOverrides){if(moduleOverrides.hasOwnProperty(key)){Module[key]=moduleOverrides[key]}}moduleOverrides=null;if(Module["arguments"])arguments_=Module["arguments"];if(Module["thisProgram"])thisProgram=Module["thisProgram"];if(Module["quit"])quit_=Module["quit"];var tempRet0=0;var setTempRet0=function(value){tempRet0=value};var getTempRet0=function(){return tempRet0};var wasmBinary;if(Module["wasmBinary"])wasmBinary=Module["wasmBinary"];var noExitRuntime=Module["noExitRuntime"]||true;if(typeof WebAssembly!=="object"){abort("no native wasm support detected")}var wasmMemory;var ABORT=false;var EXITSTATUS;var UTF8Decoder=typeof TextDecoder!=="undefined"?new TextDecoder("utf8"):undefined;function UTF8ArrayToString(heap,idx,maxBytesToRead){var endIdx=idx+maxBytesToRead;var endPtr=idx;while(heap[endPtr]&&!(endPtr>=endIdx))++endPtr;if(endPtr-idx>16&&heap.subarray&&UTF8Decoder){return UTF8Decoder.decode(heap.subarray(idx,endPtr))}else{var str="";while(idx>10,56320|ch&1023)}}}return str}function UTF8ToString(ptr,maxBytesToRead){return ptr?UTF8ArrayToString(HEAPU8,ptr,maxBytesToRead):""}function stringToUTF8Array(str,heap,outIdx,maxBytesToWrite){if(!(maxBytesToWrite>0))return 0;var startIdx=outIdx;var endIdx=outIdx+maxBytesToWrite-1;for(var i=0;i=55296&&u<=57343){var u1=str.charCodeAt(++i);u=65536+((u&1023)<<10)|u1&1023}if(u<=127){if(outIdx>=endIdx)break;heap[outIdx++]=u}else if(u<=2047){if(outIdx+1>=endIdx)break;heap[outIdx++]=192|u>>6;heap[outIdx++]=128|u&63}else if(u<=65535){if(outIdx+2>=endIdx)break;heap[outIdx++]=224|u>>12;heap[outIdx++]=128|u>>6&63;heap[outIdx++]=128|u&63}else{if(outIdx+3>=endIdx)break;heap[outIdx++]=240|u>>18;heap[outIdx++]=128|u>>12&63;heap[outIdx++]=128|u>>6&63;heap[outIdx++]=128|u&63}}heap[outIdx]=0;return outIdx-startIdx}function lengthBytesUTF8(str){var len=0;for(var i=0;i=55296&&u<=57343)u=65536+((u&1023)<<10)|str.charCodeAt(++i)&1023;if(u<=127)++len;else if(u<=2047)len+=2;else if(u<=65535)len+=3;else len+=4}return len}function allocateUTF8(str){var size=lengthBytesUTF8(str)+1;var ret=_malloc(size);if(ret)stringToUTF8Array(str,HEAP8,ret,size);return ret}function writeArrayToMemory(array,buffer){HEAP8.set(array,buffer)}function writeAsciiToMemory(str,buffer,dontAddNull){for(var i=0;i>0]=str.charCodeAt(i)}if(!dontAddNull)HEAP8[buffer>>0]=0}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 updateGlobalBufferAndViews(buf){buffer=buf;Module["HEAP8"]=HEAP8=new Int8Array(buf);Module["HEAP16"]=HEAP16=new Int16Array(buf);Module["HEAP32"]=HEAP32=new Int32Array(buf);Module["HEAPU8"]=HEAPU8=new Uint8Array(buf);Module["HEAPU16"]=HEAPU16=new Uint16Array(buf);Module["HEAPU32"]=HEAPU32=new Uint32Array(buf);Module["HEAPF32"]=HEAPF32=new Float32Array(buf);Module["HEAPF64"]=HEAPF64=new Float64Array(buf)}var INITIAL_MEMORY=Module["INITIAL_MEMORY"]||16777216;var wasmTable;var __ATPRERUN__=[];var __ATINIT__=[];var __ATMAIN__=[];var __ATPOSTRUN__=[];var runtimeInitialized=false;var runtimeExited=false;__ATINIT__.push({func:function(){___wasm_call_ctors()}});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 initRuntime(){runtimeInitialized=true;callRuntimeCallbacks(__ATINIT__)}function preMain(){callRuntimeCallbacks(__ATMAIN__)}function exitRuntime(){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)}var runDependencies=0;var runDependencyWatcher=null;var dependenciesFulfilled=null;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"]={};function abort(what){if(Module["onAbort"]){Module["onAbort"](what)}what+="";err(what);ABORT=true;EXITSTATUS=1;what="abort("+what+"). Build with -s ASSERTIONS=1 for more info.";var e=new WebAssembly.RuntimeError(what);throw e}function hasPrefix(str,prefix){return String.prototype.startsWith?str.startsWith(prefix):str.indexOf(prefix)===0}var dataURIPrefix="data:application/octet-stream;base64,";function isDataURI(filename){return hasPrefix(filename,dataURIPrefix)}var wasmBinaryFile="xps_djvu.wasm";if(!isDataURI(wasmBinaryFile)){wasmBinaryFile=locateFile(wasmBinaryFile)}function getBinary(file){try{if(file==wasmBinaryFile&&wasmBinary){return new Uint8Array(wasmBinary)}if(readBinary){return readBinary(file)}else{throw"both async and sync fetching of the wasm failed"}}catch(err){abort(err)}}function getBinaryPromise2(){if(!wasmBinary&&(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)){if(typeof fetch==="function"){return fetch(wasmBinaryFile,{credentials:"same-origin"}).then(function(response){if(!response["ok"]){throw"failed to load wasm binary file at '"+wasmBinaryFile+"'"}return response["arrayBuffer"]()}).catch(function(){return getBinary(wasmBinaryFile)})}}return Promise.resolve().then(function(){return getBinary(wasmBinaryFile)})}function createWasm(){var info={"a":asmLibraryArg};function receiveInstance(instance,module){var exports=instance.exports;Module["asm"]=exports;wasmMemory=Module["asm"]["W"];updateGlobalBufferAndViews(wasmMemory.buffer);wasmTable=Module["asm"]["Y"];removeRunDependency("wasm-instantiate")}addRunDependency("wasm-instantiate");function receiveInstantiatedSource(output){receiveInstance(output["instance"])}function instantiateArrayBuffer(receiver){return getBinaryPromise().then(function(binary){return WebAssembly.instantiate(binary,info)}).then(receiver,function(reason){err("failed to asynchronously prepare wasm: "+reason);abort(reason)})}function instantiateAsync(){if(!wasmBinary&&typeof WebAssembly.instantiateStreaming==="function"&&!isDataURI(wasmBinaryFile)&&typeof fetch==="function"){return fetch(wasmBinaryFile,{credentials:"same-origin"}).then(function(response){var result=WebAssembly.instantiateStreaming(response,info);return result.then(receiveInstantiatedSource,function(reason){err("wasm streaming compile failed: "+reason);err("falling back to ArrayBuffer instantiation");return instantiateArrayBuffer(receiveInstantiatedSource)})})}else{return instantiateArrayBuffer(receiveInstantiatedSource)}}if(Module["instantiateWasm"]){try{var exports=Module["instantiateWasm"](info,receiveInstance);return exports}catch(e){err("Module.instantiateWasm callback failed with error: "+e);return false}}instantiateAsync();return{}}function callRuntimeCallbacks(callbacks){while(callbacks.length>0){var callback=callbacks.shift();if(typeof callback=="function"){callback(Module);continue}var func=callback.func;if(typeof func==="number"){if(callback.arg===undefined){wasmTable.get(func)()}else{wasmTable.get(func)(callback.arg)}}else{func(callback.arg===undefined?null:callback.arg)}}}function ___assert_fail(condition,filename,line,func){abort("Assertion failed: "+UTF8ToString(condition)+", at: "+[filename?UTF8ToString(filename):"unknown filename",line,func?UTF8ToString(func):"unknown function"])}var _emscripten_get_now;_emscripten_get_now=function(){return performance.now()};var _emscripten_get_now_is_monotonic=true;function setErrNo(value){HEAP32[___errno_location()>>2]=value;return value}function _clock_gettime(clk_id,tp){var now;if(clk_id===0){now=Date.now()}else if((clk_id===1||clk_id===4)&&_emscripten_get_now_is_monotonic){now=_emscripten_get_now()}else{setErrNo(28);return-1}HEAP32[tp>>2]=now/1e3|0;HEAP32[tp+4>>2]=now%1e3*1e3*1e3|0;return 0}function ___clock_gettime(a0,a1){return _clock_gettime(a0,a1)}var ExceptionInfoAttrs={DESTRUCTOR_OFFSET:0,REFCOUNT_OFFSET:4,TYPE_OFFSET:8,CAUGHT_OFFSET:12,RETHROWN_OFFSET:13,SIZE:16};function ___cxa_allocate_exception(size){return _malloc(size+ExceptionInfoAttrs.SIZE)+ExceptionInfoAttrs.SIZE}function ExceptionInfo(excPtr){this.excPtr=excPtr;this.ptr=excPtr-ExceptionInfoAttrs.SIZE;this.set_type=function(type){HEAP32[this.ptr+ExceptionInfoAttrs.TYPE_OFFSET>>2]=type};this.get_type=function(){return HEAP32[this.ptr+ExceptionInfoAttrs.TYPE_OFFSET>>2]};this.set_destructor=function(destructor){HEAP32[this.ptr+ExceptionInfoAttrs.DESTRUCTOR_OFFSET>>2]=destructor};this.get_destructor=function(){return HEAP32[this.ptr+ExceptionInfoAttrs.DESTRUCTOR_OFFSET>>2]};this.set_refcount=function(refcount){HEAP32[this.ptr+ExceptionInfoAttrs.REFCOUNT_OFFSET>>2]=refcount};this.set_caught=function(caught){caught=caught?1:0;HEAP8[this.ptr+ExceptionInfoAttrs.CAUGHT_OFFSET>>0]=caught};this.get_caught=function(){return HEAP8[this.ptr+ExceptionInfoAttrs.CAUGHT_OFFSET>>0]!=0};this.set_rethrown=function(rethrown){rethrown=rethrown?1:0;HEAP8[this.ptr+ExceptionInfoAttrs.RETHROWN_OFFSET>>0]=rethrown};this.get_rethrown=function(){return HEAP8[this.ptr+ExceptionInfoAttrs.RETHROWN_OFFSET>>0]!=0};this.init=function(type,destructor){this.set_type(type);this.set_destructor(destructor);this.set_refcount(0);this.set_caught(false);this.set_rethrown(false)};this.add_ref=function(){var value=HEAP32[this.ptr+ExceptionInfoAttrs.REFCOUNT_OFFSET>>2];HEAP32[this.ptr+ExceptionInfoAttrs.REFCOUNT_OFFSET>>2]=value+1};this.release_ref=function(){var prev=HEAP32[this.ptr+ExceptionInfoAttrs.REFCOUNT_OFFSET>>2];HEAP32[this.ptr+ExceptionInfoAttrs.REFCOUNT_OFFSET>>2]=prev-1;return prev===1}}var exceptionLast=0;var uncaughtExceptionCount=0;function ___cxa_throw(ptr,type,destructor){var info=new ExceptionInfo(ptr);info.init(type,destructor);exceptionLast=ptr;uncaughtExceptionCount++;throw ptr}function _gmtime_r(time,tmPtr){var date=new Date(HEAP32[time>>2]*1e3);HEAP32[tmPtr>>2]=date.getUTCSeconds();HEAP32[tmPtr+4>>2]=date.getUTCMinutes();HEAP32[tmPtr+8>>2]=date.getUTCHours();HEAP32[tmPtr+12>>2]=date.getUTCDate();HEAP32[tmPtr+16>>2]=date.getUTCMonth();HEAP32[tmPtr+20>>2]=date.getUTCFullYear()-1900;HEAP32[tmPtr+24>>2]=date.getUTCDay();HEAP32[tmPtr+36>>2]=0;HEAP32[tmPtr+32>>2]=0;var start=Date.UTC(date.getUTCFullYear(),0,1,0,0,0,0);var yday=(date.getTime()-start)/(1e3*60*60*24)|0;HEAP32[tmPtr+28>>2]=yday;if(!_gmtime_r.GMTString)_gmtime_r.GMTString=allocateUTF8("GMT");HEAP32[tmPtr+40>>2]=_gmtime_r.GMTString;return tmPtr}function ___gmtime_r(a0,a1){return _gmtime_r(a0,a1)}var SYSCALLS={mappings:{},buffers:[null,[],[]],printChar:function(stream,curr){var buffer=SYSCALLS.buffers[stream];if(curr===0||curr===10){(stream===1?out:err)(UTF8ArrayToString(buffer,0));buffer.length=0}else{buffer.push(curr)}},varargs:undefined,get:function(){SYSCALLS.varargs+=4;var ret=HEAP32[SYSCALLS.varargs-4>>2];return ret},getStr:function(ptr){var ret=UTF8ToString(ptr);return ret},get64:function(low,high){return low}};function ___sys_chdir(path){}function ___sys_fcntl64(fd,cmd,varargs){SYSCALLS.varargs=varargs;return 0}function ___sys_fstat64(fd,buf){}function ___sys_getcwd(buf,size){}function ___sys_getdents64(fd,dirp,count){}function ___sys_ioctl(fd,op,varargs){SYSCALLS.varargs=varargs;return 0}function ___sys_lstat64(path,buf){}function ___sys_mkdir(path,mode){path=SYSCALLS.getStr(path);return SYSCALLS.doMkdir(path,mode)}function syscallMmap2(addr,len,prot,flags,fd,off){off<<=12;var ptr;var allocated=false;if((flags&16)!==0&&addr%16384!==0){return-28}if((flags&32)!==0){ptr=_memalign(16384,len);if(!ptr)return-48;_memset(ptr,0,len);allocated=true}else{return-52}SYSCALLS.mappings[ptr]={malloc:ptr,len:len,allocated:allocated,fd:fd,prot:prot,flags:flags,offset:off};return ptr}function ___sys_mmap2(addr,len,prot,flags,fd,off){return syscallMmap2(addr,len,prot,flags,fd,off)}function syscallMunmap(addr,len){if((addr|0)===-1||len===0){return-28}var info=SYSCALLS.mappings[addr];if(!info)return 0;if(len===info.len){SYSCALLS.mappings[addr]=null;if(info.allocated){_free(info.malloc)}}return 0}function ___sys_munmap(addr,len){return syscallMunmap(addr,len)}function ___sys_open(path,flags,varargs){SYSCALLS.varargs=varargs}function ___sys_readlink(path,buf,bufsize){path=SYSCALLS.getStr(path);return SYSCALLS.doReadlink(path,buf,bufsize)}function ___sys_rmdir(path){}function ___sys_stat64(path,buf){}function ___sys_unlink(path){}function _abort(){abort()}function _longjmp(env,value){_setThrew(env,value||1);throw"longjmp"}function _emscripten_longjmp(a0,a1){return _longjmp(a0,a1)}function _emscripten_memcpy_big(dest,src,num){HEAPU8.copyWithin(dest,src,src+num)}function _emscripten_get_heap_size(){return HEAPU8.length}function emscripten_realloc_buffer(size){try{wasmMemory.grow(size-buffer.byteLength+65535>>>16);updateGlobalBufferAndViews(wasmMemory.buffer);return 1}catch(e){}}function _emscripten_resize_heap(requestedSize){var oldSize=_emscripten_get_heap_size();var maxHeapSize=2147483648;if(requestedSize>maxHeapSize){return false}for(var cutDown=1;cutDown<=4;cutDown*=2){var overGrownHeapSize=oldSize*(1+.2/cutDown);overGrownHeapSize=Math.min(overGrownHeapSize,requestedSize+100663296);var newSize=Math.min(maxHeapSize,alignUp(Math.max(requestedSize,overGrownHeapSize),65536));var replacement=emscripten_realloc_buffer(newSize);if(replacement){return true}}return false}var ENV={};function getExecutableName(){return thisProgram||"./this.program"}function getEnvStrings(){if(!getEnvStrings.strings){var lang=(typeof navigator==="object"&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8";var env={"USER":"web_user","LOGNAME":"web_user","PATH":"/","PWD":"/","HOME":"/home/web_user","LANG":lang,"_":getExecutableName()};for(var x in ENV){env[x]=ENV[x]}var strings=[];for(var x in env){strings.push(x+"="+env[x])}getEnvStrings.strings=strings}return getEnvStrings.strings}function _environ_get(__environ,environ_buf){var bufSize=0;getEnvStrings().forEach(function(string,i){var ptr=environ_buf+bufSize;HEAP32[__environ+i*4>>2]=ptr;writeAsciiToMemory(string,ptr);bufSize+=string.length+1});return 0}function _environ_sizes_get(penviron_count,penviron_buf_size){var strings=getEnvStrings();HEAP32[penviron_count>>2]=strings.length;var bufSize=0;strings.forEach(function(string){bufSize+=string.length+1});HEAP32[penviron_buf_size>>2]=bufSize;return 0}function _exit(status){exit(status)}function _fd_close(fd){return 0}function _fd_fdstat_get(fd,pbuf){var type=fd==1||fd==2?2:abort();HEAP8[pbuf>>0]=type;return 0}function _fd_read(fd,iov,iovcnt,pnum){var stream=SYSCALLS.getStreamFromFD(fd);var num=SYSCALLS.doReadv(stream,iov,iovcnt);HEAP32[pnum>>2]=num;return 0}function _fd_seek(fd,offset_low,offset_high,whence,newOffset){}function _fd_write(fd,iov,iovcnt,pnum){var num=0;for(var i=0;i>2];var len=HEAP32[iov+(i*8+4)>>2];for(var j=0;j>2]=num;return 0}function _getTempRet0(){return getTempRet0()|0}function _tzset(){if(_tzset.called)return;_tzset.called=true;var currentYear=(new Date).getFullYear();var winter=new Date(currentYear,0,1);var summer=new Date(currentYear,6,1);var winterOffset=winter.getTimezoneOffset();var summerOffset=summer.getTimezoneOffset();var stdTimezoneOffset=Math.max(winterOffset,summerOffset);HEAP32[__get_timezone()>>2]=stdTimezoneOffset*60;HEAP32[__get_daylight()>>2]=Number(winterOffset!=summerOffset);function extractZone(date){var match=date.toTimeString().match(/\(([A-Za-z ]+)\)$/);return match?match[1]:"GMT"}var winterName=extractZone(winter);var summerName=extractZone(summer);var winterNamePtr=allocateUTF8(winterName);var summerNamePtr=allocateUTF8(summerName);if(summerOffset>2]=winterNamePtr;HEAP32[__get_tzname()+4>>2]=summerNamePtr}else{HEAP32[__get_tzname()>>2]=summerNamePtr;HEAP32[__get_tzname()+4>>2]=winterNamePtr}}function _mktime(tmPtr){_tzset();var date=new Date(HEAP32[tmPtr+20>>2]+1900,HEAP32[tmPtr+16>>2],HEAP32[tmPtr+12>>2],HEAP32[tmPtr+8>>2],HEAP32[tmPtr+4>>2],HEAP32[tmPtr>>2],0);var dst=HEAP32[tmPtr+32>>2];var guessedOffset=date.getTimezoneOffset();var start=new Date(date.getFullYear(),0,1);var summerOffset=new Date(date.getFullYear(),6,1).getTimezoneOffset();var winterOffset=start.getTimezoneOffset();var dstOffset=Math.min(winterOffset,summerOffset);if(dst<0){HEAP32[tmPtr+32>>2]=Number(summerOffset!=winterOffset&&dstOffset==guessedOffset)}else if(dst>0!=(dstOffset==guessedOffset)){var nonDstOffset=Math.max(winterOffset,summerOffset);var trueOffset=dst>0?dstOffset:nonDstOffset;date.setTime(date.getTime()+(trueOffset-guessedOffset)*6e4)}HEAP32[tmPtr+24>>2]=date.getDay();var yday=(date.getTime()-start.getTime())/(1e3*60*60*24)|0;HEAP32[tmPtr+28>>2]=yday;HEAP32[tmPtr>>2]=date.getSeconds();HEAP32[tmPtr+4>>2]=date.getMinutes();HEAP32[tmPtr+8>>2]=date.getHours();HEAP32[tmPtr+12>>2]=date.getDate();HEAP32[tmPtr+16>>2]=date.getMonth();return date.getTime()/1e3|0}function _setTempRet0($i){setTempRet0($i|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?UTF8ToString(tm_zone):""};var pattern=UTF8ToString(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","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var rule in EXPANSION_RULES_1){pattern=pattern.replace(new RegExp(rule,"g"),EXPANSION_RULES_1[rule])}var WEEKDAYS=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];var MONTHS=["January","February","March","April","May","June","July","August","September","October","November","December"];function leadingSomething(value,digits,character){var str=typeof value==="number"?value.toString():value||"";while(str.length0?1:0}var compare;if((compare=sgn(date1.getFullYear()-date2.getFullYear()))===0){if((compare=sgn(date1.getMonth()-date2.getMonth()))===0){compare=sgn(date1.getDate()-date2.getDate())}}return compare}function getFirstWeekStartDate(janFourth){switch(janFourth.getDay()){case 0:return new Date(janFourth.getFullYear()-1,11,29);case 1:return janFourth;case 2:return new Date(janFourth.getFullYear(),0,3);case 3:return new Date(janFourth.getFullYear(),0,2);case 4:return new Date(janFourth.getFullYear(),0,1);case 5:return new Date(janFourth.getFullYear()-1,11,31);case 6:return new Date(janFourth.getFullYear()-1,11,30)}}function getWeekBasedYear(date){var thisDate=__addDays(new Date(date.tm_year+1900,0,1),date.tm_yday);var janFourthThisYear=new Date(thisDate.getFullYear(),0,4);var janFourthNextYear=new Date(thisDate.getFullYear()+1,0,4);var firstWeekStartThisYear=getFirstWeekStartDate(janFourthThisYear);var firstWeekStartNextYear=getFirstWeekStartDate(janFourthNextYear);if(compareByDay(firstWeekStartThisYear,thisDate)<=0){if(compareByDay(firstWeekStartNextYear,thisDate)<=0){return thisDate.getFullYear()+1}else{return thisDate.getFullYear()}}else{return thisDate.getFullYear()-1}}var EXPANSION_RULES_2={"%a":function(date){return WEEKDAYS[date.tm_wday].substring(0,3)},"%A":function(date){return WEEKDAYS[date.tm_wday]},"%b":function(date){return MONTHS[date.tm_mon].substring(0,3)},"%B":function(date){return MONTHS[date.tm_mon]},"%C":function(date){var year=date.tm_year+1900;return leadingNulls(year/100|0,2)},"%d":function(date){return leadingNulls(date.tm_mday,2)},"%e":function(date){return leadingSomething(date.tm_mday,2," ")},"%g":function(date){return getWeekBasedYear(date).toString().substring(2)},"%G":function(date){return getWeekBasedYear(date)},"%H":function(date){return leadingNulls(date.tm_hour,2)},"%I":function(date){var twelveHour=date.tm_hour;if(twelveHour==0)twelveHour=12;else if(twelveHour>12)twelveHour-=12;return leadingNulls(twelveHour,2)},"%j":function(date){return leadingNulls(date.tm_mday+__arraySum(__isLeapYear(date.tm_year+1900)?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR,date.tm_mon-1),3)},"%m":function(date){return leadingNulls(date.tm_mon+1,2)},"%M":function(date){return leadingNulls(date.tm_min,2)},"%n":function(){return"\n"},"%p":function(date){if(date.tm_hour>=0&&date.tm_hour<12){return"AM"}else{return"PM"}},"%S":function(date){return leadingNulls(date.tm_sec,2)},"%t":function(){return"\t"},"%u":function(date){return date.tm_wday||7},"%U":function(date){var janFirst=new Date(date.tm_year+1900,0,1);var firstSunday=janFirst.getDay()===0?janFirst:__addDays(janFirst,7-janFirst.getDay());var endDate=new Date(date.tm_year+1900,date.tm_mon,date.tm_mday);if(compareByDay(firstSunday,endDate)<0){var februaryFirstUntilEndMonth=__arraySum(__isLeapYear(endDate.getFullYear())?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR,endDate.getMonth()-1)-31;var firstSundayUntilEndJanuary=31-firstSunday.getDate();var days=firstSundayUntilEndJanuary+februaryFirstUntilEndMonth+endDate.getDate();return leadingNulls(Math.ceil(days/7),2)}return compareByDay(firstSunday,janFirst)===0?"01":"00"},"%V":function(date){var janFourthThisYear=new Date(date.tm_year+1900,0,4);var janFourthNextYear=new Date(date.tm_year+1901,0,4);var firstWeekStartThisYear=getFirstWeekStartDate(janFourthThisYear);var firstWeekStartNextYear=getFirstWeekStartDate(janFourthNextYear);var endDate=__addDays(new Date(date.tm_year+1900,0,1),date.tm_yday);if(compareByDay(endDate,firstWeekStartThisYear)<0){return"53"}if(compareByDay(firstWeekStartNextYear,endDate)<=0){return"01"}var daysDifference;if(firstWeekStartThisYear.getFullYear()=0;off=Math.abs(off)/60;off=off/60*100+off%60;return(ahead?"+":"-")+String("0000"+off).slice(-4)},"%Z":function(date){return date.tm_zone},"%%":function(){return"%"}};for(var rule in EXPANSION_RULES_2){if(pattern.indexOf(rule)>=0){pattern=pattern.replace(new RegExp(rule,"g"),EXPANSION_RULES_2[rule](date))}}var bytes=intArrayFromString(pattern,false);if(bytes.length>maxsize){return 0}writeArrayToMemory(bytes,s);return bytes.length-1}function _strftime_l(s,maxsize,format,tm){return _strftime(s,maxsize,format,tm)}function _time(ptr){var ret=Date.now()/1e3|0;if(ptr){HEAP32[ptr>>2]=ret}return ret}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}var asmLibraryArg={"a":___assert_fail,"N":___clock_gettime,"u":___cxa_allocate_exception,"t":___cxa_throw,"I":___gmtime_r,"M":___sys_chdir,"r":___sys_fcntl64,"R":___sys_fstat64,"L":___sys_getcwd,"U":___sys_getdents64,"O":___sys_ioctl,"P":___sys_lstat64,"Q":___sys_mkdir,"T":___sys_mmap2,"S":___sys_munmap,"q":___sys_open,"K":___sys_readlink,"w":___sys_rmdir,"x":___sys_stat64,"p":___sys_unlink,"f":_abort,"d":_emscripten_longjmp,"C":_emscripten_memcpy_big,"D":_emscripten_resize_heap,"G":_environ_get,"H":_environ_sizes_get,"J":_exit,"n":_fd_close,"F":_fd_fdstat_get,"v":_fd_read,"B":_fd_seek,"o":_fd_write,"b":_getTempRet0,"g":invoke_ii,"l":invoke_iii,"j":invoke_iiii,"i":invoke_iiiii,"s":invoke_iiiiii,"y":invoke_v,"h":invoke_vi,"e":invoke_vii,"k":invoke_viii,"A":invoke_viiii,"V":invoke_viiiiiiiii,"m":_mktime,"c":_setTempRet0,"E":_strftime_l,"z":_time};var asm=createWasm();var ___wasm_call_ctors=Module["___wasm_call_ctors"]=function(){return(___wasm_call_ctors=Module["___wasm_call_ctors"]=Module["asm"]["X"]).apply(null,arguments)};var _memset=Module["_memset"]=function(){return(_memset=Module["_memset"]=Module["asm"]["Z"]).apply(null,arguments)};var _free=Module["_free"]=function(){return(_free=Module["_free"]=Module["asm"]["_"]).apply(null,arguments)};var _malloc=Module["_malloc"]=function(){return(_malloc=Module["_malloc"]=Module["asm"]["$"]).apply(null,arguments)};var ___errno_location=Module["___errno_location"]=function(){return(___errno_location=Module["___errno_location"]=Module["asm"]["aa"]).apply(null,arguments)};var _XPS_Load=Module["_XPS_Load"]=function(){return(_XPS_Load=Module["_XPS_Load"]=Module["asm"]["ba"]).apply(null,arguments)};var _DJVU_Load=Module["_DJVU_Load"]=function(){return(_DJVU_Load=Module["_DJVU_Load"]=Module["asm"]["ca"]).apply(null,arguments)};var _XPS_Close=Module["_XPS_Close"]=function(){return(_XPS_Close=Module["_XPS_Close"]=Module["asm"]["da"]).apply(null,arguments)};var _XPS_GetInfo=Module["_XPS_GetInfo"]=function(){return(_XPS_GetInfo=Module["_XPS_GetInfo"]=Module["asm"]["ea"]).apply(null,arguments)};var _XPS_GetPixmap=Module["_XPS_GetPixmap"]=function(){return(_XPS_GetPixmap=Module["_XPS_GetPixmap"]=Module["asm"]["fa"]).apply(null,arguments)};var _XPS_GetGlyphs=Module["_XPS_GetGlyphs"]=function(){return(_XPS_GetGlyphs=Module["_XPS_GetGlyphs"]=Module["asm"]["ga"]).apply(null,arguments)};var _DJVU_GetGlyphs=Module["_DJVU_GetGlyphs"]=function(){return(_DJVU_GetGlyphs=Module["_DJVU_GetGlyphs"]=Module["asm"]["ha"]).apply(null,arguments)};var _XPS_GetStructure=Module["_XPS_GetStructure"]=function(){return(_XPS_GetStructure=Module["_XPS_GetStructure"]=Module["asm"]["ia"]).apply(null,arguments)};var _DJVU_GetStructure=Module["_DJVU_GetStructure"]=function(){return(_DJVU_GetStructure=Module["_DJVU_GetStructure"]=Module["asm"]["ja"]).apply(null,arguments)};var _XPS_Delete=Module["_XPS_Delete"]=function(){return(_XPS_Delete=Module["_XPS_Delete"]=Module["asm"]["ka"]).apply(null,arguments)};var __get_tzname=Module["__get_tzname"]=function(){return(__get_tzname=Module["__get_tzname"]=Module["asm"]["la"]).apply(null,arguments)};var __get_daylight=Module["__get_daylight"]=function(){return(__get_daylight=Module["__get_daylight"]=Module["asm"]["ma"]).apply(null,arguments)};var __get_timezone=Module["__get_timezone"]=function(){return(__get_timezone=Module["__get_timezone"]=Module["asm"]["na"]).apply(null,arguments)};var stackSave=Module["stackSave"]=function(){return(stackSave=Module["stackSave"]=Module["asm"]["oa"]).apply(null,arguments)};var stackRestore=Module["stackRestore"]=function(){return(stackRestore=Module["stackRestore"]=Module["asm"]["pa"]).apply(null,arguments)};var _setThrew=Module["_setThrew"]=function(){return(_setThrew=Module["_setThrew"]=Module["asm"]["qa"]).apply(null,arguments)};var _memalign=Module["_memalign"]=function(){return(_memalign=Module["_memalign"]=Module["asm"]["ra"]).apply(null,arguments)};function invoke_ii(index,a1){var sp=stackSave();try{return wasmTable.get(index)(a1)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iii(index,a1,a2){var sp=stackSave();try{return wasmTable.get(index)(a1,a2)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiii(index,a1,a2,a3){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viii(index,a1,a2,a3){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_vi(index,a1){var sp=stackSave();try{wasmTable.get(index)(a1)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiiii(index,a1,a2,a3,a4,a5){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3,a4,a5)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_vii(index,a1,a2){var sp=stackSave();try{wasmTable.get(index)(a1,a2)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiii(index,a1,a2,a3,a4){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3,a4)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiii(index,a1,a2,a3,a4){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4,a5,a6,a7,a8,a9)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_v(index){var sp=stackSave();try{wasmTable.get(index)()}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}var calledRun;function ExitStatus(status){this.name="ExitStatus";this.message="Program terminated with exit("+status+")";this.status=status}dependenciesFulfilled=function runCaller(){if(!calledRun)run();if(!calledRun)dependenciesFulfilled=runCaller};function run(args){args=args||arguments_;if(runDependencies>0){return}preRun();if(runDependencies>0){return}function doRun(){if(calledRun)return;calledRun=true;Module["calledRun"]=true;if(ABORT)return;initRuntime();preMain();if(Module["onRuntimeInitialized"])Module["onRuntimeInitialized"]();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&&noExitRuntime&&status===0){return}if(noExitRuntime){}else{EXITSTATUS=status;exitRuntime();if(Module["onExit"])Module["onExit"](status);ABORT=true}quit_(status,new ExitStatus(status))}if(Module["preInit"]){if(typeof Module["preInit"]=="function")Module["preInit"]=[Module["preInit"]];while(Module["preInit"].length>0){Module["preInit"].pop()()}}run(); - - - /** - * - * @param config - * @constructor - * @extends {AscViewer.IFile} - */ - function CFile() - { - AscViewer.IFile.call(this); - } - - CFile.prototype = Object.create(AscViewer.IFile.prototype); - CFile.prototype.constructor = CFile; - - CFile.prototype.loadFromData = function(arrayBuffer) - { - var data = new Uint8Array(arrayBuffer); - var _stream = Module["_malloc"](data.length); - Module["HEAP8"].set(data, _stream); - this.nativeFile = Module["_DJVU_Load"](_stream, data.length); - Module["_free"](_stream); - return this.getInfo(); - }; - CFile.prototype.getInfo = function() - { - if (!this.nativeFile) - return false; - - var _info = Module["_XPS_GetInfo"](this.nativeFile); - if (!_info) - return false; - - var _pages = Module["HEAP32"][_info >> 2]; - var _buffer = new Int32Array(Module["HEAP8"].buffer, _info, 1 + 3 * _pages); - - var _cur = 1; - for (var i = 0; i < _pages; i++) - { - this.pages.push({ W : _buffer[_cur++], H : _buffer[_cur++], Dpi : _buffer[_cur++] }); - } - - this.free(_info); - return this.pages.length > 0; - }; - CFile.prototype.getPagePixmap = function(pageIndex, width, height) - { - var res = Module["_XPS_GetPixmap"](this.nativeFile, pageIndex, width, height); - - var glyphs = Module["_DJVU_GetGlyphs"](this.nativeFile, pageIndex); - if (glyphs == null) - return res; - var lenArray = new Int32Array(Module["HEAP8"].buffer, glyphs, 4); - var len = lenArray[0]; - len -= 4; - if (len <= 0) - return res; - - this.pages[pageIndex].Lines = []; - var buffer = new Uint8Array(Module["HEAP8"].buffer, glyphs + 4, len); - var index = 0; - var Line = -1; - while (index < len) - { - var lenRec = buffer[index] | buffer[index + 1] << 8 | buffer[index + 2] << 16 | buffer[index + 3] << 24; - index += 4; - var _Word = "".fromUtf8(buffer, index, lenRec); - index += lenRec; - lenRec = buffer[index] | buffer[index + 1] << 8 | buffer[index + 2] << 16 | buffer[index + 3] << 24; - index += 4; - var _X = parseFloat("".fromUtf8(buffer, index, lenRec)); - index += lenRec; - lenRec = buffer[index] | buffer[index + 1] << 8 | buffer[index + 2] << 16 | buffer[index + 3] << 24; - index += 4; - var _Y = parseFloat("".fromUtf8(buffer, index, lenRec)); - index += lenRec; - lenRec = buffer[index] | buffer[index + 1] << 8 | buffer[index + 2] << 16 | buffer[index + 3] << 24; - index += 4; - var _W = parseFloat("".fromUtf8(buffer, index, lenRec)); - index += lenRec; - lenRec = buffer[index] | buffer[index + 1] << 8 | buffer[index + 2] << 16 | buffer[index + 3] << 24; - index += 4; - var _H = parseFloat("".fromUtf8(buffer, index, lenRec)); - index += lenRec; - - Line++; - this.pages[pageIndex].Lines.push({ Glyphs : [] }); - for (let i = 0; i < _Word.length; i++) - { - this.pages[pageIndex].Lines[Line].Glyphs.push({ - X : (_X + _W / _Word.length * i) * 1.015, - UChar : _Word[i] - }); - } - this.pages[pageIndex].Lines[Line].Glyphs[0].Y = _Y * 1.015; - this.pages[pageIndex].Lines[Line].Glyphs[0].fontSize = _H; - } - - return res; - }; - CFile.prototype.structure = function() - { - var res = []; - var str = Module["_DJVU_GetStructure"](this.nativeFile); - var lenArray = new Int32Array(Module["HEAP8"].buffer, str, 4); - if (lenArray == null) - return res; - var len = lenArray[0]; - len -= 4; - if (len <= 0) - return res; - - var buffer = new Uint8Array(Module["HEAP8"].buffer, str + 4, len); - var index = 0; - var Line = -1; - var prevY = -1; - while (index < len) - { - var lenRec = buffer[index] | buffer[index + 1] << 8 | buffer[index + 2] << 16 | buffer[index + 3] << 24; - index += 4; - var _Page = lenRec; - lenRec = buffer[index] | buffer[index + 1] << 8 | buffer[index + 2] << 16 | buffer[index + 3] << 24; - index += 4; - var _Level = lenRec; - lenRec = buffer[index] | buffer[index + 1] << 8 | buffer[index + 2] << 16 | buffer[index + 3] << 24; - index += 4; - var _Description = "".fromUtf8(buffer, index, lenRec); - index += lenRec; - - res.push({ page : _Page, level : _Level, Y : 0, description : _Description}); - } - - Module["_XPS_Delete"](str); - return res; - }; - CFile.prototype.close = function() - { - Module["_XPS_Close"](this.nativeFile); - this.nativeFile = 0; - this.pages = []; - }; - CFile.prototype.memory = function() - { - return Module["HEAP8"]; - }; - CFile.prototype.free = function(pointer) - { - Module["_XPS_Delete"](pointer); - }; - - window["AscViewer"].DjVuFile = CFile; - -})(window, undefined); diff --git a/pdf/src/xps_djvu/xps.js b/pdf/src/xps_djvu/xps.js deleted file mode 100644 index 4de3cb0cbe..0000000000 --- a/pdf/src/xps_djvu/xps.js +++ /dev/null @@ -1,389 +0,0 @@ -/* - * (c) Copyright Ascensio System SIA 2010-2019 - * - * This program is a free software product. You can redistribute it and/or - * modify it under the terms of the GNU Affero General Public License (AGPL) - * version 3 as published by the Free Software Foundation. In accordance with - * Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect - * that Ascensio System SIA expressly excludes the warranty of non-infringement - * of any third-party rights. - * - * This program is distributed WITHOUT ANY WARRANTY; without even the implied - * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For - * details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html - * - * You can contact Ascensio System SIA at 20A-12 Ernesta Birznieka-Upisha - * street, Riga, Latvia, EU, LV-1050. - * - * The interactive user interfaces in modified source and object code versions - * of the Program must display Appropriate Legal Notices, as required under - * Section 5 of the GNU AGPL version 3. - * - * Pursuant to Section 7(b) of the License you must retain the original Product - * logo when distributing the program. Pursuant to Section 7(e) we decline to - * grant you any rights under trademark law for use of our trademarks. - * - * All the Product's GUI elements, including illustrations and icon sets, as - * well as technical writing content are licensed under the terms of the - * Creative Commons Attribution-ShareAlike 4.0 International. See the License - * terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode - * - */ - -(function(window, undefined) { - - var printErr = undefined; - var FS = undefined; - var print = undefined; - - var getBinaryPromise = null; - if (window["AscDesktopEditor"] && document.currentScript && 0 == document.currentScript.src.indexOf("file:///")) - { - // fetch not support file:/// scheme - window.fetch = undefined; - - getBinaryPromise = function() { - - var wasmPath = "ascdesktop://fonts/" + wasmBinaryFile.substr(8); - return new Promise(function (resolve, reject) { - - var xhr = new XMLHttpRequest(); - xhr.open('GET', wasmPath, true); - xhr.responseType = 'arraybuffer'; - - if (xhr.overrideMimeType) - xhr.overrideMimeType('text/plain; charset=x-user-defined'); - else - xhr.setRequestHeader('Accept-Charset', 'x-user-defined'); - - xhr.onload = function () { - if (this.status == 200) { - resolve(new Uint8Array(this.response)); - } - }; - - xhr.send(null); - - }); - } - } - else - { - getBinaryPromise = function() { - return getBinaryPromise2(); - } - } - - (function(){ - - if (undefined !== String.prototype.fromUtf8 && - undefined !== String.prototype.toUtf8) - return; - - /** - * Read string from utf8 - * @param {Uint8Array} buffer - * @param {number} [start=0] - * @param {number} [len] - * @returns {string} - */ - String.prototype.fromUtf8 = function(buffer, start, len) { - if (undefined === start) - start = 0; - if (undefined === len) - len = buffer.length; - - var result = ""; - var index = start; - var end = start + len; - while (index < end) - { - var u0 = buffer[index++]; - if (!(u0 & 128)) - { - result += String.fromCharCode(u0); - continue; - } - var u1 = buffer[index++] & 63; - if ((u0 & 224) == 192) - { - result += String.fromCharCode((u0 & 31) << 6 | u1); - continue; - } - var u2 = buffer[index++] & 63; - if ((u0 & 240) == 224) - u0 = (u0 & 15) << 12 | u1 << 6 | u2; - else - u0 = (u0 & 7) << 18 | u1 << 12 | u2 << 6 | buffer[index++] & 63; - if (u0 < 65536) - result += String.fromCharCode(u0); - else - { - var ch = u0 - 65536; - result += String.fromCharCode(55296 | ch >> 10, 56320 | ch & 1023); - } - } - return result; - }; - - /** - * Convert string to utf8 array - * @returns {Uint8Array} - */ - String.prototype.toUtf8 = function() { - var inputLen = this.length; - var testLen = 6 * inputLen + 1; - var tmpStrings = new ArrayBuffer(testLen); - - var code = 0; - var index = 0; - - var outputIndex = 0; - var outputDataTmp = new Uint8Array(tmpStrings); - var outputData = outputDataTmp; - - while (index < inputLen) - { - code = this.charCodeAt(index++); - if (code >= 0xD800 && code <= 0xDFFF && index < inputLen) - code = 0x10000 + (((code & 0x3FF) << 10) | (0x03FF & this.charCodeAt(index++))); - - if (code < 0x80) - outputData[outputIndex++] = code; - else if (code < 0x0800) - { - outputData[outputIndex++] = 0xC0 | (code >> 6); - outputData[outputIndex++] = 0x80 | (code & 0x3F); - } - else if (code < 0x10000) - { - outputData[outputIndex++] = 0xE0 | (code >> 12); - outputData[outputIndex++] = 0x80 | ((code >> 6) & 0x3F); - outputData[outputIndex++] = 0x80 | (code & 0x3F); - } - else if (code < 0x1FFFFF) - { - outputData[outputIndex++] = 0xF0 | (code >> 18); - outputData[outputIndex++] = 0x80 | ((code >> 12) & 0x3F); - outputData[outputIndex++] = 0x80 | ((code >> 6) & 0x3F); - outputData[outputIndex++] = 0x80 | (code & 0x3F); - } - else if (code < 0x3FFFFFF) - { - outputData[outputIndex++] = 0xF8 | (code >> 24); - outputData[outputIndex++] = 0x80 | ((code >> 18) & 0x3F); - outputData[outputIndex++] = 0x80 | ((code >> 12) & 0x3F); - outputData[outputIndex++] = 0x80 | ((code >> 6) & 0x3F); - outputData[outputIndex++] = 0x80 | (code & 0x3F); - } - else if (code < 0x7FFFFFFF) - { - outputData[outputIndex++] = 0xFC | (code >> 30); - outputData[outputIndex++] = 0x80 | ((code >> 24) & 0x3F); - outputData[outputIndex++] = 0x80 | ((code >> 18) & 0x3F); - outputData[outputIndex++] = 0x80 | ((code >> 12) & 0x3F); - outputData[outputIndex++] = 0x80 | ((code >> 6) & 0x3F); - outputData[outputIndex++] = 0x80 | (code & 0x3F); - } - } - - outputData[outputIndex++] = 0; - - return new Uint8Array(tmpStrings, 0, outputIndex); - }; - -})(); - - - var Module=typeof Module!=="undefined"?Module:{};var moduleOverrides={};var key;for(key in Module){if(Module.hasOwnProperty(key)){moduleOverrides[key]=Module[key]}}var arguments_=[];var thisProgram="./this.program";var quit_=function(status,toThrow){throw toThrow};var ENVIRONMENT_IS_WEB=true;var ENVIRONMENT_IS_WORKER=false;var scriptDirectory="";function locateFile(path){if(Module["locateFile"]){return Module["locateFile"](path,scriptDirectory)}return scriptDirectory+path}var read_,readAsync,readBinary,setWindowTitle;if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){if(ENVIRONMENT_IS_WORKER){scriptDirectory=self.location.href}else if(typeof document!=="undefined"&&document.currentScript){scriptDirectory=document.currentScript.src}if(scriptDirectory.indexOf("blob:")!==0){scriptDirectory=scriptDirectory.substr(0,scriptDirectory.lastIndexOf("/")+1)}else{scriptDirectory=""}{read_=function(url){var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return xhr.responseText};if(ENVIRONMENT_IS_WORKER){readBinary=function(url){var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.responseType="arraybuffer";xhr.send(null);return new Uint8Array(xhr.response)}}readAsync=function(url,onload,onerror){var xhr=new XMLHttpRequest;xhr.open("GET",url,true);xhr.responseType="arraybuffer";xhr.onload=function(){if(xhr.status==200||xhr.status==0&&xhr.response){onload(xhr.response);return}onerror()};xhr.onerror=onerror;xhr.send(null)}}setWindowTitle=function(title){document.title=title}}else{}var out=Module["print"]||console.log.bind(console);var err=Module["printErr"]||console.warn.bind(console);for(key in moduleOverrides){if(moduleOverrides.hasOwnProperty(key)){Module[key]=moduleOverrides[key]}}moduleOverrides=null;if(Module["arguments"])arguments_=Module["arguments"];if(Module["thisProgram"])thisProgram=Module["thisProgram"];if(Module["quit"])quit_=Module["quit"];var tempRet0=0;var setTempRet0=function(value){tempRet0=value};var getTempRet0=function(){return tempRet0};var wasmBinary;if(Module["wasmBinary"])wasmBinary=Module["wasmBinary"];var noExitRuntime=Module["noExitRuntime"]||true;if(typeof WebAssembly!=="object"){abort("no native wasm support detected")}var wasmMemory;var ABORT=false;var EXITSTATUS;var UTF8Decoder=typeof TextDecoder!=="undefined"?new TextDecoder("utf8"):undefined;function UTF8ArrayToString(heap,idx,maxBytesToRead){var endIdx=idx+maxBytesToRead;var endPtr=idx;while(heap[endPtr]&&!(endPtr>=endIdx))++endPtr;if(endPtr-idx>16&&heap.subarray&&UTF8Decoder){return UTF8Decoder.decode(heap.subarray(idx,endPtr))}else{var str="";while(idx>10,56320|ch&1023)}}}return str}function UTF8ToString(ptr,maxBytesToRead){return ptr?UTF8ArrayToString(HEAPU8,ptr,maxBytesToRead):""}function stringToUTF8Array(str,heap,outIdx,maxBytesToWrite){if(!(maxBytesToWrite>0))return 0;var startIdx=outIdx;var endIdx=outIdx+maxBytesToWrite-1;for(var i=0;i=55296&&u<=57343){var u1=str.charCodeAt(++i);u=65536+((u&1023)<<10)|u1&1023}if(u<=127){if(outIdx>=endIdx)break;heap[outIdx++]=u}else if(u<=2047){if(outIdx+1>=endIdx)break;heap[outIdx++]=192|u>>6;heap[outIdx++]=128|u&63}else if(u<=65535){if(outIdx+2>=endIdx)break;heap[outIdx++]=224|u>>12;heap[outIdx++]=128|u>>6&63;heap[outIdx++]=128|u&63}else{if(outIdx+3>=endIdx)break;heap[outIdx++]=240|u>>18;heap[outIdx++]=128|u>>12&63;heap[outIdx++]=128|u>>6&63;heap[outIdx++]=128|u&63}}heap[outIdx]=0;return outIdx-startIdx}function lengthBytesUTF8(str){var len=0;for(var i=0;i=55296&&u<=57343)u=65536+((u&1023)<<10)|str.charCodeAt(++i)&1023;if(u<=127)++len;else if(u<=2047)len+=2;else if(u<=65535)len+=3;else len+=4}return len}function allocateUTF8(str){var size=lengthBytesUTF8(str)+1;var ret=_malloc(size);if(ret)stringToUTF8Array(str,HEAP8,ret,size);return ret}function writeArrayToMemory(array,buffer){HEAP8.set(array,buffer)}function writeAsciiToMemory(str,buffer,dontAddNull){for(var i=0;i>0]=str.charCodeAt(i)}if(!dontAddNull)HEAP8[buffer>>0]=0}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 updateGlobalBufferAndViews(buf){buffer=buf;Module["HEAP8"]=HEAP8=new Int8Array(buf);Module["HEAP16"]=HEAP16=new Int16Array(buf);Module["HEAP32"]=HEAP32=new Int32Array(buf);Module["HEAPU8"]=HEAPU8=new Uint8Array(buf);Module["HEAPU16"]=HEAPU16=new Uint16Array(buf);Module["HEAPU32"]=HEAPU32=new Uint32Array(buf);Module["HEAPF32"]=HEAPF32=new Float32Array(buf);Module["HEAPF64"]=HEAPF64=new Float64Array(buf)}var INITIAL_MEMORY=Module["INITIAL_MEMORY"]||16777216;var wasmTable;var __ATPRERUN__=[];var __ATINIT__=[];var __ATMAIN__=[];var __ATPOSTRUN__=[];var runtimeInitialized=false;var runtimeExited=false;__ATINIT__.push({func:function(){___wasm_call_ctors()}});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 initRuntime(){runtimeInitialized=true;callRuntimeCallbacks(__ATINIT__)}function preMain(){callRuntimeCallbacks(__ATMAIN__)}function exitRuntime(){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)}var runDependencies=0;var runDependencyWatcher=null;var dependenciesFulfilled=null;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"]={};function abort(what){if(Module["onAbort"]){Module["onAbort"](what)}what+="";err(what);ABORT=true;EXITSTATUS=1;what="abort("+what+"). Build with -s ASSERTIONS=1 for more info.";var e=new WebAssembly.RuntimeError(what);throw e}function hasPrefix(str,prefix){return String.prototype.startsWith?str.startsWith(prefix):str.indexOf(prefix)===0}var dataURIPrefix="data:application/octet-stream;base64,";function isDataURI(filename){return hasPrefix(filename,dataURIPrefix)}var wasmBinaryFile="xps_djvu.wasm";if(!isDataURI(wasmBinaryFile)){wasmBinaryFile=locateFile(wasmBinaryFile)}function getBinary(file){try{if(file==wasmBinaryFile&&wasmBinary){return new Uint8Array(wasmBinary)}if(readBinary){return readBinary(file)}else{throw"both async and sync fetching of the wasm failed"}}catch(err){abort(err)}}function getBinaryPromise2(){if(!wasmBinary&&(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)){if(typeof fetch==="function"){return fetch(wasmBinaryFile,{credentials:"same-origin"}).then(function(response){if(!response["ok"]){throw"failed to load wasm binary file at '"+wasmBinaryFile+"'"}return response["arrayBuffer"]()}).catch(function(){return getBinary(wasmBinaryFile)})}}return Promise.resolve().then(function(){return getBinary(wasmBinaryFile)})}function createWasm(){var info={"a":asmLibraryArg};function receiveInstance(instance,module){var exports=instance.exports;Module["asm"]=exports;wasmMemory=Module["asm"]["W"];updateGlobalBufferAndViews(wasmMemory.buffer);wasmTable=Module["asm"]["Y"];removeRunDependency("wasm-instantiate")}addRunDependency("wasm-instantiate");function receiveInstantiatedSource(output){receiveInstance(output["instance"])}function instantiateArrayBuffer(receiver){return getBinaryPromise().then(function(binary){return WebAssembly.instantiate(binary,info)}).then(receiver,function(reason){err("failed to asynchronously prepare wasm: "+reason);abort(reason)})}function instantiateAsync(){if(!wasmBinary&&typeof WebAssembly.instantiateStreaming==="function"&&!isDataURI(wasmBinaryFile)&&typeof fetch==="function"){return fetch(wasmBinaryFile,{credentials:"same-origin"}).then(function(response){var result=WebAssembly.instantiateStreaming(response,info);return result.then(receiveInstantiatedSource,function(reason){err("wasm streaming compile failed: "+reason);err("falling back to ArrayBuffer instantiation");return instantiateArrayBuffer(receiveInstantiatedSource)})})}else{return instantiateArrayBuffer(receiveInstantiatedSource)}}if(Module["instantiateWasm"]){try{var exports=Module["instantiateWasm"](info,receiveInstance);return exports}catch(e){err("Module.instantiateWasm callback failed with error: "+e);return false}}instantiateAsync();return{}}function callRuntimeCallbacks(callbacks){while(callbacks.length>0){var callback=callbacks.shift();if(typeof callback=="function"){callback(Module);continue}var func=callback.func;if(typeof func==="number"){if(callback.arg===undefined){wasmTable.get(func)()}else{wasmTable.get(func)(callback.arg)}}else{func(callback.arg===undefined?null:callback.arg)}}}function ___assert_fail(condition,filename,line,func){abort("Assertion failed: "+UTF8ToString(condition)+", at: "+[filename?UTF8ToString(filename):"unknown filename",line,func?UTF8ToString(func):"unknown function"])}var _emscripten_get_now;_emscripten_get_now=function(){return performance.now()};var _emscripten_get_now_is_monotonic=true;function setErrNo(value){HEAP32[___errno_location()>>2]=value;return value}function _clock_gettime(clk_id,tp){var now;if(clk_id===0){now=Date.now()}else if((clk_id===1||clk_id===4)&&_emscripten_get_now_is_monotonic){now=_emscripten_get_now()}else{setErrNo(28);return-1}HEAP32[tp>>2]=now/1e3|0;HEAP32[tp+4>>2]=now%1e3*1e3*1e3|0;return 0}function ___clock_gettime(a0,a1){return _clock_gettime(a0,a1)}var ExceptionInfoAttrs={DESTRUCTOR_OFFSET:0,REFCOUNT_OFFSET:4,TYPE_OFFSET:8,CAUGHT_OFFSET:12,RETHROWN_OFFSET:13,SIZE:16};function ___cxa_allocate_exception(size){return _malloc(size+ExceptionInfoAttrs.SIZE)+ExceptionInfoAttrs.SIZE}function ExceptionInfo(excPtr){this.excPtr=excPtr;this.ptr=excPtr-ExceptionInfoAttrs.SIZE;this.set_type=function(type){HEAP32[this.ptr+ExceptionInfoAttrs.TYPE_OFFSET>>2]=type};this.get_type=function(){return HEAP32[this.ptr+ExceptionInfoAttrs.TYPE_OFFSET>>2]};this.set_destructor=function(destructor){HEAP32[this.ptr+ExceptionInfoAttrs.DESTRUCTOR_OFFSET>>2]=destructor};this.get_destructor=function(){return HEAP32[this.ptr+ExceptionInfoAttrs.DESTRUCTOR_OFFSET>>2]};this.set_refcount=function(refcount){HEAP32[this.ptr+ExceptionInfoAttrs.REFCOUNT_OFFSET>>2]=refcount};this.set_caught=function(caught){caught=caught?1:0;HEAP8[this.ptr+ExceptionInfoAttrs.CAUGHT_OFFSET>>0]=caught};this.get_caught=function(){return HEAP8[this.ptr+ExceptionInfoAttrs.CAUGHT_OFFSET>>0]!=0};this.set_rethrown=function(rethrown){rethrown=rethrown?1:0;HEAP8[this.ptr+ExceptionInfoAttrs.RETHROWN_OFFSET>>0]=rethrown};this.get_rethrown=function(){return HEAP8[this.ptr+ExceptionInfoAttrs.RETHROWN_OFFSET>>0]!=0};this.init=function(type,destructor){this.set_type(type);this.set_destructor(destructor);this.set_refcount(0);this.set_caught(false);this.set_rethrown(false)};this.add_ref=function(){var value=HEAP32[this.ptr+ExceptionInfoAttrs.REFCOUNT_OFFSET>>2];HEAP32[this.ptr+ExceptionInfoAttrs.REFCOUNT_OFFSET>>2]=value+1};this.release_ref=function(){var prev=HEAP32[this.ptr+ExceptionInfoAttrs.REFCOUNT_OFFSET>>2];HEAP32[this.ptr+ExceptionInfoAttrs.REFCOUNT_OFFSET>>2]=prev-1;return prev===1}}var exceptionLast=0;var uncaughtExceptionCount=0;function ___cxa_throw(ptr,type,destructor){var info=new ExceptionInfo(ptr);info.init(type,destructor);exceptionLast=ptr;uncaughtExceptionCount++;throw ptr}function _gmtime_r(time,tmPtr){var date=new Date(HEAP32[time>>2]*1e3);HEAP32[tmPtr>>2]=date.getUTCSeconds();HEAP32[tmPtr+4>>2]=date.getUTCMinutes();HEAP32[tmPtr+8>>2]=date.getUTCHours();HEAP32[tmPtr+12>>2]=date.getUTCDate();HEAP32[tmPtr+16>>2]=date.getUTCMonth();HEAP32[tmPtr+20>>2]=date.getUTCFullYear()-1900;HEAP32[tmPtr+24>>2]=date.getUTCDay();HEAP32[tmPtr+36>>2]=0;HEAP32[tmPtr+32>>2]=0;var start=Date.UTC(date.getUTCFullYear(),0,1,0,0,0,0);var yday=(date.getTime()-start)/(1e3*60*60*24)|0;HEAP32[tmPtr+28>>2]=yday;if(!_gmtime_r.GMTString)_gmtime_r.GMTString=allocateUTF8("GMT");HEAP32[tmPtr+40>>2]=_gmtime_r.GMTString;return tmPtr}function ___gmtime_r(a0,a1){return _gmtime_r(a0,a1)}var SYSCALLS={mappings:{},buffers:[null,[],[]],printChar:function(stream,curr){var buffer=SYSCALLS.buffers[stream];if(curr===0||curr===10){(stream===1?out:err)(UTF8ArrayToString(buffer,0));buffer.length=0}else{buffer.push(curr)}},varargs:undefined,get:function(){SYSCALLS.varargs+=4;var ret=HEAP32[SYSCALLS.varargs-4>>2];return ret},getStr:function(ptr){var ret=UTF8ToString(ptr);return ret},get64:function(low,high){return low}};function ___sys_chdir(path){}function ___sys_fcntl64(fd,cmd,varargs){SYSCALLS.varargs=varargs;return 0}function ___sys_fstat64(fd,buf){}function ___sys_getcwd(buf,size){}function ___sys_getdents64(fd,dirp,count){}function ___sys_ioctl(fd,op,varargs){SYSCALLS.varargs=varargs;return 0}function ___sys_lstat64(path,buf){}function ___sys_mkdir(path,mode){path=SYSCALLS.getStr(path);return SYSCALLS.doMkdir(path,mode)}function syscallMmap2(addr,len,prot,flags,fd,off){off<<=12;var ptr;var allocated=false;if((flags&16)!==0&&addr%16384!==0){return-28}if((flags&32)!==0){ptr=_memalign(16384,len);if(!ptr)return-48;_memset(ptr,0,len);allocated=true}else{return-52}SYSCALLS.mappings[ptr]={malloc:ptr,len:len,allocated:allocated,fd:fd,prot:prot,flags:flags,offset:off};return ptr}function ___sys_mmap2(addr,len,prot,flags,fd,off){return syscallMmap2(addr,len,prot,flags,fd,off)}function syscallMunmap(addr,len){if((addr|0)===-1||len===0){return-28}var info=SYSCALLS.mappings[addr];if(!info)return 0;if(len===info.len){SYSCALLS.mappings[addr]=null;if(info.allocated){_free(info.malloc)}}return 0}function ___sys_munmap(addr,len){return syscallMunmap(addr,len)}function ___sys_open(path,flags,varargs){SYSCALLS.varargs=varargs}function ___sys_readlink(path,buf,bufsize){path=SYSCALLS.getStr(path);return SYSCALLS.doReadlink(path,buf,bufsize)}function ___sys_rmdir(path){}function ___sys_stat64(path,buf){}function ___sys_unlink(path){}function _abort(){abort()}function _longjmp(env,value){_setThrew(env,value||1);throw"longjmp"}function _emscripten_longjmp(a0,a1){return _longjmp(a0,a1)}function _emscripten_memcpy_big(dest,src,num){HEAPU8.copyWithin(dest,src,src+num)}function _emscripten_get_heap_size(){return HEAPU8.length}function emscripten_realloc_buffer(size){try{wasmMemory.grow(size-buffer.byteLength+65535>>>16);updateGlobalBufferAndViews(wasmMemory.buffer);return 1}catch(e){}}function _emscripten_resize_heap(requestedSize){var oldSize=_emscripten_get_heap_size();var maxHeapSize=2147483648;if(requestedSize>maxHeapSize){return false}for(var cutDown=1;cutDown<=4;cutDown*=2){var overGrownHeapSize=oldSize*(1+.2/cutDown);overGrownHeapSize=Math.min(overGrownHeapSize,requestedSize+100663296);var newSize=Math.min(maxHeapSize,alignUp(Math.max(requestedSize,overGrownHeapSize),65536));var replacement=emscripten_realloc_buffer(newSize);if(replacement){return true}}return false}var ENV={};function getExecutableName(){return thisProgram||"./this.program"}function getEnvStrings(){if(!getEnvStrings.strings){var lang=(typeof navigator==="object"&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8";var env={"USER":"web_user","LOGNAME":"web_user","PATH":"/","PWD":"/","HOME":"/home/web_user","LANG":lang,"_":getExecutableName()};for(var x in ENV){env[x]=ENV[x]}var strings=[];for(var x in env){strings.push(x+"="+env[x])}getEnvStrings.strings=strings}return getEnvStrings.strings}function _environ_get(__environ,environ_buf){var bufSize=0;getEnvStrings().forEach(function(string,i){var ptr=environ_buf+bufSize;HEAP32[__environ+i*4>>2]=ptr;writeAsciiToMemory(string,ptr);bufSize+=string.length+1});return 0}function _environ_sizes_get(penviron_count,penviron_buf_size){var strings=getEnvStrings();HEAP32[penviron_count>>2]=strings.length;var bufSize=0;strings.forEach(function(string){bufSize+=string.length+1});HEAP32[penviron_buf_size>>2]=bufSize;return 0}function _exit(status){exit(status)}function _fd_close(fd){return 0}function _fd_fdstat_get(fd,pbuf){var type=fd==1||fd==2?2:abort();HEAP8[pbuf>>0]=type;return 0}function _fd_read(fd,iov,iovcnt,pnum){var stream=SYSCALLS.getStreamFromFD(fd);var num=SYSCALLS.doReadv(stream,iov,iovcnt);HEAP32[pnum>>2]=num;return 0}function _fd_seek(fd,offset_low,offset_high,whence,newOffset){}function _fd_write(fd,iov,iovcnt,pnum){var num=0;for(var i=0;i>2];var len=HEAP32[iov+(i*8+4)>>2];for(var j=0;j>2]=num;return 0}function _getTempRet0(){return getTempRet0()|0}function _tzset(){if(_tzset.called)return;_tzset.called=true;var currentYear=(new Date).getFullYear();var winter=new Date(currentYear,0,1);var summer=new Date(currentYear,6,1);var winterOffset=winter.getTimezoneOffset();var summerOffset=summer.getTimezoneOffset();var stdTimezoneOffset=Math.max(winterOffset,summerOffset);HEAP32[__get_timezone()>>2]=stdTimezoneOffset*60;HEAP32[__get_daylight()>>2]=Number(winterOffset!=summerOffset);function extractZone(date){var match=date.toTimeString().match(/\(([A-Za-z ]+)\)$/);return match?match[1]:"GMT"}var winterName=extractZone(winter);var summerName=extractZone(summer);var winterNamePtr=allocateUTF8(winterName);var summerNamePtr=allocateUTF8(summerName);if(summerOffset>2]=winterNamePtr;HEAP32[__get_tzname()+4>>2]=summerNamePtr}else{HEAP32[__get_tzname()>>2]=summerNamePtr;HEAP32[__get_tzname()+4>>2]=winterNamePtr}}function _mktime(tmPtr){_tzset();var date=new Date(HEAP32[tmPtr+20>>2]+1900,HEAP32[tmPtr+16>>2],HEAP32[tmPtr+12>>2],HEAP32[tmPtr+8>>2],HEAP32[tmPtr+4>>2],HEAP32[tmPtr>>2],0);var dst=HEAP32[tmPtr+32>>2];var guessedOffset=date.getTimezoneOffset();var start=new Date(date.getFullYear(),0,1);var summerOffset=new Date(date.getFullYear(),6,1).getTimezoneOffset();var winterOffset=start.getTimezoneOffset();var dstOffset=Math.min(winterOffset,summerOffset);if(dst<0){HEAP32[tmPtr+32>>2]=Number(summerOffset!=winterOffset&&dstOffset==guessedOffset)}else if(dst>0!=(dstOffset==guessedOffset)){var nonDstOffset=Math.max(winterOffset,summerOffset);var trueOffset=dst>0?dstOffset:nonDstOffset;date.setTime(date.getTime()+(trueOffset-guessedOffset)*6e4)}HEAP32[tmPtr+24>>2]=date.getDay();var yday=(date.getTime()-start.getTime())/(1e3*60*60*24)|0;HEAP32[tmPtr+28>>2]=yday;HEAP32[tmPtr>>2]=date.getSeconds();HEAP32[tmPtr+4>>2]=date.getMinutes();HEAP32[tmPtr+8>>2]=date.getHours();HEAP32[tmPtr+12>>2]=date.getDate();HEAP32[tmPtr+16>>2]=date.getMonth();return date.getTime()/1e3|0}function _setTempRet0($i){setTempRet0($i|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?UTF8ToString(tm_zone):""};var pattern=UTF8ToString(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","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var rule in EXPANSION_RULES_1){pattern=pattern.replace(new RegExp(rule,"g"),EXPANSION_RULES_1[rule])}var WEEKDAYS=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];var MONTHS=["January","February","March","April","May","June","July","August","September","October","November","December"];function leadingSomething(value,digits,character){var str=typeof value==="number"?value.toString():value||"";while(str.length0?1:0}var compare;if((compare=sgn(date1.getFullYear()-date2.getFullYear()))===0){if((compare=sgn(date1.getMonth()-date2.getMonth()))===0){compare=sgn(date1.getDate()-date2.getDate())}}return compare}function getFirstWeekStartDate(janFourth){switch(janFourth.getDay()){case 0:return new Date(janFourth.getFullYear()-1,11,29);case 1:return janFourth;case 2:return new Date(janFourth.getFullYear(),0,3);case 3:return new Date(janFourth.getFullYear(),0,2);case 4:return new Date(janFourth.getFullYear(),0,1);case 5:return new Date(janFourth.getFullYear()-1,11,31);case 6:return new Date(janFourth.getFullYear()-1,11,30)}}function getWeekBasedYear(date){var thisDate=__addDays(new Date(date.tm_year+1900,0,1),date.tm_yday);var janFourthThisYear=new Date(thisDate.getFullYear(),0,4);var janFourthNextYear=new Date(thisDate.getFullYear()+1,0,4);var firstWeekStartThisYear=getFirstWeekStartDate(janFourthThisYear);var firstWeekStartNextYear=getFirstWeekStartDate(janFourthNextYear);if(compareByDay(firstWeekStartThisYear,thisDate)<=0){if(compareByDay(firstWeekStartNextYear,thisDate)<=0){return thisDate.getFullYear()+1}else{return thisDate.getFullYear()}}else{return thisDate.getFullYear()-1}}var EXPANSION_RULES_2={"%a":function(date){return WEEKDAYS[date.tm_wday].substring(0,3)},"%A":function(date){return WEEKDAYS[date.tm_wday]},"%b":function(date){return MONTHS[date.tm_mon].substring(0,3)},"%B":function(date){return MONTHS[date.tm_mon]},"%C":function(date){var year=date.tm_year+1900;return leadingNulls(year/100|0,2)},"%d":function(date){return leadingNulls(date.tm_mday,2)},"%e":function(date){return leadingSomething(date.tm_mday,2," ")},"%g":function(date){return getWeekBasedYear(date).toString().substring(2)},"%G":function(date){return getWeekBasedYear(date)},"%H":function(date){return leadingNulls(date.tm_hour,2)},"%I":function(date){var twelveHour=date.tm_hour;if(twelveHour==0)twelveHour=12;else if(twelveHour>12)twelveHour-=12;return leadingNulls(twelveHour,2)},"%j":function(date){return leadingNulls(date.tm_mday+__arraySum(__isLeapYear(date.tm_year+1900)?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR,date.tm_mon-1),3)},"%m":function(date){return leadingNulls(date.tm_mon+1,2)},"%M":function(date){return leadingNulls(date.tm_min,2)},"%n":function(){return"\n"},"%p":function(date){if(date.tm_hour>=0&&date.tm_hour<12){return"AM"}else{return"PM"}},"%S":function(date){return leadingNulls(date.tm_sec,2)},"%t":function(){return"\t"},"%u":function(date){return date.tm_wday||7},"%U":function(date){var janFirst=new Date(date.tm_year+1900,0,1);var firstSunday=janFirst.getDay()===0?janFirst:__addDays(janFirst,7-janFirst.getDay());var endDate=new Date(date.tm_year+1900,date.tm_mon,date.tm_mday);if(compareByDay(firstSunday,endDate)<0){var februaryFirstUntilEndMonth=__arraySum(__isLeapYear(endDate.getFullYear())?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR,endDate.getMonth()-1)-31;var firstSundayUntilEndJanuary=31-firstSunday.getDate();var days=firstSundayUntilEndJanuary+februaryFirstUntilEndMonth+endDate.getDate();return leadingNulls(Math.ceil(days/7),2)}return compareByDay(firstSunday,janFirst)===0?"01":"00"},"%V":function(date){var janFourthThisYear=new Date(date.tm_year+1900,0,4);var janFourthNextYear=new Date(date.tm_year+1901,0,4);var firstWeekStartThisYear=getFirstWeekStartDate(janFourthThisYear);var firstWeekStartNextYear=getFirstWeekStartDate(janFourthNextYear);var endDate=__addDays(new Date(date.tm_year+1900,0,1),date.tm_yday);if(compareByDay(endDate,firstWeekStartThisYear)<0){return"53"}if(compareByDay(firstWeekStartNextYear,endDate)<=0){return"01"}var daysDifference;if(firstWeekStartThisYear.getFullYear()=0;off=Math.abs(off)/60;off=off/60*100+off%60;return(ahead?"+":"-")+String("0000"+off).slice(-4)},"%Z":function(date){return date.tm_zone},"%%":function(){return"%"}};for(var rule in EXPANSION_RULES_2){if(pattern.indexOf(rule)>=0){pattern=pattern.replace(new RegExp(rule,"g"),EXPANSION_RULES_2[rule](date))}}var bytes=intArrayFromString(pattern,false);if(bytes.length>maxsize){return 0}writeArrayToMemory(bytes,s);return bytes.length-1}function _strftime_l(s,maxsize,format,tm){return _strftime(s,maxsize,format,tm)}function _time(ptr){var ret=Date.now()/1e3|0;if(ptr){HEAP32[ptr>>2]=ret}return ret}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}var asmLibraryArg={"a":___assert_fail,"N":___clock_gettime,"u":___cxa_allocate_exception,"t":___cxa_throw,"I":___gmtime_r,"M":___sys_chdir,"r":___sys_fcntl64,"R":___sys_fstat64,"L":___sys_getcwd,"U":___sys_getdents64,"O":___sys_ioctl,"P":___sys_lstat64,"Q":___sys_mkdir,"T":___sys_mmap2,"S":___sys_munmap,"q":___sys_open,"K":___sys_readlink,"w":___sys_rmdir,"x":___sys_stat64,"p":___sys_unlink,"f":_abort,"d":_emscripten_longjmp,"C":_emscripten_memcpy_big,"D":_emscripten_resize_heap,"G":_environ_get,"H":_environ_sizes_get,"J":_exit,"n":_fd_close,"F":_fd_fdstat_get,"v":_fd_read,"B":_fd_seek,"o":_fd_write,"b":_getTempRet0,"g":invoke_ii,"l":invoke_iii,"j":invoke_iiii,"i":invoke_iiiii,"s":invoke_iiiiii,"y":invoke_v,"h":invoke_vi,"e":invoke_vii,"k":invoke_viii,"A":invoke_viiii,"V":invoke_viiiiiiiii,"m":_mktime,"c":_setTempRet0,"E":_strftime_l,"z":_time};var asm=createWasm();var ___wasm_call_ctors=Module["___wasm_call_ctors"]=function(){return(___wasm_call_ctors=Module["___wasm_call_ctors"]=Module["asm"]["X"]).apply(null,arguments)};var _memset=Module["_memset"]=function(){return(_memset=Module["_memset"]=Module["asm"]["Z"]).apply(null,arguments)};var _free=Module["_free"]=function(){return(_free=Module["_free"]=Module["asm"]["_"]).apply(null,arguments)};var _malloc=Module["_malloc"]=function(){return(_malloc=Module["_malloc"]=Module["asm"]["$"]).apply(null,arguments)};var ___errno_location=Module["___errno_location"]=function(){return(___errno_location=Module["___errno_location"]=Module["asm"]["aa"]).apply(null,arguments)};var _XPS_Load=Module["_XPS_Load"]=function(){return(_XPS_Load=Module["_XPS_Load"]=Module["asm"]["ba"]).apply(null,arguments)};var _DJVU_Load=Module["_DJVU_Load"]=function(){return(_DJVU_Load=Module["_DJVU_Load"]=Module["asm"]["ca"]).apply(null,arguments)};var _XPS_Close=Module["_XPS_Close"]=function(){return(_XPS_Close=Module["_XPS_Close"]=Module["asm"]["da"]).apply(null,arguments)};var _XPS_GetInfo=Module["_XPS_GetInfo"]=function(){return(_XPS_GetInfo=Module["_XPS_GetInfo"]=Module["asm"]["ea"]).apply(null,arguments)};var _XPS_GetPixmap=Module["_XPS_GetPixmap"]=function(){return(_XPS_GetPixmap=Module["_XPS_GetPixmap"]=Module["asm"]["fa"]).apply(null,arguments)};var _XPS_GetGlyphs=Module["_XPS_GetGlyphs"]=function(){return(_XPS_GetGlyphs=Module["_XPS_GetGlyphs"]=Module["asm"]["ga"]).apply(null,arguments)};var _DJVU_GetGlyphs=Module["_DJVU_GetGlyphs"]=function(){return(_DJVU_GetGlyphs=Module["_DJVU_GetGlyphs"]=Module["asm"]["ha"]).apply(null,arguments)};var _XPS_GetStructure=Module["_XPS_GetStructure"]=function(){return(_XPS_GetStructure=Module["_XPS_GetStructure"]=Module["asm"]["ia"]).apply(null,arguments)};var _DJVU_GetStructure=Module["_DJVU_GetStructure"]=function(){return(_DJVU_GetStructure=Module["_DJVU_GetStructure"]=Module["asm"]["ja"]).apply(null,arguments)};var _XPS_Delete=Module["_XPS_Delete"]=function(){return(_XPS_Delete=Module["_XPS_Delete"]=Module["asm"]["ka"]).apply(null,arguments)};var __get_tzname=Module["__get_tzname"]=function(){return(__get_tzname=Module["__get_tzname"]=Module["asm"]["la"]).apply(null,arguments)};var __get_daylight=Module["__get_daylight"]=function(){return(__get_daylight=Module["__get_daylight"]=Module["asm"]["ma"]).apply(null,arguments)};var __get_timezone=Module["__get_timezone"]=function(){return(__get_timezone=Module["__get_timezone"]=Module["asm"]["na"]).apply(null,arguments)};var stackSave=Module["stackSave"]=function(){return(stackSave=Module["stackSave"]=Module["asm"]["oa"]).apply(null,arguments)};var stackRestore=Module["stackRestore"]=function(){return(stackRestore=Module["stackRestore"]=Module["asm"]["pa"]).apply(null,arguments)};var _setThrew=Module["_setThrew"]=function(){return(_setThrew=Module["_setThrew"]=Module["asm"]["qa"]).apply(null,arguments)};var _memalign=Module["_memalign"]=function(){return(_memalign=Module["_memalign"]=Module["asm"]["ra"]).apply(null,arguments)};function invoke_ii(index,a1){var sp=stackSave();try{return wasmTable.get(index)(a1)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iii(index,a1,a2){var sp=stackSave();try{return wasmTable.get(index)(a1,a2)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiii(index,a1,a2,a3){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viii(index,a1,a2,a3){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_vi(index,a1){var sp=stackSave();try{wasmTable.get(index)(a1)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiiii(index,a1,a2,a3,a4,a5){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3,a4,a5)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_vii(index,a1,a2){var sp=stackSave();try{wasmTable.get(index)(a1,a2)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiiii(index,a1,a2,a3,a4){var sp=stackSave();try{return wasmTable.get(index)(a1,a2,a3,a4)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiii(index,a1,a2,a3,a4){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8,a9){var sp=stackSave();try{wasmTable.get(index)(a1,a2,a3,a4,a5,a6,a7,a8,a9)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_v(index){var sp=stackSave();try{wasmTable.get(index)()}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}var calledRun;function ExitStatus(status){this.name="ExitStatus";this.message="Program terminated with exit("+status+")";this.status=status}dependenciesFulfilled=function runCaller(){if(!calledRun)run();if(!calledRun)dependenciesFulfilled=runCaller};function run(args){args=args||arguments_;if(runDependencies>0){return}preRun();if(runDependencies>0){return}function doRun(){if(calledRun)return;calledRun=true;Module["calledRun"]=true;if(ABORT)return;initRuntime();preMain();if(Module["onRuntimeInitialized"])Module["onRuntimeInitialized"]();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&&noExitRuntime&&status===0){return}if(noExitRuntime){}else{EXITSTATUS=status;exitRuntime();if(Module["onExit"])Module["onExit"](status);ABORT=true}quit_(status,new ExitStatus(status))}if(Module["preInit"]){if(typeof Module["preInit"]=="function")Module["preInit"]=[Module["preInit"]];while(Module["preInit"].length>0){Module["preInit"].pop()()}}run(); - - - /** - * - * @param config - * @constructor - * @extends {AscViewer.IFile} - */ - function CFile() - { - AscViewer.IFile.call(this); - } - - CFile.prototype = Object.create(AscViewer.IFile.prototype); - CFile.prototype.constructor = CFile; - - CFile.prototype.loadFromData = function(arrayBuffer) - { - var data = new Uint8Array(arrayBuffer); - var _stream = Module["_malloc"](data.length); - Module["HEAP8"].set(data, _stream); - this.nativeFile = Module["_XPS_Load"](_stream, data.length); - Module["_free"](_stream); - return this.getInfo(); - }; - CFile.prototype.getInfo = function() - { - if (!this.nativeFile) - return false; - - var _info = Module["_XPS_GetInfo"](this.nativeFile); - if (!_info) - return false; - - var _pages = Module["HEAP32"][_info >> 2]; - var _buffer = new Int32Array(Module["HEAP8"].buffer, _info, 1 + 3 * _pages); - - var _cur = 1; - for (var i = 0; i < _pages; i++) - { - this.pages.push({ W : _buffer[_cur++], H : _buffer[_cur++], Dpi : _buffer[_cur++] }); - } - - this.free(_info); - return this.pages.length > 0; - }; - CFile.prototype.getPagePixmap = function(pageIndex, width, height) - { - var res = Module["_XPS_GetPixmap"](this.nativeFile, pageIndex, width, height); - - var glyphs = Module["_XPS_GetGlyphs"](this.nativeFile, pageIndex); - if (glyphs == null) - return res; - var lenArray = new Int32Array(Module["HEAP8"].buffer, glyphs, 4); - var len = lenArray[0]; - len -= 4; - if (len <= 0) - return res; - - this.pages[pageIndex].Lines = []; - var buffer = new Uint8Array(Module["HEAP8"].buffer, glyphs + 4, len); - var index = 0; - var Line = -1; - var prevY = -1; - while (index < len) - { - var lenRec = buffer[index] | buffer[index + 1] << 8 | buffer[index + 2] << 16 | buffer[index + 3] << 24; - index += 4; - var _fontName = "".fromUtf8(buffer, index, lenRec); - index += lenRec; - lenRec = buffer[index] | buffer[index + 1] << 8 | buffer[index + 2] << 16 | buffer[index + 3] << 24; - index += 4; - var _fontSize = parseFloat("".fromUtf8(buffer, index, lenRec)); - index += lenRec; - lenRec = buffer[index] | buffer[index + 1] << 8 | buffer[index + 2] << 16 | buffer[index + 3] << 24; - index += 4; - let amount = lenRec; - for (var i = 0; i < amount; i++) - { - lenRec = buffer[index] | buffer[index + 1] << 8 | buffer[index + 2] << 16 | buffer[index + 3] << 24; - index += 4; - var _X = parseFloat("".fromUtf8(buffer, index, lenRec)); - index += lenRec; - lenRec = buffer[index] | buffer[index + 1] << 8 | buffer[index + 2] << 16 | buffer[index + 3] << 24; - index += 4; - var _Y = parseFloat("".fromUtf8(buffer, index, lenRec)); - if (_Y != prevY) - { - if (Line >= 0) - this.pages[pageIndex].Lines[Line].Glyphs.sort((prev, next) => prev.X - next.X); - Line++; - this.pages[pageIndex].Lines.push({ Glyphs : [] }); - prevY = _Y; - } - index += lenRec; - lenRec = buffer[index] | buffer[index + 1] << 8 | buffer[index + 2] << 16 | buffer[index + 3] << 24; - index += 4; - this.pages[pageIndex].Lines[Line].Glyphs.push({ - fontName : _fontName, - fontSize : _fontSize, - X : _X * 1.015, - Y : _Y * 1.015, - UChar : String.fromCharCode(lenRec) - }); - } - } - this.pages[pageIndex].Lines.sort((prev, next) => prev.Glyphs[0].Y - next.Glyphs[0].Y); - - prevY = -1; - var prevFontName = ""; - var prevFontSize = ""; - for (let i = 0; i < this.pages[pageIndex].Lines.length; i++) - { - for (let j = 0; j < this.pages[pageIndex].Lines[i].Glyphs.length; j++) - { - let glyph = this.pages[pageIndex].Lines[i].Glyphs[j]; - if (glyph.fontName == prevFontName) - delete glyph.fontName; - else - prevFontName = glyph.fontName; - if (glyph.fontSize == prevFontSize && j != 0) - delete glyph.fontSize; - else - prevFontSize = glyph.fontSize; - if (glyph.Y == prevY && j != 0) - delete glyph.Y; - else - prevY = glyph.Y; - } - } - Module["_XPS_Delete"](glyphs); - - return res; - }; - CFile.prototype.structure = function() - { - var res = []; - var str = Module["_XPS_GetStructure"](this.nativeFile); - var lenArray = new Int32Array(Module["HEAP8"].buffer, str, 4); - if (lenArray == null) - return res; - var len = lenArray[0]; - len -= 4; - if (len <= 0) - return res; - - var buffer = new Uint8Array(Module["HEAP8"].buffer, str + 4, len); - var index = 0; - var Line = -1; - var prevY = -1; - while (index < len) - { - var lenRec = buffer[index] | buffer[index + 1] << 8 | buffer[index + 2] << 16 | buffer[index + 3] << 24; - index += 4; - var _Page = lenRec; - lenRec = buffer[index] | buffer[index + 1] << 8 | buffer[index + 2] << 16 | buffer[index + 3] << 24; - index += 4; - var _Level = lenRec; - lenRec = buffer[index] | buffer[index + 1] << 8 | buffer[index + 2] << 16 | buffer[index + 3] << 24; - index += 4; - var _Y = parseFloat("".fromUtf8(buffer, index, lenRec)); - index += lenRec; - lenRec = buffer[index] | buffer[index + 1] << 8 | buffer[index + 2] << 16 | buffer[index + 3] << 24; - index += 4; - var _Description = "".fromUtf8(buffer, index, lenRec); - index += lenRec; - - res.push({ page : _Page, level : _Level, Y : _Y, description : _Description}); - } - - Module["_XPS_Delete"](str); - return res; - }; - CFile.prototype.close = function() - { - Module["_XPS_Close"](this.nativeFile); - this.nativeFile = 0; - this.pages = []; - }; - CFile.prototype.memory = function() - { - return Module["HEAP8"]; - }; - CFile.prototype.free = function(pointer) - { - Module["_XPS_Delete"](pointer); - }; - - window["AscViewer"].XpsFile = CFile; - -})(window, undefined); diff --git a/pdf/src/xps_djvu/xps_djvu.wasm b/pdf/src/xps_djvu/xps_djvu.wasm deleted file mode 100644 index d59fd7b7ad..0000000000 Binary files a/pdf/src/xps_djvu/xps_djvu.wasm and /dev/null differ diff --git a/pdf/test/base.js b/pdf/test/base.js index 3ddae43ff4..9b160fd4b4 100644 --- a/pdf/test/base.js +++ b/pdf/test/base.js @@ -1,3 +1,35 @@ +/* + * (c) Copyright Ascensio System SIA 2010-2019 + * + * This program is a free software product. You can redistribute it and/or + * modify it under the terms of the GNU Affero General Public License (AGPL) + * version 3 as published by the Free Software Foundation. In accordance with + * Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect + * that Ascensio System SIA expressly excludes the warranty of non-infringement + * of any third-party rights. + * + * This program is distributed WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For + * details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html + * + * You can contact Ascensio System SIA at 20A-12 Ernesta Birznieka-Upisha + * street, Riga, Latvia, EU, LV-1050. + * + * The interactive user interfaces in modified source and object code versions + * of the Program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU AGPL version 3. + * + * Pursuant to Section 7(b) of the License you must retain the original Product + * logo when distributing the program. Pursuant to Section 7(e) we decline to + * grant you any rights under trademark law for use of our trademarks. + * + * All the Product's GUI elements, including illustrations and icon sets, as + * well as technical writing content are licensed under the terms of the + * Creative Commons Attribution-ShareAlike 4.0 International. See the License + * terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode + * + */ + window.onload = function() { var holder = document.getElementById("mainPanel"); @@ -205,7 +237,7 @@ window.onload = function() is_correction); }; /// - + AscFonts.g_fontApplication.Init(); window.Viewer = new AscCommon.CViewer("mainPanel"); window.Thumbnails = new AscCommon.ThumbnailsControl("panelThimbnailsNatural"); window.Viewer.setThumbnailsControl(window.Thumbnails); diff --git a/pdf/test/bookmarks.js b/pdf/test/bookmarks.js index 5b0fc37bc4..3d0b1d997d 100644 --- a/pdf/test/bookmarks.js +++ b/pdf/test/bookmarks.js @@ -1,3 +1,35 @@ +/* + * (c) Copyright Ascensio System SIA 2010-2019 + * + * This program is a free software product. You can redistribute it and/or + * modify it under the terms of the GNU Affero General Public License (AGPL) + * version 3 as published by the Free Software Foundation. In accordance with + * Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect + * that Ascensio System SIA expressly excludes the warranty of non-infringement + * of any third-party rights. + * + * This program is distributed WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For + * details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html + * + * You can contact Ascensio System SIA at 20A-12 Ernesta Birznieka-Upisha + * street, Riga, Latvia, EU, LV-1050. + * + * The interactive user interfaces in modified source and object code versions + * of the Program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU AGPL version 3. + * + * Pursuant to Section 7(b) of the License you must retain the original Product + * logo when distributing the program. Pursuant to Section 7(e) we decline to + * grant you any rights under trademark law for use of our trademarks. + * + * All the Product's GUI elements, including illustrations and icon sets, as + * well as technical writing content are licensed under the terms of the + * Creative Commons Attribution-ShareAlike 4.0 International. See the License + * terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode + * + */ + window.AscInterface = window.AscInterface || {}; AscInterface.updateStructure = function(structure) diff --git a/pdf/test/index.html b/pdf/test/index.html index 3bc560b6d9..2d0f71501e 100644 --- a/pdf/test/index.html +++ b/pdf/test/index.html @@ -14,6 +14,12 @@ + + + + + + @@ -28,10 +34,10 @@

-
+
-
+
diff --git a/pdf/test/vendor/trackbar.js b/pdf/test/vendor/trackbar.js index ac8c54104b..822b4fc41e 100644 --- a/pdf/test/vendor/trackbar.js +++ b/pdf/test/vendor/trackbar.js @@ -75,4 +75,4 @@ window.initTrackBars = function() }; } } -} \ No newline at end of file +} diff --git a/word/Drawing/HtmlPage.js b/word/Drawing/HtmlPage.js index 13035d8d72..d501067403 100644 --- a/word/Drawing/HtmlPage.js +++ b/word/Drawing/HtmlPage.js @@ -842,6 +842,12 @@ function CEditorPage(api) this.zoom_FitToWidth = function() { + if (this.m_oApi.isUseNativeViewer && this.m_oDrawingDocument.m_oDocumentRenderer) + { + this.m_oDrawingDocument.m_oDocumentRenderer.setZoomMode(AscCommon.ViewerZoomMode.Width); + return; + } + var _new_value = this.calculate_zoom_FitToWidth(); this.m_nZoomType = 1; @@ -864,6 +870,12 @@ function CEditorPage(api) }; this.zoom_FitToPage = function() { + if (this.m_oApi.isUseNativeViewer && this.m_oDrawingDocument.m_oDocumentRenderer) + { + this.m_oDrawingDocument.m_oDocumentRenderer.setZoomMode(AscCommon.ViewerZoomMode.Page); + return; + } + var w = parseInt(this.m_oEditor.HtmlElement.width) * g_dKoef_pix_to_mm; var h = parseInt(this.m_oEditor.HtmlElement.height) * g_dKoef_pix_to_mm; @@ -902,6 +914,15 @@ function CEditorPage(api) if (false === oThis.m_oApi.bInit_word_control) return; + if (0 === type) + { + if (oThis.m_oApi.isUseNativeViewer && oThis.m_oDrawingDocument.m_oDocumentRenderer) + { + oThis.m_oDrawingDocument.m_oDocumentRenderer.setZoom(oThis.m_nZoomValue / 100); + return; + } + } + // нужно проверить режим и сбросить кеш грамотно (ie version) AscCommon.g_fontManager.ClearRasterMemory(); @@ -2766,6 +2787,13 @@ function CEditorPage(api) this.m_oBody.Resize(this.Width * g_dKoef_pix_to_mm, this.Height * g_dKoef_pix_to_mm, this); this.onButtonTabsDraw(); + if (this.m_oApi.isUseNativeViewer) + { + var oViewer = this.m_oDrawingDocument.m_oDocumentRenderer; + if (oViewer) + oViewer.resize(); + } + if (AscCommon.g_inputContext) AscCommon.g_inputContext.onResize("id_main_view"); @@ -3217,6 +3245,12 @@ function CEditorPage(api) this.OnCalculatePagesPlace = function() { + if (this.m_oApi.isUseNativeViewer && this.m_oDrawingDocument.m_oDocumentRenderer) + { + // там все свое + return; + } + if (this.MobileTouchManager && !this.MobileTouchManager.IsWorkedPosition()) this.MobileTouchManager.ClearContextMenu(); diff --git a/word/api.js b/word/api.js index c0bca3d5ba..73c1ed4ece 100644 --- a/word/api.js +++ b/word/api.js @@ -1366,6 +1366,72 @@ background-repeat: no-repeat;\ this.FontLoader.LoadDocumentFonts(this.WordControl.m_oDrawingDocument.m_oDocumentRenderer.Fonts, true); }; + asc_docs_api.prototype.OpenDocument3 = function(url, gObject) + { + this.isOnlyReaderMode = false; + this.DocumentType = 1; + this.ServerIdWaitComplete = true; + + window["AscViewer"]["baseUrl"] = (typeof document !== 'undefined' && document.currentScript) ? "" : "./../../../../sdkjs/pdf/src/engine/"; + window["AscViewer"]["baseEngineUrl"] = "./../../../../sdkjs/pdf/src/engine/"; + + var _t = this; + + this.WordControl.m_oDrawingDocument.m_oDocumentRenderer = new AscCommon.CViewer(this.HtmlElementName); + this.WordControl.m_oDrawingDocument.m_oDocumentRenderer.registerEvent("onStructure", function(structure){ + _t.sendEvent("asc_onViewerBookmarksUpdate", structure); + }); + this.WordControl.m_oDrawingDocument.m_oDocumentRenderer.registerEvent("onCurrentPageChanged", function(pageNum){ + _t.sendEvent("asc_onCurrentPage", pageNum); + }); + this.WordControl.m_oDrawingDocument.m_oDocumentRenderer.registerEvent("onPagesCount", function(pagesCount){ + _t.sendEvent("asc_onCountPages", pagesCount); + }); + this.WordControl.m_oDrawingDocument.m_oDocumentRenderer.registerEvent("onZoom", function(value, type){ + _t.sendEvent("asc_onZoomChange", (value * 100) >> 0, type); + }); + this.WordControl.m_oDrawingDocument.m_oDocumentRenderer.open(gObject); + + // через таймер - чтобы не моргнула пустая отрисовка + setTimeout(function() { + _t.disableRemoveFonts = true; + _t.onDocumentContentReady(); + _t.bInit_word_control = true; + + var oViewer = _t.WordControl.m_oDrawingDocument.m_oDocumentRenderer; + var thumbnailsDivId = "thumbnails-list"; + if (document.getElementById(thumbnailsDivId)) + { + oViewer.Thumbnails = new AscCommon.ThumbnailsControl(thumbnailsDivId); + oViewer.setThumbnailsControl(oViewer.Thumbnails); + + oViewer.Thumbnails.registerEvent("onZoomChanged", function (value) { + _t.sendEvent("asc_onViewerThumbnailsZoomUpdate", value); + }); + } + + }, 500); + }; + asc_docs_api.prototype["asc_setViewerThumbnailsZoom"] = function(value) { + if (this.WordControl.m_oDrawingDocument.m_oDocumentRenderer && + this.WordControl.m_oDrawingDocument.m_oDocumentRenderer.Thumbnails) + this.WordControl.m_oDrawingDocument.m_oDocumentRenderer.Thumbnails.setZoom(value); + }; + asc_docs_api.prototype["asc_setViewerThumbnailsUsePageRect"] = function(value) { + if (this.WordControl.m_oDrawingDocument.m_oDocumentRenderer && + this.WordControl.m_oDrawingDocument.m_oDocumentRenderer.Thumbnails) + this.WordControl.m_oDrawingDocument.m_oDocumentRenderer.Thumbnails.setIsDrawCurrentRect(value); + }; + asc_docs_api.prototype["asc_viewerThumbnailsResize"] = function() { + if (this.WordControl.m_oDrawingDocument.m_oDocumentRenderer && + this.WordControl.m_oDrawingDocument.m_oDocumentRenderer.Thumbnails) + this.WordControl.m_oDrawingDocument.m_oDocumentRenderer.Thumbnails.resize(); + }; + asc_docs_api.prototype["asc_viewerNavigateTo"] = function(value) { + if (this.WordControl.m_oDrawingDocument.m_oDocumentRenderer) + this.WordControl.m_oDrawingDocument.m_oDocumentRenderer.navigate(value); + }; + asc_docs_api.prototype.OpenDocument2 = function(url, gObject) { this.InitEditor(); @@ -7491,7 +7557,12 @@ background-repeat: no-repeat;\ if (file.bSerFormat) this.OpenDocument2(file.url, file.data); else - this.OpenDocument(file.url, file.data); + { + if (this.isUseNativeViewer) + this.OpenDocument3(file.url, file.data); + else + this.OpenDocument(file.url, file.data); + } }; asc_docs_api.prototype.asyncImageEndLoadedBackground = function(_image)